text
stringlengths
0
13M
From [email protected] Sun Apr 03 13:55:25 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66306 invoked from network); 3 Apr 2011 13:55:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Apr 2011 13:55:25 -0000 Received: (qmail 21397 invoked by uid 500); 3 Apr 2011 13:55:25 -0000 Delivered-To: [email protected] Received: (qmail 21343 invoked by uid 500); 3 Apr 2011 13:55:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 21335 invoked by uid 99); 3 Apr 2011 13:55:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Apr 2011 13:55:24 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO web130121.mail.mud.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 03 Apr 2011 13:55:19 +0000 Received: (qmail 76157 invoked by uid 60001); 3 Apr 2011 13:54:57 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1301838897; bh=E0MTe5VTYfbXEToPextrAkbgAj6tjCyk5tVlfmLONTg=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=oldMDek8uBtvd5ervAPPreg7I4mJF/2KgCfPKSimLQGUHbPFKrPen90+Jw+P5Nqn5Z61zOHXgyAHdeJpFrOoNPXuTkHg/o7cTJEUvIv18innL0GGN+RA8k4yU44fFsS/6KJbylJugXp1EKUTI1LQVeFUKml8IiUjcLdVkeHrrZo= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=PCrSnC+mOQExuv+xtAnAdfcevYTAaOGI0YVMl7CBanC7wsdBY8Yt8uWS59rYf8n+q2g1tpy4Tcz3NTa0zmtWTNarWsnRASWdw/ZhzLmJumnEnX7FsidUqLIQwLh0evR8CeBlOmB4lNVc3oDpWUsBH5ZhWUvBESsl6cl15YyoqaM=; Message-ID: <[email protected]> X-YMail-OSG: ccXvcMAVM1nxBKNoeeYAUYz0BxPcxFWty0ud5DVW5Apzpn_ j9gcF2iXCvizbMVxVuMGWt.neFZMNikLx41ghvPHlPQcBNjdvGdWiLYOCujR oamyfyNpQgdlniXplRxNClks.5rl47kkXHaG1mTXFIEVMEX4VTnzPTFZoH1a ..hrVe3iVtN2vMqFVdHp6fcA1cuSm9iCCJ_HwT_V9a4wfNrj6O3GHE8al0vk ZnhyDLmuaZCP05zwJ7gUTIEwlGSU4o2MwNaUFnmTuRM6HojDQvx9BfG03Cwp IUy25QBFF1gQPVt1ejlER7MDnXWI6DDfMCToRmDJ8V5Q7l.teYcNY2WuI9nn erwiJxJPFpiFHNJ1z7DNDp_BngY9AuXv5nfPdqfuk4tDpTsrqcs42YkVxPDN xU6uIDqL27Ie. Received: from [161.129.204.104] by web130121.mail.mud.yahoo.com via HTTP; Sun, 03 Apr 2011 06:54:57 PDT X-Mailer: YahooMailRC/559 YahooMailWebService/161.129.204.1045617 References: <[email protected]> <[email protected]> <1301303183.14015.6.camel@mcKenny> Date: Sun, 3 Apr 2011 06:54:57 -0700 (PDT) From: Otis Gospodnetic <[email protected]> Subject: Re: Droids suitability for a 100M+ page crawl To: [email protected] In-Reply-To: <1301303183.14015.6.camel@mcKenny> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I like Thorsten's idea. That way Droids developers and contributors could take piece by piece from that branch and get it in Droids core/trunk over time. Is that doable, Paul? Thanks, Otis ----- Original Message ---- > From: Thorsten Scherler <[email protected]> > To: [email protected] > Cc: [email protected] > Sent: Mon, March 28, 2011 5:06:23 AM > Subject: Re: Droids suitability for a 100M+ page crawl > > On Fri, 2011-03-25 at 22:09 +0100, paul.vc wrote: > ... > > I don't see how my spare time would allow to clean up my battlefield and > > release all of it back to the community any time soon, but I am not sitting > > on that code either. Talk to me if you want to port aspects of that back to > > droids. I would be more than happy to rip out chunks of that code and pass > > it along for proper integration into the main branch. > > > > Regards, > > Paul. > > Paul I always read your emails with a lot of interest. It seems you > brought Droids to a pretty industrial use case. What a pity that we can > not merge the whole back. > > I wonder if we could commit your branch as is into our rep and then > merge the best approaches and patches back into the trunk. Would that be > possible? > > salu2 > -- > Thorsten Scherler <thorsten.at.apache.org> > codeBusters S.L. - web based systems > <consulting, training and solutions> > http://www.codebusters.es/ > > From [email protected] Tue Apr 05 17:28:46 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85912 invoked from network); 5 Apr 2011 17:28:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Apr 2011 17:28:46 -0000 Received: (qmail 307 invoked by uid 500); 5 Apr 2011 17:28:46 -0000 Delivered-To: [email protected] Received: (qmail 250 invoked by uid 500); 5 Apr 2011 17:28:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 111 invoked by uid 99); 5 Apr 2011 17:28:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2011 17:28:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2011 17:28:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id D5B0593714 for <[email protected]>; Tue, 5 Apr 2011 17:28:05 +0000 (UTC) Date: Tue, 5 Apr 2011 17:28:05 +0000 (UTC) From: "Giulio Cesare Solaroli (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> Subject: [jira] [Created] (DROIDS-139) Error in SimpleTaskQueueWithHistory MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Error in SimpleTaskQueueWithHistory ----------------------------------- Key: DROIDS-139 URL: https://issues.apache.org/jira/browse/DROIDS-139 Project: Droids Issue Type: Bug Components: core Affects Versions: 0.0.1 Reporter: Giulio Cesare Solaroli Priority: Critical Attachments: testCase.diff The SimpleTaskQueueWithHistory class will not accept any new value added with either the 'offer' nor 'add' method, due to a cross check that always fails. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Tue Apr 05 17:28:46 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85908 invoked from network); 5 Apr 2011 17:28:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Apr 2011 17:28:46 -0000 Received: (qmail 296 invoked by uid 500); 5 Apr 2011 17:28:46 -0000 Delivered-To: [email protected] Received: (qmail 224 invoked by uid 500); 5 Apr 2011 17:28:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99895 invoked by uid 99); 5 Apr 2011 17:28:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2011 17:28:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2011 17:28:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id E300C93716 for <[email protected]>; Tue, 5 Apr 2011 17:28:05 +0000 (UTC) Date: Tue, 5 Apr 2011 17:28:05 +0000 (UTC) From: "Giulio Cesare Solaroli (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> In-Reply-To: <[email protected]> Subject: [jira] [Updated] (DROIDS-139) Error in SimpleTaskQueueWithHistory MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DROIDS-139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Giulio Cesare Solaroli updated DROIDS-139: ------------------------------------------ Attachment: testCase.diff Test case showing the problem > Error in SimpleTaskQueueWithHistory > ----------------------------------- > > Key: DROIDS-139 > URL: https://issues.apache.org/jira/browse/DROIDS-139 > Project: Droids > Issue Type: Bug > Components: core > Affects Versions: 0.0.1 > Reporter: Giulio Cesare Solaroli > Priority: Critical > Attachments: testCase.diff > > > The SimpleTaskQueueWithHistory class will not accept any new value added with either the 'offer' nor 'add' method, due to a cross check that always fails. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Tue Apr 05 17:30:46 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90628 invoked from network); 5 Apr 2011 17:30:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Apr 2011 17:30:46 -0000 Received: (qmail 4974 invoked by uid 500); 5 Apr 2011 17:30:46 -0000 Delivered-To: [email protected] Received: (qmail 4949 invoked by uid 500); 5 Apr 2011 17:30:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4935 invoked by uid 99); 5 Apr 2011 17:30:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2011 17:30:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2011 17:30:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id 0A23593848 for <[email protected]>; Tue, 5 Apr 2011 17:30:06 +0000 (UTC) Date: Tue, 5 Apr 2011 17:30:06 +0000 (UTC) From: "Giulio Cesare Solaroli (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> In-Reply-To: <[email protected]> Subject: [jira] [Updated] (DROIDS-139) Error in SimpleTaskQueueWithHistory MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DROIDS-139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Giulio Cesare Solaroli updated DROIDS-139: ------------------------------------------ Attachment: patch.diff And this is the patch to fix the problem. > Error in SimpleTaskQueueWithHistory > ----------------------------------- > > Key: DROIDS-139 > URL: https://issues.apache.org/jira/browse/DROIDS-139 > Project: Droids > Issue Type: Bug > Components: core > Affects Versions: 0.0.1 > Reporter: Giulio Cesare Solaroli > Priority: Critical > Attachments: patch.diff, testCase.diff > > > The SimpleTaskQueueWithHistory class will not accept any new value added with either the 'offer' nor 'add' method, due to a cross check that always fails. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Tue Apr 05 17:30:57 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91971 invoked from network); 5 Apr 2011 17:30:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Apr 2011 17:30:56 -0000 Received: (qmail 5253 invoked by uid 500); 5 Apr 2011 17:30:56 -0000 Delivered-To: [email protected] Received: (qmail 5231 invoked by uid 500); 5 Apr 2011 17:30:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 5223 invoked by uid 99); 5 Apr 2011 17:30:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2011 17:30:56 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qy0-f182.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2011 17:30:49 +0000 Received: by qyk27 with SMTP id 27so504799qyk.6 for <[email protected]>; Tue, 05 Apr 2011 10:30:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=ypNX3Qmy1uZgOyaxPxqrfHEqyLyl73WrDP3TyXZA3r0=; b=sM8h+k+OrqVJllOfzSLRS6W9in1mXqEnLTul4d4bmnnwKmsPsB0hzU/lxzJKnayEm6 waHo2k8T5hBI0xYMiG9eiBDwwjGnlr25B1JQzJcsRJ8pHl1uQiWB0XSpCGCXf4WweXeJ bxqmaTDa97R9hnvi75yQISGK+1FQU6MkMSlyY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=L5e4zMgeLxAkO9scO09+16XLehdDHZPHGTQOthfIuCyY7S/BVrozSwpTfUvicDbdNx wVs6P5YnfKNS/FRalBFLs135AITMqfMPIwhVklNMrPyIZ5UgIHOq2k8j4HwXcxD75VMS OwF99QlBHmDIoXcsSdV/sS1vxiGlKUJL/4nTg= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id l6mr7342357qcu.30.1302024628162; Tue, 05 Apr 2011 10:30:28 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 5 Apr 2011 10:30:28 -0700 (PDT) Date: Tue, 5 Apr 2011 18:30:28 +0100 Message-ID: <[email protected]> Subject: Serious bug in SimpleTaskQueueWithHistory From: "[email protected]" <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Hello, I have just opened a new ticket to report about a serious problem with the new SimpleTaskQueueWithHistory implementation: - https://issues.apache.org/jira/browse/DROIDS-139 Attached to the bug report, you can find both a test case showing the problem, and the patch to fix it. Hope this helps. Regards, Giulio Cesare From [email protected] Tue Apr 05 18:09:48 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33989 invoked from network); 5 Apr 2011 18:09:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Apr 2011 18:09:48 -0000 Received: (qmail 48652 invoked by uid 500); 5 Apr 2011 18:09:48 -0000 Delivered-To: [email protected] Received: (qmail 48628 invoked by uid 500); 5 Apr 2011 18:09:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48620 invoked by uid 99); 5 Apr 2011 18:09:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2011 18:09:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2011 18:09:46 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id 2B11493B2D for <[email protected]>; Tue, 5 Apr 2011 18:09:10 +0000 (UTC) Date: Tue, 5 Apr 2011 18:09:10 +0000 (UTC) From: "Richard Frovarp (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> In-Reply-To: <[email protected]> Subject: [jira] [Commented] (DROIDS-139) Error in SimpleTaskQueueWithHistory MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DROIDS-139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13016056#comment-13016056 ] Richard Frovarp commented on DROIDS-139: ---------------------------------------- Thanks for the report and patches. The one issue I see is the fix requires that offer() will call add(). If there is an implementation of LinkedList where offer() does not call add(), the history part will no longer work. I don't know if there is a better method or not. > Error in SimpleTaskQueueWithHistory > ----------------------------------- > > Key: DROIDS-139 > URL: https://issues.apache.org/jira/browse/DROIDS-139 > Project: Droids > Issue Type: Bug > Components: core > Affects Versions: 0.0.1 > Reporter: Giulio Cesare Solaroli > Priority: Critical > Attachments: patch.diff, testCase.diff > > > The SimpleTaskQueueWithHistory class will not accept any new value added with either the 'offer' nor 'add' method, due to a cross check that always fails. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Tue Apr 05 18:25:43 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77416 invoked from network); 5 Apr 2011 18:25:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Apr 2011 18:25:43 -0000 Received: (qmail 74103 invoked by uid 500); 5 Apr 2011 18:25:43 -0000 Delivered-To: [email protected] Received: (qmail 74035 invoked by uid 500); 5 Apr 2011 18:25:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 73812 invoked by uid 99); 5 Apr 2011 18:25:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2011 18:25:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2011 18:25:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id BB9459411B for <[email protected]>; Tue, 5 Apr 2011 18:25:05 +0000 (UTC) Date: Tue, 5 Apr 2011 18:25:05 +0000 (UTC) From: "Richard Frovarp (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> In-Reply-To: <[email protected]> Subject: [jira] [Commented] (DROIDS-139) Error in SimpleTaskQueueWithHistory MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DROIDS-139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13016063#comment-13016063 ] Richard Frovarp commented on DROIDS-139: ---------------------------------------- Fixed in r1089152. I did make it so that offer() will always blindly call add(). This should keep history even if the implementation doesn't call add() from offer(). Does anyone see any problems with this? > Error in SimpleTaskQueueWithHistory > ----------------------------------- > > Key: DROIDS-139 > URL: https://issues.apache.org/jira/browse/DROIDS-139 > Project: Droids > Issue Type: Bug > Components: core > Affects Versions: 0.0.1 > Reporter: Giulio Cesare Solaroli > Priority: Critical > Attachments: patch.diff, testCase.diff > > > The SimpleTaskQueueWithHistory class will not accept any new value added with either the 'offer' nor 'add' method, due to a cross check that always fails. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Tue Apr 05 19:21:43 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61569 invoked from network); 5 Apr 2011 19:21:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Apr 2011 19:21:43 -0000 Received: (qmail 76557 invoked by uid 500); 5 Apr 2011 19:21:43 -0000 Delivered-To: [email protected] Received: (qmail 76527 invoked by uid 500); 5 Apr 2011 19:21:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 76518 invoked by uid 99); 5 Apr 2011 19:21:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2011 19:21:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2011 19:21:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id C05FD9465E for <[email protected]>; Tue, 5 Apr 2011 19:21:05 +0000 (UTC) Date: Tue, 5 Apr 2011 19:21:05 +0000 (UTC) From: "Giulio Cesare Solaroli (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> In-Reply-To: <[email protected]> Subject: [jira] [Commented] (DROIDS-139) Error in SimpleTaskQueueWithHistory MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DROIDS-139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13016086#comment-13016086 ] Giulio Cesare Solaroli commented on DROIDS-139: ----------------------------------------------- Looking at LinkedList JavaDoc, it looks like 'offer' and 'add' have the same semantic. So the current implementation should work fine. > Error in SimpleTaskQueueWithHistory > ----------------------------------- > > Key: DROIDS-139 > URL: https://issues.apache.org/jira/browse/DROIDS-139 > Project: Droids > Issue Type: Bug > Components: core > Affects Versions: 0.0.1 > Reporter: Giulio Cesare Solaroli > Priority: Critical > Attachments: patch.diff, testCase.diff > > > The SimpleTaskQueueWithHistory class will not accept any new value added with either the 'offer' nor 'add' method, due to a cross check that always fails. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Fri Apr 08 22:04:45 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71627 invoked from network); 8 Apr 2011 22:04:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Apr 2011 22:04:45 -0000 Received: (qmail 81356 invoked by uid 500); 8 Apr 2011 22:04:45 -0000 Delivered-To: [email protected] Received: (qmail 81184 invoked by uid 500); 8 Apr 2011 22:04:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81176 invoked by uid 99); 8 Apr 2011 22:04:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Apr 2011 22:04:44 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f47.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Apr 2011 22:04:38 +0000 Received: by bwz5 with SMTP id 5so3345181bwz.6 for <[email protected]>; Fri, 08 Apr 2011 15:04:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=rJS3mvjzfJaya9oAYwmo6M0hZnJ2sZvttOLo3bBjDoI=; b=OP64wIN3xq0Ed+3pZjcQheBdAFxOP8hRL7BfCtaLoMJT1y7/5Xfcv3D1c5+ZsJNxHc 8Z0H3kBwuAjPNLdCIUyt+9Yjl1MaJD8TDKIxjceXZZyfxNJE0ihWf4NZYIuG04++ecwX vKRudHHB7xpDu3xDKjIdC0zaus9VGK8UG6/co= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=BPIQxYjUNqNn/KjVHcm39wNQxrd+FSRvOACZSoWBaKhsekjmzWncwIywLGEur9a2GF 9eQBq2Ylo6bLqiUj6xD6jE84Tbvwv6A8D8DRe2fGen+Ide0fbzioZFMDesHtphNj7rSN kL79pT9+NjjOJz4PNcYyH4LvWqJuz36Pr56R4= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id k14mr2488648bku.37.1302300256873; Fri, 08 Apr 2011 15:04:16 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 8 Apr 2011 15:04:16 -0700 (PDT) Date: Sat, 9 Apr 2011 01:04:16 +0300 Message-ID: <[email protected]> Subject: 0.0.1 release? From: Eugen Paraschiv <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00151759367033aee604a06f6822 --00151759367033aee604a06f6822 Content-Type: text/plain; charset=ISO-8859-1 Seems that the activity on droids is dwindling without a 0.0.1 release. Is there a blocker for the release? Is there anything I can do to help? Eugen. --00151759367033aee604a06f6822-- From [email protected] Sat Apr 09 10:44:45 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81775 invoked from network); 9 Apr 2011 10:44:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Apr 2011 10:44:45 -0000 Received: (qmail 99890 invoked by uid 500); 9 Apr 2011 10:44:45 -0000 Delivered-To: [email protected] Received: (qmail 99809 invoked by uid 500); 9 Apr 2011 10:44:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99801 invoked by uid 99); 9 Apr 2011 10:44:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Apr 2011 10:44:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Apr 2011 10:44:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id 656F499337 for <[email protected]>; Sat, 9 Apr 2011 10:44:06 +0000 (UTC) Date: Sat, 9 Apr 2011 10:44:06 +0000 (UTC) From: "Eugen Paraschiv (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> Subject: [jira] [Commented] (DROIDS-56) Change the TaskQueue interface to java.util.Queue MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DROIDS-56?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017831#comment-13017831 ] Eugen Paraschiv commented on DROIDS-56: --------------------------------------- I'm aware that this patch is already committed, but I'm running into a serious issue related to it: it has removed the SequentialTaskMaster. The only TaskMaster implementation that is left now is a multithreaded one. First, why would such a major change to TaskMaster implementations be included in a patch related to TaskQueue? Was SequentialTaskMaster incompatible with the concept of using a standard queue? I shouldn't think so, but if it indeed was, can you please explain how? I called this a major issues because I think this is simply a under the radar removal of a feature clients were relying on, with no reason whatsoever (or at least with no documented one). What is more, that implementation had a very clear purpose and was likely being used (I for one was using it). Any thoughts on this? Thanks. Eugen. > Change the TaskQueue interface to java.util.Queue > ------------------------------------------------- > > Key: DROIDS-56 > URL: https://issues.apache.org/jira/browse/DROIDS-56 > Project: Droids > Issue Type: Improvement > Components: core > Affects Versions: 0.0.1 > Reporter: Mingfai Ma > Assignee: Bertil Chapuis > Fix For: 0.0.1, 0.0.2 > > Attachments: Queue.diff, droids-56-v2.diff, droids-56.diff, taskQueue-to-queue.diff > > > 1. any code that depends on the queue should depend on java.util.Queue<T> rather than TaskQueue. > 2. either remove the TaskQueue or make it extends java.util.Queue > - it means SimpleTaskQueue should extends a Queue implementation (or implement all method of a Queue) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sat Apr 09 11:24:47 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12515 invoked from network); 9 Apr 2011 11:24:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Apr 2011 11:24:46 -0000 Received: (qmail 13209 invoked by uid 500); 9 Apr 2011 11:24:46 -0000 Delivered-To: [email protected] Received: (qmail 13183 invoked by uid 500); 9 Apr 2011 11:24:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13175 invoked by uid 99); 9 Apr 2011 11:24:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Apr 2011 11:24:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Apr 2011 11:24:44 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id B20A699962 for <[email protected]>; Sat, 9 Apr 2011 11:24:05 +0000 (UTC) Date: Sat, 9 Apr 2011 11:24:05 +0000 (UTC) From: "Bertil Chapuis (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> Subject: [jira] [Commented] (DROIDS-56) Change the TaskQueue interface to java.util.Queue MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DROIDS-56?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017835#comment-13017835 ] Bertil Chapuis commented on DROIDS-56: -------------------------------------- The current TaskMasterImpl should work as the SequentialTaskMaster if you initialize it with a pool size of one. The usage of java.util.Queue required some deep changes and I took the liberty to make a refactoring which IMHO is making sense and simplify the architecture. > Change the TaskQueue interface to java.util.Queue > ------------------------------------------------- > > Key: DROIDS-56 > URL: https://issues.apache.org/jira/browse/DROIDS-56 > Project: Droids > Issue Type: Improvement > Components: core > Affects Versions: 0.0.1 > Reporter: Mingfai Ma > Assignee: Bertil Chapuis > Fix For: 0.0.1, 0.0.2 > > Attachments: Queue.diff, droids-56-v2.diff, droids-56.diff, taskQueue-to-queue.diff > > > 1. any code that depends on the queue should depend on java.util.Queue<T> rather than TaskQueue. > 2. either remove the TaskQueue or make it extends java.util.Queue > - it means SimpleTaskQueue should extends a Queue implementation (or implement all method of a Queue) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sat Apr 09 14:34:46 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33265 invoked from network); 9 Apr 2011 14:34:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Apr 2011 14:34:45 -0000 Received: (qmail 95982 invoked by uid 500); 9 Apr 2011 14:34:45 -0000 Delivered-To: [email protected] Received: (qmail 95950 invoked by uid 500); 9 Apr 2011 14:34:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 95942 invoked by uid 99); 9 Apr 2011 14:34:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Apr 2011 14:34:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Apr 2011 14:34:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id BC9CE99FA7 for <[email protected]>; Sat, 9 Apr 2011 14:34:05 +0000 (UTC) Date: Sat, 9 Apr 2011 14:34:05 +0000 (UTC) From: "Eugen Paraschiv (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> Subject: [jira] [Commented] (DROIDS-56) Change the TaskQueue interface to java.util.Queue MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DROIDS-56?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017877#comment-13017877 ] Eugen Paraschiv commented on DROIDS-56: --------------------------------------- I see, and will using a pool size of one mean that the execution will be contained in the current running thread, or will it create a new thread? If it's the latter, then the problem remains - the change introduces asynchronicity in the execution, which deeply affects client code and introduces all kinds of race conditions in formerly serial code that used SequentialTaskMaster. > Change the TaskQueue interface to java.util.Queue > ------------------------------------------------- > > Key: DROIDS-56 > URL: https://issues.apache.org/jira/browse/DROIDS-56 > Project: Droids > Issue Type: Improvement > Components: core > Affects Versions: 0.0.1 > Reporter: Mingfai Ma > Assignee: Bertil Chapuis > Fix For: 0.0.1, 0.0.2 > > Attachments: Queue.diff, droids-56-v2.diff, droids-56.diff, taskQueue-to-queue.diff > > > 1. any code that depends on the queue should depend on java.util.Queue<T> rather than TaskQueue. > 2. either remove the TaskQueue or make it extends java.util.Queue > - it means SimpleTaskQueue should extends a Queue implementation (or implement all method of a Queue) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sat Apr 09 16:40:46 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33090 invoked from network); 9 Apr 2011 16:40:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Apr 2011 16:40:46 -0000 Received: (qmail 59385 invoked by uid 500); 9 Apr 2011 16:40:45 -0000 Delivered-To: [email protected] Received: (qmail 59357 invoked by uid 500); 9 Apr 2011 16:40:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 59349 invoked by uid 99); 9 Apr 2011 16:40:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Apr 2011 16:40:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Apr 2011 16:40:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id B42BC99669 for <[email protected]>; Sat, 9 Apr 2011 16:40:05 +0000 (UTC) Date: Sat, 9 Apr 2011 16:40:05 +0000 (UTC) From: "Bertil Chapuis (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> Subject: [jira] [Commented] (DROIDS-56) Change the TaskQueue interface to java.util.Queue MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DROIDS-56?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017904#comment-13017904 ] Bertil Chapuis commented on DROIDS-56: -------------------------------------- Ok, I will submit a patch with a SequentialTaskMaster which execute tasks in the same thread. > Change the TaskQueue interface to java.util.Queue > ------------------------------------------------- > > Key: DROIDS-56 > URL: https://issues.apache.org/jira/browse/DROIDS-56 > Project: Droids > Issue Type: Improvement > Components: core > Affects Versions: 0.0.1 > Reporter: Mingfai Ma > Assignee: Bertil Chapuis > Fix For: 0.0.1, 0.0.2 > > Attachments: Queue.diff, droids-56-v2.diff, droids-56.diff, taskQueue-to-queue.diff > > > 1. any code that depends on the queue should depend on java.util.Queue<T> rather than TaskQueue. > 2. either remove the TaskQueue or make it extends java.util.Queue > - it means SimpleTaskQueue should extends a Queue implementation (or implement all method of a Queue) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sat Apr 09 16:51:43 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77464 invoked from network); 9 Apr 2011 16:51:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Apr 2011 16:51:43 -0000 Received: (qmail 66386 invoked by uid 500); 9 Apr 2011 16:51:43 -0000 Delivered-To: [email protected] Received: (qmail 66370 invoked by uid 500); 9 Apr 2011 16:51:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 66362 invoked by uid 99); 9 Apr 2011 16:51:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Apr 2011 16:51:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Apr 2011 16:51:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id AB9D1998E2 for <[email protected]>; Sat, 9 Apr 2011 16:51:05 +0000 (UTC) Date: Sat, 9 Apr 2011 16:51:05 +0000 (UTC) From: "Bertil Chapuis (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> Subject: [jira] [Reopened] (DROIDS-56) Change the TaskQueue interface to java.util.Queue MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DROIDS-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertil Chapuis reopened DROIDS-56: ---------------------------------- > Change the TaskQueue interface to java.util.Queue > ------------------------------------------------- > > Key: DROIDS-56 > URL: https://issues.apache.org/jira/browse/DROIDS-56 > Project: Droids > Issue Type: Improvement > Components: core > Affects Versions: 0.0.1 > Reporter: Mingfai Ma > Assignee: Bertil Chapuis > Fix For: 0.0.1, 0.0.2 > > Attachments: Queue.diff, droids-56-v2.diff, droids-56.diff, taskQueue-to-queue.diff > > > 1. any code that depends on the queue should depend on java.util.Queue<T> rather than TaskQueue. > 2. either remove the TaskQueue or make it extends java.util.Queue > - it means SimpleTaskQueue should extends a Queue implementation (or implement all method of a Queue) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sat Apr 09 17:50:48 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67311 invoked from network); 9 Apr 2011 17:50:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Apr 2011 17:50:48 -0000 Received: (qmail 15661 invoked by uid 500); 9 Apr 2011 17:50:48 -0000 Delivered-To: [email protected] Received: (qmail 15629 invoked by uid 500); 9 Apr 2011 17:50:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 15621 invoked by uid 99); 9 Apr 2011 17:50:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Apr 2011 17:50:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Apr 2011 17:50:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id D33CB9A55A for <[email protected]>; Sat, 9 Apr 2011 17:50:05 +0000 (UTC) Date: Sat, 9 Apr 2011 17:50:05 +0000 (UTC) From: "Eugen Paraschiv (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> Subject: [jira] [Commented] (DROIDS-56) Change the TaskQueue interface to java.util.Queue MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DROIDS-56?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017923#comment-13017923 ] Eugen Paraschiv commented on DROIDS-56: --------------------------------------- OK, thank you for the quick feedback. > Change the TaskQueue interface to java.util.Queue > ------------------------------------------------- > > Key: DROIDS-56 > URL: https://issues.apache.org/jira/browse/DROIDS-56 > Project: Droids > Issue Type: Improvement > Components: core > Affects Versions: 0.0.1 > Reporter: Mingfai Ma > Assignee: Bertil Chapuis > Fix For: 0.0.1, 0.0.2 > > Attachments: Queue.diff, droids-56-v2.diff, droids-56.diff, taskQueue-to-queue.diff > > > 1. any code that depends on the queue should depend on java.util.Queue<T> rather than TaskQueue. > 2. either remove the TaskQueue or make it extends java.util.Queue > - it means SimpleTaskQueue should extends a Queue implementation (or implement all method of a Queue) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sat Apr 09 18:10:18 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21749 invoked from network); 9 Apr 2011 18:10:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Apr 2011 18:10:17 -0000 Received: (qmail 26632 invoked by uid 500); 9 Apr 2011 18:10:17 -0000 Delivered-To: [email protected] Received: (qmail 26604 invoked by uid 500); 9 Apr 2011 18:10:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26596 invoked by uid 99); 9 Apr 2011 18:10:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Apr 2011 18:10:17 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f47.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Apr 2011 18:10:09 +0000 Received: by bwz5 with SMTP id 5so3731373bwz.6 for <[email protected]>; Sat, 09 Apr 2011 11:09:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=oM4f4ffBowKGb7VVHSyAUbrPoGuIOET3VyLVH9GzyRI=; b=AA2JexOd2CXPBVRHovN5wQVfUt/KZJTK5sbV2dWFmO4HygrYcjM6CugX28tPPn/HBv IbgTdtU3U6CeD/5YoR899MGXtPwPt/Sr/d6AbKWrKuZaREEcvzXeOKB+IUXwgQx5XR9u Gkdj3ywXA+skDyaW72Ub/9f08Isb9N0Dk0zRQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=tzXt5TibOZEUx8RVn3wbaM79cLIc2zX127Ts/l6eXN5J3SykBL3jxew73vzXL4teab HY7BQiUeMuPyIQmjmU6QOHHU2u2QjzlGOdhDA2+vre7zAeN0dOMIO5avksVf1iG6ZA69 OrQ/5y9JiLnaixYVe7KxuKrkWS8UoMLjx3Kz8= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id r22mr3070695bkr.172.1302372589203; Sat, 09 Apr 2011 11:09:49 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sat, 9 Apr 2011 11:09:49 -0700 (PDT) Date: Sat, 9 Apr 2011 21:09:49 +0300 Message-ID: <[email protected]> Subject: socketRead0 hangs on thread From: Eugen Paraschiv <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0003255585b28b718c04a0803fd7 X-Virus-Checked: Checked by ClamAV on apache.org --0003255585b28b718c04a0803fd7 Content-Type: text/plain; charset=ISO-8859-1 I'm experiencing some very strange behavior when using Droids - it seems that at some point in the crawling process, the crawling thread just hangs. A thread dump shows where: "myExecutor-9" prio=6 tid=0x0000000007c21800 nid=0x9fc runnable [0x000000000bfde000] java.lang.Thread.State: RUNNABLE at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:130) at org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:127) at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:233) at org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:98) at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:210) at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:271) at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:227) at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:209) at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:292) at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:126) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:483) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:641) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:576) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:554) at org.apache.droids.protocol.http.HttpProtocol.load(HttpProtocol.java:67) at org.apache.droids.robot.crawler.CrawlingWorkerMine.execute(CrawlingWorkerMine.java:57) at org.apache.droids.robot.crawler.CrawlingWorkerMine.execute(CrawlingWorkerMine.java:28) at org.apache.droids.impl.SequentialTaskMaster.processAllTasks(SequentialTaskMaster.java:84) - locked <0x000000078192e180> (a org.apache.droids.impl.SequentialTaskMaster) at org.apache.droids.robot.crawler.CrawlingDroid.start(CrawlingDroid.java:70) I've seen some discussion on this sometimes back on a droids mailing list but it doesn't seem to have lead anywhere. Also, socketRead0 hanging the thread seems to be a common problem that happens in case the network is overloaded. Seeing how there is not mechanism (that I'm aware of) in Droids to prevent a network overload, and seeing how socketRead0 is blocking, that's a real problem. I have stumbled upon this pretty much every time I run my code, so I thought I'd ask - is this a known issue, is it something I can do to fix it? If not, should we think about introducing some sort of timeout or sleep so that the network doesn't get overloaded? Any feedback is appreciated. Thanks. Eugen. --0003255585b28b718c04a0803fd7-- From [email protected] Sat Apr 09 19:00:45 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68669 invoked from network); 9 Apr 2011 19:00:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Apr 2011 19:00:45 -0000 Received: (qmail 53834 invoked by uid 500); 9 Apr 2011 19:00:45 -0000 Delivered-To: [email protected] Received: (qmail 53792 invoked by uid 500); 9 Apr 2011 19:00:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 53784 invoked by uid 99); 9 Apr 2011 19:00:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Apr 2011 19:00:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Apr 2011 19:00:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id AB4219A06D for <[email protected]>; Sat, 9 Apr 2011 19:00:05 +0000 (UTC) Date: Sat, 9 Apr 2011 19:00:05 +0000 (UTC) From: "Bertil Chapuis (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> Subject: [jira] [Updated] (DROIDS-56) Change the TaskQueue interface to java.util.Queue MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DROIDS-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertil Chapuis updated DROIDS-56: --------------------------------- Attachment: DROIDS-56-v3.diff > Change the TaskQueue interface to java.util.Queue > ------------------------------------------------- > > Key: DROIDS-56 > URL: https://issues.apache.org/jira/browse/DROIDS-56 > Project: Droids > Issue Type: Improvement > Components: core > Affects Versions: 0.0.1 > Reporter: Mingfai Ma > Assignee: Bertil Chapuis > Fix For: 0.0.1, 0.0.2 > > Attachments: DROIDS-56-v3.diff, Queue.diff, droids-56-v2.diff, droids-56.diff, taskQueue-to-queue.diff > > > 1. any code that depends on the queue should depend on java.util.Queue<T> rather than TaskQueue. > 2. either remove the TaskQueue or make it extends java.util.Queue > - it means SimpleTaskQueue should extends a Queue implementation (or implement all method of a Queue) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sat Apr 09 20:55:44 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46920 invoked from network); 9 Apr 2011 20:55:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Apr 2011 20:55:43 -0000 Received: (qmail 7519 invoked by uid 500); 9 Apr 2011 20:55:43 -0000 Delivered-To: [email protected] Received: (qmail 7496 invoked by uid 500); 9 Apr 2011 20:55:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7488 invoked by uid 99); 9 Apr 2011 20:55:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Apr 2011 20:55:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Apr 2011 20:55:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id D5B589A3A6 for <[email protected]>; Sat, 9 Apr 2011 20:55:05 +0000 (UTC) Date: Sat, 9 Apr 2011 20:55:05 +0000 (UTC) From: "Bertil Chapuis (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> In-Reply-To: <[email protected]> Subject: [jira] [Commented] (DROIDS-117) Removing the cyclic reference between Droid and TaskMaster MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DROIDS-117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017956#comment-13017956 ] Bertil Chapuis commented on DROIDS-117: --------------------------------------- any feedback on this issue? > Removing the cyclic reference between Droid and TaskMaster > ---------------------------------------------------------- > > Key: DROIDS-117 > URL: https://issues.apache.org/jira/browse/DROIDS-117 > Project: Droids > Issue Type: Improvement > Reporter: Bertil Chapuis > Fix For: 0.0.2 > > Attachments: DROIDS-117-v1.patch > > > The TaskMaster should be for the Droid what an Executor is for a Runnable in the java api. Furthermore a TaskMaster should be able to manage the execution of several Droids simultaneously. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon Apr 11 08:50:05 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51833 invoked from network); 11 Apr 2011 08:50:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Apr 2011 08:50:05 -0000 Received: (qmail 58256 invoked by uid 500); 11 Apr 2011 08:50:05 -0000 Delivered-To: [email protected] Received: (qmail 58241 invoked by uid 500); 11 Apr 2011 08:49:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58224 invoked by uid 99); 11 Apr 2011 08:49:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 08:49:54 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-qy0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 08:49:48 +0000 Received: by qyk35 with SMTP id 35so1142080qyk.6 for <[email protected]>; Mon, 11 Apr 2011 01:49:26 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id 11mr3903895qca.94.1302511766581; Mon, 11 Apr 2011 01:49:26 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 11 Apr 2011 01:49:26 -0700 (PDT) X-Originating-IP: [161.129.204.104] In-Reply-To: <[email protected]> References: <[email protected]> Date: Mon, 11 Apr 2011 10:49:26 +0200 Message-ID: <[email protected]> Subject: Re: socketRead0 hangs on thread From: Chapuis Bertil <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=90e6ba5bb9dd29b0a204a0a0a7b1 --90e6ba5bb9dd29b0a204a0a0a7b1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I personally never encountered this problem. http://stackoverflow.com/questions/4606237/thread-hangs-in-socketread0-java On 9 April 2011 20:09, Eugen Paraschiv <[email protected]> wrote: > I'm experiencing some very strange behavior when using Droids - it seems > that at some point in the crawling process, the crawling thread just hang= s. > A thread dump shows where: > > "myExecutor-9" prio=3D6 tid=3D0x0000000007c21800 nid=3D0x9fc runnable > [0x000000000bfde000] > java.lang.Thread.State: RUNNABLE > at java.net.SocketInputStream.socketRead0(Native Method) > at java.net.SocketInputStream.read(SocketInputStream.java:129) > at > > org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSes= sionInputBuffer.java:130) > at > > org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.ja= va:127) > at > > org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessi= onInputBuffer.java:233) > at > > org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponse= Parser.java:98) > at > > org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser= .java:210) > at > > org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(A= bstractHttpClientConnection.java:271) > at > > org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(D= efaultClientConnection.java:227) > at > > org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader= (AbstractClientConnAdapter.java:209) > at > > org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpReques= tExecutor.java:292) > at > > org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.= java:126) > at > > org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequest= Director.java:483) > at > > org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient= .java:641) > at > > org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient= .java:576) > at > > org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient= .java:554) > at > org.apache.droids.protocol.http.HttpProtocol.load(HttpProtocol.java:67) > at > > org.apache.droids.robot.crawler.CrawlingWorkerMine.execute(CrawlingWorker= Mine.java:57) > at > > org.apache.droids.robot.crawler.CrawlingWorkerMine.execute(CrawlingWorker= Mine.java:28) > at > > org.apache.droids.impl.SequentialTaskMaster.processAllTasks(SequentialTas= kMaster.java:84) > - locked <0x000000078192e180> (a > org.apache.droids.impl.SequentialTaskMaster) > at > org.apache.droids.robot.crawler.CrawlingDroid.start(CrawlingDroid.java:70= ) > > I've seen some discussion on this sometimes back on a droids mailing list > but it doesn't seem to have lead anywhere. Also, socketRead0 hanging the > thread seems to be a common problem that happens in case the network is > overloaded. Seeing how there is not mechanism (that I'm aware of) in Droi= ds > to prevent a network overload, and seeing how socketRead0 is blocking, > that's a real problem. I have stumbled upon this pretty much every time I > run my code, so I thought I'd ask - is this a known issue, is it somethin= g > I > can do to fix it? If not, should we think about introducing some sort of > timeout or sleep so that the network doesn't get overloaded? > Any feedback is appreciated. > Thanks. > Eugen. > --=20 Bertil Chapuis Agimem S=C3=A0rl http://www.agimem.com --90e6ba5bb9dd29b0a204a0a0a7b1-- From [email protected] Mon Apr 11 20:16:15 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97041 invoked from network); 11 Apr 2011 20:16:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Apr 2011 20:16:15 -0000 Received: (qmail 84795 invoked by uid 500); 11 Apr 2011 20:16:15 -0000 Delivered-To: [email protected] Received: (qmail 84745 invoked by uid 500); 11 Apr 2011 20:16:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84736 invoked by uid 99); 11 Apr 2011 20:16:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 20:16:14 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail16.extendcp.co.uk) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 20:16:05 +0000 Received: from [161.129.204.104] (helo=TonyPC) by mail16.extendcp.com with esmtpa (Exim 4.73) id 1Q9NWT-0001eJ-Fe for [email protected]; Mon, 11 Apr 2011 21:15:45 +0100 From: "Tony Dietrich" <[email protected]> To: <[email protected]> Subject: Question re: Ajax processing Date: Mon, 11 Apr 2011 21:15:35 +0100 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0087_01CBF88D.9EC5C730" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acv4hTaBJwzenFxCRD65H+tvY+H+kA== Content-Language: en-gb X-Authenticated-As: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_0087_01CBF88D.9EC5C730 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit OK, I'm getting ready to make use of Droids in an application for my company, BUT: As far as I can tell, the current Droids Http Client implementation does not return a fully populated w3c document if the remote page uses Ajax/JavaScript to synchronously populate the document. Correct/Not correct? (If I'm correct, this is a show-stopper for me.) If I'm wrong, can someone point me in the right way to ensure that a remote crawl of a website will indeed return a fully populated document whether or not the site uses Ajax/JavaScript to populate elements within the page after load? Tony Dietrich ------=_NextPart_000_0087_01CBF88D.9EC5C730-- From [email protected] Mon Apr 11 20:21:58 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15996 invoked from network); 11 Apr 2011 20:21:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Apr 2011 20:21:58 -0000 Received: (qmail 91260 invoked by uid 500); 11 Apr 2011 20:21:58 -0000 Delivered-To: [email protected] Received: (qmail 91234 invoked by uid 500); 11 Apr 2011 20:21:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 91226 invoked by uid 99); 11 Apr 2011 20:21:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 20:21:58 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp106.rog.mail.re2.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 11 Apr 2011 20:21:51 +0000 Received: (qmail 56619 invoked from network); 11 Apr 2011 20:21:30 -0000 Received: from FuadPC ([email protected] with login) by smtp106.rog.mail.re2.yahoo.com with SMTP; 11 Apr 2011 13:21:29 -0700 PDT X-Yahoo-SMTP: gZmgaNeswBBsQTtBq4da6l0u.vFfzVBST_YhMO5qoQUb7CY- X-YMail-OSG: Me0E0OQVM1mIEDkM0MyNuZ4sTIW7SnRD2r4eScQtJrnzhx9 kyvuBJb8q9TtoJ0TDDrlcESVVPArTtbfpVyD_rtUndRnKzc2xP6OmKWY91a3 z1xdr_Nq6yfxy._JqgyRoRBVT_.p11l4q2ltrkwiCwgV.xtLgpfRdJpJOTvD YFR8wzyvnRiR0U3zGdrXnE7EnSvqJt6OTg2D41KiQPcRsZug1VXXEAA443cU Ft0_WD5oefDcajfk1YbNasqgtjMFMuM.H8eGFWZUc.8foP1MDLnIS5u.hPzg Za7TkkroWOHg- X-Yahoo-Newman-Property: ymail-3 From: "Fuad Efendi" <[email protected]> To: <[email protected]> References: <[email protected]> In-Reply-To: <[email protected]> Subject: RE: Question re: Ajax processing Date: Mon, 11 Apr 2011 16:21:29 -0400 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 thread-index: AQMJYYuEuu6LVa77zFfGXzbbbvHkppHeR9ng Content-Language: en-ca >>>If I'm wrong, can someone point me in the right way to ensure that a remote crawl of a website will indeed return a fully populated document whether or not the site uses Ajax/JavaScript to populate elements within the page after load? This is ABSOLUTELY impossible, no one can do it. This is even THEORETICALLY impossible. Because DOM manipulations are event-driven and unpredictable. AJAX-based websites can be "crawled" only if these websites generate search-engine friendly HTML (for instance, if this website is fully functional even for users without JavaScript disabled). From [email protected] Mon Apr 11 20:52:26 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31858 invoked from network); 11 Apr 2011 20:52:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Apr 2011 20:52:26 -0000 Received: (qmail 24524 invoked by uid 500); 11 Apr 2011 20:52:26 -0000 Delivered-To: [email protected] Received: (qmail 24503 invoked by uid 500); 11 Apr 2011 20:52:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 24493 invoked by uid 99); 11 Apr 2011 20:52:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 20:52:26 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-qy0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 20:52:19 +0000 Received: by qyk35 with SMTP id 35so1671167qyk.6 for <[email protected]>; Mon, 11 Apr 2011 13:51:57 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id q4mr4611152qck.132.1302555117610; Mon, 11 Apr 2011 13:51:57 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 11 Apr 2011 13:51:57 -0700 (PDT) X-Originating-IP: [161.129.204.104] In-Reply-To: <[email protected]> References: <[email protected]> Date: Mon, 11 Apr 2011 22:51:57 +0200 Message-ID: <[email protected]> Subject: Re: Question re: Ajax processing From: Chapuis Bertil <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=001636426b4115e8d804a0aabf9e X-Virus-Checked: Checked by ClamAV on apache.org --001636426b4115e8d804a0aabf9e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Yes, you are right, the HttpClient does not interpret javascript and no support is provided in Droids for such a use case. However, this may probably be achieved by using another client like the one provided by HtmlUnit which can be used to retrieve information from web sites and which works with most javascript libraries. http://htmlunit.sourceforge.net/javascript-howto.html On 11 April 2011 22:15, Tony Dietrich <[email protected]> wrote: > OK, I'm getting ready to make use of Droids in an application for my > company, BUT: > > > > As far as I can tell, the current Droids Http Client implementation does > not > return a fully populated w3c document if the remote page uses > Ajax/JavaScript to synchronously populate the document. > > Correct/Not correct? > > > > (If I'm correct, this is a show-stopper for me.) > > > > If I'm wrong, can someone point me in the right way to ensure that a remo= te > crawl of a website will indeed return a fully populated document whether = or > not the site uses Ajax/JavaScript to populate elements within the page > after > load? > > > > Tony Dietrich > > > > --=20 Bertil Chapuis Agimem S=C3=A0rl http://www.agimem.com --001636426b4115e8d804a0aabf9e-- From [email protected] Mon Apr 11 20:56:44 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 32936 invoked from network); 11 Apr 2011 20:56:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Apr 2011 20:56:44 -0000 Received: (qmail 30639 invoked by uid 500); 11 Apr 2011 20:56:44 -0000 Delivered-To: [email protected] Received: (qmail 30614 invoked by uid 500); 11 Apr 2011 20:56:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30606 invoked by uid 99); 11 Apr 2011 20:56:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 20:56:44 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail16.extendcp.co.uk) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 20:56:35 +0000 Received: from host81-157-142-175.range81-157.btcentralplus.com ([161.129.204.104] helo=TonyPC) by mail16.extendcp.com with esmtpa (Exim 4.73) id 1Q9O9e-0002EW-Ek; Mon, 11 Apr 2011 21:56:14 +0100 From: "Tony Dietrich" <[email protected]> To: <[email protected]> References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Subject: RE: Question re: Ajax processing Date: Mon, 11 Apr 2011 21:56:13 +0100 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AQMJYYuEuu6LVa77zFfGXzbbbvHkppHeR9nggAACbmA= Content-Language: en-gb X-Authenticated-As: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org Err, sorry Fuad, but you are wrong. Even Google disagrees with you /grin! - they happily crawl my company's website and return fully fleshed out pages (from their cache!) from our Ajax-based website. However, they don't seem to be willing to share their secrets /sigh. I've previously implemented a service using HtmlUnit that does just this. Although the package isn't intended for the purpose, it worked well. Needed some manipulation to get it to work well in a multi-threaded environment, since HTMLUnit isn't thread-safe, but still worked. However, that service wasn't a web-crawler, just a web-based download-on-request-parse-and-copy-content service. I also have a test-case, based on webSphinx, that makes use of HtmlUnit as the downloader. However, webSphinx hasn't been maintained for many years and bringing the code-base up to scratch would take as long as writing my own. Basically HtmlUnit is a headless browser which includes both a CSS and a JavaScript processor and which can be queried to return the downloaded (and finalised) page. It includes the capability to perform asynchronous Ajax transactions. I'm not particularly worried about the events that might be triggered by user-interaction, more the onload() events that cause the page to be fully initialised with all content, as first seen by a browser user. As used in my first-mentioned service, it worked a treat. Implemented as a queue-based, 'multi-windowed' headless browser, the service overcame the overhead caused by initialising the browser by creating a singleton instance which was shared between various requests, opening then processing each requested page in a new 'window', closing the 'window' to clean up the memory and then returning the result to the query thread. The individual 'windows' provide a listener event which is triggered on various events, such as the completion of the page load, and I used this feature to trigger the return of the result to the query thread, which sat waiting on a monitor for the event. I appreciate this is a heavy-weight component, since creating each 'window' takes quite a lot of time/cycles, and don't expect to be crawling huge numbers of pages. If Droids doesn't currently have this capability, is there anyone who can talk me through (off-list) the process for creating the capability. I'd be happy to add it back to the code-base if requested, or make the code available to anyone who needs it on request. Tony -----Original Message----- From: Fuad Efendi [mailto:[email protected]] Sent: 11 April 2011 21:21 To: [email protected] Subject: RE: Question re: Ajax processing >>>If I'm wrong, can someone point me in the right way to ensure that a remote crawl of a website will indeed return a fully populated document whether or not the site uses Ajax/JavaScript to populate elements within the page after load? This is ABSOLUTELY impossible, no one can do it. This is even THEORETICALLY impossible. Because DOM manipulations are event-driven and unpredictable. AJAX-based websites can be "crawled" only if these websites generate search-engine friendly HTML (for instance, if this website is fully functional even for users without JavaScript disabled). From [email protected] Mon Apr 11 20:58:29 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33121 invoked from network); 11 Apr 2011 20:58:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Apr 2011 20:58:29 -0000 Received: (qmail 31009 invoked by uid 500); 11 Apr 2011 20:58:29 -0000 Delivered-To: [email protected] Received: (qmail 30977 invoked by uid 500); 11 Apr 2011 20:58:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30969 invoked by uid 99); 11 Apr 2011 20:58:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 20:58:29 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail16.extendcp.co.uk) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 20:58:23 +0000 Received: from host81-157-142-175.range81-157.btcentralplus.com ([161.129.204.104] helo=TonyPC) by mail16.extendcp.com with esmtpa (Exim 4.73) id 1Q9OBN-0003VD-FH for [email protected]; Mon, 11 Apr 2011 21:58:01 +0100 From: "Tony Dietrich" <[email protected]> To: <[email protected]> References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Subject: RE: Question re: Ajax processing Date: Mon, 11 Apr 2011 21:57:54 +0100 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acv4il9nNotM8zm8R+m1zB6zX52+hAAAIdAA Content-Language: en-gb X-Authenticated-As: [email protected] Thanks Chapuis, I know about HtmlUnit. See my reply to Fuad. However, I have no idea how to integrate this into Droids. Help? Tony -----Original Message----- From: Chapuis Bertil [mailto:[email protected]]=20 Sent: 11 April 2011 21:52 To: [email protected] Subject: Re: Question re: Ajax processing Yes, you are right, the HttpClient does not interpret javascript and no support is provided in Droids for such a use case. However, this may probably be achieved by using another client like the one provided by HtmlUnit which can be used to retrieve information from web sites and = which works with most javascript libraries. http://htmlunit.sourceforge.net/javascript-howto.html On 11 April 2011 22:15, Tony Dietrich <[email protected]> wrote: > OK, I'm getting ready to make use of Droids in an application for my > company, BUT: > > > > As far as I can tell, the current Droids Http Client implementation = does > not > return a fully populated w3c document if the remote page uses > Ajax/JavaScript to synchronously populate the document. > > Correct/Not correct? > > > > (If I'm correct, this is a show-stopper for me.) > > > > If I'm wrong, can someone point me in the right way to ensure that a = remote > crawl of a website will indeed return a fully populated document = whether or > not the site uses Ajax/JavaScript to populate elements within the page > after > load? > > > > Tony Dietrich > > > > --=20 Bertil Chapuis Agimem S=C3=A0rl http://www.agimem.com From [email protected] Mon Apr 11 21:13:14 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90454 invoked from network); 11 Apr 2011 21:13:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Apr 2011 21:13:13 -0000 Received: (qmail 53932 invoked by uid 500); 11 Apr 2011 21:13:13 -0000 Delivered-To: [email protected] Received: (qmail 53904 invoked by uid 500); 11 Apr 2011 21:13:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 53896 invoked by uid 99); 11 Apr 2011 21:13:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 21:13:13 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-qy0-f182.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 21:13:08 +0000 Received: by qyk27 with SMTP id 27so4676932qyk.6 for <[email protected]>; Mon, 11 Apr 2011 14:12:47 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id gp8mr4775666qab.76.1302556366939; Mon, 11 Apr 2011 14:12:46 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 11 Apr 2011 14:12:46 -0700 (PDT) X-Originating-IP: [161.129.204.104] In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Mon, 11 Apr 2011 23:12:46 +0200 Message-ID: <[email protected]> Subject: Re: Question re: Ajax processing From: Chapuis Bertil <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=20cf300fb4b98d261404a0ab0995 --20cf300fb4b98d261404a0ab0995 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable You pointed the thread-safety problem. A good starting point may be to have a HtmlUnit WebClient initialized for each Worker instances. However I'm not able to evaluate the quantity of work it requires. On 11 April 2011 22:57, Tony Dietrich <[email protected]> wrote: > Thanks Chapuis, I know about HtmlUnit. > > See my reply to Fuad. > > However, I have no idea how to integrate this into Droids. Help? > > Tony > > -----Original Message----- > From: Chapuis Bertil [mailto:[email protected]] > Sent: 11 April 2011 21:52 > To: [email protected] > Subject: Re: Question re: Ajax processing > > Yes, you are right, the HttpClient does not interpret javascript and no > support is provided in Droids for such a use case. However, this may > probably be achieved by using another client like the one provided by > HtmlUnit which can be used to retrieve information from web sites and whi= ch > works with most javascript libraries. > > http://htmlunit.sourceforge.net/javascript-howto.html > > On 11 April 2011 22:15, Tony Dietrich <[email protected]> wrote: > > > OK, I'm getting ready to make use of Droids in an application for my > > company, BUT: > > > > > > > > As far as I can tell, the current Droids Http Client implementation doe= s > > not > > return a fully populated w3c document if the remote page uses > > Ajax/JavaScript to synchronously populate the document. > > > > Correct/Not correct? > > > > > > > > (If I'm correct, this is a show-stopper for me.) > > > > > > > > If I'm wrong, can someone point me in the right way to ensure that a > remote > > crawl of a website will indeed return a fully populated document whethe= r > or > > not the site uses Ajax/JavaScript to populate elements within the page > > after > > load? > > > > > > > > Tony Dietrich > > > > > > > > > > > -- > Bertil Chapuis > Agimem S=C3=A0rl > http://www.agimem.com > > --=20 Bertil Chapuis Agimem S=C3=A0rl http://www.agimem.com --20cf300fb4b98d261404a0ab0995-- From [email protected] Mon Apr 11 21:44:25 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88338 invoked from network); 11 Apr 2011 21:44:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Apr 2011 21:44:24 -0000 Received: (qmail 96226 invoked by uid 500); 11 Apr 2011 21:44:24 -0000 Delivered-To: [email protected] Received: (qmail 96195 invoked by uid 500); 11 Apr 2011 21:44:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 96187 invoked by uid 99); 11 Apr 2011 21:44:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 21:44:24 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp108.rog.mail.re2.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 11 Apr 2011 21:44:18 +0000 Received: (qmail 63842 invoked from network); 11 Apr 2011 21:43:57 -0000 Received: from FuadPC ([email protected] with login) by smtp108.rog.mail.re2.yahoo.com with SMTP; 11 Apr 2011 14:43:57 -0700 PDT X-Yahoo-SMTP: gZmgaNeswBBsQTtBq4da6l0u.vFfzVBST_YhMO5qoQUb7CY- X-YMail-OSG: HeKGE1AVM1nlXaWnvnAneUZHH899EVHGDTfA8j0kl8ZnhQv zLYMffW9fG64QeS1GLoVsILhPoEGXbQX90Me.vxcdtyQIjHYydD97dhwJdA. KoBfMT5Y0IDoIREWkTxhgoz3W1EBlI3nNuNIiOc2KdiUwhz0PYV0Nqj5RS3o 1ppsJ3n5dNvw7sKO6aVRltc9XuhVM2a0uIfN6z17sd4ODb.UQfawuk2Cha88 EQorggkc8bvqCMT5QWj7ULNUdKPGfNwH67XaeXZcSrkuoyJRLhgqjmMN7OhL ACfpuJTsMpDg- X-Yahoo-Newman-Property: ymail-3 From: "Fuad Efendi" <[email protected]> To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Subject: RE: Question re: Ajax processing Date: Mon, 11 Apr 2011 17:43:56 -0400 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 thread-index: AQMJYYuEuu6LVa77zFfGXzbbbvHkpgHXikESAewMKnuRwEEykA== Content-Language: en-ca >>Err, sorry Fuad, but you are wrong. Even Google disagrees with you /grin! - they happily crawl my company's website and return fully fleshed out pages (from their cache!) from our Ajax-based website. However, they don't seem to be willing to share their secrets /sigh. - I wrote about "Search Engine Friendliness". I meant: different content for different agent signatures. AJAX for IE-8, and HTML for GoogleBot. And very specific HTML for people with disabilities. And specific HTML for those who hate JavaScript. Yes, my Laptop allows to generate HTML with color, images, and etc from multiple chunk of data, but it's different story... Googlebot will have to spend 10000 times more CPU cycles than right now to do the same. Double-core for single page (AJAX, whatever) + 1-2-5 seconds to generate a page (HtmlUnit, Mozilla, whatever) is OK for a single page (and 2-3 seconds), but it is not Ok for Googlebot (few milliseconds per page; billions pages per day). Your website probably uses extremely basic "deterministic" AJAX: dynamically loaded HTML snippets, and each such snippet can have static (search-engine-friendly) URL, and each snippet has embedded HTML tags. What about REAL AJAX application? What about Adobe ActionScript (with specific Search Engine API? It failed...) Are you sure about "fully fleshed out pages"? What is was, JSON objects converted to DOM using very specific "transformation"!? Yes, Google can "emulate" initial computer screen with CSS and etc; with basic "OnLoad"-generated staff; but it requires a lot of CPU so that it can do it for home pages only of most important sites. And JSON... subject of discussion is similar to "form submission", can GoogleBot discover ALL imaginable URLs generated as form submissions (including JavaScript-generated URLs)? Even if you don't publish such URLs explicitly as part of SEO strategy? And what if it can, it won't play any role: zero-rank since no any incoming links... From [email protected] Mon Apr 11 22:25:18 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28341 invoked from network); 11 Apr 2011 22:25:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Apr 2011 22:25:18 -0000 Received: (qmail 27353 invoked by uid 500); 11 Apr 2011 22:25:18 -0000 Delivered-To: [email protected] Received: (qmail 27326 invoked by uid 500); 11 Apr 2011 22:25:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 27318 invoked by uid 99); 11 Apr 2011 22:25:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 22:25:18 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp101.rog.mail.re2.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 11 Apr 2011 22:25:13 +0000 Received: (qmail 55408 invoked from network); 11 Apr 2011 22:24:52 -0000 Received: from FuadPC ([email protected] with login) by smtp101.rog.mail.re2.yahoo.com with SMTP; 11 Apr 2011 15:24:52 -0700 PDT X-Yahoo-SMTP: gZmgaNeswBBsQTtBq4da6l0u.vFfzVBST_YhMO5qoQUb7CY- X-YMail-OSG: LCxdZagVM1ksh2Q7ZSrLSZ9PxJwdQFwZwoZefJDjm8pBjKd 2wiFBlhZuRAJE4t3XF2Aw6tl3FYMKvywX_Ri5yG3lYRU4scLRU0gFSRyQ8mC teOvhHh7PDBdE08ap7di8qnuxvk3l524dvYWokrZh_EF9uGydEMcAZzPTtEH QpvD4ac2iDmzL_fkH2HDzF.eFPB70BsZRcIcFIlEKuyf5eVL_xxtGDPZxB1y XoLXeyEaizAzChSmqRdtFCA.LQqnHR1ChbEEK5KR51NOdcb_D3jer0D3cBAe lU_8MI9.JCwFLfJ.0DKH6 X-Yahoo-Newman-Property: ymail-3 From: "Fuad Efendi" <[email protected]> To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Subject: RE: Question re: Ajax processing Date: Mon, 11 Apr 2011 18:24:51 -0400 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 thread-index: AQMJYYuEuu6LVa77zFfGXzbbbvHkpgHXikESAewMKnuRwEcYAA== Content-Language: en-ca Tony, extremely simple use case: dynamically assign CSS class to HTML elements... Search engines operate with plain text retrieved from HTML/PDF/(even meta-tags of video files)/...; but what you describe here = is "regenerating user screen", "emulating web browser"; it is different use case (some websites such as www.alexa.com, www.quantcast.com, and even www.google.com do that for home pages) Also, "w3c document" is not the same as "SGML"... and "AJAX" is = sometimes workaround around buggy browsers & dynamic CSS, DOJO developers are = mostly worried about IE8 vs Mozilla... and it's not just "dynamic HTML"; it = could be popup window (which can't be defined as single HTML) This is my extra (mis-)understanding of the discussion: - we already have computer with browser which can do this - we already have digital camera which can do snapshot of a screen - is it related to PLAIN TEXT retrieval for indexing? - what is UNIQUE "resource identifier" for this plain text, do we have = it for generic AJAX use cases? (we do have it for very na=EFve "onload()" = AJAX) Just as a sample of technology... web portals can use AJAX to load = portlets, and each portlet have unique URL for "MAXIMIZED" state, and each such "portal" page lists such URLs for robots - "search engine friendliness"; = but it is very basic AJAX; to convert sophisticated OOP-style JavaScript = object into HTML you need kind of "transformation rules" which are JavaScript, = and you will have to worry about memory leaks of (still mostly buggy) = popular libraries (which are sometimes huge)... what about viruses and threats inside JavaScript? I can't imagine "polite" robot trying to run AJAX Sorry if I misunderstood... Of course... Would be nice to have Apache-library which can generate = image (JPEG) for a homepage! -----Original Message----- From: Tony Dietrich [mailto:[email protected]]=20 Sent: April-11-11 4:56 PM To: [email protected] Subject: RE: Question re: Ajax processing Err, sorry Fuad, but you are wrong. Even Google disagrees with you = /grin! - they happily crawl my company's website and return fully fleshed out = pages (from their cache!) from our Ajax-based website. However, they don't = seem to be willing to share their secrets /sigh. I've previously implemented a service using HtmlUnit that does just = this. Although the package isn't intended for the purpose, it worked well. = Needed some manipulation to get it to work well in a multi-threaded = environment, since HTMLUnit isn't thread-safe, but still worked. However, that = service wasn't a web-crawler, just a web-based download-on-request-parse-and-copy-content service.=20 I also have a test-case, based on webSphinx, that makes use of HtmlUnit = as the downloader. However, webSphinx hasn't been maintained for many years = and bringing the code-base up to scratch would take as long as writing my = own. Basically HtmlUnit is a headless browser which includes both a CSS and a JavaScript processor and which can be queried to return the downloaded = (and finalised) page. It includes the capability to perform asynchronous Ajax transactions. I'm not particularly worried about the events that might be triggered by user-interaction, more the onload() events that cause the page to be = fully initialised with all content, as first seen by a browser user. As used = in my first-mentioned service, it worked a treat. Implemented as a queue-based, 'multi-windowed' headless browser, the = service overcame the overhead caused by initialising the browser by creating a singleton instance which was shared between various requests, opening = then processing each requested page in a new 'window', closing the 'window' = to clean up the memory and then returning the result to the query thread. = The individual 'windows' provide a listener event which is triggered on = various events, such as the completion of the page load, and I used this feature = to trigger the return of the result to the query thread, which sat waiting = on a monitor for the event. I appreciate this is a heavy-weight component, since creating each = 'window' takes quite a lot of time/cycles, and don't expect to be crawling huge numbers of pages. If Droids doesn't currently have this capability, is there anyone who = can talk me through (off-list) the process for creating the capability. I'd = be happy to add it back to the code-base if requested, or make the code available to anyone who needs it on request. Tony -----Original Message----- From: Fuad Efendi [mailto:[email protected]] Sent: 11 April 2011 21:21 To: [email protected] Subject: RE: Question re: Ajax processing >>>If I'm wrong, can someone point me in the right way to ensure that a remote crawl of a website will indeed return a fully populated document whether or not the site uses Ajax/JavaScript to populate elements within = the page after load? This is ABSOLUTELY impossible, no one can do it. This is even = THEORETICALLY impossible. Because DOM manipulations are event-driven and = unpredictable. AJAX-based websites can be "crawled" only if these websites generate search-engine friendly HTML (for instance, if this website is fully functional even for users without JavaScript disabled).=20 From [email protected] Wed Apr 13 08:25:50 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22268 invoked from network); 13 Apr 2011 08:25:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Apr 2011 08:25:50 -0000 Received: (qmail 13091 invoked by uid 500); 13 Apr 2011 08:25:49 -0000 Delivered-To: [email protected] Received: (qmail 13033 invoked by uid 500); 13 Apr 2011 08:25:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13020 invoked by uid 99); 13 Apr 2011 08:25:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 08:25:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 08:25:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id B5BEB9FB8E for <[email protected]>; Wed, 13 Apr 2011 08:25:05 +0000 (UTC) Date: Wed, 13 Apr 2011 08:25:05 +0000 (UTC) From: "Bertil Chapuis (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> Subject: [jira] [Created] (DROIDS-140) Removing the ant, forest and ivy stuff MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Removing the ant, forest and ivy stuff -------------------------------------- Key: DROIDS-140 URL: https://issues.apache.org/jira/browse/DROIDS-140 Project: Droids Issue Type: Sub-task Reporter: Bertil Chapuis -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Apr 13 08:35:46 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67963 invoked from network); 13 Apr 2011 08:35:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Apr 2011 08:35:46 -0000 Received: (qmail 24223 invoked by uid 500); 13 Apr 2011 08:35:45 -0000 Delivered-To: [email protected] Received: (qmail 24199 invoked by uid 500); 13 Apr 2011 08:35:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 24190 invoked by uid 99); 13 Apr 2011 08:35:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 08:35:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 08:35:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id CABAB9FF6D for <[email protected]>; Wed, 13 Apr 2011 08:35:05 +0000 (UTC) Date: Wed, 13 Apr 2011 08:35:05 +0000 (UTC) From: "Bertil Chapuis (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> In-Reply-To: <[email protected]> Subject: [jira] [Updated] (DROIDS-140) Removing the ant, forest and ivy stuff MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DROIDS-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertil Chapuis updated DROIDS-140: ---------------------------------- Remaining Estimate: 0h Original Estimate: 0h > Removing the ant, forest and ivy stuff > -------------------------------------- > > Key: DROIDS-140 > URL: https://issues.apache.org/jira/browse/DROIDS-140 > Project: Droids > Issue Type: Sub-task > Reporter: Bertil Chapuis > Assignee: Bertil Chapuis > Fix For: 0.0.2 > > Original Estimate: 0h > Remaining Estimate: 0h > -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Apr 13 08:35:46 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68047 invoked from network); 13 Apr 2011 08:35:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Apr 2011 08:35:46 -0000 Received: (qmail 24328 invoked by uid 500); 13 Apr 2011 08:35:46 -0000 Delivered-To: [email protected] Received: (qmail 24293 invoked by uid 500); 13 Apr 2011 08:35:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 24282 invoked by uid 99); 13 Apr 2011 08:35:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 08:35:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 08:35:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id B45529FF68 for <[email protected]>; Wed, 13 Apr 2011 08:35:05 +0000 (UTC) Date: Wed, 13 Apr 2011 08:35:05 +0000 (UTC) From: "Bertil Chapuis (JIRA)" <[email protected]> To: [email protected] Message-ID: <{{EMAIL+PHONE}}> In-Reply-To: <[email protected]> Subject: [jira] [Assigned] (DROIDS-140) Removing the ant, forest and ivy stuff MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DROIDS-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertil Chapuis reassigned DROIDS-140: ------------------------------------- Assignee: Bertil Chapuis > Removing the ant, forest and ivy stuff > -------------------------------------- > > Key: DROIDS-140 > URL: https://issues.apache.org/jira/browse/DROIDS-140 > Project: Droids > Issue Type: Sub-task > Reporter: Bertil Chapuis > Assignee: Bertil Chapuis > Fix For: 0.0.2 > > -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Apr 13 09:52:54 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11327 invoked from network); 13 Apr 2011 09:52:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Apr 2011 09:52:54 -0000 Received: (qmail 13746 invoked by uid 500); 13 Apr 2011 09:52:54 -0000 Delivered-To: [email protected] Received: (qmail 13659 invoked by uid 500); 13 Apr 2011 09:52:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13477 invoked by uid 99); 13 Apr 2011 09:52:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 09:52:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 09:52:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id BC7949FE87 for <[email protected]>; Wed, 13 Apr 2011 09:52:05 +0000 (UTC) Date: Wed, 13 Apr 2011 09:52:05 +0000 (UTC) From: "Bertil Chapuis (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> In-Reply-To: <[email protected]> Subject: [jira] [Assigned] (DROIDS-137) Using the maven site plugin instead of forrest MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DROIDS-137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertil Chapuis reassigned DROIDS-137: ------------------------------------- Assignee: Bertil Chapuis > Using the maven site plugin instead of forrest > ---------------------------------------------- > > Key: DROIDS-137 > URL: https://issues.apache.org/jira/browse/DROIDS-137 > Project: Droids > Issue Type: Sub-task > Affects Versions: 0.0.1, 0.0.2 > Reporter: Bertil Chapuis > Assignee: Bertil Chapuis > Fix For: 0.0.2 > > -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Apr 13 09:54:44 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11436 invoked from network); 13 Apr 2011 09:54:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Apr 2011 09:54:44 -0000 Received: (qmail 15957 invoked by uid 500); 13 Apr 2011 09:54:44 -0000 Delivered-To: [email protected] Received: (qmail 15896 invoked by uid 500); 13 Apr 2011 09:54:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 15886 invoked by uid 99); 13 Apr 2011 09:54:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 09:54:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 09:54:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id BC16C9FF3C for <[email protected]>; Wed, 13 Apr 2011 09:54:05 +0000 (UTC) Date: Wed, 13 Apr 2011 09:54:05 +0000 (UTC) From: "Bertil Chapuis (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> In-Reply-To: <[email protected]> Subject: [jira] [Updated] (DROIDS-137) Using the maven site plugin instead of forrest MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DROIDS-137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertil Chapuis updated DROIDS-137: ---------------------------------- Remaining Estimate: 0h Original Estimate: 0h This patch lets use the maven site plugin (mvn site). The generated documentation is stored in target/site. > Using the maven site plugin instead of forrest > ---------------------------------------------- > > Key: DROIDS-137 > URL: https://issues.apache.org/jira/browse/DROIDS-137 > Project: Droids > Issue Type: Sub-task > Affects Versions: 0.0.1, 0.0.2 > Reporter: Bertil Chapuis > Assignee: Bertil Chapuis > Fix For: 0.0.2 > > Original Estimate: 0h > Remaining Estimate: 0h > -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Apr 13 09:56:46 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11678 invoked from network); 13 Apr 2011 09:56:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Apr 2011 09:56:46 -0000 Received: (qmail 18307 invoked by uid 500); 13 Apr 2011 09:56:46 -0000 Delivered-To: [email protected] Received: (qmail 18267 invoked by uid 500); 13 Apr 2011 09:56:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 18254 invoked by uid 99); 13 Apr 2011 09:56:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 09:56:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 09:56:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id B06FB9F064 for <[email protected]>; Wed, 13 Apr 2011 09:56:05 +0000 (UTC) Date: Wed, 13 Apr 2011 09:56:05 +0000 (UTC) From: "Bertil Chapuis (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> Subject: [jira] [Created] (DROIDS-141) Removing the forrest documentation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Removing the forrest documentation ---------------------------------- Key: DROIDS-141 URL: https://issues.apache.org/jira/browse/DROIDS-141 Project: Droids Issue Type: Sub-task Reporter: Bertil Chapuis -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Apr 13 10:04:44 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46501 invoked from network); 13 Apr 2011 10:04:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Apr 2011 10:04:44 -0000 Received: (qmail 27230 invoked by uid 500); 13 Apr 2011 10:04:44 -0000 Delivered-To: [email protected] Received: (qmail 27131 invoked by uid 500); 13 Apr 2011 10:04:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 27121 invoked by uid 99); 13 Apr 2011 10:04:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 10:04:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 10:04:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id DC8E89F495 for <[email protected]>; Wed, 13 Apr 2011 10:04:05 +0000 (UTC) Date: Wed, 13 Apr 2011 10:04:05 +0000 (UTC) From: "Bertil Chapuis (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> In-Reply-To: <[email protected]> Subject: [jira] [Updated] (DROIDS-137) Using the maven site plugin instead of forrest MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DROIDS-137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertil Chapuis updated DROIDS-137: ---------------------------------- Comment: was deleted (was: This patch allows to use the maven site plugin. The generated documentation is stored in target/site) > Using the maven site plugin instead of forrest > ---------------------------------------------- > > Key: DROIDS-137 > URL: https://issues.apache.org/jira/browse/DROIDS-137 > Project: Droids > Issue Type: Sub-task > Affects Versions: 0.0.1, 0.0.2 > Reporter: Bertil Chapuis > Assignee: Bertil Chapuis > Fix For: 0.0.2 > > Attachments: DROIDS-137-v1.diff > > Original Estimate: 0h > Remaining Estimate: 0h > -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Apr 13 10:04:44 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46521 invoked from network); 13 Apr 2011 10:04:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Apr 2011 10:04:44 -0000 Received: (qmail 27146 invoked by uid 500); 13 Apr 2011 10:04:44 -0000 Delivered-To: [email protected] Received: (qmail 27129 invoked by uid 500); 13 Apr 2011 10:04:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 27113 invoked by uid 99); 13 Apr 2011 10:04:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 10:04:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 10:04:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id C1A009F491 for <[email protected]>; Wed, 13 Apr 2011 10:04:05 +0000 (UTC) Date: Wed, 13 Apr 2011 10:04:05 +0000 (UTC) From: "Bertil Chapuis (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> In-Reply-To: <[email protected]> Subject: [jira] [Updated] (DROIDS-137) Using the maven site plugin instead of forrest MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DROIDS-137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertil Chapuis updated DROIDS-137: ---------------------------------- Attachment: DROIDS-137-v1.diff This patch allows to use the maven site plugin. The generated documentation is stored in target/site > Using the maven site plugin instead of forrest > ---------------------------------------------- > > Key: DROIDS-137 > URL: https://issues.apache.org/jira/browse/DROIDS-137 > Project: Droids > Issue Type: Sub-task > Affects Versions: 0.0.1, 0.0.2 > Reporter: Bertil Chapuis > Assignee: Bertil Chapuis > Fix For: 0.0.2 > > Attachments: DROIDS-137-v1.diff > > Original Estimate: 0h > Remaining Estimate: 0h > -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Apr 13 11:24:44 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92460 invoked from network); 13 Apr 2011 11:24:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Apr 2011 11:24:44 -0000 Received: (qmail 96308 invoked by uid 500); 13 Apr 2011 11:24:44 -0000 Delivered-To: [email protected] Received: (qmail 96286 invoked by uid 500); 13 Apr 2011 11:24:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 96278 invoked by uid 99); 13 Apr 2011 11:24:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 11:24:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 11:24:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id 3BEA5A0DB6 for <[email protected]>; Wed, 13 Apr 2011 11:24:06 +0000 (UTC) Date: Wed, 13 Apr 2011 11:24:06 +0000 (UTC) From: "Bertil Chapuis (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> In-Reply-To: <[email protected]> Subject: [jira] [Resolved] (DROIDS-137) Using the maven site plugin instead of forrest MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DROIDS-137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertil Chapuis resolved DROIDS-137. ----------------------------------- Resolution: Fixed > Using the maven site plugin instead of forrest > ---------------------------------------------- > > Key: DROIDS-137 > URL: https://issues.apache.org/jira/browse/DROIDS-137 > Project: Droids > Issue Type: Sub-task > Affects Versions: 0.0.1, 0.0.2 > Reporter: Bertil Chapuis > Assignee: Bertil Chapuis > Fix For: 0.0.2 > > Attachments: DROIDS-137-v1.diff > > Original Estimate: 0h > Remaining Estimate: 0h > -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Apr 13 11:30:44 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9888 invoked from network); 13 Apr 2011 11:30:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Apr 2011 11:30:43 -0000 Received: (qmail 4883 invoked by uid 500); 13 Apr 2011 11:30:43 -0000 Delivered-To: [email protected] Received: (qmail 4861 invoked by uid 500); 13 Apr 2011 11:30:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4853 invoked by uid 99); 13 Apr 2011 11:30:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 11:30:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 11:30:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id C0A75A0FF8 for <[email protected]>; Wed, 13 Apr 2011 11:30:05 +0000 (UTC) Date: Wed, 13 Apr 2011 11:30:05 +0000 (UTC) From: "Bertil Chapuis (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> In-Reply-To: <[email protected]> Subject: [jira] [Updated] (DROIDS-140) Removing the ant, forest and ivy stuff MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DROIDS-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertil Chapuis updated DROIDS-140: ---------------------------------- Attachment: DROIDS-140-v1.diff Removes all the files which relates to ivy, ant and forrest. > Removing the ant, forest and ivy stuff > -------------------------------------- > > Key: DROIDS-140 > URL: https://issues.apache.org/jira/browse/DROIDS-140 > Project: Droids > Issue Type: Sub-task > Reporter: Bertil Chapuis > Assignee: Bertil Chapuis > Fix For: 0.0.2 > > Attachments: DROIDS-140-v1.diff > > Original Estimate: 0h > Remaining Estimate: 0h > -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Apr 13 11:34:46 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35892 invoked from network); 13 Apr 2011 11:34:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Apr 2011 11:34:46 -0000 Received: (qmail 12203 invoked by uid 500); 13 Apr 2011 11:34:45 -0000 Delivered-To: [email protected] Received: (qmail 12122 invoked by uid 500); 13 Apr 2011 11:34:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 12114 invoked by uid 99); 13 Apr 2011 11:34:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 11:34:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 11:34:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id A8CF29F0F4 for <[email protected]>; Wed, 13 Apr 2011 11:34:05 +0000 (UTC) Date: Wed, 13 Apr 2011 11:34:05 +0000 (UTC) From: "Bertil Chapuis (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> In-Reply-To: <[email protected]> Subject: [jira] [Updated] (DROIDS-141) Removing the forrest documentation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DROIDS-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertil Chapuis updated DROIDS-141: ---------------------------------- Attachment: DROIDS-141-v1.patch Removes all the documentation folders from the codebase. > Removing the forrest documentation > ---------------------------------- > > Key: DROIDS-141 > URL: https://issues.apache.org/jira/browse/DROIDS-141 > Project: Droids > Issue Type: Sub-task > Reporter: Bertil Chapuis > Fix For: 0.0.2 > > Attachments: DROIDS-141-v1.patch > > -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Apr 13 16:09:39 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66005 invoked from network); 13 Apr 2011 16:09:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Apr 2011 16:09:39 -0000 Received: (qmail 46998 invoked by uid 500); 13 Apr 2011 16:09:39 -0000 Delivered-To: [email protected] Received: (qmail 46976 invoked by uid 500); 13 Apr 2011 16:09:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 46968 invoked by uid 99); 13 Apr 2011 16:09:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 16:09:39 +0000 X-ASF-Spam-Status: No, hits=-1.6 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp1.NoDak.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 16:09:30 +0000 Received: from [161.129.204.104] (wings.cc.ndsu.NoDak.edu [161.129.204.104]) (authenticated bits=0) by smtp1.NoDak.edu (8.13.8/8.13.8) with ESMTP id p3DG97TA005889 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <[email protected]>; Wed, 13 Apr 2011 11:09:08 -0500 Message-ID: <[email protected]> Date: Wed, 13 Apr 2011 11:09:07 -0500 From: Richard Frovarp <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:161.129.204.104) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8 MIME-Version: 1.0 To: [email protected] Subject: Re: 0.0.1 release? References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: milter-spamc/1.15.388 (smtp.ndsu.NoDak.edu [161.129.204.104]); Wed, 13 Apr 2011 11:09:08 -0500 X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: NO, hits=0.00 required=8.00 On 04/08/2011 05:04 PM, Eugen Paraschiv wrote: > Seems that the activity on droids is dwindling without a 0.0.1 release. Is > there a blocker for the release? Is there anything I can do to help? > Eugen. > The blocker would appear to be me. Looking through the incubator docs, it appears that the release process is a bit different than I am used to. This weekend I will read through the docs and start the process. Richard From [email protected] Thu Apr 14 09:01:36 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49338 invoked from network); 14 Apr 2011 09:01:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Apr 2011 09:01:35 -0000 Received: (qmail 90615 invoked by uid 500); 14 Apr 2011 09:01:35 -0000 Delivered-To: [email protected] Received: (qmail 90546 invoked by uid 500); 14 Apr 2011 09:01:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 90532 invoked by uid 99); 14 Apr 2011 09:01:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Apr 2011 09:01:32 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-qw0-f47.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Apr 2011 09:01:24 +0000 Received: by qwh5 with SMTP id 5so808009qwh.6 for <[email protected]>; Thu, 14 Apr 2011 02:01:03 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id 11mr336626qca.94.1302771662881; Thu, 14 Apr 2011 02:01:02 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 14 Apr 2011 02:01:02 -0700 (PDT) X-Originating-IP: [161.129.204.104] Date: Thu, 14 Apr 2011 11:01:02 +0200 Message-ID: <[email protected]> Subject: 0.0.2 issues From: Chapuis Bertil <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=90e6ba5bb9dd30851404a0dd2a86 X-Virus-Checked: Checked by ClamAV on apache.org --90e6ba5bb9dd30851404a0dd2a86 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello all, I'd like to start working on DROIDS-108 and I have several questions regarding this issue. First, does everybody agree on the necessity to replace the current factories by a single WorkerFactory since it introduce lots of api changes. In my opinion having a single worker factory will simplify Droids a lot. Second, I recently worked with Guice for dependency injection. I think this library is a perfect fit to create a consistent object graph. In our case w= e may use guice Providers to instanciate workers and the sub components like the parser which are not threadsafe. Injection may be use for components like the Fetcher. This refactoring is huge and difficult to split in several tasks. Does someone with a greater experience than mine wants to get involved in this refactoring? Do you have any suggestions about a good way to perform these changes? The codebase I use for my personnal projects includes these changes without using guice, I may commit it in a branch to give an overvie= w of the direction I propose. WDYT? Best regards, -- Bertil Chapuis Agimem S=C3=A0rl http://www.agimem.com --90e6ba5bb9dd30851404a0dd2a86-- From [email protected] Tue Apr 26 21:15:32 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id EC31118AC for <[email protected]>; Tue, 26 Apr 2011 21:15:32 +0000 (UTC) Received: (qmail 63831 invoked by uid 500); 26 Apr 2011 21:15:32 -0000 Delivered-To: [email protected] Received: (qmail 63792 invoked by uid 500); 26 Apr 2011 21:15:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 63784 invoked by uid 99); 26 Apr 2011 21:15:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Apr 2011 21:15:32 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-fx0-f47.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Apr 2011 21:15:24 +0000 Received: by fxm19 with SMTP id 19so848649fxm.6 for <[email protected]>; Tue, 26 Apr 2011 14:15:01 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id h21mr1402841fas.45.1303852501817; Tue, 26 Apr 2011 14:15:01 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 26 Apr 2011 14:15:01 -0700 (PDT) X-Originating-IP: [161.129.204.104] In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Tue, 26 Apr 2011 16:15:01 -0500 Message-ID: <[email protected]> Subject: Re: 0.0.1 release? From: Jeremy Arnold <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Hi Richard, I was just wondering if you made any progress on this over the past couple weeks? I would love to see a stable release come together!! Thanks, Jeremy On Wed, Apr 13, 2011 at 11:09 AM, Richard Frovarp <[email protected]> wrote: > On 04/08/2011 05:04 PM, Eugen Paraschiv wrote: >> >> Seems that the activity on droids is dwindling without a 0.0.1 release. Is >> there a blocker for the release? Is there anything I can do to help? >> Eugen. >> > > The blocker would appear to be me. Looking through the incubator docs, it > appears that the release process is a bit different than I am used to. This > weekend I will read through the docs and start the process. > > Richard > From [email protected] Wed Apr 27 11:33:48 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 1936E2C04 for <[email protected]>; Wed, 27 Apr 2011 11:33:48 +0000 (UTC) Received: (qmail 92524 invoked by uid 500); 27 Apr 2011 11:33:48 -0000 Delivered-To: [email protected] Received: (qmail 92421 invoked by uid 500); 27 Apr 2011 11:33:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 92412 invoked by uid 99); 27 Apr 2011 11:33:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2011 11:33:47 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ww0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2011 11:33:40 +0000 Received: by wwb17 with SMTP id 17so1635677wwb.0 for <[email protected]>; Wed, 27 Apr 2011 04:33:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=R8Uumsmofjy3fH/T9MK0SGKnS+9Wd8yp/uFZF7b7kT4=; b=VxDtdgpGjSspUS8WmWeHFGzA//3+DiF/IyJxBDLp/uLshBBGW/fHKAadP+/sQVprjj aT2emoZma937FhjTQEPxP5DypS2wXyGdti45X/2SahQhKHqOTHBiwW6DqqbV11FjeHLA 6E4ifKLzK9AjFiy0Q+0aewooEh393IELJFKS4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=V/2yv1IOP/yvt1Kc6rKwXf/dooKaowV7wCI6H7iEh+YjrXUPJpCPL24pVYKuSJBbTU DTJLLK/cDXLl6yfs4F8MKGRHjKV2SsUOBHnIBlZlE0qzv55wQ4ZstL7P6iW/KAXQXSjg iDXlGQ/HBvMoWHBZDEiE90b+jUBn9R33LJh7E= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id p13mr583451wbp.75.1303903999549; Wed, 27 Apr 2011 04:33:19 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 27 Apr 2011 04:33:19 -0700 (PDT) Date: Wed, 27 Apr 2011 12:33:19 +0100 Message-ID: <[email protected]> Subject: About Link and POST requests From: "[email protected]" <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 Hello, using Droid library I came to the realization that the current API are not suitable for handling anything other than GET requests. This is due mainly to two choices made in the code: - using the Link interface for collecting and processing pages to process (all based on simple URI values, both for 'getURI' and 'getTo'); - content being loaded by CrawlingWorker, passing just the URI to the Protocol. Is there anyone interested in thinking how to change the API to support also other request types? Regards, Giulio Cesare From [email protected] Wed Apr 27 12:55:59 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 97FD52013 for <[email protected]>; Wed, 27 Apr 2011 12:55:59 +0000 (UTC) Received: (qmail 32162 invoked by uid 500); 27 Apr 2011 12:55:59 -0000 Delivered-To: [email protected] Received: (qmail 32133 invoked by uid 500); 27 Apr 2011 12:55:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32125 invoked by uid 99); 27 Apr 2011 12:55:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2011 12:55:59 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp107.rog.mail.bf1.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 27 Apr 2011 12:55:52 +0000 Received: (qmail 86605 invoked from network); 27 Apr 2011 12:55:31 -0000 Received: from FuadPC ([email protected] with login) by smtp107.rog.mail.bf1.yahoo.com with SMTP; 27 Apr 2011 05:55:30 -0700 PDT X-Yahoo-SMTP: gZmgaNeswBBsQTtBq4da6l0u.vFfzVBST_YhMO5qoQUb7CY- X-YMail-OSG: j.5L4YEVM1msgSSH.kHklsRo_ecBT1D6n7MBVkjnNSSzqiX udH.WWwiSsGFCXanpqPsF0DPq26DBXjrF3M0Gg4hyuX5oGPCjRHC2YnzZ1mT xD5ivxH3JFN9EsGQZR83FZk6BY.LRI1uvbcu3zyja5a65ixHF34cAxXmrtx8 JwWeBR2LMgY6on7JL.pEzlKkYtfmJzeRXwJ5OYQljTDCLl86dVdmkoQ_Kurv Q4WrzpO0vq56Vd9k_CJ8sxSTEX91JoYoN0hpKlAChXutIxhJntEqqHX5rTwO QX4VMRTjTZP86OA1jutMWKYtv6pKOmXGap16kGsRctjWHXRrI X-Yahoo-Newman-Property: ymail-3 From: "Fuad Efendi" <[email protected]> To: <[email protected]> References: <[email protected]> In-Reply-To: <[email protected]> Subject: RE: About Link and POST requests Date: Wed, 27 Apr 2011 08:55:26 -0400 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQJfzj8s+KmLOtVmEiKBSbdiC5VK8pNKFyzg Content-Language: en-ca Hi Giulio, "other request types" - HEAD only, and only if Internet = Server supports that (I don't think more than 1% support, and I don't = think it will be performance improvement in an era of sitemaps)... there = is no "Link" request types, and "POST" shouldn't be done by robots - = otherwise which URL will you show in a search results page? You can't = show form submission via POST as a search results -Fuad -----Original Message----- From: [email protected] [mailto:[email protected]]=20 Sent: April-27-11 7:33 AM To: [email protected] Subject: About Link and POST requests Hello, using Droid library I came to the realization that the current API are = not suitable for handling anything other than GET requests. This is due mainly to two choices made in the code: - using the Link interface for collecting and processing pages to = process (all based on simple URI values, both for 'getURI' and 'getTo'); - content being loaded by CrawlingWorker, passing just the URI to the = Protocol. Is there anyone interested in thinking how to change the API to support = also other request types? Regards, Giulio Cesare From [email protected] Wed Apr 27 13:32:58 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 7D4FE2931 for <[email protected]>; Wed, 27 Apr 2011 13:32:58 +0000 (UTC) Received: (qmail 9847 invoked by uid 500); 27 Apr 2011 13:32:58 -0000 Delivered-To: [email protected] Received: (qmail 9808 invoked by uid 500); 27 Apr 2011 13:32:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 9800 invoked by uid 99); 27 Apr 2011 13:32:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2011 13:32:58 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-wy0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2011 13:32:50 +0000 Received: by wye20 with SMTP id 20so1401879wye.6 for <[email protected]>; Wed, 27 Apr 2011 06:32:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=dMSA7v6vKtlprAmCRopVAgvv2NLIVcY4+GWtDe0do2A=; b=eaPdOI9O82NgXRNtQfJARO3PWRaoITDRNjBZOBrwgvV4A7SfAnuAmHBa3vMxiR+yOA b++pQAafF3kRrxdkThRf0pdckTJLxj/68SkWne9MQVBAQ0aMkk90psTHvZ977s/+OgVu dkGAjWa7wNUDf4Hb4nVeEJ1qIpCRWnSHAKslc= 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:content-transfer-encoding; b=lZSWeLKskm0sRlP5XqklZQzj5/QY8mn8CFcn/S/UHZg80CvNU8az3xfPp1K9VeH+hD KXSDkkK6Yc0AynsT6C7d14uxpRh0mlqcsaCmCa1dSECqsF4lQXHo3fhCdZePr/9HAxFs rrcAyjaD3609oNJpQl0KREVxS+ZMIVXEK5Zww= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id t18mr2200441wbt.104.1303911150589; Wed, 27 Apr 2011 06:32:30 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 27 Apr 2011 06:32:30 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Wed, 27 Apr 2011 14:32:30 +0100 Message-ID: <[email protected]> Subject: Re: About Link and POST requests From: "[email protected]" <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hello Fuad, I can agree that robots should not perform POST requests, but Droids is a library for building robots, it is not a robot itself. My suggestion to extends the request types was to widen the scope where Droids could be useful. I would find that an unfortunate decision, but that's just my point of view= . Thanks, Giulio Cesare On Wed, Apr 27, 2011 at 1:55 PM, Fuad Efendi <[email protected]> wrote: > Hi Giulio, "other request types" - HEAD only, and only if Internet Server= supports that (I don't think more than 1% support, and I don't think it wi= ll be performance improvement in an era of sitemaps)... there is no "Link" = request types, and "POST" shouldn't be done by robots - otherwise which URL= will you show in a search results page? You can't show form submission via= POST as a search results > -Fuad > > -----Original Message----- > From: [email protected] [mailto:[email protected]] > Sent: April-27-11 7:33 AM > To: [email protected] > Subject: About Link and POST requests > > Hello, > > using Droid library I came to the realization that the current API are no= t suitable for handling anything other than GET requests. > > This is due mainly to two choices made in the code: > - using the Link interface for collecting and processing pages to process= (all based on simple URI values, both for 'getURI' and 'getTo'); > - content being loaded by CrawlingWorker, passing just the URI to the Pro= tocol. > > Is there anyone interested in thinking how to change the API to support a= lso other request types? > > Regards, > > Giulio Cesare > > From [email protected] Wed Apr 27 21:12:55 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id DB22A20E3 for <[email protected]>; Wed, 27 Apr 2011 21:12:54 +0000 (UTC) Received: (qmail 91495 invoked by uid 500); 27 Apr 2011 21:12:54 -0000 Delivered-To: [email protected] Received: (qmail 91466 invoked by uid 500); 27 Apr 2011 21:12:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 91456 invoked by uid 99); 27 Apr 2011 21:12:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2011 21:12:54 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO serveur.maven-5.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2011 21:12:48 +0000 Received: from alf94-15-88-173-222-100.fbx.proxad.net ([161.129.204.104] helo=[161.129.204.104]) by serveur.maven-5.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <[email protected]>) id 1QFC25-0006CE-6l for [email protected]; Wed, 27 Apr 2011 23:12:27 +0200 Message-ID: <[email protected]> Date: Wed, 27 Apr 2011 23:12:17 +0200 From: =?ISO-8859-1?Q?florent_andr=E9?= <[email protected]> Reply-To: [email protected] User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:161.129.204.104) Gecko/20110223 Thunderbird/3.1.8 MIME-Version: 1.0 To: [email protected] Subject: Re: About Link and POST requests References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - serveur.maven-5.com X-AntiAbuse: Original Domain - incubator.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - 4sengines.com X-Source: X-Source-Args: X-Source-Dir: yep, Actually some tools help to fill common / well identify forms fields (like email, phone, etc...)... So it's totally reasonable to think about a robot with some "how to fill form" rules. And could be valuable in some cases. ++ On 04/27/2011 03:32 PM, [email protected] wrote: > Hello Fuad, > > I can agree that robots should not perform POST requests, but Droids > is a library for building robots, it is not a robot itself. > My suggestion to extends the request types was to widen the scope > where Droids could be useful. > > I would find that an unfortunate decision, but that's just my point of view. > > Thanks, > > Giulio Cesare > > > On Wed, Apr 27, 2011 at 1:55 PM, Fuad Efendi<[email protected]> wrote: >> Hi Giulio, "other request types" - HEAD only, and only if Internet Server supports that (I don't think more than 1% support, and I don't think it will be performance improvement in an era of sitemaps)... there is no "Link" request types, and "POST" shouldn't be done by robots - otherwise which URL will you show in a search results page? You can't show form submission via POST as a search results >> -Fuad >> >> -----Original Message----- >> From: [email protected] [mailto:[email protected]] >> Sent: April-27-11 7:33 AM >> To: [email protected] >> Subject: About Link and POST requests >> >> Hello, >> >> using Droid library I came to the realization that the current API are not suitable for handling anything other than GET requests. >> >> This is due mainly to two choices made in the code: >> - using the Link interface for collecting and processing pages to process (all based on simple URI values, both for 'getURI' and 'getTo'); >> - content being loaded by CrawlingWorker, passing just the URI to the Protocol. >> >> Is there anyone interested in thinking how to change the API to support also other request types? >> >> Regards, >> >> Giulio Cesare >> >> From [email protected] Thu Apr 28 04:02:41 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 1C9A1318B for <[email protected]>; Thu, 28 Apr 2011 04:02:41 +0000 (UTC) Received: (qmail 8825 invoked by uid 500); 28 Apr 2011 04:02:40 -0000 Delivered-To: [email protected] Received: (qmail 8752 invoked by uid 500); 28 Apr 2011 04:02:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 8740 invoked by uid 99); 28 Apr 2011 04:02:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Apr 2011 04:02:38 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp108.rog.mail.bf1.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 28 Apr 2011 04:02:32 +0000 Received: (qmail 14606 invoked from network); 28 Apr 2011 04:02:09 -0000 Received: from FuadPC ([email protected] with login) by smtp108.rog.mail.bf1.yahoo.com with SMTP; 27 Apr 2011 21:02:09 -0700 PDT X-Yahoo-SMTP: gZmgaNeswBBsQTtBq4da6l0u.vFfzVBST_YhMO5qoQUb7CY- X-YMail-OSG: dmxjPVkVM1mvqkxCEWgsssHPj8iy2PRG54a885eGYD467iH eAbLDL9cqF_y6hHieZ9StsYF3w6N.JwECS.nQn2rgx2azK52K7D8HK4sBDYc 5.DvUqLMSIHHEC8qXquIyxfhHpiJL6PjygloO0ajndXPjjSmaitVdCcN1o1v b3rQQM1VkVSrNPtgegp7pPpARg8bMH4rYZbSPudoGNmpAI91GaTxOTAMFsZ0 20GT8K_fh_SrsC80qmvfS82MdtXhJ8DiSF29uwX8eUE84hpWDbAC0WNBULlg 2oYfb2LIBoUdJA91r1l7oQY_F9qo5kmMFNzsMH8IzRtYvlgOd X-Yahoo-Newman-Property: ymail-3 From: "Fuad Efendi" <[email protected]> To: <[email protected]>, <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Subject: RE: About Link and POST requests Date: Thu, 28 Apr 2011 00:02:08 -0400 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQJfzj8s+KmLOtVmEiKBSbdiC5VK8gH70Kk1AcFBr/UCt7egGZMXbAEA Content-Language: en-ca X-Virus-Checked: Checked by ClamAV on apache.org And we also need support for ICMP in some cases... telnet, FTP... POST = some data (from a big database, from filesystem)... support for WebDAV... multithreaded load-stress stimulator (distributed "agents")...=20 What I wrote initially was related to classic "crawler". +++ -----Original Message----- From: florent andr=E9 [mailto:[email protected]]=20 Sent: April-27-11 5:12 PM To: [email protected] Subject: Re: About Link and POST requests yep, Actually some tools help to fill common / well identify forms fields = (like email, phone, etc...)... So it's totally reasonable to think about a robot with some "how to fill form" rules. And could be valuable in some cases. ++ On 04/27/2011 03:32 PM, [email protected] wrote: > Hello Fuad, > > I can agree that robots should not perform POST requests, but Droids=20 > is a library for building robots, it is not a robot itself. > My suggestion to extends the request types was to widen the scope=20 > where Droids could be useful. > > I would find that an unfortunate decision, but that's just my point of view. > > Thanks, > > Giulio Cesare > > > On Wed, Apr 27, 2011 at 1:55 PM, Fuad Efendi<[email protected]> wrote: >> Hi Giulio, "other request types" - HEAD only, and only if Internet=20 >> Server supports that (I don't think more than 1% support, and I don't = >> think it will be performance improvement in an era of sitemaps)...=20 >> there is no "Link" request types, and "POST" shouldn't be done by=20 >> robots - otherwise which URL will you show in a search results page?=20 >> You can't show form submission via POST as a search results -Fuad >> >> -----Original Message----- >> From: [email protected] [mailto:[email protected]] >> Sent: April-27-11 7:33 AM >> To: [email protected] >> Subject: About Link and POST requests >> >> Hello, >> >> using Droid library I came to the realization that the current API = are not suitable for handling anything other than GET requests. >> >> This is due mainly to two choices made in the code: >> - using the Link interface for collecting and processing pages to=20 >> process (all based on simple URI values, both for 'getURI' and=20 >> 'getTo'); >> - content being loaded by CrawlingWorker, passing just the URI to the Protocol. >> >> Is there anyone interested in thinking how to change the API to = support also other request types? >> >> Regards, >> >> Giulio Cesare >> >> From [email protected] Thu Apr 28 16:26:06 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id C53DF3E65 for <[email protected]>; Thu, 28 Apr 2011 16:26:06 +0000 (UTC) Received: (qmail 8147 invoked by uid 500); 28 Apr 2011 16:26:06 -0000 Delivered-To: [email protected] Received: (qmail 8109 invoked by uid 500); 28 Apr 2011 16:26:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <droids-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 8101 invoked by uid 99); 28 Apr 2011 16:26:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Apr 2011 16:26:05 +0000 X-ASF-Spam-Status: No, hits=-1.6 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp1.NoDak.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Apr 2011 16:25:58 +0000 Received: from [161.129.204.104] (wings.cc.ndsu.NoDak.edu [161.129.204.104]) (authenticated bits=0) by smtp1.NoDak.edu (8.13.8/8.13.8) with ESMTP id p3SGPaE9032413 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <[email protected]>; Thu, 28 Apr 2011 11:25:36 -0500 Message-ID: <[email protected]> Date: Thu, 28 Apr 2011 11:25:36 -0500 From: Richard Frovarp <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:161.129.204.104) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8 MIME-Version: 1.0 To: [email protected] Subject: Re: 0.0.1 release? References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: milter-spamc/1.15.388 (smtp.ndsu.NoDak.edu [161.129.204.104]); Thu, 28 Apr 2011 11:25:37 -0500 X-Old-Spam-Status: NO, hits=0.00 required=8.00 On 04/26/2011 04:15 PM, Jeremy Arnold wrote: > Hi Richard, > > I was just wondering if you made any progress on this over the past > couple weeks? > > I would love to see a stable release come together!! > > Thanks, > Jeremy > I am making progress. The details on how to begin seem to be quite scattered, but I think I've found enough to begin and give it a try. Richard
From [email protected] Fri Jun 12 07:56:41 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30667 invoked from network); 12 Jun 2009 07:56:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jun 2009 07:56:41 -0000 Received: (qmail 86198 invoked by uid 500); 12 Jun 2009 07:56:53 -0000 Delivered-To: [email protected] Received: (qmail 86167 invoked by uid 500); 12 Jun 2009 07:56:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <imperius-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 86157 invoked by uid 99); 12 Jun 2009 07:56:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2009 07:56:53 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp1.cict.fr) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2009 07:56:41 +0000 Received: from smtp1.cict.fr (localhost.localdomain [161.129.204.104]) by smtp1.cict.fr (8.14.2/8.14.2) with ESMTP id n5C7uL9W025779 for <[email protected]>; Fri, 12 Jun 2009 09:56:21 +0200 Received: from dell2.irit.fr (dell2.irit.fr [161.129.204.104]) by smtp1.cict.fr (8.14.2/8.14.2) with ESMTP id n5C7uKtP025776 for <[email protected]>; Fri, 12 Jun 2009 09:56:21 +0200 Received: from louxor.irit.fr (louxor [161.129.204.104]) by dell2.irit.fr (8.14.2/8.14.2) with ESMTP id n5C7uFXo005981 for <[email protected]>; Fri, 12 Jun 2009 09:56:20 +0200 Received: from louxor.irit.fr (localhost [161.129.204.104]) by louxor.irit.fr (8.14.2/8.12.8) with ESMTP id n5C7uFaR007700 for <[email protected]>; Fri, 12 Jun 2009 09:56:15 +0200 Received: (from web@localhost) by louxor.irit.fr (8.14.2/8.14.2/Submit) id n5C7uFY8007699; Fri, 12 Jun 2009 09:56:15 +0200 X-Authentication-Warning: louxor.irit.fr: web set sender to [email protected] using -f Received: from 161.129.204.104 (SquirrelMail authenticated user smaili) by websecu.irit.fr with HTTP; Fri, 12 Jun 2009 09:56:15 +0200 (CEST) Message-ID: <[email protected]> Date: Fri, 12 Jun 2009 09:56:15 +0200 (CEST) Subject: building apache imperius From: [email protected] To: [email protected] User-Agent: SquirrelMail/1.4.17-1.fc8 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org hi, I need some help, after installing (Apache Maven 2.0.4 , Apache Ant, Java 142 and Subversion client,)i cant build a file to directory My network is near a proxy, what procedure can i do ? best regards Smaili From [email protected] Fri Jun 12 11:48:24 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31071 invoked from network); 12 Jun 2009 11:48:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jun 2009 11:48:24 -0000 Received: (qmail 93023 invoked by uid 500); 12 Jun 2009 11:48:36 -0000 Delivered-To: [email protected] Received: (qmail 93005 invoked by uid 500); 12 Jun 2009 11:48:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <imperius-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 92995 invoked by uid 99); 12 Jun 2009 11:48:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2009 11:48:36 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e7.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2009 11:48:25 +0000 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [161.129.204.104]) by e7.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id n5CBZuJC020564 for <[email protected]>; Fri, 12 Jun 2009 07:35:56 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [161.129.204.104]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n5CBm4bj253630 for <[email protected]>; Fri, 12 Jun 2009 07:48:04 -0400 Received: from d01av03.pok.ibm.com (loopback [161.129.204.104]) by d01av03.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id n5CBm4O0018254 for <[email protected]>; Fri, 12 Jun 2009 07:48:04 -0400 Received: from d01ml605.pok.ibm.com (d01ml605.pok.ibm.com [161.129.204.104]) by d01av03.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id n5CBm4t8018248 for <[email protected]>; Fri, 12 Jun 2009 07:48:04 -0400 In-Reply-To: <[email protected]> References: <[email protected]> To: [email protected] Cc: [email protected] MIME-Version: 1.0 Subject: Re: building apache imperius X-KeepSent: 0A413572:3D7FBEEB-852575D3:003F20DD; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.0.1 HF105 April 10, 2008 From: David Wood <[email protected]> Message-ID: <[email protected]> Date: Fri, 12 Jun 2009 07:48:00 -0400 X-MIMETrack: Serialize by Router on D01ML605/01/M/IBM(Release 8.5|December 05, 2008) at 06/12/2009 07:48:03, Serialize complete at 06/12/2009 07:48:03 Content-Type: multipart/alternative; boundary="=_alternative 0040A803852575D3_=" X-Virus-Checked: Checked by ClamAV on apache.org --=_alternative 0040A803852575D3_= Content-Type: text/plain; charset="US-ASCII" Smaili, Can you 'ping svn.apache.org' from the machine on which you are doing the build. If not, you need to fix that problem locally (i.e. it's not something this mailing list is likely to be able to help you with). David Wood Policy Technologies Group IBM TJ Watson Research Center [email protected] 5144564815 (office), 5144564815 (mobile) From: [email protected] To: [email protected] Date: 06/12/2009 03:56 AM Subject: building apache imperius hi, I need some help, after installing (Apache Maven 2.0.4 , Apache Ant, Java 142 and Subversion client,)i cant build a file to directory My network is near a proxy, what procedure can i do ? best regards Smaili --=_alternative 0040A803852575D3_=-- From [email protected] Fri Jun 12 15:33:42 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70231 invoked from network); 12 Jun 2009 15:33:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jun 2009 15:33:38 -0000 Received: (qmail 88233 invoked by uid 500); 12 Jun 2009 15:33:49 -0000 Delivered-To: [email protected] Received: (qmail 88205 invoked by uid 500); 12 Jun 2009 15:33:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <imperius-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 88195 invoked by uid 99); 12 Jun 2009 15:33:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2009 15:33:49 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp2.cict.fr) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2009 15:33:37 +0000 Received: from smtp2.cict.fr (localhost.localdomain [161.129.204.104]) by smtp2.cict.fr (8.14.2/8.14.2) with ESMTP id n5CFXGft017271 for <[email protected]>; Fri, 12 Jun 2009 17:33:16 +0200 Received: from dell2.irit.fr (dell2.irit.fr [161.129.204.104]) by smtp2.cict.fr (8.14.2/8.14.2) with ESMTP id n5CFXGTP017268 for <[email protected]>; Fri, 12 Jun 2009 17:33:16 +0200 Received: from louxor.irit.fr (louxor [161.129.204.104]) by dell2.irit.fr (8.14.2/8.14.2) with ESMTP id n5CFXAjV021413 for <[email protected]>; Fri, 12 Jun 2009 17:33:15 +0200 Received: from louxor.irit.fr (localhost [161.129.204.104]) by louxor.irit.fr (8.14.2/8.12.8) with ESMTP id n5CFXAJu012365 for <[email protected]>; Fri, 12 Jun 2009 17:33:10 +0200 Received: (from web@localhost) by louxor.irit.fr (8.14.2/8.14.2/Submit) id n5CFXAMM012364; Fri, 12 Jun 2009 17:33:10 +0200 X-Authentication-Warning: louxor.irit.fr: web set sender to [email protected] using -f Received: from 161.129.204.104 (SquirrelMail authenticated user smaili) by websecu.irit.fr with HTTP; Fri, 12 Jun 2009 17:33:10 +0200 (CEST) Message-ID: <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Fri, 12 Jun 2009 17:33:10 +0200 (CEST) Subject: Re: building apache imperius From: [email protected] To: [email protected] User-Agent: SquirrelMail/1.4.17-1.fc8 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org Thank you the problem was in the file settings.xml , i have change the proxy paramters, the build is runing Smaili, > > Can you 'ping svn.apache.org' from the machine on which you are doing the > build. If not, you need to fix that problem locally (i.e. it's not > something this mailing list is likely to be able to help you with). > > David Wood > Policy Technologies Group > IBM TJ Watson Research Center > [email protected] > 5144564815 (office), 5144564815 (mobile) > > > > > From: > [email protected] > To: > [email protected] > Date: > 06/12/2009 03:56 AM > Subject: > building apache imperius > > > > hi, > > I need some help, after installing (Apache Maven 2.0.4 , Apache Ant, > Java 142 and Subversion client,)i cant build a file to directory > > My network is near a proxy, what procedure can i do ? > > best regards > > Smaili > > > > From [email protected] Sun Jun 14 11:56:53 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47507 invoked from network); 14 Jun 2009 11:56:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2009 11:56:53 -0000 Received: (qmail 53783 invoked by uid 500); 14 Jun 2009 11:57:04 -0000 Delivered-To: [email protected] Received: (qmail 53752 invoked by uid 500); 14 Jun 2009 11:57:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <imperius-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 53742 invoked by uid 99); 14 Jun 2009 11:57:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Jun 2009 11:57:04 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO m13-105.163.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Jun 2009 11:56:54 +0000 Received: from brightysky ( [161.129.204.104] ) by ajax-webmail-wmsvr105 (Coremail) ; Sun, 14 Jun 2009 19:56:26 +0800 (CST) Date: Sun, 14 Jun 2009 19:56:26 +0800 (CST) From: =?gbk?B?stzR3sP3?= <[email protected]> To: "[email protected]" <[email protected]> Message-ID: <[email protected]> Subject: about CIM-SPL Provider MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_136352_25540811.1244980586058" X-Originating-IP: [161.129.204.104] X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT2_snapshot build 090513(7592.2351.2332) Copyright (c) 2002-2009 www.mailtech.cn 163com X-CM-TRANSID: acGowLArDgxq5TRKaigGAA--.28909W X-CM-SenderInfo: peulwx5w1vy5i6rwjhhfrp/xtbBjgd-BUoaQUYaOgACsG X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJTRUUUjBAYjxAI6xAIw2 8IcVW8ZrWlb7IF0VCF04k20xvEw2I207IF0wAYjxAI6xCIbckI1I0E57IF64kEYxAxMc80 4VCqF7xvr2I5M4IE14AKx2xKxVCSqT9Sa-4lFVAaXTZC67ZELSn0mTvEwaV2v3VFvVW8MI AIbVAYjsxI4VWUJwCS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI 4VCIwcAKzIAtMIAIbVAqx4xG62kEwI0EbcxfMIAIbVAqx4xG6c804VAFz4xC04v7MIAIbV Aqx4xG64xvF2IEw4CE5I8CrVC2j2WlV2xY6cIj6x8ErcxFaVAv8VWUMIAIbVAv7VC0I7IY x2IY67AKxVWUJVWUGwCS07vEYx0Ex4A2jsIE14v26r1j6r4UMIAIbVCjr7xvwVCIw2I0I7 xG6c02F41lV2xY6x02cVAKzwCS07vEc2xSY4AK67AK6r4kMIAIbVCY0x0Ix7I2Y4AK64vI r41lV2xY6xCjnVCjjxCrMIAIbVC2zVAF1VAY17CE14v26r1j6r15YxBIdaVFxhVjvjDU= X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_136352_25540811.1244980586058 Content-Type: text/plain; charset=gbk Content-Transfer-Encoding: 7bit hi I need some help,after building the CIMSPL editor.I refered to the README located under the /imperius-cimsplextension folder for further details. Bdfore using CIM-SPL Provider,the CIM-SPL Provider needs to be deployed into OpenPegasus.I can't understand one of steps.That is 'Build OpenPegasus with JMPI enabled'.What does it mean? And what should I do to enable JMPI? Can you tell me the details? Thank you very much! ------=_Part_136352_25540811.1244980586058-- From [email protected] Mon Jun 15 12:43:34 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88036 invoked from network); 15 Jun 2009 12:43:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Jun 2009 12:43:34 -0000 Received: (qmail 99288 invoked by uid 500); 15 Jun 2009 12:43:45 -0000 Delivered-To: [email protected] Received: (qmail 99255 invoked by uid 500); 15 Jun 2009 12:43:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <imperius-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99245 invoked by uid 99); 15 Jun 2009 12:43:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 12:43:45 +0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=HTML_MESSAGE,MIME_BASE64_TEXT,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e31.co.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 12:43:33 +0000 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [161.129.204.104]) by e31.co.us.ibm.com (8.13.1/8.13.1) with ESMTP id n5FCcnEE025906 for <[email protected]>; Mon, 15 Jun 2009 06:38:49 -0600 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [161.129.204.104]) by d03relay04.boulder.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n5FChB02221626 for <[email protected]>; Mon, 15 Jun 2009 06:43:11 -0600 Received: from d03av02.boulder.ibm.com (loopback [161.129.204.104]) by d03av02.boulder.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id n5FChBTU007289 for <[email protected]>; Mon, 15 Jun 2009 06:43:11 -0600 Received: from d03nm118.boulder.ibm.com (d03nm118.boulder.ibm.com [161.129.204.104]) by d03av02.boulder.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id n5FChB0E007283 for <[email protected]>; Mon, 15 Jun 2009 06:43:11 -0600 In-Reply-To: <[email protected]> References: <[email protected]> To: [email protected] MIME-Version: 1.0 Subject: Re: about CIM-SPL Provider X-KeepSent: 939B192D:499F0B82-872575D6:00452D5C; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.0.2 HF623 January 16, 2009 Message-ID: <[email protected]> From: Neeraj Joshi <[email protected]> Date: Mon, 15 Jun 2009 08:43:10 -0400 X-MIMETrack: Serialize by Router on D03NM118/03/M/IBM(Release 8.5|December 05, 2008) at 06/15/2009 06:43:11, Serialize complete at 06/15/2009 06:43:11 Content-Type: multipart/alternative; boundary="=_alternative 00460CAA852575D6_=" X-Virus-Checked: Checked by ClamAV on apache.org --=_alternative 00460CAA852575D6_= Content-Type: text/plain; charset="GB2312" Content-Transfer-Encoding: base64 SGksDQpJZiB5b3UgaGF2ZSBkb3dubG9hZGVkIHRoZSBwZWdhc3VzIHNvdXJjZSB5b3Ugd2lsbCBm aW5kIGEgcmVhZG1lLmptcGkgZmlsZSANCnRoYXQgZGVzY3JpYmVzIHdoYXQgbmVlZHMgdG8gYmUg ZG9uZSB0byBidWlsZCBPcGVuUGVnYXN1cyB3aXRoIEpNUEkgDQplbmFibGVkLiBKTVBJIGlzIHRo ZSBqYXZhIHByb3ZpZGVyIHN1cHBvcnQNClRoZSBDSU0tU1BMIHByb3ZpZGVycyBzaGlwcGVkIGFz IHBhcnQgb2YgSW1wZXJpdXMgYXJlIGphdmEgcHJvdmlkZXJzIGhlbmNlIA0KdGhleSBuZWVkIHRo ZSBKTVBJIHN1cHBvcnQgdG8gYmUgZW5hYmxlZC4NClRoYW5rcw0KTmVlcmFqDQp+fn5+fn5+fn5+ fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fg0KIlRoZSBsaWdodCBhdCB0aGUg ZW5kIG9mIHRoZSB0dW5uZWwuLi5tYXkgYmUgeW91Ig0KDQogDQpOZWVyYWogSm9zaGkNCldlYlNw aGVyZSBYRCAtIENvbXB1dGUgR3JpZA0KQUlNLCBJQk0NCkFwYWNoZSBJbXBlcml1cyAtIGh0dHA6 Ly9pbmN1YmF0b3IuYXBhY2hlLm9yZy9pbXBlcml1cw0Kfn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+ fn5+fn5+fn5+fn5+fn5+fn5+fn5+DQoNCg0KDQpGcm9tOg0KstzR3sP3IDxicmlnaHR5c2t5QDE2 My5jb20+DQpUbzoNCiJpbXBlcml1cy11c2VyQGluY3ViYXRvci5hcGFjaGUub3JnIiA8aW1wZXJp dXMtdXNlckBpbmN1YmF0b3IuYXBhY2hlLm9yZz4NCkRhdGU6DQowNi8xNC8yMDA5IDA4OjAzIEFN DQpTdWJqZWN0Og0KYWJvdXQgQ0lNLVNQTCBQcm92aWRlcg0KDQoNCg0KDQoNCg0KaGkgDQogIEkg bmVlZCBzb21lIGhlbHAsYWZ0ZXIgYnVpbGRpbmcgdGhlIENJTVNQTCBlZGl0b3IuSSByZWZlcmVk IHRvIHRoZSANClJFQURNRSBsb2NhdGVkIHVuZGVyIHRoZSAvaW1wZXJpdXMtY2ltc3BsZXh0ZW5z aW9uIGZvbGRlciBmb3IgZnVydGhlciANCmRldGFpbHMuIEJkZm9yZSB1c2luZyBDSU0tU1BMIFBy b3ZpZGVyLHRoZSBDSU0tU1BMIFByb3ZpZGVyIG5lZWRzIHRvIGJlIA0KZGVwbG95ZWQgaW50byBP cGVuUGVnYXN1cy5JIGNhbid0IHVuZGVyc3RhbmQgb25lIG9mIHN0ZXBzLlRoYXQgaXMgJ0J1aWxk IA0KT3BlblBlZ2FzdXMgd2l0aCBKTVBJIGVuYWJsZWQnLldoYXQgZG9lcyBpdCBtZWFuPyBBbmQg d2hhdCBzaG91bGQgSSBkbyB0byANCmVuYWJsZSBKTVBJPyBDYW4geW91IHRlbGwgbWUgdGhlIGRl dGFpbHM/DQpUaGFuayB5b3UgIHZlcnkgbXVjaCENCg0KDQo= --=_alternative 00460CAA852575D6_=-- From [email protected] Tue Jun 16 02:23:52 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35942 invoked from network); 16 Jun 2009 02:23:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Jun 2009 02:23:52 -0000 Received: (qmail 73913 invoked by uid 500); 16 Jun 2009 02:24:04 -0000 Delivered-To: [email protected] Received: (qmail 73875 invoked by uid 500); 16 Jun 2009 02:24:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <imperius-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 73831 invoked by uid 99); 16 Jun 2009 02:24:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2009 02:24:02 +0000 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=MIME_BASE64_BLANKS,MIME_BASE64_TEXT,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO m50-132.163.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2009 02:23:51 +0000 Received: from lenovo3ae46404 (unknown [161.129.204.104]) by smtp2 (Coremail) with SMTP id DNGowLDL5yYbAjdKxh9HCg--.61993S2; Tue, 16 Jun 2009 10:23:23 +0800 (CST) Message-ID: <1632BCBECC824C1C897022E9DD5D2C1B@lenovo3ae46404> From: =?gb2312?B?stzR3sP3?= <[email protected]> To: <[email protected]> References: <[email protected]> <[email protected]> Subject: about registering CIM-SPL Provider Date: Tue, 16 Jun 2009 10:23:26 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-CM-TRANSID: DNGowLDL5yYbAjdKxh9HCg--.61993S2 X-Coremail-Antispam: 1Uf129KBjvJXoW7KrWUJryrJr4DWF47GF1UGFg_yoW8Zr17pr sxK3ZrK34kJw1xJ39xtw1kXrykJr4rta42va4DWryUZrs8uryxCr1Utr15KryDu348Kr1U tryjy3WfJFy5CrJanT9S1TB71UUUUUUv73VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UU U5q7k042IEc7kJM7k042IE42xK82IY6r43WwAYjxAI6xAIw28IcVAK0I8IjxAxM7k042IE 4IxYO2xFxVAqjxCEw4Av424lb7Iv0xC_Jr1lb4IE77IF4wAFF20E14v26r1j6r4UM7C26x Cjj4IEI4klw4CSwwAFxVCaYxvI4VCIwcAKzIAtM7CIcVAFz4kK6r1j6r18M28EF7xvwVC0 I7IYx2IY67AKxVWDJVCq3wA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxVW0oVCq3wA2z4x0Y4 vEx4A2jsIE14v26rxl6s0DM28EF7xvwVC2z280aVCY1x0267AKxVW0oVCq3wAa7VCm5IxF 0VAa6c8GOVWUur45GF4l57IF6s8CjcxG0xyl5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6x IIjxv20xvE14v26r1Y6r17McIj6I8E87Iv67AKxVW8JVWxJwACjcxG0xvY0x0EwIxGrwAC Y4xI67k04243AVAKzVAKj4xxM4xvF2IEb7IF0Fy26I8I3I1lFVAaXTZC67ZELSn0mTvEwa V2v3VFvVW8Mx02cVAKzwCY1Ik26cxK6x8YrwCY02Avz4vE14v_Gr1lc2IjII80xcxEwVWx JVW3JwCF04k20xvY0x0EwIxGrwCF72vE52k0Y41lx4CE17CEb7AF67AKxVWUJVWUXwCIc4 0Y0x0EwIxGrwCE64xvF2IEb7IF0Fy7YxBIdaVFxhVjvjDU0xZFpf9x0pR7rc3UUUUU= X-CM-SenderInfo: peulwx5w1vy5i6rwjhhfrp/ X-Virus-Checked: Checked by ClamAV on apache.org dGhhbmtzo6ENCmhpLA0KSSBoYXZlIHJlYWQgdGhlIHJlYWRtZS5qbXBpIGZpbGUuIEFuZCBJIGZv bGxvd2VkIGV2ZXJ5IHN0ZXAuIFRoZW4gSSB3YW50IHRvIHJlZ2lzdGVyIHRoZSBDSU1fU1BMIFBy b3ZpZGVyLkFmdGVyIHJ1biBjaW1tb2YgLW4gcm9vdC9QR19JbnRlck9wIGQ6L1RFTVAvaW1wZXJp dXMtY2ltc3BscHJvdmlkZXItMS4wLjAvQ0lNX1NQTFBvbGljeVJ1bGVQcm92aWRlclIubW9mLHRo ZXJlIGlzIGFuIGVycm9yIHRoYXQgaXMgUGFyc2luZyBlcnJvcjpwYXJzZSBlcnJvcjpFcnJvciBh ZGRpbmcgYW4gaW5zdGFuY2U6IENJTV9FUlJfTk9UX1NVUFBPUlRFRDpVbnN1cHBvcnRlZCBJbnRl cmZhY2VUeXBlIHZhbHVlOiAiSk1QSUV4cGVyaW1lbnRhbCIuV2hhdCBzaG91bGQgSSBkbyB0byBz b2x2ZSB0aGlzIHByb2JsZW0/IFRoYW5rIHlvdSB2ZXJ5IG11Y2ghDQoNCg0KDQoNCg0KLS0tLS0g T3JpZ2luYWwgTWVzc2FnZSAtLS0tLSANCkZyb206ICJOZWVyYWogSm9zaGkiIDxqbmVlcmFqQHVz LmlibS5jb20+DQpUbzogPGltcGVyaXVzLXVzZXJAaW5jdWJhdG9yLmFwYWNoZS5vcmc+DQpTZW50 OiBNb25kYXksIEp1bmUgMTUsIDIwMDkgODo0MyBQTQ0KU3ViamVjdDogUmU6IGFib3V0IENJTS1T UEwgUHJvdmlkZXINCg0KDQo+IEhpLA0KPiBJZiB5b3UgaGF2ZSBkb3dubG9hZGVkIHRoZSBwZWdh c3VzIHNvdXJjZSB5b3Ugd2lsbCBmaW5kIGEgcmVhZG1lLmptcGkgZmlsZSANCj4gdGhhdCBkZXNj cmliZXMgd2hhdCBuZWVkcyB0byBiZSBkb25lIHRvIGJ1aWxkIE9wZW5QZWdhc3VzIHdpdGggSk1Q SSANCj4gZW5hYmxlZC4gSk1QSSBpcyB0aGUgamF2YSBwcm92aWRlciBzdXBwb3J0DQo+IFRoZSBD SU0tU1BMIHByb3ZpZGVycyBzaGlwcGVkIGFzIHBhcnQgb2YgSW1wZXJpdXMgYXJlIGphdmEgcHJv dmlkZXJzIGhlbmNlIA0KPiB0aGV5IG5lZWQgdGhlIEpNUEkgc3VwcG9ydCB0byBiZSBlbmFibGVk Lg0KPiBUaGFua3MNCj4gTmVlcmFqDQo+IH5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+ fn5+fn5+fn5+fn5+fn5+DQo+ICJUaGUgbGlnaHQgYXQgdGhlIGVuZCBvZiB0aGUgdHVubmVsLi4u bWF5IGJlIHlvdSINCj4gDQo+IA0KPiBOZWVyYWogSm9zaGkNCj4gV2ViU3BoZXJlIFhEIC0gQ29t cHV0ZSBHcmlkDQo+IEFJTSwgSUJNDQo+IEFwYWNoZSBJbXBlcml1cyAtIGh0dHA6Ly9pbmN1YmF0 b3IuYXBhY2hlLm9yZy9pbXBlcml1cw0KPiB+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+ fn5+fn5+fn5+fn5+fn4NCj4gDQo+IA0KPiANCj4gRnJvbToNCj4gstzR3sP3IDxicmlnaHR5c2t5 QDE2My5jb20+DQo+IFRvOg0KPiAiaW1wZXJpdXMtdXNlckBpbmN1YmF0b3IuYXBhY2hlLm9yZyIg PGltcGVyaXVzLXVzZXJAaW5jdWJhdG9yLmFwYWNoZS5vcmc+DQo+IERhdGU6DQo+IDA2LzE0LzIw MDkgMDg6MDMgQU0NCj4gU3ViamVjdDoNCj4gYWJvdXQgQ0lNLVNQTCBQcm92aWRlcg0KPiANCj4g DQo+IA0KPiANCj4gDQo+IA0KPiBoaSANCj4gIEkgbmVlZCBzb21lIGhlbHAsYWZ0ZXIgYnVpbGRp bmcgdGhlIENJTVNQTCBlZGl0b3IuSSByZWZlcmVkIHRvIHRoZSANCj4gUkVBRE1FIGxvY2F0ZWQg dW5kZXIgdGhlIC9pbXBlcml1cy1jaW1zcGxleHRlbnNpb24gZm9sZGVyIGZvciBmdXJ0aGVyIA0K PiBkZXRhaWxzLiBCZGZvcmUgdXNpbmcgQ0lNLVNQTCBQcm92aWRlcix0aGUgQ0lNLVNQTCBQcm92 aWRlciBuZWVkcyB0byBiZSANCj4gZGVwbG95ZWQgaW50byBPcGVuUGVnYXN1cy5JIGNhbid0IHVu ZGVyc3RhbmQgb25lIG9mIHN0ZXBzLlRoYXQgaXMgJ0J1aWxkIA0KPiBPcGVuUGVnYXN1cyB3aXRo IEpNUEkgZW5hYmxlZCcuV2hhdCBkb2VzIGl0IG1lYW4/IEFuZCB3aGF0IHNob3VsZCBJIGRvIHRv IA0KPiBlbmFibGUgSk1QST8gQ2FuIHlvdSB0ZWxsIG1lIHRoZSBkZXRhaWxzPw0KPiBUaGFuayB5 b3UgIHZlcnkgbXVjaCENCj4gDQo+IA0KPg==
From [email protected] Wed Dec 13 09:35:45 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51881 invoked from network); 13 Dec 2006 09:35:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Dec 2006 09:35:44 -0000 Received: (qmail 75045 invoked by uid 500); 13 Dec 2006 09:35:52 -0000 Delivered-To: [email protected] Received: (qmail 75028 invoked by uid 500); 13 Dec 2006 09:35:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xbean-dev.geronimo.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74991 invoked by uid 99); 13 Dec 2006 09:35:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Dec 2006 01:35:51 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Dec 2006 01:35:43 -0800 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 3BB3371413F for <[email protected]>; Wed, 13 Dec 2006 01:35:23 -0800 (PST) Message-ID: <29256558.1166002523240.JavaMail.jira@brutus> Date: Wed, 13 Dec 2006 01:35:23 -0800 (PST) From: "Guillaume Nodet (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XBEAN-65) The maven plugin does not use the classpath, so that properties from parent classes are ignored MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org The maven plugin does not use the classpath, so that properties from parent classes are ignored ----------------------------------------------------------------------------------------------- Key: XBEAN-65 URL: http://issues.apache.org/jira/browse/XBEAN-65 Project: XBean Issue Type: Bug Components: maven-plugin Reporter: Guillaume Nodet Fix For: 2.7 As a side effect, lots of warnings are printed while building -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Dec 13 09:41:43 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54810 invoked from network); 13 Dec 2006 09:41:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Dec 2006 09:41:43 -0000 Received: (qmail 84843 invoked by uid 500); 13 Dec 2006 09:41:50 -0000 Delivered-To: [email protected] Received: (qmail 84817 invoked by uid 500); 13 Dec 2006 09:41:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xbean-dev.geronimo.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84808 invoked by uid 99); 13 Dec 2006 09:41:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Dec 2006 01:41:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Dec 2006 01:41:42 -0800 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 5157E7140F6 for <[email protected]>; Wed, 13 Dec 2006 01:41:22 -0800 (PST) Message-ID: <12783814.1166002882330.JavaMail.jira@brutus> Date: Wed, 13 Dec 2006 01:41:22 -0800 (PST) From: "Guillaume Nodet (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (XBEAN-65) The maven plugin does not use the classpath, so that properties from parent classes are ignored In-Reply-To: <29256558.1166002523240.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/XBEAN-65?page=all ] Guillaume Nodet closed XBEAN-65. -------------------------------- Fix Version/s: 2.8 (was: 2.7) Resolution: Fixed Assignee: Guillaume Nodet Author: gnodet Date: Wed Dec 13 01:38:36 2006 New Revision: 486564 URL: http://svn.apache.org/viewvc?view=rev&rev=486564 Log: XBEAN-65: The maven plugin does not use the classpath, so that properties from parent classes are ignored if they are not in this module Modified: geronimo/xbean/trunk/maven-xbean-plugin/src/main/java/org/apache/xbean/maven/XBeanMojo.java geronimo/xbean/trunk/xbean-spring-common/src/main/java/org/apache/xbean/spring/generator/QdoxMappingLoader.java geronimo/xbean/trunk/xbean-spring-common/src/main/java/org/apache/xbean/spring/generator/Utils.java geronimo/xbean/trunk/xbean-spring-common/src/main/java/org/apache/xbean/spring/generator/XsdGenerator.java geronimo/xbean/trunk/xbean-spring-itests/2.0/ (props changed) > The maven plugin does not use the classpath, so that properties from parent classes are ignored > ----------------------------------------------------------------------------------------------- > > Key: XBEAN-65 > URL: http://issues.apache.org/jira/browse/XBEAN-65 > Project: XBean > Issue Type: Bug > Components: maven-plugin > Reporter: Guillaume Nodet > Assigned To: Guillaume Nodet > Fix For: 2.8 > > > As a side effect, lots of warnings are printed while building -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon Dec 18 15:54:46 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8570 invoked from network); 18 Dec 2006 15:54:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Dec 2006 15:54:45 -0000 Received: (qmail 98405 invoked by uid 500); 18 Dec 2006 15:54:50 -0000 Delivered-To: [email protected] Received: (qmail 98366 invoked by uid 500); 18 Dec 2006 15:54:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xbean-dev.geronimo.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 98313 invoked by uid 99); 18 Dec 2006 15:54:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 07:54:49 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 07:54:41 -0800 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 3B80871428E for <[email protected]>; Mon, 18 Dec 2006 07:54:21 -0800 (PST) Message-ID: <10061787.1166457261240.JavaMail.jira@brutus> Date: Mon, 18 Dec 2006 07:54:21 -0800 (PST) From: "Guillaume Nodet (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XBEAN-66) Schemas generated by xbean are sometimes invalid (xs:any conflict) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Schemas generated by xbean are sometimes invalid (xs:any conflict) ------------------------------------------------------------------ Key: XBEAN-66 URL: http://issues.apache.org/jira/browse/XBEAN-66 Project: XBean Issue Type: Bug Components: maven-plugin, spring Affects Versions: 2.7 Reporter: Guillaume Nodet Assigned To: Guillaume Nodet Fix For: 2.8 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon Dec 18 15:55:00 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8647 invoked from network); 18 Dec 2006 15:54:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Dec 2006 15:54:59 -0000 Received: (qmail 98933 invoked by uid 500); 18 Dec 2006 15:54:53 -0000 Delivered-To: [email protected] Received: (qmail 98908 invoked by uid 500); 18 Dec 2006 15:54:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xbean-dev.geronimo.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 98852 invoked by uid 99); 18 Dec 2006 15:54:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 07:54:53 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 07:54:44 -0800 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 62F7271429F for <[email protected]>; Mon, 18 Dec 2006 07:54:24 -0800 (PST) Message-ID: <9530761.1166457264402.JavaMail.jira@brutus> Date: Mon, 18 Dec 2006 07:54:24 -0800 (PST) From: "Guillaume Nodet (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (XBEAN-66) Schemas generated by xbean are sometimes invalid (xs:any conflict) In-Reply-To: <10061787.1166457261240.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/XBEAN-66?page=all ] Guillaume Nodet closed XBEAN-66. -------------------------------- Resolution: Fixed Fixed as part of XBEAN-65 > Schemas generated by xbean are sometimes invalid (xs:any conflict) > ------------------------------------------------------------------ > > Key: XBEAN-66 > URL: http://issues.apache.org/jira/browse/XBEAN-66 > Project: XBean > Issue Type: Bug > Components: maven-plugin, spring > Affects Versions: 2.7 > Reporter: Guillaume Nodet > Assigned To: Guillaume Nodet > Fix For: 2.8 > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon Dec 18 15:56:42 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9730 invoked from network); 18 Dec 2006 15:56:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Dec 2006 15:56:41 -0000 Received: (qmail 4458 invoked by uid 500); 18 Dec 2006 15:56:49 -0000 Delivered-To: [email protected] Received: (qmail 4440 invoked by uid 500); 18 Dec 2006 15:56:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xbean-dev.geronimo.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4429 invoked by uid 99); 18 Dec 2006 15:56:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 07:56:49 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 07:56:41 -0800 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 0C40C71428E for <[email protected]>; Mon, 18 Dec 2006 07:56:21 -0800 (PST) Message-ID: <17303550.1166457381047.JavaMail.jira@brutus> Date: Mon, 18 Dec 2006 07:56:21 -0800 (PST) From: "Guillaume Nodet (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XBEAN-67) When an xbean tag is mispelled, a CNFE is thrown instead of a more explicit exception MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org When an xbean tag is mispelled, a CNFE is thrown instead of a more explicit exception ------------------------------------------------------------------------------------- Key: XBEAN-67 URL: http://issues.apache.org/jira/browse/XBEAN-67 Project: XBean Issue Type: Bug Components: spring Affects Versions: 2.7 Reporter: Guillaume Nodet Assigned To: Guillaume Nodet Fix For: 2.8 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon Dec 18 16:00:44 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11290 invoked from network); 18 Dec 2006 16:00:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Dec 2006 16:00:43 -0000 Received: (qmail 15521 invoked by uid 500); 18 Dec 2006 16:00:51 -0000 Delivered-To: [email protected] Received: (qmail 15487 invoked by uid 500); 18 Dec 2006 16:00:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xbean-dev.geronimo.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 15478 invoked by uid 99); 18 Dec 2006 16:00:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 08:00:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 08:00:42 -0800 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A10AE71428E for <[email protected]>; Mon, 18 Dec 2006 08:00:22 -0800 (PST) Message-ID: <6867689.1166457622656.JavaMail.jira@brutus> Date: Mon, 18 Dec 2006 08:00:22 -0800 (PST) From: "Guillaume Nodet (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (XBEAN-67) When an xbean tag is mispelled, a CNFE is thrown instead of a more explicit exception In-Reply-To: <17303550.1166457381047.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/XBEAN-67?page=all ] Guillaume Nodet closed XBEAN-67. -------------------------------- Resolution: Fixed Author: gnodet Date: Mon Dec 18 07:57:04 2006 New Revision: 488309 URL: http://svn.apache.org/viewvc?view=rev&rev=488309 Log: XBEAN-67: When an xbean tag is mispelled, a CNFE is thrown instead of a more explicit exception Modified: geronimo/xbean/trunk/xbean-spring-common/src/main/java/org/apache/xbean/spring/context/impl/MappingMetaData.java > When an xbean tag is mispelled, a CNFE is thrown instead of a more explicit exception > ------------------------------------------------------------------------------------- > > Key: XBEAN-67 > URL: http://issues.apache.org/jira/browse/XBEAN-67 > Project: XBean > Issue Type: Bug > Components: spring > Affects Versions: 2.7 > Reporter: Guillaume Nodet > Assigned To: Guillaume Nodet > Fix For: 2.8 > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon Dec 18 16:14:42 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17642 invoked from network); 18 Dec 2006 16:14:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Dec 2006 16:14:41 -0000 Received: (qmail 61572 invoked by uid 500); 18 Dec 2006 16:14:49 -0000 Delivered-To: [email protected] Received: (qmail 61553 invoked by uid 500); 18 Dec 2006 16:14:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xbean-dev.geronimo.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 61540 invoked by uid 99); 18 Dec 2006 16:14:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 08:14:49 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 08:14:41 -0800 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 0836471428E for <[email protected]>; Mon, 18 Dec 2006 08:14:21 -0800 (PST) Message-ID: <6307019.1166458461031.JavaMail.jira@brutus> Date: Mon, 18 Dec 2006 08:14:21 -0800 (PST) From: "Guillaume Nodet (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XBEAN-68) Upgrade to QDox 1.6.1 for better java 5 support MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Upgrade to QDox 1.6.1 for better java 5 support ------------------------------------------------ Key: XBEAN-68 URL: http://issues.apache.org/jira/browse/XBEAN-68 Project: XBean Issue Type: Improvement Components: maven-plugin, spring Affects Versions: 2.7 Reporter: Guillaume Nodet Assigned To: Guillaume Nodet Fix For: 2.8 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon Dec 18 16:16:43 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18310 invoked from network); 18 Dec 2006 16:16:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Dec 2006 16:16:43 -0000 Received: (qmail 64712 invoked by uid 500); 18 Dec 2006 16:16:50 -0000 Delivered-To: [email protected] Received: (qmail 64693 invoked by uid 500); 18 Dec 2006 16:16:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xbean-dev.geronimo.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 64684 invoked by uid 99); 18 Dec 2006 16:16:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 08:16:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 08:16:42 -0800 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 55F1B714293 for <[email protected]>; Mon, 18 Dec 2006 08:16:22 -0800 (PST) Message-ID: <18788861.1166458582349.JavaMail.jira@brutus> Date: Mon, 18 Dec 2006 08:16:22 -0800 (PST) From: "Guillaume Nodet (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (XBEAN-68) Upgrade to QDox 1.6.1 for better java 5 support In-Reply-To: <6307019.1166458461031.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/XBEAN-68?page=all ] Guillaume Nodet closed XBEAN-68. -------------------------------- Resolution: Fixed Author: gnodet Date: Mon Dec 18 08:01:55 2006 New Revision: 488310 URL: http://svn.apache.org/viewvc?view=rev&rev=488310 Log: Remove exclusions which cause spring to not be included in the build :( Modified: geronimo/xbean/trunk/xbean-spring-v2/pom.xml > Upgrade to QDox 1.6.1 for better java 5 support > ----------------------------------------------- > > Key: XBEAN-68 > URL: http://issues.apache.org/jira/browse/XBEAN-68 > Project: XBean > Issue Type: Improvement > Components: maven-plugin, spring > Affects Versions: 2.7 > Reporter: Guillaume Nodet > Assigned To: Guillaume Nodet > Fix For: 2.8 > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon Dec 18 16:16:47 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18371 invoked from network); 18 Dec 2006 16:16:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Dec 2006 16:16:46 -0000 Received: (qmail 65032 invoked by uid 500); 18 Dec 2006 16:16:54 -0000 Delivered-To: [email protected] Received: (qmail 65010 invoked by uid 500); 18 Dec 2006 16:16:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xbean-dev.geronimo.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 65001 invoked by uid 99); 18 Dec 2006 16:16:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 08:16:54 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 08:16:46 -0800 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E64827142A6 for <[email protected]>; Mon, 18 Dec 2006 08:16:25 -0800 (PST) Message-ID: <3511828.1166458585941.JavaMail.jira@brutus> Date: Mon, 18 Dec 2006 08:16:25 -0800 (PST) From: "Guillaume Nodet (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (XBEAN-68) Upgrade to QDox 1.6.1 for better java 5 support In-Reply-To: <6307019.1166458461031.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/XBEAN-68?page=comments#action_12459397 ] Guillaume Nodet commented on XBEAN-68: -------------------------------------- Oops, wrong revision. The following is the correct one: Author: gnodet Date: Mon Dec 18 08:13:55 2006 New Revision: 488321 URL: http://svn.apache.org/viewvc?view=rev&rev=488321 Log: XBEAN-68: Upgrade to QDox 1.6.1 Modified: geronimo/xbean/trunk/pom.xml > Upgrade to QDox 1.6.1 for better java 5 support > ----------------------------------------------- > > Key: XBEAN-68 > URL: http://issues.apache.org/jira/browse/XBEAN-68 > Project: XBean > Issue Type: Improvement > Components: maven-plugin, spring > Affects Versions: 2.7 > Reporter: Guillaume Nodet > Assigned To: Guillaume Nodet > Fix For: 2.8 > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon Dec 18 16:26:11 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21688 invoked from network); 18 Dec 2006 16:26:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Dec 2006 16:26:11 -0000 Received: (qmail 85718 invoked by uid 500); 18 Dec 2006 16:26:18 -0000 Delivered-To: [email protected] Received: (qmail 85701 invoked by uid 500); 18 Dec 2006 16:26:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xbean-dev.geronimo.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 85692 invoked by uid 99); 18 Dec 2006 16:26:18 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 08:26:18 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 08:26:08 -0800 Received: by ug-out-1314.google.com with SMTP id m2so1909827ugc for <[email protected]>; Mon, 18 Dec 2006 08:25:47 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=s6AjCi31lSTF6x6D781NeQb4ZT8oQ4xETzibvUM/efaWqwnDrwzV/yljx1GcFTL0UlxjdMjQMHNUtUXaxQKdtD/ww6xqv6LCxOZJ70I8+xBIQa5z5HVa3svWQCXWmZ2OB6q9WiSzjRd88dqxk9NADHQ6ZTWYFRJoDiRXEffGLKo= Received: by 161.129.204.104 with SMTP id i16mr2415375huf.1166459146452; Mon, 18 Dec 2006 08:25:46 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 18 Dec 2006 08:25:46 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 18 Dec 2006 17:25:46 +0100 From: "Guillaume Nodet" <[email protected]> To: [email protected] Subject: [VOTE] Release XBean 2.8 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org I'm starting a vote to release XBean 2.8. There has not been much changes since 2.7, but a few bugs fixed, and the addition of the xbean-finder module. Anyway, the bugs are important enough to deserver a new release (the generated schemas can not be validated). [ ] +1 Start xbean 2.8 release process [ ] +/- 0 [ ] -1 Don't release xbean 2.8 now Here's my +1. -- Cheers, Guillaume Nodet From [email protected] Mon Dec 18 16:29:09 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23248 invoked from network); 18 Dec 2006 16:29:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Dec 2006 16:29:08 -0000 Received: (qmail 94754 invoked by uid 500); 18 Dec 2006 16:29:06 -0000 Delivered-To: [email protected] Received: (qmail 94733 invoked by uid 500); 18 Dec 2006 16:29:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xbean-dev.geronimo.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 94703 invoked by uid 99); 18 Dec 2006 16:29:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 08:29:06 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 08:28:56 -0800 Received: by ug-out-1314.google.com with SMTP id m2so1910805ugc for <[email protected]>; Mon, 18 Dec 2006 08:28:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rUB15Yh1wd/Tmqv5OxEoyCvMa5hos5FXJ7xAveIA4eX3e26WUyQPfOstSxL8jnxwDSDn9szLAxwRfTYPkLU61Z59CmMmbAwKBkcu2ekT3jM/NVn/v+MCudl+wMOBHzG5XTDR5Oc0Mn5lDQuiu8z7MSUo8o+LNnQaNFTckeRxS/s= Received: by 161.129.204.104 with SMTP id t20mr2408091hue.1166459314246; Mon, 18 Dec 2006 08:28:34 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 18 Dec 2006 08:28:34 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 18 Dec 2006 16:28:34 +0000 From: "James Strachan" <[email protected]> To: [email protected] Subject: Re: [VOTE] Release XBean 2.8 In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org +1 On 12/18/06, Guillaume Nodet <[email protected]> wrote: > I'm starting a vote to release XBean 2.8. > There has not been much changes since 2.7, but a few > bugs fixed, and the addition of the xbean-finder module. > Anyway, the bugs are important enough to deserver a new > release (the generated schemas can not be validated). > > [ ] +1 Start xbean 2.8 release process > [ ] +/- 0 > [ ] -1 Don't release xbean 2.8 now > > Here's my +1. > > -- > Cheers, > Guillaume Nodet > -- James ------- http://radio.weblogs.com/0112098/ From [email protected] Mon Dec 18 16:48:38 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30779 invoked from network); 18 Dec 2006 16:48:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Dec 2006 16:48:36 -0000 Received: (qmail 47474 invoked by uid 500); 18 Dec 2006 16:48:41 -0000 Delivered-To: [email protected] Received: (qmail 47454 invoked by uid 500); 18 Dec 2006 16:48:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xbean-dev.geronimo.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 47437 invoked by uid 99); 18 Dec 2006 16:48:41 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 08:48:41 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wr-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 08:48:31 -0800 Received: by wr-out-0506.google.com with SMTP id i31so660561wra for <[email protected]>; Mon, 18 Dec 2006 08:48:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=j+xg3j8NMm6wJkegXcurNj/BTd7VvMkYWHmy0AGOjc0bX2imKPz1KdGtdEYkET7qCs4a87TvJIyj5XFrozW9RZlXH9iMPZLOmskpBUSsEOAYIXnfQBfKcfcKbpYR7mSIiNMRk1hzHGE4wYxgKxHLbAgDOhk+1RbUiQBjUKTGsOs= Received: by 161.129.204.104 with SMTP id e14mr3959409aga.1166460490314; Mon, 18 Dec 2006 08:48:10 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 18 Dec 2006 08:48:10 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 18 Dec 2006 11:48:10 -0500 From: "Hiram Chirino" <[email protected]> Sender: [email protected] To: [email protected] Subject: Re: [VOTE] Release XBean 2.8 In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> X-Google-Sender-Auth: 337a3abea8719201 X-Virus-Checked: Checked by ClamAV on apache.org +1 On 12/18/06, Guillaume Nodet <[email protected]> wrote: > I'm starting a vote to release XBean 2.8. > There has not been much changes since 2.7, but a few > bugs fixed, and the addition of the xbean-finder module. > Anyway, the bugs are important enough to deserver a new > release (the generated schemas can not be validated). > > [ ] +1 Start xbean 2.8 release process > [ ] +/- 0 > [ ] -1 Don't release xbean 2.8 now > > Here's my +1. > > -- > Cheers, > Guillaume Nodet > -- Regards, Hiram Blog: http://hiramchirino.com From [email protected] Mon Dec 18 18:26:17 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65415 invoked from network); 18 Dec 2006 18:26:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Dec 2006 18:26:17 -0000 Received: (qmail 38698 invoked by uid 500); 18 Dec 2006 18:26:22 -0000 Delivered-To: [email protected] Received: (qmail 38676 invoked by uid 500); 18 Dec 2006 18:26:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xbean-dev.geronimo.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 38667 invoked by uid 99); 18 Dec 2006 18:26:22 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 10:26:21 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=RCVD_IN_SORBS_WEB,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nf-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 10:26:10 -0800 Received: by nf-out-0910.google.com with SMTP id x37so1901189nfc for <[email protected]>; Mon, 18 Dec 2006 10:25:48 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=rYYEb856/beopArAZ/ZUM6SfbfahXYrSqbmBF2kby63c2z5SawkfgYm5tr2a3aZ8pE1XbtGkmFZR1IGV8zuUU9rOOqLcqo5ITPePWadSJBBhCNGZhrjQE5DNWzXI5YEJUNPHcrSs3wuBJqF7m/iAnQMmqkOpTU1wQ0nNfwuhFUo= Received: by 161.129.204.104 with SMTP id f3mr5419608nfj.1166466348164; Mon, 18 Dec 2006 10:25:48 -0800 (PST) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTP id g9sm17916709wra.2161.129.204.104.25.47; Mon, 18 Dec 2006 10:25:47 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Kevan Miller <[email protected]> Subject: Re: [VOTE] Release XBean 2.8 Date: Mon, 18 Dec 2006 13:25:50 -0500 To: [email protected] X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org On Dec 18, 2006, at 11:25 AM, Guillaume Nodet wrote: > I'm starting a vote to release XBean 2.8. > There has not been much changes since 2.7, but a few > bugs fixed, and the addition of the xbean-finder module. > Anyway, the bugs are important enough to deserver a new > release (the generated schemas can not be validated). > > [ ] +1 Start xbean 2.8 release process > [ ] +/- 0 > [ ] -1 Don't release xbean 2.8 now > > Here's my +1. Not sure what you mean by "release process". But here are the issues which look like they would block a release: 1. NOTICE files do not conform to current ASF standards 2. The following files either do not contain a valid license header (not all files will require one, but many of these need one) or have an out-of-date license header (all need to be updated). ==resource (./xbean-classloader/src/test-data/resourceFinderTest/jar1/ resource) ==resource (./xbean-classloader/src/test-data/resourceFinderTest/jar2/ resource) ==package-info.java (./xbean-finder/src/test/java/org/acme/foo/ package-info.java) ==java.io.InputStream (./xbean-finder/src/test/resources/META-INF/ java.io.InputStream) ==java.io.OutputStream (./xbean-finder/src/test/resources/META-INF/ java.io.OutputStream) ==java.io.Serializable (./xbean-finder/src/test/resources/META-INF/ java.io.Serializable) ==one (./xbean-finder/src/test/resources/META-INF/externalizables/one) ==three (./xbean-finder/src/test/resources/META-INF/externalizables/ three) ==two (./xbean-finder/src/test/resources/META-INF/externalizables/two) ==bar (./xbean-finder/src/test/resources/META-INF/ java.net.URLStreamHandler/bar) ==baz (./xbean-finder/src/test/resources/META-INF/ java.net.URLStreamHandler/baz) ==foo (./xbean-finder/src/test/resources/META-INF/ java.net.URLStreamHandler/foo) ==kernel (./xbean-finder/src/test/resources/META-INF/ javax.naming.spi.ObjectFactory/kernel) ==ldap (./xbean-finder/src/test/resources/META-INF/ javax.naming.spi.ObjectFactory/ldap) ==ishtar.properties (./xbean-finder/src/test/resources/META-INF/ movies/ishtar.properties) ==kingkong.properties (./xbean-finder/src/test/resources/META-INF/ movies/kingkong.properties) ==serentity.properties (./xbean-finder/src/test/resources/META-INF/ movies/serentity.properties) ==one (./xbean-finder/src/test/resources/META-INF/serializables/one) ==three (./xbean-finder/src/test/resources/META-INF/serializables/three) ==two (./xbean-finder/src/test/resources/META-INF/serializables/two) ==familyguy.properties (./xbean-finder/src/test/resources/META-INF/ tvshows/familyguy.properties) ==simpsons.properties (./xbean-finder/src/test/resources/META-INF/ tvshows/simpsons.properties) ==package.html (./xbean-kernel/src/main/java/org/apache/xbean/kernel/ package.html) ==package.html (./xbean-kernel/src/main/java/org/apache/xbean/kernel/ standard/package.html) ==pom.xml (./xbean-naming/pom.xml) ==xbean-naming/src/main/java/org/apache/xbean/naming/context/ AbstractContext.java ==xbean-naming/src/main/java/org/apache/xbean/naming/context/ AbstractFederatedContext.java ==xbean-naming/src/main/java/org/apache/xbean/naming/context/ ContextAccess.java ==xbean-naming/src/main/java/org/apache/xbean/naming/context/ ContextAccessControlList.java ==xbean-naming/src/main/java/org/apache/xbean/naming/context/ ContextFederation.java ==xbean-naming/src/main/java/org/apache/xbean/naming/context/ ContextFlyweight.java ==xbean-naming/src/main/java/org/apache/xbean/naming/context/ ContextUtil.java ==xbean-naming/src/main/java/org/apache/xbean/naming/context/ ImmutableContext.java ==xbean-naming/src/main/java/org/apache/xbean/naming/context/ NestedContextFactory.java ==xbean-naming/src/main/java/org/apache/xbean/naming/context/ VirtualSubcontext.java ==xbean-naming/src/main/java/org/apache/xbean/naming/context/ WritableContext.java ==xbean-naming/src/main/java/org/apache/xbean/naming/global/ GlobalContextManager.java ==xbean-naming/src/main/java/org/apache/xbean/naming/java/ javaURLContextFactory.java ==xbean-naming/src/main/java/org/apache/xbean/naming/reference/ CachingReference.java ==xbean-naming/src/main/java/org/apache/xbean/naming/reference/ SimpleReference.java ==xbean-naming/src/test/java/org/apache/xbean/naming/context/ AbstractContextTest.java ==xbean-naming/src/test/java/org/apache/xbean/naming/context/ ContextAccessControlListTest.java ==xbean-naming/src/test/java/org/apache/xbean/naming/context/ FederationTest.java ==xbean-naming/src/test/java/org/apache/xbean/naming/context/ ImmutableContextTest.java ==xbean-naming/src/test/java/org/apache/xbean/naming/context/ UnmodifiableContextTest.java ==xbean-naming/src/test/java/org/apache/xbean/naming/context/ WritableContextTest.java ==xbean-naming/src/test/java/org/apache/xbean/naming/global/ GlobalContextManagerTest.java ==spring-beans.xsd (./xbean-spring-common/src/main/resources/org/ apache/xbean/spring/spring-beans.xsd) ==pom.xml (./xbean-spring-itests/2.0/pom.xml) ==pom.xml (./xbean-spring-itests/2.0-rc3/pom.xml) ==pom.xml (./xbean-spring-v1/pom.xml) ==pizza-simple (./xbean-spring-v1/src/test/resources/META-INF/ services/org/apache/xbean/spring/http/xbean.apache.org/schemas/pizza- simple) ==restaurant (./xbean-spring-v1/src/test/resources/META-INF/services/ org/apache/xbean/spring/http/xbean.apache.org/schemas/restaurant) ==salad (./xbean-spring-v1/src/test/resources/META-INF/services/org/ apache/xbean/spring/http/xbean.apache.org/schemas/salad) ==soup (./xbean-spring-v1/src/test/resources/META-INF/services/org/ apache/xbean/spring/http/xbean.apache.org/schemas/soup) ==pom.xml (./xbean-spring-v2a/pom.xml) ==component (./xbean-spring-v2a/src/test/resources/META-INF/services/ org/apache/xbean/spring/http/xbean.apache.org/schemas/component) ==pizza-simple (./xbean-spring-v2a/src/test/resources/META-INF/ services/org/apache/xbean/spring/http/xbean.apache.org/schemas/pizza- simple) ==restaurant (./xbean-spring-v2a/src/test/resources/META-INF/services/ org/apache/xbean/spring/http/xbean.apache.org/schemas/restaurant) ==salad (./xbean-spring-v2a/src/test/resources/META-INF/services/org/ apache/xbean/spring/http/xbean.apache.org/schemas/salad) ==soup (./xbean-spring-v2a/src/test/resources/META-INF/services/org/ apache/xbean/spring/http/xbean.apache.org/schemas/soup) ==pom.xml (./xbean-spring-v2b/pom.xml) ==component (./xbean-spring-v2b/src/test/resources/META-INF/services/ org/apache/xbean/spring/http/xbean.apache.org/schemas/component) ==pizza-simple (./xbean-spring-v2b/src/test/resources/META-INF/ services/org/apache/xbean/spring/http/xbean.apache.org/schemas/pizza- simple) ==restaurant (./xbean-spring-v2b/src/test/resources/META-INF/services/ org/apache/xbean/spring/http/xbean.apache.org/schemas/restaurant) ==salad (./xbean-spring-v2b/src/test/resources/META-INF/services/org/ apache/xbean/spring/http/xbean.apache.org/schemas/salad) ==soup (./xbean-spring-v2b/src/test/resources/META-INF/services/org/ apache/xbean/spring/http/xbean.apache.org/schemas/soup) ==pom.xml (./xbean-spring-v2c/pom.xml) ==component (./xbean-spring-v2c/src/test/resources/META-INF/services/ org/apache/xbean/spring/http/xbean.apache.org/schemas/component) ==pizza-simple (./xbean-spring-v2c/src/test/resources/META-INF/ services/org/apache/xbean/spring/http/xbean.apache.org/schemas/pizza- simple) ==restaurant (./xbean-spring-v2c/src/test/resources/META-INF/services/ org/apache/xbean/spring/http/xbean.apache.org/schemas/restaurant) ==salad (./xbean-spring-v2c/src/test/resources/META-INF/services/org/ apache/xbean/spring/http/xbean.apache.org/schemas/salad) ==soup (./xbean-spring-v2c/src/test/resources/META-INF/services/org/ apache/xbean/spring/http/xbean.apache.org/schemas/soup) --kevan From [email protected] Mon Dec 18 18:31:57 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66541 invoked from network); 18 Dec 2006 18:31:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Dec 2006 18:31:57 -0000 Received: (qmail 51707 invoked by uid 500); 18 Dec 2006 18:32:04 -0000 Delivered-To: [email protected] Received: (qmail 51674 invoked by uid 500); 18 Dec 2006 18:32:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xbean-dev.geronimo.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51665 invoked by uid 99); 18 Dec 2006 18:32:04 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 10:32:04 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 10:31:54 -0800 Received: by ug-out-1314.google.com with SMTP id m2so1951435ugc for <[email protected]>; Mon, 18 Dec 2006 10:31:33 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=aCScI0tsfMUhlIHyd60AZxgbg4jVPQabUlG5Hn4KglE+NWAtHIrfF4qab8YhxDIlpIQ9mgbRKM679tKYip/wgpsqgQycWuF4TFWIb9fxjD6061S+whyoehy88ob3Vj+GFHyelbvtBgoNluh2dtsk4v29HV6arJXMecwQr6Bt6PY= Received: by 161.129.204.104 with SMTP id b1mr2698740hug.1166466691910; Mon, 18 Dec 2006 10:31:31 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 18 Dec 2006 10:31:31 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 18 Dec 2006 19:31:31 +0100 From: "Guillaume Nodet" <[email protected]> To: [email protected] Subject: Re: [VOTE] Release XBean 2.8 In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org On 12/18/06, Kevan Miller <[email protected]> wrote: > > On Dec 18, 2006, at 11:25 AM, Guillaume Nodet wrote: > > > I'm starting a vote to release XBean 2.8. > > There has not been much changes since 2.7, but a few > > bugs fixed, and the addition of the xbean-finder module. > > Anyway, the bugs are important enough to deserver a new > > release (the generated schemas can not be validated). > > > > [ ] +1 Start xbean 2.8 release process > > [ ] +/- 0 > > [ ] -1 Don't release xbean 2.8 now > > > > Here's my +1. > > Not sure what you mean by "release process". Running "mvn release:prepare release:perform" ;) > But here are the issues > which look like they would block a release: > > 1. NOTICE files do not conform to current ASF standards What do you mean exactly ? They have the same content that the ones I've always seen. Could you point me to a better template for these ? > 2. The following files either do not contain a valid license header > (not all files will require one, but many of these need one) or have > an out-of-date license header (all need to be updated). Thanks. I'll fix these asap. You run rat for that, right ? > > ==resource (./xbean-classloader/src/test-data/resourceFinderTest/jar1/ > resource) > ==resource (./xbean-classloader/src/test-data/resourceFinderTest/jar2/ > resource) > ==package-info.java (./xbean-finder/src/test/java/org/acme/foo/ > package-info.java) > ==java.io.InputStream (./xbean-finder/src/test/resources/META-INF/ > java.io.InputStream) > ==java.io.OutputStream (./xbean-finder/src/test/resources/META-INF/ > java.io.OutputStream) > ==java.io.Serializable (./xbean-finder/src/test/resources/META-INF/ > java.io.Serializable) > ==one (./xbean-finder/src/test/resources/META-INF/externalizables/one) > ==three (./xbean-finder/src/test/resources/META-INF/externalizables/ > three) > ==two (./xbean-finder/src/test/resources/META-INF/externalizables/two) > ==bar (./xbean-finder/src/test/resources/META-INF/ > java.net.URLStreamHandler/bar) > ==baz (./xbean-finder/src/test/resources/META-INF/ > java.net.URLStreamHandler/baz) > ==foo (./xbean-finder/src/test/resources/META-INF/ > java.net.URLStreamHandler/foo) > ==kernel (./xbean-finder/src/test/resources/META-INF/ > javax.naming.spi.ObjectFactory/kernel) > ==ldap (./xbean-finder/src/test/resources/META-INF/ > javax.naming.spi.ObjectFactory/ldap) > ==ishtar.properties (./xbean-finder/src/test/resources/META-INF/ > movies/ishtar.properties) > ==kingkong.properties (./xbean-finder/src/test/resources/META-INF/ > movies/kingkong.properties) > ==serentity.properties (./xbean-finder/src/test/resources/META-INF/ > movies/serentity.properties) > ==one (./xbean-finder/src/test/resources/META-INF/serializables/one) > ==three (./xbean-finder/src/test/resources/META-INF/serializables/three) > ==two (./xbean-finder/src/test/resources/META-INF/serializables/two) > ==familyguy.properties (./xbean-finder/src/test/resources/META-INF/ > tvshows/familyguy.properties) > ==simpsons.properties (./xbean-finder/src/test/resources/META-INF/ > tvshows/simpsons.properties) > ==package.html (./xbean-kernel/src/main/java/org/apache/xbean/kernel/ > package.html) > ==package.html (./xbean-kernel/src/main/java/org/apache/xbean/kernel/ > standard/package.html) > ==pom.xml (./xbean-naming/pom.xml) > ==xbean-naming/src/main/java/org/apache/xbean/naming/context/ > AbstractContext.java > ==xbean-naming/src/main/java/org/apache/xbean/naming/context/ > AbstractFederatedContext.java > ==xbean-naming/src/main/java/org/apache/xbean/naming/context/ > ContextAccess.java > ==xbean-naming/src/main/java/org/apache/xbean/naming/context/ > ContextAccessControlList.java > ==xbean-naming/src/main/java/org/apache/xbean/naming/context/ > ContextFederation.java > ==xbean-naming/src/main/java/org/apache/xbean/naming/context/ > ContextFlyweight.java > ==xbean-naming/src/main/java/org/apache/xbean/naming/context/ > ContextUtil.java > ==xbean-naming/src/main/java/org/apache/xbean/naming/context/ > ImmutableContext.java > ==xbean-naming/src/main/java/org/apache/xbean/naming/context/ > NestedContextFactory.java > ==xbean-naming/src/main/java/org/apache/xbean/naming/context/ > VirtualSubcontext.java > ==xbean-naming/src/main/java/org/apache/xbean/naming/context/ > WritableContext.java > ==xbean-naming/src/main/java/org/apache/xbean/naming/global/ > GlobalContextManager.java > ==xbean-naming/src/main/java/org/apache/xbean/naming/java/ > javaURLContextFactory.java > ==xbean-naming/src/main/java/org/apache/xbean/naming/reference/ > CachingReference.java > ==xbean-naming/src/main/java/org/apache/xbean/naming/reference/ > SimpleReference.java > ==xbean-naming/src/test/java/org/apache/xbean/naming/context/ > AbstractContextTest.java > ==xbean-naming/src/test/java/org/apache/xbean/naming/context/ > ContextAccessControlListTest.java > ==xbean-naming/src/test/java/org/apache/xbean/naming/context/ > FederationTest.java > ==xbean-naming/src/test/java/org/apache/xbean/naming/context/ > ImmutableContextTest.java > ==xbean-naming/src/test/java/org/apache/xbean/naming/context/ > UnmodifiableContextTest.java > ==xbean-naming/src/test/java/org/apache/xbean/naming/context/ > WritableContextTest.java > ==xbean-naming/src/test/java/org/apache/xbean/naming/global/ > GlobalContextManagerTest.java > ==spring-beans.xsd (./xbean-spring-common/src/main/resources/org/ > apache/xbean/spring/spring-beans.xsd) > ==pom.xml (./xbean-spring-itests/2.0/pom.xml) > ==pom.xml (./xbean-spring-itests/2.0-rc3/pom.xml) > ==pom.xml (./xbean-spring-v1/pom.xml) > ==pizza-simple (./xbean-spring-v1/src/test/resources/META-INF/ > services/org/apache/xbean/spring/http/xbean.apache.org/schemas/pizza- > simple) > ==restaurant (./xbean-spring-v1/src/test/resources/META-INF/services/ > org/apache/xbean/spring/http/xbean.apache.org/schemas/restaurant) > ==salad (./xbean-spring-v1/src/test/resources/META-INF/services/org/ > apache/xbean/spring/http/xbean.apache.org/schemas/salad) > ==soup (./xbean-spring-v1/src/test/resources/META-INF/services/org/ > apache/xbean/spring/http/xbean.apache.org/schemas/soup) > ==pom.xml (./xbean-spring-v2a/pom.xml) > ==component (./xbean-spring-v2a/src/test/resources/META-INF/services/ > org/apache/xbean/spring/http/xbean.apache.org/schemas/component) > ==pizza-simple (./xbean-spring-v2a/src/test/resources/META-INF/ > services/org/apache/xbean/spring/http/xbean.apache.org/schemas/pizza- > simple) > ==restaurant (./xbean-spring-v2a/src/test/resources/META-INF/services/ > org/apache/xbean/spring/http/xbean.apache.org/schemas/restaurant) > ==salad (./xbean-spring-v2a/src/test/resources/META-INF/services/org/ > apache/xbean/spring/http/xbean.apache.org/schemas/salad) > ==soup (./xbean-spring-v2a/src/test/resources/META-INF/services/org/ > apache/xbean/spring/http/xbean.apache.org/schemas/soup) > ==pom.xml (./xbean-spring-v2b/pom.xml) > ==component (./xbean-spring-v2b/src/test/resources/META-INF/services/ > org/apache/xbean/spring/http/xbean.apache.org/schemas/component) > ==pizza-simple (./xbean-spring-v2b/src/test/resources/META-INF/ > services/org/apache/xbean/spring/http/xbean.apache.org/schemas/pizza- > simple) > ==restaurant (./xbean-spring-v2b/src/test/resources/META-INF/services/ > org/apache/xbean/spring/http/xbean.apache.org/schemas/restaurant) > ==salad (./xbean-spring-v2b/src/test/resources/META-INF/services/org/ > apache/xbean/spring/http/xbean.apache.org/schemas/salad) > ==soup (./xbean-spring-v2b/src/test/resources/META-INF/services/org/ > apache/xbean/spring/http/xbean.apache.org/schemas/soup) > ==pom.xml (./xbean-spring-v2c/pom.xml) > ==component (./xbean-spring-v2c/src/test/resources/META-INF/services/ > org/apache/xbean/spring/http/xbean.apache.org/schemas/component) > ==pizza-simple (./xbean-spring-v2c/src/test/resources/META-INF/ > services/org/apache/xbean/spring/http/xbean.apache.org/schemas/pizza- > simple) > ==restaurant (./xbean-spring-v2c/src/test/resources/META-INF/services/ > org/apache/xbean/spring/http/xbean.apache.org/schemas/restaurant) > ==salad (./xbean-spring-v2c/src/test/resources/META-INF/services/org/ > apache/xbean/spring/http/xbean.apache.org/schemas/salad) > ==soup (./xbean-spring-v2c/src/test/resources/META-INF/services/org/ > apache/xbean/spring/http/xbean.apache.org/schemas/soup) > > --kevan > -- Cheers, Guillaume Nodet From [email protected] Mon Dec 18 19:14:52 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78589 invoked from network); 18 Dec 2006 19:14:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Dec 2006 19:14:43 -0000 Received: (qmail 33094 invoked by uid 500); 18 Dec 2006 19:14:51 -0000 Delivered-To: [email protected] Received: (qmail 33072 invoked by uid 500); 18 Dec 2006 19:14:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xbean-dev.geronimo.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 33063 invoked by uid 99); 18 Dec 2006 19:14:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 11:14:51 -0800 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,RCVD_IN_SORBS_WEB,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wr-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 11:14:40 -0800 Received: by wr-out-0506.google.com with SMTP id i31so691344wra for <[email protected]>; Mon, 18 Dec 2006 11:14:19 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:from:subject:date:to:x-mailer; b=hyEn6JOD3TwgaJMT1L+/V/vV5FiRpwozFYjh27WCnD/7iFj3CX7ODRs4NkhHUv/6NRSNZhiJjGbjUIwHz7bdAYceRwtTDHojvMT3XF4eJgtmiU/WHeoe3uZlwoADiJRXu2kNg6vM1mTSHTAmkJOIsEWLIfQbZi1n97NUloHY10Y= Received: by 161.129.204.104 with SMTP id a2mr4208408agc.1166469258374; Mon, 18 Dec 2006 11:14:18 -0800 (PST) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTP id 29sm15692416wrl.2161.129.204.104.14.17; Mon, 18 Dec 2006 11:14:17 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Content-Type: multipart/alternative; boundary=Apple-Mail-1--816500660 Message-Id: <[email protected]> From: Kevan Miller <[email protected]> Subject: Re: [VOTE] Release XBean 2.8 Date: Mon, 18 Dec 2006 14:14:20 -0500 To: [email protected] X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-1--816500660 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On Dec 18, 2006, at 1:31 PM, Guillaume Nodet wrote: > On 12/18/06, Kevan Miller <[email protected]> wrote: >> >> On Dec 18, 2006, at 11:25 AM, Guillaume Nodet wrote: >> >> > I'm starting a vote to release XBean 2.8. >> > There has not been much changes since 2.7, but a few >> > bugs fixed, and the addition of the xbean-finder module. >> > Anyway, the bugs are important enough to deserver a new >> > release (the generated schemas can not be validated). >> > >> > [ ] +1 Start xbean 2.8 release process >> > [ ] +/- 0 >> > [ ] -1 Don't release xbean 2.8 now >> > >> > Here's my +1. >> >> Not sure what you mean by "release process". > > Running "mvn release:prepare release:perform" ;) > >> But here are the issues >> which look like they would block a release: >> >> 1. NOTICE files do not conform to current ASF standards > > What do you mean exactly ? > They have the same content that the ones I've always seen. > Could you point me to a better template for these ? Hi Guillaume, Yes, they've changed slightly... Source files no longer contain a copyright statement. Copyright is now in the notice file. Here's a pointer to the current "standards" -- http://www.apache.org/legal/src- headers.html Notice files take the following form: Apache [PRODUCT_NAME] Copyright [yyyy] The Apache Software Foundation This product includes software developed at The Apache Software Foundation (http://www.apache.org/). I don't see any external projects being included in xbean binaries. So, it would seem that's the only content that the NOTICE files would require. I took a peak at the generated jar files. Looks like license/notice files are missing from at least the following jar file: xbean-naming Genesis will automatically check for these during a build. Dain (I think) had a one line command to scan for missing notice/license files, but I can't remember how it went... > >> 2. The following files either do not contain a valid license header >> (not all files will require one, but many of these need one) or have >> an out-of-date license header (all need to be updated). > > Thanks. I'll fix these asap. > You run rat for that, right ? Yes, but rat doesn't identify old-style license headers. For these, I've found the following grep command to be useful: grep -RL --include=*.java "Licensed to the Apache Software Foundation (ASF)" * --kevan --Apple-Mail-1--816500660-- From [email protected] Mon Dec 18 20:44:54 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12889 invoked from network); 18 Dec 2006 20:44:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Dec 2006 20:44:52 -0000 Received: (qmail 63900 invoked by uid 500); 18 Dec 2006 20:45:00 -0000 Delivered-To: [email protected] Received: (qmail 63882 invoked by uid 500); 18 Dec 2006 20:45:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xbean-dev.geronimo.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 63873 invoked by uid 99); 18 Dec 2006 20:45:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 12:45:00 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wr-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 12:44:50 -0800 Received: by wr-out-0506.google.com with SMTP id i31so710235wra for <[email protected]>; Mon, 18 Dec 2006 12:44:25 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=eh3wMF7uVlsbpfRO8mkCQmjx2nQ5P1sXJGY8ypvk7cDPMqkcPtuj6P8ZaXVUZT4cZl6hvyxnj+KNqofh2a4t8i4Iv/QB2z+WHKhv0xF46zndgOJab+qi83jdoKE0zRth6euRXlEmeZB+PTOg603bjrzC69r8A4m6WgH84yV3Ymo= Received: by 161.129.204.104 with SMTP id f11mr2825296hua.1166474663543; Mon, 18 Dec 2006 12:44:23 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 18 Dec 2006 12:44:23 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 18 Dec 2006 21:44:23 +0100 From: "Guillaume Nodet" <[email protected]> To: [email protected] Subject: Re: [VOTE] Release XBean 2.8 In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org I've fixed the missing / bad ASF headers and use the new maven plugin to generate LICENSE/NOTICE file. On 12/18/06, Kevan Miller <[email protected]> wrote: > > On Dec 18, 2006, at 1:31 PM, Guillaume Nodet wrote: > > > On 12/18/06, Kevan Miller <[email protected]> wrote: > >> > >> On Dec 18, 2006, at 11:25 AM, Guillaume Nodet wrote: > >> > >> > I'm starting a vote to release XBean 2.8. > >> > There has not been much changes since 2.7, but a few > >> > bugs fixed, and the addition of the xbean-finder module. > >> > Anyway, the bugs are important enough to deserver a new > >> > release (the generated schemas can not be validated). > >> > > >> > [ ] +1 Start xbean 2.8 release process > >> > [ ] +/- 0 > >> > [ ] -1 Don't release xbean 2.8 now > >> > > >> > Here's my +1. > >> > >> Not sure what you mean by "release process". > > > > Running "mvn release:prepare release:perform" ;) > > > >> But here are the issues > >> which look like they would block a release: > >> > >> 1. NOTICE files do not conform to current ASF standards > > > > What do you mean exactly ? > > They have the same content that the ones I've always seen. > > Could you point me to a better template for these ? > > Hi Guillaume, > > Yes, they've changed slightly... Source files no longer contain a > copyright statement. Copyright is now in the notice file. Here's a > pointer to the current "standards" -- http://www.apache.org/legal/src- > headers.html > > Notice files take the following form: > > Apache [PRODUCT_NAME] > Copyright [yyyy] The Apache Software Foundation > > This product includes software developed at > The Apache Software Foundation (http://www.apache.org/). > > I don't see any external projects being included in xbean binaries. > So, it would seem that's the only content that the NOTICE files would > require. > > I took a peak at the generated jar files. Looks like license/notice > files are missing from at least the following jar file: > > xbean-naming > > Genesis will automatically check for these during a build. Dain (I > think) had a one line command to scan for missing notice/license > files, but I can't remember how it went... > > > > >> 2. The following files either do not contain a valid license header > >> (not all files will require one, but many of these need one) or have > >> an out-of-date license header (all need to be updated). > > > > Thanks. I'll fix these asap. > > You run rat for that, right ? > > Yes, but rat doesn't identify old-style license headers. For these, > I've found the following grep command to be useful: > > grep -RL --include=*.java "Licensed to the Apache Software Foundation > (ASF)" * > > --kevan > > > > -- Cheers, Guillaume Nodet From [email protected] Mon Dec 18 21:10:32 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23211 invoked from network); 18 Dec 2006 21:10:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Dec 2006 21:10:32 -0000 Received: (qmail 19371 invoked by uid 500); 18 Dec 2006 21:10:40 -0000 Delivered-To: [email protected] Received: (qmail 19347 invoked by uid 500); 18 Dec 2006 21:10:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xbean-dev.geronimo.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 19338 invoked by uid 99); 18 Dec 2006 21:10:39 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 13:10:39 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=RCVD_IN_SORBS_WEB,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wr-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 13:10:28 -0800 Received: by wr-out-0506.google.com with SMTP id i31so715168wra for <[email protected]>; Mon, 18 Dec 2006 13:10:07 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=gtcQZXEwJzy+j865XrV5VWviydCkE1WUb0LhQX8Pjau2mEdf5zXX5pDnxBjDCTvvVPnCxLaFCqYw+gH+sYv0y5+gc42ig4yWfAZAgiwyylJpg1E2Umu1Sg60fSYcVZOTK+6raeSKZ099wxQ/HnUsVt+hvH5+5mzADB00OdQb3zQ= Received: by 161.129.204.104 with SMTP id w19mr4369724agw.1166476207571; Mon, 18 Dec 2006 13:10:07 -0800 (PST) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTP id 8sm4948739wrl.2161.129.204.104.10.06; Mon, 18 Dec 2006 13:10:07 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Kevan Miller <[email protected]> Subject: Re: [VOTE] Release XBean 2.8 Date: Mon, 18 Dec 2006 16:10:09 -0500 To: [email protected] X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org On Dec 18, 2006, at 3:44 PM, Guillaume Nodet wrote: > I've fixed the missing / bad ASF headers and use the new maven > plugin to generate LICENSE/NOTICE file. Looks like the following still needs some attention: xbean-spring-v1/pom.xml These all have old style license headers. Sorry, I didn't spot them last scan. xbean-spring-v2/src/site/site.xml xbean-spring-v2a/src/site/site.xml xbean-spring-v2b/src/site/site.xml xbean-spring-v2c/src/site/site.xml I'm done, after that... ;-) --kevan From [email protected] Mon Dec 18 22:48:11 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54856 invoked from network); 18 Dec 2006 22:48:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Dec 2006 22:48:01 -0000 Received: (qmail 83255 invoked by uid 500); 18 Dec 2006 22:48:09 -0000 Delivered-To: [email protected] Received: (qmail 83237 invoked by uid 500); 18 Dec 2006 22:48:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xbean-dev.geronimo.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 83228 invoked by uid 99); 18 Dec 2006 22:48:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 14:48:09 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 14:47:58 -0800 Received: by ug-out-1314.google.com with SMTP id m2so2033079ugc for <[email protected]>; Mon, 18 Dec 2006 14:47:37 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lJfKGcNB8+Dkvp8DjpqBHJHrcA9BYwWjmRaZO+35OVZ+VczeWWfYuECAZuAXXci7QQ/9vOq5+awiLe1EA5Y2stOMLforHTwugdkmtH1z2PE4sQDVjQQAxwX3LnAIbeC9fMQ5Bankt23zAmzTh4W7c7iHexOR9u6Jlt+kLmjjrkc= Received: by 161.129.204.104 with SMTP id i16mr3645996huf.1166482056856; Mon, 18 Dec 2006 14:47:36 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 18 Dec 2006 14:47:36 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 18 Dec 2006 23:47:36 +0100 From: "Guillaume Nodet" <[email protected]> To: [email protected] Subject: Re: [VOTE] Release XBean 2.8 In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Done :) On 12/18/06, Kevan Miller <[email protected]> wrote: > > On Dec 18, 2006, at 3:44 PM, Guillaume Nodet wrote: > > > I've fixed the missing / bad ASF headers and use the new maven > > plugin to generate LICENSE/NOTICE file. > > Looks like the following still needs some attention: > > xbean-spring-v1/pom.xml > > These all have old style license headers. Sorry, I didn't spot them > last scan. > > xbean-spring-v2/src/site/site.xml > xbean-spring-v2a/src/site/site.xml > xbean-spring-v2b/src/site/site.xml > xbean-spring-v2c/src/site/site.xml > > I'm done, after that... ;-) > > --kevan > -- Cheers, Guillaume Nodet From [email protected] Tue Dec 19 05:23:47 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36470 invoked from network); 19 Dec 2006 05:23:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Dec 2006 05:23:47 -0000 Received: (qmail 51987 invoked by uid 500); 19 Dec 2006 05:23:54 -0000 Delivered-To: [email protected] Received: (qmail 51965 invoked by uid 500); 19 Dec 2006 05:23:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xbean-dev.geronimo.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51956 invoked by uid 99); 19 Dec 2006 05:23:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 21:23:54 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO conn.mc.mpls.visi.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 21:23:42 -0800 Received: from [161.129.204.104] (cpe-76-167-176-83.socal.res.rr.com [161.129.204.104]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by conn.mc.mpls.visi.com (Postfix) with ESMTP id 59F6F84B3 for <[email protected]>; Mon, 18 Dec 2006 23:22:02 -0600 (CST) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: David Blevins <[email protected]> Subject: Re: [VOTE] Release XBean 2.8 Date: Mon, 18 Dec 2006 21:21:57 -0800 To: [email protected] X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org A note, please do not add headers to the following: > ==package-info.java (./xbean-finder/src/test/java/org/acme/foo/ > package-info.java) > ==java.io.InputStream (./xbean-finder/src/test/resources/META-INF/ > java.io.InputStream) > ==java.io.OutputStream (./xbean-finder/src/test/resources/META-INF/ > java.io.OutputStream) > ==java.io.Serializable (./xbean-finder/src/test/resources/META-INF/ > java.io.Serializable) > ==one (./xbean-finder/src/test/resources/META-INF/externalizables/one) > ==three (./xbean-finder/src/test/resources/META-INF/externalizables/ > three) > ==two (./xbean-finder/src/test/resources/META-INF/externalizables/two) > ==bar (./xbean-finder/src/test/resources/META-INF/ > java.net.URLStreamHandler/bar) > ==baz (./xbean-finder/src/test/resources/META-INF/ > java.net.URLStreamHandler/baz) > ==foo (./xbean-finder/src/test/resources/META-INF/ > java.net.URLStreamHandler/foo) > ==kernel (./xbean-finder/src/test/resources/META-INF/ > javax.naming.spi.ObjectFactory/kernel) > ==ldap (./xbean-finder/src/test/resources/META-INF/ > javax.naming.spi.ObjectFactory/ldap) > ==ishtar.properties (./xbean-finder/src/test/resources/META-INF/ > movies/ishtar.properties) > ==kingkong.properties (./xbean-finder/src/test/resources/META-INF/ > movies/kingkong.properties) > ==serentity.properties (./xbean-finder/src/test/resources/META-INF/ > movies/serentity.properties) > ==one (./xbean-finder/src/test/resources/META-INF/serializables/one) > ==three (./xbean-finder/src/test/resources/META-INF/serializables/ > three) > ==two (./xbean-finder/src/test/resources/META-INF/serializables/two) > ==familyguy.properties (./xbean-finder/src/test/resources/META-INF/ > tvshows/familyguy.properties) > ==simpsons.properties (./xbean-finder/src/test/resources/META-INF/ > tvshows/simpsons.properties) -David From [email protected] Tue Dec 19 06:52:49 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62024 invoked from network); 19 Dec 2006 06:52:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Dec 2006 06:52:48 -0000 Received: (qmail 25218 invoked by uid 500); 19 Dec 2006 06:52:56 -0000 Delivered-To: [email protected] Received: (qmail 25179 invoked by uid 500); 19 Dec 2006 06:52:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xbean-dev.geronimo.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 25147 invoked by uid 99); 19 Dec 2006 06:52:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 22:52:55 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nf-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 22:52:45 -0800 Received: by nf-out-0910.google.com with SMTP id x37so2047000nfc for <[email protected]>; Mon, 18 Dec 2006 22:52:24 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Q9tLQiGlKx+GRHW2/z2I9+krVBxTgeVDVCVoGaZ44eynSf2yjT+UI2RjfuH9ws2/6s/yXkFR1jKBH2RMn63HC6MTbOPF29LpPArNM+d2G2Fxg73Im7+/G1N3V77uFmJ4N6eOY5oPhMT5yEEEYuBgBbRhI/DJQE7AQjFgMd8L4pI= Received: by 161.129.204.104 with SMTP id s15mr755426buc.1166511144257; Mon, 18 Dec 2006 22:52:24 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 18 Dec 2006 22:52:24 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 19 Dec 2006 07:52:24 +0100 From: "Jacek Laskowski" <[email protected]> Reply-To: [email protected] Sender: [email protected] To: [email protected] Subject: Re: [VOTE] Release XBean 2.8 In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> X-Google-Sender-Auth: 19336da5d58a39b9 X-Virus-Checked: Checked by ClamAV on apache.org +1 Jacek On 12/18/06, Guillaume Nodet <[email protected]> wrote: > I'm starting a vote to release XBean 2.8. > There has not been much changes since 2.7, but a few > bugs fixed, and the addition of the xbean-finder module. > Anyway, the bugs are important enough to deserver a new > release (the generated schemas can not be validated). > > [ ] +1 Start xbean 2.8 release process > [ ] +/- 0 > [ ] -1 Don't release xbean 2.8 now > > Here's my +1. > > -- > Cheers, > Guillaume Nodet > -- Jacek Laskowski http://www.jaceklaskowski.pl From [email protected] Tue Dec 19 13:37:15 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7024 invoked from network); 19 Dec 2006 13:36:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Dec 2006 13:36:57 -0000 Received: (qmail 41647 invoked by uid 500); 19 Dec 2006 13:37:00 -0000 Delivered-To: [email protected] Received: (qmail 41616 invoked by uid 500); 19 Dec 2006 13:36:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xbean-dev.geronimo.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 41606 invoked by uid 99); 19 Dec 2006 13:36:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Dec 2006 05:36:59 -0800 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 (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wr-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Dec 2006 05:36:48 -0800 Received: by wr-out-0506.google.com with SMTP id i31so806523wra for <[email protected]>; Tue, 19 Dec 2006 05:36:27 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:from:subject:date:to:x-mailer; b=KJDQ7NQ3DU5c7tmJ2AA+rMppwS5EgEVqFFXAfBgxWKohOZgniIXwqJtWx7lzR+OeA5DObKIIA5hf5JCad/2WFIfVGjeNQEuUmlWQfE4z942OaDK3TZIY5doCc2Y3tuc8JBoDKh20IXGx2Bics7kcNjDI+WyvWcfnpmyU+RPHTn4= Received: by 161.129.204.104 with SMTP id y17mr5329116agy.1166535387466; Tue, 19 Dec 2006 05:36:27 -0800 (PST) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTP id 35sm14295132wra.2161.129.204.104.36.26; Tue, 19 Dec 2006 05:36:27 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Content-Type: multipart/alternative; boundary=Apple-Mail-2--750370490 Message-Id: <[email protected]> From: Kevan Miller <[email protected]> Subject: Re: [VOTE] Release XBean 2.8 Date: Tue, 19 Dec 2006 08:36:30 -0500 To: [email protected] X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-2--750370490 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On Dec 18, 2006, at 5:47 PM, Guillaume Nodet wrote: > Done :) +1 :D --kevan --Apple-Mail-2--750370490-- From [email protected] Wed Dec 20 01:14:42 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33736 invoked from network); 20 Dec 2006 01:14:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Dec 2006 01:14:41 -0000 Received: (qmail 92181 invoked by uid 500); 20 Dec 2006 01:14:49 -0000 Delivered-To: [email protected] Received: (qmail 92148 invoked by uid 500); 20 Dec 2006 01:14:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xbean-dev.geronimo.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 92139 invoked by uid 99); 20 Dec 2006 01:14:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Dec 2006 17:14:49 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO conn.mc.mpls.visi.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Dec 2006 17:14:38 -0800 Received: from [161.129.204.104] (cpe-76-167-176-83.socal.res.rr.com [161.129.204.104]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by conn.mc.mpls.visi.com (Postfix) with ESMTP id 56AC281D7 for <[email protected]>; Tue, 19 Dec 2006 19:14:17 -0600 (CST) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: David Blevins <[email protected]> Subject: Commit emails working (was: Re: svn commit: r488870 - /geronimo/xbean/trunk/pom.xml) Date: Tue, 19 Dec 2006 17:14:11 -0800 To: [email protected] X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org It turns out our commit mails weren't [email protected]. I pinged infra and all looks good now. Don't forget to update your mail filtering rules. -David On Dec 19, 2006, at 4:36 PM, [email protected] wrote: > Author: dblevins > Date: Tue Dec 19 16:36:41 2006 > New Revision: 488870 > > URL: http://svn.apache.org/viewvc?view=rev&rev=488870 > Log: > Testing commit mails > > Modified: > geronimo/xbean/trunk/pom.xml > > Modified: geronimo/xbean/trunk/pom.xml > URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/pom.xml? > view=diff&rev=488870&r1=488869&r2=488870 > ====================================================================== > ======== > --- geronimo/xbean/trunk/pom.xml (original) > +++ geronimo/xbean/trunk/pom.xml Tue Dec 19 16:36:41 2006 > @@ -363,6 +363,7 @@ > </modules> > > <repositories> > + > <!-- > NOTE: The default repositories are picked up by Genesis, > but need to > specify where Genesis lives to pick it up + any > additional repositories. > > From [email protected] Wed Dec 20 06:05:58 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8217 invoked from network); 20 Dec 2006 06:05:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Dec 2006 06:05:58 -0000 Received: (qmail 94410 invoked by uid 500); 20 Dec 2006 06:06:05 -0000 Delivered-To: [email protected] Received: (qmail 94390 invoked by uid 500); 20 Dec 2006 06:06:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xbean-dev.geronimo.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 94381 invoked by uid 99); 20 Dec 2006 06:06:05 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Dec 2006 22:06:05 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO as.toolazydogs.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Dec 2006 22:05:54 -0800 Received: (qmail 5142 invoked from network); 19 Dec 2006 22:05:32 -0800 Received: from c-24-7-76-123.hsd1.ca.comcast.net (HELO ?161.129.204.104?) (161.129.204.104) by toolazydogs.com with (AES128-SHA encrypted) SMTP; 19 Dec 2006 22:05:32 -0800 Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: "Alan D. Cabrera" <[email protected]> Subject: Re: [VOTE] Release XBean 2.8 Date: Tue, 19 Dec 2006 22:04:39 -0800 To: [email protected] X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org +1 Regards, Alan On Dec 18, 2006, at 2:47 PM, Guillaume Nodet wrote: > Done :) > > On 12/18/06, Kevan Miller <[email protected]> wrote: >> >> On Dec 18, 2006, at 3:44 PM, Guillaume Nodet wrote: >> >> > I've fixed the missing / bad ASF headers and use the new maven >> > plugin to generate LICENSE/NOTICE file. >> >> Looks like the following still needs some attention: >> >> xbean-spring-v1/pom.xml >> >> These all have old style license headers. Sorry, I didn't spot them >> last scan. >> >> xbean-spring-v2/src/site/site.xml >> xbean-spring-v2a/src/site/site.xml >> xbean-spring-v2b/src/site/site.xml >> xbean-spring-v2c/src/site/site.xml >> >> I'm done, after that... ;-) >> >> --kevan >> > > > -- > Cheers, > Guillaume Nodet > From [email protected] Wed Dec 20 18:50:21 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16528 invoked from network); 20 Dec 2006 18:50:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Dec 2006 18:50:20 -0000 Received: (qmail 43777 invoked by uid 500); 20 Dec 2006 18:50:28 -0000 Delivered-To: [email protected] Received: (qmail 43758 invoked by uid 500); 20 Dec 2006 18:50:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xbean-dev.geronimo.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 43749 invoked by uid 99); 20 Dec 2006 18:50:27 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Dec 2006 10:50:27 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO green.rootmode.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Dec 2006 10:50:16 -0800 X-ClientAddr: 161.129.204.104 Received: from [161.129.204.104] (cpe-76-167-174-30.socal.res.rr.com [161.129.204.104]) by green.rootmode.com (161.129.204.10460308/8.12.10) with ESMTP id kBKInlBY020343 for <[email protected]>; Wed, 20 Dec 2006 13:49:48 -0500 Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Dain Sundstrom <[email protected]> Subject: Re: [VOTE] Release XBean 2.8 Date: Wed, 20 Dec 2006 10:49:45 -0800 To: [email protected] X-Mailer: Apple Mail (2.752.3) X-RootMode-MailScanner-Information: Please contact the ISP for more information X-RootMode-MailScanner: Found to be clean X-MailScanner-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org +1 -dain On Dec 18, 2006, at 2:47 PM, Guillaume Nodet wrote: > Done :) > > On 12/18/06, Kevan Miller <[email protected]> wrote: >> >> On Dec 18, 2006, at 3:44 PM, Guillaume Nodet wrote: >> >> > I've fixed the missing / bad ASF headers and use the new maven >> > plugin to generate LICENSE/NOTICE file. >> >> Looks like the following still needs some attention: >> >> xbean-spring-v1/pom.xml >> >> These all have old style license headers. Sorry, I didn't spot them >> last scan. >> >> xbean-spring-v2/src/site/site.xml >> xbean-spring-v2a/src/site/site.xml >> xbean-spring-v2b/src/site/site.xml >> xbean-spring-v2c/src/site/site.xml >> >> I'm done, after that... ;-) >> >> --kevan >> > > > -- > Cheers, > Guillaume Nodet From [email protected] Fri Dec 22 07:46:43 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68716 invoked from network); 22 Dec 2006 07:46:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Dec 2006 07:46:42 -0000 Received: (qmail 53175 invoked by uid 500); 22 Dec 2006 07:46:49 -0000 Delivered-To: [email protected] Received: (qmail 53144 invoked by uid 500); 22 Dec 2006 07:46:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xbean-dev.geronimo.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 53133 invoked by uid 99); 22 Dec 2006 07:46:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Dec 2006 23:46:49 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Dec 2006 23:46:39 -0800 Received: by ug-out-1314.google.com with SMTP id m2so3653106ugc for <[email protected]>; Thu, 21 Dec 2006 23:46:18 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=mRQTloxnhSugtEeJByPCAFOVWaA+lnD3/TE2jNY4H7w9xon03LxJcIjLnJJPcJhZHrZXXEefVvPareKcr0Ed15jemU7ZLYJRpH4RYob4OBkMNRCPod6zl7OYb5Z3C31ThQCbeI6Y14kVJH4wk4GyLoDfcYYWcHa4rGsuf0gEiOI= Received: by 161.129.204.104 with SMTP id i2mr1071559hue.1166773578015; Thu, 21 Dec 2006 23:46:18 -0800 (PST) Received: by 161.129.204.104 with HTTP; Thu, 21 Dec 2006 23:46:18 -0800 (PST) Message-ID: <[email protected]> Date: Fri, 22 Dec 2006 08:46:18 +0100 From: "Guillaume Nodet" <[email protected]> To: [email protected] Subject: [RESULTS] Release XBean 2.8 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org The vote has passed with 7 +1s. I have thus released XBean 2.8 and binaries have been uploaded to the m2 repo at: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/xbean/ Thanks ! -- Cheers, Guillaume Nodet
From [email protected] Tue Aug 01 10:03:30 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75797 invoked from network); 1 Aug 2006 10:03:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Aug 2006 10:03:30 -0000 Received: (qmail 27745 invoked by uid 500); 1 Aug 2006 10:03:29 -0000 Delivered-To: [email protected] Received: (qmail 27726 invoked by uid 500); 1 Aug 2006 10:03:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 27717 invoked by uid 500); 1 Aug 2006 10:03:29 -0000 Delivered-To: [email protected] Received: (qmail 27714 invoked by uid 99); 1 Aug 2006 10:03:29 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Aug 2006 03:03:28 -0700 Date: Tue, 01 Aug 2006 02:58:41 PDT From: [email protected] To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-hivemind-compile (in module jakarta-hivemind) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-hivemind-compile has an issue affecting its community integration, and has been outstanding for 66 runs. The current state of this project is 'Failed', with reason 'Update Failed'. Full details are available at: http://vmgump.apache.org/gump/public/jakarta-hivemind/jakarta-hivemind-compile/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason update failed To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-hivemind/jakarta-hivemind-compile/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-hivemind/jakarta-hivemind-compile/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 19000001082006, vmgump.apache.org:vmgump-public:19000001082006 Gump E-mail Identifier (unique within run) #29. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] From [email protected] Tue Aug 01 10:13:59 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78795 invoked from network); 1 Aug 2006 10:13:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Aug 2006 10:13:59 -0000 Received: (qmail 36016 invoked by uid 500); 1 Aug 2006 10:13:58 -0000 Delivered-To: [email protected] Received: (qmail 35988 invoked by uid 500); 1 Aug 2006 10:13:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 35979 invoked by uid 99); 1 Aug 2006 10:13:58 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Aug 2006 03:13:58 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO carmanconsulting.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Aug 2006 03:13:56 -0700 Received: from CARMANI9300 (carmanconsulting.com [161.129.204.104]) by carmanconsulting.com (8.13.7/8.13.6) with ESMTP id k71ADPYR025627 for <[email protected]>; Tue, 1 Aug 2006 06:13:32 -0400 From: "James Carman" <[email protected]> To: <[email protected]> Subject: RE: HiveMind Cookbook... Date: Tue, 1 Aug 2006 06:13:32 -0400 Message-ID: <00b901c6b553$266dc940$6801a8c0@CARMANI9300> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00BA_01C6B531.9F5C2940" X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 In-Reply-To: <[email protected]> Thread-Index: Aca1NU3PA+GuadW8ShWc++uzFPdh6AAHctpA X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_00BA_01C6B531.9F5C2940 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Great ideas, Davor! Thank you. I'll be sure to keep these in mind. _____ From: Davor Hrg [mailto:[email protected]] Sent: Tuesday, August 01, 2006 2:39 AM To: [email protected] Subject: Re: HiveMind Cookbook... An example setup of SymbolSources to chain them in this order for example FactoryDefaults (already present) ApplicationDefaults (already present) PropertiesFileSymbolSource (few lines of code) SystemPropertiesSymbolSource this seems to as an practical order. for example: "server.port" you can setup FactoryDefaults and ApplicationDefaults, then write into properties file: server.port=3009 and override it in command line if needed sometimes java -cp ... -Dserver.port=3001 somepackage.Main I wrote few small apps using hivemind, and wondered how to extract some configuration into a config file. properties file is great for simple definitions, but I also use nondefault registry to include config.xml from application path to enable setup of more advanced features without messing with jar archives maybe there are more than one setup scenarios like this.... Davor Hrg On 7/25/06, James Carman <[email protected]> wrote: Great ideas! Keep 'em coming! -----Original Message----- From: Howard Lewis Ship [mailto:[email protected]] Sent: Tuesday, July 25, 2006 9:31 AM To: [email protected] Subject: Re: HiveMind Cookbook... Of course, a little bit about integration with Tapestry! And maybe something about interop with a Spring context. On 6/9/06, James Carman < [email protected]> wrote: > All, > > I am considering writing a "HiveMind Cookbook." What would you guys like to > see in something like this? I already have ideas like: > > 1. How to use AspectJ in HiveMind > 2. How to use Hibernate in HiveMind > 3. How to use Acegi Security in HiveMind > > I would also probably cover stuff like configurations (of course), pipelines > and chains and strategies, etc. What are some other common uses for > HiveMind that you have encountered? > > James > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Howard M. Lewis Ship Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Jakarta HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com ------=_NextPart_000_00BA_01C6B531.9F5C2940 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--><o:SmartTagType namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" = name=3D"City"/> <o:SmartTagType = namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" name=3D"place"/> <o:SmartTagType = namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" name=3D"PersonName"/> <!--[if !mso]> <style> st1\:*{behavior:url(#default#ieooui) } </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:blue; text-decoration:underline;} span.EmailStyle18 {mso-style-type:personal-reply; font-family:Arial; color:navy;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dblue> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Great ideas, Davor!&nbsp; Thank = you.&nbsp; I&#8217;ll be sure to keep these in mind.&nbsp; <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <div> <div class=3DMsoNormal align=3Dcenter = style=3D'margin-left:.5in;text-align:center'><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'> <hr size=3D3 width=3D"100%" align=3Dcenter tabindex=3D-1> </span></font></div> <p class=3DMsoNormal style=3D'margin-left:.5in'><b><font size=3D2 = face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</spa= n></font></b><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt;font-family:Tahoma'> Davor Hrg [mailto:[email protected]] <br> <b><span style=3D'font-weight:bold'>Sent:</span></b> Tuesday, August 01, = 2006 2:39 AM<br> <b><span style=3D'font-weight:bold'>To:</span></b> <st1:PersonName = w:st=3D"on">[email protected]</st1:PersonName><br> <b><span style=3D'font-weight:bold'>Subject:</span></b> Re: HiveMind = Cookbook...</span></font><o:p></o:p></p> </div> <p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 = face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-margin-top-alt:0in;margin-right:0in;margin-bottom: 12.0pt;margin-left:.5in'><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>An example setup of SymbolSources<br> to chain them in this order for example<br> <br> FactoryDefaults (already present)<br> ApplicationDefaults (already present)<br> PropertiesFileSymbolSource (few lines of code)<br> SystemPropertiesSymbolSource<br> <br> this seems to as an practical order.<br> for example: &quot;server.port&quot;<br> you can setup FactoryDefaults and ApplicationDefaults,<br> then write into properties file:<br> server.port=3D3009<br> and override it in command line if needed sometimes<br> java -cp ... -Dserver.port=3D3001 somepackage.Main<br> <br> <br> I wrote few small apps using hivemind, and wondered<br> how to extract some configuration into a config file.<br> <br> properties file is great for simple definitions, but I also<br> use nondefault registry to include config.xml from application<br> path to enable setup of more advanced features without<br> messing with jar archives<br> <br> maybe there are more than one setup scenarios like this....<br> <br> <br> Davor Hrg<br> <br> <br> <o:p></o:p></span></font></p> <div> <p class=3DMsoNormal style=3D'margin-left:.5in'><span = class=3Dgmailquote><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>On = 7/25/06, <b><span style=3D'font-weight:bold'>James Carman</span></b> &lt;<a href=3D"mailto:[email protected]">[email protected]</a>= &gt; wrote:</span></font></span><o:p></o:p></p> <p class=3DMsoNormal = style=3D'mso-margin-top-alt:0in;margin-right:0in;margin-bottom: 12.0pt;margin-left:.5in'><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>Great ideas!&nbsp;&nbsp;Keep 'em coming!<br> <br> -----Original Message-----<br> From: Howard Lewis Ship [mailto:<a = href=3D"mailto:[email protected]">[email protected]</a>]<br> Sent: Tuesday, July 25, 2006 9:31 AM<br> To: <a = href=3D"mailto:[email protected]">[email protected]= he.org</a><br> Subject: Re: HiveMind Cookbook...<br> <br> Of course, a little bit about integration with Tapestry!<br> <br> And maybe something about interop with a Spring context.<br> <br> On 6/9/06, James Carman &lt; <a = href=3D"mailto:[email protected]">[email protected]</a>= &gt; wrote:<br> &gt; All,<br> &gt;<br> &gt; I am considering writing a &quot;HiveMind = Cookbook.&quot;&nbsp;&nbsp;What would you guys like<br> to<br> &gt; see in something like this?&nbsp;&nbsp;I already have ideas like: = <br> &gt;<br> &gt; 1.&nbsp;&nbsp;How to use AspectJ in HiveMind<br> &gt; 2.&nbsp;&nbsp;How to use Hibernate in HiveMind<br> &gt; 3.&nbsp;&nbsp;How to use Acegi Security in HiveMind<br> &gt;<br> &gt; I would also probably cover stuff like configurations (of course), = <br> pipelines<br> &gt; and chains and strategies, etc.&nbsp;&nbsp;What are some other = common uses for<br> &gt; HiveMind that you have encountered?<br> &gt;<br> &gt; James<br> &gt;<br> &gt;<br> &gt;<br> &gt; = --------------------------------------------------------------------- = <br> &gt; To unsubscribe, e-mail: <a href=3D"mailto:[email protected]">hivemind-dev-= [email protected]</a><br> &gt; For additional commands, e-mail: <a href=3D"mailto:[email protected]">hivemind-dev-help@ja= karta.apache.org</a><br> &gt;<br> &gt;<br> <br> <br> --<br> Howard M. Lewis Ship<br> Independent J2EE / Open-Source Java Consultant<br> Creator and PMC Chair, Apache Tapestry<br> Creator, <st1:City w:st=3D"on"><st1:place = w:st=3D"on">Jakarta</st1:place></st1:City> HiveMind<br> <br> Professional Tapestry training, mentoring, support<br> and project work.&nbsp;&nbsp;<a = href=3D"http://howardlewisship.com">http://howardlewisship.com</a><br> <br> <o:p></o:p></span></font></p> </div> <p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 = face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p> </div> </body> </html> ------=_NextPart_000_00BA_01C6B531.9F5C2940-- From [email protected] Tue Aug 01 22:04:54 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73675 invoked from network); 1 Aug 2006 22:04:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Aug 2006 22:04:53 -0000 Received: (qmail 53968 invoked by uid 500); 1 Aug 2006 22:04:53 -0000 Delivered-To: [email protected] Received: (qmail 53957 invoked by uid 500); 1 Aug 2006 22:04:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 53948 invoked by uid 99); 1 Aug 2006 22:04:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Aug 2006 15:04:53 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO talk.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Aug 2006 15:04:51 -0700 Received: from [161.129.204.104] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1G82Lm-0001dD-QM for [email protected]; Tue, 01 Aug 2006 15:04:30 -0700 Message-ID: <[email protected]> Date: Tue, 1 Aug 2006 15:04:30 -0700 (PDT) From: kaushal <[email protected]> To: [email protected] Subject: Problem with Javassist to look up core class MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-Sender: [email protected] X-Nabble-From: kaushal <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I am using ikvm to convert jave code to dll file. This java code uses some thirdparty jar files (eg. log4j.jar, hibernate.jar etc). I use ikvmc to create .dll file. There is no problem with creating dll. Then, I am calling some function of that dll from the C# sharp code. I am using Mono to compile and run C# code. But it gives me following error. org.apache.hivemind.ApplicationRuntimeException: Unable to create class $Runnable_10cca565a6b as subclass of java.lang.Object: Unable to lookup java.lang.Object: java.lang.Object at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingletonProxy (SingletonServiceModel.java:142) at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getService(SingletonServiceModel.java:72) at org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.java :273) at org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.java:324) at org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.java:305) at org.apache.hivemind.impl.RegistryInfrastructureImpl.getService (RegistryInfrastructureImpl.java:210) at org.apache.hivemind.impl.RegistryInfrastructureImpl.startup(RegistryInfrastructureImpl.java:437) at org.apache.hivemind.impl.RegistryBuilder.constructRegistry (RegistryBuilder.java:139) at com.quartetfs.fwk.container.hivemind.Registry.buildRegistry(Registry.java:93) at com.quartetfs.fwk.container.hivemind.Registry.<init>(Registry.java:44) at java.lang.reflect.Method.Invoke(Method.java) at java.lang.reflect.Constructor.newInstance(Constructor.java:347) at com.quartetfs.fwk.container.Registry.createRegistry(Registry.java:45) at com.quartetfs.fwk.container.Registry.createRegistry(Registry.java:33) at com.quartetfs.fwk.container.Registry.init(Registry.java:53) at com.quartetfs.fwk.container.Registry.getRegistry(Registry.java :67) at cli.HelloWorld.Main(Unknown Source) Caused by: org.apache.hivemind.ApplicationRuntimeException: Unable to create class $Runnable_10cca565a6b as subclass of java.lang.Object: Unable to lookup java.lang.Object : java.lang.Object at org.apache.hivemind.service.impl.ClassFactoryImpl.newClass(ClassFactoryImpl.java:49) at org.apache.hivemind.impl.ProxyBuilder.<init>(ProxyBuilder.java) at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingletonProxyClass (SingletonServiceModel.java:192) ... 17 more Caused by: org.apache.hivemind.ApplicationRuntimeException: Unable to lookup java.lang.Object: java.lang.Object at org.apache.hivemind.service.impl.CtClassSource.getCtClass (CtClassSource.java:41) at org.apache.hivemind.service.impl.CtClassSource.newClass(CtClassSource.java:62) ... 20 more Caused by: javassist.NotFoundException: java.lang.Object at javassist.ClassPool.get (ClassPool.java:295) ... 22 more C:\sample> Thanks in advance for your help. Kaushal -- View this message in context: http://www.nabble.com/Problem-with-Javassist-to-look-up-core-class-tf2036568.html#a5604098 Sent from the HiveMind - Dev [email protected]. From [email protected] Wed Aug 02 07:46:34 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69228 invoked from network); 2 Aug 2006 07:46:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Aug 2006 07:46:34 -0000 Received: (qmail 95980 invoked by uid 500); 2 Aug 2006 07:46:34 -0000 Delivered-To: [email protected] Received: (qmail 95859 invoked by uid 500); 2 Aug 2006 07:46:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 95850 invoked by uid 99); 2 Aug 2006 07:46:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Aug 2006 00:46:34 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,MAILTO_TO_SPAM_ADDR,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Aug 2006 00:46:33 -0700 Received: by ug-out-1314.google.com with SMTP id j40so281550ugd for <[email protected]>; Wed, 02 Aug 2006 00:46:12 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BObOvyTLktUF0/0b1XnYhDYjqIANNJofpcW+i7/KYW9c7gnbAqkDmqrsr/I61WIB9osGrGAAq9LB+nfZ1SeEqzlKHSvH8zCYSrDSaPwrmv3jvANxETQ92RX0I5cxCylzDGEeVwNiHsBOjyd7OuyI8YDwSfs8sqZvsbDoLV4bSUI= Received: by 161.129.204.104 with SMTP id c12mr678061ugm; Wed, 02 Aug 2006 00:46:11 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 2 Aug 2006 00:46:11 -0700 (PDT) Message-ID: <[email protected]> Date: Wed, 2 Aug 2006 09:46:11 +0200 From: "Knut Wannheden" <[email protected]> To: [email protected] Subject: Re: Problem with Javassist to look up core class In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Kaushal, This is a class loader issue. Javassist isn't finding the java.lang.Object class. It is configured with a classloader which should have the system class loader as its parent. So either that isn't the case or java.lang.Object isn't found by the system class loader. Try setting up the thread's context class loader before constructing the HiveMind registry. Use the class loader which loaded the HiveMind classes or the java.lang.Object class. E.g. Thread.currentThread().setContextClassLoader(RegistryBuilder.class.getClassLoader()); HTH, --knut On 8/2/06, kaushal <[email protected]> wrote: > > I am using ikvm to convert jave code to dll file. This java code uses some > thirdparty jar files (eg. log4j.jar, hibernate.jar etc). I use ikvmc to > create .dll file. There is no problem with creating dll. > Then, I am calling some function of that dll from the C# sharp code. I am > using Mono to compile and run C# code. But it gives me following error. > > org.apache.hivemind.ApplicationRuntimeException: Unable to create class > $Runnable_10cca565a6b as subclass of java.lang.Object: Unable to lookup > java.lang.Object: java.lang.Object > at > org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingletonProxy > (SingletonServiceModel.java:142) > at > org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getService(SingletonServiceModel.java:72) > at > org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.java > :273) > at > org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.java:324) > at > org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.java:305) > at org.apache.hivemind.impl.RegistryInfrastructureImpl.getService > (RegistryInfrastructureImpl.java:210) > at > org.apache.hivemind.impl.RegistryInfrastructureImpl.startup(RegistryInfrastructureImpl.java:437) > at org.apache.hivemind.impl.RegistryBuilder.constructRegistry > (RegistryBuilder.java:139) > at > com.quartetfs.fwk.container.hivemind.Registry.buildRegistry(Registry.java:93) > at > com.quartetfs.fwk.container.hivemind.Registry.<init>(Registry.java:44) > at java.lang.reflect.Method.Invoke(Method.java) > at java.lang.reflect.Constructor.newInstance(Constructor.java:347) > at > com.quartetfs.fwk.container.Registry.createRegistry(Registry.java:45) > at > com.quartetfs.fwk.container.Registry.createRegistry(Registry.java:33) > at com.quartetfs.fwk.container.Registry.init(Registry.java:53) > at com.quartetfs.fwk.container.Registry.getRegistry(Registry.java > :67) > at cli.HelloWorld.Main(Unknown Source) > Caused by: org.apache.hivemind.ApplicationRuntimeException: Unable to create > class $Runnable_10cca565a6b as subclass of java.lang.Object: Unable to > lookup java.lang.Object : java.lang.Object > at > org.apache.hivemind.service.impl.ClassFactoryImpl.newClass(ClassFactoryImpl.java:49) > at org.apache.hivemind.impl.ProxyBuilder.<init>(ProxyBuilder.java) > at > org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingletonProxyClass > (SingletonServiceModel.java:192) > ... 17 more > Caused by: org.apache.hivemind.ApplicationRuntimeException: Unable to lookup > java.lang.Object: java.lang.Object > at org.apache.hivemind.service.impl.CtClassSource.getCtClass > (CtClassSource.java:41) > at > org.apache.hivemind.service.impl.CtClassSource.newClass(CtClassSource.java:62) > ... 20 more > Caused by: javassist.NotFoundException: java.lang.Object > at javassist.ClassPool.get (ClassPool.java:295) > ... 22 more > C:\sample> > > Thanks in advance for your help. > > Kaushal > -- > View this message in context: http://www.nabble.com/Problem-with-Javassist-to-look-up-core-class-tf2036568.html#a5604098 > Sent from the HiveMind - Dev [email protected]. > > From [email protected] Wed Aug 02 09:36:48 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11199 invoked from network); 2 Aug 2006 09:36:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Aug 2006 09:36:48 -0000 Received: (qmail 45617 invoked by uid 500); 2 Aug 2006 09:36:47 -0000 Delivered-To: [email protected] Received: (qmail 45559 invoked by uid 500); 2 Aug 2006 09:36:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 45547 invoked by uid 500); 2 Aug 2006 09:36:47 -0000 Delivered-To: [email protected] Received: (qmail 45532 invoked by uid 99); 2 Aug 2006 09:36:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Aug 2006 02:36:47 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Aug 2006 02:36:46 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id DEBC8410021 for <[email protected]>; Wed, 2 Aug 2006 09:34:13 +0000 (GMT) Message-ID: <11781155.1154511253910.JavaMail.jira@brutus> Date: Wed, 2 Aug 2006 02:34:13 -0700 (PDT) From: "Marcus Schulte (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (HIVEMIND-180) Maven2 POM on ibiblio lacks dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Maven2 POM on ibiblio lacks dependencies ---------------------------------------- Key: HIVEMIND-180 URL: http://issues.apache.org/jira/browse/HIVEMIND-180 Project: HiveMind Issue Type: Bug Components: framework Affects Versions: 1.1.1 Reporter: Marcus Schulte Priority: Minor The POM has no dependencies specified. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Aug 02 09:56:12 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18856 invoked from network); 2 Aug 2006 09:56:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Aug 2006 09:56:12 -0000 Received: (qmail 82178 invoked by uid 500); 2 Aug 2006 09:56:12 -0000 Delivered-To: [email protected] Received: (qmail 82061 invoked by uid 500); 2 Aug 2006 09:56:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 82052 invoked by uid 500); 2 Aug 2006 09:56:12 -0000 Delivered-To: [email protected] Received: (qmail 82049 invoked by uid 99); 2 Aug 2006 09:56:12 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Aug 2006 02:56:12 -0700 Date: Wed, 02 Aug 2006 02:51:46 PDT From: [email protected] To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-hivemind-compile (in module jakarta-hivemind) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-hivemind-compile has an issue affecting its community integration, and has been outstanding for 69 runs. The current state of this project is 'Failed', with reason 'Update Failed'. Full details are available at: http://vmgump.apache.org/gump/public/jakarta-hivemind/jakarta-hivemind-compile/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason update failed To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-hivemind/jakarta-hivemind-compile/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-hivemind/jakarta-hivemind-compile/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 21000002082006, vmgump.apache.org:vmgump-public:21000002082006 Gump E-mail Identifier (unique within run) #26. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] From [email protected] Wed Aug 02 13:34:45 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5224 invoked from network); 2 Aug 2006 13:34:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Aug 2006 13:34:45 -0000 Received: (qmail 85941 invoked by uid 500); 2 Aug 2006 13:34:45 -0000 Delivered-To: [email protected] Received: (qmail 85924 invoked by uid 500); 2 Aug 2006 13:34:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 85915 invoked by uid 99); 2 Aug 2006 13:34:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Aug 2006 06:34:44 -0700 X-ASF-Spam-Status: No, hits=1.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS,TRACKER_ID X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wx-out-0102.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Aug 2006 06:34:44 -0700 Received: by wx-out-0102.google.com with SMTP id s16so723210wxc for <[email protected]>; Wed, 02 Aug 2006 06:34:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=hjJZ8QJQ9LGTSwexSC4vDAubptVAC9O8pCQaE/cohU3lz+SSLtErBDuyFwhkrK3mapF7P5qN2SRN9tusadVbEIbXxSujJ/43NBi6KF7zpM5gg2va/yBIaqmQNaA4H0RfIHXLfVBJR0HbcyjdhBs1WQhZsthtuHL1hMhh5IAFx0E= Received: by 161.129.204.104 with SMTP id g10mr332961hud; Wed, 02 Aug 2006 06:34:22 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 2 Aug 2006 06:34:22 -0700 (PDT) Message-ID: <[email protected]> Date: Wed, 2 Aug 2006 15:34:22 +0200 From: "Davor Hrg" <[email protected]> To: [email protected], [email protected] Subject: RegistryShutdownListener MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13390_2444932.1154525662317" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_13390_2444932.1154525662317 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline If a service implements RegistryShutdownListener and is created without using an interface in service definition (interface is the actual class) <service-point id="MyService" interface="mypackage.MyService"> ...... <invoke-factory model="singleton"> <construct class="mypackage.MyService"> .... </service-point> registryDidShutdown will be called twice once on registry shutdown org.apache.hivemind.impl.RegistryInfrastructureImpl 371: coordinatorService.shutdown(); and second time for proxy shutdown org.apache.hivemind.impl.RegistryInfrastructureImpl 379: _shutdownCoordinator.shutdown(); I'm not arguing if this is ok or not, just that it should be mentioned in documentation. (or hopefully someone with this problem will find this mail in archives) Davor Hrg ------=_Part_13390_2444932.1154525662317 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline If a service implements RegistryShutdownListener<br> and is created without using an interface in service definition<br> (interface is the actual class)<br> &nbsp;&nbsp;&nbsp; &lt;service-point id=&quot;MyService&quot; interface=&quot;mypackage.MyService&quot;&gt;<br> &nbsp;......<br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;invoke-factory model=&quot;singleton&quot;&gt;<br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;construct class=&quot;mypackage.MyService&quot;&gt;<br> &nbsp;&nbsp;&nbsp; ....<br> &lt;/service-point&gt;<br> <br> <br> <br> <br> registryDidShutdown will be called twice<br> once on registry shutdown<br> <br> org.apache.hivemind.impl.RegistryInfrastructureImpl<br> 371:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; coordinatorService.shutdown();<br> <br> and second time for proxy shutdown<br> <br> org.apache.hivemind.impl.RegistryInfrastructureImpl<br> 379: &nbsp;&nbsp;&nbsp;&nbsp; _shutdownCoordinator.shutdown();<br> <br> <br> I'm not arguing if this is ok or not, just that it should be mentioned<br> in documentation. (or hopefully someone with this problem will find this mail in archives)<br> <br> <br> Davor Hrg<br> ------=_Part_13390_2444932.1154525662317-- From [email protected] Wed Aug 02 16:01:13 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59612 invoked from network); 2 Aug 2006 16:01:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Aug 2006 16:01:13 -0000 Received: (qmail 99245 invoked by uid 500); 2 Aug 2006 16:01:13 -0000 Delivered-To: [email protected] Received: (qmail 99127 invoked by uid 500); 2 Aug 2006 16:01:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99113 invoked by uid 99); 2 Aug 2006 16:01:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Aug 2006 09:01:12 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO talk.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Aug 2006 09:01:11 -0700 Received: from [161.129.204.104] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1G8J9P-0002xY-DJ for [email protected]; Wed, 02 Aug 2006 09:00:51 -0700 Message-ID: <[email protected]> Date: Wed, 2 Aug 2006 09:00:51 -0700 (PDT) From: kaushal <[email protected]> To: [email protected] Subject: Re: Problem with Javassist to look up core class In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-Sender: [email protected] X-Nabble-From: kaushal <[email protected]> References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Knut, Thanks for your reply. Code that i have works fine in java. it throws the exception when i try to call it from C# function. Thanks kaushal -- View this message in context: http://www.nabble.com/Problem-with-Javassist-to-look-up-core-class-tf2036568.html#a5616843 Sent from the HiveMind - Dev [email protected]. From [email protected] Wed Aug 02 16:03:31 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60714 invoked from network); 2 Aug 2006 16:03:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Aug 2006 16:03:31 -0000 Received: (qmail 6547 invoked by uid 500); 2 Aug 2006 16:03:30 -0000 Delivered-To: [email protected] Received: (qmail 6540 invoked by uid 500); 2 Aug 2006 16:03:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6531 invoked by uid 99); 2 Aug 2006 16:03:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Aug 2006 09:03:30 -0700 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=MAILTO_TO_SPAM_ADDR X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO carmanconsulting.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Aug 2006 09:03:29 -0700 Received: from CARMANI9300 (carmanconsulting.com [161.129.204.104]) by carmanconsulting.com (8.13.7/8.13.6) with ESMTP id k72G2wPj012746 for <[email protected]>; Wed, 2 Aug 2006 12:03:06 -0400 From: "James Carman" <[email protected]> To: <[email protected]> Subject: RE: Problem with Javassist to look up core class Date: Wed, 2 Aug 2006 12:03:08 -0400 Message-ID: <008901c6b64d$2803c2f0$6801a8c0@CARMANI9300> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <[email protected]> Thread-Index: Aca2TOV0XI+2pw1/RoCQz/XnEAPR8AAACDJw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Well, it'd be kind of hard to debug what you're doing. I, myself, am not familiar with what kind of environment is created when you generate those DLLs from Java code. I don't know if all the same facilities are available (thread context classloader for example). -----Original Message----- From: kaushal [mailto:[email protected]] Sent: Wednesday, August 02, 2006 12:01 PM To: [email protected] Subject: Re: Problem with Javassist to look up core class Hi Knut, Thanks for your reply. Code that i have works fine in java. it throws the exception when i try to call it from C# function. Thanks kaushal -- View this message in context: http://www.nabble.com/Problem-with-Javassist-to-look-up-core-class-tf2036568 .html#a5616843 Sent from the HiveMind - Dev [email protected]. From [email protected] Wed Aug 02 19:21:44 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46165 invoked from network); 2 Aug 2006 19:21:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Aug 2006 19:21:44 -0000 Received: (qmail 94342 invoked by uid 500); 2 Aug 2006 19:21:44 -0000 Delivered-To: [email protected] Received: (qmail 94308 invoked by uid 500); 2 Aug 2006 19:21:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 47573 invoked by uid 500); 2 Aug 2006 19:07:03 -0000 Delivered-To: [email protected] X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Message-ID: <[email protected]> Date: Wed, 02 Aug 2006 13:05:30 -0600 From: Ryan Slack <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20060605) MIME-Version: 1.0 To: [email protected] Subject: 1.5 enum translator Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.86.2/1293/Sun Feb 19 09:40:25 2006 on green.evine.ca X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I thought the following translator for Java 1.5 Enum might find a place in either the framework or library. The only catch is that it must be complied with a 1.5 jdk (calls java.lang.Enum.valueOf), although it will work with -source 1.1. Is HiveMind is required to compile with a 1.4/3/2 jkd? Anyway, do with what you will. --Ryan Slack import org.apache.hivemind.schema.Translator; import org.apache.hivemind.internal.Module; import org.apache.hivemind.Location; import org.apache.hivemind.ApplicationRuntimeException; public class EnumTranslator implements Translator{ public java.lang.Object translate(Module contributingModule, java.lang.Class propertyType, java.lang.String inputValue, Location location){ try{ return java.lang.Enum.valueOf(propertyType,inputValue); }catch(IllegalArgumentException ex){ throw new ApplicationRuntimeException(ex.getMessage(),location,ex); }catch(NullPointerException ex){ if(propertyType==null){ throw new ApplicationRuntimeException("no Enum type provied",location,ex); }else if(inputValue==null){ throw new ApplicationRuntimeException("null is not an Enum",location,ex); } } return null; //should not be reachable. Maybe throw a RuntimeException? } } From [email protected] Thu Aug 03 07:18:47 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44782 invoked from network); 3 Aug 2006 07:18:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Aug 2006 07:18:47 -0000 Received: (qmail 93956 invoked by uid 500); 3 Aug 2006 07:18:39 -0000 Delivered-To: [email protected] Received: (qmail 93918 invoked by uid 500); 3 Aug 2006 07:18:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 93888 invoked by uid 99); 3 Aug 2006 07:18:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2006 00:18:39 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail.gmx.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 03 Aug 2006 00:18:38 -0700 Received: (qmail invoked by alias); 03 Aug 2006 07:18:14 -0000 Received: from unknown (EHLO [161.129.204.104]) [161.129.204.104] by mail.gmx.net (mp012) with SMTP; 03 Aug 2006 09:18:14 +0200 X-Authenticated: #18751065 Message-ID: <[email protected]> Date: Thu, 03 Aug 2006 09:21:22 +0200 From: =?ISO-8859-1?Q?Achim_H=FCgen?= <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20060719) MIME-Version: 1.0 To: [email protected] Subject: Re: 1.5 enum translator References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Jdk 1.4 is used for building the distributions. I don't know if it is possible to compile with jdk 1.5 for use with jdk 1.4. There can be subtle problems. For example parts of hivemind are not compatible with jdk 1.3 although 1.3 compatibility mode was used. Achim Ryan Slack schrieb: > I thought the following translator for Java 1.5 Enum might find a place > in either the framework or library. The only catch is that it must be > complied with a 1.5 jdk (calls java.lang.Enum.valueOf), although it will > work with -source 1.1. Is HiveMind is required to compile with a 1.4/3/2 > jkd? Anyway, do with what you will. > > --Ryan Slack > > > import org.apache.hivemind.schema.Translator; > import org.apache.hivemind.internal.Module; > import org.apache.hivemind.Location; > import org.apache.hivemind.ApplicationRuntimeException; > > public class EnumTranslator implements Translator{ > public java.lang.Object translate(Module contributingModule, > java.lang.Class propertyType, > java.lang.String inputValue, > Location location){ > try{ > return java.lang.Enum.valueOf(propertyType,inputValue); > }catch(IllegalArgumentException ex){ > throw new ApplicationRuntimeException(ex.getMessage(),location,ex); > }catch(NullPointerException ex){ > if(propertyType==null){ > throw new ApplicationRuntimeException("no Enum type > provied",location,ex); > }else if(inputValue==null){ > throw new ApplicationRuntimeException("null is not an > Enum",location,ex); > } > } > return null; //should not be reachable. Maybe throw a RuntimeException? > } > } > > > From [email protected] Thu Aug 03 09:04:51 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87166 invoked from network); 3 Aug 2006 09:04:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Aug 2006 09:04:51 -0000 Received: (qmail 34194 invoked by uid 500); 3 Aug 2006 09:04:51 -0000 Delivered-To: [email protected] Received: (qmail 34081 invoked by uid 500); 3 Aug 2006 09:04:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34072 invoked by uid 500); 3 Aug 2006 09:04:51 -0000 Delivered-To: [email protected] Received: (qmail 34069 invoked by uid 99); 3 Aug 2006 09:04:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2006 02:04:50 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2006 02:04:50 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id DE37741000F for <[email protected]>; Thu, 3 Aug 2006 09:02:15 +0000 (GMT) Message-ID: <23647041.1154595735907.JavaMail.jira@brutus> Date: Thu, 3 Aug 2006 02:02:15 -0700 (PDT) From: "Knut Wannheden (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (HIVEMIND-124) Report a proper message when a constructor argument in BuilderFactory is invalid In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HIVEMIND-124?page=all ] Knut Wannheden resolved HIVEMIND-124. ------------------------------------- Fix Version/s: 1.1 Resolution: Fixed BuilderFactory will now report any exceptions generated by the Translators. > Report a proper message when a constructor argument in BuilderFactory is invalid > -------------------------------------------------------------------------------- > > Key: HIVEMIND-124 > URL: http://issues.apache.org/jira/browse/HIVEMIND-124 > Project: HiveMind > Issue Type: Bug > Components: framework > Reporter: Richard Hensley > Fix For: 1.1 > > Attachments: patch.txt, patch_with_smarttranslator_specialcase.txt > > > My situation is that I use constructor arguments for all my required parameters of objects. The code inside of the BuilderFactoryLogic uses the BuilderPropertyFactet.isAssignableFrom() method to figure out if a particular parameter in a constructor is right. The BuilderPropertyFactet.isAssignableFrom() eats an ApplicationRuntimeException and returns false. This is bad when you miss-spell a service name, for instance: > <service>service:MyServic</service> > When you meant, > <service>service:MyService</service> > The error that Hivemind throws is that it had trouble finding a valid constructor, when the real problem was that it had problems finding your service to even check if the constructor was valid. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu Aug 03 09:10:56 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89923 invoked from network); 3 Aug 2006 09:10:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Aug 2006 09:10:55 -0000 Received: (qmail 44325 invoked by uid 500); 3 Aug 2006 09:10:52 -0000 Delivered-To: [email protected] Received: (qmail 43810 invoked by uid 500); 3 Aug 2006 09:10:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 43713 invoked by uid 500); 3 Aug 2006 09:10:50 -0000 Delivered-To: [email protected] Received: (qmail 43710 invoked by uid 99); 3 Aug 2006 09:10:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2006 02:10:50 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2006 02:10:49 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 4577741000D for <[email protected]>; Thu, 3 Aug 2006 09:08:15 +0000 (GMT) Message-ID: <17155188.1154596095281.JavaMail.jira@brutus> Date: Thu, 3 Aug 2006 02:08:15 -0700 (PDT) From: "Knut Wannheden (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (HIVEMIND-161) ThreadLocal object is never removed in ThreadEventNotifierImpl and holds the classloader In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HIVEMIND-161?page=all ] Knut Wannheden resolved HIVEMIND-161. ------------------------------------- Fix Version/s: 1.1.1 Resolution: Fixed > ThreadLocal object is never removed in ThreadEventNotifierImpl and holds the classloader > ---------------------------------------------------------------------------------------- > > Key: HIVEMIND-161 > URL: http://issues.apache.org/jira/browse/HIVEMIND-161 > Project: HiveMind > Issue Type: Bug > Components: framework > Affects Versions: 1.1 > Environment: Tomcat 5.5.12, J2SE 1.6 Mustang build 62, Win XP SP2 > Reporter: Kyrill Alyoshin > Assigned To: Howard M. Lewis Ship > Priority: Critical > Fix For: 1.1.1 > > Attachments: hivemind-threadlocals.pdf > > > The following prevents the web application classloader from being garbage collected on hot redeploys of web applications. > Please note that the issue is present on J2SE 1.5 as well. I use 1.6 only because it has far better support for JVMTI and as such the issue was easy to discover with YourKit profiler. Here it is: > 1. org.apache.hivemind.service.impl.ThreadEventNotifierImpl puts EventListenerList ("list" variable) on its private ThreadLocal "_storage" variable in addThreadCleanupListener method. > 2. No where in that class does the actual list gets removed from ThreadLocal. > Thus, the WebappClassLoader cannot be garbage collected because one of the object that it loaded (i.e. EventListenerList) is strongly referenced by live threads in the container, which leads to huge memory leaks on hot-redeploys. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu Aug 03 09:10:56 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89981 invoked from network); 3 Aug 2006 09:10:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Aug 2006 09:10:55 -0000 Received: (qmail 44460 invoked by uid 500); 3 Aug 2006 09:10:54 -0000 Delivered-To: [email protected] Received: (qmail 44449 invoked by uid 500); 3 Aug 2006 09:10:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 44429 invoked by uid 500); 3 Aug 2006 09:10:53 -0000 Delivered-To: [email protected] Received: (qmail 44420 invoked by uid 99); 3 Aug 2006 09:10:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2006 02:10:53 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2006 02:10:52 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 237D4410012 for <[email protected]>; Thu, 3 Aug 2006 09:08:18 +0000 (GMT) Message-ID: <15710114.1154596098141.JavaMail.jira@brutus> Date: Thu, 3 Aug 2006 02:08:18 -0700 (PDT) From: "Knut Wannheden (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HIVEMIND-162) Performance bottleneck with threaded services MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HIVEMIND-162?page=all ] Knut Wannheden updated HIVEMIND-162: ------------------------------------ Fix Version/s: 1.1.1 (was: 1.2) > Performance bottleneck with threaded services > --------------------------------------------- > > Key: HIVEMIND-162 > URL: http://issues.apache.org/jira/browse/HIVEMIND-162 > Project: HiveMind > Issue Type: Bug > Components: framework > Affects Versions: 1.1 > Environment: Linux 161.129.204.104, JBoss 4.0.3, Tomcat 5.5 > Quad Xeon 3.2GHz, 1GB RAM > Reporter: Jeff Lubetkin > Assigned To: Howard M. Lewis Ship > Fix For: 1.1.1 > > Attachments: hivemind-1.2-alpha-1.jar > > > Note: This may be better classified as a Hivemind issue, but it's affecting Tapestry throughput so I'm putting it here. > We've been running some perf tests using the Grinder (with 20 threads) generating as much load as possible on a single non-trivial page. The page doesn't touch many of our biz logic services, but does have some complex componentry to render. > We were seeing performance ramp just fine until we reached about 200TPS, using only 50% CPU. No matter how many clients we threw at it, we couldn't get it any higher. A thread dump showed that most threads were bottlenecked on a synchronized method in HiveMind (servicemodel.ThreadedServiceModel.constructServiceForCurrentThread, see Stack #1 below). This was the construction of the threaded ClientPropertyPersistenceStrategy service. Since we don't use the client strategy, I did a little hivemodule.xml magic and got rid of it from the PersistenceStrategy configuration. This gave us a huge increase in throughput, up to 490TPS still using only about 50% CPU, but we still bottlenecked. Again, a threaddump showed the culprit as constructServiceForCurrentThread, this time in the storage of the RequestGlobals (see Stack #2). We can't remove this service, so we've hit a ceiling. > Until either Tapestry changes its usage of threaded services, or Hivemind is changed to not synchronize in this way, this looks like a ceiling for Tapestry performance. It'd be nice to be able to use all of the CPU on the box :) > ================== STACK #1 ================== > [java] "http-161.129.204.104-8080-7" daemon prio=1 tid=0x6eaf62e0 nid=0x1261 waiting for monitor entry [0x6f69f000..0x6f6a0 > 840] > [java] at org.apache.hivemind.impl.servicemodel.ThreadedServiceModel.constructServiceForCurrentThread(ThreadedS > erviceModel.java:166) > [java] - waiting to lock <0x4e861d88> (a org.apache.hivemind.impl.servicemodel.ThreadedServiceModel) > [java] at org.apache.hivemind.impl.servicemodel.ThreadedServiceModel.getServiceImplementationForCurrentThread(T > hreadedServiceModel.java:157) > [java] at $PropertyPersistenceStrategy_107fc3dfcff._service($PropertyPersistenceStrategy_107fc3dfcff.java) > [java] at $PropertyPersistenceStrategy_107fc3dfcff.getStoredChanges($PropertyPersistenceStrategy_107fc3dfcff.ja > va) > [java] at $PropertyPersistenceStrategy_107fc3dfd00.getStoredChanges($PropertyPersistenceStrategy_107fc3dfd00.ja > va) > [java] at org.apache.tapestry.record.PropertyPersistenceStrategySourceImpl.getAllStoredChanges(PropertyPersiste > nceStrategySourceImpl.java:73) > [java] at $PropertyPersistenceStrategySource_107fc3dfc3c.getAllStoredChanges($PropertyPersistenceStrategySource > _107fc3dfc3c.java) > [java] at org.apache.tapestry.record.PageRecorderImpl.getChanges(PageRecorderImpl.java:68) > [java] at org.apache.tapestry.record.PageRecorderImpl.rollback(PageRecorderImpl.java:73) > [java] at org.apache.tapestry.engine.RequestCycle.loadPage(RequestCycle.java:277) > [java] at org.apache.tapestry.engine.RequestCycle.getPage(RequestCycle.java:249) > [java] at org.apache.tapestry.engine.RequestCycle.activate(RequestCycle.java:612) > [java] at org.apache.tapestry.engine.PageService.service(PageService.java:66) > [java] at $IEngineService_107fc3dfc4c.service($IEngineService_107fc3dfc4c.java) > [java] at org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(EngineServiceOuterProxy.java:65) > [java] at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:248) > [java] at org.apache.tapestry.services.impl.InvokeEngineTerminator.service(InvokeEngineTerminator.java:60) > [java] at $WebRequestServicer_107fc3dfc28.service($WebRequestServicer_107fc3dfc28.java) > [java] at $WebRequestServicer_107fc3dfc24.service($WebRequestServicer_107fc3dfc24.java) > [java] at org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service(WebRequestServicerPipeline > Bridge.java:56) > [java] etc... > ================== STACK #2 ================== > [java] "http-161.129.204.104-8080-52" daemon prio=1 tid=0x89613328 nid=0x20a9 waiting for monitor entry [0x86d7e000..0x86d7 > f740] > [java] at org.apache.hivemind.impl.servicemodel.ThreadedServiceModel.constructServiceForCurrentThread(ThreadedS > erviceModel.java:166) > [java] - waiting to lock <0x9503a218> (a org.apache.hivemind.impl.servicemodel.ThreadedServiceModel) > [java] at org.apache.hivemind.impl.servicemodel.ThreadedServiceModel.getServiceImplementationForCurrentThread(T > hreadedServiceModel.java:157) > [java] at $RequestGlobals_1080261890e._service($RequestGlobals_1080261890e.java) > [java] at $RequestGlobals_1080261890e.store($RequestGlobals_1080261890e.java) > [java] at $RequestGlobals_1080261890f.store($RequestGlobals_1080261890f.java) > [java] at org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service(WebRequestServicerPipeline > Bridge.java:49) > [java] at $ServletRequestServicer_108026188f4.service($ServletRequestServicer_108026188f4.java) > [java] at org.apache.tapestry.request.DecodedRequestInjector.service(DecodedRequestInjector.java:55) > [java] at $ServletRequestServicerFilter_108026188f0.service($ServletRequestServicerFilter_108026188f0.java) > [java] at $ServletRequestServicer_108026188f6.service($ServletRequestServicer_108026188f6.java) > [java] at org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecoderFilter.java:52) > [java] at $ServletRequestServicerFilter_108026188ee.service($ServletRequestServicerFilter_108026188ee.java) > [java] at $ServletRequestServicer_108026188f6.service($ServletRequestServicer_108026188f6.java) > [java] at org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestEncoding.java:53) > [java] at $ServletRequestServicerFilter_108026188f2.service($ServletRequestServicerFilter_108026188f2.java) > [java] at $ServletRequestServicer_108026188f6.service($ServletRequestServicer_108026188f6.java) > [java] at $ServletRequestServicer_108026188e8.service($ServletRequestServicer_108026188e8.java) > [java] at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:123) > [java] at com.zillow.web.ZillowServlet.doService(ZillowServlet.java:35) > [java] at org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:79) > [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) > [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) > [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > [java] etc... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu Aug 03 10:47:50 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20342 invoked from network); 3 Aug 2006 10:47:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Aug 2006 10:47:50 -0000 Received: (qmail 80992 invoked by uid 500); 3 Aug 2006 10:47:50 -0000 Delivered-To: [email protected] Received: (qmail 80877 invoked by uid 500); 3 Aug 2006 10:47:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 80868 invoked by uid 500); 3 Aug 2006 10:47:49 -0000 Delivered-To: [email protected] Received: (qmail 80865 invoked by uid 99); 3 Aug 2006 10:47:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2006 03:47:49 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2006 03:47:49 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id BD3AF41000F for <[email protected]>; Thu, 3 Aug 2006 10:45:14 +0000 (GMT) Message-ID: <31905272.1154601914772.JavaMail.jira@brutus> Date: Thu, 3 Aug 2006 03:45:14 -0700 (PDT) From: "Knut Wannheden (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (HIVEMIND-178) Allow Conditional Contributions based on symbols (from SymbolSources) In-Reply-To: <7410054.1150888229792.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HIVEMIND-178?page=comments#action_12425488 ] Knut Wannheden commented on HIVEMIND-178: ----------------------------------------- Currently the contribution condition expressions as evaluated and applied at registry construction time. At this time the symbol sources have not been initialized and are hence not availiable. Thus your enhancement request would mean a rather big change. As an alternative you might want to consider manually reading the file and setting corresponding system properties before constructing the registry. If this is satisfactory for your development/testing purposes we would probably close this issue for now. > Allow Conditional Contributions based on symbols (from SymbolSources) > --------------------------------------------------------------------- > > Key: HIVEMIND-178 > URL: http://issues.apache.org/jira/browse/HIVEMIND-178 > Project: HiveMind > Issue Type: New Feature > Components: framework > Reporter: Paul Field > > Conditional Contributions are really handy during testing and I now have a number of features that I can turn on or off during development/testing. However, now there are several options, it's not particularly convenient to configure them through system properties; it would be nicer to have a single file containing all the flags. > I can create this single file and expose it as a SymbolSource, but conditional contributions cannot use the value of a symbol from a SymbolSource. > Please could you enhance the conditional contribution expressions to allow me to specify the name of a symbol from a SymbolSource. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu Aug 03 11:05:52 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31973 invoked from network); 3 Aug 2006 11:05:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Aug 2006 11:05:52 -0000 Received: (qmail 12072 invoked by uid 500); 3 Aug 2006 11:05:51 -0000 Delivered-To: [email protected] Received: (qmail 12064 invoked by uid 500); 3 Aug 2006 11:05:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 12052 invoked by uid 500); 3 Aug 2006 11:05:50 -0000 Delivered-To: [email protected] Received: (qmail 12042 invoked by uid 99); 3 Aug 2006 11:05:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2006 04:05:50 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2006 04:05:49 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 09AB5410021 for <[email protected]>; Thu, 3 Aug 2006 11:03:15 +0000 (GMT) Message-ID: <9078365.1154602995037.JavaMail.jira@brutus> Date: Thu, 3 Aug 2006 04:03:15 -0700 (PDT) From: "Knut Wannheden (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (HIVEMIND-174) Inconsistency when duplicate module names are found on classpath In-Reply-To: <61438523.1145068800216.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HIVEMIND-174?page=comments#action_12425494 ] Knut Wannheden commented on HIVEMIND-174: ----------------------------------------- HiveMind reports this error to the ErrorHandler which in your case must be a StrictErrorHandler instance since an exception is thrown. With a DefaultErrorHandler instance HiveMind would, as indicated in the message, ignore the duplicate module descriptor and continue (without throwing an exception). Can you propose a better error message? > Inconsistency when duplicate module names are found on classpath > ---------------------------------------------------------------- > > Key: HIVEMIND-174 > URL: http://issues.apache.org/jira/browse/HIVEMIND-174 > Project: HiveMind > Issue Type: Bug > Affects Versions: 1.1 > Reporter: Mark Reynolds > Priority: Minor > > When duplicate module names are found on the classpath, an ApplicationRuntimeException is thrown but the message is worded as if it is a warning. > org.apache.hivemind.ApplicationRuntimeException: Error: Module hivemind is duplicated! Definition in jar:file:/C:/tools/geronimo-1.2-SNAPSHOT/config-store/44/war/WEB-INF/lib/hivemind-1.1.jar!/META-INF/hivemodule.xml > has been ignored in favor of existing definition from jar:file:/C:/tools/geronimo-1.2-SNAPSHOT/config-store/44/war/WEB-INF/lib/hivemind-1.1.jar!/META-INF/hivemodule.xml > It seems like the it should either be changed to a logged warning or the "has been ignored in favor of..." language should be changed. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu Aug 03 11:40:50 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41724 invoked from network); 3 Aug 2006 11:40:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Aug 2006 11:40:50 -0000 Received: (qmail 37530 invoked by uid 500); 3 Aug 2006 11:40:50 -0000 Delivered-To: [email protected] Received: (qmail 37469 invoked by uid 500); 3 Aug 2006 11:40:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 37460 invoked by uid 500); 3 Aug 2006 11:40:50 -0000 Delivered-To: [email protected] Received: (qmail 37457 invoked by uid 99); 3 Aug 2006 11:40:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2006 04:40:50 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2006 04:40:49 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B8BE641000F for <[email protected]>; Thu, 3 Aug 2006 11:38:14 +0000 (GMT) Message-ID: <16780439.1154605094754.JavaMail.jira@brutus> Date: Thu, 3 Aug 2006 04:38:14 -0700 (PDT) From: "Knut Wannheden (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (HIVEMIND-170) HiveMind can be too demanding about cross-dependencies within hivemind.FactoryDefaults In-Reply-To: <2081171561.1142377552892.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HIVEMIND-170?page=comments#action_12425503 ] Knut Wannheden commented on HIVEMIND-170: ----------------------------------------- It would definitely be nice if the symbols defined within one contribution (or just part of the same symbol source) could depend on each other (provided there are no circular dependencies). But I can also see why HiveMind doesn't like this. As you say it would be nice if it at the very least indicated the line number of the problematic symbol in the error message. HiveMind could of course be even lazier about the creation of the configuration contribution objects by delaying the creation of every individual contribution element of a configuration point to the point where it is accessed in the List (using List#get(int) or Iterator#next()) as opposed to instantiate all of [email protected]. This would of course also delay the reporting of potential problems. But I think it's an interesting idea. Would it even make sense? Or should the symbol sources configuration play a special role and somehow be loaded earlier during the registry creation? > HiveMind can be too demanding about cross-dependencies within hivemind.FactoryDefaults > -------------------------------------------------------------------------------------- > > Key: HIVEMIND-170 > URL: http://issues.apache.org/jira/browse/HIVEMIND-170 > Project: HiveMind > Issue Type: Bug > Components: framework > Affects Versions: 1.1, 1.0 > Environment: HiveMind 1.1 > Reporter: Howard M. Lewis Ship > > I have the following contributions to hivemind.FactoryDefaults: > <contribution configuration-id="hivemind.FactoryDefaults"> > <default symbol="peg.host" value="localhost"/> > <default symbol="peg.port" value="8090"/> > <default symbol="peg.context" value="pe"/> > <default symbol="peg.base-url" value="http://${peg.host}:${peg.port}/${peg.context}/peg"/> > </contribution> > It seems reasonable to me that I should be able to reference other symbols defined at the same level, but I get a failure at application startup for my Tapestry application. In fact, I get an unbelievable torrent of nested exceptions, none of which point to the above XML. > etRootCause(): > org.apache.hivemind.ApplicationRuntimeException: Error at jar:file:/. . ./lib/runtime/hivemind-1.1.jar!/META-INF/hivemodule.xml, line 94, column 60: Unable to initialize service hivemind.FactoryDefaultsSymbolSource (by invoking method initializeService on org.apache.hivemind.service.impl.DefaultsSymbolSource): A recursive call to construct configuration hivemind.FactoryDefaults has occured. This indicates a cycle between one or more configurations or services. [jar:file:/. . ./lib/runtime/hivemind-1.1.jar!/META-INF/hivemodule.xml, line 94, column 60] > at org.apache.hivemind.impl.StrictErrorHandler.error(StrictErrorHandler.java:39) > at org.apache.hivemind.impl.ErrorLogImpl.error(ErrorLogImpl.java:40) > at org.apache.hivemind.service.impl.BuilderFactoryLogic.error(BuilderFactoryLogic.java:95) > at org.apache.hivemind.service.impl.BuilderFactoryLogic.invokeInitializer(BuilderFactoryLogic.java:255) > at org.apache.hivemind.service.impl.BuilderFactoryLogic.createService(BuilderFactoryLogic.java:81) > . . . > org.apache.hivemind.ApplicationRuntimeException: A recursive call to construct configuration hivemind.FactoryDefaults has occured. This indicates a cycle between one or more configurations or services. > at org.apache.hivemind.impl.ConfigurationPointImpl.constructElements(ConfigurationPointImpl.java:180) > at org.apache.hivemind.impl.ElementsInnerProxyList.inner(ElementsInnerProxyList.java:46) > at org.apache.hivemind.impl.ElementsInnerProxyList.size(ElementsInnerProxyList.java:62) > at org.apache.hivemind.impl.ElementsProxyList.size(ElementsProxyList.java:60) > at org.apache.hivemind.service.impl.DefaultsSymbolSource.initializeService(DefaultsSymbolSource.java:42) > 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 org.apache.hivemind.service.impl.BuilderFactoryLogic.findAndInvokeInitializerMethod(BuilderFactoryLogic.java:275) > at org.apache.hivemind.service.impl.BuilderFactoryLogic.invokeInitializer(BuilderFactoryLogic.java:249) > at org.apache.hivemind.service.impl.BuilderFactoryLogic.createService(BuilderFactoryLogic.java:81) > at org.apache.hivemind.service.impl.BuilderFactory.createCoreServiceImplementation(BuilderFactory.java:42) > at org.apache.hivemind.impl.InvokeFactoryServiceConstructor.constructCoreServiceImplementation(InvokeFactoryServiceConstructor.java:84) > at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructCoreServiceImplementation(AbstractServiceModelImpl.java:107) > at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructNewServiceImplementation(AbstractServiceModelImpl.java:157) > at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructServiceImplementation(AbstractServiceModelImpl.java:139) > at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getActualServiceImplementation(SingletonServiceModel.java:68) > at $SymbolSource_109faf781e9._service($SymbolSource_109faf781e9.java) > at $SymbolSource_109faf781e9.valueForSymbol($SymbolSource_109faf781e9.java) > at $SymbolSource_109faf781e8.valueForSymbol($SymbolSource_109faf781e8.java) > at org.apache.hivemind.impl.RegistryInfrastructureImpl.valueForSymbol(RegistryInfrastructureImpl.java:307) > at org.apache.hivemind.impl.SymbolExpander.expandSymbol(SymbolExpander.java:217) > at org.apache.hivemind.impl.SymbolExpander.expandSymbols(SymbolExpander.java:176) > at org.apache.hivemind.impl.RegistryInfrastructureImpl.expandSymbols(RegistryInfrastructureImpl.java:296) > at org.apache.hivemind.impl.ModuleImpl.expandSymbols(ModuleImpl.java:144) > at org.apache.hivemind.schema.rules.RuleUtils.processText(RuleUtils.java:110) > at org.apache.hivemind.schema.rules.ReadAttributeRule.begin(ReadAttributeRule.java:66) > at org.apache.hivemind.parse.ConversionDescriptor.begin(ConversionDescriptor.java:141) > at org.apache.hivemind.impl.SchemaElement.fireBegin(SchemaElement.java:228) > at org.apache.hivemind.impl.SchemaProcessorImpl.processElement(SchemaProcessorImpl.java:255) > at org.apache.hivemind.impl.SchemaProcessorImpl.processRootElement(SchemaProcessorImpl.java:235) > at org.apache.hivemind.impl.SchemaProcessorImpl.process(SchemaProcessorImpl.java:223) > at org.apache.hivemind.impl.ConfigurationPointImpl.processContributionElements(ConfigurationPointImpl.java:268) > at org.apache.hivemind.impl.ConfigurationPointImpl.constructElements(ConfigurationPointImpl.java:189) > at org.apache.hivemind.impl.ElementsInnerProxyList.inner(ElementsInnerProxyList.java:46) > at org.apache.hivemind.impl.ElementsInnerProxyList.size(ElementsInnerProxyList.java:62) > at org.apache.hivemind.impl.ElementsProxyList.size(ElementsProxyList.java:60) > at org.apache.hivemind.service.impl.DefaultsSymbolSource.initializeService(DefaultsSymbolSource.java:42) > 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 org.apache.hivemind.service.impl.BuilderFactoryLogic.findAndInvokeInitializerMethod(BuilderFactoryLogic.java:275) > at org.apache.hivemind.service.impl.BuilderFactoryLogic.invokeInitializer(BuilderFactoryLogic.java:249) > at org.apache.hivemind.service.impl.BuilderFactoryLogic.createService(BuilderFactoryLogic.java:81) > at org.apache.hivemind.service.impl.BuilderFactory.createCoreServiceImplementation(BuilderFactory.java:42) > at org.apache.hivemind.impl.InvokeFactoryServiceConstructor.constructCoreServiceImplementation(InvokeFactoryServiceConstructor.java:84) > at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructCoreServiceImplementation(AbstractServiceModelImpl.java:107) > at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructNewServiceImplementation(AbstractServiceModelImpl.java:157) > at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructServiceImplementation(AbstractServiceModelImpl.java:139) > at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getActualServiceImplementation(SingletonServiceModel.java:68) > at $SymbolSource_109faf781e9._service($SymbolSource_109faf781e9.java) > at $SymbolSource_109faf781e9.valueForSymbol($SymbolSource_109faf781e9.java) > at $SymbolSource_109faf781e8.valueForSymbol($SymbolSource_109faf781e8.java) > at org.apache.hivemind.impl.RegistryInfrastructureImpl.valueForSymbol(RegistryInfrastructureImpl.java:307) > at org.apache.hivemind.impl.ModuleImpl.valueForSymbol(ModuleImpl.java:186) > at org.apache.tapestry.services.impl.SymbolSourcesPropertySource.getPropertyValue(SymbolSourcesPropertySource.java:40) > at $IPropertySource_109faf781d8.getPropertyValue($IPropertySource_109faf781d8.java) > at $IPropertySource_109faf781d7.getPropertyValue($IPropertySource_109faf781d7.java) > at $IPropertySource_109faf781d9.getPropertyValue($IPropertySource_109faf781d9.java) > at $IPropertySource_109faf78199.getPropertyValue($IPropertySource_109faf78199.java) > at $IPropertySource_109faf78198.getPropertyValue($IPropertySource_109faf78198.java) > at org.apache.tapestry.services.impl.PropertyObjectProvider.provideObject(PropertyObjectProvider.java:47) > at $ObjectProvider_109faf78145.provideObject($ObjectProvider_109faf78145.java) > at $ObjectProvider_109faf78144.provideObject($ObjectProvider_109faf78144.java) > at org.apache.hivemind.service.impl.ObjectTranslator.translate(ObjectTranslator.java:75) > at $Translator_109faf7813e.translate($Translator_109faf7813e.java) > at org.apache.hivemind.service.impl.BuilderPropertyFacet.getFacetValue(BuilderPropertyFacet.java:55) > at org.apache.hivemind.service.impl.BuilderFactoryLogic.wireProperty(BuilderFactoryLogic.java:357) > at org.apache.hivemind.service.impl.BuilderFactoryLogic.setProperties(BuilderFactoryLogic.java:320) > at org.apache.hivemind.service.impl.BuilderFactoryLogic.createService(BuilderFactoryLogic.java:77) > at org.apache.hivemind.service.impl.BuilderFactory.createCoreServiceImplementation(BuilderFactory.java:42) > at org.apache.hivemind.impl.InvokeFactoryServiceConstructor.constructCoreServiceImplementation(InvokeFactoryServiceConstructor.java:84) > at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructCoreServiceImplementation(AbstractServiceModelImpl.java:107) > at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructNewServiceImplementation(AbstractServiceModelImpl.java:157) > at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructServiceImplementation(AbstractServiceModelImpl.java:139) > at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getActualServiceImplementation(SingletonServiceModel.java:68) > at $ServletRequestServicerFilter_109faf781cb._service($ServletRequestServicerFilter_109faf781cb.java) > at $ServletRequestServicerFilter_109faf781cb.service($ServletRequestServicerFilter_109faf781cb.java) > at $ServletRequestServicerFilter_109faf781ca.service($ServletRequestServicerFilter_109faf781ca.java) > at $ServletRequestServicer_109faf781ce.service($ServletRequestServicer_109faf781ce.java) > at $ServletRequestServicer_109faf781c1.service($ServletRequestServicer_109faf781c1.java) > at $ServletRequestServicer_109faf781c0.service($ServletRequestServicer_109faf781c0.java) > at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:123) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu Aug 03 12:07:31 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56343 invoked from network); 3 Aug 2006 12:07:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Aug 2006 12:07:31 -0000 Received: (qmail 7266 invoked by uid 500); 3 Aug 2006 12:07:30 -0000 Delivered-To: [email protected] Received: (qmail 7257 invoked by uid 500); 3 Aug 2006 12:07:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7248 invoked by uid 500); 3 Aug 2006 12:07:30 -0000 Delivered-To: [email protected] Received: (qmail 7245 invoked by uid 99); 3 Aug 2006 12:07:30 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2006 05:07:30 -0700 Date: Thu, 03 Aug 2006 05:02:59 PDT From: [email protected] To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-hivemind-compile (in module jakarta-hivemind) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-hivemind-compile has an issue affecting its community integration, and has been outstanding for 72 runs. The current state of this project is 'Failed', with reason 'Update Failed'. Full details are available at: http://vmgump.apache.org/gump/public/jakarta-hivemind/jakarta-hivemind-compile/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason update failed To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-hivemind/jakarta-hivemind-compile/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-hivemind/jakarta-hivemind-compile/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 19000003082006, vmgump.apache.org:vmgump-public:19000003082006 Gump E-mail Identifier (unique within run) #33. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] From [email protected] Thu Aug 03 19:01:52 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41243 invoked from network); 3 Aug 2006 19:01:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Aug 2006 19:01:52 -0000 Received: (qmail 78372 invoked by uid 500); 3 Aug 2006 19:01:52 -0000 Delivered-To: [email protected] Received: (qmail 78362 invoked by uid 500); 3 Aug 2006 19:01:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78351 invoked by uid 500); 3 Aug 2006 19:01:52 -0000 Delivered-To: [email protected] Received: (qmail 78348 invoked by uid 99); 3 Aug 2006 19:01:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2006 12:01:51 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2006 12:01:51 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 5CD0A410023 for <[email protected]>; Thu, 3 Aug 2006 18:59:16 +0000 (GMT) Message-ID: <11187713.1154631556377.JavaMail.jira@brutus> Date: Thu, 3 Aug 2006 11:59:16 -0700 (PDT) From: "Mark Reynolds (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (HIVEMIND-174) Inconsistency when duplicate module names are found on classpath In-Reply-To: <61438523.1145068800216.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HIVEMIND-174?page=comments#action_12425591 ] Mark Reynolds commented on HIVEMIND-174: ---------------------------------------- I didn't understand that this was configurable. I guess Tapestry must be setting the StrictErrorHandler. Now that I understand, I can't think of a better message. Thanks for the explanation. > Inconsistency when duplicate module names are found on classpath > ---------------------------------------------------------------- > > Key: HIVEMIND-174 > URL: http://issues.apache.org/jira/browse/HIVEMIND-174 > Project: HiveMind > Issue Type: Bug > Affects Versions: 1.1 > Reporter: Mark Reynolds > Priority: Minor > > When duplicate module names are found on the classpath, an ApplicationRuntimeException is thrown but the message is worded as if it is a warning. > org.apache.hivemind.ApplicationRuntimeException: Error: Module hivemind is duplicated! Definition in jar:file:/C:/tools/geronimo-1.2-SNAPSHOT/config-store/44/war/WEB-INF/lib/hivemind-1.1.jar!/META-INF/hivemodule.xml > has been ignored in favor of existing definition from jar:file:/C:/tools/geronimo-1.2-SNAPSHOT/config-store/44/war/WEB-INF/lib/hivemind-1.1.jar!/META-INF/hivemodule.xml > It seems like the it should either be changed to a logged warning or the "has been ignored in favor of..." language should be changed. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Fri Aug 04 06:35:05 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38285 invoked from network); 4 Aug 2006 06:35:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Aug 2006 06:35:05 -0000 Received: (qmail 380 invoked by uid 500); 4 Aug 2006 06:34:52 -0000 Delivered-To: [email protected] Received: (qmail 350 invoked by uid 500); 4 Aug 2006 06:34:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 311 invoked by uid 500); 4 Aug 2006 06:34:51 -0000 Delivered-To: [email protected] Received: (qmail 252 invoked by uid 99); 4 Aug 2006 06:34:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2006 23:34:51 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2006 23:34:50 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D79EC7141F1 for <[email protected]>; Fri, 4 Aug 2006 06:32:14 +0000 (GMT) Message-ID: <28425048.1154673134881.JavaMail.jira@brutus> Date: Thu, 3 Aug 2006 23:32:14 -0700 (PDT) From: "Knut Wannheden (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (HIVEMIND-174) Inconsistency when duplicate module names are found on classpath In-Reply-To: <61438523.1145068800216.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HIVEMIND-174?page=all ] Knut Wannheden closed HIVEMIND-174. ----------------------------------- Resolution: Fixed > Inconsistency when duplicate module names are found on classpath > ---------------------------------------------------------------- > > Key: HIVEMIND-174 > URL: http://issues.apache.org/jira/browse/HIVEMIND-174 > Project: HiveMind > Issue Type: Bug > Affects Versions: 1.1 > Reporter: Mark Reynolds > Priority: Minor > > When duplicate module names are found on the classpath, an ApplicationRuntimeException is thrown but the message is worded as if it is a warning. > org.apache.hivemind.ApplicationRuntimeException: Error: Module hivemind is duplicated! Definition in jar:file:/C:/tools/geronimo-1.2-SNAPSHOT/config-store/44/war/WEB-INF/lib/hivemind-1.1.jar!/META-INF/hivemodule.xml > has been ignored in favor of existing definition from jar:file:/C:/tools/geronimo-1.2-SNAPSHOT/config-store/44/war/WEB-INF/lib/hivemind-1.1.jar!/META-INF/hivemodule.xml > It seems like the it should either be changed to a logged warning or the "has been ignored in favor of..." language should be changed. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Fri Aug 04 09:43:23 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90619 invoked from network); 4 Aug 2006 09:43:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Aug 2006 09:43:22 -0000 Received: (qmail 27466 invoked by uid 500); 4 Aug 2006 09:43:22 -0000 Delivered-To: [email protected] Received: (qmail 27452 invoked by uid 500); 4 Aug 2006 09:43:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 27428 invoked by uid 99); 4 Aug 2006 09:43:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 02:43:22 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 02:43:21 -0700 Received: by ug-out-1314.google.com with SMTP id j40so145143ugd for <[email protected]>; Fri, 04 Aug 2006 02:43:00 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=gDLV0vFDTB7OoHpC0T/pI5zJQKKTWtWEdPKtoiyeAWbq7w1HA+9sPEsQHbIQJWaZ+WMBhT9n8fZW1srn2L5SC31+ifIitlnPCpfoMJYZp62cYROqBg+rvwZxhpXyB8Fa6GaSyFFMWd5uGdHT/yMFYvokiRA7SoSDb5a4xMOgabM= Received: by 161.129.204.104 with SMTP id v7mr4144850ugl; Fri, 04 Aug 2006 02:43:00 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 4 Aug 2006 02:43:00 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 4 Aug 2006 11:43:00 +0200 From: "Knut Wannheden" <[email protected]> To: "HiveMind Dev List" <[email protected]> Subject: registry construction api MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi all, I've once again put some effort into working out an API for the registry construction. I started out with what I've previously documented under http://wiki.apache.org/jakarta-hivemind/DescriptorApiRevampProposal. Here's a diagram for you to look at: http://wiki.apache.org/jakarta-hivemind/DescriptorApiRevampProposal?action=AttachFile&do=view&target=module-def.gif. Some things worth noting: - The abstract interfaces ExtensionPointDef, ExtensionDef, and ExtensionConstructor on the diagram will probably not be part of the API. I thought they made the ideas on the diagram clearer. - Note the plural form in ContributionsDef. This signifies that a ContributionsDef can contribute multiple elements to a configuration point. I don't know what methods ContributionsConstructor should declare. - An InterceptorDef only represents one interceptor. By making Extensionacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bextensionPointId a list of IDs we should be able to model an InterceptorDef applying to multiple services. - The method Extensionacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bisApplicable() is a guard around Extensionacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetConstructor() and will be used in the XML implementation to implement the conditional contribution logic. - ImplementationDef and InterceptorDef objects don't declare a reference to a service factory in the API. I considered this a feature specific to the XML descriptors and must thus be handled in the implementing classes. For example: public class XmlImplementationDef implements ImplementationDef { private String _factoryServiceId; private List _parameters; public ImplementationConstructor getConstructor(DefContext context) { ServicePointDef factory = context.getServicePointDef(_factoryServiceId); Schema schema = ((XmlServicePointDef) factory).getSchema(); return new XmlFactoryInvocationConstructor(_factoryServiceId, schema, _parameters); } } - The XML schema processing for the ContributionsDef would work in a similar fashion. Let me know what you think. --knut From [email protected] Fri Aug 04 09:53:51 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93921 invoked from network); 4 Aug 2006 09:53:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Aug 2006 09:53:51 -0000 Received: (qmail 38839 invoked by uid 500); 4 Aug 2006 09:53:51 -0000 Delivered-To: [email protected] Received: (qmail 38724 invoked by uid 500); 4 Aug 2006 09:53:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 38715 invoked by uid 500); 4 Aug 2006 09:53:51 -0000 Delivered-To: [email protected] Received: (qmail 38712 invoked by uid 99); 4 Aug 2006 09:53:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 02:53:51 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 02:53:50 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id EC60A41000F for <[email protected]>; Fri, 4 Aug 2006 09:51:14 +0000 (GMT) Message-ID: <14282813.1154685074965.JavaMail.jira@brutus> Date: Fri, 4 Aug 2006 02:51:14 -0700 (PDT) From: "Knut Wannheden (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (HIVEMIND-165) Groovy-related test failures In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HIVEMIND-165?page=all ] Knut Wannheden closed HIVEMIND-165. ----------------------------------- Resolution: Cannot Reproduce Cannot reproduce with Groovy version 1.0-jsr-03 used in trunk and 1.1 branch. > Groovy-related test failures > ---------------------------- > > Key: HIVEMIND-165 > URL: http://issues.apache.org/jira/browse/HIVEMIND-165 > Project: HiveMind > Issue Type: Bug > Components: library > Affects Versions: 1.1, 1.2 > Environment: Win xp, jdk 1.5 > Reporter: Howard M. Lewis Ship > Priority: Critical > > When I started the conversion to Maven 2, I found the following error. Turns out it is in the main code base (the 1.1 branch) as well: > Both the 1.1 branch and the trunk have a failure, presumably related to Groovy: > junit.framework.AssertionFailedError: expected:<2> but was:<1> > at junit.framework.Assert.fail(Assert.java:47) > at junit.framework.Assert.failNotEquals(Assert.java:282) > at junit.framework.Assert.assertEquals(Assert.java:64) > at junit.framework.Assert.assertEquals(Assert.java:201) > at junit.framework.Assert.assertEquals(Assert.java:207) > at org.apache.hivemind.lib.groovy.TestGroovyModuleDescriptorProvider.testMultipleResources(TestGroovyModuleDescriptorProvider.java:57) > 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 junit.framework.TestCase.runTest(TestCase.java:154) > at junit.framework.TestCase.runBare(TestCase.java:127) > at junit.framework.TestResult$1.protect(TestResult.java:106) > at junit.framework.TestResult.runProtected(TestResult.java:124) > at junit.framework.TestResult.run(TestResult.java:109) > at junit.framework.TestCase.run(TestCase.java:118) > at junit.framework.TestSuite.runTest(TestSuite.java:208) > at junit.framework.TestSuite.run(TestSuite.java:203) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Fri Aug 04 12:24:20 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40916 invoked from network); 4 Aug 2006 12:24:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Aug 2006 12:24:20 -0000 Received: (qmail 49861 invoked by uid 500); 4 Aug 2006 12:24:20 -0000 Delivered-To: [email protected] Received: (qmail 49849 invoked by uid 500); 4 Aug 2006 12:24:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 49839 invoked by uid 99); 4 Aug 2006 12:24:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 05:24:20 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO carmanconsulting.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 05:24:18 -0700 Received: from CARMANI9300 (carmanconsulting.com [161.129.204.104]) by carmanconsulting.com (8.13.7/8.13.6) with ESMTP id k74CNlJA009100 for <[email protected]>; Fri, 4 Aug 2006 08:23:55 -0400 From: "James Carman" <[email protected]> To: <[email protected]> Subject: RE: registry construction api Date: Fri, 4 Aug 2006 08:23:58 -0400 Message-ID: <004f01c6b7c0$de8d16b0$6801a8c0@CARMANI9300> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <[email protected]> X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Thread-Index: Aca3qnAeaPrz3ddtSCGolwR4KLlsvgAFKFhg X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Knut, Thank you for all of your hard work on this! I won't really have time to review it this weekend as I will be attending NFJS in Cincinnati. I briefly perused the API, though. It looks like we're on the right track. We should make sure the API makes it very easy to build a registry "by hand." That way, we can build any shortcut mechanism (XML, annotations, convention over configuration, etc.) on top of it. If we do it right, it should be *very* easy for a user to come up with their own custom scheme for building a registry to suit their needs (like Tapestry 5, for example :-). I would really like to make HiveMind extensible enough that we don't have folks thinking that the XML syntax that we've chosen is too restrictive. If they want something different, they can easily build their own! :-) We should probably come up with a list of the features that are "core" and not part of the XMLyness (a new word in case you're counting) of the current design. Stuff like schemas and the like are really not part of the "core" of HiveMind and should be part of the XML builder extension. I would think that symbols would fall in the same category. These comments aren't really aimed at the code you've come up with, Knut. They're just my musings while I drink my morning coffee here. Again, thanks for working on this. I've been way too busy lately to lay down any code towards this. You da man! Okay, I'm going to get out of here to go listen to Stuar Halloway's "Spring Fundamentals" talk. Know Thy Enemy! James -----Original Message----- From: Knut Wannheden [mailto:[email protected]] Sent: Friday, August 04, 2006 5:43 AM To: HiveMind Dev List Subject: registry construction api Hi all, I've once again put some effort into working out an API for the registry construction. I started out with what I've previously documented under http://wiki.apache.org/jakarta-hivemind/DescriptorApiRevampProposal. Here's a diagram for you to look at: http://wiki.apache.org/jakarta-hivemind/DescriptorApiRevampProposal?action=A ttachFile&do=view&target=module-def.gif. Some things worth noting: - The abstract interfaces ExtensionPointDef, ExtensionDef, and ExtensionConstructor on the diagram will probably not be part of the API. I thought they made the ideas on the diagram clearer. - Note the plural form in ContributionsDef. This signifies that a ContributionsDef can contribute multiple elements to a configuration point. I don't know what methods ContributionsConstructor should declare. - An InterceptorDef only represents one interceptor. By making Extensionacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bextensionPointId a list of IDs we should be able to model an InterceptorDef applying to multiple services. - The method Extensionacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bisApplicable() is a guard around Extensionacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetConstructor() and will be used in the XML implementation to implement the conditional contribution logic. - ImplementationDef and InterceptorDef objects don't declare a reference to a service factory in the API. I considered this a feature specific to the XML descriptors and must thus be handled in the implementing classes. For example: public class XmlImplementationDef implements ImplementationDef { private String _factoryServiceId; private List _parameters; public ImplementationConstructor getConstructor(DefContext context) { ServicePointDef factory = context.getServicePointDef(_factoryServiceId); Schema schema = ((XmlServicePointDef) factory).getSchema(); return new XmlFactoryInvocationConstructor(_factoryServiceId, schema, _parameters); } } - The XML schema processing for the ContributionsDef would work in a similar fashion. Let me know what you think. --knut From [email protected] Fri Aug 04 12:26:52 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41436 invoked from network); 4 Aug 2006 12:26:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Aug 2006 12:26:52 -0000 Received: (qmail 52875 invoked by uid 500); 4 Aug 2006 12:26:51 -0000 Delivered-To: [email protected] Received: (qmail 52863 invoked by uid 500); 4 Aug 2006 12:26:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 52854 invoked by uid 500); 4 Aug 2006 12:26:51 -0000 Delivered-To: [email protected] Received: (qmail 52849 invoked by uid 99); 4 Aug 2006 12:26:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 05:26:51 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 05:26:51 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 09288410022 for <[email protected]>; Fri, 4 Aug 2006 12:24:15 +0000 (GMT) Message-ID: <28468583.1154694255035.JavaMail.jira@brutus> Date: Fri, 4 Aug 2006 05:24:15 -0700 (PDT) From: "Knut Wannheden (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (HIVEMIND-72) BuilderFactory extension In-Reply-To: <281407601.1098291056130.JavaMail.apache@nagoya> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HIVEMIND-72?page=comments#action_12425732 ] Knut Wannheden commented on HIVEMIND-72: ---------------------------------------- Now (HiveMind version 1.2) that there are assembly instructions (i.e. <assembly> elements) this issue can almost be closed I believe. The only thing missing is probably a versatile service implementation factory. Besides retrieving the core service implementation using a method of another service (as you propose) it could be useful to retrieve it from an object provider. E.g. <invoke-factory service-id="hivemind.library.ObjectProviderFactory"> <instance object="service-property:MyServiceA:serviceB"/> <assembly> <listener service-id="hivemind.ShutdownCoordinator"/> </assembly> </invoke-factory> > BuilderFactory extension > ------------------------ > > Key: HIVEMIND-72 > URL: http://issues.apache.org/jira/browse/HIVEMIND-72 > Project: HiveMind > Issue Type: Improvement > Components: framework > Reporter: Istvan Orban > Priority: Minor > Attachments: FactoryObjectProvider.java, FactoryObjectProviderTest.java > > > Hi, > I asked about this thing on the mailing list, since it was not a bad idea I though it's best to create here. > If you have a service (B) which can only be instanciated by an other > factory service (A). you have to write your own factory class which > implements the > ServiceImplementationFactory. I have seen some example of doing it. > I think this is a general problem that. the BuilderFactory should not > instance the class by calling it's contructor but to call an other > service's method. > would extending the BuilderFactory be a good idea on the following way. > <invoke-factory service-id="hiveMind:BuilderFactory"> > <construct class="MyServiceB" > contructor-service-id="MySerciceA" constructor-method="createServiceB"> > ..... > <event-listener > service-id="hivemind.ShutdownCoordinator"/> > </construct> > </invoke-factory> > with these extra tags one could specify which method of the MyServiceA > returns an instance of the MyServiceB > so I can use all the power of the Configuration and Autowite provided > already by the the BuilderFactory etc. > I'm asking this because I have seen examples (providing hivernate > session and transaction stuff) where they just implemented the > 'ServiceImplementationFactory' but then you have to write again all the > cool function which does the autowite and all other cool stuff for you.... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Fri Aug 04 12:28:55 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42033 invoked from network); 4 Aug 2006 12:28:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Aug 2006 12:28:55 -0000 Received: (qmail 59162 invoked by uid 500); 4 Aug 2006 12:28:55 -0000 Delivered-To: [email protected] Received: (qmail 59124 invoked by uid 500); 4 Aug 2006 12:28:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 59114 invoked by uid 99); 4 Aug 2006 12:28:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 05:28:55 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO carmanconsulting.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 05:28:54 -0700 Received: from CARMANI9300 (carmanconsulting.com [161.129.204.104]) by carmanconsulting.com (8.13.7/8.13.6) with ESMTP id k74CS91E009202 for <[email protected]>; Fri, 4 Aug 2006 08:28:26 -0400 From: "James Carman" <[email protected]> To: <[email protected]> Subject: RE: registry construction api Date: Fri, 4 Aug 2006 08:28:20 -0400 Message-ID: <005001c6b7c1$8067df60$6801a8c0@CARMANI9300> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <004f01c6b7c0$de8d16b0$6801a8c0@CARMANI9300> X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Thread-Index: Aca3qnAeaPrz3ddtSCGolwR4KLlsvgAFKFhgAACRB7A= X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Whoah! I just had another idea. If we make this API extensible enough, we might be able to write an adapter that makes a Spring ApplicationContext look like a HiveMind module that can be added to the registry! That would be pretty cool! Just a thought. -----Original Message----- From: James Carman [mailto:[email protected]] Sent: Friday, August 04, 2006 8:24 AM To: [email protected] Subject: RE: registry construction api Knut, Thank you for all of your hard work on this! I won't really have time to review it this weekend as I will be attending NFJS in Cincinnati. I briefly perused the API, though. It looks like we're on the right track. We should make sure the API makes it very easy to build a registry "by hand." That way, we can build any shortcut mechanism (XML, annotations, convention over configuration, etc.) on top of it. If we do it right, it should be *very* easy for a user to come up with their own custom scheme for building a registry to suit their needs (like Tapestry 5, for example :-). I would really like to make HiveMind extensible enough that we don't have folks thinking that the XML syntax that we've chosen is too restrictive. If they want something different, they can easily build their own! :-) We should probably come up with a list of the features that are "core" and not part of the XMLyness (a new word in case you're counting) of the current design. Stuff like schemas and the like are really not part of the "core" of HiveMind and should be part of the XML builder extension. I would think that symbols would fall in the same category. These comments aren't really aimed at the code you've come up with, Knut. They're just my musings while I drink my morning coffee here. Again, thanks for working on this. I've been way too busy lately to lay down any code towards this. You da man! Okay, I'm going to get out of here to go listen to Stuar Halloway's "Spring Fundamentals" talk. Know Thy Enemy! James -----Original Message----- From: Knut Wannheden [mailto:[email protected]] Sent: Friday, August 04, 2006 5:43 AM To: HiveMind Dev List Subject: registry construction api Hi all, I've once again put some effort into working out an API for the registry construction. I started out with what I've previously documented under http://wiki.apache.org/jakarta-hivemind/DescriptorApiRevampProposal. Here's a diagram for you to look at: http://wiki.apache.org/jakarta-hivemind/DescriptorApiRevampProposal?action=A ttachFile&do=view&target=module-def.gif. Some things worth noting: - The abstract interfaces ExtensionPointDef, ExtensionDef, and ExtensionConstructor on the diagram will probably not be part of the API. I thought they made the ideas on the diagram clearer. - Note the plural form in ContributionsDef. This signifies that a ContributionsDef can contribute multiple elements to a configuration point. I don't know what methods ContributionsConstructor should declare. - An InterceptorDef only represents one interceptor. By making Extensionacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bextensionPointId a list of IDs we should be able to model an InterceptorDef applying to multiple services. - The method Extensionacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bisApplicable() is a guard around Extensionacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetConstructor() and will be used in the XML implementation to implement the conditional contribution logic. - ImplementationDef and InterceptorDef objects don't declare a reference to a service factory in the API. I considered this a feature specific to the XML descriptors and must thus be handled in the implementing classes. For example: public class XmlImplementationDef implements ImplementationDef { private String _factoryServiceId; private List _parameters; public ImplementationConstructor getConstructor(DefContext context) { ServicePointDef factory = context.getServicePointDef(_factoryServiceId); Schema schema = ((XmlServicePointDef) factory).getSchema(); return new XmlFactoryInvocationConstructor(_factoryServiceId, schema, _parameters); } } - The XML schema processing for the ContributionsDef would work in a similar fashion. Let me know what you think. --knut From [email protected] Fri Aug 04 14:00:27 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86532 invoked from network); 4 Aug 2006 14:00:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Aug 2006 14:00:27 -0000 Received: (qmail 67837 invoked by uid 500); 4 Aug 2006 14:00:27 -0000 Delivered-To: [email protected] Received: (qmail 67821 invoked by uid 500); 4 Aug 2006 14:00:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 67811 invoked by uid 99); 4 Aug 2006 14:00:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 07:00:27 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 07:00:25 -0700 Received: by ug-out-1314.google.com with SMTP id j40so10657ugd for <[email protected]>; Fri, 04 Aug 2006 07:00:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tuVIIMpW2QonhMNlnk6h1dLLqHPDxHAn5FLaFJSgtlp7kgewHWdHkBT2fJMJc/C1w2fO4Au2CY6WSUh677i/6hzr07MuuhirWjZ6v/rzq3I94Yv8D179QT175kLrf+eO0nIfocp2xI3fQ5394Q0giX9ORuvCbFDsCe+SruMtTwE= Received: by 161.129.204.104 with SMTP id v7mr4456211ugl; Fri, 04 Aug 2006 07:00:03 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 4 Aug 2006 07:00:03 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 4 Aug 2006 16:00:03 +0200 From: "Knut Wannheden" <[email protected]> To: [email protected] Subject: Re: registry construction api In-Reply-To: <004f01c6b7c0$de8d16b0$6801a8c0@CARMANI9300> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <004f01c6b7c0$de8d16b0$6801a8c0@CARMANI9300> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N James, I definitely agree with your points on making it simple to implement other registry definition mechanisms on top of the API and removing any XMLyness from it. I am not quite clear on what you mean by building a registry "by hand". I assume you mean writing simple Java code (i.e. *not* writing code implementing the API I propose). To support this we would only have to write some classes in HiveMind implementing the proposed API interfaces. The following (just an example) could for instance define a module with an autowired singleton service "foo" (interface Foo and implementation class FooImpl): ModuleDef m = new SimpleModule("my"); m.addService(new SimpleService("foo", Foo.class, FooImpl.class)); The Simple* classes would be provided by HiveMind to construct a registry "by hand". SimpleService would for instance both implement ServicePointDef *and* ImplementationDef. But there are of course uncountable other possibilities what exactly these Simple* classes would look like. Achim has done some work on this in his experimental branch. To expand on your list of what is "core", or rather what isn't, here is a few things which I consider XMLyness and are thus not part of the proposed API: - Shorthand notations. This may seem obvious but I'd still like to point it out. In the current *Descriptor classes used by the XML parser all the various shorthand notations (e.g. <invoke-factory> allowed inside <service-point>) are reflected in the API. These shorthands should IMHO not be in the new API. - I have the feeling the "package" attribute on <module> is also a shorthand we don't want in the API. But I haven't given this much thought yet. - Schema processing for mapping XML to POJOs. This feature is currently used to create a configuration's contribution elements, core service implementation objects, and interceptors. In all these cases the schema is defined by some extension point. Also note that the schema processing includes ${} symbol resolution, translator translation, and thus also object providers. - Service and interceptor factories. I think even these factories are really part of the XMLyness. I can for instance not see any use of this in modules defined using annotations (as e.g. in Tapestry 5 IoC). This should really be transparent and encapsulated by the *Constructor objects. Thus factories are represented as normal services (which a *Constructor object can use). - Sub modules. I believe sub modules is also XMLyness. They are in fact already entirely handled by the XmlModuleDescriptorProvider. On the topic of symbol sources, translators, and object providers it is IMO only their *usage* in the schema processing which should be considered XMLyness. They are implemented as normal configurations and services and I think they might come in handy in other situations also. --knut On 8/4/06, James Carman <[email protected]> wrote: > > Thank you for all of your hard work on this! I won't really have time to > review it this weekend as I will be attending NFJS in Cincinnati. I briefly > perused the API, though. It looks like we're on the right track. We should > make sure the API makes it very easy to build a registry "by hand." That > way, we can build any shortcut mechanism (XML, annotations, convention over > configuration, etc.) on top of it. If we do it right, it should be *very* > easy for a user to come up with their own custom scheme for building a > registry to suit their needs (like Tapestry 5, for example :-). I would > really like to make HiveMind extensible enough that we don't have folks > thinking that the XML syntax that we've chosen is too restrictive. If they > want something different, they can easily build their own! :-) > > We should probably come up with a list of the features that are "core" and > not part of the XMLyness (a new word in case you're counting) of the current > design. Stuff like schemas and the like are really not part of the "core" > of HiveMind and should be part of the XML builder extension. I would think > that symbols would fall in the same category. > > These comments aren't really aimed at the code you've come up with, Knut. > They're just my musings while I drink my morning coffee here. Again, thanks > for working on this. I've been way too busy lately to lay down any code > towards this. You da man! > > Okay, I'm going to get out of here to go listen to Stuar Halloway's "Spring > Fundamentals" talk. Know Thy Enemy! > > James > > -----Original Message----- > From: Knut Wannheden [mailto:[email protected]] > Sent: Friday, August 04, 2006 5:43 AM > To: HiveMind Dev List > Subject: registry construction api > > Hi all, > > I've once again put some effort into working out an API for the > registry construction. I started out with what I've previously > documented under > http://wiki.apache.org/jakarta-hivemind/DescriptorApiRevampProposal. > Here's a diagram for you to look at: > http://wiki.apache.org/jakarta-hivemind/DescriptorApiRevampProposal?action=A > ttachFile&do=view&target=module-def.gif. > > Some things worth noting: > > - The abstract interfaces ExtensionPointDef, ExtensionDef, and > ExtensionConstructor on the diagram will probably not be part of the > API. I thought they made the ideas on the diagram clearer. > > - Note the plural form in ContributionsDef. This signifies that a > ContributionsDef can contribute multiple elements to a configuration > point. I don't know what methods ContributionsConstructor should > declare. > > - An InterceptorDef only represents one interceptor. By making > Extensionacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bextensionPointId a list of IDs we should be able to > model an InterceptorDef applying to multiple services. > > - The method Extensionacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bisApplicable() is a guard around > Extensionacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetConstructor() and will be used in the XML > implementation to implement the conditional contribution logic. > > - ImplementationDef and InterceptorDef objects don't declare a > reference to a service factory in the API. I considered this a feature > specific to the XML descriptors and must thus be handled in the > implementing classes. For example: > > public class XmlImplementationDef implements ImplementationDef > { > private String _factoryServiceId; > private List _parameters; > > public ImplementationConstructor getConstructor(DefContext context) > { > ServicePointDef factory = context.getServicePointDef(_factoryServiceId); > Schema schema = ((XmlServicePointDef) factory).getSchema(); > return new XmlFactoryInvocationConstructor(_factoryServiceId, > schema, _parameters); > } > } > > - The XML schema processing for the ContributionsDef would work in a > similar fashion. > > Let me know what you think. > > --knut > > > From [email protected] Fri Aug 04 14:18:06 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92027 invoked from network); 4 Aug 2006 14:18:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Aug 2006 14:18:06 -0000 Received: (qmail 14712 invoked by uid 500); 4 Aug 2006 14:18:05 -0000 Delivered-To: [email protected] Received: (qmail 14696 invoked by uid 500); 4 Aug 2006 14:18:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 14678 invoked by uid 99); 4 Aug 2006 14:18:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 07:18:05 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 07:18:02 -0700 Received: by ug-out-1314.google.com with SMTP id j40so16910ugd for <[email protected]>; Fri, 04 Aug 2006 07:17:40 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Yz3Sim9UExd8zMHTZKcF4eRWPD5gekqZ5Is9/Jh+m+mzNdzZ9iW38O8GzNNnXvN2OifI/d+0XOZHzQbA/wYJifxjnQnLQ4ONDsKEQm50cljlakGX3kQxx1DNbUMetH/+st1QogFC1khuir4eIqovFzWYKea6DBda2LgZ5XH1tgc= Received: by 161.129.204.104 with SMTP id u9mr4523884ugg; Fri, 04 Aug 2006 07:17:38 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 4 Aug 2006 07:17:38 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 4 Aug 2006 16:17:38 +0200 From: "Knut Wannheden" <[email protected]> To: [email protected] Subject: Re: registry construction api In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <004f01c6b7c0$de8d16b0$6801a8c0@CARMANI9300> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N In the list of XMLynesses I forgot to mention conditional contributions. But I believe an isApplicable() (or isEnabled()) method in the ExtensionDef subclasses is an adequate hook allowing to implement this feature in the XML implementation of the API. Cheers, --knut On 8/4/06, Knut Wannheden <[email protected]> wrote: > James, > > I definitely agree with your points on making it simple to implement > other registry definition mechanisms on top of the API and removing > any XMLyness from it. > > I am not quite clear on what you mean by building a registry "by > hand". I assume you mean writing simple Java code (i.e. *not* writing > code implementing the API I propose). To support this we would only > have to write some classes in HiveMind implementing the proposed API > interfaces. The following (just an example) could for instance define > a module with an autowired singleton service "foo" (interface Foo and > implementation class FooImpl): > > ModuleDef m = new SimpleModule("my"); > m.addService(new SimpleService("foo", Foo.class, FooImpl.class)); > > The Simple* classes would be provided by HiveMind to construct a > registry "by hand". SimpleService would for instance both implement > ServicePointDef *and* ImplementationDef. But there are of course > uncountable other possibilities what exactly these Simple* classes > would look like. Achim has done some work on this in his experimental > branch. > > To expand on your list of what is "core", or rather what isn't, here > is a few things which I consider XMLyness and are thus not part of the > proposed API: > > - Shorthand notations. This may seem obvious but I'd still like to > point it out. In the current *Descriptor classes used by the XML > parser all the various shorthand notations (e.g. <invoke-factory> > allowed inside <service-point>) are reflected in the API. These > shorthands should IMHO not be in the new API. > > - I have the feeling the "package" attribute on <module> is also a > shorthand we don't want in the API. But I haven't given this much > thought yet. > > - Schema processing for mapping XML to POJOs. This feature is > currently used to create a configuration's contribution elements, core > service implementation objects, and interceptors. In all these cases > the schema is defined by some extension point. Also note that the > schema processing includes ${} symbol resolution, translator > translation, and thus also object providers. > > - Service and interceptor factories. I think even these factories are > really part of the XMLyness. I can for instance not see any use of > this in modules defined using annotations (as e.g. in Tapestry 5 IoC). > This should really be transparent and encapsulated by the *Constructor > objects. Thus factories are represented as normal services (which a > *Constructor object can use). > > - Sub modules. I believe sub modules is also XMLyness. They are in > fact already entirely handled by the XmlModuleDescriptorProvider. > > On the topic of symbol sources, translators, and object providers it > is IMO only their *usage* in the schema processing which should be > considered XMLyness. They are implemented as normal configurations and > services and I think they might come in handy in other situations > also. > > --knut > > On 8/4/06, James Carman <[email protected]> wrote: > > > > Thank you for all of your hard work on this! I won't really have time to > > review it this weekend as I will be attending NFJS in Cincinnati. I briefly > > perused the API, though. It looks like we're on the right track. We should > > make sure the API makes it very easy to build a registry "by hand." That > > way, we can build any shortcut mechanism (XML, annotations, convention over > > configuration, etc.) on top of it. If we do it right, it should be *very* > > easy for a user to come up with their own custom scheme for building a > > registry to suit their needs (like Tapestry 5, for example :-). I would > > really like to make HiveMind extensible enough that we don't have folks > > thinking that the XML syntax that we've chosen is too restrictive. If they > > want something different, they can easily build their own! :-) > > > > We should probably come up with a list of the features that are "core" and > > not part of the XMLyness (a new word in case you're counting) of the current > > design. Stuff like schemas and the like are really not part of the "core" > > of HiveMind and should be part of the XML builder extension. I would think > > that symbols would fall in the same category. > > > > These comments aren't really aimed at the code you've come up with, Knut. > > They're just my musings while I drink my morning coffee here. Again, thanks > > for working on this. I've been way too busy lately to lay down any code > > towards this. You da man! > > > > Okay, I'm going to get out of here to go listen to Stuar Halloway's "Spring > > Fundamentals" talk. Know Thy Enemy! > > > > James > > > > -----Original Message----- > > From: Knut Wannheden [mailto:[email protected]] > > Sent: Friday, August 04, 2006 5:43 AM > > To: HiveMind Dev List > > Subject: registry construction api > > > > Hi all, > > > > I've once again put some effort into working out an API for the > > registry construction. I started out with what I've previously > > documented under > > http://wiki.apache.org/jakarta-hivemind/DescriptorApiRevampProposal. > > Here's a diagram for you to look at: > > http://wiki.apache.org/jakarta-hivemind/DescriptorApiRevampProposal?action=A > > ttachFile&do=view&target=module-def.gif. > > > > Some things worth noting: > > > > - The abstract interfaces ExtensionPointDef, ExtensionDef, and > > ExtensionConstructor on the diagram will probably not be part of the > > API. I thought they made the ideas on the diagram clearer. > > > > - Note the plural form in ContributionsDef. This signifies that a > > ContributionsDef can contribute multiple elements to a configuration > > point. I don't know what methods ContributionsConstructor should > > declare. > > > > - An InterceptorDef only represents one interceptor. By making > > Extensionacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bextensionPointId a list of IDs we should be able to > > model an InterceptorDef applying to multiple services. > > > > - The method Extensionacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bisApplicable() is a guard around > > Extensionacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetConstructor() and will be used in the XML > > implementation to implement the conditional contribution logic. > > > > - ImplementationDef and InterceptorDef objects don't declare a > > reference to a service factory in the API. I considered this a feature > > specific to the XML descriptors and must thus be handled in the > > implementing classes. For example: > > > > public class XmlImplementationDef implements ImplementationDef > > { > > private String _factoryServiceId; > > private List _parameters; > > > > public ImplementationConstructor getConstructor(DefContext context) > > { > > ServicePointDef factory = context.getServicePointDef(_factoryServiceId); > > Schema schema = ((XmlServicePointDef) factory).getSchema(); > > return new XmlFactoryInvocationConstructor(_factoryServiceId, > > schema, _parameters); > > } > > } > > > > - The XML schema processing for the ContributionsDef would work in a > > similar fashion. > > > > Let me know what you think. > > > > --knut > > > > > > > From [email protected] Fri Aug 04 14:54:29 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9005 invoked from network); 4 Aug 2006 14:54:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Aug 2006 14:54:29 -0000 Received: (qmail 13012 invoked by uid 500); 4 Aug 2006 14:54:28 -0000 Delivered-To: [email protected] Received: (qmail 13004 invoked by uid 500); 4 Aug 2006 14:54:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 12995 invoked by uid 99); 4 Aug 2006 14:54:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 07:54:28 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO mail.afip.gov.ar) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 07:54:26 -0700 Received: from davinci.correo.raiz.afip.gov.ar ([161.129.204.104]) by mail.afip.gov.ar with Microsoft SMTPSVC+1-630-918-1064); Fri, 4 Aug 2006 11:54:05 -0300 Received: from afipex01.correo.raiz.afip.gov.ar ([161.129.204.104]) by davinci.correo.raiz.afip.gov.ar with Microsoft SMTPSVC+1-630-918-1064); Fri, 4 Aug 2006 11:54:04 -0300 Received: from balrog ([161.129.204.104]) by afipex01.correo.raiz.afip.gov.ar with Microsoft SMTPSVC+1-630-918-1064); Fri, 4 Aug 2006 11:54:04 -0300 From: Pablo Lalloni <[email protected]> Organization: Proyecto Pampa - DIT - AFIP To: [email protected] Subject: Core service implementation instantiation hook Date: Fri, 4 Aug 2006 11:55:33 -0300 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <[email protected]> X-OriginalArrivalTime: 04 Aug 2006 14:54:04.0135 (UTC) FILETIME=[D41EE770:01C6B7D5] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I would like to have a hook somewhere in the process of services instantiat= ion=20 to be able to customize how core service implementation instances are=20 created. Looking around in the framework code I can't find an obvious way of doing t= his =20 using just descriptors, it seems like I will need to make some changes for= =20 doing this so, I was hoping someone here, with better knowledge of internal= s,=20 could point me to right direction. Just FYI what I'm trying to do is put monitoring proxies everywhere (withou= t=20 needing to put explicit <interceptor/> in every service point). =2D-=20 Pablo I. Lalloni <[email protected]> [email protected] =B7 ICQ#6322141 =B7 [email protected] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~ G No room for line, 0:1 From [email protected] Fri Aug 04 15:19:56 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19326 invoked from network); 4 Aug 2006 15:19:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Aug 2006 15:19:56 -0000 Received: (qmail 79606 invoked by uid 500); 4 Aug 2006 15:19:56 -0000 Delivered-To: [email protected] Received: (qmail 79484 invoked by uid 500); 4 Aug 2006 15:19:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 79475 invoked by uid 99); 4 Aug 2006 15:19:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 08:19:56 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 08:19:54 -0700 Received: by ug-out-1314.google.com with SMTP id j40so38653ugd for <[email protected]>; Fri, 04 Aug 2006 08:19:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LOFksLyQsTmTldhPde5k9eFbHMk9jSTcmc3CwS/p2uD0++IJgjSId1h8ZOlttMw8sPhBJixAzZparvXsqhjFgMbO1Fr6nAgYrd4xq8GKTjG2qPj3lDDuMueYbI0xY/M+LTUIFisUIfoeizrKeK2XYssXOzzO7QESp6SbtqMADKc= Received: by 161.129.204.104 with SMTP id u9mr4634768ugg; Fri, 04 Aug 2006 08:19:32 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 4 Aug 2006 08:19:32 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 4 Aug 2006 17:19:32 +0200 From: "Knut Wannheden" <[email protected]> To: [email protected] Subject: Re: Core service implementation instantiation hook In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I assume you want to wrap the core service implementation inside a proxy. Don't think you can currently do what you want with HiveMind. It would however be nice if you could specify that an interceptor should apply to many (or all) services. Can you maybe use AspectJ? Just a thought... --knut On 8/4/06, Pablo Lalloni <[email protected]> wrote: > I would like to have a hook somewhere in the process of services instanti= ation > to be able to customize how core service implementation instances are > created. > > Looking around in the framework code I can't find an obvious way of doing= this > using just descriptors, it seems like I will need to make some changes fo= r > doing this so, I was hoping someone here, with better knowledge of intern= als, > could point me to right direction. > > Just FYI what I'm trying to do is put monitoring proxies everywhere (with= out > needing to put explicit <interceptor/> in every service point). > > -- > Pablo I. Lalloni <[email protected]> > > [email protected] =B7 ICQ#6322141 =B7 [email protected] > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~ > G No room for line, 0:1 > > From [email protected] Fri Aug 04 15:30:28 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24317 invoked from network); 4 Aug 2006 15:30:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Aug 2006 15:30:28 -0000 Received: (qmail 7614 invoked by uid 500); 4 Aug 2006 15:30:28 -0000 Delivered-To: [email protected] Received: (qmail 7602 invoked by uid 500); 4 Aug 2006 15:30:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7593 invoked by uid 99); 4 Aug 2006 15:30:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 08:30:28 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO mail.afip.gov.ar) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 08:30:25 -0700 Received: from davinci.correo.raiz.afip.gov.ar ([161.129.204.104]) by mail.afip.gov.ar with Microsoft SMTPSVC+1-630-918-1064); Fri, 4 Aug 2006 12:30:03 -0300 Received: from afipex01.correo.raiz.afip.gov.ar ([161.129.204.104]) by davinci.correo.raiz.afip.gov.ar with Microsoft SMTPSVC+1-630-918-1064); Fri, 4 Aug 2006 12:30:01 -0300 Received: from balrog ([161.129.204.104]) by afipex01.correo.raiz.afip.gov.ar with Microsoft SMTPSVC+1-630-918-1064); Fri, 4 Aug 2006 12:30:01 -0300 From: Pablo Lalloni <[email protected]> Organization: Proyecto Pampa - DIT - AFIP To: [email protected] Subject: Re: Core service implementation instantiation hook Date: Fri, 4 Aug 2006 12:31:30 -0300 User-Agent: KMail/1.9.1 Cc: "Knut Wannheden" <[email protected]> References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <[email protected]> X-OriginalArrivalTime: 04 Aug 2006 15:30:01.0636 (UTC) FILETIME=[DA176E40:01C6B7DA] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N El Viernes, 4 de Agosto de 2006 12:19, Knut Wannheden escribi=F3: > I assume you want to wrap the core service implementation inside a > proxy. Don't think you can currently do what you want with HiveMind. > It would however be nice if you could specify that an interceptor > should apply to many (or all) services. Yes, this need keeps showing up... I remember myself writing an idea in=20 http://article.gmane.org/gmane.comp.jakarta.hivemind.devel/357 a couple of= =20 years ago! > Can you maybe use AspectJ? Just a thought... Not currently, AspectJ is out of the project toolbox. :-( =2D-=20 Pablo I. Lalloni <[email protected]> [email protected] =B7 ICQ#6322141 =B7 [email protected] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~ Your object is to save the world, while still leading a pleasant life. From [email protected] Fri Aug 04 15:46:55 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29894 invoked from network); 4 Aug 2006 15:46:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Aug 2006 15:46:55 -0000 Received: (qmail 32385 invoked by uid 500); 4 Aug 2006 15:46:55 -0000 Delivered-To: [email protected] Received: (qmail 32287 invoked by uid 500); 4 Aug 2006 15:46:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32278 invoked by uid 99); 4 Aug 2006 15:46:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 08:46:54 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 08:46:53 -0700 Received: by ug-out-1314.google.com with SMTP id j40so48885ugd for <[email protected]>; Fri, 04 Aug 2006 08:46:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mRc1Q6+6tsvy/tH138H9u6UNdeUopkpGm/WpuyZOJUs257XGA1uWDkVEB7SeIrGRWWWaJKQDQc/xdQJ5mwEIIbF9Y8ohnOy6sYIthpxXlyddDx4xlGbIqOyKUSNbflFDWy6mQnTBWoTePbF11YnyePzCi1lqlaz23ZuumzhlTO0= Received: by 161.129.204.104 with SMTP id d8mr4681226ugm; Fri, 04 Aug 2006 08:46:31 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 4 Aug 2006 08:46:31 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 4 Aug 2006 17:46:31 +0200 From: "Knut Wannheden" <[email protected]> To: [email protected] Subject: Re: Core service implementation instantiation hook In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Pablo, I think I even remember starting that thread. And it's been on the TODO list for HiveMind 1.2 (http://jakarta.apache.org/hivemind/todo.html) ever since. Only that we then thought version 1.2 to be months rather than years away... As we're currently trying to cut down on work towards a fancier XML syntax I think this idea should now really find its way into the discussions on the registry construction API we're trying to work out. I just earlier today posted an idea on this very topic in the thread "registry construction api". Your input is most welcome! --knut On 8/4/06, Pablo Lalloni <[email protected]> wrote: > El Viernes, 4 de Agosto de 2006 12:19, Knut Wannheden escribi=F3: > > I assume you want to wrap the core service implementation inside a > > proxy. Don't think you can currently do what you want with HiveMind. > > It would however be nice if you could specify that an interceptor > > should apply to many (or all) services. > > Yes, this need keeps showing up... I remember myself writing an idea in > http://article.gmane.org/gmane.comp.jakarta.hivemind.devel/357 a couple o= f > years ago! > > > Can you maybe use AspectJ? Just a thought... > > Not currently, AspectJ is out of the project toolbox. :-( > > -- > Pablo I. Lalloni <[email protected]> > > [email protected] =B7 ICQ#6322141 =B7 [email protected] > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~ > Your object is to save the world, while still leading a pleasant life. > > From [email protected] Fri Aug 04 17:57:50 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79862 invoked from network); 4 Aug 2006 17:57:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Aug 2006 17:57:50 -0000 Received: (qmail 75258 invoked by uid 500); 4 Aug 2006 17:57:49 -0000 Delivered-To: [email protected] Received: (qmail 75244 invoked by uid 500); 4 Aug 2006 17:57:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 75230 invoked by uid 500); 4 Aug 2006 17:57:49 -0000 Delivered-To: [email protected] Received: (qmail 75227 invoked by uid 99); 4 Aug 2006 17:57:49 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 10:57:49 -0700 Date: Fri, 04 Aug 2006 10:53:13 PDT From: [email protected] To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-hivemind-compile (in module jakarta-hivemind) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-hivemind-compile has an issue affecting its community integration. The current state of this project is 'Failed', with reason 'Update Failed'. Full details are available at: http://vmgump.apache.org/gump/public/jakarta-hivemind/jakarta-hivemind-compile/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason update failed To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-hivemind/jakarta-hivemind-compile/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-hivemind/jakarta-hivemind-compile/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 19000804082006, vmgump.apache.org:vmgump-public:19000804082006 Gump E-mail Identifier (unique within run) #2. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] From [email protected] Sat Aug 05 09:52:24 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33388 invoked from network); 5 Aug 2006 09:52:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Aug 2006 09:52:24 -0000 Received: (qmail 61224 invoked by uid 500); 5 Aug 2006 09:52:23 -0000 Delivered-To: [email protected] Received: (qmail 61200 invoked by uid 500); 5 Aug 2006 09:52:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 61187 invoked by uid 500); 5 Aug 2006 09:52:23 -0000 Delivered-To: [email protected] Received: (qmail 61184 invoked by uid 99); 5 Aug 2006 09:52:23 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Aug 2006 02:52:23 -0700 Date: Sat, 05 Aug 2006 02:47:44 PDT From: [email protected] To: [email protected] Subject: [GUMP@vmgump]: Project hivemind-compile (in module hivemind) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project hivemind-compile has an issue affecting its community integration. This issue affects 3 projects. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - hivemind : HiveMind is a services and configuration microkernel - hivemind-compile : HiveMind is a services and configuration microkernel - hivemind-library : HiveMind is a services and configuration microkernel Full details are available at: http://vmgump.apache.org/gump/public/hivemind/hivemind-compile/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/hivemind/hivemind-compile/gump_work/build_hivemind_hivemind-compile.html Work Name: build_hivemind_hivemind-compile (Type: Build) Work ended in a state of : Failed Elapsed: Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Ddownload-warning-marker-displayed=true -Dtest.classes.dir=target/test-classes -Djunit-available=true -Djavacc.home=/usr/local/gump/packages/javacc-3.1 -Djava.classes.dir=target/classes compile-tests [Working Directory: /usr/local/gump/public/workspace/hivemind/framework] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/hivemind/hivemind/target/classes:/usr/local/gump/public/workspace/hivemind/hivebuild/target/classes:/usr/local/gump/public/workspace/hivemind/framework/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-05082006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-05082006.jar:/usr/local/gump/packages/easymock1.2_Java1.3/easymock.jar:/usr/local/gump/packages/easymockclassextension1.2/easymockclassextension.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-05082006.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/public/workspace/javassist/javassist.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-05082006.jar --------------------------------------------- Buildfile: build.xml does not exist! Build failed --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/hivemind/hivemind-compile/rss.xml - Atom: http://vmgump.apache.org/gump/public/hivemind/hivemind-compile/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 20000005082006, vmgump.apache.org:vmgump-public:20000005082006 Gump E-mail Identifier (unique within run) #26. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] From [email protected] Sat Aug 05 10:43:24 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43345 invoked from network); 5 Aug 2006 10:43:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Aug 2006 10:43:24 -0000 Received: (qmail 85872 invoked by uid 500); 5 Aug 2006 10:43:24 -0000 Delivered-To: [email protected] Received: (qmail 85780 invoked by uid 500); 5 Aug 2006 10:43:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 85766 invoked by uid 99); 5 Aug 2006 10:43:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Aug 2006 03:43:23 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO carmanconsulting.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Aug 2006 03:43:22 -0700 Received: from CARMANI9300 (carmanconsulting.com [161.129.204.104]) by carmanconsulting.com (8.13.7/8.13.6) with ESMTP id k75Agp1F022562 for <[email protected]>; Sat, 5 Aug 2006 06:42:59 -0400 From: "James Carman" <[email protected]> To: <[email protected]> Subject: RE: Core service implementation instantiation hook Date: Sat, 5 Aug 2006 06:43:01 -0400 Message-ID: <014a01c6b87b$eeb5fc30$6801a8c0@CARMANI9300> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <[email protected]> X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Thread-Index: Aca32XSuWPCW3DPjTFSyKYHNoI9U1QAn0U5A X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N The new idea of a "global" interceptor factory would take care of applying one interceptor to multiple service points. We might want to consider something similar to the Spring "autoproxy" facility which allows us to define "selector" implementations based on different criteria. One criteria implementation might take an AspectJ joinpoint definition string and see if it matches the method/class. Another might just be a simpler regex implementation. Anyway, I think you get the point. -----Original Message----- From: Knut Wannheden [mailto:[email protected]] Sent: Friday, August 04, 2006 11:20 AM To: [email protected] Subject: Re: Core service implementation instantiation hook I assume you want to wrap the core service implementation inside a proxy. Don't think you can currently do what you want with HiveMind. It would however be nice if you could specify that an interceptor should apply to many (or all) services. Can you maybe use AspectJ? Just a thought... --knut On 8/4/06, Pablo Lalloni <[email protected]> wrote: > I would like to have a hook somewhere in the process of services instantiation > to be able to customize how core service implementation instances are > created. > > Looking around in the framework code I can't find an obvious way of doing this > using just descriptors, it seems like I will need to make some changes for > doing this so, I was hoping someone here, with better knowledge of internals, > could point me to right direction. > > Just FYI what I'm trying to do is put monitoring proxies everywhere (without > needing to put explicit <interceptor/> in every service point). > > -- > Pablo I. Lalloni <[email protected]> > > [email protected] . ICQ#6322141 . [email protected] > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ > G No room for line, 0:1 > > From [email protected] Sun Aug 06 09:56:31 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69916 invoked from network); 6 Aug 2006 09:56:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Aug 2006 09:56:31 -0000 Received: (qmail 24786 invoked by uid 500); 6 Aug 2006 09:56:31 -0000 Delivered-To: [email protected] Received: (qmail 24771 invoked by uid 500); 6 Aug 2006 09:56:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 24762 invoked by uid 500); 6 Aug 2006 09:56:31 -0000 Delivered-To: [email protected] Received: (qmail 24759 invoked by uid 99); 6 Aug 2006 09:56:31 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Aug 2006 02:56:30 -0700 Date: Sun, 06 Aug 2006 02:51:48 PDT From: [email protected] To: [email protected] Subject: [GUMP@vmgump]: Project hivemind-compile (in module hivemind) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project hivemind-compile has an issue affecting its community integration. This issue affects 3 projects, and has been outstanding for 4 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - hivemind : HiveMind is a services and configuration microkernel - hivemind-compile : HiveMind is a services and configuration microkernel - hivemind-library : HiveMind is a services and configuration microkernel Full details are available at: http://vmgump.apache.org/gump/public/hivemind/hivemind-compile/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/hivemind/hivemind-compile/gump_work/build_hivemind_hivemind-compile.html Work Name: build_hivemind_hivemind-compile (Type: Build) Work ended in a state of : Failed Elapsed: Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Ddownload-warning-marker-displayed=true -Dtest.classes.dir=target/test-classes -Djunit-available=true -Djavacc.home=/usr/local/gump/packages/javacc-3.1 -Djava.classes.dir=target/classes compile-tests [Working Directory: /usr/local/gump/public/workspace/hivemind/framework] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/hivemind/hivemind/target/classes:/usr/local/gump/public/workspace/hivemind/hivebuild/target/classes:/usr/local/gump/public/workspace/hivemind/framework/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-06082006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-06082006.jar:/usr/local/gump/packages/easymock1.2_Java1.3/easymock.jar:/usr/local/gump/packages/easymockclassextension1.2/easymockclassextension.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-06082006.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/public/workspace/javassist/javassist.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-06082006.jar --------------------------------------------- Buildfile: build.xml does not exist! Build failed --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/hivemind/hivemind-compile/rss.xml - Atom: http://vmgump.apache.org/gump/public/hivemind/hivemind-compile/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 19000006082006, vmgump.apache.org:vmgump-public:19000006082006 Gump E-mail Identifier (unique within run) #23. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] From [email protected] Sun Aug 06 21:05:02 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77803 invoked from network); 6 Aug 2006 21:05:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Aug 2006 21:05:02 -0000 Received: (qmail 37672 invoked by uid 500); 6 Aug 2006 21:05:02 -0000 Delivered-To: [email protected] Received: (qmail 37663 invoked by uid 500); 6 Aug 2006 21:05:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 37654 invoked by uid 99); 6 Aug 2006 21:05:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Aug 2006 14:05:02 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail.gmx.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 06 Aug 2006 14:04:59 -0700 Received: (qmail invoked by alias); 06 Aug 2006 21:04:38 -0000 Received: from xdsl-81-173-163-212.netcologne.de (EHLO mail.gmx.de) [161.129.204.104] by mail.gmx.net (mp038) with SMTP; 06 Aug 2006 23:04:38 +0200 X-Authenticated: #18751065 Date: Sun, 06 Aug 2006 23:04:39 +0200 To: [email protected] Subject: Re: registry construction api References: <[email protected]> From: =?iso-8859-15?Q?Achim_H=FCgen?= <[email protected]> Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: <[email protected]> In-Reply-To: <[email protected]> User-Agent: Opera M2/8.50 (Win32, build 7700) X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Knut, some general remarks: 1. Associations: I'm missing the associations between related items. For example between a service point and its implementation(s) or a configuration and its contributions. I'd distinguish between directly resolvable extension (inside the same module) and "unresolvable" extensions that contribute to external modules. For resolvable extensions I regard it as more intuitive and OO to offer an api that represents the module as object graph: ModuleDef module = new ModuleDefImpl("module1"); ServicePointDef sp = new ServicePointDefImpl("Service1", module); module.addServicePoint(sp); sp.addImplementation(..)); sp.addInterceptor(...) vs. ModuleDef module = new ModuleDefImpl("Module1"); module.addServicePoint(new ServicePointDefImpl("Service1", module)); module.addImplementation(new ImplementationDefImpl("Module1.Service1", .. )); module.addInterceptor(new InterceptorDefImpl("Module1.Service1", ... )); By the way, what about the 'add' methods, shouldn't they be included in the interfaces? > Hi all, > > I've once again put some effort into working out an API for the > registry construction. I started out with what I've previously > documented under > http://wiki.apache.org/jakarta-hivemind/DescriptorApiRevampProposal. > Here's a diagram for you to look at: > http://wiki.apache.org/jakarta-hivemind/DescriptorApiRevampProposal?action=AttachFile&do=view&target=module-def.gif. > > Some things worth noting: > > - The abstract interfaces ExtensionPointDef, ExtensionDef, and > ExtensionConstructor on the diagram will probably not be part of the > API. I thought they made the ideas on the diagram clearer. > > - Note the plural form in ContributionsDef. This signifies that a > ContributionsDef can contribute multiple elements to a configuration > point. I don't know what methods ContributionsConstructor should > declare. IMO it's very important for java based and annotation based modules, that we get rid of the 'configuration is always a list or map' limitation. Hence I defined a ConfigurationConstructor that constructs the container element (today it's a list): public interface ConfigurationConstructor extends Locatable { public Object constructConfigurationContainer(Module module); } and the ContributionsConstructor gets the container handed in and can add items, set properties or whatever he want's to do with it: public interface ContributionConstructor { public void contribute(ConfigurationPoint configurationPoint, Object container); } > > - An InterceptorDef only represents one interceptor. By making > Extensionacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bextensionPointId a list of IDs we should be able to > model an InterceptorDef applying to multiple services. > > - The method Extensionacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bisApplicable() is a guard around > Extensionacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetConstructor() and will be used in the XML > implementation to implement the conditional contribution logic. > > - ImplementationDef and InterceptorDef objects don't declare a > reference to a service factory in the API. I considered this a feature > specific to the XML descriptors and must thus be handled in the > implementing classes. For example: > > public class XmlImplementationDef implements ImplementationDef > { > private String _factoryServiceId; > private List _parameters; > > public ImplementationConstructor getConstructor(DefContext context) > { > ServicePointDef factory = > context.getServicePointDef(_factoryServiceId); > Schema schema = ((XmlServicePointDef) factory).getSchema(); > return new XmlFactoryInvocationConstructor(_factoryServiceId, > schema, _parameters); > } > } > > - The XML schema processing for the ContributionsDef would work in a > similar fashion. > > Let me know what you think. > > --knut > XmlImplementationDef gave me an important inspiration. I now see a way how to get rid of methods in my constructor classes that were bugging me. I could even get rid of the 'nature' api I implemented. Achim From [email protected] Sun Aug 06 21:30:40 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80642 invoked from network); 6 Aug 2006 21:30:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Aug 2006 21:30:40 -0000 Received: (qmail 50296 invoked by uid 500); 6 Aug 2006 21:30:39 -0000 Delivered-To: [email protected] Received: (qmail 50287 invoked by uid 500); 6 Aug 2006 21:30:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 50278 invoked by uid 99); 6 Aug 2006 21:30:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Aug 2006 14:30:39 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail.gmx.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 06 Aug 2006 14:30:38 -0700 Received: (qmail invoked by alias); 06 Aug 2006 21:30:16 -0000 Received: from xdsl-81-173-163-212.netcologne.de (EHLO mail.gmx.de) [161.129.204.104] by mail.gmx.net (mp038) with SMTP; 06 Aug 2006 23:30:16 +0200 X-Authenticated: #18751065 Date: Sun, 06 Aug 2006 23:30:17 +0200 To: [email protected] Subject: Re: registry construction api References: <[email protected]> <004f01c6b7c0$de8d16b0$6801a8c0@CARMANI9300> <[email protected]> From: =?iso-8859-15?Q?Achim_H=FCgen?= <[email protected]> Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: <[email protected]> In-Reply-To: <[email protected]> User-Agent: Opera M2/8.50 (Win32, build 7700) X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Good points, and fortunately they almost coincide with the things I extracted from the core framework ;-) For the moment I moved translators and object providers to the xml module, at least it keeps the core small. The symbol sources are deeply linked with the core (Registry extends SymbolSource) so I left them in for now. I have mixed feelings about Service and interceptor factories. (which is proven by the fact, that one is in and one outside of the core). For example LoggingInterceptorFactory is doing a lot of proxy creation logic which is independent of xml. But we need another interface to trigger this proxy creation. The xml module would then provide an XmlLoggingInterceptorFactory that implements the legacy ServiceInterceptorFactory interface, reads a configuration from xml and delegate the work to LoggingInterceptorFactory. Maybe LoggingInterceptorFactory should be LoggingInterceptorConstructor and simply implement the InterceptorConstructor interface? Some status on what I achieved so far in the experimental branch: I implemented a first version of the registry api and separated all xml specific code from the core framework. The unit tests of the framework are working again (99%) but some of them are still using xml to define the test data. I'm trying to port them to the plain java api the next days. It's a good exercise to get a feeling for api deficiencies. The xml module is fully implemented but must be tested then. After this I'll go back to the registry construction api and will try to work in Knuts ideas and do some refactorings. Achim Am Fri, 04 Aug 2006 16:00:03 +0200 schrieb Knut Wannheden <[email protected]>: > James, > > I definitely agree with your points on making it simple to implement > other registry definition mechanisms on top of the API and removing > any XMLyness from it. > > I am not quite clear on what you mean by building a registry "by > hand". I assume you mean writing simple Java code (i.e. *not* writing > code implementing the API I propose). To support this we would only > have to write some classes in HiveMind implementing the proposed API > interfaces. The following (just an example) could for instance define > a module with an autowired singleton service "foo" (interface Foo and > implementation class FooImpl): > > ModuleDef m = new SimpleModule("my"); > m.addService(new SimpleService("foo", Foo.class, FooImpl.class)); > > The Simple* classes would be provided by HiveMind to construct a > registry "by hand". SimpleService would for instance both implement > ServicePointDef *and* ImplementationDef. But there are of course > uncountable other possibilities what exactly these Simple* classes > would look like. Achim has done some work on this in his experimental > branch. > > To expand on your list of what is "core", or rather what isn't, here > is a few things which I consider XMLyness and are thus not part of the > proposed API: > > - Shorthand notations. This may seem obvious but I'd still like to > point it out. In the current *Descriptor classes used by the XML > parser all the various shorthand notations (e.g. <invoke-factory> > allowed inside <service-point>) are reflected in the API. These > shorthands should IMHO not be in the new API. > > - I have the feeling the "package" attribute on <module> is also a > shorthand we don't want in the API. But I haven't given this much > thought yet. > > - Schema processing for mapping XML to POJOs. This feature is > currently used to create a configuration's contribution elements, core > service implementation objects, and interceptors. In all these cases > the schema is defined by some extension point. Also note that the > schema processing includes ${} symbol resolution, translator > translation, and thus also object providers. > > - Service and interceptor factories. I think even these factories are > really part of the XMLyness. I can for instance not see any use of > this in modules defined using annotations (as e.g. in Tapestry 5 IoC). > This should really be transparent and encapsulated by the *Constructor > objects. Thus factories are represented as normal services (which a > *Constructor object can use). > > - Sub modules. I believe sub modules is also XMLyness. They are in > fact already entirely handled by the XmlModuleDescriptorProvider. > > On the topic of symbol sources, translators, and object providers it > is IMO only their *usage* in the schema processing which should be > considered XMLyness. They are implemented as normal configurations and > services and I think they might come in handy in other situations > also. > > --knut > > On 8/4/06, James Carman <[email protected]> wrote: >> >> Thank you for all of your hard work on this! I won't really have time >> to >> review it this weekend as I will be attending NFJS in Cincinnati. I >> briefly >> perused the API, though. It looks like we're on the right track. We >> should >> make sure the API makes it very easy to build a registry "by hand." >> That >> way, we can build any shortcut mechanism (XML, annotations, convention >> over >> configuration, etc.) on top of it. If we do it right, it should be >> *very* >> easy for a user to come up with their own custom scheme for building a >> registry to suit their needs (like Tapestry 5, for example :-). I would >> really like to make HiveMind extensible enough that we don't have folks >> thinking that the XML syntax that we've chosen is too restrictive. If >> they >> want something different, they can easily build their own! :-) >> >> We should probably come up with a list of the features that are "core" >> and >> not part of the XMLyness (a new word in case you're counting) of the >> current >> design. Stuff like schemas and the like are really not part of the >> "core" >> of HiveMind and should be part of the XML builder extension. I would >> think >> that symbols would fall in the same category. >> >> These comments aren't really aimed at the code you've come up with, >> Knut. >> They're just my musings while I drink my morning coffee here. Again, >> thanks >> for working on this. I've been way too busy lately to lay down any code >> towards this. You da man! >> >> Okay, I'm going to get out of here to go listen to Stuar Halloway's >> "Spring >> Fundamentals" talk. Know Thy Enemy! >> >> James >> >> -----Original Message----- >> From: Knut Wannheden [mailto:[email protected]] >> Sent: Friday, August 04, 2006 5:43 AM >> To: HiveMind Dev List >> Subject: registry construction api >> >> Hi all, >> >> I've once again put some effort into working out an API for the >> registry construction. I started out with what I've previously >> documented under >> http://wiki.apache.org/jakarta-hivemind/DescriptorApiRevampProposal. >> Here's a diagram for you to look at: >> http://wiki.apache.org/jakarta-hivemind/DescriptorApiRevampProposal?action=A >> ttachFile&do=view&target=module-def.gif. >> >> Some things worth noting: >> >> - The abstract interfaces ExtensionPointDef, ExtensionDef, and >> ExtensionConstructor on the diagram will probably not be part of the >> API. I thought they made the ideas on the diagram clearer. >> >> - Note the plural form in ContributionsDef. This signifies that a >> ContributionsDef can contribute multiple elements to a configuration >> point. I don't know what methods ContributionsConstructor should >> declare. >> >> - An InterceptorDef only represents one interceptor. By making >> Extensionacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bextensionPointId a list of IDs we should be able to >> model an InterceptorDef applying to multiple services. >> >> - The method Extensionacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bisApplicable() is a guard around >> Extensionacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetConstructor() and will be used in the XML >> implementation to implement the conditional contribution logic. >> >> - ImplementationDef and InterceptorDef objects don't declare a >> reference to a service factory in the API. I considered this a feature >> specific to the XML descriptors and must thus be handled in the >> implementing classes. For example: >> >> public class XmlImplementationDef implements ImplementationDef >> { >> private String _factoryServiceId; >> private List _parameters; >> >> public ImplementationConstructor getConstructor(DefContext context) >> { >> ServicePointDef factory = >> context.getServicePointDef(_factoryServiceId); >> Schema schema = ((XmlServicePointDef) factory).getSchema(); >> return new XmlFactoryInvocationConstructor(_factoryServiceId, >> schema, _parameters); >> } >> } >> >> - The XML schema processing for the ContributionsDef would work in a >> similar fashion. >> >> Let me know what you think. >> >> --knut >> >> >> > From [email protected] Mon Aug 07 08:02:29 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3003 invoked from network); 7 Aug 2006 08:02:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Aug 2006 08:02:29 -0000 Received: (qmail 89499 invoked by uid 500); 7 Aug 2006 08:02:29 -0000 Delivered-To: [email protected] Received: (qmail 89483 invoked by uid 500); 7 Aug 2006 08:02:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 89474 invoked by uid 99); 7 Aug 2006 08:02:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2006 01:02:28 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2006 01:02:28 -0700 Received: by ug-out-1314.google.com with SMTP id j40so253923ugd for <[email protected]>; Mon, 07 Aug 2006 01:02:06 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ue4fiwm51RUKzghOBTauoRINgnZGUH7OFB3iOWgBx0H0lYkRs4Ku4Muj7yR3DeK4FFWSILi0+In6UkBy7yE4T5suVd5b4XJuLA7pa1Ez7XZBDVKSx8qPuGlLZXFe2rD7dBlb62c1DrYPAdlyNH77d5xTG/5emoxajWuo79n3EYs= Received: by 161.129.204.104 with SMTP id c12mr7647688ugm; Mon, 07 Aug 2006 01:02:06 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 7 Aug 2006 01:02:06 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 7 Aug 2006 10:02:06 +0200 From: "Knut Wannheden" <[email protected]> To: [email protected] Subject: Re: registry construction api In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Achim, Thanks for the feedback. Some comments: On 8/6/06, Achim H=FCgen <[email protected]> wrote: > > some general remarks: > > 1. Associations: > I'm missing the associations between related items. For example > between a service point and its implementation(s) or a configuration > and its contributions. I'd distinguish between directly resolvable > extension (inside the same module) and "unresolvable" extensions that > contribute to external modules. > For resolvable extensions I regard it as more intuitive and OO to > offer an api that represents the module as object graph: > > ModuleDef module =3D new ModuleDefImpl("module1"); > ServicePointDef sp =3D new ServicePointDefImpl("Service1", module); > module.addServicePoint(sp); > sp.addImplementation(..)); > sp.addInterceptor(...) > > vs. > > ModuleDef module =3D new ModuleDefImpl("Module1"); > module.addServicePoint(new ServicePointDefImpl("Service1", module)); > module.addImplementation(new ImplementationDefImpl("Module1.Service1", .. > )); > module.addInterceptor(new InterceptorDefImpl("Module1.Service1", ... )); > > By the way, what about the 'add' methods, shouldn't they be included in > the interfaces? > Yes and no. I feel that the API, i.e. the *Def interfaces, should only represent the requirements from HiveMind's point of view and not contain methods that the implementation (e.g. Java or Java annotations based support) will need. This should however not prevent the implementation from defining such methods. I.e. your example for what the Java based support implementation could look like should still be simple to implement in terms of the proposed API. > > - Note the plural form in ContributionsDef. This signifies that a > > ContributionsDef can contribute multiple elements to a configuration > > point. I don't know what methods ContributionsConstructor should > > declare. > > IMO it's very important for java based and annotation based modules, that > we get rid of the 'configuration is always a list or map' limitation. > Hence I defined a ConfigurationConstructor that constructs the container > element (today it's a list): > > public interface ConfigurationConstructor extends Locatable > { > public Object constructConfigurationContainer(Module module); > } > > and the ContributionsConstructor gets the container handed in and > can add items, set properties or whatever he want's to do with it: > > public interface ContributionConstructor > { > public void contribute(ConfigurationPoint configurationPoint, Object > container); > } > That looks interesting. That would of course mean that a configuration is always just available as one type of "container". But that seems like a reasonable restriction and a backward incompatibility we could justify. I just wonder if this has any implications for the proxying and autowiring. Should the ConfigurationPointDef maybe, just like the ServicePointDef with getServiceInterfaceName(), expose the container type with a getContainerInterfaceName() method. This would probably be required for HiveMind to be able to create a proxy for the configuration. We can also take a peek at Tapestry IoC's approach (currently limited to unordered, ordered, and mapped configurations) for ideas: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/tr= unk/src/main/java/org/apache/tapestry/ioc/def/ContributionDef.java?view=3Dm= arkup. --knut From [email protected] Mon Aug 07 08:18:34 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7681 invoked from network); 7 Aug 2006 08:18:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Aug 2006 08:18:33 -0000 Received: (qmail 8989 invoked by uid 500); 7 Aug 2006 08:18:33 -0000 Delivered-To: [email protected] Received: (qmail 8979 invoked by uid 500); 7 Aug 2006 08:18:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 8970 invoked by uid 99); 7 Aug 2006 08:18:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2006 01:18:33 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2006 01:18:25 -0700 Received: by ug-out-1314.google.com with SMTP id j40so1583ugd for <[email protected]>; Mon, 07 Aug 2006 01:17:58 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jUUC/GuYb/kZiGQeef6Qg04cONU2az+li3tWZjWbV+9BSArd62I1z9DBG7GJg9GjEe35wN8diivuth8aTpgRhcrxgpFXhiviCbdIhwFpMEH74KLJJ48X1L/3iHZp96Fq5v7SeuemAvW7g+i0knRw8LbiAYLFzdyIbj7GVkf3ae4= Received: by 161.129.204.104 with SMTP id z2mr7738547ugi; Mon, 07 Aug 2006 01:17:58 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 7 Aug 2006 01:17:58 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 7 Aug 2006 10:17:58 +0200 From: "Knut Wannheden" <[email protected]> To: [email protected] Subject: Re: registry construction api In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> <004f01c6b7c0$de8d16b0$6801a8c0@CARMANI9300> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Achim, On 8/6/06, Achim H=FCgen <[email protected]> wrote: > Good points, and fortunately they almost coincide with the things > I extracted from the core framework ;-) > For the moment I moved translators and object providers > to the xml module, at least it keeps the core small. > The symbol sources are deeply linked with the core (Registry > extends SymbolSource) so I left them in for now. > > I have mixed feelings about Service and interceptor factories. > (which is proven by the fact, that one is in and one outside of the core)= . > For example LoggingInterceptorFactory is doing a lot of proxy creation > logic > which is independent of xml. But we need another interface to trigger > this proxy creation. The xml module would then provide an > XmlLoggingInterceptorFactory > that implements the legacy ServiceInterceptorFactory interface, > reads a configuration from xml and delegate the work to > LoggingInterceptorFactory. > Maybe LoggingInterceptorFactory should be LoggingInterceptorConstructor a= nd > simply implement the InterceptorConstructor interface? > I was thinking that the InterceptorConstructor interface should be enough. The implementation of this interface for the XML support would deal with the schema processing and then pass the converted parameters on to a common POJO (or HiveMind service) like LoggingInterceptorFactory. The InterceptorConstructor#construct() method would be passed an object with which it can lookup HiveMind services (e.g. the LoggingInterceptorFactory) to fulfill its responsibility. Same for the service implementation factories. I had some more ideas for the API: - The ExtensionDef interface (or its subclasses if we decide not to include it in the API) could instead of having a extensionPointId : String attribute declare a extensionPointPattern : String attribute which is a glob or regex pattern. This would allow us to match up one extension with multiple extension points. This would probably mostly be used for interceptors but maybe also for service implementations. This would effectively render the InterceptorConstructor to the new ServiceInterceptorFactory. - I am not sure whether to consider the default / override implementation mechanism as XMLyness or core feature. To support this the ImplementationDef interface could declare a method isDefault() : boolean. An more flexible but not quite as clear alternative would be to declare something like a getPriority() : int method. > > Some status on what I achieved so far in the experimental branch: > > I implemented a first version of the registry api and separated all > xml specific code from the core framework. > The unit tests of the framework are working again (99%) but some of > them are still using xml to define the test data. I'm trying to port > them to the plain java api the next days. It's a good exercise to get > a feeling for api deficiencies. > The xml module is fully implemented but must be tested then. > > After this I'll go back to the registry construction api and will > try to work in Knuts ideas and do some refactorings. > Excellent! Will the code in your branch be HiveMind 1.1 backwards compatibl= e? --knut From [email protected] Mon Aug 07 17:57:57 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4775 invoked from network); 7 Aug 2006 17:57:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Aug 2006 17:57:57 -0000 Received: (qmail 72571 invoked by uid 500); 7 Aug 2006 17:57:56 -0000 Delivered-To: [email protected] Received: (qmail 72559 invoked by uid 500); 7 Aug 2006 17:57:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 72550 invoked by uid 500); 7 Aug 2006 17:57:56 -0000 Delivered-To: [email protected] Received: (qmail 72547 invoked by uid 99); 7 Aug 2006 17:57:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2006 10:57:56 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2006 10:57:55 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id CE6D541000B for <[email protected]>; Mon, 7 Aug 2006 17:55:14 +0000 (GMT) Message-ID: <21070336.1154973314797.JavaMail.jira@brutus> Date: Mon, 7 Aug 2006 10:55:14 -0700 (PDT) From: "Paul Field (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (HIVEMIND-178) Allow Conditional Contributions based on symbols (from SymbolSources) In-Reply-To: <7410054.1150888229792.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HIVEMIND-178?page=comments#action_12426276 ] Paul Field commented on HIVEMIND-178: ------------------------------------- We're developing web applications so setting system properties is not a particularly nice thing to do when you may be co-existing with other web applications (and it may be forbidden by the security manager). However, the feature is a "nice to have" and we can live without it if it's a big change to HiveMind. Does it make sense to lower the priority and leave it open in case anyone wants to vote for it? > Allow Conditional Contributions based on symbols (from SymbolSources) > --------------------------------------------------------------------- > > Key: HIVEMIND-178 > URL: http://issues.apache.org/jira/browse/HIVEMIND-178 > Project: HiveMind > Issue Type: New Feature > Components: framework > Reporter: Paul Field > > Conditional Contributions are really handy during testing and I now have a number of features that I can turn on or off during development/testing. However, now there are several options, it's not particularly convenient to configure them through system properties; it would be nicer to have a single file containing all the flags. > I can create this single file and expose it as a SymbolSource, but conditional contributions cannot use the value of a symbol from a SymbolSource. > Please could you enhance the conditional contribution expressions to allow me to specify the name of a symbol from a SymbolSource. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Tue Aug 08 18:07:09 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59660 invoked from network); 8 Aug 2006 18:07:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Aug 2006 18:07:09 -0000 Received: (qmail 58900 invoked by uid 500); 8 Aug 2006 18:07:08 -0000 Delivered-To: [email protected] Received: (qmail 58883 invoked by uid 500); 8 Aug 2006 18:07:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58874 invoked by uid 500); 8 Aug 2006 18:07:08 -0000 Delivered-To: [email protected] Received: (qmail 58871 invoked by uid 99); 8 Aug 2006 18:07:08 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 11:07:08 -0700 Date: Tue, 08 Aug 2006 11:02:17 PDT From: [email protected] To: [email protected] Subject: [GUMP@vmgump]: Project hivemind-compile (in module hivemind) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project hivemind-compile has an issue affecting its community integration. This issue affects 3 projects. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - hivemind : HiveMind is a services and configuration microkernel - hivemind-compile : HiveMind is a services and configuration microkernel - hivemind-library : HiveMind is a services and configuration microkernel Full details are available at: http://vmgump.apache.org/gump/public/hivemind/hivemind-compile/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/hivemind/hivemind-compile/gump_work/build_hivemind_hivemind-compile.html Work Name: build_hivemind_hivemind-compile (Type: Build) Work ended in a state of : Failed Elapsed: Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Ddownload-warning-marker-displayed=true -Dtest.classes.dir=target/test-classes -Djunit-available=true -Djavacc.home=/usr/local/gump/packages/javacc-3.1 -Djava.classes.dir=target/classes compile-tests [Working Directory: /usr/local/gump/public/workspace/hivemind/framework] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/hivemind/hivemind/target/classes:/usr/local/gump/public/workspace/hivemind/hivebuild/target/classes:/usr/local/gump/public/workspace/hivemind/framework/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-08082006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-08082006.jar:/usr/local/gump/packages/easymock1.2_Java1.3/easymock.jar:/usr/local/gump/packages/easymockclassextension1.2/easymockclassextension.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-08082006.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/public/workspace/javassist/javassist.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-08082006.jar --------------------------------------------- Buildfile: build.xml does not exist! Build failed --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/hivemind/hivemind-compile/rss.xml - Atom: http://vmgump.apache.org/gump/public/hivemind/hivemind-compile/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 17000808082006, vmgump.apache.org:vmgump-public:17000808082006 Gump E-mail Identifier (unique within run) #14. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] From [email protected] Wed Aug 09 09:59:27 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82159 invoked from network); 9 Aug 2006 09:59:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Aug 2006 09:59:27 -0000 Received: (qmail 20125 invoked by uid 500); 9 Aug 2006 09:59:27 -0000 Delivered-To: [email protected] Received: (qmail 20010 invoked by uid 500); 9 Aug 2006 09:59:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 20001 invoked by uid 500); 9 Aug 2006 09:59:26 -0000 Delivered-To: [email protected] Received: (qmail 19994 invoked by uid 99); 9 Aug 2006 09:59:26 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Aug 2006 02:59:26 -0700 Date: Wed, 09 Aug 2006 02:54:32 PDT From: [email protected] To: [email protected] Subject: [GUMP@vmgump]: Project hivemind-compile (in module hivemind) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project hivemind-compile has an issue affecting its community integration. This issue affects 3 projects, and has been outstanding for 3 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - hivemind : HiveMind is a services and configuration microkernel - hivemind-compile : HiveMind is a services and configuration microkernel - hivemind-library : HiveMind is a services and configuration microkernel Full details are available at: http://vmgump.apache.org/gump/public/hivemind/hivemind-compile/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/hivemind/hivemind-compile/gump_work/build_hivemind_hivemind-compile.html Work Name: build_hivemind_hivemind-compile (Type: Build) Work ended in a state of : Failed Elapsed: Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Ddownload-warning-marker-displayed=true -Dtest.classes.dir=target/test-classes -Djunit-available=true -Djavacc.home=/usr/local/gump/packages/javacc-3.1 -Djava.classes.dir=target/classes compile-tests [Working Directory: /usr/local/gump/public/workspace/hivemind/framework] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/hivemind/hivemind/target/classes:/usr/local/gump/public/workspace/hivemind/hivebuild/target/classes:/usr/local/gump/public/workspace/hivemind/framework/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-09082006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-09082006.jar:/usr/local/gump/packages/easymock1.2_Java1.3/easymock.jar:/usr/local/gump/packages/easymockclassextension1.2/easymockclassextension.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-09082006.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/public/workspace/javassist/javassist.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-09082006.jar --------------------------------------------- Buildfile: build.xml does not exist! Build failed --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/hivemind/hivemind-compile/rss.xml - Atom: http://vmgump.apache.org/gump/public/hivemind/hivemind-compile/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 20000009082006, vmgump.apache.org:vmgump-public:20000009082006 Gump E-mail Identifier (unique within run) #24. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] From [email protected] Thu Aug 10 10:08:15 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86376 invoked from network); 10 Aug 2006 10:08:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Aug 2006 10:08:15 -0000 Received: (qmail 31429 invoked by uid 500); 10 Aug 2006 10:08:15 -0000 Delivered-To: [email protected] Received: (qmail 31313 invoked by uid 500); 10 Aug 2006 10:08:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31303 invoked by uid 500); 10 Aug 2006 10:08:14 -0000 Delivered-To: [email protected] Received: (qmail 31299 invoked by uid 99); 10 Aug 2006 10:08:14 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Aug 2006 03:08:14 -0700 Date: Thu, 10 Aug 2006 03:03:16 PDT From: [email protected] To: [email protected] Subject: [GUMP@vmgump]: Project hivemind-compile (in module hivemind) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project hivemind-compile has an issue affecting its community integration. This issue affects 3 projects, and has been outstanding for 6 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - hivemind : HiveMind is a services and configuration microkernel - hivemind-compile : HiveMind is a services and configuration microkernel - hivemind-library : HiveMind is a services and configuration microkernel Full details are available at: http://vmgump.apache.org/gump/public/hivemind/hivemind-compile/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/hivemind/hivemind-compile/gump_work/build_hivemind_hivemind-compile.html Work Name: build_hivemind_hivemind-compile (Type: Build) Work ended in a state of : Failed Elapsed: Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Ddownload-warning-marker-displayed=true -Dtest.classes.dir=target/test-classes -Djunit-available=true -Djavacc.home=/usr/local/gump/packages/javacc-3.1 -Djava.classes.dir=target/classes compile-tests [Working Directory: /usr/local/gump/public/workspace/hivemind/framework] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/hivemind/hivemind/target/classes:/usr/local/gump/public/workspace/hivemind/hivebuild/target/classes:/usr/local/gump/public/workspace/hivemind/framework/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-10082006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-10082006.jar:/usr/local/gump/packages/easymock1.2_Java1.3/easymock.jar:/usr/local/gump/packages/easymockclassextension1.2/easymockclassextension.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-10082006.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/public/workspace/javassist/javassist.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-10082006.jar --------------------------------------------- Buildfile: build.xml does not exist! Build failed --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/hivemind/hivemind-compile/rss.xml - Atom: http://vmgump.apache.org/gump/public/hivemind/hivemind-compile/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 20000010082006, vmgump.apache.org:vmgump-public:20000010082006 Gump E-mail Identifier (unique within run) #25. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] From [email protected] Fri Aug 11 07:04:15 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20889 invoked from network); 11 Aug 2006 07:04:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Aug 2006 07:04:15 -0000 Received: (qmail 63183 invoked by uid 500); 11 Aug 2006 07:04:15 -0000 Delivered-To: [email protected] Received: (qmail 63159 invoked by uid 500); 11 Aug 2006 07:04:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 63149 invoked by uid 500); 11 Aug 2006 07:04:15 -0000 Delivered-To: [email protected] Received: (qmail 63146 invoked by uid 99); 11 Aug 2006 07:04:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Aug 2006 00:04:15 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Aug 2006 00:04:07 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 7D9A77142CE for <[email protected]>; Fri, 11 Aug 2006 07:01:14 +0000 (GMT) Message-ID: <18248677.1155279674512.JavaMail.jira@brutus> Date: Fri, 11 Aug 2006 00:01:14 -0700 (PDT) From: "Renat Zubairov (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (HIVEMIND-181) Hivmind will not work in with security enforcments due to bug in Javassist MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hivmind will not work in with security enforcments due to bug in Javassist -------------------------------------------------------------------------- Key: HIVEMIND-181 URL: http://issues.apache.org/jira/browse/HIVEMIND-181 Project: HiveMind Issue Type: Bug Environment: IBM WebSphere 5 with Security ON IBM JVM Reporter: Renat Zubairov Priority: Critical Due to the bug in Javassist, ProtectionDomain wasn't associated with generated classes, see JIRRA from Javassist: http://jira.jboss.com/jira/browse/JASSIST-23 This bug stops from executing any Hivemind based application (e.g. Tapestry) on the any environment with active SecurityManager. Unfortunately for proper fixing of this bug some changes within the Hivemind are required, such as (I expect) 1. Switch to the latest Javassist 2. Change all "old" method calls to the new one with additional parameter - Hivemind protection domain. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Fri Aug 11 07:06:10 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21252 invoked from network); 11 Aug 2006 07:06:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Aug 2006 07:06:10 -0000 Received: (qmail 66760 invoked by uid 500); 11 Aug 2006 07:06:10 -0000 Delivered-To: [email protected] Received: (qmail 66645 invoked by uid 500); 11 Aug 2006 07:06:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 66636 invoked by uid 500); 11 Aug 2006 07:06:10 -0000 Delivered-To: [email protected] Received: (qmail 66633 invoked by uid 99); 11 Aug 2006 07:06:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Aug 2006 00:06:10 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Aug 2006 00:06:07 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id CAE997142CC for <[email protected]>; Fri, 11 Aug 2006 07:03:14 +0000 (GMT) Message-ID: <33472786.1155279794828.JavaMail.jira@brutus> Date: Fri, 11 Aug 2006 00:03:14 -0700 (PDT) From: "Renat Zubairov (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (HIVEMIND-181) Hivmind will not work in with security enforcments due to bug in Javassist In-Reply-To: <18248677.1155279674512.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HIVEMIND-181?page=comments#action_12427455 ] Renat Zubairov commented on HIVEMIND-181: ----------------------------------------- Sorry, forgot to set. Component: Framework (I guess) Affects Version: 1.1.1 > Hivmind will not work in with security enforcments due to bug in Javassist > -------------------------------------------------------------------------- > > Key: HIVEMIND-181 > URL: http://issues.apache.org/jira/browse/HIVEMIND-181 > Project: HiveMind > Issue Type: Bug > Environment: IBM WebSphere 5 with Security ON > IBM JVM > Reporter: Renat Zubairov > Priority: Critical > > Due to the bug in Javassist, ProtectionDomain wasn't associated with generated classes, see JIRRA from Javassist: > http://jira.jboss.com/jira/browse/JASSIST-23 > This bug stops from executing any Hivemind based application (e.g. Tapestry) on the any environment with active SecurityManager. > Unfortunately for proper fixing of this bug some changes within the Hivemind are required, such as (I expect) > 1. Switch to the latest Javassist > 2. Change all "old" method calls to the new one with additional parameter - Hivemind protection domain. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Fri Aug 11 09:56:41 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83225 invoked from network); 11 Aug 2006 09:56:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Aug 2006 09:56:41 -0000 Received: (qmail 29653 invoked by uid 500); 11 Aug 2006 09:56:41 -0000 Delivered-To: [email protected] Received: (qmail 29550 invoked by uid 500); 11 Aug 2006 09:56:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 29541 invoked by uid 500); 11 Aug 2006 09:56:41 -0000 Delivered-To: [email protected] Received: (qmail 29537 invoked by uid 99); 11 Aug 2006 09:56:41 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Aug 2006 02:56:40 -0700 Date: Fri, 11 Aug 2006 02:51:39 PDT From: [email protected] To: [email protected] Subject: [GUMP@vmgump]: Project hivemind-compile (in module hivemind) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project hivemind-compile has an issue affecting its community integration. This issue affects 4 projects, and has been outstanding for 9 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - hivemind : HiveMind is a services and configuration microkernel - hivemind-compile : HiveMind is a services and configuration microkernel - hivemind-library : HiveMind is a services and configuration microkernel - tapestry : Component-based web application framework organized around i... Full details are available at: http://vmgump.apache.org/gump/public/hivemind/hivemind-compile/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/hivemind/hivemind-compile/gump_work/build_hivemind_hivemind-compile.html Work Name: build_hivemind_hivemind-compile (Type: Build) Work ended in a state of : Failed Elapsed: Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Ddownload-warning-marker-displayed=true -Dtest.classes.dir=target/test-classes -Djunit-available=true -Djavacc.home=/usr/local/gump/packages/javacc-3.1 -Djava.classes.dir=target/classes compile-tests [Working Directory: /usr/local/gump/public/workspace/hivemind/framework] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/hivemind/hivemind/target/classes:/usr/local/gump/public/workspace/hivemind/hivebuild/target/classes:/usr/local/gump/public/workspace/hivemind/framework/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-11082006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-11082006.jar:/usr/local/gump/packages/easymock1.2_Java1.3/easymock.jar:/usr/local/gump/packages/easymockclassextension1.2/easymockclassextension.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-11082006.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/public/workspace/javassist/javassist.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-11082006.jar --------------------------------------------- Buildfile: build.xml does not exist! Build failed --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/hivemind/hivemind-compile/rss.xml - Atom: http://vmgump.apache.org/gump/public/hivemind/hivemind-compile/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 20000011082006, vmgump.apache.org:vmgump-public:20000011082006 Gump E-mail Identifier (unique within run) #20. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] From [email protected] Sat Aug 12 10:01:47 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54168 invoked from network); 12 Aug 2006 10:01:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Aug 2006 10:01:47 -0000 Received: (qmail 86903 invoked by uid 500); 12 Aug 2006 10:01:47 -0000 Delivered-To: [email protected] Received: (qmail 86785 invoked by uid 500); 12 Aug 2006 10:01:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 86775 invoked by uid 500); 12 Aug 2006 10:01:47 -0000 Delivered-To: [email protected] Received: (qmail 86771 invoked by uid 99); 12 Aug 2006 10:01:47 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Aug 2006 03:01:46 -0700 Date: Sat, 12 Aug 2006 02:56:40 PDT From: [email protected] To: [email protected] Subject: [GUMP@vmgump]: Project hivemind-compile (in module hivemind) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project hivemind-compile has an issue affecting its community integration. This issue affects 4 projects, and has been outstanding for 12 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - hivemind : HiveMind is a services and configuration microkernel - hivemind-compile : HiveMind is a services and configuration microkernel - hivemind-library : HiveMind is a services and configuration microkernel - tapestry : Component-based web application framework organized around i... Full details are available at: http://vmgump.apache.org/gump/public/hivemind/hivemind-compile/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/hivemind/hivemind-compile/gump_work/build_hivemind_hivemind-compile.html Work Name: build_hivemind_hivemind-compile (Type: Build) Work ended in a state of : Failed Elapsed: 1 sec Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Ddownload-warning-marker-displayed=true -Dtest.classes.dir=target/test-classes -Djunit-available=true -Djavacc.home=/usr/local/gump/packages/javacc-3.1 -Djava.classes.dir=target/classes compile-tests [Working Directory: /usr/local/gump/public/workspace/hivemind/framework] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/hivemind/hivemind/target/classes:/usr/local/gump/public/workspace/hivemind/hivebuild/target/classes:/usr/local/gump/public/workspace/hivemind/framework/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-12082006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-12082006.jar:/usr/local/gump/packages/easymock1.2_Java1.3/easymock.jar:/usr/local/gump/packages/easymockclassextension1.2/easymockclassextension.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-12082006.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/public/workspace/javassist/javassist.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-12082006.jar --------------------------------------------- Buildfile: build.xml does not exist! Build failed --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/hivemind/hivemind-compile/rss.xml - Atom: http://vmgump.apache.org/gump/public/hivemind/hivemind-compile/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 20000012082006, vmgump.apache.org:vmgump-public:20000012082006 Gump E-mail Identifier (unique within run) #22. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] From [email protected] Sun Aug 13 13:39:06 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88322 invoked from network); 13 Aug 2006 13:39:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Aug 2006 13:39:06 -0000 Received: (qmail 31436 invoked by uid 500); 13 Aug 2006 13:39:06 -0000 Delivered-To: [email protected] Received: (qmail 31426 invoked by uid 500); 13 Aug 2006 13:39:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31417 invoked by uid 500); 13 Aug 2006 13:39:05 -0000 Delivered-To: [email protected] Received: (qmail 31414 invoked by uid 99); 13 Aug 2006 13:39:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Aug 2006 06:39:05 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Aug 2006 06:39:05 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 8BEA041000E for <[email protected]>; Sun, 13 Aug 2006 13:36:14 +0000 (GMT) Message-ID: <8013445.1155476174570.JavaMail.jira@brutus> Date: Sun, 13 Aug 2006 06:36:14 -0700 (PDT) From: "Daniel Tomsu (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (HIVEMIND-182) undeploying of webapps in Servlet container MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N undeploying of webapps in Servlet container ------------------------------------------- Key: HIVEMIND-182 URL: http://issues.apache.org/jira/browse/HIVEMIND-182 Project: HiveMind Issue Type: Bug Components: framework Affects Versions: 1.1.1, 1.1 Environment: Apache Tomcat/5.5.17 JDK 1.5.0_07-b03 Sun Microsystems Inc. Windows XP 5.1 x86 Reporter: Daniel Tomsu The hot undeployment of war files is not working from the tomcat environment, because the hivemind is blocked by a file handle. The necessary libraries (hivemind, tapestry) are normally bundled in the war file. The only way around it is to either have the jar files in your common/lib folder of the tomcat or to restart the service. But this has serious drawbacks in a productive environment, because the service might be used in different projects, too. The message in the Tomcat Manager is: OK - Undeployed application at context path <application_name> There is no error message in the log files. Process Explorer shows that there is one handle on the file. Anyone has information about this bug. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Tue Aug 15 09:34:31 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56226 invoked from network); 15 Aug 2006 09:34:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Aug 2006 09:34:31 -0000 Received: (qmail 67979 invoked by uid 500); 15 Aug 2006 09:34:31 -0000 Delivered-To: [email protected] Received: (qmail 67966 invoked by uid 500); 15 Aug 2006 09:34:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 67957 invoked by uid 99); 15 Aug 2006 09:34:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Aug 2006 02:34:31 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO cmtamx02b.bmwgroup.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Aug 2006 02:34:27 -0700 Received: from lp0055.muc (lp0055.muc [161.129.204.104]) by cmtamx02a.bmwgroup.com (8.13.6/8.13.6) with ESMTP id k7F8Ah0i021942 for <[email protected]>; Tue, 15 Aug 2006 11:34:04 +0200 Received: from szh001.emeadecentral.bmw.corp (szh001.emeadecentral.bmw.corp [161.129.204.104]) by lp0055.muc with ESMTP for [email protected]; Tue, 15 Aug 2006 11:34:03 +0200 Received: by szh001.ch.sub with Internet Mail Service (5.5.2653.19) id <Q5T1XSYQ>; Tue, 15 Aug 2006 11:34:02 +0200 Message-Id: <[email protected]> From: Schulte Marcus <[email protected]> To: "'[email protected]'" <[email protected]> Subject: registryDidShutdown not called on Singleton-ServiceFactory Date: Tue, 15 Aug 2006 11:34:01 +0200 X-Mailer: Internet Mail Service (5.5.2653.19) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C6C04D.F1322D10" Sender: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C6C04D.F1322D10 Content-Type: text/plain Content-Transfer-Encoding: 7bit With hivemind 1.1.1, I have to add something like this: shutdownCoord.addRegistryShutdownListener( this ); to my ServiceImplementationFactories constructor to get its registryDidShutdown() method called. Of course the CSI implements RegistryShutdownListener ... service-model is "singleton" btw. Seemed odd to me... Thanks for any hints, Marcus ------_=_NextPart_001_01C6C04D.F1322D10 Content-Type: text/html Content-Transfer-Encoding: 7bit <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <META content="MSHTML 6.00.2900.2964" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=313392609-15082006><FONT face=Arial size=2>With hivemind 1.1.1, I have to add something like this:</FONT></SPAN></DIV> <DIV><SPAN class=313392609-15082006><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; shutdownCoord.addRegistryShutdownListener( this );</FONT></SPAN></DIV> <DIV><SPAN class=313392609-15082006><FONT face=Arial size=2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=313392609-15082006><FONT face=Arial size=2>to my ServiceImplementationFactories constructor to get its registryDidShutdown() method called.</FONT></SPAN></DIV> <DIV><SPAN class=313392609-15082006><FONT face=Arial size=2>Of course the CSI implements RegistryShutdownListener ...</FONT></SPAN></DIV> <DIV><SPAN class=313392609-15082006><FONT face=Arial size=2>service-model is "singleton" btw.</FONT></SPAN></DIV> <DIV><SPAN class=313392609-15082006><FONT face=Arial size=2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=313392609-15082006><FONT face=Arial size=2>Seemed odd to me...</FONT></SPAN></DIV> <DIV><SPAN class=313392609-15082006><FONT face=Arial size=2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=313392609-15082006><FONT face=Arial size=2>Thanks for any hints,</FONT></SPAN></DIV> <DIV><SPAN class=313392609-15082006><FONT face=Arial size=2>Marcus</FONT></SPAN></DIV></BODY></HTML> ------_=_NextPart_001_01C6C04D.F1322D10-- From [email protected] Wed Aug 16 17:48:12 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77651 invoked from network); 16 Aug 2006 17:48:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Aug 2006 17:48:12 -0000 Received: (qmail 12428 invoked by uid 500); 16 Aug 2006 17:48:11 -0000 Delivered-To: [email protected] Received: (qmail 12378 invoked by uid 500); 16 Aug 2006 17:48:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 12369 invoked by uid 500); 16 Aug 2006 17:48:11 -0000 Delivered-To: [email protected] Received: (qmail 12362 invoked by uid 99); 16 Aug 2006 17:48:11 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Aug 2006 10:48:11 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Aug 2006 10:48:10 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id CA68B714293 for <[email protected]>; Wed, 16 Aug 2006 17:45:14 +0000 (GMT) Message-ID: <16563091.1155750314826.JavaMail.jira@brutus> Date: Wed, 16 Aug 2006 10:45:14 -0700 (PDT) From: "Henrik Vendelbo (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (HIVEMIND-179) Provide access to the Registry In-Reply-To: <26873060.1153838053929.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HIVEMIND-179?page=comments#action_12428449 ] Henrik Vendelbo commented on HIVEMIND-179: ------------------------------------------ Or you could support an interface like Spring's ApplicationContextAware. I don't like making objects depend on the container, but by definition of the problem you make it dependent anyway. > Provide access to the Registry > ------------------------------ > > Key: HIVEMIND-179 > URL: http://issues.apache.org/jira/browse/HIVEMIND-179 > Project: HiveMind > Issue Type: New Feature > Components: framework > Reporter: Martin Strand > > There is currently no way for a service to access its own Registry. > This would be useful sometimes, for example if you've got a listener that is invoked from a non-Hivemind thread: > public class MyService() > { > private Registry registry; > public MyService() > { > registry = getRegistry(); // <-- Need this > OutsideHivemind.registerListener(this); > } > public void invokeListener() > { > registry.setupThread(); > // Use some Hivemind services... > registry.cleanupThread(); > } > } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Aug 16 17:55:18 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79419 invoked from network); 16 Aug 2006 17:55:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Aug 2006 17:55:18 -0000 Received: (qmail 26751 invoked by uid 500); 16 Aug 2006 17:55:13 -0000 Delivered-To: [email protected] Received: (qmail 26735 invoked by uid 500); 16 Aug 2006 17:55:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26719 invoked by uid 500); 16 Aug 2006 17:55:13 -0000 Delivered-To: [email protected] Received: (qmail 26644 invoked by uid 99); 16 Aug 2006 17:55:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Aug 2006 10:55:13 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Aug 2006 10:55:11 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 53F937142A7 for <[email protected]>; Wed, 16 Aug 2006 17:52:16 +0000 (GMT) Message-ID: <8896850.1155750736341.JavaMail.jira@brutus> Date: Wed, 16 Aug 2006 10:52:16 -0700 (PDT) From: "James Carman (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (HIVEMIND-179) Provide access to the Registry In-Reply-To: <26873060.1153838053929.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HIVEMIND-179?page=comments#action_12428450 ] James Carman commented on HIVEMIND-179: --------------------------------------- I recommend creating a new class called InvocationContext or something which would allow you to access stuff like this. Maybe one of the methods could be getRegistry() or getModule(). Anyway, it would give you information about the current method invocation. It'd look like this... InvocationContext.getInstance(); This would use a ThreadLocal variable or something. The "outer proxy" could set the reference prior to any method invocation and clear it upon completion. > Provide access to the Registry > ------------------------------ > > Key: HIVEMIND-179 > URL: http://issues.apache.org/jira/browse/HIVEMIND-179 > Project: HiveMind > Issue Type: New Feature > Components: framework > Reporter: Martin Strand > > There is currently no way for a service to access its own Registry. > This would be useful sometimes, for example if you've got a listener that is invoked from a non-Hivemind thread: > public class MyService() > { > private Registry registry; > public MyService() > { > registry = getRegistry(); // <-- Need this > OutsideHivemind.registerListener(this); > } > public void invokeListener() > { > registry.setupThread(); > // Use some Hivemind services... > registry.cleanupThread(); > } > } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sat Aug 26 13:41:28 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59964 invoked from network); 26 Aug 2006 13:41:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Aug 2006 13:41:13 -0000 Received: (qmail 21525 invoked by uid 500); 26 Aug 2006 13:41:12 -0000 Delivered-To: [email protected] Received: (qmail 21089 invoked by uid 500); 26 Aug 2006 13:41:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 21079 invoked by uid 99); 26 Aug 2006 13:41:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Aug 2006 06:41:10 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO mvdb.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 26 Aug 2006 06:41:08 -0700 Received: (qmail 12150 invoked from network); 26 Aug 2006 13:40:47 -0000 Received: from unknown (HELO [161.129.204.104]) (161.129.204.104) by 161.129.204.104 with SMTP; Sat, 26 Aug 2006 13:40:47 +0000 Message-ID: <[email protected]> Date: Sat, 26 Aug 2006 15:41:33 +0200 From: Martin van den Bemt <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20060728) MIME-Version: 1.0 To: [email protected] CC: [email protected] Subject: Finalizing move to TLP. Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi everyone, Even though we still have warm feelings for Hivemind at Jakarta and I know moving out of your parents home can be hard, though the time has come to pick up the rest of your belongings and move it to your [email protected] :) If this is too cryptic : http://hivemind.apache.org is still pretty empty and jakarta.apache.org/hivemind seems like a good candidate to fill that void. If you need any help, just let us know.. Btw I also tried subscribing to the private hivemind list, but that didn't work out. Mvgr, Martin From [email protected] Sat Aug 26 17:05:35 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11153 invoked from network); 26 Aug 2006 17:05:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Aug 2006 17:05:33 -0000 Received: (qmail 57091 invoked by uid 500); 26 Aug 2006 17:05:33 -0000 Delivered-To: [email protected] Received: (qmail 57070 invoked by uid 500); 26 Aug 2006 17:05:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 57057 invoked by uid 99); 26 Aug 2006 17:05:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Aug 2006 10:05:33 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO carmanconsulting.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Aug 2006 10:05:32 -0700 Received: from CARMANI9300 (carmanconsulting.com [161.129.204.104]) by carmanconsulting.com (8.13.7/8.13.6) with ESMTP id k7QH4xIj014542; Sat, 26 Aug 2006 13:05:08 -0400 From: "James Carman" <[email protected]> To: <[email protected]> Cc: <[email protected]> Subject: RE: Finalizing move to TLP. Date: Sat, 26 Aug 2006 13:05:10 -0400 Message-ID: <004a01c6c931$cd3e23e0$6a01a8c0@CARMANI9300> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Thread-Index: AcbJFU4xqSqcYAPWR/CnAidjbfne9AAHFhmg X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Martin, I plan on doing the move the week after next (I'm on vacation). I know the mailing lists have been moved and the SVN stuff should be pretty easy. What else do we need to take care of? James -----Original Message----- From: Martin van den Bemt [mailto: ] Sent: Saturday, August 26, 2006 9:42 AM To: [email protected] Cc: [email protected] Subject: Finalizing move to TLP. Hi everyone, Even though we still have warm feelings for Hivemind at Jakarta and I know moving out of your parents home can be hard, though the time has come to pick up the rest of your belongings and move it to your [email protected] :) If this is too cryptic : http://hivemind.apache.org is still pretty empty and jakarta.apache.org/hivemind seems like a good candidate to fill that void. If you need any help, just let us know.. Btw I also tried subscribing to the private hivemind list, but that didn't work out. Mvgr, Martin From [email protected] Sat Aug 26 17:19:32 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13444 invoked from network); 26 Aug 2006 17:19:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Aug 2006 17:19:30 -0000 Received: (qmail 63879 invoked by uid 500); 26 Aug 2006 17:19:30 -0000 Delivered-To: [email protected] Received: (qmail 63865 invoked by uid 500); 26 Aug 2006 17:19:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 63856 invoked by uid 99); 26 Aug 2006 17:19:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Aug 2006 10:19:30 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO mvdb.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 26 Aug 2006 10:19:29 -0700 Received: (qmail 11521 invoked from network); 26 Aug 2006 17:19:04 -0000 Received: from unknown (HELO [161.129.204.104]) (161.129.204.104) by 161.129.204.104 with SMTP; Sat, 26 Aug 2006 17:19:04 +0000 Message-ID: <[email protected]> Date: Sat, 26 Aug 2006 19:19:50 +0200 From: Martin van den Bemt <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20060728) MIME-Version: 1.0 To: James Carman <[email protected]> CC: [email protected], [email protected] Subject: Re: Finalizing move to TLP. References: <004a01c6c931$cd3e23e0$6a01a8c0@CARMANI9300> In-Reply-To: <004a01c6c931$cd3e23e0$6a01a8c0@CARMANI9300> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi James, Hmm I noticed an open issue on infrastructure that Brett was waiting for the domain to do something (sorry I lost the issue). But since it was Brett, I assume it was about mailinglists, which are already in place. Afaik though the SVN stuff is already in http://svn.apache.org/repos/asf/hivemind/trunk, so nothing needed there. Also svn authorization seems to be ok. When the site is moved, I'll dig into the site changes at jakarta itself and move hivemind to ex jakarta, I'll leave it in place untill you finished changing the site (assuming the site source in subversion hasn't changed all the pointers yet to eg the new mailinglists). The only thing I can fix right now, is the reference to the mailinglist addresses in the mail2.html file, which still points to the jakarta list (I'll fix that right away) I also noticed you aren't yet in committee-info.txt (that is at private/committers/board), where you specify the chair and the pmc members. I've cc'ed Henri, just in case he as something to add.. Oh and enjoy your holiday! Mvgr, Martin James Carman wrote: > Martin, > > I plan on doing the move the week after next (I'm on vacation). I know the > mailing lists have been moved and the SVN stuff should be pretty easy. What > else do we need to take care of? > > James > > -----Original Message----- > From: Martin van den Bemt [mailto: ] > Sent: Saturday, August 26, 2006 9:42 AM > To: [email protected] > Cc: [email protected] > Subject: Finalizing move to TLP. > > Hi everyone, > > Even though we still have warm feelings for Hivemind at Jakarta and I know > moving out of your > parents home can be hard, though the time has come to pick up the rest of > your belongings and move > it to your [email protected] :) > > If this is too cryptic : http://hivemind.apache.org is still pretty empty > and > jakarta.apache.org/hivemind seems like a good candidate to fill that void. > > If you need any help, just let us know.. > > Btw I also tried subscribing to the private hivemind list, but that didn't > work out. > > Mvgr, > Martin > > > > From [email protected] Sat Aug 26 20:05:14 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57717 invoked from network); 26 Aug 2006 20:05:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Aug 2006 20:05:14 -0000 Received: (qmail 85450 invoked by uid 500); 26 Aug 2006 20:05:14 -0000 Delivered-To: [email protected] Received: (qmail 85435 invoked by uid 500); 26 Aug 2006 20:05:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 85425 invoked by uid 99); 26 Aug 2006 20:05:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Aug 2006 13:05:14 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO mvdb.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 26 Aug 2006 13:05:12 -0700 Received: (qmail 23929 invoked from network); 26 Aug 2006 20:04:50 -0000 Received: from unknown (HELO [161.129.204.104]) (161.129.204.104) by 161.129.204.104 with SMTP; Sat, 26 Aug 2006 20:04:50 +0000 Message-ID: <[email protected]> Date: Sat, 26 Aug 2006 22:05:36 +0200 From: Martin van den Bemt <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20060728) MIME-Version: 1.0 To: [email protected] Subject: Re: Finalizing move to TLP. References: <004a01c6c931$cd3e23e0$6a01a8c0@CARMANI9300> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Change the jakarta site to point to the correct mailinglists (in mail2.html). Found one other thing : create a wiki for hivemind and move over your content from jakarta. Maybe infra needs to this though (don't know much about wiki maintenance) Mvgr, Martin Martin van den Bemt wrote: > Hi James, > > Hmm I noticed an open issue on infrastructure that Brett was waiting for > the domain to do something (sorry I lost the issue). But since it was > Brett, I assume it was about mailinglists, which are already in place. > Afaik though the SVN stuff is already in > http://svn.apache.org/repos/asf/hivemind/trunk, so nothing needed there. > Also svn authorization seems to be ok. > When the site is moved, I'll dig into the site changes at jakarta itself > and move hivemind to ex jakarta, I'll leave it in place untill you > finished changing the site (assuming the site source in subversion > hasn't changed all the pointers yet to eg the new mailinglists). > > The only thing I can fix right now, is the reference to the mailinglist > addresses in the mail2.html file, which still points to the jakarta list > (I'll fix that right away) > > I also noticed you aren't yet in committee-info.txt (that is at > private/committers/board), where you specify the chair and the pmc members. > > I've cc'ed Henri, just in case he as something to add.. > > Oh and enjoy your holiday! > > Mvgr, > Martin > > James Carman wrote: >> Martin, >> >> I plan on doing the move the week after next (I'm on vacation). I >> know the >> mailing lists have been moved and the SVN stuff should be pretty >> easy. What >> else do we need to take care of? >> James >> >> -----Original Message----- >> From: Martin van den Bemt [mailto: ] Sent: Saturday, August 26, >> 2006 9:42 AM >> To: [email protected] >> Cc: [email protected] >> Subject: Finalizing move to TLP. >> >> Hi everyone, >> >> Even though we still have warm feelings for Hivemind at Jakarta and I >> know >> moving out of your parents home can be hard, though the time has come >> to pick up the rest of >> your belongings and move it to your [email protected] :) >> >> If this is too cryptic : http://hivemind.apache.org is still pretty empty >> and jakarta.apache.org/hivemind seems like a good candidate to fill >> that void. >> >> If you need any help, just let us know.. >> >> Btw I also tried subscribing to the private hivemind list, but that >> didn't >> work out. >> >> Mvgr, >> Martin >> >> >> >> > > From [email protected] Sat Aug 26 21:24:02 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73035 invoked from network); 26 Aug 2006 21:24:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Aug 2006 21:24:01 -0000 Received: (qmail 32132 invoked by uid 500); 26 Aug 2006 21:24:01 -0000 Delivered-To: [email protected] Received: (qmail 32012 invoked by uid 500); 26 Aug 2006 21:24:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31998 invoked by uid 99); 26 Aug 2006 21:24:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Aug 2006 14:24:01 -0700 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wx-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Aug 2006 14:24:00 -0700 Received: by wx-out-0506.google.com with SMTP id i29so1205137wxd for <[email protected]>; Sat, 26 Aug 2006 14:23:39 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YxH+nzpKVUXo+6837mqeFv4y3vsUqSVC7hg0qun+mdDaKsOLQabwSur0bLMLSGhKtnD7Ljoop6lmVMOFfyhgYhBDuzniy1Lwbzi8p1jVdtz1mDTFVNm+pQqoncmmKk4uQ7fw4orPrtVeTDXeqFjNqZBApS3bg4hXGS5NQqTQpeE= Received: by 161.129.204.104 with SMTP id a6mr828438aga; Sat, 26 Aug 2006 14:23:39 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sat, 26 Aug 2006 14:23:39 -0700 (PDT) Message-ID: <[email protected]> Date: Sat, 26 Aug 2006 14:23:39 -0700 From: "Henri Yandell" <[email protected]> To: [email protected] Subject: Re: Finalizing move to TLP. Cc: "James Carman" <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <004a01c6c931$cd3e23e0$6a01a8c0@CARMANI9300> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 8/26/06, Martin van den Bemt <[email protected]> wrote: > I also noticed you aren't yet in committee-info.txt (that is at private/committers/board), where you > specify the chair and the pmc members. > > I've cc'ed Henri, just in case he as something to add.. I've added HiveMind to the list of PMCs and set November as the quarterly time when HiveMind is scheduled for a report. That might get changed as I'm not sure how you determine when a project should report. A new project sends in reports monthly for the first three months, and then quarterly. So as we've not had HiveMind reports for the any of its first 5 months of HiveMind's TLP life I'm going to ask for reports for the Sept, Oct and then Nov meeetings, followed by quarterly after November (ie: February would be your next one). Reports need to be in 48 hours (though earlier than that is best) before the board meeting. Which is nearly always the 3rd Wednesday of the month. In September it's 20th Sept, so reports in by early Monday morning please. (Send them to board@). Highly likely that no one ever told you that James, and without the entry in committee-info you wouldn't have had the auto-reminder that would have made you ask what was going on. Sorry not to have clicked that they weren't being sent in. :) Hen From [email protected] Sat Aug 26 21:30:57 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77153 invoked from network); 26 Aug 2006 21:30:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Aug 2006 21:30:57 -0000 Received: (qmail 41831 invoked by uid 500); 26 Aug 2006 21:30:56 -0000 Delivered-To: [email protected] Received: (qmail 41817 invoked by uid 500); 26 Aug 2006 21:30:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 41808 invoked by uid 99); 26 Aug 2006 21:30:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Aug 2006 14:30:56 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO carmanconsulting.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Aug 2006 14:30:55 -0700 Received: from CARMANI9300 (carmanconsulting.com [161.129.204.104]) by carmanconsulting.com (8.13.7/8.13.6) with ESMTP id k7QLUPUr017327 for <[email protected]>; Sat, 26 Aug 2006 17:30:32 -0400 From: "James Carman" <[email protected]> To: <[email protected]> Subject: RE: Finalizing move to TLP. Date: Sat, 26 Aug 2006 17:30:35 -0400 Message-ID: <009201c6c956$e0b6e1d0$6a01a8c0@CARMANI9300> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Thread-Index: AcbJVfZnRZFu5LYURde86ypDn2XYawAAMZlQ X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Henri, I kind of thought that I might have been missing something. I've got the committee-info.txt file checked out on my desktop, but I haven't finished adding myself and the rest of us to it yet. I'll try to do that during my vacation, too. Thanks for the heads up! :-) James -----Original Message----- From: Henri Yandell [mailto:[email protected]] Sent: Saturday, August 26, 2006 5:24 PM To: [email protected] Cc: James Carman Subject: Re: Finalizing move to TLP. On 8/26/06, Martin van den Bemt <[email protected]> wrote: > I also noticed you aren't yet in committee-info.txt (that is at private/committers/board), where you > specify the chair and the pmc members. > > I've cc'ed Henri, just in case he as something to add.. I've added HiveMind to the list of PMCs and set November as the quarterly time when HiveMind is scheduled for a report. That might get changed as I'm not sure how you determine when a project should report. A new project sends in reports monthly for the first three months, and then quarterly. So as we've not had HiveMind reports for the any of its first 5 months of HiveMind's TLP life I'm going to ask for reports for the Sept, Oct and then Nov meeetings, followed by quarterly after November (ie: February would be your next one). Reports need to be in 48 hours (though earlier than that is best) before the board meeting. Which is nearly always the 3rd Wednesday of the month. In September it's 20th Sept, so reports in by early Monday morning please. (Send them to board@). Highly likely that no one ever told you that James, and without the entry in committee-info you wouldn't have had the auto-reminder that would have made you ask what was going on. Sorry not to have clicked that they weren't being sent in. :) Hen From [email protected] Wed Aug 30 13:05:58 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 446 invoked from network); 30 Aug 2006 13:05:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Aug 2006 13:05:55 -0000 Received: (qmail 18325 invoked by uid 500); 30 Aug 2006 13:05:55 -0000 Delivered-To: [email protected] Received: (qmail 18208 invoked by uid 500); 30 Aug 2006 13:05:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 18199 invoked by uid 99); 30 Aug 2006 13:05:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2006 06:05:54 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2006 06:05:54 -0700 Received: by ug-out-1314.google.com with SMTP id j40so185480ugd for <[email protected]>; Wed, 30 Aug 2006 06:05:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=UV0qCJLVv8XItX0/NtTHRKfL0AuAuL4YO4Uxy/Lqf4TEjGGvqf5w2bpOjz7Kbl6vuME2FLPxuym/XtVq28K41eri1DIMirq3Li+kcPMbrhgE9zeFpo0V8xiBAlb3lOruRyCEOYw4Q2Urs0hCFH2F243HB8eQOfG+RTQ9/RsWX1M= Received: by 161.129.204.104 with SMTP id v7mr455666ugl; Wed, 30 Aug 2006 06:05:32 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 30 Aug 2006 06:05:31 -0700 (PDT) Message-ID: <[email protected]> Date: Wed, 30 Aug 2006 15:05:31 +0200 From: "Knut Wannheden" <[email protected]> To: [email protected] Subject: Re: svn commit: r438412 - in /hivemind/branches/branch-2-0-annot: framework/src/java/org/apache/hivemind/ framework/src/java/org/apache/hivemind/definition/ framework/src/java/org/apache/hivemind/impl/ framework/src/java/org/apache/hivemind/impl/serv MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Achim, On 8/30/06, [email protected] <[email protected]> wrote: > Author: ahuegen > Date: Wed Aug 30 00:48:57 2006 > New Revision: 438412 > > URL: http://svn.apache.org/viewvc?rev=438412&view=rev > Log: > ServicePointImpl keeps a reference to ServicePointDefinition > I have unfortunately not been able to follow the latest developments in your experimental branch that closely but this one caught my attention. If I understand this correctly then the internal runtime ServicePointImpl object will keep a reference to the ServicePointDefinition object describing it. Will this reference be unset once the runtime service object has been properly initialized? Or will this reference remain in which case the definition object and everything it references could never be garbage collected? Regards, --knut From [email protected] Wed Aug 30 16:10:34 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87672 invoked from network); 30 Aug 2006 16:10:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Aug 2006 16:10:34 -0000 Received: (qmail 86610 invoked by uid 500); 30 Aug 2006 16:10:34 -0000 Delivered-To: [email protected] Received: (qmail 86596 invoked by uid 500); 30 Aug 2006 16:10:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 86587 invoked by uid 99); 30 Aug 2006 16:10:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2006 09:10:33 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail.gmx.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 30 Aug 2006 09:10:32 -0700 Received: (qmail invoked by alias); 30 Aug 2006 16:10:10 -0000 Received: from unknown (EHLO [161.129.204.104]) [161.129.204.104] by mail.gmx.net (mp022) with SMTP; 30 Aug 2006 18:10:10 +0200 X-Authenticated: #18751065 Message-ID: <[email protected]> Date: Wed, 30 Aug 2006 18:13:41 +0200 From: =?ISO-8859-1?Q?Achim_H=FCgen?= <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20060719) MIME-Version: 1.0 To: [email protected] Subject: Re: svn commit: r438412 - in /hivemind/branches/branch-2-0-annot: framework/src/java/org/apache/hivemind/ framework/src/java/org/apache/hivemind/definition/ framework/src/java/org/apache/hivemind/impl/ framework/src/java/org/apache/hivemind/impl/serv References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Previously all information from the definition object was just copied to the service point. Since I needed even more data from the definition in the service point (to simplify the constructor interfaces) I decided to remove the redundancy. I don't expect a memory overhead. Achim Knut Wannheden schrieb: > Achim, > > On 8/30/06, [email protected] <[email protected]> wrote: >> Author: ahuegen >> Date: Wed Aug 30 00:48:57 2006 >> New Revision: 438412 >> >> URL: http://svn.apache.org/viewvc?rev=438412&view=rev >> Log: >> ServicePointImpl keeps a reference to ServicePointDefinition >> > > I have unfortunately not been able to follow the latest developments > in your experimental branch that closely but this one caught my > attention. If I understand this correctly then the internal runtime > ServicePointImpl object will keep a reference to the > ServicePointDefinition object describing it. Will this reference be > unset once the runtime service object has been properly initialized? > Or will this reference remain in which case the definition object and > everything it references could never be garbage collected? > > Regards, > > --knut > > From [email protected] Wed Aug 30 18:55:16 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65716 invoked from network); 30 Aug 2006 18:55:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Aug 2006 18:55:15 -0000 Received: (qmail 99850 invoked by uid 500); 30 Aug 2006 18:55:15 -0000 Delivered-To: [email protected] Received: (qmail 99839 invoked by uid 500); 30 Aug 2006 18:55:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hivemind.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99830 invoked by uid 99); 30 Aug 2006 18:55:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2006 11:55:14 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2006 11:55:14 -0700 Received: by ug-out-1314.google.com with SMTP id j40so297183ugd for <[email protected]>; Wed, 30 Aug 2006 11:54:52 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=V1RmcJfgUyO8djg7i/DTo9cxcjec8FvxmMwJLdysLkakZ1b6oO5Fy0DpVVXcP1l42oNiw+OXQPG190jrwEIn+iZkwRrzBhsYGWtyv3e7yz1l7Ck0wcQMfGItJvf6EbW0+f2B/1d7CU1ejIdyLJcuF4jqH5wQ2/1/1TqlfktJOis= Received: by 161.129.204.104 with SMTP id r5mr587592ugl; Wed, 30 Aug 2006 11:54:52 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 30 Aug 2006 11:54:51 -0700 (PDT) Message-ID: <[email protected]> Date: Wed, 30 Aug 2006 20:54:51 +0200 From: "Knut Wannheden" <[email protected]> To: [email protected] Subject: Re: Re: svn commit: r438412 - in /hivemind/branches/branch-2-0-annot: framework/src/java/org/apache/hivemind/ framework/src/java/org/apache/hivemind/definition/ framework/src/java/org/apache/hivemind/impl/ framework/src/java/org/apache/hivemind/impl/ MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N OK, I just thought that these Natures you had also were in the ServicePointDefinition objects. Cheers, --knut On 8/30/06, Achim H=FCgen <[email protected]> wrote: > Previously all information from the definition object was just copied > to the service point. Since I needed even more data from the definition > in the service point (to simplify the constructor interfaces) > I decided to remove the redundancy. I don't expect a memory overhead. > > Achim > > Knut Wannheden schrieb: > > Achim, > > > > On 8/30/06, [email protected] <[email protected]> wrote: > >> Author: ahuegen > >> Date: Wed Aug 30 00:48:57 2006 > >> New Revision: 438412 > >> > >> URL: http://svn.apache.org/viewvc?rev=3D438412&view=3Drev > >> Log: > >> ServicePointImpl keeps a reference to ServicePointDefinition > >> > > > > I have unfortunately not been able to follow the latest developments > > in your experimental branch that closely but this one caught my > > attention. If I understand this correctly then the internal runtime > > ServicePointImpl object will keep a reference to the > > ServicePointDefinition object describing it. Will this reference be > > unset once the runtime service object has been properly initialized? > > Or will this reference remain in which case the definition object and > > everything it references could never be garbage collected? > > > > Regards, > > > > --knut > > > > > > > > > >
From [email protected] Thu Mar 03 04:39:02 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6550 invoked from network); 3 Mar 2005 04:39:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 3 Mar 2005 04:39:00 -0000 Received: (qmail 64914 invoked by uid 500); 3 Mar 2005 04:38:54 -0000 Delivered-To: [email protected] Received: (qmail 64461 invoked by uid 500); 3 Mar 2005 04:38:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "ECS Developers List" <ecs-dev.jakarta.apache.org> Reply-To: "ECS Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 64433 invoked by uid 99); 3 Mar 2005 04:38:52 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 02 Mar 2005 20:38:51 -0800 Received: by rproxy.gmail.com with SMTP id a41so289173rng for <[email protected]>; Wed, 02 Mar 2005 20:38:49 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:mime-version:content-type:content-transfer-encoding; b=KqPiuRJg2P2j09N4Nl4mO0mg+1IeY1a8aLtsNRrfnxSnALyytDMkPkprhSgmMrVteN0lXTyLSfhMJSctBM9g9fm/0QS6DRogkl094F1jn+YsItQ8c7kUDaUNMqTTEnE6X24sxyke93OKVTZJmQuem6nVlHETNLOwfFzWkyXVyxY= Received: by 161.129.204.104 with SMTP id 37mr39796rnj; Wed, 02 Mar 2005 20:38:22 -0800 (PST) Received: by 161.129.204.104 with HTTP; Wed, 2 Mar 2005 20:38:21 -0800 (PST) Message-ID: <[email protected]> Date: Wed, 2 Mar 2005 23:38:21 -0500 From: Henri Yandell <[email protected]> Reply-To: Henri Yandell <[email protected]> To: Apache Infrastructure <[email protected]> Subject: Convert jakarta-ecs + jakarta-ecs2 to Subversion Cc: ECS Developers List <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N The Jakarta/ECS community would like to migrate to Subversion please. ******** We need to export jakarta-ecs jakarta-ecs2 to SVN and then lock the CVS modules. The resulting repo we need is: /jakarta/ /ecs/ /branches/ (jakarta-ecs branches) /ecs2 (jakarta-ecs2 HEAD) /tags/ (jakarta-ecs tags) /trunk/ (jakarta-ecs HEAD) ( Note in case indentation is not obvious. It would be: /jakarta/ecs/branches/ecs2/ ) ********* The tags/branches for jakarta-ecs2 are all non-important and may be disregarded. Hen --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Mar 03 18:24:32 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94765 invoked from network); 3 Mar 2005 18:24:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 3 Mar 2005 18:24:32 -0000 Received: (qmail 81899 invoked by uid 500); 3 Mar 2005 18:24:32 -0000 Delivered-To: [email protected] Received: (qmail 81880 invoked by uid 500); 3 Mar 2005 18:24:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "ECS Developers List" <ecs-dev.jakarta.apache.org> Reply-To: "ECS Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 81867 invoked by uid 99); 3 Mar 2005 18:24:31 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=RISK_FREE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from www.goldencode.com (HELO www.goldencode.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 03 Mar 2005 10:24:30 -0800 Received: from emlsrv01.internal.goldencode.com (emlsrv01.internal.goldencode.com [161.129.204.104]) by www.goldencode.com (Postfix) with SMTP id 3932F5EA for <[email protected]>; Thu, 3 Mar 2005 13:25:25 -0500 (EST) Received: from goldencode.com (ges.internal.goldencode.com [161.129.204.104]) by emlsrv01.internal.goldencode.com (Hethmon Brothers Smtpd) id 20050303131941-7355-7 ; Thu, 03 Mar 2005 13:19:41 -0500 Message-ID: <[email protected]> Date: Thu, 03 Mar 2005 13:23:42 -0500 From: Greg Shah <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040114 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: adding setters to ECSDefaults.java Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N While this class provides a mechanism to set global defaults for a JVM process (through a properties file), it does not provide any means of modifying these values pro grammatically. By adding setters to this class, one can do things like turn on pretty_print for an entire document rather than element by element. In addition, this would allow for temporary modifications at runtime, whereas the current approach is limited to static definitions established at JVM startup. One other note: since these are simple additions to the class, there is no risk. No current interface or processing is [email protected]. This proposal is simply to allow the setting of these [email protected]. Any thoughts are welcomed. I have a patch prepared should this change be found to be acceptable. Thank You. Greg Shah --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Mar 31 05:52:30 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97096 invoked from network); 31 Mar 2005 05:52:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Mar 2005 05:52:28 -0000 Received: (qmail 35717 invoked by uid 500); 31 Mar 2005 05:52:27 -0000 Delivered-To: [email protected] Received: (qmail 35622 invoked by uid 500); 31 Mar 2005 05:52:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "ECS Developers List" <ecs-dev.jakarta.apache.org> Reply-To: "ECS Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 35556 invoked by uid 99); 31 Mar 2005 05:52:23 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 30 Mar 2005 21:52:22 -0800 Received: by rproxy.gmail.com with SMTP id a41so299451rng for <[email protected]>; Wed, 30 Mar 2005 21:52:19 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=awlBbQDIhD7V1+j27pAIECgzX5Jv2afJbaDPtLaBn3AZZu2wfyzvNA9ONVD+hiLTEOLbXRm3Hvktnigkb1ghwueS+XKQ6SEmefn6HthsVq5kZnKvpaqmiuiHFI/udSxuhbbUuPccp7I+r7lSku6PKSzR5qga7aSqxw1o9Y3Gmv4= Received: by 161.129.204.104 with SMTP id p50mr1323217rna; Wed, 30 Mar 2005 21:52:19 -0800 (PST) Received: by 161.129.204.104 with HTTP; Wed, 30 Mar 2005 21:52:19 -0800 (PST) Message-ID: <[email protected]> Date: Thu, 31 Mar 2005 00:52:19 -0500 From: Henri Yandell <[email protected]> Reply-To: Henri Yandell <[email protected]> To: Apache Infrastructure <[email protected]> Subject: Re: Convert jakarta-ecs + jakarta-ecs2 to Subversion Cc: ECS Developers List <[email protected]> In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Now that the Infrathon is done with, thought I'd ping this migration request to get it back onto the list. Hen On Wed, 2 Mar 2005 23:38:21 -0500, Henri Yandell <[email protected]> wrote: > The Jakarta/ECS community would like to migrate to Subversion please. > > ******** > We need to export > > jakarta-ecs > jakarta-ecs2 > > to SVN and then lock the CVS modules. > > The resulting repo we need is: > > /jakarta/ > /ecs/ > /branches/ (jakarta-ecs branches) > /ecs2 (jakarta-ecs2 HEAD) > /tags/ (jakarta-ecs tags) > /trunk/ (jakarta-ecs HEAD) > > ( Note in case indentation is not obvious. It would be: > /jakarta/ecs/branches/ecs2/ ) > > ********* > > The tags/branches for jakarta-ecs2 are all non-important and may be disregarded. > > Hen > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Sun Nov 11 12:06:00 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89960 invoked from network); 11 Nov 2007 12:06:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Nov 2007 12:06:00 -0000 Received: (qmail 89618 invoked by uid 500); 11 Nov 2007 12:05:47 -0000 Delivered-To: [email protected] Received: (qmail 89606 invoked by uid 500); 11 Nov 2007 12:05:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <announce.wicket.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 89597 invoked by uid 99); 11 Nov 2007 12:05:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Nov 2007 04:05:47 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO rv-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Nov 2007 12:05:49 +0000 Received: by rv-out-0910.google.com with SMTP id k20so727964rvb for <[email protected]>; Sun, 11 Nov 2007 04:05:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=Q596BIzUQh4nvS51p7zpAzkZsYCEtI7apLx1y/F2Mv0=; b=Wa1/1YxifMCvyniQKxDpDabNTFVxuQPaBNFBPi/m/3ZBmauIi7ShJMjFY1ct6MU/0NI8pvbQ6Aa3oPzvcjzJ1HsyTLPUTdZ+cHUVUvM8aTzKYCPOwl+hu7asZ4IKyj1QEeeDIDMtXii3D9UjNy3raQsAZHs6q86Ans6vCsjISHg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=a8Bppo8irAVqQgfizffm0nnkoKKNSw72edqmdXOgr0IqSWsCdtmjybcjhBLeVEevbWkZ+WzbMu5TStprNzboXBrAyd6zOQEU3Z7d0jQ+zRMINT85f7G8TQ/01rDFFyeSwiJeXsGeyF17oYwjo5Mf1WGjtTSJuDv+Jq/itLdTzE0= Received: by 161.129.204.104 with SMTP id p9mr1890200rvf.1194782728744; Sun, 11 Nov 2007 04:05:28 -0800 (PST) Received: by 161.129.204.104 with HTTP; Sun, 11 Nov 2007 04:05:28 -0800 (PST) Message-ID: <[email protected]> Date: Sun, 11 Nov 2007 13:05:28 +0100 From: "Martijn Dashorst" <[email protected]> Sender: [email protected] To: [email protected], "Wicket Users" <[email protected]>, "Wicket Development" <[email protected]> Subject: Apache Wicket 1.3.0-rc1 released! MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 22c601b7b7500ddc X-Virus-Checked: Checked by ClamAV on apache.org This is the first release candidate for Apache Wicket we have prepared for your pleasure. It contains over 80 fixes to issues with previous releases and todo items we have cleared. In this announcement: * Apache Wicket * This release * Migrating from 1.2 * Downloading the release * Validating the release * Reporting bugs * The distribution * Release Notes - Wicket - Version 1.3.0-rc1 Eager people click here to download the distribution, others can read further: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1 We thank you for your patience and support. The Wicket Team -= Apache Wicket =- Apache Wicket is a component oriented Java web application framework. With proper mark-up/logic separation, a POJO data model, and a refreshing lack of XML, Apache Wicket makes developing web-apps simple and enjoyable again. Swap the boilerplate, complex debugging and brittle code for powerful, reusable components written with plain Java and HTML. Our migration to a top level project is now completed and you can find our website and documentation here: http://wicket.apache.org -= This release =- This release is the first in a series of release candidates releases until we feel confident to finalize Wicket 1.3. This is called a release candidate because we strive for API freeze. This means only bug fixes will be done on the 1.3 release from now on. -= Migrating from 1.2 =- If you are coming from Wicket 1.2, you really want to read our migration guide, found on the wiki: http://cwiki.apache.org/WICKET/migrate-13.html -= Downloading the release =- You can download the release from the official Apache mirror system, and you can find it through the following link: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/ For the Maven and Ivy fans out there: update your pom's to the following, and everything will be downloaded automatically: <dependency> <groupId>org.apache.wicket</groupId> <artifactId>wicket</artifactId> <version>1.3.0-rc1</version> </dependency> Substitute the artifact ID with the projects of your liking to get the other projects. Please note that we don't prescribe a Logging implementation for SLF4J. You need to specify yourself which one you prefer. Read more about SLF4J here: http://slf4j.org -= Validating the release =- The release has been signed by Frank Bille, your release manager for today. The public key can be found in the KEYS file in the download area. Download the KEYS file only from the Apache website. http://www.apache.org/dist/wicket/1.3.0-rc1/KEYS Instructions on how to validate the release can be found here: http://www.apache.org/dev/release-signing.html#check-integrity -= Reporting bugs =- In case you do encounter a bug, we would appreciate a report in our JIRA: http://issues.apache.org/jira/browse/WICKET -= The distribution =- In the distribution you will find a README. The README contains instructions on how to build from source yourself and a list of all things that have been fixed, added and/or removed since the first beta release. -= Release Notes - Wicket - Version 1.3.0-rc1 =- Sub-task * WICKET-1022 - Created new bug - ValueMap set to null Bug * WICKET-330 - CheckBox incorrectly converts its model value when a custom Boolean converter is installed * WICKET-336 - Inheritable model cannot be a wrap model * WICKET-382 - Converter misusage/mangling in RadioChoice * WICKET-487 - Buggy behaviour in PageMap.access(IPageMapEntry,int). Wicket1.2.4 * WICKET-588 - continueToOriginalDestination / RestartResponseAtInterceptPageException with page parameters broken * WICKET-605 - Stateless form skips page parameters * WICKET-607 - Stateless forms don't work with QueryStringUrlCodingStrategy * WICKET-642 - Need to escape select html option value * WICKET-645 - Form with ajaxsubmitbutton won't submit after error * WICKET-702 - MockWebApplication doesn't redirect properly to mounted pages under RestartResponseAtInterceptPageException * WICKET-734 - Custom ILinkListener component causes error in cell on mounted page * WICKET-746 - Thread synchronization problems in FilePageStore * WICKET-855 - ModalWindow makes Internet Explorer 6 show an security warning dialog * WICKET-901 - DatePicker#getConfigureYUIBasePath() is useless or never called * WICKET-916 - inconsistent state after setting AjaxDebugModeEnabled to true in an AjaxRequest * WICKET-920 - ExternalLink produces invalid html * WICKET-950 - StatelessForm + QueryStringUrlCodingStrategy problem * WICKET-953 - Session invalidateNow() does not immediate remove the session from disk * WICKET-958 - Mounts ignored for PageExpiredErrorPage * WICKET-972 - IndexedParamUrlCodingStrategy seems to have problems handling resources * WICKET-988 - PropertyResolver map * WICKET-991 - StringIndexOutOfBoundsException in ServletWebRequest.getRelativePathPrefixToWicketHandler * WICKET-995 - getMarkupId generates ID which contains special characters which should be escaped or replaced * WICKET-1011 - wicketShow and wicketHide don't check for existence of element before setting display * WICKET-1014 - AjaxEditableChoiceLabel doesn't work in IE 6 * WICKET-1015 - StringResourceModel does not escape interpolated properties * WICKET-1028 - WebRequestCycle.getProcessor javadoc doesn't make sense * WICKET-1037 - Text not visible in Wicket Ajax Debug window * WICKET-1039 - parameters for Image never used when using a ResourceReference * WICKET-1040 - setEnabled() does not work on YUI DateField * WICKET-1047 - Amersand escaped twice for ResourceLink href * WICKET-1051 - StyleSheetReference doesn't take style/locale into account * WICKET-1061 - Can't enter data in any input field after closing modal window * WICKET-1062 - LocalizedImageResource does not serialize locale/style fields * WICKET-1065 - NullPointer in FileCleaner causes infinite loop * WICKET-1071 - AjaxFormSubmitBehavior creates invalid HTML * WICKET-1072 - Stateless pages bind to http session * WICKET-1074 - Image resource parameters fail to output in src attribute * WICKET-1075 - LocalizedImageResource: 'static' Resource lost after locale/style change * WICKET-1077 - VisitChildren + IComponentResolver broken in beta 4? * WICKET-1080 - StringResourceModel.toString() misbehavior * WICKET-1081 - ClassCastException with MetaDataEntry * WICKET-1087 - Ajax update on a panel caused markup outside the panel to be missing * WICKET-1092 - IndexedParamUrlCodingStrategy creates a parameter in PageParameters when there is no parameter in the URL * WICKET-1095 - invisible TransparentResolver skips markup of visible children and thus resulting in an exception in Page#checkRendering (component not found in markup) * WICKET-1101 - NullPointerException in HybridUrlCodingStrategy * WICKET-1107 - XHTML code in AjaxFormSubmitBehavior.getPreconditionScript() is not well formed. * WICKET-1109 - CLONE -DatePicker: NaN if numerical input cannot be parsed * WICKET-1112 - wantonselectionchangednotification does not work in embedded forms * WICKET-1119 - Strings.replaceAll giving StringIndexOutOfBoundsException Improvement * WICKET-30 - Nice and more practical url scheme * WICKET-947 - Add 'UrlValidator' key to PL properties * WICKET-949 - ExternalLink does not support enable/disable like Link * WICKET-957 - Change default focus component for focus related events to null * WICKET-963 - add extension point to configure resource cache expiration time * WICKET-1005 - provide programmatic access to wicket-ajax.js * WICKET-1045 - mvn archetype:create -DarchetypeGroupId=org.apache.wicket -DarchetypeArtifactId=wicket-archetype-quickstart * WICKET-1052 - Wicket Javadoc Standardization: org.apache.wicket.util.thread * WICKET-1053 - Wicket Javadoc Standardization: org.apache.wicket.util.tester * WICKET-1054 - No way to escape html markup but keep non-7 bit characters in generated output * WICKET-1057 - Remove final from WebRequestCodingStrategy. urlCodingStrategyForPath * WICKET-1059 - Remove onAttach * WICKET-1060 - Allow component to a IComponentSource implementation that can reconstruct the component * WICKET-1063 - wicket-guice should support Provider injection and TypeLiteral injection * WICKET-1067 - Correct javadoc for Fragment * WICKET-1070 - Missing img alt attribute in WicketAjaxIndicatorAppender * WICKET-1083 - Inform wicket-ajax whether the application is running in a portlet * WICKET-1084 - Optimize memory usage * WICKET-1086 - Extending PagingNavigator for stateless pages * WICKET-1096 - Wicket Javadoc Standardization: org.apache.wicket.util.template, .string.interpolator * WICKET-1100 - Make portlet support configurable and default disabled * WICKET-1113 - DownloadLink support for temporary files * WICKET-1117 - FormComponent.setType is called in AbstractTextComponent.onBeforeRender * WICKET-1121 - Slight AbstractChoice refactoring * WICKET-1122 - Allow override of Pragma No-cache settings in WebPage New Feature * WICKET-445 - TriStateCheckbox Component for use with CheckGroups * WICKET-975 - Update ImageButton to handle ResourceReferenc * WICKET-1106 - WicketTester or TagTester should provide access to the enclosed value of a tag Task * WICKET-1078 - format entire codebase with wicket code format settings * WICKET-1126 - Release Wicket 1.3.0 RC1 Wish * WICKET-1012 - tracking dirty state (was:make setVisible, setEnable, add, addOrReplace, remove and removeAll non-final) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Wed Jun 23 00:12:34 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6678 invoked from network); 23 Jun 2010 00:12:34 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Jun 2010 00:12:34 -0000 Received: (qmail 13400 invoked by uid 500); 23 Jun 2010 00:12:34 -0000 Delivered-To: [email protected] Received: (qmail 13352 invoked by uid 500); 23 Jun 2010 00:12:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bluesky-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 80329 invoked by uid 99); 22 Jun 2010 10:02:36 -0000 X-ASF-Spam-Status: No, hits=-1536.3 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Message-ID: <27575476.9981277200934793.JavaMail.jira@thor> Date: Tue, 22 Jun 2010 06:02:14 -0400 (EDT) From: "Nan hongzhen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (BLUESKY-9) support of ipv6 and satellite In-Reply-To: <15664303.9141277195755613.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/BLUESKY-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nan hongzhen closed BLUESKY-9. ------------------------------ Resolution: Fixed > support of ipv6 and satellite > ----------------------------- > > Key: BLUESKY-9 > URL: https://issues.apache.org/jira/browse/BLUESKY-9 > Project: Bluesky > Issue Type: Improvement > Reporter: Nan hongzhen > Attachments: realclass_v6.rar > > > add the support of ipv6 > add the satellite module -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jun 23 00:12:51 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6706 invoked from network); 23 Jun 2010 00:12:51 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Jun 2010 00:12:51 -0000 Received: (qmail 13476 invoked by uid 500); 23 Jun 2010 00:12:51 -0000 Delivered-To: [email protected] Received: (qmail 13437 invoked by uid 500); 23 Jun 2010 00:12:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bluesky-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 58219 invoked by uid 99); 22 Jun 2010 09:42:18 -0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Message-ID: <31976801.9741277199714342.JavaMail.jira@thor> Date: Tue, 22 Jun 2010 05:41:54 -0400 (EDT) From: "Nan hongzhen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (BLUESKY-10) support of ipv6 and satellite In-Reply-To: <22423286.9581277199235132.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/BLUESKY-10?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nan hongzhen updated BLUESKY-10: -------------------------------- Attachment: realclass_v6.rar the ipv6 version of realclass and support of satellite > support of ipv6 and satellite > ----------------------------- > > Key: BLUESKY-10 > URL: https://issues.apache.org/jira/browse/BLUESKY-10 > Project: Bluesky > Issue Type: Improvement > Reporter: Nan hongzhen > Attachments: realclass_v6.rar > > Original Estimate: 1h > Remaining Estimate: 1h > > add the support of ipv6 > add the satellite module -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jun 23 00:13:08 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6730 invoked from network); 23 Jun 2010 00:13:08 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Jun 2010 00:13:08 -0000 Received: (qmail 13524 invoked by uid 500); 23 Jun 2010 00:13:08 -0000 Delivered-To: [email protected] Received: (qmail 13509 invoked by uid 500); 23 Jun 2010 00:13:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bluesky-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 47072 invoked by uid 99); 22 Jun 2010 09:34:19 -0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Message-ID: <22423286.9581277199235132.JavaMail.jira@thor> Date: Tue, 22 Jun 2010 05:33:55 -0400 (EDT) From: "Nan hongzhen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (BLUESKY-10) support of ipv6 and satellite MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org support of ipv6 and satellite ----------------------------- Key: BLUESKY-10 URL: https://issues.apache.org/jira/browse/BLUESKY-10 Project: Bluesky Issue Type: Improvement Reporter: Nan hongzhen add the support of ipv6 add the satellite module -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jun 23 00:13:24 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6939 invoked from network); 23 Jun 2010 00:13:24 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Jun 2010 00:13:24 -0000 Received: (qmail 14513 invoked by uid 500); 23 Jun 2010 00:13:24 -0000 Delivered-To: [email protected] Received: (qmail 14495 invoked by uid 500); 23 Jun 2010 00:13:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bluesky-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 36232 invoked by uid 99); 22 Jun 2010 09:24:18 -0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Message-ID: <27094061.9541277198634382.JavaMail.jira@thor> Date: Tue, 22 Jun 2010 05:23:54 -0400 (EDT) From: "Nan hongzhen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Reopened: (BLUESKY-9) support of ipv6 and satellite In-Reply-To: <15664303.9141277195755613.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/BLUESKY-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nan hongzhen reopened BLUESKY-9: -------------------------------- > support of ipv6 and satellite > ----------------------------- > > Key: BLUESKY-9 > URL: https://issues.apache.org/jira/browse/BLUESKY-9 > Project: Bluesky > Issue Type: Improvement > Reporter: Nan hongzhen > Attachments: realclass_v6.rar > > > add the support of ipv6 > add the satellite module -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jun 23 00:13:43 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7000 invoked from network); 23 Jun 2010 00:13:43 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Jun 2010 00:13:43 -0000 Received: (qmail 14807 invoked by uid 500); 23 Jun 2010 00:13:43 -0000 Delivered-To: [email protected] Received: (qmail 14789 invoked by uid 500); 23 Jun 2010 00:13:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bluesky-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 34876 invoked by uid 99); 22 Jun 2010 09:21:16 -0000 X-ASF-Spam-Status: No, hits=-1536.3 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Message-ID: <21722351.9521277198455074.JavaMail.jira@thor> Date: Tue, 22 Jun 2010 05:20:55 -0400 (EDT) From: "Nan hongzhen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (BLUESKY-9) support of ipv6 and satellite In-Reply-To: <15664303.9141277195755613.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/BLUESKY-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nan hongzhen resolved BLUESKY-9. -------------------------------- Resolution: Fixed > support of ipv6 and satellite > ----------------------------- > > Key: BLUESKY-9 > URL: https://issues.apache.org/jira/browse/BLUESKY-9 > Project: Bluesky > Issue Type: Improvement > Reporter: Nan hongzhen > Attachments: realclass_v6.rar > > > add the support of ipv6 > add the satellite module -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jun 23 00:13:54 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7028 invoked from network); 23 Jun 2010 00:13:54 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Jun 2010 00:13:54 -0000 Received: (qmail 14864 invoked by uid 500); 23 Jun 2010 00:13:54 -0000 Delivered-To: [email protected] Received: (qmail 14846 invoked by uid 500); 23 Jun 2010 00:13:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bluesky-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 33953 invoked by uid 99); 22 Jun 2010 09:19:18 -0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Message-ID: <5577944.9501277198334739.JavaMail.jira@thor> Date: Tue, 22 Jun 2010 05:18:54 -0400 (EDT) From: "Nan hongzhen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Reopened: (BLUESKY-9) support of ipv6 and satellite In-Reply-To: <15664303.9141277195755613.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/BLUESKY-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nan hongzhen reopened BLUESKY-9: -------------------------------- > support of ipv6 and satellite > ----------------------------- > > Key: BLUESKY-9 > URL: https://issues.apache.org/jira/browse/BLUESKY-9 > Project: Bluesky > Issue Type: Improvement > Reporter: Nan hongzhen > Attachments: realclass_v6.rar > > > add the support of ipv6 > add the satellite module -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jun 23 00:14:06 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7056 invoked from network); 23 Jun 2010 00:14:06 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Jun 2010 00:14:06 -0000 Received: (qmail 14956 invoked by uid 500); 23 Jun 2010 00:14:06 -0000 Delivered-To: [email protected] Received: (qmail 14940 invoked by uid 500); 23 Jun 2010 00:14:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bluesky-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 33260 invoked by uid 99); 22 Jun 2010 09:16:19 -0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Message-ID: <5350595.9481277198154970.JavaMail.jira@thor> Date: Tue, 22 Jun 2010 05:15:54 -0400 (EDT) From: "Nan hongzhen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (BLUESKY-9) support of ipv6 and satellite In-Reply-To: <15664303.9141277195755613.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/BLUESKY-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nan hongzhen closed BLUESKY-9. ------------------------------ Resolution: Fixed > support of ipv6 and satellite > ----------------------------- > > Key: BLUESKY-9 > URL: https://issues.apache.org/jira/browse/BLUESKY-9 > Project: Bluesky > Issue Type: Improvement > Reporter: Nan hongzhen > Attachments: realclass_v6.rar > > > add the support of ipv6 > add the satellite module -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jun 23 00:14:23 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7096 invoked from network); 23 Jun 2010 00:14:23 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Jun 2010 00:14:23 -0000 Received: (qmail 15036 invoked by uid 500); 23 Jun 2010 00:14:22 -0000 Delivered-To: [email protected] Received: (qmail 15018 invoked by uid 500); 23 Jun 2010 00:14:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bluesky-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 10669 invoked by uid 99); 22 Jun 2010 08:59:16 -0000 X-ASF-Spam-Status: No, hits=-1536.2 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Message-ID: <24703196.9201277197134453.JavaMail.jira@thor> Date: Tue, 22 Jun 2010 04:58:54 -0400 (EDT) From: "Nan hongzhen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (BLUESKY-9) support of ipv6 and satellite In-Reply-To: <15664303.9141277195755613.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/BLUESKY-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nan hongzhen updated BLUESKY-9: ------------------------------- Attachment: realclass_v6.rar the ipv6 version of realclass and support of satellite > support of ipv6 and satellite > ----------------------------- > > Key: BLUESKY-9 > URL: https://issues.apache.org/jira/browse/BLUESKY-9 > Project: Bluesky > Issue Type: Improvement > Reporter: Nan hongzhen > Attachments: realclass_v6.rar > > > add the support of ipv6 > add the satellite module -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jun 23 00:14:34 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7129 invoked from network); 23 Jun 2010 00:14:34 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Jun 2010 00:14:34 -0000 Received: (qmail 15112 invoked by uid 500); 23 Jun 2010 00:14:34 -0000 Delivered-To: [email protected] Received: (qmail 15095 invoked by uid 500); 23 Jun 2010 00:14:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bluesky-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 83510 invoked by uid 99); 22 Jun 2010 08:36:16 -0000 X-ASF-Spam-Status: No, hits=-1536.2 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Message-ID: <15664303.9141277195755613.JavaMail.jira@thor> Date: Tue, 22 Jun 2010 04:35:55 -0400 (EDT) From: "Nan hongzhen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (BLUESKY-9) support of ipv6 and satellite MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 support of ipv6 and satellite ----------------------------- Key: BLUESKY-9 URL: https://issues.apache.org/jira/browse/BLUESKY-9 Project: Bluesky Issue Type: Improvement Reporter: Nan hongzhen add the support of ipv6 add the satellite module -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jun 23 10:07:14 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60530 invoked from network); 23 Jun 2010 10:07:14 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Jun 2010 10:07:14 -0000 Received: (qmail 34860 invoked by uid 500); 23 Jun 2010 10:07:14 -0000 Delivered-To: [email protected] Received: (qmail 34811 invoked by uid 500); 23 Jun 2010 10:07:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bluesky-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34802 invoked by uid 99); 23 Jun 2010 10:07:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jun 2010 10:07:12 +0000 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=AWL,FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-gy0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jun 2010 10:07:06 +0000 Received: by gyg10 with SMTP id 10so3738229gyg.6 for <[email protected]>; Wed, 23 Jun 2010 03:06:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=Zk9pLCWgkk633wsYgdtI/zcqns6Nd1dyyTuRkAn/2uA=; b=yD4g8ksheQXpxfzApD06jfcaHAFWq928i1Eqx5yTkF+Lx5v998OrWc95GRnFyBReKL mrKpq8JHcq/JvOl0cU0JdbbYTBrQQq8bH7512iZGQdliN+vA3bjhzVgmZ1QZ+n+UuqPO YW+98M3C/BYj5G2lIi5ZdABFcAkdtoDYlXalI= 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=iWTsXDI2CqJi04r/2D/FX18XpSjlGlufEO6JpIR5dNjk8M6u+1VmTSLVBu42tx/Gi2 1pJOF2ifB9KnayKenhah+5sOoLhEAmeGowSl0H3ekuR+pljJdreCe4bwE3+YLyysW2iw PEPr2rzmZ/7I3D0BdRNttQd/Zxh18Z4weVS4Y= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id x24mr4992291agi.17.1277287603614; Wed, 23 Jun 2010 03:06:43 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 23 Jun 2010 03:06:43 -0700 (PDT) In-Reply-To: <15664303.9141277195755613.JavaMail.jira@thor> References: <15664303.9141277195755613.JavaMail.jira@thor> Date: Wed, 23 Jun 2010 18:06:43 +0800 Message-ID: <[email protected]> Subject: Re: [jira] Created: (BLUESKY-9) support of ipv6 and satellite From: Samuel Kevin <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016e640cbe8e3b4700489afb1ac --0016e640cbe8e3b4700489afb1ac Content-Type: text/plain; charset=ISO-8859-1 Thanks a lot. NanHongzhen. I've been pretty busy recently. I will view the code this weekend,if possible. And tried to commit it to SVN soon. Thanks again. regards, Kevin 2010/6/22 Nan hongzhen (JIRA) <[email protected]> > support of ipv6 and satellite > ----------------------------- > > Key: BLUESKY-9 > URL: https://issues.apache.org/jira/browse/BLUESKY-9 > Project: Bluesky > Issue Type: Improvement > Reporter: Nan hongzhen > > > add the support of ipv6 > add the satellite module > > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > > -- Bowen Ma a.k.a Samuel Kevin @ Bluesky Dev Team XJTU Shaanxi Province Key Lab. of Satellite and Terrestrial Network Tech http://incubator.apache.org/bluesky/ --0016e640cbe8e3b4700489afb1ac--
From [email protected] Wed Mar 01 18:18:49 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 32144 invoked from network); 1 Mar 2006 18:18:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Mar 2006 18:18:49 -0000 Received: (qmail 82925 invoked by uid 500); 1 Mar 2006 18:19:32 -0000 Delivered-To: [email protected] Received: (qmail 82863 invoked by uid 500); 1 Mar 2006 18:19:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 82836 invoked by uid 99); 1 Mar 2006 18:19:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Mar 2006 10:19:31 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 01 Mar 2006 10:19:31 -0800 Received: (qmail 31987 invoked by uid 65534); 1 Mar 2006 18:18:23 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r382112 - /lucene/hadoop/trunk/bin/hadoop Date: Wed, 01 Mar 2006 18:18:23 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Wed Mar 1 10:18:22 2006 New Revision: 382112 URL: http://svn.apache.org/viewcvs?rev=382112&view=rev Log: Add webapps to classpath so they're found. Modified: lucene/hadoop/trunk/bin/hadoop Modified: lucene/hadoop/trunk/bin/hadoop URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/bin/hadoop?rev=382112&r1=382111&r2=382112&view=diff ============================================================================== --- lucene/hadoop/trunk/bin/hadoop (original) +++ lucene/hadoop/trunk/bin/hadoop Wed Mar 1 10:18:22 2006 @@ -92,7 +92,10 @@ # so that filenames w/ spaces are handled correctly in loops below IFS= -# for releases, add Hadoop jar to CLASSPATH +# for releases, add hadoop jars & webapps to CLASSPATH +if [ -d "$HADOOP_HOME/webapps" ]; then + CLASSPATH=${CLASSPATH}:$HADOOP_HOME +fi for f in $HADOOP_HOME/hadoop-*.jar; do CLASSPATH=${CLASSPATH}:$f; done From [email protected] Wed Mar 01 18:51:23 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45937 invoked from network); 1 Mar 2006 18:51:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Mar 2006 18:51:21 -0000 Received: (qmail 31028 invoked by uid 500); 1 Mar 2006 18:52:04 -0000 Delivered-To: [email protected] Received: (qmail 30963 invoked by uid 500); 1 Mar 2006 18:52:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30652 invoked by uid 99); 1 Mar 2006 18:52:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Mar 2006 10:52:02 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 01 Mar 2006 10:52:01 -0800 Received: (qmail 45686 invoked by uid 65534); 1 Mar 2006 18:50:54 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r382121 - in /lucene/hadoop/trunk: bin/slaves.sh conf/hadoop-env.sh.template Date: Wed, 01 Mar 2006 18:50:53 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Wed Mar 1 10:50:52 2006 New Revision: 382121 URL: http://svn.apache.org/viewcvs?rev=382121&view=rev Log: Permit folks to modify options passed to ssh. For example, older versions of ssh do not support the ConnectTimeout option. Modified: lucene/hadoop/trunk/bin/slaves.sh lucene/hadoop/trunk/conf/hadoop-env.sh.template Modified: lucene/hadoop/trunk/bin/slaves.sh URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/bin/slaves.sh?rev=382121&r1=382120&r2=382121&view=diff ============================================================================== --- lucene/hadoop/trunk/bin/slaves.sh (original) +++ lucene/hadoop/trunk/bin/slaves.sh Wed Mar 1 10:50:52 2006 @@ -38,8 +38,12 @@ export HADOOP_SLAVES="$HADOOP_HOME/conf/slaves" fi +if [ "$HADOOP_SSH_OPTS" = "" ]; then + export HADOOP_SSH_OPTS="-o ConnectTimeout=1" +fi + for slave in `cat "$HADOOP_SLAVES"`; do - ssh -o ConnectTimeout=1 $slave $"${@// /\\ }" \ + ssh $HADOOP_SSH_OPTS $slave $"${@// /\\ }" \ 2>&1 | sed "s/^/$slave: /" & done Modified: lucene/hadoop/trunk/conf/hadoop-env.sh.template URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/conf/hadoop-env.sh.template?rev=382121&r1=382120&r2=382121&view=diff ============================================================================== --- lucene/hadoop/trunk/conf/hadoop-env.sh.template (original) +++ lucene/hadoop/trunk/conf/hadoop-env.sh.template Wed Mar 1 10:50:52 2006 @@ -1,6 +1,11 @@ # Set Hadoop-specific environment variables here. -# The java implementation to use. +# The only required environment variable is JAVA_HOME. All others are +# optional. When running a distributed configuration it is best to +# set JAVA_HOME in this file, so that it is correctly defined on +# remote nodes. + +# The java implementation to use. Required. # export JAVA_HOME=/usr/bin/java # The maximum amount of heap to use, in MB. Default is 1000. @@ -8,6 +13,9 @@ # Extra Java runtime options. Empty by default. # export HADOOP_OPTS=-server + +# Extra ssh options. Default is '-o ConnectTimeout=1'. +# export HADOOP_SSH_OPTS="-o ConnectTimeout=1" # Where log files are stored. $HADOOP_HOME/logs by default. # export HADOOP_LOG_DIR=${HADOOP_HOME}/logs From [email protected] Thu Mar 02 18:49:18 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61326 invoked from network); 2 Mar 2006 18:49:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Mar 2006 18:49:18 -0000 Received: (qmail 97605 invoked by uid 500); 2 Mar 2006 18:50:04 -0000 Delivered-To: [email protected] Received: (qmail 97562 invoked by uid 500); 2 Mar 2006 18:50:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 97553 invoked by uid 99); 2 Mar 2006 18:50:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Mar 2006 10:50:04 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 02 Mar 2006 10:50:02 -0800 Received: (qmail 61175 invoked by uid 65534); 2 Mar 2006 18:48:54 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r382465 - in /lucene/hadoop/trunk: bin/hadoop bin/hadoop-daemon.sh bin/slaves.sh conf/hadoop-env.sh.template Date: Thu, 02 Mar 2006 18:48:54 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Thu Mar 2 10:48:52 2006 New Revision: 382465 URL: http://svn.apache.org/viewcvs?rev=382465&view=rev Log: Fix for HADOOP-60, with help from Owen & Michael. Modified: lucene/hadoop/trunk/bin/hadoop lucene/hadoop/trunk/bin/hadoop-daemon.sh lucene/hadoop/trunk/bin/slaves.sh lucene/hadoop/trunk/conf/hadoop-env.sh.template Modified: lucene/hadoop/trunk/bin/hadoop URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/bin/hadoop?rev=382465&r1=382464&r2=382465&view=diff ============================================================================== --- lucene/hadoop/trunk/bin/hadoop (original) +++ lucene/hadoop/trunk/bin/hadoop Thu Mar 2 10:48:52 2006 @@ -4,13 +4,15 @@ # # Environment Variables # -# JAVA_HOME The java implementation to use. Overrides JAVA_HOME. +# JAVA_HOME The java implementation to use. Overrides JAVA_HOME. # # HADOOP_HEAPSIZE The maximum amount of heap to use, in MB. -# Default is 1000. +# Default is 1000. # # HADOOP_OPTS Extra Java runtime options. # +# HADOOP_CONF_DIR Alternate conf dir. Default is ${HADOOP_HOME}/conf. +# # resolve links - $0 may be a softlink THIS="$0" @@ -49,8 +51,11 @@ THIS_DIR=`dirname "$THIS"` HADOOP_HOME=`cd "$THIS_DIR/.." ; pwd` -if [ -f "$HADOOP_HOME/conf/hadoop-env.sh" ]; then - source "${HADOOP_HOME}/conf/hadoop-env.sh" +# Allow alternate conf dir location. +HADOOP_CONF_DIR="${HADOOP_CONF_DIR:-$HADOOP_HOME/conf}" + +if [ -f "${HADOOP_CONF_DIR}/hadoop-env.sh" ]; then + source ${HADOOP_CONF_DIR}/hadoop-env.sh fi # some Java parameters @@ -74,8 +79,8 @@ #echo $JAVA_HEAP_MAX fi -# CLASSPATH initially contains $HADOOP_CONF_DIR, or defaults to $HADOOP_HOME/conf -CLASSPATH=${HADOOP_CONF_DIR:=$HADOOP_HOME/conf} +# CLASSPATH initially contains $HADOOP_CONF_DIR +CLASSPATH="${HADOOP_CONF_DIR}" CLASSPATH=${CLASSPATH}:$JAVA_HOME/lib/tools.jar # for developers, add Hadoop classes to CLASSPATH Modified: lucene/hadoop/trunk/bin/hadoop-daemon.sh URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/bin/hadoop-daemon.sh?rev=382465&r1=382464&r2=382465&view=diff ============================================================================== --- lucene/hadoop/trunk/bin/hadoop-daemon.sh (original) +++ lucene/hadoop/trunk/bin/hadoop-daemon.sh Thu Mar 2 10:48:52 2006 @@ -4,6 +4,7 @@ # # Environment Variables # +# HADOOP_CONF_DIR Alternate conf dir. Default is ${HADOOP_HOME}/conf. # HADOOP_LOG_DIR Where log files are stored. PWD by default. # HADOOP_MASTER host:path where hadoop code should be rsync'd from # HADOOP_PID_DIR The pid files are stored. /tmp by default. @@ -39,8 +40,11 @@ # the root of the Hadoop installation HADOOP_HOME=`dirname "$this"`/.. -if [ -f "$HADOOP_HOME/conf/hadoop-env.sh" ]; then - source "${HADOOP_HOME}/conf/hadoop-env.sh" +# Allow alternate conf dir location. +HADOOP_CONF_DIR="${HADOOP_CONF_DIR:-$HADOOP_HOME/conf}" + +if [ -f "${HADOOP_CONF_DIR}/hadoop-env.sh" ]; then + source "${HADOOP_CONF_DIR}/hadoop-env.sh" fi # get log directory Modified: lucene/hadoop/trunk/bin/slaves.sh URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/bin/slaves.sh?rev=382465&r1=382464&r2=382465&view=diff ============================================================================== --- lucene/hadoop/trunk/bin/slaves.sh (original) +++ lucene/hadoop/trunk/bin/slaves.sh Thu Mar 2 10:48:52 2006 @@ -5,6 +5,7 @@ # Environment Variables # # HADOOP_SLAVES File naming remote hosts. Default is ~/.slaves +# HADOOP_CONF_DIR Alternate conf dir. Default is ${HADOOP_HOME}/conf. ## usage="Usage: slaves.sh command..." @@ -30,16 +31,24 @@ # the root of the Hadoop installation HADOOP_HOME=`dirname "$this"`/.. -if [ -f "$HADOOP_HOME/conf/hadoop-env.sh" ]; then - source "${HADOOP_HOME}/conf/hadoop-env.sh" +# Allow alternate conf dir location. +HADOOP_CONF_DIR="${HADOOP_CONF_DIR:=$HADOOP_HOME/conf}" + +if [ -f "${HADOOP_CONF_DIR}/hadoop-env.sh" ]; then + source "${HADOOP_CONF_DIR}/hadoop-env.sh" fi if [ "$HADOOP_SLAVES" = "" ]; then - export HADOOP_SLAVES="$HADOOP_HOME/conf/slaves" + export HADOOP_SLAVES="${HADOOP_CONF_DIR}/slaves" fi +# By default, forward HADOOP_CONF_DIR environment variable to the +# remote slave. Remote slave must have following added to its +# /etc/ssh/sshd_config: +# AcceptEnv HADOOP_CONF_DIR +# See'man ssh_config for more on SendEnv and AcceptEnv. if [ "$HADOOP_SSH_OPTS" = "" ]; then - export HADOOP_SSH_OPTS="-o ConnectTimeout=1" + export HADOOP_SSH_OPTS="-o ConnectTimeout=1 -o SendEnv=HADOOP_CONF_DIR" fi for slave in `cat "$HADOOP_SLAVES"`; do Modified: lucene/hadoop/trunk/conf/hadoop-env.sh.template URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/conf/hadoop-env.sh.template?rev=382465&r1=382464&r2=382465&view=diff ============================================================================== --- lucene/hadoop/trunk/conf/hadoop-env.sh.template (original) +++ lucene/hadoop/trunk/conf/hadoop-env.sh.template Thu Mar 2 10:48:52 2006 @@ -14,8 +14,8 @@ # Extra Java runtime options. Empty by default. # export HADOOP_OPTS=-server -# Extra ssh options. Default is '-o ConnectTimeout=1'. -# export HADOOP_SSH_OPTS="-o ConnectTimeout=1" +# Extra ssh options. Default: '-o ConnectTimeout=1 -o SendEnv=HADOOP_CONF_DIR'. +# export HADOOP_SSH_OPTS="-o ConnectTimeout=1 -o SendEnv=HADOOP_CONF_DIR" # Where log files are stored. $HADOOP_HOME/logs by default. # export HADOOP_LOG_DIR=${HADOOP_HOME}/logs From [email protected] Thu Mar 02 20:58:15 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28149 invoked from network); 2 Mar 2006 20:58:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Mar 2006 20:58:15 -0000 Received: (qmail 10226 invoked by uid 500); 2 Mar 2006 20:59:01 -0000 Delivered-To: [email protected] Received: (qmail 10204 invoked by uid 500); 2 Mar 2006 20:59:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 10193 invoked by uid 99); 2 Mar 2006 20:59:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Mar 2006 12:59:01 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 02 Mar 2006 12:59:00 -0800 Received: (qmail 28097 invoked by uid 65534); 2 Mar 2006 20:57:53 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r382511 - in /lucene/hadoop/trunk/lib: lucene-core-1.9-final.jar lucene-core-1.9.1.jar Date: Thu, 02 Mar 2006 20:57:53 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Thu Mar 2 12:57:51 2006 New Revision: 382511 URL: http://svn.apache.org/viewcvs?rev=382511&view=rev Log: Upgrade to Lucene 1.9.1. Added: lucene/hadoop/trunk/lib/lucene-core-1.9.1.jar (with props) Removed: lucene/hadoop/trunk/lib/lucene-core-1.9-final.jar Added: lucene/hadoop/trunk/lib/lucene-core-1.9.1.jar URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/lib/lucene-core-1.9.1.jar?rev=382511&view=auto ============================================================================== Binary file - no diff available. Propchange: lucene/hadoop/trunk/lib/lucene-core-1.9.1.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream From [email protected] Thu Mar 02 23:06:09 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77256 invoked from network); 2 Mar 2006 23:06:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Mar 2006 23:06:09 -0000 Received: (qmail 87204 invoked by uid 500); 2 Mar 2006 23:06:56 -0000 Delivered-To: [email protected] Received: (qmail 87185 invoked by uid 500); 2 Mar 2006 23:06:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 87176 invoked by uid 99); 2 Mar 2006 23:06:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Mar 2006 15:06:56 -0800 X-ASF-Spam-Status: No, hits=-8.6 required=10.0 tests=ALL_TRUSTED,INFO_TLD,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 02 Mar 2006 15:06:54 -0800 Received: (qmail 77186 invoked by uid 65534); 2 Mar 2006 23:05:47 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r382545 - in /lucene/hadoop/trunk/src/java/org/apache/hadoop: dfs/DFSClient.java dfs/FSNamesystem.java mapred/JobInProgress.java mapred/JobStatus.java mapred/JobTracker.java mapred/TaskInProgress.java Date: Thu, 02 Mar 2006 23:05:45 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Thu Mar 2 15:05:43 2006 New Revision: 382545 URL: http://svn.apache.org/viewcvs?rev=382545&view=rev Log: Fix for HADOOP-16. Splitting and other job planning is now performed in a separate thread. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobStatus.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobTracker.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java?rev=382545&r1=382544&r2=382545&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java Thu Mar 2 15:05:43 2006 @@ -585,7 +585,7 @@ // Connection failed. Let's wait a little bit and retry try { if (System.currentTimeMillis() - start > 5000) { - LOG.info("Waiting to find target node"); + LOG.info("Waiting to find target node: " + target); } Thread.sleep(6000); } catch (InterruptedException iex) { Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java?rev=382545&r1=382544&r2=382545&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java Thu Mar 2 15:05:43 2006 @@ -550,6 +550,10 @@ int endBlock = -1; Block blocks[] = dir.getFile(src); + if (blocks == null) { // no blocks + return new UTF8[0][]; + } + // // First, figure out where the range falls in // the blocklist. @@ -579,7 +583,7 @@ if (startBlock < 0 || endBlock < 0) { return new UTF8[0][]; } else { - UTF8 hosts[][] = new UTF8[endBlock - startBlock + 1][]; + UTF8 hosts[][] = new UTF8[(endBlock - startBlock) + 1][]; for (int i = startBlock; i <= endBlock; i++) { TreeSet containingNodes = (TreeSet) blocksMap.get(blocks[i]); Vector v = new Vector(); @@ -587,7 +591,7 @@ DatanodeInfo cur = (DatanodeInfo) it.next(); v.add(cur.getHost()); } - hosts[i] = (UTF8[]) v.toArray(new UTF8[v.size()]); + hosts[i-startBlock] = (UTF8[]) v.toArray(new UTF8[v.size()]); } return hosts; } Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java?rev=382545&r1=382544&r2=382545&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java Thu Mar 2 15:05:43 2006 @@ -44,6 +44,7 @@ int numReduceTasks = 0; JobTracker jobtracker = null; + TreeMap cachedHints = new TreeMap(); long startTime; long finishTime; @@ -62,7 +63,7 @@ this.conf = conf; this.jobtracker = jobtracker; this.profile = new JobProfile(jobid, jobFile, url); - this.status = new JobStatus(jobid, 0.0f, 0.0f, JobStatus.RUNNING); + this.status = new JobStatus(jobid, 0.0f, 0.0f, JobStatus.PREP); this.startTime = System.currentTimeMillis(); this.localJobFile = new JobConf(conf).getLocalFile(JobTracker.SUBDIR, jobid + ".xml"); @@ -92,9 +93,10 @@ } /** - * Construct the splits, etc + * Construct the splits, etc. This is invoked from an async + * thread so that split-computation doesn't block anyone. */ - void initTasks() throws IOException { + public void initTasks() throws IOException { if (tasksInited) { return; } @@ -153,9 +155,33 @@ reduces[i] = new TaskInProgress(jobFile, maps, i, jobtracker, conf, this); } + // + // Obtain some tasktracker-cache information for the map task splits. + // + for (int i = 0; i < maps.length; i++) { + String hints[][] = fs.getFileCacheHints(splits[i].getFile(), splits[i].getStart(), splits[i].getLength()); + cachedHints.put(maps[i].getTIPId(), hints); + } + + this.status = new JobStatus(status.getJobId(), 0.0f, 0.0f, JobStatus.RUNNING); tasksInited = true; } + /** + * This is called by TaskInProgress objects. The JobInProgress + * prefetches and caches a lot of these hints. If the hint is + * not available, then we pass it through to the filesystem. + */ + String[][] getFileCacheHints(String tipID, File f, long start, long len) throws IOException { + String results[][] = (String[][]) cachedHints.get(tipID); + if (tipID == null) { + FileSystem fs = FileSystem.get(conf); + results = fs.getFileCacheHints(f, start, len); + cachedHints.put(tipID, results); + } + return results; + } + ///////////////////////////////////////////////////// // Accessors for the JobInProgress ///////////////////////////////////////////////////// @@ -252,12 +278,8 @@ */ public Task obtainNewMapTask(String taskTracker, TaskTrackerStatus tts) { if (! tasksInited) { - try { - initTasks(); - } catch (IOException ie) { - ie.printStackTrace(); - LOG.info("Cannot create task split for " + profile.getJobId()); - } + LOG.info("Cannot create task split for " + profile.getJobId()); + return null; } Task t = null; @@ -271,30 +293,62 @@ // we call obtainNewMapTask() really fast, twice in a row. // There's not enough time for the "recentTasks" // + + // + // Compute avg progress through the map tasks + // + for (int i = 0; i < maps.length; i++) { + totalProgress += maps[i].getProgress(); + } + double avgProgress = totalProgress / maps.length; + + // + // See if there is a split over a block that is stored on + // the TaskTracker checking in. That means the block + // doesn't have to be transmitted from another node. + // for (int i = 0; i < maps.length; i++) { if (maps[i].hasTaskWithCacheHit(taskTracker, tts)) { if (cacheTarget < 0) { cacheTarget = i; break; } - } else if (maps[i].hasTask()) { - if (stdTarget < 0) { - stdTarget = i; - break; + } + } + + // + // If there's no cached target, see if there's + // a std. task to run. + // + if (cacheTarget < 0) { + for (int i = 0; i < maps.length; i++) { + if (maps[i].hasTask()) { + if (stdTarget < 0) { + stdTarget = i; + break; + } } } - totalProgress += maps[i].getProgress(); } - double avgProgress = totalProgress / maps.length; - for (int i = 0; i < maps.length; i++) { - if (maps[i].hasSpeculativeTask(avgProgress)) { - if (specTarget < 0) { - specTarget = i; + // + // If no cached-target and no std target, see if + // there's a speculative task to run. + // + if (cacheTarget < 0 && stdTarget < 0) { + for (int i = 0; i < maps.length; i++) { + if (maps[i].hasSpeculativeTask(avgProgress)) { + if (specTarget < 0) { + specTarget = i; + break; + } } } } - + + // + // Run whatever we found + // if (cacheTarget >= 0) { t = maps[cacheTarget].getTaskToRun(taskTracker, tts, avgProgress); } else if (stdTarget >= 0) { @@ -312,12 +366,8 @@ */ public Task obtainNewReduceTask(String taskTracker, TaskTrackerStatus tts) { if (! tasksInited) { - try { - initTasks(); - } catch (IOException ie) { - ie.printStackTrace(); - LOG.info("Cannot create task split for " + profile.getJobId()); - } + LOG.info("Cannot create task split for " + profile.getJobId()); + return null; } Task t = null; Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobStatus.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobStatus.java?rev=382545&r1=382544&r2=382545&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobStatus.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobStatus.java Thu Mar 2 15:05:43 2006 @@ -39,6 +39,7 @@ public static final int RUNNING = 1; public static final int SUCCEEDED = 2; public static final int FAILED = 3; + public static final int PREP = 4; String jobid; float mapProgress; Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobTracker.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobTracker.java?rev=382545&r1=382544&r2=382545&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobTracker.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobTracker.java Thu Mar 2 15:05:43 2006 @@ -33,6 +33,7 @@ * @author Mike Cafarella *******************************************************/ public class JobTracker implements MRConstants, InterTrackerProtocol, JobSubmissionProtocol { + static long JOBINIT_SLEEP_INTERVAL = 2000; static long RETIRE_JOB_INTERVAL; static long RETIRE_JOB_CHECK_INTERVAL; static float TASK_ALLOC_EPSILON; @@ -156,14 +157,21 @@ } synchronized (jobs) { - for (Iterator it = jobs.keySet().iterator(); it.hasNext(); ) { - String jobid = (String) it.next(); - JobInProgress job = (JobInProgress) jobs.get(jobid); - - if (job.getStatus().getRunState() != JobStatus.RUNNING && - (job.getFinishTime() + RETIRE_JOB_INTERVAL < System.currentTimeMillis())) { - it.remove(); - jobsByArrival.remove(job); + synchronized (jobInitQueue) { + synchronized (jobsByArrival) { + for (Iterator it = jobs.keySet().iterator(); it.hasNext(); ) { + String jobid = (String) it.next(); + JobInProgress job = (JobInProgress) jobs.get(jobid); + + if (job.getStatus().getRunState() != JobStatus.RUNNING && + job.getStatus().getRunState() != JobStatus.PREP && + (job.getFinishTime() + RETIRE_JOB_INTERVAL < System.currentTimeMillis())) { + it.remove(); + + jobInitQueue.remove(job); + jobsByArrival.remove(job); + } + } } } } @@ -175,6 +183,43 @@ } ///////////////////////////////////////////////////////////////// + // Used to init new jobs that have just been created + ///////////////////////////////////////////////////////////////// + class JobInitThread implements Runnable { + boolean shouldRun = true; + public JobInitThread() { + } + public void run() { + while (shouldRun) { + JobInProgress job = null; + synchronized (jobInitQueue) { + if (jobInitQueue.size() > 0) { + job = (JobInProgress) jobInitQueue.elementAt(0); + jobInitQueue.remove(job); + } else { + try { + jobInitQueue.wait(JOBINIT_SLEEP_INTERVAL); + } catch (InterruptedException iex) { + } + } + } + try { + if (job != null) { + job.initTasks(); + } + } catch (Exception e) { + LOG.log(Level.WARNING, "job init failed", e); + job.kill(); + } + } + } + public void stopIniter() { + shouldRun = false; + } + } + + + ///////////////////////////////////////////////////////////////// // The real JobTracker //////////////////////////////////////////////////////////////// int port; @@ -221,8 +266,10 @@ int totalMaps = 0; int totalReduces = 0; TreeMap taskTrackers = new TreeMap(); + Vector jobInitQueue = new Vector(); ExpireTrackers expireTrackers = new ExpireTrackers(); RetireJobs retireJobs = new RetireJobs(); + JobInitThread initJobs = new JobInitThread(); /** * It might seem like a bug to maintain a TreeSet of status objects, @@ -307,6 +354,7 @@ new Thread(this.expireTrackers).start(); new Thread(this.retireJobs).start(); + new Thread(this.initJobs).start(); } public static InetSocketAddress getAddress(Configuration conf) { @@ -521,67 +569,69 @@ // has not yet been removed from the pool, making capacity seem // larger than it really is.) // - if ((numMaps < maxCurrentTasks) && - (numMaps <= (avgMaps + TASK_ALLOC_EPSILON))) { - - int totalNeededMaps = 0; - for (Iterator it = jobsByArrival.iterator(); it.hasNext(); ) { - JobInProgress job = (JobInProgress) it.next(); - if (job.getStatus().getRunState() != JobStatus.RUNNING) { - continue; - } + synchronized (jobsByArrival) { + if ((numMaps < maxCurrentTasks) && + (numMaps <= (avgMaps + TASK_ALLOC_EPSILON))) { + + int totalNeededMaps = 0; + for (Iterator it = jobsByArrival.iterator(); it.hasNext(); ) { + JobInProgress job = (JobInProgress) it.next(); + if (job.getStatus().getRunState() != JobStatus.RUNNING) { + continue; + } - Task t = job.obtainNewMapTask(taskTracker, tts); - if (t != null) { - return t; - } + Task t = job.obtainNewMapTask(taskTracker, tts); + if (t != null) { + return t; + } - // - // Beyond the highest-priority task, reserve a little - // room for failures and speculative executions; don't - // schedule tasks to the hilt. - // - totalNeededMaps += job.desiredMaps(); - double padding = 0; - if (totalCapacity > MIN_SLOTS_FOR_PADDING) { - padding = Math.min(maxCurrentTasks, totalNeededMaps * PAD_FRACTION); - } - if (totalNeededMaps + padding >= totalCapacity) { - break; + // + // Beyond the highest-priority task, reserve a little + // room for failures and speculative executions; don't + // schedule tasks to the hilt. + // + totalNeededMaps += job.desiredMaps(); + double padding = 0; + if (totalCapacity > MIN_SLOTS_FOR_PADDING) { + padding = Math.min(maxCurrentTasks, totalNeededMaps * PAD_FRACTION); + } + if (totalNeededMaps + padding >= totalCapacity) { + break; + } } } - } - - // - // Same thing, but for reduce tasks - // - if ((numReduces < maxCurrentTasks) && - (numReduces <= (avgReduces + TASK_ALLOC_EPSILON))) { - int totalNeededReduces = 0; - for (Iterator it = jobsByArrival.iterator(); it.hasNext(); ) { - JobInProgress job = (JobInProgress) it.next(); - if (job.getStatus().getRunState() != JobStatus.RUNNING) { - continue; - } + // + // Same thing, but for reduce tasks + // + if ((numReduces < maxCurrentTasks) && + (numReduces <= (avgReduces + TASK_ALLOC_EPSILON))) { + + int totalNeededReduces = 0; + for (Iterator it = jobsByArrival.iterator(); it.hasNext(); ) { + JobInProgress job = (JobInProgress) it.next(); + if (job.getStatus().getRunState() != JobStatus.RUNNING) { + continue; + } - Task t = job.obtainNewReduceTask(taskTracker, tts); - if (t != null) { - return t; - } + Task t = job.obtainNewReduceTask(taskTracker, tts); + if (t != null) { + return t; + } - // - // Beyond the highest-priority task, reserve a little - // room for failures and speculative executions; don't - // schedule tasks to the hilt. - // - totalNeededReduces += job.desiredReduces(); - double padding = 0; - if (totalCapacity > MIN_SLOTS_FOR_PADDING) { - padding = Math.min(maxCurrentTasks, totalNeededReduces * PAD_FRACTION); - } - if (totalNeededReduces + padding >= totalCapacity) { - break; + // + // Beyond the highest-priority task, reserve a little + // room for failures and speculative executions; don't + // schedule tasks to the hilt. + // + totalNeededReduces += job.desiredReduces(); + double padding = 0; + if (totalCapacity > MIN_SLOTS_FOR_PADDING) { + padding = Math.min(maxCurrentTasks, totalNeededReduces * PAD_FRACTION); + } + if (totalNeededReduces + padding >= totalCapacity) { + break; + } } } } @@ -645,9 +695,31 @@ //////////////////////////////////////////////////// // JobSubmissionProtocol //////////////////////////////////////////////////// + /** + * JobTracker.submitJob() kicks off a new job. + * + * Create a 'JobInProgress' object, which contains both JobProfile + * and JobStatus. Those two sub-objects are sometimes shipped outside + * of the JobTracker. But JobInProgress adds info that's useful for + * the JobTracker alone. + * + * We add the JIP to the jobInitQueue, which is processed + * asynchronously to handle split-computation and build up + * the right TaskTracker/Block mapping. + */ public synchronized JobStatus submitJob(String jobFile) throws IOException { totalSubmissions++; - JobInProgress job = createJob(jobFile); + JobInProgress job = new JobInProgress(jobFile, this, this.conf); + synchronized (jobs) { + synchronized (jobsByArrival) { + synchronized (jobInitQueue) { + jobs.put(job.getProfile().getJobId(), job); + jobsByArrival.add(job); + jobInitQueue.add(job); + jobInitQueue.notifyAll(); + } + } + } return job.getStatus(); } @@ -730,25 +802,6 @@ */ String createUniqueId() { return "" + Integer.toString(Math.abs(r.nextInt()),36); - } - - /** - * JobProfile createJob() kicks off a new job. - * This function creates a job profile and also decomposes it into - * tasks. The tasks are added to the unassignedTasks structure. - * (The precise structure will change as we get more sophisticated about - * task allocation.) - * - * Create a 'JobInProgress' object, which contains both JobProfile - * and JobStatus. Those two sub-objects are sometimes shipped outside - * of the JobTracker. But JobInProgress adds info that's useful for - * the JobTracker alone. - */ - JobInProgress createJob(String jobFile) throws IOException { - JobInProgress job = new JobInProgress(jobFile, this, this.conf); - jobs.put(job.getProfile().getJobId(), job); - jobsByArrival.add(job); - return job; } //////////////////////////////////////////////////// Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java?rev=382545&r1=382544&r2=382545&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java Thu Mar 2 15:05:43 2006 @@ -360,8 +360,7 @@ try { if (isMapTask()) { if (hints == null) { - FileSystem fs = FileSystem.get(conf); - hints = fs.getFileCacheHints(split.getFile(), split.getStart(), split.getLength()); + hints = job.getFileCacheHints(getTIPId(), split.getFile(), split.getStart(), split.getLength()); } if (hints != null) { for (int i = 0; i < hints.length; i++) { From [email protected] Fri Mar 03 00:17:52 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7105 invoked from network); 3 Mar 2006 00:17:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Mar 2006 00:17:52 -0000 Received: (qmail 60937 invoked by uid 500); 3 Mar 2006 00:18:39 -0000 Delivered-To: [email protected] Received: (qmail 60920 invoked by uid 500); 3 Mar 2006 00:18:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 60911 invoked by uid 99); 3 Mar 2006 00:18:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Mar 2006 16:18:38 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 02 Mar 2006 16:18:38 -0800 Received: (qmail 6673 invoked by uid 65534); 3 Mar 2006 00:17:30 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r382586 - /lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java Date: Fri, 03 Mar 2006 00:17:29 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Thu Mar 2 16:17:27 2006 New Revision: 382586 URL: http://svn.apache.org/viewcvs?rev=382586&view=rev Log: Check taskid's more carefully. Suggested by Michael Stack. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java?rev=382586&r1=382585&r2=382586&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java Thu Mar 2 16:17:27 2006 @@ -566,7 +566,11 @@ */ public synchronized void progress(String taskid, float progress, String state) throws IOException { TaskInProgress tip = (TaskInProgress) tasks.get(taskid); - tip.reportProgress(progress, state); + if (tip != null) { + tip.reportProgress(progress, state); + } else { + LOG.warning("Progress from unknown child task: "+taskid+". Ignored."); + } } /** @@ -575,7 +579,11 @@ */ public synchronized void reportDiagnosticInfo(String taskid, String info) throws IOException { TaskInProgress tip = (TaskInProgress) tasks.get(taskid); - tip.reportDiagnosticInfo(info); + if (tip != null) { + tip.reportDiagnosticInfo(info); + } else { + LOG.warning("Error from unknown child task: "+taskid+". Ignored."); + } } /** Child checking to see if we're alive. Normally does nothing.*/ @@ -590,7 +598,11 @@ */ public synchronized void done(String taskid) throws IOException { TaskInProgress tip = (TaskInProgress) tasks.get(taskid); - tip.reportDone(); + if (tip != null) { + tip.reportDone(); + } else { + LOG.warning("Unknown child task done: "+taskid+". Ignored."); + } } /** A child task had a local filesystem error. Exit, so that no future From [email protected] Fri Mar 03 17:36:39 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18193 invoked from network); 3 Mar 2006 17:36:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Mar 2006 17:36:36 -0000 Received: (qmail 89655 invoked by uid 500); 3 Mar 2006 17:37:20 -0000 Delivered-To: [email protected] Received: (qmail 89568 invoked by uid 500); 3 Mar 2006 17:37:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 89388 invoked by uid 99); 3 Mar 2006 17:37:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Mar 2006 09:37:19 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 03 Mar 2006 09:37:18 -0800 Received: (qmail 17942 invoked by uid 65534); 3 Mar 2006 17:36:10 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r382895 - /lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java Date: Fri, 03 Mar 2006 17:36:10 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: mc Date: Fri Mar 3 09:36:09 2006 New Revision: 382895 URL: http://svn.apache.org/viewcvs?rev=382895&view=rev Log: A bug in the TaskTracker was governing task-allocation by counting the total number of tasks. The right thing to do is keep a total for map tasks, and a separate total for reduces. This is now fixed. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java?rev=382895&r1=382894&r2=382895&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java Fri Mar 3 09:36:09 2006 @@ -57,6 +57,8 @@ TreeMap tasks = null; TreeMap runningTasks = null; + int mapTotal = 0; + int reduceTotal = 0; boolean justStarted = true; static Random r = new Random(); @@ -224,6 +226,11 @@ TaskStatus status = tip.createStatus(); taskReports.add(status); if (status.getRunState() != TaskStatus.RUNNING) { + if (tip.getTask().isMapTask()) { + mapTotal--; + } else { + reduceTotal--; + } it.remove(); } } @@ -246,12 +253,17 @@ // // Check if we should create a new Task // - if (runningTasks.size() < maxCurrentTasks) { + if (mapTotal < maxCurrentTasks || reduceTotal < maxCurrentTasks) { Task t = jobClient.pollForNewTask(taskTrackerName); if (t != null) { TaskInProgress tip = new TaskInProgress(t, this.fConf); synchronized (this) { tasks.put(t.getTaskId(), tip); + if (t.isMapTask()) { + mapTotal++; + } else { + reduceTotal++; + } runningTasks.put(t.getTaskId(), tip); } tip.launchTask(); From [email protected] Fri Mar 03 21:31:13 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49256 invoked from network); 3 Mar 2006 21:31:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Mar 2006 21:31:13 -0000 Received: (qmail 57488 invoked by uid 500); 3 Mar 2006 21:31:43 -0000 Delivered-To: [email protected] Received: (qmail 57418 invoked by uid 500); 3 Mar 2006 21:31:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 57380 invoked by uid 99); 3 Mar 2006 21:31:42 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Mar 2006 13:31:42 -0800 X-ASF-Spam-Status: No, hits=-8.6 required=10.0 tests=ALL_TRUSTED,INFO_TLD,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 03 Mar 2006 13:31:41 -0800 Received: (qmail 49093 invoked by uid 65534); 3 Mar 2006 21:30:34 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r382937 - in /lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred: TaskInProgress.java TaskTracker.java Date: Fri, 03 Mar 2006 21:30:34 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Fri Mar 3 13:30:32 2006 New Revision: 382937 URL: http://svn.apache.org/viewcvs?rev=382937&view=rev Log: Fix a couple of tasktracker bugs. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java?rev=382937&r1=382936&r2=382937&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java Fri Mar 3 13:30:32 2006 @@ -39,7 +39,7 @@ // //////////////////////////////////////////////////////// class TaskInProgress { - static final int MAX_TASK_EXECS = 10; + static final int MAX_TASK_EXECS = 1; static final int MAX_TASK_FAILURES = 4; static final double SPECULATIVE_GAP = 0.2; static final long SPECULATIVE_LAG = 60 * 1000; @@ -157,12 +157,14 @@ public boolean isFailed() { return failed; } + /** * Number of times the TaskInProgress has failed. */ public int numTaskFailures() { - return numTaskFailures(); + return numTaskFailures; } + /** * Get the overall progress (from 0 to 1.0) for this TIP */ @@ -405,6 +407,7 @@ // in more depth eventually... // if (isMapTask() && + recentTasks.size() <= MAX_TASK_EXECS && conf.getBoolean("mapred.speculative.execution", true) && (averageProgress - progress >= SPECULATIVE_GAP) && (System.currentTimeMillis() - startTime >= SPECULATIVE_LAG)) { Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java?rev=382937&r1=382936&r2=382937&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java Fri Mar 3 13:30:32 2006 @@ -106,6 +106,8 @@ // Clear out state tables this.tasks = new TreeMap(); this.runningTasks = new TreeMap(); + this.mapTotal = 0; + this.reduceTotal = 0; // port numbers this.taskReportPort = this.fConf.getInt("mapred.task.tracker.report.port", 50050); @@ -326,8 +328,7 @@ staleState = true; } } catch (Exception ex) { - ex.printStackTrace(); - LOG.info("Lost connection to JobTracker [" + jobTrackAddr + "]. Retrying..."); + LOG.log(Level.INFO, "Lost connection to JobTracker [" + jobTrackAddr + "]. Retrying...", ex); try { Thread.sleep(5000); } catch (InterruptedException ie) { @@ -632,7 +633,11 @@ */ synchronized void reportTaskFinished(String taskid) { TaskInProgress tip = (TaskInProgress) tasks.get(taskid); - tip.taskFinished(); + if (tip != null) { + tip.taskFinished(); + } else { + LOG.warning("Unknown child task finshed: "+taskid+". Ignored."); + } } /** From [email protected] Sat Mar 04 20:47:26 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12990 invoked from network); 4 Mar 2006 20:47:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Mar 2006 20:47:26 -0000 Received: (qmail 73580 invoked by uid 500); 4 Mar 2006 20:48:12 -0000 Delivered-To: [email protected] Received: (qmail 73544 invoked by uid 500); 4 Mar 2006 20:48:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 73535 invoked by uid 99); 4 Mar 2006 20:48:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Mar 2006 12:48:12 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 04 Mar 2006 12:48:11 -0800 Received: (qmail 12937 invoked by uid 65534); 4 Mar 2006 20:47:04 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r383197 - /lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java Date: Sat, 04 Mar 2006 20:47:03 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: mc Date: Sat Mar 4 12:47:01 2006 New Revision: 383197 URL: http://svn.apache.org/viewcvs?rev=383197&view=rev Log: This code makes sure we read from a local block, if available. I thought this code had already been committed some time ago, but the workspace doesn't have it. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java?rev=383197&r1=383196&r2=383197&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java Sat Mar 4 12:47:01 2006 @@ -42,6 +42,7 @@ public static final Logger LOG = LogFormatter.getLogger("org.apache.hadoop.fs.DFSClient"); static int MAX_BLOCK_ACQUIRE_FAILURES = 10; ClientProtocol namenode; + String localName; boolean running = true; Random r = new Random(); String clientName; @@ -53,6 +54,11 @@ */ public DFSClient(InetSocketAddress nameNodeAddr, Configuration conf) { this.namenode = (ClientProtocol) RPC.getProxy(ClientProtocol.class, nameNodeAddr, conf); + try { + this.localName = InetAddress.getLocalHost().getHostName(); + } catch (UnknownHostException uhe) { + this.localName = ""; + } this.clientName = "DFSClient_" + r.nextInt(); this.leaseChecker = new Daemon(new LeaseChecker()); this.leaseChecker.start(); @@ -188,8 +194,8 @@ } /** - * Pick the best/closest node which to stream the data. - * For now, just pick the first on the list. + * Pick the best node from which to stream the data. + * That's the local one, if available. */ private DatanodeInfo bestNode(DatanodeInfo nodes[], TreeSet deadNodes) throws IOException { if ((nodes == null) || @@ -197,9 +203,25 @@ throw new IOException("No live nodes contain current block"); } DatanodeInfo chosenNode = null; - do { - chosenNode = nodes[Math.abs(r.nextInt()) % nodes.length]; - } while (deadNodes.contains(chosenNode)); + for (int i = 0; i < nodes.length; i++) { + if (deadNodes.contains(nodes[i])) { + continue; + } + String nodename = nodes[i].getName().toString(); + int colon = nodename.indexOf(':'); + if (colon >= 0) { + nodename = nodename.substring(0, colon); + } + if (localName.equals(nodename)) { + chosenNode = nodes[i]; + break; + } + } + if (chosenNode == null) { + do { + chosenNode = nodes[Math.abs(r.nextInt()) % nodes.length]; + } while (deadNodes.contains(chosenNode)); + } return chosenNode; } From [email protected] Sun Mar 05 01:02:56 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75431 invoked from network); 5 Mar 2006 01:02:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Mar 2006 01:02:56 -0000 Received: (qmail 11543 invoked by uid 500); 5 Mar 2006 01:03:43 -0000 Delivered-To: [email protected] Received: (qmail 11527 invoked by uid 500); 5 Mar 2006 01:03:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 11518 invoked by uid 99); 5 Mar 2006 01:03:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Mar 2006 17:03:43 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 04 Mar 2006 17:03:42 -0800 Received: (qmail 75367 invoked by uid 65534); 5 Mar 2006 01:02:35 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r383247 - in /lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs: ClientProtocol.java DFSClient.java FSConstants.java FSNamesystem.java NameNode.java Date: Sun, 05 Mar 2006 01:02:34 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: mc Date: Sat Mar 4 17:02:33 2006 New Revision: 383247 URL: http://svn.apache.org/viewcvs?rev=383247&view=rev Log: Fix bug HADOOP-26. Available space is now considered correctly during DFS block-allocation. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/ClientProtocol.java lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSConstants.java lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/NameNode.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/ClientProtocol.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/ClientProtocol.java?rev=383247&r1=383246&r2=383247&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/ClientProtocol.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/ClientProtocol.java Sat Mar 4 17:02:33 2006 @@ -51,7 +51,7 @@ * create multi-block files must also use reportWrittenBlock() * and addBlock(). */ - public LocatedBlock create(String src, String clientName, boolean overwrite) throws IOException; + public LocatedBlock create(String src, String clientName, String clientMachine, boolean overwrite) throws IOException; /** * A client that has written a block of data can report completion @@ -81,7 +81,7 @@ * A null response means the NameNode could not allocate a block, * and that the caller should try again. */ - public LocatedBlock addBlock(String src) throws IOException; + public LocatedBlock addBlock(String src, String clientMachine) throws IOException; /** * A client that wants to abandon writing to the current file Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java?rev=383247&r1=383246&r2=383247&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java Sat Mar 4 17:02:33 2006 @@ -574,9 +574,9 @@ LocatedBlock lb = null; while (! blockComplete) { if (firstTime) { - lb = namenode.create(src.toString(), clientName.toString(), overwrite); + lb = namenode.create(src.toString(), clientName.toString(), localName, overwrite); } else { - lb = namenode.addBlock(src.toString()); + lb = namenode.addBlock(src.toString(), localName); } if (lb == null) { Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSConstants.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSConstants.java?rev=383247&r1=383246&r2=383247&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSConstants.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSConstants.java Sat Mar 4 17:02:33 2006 @@ -24,7 +24,7 @@ ************************************/ interface FSConstants { public static int BLOCK_SIZE = 32 * 1000 * 1000; - //public static int BLOCK_SIZE = 19; + public static int MIN_BLOCKS_FOR_WRITE = 5; public static final long WRITE_COMPLETE = 0xcafae11a; Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java?rev=383247&r1=383246&r2=383247&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java Sat Mar 4 17:02:33 2006 @@ -38,8 +38,6 @@ class FSNamesystem implements FSConstants { public static final Logger LOG = LogFormatter.getLogger("org.apache.hadoop.fs.FSNamesystem"); - - // // Stores the correct file name hierarchy // @@ -144,11 +142,7 @@ private int minReplication; // HEARTBEAT_RECHECK is how often a datanode sends its hearbeat private int heartBeatRecheck; - // Whether we should use disk-availability info when determining target - private boolean useAvailability; - private boolean allowSameHostTargets; - /** * dir is where the filesystem directory state * is stored @@ -167,9 +161,6 @@ this.maxReplicationStreams = conf.getInt("dfs.max-repl-streams", 2); this.minReplication = 1; this.heartBeatRecheck= 1000; - this.useAvailability = conf.getBoolean("dfs.availability.allocation", false); - this.allowSameHostTargets = - conf.getBoolean("test.dfs.same.host.targets.allowed", false); } /** Close down this filesystem manager. @@ -241,7 +232,7 @@ * of machines, or null if src is invalid for creation (based on * {@link FSDirectory#isValidToCreate(UTF8)}. */ - public synchronized Object[] startFile(UTF8 src, UTF8 holder, boolean overwrite) { + public synchronized Object[] startFile(UTF8 src, UTF8 holder, UTF8 clientMachine, boolean overwrite) { Object results[] = null; if (pendingCreates.get(src) == null) { boolean fileValid = dir.isValidToCreate(src); @@ -254,7 +245,7 @@ results = new Object[2]; // Get the array of replication targets - DatanodeInfo targets[] = chooseTargets(this.desiredReplication, null); + DatanodeInfo targets[] = chooseTargets(this.desiredReplication, null, clientMachine); if (targets.length < this.minReplication) { LOG.warning("Target-length is " + targets.length + ", below MIN_REPLICATION (" + this.minReplication+ ")"); @@ -300,7 +291,7 @@ * are replicated. Will return an empty 2-elt array if we want the * client to "try again later". */ - public synchronized Object[] getAdditionalBlock(UTF8 src) { + public synchronized Object[] getAdditionalBlock(UTF8 src, UTF8 clientMachine) { Object results[] = null; if (dir.getFile(src) == null && pendingCreates.get(src) != null) { results = new Object[2]; @@ -310,7 +301,7 @@ // if (checkFileProgress(src)) { // Get the array of replication targets - DatanodeInfo targets[] = chooseTargets(this.desiredReplication, null); + DatanodeInfo targets[] = chooseTargets(this.desiredReplication, null, clientMachine); if (targets.length < this.minReplication) { return null; } @@ -1171,7 +1162,7 @@ } else { TreeSet containingNodes = (TreeSet) blocksMap.get(block); if (containingNodes.contains(srcNode)) { - DatanodeInfo targets[] = chooseTargets(Math.min(this.desiredReplication - containingNodes.size(), this.maxReplicationStreams - xmitsInProgress), containingNodes); + DatanodeInfo targets[] = chooseTargets(Math.min(this.desiredReplication - containingNodes.size(), this.maxReplicationStreams - xmitsInProgress), containingNodes, null); if (targets.length > 0) { // Build items to return replicateBlocks.add(block); @@ -1228,12 +1219,12 @@ * considered targets. * @return array of DatanodeInfo instances uses as targets. */ - DatanodeInfo[] chooseTargets(int desiredReplicates, TreeSet forbiddenNodes) { + DatanodeInfo[] chooseTargets(int desiredReplicates, TreeSet forbiddenNodes, UTF8 clientMachine) { TreeSet alreadyChosen = new TreeSet(); Vector targets = new Vector(); for (int i = 0; i < desiredReplicates; i++) { - DatanodeInfo target = chooseTarget(forbiddenNodes, alreadyChosen); + DatanodeInfo target = chooseTarget(forbiddenNodes, alreadyChosen, clientMachine); if (target != null) { targets.add(target); alreadyChosen.add(target); @@ -1256,7 +1247,7 @@ * @return DatanodeInfo instance to use or null if something went wrong * (a log message is emitted if null is returned). */ - DatanodeInfo chooseTarget(TreeSet forbidden1, TreeSet forbidden2) { + DatanodeInfo chooseTarget(TreeSet forbidden1, TreeSet forbidden2, UTF8 clientMachine) { // // Check if there are any available targets at all // @@ -1266,84 +1257,87 @@ return null; } - TreeSet forbiddenMachines = new TreeSet(); // - // In addition to already-chosen datanode/port pairs, we want to avoid - // already-chosen machinenames. (There can be multiple datanodes per - // machine.) We might relax this requirement in the future, though. (Maybe - // so that at least one replicate is off the machine.) + // Build a map of forbidden hostnames from the two forbidden sets. // - UTF8 hostOrHostAndPort = null; + TreeSet forbiddenMachines = new TreeSet(); if (forbidden1 != null) { - // add name [and host] of all elements in forbidden1 to forbiddenMachines for (Iterator it = forbidden1.iterator(); it.hasNext(); ) { DatanodeInfo cur = (DatanodeInfo) it.next(); - if (allowSameHostTargets) { - hostOrHostAndPort = cur.getName(); // forbid same host:port - } else { - hostOrHostAndPort = cur.getHost(); // forbid same host - } - forbiddenMachines.add(hostOrHostAndPort); + forbiddenMachines.add(cur.getHost()); } } if (forbidden2 != null) { - // add name [and host] of all elements in forbidden2 to forbiddenMachines for (Iterator it = forbidden2.iterator(); it.hasNext(); ) { DatanodeInfo cur = (DatanodeInfo) it.next(); - if (allowSameHostTargets) { - hostOrHostAndPort = cur.getName(); // forbid same host:port - } else { - hostOrHostAndPort = cur.getHost(); // forbid same host - } - forbiddenMachines.add(hostOrHostAndPort); + forbiddenMachines.add(cur.getHost()); } } // - // Now build list of machines we can actually choose from + // Build list of machines we can actually choose from // - long totalRemaining = 0; + long latestRemaining = 0; Vector targetList = new Vector(); for (Iterator it = datanodeMap.values().iterator(); it.hasNext(); ) { DatanodeInfo node = (DatanodeInfo) it.next(); - if (allowSameHostTargets) { - hostOrHostAndPort = node.getName(); // match host:port - } else { - hostOrHostAndPort = node.getHost(); // match host - } - if (! forbiddenMachines.contains(hostOrHostAndPort)) { + if (! forbiddenMachines.contains(node.getHost())) { targetList.add(node); - totalRemaining += node.getRemaining(); + latestRemaining += node.getRemaining(); } } // // Now pick one // - if (targetList.size() == 0) { - LOG.warning("Zero targets found, forbidden1.size=" + - ( forbidden1 != null ? forbidden1.size() : 0 ) + - " allowSameHostTargets=" + allowSameHostTargets + - " forbidden2.size()=" + - ( forbidden2 != null ? forbidden2.size() : 0 )); - return null; - } else if (! this.useAvailability) { - int target = r.nextInt(targetList.size()); - return (DatanodeInfo) targetList.elementAt(target); - } else { - // Choose node according to target capacity - double target = r.nextDouble() * totalRemaining; + if (targetList.size() > 0) { + // + // If the requester's machine is in the targetList, + // and it's got the capacity, pick it. + // + if (clientMachine != null && clientMachine.getLength() > 0) { + for (Iterator it = targetList.iterator(); it.hasNext(); ) { + DatanodeInfo node = (DatanodeInfo) it.next(); + if (clientMachine.equals(node.getHost())) { + if (node.getRemaining() > BLOCK_SIZE * MIN_BLOCKS_FOR_WRITE) { + return node; + } + } + } + } + // + // Otherwise, choose node according to target capacity + // + double target = Math.abs(r.nextDouble()) * latestRemaining; for (Iterator it = targetList.iterator(); it.hasNext(); ) { DatanodeInfo node = (DatanodeInfo) it.next(); target -= node.getRemaining(); - if (target <= 0) { + if ((node.getRemaining() > BLOCK_SIZE * MIN_BLOCKS_FOR_WRITE) && + (target <= 0)) { return node; } } - LOG.warning("Impossible state. When trying to choose target node, could not find any. This may indicate that datanode capacities are being updated during datanode selection. Anyway, now returning an arbitrary target to recover..."); - return (DatanodeInfo) targetList.elementAt(r.nextInt(targetList.size())); + // + // That should do the trick. But we might not be able + // to pick any node if the target was out of bytes. As + // a last resort, pick the first valid one we can find. + // + for (Iterator it = targetList.iterator(); it.hasNext(); ) { + DatanodeInfo node = (DatanodeInfo) it.next(); + if (node.getRemaining() > BLOCK_SIZE * MIN_BLOCKS_FOR_WRITE) { + return node; + } + } + LOG.warning("Could not find any nodes with sufficient capacity"); + return null; + } else { + LOG.warning("Zero targets found, forbidden1.size=" + + ( forbidden1 != null ? forbidden1.size() : 0 ) + + " forbidden2.size()=" + + ( forbidden2 != null ? forbidden2.size() : 0 )); + return null; } } } Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/NameNode.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/NameNode.java?rev=383247&r1=383246&r2=383247&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/NameNode.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/NameNode.java Sat Mar 4 17:02:33 2006 @@ -131,8 +131,8 @@ /** */ - public LocatedBlock create(String src, String clientName, boolean overwrite) throws IOException { - Object results[] = namesystem.startFile(new UTF8(src), new UTF8(clientName), overwrite); + public LocatedBlock create(String src, String clientName, String clientMachine, boolean overwrite) throws IOException { + Object results[] = namesystem.startFile(new UTF8(src), new UTF8(clientName), new UTF8(clientMachine), overwrite); if (results == null) { throw new IOException("Cannot create file " + src + " on client " + clientName); } else { @@ -144,15 +144,15 @@ /** */ - public LocatedBlock addBlock(String src) throws IOException { + public LocatedBlock addBlock(String src, String clientMachine) throws IOException { int retries = 5; - Object results[] = namesystem.getAdditionalBlock(new UTF8(src)); + Object results[] = namesystem.getAdditionalBlock(new UTF8(src), new UTF8(clientMachine)); while (results != null && results[0] == null && retries > 0) { try { Thread.sleep(100); } catch (InterruptedException ie) { } - results = namesystem.getAdditionalBlock(new UTF8(src)); + results = namesystem.getAdditionalBlock(new UTF8(src), new UTF8(clientMachine)); retries--; } From [email protected] Sun Mar 05 04:40:42 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40977 invoked from network); 5 Mar 2006 04:40:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Mar 2006 04:40:42 -0000 Received: (qmail 22937 invoked by uid 500); 5 Mar 2006 04:41:29 -0000 Delivered-To: [email protected] Received: (qmail 22897 invoked by uid 500); 5 Mar 2006 04:41:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 22886 invoked by uid 99); 5 Mar 2006 04:41:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Mar 2006 20:41:28 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 04 Mar 2006 20:41:27 -0800 Received: (qmail 40948 invoked by uid 65534); 5 Mar 2006 04:40:20 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r383279 - /lucene/hadoop/trunk/src/test/org/apache/hadoop/mapred/MapredLoadTest.java Date: Sun, 05 Mar 2006 04:40:20 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: mc Date: Sat Mar 4 20:40:18 2006 New Revision: 383279 URL: http://svn.apache.org/viewcvs?rev=383279&view=rev Log: The MapredLoadTest now has an extra step, to exercise the case where we have multiple reduce tasks. It used to have two stages: one job that created a huge file of numbers in random order, followed by a job that would read that file and count the numbers. If the final count was correct, the test passed. Unfortunately, neither of these jobs had a reduce task that was greater than 1. So now we've got three stages. The first stage is unchanged. The second stage reads the big file, then emits the answer key split into 10 parts, one for each reduce task. then a third stage merges those parts into a final number count. As before, if that final count is correct, all is well. Modified: lucene/hadoop/trunk/src/test/org/apache/hadoop/mapred/MapredLoadTest.java Modified: lucene/hadoop/trunk/src/test/org/apache/hadoop/mapred/MapredLoadTest.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/test/org/apache/hadoop/mapred/MapredLoadTest.java?rev=383279&r1=383278&r2=383279&view=diff ============================================================================== --- lucene/hadoop/trunk/src/test/org/apache/hadoop/mapred/MapredLoadTest.java (original) +++ lucene/hadoop/trunk/src/test/org/apache/hadoop/mapred/MapredLoadTest.java Sat Mar 4 20:40:18 2006 @@ -56,6 +56,29 @@ * **********************************************************/ public class MapredLoadTest { + /** + * The RandomGen Job does the actual work of creating + * a huge file of assorted numbers. It receives instructions + * as to how many times each number should be counted. Then + * it emits those numbers in a crazy order. + * + * The map() function takes a key/val pair that describes + * a value-to-be-emitted (the key) and how many times it + * should be emitted (the value), aka "numtimes". map() then + * emits a series of intermediate key/val pairs. It emits + * 'numtimes' of these. The key is a random number and the + * value is the 'value-to-be-emitted'. + * + * The system collates and merges these pairs according to + * the random number. reduce() function takes in a key/value + * pair that consists of a crazy random number and a series + * of values that should be emitted. The random number key + * is now dropped, and reduce() emits a pair for every intermediate value. + * The emitted key is an intermediate value. The emitted value + * is just a blank string. Thus, we've created a huge file + * of numbers in random order, but where each number appears + * as many times as we were instructed. + */ static class RandomGenMapper implements Mapper { Random r = new Random(); public void configure(JobConf job) { @@ -69,10 +92,11 @@ out.collect(new IntWritable(Math.abs(r.nextInt())), new IntWritable(randomVal)); } } - public void close() { - } - + public void close() { + } } + /** + */ static class RandomGenReducer implements Reducer { public void configure(JobConf job) { } @@ -84,9 +108,26 @@ out.collect(new UTF8("" + val), new UTF8("")); } } - public void close() { - } + public void close() { + } } + + /** + * The RandomCheck Job does a lot of our work. It takes + * in a num/string keyspace, and transforms it into a + * key/count(int) keyspace. + * + * The map() function just emits a num/1 pair for every + * num/string input pair. + * + * The reduce() function sums up all the 1s that were + * emitted for a single key. It then emits the key/total + * pair. + * + * This is used to regenerate the random number "answer key". + * Each key here is a random number, and the count is the + * number of times the number was emitted. + */ static class RandomCheckMapper implements Mapper { public void configure(JobConf job) { } @@ -97,9 +138,11 @@ out.collect(new IntWritable(Integer.parseInt(str.toString().trim())), new IntWritable(1)); } - public void close() { - } + public void close() { + } } + /** + */ static class RandomCheckReducer implements Reducer { public void configure(JobConf job) { } @@ -113,8 +156,45 @@ } out.collect(new IntWritable(keyint), new IntWritable(count)); } - public void close() { - } + public void close() { + } + } + + /** + * The Merge Job is a really simple one. It takes in + * an int/int key-value set, and emits the same set. + * But it merges identical keys by adding their values. + * + * Thus, the map() function is just the identity function + * and reduce() just sums. Nothing to see here! + */ + static class MergeMapper implements Mapper { + public void configure(JobConf job) { + } + + public void map(WritableComparable key, Writable val, OutputCollector out, Reporter reporter) throws IOException { + int keyint = ((IntWritable) key).get(); + int valint = ((IntWritable) val).get(); + + out.collect(new IntWritable(keyint), new IntWritable(valint)); + } + public void close() { + } + } + static class MergeReducer implements Reducer { + public void configure(JobConf job) { + } + + public void reduce(WritableComparable key, Iterator it, OutputCollector out, Reporter reporter) throws IOException { + int keyint = ((IntWritable) key).get(); + int total = 0; + while (it.hasNext()) { + total += ((IntWritable) it.next()).get(); + } + out.collect(new IntWritable(keyint), new IntWritable(total)); + } + public void close() { + } } int range; @@ -209,7 +289,8 @@ // // Next, we read the big file in and regenerate the - // original map. + // original map. It's split into a number of parts. + // (That number is 'intermediateReduces'.) // // We have many map tasks, each of which read at least one // of the output numbers. For each number read in, the @@ -226,10 +307,17 @@ // is the number in question, and the value is the number of // times the key was emitted. This is the same format as the // original answer key (except that numbers emitted zero times - // will not appear in the regenerated key.) - // - File finalOuts = new File(testdir, "finalouts"); - fs.mkdirs(finalOuts); + // will not appear in the regenerated key.) The answer set + // is split into a number of pieces. A final MapReduce job + // will merge them. + // + // There's not really a need to go to 10 reduces here + // instead of 1. But we want to test what happens when + // you have multiple [email protected]. + // + int intermediateReduces = 10; + File intermediateOuts = new File(testdir, "intermediateouts"); + fs.mkdirs(intermediateOuts); JobConf checkJob = new JobConf(conf); checkJob.setInputDir(randomOuts); checkJob.setInputKeyClass(LongWritable.class); @@ -237,15 +325,41 @@ checkJob.setInputFormat(TextInputFormat.class); checkJob.setMapperClass(RandomCheckMapper.class); - checkJob.setOutputDir(finalOuts); + checkJob.setOutputDir(intermediateOuts); checkJob.setOutputKeyClass(IntWritable.class); checkJob.setOutputValueClass(IntWritable.class); checkJob.setOutputFormat(SequenceFileOutputFormat.class); checkJob.setReducerClass(RandomCheckReducer.class); - checkJob.setNumReduceTasks(1); + checkJob.setNumReduceTasks(intermediateReduces); JobClient.runJob(checkJob); + // + // OK, now we take the output from the last job and + // merge it down to a single file. The map() and reduce() + // functions don't really do anything except reemit tuples. + // But by having a single reduce task here, we end up merging + // all the files. + // + File finalOuts = new File(testdir, "finalouts"); + fs.mkdirs(finalOuts); + JobConf mergeJob = new JobConf(conf); + mergeJob.setInputDir(intermediateOuts); + mergeJob.setInputKeyClass(IntWritable.class); + mergeJob.setInputValueClass(IntWritable.class); + mergeJob.setInputFormat(SequenceFileInputFormat.class); + mergeJob.setMapperClass(MergeMapper.class); + + mergeJob.setOutputDir(finalOuts); + mergeJob.setOutputKeyClass(IntWritable.class); + mergeJob.setOutputValueClass(IntWritable.class); + mergeJob.setOutputFormat(SequenceFileOutputFormat.class); + mergeJob.setReducerClass(MergeReducer.class); + mergeJob.setNumReduceTasks(1); + + JobClient.runJob(mergeJob); + + // // Finally, we compare the reconstructed answer key with the // original one. Remember, we need to ignore zero-count items From [email protected] Mon Mar 06 19:02:15 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97144 invoked from network); 6 Mar 2006 19:02:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Mar 2006 19:02:14 -0000 Received: (qmail 86632 invoked by uid 500); 6 Mar 2006 19:03:00 -0000 Delivered-To: [email protected] Received: (qmail 86594 invoked by uid 500); 6 Mar 2006 19:03:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 86585 invoked by uid 99); 6 Mar 2006 19:03:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Mar 2006 11:03:00 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 06 Mar 2006 11:02:59 -0800 Received: (qmail 97018 invoked by uid 65534); 6 Mar 2006 19:01:52 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r383622 - /lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/ReduceTaskRunner.java Date: Mon, 06 Mar 2006 19:01:48 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Mon Mar 6 11:01:42 2006 New Revision: 383622 URL: http://svn.apache.org/viewcvs?rev=383622&view=rev Log: Don't always query jobtracker for all needed map outputs, instead just for a random sample. When the total number of splits was large, the jobtracker was spending most of its time servicing these requests. Also reduce the frequency of these requests. Long-term we may need a different algorithm here to ensure that reduces are more promptly and efficiently notified of map completions. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/ReduceTaskRunner.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/ReduceTaskRunner.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/ReduceTaskRunner.java?rev=383622&r1=383621&r2=383622&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/ReduceTaskRunner.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/ReduceTaskRunner.java Mon Mar 6 11:01:42 2006 @@ -55,9 +55,13 @@ while (needed.size() > 0) { getTask().reportProgress(getTracker()); - // get list of available map output locations from job tracker - String[][] neededStrings = new String[needed.size()][]; - for (int i = 0; i < needed.size(); i++) { + // query for a just a random subset of needed segments so that we don't + // overwhelm jobtracker. ideally perhaps we could send a more compact + // representation of all needed, i.e., a bit-vector + Collections.shuffle(needed); + int checkSize = Math.min(10, needed.size()); + String[][] neededStrings = new String[checkSize][]; + for (int i = 0; i < checkSize; i++) { neededStrings[i] = (String[]) needed.elementAt(i); } MapOutputLocation[] locs = @@ -68,7 +72,7 @@ if (killed) { return false; } - Thread.sleep(1000); + Thread.sleep(10000); } catch (InterruptedException e) { } continue; From [email protected] Mon Mar 06 19:03:06 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97520 invoked from network); 6 Mar 2006 19:03:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Mar 2006 19:03:05 -0000 Received: (qmail 87658 invoked by uid 500); 6 Mar 2006 19:03:52 -0000 Delivered-To: [email protected] Received: (qmail 87626 invoked by uid 500); 6 Mar 2006 19:03:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 87617 invoked by uid 99); 6 Mar 2006 19:03:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Mar 2006 11:03:51 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 06 Mar 2006 11:03:51 -0800 Received: (qmail 97431 invoked by uid 65534); 6 Mar 2006 19:02:43 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r383623 - /lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MRConstants.java Date: Mon, 06 Mar 2006 19:02:41 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Mon Mar 6 11:02:39 2006 New Revision: 383623 URL: http://svn.apache.org/viewcvs?rev=383623&view=rev Log: Increase some intervals to further reduce stress on the jobtracker. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MRConstants.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MRConstants.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MRConstants.java?rev=383623&r1=383622&r2=383623&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MRConstants.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MRConstants.java Mon Mar 6 11:02:39 2006 @@ -24,8 +24,8 @@ // // Timeouts, constants // - public static final long HEARTBEAT_INTERVAL = 3 * 1000; - public static final long TASKTRACKER_EXPIRY_INTERVAL = 60 * 1000; + public static final long HEARTBEAT_INTERVAL = 10 * 1000; + public static final long TASKTRACKER_EXPIRY_INTERVAL = 10 * 60 * 1000; // // Result codes From [email protected] Mon Mar 06 19:11:09 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1813 invoked from network); 6 Mar 2006 19:11:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Mar 2006 19:11:00 -0000 Received: (qmail 4647 invoked by uid 500); 6 Mar 2006 19:11:39 -0000 Delivered-To: [email protected] Received: (qmail 4632 invoked by uid 500); 6 Mar 2006 19:11:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4623 invoked by uid 99); 6 Mar 2006 19:11:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Mar 2006 11:11:39 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 06 Mar 2006 11:11:38 -0800 Received: (qmail 1213 invoked by uid 65534); 6 Mar 2006 19:09:58 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r383626 - /lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobTracker.java Date: Mon, 06 Mar 2006 19:09:46 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Mon Mar 6 11:09:44 2006 New Revision: 383626 URL: http://svn.apache.org/viewcvs?rev=383626&view=rev Log: Replace an NPE with an informative warning. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobTracker.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobTracker.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobTracker.java?rev=383626&r1=383625&r2=383626&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobTracker.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobTracker.java Mon Mar 6 11:09:44 2006 @@ -551,6 +551,11 @@ // Get map + reduce counts for the current tracker. // TaskTrackerStatus tts = (TaskTrackerStatus) taskTrackers.get(taskTracker); + if (tts == null) { + LOG.warning("Unknown task tracker polling; ignoring: " + taskTracker); + return null; + } + int numMaps = tts.countMapTasks(); int numReduces = tts.countReduceTasks(); From [email protected] Mon Mar 06 22:11:27 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2793 invoked from network); 6 Mar 2006 22:11:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Mar 2006 22:11:27 -0000 Received: (qmail 88152 invoked by uid 500); 6 Mar 2006 22:11:26 -0000 Delivered-To: [email protected] Received: (qmail 88119 invoked by uid 500); 6 Mar 2006 22:11:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 88109 invoked by uid 99); 6 Mar 2006 22:11:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Mar 2006 14:11:26 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 06 Mar 2006 14:11:25 -0800 Received: (qmail 2665 invoked by uid 65534); 6 Mar 2006 22:11:05 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r383690 - /lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java Date: Mon, 06 Mar 2006 22:11:05 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Mon Mar 6 14:11:03 2006 New Revision: 383690 URL: http://svn.apache.org/viewcvs?rev=383690&view=rev Log: Reduce iteration through all map & reduce tasks to improve jobtracker performance. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java?rev=383690&r1=383689&r2=383690&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java Mon Mar 6 14:11:03 2006 @@ -245,30 +245,27 @@ // Status update methods //////////////////////////////////////////////////// public void updateTaskStatus(TaskInProgress tip, TaskStatus status) { - tip.updateStatus(status); + double oldProgress = tip.getProgress(); // save old progress + tip.updateStatus(status); // update tip // // Update JobInProgress status // - if (maps.length == 0) { + double progressDelta = tip.getProgress() - oldProgress; + if (tip.isMapTask()) { + if (maps.length == 0) { this.status.setMapProgress(1.0f); + } else { + this.status.mapProgress += (progressDelta / maps.length); + } } else { - double reportedProgress = 0; - for (int i = 0; i < maps.length; i++) { - reportedProgress += maps[i].getProgress(); - } - this.status.setMapProgress((float) (reportedProgress / maps.length)); - } - if (reduces.length == 0) { + if (reduces.length == 0) { this.status.setReduceProgress(1.0f); - } else { - double reportedProgress = 0; - for (int i = 0; i < reduces.length; i++) { - reportedProgress += reduces[i].getProgress(); - } - this.status.setReduceProgress((float) (reportedProgress / reduces.length)); + } else { + this.status.reduceProgress += (progressDelta / reduces.length); + } } - } + } ///////////////////////////////////////////////////// // Create/manage tasks @@ -286,7 +283,6 @@ int cacheTarget = -1; int stdTarget = -1; int specTarget = -1; - double totalProgress = 0; // // We end up creating two tasks for the same bucket, because @@ -297,10 +293,7 @@ // // Compute avg progress through the map tasks // - for (int i = 0; i < maps.length; i++) { - totalProgress += maps[i].getProgress(); - } - double avgProgress = totalProgress / maps.length; + double avgProgress = status.mapProgress() / maps.length; // // See if there is a split over a block that is stored on @@ -373,11 +366,7 @@ Task t = null; int stdTarget = -1; int specTarget = -1; - int totalProgress = 0; - for (int i = 0; i < reduces.length; i++) { - totalProgress += reduces[i].getProgress(); - } - double avgProgress = (1.0 * totalProgress) / reduces.length; + double avgProgress = status.reduceProgress() / reduces.length; for (int i = 0; i < reduces.length; i++) { if (reduces[i].hasTask()) { From [email protected] Mon Mar 06 22:12:25 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3051 invoked from network); 6 Mar 2006 22:12:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Mar 2006 22:12:25 -0000 Received: (qmail 88439 invoked by uid 500); 6 Mar 2006 22:12:25 -0000 Delivered-To: [email protected] Received: (qmail 88406 invoked by uid 500); 6 Mar 2006 22:12:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 88397 invoked by uid 99); 6 Mar 2006 22:12:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Mar 2006 14:12:25 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 06 Mar 2006 14:12:24 -0800 Received: (qmail 2932 invoked by uid 65534); 6 Mar 2006 22:12:04 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r383691 - /lucene/hadoop/trunk/src/java/org/apache/hadoop/io/SequenceFile.java Date: Mon, 06 Mar 2006 22:12:04 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Mon Mar 6 14:12:03 2006 New Revision: 383691 URL: http://svn.apache.org/viewcvs?rev=383691&view=rev Log: Increase deflater & inflater buffer size, for better performance. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/io/SequenceFile.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/io/SequenceFile.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/io/SequenceFile.java?rev=383691&r1=383690&r2=383691&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/io/SequenceFile.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/io/SequenceFile.java Mon Mar 6 14:12:03 2006 @@ -58,7 +58,7 @@ private boolean deflateValues; private DataOutputBuffer deflateIn = new DataOutputBuffer(); - private byte[] deflateOut = new byte[1024]; + private byte[] deflateOut = new byte[8192]; private Deflater deflater = new Deflater(Deflater.BEST_SPEED); // Insert a globally unique 16-byte value every few entries, so that one @@ -219,7 +219,7 @@ private int keyLength; private boolean inflateValues; - private byte[] inflateIn = new byte[1024]; + private byte[] inflateIn = new byte[8192]; private DataOutputBuffer inflateOut = new DataOutputBuffer(); private Inflater inflater = new Inflater(); private Configuration conf; From [email protected] Tue Mar 07 20:58:17 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31363 invoked from network); 7 Mar 2006 20:58:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Mar 2006 20:58:17 -0000 Received: (qmail 18391 invoked by uid 500); 7 Mar 2006 20:58:17 -0000 Delivered-To: [email protected] Received: (qmail 18372 invoked by uid 500); 7 Mar 2006 20:58:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 17787 invoked by uid 99); 7 Mar 2006 20:57:05 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r384008 - /lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Server.java Date: Tue, 07 Mar 2006 20:56:43 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: ab Date: Tue Mar 7 12:56:41 2006 New Revision: 384008 URL: http://svn.apache.org/viewcvs?rev=384008&view=rev Log: Apply local Configuration to parameters received via RPC if they implement Configurable. Fix by Marko Bauhardt. Note: in the future there may be protocols that assume different local and remote Configuration. However, with the current RPC implementation we don't support it anyway, and for now it seems better that parameters implementing Configurable should be provided with non-null Configuration. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Server.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Server.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Server.java?rev=384008&r1=384007&r2=384008&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Server.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Server.java Tue Mar 7 12:56:41 2006 @@ -33,6 +33,7 @@ import java.util.logging.Level; import org.apache.hadoop.util.LogFormatter; +import org.apache.hadoop.conf.Configurable; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.io.Writable; import org.apache.hadoop.io.UTF8; @@ -52,6 +53,7 @@ private int handlerCount; // number of handler threads private int maxQueuedCalls; // max number of queued calls private Class paramClass; // class of call parameters + private Configuration conf; private int timeout; @@ -229,6 +231,7 @@ * the number of handler threads that will be used to process calls. */ protected Server(int port, Class paramClass, int handlerCount, Configuration conf) { + this.conf = conf; this.port = port; this.paramClass = paramClass; this.handlerCount = handlerCount; @@ -280,6 +283,9 @@ Writable param; // construct param try { param = (Writable)paramClass.newInstance(); + if (param instanceof Configurable) { + ((Configurable)param).setConf(conf); + } } catch (InstantiationException e) { throw new RuntimeException(e.toString()); } catch (IllegalAccessException e) { From [email protected] Tue Mar 07 21:22:33 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46587 invoked from network); 7 Mar 2006 21:22:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Mar 2006 21:22:32 -0000 Received: (qmail 56495 invoked by uid 500); 7 Mar 2006 21:22:32 -0000 Delivered-To: [email protected] Received: (qmail 56476 invoked by uid 500); 7 Mar 2006 21:22:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 56467 invoked by uid 99); 7 Mar 2006 21:22:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Mar 2006 13:22:32 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 07 Mar 2006 13:22:32 -0800 Received: (qmail 46196 invoked by uid 65534); 7 Mar 2006 21:22:11 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r384019 - /lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DistributedFileSystem.java Date: Tue, 07 Mar 2006 21:22:11 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Tue Mar 7 13:22:09 2006 New Revision: 384019 URL: http://svn.apache.org/viewcvs?rev=384019&view=rev Log: Fix for HADOOP-57. Permit listing of "/" in dfs. With help from Mahadev konar. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DistributedFileSystem.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DistributedFileSystem.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DistributedFileSystem.java?rev=384019&r1=384018&r2=384019&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DistributedFileSystem.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DistributedFileSystem.java Tue Mar 7 13:22:09 2006 @@ -266,6 +266,9 @@ path.append(DFSFile.DFS_FILE_SEPARATOR); path.append(l.get(i)); } + if (f.isAbsolute() && path.length() == 0) { + path.append(DFSFile.DFS_FILE_SEPARATOR); + } return path.toString(); } From [email protected] Wed Mar 08 22:13:16 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53733 invoked from network); 8 Mar 2006 22:13:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Mar 2006 22:13:16 -0000 Received: (qmail 81672 invoked by uid 500); 8 Mar 2006 22:13:16 -0000 Delivered-To: [email protected] Received: (qmail 81646 invoked by uid 500); 8 Mar 2006 22:13:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81637 invoked by uid 99); 8 Mar 2006 22:13:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Mar 2006 14:13:15 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 08 Mar 2006 14:13:15 -0800 Received: (qmail 53595 invoked by uid 65534); 8 Mar 2006 22:12:54 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r384340 - in /lucene/hadoop/trunk: bin/slaves.sh conf/hadoop-env.sh.template Date: Wed, 08 Mar 2006 22:12:53 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Wed Mar 8 14:12:52 2006 New Revision: 384340 URL: http://svn.apache.org/viewcvs?rev=384340&view=rev Log: Add ability to sleep a bit between each command that's submitted to a slave, to meter slave commands a bit. Modified: lucene/hadoop/trunk/bin/slaves.sh lucene/hadoop/trunk/conf/hadoop-env.sh.template Modified: lucene/hadoop/trunk/bin/slaves.sh URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/bin/slaves.sh?rev=384340&r1=384339&r2=384340&view=diff ============================================================================== --- lucene/hadoop/trunk/bin/slaves.sh (original) +++ lucene/hadoop/trunk/bin/slaves.sh Wed Mar 8 14:12:52 2006 @@ -6,6 +6,7 @@ # # HADOOP_SLAVES File naming remote hosts. Default is ~/.slaves # HADOOP_CONF_DIR Alternate conf dir. Default is ${HADOOP_HOME}/conf. +# HADOOP_SLAVE_SLEEP Seconds to sleep between spawning remote commands. ## usage="Usage: slaves.sh command..." @@ -54,6 +55,9 @@ for slave in `cat "$HADOOP_SLAVES"`; do ssh $HADOOP_SSH_OPTS $slave $"${@// /\\ }" \ 2>&1 | sed "s/^/$slave: /" & + if [ "$HADOOP_SLAVE_SLEEP" != "" ]; then + sleep $HADOOP_SLAVE_SLEEP + fi done wait Modified: lucene/hadoop/trunk/conf/hadoop-env.sh.template URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/conf/hadoop-env.sh.template?rev=384340&r1=384339&r2=384340&view=diff ============================================================================== --- lucene/hadoop/trunk/conf/hadoop-env.sh.template (original) +++ lucene/hadoop/trunk/conf/hadoop-env.sh.template Wed Mar 8 14:12:52 2006 @@ -26,6 +26,11 @@ # host:path where hadoop code should be rsync'd from. Unset by default. # export HADOOP_MASTER=master:/home/$USER/src/hadoop +# Seconds to sleep between slave commands. Unset by default. This +# can be useful in large clusters, where, e.g., slave rsyncs can +# otherwise arrive faster than the master can service them. +# export HADOOP_SLAVE_SLEEP=0.1 + # The directory where pid files are stored. /tmp by default. # export HADOOP_PID_DIR=/var/hadoop/pids From [email protected] Thu Mar 09 00:18:22 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20093 invoked from network); 9 Mar 2006 00:18:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Mar 2006 00:18:22 -0000 Received: (qmail 56920 invoked by uid 500); 9 Mar 2006 00:18:22 -0000 Delivered-To: [email protected] Received: (qmail 56900 invoked by uid 500); 9 Mar 2006 00:18:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 56891 invoked by uid 99); 9 Mar 2006 00:18:21 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Mar 2006 16:18:21 -0800 X-ASF-Spam-Status: No, hits=-8.6 required=10.0 tests=ALL_TRUSTED,INFO_TLD,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 08 Mar 2006 16:18:21 -0800 Received: (qmail 19540 invoked by uid 65534); 9 Mar 2006 00:18:00 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r384385 - in /lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs: DFSClient.java DataNode.java FSNamesystem.java NameNode.java Date: Thu, 09 Mar 2006 00:17:35 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Wed Mar 8 16:17:27 2006 New Revision: 384385 URL: http://svn.apache.org/viewcvs?rev=384385&view=rev Log: Fix for HADOOP-66. DFS blocks are no longer written to local temp files. If a connection to a datanode fails then an exception is now thrown, rather than trying to re-connect to another datanode. Timeouts were also removed from datanode connections, since these caused a lot of failed connections. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DataNode.java lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/NameNode.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java?rev=384385&r1=384384&r2=384385&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java Wed Mar 8 16:17:27 2006 @@ -377,7 +377,7 @@ } try { s = new Socket(targetAddr.getAddress(), targetAddr.getPort()); - s.setSoTimeout(READ_TIMEOUT); + //s.setSoTimeout(READ_TIMEOUT); // // Xmit header info to datanode @@ -528,11 +528,8 @@ private UTF8 src; boolean closingDown = false; private boolean overwrite; - private boolean blockStreamWorking; private DataOutputStream blockStream; private DataInputStream blockReplyStream; - private File backupFile; - private OutputStream backupStream; private Block block; private DatanodeInfo targets[]; private long filePos = 0; @@ -546,9 +543,7 @@ this.overwrite = overwrite; this.blockStream = null; this.blockReplyStream = null; - this.blockStreamWorking = false; - this.backupFile = File.createTempFile("dfsout", "bak"); - this.backupStream = new BufferedOutputStream(new FileOutputStream(backupFile)); + nextBlockOutputStream(true); } @@ -558,12 +553,6 @@ * Must get block ID and the IDs of the destinations from the namenode. */ private synchronized void nextBlockOutputStream(boolean firstTime) throws IOException { - if (! firstTime && blockStreamWorking) { - blockStream.close(); - blockReplyStream.close(); - blockStreamWorking = false; - } - boolean retry = false; long start = System.currentTimeMillis(); do { @@ -602,7 +591,7 @@ Socket s = null; try { s = new Socket(target.getAddress(), target.getPort()); - s.setSoTimeout(READ_TIMEOUT); + //s.setSoTimeout(READ_TIMEOUT); } catch (IOException ie) { // Connection failed. Let's wait a little bit and retry try { @@ -636,7 +625,6 @@ bytesWrittenToBlock = 0; blockStream = out; blockReplyStream = new DataInputStream(new BufferedInputStream(s.getInputStream())); - blockStreamWorking = true; } while (retry); } @@ -717,27 +705,21 @@ // // To the blockStream, write length, then bytes // - if (blockStreamWorking) { - try { - blockStream.writeLong(workingPos); - blockStream.write(outBuf, 0, workingPos); - } catch (IOException ie) { - try { - blockStream.close(); - } catch (IOException ie2) { - } - try { - blockReplyStream.close(); - } catch (IOException ie2) { - } - namenode.abandonBlock(block, src.toString()); - blockStreamWorking = false; - } + try { + blockStream.writeLong(workingPos); + blockStream.write(outBuf, 0, workingPos); + } catch (IOException ie) { + try { + blockStream.close(); + } catch (IOException ie2) { + } + try { + blockReplyStream.close(); + } catch (IOException ie2) { + } + namenode.abandonBlock(block, src.toString()); + throw ie; } - // - // To the local block backup, write just the bytes - // - backupStream.write(outBuf, 0, workingPos); // // Track position @@ -752,79 +734,20 @@ * We're done writing to the current block. */ private synchronized void endBlock() throws IOException { - boolean mustRecover = ! blockStreamWorking; - - // - // A zero-length set of data indicates the end of the block - // - if (blockStreamWorking) { - try { - internalClose(); - } catch (IOException ie) { - try { - blockStream.close(); - } catch (IOException ie2) { - } - try { - blockReplyStream.close(); - } catch (IOException ie2) { - } - namenode.abandonBlock(block, src.toString()); - mustRecover = true; - } finally { - blockStreamWorking = false; - } - } - - // - // Done with local copy - // - backupStream.close(); - - // - // If necessary, recover from a failed datanode connection. - // - while (mustRecover) { - nextBlockOutputStream(false); - InputStream in = new FileInputStream(backupFile); - try { - byte buf[] = new byte[BUFFER_SIZE]; - int bytesRead = in.read(buf); - while (bytesRead >= 0) { - blockStream.writeLong((long) bytesRead); - blockStream.write(buf, 0, bytesRead); - bytesRead = in.read(buf); - } - internalClose(); - LOG.info("Recovered from failed datanode connection"); - mustRecover = false; - } catch (IOException ie) { - try { - blockStream.close(); - } catch (IOException ie2) { - } - try { - blockReplyStream.close(); - } catch (IOException ie2) { - } - namenode.abandonBlock(block, src.toString()); - blockStreamWorking = false; - } + try { + internalClose(); + } catch (IOException ie) { + namenode.abandonBlock(block, src.toString()); + throw ie; } - - // - // Delete local backup, start new one - // - backupFile.delete(); - backupFile = File.createTempFile("dfsout", "bak"); - backupStream = new BufferedOutputStream(new FileOutputStream(backupFile)); } /** - * Close down stream to remote datanode. Called from two places - * in endBlock(); + * Close down stream to remote datanode. */ private synchronized void internalClose() throws IOException { + try { + // A zero-length set of data indicates the end of the block blockStream.writeLong(0); blockStream.flush(); @@ -838,8 +761,16 @@ lb.readFields(blockReplyStream); namenode.reportWrittenBlock(lb); - blockStream.close(); - blockReplyStream.close(); + } finally { + try { + blockStream.close(); + } catch (IOException ie2) { + } + try { + blockReplyStream.close(); + } catch (IOException ie2) { + } + } } /** @@ -855,14 +786,9 @@ flush(); endBlock(); - backupStream.close(); - backupFile.delete(); + blockStream.close(); + blockReplyStream.close(); - if (blockStreamWorking) { - blockStream.close(); - blockReplyStream.close(); - blockStreamWorking = false; - } super.close(); long localstart = System.currentTimeMillis(); Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DataNode.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DataNode.java?rev=384385&r1=384384&r2=384385&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DataNode.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DataNode.java Wed Mar 8 16:17:27 2006 @@ -286,7 +286,7 @@ try { while (shouldListen) { Socket s = ss.accept(); - s.setSoTimeout(READ_TIMEOUT); + //s.setSoTimeout(READ_TIMEOUT); new Daemon(new DataXceiver(s)).start(); } ss.close(); @@ -368,10 +368,10 @@ // Connect to backup machine mirrorTarget = createSocketAddr(targets[1].getName().toString()); try { - Socket s = new Socket(mirrorTarget.getAddress(), mirrorTarget.getPort()); - s.setSoTimeout(READ_TIMEOUT); - out2 = new DataOutputStream(new BufferedOutputStream(s.getOutputStream())); - in2 = new DataInputStream(new BufferedInputStream(s.getInputStream())); + Socket s2 = new Socket(mirrorTarget.getAddress(), mirrorTarget.getPort()); + //s2.setSoTimeout(READ_TIMEOUT); + out2 = new DataOutputStream(new BufferedOutputStream(s2.getOutputStream())); + in2 = new DataInputStream(new BufferedInputStream(s2.getInputStream())); // Write connection header out2.write(OP_WRITE_BLOCK); @@ -507,6 +507,7 @@ mirrors.add(curTarget); LocatedBlock newLB = new LocatedBlock(b, (DatanodeInfo[]) mirrors.toArray(new DatanodeInfo[mirrors.size()])); newLB.write(reply); + reply.flush(); } finally { reply.close(); } Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java?rev=384385&r1=384384&r2=384385&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java Wed Mar 8 16:17:27 2006 @@ -1277,15 +1277,14 @@ // // Build list of machines we can actually choose from // - long latestRemaining = 0; Vector targetList = new Vector(); for (Iterator it = datanodeMap.values().iterator(); it.hasNext(); ) { DatanodeInfo node = (DatanodeInfo) it.next(); if (! forbiddenMachines.contains(node.getHost())) { targetList.add(node); - latestRemaining += node.getRemaining(); } } + Collections.shuffle(targetList); // // Now pick one @@ -1309,12 +1308,9 @@ // // Otherwise, choose node according to target capacity // - double target = Math.abs(r.nextDouble()) * latestRemaining; for (Iterator it = targetList.iterator(); it.hasNext(); ) { DatanodeInfo node = (DatanodeInfo) it.next(); - target -= node.getRemaining(); - if ((node.getRemaining() > BLOCK_SIZE * MIN_BLOCKS_FOR_WRITE) && - (target <= 0)) { + if ((node.getRemaining() > BLOCK_SIZE * MIN_BLOCKS_FOR_WRITE)) { return node; } } Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/NameNode.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/NameNode.java?rev=384385&r1=384384&r2=384385&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/NameNode.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/NameNode.java Wed Mar 8 16:17:27 2006 @@ -184,9 +184,7 @@ * The client needs to give up on the block. */ public void abandonBlock(Block b, String src) throws IOException { - if (! namesystem.abandonBlock(b, new UTF8(src))) { - throw new IOException("Cannot abandon block during write to " + src); - } + namesystem.abandonBlock(b, new UTF8(src)); } /** */ From [email protected] Fri Mar 10 01:02:56 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2986 invoked from network); 10 Mar 2006 01:02:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Mar 2006 01:02:55 -0000 Received: (qmail 5592 invoked by uid 500); 10 Mar 2006 01:02:55 -0000 Delivered-To: [email protected] Received: (qmail 5571 invoked by uid 500); 10 Mar 2006 01:02:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 5562 invoked by uid 99); 10 Mar 2006 01:02:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Mar 2006 17:02:54 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 09 Mar 2006 17:02:53 -0800 Received: (qmail 2751 invoked by uid 65534); 10 Mar 2006 01:02:33 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r384662 - in /lucene/hadoop/trunk/site: about.html about.pdf credits.html index.html issue_tracking.html linkmap.html mailing_lists.html version_control.html Date: Fri, 10 Mar 2006 01:02:20 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Thu Mar 9 17:02:17 2006 New Revision: 384662 URL: http://svn.apache.org/viewcvs?rev=384662&view=rev Log: Fixed wiki URL. Modified: lucene/hadoop/trunk/site/about.html lucene/hadoop/trunk/site/about.pdf lucene/hadoop/trunk/site/credits.html lucene/hadoop/trunk/site/index.html lucene/hadoop/trunk/site/issue_tracking.html lucene/hadoop/trunk/site/linkmap.html lucene/hadoop/trunk/site/mailing_lists.html lucene/hadoop/trunk/site/version_control.html Modified: lucene/hadoop/trunk/site/about.html URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/site/about.html?rev=384662&r1=384661&r2=384662&view=diff ============================================================================== --- lucene/hadoop/trunk/site/about.html (original) +++ lucene/hadoop/trunk/site/about.html Thu Mar 9 17:02:17 2006 @@ -37,7 +37,7 @@ <a class="base-selected" href="index.html">Main</a> </li> <li> -<a class="base-not-selected" href="http://wiki.apache.org/hadoop">Wiki</a> +<a class="base-not-selected" href="http://wiki.apache.org/lucene-hadoop">Wiki</a> </li> </ul> </div> @@ -69,7 +69,7 @@ <div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle">Documentation</div> <div id="menu_1.2" class="menuitemgroup"> <div class="menuitem"> -<a href="http://wiki.apache.org/hadoop/">Wiki</a> +<a href="http://wiki.apache.org/lucene-hadoop/">Wiki</a> </div> <div class="menuitem"> <a href="docs/api/">API Docs</a> @@ -127,7 +127,7 @@ formerly a part of <a href="http://lucene.apache.org/nutch/">Nutch</a>. This includes the Hadoop Distributed Filesystem (HDFS) and an implementation of MapReduce.</p> -<p>For more information about Hadoop, please see the <a href="http://wiki.apache.org/hadoop/">Hadoop wiki.</a> +<p>For more information about Hadoop, please see the <a href="http://wiki.apache.org/lucene-hadoop/">Hadoop wiki.</a> </p> </div> Modified: lucene/hadoop/trunk/site/about.pdf URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/site/about.pdf?rev=384662&r1=384661&r2=384662&view=diff ============================================================================== --- lucene/hadoop/trunk/site/about.pdf (original) +++ lucene/hadoop/trunk/site/about.pdf Thu Mar 9 17:02:17 2006 @@ -86,7 +86,7 @@ /Rect [ 339.624 582.066 404.952 570.066 ] /C [ 0 0 0 ] /Border [ 0 0 0 ] -/A << /URI (http://wiki.apache.org/hadoop/) +/A << /URI (http://wiki.apache.org/lucene-hadoop/) /S /URI >> /H /I >> @@ -163,28 +163,28 @@ xref 0 23 0000000000 65535 f -0000003101 00000 n -0000003166 00000 n -0000003258 00000 n +0000003108 00000 n +0000003173 00000 n +0000003265 00000 n 0000000015 00000 n 0000000071 00000 n 0000000520 00000 n 0000000640 00000 n 0000000665 00000 n -0000003381 00000 n +0000003388 00000 n 0000000800 00000 n 0000001704 00000 n 0000001827 00000 n 0000001868 00000 n 0000002052 00000 n 0000002236 00000 n -0000003444 00000 n -0000002420 00000 n -0000002545 00000 n -0000002658 00000 n -0000002768 00000 n -0000002876 00000 n -0000002992 00000 n +0000003451 00000 n +0000002427 00000 n +0000002552 00000 n +0000002665 00000 n +0000002775 00000 n +0000002883 00000 n +0000002999 00000 n trailer << /Size 23 @@ -192,5 +192,5 @@ /Info 4 0 R >> startxref -3495 +3502 %%EOF Modified: lucene/hadoop/trunk/site/credits.html URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/site/credits.html?rev=384662&r1=384661&r2=384662&view=diff ============================================================================== --- lucene/hadoop/trunk/site/credits.html (original) +++ lucene/hadoop/trunk/site/credits.html Thu Mar 9 17:02:17 2006 @@ -37,7 +37,7 @@ <a class="base-selected" href="index.html">Main</a> </li> <li> -<a class="base-not-selected" href="http://wiki.apache.org/hadoop">Wiki</a> +<a class="base-not-selected" href="http://wiki.apache.org/lucene-hadoop">Wiki</a> </li> </ul> </div> @@ -69,7 +69,7 @@ <div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle">Documentation</div> <div id="menu_1.2" class="menuitemgroup"> <div class="menuitem"> -<a href="http://wiki.apache.org/hadoop/">Wiki</a> +<a href="http://wiki.apache.org/lucene-hadoop/">Wiki</a> </div> <div class="menuitem"> <a href="docs/api/">API Docs</a> Modified: lucene/hadoop/trunk/site/index.html URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/site/index.html?rev=384662&r1=384661&r2=384662&view=diff ============================================================================== --- lucene/hadoop/trunk/site/index.html (original) +++ lucene/hadoop/trunk/site/index.html Thu Mar 9 17:02:17 2006 @@ -37,7 +37,7 @@ <a class="base-selected" href="index.html">Main</a> </li> <li> -<a class="base-not-selected" href="http://wiki.apache.org/hadoop">Wiki</a> +<a class="base-not-selected" href="http://wiki.apache.org/lucene-hadoop">Wiki</a> </li> </ul> </div> @@ -69,7 +69,7 @@ <div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle">Documentation</div> <div id="menu_1.2" class="menuitemgroup"> <div class="menuitem"> -<a href="http://wiki.apache.org/hadoop/">Wiki</a> +<a href="http://wiki.apache.org/lucene-hadoop/">Wiki</a> </div> <div class="menuitem"> <a href="docs/api/">API Docs</a> Modified: lucene/hadoop/trunk/site/issue_tracking.html URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/site/issue_tracking.html?rev=384662&r1=384661&r2=384662&view=diff ============================================================================== --- lucene/hadoop/trunk/site/issue_tracking.html (original) +++ lucene/hadoop/trunk/site/issue_tracking.html Thu Mar 9 17:02:17 2006 @@ -37,7 +37,7 @@ <a class="base-selected" href="index.html">Main</a> </li> <li> -<a class="base-not-selected" href="http://wiki.apache.org/hadoop">Wiki</a> +<a class="base-not-selected" href="http://wiki.apache.org/lucene-hadoop">Wiki</a> </li> </ul> </div> @@ -69,7 +69,7 @@ <div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle">Documentation</div> <div id="menu_1.2" class="menuitemgroup"> <div class="menuitem"> -<a href="http://wiki.apache.org/hadoop/">Wiki</a> +<a href="http://wiki.apache.org/lucene-hadoop/">Wiki</a> </div> <div class="menuitem"> <a href="docs/api/">API Docs</a> Modified: lucene/hadoop/trunk/site/linkmap.html URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/site/linkmap.html?rev=384662&r1=384661&r2=384662&view=diff ============================================================================== --- lucene/hadoop/trunk/site/linkmap.html (original) +++ lucene/hadoop/trunk/site/linkmap.html Thu Mar 9 17:02:17 2006 @@ -37,7 +37,7 @@ <a class="base-selected" href="index.html">Main</a> </li> <li> -<a class="base-not-selected" href="http://wiki.apache.org/hadoop">Wiki</a> +<a class="base-not-selected" href="http://wiki.apache.org/lucene-hadoop">Wiki</a> </li> </ul> </div> @@ -69,7 +69,7 @@ <div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle">Documentation</div> <div id="menu_1.2" class="menuitemgroup"> <div class="menuitem"> -<a href="http://wiki.apache.org/hadoop/">Wiki</a> +<a href="http://wiki.apache.org/lucene-hadoop/">Wiki</a> </div> <div class="menuitem"> <a href="docs/api/">API Docs</a> @@ -163,7 +163,7 @@ <ul> <li> -<a href="http://wiki.apache.org/hadoop/">Wiki</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>wiki</em> +<a href="http://wiki.apache.org/lucene-hadoop/">Wiki</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>wiki</em> </li> </ul> Modified: lucene/hadoop/trunk/site/mailing_lists.html URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/site/mailing_lists.html?rev=384662&r1=384661&r2=384662&view=diff ============================================================================== --- lucene/hadoop/trunk/site/mailing_lists.html (original) +++ lucene/hadoop/trunk/site/mailing_lists.html Thu Mar 9 17:02:17 2006 @@ -37,7 +37,7 @@ <a class="base-selected" href="index.html">Main</a> </li> <li> -<a class="base-not-selected" href="http://wiki.apache.org/hadoop">Wiki</a> +<a class="base-not-selected" href="http://wiki.apache.org/lucene-hadoop">Wiki</a> </li> </ul> </div> @@ -69,7 +69,7 @@ <div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle">Documentation</div> <div id="menu_1.2" class="menuitemgroup"> <div class="menuitem"> -<a href="http://wiki.apache.org/hadoop/">Wiki</a> +<a href="http://wiki.apache.org/lucene-hadoop/">Wiki</a> </div> <div class="menuitem"> <a href="docs/api/">API Docs</a> Modified: lucene/hadoop/trunk/site/version_control.html URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/site/version_control.html?rev=384662&r1=384661&r2=384662&view=diff ============================================================================== --- lucene/hadoop/trunk/site/version_control.html (original) +++ lucene/hadoop/trunk/site/version_control.html Thu Mar 9 17:02:17 2006 @@ -37,7 +37,7 @@ <a class="base-selected" href="index.html">Main</a> </li> <li> -<a class="base-not-selected" href="http://wiki.apache.org/hadoop">Wiki</a> +<a class="base-not-selected" href="http://wiki.apache.org/lucene-hadoop">Wiki</a> </li> </ul> </div> @@ -69,7 +69,7 @@ <div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle">Documentation</div> <div id="menu_1.2" class="menuitemgroup"> <div class="menuitem"> -<a href="http://wiki.apache.org/hadoop/">Wiki</a> +<a href="http://wiki.apache.org/lucene-hadoop/">Wiki</a> </div> <div class="menuitem"> <a href="docs/api/">API Docs</a> From [email protected] Fri Mar 10 01:02:58 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3009 invoked from network); 10 Mar 2006 01:02:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Mar 2006 01:02:57 -0000 Received: (qmail 5644 invoked by uid 500); 10 Mar 2006 01:02:56 -0000 Delivered-To: [email protected] Received: (qmail 5626 invoked by uid 500); 10 Mar 2006 01:02:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 5617 invoked by uid 99); 10 Mar 2006 01:02:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Mar 2006 17:02:56 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 09 Mar 2006 17:02:55 -0800 Received: (qmail 2774 invoked by uid 65534); 10 Mar 2006 01:02:35 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r384663 - in /lucene/hadoop/trunk/src/site/src/documentation/content/xdocs: site.xml tabs.xml Date: Fri, 10 Mar 2006 01:02:32 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Thu Mar 9 17:02:26 2006 New Revision: 384663 URL: http://svn.apache.org/viewcvs?rev=384663&view=rev Log: Fixed wiki URL. Modified: lucene/hadoop/trunk/src/site/src/documentation/content/xdocs/site.xml lucene/hadoop/trunk/src/site/src/documentation/content/xdocs/tabs.xml Modified: lucene/hadoop/trunk/src/site/src/documentation/content/xdocs/site.xml URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/site/src/documentation/content/xdocs/site.xml?rev=384663&r1=384662&r2=384663&view=diff ============================================================================== --- lucene/hadoop/trunk/src/site/src/documentation/content/xdocs/site.xml (original) +++ lucene/hadoop/trunk/src/site/src/documentation/content/xdocs/site.xml Thu Mar 9 17:02:26 2006 @@ -42,7 +42,7 @@ <external-refs> <lucene href="http://lucene.apache.org/java/" /> <nutch href="http://lucene.apache.org/nutch/" /> - <wiki href="http://wiki.apache.org/hadoop/" /> + <wiki href="http://wiki.apache.org/lucene-hadoop/" /> <nightly href="http://cvs.apache.org/dist/lucene/hadoop/nightly/" /> </external-refs> Modified: lucene/hadoop/trunk/src/site/src/documentation/content/xdocs/tabs.xml URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/site/src/documentation/content/xdocs/tabs.xml?rev=384663&r1=384662&r2=384663&view=diff ============================================================================== --- lucene/hadoop/trunk/src/site/src/documentation/content/xdocs/tabs.xml (original) +++ lucene/hadoop/trunk/src/site/src/documentation/content/xdocs/tabs.xml Thu Mar 9 17:02:26 2006 @@ -15,6 +15,6 @@ --> <tab label="Main" dir=""/> - <tab label="Wiki" href="http://wiki.apache.org/hadoop"/> + <tab label="Wiki" href="http://wiki.apache.org/lucene-hadoop"/> </tabs> From [email protected] Fri Mar 10 01:19:27 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9188 invoked from network); 10 Mar 2006 01:19:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Mar 2006 01:19:27 -0000 Received: (qmail 19127 invoked by uid 500); 10 Mar 2006 01:19:26 -0000 Delivered-To: [email protected] Received: (qmail 19106 invoked by uid 500); 10 Mar 2006 01:19:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 19097 invoked by uid 99); 10 Mar 2006 01:19:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Mar 2006 17:19:26 -0800 X-ASF-Spam-Status: No, hits=-8.6 required=10.0 tests=ALL_TRUSTED,INFO_TLD,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 09 Mar 2006 17:19:25 -0800 Received: (qmail 9080 invoked by uid 65534); 10 Mar 2006 01:19:04 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r384665 - in /lucene/hadoop/trunk/src/java/org/apache/hadoop: conf/Configuration.java dfs/DFSClient.java dfs/DataNode.java dfs/FSNamesystem.java dfs/NameNode.java mapred/JobConf.java mapred/MapOutputFile.java Date: Fri, 10 Mar 2006 01:19:01 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Thu Mar 9 17:18:58 2006 New Revision: 384665 URL: http://svn.apache.org/viewcvs?rev=384665&view=rev Log: Reverted changes from 384385, which removed local backup copy of block & removed most timeouts. That worked well when all hosts are healthy, but when a few are very slow it caused too many tasks to timeout and loads to balloon on slow hosts. So the local backup is back, but no longer in /tmp, rather in dfs.data.dir, and timeouts are back. I also added connect timeouts, so that dfs connects also don't get hung up by slow hosts. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/conf/Configuration.java lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DataNode.java lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/NameNode.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobConf.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapOutputFile.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/conf/Configuration.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/conf/Configuration.java?rev=384665&r1=384664&r2=384665&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/conf/Configuration.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/conf/Configuration.java Thu Mar 9 17:18:58 2006 @@ -263,6 +263,26 @@ set(propertyName, theClass.getName()); } + /** Returns a file name under a directory named in <i>dirsProp</i> with the + * given <i>path</i>. If <i>dirsProp</i> contains multiple directories, then + * one is chosen based on <i>path</i>'s hash code. If the selected directory + * does not exist, an attempt is made to create it. + */ + public File getFile(String dirsProp, String path) throws IOException { + String[] dirs = getStrings(dirsProp); + int hashCode = path.hashCode(); + for (int i = 0; i < dirs.length; i++) { // try each local dir + int index = (hashCode+i & Integer.MAX_VALUE) % dirs.length; + File file = new File(dirs[index], path); + File dir = file.getParentFile(); + if (dir.exists() || dir.mkdirs()) { + return file; + } + } + throw new IOException("No valid local directories in property: "+dirsProp); + } + + /** Returns the URL for the named resource. */ public URL getResource(String name) { return classLoader.getResource(name); Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java?rev=384665&r1=384664&r2=384665&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java Thu Mar 9 17:18:58 2006 @@ -47,12 +47,13 @@ Random r = new Random(); String clientName; Daemon leaseChecker; - + private Configuration conf; /** * Create a new DFSClient connected to the given namenode server. */ public DFSClient(InetSocketAddress nameNodeAddr, Configuration conf) { + this.conf = conf; this.namenode = (ClientProtocol) RPC.getProxy(ClientProtocol.class, nameNodeAddr, conf); try { this.localName = InetAddress.getLocalHost().getHostName(); @@ -255,6 +256,7 @@ * negotiation of the namenode and various datanodes as necessary. ****************************************************************/ class DFSInputStream extends FSInputStream { + private Socket s = null; boolean closed = false; private String src; @@ -316,9 +318,9 @@ throw new IOException("Attempted to read past end of file"); } - if (blockStream != null) { - blockStream.close(); - partnerStream.close(); + if (s != null) { + s.close(); + s = null; } // @@ -348,7 +350,6 @@ // int failures = 0; InetSocketAddress targetAddr = null; - Socket s = null; TreeSet deadNodes = new TreeSet(); while (s == null) { DatanodeInfo chosenNode; @@ -376,8 +377,9 @@ continue; } try { - s = new Socket(targetAddr.getAddress(), targetAddr.getPort()); - //s.setSoTimeout(READ_TIMEOUT); + s = new Socket(); + s.connect(targetAddr, READ_TIMEOUT); + s.setSoTimeout(READ_TIMEOUT); // // Xmit header info to datanode @@ -428,10 +430,10 @@ throw new IOException("Stream closed"); } - if (blockStream != null) { + if (s != null) { blockStream.close(); - blockStream = null; - partnerStream.close(); + s.close(); + s = null; } super.close(); closed = true; @@ -520,6 +522,7 @@ * DFSOutputStream creates files from a stream of bytes. ****************************************************************/ class DFSOutputStream extends FSOutputStream { + private Socket s; boolean closed = false; private byte outBuf[] = new byte[BUFFER_SIZE]; @@ -528,8 +531,11 @@ private UTF8 src; boolean closingDown = false; private boolean overwrite; + private boolean blockStreamWorking; private DataOutputStream blockStream; private DataInputStream blockReplyStream; + private File backupFile; + private OutputStream backupStream; private Block block; private DatanodeInfo targets[]; private long filePos = 0; @@ -543,16 +549,31 @@ this.overwrite = overwrite; this.blockStream = null; this.blockReplyStream = null; + this.blockStreamWorking = false; + this.backupFile = newBackupFile(); + this.backupStream = new BufferedOutputStream(new FileOutputStream(backupFile)); nextBlockOutputStream(true); } + private File newBackupFile() throws IOException { + return conf.getFile("dfs.data.dir", + "tmp"+File.separator+ + "client-"+Math.abs(r.nextLong())); + } + /** * Open a DataOutputStream to a DataNode so that it can be written to. * This happens when a file is created and each time a new block is allocated. * Must get block ID and the IDs of the destinations from the namenode. */ private synchronized void nextBlockOutputStream(boolean firstTime) throws IOException { + if (! firstTime && blockStreamWorking) { + blockStream.flush(); + s.close(); + blockStreamWorking = false; + } + boolean retry = false; long start = System.currentTimeMillis(); do { @@ -588,10 +609,10 @@ // Connect to first DataNode in the list. Abort if this fails. // InetSocketAddress target = DataNode.createSocketAddr(nodes[0].getName().toString()); - Socket s = null; try { - s = new Socket(target.getAddress(), target.getPort()); - //s.setSoTimeout(READ_TIMEOUT); + s = new Socket(); + s.connect(target, READ_TIMEOUT); + s.setSoTimeout(READ_TIMEOUT); } catch (IOException ie) { // Connection failed. Let's wait a little bit and retry try { @@ -625,6 +646,7 @@ bytesWrittenToBlock = 0; blockStream = out; blockReplyStream = new DataInputStream(new BufferedInputStream(s.getInputStream())); + blockStreamWorking = true; } while (retry); } @@ -705,21 +727,18 @@ // // To the blockStream, write length, then bytes // - try { - blockStream.writeLong(workingPos); - blockStream.write(outBuf, 0, workingPos); - } catch (IOException ie) { - try { - blockStream.close(); - } catch (IOException ie2) { - } - try { - blockReplyStream.close(); - } catch (IOException ie2) { - } - namenode.abandonBlock(block, src.toString()); - throw ie; + if (blockStreamWorking) { + try { + blockStream.writeLong(workingPos); + blockStream.write(outBuf, 0, workingPos); + } catch (IOException ie) { + handleSocketException(ie); + } } + // + // To the local block backup, write just the bytes + // + backupStream.write(outBuf, 0, workingPos); // // Track position @@ -734,20 +753,64 @@ * We're done writing to the current block. */ private synchronized void endBlock() throws IOException { - try { - internalClose(); - } catch (IOException ie) { - namenode.abandonBlock(block, src.toString()); - throw ie; + boolean mustRecover = ! blockStreamWorking; + + // + // A zero-length set of data indicates the end of the block + // + if (blockStreamWorking) { + try { + internalClose(); + } catch (IOException ie) { + handleSocketException(ie); + mustRecover = true; + } finally { + blockStreamWorking = false; + } } + + // + // Done with local copy + // + backupStream.close(); + + // + // If necessary, recover from a failed datanode connection. + // + while (mustRecover) { + nextBlockOutputStream(false); + InputStream in = new FileInputStream(backupFile); + try { + byte buf[] = new byte[BUFFER_SIZE]; + int bytesRead = in.read(buf); + while (bytesRead >= 0) { + blockStream.writeLong((long) bytesRead); + blockStream.write(buf, 0, bytesRead); + bytesRead = in.read(buf); + } + internalClose(); + LOG.info("Recovered from failed datanode connection"); + mustRecover = false; + } catch (IOException ie) { + handleSocketException(ie); + } finally { + in.close(); + } + } + + // + // Delete local backup, start new one + // + backupFile.delete(); + backupFile = newBackupFile(); + backupStream = new BufferedOutputStream(new FileOutputStream(backupFile)); } /** - * Close down stream to remote datanode. + * Close down stream to remote datanode. Called from two places + * in endBlock(); */ private synchronized void internalClose() throws IOException { - try { - // A zero-length set of data indicates the end of the block blockStream.writeLong(0); blockStream.flush(); @@ -761,16 +824,18 @@ lb.readFields(blockReplyStream); namenode.reportWrittenBlock(lb); - } finally { - try { - blockStream.close(); - } catch (IOException ie2) { - } - try { - blockReplyStream.close(); - } catch (IOException ie2) { - } + s.close(); + } + + private void handleSocketException(IOException ie) throws IOException { + LOG.log(Level.WARNING, "Error while writing.", ie); + try { + s.close(); + } catch (IOException ie2) { + LOG.log(Level.WARNING, "Error closing socket.", ie2); } + blockStreamWorking = false; + namenode.abandonBlock(block, src.toString()); } /** @@ -786,9 +851,13 @@ flush(); endBlock(); - blockStream.close(); - blockReplyStream.close(); + backupStream.close(); + backupFile.delete(); + if (blockStreamWorking) { + s.close(); + blockStreamWorking = false; + } super.close(); long localstart = System.currentTimeMillis(); Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DataNode.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DataNode.java?rev=384665&r1=384664&r2=384665&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DataNode.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DataNode.java Thu Mar 9 17:18:58 2006 @@ -368,8 +368,9 @@ // Connect to backup machine mirrorTarget = createSocketAddr(targets[1].getName().toString()); try { - Socket s2 = new Socket(mirrorTarget.getAddress(), mirrorTarget.getPort()); - //s2.setSoTimeout(READ_TIMEOUT); + Socket s2 = new Socket(); + s2.connect(mirrorTarget, READ_TIMEOUT); + s2.setSoTimeout(READ_TIMEOUT); out2 = new DataOutputStream(new BufferedOutputStream(s2.getOutputStream())); in2 = new DataInputStream(new BufferedInputStream(s2.getInputStream())); @@ -507,7 +508,6 @@ mirrors.add(curTarget); LocatedBlock newLB = new LocatedBlock(b, (DatanodeInfo[]) mirrors.toArray(new DatanodeInfo[mirrors.size()])); newLB.write(reply); - reply.flush(); } finally { reply.close(); } @@ -638,7 +638,9 @@ public void run() { xmitsInProgress++; try { - Socket s = new Socket(curTarget.getAddress(), curTarget.getPort()); + Socket s = new Socket(); + s.connect(curTarget, READ_TIMEOUT); + s.setSoTimeout(READ_TIMEOUT); DataOutputStream out = new DataOutputStream(new BufferedOutputStream(s.getOutputStream())); try { long filelen = data.getLength(b); @@ -673,6 +675,7 @@ } LOG.info("Transmitted block " + b + " to " + curTarget); } catch (IOException ie) { + LOG.log(Level.WARNING, "Failed to transfer "+b+" to "+curTarget, ie); } finally { xmitsInProgress--; } Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java?rev=384665&r1=384664&r2=384665&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java Thu Mar 9 17:18:58 2006 @@ -783,7 +783,7 @@ * 1) Record the heartbeat, so the datanode isn't timed out * 2) Adjust usage stats for future block allocation */ - public void gotHeartbeat(UTF8 name, long capacity, long remaining) { + public synchronized void gotHeartbeat(UTF8 name, long capacity, long remaining) { synchronized (heartbeats) { synchronized (datanodeMap) { long capacityDiff = 0; @@ -1285,7 +1285,7 @@ } } Collections.shuffle(targetList); - + // // Now pick one // Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/NameNode.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/NameNode.java?rev=384665&r1=384664&r2=384665&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/NameNode.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/NameNode.java Thu Mar 9 17:18:58 2006 @@ -184,7 +184,9 @@ * The client needs to give up on the block. */ public void abandonBlock(Block b, String src) throws IOException { - namesystem.abandonBlock(b, new UTF8(src)); + if (! namesystem.abandonBlock(b, new UTF8(src))) { + throw new IOException("Cannot abandon block during write to " + src); + } } /** */ Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobConf.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobConf.java?rev=384665&r1=384664&r2=384665&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobConf.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobConf.java Thu Mar 9 17:18:58 2006 @@ -124,35 +124,7 @@ /** Constructs a local file name. Files are distributed among configured * local directories.*/ public File getLocalFile(String subdir, String name) throws IOException { - String param[] = new String[1]; - param[0] = name; - return getLocalFile(subdir, param, "", false); - } - // REMIND - mjc - rename this! getLocalFile() is not quite the same. - public File getLocalFile(String subdir, String names[], String ending) throws IOException { - return getLocalFile(subdir, names, ending, true); - } - File getLocalFile(String subdir, String names[], String ending, boolean existingFileTest) throws IOException { - String[] localDirs = getLocalDirs(); - for (int k = 0; k < names.length; k++) { - String path = subdir + File.separator + names[k] + ending; - int hashCode = path.hashCode(); - for (int i = 0; i < localDirs.length; i++) { // try each local dir - int index = (hashCode+i & Integer.MAX_VALUE) % localDirs.length; - File file = new File(localDirs[index], path); - File dir = file.getParentFile(); - if (existingFileTest) { - if (file.exists()) { - return file; - } - } else { - if (dir.exists() || dir.mkdirs()) { - return file; - } - } - } - } - throw new IOException("No valid local directories."); + return getFile("mapred.local.dir", name + File.separator + subdir); } public void setInputDir(File dir) { set("mapred.input.dir", dir); } Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapOutputFile.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapOutputFile.java?rev=384665&r1=384664&r2=384665&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapOutputFile.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapOutputFile.java Thu Mar 9 17:18:58 2006 @@ -67,9 +67,14 @@ throws IOException { return this.jobConf.getLocalFile(reduceTaskId, mapTaskId+".out"); } - public File getInputFile(String mapTaskId[], String reduceTaskId) + public File getInputFile(String mapTaskIds[], String reduceTaskId) throws IOException { - return this.jobConf.getLocalFile(reduceTaskId, mapTaskId, ".out"); + for (int i = 0; i < mapTaskIds.length; i++) { + File file = jobConf.getLocalFile(reduceTaskId, mapTaskIds[i]+".out"); + if (file.exists()) + return file; + } + throw new IOException("Input file not found!"); } /** Removes all of the files related to a task. */ From [email protected] Mon Mar 13 20:31:02 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99361 invoked from network); 13 Mar 2006 20:31:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Mar 2006 20:31:02 -0000 Received: (qmail 67923 invoked by uid 500); 13 Mar 2006 20:31:01 -0000 Delivered-To: [email protected] Received: (qmail 67899 invoked by uid 500); 13 Mar 2006 20:31:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 67889 invoked by uid 99); 13 Mar 2006 20:31:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Mar 2006 12:31:01 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 13 Mar 2006 12:30:59 -0800 Received: (qmail 99233 invoked by uid 65534); 13 Mar 2006 20:30:39 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r385652 - in /lucene/hadoop/trunk: build.xml src/test/hadoop-site.xml src/test/mapred-default.xml src/test/org/apache/hadoop/dfs/ClusterTestDFS.java src/test/org/apache/hadoop/dfs/TestDFS.java Date: Mon, 13 Mar 2006 20:30:36 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Mon Mar 13 12:30:34 2006 New Revision: 385652 URL: http://svn.apache.org/viewcvs?rev=385652&view=rev Log: Fix for HADOOP-70. Unit tests should have their own hadoop-site.xml and mapred-default.xml, so that local modifications to these files in conf/ don't alter unit testing. Also rename TestDFS so that it is not normally run, and add a new test target which runs tests using the config files in conf/. Added: lucene/hadoop/trunk/src/test/hadoop-site.xml lucene/hadoop/trunk/src/test/mapred-default.xml lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/ClusterTestDFS.java - copied, changed from r385629, lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestDFS.java Removed: lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestDFS.java Modified: lucene/hadoop/trunk/build.xml Modified: lucene/hadoop/trunk/build.xml URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/build.xml?rev=385652&r1=385651&r2=385652&view=diff ============================================================================== --- lucene/hadoop/trunk/build.xml (original) +++ lucene/hadoop/trunk/build.xml Mon Mar 13 12:30:34 2006 @@ -34,6 +34,8 @@ <property name="test.build.data" value="${test.build.dir}/data"/> <property name="test.build.classes" value="${test.build.dir}/classes"/> <property name="test.build.javadoc" value="${test.build.dir}/docs/api"/> + <property name="test.include" value="Test*"/> + <property name="test.classpath.id" value="test.classpath"/> <property name="web.src.dir" value="${basedir}/src/web"/> <property name="src.webapps" value="${basedir}/src/webapps"/> @@ -55,16 +57,23 @@ <fileset dir="${lib.dir}"> <include name="**/*.jar" /> </fileset> + <pathelement location="${conf.dir}"/> </path> - <!-- the unit test classpath --> + <!-- the unit test classpath: uses test.src.dir for configuration --> <path id="test.classpath"> <pathelement location="${test.build.classes}" /> - <pathelement location="${conf.dir}"/> <pathelement location="${test.src.dir}"/> <path refid="classpath"/> </path> + <!-- the cluster test classpath: uses conf.dir for configuration --> + <path id="test.cluster.classpath"> + <path refid="classpath"/> + <pathelement location="${test.build.classes}" /> + <pathelement location="${test.src.dir}"/> + </path> + <!-- ====================================================== --> <!-- Stuff needed by all targets --> <!-- ====================================================== --> @@ -200,11 +209,12 @@ errorProperty="tests.failed" failureProperty="tests.failed"> <sysproperty key="test.build.data" value="${test.build.data}"/> <sysproperty key="test.src.dir" value="${test.src.dir}"/> - <classpath refid="test.classpath"/> + <classpath refid="${test.classpath.id}"/> <formatter type="plain" /> <batchtest todir="${test.build.dir}" unless="testcase"> <fileset dir="${test.src.dir}" - includes="**/Test*.java" excludes="**/${test.exclude}.java" /> + includes="**/${test.include}.java" + excludes="**/${test.exclude}.java" /> </batchtest> <batchtest todir="${test.build.dir}" if="testcase"> <fileset dir="${test.src.dir}" includes="**/${testcase}.java"/> @@ -214,6 +224,14 @@ <fail if="tests.failed">Tests failed!</fail> </target> + + <!-- Run all unit tests, not just Test*, and use non-test configuration. --> + <target name="test-cluster"> + <antcall target="test"> + <param name="test.include" value="*"/> + <param name="test.classpath.id" value="test.cluster.classpath"/> + </antcall> + </target> <target name="nightly" depends="test, tar"> </target> Added: lucene/hadoop/trunk/src/test/hadoop-site.xml URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/test/hadoop-site.xml?rev=385652&view=auto ============================================================================== --- lucene/hadoop/trunk/src/test/hadoop-site.xml (added) +++ lucene/hadoop/trunk/src/test/hadoop-site.xml Mon Mar 13 12:30:34 2006 @@ -0,0 +1,10 @@ +<?xml version="1.0"?> +<?xml-stylesheet type="text/xsl" href="nutch-conf.xsl"?> + +<!-- Values used when running unit tests. This is mostly empty, to --> +<!-- use of the default values, overriding the potentially --> +<!-- user-editted hadoop-site.xml in the conf/ directory. --> + +<configuration> + +</configuration> Added: lucene/hadoop/trunk/src/test/mapred-default.xml URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/test/mapred-default.xml?rev=385652&view=auto ============================================================================== --- lucene/hadoop/trunk/src/test/mapred-default.xml (added) +++ lucene/hadoop/trunk/src/test/mapred-default.xml Mon Mar 13 12:30:34 2006 @@ -0,0 +1,10 @@ +<?xml version="1.0"?> +<?xml-stylesheet type="text/xsl" href="nutch-conf.xsl"?> + +<!-- Values used when running unit tests. This is mostly empty, to --> +<!-- use of the default values, overriding the potentially --> +<!-- user-editted mapred-default.xml in the conf/ directory. --> + +<configuration> + +</configuration> Copied: lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/ClusterTestDFS.java (from r385629, lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestDFS.java) URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/ClusterTestDFS.java?p2=lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/ClusterTestDFS.java&p1=lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestDFS.java&r1=385629&r2=385652&rev=385652&view=diff ============================================================================== --- lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestDFS.java (original) +++ lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/ClusterTestDFS.java Mon Mar 13 12:30:34 2006 @@ -37,7 +37,7 @@ /** * Test DFS. - * TestDFS is a JUnit test for DFS using "pseudo multiprocessing" (or + * ClusterTestDFS is a JUnit test for DFS using "pseudo multiprocessing" (or more strictly, pseudo distributed) meaning all daemons run in one process and sockets are used to communicate between daemons. The test permutes * various block sizes, number of files, file sizes, and number of @@ -68,9 +68,9 @@ * (HadoopFS level) test {@link org.apache.hadoop.fs.TestFileSystem}. * @author Paul Baclace */ -public class TestDFS extends TestCase implements FSConstants { +public class ClusterTestDFS extends TestCase implements FSConstants { private static final Logger LOG = - LogFormatter.getLogger("org.apache.hadoop.dfs.TestDFS"); + LogFormatter.getLogger("org.apache.hadoop.dfs.ClusterTestDFS"); private static Configuration conf = new Configuration(); private static int BUFFER_SIZE = @@ -518,12 +518,12 @@ } public static void main(String[] args) throws Exception { - String usage = "Usage: TestDFS (no args)"; + String usage = "Usage: ClusterTestDFS (no args)"; if (args.length != 0) { System.err.println(usage); System.exit(-1); } - String[] testargs = {"org.apache.hadoop.dfs.TestDFS"}; + String[] testargs = {"org.apache.hadoop.dfs.ClusterTestDFS"}; junit.textui.TestRunner.main(testargs); } From [email protected] Mon Mar 13 20:39:47 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3161 invoked from network); 13 Mar 2006 20:39:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Mar 2006 20:39:47 -0000 Received: (qmail 87690 invoked by uid 500); 13 Mar 2006 20:39:46 -0000 Delivered-To: [email protected] Received: (qmail 87655 invoked by uid 500); 13 Mar 2006 20:39:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 87646 invoked by uid 99); 13 Mar 2006 20:39:46 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Mar 2006 12:39:46 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 13 Mar 2006 12:39:45 -0800 Received: (qmail 2947 invoked by uid 65534); 13 Mar 2006 20:39:25 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r385655 - /lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java Date: Mon, 13 Mar 2006 20:39:24 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Mon Mar 13 12:39:22 2006 New Revision: 385655 URL: http://svn.apache.org/viewcvs?rev=385655&view=rev Log: Fix for HADOOP-77. Fixes some NPEs. Contributed by Stefan. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java?rev=385655&r1=385654&r2=385655&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java Mon Mar 13 12:39:22 2006 @@ -38,8 +38,8 @@ File localJobFile = null; File localJarFile = null; - TaskInProgress maps[] = null; - TaskInProgress reduces[] = null; + TaskInProgress maps[] = new TaskInProgress[0]; + TaskInProgress reduces[] = new TaskInProgress[0]; int numMapTasks = 0; int numReduceTasks = 0; From [email protected] Mon Mar 13 22:01:09 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43140 invoked from network); 13 Mar 2006 22:01:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Mar 2006 22:01:09 -0000 Received: (qmail 6437 invoked by uid 500); 13 Mar 2006 22:01:09 -0000 Delivered-To: [email protected] Received: (qmail 6403 invoked by uid 500); 13 Mar 2006 22:01:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6394 invoked by uid 99); 13 Mar 2006 22:01:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Mar 2006 14:01:08 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 13 Mar 2006 14:01:08 -0800 Received: (qmail 42994 invoked by uid 65534); 13 Mar 2006 22:00:47 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r385668 - /lucene/hadoop/trunk/src/test/hadoop-site.xml Date: Mon, 13 Mar 2006 22:00:47 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Mon Mar 13 14:00:45 2006 New Revision: 385668 URL: http://svn.apache.org/viewcvs?rev=385668&view=rev Log: Use build/test for unit test data, instead of /tmp as in defaults. Modified: lucene/hadoop/trunk/src/test/hadoop-site.xml Modified: lucene/hadoop/trunk/src/test/hadoop-site.xml URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/test/hadoop-site.xml?rev=385668&r1=385667&r2=385668&view=diff ============================================================================== --- lucene/hadoop/trunk/src/test/hadoop-site.xml (original) +++ lucene/hadoop/trunk/src/test/hadoop-site.xml Mon Mar 13 14:00:45 2006 @@ -7,4 +7,14 @@ <configuration> +<property> + <name>mapred.local.dir</name> + <value>build/test/mapred/local</value> +</property> + +<property> + <name>mapred.system.dir</name> + <value>build/test/mapred/system</value> +</property> + </configuration> From [email protected] Mon Mar 13 23:17:37 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85490 invoked from network); 13 Mar 2006 23:17:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Mar 2006 23:17:36 -0000 Received: (qmail 10744 invoked by uid 500); 13 Mar 2006 23:17:36 -0000 Delivered-To: [email protected] Received: (qmail 10730 invoked by uid 500); 13 Mar 2006 23:17:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 10721 invoked by uid 99); 13 Mar 2006 23:17:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Mar 2006 15:17:36 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 13 Mar 2006 15:17:35 -0800 Received: (qmail 85178 invoked by uid 65534); 13 Mar 2006 23:17:15 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r385696 - /lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Client.java Date: Mon, 13 Mar 2006 23:17:14 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Mon Mar 13 15:17:09 2006 New Revision: 385696 URL: http://svn.apache.org/viewcvs?rev=385696&view=rev Log: Fix for HADOOP-78. Stream buffering was mistakenly disabled in writes by the RPC client. Identified & fixed by Owen O'Malley. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Client.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Client.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Client.java?rev=385696&r1=385695&r2=385696&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Client.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Client.java Mon Mar 13 15:17:09 2006 @@ -126,7 +126,7 @@ (new BufferedOutputStream (new FilterOutputStream(socket.getOutputStream()) { public void write(byte[] buf, int o, int len) throws IOException { - super.write(buf, o, len); + out.write(buf, o, len); if (writingCall != null) { writingCall.touch(); } From [email protected] Tue Mar 14 00:49:12 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29344 invoked from network); 14 Mar 2006 00:49:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Mar 2006 00:49:11 -0000 Received: (qmail 19617 invoked by uid 500); 14 Mar 2006 00:49:11 -0000 Delivered-To: [email protected] Received: (qmail 19602 invoked by uid 500); 14 Mar 2006 00:49:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 51241 invoked by uid 99); 13 Mar 2006 23:56:48 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Mon, 13 Mar 2006 23:56:26 -0000 Message-ID: <[email protected]> Subject: [Lucene-hadoop Wiki] Update of "Roadmap" by DougCutting X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Lucene-hadoop Wiki" for change notification. The following page has been changed by DougCutting: http://wiki.apache.org/lucene-hadoop/Roadmap New page: = Hadoop Roadmap = This page documents the release plans for Hadoop. Release planning is primarily coordinated through [http://issues.apache.org/jira/browse/HADOOP Hadoop's JIRA database]. == Release 0.1 == This first release of Hadoop will happen around April 15, 2006. Unresolved issues planned for release 0.1 are listed in [http://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&mode=hide&sorter/order=DESC&sorter/field=priority&resolution=-1&pid=12310240&fixfor=12310812 here] in JIRA. With this release we're primarily aiming for reliability and stability on clusters containing up to a few hundred nodes. == Release 0.2 == This release is not yet scheduled. Unresolved issues planned for release 0.1 are listed [http://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&mode=hide&sorter/order=DESC&sorter/field=priority&resolution=-1&pid=12310240&fixfor=12310813 here] in JIRA. With this release we hope to get Hadoop to scale to thousands of nodes and to support more advanced features. == Release 1.0 == ??? From [email protected] Tue Mar 14 00:49:33 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29452 invoked from network); 14 Mar 2006 00:49:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Mar 2006 00:49:33 -0000 Received: (qmail 21500 invoked by uid 500); 14 Mar 2006 00:49:29 -0000 Delivered-To: [email protected] Received: (qmail 21449 invoked by uid 500); 14 Mar 2006 00:49:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 32735 invoked by uid 99); 10 Mar 2006 21:52:24 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Fri, 10 Mar 2006 21:52:03 -0000 Message-ID: <[email protected]> Subject: [Lucene-hadoop Wiki] Trivial Update of "DevelopmentCommandLineOptions" by JeffRitchie X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Lucene-hadoop Wiki" for change notification. The following page has been changed by JeffRitchie: http://wiki.apache.org/lucene-hadoop/DevelopmentCommandLineOptions New page: = Command Line Options of hadoop-0.1-dev/bin/hadoop = See each entry for datails of the command arguments and options. ||'''Command'''||'''Function'''|| ||["hadoop-0.1-dev/bin/hadoop namenode"]||run the DFS Name Node.|| ||["hadoop-0.1-dev/bin/hadoop datanode"]||run a DFS Data Node.|| ||["hadoop-0.1-dev/bin/hadoop dfs"]||run a DFS admin client.|| ||["hadoop-0.1-dev/bin/hadoop jobtracker"]||run the !MapReduce Job Tracker node.|| ||["hadoop-0.1-dev/bin/hadoop tasktracker"]||run a !MapReduce Task Tracker node.|| ||["hadoop-0.1-dev/bin/hadoop job"]||manipulate !MapReduce jobs.|| ||["hadoop-0.1-dev/bin/hadoop jar"]||run a jar file.|| ||["hadoop-0.1-dev/bin/hadoop CLASSNAME"]||run the class named CLASSNAME.|| ||'''Command'''||'''Function'''|| From [email protected] Tue Mar 14 00:49:41 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29518 invoked from network); 14 Mar 2006 00:49:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Mar 2006 00:49:41 -0000 Received: (qmail 22392 invoked by uid 500); 14 Mar 2006 00:49:40 -0000 Delivered-To: [email protected] Received: (qmail 22369 invoked by uid 500); 14 Mar 2006 00:49:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 57929 invoked by uid 99); 14 Mar 2006 00:08:51 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Tue, 14 Mar 2006 00:08:30 -0000 Message-ID: <[email protected]> Subject: [Lucene-hadoop Wiki] Update of "FrontPage" by DougCutting X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Lucene-hadoop Wiki" for change notification. The following page has been changed by DougCutting: http://wiki.apache.org/lucene-hadoop/FrontPage ------------------------------------------------------------------------------ * DevelopmentCommandLineOptions for upcoming version 0.1 hadoop shell script. == Hadoop Development == + * Self:Roadmap, listing release plans. == Other Resources == From [email protected] Tue Mar 14 19:03:33 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76703 invoked from network); 14 Mar 2006 19:03:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Mar 2006 19:03:33 -0000 Received: (qmail 96404 invoked by uid 500); 14 Mar 2006 19:03:33 -0000 Delivered-To: [email protected] Received: (qmail 96375 invoked by uid 500); 14 Mar 2006 19:03:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 96365 invoked by uid 99); 14 Mar 2006 19:03:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Mar 2006 11:03:32 -0800 X-ASF-Spam-Status: No, hits=-8.6 required=10.0 tests=ALL_TRUSTED,INFO_TLD,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 14 Mar 2006 11:03:31 -0800 Received: (qmail 76547 invoked by uid 65534); 14 Mar 2006 19:03:11 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r385856 - in /lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred: MapOutputFile.java TaskTracker.java Date: Tue, 14 Mar 2006 19:03:10 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Tue Mar 14 11:03:09 2006 New Revision: 385856 URL: http://svn.apache.org/viewcvs?rev=385856&view=rev Log: Fix tasktracker to exit when errors are encountered reading map output, in order to force re-execution of map tasks. It's overkill, since it will re-compute all map output computed by that task tracker, not just that which could not be read, but this should be a rare situation. If we start seeing it frequently, then we could optimize this by adding a way to tell the jobtracker that a particular previously completed map task now needs to be re-executed. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapOutputFile.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapOutputFile.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapOutputFile.java?rev=385856&r1=385855&r2=385856&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapOutputFile.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapOutputFile.java Tue Mar 14 11:03:09 2006 @@ -17,6 +17,7 @@ package org.apache.hadoop.mapred; import java.io.IOException; +import java.util.logging.Level; import java.io.*; import org.apache.hadoop.io.*; @@ -108,12 +109,28 @@ // write the length-prefixed file content to the wire File file = getOutputFile(mapTaskId, partition); out.writeLong(file.length()); - FSDataInputStream in = FileSystem.getNamed("local", this.jobConf).open(file); + + FSDataInputStream in = null; + try { + in = FileSystem.getNamed("local", this.jobConf).open(file); + } catch (IOException e) { + // log a SEVERE exception in order to cause TaskTracker to exit + TaskTracker.LOG.log(Level.SEVERE, "Can't open map output:" + file, e); + throw e; + } try { byte[] buffer = new byte[8192]; - int l; - while ((l = in.read(buffer)) != -1) { + int l = 0; + + while (l != -1) { out.write(buffer, 0, l); + try { + l = in.read(buffer); + } catch (IOException e) { + // log a SEVERE exception in order to cause TaskTracker to exit + TaskTracker.LOG.log(Level.SEVERE,"Can't read map output:" + file, e); + throw e; + } } } finally { in.close(); Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java?rev=385856&r1=385855&r2=385856&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java Tue Mar 14 11:03:09 2006 @@ -305,6 +305,11 @@ } } lastHeartbeat = now; + + if (LogFormatter.hasLoggedSevere()) { + LOG.info("Severe problem detected. TaskTracker exiting."); + return STALE_STATE; + } } return 0; From [email protected] Tue Mar 14 20:56:21 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40722 invoked from network); 14 Mar 2006 20:56:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Mar 2006 20:56:21 -0000 Received: (qmail 53825 invoked by uid 500); 14 Mar 2006 20:56:21 -0000 Delivered-To: [email protected] Received: (qmail 53810 invoked by uid 500); 14 Mar 2006 20:56:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 53801 invoked by uid 99); 14 Mar 2006 20:56:21 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Mar 2006 12:56:21 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 14 Mar 2006 12:56:20 -0800 Received: (qmail 40601 invoked by uid 65534); 14 Mar 2006 20:56:00 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r385885 - in /lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs: DFSFileInfo.java FSDirectory.java Date: Tue, 14 Mar 2006 20:55:59 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Tue Mar 14 12:55:57 2006 New Revision: 385885 URL: http://svn.apache.org/viewcvs?rev=385885&view=rev Log: Fix for HADOOP-79. Some namenode optimizations. Contributed by Konstantin Shvachko. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSFileInfo.java lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSDirectory.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSFileInfo.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSFileInfo.java?rev=385885&r1=385884&r2=385885&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSFileInfo.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSFileInfo.java Tue Mar 14 12:55:57 2006 @@ -45,12 +45,16 @@ } /** + * Create DFSFileInfo by file INode */ - public DFSFileInfo(UTF8 path, long len, long contentsLen, boolean isDir) { - this.path = path; - this.len = len; - this.contentsLen = contentsLen; - this.isDir = isDir; + public DFSFileInfo( FSDirectory.INode node ) { + this.path = new UTF8(node.computeName()); + this.isDir = node.isDir(); + if( isDir ) { + this.len = 0; + this.contentsLen = node.computeContentsLength(); + } else + this.len = this.contentsLen = node.computeFileLength(); } /** Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSDirectory.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSDirectory.java?rev=385885&r1=385884&r2=385885&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSDirectory.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSDirectory.java Tue Mar 14 12:55:57 2006 @@ -59,6 +59,14 @@ } /** + * Check whether it's a directory + * @return + */ + synchronized public boolean isDir() { + return (blocks == null); + } + + /** * This is the external interface */ INode getNode(String target) { @@ -612,11 +620,7 @@ DFSFileInfo listing[] = new DFSFileInfo[contents.size()]; int i = 0; for (Iterator it = contents.iterator(); it.hasNext(); i++) { - INode cur = (INode) it.next(); - UTF8 curName = new UTF8(cur.computeName()); - listing[i] = new DFSFileInfo(curName, cur.computeFileLength(), cur.computeContentsLength(), isDir(curName)); - //listing[i] = new DFSFileInfo(curName, cur.computeFileLength(), 0, isDir(curName)); - //listing[i] = new DFSFileInfo(curName, cur.computeFileLength(), 0, false); + listing[i] = new DFSFileInfo( (INode) it.next() ); } return listing; } @@ -655,16 +659,12 @@ } /** - * Check whether it's a directory + * Check whether the path specifies a directory */ public boolean isDir(UTF8 src) { synchronized (rootDir) { INode node = rootDir.getNode(normalizePath(src)); - if (node != null && node.blocks == null) { - return true; - } else { - return false; - } + return node != null && node.isDir(); } } From [email protected] Wed Mar 15 22:09:56 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6149 invoked from network); 15 Mar 2006 22:09:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Mar 2006 22:09:56 -0000 Received: (qmail 59532 invoked by uid 500); 15 Mar 2006 22:09:56 -0000 Delivered-To: [email protected] Received: (qmail 59506 invoked by uid 500); 15 Mar 2006 22:09:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 59497 invoked by uid 99); 15 Mar 2006 22:09:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Mar 2006 14:09:55 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 15 Mar 2006 14:09:54 -0800 Received: (qmail 5851 invoked by uid 65534); 15 Mar 2006 22:09:34 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r386180 - in /lucene/hadoop/trunk: site/issue_tracking.html site/issue_tracking.pdf src/site/src/documentation/content/xdocs/issue_tracking.xml Date: Wed, 15 Mar 2006 22:09:33 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Wed Mar 15 14:09:32 2006 New Revision: 386180 URL: http://svn.apache.org/viewcvs?rev=386180&view=rev Log: Updated link to jira. Modified: lucene/hadoop/trunk/site/issue_tracking.html lucene/hadoop/trunk/site/issue_tracking.pdf lucene/hadoop/trunk/src/site/src/documentation/content/xdocs/issue_tracking.xml Modified: lucene/hadoop/trunk/site/issue_tracking.html URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/site/issue_tracking.html?rev=386180&r1=386179&r2=386180&view=diff ============================================================================== --- lucene/hadoop/trunk/site/issue_tracking.html (original) +++ lucene/hadoop/trunk/site/issue_tracking.html Wed Mar 15 14:09:32 2006 @@ -113,7 +113,7 @@ <p> Hadoop issues (bugs, as well as enhancement requests) are tracked in - Apache JIRA <a href="http://nagoya.apache.org/jira/browse/HADOOP">here</a>. + Apache JIRA <a href="http://issues.apache.org/jira/browse/HADOOP">here</a>. If you aren't sure whether something is a bug, post a question on the Hadoop user <a href="mailing_lists.html">mailing list</a>. </p> Modified: lucene/hadoop/trunk/site/issue_tracking.pdf URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/site/issue_tracking.pdf?rev=386180&r1=386179&r2=386180&view=diff ============================================================================== --- lucene/hadoop/trunk/site/issue_tracking.pdf (original) +++ lucene/hadoop/trunk/site/issue_tracking.pdf Wed Mar 15 14:09:32 2006 @@ -32,7 +32,7 @@ /Rect [ 493.896 585.8 514.548 573.8 ] /C [ 0 0 0 ] /Border [ 0 0 0 ] -/A << /URI (http://nagoya.apache.org/jira/browse/HADOOP) +/A << /URI (http://issues.apache.org/jira/browse/HADOOP) /S /URI >> /H /I >> Modified: lucene/hadoop/trunk/src/site/src/documentation/content/xdocs/issue_tracking.xml URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/site/src/documentation/content/xdocs/issue_tracking.xml?rev=386180&r1=386179&r2=386180&view=diff ============================================================================== --- lucene/hadoop/trunk/src/site/src/documentation/content/xdocs/issue_tracking.xml (original) +++ lucene/hadoop/trunk/src/site/src/documentation/content/xdocs/issue_tracking.xml Wed Mar 15 14:09:32 2006 @@ -11,7 +11,7 @@ <body> <p> Hadoop issues (bugs, as well as enhancement requests) are tracked in - Apache JIRA <a href="http://nagoya.apache.org/jira/browse/HADOOP">here</a>. + Apache JIRA <a href="http://issues.apache.org/jira/browse/HADOOP">here</a>. If you aren't sure whether something is a bug, post a question on the Hadoop user <a href="mailing_lists.html">mailing list</a>. </p> From [email protected] Wed Mar 15 23:49:05 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57045 invoked from network); 15 Mar 2006 23:49:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Mar 2006 23:49:03 -0000 Received: (qmail 27478 invoked by uid 500); 15 Mar 2006 23:48:53 -0000 Delivered-To: [email protected] Received: (qmail 27458 invoked by uid 500); 15 Mar 2006 23:48:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 27449 invoked by uid 99); 15 Mar 2006 23:48:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Mar 2006 15:48:53 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 15 Mar 2006 15:48:50 -0800 Received: (qmail 56814 invoked by uid 65534); 15 Mar 2006 23:48:29 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r386219 - in /lucene/hadoop/trunk/src: java/org/apache/hadoop/io/BytesWritable.java java/org/apache/hadoop/io/UTF8.java java/org/apache/hadoop/io/WritableComparator.java test/org/apache/hadoop/io/TestBytesWritable.java Date: Wed, 15 Mar 2006 23:48:28 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Wed Mar 15 15:48:27 2006 New Revision: 386219 URL: http://svn.apache.org/viewcvs?rev=386219&view=rev Log: Fix for HADOOP-80. Make BytesWritable also a WritableComparable. Also add hashBytes() utility method to WritableComparator and use it to hash both BytesWritable and UTF8. Contributed by Owen O'Malley. Added: lucene/hadoop/trunk/src/test/org/apache/hadoop/io/TestBytesWritable.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/io/BytesWritable.java lucene/hadoop/trunk/src/java/org/apache/hadoop/io/UTF8.java lucene/hadoop/trunk/src/java/org/apache/hadoop/io/WritableComparator.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/io/BytesWritable.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/io/BytesWritable.java?rev=386219&r1=386218&r2=386219&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/io/BytesWritable.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/io/BytesWritable.java Wed Mar 15 15:48:27 2006 @@ -20,31 +20,148 @@ import java.io.DataInput; import java.io.DataOutput; -/** A Writable for byte arrays. - * +/** + * A byte sequence that is usable as a key or value. + * It is resizable and distinguishes between the size of the seqeunce and + * the current capacity. The hash function is the front of the md5 of the + * buffer. The sort order is the same as memcmp. * @author Doug Cutting */ -public class BytesWritable implements Writable { +public class BytesWritable implements WritableComparable { + private int size; private byte[] bytes; - - public BytesWritable() {} - + + /** + * Create a zero-size sequence. + */ + public BytesWritable() { + size = 0; + bytes = new byte[100]; + } + + /** + * Create a BytesWritable using the byte array as the initial value. + * @param bytes This array becomes the backing storage for the object. + */ public BytesWritable(byte[] bytes) { this.bytes = bytes; + this.size = bytes.length; } - + + /** + * Get the data from the BytesWritable. + * @return The data is only valid between 0 and getSize() - 1. + */ public byte[] get() { return bytes; } - + + /** + * Get the current size of the buffer. + * @return + */ + public int getSize() { + return size; + } + + /** + * Change the size of the buffer. The values in the old range are preserved + * and any new values are undefined. The capacity is changed if it is + * necessary. + * @param size The new number of bytes + */ + public void setSize(int size) { + if (size > getCapacity()) { + setCapacity(size * 3 / 2); + } + this.size = size; + } + + /** + * Get the capacity, which is the maximum size that could handled without + * resizing the backing storage. + * @return The number of bytes + */ + public int getCapacity() { + return bytes.length; + } + + /** + * Change the capacity of the backing storage. + * The data is preserved. + * @param new_cap The new capacity in bytes. + */ + public void setCapacity(int new_cap) { + if (new_cap != getCapacity()) { + byte[] new_data = new byte[new_cap]; + if (new_cap < size) { + size = new_cap; + } + if (size != 0) { + System.arraycopy(bytes, 0, new_data, 0, size); + } + bytes = new_data; + } + } + + // inherit javadoc public void readFields(DataInput in) throws IOException { - bytes = new byte[in.readInt()]; - in.readFully(bytes, 0, bytes.length); + setSize(0); // clear the old data + setSize(in.readInt()); + in.readFully(bytes, 0, size); } - + + // inherit javadoc public void write(DataOutput out) throws IOException { - out.writeInt(bytes.length); - out.write(bytes); + out.writeInt(size); + out.write(bytes, 0, size); + } + + public int hashCode() { + return WritableComparator.hashBytes(bytes, size); + } + + /** + * Define the sort order of the BytesWritable. + * @param right_obj The other bytes writable + * @return Positive if left is bigger than right, 0 if they are equal, and + * negative if left is smaller than right. + */ + public int compareTo(Object right_obj) { + BytesWritable right = ((BytesWritable) right_obj); + return WritableComparator.compareBytes(bytes, 0, size, + right.bytes, 0, right.size); + } + + /** + * Are the two byte sequences equal? + */ + public boolean equals(Object right_obj) { + if (right_obj instanceof BytesWritable) { + return compareTo(right_obj) == 0; + } + return false; + } + + /** A Comparator optimized for BytesWritable. */ + public static class Comparator extends WritableComparator { + public Comparator() { + super(BytesWritable.class); + } + + /** + * Compare the buffers in serialized form. + */ + public int compare(byte[] b1, int s1, int l1, + byte[] b2, int s2, int l2) { + int size1 = readInt(b1, s1); + int size2 = readInt(b2, s2); + return compareBytes(b1,s1+4, size1, b2, s2+4, size2); + } + } + + static { // register this comparator + WritableComparator.define(BytesWritable.class, new Comparator()); } - + } Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/io/UTF8.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/io/UTF8.java?rev=386219&r1=386218&r2=386219&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/io/UTF8.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/io/UTF8.java Wed Mar 15 15:48:27 2006 @@ -149,10 +149,7 @@ } public int hashCode() { - int hash = 1; - for (int i = 0; i < length; i++) - hash = (31 * hash) + (int)bytes[i]; - return hash; + return WritableComparator.hashBytes(bytes, length); } /** A WritableComparator optimized for UTF8 keys. */ Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/io/WritableComparator.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/io/WritableComparator.java?rev=386219&r1=386218&r2=386219&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/io/WritableComparator.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/io/WritableComparator.java Wed Mar 15 15:48:27 2006 @@ -124,6 +124,14 @@ return l1 - l2; } + /** Compute hash for binary data. */ + public static int hashBytes(byte[] bytes, int length) { + int hash = 1; + for (int i = 0; i < length; i++) + hash = (31 * hash) + (int)bytes[i]; + return hash; + } + /** Parse an unsigned short from a byte array. */ public static int readUnsignedShort(byte[] bytes, int start) { return (((bytes[start] & 0xff) << 8) + Added: lucene/hadoop/trunk/src/test/org/apache/hadoop/io/TestBytesWritable.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/test/org/apache/hadoop/io/TestBytesWritable.java?rev=386219&view=auto ============================================================================== --- lucene/hadoop/trunk/src/test/org/apache/hadoop/io/TestBytesWritable.java (added) +++ lucene/hadoop/trunk/src/test/org/apache/hadoop/io/TestBytesWritable.java Wed Mar 15 15:48:27 2006 @@ -0,0 +1,68 @@ +package org.apache.hadoop.io; + +import junit.framework.TestCase; + +/** + * This is the unit test for BytesWritable. + * @author Owen O'Malley + */ +public class TestBytesWritable extends TestCase { + + public void testSizeChange() throws Exception { + byte[] hadoop = "hadoop".getBytes(); + BytesWritable buf = new BytesWritable(hadoop); + int size = buf.getSize(); + int orig_capacity = buf.getCapacity(); + buf.setSize(size*2); + int new_capacity = buf.getCapacity(); + System.arraycopy(buf.get(),0, buf.get(), size, size); + assertTrue(new_capacity >= size * 2); + assertEquals(size * 2, buf.getSize()); + assertTrue(new_capacity != orig_capacity); + buf.setSize(size*4); + assertTrue(new_capacity != buf.getCapacity()); + for(int i=0; i < size*2; ++i) { + assertEquals(hadoop[i%size], buf.get()[i]); + } + // shrink the buffer + buf.setCapacity(1); + // make sure the size has been cut down too + assertEquals(1, buf.getSize()); + // but that the data is still there + assertEquals(hadoop[0], buf.get()[0]); + } + + public void testHash() throws Exception { + byte[] owen = "owen".getBytes(); + BytesWritable buf = new BytesWritable(owen); + assertEquals(4347922, buf.hashCode()); + buf.setCapacity(10000); + assertEquals(4347922, buf.hashCode()); + buf.setSize(0); + assertEquals(1, buf.hashCode()); + } + + public void testCompare() throws Exception { + byte[][] values = new byte[][]{"abc".getBytes(), + "ad".getBytes(), + "abcd".getBytes(), + "".getBytes(), + "b".getBytes()}; + BytesWritable[] buf = new BytesWritable[values.length]; + for(int i=0; i < values.length; ++i) { + buf[i] = new BytesWritable(values[i]); + } + // check to make sure the compare function is symetric and reflexive + for(int i=0; i < values.length; ++i) { + for(int j=0; j < values.length; ++j) { + assertTrue(buf[i].compareTo(buf[j]) == -buf[j].compareTo(buf[i])); + assertTrue((i == j) == (buf[i].compareTo(buf[j]) == 0)); + } + } + assertTrue(buf[0].compareTo(buf[1]) < 0); + assertTrue(buf[1].compareTo(buf[2]) > 0); + assertTrue(buf[2].compareTo(buf[3]) > 0); + assertTrue(buf[3].compareTo(buf[4]) < 0); + } +} + From [email protected] Wed Mar 15 23:55:09 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60446 invoked from network); 15 Mar 2006 23:55:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Mar 2006 23:55:07 -0000 Received: (qmail 38165 invoked by uid 500); 15 Mar 2006 23:55:06 -0000 Delivered-To: [email protected] Received: (qmail 38122 invoked by uid 500); 15 Mar 2006 23:55:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 38104 invoked by uid 99); 15 Mar 2006 23:55:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Mar 2006 15:55:06 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 15 Mar 2006 15:55:05 -0800 Received: (qmail 60262 invoked by uid 65534); 15 Mar 2006 23:54:40 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r386220 - /lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java Date: Wed, 15 Mar 2006 23:54:39 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Wed Mar 15 15:54:37 2006 New Revision: 386220 URL: http://svn.apache.org/viewcvs?rev=386220&view=rev Log: Fix for HADOOP-66. Delete dfs temp files on JVM exit. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java?rev=386220&r1=386219&r2=386220&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java Wed Mar 15 15:54:37 2006 @@ -557,9 +557,11 @@ } private File newBackupFile() throws IOException { - return conf.getFile("dfs.data.dir", - "tmp"+File.separator+ - "client-"+Math.abs(r.nextLong())); + File result = conf.getFile("dfs.data.dir", + "tmp"+File.separator+ + "client-"+Math.abs(r.nextLong())); + result.deleteOnExit(); + return result; } /** From [email protected] Thu Mar 16 00:02:42 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64104 invoked from network); 16 Mar 2006 00:02:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Mar 2006 00:02:34 -0000 Received: (qmail 46015 invoked by uid 500); 16 Mar 2006 00:02:32 -0000 Delivered-To: [email protected] Received: (qmail 45992 invoked by uid 500); 16 Mar 2006 00:02:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 45979 invoked by uid 99); 16 Mar 2006 00:02:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Mar 2006 16:02:31 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 15 Mar 2006 16:02:31 -0800 Received: (qmail 63878 invoked by uid 65534); 16 Mar 2006 00:02:08 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r386224 - in /lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred: JobConf.java JobInProgress.java TaskInProgress.java Date: Thu, 16 Mar 2006 00:01:43 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Wed Mar 15 16:01:42 2006 New Revision: 386224 URL: http://svn.apache.org/viewcvs?rev=386224&view=rev Log: Fix for HADOOP-81. Job-specific parameters should be read from the job-specific configuration, not the daemon's. This permits speculative execution, number of map & reduce tasks, etc. to be settable in the job. Contributed by Owen O'Malley. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobConf.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobConf.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobConf.java?rev=386224&r1=386223&r2=386224&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobConf.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobConf.java Wed Mar 15 16:01:42 2006 @@ -244,6 +244,22 @@ setClass("mapred.combiner.class", theClass, Reducer.class); } + /** + * Should speculative execution be used for this job? + * @return Defaults to true + */ + public boolean getSpeculativeExecution() { + return getBoolean("mapred.speculative.execution", true); + } + + /** + * Turn on or off speculative execution for this job. + * In general, it should be turned off for map jobs that have side effects. + */ + public void setSpeculativeExecution(boolean new_val) { + setBoolean("mapred.speculative.execution", new_val); + } + public int getNumMapTasks() { return getInt("mapred.map.tasks", 1); } public void setNumMapTasks(int n) { setInt("mapred.map.tasks", n); } Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java?rev=386224&r1=386223&r2=386224&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java Wed Mar 15 16:01:42 2006 @@ -50,43 +50,46 @@ long finishTime; String deleteUponCompletion = null; - Configuration conf; + private JobConf conf; boolean tasksInited = false; /** * Create a JobInProgress with the given job file, plus a handle * to the tracker. */ - public JobInProgress(String jobFile, JobTracker jobtracker, Configuration conf) throws IOException { + public JobInProgress(String jobFile, JobTracker jobtracker, + Configuration default_conf) throws IOException { String jobid = "job_" + jobtracker.createUniqueId(); String url = "http://" + jobtracker.getJobTrackerMachine() + ":" + jobtracker.getInfoPort() + "/jobdetails.jsp?jobid=" + jobid; - this.conf = conf; this.jobtracker = jobtracker; this.profile = new JobProfile(jobid, jobFile, url); this.status = new JobStatus(jobid, 0.0f, 0.0f, JobStatus.PREP); this.startTime = System.currentTimeMillis(); - this.localJobFile = new JobConf(conf).getLocalFile(JobTracker.SUBDIR, jobid + ".xml"); - this.localJarFile = new JobConf(conf).getLocalFile(JobTracker.SUBDIR, jobid + ".jar"); - FileSystem fs = FileSystem.get(conf); + JobConf default_job_conf = new JobConf(default_conf); + this.localJobFile = default_job_conf.getLocalFile(JobTracker.SUBDIR, + jobid + ".xml"); + this.localJarFile = default_job_conf.getLocalFile(JobTracker.SUBDIR, + jobid + ".jar"); + FileSystem fs = FileSystem.get(default_conf); fs.copyToLocalFile(new File(jobFile), localJobFile); - JobConf jd = new JobConf(localJobFile); + conf = new JobConf(localJobFile); - String jarFile = jd.getJar(); + String jarFile = conf.getJar(); if (jarFile != null) { fs.copyToLocalFile(new File(jarFile), localJarFile); - jd.setJar(localJarFile.getCanonicalPath()); + conf.setJar(localJarFile.getCanonicalPath()); } - this.numMapTasks = jd.getNumMapTasks(); - this.numReduceTasks = jd.getNumReduceTasks(); + this.numMapTasks = conf.getNumMapTasks(); + this.numReduceTasks = conf.getNumReduceTasks(); // // If a jobFile is in the systemDir, we can delete it (and // its JAR) upon completion // - File systemDir = jd.getSystemDir(); + File systemDir = conf.getSystemDir(); if (jobFile.startsWith(systemDir.getPath())) { this.deleteUponCompletion = jobFile; } Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java?rev=386224&r1=386223&r2=386224&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java Wed Mar 15 16:01:42 2006 @@ -47,37 +47,37 @@ public static final Logger LOG = LogFormatter.getLogger("org.apache.hadoop.mapred.TaskInProgress"); // Defines the TIP - String jobFile = null; - FileSplit split = null; - String hints[][] = null; - TaskInProgress predecessors[] = null; - int partition; - JobTracker jobtracker; - String id; - String totalTaskIds[]; - JobInProgress job; + private String jobFile = null; + private FileSplit split = null; + private String hints[][] = null; + private TaskInProgress predecessors[] = null; + private int partition; + private JobTracker jobtracker; + private String id; + private String totalTaskIds[]; + private JobInProgress job; // Status of the TIP - int numTaskFailures = 0; - double progress = 0; - String state = ""; - long startTime = 0; - int completes = 0; - boolean failed = false; - TreeSet usableTaskIds = new TreeSet(); - TreeSet recentTasks = new TreeSet(); - Configuration conf; + private int numTaskFailures = 0; + private double progress = 0; + private String state = ""; + private long startTime = 0; + private int completes = 0; + private boolean failed = false; + private TreeSet usableTaskIds = new TreeSet(); + private TreeSet recentTasks = new TreeSet(); + private JobConf conf; - TreeMap taskDiagnosticData = new TreeMap(); - TreeMap taskStatuses = new TreeMap(); + private TreeMap taskDiagnosticData = new TreeMap(); + private TreeMap taskStatuses = new TreeMap(); - TreeSet machinesWhereFailed = new TreeSet(); - TreeSet tasksReportedClosed = new TreeSet(); + private TreeSet machinesWhereFailed = new TreeSet(); + private TreeSet tasksReportedClosed = new TreeSet(); /** * Constructor for MapTask */ - public TaskInProgress(String jobFile, FileSplit split, JobTracker jobtracker, Configuration conf, JobInProgress job) { + public TaskInProgress(String jobFile, FileSplit split, JobTracker jobtracker, JobConf conf, JobInProgress job) { this.jobFile = jobFile; this.split = split; this.jobtracker = jobtracker; @@ -89,7 +89,7 @@ /** * Constructor for ReduceTask */ - public TaskInProgress(String jobFile, TaskInProgress predecessors[], int partition, JobTracker jobtracker, Configuration conf, JobInProgress job) { + public TaskInProgress(String jobFile, TaskInProgress predecessors[], int partition, JobTracker jobtracker, JobConf conf, JobInProgress job) { this.jobFile = jobFile; this.predecessors = predecessors; this.partition = partition; @@ -408,7 +408,7 @@ // if (isMapTask() && recentTasks.size() <= MAX_TASK_EXECS && - conf.getBoolean("mapred.speculative.execution", true) && + conf.getSpeculativeExecution() && (averageProgress - progress >= SPECULATIVE_GAP) && (System.currentTimeMillis() - startTime >= SPECULATIVE_LAG)) { return true; From [email protected] Thu Mar 16 00:05:01 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65276 invoked from network); 16 Mar 2006 00:05:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Mar 2006 00:05:00 -0000 Received: (qmail 47137 invoked by uid 500); 16 Mar 2006 00:05:00 -0000 Delivered-To: [email protected] Received: (qmail 47119 invoked by uid 500); 16 Mar 2006 00:05:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 47105 invoked by uid 99); 16 Mar 2006 00:04:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Mar 2006 16:04:59 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 15 Mar 2006 16:04:59 -0800 Received: (qmail 65085 invoked by uid 65534); 16 Mar 2006 00:04:38 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r386226 - /lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java Date: Thu, 16 Mar 2006 00:04:38 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Wed Mar 15 16:04:38 2006 New Revision: 386226 URL: http://svn.apache.org/viewcvs?rev=386226&view=rev Log: Fix for HADOOP-82. Completes count should never be less than zero. Contributed by Michael Stack. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java?rev=386226&r1=386225&r2=386226&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java Wed Mar 15 16:04:38 2006 @@ -268,7 +268,9 @@ status.setRunState(TaskStatus.FAILED); } this.recentTasks.remove(taskid); - this.completes--; + if (this.completes > 0) { + this.completes--; + } numTaskFailures++; if (numTaskFailures >= MAX_TASK_FAILURES) { From [email protected] Thu Mar 16 21:18:59 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87599 invoked from network); 16 Mar 2006 21:18:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Mar 2006 21:18:59 -0000 Received: (qmail 89488 invoked by uid 500); 16 Mar 2006 21:18:59 -0000 Delivered-To: [email protected] Received: (qmail 89465 invoked by uid 500); 16 Mar 2006 21:18:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 89456 invoked by uid 99); 16 Mar 2006 21:18:58 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Mar 2006 13:18:58 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 16 Mar 2006 13:18:58 -0800 Received: (qmail 87490 invoked by uid 65534); 16 Mar 2006 21:18:37 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r386459 - in /lucene/hadoop/trunk/src: java/org/apache/hadoop/ipc/RPC.java java/org/apache/hadoop/ipc/Server.java test/org/apache/hadoop/ipc/TestRPC.java Date: Thu, 16 Mar 2006 21:18:36 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Thu Mar 16 13:18:34 2006 New Revision: 386459 URL: http://svn.apache.org/viewcvs?rev=386459&view=rev Log: Give server implementations access to a server's context. This consists of two additions. First is a static method Server.get() which returns the server instance it is called under, if any. Second is the new public class RPC.Server, that replaces a former anonymous class. RPC server implementation methods can now subclass RPC.Server to keep server state in the subclass. Application code can then call Server.get() to access that state. Note that Server.get() may be called under parameter deserialization and return value serialization methods as well, called before and after actual server method calls, respectively. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/RPC.java lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Server.java lucene/hadoop/trunk/src/test/org/apache/hadoop/ipc/TestRPC.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/RPC.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/RPC.java?rev=386459&r1=386458&r2=386459&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/RPC.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/RPC.java Thu Mar 16 13:18:34 2006 @@ -192,40 +192,68 @@ public static Server getServer(final Object instance, final int port, final int numHandlers, final boolean verbose, Configuration conf) { - return new Server(port, Invocation.class, numHandlers, conf) { + return new Server(instance, conf, port, numHandlers, verbose); + } - Class implementation = instance.getClass(); + /** An RPC Server. */ + public static class Server extends org.apache.hadoop.ipc.Server { + private Object instance; + private Class implementation; + private boolean verbose; - public Writable call(Writable param) throws IOException { - try { - Invocation call = (Invocation)param; - if (verbose) log("Call: " + call); - - Method method = - implementation.getMethod(call.getMethodName(), - call.getParameterClasses()); - - Object value = method.invoke(instance, call.getParameters()); - if (verbose) log("Return: "+value); - - return new ObjectWritable(method.getReturnType(), value); - - } catch (InvocationTargetException e) { - Throwable target = e.getTargetException(); - if (target instanceof IOException) { - throw (IOException)target; - } else { - IOException ioe = new IOException(target.toString()); - ioe.setStackTrace(target.getStackTrace()); - throw ioe; - } - } catch (Throwable e) { - IOException ioe = new IOException(e.toString()); - ioe.setStackTrace(e.getStackTrace()); - throw ioe; - } + /** Construct an RPC server. + * @param instance the instance whose methods will be called + * @param conf the configuration to use + * @param port the port to listen for connections on + */ + public Server(Object instance, Configuration conf, int port) { + this(instance, conf, port, 1, false); + } + + /** Construct an RPC server. + * @param instance the instance whose methods will be called + * @param conf the configuration to use + * @param port the port to listen for connections on + * @param numHandlers the number of method handler threads to run + * @param verbose whether each call should be logged + */ + public Server(Object instance, Configuration conf, int port, + int numHandlers, boolean verbose) { + super(port, Invocation.class, numHandlers, conf); + this.instance = instance; + this.implementation = instance.getClass(); + this.verbose = verbose; + } + + public Writable call(Writable param) throws IOException { + try { + Invocation call = (Invocation)param; + if (verbose) log("Call: " + call); + + Method method = + implementation.getMethod(call.getMethodName(), + call.getParameterClasses()); + + Object value = method.invoke(instance, call.getParameters()); + if (verbose) log("Return: "+value); + + return new ObjectWritable(method.getReturnType(), value); + + } catch (InvocationTargetException e) { + Throwable target = e.getTargetException(); + if (target instanceof IOException) { + throw (IOException)target; + } else { + IOException ioe = new IOException(target.toString()); + ioe.setStackTrace(target.getStackTrace()); + throw ioe; } - }; + } catch (Throwable e) { + IOException ioe = new IOException(e.toString()); + ioe.setStackTrace(e.getStackTrace()); + throw ioe; + } + } } private static void log(String value) { Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Server.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Server.java?rev=386459&r1=386458&r2=386459&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Server.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Server.java Thu Mar 16 13:18:34 2006 @@ -49,6 +49,16 @@ public static final Logger LOG = LogFormatter.getLogger("org.apache.hadoop.ipc.Server"); + private static final ThreadLocal SERVER = new ThreadLocal(); + + /** Returns the server instance called under or null. May be called under + * {@link #call(Writable)} implementations, and under {@link Writable} + * methods of paramters and return values. Permits applications to access + * the server context.*/ + public static Server get() { + return (Server)SERVER.get(); + } + private int port; // port we listen on private int handlerCount; // number of handler threads private int maxQueuedCalls; // max number of queued calls @@ -124,6 +134,7 @@ public void run() { LOG.info(getName() + ": starting"); + SERVER.set(Server.this); try { while (running) { int id; @@ -177,6 +188,7 @@ public void run() { LOG.info(getName() + ": starting"); + SERVER.set(Server.this); while (running) { try { Call call; Modified: lucene/hadoop/trunk/src/test/org/apache/hadoop/ipc/TestRPC.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/test/org/apache/hadoop/ipc/TestRPC.java?rev=386459&r1=386458&r2=386459&view=diff ============================================================================== --- lucene/hadoop/trunk/src/test/org/apache/hadoop/ipc/TestRPC.java (original) +++ lucene/hadoop/trunk/src/test/org/apache/hadoop/ipc/TestRPC.java Thu Mar 16 13:18:34 2006 @@ -54,6 +54,7 @@ int add(int v1, int v2) throws IOException; int add(int[] values) throws IOException; int error() throws IOException; + void testServerGet() throws IOException; } public class TestImpl implements TestProtocol { @@ -80,6 +81,12 @@ throw new IOException("bobo"); } + public void testServerGet() throws IOException { + if (!(Server.get() instanceof RPC.Server)) { + throw new IOException("Server.get() failed"); + } + } + } public void testCalls() throws Exception { @@ -112,6 +119,8 @@ caught = true; } assertTrue(caught); + + proxy.testServerGet(); // try some multi-calls Method echo = From [email protected] Thu Mar 16 23:17:37 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49321 invoked from network); 16 Mar 2006 23:17:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Mar 2006 23:17:36 -0000 Received: (qmail 50862 invoked by uid 500); 16 Mar 2006 23:17:36 -0000 Delivered-To: [email protected] Received: (qmail 50824 invoked by uid 500); 16 Mar 2006 23:17:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 50815 invoked by uid 99); 16 Mar 2006 23:17:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Mar 2006 15:17:36 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Mar 2006 15:17:35 -0800 Received: from ajax.apache.org (localhost.localdomain [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 8D715D49FD for <[email protected]>; Thu, 16 Mar 2006 23:17:14 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Thu, 16 Mar 2006 23:17:14 -0000 Message-ID: <[email protected]> Subject: [Lucene-hadoop Wiki] Update of "HowToContribute" by DougCutting X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Lucene-hadoop Wiki" for change notification. The following page has been changed by DougCutting: http://wiki.apache.org/lucene-hadoop/HowToContribute New page: = How to Contribute to Hadoop = === Getting the source code === First of all, you need the Hadoop source code.[[BR]] Get the source code on your local drive using [http://lucene.apache.org/hadoop/version_control.html SVN]. Most development is done on the "trunk": {{{ svn checkout http://svn.apache.org/repos/asf/lucene/hadoop/trunk/ hadoop-trunk }}} Modify the source code and add some (very) nice features using your favorite IDE.[[BR]] But take care about the following points * All public classes and methods should have informative javadoc. * Unit tests are encouraged ([http://www.junit.org]). === Generating a patch === Please make sure that all unit tests succeed before constructing your patch. ==== Unit Tests ==== {{{ > cd hadoop-trunk > ant clean test }}} After a while, if you see {{{ BUILD SUCCESSFUL }}} all is ok, but if you see {{{ BUILD FAILED }}} please, read carefully the errors messages and check your code. ==== Creating a patch ==== In order to create a patch, just type: {{{ svn diff > myBeautifulPatch.patch }}} This will report all modifications done on Hadoop sources on your local disk and save them into the ''myBeautifulPath.patch'' file. Make sure the patch file includes ONLY the modifications you want to add to the Hadoop. Use "svn add" to incorporate new files into the patch. === Contributing your work === Finally, patches should be attached to a bug report in [http://issues.apache.org/jira/browse/HADOOP Jira]. == Stay involved == Contributors should join the [http://lucene.apache.org/hadoop/mailing_lists.html Hadoop mailing lists]. In particular, the commit list (to see changes as they are made), the dev list (to join discussions of changes) and the user list (to help others). From [email protected] Thu Mar 16 23:18:32 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49862 invoked from network); 16 Mar 2006 23:18:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Mar 2006 23:18:31 -0000 Received: (qmail 52730 invoked by uid 500); 16 Mar 2006 23:18:31 -0000 Delivered-To: [email protected] Received: (qmail 52711 invoked by uid 500); 16 Mar 2006 23:18:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 52680 invoked by uid 99); 16 Mar 2006 23:18:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Mar 2006 15:18:31 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Mar 2006 15:18:30 -0800 Received: from ajax.apache.org (localhost.localdomain [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id B86EAD49FD for <[email protected]>; Thu, 16 Mar 2006 23:18:09 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Thu, 16 Mar 2006 23:18:09 -0000 Message-ID: <[email protected]> Subject: [Lucene-hadoop Wiki] Update of "FrontPage" by DougCutting X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Lucene-hadoop Wiki" for change notification. The following page has been changed by DougCutting: http://wiki.apache.org/lucene-hadoop/FrontPage ------------------------------------------------------------------------------ == Hadoop Development == * Self:Roadmap, listing release plans. + * HowToContribute == Other Resources == From [email protected] Mon Mar 20 19:08:32 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58190 invoked from network); 20 Mar 2006 19:08:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Mar 2006 19:08:32 -0000 Received: (qmail 89656 invoked by uid 500); 20 Mar 2006 19:08:32 -0000 Delivered-To: [email protected] Received: (qmail 89633 invoked by uid 500); 20 Mar 2006 19:08:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 89624 invoked by uid 99); 20 Mar 2006 19:08:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Mar 2006 11:08:32 -0800 X-ASF-Spam-Status: No, hits=-8.6 required=10.0 tests=ALL_TRUSTED,INFO_TLD,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 20 Mar 2006 11:08:30 -0800 Received: (qmail 57913 invoked by uid 65534); 20 Mar 2006 19:08:10 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r387279 - in /lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred: MapOutputFile.java TaskTracker.java Date: Mon, 20 Mar 2006 19:08:08 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Mon Mar 20 11:08:07 2006 New Revision: 387279 URL: http://svn.apache.org/viewcvs?rev=387279&view=rev Log: Fix for HADOOP-86. Errors while reading map output now cause map task to fail and be re-executed. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapOutputFile.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapOutputFile.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapOutputFile.java?rev=387279&r1=387278&r2=387279&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapOutputFile.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapOutputFile.java Mon Mar 20 11:08:07 2006 @@ -23,6 +23,8 @@ import org.apache.hadoop.io.*; import org.apache.hadoop.fs.*; import org.apache.hadoop.conf.*; +import org.apache.hadoop.ipc.Server; +import org.apache.hadoop.mapred.TaskTracker.MapOutputServer; /** A local file to be transferred via the {@link MapOutputProtocol}. */ class MapOutputFile implements Writable, Configurable { @@ -106,16 +108,15 @@ UTF8.writeString(out, reduceTaskId); out.writeInt(partition); - // write the length-prefixed file content to the wire File file = getOutputFile(mapTaskId, partition); - out.writeLong(file.length()); - FSDataInputStream in = null; try { + // write the length-prefixed file content to the wire + out.writeLong(file.length()); in = FileSystem.getNamed("local", this.jobConf).open(file); - } catch (IOException e) { - // log a SEVERE exception in order to cause TaskTracker to exit + } catch (FileNotFoundException e) { TaskTracker.LOG.log(Level.SEVERE, "Can't open map output:" + file, e); + ((MapOutputServer)Server.get()).getTaskTracker().mapOutputLost(mapTaskId); throw e; } try { @@ -127,8 +128,8 @@ try { l = in.read(buffer); } catch (IOException e) { - // log a SEVERE exception in order to cause TaskTracker to exit TaskTracker.LOG.log(Level.SEVERE,"Can't read map output:" + file, e); + ((MapOutputServer)Server.get()).getTaskTracker().mapOutputLost(mapTaskId); throw e; } } Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java?rev=387279&r1=387278&r2=387279&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java Mon Mar 20 11:08:07 2006 @@ -70,6 +70,15 @@ private int maxCurrentTasks; + class MapOutputServer extends RPC.Server { + private MapOutputServer(int port, int threads) { + super(TaskTracker.this, fConf, port, threads, false); + } + public TaskTracker getTaskTracker() { + return TaskTracker.this; + } + } + /** * Start with the local machine name, and the default JobTracker */ @@ -127,7 +136,7 @@ } while (true) { try { - this.mapOutputServer = RPC.getServer(this, this.mapOutputPort, maxCurrentTasks, false, this.fConf); + this.mapOutputServer = new MapOutputServer(mapOutputPort, maxCurrentTasks); this.mapOutputServer.start(); break; } catch (BindException e) { @@ -305,11 +314,6 @@ } } lastHeartbeat = now; - - if (LogFormatter.hasLoggedSevere()) { - LOG.info("Severe problem detected. TaskTracker exiting."); - return STALE_STATE; - } } return 0; @@ -539,6 +543,22 @@ } /** + * The map output has been lost. + */ + public synchronized void mapOutputLost() throws IOException { + if (runstate == TaskStatus.SUCCEEDED) { + LOG.info("Reporting output lost:"+task.getTaskId()); + runstate = TaskStatus.FAILED; // change status to failure + synchronized (TaskTracker.this) { // force into next heartbeat + runningTasks.put(task.getTaskId(), this); + mapTotal++; + } + } else { + LOG.warning("Output already reported lost:"+task.getTaskId()); + } + } + + /** * We no longer need anything from this task. Either the * controlling job is all done and the files have been copied * away, or the task failed and we don't need the remains. @@ -642,6 +662,18 @@ tip.taskFinished(); } else { LOG.warning("Unknown child task finshed: "+taskid+". Ignored."); + } + } + + /** + * A completed map task's output has been lost. + */ + public synchronized void mapOutputLost(String taskid) throws IOException { + TaskInProgress tip = (TaskInProgress) tasks.get(taskid); + if (tip != null) { + tip.mapOutputLost(); + } else { + LOG.warning("Unknown child with bad map output: "+taskid+". Ignored."); } } From [email protected] Tue Mar 21 17:38:33 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54239 invoked from network); 21 Mar 2006 17:38:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Mar 2006 17:38:33 -0000 Received: (qmail 59886 invoked by uid 500); 21 Mar 2006 17:38:33 -0000 Delivered-To: [email protected] Received: (qmail 59846 invoked by uid 500); 21 Mar 2006 17:38:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 59831 invoked by uid 99); 21 Mar 2006 17:38:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Mar 2006 09:38:32 -0800 X-ASF-Spam-Status: No, hits=-8.6 required=10.0 tests=ALL_TRUSTED,INFO_TLD,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 21 Mar 2006 09:38:32 -0800 Received: (qmail 53914 invoked by uid 65534); 21 Mar 2006 17:38:03 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r387587 - in /lucene/hadoop/trunk: conf/hadoop-default.xml src/java/org/apache/hadoop/mapred/InputFormatBase.java Date: Tue, 21 Mar 2006 17:37:50 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Tue Mar 21 09:37:45 2006 New Revision: 387587 URL: http://svn.apache.org/viewcvs?rev=387587&view=rev Log: Fix for HADOOP-93. Convert min split size from int to long, and permit its specification in the config. Modified: lucene/hadoop/trunk/conf/hadoop-default.xml lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/InputFormatBase.java Modified: lucene/hadoop/trunk/conf/hadoop-default.xml URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/conf/hadoop-default.xml?rev=387587&r1=387586&r2=387587&view=diff ============================================================================== --- lucene/hadoop/trunk/conf/hadoop-default.xml (original) +++ lucene/hadoop/trunk/conf/hadoop-default.xml Tue Mar 21 09:37:45 2006 @@ -221,6 +221,14 @@ be executed in parallel.</description> </property> +<property> + <name>mapred.min.split.size</name> + <value>0</value> + <description>The minimum size chunk that map input should be split + into. Note that some file formats may have minimum split sizes that + take priority over this setting.</description> +</property> + <!-- ipc properties --> Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/InputFormatBase.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/InputFormatBase.java?rev=387587&r1=387586&r2=387587&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/InputFormatBase.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/InputFormatBase.java Tue Mar 21 09:37:45 2006 @@ -33,9 +33,9 @@ private static final double SPLIT_SLOP = 0.1; // 10% slop - private int minSplitSize = 1; + private long minSplitSize = 1; - protected void setMinSplitSize(int minSplitSize) { + protected void setMinSplitSize(long minSplitSize) { this.minSplitSize = minSplitSize; } @@ -112,8 +112,11 @@ bytesPerSplit = fsBlockSize; } - if (bytesPerSplit < minSplitSize) { // no smaller than min size - bytesPerSplit = minSplitSize; + long configuredMinSplitSize = job.getLong("mapred.min.split.size", 0); + if( configuredMinSplitSize < minSplitSize ) + configuredMinSplitSize = minSplitSize; + if (bytesPerSplit < configuredMinSplitSize) { // no smaller than min size + bytesPerSplit = configuredMinSplitSize; } long maxPerSplit = bytesPerSplit + (long)(bytesPerSplit*SPLIT_SLOP); @@ -135,7 +138,9 @@ if (bytesRemaining != 0) { splits.add(new FileSplit(file, length-bytesRemaining, bytesRemaining)); } + //LOG.info( "Generating splits for " + i + "th file: " + file.getName() ); } + //LOG.info( "Total # of splits: " + splits.size() ); return (FileSplit[])splits.toArray(new FileSplit[splits.size()]); } From [email protected] Tue Mar 21 21:40:50 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84987 invoked from network); 21 Mar 2006 21:40:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Mar 2006 21:40:50 -0000 Received: (qmail 5426 invoked by uid 500); 21 Mar 2006 21:40:49 -0000 Delivered-To: [email protected] Received: (qmail 5405 invoked by uid 500); 21 Mar 2006 21:40:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 5396 invoked by uid 99); 21 Mar 2006 21:40:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Mar 2006 13:40:49 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 21 Mar 2006 13:40:48 -0800 Received: (qmail 84773 invoked by uid 65534); 21 Mar 2006 21:40:28 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r387629 - /lucene/hadoop/trunk/src/java/org/apache/hadoop/io/SequenceFile.java Date: Tue, 21 Mar 2006 21:40:28 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Tue Mar 21 13:40:26 2006 New Revision: 387629 URL: http://svn.apache.org/viewcvs?rev=387629&view=rev Log: Fix for HADOOP-87. Dont' pass large buffers through to deflater as this is inefficient. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/io/SequenceFile.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/io/SequenceFile.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/io/SequenceFile.java?rev=387629&r1=387628&r2=387629&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/io/SequenceFile.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/io/SequenceFile.java Tue Mar 21 13:40:26 2006 @@ -57,9 +57,11 @@ private Class valClass; private boolean deflateValues; - private DataOutputBuffer deflateIn = new DataOutputBuffer(); - private byte[] deflateOut = new byte[8192]; private Deflater deflater = new Deflater(Deflater.BEST_SPEED); + private DeflaterOutputStream deflateFilter = + new DeflaterOutputStream(buffer, deflater); + private DataOutputStream deflateOut = + new DataOutputStream(new BufferedOutputStream(deflateFilter)); // Insert a globally unique 16-byte value every few entries, so that one // can seek into the middle of a file and then synchronize with record @@ -155,15 +157,10 @@ throw new IOException("zero length keys not allowed: " + key); if (deflateValues) { - deflateIn.reset(); - val.write(deflateIn); deflater.reset(); - deflater.setInput(deflateIn.getData(), 0, deflateIn.getLength()); - deflater.finish(); - while (!deflater.finished()) { - int count = deflater.deflate(deflateOut); - buffer.write(deflateOut, 0, count); - } + val.write(deflateOut); + deflateOut.flush(); + deflateFilter.finish(); } else { val.write(buffer); } From [email protected] Tue Mar 21 22:01:50 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96559 invoked from network); 21 Mar 2006 22:01:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Mar 2006 22:01:50 -0000 Received: (qmail 44111 invoked by uid 500); 21 Mar 2006 22:01:50 -0000 Delivered-To: [email protected] Received: (qmail 44093 invoked by uid 500); 21 Mar 2006 22:01:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 44084 invoked by uid 99); 21 Mar 2006 22:01:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Mar 2006 14:01:50 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 21 Mar 2006 14:01:49 -0800 Received: (qmail 96161 invoked by uid 65534); 21 Mar 2006 22:01:29 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r387636 - /lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSShell.java Date: Tue, 21 Mar 2006 22:01:28 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Tue Mar 21 14:01:27 2006 New Revision: 387636 URL: http://svn.apache.org/viewcvs?rev=387636&view=rev Log: Fix for HADOOP-97. Improve error handling. Contributed by Konstantin Shvachko. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSShell.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSShell.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSShell.java?rev=387636&r1=387635&r2=387636&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSShell.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSShell.java Tue Mar 21 14:01:27 2006 @@ -66,9 +66,8 @@ } void cat(String srcf) throws IOException { - FSDataInputStream in = null; + FSDataInputStream in = fs.open(new File(srcf)); try { - in = fs.open(new File(srcf)); DataInputStream din = new DataInputStream(new BufferedInputStream(in)); String line; while((line = din.readLine()) != null) { @@ -242,10 +241,10 @@ Configuration conf = new Configuration(); int i = 0; FileSystem fs = FileSystem.parseArgs(argv, i, conf); + String cmd = argv[i++]; try { DFSShell tc = new DFSShell(fs); - String cmd = argv[i++]; if ("-put".equals(cmd) || "-copyFromLocal".equals(cmd)) { tc.copyFromLocal(new File(argv[i++]), argv[i++]); } else if ("-moveFromLocal".equals(cmd)) { @@ -277,6 +276,9 @@ tc.report(); } System.exit(0); + } catch (IOException e ) { + System.err.println( cmd.substring(1) + ": " + e.getLocalizedMessage() ); + System.exit(-1); } finally { fs.close(); } From [email protected] Tue Mar 21 22:13:10 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4000 invoked from network); 21 Mar 2006 22:13:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Mar 2006 22:13:10 -0000 Received: (qmail 70293 invoked by uid 500); 21 Mar 2006 22:13:09 -0000 Delivered-To: [email protected] Received: (qmail 70261 invoked by uid 500); 21 Mar 2006 22:13:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 70229 invoked by uid 99); 21 Mar 2006 22:13:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Mar 2006 14:13:09 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 21 Mar 2006 14:13:07 -0800 Received: (qmail 3872 invoked by uid 65534); 21 Mar 2006 22:12:46 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r387642 - /lucene/hadoop/trunk/bin/start-all.sh Date: Tue, 21 Mar 2006 22:12:46 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Tue Mar 21 14:12:44 2006 New Revision: 387642 URL: http://svn.apache.org/viewcvs?rev=387642&view=rev Log: Start namenode before datanodes to minimize datanode startup errors. Modified: lucene/hadoop/trunk/bin/start-all.sh Modified: lucene/hadoop/trunk/bin/start-all.sh URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/bin/start-all.sh?rev=387642&r1=387641&r2=387642&view=diff ============================================================================== --- lucene/hadoop/trunk/bin/start-all.sh (original) +++ lucene/hadoop/trunk/bin/start-all.sh Tue Mar 21 14:12:44 2006 @@ -5,7 +5,7 @@ bin=`dirname "$0"` bin=`cd "$bin"; pwd` -"$bin"/hadoop-daemons.sh start datanode "$bin"/hadoop-daemon.sh start namenode +"$bin"/hadoop-daemons.sh start datanode "$bin"/hadoop-daemon.sh start jobtracker "$bin"/hadoop-daemons.sh start tasktracker From [email protected] Tue Mar 21 22:50:35 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20884 invoked from network); 21 Mar 2006 22:50:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Mar 2006 22:50:34 -0000 Received: (qmail 38560 invoked by uid 500); 21 Mar 2006 22:50:27 -0000 Delivered-To: [email protected] Received: (qmail 38469 invoked by uid 500); 21 Mar 2006 22:50:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 38375 invoked by uid 99); 21 Mar 2006 22:50:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Mar 2006 14:50:26 -0800 X-ASF-Spam-Status: No, hits=-8.6 required=10.0 tests=ALL_TRUSTED,INFO_TLD,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 21 Mar 2006 14:50:26 -0800 Received: (qmail 20675 invoked by uid 65534); 21 Mar 2006 22:50:05 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r387660 - in /lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc: Client.java Server.java Date: Tue, 21 Mar 2006 22:50:04 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Tue Mar 21 14:50:04 2006 New Revision: 387660 URL: http://svn.apache.org/viewcvs?rev=387660&view=rev Log: Fix for HADOOP-44. The error string for remote exceptions now contains the full remote stack trace. Remote exceptions are now also re-thrown on the client as RemoteException rather than IOException, so that they can be distinguished from other IOExceptions. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Client.java lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Server.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Client.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Client.java?rev=387660&r1=387659&r2=387660&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Client.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Client.java Tue Mar 21 14:50:04 2006 @@ -29,6 +29,8 @@ import java.io.FilterInputStream; import java.io.FilterOutputStream; +import java.rmi.RemoteException; + import java.util.Hashtable; import java.util.logging.Logger; import java.util.logging.Level; @@ -298,7 +300,7 @@ } while (!call.done && wait > 0); if (call.error != null) { - throw new IOException(call.error); + throw new RemoteException(call.error); } else if (!call.done) { throw new IOException("timed out waiting for response"); } else { Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Server.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Server.java?rev=387660&r1=387659&r2=387660&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Server.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Server.java Tue Mar 21 14:50:04 2006 @@ -22,6 +22,8 @@ import java.io.DataOutputStream; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; +import java.io.StringWriter; +import java.io.PrintWriter; import java.net.Socket; import java.net.ServerSocket; @@ -214,10 +216,10 @@ value = call(call.param); // make the call } catch (IOException e) { LOG.log(Level.INFO, getName() + " call error: " + e, e); - error = e.getMessage(); + error = getStackTrace(e); } catch (Exception e) { LOG.log(Level.INFO, getName() + " call error: " + e, e); - error = e.toString(); + error = getStackTrace(e); } DataOutputStream out = call.connection.out; @@ -236,6 +238,15 @@ } LOG.info(getName() + ": exiting"); } + + private String getStackTrace(Throwable throwable) { + StringWriter stringWriter = new StringWriter(); + PrintWriter printWriter = new PrintWriter(stringWriter); + throwable.printStackTrace(printWriter); + printWriter.flush(); + return stringWriter.toString(); + } + } /** Constructs a server listening on the named port. Parameters passed must From [email protected] Tue Mar 21 23:19:35 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36563 invoked from network); 21 Mar 2006 23:19:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Mar 2006 23:19:35 -0000 Received: (qmail 97717 invoked by uid 500); 21 Mar 2006 23:19:25 -0000 Delivered-To: [email protected] Received: (qmail 97664 invoked by uid 500); 21 Mar 2006 23:19:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 97633 invoked by uid 99); 21 Mar 2006 23:19:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Mar 2006 15:19:25 -0800 X-ASF-Spam-Status: No, hits=-8.6 required=10.0 tests=ALL_TRUSTED,INFO_TLD,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 21 Mar 2006 15:19:24 -0800 Received: (qmail 36201 invoked by uid 65534); 21 Mar 2006 23:19:04 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r387664 - /lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java Date: Tue, 21 Mar 2006 23:19:03 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Tue Mar 21 15:18:59 2006 New Revision: 387664 URL: http://svn.apache.org/viewcvs?rev=387664&view=rev Log: Fix for HADOOP-45. Fatal task errors are now logged at the JobTracker, facilitating debugging. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java?rev=387664&r1=387663&r2=387664&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java Tue Mar 21 15:18:59 2006 @@ -241,6 +241,7 @@ String taskid = status.getTaskId(); String diagInfo = status.getDiagnosticInfo(); if (diagInfo != null && diagInfo.length() > 0) { + LOG.info("Error from "+taskid+": "+diagInfo); Vector diagHistory = (Vector) taskDiagnosticData.get(taskid); if (diagHistory == null) { diagHistory = new Vector(); From [email protected] Wed Mar 22 20:14:31 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82998 invoked from network); 22 Mar 2006 20:14:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Mar 2006 20:14:30 -0000 Received: (qmail 45654 invoked by uid 500); 22 Mar 2006 20:14:30 -0000 Delivered-To: [email protected] Received: (qmail 45633 invoked by uid 500); 22 Mar 2006 20:14:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 45624 invoked by uid 99); 22 Mar 2006 20:14:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Mar 2006 12:14:29 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 22 Mar 2006 12:14:29 -0800 Received: (qmail 82897 invoked by uid 65534); 22 Mar 2006 20:14:08 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r387928 - in /lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred: JobClient.java JobConf.java Date: Wed, 22 Mar 2006 20:14:08 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Wed Mar 22 12:14:06 2006 New Revision: 387928 URL: http://svn.apache.org/viewcvs?rev=387928&view=rev Log: Fix for HADOOP-3. Don't permit jobs to write to a pre-existing output directory. Contributed by Owen O'Malley. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobClient.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobConf.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobClient.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobClient.java?rev=387928&r1=387927&r2=387928&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobClient.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobClient.java Wed Mar 22 12:14:06 2006 @@ -247,8 +247,20 @@ getFs().copyFromLocalFile(new File(originalJarPath), submitJarFile); } - // Write job file to JobTracker's fs - FSDataOutputStream out = getFs().create(submitJobFile); + FileSystem fs = getFs(); + + // Ensure that the output directory is set and not already there + File outDir = job.getOutputDir(); + if (outDir == null && job.getNumReduceTasks() != 0) { + throw new IOException("Output directory not set in JobConf."); + } + if (outDir != null && fs.exists(outDir)) { + throw new IOException("Output directory " + outDir + + " already exists."); + } + + // Write job file to JobTracker's fs + FSDataOutputStream out = fs.create(submitJobFile); try { job.write(out); } finally { @@ -347,7 +359,6 @@ } // Process args - String jobTrackerStr = argv[0]; String jobTrackerSpec = null; String submitJobFile = null; String jobid = null; Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobConf.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobConf.java?rev=387928&r1=387927&r2=387928&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobConf.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobConf.java Wed Mar 22 12:14:06 2006 @@ -143,7 +143,11 @@ return result; } - public File getOutputDir() { return new File(get("mapred.output.dir")); } + public File getOutputDir() { + String name = get("mapred.output.dir"); + return name == null ? null: new File(name); + } + public void setOutputDir(File dir) { set("mapred.output.dir", dir); } public InputFormat getInputFormat() { From [email protected] Wed Mar 22 23:05:44 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79260 invoked from network); 22 Mar 2006 23:05:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Mar 2006 23:05:40 -0000 Received: (qmail 44086 invoked by uid 500); 22 Mar 2006 23:05:39 -0000 Delivered-To: [email protected] Received: (qmail 44045 invoked by uid 500); 22 Mar 2006 23:05:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 44036 invoked by uid 99); 22 Mar 2006 23:05:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Mar 2006 15:05:39 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 22 Mar 2006 15:05:38 -0800 Received: (qmail 79073 invoked by uid 65534); 22 Mar 2006 23:05:17 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r387963 - in /lucene/hadoop/trunk: site/images/hadoop-logo.jpg src/site/src/documentation/resources/images/hadoop-logo-big.jpg src/site/src/documentation/resources/images/hadoop-logo.jpg Date: Wed, 22 Mar 2006 23:05:16 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Wed Mar 22 15:05:12 2006 New Revision: 387963 URL: http://svn.apache.org/viewcvs?rev=387963&view=rev Log: Much improved hadoop logo. Contributed by Stefan. Thanks! Added: lucene/hadoop/trunk/src/site/src/documentation/resources/images/hadoop-logo-big.jpg (with props) Modified: lucene/hadoop/trunk/site/images/hadoop-logo.jpg lucene/hadoop/trunk/src/site/src/documentation/resources/images/hadoop-logo.jpg Modified: lucene/hadoop/trunk/site/images/hadoop-logo.jpg URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/site/images/hadoop-logo.jpg?rev=387963&r1=387962&r2=387963&view=diff ============================================================================== Binary files - no diff available. Added: lucene/hadoop/trunk/src/site/src/documentation/resources/images/hadoop-logo-big.jpg URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/site/src/documentation/resources/images/hadoop-logo-big.jpg?rev=387963&view=auto ============================================================================== Binary file - no diff available. Propchange: lucene/hadoop/trunk/src/site/src/documentation/resources/images/hadoop-logo-big.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Modified: lucene/hadoop/trunk/src/site/src/documentation/resources/images/hadoop-logo.jpg URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/site/src/documentation/resources/images/hadoop-logo.jpg?rev=387963&r1=387962&r2=387963&view=diff ============================================================================== Binary files - no diff available. From [email protected] Thu Mar 23 18:12:56 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58781 invoked from network); 23 Mar 2006 18:12:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Mar 2006 18:12:56 -0000 Received: (qmail 16461 invoked by uid 500); 23 Mar 2006 18:12:55 -0000 Delivered-To: [email protected] Received: (qmail 16428 invoked by uid 500); 23 Mar 2006 18:12:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 16419 invoked by uid 99); 23 Mar 2006 18:12:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Mar 2006 10:12:55 -0800 X-ASF-Spam-Status: No, hits=-8.6 required=10.0 tests=ALL_TRUSTED,INFO_TLD,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 23 Mar 2006 10:12:54 -0800 Received: (qmail 58675 invoked by uid 65534); 23 Mar 2006 18:12:33 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r388225 - in /lucene/hadoop/trunk: bin/start-all.sh src/java/org/apache/hadoop/dfs/DFSClient.java Date: Thu, 23 Mar 2006 18:12:32 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Thu Mar 23 10:12:28 2006 New Revision: 388225 URL: http://svn.apache.org/viewcvs?rev=388225&view=rev Log: Fix for HADOOP-83. Modified: lucene/hadoop/trunk/bin/start-all.sh lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java Modified: lucene/hadoop/trunk/bin/start-all.sh URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/bin/start-all.sh?rev=388225&r1=388224&r2=388225&view=diff ============================================================================== --- lucene/hadoop/trunk/bin/start-all.sh (original) +++ lucene/hadoop/trunk/bin/start-all.sh Thu Mar 23 10:12:28 2006 @@ -5,7 +5,13 @@ bin=`dirname "$0"` bin=`cd "$bin"; pwd` -"$bin"/hadoop-daemon.sh start namenode +# start dfs daemons +# start namenode after datanodes, to minimize time namenode is up w/o data +# note: datanodes will log connection errors until namenode starts "$bin"/hadoop-daemons.sh start datanode +"$bin"/hadoop-daemon.sh start namenode + +# start mapred daemons +# start jobtracker first to minimize connection errors at startup "$bin"/hadoop-daemon.sh start jobtracker "$bin"/hadoop-daemons.sh start tasktracker Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java?rev=388225&r1=388224&r2=388225&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java Thu Mar 23 10:12:28 2006 @@ -40,7 +40,7 @@ ********************************************************/ class DFSClient implements FSConstants { public static final Logger LOG = LogFormatter.getLogger("org.apache.hadoop.fs.DFSClient"); - static int MAX_BLOCK_ACQUIRE_FAILURES = 10; + static int MAX_BLOCK_ACQUIRE_FAILURES = 3; ClientProtocol namenode; String localName; boolean running = true; @@ -358,17 +358,15 @@ chosenNode = bestNode(nodes[targetBlock], deadNodes); targetAddr = DataNode.createSocketAddr(chosenNode.getName().toString()); } catch (IOException ie) { - /** if (failures >= MAX_BLOCK_ACQUIRE_FAILURES) { throw new IOException("Could not obtain block " + blocks[targetBlock]); } - **/ if (nodes[targetBlock] == null || nodes[targetBlock].length == 0) { LOG.info("No node available for block " + blocks[targetBlock]); } LOG.info("Could not obtain block from any node: " + ie); try { - Thread.sleep(10000); + Thread.sleep(3000); } catch (InterruptedException iex) { } deadNodes.clear(); From [email protected] Thu Mar 23 18:39:28 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73422 invoked from network); 23 Mar 2006 18:39:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Mar 2006 18:39:28 -0000 Received: (qmail 57279 invoked by uid 500); 23 Mar 2006 18:39:28 -0000 Delivered-To: [email protected] Received: (qmail 57237 invoked by uid 500); 23 Mar 2006 18:39:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 57223 invoked by uid 99); 23 Mar 2006 18:39:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Mar 2006 10:39:28 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 23 Mar 2006 10:39:26 -0800 Received: (qmail 73312 invoked by uid 65534); 23 Mar 2006 18:39:05 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r388229 - in /lucene/hadoop/trunk/src: java/org/apache/hadoop/dfs/ java/org/apache/hadoop/fs/ java/org/apache/hadoop/mapred/ test/org/apache/hadoop/dfs/ test/org/apache/hadoop/fs/ test/org/apache/hadoop/ipc/ webapps/mapred/ Date: Thu, 23 Mar 2006 18:38:52 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Thu Mar 23 10:38:47 2006 New Revision: 388229 URL: http://svn.apache.org/viewcvs?rev=388229&view=rev Log: Fix for HADOOP-52. Add username and working-directory to FileSystem and JobConf and use these to resolve relative paths. Contributed by Owen O'Malley. Added: lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/MiniDFSCluster.java lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestLocalDFS.java lucene/hadoop/trunk/src/test/org/apache/hadoop/fs/TestLocalFileSystem.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DistributedFileSystem.java lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/FileSystem.java lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/LocalFileSystem.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/InputFormatBase.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobClient.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobConf.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobProfile.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobSubmissionProtocol.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/LocalJobRunner.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java lucene/hadoop/trunk/src/test/org/apache/hadoop/ipc/TestRPC.java lucene/hadoop/trunk/src/webapps/mapred/jobtracker.jsp Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DistributedFileSystem.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DistributedFileSystem.java?rev=388229&r1=388228&r2=388229&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DistributedFileSystem.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DistributedFileSystem.java Thu Mar 23 10:38:47 2006 @@ -32,10 +32,9 @@ * @author Mike Cafarella *****************************************************************/ public class DistributedFileSystem extends FileSystem { - private static final String HOME_DIR = - "/user/" + System.getProperty("user.name") + "/"; + private File workingDir = + new File("/user/", System.getProperty("user.name")); - private Random r = new Random(); private String name; DFSClient dfs; @@ -50,11 +49,24 @@ public String getName() { return name; } - private UTF8 getPath(File file) { - String path = getDFSPath(file); - if (!path.startsWith(DFSFile.DFS_FILE_SEPARATOR)) { - path = getDFSPath(new File(HOME_DIR, path)); // make absolute + public File getWorkingDirectory() { + return workingDir; + } + + private File makeAbsolute(File f) { + if (f.isAbsolute()) { + return f; + } else { + return new File(workingDir, f.toString()); } + } + + public void setWorkingDirectory(File dir) { + workingDir = makeAbsolute(dir); + } + + private UTF8 getPath(File file) { + String path = getDFSPath(makeAbsolute(file)); return new UTF8(path); } Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/FileSystem.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/FileSystem.java?rev=388229&r1=388228&r2=388229&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/FileSystem.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/FileSystem.java Thu Mar 23 10:38:47 2006 @@ -295,6 +295,19 @@ } /** + * Set the current working directory for the given file system. + * All relative paths will be resolved relative to it. + * @param new_dir + */ + public abstract void setWorkingDirectory(File new_dir); + + /** + * Get the current working directory for the given file system + * @return the directory pathname + */ + public abstract File getWorkingDirectory(); + + /** * Make the given file and all non-existent parents into * directories. */ Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/LocalFileSystem.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/LocalFileSystem.java?rev=388229&r1=388228&r2=388229&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/LocalFileSystem.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/LocalFileSystem.java Thu Mar 23 10:38:47 2006 @@ -22,7 +22,6 @@ import org.apache.hadoop.fs.DF; import org.apache.hadoop.conf.Configuration; -import org.apache.hadoop.io.UTF8; /**************************************************************** * Implement the FileSystem API for the native filesystem. @@ -30,6 +29,7 @@ * @author Mike Cafarella *****************************************************************/ public class LocalFileSystem extends FileSystem { + private File workingDir = new File(System.getProperty("user.dir")); TreeMap sharedLockDataSet = new TreeMap(); TreeMap nonsharedLockDataSet = new TreeMap(); TreeMap lockObjSet = new TreeMap(); @@ -109,6 +109,7 @@ } public FSInputStream openRaw(File f) throws IOException { + f = makeAbsolute(f); if (! f.exists()) { throw new FileNotFoundException(f.toString()); } @@ -151,8 +152,17 @@ } } + private File makeAbsolute(File f) { + if (f.isAbsolute()) { + return f; + } else { + return new File(workingDir, f.toString()); + } + } + public FSOutputStream createRaw(File f, boolean overwrite) throws IOException { + f = makeAbsolute(f); if (f.exists() && ! overwrite) { throw new IOException("File already exists:"+f); } @@ -164,6 +174,8 @@ } public boolean renameRaw(File src, File dst) throws IOException { + src = makeAbsolute(src); + dst = makeAbsolute(dst); if (useCopyForRename) { FileUtil.copyContents(this, src, dst, true, getConf()); return fullyDelete(src); @@ -171,32 +183,54 @@ } public boolean deleteRaw(File f) throws IOException { + f = makeAbsolute(f); if (f.isFile()) { return f.delete(); } else return fullyDelete(f); } public boolean exists(File f) throws IOException { + f = makeAbsolute(f); return f.exists(); } public boolean isDirectory(File f) throws IOException { + f = makeAbsolute(f); return f.isDirectory(); } public long getLength(File f) throws IOException { + f = makeAbsolute(f); return f.length(); } public File[] listFilesRaw(File f) throws IOException { + f = makeAbsolute(f); return f.listFiles(); } public void mkdirs(File f) throws IOException { + f = makeAbsolute(f); f.mkdirs(); } + /** + * Set the working directory to the given directory. + * Sets both a local variable and the system property. + * Note that the system property is only used if the application explictly + * calls java.io.File.getAbsolutePath(). + */ + public void setWorkingDirectory(File new_dir) { + workingDir = makeAbsolute(new_dir); + System.setProperty("user.dir", workingDir.toString()); + } + + public File getWorkingDirectory() { + return workingDir; + } + public synchronized void lock(File f, boolean shared) throws IOException { + f = makeAbsolute(f); f.createNewFile(); FileLock lockObj = null; @@ -213,6 +247,7 @@ } public synchronized void release(File f) throws IOException { + f = makeAbsolute(f); FileLock lockObj = (FileLock) lockObjSet.get(f); FileInputStream sharedLockData = (FileInputStream) sharedLockDataSet.get(f); FileOutputStream nonsharedLockData = (FileOutputStream) nonsharedLockDataSet.get(f); @@ -238,6 +273,8 @@ // In the case of the local filesystem, we can just rename the file. public void moveFromLocalFile(File src, File dst) throws IOException { if (! src.equals(dst)) { + src = makeAbsolute(src); + dst = makeAbsolute(dst); if (useCopyForRename) { FileUtil.copyContents(this, src, dst, true, getConf()); fullyDelete(src); @@ -248,6 +285,8 @@ // Similar to moveFromLocalFile(), except the source is kept intact. public void copyFromLocalFile(File src, File dst) throws IOException { if (! src.equals(dst)) { + src = makeAbsolute(src); + dst = makeAbsolute(dst); FileUtil.copyContents(this, src, dst, true, getConf()); } } @@ -255,13 +294,15 @@ // We can't delete the src file in this case. Too bad. public void copyToLocalFile(File src, File dst) throws IOException { if (! src.equals(dst)) { + src = makeAbsolute(src); + dst = makeAbsolute(dst); FileUtil.copyContents(this, src, dst, true, getConf()); } } // We can write output directly to the final location public File startLocalOutput(File fsOutputFile, File tmpLocalFile) throws IOException { - return fsOutputFile; + return makeAbsolute(fsOutputFile); } // It's in the right place - nothing to do. @@ -270,7 +311,7 @@ // We can read directly from the real local fs. public File startLocalInput(File fsInputFile, File tmpLocalFile) throws IOException { - return fsInputFile; + return makeAbsolute(fsInputFile); } // We're done reading. Nothing to clean up. @@ -292,6 +333,7 @@ * @throws IOException */ private boolean fullyDelete(File dir) throws IOException { + dir = makeAbsolute(dir); File contents[] = dir.listFiles(); if (contents != null) { for (int i = 0; i < contents.length; i++) { @@ -315,7 +357,7 @@ long start, long length, int crc) { try { // canonicalize f - f = f.getCanonicalFile(); + f = makeAbsolute(f).getCanonicalFile(); // find highest writable parent dir of f on the same device String device = new DF(f.toString()).getMount(); Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/InputFormatBase.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/InputFormatBase.java?rev=388229&r1=388228&r2=388229&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/InputFormatBase.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/InputFormatBase.java Thu Mar 23 10:38:47 2006 @@ -59,9 +59,15 @@ protected File[] listFiles(FileSystem fs, JobConf job) throws IOException { File[] dirs = job.getInputDirs(); + String workDir = job.getWorkingDirectory(); String subdir = job.get("mapred.input.subdir"); ArrayList result = new ArrayList(); for (int i = 0; i < dirs.length; i++) { + // if it is relative, make it absolute using the directory from the + // JobConf + if (workDir != null && !dirs[i].isAbsolute()) { + dirs[i] = new File(workDir, dirs[i].toString()); + } File[] dir = fs.listFiles(dirs[i]); if (dir != null) { for (int j = 0; j < dir.length; j++) { Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobClient.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobClient.java?rev=388229&r1=388228&r2=388229&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobClient.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobClient.java Thu Mar 23 10:38:47 2006 @@ -247,7 +247,14 @@ getFs().copyFromLocalFile(new File(originalJarPath), submitJarFile); } - FileSystem fs = getFs(); + FileSystem fileSys = getFs(); + + // Set the user's name and working directory + String user = System.getProperty("user.name"); + job.setUser(user != null ? user : "Dr Who"); + if (job.getWorkingDirectory() == null) { + job.setWorkingDirectory(fileSys.getWorkingDirectory().toString()); + } // Ensure that the output directory is set and not already there File outDir = job.getOutputDir(); @@ -260,7 +267,7 @@ } // Write job file to JobTracker's fs - FSDataOutputStream out = fs.create(submitJobFile); + FSDataOutputStream out = fileSys.create(submitJobFile); try { job.write(out); } finally { Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobConf.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobConf.java?rev=388229&r1=388228&r2=388229&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobConf.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobConf.java Thu Mar 23 10:38:47 2006 @@ -143,6 +143,38 @@ return result; } + /** + * Get the reported username for this job. + * @return the username + */ + public String getUser() { + return get("user.name"); + } + + /** + * Set the reported username for this job. + * @param user the username + */ + public void setUser(String user) { + set("user.name", user); + } + + /** + * Set the current working directory for the default file system + * @param dir the new current working directory + */ + public void setWorkingDirectory(String dir) { + set("mapred.working.dir", dir); + } + + /** + * Get the current working directory for the default file system. + * @return the directory name + */ + public String getWorkingDirectory() { + return get("mapred.working.dir"); + } + public File getOutputDir() { String name = get("mapred.output.dir"); return name == null ? null: new File(name); Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java?rev=388229&r1=388228&r2=388229&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java Thu Mar 23 10:38:47 2006 @@ -62,7 +62,6 @@ String jobid = "job_" + jobtracker.createUniqueId(); String url = "http://" + jobtracker.getJobTrackerMachine() + ":" + jobtracker.getInfoPort() + "/jobdetails.jsp?jobid=" + jobid; this.jobtracker = jobtracker; - this.profile = new JobProfile(jobid, jobFile, url); this.status = new JobStatus(jobid, 0.0f, 0.0f, JobStatus.PREP); this.startTime = System.currentTimeMillis(); @@ -75,6 +74,7 @@ fs.copyToLocalFile(new File(jobFile), localJobFile); conf = new JobConf(localJobFile); + this.profile = new JobProfile(conf.getUser(), jobid, jobFile, url); String jarFile = conf.getJar(); if (jarFile != null) { Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobProfile.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobProfile.java?rev=388229&r1=388228&r2=388229&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobProfile.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobProfile.java Thu Mar 23 10:38:47 2006 @@ -36,6 +36,7 @@ }); } + String user; String jobid; String jobFile; String url; @@ -47,13 +48,21 @@ /** */ - public JobProfile(String jobid, String jobFile, String url) { + public JobProfile(String user, String jobid, String jobFile, String url) { + this.user = user; this.jobid = jobid; this.jobFile = jobFile; this.url = url; } /** + * Get the user id. + */ + public String getUser() { + return user; + } + + /** */ public String getJobId() { return jobid; @@ -83,11 +92,13 @@ UTF8.writeString(out, jobid); UTF8.writeString(out, jobFile); UTF8.writeString(out, url); + UTF8.writeString(out, user); } public void readFields(DataInput in) throws IOException { this.jobid = UTF8.readString(in); this.jobFile = UTF8.readString(in); this.url = UTF8.readString(in); + this.user = UTF8.readString(in); } } Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobSubmissionProtocol.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobSubmissionProtocol.java?rev=388229&r1=388228&r2=388229&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobSubmissionProtocol.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobSubmissionProtocol.java Thu Mar 23 10:38:47 2006 @@ -17,7 +17,6 @@ package org.apache.hadoop.mapred; import java.io.*; -import java.util.*; /** * Protocol that a JobClient and the central JobTracker use to communicate. The Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/LocalJobRunner.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/LocalJobRunner.java?rev=388229&r1=388228&r2=388229&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/LocalJobRunner.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/LocalJobRunner.java Thu Mar 23 10:38:47 2006 @@ -44,6 +44,7 @@ private JobStatus status = new JobStatus(); private ArrayList mapIds = new ArrayList(); private MapOutputFile mapoutputFile; + private JobProfile profile; public Job(String file, Configuration conf) throws IOException { this.file = file; @@ -54,8 +55,8 @@ File localFile = new JobConf(conf).getLocalFile("localRunner", id+".xml"); fs.copyToLocalFile(new File(file), localFile); this.job = new JobConf(localFile); - - + profile = new JobProfile(job.getUser(), id, file, + "http://localhost:8080/"); this.status.jobid = id; this.status.runState = JobStatus.RUNNING; @@ -64,15 +65,30 @@ this.start(); } + JobProfile getProfile() { + return profile; + } + + private void setWorkingDirectory(JobConf conf, FileSystem fs) { + String dir = conf.getWorkingDirectory(); + if (dir != null) { + fs.setWorkingDirectory(new File(dir)); + } + } + public void run() { try { // split input into minimum number of splits - FileSplit[] splits = job.getInputFormat().getSplits(fs, job, 1); + FileSplit[] splits; + setWorkingDirectory(job, fs); + splits = job.getInputFormat().getSplits(fs, job, 1); + // run a map task for each split job.setNumReduceTasks(1); // force a single reduce task for (int i = 0; i < splits.length; i++) { mapIds.add("map_" + newId()); + setWorkingDirectory(job, fs); MapTask map = new MapTask(file, (String)mapIds.get(i), splits[i]); map.setConf(job); map_tasks += 1; @@ -97,10 +113,9 @@ for (int i = 0; i < mapIds.size(); i++) { mapDependencies[i][0] = (String) mapIds.get(i); } - ReduceTask reduce = - new ReduceTask(file, reduceId, - mapDependencies, - 0); + setWorkingDirectory(job, fs); + ReduceTask reduce = new ReduceTask(file, reduceId, + mapDependencies,0); reduce.setConf(job); reduce_tasks += 1; reduce.run(job, this); @@ -172,7 +187,7 @@ public JobProfile getJobProfile(String id) { Job job = (Job)jobs.get(id); - return new JobProfile(id, job.file, "http://localhost:8080/"); + return job.getProfile(); } public TaskReport[] getMapTaskReports(String id) { Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java?rev=388229&r1=388228&r2=388229&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java Thu Mar 23 10:38:47 2006 @@ -700,6 +700,12 @@ startPinging(umbilical, taskid); // start pinging parent try { + // If the user set a working directory, use it + String workDir = job.getWorkingDirectory(); + if (workDir != null) { + FileSystem file_sys = FileSystem.get(job); + file_sys.setWorkingDirectory(new File(workDir)); + } task.run(job, umbilical); // run the task } catch (FSError e) { LOG.log(Level.SEVERE, "FSError from child", e); Added: lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/MiniDFSCluster.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/MiniDFSCluster.java?rev=388229&view=auto ============================================================================== --- lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/MiniDFSCluster.java (added) +++ lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/MiniDFSCluster.java Thu Mar 23 10:38:47 2006 @@ -0,0 +1,124 @@ +package org.apache.hadoop.dfs; + +import java.io.*; +import org.apache.hadoop.conf.Configuration; +import org.apache.hadoop.fs.*; + +/** + * This class creates a single-process DFS cluster for junit testing. + * One thread is created for each server. + * The data directories for DFS are undering the testing directory. + * @author Owen O'Malley + */ +public class MiniDFSCluster { + + private Configuration conf; + private Thread nameNodeThread; + private Thread dataNodeThread; + private NameNodeRunner nameNode; + private DataNodeRunner dataNode; + + /** + * An inner class that runs a name node. + */ + class NameNodeRunner implements Runnable { + private NameNode node; + + /** + * Create the name node and run it. + */ + public void run() { + try { + node = new NameNode(conf); + } catch (Throwable e) { + node = null; + System.err.println("Name node crashed:"); + e.printStackTrace(); + } + } + + /** + * Shutdown the name node and wait for it to finish. + */ + public void shutdown() { + if (node != null) { + node.stop(); + node.join(); + } + } + } + + /** + * An inner class to run the data node. + */ + class DataNodeRunner implements Runnable { + private DataNode node; + + /** + * Create and run the data node. + */ + public void run() { + try { + File dataDir = new File(conf.get("dfs.data.dir")); + dataDir.mkdirs(); + node = new DataNode(conf, dataDir.getPath()); + node.run(); + } catch (Throwable e) { + node = null; + System.err.println("Data node crashed:"); + e.printStackTrace(); + } + } + + /** + * Shut down the server and wait for it to finish. + */ + public void shutdown() { + if (node != null) { + node.shutdown(); + } + } + } + + /** + * Create the config and start up the servers. + */ + public MiniDFSCluster(int namenodePort, Configuration conf) { + this.conf = conf; + conf.set("fs.default.name", + "localhost:"+ Integer.toString(namenodePort)); + File base_dir = new File(System.getProperty("test.build.data"), + "dfs/"); + conf.set("dfs.name.dir", new File(base_dir, "name").getPath()); + conf.set("dfs.data.dir", new File(base_dir, "data").getPath()); + conf.setInt("dfs.replication", 1); + // this timeout seems to control the minimum time for the test, so + // set it down at 5 seconds. + conf.setInt("ipc.client.timeout", 5000); + nameNode = new NameNodeRunner(); + nameNodeThread = new Thread(nameNode); + nameNodeThread.start(); + dataNode = new DataNodeRunner(); + dataNodeThread = new Thread(dataNode); + dataNodeThread.start(); + try { // let daemons get started + Thread.sleep(1000); + } catch(InterruptedException e) { + } + } + + /** + * Shut down the servers. + */ + public void shutdown() { + nameNode.shutdown(); + dataNode.shutdown(); + } + + /** + * Get a client handle to the DFS cluster. + */ + public FileSystem getFileSystem() throws IOException { + return FileSystem.get(conf); + } +} Added: lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestLocalDFS.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestLocalDFS.java?rev=388229&view=auto ============================================================================== --- lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestLocalDFS.java (added) +++ lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestLocalDFS.java Thu Mar 23 10:38:47 2006 @@ -0,0 +1,64 @@ +package org.apache.hadoop.dfs; + +import junit.framework.TestCase; +import java.io.*; +import org.apache.hadoop.conf.Configuration; +import org.apache.hadoop.fs.FileSystem; + +/** + * This class tests the DFS class via the FileSystem interface in a single node + * mini-cluster. + * @author Owen O'Malley + */ +public class TestLocalDFS extends TestCase { + + private void writeFile(FileSystem fileSys, File name) throws IOException { + DataOutputStream stm = fileSys.create(name); + stm.writeBytes("oom"); + stm.close(); + } + + private void readFile(FileSystem fileSys, File name) throws IOException { + DataInputStream stm = fileSys.open(name); + byte[] buffer = new byte[4]; + int bytesRead = stm.read(buffer, 0 ,4); + assertEquals("oom", new String(buffer, 0 , bytesRead)); + stm.close(); + } + + private void cleanupFile(FileSystem fileSys, File name) throws IOException { + assertTrue(fileSys.exists(name)); + fileSys.delete(name); + assertTrue(!fileSys.exists(name)); + } + + /** + * Tests get/set working directory in DFS. + */ + public void testWorkingDirectory() throws IOException { + Configuration conf = new Configuration(); + MiniDFSCluster cluster = new MiniDFSCluster(65312, conf); + FileSystem fileSys = cluster.getFileSystem(); + try { + File orig_path = fileSys.getWorkingDirectory(); + assertTrue(orig_path.isAbsolute()); + File file1 = new File("somewhat/random.txt"); + writeFile(fileSys, file1); + assertTrue(fileSys.exists(new File(orig_path, file1.getPath()))); + fileSys.delete(file1); + File subdir1 = new File("/somewhere"); + fileSys.setWorkingDirectory(subdir1); + writeFile(fileSys, file1); + cleanupFile(fileSys, new File(subdir1, file1.getPath())); + File subdir2 = new File("else"); + fileSys.setWorkingDirectory(subdir2); + writeFile(fileSys, file1); + readFile(fileSys, file1); + cleanupFile(fileSys, new File(new File(subdir1, subdir2.getPath()), + file1.getPath())); + } finally { + fileSys.close(); + cluster.shutdown(); + } + } +} Added: lucene/hadoop/trunk/src/test/org/apache/hadoop/fs/TestLocalFileSystem.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/test/org/apache/hadoop/fs/TestLocalFileSystem.java?rev=388229&view=auto ============================================================================== --- lucene/hadoop/trunk/src/test/org/apache/hadoop/fs/TestLocalFileSystem.java (added) +++ lucene/hadoop/trunk/src/test/org/apache/hadoop/fs/TestLocalFileSystem.java Thu Mar 23 10:38:47 2006 @@ -0,0 +1,85 @@ +package org.apache.hadoop.fs; + +import org.apache.hadoop.conf.Configuration; +import java.io.*; +import junit.framework.*; + +/** + * This class tests the local file system via the FileSystem abstraction. + * @author Owen O'Malley + */ +public class TestLocalFileSystem extends TestCase { + + private void writeFile(FileSystem fs, File name) throws IOException { + FSDataOutputStream stm = fs.create(name); + stm.writeBytes("42\n"); + stm.close(); + } + + private void cleanupFile(FileSystem fs, File name) throws IOException { + assertTrue(fs.exists(name)); + fs.delete(name); + assertTrue(!fs.exists(name)); + } + + /** + * Test the capability of setting the working directory. + */ + public void testWorkingDirectory() throws IOException { + Configuration conf = new Configuration(); + FileSystem fileSys = FileSystem.getNamed("local", conf); + File origDir = fileSys.getWorkingDirectory(); + File subdir = new File("build/test/data/work-dir/new subdir"); + File subdirAbsolute = subdir.getAbsoluteFile(); + try { + // make sure it doesn't already exist + assertTrue(!fileSys.exists(subdir)); + // make it and check for it + fileSys.mkdirs(subdir); + assertTrue(fileSys.isDirectory(subdir)); + + fileSys.setWorkingDirectory(subdir); + + // create a directory and check for it + File dir1 = new File("dir1"); + File dir1Absolute = dir1.getAbsoluteFile(); + fileSys.mkdirs(dir1); + assertTrue(fileSys.isDirectory(dir1)); + assertTrue(fileSys.isDirectory(dir1Absolute)); + + // delete the directory and make sure it went away + fileSys.delete(dir1); + assertTrue(!fileSys.exists(dir1)); + assertTrue(!fileSys.exists(dir1Absolute)); + + // create files and manipulate them. + File file1 = new File("file1"); + File file2 = new File("sub/file2"); + File file2_abs = file2.getAbsoluteFile(); + assertEquals(file2_abs, new File(subdirAbsolute, file2.getPath())); + writeFile(fileSys, file1); + fileSys.copyFromLocalFile(file1, file2); + assertTrue(fileSys.exists(file1)); + assertTrue(fileSys.isFile(file1)); + cleanupFile(fileSys, file2_abs); + fileSys.copyToLocalFile(file1, file2); + cleanupFile(fileSys, file2_abs); + + // try a rename + fileSys.rename(file1, file2); + assertTrue(!fileSys.exists(file1)); + assertTrue(fileSys.exists(file2_abs)); + fileSys.rename(file2, file1); + + // try reading a file + InputStream stm = fileSys.openRaw(file1); + byte[] buffer = new byte[3]; + int bytesRead = stm.read(buffer, 0, 3); + assertEquals("42\n", new String(buffer, 0, bytesRead)); + stm.close(); + } finally { + fileSys.setWorkingDirectory(origDir); + fileSys.delete(subdir); + } + } +} Modified: lucene/hadoop/trunk/src/test/org/apache/hadoop/ipc/TestRPC.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/test/org/apache/hadoop/ipc/TestRPC.java?rev=388229&r1=388228&r2=388229&view=diff ============================================================================== --- lucene/hadoop/trunk/src/test/org/apache/hadoop/ipc/TestRPC.java (original) +++ lucene/hadoop/trunk/src/test/org/apache/hadoop/ipc/TestRPC.java Thu Mar 23 10:38:47 2006 @@ -40,6 +40,7 @@ // quiet during testing, since output ends up on console static { + conf.setInt("ipc.client.timeout", 5000); LOG.setLevel(Level.WARNING); Client.LOG.setLevel(Level.WARNING); Server.LOG.setLevel(Level.WARNING); Modified: lucene/hadoop/trunk/src/webapps/mapred/jobtracker.jsp URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/webapps/mapred/jobtracker.jsp?rev=388229&r1=388228&r2=388229&view=diff ============================================================================== --- lucene/hadoop/trunk/src/webapps/mapred/jobtracker.jsp (original) +++ lucene/hadoop/trunk/src/webapps/mapred/jobtracker.jsp Thu Mar 23 10:38:47 2006 @@ -4,11 +4,13 @@ import="javax.servlet.http.*" import="java.io.*" import="java.util.*" + import="java.text.DecimalFormat" import="org.apache.hadoop.mapred.*" %> <%! JobTracker tracker = JobTracker.getTracker(); String trackerLabel = tracker.getJobTrackerMachine() + ":" + tracker.getTrackerPort(); + private static DecimalFormat percentFormat = new DecimalFormat("##0.00"); public void generateTaskTrackerTable(JspWriter out) throws IOException { Collection c = tracker.taskTrackers(); @@ -44,14 +46,16 @@ out.print("<center>\n"); out.print("<table border=\"2\" cellpadding=\"5\" cellspacing=\"2\">\n"); out.print("<tr><td align=\"center\" colspan=\"8\"><b>" + label + " Jobs </b></td></tr>\n"); - if (jobs.size() > 0) { - out.print("<tr><td><b>Jobid</b></td><td><b>% complete</b></td><td><b>Required maps</b></td><td><b>maps completed</b></td><td><b>Required reduces</b></td><td><b>reduces completed</b></td></tr>\n"); + out.print("<tr><td><b>Jobid</b></td><td><b>User</b></td>"); + out.print("<td><b>% complete</b></td><td><b>Required maps</b></td>"); + out.print("<td><b>maps completed</b></td>"); + out.print("<td><b>Required reduces</b></td>"); + out.print("<td><b>reduces completed</b></td></tr>\n"); for (Iterator it = jobs.iterator(); it.hasNext(); ) { JobInProgress job = (JobInProgress) it.next(); JobProfile profile = job.getProfile(); JobStatus status = job.getStatus(); - String jobid = profile.getJobId(); double completedRatio = (0.5 * (100 * status.mapProgress())) + (0.5 * (100 * status.reduceProgress())); @@ -61,7 +65,12 @@ int completedMaps = job.finishedMaps(); int completedReduces = job.finishedReduces(); - out.print("<tr><td><a href=\"jobdetails.jsp?jobid=" + jobid + "\">" + jobid + "</a></td><td>" + completedRatio + "%</td><td>" + desiredMaps + "</td><td>" + completedMaps + "</td><td>" + desiredReduces + "</td><td> " + completedReduces + "</td></tr>\n"); + out.print("<tr><td><a href=\"jobdetails.jsp?jobid=" + jobid + "\">" + + jobid + "</a></td><td>"+ profile.getUser() + "</td><td>" + + percentFormat.format(completedRatio) + "%</td><td>" + + desiredMaps + "</td><td>" + completedMaps + "</td><td>" + + desiredReduces + "</td><td> " + completedReduces + + "</td></tr>\n"); } } else { out.print("<tr><td align=\"center\" colspan=\"8\"><i>none</i></td></tr>\n"); From [email protected] Thu Mar 23 20:08:20 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16559 invoked from network); 23 Mar 2006 20:08:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Mar 2006 20:08:20 -0000 Received: (qmail 88815 invoked by uid 500); 23 Mar 2006 20:08:20 -0000 Delivered-To: [email protected] Received: (qmail 88794 invoked by uid 500); 23 Mar 2006 20:08:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 88785 invoked by uid 99); 23 Mar 2006 20:08:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Mar 2006 12:08:19 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 23 Mar 2006 12:08:19 -0800 Received: (qmail 16460 invoked by uid 65534); 23 Mar 2006 20:07:58 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r388254 - in /lucene/hadoop/trunk/src: java/org/apache/hadoop/mapred/JobTracker.java webapps/mapred/jobtracker.jsp Date: Thu, 23 Mar 2006 20:07:58 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Thu Mar 23 12:07:56 2006 New Revision: 388254 URL: http://svn.apache.org/viewcvs?rev=388254&view=rev Log: Fix for HADOOP-98. Keep more accurate task counts. Contributed by Owen O'Malley. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobTracker.java lucene/hadoop/trunk/src/webapps/mapred/jobtracker.jsp Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobTracker.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobTracker.java?rev=388254&r1=388253&r2=388254&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobTracker.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobTracker.java Thu Mar 23 12:07:56 2006 @@ -101,6 +101,7 @@ // Remove profile from head of queue trackerExpiryQueue.remove(leastRecent); + String trackerName = leastRecent.getTrackerName(); // Figure out if last-seen time should be updated, or if tracker is dead TaskTrackerStatus newProfile = (TaskTrackerStatus) taskTrackers.get(leastRecent.getTrackerName()); @@ -110,12 +111,7 @@ if (newProfile != null) { if (now - newProfile.getLastSeen() > TASKTRACKER_EXPIRY_INTERVAL) { // Remove completely - - TaskTrackerStatus oldStatus = (TaskTrackerStatus) taskTrackers.remove(leastRecent.getTrackerName()); - if (oldStatus != null) { - totalMaps -= oldStatus.countMapTasks(); - totalReduces -= oldStatus.countReduceTasks(); - } + updateTaskTrackerStatus(trackerName, null); lostTaskTracker(leastRecent.getTrackerName()); } else { // Update time by inserting latest profile @@ -478,16 +474,42 @@ // InterTrackerProtocol //////////////////////////////////////////////////// public void initialize(String taskTrackerName) { - if (taskTrackers.get(taskTrackerName) != null) { - TaskTrackerStatus oldStatus = (TaskTrackerStatus) taskTrackers.remove(taskTrackerName); - totalMaps -= oldStatus.countMapTasks(); - totalReduces -= oldStatus.countReduceTasks(); - - lostTaskTracker(taskTrackerName); + synchronized (taskTrackers) { + boolean seenBefore = updateTaskTrackerStatus(taskTrackerName, null); + if (seenBefore) { + lostTaskTracker(taskTrackerName); } + } } /** + * Update the last recorded status for the given task tracker. + * It assumes that the taskTrackers are locked on entry. + * @author Owen O'Malley + * @param trackerName The name of the tracker + * @param status The new status for the task tracker + * @return Was an old status found? + */ + private boolean updateTaskTrackerStatus(String trackerName, + TaskTrackerStatus status) { + TaskTrackerStatus oldStatus = + (TaskTrackerStatus) taskTrackers.get(trackerName); + if (oldStatus != null) { + totalMaps -= oldStatus.countMapTasks(); + totalReduces -= oldStatus.countReduceTasks(); + if (status == null) { + taskTrackers.remove(trackerName); + } + } + if (status != null) { + totalMaps += status.countMapTasks(); + totalReduces += status.countReduceTasks(); + taskTrackers.put(trackerName, status); + } + return oldStatus != null; + } + + /** * Process incoming heartbeat messages from the task trackers. */ public synchronized int emitHeartbeat(TaskTrackerStatus trackerStatus, boolean initialContact) { @@ -496,26 +518,20 @@ synchronized (taskTrackers) { synchronized (trackerExpiryQueue) { + boolean seenBefore = updateTaskTrackerStatus(trackerName, + trackerStatus); if (initialContact) { // If it's first contact, then clear out any state hanging around - if (taskTrackers.get(trackerName) != null) { - TaskTrackerStatus oldStatus = (TaskTrackerStatus) taskTrackers.remove(trackerName); - totalMaps -= oldStatus.countMapTasks(); - totalReduces -= oldStatus.countReduceTasks(); + if (seenBefore) { lostTaskTracker(trackerName); } } else { // If not first contact, there should be some record of the tracker - if (taskTrackers.get(trackerName) == null) { + if (!seenBefore) { return InterTrackerProtocol.UNKNOWN_TASKTRACKER; } } - // Store latest state. If first contact, then save current - // state in expiry queue - totalMaps += trackerStatus.countMapTasks(); - totalReduces += trackerStatus.countReduceTasks(); - taskTrackers.put(trackerName, trackerStatus); if (initialContact) { trackerExpiryQueue.add(trackerStatus); } Modified: lucene/hadoop/trunk/src/webapps/mapred/jobtracker.jsp URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/webapps/mapred/jobtracker.jsp?rev=388254&r1=388253&r2=388254&view=diff ============================================================================== --- lucene/hadoop/trunk/src/webapps/mapred/jobtracker.jsp (original) +++ lucene/hadoop/trunk/src/webapps/mapred/jobtracker.jsp Thu Mar 23 12:07:56 2006 @@ -78,6 +78,17 @@ out.print("</table>\n"); out.print("</center>\n"); } + + public void generateSummaryTable(JspWriter out) throws IOException { + ClusterStatus status = tracker.getClusterStatus(); + out.print("<table border=\"2\" cellpadding=\"5\" cellspacing=\"2\">\n"+ + "<tr><th>Maps</th><th>Reduces</th>" + + "<th>Capacity</th><th>Nodes</th></tr>\n"); + out.print("<tr><td>" + status.getMapTasks() + "</td><td>" + + status.getReduceTasks() + "</td><td>" + + status.getMaxTasks() + "</td><td>" + + status.getTaskTrackers() + "</td></tr></table>\n"); + } %> <html> @@ -88,6 +99,13 @@ <h1>JobTracker '<%=trackerLabel%>'</h1> This JobTracker has been up since <%= new Date(tracker.getStartTime())%>.<br> +<hr> +<h2>Cluster Summary</h2> +<center> +<% + generateSummaryTable(out); +%> +</center> <hr> From [email protected] Thu Mar 23 22:53:33 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1211 invoked from network); 23 Mar 2006 22:53:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Mar 2006 22:53:32 -0000 Received: (qmail 62601 invoked by uid 500); 23 Mar 2006 22:53:32 -0000 Delivered-To: [email protected] Received: (qmail 62559 invoked by uid 500); 23 Mar 2006 22:53:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 62533 invoked by uid 99); 23 Mar 2006 22:53:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Mar 2006 14:53:32 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 23 Mar 2006 14:53:31 -0800 Received: (qmail 1115 invoked by uid 65534); 23 Mar 2006 22:53:10 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r388288 - in /lucene/hadoop/trunk/src: examples/org/apache/hadoop/examples/ java/org/apache/hadoop/mapred/ webapps/mapred/ Date: Thu, 23 Mar 2006 22:52:47 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Thu Mar 23 14:52:44 2006 New Revision: 388288 URL: http://svn.apache.org/viewcvs?rev=388288&view=rev Log: Fix for HADOOP-46. Jobs can now be named. Contributed by Owen O'Malley. Modified: lucene/hadoop/trunk/src/examples/org/apache/hadoop/examples/Grep.java lucene/hadoop/trunk/src/examples/org/apache/hadoop/examples/WordCount.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobConf.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobProfile.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/LocalJobRunner.java lucene/hadoop/trunk/src/webapps/mapred/jobtracker.jsp Modified: lucene/hadoop/trunk/src/examples/org/apache/hadoop/examples/Grep.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/examples/org/apache/hadoop/examples/Grep.java?rev=388288&r1=388287&r2=388288&view=diff ============================================================================== --- lucene/hadoop/trunk/src/examples/org/apache/hadoop/examples/Grep.java (original) +++ lucene/hadoop/trunk/src/examples/org/apache/hadoop/examples/Grep.java Thu Mar 23 14:52:44 2006 @@ -17,18 +17,15 @@ import org.apache.hadoop.mapred.JobConf; import org.apache.hadoop.mapred.JobClient; -import org.apache.hadoop.mapred.RunningJob; import org.apache.hadoop.mapred.SequenceFileOutputFormat; import org.apache.hadoop.mapred.SequenceFileInputFormat; import org.apache.hadoop.mapred.lib.RegexMapper; import org.apache.hadoop.mapred.lib.InverseMapper; import org.apache.hadoop.mapred.lib.LongSumReducer; -import org.apache.hadoop.mapred.lib.IdentityReducer; import org.apache.hadoop.io.UTF8; import org.apache.hadoop.io.LongWritable; -import org.apache.hadoop.io.WritableComparator; import org.apache.hadoop.conf.Configuration; @@ -52,6 +49,7 @@ Integer.toString(new Random().nextInt(Integer.MAX_VALUE))); JobConf grepJob = new JobConf(defaults, Grep.class); + grepJob.setJobName("grep-search"); grepJob.setInputDir(new File(args[0])); @@ -71,6 +69,7 @@ JobClient.runJob(grepJob); JobConf sortJob = new JobConf(defaults, Grep.class); + sortJob.setJobName("grep-sort"); sortJob.setInputDir(tempDir); sortJob.setInputFormat(SequenceFileInputFormat.class); Modified: lucene/hadoop/trunk/src/examples/org/apache/hadoop/examples/WordCount.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/examples/org/apache/hadoop/examples/WordCount.java?rev=388288&r1=388287&r2=388288&view=diff ============================================================================== --- lucene/hadoop/trunk/src/examples/org/apache/hadoop/examples/WordCount.java (original) +++ lucene/hadoop/trunk/src/examples/org/apache/hadoop/examples/WordCount.java Thu Mar 23 14:52:44 2006 @@ -17,7 +17,6 @@ package org.apache.hadoop.examples; import java.io.*; -import java.net.URL; import java.util.*; import org.apache.hadoop.conf.Configuration; @@ -110,24 +109,25 @@ public static void main(String[] args) throws IOException { Configuration defaults = new Configuration(); - JobConf countJob = new JobConf(defaults, WordCount.class); + JobConf conf = new JobConf(defaults, WordCount.class); + conf.setJobName("wordcount"); // the keys are words (strings) - countJob.setOutputKeyClass(UTF8.class); + conf.setOutputKeyClass(UTF8.class); // the values are counts (ints) - countJob.setOutputValueClass(IntWritable.class); + conf.setOutputValueClass(IntWritable.class); - countJob.setMapperClass(MapClass.class); - countJob.setCombinerClass(Reduce.class); - countJob.setReducerClass(Reduce.class); + conf.setMapperClass(MapClass.class); + conf.setCombinerClass(Reduce.class); + conf.setReducerClass(Reduce.class); List other_args = new ArrayList(); for(int i=0; i < args.length; ++i) { try { if ("-m".equals(args[i])) { - countJob.setNumMapTasks(Integer.parseInt(args[++i])); + conf.setNumMapTasks(Integer.parseInt(args[++i])); } else if ("-r".equals(args[i])) { - countJob.setNumReduceTasks(Integer.parseInt(args[++i])); + conf.setNumReduceTasks(Integer.parseInt(args[++i])); } else { other_args.add(args[i]); } @@ -146,13 +146,13 @@ other_args.size() + " instead of 2."); printUsage(); } - countJob.setInputDir(new File((String) other_args.get(0))); - countJob.setOutputDir(new File((String) other_args.get(1))); + conf.setInputDir(new File((String) other_args.get(0))); + conf.setOutputDir(new File((String) other_args.get(1))); // Uncomment to run locally in a single process // countJob.set("mapred.job.tracker", "local"); - JobClient.runJob(countJob); + JobClient.runJob(conf); } } Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobConf.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobConf.java?rev=388288&r1=388287&r2=388288&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobConf.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobConf.java Thu Mar 23 14:52:44 2006 @@ -302,6 +302,23 @@ public int getNumReduceTasks() { return getInt("mapred.reduce.tasks", 1); } public void setNumReduceTasks(int n) { setInt("mapred.reduce.tasks", n); } + /** + * Get the user-specified job name. This is only used to identify the + * job to the user. + * @return the job's name, defaulting to "" + */ + public String getJobName() { + return get("mapred.job.name", ""); + } + + /** + * Set the user-specified job name. + * @param name the job's new name + */ + public void setJobName(String name) { + set("mapred.job.name", name); + } + public Object newInstance(Class theClass) { Object result; try { Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java?rev=388288&r1=388287&r2=388288&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java Thu Mar 23 14:52:44 2006 @@ -74,8 +74,8 @@ fs.copyToLocalFile(new File(jobFile), localJobFile); conf = new JobConf(localJobFile); - this.profile = new JobProfile(conf.getUser(), jobid, jobFile, url); - + this.profile = new JobProfile(conf.getUser(), jobid, jobFile, url, + conf.getJobName()); String jarFile = conf.getJar(); if (jarFile != null) { fs.copyToLocalFile(new File(jarFile), localJarFile); Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobProfile.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobProfile.java?rev=388288&r1=388287&r2=388288&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobProfile.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobProfile.java Thu Mar 23 14:52:44 2006 @@ -40,6 +40,7 @@ String jobid; String jobFile; String url; + String name; /** */ @@ -48,11 +49,13 @@ /** */ - public JobProfile(String user, String jobid, String jobFile, String url) { + public JobProfile(String user, String jobid, String jobFile, String url, + String name) { this.user = user; this.jobid = jobid; this.jobFile = jobFile; this.url = url; + this.name = name; } /** @@ -85,6 +88,13 @@ } } + /** + * Get the user-specified job name. + */ + public String getJobName() { + return name; + } + /////////////////////////////////////// // Writable /////////////////////////////////////// @@ -93,12 +103,14 @@ UTF8.writeString(out, jobFile); UTF8.writeString(out, url); UTF8.writeString(out, user); + UTF8.writeString(out, name); } public void readFields(DataInput in) throws IOException { this.jobid = UTF8.readString(in); this.jobFile = UTF8.readString(in); this.url = UTF8.readString(in); this.user = UTF8.readString(in); + this.name = UTF8.readString(in); } } Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/LocalJobRunner.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/LocalJobRunner.java?rev=388288&r1=388287&r2=388288&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/LocalJobRunner.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/LocalJobRunner.java Thu Mar 23 14:52:44 2006 @@ -56,7 +56,7 @@ fs.copyToLocalFile(new File(file), localFile); this.job = new JobConf(localFile); profile = new JobProfile(job.getUser(), id, file, - "http://localhost:8080/"); + "http://localhost:8080/", job.getJobName()); this.status.jobid = id; this.status.runState = JobStatus.RUNNING; Modified: lucene/hadoop/trunk/src/webapps/mapred/jobtracker.jsp URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/webapps/mapred/jobtracker.jsp?rev=388288&r1=388287&r2=388288&view=diff ============================================================================== --- lucene/hadoop/trunk/src/webapps/mapred/jobtracker.jsp (original) +++ lucene/hadoop/trunk/src/webapps/mapred/jobtracker.jsp Thu Mar 23 14:52:44 2006 @@ -48,6 +48,7 @@ out.print("<tr><td align=\"center\" colspan=\"8\"><b>" + label + " Jobs </b></td></tr>\n"); if (jobs.size() > 0) { out.print("<tr><td><b>Jobid</b></td><td><b>User</b></td>"); + out.print("<td><b>Name</b></td>"); out.print("<td><b>% complete</b></td><td><b>Required maps</b></td>"); out.print("<td><b>maps completed</b></td>"); out.print("<td><b>Required reduces</b></td>"); @@ -64,9 +65,11 @@ int desiredReduces = job.desiredReduces(); int completedMaps = job.finishedMaps(); int completedReduces = job.finishedReduces(); + String name = profile.getJobName(); out.print("<tr><td><a href=\"jobdetails.jsp?jobid=" + jobid + "\">" + jobid + "</a></td><td>"+ profile.getUser() + "</td><td>" + + ("".equals(name) ? "&nbsp;" : name) + "</td><td>" + percentFormat.format(completedRatio) + "%</td><td>" + desiredMaps + "</td><td>" + completedMaps + "</td><td>" + desiredReduces + "</td><td> " + completedReduces + From [email protected] Fri Mar 24 00:28:25 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38735 invoked from network); 24 Mar 2006 00:28:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Mar 2006 00:28:24 -0000 Received: (qmail 18508 invoked by uid 500); 24 Mar 2006 00:28:24 -0000 Delivered-To: [email protected] Received: (qmail 18463 invoked by uid 500); 24 Mar 2006 00:28:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 18443 invoked by uid 99); 24 Mar 2006 00:28:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Mar 2006 16:28:24 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 23 Mar 2006 16:28:23 -0800 Received: (qmail 38644 invoked by uid 65534); 24 Mar 2006 00:28:03 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r388306 - in /lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred: JobClient.java MapFileOutputFormat.java OutputFormat.java OutputFormatBase.java SequenceFileOutputFormat.java TextOutputFormat.java Date: Fri, 24 Mar 2006 00:28:01 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Thu Mar 23 16:28:01 2006 New Revision: 388306 URL: http://svn.apache.org/viewcvs?rev=388306&view=rev Log: Move checking of output directory existence from JobClient to OutputFormat, so that it can be overridden. Add a base class for OutputFormat that implements this new method. Added: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/OutputFormatBase.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobClient.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapFileOutputFormat.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/OutputFormat.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/SequenceFileOutputFormat.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TextOutputFormat.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobClient.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobClient.java?rev=388306&r1=388305&r2=388306&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobClient.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobClient.java Thu Mar 23 16:28:01 2006 @@ -256,15 +256,8 @@ job.setWorkingDirectory(fileSys.getWorkingDirectory().toString()); } - // Ensure that the output directory is set and not already there - File outDir = job.getOutputDir(); - if (outDir == null && job.getNumReduceTasks() != 0) { - throw new IOException("Output directory not set in JobConf."); - } - if (outDir != null && fs.exists(outDir)) { - throw new IOException("Output directory " + outDir + - " already exists."); - } + // Check the output specification + job.getOutputFormat().checkOutputSpecs(fs, job); // Write job file to JobTracker's fs FSDataOutputStream out = fileSys.create(submitJobFile); Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapFileOutputFormat.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapFileOutputFormat.java?rev=388306&r1=388305&r2=388306&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapFileOutputFormat.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapFileOutputFormat.java Thu Mar 23 16:28:01 2006 @@ -28,7 +28,7 @@ import org.apache.hadoop.conf.Configuration; /** An {@link OutputFormat} that writes {@link MapFile}s. */ -public class MapFileOutputFormat implements OutputFormat { +public class MapFileOutputFormat extends OutputFormatBase { public RecordWriter getRecordWriter(FileSystem fs, JobConf job, String name) throws IOException { Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/OutputFormat.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/OutputFormat.java?rev=388306&r1=388305&r2=388306&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/OutputFormat.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/OutputFormat.java Thu Mar 23 16:28:01 2006 @@ -33,5 +33,15 @@ */ RecordWriter getRecordWriter(FileSystem fs, JobConf job, String name) throws IOException; + + /** Check whether the output specification for a job is appropriate. Called + * when a job is submitted. Typically checks that it does not already exist, + * throwing an exception when it already exists, so that output is not + * overwritten. + * + * @param job the job whose output will be written + * @throws IOException when output should not be attempted + */ + void checkOutputSpecs(FileSystem fs, JobConf job) throws IOException; } Added: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/OutputFormatBase.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/OutputFormatBase.java?rev=388306&view=auto ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/OutputFormatBase.java (added) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/OutputFormatBase.java Thu Mar 23 16:28:01 2006 @@ -0,0 +1,43 @@ +/** + * Copyright 2006 The Apache Software Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.hadoop.mapred; + +import java.io.IOException; +import java.io.File; + +import org.apache.hadoop.fs.FileSystem; + +/** A base class for {@link OutputFormat}. */ +public abstract class OutputFormatBase implements OutputFormat { + public abstract RecordWriter getRecordWriter(FileSystem fs, + JobConf job, String name) + throws IOException; + + public void checkOutputSpecs(FileSystem fs, JobConf job) throws IOException { + // Ensure that the output directory is set and not already there + File outDir = job.getOutputDir(); + if (outDir == null && job.getNumReduceTasks() != 0) { + throw new IOException("Output directory not set in JobConf."); + } + if (outDir != null && fs.exists(outDir)) { + throw new IOException("Output directory " + outDir + + " already exists."); + } + } + +} + Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/SequenceFileOutputFormat.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/SequenceFileOutputFormat.java?rev=388306&r1=388305&r2=388306&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/SequenceFileOutputFormat.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/SequenceFileOutputFormat.java Thu Mar 23 16:28:01 2006 @@ -28,7 +28,7 @@ import org.apache.hadoop.conf.Configuration; /** An {@link OutputFormat} that writes {@link SequenceFile}s. */ -public class SequenceFileOutputFormat implements OutputFormat { +public class SequenceFileOutputFormat extends OutputFormatBase { public RecordWriter getRecordWriter(FileSystem fs, JobConf job, String name) throws IOException { Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TextOutputFormat.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TextOutputFormat.java?rev=388306&r1=388305&r2=388306&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TextOutputFormat.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TextOutputFormat.java Thu Mar 23 16:28:01 2006 @@ -26,7 +26,7 @@ import org.apache.hadoop.io.Writable; /** An {@link OutputFormat} that writes plain text files. */ -public class TextOutputFormat implements OutputFormat { +public class TextOutputFormat extends OutputFormatBase { public RecordWriter getRecordWriter(FileSystem fs, JobConf job, String name) throws IOException { From [email protected] Tue Mar 28 18:14:29 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86436 invoked from network); 28 Mar 2006 18:14:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Mar 2006 18:14:29 -0000 Received: (qmail 21426 invoked by uid 500); 28 Mar 2006 18:14:29 -0000 Delivered-To: [email protected] Received: (qmail 21397 invoked by uid 500); 28 Mar 2006 18:14:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 21388 invoked by uid 99); 28 Mar 2006 18:14:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Mar 2006 10:14:28 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 28 Mar 2006 10:14:27 -0800 Received: (qmail 86095 invoked by uid 65534); 28 Mar 2006 18:14:07 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r389566 - in /lucene/hadoop/trunk/src: java/org/apache/hadoop/dfs/FSDirectory.java java/org/apache/hadoop/dfs/NameNode.java java/overview.html test/org/apache/hadoop/dfs/MiniDFSCluster.java Date: Tue, 28 Mar 2006 18:14:03 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Tue Mar 28 10:14:02 2006 New Revision: 389566 URL: http://svn.apache.org/viewcvs?rev=389566&view=rev Log: Fix for HADOOP-19. A namenode must now be formatted before it may be used. Attempts to start a namenode in an unformatted directory will fail, rather than automatically creating a new, empty filesystem, causing existing datanodes to delete all blocks. Thus a mis-configured dfs.data.dir should no longer cause data loss. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSDirectory.java lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/NameNode.java lucene/hadoop/trunk/src/java/overview.html lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/MiniDFSCluster.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSDirectory.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSDirectory.java?rev=389566&r1=389565&r2=389566&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSDirectory.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSDirectory.java Tue Mar 28 10:14:02 2006 @@ -245,14 +245,11 @@ DataOutputStream editlog = null; boolean ready = false; - /** - * Create a FileSystem directory, and load its info - * from the indicated place. - */ + /** Access an existing dfs name directory. */ public FSDirectory(File dir) throws IOException { File fullimage = new File(dir, "image"); if (! fullimage.exists()) { - fullimage.mkdirs(); + throw new IOException("NameNode not formatted: " + dir); } File edits = new File(dir, "edits"); if (loadFSImage(fullimage, edits)) { @@ -263,6 +260,19 @@ this.ready = true; this.notifyAll(); this.editlog = new DataOutputStream(new FileOutputStream(edits)); + } + } + + /** Create a new dfs name directory. Caution: this destroys all files + * in this filesystem. */ + public static void format(File dir) throws IOException { + File image = new File(dir, "image"); + File edits = new File(dir, "edits"); + + if (!((!image.exists() || image.delete()) && + (!edits.exists() || edits.delete()) && + image.mkdirs())) { + throw new IOException("Unable to format: "+dir); } } Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/NameNode.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/NameNode.java?rev=389566&r1=389565&r2=389566&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/NameNode.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/NameNode.java Tue Mar 28 10:14:02 2006 @@ -65,12 +65,17 @@ /** only used for testing purposes */ private boolean stopRequested = false; + /** Format a new filesystem. Destroys any filesystem that may already + * exist at this location. **/ + public static void format(Configuration conf) throws IOException { + FSDirectory.format(getDir(conf)); + } + /** * Create a NameNode at the default location */ public NameNode(Configuration conf) throws IOException { - this(new File(conf.get("dfs.name.dir", - "/tmp/hadoop/dfs/name")), + this(getDir(conf), DataNode.createSocketAddr (conf.get("fs.default.name", "local")).getPort(), conf); } @@ -85,6 +90,11 @@ this.server.start(); } + /** Return the configured directory where name data is stored. */ + private static File getDir(Configuration conf) { + return new File(conf.get("dfs.name.dir", "/tmp/hadoop/dfs/name")); + } + /** * Wait for service to finish. * (Normally, it runs forever.) @@ -364,8 +374,24 @@ /** */ - public static void main(String argv[]) throws IOException, InterruptedException { - NameNode namenode = new NameNode(new Configuration()); + public static void main(String argv[]) throws Exception { + Configuration conf = new Configuration(); + + if (argv.length == 1 && argv[0].equals("-format")) { + File dir = getDir(conf); + if (dir.exists()) { + System.err.print("Re-format filesystem in " + dir +" ? (Y or N) "); + if (!(System.in.read() == 'Y')) { + System.err.println("Format aborted."); + System.exit(1); + } + } + format(conf); + System.err.println("Formatted "+dir); + System.exit(0); + } + + NameNode namenode = new NameNode(conf); namenode.join(); } } Modified: lucene/hadoop/trunk/src/java/overview.html URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/overview.html?rev=389566&r1=389565&r2=389566&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/overview.html (original) +++ lucene/hadoop/trunk/src/java/overview.html Tue Mar 28 10:14:02 2006 @@ -134,6 +134,11 @@ <h3>Bootstrapping</h3> +<p>A new distributed filesystem must formatted with the following +command, run on the master node:</p> + +<p><tt>bin/hadoop namenode -format</tt></p> + <p>The Hadoop daemons are started with the following command:</p> <p><tt>bin/start-all.sh</tt></p> Modified: lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/MiniDFSCluster.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/MiniDFSCluster.java?rev=389566&r1=389565&r2=389566&view=diff ============================================================================== --- lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/MiniDFSCluster.java (original) +++ lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/MiniDFSCluster.java Tue Mar 28 10:14:02 2006 @@ -83,7 +83,7 @@ /** * Create the config and start up the servers. */ - public MiniDFSCluster(int namenodePort, Configuration conf) { + public MiniDFSCluster(int namenodePort, Configuration conf) throws IOException { this.conf = conf; conf.set("fs.default.name", "localhost:"+ Integer.toString(namenodePort)); @@ -95,6 +95,7 @@ // this timeout seems to control the minimum time for the test, so // set it down at 5 seconds. conf.setInt("ipc.client.timeout", 5000); + NameNode.format(conf); nameNode = new NameNodeRunner(); nameNodeThread = new Thread(nameNode); nameNodeThread.start(); From [email protected] Tue Mar 28 18:19:23 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88021 invoked from network); 28 Mar 2006 18:19:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Mar 2006 18:19:23 -0000 Received: (qmail 29668 invoked by uid 500); 28 Mar 2006 18:19:23 -0000 Delivered-To: [email protected] Received: (qmail 29651 invoked by uid 500); 28 Mar 2006 18:19:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 29638 invoked by uid 99); 28 Mar 2006 18:19:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Mar 2006 10:19:22 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 28 Mar 2006 10:19:22 -0800 Received: (qmail 87910 invoked by uid 65534); 28 Mar 2006 18:19:02 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r389568 - /lucene/hadoop/trunk/bin/hadoop Date: Tue, 28 Mar 2006 18:19:01 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Tue Mar 28 10:18:58 2006 New Revision: 389568 URL: http://svn.apache.org/viewcvs?rev=389568&view=rev Log: Document the new format command. Modified: lucene/hadoop/trunk/bin/hadoop Modified: lucene/hadoop/trunk/bin/hadoop URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/bin/hadoop?rev=389568&r1=389567&r2=389568&view=diff ============================================================================== --- lucene/hadoop/trunk/bin/hadoop (original) +++ lucene/hadoop/trunk/bin/hadoop Tue Mar 28 10:18:58 2006 @@ -30,6 +30,7 @@ if [ $# = 0 ]; then echo "Usage: hadoop COMMAND" echo "where COMMAND is one of:" + echo " namenode -format format the DFS filesystem" echo " namenode run the DFS namenode" echo " datanode run a DFS datanode" echo " dfs run a DFS admin client" From [email protected] Tue Mar 28 22:58:09 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30785 invoked from network); 28 Mar 2006 22:58:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Mar 2006 22:58:09 -0000 Received: (qmail 55628 invoked by uid 500); 28 Mar 2006 22:58:09 -0000 Delivered-To: [email protected] Received: (qmail 55604 invoked by uid 500); 28 Mar 2006 22:58:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55595 invoked by uid 99); 28 Mar 2006 22:58:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Mar 2006 14:58:08 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 28 Mar 2006 14:58:07 -0800 Received: (qmail 30727 invoked by uid 65534); 28 Mar 2006 22:57:47 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r389620 - in /lucene/hadoop/trunk/src: java/org/apache/hadoop/dfs/DistributedFileSystem.java test/org/apache/hadoop/dfs/TestLocalDFS.java Date: Tue, 28 Mar 2006 22:57:47 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Tue Mar 28 14:57:45 2006 New Revision: 389620 URL: http://svn.apache.org/viewcvs?rev=389620&view=rev Log: Fix unit tests on Windows. Don't assume that, just because a pathname begins with a slash that it also returns true for File.isAbsolute(). Instead use getAbsoluteFile() to force such things to be absolute. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DistributedFileSystem.java lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestLocalDFS.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DistributedFileSystem.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DistributedFileSystem.java?rev=389620&r1=389619&r2=389620&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DistributedFileSystem.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DistributedFileSystem.java Tue Mar 28 14:57:45 2006 @@ -33,7 +33,7 @@ *****************************************************************/ public class DistributedFileSystem extends FileSystem { private File workingDir = - new File("/user/", System.getProperty("user.name")); + new File("/user", System.getProperty("user.name")).getAbsoluteFile(); private String name; @@ -57,7 +57,7 @@ if (f.isAbsolute()) { return f; } else { - return new File(workingDir, f.toString()); + return new File(workingDir, f.getPath()); } } Modified: lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestLocalDFS.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestLocalDFS.java?rev=389620&r1=389619&r2=389620&view=diff ============================================================================== --- lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestLocalDFS.java (original) +++ lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestLocalDFS.java Tue Mar 28 14:57:45 2006 @@ -46,7 +46,7 @@ writeFile(fileSys, file1); assertTrue(fileSys.exists(new File(orig_path, file1.getPath()))); fileSys.delete(file1); - File subdir1 = new File("/somewhere"); + File subdir1 = new File("/somewhere").getAbsoluteFile(); fileSys.setWorkingDirectory(subdir1); writeFile(fileSys, file1); cleanupFile(fileSys, new File(subdir1, file1.getPath())); From [email protected] Wed Mar 29 00:02:10 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62990 invoked from network); 29 Mar 2006 00:02:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Mar 2006 00:02:10 -0000 Received: (qmail 13626 invoked by uid 500); 29 Mar 2006 00:02:10 -0000 Delivered-To: [email protected] Received: (qmail 13609 invoked by uid 500); 29 Mar 2006 00:02:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13600 invoked by uid 99); 29 Mar 2006 00:02:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Mar 2006 16:02:09 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 28 Mar 2006 16:02:09 -0800 Received: (qmail 62904 invoked by uid 65534); 29 Mar 2006 00:01:49 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r389633 - /lucene/hadoop/trunk/src/java/org/apache/hadoop/conf/Configuration.java Date: Wed, 29 Mar 2006 00:01:48 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Tue Mar 28 16:01:47 2006 New Revision: 389633 URL: http://svn.apache.org/viewcvs?rev=389633&view=rev Log: Always return an absolute pathname for local files. This fixes problems on Windows, where a path specified with "/foo" in a config file is sometimes treated as a relative path. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/conf/Configuration.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/conf/Configuration.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/conf/Configuration.java?rev=389633&r1=389632&r2=389633&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/conf/Configuration.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/conf/Configuration.java Tue Mar 28 16:01:47 2006 @@ -276,7 +276,7 @@ File file = new File(dirs[index], path); File dir = file.getParentFile(); if (dir.exists() || dir.mkdirs()) { - return file; + return file.getAbsoluteFile(); } } throw new IOException("No valid local directories in property: "+dirsProp); From [email protected] Wed Mar 29 00:12:35 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67081 invoked from network); 29 Mar 2006 00:12:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Mar 2006 00:12:35 -0000 Received: (qmail 28906 invoked by uid 500); 29 Mar 2006 00:12:35 -0000 Delivered-To: [email protected] Received: (qmail 28864 invoked by uid 500); 29 Mar 2006 00:12:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 28853 invoked by uid 99); 29 Mar 2006 00:12:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Mar 2006 16:12:35 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 28 Mar 2006 16:12:34 -0800 Received: (qmail 66999 invoked by uid 65534); 29 Mar 2006 00:12:11 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r389637 - /lucene/hadoop/trunk/bin/hadoop Date: Wed, 29 Mar 2006 00:12:10 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Tue Mar 28 16:12:08 2006 New Revision: 389637 URL: http://svn.apache.org/viewcvs?rev=389637&view=rev Log: Fix for file names with spaces. Modified: lucene/hadoop/trunk/bin/hadoop Modified: lucene/hadoop/trunk/bin/hadoop URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/bin/hadoop?rev=389637&r1=389636&r2=389637&view=diff ============================================================================== --- lucene/hadoop/trunk/bin/hadoop (original) +++ lucene/hadoop/trunk/bin/hadoop Tue Mar 28 16:12:08 2006 @@ -56,7 +56,7 @@ HADOOP_CONF_DIR="${HADOOP_CONF_DIR:-$HADOOP_HOME/conf}" if [ -f "${HADOOP_CONF_DIR}/hadoop-env.sh" ]; then - source ${HADOOP_CONF_DIR}/hadoop-env.sh + source "${HADOOP_CONF_DIR}/hadoop-env.sh" fi # some Java parameters From [email protected] Wed Mar 29 19:25:08 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96391 invoked from network); 29 Mar 2006 19:25:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Mar 2006 19:25:08 -0000 Received: (qmail 68048 invoked by uid 500); 29 Mar 2006 19:25:08 -0000 Delivered-To: [email protected] Received: (qmail 68021 invoked by uid 500); 29 Mar 2006 19:25:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 68012 invoked by uid 99); 29 Mar 2006 19:25:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Mar 2006 11:25:07 -0800 X-ASF-Spam-Status: No, hits=-8.6 required=10.0 tests=ALL_TRUSTED,INFO_TLD,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 29 Mar 2006 11:25:06 -0800 Received: (qmail 96220 invoked by uid 65534); 29 Mar 2006 19:24:46 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r389874 - in /lucene/hadoop/trunk: bin/hadoop src/java/org/apache/hadoop/dfs/DFSck.java Date: Wed, 29 Mar 2006 19:24:45 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: ab Date: Wed Mar 29 11:24:44 2006 New Revision: 389874 URL: http://svn.apache.org/viewcvs?rev=389874&view=rev Log: Add a tool for checking DFS consistency (HADOOP-101). Add a shortcut to bin/hadoop. In accordance with long-standing *nix tradition this command is called 'fsck'. Development of this tool has been supported by Krugle.net. Thank you! Added: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSck.java (with props) Modified: lucene/hadoop/trunk/bin/hadoop Modified: lucene/hadoop/trunk/bin/hadoop URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/bin/hadoop?rev=389874&r1=389873&r2=389874&view=diff ============================================================================== --- lucene/hadoop/trunk/bin/hadoop (original) +++ lucene/hadoop/trunk/bin/hadoop Wed Mar 29 11:24:44 2006 @@ -34,6 +34,7 @@ echo " namenode run the DFS namenode" echo " datanode run a DFS datanode" echo " dfs run a DFS admin client" + echo " fsck run a DFS filesystem checking utility" echo " jobtracker run the MapReduce job Tracker node" echo " tasktracker run a MapReduce task Tracker node" echo " job manipulate MapReduce jobs" @@ -125,6 +126,8 @@ CLASS='org.apache.hadoop.dfs.DataNode' elif [ "$COMMAND" = "dfs" ] ; then CLASS=org.apache.hadoop.dfs.DFSShell +elif [ "$COMMAND" = "fsck" ] ; then + CLASS=org.apache.hadoop.dfs.DFSck elif [ "$COMMAND" = "jobtracker" ] ; then CLASS=org.apache.hadoop.mapred.JobTracker elif [ "$COMMAND" = "tasktracker" ] ; then Added: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSck.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSck.java?rev=389874&view=auto ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSck.java (added) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSck.java Wed Mar 29 11:24:44 2006 @@ -0,0 +1,595 @@ +/** + * Copyright 2006 The Apache Software Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.hadoop.dfs; + +import java.io.BufferedInputStream; +import java.io.BufferedOutputStream; +import java.io.DataInputStream; +import java.io.DataOutputStream; +import java.io.IOException; +import java.lang.reflect.Method; +import java.net.InetSocketAddress; +import java.net.Socket; +import java.util.ArrayList; +import java.util.Random; +import java.util.TreeSet; +import java.util.logging.Logger; + +import org.apache.hadoop.conf.Configuration; +import org.apache.hadoop.fs.FSOutputStream; +import org.apache.hadoop.io.UTF8; + +/** + * This class provides rudimentary checking of DFS volumes for errors and + * sub-optimal conditions. + * <p>The tool scans all files and directories, starting from an indicated + * root path. The following abnormal conditions are detected and handled:</p> + * <ul> + * <li>files with blocks that are completely missing from all datanodes.<br/> + * In this case the tool can perform one of the following actions: + * <ul> + * <li>none ({@link #FIXING_NONE})</li> + * <li>move corrupted files to /lost+found directory on DFS + * ({@link #FIXING_MOVE}). Remaining data blocks are saved as a + * block chains, representing longest consecutive series of valid blocks.</li> + * <li>delete corrupted files ({@link #FIXING_DELETE})</li> + * </ul> + * </li> + * <li>detect files with under-replicated or over-replicated blocks</li> + * </ul> + * Additionally, the tool collects a detailed overall DFS statistics, and + * optionally can print detailed statistics on block locations and replication + * factors of each file. + * + * @author Andrzej Bialecki + */ +public class DFSck { + private static final Logger LOG = Logger.getLogger(DFSck.class.getName()); + + /** Don't attempt any fixing . */ + public static final int FIXING_NONE = 0; + /** Move corrupted files to /lost+found . */ + public static final int FIXING_MOVE = 1; + /** Delete corrupted files. */ + public static final int FIXING_DELETE = 2; + + private DFSClient dfs; + private UTF8 lostFound = null; + private boolean lfInited = false; + private boolean lfInitedOk = false; + private Configuration conf; + private boolean showFiles = false; + private boolean showBlocks = false; + private boolean showLocations = false; + private int fixing; + + /** + * Filesystem checker. + * @param conf current Configuration + * @param fixing one of pre-defined values + * @param showFiles show each file being checked + * @param showBlocks for each file checked show its block information + * @param showLocations for each block in each file show block locations + * @throws Exception + */ + public DFSck(Configuration conf, int fixing, boolean showFiles, boolean showBlocks, boolean showLocations) throws Exception { + this.conf = conf; + this.fixing = fixing; + this.showFiles = showFiles; + this.showBlocks = showBlocks; + this.showLocations = showLocations; + String fsName = conf.get("fs.default.name", "local"); + if (fsName.equals("local")) { + throw new Exception("This tool only checks DFS, but your config uses 'local' FS."); + } + this.dfs = new DFSClient(DataNode.createSocketAddr(fsName), conf); + } + + /** + * Check files on DFS, starting from the indicated path. + * @param path starting point + * @return result of checking + * @throws Exception + */ + public Result fsck(String path) throws Exception { + DFSFileInfo[] files = dfs.listFiles(new UTF8(path)); + Result res = new Result(); + res.setReplication(conf.getInt("dfs.replication", 3)); + for (int i = 0; i < files.length; i++) { + check(files[i], res); + } + return res; + } + + private void check(DFSFileInfo file, Result res) throws Exception { + if (file.isDir()) { + if (showFiles) + System.out.println(file.getPath() + " <dir>"); + res.totalDirs++; + DFSFileInfo[] files = dfs.listFiles(new UTF8(file.getPath())); + for (int i = 0; i < files.length; i++) { + check(files[i], res); + } + return; + } + res.totalFiles++; + res.totalSize += file.getLen(); + LocatedBlock[] blocks = dfs.namenode.open(file.getPath()); + res.totalBlocks += blocks.length; + if (showFiles) { + System.out.print(file.getPath() + " " + file.getLen() + ", " + blocks.length + " block(s): "); + } else { + System.out.print('.'); + System.out.flush(); + if (res.totalFiles % 100 == 0) System.out.println(); + } + int missing = 0; + long missize = 0; + StringBuffer report = new StringBuffer(); + for (int i = 0; i < blocks.length; i++) { + Block block = blocks[i].getBlock(); + long id = block.getBlockId(); + DatanodeInfo[] locs = blocks[i].getLocations(); + if (locs.length > res.replication) res.overReplicatedBlocks += (locs.length - res.replication); + if (locs.length < res.replication && locs.length > 0) res.underReplicatedBlocks += (res.replication - locs.length); + report.append(i + ". " + id + " len=" + block.getNumBytes()); + if (locs == null || locs.length == 0) { + report.append(" MISSING!"); + res.addMissing(block.getBlockName(), block.getNumBytes()); + missing++; + missize += block.getNumBytes(); + } else { + report.append(" repl=" + locs.length); + if (showLocations) { + StringBuffer sb = new StringBuffer("["); + for (int j = 0; j < locs.length; j++) { + if (j > 0) sb.append(", "); + sb.append(locs[j]); + } + sb.append(']'); + report.append(" " + sb.toString()); + } + } + report.append('\n'); + } + if (missing > 0) { + if (!showFiles) + System.out.println("\nMISSING " + missing + " blocks of total size " + missize + " B"); + res.corruptFiles++; + switch (fixing) { + case FIXING_NONE: // do nothing + System.err.println("\n - ignoring corrupted " + file.getPath()); + break; + case FIXING_MOVE: + System.err.println("\n - moving to /lost+found: " + file.getPath()); + lostFoundMove(file, blocks); + break; + case FIXING_DELETE: + System.err.println("\n - deleting corrupted " + file.getPath()); + dfs.delete(new UTF8(file.getPath())); + } + } + if (showFiles) { + if (missing > 0) { + System.out.println(" MISSING " + missing + " blocks of total size " + missize + " B"); + } else System.out.println(" OK"); + if (showBlocks) System.out.println(report.toString()); + } + } + + private void lostFoundMove(DFSFileInfo file, LocatedBlock[] blocks) { + if (!lfInited) { + lostFoundInit(); + } + if (!lfInitedOk) { + return; + } + UTF8 target = new UTF8(lostFound.toString() + file.getPath()); + String errmsg = "Failed to move " + file.getPath() + " to /lost+found"; + try { + if (!dfs.mkdirs(target)) { + System.err.println(errmsg); + return; + } + // create chains + int chain = 0; + FSOutputStream fos = null; + for (int i = 0; i < blocks.length; i++) { + LocatedBlock lblock = blocks[i]; + DatanodeInfo[] locs = lblock.getLocations(); + if (locs == null || locs.length == 0) { + if (fos != null) { + fos.flush(); + fos.close(); + fos = null; + } + continue; + } + if (fos == null) { + fos = dfs.create(new UTF8(target.toString() + "/" + chain), true); + if (fos != null) chain++; + } + if (fos == null) { + System.err.println(errmsg + ": could not store chain " + chain); + // perhaps we should bail out here... + // return; + continue; + } + + // copy the block. It's a pity it's not abstracted from DFSInputStream ... + try { + copyBlock(lblock, fos); + } catch (Exception e) { + e.printStackTrace(); + // something went wrong copying this block... + System.err.println(" - could not copy block " + lblock.getBlock().getBlockName() + " to " + target); + fos.flush(); + fos.close(); + fos = null; + } + } + if (fos != null) fos.close(); + System.err.println("\n - moved corrupted file " + file.getPath() + " to /lost+found"); + dfs.delete(new UTF8(file.getPath())); + } catch (Exception e) { + e.printStackTrace(); + System.err.println(errmsg + ": " + e.getMessage()); + } + } + + /* + * XXX (ab) Bulk of this method is copied verbatim from {@link DFSClient}, which is + * bad. Both places should be refactored to provide a method to copy blocks + * around. + */ + private void copyBlock(LocatedBlock lblock, FSOutputStream fos) throws Exception { + int failures = 0; + InetSocketAddress targetAddr = null; + TreeSet deadNodes = new TreeSet(); + Socket s = null; + DataInputStream in = null; + DataOutputStream out = null; + while (s == null) { + DatanodeInfo chosenNode; + + try { + chosenNode = bestNode(lblock.getLocations(), deadNodes); + targetAddr = DataNode.createSocketAddr(chosenNode.getName().toString()); + } catch (IOException ie) { + if (failures >= DFSClient.MAX_BLOCK_ACQUIRE_FAILURES) { + throw new IOException("Could not obtain block " + lblock); + } + LOG.info("Could not obtain block from any node: " + ie); + try { + Thread.sleep(10000); + } catch (InterruptedException iex) { + } + deadNodes.clear(); + failures++; + continue; + } + try { + s = new Socket(); + s.connect(targetAddr, FSConstants.READ_TIMEOUT); + s.setSoTimeout(FSConstants.READ_TIMEOUT); + + // + // Xmit header info to datanode + // + out = new DataOutputStream(new BufferedOutputStream(s.getOutputStream())); + out.write(FSConstants.OP_READSKIP_BLOCK); + lblock.getBlock().write(out); + out.writeLong(0L); + out.flush(); + + // + // Get bytes in block, set streams + // + in = new DataInputStream(new BufferedInputStream(s.getInputStream())); + long curBlockSize = in.readLong(); + long amtSkipped = in.readLong(); + if (curBlockSize != lblock.getBlock().len) { + throw new IOException("Recorded block size is " + lblock.getBlock().len + ", but datanode reports size of " + curBlockSize); + } + if (amtSkipped != 0L) { + throw new IOException("Asked for offset of " + 0L + ", but only received offset of " + amtSkipped); + } + } catch (IOException ex) { + // Put chosen node into dead list, continue + LOG.info("Failed to connect to " + targetAddr + ":" + ex); + deadNodes.add(chosenNode); + if (s != null) { + try { + s.close(); + } catch (IOException iex) { + } + } + s = null; + } + } + if (in == null) { + throw new Exception("Could not open data stream for " + lblock.getBlock().getBlockName()); + } + byte[] buf = new byte[1024]; + int cnt = 0; + boolean success = true; + try { + while ((cnt = in.read(buf)) > 0) { + fos.write(buf, 0, cnt); + } + } catch (Exception e) { + e.printStackTrace(); + success = false; + } finally { + try {in.close(); } catch (Exception e1) {}; + try {out.close(); } catch (Exception e1) {}; + try {s.close(); } catch (Exception e1) {}; + } + if (!success) + throw new Exception("Could not copy block data for " + lblock.getBlock().getBlockName()); + } + + /* + * XXX (ab) See comment above for copyBlock(). + * + * Pick the best node from which to stream the data. + * That's the local one, if available. + */ + Random r = new Random(); + private DatanodeInfo bestNode(DatanodeInfo nodes[], TreeSet deadNodes) throws IOException { + if ((nodes == null) || + (nodes.length - deadNodes.size() < 1)) { + throw new IOException("No live nodes contain current block"); + } + DatanodeInfo chosenNode = null; + for (int i = 0; i < nodes.length; i++) { + if (deadNodes.contains(nodes[i])) { + continue; + } + String nodename = nodes[i].getName().toString(); + int colon = nodename.indexOf(':'); + if (colon >= 0) { + nodename = nodename.substring(0, colon); + } + if (dfs.localName.equals(nodename)) { + chosenNode = nodes[i]; + break; + } + } + if (chosenNode == null) { + do { + chosenNode = nodes[Math.abs(r.nextInt()) % nodes.length]; + } while (deadNodes.contains(chosenNode)); + } + return chosenNode; + } + + private void lostFoundInit() { + lfInited = true; + try { + UTF8 lfName = new UTF8("/lost+found"); + // check that /lost+found exists + if (!dfs.exists(lfName)) { + lfInitedOk = dfs.mkdirs(lfName); + lostFound = lfName; + } else if (!dfs.isDirectory(lfName)) { + System.err.println("Cannot use /lost+found : a regular file with this name exists."); + lfInitedOk = false; + } else { // exists and isDirectory + lostFound = lfName; + lfInitedOk = true; + } + } catch (Exception e) { + e.printStackTrace(); + lfInitedOk = false; + } + if (lostFound == null) { + System.err.println("Cannot initialize /lost+found ."); + lfInitedOk = false; + } + } + + /** + * @param args + */ + public static void main(String[] args) throws Exception { + if (args.length == 0) { + System.err.println("Usage: DFSck <path> [-move | -delete] [-files] [-blocks [-locations]]"); + System.err.println("\t<path>\tstart checking from this path"); + System.err.println("\t-move\tmove corrupted files to /lost+found"); + System.err.println("\t-delete\tdelete corrupted files"); + System.err.println("\t-files\tprint out files being checked"); + System.err.println("\t-blocks\tprint out block report"); + System.err.println("\t-locations\tprint out locations for every block"); + return; + } + Configuration conf = new Configuration(); + String path = args[0]; + boolean showFiles = false; + boolean showBlocks = false; + boolean showLocations = false; + int fixing = FIXING_NONE; + for (int i = 1; i < args.length; i++) { + if (args[i].equals("-files")) showFiles = true; + if (args[i].equals("-blocks")) showBlocks = true; + if (args[i].equals("-locations")) showLocations = true; + if (args[i].equals("-move")) fixing = FIXING_MOVE; + if (args[i].equals("-delete")) fixing = FIXING_DELETE; + } + DFSck fsck = new DFSck(conf, fixing, showFiles, showBlocks, showLocations); + Result res = fsck.fsck(path); + System.out.println(); + System.out.println(res); + if (res.isHealthy()) { + System.out.println("\n\nThe filesystem under path '" + args[0] + "' is HEALTHY"); + } else { + System.out.println("\n\nThe filesystem under path '" + args[0] + "' is CORRUPT"); + } + } + + /** + * Result of checking, plus overall DFS statistics. + * @author Andrzej Bialecki + */ + public static class Result { + private ArrayList missingIds = new ArrayList(); + private long missingSize = 0L; + private long corruptFiles = 0L; + private long overReplicatedBlocks = 0L; + private long underReplicatedBlocks = 0L; + private int replication = 0; + private long totalBlocks = 0L; + private long totalFiles = 0L; + private long totalDirs = 0L; + private long totalSize = 0L; + + /** + * DFS is considered healthy if there are no missing blocks. + * @return + */ + public boolean isHealthy() { + return missingIds.size() == 0; + } + + /** Add a missing block name, plus its size. */ + public void addMissing(String id, long size) { + missingIds.add(id); + missingSize += size; + } + + /** Return a list of missing block names (as list of Strings). */ + public ArrayList getMissingIds() { + return missingIds; + } + + /** Return total size of missing data, in bytes. */ + public long getMissingSize() { + return missingSize; + } + + public void setMissingSize(long missingSize) { + this.missingSize = missingSize; + } + + /** Return the number of over-replicsted blocks. */ + public long getOverReplicatedBlocks() { + return overReplicatedBlocks; + } + + public void setOverReplicatedBlocks(long overReplicatedBlocks) { + this.overReplicatedBlocks = overReplicatedBlocks; + } + + /** Return the actual replication factor. */ + public float getReplicationFactor() { + return (float)(totalBlocks * replication + overReplicatedBlocks - underReplicatedBlocks) / (float)totalBlocks; + } + + /** Return the number of under-replicated blocks. Note: missing blocks are not counted here.*/ + public long getUnderReplicatedBlocks() { + return underReplicatedBlocks; + } + + public void setUnderReplicatedBlocks(long underReplicatedBlocks) { + this.underReplicatedBlocks = underReplicatedBlocks; + } + + /** Return total number of directories encountered during this scan. */ + public long getTotalDirs() { + return totalDirs; + } + + public void setTotalDirs(long totalDirs) { + this.totalDirs = totalDirs; + } + + /** Return total number of files encountered during this scan. */ + public long getTotalFiles() { + return totalFiles; + } + + public void setTotalFiles(long totalFiles) { + this.totalFiles = totalFiles; + } + + /** Return total size of scanned data, in bytes. */ + public long getTotalSize() { + return totalSize; + } + + public void setTotalSize(long totalSize) { + this.totalSize = totalSize; + } + + /** Return the intended replication factor, against which the over/under- + * replicated blocks are counted. Note: this values comes from the current + * Configuration supplied for the tool, so it may be different from the + * value in DFS Configuration. + */ + public int getReplication() { + return replication; + } + + public void setReplication(int replication) { + this.replication = replication; + } + + /** Return the total number of blocks in the scanned area. */ + public long getTotalBlocks() { + return totalBlocks; + } + + public void setTotalBlocks(long totalBlocks) { + this.totalBlocks = totalBlocks; + } + + public String toString() { + StringBuffer res = new StringBuffer(); + res.append("Status: " + (isHealthy() ? "HEALTHY" : "CORRUPT")); + res.append("\n Total size:\t" + totalSize + " B"); + res.append("\n Total blocks:\t" + totalBlocks + " (avg. block size " + + (totalSize / totalBlocks) + " B)"); + res.append("\n Total dirs:\t" + totalDirs); + res.append("\n Total files:\t" + totalFiles); + if (missingSize > 0) { + res.append("\n ********************************"); + res.append("\n CORRUPT FILES:\t" + corruptFiles); + res.append("\n MISSING BLOCKS:\t" + missingIds.size()); + res.append("\n MISSING SIZE:\t\t" + missingSize + " B"); + res.append("\n ********************************"); + } + res.append("\n Over-replicated blocks:\t" + overReplicatedBlocks + + " (" + ((float)(overReplicatedBlocks * 100) / (float)totalBlocks) + + " %)"); + res.append("\n Under-replicated blocks:\t" + underReplicatedBlocks + + " (" + ((float)(underReplicatedBlocks * 100) / (float)totalBlocks) + + " %)"); + res.append("\n Target replication factor:\t" + replication); + res.append("\n Real replication factor:\t" + getReplicationFactor()); + return res.toString(); + } + + /** Return the number of currupted files. */ + public long getCorruptFiles() { + return corruptFiles; + } + + public void setCorruptFiles(long corruptFiles) { + this.corruptFiles = corruptFiles; + } + } + +} Propchange: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSck.java ------------------------------------------------------------------------------ svn:eol-style = native From [email protected] Wed Mar 29 22:21:17 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96196 invoked from network); 29 Mar 2006 22:21:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Mar 2006 22:21:01 -0000 Received: (qmail 40494 invoked by uid 500); 29 Mar 2006 22:20:56 -0000 Delivered-To: [email protected] Received: (qmail 40472 invoked by uid 500); 29 Mar 2006 22:20:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 40463 invoked by uid 99); 29 Mar 2006 22:20:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Mar 2006 14:20:56 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 29 Mar 2006 14:20:55 -0800 Received: (qmail 95822 invoked by uid 65534); 29 Mar 2006 22:20:33 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r389910 - in /lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs: DFSShell.java DataNodeReport.java DistributedFileSystem.java Date: Wed, 29 Mar 2006 22:20:22 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Wed Mar 29 14:20:19 2006 New Revision: 389910 URL: http://svn.apache.org/viewcvs?rev=389910&view=rev Log: Fix HADOOP-67. Add a public API for dfs statistics. Also switch to use the public API for reporting in DFSShell. Added: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DataNodeReport.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSShell.java lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DistributedFileSystem.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSShell.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSShell.java?rev=389910&r1=389909&r2=389910&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSShell.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSShell.java Wed Mar 29 14:20:19 2006 @@ -158,7 +158,7 @@ /** * Return an abbreviated English-language desc of the byte length */ - String byteDesc(long len) { + static String byteDesc(long len) { double val = 0.0; String ending = ""; if (len < 1024 * 1024) { @@ -174,7 +174,7 @@ return limitDecimal(val, 2) + ending; } - String limitDecimal(double d, int placesAfterDecimal) { + static String limitDecimal(double d, int placesAfterDecimal) { String strVal = Double.toString(d); int decpt = strVal.indexOf("."); if (decpt >= 0) { @@ -187,42 +187,28 @@ * Gives a report on how the FileSystem is doing */ public void report() throws IOException { - if (fs instanceof DistributedFileSystem) { - DistributedFileSystem dfsfs = (DistributedFileSystem) fs; - DFSClient dfs = dfsfs.getClient(); - long total = dfs.totalRawCapacity(); - long used = dfs.totalRawUsed(); - DatanodeInfo info[] = dfs.datanodeReport(); + if (fs instanceof DistributedFileSystem) { + DistributedFileSystem dfs = (DistributedFileSystem)fs; + long raw = dfs.getRawCapacity(); + long rawUsed = dfs.getRawUsed(); + long used = dfs.getUsed(); - long totalEffectiveBytes = 0; - File topItems[] = fs.listFiles(new File("/")); - for (int i = 0; i < topItems.length; i++) { - DFSFile cur = (DFSFile) topItems[i]; - totalEffectiveBytes += cur.getContentsLength(); - } + System.out.println("Total raw bytes: " + raw + " (" + byteDesc(raw) + ")"); + System.out.println("Used raw bytes: " + rawUsed + " (" + byteDesc(rawUsed) + ")"); + System.out.println("% used: " + limitDecimal(((1.0 * rawUsed) / raw) * 100, 2) + "%"); + System.out.println(); + System.out.println("Total effective bytes: " + used + " (" + byteDesc(used) + ")"); + System.out.println("Effective replication multiplier: " + (1.0 * rawUsed / used)); - System.out.println("Total raw bytes: " + total + " (" + byteDesc(total) + ")"); - System.out.println("Used raw bytes: " + used + " (" + byteDesc(used) + ")"); - System.out.println("% used: " + limitDecimal(((1.0 * used) / total) * 100, 2) + "%"); - System.out.println(); - System.out.println("Total effective bytes: " + totalEffectiveBytes + " (" + byteDesc(totalEffectiveBytes) + ")"); - System.out.println("Effective replication multiplier: " + (1.0 * used / totalEffectiveBytes)); - - System.out.println("-------------------------------------------------"); - System.out.println("Datanodes available: " + info.length); - System.out.println(); - for (int i = 0; i < info.length; i++) { - System.out.println("Name: " + info[i].getName().toString()); - long c = info[i].getCapacity(); - long r = info[i].getRemaining(); - long u = c - r; - System.out.println("Total raw bytes: " + c + " (" + byteDesc(c) + ")"); - System.out.println("Used raw bytes: " + u + " (" + byteDesc(u) + ")"); - System.out.println("% used: " + limitDecimal(((1.0 * u) / c) * 100, 2) + "%"); - System.out.println("Last contact with namenode: " + new Date(info[i].lastUpdate())); - System.out.println(); - } + System.out.println("-------------------------------------------------"); + DataNodeReport info[] = dfs.getDataNodeStats(); + System.out.println("Datanodes available: " + info.length); + System.out.println(); + for (int i = 0; i < info.length; i++) { + System.out.println(info[i]); + System.out.println(); } + } } /** Added: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DataNodeReport.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DataNodeReport.java?rev=389910&view=auto ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DataNodeReport.java (added) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DataNodeReport.java Wed Mar 29 14:20:19 2006 @@ -0,0 +1,46 @@ +package org.apache.hadoop.dfs; + +import java.util.Date; + +import org.apache.hadoop.io.UTF8; + +/** A report on the status of a DataNode. + * + * @see DistributedFileSystem#getDataNodeStats + */ +public class DataNodeReport { + String name; + String host; + long capacity; + long remaining; + long lastUpdate; + + /** The name of the datanode. */ + public String getName() { return name; } + + /** The hostname of the datanode. */ + public String getHost() { return host; } + + /** The raw capacity. */ + public long getCapacity() { return capacity; } + + /** The raw free space. */ + public long getRemaining() { return remaining; } + + /** The time when this information was accurate. */ + public long getLastUpdate() { return lastUpdate; } + + public String toString() { + StringBuffer buffer = new StringBuffer(); + long c = getCapacity(); + long r = getRemaining(); + long u = c - r; + buffer.append("Name: "+name+"\n"); + buffer.append("Total raw bytes: "+c+" ("+DFSShell.byteDesc(c)+")"+"\n"); + buffer.append("Used raw bytes: "+u+" ("+DFSShell.byteDesc(u)+")"+"\n"); + buffer.append("% used: "+DFSShell.limitDecimal(((1.0*u)/c)*100,2)+"%"+"\n"); + buffer.append("Last contact: "+new Date(lastUpdate)+"\n"); + return buffer.toString(); + } + +} Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DistributedFileSystem.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DistributedFileSystem.java?rev=389910&r1=389909&r2=389910&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DistributedFileSystem.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DistributedFileSystem.java Wed Mar 29 14:20:19 2006 @@ -299,4 +299,41 @@ return dfs.BLOCK_SIZE; } + /** Return the total raw capacity of the filesystem, disregarding + * replication .*/ + public long getRawCapacity() throws IOException{ + return dfs.totalRawCapacity(); + } + + /** Return the total raw used space in the filesystem, disregarding + * replication .*/ + public long getRawUsed() throws IOException{ + return dfs.totalRawUsed(); + } + + /** Return the total size of all files in the filesystem.*/ + public long getUsed()throws IOException{ + long used = 0; + DFSFileInfo dfsFiles[] = dfs.listFiles(getPath(new File("/"))); + for(int i=0;i<dfsFiles.length;i++){ + used += dfsFiles[i].getContentsLen(); + } + return used; + } + + /** Return statistics for each datanode.*/ + public DataNodeReport[] getDataNodeStats() throws IOException { + DatanodeInfo[] dnReport = dfs.datanodeReport(); + DataNodeReport[] reports = new DataNodeReport[dnReport.length]; + + for (int i = 0; i < dnReport.length; i++) { + reports[i] = new DataNodeReport(); + reports[i].name = dnReport[i].getName().toString(); + reports[i].host = dnReport[i].getHost().toString(); + reports[i].capacity = dnReport[i].getCapacity(); + reports[i].remaining = dnReport[i].getRemaining(); + reports[i].lastUpdate = dnReport[i].lastUpdate(); + } + return reports; + } } From [email protected] Wed Mar 29 22:39:54 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7571 invoked from network); 29 Mar 2006 22:39:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Mar 2006 22:39:54 -0000 Received: (qmail 71746 invoked by uid 500); 29 Mar 2006 22:39:54 -0000 Delivered-To: [email protected] Received: (qmail 71700 invoked by uid 500); 29 Mar 2006 22:39:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71691 invoked by uid 99); 29 Mar 2006 22:39:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Mar 2006 14:39:53 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 29 Mar 2006 14:39:52 -0800 Received: (qmail 6738 invoked by uid 65534); 29 Mar 2006 22:39:31 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r389916 - in /lucene/hadoop/trunk: conf/ src/java/org/apache/hadoop/dfs/ src/java/org/apache/hadoop/fs/ src/test/org/apache/hadoop/dfs/ Date: Wed, 29 Mar 2006 22:39:24 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Wed Mar 29 14:39:23 2006 New Revision: 389916 URL: http://svn.apache.org/viewcvs?rev=389916&view=rev Log: Fix HADOOP-33. Avoid calling df too frequently by caching values internally. Contributed by Konstantin Shvachko. Modified: lucene/hadoop/trunk/conf/hadoop-default.xml lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSDataset.java lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/DF.java lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/LocalFileSystem.java lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/ClusterTestDFS.java Modified: lucene/hadoop/trunk/conf/hadoop-default.xml URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/conf/hadoop-default.xml?rev=389916&r1=389915&r2=389916&view=diff ============================================================================== --- lucene/hadoop/trunk/conf/hadoop-default.xml (original) +++ lucene/hadoop/trunk/conf/hadoop-default.xml Wed Mar 29 14:39:23 2006 @@ -97,6 +97,12 @@ cluster.</description> </property> +<property> + <name>dfs.df.interval</name> + <value>3000</value> + <description>Disk usage statistics refresh interval in msec.</description> +</property> + <!-- map/reduce properties --> <property> Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSDataset.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSDataset.java?rev=389916&r1=389915&r2=389916&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSDataset.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSDataset.java Wed Mar 29 14:39:23 2006 @@ -182,7 +182,7 @@ // ////////////////////////////////////////////////////// - String dirpath = null; + DF diskUsage; File data = null, tmp = null; long reserved = 0; FSDir dirTree; @@ -192,7 +192,7 @@ * An FSDataset has a directory where it loads its data files. */ public FSDataset(File dir, Configuration conf) throws IOException { - this.dirpath = dir.getCanonicalPath(); + diskUsage = new DF( dir.getCanonicalPath(), conf); this.data = new File(dir, "data"); if (! data.exists()) { data.mkdirs(); @@ -209,14 +209,14 @@ * Return total capacity, used and unused */ public long getCapacity() throws IOException { - return new DF(dirpath).getCapacity(); + return diskUsage.getCapacity(); } /** * Return how many bytes can still be stored in the FSDataset */ public long getRemaining() throws IOException { - return ((long) Math.round(USABLE_DISK_PCT * new DF(dirpath).getAvailable())) - reserved; + return ((long) Math.round(USABLE_DISK_PCT * diskUsage.getAvailable())) - reserved; } /** @@ -397,7 +397,7 @@ for (int i = 0; i < invalidBlks.length; i++) { File f = getFile(invalidBlks[i]); - long len = f.length(); + // long len = f.length(); if (!f.delete()) { throw new IOException("Unexpected error trying to delete block " + invalidBlks[i] + " at file " + f); } @@ -422,7 +422,7 @@ public String toString() { return "FSDataset{" + - "dirpath='" + dirpath + "'" + + "dirpath='" + diskUsage.getDirPath() + "'" + "}"; } Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/DF.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/DF.java?rev=389916&r1=389915&r2=389916&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/DF.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/DF.java Wed Mar 29 14:39:23 2006 @@ -21,9 +21,17 @@ import java.util.StringTokenizer; +import org.apache.hadoop.conf.Configuration; + /** Filesystem disk space usage statistics. Uses the unix 'df' program. - * Tested on Linux, FreeBSD and Cygwin. */ + * Tested on Linux, FreeBSD, Cygwin. */ public class DF { + public static final long DF_INTERVAL_DEFAULT = 3 * 1000; // default DF refresh interval + + private String dirPath; + private long dfInterval; // DF refresh interval in msec + private long lastDF; // last time doDF() was performed + private String filesystem; private long capacity; private long used; @@ -31,35 +39,31 @@ private int percentUsed; private String mount; - public DF(String path) throws IOException { + public DF(String path, Configuration conf ) throws IOException { + this( path, conf.getLong( "dfs.df.interval", DF.DF_INTERVAL_DEFAULT )); + } - Process process = Runtime.getRuntime().exec(new String[] {"df","-k",path}); + public DF(String path, long dfInterval) throws IOException { + this.dirPath = path; + this.dfInterval = dfInterval; + lastDF = ( dfInterval < 0 ) ? 0 : -dfInterval; + this.doDF(); + } + + private void doDF() throws IOException { + if( lastDF + dfInterval > System.currentTimeMillis() ) + return; + Process process; + process = Runtime.getRuntime().exec(getExecString()); try { - if (process.waitFor() == 0) { - BufferedReader lines = - new BufferedReader(new InputStreamReader(process.getInputStream())); - - lines.readLine(); // skip headings - - StringTokenizer tokens = - new StringTokenizer(lines.readLine(), " \t\n\r\f%"); - - this.filesystem = tokens.nextToken(); - if (!tokens.hasMoreTokens()) { // for long filesystem name - tokens = new StringTokenizer(lines.readLine(), " \t\n\r\f%"); - } - this.capacity = Long.parseLong(tokens.nextToken()) * 1024; - this.used = Long.parseLong(tokens.nextToken()) * 1024; - this.available = Long.parseLong(tokens.nextToken()) * 1024; - this.percentUsed = Integer.parseInt(tokens.nextToken()); - this.mount = tokens.nextToken(); - - } else { + if (process.waitFor() != 0) { throw new IOException - (new BufferedReader(new InputStreamReader(process.getErrorStream())) - .readLine()); + (new BufferedReader(new InputStreamReader(process.getErrorStream())) + .readLine()); } + parseExecResult( + new BufferedReader(new InputStreamReader(process.getInputStream()))); } catch (InterruptedException e) { throw new IOException(e.toString()); } finally { @@ -69,12 +73,39 @@ /// ACCESSORS - public String getFilesystem() { return filesystem; } - public long getCapacity() { return capacity; } - public long getUsed() { return used; } - public long getAvailable() { return available; } - public int getPercentUsed() { return percentUsed; } - public String getMount() { return mount; } + public String getDirPath() { + return dirPath; + } + + public String getFilesystem() throws IOException { + doDF(); + return filesystem; + } + + public long getCapacity() throws IOException { + doDF(); + return capacity; + } + + public long getUsed() throws IOException { + doDF(); + return used; + } + + public long getAvailable() throws IOException { + doDF(); + return available; + } + + public int getPercentUsed() throws IOException { + doDF(); + return percentUsed; + } + + public String getMount() throws IOException { + doDF(); + return mount; + } public String toString() { return @@ -87,7 +118,33 @@ mount; } + private String[] getExecString() { + return new String[] {"df","-k",dirPath}; + } + + private void parseExecResult( BufferedReader lines ) throws IOException { + lines.readLine(); // skip headings + + StringTokenizer tokens = + new StringTokenizer(lines.readLine(), " \t\n\r\f%"); + + this.filesystem = tokens.nextToken(); + if (!tokens.hasMoreTokens()) { // for long filesystem name + tokens = new StringTokenizer(lines.readLine(), " \t\n\r\f%"); + } + this.capacity = Long.parseLong(tokens.nextToken()) * 1024; + this.used = Long.parseLong(tokens.nextToken()) * 1024; + this.available = Long.parseLong(tokens.nextToken()) * 1024; + this.percentUsed = Integer.parseInt(tokens.nextToken()); + this.mount = tokens.nextToken(); + this.lastDF = System.currentTimeMillis(); + } + public static void main(String[] args) throws Exception { - System.out.println(new DF(args[0])); + String path = "."; + if( args.length > 0 ) + path = args[0]; + + System.out.println(new DF(path, DF_INTERVAL_DEFAULT).toString()); } } Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/LocalFileSystem.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/LocalFileSystem.java?rev=389916&r1=389915&r2=389916&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/LocalFileSystem.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/LocalFileSystem.java Wed Mar 29 14:39:23 2006 @@ -360,7 +360,7 @@ f = makeAbsolute(f).getCanonicalFile(); // find highest writable parent dir of f on the same device - String device = new DF(f.toString()).getMount(); + String device = new DF(f.toString(), getConf()).getMount(); File parent = f.getParentFile(); File dir; do { Modified: lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/ClusterTestDFS.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/ClusterTestDFS.java?rev=389916&r1=389915&r2=389916&view=diff ============================================================================== --- lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/ClusterTestDFS.java (original) +++ lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/ClusterTestDFS.java Wed Mar 29 14:39:23 2006 @@ -365,7 +365,7 @@ if (i != iDatanodeClosed) { try { if (checkDataDirsEmpty) { - File dataDir = new File(dataNode.data.dirpath); + File dataDir = new File(dataNode.data.diskUsage.getDirPath()); assertNoBlocks(dataDir); } From [email protected] Thu Mar 30 18:47:00 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73261 invoked from network); 30 Mar 2006 18:47:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Mar 2006 18:47:00 -0000 Received: (qmail 98759 invoked by uid 500); 30 Mar 2006 18:47:00 -0000 Delivered-To: [email protected] Received: (qmail 98708 invoked by uid 500); 30 Mar 2006 18:46:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 98699 invoked by uid 99); 30 Mar 2006 18:46:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Mar 2006 10:46:59 -0800 X-ASF-Spam-Status: No, hits=-8.6 required=10.0 tests=ALL_TRUSTED,INFO_TLD,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 30 Mar 2006 10:46:58 -0800 Received: (qmail 73138 invoked by uid 65534); 30 Mar 2006 18:46:38 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r390213 - /lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java Date: Thu, 30 Mar 2006 18:46:37 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Thu Mar 30 10:46:35 2006 New Revision: 390213 URL: http://svn.apache.org/viewcvs?rev=390213&view=rev Log: Fix for HADOOP-84. Improve error and log messages when block cannot be obtained by including file name and offset. Also removed a few unused variables. Contributed by Konstantin Shvachko. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java?rev=390213&r1=390212&r2=390213&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java Thu Mar 30 10:46:35 2006 @@ -261,7 +261,6 @@ private String src; private DataInputStream blockStream; - private DataOutputStream partnerStream; private Block blocks[] = null; private DatanodeInfo nodes[][] = null; private long pos = 0; @@ -274,7 +273,6 @@ this.src = src; openInfo(); this.blockStream = null; - this.partnerStream = null; for (int i = 0; i < blocks.length; i++) { this.filelen += blocks[i].getNumBytes(); } @@ -358,11 +356,13 @@ chosenNode = bestNode(nodes[targetBlock], deadNodes); targetAddr = DataNode.createSocketAddr(chosenNode.getName().toString()); } catch (IOException ie) { + String blockInfo = + blocks[targetBlock]+" file="+src+" offset="+target; if (failures >= MAX_BLOCK_ACQUIRE_FAILURES) { - throw new IOException("Could not obtain block " + blocks[targetBlock]); + throw new IOException("Could not obtain block: " + blockInfo); } if (nodes[targetBlock] == null || nodes[targetBlock].length == 0) { - LOG.info("No node available for block " + blocks[targetBlock]); + LOG.info("No node available for block: " + blockInfo); } LOG.info("Could not obtain block from any node: " + ie); try { @@ -404,7 +404,6 @@ this.pos = target; this.blockEnd = targetBlockEnd; this.blockStream = in; - this.partnerStream = out; } catch (IOException ex) { // Put chosen node into dead list, continue LOG.info("Failed to connect to " + targetAddr + ":" + ex); @@ -535,7 +534,6 @@ private File backupFile; private OutputStream backupStream; private Block block; - private DatanodeInfo targets[]; private long filePos = 0; private int bytesWrittenToBlock = 0; From [email protected] Thu Mar 30 19:10:09 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84290 invoked from network); 30 Mar 2006 19:10:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Mar 2006 19:10:09 -0000 Received: (qmail 47669 invoked by uid 500); 30 Mar 2006 19:10:09 -0000 Delivered-To: [email protected] Received: (qmail 47655 invoked by uid 500); 30 Mar 2006 19:10:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 47646 invoked by uid 99); 30 Mar 2006 19:10:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Mar 2006 11:10:09 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 30 Mar 2006 11:10:08 -0800 Received: (qmail 83932 invoked by uid 65534); 30 Mar 2006 19:09:48 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r390218 - /lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DistributedFileSystem.java Date: Thu, 30 Mar 2006 19:09:47 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Thu Mar 30 11:09:46 2006 New Revision: 390218 URL: http://svn.apache.org/viewcvs?rev=390218&view=rev Log: Fix for HADOOP-112. All operations on local files are now performed through a LocalFileSystem. In particular, listing the local directory, which was causing this bug, when CRC files were included in the listing. Now they are correctly excluded. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DistributedFileSystem.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DistributedFileSystem.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DistributedFileSystem.java?rev=390218&r1=390217&r2=390218&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DistributedFileSystem.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DistributedFileSystem.java Thu Mar 30 11:09:46 2006 @@ -155,15 +155,17 @@ } } - if (src.isDirectory()) { + FileSystem localFs = getNamed("local", getConf()); + + if (localFs.isDirectory(src)) { mkdirs(dst); - File contents[] = src.listFiles(); + File contents[] = localFs.listFiles(src); for (int i = 0; i < contents.length; i++) { doFromLocalFile(contents[i], new File(dst, contents[i].getName()), deleteSource); } } else { byte buf[] = new byte[getConf().getInt("io.file.buffer.size", 4096)]; - InputStream in = new BufferedInputStream(new FileInputStream(src)); + InputStream in = localFs.open(src); try { OutputStream out = create(dst); try { @@ -180,7 +182,7 @@ } } if (deleteSource) - src.delete(); + localFs.delete(src); } public void copyToLocalFile(File src, File dst) throws IOException { @@ -196,8 +198,10 @@ } dst = dst.getCanonicalFile(); + FileSystem localFs = getNamed("local", getConf()); + if (isDirectory(src)) { - dst.mkdirs(); + localFs.mkdirs(dst); File contents[] = listFiles(src); for (int i = 0; i < contents.length; i++) { copyToLocalFile(contents[i], new File(dst, contents[i].getName())); @@ -206,7 +210,7 @@ byte buf[] = new byte[getConf().getInt("io.file.buffer.size", 4096)]; InputStream in = open(src); try { - OutputStream out = FileSystem.getNamed("local", getConf()).create(dst); + OutputStream out = localFs.create(dst); try { int bytesRead = in.read(buf); while (bytesRead >= 0) { From [email protected] Thu Mar 30 20:11:03 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17941 invoked from network); 30 Mar 2006 20:11:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Mar 2006 20:11:03 -0000 Received: (qmail 67833 invoked by uid 500); 30 Mar 2006 20:11:03 -0000 Delivered-To: [email protected] Received: (qmail 67791 invoked by uid 500); 30 Mar 2006 20:11:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 67782 invoked by uid 99); 30 Mar 2006 20:11:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Mar 2006 12:11:02 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 30 Mar 2006 12:10:59 -0800 Received: (qmail 17834 invoked by uid 65534); 30 Mar 2006 20:10:39 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r390231 - in /lucene/hadoop/trunk/src/java/org/apache/hadoop: io/WritableUtils.java mapred/CombiningCollector.java Date: Thu, 30 Mar 2006 20:10:38 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Thu Mar 30 12:10:36 2006 New Revision: 390231 URL: http://svn.apache.org/viewcvs?rev=390231&view=rev Log: Fix for HADOOP-2. The combiner now clones keys and values, so mappers may now safely reuse emitted keys and values. Contributed by Owen O'Malley. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/io/WritableUtils.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/CombiningCollector.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/io/WritableUtils.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/io/WritableUtils.java?rev=390231&r1=390230&r2=390231&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/io/WritableUtils.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/io/WritableUtils.java Thu Mar 30 12:10:36 2006 @@ -17,7 +17,7 @@ package org.apache.hadoop.io; import java.io.*; - +import org.apache.hadoop.mapred.JobConf; import java.util.zip.GZIPInputStream; import java.util.zip.GZIPOutputStream; @@ -189,5 +189,46 @@ System.out.println(); } - + /** + * A pair of input/output buffers that we use to clone writables. + */ + private static class CopyInCopyOutBuffer { + DataOutputBuffer outBuffer = new DataOutputBuffer(); + DataInputBuffer inBuffer = new DataInputBuffer(); + /** + * Move the data from the output buffer to the input buffer. + */ + void moveData() { + inBuffer.reset(outBuffer.getData(), outBuffer.getLength()); + } + } + + /** + * Allocate a buffer for each thread that tries to clone objects. + */ + private static ThreadLocal cloneBuffers = new ThreadLocal() { + protected synchronized Object initialValue() { + return new CopyInCopyOutBuffer(); + } + }; + + /** + * Make a copy of a writable object using serialization to a buffer. + * @param orig The object to copy + * @return The copied object + */ + public static Writable clone(Writable orig, JobConf conf) { + try { + Writable newInst = (Writable)conf.newInstance(orig.getClass()); + CopyInCopyOutBuffer buffer = (CopyInCopyOutBuffer)cloneBuffers.get(); + buffer.outBuffer.reset(); + orig.write(buffer.outBuffer); + buffer.moveData(); + newInst.readFields(buffer.inBuffer); + return newInst; + } catch (IOException e) { + throw new RuntimeException("Error writing/reading clone buffer", e); + } + } + } Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/CombiningCollector.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/CombiningCollector.java?rev=390231&r1=390230&r2=390231&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/CombiningCollector.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/CombiningCollector.java Thu Mar 30 12:10:36 2006 @@ -51,12 +51,16 @@ // buffer new value in map ArrayList values = (ArrayList)keyToValues.get(key); - if (values == null) { // no values yet for this key - values = new ArrayList(1); // make a new list - values.add(value); // add this value - keyToValues.put(key, values); // add to map + Writable valueClone = WritableUtils.clone(value, job); + if (values == null) { + // this is a new key, so create a new list + values = new ArrayList(1); + values.add(valueClone); + Writable keyClone = WritableUtils.clone(key, job); + keyToValues.put(keyClone, values); } else { - values.add(value); // other values: just add new + // other values for this key, so just add. + values.add(valueClone); } count++; From [email protected] Thu Mar 30 20:15:01 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18952 invoked from network); 30 Mar 2006 20:15:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Mar 2006 20:15:01 -0000 Received: (qmail 69291 invoked by uid 500); 30 Mar 2006 20:15:01 -0000 Delivered-To: [email protected] Received: (qmail 69271 invoked by uid 500); 30 Mar 2006 20:15:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 69262 invoked by uid 99); 30 Mar 2006 20:15:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Mar 2006 12:15:00 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 30 Mar 2006 12:15:00 -0800 Received: (qmail 18878 invoked by uid 65534); 30 Mar 2006 20:14:39 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r390232 - /lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapRunner.java Date: Thu, 30 Mar 2006 20:14:39 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Thu Mar 30 12:14:36 2006 New Revision: 390232 URL: http://svn.apache.org/viewcvs?rev=390232&view=rev Log: Fix for HADOOP-110. Reuse keys and values when mapping. Contributed by Owen O'Malley. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapRunner.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapRunner.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapRunner.java?rev=390232&r1=390231&r2=390232&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapRunner.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapRunner.java Thu Mar 30 12:14:36 2006 @@ -39,16 +39,11 @@ Reporter reporter) throws IOException { try { - while (true) { - // allocate new key & value instances - WritableComparable key = - (WritableComparable)job.newInstance(inputKeyClass); - Writable value = (Writable)job.newInstance(inputValueClass); - - // read next key & value - if (!input.next(key, value)) - return; - + // allocate key & value instances that are re-used for all entries + WritableComparable key = + (WritableComparable)job.newInstance(inputKeyClass); + Writable value = (Writable)job.newInstance(inputValueClass); + while (input.next(key, value)) { // map pair to output mapper.map(key, value, output, reporter); } From [email protected] Thu Mar 30 22:17:52 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96844 invoked from network); 30 Mar 2006 22:17:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Mar 2006 22:17:51 -0000 Received: (qmail 77328 invoked by uid 500); 30 Mar 2006 22:17:51 -0000 Delivered-To: [email protected] Received: (qmail 77299 invoked by uid 500); 30 Mar 2006 22:17:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 77288 invoked by uid 99); 30 Mar 2006 22:17:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Mar 2006 14:17:51 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 30 Mar 2006 14:17:50 -0800 Received: (qmail 96665 invoked by uid 65534); 30 Mar 2006 22:17:29 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r390258 - in /lucene/hadoop/trunk/src: examples/org/apache/hadoop/examples/ java/org/apache/hadoop/mapred/lib/ Date: Thu, 30 Mar 2006 22:17:28 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Thu Mar 30 14:17:26 2006 New Revision: 390258 URL: http://svn.apache.org/viewcvs?rev=390258&view=rev Log: Fix for HADOOP-103. Add a base class for Mapper and Reducer implementations that implements Closeable and JobConfigurable. Use it in supplied Mappers & Reducers. Also some minor improvements to demos. Contributed by Owen O'Malley. Modified: lucene/hadoop/trunk/src/examples/org/apache/hadoop/examples/WordCount.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/lib/IdentityMapper.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/lib/IdentityReducer.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/lib/InverseMapper.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/lib/LongSumReducer.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/lib/RegexMapper.java lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/lib/TokenCountMapper.java Modified: lucene/hadoop/trunk/src/examples/org/apache/hadoop/examples/WordCount.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/examples/org/apache/hadoop/examples/WordCount.java?rev=390258&r1=390257&r2=390258&view=diff ============================================================================== --- lucene/hadoop/trunk/src/examples/org/apache/hadoop/examples/WordCount.java (original) +++ lucene/hadoop/trunk/src/examples/org/apache/hadoop/examples/WordCount.java Thu Mar 30 14:17:26 2006 @@ -30,6 +30,7 @@ import org.apache.hadoop.mapred.OutputCollector; import org.apache.hadoop.mapred.Reducer; import org.apache.hadoop.mapred.Reporter; +import org.apache.hadoop.mapred.MapReduceBase; /** * This is an example Hadoop Map/Reduce application. @@ -49,9 +50,10 @@ * For each line of input, break the line into words and emit them as * (<b>word</b>, <b>1</b>). */ - public static class MapClass implements Mapper { + public static class MapClass extends MapReduceBase implements Mapper { private final static IntWritable one = new IntWritable(1); + private UTF8 word = new UTF8(); public void map(WritableComparable key, Writable value, OutputCollector output, @@ -59,23 +61,16 @@ String line = ((UTF8)value).toString(); StringTokenizer itr = new StringTokenizer(line); while (itr.hasMoreTokens()) { - String word = itr.nextToken(); - output.collect(new UTF8(word), one); + word.set(itr.nextToken()); + output.collect(word, one); } } - - public void configure(JobConf job) { - } - - public void close() { - } - } /** * A reducer class that just emits the sum of the input values. */ - public static class Reduce implements Reducer { + public static class Reduce extends MapReduceBase implements Reducer { public void reduce(WritableComparable key, Iterator values, OutputCollector output, @@ -86,13 +81,6 @@ } output.collect(key, new IntWritable(sum)); } - - public void configure(JobConf job) { - } - - public void close() { - } - } static void printUsage() { @@ -150,7 +138,7 @@ conf.setOutputDir(new File((String) other_args.get(1))); // Uncomment to run locally in a single process - // countJob.set("mapred.job.tracker", "local"); + // conf.set("mapred.job.tracker", "local"); JobClient.runJob(conf); } Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/lib/IdentityMapper.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/lib/IdentityMapper.java?rev=390258&r1=390257&r2=390258&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/lib/IdentityMapper.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/lib/IdentityMapper.java Thu Mar 30 14:17:26 2006 @@ -20,16 +20,14 @@ import org.apache.hadoop.mapred.Mapper; import org.apache.hadoop.mapred.OutputCollector; -import org.apache.hadoop.mapred.JobConf; import org.apache.hadoop.mapred.Reporter; +import org.apache.hadoop.mapred.MapReduceBase; import org.apache.hadoop.io.Writable; import org.apache.hadoop.io.WritableComparable; /** Implements the identity function, mapping inputs directly to outputs. */ -public class IdentityMapper implements Mapper { - - public void configure(JobConf job) {} +public class IdentityMapper extends MapReduceBase implements Mapper { /** The identify function. Input key/value pair is written directly to * output.*/ @@ -38,5 +36,4 @@ throws IOException { output.collect(key, val); } - public void close() {} } Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/lib/IdentityReducer.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/lib/IdentityReducer.java?rev=390258&r1=390257&r2=390258&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/lib/IdentityReducer.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/lib/IdentityReducer.java Thu Mar 30 14:17:26 2006 @@ -22,16 +22,14 @@ import org.apache.hadoop.mapred.Reducer; import org.apache.hadoop.mapred.OutputCollector; -import org.apache.hadoop.mapred.JobConf; import org.apache.hadoop.mapred.Reporter; +import org.apache.hadoop.mapred.MapReduceBase; import org.apache.hadoop.io.Writable; import org.apache.hadoop.io.WritableComparable; /** Performs no reduction, writing all input values directly to the output. */ -public class IdentityReducer implements Reducer { - - public void configure(JobConf job) {} +public class IdentityReducer extends MapReduceBase implements Reducer { /** Writes all keys and values directly to output. */ public void reduce(WritableComparable key, Iterator values, @@ -41,7 +39,5 @@ output.collect(key, (Writable)values.next()); } } - - public void close() {} } Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/lib/InverseMapper.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/lib/InverseMapper.java?rev=390258&r1=390257&r2=390258&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/lib/InverseMapper.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/lib/InverseMapper.java Thu Mar 30 14:17:26 2006 @@ -20,17 +20,15 @@ import org.apache.hadoop.mapred.Mapper; import org.apache.hadoop.mapred.OutputCollector; -import org.apache.hadoop.mapred.JobConf; import org.apache.hadoop.mapred.Reporter; +import org.apache.hadoop.mapred.MapReduceBase; import org.apache.hadoop.io.WritableComparable; import org.apache.hadoop.io.Writable; /** A {@link Mapper} that swaps keys and values. */ -public class InverseMapper implements Mapper { - - public void configure(JobConf job) {} +public class InverseMapper extends MapReduceBase implements Mapper { /** The inverse function. Input keys and values are swapped.*/ public void map(WritableComparable key, Writable value, @@ -38,7 +36,5 @@ throws IOException { output.collect((WritableComparable)value, key); } - - public void close() {} } Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/lib/LongSumReducer.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/lib/LongSumReducer.java?rev=390258&r1=390257&r2=390258&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/lib/LongSumReducer.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/lib/LongSumReducer.java Thu Mar 30 14:17:26 2006 @@ -21,16 +21,14 @@ import org.apache.hadoop.mapred.Reducer; import org.apache.hadoop.mapred.OutputCollector; -import org.apache.hadoop.mapred.JobConf; import org.apache.hadoop.mapred.Reporter; +import org.apache.hadoop.mapred.MapReduceBase; import org.apache.hadoop.io.WritableComparable; import org.apache.hadoop.io.LongWritable; /** A {@link Reducer} that sums long values. */ -public class LongSumReducer implements Reducer { - - public void configure(JobConf job) {} +public class LongSumReducer extends MapReduceBase implements Reducer { public void reduce(WritableComparable key, Iterator values, OutputCollector output, Reporter reporter) @@ -45,7 +43,5 @@ // output sum output.collect(key, new LongWritable(sum)); } - - public void close() {} - + } Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/lib/RegexMapper.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/lib/RegexMapper.java?rev=390258&r1=390257&r2=390258&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/lib/RegexMapper.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/lib/RegexMapper.java Thu Mar 30 14:17:26 2006 @@ -22,6 +22,7 @@ import org.apache.hadoop.mapred.OutputCollector; import org.apache.hadoop.mapred.JobConf; import org.apache.hadoop.mapred.Reporter; +import org.apache.hadoop.mapred.MapReduceBase; import org.apache.hadoop.io.WritableComparable; import org.apache.hadoop.io.Writable; @@ -34,7 +35,7 @@ /** A {@link Mapper} that extracts text matching a regular expression. */ -public class RegexMapper implements Mapper { +public class RegexMapper extends MapReduceBase implements Mapper { private Pattern pattern; private int group; @@ -53,7 +54,5 @@ output.collect(new UTF8(matcher.group(group)), new LongWritable(1)); } } - - public void close() {} - + } Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/lib/TokenCountMapper.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/lib/TokenCountMapper.java?rev=390258&r1=390257&r2=390258&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/lib/TokenCountMapper.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/lib/TokenCountMapper.java Thu Mar 30 14:17:26 2006 @@ -21,8 +21,8 @@ import org.apache.hadoop.mapred.Mapper; import org.apache.hadoop.mapred.OutputCollector; -import org.apache.hadoop.mapred.JobConf; import org.apache.hadoop.mapred.Reporter; +import org.apache.hadoop.mapred.MapReduceBase; import org.apache.hadoop.io.WritableComparable; import org.apache.hadoop.io.Writable; @@ -32,15 +32,12 @@ /** A {@link Mapper} that maps text values into <token,freq> pairs. Uses * {@link StringTokenizer} to break text into tokens. */ -public class TokenCountMapper implements Mapper { - - public void configure(JobConf job) {} +public class TokenCountMapper extends MapReduceBase implements Mapper { public void map(WritableComparable key, Writable value, OutputCollector output, Reporter reporter) throws IOException { // get input text - long position = ((LongWritable)key).get(); // key is position in file String text = ((UTF8)value).toString(); // value is line of text // tokenize the value @@ -50,7 +47,5 @@ output.collect(new UTF8(st.nextToken()), new LongWritable(1)); } } - - public void close() {} } From [email protected] Thu Mar 30 22:22:57 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98812 invoked from network); 30 Mar 2006 22:22:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Mar 2006 22:22:57 -0000 Received: (qmail 86671 invoked by uid 500); 30 Mar 2006 22:22:56 -0000 Delivered-To: [email protected] Received: (qmail 86628 invoked by uid 500); 30 Mar 2006 22:22:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 86619 invoked by uid 99); 30 Mar 2006 22:22:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Mar 2006 14:22:56 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 30 Mar 2006 14:22:55 -0800 Received: (qmail 98732 invoked by uid 65534); 30 Mar 2006 22:22:35 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r390260 - /lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapReduceBase.java Date: Thu, 30 Mar 2006 22:22:34 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Thu Mar 30 14:22:31 2006 New Revision: 390260 URL: http://svn.apache.org/viewcvs?rev=390260&view=rev Log: Fix for HADOOP-103, part II: I forgot to add this file the first time! Added: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapReduceBase.java Added: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapReduceBase.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapReduceBase.java?rev=390260&view=auto ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapReduceBase.java (added) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapReduceBase.java Thu Mar 30 14:22:31 2006 @@ -0,0 +1,18 @@ +package org.apache.hadoop.mapred; + +import org.apache.hadoop.io.Closeable; +import org.apache.hadoop.mapred.JobConfigurable; + +/** + * A class to implement the trivial close and configure methods. + * @author Owen O'Malley + */ +public class MapReduceBase implements Closeable, JobConfigurable { + + public void close() { + } + + public void configure(JobConf job) { + } + +} From [email protected] Thu Mar 30 22:33:52 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5552 invoked from network); 30 Mar 2006 22:33:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Mar 2006 22:33:52 -0000 Received: (qmail 6940 invoked by uid 500); 30 Mar 2006 22:33:51 -0000 Delivered-To: [email protected] Received: (qmail 6925 invoked by uid 500); 30 Mar 2006 22:33:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6916 invoked by uid 99); 30 Mar 2006 22:33:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Mar 2006 14:33:51 -0800 X-ASF-Spam-Status: No, hits=-8.6 required=10.0 tests=ALL_TRUSTED,INFO_TLD,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 30 Mar 2006 14:33:50 -0800 Received: (qmail 5277 invoked by uid 65534); 30 Mar 2006 22:33:29 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r390262 - /lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java Date: Thu, 30 Mar 2006 22:33:29 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Thu Mar 30 14:33:27 2006 New Revision: 390262 URL: http://svn.apache.org/viewcvs?rev=390262&view=rev Log: Fix for HADOOP-107. As they were written, dfs blocks were both trickled to a datanode and tee'd to a temp file (in case the connection to the datanode failed). Now they're only written to the temp file, with no connection to the datanode made until the block is complete. This reduces the number of long-lived mostly-idle connections to datanodes, which was causing problems. It also simplifies the DFSClient code significantly. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java?rev=390262&r1=390261&r2=390262&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java Thu Mar 30 14:33:27 2006 @@ -526,9 +526,8 @@ private int pos = 0; private UTF8 src; - boolean closingDown = false; private boolean overwrite; - private boolean blockStreamWorking; + private boolean firstTime = true; private DataOutputStream blockStream; private DataInputStream blockReplyStream; private File backupFile; @@ -543,13 +542,8 @@ public DFSOutputStream(UTF8 src, boolean overwrite) throws IOException { this.src = src; this.overwrite = overwrite; - this.blockStream = null; - this.blockReplyStream = null; - this.blockStreamWorking = false; this.backupFile = newBackupFile(); - - this.backupStream = new BufferedOutputStream(new FileOutputStream(backupFile)); - nextBlockOutputStream(true); + this.backupStream = new FileOutputStream(backupFile); } private File newBackupFile() throws IOException { @@ -565,13 +559,7 @@ * This happens when a file is created and each time a new block is allocated. * Must get block ID and the IDs of the destinations from the namenode. */ - private synchronized void nextBlockOutputStream(boolean firstTime) throws IOException { - if (! firstTime && blockStreamWorking) { - blockStream.flush(); - s.close(); - blockStreamWorking = false; - } - + private synchronized void nextBlockOutputStream() throws IOException { boolean retry = false; long start = System.currentTimeMillis(); do { @@ -644,8 +632,8 @@ bytesWrittenToBlock = 0; blockStream = out; blockReplyStream = new DataInputStream(new BufferedInputStream(s.getInputStream())); - blockStreamWorking = true; } while (retry); + firstTime = false; } /** @@ -708,7 +696,6 @@ } if (bytesWrittenToBlock == BLOCK_SIZE) { endBlock(); - nextBlockOutputStream(false); } flushData(pos); } @@ -720,19 +707,7 @@ private synchronized void flushData(int maxPos) throws IOException { int workingPos = Math.min(pos, maxPos); - if (workingPos > 0 || - (workingPos == 0 && closingDown)) { - // - // To the blockStream, write length, then bytes - // - if (blockStreamWorking) { - try { - blockStream.writeLong(workingPos); - blockStream.write(outBuf, 0, workingPos); - } catch (IOException ie) { - handleSocketException(ie); - } - } + if (workingPos > 0) { // // To the local block backup, write just the bytes // @@ -751,43 +726,27 @@ * We're done writing to the current block. */ private synchronized void endBlock() throws IOException { - boolean mustRecover = ! blockStreamWorking; - - // - // A zero-length set of data indicates the end of the block - // - if (blockStreamWorking) { - try { - internalClose(); - } catch (IOException ie) { - handleSocketException(ie); - mustRecover = true; - } finally { - blockStreamWorking = false; - } - } - // // Done with local copy // backupStream.close(); // - // If necessary, recover from a failed datanode connection. + // Send it to datanode // + boolean mustRecover = true; while (mustRecover) { - nextBlockOutputStream(false); + nextBlockOutputStream(); InputStream in = new FileInputStream(backupFile); try { byte buf[] = new byte[BUFFER_SIZE]; int bytesRead = in.read(buf); - while (bytesRead >= 0) { + while (bytesRead > 0) { blockStream.writeLong((long) bytesRead); blockStream.write(buf, 0, bytesRead); bytesRead = in.read(buf); } internalClose(); - LOG.info("Recovered from failed datanode connection"); mustRecover = false; } catch (IOException ie) { handleSocketException(ie); @@ -801,12 +760,12 @@ // backupFile.delete(); backupFile = newBackupFile(); - backupStream = new BufferedOutputStream(new FileOutputStream(backupFile)); + backupStream = new FileOutputStream(backupFile); + bytesWrittenToBlock = 0; } /** - * Close down stream to remote datanode. Called from two places - * in endBlock(); + * Close down stream to remote datanode. */ private synchronized void internalClose() throws IOException { blockStream.writeLong(0); @@ -823,16 +782,19 @@ namenode.reportWrittenBlock(lb); s.close(); + s = null; } private void handleSocketException(IOException ie) throws IOException { LOG.log(Level.WARNING, "Error while writing.", ie); try { - s.close(); + if (s != null) { + s.close(); + s = null; + } } catch (IOException ie2) { LOG.log(Level.WARNING, "Error closing socket.", ie2); } - blockStreamWorking = false; namenode.abandonBlock(block, src.toString()); } @@ -845,16 +807,17 @@ throw new IOException("Stream closed"); } - closingDown = true; flush(); - endBlock(); + if (filePos == 0 || bytesWrittenToBlock != 0) { + endBlock(); + } backupStream.close(); backupFile.delete(); - if (blockStreamWorking) { + if (s != null) { s.close(); - blockStreamWorking = false; + s = null; } super.close(); @@ -873,7 +836,6 @@ } } closed = true; - closingDown = false; } } } From [email protected] Thu Mar 30 23:52:17 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35894 invoked from network); 30 Mar 2006 23:52:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Mar 2006 23:52:17 -0000 Received: (qmail 89651 invoked by uid 500); 30 Mar 2006 23:52:17 -0000 Delivered-To: [email protected] Received: (qmail 89635 invoked by uid 500); 30 Mar 2006 23:52:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 89605 invoked by uid 99); 30 Mar 2006 23:52:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Mar 2006 15:52:16 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 30 Mar 2006 15:52:16 -0800 Received: (qmail 35818 invoked by uid 65534); 30 Mar 2006 23:51:55 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r390287 - /lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobTracker.java Date: Thu, 30 Mar 2006 23:51:55 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Thu Mar 30 15:51:53 2006 New Revision: 390287 URL: http://svn.apache.org/viewcvs?rev=390287&view=rev Log: Fix HADOOP-100. Be more consistent about synchronization of access to taskTracker collection. Contributed by Owen O'Malley. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobTracker.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobTracker.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobTracker.java?rev=390287&r1=390286&r2=390287&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobTracker.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobTracker.java Thu Mar 30 15:51:53 2006 @@ -261,7 +261,7 @@ // int totalMaps = 0; int totalReduces = 0; - TreeMap taskTrackers = new TreeMap(); + private TreeMap taskTrackers = new TreeMap(); Vector jobInitQueue = new Vector(); ExpireTrackers expireTrackers = new ExpireTrackers(); RetireJobs retireJobs = new RetireJobs(); @@ -464,10 +464,14 @@ return v; } public Collection taskTrackers() { + synchronized (taskTrackers) { return taskTrackers.values(); + } } public TaskTrackerStatus getTaskTracker(String trackerID) { + synchronized (taskTrackers) { return (TaskTrackerStatus) taskTrackers.get(trackerID); + } } //////////////////////////////////////////////////// @@ -557,16 +561,20 @@ // int avgMaps = 0; int avgReduces = 0; - if (taskTrackers.size() > 0) { - avgMaps = totalMaps / taskTrackers.size(); - avgReduces = totalReduces / taskTrackers.size(); + int numTaskTrackers; + TaskTrackerStatus tts; + synchronized (taskTrackers) { + numTaskTrackers = taskTrackers.size(); + tts = (TaskTrackerStatus) taskTrackers.get(taskTracker); } - int totalCapacity = taskTrackers.size() * maxCurrentTasks; - + if (numTaskTrackers > 0) { + avgMaps = totalMaps / numTaskTrackers; + avgReduces = totalReduces / numTaskTrackers; + } + int totalCapacity = numTaskTrackers * maxCurrentTasks; // // Get map + reduce counts for the current tracker. // - TaskTrackerStatus tts = (TaskTrackerStatus) taskTrackers.get(taskTracker); if (tts == null) { LOG.warning("Unknown task tracker polling; ignoring: " + taskTracker); return null; @@ -694,7 +702,10 @@ TaskInProgress tip = (TaskInProgress) taskidToTIPMap.get(mapTasksNeeded[i][j]); if (tip != null && tip.isComplete(mapTasksNeeded[i][j])) { String trackerId = (String) taskidToTrackerMap.get(mapTasksNeeded[i][j]); - TaskTrackerStatus tracker = (TaskTrackerStatus) taskTrackers.get(trackerId); + TaskTrackerStatus tracker; + synchronized (taskTrackers) { + tracker = (TaskTrackerStatus) taskTrackers.get(trackerId); + } v.add(new MapOutputLocation(mapTasksNeeded[i][j], tracker.getHost(), tracker.getPort())); break; } @@ -745,10 +756,12 @@ } public synchronized ClusterStatus getClusterStatus() { - return new ClusterStatus(taskTrackers.size(), - totalMaps, - totalReduces, - maxCurrentTasks); + synchronized (taskTrackers) { + return new ClusterStatus(taskTrackers.size(), + totalMaps, + totalReduces, + maxCurrentTasks); + } } public synchronized void killJob(String jobid) { From [email protected] Fri Mar 31 00:37:35 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52953 invoked from network); 31 Mar 2006 00:37:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Mar 2006 00:37:35 -0000 Received: (qmail 30173 invoked by uid 500); 31 Mar 2006 00:37:35 -0000 Delivered-To: [email protected] Received: (qmail 30153 invoked by uid 500); 31 Mar 2006 00:37:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30143 invoked by uid 99); 31 Mar 2006 00:37:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Mar 2006 16:37:34 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 30 Mar 2006 16:37:34 -0800 Received: (qmail 52901 invoked by uid 65534); 31 Mar 2006 00:37:14 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r390290 - /lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java Date: Fri, 31 Mar 2006 00:37:13 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Thu Mar 30 16:37:11 2006 New Revision: 390290 URL: http://svn.apache.org/viewcvs?rev=390290&view=rev Log: Fix for HADOOP-102. Contributed by Konstantin. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java?rev=390290&r1=390289&r2=390290&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java Thu Mar 30 16:37:11 2006 @@ -1310,7 +1310,7 @@ // for (Iterator it = targetList.iterator(); it.hasNext(); ) { DatanodeInfo node = (DatanodeInfo) it.next(); - if ((node.getRemaining() > BLOCK_SIZE * MIN_BLOCKS_FOR_WRITE)) { + if (node.getRemaining() > BLOCK_SIZE * MIN_BLOCKS_FOR_WRITE) { return node; } } @@ -1322,7 +1322,7 @@ // for (Iterator it = targetList.iterator(); it.hasNext(); ) { DatanodeInfo node = (DatanodeInfo) it.next(); - if (node.getRemaining() > BLOCK_SIZE * MIN_BLOCKS_FOR_WRITE) { + if (node.getRemaining() > BLOCK_SIZE) { return node; } } From [email protected] Fri Mar 31 20:54:47 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59771 invoked from network); 31 Mar 2006 20:54:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Mar 2006 20:54:46 -0000 Received: (qmail 99582 invoked by uid 500); 31 Mar 2006 20:54:46 -0000 Delivered-To: [email protected] Received: (qmail 99539 invoked by uid 500); 31 Mar 2006 20:54:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hadoop-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99527 invoked by uid 99); 31 Mar 2006 20:54:46 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Mar 2006 12:54:45 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 31 Mar 2006 12:54:45 -0800 Received: (qmail 59669 invoked by uid 65534); 31 Mar 2006 20:54:25 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r390498 - in /lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs: FSDirectory.java NameNode.java Date: Fri, 31 Mar 2006 20:54:24 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Fri Mar 31 12:54:20 2006 New Revision: 390498 URL: http://svn.apache.org/viewcvs?rev=390498&view=rev Log: DFS re-format should fully delete old namenode data. Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSDirectory.java lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/NameNode.java Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSDirectory.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSDirectory.java?rev=390498&r1=390497&r2=390498&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSDirectory.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSDirectory.java Fri Mar 31 12:54:20 2006 @@ -20,6 +20,9 @@ import java.io.*; import java.util.*; +import org.apache.hadoop.conf.Configuration; +import org.apache.hadoop.fs.FileUtil; + /************************************************* * FSDirectory stores the filesystem directory state. * It handles writing/loading values to disk, and logging @@ -265,13 +268,15 @@ /** Create a new dfs name directory. Caution: this destroys all files * in this filesystem. */ - public static void format(File dir) throws IOException { + public static void format(File dir, Configuration conf) + throws IOException { File image = new File(dir, "image"); File edits = new File(dir, "edits"); - if (!((!image.exists() || image.delete()) && + if (!((!image.exists() || FileUtil.fullyDelete(image, conf)) && (!edits.exists() || edits.delete()) && image.mkdirs())) { + throw new IOException("Unable to format: "+dir); } } Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/NameNode.java URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/NameNode.java?rev=390498&r1=390497&r2=390498&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/NameNode.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/NameNode.java Fri Mar 31 12:54:20 2006 @@ -68,7 +68,7 @@ /** Format a new filesystem. Destroys any filesystem that may already * exist at this location. **/ public static void format(Configuration conf) throws IOException { - FSDirectory.format(getDir(conf)); + FSDirectory.format(getDir(conf), conf); } /**
From [email protected] Sun Apr 01 11:25:24 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10438 invoked from network); 1 Apr 2007 11:25:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2007 11:25:19 -0000 Received: (qmail 62831 invoked by uid 500); 1 Apr 2007 11:25:26 -0000 Delivered-To: [email protected] Received: (qmail 62571 invoked by uid 500); 1 Apr 2007 11:25:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 62549 invoked by uid 99); 1 Apr 2007 11:25:25 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2007 04:25:25 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: error (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO mxout-04.mxes.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2007 04:25:16 -0700 Received: from [161.129.204.104] (unknown [161.129.204.104]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 865DDA3223 for <[email protected]>; Sun, 1 Apr 2007 07:24:31 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: quoted-printable From: "Geir Magnusson Jr." <[email protected]> Subject: Re: GPL3 and AL2 compatability Date: Sun, 1 Apr 2007 07:24:33 -0400 To: Legal Discuss <[email protected]> X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org Eh, it's not over yet. There's another "Really Final Draft" that =20 follows this "Final Draft", so there's oppo to fix this. geir On Mar 30, 2007, at 7:23 AM, Ross Gardler wrote: > So, the GPL3 will not be compatible with the AL2 after all. This is =20= > a real shame. The problem is described in [1] as: > > --- END copied text -- > > 4.4 Statement on Apache License Compatibility > We regret that we will not achieve compatibility of the Apache =20 > License, > Version 2.0, with GPLv3, despite what we had previously promised. > Our consideration of Apache/GPL license compatibility has focused on > the patent termination clause in the Apache license. As we =20 > explained above > in =A7 4.1, this clause is compatible with Draft 3 because it is not =20= > a =93further restriction.=94 > However, we overlooked another provision in the current Apache > license that, on its face, is incompatible with the GPL. Under =20 > section 9 > of the Apache license, downstream redistributors must agree to =20 > indemnify > upstream licensors under certain conditions.27 > Although we have studied section 9 of the Apache license at some =20 > length, > we fail to understand its precise purpose or effect. On one =20 > interpretation, > the indemnification clause should never have any consequence, =20 > since, one > might argue, the liability incurred by an upstream licensor =93by =20 > reason of=94 a > downstream redistributor=92s acceptance of warranty or liability =20 > ought always > to be zero. However, we think this cannot have been the intent of the > drafters of the Apache license. Terms in free software licenses =20 > must be > assumed to have real meaning. Because the GPL gives redistributors an > unconditional right to offer warranty protection,28 and because the =20= > terms of > the Apache license appear to survive incorporation of Apache-=20 > covered code > into a GPL-covered work, section 9 of the Apache license would give =20= > rise to > an impermissible further restriction on GPL rights. > We apologize to the Apache community for having previously overlooked > the significance of this issue. We look forward to further =20 > discussions with > the Apache Foundation in the hope of achieving compatibility in the =20= > future. > > --- END copied text -- > > So, what is our position on this? > > Can we work with the FSF with respect to section 9 of the AL2? > > (Yes I know people here have been working hard in the consultation =20 > process to try and ensure compatibility. I'm trying to avoid the =20 > politics and look at how we might make the licences compatible) > > Ross > > [1] http://gplv3.fsf.org/rationale > > --------------------------------------------------------------------- > DISCLAIMER: Discussions on this list are informational and educational > only. Statements made on this list are not privileged, do not > constitute legal advice, and do not necessarily reflect the opinions > and policies of the ASF. See <http://www.apache.org/licenses/> for > official ASF policies and documents. > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 01 15:32:39 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67504 invoked from network); 1 Apr 2007 15:32:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2007 15:32:26 -0000 Received: (qmail 99258 invoked by uid 500); 1 Apr 2007 15:32:33 -0000 Delivered-To: [email protected] Received: (qmail 99064 invoked by uid 500); 1 Apr 2007 15:32:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 99049 invoked by uid 99); 1 Apr 2007 15:32:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2007 08:32:32 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp-out3.blueyonder.co.uk) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2007 08:32:23 -0700 Received: from [161.129.204.104] (helo=anti-virus03-10) by smtp-out3.blueyonder.co.uk with smtp (Exim 4.52) id 1HY22D-0002FH-QR; Sun, 01 Apr 2007 16:32:01 +0100 Received: from [161.129.204.104] (helo=knossos.elmet) by asmtp-out4.blueyonder.co.uk with esmtpa (Exim 4.52) id 1HY22D-00015B-12; Sun, 01 Apr 2007 16:32:01 +0100 Subject: Re: GPL3 and AL2 compatability From: robert burrell donkin <[email protected]> To: "William A. Rowe, Jr." <[email protected]> Cc: Ross Gardler <[email protected]>, [email protected] In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-LZBOpiBTEKUiS5Y3ZpXT" Date: Sun, 01 Apr 2007 16:35:11 +0100 Message-Id: <[email protected]> Mime-Version: 1.0 X-Mailer: Evolution 2.0.1-1mdk X-Virus-Checked: Checked by ClamAV on apache.org --=-LZBOpiBTEKUiS5Y3ZpXT Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2007-03-30 at 06:59 -0500, William A. Rowe, Jr. wrote: <snip> > > Can we work with the FSF with respect to section 9 of the AL2? >=20 > Howso? By lessening the protection we afford to upstream contributors > by the act of a downstream contributor offering a warranty where there > was none? How does that serve the ASF's interest in protecting the > developers of ASL licensed software? +1 the FSF have chosen an odd point to make their stand this time. if the GPL3 allows warranty to be disclaimed by the author then AL2 is compatible. if the GPL3 does not allow warranty to be effectively disclaimed by the author then this is likely to deter adoption of GPL3. perhaps they haven't really thought through the implications of this interpretation thoroughly. - robert --=-LZBOpiBTEKUiS5Y3ZpXT Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBGD9Evl6Otx30NTe0RAkiQAKCUtx+OomLh3xlCaSZoI8cYpONkTQCeLMiN 1UgaeupW3e4sbmgJ1j0Gr8I= =MW/D -----END PGP SIGNATURE----- --=-LZBOpiBTEKUiS5Y3ZpXT-- From [email protected] Mon Apr 02 01:35:33 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18511 invoked from network); 2 Apr 2007 01:35:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2007 01:35:26 -0000 Received: (qmail 17544 invoked by uid 500); 2 Apr 2007 01:35:32 -0000 Delivered-To: [email protected] Received: (qmail 17315 invoked by uid 500); 2 Apr 2007 01:35:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 17300 invoked by uid 99); 2 Apr 2007 01:35:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2007 18:35:32 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO an-out-0708.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2007 18:35:23 -0700 Received: by an-out-0708.google.com with SMTP id b21so1294678ana for <[email protected]>; Sun, 01 Apr 2007 18:35:02 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LyefdbeJnqcUH5TE97ejlyOpotUce/9VuXHs5O0fA8uIJO7GT6cGSwfuLFsywV3gp6KzxjWR+YSTEFvrWyRpC6xCj05EgULnNDcNyf/xicV4h7+IcRgFcCWRXNrbuUrx6JcKz2fsAIFxa3iy7z89EYH2cUcwP4UBWhmGZB0QznI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VR5BOdxVeqsU4IYu7QY1nulkIvA37g8inr+W5L4nVWbRXc7yLof2K5iOiVMKOFJ33P+xafpJhOOA07vUKWCYUHg+5950YMmxvZ9OmUhxuBSzXX34TWbl7I1vd47dOVszDYsHpRTB1dwVLngGRWABZXrEWFVri1PypFq0xP7nUZI= Received: by 161.129.204.104 with SMTP id r13mr3148834anr.1175477699626; Sun, 01 Apr 2007 18:34:59 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sun, 1 Apr 2007 18:34:59 -0700 (PDT) Message-ID: <[email protected]> Date: Sun, 1 Apr 2007 17:34:59 -0800 From: "Cliff Schmidt" <[email protected]> To: "William A. Rowe, Jr." <[email protected]> Subject: Re: Apache license 2.1 and 2.2? Cc: "Ross Gardler" <[email protected]>, [email protected] In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org On 3/30/07, William A. Rowe, Jr. <[email protected]> wrote: > William A. Rowe, Jr. wrote: > > I'd be fascinated to know exactly which agent appeared in the capacity > > of the ASF at the summit. I know of no plans nor progress on AL 2.1 > > or 2.2. That said, any member could propose a new license to members@, > > it's reception if Academics believe they deserve some 'special exemption' > > from the thermonuclear litigation clause could be very cold. > > My bad - following the link answers the question quite clearly. > > Cliff, if you made some announcements at the forum w.r.t. the ASL, would > you mind sharing these publicly? (Particularly before we read them on > another forum ;-) Sure -- I was going to wait until the universities signed off on my latest draft of v2.2 (we actually had a v2.1 earlier but scrapped it when it went off too far in the wrong direction). I can't talk about the details just yet, but I'm basically just making some changes to the patent grant to address university patent-scope concerns while also fixing the problem with how the patent CLA issue was being interpreted. I'll explain more tomorrow (April 2nd) when I have more time. Cliff --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 02 17:34:48 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17952 invoked from network); 2 Apr 2007 17:34:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2007 17:34:40 -0000 Received: (qmail 50359 invoked by uid 500); 2 Apr 2007 17:34:46 -0000 Delivered-To: [email protected] Received: (qmail 50049 invoked by uid 500); 2 Apr 2007 17:34:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 50033 invoked by uid 99); 2 Apr 2007 17:34:45 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 10:34:45 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO an-out-0708.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 10:34:36 -0700 Received: by an-out-0708.google.com with SMTP id b21so1609262ana for <[email protected]>; Mon, 02 Apr 2007 10:34:15 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DlVuTGAK8p/h2YbmzyH2w4PSo/LJCspRnKLCG7Oig21DSvX4FLAovPZkqeD0FGkCrNtKt+Sor+cn3H6uH5yUm0SG/s/uwx1qL83hTeR6EKfVZpRoZoeNKdlKx31X96htZjJPWFrYiAcCdkRWWYOS5gYCI/tbpmd9MeqSmL+QkfA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=n8dhyu/ocxFC0D/3TUdeYXi20Fq5lVFtGwpQXCv6WG5066rZBdHCkSQzZ7mw0rk8IsjVl5h9M9aWuFRotA/Fygx15IOJSTiKmPxfNASkvfX//n/kb/7Ags+5CpxPmRe/2bg6RugJuSG9diae0zp7WBNAaVh/ketF3TSLUVcM3qw= Received: by 161.129.204.104 with SMTP id j16mr3693334anc.1175535255709; Mon, 02 Apr 2007 10:34:15 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 2 Apr 2007 10:34:15 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 2 Apr 2007 09:34:15 -0800 From: "Cliff Schmidt" <[email protected]> To: "William A. Rowe, Jr." <[email protected]> Subject: Re: Apache license 2.1 and 2.2? Cc: "Ross Gardler" <[email protected]>, [email protected] In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org On 4/1/07, Cliff Schmidt <[email protected]> wrote: > On 3/30/07, William A. Rowe, Jr. <[email protected]> wrote: > > William A. Rowe, Jr. wrote: > > > I'd be fascinated to know exactly which agent appeared in the capacity > > > of the ASF at the summit. I know of no plans nor progress on AL 2.1 > > > or 2.2. That said, any member could propose a new license to members@, > > > it's reception if Academics believe they deserve some 'special exemption' > > > from the thermonuclear litigation clause could be very cold. > > > > My bad - following the link answers the question quite clearly. > > > > Cliff, if you made some announcements at the forum w.r.t. the ASL, would > > you mind sharing these publicly? (Particularly before we read them on > > another forum ;-) > > Sure -- I was going to wait until the universities signed off on my > latest draft of v2.2 (we actually had a v2.1 earlier but scrapped it > when it went off too far in the wrong direction). I can't talk about > the details just yet, but I'm basically just making some changes to > the patent grant to address university patent-scope concerns while > also fixing the problem with how the patent CLA issue was being > interpreted. > > I'll explain more tomorrow (April 2nd) when I have more time. Well...now that it is no longer April Fool's Day for any time zone....I'll give you the real story. I'm sorry to have stressed a few people out over the last 18 hours, but I just thought it was such a crazy idea that I would actually "make announcements" about the Apache License without discussing it here, that I figured most folks would realize I was joking...or should know me well enough to realize that. So, here's the real story: I attended a meeting last October mentioned in board minutes in my Legal report here: http://apache.org/foundation/records/minutes/2006/board_minutes_2006_10_25.txt. It does sound like someone has (probably unintentionally) misrepresented some of my statements at that meeting. The academic representatives explained to me how they wanted to use the Apache CLA, but that the patent language wasn't ideal for them (which I can explain if anyone is interested). I said that I didn't think the patent language was ideal either (due to the ambiguity that was discussed on this list a few months before), and that one day we might want to revise it. However, I made it clear that if Apache was to ever do such a thing, it definitely wouldn't be within the several months that they needed to have a license to use. I also pointed out that Apache might not be willing to adopt the language they were looking for, which addressed a very academic-specific issue. At that point, they sounded as if they would be interested to be kept in the loop with any plans we would have in the future, but that they were going to move forward on their own. That is the extent of the statements I made about our CLA. In short: - we would likely revise it one day; - I personally believe some aspects could be improved upon; - not sure when this would actually happen; and - the process would take a long while Cliff --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 03 09:25:27 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89197 invoked from network); 3 Apr 2007 09:25:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Apr 2007 09:25:13 -0000 Received: (qmail 8522 invoked by uid 500); 3 Apr 2007 09:25:20 -0000 Delivered-To: [email protected] Received: (qmail 8354 invoked by uid 500); 3 Apr 2007 09:25:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 8343 invoked by uid 99); 3 Apr 2007 09:25:19 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 02:25:19 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO relay2.mail.ox.ac.uk) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 02:25:11 -0700 Received: from smtp0.mail.ox.ac.uk ([161.129.204.104]) by relay2.mail.ox.ac.uk with esmtp (Exim 4.62) (envelope-from <[email protected]>) id 1HYfFx-0004aE-80; Tue, 03 Apr 2007 10:24:49 +0100 Received: from oucs-rossg.oucs.ox.ac.uk ([161.129.204.104]) by smtp0.mail.ox.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from <[email protected]>) id 1HYfFx-0003Yr-1G; Tue, 03 Apr 2007 10:24:49 +0100 Message-ID: <[email protected]> Date: Tue, 03 Apr 2007 10:24:48 +0100 From: Ross Gardler <[email protected]> Organization: OSS Watch User-Agent: Thunderbird 161.129.204.104 (Windows/20070221) MIME-Version: 1.0 To: Cliff Schmidt <[email protected]>, [email protected] Subject: Re: Apache license 2.1 and 2.2? References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Oxford-Username: oucs0040 X-Virus-Checked: Checked by ClamAV on apache.org Cliff Schmidt wrote: > On 4/1/07, Cliff Schmidt <[email protected]> wrote: >> On 3/30/07, William A. Rowe, Jr. <[email protected]> wrote: >> > William A. Rowe, Jr. wrote: >> > > I'd be fascinated to know exactly which agent appeared in the >> capacity >> > > of the ASF at the summit. I know of no plans nor progress on AL 2.1 >> > > or 2.2. That said, any member could propose a new license to >> members@, >> > > it's reception if Academics believe they deserve some 'special >> exemption' >> > > from the thermonuclear litigation clause could be very cold. >> > >> > My bad - following the link answers the question quite clearly. >> > >> > Cliff, if you made some announcements at the forum w.r.t. the ASL, >> would >> > you mind sharing these publicly? (Particularly before we read them on >> > another forum ;-) ... > That is the extent of the statements I made about our CLA. In short: > - we would likely revise it one day; > - I personally believe some aspects could be improved upon; > - not sure when this would actually happen; and > - the process would take a long while This is very close to what my boss recalls from the meeting. So it would appear there is a misunderstanding somewhere along the line with respect to the authors. May I suggest that someone contact the authors of this report and request a correction. I don't know about in the US, but here in the UK this report is being read by quite a few significant people. Having this document in wide circulation is creating the wrong impression with respect to ASF modifications, i.e. they are imminent. Ross --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 06 03:44:25 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51783 invoked from network); 6 Apr 2007 03:44:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Apr 2007 03:44:17 -0000 Received: (qmail 14331 invoked by uid 500); 6 Apr 2007 03:44:24 -0000 Delivered-To: [email protected] Received: (qmail 14041 invoked by uid 500); 6 Apr 2007 03:44:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 64733 invoked by uid 99); 2 Apr 2007 18:35:14 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on Bromine.MeepZor.Com X-Spam-Level: Message-ID: <[email protected]> Date: Mon, 02 Apr 2007 14:34:41 -0400 From: Rodent of Unusual Size <[email protected]> Reply-To: [email protected] Organization: The Apache Software Foundation; Open Source Initiative User-Agent: Thunderbird 161.129.204.104 (Windows/20070221) MIME-Version: 1.0 To: [email protected] Subject: Re: JBoss trademark issue References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 161.129.204.104 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-4.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.1 Dain Sundstrom wrote: > > I think it would be very helpful to have an "OSI Approved" trademark > grant along with the "OSI Approved" license. It would help set > expectations of open source communities on what is acceptable > trademark practice. Noted.. -- #ken P-)} Ken Coar, Sanagendamgagwedweinini http://Ken.Coar.Org/ Author, developer, opinionist http://Apache-Server.Com/ "Millennium hand and shrimp!" --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 06 03:45:30 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53036 invoked from network); 6 Apr 2007 03:45:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Apr 2007 03:45:20 -0000 Received: (qmail 15609 invoked by uid 500); 6 Apr 2007 03:45:27 -0000 Delivered-To: [email protected] Received: (qmail 15445 invoked by uid 500); 6 Apr 2007 03:45:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 95824 invoked by uid 99); 6 Apr 2007 00:21:36 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=eSpDNmEsD1RKByoNk1zOCd3FpmFr3EVTSii3UOWey1jtcHQIK6NovkKnpx7GQF48uegGYylC4ZEIyzbSqZd8J2skLHxG5qPtsN+DSG5thXgVsDhNxktb9y+GKKdiBvUTDzJ3inOQR4R+BLLrVi7OrCj2G3E+PdpaMTgW/NYWp+c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=er7AQAN+ujcKe4TNvuBi9XcK7woBN2aIXTO3G2J4nuRQY+PD+esRrco0TXF0EXgdhOW9xf2rZ5R/CFu3GCksVD/udjL5AiRsL6/XrOgYIsR2s5IQr40TCYuQsBKR9pCDEsmsw6qmRMHN5PRemxunrz2s2DWpfBFZbcTEzYZtn8E= Message-ID: <[email protected]> Date: Thu, 5 Apr 2007 18:21:07 -0600 From: "Mike Heath" <[email protected]> Sender: [email protected] To: [email protected] Subject: MySQL licensing policy MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 44361cc22d34214e X-Virus-Checked: Checked by ClamAV on apache.org As part of my grad school studies, I've been looking into the idea of event-driven asynchronous database drivers. When I'm done with my research for school, I would like to look into donating my work to the MINA project. As I embark on this research, I started looking at the MySQL documentation for their over-wire protocol. I read something in their internals manual that doesn't really make sense to me. http://dev.mysql.com/doc/internals/en/licensing-notice.html The way I understand it, MySQL AB is basically saying that any implementation of the MySQL protocol is a derivative work of the MySQL server and must therefor be licensed under the GPL. This is incongruent with projects like Samba that have reversed engineered Microsoft protocols. Is MySQL AB's policy really enforceable? The part of their notice that really caught my attentions was the part that says, "Therefore if you use this description to write a program, you must release your program as GPL." How is this at all enforceable? Section 5 of the GPL says very clearly that the only way I agree to the GPL is by redistributing something licensed under the GPL. The GPL is what grants me the right to do something that would otherwise be illegal according to copyright law. I don't need to agree to the GPL to read something posted on a publicly accessible web server but could any implementation of what they describe in their manual be considered a derivative work? If anyone has any insight into this it would be very helpful. -Mike --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 06 17:54:51 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79640 invoked from network); 6 Apr 2007 17:54:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Apr 2007 17:54:36 -0000 Received: (qmail 7928 invoked by uid 500); 6 Apr 2007 17:54:42 -0000 Delivered-To: [email protected] Received: (qmail 7691 invoked by uid 500); 6 Apr 2007 17:54:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 7651 invoked by uid 99); 6 Apr 2007 17:54:41 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Apr 2007 10:54:41 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO neapel094.server4you.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Apr 2007 10:54:33 -0700 Received: from p5484fcf2.dip.t-dialin.net ([161.129.204.104]:64074 helo=[161.129.204.104]) by neapel094.server4you.de with esmtpsa (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.50) id 1HZsdW-0006nG-NL; Fri, 06 Apr 2007 19:54:10 +0200 In-Reply-To: <[email protected]> References: <[email protected]> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <[email protected]> Cc: [email protected] Content-Transfer-Encoding: 7bit From: Torsten Curdt <[email protected]> Subject: Re: MySQL licensing policy Date: Fri, 6 Apr 2007 19:54:11 +0200 To: Mike Heath <[email protected]> X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org > The way I understand it, MySQL AB is basically saying that any > implementation of the MySQL protocol is a derivative work of the MySQL > server and must therefor be licensed under the GPL. This is > incongruent with projects like Samba that have reversed engineered > Microsoft protocols. Is MySQL AB's policy really enforceable? IANAL ...but I see a difference to Samba. Samba has been implemented without any documentation about the protocol. And they were really carefully to make sure that was the case. IMO implementing a protocol forcing a license onto the actual implementation is absolutely wrong - but that is just my personal opinion. > If anyone has any insight into this it would be very helpful. Maybe you should rather ask the FSF? cheers -- Torsten --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 06 18:42:33 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95572 invoked from network); 6 Apr 2007 18:42:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Apr 2007 18:42:25 -0000 Received: (qmail 12287 invoked by uid 500); 6 Apr 2007 18:42:31 -0000 Delivered-To: [email protected] Received: (qmail 12053 invoked by uid 500); 6 Apr 2007 18:42:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 12042 invoked by uid 99); 6 Apr 2007 18:42:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Apr 2007 11:42:30 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO mail26e.sbc-webhosting.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 06 Apr 2007 11:42:21 -0700 Received: from mx86.stngva01.us.mxservers.net (161.129.204.104) by mail26e.sbc-webhosting.com (RS ver 1.0.95vs) with SMTP id 4-0307864919 for <[email protected]>; Fri, 6 Apr 2007 14:42:00 -0400 (EDT) Received: from www.rosenlaw.com [161.129.204.104] (EHLO LROSENTOSHIBA) by mx86.stngva01.us.mxservers.net (mxl_mta-1.3.8-10p4) with ESMTP id ce096164.23929.161.mx86.stngva01.us.mxservers.net; Fri, 06 Apr 2007 14:26:52 -0400 (EDT) Reply-To: <[email protected]> From: "Lawrence Rosen" <[email protected]> To: <[email protected]> References: <[email protected]> <[email protected]> Subject: RE: MySQL licensing policy Date: Fri, 6 Apr 2007 11:38:01 -0700 Organization: Rosenlaw & Einschlag Message-ID: <01b901c7787a$b644bd90$0202fea9@LROSENTOSHIBA> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 In-Reply-To: <[email protected]> Thread-Index: Acd4dKOfpAwexaCKReS13qOHNHXoXAABc0sA X-Spam: [F=0.0043103448; heur=0.500(-19500); stat=0.010; spamtraq-heur=0.300(2007022501)] X-MAIL-FROM: <[email protected]> X-SOURCE-IP: [161.129.204.104] X-SF-Loop: 1 X-Virus-Checked: Checked by ClamAV on apache.org I have asked the general counsel at MySQL for clarification. Much of their licensing statement seems over-reaching to me. I'll let you know when he responds. /Larry Rosen > -----Original Message----- > From: Torsten Curdt [mailto:[email protected]] > Sent: Friday, April 06, 2007 10:54 AM > To: Mike Heath > Cc: [email protected] > Subject: Re: MySQL licensing policy > > > The way I understand it, MySQL AB is basically saying that any > > implementation of the MySQL protocol is a derivative work of the MySQL > > server and must therefor be licensed under the GPL. This is > > incongruent with projects like Samba that have reversed engineered > > Microsoft protocols. Is MySQL AB's policy really enforceable? > > IANAL ...but I see a difference to Samba. Samba has been implemented > without any documentation about the protocol. And they were really > carefully to make sure that was the case. > > IMO implementing a protocol forcing a license onto the actual > implementation is absolutely wrong - but that is just my personal > opinion. > > > If anyone has any insight into this it would be very helpful. > > Maybe you should rather ask the FSF? > > cheers > -- > Torsten > > > > --------------------------------------------------------------------- > DISCLAIMER: Discussions on this list are informational and educational > only. Statements made on this list are not privileged, do not > constitute legal advice, and do not necessarily reflect the opinions > and policies of the ASF. See <http://www.apache.org/licenses/> for > official ASF policies and documents. > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 07 07:00:04 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87487 invoked from network); 7 Apr 2007 06:59:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Apr 2007 06:59:48 -0000 Received: (qmail 27679 invoked by uid 500); 7 Apr 2007 06:59:54 -0000 Delivered-To: [email protected] Received: (qmail 27521 invoked by uid 500); 7 Apr 2007 06:59:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 27506 invoked by uid 99); 7 Apr 2007 06:59:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Apr 2007 23:59:53 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp-out5.blueyonder.co.uk) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Apr 2007 23:59:44 -0700 Received: from [161.129.204.104] (helo=anti-virus03-07) by smtp-out5.blueyonder.co.uk with smtp (Exim 4.52) id 1Ha4tC-0001wQ-ML for [email protected]; Sat, 07 Apr 2007 07:59:14 +0100 Received: from [161.129.204.104] (helo=knossos.elmet) by asmtp-out4.blueyonder.co.uk with esmtpa (Exim 4.52) id 1Ha4tC-00066R-7f for [email protected]; Sat, 07 Apr 2007 07:59:10 +0100 Subject: jXYZ vs XYZ4J From: robert burrell donkin <[email protected]> To: [email protected] Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-5029yZGPXwc13zwV/ez0" Date: Sat, 07 Apr 2007 08:02:40 +0100 Message-Id: <[email protected]> Mime-Version: 1.0 X-Mailer: Evolution 2.0.1-1mdk X-Virus-Checked: Checked by ClamAV on apache.org --=-5029yZGPXwc13zwV/ez0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable i seem to recall from the depths of time (java.apache.org -> jakarta.apache.org era) that implementations in java should not be named jXYZ but instead something like XYZ4j. for example, log4j rather than jlog. IIRC this is due to trademark law: JavaXZY is a potentially infringing usage whereas XZY4Java is not. (let's not argue about whether 'j' as opposed to java is infringing: we want to act ethically and avoid the possibility of arguable infringement.) is this current policy? - robert --=-5029yZGPXwc13zwV/ez0 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBGF0IPl6Otx30NTe0RAsigAKCMjea/fiegRgrpue7pNR80MCtHqACcC0vX cyNE/3NNA8P/cMHdkvdbWJc= =nnJb -----END PGP SIGNATURE----- --=-5029yZGPXwc13zwV/ez0-- From [email protected] Sat Apr 07 10:47:06 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50750 invoked from network); 7 Apr 2007 10:46:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Apr 2007 10:46:51 -0000 Received: (qmail 87598 invoked by uid 500); 7 Apr 2007 10:46:57 -0000 Delivered-To: [email protected] Received: (qmail 87396 invoked by uid 500); 7 Apr 2007 10:46:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 87385 invoked by uid 99); 7 Apr 2007 10:46:56 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Apr 2007 03:46:56 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO moutng.kundenserver.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Apr 2007 03:46:49 -0700 Received: from [161.129.204.104] (helo=[161.129.204.104]) by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis), id 0ML31I-1Ha8R93VYl-00067n; Sat, 07 Apr 2007 12:46:28 +0200 Message-ID: <[email protected]> Date: Sat, 07 Apr 2007 12:50:54 +0200 From: Roland Weber <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:161.129.204.104) Gecko/20070319 SeaMonkey/1.1.1 MIME-Version: 1.0 To: [email protected] Subject: [Fwd: Re: MySQL licensing policy] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V01U2FsdGVkX1/L0xtxf6Ca/QR8lAaZF8tU+scFci4++iUTiEB OwYFLfnbuPidDjtcZMBAKky+EzNikOjJwBOKCR/sngzVlW1XSg 8d73aNSjzCmKfPMZPQe0A== X-Virus-Checked: Checked by ClamAV on apache.org I'm getting confused by my email agent lately. I accidentally sent this note directly to Mike (twice, with different accounts), and then again to this list using the wrong account. Maybe I get it right this time. My apologies to everyone getting the duplicates... -------- Original Message -------- Subject: Re: MySQL licensing policy Date: Fri, 06 Apr 2007 08:58:52 +0200 From: Roland Weber <[email protected]> To: Mike Heath <[email protected]> References: <[email protected]> Hi Mike, > "Therefore if you use this description to write a program, > you must release your program as GPL." How is this at all > enforceable? The safe way is a clean room implementation: let person A analyse the GPLed code and write a specification of the protocol. Then let person B, who never looked at the GPLed code, implement the protocol "in a clean room", based exclusively on the spec written by person A. Every person who has seen the original code is "contaminated" and can not be allowed to contribute code to the clean room implementation. That's a common procedure for alternative Java implementations, for example. If the same person that looks at the code creates the alternative implementation, you're getting into muddy waters. It will be very hard to avoid creating at least some code that is very similar to the GPLed original. And how would you prove that you did not type in the code you read previously, even if only from memory? Renaming variables or different formatting doesn't count. just me 0.02€, and IANAL... Roland --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 07 11:02:17 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9575 invoked from network); 7 Apr 2007 11:01:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Apr 2007 11:01:58 -0000 Received: (qmail 97450 invoked by uid 500); 7 Apr 2007 11:02:04 -0000 Delivered-To: [email protected] Received: (qmail 97235 invoked by uid 500); 7 Apr 2007 11:02:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 97223 invoked by uid 99); 7 Apr 2007 11:02:04 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Apr 2007 04:02:04 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nz-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Apr 2007 04:01:56 -0700 Received: by nz-out-0506.google.com with SMTP id l1so847445nzf for <[email protected]>; Sat, 07 Apr 2007 04:01:36 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:sender; b=t2XTNifLrKPNJ7XyKIDX8tLOAzOx4TT1wlKk8Ch+PZo07lKK7qehn0A3JbTH3+AT4PR5QeHMnrNzALFkyII38MaHXUuYmX8NyUAjGqImJUqZs82KaRpnVwY0djOSPw9Mgwsx398YDagArcsBWjYA6hCjAW2b+SLXSI2C+YCeE7g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:sender; b=RjBLDs2BEiJFLnZ9AsticfovW66A6Jgf/Zp3mv5aQQ+Bu17RUBfKBM0woLP+YmjmiGKDkzc09NGZt7B5VYOlcxcQMmrzq8jkUQHcCS/7QnsAaZF11Pw3mWjHuQOg8GCjAz55s3gNzVRYO3LBPxN6zamejyJnZjbj3LeIBgtoACw= Received: by 161.129.204.104 with SMTP id j11mr1556424wae.1175943695518; Sat, 07 Apr 2007 04:01:35 -0700 (PDT) Received: from f3.local ( [161.129.204.104]) by mx.google.com with ESMTP id z15sm7816336pod.2161.129.204.104.01.33; Sat, 07 Apr 2007 04:01:34 -0700 (PDT) From: Niclas Hedhman <[email protected]> To: [email protected] Subject: Re: [Fwd: Re: MySQL licensing policy] Date: Sat, 7 Apr 2007 19:01:30 +0800 User-Agent: KMail/1.9.5 References: <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <[email protected]> Sender: Niclas Hedhman <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org On Saturday 07 April 2007 18:50, Roland Weber wrote: > The safe way is a clean room implementation: let person A > analyse the GPLed code and write a specification of the protocol. > Then let person B, who never looked at the GPLed code, implement > the protocol "in a clean room", based exclusively on the spec > written by person A. How can the "specification of the protocol" not be derivative work, and there would also need to be GPL'd?? IP rights are not limited to a particular medium, form or format. Cheers -- Niclas Hedhman, Software Developer I live here; http://tinyurl.com/2qq9er I work here; http://tinyurl.com/2ymelc I relax here; http://tinyurl.com/2cgsug --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 07 14:54:15 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42059 invoked from network); 7 Apr 2007 14:53:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Apr 2007 14:53:49 -0000 Received: (qmail 79276 invoked by uid 500); 7 Apr 2007 14:53:54 -0000 Delivered-To: [email protected] Received: (qmail 79023 invoked by uid 500); 7 Apr 2007 14:53:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 79008 invoked by uid 99); 7 Apr 2007 14:53:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Apr 2007 07:53:53 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Apr 2007 07:53:45 -0700 Received: by ug-out-1314.google.com with SMTP id 30so1383446ugs for <[email protected]>; Sat, 07 Apr 2007 07:53:24 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding:sender; b=Kgw+1JTtb4PPIgwpQkrLibbY3zfwUGujsmTJ85UGdVq0pPbfppn4Fl0emUxyg+oyVSMZGbDsc3lQNuPRvj6/NgC7CJrEb/GYeVQ6ZN0oDoML3gNOzbcaq6QbHGtYbqbOGu3+ojeCJ7mCsEAHxDoR099RDrDjMDqUiLY5nt++Ao4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding:sender; b=UGt5ipRMY55XHKyTQamBH1/i9x6GvyGxGyhktRH0jlWwUWc/JLdwIULqL0807eHafJ5XJ0SFEgYKfsycERFjlNSHQMoXUyABvkesr/QW28SPAUDn849jJM8pKoNWOI/b3bE0JUenvXVTQTQXd36HcWMq3Xe/5eQyeFYHFU5gnSg= Received: by 161.129.204.104 with SMTP id h6mr3807336ugj.1175957604497; Sat, 07 Apr 2007 07:53:24 -0700 (PDT) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTP id 50sm4916011ugb.2161.129.204.104.53.23; Sat, 07 Apr 2007 07:53:23 -0700 (PDT) Subject: Re: [Fwd: Re: MySQL licensing policy] From: Santiago Gala <[email protected]> To: Niclas Hedhman <[email protected]> Cc: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Content-Type: text/plain; charset=utf-8 Date: Sat, 07 Apr 2007 16:53:21 +0200 Message-Id: <[email protected]> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 Content-Transfer-Encoding: 8bit Sender: Santiago Gala <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org El sáb, 07-04-2007 a las 19:01 +0800, Niclas Hedhman escribió: > On Saturday 07 April 2007 18:50, Roland Weber wrote: > > The safe way is a clean room implementation: let person A > > analyse the GPLed code and write a specification of the protocol. > > Then let person B, who never looked at the GPLed code, implement > > the protocol "in a clean room", based exclusively on the spec > > written by person A. > > How can the "specification of the protocol" not be derivative work, and there > would also need to be GPL'd?? > IP rights are not limited to a particular medium, form or format. > > Cheers The "specification of the protocol" is a derivative work of the protocol itself, not of the code. My (probably naive, IANAL, etc.) take on those questions is: if you get a legal copy of a protocol "description/manual/book", and you implement the protocol, you are not in any violation: a) You are not copying the protocol "expression" -> you are not infringing the copyright on the protocol "book" (but don't even try to put the description of the protocol in the manual) b) You are not a derivative of the original implementation of such protocol -> you are free to license your code. This is in a world where the protocol can't be patented (I live in such a world, EC). If, in the world where you live, the protocol is patented, you are still free to license your code and publish it in source form, but when *using it* you would be subject to possible patent violations. Regards Santiago --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 07 18:17:03 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91087 invoked from network); 7 Apr 2007 18:16:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Apr 2007 18:16:52 -0000 Received: (qmail 33580 invoked by uid 500); 7 Apr 2007 18:16:56 -0000 Delivered-To: [email protected] Received: (qmail 33366 invoked by uid 500); 7 Apr 2007 18:16:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 33355 invoked by uid 99); 7 Apr 2007 18:16:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Apr 2007 11:16:55 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=RCVD_IN_SORBS_WEB,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nz-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Apr 2007 11:16:46 -0700 Received: by nz-out-0506.google.com with SMTP id l1so904294nzf for <[email protected]>; Sat, 07 Apr 2007 11:16:26 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:organization:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:sender; b=tTQiPWAOuu44pfRyiXa2rC4kZkg9jVhcJAABTJVOrvYSoXUwSsdDUVOkqheleCV+DPGgiPlk2jXdY4dKhYskDZ2egOy66CvhCj5/2ivKKpNZlw60NEA9N+CFEWILjomZGOY9j166bTkkJ4sBVyyMRckdoC4nmo1qBjaKOYaV7Sg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:organization:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:sender; b=TDJswmbiVNtRhZjFP/ym3bq9vaDYcCBtd9F17YsPBpP4GGpTWHS/nO2hqpoXbo5+eXkpBS/nYw/Hgg7oRDJBAX1ly63cEUMRcN2lAWwhH1CPm0FTqEYg4XVkZ5D/VG4N3L/c1dBXej9/SBlZzOz+FSy/3ds2N07lrYCr09pyrKs= Received: by 161.129.204.104 with SMTP id b1mr1658780waa.1175969785709; Sat, 07 Apr 2007 11:16:25 -0700 (PDT) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTP id n20sm6111594pof.2161.129.204.104.16.23; Sat, 07 Apr 2007 11:16:24 -0700 (PDT) From: Niclas Hedhman <[email protected]> Organization: Private To: [email protected] Subject: Re: [Fwd: Re: MySQL licensing policy] Date: Sun, 8 Apr 2007 02:13:47 +0800 User-Agent: KMail/1.9.5 References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <[email protected]> Sender: Niclas Hedhman <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org On Saturday 07 April 2007 22:53, you wrote: > El s=C3=A1b, 07-04-2007 a las 19:01 +0800, Niclas Hedhman escribi=C3=B3: > > On Saturday 07 April 2007 18:50, Roland Weber wrote: > > > The safe way is a clean room implementation: let person A > > > analyse the GPLed code and write a specification of the protocol. > > > Then let person B, who never looked at the GPLed code, implement > > > the protocol "in a clean room", based exclusively on the spec > > > written by person A. > > > > How can the "specification of the protocol" not be derivative work, and > > there would also need to be GPL'd?? > > IP rights are not limited to a particular medium, form or format. > > > > Cheers > > The "specification of the protocol" is a derivative work of the protocol > itself, not of the code. > > My (probably naive, IANAL, etc.) take on those questions is: if you get > a legal copy of a protocol "description/manual/book", and you implement > the protocol, you are not in any violation: Yes, potentially a bit naive. If the fact is <quote>analyse the GPLed=20 code</quote>, then I (as a litigating attorney ;o) ) would argue that the=20 specification indeed is a derivative. Not much different from taking a book= =20 and making a movie out of it. If you do a network level packet analysis of what is transferred over the=20 wire, I would say that you are safe from the licensing point of view. But maybe, I am the naive not-a-lawyer...=20 Cheers Niclas --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 10 17:06:02 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 444 invoked from network); 10 Apr 2007 17:05:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Apr 2007 17:05:49 -0000 Received: (qmail 99579 invoked by uid 500); 10 Apr 2007 17:05:54 -0000 Delivered-To: [email protected] Received: (qmail 99312 invoked by uid 500); 10 Apr 2007 17:05:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 83471 invoked by uid 99); 6 Apr 2007 18:30:07 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Message-ID: <[email protected]> Date: Fri, 06 Apr 2007 20:28:39 +0200 From: Roland Weber <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:161.129.204.104) Gecko/20070319 SeaMonkey/1.1.1 MIME-Version: 1.0 To: [email protected] Subject: [Fwd: Re: MySQL licensing policy] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V01U2FsdGVkX19Hj+SvfE2R9yAdR/tbwDyHvem7/XoVslxeyML ahLmq+6qrbvzTPdf4kdH4MS2opdAGxIfXYKmdTP5HPNjBSiyK0 FxA2MSbpiAQ2rzxu+kXdg== X-Virus-Checked: Checked by ClamAV on apache.org Sorry, I accidentally sent that note directly to Mike instead of the list... -------- Original Message -------- Subject: Re: MySQL licensing policy Date: Fri, 06 Apr 2007 08:58:52 +0200 From: Roland Weber <[email protected]> To: Mike Heath <[email protected]> References: <[email protected]> Hi Mike, > "Therefore if you use this description to write a program, > you must release your program as GPL." How is this at all > enforceable? The safe way is a clean room implementation: let person A analyse the GPLed code and write a specification of the protocol. Then let person B, who never looked at the GPLed code, implement the protocol "in a clean room", based exclusively on the spec written by person A. Every person who has seen the original code is "contaminated" and can not be allowed to contribute code to the clean room implementation. That's a common procedure for alternative Java implementations, for example. If the same person that looks at the code creates the alternative implementation, you're getting into muddy waters. It will be very hard to avoid creating at least some code that is very similar to the GPLed original. And how would you prove that you did not type in the code you read previously, even if only from memory? Renaming variables or different formatting doesn't count. just me 0.02€, and IANAL... Roland --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 11 20:06:17 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81553 invoked from network); 11 Apr 2007 20:06:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Apr 2007 20:06:09 -0000 Received: (qmail 8843 invoked by uid 500); 11 Apr 2007 20:06:16 -0000 Delivered-To: [email protected] Received: (qmail 8564 invoked by uid 500); 11 Apr 2007 20:06:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 8552 invoked by uid 99); 11 Apr 2007 20:06:15 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2007 13:06:15 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO an-out-0708.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2007 13:06:07 -0700 Received: by an-out-0708.google.com with SMTP id b21so420984ana for <[email protected]>; Wed, 11 Apr 2007 13:05:46 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=AsKaW52Mk9hV0tx02i2+KuBV+D6TIEZLDSwjDWS6xZkp4/Fh2oMNE5m0o9NsflQPwhSe/qBoXHcJZ4eeeFR/OGiPBTozs7m7yehpTxuNY3Nubsoh6i83T2avIwohARFO9dfMy8quWurC+FJhtR831jPGDQZ7cueFftA9+47Rq88= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Rc61bP2xxPrisR8ISUw6osXuwd5utmwz5Qn7TmOLr1ZKlQDQu+oCu1cF6Sw9skUJUJv5coWd/BwcCh5g1w5GhUCoop1nWNGyfVpKOF4r2oenLOrBxpxKQvH6/P2oIDiY36+uDi1fFsmyyw8Gydlnn3bD9Ik4NoFkr9OhMivlVBM= Received: by 161.129.204.104 with SMTP id m8mr778476ang.1176321946214; Wed, 11 Apr 2007 13:05:46 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 11 Apr 2007 13:05:46 -0700 (PDT) Message-ID: <[email protected]> Date: Wed, 11 Apr 2007 23:05:46 +0300 From: "Jukka Zitting" <[email protected]> To: [email protected] Subject: Handling a license violation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi, I've encountered a project that has taken a part of the Apache Jackrabbit codebase, replaced the license headers, renamed the org.apache.jackrabbit packages, and released the resulting code as a part of a larger application under the GPL with no mention of the Apache License or the NOTICE file. I believe and hope that the issue can be resolved simply by politely asking them to honor the conditions of section 4 of the Apache License. But before doing that and to avoid potential pitfalls I would appreciate pointers to or advice on how similar cases have best been handled before. BR, Jukka Zitting --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 11 21:15:32 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13361 invoked from network); 11 Apr 2007 21:15:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Apr 2007 21:15:21 -0000 Received: (qmail 23977 invoked by uid 500); 11 Apr 2007 21:15:27 -0000 Delivered-To: [email protected] Received: (qmail 23679 invoked by uid 500); 11 Apr 2007 21:15:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 23668 invoked by uid 99); 11 Apr 2007 21:15:25 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2007 14:15:25 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO smtpout08.prod.mesa1.secureserver.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 11 Apr 2007 14:15:19 -0700 Received: (qmail 31663 invoked from network); 11 Apr 2007 21:14:57 -0000 Received: from unknown (161.129.204.104) by smtpout08-04.prod.mesa1.secureserver.net (161.129.204.104) with ESMTP; 11 Apr 2007 21:14:57 -0000 Message-ID: <[email protected]> Date: Wed, 11 Apr 2007 16:14:55 -0500 From: "William A. Rowe, Jr." <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20070302) MIME-Version: 1.0 To: Jukka Zitting <[email protected]> CC: [email protected] Subject: Re: Handling a license violation References: <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 161.129.204.104 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Yes - it's a violation, removing LICENSE/NOTICE removes their only right to distribute the package, leaving them with no right whatsoever. Jukka Zitting wrote: > Hi, > > I've encountered a project that has taken a part of the Apache > Jackrabbit codebase, replaced the license headers, renamed the > org.apache.jackrabbit packages, and released the resulting code as a > part of a larger application under the GPL with no mention of the > Apache License or the NOTICE file. > > I believe and hope that the issue can be resolved simply by politely > asking them to honor the conditions of section 4 of the Apache > License. But before doing that and to avoid potential pitfalls I would > appreciate pointers to or advice on how similar cases have best been > handled before. > > BR, > > Jukka Zitting > > --------------------------------------------------------------------- > DISCLAIMER: Discussions on this list are informational and educational > only. Statements made on this list are not privileged, do not > constitute legal advice, and do not necessarily reflect the opinions > and policies of the ASF. See <http://www.apache.org/licenses/> for > official ASF policies and documents. > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 12 02:02:07 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1004 invoked from network); 12 Apr 2007 02:01:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Apr 2007 02:01:56 -0000 Received: (qmail 22419 invoked by uid 500); 12 Apr 2007 02:01:55 -0000 Delivered-To: [email protected] Received: (qmail 22123 invoked by uid 500); 12 Apr 2007 02:01:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 22092 invoked by uid 99); 12 Apr 2007 02:01:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2007 19:01:53 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=RCVD_IN_SORBS_WEB,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wr-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2007 19:01:46 -0700 Received: by wr-out-0506.google.com with SMTP id 58so30978wri for <[email protected]>; Wed, 11 Apr 2007 19:01:26 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:organization:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:sender; b=Dmzgmg9itWdMjjuFy4TY4x1ntvSIY/EDcNtYkbbFXxYUKe1OoRttLYcTO8r/HbdNBrbU+BI6a6qg5sBGwhAomaxY4879WT8fDx7kajz+Y6VyeZTXX+3xoIuOF7w/+aoZR8MFccwaErvGGAF47x0fwF3FUn+HyP7YTh0wZllaiyw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:organization:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:sender; b=jDAP7AFmkkqQnlh6JfSGzg9dQa3WUMKyc/O3iq1rZhr2wGJ57Ouarb/p2bYpF+aHOEFG9UEitLDwAtQm6WV9gLB5QyI7gMrVeJ9zEFFQJPJ0ZYd/9bn3pNFCrqf0A+4rwquM64jx9XTdhgeVgZQvWt28gWZsmVl1MiskNLcq4kQ= Received: by 161.129.204.104 with SMTP id y9mr548407waj.1176343285858; Wed, 11 Apr 2007 19:01:25 -0700 (PDT) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTP id z20sm651992pod.2161.129.204.104.01.24; Wed, 11 Apr 2007 19:01:24 -0700 (PDT) From: Niclas Hedhman <[email protected]> Organization: Private To: [email protected] Subject: Re: Handling a license violation Date: Thu, 12 Apr 2007 09:58:26 +0800 User-Agent: KMail/1.9.5 References: <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <[email protected]> Sender: Niclas Hedhman <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org On Thursday 12 April 2007 04:05, Jukka Zitting wrote: > I believe and hope that the issue can be resolved simply by politely > asking them to honor the conditions of section 4 of the Apache > License. IANAL, but I think this is the most apparent resolve. Mind you, if this is an FSF backed project, and it is ALv2, then FSF will have additional opinion about the use of ALv2 in GPL'd code. Also, there are "common sense" concerns relating to "fair use" which shouldn't trigger licensing requirements. Sun for instance, is Ok with 5-10 lines and I think FSF is recommending 10 lines as the limit of "copy" before licensing terms kicks in. So, if it is only a really small block, I would not bother. Cheers Niclas --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 12 05:16:17 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55196 invoked from network); 12 Apr 2007 05:15:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Apr 2007 05:15:58 -0000 Received: (qmail 55685 invoked by uid 500); 12 Apr 2007 05:16:04 -0000 Delivered-To: [email protected] Received: (qmail 55500 invoked by uid 500); 12 Apr 2007 05:16:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 55489 invoked by uid 99); 12 Apr 2007 05:16:03 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2007 22:16:03 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO an-out-0708.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2007 22:15:56 -0700 Received: by an-out-0708.google.com with SMTP id b21so553327ana for <[email protected]>; Wed, 11 Apr 2007 22:15:35 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=I5gq199MBji9Quh5sGVXI3spr2a7/nVK4Yyq/spWn5P7dk+BCDfgZ2qFpX1CGZSZZBfRvegDhpG2LHtYYQLcDNm4tjs57AkHveby6OmniOoBak84vS2yxdiWIH2AvXhkt+vwwijNTi5F3OqXefr3PQz6fdCfUBv66V66sHdOoQI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=S1A6cstDrD7akwWh/UwOEaqi9VacjnfXRh7BrltLgf59FisgIXSqEp/VZhbrjXX4JN3G6bBKI7VSnmvT9TAYHwdE/A51GpWdLul28gkOz35GiMFXOxuE0nypPRLlY3soMjxdK2Xwz5oDansL4M1UXH5kcFkT/N0q8LCRvdB5Km8= Received: by 161.129.204.104 with SMTP id e2mr1040444ane.1176354934250; Wed, 11 Apr 2007 22:15:34 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 11 Apr 2007 22:15:34 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 12 Apr 2007 08:15:34 +0300 From: "Jukka Zitting" <[email protected]> To: [email protected] Subject: Re: Handling a license violation In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi, On 4/12/07, Niclas Hedhman <[email protected]> wrote: > On Thursday 12 April 2007 04:05, Jukka Zitting wrote: > > I believe and hope that the issue can be resolved simply by politely > > asking them to honor the conditions of section 4 of the Apache > > License. > > IANAL, but I think this is the most apparent resolve. > > Mind you, if this is an FSF backed project, and it is ALv2, then FSF will have > additional opinion about the use of ALv2 in GPL'd code. It's a private company that makes it's sources available under the GPL. I believe it's a case of using the code first in-house and then deciding to "make it open source" by releasing everything under the GPL without much internal IP clearance. > Also, there are "common sense" concerns relating to "fair use" which shouldn't > trigger licensing requirements. Sun for instance, is Ok with 5-10 lines and I > think FSF is recommending 10 lines as the limit of "copy" before licensing > terms kicks in. So, if it is only a really small block, I would not bother. The component in question is about 17.000 lines total. I suspect that they're using Apache code also in other places, but didn't yet do a full review. PS. If someone is interested in the exact details, I can give the pointers in private. I don't want to name the suspects in a public archive as I believe this can be resolved nicely in private. BR, Jukka Zitting --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 12 07:44:49 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18308 invoked from network); 12 Apr 2007 07:44:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Apr 2007 07:44:43 -0000 Received: (qmail 40338 invoked by uid 500); 12 Apr 2007 07:44:47 -0000 Delivered-To: [email protected] Received: (qmail 40203 invoked by uid 500); 12 Apr 2007 07:44:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 40192 invoked by uid 99); 12 Apr 2007 07:44:46 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2007 00:44:46 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp-out2.blueyonder.co.uk) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2007 00:44:39 -0700 Received: from [161.129.204.104] (helo=anti-virus02-10) by smtp-out2.blueyonder.co.uk with smtp (Exim 4.52) id 1Hbtyc-00056Q-Co; Thu, 12 Apr 2007 08:44:18 +0100 Received: from [161.129.204.104] (helo=knossos.elmet) by asmtp-out5.blueyonder.co.uk with esmtpa (Exim 4.52) id 1Hbtyb-0000jv-MM; Thu, 12 Apr 2007 08:44:17 +0100 Subject: Re: Handling a license violation From: robert burrell donkin <[email protected]> To: Jukka Zitting <[email protected]> Cc: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ZhJ64GAOfQQ/Bmv6V7PE" Date: Thu, 12 Apr 2007 08:48:03 +0100 Message-Id: <[email protected]> Mime-Version: 1.0 X-Mailer: Evolution 2.0.1-1mdk X-Virus-Checked: Checked by ClamAV on apache.org --=-ZhJ64GAOfQQ/Bmv6V7PE Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2007-04-11 at 16:14 -0500, William A. Rowe, Jr. wrote: > Yes - it's a violation, removing LICENSE/NOTICE removes their only > right to distribute the package, leaving them with no right whatsoever. +1 the GPL exempts local modifications. distribution (or not) is less important for the apache license. they have no right to sublicense, create copies or derivative works either.=20 they need to restore LICENSE, NOTICE and license headers now. they should add clear notes in each source file indicating that they have modified our source and indicating the license for the derivative work (if it is not the AL).=20 IMHO the matter of releasing the combined work under the GPL should be left to the FSF, not the ASF. not everyone agrees that the apache license is incompatible with GPLv2. apache respects the views of the FSF on this matter for ethical reasons (not legal ones). it would be courteous to inform the FSF about possible GPL issues with the codebase but leave compliance to the FSF. BTW might be a good idea to run the email you intend to send past legal-internal before you send it - robert --=-ZhJ64GAOfQQ/Bmv6V7PE Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBGHeQyl6Otx30NTe0RAv+NAKCA2XlAk8nGa/g0mL6WFbfZvUPdNwCfeJjp I0Gv0F+VzG1csAVqmGNQAQI= =MQUV -----END PGP SIGNATURE----- --=-ZhJ64GAOfQQ/Bmv6V7PE-- From [email protected] Thu Apr 12 13:02:54 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79275 invoked from network); 12 Apr 2007 13:02:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Apr 2007 13:02:41 -0000 Received: (qmail 80784 invoked by uid 500); 12 Apr 2007 13:02:46 -0000 Delivered-To: [email protected] Received: (qmail 80612 invoked by uid 500); 12 Apr 2007 13:02:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 80601 invoked by uid 99); 12 Apr 2007 13:02:45 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2007 06:02:45 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nz-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2007 06:02:37 -0700 Received: by nz-out-0506.google.com with SMTP id l1so510335nzf for <[email protected]>; Thu, 12 Apr 2007 06:02:17 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QxlAVxvsf7CIoQEOYI3k9W4Nk1f8Gnm9GntBSBQiVk3Gz3GdgXeMqnLp2rUnk1Fvq6UgjWjoyRqflxhNocLBdMxfYcw+G8YHj5O5ciftKejlDvA/JlDpfUXAmi5i3nObNPZZga3924IyzELnFDA/QqfF3v8Y6xZVSorqAe4wDvQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NUuK85743cRGE3zZXtStLE9l8uA6qHEeSNyD/INOvVbC2eqtZl1RSmCtPjrFETVH3/XnbKULBLthsyX6YGLj7WNR1NGSy22izHODd2tXN9E/heL5KoOLtAPrFPJa00WCGwBRSb5tNOa/jgVxHjjVVo4BH0nzbrsRXZbYRa3tit4= Received: by 161.129.204.104 with SMTP id j1mr737504wad.1176382936699; Thu, 12 Apr 2007 06:02:16 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 12 Apr 2007 06:02:16 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 12 Apr 2007 09:02:16 -0400 From: "Davanum Srinivas" <[email protected]> Reply-To: [email protected] To: "Jukka Zitting" <[email protected]> Subject: Re: Handling a license violation Cc: [email protected] In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Jukka, exact details and email draft (of what you want to send to them) to legal-internal please. thanks, dims On 4/12/07, Jukka Zitting <[email protected]> wrote: > Hi, > > On 4/12/07, Niclas Hedhman <[email protected]> wrote: > > On Thursday 12 April 2007 04:05, Jukka Zitting wrote: > > > I believe and hope that the issue can be resolved simply by politely > > > asking them to honor the conditions of section 4 of the Apache > > > License. > > > > IANAL, but I think this is the most apparent resolve. > > > > Mind you, if this is an FSF backed project, and it is ALv2, then FSF will have > > additional opinion about the use of ALv2 in GPL'd code. > > It's a private company that makes it's sources available under the > GPL. I believe it's a case of using the code first in-house and then > deciding to "make it open source" by releasing everything under the > GPL without much internal IP clearance. > > > Also, there are "common sense" concerns relating to "fair use" which shouldn't > > trigger licensing requirements. Sun for instance, is Ok with 5-10 lines and I > > think FSF is recommending 10 lines as the limit of "copy" before licensing > > terms kicks in. So, if it is only a really small block, I would not bother. > > The component in question is about 17.000 lines total. I suspect that > they're using Apache code also in other places, but didn't yet do a > full review. > > PS. If someone is interested in the exact details, I can give the > pointers in private. I don't want to name the suspects in a public > archive as I believe this can be resolved nicely in private. > > BR, > > Jukka Zitting > > --------------------------------------------------------------------- > DISCLAIMER: Discussions on this list are informational and educational > only. Statements made on this list are not privileged, do not > constitute legal advice, and do not necessarily reflect the opinions > and policies of the ASF. See <http://www.apache.org/licenses/> for > official ASF policies and documents. > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Davanum Srinivas acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b http://wso2.org/ acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b Oxygen for Web Services Developers --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 12 16:36:14 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85715 invoked from network); 12 Apr 2007 16:35:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Apr 2007 16:35:51 -0000 Received: (qmail 78328 invoked by uid 500); 12 Apr 2007 16:35:56 -0000 Delivered-To: [email protected] Received: (qmail 78083 invoked by uid 500); 12 Apr 2007 16:35:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 78062 invoked by uid 99); 12 Apr 2007 16:35:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2007 09:35:55 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO ms-smtp-04.socal.rr.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2007 09:35:46 -0700 Received: from [161.129.204.104] (cpe-24-25-218-26.san.res.rr.com [161.129.204.104]) by ms-smtp-04.socal.rr.com (8.13.6/8.13.6) with ESMTP id l3CGZO5G003995; Thu, 12 Apr 2007 09:35:24 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 12 Apr 2007 09:35:24 -0700 From: "Jean T. Anderson" <[email protected]> User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc3 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] CC: Jukka Zitting <[email protected]>, [email protected] Subject: [OT] Re: Handling a license violation References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 161.129.204.104 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked by ClamAV on apache.org Davanum Srinivas wrote: > Jukka, > > exact details and email draft (of what you want to send to them) to > legal-internal please. and how _not_ to handle a license violation .... http://lwn.net/SubscriberLink/229740/bd7701b1407c8498/ -jean > thanks, > dims > > On 4/12/07, Jukka Zitting <[email protected]> wrote: > >> Hi, >> >> On 4/12/07, Niclas Hedhman <[email protected]> wrote: >> > On Thursday 12 April 2007 04:05, Jukka Zitting wrote: >> > > I believe and hope that the issue can be resolved simply by politely >> > > asking them to honor the conditions of section 4 of the Apache >> > > License. >> > >> > IANAL, but I think this is the most apparent resolve. >> > >> > Mind you, if this is an FSF backed project, and it is ALv2, then FSF >> will have >> > additional opinion about the use of ALv2 in GPL'd code. >> >> It's a private company that makes it's sources available under the >> GPL. I believe it's a case of using the code first in-house and then >> deciding to "make it open source" by releasing everything under the >> GPL without much internal IP clearance. >> >> > Also, there are "common sense" concerns relating to "fair use" which >> shouldn't >> > trigger licensing requirements. Sun for instance, is Ok with 5-10 >> lines and I >> > think FSF is recommending 10 lines as the limit of "copy" before >> licensing >> > terms kicks in. So, if it is only a really small block, I would not >> bother. >> >> The component in question is about 17.000 lines total. I suspect that >> they're using Apache code also in other places, but didn't yet do a >> full review. >> >> PS. If someone is interested in the exact details, I can give the >> pointers in private. I don't want to name the suspects in a public >> archive as I believe this can be resolved nicely in private. >> >> BR, >> >> Jukka Zitting >> >> --------------------------------------------------------------------- >> DISCLAIMER: Discussions on this list are informational and educational >> only. Statements made on this list are not privileged, do not >> constitute legal advice, and do not necessarily reflect the opinions >> and policies of the ASF. See <http://www.apache.org/licenses/> for >> official ASF policies and documents. >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 13 00:57:36 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21024 invoked from network); 13 Apr 2007 00:57:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Apr 2007 00:57:18 -0000 Received: (qmail 64692 invoked by uid 500); 13 Apr 2007 00:57:24 -0000 Delivered-To: [email protected] Received: (qmail 64489 invoked by uid 500); 13 Apr 2007 00:57:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 64469 invoked by uid 99); 13 Apr 2007 00:57:23 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2007 17:57:23 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2007 17:57:15 -0700 Received: by ug-out-1314.google.com with SMTP id 30so411905ugs for <[email protected]>; Thu, 12 Apr 2007 17:56:54 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=jO8guJk9sGaL9fD8heLvmudxMxB/wnsxVtjlJYLEpYzR81wdeit4vNyYS6ry6dfrGx9H+n1r9+5OW9kEGuqxT61yaSuEcsx8GipwSz2ytvoUcxNAkhaUSa0+P4PhecFXO//AI2UtScUV6BG+cMm6d4rUotlRGg7QAUbFANykuYs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=kKW01URlQnM++lPHbG5v3eH/W4XBkuZ78UfNVHnUT37aYsp5K0WbfEFPZ97gVu3hKq+YaebZVFG57mgGiES2OXxJC940Rbe1PUvvyP7NvIqZC1/Pekl5QsNfoH1BtsRVzt9rVMPcplRtq+msCZuc9j/tuXyU4euV8Zt9UXjD1FI= Received: by 161.129.204.104 with SMTP id b20mr544323hug.1176425813925; Thu, 12 Apr 2007 17:56:53 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 12 Apr 2007 17:56:53 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 12 Apr 2007 17:56:53 -0700 From: "Henri Yandell" <[email protected]> Sender: [email protected] To: "Jean T. Anderson" <[email protected]> Subject: Re: [OT] Re: Handling a license violation Cc: [email protected], "Jukka Zitting" <[email protected]>, [email protected] In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Google-Sender-Auth: 83a94e1005adc75f X-Virus-Checked: Checked by ClamAV on apache.org On 4/12/07, Jean T. Anderson <[email protected]> wrote: > Davanum Srinivas wrote: > > Jukka, > > > > exact details and email draft (of what you want to send to them) to > > legal-internal please. > > and how _not_ to handle a license violation .... > > http://lwn.net/SubscriberLink/229740/bd7701b1407c8498/ Respectfully suggest the committee link to this on a FAQ - superb page. Thanks Jean, Hen --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 13 02:05:25 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44579 invoked from network); 13 Apr 2007 02:05:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Apr 2007 02:05:19 -0000 Received: (qmail 40988 invoked by uid 500); 13 Apr 2007 02:05:24 -0000 Delivered-To: [email protected] Received: (qmail 40808 invoked by uid 500); 13 Apr 2007 02:05:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 40778 invoked by uid 99); 13 Apr 2007 02:05:24 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2007 19:05:24 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO ms-smtp-02.socal.rr.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2007 19:05:16 -0700 Received: from [161.129.204.104] (cpe-24-25-218-26.san.res.rr.com [161.129.204.104]) by ms-smtp-02.socal.rr.com (8.13.6/8.13.6) with ESMTP id l3D24nFx014882; Thu, 12 Apr 2007 19:04:54 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 12 Apr 2007 19:04:49 -0700 From: "Jean T. Anderson" <[email protected]> User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc3 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Henri Yandell <[email protected]> CC: [email protected] Subject: Re: [OT] Re: Handling a license violation References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 161.129.204.104 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked by ClamAV on apache.org Henri Yandell wrote: > On 4/12/07, Jean T. Anderson <[email protected]> wrote: ... >> and how _not_ to handle a license violation .... >> >> http://lwn.net/SubscriberLink/229740/bd7701b1407c8498/ > > Respectfully suggest the committee link to this on a FAQ - superb page. heh, in a week I'll post a followup link to the article, which would be a better link. Blinded by the timeliness of the topic this morning, I posted the subscriber link. Careless of me. -jean --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 13 16:59:14 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50249 invoked from network); 13 Apr 2007 16:58:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Apr 2007 16:58:55 -0000 Received: (qmail 79750 invoked by uid 500); 13 Apr 2007 16:58:58 -0000 Delivered-To: [email protected] Received: (qmail 79552 invoked by uid 500); 13 Apr 2007 16:58:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 79537 invoked by uid 99); 13 Apr 2007 16:58:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2007 09:58:57 -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 (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wx-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2007 09:58:50 -0700 Received: by wx-out-0506.google.com with SMTP id i29so1015179wxd for <[email protected]>; Fri, 13 Apr 2007 09:58:29 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=IM0W7Edszkh2gB55goTK/31Dtm53KzR6zKycMHi3eawOHqmoqyhhmTtxOEGg5T6caXzqkvsbAuZqa00HpLtz8xTvWf/xq1sHA6qkD5iQW/ziPqnukS8XTTvUc+VueupklqeQv0QhqusUdzU+Gdti5RJNOS9lBgIisNAwvFSayUw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=uheHWQtMmU7Jpq/Wfft5XokFbfvgUYxZ1n9ufmA5lznfT7ijSwG+tH9odpofMHdW5MGDaEvZ1UgM/Zy80+EK8ditYivZ65vhrbPphhbaT8pNExw8h6eIfhuexVB0RTykLElvS+NFGMXo4OE7f2HGl9wVtfSq00dp4acQn7ghK0A= Received: by 161.129.204.104 with SMTP id j17mr3437787agj.1176483509388; Fri, 13 Apr 2007 09:58:29 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 13 Apr 2007 09:58:29 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 13 Apr 2007 09:58:29 -0700 From: "Matthieu Riou" <[email protected]> Reply-To: [email protected] To: [email protected] Subject: BPEL licenses and Apache ODE release MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_10892_13501523.1176483509153" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_10892_13501523.1176483509153 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, We're preparing an incubator release of Apache ODE, which is a BPEL4WS and WS-BPEL implementation. As discussed on this mailing list, there are IP issues related to these specifications but these have been assessed as not being blockers. See the following e-mail for more details: http://mail-archives.apache.org/mod_mbox/[email protected]%3e As recommended, I (as a representant of the ODE PPMC) will send an e-mail to all companies claiming to have patents on the spec just to inform them. I just wanted to let people on this list know about it, and please let me know if there's anything else that should be done. Thanks! Matthieu ------=_Part_10892_13501523.1176483509153 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,<br><br>We&#39;re preparing an incubator release of Apache ODE, which is a BPEL4WS and WS-BPEL implementation. As discussed on this mailing list, there are IP issues related to these specifications but these have been assessed as not being blockers. See the following e-mail for more details: <br><br><a href="http://mail-archives.apache.org/mod_mbox/[email protected]%3e">http://mail-archives.apache.org/mod_mbox/[email protected]%3e </a><br><br>As recommended, I (as a representant of the ODE PPMC) will send an e-mail to all companies claiming to have patents on the spec just to inform them. I just wanted to let people on this list know about it, and please let me know if there&#39;s anything else that should be done. <br><br>Thanks!<br>Matthieu<br> ------=_Part_10892_13501523.1176483509153-- From [email protected] Sat Apr 14 20:47:14 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59489 invoked from network); 14 Apr 2007 20:47:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Apr 2007 20:47:02 -0000 Received: (qmail 12707 invoked by uid 500); 14 Apr 2007 20:47:02 -0000 Delivered-To: [email protected] Received: (qmail 12387 invoked by uid 500); 14 Apr 2007 20:47:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 12357 invoked by uid 99); 14 Apr 2007 20:46:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Apr 2007 13:46:59 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=MISSING_HEADERS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO nwk-ea-fw-1.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Apr 2007 13:46:50 -0700 Received: from d1-sfbay-10.sun.com ([161.129.204.104]) by nwk-ea-fw-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l3EKkSh6025855 for <[email protected]>; Sat, 14 Apr 2007 13:46:30 -0700 (PDT) Received: from conversion-daemon.d1-sfbay-10.sun.com by d1-sfbay-10.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) id <[email protected]> (original mail from [email protected]) for [email protected]; Sat, 14 Apr 2007 13:46:28 -0700 (PDT) Received: from [161.129.204.104] (c-24-6-172-77.hsd1.ca.comcast.net [161.129.204.104]) by d1-sfbay-10.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPSA id <[email protected]> for [email protected]; Sat, 14 Apr 2007 13:46:28 -0700 (PDT) Date: Sat, 14 Apr 2007 13:46:27 -0700 From: Craig L Russell <[email protected]> Subject: Re: ASF Source Header documentation pages disagree In-reply-to: <[email protected]> Sender: [email protected] Cc: Legal Discuss <[email protected]> Message-id: <[email protected]> MIME-version: 1.0 X-Mailer: Apple Mail (2.752.3) Content-type: multipart/signed; protocol="application/pkcs7-signature"; boundary=Apple-Mail-28-707892070; micalg=sha1 References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-28-707892070 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hi Cliff, On Dec 20, 2006, at 3:46 PM, Cliff Schmidt wrote: > Hi Sebb, > > This is my fault. I've left things in this confused state for too > long. I'll fix this up next week -- really! Everyone gets to > spam/harass me if I don't have it mostly done by the new year. I notice that the reference [2] still hasn't been updated. Is it time to harass/spam you? Sadly, the entire source tree for OpenJPA used [2] as the definitive guide for copyright/license headers. :-( Craig > > More specific answers below. Thanks for taking the time to point out > these inconsistencies. > > Cliff > > On 12/20/06, sebb <[email protected]> wrote: >> Just noticed some inconsistencies in the license documentation on the >> web-site... >> >> The new rules for applying licences to source files are at: >> >> [1] http://www.apache.org/legal/src-headers.html > > This doc is the normative one right now, although I need to move the > doc to /dev and put in a redirect . > >> However, there are still some rules at: >> >> [2] http://www.apache.org/dev/apply-license.html > > Much of this is redundant or conflicting with [1], but there is still > some good stuff here that needs to not get lost (e.g. copying or > referencing third-party licenses in the LICENSE file). > >> >> and >> >> [3] http://www.apache.org/licenses/LICENSE-2.0.html#apply > > This is still good advice to any non-ASF projects that want to use the > Apache License. It might be confusing that ASF projects do something > a little different (due to the collective nature of our works), but it > would be a bit of a pain to change the language at all -- as an > appendix to the license, it's become considered part of what v2.0 is. > See http://opensource.org/licenses/apache2.0.php. > >> which disagree with [1] - in particular with regard to the Copyright >> sentence in the boilerplate for source files. >> >> Also: >> >> [4] http://www.apache.org/licenses/ refers to [2] - it should >> presumably refer to [1] >> >> [2] could probably be deleted ? > > [4] definitely needs at least a minor update. See my note about > [2] above. > > --------------------------------------------------------------------- > DISCLAIMER: Discussions on this list are informational and educational > only. Statements made on this list are not privileged, do not > constitute legal advice, and do not necessarily reflect the opinions > and policies of the ASF. See <http://www.apache.org/licenses/> for > official ASF policies and documents. > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > Craig Russell DB PMC, OpenJPA PPMC [email protected] http://db.apache.org/jdo --Apple-Mail-28-707892070 Content-Transfer-Encoding: base64 Content-Type: application/pkcs7-signature; name=smime.p7s Content-Disposition: attachment; filename=smime.p7s MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGUDCCAwkw ggJyoAMCAQICECpJVMO68ii+Xfsc1O1YYFIwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UEBhMCWkEx JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA2MTIwOTE5NTEwNVoXDTA3MTIwOTE5NTEw NVowbDEQMA4GA1UEBBMHUnVzc2VsbDEUMBIGA1UEKhMLQ3JhaWcgTGFpcmQxHDAaBgNVBAMTE0Ny YWlnIExhaXJkIFJ1c3NlbGwxJDAiBgkqhkiG9w0BCQEWFUNyYWlnLlJ1c3NlbGxAU3VuLkNPTTCC ASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMNAB4Ih+ShsCt89HzqIdwEx8L4o1UHiY6V7 16mrCedfd4Y0/uI7z9Zam8ysgEh+F7aDnQEKmEsVFN35G4nPMfLU6dZYkvADwUjbq82t/dJ3FDDg Q945nHHpqECZff/S/UMho9AFfj6PZvZBAlDCJAayb4RdKIlfuvPW9YcQStQ1IfVJcVuKnC0Q+tdc a4A7zn7IzLOQohO1lTc3hXSBigEIGiGYn6Ny0wmexfA3X1WsXekFx5czd+M4GjDjswn8CNoBmnBr jOTGK1mOsXR6GSRHnly2s9xTdE4qv9qimM+7C2yzMHbKcszV7OQoLsRsZKDh+6u9wYU+TrjcY4ym bA8CAwEAAaMyMDAwIAYDVR0RBBkwF4EVQ3JhaWcuUnVzc2VsbEBTdW4uQ09NMAwGA1UdEwEB/wQC MAAwDQYJKoZIhvcNAQEFBQADgYEAU/EpPDztnb55Fz7iGSVm1mYEVj5m2OQKTYG26POUAomCBRrt /CdBBvqYmcHUTpra0qLELHAQadYFl2v11iQkqwF5PPJs19oU/zA0m5qFnOMTAiCvel7IprIwA2r6 eJR9siaPwDRgVJ/Sj71dD+utwf+nRrNy0/7PMNK5y+ocsYQwggM/MIICqKADAgECAgENMA0GCSqG SIb3DQEBBQUAMIHRMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBDYXBlMRIwEAYDVQQH EwlDYXBlIFRvd24xGjAYBgNVBAoTEVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYDVQQLEx9DZXJ0aWZp Y2F0aW9uIFNlcnZpY2VzIERpdmlzaW9uMSQwIgYDVQQDExtUaGF3dGUgUGVyc29uYWwgRnJlZW1h aWwgQ0ExKzApBgkqhkiG9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWlsQHRoYXd0ZS5jb20wHhcNMDMw NzE3MDAwMDAwWhcNMTMwNzE2MjM1OTU5WjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWls IElzc3VpbmcgQ0EwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMSmPFVzVftOucqZWh5owHUE cJ3f6f+jHuy9zfVb8hp2vX8MOmHyv1HOAdTlUAow1wJjWiyJFXCO3cnwK4Vaqj9xVsuvPAsH5/Ef kTYkKhPPK9Xzgnc9A74r/rsYPge/QIACZNenprufZdHFKlSFD0gEf6e20TxhBEAeZBlyYLf7AgMB AAGjgZQwgZEwEgYDVR0TAQH/BAgwBgEB/wIBADBDBgNVHR8EPDA6MDigNqA0hjJodHRwOi8vY3Js LnRoYXd0ZS5jb20vVGhhd3RlUGVyc29uYWxGcmVlbWFpbENBLmNybDALBgNVHQ8EBAMCAQYwKQYD VR0RBCIwIKQeMBwxGjAYBgNVBAMTEVByaXZhdGVMYWJlbDItMTM4MA0GCSqGSIb3DQEBBQUAA4GB AEiM0VCD6gsuzA2jZqxnD3+vrL7CF6FDlpSdf0whuPg2H6otnzYvwPQcUCCTcDz9reFhYsPZOhl+ hLGZGwDFGguCdJ4lUJRix9sncVcljd2pnDmOjCBPZV+V2vf3h9bGCE6u9uo05RAaWzVNd+NWIXiC 3CEZNd4ksdMdRv9dX2VPMYIDEDCCAwwCAQEwdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhh d3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0ECECpJVMO68ii+Xfsc1O1YYFIwCQYFKw4DAhoFAKCCAW8wGAYJKoZIhvcN AQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDcwNDE0MjA0NjI4WjAjBgkqhkiG9w0B CQQxFgQUhgSauDFZQzbgUM6gi3ExQIT1DfswgYUGCSsGAQQBgjcQBDF4MHYwYjELMAkGA1UEBhMC WkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0 ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAhAqSVTDuvIovl37HNTtWGBSMIGHBgsqhkiG 9w0BCRACCzF4oHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQ dHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAhAq SVTDuvIovl37HNTtWGBSMA0GCSqGSIb3DQEBAQUABIIBAAiZfxLdzntCrh1MyWfX/x474TLdOvyg VyklF48qHhmS5iBx10BhFO3iQ8NUuJzhGIIbdk6mrxrEVatkvnw2D5FhPatEbNs6AA31klWF4KsE 9a03AExBjrb3UUQFB+XT95D1XYyKo7yOh+EzTK2vjsIQnjFaS/QRy9+Pf8aPae1mP0DBcDscTmq+ 0LyarDlFex5ALvYu6tNno7NgGPsAHsRlHdOJbkRAGZ8WoZHIIAsiQo7JIunU5kB7gZdx6of9Xrd2 x7C9XHVrUlYTAMSj8gNjOT0YWMl1R2giouFEPlpvYpbK5h8tZz22phJh7Z2PjyCPoHGmX0PsbSf9 nyVAZRMAAAAAAAA= --Apple-Mail-28-707892070-- From [email protected] Thu Apr 19 14:24:59 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82712 invoked from network); 19 Apr 2007 14:24:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Apr 2007 14:24:48 -0000 Received: (qmail 74319 invoked by uid 500); 19 Apr 2007 14:24:51 -0000 Delivered-To: [email protected] Received: (qmail 74059 invoked by uid 500); 19 Apr 2007 14:24:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 74048 invoked by uid 99); 19 Apr 2007 14:24:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2007 07:24:50 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nz-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2007 07:24:41 -0700 Received: by nz-out-0506.google.com with SMTP id l1so565938nzf for <[email protected]>; Thu, 19 Apr 2007 07:24:21 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=EoIe4ttKHnv9pz8mBVhg1YEBpdqNMKx8KX1XPp9f2gxS1AUSPqJvBf/acmWJokRADpmCpkhzA1ctABj/KKQqF61M4LVO9i7gzu5UfwXAeDlT/J8txyPcqJbxLzSlKdlbHBLb/G+w1WnPqmtz7wvUH6KHOjZclmsL0dc64ydxqeo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=DTA4KVM97f34VEYKMOgf8HzpaVWn08rI5PWrK922vvhvCZ62MawgOn8W0GL16bhYCYeMsKvB8FihhMgCmcSxQXumsQ63AUO9Gl7coADYHwMTV8fgoBmeHYlo2fEr2XfWQjIetkNkWOL/URNk7QlC1I3QROS44QjrjI0rwukxPdI= Received: by 161.129.204.104 with SMTP id h1mr757572wae.1176992656777; Thu, 19 Apr 2007 07:24:16 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 19 Apr 2007 07:24:16 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 19 Apr 2007 23:24:16 +0900 From: "Trustin Lee" <[email protected]> To: "Legal Discuss" <[email protected]>, "Apache MINA Private" <[email protected]> Subject: RXTX library and ASL MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi community, Recently, one of the Apache MINA committers merged serial port communication code as an optional submodule to the trunk, which was in the sandbox for a long time. The code depends on a Java serial port communication library called 'RXTX' (http://www.rxtx.org/). Being a stupid, I thought it *was* licensed under LGPL, but it is now licensed under ASL 2.0, but it was not. It is still licensed under LGPL with an exception clause like Hibernate does. http://users.frii.com/jarvi/rxtx/license.html I guess it's still prohibited to depend on RXTX even if there's an exception clause, even if we use it as a binary form, right? If so, is there any way other than moving the submodule to other hosting site? (I think there's no other way, but I'm just double-checking. ;) Thanks, Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP Key ID: 0x0255ECA6 --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 19 15:19:46 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3761 invoked from network); 19 Apr 2007 15:19:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Apr 2007 15:19:41 -0000 Received: (qmail 17941 invoked by uid 500); 19 Apr 2007 15:19:47 -0000 Delivered-To: [email protected] Received: (qmail 17741 invoked by uid 500); 19 Apr 2007 15:19:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 17730 invoked by uid 99); 19 Apr 2007 15:19:47 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2007 08:19:47 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wr-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2007 08:19:40 -0700 Received: by wr-out-0506.google.com with SMTP id 58so775156wri for <[email protected]>; Thu, 19 Apr 2007 08:19:19 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ry15OnLIzVZCXoeiw/bIc4r9PJLXaOIwWc5UV99g4mk8ECf8DUbWDXvBSj1vVphUtTWnE3i92jAbjrV7tLyayLYt3KbKUxz6nZnmvhCnQdPI8pobCDnfF/4wz122ZXnOy+MKot1a0sYHWvnifIU2A6yRTUznWIpZwV6dR1FaC5g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Nv9BKCKcSo8eqvdzIDMuuW9dcYZWT8YQlpbU3gPFsGJyN01Evwi1OnysX2SzC7BgAOmEzzvS3/JkVVGQeMpFdG+N6HD70EE4TAYikjX75wURc0rY48tnDToAOwGYJx1SygcGSSCTHo9jxFHV0914+RE4ntnz8YyB0AjfZxdj/hM= Received: by 161.129.204.104 with SMTP id z1mr794461wac.1176995957649; Thu, 19 Apr 2007 08:19:17 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 19 Apr 2007 08:19:17 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 20 Apr 2007 00:19:17 +0900 From: "Trustin Lee" <[email protected]> To: "Legal Discuss" <[email protected]>, [email protected] Subject: Re: RXTX library and ASL In-Reply-To: <1176994102.5025.25.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> <1176994102.5025.25.camel@localhost> X-Virus-Checked: Checked by ClamAV on apache.org On 4/19/07, Julien Vermillard <[email protected]> wrote: > Le jeudi 19 avril 2007 =E0 23:24 +0900, Trustin Lee a =E9crit : > > Hi community, > > > > Recently, one of the Apache MINA committers merged serial port > > communication code as an optional submodule to the trunk, which was in > > the sandbox for a long time. The code depends on a Java serial port > > communication library called 'RXTX' (http://www.rxtx.org/). > > > > Being a stupid, I thought it *was* licensed under LGPL, but it is now > > licensed under ASL 2.0, but it was not. It is still licensed under > > LGPL with an exception clause like Hibernate does. > > > > http://users.frii.com/jarvi/rxtx/license.html > > > > I guess it's still prohibited to depend on RXTX even if there's an > > exception clause, even if we use it as a binary form, right? > > > > If so, is there any way other than moving the submodule to other > > hosting site? (I think there's no other way, but I'm just > > double-checking. ;) > > > > Thanks, > > Trustin > > >From what I understand until you don't distribute the LGPL libraries, > you can depend on it : > http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200508.mbox/% > [email protected]%3e Oops, I missed that thread! Thanks for clarification, Julien! Trustin --=20 what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP Key ID: 0x0255ECA6 --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 20 07:08:03 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9797 invoked from network); 20 Apr 2007 07:07:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Apr 2007 07:07:50 -0000 Received: (qmail 24389 invoked by uid 500); 20 Apr 2007 07:07:56 -0000 Delivered-To: [email protected] Received: (qmail 24251 invoked by uid 500); 20 Apr 2007 07:07:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 24238 invoked by uid 99); 20 Apr 2007 07:07:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Apr 2007 00:07:55 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO py-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Apr 2007 00:07:46 -0700 Received: by py-out-1112.google.com with SMTP id p76so709035pyb for <[email protected]>; Fri, 20 Apr 2007 00:07:25 -0700 (PDT) Received: by 161.129.204.104 with SMTP id f1mr4454834pym.1177052845159; Fri, 20 Apr 2007 00:07:25 -0700 (PDT) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTP id x72sm3957968pyg.2161.129.204.104.07.23; Fri, 20 Apr 2007 00:07:24 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: [email protected] From: Ian Holsman <[email protected]> Subject: who owns our trademarks? Date: Fri, 20 Apr 2007 17:07:16 +1000 X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org Hi. I'm doing a trademark search with the owner being 'Apache Software Foundation' , and while I was expecting to see several trademarks (as it says on http://www.apache.org/foundation/ licence-FAQ.html#Marks ) the USPTO only shows 1 as being owned by us (being SPAMASSASSIN ) this is according to TESS (http://tess2.uspto.gov/bin/gate.exe? f=searchss&state=rjjfd0.1.1 ) any hints on what I am doing wrong? regards Ian -- Ian Holsman [email protected] --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 20 09:44:03 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64871 invoked from network); 20 Apr 2007 09:43:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Apr 2007 09:43:52 -0000 Received: (qmail 81062 invoked by uid 500); 20 Apr 2007 09:43:57 -0000 Delivered-To: [email protected] Received: (qmail 80572 invoked by uid 500); 20 Apr 2007 09:43:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 80513 invoked by uid 99); 20 Apr 2007 09:43:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Apr 2007 02:43:55 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO an-out-0708.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Apr 2007 02:43:46 -0700 Received: by an-out-0708.google.com with SMTP id b21so1018251ana for <[email protected]>; Fri, 20 Apr 2007 02:43:26 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Xg2GYJAB5QRZ2u7oCsovefzla32lK/WTIWYgyWEGBImuxOUd1drmEjLmI31D1+TaBFD8LPNazj/iN6urZc/hUPegIcD2bfTeTtweSzKKAmEMPktm9WGkcETYMJ/d3POPbPbqo545F757uoSV1gyd8kCDXWa2AG7XMNd9Tc5dNIY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fXwqAicmdem+dHu1aiUMuGGZk+wojd3o/0BJ3yxvf18autnOaF6bJD4Q855ewrCe/T4QzTuFP9H+i6Tk6KSWXPil1qxC5CKZ+DRZeKZIlqpaeMg/vFXXoDQrtVjhhxUGXJoE/U2Krti2WE0xU5Pr0W8R4KCM+f0ZMEnrQ0W+jyo= Received: by 161.129.204.104 with SMTP id q13mr1580428ane.1177062206060; Fri, 20 Apr 2007 02:43:26 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 20 Apr 2007 02:43:25 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 20 Apr 2007 02:43:25 -0700 From: "Cliff Schmidt" <[email protected]> To: "Ian Holsman" <[email protected]> Subject: Re: who owns our trademarks? Cc: [email protected] In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org On 4/20/07, Ian Holsman <[email protected]> wrote: > I'm doing a trademark search with the owner being > 'Apache Software Foundation' , and while I was expecting to see > several trademarks (as it says on http://www.apache.org/foundation/ > licence-FAQ.html#Marks ) the USPTO only shows 1 as being owned by us > (being SPAMASSASSIN ) > > this is according to TESS (http://tess2.uspto.gov/bin/gate.exe? > f=searchss&state=rjjfd0.1.1 ) > > any hints on what I am doing wrong? I doubt you're doing anything wrong. I don't believe we have any other *registered* trademarks. However, we still own several unregistered trademarks based on our use of the marks. Cliff --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 21 11:59:33 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27528 invoked from network); 21 Apr 2007 11:59:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Apr 2007 11:59:22 -0000 Received: (qmail 93802 invoked by uid 500); 21 Apr 2007 11:59:29 -0000 Delivered-To: [email protected] Received: (qmail 93619 invoked by uid 500); 21 Apr 2007 11:59:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 93608 invoked by uid 99); 21 Apr 2007 11:59:28 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Apr 2007 04:59:28 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.qos.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Apr 2007 04:59:20 -0700 Received: from [161.129.204.104] (kal [161.129.204.104]) by mail.qos.ch (Postfix) with ESMTP id 5FD4D92E36; Sat, 21 Apr 2007 13:58:58 +0200 (CEST) Message-ID: <[email protected]> Date: Sat, 21 Apr 2007 13:59:25 +0200 From: Ceki Gulcu <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20070221) MIME-Version: 1.0 To: Trustin Lee <[email protected]> Cc: Legal Discuss <[email protected]>, [email protected] Subject: Re: RXTX library and ASL References: <[email protected]> <1176994102.5025.25.camel@localhost> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hello, This is new to me. Can anyone else confirm the statement "until you don't distribute the LGPL libraries, you can depend on it" ? Many thanks in advance, Trustin Lee wrote: > On 4/19/07, Julien Vermillard <[email protected]> wrote: >> Le jeudi 19 avril 2007 à 23:24 +0900, Trustin Lee a écrit : >> > Hi community, >> > >> > Recently, one of the Apache MINA committers merged serial port >> > communication code as an optional submodule to the trunk, which was in >> > the sandbox for a long time. The code depends on a Java serial port >> > communication library called 'RXTX' (http://www.rxtx.org/). >> > >> > Being a stupid, I thought it *was* licensed under LGPL, but it is now >> > licensed under ASL 2.0, but it was not. It is still licensed under >> > LGPL with an exception clause like Hibernate does. >> > >> > http://users.frii.com/jarvi/rxtx/license.html >> > >> > I guess it's still prohibited to depend on RXTX even if there's an >> > exception clause, even if we use it as a binary form, right? >> > >> > If so, is there any way other than moving the submodule to other >> > hosting site? (I think there's no other way, but I'm just >> > double-checking. ;) >> > >> > Thanks, >> > Trustin >> >> >From what I understand until you don't distribute the LGPL libraries, >> you can depend on it : >> http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200508.mbox/% >> [email protected]%3e > > Oops, I missed that thread! Thanks for clarification, Julien! > > Trustin -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 21 12:06:35 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31624 invoked from network); 21 Apr 2007 12:06:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Apr 2007 12:06:29 -0000 Received: (qmail 99909 invoked by uid 500); 21 Apr 2007 12:06:35 -0000 Delivered-To: [email protected] Received: (qmail 99723 invoked by uid 500); 21 Apr 2007 12:06:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 99711 invoked by uid 99); 21 Apr 2007 12:06:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Apr 2007 05:06:35 -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 (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO an-out-0708.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Apr 2007 05:06:27 -0700 Received: by an-out-0708.google.com with SMTP id b21so1484645ana for <[email protected]>; Sat, 21 Apr 2007 05:06:07 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=sArylP33V966xdl/3DGZxyKu575wsnWVXdMDcVCaepVXyHNAVObqQxmd2zGPultYmZHO6haJTRzFggL/lX1fonotD3SfNO4mAxv1+RL7gmcq1n7GPBCLH3ExThGEJLBjvUsPXRiXfm8XYnAj5bJ21sutiDaY5ktWNHVSEkuK5dM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=nHoTcqayCfRrREZn/Bw2x4c59JE92qBGHKZDqMQSCcpy13LKOFI4lQOVVNrRI1HhCuNpAlMARbDCLzFqBlzLqbdxV43jI2u4DZbWuHLhhMwz9M/3aQJTHRxBfCsmuFWwYbxdaIrz45eN4aBtrombyvYT+4HlTafVHMUO6xEfgfQ= Received: by 161.129.204.104 with SMTP id s5mr2359502anc.1177157166031; Sat, 21 Apr 2007 05:06:06 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sat, 21 Apr 2007 05:06:05 -0700 (PDT) Message-ID: <[email protected]> Date: Sat, 21 Apr 2007 08:06:05 -0400 From: "Jesse Kuhnert" <[email protected]> To: "Ceki Gulcu" <[email protected]> Subject: Re: RXTX library and ASL Cc: "Trustin Lee" <[email protected]>, "Legal Discuss" <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_213027_24052255.1177157165964" References: <[email protected]> <1176994102.5025.25.camel@localhost> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_213027_24052255.1177157165964 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I think (with the caveat that I'm no one and don't know much ) it's been approved generally already: " You could also have the PMC distribute a demo app that considers Hibernate a system requirement, since "YOU MAY include code within the Apache product necessary to achieve compatibility with a prohibited work through the use of API calls, "bridge code", or protocols, provided that the compatibility code was contributed under a CLA." -- see http://people.apache.org/~cliffs/3party.html#options-<http:/= /people.apache.org/%7Ecliffs/3party.html#options-> inproduct. " The biggest points I remember hearing are that you must: -) Never actually distribute a binary of the actual lgpl code on apache servers - you can write code that depends on it but not actually distribute "it"..Ie a hibernate library can exist but we can't ship hibernate. -) Have a very prominent clause written somewhere clearly in the documentation / section of distribution that relies on third party lgpl cod= e to make it clear to users that this particular portion of the distribution relies on non ASF 2.0 licensed code . Generally just make sure they know what they're getting into so they don't accidently use lgpl code without knowing because they assumed everything related to the ASF will always be 100% ASF licensed. Something like that anyways... On 4/21/07, Ceki Gulcu <[email protected]> wrote: > > Hello, > > This is new to me. Can anyone else confirm the statement "until you don't > distribute the LGPL libraries, you can depend on it" ? > > Many thanks in advance, > > Trustin Lee wrote: > > On 4/19/07, Julien Vermillard <[email protected]> wrote: > >> Le jeudi 19 avril 2007 =E0 23:24 +0900, Trustin Lee a =E9crit : > >> > Hi community, > >> > > >> > Recently, one of the Apache MINA committers merged serial port > >> > communication code as an optional submodule to the trunk, which was > in > >> > the sandbox for a long time. The code depends on a Java serial port > >> > communication library called 'RXTX' (http://www.rxtx.org/). > >> > > >> > Being a stupid, I thought it *was* licensed under LGPL, but it is > now > >> > licensed under ASL 2.0, but it was not. It is still licensed unde= r > >> > LGPL with an exception clause like Hibernate does. > >> > > >> > http://users.frii.com/jarvi/rxtx/license.html > >> > > >> > I guess it's still prohibited to depend on RXTX even if there's an > >> > exception clause, even if we use it as a binary form, right? > >> > > >> > If so, is there any way other than moving the submodule to other > >> > hosting site? (I think there's no other way, but I'm just > >> > double-checking. ;) > >> > > >> > Thanks, > >> > Trustin > >> > >> >From what I understand until you don't distribute the LGPL libraries, > >> you can depend on it : > >> > http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200508.mbox/% > >> [email protected]%3e > > > > Oops, I missed that thread! Thanks for clarification, Julien! > > > > Trustin > > -- > Ceki G=FClc=FC > Logback: The reliable, generic, fast and flexible logging framework for > Java. > http://logback.qos.ch > > --------------------------------------------------------------------- > DISCLAIMER: Discussions on this list are informational and educational > only. Statements made on this list are not privileged, do not > constitute legal advice, and do not necessarily reflect the opinions > and policies of the ASF. See <http://www.apache.org/licenses/> for > official ASF policies and documents. > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --=20 Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com ------=_Part_213027_24052255.1177157165964 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I think (with the caveat that I&#39;m no one and don&#39;t know much ) it&#= 39;s been approved generally already:<br><br>&quot;<span class=3D"q"><br></= span><div style=3D"direction: ltr;">You could also have the PMC distribute = a demo app that considers <br><span id=3D"st" name=3D"st" class=3D"st">Hibernate</span> a system requ= irement, since &quot;YOU MAY include code within<br>the Apache product nece= ssary to achieve compatibility with a<br>prohibited work through the use of= API calls, &quot;bridge code&quot;, or <br>protocols, provided that the compatibility code was contributed under<b= r>a CLA.&quot; -- see <a onclick=3D"return top.js.OpenExtLink(window,event,= this)" href=3D"http://people.apache.org/%7Ecliffs/3party.html#options-" tar= get=3D"_blank"> http://people.apache.org/~cliffs/3party.html#options-</a><br>inproduct.<br>= </div><div style=3D"direction: ltr;"><span class=3D"sg">&quot;<br></span></= div><br>The biggest points I remember hearing are that you must:<br><br>-) = Never actually distribute a binary of the actual lgpl code on apache server= s - you can write code that depends on it but not actually distribute &quot= ;it&quot;..Ie a hibernate library can exist but we can&#39;t ship hibernate= . <br><br>-) Have a very prominent clause written somewhere clearly in the do= cumentation / section of distribution that relies on third party lgpl code = to make it clear to users that this particular portion of the distribution = relies on non ASF=20 2.0 licensed code . Generally just make sure they know what they&#39;re get= ting into so they don&#39;t accidently use lgpl code without knowing becaus= e they assumed everything related to the ASF will always be 100% ASF licens= ed.=20 <br><br>Something like that anyways...<br><br><div><span class=3D"gmail_quo= te">On 4/21/07, <b class=3D"gmail_sendername">Ceki Gulcu</b> &lt;<a href=3D= "mailto:[email protected]">[email protected]</a>&gt; wrote:</span><blockquote class=3D"= gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0p= t 0pt 0pt 0.8ex; padding-left: 1ex;"> Hello,<br><br>This is new to me. Can anyone else confirm the statement &quo= t;until you don&#39;t<br>distribute the LGPL libraries, you can depend on i= t&quot;&nbsp;&nbsp;?<br><br>Many thanks in advance,<br><br>Trustin Lee wrot= e:<br> &gt; On 4/19/07, Julien Vermillard &lt;<a href=3D"mailto:jvermillard@archea= n.fr">[email protected]</a>&gt; wrote:<br>&gt;&gt; Le jeudi 19 avril 2= 007 =E0 23:24 +0900, Trustin Lee a =E9crit :<br>&gt;&gt; &gt; Hi community,= <br> &gt;&gt; &gt;<br>&gt;&gt; &gt; Recently, one of the Apache MINA committers = merged serial port<br>&gt;&gt; &gt; communication code as an optional submo= dule to the trunk, which was in<br>&gt;&gt; &gt; the sandbox for a long tim= e.&nbsp;&nbsp;The code depends on a Java serial port <br>&gt;&gt; &gt; communication library called &#39;RXTX&#39; (<a href=3D"h= ttp://www.rxtx.org/">http://www.rxtx.org/</a>).<br>&gt;&gt; &gt;<br>&gt;&gt= ; &gt; Being a stupid, I thought it *was* licensed&nbsp;&nbsp;under LGPL, b= ut it is now <br>&gt;&gt; &gt; licensed under ASL 2.0, but it was not.&nbsp;&nbsp;&nbsp;= &nbsp;It is still licensed under<br>&gt;&gt; &gt; LGPL with an exception cl= ause like Hibernate does.<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; <a href=3D"http= ://users.frii.com/jarvi/rxtx/license.html"> http://users.frii.com/jarvi/rxtx/license.html</a><br>&gt;&gt; &gt;<br>&gt;&= gt; &gt; I guess it&#39;s still prohibited to depend on RXTX even if there&= #39;s an<br>&gt;&gt; &gt; exception clause, even if we use it as a binary f= orm, right? <br>&gt;&gt; &gt;<br>&gt;&gt; &gt; If so, is there any way other than movin= g the submodule to other<br>&gt;&gt; &gt; hosting site?&nbsp;&nbsp;(I think= there&#39;s no other way, but I&#39;m just<br>&gt;&gt; &gt; double-checkin= g. ;)<br> &gt;&gt; &gt;<br>&gt;&gt; &gt; Thanks,<br>&gt;&gt; &gt; Trustin<br>&gt;&gt;= <br>&gt;&gt; &gt;From what I understand until you don&#39;t distribute the = LGPL libraries,<br>&gt;&gt; you can depend on it :<br>&gt;&gt; <a href=3D"h= ttp://mail-archives.apache.org/mod_mbox/www-legal-discuss/200508.mbox/%"> http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200508.mbox/%</a= ><br>&gt;&gt; [email protected]%3e<br>&gt;<= br>&gt; Oops, I missed that thread!&nbsp;&nbsp;Thanks for clarification, Ju= lien!<br> &gt;<br>&gt; Trustin<br><br>--<br>Ceki G=FClc=FC<br>Logback: The reliable, = generic, fast and flexible logging framework for Java.<br><a href=3D"http:/= /logback.qos.ch">http://logback.qos.ch</a><br><br>-------------------------= -------------------------------------------- <br>DISCLAIMER: Discussions on this list are informational and educational<= br>only.&nbsp;&nbsp;Statements made on this list are not privileged, do not= <br>constitute legal advice, and do not necessarily reflect the opinions<br= >and policies of the ASF.&nbsp;&nbsp;See &lt; <a href=3D"http://www.apache.org/licenses/">http://www.apache.org/licenses/= </a>&gt; for<br>official ASF policies and documents.<br>-------------------= --------------------------------------------------<br>To unsubscribe, e-mai= l:=20 <a href=3D"mailto:[email protected]">legal-discuss-unsub= [email protected]</a><br>For additional commands, e-mail: <a href=3D"mailto= :[email protected]">[email protected]</a><br><br></= blockquote> </div><br><br clear=3D"all"><br>-- <br>Jesse Kuhnert<br>Tapestry/Dojo team = member/developer<br><br>Open source based consulting work centered around d= ojo/tapestry/tacos/hivemind. <a href=3D"http://blog.opencomponentry.com">ht= tp://blog.opencomponentry.com </a> ------=_Part_213027_24052255.1177157165964-- From [email protected] Sat Apr 21 13:22:59 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53135 invoked from network); 21 Apr 2007 13:22:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Apr 2007 13:22:27 -0000 Received: (qmail 49667 invoked by uid 500); 21 Apr 2007 13:22:32 -0000 Delivered-To: [email protected] Received: (qmail 49435 invoked by uid 500); 21 Apr 2007 13:22:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 49396 invoked by uid 99); 21 Apr 2007 13:22:31 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Apr 2007 06:22:31 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO smtp5-g19.free.fr) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Apr 2007 06:22:23 -0700 Received: from [161.129.204.104] (vol75-3-82-66-216-176.fbx.proxad.net [161.129.204.104]) by smtp5-g19.free.fr (Postfix) with ESMTP id 136F6432B7; Sat, 21 Apr 2007 15:22:02 +0200 (CEST) Message-ID: <[email protected]> Date: Sat, 21 Apr 2007 15:22:01 +0200 From: Emmanuel Lecharny <[email protected]> User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923) X-Accept-Language: fr, en MIME-Version: 1.0 To: [email protected] CC: Trustin Lee <[email protected]>, Legal Discuss <[email protected]> Subject: Re: RXTX library and ASL References: <[email protected]> <1176994102.5025.25.camel@localhost> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Ceki Gulcu a écrit : > Hello, > > This is new to me. Can anyone else confirm the statement "until you > don't distribute the LGPL libraries, you can depend on it" ? I think you can't, as stated in http://wiki.apache.org/old/Licensing : "...LGPL - Shall *not* use either Java import or C #include. Shall *not* /static/ link. ..." So you can't use Interfaces declared in a LGPL program, it seems. But this is not clear... The mentionned threadis 100 mails long, and full of other considerations. I would suggest we ask Clifft during ApacheCon in May, so we have a clear answer. Incidentally, Ceki, this raise an issue with your new Logback library. Any way for you to switch back to the 'old good' ASL license ? Emmanuel > > Many thanks in advance, > > Trustin Lee wrote: > >> On 4/19/07, Julien Vermillard <[email protected]> wrote: >> >>> Le jeudi 19 avril 2007 à 23:24 +0900, Trustin Lee a écrit : >>> > Hi community, >>> > >>> > Recently, one of the Apache MINA committers merged serial port >>> > communication code as an optional submodule to the trunk, which >>> was in >>> > the sandbox for a long time. The code depends on a Java serial port >>> > communication library called 'RXTX' (http://www.rxtx.org/). >>> > >>> > Being a stupid, I thought it *was* licensed under LGPL, but it is >>> now >>> > licensed under ASL 2.0, but it was not. It is still licensed under >>> > LGPL with an exception clause like Hibernate does. >>> > >>> > http://users.frii.com/jarvi/rxtx/license.html >>> > >>> > I guess it's still prohibited to depend on RXTX even if there's an >>> > exception clause, even if we use it as a binary form, right? >>> > >>> > If so, is there any way other than moving the submodule to other >>> > hosting site? (I think there's no other way, but I'm just >>> > double-checking. ;) >>> > >>> > Thanks, >>> > Trustin >>> >>> >From what I understand until you don't distribute the LGPL libraries, >>> you can depend on it : >>> http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200508.mbox/% >>> >>> [email protected]%3e >> >> >> Oops, I missed that thread! Thanks for clarification, Julien! >> >> Trustin > > --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 21 13:39:00 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57279 invoked from network); 21 Apr 2007 13:38:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Apr 2007 13:38:45 -0000 Received: (qmail 66006 invoked by uid 500); 21 Apr 2007 13:38:51 -0000 Delivered-To: [email protected] Received: (qmail 65882 invoked by uid 500); 21 Apr 2007 13:38:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 65871 invoked by uid 99); 21 Apr 2007 13:38:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Apr 2007 06:38:51 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=RCVD_IN_SORBS_WEB,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wr-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Apr 2007 06:38:43 -0700 Received: by wr-out-0506.google.com with SMTP id 58so1391963wri for <[email protected]>; Sat, 21 Apr 2007 06:38:23 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:organization:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:sender; b=lFsGYYBjnDAsSXs3orCmd/R5m/vLamQvJs/Ckn/qo+scMsHZFozPdhXI5gHZJ7iKQuhcALvlhjRuwt1J0Ydd45Ir7wwOI1bdYWmImwBRgYcZCORHlKuBeLq/j1+1UlhzprinwFtYQhgqpj5AYjZ8nYTpHZz9vKOqyEOGWqU020s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:organization:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:sender; b=iMNHmHMNTeDy2PE3Jc17c1gfYrY6O6jjTWEZqOXQmG+BhULpGX8NDKGKNejpWDvZIiQ+489eYQT5fScu6frImFb6p6Cd7AhvzMmULUaigJkQ16bCsw0ffHxOsDZJ1+SpjAcn7a1lTc2NKpclAE2HjoOmOeOhcJ8T/i4nVL+o2E8= Received: by 161.129.204.104 with SMTP id w2mr1709721wae.1177162702546; Sat, 21 Apr 2007 06:38:22 -0700 (PDT) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTP id z20sm2804449pod.2161.129.204.104.38.20; Sat, 21 Apr 2007 06:38:21 -0700 (PDT) From: Niclas Hedhman <[email protected]> Organization: Private To: [email protected] Subject: Re: RXTX library and ASL Date: Sat, 21 Apr 2007 21:38:08 +0800 User-Agent: KMail/1.9.5 References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <[email protected]> Sender: Niclas Hedhman <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org On Saturday 21 April 2007 20:06, Jesse Kuhnert wrote: > You could also have the PMC distribute a demo app that considers > Hibernate a system requirement, since "YOU MAY include code within > the Apache product necessary to achieve compatibility with a > prohibited work through the use of API calls, "bridge code", or > protocols, provided that the compatibility code was contributed under > a CLA. I think (IANAL, but tried to keep up with this), that a. Hibernate has a special assertion, claiming that they disagree with FSF's interpretation of "Derived Works", when it comes to Java usage (i.e. normal case). b. Therefor, "bridge code" could be considered kosher under ALv2. c. It has been said here that just like the JVM or Linux is a system requirement, an Apache project could say that Hibernate is a system requirement as well. The project should (must?) not try to install the required system component automatically, but refer the user to do so explicitly to make it clear it is not ALv2. This applies to all LGPL and GPL parts, or any other license for that matter, AFAIU. d. For LGPL that does not make special assertions, the "bridge code" is not kosher, and therefor not ALv2 licensable. In those cases, the bridge needs to "reside elsewhere". It may also potentially be possible to use LGPL subsystems without triggering the "Derived Works" interpretations from FSF. The reflection API might(!) be enough to circumvent it... Cheers Niclas --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 21 13:39:30 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58020 invoked from network); 21 Apr 2007 13:39:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Apr 2007 13:39:21 -0000 Received: (qmail 66822 invoked by uid 500); 21 Apr 2007 13:39:26 -0000 Delivered-To: [email protected] Received: (qmail 66573 invoked by uid 500); 21 Apr 2007 13:39:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 66556 invoked by uid 99); 21 Apr 2007 13:39:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Apr 2007 06:39:26 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Apr 2007 06:39:18 -0700 Received: by ug-out-1314.google.com with SMTP id 30so1033008ugs for <[email protected]>; Sat, 21 Apr 2007 06:38:57 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=FIRVjxnOw7Tg6BelwYOS93lIXMjkSqb4nTi9HforUJtugnCByHMpd7RBQRcRvFolvYLWIscOvo8DKgOxq7aoeX7QyFfGXjItOMxFulywPFApECjIjiTEAJrBajG6/S6Pd9GGFIlKtcKhROlzMAVuoIsnbVxYNaYh2K1eV/RWcsE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=pKsXcENOXO5LsKVMO+Z1QolvFQ1Atx+BG/aRTpxbANBLHu8b5H6rvR0Hto5XZXhM1EOAdUld+rOOktUHDB6aohoqA1KDxAEunucx8OcAZpy0J7N3RpIYkfMColNReOfjsuIDCfvpInFJ8x/lwwRpG4snI3kHPvkJiusi8/4ogUw= Received: by 161.129.204.104 with SMTP id u7mr696980hub.1177162737409; Sat, 21 Apr 2007 06:38:57 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sat, 21 Apr 2007 06:38:57 -0700 (PDT) Message-ID: <[email protected]> Date: Sat, 21 Apr 2007 09:38:57 -0400 From: "Garrett Rooney" <[email protected]> Sender: [email protected] To: "Emmanuel Lecharny" <[email protected]> Subject: Re: RXTX library and ASL Cc: [email protected], "Trustin Lee" <[email protected]>, "Legal Discuss" <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> <1176994102.5025.25.camel@localhost> <[email protected]> <[email protected]> <[email protected]> X-Google-Sender-Auth: 91dedc6627a98f89 X-Virus-Checked: Checked by ClamAV on apache.org On 4/21/07, Emmanuel Lecharny <[email protected]> wrote: > Ceki Gulcu a =E9crit : > > > Hello, > > > > This is new to me. Can anyone else confirm the statement "until you > > don't distribute the LGPL libraries, you can depend on it" ? > > I think you can't, as stated in http://wiki.apache.org/old/Licensing : > "...LGPL - Shall *not* use either Java import or C #include. Shall *not* > /static/ link. ..." > > So you can't use Interfaces declared in a LGPL program, it seems. > > But this is not clear... The mentionned threadis 100 mails long, and > full of other considerations. > > I would suggest we ask Clifft during ApacheCon in May, so we have a > clear answer. > > Incidentally, Ceki, this raise an issue with your new Logback library. > Any way for you to switch back to the 'old good' ASL license ? Umm, anything in that wiki page strikes me as having the potential to be very out of date. The most up to date info on this sort of thing is currently: http://people.apache.org/~cliffs/3party.html As far as LGPL, there are ways to depend on LGPL libraries, but it's certainly not encouraged and you absolutely can't ship their binaries. See the 3rd party libraries page for details. -garrett --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 21 13:48:34 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59989 invoked from network); 21 Apr 2007 13:48:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Apr 2007 13:48:23 -0000 Received: (qmail 72669 invoked by uid 500); 21 Apr 2007 13:48:27 -0000 Delivered-To: [email protected] Received: (qmail 72421 invoked by uid 500); 21 Apr 2007 13:48:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 72385 invoked by uid 99); 21 Apr 2007 13:48:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Apr 2007 06:48:26 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO smtp5-g19.free.fr) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Apr 2007 06:48:19 -0700 Received: from [161.129.204.104] (vol75-3-82-66-216-176.fbx.proxad.net [161.129.204.104]) by smtp5-g19.free.fr (Postfix) with ESMTP id 29CAF4331A; Sat, 21 Apr 2007 15:47:57 +0200 (CEST) Message-ID: <[email protected]> Date: Sat, 21 Apr 2007 15:47:57 +0200 From: Emmanuel Lecharny <[email protected]> User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923) X-Accept-Language: fr, en MIME-Version: 1.0 To: Garrett Rooney <[email protected]> CC: [email protected], Trustin Lee <[email protected]>, Legal Discuss <[email protected]> Subject: Re: RXTX library and ASL References: <[email protected]> <1176994102.5025.25.camel@localhost> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Garrett Rooney a écrit : > On 4/21/07, Emmanuel Lecharny <[email protected]> wrote: > >> Ceki Gulcu a écrit : >> >> > Hello, >> > >> > This is new to me. Can anyone else confirm the statement "until you >> > don't distribute the LGPL libraries, you can depend on it" ? >> >> I think you can't, as stated in http://wiki.apache.org/old/Licensing : >> "...LGPL - Shall *not* use either Java import or C #include. Shall *not* >> /static/ link. ..." >> >> So you can't use Interfaces declared in a LGPL program, it seems. >> >> But this is not clear... The mentionned threadis 100 mails long, and >> full of other considerations. >> >> I would suggest we ask Clifft during ApacheCon in May, so we have a >> clear answer. >> >> Incidentally, Ceki, this raise an issue with your new Logback library. >> Any way for you to switch back to the 'old good' ASL license ? > > > Umm, anything in that wiki page strikes me as having the potential to > be very out of date. > > The most up to date info on this sort of thing is currently: > > http://people.apache.org/~cliffs/3party.html Thanks, Garrett. This extract from the mentionned link : "LGPL The LGPL v2.1 is ineligible from being a Category B license <http://people.apache.org/%7Ecliffs/3party.html#category-b> (a category that includes the MPL, CPL, EPL, and CDDL) primarily due to the restrictions it places on larger works, violating the third license criterion <http://people.apache.org/%7Ecliffs/3party.html#criterion3>. Therefore, LGPL v2.1-licensed works must not be included in Apache products, although they may be listed as system requirements <http://people.apache.org/%7Ecliffs/3party.html#options-systemrequirements> or distributed elsewhere as optional works <http://people.apache.org/%7Ecliffs/3party.html#options-optional>." I think that the last sentence is pretty clear to me : either you write your own interface, or you accept compilation errors (up to the user to download the LGPL lib interface), but you should not include any part of this LGPL project into the repo. Is that correct ? Emmanuel --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 21 13:57:30 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61481 invoked from network); 21 Apr 2007 13:57:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Apr 2007 13:57:24 -0000 Received: (qmail 81505 invoked by uid 500); 21 Apr 2007 13:57:30 -0000 Delivered-To: [email protected] Received: (qmail 81226 invoked by uid 500); 21 Apr 2007 13:57:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 81215 invoked by uid 99); 21 Apr 2007 13:57:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Apr 2007 06:57:29 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wx-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Apr 2007 06:57:22 -0700 Received: by wx-out-0506.google.com with SMTP id i29so1363929wxd for <[email protected]>; Sat, 21 Apr 2007 06:57:01 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Oqqu/dUV7P9QoHwyZSzcuDX5/Z8Jrirli94pXspKidEgOiqddA9vFdeB5DiRLWGME2ZuwdoUUD1khOVTXKeew2ISCe3qzpq0Fz2Kn51D4yDANlHYaZZFM70hWxOcBkTaDblIFci5tcxhYtfdu+xXsnz/kdcBldoU5lQwE3NcurY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=pa9ILOmGurQgaXfDHcluFi29xdHye4zLrkJs1x9eWq8V/4YJffNGZijSvOqoyeN+GPnQsPBkWPrWQBMWvPWZ+G3IsL4Vwl+uupk73rsWSMFtkkVrRFd6d4Rh+gjw8knF0s8ZlStDfEwfRkToUkba59YbNGgnwyXxjnDmybHtPxA= Received: by 161.129.204.104 with SMTP id i15mr690884huf.1177163820459; Sat, 21 Apr 2007 06:57:00 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sat, 21 Apr 2007 06:57:00 -0700 (PDT) Message-ID: <[email protected]> Date: Sat, 21 Apr 2007 09:57:00 -0400 From: "Garrett Rooney" <[email protected]> Sender: [email protected] To: "Emmanuel Lecharny" <[email protected]> Subject: Re: RXTX library and ASL Cc: [email protected], "Trustin Lee" <[email protected]>, "Legal Discuss" <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> <1176994102.5025.25.camel@localhost> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Google-Sender-Auth: 796b723769efc8bf X-Virus-Checked: Checked by ClamAV on apache.org On 4/21/07, Emmanuel Lecharny <[email protected]> wrote: > Garrett Rooney a =E9crit : > > > On 4/21/07, Emmanuel Lecharny <[email protected]> wrote: > > > >> Ceki Gulcu a =E9crit : > >> > >> > Hello, > >> > > >> > This is new to me. Can anyone else confirm the statement "until you > >> > don't distribute the LGPL libraries, you can depend on it" ? > >> > >> I think you can't, as stated in http://wiki.apache.org/old/Licensing : > >> "...LGPL - Shall *not* use either Java import or C #include. Shall *no= t* > >> /static/ link. ..." > >> > >> So you can't use Interfaces declared in a LGPL program, it seems. > >> > >> But this is not clear... The mentionned threadis 100 mails long, and > >> full of other considerations. > >> > >> I would suggest we ask Clifft during ApacheCon in May, so we have a > >> clear answer. > >> > >> Incidentally, Ceki, this raise an issue with your new Logback library. > >> Any way for you to switch back to the 'old good' ASL license ? > > > > > > Umm, anything in that wiki page strikes me as having the potential to > > be very out of date. > > > > The most up to date info on this sort of thing is currently: > > > > http://people.apache.org/~cliffs/3party.html > > Thanks, Garrett. > > This extract from the mentionned link : > > > "LGPL > > The LGPL v2.1 is ineligible from being a Category B license > <http://people.apache.org/%7Ecliffs/3party.html#category-b> (a category > that includes the MPL, CPL, EPL, and CDDL) primarily due to the > restrictions it places on larger works, violating the third license > criterion <http://people.apache.org/%7Ecliffs/3party.html#criterion3>. > Therefore, LGPL v2.1-licensed works must not be included in Apache > products, although they may be listed as system requirements > <http://people.apache.org/%7Ecliffs/3party.html#options-systemrequirement= s> > or distributed elsewhere as optional works > <http://people.apache.org/%7Ecliffs/3party.html#options-optional>." > > I think that the last sentence is pretty clear to me : either you write > your own interface, or you accept compilation errors (up to the user to > download the LGPL lib interface), but you should not include any part of > this LGPL project into the repo. > > Is that correct ? I believe so, yes. You absolutely cannot ship any LGPL code along with your releases. If users provide a version of that code themselves it's fine to have functionality that depends on it, although in general that sort of thing should be discouraged if possible. -garrett --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 21 18:05:04 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22936 invoked from network); 21 Apr 2007 18:04:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Apr 2007 18:04:49 -0000 Received: (qmail 97477 invoked by uid 500); 21 Apr 2007 18:04:55 -0000 Delivered-To: [email protected] Received: (qmail 97277 invoked by uid 500); 21 Apr 2007 18:04:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 97254 invoked by uid 99); 21 Apr 2007 18:04:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Apr 2007 11:04:54 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.qos.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Apr 2007 11:04:46 -0700 Received: from [161.129.204.104] (kal [161.129.204.104]) by mail.qos.ch (Postfix) with ESMTP id 917FC92E4A; Sat, 21 Apr 2007 20:04:24 +0200 (CEST) Message-ID: <[email protected]> Date: Sat, 21 Apr 2007 20:04:52 +0200 From: Ceki Gulcu <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20070221) MIME-Version: 1.0 To: Emmanuel Lecharny <[email protected]> Cc: [email protected], Trustin Lee <[email protected]>, Legal Discuss <[email protected]> Subject: usage of logback at Apache, WAS: [ RXTX library and ASL] References: <[email protected]> <1176994102.5025.25.camel@localhost> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hello Emmanuel, On few occasions we have met some resistance due to logback's LGPL license. I personally find the terms of the LGPL quite reasonable. (Duck) However, I should also say that I did not go to great lengths to study it. As I understand the LGPL, using logback's API in your code falls under "work that uses the Library" and not "derivate work." 5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. In any case, that's how I personally interpret LGPL's terms but I am not a lawyer nor is English my mother-tongue. Moreover, my stake in the matter is small compared to that of the ASF. Note that logback is designed so that client code accesses logback indirectly through an abstraction layer called SLF4J. SLF4J is licensed under the MIT license. In other words, your (client) code never needs to directly import logback classes, only MIT-licensed SLF4J classes. Thus, I would go as far as to speculate that there is a non-zero probability that I/you/we/someone could get permission from ASF legal to *ship* logback with Apache Directory as long as only the SLF4J abstraction layer is used within Apache Directory, i.e. client code, to access logback. The SLF4J/logback MIT/LGPL combination may deserve special treatment after all. To answer your question, I'd first like to explore other approaches before changing the license from LGPL to good old ASL. Hopefully, there should be ways for LGPL and ASL code to cohabitate. Emmanuel Lecharny wrote: > > Incidentally, Ceki, this raise an issue with your new Logback library. > Any way for you to switch back to the 'old good' ASL license ? > > Emmanuel -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 21 20:17:40 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50547 invoked from network); 21 Apr 2007 20:17:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Apr 2007 20:17:31 -0000 Received: (qmail 89028 invoked by uid 500); 21 Apr 2007 20:17:35 -0000 Delivered-To: [email protected] Received: (qmail 88920 invoked by uid 500); 21 Apr 2007 20:17:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 88909 invoked by uid 99); 21 Apr 2007 20:17:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Apr 2007 13:17:34 -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 (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wr-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Apr 2007 13:17:27 -0700 Received: by wr-out-0506.google.com with SMTP id 58so1452011wri for <[email protected]>; Sat, 21 Apr 2007 13:17:06 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=dTSaVgHXco6N0uYlegL1rcBdhZ4VrAb/TH3ZXM/d30PHoscInxxCtAVgzqfIkIoNm7rbmKLTYuzqJkzHx6YdDAKRzeQm/ezbodm6ib5gYGTABgiDSoOYtsK5HIHojl/vtuCX5VVMAvL3f3mPbbr64gG1Ltp3ouiX2nNqZQy6vnA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=sTn1RmIB5U441vrPP46KFjk6dwZDhLdEZ9A5iqAgDx7DdhL3whdrOhV9VnAc7LC9FtkqUb+GSTWwOEv6de9ZH338G+N5aI2EwueHt6p1nwV/ZD5XG7ymUvdLiFfe1T9Nh2LD31dz8Y5eevVx5+ymPosLjli4w3Lb3yzxlJM8lag= Received: by 161.129.204.104 with SMTP id y11mr3853428ugi.1177186625556; Sat, 21 Apr 2007 13:17:05 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sat, 21 Apr 2007 13:17:05 -0700 (PDT) Message-ID: <[email protected]> Date: Sat, 21 Apr 2007 16:17:05 -0400 From: "Alex Karasulu" <[email protected]> Sender: [email protected] To: "Ceki Gulcu" <[email protected]> Subject: Re: usage of logback at Apache, WAS: [ RXTX library and ASL] Cc: "Emmanuel Lecharny" <[email protected]>, [email protected], "Trustin Lee" <[email protected]>, "Legal Discuss" <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_118096_10378046.1177186625487" References: <[email protected]> <1176994102.5025.25.camel@localhost> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Google-Sender-Auth: 0888a0f24c8de606 X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_118096_10378046.1177186625487 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline The bottom line is we cannot ship logback so long as it is LGPL even with the compatibility layer afforded with SLF4J. Users will have to download logback and integrate it themselves. Logging should be simple but these issues are complicating things. Why not just switch the license to ASL? Alex On 4/21/07, Ceki Gulcu <[email protected]> wrote: > > > Hello Emmanuel, > > On few occasions we have met some resistance due to logback's LGPL > license. I personally find the terms of the LGPL quite reasonable. (Duck) > However, I should also say that I did not go to great lengths to study > it. > > As I understand the LGPL, using logback's API in your code falls under > "work that uses the Library" and not "derivate work." > > 5. A program that contains no derivative of any portion of the > Library, but is designed to work with the Library by being compiled or > linked with it, is called a "work that uses the Library". Such a work, > in isolation, is not a derivative work of the Library, and therefore > falls outside the scope of this License. > > However, linking a "work that uses the Library" with the Library > creates an executable that is a derivative of the Library (because it > contains portions of the Library), rather than a "work that uses the > library". The executable is therefore covered by this License. Section > 6 states terms for distribution of such executables. > > In any case, that's how I personally interpret LGPL's terms but I am > not a lawyer nor is English my mother-tongue. Moreover, my stake in > the matter is small compared to that of the ASF. > > Note that logback is designed so that client code accesses logback > indirectly through an abstraction layer called SLF4J. SLF4J is > licensed under the MIT license. In other words, your (client) code > never needs to directly import logback classes, only MIT-licensed > SLF4J classes. > > Thus, I would go as far as to speculate that there is a non-zero > probability that I/you/we/someone could get permission from ASF legal > to *ship* logback with Apache Directory as long as only the SLF4J > abstraction layer is used within Apache Directory, i.e. client code, > to access logback. > > The SLF4J/logback MIT/LGPL combination may deserve special treatment > after all. > > To answer your question, I'd first like to explore other approaches > before changing the license from LGPL to good old ASL. Hopefully, there > should be ways for LGPL and ASL code to cohabitate. > > Emmanuel Lecharny wrote: > > > > Incidentally, Ceki, this raise an issue with your new Logback library. > > Any way for you to switch back to the 'old good' ASL license ? > > > > Emmanuel > > -- > Ceki G=FClc=FC > Logback: The reliable, generic, fast and flexible logging framework for > Java. > http://logback.qos.ch > > --------------------------------------------------------------------- > DISCLAIMER: Discussions on this list are informational and educational > only. Statements made on this list are not privileged, do not > constitute legal advice, and do not necessarily reflect the opinions > and policies of the ASF. See <http://www.apache.org/licenses/> for > official ASF policies and documents. > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > ------=_Part_118096_10378046.1177186625487 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline The bottom line is we cannot ship logback so long as it is LGPL<br>even wit= h the compatibility layer afforded with SLF4J.&nbsp; Users will<br>have to = download logback and integrate it themselves.<br><br>Logging should be simp= le but these issues are complicating things. <br>Why not just switch the license to ASL?<br><br>Alex<br><br><div><span c= lass=3D"gmail_quote">On 4/21/07, <b class=3D"gmail_sendername">Ceki Gulcu</= b> &lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt; wrote:</span><blo= ckquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204,= 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <br>Hello Emmanuel,<br><br>On few occasions we have met some resistance due= to logback&#39;s LGPL<br>license. I personally find the terms of the LGPL = quite reasonable. (Duck)<br>However, I should also say that I did not go to= great lengths to study <br>it.<br><br>As I understand the LGPL, using logback&#39;s API in your co= de falls under<br>&quot;work that uses the Library&quot; and not &quot;deri= vate work.&quot;<br><br>&nbsp;&nbsp;5. A program that contains no derivativ= e of any portion of the <br>&nbsp;&nbsp;Library, but is designed to work with the Library by being = compiled or<br>&nbsp;&nbsp;linked with it, is called a &quot;work that uses= the Library&quot;. Such a work,<br>&nbsp;&nbsp;in isolation, is not a deri= vative work of the Library, and therefore <br>&nbsp;&nbsp;falls outside the scope of this License.<br><br>&nbsp;&nbsp= ;However, linking a &quot;work that uses the Library&quot; with the Library= <br>&nbsp;&nbsp;creates an executable that is a derivative of the Library (= because it<br>&nbsp;&nbsp;contains portions of the Library), rather than a = &quot;work that uses the <br>&nbsp;&nbsp;library&quot;. The executable is therefore covered by this = License. Section<br>&nbsp;&nbsp;6 states terms for distribution of such exe= cutables.<br><br>In any case, that&#39;s how I personally interpret LGPL&#3= 9;s terms but I am <br>not a lawyer nor is English my mother-tongue. Moreover, my stake in<br>= the matter is small compared to that of the ASF.<br><br>Note that logback i= s designed so that client code accesses logback<br>indirectly through an ab= straction layer called SLF4J. SLF4J is <br>licensed under the MIT license. In other words, your (client) code<br>n= ever needs to directly import logback classes, only MIT-licensed<br>SLF4J c= lasses.<br><br>Thus, I would go as far as to speculate that there is a non-= zero <br>probability that I/you/we/someone could get permission from ASF legal<b= r>to *ship* logback with Apache Directory as long as only the SLF4J<br>abst= raction layer is used within Apache Directory, i.e. client code,<br>to acce= ss logback. <br><br>The SLF4J/logback MIT/LGPL combination may deserve special treatmen= t<br>after all.<br><br>To answer your question, I&#39;d first like to explo= re other approaches<br>before changing the license from LGPL to good old AS= L. Hopefully, there <br>should be ways for LGPL and ASL code to cohabitate.<br><br>Emmanuel Lec= harny wrote:<br>&gt;<br>&gt; Incidentally, Ceki, this raise an issue with y= our new Logback library.<br>&gt; Any way for you to switch back to the &#39= ;old good&#39; ASL license ? <br>&gt;<br>&gt; Emmanuel<br><br>--<br>Ceki G=FClc=FC<br>Logback: The relia= ble, generic, fast and flexible logging framework for Java.<br><a href=3D"h= ttp://logback.qos.ch">http://logback.qos.ch</a><br><br>--------------------= ------------------------------------------------- <br>DISCLAIMER: Discussions on this list are informational and educational<= br>only.&nbsp;&nbsp;Statements made on this list are not privileged, do not= <br>constitute legal advice, and do not necessarily reflect the opinions<br= >and policies of the ASF.&nbsp;&nbsp;See &lt; <a href=3D"http://www.apache.org/licenses/">http://www.apache.org/licenses/= </a>&gt; for<br>official ASF policies and documents.<br>-------------------= --------------------------------------------------<br>To unsubscribe, e-mai= l:=20 <a href=3D"mailto:[email protected]">legal-discuss-unsub= [email protected]</a><br>For additional commands, e-mail: <a href=3D"mailto= :[email protected]">[email protected]</a><br><br></= blockquote> </div><br> ------=_Part_118096_10378046.1177186625487-- From [email protected] Sat Apr 21 23:09:39 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93078 invoked from network); 21 Apr 2007 23:09:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Apr 2007 23:09:31 -0000 Received: (qmail 8580 invoked by uid 500); 21 Apr 2007 23:09:35 -0000 Delivered-To: [email protected] Received: (qmail 8368 invoked by uid 500); 21 Apr 2007 23:09:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 8357 invoked by uid 99); 21 Apr 2007 23:09:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Apr 2007 16:09:35 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO py-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Apr 2007 16:09:28 -0700 Received: by py-out-1112.google.com with SMTP id p76so1054503pyb for <[email protected]>; Sat, 21 Apr 2007 16:09:07 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:subject:from:reply-to:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding:sender; b=SDe4OWtiAKaXxbAgWStEuvRMzk8iHdIbrqyyfgoYo4UF7PTnqTKc7IKB7/LVjyNRuh3HJqR7b2fGwWM3ys1G3uoSOg6qz4gAfnomHpjARXHfqd+E8i55Mi8tpkQbR7g/FYnAlK+mOdP9X+ciG/WjCw7P2nwyvUmUhKesX8pBUF4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:subject:from:reply-to:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding:sender; b=YlTn1EaWjSH1woF1TXPgKU8Tv+Yn3BlZHa16LSpOqySeCZja8aP7UOTGcMBzu6gYd5vhqxX+45ZfWHUSSawg+72jdJ7qR/53ewM5Kahr5KfnygOUbtm733Ac/8D+uCmlB5xT9eujInRBOyR69NgQgW9vlBk7MGggoWG9890W/WM= Received: by 161.129.204.104 with SMTP id j2mr7790216pyk.1177196947620; Sat, 21 Apr 2007 16:09:07 -0700 (PDT) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTP id m2sm6848259nzf.2161.129.204.104.09.06; Sat, 21 Apr 2007 16:09:07 -0700 (PDT) Subject: Re: RXTX library and ASL From: Mike Heath <[email protected]> Reply-To: [email protected] To: legal-discuss <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> Content-Type: text/plain Date: Sat, 21 Apr 2007 17:09:05 -0600 Message-Id: <[email protected]> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 7bit Sender: Mike Heath <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org On Sat, 2007-04-21 at 21:38 +0800, Niclas Hedhman wrote: > I think (IANAL, but tried to keep up with this), that > > a. Hibernate has a special assertion, claiming that they disagree with FSF's > interpretation of "Derived Works", when it comes to Java usage (i.e. > normal case). Just FYI, RXTX has a similar exception to that of Hibernate http://users.frii.com/jarvi/rxtx/license.html -Mike --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 25 01:02:34 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99204 invoked from network); 25 Apr 2007 01:02:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Apr 2007 01:02:26 -0000 Received: (qmail 15927 invoked by uid 500); 25 Apr 2007 01:02:30 -0000 Delivered-To: [email protected] Received: (qmail 15647 invoked by uid 500); 25 Apr 2007 01:02:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 15636 invoked by uid 99); 25 Apr 2007 01:02:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2007 18:02:29 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO spunkymail-a7.g.dreamhost.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2007 18:02:22 -0700 Received: from [161.129.204.104] (adsl-074-229-189-244.sip.rmo.bellsouth.net [161.129.204.104]) by spunkymail-a7.g.dreamhost.com (Postfix) with ESMTP id 440715C2C8 for <[email protected]>; Tue, 24 Apr 2007 18:02:01 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: [email protected] From: Grant Ingersoll <[email protected]> Subject: Wikipedia content, GNU Free Documentation License and Apache Date: Tue, 24 Apr 2007 21:01:59 -0400 X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org We on Lucene Java are _considering_ mirroring a specific version of Wikipedia's collection for testing and benchmarking purposes on our zones account for people to download to run specific tests related to search performance and quality. It is important that we use a specific version so that it is repeatable. WikiMedia doesn't archive for long enough for their links to be reliable, therefore we cannot just grab the latest version from Wikipedia. See [1] for more details if interested. The content, according to http://en.wikipedia.org/wiki/ Wikipedia:Text_of_the_GFDL, is licensed under the GNU Free Documentation License. More details can be found at [2]. I guess the question is, is this all right? http://en.wikipedia.org/ wiki/Wikipedia:Copyrights seems to say this would be OK, but IANAL and all that stuff. Anyone have experience with how ASF deals with the GFDL in this kind of situation? I suppose we could look into hosting off site, too, but would rather it be controlled by us. Thanks, Grant [1] http://www.gossamer-threads.com/lists/lucene/java-dev/47760 [2] http://en.wikipedia.org/wiki/Wikipedia:Database_download --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 25 04:23:59 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65327 invoked from network); 25 Apr 2007 04:23:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Apr 2007 04:23:51 -0000 Received: (qmail 82967 invoked by uid 500); 25 Apr 2007 04:23:57 -0000 Delivered-To: [email protected] Received: (qmail 82704 invoked by uid 500); 25 Apr 2007 04:23:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 82693 invoked by uid 99); 25 Apr 2007 04:23:56 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2007 21:23:56 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nz-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2007 21:23:48 -0700 Received: by nz-out-0506.google.com with SMTP id l1so128868nzf for <[email protected]>; Tue, 24 Apr 2007 21:23:28 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=j0uYux8fv4PR2KDHyItUSNvxziuy/Im3Wn1tZBk4wZBJWVgJpUup63q/uDCweHN9hpEUKvemwPztiSsXZz0dQ7HSr3KKY9oTxHC4uar1REH8G5zAzAx7HzZhPFGr0+yAD29Faw+VmmQCn9qp+/9GHyjjgcYP9PsLZWscAC9iadU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=O+13KfpcA+M3TRDDFy55qUG2b23eeR4UOso5w6OrRNzxOPmaecpixV5o9Ba8u9ub/GUt3wHhSh+j4eUJLK0O+S/m4XWbcOilnKa3PMXNJubtPcvLf07ESRplcyjycWr+pVoHQ5i6K4nZ9gT741Cp9N8OkIYOvTzQmSrx+jpFQ7k= Received: by 161.129.204.104 with SMTP id x1mr84663waa.1177475006772; Tue, 24 Apr 2007 21:23:26 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 24 Apr 2007 21:23:26 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 24 Apr 2007 21:23:26 -0700 From: "Justin Erenkrantz" <[email protected]> Sender: [email protected] To: "Grant Ingersoll" <[email protected]> Subject: Re: Wikipedia content, GNU Free Documentation License and Apache Cc: [email protected] In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> X-Google-Sender-Auth: 4b82d4c022af7618 X-Virus-Checked: Checked by ClamAV on apache.org On 4/24/07, Grant Ingersoll <[email protected]> wrote: > We on Lucene Java are _considering_ mirroring a specific version of > Wikipedia's collection for testing and benchmarking purposes on our > zones account for people to download to run specific tests related to > search performance and quality. It is important that we use a > specific version so that it is repeatable. WikiMedia doesn't archive > for long enough for their links to be reliable, therefore we cannot > just grab the latest version from Wikipedia. See [1] for more > details if interested. > > The content, according to http://en.wikipedia.org/wiki/ > Wikipedia:Text_of_the_GFDL, is licensed under the GNU Free > Documentation License. More details can be found at [2]. > > I guess the question is, is this all right? http://en.wikipedia.org/ > wiki/Wikipedia:Copyrights seems to say this would be OK, but IANAL > and all that stuff. Anyone have experience with how ASF deals with > the GFDL in this kind of situation? I suppose we could look into > hosting off site, too, but would rather it be controlled by us. As long as you do not distribute the Wikipedia database in a Lucene release and just have a copy hosted on your Lucene zone or something similar so that committers can get at it easily, I don't see a particular problem here. If you make changes to the documentation or whatever, you would just need to follow the rules of GFDL (http://www.gnu.org/licenses/fdl.html). BTW, would you need to commit the database to Subversion? (I'd certainly hope not.) HTH. -- justin --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 25 15:13:40 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44168 invoked from network); 25 Apr 2007 15:13:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Apr 2007 15:13:24 -0000 Received: (qmail 91047 invoked by uid 500); 25 Apr 2007 15:13:30 -0000 Delivered-To: [email protected] Received: (qmail 90855 invoked by uid 500); 25 Apr 2007 15:13:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 90844 invoked by uid 99); 25 Apr 2007 15:13:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2007 08:13:29 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=MISSING_HEADERS X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO spunkymail-a12.g.dreamhost.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2007 08:13:21 -0700 Received: from [161.129.204.104] (adsl-074-229-189-244.sip.rmo.bellsouth.net [161.129.204.104]) by spunkymail-a12.g.dreamhost.com (Postfix) with ESMTP id 787DD7FA8 for <[email protected]>; Wed, 25 Apr 2007 08:13:00 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <[email protected]> Cc: [email protected] Content-Transfer-Encoding: 7bit From: Grant Ingersoll <[email protected]> Subject: Re: Wikipedia content, GNU Free Documentation License and Apache Date: Wed, 25 Apr 2007 11:12:59 -0400 X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org No, we definitely would not put it in SVN, but the ANT task to download it would be part of the release. All it would do is download from the site and unpack it. We would in no way change what is in the content other than unpacking it. -Grant On Apr 25, 2007, at 12:23 AM, Justin Erenkrantz wrote: > On 4/24/07, Grant Ingersoll <[email protected]> wrote: >> We on Lucene Java are _considering_ mirroring a specific version of >> Wikipedia's collection for testing and benchmarking purposes on our >> zones account for people to download to run specific tests related to >> search performance and quality. It is important that we use a >> specific version so that it is repeatable. WikiMedia doesn't archive >> for long enough for their links to be reliable, therefore we cannot >> just grab the latest version from Wikipedia. See [1] for more >> details if interested. >> >> The content, according to http://en.wikipedia.org/wiki/ >> Wikipedia:Text_of_the_GFDL, is licensed under the GNU Free >> Documentation License. More details can be found at [2]. >> >> I guess the question is, is this all right? http://en.wikipedia.org/ >> wiki/Wikipedia:Copyrights seems to say this would be OK, but IANAL >> and all that stuff. Anyone have experience with how ASF deals with >> the GFDL in this kind of situation? I suppose we could look into >> hosting off site, too, but would rather it be controlled by us. > > As long as you do not distribute the Wikipedia database in a Lucene > release and just have a copy hosted on your Lucene zone or something > similar so that committers can get at it easily, I don't see a > particular problem here. If you make changes to the documentation or > whatever, you would just need to follow the rules of GFDL > (http://www.gnu.org/licenses/fdl.html). > > BTW, would you need to commit the database to Subversion? (I'd > certainly hope not.) > > HTH. -- justin --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 25 19:20:54 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63234 invoked from network); 25 Apr 2007 19:20:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Apr 2007 19:20:41 -0000 Received: (qmail 56144 invoked by uid 500); 25 Apr 2007 19:20:46 -0000 Delivered-To: [email protected] Received: (qmail 55911 invoked by uid 500); 25 Apr 2007 19:20:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 55893 invoked by uid 99); 25 Apr 2007 19:20:46 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2007 12:20:46 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO spaceymail-a1.g.dreamhost.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2007 12:20:38 -0700 Received: from [161.129.204.104] (ip72-211-200-45.oc.oc.cox.net [161.129.204.104]) by spaceymail-a1.g.dreamhost.com (Postfix) with ESMTP id EA3398166D; Wed, 25 Apr 2007 12:20:17 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <[email protected]> Cc: [email protected] Content-Transfer-Encoding: 7bit From: "Roy T. Fielding" <[email protected]> Subject: Re: Wikipedia content, GNU Free Documentation License and Apache Date: Wed, 25 Apr 2007 12:21:06 -0700 To: Grant Ingersoll <[email protected]> X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org On Apr 25, 2007, at 8:12 AM, Grant Ingersoll wrote: > No, we definitely would not put it in SVN, but the ANT task to > download it would be part of the release. All it would do is > download from the site and unpack it. We would in no way change > what is in the content other than unpacking it. Umm, how big is it? We don't want people downloading big hunks of content from a zone just because they do a 'build test' without a clear understanding of what is about to happen. Is there some reason you can't distribute it as an overlay package that can be optionally downloaded by developers who intend to do a larger test? ....Roy --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 25 19:38:55 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69393 invoked from network); 25 Apr 2007 19:38:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Apr 2007 19:38:28 -0000 Received: (qmail 5040 invoked by uid 500); 25 Apr 2007 19:38:30 -0000 Delivered-To: [email protected] Received: (qmail 4921 invoked by uid 500); 25 Apr 2007 19:38:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 4893 invoked by uid 99); 25 Apr 2007 19:38:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2007 12:38:29 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO spunkymail-a17.g.dreamhost.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2007 12:38:21 -0700 Received: from [161.129.204.104] (adsl-074-229-189-244.sip.rmo.bellsouth.net [161.129.204.104]) by spunkymail-a17.g.dreamhost.com (Postfix) with ESMTP id EDF0973A6F for <[email protected]>; Wed, 25 Apr 2007 12:37:59 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Grant Ingersoll <[email protected]> Subject: Re: Wikipedia content, GNU Free Documentation License and Apache Date: Wed, 25 Apr 2007 15:37:52 -0400 To: [email protected] X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org It will be an explicit, non-default ANT target as part of a sub module. It won't even be part of the main test. I can ask on infrastructure if there is a better place to host it. Thanks, Grant On Apr 25, 2007, at 3:21 PM, Roy T. Fielding wrote: > On Apr 25, 2007, at 8:12 AM, Grant Ingersoll wrote: > >> No, we definitely would not put it in SVN, but the ANT task to >> download it would be part of the release. All it would do is >> download from the site and unpack it. We would in no way change >> what is in the content other than unpacking it. > > Umm, how big is it? We don't want people downloading big hunks of > content from a zone just because they do a 'build test' without a > clear understanding of what is about to happen. > > Is there some reason you can't distribute it as an overlay package > that can be optionally downloaded by developers who intend to do a > larger test? > > ....Roy > > --------------------------------------------------------------------- > DISCLAIMER: Discussions on this list are informational and educational > only. Statements made on this list are not privileged, do not > constitute legal advice, and do not necessarily reflect the opinions > and policies of the ASF. See <http://www.apache.org/licenses/> for > official ASF policies and documents. > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 30 22:55:45 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68575 invoked from network); 30 Apr 2007 22:55:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Apr 2007 22:55:38 -0000 Received: (qmail 10455 invoked by uid 500); 30 Apr 2007 22:55:33 -0000 Delivered-To: [email protected] Received: (qmail 10243 invoked by uid 500); 30 Apr 2007 22:55:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <legal-discuss.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 10202 invoked by uid 99); 30 Apr 2007 22:55:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 15:55:32 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: unknown (herse.apache.org: error in processing during lookup of [email protected]) Received: from [161.129.204.104] (HELO ms-smtp-04.socal.rr.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 15:55:23 -0700 Received: from [161.129.204.104] (cpe-24-25-218-26.san.res.rr.com [161.129.204.104]) by ms-smtp-04.socal.rr.com (8.13.6/8.13.6) with ESMTP id l3UMswk8007743 for <[email protected]>; Mon, 30 Apr 2007 15:54:58 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 30 Apr 2007 15:54:58 -0700 From: "Jean T. Anderson" <[email protected]> Reply-To: [email protected] User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc3 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: "How not to handle a licensing violation" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked by ClamAV on apache.org Here's the permanent link for one I posted a couple weeks ago: http://lwn.net/Articles/229740/ -jean --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See <http://www.apache.org/licenses/> for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Wed Feb 04 16:40:41 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3830 invoked from network); 4 Feb 2004 16:40:40 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 4 Feb 2004 16:40:40 -0000 Received: (qmail 42522 invoked by uid 500); 4 Feb 2004 16:40:08 -0000 Delivered-To: [email protected] Received: (qmail 42474 invoked by uid 500); 4 Feb 2004 16:40:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 42407 invoked from network); 4 Feb 2004 16:40:06 -0000 Received: from unknown (HELO mclmx.mail.saic.com) (161.129.204.104) by daedalus.apache.org with SMTP; 4 Feb 2004 16:40:06 -0000 Received: from mcl-its-ieg01.mail.saic.com by mclmx.mail.saic.com for [email protected]; Wed, 4 Feb 2004 11:39:56 -0500 Received: from mcl-its-exig01.mail.saic.com ([161.129.204.104]) by mcl-its-ieg01.mail.saic.com (SAVSMTP 161.129.204.104) with SMTP id M2004020411395615498 for <[email protected]>; Wed, 04 Feb 2004 11:39:56 -0500 Received: by mcl-its-exig01.mail.saic.com with Internet Mail Service (5.5.2657.72) id <12B69H3S>; Wed, 4 Feb 2004 11:39:56 -0500 Message-Id: <[email protected]> From: "Tarkenton, Daniel S." <[email protected]> To: "'[email protected]'" <[email protected]> Subject: Where are the 2.1.3 binary downloads? Date: Wed, 4 Feb 2004 11:39:46 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello, I'm trying to grab the 2.1.3 james binaries. I went to http://jakarta.apache.org/site/binindex.cgi to attempt to download the binaries, but the only link to get them seems to be down. The link I tried is this: http://mirrors.ccs.neu.edu/Apache/dist/jakarta/james/binaries/james-2.1.3.zi p I noticed that James is going through some sort of transition to the new site. Is this a dead link? Where can I get the binaries!? Thanks! From [email protected] Wed Feb 04 17:32:50 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33851 invoked from network); 4 Feb 2004 17:32:50 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 4 Feb 2004 17:32:50 -0000 Received: (qmail 80829 invoked by uid 500); 4 Feb 2004 17:32:38 -0000 Delivered-To: [email protected] Received: (qmail 80770 invoked by uid 500); 4 Feb 2004 17:32:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 80689 invoked from network); 4 Feb 2004 17:32:37 -0000 Received: from unknown (HELO jedir0x.homeip.net) (161.129.204.104) by daedalus.apache.org with SMTP; 4 Feb 2004 17:32:37 -0000 Received: from [161.129.204.104] (helo=brian-linux) by jedir0x.homeip.net with esmtp (Exim 4.24) id 1AoQw7-00055n-T6 for [email protected]; Wed, 04 Feb 2004 09:35:39 -0800 Subject: Re: Where are the 2.1.3 binary downloads? From: "Brian C. Dilley" <[email protected]> Reply-To: [email protected] To: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: multipart/alternative; boundary="=-BcWvUq84GRx+Th5ZGR8H" Message-Id: <1075915811.20845.4.camel@brian-linux> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Wed, 04 Feb 2004 09:30:11 -0800 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=-BcWvUq84GRx+Th5ZGR8H Content-Type: text/plain Content-Transfer-Encoding: 7bit how do i unsubscribe from this list? On Wed, 2004-02-04 at 08:39, Tarkenton, Daniel S. wrote: > Hello, I'm trying to grab the 2.1.3 james binaries. > > I went to http://jakarta.apache.org/site/binindex.cgi to attempt to download > the binaries, but the only link to get them seems to be down. > > The link I tried is this: > http://mirrors.ccs.neu.edu/Apache/dist/jakarta/james/binaries/james-2.1.3.zi > p > > I noticed that James is going through some sort of transition to the new > site. Is this a dead link? Where can I get the binaries!? > > Thanks! Red Hat Linux 10.0 RALEIGH-DURHAM, NC -- HypeNewsWire -- Red Hat, the producer of the most popular Linux distribution with over 25 million estimated users, is proud to announce the availability of Red Hat Linux 10.0. The latest version contains the new Linux 6.2 kernel, the Z Window System 2.0, full support for legacy Windows 3.x/9x/200x/NT software apps, and more. Copies of Red Hat Linux 10.0 will be available in stores on CD-ROM, DVD-ROM, or GNUDE (GNU Digital Encoding) disks within the next week. Compaq, Dell, Gateway, and several other large computer manufacturers have announced that they will offer computer systems with Red Hat 10.0 pre-installed. "We can sell systems with Red Hat pre-installed for considerably less than systems with Microsoft ActiveWindows 2001. Overall, Red Hat Linux's superior quality, low price, and modest system requirements puts Windows to shame," one Dell spokesperson said at last week's LinDex convention. --=-BcWvUq84GRx+Th5ZGR8H-- From [email protected] Wed Feb 04 17:48:27 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46156 invoked from network); 4 Feb 2004 17:48:27 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 4 Feb 2004 17:48:27 -0000 Received: (qmail 50483 invoked by uid 500); 4 Feb 2004 17:47:47 -0000 Delivered-To: [email protected] Received: (qmail 50429 invoked by uid 500); 4 Feb 2004 17:47:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 50357 invoked from network); 4 Feb 2004 17:47:46 -0000 Received: from unknown (HELO ms-smtp-03-eri0.southeast.rr.com) (161.129.204.104) by daedalus.apache.org with SMTP; 4 Feb 2004 17:47:46 -0000 Received: from noel770 (cae88-20-092.sc.rr.com [161.129.204.104]) by ms-smtp-03-eri0.southeast.rr.com (8.12.10/8.12.7) with SMTP id i14HlhiU022309; Wed, 4 Feb 2004 12:47:44 -0500 (EST) From: "Noel J. Bergman" <[email protected]> To: <[email protected]>, <[email protected]> Subject: RE: Where are the 2.1.3 binary downloads? Date: Wed, 4 Feb 2004 12:47:25 -0500 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <1075915811.20845.4.camel@brian-linux> X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > how do i unsubscribe from this list? Send e-mail to [email protected] --- Noel From [email protected] Wed Feb 04 17:52:38 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49325 invoked from network); 4 Feb 2004 17:52:37 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 4 Feb 2004 17:52:37 -0000 Received: (qmail 74210 invoked by uid 500); 4 Feb 2004 17:52:06 -0000 Delivered-To: [email protected] Received: (qmail 74157 invoked by uid 500); 4 Feb 2004 17:52:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74092 invoked from network); 4 Feb 2004 17:52:05 -0000 Received: from unknown (HELO ms-smtp-03-eri0.southeast.rr.com) (161.129.204.104) by daedalus.apache.org with SMTP; 4 Feb 2004 17:52:05 -0000 Received: from noel770 (cae88-20-092.sc.rr.com [161.129.204.104]) by ms-smtp-03-eri0.southeast.rr.com (8.12.10/8.12.7) with SMTP id i14Hq5iU027402 for <[email protected]>; Wed, 4 Feb 2004 12:52:05 -0500 (EST) From: "Noel J. Bergman" <[email protected]> To: <[email protected]> Subject: RE: Where are the 2.1.3 binary downloads? Date: Wed, 4 Feb 2004 12:51:46 -0500 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <[email protected]> X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Daniel, Apparently the mirror was not honoring redirection. If you were to have gone to: http://www.apache.org/dist/jakarta/james/binaries/james-2.1.3.zip it would have been redirected to the new location. This may be due to a mis-understanding on my part of whether the mirrors were obligated to honor our redirection declarations, without which URLs become fragile. Now that the mirrors are replicating the new location, I have updated the James site to include our download page, and removed James from the Jakarta download page. --- Noel From [email protected] Wed Feb 04 17:53:09 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49711 invoked from network); 4 Feb 2004 17:53:09 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 4 Feb 2004 17:53:09 -0000 Received: (qmail 78711 invoked by uid 500); 4 Feb 2004 17:53:01 -0000 Delivered-To: [email protected] Received: (qmail 78667 invoked by uid 500); 4 Feb 2004 17:53:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78650 invoked from network); 4 Feb 2004 17:53:00 -0000 Received: from unknown (HELO jedir0x.homeip.net) (161.129.204.104) by daedalus.apache.org with SMTP; 4 Feb 2004 17:53:00 -0000 Received: from [161.129.204.104] (helo=brian-linux) by jedir0x.homeip.net with esmtp (Exim 4.24) id 1AoRFr-00058A-Fl for [email protected]; Wed, 04 Feb 2004 09:56:03 -0800 Subject: RE: Where are the 2.1.3 binary downloads? From: "Brian C. Dilley" <[email protected]> Reply-To: [email protected] To: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: multipart/alternative; boundary="=-+qxuz5yDQ30cjhHdiouv" Message-Id: <1075917033.20844.6.camel@brian-linux> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Wed, 04 Feb 2004 09:50:33 -0800 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=-+qxuz5yDQ30cjhHdiouv Content-Type: text/plain Content-Transfer-Encoding: 7bit thanks On Wed, 2004-02-04 at 09:47, Noel J. Bergman wrote: > > how do i unsubscribe from this list? > > Send e-mail to [email protected] > > --- Noel Windows 2000 is out! -- PC Magazine, April 2013 --=-+qxuz5yDQ30cjhHdiouv-- From [email protected] Wed Feb 04 18:48:33 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80278 invoked from network); 4 Feb 2004 18:48:33 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 4 Feb 2004 18:48:33 -0000 Received: (qmail 21771 invoked by uid 500); 4 Feb 2004 18:47:39 -0000 Delivered-To: [email protected] Received: (qmail 21654 invoked by uid 500); 4 Feb 2004 18:47:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 21565 invoked from network); 4 Feb 2004 18:47:37 -0000 Received: from unknown (HELO mclmx.mail.saic.com) (161.129.204.104) by daedalus.apache.org with SMTP; 4 Feb 2004 18:47:37 -0000 Received: from mcl-its-ieg01.mail.saic.com by mclmx.mail.saic.com for [email protected]; Wed, 4 Feb 2004 13:47:29 -0500 Received: from mcl-its-exbh01.mail.saic.com ([161.129.204.104]) by mcl-its-ieg01.mail.saic.com (SAVSMTP 161.129.204.104) with SMTP id M2004020413472915224 for <[email protected]>; Wed, 04 Feb 2004 13:47:29 -0500 Received: by mcl-its-exbh01.mail.saic.com with Internet Mail Service (5.5.2657.72) id <D0KQ5G1B>; Wed, 4 Feb 2004 13:47:29 -0500 Message-Id: <[email protected]> From: "Tarkenton, Daniel S." <[email protected]> To: "'[email protected]'" <[email protected]> Subject: RE: Where are the 2.1.3 binary downloads? Date: Wed, 4 Feb 2004 13:47:23 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Cool. Thanks for the binaries! Dan -----Original Message----- From: Noel J. Bergman [mailto:[email protected]] Sent: Wednesday, February 04, 2004 12:52 PM To: [email protected] Subject: RE: Where are the 2.1.3 binary downloads? Daniel, Apparently the mirror was not honoring redirection. If you were to have gone to: http://www.apache.org/dist/jakarta/james/binaries/james-2.1.3.zip it would have been redirected to the new location. This may be due to a mis-understanding on my part of whether the mirrors were obligated to honor our redirection declarations, without which URLs become fragile. Now that the mirrors are replicating the new location, I have updated the James site to include our download page, and removed James from the Jakarta download page. --- Noel From [email protected] Wed Feb 04 19:35:48 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7064 invoked from network); 4 Feb 2004 19:35:48 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 4 Feb 2004 19:35:48 -0000 Received: (qmail 36755 invoked by uid 500); 4 Feb 2004 19:34:56 -0000 Delivered-To: [email protected] Received: (qmail 36727 invoked by uid 500); 4 Feb 2004 19:34:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 36654 invoked from network); 4 Feb 2004 19:34:55 -0000 Received: from unknown (HELO mta03-svc.ntlworld.com) (161.129.204.104) by daedalus.apache.org with SMTP; 4 Feb 2004 19:34:55 -0000 Received: from SSL009 ([161.129.204.104]) by mta03-svc.ntlworld.com (InterMail vM.161.129.204.104 201-229-121-137-20020806) with SMTP id <20040204193437.YHEP17812.mta03-svc.ntlworld.com@SSL009> for <[email protected]>; Wed, 4 Feb 2004 19:34:37 +0000 Reply-To: <[email protected]> From: "Steve Brewin" <[email protected]> To: <[email protected]> Subject: RE: Where are the 2.1.3 binary downloads? Date: Wed, 4 Feb 2004 19:34:50 -0000 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <7549588.1075911074875.JavaMail.Administrator@ssl008> Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Tarkenton, Daniel S. wrote: > Hello, I'm trying to grab the 2.1.3 james binaries. > > I went to http://jakarta.apache.org/site/binindex.cgi to > attempt to download > the binaries Ah! You stumbled across a bad link on the James home page which I believe Noel is in the process of fixing. Meanwhile, the "Downloads Current Release(s)" link on the upper left of the page is fine. This is to http://james.apache.org/download.cgi. -- Steve From [email protected] Wed Feb 04 20:21:58 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44734 invoked from network); 4 Feb 2004 20:21:58 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 4 Feb 2004 20:21:58 -0000 Received: (qmail 54880 invoked by uid 500); 4 Feb 2004 20:20:21 -0000 Delivered-To: [email protected] Received: (qmail 54833 invoked by uid 500); 4 Feb 2004 20:20:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 54742 invoked from network); 4 Feb 2004 20:20:20 -0000 Received: from unknown (HELO ms-smtp-01-eri0.southeast.rr.com) (161.129.204.104) by daedalus.apache.org with SMTP; 4 Feb 2004 20:20:20 -0000 Received: from noel770 (cae88-20-092.sc.rr.com [161.129.204.104]) by ms-smtp-01-eri0.southeast.rr.com (8.12.10/8.12.7) with SMTP id i14KKMaL013738; Wed, 4 Feb 2004 15:20:23 -0500 (EST) From: "Noel J. Bergman" <[email protected]> To: <[email protected]> Cc: <[email protected]> Subject: RE: Where are the 2.1.3 binary downloads? Date: Wed, 4 Feb 2004 15:20:03 -0500 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <[email protected]> X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > You stumbled across a bad link on the James home page which I believe > Noel is in the process of fixing. I missed a few spots. Should all be corrected now. Anyone who spots any dangling references should let [email protected] know. --- Noel From [email protected] Fri Feb 06 16:44:58 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62950 invoked from network); 6 Feb 2004 16:44:58 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 6 Feb 2004 16:44:58 -0000 Received: (qmail 32968 invoked by uid 500); 6 Feb 2004 16:44:50 -0000 Delivered-To: [email protected] Received: (qmail 32921 invoked by uid 500); 6 Feb 2004 16:44:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32853 invoked from network); 6 Feb 2004 16:44:50 -0000 Received: from unknown (HELO mta03-svc.ntlworld.com) (161.129.204.104) by daedalus.apache.org with SMTP; 6 Feb 2004 16:44:50 -0000 Received: from SSL009 ([161.129.204.104]) by mta03-svc.ntlworld.com (InterMail vM.161.129.204.104 201-229-121-137-20020806) with SMTP id <20040206164428.RQYD17812.mta03-svc.ntlworld.com@SSL009>; Fri, 6 Feb 2004 16:44:28 +0000 Reply-To: <[email protected]> From: "Steve Brewin" <[email protected]> To: <[email protected]>, "'Noel J. Bergman'" <[email protected]> Cc: <[email protected]> Subject: RE: James SVN (was RE: Sieve needs a home!) Date: Fri, 6 Feb 2004 16:44:50 -0000 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <23965417.1075504595703.JavaMail.Administrator@ssl008> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N OK, jSieve now has a home as a sub-project of James stored in SVN. The sub-project lives at https://svn.apache.org/repos/asf/james/jsieve/ and the 'HEAD' is https://svn.apache.org/repos/asf/james/trunk. You will notice there is no version history prior to the initial import into SVN. The short version of why is that Eclipse and WinCVS had a silent falling out when the packages were renamed org.apache.sieve > org.apache.jsieve. I could have rebuilt from backups and re-applied all of the changes, but life is too short! I've also added https://svn.apache.org/repos/asf/james/trunk, ../branches and ../tags for anything we want to manage at James project root level. James server could live here, though personally I would prefer https://svn.apache.org/repos/asf/james/server/, ../site, etc. It is easy to move things around in SVN so we aren't committed to anything. If I get a moment (ha!), I will add some notes on SVN to the Wiki. Thanks to everyone that helped us get this far. -- Steve From [email protected] Fri Feb 06 17:15:44 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82288 invoked from network); 6 Feb 2004 17:15:43 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 6 Feb 2004 17:15:43 -0000 Received: (qmail 63697 invoked by uid 500); 6 Feb 2004 17:15:05 -0000 Delivered-To: [email protected] Received: (qmail 63652 invoked by uid 500); 6 Feb 2004 17:15:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 63497 invoked from network); 6 Feb 2004 17:15:04 -0000 Received: from unknown (HELO mta05-svc.ntlworld.com) (161.129.204.104) by daedalus.apache.org with SMTP; 6 Feb 2004 17:15:03 -0000 Received: from SSL009 ([161.129.204.104]) by mta05-svc.ntlworld.com (InterMail vM.161.129.204.104 201-229-121-137-20020806) with SMTP id <20040206171432.YLAE9105.mta05-svc.ntlworld.com@SSL009> for <[email protected]>; Fri, 6 Feb 2004 17:14:32 +0000 Reply-To: <[email protected]> From: "Steve Brewin" <[email protected]> To: "James General List \(E-mail\)" <[email protected]> Subject: Adding jSieve as a component of James in Jira Date: Fri, 6 Feb 2004 17:15:13 -0000 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, Do we want to add jSieve as a component of James in Jira? If so, anyone know how this is done? (Or put another way, 'Serge, help!'). While we are at it, it might be a good idea to add fetchmail too? -- Steve From [email protected] Fri Feb 06 17:18:45 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83877 invoked from network); 6 Feb 2004 17:18:44 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 6 Feb 2004 17:18:44 -0000 Received: (qmail 83626 invoked by uid 500); 6 Feb 2004 17:18:27 -0000 Delivered-To: [email protected] Received: (qmail 83589 invoked by uid 500); 6 Feb 2004 17:18:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 83536 invoked from network); 6 Feb 2004 17:18:26 -0000 Received: from unknown (HELO mail.lokitech.com) (161.129.204.104) by daedalus.apache.org with SMTP; 6 Feb 2004 17:18:26 -0000 Received: from 161.129.204.104 ([161.129.204.104]) by mail.lokitech.com (JAMES SMTP Server 2.1.3) with SMTP ID 233 for <[email protected]>; Fri, 6 Feb 2004 12:18:26 -0500 (EST) Message-ID: <[email protected]> Date: Fri, 06 Feb 2004 12:23:54 -0500 From: Serge Knystautas <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: Adding jSieve as a component of James in Jira References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Steve Brewin wrote: > Do we want to add jSieve as a component of James in Jira? > > If so, anyone know how this is done? (Or put another way, 'Serge, help!'). > > While we are at it, it might be a good idea to add fetchmail too? I would setup jSieve as a separate project (since you'd have separate releases). I can create a James project category and put both the james server and jsieve in there. As for components, assuming you can login, you can go to "Administration", click James, and edit the components we have. Fetchmail sounds like a good addition. :) -- Serge Knystautas President Lokitech >> software . strategy . design >> http://www.lokitech.com p. +1-816-962-6155 e. [email protected] From [email protected] Fri Feb 06 17:36:00 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93575 invoked from network); 6 Feb 2004 17:36:00 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 6 Feb 2004 17:36:00 -0000 Received: (qmail 70323 invoked by uid 500); 6 Feb 2004 17:35:52 -0000 Delivered-To: [email protected] Received: (qmail 70271 invoked by uid 500); 6 Feb 2004 17:35:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 70246 invoked from network); 6 Feb 2004 17:35:52 -0000 Received: from unknown (HELO mta06-svc.ntlworld.com) (161.129.204.104) by daedalus.apache.org with SMTP; 6 Feb 2004 17:35:52 -0000 Received: from SSL009 ([161.129.204.104]) by mta06-svc.ntlworld.com (InterMail vM.161.129.204.104 201-229-121-137-20020806) with SMTP id <20040206173556.WJSV28184.mta06-svc.ntlworld.com@SSL009> for <[email protected]>; Fri, 6 Feb 2004 17:35:56 +0000 Reply-To: <[email protected]> From: "Steve Brewin" <[email protected]> To: <[email protected]> Subject: RE: Adding jSieve as a component of James in Jira Date: Fri, 6 Feb 2004 17:36:02 -0000 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <17368260.1076086175750.JavaMail.Administrator@ssl008> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Serge Knystautas wrote: > Steve Brewin wrote: > > Do we want to add jSieve as a component of James in Jira? > > > > If so, anyone know how this is done? (Or put another way, > 'Serge, help!'). > > > > While we are at it, it might be a good idea to add fetchmail too? > > I would setup jSieve as a separate project (since you'd have separate > releases). I can create a James project category and put > both the james > server and jsieve in there. Wow, that was fast, you've already done it! Thanks. > As for components, assuming you can login, you can go to > "Administration", click James, and edit the components we have. > Fetchmail sounds like a good addition. :) I can login fine, but I don't see an "Administration" option anywhere. Possibly only Jira admins. get this, or it could be I'm being stupid! -- Steve From [email protected] Fri Feb 06 17:43:55 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97318 invoked from network); 6 Feb 2004 17:43:55 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 6 Feb 2004 17:43:55 -0000 Received: (qmail 3019 invoked by uid 500); 6 Feb 2004 17:43:48 -0000 Delivered-To: [email protected] Received: (qmail 2858 invoked by uid 500); 6 Feb 2004 17:43:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 2831 invoked from network); 6 Feb 2004 17:43:46 -0000 Received: from unknown (HELO mail.lokitech.com) (161.129.204.104) by daedalus.apache.org with SMTP; 6 Feb 2004 17:43:46 -0000 Received: from 161.129.204.104 ([161.129.204.104]) by mail.lokitech.com (JAMES SMTP Server 2.1.3) with SMTP ID 724 for <[email protected]>; Fri, 6 Feb 2004 12:43:47 -0500 (EST) Message-ID: <[email protected]> Date: Fri, 06 Feb 2004 12:49:15 -0500 From: Serge Knystautas <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: Adding jSieve as a component of James in Jira References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Steve Brewin wrote: > I can login fine, but I don't see an "Administration" option anywhere. > Possibly only Jira admins. get this, or it could be I'm being stupid! Steve, Ugh, James permissions were all screwed up. You should be able to do everything you need now. -- Serge Knystautas President Lokitech >> software . strategy . design >> http://www.lokitech.com p. +1-816-962-6155 e. [email protected] From [email protected] Fri Feb 06 17:50:50 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 832 invoked from network); 6 Feb 2004 17:50:50 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 6 Feb 2004 17:50:50 -0000 Received: (qmail 32430 invoked by uid 500); 6 Feb 2004 17:50:41 -0000 Delivered-To: [email protected] Received: (qmail 32364 invoked by uid 500); 6 Feb 2004 17:50:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32327 invoked from network); 6 Feb 2004 17:50:40 -0000 Received: from unknown (HELO mta06-svc.ntlworld.com) (161.129.204.104) by daedalus.apache.org with SMTP; 6 Feb 2004 17:50:40 -0000 Received: from SSL009 ([161.129.204.104]) by mta06-svc.ntlworld.com (InterMail vM.161.129.204.104 201-229-121-137-20020806) with SMTP id <20040206175044.XWTB28184.mta06-svc.ntlworld.com@SSL009> for <[email protected]>; Fri, 6 Feb 2004 17:50:44 +0000 Reply-To: <[email protected]> From: "Steve Brewin" <[email protected]> To: <[email protected]> Subject: RE: Adding jSieve as a component of James in Jira Date: Fri, 6 Feb 2004 17:50:51 -0000 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <10072061.1076087623203.JavaMail.Administrator@ssl008> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Serge Knystautas wrote: > > > Steve Brewin wrote: > > I can login fine, but I don't see an "Administration" > option anywhere. > > Possibly only Jira admins. get this, or it could be I'm > being stupid! > > Steve, > > Ugh, James permissions were all screwed up. You should be able to do > everything you need now. Thanks Serge. Everything seems fine and FetchMail is added. -- Steve From [email protected] Fri Feb 06 20:25:06 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94592 invoked from network); 6 Feb 2004 20:25:06 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 6 Feb 2004 20:25:06 -0000 Received: (qmail 46445 invoked by uid 500); 6 Feb 2004 20:24:55 -0000 Delivered-To: [email protected] Received: (qmail 46398 invoked by uid 500); 6 Feb 2004 20:24:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 46359 invoked from network); 6 Feb 2004 20:24:54 -0000 Received: from unknown (HELO mail.lokitech.com) (161.129.204.104) by daedalus.apache.org with SMTP; 6 Feb 2004 20:24:54 -0000 Received: from 161.129.204.104 ([161.129.204.104]) by mail.lokitech.com (JAMES SMTP Server 2.1.3) with SMTP ID 932 for <[email protected]>; Fri, 6 Feb 2004 15:24:57 -0500 (EST) Message-ID: <[email protected]> Date: Fri, 06 Feb 2004 15:30:26 -0500 From: Serge Knystautas <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: James SVN (was RE: Sieve needs a home!) References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Steve Brewin wrote: > OK, jSieve now has a home as a sub-project of James stored in SVN. Great stuff! Thanks for contributing this and being our SVN guinea pig. > James server could live here, though personally I would prefer > https://svn.apache.org/repos/asf/james/server/, ../site, etc. It is easy to > move things around in SVN so we aren't committed to anything. I prefer .../asf/james/server, .../asf/james/site, etc.. as well. > If I get a moment (ha!), I will add some notes on SVN to the Wiki. Great, thanks! -- Serge Knystautas President Lokitech >> software . strategy . design >> http://www.lokitech.com p. +1-816-962-6155 e. [email protected] From [email protected] Fri Feb 06 22:56:44 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59223 invoked from network); 6 Feb 2004 22:56:44 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 6 Feb 2004 22:56:44 -0000 Received: (qmail 33357 invoked by uid 500); 6 Feb 2004 22:56:30 -0000 Delivered-To: [email protected] Received: (qmail 33321 invoked by uid 500); 6 Feb 2004 22:56:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 33308 invoked from network); 6 Feb 2004 22:56:30 -0000 Received: from unknown (HELO mta05-svc.ntlworld.com) (161.129.204.104) by daedalus.apache.org with SMTP; 6 Feb 2004 22:56:30 -0000 Received: from SSL009 ([161.129.204.104]) by mta02-svc.ntlworld.com (InterMail vM.161.129.204.104 201-229-121-137-20020806) with SMTP id <20040206211516.OBYV9412.mta02-svc.ntlworld.com@SSL009> for <[email protected]>; Fri, 6 Feb 2004 21:15:17 +0000 Reply-To: <[email protected]> From: "Steve Brewin" <[email protected]> To: <[email protected]> Subject: RE: James SVN (was RE: Sieve needs a home!) Date: Fri, 6 Feb 2004 21:15:48 -0000 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <7027848.1076097336765.JavaMail.Administrator@ssl008> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Serge Knystautas wrote: > Steve Brewin wrote: > > OK, jSieve now has a home as a sub-project of James stored in SVN. > > Great stuff! Thanks for contributing this and being our SVN > guinea pig. We all build on the shoulders of others, and judging by the size of your contributions to James, yours are much larger than mine! Good-night! -- Steve From [email protected] Sat Feb 07 06:10:00 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21029 invoked from network); 7 Feb 2004 06:09:59 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 7 Feb 2004 06:09:59 -0000 Received: (qmail 18396 invoked by uid 500); 7 Feb 2004 06:09:24 -0000 Delivered-To: [email protected] Received: (qmail 17771 invoked by uid 500); 7 Feb 2004 06:09:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 17472 invoked from network); 7 Feb 2004 06:09:12 -0000 Received: from unknown (HELO mail.devtech.com) (161.129.204.104) by daedalus.apache.org with SMTP; 7 Feb 2004 06:09:12 -0000 Received: from localhost ([161.129.204.104]) by mail.devtech.com (JAMES SMTP Server 2.2.0-dev) with SMTP ID 674 for <[email protected]>; Sat, 7 Feb 2004 01:09:19 -0500 (EST) From: "Noel J. Bergman" <[email protected]> To: <[email protected]> Subject: RE: James SVN (was RE: Sieve needs a home!) Date: Sat, 7 Feb 2004 01:09:15 -0500 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > James server could live here, though personally I would prefer > https://svn.apache.org/repos/asf/james/server/, ../site, etc. Yes. Each versionable component gets its own /releasable/[branches|tags|trunk] structure under PROJECT/. > If I get a moment (ha!), I will add some notes on SVN to the Wiki. You mean http://wiki.apache.org/james, right? --- Noel From [email protected] Sat Feb 07 06:16:38 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23158 invoked from network); 7 Feb 2004 06:16:38 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 7 Feb 2004 06:16:38 -0000 Received: (qmail 32557 invoked by uid 500); 7 Feb 2004 06:16:16 -0000 Delivered-To: [email protected] Received: (qmail 32459 invoked by uid 500); 7 Feb 2004 06:16:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32430 invoked from network); 7 Feb 2004 06:16:14 -0000 Received: from unknown (HELO mail.lokitech.com) (161.129.204.104) by daedalus.apache.org with SMTP; 7 Feb 2004 06:16:14 -0000 Received: from 161.129.204.104 ([161.129.204.104]) by mail.lokitech.com (JAMES SMTP Server 2.1.3) with SMTP ID 61 for <[email protected]>; Sat, 7 Feb 2004 01:16:23 -0500 (EST) Message-ID: <[email protected]> Date: Sat, 07 Feb 2004 01:16:21 -0500 From: Serge Knystautas <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: James SVN (was RE: Sieve needs a home!) References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Noel J. Bergman wrote: >>If I get a moment (ha!), I will add some notes on SVN to the Wiki. > > You mean http://wiki.apache.org/james, right? If that's the case, we need to change the links on http://james.apache.org. -- Serge Knystautas President Lokitech >>> software . strategy . design >> http://www.lokitech.com p. +1-816-962-6155 e. [email protected] From [email protected] Sat Feb 07 07:46:20 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47814 invoked from network); 7 Feb 2004 07:46:20 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 7 Feb 2004 07:46:20 -0000 Received: (qmail 93884 invoked by uid 500); 7 Feb 2004 07:45:56 -0000 Delivered-To: [email protected] Received: (qmail 93805 invoked by uid 500); 7 Feb 2004 07:45:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 93786 invoked from network); 7 Feb 2004 07:45:56 -0000 Received: from unknown (HELO mail.devtech.com) (161.129.204.104) by daedalus.apache.org with SMTP; 7 Feb 2004 07:45:56 -0000 Received: from localhost ([161.129.204.104]) by mail.devtech.com (JAMES SMTP Server 2.2.0-dev) with SMTP ID 607 for <[email protected]>; Sat, 7 Feb 2004 02:46:06 -0500 (EST) From: "Noel J. Bergman" <[email protected]> To: <[email protected]> Subject: RE: James SVN (was RE: Sieve needs a home!) Date: Sat, 7 Feb 2004 02:46:03 -0500 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > > You mean http://wiki.apache.org/james, right? > If that's the case, we need to change the links on http://james.apache.org. I thought I had. Fixing it now. There is formatting cleanup to do on the new site, but at least everything had been copied over. --- Noel From [email protected] Sat Feb 07 07:50:15 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48764 invoked from network); 7 Feb 2004 07:50:15 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 7 Feb 2004 07:50:15 -0000 Received: (qmail 397 invoked by uid 500); 7 Feb 2004 07:49:51 -0000 Delivered-To: [email protected] Received: (qmail 361 invoked by uid 500); 7 Feb 2004 07:49:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 348 invoked from network); 7 Feb 2004 07:49:50 -0000 Received: from unknown (HELO mail.lokitech.com) (161.129.204.104) by daedalus.apache.org with SMTP; 7 Feb 2004 07:49:50 -0000 Received: from 161.129.204.104 ([161.129.204.104]) by mail.lokitech.com (JAMES SMTP Server 2.1.3) with SMTP ID 375 for <[email protected]>; Sat, 7 Feb 2004 02:50:01 -0500 (EST) Message-ID: <[email protected]> Date: Sat, 07 Feb 2004 02:49:58 -0500 From: Serge Knystautas <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: James SVN (was RE: Sieve needs a home!) References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Noel J. Bergman wrote: >>>You mean http://wiki.apache.org/james, right? > >>If that's the case, we need to change the links on > > http://james.apache.org. > > I thought I had. Fixing it now. There is formatting cleanup to do on the > new site, but at least everything had been copied over. Cool, thanks! I look forward to learning the new wiki system. -- Serge Knystautas President Lokitech >>> software . strategy . design >> http://www.lokitech.com p. +1-816-962-6155 e. [email protected] From [email protected] Sat Feb 07 09:10:18 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82699 invoked from network); 7 Feb 2004 09:10:18 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 7 Feb 2004 09:10:18 -0000 Received: (qmail 55359 invoked by uid 500); 7 Feb 2004 09:09:45 -0000 Delivered-To: [email protected] Received: (qmail 55049 invoked by uid 500); 7 Feb 2004 09:09:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55030 invoked from network); 7 Feb 2004 09:09:43 -0000 Received: from unknown (HELO web13808.mail.yahoo.com) (161.129.204.104) by daedalus.apache.org with SMTP; 7 Feb 2004 09:09:43 -0000 Message-ID: <[email protected]> Received: from [161.129.204.104] by web13808.mail.yahoo.com via HTTP; Sat, 07 Feb 2004 01:09:56 PST Date: Sat, 7 Feb 2004 01:09:56 -0800 (PST) From: Muhammad Kashif <[email protected]> Subject: Max Connection Limit... To: [email protected] MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-330164474-1076144996=:45251" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --0-330164474-1076144996=:45251 Content-Type: text/plain; charset=us-ascii Hi, I seem be having a petty issue regarding James Configuration. The "connectionLimit" parameter for the SMTP/POP3/NNTP block is not working for me. Is there a pre-requisite ? The documentation doesnt mention any ! However, the "max-connections" parameter in the "Connections Manager" block is working fine. I want to limit the connections in a service-specific fashion instead of server-wide connections. Can anybody help ! Regards Kashif --------------------------------- Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online --0-330164474-1076144996=:45251-- From [email protected] Mon Feb 16 15:41:59 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88982 invoked from network); 16 Feb 2004 15:41:58 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 16 Feb 2004 15:41:58 -0000 Received: (qmail 80800 invoked by uid 500); 16 Feb 2004 15:41:53 -0000 Delivered-To: [email protected] Received: (qmail 80745 invoked by uid 500); 16 Feb 2004 15:41:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 80728 invoked from network); 16 Feb 2004 15:41:52 -0000 Received: from unknown (HELO REBEX-MERCURY) (161.129.204.104) by daedalus.apache.org with SMTP; 16 Feb 2004 15:41:52 -0000 Received: from REBEXMERCURY ([161.129.204.104]) by REBEX-MERCURY with Microsoft SMTPSVC+1-816-962-6155); Mon, 16 Feb 2004 15:36:20 +0000 From: "Roy Henderson" <[email protected]> To: <[email protected]> Subject: James status ... Date: Mon, 16 Feb 2004 15:36:20 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcP0oqA6F7fh3YjQSSSRMNiWVyzbww== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: <REBEX-MERCURYSTS1Sw00000001@REBEX-MERCURY> X-OriginalArrivalTime: 16 Feb 2004 15:36:20.0937 (UTC) FILETIME=[A0652B90:01C3F4A2] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I'm selecting a mail server for a small ISP venture which I am launching. I've downloaded James and done some trivial testing . I'm also looking at Exim . One thing I'm not clear on, and which I can't seem to gauge from the website is whether James is still actively being developed and if it is both functional enough and stable enough to consider as a mail platform for an ISP . the website mentions V2.2 planned for June 2003 for example but I can only see V2.1.3 as available . Comments would be most appreciated. Thanks, Roy From [email protected] Mon Feb 16 15:57:00 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99741 invoked from network); 16 Feb 2004 15:57:00 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 16 Feb 2004 15:57:00 -0000 Received: (qmail 17447 invoked by uid 500); 16 Feb 2004 15:56:54 -0000 Delivered-To: [email protected] Received: (qmail 17409 invoked by uid 500); 16 Feb 2004 15:56:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 17395 invoked from network); 16 Feb 2004 15:56:54 -0000 Received: from unknown (HELO mta06-svc.ntlworld.com) (161.129.204.104) by daedalus.apache.org with SMTP; 16 Feb 2004 15:56:54 -0000 Received: from SSL009 ([161.129.204.104]) by mta06-svc.ntlworld.com (InterMail vM.161.129.204.104 201-229-121-137-20020806) with SMTP id <20040216155655.BHOW1936.mta06-svc.ntlworld.com@SSL009> for <[email protected]>; Mon, 16 Feb 2004 15:56:55 +0000 Reply-To: <[email protected]> From: "Steve Brewin" <[email protected]> To: "James General List \(E-mail\)" <[email protected]> Subject: SVN Commit Mails Date: Mon, 16 Feb 2004 15:56:45 -0000 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, Do we want to start having SVN send mail notifications on commit for James and its sub-projects to [email protected]? That is anything committed in repos/asf/james and below. If so, I'll ask infrastructure what needs to be done - looks like an update to /usr/local/svn-install/hooks/mail.conf to me. And yes, I know the name says 'cvs', but I cannot see any advantage in having to manage a distinct name for svn off hand. Cheers, -- Steve From [email protected] Mon Feb 16 16:57:39 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45985 invoked from network); 16 Feb 2004 16:57:39 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 16 Feb 2004 16:57:39 -0000 Received: (qmail 60215 invoked by uid 500); 16 Feb 2004 16:57:32 -0000 Delivered-To: [email protected] Received: (qmail 60176 invoked by uid 500); 16 Feb 2004 16:57:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 60147 invoked from network); 16 Feb 2004 16:57:31 -0000 Received: from unknown (HELO mta05-svc.ntlworld.com) (161.129.204.104) by daedalus.apache.org with SMTP; 16 Feb 2004 16:57:31 -0000 Received: from SSL009 ([161.129.204.104]) by mta05-svc.ntlworld.com (InterMail vM.161.129.204.104 201-229-121-137-20020806) with SMTP id <20040216165653.NHVE9105.mta05-svc.ntlworld.com@SSL009> for <[email protected]>; Mon, 16 Feb 2004 16:56:53 +0000 Reply-To: <[email protected]> From: "Steve Brewin" <[email protected]> To: <[email protected]> Subject: RE: SVN Commit Mails Date: Mon, 16 Feb 2004 16:57:24 -0000 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <13298201.1076945158375.JavaMail.Administrator@ssl008> Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N OK, so who was way ahead of me and had already got this sorted? Thanks, -- Steve From [email protected] Mon Feb 16 17:01:24 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48558 invoked from network); 16 Feb 2004 17:01:24 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 16 Feb 2004 17:01:24 -0000 Received: (qmail 72822 invoked by uid 500); 16 Feb 2004 17:01:17 -0000 Delivered-To: [email protected] Received: (qmail 72794 invoked by uid 500); 16 Feb 2004 17:01:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 72778 invoked from network); 16 Feb 2004 17:01:16 -0000 Received: from unknown (HELO mail.lokitech.com) (161.129.204.104) by daedalus.apache.org with SMTP; 16 Feb 2004 17:01:16 -0000 Received: from 161.129.204.104 ([161.129.204.104]) by mail.lokitech.com (JAMES SMTP Server 2.1.3) with SMTP ID 251 for <[email protected]>; Mon, 16 Feb 2004 12:01:18 -0500 (EST) Message-ID: <[email protected]> Date: Mon, 16 Feb 2004 12:06:40 -0500 From: Serge Knystautas <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: SVN Commit Mails References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Steve Brewin wrote: > OK, so who was way ahead of me and had already got this sorted? > > Thanks, If I had to guess, I would assume Noel is way ahead of us. -- Serge Knystautas President Lokitech >> software . strategy . design >> http://www.lokitech.com p. +1-816-962-6155 e. [email protected] From [email protected] Mon Feb 16 17:09:55 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54533 invoked from network); 16 Feb 2004 17:09:55 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 16 Feb 2004 17:09:55 -0000 Received: (qmail 91005 invoked by uid 500); 16 Feb 2004 17:09:48 -0000 Delivered-To: [email protected] Received: (qmail 90891 invoked by uid 500); 16 Feb 2004 17:09:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 90879 invoked from network); 16 Feb 2004 17:09:47 -0000 Received: from unknown (HELO mta08-svc.ntlworld.com) (161.129.204.104) by daedalus.apache.org with SMTP; 16 Feb 2004 17:09:47 -0000 Received: from SSL009 ([161.129.204.104]) by mta08-svc.ntlworld.com (InterMail vM.161.129.204.104 201-229-121-137-20020806) with SMTP id <20040216170949.UXBT26804.mta08-svc.ntlworld.com@SSL009> for <[email protected]>; Mon, 16 Feb 2004 17:09:49 +0000 Reply-To: <[email protected]> From: "Steve Brewin" <[email protected]> To: <[email protected]> Subject: RE: SVN Commit Mails Date: Mon, 16 Feb 2004 17:09:41 -0000 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <816382.1076949114843.JavaMail.Administrator@ssl008> Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Serge Knystautas wrote: > > Steve Brewin wrote: > > OK, so who was way ahead of me and had already got this sorted? > > > > Thanks, > > If I had to guess, I would assume Noel is way ahead of us. My guess too. I wonder how many hours there are in a Noel day? From [email protected] Mon Feb 16 17:28:11 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63775 invoked from network); 16 Feb 2004 17:28:10 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 16 Feb 2004 17:28:10 -0000 Received: (qmail 28000 invoked by uid 500); 16 Feb 2004 17:28:04 -0000 Delivered-To: [email protected] Received: (qmail 27886 invoked by uid 500); 16 Feb 2004 17:28:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 27850 invoked from network); 16 Feb 2004 17:28:02 -0000 Received: from unknown (HELO ms-smtp-01-eri0.southeast.rr.com) (161.129.204.104) by daedalus.apache.org with SMTP; 16 Feb 2004 17:28:02 -0000 Received: from noel770 (cae88-20-092.sc.rr.com [161.129.204.104]) by ms-smtp-01-eri0.southeast.rr.com (8.12.10/8.12.7) with SMTP id i1GHRxaL005620 for <[email protected]>; Mon, 16 Feb 2004 12:28:01 -0500 (EST) From: "Noel J. Bergman" <[email protected]> To: <[email protected]> Subject: RE: SVN Commit Mails Date: Mon, 16 Feb 2004 12:27:51 -0500 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <[email protected]> Importance: Normal X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > > OK, so who was way ahead of me and had already got this sorted? > If I had to guess, I would assume Noel is way ahead of us. Back on Feb 6. :-) Just a .qmail file on the mail server. --- Noel From [email protected] Mon Feb 16 18:43:45 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95103 invoked from network); 16 Feb 2004 18:43:44 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 16 Feb 2004 18:43:44 -0000 Received: (qmail 89817 invoked by uid 500); 16 Feb 2004 18:43:35 -0000 Delivered-To: [email protected] Received: (qmail 89776 invoked by uid 500); 16 Feb 2004 18:43:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 89749 invoked from network); 16 Feb 2004 18:43:34 -0000 Received: from unknown (HELO mail.lokitech.com) (161.129.204.104) by daedalus.apache.org with SMTP; 16 Feb 2004 18:43:34 -0000 Received: from 161.129.204.104 ([161.129.204.104]) by mail.lokitech.com (JAMES SMTP Server 2.1.3) with SMTP ID 363 for <[email protected]>; Mon, 16 Feb 2004 13:43:36 -0500 (EST) Message-ID: <[email protected]> Date: Mon, 16 Feb 2004 13:48:59 -0500 From: Serge Knystautas <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: James status ... References: <REBEX-MERCURYSTS1Sw00000001@REBEX-MERCURY> In-Reply-To: <REBEX-MERCURYSTS1Sw00000001@REBEX-MERCURY> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Roy Henderson wrote: > I'm selecting a mail server for a small ISP venture which I am launching. > I've downloaded James and done some trivial testing . I'm also looking at > Exim . > > One thing I'm not clear on, and which I can't seem to gauge from the website > is whether James is still actively being developed and if it is both > functional enough and stable enough to consider as a mail platform for an > ISP . the website mentions V2.2 planned for June 2003 for example but I can > only see V2.1.3 as available . > > Comments would be most appreciated. It's being actively developed. We have many new features in the 2.2 alpha releases, and we're getting close towards a 3.0 release that will upgrade Avalon, the server framework that James uses. We have had a falloff in downloads since last fall because we haven't released final releases, but we're still getting 5,000 downloads a month (had been between 10,000 and 20,000 when we were making regular releases). As for using it for an ISP, here is a scalability test http://wiki.apache.org/james/JamesByTheNumbers and testimonials by users... http://wiki.apache.org/james/JamesUsers -- Serge Knystautas President Lokitech >> software . strategy . design >> http://www.lokitech.com p. +1-816-962-6155 e. [email protected] From [email protected] Mon Feb 16 19:09:23 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9079 invoked from network); 16 Feb 2004 19:09:22 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 16 Feb 2004 19:09:22 -0000 Received: (qmail 34251 invoked by uid 500); 16 Feb 2004 19:09:13 -0000 Delivered-To: [email protected] Received: (qmail 34220 invoked by uid 500); 16 Feb 2004 19:09:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34207 invoked from network); 16 Feb 2004 19:09:13 -0000 Received: from unknown (HELO REBEX-MERCURY) (161.129.204.104) by daedalus.apache.org with SMTP; 16 Feb 2004 19:09:13 -0000 Received: from REBEXMERCURY ([161.129.204.104]) by REBEX-MERCURY with Microsoft SMTPSVC+1-816-962-6155); Mon, 16 Feb 2004 19:09:17 +0000 From: "Roy Henderson" <[email protected]> To: <[email protected]> Subject: RE: James status ... Date: Mon, 16 Feb 2004 19:09:17 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcP0vMyX7iQm4LcFSdi5l2lHtIaRFQAAshIg In-Reply-To: <[email protected]> Message-ID: <REBEX-MERCURY3LVp4k00000001@REBEX-MERCURY> X-OriginalArrivalTime: 16 Feb 2004 19:09:17.0328 (UTC) FILETIME=[5FB7B900:01C3F4C0] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thanks Serge - that helps me. My ISP launch is probably 3 - 4 months away yet so I'll continue to watch James in the interim. From [email protected] Mon Feb 16 21:52:01 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4609 invoked from network); 16 Feb 2004 21:52:01 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 16 Feb 2004 21:52:01 -0000 Received: (qmail 34809 invoked by uid 500); 16 Feb 2004 21:51:49 -0000 Delivered-To: [email protected] Received: (qmail 34698 invoked by uid 500); 16 Feb 2004 21:51:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34684 invoked from network); 16 Feb 2004 21:51:48 -0000 Received: from unknown (HELO mta05-svc.ntlworld.com) (161.129.204.104) by daedalus.apache.org with SMTP; 16 Feb 2004 21:51:48 -0000 Received: from SSL009 ([161.129.204.104]) by mta05-svc.ntlworld.com (InterMail vM.161.129.204.104 201-229-121-137-20020806) with SMTP id <20040216215113.KKXW9105.mta05-svc.ntlworld.com@SSL009> for <[email protected]>; Mon, 16 Feb 2004 21:51:13 +0000 Reply-To: <[email protected]> From: "Steve Brewin" <[email protected]> To: <[email protected]> Subject: RE: SVN Commit Mails Date: Mon, 16 Feb 2004 21:51:44 -0000 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <25847952.1076950735531.JavaMail.Administrator@ssl008> Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Noel J. Bergman wrote: > > > OK, so who was way ahead of me and had already got this sorted? > > If I had to guess, I would assume Noel is way ahead of us. > > Back on Feb 6. :-) Just a .qmail file on the mail server. What a hero! But now, I updated all of the relevant jSieve files to include the new ASF 2.0 license snippet and committed the changes. That was a big change in terms of the resultant diffs coming from SVN. So big that it never got distributed due to... <[email protected]>: ezmlm-reject: fatal: Sorry, I don't accept messages larger than 100000 bytes (#5.2.3) Maybe the script generating the notification should be changed to only send 100000 bytes - x, where x is the size of a message saying here is the first x bytes? Otherwise we lose notification off bulk changes! -- Steve From [email protected] Mon Feb 16 22:15:13 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18168 invoked from network); 16 Feb 2004 22:15:12 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 16 Feb 2004 22:15:12 -0000 Received: (qmail 80703 invoked by uid 500); 16 Feb 2004 22:15:00 -0000 Delivered-To: [email protected] Received: (qmail 80665 invoked by uid 500); 16 Feb 2004 22:14:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 80636 invoked from network); 16 Feb 2004 22:14:59 -0000 Received: from unknown (HELO ms-smtp-03-eri0.southeast.rr.com) (161.129.204.104) by daedalus.apache.org with SMTP; 16 Feb 2004 22:14:59 -0000 Received: from noel770 (cae88-20-092.sc.rr.com [161.129.204.104]) by ms-smtp-03-eri0.southeast.rr.com (8.12.10/8.12.7) with SMTP id i1GMF1iU002433; Mon, 16 Feb 2004 17:15:03 -0500 (EST) From: "Noel J. Bergman" <[email protected]> To: <[email protected]>, <[email protected]> Subject: RE: SVN Commit Mails Date: Mon, 16 Feb 2004 17:14:51 -0500 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <[email protected]> Importance: Normal X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > > Back on Feb 6. :-) Just a .qmail file on the mail server. > What a hero! Hardly. I saw your notice about having committed, and went "uh oh ... where are the commit notices?!" > ezmlm-reject: fatal: Sorry, I don't accept messages larger than 100000 bytes Yup. Known issue. I had the same thing happen with my license file changes. They have already made changes to send just a file of links, and even THAT can exceed [email protected]. --- Noel From [email protected] Mon Feb 16 22:18:29 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19349 invoked from network); 16 Feb 2004 22:18:29 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 16 Feb 2004 22:18:29 -0000 Received: (qmail 85400 invoked by uid 500); 16 Feb 2004 22:18:16 -0000 Delivered-To: [email protected] Received: (qmail 85360 invoked by uid 500); 16 Feb 2004 22:18:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 85332 invoked from network); 16 Feb 2004 22:18:15 -0000 Received: from unknown (HELO killerbees.co.uk) (161.129.204.104) by daedalus.apache.org with SMTP; 16 Feb 2004 22:18:15 -0000 Received: from newdexter ([161.129.204.104]) by killerbees.co.uk (JAMES SMTP Server 3.0a1) with SMTP ID 468 for <[email protected]>; Mon, 16 Feb 2004 22:39:13 +0000 (GMT) From: "Danny Angus" <[email protected]> To: <[email protected]> Subject: RE: SVN Commit Mails Date: Mon, 16 Feb 2004 22:16:14 -0000 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <[email protected]> Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > Maybe the script generating the notification should be changed to=20 > only send > 100000 bytes - x, where x is the size of a message saying here is=20 > the first > x bytes? Otherwise we lose notification off bulk changes! I think this idea degenerated into two opposing camps last time it was = aired, but we (James) have the right to request the size limit be change = to whatever we like on any or all of the lists. IMO though 100000 is fine, as long as the recipient of the failure = message for a commit message sends a heads up to the dev list, for e.g = ... "I just changed all the licences, the commit mail has failed" anyone = wanting more info can always check the cvs log.=20 On the whole the b-i-g diffs are more normally housekeeping than = anything that needs closer review than a glance at the log message. d. From [email protected] Mon Feb 16 23:00:46 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43379 invoked from network); 16 Feb 2004 23:00:45 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 16 Feb 2004 23:00:45 -0000 Received: (qmail 58658 invoked by uid 500); 16 Feb 2004 23:00:32 -0000 Delivered-To: [email protected] Received: (qmail 58625 invoked by uid 500); 16 Feb 2004 23:00:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58612 invoked from network); 16 Feb 2004 23:00:31 -0000 Received: from unknown (HELO mta07-svc.ntlworld.com) (161.129.204.104) by daedalus.apache.org with SMTP; 16 Feb 2004 23:00:31 -0000 Received: from SSL009 ([161.129.204.104]) by mta07-svc.ntlworld.com (InterMail vM.161.129.204.104 201-229-121-137-20020806) with SMTP id <20040216230038.QJKF26543.mta07-svc.ntlworld.com@SSL009> for <[email protected]>; Mon, 16 Feb 2004 23:00:38 +0000 Reply-To: <[email protected]> From: "Steve Brewin" <[email protected]> To: <[email protected]> Subject: RE: SVN Commit Mails Date: Mon, 16 Feb 2004 23:00:28 -0000 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <21353508.1076968016187.JavaMail.Administrator@ssl008> Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Danny Angus wrote: > > > Maybe the script generating the notification should be changed to > > only send > > 100000 bytes - x, where x is the size of a message saying here is > > the first > > x bytes? Otherwise we lose notification off bulk changes! > > I think this idea degenerated into two opposing camps last > time it was aired, but we (James) have the right to request > the size limit be change to whatever we like on any or all of > the lists. > > IMO though 100000 is fine, as long as the recipient of the > failure message for a commit message sends a heads up to the > dev list, for e.g ... "I just changed all the licences, the > commit mail has failed" anyone wanting more info can always > check the cvs log. > On the whole the b-i-g diffs are more normally housekeeping > than anything that needs closer review than a glance at the > log message. Personally, I don't see why this should fall back to a manual activity requiring action by the committer who after the commit may be away doing other things for who knows how long (eg: last commit before long vacation). It ought not to be hard to automate whatever workaround we desire. If this was James you would have written that the TruncateMail mailet already :) -- Steve From [email protected] Mon Feb 16 23:04:24 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44698 invoked from network); 16 Feb 2004 23:04:24 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 16 Feb 2004 23:04:24 -0000 Received: (qmail 63572 invoked by uid 500); 16 Feb 2004 23:04:11 -0000 Delivered-To: [email protected] Received: (qmail 63461 invoked by uid 500); 16 Feb 2004 23:04:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 63445 invoked from network); 16 Feb 2004 23:04:10 -0000 Received: from unknown (HELO mta02-svc.ntlworld.com) (161.129.204.104) by daedalus.apache.org with SMTP; 16 Feb 2004 23:04:10 -0000 Received: from SSL009 ([161.129.204.104]) by mta02-svc.ntlworld.com (InterMail vM.161.129.204.104 201-229-121-137-20020806) with SMTP id <20040216230348.HBND9805.mta02-svc.ntlworld.com@SSL009> for <[email protected]>; Mon, 16 Feb 2004 23:03:48 +0000 Reply-To: <[email protected]> From: "Steve Brewin" <[email protected]> To: <[email protected]> Subject: RE: SVN Commit Mails Date: Mon, 16 Feb 2004 23:04:07 -0000 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <24134853.1076967839296.JavaMail.Administrator@ssl008> Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Noel J. Bergman wrote: > > ezmlm-reject: fatal: Sorry, I don't accept messages larger > than 100000 > bytes > > Yup. Known issue. I had the same thing happen with my license file > changes. They have already made changes to send just a file > of links, and > even THAT can exceed [email protected]. Judging by what got bounced back to me I don't think even that has made it into the scripts triggered by SVN. -- Steve From [email protected] Mon Feb 16 23:47:40 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64191 invoked from network); 16 Feb 2004 23:47:40 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 16 Feb 2004 23:47:40 -0000 Received: (qmail 20089 invoked by uid 500); 16 Feb 2004 23:47:25 -0000 Delivered-To: [email protected] Received: (qmail 20056 invoked by uid 500); 16 Feb 2004 23:47:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 20041 invoked from network); 16 Feb 2004 23:47:25 -0000 Received: from unknown (HELO mail.lokitech.com) (161.129.204.104) by daedalus.apache.org with SMTP; 16 Feb 2004 23:47:25 -0000 Received: from 161.129.204.104 ([161.129.204.104]) by mail.lokitech.com (JAMES SMTP Server 2.1.3) with SMTP ID 186 for <[email protected]>; Mon, 16 Feb 2004 18:47:30 -0500 (EST) Message-ID: <[email protected]> Date: Mon, 16 Feb 2004 18:47:30 -0500 From: Serge Knystautas <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: SVN Commit Mails References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Steve Brewin wrote: > If this was James you would have written that the TruncateMail mailet > already :) Or better yet, SummarizeAndAttachRestAsZip mailet. :) -- Serge Knystautas President Lokitech >>> software . strategy . design >> http://www.lokitech.com p. +1-816-962-6155 e. [email protected] From [email protected] Thu Feb 19 00:44:08 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79795 invoked from network); 19 Feb 2004 00:44:08 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 19 Feb 2004 00:44:08 -0000 Received: (qmail 68074 invoked by uid 500); 19 Feb 2004 00:43:45 -0000 Delivered-To: [email protected] Received: (qmail 67931 invoked by uid 500); 19 Feb 2004 00:43:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 67861 invoked from network); 19 Feb 2004 00:43:42 -0000 Received: from unknown (HELO ms-smtp-02-eri0.southeast.rr.com) (161.129.204.104) by daedalus.apache.org with SMTP; 19 Feb 2004 00:43:42 -0000 Received: from noel770 (cae88-20-092.sc.rr.com [161.129.204.104]) by ms-smtp-02-eri0.southeast.rr.com (8.12.10/8.12.7) with SMTP id i1J0hlkF016137; Wed, 18 Feb 2004 19:43:48 -0500 (EST) From: "Noel J. Bergman" <[email protected]> To: "James-User Mailing List" <[email protected]>, "James-Dev Mailing List" <[email protected]>, "James-PMC Mailing List" <[email protected]>, <[email protected]>, "James-General Mailing List" <[email protected]> Subject: [IGNORE] test of mailing list filters Date: Wed, 18 Feb 2004 19:43:24 -0500 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_04B2_01C3F657.789D2CA0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_NextPart_000_04B2_01C3F657.789D2CA0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit This is just a message to test which attachments get through. --- Noel attachements: hello.java, hello.xml, hello.html, hello.txt ------=_NextPart_000_04B2_01C3F657.789D2CA0 Content-Type: text/xml; name="hello.xml" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="hello.xml" <tag>did I get filtered?</tag> ------=_NextPart_000_04B2_01C3F657.789D2CA0 Content-Type: text/plain; name="hello.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="hello.txt" did I get filtered? ------=_NextPart_000_04B2_01C3F657.789D2CA0-- From [email protected] Mon Feb 23 23:34:26 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79882 invoked from network); 23 Feb 2004 23:34:25 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 23 Feb 2004 23:34:25 -0000 Received: (qmail 95299 invoked by uid 500); 23 Feb 2004 23:34:11 -0000 Delivered-To: [email protected] Received: (qmail 95246 invoked by uid 500); 23 Feb 2004 23:34:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 95222 invoked from network); 23 Feb 2004 23:34:10 -0000 Received: from unknown (HELO mail.lokitech.com) (161.129.204.104) by daedalus.apache.org with SMTP; 23 Feb 2004 23:34:10 -0000 Received: from 161.129.204.104 ([161.129.204.104]) by mail.lokitech.com (JAMES SMTP Server 2.1.3) with SMTP ID 664 for <[email protected]>; Mon, 23 Feb 2004 18:34:16 -0500 (EST) Message-ID: <[email protected]> Date: Mon, 23 Feb 2004 18:34:12 -0500 From: Serge Knystautas <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: CLA's all set Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N There's a lot of chatter elsewhere, so in case you were wondering, we have every CLA from our committers (past and present). Thanks to Noel for tracking down some of the harder to find committers. -- Serge Knystautas President Lokitech >>> software . strategy . design >> http://www.lokitech.com p. +1-816-962-6155 e. [email protected] From [email protected] Thu Feb 26 14:40:09 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47439 invoked from network); 26 Feb 2004 14:40:09 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 26 Feb 2004 14:40:09 -0000 Received: (qmail 21566 invoked by uid 500); 26 Feb 2004 14:39:27 -0000 Delivered-To: [email protected] Received: (qmail 21505 invoked by uid 500); 26 Feb 2004 14:39:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 21345 invoked from network); 26 Feb 2004 14:39:25 -0000 Received: from unknown (HELO mars.lunarpages.com) (161.129.204.104) by daedalus.apache.org with SMTP; 26 Feb 2004 14:39:25 -0000 Received: from [161.129.204.104] (helo=msgarlata) by mars.lunarpages.com with asmtp (Exim 4.24) id 1AwMfd-00071M-Qv for [email protected]; Thu, 26 Feb 2004 06:39:25 -0800 Message-ID: <[email protected]> From: "Matthew Sgarlata" <[email protected]> To: <[email protected]> Subject: Feature and Configuration Questions Date: Thu, 26 Feb 2004 09:39:23 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - mars.lunarpages.com X-AntiAbuse: Original Domain - james.apache.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - crystalcognition.com X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello, I have a few questions about Apache James that I didn't see answered in the FAQ. I am working on a web-based application that needs to automatically generate email messages. We have had problems with client-generated emails, so we would like to move to server-generated emails. Here are our questions: - Can James be configured to send out emails using the standard ports used for HTTPS? Will this conflict with a web server running on the same machine and serving up web content via HTTPS? (I am guessing the answer to this second question is yes) - Does James support sending emails with binary attachments? - How difficult is it to send HTML emails? - Are there any special server configuration requirements that I need to be aware of to make James work? (e.g. - other required software, a static IP address, etc.) - Are there any special network configuration requirements to make Apache James work (e.g. - does the server need to have a hostname or not be located behind a firewall?) - Can James make emails look like they come from any email address? (we will be sending emails on the behalf of our users) Thanks! Matt From [email protected] Sun Feb 29 18:19:57 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42139 invoked from network); 29 Feb 2004 18:19:56 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 29 Feb 2004 18:19:56 -0000 Received: (qmail 64379 invoked by uid 500); 29 Feb 2004 18:19:48 -0000 Delivered-To: [email protected] Received: (qmail 64340 invoked by uid 500); 29 Feb 2004 18:19:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 64320 invoked from network); 29 Feb 2004 18:19:48 -0000 Received: from unknown (HELO mta04-svc.ntlworld.com) (161.129.204.104) by daedalus.apache.org with SMTP; 29 Feb 2004 18:19:48 -0000 Received: from SSL009 ([161.129.204.104]) by mta04-svc.ntlworld.com (InterMail vM.161.129.204.104 201-229-121-137-20020806) with SMTP id <20040229181938.KPKG20489.mta04-svc.ntlworld.com@SSL009> for <[email protected]>; Sun, 29 Feb 2004 18:19:38 +0000 Reply-To: <[email protected]> From: "Steve Brewin" <[email protected]> To: "James General List \(E-mail\)" <[email protected]> Subject: Support for MDN MIME content types? Date: Sun, 29 Feb 2004 18:19:20 -0000 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, The host environment for jSieve is required to support RFC 1892. In particular, the creation of MIME content types Multipart/report and message/disposition-notification. This means my demonstration of jSieve invoked from a James Mailet needed this support, which I achieved by extending javax.mail.internet.MimeMultipart and implementing javax.activation.DataContentHandler's for the each of the new MIME content types. The resultant classes are packaged into a .jar that must live in the James .sar. Strictly speaking, these are JavaMail / Java Activation Framework extensions. James has no direct dependency on them. However, they are generally useful to anyone wishing to implement MDN (Message Disposition Notification). Do we want to create a home for javamail extensions in order to make them available for re-use by James and its Mailets (might be org.apache.james.javamail or a new sub-project) or deal with such issues on an ad-hoc basis? -- Steve From [email protected] Sun Feb 29 19:16:42 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60612 invoked from network); 29 Feb 2004 19:16:41 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 29 Feb 2004 19:16:41 -0000 Received: (qmail 30830 invoked by uid 500); 29 Feb 2004 19:16:32 -0000 Delivered-To: [email protected] Received: (qmail 30796 invoked by uid 500); 29 Feb 2004 19:16:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30777 invoked from network); 29 Feb 2004 19:16:31 -0000 Received: from unknown (HELO mail.lokitech.com) (161.129.204.104) by daedalus.apache.org with SMTP; 29 Feb 2004 19:16:31 -0000 Received: from 161.129.204.104 ([161.129.204.104]) by mail.lokitech.com (JAMES SMTP Server 2.1.3) with SMTP ID 781 for <[email protected]>; Sun, 29 Feb 2004 14:16:34 -0500 (EST) Message-ID: <[email protected]> Date: Sun, 29 Feb 2004 14:14:44 -0500 From: Serge Knystautas <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: Support for MDN MIME content types? References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Steve Brewin wrote: > Do we want to create a home for javamail extensions in order to make them > available for re-use by James and its Mailets (might be > org.apache.james.javamail or a new sub-project) or deal with such issues on > an ad-hoc basis? That's a tough one. We don't really have very many, so I'm not sure if it's worth an extra module at this point. This is almost like a "commons" module for James. Can anyone think of any other libraries that might be useful? -- Serge Knystautas President Lokitech >> software . strategy . design >> http://www.lokitech.com p. +1-816-962-6155 e. [email protected] From [email protected] Sun Feb 29 22:44:50 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30317 invoked from network); 29 Feb 2004 22:44:50 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 29 Feb 2004 22:44:50 -0000 Received: (qmail 49858 invoked by uid 500); 29 Feb 2004 22:44:37 -0000 Delivered-To: [email protected] Received: (qmail 49828 invoked by uid 500); 29 Feb 2004 22:44:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 49817 invoked from network); 29 Feb 2004 22:44:37 -0000 Received: from unknown (HELO mta06-svc.ntlworld.com) (161.129.204.104) by daedalus.apache.org with SMTP; 29 Feb 2004 22:44:37 -0000 Received: from SSL009 ([161.129.204.104]) by mta06-svc.ntlworld.com (InterMail vM.161.129.204.104 201-229-121-137-20020806) with SMTP id <20040229224442.IGXM10498.mta06-svc.ntlworld.com@SSL009> for <[email protected]>; Sun, 29 Feb 2004 22:44:42 +0000 Reply-To: <[email protected]> From: "Steve Brewin" <[email protected]> To: <[email protected]> Subject: RE: Support for MDN MIME content types? Date: Sun, 29 Feb 2004 22:44:12 -0000 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <4289465.1078080268250.JavaMail.Administrator@ssl008> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Serge Knystautas wrote: > Steve Brewin wrote: > > Do we want to create a home for javamail extensions in > order to make them > > available for re-use by James and its Mailets (might be > > org.apache.james.javamail or a new sub-project) or deal > with such issues on > > an ad-hoc basis? > > That's a tough one. We don't really have very many, so I'm > not sure if > it's worth an extra module at this point. This is almost like a > "commons" module for James. Can anyone think of any other libraries > that might be useful? Personally, I don't think an extra module(CVS)/node(SVN) is required, but I felt I should offer it up as an alternative. Moreover, the current packaging requirements make it difficult to support a "commons" type approach since all required code must ultimately be packaged in james.sar. As we can't "pick and mix", all of the "commons" code would need to be distributed, somewhat diluting the purpose. For instance, after a little experimentation, it seems that due to the class loader assumptions, the .jar containing these JavaMail extensions must be located in the same place as JAF's activation.jar - ie: in James .sar which gets exploded into ../work/james-###/SAR-INF/lib. That is even under 2.2.0a# with the ability to drop ../apps/james/SAR-INF/lib/*.jars, ../apps/james/SAR-INF/classes/*.class, etc. This suggests that they should be included in the standard James build process - the org.apache.james.javamail route, or not be made available for re-use - the ad-hoc route. The former has a problem as a generic approach that we bloat the size of the distribution. The latter leaves the mailet to sort out its own class-loading issues which destroys the benefits of containerisation. Maybe there is a middle-ground I've missed? -- Steve From [email protected] Sun Feb 29 23:09:25 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37754 invoked from network); 29 Feb 2004 23:09:25 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 29 Feb 2004 23:09:25 -0000 Received: (qmail 79169 invoked by uid 500); 29 Feb 2004 23:09:11 -0000 Delivered-To: [email protected] Received: (qmail 79056 invoked by uid 500); 29 Feb 2004 23:09:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 79044 invoked from network); 29 Feb 2004 23:09:10 -0000 Received: from unknown (HELO killerbees.co.uk) (161.129.204.104) by daedalus.apache.org with SMTP; 29 Feb 2004 23:09:10 -0000 Received: from newdexter ([161.129.204.104]) by killerbees.co.uk (JAMES SMTP Server 3.0a1) with SMTP ID 322; Sun, 29 Feb 2004 23:30:37 +0000 (GMT) From: "Danny Angus" <[email protected]> To: <[email protected]>, <[email protected]> Subject: RE: Support for MDN MIME content types? Date: Sun, 29 Feb 2004 23:09:09 -0000 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <[email protected]> X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N <snip> > Strictly speaking, these are JavaMail / Java Activation Framework > extensions. James has no direct dependency on them. However, they are > generally useful to anyone wishing to implement MDN (Message = Disposition > Notification). >=20 > Do we want to create a home for javamail extensions in order to make = them > available for re-use by James and its Mailets (might be > org.apache.james.javamail or a new sub-project) or deal with such=20 > issues on > an ad-hoc basis? I think it would be a good idea to have a seperate module for Java Mail = implementation classes, unless we're going to have James specific Java = Mail implementations, in which case it wouldn't.. By which I'm thinking = mainly of outgoing SMTP, an SMTP "Transport" provider for Java Mail = might well have a James specific implementation allowing it to make = direct use of James resources. Then again it might survive as a Java Mail/ Mailet implementation, = providing enhanced outgoing SMTP for any Mailet Context using the = context for access to DNS and spooling, and providing connection re-use, = message aggregation, and deliver event notification to the Mailet = Context. ... so I can see two equally valid answers here :-( d. From [email protected] Sun Feb 29 23:13:03 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38698 invoked from network); 29 Feb 2004 23:13:03 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 29 Feb 2004 23:13:03 -0000 Received: (qmail 83347 invoked by uid 500); 29 Feb 2004 23:12:49 -0000 Delivered-To: [email protected] Received: (qmail 83231 invoked by uid 500); 29 Feb 2004 23:12:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 83219 invoked from network); 29 Feb 2004 23:12:48 -0000 Received: from unknown (HELO killerbees.co.uk) (161.129.204.104) by daedalus.apache.org with SMTP; 29 Feb 2004 23:12:48 -0000 Received: from newdexter ([161.129.204.104]) by killerbees.co.uk (JAMES SMTP Server 3.0a1) with SMTP ID 53; Sun, 29 Feb 2004 23:34:14 +0000 (GMT) From: "Danny Angus" <[email protected]> To: <[email protected]>, <[email protected]> Subject: RE: Support for MDN MIME content types? Date: Sun, 29 Feb 2004 23:12:46 -0000 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <[email protected]> X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > Maybe there is a middle-ground I've missed? Perhaps re-visiting the classloader structure with this in mind could = resolve this. I haven't looked at Avalon for a while, but at one time Pete Donald was = looking at configurable classloaders, an approach like that might allow = us to put Activation and Java Mail and any custom Java Mail = implementations both in sensible places in the filesystem and still have = them appear in the correct parts of the loader heirarchy. d. From [email protected] Sun Feb 29 23:17:28 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40132 invoked from network); 29 Feb 2004 23:17:27 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 29 Feb 2004 23:17:27 -0000 Received: (qmail 85658 invoked by uid 500); 29 Feb 2004 23:17:14 -0000 Delivered-To: [email protected] Received: (qmail 85623 invoked by uid 500); 29 Feb 2004 23:17:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 85611 invoked from network); 29 Feb 2004 23:17:13 -0000 Received: from unknown (HELO ms-smtp-01-eri0.southeast.rr.com) (161.129.204.104) by daedalus.apache.org with SMTP; 29 Feb 2004 23:17:13 -0000 Received: from noel770 (cae88-20-092.sc.rr.com [161.129.204.104]) by ms-smtp-01-eri0.southeast.rr.com (8.12.10/8.12.7) with SMTP id i1TNHHSm029196; Sun, 29 Feb 2004 18:17:18 -0500 (EST) From: "Noel J. Bergman" <[email protected]> To: <[email protected]>, <[email protected]> Subject: RE: Support for MDN MIME content types? Date: Sun, 29 Feb 2004 18:17:00 -0500 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Steve, > The host environment for jSieve is required to support RFC 1892. Actually, that is obsolete. The three current RFC's are: http://www.ietf.org/rfc/rfc3462.txt http://www.ietf.org/rfc/rfc3463.txt http://www.ietf.org/rfc/rfc3464.txt > In particular, the creation of MIME content types Multipart/report > and message/disposition-notification. Andreas Göggerle's DSNBounce Mailet had the same issue. For now it uses text/plain, but we do want to support message/delivery-status. > I achieved by extending javax.mail.internet.MimeMultipart and implementing > javax.activation.DataContentHandler's for the each of the new MIME content > types. The resultant classes are packaged into a .jar that must live in the > James .sar. Great. Sounds like we've a framework for extending the MIME types James needs, at least for when we use JavaMail. > Do we want to create a home for javamail extensions Probably so, and org.apache.james.javamail is OK for now, unless we want to setup a org.apache.javamail for generic JavaMail extensions? I don't believe that we want to use org.apache.mail, which was the original package name for James, for JavaMail specific code. --- Noel
From [email protected] Mon Feb 01 18:44:03 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62907 invoked from network); 1 Feb 2010 18:44:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Feb 2010 18:44:03 -0000 Received: (qmail 32856 invoked by uid 500); 1 Feb 2010 18:44:03 -0000 Delivered-To: [email protected] Received: (qmail 32806 invoked by uid 500); 1 Feb 2010 18:44:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32796 invoked by uid 99); 1 Feb 2010 18:44:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2010 18:44:01 +0000 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO TX2EHSOBE005.bigfish.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2010 18:43:51 +0000 Received: from mail116-tx2-R.bigfish.com (161.129.204.104) by TX2EHSOBE005.bigfish.com (161.129.204.104) with Microsoft SMTP Server id 8.1.340.0; Mon, 1 Feb 2010 18:43:29 +0000 Received: from mail116-tx2 (localhost [161.129.204.104]) by mail116-tx2-R.bigfish.com (Postfix) with ESMTP id 39184A986E0 for <[email protected]>; Mon, 1 Feb 2010 18:43:29 +0000 (UTC) X-SpamScore: -20 X-BigFish: VPS-20(zz542N1432R98dNa2dbK9371Pzz1202hzz3f3faI59886n92fbm5a6ciz31j6bh61h) X-Spam-TCS-SCL: 0:0 Received: from mail116-tx2 (localhost.localdomain [161.129.204.104]) by mail116-tx2 (MessageSwitch) id 1265049808562296_3050; Mon, 1 Feb 2010 18:43:28 +0000 (UTC) Received: from TX2EHSMHS043.bigfish.com (unknown [161.129.204.104]) by mail116-tx2.bigfish.com (Postfix) with ESMTP id 82263E78051 for <[email protected]>; Mon, 1 Feb 2010 18:43:28 +0000 (UTC) Received: from fegplmsmmdz04.foxinc.com (161.129.204.104) by TX2EHSMHS043.bigfish.com (161.129.204.104) with Microsoft SMTP Server (TLS) id 14.0.482.39; Mon, 1 Feb 2010 18:43:26 +0000 Received: from ffeplmsexbh04.ffe.foxeg.com (Not Verified[161.129.204.104]) by FOX.COM (post.office MTA v5.0 0924 ) with ESMTP id <B4b6720c60001>; Mon, 01 Feb 2010 10:43:18 -0800 Received: from fegplmsexmb14.ffe.foxeg.com ([161.129.204.104]) by ffeplmsexbh04.ffe.foxeg.com with Microsoft SMTPSVC+1-778-747-0316); Mon, 1 Feb 2010 10:43:24 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Unauthorized Exception Error Date: Mon, 1 Feb 2010 10:42:24 -0800 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Unauthorized Exception Error thread-index: AcqiaPV9wkYfNAvvQdicd7TUgUxgrAA/7NRg References: <[email protected]> <[email protected]> From: Michael Garski <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 01 Feb 2010 18:43:24.0744 (UTC) FILETIME=[6F97F480:01CAA36E] X-Reverse-DNS: fegplmsmmdz04.foxinc.com The exception more than likely stems from attempting to delete a file is being referenced. It is swallowed internally and the file is placed into a list to allow the delete to be attempted again at a later time. When deletes are applied to the index, the underlying reader that performs the deletes will lock files while it is open to ensure the index is not deleted out from under it. Michael -----Original Message----- From: Tim Haughton [mailto:[email protected]]=20 Sent: Sunday, January 31, 2010 3:31 AM To: [email protected] Subject: Re: Unauthorized Exception Error Some more relevant info: Version: Dev version Exception Date: 30 January 2010 Exception Type: System. UnauthorizedAccessException DotNet Details =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 1.0: 0.0 1.1: 0.0 2.0: 2.0.50727.4927 3.0: 3.0.30729.4926 3.5: 3.5.30729.4926 CardSpace: +1-778-747-0316 WPF: +1-778-747-0316 WCF: +1-778-747-0316 WF: +1-778-747-0316 OS Details =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Microsoft Windows NT 6.1.7600.0 Hardware =3D=3D=3D=3D=3D=3D=3D=3D CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ Processor ID: 178BFBFF00060FB2 Number Of Cores: 2 Number Of Processors: 2 Manufacturer: NVIDIA Model: AWRDACPI Total Physical Memory: +1-778-747-0316 Graphics Card: NVIDIA GeForce 6150 Graphics Card Driver Version: 161.129.204.10462 Video Mode: Description =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Exception =3D=3D=3D=3D=3D=3D=3D=3D=3D Access to the path 'C:\Users\timhaughton\HDM AppData Test\MetaDataIndex\segments_7h' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.Delete(String path) at Lucene.Net.Store.FSDirectory.DeleteFile(String name) in C:\Users\timhaughton\Desktop\Lucene\Lucene.Net_2_3_2\src\Lucene.Net\Stor e\FSDirectory.cs:line 436 at Lucene.Net.Index.IndexFileDeleter.DeleteFile(String fileName) in C:\Users\timhaughton\Desktop\Lucene\Lucene.Net_2_3_2\src\Lucene.Net\Inde x\IndexFileDeleter.cs:line 588 at Lucene.Net.Index.IndexFileDeleter.DecRef(String fileName) in C:\Users\timhaughton\Desktop\Lucene\Lucene.Net_2_3_2\src\Lucene.Net\Inde x\IndexFileDeleter.cs:line 529 at Lucene.Net.Index.IndexFileDeleter.DeleteCommits() in C:\Users\timhaughton\Desktop\Lucene\Lucene.Net_2_3_2\src\Lucene.Net\Inde x\IndexFileDeleter.cs:line 291 at Lucene.Net.Index.IndexFileDeleter.Checkpoint(SegmentInfos segmentInfos, Boolean isCommit) in C:\Users\timhaughton\Desktop\Lucene\Lucene.Net_2_3_2\src\Lucene.Net\Inde x\IndexFileDeleter.cs:line 445 at Lucene.Net.Index.DirectoryIndexReader.DoCommit() in C:\Users\timhaughton\Desktop\Lucene\Lucene.Net_2_3_2\src\Lucene.Net\Inde x\DirectoryIndexReader.cs:line 268 at Lucene.Net.Index.IndexReader.Commit() in C:\Users\timhaughton\Desktop\Lucene\Lucene.Net_2_3_2\src\Lucene.Net\Inde x\IndexReader.cs:line 941 at Lucene.Net.Index.IndexReader.DecRef() in C:\Users\timhaughton\Desktop\Lucene\Lucene.Net_2_3_2\src\Lucene.Net\Inde x\IndexReader.cs:line 157 at Lucene.Net.Index.SegmentReader.DecRef() in C:\Users\timhaughton\Desktop\Lucene\Lucene.Net_2_3_2\src\Lucene.Net\Inde x\SegmentReader.cs:line 201 at Lucene.Net.Index.IndexReader.Close() in C:\Users\timhaughton\Desktop\Lucene\Lucene.Net_2_3_2\src\Lucene.Net\Inde x\IndexReader.cs:line 961 at HDM.IndexManager.RemoveFromMetaIndex(EDMDocument document) in C:\Users\timhaughton\svn\HDM\src\Application\Core\Data\IndexManager.cs:l ine 219 On 30 January 2010 23:00, Tim Haughton <[email protected]> wrote: > When using Lucene, it's common to get a handful of IOExceptions appearing > in the Output window every time I access the index, they're handled, so > they're not really a problem. It's also quite common for us to have an > unhandled exception pop up too: > > "Access to the path 'C:\\Users\\timhaughton\\HDM AppData > Test\\MetaDataIndex\\segments_7h' is denied." > > This typically happens when we're performing a series of actions, e.g. > doing a delete then an add within a for loop. All access to the index occurs > under lock, I don't even allow concurrent read access - just to see if it > fixes it - it doesn't. > > Has anyone else seen this before? Does it indicate I'm doing anything > wrong? > > Regards, > > Tim Haughton > www.agilemicroisv.com > Skype: timhaughton > [image: Linkedin] <http://www.linkedin.com/in/timhaughton>[image: > Facebook] <http://www.facebook.com/timhaughton>[image: Twitter]<http://www.twitter.com/dokix> > Blog RSS Two's Company<http://feedproxy.google.com/%7Er/TheAgileMicroISVBlog/%7E3/jwNwE 6dQnAc/> > > From [email protected] Tue Feb 02 05:45:15 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80588 invoked from network); 2 Feb 2010 05:45:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Feb 2010 05:45:15 -0000 Received: (qmail 62489 invoked by uid 500); 2 Feb 2010 05:45:15 -0000 Delivered-To: [email protected] Received: (qmail 62352 invoked by uid 500); 2 Feb 2010 05:45:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 62342 invoked by uid 99); 2 Feb 2010 05:45:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 05:45: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 (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO qw-out-2122.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 05:45:04 +0000 Received: by qw-out-2122.google.com with SMTP id 3so564923qwe.53 for <[email protected]>; Mon, 01 Feb 2010 21:44:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=vLflPbGV3xxtL7ZhD6geXfpzoYxpCtsr+y0p1nDFD4I=; b=OUAe/msIyTEVIi9Ty0u0fJwyOCYtebFD/SvShreisYTGvEe15OjKazS/A8mHE7KQBC bv4nVDhaVXRGgqrr5/DPXJeuay3WalJAVTnvYzI59FrEvhFm0HRIIw/UEJzLaWUOw7Br 8qWa9WCdagVeBCB9QDV6ExLXh8dBAXWOP/5GY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=kMu1F1QjRLHpv2+MucN3wuq1quPJRlMtS3icA2kl9pBvDEerM2svZ1jjFbvFe4LzZ7 x6Q05DTYZMMsMx998h6cQ22IsOZU883B41nhUjKB96+V1htBx0eqi09aGAHZioOa4IGH 4NkeyD5CMW8HgGupWLuWkH4QkOzwwMYmelDxY= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id j9mr2546509qar.360.1265089483968; Mon, 01 Feb 2010 21:44:43 -0800 (PST) Date: Tue, 2 Feb 2010 16:44:43 +1100 Message-ID: <[email protected]> Subject: SynonymFilter From: Artem Chereisky <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=001485016fbb4d1497047e9799f5 X-Virus-Checked: Checked by ClamAV on apache.org --001485016fbb4d1497047e9799f5 Content-Type: text/plain; charset=ISO-8859-1 Hi, SynonymFilter I've got is implemented with TokenStream.Next method which is obsolete in 2.9. Has anyone ported SynonymFilter to 2.9 using IncrementToken() and AttributeSource APIs instead? More info is in Michael Garski's patch here: https://issues.apache.org/jira/browse/LUCENENET-337 Regards, Art --001485016fbb4d1497047e9799f5-- From [email protected] Tue Feb 02 16:12:07 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8226 invoked from network); 2 Feb 2010 16:12:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Feb 2010 16:12:07 -0000 Received: (qmail 81264 invoked by uid 500); 2 Feb 2010 16:12:07 -0000 Delivered-To: [email protected] Received: (qmail 81210 invoked by uid 500); 2 Feb 2010 16:12:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 72945 invoked by uid 99); 2 Feb 2010 15:17:21 -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 [email protected] designates 161.129.204.104 as permitted sender) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01CAA41A.BB136825" Subject: Attempt fix of memory leak at FieldCacheImpl of Lucene.Net 2.1.0 Date: Tue, 2 Feb 2010 23:16:44 +0800 Message-ID: <[email protected]> X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: Attempt fix of memory leak at FieldCacheImpl of Lucene.Net 2.1.0 Thread-Index: AcqkGrsTT5zEa7zlSYaLCCsftRh3/Q== From: "Billy Ho" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01CAA41A.BB136825 Content-Type: multipart/alternative; boundary="----_=_NextPart_002_01CAA41A.BB136825" ------_=_NextPart_002_01CAA41A.BB136825 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, =20 We have observed the lucene.net 2.1.0 library keep leaking memory in our application. One of the places we have found is located in FieldCacheImp.cs =20 The size of the readerCache IDictionary instance in the Cache class keep glowing. The keys and the values of the dictionary are the IndexReader instances and the string[] of a specific column of all documents in the index respectively. =20 The attempt fix is to remove an entry from the readerCache dictionary at the Close method of the IndexSearcher. Would like to know if the change attempt fix make sense. Thanks a lot. =20 Best Regards, Billy =20 ------_=_NextPart_002_01CAA41A.BB136825 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:x=3D"urn:schemas-microsoft-com:office:excel" = xmlns:p=3D"urn:schemas-microsoft-com:office:powerpoint" = xmlns:a=3D"urn:schemas-microsoft-com:office:access" = xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" = xmlns:s=3D"uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" = xmlns:rs=3D"urn:schemas-microsoft-com:rowset" xmlns:z=3D"#RowsetSchema" = xmlns:b=3D"urn:schemas-microsoft-com:office:publisher" = xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadsheet" = xmlns:c=3D"urn:schemas-microsoft-com:office:component:spreadsheet" = xmlns:odc=3D"urn:schemas-microsoft-com:office:odc" = xmlns:oa=3D"urn:schemas-microsoft-com:office:activation" = xmlns:html=3D"http://www.w3.org/TR/REC-html40" = xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" = xmlns:rtc=3D"http://microsoft.com/officenet/conferencing" = xmlns:D=3D"DAV:" xmlns:Repl=3D"http://schemas.microsoft.com/repl/" = xmlns:mt=3D"http://schemas.microsoft.com/sharepoint/soap/meetings/" = xmlns:x2=3D"http://schemas.microsoft.com/office/excel/2003/xml" = xmlns:ppda=3D"http://www.passport.com/NameSpace.xsd" = xmlns:ois=3D"http://schemas.microsoft.com/sharepoint/soap/ois/" = xmlns:dir=3D"http://schemas.microsoft.com/sharepoint/soap/directory/" = xmlns:ds=3D"http://www.w3.org/2000/09/xmldsig#" = xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint/dsp" = xmlns:udc=3D"http://schemas.microsoft.com/data/udc" = xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" = xmlns:sub=3D"http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/"= xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#" = xmlns:sp=3D"http://schemas.microsoft.com/sharepoint/" = xmlns:sps=3D"http://schemas.microsoft.com/sharepoint/soap/" = xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" = xmlns:udcs=3D"http://schemas.microsoft.com/data/udc/soap" = xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile" = xmlns:udcp2p=3D"http://schemas.microsoft.com/data/udc/parttopart" = xmlns:wf=3D"http://schemas.microsoft.com/sharepoint/soap/workflow/" = xmlns:dsss=3D"http://schemas.microsoft.com/office/2006/digsig-setup" = xmlns:dssi=3D"http://schemas.microsoft.com/office/2006/digsig" = xmlns:mdssi=3D"http://schemas.openxmlformats.org/package/2006/digital-sig= nature" = xmlns:mver=3D"http://schemas.openxmlformats.org/markup-compatibility/2006= " xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns:mrels=3D"http://schemas.openxmlformats.org/package/2006/relationshi= ps" xmlns:spwp=3D"http://microsoft.com/sharepoint/webpartpages" = xmlns:ex12t=3D"http://schemas.microsoft.com/exchange/services/2006/types"= = xmlns:ex12m=3D"http://schemas.microsoft.com/exchange/services/2006/messag= es" = xmlns:pptsl=3D"http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/= " = xmlns:spsl=3D"http://microsoft.com/webservices/SharePointPortalServer/Pub= lishedLinksService" xmlns:Z=3D"urn:schemas-microsoft-com:" = xmlns:st=3D"&#1;" xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:PMingLiU; panose-1:2 2 5 0 0 0 0 0 0 0;} @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:PMingLiU; panose-1:2 2 5 0 0 0 0 0 0 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} .MsoChpDefault {mso-style-type:export-only;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal>Hi,<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>We have observed the lucene.net 2.1.0 library keep = leaking memory in our application.<o:p></o:p></p> <p class=3DMsoNormal>One of the places we have found is located in = FieldCacheImp.cs<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>The size of the readerCache IDictionary instance in = the Cache class keep glowing.<o:p></o:p></p> <p class=3DMsoNormal>The keys and the values of the dictionary are the IndexReader instances and the string[] of a specific column of all = documents in the index respectively.<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>The attempt fix is to remove an entry from the = readerCache dictionary at the Close method of the IndexSearcher.<o:p></o:p></p> <p class=3DMsoNormal>Would like to know if the change attempt fix make = sense. Thanks a lot.<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>Best Regards,<o:p></o:p></p> <p class=3DMsoNormal>Billy<o:p></o:p></p> <p = class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp; <o:p></o:p></p> </div> </body> </html> ------_=_NextPart_002_01CAA41A.BB136825-- ------_=_NextPart_001_01CAA41A.BB136825-- From [email protected] Tue Feb 02 16:14:56 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9419 invoked from network); 2 Feb 2010 16:14:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Feb 2010 16:14:56 -0000 Received: (qmail 86693 invoked by uid 500); 2 Feb 2010 16:14:56 -0000 Delivered-To: [email protected] Received: (qmail 86628 invoked by uid 500); 2 Feb 2010 16:14:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 86618 invoked by uid 99); 2 Feb 2010 16:14:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 16:14:56 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f224.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 16:14:44 +0000 Received: by fxm24 with SMTP id 24so215071fxm.11 for <[email protected]>; Tue, 02 Feb 2010 08:14:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:references :in-reply-to:subject:date:message-id:mime-version:content-type :x-mailer:thread-index:content-language; bh=IAvX7y7X0RswzK6ZzeZ/GcAjAmFhUe1J1MCLLWzYACo=; b=wY9gqys+WSEKM+OeFs98QVGWaZIsbBMpJ1Nq+2BcFTYnyXtOMXJJrmTKn4Azvw69gF dlbm1x727eOmJW6RBjDoDbL1KlzbK8TNIPdp8j/35KbbCPk2llGzc+yp7QiVDH8wDzGS t/NLfueL9tz//Ta4Os4XzpZ/gKZJW8i7pYkes= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:x-mailer:thread-index:content-language; b=hx7v5CmHCB+dUCM1dwD7jt/8f9cBoZOq1JkxUE7EX7oxTnRPEPBsYit4PmpDYkdouz PfJZ/BRgtWfQcJ1E55AN4KsMke5vkeG+yZiHM3IAgKDbbQ5aibma2+hDzdsSxQ+IzHLw 2lgJOkyGC8EUNdT8S/wTE8kgn5JG/6NOAMzIM= Received: by 161.129.204.104 with SMTP id a16mr6429888fav.62.1265127263782; Tue, 02 Feb 2010 08:14:23 -0800 (PST) Received: from NEWPC ([161.129.204.104]) by mx.google.com with ESMTPS id 16sm2589351fxm.0.2161.129.204.104.14.22 (version=SSLv3 cipher=RC4-MD5); Tue, 02 Feb 2010 08:14:22 -0800 (PST) From: "Digy" <[email protected]> To: <[email protected]> References: <[email protected]> In-Reply-To: <[email protected]> Subject: RE: Attempt fix of memory leak at FieldCacheImpl of Lucene.Net 2.1.0 Date: Tue, 2 Feb 2010 18:14:17 +0200 Message-ID: <001601caa422$c5b69100$5123b300$@com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0017_01CAA433.893F6100" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcqkGrsTT5zEa7zlSYaLCCsftRh3/QAB/7ig Content-Language: tr X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_0017_01CAA433.893F6100 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Have you read http://issues.apache.org/jira/browse/LUCENENET-106 ? DIGY From: Billy Ho [mailto:[email protected]] Sent: Tuesday, February 02, 2010 5:17 PM To: [email protected] Subject: Attempt fix of memory leak at FieldCacheImpl of Lucene.Net 2.1.0 Hi, We have observed the lucene.net 2.1.0 library keep leaking memory in our application. One of the places we have found is located in FieldCacheImp.cs The size of the readerCache IDictionary instance in the Cache class keep glowing. The keys and the values of the dictionary are the IndexReader instances and the string[] of a specific column of all documents in the index respectively. The attempt fix is to remove an entry from the readerCache dictionary at the Close method of the IndexSearcher. Would like to know if the change attempt fix make sense. Thanks a lot. Best Regards, Billy ------=_NextPart_000_0017_01CAA433.893F6100-- From [email protected] Tue Feb 02 16:56:26 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22452 invoked from network); 2 Feb 2010 16:56:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Feb 2010 16:56:26 -0000 Received: (qmail 54741 invoked by uid 500); 2 Feb 2010 16:56:26 -0000 Delivered-To: [email protected] Received: (qmail 54700 invoked by uid 500); 2 Feb 2010 16:56:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 54690 invoked by uid 99); 2 Feb 2010 16:56:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 16:56:26 +0000 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=MIME_BASE64_BLANKS,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO TX2EHSOBE003.bigfish.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 16:56:15 +0000 Received: from mail7-tx2-R.bigfish.com (161.129.204.104) by TX2EHSOBE003.bigfish.com (161.129.204.104) with Microsoft SMTP Server id 161.129.204.104; Tue, 2 Feb 2010 16:55:54 +0000 Received: from mail7-tx2 (localhost [161.129.204.104]) by mail7-tx2-R.bigfish.com (Postfix) with ESMTP id A225B9A878D for <[email protected]>; Tue, 2 Feb 2010 16:55:53 +0000 (UTC) X-SpamScore: -14 X-BigFish: VPS-14(zz542N936eM9371Pzz1202hzz5a6ciz31j6bh43j61h) X-Spam-TCS-SCL: 0:0 Received: from mail7-tx2 (localhost.localdomain [161.129.204.104]) by mail7-tx2 (MessageSwitch) id 1265129752752001_28945; Tue, 2 Feb 2010 16:55:52 +0000 (UTC) Received: from TX2EHSMHS005.bigfish.com (unknown [161.129.204.104]) by mail7-tx2.bigfish.com (Postfix) with ESMTP id AC34BA2004C for <[email protected]>; Tue, 2 Feb 2010 16:55:52 +0000 (UTC) Received: from FEGCNMSMMDZ03 (161.129.204.104) by TX2EHSMHS005.bigfish.com (161.129.204.104) with Microsoft SMTP Server (TLS) id 14.0.482.39; Tue, 2 Feb 2010 16:55:49 +0000 Received: from ffeplmsexbh04.ffe.foxeg.com (Not Verified[161.129.204.104]) by FOX.COM (post.office MTA v5.0 0924 ) with ESMTP id <B4b6859160000>; Tue, 02 Feb 2010 08:55:50 -0800 Received: from fegplmsexmb14.ffe.foxeg.com ([161.129.204.104]) by ffeplmsexbh04.ffe.foxeg.com with Microsoft SMTPSVC+1-778-747-0316); Tue, 2 Feb 2010 08:55:48 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Subject: RE: Attempt fix of memory leak at FieldCacheImpl of Lucene.Net 2.1.0 Date: Tue, 2 Feb 2010 08:54:49 -0800 Message-ID: <[email protected]> In-Reply-To: <001601caa422$c5b69100$5123b300$@com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Attempt fix of memory leak at FieldCacheImpl of Lucene.Net 2.1.0 thread-index: AcqkGrsTT5zEa7zlSYaLCCsftRh3/QAB/7igAAFGZ9A= References: <[email protected]> <001601caa422$c5b69100$5123b300$@com> From: Michael Garski <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 02 Feb 2010 16:55:48.0081 (UTC) FILETIME=[91891E10:01CAA428] X-Reverse-DNS: unknown X-Virus-Checked: Checked by ClamAV on apache.org RElHWSdzIHBhdGNoIHRvIHByb3ZpZGUgYSBmdW5jdGlvbmFsIGVxdWl2YWxlbnQgb2YgSmF2YSdz IFdlYWtIYXNoVGFibGUgaXMgY3VycmVudGx5IGluIHRoZSB0cnVuaywgYW5kIGlzIGluIGFsbCB2 ZXJzaW9ucyBhZnRlciB0aGUgMi4zLjEgdGFnIGluIFNWTi4NCg0KSSBzdWdnZXN0IHVwZ3JhZGlu ZyB0byBhIHZlcnNpb24gZ3JlYXRlciB0aGFuIDIuMy4xIGFuZCB2ZXJpZnlpbmcgeW91ciBtZW1v cnkgdXNhZ2UuICBJdCBkb2Vzbid0IHJlbW92ZSBpdGVtcyBmcm9tIHRoZSBjYWNoZSB3aGVuIHRo ZSBzZWFyY2hlciBpcyBjbG9zZWQsIGhvd2V2ZXIgd2hlbiBhIG5ldyBpdGVtIGlzIGFkZGVkIHRv IHRoZSBjYWNoZSB0aGUgV2Vha1JlZmVyZW5jZXMgYXJlIHRlc3RlZCB0byBzZWUgaWYgYW4gaXRl bSBpcyBubyBsb25nZXIgaW4gdXNlIGFuZCBjYW4gYmUgcmVtb3ZlZCBmcm9tIGNhY2hlLg0KDQpN aWNoYWVsDQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBEaWd5IFttYWlsdG86 ZGlneWRpZ3lAZ21haWwuY29tXSANClNlbnQ6IFR1ZXNkYXksIEZlYnJ1YXJ5IDAyLCAyMDEwIDg6 MTQgQU0NClRvOiBsdWNlbmUtbmV0LXVzZXJAbHVjZW5lLmFwYWNoZS5vcmcNClN1YmplY3Q6IFJF OiBBdHRlbXB0IGZpeCBvZiBtZW1vcnkgbGVhayBhdCBGaWVsZENhY2hlSW1wbCBvZiBMdWNlbmUu TmV0IDIuMS4wDQoNCkhhdmUgeW91IHJlYWQgaHR0cDovL2lzc3Vlcy5hcGFjaGUub3JnL2ppcmEv YnJvd3NlL0xVQ0VORU5FVC0xMDYgPw0KDQogDQoNCkRJR1kNCg0KIA0KDQpGcm9tOiBCaWxseSBI byBbbWFpbHRvOkJpbGx5SG9Aam9ic2RiLmNvbV0gDQpTZW50OiBUdWVzZGF5LCBGZWJydWFyeSAw MiwgMjAxMCA1OjE3IFBNDQpUbzogbHVjZW5lLW5ldC11c2VyQGx1Y2VuZS5hcGFjaGUub3JnDQpT dWJqZWN0OiBBdHRlbXB0IGZpeCBvZiBtZW1vcnkgbGVhayBhdCBGaWVsZENhY2hlSW1wbCBvZiBM dWNlbmUuTmV0IDIuMS4wDQoNCiANCg0KSGksDQoNCiANCg0KV2UgaGF2ZSBvYnNlcnZlZCB0aGUg bHVjZW5lLm5ldCAyLjEuMCBsaWJyYXJ5IGtlZXAgbGVha2luZyBtZW1vcnkgaW4gb3VyDQphcHBs aWNhdGlvbi4NCg0KT25lIG9mIHRoZSBwbGFjZXMgd2UgaGF2ZSBmb3VuZCBpcyBsb2NhdGVkIGlu IEZpZWxkQ2FjaGVJbXAuY3MNCg0KIA0KDQpUaGUgc2l6ZSBvZiB0aGUgcmVhZGVyQ2FjaGUgSURp Y3Rpb25hcnkgaW5zdGFuY2UgaW4gdGhlIENhY2hlIGNsYXNzIGtlZXANCmdsb3dpbmcuDQoNClRo ZSBrZXlzIGFuZCB0aGUgdmFsdWVzIG9mIHRoZSBkaWN0aW9uYXJ5IGFyZSB0aGUgSW5kZXhSZWFk ZXIgaW5zdGFuY2VzIGFuZA0KdGhlIHN0cmluZ1tdIG9mIGEgc3BlY2lmaWMgY29sdW1uIG9mIGFs bCBkb2N1bWVudHMgaW4gdGhlIGluZGV4DQpyZXNwZWN0aXZlbHkuDQoNCiANCg0KVGhlIGF0dGVt cHQgZml4IGlzIHRvIHJlbW92ZSBhbiBlbnRyeSBmcm9tIHRoZSByZWFkZXJDYWNoZSBkaWN0aW9u YXJ5IGF0IHRoZQ0KQ2xvc2UgbWV0aG9kIG9mIHRoZSBJbmRleFNlYXJjaGVyLg0KDQpXb3VsZCBs aWtlIHRvIGtub3cgaWYgdGhlIGNoYW5nZSBhdHRlbXB0IGZpeCBtYWtlIHNlbnNlLiBUaGFua3Mg YSBsb3QuDQoNCiANCg0KQmVzdCBSZWdhcmRzLA0KDQpCaWxseQ0KDQogICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICANCg0K From [email protected] Tue Feb 02 22:35:46 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14646 invoked from network); 2 Feb 2010 22:35:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Feb 2010 22:35:46 -0000 Received: (qmail 41114 invoked by uid 500); 2 Feb 2010 22:35:45 -0000 Delivered-To: [email protected] Received: (qmail 41056 invoked by uid 500); 2 Feb 2010 22:35:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 41046 invoked by uid 99); 2 Feb 2010 22:35:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 22:35:45 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f218.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 22:35:36 +0000 Received: by ewy10 with SMTP id 10so318675ewy.11 for <[email protected]>; Tue, 02 Feb 2010 14:35:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:references :in-reply-to:subject:date:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:thread-index:content-language; bh=g9QvL0zx/W7AQrmnZVPS3j5jW+XfdXQR22NpYEdR/U4=; b=ECOxU4poaRxYIxKnpoSYPuUjV/wLHc8bU4mNql8w2/mog+V9OyjjasvADe43a5WSN2 iUNd0w7sy8nCLcsow4vJ6rzHq+pEHWeaXexenZjOA3xcAPCvUykFsI7Ao9sX80y1HT1g PcmNArniGSg/szFf1pBeYWzVhIT6IqtneoQhQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:content-transfer-encoding:x-mailer:thread-index :content-language; b=wkqjRu9HMPQBQyQghmshpy+oQIU/adeFnQC4p8BJN0Q58SNBAol19PCrWUCilQ4krc w79j64/ql5YUR2vfCjg9NP34UAe56h97uM0sP7iUwNbkWKQZ7wr/kle2iM3/Xw8jYjCB fs9nwbpmiKAaQli0w9yFrUF93lDpCGeeGERB8= Received: by 161.129.204.104 with SMTP id j28mr1249799ebn.82.1265150114911; Tue, 02 Feb 2010 14:35:14 -0800 (PST) Received: from NEWPC ([161.129.204.104]) by mx.google.com with ESMTPS id 13sm63095ewy.1.2161.129.204.104.35.13 (version=SSLv3 cipher=RC4-MD5); Tue, 02 Feb 2010 14:35:14 -0800 (PST) From: "Digy" <[email protected]> To: <[email protected]> References: <[email protected]> <001601caa422$c5b69100$5123b300$@com> <[email protected]> In-Reply-To: <[email protected]> Subject: RE: Attempt fix of memory leak at FieldCacheImpl of Lucene.Net 2.1.0 Date: Wed, 3 Feb 2010 00:35:05 +0200 Message-ID: <003301caa457$f9991670$eccb4350$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcqkGrsTT5zEa7zlSYaLCCsftRh3/QAB/7igAAFGZ9AAC1h+MA== Content-Language: tr > DIGY's patch to provide a functional equivalent of Java's = WeakHashTable is currently in the trunk, and is in all versions after = the 2.3.1 tag in SVN. It was a good collaborative work of many people. But the Oscar goes to = Eyal Post for the final version of WeakHashTable. DIGY -----Original Message----- From: Michael Garski [mailto:[email protected]]=20 Sent: Tuesday, February 02, 2010 6:55 PM To: [email protected] Subject: RE: Attempt fix of memory leak at FieldCacheImpl of Lucene.Net = 2.1.0 DIGY's patch to provide a functional equivalent of Java's WeakHashTable = is currently in the trunk, and is in all versions after the 2.3.1 tag in = SVN. I suggest upgrading to a version greater than 2.3.1 and verifying your = memory usage. It doesn't remove items from the cache when the searcher = is closed, however when a new item is added to the cache the = WeakReferences are tested to see if an item is no longer in use and can = be removed from cache. Michael -----Original Message----- From: Digy [mailto:[email protected]]=20 Sent: Tuesday, February 02, 2010 8:14 AM To: [email protected] Subject: RE: Attempt fix of memory leak at FieldCacheImpl of Lucene.Net = 2.1.0 Have you read http://issues.apache.org/jira/browse/LUCENENET-106 ? =20 DIGY =20 From: Billy Ho [mailto:[email protected]]=20 Sent: Tuesday, February 02, 2010 5:17 PM To: [email protected] Subject: Attempt fix of memory leak at FieldCacheImpl of Lucene.Net = 2.1.0 =20 Hi, =20 We have observed the lucene.net 2.1.0 library keep leaking memory in our application. One of the places we have found is located in FieldCacheImp.cs =20 The size of the readerCache IDictionary instance in the Cache class keep glowing. The keys and the values of the dictionary are the IndexReader instances = and the string[] of a specific column of all documents in the index respectively. =20 The attempt fix is to remove an entry from the readerCache dictionary at = the Close method of the IndexSearcher. Would like to know if the change attempt fix make sense. Thanks a lot. =20 Best Regards, Billy =20 From [email protected] Tue Feb 09 14:32:56 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23438 invoked from network); 9 Feb 2010 14:32:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Feb 2010 14:32:56 -0000 Received: (qmail 71107 invoked by uid 500); 9 Feb 2010 14:32:56 -0000 Delivered-To: [email protected] Received: (qmail 70967 invoked by uid 500); 9 Feb 2010 14:32:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 70957 invoked by uid 99); 9 Feb 2010 14:32:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 14:32:54 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO datassimilate.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 09 Feb 2010 14:32:46 +0000 Received: (qmail 28071 invoked from network); 9 Feb 2010 14:59:56 -0000 Received: from pc-00003.datassimilate.com (HELO [161.129.204.104]) (161.129.204.104) by yoda.datassimilate.com (161.129.204.104) with ESMTP; 09 Feb 2010 14:59:56 -0000 Message-ID: <[email protected]> Date: Tue, 09 Feb 2010 09:24:25 -0500 From: Trevor Watson <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:161.129.204.104) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: [email protected] Subject: Combined MySQL and Lucene Query Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 100209-0, 02/09/2010), Outbound message X-Antivirus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org Our project requires near-real time searches and constant updating. The data is currently stored in a MySQL database and the Lucene index is updated as the database is modified We have the search capability currently where we want it. However, we are attempting to add the ability to "tag" documents in the index/database. Since the data pots can be millions of records, we don't want to update the lucene index for tagging, but instead have a table of document IDs that we would like to be using to determine the tag sets. The best option I've so far found is to retrieve both list of IDs as an integer array, sort them (so I only need one loop through), then loop through and look for matches between the two. Attempting to use the list of Lucene IDs in an "In" query fails because the number of documents can be in the millions and MySQL chokes on it. Any insight into how we could optimize this or do it? Thanks in advance Trevor Watson From [email protected] Tue Feb 09 23:59:35 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75317 invoked from network); 9 Feb 2010 23:59:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Feb 2010 23:59:35 -0000 Received: (qmail 97373 invoked by uid 500); 9 Feb 2010 23:59:34 -0000 Delivered-To: [email protected] Received: (qmail 97301 invoked by uid 500); 9 Feb 2010 23:59:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 97291 invoked by uid 99); 9 Feb 2010 23:59:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 23:59:33 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO fg-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 23:59:25 +0000 Received: by fg-out-1718.google.com with SMTP id e21so47196fga.5 for <[email protected]>; Tue, 09 Feb 2010 15:59:05 -0800 (PST) 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=LWErTG3YHtGmUAuiDMWahBoRWw0uGcN35IOrsGwAi8M=; b=JJX4VLCL6Xvp4CZ41RdHoAIuUo5PHF8lZPOM79yEuSaSVMbhU2q7SzIovJXJvnq092 orMf7RRRYYYVI2vN9/sGt6SCf/8A4BwNhmDF5wdapcoW0NnqTC6xpdg1q9lL1x7n7Mh5 4GLg0XyM8xSafJCDfnPVe3D+iOLZYGppqdBno= 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=gS0/8DaHqv7E6JzLtpNc4h3HtTn6e3PtYGWB4rHjaUfcyZI3+Wo6nzQjJaVBG3v6t6 AyYLWSaPI9xCvleNdykn+FSZ6jDfLXPo9gxN68jZwT/TAkm+qkZr/RcZ0RV7KSL18VF1 vzwFKfV80XCTK0cvHWfk18+v6Nr+tsTTf8yBg= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id h5mr1649005fgk.4.1265759945207; Tue, 09 Feb 2010 15:59:05 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> Date: Tue, 9 Feb 2010 18:59:05 -0500 Message-ID: <[email protected]> Subject: Re: Combined MySQL and Lucene Query From: "Andrew C. Smith" <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=001485f86dbce7b256047f33b300 X-Virus-Checked: Checked by ClamAV on apache.org --001485f86dbce7b256047f33b300 Content-Type: text/plain; charset=ISO-8859-1 I think the way I would tackle this, since you don't want to update your main index. Is to still leave MySql out of it and to do the following: 1) Create a separate Lucene index that only contains the tags information and an ID 2) Take advantage of the MultiSearcher or ParallelMultiSearcher This should still allow you to get some pretty good performance without having to do expensive database queries. Thanks, Andrew Smith On Tue, Feb 9, 2010 at 9:24 AM, Trevor Watson <[email protected]>wrote: > Our project requires near-real time searches and constant updating. The > data is currently stored in a MySQL database and the Lucene index is updated > as the database is modified > > We have the search capability currently where we want it. However, we are > attempting to add the ability to "tag" documents in the index/database. > Since the data pots can be millions of records, we don't want to update the > lucene index for tagging, but instead have a table of document IDs that we > would like to be using to determine the tag sets. > > The best option I've so far found is to retrieve both list of IDs as an > integer array, sort them (so I only need one loop through), then loop > through and look for matches between the two. Attempting to use the list of > Lucene IDs in an "In" query fails because the number of documents can be in > the millions and MySQL chokes on it. > > Any insight into how we could optimize this or do it? > > Thanks in advance > > Trevor Watson > --001485f86dbce7b256047f33b300-- From [email protected] Wed Feb 10 19:46:57 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64153 invoked from network); 10 Feb 2010 19:46:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Feb 2010 19:46:57 -0000 Received: (qmail 91293 invoked by uid 500); 10 Feb 2010 19:46:57 -0000 Delivered-To: [email protected] Received: (qmail 91220 invoked by uid 500); 10 Feb 2010 19:46:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 91210 invoked by uid 99); 10 Feb 2010 19:46:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 19:46:56 +0000 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f214.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 19:46:46 +0000 Received: by bwz6 with SMTP id 6so416139bwz.11 for <[email protected]>; Wed, 10 Feb 2010 11:46:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=w/Uo+D2BWDFBxsa/EWJxPQPDs9yY3FeJhqVGAFRw3Ik=; b=L+q7UrDbsLFCupMCTrSrYu/ZkNVamlcF/YvfS82F41NvnR2aIS2WFXwLbNZcFod3vT LdrUvh/FrcVZ+WFzqH1BTobTgZodIaMgfzENFocdTC9Ku/sz7kFfAcLQZvWXJtaHdWQn mGLZGhd002hstlHOLFnX2cSn+KQucBvvXKMXc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=iG4y646CYnGW0csWVwHCL+jApdcky01GMldpB1ctLxVNaIazc2Be0Th6Xh4nFMAJ0f sKt87nLbqhdc909vQihQx/4Cm5jdCwscx+HUACkfNl8srQeevmRk9fZTVWtkdAsScha6 4cOpQ12g+WE4v8jkAHZwNsJVfV+PhB5GgGMrY= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id 10mr482513bkl.35.1265831184539; Wed, 10 Feb 2010 11:46:24 -0800 (PST) Date: Wed, 10 Feb 2010 20:46:24 +0100 Message-ID: <[email protected]> Subject: Lucene.net in Medium Trust From: Simone Chiaretta <[email protected]> To: lucene-net-user <[email protected]> Content-Type: multipart/alternative; boundary=0015174c427a19a052047f444a24 --0015174c427a19a052047f444a24 Content-Type: text/plain; charset=ISO-8859-1 Hi all, we are starting to do the final testing with the new release of Subtext which has a Lucene.net based search engine. But we are finding a strange error, related to a SecurityPermission when running in medium trust there is the stack trace of the error: [SecurityException: Request for the permission of type 'System.Security.Permissions. SecurityPermission, mscorlib, Version=161.129.204.104, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.] FileSupport.Sync(FileStream fileStream) +0 Lucene.Net.Store.FSDirectory.Sync(String name) +151 Lucene.Net.Index.SegmentInfos.FinishCommit(Directory dir) +171 Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean create, Boolean closeDir, IndexDeletionPolicy deletionPolicy, Boolean autoCommit, Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit commit) +257 Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean closeDir, IndexDeletionPolicy deletionPolicy, Boolean autoCommit, Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit commit) +110 Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, MaxFieldLength mfl) +369 Subtext.Framework.Services.SearchEngine.SearchEngineService.EnsureIndexWriter() in SearchEngineService.cs:93 The line of code that causes the error is _writer = new IndexWriter(_directory, _analyzer,IndexWriter.MaxFieldLength.UNLIMITED); where _directory is FSDirectory.Open(new DirectoryInfo(HttpContext.Server.MapPath("~/App_Data")))) We are using one of the latest versions (retrieved from the trunk around the beginning of January) .. 2.9.1 I guess I read you should have fixed the problem in 2.3.2 ( http://issues.apache.org/jira/browse/LUCENENET-169) but this problem is happening again here. Any idea on what is happening here? Thx Simone -- Simone Chiaretta Microsoft MVP ASP.NET - ASPInsider Blog: http://codeclimber.net.nz RSS: http://feeds2.feedburner.com/codeclimber twitter: @simonech Any sufficiently advanced technology is indistinguishable from magic "Life is short, play hard" --0015174c427a19a052047f444a24-- From [email protected] Wed Feb 10 20:12:48 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76195 invoked from network); 10 Feb 2010 20:12:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Feb 2010 20:12:48 -0000 Received: (qmail 33781 invoked by uid 500); 10 Feb 2010 20:12:48 -0000 Delivered-To: [email protected] Received: (qmail 33715 invoked by uid 500); 10 Feb 2010 20:12:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 33704 invoked by uid 99); 10 Feb 2010 20:12:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 20:12:48 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f214.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 20:12:38 +0000 Received: by bwz6 with SMTP id 6so444765bwz.11 for <[email protected]>; Wed, 10 Feb 2010 12:12:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:references :in-reply-to:subject:date:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:thread-index:content-language; bh=0UJICaUZvBMVUscjOO3CraVPyrVdHx5bzIvOmIUiYy8=; b=BFgyKSXPE5MlR8c7R/ZsFCDQNzbTZshyrBauJV5/WllX4Tf5b68hTEamZ6yb4Sn6UH is22jmmi1ovTYpKy3F3AZsugY38xRkQT0/JPi9LXqyv+80AV+crFLjh6/2bGmRstSGv9 rKvWni65RULR00fS6L3Df9xoVI/ZmqDbypQbg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:content-transfer-encoding:x-mailer:thread-index :content-language; b=YcPKvd/mQQT/5FDuX00eoujjKapcjxtSBLkqCKTt2fbC4LobX1g9S7/2Rque+IIdpp jpl9GdV9KdEDq91Y0YTycsjypvOwbHIbIN+iea2KeufUbV33ZjMBpu+GRh2VO5DfVHVC AVcM/klAPIBgkyv2OsvmPMVv2F1gD0uunPLTA= Received: by 161.129.204.104 with SMTP id h7mr597773mug.33.1265832736427; Wed, 10 Feb 2010 12:12:16 -0800 (PST) Received: from NEWPC ([161.129.204.104]) by mx.google.com with ESMTPS id n7sm9352324mue.51.2161.129.204.104.12.14 (version=SSLv3 cipher=RC4-MD5); Wed, 10 Feb 2010 12:12:15 -0800 (PST) From: "Digy" <[email protected]> To: <[email protected]> References: <[email protected]> In-Reply-To: <[email protected]> Subject: RE: Lucene.net in Medium Trust Date: Wed, 10 Feb 2010 22:12:03 +0200 Message-ID: <005101caaa8d$51368a80$f3a39f80$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acqqic4wBUSOx0Y9T9ay9Q6lM8idawAAuM+g Content-Language: tr Hi Simone, Can you try to open/create a file in that directory within your app(without using Lucene.NET) to narrow down the source of the problem. DIGY -----Original Message----- From: Simone Chiaretta [mailto:[email protected]] Sent: Wednesday, February 10, 2010 9:46 PM To: lucene-net-user Subject: Lucene.net in Medium Trust Hi all, we are starting to do the final testing with the new release of Subtext which has a Lucene.net based search engine. But we are finding a strange error, related to a SecurityPermission when running in medium trust there is the stack trace of the error: [SecurityException: Request for the permission of type 'System.Security.Permissions. SecurityPermission, mscorlib, Version=161.129.204.104, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.] FileSupport.Sync(FileStream fileStream) +0 Lucene.Net.Store.FSDirectory.Sync(String name) +151 Lucene.Net.Index.SegmentInfos.FinishCommit(Directory dir) +171 Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean create, Boolean closeDir, IndexDeletionPolicy deletionPolicy, Boolean autoCommit, Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit commit) +257 Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean closeDir, IndexDeletionPolicy deletionPolicy, Boolean autoCommit, Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit commit) +110 Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, MaxFieldLength mfl) +369 Subtext.Framework.Services.SearchEngine.SearchEngineService.EnsureIndexWrite r() in SearchEngineService.cs:93 The line of code that causes the error is _writer = new IndexWriter(_directory, _analyzer,IndexWriter.MaxFieldLength.UNLIMITED); where _directory is FSDirectory.Open(new DirectoryInfo(HttpContext.Server.MapPath("~/App_Data")))) We are using one of the latest versions (retrieved from the trunk around the beginning of January) .. 2.9.1 I guess I read you should have fixed the problem in 2.3.2 ( http://issues.apache.org/jira/browse/LUCENENET-169) but this problem is happening again here. Any idea on what is happening here? Thx Simone -- Simone Chiaretta Microsoft MVP ASP.NET - ASPInsider Blog: http://codeclimber.net.nz RSS: http://feeds2.feedburner.com/codeclimber twitter: @simonech Any sufficiently advanced technology is indistinguishable from magic "Life is short, play hard" From [email protected] Wed Feb 10 23:57:43 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78153 invoked from network); 10 Feb 2010 23:57:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Feb 2010 23:57:43 -0000 Received: (qmail 57247 invoked by uid 500); 10 Feb 2010 23:57:43 -0000 Delivered-To: [email protected] Received: (qmail 57172 invoked by uid 500); 10 Feb 2010 23:57:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 57162 invoked by uid 99); 10 Feb 2010 23:57:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 23:57:43 +0000 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f214.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 23:57:31 +0000 Received: by bwz6 with SMTP id 6so611811bwz.11 for <[email protected]>; Wed, 10 Feb 2010 15:57:11 -0800 (PST) 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=5klD3RCrrBD8XoC4JuKZOJ1TALTXbjMYRypvP1tOSZs=; b=icGGw4PdvmEBqCqE2daUxA+wmHhH1UfJSwi3PFArNfXqVW3GqoV7p8/nGKL0pcnXcF 0QVRPmbOr3p5ctkovekoPz+DceJ6QC2D81BQk8K+tWhUSmeLg+wjG6BN3/hGVO1ANyts rkbSL4CjKWu8S6oS4jRz22JUtehwBd5T1Ir0w= 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=q4q4mUNzUlkFjjF107iFp/pk74/peicuc1HTOQwONiczepCplWNmeD+B5RuUfOZLa8 H8+t0nqTj51VW5XrzSa/Md/U801a47AR1MFaA4Uvs/n2K6UqNQyxrR7uKCRNmY0IxIUv 5MnzopksKZlxrrJwu3gpgZkbHsLRqRcdnSoIg= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id r5mr661379bkf.58.1265846231025; Wed, 10 Feb 2010 15:57:11 -0800 (PST) In-Reply-To: <005101caaa8d$51368a80$f3a39f80$@com> References: <[email protected]> <005101caaa8d$51368a80$f3a39f80$@com> Date: Thu, 11 Feb 2010 00:57:10 +0100 Message-ID: <[email protected]> Subject: Re: Lucene.net in Medium Trust From: Simone Chiaretta <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0003255576e6f0c74e047f47ca73 X-Virus-Checked: Checked by ClamAV on apache.org --0003255576e6f0c74e047f47ca73 Content-Type: text/plain; charset=ISO-8859-1 It's the App_Data folder of a web app... it *should* have write access to it. I'll check it out Simo On Wed, Feb 10, 2010 at 9:12 PM, Digy <[email protected]> wrote: > Hi Simone, > > Can you try to open/create a file in that directory within your app(without > using Lucene.NET) to narrow down the source of the problem. > > DIGY > > -----Original Message----- > From: Simone Chiaretta [mailto:[email protected]] > Sent: Wednesday, February 10, 2010 9:46 PM > To: lucene-net-user > Subject: Lucene.net in Medium Trust > > Hi all, > we are starting to do the final testing with the new release of Subtext > which has a Lucene.net based search engine. > But we are finding a strange error, related to a SecurityPermission when > running in medium trust > > there is the stack trace of the error: > > [SecurityException: Request for the permission of type > 'System.Security.Permissions. > SecurityPermission, mscorlib, > Version=161.129.204.104, Culture=neutral, PublicKeyToken=b77a5c561934e089' > failed.] > FileSupport.Sync(FileStream fileStream) +0 > Lucene.Net.Store.FSDirectory.Sync(String name) +151 > Lucene.Net.Index.SegmentInfos.FinishCommit(Directory dir) +171 > Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean > create, Boolean closeDir, IndexDeletionPolicy deletionPolicy, Boolean > autoCommit, Int32 maxFieldLength, IndexingChain indexingChain, > IndexCommit commit) +257 > Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean > closeDir, IndexDeletionPolicy deletionPolicy, Boolean autoCommit, > Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit commit) > +110 > Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, > MaxFieldLength mfl) +369 > > > Subtext.Framework.Services.SearchEngine.SearchEngineService.EnsureIndexWrite > r() > in SearchEngineService.cs:93 > > The line of code that causes the error is > > _writer = new IndexWriter(_directory, > _analyzer,IndexWriter.MaxFieldLength.UNLIMITED); > > where _directory is > FSDirectory.Open(new > DirectoryInfo(HttpContext.Server.MapPath("~/App_Data")))) > > We are using one of the latest versions (retrieved from the trunk around > the > beginning of January) .. 2.9.1 I guess > > I read you should have fixed the problem in 2.3.2 ( > http://issues.apache.org/jira/browse/LUCENENET-169) but this problem is > happening again here. > > Any idea on what is happening here? > > Thx > Simone > > -- > Simone Chiaretta > Microsoft MVP ASP.NET - ASPInsider > Blog: http://codeclimber.net.nz > RSS: http://feeds2.feedburner.com/codeclimber > twitter: @simonech > > Any sufficiently advanced technology is indistinguishable from magic > "Life is short, play hard" > > -- Simone Chiaretta Microsoft MVP ASP.NET - ASPInsider Blog: http://codeclimber.net.nz RSS: http://feeds2.feedburner.com/codeclimber twitter: @simonech Any sufficiently advanced technology is indistinguishable from magic "Life is short, play hard" --0003255576e6f0c74e047f47ca73-- From [email protected] Sat Feb 13 06:10:11 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26889 invoked from network); 13 Feb 2010 06:10:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Feb 2010 06:10:10 -0000 Received: (qmail 34708 invoked by uid 500); 13 Feb 2010 06:10:09 -0000 Delivered-To: [email protected] Received: (qmail 34041 invoked by uid 500); 13 Feb 2010 06:10:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34031 invoked by uid 99); 13 Feb 2010 06:10:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Feb 2010 06:10:06 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smg01.internetmailserver.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Feb 2010 06:09:54 +0000 Received: from sm04.dotnetplayground.com [161.129.204.104] by smg01.internetmailserver.net with SMTP; Fri, 12 Feb 2010 22:08:40 -0800 Received: from cpe-98-14-109-104.nyc.res.rr.com [161.129.204.104] by sm04.internetmailserver.net with SMTP; Fri, 12 Feb 2010 22:08:19 -0800 From: "Nicholas Paldino [.NET/C# MVP]" <[email protected]> To: <[email protected]> References: <[email protected]> <005101caaa8d$51368a80$f3a39f80$@com> <[email protected]> In-Reply-To: <[email protected]> Subject: RE: Lucene.net in Medium Trust Date: Sat, 13 Feb 2010 01:08:53 -0500 Message-ID: <00f301caac73$05065cc0$0f131640$@com> X-Mailer: Microsoft Office Outlook 12.0 MIME-Version: 1.0 Thread-Index: AcqqsH/iWFhAhtnzR9aHJLjEKTubBgBwnnAQ Content-Language: en-us Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_00EE_01CAAC49.1BA24590" X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_00EE_01CAAC49.1BA24590 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Simone, Was this ever resolved? Was it a permissions issue on the App_Data folder, or something else? - Nick -----Original Message----- From: Simone Chiaretta [mailto:[email protected]] Sent: Wednesday, February 10, 2010 6:57 PM To: [email protected] Subject: Re: Lucene.net in Medium Trust It's the App_Data folder of a web app... it *should* have write access to it. I'll check it out Simo On Wed, Feb 10, 2010 at 9:12 PM, Digy <[email protected]> wrote: > Hi Simone, > > Can you try to open/create a file in that directory within your app(without > using Lucene.NET) to narrow down the source of the problem. > > DIGY > > -----Original Message----- > From: Simone Chiaretta [mailto:[email protected]] > Sent: Wednesday, February 10, 2010 9:46 PM > To: lucene-net-user > Subject: Lucene.net in Medium Trust > > Hi all, > we are starting to do the final testing with the new release of Subtext > which has a Lucene.net based search engine. > But we are finding a strange error, related to a SecurityPermission when > running in medium trust > > there is the stack trace of the error: > > [SecurityException: Request for the permission of type > 'System.Security.Permissions. > SecurityPermission, mscorlib, > Version=161.129.204.104, Culture=neutral, PublicKeyToken=b77a5c561934e089' > failed.] > FileSupport.Sync(FileStream fileStream) +0 > Lucene.Net.Store.FSDirectory.Sync(String name) +151 > Lucene.Net.Index.SegmentInfos.FinishCommit(Directory dir) +171 > Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean > create, Boolean closeDir, IndexDeletionPolicy deletionPolicy, Boolean > autoCommit, Int32 maxFieldLength, IndexingChain indexingChain, > IndexCommit commit) +257 > Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean > closeDir, IndexDeletionPolicy deletionPolicy, Boolean autoCommit, > Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit commit) > +110 > Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, > MaxFieldLength mfl) +369 > > > Subtext.Framework.Services.SearchEngine.SearchEngineService.EnsureIndexWrite > r() > in SearchEngineService.cs:93 > > The line of code that causes the error is > > _writer = new IndexWriter(_directory, > _analyzer,IndexWriter.MaxFieldLength.UNLIMITED); > > where _directory is > FSDirectory.Open(new > DirectoryInfo(HttpContext.Server.MapPath("~/App_Data")))) > > We are using one of the latest versions (retrieved from the trunk around > the > beginning of January) .. 2.9.1 I guess > > I read you should have fixed the problem in 2.3.2 ( > http://issues.apache.org/jira/browse/LUCENENET-169) but this problem is > happening again here. > > Any idea on what is happening here? > > Thx > Simone > > -- > Simone Chiaretta > Microsoft MVP ASP.NET - ASPInsider > Blog: http://codeclimber.net.nz > RSS: http://feeds2.feedburner.com/codeclimber > twitter: @simonech > > Any sufficiently advanced technology is indistinguishable from magic > "Life is short, play hard" > > -- Simone Chiaretta Microsoft MVP ASP.NET - ASPInsider Blog: http://codeclimber.net.nz RSS: http://feeds2.feedburner.com/codeclimber twitter: @simonech Any sufficiently advanced technology is indistinguishable from magic "Life is short, play hard" ------=_NextPart_000_00EE_01CAAC49.1BA24590 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIL/DCCAj0w ggGmAhEAzbp/VvDf5LxU/iKss3KqVTANBgkqhkiG9w0BAQIFADBfMQswCQYDVQQGEwJVUzEXMBUG A1UEChMOVmVyaVNpZ24sIEluYy4xNzA1BgNVBAsTLkNsYXNzIDEgUHVibGljIFByaW1hcnkgQ2Vy dGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNOTYwMTI5MDAwMDAwWhcNMjgwODAxMjM1OTU5WjBfMQsw CQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xNzA1BgNVBAsTLkNsYXNzIDEgUHVi bGljIFByaW1hcnkgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwgZ8wDQYJKoZIhvcNAQEBBQADgY0A MIGJAoGBAOUZv22jVmEtmUhx9mfeuY3rt56GgAqRDvo4Ja9GiILlc6igmyRdDR/MZW4MsNBWhBiH mgabEKFz37RYOWtuwfYV1aioP6oSBo0xrH+wNNePNGeICc0UEeJORVZpH3gCgNrcR5EpuzbJY1zF 4Ncth3uhtzKwezC6Ki8xqu6jZ9rbAgMBAAEwDQYJKoZIhvcNAQECBQADgYEATD+4i8Zo3+5DMw5d 6abLB4RNejP/khv0Nq3YlSI2aBFsfELM85wuxAc/FLAPT/+Qknb54rxK6Y/NoIAK98Up8YIiXbix 3YEjo3slFUYweRb46gVLlH8dwhzI47f0EEA8E8NfH1PoSOSGtHuhNbB7Jbq4046rPzidADQAmPPR cZQwggTMMIIENaADAgECAhAcrp1rmvTmLyKKo9p0YWweMA0GCSqGSIb3DQEBBQUAMF8xCzAJBgNV BAYTAlVTMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjE3MDUGA1UECxMuQ2xhc3MgMSBQdWJsaWMg UHJpbWFyeSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wNTEwMjgwMDAwMDBaFw0xNTEwMjcy MzU5NTlaMIHdMQswCQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsT FlZlcmlTaWduIFRydXN0IE5ldHdvcmsxOzA5BgNVBAsTMlRlcm1zIG9mIHVzZSBhdCBodHRwczov L3d3dy52ZXJpc2lnbi5jb20vcnBhIChjKTA1MR4wHAYDVQQLExVQZXJzb25hIE5vdCBWYWxpZGF0 ZWQxNzA1BgNVBAMTLlZlcmlTaWduIENsYXNzIDEgSW5kaXZpZHVhbCBTdWJzY3JpYmVyIENBIC0g RzIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ36zn6vj4AxTEAJLVwX42wjzvfHIV y8CrjD0clc5vHhAsPwDtlybmtsfmrUMdP6SHR0dMPlT4bPjH/LGevTBwvJexAwXqlfGtQMVEeksF ovJg/Nc6ZWLv/xB7ola7xU5wLdaiHzztsELoXo1XIaymmdkR6dIaB8B0R0IL/MU06v3muiTRHQgV N6LXc88BQS9jsjo/vqUabvTJSls9laYVuzUCGfnU77yPDnF2WbtLtj7W/FoW9NYOifJJ/mwM7RXp 2Yh1nHnOYCfdua11zi9zlXpAOoV1SbC432i8q80TgoURUKPgPAuuwApTzdcwb4UyRhvkSRDCbOKv H3n/27S1AgMBAAGjggGEMIIBgDASBgNVHRMBAf8ECDAGAQH/AgEAMEQGA1UdIAQ9MDswOQYLYIZI AYb4RQEHFwEwKjAoBggrBgEFBQcCARYcaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL3JwYTALBgNV HQ8EBAMCAQYwEQYJYIZIAYb4QgEBBAQDAgEGMC4GA1UdEQQnMCWkIzAhMR8wHQYDVQQDExZQcml2 YXRlTGFiZWwzLTIwNDgtMTU1MB0GA1UdDgQWBBQRfV4ZfTwE32ps1qKKGj8x2DuUUjAxBgNVHR8E KjAoMCagJKAihiBodHRwOi8vY3JsLnZlcmlzaWduLmNvbS9wY2ExLmNybDCBgQYDVR0jBHoweKFj pGEwXzELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFz cyAxIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5ghEAzbp/VvDf5LxU/iKs s3KqVTANBgkqhkiG9w0BAQUFAAOBgQCxL9mW4ZKi7oFg5cgqIPvhZyzWAJhTowIb6ZBL+BhEnw9G 9/qg/tMdGKPSvxzs1hmfSk1D+Mq7vhOASQXdIXMzV8JCWr76AJOy5gQxkU5dPPBzBTdj67+DWZj9 Zt7phjKakik8Oq5U2qYSUbGPyMrTR3jm26Uehwbj0RTAwiH2ujCCBOcwggPPoAMCAQICEBIaCgrq 9MtzWjD1OhWrYCowDQYJKoZIhvcNAQEFBQAwgd0xCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJp U2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29yazE7MDkGA1UECxMyVGVy bXMgb2YgdXNlIGF0IGh0dHBzOi8vd3d3LnZlcmlzaWduLmNvbS9ycGEgKGMpMDUxHjAcBgNVBAsT FVBlcnNvbmEgTm90IFZhbGlkYXRlZDE3MDUGA1UEAxMuVmVyaVNpZ24gQ2xhc3MgMSBJbmRpdmlk dWFsIFN1YnNjcmliZXIgQ0EgLSBHMjAeFw0xMDAxMDUwMDAwMDBaFw0xMTAxMDUyMzU5NTlaMIIB HjEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRydXN0IE5ldHdv cmsxRjBEBgNVBAsTPXd3dy52ZXJpc2lnbi5jb20vcmVwb3NpdG9yeS9SUEEgSW5jb3JwLiBieSBS ZWYuLExJQUIuTFREKGMpOTgxHjAcBgNVBAsTFVBlcnNvbmEgTm90IFZhbGlkYXRlZDE0MDIGA1UE CxMrRGlnaXRhbCBJRCBDbGFzcyAxIC0gTWljcm9zb2Z0IEZ1bGwgU2VydmljZTEZMBcGA1UEAxQQ TmljaG9sYXMgUGFsZGlubzEpMCcGCSqGSIb3DQEJARYaY2FzcGVyb25lQGNhc3BlcnNob3VzZS5j b20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALF1zj8VgVfT2S8U5JrrikyFvRwYzUvjHgDp QQz/yonz/U40Hv27dRafbwpE74M7MxXB+6CrEue8bF/+/+OHqlbfUkbkC/mKvetPMGkFJJPIK+vo Olkr0iCQqN95YdhGwX2dHaQmt3Ak8tImt7TWStlgzUmdiAwX2eqQe4NPRKgxAgMBAAGjgeIwgd8w CQYDVR0TBAIwADBEBgNVHSAEPTA7MDkGC2CGSAGG+EUBBxcBMCowKAYIKwYBBQUHAgEWHGh0dHBz Oi8vd3d3LnZlcmlzaWduLmNvbS9ycGEwCwYDVR0PBAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwME BggrBgEFBQcDAjAUBgpghkgBhvhFAQYHBAYWBE5vbmUwSgYDVR0fBEMwQTA/oD2gO4Y5aHR0cDov L0luZEMxRGlnaXRhbElELWNybC52ZXJpc2lnbi5jb20vSW5kQzFEaWdpdGFsSUQuY3JsMA0GCSqG SIb3DQEBBQUAA4IBAQCqB4LXJcG434cY+64lL0vW+PTGk8HEDn5iBGkFxo1gHWstAX5wMND/BIKY uLJgLqcMmV9eeSeXKiMoeHS/54wHfQ/jwIqQEvgpMX7RicaARYKJWo/MacpXWPyxc0QJWkHqdD+D +OzxXETaHxCs1YDoNppjByumBFzGJYu4SOZJYJETx1I/zpMkJThNFjQ2TKgSKxmBX8STPtto0+hj YgzXipPZSkR0PJy3Ah6acxqiB3LeCQhlefzy4hE5Hf5WrCYYgZ4irDhTXrrpCRqPm2fjlRQmaz1K 5cUdNJY9N6xvMYz8HHxYxqpByVm22fMMCtsIj/OSgX7dZCmSNfbaYD7FMYIExDCCBMACAQEwgfIw gd0xCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNp Z24gVHJ1c3QgTmV0d29yazE7MDkGA1UECxMyVGVybXMgb2YgdXNlIGF0IGh0dHBzOi8vd3d3LnZl cmlzaWduLmNvbS9ycGEgKGMpMDUxHjAcBgNVBAsTFVBlcnNvbmEgTm90IFZhbGlkYXRlZDE3MDUG A1UEAxMuVmVyaVNpZ24gQ2xhc3MgMSBJbmRpdmlkdWFsIFN1YnNjcmliZXIgQ0EgLSBHMgIQEhoK Cur0y3NaMPU6FatgKjAJBgUrDgMCGgUAoIIDJzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwG CSqGSIb3DQEJBTEPFw0xMDAyMTMwNjA4NTJaMCMGCSqGSIb3DQEJBDEWBBQqzmvvK78CM/5KwqXF gTau0Jmk/jCBtwYJKoZIhvcNAQkPMYGpMIGmMAsGCWCGSAFlAwQBKjALBglghkgBZQMEARYwCgYI KoZIhvcNAwcwCwYJYIZIAWUDBAECMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG9w0DAgIBQDAHBgUr DgMCBzANBggqhkiG9w0DAgIBKDAHBgUrDgMCGjALBglghkgBZQMEAgMwCwYJYIZIAWUDBAICMAsG CWCGSAFlAwQCATAKBggqhkiG9w0CBTCCAQMGCSsGAQQBgjcQBDGB9TCB8jCB3TELMAkGA1UEBhMC VVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJpU2lnbiBUcnVzdCBOZXR3 b3JrMTswOQYDVQQLEzJUZXJtcyBvZiB1c2UgYXQgaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL3Jw YSAoYykwNTEeMBwGA1UECxMVUGVyc29uYSBOb3QgVmFsaWRhdGVkMTcwNQYDVQQDEy5WZXJpU2ln biBDbGFzcyAxIEluZGl2aWR1YWwgU3Vic2NyaWJlciBDQSAtIEcyAhASGgoK6vTLc1ow9ToVq2Aq MIIBBQYLKoZIhvcNAQkQAgsxgfWggfIwgd0xCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJpU2ln biwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29yazE7MDkGA1UECxMyVGVybXMg b2YgdXNlIGF0IGh0dHBzOi8vd3d3LnZlcmlzaWduLmNvbS9ycGEgKGMpMDUxHjAcBgNVBAsTFVBl cnNvbmEgTm90IFZhbGlkYXRlZDE3MDUGA1UEAxMuVmVyaVNpZ24gQ2xhc3MgMSBJbmRpdmlkdWFs IFN1YnNjcmliZXIgQ0EgLSBHMgIQEhoKCur0y3NaMPU6FatgKjANBgkqhkiG9w0BAQEFAASBgGxa CLk1AxU30w0/xY0EglHYDRv+UvLbA2QT5IzRQNFXHuEc9e+VoJ6i6hd/x5gHlDlxWKZ5V9NpadmY TMcUfQP5gnW5LA6W4bUJnpnJHihRgRtdO1vGyFKcXcNfq1vXHrjvZaGL5p05Agk74TTJxR4z88g0 mF49QxToUFt5Y39QAAAAAAAA ------=_NextPart_000_00EE_01CAAC49.1BA24590-- From [email protected] Sat Feb 13 11:29:45 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12283 invoked from network); 13 Feb 2010 11:29:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Feb 2010 11:29:45 -0000 Received: (qmail 23550 invoked by uid 500); 13 Feb 2010 11:29:44 -0000 Delivered-To: [email protected] Received: (qmail 23478 invoked by uid 500); 13 Feb 2010 11:29:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23468 invoked by uid 99); 13 Feb 2010 11:29:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Feb 2010 11:29:43 +0000 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f215.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Feb 2010 11:29:32 +0000 Received: by bwz7 with SMTP id 7so2620165bwz.6 for <[email protected]>; Sat, 13 Feb 2010 03:29:11 -0800 (PST) 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=WKI8JgucYxQDK0/0gKSwCjENy2VWghZZFS0N6jzFw34=; b=L1Ap2fOkccSDG8dH4lcC2ls75FuoxmjDJ8IdXvmUnPcMUcdivo6yGSc1P6sW6scSTu oNSwEkrW+nd2NboD/QrZL8dHmrlNC76JjUlYLUBFZ0wRXszQC6SsiCoH9HqjtdqWlV/z RItBYUEaq1ft4NpJv5W5ijjBDkerGK5TAR2RU= 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=eijiDDf4AMVC5U95hTyRWhR2CkPHa0mJSA5DhCUuPYGZCwTpqUdF3ff7bsYuhRRj8A WVaBkiJwaxnySb1dBIRnvDTrmaz660XC7zcNbDN/TMyD+GKST61C1TxYDFrcvK5ewszq taj1QJieqjtEgNWL6sNeW4yOnrTMlmydqD5uU= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id i17mr1654256bka.173.1266060550708; Sat, 13 Feb 2010 03:29:10 -0800 (PST) In-Reply-To: <00f301caac73$05065cc0$0f131640$@com> References: <[email protected]> <005101caaa8d$51368a80$f3a39f80$@com> <[email protected]> <00f301caac73$05065cc0$0f131640$@com> Date: Sat, 13 Feb 2010 12:29:10 +0100 Message-ID: <[email protected]> Subject: Re: Lucene.net in Medium Trust From: Simone Chiaretta <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00032555a7ee639cd6047f79b1e9 X-Virus-Checked: Checked by ClamAV on apache.org --00032555a7ee639cd6047f79b1e9 Content-Type: text/plain; charset=ISO-8859-1 Nick, I didn't have time to work on this issue.. I asked to the guy that reported the problem to see if it was a permission problem, but he never get back to me. But I guess it's not as permission problem as he said that with full trust it worked On Sat, Feb 13, 2010 at 7:08 AM, Nicholas Paldino [.NET/C# MVP] < [email protected]> wrote: > Simone, > > Was this ever resolved? Was it a permissions issue on the App_Data > folder, or something else? > > - Nick > > -----Original Message----- > From: Simone Chiaretta [mailto:[email protected]] > Sent: Wednesday, February 10, 2010 6:57 PM > To: [email protected] > Subject: Re: Lucene.net in Medium Trust > > It's the App_Data folder of a web app... it *should* have write access to > it. > I'll check it out > Simo > > On Wed, Feb 10, 2010 at 9:12 PM, Digy <[email protected]> wrote: > > > Hi Simone, > > > > Can you try to open/create a file in that directory within your > app(without > > using Lucene.NET) to narrow down the source of the problem. > > > > DIGY > > > > -----Original Message----- > > From: Simone Chiaretta [mailto:[email protected]] > > Sent: Wednesday, February 10, 2010 9:46 PM > > To: lucene-net-user > > Subject: Lucene.net in Medium Trust > > > > Hi all, > > we are starting to do the final testing with the new release of Subtext > > which has a Lucene.net based search engine. > > But we are finding a strange error, related to a SecurityPermission when > > running in medium trust > > > > there is the stack trace of the error: > > > > [SecurityException: Request for the permission of type > > 'System.Security.Permissions. > > SecurityPermission, mscorlib, > > Version=161.129.204.104, Culture=neutral, PublicKeyToken=b77a5c561934e089' > > failed.] > > FileSupport.Sync(FileStream fileStream) +0 > > Lucene.Net.Store.FSDirectory.Sync(String name) +151 > > Lucene.Net.Index.SegmentInfos.FinishCommit(Directory dir) +171 > > Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean > > create, Boolean closeDir, IndexDeletionPolicy deletionPolicy, Boolean > > autoCommit, Int32 maxFieldLength, IndexingChain indexingChain, > > IndexCommit commit) +257 > > Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean > > closeDir, IndexDeletionPolicy deletionPolicy, Boolean autoCommit, > > Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit commit) > > +110 > > Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, > > MaxFieldLength mfl) +369 > > > > > > > > Subtext.Framework.Services.SearchEngine.SearchEngineService.EnsureIndexWrite > > r() > > in SearchEngineService.cs:93 > > > > The line of code that causes the error is > > > > _writer = new IndexWriter(_directory, > > _analyzer,IndexWriter.MaxFieldLength.UNLIMITED); > > > > where _directory is > > FSDirectory.Open(new > > DirectoryInfo(HttpContext.Server.MapPath("~/App_Data")))) > > > > We are using one of the latest versions (retrieved from the trunk around > > the > > beginning of January) .. 2.9.1 I guess > > > > I read you should have fixed the problem in 2.3.2 ( > > http://issues.apache.org/jira/browse/LUCENENET-169) but this problem is > > happening again here. > > > > Any idea on what is happening here? > > > > Thx > > Simone > > > > -- > > Simone Chiaretta > > Microsoft MVP ASP.NET - ASPInsider > > Blog: http://codeclimber.net.nz > > RSS: http://feeds2.feedburner.com/codeclimber > > twitter: @simonech > > > > Any sufficiently advanced technology is indistinguishable from magic > > "Life is short, play hard" > > > > > > > -- > Simone Chiaretta > Microsoft MVP ASP.NET - ASPInsider > Blog: http://codeclimber.net.nz > RSS: http://feeds2.feedburner.com/codeclimber > twitter: @simonech > > Any sufficiently advanced technology is indistinguishable from magic > "Life is short, play hard" > -- Simone Chiaretta Microsoft MVP ASP.NET - ASPInsider Blog: http://codeclimber.net.nz RSS: http://feeds2.feedburner.com/codeclimber twitter: @simonech Any sufficiently advanced technology is indistinguishable from magic "Life is short, play hard" --00032555a7ee639cd6047f79b1e9-- From [email protected] Mon Feb 15 01:45:44 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73282 invoked from network); 15 Feb 2010 01:45:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Feb 2010 01:45:44 -0000 Received: (qmail 82752 invoked by uid 500); 15 Feb 2010 01:45:44 -0000 Delivered-To: [email protected] Received: (qmail 82693 invoked by uid 500); 15 Feb 2010 01:45:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 82683 invoked by uid 500); 15 Feb 2010 01:45:43 -0000 Delivered-To: [email protected] Received: (qmail 82680 invoked by uid 99); 15 Feb 2010 01:45:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Feb 2010 01:45:43 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-pw0-f47.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Feb 2010 01:45:36 +0000 Received: by pwi5 with SMTP id 5so372325pwi.6 for <[email protected]>; Sun, 14 Feb 2010 17:45:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=/5K+wRksW9Y4yYR7ohMKhCNyBNMaJXVVVmseavok330=; b=q7NeemAR6w3O/UxiyVkQgWyfFhaOF2/93B1ehVP4nz2ayifX8avjS0HcSnRbrRh4pD 8fPyncHNHrsaBtMjJukohBsXc0tOfnd0lxp0BhKLYtTKMkRwPaXLZ09uM8+/q3ThCSzW OegoB6JBAtpFz6VCY0Mo0FCbSpFbEl1BdghUw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=LugHn4AHqql6Rs68eAAI2h1XP6tDbrFOXpEA8deONxDMZGLLOoTkIkHrtOaZ/MjEkY RS8ekuEa2zp0pM+xXlRWEEsPoXldUeiJOFeCb6PFd4E9pC8sCoVdqWT89jKxcwrXOWNR wJnPgrpbx9IKzJYvYVQuyYlzpW25QmYe5Q80E= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id 24mr3040507wfe.63.1266198316065; Sun, 14 Feb 2010 17:45:16 -0800 (PST) Date: Mon, 15 Feb 2010 12:45:16 +1100 Message-ID: <[email protected]> Subject: Further refinement of search results - distinguishing hits with exact phrase match from the rest From: Michael Mitiaguin <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00504502b0a3d824c3047f99c4fa --00504502b0a3d824c3047f99c4fa Content-Type: text/plain; charset=ISO-8859-1 I run a query, say, NAME:"John Smith"^1.5 OR NAME:(Jo* Smith). Once I get the result set, is there an *efficient* way to identify those hits that match: a) "John Smith" b) Jo* Smith ---? or perhaps to change the original query somehow ? --00504502b0a3d824c3047f99c4fa-- From [email protected] Tue Feb 16 16:23:09 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13005 invoked from network); 16 Feb 2010 16:23:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Feb 2010 16:23:09 -0000 Received: (qmail 61929 invoked by uid 500); 16 Feb 2010 16:23:08 -0000 Delivered-To: [email protected] Received: (qmail 61901 invoked by uid 500); 16 Feb 2010 16:23:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 61891 invoked by uid 99); 16 Feb 2010 16:23:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Feb 2010 16:23:07 +0000 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f214.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Feb 2010 16:22:55 +0000 Received: by bwz6 with SMTP id 6so3318909bwz.11 for <[email protected]>; Tue, 16 Feb 2010 08:22:35 -0800 (PST) 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=TfQbHH54tbm0kNNteGi3ncO2gneCj42aSqlTSEKbDUs=; b=S7wi+PDlt9A4sZthDeav5qyK4DlvnkkEHaLjdTmgfq8qJaKNaeU5MtjodVzD7/M5Qb 2m7CkH7Vwg4RMu8Q0G4I4a0bR6QF/enpGByBR16XVEoaa24cChUlG+jX++JdHssc4xwY Ij059Iipx+USJjgagq88a9o6KiawcbKmv1TIA= 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=nh8Lm521Cc0HbPPlcxEJI4LNXrdYZAnPI7o66QDmzMqWqGSZVxtMlfgdHpeeBwInsR 3mFqJve8ZbQKCWDhOjXuv6B5M+l/N91n7i6fAuUGdqKeBCO9ZlLDRAzO4DFF6/p/+XDB e/y+bVq+OSyiuQnGh0VKKkkYM9kT3eedA1qyk= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id z7mr4302256bks.148.1266337355539; Tue, 16 Feb 2010 08:22:35 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <005101caaa8d$51368a80$f3a39f80$@com> <[email protected]> <00f301caac73$05065cc0$0f131640$@com> <[email protected]> Date: Tue, 16 Feb 2010 08:22:34 -0800 Message-ID: <[email protected]> Subject: Re: Lucene.net in Medium Trust From: Simone Chiaretta <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0015174790b23e26f7047fba24df X-Virus-Checked: Checked by ClamAV on apache.org --0015174790b23e26f7047fba24df Content-Type: text/plain; charset=ISO-8859-1 This is the email from the guy that reported the error: It seems like adding the permission to App_Data (where the indexes are located) didn't help. Any ideas? Simone ----------------------------- After adding Read/Write/Modify permissions to App_Data for "NETWORK SERVICE" (what the app pool is running under), I got the same permissions issue... but then also got a new one. I added the permissions and did a full IISRESET. I then hit the successfully upgraded site (going to the admin page). The login screen for the admin site came up and I entered my credentials. That's when I got the exception we saw earlier: [SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=161.129.204.104, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.] FileSupport.Sync(FileStream fileStream) +0 Lucene.Net.Store.FSDirectory.Sync(String name) +151 Lucene.Net.Index.SegmentInfos.FinishCommit(Directory dir) +171 Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean create, Boolean closeDir, IndexDeletionPolicy deletionPolicy, Boolean autoCommit, Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit commit) +257 Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean closeDir, IndexDeletionPolicy deletionPolicy, Boolean autoCommit, Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit commit) +110 Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, MaxFieldLength mfl) +369 Subtext.Framework.Services.SearchEngine.SearchEngineService.EnsureIndexWriter() in SearchEngineService.cs:93 HOWEVER, if I hit reload, I get a new exception: [LockObtainFailedException: Lock obtain timed out: NativeFSLock@C:\dev \subtext\trunk\src\Subtext. Web\App_Data\write.lock] Lucene.Net.Store.Lock.Obtain(Int64 lockWaitTimeout) +574 Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean create, Boolean closeDir, IndexDeletionPolicy deletionPolicy, Boolean autoCommit, Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit commit) +154 Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean closeDir, IndexDeletionPolicy deletionPolicy, Boolean autoCommit, Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit commit) +110 Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, MaxFieldLength mfl) +369 Subtext.Framework.Services.SearchEngine.SearchEngineService.EnsureIndexWriter() in SearchEngineService.cs:93 Subtext.Framework.Services.SearchEngine.SearchEngineService.DoWriterAction(Func`2 action) in SearchEngineService.cs:77 Subtext.Framework.Services.SearchEngine.SearchEngineService.get_Searcher() in SearchEngineService.cs:100 Subtext.Framework.Services.SearchEngine.SearchEngineService.GetIndexedEntryCount(Int32 blogId) in SearchEngineService.cs:159 Subtext.Web.Admin.Pages.HomePageDefault.get_IndexedEntryCount() in C:\dev\subtext\trunk\src\Subtext.Web\aspx\Admin\default.aspx.cs:43 Looking in the App_Data folder, there aren't any .lock files. Just the .mdf that comes with the source that I'm not using (I have SQL Server with a backup copy of my real database so I can test). Subsequent reloads yield the lock timeout exception over and over. I tried adding Read/Write/Modify to "EVERYONE" on "App_Data," did IISRESET, and got the same results. ------------ On Sat, Feb 13, 2010 at 3:29 AM, Simone Chiaretta < [email protected]> wrote: > Nick, I didn't have time to work on this issue.. I asked to the guy that > reported the problem to see if it was a permission problem, but he never get > back to me. > But I guess it's not as permission problem as he said that with full trust > it worked > > > On Sat, Feb 13, 2010 at 7:08 AM, Nicholas Paldino [.NET/C# MVP] < > [email protected]> wrote: > >> Simone, >> >> Was this ever resolved? Was it a permissions issue on the App_Data >> folder, or something else? >> >> - Nick >> >> -----Original Message----- >> From: Simone Chiaretta [mailto:[email protected]] >> Sent: Wednesday, February 10, 2010 6:57 PM >> To: [email protected] >> Subject: Re: Lucene.net in Medium Trust >> >> It's the App_Data folder of a web app... it *should* have write access to >> it. >> I'll check it out >> Simo >> >> On Wed, Feb 10, 2010 at 9:12 PM, Digy <[email protected]> wrote: >> >> > Hi Simone, >> > >> > Can you try to open/create a file in that directory within your >> app(without >> > using Lucene.NET) to narrow down the source of the problem. >> > >> > DIGY >> > >> > -----Original Message----- >> > From: Simone Chiaretta [mailto:[email protected]] >> > Sent: Wednesday, February 10, 2010 9:46 PM >> > To: lucene-net-user >> > Subject: Lucene.net in Medium Trust >> > >> > Hi all, >> > we are starting to do the final testing with the new release of Subtext >> > which has a Lucene.net based search engine. >> > But we are finding a strange error, related to a SecurityPermission when >> > running in medium trust >> > >> > there is the stack trace of the error: >> > >> > [SecurityException: Request for the permission of type >> > 'System.Security.Permissions. >> > SecurityPermission, mscorlib, >> > Version=161.129.204.104, Culture=neutral, PublicKeyToken=b77a5c561934e089' >> > failed.] >> > FileSupport.Sync(FileStream fileStream) +0 >> > Lucene.Net.Store.FSDirectory.Sync(String name) +151 >> > Lucene.Net.Index.SegmentInfos.FinishCommit(Directory dir) +171 >> > Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean >> > create, Boolean closeDir, IndexDeletionPolicy deletionPolicy, Boolean >> > autoCommit, Int32 maxFieldLength, IndexingChain indexingChain, >> > IndexCommit commit) +257 >> > Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean >> > closeDir, IndexDeletionPolicy deletionPolicy, Boolean autoCommit, >> > Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit commit) >> > +110 >> > Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, >> > MaxFieldLength mfl) +369 >> > >> > >> > >> >> Subtext.Framework.Services.SearchEngine.SearchEngineService.EnsureIndexWrite >> > r() >> > in SearchEngineService.cs:93 >> > >> > The line of code that causes the error is >> > >> > _writer = new IndexWriter(_directory, >> > _analyzer,IndexWriter.MaxFieldLength.UNLIMITED); >> > >> > where _directory is >> > FSDirectory.Open(new >> > DirectoryInfo(HttpContext.Server.MapPath("~/App_Data")))) >> > >> > We are using one of the latest versions (retrieved from the trunk around >> > the >> > beginning of January) .. 2.9.1 I guess >> > >> > I read you should have fixed the problem in 2.3.2 ( >> > http://issues.apache.org/jira/browse/LUCENENET-169) but this problem is >> > happening again here. >> > >> > Any idea on what is happening here? >> > >> > Thx >> > Simone >> > >> > -- >> > Simone Chiaretta >> > Microsoft MVP ASP.NET - ASPInsider >> > Blog: http://codeclimber.net.nz >> > RSS: http://feeds2.feedburner.com/codeclimber >> > twitter: @simonech >> > >> > Any sufficiently advanced technology is indistinguishable from magic >> > "Life is short, play hard" >> > >> > >> >> >> -- >> Simone Chiaretta >> Microsoft MVP ASP.NET - ASPInsider >> Blog: http://codeclimber.net.nz >> RSS: http://feeds2.feedburner.com/codeclimber >> twitter: @simonech >> >> Any sufficiently advanced technology is indistinguishable from magic >> "Life is short, play hard" >> > > > > -- > Simone Chiaretta > Microsoft MVP ASP.NET - ASPInsider > Blog: http://codeclimber.net.nz > RSS: http://feeds2.feedburner.com/codeclimber > twitter: @simonech > > Any sufficiently advanced technology is indistinguishable from magic > "Life is short, play hard" > -- Simone Chiaretta Microsoft MVP ASP.NET - ASPInsider Blog: http://codeclimber.net.nz RSS: http://feeds2.feedburner.com/codeclimber twitter: @simonech Any sufficiently advanced technology is indistinguishable from magic "Life is short, play hard" --0015174790b23e26f7047fba24df-- From [email protected] Tue Feb 16 16:40:07 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20252 invoked from network); 16 Feb 2010 16:40:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Feb 2010 16:40:07 -0000 Received: (qmail 99668 invoked by uid 500); 16 Feb 2010 16:40:07 -0000 Delivered-To: [email protected] Received: (qmail 99601 invoked by uid 500); 16 Feb 2010 16:40:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99591 invoked by uid 99); 16 Feb 2010 16:40:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Feb 2010 16:40:05 +0000 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yx0-f184.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Feb 2010 16:39:56 +0000 Received: by yxe14 with SMTP id 14so5122804yxe.20 for <[email protected]>; Tue, 16 Feb 2010 08:39:35 -0800 (PST) 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=VQ8yTYUgo5WUX/KS9A8gCBPGlCTEqBuk2D7X8EwNKqo=; b=BHkdNK2Lg0aKzc4UXdtWhS9/pAZSiKUtWP6A2Oc32WQC5yxHrF7CW9SX4awRauFEVb 9cnQo3qBmkWvMwMO8jcHkSe7qloFLfJObPi/rp6h8nX+BZxgyapsrUgaA3Xc912JXjeY PmWKkKWbWpmya5hmc+I0VlfG+JhEbJxnEqlfI= 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=TbrzzaaUPGIXv+auCJSP9urS3E9htWBZgb/KKvUKUliDN617iLbJKBbvTQ91Flrq5J aWR27s3YlTY9CIne/Prn++KrOkoLDhO2NJE8TXXeQk17p2PWRzXCbgd0nnc9zjQr77Go q5gZSs8EBRkskWmPiieWIpD+Zr54RAUVVktww= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id x38mr4698444anp.135.1266338374995; Tue, 16 Feb 2010 08:39:34 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <005101caaa8d$51368a80$f3a39f80$@com> <[email protected]> <00f301caac73$05065cc0$0f131640$@com> <[email protected]> <[email protected]> Date: Tue, 16 Feb 2010 18:39:34 +0200 Message-ID: <[email protected]> Subject: Re: Lucene.net in Medium Trust From: digy digy <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016e6881d7a01cef1047fba6175 --0016e6881d7a01cef1047fba6175 Content-Type: text/plain; charset=ISO-8859-1 The reason may be the "FlushFileBuffers" in "SupportClass.FileSupport.Sync". Can you change the code as below and try again? public static void Sync(System.IO.FileStream fileStream) { if (fileStream == null) throw new ArgumentNullException("fileStream"); fileStream.Flush(); } DIGY On Tue, Feb 16, 2010 at 6:22 PM, Simone Chiaretta < [email protected]> wrote: > This is the email from the guy that reported the error: > > It seems like adding the permission to App_Data (where the indexes are > located) didn't help. > > Any ideas? > Simone > > ----------------------------- > > After adding Read/Write/Modify permissions to App_Data for "NETWORK > SERVICE" (what the app pool is running under), I got the same > permissions issue... but then also got a new one. > > I added the permissions and did a full IISRESET. I then hit the > successfully upgraded site (going to the admin page). The login screen > for the admin site came up and I entered my credentials. That's when I > got the exception we saw earlier: > > [SecurityException: Request for the permission of type > 'System.Security.Permissions.SecurityPermission, mscorlib, > Version=161.129.204.104, Culture=neutral, PublicKeyToken=b77a5c561934e089' > failed.] > FileSupport.Sync(FileStream fileStream) +0 > Lucene.Net.Store.FSDirectory.Sync(String name) +151 > Lucene.Net.Index.SegmentInfos.FinishCommit(Directory dir) +171 > Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean > create, Boolean closeDir, IndexDeletionPolicy deletionPolicy, Boolean > autoCommit, Int32 maxFieldLength, IndexingChain indexingChain, > IndexCommit commit) +257 > Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean > closeDir, IndexDeletionPolicy deletionPolicy, Boolean autoCommit, > Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit commit) > +110 > Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, > MaxFieldLength mfl) +369 > > > Subtext.Framework.Services.SearchEngine.SearchEngineService.EnsureIndexWriter() > in SearchEngineService.cs:93 > > HOWEVER, if I hit reload, I get a new exception: > > [LockObtainFailedException: Lock obtain timed out: NativeFSLock@C:\dev > \subtext\trunk\src\Subtext. > Web\App_Data\write.lock] > Lucene.Net.Store.Lock.Obtain(Int64 lockWaitTimeout) +574 > Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean > create, Boolean closeDir, IndexDeletionPolicy deletionPolicy, Boolean > autoCommit, Int32 maxFieldLength, IndexingChain indexingChain, > IndexCommit commit) +154 > Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean > closeDir, IndexDeletionPolicy deletionPolicy, Boolean autoCommit, > Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit commit) > +110 > Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, > MaxFieldLength mfl) +369 > > > Subtext.Framework.Services.SearchEngine.SearchEngineService.EnsureIndexWriter() > in SearchEngineService.cs:93 > > > Subtext.Framework.Services.SearchEngine.SearchEngineService.DoWriterAction(Func`2 > action) in SearchEngineService.cs:77 > > Subtext.Framework.Services.SearchEngine.SearchEngineService.get_Searcher() > in SearchEngineService.cs:100 > > > Subtext.Framework.Services.SearchEngine.SearchEngineService.GetIndexedEntryCount(Int32 > blogId) in SearchEngineService.cs:159 > Subtext.Web.Admin.Pages.HomePageDefault.get_IndexedEntryCount() in > C:\dev\subtext\trunk\src\Subtext.Web\aspx\Admin\default.aspx.cs:43 > > Looking in the App_Data folder, there aren't any .lock files. Just > the .mdf that comes with the source that I'm not using (I have SQL > Server with a backup copy of my real database so I can test). > > Subsequent reloads yield the lock timeout exception over and over. > > I tried adding Read/Write/Modify to "EVERYONE" on "App_Data," did > IISRESET, and got the same results. > > ------------ > > > On Sat, Feb 13, 2010 at 3:29 AM, Simone Chiaretta < > [email protected]> wrote: > > > Nick, I didn't have time to work on this issue.. I asked to the guy that > > reported the problem to see if it was a permission problem, but he never > get > > back to me. > > But I guess it's not as permission problem as he said that with full > trust > > it worked > > > > > > On Sat, Feb 13, 2010 at 7:08 AM, Nicholas Paldino [.NET/C# MVP] < > > [email protected]> wrote: > > > >> Simone, > >> > >> Was this ever resolved? Was it a permissions issue on the > App_Data > >> folder, or something else? > >> > >> - Nick > >> > >> -----Original Message----- > >> From: Simone Chiaretta [mailto:[email protected]] > >> Sent: Wednesday, February 10, 2010 6:57 PM > >> To: [email protected] > >> Subject: Re: Lucene.net in Medium Trust > >> > >> It's the App_Data folder of a web app... it *should* have write access > to > >> it. > >> I'll check it out > >> Simo > >> > >> On Wed, Feb 10, 2010 at 9:12 PM, Digy <[email protected]> wrote: > >> > >> > Hi Simone, > >> > > >> > Can you try to open/create a file in that directory within your > >> app(without > >> > using Lucene.NET) to narrow down the source of the problem. > >> > > >> > DIGY > >> > > >> > -----Original Message----- > >> > From: Simone Chiaretta [mailto:[email protected]] > >> > Sent: Wednesday, February 10, 2010 9:46 PM > >> > To: lucene-net-user > >> > Subject: Lucene.net in Medium Trust > >> > > >> > Hi all, > >> > we are starting to do the final testing with the new release of > Subtext > >> > which has a Lucene.net based search engine. > >> > But we are finding a strange error, related to a SecurityPermission > when > >> > running in medium trust > >> > > >> > there is the stack trace of the error: > >> > > >> > [SecurityException: Request for the permission of type > >> > 'System.Security.Permissions. > >> > SecurityPermission, mscorlib, > >> > Version=161.129.204.104, Culture=neutral, PublicKeyToken=b77a5c561934e089' > >> > failed.] > >> > FileSupport.Sync(FileStream fileStream) +0 > >> > Lucene.Net.Store.FSDirectory.Sync(String name) +151 > >> > Lucene.Net.Index.SegmentInfos.FinishCommit(Directory dir) +171 > >> > Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean > >> > create, Boolean closeDir, IndexDeletionPolicy deletionPolicy, Boolean > >> > autoCommit, Int32 maxFieldLength, IndexingChain indexingChain, > >> > IndexCommit commit) +257 > >> > Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean > >> > closeDir, IndexDeletionPolicy deletionPolicy, Boolean autoCommit, > >> > Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit commit) > >> > +110 > >> > Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, > >> > MaxFieldLength mfl) +369 > >> > > >> > > >> > > >> > >> > Subtext.Framework.Services.SearchEngine.SearchEngineService.EnsureIndexWrite > >> > r() > >> > in SearchEngineService.cs:93 > >> > > >> > The line of code that causes the error is > >> > > >> > _writer = new IndexWriter(_directory, > >> > _analyzer,IndexWriter.MaxFieldLength.UNLIMITED); > >> > > >> > where _directory is > >> > FSDirectory.Open(new > >> > DirectoryInfo(HttpContext.Server.MapPath("~/App_Data")))) > >> > > >> > We are using one of the latest versions (retrieved from the trunk > around > >> > the > >> > beginning of January) .. 2.9.1 I guess > >> > > >> > I read you should have fixed the problem in 2.3.2 ( > >> > http://issues.apache.org/jira/browse/LUCENENET-169) but this problem > is > >> > happening again here. > >> > > >> > Any idea on what is happening here? > >> > > >> > Thx > >> > Simone > >> > > >> > -- > >> > Simone Chiaretta > >> > Microsoft MVP ASP.NET - ASPInsider > >> > Blog: http://codeclimber.net.nz > >> > RSS: http://feeds2.feedburner.com/codeclimber > >> > twitter: @simonech > >> > > >> > Any sufficiently advanced technology is indistinguishable from magic > >> > "Life is short, play hard" > >> > > >> > > >> > >> > >> -- > >> Simone Chiaretta > >> Microsoft MVP ASP.NET - ASPInsider > >> Blog: http://codeclimber.net.nz > >> RSS: http://feeds2.feedburner.com/codeclimber > >> twitter: @simonech > >> > >> Any sufficiently advanced technology is indistinguishable from magic > >> "Life is short, play hard" > >> > > > > > > > > -- > > Simone Chiaretta > > Microsoft MVP ASP.NET - ASPInsider > > Blog: http://codeclimber.net.nz > > RSS: http://feeds2.feedburner.com/codeclimber > > twitter: @simonech > > > > Any sufficiently advanced technology is indistinguishable from magic > > "Life is short, play hard" > > > > > > -- > Simone Chiaretta > Microsoft MVP ASP.NET - ASPInsider > Blog: http://codeclimber.net.nz > RSS: http://feeds2.feedburner.com/codeclimber > twitter: @simonech > > Any sufficiently advanced technology is indistinguishable from magic > "Life is short, play hard" > --0016e6881d7a01cef1047fba6175-- From [email protected] Tue Feb 16 16:56:44 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27883 invoked from network); 16 Feb 2010 16:56:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Feb 2010 16:56:44 -0000 Received: (qmail 61969 invoked by uid 500); 16 Feb 2010 16:56:44 -0000 Delivered-To: [email protected] Received: (qmail 61935 invoked by uid 500); 16 Feb 2010 16:56:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 61925 invoked by uid 99); 16 Feb 2010 16:56:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Feb 2010 16:56:43 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO col0-omc4-s2.col0.hotmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Feb 2010 16:56:31 +0000 Received: from COL110-DS13 ([161.129.204.104]) by col0-omc4-s2.col0.hotmail.com with Microsoft SMTPSVC+1-778-747-0316); Tue, 16 Feb 2010 08:56:10 -0800 X-Originating-IP: [161.129.204.104] X-Originating-Email: [[email protected]] Message-ID: <[email protected]> From: "Noel Lysaght" <[email protected]> To: <[email protected]> References: <[email protected]> <005101caaa8d$51368a80$f3a39f80$@com> <[email protected]> <00f301caac73$05065cc0$0f131640$@com> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Subject: Re: Lucene.net in Medium Trust Date: Tue, 16 Feb 2010 16:56:09 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8089.726 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726 X-OriginalArrivalTime: 16 Feb 2010 16:56:10.0425 (UTC) FILETIME=[F0A30A90:01CAAF28] X-Virus-Checked: Checked by ClamAV on apache.org If the web-site is using "Integrated Security" then the writes will happen under the identity of the caller. In this case the folder where the index data is stored will need to give Read/Write permissions to Authenticated Users (which is a group on the local machine). Ideally the writes should be happing in some form of Windows Service etc, I presume this was covered earlier on. Doing writes in a web-site/web-service directly is a bad idea because of concurrency issues on the writers. Kind Regards Noel -------------------------------------------------- From: "Simone Chiaretta" <[email protected]> Sent: Tuesday, February 16, 2010 4:22 PM To: <[email protected]> Subject: Re: Lucene.net in Medium Trust > This is the email from the guy that reported the error: > > It seems like adding the permission to App_Data (where the indexes are > located) didn't help. > > Any ideas? > Simone > > ----------------------------- > > After adding Read/Write/Modify permissions to App_Data for "NETWORK > SERVICE" (what the app pool is running under), I got the same > permissions issue... but then also got a new one. > > I added the permissions and did a full IISRESET. I then hit the > successfully upgraded site (going to the admin page). The login screen > for the admin site came up and I entered my credentials. That's when I > got the exception we saw earlier: > > [SecurityException: Request for the permission of type > 'System.Security.Permissions.SecurityPermission, mscorlib, > Version=161.129.204.104, Culture=neutral, PublicKeyToken=b77a5c561934e089' > failed.] > FileSupport.Sync(FileStream fileStream) +0 > Lucene.Net.Store.FSDirectory.Sync(String name) +151 > Lucene.Net.Index.SegmentInfos.FinishCommit(Directory dir) +171 > Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean > create, Boolean closeDir, IndexDeletionPolicy deletionPolicy, Boolean > autoCommit, Int32 maxFieldLength, IndexingChain indexingChain, > IndexCommit commit) +257 > Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean > closeDir, IndexDeletionPolicy deletionPolicy, Boolean autoCommit, > Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit commit) > +110 > Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, > MaxFieldLength mfl) +369 > > Subtext.Framework.Services.SearchEngine.SearchEngineService.EnsureIndexWriter() > in SearchEngineService.cs:93 > > HOWEVER, if I hit reload, I get a new exception: > > [LockObtainFailedException: Lock obtain timed out: NativeFSLock@C:\dev > \subtext\trunk\src\Subtext. > Web\App_Data\write.lock] > Lucene.Net.Store.Lock.Obtain(Int64 lockWaitTimeout) +574 > Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean > create, Boolean closeDir, IndexDeletionPolicy deletionPolicy, Boolean > autoCommit, Int32 maxFieldLength, IndexingChain indexingChain, > IndexCommit commit) +154 > Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean > closeDir, IndexDeletionPolicy deletionPolicy, Boolean autoCommit, > Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit commit) > +110 > Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, > MaxFieldLength mfl) +369 > > Subtext.Framework.Services.SearchEngine.SearchEngineService.EnsureIndexWriter() > in SearchEngineService.cs:93 > > Subtext.Framework.Services.SearchEngine.SearchEngineService.DoWriterAction(Func`2 > action) in SearchEngineService.cs:77 > > Subtext.Framework.Services.SearchEngine.SearchEngineService.get_Searcher() > in SearchEngineService.cs:100 > > Subtext.Framework.Services.SearchEngine.SearchEngineService.GetIndexedEntryCount(Int32 > blogId) in SearchEngineService.cs:159 > Subtext.Web.Admin.Pages.HomePageDefault.get_IndexedEntryCount() in > C:\dev\subtext\trunk\src\Subtext.Web\aspx\Admin\default.aspx.cs:43 > > Looking in the App_Data folder, there aren't any .lock files. Just > the .mdf that comes with the source that I'm not using (I have SQL > Server with a backup copy of my real database so I can test). > > Subsequent reloads yield the lock timeout exception over and over. > > I tried adding Read/Write/Modify to "EVERYONE" on "App_Data," did > IISRESET, and got the same results. > > ------------ > > > On Sat, Feb 13, 2010 at 3:29 AM, Simone Chiaretta < > [email protected]> wrote: > >> Nick, I didn't have time to work on this issue.. I asked to the guy that >> reported the problem to see if it was a permission problem, but he never >> get >> back to me. >> But I guess it's not as permission problem as he said that with full >> trust >> it worked >> >> >> On Sat, Feb 13, 2010 at 7:08 AM, Nicholas Paldino [.NET/C# MVP] < >> [email protected]> wrote: >> >>> Simone, >>> >>> Was this ever resolved? Was it a permissions issue on the >>> App_Data >>> folder, or something else? >>> >>> - Nick >>> >>> -----Original Message----- >>> From: Simone Chiaretta [mailto:[email protected]] >>> Sent: Wednesday, February 10, 2010 6:57 PM >>> To: [email protected] >>> Subject: Re: Lucene.net in Medium Trust >>> >>> It's the App_Data folder of a web app... it *should* have write access >>> to >>> it. >>> I'll check it out >>> Simo >>> >>> On Wed, Feb 10, 2010 at 9:12 PM, Digy <[email protected]> wrote: >>> >>> > Hi Simone, >>> > >>> > Can you try to open/create a file in that directory within your >>> app(without >>> > using Lucene.NET) to narrow down the source of the problem. >>> > >>> > DIGY >>> > >>> > -----Original Message----- >>> > From: Simone Chiaretta [mailto:[email protected]] >>> > Sent: Wednesday, February 10, 2010 9:46 PM >>> > To: lucene-net-user >>> > Subject: Lucene.net in Medium Trust >>> > >>> > Hi all, >>> > we are starting to do the final testing with the new release of >>> > Subtext >>> > which has a Lucene.net based search engine. >>> > But we are finding a strange error, related to a SecurityPermission >>> > when >>> > running in medium trust >>> > >>> > there is the stack trace of the error: >>> > >>> > [SecurityException: Request for the permission of type >>> > 'System.Security.Permissions. >>> > SecurityPermission, mscorlib, >>> > Version=161.129.204.104, Culture=neutral, PublicKeyToken=b77a5c561934e089' >>> > failed.] >>> > FileSupport.Sync(FileStream fileStream) +0 >>> > Lucene.Net.Store.FSDirectory.Sync(String name) +151 >>> > Lucene.Net.Index.SegmentInfos.FinishCommit(Directory dir) +171 >>> > Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean >>> > create, Boolean closeDir, IndexDeletionPolicy deletionPolicy, Boolean >>> > autoCommit, Int32 maxFieldLength, IndexingChain indexingChain, >>> > IndexCommit commit) +257 >>> > Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean >>> > closeDir, IndexDeletionPolicy deletionPolicy, Boolean autoCommit, >>> > Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit commit) >>> > +110 >>> > Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, >>> > MaxFieldLength mfl) +369 >>> > >>> > >>> > >>> >>> Subtext.Framework.Services.SearchEngine.SearchEngineService.EnsureIndexWrite >>> > r() >>> > in SearchEngineService.cs:93 >>> > >>> > The line of code that causes the error is >>> > >>> > _writer = new IndexWriter(_directory, >>> > _analyzer,IndexWriter.MaxFieldLength.UNLIMITED); >>> > >>> > where _directory is >>> > FSDirectory.Open(new >>> > DirectoryInfo(HttpContext.Server.MapPath("~/App_Data")))) >>> > >>> > We are using one of the latest versions (retrieved from the trunk >>> > around >>> > the >>> > beginning of January) .. 2.9.1 I guess >>> > >>> > I read you should have fixed the problem in 2.3.2 ( >>> > http://issues.apache.org/jira/browse/LUCENENET-169) but this problem >>> > is >>> > happening again here. >>> > >>> > Any idea on what is happening here? >>> > >>> > Thx >>> > Simone >>> > >>> > -- >>> > Simone Chiaretta >>> > Microsoft MVP ASP.NET - ASPInsider >>> > Blog: http://codeclimber.net.nz >>> > RSS: http://feeds2.feedburner.com/codeclimber >>> > twitter: @simonech >>> > >>> > Any sufficiently advanced technology is indistinguishable from magic >>> > "Life is short, play hard" >>> > >>> > >>> >>> >>> -- >>> Simone Chiaretta >>> Microsoft MVP ASP.NET - ASPInsider >>> Blog: http://codeclimber.net.nz >>> RSS: http://feeds2.feedburner.com/codeclimber >>> twitter: @simonech >>> >>> Any sufficiently advanced technology is indistinguishable from magic >>> "Life is short, play hard" >>> >> >> >> >> -- >> Simone Chiaretta >> Microsoft MVP ASP.NET - ASPInsider >> Blog: http://codeclimber.net.nz >> RSS: http://feeds2.feedburner.com/codeclimber >> twitter: @simonech >> >> Any sufficiently advanced technology is indistinguishable from magic >> "Life is short, play hard" >> > > > > -- > Simone Chiaretta > Microsoft MVP ASP.NET - ASPInsider > Blog: http://codeclimber.net.nz > RSS: http://feeds2.feedburner.com/codeclimber > twitter: @simonech > > Any sufficiently advanced technology is indistinguishable from magic > "Life is short, play hard" > From [email protected] Tue Feb 16 16:59:50 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28716 invoked from network); 16 Feb 2010 16:59:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Feb 2010 16:59:50 -0000 Received: (qmail 66018 invoked by uid 500); 16 Feb 2010 16:59:50 -0000 Delivered-To: [email protected] Received: (qmail 65957 invoked by uid 500); 16 Feb 2010 16:59:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 65947 invoked by uid 99); 16 Feb 2010 16:59:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Feb 2010 16:59:50 +0000 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f217.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Feb 2010 16:59:39 +0000 Received: by bwz9 with SMTP id 9so1398577bwz.5 for <[email protected]>; Tue, 16 Feb 2010 08:59:18 -0800 (PST) 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=U1x7tSYS40S/YoCcCQLY5V3g0xADmka8FDpwIw5aRFs=; b=b1yd/Uu+V1EM30SrMnL1CUG6rhjf28vDxq3IUNCOBcpPV9Q/9satiaxsMcvI/ovWe9 nglLWznCawBcUo3VD+AFdaCDTu04/QPRUvx3oX2FyybwW5Cl2HFjd+Zb2TPiLXmVS5PE 6v+m94C2056Rz3Qsp12+YivzDnurwvlWpCnVA= 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=g/7II6uvkXF0xpzDNBSxArSzkIsdHQAJ31k5dsKfPFipuM+fWXEAtRQL6XL4Yo9cWv JPHQvrK1cN3hhyKxu+jE8muqv8CkRCxu3/fuQCwehxoC8yOD4qmLUbWwvdLzm3G5xDn4 0xl/sl440DbC1aen51Hvga4/xGpAxr2x2zNn0= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id 26mr628303bkx.123.1266339552789; Tue, 16 Feb 2010 08:59:12 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <005101caaa8d$51368a80$f3a39f80$@com> <[email protected]> <00f301caac73$05065cc0$0f131640$@com> <[email protected]> <[email protected]> <[email protected]> Date: Tue, 16 Feb 2010 08:59:12 -0800 Message-ID: <[email protected]> Subject: Re: Lucene.net in Medium Trust From: Simone Chiaretta <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0015174c33c23586bf047fbaa70d --0015174c33c23586bf047fbaa70d Content-Type: text/plain; charset=ISO-8859-1 Not using integrated security. I know that using a separated process will be better... but if I had the possibility to install a windows service probably I'd not have the problem of medium trust :) The reason is that I've got a public opensource blogging engine that must run on cheap hosting, and they don't allow full trust and for sure not services :) Simo On Tue, Feb 16, 2010 at 8:56 AM, Noel Lysaght <[email protected]> wrote: > If the web-site is using "Integrated Security" then the writes will happen > under the identity of the caller. In this case the folder where the index > data is stored will need to give Read/Write permissions to Authenticated > Users (which is a group on the local machine). > > Ideally the writes should be happing in some form of Windows Service etc, I > presume this was covered earlier on. Doing writes in a web-site/web-service > directly is a bad idea because of concurrency issues on the writers. > > Kind Regards > Noel > > -------------------------------------------------- > From: "Simone Chiaretta" <[email protected]> > Sent: Tuesday, February 16, 2010 4:22 PM > > To: <[email protected]> > Subject: Re: Lucene.net in Medium Trust > > This is the email from the guy that reported the error: >> >> It seems like adding the permission to App_Data (where the indexes are >> located) didn't help. >> >> Any ideas? >> Simone >> >> ----------------------------- >> >> After adding Read/Write/Modify permissions to App_Data for "NETWORK >> SERVICE" (what the app pool is running under), I got the same >> permissions issue... but then also got a new one. >> >> I added the permissions and did a full IISRESET. I then hit the >> successfully upgraded site (going to the admin page). The login screen >> for the admin site came up and I entered my credentials. That's when I >> got the exception we saw earlier: >> >> [SecurityException: Request for the permission of type >> 'System.Security.Permissions.SecurityPermission, mscorlib, >> Version=161.129.204.104, Culture=neutral, PublicKeyToken=b77a5c561934e089' >> failed.] >> FileSupport.Sync(FileStream fileStream) +0 >> Lucene.Net.Store.FSDirectory.Sync(String name) +151 >> Lucene.Net.Index.SegmentInfos.FinishCommit(Directory dir) +171 >> Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean >> create, Boolean closeDir, IndexDeletionPolicy deletionPolicy, Boolean >> autoCommit, Int32 maxFieldLength, IndexingChain indexingChain, >> IndexCommit commit) +257 >> Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean >> closeDir, IndexDeletionPolicy deletionPolicy, Boolean autoCommit, >> Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit commit) >> +110 >> Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, >> MaxFieldLength mfl) +369 >> >> >> Subtext.Framework.Services.SearchEngine.SearchEngineService.EnsureIndexWriter() >> in SearchEngineService.cs:93 >> >> HOWEVER, if I hit reload, I get a new exception: >> >> [LockObtainFailedException: Lock obtain timed out: NativeFSLock@C:\dev >> \subtext\trunk\src\Subtext. >> Web\App_Data\write.lock] >> Lucene.Net.Store.Lock.Obtain(Int64 lockWaitTimeout) +574 >> Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean >> create, Boolean closeDir, IndexDeletionPolicy deletionPolicy, Boolean >> autoCommit, Int32 maxFieldLength, IndexingChain indexingChain, >> IndexCommit commit) +154 >> Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean >> closeDir, IndexDeletionPolicy deletionPolicy, Boolean autoCommit, >> Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit commit) >> +110 >> Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, >> MaxFieldLength mfl) +369 >> >> >> Subtext.Framework.Services.SearchEngine.SearchEngineService.EnsureIndexWriter() >> in SearchEngineService.cs:93 >> >> >> Subtext.Framework.Services.SearchEngine.SearchEngineService.DoWriterAction(Func`2 >> action) in SearchEngineService.cs:77 >> >> Subtext.Framework.Services.SearchEngine.SearchEngineService.get_Searcher() >> in SearchEngineService.cs:100 >> >> >> Subtext.Framework.Services.SearchEngine.SearchEngineService.GetIndexedEntryCount(Int32 >> blogId) in SearchEngineService.cs:159 >> Subtext.Web.Admin.Pages.HomePageDefault.get_IndexedEntryCount() in >> C:\dev\subtext\trunk\src\Subtext.Web\aspx\Admin\default.aspx.cs:43 >> >> Looking in the App_Data folder, there aren't any .lock files. Just >> the .mdf that comes with the source that I'm not using (I have SQL >> Server with a backup copy of my real database so I can test). >> >> Subsequent reloads yield the lock timeout exception over and over. >> >> I tried adding Read/Write/Modify to "EVERYONE" on "App_Data," did >> IISRESET, and got the same results. >> >> ------------ >> >> >> On Sat, Feb 13, 2010 at 3:29 AM, Simone Chiaretta < >> [email protected]> wrote: >> >> Nick, I didn't have time to work on this issue.. I asked to the guy that >>> reported the problem to see if it was a permission problem, but he never >>> get >>> back to me. >>> But I guess it's not as permission problem as he said that with full >>> trust >>> it worked >>> >>> >>> On Sat, Feb 13, 2010 at 7:08 AM, Nicholas Paldino [.NET/C# MVP] < >>> [email protected]> wrote: >>> >>> Simone, >>>> >>>> Was this ever resolved? Was it a permissions issue on the >>>> App_Data >>>> folder, or something else? >>>> >>>> - Nick >>>> >>>> -----Original Message----- >>>> From: Simone Chiaretta [mailto:[email protected]] >>>> Sent: Wednesday, February 10, 2010 6:57 PM >>>> To: [email protected] >>>> Subject: Re: Lucene.net in Medium Trust >>>> >>>> It's the App_Data folder of a web app... it *should* have write access >>>> to >>>> it. >>>> I'll check it out >>>> Simo >>>> >>>> On Wed, Feb 10, 2010 at 9:12 PM, Digy <[email protected]> wrote: >>>> >>>> > Hi Simone, >>>> > >>>> > Can you try to open/create a file in that directory within your >>>> app(without >>>> > using Lucene.NET) to narrow down the source of the problem. >>>> > >>>> > DIGY >>>> > >>>> > -----Original Message----- >>>> > From: Simone Chiaretta [mailto:[email protected]] >>>> > Sent: Wednesday, February 10, 2010 9:46 PM >>>> > To: lucene-net-user >>>> > Subject: Lucene.net in Medium Trust >>>> > >>>> > Hi all, >>>> > we are starting to do the final testing with the new release of > >>>> Subtext >>>> > which has a Lucene.net based search engine. >>>> > But we are finding a strange error, related to a SecurityPermission > >>>> when >>>> > running in medium trust >>>> > >>>> > there is the stack trace of the error: >>>> > >>>> > [SecurityException: Request for the permission of type >>>> > 'System.Security.Permissions. >>>> > SecurityPermission, mscorlib, >>>> > Version=161.129.204.104, Culture=neutral, PublicKeyToken=b77a5c561934e089' >>>> > failed.] >>>> > FileSupport.Sync(FileStream fileStream) +0 >>>> > Lucene.Net.Store.FSDirectory.Sync(String name) +151 >>>> > Lucene.Net.Index.SegmentInfos.FinishCommit(Directory dir) +171 >>>> > Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean >>>> > create, Boolean closeDir, IndexDeletionPolicy deletionPolicy, Boolean >>>> > autoCommit, Int32 maxFieldLength, IndexingChain indexingChain, >>>> > IndexCommit commit) +257 >>>> > Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean >>>> > closeDir, IndexDeletionPolicy deletionPolicy, Boolean autoCommit, >>>> > Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit commit) >>>> > +110 >>>> > Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, >>>> > MaxFieldLength mfl) +369 >>>> > >>>> > >>>> > >>>> >>>> >>>> Subtext.Framework.Services.SearchEngine.SearchEngineService.EnsureIndexWrite >>>> > r() >>>> > in SearchEngineService.cs:93 >>>> > >>>> > The line of code that causes the error is >>>> > >>>> > _writer = new IndexWriter(_directory, >>>> > _analyzer,IndexWriter.MaxFieldLength.UNLIMITED); >>>> > >>>> > where _directory is >>>> > FSDirectory.Open(new >>>> > DirectoryInfo(HttpContext.Server.MapPath("~/App_Data")))) >>>> > >>>> > We are using one of the latest versions (retrieved from the trunk > >>>> around >>>> > the >>>> > beginning of January) .. 2.9.1 I guess >>>> > >>>> > I read you should have fixed the problem in 2.3.2 ( >>>> > http://issues.apache.org/jira/browse/LUCENENET-169) but this problem >>>> > is >>>> > happening again here. >>>> > >>>> > Any idea on what is happening here? >>>> > >>>> > Thx >>>> > Simone >>>> > >>>> > -- >>>> > Simone Chiaretta >>>> > Microsoft MVP ASP.NET - ASPInsider >>>> > Blog: http://codeclimber.net.nz >>>> > RSS: http://feeds2.feedburner.com/codeclimber >>>> > twitter: @simonech >>>> > >>>> > Any sufficiently advanced technology is indistinguishable from magic >>>> > "Life is short, play hard" >>>> > >>>> > >>>> >>>> >>>> -- >>>> Simone Chiaretta >>>> Microsoft MVP ASP.NET - ASPInsider >>>> Blog: http://codeclimber.net.nz >>>> RSS: http://feeds2.feedburner.com/codeclimber >>>> twitter: @simonech >>>> >>>> Any sufficiently advanced technology is indistinguishable from magic >>>> "Life is short, play hard" >>>> >>>> >>> >>> >>> -- >>> Simone Chiaretta >>> Microsoft MVP ASP.NET - ASPInsider >>> Blog: http://codeclimber.net.nz >>> RSS: http://feeds2.feedburner.com/codeclimber >>> twitter: @simonech >>> >>> Any sufficiently advanced technology is indistinguishable from magic >>> "Life is short, play hard" >>> >>> >> >> >> -- >> Simone Chiaretta >> Microsoft MVP ASP.NET - ASPInsider >> Blog: http://codeclimber.net.nz >> RSS: http://feeds2.feedburner.com/codeclimber >> twitter: @simonech >> >> Any sufficiently advanced technology is indistinguishable from magic >> "Life is short, play hard" >> >> -- Simone Chiaretta Microsoft MVP ASP.NET - ASPInsider Blog: http://codeclimber.net.nz RSS: http://feeds2.feedburner.com/codeclimber twitter: @simonech Any sufficiently advanced technology is indistinguishable from magic "Life is short, play hard" --0015174c33c23586bf047fbaa70d-- From [email protected] Tue Feb 16 17:00:10 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29039 invoked from network); 16 Feb 2010 17:00:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Feb 2010 17:00:10 -0000 Received: (qmail 66498 invoked by uid 500); 16 Feb 2010 17:00:10 -0000 Delivered-To: [email protected] Received: (qmail 66437 invoked by uid 500); 16 Feb 2010 17:00:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 66427 invoked by uid 99); 16 Feb 2010 17:00:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Feb 2010 17:00:10 +0000 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f217.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Feb 2010 16:59:57 +0000 Received: by bwz9 with SMTP id 9so1398960bwz.5 for <[email protected]>; Tue, 16 Feb 2010 08:59:37 -0800 (PST) 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=Q1KCxodMPqkZUdk+Te1Zlfnp3OCzzG4DbdTNoC49iyc=; b=OOiWmDRKnsaiohW/lFly+U1pY9jtnaXfRMBj8HuJt5+LGTQ10lxEH3BbBJesjzQhId UBGeDHAODpLocAbpMGmI8nwD1NQiTOM50HiAyS3HIm6aJLYsiQm0Vh3dM4vBh3hWnfHb IcmbEf4auLad2npca5IzoTVRbQ6J3BZ9DaFy0= 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=Q3FecGhaMdLHYgAYmaB1dgz0fbImj5XDMG6vUUoqVmxatOHSoo+ElJKdxpriEHoxgE FGDhchdhOw3LoCfWO1gp1km1SU8P+jtFaGAdXtHYl/rbrCLxea0YDxCT56UjqSestDq+ 1JiWq28l7nZpL0cx+yOOdElNfb5rbN+5mjAzk= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id p10mr2452797bkp.71.1266339577527; Tue, 16 Feb 2010 08:59:37 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <005101caaa8d$51368a80$f3a39f80$@com> <[email protected]> <00f301caac73$05065cc0$0f131640$@com> <[email protected]> <[email protected]> <[email protected]> Date: Tue, 16 Feb 2010 08:59:37 -0800 Message-ID: <[email protected]> Subject: Re: Lucene.net in Medium Trust From: Simone Chiaretta <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00032555a8d2aefdf2047fbaa8da X-Virus-Checked: Checked by ClamAV on apache.org --00032555a8d2aefdf2047fbaa8da Content-Type: text/plain; charset=ISO-8859-1 I'll have a try.. thx Simo On Tue, Feb 16, 2010 at 8:39 AM, digy digy <[email protected]> wrote: > The reason may be the "FlushFileBuffers" in > "SupportClass.FileSupport.Sync". > Can you change the code as below and try again? > > public static void Sync(System.IO.FileStream fileStream) > { > if (fileStream == null) throw new ArgumentNullException("fileStream"); > fileStream.Flush(); > } > > DIGY > > On Tue, Feb 16, 2010 at 6:22 PM, Simone Chiaretta < > [email protected]> wrote: > > > This is the email from the guy that reported the error: > > > > It seems like adding the permission to App_Data (where the indexes are > > located) didn't help. > > > > Any ideas? > > Simone > > > > ----------------------------- > > > > After adding Read/Write/Modify permissions to App_Data for "NETWORK > > SERVICE" (what the app pool is running under), I got the same > > permissions issue... but then also got a new one. > > > > I added the permissions and did a full IISRESET. I then hit the > > successfully upgraded site (going to the admin page). The login screen > > for the admin site came up and I entered my credentials. That's when I > > got the exception we saw earlier: > > > > [SecurityException: Request for the permission of type > > 'System.Security.Permissions.SecurityPermission, mscorlib, > > Version=161.129.204.104, Culture=neutral, PublicKeyToken=b77a5c561934e089' > > failed.] > > FileSupport.Sync(FileStream fileStream) +0 > > Lucene.Net.Store.FSDirectory.Sync(String name) +151 > > Lucene.Net.Index.SegmentInfos.FinishCommit(Directory dir) +171 > > Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean > > create, Boolean closeDir, IndexDeletionPolicy deletionPolicy, Boolean > > autoCommit, Int32 maxFieldLength, IndexingChain indexingChain, > > IndexCommit commit) +257 > > Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean > > closeDir, IndexDeletionPolicy deletionPolicy, Boolean autoCommit, > > Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit commit) > > +110 > > Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, > > MaxFieldLength mfl) +369 > > > > > > > Subtext.Framework.Services.SearchEngine.SearchEngineService.EnsureIndexWriter() > > in SearchEngineService.cs:93 > > > > HOWEVER, if I hit reload, I get a new exception: > > > > [LockObtainFailedException: Lock obtain timed out: NativeFSLock@C:\dev > > \subtext\trunk\src\Subtext. > > Web\App_Data\write.lock] > > Lucene.Net.Store.Lock.Obtain(Int64 lockWaitTimeout) +574 > > Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean > > create, Boolean closeDir, IndexDeletionPolicy deletionPolicy, Boolean > > autoCommit, Int32 maxFieldLength, IndexingChain indexingChain, > > IndexCommit commit) +154 > > Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean > > closeDir, IndexDeletionPolicy deletionPolicy, Boolean autoCommit, > > Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit commit) > > +110 > > Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, > > MaxFieldLength mfl) +369 > > > > > > > Subtext.Framework.Services.SearchEngine.SearchEngineService.EnsureIndexWriter() > > in SearchEngineService.cs:93 > > > > > > > Subtext.Framework.Services.SearchEngine.SearchEngineService.DoWriterAction(Func`2 > > action) in SearchEngineService.cs:77 > > > > > Subtext.Framework.Services.SearchEngine.SearchEngineService.get_Searcher() > > in SearchEngineService.cs:100 > > > > > > > Subtext.Framework.Services.SearchEngine.SearchEngineService.GetIndexedEntryCount(Int32 > > blogId) in SearchEngineService.cs:159 > > Subtext.Web.Admin.Pages.HomePageDefault.get_IndexedEntryCount() in > > C:\dev\subtext\trunk\src\Subtext.Web\aspx\Admin\default.aspx.cs:43 > > > > Looking in the App_Data folder, there aren't any .lock files. Just > > the .mdf that comes with the source that I'm not using (I have SQL > > Server with a backup copy of my real database so I can test). > > > > Subsequent reloads yield the lock timeout exception over and over. > > > > I tried adding Read/Write/Modify to "EVERYONE" on "App_Data," did > > IISRESET, and got the same results. > > > > ------------ > > > > > > On Sat, Feb 13, 2010 at 3:29 AM, Simone Chiaretta < > > [email protected]> wrote: > > > > > Nick, I didn't have time to work on this issue.. I asked to the guy > that > > > reported the problem to see if it was a permission problem, but he > never > > get > > > back to me. > > > But I guess it's not as permission problem as he said that with full > > trust > > > it worked > > > > > > > > > On Sat, Feb 13, 2010 at 7:08 AM, Nicholas Paldino [.NET/C# MVP] < > > > [email protected]> wrote: > > > > > >> Simone, > > >> > > >> Was this ever resolved? Was it a permissions issue on the > > App_Data > > >> folder, or something else? > > >> > > >> - Nick > > >> > > >> -----Original Message----- > > >> From: Simone Chiaretta [mailto:[email protected]] > > >> Sent: Wednesday, February 10, 2010 6:57 PM > > >> To: [email protected] > > >> Subject: Re: Lucene.net in Medium Trust > > >> > > >> It's the App_Data folder of a web app... it *should* have write access > > to > > >> it. > > >> I'll check it out > > >> Simo > > >> > > >> On Wed, Feb 10, 2010 at 9:12 PM, Digy <[email protected]> wrote: > > >> > > >> > Hi Simone, > > >> > > > >> > Can you try to open/create a file in that directory within your > > >> app(without > > >> > using Lucene.NET) to narrow down the source of the problem. > > >> > > > >> > DIGY > > >> > > > >> > -----Original Message----- > > >> > From: Simone Chiaretta [mailto:[email protected]] > > >> > Sent: Wednesday, February 10, 2010 9:46 PM > > >> > To: lucene-net-user > > >> > Subject: Lucene.net in Medium Trust > > >> > > > >> > Hi all, > > >> > we are starting to do the final testing with the new release of > > Subtext > > >> > which has a Lucene.net based search engine. > > >> > But we are finding a strange error, related to a SecurityPermission > > when > > >> > running in medium trust > > >> > > > >> > there is the stack trace of the error: > > >> > > > >> > [SecurityException: Request for the permission of type > > >> > 'System.Security.Permissions. > > >> > SecurityPermission, mscorlib, > > >> > Version=161.129.204.104, Culture=neutral, PublicKeyToken=b77a5c561934e089' > > >> > failed.] > > >> > FileSupport.Sync(FileStream fileStream) +0 > > >> > Lucene.Net.Store.FSDirectory.Sync(String name) +151 > > >> > Lucene.Net.Index.SegmentInfos.FinishCommit(Directory dir) +171 > > >> > Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean > > >> > create, Boolean closeDir, IndexDeletionPolicy deletionPolicy, > Boolean > > >> > autoCommit, Int32 maxFieldLength, IndexingChain indexingChain, > > >> > IndexCommit commit) +257 > > >> > Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean > > >> > closeDir, IndexDeletionPolicy deletionPolicy, Boolean autoCommit, > > >> > Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit > commit) > > >> > +110 > > >> > Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, > > >> > MaxFieldLength mfl) +369 > > >> > > > >> > > > >> > > > >> > > >> > > > Subtext.Framework.Services.SearchEngine.SearchEngineService.EnsureIndexWrite > > >> > r() > > >> > in SearchEngineService.cs:93 > > >> > > > >> > The line of code that causes the error is > > >> > > > >> > _writer = new IndexWriter(_directory, > > >> > _analyzer,IndexWriter.MaxFieldLength.UNLIMITED); > > >> > > > >> > where _directory is > > >> > FSDirectory.Open(new > > >> > DirectoryInfo(HttpContext.Server.MapPath("~/App_Data")))) > > >> > > > >> > We are using one of the latest versions (retrieved from the trunk > > around > > >> > the > > >> > beginning of January) .. 2.9.1 I guess > > >> > > > >> > I read you should have fixed the problem in 2.3.2 ( > > >> > http://issues.apache.org/jira/browse/LUCENENET-169) but this > problem > > is > > >> > happening again here. > > >> > > > >> > Any idea on what is happening here? > > >> > > > >> > Thx > > >> > Simone > > >> > > > >> > -- > > >> > Simone Chiaretta > > >> > Microsoft MVP ASP.NET - ASPInsider > > >> > Blog: http://codeclimber.net.nz > > >> > RSS: http://feeds2.feedburner.com/codeclimber > > >> > twitter: @simonech > > >> > > > >> > Any sufficiently advanced technology is indistinguishable from magic > > >> > "Life is short, play hard" > > >> > > > >> > > > >> > > >> > > >> -- > > >> Simone Chiaretta > > >> Microsoft MVP ASP.NET - ASPInsider > > >> Blog: http://codeclimber.net.nz > > >> RSS: http://feeds2.feedburner.com/codeclimber > > >> twitter: @simonech > > >> > > >> Any sufficiently advanced technology is indistinguishable from magic > > >> "Life is short, play hard" > > >> > > > > > > > > > > > > -- > > > Simone Chiaretta > > > Microsoft MVP ASP.NET - ASPInsider > > > Blog: http://codeclimber.net.nz > > > RSS: http://feeds2.feedburner.com/codeclimber > > > twitter: @simonech > > > > > > Any sufficiently advanced technology is indistinguishable from magic > > > "Life is short, play hard" > > > > > > > > > > > -- > > Simone Chiaretta > > Microsoft MVP ASP.NET - ASPInsider > > Blog: http://codeclimber.net.nz > > RSS: http://feeds2.feedburner.com/codeclimber > > twitter: @simonech > > > > Any sufficiently advanced technology is indistinguishable from magic > > "Life is short, play hard" > > > -- Simone Chiaretta Microsoft MVP ASP.NET - ASPInsider Blog: http://codeclimber.net.nz RSS: http://feeds2.feedburner.com/codeclimber twitter: @simonech Any sufficiently advanced technology is indistinguishable from magic "Life is short, play hard" --00032555a8d2aefdf2047fbaa8da-- From [email protected] Tue Feb 23 11:59:45 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93342 invoked from network); 23 Feb 2010 11:59:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Feb 2010 11:59:45 -0000 Received: (qmail 84588 invoked by uid 500); 23 Feb 2010 11:59:44 -0000 Delivered-To: [email protected] Received: (qmail 84532 invoked by uid 500); 23 Feb 2010 11:59:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84522 invoked by uid 99); 23 Feb 2010 11:59:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Feb 2010 11:59:43 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f221.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Feb 2010 11:59:33 +0000 Received: by fxm21 with SMTP id 21so511724fxm.5 for <[email protected]>; Tue, 23 Feb 2010 03:59:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type:subject :date:references:to:message-id:mime-version:x-mailer; bh=9bdeCRBWItNytKMmG5VhgR6vVn8+wYO6Ac66glviGp8=; b=q8U54h7smD+5rMpln2BEoe6VB0lperE5jdpti/OzGGxe+ypPuGE9vYNCDTotaXyDB1 aRPrpLvngdRFV9qpvkxPqy/0XVGCO+yr8DKKKE95i/5oqpeyhw+aJ1yhNCakvEKEM/sd 2bqyya30RpGGqvPAsl2qTwa5HAH7V7RtHZqxQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:subject:date:references:to:message-id :mime-version:x-mailer; b=UlRowoz6nD1SGYyk0JthL2r0EOyoEPpUd9upCfjtbPbgMpi2tIN1fUUVwOZpDmlYMv LBlV3B1aYi5tHid9zxKeUS9icP90+dLfEC1U5IXRG61okUQ67zqutyeHVAhTyxvmdL74 GCXSqEk0pxRkZ/VNLKRCZFrBReUYlhpF29R9w= Received: by 161.129.204.104 with SMTP id 4mr7371439fay.92.1266926353051; Tue, 23 Feb 2010 03:59:13 -0800 (PST) Received: from ?161.129.204.104? ([161.129.204.104]) by mx.google.com with ESMTPS id 15sm2354111fxm.8.2161.129.204.104.59.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 23 Feb 2010 03:59:11 -0800 (PST) From: Giovanni Caputo <[email protected]> Content-Type: multipart/alternative; boundary=Apple-Mail-2-856340578 Subject: Fwd: text as query of search Date: Tue, 23 Feb 2010 12:59:09 +0100 References: <[email protected]> To: [email protected], [email protected], [email protected], [email protected], [email protected] Message-Id: <[email protected]> Mime-Version: 1.0 (Apple Message framework v1077) X-Mailer: Apple Mail (2.1077) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-2-856340578 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Inizio messaggio inoltrato: > Da: Giovanni Caputo <[email protected]> > Data: 23 febbraio 2010 12.54.46 GMT+01.00 > A: [email protected], [email protected], = [email protected], [email protected], [email protected] > Oggetto: text as query of search >=20 > Hi, > how can i get documents similar to a long text?? >=20 > I am using lucene.net 2.4 >=20 > I have tested to use Query query =3D parser.Parse(ua.TestoCompleto); > where ua.TestoCompleto is a String >=20 >=20 > I have created QueryParser parser =3D new QueryParser(INDEX_PATH, = analyzer); > as same mode of indexwriter >=20 >=20 > but it generate this exception >=20 > A first chance exception of type = 'Lucene.Net.QueryParsers.ParseException' occurred in Lucene.Net.dll > Encountered ":" at line 1, column 0. > Was expecting one of: > <NOT> ... > "+" ... > "-" ... > "(" ... > <QUOTED> ... > <TERM> ... > <PREFIXTERM> ... > <WILDTERM> ... > "[" ... > "{" ... > <NUMBER> ... >=20 >=20 --Apple-Mail-2-856340578-- From [email protected] Tue Feb 23 13:11:33 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29975 invoked from network); 23 Feb 2010 13:11:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Feb 2010 13:11:33 -0000 Received: (qmail 94642 invoked by uid 500); 23 Feb 2010 13:11:33 -0000 Delivered-To: [email protected] Received: (qmail 94587 invoked by uid 500); 23 Feb 2010 13:11:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 94577 invoked by uid 99); 23 Feb 2010 13:11:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Feb 2010 13:11:33 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.aes2.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Feb 2010 13:11:21 +0000 Received: from EVE.aes2.local (EVE [161.129.204.104]) by mail.aes2.com with SMTP; Tue, 23 Feb 2010 07:09:20 -0600 Received: from EVE.aes2.local ([acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b]) by EVE.aes2.local ([acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b]) with mapi; Tue, 23 Feb 2010 07:09:47 -0600 From: Heath Aldrich <[email protected]> To: "<[email protected]>" <[email protected]> Subject: Re: text as query of search Thread-Topic: text as query of search Thread-Index: AQHKtH+W6sLcG2+Q4EeywfXvs5stxZHUDsuA Date: Tue, 23 Feb 2010 13:10:43 +0000 Message-ID: <[email protected]> References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="us-ascii" Content-ID: <9f2dad90-0100-44d3-a387-a8ea216e16c0> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Sounds like perhaps you passed a colon in as part of your search string. Sent from my mobile phone. Please excuse any spelling or gramatical errors. On Feb 23, 2010, at 5:59 AM, "Giovanni Caputo" <[email protected]= =20 > wrote: > > > Inizio messaggio inoltrato: > >> Da: Giovanni Caputo <[email protected]> >> Data: 23 febbraio 2010 12.54.46 GMT+01.00 >> A: [email protected], [email protected], [email protected].= com=20 >> , [email protected], [email protected] >> Oggetto: text as query of search >> >> Hi, >> how can i get documents similar to a long text?? >> >> I am using lucene.net 2.4 >> >> I have tested to use Query query =3D parser.Parse(ua.TestoCompleto); >> where ua.TestoCompleto is a String >> >> >> I have created QueryParser parser =3D new QueryParser(INDEX_PATH, =20 >> analyzer); >> as same mode of indexwriter >> >> >> but it generate this exception >> >> A first chance exception of type =20 >> 'Lucene.Net.QueryParsers.ParseException' occurred in Lucene.Net.dll >> Encountered ":" at line 1, column 0. >> Was expecting one of: >> <NOT> ... >> "+" ... >> "-" ... >> "(" ... >> <QUOTED> ... >> <TERM> ... >> <PREFIXTERM> ... >> <WILDTERM> ... >> "[" ... >> "{" ... >> <NUMBER> ... >> >> > From [email protected] Tue Feb 23 14:31:26 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73642 invoked from network); 23 Feb 2010 14:31:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Feb 2010 14:31:26 -0000 Received: (qmail 45762 invoked by uid 500); 23 Feb 2010 14:31:26 -0000 Delivered-To: [email protected] Received: (qmail 45725 invoked by uid 500); 23 Feb 2010 14:31:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 45715 invoked by uid 99); 23 Feb 2010 14:31:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Feb 2010 14:31:26 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f221.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Feb 2010 14:31:15 +0000 Received: by fxm21 with SMTP id 21so668521fxm.5 for <[email protected]>; Tue, 23 Feb 2010 06:30:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=zvlQ5Nz6iJJ3uTLpWAZUp2nT5FeDealeMnKh+W8b1a8=; b=hfrPyREyIykGF4BQ6ctkE8dUVTlhZ0pRxz46LxJCPMqo0F/J+KzCMGaTNvrErkJn5u 7v+P1uDVydTxNNlj7P/WmGTHLSi7EJEFrMpASOudeoe3NZwd3c0GBz8tb8BSzjn3u1QT 4b00dxch2SKcH9P7wMEdhVwA7pr3Fy17nUxtk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=mhbUzv6oWzywNM+IfeS3K6sf8dik+hV69T9eSenvp0zFqaHppx5b7ospPjVrtCAVmh Kwxv9WMx1ntJkMuaRPYqgo/ca1bdVE1Qb0W63UUIItk+791S8uRysZG1FszM1pZy+JPC guSYDC5srXQ+ZBvi9tpYy2jdmKSen2iqnU5co= Received: by 161.129.204.104 with SMTP id a15mr4710102fgl.50.1266935454861; Tue, 23 Feb 2010 06:30:54 -0800 (PST) Received: from ?161.129.204.104? ([161.129.204.104]) by mx.google.com with ESMTPS id 12sm11276338fgg.23.2161.129.204.104.30.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 23 Feb 2010 06:30:53 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1077) Subject: Re: text as query of search From: Giovanni Caputo <[email protected]> In-Reply-To: <[email protected]> Date: Tue, 23 Feb 2010 15:30:45 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> To: [email protected] X-Mailer: Apple Mail (2.1077) X-Virus-Checked: Checked by ClamAV on apache.org I don't understand you... I want a list of similary documents of new document.=20 I have seen the text of new document and there are ":" ... this = character give problem... But also other caracter, for example "(" can make problem... Ho can resolve this problem?? Thanks Il giorno 23/feb/2010, alle ore 14.10, Heath Aldrich ha scritto: > Sounds like perhaps you passed a colon in as part of your search = string. >=20 > Sent from my mobile phone. > Please excuse any spelling or gramatical errors. >=20 > On Feb 23, 2010, at 5:59 AM, "Giovanni Caputo" = <[email protected]=20 >> wrote: >=20 >>=20 >>=20 >> Inizio messaggio inoltrato: >>=20 >>> Da: Giovanni Caputo <[email protected]> >>> Data: 23 febbraio 2010 12.54.46 GMT+01.00 >>> A: [email protected], [email protected], = [email protected]=20 >>> , [email protected], [email protected] >>> Oggetto: text as query of search >>>=20 >>> Hi, >>> how can i get documents similar to a long text?? >>>=20 >>> I am using lucene.net 2.4 >>>=20 >>> I have tested to use Query query =3D parser.Parse(ua.TestoCompleto); >>> where ua.TestoCompleto is a String >>>=20 >>>=20 >>> I have created QueryParser parser =3D new QueryParser(INDEX_PATH, =20= >>> analyzer); >>> as same mode of indexwriter >>>=20 >>>=20 >>> but it generate this exception >>>=20 >>> A first chance exception of type =20 >>> 'Lucene.Net.QueryParsers.ParseException' occurred in Lucene.Net.dll >>> Encountered ":" at line 1, column 0. >>> Was expecting one of: >>> <NOT> ... >>> "+" ... >>> "-" ... >>> "(" ... >>> <QUOTED> ... >>> <TERM> ... >>> <PREFIXTERM> ... >>> <WILDTERM> ... >>> "[" ... >>> "{" ... >>> <NUMBER> ... >>>=20 >>>=20 >>=20 >=20 From [email protected] Tue Feb 23 14:44:43 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80409 invoked from network); 23 Feb 2010 14:44:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Feb 2010 14:44:43 -0000 Received: (qmail 76470 invoked by uid 500); 23 Feb 2010 14:44:42 -0000 Delivered-To: [email protected] Received: (qmail 76401 invoked by uid 500); 23 Feb 2010 14:44:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 76391 invoked by uid 99); 23 Feb 2010 14:44:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Feb 2010 14:44:42 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.aes2.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Feb 2010 14:44:33 +0000 Received: from EVE.aes2.local (EVE [161.129.204.104]) by mail.aes2.com with SMTP; Tue, 23 Feb 2010 08:42:30 -0600 Received: from EVE.aes2.local ([acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b]) by EVE.aes2.local ([acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b]) with mapi; Tue, 23 Feb 2010 08:42:58 -0600 From: Heath Aldrich <[email protected]> To: "[email protected]" <[email protected]> Subject: RE: text as query of search Thread-Topic: text as query of search Thread-Index: AQHKtH+W6sLcG2+Q4EeywfXvs5stxZHUDsuAgAAWXID//55FMA== Date: Tue, 23 Feb 2010 14:42:57 +0000 Message-ID: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Take a look in the docs for restricted characters. I don't recall for certain, but I believe the ":" is not allowed to be in y= our search string. A ":" is normally used when you're indicating what field to search. E.g. = SEARCHFIELD:search string You'll find several characters are not allowed... I'd advise you to check i= n the docs (or even the java lucene docs), there is quite a bit of info abo= ut restricted or non-allowed characters. -----Original Message----- From: Giovanni Caputo [mailto:[email protected]]=20 Sent: Tuesday, February 23, 2010 8:31 AM To: [email protected] Subject: Re: text as query of search I don't understand you... I want a list of similary documents of new document.=20 I have seen the text of new document and there are ":" ... this character g= ive problem... But also other caracter, for example "(" can make problem... Ho can resolve this problem?? Thanks Il giorno 23/feb/2010, alle ore 14.10, Heath Aldrich ha scritto: > Sounds like perhaps you passed a colon in as part of your search string. >=20 > Sent from my mobile phone. > Please excuse any spelling or gramatical errors. >=20 > On Feb 23, 2010, at 5:59 AM, "Giovanni Caputo" <[email protected]= m=20 >> wrote: >=20 >>=20 >>=20 >> Inizio messaggio inoltrato: >>=20 >>> Da: Giovanni Caputo <[email protected]> >>> Data: 23 febbraio 2010 12.54.46 GMT+01.00 >>> A: [email protected], [email protected], digydigy@gmail= .com=20 >>> , [email protected], [email protected] >>> Oggetto: text as query of search >>>=20 >>> Hi, >>> how can i get documents similar to a long text?? >>>=20 >>> I am using lucene.net 2.4 >>>=20 >>> I have tested to use Query query =3D parser.Parse(ua.TestoCompleto); >>> where ua.TestoCompleto is a String >>>=20 >>>=20 >>> I have created QueryParser parser =3D new QueryParser(INDEX_PATH, =20 >>> analyzer); >>> as same mode of indexwriter >>>=20 >>>=20 >>> but it generate this exception >>>=20 >>> A first chance exception of type =20 >>> 'Lucene.Net.QueryParsers.ParseException' occurred in Lucene.Net.dll >>> Encountered ":" at line 1, column 0. >>> Was expecting one of: >>> <NOT> ... >>> "+" ... >>> "-" ... >>> "(" ... >>> <QUOTED> ... >>> <TERM> ... >>> <PREFIXTERM> ... >>> <WILDTERM> ... >>> "[" ... >>> "{" ... >>> <NUMBER> ... >>>=20 >>>=20 >>=20 >=20 From [email protected] Tue Feb 23 14:54:11 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86233 invoked from network); 23 Feb 2010 14:54:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Feb 2010 14:54:11 -0000 Received: (qmail 95167 invoked by uid 500); 23 Feb 2010 14:54:10 -0000 Delivered-To: [email protected] Received: (qmail 95103 invoked by uid 500); 23 Feb 2010 14:54:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 95093 invoked by uid 99); 23 Feb 2010 14:54:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Feb 2010 14:54:10 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f217.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Feb 2010 14:53:59 +0000 Received: by bwz9 with SMTP id 9so2613143bwz.5 for <[email protected]>; Tue, 23 Feb 2010 06:53:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:mime-version :content-type:subject:date:in-reply-to:to:references:message-id :x-mailer; bh=BzG5aQpeu/CIfPvCBHHpJuu9NIYY905J+L8z+/gskfU=; b=j2Ol9ULrmpEXC84UFSPB7/5awCh+wpqE2gRr1r/BFSYu5Gux/zbd7BEN4vBvArUOnY 8rVUOrlvqznqFsjjJIv46NjxAfOnvyE8PRhdo4aFJuATO0NG+BWQFeBy6I+jQsdg8Rpw eefR8pTwIEl1WKUjQ35K+/2Oqo6HFt6B73ErI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; b=hwUShu2pRYEJzWTs2EW7vlk5DfxWCgP5lzfeF8zqkEaGzsHdwpzYLeUdIL2RhOGXpd YqMOLvzVtTsxxqnfECR/hdx83fvaAOQ4DtbumtJRGsI6pFPtHJPyK+Z9fw5DJFG/lX1k Pixm254F7cx6F38yaeYz6EpuuiUmmy4e8d+8M= Received: by 161.129.204.104 with SMTP id j2mr3410476bkd.202.1266936819136; Tue, 23 Feb 2010 06:53:39 -0800 (PST) Received: from ?161.129.204.104? ([161.129.204.104]) by mx.google.com with ESMTPS id 13sm1890503bwz.3.2161.129.204.104.53.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 23 Feb 2010 06:53:38 -0800 (PST) From: Giovanni Caputo <[email protected]> Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: multipart/alternative; boundary=Apple-Mail-4-866806801 Subject: Re: text as query of search Date: Tue, 23 Feb 2010 15:53:35 +0100 In-Reply-To: <[email protected]> To: [email protected] References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Message-Id: <[email protected]> X-Mailer: Apple Mail (2.1077) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-4-866806801 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Yes, I can use doc for see not-allowed characters.... but why i must specify Analyzer on QueryParser=20 if it is not used? There are other mode for obtain similar documents to new document? Thanks very much Il giorno 23/feb/2010, alle ore 15.42, Heath Aldrich ha scritto: > Take a look in the docs for restricted characters. > I don't recall for certain, but I believe the ":" is not allowed to be = in your search string. >=20 > A ":" is normally used when you're indicating what field to search. = E.g. SEARCHFIELD:search string >=20 > You'll find several characters are not allowed... I'd advise you to = check in the docs (or even the java lucene docs), there is quite a bit = of info about restricted or non-allowed characters. >=20 >=20 > -----Original Message----- > From: Giovanni Caputo [mailto:[email protected]]=20 > Sent: Tuesday, February 23, 2010 8:31 AM > To: [email protected] > Subject: Re: text as query of search >=20 > I don't understand you... > I want a list of similary documents of new document.=20 >=20 >=20 > I have seen the text of new document and there are ":" ... this = character give problem... >=20 > But also other caracter, for example "(" can make problem... >=20 > Ho can resolve this problem?? > Thanks >=20 >=20 >=20 >=20 >=20 > Il giorno 23/feb/2010, alle ore 14.10, Heath Aldrich ha scritto: >=20 >> Sounds like perhaps you passed a colon in as part of your search = string. >>=20 >> Sent from my mobile phone. >> Please excuse any spelling or gramatical errors. >>=20 >> On Feb 23, 2010, at 5:59 AM, "Giovanni Caputo" = <[email protected]=20 >>> wrote: >>=20 >>>=20 >>>=20 >>> Inizio messaggio inoltrato: >>>=20 >>>> Da: Giovanni Caputo <[email protected]> >>>> Data: 23 febbraio 2010 12.54.46 GMT+01.00 >>>> A: [email protected], [email protected], = [email protected]=20 >>>> , [email protected], [email protected] >>>> Oggetto: text as query of search >>>>=20 >>>> Hi, >>>> how can i get documents similar to a long text?? >>>>=20 >>>> I am using lucene.net 2.4 >>>>=20 >>>> I have tested to use Query query =3D = parser.Parse(ua.TestoCompleto); >>>> where ua.TestoCompleto is a String >>>>=20 >>>>=20 >>>> I have created QueryParser parser =3D new QueryParser(INDEX_PATH, =20= >>>> analyzer); >>>> as same mode of indexwriter >>>>=20 >>>>=20 >>>> but it generate this exception >>>>=20 >>>> A first chance exception of type =20 >>>> 'Lucene.Net.QueryParsers.ParseException' occurred in Lucene.Net.dll >>>> Encountered ":" at line 1, column 0. >>>> Was expecting one of: >>>> <NOT> ... >>>> "+" ... >>>> "-" ... >>>> "(" ... >>>> <QUOTED> ... >>>> <TERM> ... >>>> <PREFIXTERM> ... >>>> <WILDTERM> ... >>>> "[" ... >>>> "{" ... >>>> <NUMBER> ... >>>>=20 >>>>=20 >>>=20 >>=20 >=20 >=20 >=20 --Apple-Mail-4-866806801-- From [email protected] Tue Feb 23 15:17:44 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2359 invoked from network); 23 Feb 2010 15:17:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Feb 2010 15:17:44 -0000 Received: (qmail 45471 invoked by uid 500); 23 Feb 2010 15:17:44 -0000 Delivered-To: [email protected] Received: (qmail 45400 invoked by uid 500); 23 Feb 2010 15:17:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 80492 invoked by uid 99); 23 Feb 2010 11:55:21 -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 [email protected] designates 161.129.204.104 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type:subject :date:message-id:to:mime-version:x-mailer; bh=S6ZJ8CVB33Q8K/KRYxsfmcb7L+j4Zo5jYII57vizjjw=; b=TLhvEH9rNUWzVzZx2wejvAufrEmvVytCjfypfKCLByTqNVUVWgAT57wU1c4qZ/7KqD HZV+iVDi5WA8+DZ1eE7HCmcI5++9nk0N6IvaGU+nArO543B3DO9lil/Unz1nnO0Cm/X0 M4fNQR/0s3sQgqv7fshFRqkkYYOI5v1nImtl8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:subject:date:message-id:to:mime-version:x-mailer; b=H5n+eycS/5CC/92P3Ge1bVoqvyads15INtUDe0o2UDYD4jRKhIo5o8U2059STnEPrg 921/fAo1KeHsuR+Zo60M1XufxZ9kdU9txqrOcSsp+YO3spCecp5n+6ijl4IjmMOnLBDI YMuVr8uJZTJSQmrIDQFxA6hjf38VxXZbBliEw= From: Giovanni Caputo <[email protected]> Content-Type: multipart/alternative; boundary=Apple-Mail-1-856077505 Subject: text as query of search Date: Tue, 23 Feb 2010 12:54:46 +0100 Message-Id: <[email protected]> To: [email protected], [email protected], [email protected], [email protected], [email protected] Mime-Version: 1.0 (Apple Message framework v1077) X-Mailer: Apple Mail (2.1077) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-1-856077505 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi, how can i get documents similar to a long text?? I am using lucene.net 2.4 I have tested to use Query query =3D parser.Parse(ua.TestoCompleto); where ua.TestoCompleto is a String I have created QueryParser parser =3D new QueryParser(INDEX_PATH, = analyzer); as same mode of indexwriter but it generate this exception A first chance exception of type = 'Lucene.Net.QueryParsers.ParseException' occurred in Lucene.Net.dll Encountered ":" at line 1, column 0. Was expecting one of: <NOT> ... "+" ... "-" ... "(" ... <QUOTED> ... <TERM> ... <PREFIXTERM> ... <WILDTERM> ... "[" ... "{" ... <NUMBER> ... --Apple-Mail-1-856077505-- From [email protected] Tue Feb 23 16:50:28 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36820 invoked from network); 23 Feb 2010 16:50:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Feb 2010 16:50:28 -0000 Received: (qmail 5878 invoked by uid 500); 23 Feb 2010 16:50:28 -0000 Delivered-To: [email protected] Received: (qmail 5800 invoked by uid 500); 23 Feb 2010 16:50:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 5790 invoked by uid 99); 23 Feb 2010 16:50:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Feb 2010 16:50:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-pw0-f48.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Feb 2010 16:50:19 +0000 Received: by pwi6 with SMTP id 6so3543814pwi.35 for <[email protected]>; Tue, 23 Feb 2010 08:49:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:references :in-reply-to:subject:date:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:thread-index:content-language; bh=Q6pYCeod63/PsUE7AF0HTuz5AtvKOUDS7x2lThEHhcA=; b=OohWSxFyyvNjQQrHf9PzzNKscoj9PIWqVqtjbCyY6bRia1u9kBDjBIemSxo21D6dp7 mEFoo2SZrdCigloZJ0/mT0OrLnYNDiprYM9TIXtuq/GWgcp6jLRWMQGLm4VRhOzmgyPy iQlvs9Tg8k+IxVZ2NJvzR1iSFYtz9KQRhS48s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:content-transfer-encoding:x-mailer:thread-index :content-language; b=HnJrvHFLZHK7IPTvpo47JlENukB0SXkV4MmEcpxyvINPEas+hQ0dotOrDlGJHSjTEX sRBErqrK064jPhY5XE7wQtJIPxrZZxPEzjWyA7JtfgoWdK5HeJ6eufXMr55WIMcxIS+f ynN8eUll8OEfAAYuj9CMwP6NQTUTKpd/UXtuA= Received: by 161.129.204.104 with SMTP id l13mr2184567wae.121.1266943797797; Tue, 23 Feb 2010 08:49:57 -0800 (PST) Received: from NEWPC ([161.129.204.104]) by mx.google.com with ESMTPS id 26sm43820915vws.16.2161.129.204.104.49.55 (version=SSLv3 cipher=RC4-MD5); Tue, 23 Feb 2010 08:49:57 -0800 (PST) From: "Digy" <[email protected]> To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Subject: RE: text as query of search Date: Tue, 23 Feb 2010 18:49:19 +0200 Message-ID: <002d01cab4a8$29b391e0$7d1ab5a0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Acq0mA9oGBDUAPc6SHGSMrb39G0qJQAD/5cA Content-language: tr You can try Similarity.Net. it is available at https://svn.apache.org/repos/asf/lucene/lucene.net/trunk/C#/contrib/Similari ty.Net DIGY -----Original Message----- From: Giovanni Caputo [mailto:[email protected]] Sent: Tuesday, February 23, 2010 4:54 PM To: [email protected] Subject: Re: text as query of search Yes, I can use doc for see not-allowed characters.... but why i must specify Analyzer on QueryParser if it is not used? There are other mode for obtain similar documents to new document? Thanks very much Il giorno 23/feb/2010, alle ore 15.42, Heath Aldrich ha scritto: > Take a look in the docs for restricted characters. > I don't recall for certain, but I believe the ":" is not allowed to be in your search string. > > A ":" is normally used when you're indicating what field to search. E.g. SEARCHFIELD:search string > > You'll find several characters are not allowed... I'd advise you to check in the docs (or even the java lucene docs), there is quite a bit of info about restricted or non-allowed characters. > > > -----Original Message----- > From: Giovanni Caputo [mailto:[email protected]] > Sent: Tuesday, February 23, 2010 8:31 AM > To: [email protected] > Subject: Re: text as query of search > > I don't understand you... > I want a list of similary documents of new document. > > > I have seen the text of new document and there are ":" ... this character give problem... > > But also other caracter, for example "(" can make problem... > > Ho can resolve this problem?? > Thanks > > > > > > Il giorno 23/feb/2010, alle ore 14.10, Heath Aldrich ha scritto: > >> Sounds like perhaps you passed a colon in as part of your search string. >> >> Sent from my mobile phone. >> Please excuse any spelling or gramatical errors. >> >> On Feb 23, 2010, at 5:59 AM, "Giovanni Caputo" <[email protected] >>> wrote: >> >>> >>> >>> Inizio messaggio inoltrato: >>> >>>> Da: Giovanni Caputo <[email protected]> >>>> Data: 23 febbraio 2010 12.54.46 GMT+01.00 >>>> A: [email protected], [email protected], [email protected] >>>> , [email protected], [email protected] >>>> Oggetto: text as query of search >>>> >>>> Hi, >>>> how can i get documents similar to a long text?? >>>> >>>> I am using lucene.net 2.4 >>>> >>>> I have tested to use Query query = parser.Parse(ua.TestoCompleto); >>>> where ua.TestoCompleto is a String >>>> >>>> >>>> I have created QueryParser parser = new QueryParser(INDEX_PATH, >>>> analyzer); >>>> as same mode of indexwriter >>>> >>>> >>>> but it generate this exception >>>> >>>> A first chance exception of type >>>> 'Lucene.Net.QueryParsers.ParseException' occurred in Lucene.Net.dll >>>> Encountered ":" at line 1, column 0. >>>> Was expecting one of: >>>> <NOT> ... >>>> "+" ... >>>> "-" ... >>>> "(" ... >>>> <QUOTED> ... >>>> <TERM> ... >>>> <PREFIXTERM> ... >>>> <WILDTERM> ... >>>> "[" ... >>>> "{" ... >>>> <NUMBER> ... >>>> >>>> >>> >> > > > From [email protected] Thu Feb 25 08:25:46 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14508 invoked from network); 25 Feb 2010 08:25:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Feb 2010 08:25:46 -0000 Received: (qmail 63941 invoked by uid 500); 25 Feb 2010 08:25:46 -0000 Delivered-To: [email protected] Received: (qmail 63915 invoked by uid 500); 25 Feb 2010 08:25:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 63907 invoked by uid 99); 25 Feb 2010 08:25:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 08:25:44 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-wy0-f176.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 08:25:38 +0000 Received: by wyf22 with SMTP id 22so1599877wyf.35 for <[email protected]>; Thu, 25 Feb 2010 00:25:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=Y2bebCey6Nq3FN0Sd8n5qAUjaxR0PsMWzm0qX/aCnEk=; b=JtG7/g7uHdAExiPnQWG5NbgTyZkPRywPrjxAnC6axuDdFQuf9QYqzSmhGDL6whEWdS EVfMyOgi+3CnHSqRapuqdmrLwpKCtwqbAMwptsPFTAZO9UdeRW+CLMXg5OJO6+uZxEtB HAWxuC3FwHAJFgZNyO33uQN63LTFHoy2BvBPM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=BCoxWF5ccJIAfiDqq7azbuANQHV37nyv0GJNThDG4hs8USIUQHhA3XDnJykg3w1f/5 c2TxM+iK0B0vliDBjoR/DGn5IbiP3pL4E+1PN30bPvCTWowE6KWFtLRVzGvTXTvMjAAO 3eUmyJUiC51tc9k2aYoSNZIlqnM7xCL0cSks8= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id x53mr493833wee.144.1267086316563; Thu, 25 Feb 2010 00:25:16 -0800 (PST) Date: Thu, 25 Feb 2010 09:25:16 +0100 Message-ID: <[email protected]> Subject: Error in the StandardAnalyzer? From: Eric Svensson <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016e6db29b5cc6f6b0480688539 --0016e6db29b5cc6f6b0480688539 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi, I=92ve noticed some odd token parsing by the StandardAnalyzer when using slash(=91/=92). Below are four examples where I think there is error in one of them. 1. ab -> [ab] 2. /ab -> [ab] 3. a/b -> [b] 4. ab/ -> [ab] 5. aa/b -> [aa] [b] 6. a/bb - > [bb] 7. aa/bb -> [aa][bb] Can someone explain to me why example 3 is returning [b] and not [ab], and why example 6 is returning [bb] instead of [a] [bb]? Furthermore I would like to know how to make the slash character searchable by not removing it in the token parsing by the StandardAnalyzer. Thanks for listening! --0016e6db29b5cc6f6b0480688539-- From [email protected] Thu Feb 25 08:38:24 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18119 invoked from network); 25 Feb 2010 08:38:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Feb 2010 08:38:24 -0000 Received: (qmail 84001 invoked by uid 500); 25 Feb 2010 08:38:24 -0000 Delivered-To: [email protected] Received: (qmail 83978 invoked by uid 500); 25 Feb 2010 08:38:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 83970 invoked by uid 99); 25 Feb 2010 08:38:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 08:38:24 +0000 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=RCVD_NUMERIC_HELO,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ixe-mta-26.emailfiltering.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 08:38:14 +0000 Received: from 161.129.204.104 ([161.129.204.104]) by ixe-mta-26.emailfiltering.com with emfmta (version 161.129.204.104.1.rd-3.2.3-libc2.3.2) vanilla id 370242550 for [email protected]; Thu, 25 Feb 2010 08:37:53 +0000 Received: from barnet.renishaw.com ([161.129.204.104]) by hove.renishaw.com with Microsoft SMTPSVC+1-778-747-0316); Thu, 25 Feb 2010 08:37:59 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Error in the StandardAnalyzer? Date: Thu, 25 Feb 2010 08:37:58 -0000 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Error in the StandardAnalyzer? Thread-Index: Acq19Caf5vIDgKNYQrKBRz380JJiXwAAYdXQ References: <[email protected]> From: "Hugh Spiller" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 25 Feb 2010 08:37:59.0360 (UTC) FILETIME=[D5E43C00:01CAB5F5] X-Virus-Checked: Checked by ClamAV on apache.org Is it because 'a' is a stop word? Does it return anything from 'a'? ________________________________ Hugh Spiller=20 Internet Development Team=20 -----Original Message----- From: Eric Svensson [mailto:[email protected]]=20 Sent: 25 February 2010 08:25 To: [email protected] Subject: Error in the StandardAnalyzer? Hi, I've noticed some odd token parsing by the StandardAnalyzer when using slash('/'). Below are four examples where I think there is error in one of them. 1. ab -> [ab] 2. /ab -> [ab] 3. a/b -> [b] 4. ab/ -> [ab] 5. aa/b -> [aa] [b] 6. a/bb - > [bb] 7. aa/bb -> [aa][bb] Can someone explain to me why example 3 is returning [b] and not [ab], and why example 6 is returning [bb] instead of [a] [bb]? Furthermore I would like to know how to make the slash character searchable by not removing it in the token parsing by the StandardAnalyzer. Thanks for listening! = -----------------------------------------------------------------------= ---------------------------=0D=0AThis email and any attachments are con= fidential and are for the use of the addressee only. If you are not the= addressee, you must not use or disclose the contents to any other pers= on. Please immediately notify the sender and delete the email. Statemen= ts and opinions expressed here may not represent those of the company. = Email correspondence is monitored by the company. This information may = be subject to Export Control Regulation. You are obliged to comply with= such Regulations=0D=0A=0D=0AThe parent company of the Renishaw Group i= s Renishaw plc, registered in England no. 1106260. Registered Office: N= ew Mills, Wotton-under-Edge, Gloucestershire, GL12 8JR, United Kingdom.= Tel +1-778-747-0316=0D=0A-----------------------------------------= ---------------------------------------------------------=0D=0A= From [email protected] Thu Feb 25 09:04:27 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26171 invoked from network); 25 Feb 2010 09:04:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Feb 2010 09:04:27 -0000 Received: (qmail 19712 invoked by uid 500); 25 Feb 2010 09:04:27 -0000 Delivered-To: [email protected] Received: (qmail 19690 invoked by uid 500); 25 Feb 2010 09:04:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 19682 invoked by uid 99); 25 Feb 2010 09:04:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 09:04:27 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-wy0-f176.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 09:04:19 +0000 Received: by wyf22 with SMTP id 22so1619148wyf.35 for <[email protected]>; Thu, 25 Feb 2010 01:03:59 -0800 (PST) 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=cGF7asOCpbh1gAVb+lj7oYKL2zuAubPQKGY9Bt2Dj/Q=; b=l+I7QPkFqg62PVnD+GiTmhCrtL9xWxCV1kC0iSYgaLyG0xzMLqlkI9HE8nrVYuWHqM 56eO73ihO7kIakdo6uJaNb0iWl3kK8RsugUYCUV2Fxk1QF2BfJpH1XsuBwdnrM57JVh9 AIwyftxift3ZAIBGPyjAqcPtwRxr+CfZXND9k= 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=KahfrKR4P8z83vUvLFz+I+fVlzhGN0XorRva8uh5MJzBMIzW4N0AxNzTfd0kzy0/NS on5AWMi01aVHKKG7DzW4XfPVeS8UgSiooVJfxzrEAPDQdmPy5bMUCIhB4Nw0GdYqp47k Q9NVbZ2WOUxV/XRiOr2WUYLhQ1DtJhM4ZNMMg= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id a57mr400188wel.220.1267088638853; Thu, 25 Feb 2010 01:03:58 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Thu, 25 Feb 2010 10:03:58 +0100 Message-ID: <[email protected]> Subject: Re: Error in the StandardAnalyzer? From: Eric Svensson <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016367fb07337cf9e048069107d X-Virus-Checked: Checked by ClamAV on apache.org --0016367fb07337cf9e048069107d Content-Type: text/plain; charset=ISO-8859-1 > > Is it because 'a' is a stop word? Does it return anything from 'a'? > Dooh..! You're of cause right. I didn't give the stop words any [email protected]. Thanks. Do you have any suggestions how to make the slash searchable? --0016367fb07337cf9e048069107d-- From [email protected] Thu Feb 25 15:37:55 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99998 invoked from network); 25 Feb 2010 15:37:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Feb 2010 15:37:55 -0000 Received: (qmail 17107 invoked by uid 500); 25 Feb 2010 15:37:55 -0000 Delivered-To: [email protected] Received: (qmail 17040 invoked by uid 500); 25 Feb 2010 15:37:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 17032 invoked by uid 99); 25 Feb 2010 15:37:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 15:37:54 +0000 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO TX2EHSOBE008.bigfish.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 15:37:45 +0000 Received: from mail118-tx2-R.bigfish.com (161.129.204.104) by TX2EHSOBE008.bigfish.com (161.129.204.104) with Microsoft SMTP Server id 161.129.204.104; Thu, 25 Feb 2010 15:37:22 +0000 Received: from mail118-tx2 (localhost [161.129.204.104]) by mail118-tx2-R.bigfish.com (Postfix) with ESMTP id 1C6E410405B1 for <[email protected]>; Thu, 25 Feb 2010 15:37:22 +0000 (UTC) X-SpamScore: -22 X-BigFish: VPS-22(zz1432R98dN9371Pzz1202hzzz31j6bh367h61h) X-Spam-TCS-SCL: 0:0 Received: from mail118-tx2 (localhost.localdomain [161.129.204.104]) by mail118-tx2 (MessageSwitch) id 1267112241347892_28116; Thu, 25 Feb 2010 15:37:21 +0000 (UTC) Received: from TX2EHSMHS020.bigfish.com (unknown [161.129.204.104]) by mail118-tx2.bigfish.com (Postfix) with ESMTP id 45B3E760053 for <[email protected]>; Thu, 25 Feb 2010 15:37:21 +0000 (UTC) Received: from fegplmsmmdz02.foxinc.com (161.129.204.104) by TX2EHSMHS020.bigfish.com (161.129.204.104) with Microsoft SMTP Server (TLS) id 14.0.482.39; Thu, 25 Feb 2010 15:37:19 +0000 Received: from ffeplmsexbh04.ffe.foxeg.com (Not Verified[161.129.204.104]) by FOX.COM (post.office MTA v5.0 0924 ) with ESMTP id <B4b8699300000>; Thu, 25 Feb 2010 07:37:20 -0800 Received: from fegplmsexmb14.ffe.foxeg.com ([161.129.204.104]) by ffeplmsexbh04.ffe.foxeg.com with Microsoft SMTPSVC+1-778-747-0316); Thu, 25 Feb 2010 07:37:17 -0800 Received: from 161.129.204.104 ([161.129.204.104]) by fegplmsexmb14.ffe.foxeg.com ([161.129.204.104]) with Microsoft Exchange Server HTTP-DAV ; Thu, 25 Feb 2010 15:37:17 +0000 Message-ID: <[email protected]> From: Michael Garski <[email protected]> To: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; format=flowed; delsp=yes; charset="us-ascii" thread-topic: Error in the StandardAnalyzer? thread-index: Acq2MGkxYHHWuO8qR/yH1MzIk1stAQ== Content-Transfer-Encoding: 7bit MIME-Version: 1.0 (iPhone Mail 7E18) Subject: Re: Error in the StandardAnalyzer? Date: Thu, 25 Feb 2010 07:37:13 -0800 References: <[email protected]> <[email protected]> <[email protected]> X-OriginalArrivalTime: 25 Feb 2010 15:37:18.0078 (UTC) FILETIME=[69A7F1E0:01CAB630] X-Reverse-DNS: fegplmsmmdz02.foxinc.com X-Virus-Checked: Checked by ClamAV on apache.org The standard analyzer removes all non-alphanumeric characters. If you need to retain them you'll need to use a different analyzer. Michael On Feb 25, 2010, at 1:04 AM, "Eric Svensson" <[email protected]> wrote: >> >> Is it because 'a' is a stop word? Does it return anything from 'a'? >> > Dooh..! You're of cause right. I didn't give the stop words any > thoughts at > all. Thanks. > > > > Do you have any suggestions how to make the slash searchable? From [email protected] Thu Feb 25 17:55:12 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60060 invoked from network); 25 Feb 2010 17:55:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Feb 2010 17:55:12 -0000 Received: (qmail 63399 invoked by uid 500); 25 Feb 2010 17:55:12 -0000 Delivered-To: [email protected] Received: (qmail 63328 invoked by uid 500); 25 Feb 2010 17:55:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 63320 invoked by uid 99); 25 Feb 2010 17:55:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 17:55:12 +0000 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=MIME_BASE64_BLANKS,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO VA3EHSOBE005.bigfish.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 17:55:01 +0000 Received: from mail130-va3-R.bigfish.com (161.129.204.104) by VA3EHSOBE005.bigfish.com (161.129.204.104) with Microsoft SMTP Server id 8.1.340.0; Thu, 25 Feb 2010 17:54:39 +0000 Received: from mail130-va3 (localhost [161.129.204.104]) by mail130-va3-R.bigfish.com (Postfix) with ESMTP id 99CBF1410305 for <[email protected]>; Thu, 25 Feb 2010 17:54:39 +0000 (UTC) X-SpamScore: -28 X-BigFish: VPS-28(zz542N1432R98dN9371Pzz1202hzzz31j6bh43h61h) X-Spam-TCS-SCL: 0:0 Received: from mail130-va3 (localhost.localdomain [161.129.204.104]) by mail130-va3 (MessageSwitch) id 1267120478587342_13885; Thu, 25 Feb 2010 17:54:38 +0000 (UTC) Received: from VA3EHSMHS022.bigfish.com (unknown [161.129.204.104]) by mail130-va3.bigfish.com (Postfix) with ESMTP id 0B5C7290056 for <[email protected]>; Thu, 25 Feb 2010 17:54:38 +0000 (UTC) Received: from FEGCNMSMMDZ02 (161.129.204.104) by VA3EHSMHS022.bigfish.com (161.129.204.104) with Microsoft SMTP Server (TLS) id 14.0.482.39; Thu, 25 Feb 2010 17:54:34 +0000 Received: from ffeplmsexbh03.ffe.foxeg.com (Not Verified[161.129.204.104]) by FOX.COM (post.office MTA v5.0 0924 ) with ESMTP id <B4b86b9560001>; Thu, 25 Feb 2010 09:54:30 -0800 Received: from fegplmsexmb14.ffe.foxeg.com ([161.129.204.104]) by ffeplmsexbh03.ffe.foxeg.com with Microsoft SMTPSVC+1-778-747-0316); Thu, 25 Feb 2010 09:54:33 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Subject: RE: Error in the StandardAnalyzer? Date: Thu, 25 Feb 2010 09:53:12 -0800 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Error in the StandardAnalyzer? Thread-Index: Acq2MGkxYHHWuO8qR/yH1MzIk1stAQAESoJg References: <[email protected]> <[email protected]> From: Michael Garski <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 25 Feb 2010 17:54:33.0114 (UTC) FILETIME=[961EB7A0:01CAB643] X-Reverse-DNS: unknown X-Virus-Checked: Checked by ClamAV on apache.org QWN0dWFsbHksIEkgbWlzLXNwb2tlIG9uIHRoZSBTdGFuZGFyZEFuYWx5emVyJ3MgaGFuZGxpbmcg b2YgcHVuY3R1YXRpb24gZWFybGllci4uLiBzb21lIHB1bmN0dWF0aW9uIGlzIHJldGFpbmVkLCBz cGVjaWZpY2FsbHkgaW4gcmVnYXJkcyB0byBwZXJpb2RzIHdpdGhpbiBVUkxzLg0KDQpodHRwOi8v bHVjZW5lLmFwYWNoZS5vcmcvbHVjZW5lLm5ldC8NCg0KVG9rZW5pemVzIGludG8gMyB0ZXJtcyA6 IGh0dHAsIGx1Y2VuZS5hcGFjaGUub3JnLCBsdWNlbmUubmV0DQoNCk1pY2hhZWwNCg0KLS0tLS1P cmlnaW5hbCBNZXNzYWdlLS0tLS0NCkZyb206IE1pY2hhZWwgR2Fyc2tpIA0KU2VudDogVGh1cnNk YXksIEZlYnJ1YXJ5IDI1LCAyMDEwIDc6MzcgQU0NClRvOiBsdWNlbmUtbmV0LXVzZXJAbHVjZW5l LmFwYWNoZS5vcmcNClN1YmplY3Q6IFJlOiBFcnJvciBpbiB0aGUgU3RhbmRhcmRBbmFseXplcj8N Cg0KVGhlIHN0YW5kYXJkIGFuYWx5emVyIHJlbW92ZXMgYWxsIG5vbi1hbHBoYW51bWVyaWMgY2hh cmFjdGVycy4gSWYgeW91ICANCm5lZWQgdG8gcmV0YWluIHRoZW0geW91J2xsIG5lZWQgdG8gdXNl IGEgZGlmZmVyZW50IGFuYWx5emVyLg0KDQpNaWNoYWVsDQoNCk9uIEZlYiAyNSwgMjAxMCwgYXQg MTowNCBBTSwgIkVyaWMgU3ZlbnNzb24iIDxzYXJrZ29AZ21haWwuY29tPiB3cm90ZToNCg0KPj4N Cj4+IElzIGl0IGJlY2F1c2UgJ2EnIGlzIGEgc3RvcCB3b3JkPyBEb2VzIGl0IHJldHVybiBhbnl0 aGluZyBmcm9tICdhJz8NCj4+DQo+IERvb2guLiEgWW91J3JlIG9mIGNhdXNlIHJpZ2h0LiBJIGRp ZG4ndCBnaXZlIHRoZSBzdG9wIHdvcmRzIGFueSAgDQo+IHRob3VnaHRzIGF0DQo+IGFsbC4gVGhh bmtzLg0KPg0KPg0KPg0KPiBEbyB5b3UgaGF2ZSBhbnkgc3VnZ2VzdGlvbnMgaG93IHRvIG1ha2Ug dGhlIHNsYXNoIHNlYXJjaGFibGU/DQoNCg0K From [email protected] Thu Feb 25 21:30:56 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82523 invoked from network); 25 Feb 2010 21:30:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Feb 2010 21:30:56 -0000 Received: (qmail 97353 invoked by uid 500); 25 Feb 2010 21:30:56 -0000 Delivered-To: [email protected] Received: (qmail 97331 invoked by uid 500); 25 Feb 2010 21:30:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 71362 invoked by uid 99); 25 Feb 2010 21:17:26 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) From: "Hans Merkl" <[email protected]> To: <[email protected]> Subject: How to secure/encrypt a Lucene index? Date: Thu, 25 Feb 2010 16:16:55 -0500 Message-ID: <001801cab65f$dc21ee40$9465cac0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-us Thread-Index: Acq2X9oSzaXPRbDzSeyf0EvD/p6JCQ== X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am working on a desktop app that will use Lucerne as search engine. The app will be installed on the user's machine and the index will be stored on the local hard disk. The data is potentially confidential so I would like to protect the index from unauthorized access. The data needs to be secure even when the user's machine gets stolen. 2 approaches I have come up with so far: - Use Windows NTFS encryption. Should be secure unless the unauthorized person knows how log in as the user that created the index. - Use TrueCrypt. This should be very safe but it requires the installation of TrueCrypt and administrative rights to install the encrypted drive. The application will be distributed to many users so I would like to keep the installation as simple as possible. Does anybody have experience with this scenario? Right now I think the easiest approach would be NTFS encryption. What do you think? Thanks! From [email protected] Thu Feb 25 21:50:22 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92310 invoked from network); 25 Feb 2010 21:50:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Feb 2010 21:50:22 -0000 Received: (qmail 32017 invoked by uid 500); 25 Feb 2010 21:50:22 -0000 Delivered-To: [email protected] Received: (qmail 31990 invoked by uid 500); 25 Feb 2010 21:50:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31982 invoked by uid 99); 25 Feb 2010 21:50:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 21:50:21 +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: local policy) Received: from [161.129.204.104] (HELO datassimilate.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 25 Feb 2010 21:50:13 +0000 Received: (qmail 5952 invoked from network); 25 Feb 2010 22:17:09 -0000 Received: from pc-00003.datassimilate.com (HELO [161.129.204.104]) (161.129.204.104) by yoda.datassimilate.com (161.129.204.104) with ESMTP; 25 Feb 2010 22:17:09 -0000 Message-ID: <[email protected]> Date: Thu, 25 Feb 2010 16:41:11 -0500 From: Trevor Watson <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:161.129.204.104) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: [email protected] CC: Hans Merkl <[email protected]> Subject: Re: How to secure/encrypt a Lucene index? References: <001801cab65f$dc21ee40$9465cac0$@com> In-Reply-To: <001801cab65f$dc21ee40$9465cac0$@com> Content-Type: multipart/alternative; boundary="------------020905020801000404080606" X-Antivirus: avast! (VPS 100224-1, 02/24/2010), Outbound message X-Antivirus-Status: Clean --------------020905020801000404080606 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Just throwing ideas your way in general, If you use the System.Cryptography functions on a word, it _should_ remain the same when you run it a second time. This means you could encrypt each word, then do a search on the encrypted phrase. This way, you'd have a Lucene index of encrypted words. Then if you are using the Lucene index as the data store as well, you could potentially decrypt each field word by word as well. We have a program that temporarily stores data on a users computer using System.IO.IsolatedStorage. If you could decrypt the entire Lucene index each time the program starts, you could store it in there and access it (so long as the index isn't overly large so the start-up decrypt doesn't take too long). If the IsolatedStorage isn't working for a Lucene index you could create a RAM Disk or temporary disk on the drive to store the lucene index while accessing it, you could look at Dokan (dokan-dev.net) (there's a .NET wrapper for this) to create a temporary drive on your computer and decrypt the index into it. Trevor Watson On 2/25/2010 4:16 PM, Hans Merkl wrote: > Hi, I am working on a desktop app that will use Lucerne as search engine. > The app will be installed on the user's machine and the index will be stored > on the local hard disk. > > The data is potentially confidential so I would like to protect the index > from unauthorized access. The data needs to be secure even when the user's > machine gets stolen. > > 2 approaches I have come up with so far: > > - Use Windows NTFS encryption. Should be secure unless the unauthorized > person knows how log in as the user that created the index. > - Use TrueCrypt. This should be very safe but it requires the installation > of TrueCrypt and administrative rights to install the encrypted drive. > > The application will be distributed to many users so I would like to keep > the installation as simple as possible. > > Does anybody have experience with this scenario? Right now I think the > easiest approach would be NTFS encryption. What do you think? > > Thanks! > > > > --------------020905020801000404080606-- From [email protected] Thu Feb 25 22:23:23 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13458 invoked from network); 25 Feb 2010 22:23:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Feb 2010 22:23:23 -0000 Received: (qmail 92260 invoked by uid 500); 25 Feb 2010 22:23:23 -0000 Delivered-To: [email protected] Received: (qmail 92235 invoked by uid 500); 25 Feb 2010 22:23:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 92227 invoked by uid 99); 25 Feb 2010 22:23:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 22:23:23 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ww0-f48.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 22:23:13 +0000 Received: by wwb34 with SMTP id 34so2096936wwb.35 for <[email protected]>; Thu, 25 Feb 2010 14:22:53 -0800 (PST) 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=vCUtJPF9vZexzUFyIym+i4bkxMLsQDoCWMu5vVxLZVM=; b=OTgZ8LACYgwBmFKsogMiIXRlmXKwXR3kYak+Xp+/JGd0WMZ4NOR+SdgtLu6AnIw0wY Du7/ohkCb+zIcReEMvZPvVSW2KZX7IsxmbO23p/p6ikwiKosoS7tELaucW6z/7TLn7ZV yQqICjokDzUvZ0cW2HuGBLqNMwz3rzKS9Imlo= 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=HQswAM0Ru/8RDP1MO9VFYHrWVnuV9uWbEkr9WOA7bx45xscxJzowIS3mxJJlftSrWg 5LpsbuuKdBNtXaF6CzQ0M58Zc0wizYWDMNz1CkUlzXgVm+ENfH/JNkXt86HYozIcLNAZ GSxJGaimwXpScYgQzbTc2eJW6H0TJb8wzYMjc= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id s55mr248643wem.149.1267136572836; Thu, 25 Feb 2010 14:22:52 -0800 (PST) In-Reply-To: <[email protected]> References: <001801cab65f$dc21ee40$9465cac0$@com> <[email protected]> Date: Thu, 25 Feb 2010 17:22:52 -0500 Message-ID: <[email protected]> Subject: Re: How to secure/encrypt a Lucene index? From: Nicholas Petersen <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016e649864c4e4ce0048074398b X-Virus-Checked: Checked by ClamAV on apache.org --0016e649864c4e4ce0048074398b Content-Type: text/plain; charset=UTF-8 <If you use the System.Cryptography functions on a word, it _should_ remain the same when you run it a second time. This means you could encrypt each word, then do a search on the encrypted phrase. This way, you'd have a Lucene index of encrypted words.> Just wanted to say, that's a great idea -- at least as a last resort. <... it _should_ remain the same when you run it a second time.> If it doesn't, it's because the cryptography was bogus. The index would however become much larger. This could be helped if you could store the encrypted words in the native bye[] produced in encryption (perhaps chunk the array into Int64s), but from my read of Lucene in Action, seems like they said searching on types other than string isn't really supported (storage yes, searching upon, no) ... but that could be wrong. Otherwise you'd need to convert the encrypted byte[] into Base64. See this example which becomes 4xs larger ("a word" with 6 chars to a 24 char result; these are functions from the library DotNetExtensions www.dotnetextensions.com): string encrypted = "a word".EncryptToBase64("secret!"); // "DY9oTzZkaTxbXmbSH/+SfA==", 24 chars byte[] encryptedBytes = "a word".Encrypt("secret!"); //encryptedBytes is a lot shorter at 16, but still 2 1/2x larger.... Nick On Thu, Feb 25, 2010 at 4:41 PM, Trevor Watson <[email protected]>wrote: > > Just throwing ideas your way in general, If you use the > System.Cryptography functions on a word, it _should_ remain the same when > you run it a second time. This means you could encrypt each word, then do a > search on the encrypted phrase. This way, you'd have a Lucene index of > encrypted words. > > Then if you are using the Lucene index as the data store as well, you could > potentially decrypt each field word by word as well. > > > We have a program that temporarily stores data on a users computer using > System.IO.IsolatedStorage. If you could decrypt the entire Lucene index > each time the program starts, you could store it in there and access it (so > long as the index isn't overly large so the start-up decrypt doesn't take > too long). > > If the IsolatedStorage isn't working for a Lucene index you could create > a RAM Disk or temporary disk on the drive to store the lucene index while > accessing it, you could look at Dokan (dokan-dev.net) (there's a .NET > wrapper for this) to create a temporary drive on your computer and decrypt > the index into it. > > Trevor Watson > > > > On 2/25/2010 4:16 PM, Hans Merkl wrote: > >> Hi, I am working on a desktop app that will use Lucerne as search engine. >> The app will be installed on the user's machine and the index will be >> stored >> on the local hard disk. >> >> The data is potentially confidential so I would like to protect the index >> from unauthorized access. The data needs to be secure even when the user's >> machine gets stolen. >> >> 2 approaches I have come up with so far: >> >> - Use Windows NTFS encryption. Should be secure unless the unauthorized >> person knows how log in as the user that created the index. >> - Use TrueCrypt. This should be very safe but it requires the installation >> of TrueCrypt and administrative rights to install the encrypted drive. >> >> The application will be distributed to many users so I would like to keep >> the installation as simple as possible. >> >> Does anybody have experience with this scenario? Right now I think the >> easiest approach would be NTFS encryption. What do you think? >> >> Thanks! >> >> >> >> >> > > --0016e649864c4e4ce0048074398b-- From [email protected] Fri Feb 26 00:19:51 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86167 invoked from network); 26 Feb 2010 00:19:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2010 00:19:51 -0000 Received: (qmail 57445 invoked by uid 500); 26 Feb 2010 00:19:51 -0000 Delivered-To: [email protected] Received: (qmail 57420 invoked by uid 500); 26 Feb 2010 00:19:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 57410 invoked by uid 99); 26 Feb 2010 00:19:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 00:19:51 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smg02.internetmailserver.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 00:19:43 +0000 Received: from sm04.dotnetplayground.com [161.129.204.104] by smg02.internetmailserver.net with SMTP; Thu, 25 Feb 2010 16:18:05 -0800 Received: from cpe-98-14-109-104.nyc.res.rr.com [161.129.204.104] by sm04.internetmailserver.net with SMTP; Thu, 25 Feb 2010 16:17:43 -0800 From: "Nicholas Paldino [.NET/C# MVP]" <[email protected]> To: <[email protected]> References: <001801cab65f$dc21ee40$9465cac0$@com> In-Reply-To: <001801cab65f$dc21ee40$9465cac0$@com> Subject: RE: How to secure/encrypt a Lucene index? Date: Thu, 25 Feb 2010 19:18:45 -0500 Message-ID: <007001cab679$42d87320$c8895960$@com> X-Mailer: Microsoft Office Outlook 12.0 MIME-Version: 1.0 Thread-Index: Acq2X9oSzaXPRbDzSeyf0EvD/p6JCQAF2Wfw Content-Language: en-us Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_006B_01CAB64F.5962CFC0" ------=_NextPart_000_006B_01CAB64F.5962CFC0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hans, While I've seen other responses here, you haven't indicates exactly ^what^ constitutes "unauthorized access". Does that mean someone who can authenticate against the domain to be a certain user, or some other criteria? You need to define the threats, the surface area for attacks, etc, etc. It would seem like you want to use an additional shared-secret in order to access the data, which would mean that you have to query for this shared secret in your application, no matter what encryption technology is used. If you are using passwords, then you need to enforce password strength; things such as minimum lengths, use of non-alpha-numeric characters, checks against frequency of characters in the password and dictionary checks should be standard. Or, you could use a smart card with a client certificate as the shared secret, or any combination of things (biometrics, etc, etc). The point is, until you define what you have, and what the requirements are ("protect the index from unauthorized index" is just way to vague), you're just stabbing in the dark. - Nick -----Original Message----- From: Hans Merkl [mailto:[email protected]] Sent: Thursday, February 25, 2010 4:17 PM To: [email protected] Subject: How to secure/encrypt a Lucene index? Hi, I am working on a desktop app that will use Lucerne as search engine. The app will be installed on the user's machine and the index will be stored on the local hard disk. The data is potentially confidential so I would like to protect the index from unauthorized access. The data needs to be secure even when the user's machine gets stolen. 2 approaches I have come up with so far: - Use Windows NTFS encryption. Should be secure unless the unauthorized person knows how log in as the user that created the index. - Use TrueCrypt. This should be very safe but it requires the installation of TrueCrypt and administrative rights to install the encrypted drive. The application will be distributed to many users so I would like to keep the installation as simple as possible. Does anybody have experience with this scenario? Right now I think the easiest approach would be NTFS encryption. What do you think? Thanks! ------=_NextPart_000_006B_01CAB64F.5962CFC0 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIL/DCCAj0w ggGmAhEAzbp/VvDf5LxU/iKss3KqVTANBgkqhkiG9w0BAQIFADBfMQswCQYDVQQGEwJVUzEXMBUG A1UEChMOVmVyaVNpZ24sIEluYy4xNzA1BgNVBAsTLkNsYXNzIDEgUHVibGljIFByaW1hcnkgQ2Vy dGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNOTYwMTI5MDAwMDAwWhcNMjgwODAxMjM1OTU5WjBfMQsw CQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xNzA1BgNVBAsTLkNsYXNzIDEgUHVi bGljIFByaW1hcnkgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwgZ8wDQYJKoZIhvcNAQEBBQADgY0A MIGJAoGBAOUZv22jVmEtmUhx9mfeuY3rt56GgAqRDvo4Ja9GiILlc6igmyRdDR/MZW4MsNBWhBiH mgabEKFz37RYOWtuwfYV1aioP6oSBo0xrH+wNNePNGeICc0UEeJORVZpH3gCgNrcR5EpuzbJY1zF 4Ncth3uhtzKwezC6Ki8xqu6jZ9rbAgMBAAEwDQYJKoZIhvcNAQECBQADgYEATD+4i8Zo3+5DMw5d 6abLB4RNejP/khv0Nq3YlSI2aBFsfELM85wuxAc/FLAPT/+Qknb54rxK6Y/NoIAK98Up8YIiXbix 3YEjo3slFUYweRb46gVLlH8dwhzI47f0EEA8E8NfH1PoSOSGtHuhNbB7Jbq4046rPzidADQAmPPR cZQwggTMMIIENaADAgECAhAcrp1rmvTmLyKKo9p0YWweMA0GCSqGSIb3DQEBBQUAMF8xCzAJBgNV BAYTAlVTMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjE3MDUGA1UECxMuQ2xhc3MgMSBQdWJsaWMg UHJpbWFyeSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wNTEwMjgwMDAwMDBaFw0xNTEwMjcy MzU5NTlaMIHdMQswCQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsT FlZlcmlTaWduIFRydXN0IE5ldHdvcmsxOzA5BgNVBAsTMlRlcm1zIG9mIHVzZSBhdCBodHRwczov L3d3dy52ZXJpc2lnbi5jb20vcnBhIChjKTA1MR4wHAYDVQQLExVQZXJzb25hIE5vdCBWYWxpZGF0 ZWQxNzA1BgNVBAMTLlZlcmlTaWduIENsYXNzIDEgSW5kaXZpZHVhbCBTdWJzY3JpYmVyIENBIC0g RzIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ36zn6vj4AxTEAJLVwX42wjzvfHIV y8CrjD0clc5vHhAsPwDtlybmtsfmrUMdP6SHR0dMPlT4bPjH/LGevTBwvJexAwXqlfGtQMVEeksF ovJg/Nc6ZWLv/xB7ola7xU5wLdaiHzztsELoXo1XIaymmdkR6dIaB8B0R0IL/MU06v3muiTRHQgV N6LXc88BQS9jsjo/vqUabvTJSls9laYVuzUCGfnU77yPDnF2WbtLtj7W/FoW9NYOifJJ/mwM7RXp 2Yh1nHnOYCfdua11zi9zlXpAOoV1SbC432i8q80TgoURUKPgPAuuwApTzdcwb4UyRhvkSRDCbOKv H3n/27S1AgMBAAGjggGEMIIBgDASBgNVHRMBAf8ECDAGAQH/AgEAMEQGA1UdIAQ9MDswOQYLYIZI AYb4RQEHFwEwKjAoBggrBgEFBQcCARYcaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL3JwYTALBgNV HQ8EBAMCAQYwEQYJYIZIAYb4QgEBBAQDAgEGMC4GA1UdEQQnMCWkIzAhMR8wHQYDVQQDExZQcml2 YXRlTGFiZWwzLTIwNDgtMTU1MB0GA1UdDgQWBBQRfV4ZfTwE32ps1qKKGj8x2DuUUjAxBgNVHR8E KjAoMCagJKAihiBodHRwOi8vY3JsLnZlcmlzaWduLmNvbS9wY2ExLmNybDCBgQYDVR0jBHoweKFj pGEwXzELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFz cyAxIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5ghEAzbp/VvDf5LxU/iKs s3KqVTANBgkqhkiG9w0BAQUFAAOBgQCxL9mW4ZKi7oFg5cgqIPvhZyzWAJhTowIb6ZBL+BhEnw9G 9/qg/tMdGKPSvxzs1hmfSk1D+Mq7vhOASQXdIXMzV8JCWr76AJOy5gQxkU5dPPBzBTdj67+DWZj9 Zt7phjKakik8Oq5U2qYSUbGPyMrTR3jm26Uehwbj0RTAwiH2ujCCBOcwggPPoAMCAQICEBIaCgrq 9MtzWjD1OhWrYCowDQYJKoZIhvcNAQEFBQAwgd0xCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJp U2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29yazE7MDkGA1UECxMyVGVy bXMgb2YgdXNlIGF0IGh0dHBzOi8vd3d3LnZlcmlzaWduLmNvbS9ycGEgKGMpMDUxHjAcBgNVBAsT FVBlcnNvbmEgTm90IFZhbGlkYXRlZDE3MDUGA1UEAxMuVmVyaVNpZ24gQ2xhc3MgMSBJbmRpdmlk dWFsIFN1YnNjcmliZXIgQ0EgLSBHMjAeFw0xMDAxMDUwMDAwMDBaFw0xMTAxMDUyMzU5NTlaMIIB HjEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRydXN0IE5ldHdv cmsxRjBEBgNVBAsTPXd3dy52ZXJpc2lnbi5jb20vcmVwb3NpdG9yeS9SUEEgSW5jb3JwLiBieSBS ZWYuLExJQUIuTFREKGMpOTgxHjAcBgNVBAsTFVBlcnNvbmEgTm90IFZhbGlkYXRlZDE0MDIGA1UE CxMrRGlnaXRhbCBJRCBDbGFzcyAxIC0gTWljcm9zb2Z0IEZ1bGwgU2VydmljZTEZMBcGA1UEAxQQ TmljaG9sYXMgUGFsZGlubzEpMCcGCSqGSIb3DQEJARYaY2FzcGVyb25lQGNhc3BlcnNob3VzZS5j b20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALF1zj8VgVfT2S8U5JrrikyFvRwYzUvjHgDp QQz/yonz/U40Hv27dRafbwpE74M7MxXB+6CrEue8bF/+/+OHqlbfUkbkC/mKvetPMGkFJJPIK+vo Olkr0iCQqN95YdhGwX2dHaQmt3Ak8tImt7TWStlgzUmdiAwX2eqQe4NPRKgxAgMBAAGjgeIwgd8w CQYDVR0TBAIwADBEBgNVHSAEPTA7MDkGC2CGSAGG+EUBBxcBMCowKAYIKwYBBQUHAgEWHGh0dHBz Oi8vd3d3LnZlcmlzaWduLmNvbS9ycGEwCwYDVR0PBAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwME BggrBgEFBQcDAjAUBgpghkgBhvhFAQYHBAYWBE5vbmUwSgYDVR0fBEMwQTA/oD2gO4Y5aHR0cDov L0luZEMxRGlnaXRhbElELWNybC52ZXJpc2lnbi5jb20vSW5kQzFEaWdpdGFsSUQuY3JsMA0GCSqG SIb3DQEBBQUAA4IBAQCqB4LXJcG434cY+64lL0vW+PTGk8HEDn5iBGkFxo1gHWstAX5wMND/BIKY uLJgLqcMmV9eeSeXKiMoeHS/54wHfQ/jwIqQEvgpMX7RicaARYKJWo/MacpXWPyxc0QJWkHqdD+D +OzxXETaHxCs1YDoNppjByumBFzGJYu4SOZJYJETx1I/zpMkJThNFjQ2TKgSKxmBX8STPtto0+hj YgzXipPZSkR0PJy3Ah6acxqiB3LeCQhlefzy4hE5Hf5WrCYYgZ4irDhTXrrpCRqPm2fjlRQmaz1K 5cUdNJY9N6xvMYz8HHxYxqpByVm22fMMCtsIj/OSgX7dZCmSNfbaYD7FMYIExDCCBMACAQEwgfIw gd0xCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNp Z24gVHJ1c3QgTmV0d29yazE7MDkGA1UECxMyVGVybXMgb2YgdXNlIGF0IGh0dHBzOi8vd3d3LnZl cmlzaWduLmNvbS9ycGEgKGMpMDUxHjAcBgNVBAsTFVBlcnNvbmEgTm90IFZhbGlkYXRlZDE3MDUG A1UEAxMuVmVyaVNpZ24gQ2xhc3MgMSBJbmRpdmlkdWFsIFN1YnNjcmliZXIgQ0EgLSBHMgIQEhoK Cur0y3NaMPU6FatgKjAJBgUrDgMCGgUAoIIDJzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwG CSqGSIb3DQEJBTEPFw0xMDAyMjYwMDE4NDVaMCMGCSqGSIb3DQEJBDEWBBR5idK9zxBwhsAP6ixU /RjeN8i9PzCBtwYJKoZIhvcNAQkPMYGpMIGmMAsGCWCGSAFlAwQBKjALBglghkgBZQMEARYwCgYI KoZIhvcNAwcwCwYJYIZIAWUDBAECMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG9w0DAgIBQDAHBgUr DgMCBzANBggqhkiG9w0DAgIBKDAHBgUrDgMCGjALBglghkgBZQMEAgMwCwYJYIZIAWUDBAICMAsG CWCGSAFlAwQCATAKBggqhkiG9w0CBTCCAQMGCSsGAQQBgjcQBDGB9TCB8jCB3TELMAkGA1UEBhMC VVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJpU2lnbiBUcnVzdCBOZXR3 b3JrMTswOQYDVQQLEzJUZXJtcyBvZiB1c2UgYXQgaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL3Jw YSAoYykwNTEeMBwGA1UECxMVUGVyc29uYSBOb3QgVmFsaWRhdGVkMTcwNQYDVQQDEy5WZXJpU2ln biBDbGFzcyAxIEluZGl2aWR1YWwgU3Vic2NyaWJlciBDQSAtIEcyAhASGgoK6vTLc1ow9ToVq2Aq MIIBBQYLKoZIhvcNAQkQAgsxgfWggfIwgd0xCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJpU2ln biwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29yazE7MDkGA1UECxMyVGVybXMg b2YgdXNlIGF0IGh0dHBzOi8vd3d3LnZlcmlzaWduLmNvbS9ycGEgKGMpMDUxHjAcBgNVBAsTFVBl cnNvbmEgTm90IFZhbGlkYXRlZDE3MDUGA1UEAxMuVmVyaVNpZ24gQ2xhc3MgMSBJbmRpdmlkdWFs IFN1YnNjcmliZXIgQ0EgLSBHMgIQEhoKCur0y3NaMPU6FatgKjANBgkqhkiG9w0BAQEFAASBgH+K IWDEoRuz1Jl/rIt5zBmyqkA22YwSf2PjuRs87yHnr8g6yrziYwpQLXTFsUU05WVkjtFYLPlJ7RND yd1p+6oLmlvpHk6pcFUwGzyTYjbej6QPDmTZhkCnVD26SrZKk51xNPob8MJlY29boIOvU6F9vzoj S24Zvp2Z7o89m2/SAAAAAAAA ------=_NextPart_000_006B_01CAB64F.5962CFC0-- From [email protected] Fri Feb 26 00:41:14 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3115 invoked from network); 26 Feb 2010 00:41:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2010 00:41:14 -0000 Received: (qmail 75304 invoked by uid 500); 26 Feb 2010 00:41:14 -0000 Delivered-To: [email protected] Received: (qmail 75212 invoked by uid 500); 26 Feb 2010 00:41:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 75204 invoked by uid 99); 26 Feb 2010 00:41:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 00:41:14 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f221.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 00:41:07 +0000 Received: by fxm21 with SMTP id 21so1275476fxm.5 for <[email protected]>; Thu, 25 Feb 2010 16:40:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to :content-type:content-transfer-encoding; bh=tNTjrQclvgi8NCyfJTzFM2vuqEIQLUnMSP6+MVOFXpk=; b=uZvb52iQaItusOCZ1IUrxdKitMaLcaxa+kP980KW//iPsu5YWhj7nEiUysxKZS30Fj 28mxINpNpLpFX3ugJEnOBEVK5QJuJ9QB7HdE6wUyRVh09MnC1FNGEQj0Sfr+ZT9t0CYB 9WdjQKq64bX2FDWzfvKwpjFjky0NPHnBYdVe0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; b=gXsJtOOQvBwnCVOn1nYUqz8TDUkbLeKW5fGNH6VXGJeQ6z+XbqryZP54EroqzPx879 ftBZpmlqCr3uE4e/pz/uGNVwF8iwfbfo2wSlJyACkg8baYsohAoOu1QbU+pLemqujm+O N7sQXGJRQwnSXqdBN/OdVWrdIoz6dyR317k0U= MIME-Version: 1.0 Sender: [email protected] Received: by 161.129.204.104 with SMTP id c5mr610108fac.14.1267144846098; Thu, 25 Feb 2010 16:40:46 -0800 (PST) In-Reply-To: <007001cab679$42d87320$c8895960$@com> References: <001801cab65f$dc21ee40$9465cac0$@com> <007001cab679$42d87320$c8895960$@com> From: Shashi Kant <[email protected]> Date: Thu, 25 Feb 2010 19:40:26 -0500 X-Google-Sender-Auth: 2f8c2f598e04356d Message-ID: <[email protected]> Subject: Re: How to secure/encrypt a Lucene index? To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Perhaps the easiest thing to do is to encrypt the index folder using an algorithm such as Blowfish and decrypt it on application launch and load into a RAM Directory. I had implemented something similar in the past and it worked out ok. On Thu, Feb 25, 2010 at 7:18 PM, Nicholas Paldino [.NET/C# MVP] <[email protected]> wrote: > Hans, > > =A0 =A0 =A0 =A0While I've seen other responses here, you haven't indicate= s exactly > ^what^ constitutes "unauthorized access". =A0Does that mean someone who c= an > authenticate against the domain to be a certain user, or some other > criteria? > > =A0 =A0 =A0 =A0You need to define the threats, the surface area for attac= ks, etc, > etc. > > =A0 =A0 =A0 =A0It would seem like you want to use an additional shared-se= cret in > order to access the data, which would mean that you have to query for thi= s > shared secret in your application, no matter what encryption technology i= s > used. =A0If you are using passwords, then you need to enforce password > strength; things such as minimum lengths, use of non-alpha-numeric > characters, checks against frequency of characters in the password and > dictionary checks should be standard. > > =A0 =A0 =A0 =A0Or, you could use a smart card with a client certificate a= s the > shared secret, or any combination of things (biometrics, etc, etc). > > =A0 =A0 =A0 =A0The point is, until you define what you have, and what the > requirements are ("protect the index from unauthorized index" is just way= to > vague), you're just stabbing in the dark. > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0- Nick > > -----Original Message----- > From: Hans Merkl [mailto:[email protected]] > Sent: Thursday, February 25, 2010 4:17 PM > To: [email protected] > Subject: How to secure/encrypt a Lucene index? > > > Hi, I am working on a desktop app that will use Lucerne as search engine. > The app will be installed on the user's machine and the index will be sto= red > on the local hard disk. > > The data is potentially confidential so I would like to protect the index > from unauthorized access. The data needs to be secure even when the user'= s > machine gets stolen. > > 2 approaches I have come up with so far: > > - Use Windows NTFS encryption. Should be secure unless the unauthorized > person knows how log in as the user that created the index. > - Use TrueCrypt. This should be very safe but it requires the installatio= n > of TrueCrypt and administrative rights to install the encrypted drive. > > The application will be distributed to many users so I would like to keep > the installation as simple as possible. > > Does anybody have experience with this scenario? Right now I think the > easiest approach would be NTFS encryption. What do you think? > > Thanks! > > > From [email protected] Fri Feb 26 01:17:26 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92537 invoked from network); 26 Feb 2010 01:17:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2010 01:17:26 -0000 Received: (qmail 9374 invoked by uid 500); 26 Feb 2010 01:17:25 -0000 Delivered-To: [email protected] Received: (qmail 9338 invoked by uid 500); 26 Feb 2010 01:17:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 9330 invoked by uid 99); 26 Feb 2010 01:17:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 01:17:25 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO rhmware.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 26 Feb 2010 01:17:14 +0000 Received: from HansLaptop ([161.129.204.104]) by rhmware.com ; Thu, 25 Feb 2010 20:17:03 -0500 From: "Hans Merkl" <[email protected]> To: <[email protected]> Subject: Re: How to secure/encrypt a Lucene index? Date: Thu, 25 Feb 2010 20:16:54 -0500 Message-ID: <001c01cab681$6237a210$26a6e630$@com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001D_01CAB657.79619A10" X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-us Thread-Index: Acq2gV/jt2Z+k8FHSFuUhwnxiRL5Vw== X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_001D_01CAB657.79619A10 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Trevor, Thanks for your ideas. I think feeding encrypted content into Lucene may cause problems with querying. I am not sure but I would think queries like "a*b" may not work. I have been thinking about having the index in memory but there is a good chance that the index may become quite large and then having everything in memory will cause a hard limit that will be hard to overcome without buying additional memory. I'll look into Dokan. I am not 100% clear what it does. Hans Trevor Watson <[email protected]> Subject Re: How to secure/encrypt a Lucene index? Date Thu, 25 Feb 2010 21:41:11 GMT Just throwing ideas your way in general, If you use the System.Cryptography functions on a word, it _should_ remain the same when you run it a second time. This means you could encrypt each word, then do a search on the encrypted phrase. This way, you'd have a Lucene index of encrypted words. Then if you are using the Lucene index as the data store as well, you could potentially decrypt each field word by word as well. We have a program that temporarily stores data on a users computer using System.IO.IsolatedStorage. If you could decrypt the entire Lucene index each time the program starts, you could store it in there and access it (so long as the index isn't overly large so the start-up decrypt doesn't take too long). If the IsolatedStorage isn't working for a Lucene index you could create a RAM Disk or temporary disk on the drive to store the lucene index while accessing it, you could look at Dokan (dokan-dev.net) (there's a .NET wrapper for this) to create a temporary drive on your computer and decrypt the index into it. ------=_NextPart_000_001D_01CAB657.79619A10-- From [email protected] Fri Feb 26 02:26:13 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23743 invoked from network); 26 Feb 2010 02:26:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2010 02:26:13 -0000 Received: (qmail 46298 invoked by uid 500); 26 Feb 2010 02:26:13 -0000 Delivered-To: [email protected] Received: (qmail 46277 invoked by uid 500); 26 Feb 2010 02:26:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 46269 invoked by uid 99); 26 Feb 2010 02:26:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 02:26:13 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO rhmware.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 26 Feb 2010 02:26:05 +0000 Received: from HansLaptop ([161.129.204.104]) by rhmware.com ; Thu, 25 Feb 2010 21:25:52 -0500 From: "Hans Merkl" <[email protected]> To: <[email protected]> Subject: RE: How to secure/encrypt a Lucene index? Date: Thu, 25 Feb 2010 21:25:43 -0500 Message-ID: <000001cab68a$ffd79120$ff86b360$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acq2gHXbTuM41pQwQd2se6v2bcNwZg== Content-Language: en-us Nick, Good questions and I'll try to clarify. My biggest concern is that the user's laptop will be stolen or lost. I would like the index to be encrypted in a way that only somebody who knows a certain password can access the index. NTFS encryption may work as long as whoever gets hold of the machine can't log in. But I would prefer if I could set things up that the user has to enter a password when the index gets created and has to enter the password whenever he starts my app. I have looked into TrueCrypt to create an encrypted virtual disk but I am a little bit worried about the installation and configuration. Hans ---------------------------------------------------------------------------- -------------- Hans, While I've seen other responses here, you haven't indicates exactly ^what^ constitutes "unauthorized access". Does that mean someone who can authenticate against the domain to be a certain user, or some other criteria? You need to define the threats, the surface area for attacks, etc, etc. It would seem like you want to use an additional shared-secret in order to access the data, which would mean that you have to query for this shared secret in your application, no matter what encryption technology is used. If you are using passwords, then you need to enforce password strength; things such as minimum lengths, use of non-alpha-numeric characters, checks against frequency of characters in the password and dictionary checks should be standard. Or, you could use a smart card with a client certificate as the shared secret, or any combination of things (biometrics, etc, etc). The point is, until you define what you have, and what the requirements are ("protect the index from unauthorized index" is just way to vague), you're just stabbing in the dark. - Nick From [email protected] Fri Feb 26 02:39:55 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57676 invoked from network); 26 Feb 2010 02:39:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2010 02:39:55 -0000 Received: (qmail 54246 invoked by uid 500); 26 Feb 2010 02:39:55 -0000 Delivered-To: [email protected] Received: (qmail 54222 invoked by uid 500); 26 Feb 2010 02:39:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 54213 invoked by uid 99); 26 Feb 2010 02:39:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 02:39:55 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-gy0-f176.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 02:39:47 +0000 Received: by gyb13 with SMTP id 13so1598611gyb.35 for <[email protected]>; Thu, 25 Feb 2010 18:39:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=Iya08FyLkaPgqFML9+P3JY/vNdkGLDQpqKKxVTqhgpM=; b=CTxRNLCfrsRmheVScsz6kt60D0u8xg8wyrED4yYMRwugehJDDbcZyvwkjFmiKh62OY jEN0Ev0NUecpaq5V99QGbntBwMbPe6GhylKNytdtZH/HKs4Bc0H4i4mLE74vi+X9yC2X 679Og81Q6mKJK+ZR5vv8/dygjSTnzomrGTHdc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Zle5IqFSm6DpcgQg+wXYW9WLxiuIzcHHOoHL6B2ksU2N7+4tsVd5sTQEmTKwEzZKC4 vrJdsI4andzy8EleRO9AUPwKny5boIrF5GKgw5E0id+MEm8pzrw+9pLbks/STKE6oaGZ ANliaXBFkFNrpWlUq/Y8yUWIOoqDoQaRlIHBI= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id j14mr366865ann.58.1267151966100; Thu, 25 Feb 2010 18:39:26 -0800 (PST) Date: Fri, 26 Feb 2010 10:39:26 +0800 Message-ID: <[email protected]> Subject: Is it possible to set a property for the whole index? From: Qizhen Ruan <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016e68fd060d0dec7048077ce59 X-Virus-Checked: Checked by ClamAV on apache.org --0016e68fd060d0dec7048077ce59 Content-Type: text/plain; charset=ISO-8859-1 Hi, I need to set a property, "language", to all documents in the index. But for a single index, the language for all documents are the same. Is that possible that I create a property for the index file instead of for each document in it? When I got the result from from multiple indexes search, could I know which index the result belongs to? Thanks, Qizhen --0016e68fd060d0dec7048077ce59-- From [email protected] Fri Feb 26 08:42:31 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57180 invoked from network); 26 Feb 2010 08:42:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2010 08:42:31 -0000 Received: (qmail 39530 invoked by uid 500); 26 Feb 2010 08:42:30 -0000 Delivered-To: [email protected] Received: (qmail 39513 invoked by uid 500); 26 Feb 2010 08:42:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 39505 invoked by uid 99); 26 Feb 2010 08:42:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 08:42:29 +0000 X-ASF-Spam-Status: No, hits=-1.2 required=10.0 tests=MIME_BASE64_BLANKS,MIME_BASE64_TEXT,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtp05.bis.eu.blackberry.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 08:42:21 +0000 Received: from bda2091.bisx.produk.on.blackberry (bda2091.bisx.produk.on.blackberry [161.129.204.104]) by srs.bis.eu.blackberry.com (8.13.7 TEAMON/8.13.7) with ESMTP id o1Q8fx1S023163; Fri, 26 Feb 2010 08:41:59 GMT Received: from bda2091.bisx.produk.on.blackberry (localhost.localdomain [161.129.204.104]) by bda2091.bisx.produk.on.blackberry (8.13.7 TEAMON/8.13.7) with ESMTP id o1Q8ftSv011517; Fri, 26 Feb 2010 08:41:55 GMT X-rim-org-msg-ref-id: 416302183 Message-ID: <[email protected]> Content-Transfer-Encoding: base64 Reply-To: [email protected] X-Priority: Normal References: <[email protected]> In-Reply-To: <[email protected]> Sensitivity: Normal Importance: Normal Subject: Re: Is it possible to set a property for the whole index? To: [email protected] From: "Moray McConnachie" <[email protected]> Date: Fri, 26 Feb 2010 08:42:13 +0000 Content-Type: text/plain MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org U2ltaWxhciBxdWVzdGlvbnMgaW4gdGhlIHBhc3QgaGF2ZSBnb3QgdGhlIGFuc3dlciBmcm9tIHRo aXMgbGlzdCAic3RvcmUgaW5kZXggcHJvcGVydGllcyBhcyBmaWVsZHMgb2YgYSBzaW5nbGUgZG9j dW1lbnQuIFlvdSBvbmx5IGhhdmUgdG8gaW5kZXggdGhhdCBkb2N1bWVudCBieSBvbmUgZmllbGQu IiANCg0KWW91IGNvdWxkIGFsdGVybmF0aXZlbHkgc3RvcmUgdGhlIGxhbmd1YWdlIGluIHRoZSBw YXRoIG9mIHRoZSBpbmRleCwgd2hpY2ggbWlnaHQgZ2l2ZSB5b3UgYW4gZWFzeSB3YXkgdG8gZXh0 ZW5kIGluIGZ1dHVyZS4NCg0KT3VyIHBhcnRpY3VsYXIgYXBwcyB0ZW5kIHRvIHVzZSBhIG5hbWVk IGNvbmZpZ3VyYXRpb24gc2VjdGlvbiBpbiAuY29uZmlnIGZpbGVzIGZvciB0aGlzIHNvcnQgb2Yg dGhpbmcuIA0KDQpZb3VycywNCk1vcmF5DQotLS0tLS0tLS0tLS0tLS0tLS0NCk1vcmF5IE1jQ29u bmFjaGllDQpEaXJlY3RvciBvZiBJVCwNCk94Zm9yZCBBbmFseXRpY2ENCg0KDQotLS0tLU9yaWdp bmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTogUWl6aGVuIFJ1YW4gPHJ1YW5xaXpoZW5AZ21haWwuY29t Pg0KRGF0ZTogRnJpLCAyNiBGZWIgMjAxMCAxMDozOToyNiANClRvOiA8bHVjZW5lLW5ldC11c2Vy QGx1Y2VuZS5hcGFjaGUub3JnPg0KU3ViamVjdDogSXMgaXQgcG9zc2libGUgdG8gc2V0IGEgcHJv cGVydHkgZm9yIHRoZSB3aG9sZSBpbmRleD8NCg0KSGksDQoNCkkgbmVlZCB0byBzZXQgYSBwcm9w ZXJ0eSwgImxhbmd1YWdlIiwgdG8gYWxsIGRvY3VtZW50cyBpbiB0aGUgaW5kZXguICBCdXQNCmZv ciBhIHNpbmdsZSBpbmRleCwgdGhlIGxhbmd1YWdlIGZvciBhbGwgZG9jdW1lbnRzIGFyZSB0aGUg c2FtZS4NCklzIHRoYXQgcG9zc2libGUgdGhhdCBJIGNyZWF0ZSBhIHByb3BlcnR5IGZvciB0aGUg aW5kZXggZmlsZSBpbnN0ZWFkIG9mIGZvcg0KZWFjaCBkb2N1bWVudCBpbiBpdD8NCldoZW4gSSBn b3QgdGhlIHJlc3VsdCBmcm9tIGZyb20gbXVsdGlwbGUgaW5kZXhlcyBzZWFyY2gsIGNvdWxkIEkg a25vdyB3aGljaA0KaW5kZXggdGhlIHJlc3VsdCBiZWxvbmdzIHRvPw0KDQpUaGFua3MsDQpRaXpo ZW4NCg0K From [email protected] Fri Feb 26 17:16:40 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67624 invoked from network); 26 Feb 2010 17:16:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2010 17:16:40 -0000 Received: (qmail 71444 invoked by uid 500); 26 Feb 2010 17:16:40 -0000 Delivered-To: [email protected] Received: (qmail 71415 invoked by uid 500); 26 Feb 2010 17:16:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71407 invoked by uid 99); 26 Feb 2010 17:16:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 17:16:40 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f217.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 17:16:33 +0000 Received: by bwz9 with SMTP id 9so218467bwz.5 for <[email protected]>; Fri, 26 Feb 2010 09:16:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=BtZw2myDUebGN0uUlYuQNGkEohx1Gzn6YOPppl9aPV0=; b=BRelGSPTf8xihYx2wphZi9gyr9XLTHbmPgpeM4GhlfDqr0jMnpTwIESmq5xuR3u079 B7s//ipIY+Ey/uKT/lqVc9gsJV3Ugm2R1oVho1tdBqOZFFTjDitaciVez5HPZ4aoF1do doG/Qri/+QOuceb9m59C8QrObzkn4MA+AVddk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=UPcQ5RVCmiBsPWA+r0QsI05/2PxCSKOw+5ddRbQlwH63CVAk4RF+rfnnaLZcXj8vEp lwyLdllZn2YEtnyUxKt0q3P1qzn50n3h1aq5s9pHxuBXBmb6oUgtsAJUBo9ocsMwcIUH un/aol+10SVRH1thoyzCq/JFyL8dQ+l8IXfz8= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id 26mr505413bkv.62.1267204572029; Fri, 26 Feb 2010 09:16:12 -0800 (PST) Date: Fri, 26 Feb 2010 09:16:11 -0800 Message-ID: <[email protected]> Subject: Lucene index file container From: Andrew Schuler <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00151758fb9e5fb47d0480840efc --00151758fb9e5fb47d0480840efc Content-Type: text/plain; charset=ISO-8859-1 The discussion about encrypting an index has me thinking about a current use I have for Lucene.net. I'm building a small app with a static index distributed with it. Can anyone recommend a way to package the index into say some type of file container for inclusion in an installer package? -andy --00151758fb9e5fb47d0480840efc-- From [email protected] Fri Feb 26 18:26:20 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2355 invoked from network); 26 Feb 2010 18:26:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2010 18:26:19 -0000 Received: (qmail 72121 invoked by uid 500); 26 Feb 2010 18:26:19 -0000 Delivered-To: [email protected] Received: (qmail 72051 invoked by uid 500); 26 Feb 2010 18:26:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 1809 invoked by uid 99); 26 Feb 2010 01:10:50 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) From: "Hans Merkl" <[email protected]> To: <[email protected]> Subject: RE: How to secure/encrypt a Lucene index? Date: Thu, 25 Feb 2010 20:10:21 -0500 Message-ID: <001701cab680$78544c20$68fce460$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-us Thread-Index: Acq2gHXbTuM41pQwQd2se6v2bcNwZg== Nick, Good questions and I'll try to clarify. My biggest concern is that the user's laptop will be stolen or lost. I would like the index to be encrypted in a way that only somebody who knows a certain password can access the index. NTFS encryption may work as long as whoever gets hold of the machine can't log in. But I would prefer if I could set things up that the user has to enter a password when the index gets created and has to enter the password whenever he starts my app. I have looked into TrueCrypt to create an encrypted virtual disk but I am a little bit worried about the installation and configuration. Hans ---------------------------------------------------------------------------- -------------- Hans, While I've seen other responses here, you haven't indicates exactly ^what^ constitutes "unauthorized access". Does that mean someone who can authenticate against the domain to be a certain user, or some other criteria? You need to define the threats, the surface area for attacks, etc, etc. It would seem like you want to use an additional shared-secret in order to access the data, which would mean that you have to query for this shared secret in your application, no matter what encryption technology is used. If you are using passwords, then you need to enforce password strength; things such as minimum lengths, use of non-alpha-numeric characters, checks against frequency of characters in the password and dictionary checks should be standard. Or, you could use a smart card with a client certificate as the shared secret, or any combination of things (biometrics, etc, etc). The point is, until you define what you have, and what the requirements are ("protect the index from unauthorized index" is just way to vague), you're just stabbing in the dark. - Nick From [email protected] Fri Feb 26 19:42:10 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38039 invoked from network); 26 Feb 2010 19:42:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2010 19:42:10 -0000 Received: (qmail 64170 invoked by uid 500); 26 Feb 2010 19:42:10 -0000 Delivered-To: [email protected] Received: (qmail 64104 invoked by uid 500); 26 Feb 2010 19:42:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 64096 invoked by uid 99); 26 Feb 2010 19:42:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 19:42:10 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO rhmware.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 26 Feb 2010 19:42:01 +0000 Received: from HansLaptop ([161.129.204.104]) by rhmware.com ; Fri, 26 Feb 2010 14:41:47 -0500 From: "Hans Merkl" <[email protected]> To: <[email protected]> References: <[email protected]> In-Reply-To: <[email protected]> Subject: RE: Lucene index file container Date: Fri, 26 Feb 2010 14:41:40 -0500 Message-ID: <005f01cab71b$b7eb1f80$27c15e80$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acq3B3ucL4+N2LaxShq2s20ay5WzlgAFBFcw Content-Language: en-us Can't you add all the files in the index directory to the installer package? This should be pretty straightforward. -----Original Message----- From: Andrew Schuler [mailto:[email protected]] Sent: Friday, February 26, 2010 12:16 PM To: [email protected] Subject: Lucene index file container The discussion about encrypting an index has me thinking about a current use I have for Lucene.net. I'm building a small app with a static index distributed with it. Can anyone recommend a way to package the index into say some type of file container for inclusion in an installer package? -andy From [email protected] Fri Feb 26 19:47:57 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40569 invoked from network); 26 Feb 2010 19:47:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2010 19:47:57 -0000 Received: (qmail 68767 invoked by uid 500); 26 Feb 2010 19:47:57 -0000 Delivered-To: [email protected] Received: (qmail 68746 invoked by uid 500); 26 Feb 2010 19:47:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 68738 invoked by uid 99); 26 Feb 2010 19:47:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 19:47:57 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f217.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 19:47:50 +0000 Received: by bwz9 with SMTP id 9so329850bwz.5 for <[email protected]>; Fri, 26 Feb 2010 11:47:28 -0800 (PST) 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=QNmNwK3DhrW7wLs9aDitfyG4cgG6a0Vs8aRV2Hqe83s=; b=gLzIhyeMpx6V4CKFCYRy7chPXc8MVZgxAxifsIv24rgoRRo4+AQ6oTmHbpDzQ+Owcx l81ElEIbA/vwhUxd+cG20BtV/a+5u19Cp4XlLmkqZ55k6zdPuVMQA4fksKRcHQV6mB7i 6gvf4bZtniS9/zfDIoCU+XgKji9ahqmBUKZNY= 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=QTHakyO3FLW8xXOSJZM438j5sWQq0KtN4yE3dktLFYkx2mq343/riXiaItkvsN3CJ/ fhTxFJuTSVvCzyuB78wIPFaCfJGKSGC9M99Odq2buN8OrkKCdVINWKZxZe6tH+RPxCRs 0kvorqC4pxjEla5eanhwyHG35gv352m2mBJwY= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id w18mr655994bks.29.1267213648739; Fri, 26 Feb 2010 11:47:28 -0800 (PST) In-Reply-To: <005f01cab71b$b7eb1f80$27c15e80$@com> References: <[email protected]> <005f01cab71b$b7eb1f80$27c15e80$@com> Date: Fri, 26 Feb 2010 11:47:28 -0800 Message-ID: <[email protected]> Subject: Re: Lucene index file container From: Andrew Schuler <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00151747bd3a633cf80480862be9 --00151747bd3a633cf80480862be9 Content-Type: text/plain; charset=ISO-8859-1 Yes, that is do-able. I was just thinking it would be cleaner to wrap the indexes (there will be more than one) in some sort of file container. One of the things I'd like to do it be able to allow the user to download pre-packaged indexes and load them into the app. This would be easy with a file than a directory of files no? On Fri, Feb 26, 2010 at 11:41 AM, Hans Merkl <[email protected]> wrote: > Can't you add all the files in the index directory to the installer > package? > This should be pretty straightforward. > > -----Original Message----- > From: Andrew Schuler [mailto:[email protected]] > Sent: Friday, February 26, 2010 12:16 PM > To: [email protected] > Subject: Lucene index file container > > The discussion about encrypting an index has me thinking about a current > use > I have for Lucene.net. I'm building a small app with a static index > distributed with it. Can anyone recommend a way to package the index into > say some type of file container for inclusion in an installer package? > > -andy > > > --00151747bd3a633cf80480862be9-- From [email protected] Fri Feb 26 19:55:32 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42411 invoked from network); 26 Feb 2010 19:55:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2010 19:55:32 -0000 Received: (qmail 82535 invoked by uid 500); 26 Feb 2010 19:55:32 -0000 Delivered-To: [email protected] Received: (qmail 82512 invoked by uid 500); 26 Feb 2010 19:55:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 82504 invoked by uid 99); 26 Feb 2010 19:55:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 19:55:32 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ey-out-2122.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 19:55:21 +0000 Received: by ey-out-2122.google.com with SMTP id 9so200097eyd.3 for <[email protected]>; Fri, 26 Feb 2010 11:55:01 -0800 (PST) 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=lY5TWO16bcC/XGu7phuCA2d/CITmlBPeS9okRE2Hca0=; b=VA+QaZK+RrGDOkEtWahd1Zyemp4KJK0wmiXO8tFqvdmbd4dlwm8dFAFDRcIF9/1Tx4 p3xOITSnPrVXOLUp7n4I8wfL7+f4yjEPVrAc1Ai2qDj5FDa/vypP1EPgNPDzVZYnuw+K ic5RU1xDz/d37u0i1mY9ssDwROG0BMF2+j9lc= 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=Mm8IYkZPgnqRg793q8mUbZa7K6VloQuQ6Zxq/FDN7MRoLEJylWK64bz7JDo6OXm9IK g/6dLDGzxoImUruBobqbJsXZhxutaNx4UJR/Vw6YO4LwlMXCRt8fPx8Kn4YRnKvCzeNe tCsm+Hbw9h8ywePVnX/2dJ0n9ngLdQPb4MeQw= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id w4mr727367wee.87.1267214101260; Fri, 26 Feb 2010 11:55:01 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <005f01cab71b$b7eb1f80$27c15e80$@com> <[email protected]> Date: Fri, 26 Feb 2010 14:55:01 -0500 Message-ID: <[email protected]> Subject: Re: Lucene index file container From: Nicholas Petersen <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016e6d77ed35c2bdc04808646d6 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d77ed35c2bdc04808646d6 Content-Type: text/plain; charset=UTF-8 <Can anyone recommend a way to package the index into say some type of file container> If I understand correctly, it sounds like your asking for a text-book implementation of an archiver, like a zip file. If so, DotNetZip is a solid product, very easy to use, very fast. Highly recommended. http://www.codeplex.com/DotNetZip. Best, Nick On Fri, Feb 26, 2010 at 2:47 PM, Andrew Schuler <[email protected]>wrote: > Yes, that is do-able. I was just thinking it would be cleaner to wrap the > indexes (there will be more than one) in some sort of file container. One > of > the things I'd like to do it be able to allow the user to download > pre-packaged indexes and load them into the app. This would be easy with a > file than a directory of files no? > > > On Fri, Feb 26, 2010 at 11:41 AM, Hans Merkl <[email protected]> wrote: > > > Can't you add all the files in the index directory to the installer > > package? > > This should be pretty straightforward. > > > > -----Original Message----- > > From: Andrew Schuler [mailto:[email protected]] > > Sent: Friday, February 26, 2010 12:16 PM > > To: [email protected] > > Subject: Lucene index file container > > > > The discussion about encrypting an index has me thinking about a current > > use > > I have for Lucene.net. I'm building a small app with a static index > > distributed with it. Can anyone recommend a way to package the index into > > say some type of file container for inclusion in an installer package? > > > > -andy > > > > > > > --0016e6d77ed35c2bdc04808646d6-- From [email protected] Fri Feb 26 20:10:52 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48082 invoked from network); 26 Feb 2010 20:10:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2010 20:10:52 -0000 Received: (qmail 94493 invoked by uid 500); 26 Feb 2010 20:10:52 -0000 Delivered-To: [email protected] Received: (qmail 94365 invoked by uid 500); 26 Feb 2010 20:10:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 94357 invoked by uid 99); 26 Feb 2010 20:10:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 20:10:52 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO rhmware.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 26 Feb 2010 20:10:43 +0000 Received: from HansLaptop ([161.129.204.104]) by rhmware.com ; Fri, 26 Feb 2010 15:10:29 -0500 From: "Hans Merkl" <[email protected]> To: <[email protected]> References: <[email protected]> <005f01cab71b$b7eb1f80$27c15e80$@com> <[email protected]> In-Reply-To: <[email protected]> Subject: RE: Lucene index file container Date: Fri, 26 Feb 2010 15:10:23 -0500 Message-ID: <007801cab71f$baca4dd0$305ee970$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acq3HJ1UoNyc1U4cSyaBqRdUvWVjsgAAGplA Content-Language: en-us X-Virus-Checked: Checked by ClamAV on apache.org You can put the files into a zip file and have your app unpack the files. It's very easy to do this from a .NET app. Just an idea. -----Original Message----- From: Andrew Schuler [mailto:[email protected]] Sent: Friday, February 26, 2010 2:47 PM To: [email protected] Subject: Re: Lucene index file container Yes, that is do-able. I was just thinking it would be cleaner to wrap the indexes (there will be more than one) in some sort of file container. One of the things I'd like to do it be able to allow the user to download pre-packaged indexes and load them into the app. This would be easy with a file than a directory of files no? On Fri, Feb 26, 2010 at 11:41 AM, Hans Merkl <[email protected]> wrote: > Can't you add all the files in the index directory to the installer > package? > This should be pretty straightforward. > > -----Original Message----- > From: Andrew Schuler [mailto:[email protected]] > Sent: Friday, February 26, 2010 12:16 PM > To: [email protected] > Subject: Lucene index file container > > The discussion about encrypting an index has me thinking about a current > use > I have for Lucene.net. I'm building a small app with a static index > distributed with it. Can anyone recommend a way to package the index into > say some type of file container for inclusion in an installer package? > > -andy > > > From [email protected] Fri Feb 26 20:13:08 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48942 invoked from network); 26 Feb 2010 20:13:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2010 20:13:07 -0000 Received: (qmail 98657 invoked by uid 500); 26 Feb 2010 20:13:07 -0000 Delivered-To: [email protected] Received: (qmail 98631 invoked by uid 500); 26 Feb 2010 20:13:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 98623 invoked by uid 99); 26 Feb 2010 20:13:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 20:13:07 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f217.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 20:12:57 +0000 Received: by bwz9 with SMTP id 9so346316bwz.5 for <[email protected]>; Fri, 26 Feb 2010 12:12:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=JG+9Z8GcTqmVC4eBt/F2MElum1F6n1nIbQlpFeXmX/U=; b=UKh55hbYIekIRPT7HR8Erf4O+RXlFow+Zei5w5cj93F1gvXGHi/mhjCBSxea8CWaEP 9y2SsubFHp9FXCkujs094XMU8W9g+v6sjvjQxBSkswFgmom9cLxSr9oSa2TmVgr2AGJu s7ccxp2eMKiX7ymuTpS51K5r8rEoyOG8tndpQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=DL5fBEsTNq3b+gyyyjR6Y/NsMgISIdZv2pW7/gZ98y8OxXwKKR1O+XmVdEmo3Pp6Be CmK+jkqLatFrk+bclklrihFwfMqiGUpXn1IEa8J9lFtTcqqYNOoepjfAFpqQpk2yAIZn FnqNiG2lhqUcQT0uyhFLFAKAEWY0utFRZRQws= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id r11mr662302bkr.12.1267215156165; Fri, 26 Feb 2010 12:12:36 -0800 (PST) Date: Fri, 26 Feb 2010 21:12:35 +0100 Message-ID: <[email protected]> Subject: Series of post about Lucene.net (and how Lucene.net was implemented in Subtext) From: Simone Chiaretta <[email protected]> To: lucene-net-user <[email protected]> Content-Type: multipart/alternative; boundary=00032555fd563cbfb30480868541 --00032555fd563cbfb30480868541 Content-Type: text/plain; charset=ISO-8859-1 Hi all, a few months ago I was running a series of posts about Lucene.net: http://codeclimber.net.nz/Tags/Lucene.net/default.aspx And today I just posted on my blog that explanations of how we implemented Lucene.net inside Subtext http://codeclimber.net.nz/archive/2010/02/26/lucene.net-is-powering-subtext-2.5-search.aspx Any comments, on both the original series and the current post (and even our implementation of the search engine) are welcome :) My plan is to review all the posts and make them into an ebook and release it for free on my blog. Simo -- Simone Chiaretta Microsoft MVP ASP.NET - ASPInsider Blog: http://codeclimber.net.nz RSS: http://feeds2.feedburner.com/codeclimber twitter: @simonech Any sufficiently advanced technology is indistinguishable from magic "Life is short, play hard" --00032555fd563cbfb30480868541-- From [email protected] Fri Feb 26 20:21:42 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50720 invoked from network); 26 Feb 2010 20:21:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2010 20:21:42 -0000 Received: (qmail 7331 invoked by uid 500); 26 Feb 2010 20:21:42 -0000 Delivered-To: [email protected] Received: (qmail 7308 invoked by uid 500); 26 Feb 2010 20:21:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7300 invoked by uid 99); 26 Feb 2010 20:21:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 20:21:42 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f221.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 20:21:32 +0000 Received: by ewy21 with SMTP id 21so325840ewy.5 for <[email protected]>; Fri, 26 Feb 2010 12:21:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:references :in-reply-to:subject:date:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:thread-index:content-language; bh=FXka0sE+hhDbt/Zf46G3qhKKnDtlmxNN9XgzcjJa4XM=; b=NklvKkyHWTPjaMWhY74B2GZfPaLcBQSZgQfW824SgrWTUCdfw78zE3cxguLK/1oMS8 BWp80Q0rmzySVrt8GrL8qxffqvzcsxgvltVuAzTLgXO+4lknYOxqzvMdrEYIlrQ7jYDM 1HCfIF/TooYU/2nwytrRMGWj6ybQK8kD4VZ+Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:content-transfer-encoding:x-mailer:thread-index :content-language; b=W9Ea0Oissl7X6hLkEza7ErXiO0o5etT8sj5j+jQEtEXG5XdNWgI+80Q/3JSW6eZVCb HhE81Oi6I6Tq9fiOb3mHT1DmhcN9SnEwClLBI/B85Y3CshqeUU0QHL/0GJDB6R1tlxeP q1ia9ey0UgdvSITPnRYf0vVyk+ORJZSdqwkBI= Received: by 161.129.204.104 with SMTP id k12mr257272ebi.4.1267215664941; Fri, 26 Feb 2010 12:21:04 -0800 (PST) Received: from NEWPC ([161.129.204.104]) by mx.google.com with ESMTPS id 14sm224951ewy.10.2161.129.204.104.21.02 (version=SSLv3 cipher=RC4-MD5); Fri, 26 Feb 2010 12:21:04 -0800 (PST) From: "Digy" <[email protected]> To: <[email protected]> References: <[email protected]> In-Reply-To: <[email protected]> Subject: RE: Series of post about Lucene.net (and how Lucene.net was implemented in Subtext) Date: Fri, 26 Feb 2010 22:20:48 +0200 Message-ID: <006601cab721$30fad870$92f08950$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acq3IByXWUt5lNVVTNKBVZ2GonecRgAAHwaw Content-Language: tr We don't still have any feedback about your medium-trust problem. Did it work? DIGY -----Original Message----- From: Simone Chiaretta [mailto:[email protected]] Sent: Friday, February 26, 2010 10:13 PM To: lucene-net-user Subject: Series of post about Lucene.net (and how Lucene.net was implemented in Subtext) Hi all, a few months ago I was running a series of posts about Lucene.net: http://codeclimber.net.nz/Tags/Lucene.net/default.aspx And today I just posted on my blog that explanations of how we implemented Lucene.net inside Subtext http://codeclimber.net.nz/archive/2010/02/26/lucene.net-is-powering-subtext- 2.5-search.aspx Any comments, on both the original series and the current post (and even our implementation of the search engine) are welcome :) My plan is to review all the posts and make them into an ebook and release it for free on my blog. Simo -- Simone Chiaretta Microsoft MVP ASP.NET - ASPInsider Blog: http://codeclimber.net.nz RSS: http://feeds2.feedburner.com/codeclimber twitter: @simonech Any sufficiently advanced technology is indistinguishable from magic "Life is short, play hard" From [email protected] Fri Feb 26 21:04:44 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58440 invoked from network); 26 Feb 2010 21:04:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2010 21:04:44 -0000 Received: (qmail 63700 invoked by uid 500); 26 Feb 2010 21:04:43 -0000 Delivered-To: [email protected] Received: (qmail 63679 invoked by uid 500); 26 Feb 2010 21:04:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 63671 invoked by uid 99); 26 Feb 2010 21:04:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 21:04:43 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f217.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 21:04:33 +0000 Received: by bwz9 with SMTP id 9so378330bwz.5 for <[email protected]>; Fri, 26 Feb 2010 13:04:12 -0800 (PST) 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=xSRTR+2y5dyJQYDlnwWgV5c+soPxGA4hvWfACZbLWTE=; b=cI2bcPpgIFdIoS7kd6zeKMRF3NS+9INa87T8vLPcNAm5QRFUYpFi2qF+D79OuYMVlu 5jlh2knnVNoaIISsWyK7kJVAtsPYYxZguUUhlp/07YSZmScYwqDvDg448MVFkjssbeFa qK/LaOrmf7qsIAymSU80AdhdPxf2Z7kaTEwkE= 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=iA3FhmIw386QkS9pDKSQLI48n+SyWrRf9VGIfqI3iaO9vEGT9at2WgEbjq3xYvEIzB YJnA2baHRmLuvWwq1baH2N0xdCFA9QoQoCKm4Wq6d9FMtGbX2A2pUC9yUmFRQiCpzfka 48H/TeZNYr+z4nXOV80184O651i0acHHs6y+A= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id r11mr702175bkr.12.1267218252662; Fri, 26 Feb 2010 13:04:12 -0800 (PST) In-Reply-To: <006601cab721$30fad870$92f08950$@com> References: <[email protected]> <006601cab721$30fad870$92f08950$@com> Date: Fri, 26 Feb 2010 22:04:12 +0100 Message-ID: <[email protected]> Subject: Re: Series of post about Lucene.net (and how Lucene.net was implemented in Subtext) From: Simone Chiaretta <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00032555fd56cd89900480873d32 X-Virus-Checked: Checked by ClamAV on apache.org --00032555fd56cd89900480873d32 Content-Type: text/plain; charset=ISO-8859-1 Not tried out yet, sorry On Fri, Feb 26, 2010 at 9:20 PM, Digy <[email protected]> wrote: > We don't still have any feedback about your medium-trust problem. Did it > work? > DIGY > > -----Original Message----- > From: Simone Chiaretta [mailto:[email protected]] > Sent: Friday, February 26, 2010 10:13 PM > To: lucene-net-user > Subject: Series of post about Lucene.net (and how Lucene.net was > implemented > in Subtext) > > Hi all, > a few months ago I was running a series of posts about Lucene.net: > http://codeclimber.net.nz/Tags/Lucene.net/default.aspx > > And today I just posted on my blog that explanations of how we implemented > Lucene.net inside Subtext > > http://codeclimber.net.nz/archive/2010/02/26/lucene.net-is-powering-subtext- > 2.5-search.aspx<http://codeclimber.net.nz/archive/2010/02/26/lucene.net-is-powering-subtext-%0A2.5-search.aspx> > > Any comments, on both the original series and the current post (and even > our > implementation of the search engine) are welcome :) > > My plan is to review all the posts and make them into an ebook and release > it for free on my blog. > > Simo > > -- > Simone Chiaretta > Microsoft MVP ASP.NET - ASPInsider > Blog: http://codeclimber.net.nz > RSS: http://feeds2.feedburner.com/codeclimber > twitter: @simonech > > Any sufficiently advanced technology is indistinguishable from magic > "Life is short, play hard" > > -- Simone Chiaretta Microsoft MVP ASP.NET - ASPInsider Blog: http://codeclimber.net.nz RSS: http://feeds2.feedburner.com/codeclimber twitter: @simonech Any sufficiently advanced technology is indistinguishable from magic "Life is short, play hard" --00032555fd56cd89900480873d32-- From [email protected] Fri Feb 26 21:48:31 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74826 invoked from network); 26 Feb 2010 21:48:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2010 21:48:31 -0000 Received: (qmail 21226 invoked by uid 500); 26 Feb 2010 21:48:31 -0000 Delivered-To: [email protected] Received: (qmail 21205 invoked by uid 500); 26 Feb 2010 21:48:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 21195 invoked by uid 99); 26 Feb 2010 21:48:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 21:48:31 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f217.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 21:48:20 +0000 Received: by bwz9 with SMTP id 9so403999bwz.5 for <[email protected]>; Fri, 26 Feb 2010 13:48:00 -0800 (PST) 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=RRTUVxOrngMFuMCYLdC6+7qVSkVBHOx/TKoedDU9LRI=; b=BAVM8TQ4GEJ9O+4pJsMXA0Tcxo0HZmQkBwI7vcFKWp9JL8tfzn5fV3/C64BZv4jycy U5UkoXzeOVIUoclpLfuG5CeVTFVsraqZLO5EAGEV6qjN8afBSTIoqnPemV5kBWGrQMVB TU0hnGn1r7M6/JnLK4M+iEZja/xbiNznAP5cI= 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=MzrccWJL2aq3n35K/3zRJEhe161rizQje83rAG0TH/jwXecvXhg7gkt1FyOAyPuaOK LCbVFVdTwLI32kYc1P3md8DJVlkbMOBPb9hWoXspJTaJdO2tr+uI/gKLbKPGvKsZNGvE fGOUW1lU89Sge28lgHdqORlKZWRneS/Le2H/E= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id b10mr730632bkd.38.1267220880278; Fri, 26 Feb 2010 13:48:00 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <005f01cab71b$b7eb1f80$27c15e80$@com> <[email protected]> <[email protected]> Date: Fri, 26 Feb 2010 13:48:00 -0800 Message-ID: <[email protected]> Subject: Re: Lucene index file container From: Andrew Schuler <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=000325555bf26bc4e9048087da03 X-Virus-Checked: Checked by ClamAV on apache.org --000325555bf26bc4e9048087da03 Content-Type: text/plain; charset=ISO-8859-1 Thanks for both answers on this. I considered a zip file but was unsure of the associated overhead of unpacking file. Does any one have experience running an index directly out of zip file? Are my worries unfounded? I was just trying to leverage the experience of the group, but otherwise I'll just have to run some tests on my own. On Fri, Feb 26, 2010 at 11:55 AM, Nicholas Petersen <[email protected]>wrote: > <Can anyone recommend a way to package the index into say some type of file > container> > > If I understand correctly, it sounds like your asking for a text-book > implementation of an archiver, like a zip file. If so, DotNetZip is a > solid > product, very easy to use, very fast. Highly recommended. > http://www.codeplex.com/DotNetZip. > > Best, > Nick > > > > On Fri, Feb 26, 2010 at 2:47 PM, Andrew Schuler <[email protected] > >wrote: > > > Yes, that is do-able. I was just thinking it would be cleaner to wrap the > > indexes (there will be more than one) in some sort of file container. One > > of > > the things I'd like to do it be able to allow the user to download > > pre-packaged indexes and load them into the app. This would be easy with > a > > file than a directory of files no? > > > > > > On Fri, Feb 26, 2010 at 11:41 AM, Hans Merkl <[email protected]> wrote: > > > > > Can't you add all the files in the index directory to the installer > > > package? > > > This should be pretty straightforward. > > > > > > -----Original Message----- > > > From: Andrew Schuler [mailto:[email protected]] > > > Sent: Friday, February 26, 2010 12:16 PM > > > To: [email protected] > > > Subject: Lucene index file container > > > > > > The discussion about encrypting an index has me thinking about a > current > > > use > > > I have for Lucene.net. I'm building a small app with a static index > > > distributed with it. Can anyone recommend a way to package the index > into > > > say some type of file container for inclusion in an installer package? > > > > > > -andy > > > > > > > > > > > > --000325555bf26bc4e9048087da03-- From [email protected] Fri Feb 26 23:52:36 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95563 invoked from network); 26 Feb 2010 22:37:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2010 22:37:45 -0000 Received: (qmail 74579 invoked by uid 500); 26 Feb 2010 22:37:45 -0000 Delivered-To: [email protected] Received: (qmail 74547 invoked by uid 500); 26 Feb 2010 22:37:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74536 invoked by uid 99); 26 Feb 2010 22:37:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 22:37:45 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f221.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 22:37:34 +0000 Received: by ewy21 with SMTP id 21so377366ewy.5 for <[email protected]>; Fri, 26 Feb 2010 14:37:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:references :in-reply-to:subject:date:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:thread-index:content-language; bh=m/L2n70YCO/2Z7ATfmDXgv2Y2tCzttvoyCxC621UdpA=; b=NHjEt3v9svgJeOSkn3ym+JEU9f1OWdI6XRVB0nyEXxMsPvedCC5qunwIckGyhh4afI uBWqA21+6aUSDKzzjdGRJBtFdp6z7kQV0WgUhr11G/G59JH4uommSPMOgm/WifWgKmCc 1LuBGFYLFpEfpCkynYRj6C+fURR06/wvO/RDY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:content-transfer-encoding:x-mailer:thread-index :content-language; b=j6AzwWpUIGWuD9Eek4k1cqJSlFMQCw9omQKwO+mm+yZjzelrdUtj5Szi/29CpPCW0K 5VPaEx2R9RR2T6R9yl4+l4Y7C3imUfZWwXbv8Lpcz0bIOAGpcHkrYZxZzARNItRcgjtx 6b6A91FER55g2/6VCl2RCb+x2QaCA94jlRRsA= Received: by 161.129.204.104 with SMTP id j17mr357640ebn.24.1267223828947; Fri, 26 Feb 2010 14:37:08 -0800 (PST) Received: from NEWPC ([161.129.204.104]) by mx.google.com with ESMTPS id 15sm297585ewy.8.2161.129.204.104.37.07 (version=SSLv3 cipher=RC4-MD5); Fri, 26 Feb 2010 14:37:08 -0800 (PST) From: "Digy" <[email protected]> To: <[email protected]> References: <[email protected]> <005f01cab71b$b7eb1f80$27c15e80$@com> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Subject: RE: Lucene index file container Date: Sat, 27 Feb 2010 00:36:53 +0200 Message-ID: <007901cab734$32deb900$989c2b00$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acq3LXBczeYfKUY7Q8S31Fcj9xQAvwABcF9A Content-Language: tr X-Virus-Checked: Checked by ClamAV on apache.org I don't think that you can find an easy (and performant) way for running an index directly out of zip file. First of all, it is not easy -if not impossible- to "seek" to an offset in a zipped file without reading all the bytes from beginning (resulting in a very very bad performance). Second, Lucene.Net does not have a built-in support for zipped index. So, you have to develop your own "ZippedDirectory" class. DIGY -----Original Message----- From: Andrew Schuler [mailto:[email protected]] Sent: Friday, February 26, 2010 11:48 PM To: [email protected] Subject: Re: Lucene index file container Thanks for both answers on this. I considered a zip file but was unsure of the associated overhead of unpacking file. Does any one have experience running an index directly out of zip file? Are my worries unfounded? I was just trying to leverage the experience of the group, but otherwise I'll just have to run some tests on my own. On Fri, Feb 26, 2010 at 11:55 AM, Nicholas Petersen <[email protected]>wrote: > <Can anyone recommend a way to package the index into say some type of file > container> > > If I understand correctly, it sounds like your asking for a text-book > implementation of an archiver, like a zip file. If so, DotNetZip is a > solid > product, very easy to use, very fast. Highly recommended. > http://www.codeplex.com/DotNetZip. > > Best, > Nick > > > > On Fri, Feb 26, 2010 at 2:47 PM, Andrew Schuler <[email protected] > >wrote: > > > Yes, that is do-able. I was just thinking it would be cleaner to wrap the > > indexes (there will be more than one) in some sort of file container. One > > of > > the things I'd like to do it be able to allow the user to download > > pre-packaged indexes and load them into the app. This would be easy with > a > > file than a directory of files no? > > > > > > On Fri, Feb 26, 2010 at 11:41 AM, Hans Merkl <[email protected]> wrote: > > > > > Can't you add all the files in the index directory to the installer > > > package? > > > This should be pretty straightforward. > > > > > > -----Original Message----- > > > From: Andrew Schuler [mailto:[email protected]] > > > Sent: Friday, February 26, 2010 12:16 PM > > > To: [email protected] > > > Subject: Lucene index file container > > > > > > The discussion about encrypting an index has me thinking about a > current > > > use > > > I have for Lucene.net. I'm building a small app with a static index > > > distributed with it. Can anyone recommend a way to package the index > into > > > say some type of file container for inclusion in an installer package? > > > > > > -andy > > > > > > > > > > > > From [email protected] Fri Feb 26 23:55:55 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7573 invoked from network); 26 Feb 2010 23:55:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2010 23:55:55 -0000 Received: (qmail 21973 invoked by uid 500); 26 Feb 2010 23:29:14 -0000 Delivered-To: [email protected] Received: (qmail 21948 invoked by uid 500); 26 Feb 2010 23:29:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 21930 invoked by uid 99); 26 Feb 2010 23:29:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 23:29:14 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO rhmware.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 26 Feb 2010 23:29:04 +0000 Received: from HansLaptop ([161.129.204.104]) by rhmware.com ; Fri, 26 Feb 2010 18:28:51 -0500 From: "Hans Merkl" <[email protected]> To: <[email protected]> References: <[email protected]> <005f01cab71b$b7eb1f80$27c15e80$@com> <[email protected]> <[email protected]> <[email protected]> <004401cab735$ed722170$c8566450$@com> <[email protected]> In-Reply-To: <[email protected]> Subject: RE: Lucene index file container Date: Fri, 26 Feb 2010 18:28:45 -0500 Message-ID: <001201cab73b$70fc0b00$52f42100$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acq3OgMDeG4ktezcSz2TKWi30hz+IwAAUfWQ Content-Language: en-us Then just unzip the index after downloading and store it in the = application directory. That's the best approach IMO. -----Original Message----- From: Andrew Schuler [mailto:[email protected]]=20 Sent: Friday, February 26, 2010 6:18 PM To: [email protected] Subject: Re: Lucene index file container Thanks for all the comments. For what's it worth, for what I'm doing file size is not a concern. = Index performance is paramount. The index will be static, no adding or = deleting, its read only. On Fri, Feb 26, 2010 at 2:49 PM, Nicholas Paldino [.NET/C# MVP] < [email protected]> wrote: > Andrew, > > If you are going to unpack the index into a temp directory and = then > repack the file when you are done, then you are going to instantiate a cost > on startup and on teardown of the process which is mainly I/O and CPU bound > (I/O because you have to read the zip file from disk and then write = the > unpacked file from the zip to another location, and CPU bound because = you > are translating the byte stream while unpacking). > > That approach doesn't do anything but add that additional I/O = and > CPU overhead on startup. The "big win" for compressing the file is to save > space on disk, or whatever medium the byte stream is being persisted = to. > > If all you do is unzip the file in the beginning and zip it up = at > the end, then from your app's point of view, you do a lot of extra = work for > nothing. Unless you have real disk space issues, I'd recommend = against > this. > > Now, if you were to create a new Directory class which uses a > GZipStream or DeflateStream as a fa=E7ade over the FileStream which = writes to > disk, then you are reaping the benefits of compressing the file. The index > will always be compressed on disk and you are realizing the gains. > > The cost of doing this, however, is more CPU time (to perform = the > translation) but with a gain on less I/O operations to disk (since = there > are > less bytes that are being written to disk). > > Depending on how much activity you have on reading/writing = to/from > the index it might or might not make an impact. You have to measure = that > yourself given your applications use of the index. > > If file size is ^truly^ a concern, have you considered just = setting > the compression flag on the *folder* that contains the index files? = Any > files that are added/updated/deleted will automatically be compressed = if > the > flag is set on the folder, so doing it in code is busywork when the OS > automatically provides it for you (assuming you are on Windows, which = is a > safe bet given you are running .NET, but not absolute, of course). > > - Nick > > -----Original Message----- > From: Andrew Schuler [mailto:[email protected]] > Sent: Friday, February 26, 2010 4:48 PM > To: [email protected] > Subject: Re: Lucene index file container > > Thanks for both answers on this. > I considered a zip file but was unsure of the associated overhead of > unpacking file. Does any one have experience running an index directly = out > of zip file? > Are my worries unfounded? I was just trying to leverage the experience = of > the group, but otherwise I'll just have to run some tests on my own. > > > > On Fri, Feb 26, 2010 at 11:55 AM, Nicholas Petersen > <[email protected]>wrote: > > > <Can anyone recommend a way to package the index into say some type = of > file > > container> > > > > If I understand correctly, it sounds like your asking for a = text-book > > implementation of an archiver, like a zip file. If so, DotNetZip is = a > > solid > > product, very easy to use, very fast. Highly recommended. > > http://www.codeplex.com/DotNetZip. > > > > Best, > > Nick > > > > > > > > On Fri, Feb 26, 2010 at 2:47 PM, Andrew Schuler < > [email protected] > > >wrote: > > > > > Yes, that is do-able. I was just thinking it would be cleaner to = wrap > the > > > indexes (there will be more than one) in some sort of file = container. > One > > > of > > > the things I'd like to do it be able to allow the user to download > > > pre-packaged indexes and load them into the app. This would be = easy > with > > a > > > file than a directory of files no? > > > > > > > > > On Fri, Feb 26, 2010 at 11:41 AM, Hans Merkl <[email protected]> = wrote: > > > > > > > Can't you add all the files in the index directory to the = installer > > > > package? > > > > This should be pretty straightforward. > > > > > > > > -----Original Message----- > > > > From: Andrew Schuler [mailto:[email protected]] > > > > Sent: Friday, February 26, 2010 12:16 PM > > > > To: [email protected] > > > > Subject: Lucene index file container > > > > > > > > The discussion about encrypting an index has me thinking about a > > current > > > > use > > > > I have for Lucene.net. I'm building a small app with a static = index > > > > distributed with it. Can anyone recommend a way to package the = index > > into > > > > say some type of file container for inclusion in an installer > package? > > > > > > > > -andy > > > > > > > > > > > > > > > > > > From [email protected] Fri Feb 26 23:57:58 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8416 invoked from network); 26 Feb 2010 23:57:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2010 23:57:58 -0000 Received: (qmail 35376 invoked by uid 500); 26 Feb 2010 23:57:57 -0000 Delivered-To: [email protected] Received: (qmail 35337 invoked by uid 500); 26 Feb 2010 23:57:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 35329 invoked by uid 99); 26 Feb 2010 23:57:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 23:57:57 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smg03.internetmailserver.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 23:57:45 +0000 Received: from sm04.dotnetplayground.com [161.129.204.104] by smg03.internetmailserver.net with SMTP; Fri, 26 Feb 2010 15:56:05 -0800 Received: from cpe-98-14-109-104.nyc.res.rr.com [161.129.204.104] by sm04.internetmailserver.net with SMTP; Fri, 26 Feb 2010 15:55:44 -0800 From: "Nicholas Paldino [.NET/C# MVP]" <[email protected]> To: <[email protected]> References: <[email protected]> <005f01cab71b$b7eb1f80$27c15e80$@com> <[email protected]> <[email protected]> <[email protected]> <004401cab735$ed722170$c8566450$@com> <[email protected]> In-Reply-To: <[email protected]> Subject: RE: Lucene index file container Date: Fri, 26 Feb 2010 18:56:48 -0500 Message-ID: <006e01cab73f$5c85b690$159123b0$@com> X-Mailer: Microsoft Office Outlook 12.0 MIME-Version: 1.0 Thread-Index: Acq3PZTAd6WyU2dcQrSUm28pk8OSVwAAbJ2g Content-Language: en-us Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_006A_01CAB715.731913E0" X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_006A_01CAB715.731913E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Andrew, If that's the case, then you shouldn't be considering compressing the index, it's just going to add overhead which you don't need. - Nick -----Original Message----- From: Andrew Schuler [mailto:[email protected]]=20 Sent: Friday, February 26, 2010 6:18 PM To: [email protected] Subject: Re: Lucene index file container Thanks for all the comments. For what's it worth, for what I'm doing file size is not a concern. = Index performance is paramount. The index will be static, no adding or = deleting, its read only. On Fri, Feb 26, 2010 at 2:49 PM, Nicholas Paldino [.NET/C# MVP] < [email protected]> wrote: > Andrew, > > If you are going to unpack the index into a temp directory and = then > repack the file when you are done, then you are going to instantiate a cost > on startup and on teardown of the process which is mainly I/O and CPU bound > (I/O because you have to read the zip file from disk and then write = the > unpacked file from the zip to another location, and CPU bound because = you > are translating the byte stream while unpacking). > > That approach doesn't do anything but add that additional I/O = and > CPU overhead on startup. The "big win" for compressing the file is to save > space on disk, or whatever medium the byte stream is being persisted = to. > > If all you do is unzip the file in the beginning and zip it up = at > the end, then from your app's point of view, you do a lot of extra = work for > nothing. Unless you have real disk space issues, I'd recommend = against > this. > > Now, if you were to create a new Directory class which uses a > GZipStream or DeflateStream as a fa=E7ade over the FileStream which = writes to > disk, then you are reaping the benefits of compressing the file. The index > will always be compressed on disk and you are realizing the gains. > > The cost of doing this, however, is more CPU time (to perform = the > translation) but with a gain on less I/O operations to disk (since = there > are > less bytes that are being written to disk). > > Depending on how much activity you have on reading/writing = to/from > the index it might or might not make an impact. You have to measure = that > yourself given your applications use of the index. > > If file size is ^truly^ a concern, have you considered just = setting > the compression flag on the *folder* that contains the index files? = Any > files that are added/updated/deleted will automatically be compressed = if > the > flag is set on the folder, so doing it in code is busywork when the OS > automatically provides it for you (assuming you are on Windows, which = is a > safe bet given you are running .NET, but not absolute, of course). > > - Nick > > -----Original Message----- > From: Andrew Schuler [mailto:[email protected]] > Sent: Friday, February 26, 2010 4:48 PM > To: [email protected] > Subject: Re: Lucene index file container > > Thanks for both answers on this. > I considered a zip file but was unsure of the associated overhead of > unpacking file. Does any one have experience running an index directly = out > of zip file? > Are my worries unfounded? I was just trying to leverage the experience = of > the group, but otherwise I'll just have to run some tests on my own. > > > > On Fri, Feb 26, 2010 at 11:55 AM, Nicholas Petersen > <[email protected]>wrote: > > > <Can anyone recommend a way to package the index into say some type = of > file > > container> > > > > If I understand correctly, it sounds like your asking for a = text-book > > implementation of an archiver, like a zip file. If so, DotNetZip is = a > > solid > > product, very easy to use, very fast. Highly recommended. > > http://www.codeplex.com/DotNetZip. > > > > Best, > > Nick > > > > > > > > On Fri, Feb 26, 2010 at 2:47 PM, Andrew Schuler < > [email protected] > > >wrote: > > > > > Yes, that is do-able. I was just thinking it would be cleaner to = wrap > the > > > indexes (there will be more than one) in some sort of file = container. > One > > > of > > > the things I'd like to do it be able to allow the user to download > > > pre-packaged indexes and load them into the app. This would be = easy > with > > a > > > file than a directory of files no? > > > > > > > > > On Fri, Feb 26, 2010 at 11:41 AM, Hans Merkl <[email protected]> = wrote: > > > > > > > Can't you add all the files in the index directory to the = installer > > > > package? > > > > This should be pretty straightforward. > > > > > > > > -----Original Message----- > > > > From: Andrew Schuler [mailto:[email protected]] > > > > Sent: Friday, February 26, 2010 12:16 PM > > > > To: [email protected] > > > > Subject: Lucene index file container > > > > > > > > The discussion about encrypting an index has me thinking about a > > current > > > > use > > > > I have for Lucene.net. I'm building a small app with a static = index > > > > distributed with it. Can anyone recommend a way to package the = index > > into > > > > say some type of file container for inclusion in an installer > package? > > > > > > > > -andy > > > > > > > > > > > > > > > > > > ------=_NextPart_000_006A_01CAB715.731913E0 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIL/DCCAj0w ggGmAhEAzbp/VvDf5LxU/iKss3KqVTANBgkqhkiG9w0BAQIFADBfMQswCQYDVQQGEwJVUzEXMBUG A1UEChMOVmVyaVNpZ24sIEluYy4xNzA1BgNVBAsTLkNsYXNzIDEgUHVibGljIFByaW1hcnkgQ2Vy dGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNOTYwMTI5MDAwMDAwWhcNMjgwODAxMjM1OTU5WjBfMQsw CQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xNzA1BgNVBAsTLkNsYXNzIDEgUHVi bGljIFByaW1hcnkgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwgZ8wDQYJKoZIhvcNAQEBBQADgY0A MIGJAoGBAOUZv22jVmEtmUhx9mfeuY3rt56GgAqRDvo4Ja9GiILlc6igmyRdDR/MZW4MsNBWhBiH mgabEKFz37RYOWtuwfYV1aioP6oSBo0xrH+wNNePNGeICc0UEeJORVZpH3gCgNrcR5EpuzbJY1zF 4Ncth3uhtzKwezC6Ki8xqu6jZ9rbAgMBAAEwDQYJKoZIhvcNAQECBQADgYEATD+4i8Zo3+5DMw5d 6abLB4RNejP/khv0Nq3YlSI2aBFsfELM85wuxAc/FLAPT/+Qknb54rxK6Y/NoIAK98Up8YIiXbix 3YEjo3slFUYweRb46gVLlH8dwhzI47f0EEA8E8NfH1PoSOSGtHuhNbB7Jbq4046rPzidADQAmPPR cZQwggTMMIIENaADAgECAhAcrp1rmvTmLyKKo9p0YWweMA0GCSqGSIb3DQEBBQUAMF8xCzAJBgNV BAYTAlVTMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjE3MDUGA1UECxMuQ2xhc3MgMSBQdWJsaWMg UHJpbWFyeSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wNTEwMjgwMDAwMDBaFw0xNTEwMjcy MzU5NTlaMIHdMQswCQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsT FlZlcmlTaWduIFRydXN0IE5ldHdvcmsxOzA5BgNVBAsTMlRlcm1zIG9mIHVzZSBhdCBodHRwczov L3d3dy52ZXJpc2lnbi5jb20vcnBhIChjKTA1MR4wHAYDVQQLExVQZXJzb25hIE5vdCBWYWxpZGF0 ZWQxNzA1BgNVBAMTLlZlcmlTaWduIENsYXNzIDEgSW5kaXZpZHVhbCBTdWJzY3JpYmVyIENBIC0g RzIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ36zn6vj4AxTEAJLVwX42wjzvfHIV y8CrjD0clc5vHhAsPwDtlybmtsfmrUMdP6SHR0dMPlT4bPjH/LGevTBwvJexAwXqlfGtQMVEeksF ovJg/Nc6ZWLv/xB7ola7xU5wLdaiHzztsELoXo1XIaymmdkR6dIaB8B0R0IL/MU06v3muiTRHQgV N6LXc88BQS9jsjo/vqUabvTJSls9laYVuzUCGfnU77yPDnF2WbtLtj7W/FoW9NYOifJJ/mwM7RXp 2Yh1nHnOYCfdua11zi9zlXpAOoV1SbC432i8q80TgoURUKPgPAuuwApTzdcwb4UyRhvkSRDCbOKv H3n/27S1AgMBAAGjggGEMIIBgDASBgNVHRMBAf8ECDAGAQH/AgEAMEQGA1UdIAQ9MDswOQYLYIZI AYb4RQEHFwEwKjAoBggrBgEFBQcCARYcaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL3JwYTALBgNV HQ8EBAMCAQYwEQYJYIZIAYb4QgEBBAQDAgEGMC4GA1UdEQQnMCWkIzAhMR8wHQYDVQQDExZQcml2 YXRlTGFiZWwzLTIwNDgtMTU1MB0GA1UdDgQWBBQRfV4ZfTwE32ps1qKKGj8x2DuUUjAxBgNVHR8E KjAoMCagJKAihiBodHRwOi8vY3JsLnZlcmlzaWduLmNvbS9wY2ExLmNybDCBgQYDVR0jBHoweKFj pGEwXzELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFz cyAxIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5ghEAzbp/VvDf5LxU/iKs s3KqVTANBgkqhkiG9w0BAQUFAAOBgQCxL9mW4ZKi7oFg5cgqIPvhZyzWAJhTowIb6ZBL+BhEnw9G 9/qg/tMdGKPSvxzs1hmfSk1D+Mq7vhOASQXdIXMzV8JCWr76AJOy5gQxkU5dPPBzBTdj67+DWZj9 Zt7phjKakik8Oq5U2qYSUbGPyMrTR3jm26Uehwbj0RTAwiH2ujCCBOcwggPPoAMCAQICEBIaCgrq 9MtzWjD1OhWrYCowDQYJKoZIhvcNAQEFBQAwgd0xCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJp U2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29yazE7MDkGA1UECxMyVGVy bXMgb2YgdXNlIGF0IGh0dHBzOi8vd3d3LnZlcmlzaWduLmNvbS9ycGEgKGMpMDUxHjAcBgNVBAsT FVBlcnNvbmEgTm90IFZhbGlkYXRlZDE3MDUGA1UEAxMuVmVyaVNpZ24gQ2xhc3MgMSBJbmRpdmlk dWFsIFN1YnNjcmliZXIgQ0EgLSBHMjAeFw0xMDAxMDUwMDAwMDBaFw0xMTAxMDUyMzU5NTlaMIIB HjEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRydXN0IE5ldHdv cmsxRjBEBgNVBAsTPXd3dy52ZXJpc2lnbi5jb20vcmVwb3NpdG9yeS9SUEEgSW5jb3JwLiBieSBS ZWYuLExJQUIuTFREKGMpOTgxHjAcBgNVBAsTFVBlcnNvbmEgTm90IFZhbGlkYXRlZDE0MDIGA1UE CxMrRGlnaXRhbCBJRCBDbGFzcyAxIC0gTWljcm9zb2Z0IEZ1bGwgU2VydmljZTEZMBcGA1UEAxQQ TmljaG9sYXMgUGFsZGlubzEpMCcGCSqGSIb3DQEJARYaY2FzcGVyb25lQGNhc3BlcnNob3VzZS5j b20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALF1zj8VgVfT2S8U5JrrikyFvRwYzUvjHgDp QQz/yonz/U40Hv27dRafbwpE74M7MxXB+6CrEue8bF/+/+OHqlbfUkbkC/mKvetPMGkFJJPIK+vo Olkr0iCQqN95YdhGwX2dHaQmt3Ak8tImt7TWStlgzUmdiAwX2eqQe4NPRKgxAgMBAAGjgeIwgd8w CQYDVR0TBAIwADBEBgNVHSAEPTA7MDkGC2CGSAGG+EUBBxcBMCowKAYIKwYBBQUHAgEWHGh0dHBz Oi8vd3d3LnZlcmlzaWduLmNvbS9ycGEwCwYDVR0PBAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwME BggrBgEFBQcDAjAUBgpghkgBhvhFAQYHBAYWBE5vbmUwSgYDVR0fBEMwQTA/oD2gO4Y5aHR0cDov L0luZEMxRGlnaXRhbElELWNybC52ZXJpc2lnbi5jb20vSW5kQzFEaWdpdGFsSUQuY3JsMA0GCSqG SIb3DQEBBQUAA4IBAQCqB4LXJcG434cY+64lL0vW+PTGk8HEDn5iBGkFxo1gHWstAX5wMND/BIKY uLJgLqcMmV9eeSeXKiMoeHS/54wHfQ/jwIqQEvgpMX7RicaARYKJWo/MacpXWPyxc0QJWkHqdD+D +OzxXETaHxCs1YDoNppjByumBFzGJYu4SOZJYJETx1I/zpMkJThNFjQ2TKgSKxmBX8STPtto0+hj YgzXipPZSkR0PJy3Ah6acxqiB3LeCQhlefzy4hE5Hf5WrCYYgZ4irDhTXrrpCRqPm2fjlRQmaz1K 5cUdNJY9N6xvMYz8HHxYxqpByVm22fMMCtsIj/OSgX7dZCmSNfbaYD7FMYIExDCCBMACAQEwgfIw gd0xCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNp Z24gVHJ1c3QgTmV0d29yazE7MDkGA1UECxMyVGVybXMgb2YgdXNlIGF0IGh0dHBzOi8vd3d3LnZl cmlzaWduLmNvbS9ycGEgKGMpMDUxHjAcBgNVBAsTFVBlcnNvbmEgTm90IFZhbGlkYXRlZDE3MDUG A1UEAxMuVmVyaVNpZ24gQ2xhc3MgMSBJbmRpdmlkdWFsIFN1YnNjcmliZXIgQ0EgLSBHMgIQEhoK Cur0y3NaMPU6FatgKjAJBgUrDgMCGgUAoIIDJzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwG CSqGSIb3DQEJBTEPFw0xMDAyMjYyMzU2NDhaMCMGCSqGSIb3DQEJBDEWBBR2dXs2/zA++w4he+cn g81tHSWnwzCBtwYJKoZIhvcNAQkPMYGpMIGmMAsGCWCGSAFlAwQBKjALBglghkgBZQMEARYwCgYI KoZIhvcNAwcwCwYJYIZIAWUDBAECMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG9w0DAgIBQDAHBgUr DgMCBzANBggqhkiG9w0DAgIBKDAHBgUrDgMCGjALBglghkgBZQMEAgMwCwYJYIZIAWUDBAICMAsG CWCGSAFlAwQCATAKBggqhkiG9w0CBTCCAQMGCSsGAQQBgjcQBDGB9TCB8jCB3TELMAkGA1UEBhMC VVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJpU2lnbiBUcnVzdCBOZXR3 b3JrMTswOQYDVQQLEzJUZXJtcyBvZiB1c2UgYXQgaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL3Jw YSAoYykwNTEeMBwGA1UECxMVUGVyc29uYSBOb3QgVmFsaWRhdGVkMTcwNQYDVQQDEy5WZXJpU2ln biBDbGFzcyAxIEluZGl2aWR1YWwgU3Vic2NyaWJlciBDQSAtIEcyAhASGgoK6vTLc1ow9ToVq2Aq MIIBBQYLKoZIhvcNAQkQAgsxgfWggfIwgd0xCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJpU2ln biwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29yazE7MDkGA1UECxMyVGVybXMg b2YgdXNlIGF0IGh0dHBzOi8vd3d3LnZlcmlzaWduLmNvbS9ycGEgKGMpMDUxHjAcBgNVBAsTFVBl cnNvbmEgTm90IFZhbGlkYXRlZDE3MDUGA1UEAxMuVmVyaVNpZ24gQ2xhc3MgMSBJbmRpdmlkdWFs IFN1YnNjcmliZXIgQ0EgLSBHMgIQEhoKCur0y3NaMPU6FatgKjANBgkqhkiG9w0BAQEFAASBgFLV VIAffrIeFtxOfD8RwBGa3l3z/pe3ZEQLUn5kbjGcaHDNAZZLWT1oi9Om8wa2jQdOQn6Q5LSeGTt2 SGhJGXTf1DAJmPESUUicTcOBuN66OFfJ+PhuotDzb5pjjsEq5LAo6G13LR/FbBLYaaRoFbj4ExpE 1aSvvONM4l2HbJw1AAAAAAAA ------=_NextPart_000_006A_01CAB715.731913E0-- From [email protected] Sat Feb 27 00:08:11 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15820 invoked from network); 27 Feb 2010 00:08:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2010 00:08:11 -0000 Received: (qmail 40162 invoked by uid 500); 27 Feb 2010 00:08:11 -0000 Delivered-To: [email protected] Received: (qmail 40136 invoked by uid 500); 27 Feb 2010 00:08:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 40126 invoked by uid 99); 27 Feb 2010 00:08:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Feb 2010 00:08:11 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smg03.internetmailserver.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Feb 2010 00:08:00 +0000 Received: from sm04.dotnetplayground.com [161.129.204.104] by smg03.internetmailserver.net with SMTP; Fri, 26 Feb 2010 16:06:21 -0800 Received: from cpe-98-14-109-104.nyc.res.rr.com [161.129.204.104] by sm04.internetmailserver.net with SMTP; Fri, 26 Feb 2010 16:05:57 -0800 From: "Nicholas Paldino [.NET/C# MVP]" <[email protected]> To: <[email protected]> References: <[email protected]> <005f01cab71b$b7eb1f80$27c15e80$@com> <[email protected]> <[email protected]> <[email protected]> <004401cab735$ed722170$c8566450$@com> <[email protected]> <001201cab73b$70fc0b00$52f42100$@com> In-Reply-To: <001201cab73b$70fc0b00$52f42100$@com> Subject: RE: Lucene index file container Date: Fri, 26 Feb 2010 19:06:58 -0500 Message-ID: <007801cab740$c979e7c0$5c6db740$@com> X-Mailer: Microsoft Office Outlook 12.0 MIME-Version: 1.0 Thread-Index: Acq3OgMDeG4ktezcSz2TKWi30hz+IwAAUfWQAAFJe0A= Content-Language: en-us Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0074_01CAB716.DE758E10" X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_0074_01CAB716.DE758E10 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hans, With all due respect, that's an unqualified statement. What is the gain in unzipping the file and rezipping it if file size is not a = concern? All you do is incur CPU time and I/O costs in doing so with no gains whatsoever. Again, if you have a need to transport the index, then you should perform the act of placing it in a container outside the scope of your application, as you are more than likely going to transport the index = less than you are actually going to *use* the index. - Nick -----Original Message----- From: Hans Merkl [mailto:[email protected]]=20 Sent: Friday, February 26, 2010 6:29 PM To: [email protected] Subject: RE: Lucene index file container Then just unzip the index after downloading and store it in the = application directory. That's the best approach IMO. -----Original Message----- From: Andrew Schuler [mailto:[email protected]]=20 Sent: Friday, February 26, 2010 6:18 PM To: [email protected] Subject: Re: Lucene index file container Thanks for all the comments. For what's it worth, for what I'm doing file size is not a concern. = Index performance is paramount. The index will be static, no adding or = deleting, its read only. On Fri, Feb 26, 2010 at 2:49 PM, Nicholas Paldino [.NET/C# MVP] < [email protected]> wrote: > Andrew, > > If you are going to unpack the index into a temp directory and = then > repack the file when you are done, then you are going to instantiate a cost > on startup and on teardown of the process which is mainly I/O and CPU bound > (I/O because you have to read the zip file from disk and then write = the > unpacked file from the zip to another location, and CPU bound because = you > are translating the byte stream while unpacking). > > That approach doesn't do anything but add that additional I/O = and > CPU overhead on startup. The "big win" for compressing the file is to save > space on disk, or whatever medium the byte stream is being persisted = to. > > If all you do is unzip the file in the beginning and zip it up = at > the end, then from your app's point of view, you do a lot of extra = work for > nothing. Unless you have real disk space issues, I'd recommend = against > this. > > Now, if you were to create a new Directory class which uses a > GZipStream or DeflateStream as a fa=E7ade over the FileStream which = writes to > disk, then you are reaping the benefits of compressing the file. The index > will always be compressed on disk and you are realizing the gains. > > The cost of doing this, however, is more CPU time (to perform = the > translation) but with a gain on less I/O operations to disk (since = there > are > less bytes that are being written to disk). > > Depending on how much activity you have on reading/writing = to/from > the index it might or might not make an impact. You have to measure = that > yourself given your applications use of the index. > > If file size is ^truly^ a concern, have you considered just = setting > the compression flag on the *folder* that contains the index files? = Any > files that are added/updated/deleted will automatically be compressed = if > the > flag is set on the folder, so doing it in code is busywork when the OS > automatically provides it for you (assuming you are on Windows, which = is a > safe bet given you are running .NET, but not absolute, of course). > > - Nick > > -----Original Message----- > From: Andrew Schuler [mailto:[email protected]] > Sent: Friday, February 26, 2010 4:48 PM > To: [email protected] > Subject: Re: Lucene index file container > > Thanks for both answers on this. > I considered a zip file but was unsure of the associated overhead of > unpacking file. Does any one have experience running an index directly = out > of zip file? > Are my worries unfounded? I was just trying to leverage the experience = of > the group, but otherwise I'll just have to run some tests on my own. > > > > On Fri, Feb 26, 2010 at 11:55 AM, Nicholas Petersen > <[email protected]>wrote: > > > <Can anyone recommend a way to package the index into say some type = of > file > > container> > > > > If I understand correctly, it sounds like your asking for a = text-book > > implementation of an archiver, like a zip file. If so, DotNetZip is = a > > solid > > product, very easy to use, very fast. Highly recommended. > > http://www.codeplex.com/DotNetZip. > > > > Best, > > Nick > > > > > > > > On Fri, Feb 26, 2010 at 2:47 PM, Andrew Schuler < > [email protected] > > >wrote: > > > > > Yes, that is do-able. I was just thinking it would be cleaner to = wrap > the > > > indexes (there will be more than one) in some sort of file = container. > One > > > of > > > the things I'd like to do it be able to allow the user to download > > > pre-packaged indexes and load them into the app. This would be = easy > with > > a > > > file than a directory of files no? > > > > > > > > > On Fri, Feb 26, 2010 at 11:41 AM, Hans Merkl <[email protected]> = wrote: > > > > > > > Can't you add all the files in the index directory to the = installer > > > > package? > > > > This should be pretty straightforward. > > > > > > > > -----Original Message----- > > > > From: Andrew Schuler [mailto:[email protected]] > > > > Sent: Friday, February 26, 2010 12:16 PM > > > > To: [email protected] > > > > Subject: Lucene index file container > > > > > > > > The discussion about encrypting an index has me thinking about a > > current > > > > use > > > > I have for Lucene.net. I'm building a small app with a static = index > > > > distributed with it. Can anyone recommend a way to package the = index > > into > > > > say some type of file container for inclusion in an installer > package? > > > > > > > > -andy > > > > > > > > > > > > > > > > > > ------=_NextPart_000_0074_01CAB716.DE758E10 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIL/DCCAj0w ggGmAhEAzbp/VvDf5LxU/iKss3KqVTANBgkqhkiG9w0BAQIFADBfMQswCQYDVQQGEwJVUzEXMBUG A1UEChMOVmVyaVNpZ24sIEluYy4xNzA1BgNVBAsTLkNsYXNzIDEgUHVibGljIFByaW1hcnkgQ2Vy dGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNOTYwMTI5MDAwMDAwWhcNMjgwODAxMjM1OTU5WjBfMQsw CQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xNzA1BgNVBAsTLkNsYXNzIDEgUHVi bGljIFByaW1hcnkgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwgZ8wDQYJKoZIhvcNAQEBBQADgY0A MIGJAoGBAOUZv22jVmEtmUhx9mfeuY3rt56GgAqRDvo4Ja9GiILlc6igmyRdDR/MZW4MsNBWhBiH mgabEKFz37RYOWtuwfYV1aioP6oSBo0xrH+wNNePNGeICc0UEeJORVZpH3gCgNrcR5EpuzbJY1zF 4Ncth3uhtzKwezC6Ki8xqu6jZ9rbAgMBAAEwDQYJKoZIhvcNAQECBQADgYEATD+4i8Zo3+5DMw5d 6abLB4RNejP/khv0Nq3YlSI2aBFsfELM85wuxAc/FLAPT/+Qknb54rxK6Y/NoIAK98Up8YIiXbix 3YEjo3slFUYweRb46gVLlH8dwhzI47f0EEA8E8NfH1PoSOSGtHuhNbB7Jbq4046rPzidADQAmPPR cZQwggTMMIIENaADAgECAhAcrp1rmvTmLyKKo9p0YWweMA0GCSqGSIb3DQEBBQUAMF8xCzAJBgNV BAYTAlVTMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjE3MDUGA1UECxMuQ2xhc3MgMSBQdWJsaWMg UHJpbWFyeSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wNTEwMjgwMDAwMDBaFw0xNTEwMjcy MzU5NTlaMIHdMQswCQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsT FlZlcmlTaWduIFRydXN0IE5ldHdvcmsxOzA5BgNVBAsTMlRlcm1zIG9mIHVzZSBhdCBodHRwczov L3d3dy52ZXJpc2lnbi5jb20vcnBhIChjKTA1MR4wHAYDVQQLExVQZXJzb25hIE5vdCBWYWxpZGF0 ZWQxNzA1BgNVBAMTLlZlcmlTaWduIENsYXNzIDEgSW5kaXZpZHVhbCBTdWJzY3JpYmVyIENBIC0g RzIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ36zn6vj4AxTEAJLVwX42wjzvfHIV y8CrjD0clc5vHhAsPwDtlybmtsfmrUMdP6SHR0dMPlT4bPjH/LGevTBwvJexAwXqlfGtQMVEeksF ovJg/Nc6ZWLv/xB7ola7xU5wLdaiHzztsELoXo1XIaymmdkR6dIaB8B0R0IL/MU06v3muiTRHQgV N6LXc88BQS9jsjo/vqUabvTJSls9laYVuzUCGfnU77yPDnF2WbtLtj7W/FoW9NYOifJJ/mwM7RXp 2Yh1nHnOYCfdua11zi9zlXpAOoV1SbC432i8q80TgoURUKPgPAuuwApTzdcwb4UyRhvkSRDCbOKv H3n/27S1AgMBAAGjggGEMIIBgDASBgNVHRMBAf8ECDAGAQH/AgEAMEQGA1UdIAQ9MDswOQYLYIZI AYb4RQEHFwEwKjAoBggrBgEFBQcCARYcaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL3JwYTALBgNV HQ8EBAMCAQYwEQYJYIZIAYb4QgEBBAQDAgEGMC4GA1UdEQQnMCWkIzAhMR8wHQYDVQQDExZQcml2 YXRlTGFiZWwzLTIwNDgtMTU1MB0GA1UdDgQWBBQRfV4ZfTwE32ps1qKKGj8x2DuUUjAxBgNVHR8E KjAoMCagJKAihiBodHRwOi8vY3JsLnZlcmlzaWduLmNvbS9wY2ExLmNybDCBgQYDVR0jBHoweKFj pGEwXzELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFz cyAxIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5ghEAzbp/VvDf5LxU/iKs s3KqVTANBgkqhkiG9w0BAQUFAAOBgQCxL9mW4ZKi7oFg5cgqIPvhZyzWAJhTowIb6ZBL+BhEnw9G 9/qg/tMdGKPSvxzs1hmfSk1D+Mq7vhOASQXdIXMzV8JCWr76AJOy5gQxkU5dPPBzBTdj67+DWZj9 Zt7phjKakik8Oq5U2qYSUbGPyMrTR3jm26Uehwbj0RTAwiH2ujCCBOcwggPPoAMCAQICEBIaCgrq 9MtzWjD1OhWrYCowDQYJKoZIhvcNAQEFBQAwgd0xCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJp U2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29yazE7MDkGA1UECxMyVGVy bXMgb2YgdXNlIGF0IGh0dHBzOi8vd3d3LnZlcmlzaWduLmNvbS9ycGEgKGMpMDUxHjAcBgNVBAsT FVBlcnNvbmEgTm90IFZhbGlkYXRlZDE3MDUGA1UEAxMuVmVyaVNpZ24gQ2xhc3MgMSBJbmRpdmlk dWFsIFN1YnNjcmliZXIgQ0EgLSBHMjAeFw0xMDAxMDUwMDAwMDBaFw0xMTAxMDUyMzU5NTlaMIIB HjEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRydXN0IE5ldHdv cmsxRjBEBgNVBAsTPXd3dy52ZXJpc2lnbi5jb20vcmVwb3NpdG9yeS9SUEEgSW5jb3JwLiBieSBS ZWYuLExJQUIuTFREKGMpOTgxHjAcBgNVBAsTFVBlcnNvbmEgTm90IFZhbGlkYXRlZDE0MDIGA1UE CxMrRGlnaXRhbCBJRCBDbGFzcyAxIC0gTWljcm9zb2Z0IEZ1bGwgU2VydmljZTEZMBcGA1UEAxQQ TmljaG9sYXMgUGFsZGlubzEpMCcGCSqGSIb3DQEJARYaY2FzcGVyb25lQGNhc3BlcnNob3VzZS5j b20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALF1zj8VgVfT2S8U5JrrikyFvRwYzUvjHgDp QQz/yonz/U40Hv27dRafbwpE74M7MxXB+6CrEue8bF/+/+OHqlbfUkbkC/mKvetPMGkFJJPIK+vo Olkr0iCQqN95YdhGwX2dHaQmt3Ak8tImt7TWStlgzUmdiAwX2eqQe4NPRKgxAgMBAAGjgeIwgd8w CQYDVR0TBAIwADBEBgNVHSAEPTA7MDkGC2CGSAGG+EUBBxcBMCowKAYIKwYBBQUHAgEWHGh0dHBz Oi8vd3d3LnZlcmlzaWduLmNvbS9ycGEwCwYDVR0PBAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwME BggrBgEFBQcDAjAUBgpghkgBhvhFAQYHBAYWBE5vbmUwSgYDVR0fBEMwQTA/oD2gO4Y5aHR0cDov L0luZEMxRGlnaXRhbElELWNybC52ZXJpc2lnbi5jb20vSW5kQzFEaWdpdGFsSUQuY3JsMA0GCSqG SIb3DQEBBQUAA4IBAQCqB4LXJcG434cY+64lL0vW+PTGk8HEDn5iBGkFxo1gHWstAX5wMND/BIKY uLJgLqcMmV9eeSeXKiMoeHS/54wHfQ/jwIqQEvgpMX7RicaARYKJWo/MacpXWPyxc0QJWkHqdD+D +OzxXETaHxCs1YDoNppjByumBFzGJYu4SOZJYJETx1I/zpMkJThNFjQ2TKgSKxmBX8STPtto0+hj YgzXipPZSkR0PJy3Ah6acxqiB3LeCQhlefzy4hE5Hf5WrCYYgZ4irDhTXrrpCRqPm2fjlRQmaz1K 5cUdNJY9N6xvMYz8HHxYxqpByVm22fMMCtsIj/OSgX7dZCmSNfbaYD7FMYIExDCCBMACAQEwgfIw gd0xCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNp Z24gVHJ1c3QgTmV0d29yazE7MDkGA1UECxMyVGVybXMgb2YgdXNlIGF0IGh0dHBzOi8vd3d3LnZl cmlzaWduLmNvbS9ycGEgKGMpMDUxHjAcBgNVBAsTFVBlcnNvbmEgTm90IFZhbGlkYXRlZDE3MDUG A1UEAxMuVmVyaVNpZ24gQ2xhc3MgMSBJbmRpdmlkdWFsIFN1YnNjcmliZXIgQ0EgLSBHMgIQEhoK Cur0y3NaMPU6FatgKjAJBgUrDgMCGgUAoIIDJzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwG CSqGSIb3DQEJBTEPFw0xMDAyMjcwMDA2NThaMCMGCSqGSIb3DQEJBDEWBBTdS0KQcp9MFp0GpitO 2QeB6JtRHzCBtwYJKoZIhvcNAQkPMYGpMIGmMAsGCWCGSAFlAwQBKjALBglghkgBZQMEARYwCgYI KoZIhvcNAwcwCwYJYIZIAWUDBAECMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG9w0DAgIBQDAHBgUr DgMCBzANBggqhkiG9w0DAgIBKDAHBgUrDgMCGjALBglghkgBZQMEAgMwCwYJYIZIAWUDBAICMAsG CWCGSAFlAwQCATAKBggqhkiG9w0CBTCCAQMGCSsGAQQBgjcQBDGB9TCB8jCB3TELMAkGA1UEBhMC VVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJpU2lnbiBUcnVzdCBOZXR3 b3JrMTswOQYDVQQLEzJUZXJtcyBvZiB1c2UgYXQgaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL3Jw YSAoYykwNTEeMBwGA1UECxMVUGVyc29uYSBOb3QgVmFsaWRhdGVkMTcwNQYDVQQDEy5WZXJpU2ln biBDbGFzcyAxIEluZGl2aWR1YWwgU3Vic2NyaWJlciBDQSAtIEcyAhASGgoK6vTLc1ow9ToVq2Aq MIIBBQYLKoZIhvcNAQkQAgsxgfWggfIwgd0xCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJpU2ln biwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29yazE7MDkGA1UECxMyVGVybXMg b2YgdXNlIGF0IGh0dHBzOi8vd3d3LnZlcmlzaWduLmNvbS9ycGEgKGMpMDUxHjAcBgNVBAsTFVBl cnNvbmEgTm90IFZhbGlkYXRlZDE3MDUGA1UEAxMuVmVyaVNpZ24gQ2xhc3MgMSBJbmRpdmlkdWFs IFN1YnNjcmliZXIgQ0EgLSBHMgIQEhoKCur0y3NaMPU6FatgKjANBgkqhkiG9w0BAQEFAASBgKW0 Fy87Y1IUY4WWVAGNB6gPRsBM+NiKWRqNeQGMBV+8puLvTxoe5tb0jk3OT/q5u2FDHbTraDYyz+es WNkHj9NmZXIHet0/JNklojK3nZ7o2MLIIMXBy5kmyMibEBNm8QY2uJhQaYDj8jc0VQGGgu24S1Uc VEATMLaEJes+ixhZAAAAAAAA ------=_NextPart_000_0074_01CAB716.DE758E10-- From [email protected] Sat Feb 27 00:09:49 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16572 invoked from network); 27 Feb 2010 00:09:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2010 00:09:48 -0000 Received: (qmail 41220 invoked by uid 500); 27 Feb 2010 00:09:48 -0000 Delivered-To: [email protected] Received: (qmail 41184 invoked by uid 500); 27 Feb 2010 00:09:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 41176 invoked by uid 99); 27 Feb 2010 00:09:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Feb 2010 00:09:48 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smg01.internetmailserver.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Feb 2010 00:09:37 +0000 Received: from sm04.dotnetplayground.com [161.129.204.104] by smg01.internetmailserver.net with SMTP; Fri, 26 Feb 2010 16:07:59 -0800 Received: from cpe-98-14-109-104.nyc.res.rr.com [161.129.204.104] by sm04.internetmailserver.net with SMTP; Fri, 26 Feb 2010 16:07:39 -0800 From: "Nicholas Paldino [.NET/C# MVP]" <[email protected]> To: <[email protected]> References: <[email protected]> <005f01cab71b$b7eb1f80$27c15e80$@com> <[email protected]> <[email protected]> <[email protected]> <004401cab735$ed722170$c8566450$@com> <009101cab73a$16dba500$4492ef00$@com> In-Reply-To: <009101cab73a$16dba500$4492ef00$@com> Subject: RE: Lucene index file container Date: Fri, 26 Feb 2010 19:08:43 -0500 Message-ID: <007e01cab741$065b3b80$1311b280$@com> X-Mailer: Microsoft Office Outlook 12.0 MIME-Version: 1.0 Thread-Index: Acq3MQbezSbEC2ciSSeG3IXIO82TawAAvssAAAFCDCAAAaM2QA== Content-Language: en-us Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_007A_01CAB717.1CDA9BA0" X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_007A_01CAB717.1CDA9BA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Digy, You are *always* going to incur the CPU cost because in order to get to an offset in the ^uncompressed^ file, you have to process the 100MB = file and translate it into the 1GB file. That cost is always incurred no = matter what. Now, what you do with that 1GB and what the libraries do and how they expose it is implementation-dependent. If the libraries just stream the uncompressed data back to you in a forward-only, read-only way, then it's up to the library consumer to = take care of that in some way. This usually means keeping it in memory (in = which case, you have to worry about excessive memory consumption) or writing = it to disk (in which case, you incur I/O costs). If the libraries are offering you a read/write stream which is seekable, then it becomes completely implementation-dependent. It might very well use temp files, which incur I/O costs, or place data in memory = (or memory mapped files), which incurs a memory (and possibly I/O) cost. I don't have details about the specific libraries, but that's generally = what you are looking at in terms of strategies for providing this kind of functionality. - Nick -----Original Message----- From: Digy [mailto:[email protected]]=20 Sent: Friday, February 26, 2010 6:19 PM To: [email protected] Subject: RE: Lucene index file container Hi Nick, Suppose that I have 1G file with a compressed size of 100M and I want to read just a 4K block from offset 900M. Considering the SharpZip Lib,DotNetZip or similars , would be the cost = more CPU and less IO? Or more CPU more IO? DIGY -----Original Message----- From: Nicholas Paldino [.NET/C# MVP] [mailto:[email protected]] = Sent: Saturday, February 27, 2010 12:49 AM To: [email protected] Subject: RE: Lucene index file container Andrew, If you are going to unpack the index into a temp directory and then repack the file when you are done, then you are going to instantiate a = cost on startup and on teardown of the process which is mainly I/O and CPU = bound (I/O because you have to read the zip file from disk and then write the unpacked file from the zip to another location, and CPU bound because = you are translating the byte stream while unpacking). That approach doesn't do anything but add that additional I/O and CPU overhead on startup. The "big win" for compressing the file is to = save space on disk, or whatever medium the byte stream is being persisted to. If all you do is unzip the file in the beginning and zip it up at the end, then from your app's point of view, you do a lot of extra work = for nothing. Unless you have real disk space issues, I'd recommend against this. Now, if you were to create a new Directory class which uses a GZipStream or DeflateStream as a fa=E7ade over the FileStream which = writes to disk, then you are reaping the benefits of compressing the file. The = index will always be compressed on disk and you are realizing the gains. The cost of doing this, however, is more CPU time (to perform the translation) but with a gain on less I/O operations to disk (since there = are less bytes that are being written to disk). Depending on how much activity you have on reading/writing to/from the index it might or might not make an impact. You have to measure = that yourself given your applications use of the index. If file size is ^truly^ a concern, have you considered just setting the compression flag on the *folder* that contains the index files? Any files that are added/updated/deleted will automatically be compressed if = the flag is set on the folder, so doing it in code is busywork when the OS automatically provides it for you (assuming you are on Windows, which is = a safe bet given you are running .NET, but not absolute, of course). - Nick -----Original Message----- From: Andrew Schuler [mailto:[email protected]]=20 Sent: Friday, February 26, 2010 4:48 PM To: [email protected] Subject: Re: Lucene index file container Thanks for both answers on this. I considered a zip file but was unsure of the associated overhead of unpacking file. Does any one have experience running an index directly = out of zip file? Are my worries unfounded? I was just trying to leverage the experience = of the group, but otherwise I'll just have to run some tests on my own. On Fri, Feb 26, 2010 at 11:55 AM, Nicholas Petersen <[email protected]>wrote: > <Can anyone recommend a way to package the index into say some type of file > container> > > If I understand correctly, it sounds like your asking for a text-book > implementation of an archiver, like a zip file. If so, DotNetZip is a > solid > product, very easy to use, very fast. Highly recommended. > http://www.codeplex.com/DotNetZip. > > Best, > Nick > > > > On Fri, Feb 26, 2010 at 2:47 PM, Andrew Schuler = <[email protected] > >wrote: > > > Yes, that is do-able. I was just thinking it would be cleaner to = wrap the > > indexes (there will be more than one) in some sort of file = container. One > > of > > the things I'd like to do it be able to allow the user to download > > pre-packaged indexes and load them into the app. This would be easy = with > a > > file than a directory of files no? > > > > > > On Fri, Feb 26, 2010 at 11:41 AM, Hans Merkl <[email protected]> wrote: > > > > > Can't you add all the files in the index directory to the = installer > > > package? > > > This should be pretty straightforward. > > > > > > -----Original Message----- > > > From: Andrew Schuler [mailto:[email protected]] > > > Sent: Friday, February 26, 2010 12:16 PM > > > To: [email protected] > > > Subject: Lucene index file container > > > > > > The discussion about encrypting an index has me thinking about a > current > > > use > > > I have for Lucene.net. I'm building a small app with a static = index > > > distributed with it. Can anyone recommend a way to package the = index > into > > > say some type of file container for inclusion in an installer = package? > > > > > > -andy > > > > > > > > > > > > ------=_NextPart_000_007A_01CAB717.1CDA9BA0 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIL/DCCAj0w ggGmAhEAzbp/VvDf5LxU/iKss3KqVTANBgkqhkiG9w0BAQIFADBfMQswCQYDVQQGEwJVUzEXMBUG A1UEChMOVmVyaVNpZ24sIEluYy4xNzA1BgNVBAsTLkNsYXNzIDEgUHVibGljIFByaW1hcnkgQ2Vy dGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNOTYwMTI5MDAwMDAwWhcNMjgwODAxMjM1OTU5WjBfMQsw CQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xNzA1BgNVBAsTLkNsYXNzIDEgUHVi bGljIFByaW1hcnkgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwgZ8wDQYJKoZIhvcNAQEBBQADgY0A MIGJAoGBAOUZv22jVmEtmUhx9mfeuY3rt56GgAqRDvo4Ja9GiILlc6igmyRdDR/MZW4MsNBWhBiH mgabEKFz37RYOWtuwfYV1aioP6oSBo0xrH+wNNePNGeICc0UEeJORVZpH3gCgNrcR5EpuzbJY1zF 4Ncth3uhtzKwezC6Ki8xqu6jZ9rbAgMBAAEwDQYJKoZIhvcNAQECBQADgYEATD+4i8Zo3+5DMw5d 6abLB4RNejP/khv0Nq3YlSI2aBFsfELM85wuxAc/FLAPT/+Qknb54rxK6Y/NoIAK98Up8YIiXbix 3YEjo3slFUYweRb46gVLlH8dwhzI47f0EEA8E8NfH1PoSOSGtHuhNbB7Jbq4046rPzidADQAmPPR cZQwggTMMIIENaADAgECAhAcrp1rmvTmLyKKo9p0YWweMA0GCSqGSIb3DQEBBQUAMF8xCzAJBgNV BAYTAlVTMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjE3MDUGA1UECxMuQ2xhc3MgMSBQdWJsaWMg UHJpbWFyeSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wNTEwMjgwMDAwMDBaFw0xNTEwMjcy MzU5NTlaMIHdMQswCQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsT FlZlcmlTaWduIFRydXN0IE5ldHdvcmsxOzA5BgNVBAsTMlRlcm1zIG9mIHVzZSBhdCBodHRwczov L3d3dy52ZXJpc2lnbi5jb20vcnBhIChjKTA1MR4wHAYDVQQLExVQZXJzb25hIE5vdCBWYWxpZGF0 ZWQxNzA1BgNVBAMTLlZlcmlTaWduIENsYXNzIDEgSW5kaXZpZHVhbCBTdWJzY3JpYmVyIENBIC0g RzIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ36zn6vj4AxTEAJLVwX42wjzvfHIV y8CrjD0clc5vHhAsPwDtlybmtsfmrUMdP6SHR0dMPlT4bPjH/LGevTBwvJexAwXqlfGtQMVEeksF ovJg/Nc6ZWLv/xB7ola7xU5wLdaiHzztsELoXo1XIaymmdkR6dIaB8B0R0IL/MU06v3muiTRHQgV N6LXc88BQS9jsjo/vqUabvTJSls9laYVuzUCGfnU77yPDnF2WbtLtj7W/FoW9NYOifJJ/mwM7RXp 2Yh1nHnOYCfdua11zi9zlXpAOoV1SbC432i8q80TgoURUKPgPAuuwApTzdcwb4UyRhvkSRDCbOKv H3n/27S1AgMBAAGjggGEMIIBgDASBgNVHRMBAf8ECDAGAQH/AgEAMEQGA1UdIAQ9MDswOQYLYIZI AYb4RQEHFwEwKjAoBggrBgEFBQcCARYcaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL3JwYTALBgNV HQ8EBAMCAQYwEQYJYIZIAYb4QgEBBAQDAgEGMC4GA1UdEQQnMCWkIzAhMR8wHQYDVQQDExZQcml2 YXRlTGFiZWwzLTIwNDgtMTU1MB0GA1UdDgQWBBQRfV4ZfTwE32ps1qKKGj8x2DuUUjAxBgNVHR8E KjAoMCagJKAihiBodHRwOi8vY3JsLnZlcmlzaWduLmNvbS9wY2ExLmNybDCBgQYDVR0jBHoweKFj pGEwXzELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFz cyAxIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5ghEAzbp/VvDf5LxU/iKs s3KqVTANBgkqhkiG9w0BAQUFAAOBgQCxL9mW4ZKi7oFg5cgqIPvhZyzWAJhTowIb6ZBL+BhEnw9G 9/qg/tMdGKPSvxzs1hmfSk1D+Mq7vhOASQXdIXMzV8JCWr76AJOy5gQxkU5dPPBzBTdj67+DWZj9 Zt7phjKakik8Oq5U2qYSUbGPyMrTR3jm26Uehwbj0RTAwiH2ujCCBOcwggPPoAMCAQICEBIaCgrq 9MtzWjD1OhWrYCowDQYJKoZIhvcNAQEFBQAwgd0xCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJp U2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29yazE7MDkGA1UECxMyVGVy bXMgb2YgdXNlIGF0IGh0dHBzOi8vd3d3LnZlcmlzaWduLmNvbS9ycGEgKGMpMDUxHjAcBgNVBAsT FVBlcnNvbmEgTm90IFZhbGlkYXRlZDE3MDUGA1UEAxMuVmVyaVNpZ24gQ2xhc3MgMSBJbmRpdmlk dWFsIFN1YnNjcmliZXIgQ0EgLSBHMjAeFw0xMDAxMDUwMDAwMDBaFw0xMTAxMDUyMzU5NTlaMIIB HjEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRydXN0IE5ldHdv cmsxRjBEBgNVBAsTPXd3dy52ZXJpc2lnbi5jb20vcmVwb3NpdG9yeS9SUEEgSW5jb3JwLiBieSBS ZWYuLExJQUIuTFREKGMpOTgxHjAcBgNVBAsTFVBlcnNvbmEgTm90IFZhbGlkYXRlZDE0MDIGA1UE CxMrRGlnaXRhbCBJRCBDbGFzcyAxIC0gTWljcm9zb2Z0IEZ1bGwgU2VydmljZTEZMBcGA1UEAxQQ TmljaG9sYXMgUGFsZGlubzEpMCcGCSqGSIb3DQEJARYaY2FzcGVyb25lQGNhc3BlcnNob3VzZS5j b20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALF1zj8VgVfT2S8U5JrrikyFvRwYzUvjHgDp QQz/yonz/U40Hv27dRafbwpE74M7MxXB+6CrEue8bF/+/+OHqlbfUkbkC/mKvetPMGkFJJPIK+vo Olkr0iCQqN95YdhGwX2dHaQmt3Ak8tImt7TWStlgzUmdiAwX2eqQe4NPRKgxAgMBAAGjgeIwgd8w CQYDVR0TBAIwADBEBgNVHSAEPTA7MDkGC2CGSAGG+EUBBxcBMCowKAYIKwYBBQUHAgEWHGh0dHBz Oi8vd3d3LnZlcmlzaWduLmNvbS9ycGEwCwYDVR0PBAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwME BggrBgEFBQcDAjAUBgpghkgBhvhFAQYHBAYWBE5vbmUwSgYDVR0fBEMwQTA/oD2gO4Y5aHR0cDov L0luZEMxRGlnaXRhbElELWNybC52ZXJpc2lnbi5jb20vSW5kQzFEaWdpdGFsSUQuY3JsMA0GCSqG SIb3DQEBBQUAA4IBAQCqB4LXJcG434cY+64lL0vW+PTGk8HEDn5iBGkFxo1gHWstAX5wMND/BIKY uLJgLqcMmV9eeSeXKiMoeHS/54wHfQ/jwIqQEvgpMX7RicaARYKJWo/MacpXWPyxc0QJWkHqdD+D +OzxXETaHxCs1YDoNppjByumBFzGJYu4SOZJYJETx1I/zpMkJThNFjQ2TKgSKxmBX8STPtto0+hj YgzXipPZSkR0PJy3Ah6acxqiB3LeCQhlefzy4hE5Hf5WrCYYgZ4irDhTXrrpCRqPm2fjlRQmaz1K 5cUdNJY9N6xvMYz8HHxYxqpByVm22fMMCtsIj/OSgX7dZCmSNfbaYD7FMYIExDCCBMACAQEwgfIw gd0xCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNp Z24gVHJ1c3QgTmV0d29yazE7MDkGA1UECxMyVGVybXMgb2YgdXNlIGF0IGh0dHBzOi8vd3d3LnZl cmlzaWduLmNvbS9ycGEgKGMpMDUxHjAcBgNVBAsTFVBlcnNvbmEgTm90IFZhbGlkYXRlZDE3MDUG A1UEAxMuVmVyaVNpZ24gQ2xhc3MgMSBJbmRpdmlkdWFsIFN1YnNjcmliZXIgQ0EgLSBHMgIQEhoK Cur0y3NaMPU6FatgKjAJBgUrDgMCGgUAoIIDJzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwG CSqGSIb3DQEJBTEPFw0xMDAyMjcwMDA4NDJaMCMGCSqGSIb3DQEJBDEWBBQ8ZHomBrZTmzteR2cX lntlpGtfbTCBtwYJKoZIhvcNAQkPMYGpMIGmMAsGCWCGSAFlAwQBKjALBglghkgBZQMEARYwCgYI KoZIhvcNAwcwCwYJYIZIAWUDBAECMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG9w0DAgIBQDAHBgUr DgMCBzANBggqhkiG9w0DAgIBKDAHBgUrDgMCGjALBglghkgBZQMEAgMwCwYJYIZIAWUDBAICMAsG CWCGSAFlAwQCATAKBggqhkiG9w0CBTCCAQMGCSsGAQQBgjcQBDGB9TCB8jCB3TELMAkGA1UEBhMC VVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJpU2lnbiBUcnVzdCBOZXR3 b3JrMTswOQYDVQQLEzJUZXJtcyBvZiB1c2UgYXQgaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL3Jw YSAoYykwNTEeMBwGA1UECxMVUGVyc29uYSBOb3QgVmFsaWRhdGVkMTcwNQYDVQQDEy5WZXJpU2ln biBDbGFzcyAxIEluZGl2aWR1YWwgU3Vic2NyaWJlciBDQSAtIEcyAhASGgoK6vTLc1ow9ToVq2Aq MIIBBQYLKoZIhvcNAQkQAgsxgfWggfIwgd0xCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJpU2ln biwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29yazE7MDkGA1UECxMyVGVybXMg b2YgdXNlIGF0IGh0dHBzOi8vd3d3LnZlcmlzaWduLmNvbS9ycGEgKGMpMDUxHjAcBgNVBAsTFVBl cnNvbmEgTm90IFZhbGlkYXRlZDE3MDUGA1UEAxMuVmVyaVNpZ24gQ2xhc3MgMSBJbmRpdmlkdWFs IFN1YnNjcmliZXIgQ0EgLSBHMgIQEhoKCur0y3NaMPU6FatgKjANBgkqhkiG9w0BAQEFAASBgIbz mc9X9CiIJiLdWJWI/HrezzoOXT07LL0RsM8VEqz8OiI4hGlOsuE8LFY41Y3PukHTvQTygZVoNu29 uxHx9wW3rJauRqmQaUR8VYBu22Do0PI5qmvoAsbd9wJDJCd4J6eStAnnwHaeyg8q6iKlUBmQg2Rf 2hD204u7lze7KtJtAAAAAAAA ------=_NextPart_000_007A_01CAB717.1CDA9BA0-- From [email protected] Sat Feb 27 00:18:23 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19219 invoked from network); 27 Feb 2010 00:18:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2010 00:18:23 -0000 Received: (qmail 14044 invoked by uid 500); 26 Feb 2010 23:18:23 -0000 Delivered-To: [email protected] Received: (qmail 14028 invoked by uid 500); 26 Feb 2010 23:18:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 14015 invoked by uid 99); 26 Feb 2010 23:18:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 23:18:23 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f217.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 23:18:10 +0000 Received: by bwz9 with SMTP id 9so446397bwz.5 for <[email protected]>; Fri, 26 Feb 2010 15:17:50 -0800 (PST) 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=ZtOSzMFwUrX9y+XaJC9WxeHbkVA22ZCcM8Ru/r+24hM=; b=CI4bONPmkO1qfFJF770SnvcL3YZsM/HgGfHre+ByXf28UC6r0ucFE3HT/A0GqQOegt tywBfpyBHFd7gegvsiNH21BBANtoCCWDmDtOHoU2SrGpxu6k0zuOw9pX8Bs6Atjtzqee pjUOBPVSlkJ9efbxR2J9Y4eiBLC8ew+1aT9Ok= 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=PQZa8UyzIRAmJekUUnYbB0+N/M/t6arA81u/WexwaNy9xY0xxSQgcXREqZzjN6S7El 6ZTSAwht6X5Lqjln88Zk65rxRbai5Ho6W21OQLfcF+ujCA7P9Xeb0c0zb1ETwqeFUcYV j9d+AZnP3iC8g2KB7ejY1sp0X/hf7GyQZFDh0= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id i18mr760364bkd.119.1267226270467; Fri, 26 Feb 2010 15:17:50 -0800 (PST) In-Reply-To: <004401cab735$ed722170$c8566450$@com> References: <[email protected]> <005f01cab71b$b7eb1f80$27c15e80$@com> <[email protected]> <[email protected]> <[email protected]> <004401cab735$ed722170$c8566450$@com> Date: Fri, 26 Feb 2010 15:17:50 -0800 Message-ID: <[email protected]> Subject: Re: Lucene index file container From: Andrew Schuler <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00032555971eb385790480891b20 X-Virus-Checked: Checked by ClamAV on apache.org --00032555971eb385790480891b20 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks for all the comments. For what's it worth, for what I'm doing file size is not a concern. Index performance is paramount. The index will be static, no adding or deleting, its read only. On Fri, Feb 26, 2010 at 2:49 PM, Nicholas Paldino [.NET/C# MVP] < [email protected]> wrote: > Andrew, > > If you are going to unpack the index into a temp directory and the= n > repack the file when you are done, then you are going to instantiate a co= st > on startup and on teardown of the process which is mainly I/O and CPU bou= nd > (I/O because you have to read the zip file from disk and then write the > unpacked file from the zip to another location, and CPU bound because you > are translating the byte stream while unpacking). > > That approach doesn't do anything but add that additional I/O and > CPU overhead on startup. The "big win" for compressing the file is to sa= ve > space on disk, or whatever medium the byte stream is being persisted to. > > If all you do is unzip the file in the beginning and zip it up at > the end, then from your app's point of view, you do a lot of extra work f= or > nothing. Unless you have real disk space issues, I'd recommend against > this. > > Now, if you were to create a new Directory class which uses a > GZipStream or DeflateStream as a fa=E7ade over the FileStream which write= s to > disk, then you are reaping the benefits of compressing the file. The ind= ex > will always be compressed on disk and you are realizing the gains. > > The cost of doing this, however, is more CPU time (to perform the > translation) but with a gain on less I/O operations to disk (since there > are > less bytes that are being written to disk). > > Depending on how much activity you have on reading/writing to/from > the index it might or might not make an impact. You have to measure that > yourself given your applications use of the index. > > If file size is ^truly^ a concern, have you considered just settin= g > the compression flag on the *folder* that contains the index files? Any > files that are added/updated/deleted will automatically be compressed if > the > flag is set on the folder, so doing it in code is busywork when the OS > automatically provides it for you (assuming you are on Windows, which is = a > safe bet given you are running .NET, but not absolute, of course). > > - Nick > > -----Original Message----- > From: Andrew Schuler [mailto:[email protected]] > Sent: Friday, February 26, 2010 4:48 PM > To: [email protected] > Subject: Re: Lucene index file container > > Thanks for both answers on this. > I considered a zip file but was unsure of the associated overhead of > unpacking file. Does any one have experience running an index directly ou= t > of zip file? > Are my worries unfounded? I was just trying to leverage the experience of > the group, but otherwise I'll just have to run some tests on my own. > > > > On Fri, Feb 26, 2010 at 11:55 AM, Nicholas Petersen > <[email protected]>wrote: > > > <Can anyone recommend a way to package the index into say some type of > file > > container> > > > > If I understand correctly, it sounds like your asking for a text-book > > implementation of an archiver, like a zip file. If so, DotNetZip is a > > solid > > product, very easy to use, very fast. Highly recommended. > > http://www.codeplex.com/DotNetZip. > > > > Best, > > Nick > > > > > > > > On Fri, Feb 26, 2010 at 2:47 PM, Andrew Schuler < > [email protected] > > >wrote: > > > > > Yes, that is do-able. I was just thinking it would be cleaner to wrap > the > > > indexes (there will be more than one) in some sort of file container. > One > > > of > > > the things I'd like to do it be able to allow the user to download > > > pre-packaged indexes and load them into the app. This would be easy > with > > a > > > file than a directory of files no? > > > > > > > > > On Fri, Feb 26, 2010 at 11:41 AM, Hans Merkl <[email protected]> wrote: > > > > > > > Can't you add all the files in the index directory to the installer > > > > package? > > > > This should be pretty straightforward. > > > > > > > > -----Original Message----- > > > > From: Andrew Schuler [mailto:[email protected]] > > > > Sent: Friday, February 26, 2010 12:16 PM > > > > To: [email protected] > > > > Subject: Lucene index file container > > > > > > > > The discussion about encrypting an index has me thinking about a > > current > > > > use > > > > I have for Lucene.net. I'm building a small app with a static index > > > > distributed with it. Can anyone recommend a way to package the inde= x > > into > > > > say some type of file container for inclusion in an installer > package? > > > > > > > > -andy > > > > > > > > > > > > > > > > > > --00032555971eb385790480891b20-- From [email protected] Sat Feb 27 00:19:50 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20074 invoked from network); 27 Feb 2010 00:19:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2010 00:19:50 -0000 Received: (qmail 15022 invoked by uid 500); 26 Feb 2010 23:19:50 -0000 Delivered-To: [email protected] Received: (qmail 14997 invoked by uid 500); 26 Feb 2010 23:19:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 14989 invoked by uid 99); 26 Feb 2010 23:19:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 23:19:50 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f221.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 23:19:39 +0000 Received: by ewy21 with SMTP id 21so390261ewy.5 for <[email protected]>; Fri, 26 Feb 2010 15:19:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:references :in-reply-to:subject:date:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:thread-index:content-language; bh=Tyhok/RYM9RMjVczi4fqQFr4fgvRKPiPBP/wqo9YMM4=; b=gTEh4f5hEfvFDBrBVW8e2wJRismAp/10EbUCqmU6RMIg4KUhkbPOG9ewxVlXpeT8nq w6zSQLDJQm9gkDn4bwjoxYXVmtxfpgWUI2GdFtTR9d72xCaktxCEQLNga02VQwn07jIL q3sVKNxwqqbTQHUurCYkOhcYKfbovbOv3CBXE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:content-transfer-encoding:x-mailer:thread-index :content-language; b=WFkVdDTvNLjknMQow6IH15o0YQzQPxecxONCaz4adJwq11ydHeAij9hNRr497Vd+1/ A3MXWCz5Fnu35/rJOVdijDVP8zorI8k1jvpFNxuTDGBrSAdpS+gCJi1aPOehFpnhUd7H DOmrnfyQReoE9tAAj5BSBCzSX77ktkAldLfjk= Received: by 161.129.204.104 with SMTP id e3mr379270ebg.96.1267226358872; Fri, 26 Feb 2010 15:19:18 -0800 (PST) Received: from NEWPC ([161.129.204.104]) by mx.google.com with ESMTPS id 7sm3627317eyg.16.2161.129.204.104.19.17 (version=SSLv3 cipher=RC4-MD5); Fri, 26 Feb 2010 15:19:18 -0800 (PST) From: "Digy" <[email protected]> To: <[email protected]> References: <[email protected]> <005f01cab71b$b7eb1f80$27c15e80$@com> <[email protected]> <[email protected]> <[email protected]> <004401cab735$ed722170$c8566450$@com> In-Reply-To: <004401cab735$ed722170$c8566450$@com> Subject: RE: Lucene index file container Date: Sat, 27 Feb 2010 01:19:03 +0200 Message-ID: <009101cab73a$16dba500$4492ef00$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-9" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acq3MQbezSbEC2ciSSeG3IXIO82TawAAvssAAAFCDCA= Content-Language: tr X-Virus-Checked: Checked by ClamAV on apache.org Hi Nick, Suppose that I have 1G file with a compressed size of 100M and I want to read just a 4K block from offset 900M. Considering the SharpZip Lib,DotNetZip or similars , would be the cost = more CPU and less IO? Or more CPU more IO? DIGY -----Original Message----- From: Nicholas Paldino [.NET/C# MVP] [mailto:[email protected]] = Sent: Saturday, February 27, 2010 12:49 AM To: [email protected] Subject: RE: Lucene index file container Andrew, If you are going to unpack the index into a temp directory and then repack the file when you are done, then you are going to instantiate a = cost on startup and on teardown of the process which is mainly I/O and CPU = bound (I/O because you have to read the zip file from disk and then write the unpacked file from the zip to another location, and CPU bound because = you are translating the byte stream while unpacking). That approach doesn't do anything but add that additional I/O and CPU overhead on startup. The "big win" for compressing the file is to = save space on disk, or whatever medium the byte stream is being persisted to. If all you do is unzip the file in the beginning and zip it up at the end, then from your app's point of view, you do a lot of extra work = for nothing. Unless you have real disk space issues, I'd recommend against this. Now, if you were to create a new Directory class which uses a GZipStream or DeflateStream as a fa=E7ade over the FileStream which = writes to disk, then you are reaping the benefits of compressing the file. The = index will always be compressed on disk and you are realizing the gains. The cost of doing this, however, is more CPU time (to perform the translation) but with a gain on less I/O operations to disk (since there = are less bytes that are being written to disk). Depending on how much activity you have on reading/writing to/from the index it might or might not make an impact. You have to measure = that yourself given your applications use of the index. If file size is ^truly^ a concern, have you considered just setting the compression flag on the *folder* that contains the index files? Any files that are added/updated/deleted will automatically be compressed if = the flag is set on the folder, so doing it in code is busywork when the OS automatically provides it for you (assuming you are on Windows, which is = a safe bet given you are running .NET, but not absolute, of course). - Nick -----Original Message----- From: Andrew Schuler [mailto:[email protected]]=20 Sent: Friday, February 26, 2010 4:48 PM To: [email protected] Subject: Re: Lucene index file container Thanks for both answers on this. I considered a zip file but was unsure of the associated overhead of unpacking file. Does any one have experience running an index directly = out of zip file? Are my worries unfounded? I was just trying to leverage the experience = of the group, but otherwise I'll just have to run some tests on my own. On Fri, Feb 26, 2010 at 11:55 AM, Nicholas Petersen <[email protected]>wrote: > <Can anyone recommend a way to package the index into say some type of file > container> > > If I understand correctly, it sounds like your asking for a text-book > implementation of an archiver, like a zip file. If so, DotNetZip is a > solid > product, very easy to use, very fast. Highly recommended. > http://www.codeplex.com/DotNetZip. > > Best, > Nick > > > > On Fri, Feb 26, 2010 at 2:47 PM, Andrew Schuler = <[email protected] > >wrote: > > > Yes, that is do-able. I was just thinking it would be cleaner to = wrap the > > indexes (there will be more than one) in some sort of file = container. One > > of > > the things I'd like to do it be able to allow the user to download > > pre-packaged indexes and load them into the app. This would be easy = with > a > > file than a directory of files no? > > > > > > On Fri, Feb 26, 2010 at 11:41 AM, Hans Merkl <[email protected]> wrote: > > > > > Can't you add all the files in the index directory to the = installer > > > package? > > > This should be pretty straightforward. > > > > > > -----Original Message----- > > > From: Andrew Schuler [mailto:[email protected]] > > > Sent: Friday, February 26, 2010 12:16 PM > > > To: [email protected] > > > Subject: Lucene index file container > > > > > > The discussion about encrypting an index has me thinking about a > current > > > use > > > I have for Lucene.net. I'm building a small app with a static = index > > > distributed with it. Can anyone recommend a way to package the = index > into > > > say some type of file container for inclusion in an installer = package? > > > > > > -andy > > > > > > > > > > > > From [email protected] Sat Feb 27 00:30:19 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24271 invoked from network); 27 Feb 2010 00:30:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2010 00:30:18 -0000 Received: (qmail 81474 invoked by uid 500); 26 Feb 2010 22:43:37 -0000 Delivered-To: [email protected] Received: (qmail 81450 invoked by uid 500); 26 Feb 2010 22:43:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81438 invoked by uid 99); 26 Feb 2010 22:43:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 22:43:37 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO EDGESERVER1.edge.swcc.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 22:43:27 +0000 Received: from SERVER8.office.swcc.com (161.129.204.104) by EDGESERVER1.edge.swcc.com (161.129.204.104) with Microsoft SMTP Server (TLS) id 8.1.393.1; Fri, 26 Feb 2010 17:43:07 -0500 Received: from SERVER8.office.swcc.com ([acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bfc8e:7a4e:2b90:4f8c]) by SERVER8.office.swcc.com ([acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bfc8e:7a4e:2b90:4f8c%10]) with mapi; Fri, 26 Feb 2010 17:42:30 -0500 From: Franklin Simmons <[email protected]> To: "[email protected]" <[email protected]> Date: Fri, 26 Feb 2010 17:42:30 -0500 Subject: RE: Lucene index file container Thread-Topic: Lucene index file container Thread-Index: Acq3LVwH7rnUXS31RC2L+snFDmGwBgABwrEg Message-ID: <[email protected]> References: <[email protected]> <005f01cab71b$b7eb1f80$27c15e80$@com> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-GFI-SMTP-Submission: 1 X-GFI-SMTP-HelloDomain: SERVER8.office.swcc.com X-GFI-SMTP-RemoteIP: 161.129.204.104 Consider using SharpZipLib, chock-full of open source goodness. Alternativ= ely, with a little forethought you could roll your own zipper by implementi= ng System.IO.Compression.GZipStream - there are several examples on the net= , just fire up your favorite search engine and poke around. -----Original Message----- From: Andrew Schuler [mailto:[email protected]]=20 Sent: Friday, February 26, 2010 4:48 PM To: [email protected] Subject: Re: Lucene index file container Thanks for both answers on this. I considered a zip file but was unsure of the associated overhead of unpacking file. Does any one have experience running an index directly out of zip file? Are my worries unfounded? I was just trying to leverage the experience of the group, but otherwise I'll just have to run some tests on my own. On Fri, Feb 26, 2010 at 11:55 AM, Nicholas Petersen <[email protected]>wrote: > <Can anyone recommend a way to package the index into say some type of fi= le > container> > > If I understand correctly, it sounds like your asking for a text-book > implementation of an archiver, like a zip file. If so, DotNetZip is a > solid > product, very easy to use, very fast. Highly recommended. > http://www.codeplex.com/DotNetZip. > > Best, > Nick > > > > On Fri, Feb 26, 2010 at 2:47 PM, Andrew Schuler <[email protected] > >wrote: > > > Yes, that is do-able. I was just thinking it would be cleaner to wrap t= he > > indexes (there will be more than one) in some sort of file container. O= ne > > of > > the things I'd like to do it be able to allow the user to download > > pre-packaged indexes and load them into the app. This would be easy wit= h > a > > file than a directory of files no? > > > > > > On Fri, Feb 26, 2010 at 11:41 AM, Hans Merkl <[email protected]> wrote: > > > > > Can't you add all the files in the index directory to the installer > > > package? > > > This should be pretty straightforward. > > > > > > -----Original Message----- > > > From: Andrew Schuler [mailto:[email protected]] > > > Sent: Friday, February 26, 2010 12:16 PM > > > To: [email protected] > > > Subject: Lucene index file container > > > > > > The discussion about encrypting an index has me thinking about a > current > > > use > > > I have for Lucene.net. I'm building a small app with a static index > > > distributed with it. Can anyone recommend a way to package the index > into > > > say some type of file container for inclusion in an installer package= ? > > > > > > -andy > > > > > > > > > > > > From [email protected] Sat Feb 27 00:37:03 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28725 invoked from network); 27 Feb 2010 00:37:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2010 00:37:03 -0000 Received: (qmail 88086 invoked by uid 500); 26 Feb 2010 22:50:22 -0000 Delivered-To: [email protected] Received: (qmail 88063 invoked by uid 500); 26 Feb 2010 22:50:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 88055 invoked by uid 99); 26 Feb 2010 22:50:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 22:50:22 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smg01.internetmailserver.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 22:50:12 +0000 Received: from sm04.dotnetplayground.com [161.129.204.104] by smg01.internetmailserver.net with SMTP; Fri, 26 Feb 2010 14:48:35 -0800 Received: from cpe-98-14-109-104.nyc.res.rr.com [161.129.204.104] by sm04.internetmailserver.net with SMTP; Fri, 26 Feb 2010 14:48:13 -0800 From: "Nicholas Paldino [.NET/C# MVP]" <[email protected]> To: <[email protected]> References: <[email protected]> <005f01cab71b$b7eb1f80$27c15e80$@com> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Subject: RE: Lucene index file container Date: Fri, 26 Feb 2010 17:49:16 -0500 Message-ID: <004401cab735$ed722170$c8566450$@com> X-Mailer: Microsoft Office Outlook 12.0 MIME-Version: 1.0 Thread-Index: Acq3MQbezSbEC2ciSSeG3IXIO82TawAAvssA Content-Language: en-us Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0040_01CAB70C.0338B8E0" ------=_NextPart_000_0040_01CAB70C.0338B8E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Andrew, If you are going to unpack the index into a temp directory and then repack the file when you are done, then you are going to instantiate a = cost on startup and on teardown of the process which is mainly I/O and CPU = bound (I/O because you have to read the zip file from disk and then write the unpacked file from the zip to another location, and CPU bound because = you are translating the byte stream while unpacking). That approach doesn't do anything but add that additional I/O and CPU overhead on startup. The "big win" for compressing the file is to = save space on disk, or whatever medium the byte stream is being persisted to. If all you do is unzip the file in the beginning and zip it up at the end, then from your app's point of view, you do a lot of extra work = for nothing. Unless you have real disk space issues, I'd recommend against this. Now, if you were to create a new Directory class which uses a GZipStream or DeflateStream as a fa=E7ade over the FileStream which = writes to disk, then you are reaping the benefits of compressing the file. The = index will always be compressed on disk and you are realizing the gains. The cost of doing this, however, is more CPU time (to perform the translation) but with a gain on less I/O operations to disk (since there = are less bytes that are being written to disk). Depending on how much activity you have on reading/writing to/from the index it might or might not make an impact. You have to measure = that yourself given your applications use of the index. If file size is ^truly^ a concern, have you considered just setting the compression flag on the *folder* that contains the index files? Any files that are added/updated/deleted will automatically be compressed if = the flag is set on the folder, so doing it in code is busywork when the OS automatically provides it for you (assuming you are on Windows, which is = a safe bet given you are running .NET, but not absolute, of course). - Nick -----Original Message----- From: Andrew Schuler [mailto:[email protected]]=20 Sent: Friday, February 26, 2010 4:48 PM To: [email protected] Subject: Re: Lucene index file container Thanks for both answers on this. I considered a zip file but was unsure of the associated overhead of unpacking file. Does any one have experience running an index directly = out of zip file? Are my worries unfounded? I was just trying to leverage the experience = of the group, but otherwise I'll just have to run some tests on my own. On Fri, Feb 26, 2010 at 11:55 AM, Nicholas Petersen <[email protected]>wrote: > <Can anyone recommend a way to package the index into say some type of file > container> > > If I understand correctly, it sounds like your asking for a text-book > implementation of an archiver, like a zip file. If so, DotNetZip is a > solid > product, very easy to use, very fast. Highly recommended. > http://www.codeplex.com/DotNetZip. > > Best, > Nick > > > > On Fri, Feb 26, 2010 at 2:47 PM, Andrew Schuler = <[email protected] > >wrote: > > > Yes, that is do-able. I was just thinking it would be cleaner to = wrap the > > indexes (there will be more than one) in some sort of file = container. One > > of > > the things I'd like to do it be able to allow the user to download > > pre-packaged indexes and load them into the app. This would be easy = with > a > > file than a directory of files no? > > > > > > On Fri, Feb 26, 2010 at 11:41 AM, Hans Merkl <[email protected]> wrote: > > > > > Can't you add all the files in the index directory to the = installer > > > package? > > > This should be pretty straightforward. > > > > > > -----Original Message----- > > > From: Andrew Schuler [mailto:[email protected]] > > > Sent: Friday, February 26, 2010 12:16 PM > > > To: [email protected] > > > Subject: Lucene index file container > > > > > > The discussion about encrypting an index has me thinking about a > current > > > use > > > I have for Lucene.net. I'm building a small app with a static = index > > > distributed with it. Can anyone recommend a way to package the = index > into > > > say some type of file container for inclusion in an installer = package? > > > > > > -andy > > > > > > > > > > > > ------=_NextPart_000_0040_01CAB70C.0338B8E0 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIL/DCCAj0w ggGmAhEAzbp/VvDf5LxU/iKss3KqVTANBgkqhkiG9w0BAQIFADBfMQswCQYDVQQGEwJVUzEXMBUG A1UEChMOVmVyaVNpZ24sIEluYy4xNzA1BgNVBAsTLkNsYXNzIDEgUHVibGljIFByaW1hcnkgQ2Vy dGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNOTYwMTI5MDAwMDAwWhcNMjgwODAxMjM1OTU5WjBfMQsw CQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xNzA1BgNVBAsTLkNsYXNzIDEgUHVi bGljIFByaW1hcnkgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwgZ8wDQYJKoZIhvcNAQEBBQADgY0A MIGJAoGBAOUZv22jVmEtmUhx9mfeuY3rt56GgAqRDvo4Ja9GiILlc6igmyRdDR/MZW4MsNBWhBiH mgabEKFz37RYOWtuwfYV1aioP6oSBo0xrH+wNNePNGeICc0UEeJORVZpH3gCgNrcR5EpuzbJY1zF 4Ncth3uhtzKwezC6Ki8xqu6jZ9rbAgMBAAEwDQYJKoZIhvcNAQECBQADgYEATD+4i8Zo3+5DMw5d 6abLB4RNejP/khv0Nq3YlSI2aBFsfELM85wuxAc/FLAPT/+Qknb54rxK6Y/NoIAK98Up8YIiXbix 3YEjo3slFUYweRb46gVLlH8dwhzI47f0EEA8E8NfH1PoSOSGtHuhNbB7Jbq4046rPzidADQAmPPR cZQwggTMMIIENaADAgECAhAcrp1rmvTmLyKKo9p0YWweMA0GCSqGSIb3DQEBBQUAMF8xCzAJBgNV BAYTAlVTMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjE3MDUGA1UECxMuQ2xhc3MgMSBQdWJsaWMg UHJpbWFyeSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wNTEwMjgwMDAwMDBaFw0xNTEwMjcy MzU5NTlaMIHdMQswCQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsT FlZlcmlTaWduIFRydXN0IE5ldHdvcmsxOzA5BgNVBAsTMlRlcm1zIG9mIHVzZSBhdCBodHRwczov L3d3dy52ZXJpc2lnbi5jb20vcnBhIChjKTA1MR4wHAYDVQQLExVQZXJzb25hIE5vdCBWYWxpZGF0 ZWQxNzA1BgNVBAMTLlZlcmlTaWduIENsYXNzIDEgSW5kaXZpZHVhbCBTdWJzY3JpYmVyIENBIC0g RzIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ36zn6vj4AxTEAJLVwX42wjzvfHIV y8CrjD0clc5vHhAsPwDtlybmtsfmrUMdP6SHR0dMPlT4bPjH/LGevTBwvJexAwXqlfGtQMVEeksF ovJg/Nc6ZWLv/xB7ola7xU5wLdaiHzztsELoXo1XIaymmdkR6dIaB8B0R0IL/MU06v3muiTRHQgV N6LXc88BQS9jsjo/vqUabvTJSls9laYVuzUCGfnU77yPDnF2WbtLtj7W/FoW9NYOifJJ/mwM7RXp 2Yh1nHnOYCfdua11zi9zlXpAOoV1SbC432i8q80TgoURUKPgPAuuwApTzdcwb4UyRhvkSRDCbOKv H3n/27S1AgMBAAGjggGEMIIBgDASBgNVHRMBAf8ECDAGAQH/AgEAMEQGA1UdIAQ9MDswOQYLYIZI AYb4RQEHFwEwKjAoBggrBgEFBQcCARYcaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL3JwYTALBgNV HQ8EBAMCAQYwEQYJYIZIAYb4QgEBBAQDAgEGMC4GA1UdEQQnMCWkIzAhMR8wHQYDVQQDExZQcml2 YXRlTGFiZWwzLTIwNDgtMTU1MB0GA1UdDgQWBBQRfV4ZfTwE32ps1qKKGj8x2DuUUjAxBgNVHR8E KjAoMCagJKAihiBodHRwOi8vY3JsLnZlcmlzaWduLmNvbS9wY2ExLmNybDCBgQYDVR0jBHoweKFj pGEwXzELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFz cyAxIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5ghEAzbp/VvDf5LxU/iKs s3KqVTANBgkqhkiG9w0BAQUFAAOBgQCxL9mW4ZKi7oFg5cgqIPvhZyzWAJhTowIb6ZBL+BhEnw9G 9/qg/tMdGKPSvxzs1hmfSk1D+Mq7vhOASQXdIXMzV8JCWr76AJOy5gQxkU5dPPBzBTdj67+DWZj9 Zt7phjKakik8Oq5U2qYSUbGPyMrTR3jm26Uehwbj0RTAwiH2ujCCBOcwggPPoAMCAQICEBIaCgrq 9MtzWjD1OhWrYCowDQYJKoZIhvcNAQEFBQAwgd0xCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJp U2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29yazE7MDkGA1UECxMyVGVy bXMgb2YgdXNlIGF0IGh0dHBzOi8vd3d3LnZlcmlzaWduLmNvbS9ycGEgKGMpMDUxHjAcBgNVBAsT FVBlcnNvbmEgTm90IFZhbGlkYXRlZDE3MDUGA1UEAxMuVmVyaVNpZ24gQ2xhc3MgMSBJbmRpdmlk dWFsIFN1YnNjcmliZXIgQ0EgLSBHMjAeFw0xMDAxMDUwMDAwMDBaFw0xMTAxMDUyMzU5NTlaMIIB HjEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRydXN0IE5ldHdv cmsxRjBEBgNVBAsTPXd3dy52ZXJpc2lnbi5jb20vcmVwb3NpdG9yeS9SUEEgSW5jb3JwLiBieSBS ZWYuLExJQUIuTFREKGMpOTgxHjAcBgNVBAsTFVBlcnNvbmEgTm90IFZhbGlkYXRlZDE0MDIGA1UE CxMrRGlnaXRhbCBJRCBDbGFzcyAxIC0gTWljcm9zb2Z0IEZ1bGwgU2VydmljZTEZMBcGA1UEAxQQ TmljaG9sYXMgUGFsZGlubzEpMCcGCSqGSIb3DQEJARYaY2FzcGVyb25lQGNhc3BlcnNob3VzZS5j b20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALF1zj8VgVfT2S8U5JrrikyFvRwYzUvjHgDp QQz/yonz/U40Hv27dRafbwpE74M7MxXB+6CrEue8bF/+/+OHqlbfUkbkC/mKvetPMGkFJJPIK+vo Olkr0iCQqN95YdhGwX2dHaQmt3Ak8tImt7TWStlgzUmdiAwX2eqQe4NPRKgxAgMBAAGjgeIwgd8w CQYDVR0TBAIwADBEBgNVHSAEPTA7MDkGC2CGSAGG+EUBBxcBMCowKAYIKwYBBQUHAgEWHGh0dHBz Oi8vd3d3LnZlcmlzaWduLmNvbS9ycGEwCwYDVR0PBAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwME BggrBgEFBQcDAjAUBgpghkgBhvhFAQYHBAYWBE5vbmUwSgYDVR0fBEMwQTA/oD2gO4Y5aHR0cDov L0luZEMxRGlnaXRhbElELWNybC52ZXJpc2lnbi5jb20vSW5kQzFEaWdpdGFsSUQuY3JsMA0GCSqG SIb3DQEBBQUAA4IBAQCqB4LXJcG434cY+64lL0vW+PTGk8HEDn5iBGkFxo1gHWstAX5wMND/BIKY uLJgLqcMmV9eeSeXKiMoeHS/54wHfQ/jwIqQEvgpMX7RicaARYKJWo/MacpXWPyxc0QJWkHqdD+D +OzxXETaHxCs1YDoNppjByumBFzGJYu4SOZJYJETx1I/zpMkJThNFjQ2TKgSKxmBX8STPtto0+hj YgzXipPZSkR0PJy3Ah6acxqiB3LeCQhlefzy4hE5Hf5WrCYYgZ4irDhTXrrpCRqPm2fjlRQmaz1K 5cUdNJY9N6xvMYz8HHxYxqpByVm22fMMCtsIj/OSgX7dZCmSNfbaYD7FMYIExDCCBMACAQEwgfIw gd0xCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNp Z24gVHJ1c3QgTmV0d29yazE7MDkGA1UECxMyVGVybXMgb2YgdXNlIGF0IGh0dHBzOi8vd3d3LnZl cmlzaWduLmNvbS9ycGEgKGMpMDUxHjAcBgNVBAsTFVBlcnNvbmEgTm90IFZhbGlkYXRlZDE3MDUG A1UEAxMuVmVyaVNpZ24gQ2xhc3MgMSBJbmRpdmlkdWFsIFN1YnNjcmliZXIgQ0EgLSBHMgIQEhoK Cur0y3NaMPU6FatgKjAJBgUrDgMCGgUAoIIDJzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwG CSqGSIb3DQEJBTEPFw0xMDAyMjYyMjQ5MTVaMCMGCSqGSIb3DQEJBDEWBBQdHkKuRZ4ieszcHWWz CKfhXytOdjCBtwYJKoZIhvcNAQkPMYGpMIGmMAsGCWCGSAFlAwQBKjALBglghkgBZQMEARYwCgYI KoZIhvcNAwcwCwYJYIZIAWUDBAECMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG9w0DAgIBQDAHBgUr DgMCBzANBggqhkiG9w0DAgIBKDAHBgUrDgMCGjALBglghkgBZQMEAgMwCwYJYIZIAWUDBAICMAsG CWCGSAFlAwQCATAKBggqhkiG9w0CBTCCAQMGCSsGAQQBgjcQBDGB9TCB8jCB3TELMAkGA1UEBhMC VVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJpU2lnbiBUcnVzdCBOZXR3 b3JrMTswOQYDVQQLEzJUZXJtcyBvZiB1c2UgYXQgaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL3Jw YSAoYykwNTEeMBwGA1UECxMVUGVyc29uYSBOb3QgVmFsaWRhdGVkMTcwNQYDVQQDEy5WZXJpU2ln biBDbGFzcyAxIEluZGl2aWR1YWwgU3Vic2NyaWJlciBDQSAtIEcyAhASGgoK6vTLc1ow9ToVq2Aq MIIBBQYLKoZIhvcNAQkQAgsxgfWggfIwgd0xCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJpU2ln biwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29yazE7MDkGA1UECxMyVGVybXMg b2YgdXNlIGF0IGh0dHBzOi8vd3d3LnZlcmlzaWduLmNvbS9ycGEgKGMpMDUxHjAcBgNVBAsTFVBl cnNvbmEgTm90IFZhbGlkYXRlZDE3MDUGA1UEAxMuVmVyaVNpZ24gQ2xhc3MgMSBJbmRpdmlkdWFs IFN1YnNjcmliZXIgQ0EgLSBHMgIQEhoKCur0y3NaMPU6FatgKjANBgkqhkiG9w0BAQEFAASBgGJ2 s0bJTz9hLFe9FdGCX9r+ML76vjOpzIkByV4L8sH+S1zO4ZoVPcWMPFGNJbIMMgR8Zj+Pii/aXvAd UP1H0EYmUXxUJCeYcqbroUneJqfHSYMzQ+gC023eaQSCSIiEIjPnIaqdnuv4RPgvkmPmkhfY30fS t8Yy2bqFWhpRF2cPAAAAAAAA ------=_NextPart_000_0040_01CAB70C.0338B8E0-- From [email protected] Sat Feb 27 08:15:51 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77758 invoked from network); 27 Feb 2010 08:15:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2010 08:15:51 -0000 Received: (qmail 26864 invoked by uid 500); 27 Feb 2010 08:15:51 -0000 Delivered-To: [email protected] Received: (qmail 26839 invoked by uid 500); 27 Feb 2010 08:15:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26831 invoked by uid 99); 27 Feb 2010 08:15:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Feb 2010 08:15:50 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f221.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Feb 2010 08:15:40 +0000 Received: by ewy21 with SMTP id 21so474430ewy.5 for <[email protected]>; Sat, 27 Feb 2010 00:15:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:references :in-reply-to:subject:date:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:thread-index:content-language; bh=Gksg5Awd8I8WZiRsCJyw0YqWf6JIfo33aQBKOn0iNoI=; b=l+57Tbfp7omhdpeEQ/sCBLRyL7AczjbGiKkKJN5zFUhbO3o/S0vv5qig2KBKJWOrq1 odTb3QhAMxMQYf7GbKmBUPv+ulBTdVNFmMTRcNt00+isw7mQqLx5qbiSm5QPx4O+NIRr abgGGqIU0vA8CNXoR37Worgl2xTlXxas68F/k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:content-transfer-encoding:x-mailer:thread-index :content-language; b=lTe+2Y21+GYgm5jqwGjM1w1fCo49G/VkaPhiIacivN4q0+q6XOp9RzaVk1mZRwtOao R8PkQ+d0pt7nuoVPrcM2xj4cg4etmrZyVDb+VwJGxRmjZY2oV5aZ24d8Wx0KK9Zndlqc BOukzOtAOzmurYEnfm03zE/HBKsoft0qbVQys= Received: by 161.129.204.104 with SMTP id k20mr931181ebp.32.1267258517593; Sat, 27 Feb 2010 00:15:17 -0800 (PST) Received: from NEWPC ([161.129.204.104]) by mx.google.com with ESMTPS id 7sm4353598eyg.40.2161.129.204.104.15.16 (version=SSLv3 cipher=RC4-MD5); Sat, 27 Feb 2010 00:15:16 -0800 (PST) From: "Digy" <[email protected]> To: <[email protected]> References: <[email protected]> <005f01cab71b$b7eb1f80$27c15e80$@com> <[email protected]> <[email protected]> <[email protected]> <004401cab735$ed722170$c8566450$@com> <009101cab73a$16dba500$4492ef00$@com> <007e01cab741$065b3b80$1311b280$@com> In-Reply-To: <007e01cab741$065b3b80$1311b280$@com> Subject: RE: Lucene index file container Date: Sat, 27 Feb 2010 10:15:01 +0200 Message-ID: <002301cab784$f63401d0$e29c0570$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-9" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acq3MQbezSbEC2ciSSeG3IXIO82TawAAvssAAAFCDCAAAaM2QAAQnApg Content-Language: tr Hi Nick, > "If the libraries are offering you a read/write stream which is = seekable," As I mentioned in my first mail, that is the problem. They are not = seekable. You have to uncompress 900M data to reach to offset 900M.=20 So, To avoid to read "0 to offset" whenever a seek request is made, you have to unzip whole file at the beginning, and use that in your app. = But this is not what I understand from Andrew's statement=20 "Does any one have experience running an index directly out of zip = file?" DIGY -----Original Message----- From: Nicholas Paldino [.NET/C# MVP] [mailto:[email protected]] = Sent: Saturday, February 27, 2010 2:09 AM To: [email protected] Subject: RE: Lucene index file container Digy, You are *always* going to incur the CPU cost because in order to get to an offset in the ^uncompressed^ file, you have to process the 100MB = file and translate it into the 1GB file. That cost is always incurred no = matter what. Now, what you do with that 1GB and what the libraries do and how they expose it is implementation-dependent. If the libraries just stream the uncompressed data back to you in a forward-only, read-only way, then it's up to the library consumer to = take care of that in some way. This usually means keeping it in memory (in = which case, you have to worry about excessive memory consumption) or writing = it to disk (in which case, you incur I/O costs). If the libraries are offering you a read/write stream which is seekable, then it becomes completely implementation-dependent. It might very well use temp files, which incur I/O costs, or place data in memory = (or memory mapped files), which incurs a memory (and possibly I/O) cost. I don't have details about the specific libraries, but that's generally = what you are looking at in terms of strategies for providing this kind of functionality. - Nick -----Original Message----- From: Digy [mailto:[email protected]]=20 Sent: Friday, February 26, 2010 6:19 PM To: [email protected] Subject: RE: Lucene index file container Hi Nick, Suppose that I have 1G file with a compressed size of 100M and I want to read just a 4K block from offset 900M. Considering the SharpZip Lib,DotNetZip or similars , would be the cost = more CPU and less IO? Or more CPU more IO? DIGY -----Original Message----- From: Nicholas Paldino [.NET/C# MVP] [mailto:[email protected]] = Sent: Saturday, February 27, 2010 12:49 AM To: [email protected] Subject: RE: Lucene index file container Andrew, If you are going to unpack the index into a temp directory and then repack the file when you are done, then you are going to instantiate a = cost on startup and on teardown of the process which is mainly I/O and CPU = bound (I/O because you have to read the zip file from disk and then write the unpacked file from the zip to another location, and CPU bound because = you are translating the byte stream while unpacking). That approach doesn't do anything but add that additional I/O and CPU overhead on startup. The "big win" for compressing the file is to = save space on disk, or whatever medium the byte stream is being persisted to. If all you do is unzip the file in the beginning and zip it up at the end, then from your app's point of view, you do a lot of extra work = for nothing. Unless you have real disk space issues, I'd recommend against this. Now, if you were to create a new Directory class which uses a GZipStream or DeflateStream as a fa=E7ade over the FileStream which = writes to disk, then you are reaping the benefits of compressing the file. The = index will always be compressed on disk and you are realizing the gains. The cost of doing this, however, is more CPU time (to perform the translation) but with a gain on less I/O operations to disk (since there = are less bytes that are being written to disk). Depending on how much activity you have on reading/writing to/from the index it might or might not make an impact. You have to measure = that yourself given your applications use of the index. If file size is ^truly^ a concern, have you considered just setting the compression flag on the *folder* that contains the index files? Any files that are added/updated/deleted will automatically be compressed if = the flag is set on the folder, so doing it in code is busywork when the OS automatically provides it for you (assuming you are on Windows, which is = a safe bet given you are running .NET, but not absolute, of course). - Nick -----Original Message----- From: Andrew Schuler [mailto:[email protected]]=20 Sent: Friday, February 26, 2010 4:48 PM To: [email protected] Subject: Re: Lucene index file container Thanks for both answers on this. I considered a zip file but was unsure of the associated overhead of unpacking file. Does any one have experience running an index directly = out of zip file? Are my worries unfounded? I was just trying to leverage the experience = of the group, but otherwise I'll just have to run some tests on my own. On Fri, Feb 26, 2010 at 11:55 AM, Nicholas Petersen <[email protected]>wrote: > <Can anyone recommend a way to package the index into say some type of file > container> > > If I understand correctly, it sounds like your asking for a text-book > implementation of an archiver, like a zip file. If so, DotNetZip is a > solid > product, very easy to use, very fast. Highly recommended. > http://www.codeplex.com/DotNetZip. > > Best, > Nick > > > > On Fri, Feb 26, 2010 at 2:47 PM, Andrew Schuler = <[email protected] > >wrote: > > > Yes, that is do-able. I was just thinking it would be cleaner to = wrap the > > indexes (there will be more than one) in some sort of file = container. One > > of > > the things I'd like to do it be able to allow the user to download > > pre-packaged indexes and load them into the app. This would be easy = with > a > > file than a directory of files no? > > > > > > On Fri, Feb 26, 2010 at 11:41 AM, Hans Merkl <[email protected]> wrote: > > > > > Can't you add all the files in the index directory to the = installer > > > package? > > > This should be pretty straightforward. > > > > > > -----Original Message----- > > > From: Andrew Schuler [mailto:[email protected]] > > > Sent: Friday, February 26, 2010 12:16 PM > > > To: [email protected] > > > Subject: Lucene index file container > > > > > > The discussion about encrypting an index has me thinking about a > current > > > use > > > I have for Lucene.net. I'm building a small app with a static = index > > > distributed with it. Can anyone recommend a way to package the = index > into > > > say some type of file container for inclusion in an installer = package? > > > > > > -andy > > > > > > > > > > > > From [email protected] Sat Feb 27 09:22:37 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91492 invoked from network); 27 Feb 2010 09:22:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2010 09:22:37 -0000 Received: (qmail 63525 invoked by uid 500); 27 Feb 2010 09:22:36 -0000 Delivered-To: [email protected] Received: (qmail 63395 invoked by uid 500); 27 Feb 2010 09:22:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 63383 invoked by uid 99); 27 Feb 2010 09:22:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Feb 2010 09:22:36 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smg01.internetmailserver.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Feb 2010 09:22:25 +0000 Received: from sm04.dotnetplayground.com [161.129.204.104] by smg01.internetmailserver.net with SMTP; Sat, 27 Feb 2010 01:20:45 -0800 Received: from cpe-98-14-109-104.nyc.res.rr.com [161.129.204.104] by sm04.internetmailserver.net with SMTP; Sat, 27 Feb 2010 01:20:24 -0800 From: "Nicholas Paldino [.NET/C# MVP]" <[email protected]> To: <[email protected]> References: <[email protected]> <005f01cab71b$b7eb1f80$27c15e80$@com> <[email protected]> <[email protected]> <[email protected]> <004401cab735$ed722170$c8566450$@com> <009101cab73a$16dba500$4492ef00$@com> <007e01cab741$065b3b80$1311b280$@com> <002301cab784$f63401d0$e29c0570$@com> In-Reply-To: <002301cab784$f63401d0$e29c0570$@com> Subject: RE: Lucene index file container Date: Sat, 27 Feb 2010 04:21:30 -0500 Message-ID: <00bb01cab78e$3f9d6880$bed83980$@com> X-Mailer: Microsoft Office Outlook 12.0 MIME-Version: 1.0 Thread-Index: Acq3MQbezSbEC2ciSSeG3IXIO82TawAAvssAAAFCDCAAAaM2QAAQnApgAALOTEA= Content-Language: en-us Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_00B7_01CAB764.56397860" X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_00B7_01CAB764.56397860 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Digy, Yes, at least with DeflateStream and GZipStream, you would have to close the stream, open it again, and then read forward to the = appropriate place in the uncompressed stream, incurring the overhead I made = reference to in previous emails. None of the other libraries that I've seen offer a seekable zip stream. I've also pointed out the IMO wasted overhead in zipping/unzipping indexes when space isn't a concern, given that the index is going to be accessed on a read/write basis more than you are going to have to zip it = for transport at any particular time. To that end, Andrew doesn't have an option, as it's not really worth it to go through the motions of trying to write a seekable zip stream implementation (by his own admission, he doesn't have space concerns). What I haven't seen is any reaction to the obvious solution in the event that space *is* an issue, just setting the compression flag on the folder the indexes are kept in. That will compress the files on disk, = and all the APIs remain intact. It's an instant win. - Nick =09 -----Original Message----- From: Digy [mailto:[email protected]]=20 Sent: Saturday, February 27, 2010 3:15 AM To: [email protected] Subject: RE: Lucene index file container Hi Nick, > "If the libraries are offering you a read/write stream which is = seekable," As I mentioned in my first mail, that is the problem. They are not = seekable. You have to uncompress 900M data to reach to offset 900M.=20 So, To avoid to read "0 to offset" whenever a seek request is made, you have to unzip whole file at the beginning, and use that in your app. = But this is not what I understand from Andrew's statement=20 "Does any one have experience running an index directly out of zip = file?" DIGY -----Original Message----- From: Nicholas Paldino [.NET/C# MVP] [mailto:[email protected]] = Sent: Saturday, February 27, 2010 2:09 AM To: [email protected] Subject: RE: Lucene index file container Digy, You are *always* going to incur the CPU cost because in order to get to an offset in the ^uncompressed^ file, you have to process the 100MB = file and translate it into the 1GB file. That cost is always incurred no = matter what. Now, what you do with that 1GB and what the libraries do and how they expose it is implementation-dependent. If the libraries just stream the uncompressed data back to you in a forward-only, read-only way, then it's up to the library consumer to = take care of that in some way. This usually means keeping it in memory (in = which case, you have to worry about excessive memory consumption) or writing = it to disk (in which case, you incur I/O costs). If the libraries are offering you a read/write stream which is seekable, then it becomes completely implementation-dependent. It might very well use temp files, which incur I/O costs, or place data in memory = (or memory mapped files), which incurs a memory (and possibly I/O) cost. I don't have details about the specific libraries, but that's generally = what you are looking at in terms of strategies for providing this kind of functionality. - Nick -----Original Message----- From: Digy [mailto:[email protected]]=20 Sent: Friday, February 26, 2010 6:19 PM To: [email protected] Subject: RE: Lucene index file container Hi Nick, Suppose that I have 1G file with a compressed size of 100M and I want to read just a 4K block from offset 900M. Considering the SharpZip Lib,DotNetZip or similars , would be the cost = more CPU and less IO? Or more CPU more IO? DIGY -----Original Message----- From: Nicholas Paldino [.NET/C# MVP] [mailto:[email protected]] = Sent: Saturday, February 27, 2010 12:49 AM To: [email protected] Subject: RE: Lucene index file container Andrew, If you are going to unpack the index into a temp directory and then repack the file when you are done, then you are going to instantiate a = cost on startup and on teardown of the process which is mainly I/O and CPU = bound (I/O because you have to read the zip file from disk and then write the unpacked file from the zip to another location, and CPU bound because = you are translating the byte stream while unpacking). That approach doesn't do anything but add that additional I/O and CPU overhead on startup. The "big win" for compressing the file is to = save space on disk, or whatever medium the byte stream is being persisted to. If all you do is unzip the file in the beginning and zip it up at the end, then from your app's point of view, you do a lot of extra work = for nothing. Unless you have real disk space issues, I'd recommend against this. Now, if you were to create a new Directory class which uses a GZipStream or DeflateStream as a fa=E7ade over the FileStream which = writes to disk, then you are reaping the benefits of compressing the file. The = index will always be compressed on disk and you are realizing the gains. The cost of doing this, however, is more CPU time (to perform the translation) but with a gain on less I/O operations to disk (since there = are less bytes that are being written to disk). Depending on how much activity you have on reading/writing to/from the index it might or might not make an impact. You have to measure = that yourself given your applications use of the index. If file size is ^truly^ a concern, have you considered just setting the compression flag on the *folder* that contains the index files? Any files that are added/updated/deleted will automatically be compressed if = the flag is set on the folder, so doing it in code is busywork when the OS automatically provides it for you (assuming you are on Windows, which is = a safe bet given you are running .NET, but not absolute, of course). - Nick -----Original Message----- From: Andrew Schuler [mailto:[email protected]]=20 Sent: Friday, February 26, 2010 4:48 PM To: [email protected] Subject: Re: Lucene index file container Thanks for both answers on this. I considered a zip file but was unsure of the associated overhead of unpacking file. Does any one have experience running an index directly = out of zip file? Are my worries unfounded? I was just trying to leverage the experience = of the group, but otherwise I'll just have to run some tests on my own. On Fri, Feb 26, 2010 at 11:55 AM, Nicholas Petersen <[email protected]>wrote: > <Can anyone recommend a way to package the index into say some type of file > container> > > If I understand correctly, it sounds like your asking for a text-book > implementation of an archiver, like a zip file. If so, DotNetZip is a > solid > product, very easy to use, very fast. Highly recommended. > http://www.codeplex.com/DotNetZip. > > Best, > Nick > > > > On Fri, Feb 26, 2010 at 2:47 PM, Andrew Schuler = <[email protected] > >wrote: > > > Yes, that is do-able. I was just thinking it would be cleaner to = wrap the > > indexes (there will be more than one) in some sort of file = container. One > > of > > the things I'd like to do it be able to allow the user to download > > pre-packaged indexes and load them into the app. This would be easy = with > a > > file than a directory of files no? > > > > > > On Fri, Feb 26, 2010 at 11:41 AM, Hans Merkl <[email protected]> wrote: > > > > > Can't you add all the files in the index directory to the = installer > > > package? > > > This should be pretty straightforward. > > > > > > -----Original Message----- > > > From: Andrew Schuler [mailto:[email protected]] > > > Sent: Friday, February 26, 2010 12:16 PM > > > To: [email protected] > > > Subject: Lucene index file container > > > > > > The discussion about encrypting an index has me thinking about a > current > > > use > > > I have for Lucene.net. I'm building a small app with a static = index > > > distributed with it. Can anyone recommend a way to package the = index > into > > > say some type of file container for inclusion in an installer = package? > > > > > > -andy > > > > > > > > > > > > ------=_NextPart_000_00B7_01CAB764.56397860 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIL/DCCAj0w ggGmAhEAzbp/VvDf5LxU/iKss3KqVTANBgkqhkiG9w0BAQIFADBfMQswCQYDVQQGEwJVUzEXMBUG A1UEChMOVmVyaVNpZ24sIEluYy4xNzA1BgNVBAsTLkNsYXNzIDEgUHVibGljIFByaW1hcnkgQ2Vy dGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNOTYwMTI5MDAwMDAwWhcNMjgwODAxMjM1OTU5WjBfMQsw CQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xNzA1BgNVBAsTLkNsYXNzIDEgUHVi bGljIFByaW1hcnkgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwgZ8wDQYJKoZIhvcNAQEBBQADgY0A MIGJAoGBAOUZv22jVmEtmUhx9mfeuY3rt56GgAqRDvo4Ja9GiILlc6igmyRdDR/MZW4MsNBWhBiH mgabEKFz37RYOWtuwfYV1aioP6oSBo0xrH+wNNePNGeICc0UEeJORVZpH3gCgNrcR5EpuzbJY1zF 4Ncth3uhtzKwezC6Ki8xqu6jZ9rbAgMBAAEwDQYJKoZIhvcNAQECBQADgYEATD+4i8Zo3+5DMw5d 6abLB4RNejP/khv0Nq3YlSI2aBFsfELM85wuxAc/FLAPT/+Qknb54rxK6Y/NoIAK98Up8YIiXbix 3YEjo3slFUYweRb46gVLlH8dwhzI47f0EEA8E8NfH1PoSOSGtHuhNbB7Jbq4046rPzidADQAmPPR cZQwggTMMIIENaADAgECAhAcrp1rmvTmLyKKo9p0YWweMA0GCSqGSIb3DQEBBQUAMF8xCzAJBgNV BAYTAlVTMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjE3MDUGA1UECxMuQ2xhc3MgMSBQdWJsaWMg UHJpbWFyeSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wNTEwMjgwMDAwMDBaFw0xNTEwMjcy MzU5NTlaMIHdMQswCQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsT FlZlcmlTaWduIFRydXN0IE5ldHdvcmsxOzA5BgNVBAsTMlRlcm1zIG9mIHVzZSBhdCBodHRwczov L3d3dy52ZXJpc2lnbi5jb20vcnBhIChjKTA1MR4wHAYDVQQLExVQZXJzb25hIE5vdCBWYWxpZGF0 ZWQxNzA1BgNVBAMTLlZlcmlTaWduIENsYXNzIDEgSW5kaXZpZHVhbCBTdWJzY3JpYmVyIENBIC0g RzIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ36zn6vj4AxTEAJLVwX42wjzvfHIV y8CrjD0clc5vHhAsPwDtlybmtsfmrUMdP6SHR0dMPlT4bPjH/LGevTBwvJexAwXqlfGtQMVEeksF ovJg/Nc6ZWLv/xB7ola7xU5wLdaiHzztsELoXo1XIaymmdkR6dIaB8B0R0IL/MU06v3muiTRHQgV N6LXc88BQS9jsjo/vqUabvTJSls9laYVuzUCGfnU77yPDnF2WbtLtj7W/FoW9NYOifJJ/mwM7RXp 2Yh1nHnOYCfdua11zi9zlXpAOoV1SbC432i8q80TgoURUKPgPAuuwApTzdcwb4UyRhvkSRDCbOKv H3n/27S1AgMBAAGjggGEMIIBgDASBgNVHRMBAf8ECDAGAQH/AgEAMEQGA1UdIAQ9MDswOQYLYIZI AYb4RQEHFwEwKjAoBggrBgEFBQcCARYcaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL3JwYTALBgNV HQ8EBAMCAQYwEQYJYIZIAYb4QgEBBAQDAgEGMC4GA1UdEQQnMCWkIzAhMR8wHQYDVQQDExZQcml2 YXRlTGFiZWwzLTIwNDgtMTU1MB0GA1UdDgQWBBQRfV4ZfTwE32ps1qKKGj8x2DuUUjAxBgNVHR8E KjAoMCagJKAihiBodHRwOi8vY3JsLnZlcmlzaWduLmNvbS9wY2ExLmNybDCBgQYDVR0jBHoweKFj pGEwXzELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFz cyAxIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5ghEAzbp/VvDf5LxU/iKs s3KqVTANBgkqhkiG9w0BAQUFAAOBgQCxL9mW4ZKi7oFg5cgqIPvhZyzWAJhTowIb6ZBL+BhEnw9G 9/qg/tMdGKPSvxzs1hmfSk1D+Mq7vhOASQXdIXMzV8JCWr76AJOy5gQxkU5dPPBzBTdj67+DWZj9 Zt7phjKakik8Oq5U2qYSUbGPyMrTR3jm26Uehwbj0RTAwiH2ujCCBOcwggPPoAMCAQICEBIaCgrq 9MtzWjD1OhWrYCowDQYJKoZIhvcNAQEFBQAwgd0xCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJp U2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29yazE7MDkGA1UECxMyVGVy bXMgb2YgdXNlIGF0IGh0dHBzOi8vd3d3LnZlcmlzaWduLmNvbS9ycGEgKGMpMDUxHjAcBgNVBAsT FVBlcnNvbmEgTm90IFZhbGlkYXRlZDE3MDUGA1UEAxMuVmVyaVNpZ24gQ2xhc3MgMSBJbmRpdmlk dWFsIFN1YnNjcmliZXIgQ0EgLSBHMjAeFw0xMDAxMDUwMDAwMDBaFw0xMTAxMDUyMzU5NTlaMIIB HjEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRydXN0IE5ldHdv cmsxRjBEBgNVBAsTPXd3dy52ZXJpc2lnbi5jb20vcmVwb3NpdG9yeS9SUEEgSW5jb3JwLiBieSBS ZWYuLExJQUIuTFREKGMpOTgxHjAcBgNVBAsTFVBlcnNvbmEgTm90IFZhbGlkYXRlZDE0MDIGA1UE CxMrRGlnaXRhbCBJRCBDbGFzcyAxIC0gTWljcm9zb2Z0IEZ1bGwgU2VydmljZTEZMBcGA1UEAxQQ TmljaG9sYXMgUGFsZGlubzEpMCcGCSqGSIb3DQEJARYaY2FzcGVyb25lQGNhc3BlcnNob3VzZS5j b20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALF1zj8VgVfT2S8U5JrrikyFvRwYzUvjHgDp QQz/yonz/U40Hv27dRafbwpE74M7MxXB+6CrEue8bF/+/+OHqlbfUkbkC/mKvetPMGkFJJPIK+vo Olkr0iCQqN95YdhGwX2dHaQmt3Ak8tImt7TWStlgzUmdiAwX2eqQe4NPRKgxAgMBAAGjgeIwgd8w CQYDVR0TBAIwADBEBgNVHSAEPTA7MDkGC2CGSAGG+EUBBxcBMCowKAYIKwYBBQUHAgEWHGh0dHBz Oi8vd3d3LnZlcmlzaWduLmNvbS9ycGEwCwYDVR0PBAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwME BggrBgEFBQcDAjAUBgpghkgBhvhFAQYHBAYWBE5vbmUwSgYDVR0fBEMwQTA/oD2gO4Y5aHR0cDov L0luZEMxRGlnaXRhbElELWNybC52ZXJpc2lnbi5jb20vSW5kQzFEaWdpdGFsSUQuY3JsMA0GCSqG SIb3DQEBBQUAA4IBAQCqB4LXJcG434cY+64lL0vW+PTGk8HEDn5iBGkFxo1gHWstAX5wMND/BIKY uLJgLqcMmV9eeSeXKiMoeHS/54wHfQ/jwIqQEvgpMX7RicaARYKJWo/MacpXWPyxc0QJWkHqdD+D +OzxXETaHxCs1YDoNppjByumBFzGJYu4SOZJYJETx1I/zpMkJThNFjQ2TKgSKxmBX8STPtto0+hj YgzXipPZSkR0PJy3Ah6acxqiB3LeCQhlefzy4hE5Hf5WrCYYgZ4irDhTXrrpCRqPm2fjlRQmaz1K 5cUdNJY9N6xvMYz8HHxYxqpByVm22fMMCtsIj/OSgX7dZCmSNfbaYD7FMYIExDCCBMACAQEwgfIw gd0xCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNp Z24gVHJ1c3QgTmV0d29yazE7MDkGA1UECxMyVGVybXMgb2YgdXNlIGF0IGh0dHBzOi8vd3d3LnZl cmlzaWduLmNvbS9ycGEgKGMpMDUxHjAcBgNVBAsTFVBlcnNvbmEgTm90IFZhbGlkYXRlZDE3MDUG A1UEAxMuVmVyaVNpZ24gQ2xhc3MgMSBJbmRpdmlkdWFsIFN1YnNjcmliZXIgQ0EgLSBHMgIQEhoK Cur0y3NaMPU6FatgKjAJBgUrDgMCGgUAoIIDJzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwG CSqGSIb3DQEJBTEPFw0xMDAyMjcwOTIxMzBaMCMGCSqGSIb3DQEJBDEWBBTCCx1MFM4y10vsP7gZ T3ys8C2ksjCBtwYJKoZIhvcNAQkPMYGpMIGmMAsGCWCGSAFlAwQBKjALBglghkgBZQMEARYwCgYI KoZIhvcNAwcwCwYJYIZIAWUDBAECMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG9w0DAgIBQDAHBgUr DgMCBzANBggqhkiG9w0DAgIBKDAHBgUrDgMCGjALBglghkgBZQMEAgMwCwYJYIZIAWUDBAICMAsG CWCGSAFlAwQCATAKBggqhkiG9w0CBTCCAQMGCSsGAQQBgjcQBDGB9TCB8jCB3TELMAkGA1UEBhMC VVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJpU2lnbiBUcnVzdCBOZXR3 b3JrMTswOQYDVQQLEzJUZXJtcyBvZiB1c2UgYXQgaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL3Jw YSAoYykwNTEeMBwGA1UECxMVUGVyc29uYSBOb3QgVmFsaWRhdGVkMTcwNQYDVQQDEy5WZXJpU2ln biBDbGFzcyAxIEluZGl2aWR1YWwgU3Vic2NyaWJlciBDQSAtIEcyAhASGgoK6vTLc1ow9ToVq2Aq MIIBBQYLKoZIhvcNAQkQAgsxgfWggfIwgd0xCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJpU2ln biwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29yazE7MDkGA1UECxMyVGVybXMg b2YgdXNlIGF0IGh0dHBzOi8vd3d3LnZlcmlzaWduLmNvbS9ycGEgKGMpMDUxHjAcBgNVBAsTFVBl cnNvbmEgTm90IFZhbGlkYXRlZDE3MDUGA1UEAxMuVmVyaVNpZ24gQ2xhc3MgMSBJbmRpdmlkdWFs IFN1YnNjcmliZXIgQ0EgLSBHMgIQEhoKCur0y3NaMPU6FatgKjANBgkqhkiG9w0BAQEFAASBgCrg XFSQdplvQL4+g5NQqyFCTz0qS5zcdiVWckIzEe4vj4rpFByCRmjQaBGHZBnYAtiZcHZ1rBpQ4RLM 4vXPlGwWXii8rolv48flJCgixqq2Qv0d5tcg2RaFhMO+gz+NqHWbLbSCeJ+6IY3gEFJLbWliaj+W b1CWmgg+6CgOT0X2AAAAAAAA ------=_NextPart_000_00B7_01CAB764.56397860-- From [email protected] Sat Feb 27 10:48:15 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22852 invoked from network); 27 Feb 2010 10:48:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2010 10:48:15 -0000 Received: (qmail 4192 invoked by uid 500); 27 Feb 2010 10:48:14 -0000 Delivered-To: [email protected] Received: (qmail 4163 invoked by uid 500); 27 Feb 2010 10:48:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4155 invoked by uid 99); 27 Feb 2010 10:48:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Feb 2010 10:48:14 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ey-out-2122.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Feb 2010 10:48:05 +0000 Received: by ey-out-2122.google.com with SMTP id 9so266261eyd.3 for <[email protected]>; Sat, 27 Feb 2010 02:47:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:references :in-reply-to:subject:date:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:thread-index:content-language; bh=90K32O1UPXfx5YgDyW6UT4eMWAzXe6yuYAbe0pO887w=; b=Kg8PMXFs88yvU2YMOUf+Jmt4Y3ICNpzhSKHiE+Pm3aT7TZfIgrj6r/v7Oy3DCc0mF0 UGLUlZgvi47oKWE89a5rpEBg7NFvaABgvjPxppQ+kGr8ztUC0/GRw8w0AEOr0N3fLtyw oECODmTARen8C58BUkGwSM5sWK9AgcYg9+CTk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:content-transfer-encoding:x-mailer:thread-index :content-language; b=n7UlP77YeiwhXGYCkuYDG3RsInft9yXpEZbHbYrpYZOoPpj3BMp3Su4Jq5cGdVK7e0 9FNd/5cyeRNXn/+INEWr/++FORtmp2JL7tj67Dgw0r37UclqAWHeV7IzIVOHrCE88DN1 Ibyc2CJ0ulgFT7d8HZrVD/svklpIHlWmjx5Ao= Received: by 161.129.204.104 with SMTP id i10mr803281ebo.97.1267267665047; Sat, 27 Feb 2010 02:47:45 -0800 (PST) Received: from NEWPC ([161.129.204.104]) by mx.google.com with ESMTPS id 13sm606627ewy.1.2161.129.204.104.47.43 (version=SSLv3 cipher=RC4-MD5); Sat, 27 Feb 2010 02:47:44 -0800 (PST) From: "Digy" <[email protected]> To: <[email protected]> References: <[email protected]> <005f01cab71b$b7eb1f80$27c15e80$@com> <[email protected]> In-Reply-To: <[email protected]> Subject: RE: Lucene index file container Date: Sat, 27 Feb 2010 12:47:27 +0200 Message-ID: <003d01cab79a$425c6b00$c7154100$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acq3HJiP1QA0S40lTXudTpn55YXLTwAfIn4Q Content-Language: tr X-Virus-Checked: Checked by ClamAV on apache.org Hi Andrew, I think you are looking for a library like SolFS. But it is not free. If you decide to use such a library then you have to implement also Lucene's Directory class to make the FS structure transparent to lucene. You can also use the source of RAMDirectory as a sample to develop your own storage on disk. DIGY -----Original Message----- From: Andrew Schuler [mailto:[email protected]] Sent: Friday, February 26, 2010 9:47 PM To: [email protected] Subject: Re: Lucene index file container Yes, that is do-able. I was just thinking it would be cleaner to wrap the indexes (there will be more than one) in some sort of file container. One of the things I'd like to do it be able to allow the user to download pre-packaged indexes and load them into the app. This would be easy with a file than a directory of files no? On Fri, Feb 26, 2010 at 11:41 AM, Hans Merkl <[email protected]> wrote: > Can't you add all the files in the index directory to the installer > package? > This should be pretty straightforward. > > -----Original Message----- > From: Andrew Schuler [mailto:[email protected]] > Sent: Friday, February 26, 2010 12:16 PM > To: [email protected] > Subject: Lucene index file container > > The discussion about encrypting an index has me thinking about a current > use > I have for Lucene.net. I'm building a small app with a static index > distributed with it. Can anyone recommend a way to package the index into > say some type of file container for inclusion in an installer package? > > -andy > > > From [email protected] Sat Feb 27 15:28:07 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13221 invoked from network); 27 Feb 2010 15:28:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2010 15:28:07 -0000 Received: (qmail 13527 invoked by uid 500); 27 Feb 2010 15:28:06 -0000 Delivered-To: [email protected] Received: (qmail 13503 invoked by uid 500); 27 Feb 2010 15:28:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13490 invoked by uid 99); 27 Feb 2010 15:28:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Feb 2010 15:28:06 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f217.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Feb 2010 15:27:58 +0000 Received: by bwz9 with SMTP id 9so685802bwz.5 for <[email protected]>; Sat, 27 Feb 2010 07:27:38 -0800 (PST) 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=GFhXclxqo3KWZh9evWBP4VFfQbwoeN4F8lGjxLSXSTk=; b=If7cHtZdrsqa6oNXq1eJjRY0ZfwqsYQadbTOW1bFXhB2XvFzmXOx50A/lX8dGQktL3 q8bt0tmmDGHfnz2xE97zeFwIv3qgtTodqiLdy+lmdoXDbpPxy3+9Lcx71PBZ+3ohYveF eUAYbYl5xRXh2SciO5YXdBHw6e8YPJ/XgQrLY= 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=MhdGzoXmEXTov/Qa8V+k+sKULrmWFvIeTTkA4dHFTRm2d8OVMJF/QsnAJ+4lUhcT6E 57e3QjBDQnvnluF9sMzv8c7mhW0K7tt4KyMBKZzRezlhP/P3vqnrxc9JKiSC6ETncQde l10lFuCcjZ61kvHTEN22pzA1GMuaLmz8Cabh4= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id a11mr1350928bka.33.1267284458155; Sat, 27 Feb 2010 07:27:38 -0800 (PST) In-Reply-To: <003d01cab79a$425c6b00$c7154100$@com> References: <[email protected]> <005f01cab71b$b7eb1f80$27c15e80$@com> <[email protected]> <003d01cab79a$425c6b00$c7154100$@com> Date: Sat, 27 Feb 2010 07:27:38 -0800 Message-ID: <[email protected]> Subject: Re: Lucene index file container From: Andrew Schuler <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0015175884b6f52d83048096a79b X-Virus-Checked: Checked by ClamAV on apache.org --0015175884b6f52d83048096a79b Content-Type: text/plain; charset=ISO-8859-1 SoIFS looks very interesting, I'll have to investigate further. Thanks everyone for your comments, this has been an interesting discussion. At least it has shown me that I'm not overlooking something obvious. -andy On Sat, Feb 27, 2010 at 2:47 AM, Digy <[email protected]> wrote: > Hi Andrew, > I think you are looking for a library like SolFS. But it is not free. If > you > decide to use such a library then you have to implement also Lucene's > Directory class to make the FS structure transparent to lucene. > > You can also use the source of RAMDirectory as a sample to develop your own > storage on disk. > > DIGY > > > -----Original Message----- > From: Andrew Schuler [mailto:[email protected]] > Sent: Friday, February 26, 2010 9:47 PM > To: [email protected] > Subject: Re: Lucene index file container > > Yes, that is do-able. I was just thinking it would be cleaner to wrap the > indexes (there will be more than one) in some sort of file container. One > of > the things I'd like to do it be able to allow the user to download > pre-packaged indexes and load them into the app. This would be easy with a > file than a directory of files no? > > > On Fri, Feb 26, 2010 at 11:41 AM, Hans Merkl <[email protected]> wrote: > > > Can't you add all the files in the index directory to the installer > > package? > > This should be pretty straightforward. > > > > -----Original Message----- > > From: Andrew Schuler [mailto:[email protected]] > > Sent: Friday, February 26, 2010 12:16 PM > > To: [email protected] > > Subject: Lucene index file container > > > > The discussion about encrypting an index has me thinking about a current > > use > > I have for Lucene.net. I'm building a small app with a static index > > distributed with it. Can anyone recommend a way to package the index into > > say some type of file container for inclusion in an installer package? > > > > -andy > > > > > > > > --0015175884b6f52d83048096a79b-- From [email protected] Sat Feb 27 16:51:03 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30170 invoked from network); 27 Feb 2010 16:51:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2010 16:51:03 -0000 Received: (qmail 70507 invoked by uid 500); 27 Feb 2010 16:51:03 -0000 Delivered-To: [email protected] Received: (qmail 70486 invoked by uid 500); 27 Feb 2010 16:51:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 70468 invoked by uid 99); 27 Feb 2010 16:51:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Feb 2010 16:51:03 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO rhmware.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 27 Feb 2010 16:50:52 +0000 Received: from HansLaptop ([161.129.204.104]) by rhmware.com ; Sat, 27 Feb 2010 11:50:37 -0500 From: "Hans Merkl" <[email protected]> To: <[email protected]> References: <[email protected]> <005f01cab71b$b7eb1f80$27c15e80$@com> <[email protected]> <[email protected]> <[email protected]> <004401cab735$ed722170$c8566450$@com> <[email protected]> <001201cab73b$70fc0b00$52f42100$@com> <007801cab740$c979e7c0$5c6db740$@com> In-Reply-To: <007801cab740$c979e7c0$5c6db740$@com> Subject: RE: Lucene index file container Date: Sat, 27 Feb 2010 11:50:33 -0500 Message-ID: <001401cab7cc$fabb7100$f0325300$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acq3OgMDeG4ktezcSz2TKWi30hz+IwAAUfWQAAFJe0AAIvFu0A== Content-Language: en-us X-Virus-Checked: Checked by ClamAV on apache.org Nick, No problem. I didn't take the time to b a bit clearer. I didn't mean to recompress the file. My understanding is that=20 - He has to download new indices - File size is not a concern Based on that I would recommend to zip each index into a file, download, uncompress, store the index somewhere and use the uncompressed index. The other proposed solutions like having a compressed stream (I think = this will be very slow) or using SolFS (have you seen the price list?) sound technically interesting but they seem way to complex for the task he = wants to accomplish.=20 Maybe I am missing something? Hans -----Original Message----- From: Nicholas Paldino [.NET/C# MVP] [mailto:[email protected]] = Sent: Friday, February 26, 2010 7:07 PM To: [email protected] Subject: RE: Lucene index file container Hans, With all due respect, that's an unqualified statement. What is the gain in unzipping the file and rezipping it if file size is not a = concern? All you do is incur CPU time and I/O costs in doing so with no gains whatsoever. Again, if you have a need to transport the index, then you should perform the act of placing it in a container outside the scope of your application, as you are more than likely going to transport the index = less than you are actually going to *use* the index. - Nick -----Original Message----- From: Hans Merkl [mailto:[email protected]]=20 Sent: Friday, February 26, 2010 6:29 PM To: [email protected] Subject: RE: Lucene index file container Then just unzip the index after downloading and store it in the = application directory. That's the best approach IMO. -----Original Message----- From: Andrew Schuler [mailto:[email protected]]=20 Sent: Friday, February 26, 2010 6:18 PM To: [email protected] Subject: Re: Lucene index file container Thanks for all the comments. For what's it worth, for what I'm doing file size is not a concern. = Index performance is paramount. The index will be static, no adding or = deleting, its read only. On Fri, Feb 26, 2010 at 2:49 PM, Nicholas Paldino [.NET/C# MVP] < [email protected]> wrote: > Andrew, > > If you are going to unpack the index into a temp directory and = then > repack the file when you are done, then you are going to instantiate a cost > on startup and on teardown of the process which is mainly I/O and CPU bound > (I/O because you have to read the zip file from disk and then write = the > unpacked file from the zip to another location, and CPU bound because = you > are translating the byte stream while unpacking). > > That approach doesn't do anything but add that additional I/O = and > CPU overhead on startup. The "big win" for compressing the file is to save > space on disk, or whatever medium the byte stream is being persisted = to. > > If all you do is unzip the file in the beginning and zip it up = at > the end, then from your app's point of view, you do a lot of extra = work for > nothing. Unless you have real disk space issues, I'd recommend = against > this. > > Now, if you were to create a new Directory class which uses a > GZipStream or DeflateStream as a fa=E7ade over the FileStream which = writes to > disk, then you are reaping the benefits of compressing the file. The index > will always be compressed on disk and you are realizing the gains. > > The cost of doing this, however, is more CPU time (to perform = the > translation) but with a gain on less I/O operations to disk (since = there > are > less bytes that are being written to disk). > > Depending on how much activity you have on reading/writing = to/from > the index it might or might not make an impact. You have to measure = that > yourself given your applications use of the index. > > If file size is ^truly^ a concern, have you considered just = setting > the compression flag on the *folder* that contains the index files? = Any > files that are added/updated/deleted will automatically be compressed = if > the > flag is set on the folder, so doing it in code is busywork when the OS > automatically provides it for you (assuming you are on Windows, which = is a > safe bet given you are running .NET, but not absolute, of course). > > - Nick > > -----Original Message----- > From: Andrew Schuler [mailto:[email protected]] > Sent: Friday, February 26, 2010 4:48 PM > To: [email protected] > Subject: Re: Lucene index file container > > Thanks for both answers on this. > I considered a zip file but was unsure of the associated overhead of > unpacking file. Does any one have experience running an index directly = out > of zip file? > Are my worries unfounded? I was just trying to leverage the experience = of > the group, but otherwise I'll just have to run some tests on my own. > > > > On Fri, Feb 26, 2010 at 11:55 AM, Nicholas Petersen > <[email protected]>wrote: > > > <Can anyone recommend a way to package the index into say some type = of > file > > container> > > > > If I understand correctly, it sounds like your asking for a = text-book > > implementation of an archiver, like a zip file. If so, DotNetZip is = a > > solid > > product, very easy to use, very fast. Highly recommended. > > http://www.codeplex.com/DotNetZip. > > > > Best, > > Nick > > > > > > > > On Fri, Feb 26, 2010 at 2:47 PM, Andrew Schuler < > [email protected] > > >wrote: > > > > > Yes, that is do-able. I was just thinking it would be cleaner to = wrap > the > > > indexes (there will be more than one) in some sort of file = container. > One > > > of > > > the things I'd like to do it be able to allow the user to download > > > pre-packaged indexes and load them into the app. This would be = easy > with > > a > > > file than a directory of files no? > > > > > > > > > On Fri, Feb 26, 2010 at 11:41 AM, Hans Merkl <[email protected]> = wrote: > > > > > > > Can't you add all the files in the index directory to the = installer > > > > package? > > > > This should be pretty straightforward. > > > > > > > > -----Original Message----- > > > > From: Andrew Schuler [mailto:[email protected]] > > > > Sent: Friday, February 26, 2010 12:16 PM > > > > To: [email protected] > > > > Subject: Lucene index file container > > > > > > > > The discussion about encrypting an index has me thinking about a > > current > > > > use > > > > I have for Lucene.net. I'm building a small app with a static = index > > > > distributed with it. Can anyone recommend a way to package the = index > > into > > > > say some type of file container for inclusion in an installer > package? > > > > > > > > -andy > > > > > > > > > > > > > > > > > > From [email protected] Sat Feb 27 18:26:31 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66320 invoked from network); 27 Feb 2010 18:26:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2010 18:26:31 -0000 Received: (qmail 58120 invoked by uid 500); 27 Feb 2010 18:26:31 -0000 Delivered-To: [email protected] Received: (qmail 58095 invoked by uid 500); 27 Feb 2010 18:26:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58087 invoked by uid 99); 27 Feb 2010 18:26:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Feb 2010 18:26:31 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO VA3EHSOBE006.bigfish.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Feb 2010 18:26:21 +0000 Received: from mail66-va3-R.bigfish.com (161.129.204.104) by VA3EHSOBE006.bigfish.com (161.129.204.104) with Microsoft SMTP Server id 161.129.204.104; Sat, 27 Feb 2010 18:25:58 +0000 Received: from mail66-va3 (localhost [161.129.204.104]) by mail66-va3-R.bigfish.com (Postfix) with ESMTP id 7F68C2F86D8 for <[email protected]>; Sat, 27 Feb 2010 18:25:58 +0000 (UTC) X-SpamScore: -42 X-BigFish: VPS-42(zz542N1432R98dN936eM1443Na2dbK9371Pzz1202hzzz31j2a8h6bh43h61h) X-Spam-TCS-SCL: 0:0 Received: from mail66-va3 (localhost.localdomain [161.129.204.104]) by mail66-va3 (MessageSwitch) id 1267295157454342_6372; Sat, 27 Feb 2010 18:25:57 +0000 (UTC) Received: from VA3EHSMHS023.bigfish.com (unknown [161.129.204.104]) by mail66-va3.bigfish.com (Postfix) with ESMTP id 69E67A7000E for <[email protected]>; Sat, 27 Feb 2010 18:25:57 +0000 (UTC) Received: from FEGCNMSMMDZ03 (161.129.204.104) by VA3EHSMHS023.bigfish.com (161.129.204.104) with Microsoft SMTP Server (TLS) id 14.0.482.39; Sat, 27 Feb 2010 18:25:56 +0000 Received: from ffeplmsexbh04.ffe.foxeg.com (Not Verified[161.129.204.104]) by FOX.COM (post.office MTA v5.0 0924 ) with ESMTP id <B4b8963a50000>; Sat, 27 Feb 2010 10:25:41 -0800 Received: from fegplmsexmb14.ffe.foxeg.com ([161.129.204.104]) by ffeplmsexbh04.ffe.foxeg.com with Microsoft SMTPSVC+1-778-747-0316); Sat, 27 Feb 2010 10:25:55 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CAB7DA.4CB48BA9" Subject: RE: Retrieving Attributes Date: Sat, 27 Feb 2010 10:25:55 -0800 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Retrieving Attributes Thread-Index: Acq3el36uCZxbo7TSdy1UiOvsP9hvAAXq1xJ References: <[email protected]><[email protected]> <[email protected]> From: Michael Garski <[email protected]> To: "lucene-net-user" <[email protected]> X-OriginalArrivalTime: 27 Feb 2010 18:25:55.0098 (UTC) FILETIME=[4CB22FA0:01CAB7DA] X-Reverse-DNS: unknown X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01CAB7DA.4CB48BA9 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Andy, I moved this thread to the user mailing list as it applies to the use = rather than development of Lucene.Net. There is no direct way to access the attributes after indexing, however = the use of payloads may fit your needs. I don't believe the value of the TypeAttribute is encoded in the index = in any way, but is intended to be consumed by other TokenFilters in the = analysis chain. You can create a PayloadAttribute in your tokenizer = that encodes the value of the TypeAttribute for a give Token, then using = a PayloadQuery at search time you can customize your scoring based on = the payload values. In this way you could score matches on 'tags' = different from matches on 'words'. Is that along the lines of what you are looking for? Michael -----Original Message----- From: Andy Pook [mailto:[email protected]] Sent: Fri 2/26/2010 10:58 PM To: [email protected] Subject: Re: Retrieving Attributes =20 I'd like to be able to access the collection/stream of Attributes in a Field _after_ I've done a search. The result of a search is a collection of Documents. A Document has Fields. But I cannot see a simple way of getting at the Attributes of each Field. For example: The TypeAttribute has a default value of "word". We have a custom Tokenizer that adds extra "tokens" with the TypeAttribute set to "tag". After a search is done, I'd like to be able to iterate over the "tokens" in this field and do something with the "tag"s and ignore the "word"s. I hope this is more coherent :) Thanks. On 26 February 2010 18:40, Michael Garski <[email protected]> = wrote: > Andy, > > Can you give a bit more information on what you are looking to do? = =A0I > don't quite understand what you are looking to do. > > Michael > > -----Original Message----- > From: Andy Pook [mailto:[email protected]] > Sent: Friday, February 26, 2010 10:37 AM > To: [email protected] > Subject: Retrieving Attributes > > Attributes are a great thing from the indexing side of things. What > I'd really like to be able to do is find a document. Then be able to > retrieve the attributes for each field. > We are considering storing some custom attributes against some of the > "tokens" in a field. But we would like to be able to effectively > reconstitute the TokenStream for a field. > > Is that possible? I can't see anything simple that gives access to > attributes on a per field basis. Any clues? > > Thanks in advance, > > > =20 ------_=_NextPart_001_01CAB7DA.4CB48BA9--
From [email protected] Sat Oct 02 14:43:20 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20692 invoked from network); 2 Oct 2010 14:43:19 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Oct 2010 14:43:19 -0000 Received: (qmail 57766 invoked by uid 500); 2 Oct 2010 14:43:19 -0000 Delivered-To: [email protected] Received: (qmail 57716 invoked by uid 500); 2 Oct 2010 14:43:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.openwebbeans.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 57708 invoked by uid 99); 2 Oct 2010 14:43:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Oct 2010 14:43:16 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-gx0-f178.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Oct 2010 14:43:10 +0000 Received: by gxk23 with SMTP id 23so1367614gxk.9 for <[email protected]>; Sat, 02 Oct 2010 07:42:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=tnCHMD2hKxLWS8ZN7fTP0EqLZrWIcAtsKqRc7o761ao=; b=wgRwwUYsYPBelxHogpqrUn5WAAzpNU3fLHXaOZ8CaoYUcrU2xEBiELuWl1/O61D7Xy MqY6i/4eXnLykcwjsxEuIOPD0SIiq5Dl8zsUGA4nGXxsP808vXPgKrJZGKtPO4m4a3s3 thN7/TumPzZFG4P4Qj1L/IhaUY0P204POwS2Q= 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=lOjmq/s5p2wWeWZlVj/K46xMXVc1v5bqdOxurvd8e+dk9+/GPTCYtEqUD+vbtxAn3m YxKgpt+Zy+xNbGIyoENdutSQZg0GlRNhDVUw3vcJrzTZoE7naB4nLiNCB/uJdlWrRBJ5 c/ZMVDsUWTksW0wFwd97yyP6wa7lLRfIY4/Es= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id b4mr2733490aga.179.1286030569505; Sat, 02 Oct 2010 07:42:49 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sat, 2 Oct 2010 07:42:49 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Sat, 2 Oct 2010 10:42:49 -0400 Message-ID: <[email protected]> Subject: Re: [VOTE] release Apache OpenWebBeans 1.0.0 From: Rohit Kelapure <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org +1 ... Will be doing more testing on Monday with the release. On Thu, Sep 30, 2010 at 7:01 PM, Mark Struberg <[email protected]> wrote: > Hi! > > I'd like to call a VOTE on releasing Apache OpenWebBeans-1.0.0 . > > Maven staging repo: https://repository.apache.org/content/repositories/orgapacheopenwebbeans-001/ > > SVN source tag (1003328): https://svn.apache.org/repos/asf/openwebbeans/tags/openwebbeans-1.0.0/ > > Source release: https://repository.apache.org/content/repositories/orgapacheopenwebbeans-001/org/apache/openwebbeans/openwebbeans/1.0.0/openwebbeans-1.0.0-source-release.zip > > Binary release: https://repository.apache.org/content/repositories/orgapacheopenwebbeans-001/org/apache/openwebbeans/openwebbeans-distribution/1.0.0/openwebbeans-distribution-1.0.0-binary.tar.gz > > PGP release key 2FDB81B1 http://svn.apache.org/repos/asf/openwebbeans/trunk/KEYS > > Vote will be open for 72 hours. > [ ] +1 approve > [ ] +0 no opinion > [ ] -1 veto (and reason why) > > A small note: I've created a owb_1.0.x branch which will contain the maintenance work on OWB-1.0.x. Feature development will be performed in trunk which now has a version of 1.1.0-SNAPSHOT > > txs and LieGrue, > strub > > > > From [email protected] Wed Oct 06 06:48:48 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19018 invoked from network); 6 Oct 2010 06:48:47 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 6 Oct 2010 06:48:47 -0000 Received: (qmail 71200 invoked by uid 500); 6 Oct 2010 06:48:47 -0000 Delivered-To: [email protected] Received: (qmail 71078 invoked by uid 500); 6 Oct 2010 06:48:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.openwebbeans.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71062 invoked by uid 99); 6 Oct 2010 06:48:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Oct 2010 06:48:44 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO web38208.mail.mud.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 06 Oct 2010 06:48:37 +0000 Received: (qmail 39256 invoked by uid 60001); 6 Oct 2010 06:48:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1286347695; bh=jmGDJ6/Bh2E3Fuzvf6ZxJYh0j6JeXOkkbVXHEuOs0gI=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=lnn8NuShvjSZdYZZUtApS6ow5+SGGf/WwizpQCYav77N3HXBHUpIBLENN5clmJ4MNLHTJflqLv62skhH/WHqMAJA6QS0VU3Q9Hm1yRsk08NWLvDVd0AcrHqn465Z5sAmH94rLSe1b0HcyLGLJkxSYjNqOaV2byYdtf51xrBV8lI= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=aiYFntc/hvYrxxi37PoDGUoyjLvir4O0WbRRn6F7jEzqg8ZnqNMFTRcSwD4FvQSsG/uAQZKC5KscXJUsSbrDe3ROsNJ3pHwTlVvW+5FGbsGbCcFOGGvMP6gAi4k4O+KnBhQUVb3wutjgM59kzR3mwL5c17gs0Hj/ondof/c/fMU=; Message-ID: <[email protected]> X-YMail-OSG: P1wIr_gVM1k9fwzGDaAi2S82GUTpUZ6LKTsdVzLN5iFjgTe ygIeFK3xnUQM9wXl5N19.YgwteU1VugW6cEfLfSKqL.mwMZjdmAu_jUZy1sH QiZwT5gFH3hELemZ55MiKL9kDDPrhRnOK8IDyTIznQznzyUvnm_CW4UprGi6 RoE8c76MdhYPgCGUNo9aYEBuqq2O0Hyh4vzx3xmX234U9urcJfwyaH.AYlca CBSZQUBkuXO4uyf0pPQNq1tMAr_wwKKw8c5CB6ArOe8VZ0sLYh2OZ16Dtrg3 AoleDCyO8Px4ALQ.JKlMsRQyV_bLORH8dzriuBGIDq88iDUCe.IjVHKw- Received: from [161.129.204.104] by web38208.mail.mud.yahoo.com via HTTP; Tue, 05 Oct 2010 23:48:15 PDT X-Mailer: YahooMailRC/504.5 YahooMailWebService/161.129.204.1042862 Date: Tue, 5 Oct 2010 23:48:15 -0700 (PDT) From: Gurkan Erdogdu <[email protected]> Subject: [ANN] Welcome Rohit Kelapure as new committer! To: [email protected], [email protected] MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable All,=0A=0AThe OpenWebBeans PMC is pleased to announce that Rohit Kelapure = has accepted =0Aour invitation to join OWB as committer.=0A=0ACongratulatio= ns and welcome Rohit!=0A=0A--Gurkan=0A=0A=0A From [email protected] Fri Oct 08 16:48:16 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21976 invoked from network); 8 Oct 2010 16:48:15 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 8 Oct 2010 16:48:15 -0000 Received: (qmail 71957 invoked by uid 500); 8 Oct 2010 16:48:15 -0000 Delivered-To: [email protected] Received: (qmail 71904 invoked by uid 500); 8 Oct 2010 16:48:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.openwebbeans.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71896 invoked by uid 99); 8 Oct 2010 16:48:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Oct 2010 16:48:15 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=FREEMAIL_FROM,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO nm12-vm0.bullet.mail.ukl.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 08 Oct 2010 16:48:06 +0000 Received: from [161.129.204.104] by nm12.bullet.mail.ukl.yahoo.com with NNFMP; 08 Oct 2010 16:47:45 -0000 Received: from [161.129.204.104] by tm10.bullet.mail.ukl.yahoo.com with NNFMP; 08 Oct 2010 16:47:45 -0000 Received: from [161.129.204.104] by omp1032.mail.ukl.yahoo.com with NNFMP; 08 Oct 2010 16:47:44 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: [email protected] Received: (qmail 24216 invoked by uid 60001); 8 Oct 2010 16:41:03 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s1024; t=1286556063; bh=nqT71Tfbv/S7jYqHa4WGmzbDugzhUMhIAxA86XhfnM0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=42O0Lk/RTJR0iMrmCsxSWMbWirtSFqb7ExTS0AEloQw3a/4BYpgmUvMx1rQNW7vKN93dotR9ozgIR0qyNvoEZvBoUNFG9n+MlmrnxHOQtIwjDbua6G8tO9tLc1S/EV5ROC3wMjqSz42h+WZwhcZ0lNBvaNeuIHed8N2NKtViyAg= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.de; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=bCo6k8f7VBOTJyh4gyxKyq80NXjygNyxdJHZG3bUJX3FN37JyyVpuFYge4yGcL7OXdpa+ujnCghyUqwljjRTkwDGT61x2llARVqKGOaeFFJ+bPXMe/cFH4TLU8C8pu26DoAq0RkeiyveHeHyj/H8TQik0yDpz3q8KfZs16tGJR4=; Message-ID: <[email protected]> X-YMail-OSG: lQnM7H8VM1ksV1F.tGCSthjKTicozbblTxILJQwEwPMpefn VyFdIjJ9ggSuLoRPJxEijKJE1uni68cv6QnLl8k3whTdWP6bd1bZ0Sqo5w8q p9AnVpknF_OUhWkjKLbmps_lcgkDufnxBApZrfKh0lJx6pqc9vwZkwzY4LLa l_NeY61u_GZOvX2YP1lBfq0vVF7vT78aRqu6CntOZbwjNEUo4fWt7M65vdTX HNmqJmNggu9vrkQtE6p7Tv3Mhtow5Wg0g0uSchOv1v4j4DLPmaqi7lDWBPDI - Received: from [161.129.204.104] by web27804.mail.ukl.yahoo.com via HTTP; Fri, 08 Oct 2010 17:41:02 BST X-Mailer: YahooMailClassic/11.4.9 YahooMailWebService/161.129.204.1042862 Date: Fri, 8 Oct 2010 17:41:02 +0100 (BST) From: Mark Struberg <[email protected]> Subject: [ANN] Welcome Paul J Reder as new committer! To: [email protected], [email protected] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org Hi folks! The Apache OpenWebBeans PMC is pleased to announce that Paul J Reder has accepted our invitation to join OWB as a committer. Congratulations and welcome Paul! From [email protected] Fri Oct 08 18:08:05 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58305 invoked from network); 8 Oct 2010 18:08:04 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 8 Oct 2010 18:08:04 -0000 Received: (qmail 26373 invoked by uid 500); 8 Oct 2010 18:08:04 -0000 Delivered-To: [email protected] Received: (qmail 26326 invoked by uid 500); 8 Oct 2010 18:08:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.openwebbeans.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26317 invoked by uid 99); 8 Oct 2010 18:08:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Oct 2010 18:08:04 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO web38207.mail.mud.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 08 Oct 2010 18:07:56 +0000 Received: (qmail 14759 invoked by uid 60001); 8 Oct 2010 18:07:35 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1286561255; bh=YWENMdhQoqzLiu2f7eaL15Bo88ezGJGKAtXWG10pUGU=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=aAzr4WsM1zgT+6+MuvmIOKE5CNy8FMAnj7bhcG7VmQucYIl5sLaI4F0KjSf+jLidlorffKi1QEPow+o8GVLTK1XBCYOBUvmtK3cqDxABROxRg6sNzXoHk1+FasI/6yeIQ6D5+z01cYGbCpY42twaXomCGw7aetxOw4+FARMdekI= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=HPKuTuJH183v1NsJtavMECmFwYZ2KDKhENBbQXiShhbscfVaeI6qGNWvUYDSufn/dPSG4g2bGxg27wCHYEYw4z/3C2MzvqPKJHXWIYzKKZujFxpFFxs0UpW7atHRGLHY2sViEPt46+vwcTggeLaRQylafPqmAV3uOIM0smYRP1o=; Message-ID: <[email protected]> X-YMail-OSG: WXzBlv8VM1n14ziSV63WVssqasRl14FOCYme49xko5MC8vH bFmEkuLIR0sVgwJ3PkPxdejjK1fovS3wyKQkjpCWcWbvGEDUgLuIvh7NPdfT LisnA7XTLeArXb7SaPVZhhNZ3eAdx0crqveaUV9v3JXm6SsikX_aOQ0kSGbX fvXgIj1HGS6cz55Ms2BiJWDMhEKxE4ly3bcsiQ__sS704lxef8dY9Rf5n3Ie .1t4QPGzPob7ZfBXmsMpRmNDAbn1F5owjdVdZXFtQAjtPMCq7YNVOBfx.eNB XB4R5r2t6DyKg05mP3MhqFOrdkEMFvXew2LU1Uh2CduV3dZ2jNdz7kys- Received: from [161.129.204.104] by web38207.mail.mud.yahoo.com via HTTP; Fri, 08 Oct 2010 11:07:34 PDT X-Mailer: YahooMailWebService/161.129.204.1042862 Date: Fri, 8 Oct 2010 11:07:34 -0700 (PDT) From: Gurkan Erdogdu <[email protected]> Subject: Yanacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b [ANN] Welcome Paul J Reder as new committer! To: [email protected], [email protected] MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Welcome Paul! Gurkan=0A=0ACum, 08 Eki 2010 19:41 EEST tarihinde Mark Struberg =C5=9F=C3= =B6yle yazd=C4=B1:=0A=0A>Hi folks!=0A>=0A>The Apache OpenWebBeans PMC is pl= eased to announce that Paul J Reder has accepted=0A>our invitation to join= OWB as a committer.=0A>=0A>Congratulations and welcome Paul!=0A>=0A>=0A>= =0A>=0A> =0A=0A=0A From [email protected] Tue Oct 19 15:26:45 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92175 invoked from network); 19 Oct 2010 15:26:45 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 19 Oct 2010 15:26:45 -0000 Received: (qmail 74495 invoked by uid 500); 19 Oct 2010 15:26:45 -0000 Delivered-To: [email protected] Received: (qmail 74441 invoked by uid 500); 19 Oct 2010 15:26:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.openwebbeans.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74433 invoked by uid 99); 19 Oct 2010 15:26:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Oct 2010 15:26:44 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=FREEMAIL_FROM,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO nm7-vm0.bullet.mail.ukl.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 19 Oct 2010 15:26:36 +0000 Received: from [161.129.204.104] by nm7.bullet.mail.ukl.yahoo.com with NNFMP; 19 Oct 2010 15:26:11 -0000 Received: from [161.129.204.104] by tm3.bullet.mail.ukl.yahoo.com with NNFMP; 19 Oct 2010 15:26:11 -0000 Received: from [161.129.204.104] by omp1016.mail.ukl.yahoo.com with NNFMP; 19 Oct 2010 15:26:10 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: [email protected] Received: (qmail 47274 invoked by uid 60001); 19 Oct 2010 15:26:08 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s1024; t=1287501968; bh=M4omWVHHNn/P94x1tpBk1a1YFtoqnE5jb4wWGSD41SU=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=zsmrjO/32LPrqlGRIVmlBrF7aWJf63vjv828B8AopXXI6mDKEljdFVDi05uz1Kld2CUmOetsTQwo09fu55WVz8KrBMYJJgyLiSMwetJigP5SmRaFJaLBxHQTX7HNhEYojSYqVWp5LeB0exNtuniBlurVLJ+ArB4OHapzranKyvQ= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.de; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=u5i7fOs5ziCAmReAQSOiNQoru/doUi8/lX9akIgHqvpNlqaLJHDwrcavsE0z4jICadebygfYEi9EN+U3cDk9hvDLnWGXi2kjwgKZxDu6GFWNOf4xI4koJOh0ynS493gyiOpHtk+vPc8ExQ2T33vvmnOtmFGqL2hYU8MT6G8Pc+k=; Message-ID: <[email protected]> X-YMail-OSG: IYv2psQVM1lYalgEtUfrt3EOneABkWNsyJt5O7StFiTy4zp KcAmomOz6UmL2nitxIfp0yExFlG7w75S4FsHRrAlMEv3DK_jJobvoJRfjFSl W5wwqohOVfSVMORoTxJM3gGL8xHXmomZirtUb9KtPSD9FVM1xb.ECiDLWczY n.QJ6uihJwochXimEPdk36RveqCrPTPOZRcDOLJPryDccTY.2Hj1GaL0d6.W llO.1bSbpvNx1m3WgwrTf.Oie4Bwci3rGetSb_zVHn1X3v8N9yvTf_ke5eiP xUI8pyyY0b.lpk7vx53HzxDGp3iJsmcB_ Received: from [161.129.204.104] by web27803.mail.ukl.yahoo.com via HTTP; Tue, 19 Oct 2010 16:26:04 BST X-Mailer: YahooMailClassic/11.4.9 YahooMailWebService/161.129.204.1042862 Date: Tue, 19 Oct 2010 16:26:04 +0100 (BST) From: Mark Struberg <[email protected]> Subject: Fw: [ANNOUNCE] Apache OpenWebBeans 1.0.0 To: [email protected], [email protected] Cc: [email protected], geronimo-dev <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi folks! OWB-1.0.0 officially out now! LieGrue, strub --- On Tue, 10/19/10, Mark Struberg <[email protected]> wrote: > From: Mark Struberg <[email protected]> > Subject: [ANNOUNCE] Apache OpenWebBeans 1.0.0 > To: [email protected] > Date: Tuesday, October 19, 2010, 1:51 PM > The Apache OpenWebBeans Team is proud > to announce the final release of > > Apache OpenWebBeans 1.0.0 > > Apache OpenWebBeans is an implementation of the Apache > License v2 licensed JSR-299 "Context and Dependency > Injection for Java" and JSR-330 "atinject". OpenWebBeans has > a modular structure and provides Dependency Injection > scaling from Java SE environments up to EE6 servers with > complicated ClassLoader hierarchies. > > 1.0.0 implements the latest API, passes the JSR-330 TCK and > the JSR-299 standalone TCK. > > The release can be downloaded from > > http://www.apache.org/dyn/closer.cgi/openwebbeans/1.0.0/ > http://www.apache.org/dist/openwebbeans/1.0.0/ > > > The Apache OpenWebBeans Team > From [email protected] Wed Oct 27 16:39:37 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94422 invoked from network); 27 Oct 2010 16:39:34 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 27 Oct 2010 16:39:34 -0000 Received: (qmail 69871 invoked by uid 500); 27 Oct 2010 16:34:12 -0000 Delivered-To: [email protected] Received: (qmail 68192 invoked by uid 500); 27 Oct 2010 16:33:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.openwebbeans.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 66724 invoked by uid 99); 27 Oct 2010 16:06:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Oct 2010 16:06:24 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yw0-f50.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Oct 2010 16:06:17 +0000 Received: by ywi4 with SMTP id 4so535114ywi.9 for <[email protected]>; Wed, 27 Oct 2010 09:05:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=ZkrwrK9s52uE2R7e+EKZurOA+L02GTZBqKDKuvIRcDU=; b=p8OjgwurXRyg9vpaBHVWz9RnoXyhYY8ayd6Zp66UaqjzDlfGuBktST8ICGypdeJ2Xp F3EzGLbE0MAt0/JcbWY94prKwhXcbyEAd6QV6zNg4RugRwYYRQtEoDYzpdRnITQDtJrx jOEN8XgRZ6ckp4J8nMQfMtWIVwi6nYog/6g5A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=bKj8TSMNSSu6sogN/7vwMxhxczi5Q8l4pqUiVZpQIXM4L2cnZhJosJ+WtS7C5eWhDD M/rukcsn4M288ILbKr7vtCIwz/RKcqEq5/E7TPDO7xateO1+MBXFEfIZ2dgEjqxzaw8W UPgBsvYp/xfBL6rHQ+1/GGeC8urugAMJVO0To= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id v8mr6127314ybf.115.1288195556729; Wed, 27 Oct 2010 09:05:56 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 27 Oct 2010 09:05:56 -0700 (PDT) Date: Wed, 27 Oct 2010 13:05:56 -0300 Message-ID: <[email protected]> Subject: Doubt about release 1.0.0 From: Keuller Magalhaes <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=000e0cd348648f65ea04939b66fd --000e0cd348648f65ea04939b66fd Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi folks, I would know about release 1.0.0 on maven repository. I did download standalone bundle 1.0.0 that was released via apache download site and install locally on my machine, but your have some roadmap to release final version ? I=B4m creating an sample CRUD application thats I=B4m titled "Apache Web Bo= x", where I shown how to implement a complete solution with MyFaces (JSF2), OpenWebBeans (CDI) and OpenJPA (JPA2). If anyone has a tip I will apreciate= . Regards. _________________________________ Keuller A. Magalh=E3es --000e0cd348648f65ea04939b66fd Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi folks,<div><br></div><div>I would know about release 1.0.0 on maven repo= sitory. I did download standalone bundle 1.0.0 that was released via apache= download site and install locally on my machine, but your have some roadma= p to release final version ?<br clear=3D"all"> <br>I=B4m creating an sample CRUD application thats I=B4m titled &quot;Apac= he Web Box&quot;, where I shown how to implement a complete solution with M= yFaces (JSF2), OpenWebBeans (CDI) and OpenJPA (JPA2). If anyone has a tip I= will apreciate.</div> <div><br></div><div>Regards.<br>_________________________________<br>Keulle= r A. Magalh=E3es<br> </div> --000e0cd348648f65ea04939b66fd-- From [email protected] Wed Oct 27 18:59:41 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93696 invoked from network); 27 Oct 2010 18:59:41 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 27 Oct 2010 18:59:41 -0000 Received: (qmail 56410 invoked by uid 500); 27 Oct 2010 18:59:40 -0000 Delivered-To: [email protected] Received: (qmail 56359 invoked by uid 500); 27 Oct 2010 18:59:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.openwebbeans.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 56349 invoked by uid 99); 27 Oct 2010 18:59:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Oct 2010 18:59:40 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO nm5.bullet.mail.ukl.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 27 Oct 2010 18:59:31 +0000 Received: from [161.129.204.104] by nm5.bullet.mail.ukl.yahoo.com with NNFMP; 27 Oct 2010 18:59:09 -0000 Received: from [161.129.204.104] by tm12.bullet.mail.ukl.yahoo.com with NNFMP; 27 Oct 2010 18:59:09 -0000 Received: from [161.129.204.104] by omp1015.mail.ukl.yahoo.com with NNFMP; 27 Oct 2010 18:59:09 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: [email protected] Received: (qmail 7848 invoked by uid 60001); 27 Oct 2010 18:59:09 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s1024; t=1288205949; bh=GoHQXw4RD371a+WoSHmwcjRuD9wdShepb+kYOEdnDSs=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=MSGI8rs840AbhxotcE/v4AcRGDHjC+sv1vxle7t22/Y/1neLCbB3ymIHWOvCNXal1GZghDbETusnWwVkh3O9iDo5puIDIW3JZhVq8fGIgLBmeMPkPiJPQiGNYALbPvA6hS5/qZSThAxBvJBw6MlO91eUXTFhjQ8yT28ub/fuu/Y= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.de; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=arlN3efceAtwIcmwj2UfPQi9u+H5/GenqrS7Kofm8ujNvD9Dti+FUC8kgExu5kbTyszEIbl/++err6sqO5S0qXugE7OpZZnMzH3blDeqrwQLMSNfuWM0jjsHjNt5YJCxwQyQxrgAPzxv8MnQIJisSGrxLzbPFXG2ZI/TrL2LvyM=; Message-ID: <[email protected]> X-YMail-OSG: eyfrAVYVM1mQkjBeISVm06hS5J3HBBFNexwk83JAbTx42pH Vx4UFz_QalgbKVfzc0q2BzGi5IPGpsXJ400HtD6cdaz4ZyiXvQYV531mTi8h JpbVRqTiG5Wsxh8UM56IkzByzoCL2cSY8w0tqRN32HgL6Fqj2oWMQLLSsybs 1Ydz50FDfe4ifU_5erZ86ukvULfA4d.zXIBIAJ_r456Qe27xaqjJBnRA2WOQ 7ufdOo8ccEoBgpoEWQLEhoySeoSmthefPx3KJ8zg1B7U7cXw9wy.0HVS0yvo G6s1G.eBXd40f2GavbsgJ52i89fokIpzbaRrgQgC2 Received: from [161.129.204.104] by web27801.mail.ukl.yahoo.com via HTTP; Wed, 27 Oct 2010 19:59:09 BST X-Mailer: YahooMailClassic/11.4.9 YahooMailWebService/161.129.204.1044920 Date: Wed, 27 Oct 2010 19:59:09 +0100 (BST) From: Mark Struberg <[email protected]> Subject: Re: Doubt about release 1.0.0 To: [email protected] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Keuller! Not sure what you mean, but I can see the openwebbeans-1.0.0 artifacts on t= he maven.central repository: http://repo1.maven.org/maven2/org/apache/openwebbeans/openwebbeans-impl/1.0= .0/ LieGrue, strub --- On Wed, 10/27/10, Keuller Magalhaes <[email protected]> wrote= : From: Keuller Magalhaes <[email protected]> Subject: Doubt about release 1.0.0 To: [email protected] Date: Wednesday, October 27, 2010, 4:05 PM Hi folks, I would know about release 1.0.0 on maven repository. I did download standa= lone bundle 1.0.0 that was released via apache download site and install lo= cally on my machine, but your have some roadmap to release final version ? I=B4m creating an sample CRUD application thats I=B4m titled "Apache Web Bo= x", where I shown how to implement a complete solution with MyFaces (JSF2),= OpenWebBeans (CDI) and OpenJPA (JPA2). If anyone has a tip I will apreciat= e. Regards. _________________________________ Keuller A. Magalh=E3es =0A=0A=0A From [email protected] Wed Oct 27 19:28:32 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8843 invoked from network); 27 Oct 2010 19:28:32 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 27 Oct 2010 19:28:32 -0000 Received: (qmail 95076 invoked by uid 500); 27 Oct 2010 19:28:32 -0000 Delivered-To: [email protected] Received: (qmail 95051 invoked by uid 500); 27 Oct 2010 19:28:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.openwebbeans.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 95037 invoked by uid 99); 27 Oct 2010 19:28:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Oct 2010 19:28:32 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yx0-f178.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Oct 2010 19:28:27 +0000 Received: by yxd39 with SMTP id 39so733153yxd.9 for <[email protected]>; Wed, 27 Oct 2010 12:28:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=cBUeYGmgG4aZd4Q3t3xE9871VQTpae5SkO8I+y/b7R8=; b=oYb697f33fe27htWfmUT32PwUyRDQQv6AGKb/h6gbMiBXJ+38/ph4yr2f704mLhr56 h1igaKCgzXWlF6gkjJd3VAEEFEnbfg1BUAhB208THneFBzUDy6VrVaEqzxoCuZy6yr3O a/zHITOz8GaC60dmq4Vjpll52sl6UYUZ0VgOw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=HHo4PazGnwfBNe2mFkfK1hBMdap8JuGciXRb4lGhHOjIzra3vK3qlIWW5S824HZiDO H4NzO97p67vOkAqkf3GbAHO6QO0SgN71sf1hqNs84/SWonTg72omt/QBNkSglALUUb6k Cp+RBAAf1rBCvcchy8IVzLtzR+ZFnm3IcapJQ= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id p19mr18366190ybg.229.1288207686908; Wed, 27 Oct 2010 12:28:06 -0700 (PDT) Sender: [email protected] Received: by 161.129.204.104 with HTTP; Wed, 27 Oct 2010 12:28:06 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Wed, 27 Oct 2010 16:28:06 -0300 X-Google-Sender-Auth: DUQyC28roqrSluI_tPCW6uxqH5c Message-ID: <[email protected]> Subject: Re: Doubt about release 1.0.0 From: "Keuller Magalhaes (PD)" <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=000e0cd51c3093395804939e39a5 --000e0cd51c3093395804939e39a5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Lie, Thanks! Yesterday I seem maven repository and I didnt found this artifact. Cheers. 2010/10/27 Mark Struberg <[email protected]> > Hi Keuller! > > Not sure what you mean, but I can see the openwebbeans-1.0.0 artifacts on > the maven.central repository: > > > http://repo1.maven.org/maven2/org/apache/openwebbeans/openwebbeans-impl/1= .0.0/ > > LieGrue, > strub > > > --- On Wed, 10/27/10, Keuller Magalhaes <[email protected]> > wrote: > > From: Keuller Magalhaes <[email protected]> > Subject: Doubt about release 1.0.0 > To: [email protected] > Date: Wednesday, October 27, 2010, 4:05 PM > > Hi folks, > I would know about release 1.0.0 on maven repository. I did download > standalone bundle 1.0.0 that was released via apache download site and > install locally on my machine, but your have some roadmap to release fina= l > version ? > > > I=B4m creating an sample CRUD application thats I=B4m titled "Apache Web = Box", > where I shown how to implement a complete solution with MyFaces (JSF2), > OpenWebBeans (CDI) and OpenJPA (JPA2). If anyone has a tip I will aprecia= te. > > Regards. > _________________________________ > Keuller A. Magalh=E3es > > > > > > > --=20 *Keuller Magalh=E3es | Arquiteto de Solu=E7=E3o* 55 91 8218-7423 ** <[email protected]>*[email protected]*** *PD Case Inform=E1tica | www.pdcase.com.br* --000e0cd51c3093395804939e39a5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Lie,<div><br></div><div>Thanks! Yesterday I seem maven repository and I = didnt found this artifact.<br><br></div><div>Cheers.</div><div><br><div cla= ss=3D"gmail_quote">2010/10/27 Mark Struberg <span dir=3D"ltr">&lt;<a href= =3D"mailto:[email protected]">[email protected]</a>&gt;</span><br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex;">Hi Keuller!<br> <br> Not sure what you mean, but I can see the openwebbeans-1.0.0 artifacts on t= he maven.central repository:<br> <br> <a href=3D"http://repo1.maven.org/maven2/org/apache/openwebbeans/openwebbea= ns-impl/1.0.0/" target=3D"_blank">http://repo1.maven.org/maven2/org/apache/= openwebbeans/openwebbeans-impl/1.0.0/</a><br> <br> LieGrue,<br> strub<br> <br> <br> --- On Wed, 10/27/10, Keuller Magalhaes &lt;<a href=3D"mailto:keuller.magal= [email protected]">[email protected]</a>&gt; wrote:<br> <br> From: Keuller Magalhaes &lt;<a href=3D"mailto:[email protected]">= [email protected]</a>&gt;<br> Subject: Doubt about release 1.0.0<br> To: <a href=3D"mailto:[email protected]">[email protected]= e.org</a><br> Date: Wednesday, October 27, 2010, 4:05 PM<br> <div><div></div><div class=3D"h5"><br> Hi folks,<br> I would know about release 1.0.0 on maven repository. I did download standa= lone bundle 1.0.0 that was released via apache download site and install lo= cally on my machine, but your have some roadmap to release final version ?<= br> <br> <br> I=B4m creating an sample CRUD application thats I=B4m titled &quot;Apache W= eb Box&quot;, where I shown how to implement a complete solution with MyFac= es (JSF2), OpenWebBeans (CDI) and OpenJPA (JPA2). If anyone has a tip I wil= l apreciate.<br> <br> Regards.<br> _________________________________<br> Keuller A. Magalh=E3es<br> <br> <br> <br> <br> <br> <br> </div></div></blockquote></div><br><br clear=3D"all"><br>-- <br><div><font = size=3D"2" face=3D"Arial"><b>Keuller Magalh=E3es | Arquiteto de Solu=E7=E3o= </b></font></div> <div><font color=3D"#404040" size=3D"2" face=3D"Arial">55 91=A08218-7423 </= font></div> <div><a href=3D"mailto:[email protected]" target=3D"_blank"><= font color=3D"#0000ff" size=3D"2" face=3D"Arial"><u></u></font></a><font co= lor=3D"#0000ff" size=3D"2" face=3D"Arial"><u><a href=3D"mailto:keuller.maga= [email protected]" target=3D"_blank">[email protected]</a><= /u></font><font size=3D"2" face=3D"Arial"><b></b></font></div> <div><font size=3D"2" face=3D"Arial"><b>PD Case Inform=E1tica | <a href=3D"= http://www.pdcase.com.br/" target=3D"_blank">www.pdcase.com.br</a></b></fon= t></div><br> </div> --000e0cd51c3093395804939e39a5--
From [email protected] Mon Nov 01 03:04:00 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75453 invoked from network); 1 Nov 2010 03:04:00 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 1 Nov 2010 03:04:00 -0000 Received: (qmail 35227 invoked by uid 500); 1 Nov 2010 03:04:31 -0000 Delivered-To: [email protected] Received: (qmail 35195 invoked by uid 500); 1 Nov 2010 03:04:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 35187 invoked by uid 99); 1 Nov 2010 03:04:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Nov 2010 03:04:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Nov 2010 03:04:28 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 69E3B23888D7; Mon, 1 Nov 2010 03:03:32 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1029533 - in /incubator/hama/trunk: CHANGES.txt lib/jruby-complete-1.2.0.jar lib/jruby-complete-LICENSE.txt src/java/org/apache/hama/util/ClusterUtil.java src/test/org/apache/hama/bsp/TestClusterStatus.java Date: Mon, 01 Nov 2010 03:03:32 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: edwardyoon Date: Mon Nov 1 03:03:31 2010 New Revision: 1029533 URL: http://svn.apache.org/viewvc?rev=1029533&view=rev Log: Removing javadoc warnings and useless libraries. Removed: incubator/hama/trunk/lib/jruby-complete-1.2.0.jar incubator/hama/trunk/lib/jruby-complete-LICENSE.txt Modified: incubator/hama/trunk/CHANGES.txt incubator/hama/trunk/src/java/org/apache/hama/util/ClusterUtil.java incubator/hama/trunk/src/test/org/apache/hama/bsp/TestClusterStatus.java Modified: incubator/hama/trunk/CHANGES.txt URL: http://svn.apache.org/viewvc/incubator/hama/trunk/CHANGES.txt?rev=1029533&r1=1029532&r2=1029533&view=diff ============================================================================== --- incubator/hama/trunk/CHANGES.txt (original) +++ incubator/hama/trunk/CHANGES.txt Mon Nov 1 03:03:31 2010 @@ -175,6 +175,7 @@ Trunk (unreleased changes) BUG FIXES + HAMA-324: Removing javadoc warnings and useless libraries (edwardyoon) HAMA-322: Make sure failed assertions on test threads are reported (Filipe Manana via edwardyoon) HAMA-316: Renaming and Refactoring methods in BSPPeerInterface (Filipe Manana) Modified: incubator/hama/trunk/src/java/org/apache/hama/util/ClusterUtil.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/util/ClusterUtil.java?rev=1029533&r1=1029532&r2=1029533&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/util/ClusterUtil.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/util/ClusterUtil.java Mon Nov 1 03:03:31 2010 @@ -20,14 +20,16 @@ package org.apache.hama.util; import java.io.IOException; import java.util.List; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.apache.hadoop.conf.Configuration; import org.apache.hama.HamaConfiguration; import org.apache.hama.bsp.BSPMaster; import org.apache.hama.bsp.GroomServer; -import org.apache.log4j.Logger; public class ClusterUtil { - static final Logger LOG = Logger.getLogger(ClusterUtil.class); + private static final Log LOG = LogFactory.getLog(ClusterUtil.class); + /** * Data Structure to hold GroomServer Thread and GroomServer instance */ Modified: incubator/hama/trunk/src/test/org/apache/hama/bsp/TestClusterStatus.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/test/org/apache/hama/bsp/TestClusterStatus.java?rev=1029533&r1=1029532&r2=1029533&view=diff ============================================================================== --- incubator/hama/trunk/src/test/org/apache/hama/bsp/TestClusterStatus.java (original) +++ incubator/hama/trunk/src/test/org/apache/hama/bsp/TestClusterStatus.java Mon Nov 1 03:03:31 2010 @@ -31,7 +31,7 @@ import org.apache.hama.bsp.ClusterStatus public class TestClusterStatus extends TestCase { Random rnd = new Random(); - + protected void setUp() throws Exception { super.setUp(); } @@ -39,38 +39,40 @@ public class TestClusterStatus extends T public final void testWriteAndReadFields() throws IOException { DataOutputBuffer out = new DataOutputBuffer(); DataInputBuffer in = new DataInputBuffer(); - + ClusterStatus status1; Map<String, String> grooms = new HashMap<String, String>(); - + for (int i = 0; i < 10; i++) { int num = rnd.nextInt(); String groomName = "groom_" + num; String peerName = "peerhost:" + num; grooms.put(groomName, peerName); } - + int tasks = rnd.nextInt(100); int maxTasks = rnd.nextInt(100); BSPMaster.State state = BSPMaster.State.RUNNING; - - status1 = new ClusterStatus(grooms, tasks, maxTasks, state); + + status1 = new ClusterStatus(grooms, tasks, maxTasks, state); status1.write(out); - + in.reset(out.getData(), out.getLength()); - + ClusterStatus status2 = new ClusterStatus(); status2.readFields(in); - - Map<String, String> grooms_s = new HashMap<String, String>(status1.getActiveGroomNames()); - Map<String, String> grooms_o = new HashMap<String, String>(status2.getActiveGroomNames()); - + + Map<String, String> grooms_s = new HashMap<String, String>(status1 + .getActiveGroomNames()); + Map<String, String> grooms_o = new HashMap<String, String>(status2 + .getActiveGroomNames()); + assertEquals(status1.getGroomServers(), status2.getGroomServers()); assertTrue(grooms_s.entrySet().containsAll(grooms_o.entrySet())); assertTrue(grooms_o.entrySet().containsAll(grooms_s.entrySet())); - assertEquals(status1.getTasks(),status2.getTasks()); + assertEquals(status1.getTasks(), status2.getTasks()); assertEquals(status1.getMaxTasks(), status2.getMaxTasks()); } } From [email protected] Mon Nov 01 03:11:41 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88245 invoked from network); 1 Nov 2010 03:11:41 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 1 Nov 2010 03:11:41 -0000 Received: (qmail 38053 invoked by uid 500); 1 Nov 2010 03:12:12 -0000 Delivered-To: [email protected] Received: (qmail 38021 invoked by uid 500); 1 Nov 2010 03:12:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 38013 invoked by uid 99); 1 Nov 2010 03:12:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Nov 2010 03:12:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Nov 2010 03:12:06 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 8AB1723888E8; Mon, 1 Nov 2010 03:11:08 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1029535 - /incubator/hama/trunk/build.xml Date: Mon, 01 Nov 2010 03:11:08 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: edwardyoon Date: Mon Nov 1 03:11:08 2010 New Revision: 1029535 URL: http://svn.apache.org/viewvc?rev=1029535&view=rev Log: I missed to commit build.xml changes. Modified: incubator/hama/trunk/build.xml Modified: incubator/hama/trunk/build.xml URL: http://svn.apache.org/viewvc/incubator/hama/trunk/build.xml?rev=1029535&r1=1029534&r2=1029535&view=diff ============================================================================== --- incubator/hama/trunk/build.xml (original) +++ incubator/hama/trunk/build.xml Mon Nov 1 03:11:08 2010 @@ -18,305 +18,291 @@ --> <project name="hama" default="jar"> - <property name="version" value="0.2.0-dev" /> - <property name="Name" value="Hama" /> - <property name="final.name" value="hama-${version}" /> - <property name="year" value="2009" /> - - <!-- Load all the default properties, and any the user wants --> - <!-- to contribute (without having to type -D or edit this file --> - <property file="${user.home}/${name}.build.properties" /> - <property file="${basedir}/build.properties" /> - - <property name="src.dir" location="${basedir}/src/java" /> - <property name="src.test" location="${basedir}/src/test" /> - <property name="src.examples" location="${basedir}/src/examples" /> - - <property name="lib.dir" value="${basedir}/lib" /> - <property name="conf.dir" value="${basedir}/conf" /> - <property name="docs.dir" value="${basedir}/docs" /> - <property name="docs.src" value="${basedir}/src/docs" /> + <property name="version" value="0.2.0-dev" /> + <property name="Name" value="Hama" /> + <property name="final.name" value="hama-${version}" /> + <property name="year" value="2009" /> + + <!-- Load all the default properties, and any the user wants --> + <!-- to contribute (without having to type -D or edit this file --> + <property file="${user.home}/${name}.build.properties" /> + <property file="${basedir}/build.properties" /> + + <property name="src.dir" location="${basedir}/src/java" /> + <property name="src.test" location="${basedir}/src/test" /> + <property name="src.examples" location="${basedir}/src/examples" /> + + <property name="lib.dir" value="${basedir}/lib" /> + <property name="conf.dir" value="${basedir}/conf" /> + <property name="docs.dir" value="${basedir}/docs" /> + <property name="docs.src" value="${basedir}/src/docs" /> <!-- javacc properties --> - <property name="javacc.home" value="${basedir}/lib" /> + <property name="javacc.home" value="${basedir}/lib" /> <!-- build properties --> - - <property name="test.output" value="no" /> - <property name="test.timeout" value="600000" /> - - <property name="build.dir" location="${basedir}/build" /> - <property name="build.lib" location="${build.dir}/lib" /> - <property name="build.classes" location="${build.dir}/classes" /> - <property name="build.test" location="${build.dir}/test" /> - <property name="build.examples" location="${build.dir}/examples" /> - <property name="build.docs" value="${build.dir}/docs/site" /> - <property name="build.javadoc" value="${build.docs}/api" /> - <property name="build.encoding" value="ISO-8859-1" /> - <property name="build.src" value="${build.dir}/src" /> - - <property name="build.report" value="${build.dir}/reports" /> - <property name="build.report.findbugs" value="${build.report}/findbugs" /> - <property name="build.report.tests" value="${build.report}/tests" /> - - <property name="test.build.dir" value="${build.dir}/test" /> - <property name="test.junit.output.format" value="plain" /> - - <property name="dist.dir" value="${build.dir}/${final.name}" /> - - <property name="javac.deprecation" value="off" /> - <property name="javac.debug" value="on" /> - - <property name="javadoc.link.java" - value="http://java.sun.com/javase/6/docs/api/" /> - <property name="javadoc.packages" value="org.apache.hama.*" /> - - <fileset id="lib.jars" dir="${basedir}" includes="lib/*.jar" /> - <path id="classpath"> - <fileset refid="lib.jars" /> - <fileset dir="${lib.dir}/findbugs/"> - <include name="*jar" /> - </fileset> - <pathelement location="${build.classes}" /> - <pathelement location="${conf.dir}" /> - </path> - - <taskdef name="findbugs" classpathref="classpath" - classname="edu.umd.cs.findbugs.anttask.FindBugsTask" /> - - <target name="init"> - <mkdir dir="${build.dir}" /> - <mkdir dir="${build.classes}" /> - <mkdir dir="${build.test}" /> - <mkdir dir="${build.examples}" /> - <mkdir dir="${build.report.findbugs}" /> - <mkdir dir="${build.report.tests}" /> - <!--Copy bin, lib, and conf. too--> - <mkdir dir="${build.lib}" /> - <copy todir="${build.lib}"> - <fileset dir="${lib.dir}" /> - </copy> - </target> - - <!-- ================================================================== --> - <!-- Java Compiler Compiler, generate Parsers --> - <!-- ================================================================== --> - - <target name="compile" depends="init"> - <!--Compile whats under src and generated java classes made from jsp--> - <mkdir dir="${build.src}" /> - <javac encoding="${build.encoding}" - srcdir="${src.dir};${build.src};${src.examples}" includes="**/*.java" - destdir="${build.classes}" debug="${javac.debug}" - deprecation="${javac.deprecation}"> - <classpath refid="classpath" /> - </javac> - </target> - - <target name="compile-examples" depends="compile"> - <javac encoding="${build.encoding}" srcdir="${src.examples}" - includes="**/*.java" - destdir="${build.examples}" debug="${javac.debug}" - deprecation="${javac.deprecation}"> - <classpath refid="classpath" /> - </javac> - </target> - - <!-- Override jar target to specify main class --> - <target name="jar" depends="compile"> - <jar jarfile="${build.dir}/${final.name}.jar" - basedir="${build.classes}"> - </jar> - </target> - - <target name="examples" depends="jar, compile-examples" - description="Make the hama examples jar."> - <jar jarfile="${build.dir}/${final.name}-examples.jar" - basedir="${build.examples}"> - <manifest> - <attribute name="Main-Class" - value="org/apache/hama/examples/ExampleDriver" /> - </manifest> - </jar> - </target> - - <target name="package" depends="jar,javadoc,examples,compile-test" - description="Build distribution"> - <mkdir dir="${dist.dir}" /> - <copy todir="${dist.dir}" includeEmptyDirs="false" flatten="true"> - <fileset dir="${build.dir}"> - <include name="${final.name}.jar" /> - <include name="${final.name}-test.jar" /> - </fileset> - </copy> - <mkdir dir="${dist.dir}/lib" /> - <copy todir="${dist.dir}/lib"> - <fileset dir="${build.lib}" /> - </copy> - <copy todir="${dist.dir}"> - <fileset dir="."> - <include name="*.txt" /> - </fileset> - </copy> - <mkdir dir="${dist.dir}/src" /> - <copy todir="${dist.dir}/src" includeEmptyDirs="true"> - <fileset dir="src" excludes="**/*.template **/docs/build/**/*" /> - </copy> - </target> - - <!-- ================================================================== --> - <!-- Make release tarball --> - <!-- ================================================================== --> - <macrodef name="macro_tar" description="Worker Macro for tar"> - <attribute name="param.destfile" /> - <element name="param.listofitems" /> - <sequential> - <tar compression="gzip" longfile="gnu" destfile="@{param.destfile}"> - <param.listofitems /> - </tar> - </sequential> - </macrodef> - <target name="tar" depends="package" description="Make release tarball"> - <macro_tar param.destfile="${build.dir}/${final.name}.tar.gz"> - <param.listofitems> - <tarfileset dir="${build.dir}" mode="664"> - <exclude name="${final.name}/bin/*" /> - <include name="${final.name}/**" /> - </tarfileset> - <tarfileset dir="${build.dir}" mode="755"> - <include name="${final.name}/bin/*" /> - </tarfileset> - </param.listofitems> - </macro_tar> - </target> - - <target name="binary" depends="package" - description="Make tarball without source and documentation"> - <macro_tar param.destfile="${build.dir}/${final.name}-bin.tar.gz"> - <param.listofitems> - <tarfileset dir="${build.dir}" mode="664"> - <exclude name="${final.name}/bin/*" /> - <exclude name="${final.name}/src/**" /> - <exclude name="${final.name}/docs/**" /> - <include name="${final.name}/**" /> - </tarfileset> - <tarfileset dir="${build.dir}" mode="755"> - <include name="${final.name}/bin/*" /> - </tarfileset> - </param.listofitems> - </macro_tar> - </target> - - <!-- ================================================================== --> - <!-- Doc --> - <!-- ================================================================== --> - <target name="docs" depends="forrest.check" description="Generate forrest-based documentation. To use, specify -Dforrest.home=&lt;base of Apache Forrest installation&gt; on the command line." if="forrest.home"> - <exec dir="${docs.src}" executable="${forrest.home}/bin/forrest" - failonerror="true"> - <env key="JAVA_HOME" value="${java5.home}"/> - </exec> - <copy todir="${build.docs}"> - <fileset dir="${docs.src}/build/site/" /> - </copy> - <delete dir="${docs.src}/build/"/> - </target> - - <target name="forrest.check" unless="forrest.home"> - <fail message="'forrest.home' is not defined. Please pass -Dforrest.home=&lt;base of Apache Forrest installation&gt; to Ant on the command-line." /> - </target> - - <!-- Javadoc --> - <target name="javadoc" description="Generate javadoc"> - <mkdir dir="${build.javadoc}" /> - <javadoc overview="${src.dir}/overview.html" packagenames="org.apache.hama.*" - destdir="${build.javadoc}" author="true" version="true" use="true" - windowtitle="${Name} ${version} API" doctitle="${Name} ${version} API" - bottom="Copyright &amp;copy; ${year} The Apache Software Foundation"> - <packageset dir="${src.dir}"> - <include name="org/apache/**" /> - </packageset> - <link href="${javadoc.link.java}" /> - <classpath> - <path refid="classpath" /> - <pathelement path="${java.class.path}" /> - </classpath> - <group title="${Name}" packages="org.apache.hama.*" /> - </javadoc> - </target> - - <!-- Javadoc with UML diagrams --> - <target name="javadocs" depends="compile"> - <javadoc sourcepath="${src.dir}" packagenames="org.apache.hama.*" destdir="${build.javadoc}" private="true"> - <doclet name="org.umlgraph.doclet.UmlGraphDoc" path="${lib.dir}/UmlGraph.jar"> - <param name="-inferrel"/> - <param name="-inferdep"/> - <param name="-hide" value="java.*"/> - <param name="-collpackages" value="java.util.*"/> - <param name="-qualify"/> - <param name="-postfixpackage"/> - <param name="-nodefontsize" value="9"/> - <param name="-nodefontpackagesize" value="7"/> - <param name="-link" value="http://java.sun.com/j2se/1.5.0/docs/guide/javadoc/doclet/spec"/> - <param name="-link" value="http://java.sun.com/j2se/1.5/docs/api"/> - </doclet> - </javadoc> - </target> - + + <property name="test.output" value="no" /> + <property name="test.timeout" value="600000" /> + + <property name="build.dir" location="${basedir}/build" /> + <property name="build.lib" location="${build.dir}/lib" /> + <property name="build.classes" location="${build.dir}/classes" /> + <property name="build.test" location="${build.dir}/test" /> + <property name="build.examples" location="${build.dir}/examples" /> + <property name="build.docs" value="${build.dir}/docs/site" /> + <property name="build.javadoc" value="${build.docs}/api" /> + <property name="build.encoding" value="ISO-8859-1" /> + <property name="build.src" value="${build.dir}/src" /> + + <property name="build.report" value="${build.dir}/reports" /> + <property name="build.report.findbugs" value="${build.report}/findbugs" /> + <property name="build.report.tests" value="${build.report}/tests" /> + + <property name="test.build.dir" value="${build.dir}/test" /> + <property name="test.junit.output.format" value="plain" /> + + <property name="dist.dir" value="${build.dir}/${final.name}" /> + + <property name="javac.deprecation" value="off" /> + <property name="javac.debug" value="on" /> + + <property name="javadoc.link.java" value="http://java.sun.com/javase/6/docs/api/" /> + <property name="javadoc.packages" value="org.apache.hama.*" /> + + <fileset id="lib.jars" dir="${basedir}" includes="lib/*.jar" /> + <path id="classpath"> + <fileset refid="lib.jars" /> + <fileset dir="${lib.dir}/findbugs/"> + <include name="*.jar" /> + </fileset> + <pathelement location="${build.classes}" /> + <pathelement location="${conf.dir}" /> + </path> + + <taskdef name="findbugs" classpathref="classpath" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" /> + + <target name="init"> + <mkdir dir="${build.dir}" /> + <mkdir dir="${build.classes}" /> + <mkdir dir="${build.test}" /> + <mkdir dir="${build.examples}" /> + <mkdir dir="${build.report.findbugs}" /> + <mkdir dir="${build.report.tests}" /> + <!--Copy bin, lib, and conf. too--> + <mkdir dir="${build.lib}" /> + <copy todir="${build.lib}"> + <fileset dir="${lib.dir}" /> + </copy> + </target> + + <!-- ================================================================== --> + <!-- Java Compiler Compiler, generate Parsers --> + <!-- ================================================================== --> + + <target name="compile" depends="init"> + <!--Compile whats under src and generated java classes made from jsp--> + <mkdir dir="${build.src}" /> + <javac encoding="${build.encoding}" srcdir="${src.dir};${build.src};${src.examples}" includes="**/*.java" destdir="${build.classes}" debug="${javac.debug}" deprecation="${javac.deprecation}"> + <classpath refid="classpath" /> + </javac> + </target> + + <target name="compile-examples" depends="compile"> + <javac encoding="${build.encoding}" srcdir="${src.examples}" includes="**/*.java" destdir="${build.examples}" debug="${javac.debug}" deprecation="${javac.deprecation}"> + <classpath refid="classpath" /> + </javac> + </target> + + <!-- Override jar target to specify main class --> + <target name="jar" depends="compile"> + <jar jarfile="${build.dir}/${final.name}.jar" basedir="${build.classes}"> + </jar> + </target> + + <target name="examples" depends="jar, compile-examples" description="Make the hama examples jar."> + <jar jarfile="${build.dir}/${final.name}-examples.jar" basedir="${build.examples}"> + <manifest> + <attribute name="Main-Class" value="org/apache/hama/examples/ExampleDriver" /> + </manifest> + </jar> + </target> + + <target name="package" depends="jar,javadoc,examples,compile-test" description="Build distribution"> + <mkdir dir="${dist.dir}" /> + <copy todir="${dist.dir}" includeEmptyDirs="false" flatten="true"> + <fileset dir="${build.dir}"> + <include name="${final.name}.jar" /> + <include name="${final.name}-test.jar" /> + </fileset> + </copy> + <mkdir dir="${dist.dir}/lib" /> + <copy todir="${dist.dir}/lib"> + <fileset dir="${build.lib}" /> + </copy> + <copy todir="${dist.dir}"> + <fileset dir="."> + <include name="*.txt" /> + </fileset> + </copy> + <mkdir dir="${dist.dir}/src" /> + <copy todir="${dist.dir}/src" includeEmptyDirs="true"> + <fileset dir="src" excludes="**/*.template **/docs/build/**/*" /> + </copy> + </target> + + <!-- ================================================================== --> + <!-- Make release tarball --> + <!-- ================================================================== --> + <macrodef name="macro_tar" description="Worker Macro for tar"> + <attribute name="param.destfile" /> + <element name="param.listofitems" /> + <sequential> + <tar compression="gzip" longfile="gnu" destfile="@{param.destfile}"> + <param.listofitems /> + </tar> + </sequential> + </macrodef> + <target name="tar" depends="package" description="Make release tarball"> + <macro_tar param.destfile="${build.dir}/${final.name}.tar.gz"> + <param.listofitems> + <tarfileset dir="${build.dir}" mode="664"> + <exclude name="${final.name}/bin/*" /> + <include name="${final.name}/**" /> + </tarfileset> + <tarfileset dir="${build.dir}" mode="755"> + <include name="${final.name}/bin/*" /> + </tarfileset> + </param.listofitems> + </macro_tar> + </target> + + <target name="binary" depends="package" description="Make tarball without source and documentation"> + <macro_tar param.destfile="${build.dir}/${final.name}-bin.tar.gz"> + <param.listofitems> + <tarfileset dir="${build.dir}" mode="664"> + <exclude name="${final.name}/bin/*" /> + <exclude name="${final.name}/src/**" /> + <exclude name="${final.name}/docs/**" /> + <include name="${final.name}/**" /> + </tarfileset> + <tarfileset dir="${build.dir}" mode="755"> + <include name="${final.name}/bin/*" /> + </tarfileset> + </param.listofitems> + </macro_tar> + </target> + + <!-- ================================================================== --> + <!-- Doc --> + <!-- ================================================================== --> + <target name="docs" depends="forrest.check" description="Generate forrest-based documentation. To use, specify -Dforrest.home=&lt;base of Apache Forrest installation&gt; on the command line." if="forrest.home"> + <exec dir="${docs.src}" executable="${forrest.home}/bin/forrest" failonerror="true"> + <env key="JAVA_HOME" value="${java5.home}" /> + </exec> + <copy todir="${build.docs}"> + <fileset dir="${docs.src}/build/site/" /> + </copy> + <delete dir="${docs.src}/build/" /> + </target> + + <target name="forrest.check" unless="forrest.home"> + <fail message="'forrest.home' is not defined. Please pass -Dforrest.home=&lt;base of Apache Forrest installation&gt; to Ant on the command-line." /> + </target> + + <!-- javadoc-classpath --> + <!-- This is going to stay back until we use a mechanism for automatic dependency management --> + <path id="javadoc-classpath"> + <fileset file="${lib.dir}/hadoop*.jar" /> + <fileset file="${lib.dir}/zookeeper*.jar" /> + <fileset file="${lib.dir}/commons*.jar" /> + <fileset file="${lib.dir}/log4j*.jar" /> + <fileset file="${lib.dir}/javacc.jar" /> + <fileset file="${lib.dir}/junit-3.8.1.jar" /> + </path> + + <!-- Javadoc --> + <target name="javadoc" description="Generate javadoc"> + <mkdir dir="${build.javadoc}" /> + <javadoc overview="${src.dir}/overview.html" packagenames="org.apache.hama.*" destdir="${build.javadoc}" author="true" version="true" use="true" windowtitle="${Name} ${version} API" doctitle="${Name} ${version} API" bottom="Copyright &amp;copy; ${year} The Apache Software Foundation"> + <packageset dir="${src.dir}"> + <include name="org/apache/**" /> + </packageset> + <link href="${javadoc.link.java}" /> + <classpath> + <path refid="javadoc-classpath" /> + </classpath> + <group title="${Name}" packages="org.apache.hama.*" /> + </javadoc> + </target> + + <!-- Javadoc with UML diagrams --> + <target name="javadocs" depends="compile"> + <javadoc sourcepath="${src.dir}" packagenames="org.apache.hama.*" destdir="${build.javadoc}" private="true"> + <doclet name="org.umlgraph.doclet.UmlGraphDoc" path="${lib.dir}/UmlGraph.jar"> + <param name="-inferrel" /> + <param name="-inferdep" /> + <param name="-hide" value="java.*" /> + <param name="-collpackages" value="java.util.*" /> + <param name="-qualify" /> + <param name="-postfixpackage" /> + <param name="-nodefontsize" value="9" /> + <param name="-nodefontpackagesize" value="7" /> + <param name="-link" value="http://java.sun.com/j2se/1.5.0/docs/guide/javadoc/doclet/spec" /> + <param name="-link" value="http://java.sun.com/j2se/1.5/docs/api" /> + </doclet> + </javadoc> + </target> + + <!-- ================================================================== --> + <!-- Run unit tests --> + <!-- ================================================================== --> + <path id="test.classpath"> + <pathelement location="${src.test}" /> + <pathelement location="${build.test}" /> + <path refid="classpath" /> + <pathelement location="${build.dir}" /> + </path> + + <target name="compile-test" depends="compile"> + <javac encoding="${build.encoding}" srcdir="${src.test}" includes="**/*.java" destdir="${build.test}" debug="${javac.debug}"> + <classpath refid="test.classpath" /> + </javac> + <jar jarfile="${build.dir}/${final.name}-test.jar"> + <fileset dir="${build.test}" includes="org/**" /> + <fileset dir="${build.classes}" /> + <fileset dir="${src.test}" includes="**/*.properties" /> + <manifest> + <attribute name="Main-Class" value="org/apache/hama/Utils" /> + </manifest> + </jar> + </target> + + <target name="test" depends="compile, compile-test"> + <junit printsummary="yes" showoutput="${test.output}" haltonfailure="no" fork="yes" maxmemory="512m" errorProperty="tests.failed" failureProperty="tests.failed" timeout="${test.timeout}"> + <classpath refid="test.classpath" /> + <formatter type="${test.junit.output.format}" /> + <batchtest todir="${build.report.tests}"> + <fileset dir="${src.test}" includes="**/Test*.java" excludes="**/${test.exclude}.java" /> + </batchtest> + </junit> + <fail if="tests.failed">Tests failed!</fail> + </target> + + <target name="findbugs" depends="init, jar"> + <findbugs home="${lib.dir}/findbugs" output="xml" outputFile="${build.report.findbugs}/hama-findbugs.xml" excludeFilter="${conf.dir}/findbugs-exclude-filter.xml" auxClasspathRef="classpath"> + <sourcePath path="${src.dir}" /> + <class location="${build.dir}/${final.name}.jar" /> + </findbugs> + </target> + + <target name="report" depends="findbugs,test"> + </target> + + <!-- ================================================================== --> + <!-- Clean. Delete the build files, and their directories --> <!-- ================================================================== --> - <!-- Run unit tests --> - <!-- ================================================================== --> - <path id="test.classpath"> - <pathelement location="${src.test}" /> - <pathelement location="${build.test}" /> - <path refid="classpath" /> - <pathelement location="${build.dir}" /> - </path> - - <target name="compile-test" depends="compile"> - <javac encoding="${build.encoding}" srcdir="${src.test}" - includes="**/*.java" destdir="${build.test}" debug="${javac.debug}"> - <classpath refid="test.classpath" /> - </javac> - <jar jarfile="${build.dir}/${final.name}-test.jar"> - <fileset dir="${build.test}" includes="org/**" /> - <fileset dir="${build.classes}" /> - <fileset dir="${src.test}" includes="**/*.properties" /> - <manifest> - <attribute name="Main-Class" value="org/apache/hama/Utils" /> - </manifest> - </jar> - </target> - - <target name="test" depends="compile, compile-test"> - <junit printsummary="yes" showoutput="${test.output}" haltonfailure="no" - fork="yes" maxmemory="512m" errorProperty="tests.failed" - failureProperty="tests.failed" timeout="${test.timeout}"> - <classpath refid="test.classpath" /> - <formatter type="${test.junit.output.format}" /> - <batchtest todir="${build.report.tests}"> - <fileset dir="${src.test}" includes="**/Test*.java" - excludes="**/${test.exclude}.java" /> - </batchtest> - </junit> - <fail if="tests.failed">Tests failed!</fail> - </target> - - <target name="findbugs" depends="init, jar"> - <findbugs home="${lib.dir}/findbugs" output="xml" - outputFile="${build.report.findbugs}/hama-findbugs.xml" - excludeFilter="${conf.dir}/findbugs-exclude-filter.xml" - auxClasspathRef="classpath"> - <sourcePath path="${src.dir}" /> - <class location="${build.dir}/${final.name}.jar" /> - </findbugs> - </target> - - <target name="report" depends="findbugs,test"></target> - - <!-- ================================================================== --> - <!-- Clean. Delete the build files, and their directories --> - <!-- ================================================================== --> - <target name="clean"> - <delete dir="${build.dir}" /> - </target> + <target name="clean"> + <delete dir="${build.dir}" /> + </target> </project> From [email protected] Mon Nov 01 05:02:42 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25207 invoked from network); 1 Nov 2010 05:02:41 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 1 Nov 2010 05:02:41 -0000 Received: (qmail 88820 invoked by uid 500); 1 Nov 2010 05:03:13 -0000 Delivered-To: [email protected] Received: (qmail 88759 invoked by uid 500); 1 Nov 2010 05:03:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 88750 invoked by uid 99); 1 Nov 2010 05:03:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Nov 2010 05:03:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Nov 2010 05:03:11 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D52CD2388A3B; Mon, 1 Nov 2010 05:02:14 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1029555 - /incubator/hama/nightly/hudsonBuildHamaPatch.sh Date: Mon, 01 Nov 2010 05:02:14 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: edwardyoon Date: Mon Nov 1 05:02:14 2010 New Revision: 1029555 URL: http://svn.apache.org/viewvc?rev=1029555&view=rev Log: Fixed wrong paths in patch build script Modified: incubator/hama/nightly/hudsonBuildHamaPatch.sh Modified: incubator/hama/nightly/hudsonBuildHamaPatch.sh URL: http://svn.apache.org/viewvc/incubator/hama/nightly/hudsonBuildHamaPatch.sh?rev=1029555&r1=1029554&r2=1029555&view=diff ============================================================================== --- incubator/hama/nightly/hudsonBuildHamaPatch.sh (original) +++ incubator/hama/nightly/hudsonBuildHamaPatch.sh Mon Nov 1 05:02:14 2010 @@ -20,11 +20,12 @@ JIRA_PASSWD=$4 SVN=/opt/subversion-current/bin/svn PS=/usr/ucb/ps WGET=/usr/sfw/bin/wget -GREP=/export/home/nigel/tools/grep/bin/grep -PATCH=/export/home/nigel/tools/patch/bin/patch -JIRA=/export/home/nigel/tools/jira_cli/src/cli/jira -FINDBUGS_HOME=/export/home/nigel/tools/findbugs/latest -FORREST_HOME=/export/home/nigel/tools/forrest/latest +GREP=/export/home/edwardyoon/tools/grep/bin/grep +PATCH=/export/home/edwardyoon/tools/patch/bin/patch +JIRA=/export/home/edwardyoon/tools/jira_cli/src/cli/jira +FINDBUGS_HOME=/export/home/edwardyoon/tools/findbugs/latest +FORREST_HOME=/export/home/edwardyoon/tools/forrest/latest +ANT_HOME=/home/hudson/tools/ant/latest ############################################################################### checkout () { @@ -179,8 +180,8 @@ checkJavadocWarnings () { echo "======================================================================" echo "" echo "" - $ANT_HOME/bin/ant -Dversion=${SVN_REVISION}_${defect}_PATCH-${patchNum} -DHamaPatchProcess= clean javadoc - javadocWarnings=`$GREP -c '\[javadoc\] [0-9]* warning' $WORKSPACE/../builds/$BUILD_ID/log` + $ANT_HOME/bin/ant -Dversion=${SVN_REVISION}_${defect}_PATCH-${patchNum} -DHamaPatchProcess= clean javadoc &> $PATCH_DIR/patchJavadocWarnings.txt + javadocWarnings=`$GREP -c '\[javadoc\] [0-9]* warning' $PATCH_DIR/patchJavadocWarnings.txt` echo "" echo "" echo "There appear to be $javadocWarnings javadoc warnings generated by the patched build." From [email protected] Mon Nov 01 05:55:36 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46794 invoked from network); 1 Nov 2010 05:55:36 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 1 Nov 2010 05:55:36 -0000 Received: (qmail 6466 invoked by uid 500); 1 Nov 2010 05:56:07 -0000 Delivered-To: [email protected] Received: (qmail 6433 invoked by uid 500); 1 Nov 2010 05:56:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6425 invoked by uid 99); 1 Nov 2010 05:56:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Nov 2010 05:56:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Nov 2010 05:56:04 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E2ED6238890D; Mon, 1 Nov 2010 05:55:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1029557 - /incubator/hama/nightly/hudsonBuildHamaPatch.sh Date: Mon, 01 Nov 2010 05:55:06 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: edwardyoon Date: Mon Nov 1 05:55:06 2010 New Revision: 1029557 URL: http://svn.apache.org/viewvc?rev=1029557&view=rev Log: Uncomment jira cli command Modified: incubator/hama/nightly/hudsonBuildHamaPatch.sh Modified: incubator/hama/nightly/hudsonBuildHamaPatch.sh URL: http://svn.apache.org/viewvc/incubator/hama/nightly/hudsonBuildHamaPatch.sh?rev=1029557&r1=1029556&r2=1029557&view=diff ============================================================================== --- incubator/hama/nightly/hudsonBuildHamaPatch.sh (original) +++ incubator/hama/nightly/hudsonBuildHamaPatch.sh Mon Nov 1 05:55:06 2010 @@ -410,10 +410,10 @@ $JIRA_COMMENT_FOOTER" echo "$comment" ### Update Jira with a comment - ### export USER=hudson - ### $JIRA -s issues.apache.org/jira login hamaqa $JIRA_PASSWD - ### $JIRA -s issues.apache.org/jira comment $defect "$comment" - ### $JIRA -s issues.apache.org/jira logout + export USER=hudson + $JIRA -s issues.apache.org/jira login hamaqa $JIRA_PASSWD + $JIRA -s issues.apache.org/jira comment $defect "$comment" + $JIRA -s issues.apache.org/jira logout } ############################################################################### From [email protected] Tue Nov 02 13:02:56 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84998 invoked from network); 2 Nov 2010 13:02:56 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Nov 2010 13:02:56 -0000 Received: (qmail 2106 invoked by uid 500); 2 Nov 2010 13:03:27 -0000 Delivered-To: [email protected] Received: (qmail 2069 invoked by uid 500); 2 Nov 2010 13:03:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 2061 invoked by uid 99); 2 Nov 2010 13:03:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Nov 2010 13:03:25 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Nov 2010 13:03:23 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0677D2388A40; Tue, 2 Nov 2010 13:01:56 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1030027 - /incubator/hama/trunk/lib/GroboTestingJUnit-1.2.1-core.jar Date: Tue, 02 Nov 2010 13:01:56 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: edwardyoon Date: Tue Nov 2 13:01:55 2010 New Revision: 1030027 URL: http://svn.apache.org/viewvc?rev=1030027&view=rev Log: Add grobotestingjunit to lib folder Added: incubator/hama/trunk/lib/GroboTestingJUnit-1.2.1-core.jar (with props) Added: incubator/hama/trunk/lib/GroboTestingJUnit-1.2.1-core.jar URL: http://svn.apache.org/viewvc/incubator/hama/trunk/lib/GroboTestingJUnit-1.2.1-core.jar?rev=1030027&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hama/trunk/lib/GroboTestingJUnit-1.2.1-core.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream From [email protected] Tue Nov 02 13:21:43 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1506 invoked from network); 2 Nov 2010 13:21:43 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Nov 2010 13:21:43 -0000 Received: (qmail 38385 invoked by uid 500); 2 Nov 2010 13:22:15 -0000 Delivered-To: [email protected] Received: (qmail 38346 invoked by uid 500); 2 Nov 2010 13:22:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 38337 invoked by uid 99); 2 Nov 2010 13:22:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Nov 2010 13:22:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Nov 2010 13:22:12 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id F387723888FD; Tue, 2 Nov 2010 13:20:58 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1030035 - in /incubator/hama/trunk: CHANGES.txt src/test/org/apache/hama/bsp/TestBSPPeer.java Date: Tue, 02 Nov 2010 13:20:58 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: edwardyoon Date: Tue Nov 2 13:20:58 2010 New Revision: 1030035 URL: http://svn.apache.org/viewvc?rev=1030035&view=rev Log: JUnit test threads with GroboTestingJUnit Modified: incubator/hama/trunk/CHANGES.txt incubator/hama/trunk/src/test/org/apache/hama/bsp/TestBSPPeer.java Modified: incubator/hama/trunk/CHANGES.txt URL: http://svn.apache.org/viewvc/incubator/hama/trunk/CHANGES.txt?rev=1030035&r1=1030034&r2=1030035&view=diff ============================================================================== --- incubator/hama/trunk/CHANGES.txt (original) +++ incubator/hama/trunk/CHANGES.txt Tue Nov 2 13:20:58 2010 @@ -50,6 +50,7 @@ Trunk (unreleased changes) IMPROVEMENTS + HAMA-322: JUnit test threads with GroboTestingJUnit (Filipe Manana via edwardyoon) HAMA-323: Remove generic warnings (edwardyoon) HAMA-254: Add news about rid of MapReduce and Hbase (edwardyoon) HAMA-320: Add twitter widget to website (edwardyoon) Modified: incubator/hama/trunk/src/test/org/apache/hama/bsp/TestBSPPeer.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/test/org/apache/hama/bsp/TestBSPPeer.java?rev=1030035&r1=1030034&r2=1030035&view=diff ============================================================================== --- incubator/hama/trunk/src/test/org/apache/hama/bsp/TestBSPPeer.java (original) +++ incubator/hama/trunk/src/test/org/apache/hama/bsp/TestBSPPeer.java Tue Nov 2 13:20:58 2010 @@ -28,6 +28,9 @@ import java.util.Set; import junit.framework.AssertionFailedError; +import net.sourceforge.groboutils.junit.v1.MultiThreadedTestRunner; +import net.sourceforge.groboutils.junit.v1.TestRunnable; + import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.conf.Configuration; @@ -81,11 +84,10 @@ public class TestBSPPeer extends HamaClu } } - public class BSPPeerThread extends Thread { + public class BSPPeerThread extends TestRunnable { private BSPPeer peer; private int MAXIMUM_DURATION = 5; private int lastTwoDigitsOfPort; - private int errorCount = 0; public BSPPeerThread(Configuration conf) throws IOException { lastTwoDigitsOfPort = conf.getInt(Constants.PEER_PORT, 0) - 30000; @@ -97,7 +99,8 @@ public class TestBSPPeer extends HamaClu peer.setAllPeerNames(peerNames); } - public void run() throws AssertionFailedError { + @Override + public void runTest() throws AssertionFailedError { int randomTime; byte[] dummyData = new byte[PAYLOAD]; BSPMessage msg = null; @@ -141,28 +144,18 @@ public class TestBSPPeer extends HamaClu LOG.info("[" + peer.getPeerName() + "] verifying " + numMessages + " messages"); - try { - if (lastTwoDigitsOfPort < 10) { - assertEquals(20, numMessages); - } else { - assertEquals(0, numMessages); - } - } catch (AssertionFailedError afe) { - LOG.error(afe); - errorCount++; + if (lastTwoDigitsOfPort < 10) { + assertEquals(20, numMessages); + } else { + assertEquals(0, numMessages); } BSPMessage msg = null; try { while ((msg = peer.getCurrentMessage()) != null) { - try { - assertEquals(Bytes.compareTo(msg.tag, 0, 128, msg.data, - msg.data.length - 128, 128), 0); - } catch (AssertionFailedError afe) { - LOG.error(afe); - errorCount++; - } + assertEquals(Bytes.compareTo(msg.tag, 0, 128, msg.data, + msg.data.length - 128, 128), 0); } } catch (IOException e) { LOG.error(e); @@ -174,37 +167,24 @@ public class TestBSPPeer extends HamaClu public BSPPeer getBSPPeer() { return this.peer; } - - public int getErrorCount() { - return this.errorCount; - } } - public void testSync() throws InterruptedException, IOException { + public void testSync() throws Throwable { - BSPPeerThread thread; conf.setInt("bsp.peers.num", NUM_PEER); conf.set(Constants.ZOOKEEPER_QUORUM, "localhost"); conf.set(Constants.PEER_HOST, "localhost"); conf.set(Constants.ZOOKEEPER_SERVER_ADDRS, "localhost:21810"); - for (int i = 0; i < NUM_PEER; i++) { - conf.set(Constants.PEER_PORT, String.valueOf(30000 + i)); - thread = new BSPPeerThread(conf); - list.add(thread); - } - - for (int i = 0; i < NUM_PEER; i++) { - list.get(i).start(); - } + TestRunnable[] threads = new TestRunnable[NUM_PEER]; for (int i = 0; i < NUM_PEER; i++) { - list.get(i).join(); + conf.set(Constants.PEER_PORT, String.valueOf(30000 + i)); + threads[i] = new BSPPeerThread(conf); } - for (int i = 0; i < NUM_PEER; i++) { - assertEquals(list.get(i).getErrorCount(), 0); - } + MultiThreadedTestRunner mttr = new MultiThreadedTestRunner(threads); + mttr.runTestRunnables(); } @Override From [email protected] Thu Nov 04 02:21:24 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56254 invoked from network); 4 Nov 2010 02:21:24 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 4 Nov 2010 02:21:24 -0000 Received: (qmail 3936 invoked by uid 500); 4 Nov 2010 02:21:56 -0000 Delivered-To: [email protected] Received: (qmail 3903 invoked by uid 500); 4 Nov 2010 02:21:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 3895 invoked by uid 99); 4 Nov 2010 02:21:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 02:21:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 02:21:52 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 621FE23888DD; Thu, 4 Nov 2010 02:20:37 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1030802 - in /incubator/hama/trunk: ./ conf/ src/java/ src/java/org/apache/hama/ src/java/org/apache/hama/bsp/ src/java/org/apache/hama/ipc/ src/java/org/apache/hama/util/ src/java/org/apache/hama/zookeeper/ Date: Thu, 04 Nov 2010 02:20:37 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: edwardyoon Date: Thu Nov 4 02:20:36 2010 New Revision: 1030802 URL: http://svn.apache.org/viewvc?rev=1030802&view=rev Log: Add package.html to each package and few comments Added: incubator/hama/trunk/src/java/org/apache/hama/ipc/package.html incubator/hama/trunk/src/java/org/apache/hama/zookeeper/package.html Modified: incubator/hama/trunk/CHANGES.txt incubator/hama/trunk/conf/hama-default.xml incubator/hama/trunk/src/java/org/apache/hama/BSPMasterRunner.java incubator/hama/trunk/src/java/org/apache/hama/GroomServerRunner.java incubator/hama/trunk/src/java/org/apache/hama/MiniZooKeeperCluster.java incubator/hama/trunk/src/java/org/apache/hama/ZooKeeperRunner.java incubator/hama/trunk/src/java/org/apache/hama/bsp/package.html incubator/hama/trunk/src/java/org/apache/hama/util/package.html incubator/hama/trunk/src/java/overview.html Modified: incubator/hama/trunk/CHANGES.txt URL: http://svn.apache.org/viewvc/incubator/hama/trunk/CHANGES.txt?rev=1030802&r1=1030801&r2=1030802&view=diff ============================================================================== --- incubator/hama/trunk/CHANGES.txt (original) +++ incubator/hama/trunk/CHANGES.txt Thu Nov 4 02:20:36 2010 @@ -50,6 +50,7 @@ Trunk (unreleased changes) IMPROVEMENTS + HAMA-325: Add package.html to each package and few comments (edwardyoon) HAMA-322: JUnit test threads with GroboTestingJUnit (Filipe Manana via edwardyoon) HAMA-323: Remove generic warnings (edwardyoon) HAMA-254: Add news about rid of MapReduce and Hbase (edwardyoon) Modified: incubator/hama/trunk/conf/hama-default.xml URL: http://svn.apache.org/viewvc/incubator/hama/trunk/conf/hama-default.xml?rev=1030802&r1=1030801&r2=1030802&view=diff ============================================================================== --- incubator/hama/trunk/conf/hama-default.xml (original) +++ incubator/hama/trunk/conf/hama-default.xml Thu Nov 4 02:20:36 2010 @@ -126,7 +126,7 @@ For example, "host1.mydomain.com,host2.mydomain.com,host3.mydomain.com". By default this is set to localhost for local and pseudo-distributed modes of operation. For a fully-distributed setup, this should be set to a full - list of ZooKeeper quorum servers. If HBASE_MANAGES_ZK is set in hbase-env.sh + list of ZooKeeper quorum servers. If HAMA_MANAGES_ZK is set in hama-env.sh this is the list of servers which we will start/stop ZooKeeper on. </description> </property> Modified: incubator/hama/trunk/src/java/org/apache/hama/BSPMasterRunner.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/BSPMasterRunner.java?rev=1030802&r1=1030801&r2=1030802&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/BSPMasterRunner.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/BSPMasterRunner.java Thu Nov 4 02:20:36 2010 @@ -25,6 +25,9 @@ import org.apache.hadoop.util.Tool; import org.apache.hadoop.util.ToolRunner; import org.apache.hama.bsp.BSPMaster; +/** + * This class starts and runs the BSPMaster + */ public class BSPMasterRunner extends Configured implements Tool { public static final Log LOG = LogFactory.getLog(BSPMasterRunner.class); Modified: incubator/hama/trunk/src/java/org/apache/hama/GroomServerRunner.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/GroomServerRunner.java?rev=1030802&r1=1030801&r2=1030802&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/GroomServerRunner.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/GroomServerRunner.java Thu Nov 4 02:20:36 2010 @@ -26,6 +26,9 @@ import org.apache.hadoop.util.Tool; import org.apache.hadoop.util.ToolRunner; import org.apache.hama.bsp.GroomServer; +/** + * This class starts and runs the GroomServer + */ public class GroomServerRunner extends Configured implements Tool { public static final Log LOG = LogFactory.getLog(GroomServerRunner.class); Modified: incubator/hama/trunk/src/java/org/apache/hama/MiniZooKeeperCluster.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/MiniZooKeeperCluster.java?rev=1030802&r1=1030801&r2=1030802&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/MiniZooKeeperCluster.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/MiniZooKeeperCluster.java Thu Nov 4 02:20:36 2010 @@ -1,3 +1,20 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.hama; import java.io.BufferedReader; Modified: incubator/hama/trunk/src/java/org/apache/hama/ZooKeeperRunner.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/ZooKeeperRunner.java?rev=1030802&r1=1030801&r2=1030802&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/ZooKeeperRunner.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/ZooKeeperRunner.java Thu Nov 4 02:20:36 2010 @@ -24,6 +24,9 @@ import org.apache.hadoop.util.Tool; import org.apache.hadoop.util.ToolRunner; import org.apache.hama.zookeeper.QuorumPeer; +/** + * This class starts and runs the ZooKeeperServer + */ public class ZooKeeperRunner extends Configured implements Tool { public static final Log LOG = LogFactory.getLog(ZooKeeperRunner.class); Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/package.html URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/package.html?rev=1030802&r1=1030801&r2=1030802&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/bsp/package.html (original) +++ incubator/hama/trunk/src/java/org/apache/hama/bsp/package.html Thu Nov 4 02:20:36 2010 @@ -18,6 +18,6 @@ --> <body> -BSP package of Hama is a framework for developing BSP-style applications +BSP computing framework. </body> </html> Added: incubator/hama/trunk/src/java/org/apache/hama/ipc/package.html URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/ipc/package.html?rev=1030802&view=auto ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/ipc/package.html (added) +++ incubator/hama/trunk/src/java/org/apache/hama/ipc/package.html Thu Nov 4 02:20:36 2010 @@ -0,0 +1,23 @@ +<html> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<body> +Tools to help define network clients and servers. +</body> +</html> Modified: incubator/hama/trunk/src/java/org/apache/hama/util/package.html URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/util/package.html?rev=1030802&r1=1030801&r2=1030802&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/util/package.html (original) +++ incubator/hama/trunk/src/java/org/apache/hama/util/package.html Thu Nov 4 02:20:36 2010 @@ -18,6 +18,6 @@ --> <body> -Numerical and variable utilities +Common utilities. </body> </html> Added: incubator/hama/trunk/src/java/org/apache/hama/zookeeper/package.html URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/zookeeper/package.html?rev=1030802&view=auto ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/zookeeper/package.html (added) +++ incubator/hama/trunk/src/java/org/apache/hama/zookeeper/package.html Thu Nov 4 02:20:36 2010 @@ -0,0 +1,23 @@ +<html> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<body> +Tools to start the ZooKeeper server and quorum peers. +</body> +</html> Modified: incubator/hama/trunk/src/java/overview.html URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/overview.html?rev=1030802&r1=1030801&r2=1030802&view=diff ============================================================================== --- incubator/hama/trunk/src/java/overview.html (original) +++ incubator/hama/trunk/src/java/overview.html Thu Nov 4 02:20:36 2010 @@ -18,6 +18,6 @@ --> <body> -The Hama Overview +The Hama Overview. </body> </html> From [email protected] Mon Nov 08 06:15:42 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10983 invoked from network); 8 Nov 2010 06:15:41 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 8 Nov 2010 06:15:41 -0000 Received: (qmail 28312 invoked by uid 500); 8 Nov 2010 06:16:13 -0000 Delivered-To: [email protected] Received: (qmail 28267 invoked by uid 500); 8 Nov 2010 06:16:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 28257 invoked by uid 99); 8 Nov 2010 06:16:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 06:16:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 06:16:07 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 4C81E23888DD; Mon, 8 Nov 2010 06:14:53 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1032467 - in /incubator/hama/trunk: CHANGES.txt src/examples/org/apache/hama/examples/SerializePrinting.java src/java/org/apache/hama/bsp/BSPTaskRunner.java src/java/org/apache/hama/bsp/GroomServer.java Date: Mon, 08 Nov 2010 06:14:53 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: edwardyoon Date: Mon Nov 8 06:14:52 2010 New Revision: 1032467 URL: http://svn.apache.org/viewvc?rev=1032467&view=rev Log: GroomServer should wait until a job finishes Modified: incubator/hama/trunk/CHANGES.txt incubator/hama/trunk/src/examples/org/apache/hama/examples/SerializePrinting.java incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPTaskRunner.java incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServer.java Modified: incubator/hama/trunk/CHANGES.txt URL: http://svn.apache.org/viewvc/incubator/hama/trunk/CHANGES.txt?rev=1032467&r1=1032466&r2=1032467&view=diff ============================================================================== --- incubator/hama/trunk/CHANGES.txt (original) +++ incubator/hama/trunk/CHANGES.txt Mon Nov 8 06:14:52 2010 @@ -177,6 +177,7 @@ Trunk (unreleased changes) BUG FIXES + HAMA-326: GroomServer should wait until a job finishes (edwardyoon) HAMA-324: Removing javadoc warnings and useless libraries (edwardyoon) HAMA-322: Make sure failed assertions on test threads are reported (Filipe Manana via edwardyoon) Modified: incubator/hama/trunk/src/examples/org/apache/hama/examples/SerializePrinting.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/examples/org/apache/hama/examples/SerializePrinting.java?rev=1032467&r1=1032466&r2=1032467&view=diff ============================================================================== --- incubator/hama/trunk/src/examples/org/apache/hama/examples/SerializePrinting.java (original) +++ incubator/hama/trunk/src/examples/org/apache/hama/examples/SerializePrinting.java Mon Nov 8 06:14:52 2010 @@ -34,6 +34,7 @@ public class SerializePrinting { public static class HelloBSP extends BSP { public static final Log LOG = LogFactory.getLog(HelloBSP.class); private Configuration conf; + private final static int PRINT_INTERVAL = 5000; @Override public void bsp(BSPPeer bspPeer) throws IOException, KeeperException, @@ -47,7 +48,7 @@ public class SerializePrinting { + bspPeer.getPeerName()); } - Thread.sleep(200); + Thread.sleep(PRINT_INTERVAL); bspPeer.sync(); i++; } Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPTaskRunner.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPTaskRunner.java?rev=1032467&r1=1032466&r2=1032467&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPTaskRunner.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPTaskRunner.java Mon Nov 8 06:14:52 2010 @@ -56,6 +56,13 @@ public class BSPTaskRunner extends Threa } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); + } finally { + try { + finalize(); + } catch (Throwable e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } } } Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServer.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServer.java?rev=1032467&r1=1032466&r2=1032467&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServer.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServer.java Mon Nov 8 06:14:52 2010 @@ -545,9 +545,9 @@ public class GroomServer implements Runn e.printStackTrace(); } - // If local/outgoing queues are empty, task is done. if (bspPeer.localQueue.size() == 0 - && bspPeer.outgoingQueues.size() == 0) { + && bspPeer.outgoingQueues.size() == 0 + && !runner.isAlive()) { taskStatus.setRunState(TaskStatus.State.SUCCEEDED); acceptNewTasks = true; break; From [email protected] Mon Nov 08 06:17:54 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11306 invoked from network); 8 Nov 2010 06:17:54 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 8 Nov 2010 06:17:54 -0000 Received: (qmail 29134 invoked by uid 500); 8 Nov 2010 06:18:25 -0000 Delivered-To: [email protected] Received: (qmail 29091 invoked by uid 500); 8 Nov 2010 06:18:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 29083 invoked by uid 99); 8 Nov 2010 06:18:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 06:18:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 06:18:23 +0000 Received: from eosnew.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id AB056AC8 for <[email protected]>; Mon, 8 Nov 2010 06:17:47 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki <[email protected]> To: Apache Wiki <[email protected]> Date: Mon, 08 Nov 2010 06:17:47 -0000 Message-ID: <[email protected]> Subject: =?utf-8?q?=5BHama_Wiki=5D_Trivial_Update_of_=22SerializePrinting=22_by_ed?= =?utf-8?q?wardyoon?= Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hama Wiki" for chan= ge notification. The "SerializePrinting" page has been changed by edwardyoon. http://wiki.apache.org/hama/SerializePrinting?action=3Ddiff&rev1=3D8&rev2= =3D9 -------------------------------------------------- Each BSP task of the HAMA cluster, will print the string "Hello BSP" in s= erial order. This example will help you to understand the concepts of the BSP computin= g model. = - * Each task gets its own hostname (hostname:port pair) and a sorted list= containing the hostnames of all the other peers + * Each task gets its own hostname (hostname:port pair) and a sorted list= containing the hostnames of all the other peers. - * Each task prints the LOG string "Hello BSP" only when its turn comes + * Each task prints the LOG string "Hello BSP" only when its turn comes a= t intervals of 5 seconds. = =3D=3D=3D Sequence Diagram =3D=3D=3D = @@ -22, +22 @@ public static class HelloBSP extends BSP { public static final Log LOG =3D LogFactory.getLog(HelloBSP.class); private Configuration conf; + private final static int PRINT_INTERVAL =3D 5000; = @Override public void bsp(BSPPeer bspPeer) throws IOException, KeeperException, @@ -35, +36 @@ + bspPeer.getPeerName()); } = - Thread.sleep(200); + Thread.sleep(PRINT_INTERVAL); bspPeer.sync(); i++; } From [email protected] Mon Nov 08 08:07:49 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61193 invoked from network); 8 Nov 2010 08:07:49 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 8 Nov 2010 08:07:49 -0000 Received: (qmail 5526 invoked by uid 500); 8 Nov 2010 08:08:20 -0000 Delivered-To: [email protected] Received: (qmail 5492 invoked by uid 500); 8 Nov 2010 08:08:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 5484 invoked by uid 99); 8 Nov 2010 08:08:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 08:08:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 08:08:16 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 4630723889D7; Mon, 8 Nov 2010 08:07:03 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1032483 - in /incubator/hama/trunk: CHANGES.txt src/java/overview.html Date: Mon, 08 Nov 2010 08:07:03 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: edwardyoon Date: Mon Nov 8 08:07:02 2010 New Revision: 1032483 URL: http://svn.apache.org/viewvc?rev=1032483&view=rev Log: Add overview for javadoc Modified: incubator/hama/trunk/CHANGES.txt incubator/hama/trunk/src/java/overview.html Modified: incubator/hama/trunk/CHANGES.txt URL: http://svn.apache.org/viewvc/incubator/hama/trunk/CHANGES.txt?rev=1032483&r1=1032482&r2=1032483&view=diff ============================================================================== --- incubator/hama/trunk/CHANGES.txt (original) +++ incubator/hama/trunk/CHANGES.txt Mon Nov 8 08:07:02 2010 @@ -50,6 +50,7 @@ Trunk (unreleased changes) IMPROVEMENTS + HAMA-327: Add overview for javadoc (edwardyoon) HAMA-325: Add package.html to each package and few comments (edwardyoon) HAMA-322: JUnit test threads with GroboTestingJUnit (Filipe Manana via edwardyoon) HAMA-323: Remove generic warnings (edwardyoon) Modified: incubator/hama/trunk/src/java/overview.html URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/overview.html?rev=1032483&r1=1032482&r2=1032483&view=diff ============================================================================== --- incubator/hama/trunk/src/java/overview.html (original) +++ incubator/hama/trunk/src/java/overview.html Mon Nov 8 08:07:02 2010 @@ -17,7 +17,119 @@ limitations under the License. --> +<head> + <title>Hama</title> +</head> <body> -The Hama Overview. +Hama is a distributed computing framework based on BSP (Bulk Synchronous Parallel) computing techniques for massive scientific computations. + +<h2 id="Requirements">Requirements</h2> +<ul> +<li>hadoop-0.20.x for HDFS<span class="anchor" id="line-10"></li> +<li>Sun Java JDK 1.5.x or higher version</li> +</ul> + +<h2 id="Startup_script">Startup script</h2> +The <i>$HAMA_HOME/bin</i> directory contains some script used to start up the Hama daemons. +<ul> +<li> +<i>start-bspd.sh</i> - Starts all Hama daemons, the BSPMaster, GroomServers and Zookeeper. +</li> +</ul> + +<h2 id="Configuration_files">Configuration files</h2> + +The <i>$HAMA_HOME/conf</i> directory contains some configuration files for Hama. These are: +<ul> +<li> +<i>hama-env.sh</i> - This file contains some environment variable settings used by Hama. You can use these to affect some aspects of Hama daemon behavior, +such as where log files are stored, the maximum amount of heap used etc. The only variable you should need to change in this file is JAVA_HOME, +which specifies the path to the Java 1.5.x installation used by Hama. +</li> +<li> +<i>groomservers</i> - This file lists the hosts, one per line, where the GroomServer daemons will run. By default this contains the single entry localhost.</li> +<li> +<i>hama-default.xml</i> - This file contains generic default settings for Hama daemons.&nbsp;<strong>Do not modify this file</strong>. +</li> +<li> +<i>hama-site.xml</i> - This file contains site specific settings for all Hama daemons and BSP jobs. +This file is empty by default. Settings in this file override those in hama-default.xml. +This file should contain settings that must be respected by all servers and clients in a Hama installation. +</li> +</ul> +<div class="line867"> +</div> +<h2 id="Setting_up_Hama">Setting up Hama</h2> +This section describes how to get started by setting up a Hama cluster. +<ul> +<li> +<strong>BSPMaster and Zookeeper settings</strong> - Figure out where to run your HDFS namenode and BSPMaster. +Set the variable <i>bsp.master.address</i> to the BSPMaster's intended host:port. +Set the variable <i>fs.default.name</i> to the HDFS Namenode's intended host:port. +</li> +</ul> + +An example of a hama-site.xml file: +<pre style="background-color: #f3f5f7; border-bottom-color: rgb(174, 189, 204); border-bottom-style: solid; border-bottom-width: 1pt; border-left-color: rgb(174, 189, 204); border-left-style: solid; border-left-width: 1pt; border-right-color: rgb(174, 189, 204); border-right-style: solid; border-right-width: 1pt; border-top-color: rgb(174, 189, 204); border-top-style: solid; border-top-width: 1pt; font-family: courier, monospace; padding-bottom: 5pt; padding-left: 5pt; padding-right: 5pt; padding-top: 5pt; white-space: pre-wrap; word-wrap: break-word;"> +&lt;!--?xml version="1.0"?--&gt; +&lt;!--?xml-stylesheet type="text/xsl" href="configuration.xsl"?--&gt; +&lt;configuration&gt; + &lt;property&gt; + &lt;name&gt;bsp.master.address&lt;/name&gt; + &lt;value&gt;mydomain.com:40000&lt;/value&gt; + &lt;description&gt;The address of the bsp master server. Either the + literal string "local" or a host:port for distributed mode + &lt;/description&gt; + &lt;/property&gt; + + &lt;property&gt; + &lt;name&gt;fs.default.name&lt;/name&gt; + &lt;value&gt;hdfs://mydomain.com:9000/&lt;/value&gt; + &lt;description&gt; + The name of the default file system. Either the literal string + "local" or a host:port for HDFS. + &lt;/description&gt; + &lt;/property&gt; + + &lt;property&gt; + &lt;name&gt;hama.zookeeper.quorum&lt;/name&gt; + &lt;value&gt;mydomain.com&lt;/value&gt; + &lt;description&gt;Comma separated list of servers in the ZooKeeper Quorum. + For example, "host1.mydomain.com,host2.mydomain.com,host3.mydomain.com". + By default this is set to localhost for local and pseudo-distributed modes + of operation. For a fully-distributed setup, this should be set to a full + list of ZooKeeper quorum servers. If HAMA_MANAGES_ZK is set in hama-env.sh + this is the list of servers which we will start/stop zookeeper on. + &lt;/description&gt; + &lt;/property&gt; +&lt;/configuration&gt; +</pre> + +<h3 id="Starting_a_Hama_cluster">Starting a Hama cluster</h3> + +Run the command: +<pre style="background-color: #f3f5f7; border-bottom-color: rgb(174, 189, 204); border-bottom-style: solid; border-bottom-width: 1pt; border-left-color: rgb(174, 189, 204); border-left-style: solid; border-left-width: 1pt; border-right-color: rgb(174, 189, 204); border-right-style: solid; border-right-width: 1pt; border-top-color: rgb(174, 189, 204); border-top-style: solid; border-top-width: 1pt; font-family: courier, monospace; padding-bottom: 5pt; padding-left: 5pt; padding-right: 5pt; padding-top: 5pt; white-space: pre-wrap; word-wrap: break-word;"> + # $HAMA_HOME/bin/start-bspd.sh +</pre> + +This will startup a BSPMaster, GroomServers and Zookeeper on your machine. + +<h3 id="Stopping_a_Hama_cluster">Stopping a Hama cluster</h3> + +Run the command: +<pre style="background-color: #f3f5f7; border-bottom-color: rgb(174, 189, 204); border-bottom-style: solid; border-bottom-width: 1pt; border-left-color: rgb(174, 189, 204); border-left-style: solid; border-left-width: 1pt; border-right-color: rgb(174, 189, 204); border-right-style: solid; border-right-width: 1pt; border-top-color: rgb(174, 189, 204); border-top-style: solid; border-top-width: 1pt; font-family: courier, monospace; padding-bottom: 5pt; padding-left: 5pt; padding-right: 5pt; padding-top: 5pt; white-space: pre-wrap; word-wrap: break-word;"> + # $HAMA_HOME/bin/stop-bspd.sh +</pre> + +to stop all the daemons running on your cluster. + + +<h2 id="Run_the_BSP_Examples">Run the BSP Examples</h2> +Run the command: +<pre style="background-color: #f3f5f7; border-bottom-color: rgb(174, 189, 204); border-bottom-style: solid; border-bottom-width: 1pt; border-left-color: rgb(174, 189, 204); border-left-style: solid; border-left-width: 1pt; border-right-color: rgb(174, 189, 204); border-right-style: solid; border-right-width: 1pt; border-top-color: rgb(174, 189, 204); border-top-style: solid; border-top-width: 1pt; font-family: courier, monospace; padding-bottom: 5pt; padding-left: 5pt; padding-right: 5pt; padding-top: 5pt; white-space: pre-wrap; word-wrap: break-word;"> + # $HAMA_HOME/bin/hama jar build/hama-0.2.0-dev-examples.jar pi or test +</pre> + </body> </html> + From [email protected] Mon Nov 08 08:37:55 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69234 invoked from network); 8 Nov 2010 08:37:55 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 8 Nov 2010 08:37:55 -0000 Received: (qmail 28670 invoked by uid 500); 8 Nov 2010 08:38:26 -0000 Delivered-To: [email protected] Received: (qmail 28633 invoked by uid 500); 8 Nov 2010 08:38:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 28625 invoked by uid 99); 8 Nov 2010 08:38:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 08:38:25 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 08:38:21 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C1A9823888EC; Mon, 8 Nov 2010 08:37:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1032494 - in /incubator/hama: site/author/src/documentation/content/xdocs/index.xml site/publish/index.html site/publish/index.pdf trunk/src/docs/src/documentation/content/xdocs/index.xml Date: Mon, 08 Nov 2010 08:37:05 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: edwardyoon Date: Mon Nov 8 08:37:05 2010 New Revision: 1032494 URL: http://svn.apache.org/viewvc?rev=1032494&view=rev Log: Fix typos on website. Modified: incubator/hama/site/author/src/documentation/content/xdocs/index.xml incubator/hama/site/publish/index.html incubator/hama/site/publish/index.pdf incubator/hama/trunk/src/docs/src/documentation/content/xdocs/index.xml Modified: incubator/hama/site/author/src/documentation/content/xdocs/index.xml URL: http://svn.apache.org/viewvc/incubator/hama/site/author/src/documentation/content/xdocs/index.xml?rev=1032494&r1=1032493&r2=1032494&view=diff ============================================================================== --- incubator/hama/site/author/src/documentation/content/xdocs/index.xml (original) +++ incubator/hama/site/author/src/documentation/content/xdocs/index.xml Mon Nov 8 08:37:05 2010 @@ -59,7 +59,6 @@ new TWTR.Widget({ } }).render().start(); </script> - <section> <title>Recent News</title> <ul> @@ -79,9 +78,8 @@ new TWTR.Widget({ <section> <title> Overview </title> <p> - <strong>Hama</strong> Apache Hama is a distributed computing framework based on - BSP (Bulk Synchronous Parallel) computing techniques for massive scientific computations (e.g., matrix, graph, network, ..., etc), - currently being incubated as one of the incubator project by the Apache Software Foundation. + <strong>Hama</strong> is a distributed computing framework based on + BSP (Bulk Synchronous Parallel) computing techniques for massive scientific computations. </p> </section> Modified: incubator/hama/site/publish/index.html URL: http://svn.apache.org/viewvc/incubator/hama/site/publish/index.html?rev=1032494&r1=1032493&r2=1032494&view=diff ============================================================================== --- incubator/hama/site/publish/index.html (original) +++ incubator/hama/site/publish/index.html Mon Nov 8 08:37:05 2010 @@ -216,7 +216,6 @@ new TWTR.Widget({ } }).render().start(); </script> - <a name="N10013"></a><a name="Recent+News"></a> <h2 class="h3">Recent News</h2> <div class="section"> @@ -248,9 +247,8 @@ new TWTR.Widget({ <div class="section"> <p> -<strong>Hama</strong> Apache Hama is a distributed computing framework based on - BSP (Bulk Synchronous Parallel) computing techniques for massive scientific computations (e.g., matrix, graph, network, ..., etc), - currently being incubated as one of the incubator project by the Apache Software Foundation. +<strong>Hama</strong> is a distributed computing framework based on + BSP (Bulk Synchronous Parallel) computing techniques for massive scientific computations. </p> </div> Modified: incubator/hama/site/publish/index.pdf URL: http://svn.apache.org/viewvc/incubator/hama/site/publish/index.pdf?rev=1032494&r1=1032493&r2=1032494&view=diff ============================================================================== --- incubator/hama/site/publish/index.pdf (original) +++ incubator/hama/site/publish/index.pdf Mon Nov 8 08:37:05 2010 @@ -69,10 +69,10 @@ endobj >> endobj 16 0 obj -<< /Length 2452 /Filter [ /ASCII85Decode /FlateDecode ] +<< /Length 2348 /Filter [ /ASCII85Decode /FlateDecode ] >> stream -GatU5968iG&AII3nCDh2@0l?+p(k88S4o-DQDZa]3RAHcZ_e"o%kIYR?+tgm?]s.5N%MitDa,dr(VA&Uh<OBSh]Rqn)0ai#AaEI9Yi(9RJH^+dA"1F1N4Zdnr=q%?N&T7gk?m'9Lo7'fJ)Q1B_Y@QpI9Kq6Xo8?c)X5/>7BmksH(NtOCYo9=FGu_/&$%orQSeeQ&D@cDPuH;AgfF/4V/D(gp:WOk:Ft''3.<B^k*][k>HcS->/X=62je^qB&%hh<eOUf&9r`iR++(g#.4N]F(mk$(m`9Kh`)J=FrQug^,$HRM4o1MK_o^XjZipHKP`?@*!,9h!Pf1=gN$m,HD4#.&^>R?o8Y9n$gQ(K;ltHV$Y@^>MKi1m%@S_YG&.iL$lm7<#'UIAZYV09'Ut08f@P'NFTo0BDc,O3^`*7VE+ic'5k:.kMWe%aWm-g]c]QbOpP*2*79r92_0Q*ShFV7CTH`-Fbp:[;Coq@'-t@ed:48Kh_/Ya5,5P$p:W9*MA@bV%AXqW`!T8#s$r#,FdAJHk5#0n0'[qR0`ms7C5l!3s;7q^eqRhA59K,(n@U;a3p`*nTHrEH>3_U.>c"1"Ms*^M$7)q0af3#t+Nkc%HJG/#%6;\pT'A`4u1T+$dYE,2+ko5Ipb<\8[9pa+^99-]Qij]dbT?)'d:p'XMiDQ++\T"s%kI?]`+`;Gdn$;l@)b[`j00))I3%]2KHbp!5WR'ZNT=]DWZOfSYr*`<#,B-/"XIhK6oHf1EdH15jCuX(95p7P4$:b*mH3!FX"1[2=JBYo/;"93tO_bNtB$(PsY$,`bo`J5&S`9qt^cM,FTX<E;E9%F\B[0uh7ruj;h!i.jpOhU)qSE-2b:7d8j7Q%`4m!q''hUAk_`UU*T%m\O\L`]2_VHYTKeWimYW$VsY<FAdEaZcK-Vd8b&joeNgMA6497a./a.jDj!^5kV5eu]\[b=^b9&tZiB>l4DC+ZG*-gXC^o88\#;fP'JrAfh #n0-cR`jb>>V?bY,l]_1:X@ilWX=`.d:F`^s"PPuJ_5pC;"fN]tP0/os[N*5ZM-(=U^=%ogQKu<"bYckDCE8=6)2f#K#[RbDkY[5NR%fu>9GDIqns?>FW/"C=O(TRo33RP+"o8SkF81?8p_8Lt_^X_X)H@:kliuR5cW=lN(d=_FcU)C_8hk-.:asjM:K&bcE:niIFq1OH75AZF0sC].kl"eZjl12"Q-.IR9@aPHCoC<I=!OIMq2]0[5KE[UgD.>dCYB=r?!$BD[qK'P5CKh45bO8/7c!.dd6dZaW5(1W"uakgMK9;shS_jN`t+GY<0>gG<>h\r27:]H4[218NfF=d:L)\LKJe#kBa<+)fk72>dm*YcRUB4fkV8(sWGj<"`GW6tM^$0d=[:f6QLQknL;748MmU:l\[aM':\+6be*Zu"6SRRs'N;V+bT>.kj^i9o1h2t$)Y#So^HghXb&cL.]\mJM[bZ5Bero'*,"3HjSOGOP3jK$)@g)%ERG>ML_$dmBCR@Ij>`3HE#]WH5?<$0d1%ipbFJ,r2TX&@_fI.@sn5=I_FW'>$2.e&]JXEkJejlTI%Gn/*J_#]]n@MI"N=Oc"b*#1"hPsH$K+Q'oL_jo]5gNV2!i6.JO'W#KK*,M'F;p1q]UCBb1X]g@]g6JEGaK^g7Q25D`ROcdLIY(iS)ni8k38E4J\%9M>:)%Y?pb3U4jRR.&<a+/7<HEP;3_er1@\J%MAGMjLeg-g2HWaCf]tI?WqI"?Vn'>I6H"%NQ-PP^InZJ'o"<oD[R3aN3PD&kqY(;FDUZ%>S(P)kHQX[O)+UH2;#LI?.P3Yf8hH,/nGiMa)Slm33*Y(3I`:Moa3t=(C5pMsW2<4LUigObrRQ*<$'08-4kN.HmI".P/)!/dRIRqK$]]CO_srJhh%sO]7nr[r<^?'//NE3JmuX36MI2G+((+oKj01<hc!#_l9%G!>4]O\4)B@YATs(68DK7kXFkr(f<6h$+*\U A%K,\ft;`[`P/%(_/NZma4"D!IAZ$?UH<f/*,[D0t6?(o0eMVMc3@gI8Y6#GHCo3A+?id-=6Gl#h0*ZcebX*.A!#\"oQ6NloC3+XC]MKoH*TE]/",rHnII6@SGI:SO?M"["aB3!WgI5M+B>"l:]CU2QS+GPoA:'C*/JNtA2SCY_/ZnTkLp+u`N5cD*6_X19lc[A#9e5kmJbPK6jC^B"2D4&R6W*ZJ?7;T"k=a-ZWJ6_DLbIY\)C]HaQ^St+ke!6Y`m]MF+*:c-DUdn7Vr\erhh2()V!R,AtLI.BTTR/!H8^q#k5*57sg>@C#fG=X16=+cd6G']&+KuU<m>;FTIY!.*A#m<WmWcjO4jn?X^pj9&db!o!QMN#`(U6$91E#j+(KYNo14eU,&13'n5$MSOH+\K?/nLY4*?B9Z)YHlJmAPC#BEtR:BZIX^BP.PB7jjTJC=)/sd$PV3LZ6QX[egjZZ/D_~> +GatU599\*g%)2U?kgj:A;+-;+W8=i7c"ib)?10V*,R:G>He#Mm=-%Luh\USOeB<"sR7Tf$q!\:e6%H\\>J5LO>D1[iFgkL6eojJ5#Q>8bE+$t$Y"`0I]%^HH?4d"1onr<Trl)!uA6S3eB6h^.>!K+#O/nb^e_bmT+h_);-n_i[k?4lmq^N.8ZSH7NYPqX0<<S+HBLBRacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b]c]7e_+!H&M_!/K_)BNbAT`h[$=F6*kX'TCm^q`6k>]QurLCh7g3r6o]?$G_!nPl<AUn3e?[<g.gob`tmI>Nn1crUQs*4Q=eZWBO:/FI5n!BTE/#DR7f#"!9SS-E!+j;fIT9X<"!H8#C2D6b7qu#A[KG+CELDuHSg[*Gpm3^Ar7Ia?/jT>dsPF,\%o\ua$#)foASioAko&!T[N$UC)d>#"+UA0NQ_Ls4F9@goQmFXpfd(JaI:J&M`GlVf+;>o*WW-_(0N5faYq1OP3;nSd^/;)0u2.6+"#8=>V2n2IT>'2rh'aL]$T\QSDOSQi(HrV9[d%ia)\(fSFE?hdsZ\1qKo8>rlc!s?IVGoa)DI9=Jeq>oB@!^_S`L7b6UCh.7/B2($=`[^<LL=j#6RFO#ZeJG_$m^DLB`,lk-U_DIj[2kqhh0/Z28<7cMF.&.a/XMcoSA@je-6mStS]nlu^(=8nQm.3k?B>]&=DiPa]24"^;u6[%mWV8MPq$uKjE(7D0H+i\U"]6KEY<t?,Ua,%VtU<[KVmV#C<'Be_2&"tSd>(;r7r!#>5Uh!?]#f'[U!'Xonm`bh*H+4[?4<\5$iaWTsKn77olg9mU+=a'XiW'*LMuG5k<r76#Jq4IX(nBMpDV9fM*:/#2W&LOlI"--9mN2%GrL?=fR7^J9P0K=I$[4\Cqu0L>*Q%"pgn'^1KRa.0rYE`OWf?!JK*g+'S<[3&%.0lY]U@D(%B`d(5.-IckXE)e!a^(cbAEZB6r&EG=(63ReuHr5_N#>eY66jM<C`;*T>G+ ThXBO%kM,YMgOndDqkUeNX&?gD.uuUKZO3fU!Z;MW0WWZ%!@ir4UiI_u/-g0.+r8,o=R!a\bOqL"k9q79Q&\;:N5Z#;6I\:QHBM_bVC?-JT^nmTg%3]feA:GCV_\kp0'f&XJZaV$'L(Oo4t!#lE/OIQ7cf%(et=#RkunT=_C)_e8K#c>Tn]ZP.V7o-Bkl`mY("`1)kd&7oZV'"%"&%4H?[s_1A-um$LMN_-(BoA/l\jXXcZJ9r;2]%Se?==m>AHlD&3[]gD*((RU*0_]sB74cq&DVDK9c5TmX"C?l>J?OK7@d0='ZQ1c?RVqa4L3kuLSsZ>_IX:h(a56\1*;=-SmIhecli;.I9mCqm;eJmBOpLG\h=`5V9O#N@qko)shU%[D0?,b$%tRN30#9(S5Y^_k!"<"q29(Ic,$=d\:$7@;WnSV[UVmCFBq/g?Z=LktR*2e(-_Yq?/p*GB5[EU`,p\CR<`Sg_6m+^Pj5Kq;5;*F*kF4.1a=S17mm;&1(`[FD+X>4$hXH],Cqn-&&i7[Xt&@d;dG`=$M9\`GafB'Gi^J\$_h==,_V&46_agE%%"&3\]Q'[[BY<EW"#"iM'+.U$ZV+l;_tg+W&Bi+*\*W8'c,f5Z6pb[',4\]YnVCamRmUebb"Zk2CQ=@#+$`OVrH4sS?Y?9KNj.AMlmL4WMno8J_+T]uTIAQhW0C:@na:R'4RB/:$F1Up`AC/Z*>gl]9M+Q)u2([C&)jt^CmSTW<J"';85ITGS&e[K<\]/RJ2SOp[Cl\pUN8>Y\_?t`![bC:!W/!=-]CYh^#Y[Ms_p39PL^Z!GlfM7oZYdPPbe78L$WSHK"SL9f7TYb[TJZ'7<o.XWSgGk`BQuBU`:K6&J*"V5D.YBbKB?kf.mSOOJpZa`9FJ,@+l7OS-6b#Jh5p=L/H&/&.08dhOnM]u4DSfG3pp-VK"<Tm*fC\o%f3T/2]gcEmrRg'=2jM6[];TZO0bC9+!][ol.;R%HgcI b)24Q;!)$-,j!C.4N-0Gj,,]V&nEmseT!*]1&'<OFIfk^Bp=)URb`$(^)&8:"Pq&a()6Knn1<&aF+$3V9?_X1irc2B7Ne5kfMbPK6j@L0eqIEZ:HF:I,a,.;'c]fXY"5d#3cAR/dO0n>qDbZ@feBtCu+U:W"@=@->\GomXJWdY*k]ZDtlg9,BH+.=ZGKD'F_m\9D!nUZA^dI.#"LKuX]:\5GDp<^7I4p[P8o="F5Wg=g+4Z</GaHfp-UdQ+r!>HW)9Bf)r1\^_oZE$#g[:-M:53'/!K:N<2DS^<9P]YUDn=1fZL\apB7GT:f:@tK#\XQINB/]ouIl(Y?Il&s6qP+e[mI[(&SYNI6Tl64$XaTpsP!+=.~> endstream endobj 17 0 obj @@ -178,7 +178,7 @@ endobj 27 0 obj << /Type /Annot /Subtype /Link -/Rect [ 108.0 390.998 165.648 378.998 ] +/Rect [ 108.0 417.398 165.648 405.398 ] /C [ 0 0 0 ] /Border [ 0 0 0 ] /A << /URI (http://wiki.apache.org/hama/GettingStarted) @@ -189,7 +189,7 @@ endobj 28 0 obj << /Type /Annot /Subtype /Link -/Rect [ 147.324 293.064 281.316 281.064 ] +/Rect [ 147.324 319.464 281.316 307.464 ] /C [ 0 0 0 ] /Border [ 0 0 0 ] /A << /URI (http://wiki.apache.org/hama/HowToContribute) @@ -200,7 +200,7 @@ endobj 29 0 obj << /Type /Annot /Subtype /Link -/Rect [ 108.0 279.864 207.984 267.864 ] +/Rect [ 108.0 306.264 207.984 294.264 ] /C [ 0 0 0 ] /Border [ 0 0 0 ] /A << /URI (http://wiki.apache.org/hama/Jira) @@ -241,8 +241,8 @@ endobj 35 0 obj << /Type /Font /Subtype /Type1 -/Name /F3 -/BaseFont /Helvetica-Bold +/Name /F1 +/BaseFont /Helvetica /Encoding /WinAnsiEncoding >> endobj 36 0 obj @@ -255,8 +255,8 @@ endobj 37 0 obj << /Type /Font /Subtype /Type1 -/Name /F1 -/BaseFont /Helvetica +/Name /F3 +/BaseFont /Helvetica-Bold /Encoding /WinAnsiEncoding >> endobj 38 0 obj @@ -287,7 +287,7 @@ endobj endobj 3 0 obj << -/Font << /F3 35 0 R /F5 36 0 R /F1 37 0 R /F2 38 0 R /F7 39 0 R >> +/Font << /F1 35 0 R /F5 36 0 R /F3 37 0 R /F2 38 0 R /F7 39 0 R >> /ProcSet [ /PDF /ImageC /Text ] >> endobj 9 0 obj @@ -305,13 +305,13 @@ endobj 13 0 obj << /S /GoTo -/D [17 0 R /XYZ 85.0 437.532 null] +/D [17 0 R /XYZ 85.0 463.932 null] >> endobj 15 0 obj << /S /GoTo -/D [17 0 R /XYZ 85.0 365.998 null] +/D [17 0 R /XYZ 85.0 392.398 null] >> endobj 30 0 obj @@ -322,45 +322,45 @@ endobj xref 0 40 0000000000 65535 f -0000007244 00000 n -0000007309 00000 n -0000007401 00000 n +0000007140 00000 n +0000007205 00000 n +0000007297 00000 n 0000000015 00000 n 0000000071 00000 n 0000000644 00000 n 0000000764 00000 n 0000000810 00000 n -0000007524 00000 n +0000007420 00000 n 0000000945 00000 n -0000007587 00000 n +0000007483 00000 n 0000001082 00000 n -0000007653 00000 n +0000007549 00000 n 0000001219 00000 n -0000007719 00000 n +0000007615 00000 n 0000001355 00000 n -0000003900 00000 n -0000004023 00000 n -0000004106 00000 n -0000004317 00000 n -0000004522 00000 n -0000004737 00000 n -0000004933 00000 n -0000005072 00000 n -0000005179 00000 n -0000005251 00000 n -0000005421 00000 n -0000005615 00000 n -0000005812 00000 n -0000007785 00000 n -0000005996 00000 n -0000006152 00000 n -0000006306 00000 n -0000006501 00000 n -0000006688 00000 n -0000006801 00000 n -0000006911 00000 n -0000007019 00000 n -0000007135 00000 n +0000003796 00000 n +0000003919 00000 n +0000004002 00000 n +0000004213 00000 n +0000004418 00000 n +0000004633 00000 n +0000004829 00000 n +0000004968 00000 n +0000005075 00000 n +0000005147 00000 n +0000005317 00000 n +0000005511 00000 n +0000005708 00000 n +0000007681 00000 n +0000005892 00000 n +0000006048 00000 n +0000006202 00000 n +0000006397 00000 n +0000006584 00000 n +0000006692 00000 n +0000006802 00000 n +0000006915 00000 n +0000007031 00000 n trailer << /Size 40 @@ -368,5 +368,5 @@ trailer /Info 4 0 R >> startxref -7836 +7732 %%EOF Modified: incubator/hama/trunk/src/docs/src/documentation/content/xdocs/index.xml URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/docs/src/documentation/content/xdocs/index.xml?rev=1032494&r1=1032493&r2=1032494&view=diff ============================================================================== --- incubator/hama/trunk/src/docs/src/documentation/content/xdocs/index.xml (original) +++ incubator/hama/trunk/src/docs/src/documentation/content/xdocs/index.xml Mon Nov 8 08:37:05 2010 @@ -24,7 +24,41 @@ <title>Welcome to Hama project</title> </header> <body> - +<script src="http://widgets.twimg.com/j/2/widget.js"></script> +<script> +new TWTR.Widget({ + version: 2, + type: 'search', + id: 'credit2', + search: '\"apache hama\" OR apachehama OR #ApacheHama', + interval: 6000, + title: 'Recent Tweets About Apache Hama', + subject: '#ApacheHama on Twitter', + width: 206, + height: 280, + theme: { + shell: { + background: '#4a6d8c', + color: '#ffffff' + }, + tweets: { + background: '#ffffff', + color: '#444444', + links: '#1985b5' + } + }, + features: { + scrollbar: false, + loop: true, + live: true, + hashtags: true, + timestamp: true, + avatars: true, + toptweets: true, + behavior: 'default' + } +}).render().start(); +</script> <section> <title>Recent News</title> <ul> @@ -44,9 +78,8 @@ <section> <title> Overview </title> <p> - <strong>Hama</strong> Apache Hama is a distributed computing framework based on - BSP (Bulk Synchronous Parallel) computing techniques for massive scientific computations (e.g., matrix, graph, network, ..., etc), - currently being incubated as one of the incubator project by the Apache Software Foundation. + <strong>Hama</strong> is a distributed computing framework based on + BSP (Bulk Synchronous Parallel) computing techniques for massive scientific computations. </p> </section> From [email protected] Tue Nov 09 06:43:55 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37601 invoked from network); 9 Nov 2010 06:43:55 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 9 Nov 2010 06:43:55 -0000 Received: (qmail 69499 invoked by uid 500); 9 Nov 2010 06:44:26 -0000 Delivered-To: [email protected] Received: (qmail 69467 invoked by uid 500); 9 Nov 2010 06:44:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 69459 invoked by uid 99); 9 Nov 2010 06:44:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Nov 2010 06:44:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Nov 2010 06:44:23 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 9F66223888EA; Tue, 9 Nov 2010 06:43:09 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1032869 - in /incubator/hama/trunk: ./ src/java/org/apache/hama/bsp/ src/test/org/apache/hama/bsp/ Date: Tue, 09 Nov 2010 06:43:09 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: edwardyoon Date: Tue Nov 9 06:43:08 2010 New Revision: 1032869 URL: http://svn.apache.org/viewvc?rev=1032869&view=rev Log: Add superstep counter Modified: incubator/hama/trunk/CHANGES.txt incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPJobClient.java incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPPeer.java incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPPeerInterface.java incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServer.java incubator/hama/trunk/src/java/org/apache/hama/bsp/JobInProgress.java incubator/hama/trunk/src/java/org/apache/hama/bsp/JobStatus.java incubator/hama/trunk/src/java/org/apache/hama/bsp/RunningJob.java incubator/hama/trunk/src/java/org/apache/hama/bsp/TaskInProgress.java incubator/hama/trunk/src/java/org/apache/hama/bsp/TaskStatus.java incubator/hama/trunk/src/test/org/apache/hama/bsp/TestBSPPeer.java Modified: incubator/hama/trunk/CHANGES.txt URL: http://svn.apache.org/viewvc/incubator/hama/trunk/CHANGES.txt?rev=1032869&r1=1032868&r2=1032869&view=diff ============================================================================== --- incubator/hama/trunk/CHANGES.txt (original) +++ incubator/hama/trunk/CHANGES.txt Tue Nov 9 06:43:08 2010 @@ -50,6 +50,7 @@ Trunk (unreleased changes) IMPROVEMENTS + HAMA-282: Add superstep counter (Filipe Manana via edwardyoon) HAMA-327: Add overview for javadoc (edwardyoon) HAMA-325: Add package.html to each package and few comments (edwardyoon) HAMA-322: JUnit test threads with GroboTestingJUnit (Filipe Manana via edwardyoon) Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPJobClient.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPJobClient.java?rev=1032869&r1=1032868&r2=1032869&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPJobClient.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPJobClient.java Tue Nov 9 06:43:08 2010 @@ -130,6 +130,11 @@ public class BSPJobClient extends Config return status.getRunState() == JobStatus.SUCCEEDED; } + public synchronized long getSuperstepCount() throws IOException { + ensureFreshStatus(); + return status.getSuperstepCount(); + } + /** * Blocks until the job is finished */ @@ -385,22 +390,46 @@ public class BSPJobClient extends Config IOException { BSPJobClient jc = new BSPJobClient(job.getConf()); RunningJob running = jc.submitJobInternal(job); - String jobId = running.getID().toString(); - LOG.info("Running job: " + jobId); + BSPJobID jobId = running.getID(); + LOG.info("Running job: " + jobId.toString()); while (true) { + try { + Thread.sleep(1000); + } catch (InterruptedException e) { + } + if (running.isComplete()) { - LOG.info("Job complete: " + jobId); break; } + + running = jc.getJob(jobId); } + LOG.info("Job complete: " + jobId); + LOG.info("The total number of supersteps: " + running.getSuperstepCount()); + // TODO if error found, kill job // running.killJob(); jc.close(); } /** + * Get an RunningJob object to track an ongoing job. Returns null if the id + * does not correspond to any known job. + * + * @throws IOException + */ + private RunningJob getJob(BSPJobID jobId) throws IOException { + JobStatus status = jobSubmitClient.getJobStatus(jobId); + if (status != null) { + return new NetworkedJob(status); + } else { + return null; + } + } + + /** * Get status information about the BSP cluster * * @param detailed if true then get a detailed status including the Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPPeer.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPPeer.java?rev=1032869&r1=1032868&r2=1032869&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPPeer.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPPeer.java Tue Nov 9 06:43:08 2010 @@ -61,6 +61,7 @@ public class BSPPeer implements Watcher, protected final ConcurrentLinkedQueue<BSPMessage> localQueue = new ConcurrentLinkedQueue<BSPMessage>(); protected Set<String> allPeerNames = new HashSet<String>(); protected InetSocketAddress peerAddress; + protected TaskStatus currentTaskStatus; /** * @@ -68,8 +69,10 @@ public class BSPPeer implements Watcher, public BSPPeer(Configuration conf) throws IOException { this.conf = conf; - String bindAddress = conf.get(Constants.PEER_HOST, Constants.DEFAULT_PEER_HOST); - int bindPort = conf.getInt(Constants.PEER_PORT, Constants.DEFAULT_PEER_PORT); + String bindAddress = conf.get(Constants.PEER_HOST, + Constants.DEFAULT_PEER_HOST); + int bindPort = conf + .getInt(Constants.PEER_PORT, Constants.DEFAULT_PEER_PORT); bspRoot = conf.get(Constants.ZOOKEEPER_ROOT, Constants.DEFAULT_ZOOKEEPER_ROOT); zookeeperAddr = conf.get(Constants.ZOOKEEPER_QUORUM) @@ -84,7 +87,8 @@ public class BSPPeer implements Watcher, public void reinitialize() { try { LOG.debug("reinitialize(): " + getPeerName()); - server = RPC.getServer(this, peerAddress.getHostName(), peerAddress.getPort(), conf); + server = RPC.getServer(this, peerAddress.getHostName(), peerAddress + .getPort(), conf); server.start(); } catch (IOException e) { e.printStackTrace(); @@ -129,8 +133,7 @@ public class BSPPeer implements Watcher, * org.apache.hadoop.io.Writable, org.apache.hadoop.io.Writable) */ @Override - public void send(String peerName, BSPMessage msg) - throws IOException { + public void send(String peerName, BSPMessage msg) throws IOException { LOG.debug("Send bytes (" + msg.getData().toString() + ") to " + peerName); ConcurrentLinkedQueue<BSPMessage> queue = outgoingQueues.get(peerName); if (queue == null) { @@ -170,7 +173,7 @@ public class BSPPeer implements Watcher, } } - // Should we clearing outgoingQueues? + // Clear outgoing queues. this.outgoingQueues.clear(); enterBarrier(); @@ -180,13 +183,14 @@ public class BSPPeer implements Watcher, // the number of peers, and the load of zookeeper. // It should fixed to some flawless way. leaveBarrier(); + currentTaskStatus.incrementSuperstepCount(); } protected boolean enterBarrier() throws KeeperException, InterruptedException { LOG.debug("[" + getPeerName() + "] enter the enterbarrier"); try { - zk.create(bspRoot + "/" + getPeerName(), new byte[0], Ids.OPEN_ACL_UNSAFE, - CreateMode.EPHEMERAL); + zk.create(bspRoot + "/" + getPeerName(), new byte[0], + Ids.OPEN_ACL_UNSAFE, CreateMode.EPHEMERAL); } catch (KeeperException e) { e.printStackTrace(); } catch (InterruptedException e) { @@ -265,7 +269,7 @@ public class BSPPeer implements Watcher, } /** - * @return the string as host:port of this Peer + * @return the string as host:port of this Peer */ public String getPeerName() { return peerAddress.getHostName() + ":" + peerAddress.getPort(); @@ -292,9 +296,26 @@ public class BSPPeer implements Watcher, this.allPeerNames = new HashSet<String>(allPeerNames); } - @Override + /** + * @return the number of messages + */ public int getNumCurrentMessages() { return localQueue.size(); } + /** + * Sets the current status + * + * @param currentTaskStatus + */ + public void setCurrentTaskStatus(TaskStatus currentTaskStatus) { + this.currentTaskStatus = currentTaskStatus; + } + + /** + * @return the count of current super-step + */ + public long getSuperstepCount() { + return currentTaskStatus.getSuperstepCount(); + } } Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPPeerInterface.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPPeerInterface.java?rev=1032869&r1=1032868&r2=1032869&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPPeerInterface.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPPeerInterface.java Tue Nov 9 06:43:08 2010 @@ -60,6 +60,11 @@ public interface BSPPeerInterface extend public void sync() throws IOException, KeeperException, InterruptedException; /** + * @return the count of current super-step + */ + public long getSuperstepCount(); + + /** * @return The name of this peer in the format "hostname:port". */ public String getPeerName(); Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServer.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServer.java?rev=1032869&r1=1032868&r2=1032869&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServer.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServer.java Tue Nov 9 06:43:08 2010 @@ -534,6 +534,7 @@ public class GroomServer implements Runn public void launchTask() throws IOException { taskStatus.setRunState(TaskStatus.State.RUNNING); + bspPeer.setCurrentTaskStatus(taskStatus); this.runner = task.createRunner(bspPeer, this.jobConf); this.runner.start(); Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/JobInProgress.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/JobInProgress.java?rev=1032869&r1=1032868&r2=1032869&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/bsp/JobInProgress.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/bsp/JobInProgress.java Tue Nov 9 06:43:08 2010 @@ -28,11 +28,10 @@ import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.LocalFileSystem; import org.apache.hadoop.fs.Path; -/************************************************************* +/** * JobInProgress maintains all the info for keeping a Job on the straight and * narrow. It keeps its JobProfile and its latest JobStatus, plus a set of - * tables for doing bookkeeping of its Tasks. - * *********************************************************** + * tables for doing bookkeeping of its Tasks.ss */ class JobInProgress { /** @@ -64,6 +63,7 @@ class JobInProgress { private BSPJobID jobId; final BSPMaster master; List<TaskInProgress> tasks; + private long superstepCounter; public JobInProgress(BSPJobID jobId, BSPMaster master, Configuration conf) throws IOException { @@ -77,6 +77,7 @@ class JobInProgress { this.status = new JobStatus(jobId, 0.0f, 0.0f, JobStatus.PREP); this.startTime = System.currentTimeMillis(); status.setStartTime(startTime); + this.superstepCounter = 0; this.localJobFile = master.getLocalPath(BSPMaster.SUBDIR + "/" + jobId + ".xml"); @@ -96,7 +97,7 @@ class JobInProgress { if (jarFile != null) { fs.copyToLocalFile(new Path(jarFile), localJarFile); } - + } // /////////////////////////////////////////////////// @@ -141,7 +142,7 @@ class JobInProgress { public synchronized Task obtainNewTask(GroomServerStatus status, int clusterSize, int numUniqueHosts) { LOG.debug("clusterSize: " + clusterSize); - + Task result = null; try { TaskInProgress tip = new TaskInProgress(getJobID(), this.jobFile @@ -175,18 +176,24 @@ class JobInProgress { this.status = new JobStatus(this.status.getJobID(), 1.0f, 1.0f, JobStatus.RUNNING); - - if(allDone) { + + if (allDone) { LOG.debug("Job successfully done."); - - this.status = new JobStatus(this.status.getJobID(), 1.0f, 1.0f, - JobStatus.SUCCEEDED); - garbageCollect(); + + this.status = new JobStatus(this.status.getJobID(), 1.0f, 1.0f, 1.0f, + JobStatus.SUCCEEDED, superstepCounter); + garbageCollect(); } } - public void updateTaskStatus(TaskInProgress tip, TaskStatus status) { - tip.updateStatus(status); // update tip + public synchronized void updateTaskStatus(TaskInProgress tip, TaskStatus taskStatus) { + tip.updateStatus(taskStatus); // update tip + + if (superstepCounter < taskStatus.getSuperstepCount()) { + superstepCounter = taskStatus.getSuperstepCount(); + // TODO Later, we have to update JobInProgress status here + + } } public void kill() { Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/JobStatus.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/JobStatus.java?rev=1032869&r1=1032868&r2=1032869&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/bsp/JobStatus.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/bsp/JobStatus.java Tue Nov 9 06:43:08 2010 @@ -51,7 +51,8 @@ public class JobStatus implements Writab private long startTime; private String schedulingInfo = "NA"; private String user; - + private long superstepCount; + public JobStatus() { } @@ -66,13 +67,19 @@ public class JobStatus implements Writab public JobStatus(BSPJobID jobid, float setupProgress, float progress, float cleanupProgress, int runState) { + this(jobid, 0.0f, progress, cleanupProgress, runState, 0); + } + + public JobStatus(BSPJobID jobid, float setupProgress, float progress, + float cleanupProgress, int runState, long superstepCount) { this.jobid = jobid; this.setupProgress = setupProgress; this.progress = progress; this.cleanupProgress = cleanupProgress; this.runState = runState; + this.superstepCount = superstepCount; } - + public BSPJobID getJobID() { return jobid; } @@ -109,6 +116,10 @@ public class JobStatus implements Writab this.runState = state; } + public synchronized long getSuperstepCount() { + return superstepCount; + } + synchronized void setStartTime(long startTime) { this.startTime = startTime; } @@ -160,6 +171,7 @@ public class JobStatus implements Writab out.writeInt(runState); out.writeLong(startTime); Text.writeString(out, schedulingInfo); + out.writeLong(superstepCount); } public synchronized void readFields(DataInput in) throws IOException { @@ -171,5 +183,7 @@ public class JobStatus implements Writab this.runState = in.readInt(); this.startTime = in.readLong(); this.schedulingInfo = Text.readString(in); + this.superstepCount = in.readLong(); } + } Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/RunningJob.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/RunningJob.java?rev=1032869&r1=1032868&r2=1032869&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/bsp/RunningJob.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/bsp/RunningJob.java Tue Nov 9 06:43:08 2010 @@ -111,4 +111,6 @@ public interface RunningJob { */ public void killTask(TaskAttemptID taskId, boolean shouldFail) throws IOException; + + public long getSuperstepCount() throws IOException; } Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/TaskInProgress.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/TaskInProgress.java?rev=1032869&r1=1032868&r2=1032869&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/bsp/TaskInProgress.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/bsp/TaskInProgress.java Tue Nov 9 06:43:08 2010 @@ -194,4 +194,8 @@ class TaskInProgress { public void updateStatus(TaskStatus status) { taskStatuses.put(status.getTaskId(), status); } + + public TaskStatus getTaskStatus(String taskId) { + return this.taskStatuses.get(taskId); + } } Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/TaskStatus.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/TaskStatus.java?rev=1032869&r1=1032868&r2=1032869&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/bsp/TaskStatus.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/bsp/TaskStatus.java Tue Nov 9 06:43:08 2010 @@ -45,7 +45,8 @@ class TaskStatus implements Writable, Cl private volatile State runState; private String stateString; private String groomServer; - + private long superstepCount; + private long startTime; private long finishTime; @@ -56,6 +57,7 @@ class TaskStatus implements Writable, Cl */ public TaskStatus() { taskId = new String(); + this.superstepCount = 0; } public TaskStatus(String taskId, float progress, State runState, @@ -66,6 +68,7 @@ class TaskStatus implements Writable, Cl this.stateString = stateString; this.groomServer = groomServer; this.phase = phase; + this.superstepCount = 0; } // ////////////////////////////////////////////////// @@ -208,6 +211,20 @@ class TaskStatus implements Writable, Cl this.finishTime = finishTime; } } + + /** + * @return The number of BSP super steps executed by the task. + */ + public long getSuperstepCount() { + return superstepCount; + } + + /** + * Increments the number of BSP super steps executed by the task. + */ + public void incrementSuperstepCount() { + superstepCount += 1; + } @Override public Object clone() { @@ -232,6 +249,7 @@ class TaskStatus implements Writable, Cl this.phase = WritableUtils.readEnum(in, Phase.class); this.startTime = in.readLong(); this.finishTime = in.readLong(); + this.superstepCount = in.readLong(); } @Override @@ -243,5 +261,6 @@ class TaskStatus implements Writable, Cl WritableUtils.writeEnum(out, phase); out.writeLong(startTime); out.writeLong(finishTime); + out.writeLong(superstepCount); } } Modified: incubator/hama/trunk/src/test/org/apache/hama/bsp/TestBSPPeer.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/test/org/apache/hama/bsp/TestBSPPeer.java?rev=1032869&r1=1032868&r2=1032869&view=diff ============================================================================== --- incubator/hama/trunk/src/test/org/apache/hama/bsp/TestBSPPeer.java (original) +++ incubator/hama/trunk/src/test/org/apache/hama/bsp/TestBSPPeer.java Tue Nov 9 06:43:08 2010 @@ -27,7 +27,6 @@ import java.util.Random; import java.util.Set; import junit.framework.AssertionFailedError; - import net.sourceforge.groboutils.junit.v1.MultiThreadedTestRunner; import net.sourceforge.groboutils.junit.v1.TestRunnable; @@ -97,6 +96,9 @@ public class TestBSPPeer extends HamaClu peerNames.add("localhost:" + (30000 + i)); } peer.setAllPeerNames(peerNames); + TaskStatus currentTaskStatus = new TaskStatus("localhost:" + + lastTwoDigitsOfPort, 0, null, null, null, null); + peer.setCurrentTaskStatus(currentTaskStatus); } @Override @@ -135,14 +137,16 @@ public class TestBSPPeer extends HamaClu e.printStackTrace(); } - verifyPayload(); + verifyPayload(i); } } - private void verifyPayload() { + private void verifyPayload(int round) { int numMessages = peer.getNumCurrentMessages(); + assertEquals(round, ((int) peer.getSuperstepCount() -1 )); + LOG.info("[" + peer.getPeerName() + "] verifying " + numMessages - + " messages"); + + " messages at " + round + " round"); if (lastTwoDigitsOfPort < 10) { assertEquals(20, numMessages); @@ -169,7 +173,7 @@ public class TestBSPPeer extends HamaClu } } - public void testSync() throws Throwable { + public void testSync() throws Throwable { conf.setInt("bsp.peers.num", NUM_PEER); conf.set(Constants.ZOOKEEPER_QUORUM, "localhost"); From [email protected] Tue Nov 09 07:35:31 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57014 invoked from network); 9 Nov 2010 07:35:31 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 9 Nov 2010 07:35:31 -0000 Received: (qmail 93570 invoked by uid 500); 9 Nov 2010 07:36:02 -0000 Delivered-To: [email protected] Received: (qmail 93533 invoked by uid 500); 9 Nov 2010 07:36:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 93525 invoked by uid 99); 9 Nov 2010 07:36:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Nov 2010 07:36:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Nov 2010 07:35:57 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1E83F23889DA; Tue, 9 Nov 2010 07:34:43 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1032877 - /incubator/hama/trunk/conf/hama-default.xml Date: Tue, 09 Nov 2010 07:34:43 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: edwardyoon Date: Tue Nov 9 07:34:42 2010 New Revision: 1032877 URL: http://svn.apache.org/viewvc?rev=1032877&view=rev Log: Trivial change of hama-default.xml Modified: incubator/hama/trunk/conf/hama-default.xml Modified: incubator/hama/trunk/conf/hama-default.xml URL: http://svn.apache.org/viewvc/incubator/hama/trunk/conf/hama-default.xml?rev=1032877&r1=1032876&r2=1032877&view=diff ============================================================================== --- incubator/hama/trunk/conf/hama-default.xml (original) +++ incubator/hama/trunk/conf/hama-default.xml Tue Nov 9 07:34:42 2010 @@ -58,7 +58,7 @@ </property> <property> <name>bsp.peers.num</name> - <value>2</value> + <value>1</value> <description>The default number of bsp tasks per job. Typically set to a prime several times greater than number of available hosts. </description> @@ -120,13 +120,13 @@ </property> <property> - <name>hama.zookeeper.quorum</name> + <name>hama.zookeeper.barriersync</name> <value>localhost</value> - <description>Comma separated list of servers in the ZooKeeper Quorum. + <description>Comma separated list of servers in the ZooKeeper barriersync. For example, "host1.mydomain.com,host2.mydomain.com,host3.mydomain.com". By default this is set to localhost for local and pseudo-distributed modes of operation. For a fully-distributed setup, this should be set to a full - list of ZooKeeper quorum servers. If HAMA_MANAGES_ZK is set in hama-env.sh + list of ZooKeeper barriersync servers. If HAMA_MANAGES_ZK is set in hama-env.sh this is the list of servers which we will start/stop ZooKeeper on. </description> </property> From [email protected] Tue Nov 09 08:12:07 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73749 invoked from network); 9 Nov 2010 08:12:07 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 9 Nov 2010 08:12:07 -0000 Received: (qmail 18796 invoked by uid 500); 9 Nov 2010 08:12:39 -0000 Delivered-To: [email protected] Received: (qmail 18763 invoked by uid 500); 9 Nov 2010 08:12:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 18754 invoked by uid 99); 9 Nov 2010 08:12:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Nov 2010 08:12:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Nov 2010 08:12:34 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 816D523889E7; Tue, 9 Nov 2010 08:11:20 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1032884 - /incubator/hama/trunk/conf/hama-default.xml Date: Tue, 09 Nov 2010 08:11:20 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: edwardyoon Date: Tue Nov 9 08:11:20 2010 New Revision: 1032884 URL: http://svn.apache.org/viewvc?rev=1032884&view=rev Log: Trivial changes of hama-default.xml Modified: incubator/hama/trunk/conf/hama-default.xml Modified: incubator/hama/trunk/conf/hama-default.xml URL: http://svn.apache.org/viewvc/incubator/hama/trunk/conf/hama-default.xml?rev=1032884&r1=1032883&r2=1032884&view=diff ============================================================================== --- incubator/hama/trunk/conf/hama-default.xml (original) +++ incubator/hama/trunk/conf/hama-default.xml Tue Nov 9 08:11:20 2010 @@ -122,11 +122,11 @@ <property> <name>hama.zookeeper.barriersync</name> <value>localhost</value> - <description>Comma separated list of servers in the ZooKeeper barriersync. + <description>Comma separated list of servers in the ZooKeeper quorum. For example, "host1.mydomain.com,host2.mydomain.com,host3.mydomain.com". By default this is set to localhost for local and pseudo-distributed modes of operation. For a fully-distributed setup, this should be set to a full - list of ZooKeeper barriersync servers. If HAMA_MANAGES_ZK is set in hama-env.sh + list of ZooKeeper quorum servers. If HAMA_MANAGES_ZK is set in hama-env.sh this is the list of servers which we will start/stop ZooKeeper on. </description> </property> From [email protected] Wed Nov 10 01:30:17 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69334 invoked from network); 10 Nov 2010 01:30:17 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 10 Nov 2010 01:30:17 -0000 Received: (qmail 35612 invoked by uid 500); 10 Nov 2010 01:30:49 -0000 Delivered-To: [email protected] Received: (qmail 35579 invoked by uid 500); 10 Nov 2010 01:30:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 35571 invoked by uid 99); 10 Nov 2010 01:30:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Nov 2010 01:30:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Nov 2010 01:30:47 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E38B3238897F; Wed, 10 Nov 2010 01:29:33 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1033317 - in /incubator/hama/trunk: ./ src/examples/org/apache/hama/examples/ src/java/org/apache/hama/bsp/ src/test/org/apache/hama/bsp/ Date: Wed, 10 Nov 2010 01:29:33 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: edwardyoon Date: Wed Nov 10 01:29:33 2010 New Revision: 1033317 URL: http://svn.apache.org/viewvc?rev=1033317&view=rev Log: Allows user to set the number of tasks Modified: incubator/hama/trunk/CHANGES.txt incubator/hama/trunk/src/examples/org/apache/hama/examples/PiEstimator.java incubator/hama/trunk/src/examples/org/apache/hama/examples/SerializePrinting.java incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPJob.java incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPJobClient.java incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPPeer.java incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServer.java incubator/hama/trunk/src/test/org/apache/hama/bsp/TestBSPPeer.java Modified: incubator/hama/trunk/CHANGES.txt URL: http://svn.apache.org/viewvc/incubator/hama/trunk/CHANGES.txt?rev=1033317&r1=1033316&r2=1033317&view=diff ============================================================================== --- incubator/hama/trunk/CHANGES.txt (original) +++ incubator/hama/trunk/CHANGES.txt Wed Nov 10 01:29:33 2010 @@ -50,6 +50,7 @@ Trunk (unreleased changes) IMPROVEMENTS + HAMA-321: Allows user to set the number of tasks (edwardyoon) HAMA-282: Add superstep counter (Filipe Manana via edwardyoon) HAMA-327: Add overview for javadoc (edwardyoon) HAMA-325: Add package.html to each package and few comments (edwardyoon) Modified: incubator/hama/trunk/src/examples/org/apache/hama/examples/PiEstimator.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/examples/org/apache/hama/examples/PiEstimator.java?rev=1033317&r1=1033316&r2=1033317&view=diff ============================================================================== --- incubator/hama/trunk/src/examples/org/apache/hama/examples/PiEstimator.java (original) +++ incubator/hama/trunk/src/examples/org/apache/hama/examples/PiEstimator.java Wed Nov 10 01:29:33 2010 @@ -94,14 +94,13 @@ public class PiEstimator { IOException { // BSP job configuration HamaConfiguration conf = new HamaConfiguration(); - // Execute locally - // conf.set("bsp.master.address", "local"); BSPJob bsp = new BSPJob(conf, PiEstimator.class); // Set the job name bsp.setJobName("pi estimation example"); bsp.setBspClass(MyEstimator.class); - + bsp.setNumBspTask(10); + BSPJobClient jobClient = new BSPJobClient(conf); ClusterStatus cluster = jobClient.getClusterStatus(true); // Choose one as a master Modified: incubator/hama/trunk/src/examples/org/apache/hama/examples/SerializePrinting.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/examples/org/apache/hama/examples/SerializePrinting.java?rev=1033317&r1=1033316&r2=1033317&view=diff ============================================================================== --- incubator/hama/trunk/src/examples/org/apache/hama/examples/SerializePrinting.java (original) +++ incubator/hama/trunk/src/examples/org/apache/hama/examples/SerializePrinting.java Wed Nov 10 01:29:33 2010 @@ -70,14 +70,13 @@ public class SerializePrinting { IOException { // BSP job configuration HamaConfiguration conf = new HamaConfiguration(); - // Execute locally - // conf.set("bsp.master.address", "local"); BSPJob bsp = new BSPJob(conf, SerializePrinting.class); // Set the job name bsp.setJobName("serialize printing"); bsp.setBspClass(HelloBSP.class); - + bsp.setNumBspTask(10); + BSPJobClient.runJob(bsp); } } Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPJob.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPJob.java?rev=1033317&r1=1033316&r2=1033317&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPJob.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPJob.java Wed Nov 10 01:29:33 2010 @@ -38,20 +38,34 @@ public class BSPJob extends BSPJobContex this(new HamaConfiguration()); } - public BSPJob(HamaConfiguration conf, String jobName) throws IOException { - this(conf); - setJobName(jobName); - } - public BSPJob(HamaConfiguration conf) throws IOException { super(conf, null); jobClient = new BSPJobClient(conf); } + + public BSPJob(HamaConfiguration conf, String jobName) throws IOException { + this(conf); + setJobName(jobName); + } public BSPJob(BSPJobID jobID, String jobFile) throws IOException { super(new Path(jobFile), jobID); } + /** + * Only for unit test + * + * TODO will be deleted when miniBSPCluster implemented + * + * @param conf + * @param tasks + * @throws IOException + */ + public BSPJob(HamaConfiguration conf, int tasks) throws IOException { + super(conf, null); + setNumBspTask(tasks); + } + @SuppressWarnings("unchecked") public BSPJob(HamaConfiguration conf, Class exampleClass) throws IOException { this(conf); @@ -200,4 +214,7 @@ public class BSPJob extends BSPJobContex conf.setInt("bsp.peers.num", tasks); } + public int getNumBspTask() { + return conf.getInt("bsp.peers.num", 1); + } } Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPJobClient.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPJobClient.java?rev=1033317&r1=1033316&r2=1033317&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPJobClient.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPJobClient.java Wed Nov 10 01:29:33 2010 @@ -134,7 +134,7 @@ public class BSPJobClient extends Config ensureFreshStatus(); return status.getSuperstepCount(); } - + /** * Blocks until the job is finished */ @@ -389,6 +389,15 @@ public class BSPJobClient extends Config public static void runJob(BSPJob job) throws FileNotFoundException, IOException { BSPJobClient jc = new BSPJobClient(job.getConf()); + + // TODO this code must be removed + // when GroomServer supports the multiple tasks. + if (job.getNumBspTask() > jc.getClusterStatus(false).getGroomServers()) { + // If the number of tasks is greater than the number of GroomServer, + // reset the number of tasks as number of GroomServer. + job.setNumBspTask(jc.getClusterStatus(false).getGroomServers()); + } + RunningJob running = jc.submitJobInternal(job); BSPJobID jobId = running.getID(); LOG.info("Running job: " + jobId.toString()); @@ -408,7 +417,7 @@ public class BSPJobClient extends Config LOG.info("Job complete: " + jobId); LOG.info("The total number of supersteps: " + running.getSuperstepCount()); - + // TODO if error found, kill job // running.killJob(); jc.close(); @@ -418,7 +427,7 @@ public class BSPJobClient extends Config * Get an RunningJob object to track an ongoing job. Returns null if the id * does not correspond to any known job. * - * @throws IOException + * @throws IOException */ private RunningJob getJob(BSPJobID jobId) throws IOException { JobStatus status = jobSubmitClient.getJobStatus(jobId); Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPPeer.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPPeer.java?rev=1033317&r1=1033316&r2=1033317&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPPeer.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPPeer.java Wed Nov 10 01:29:33 2010 @@ -46,25 +46,25 @@ import org.apache.zookeeper.data.Stat; public class BSPPeer implements Watcher, BSPPeerInterface { public static final Log LOG = LogFactory.getLog(BSPPeer.class); - protected Configuration conf; + private Configuration conf; + private BSPJob jobConf; - protected InetSocketAddress masterAddr = null; - protected Server server = null; - protected ZooKeeper zk = null; - protected volatile Integer mutex = 0; - - protected final String bspRoot; - protected final String zookeeperAddr; - - protected final Map<InetSocketAddress, BSPPeerInterface> peers = new ConcurrentHashMap<InetSocketAddress, BSPPeerInterface>(); - protected final Map<InetSocketAddress, ConcurrentLinkedQueue<BSPMessage>> outgoingQueues = new ConcurrentHashMap<InetSocketAddress, ConcurrentLinkedQueue<BSPMessage>>(); - protected final ConcurrentLinkedQueue<BSPMessage> localQueue = new ConcurrentLinkedQueue<BSPMessage>(); - protected Set<String> allPeerNames = new HashSet<String>(); - protected InetSocketAddress peerAddress; - protected TaskStatus currentTaskStatus; + private Server server = null; + private ZooKeeper zk = null; + private volatile Integer mutex = 0; + + private final String bspRoot; + private final String zookeeperAddr; + + private final Map<InetSocketAddress, BSPPeerInterface> peers = new ConcurrentHashMap<InetSocketAddress, BSPPeerInterface>(); + private final Map<InetSocketAddress, ConcurrentLinkedQueue<BSPMessage>> outgoingQueues = new ConcurrentHashMap<InetSocketAddress, ConcurrentLinkedQueue<BSPMessage>>(); + private final ConcurrentLinkedQueue<BSPMessage> localQueue = new ConcurrentLinkedQueue<BSPMessage>(); + private Set<String> allPeerNames = new HashSet<String>(); + private InetSocketAddress peerAddress; + private TaskStatus currentTaskStatus; /** - * + * Constructor */ public BSPPeer(Configuration conf) throws IOException { this.conf = conf; @@ -174,7 +174,7 @@ public class BSPPeer implements Watcher, } // Clear outgoing queues. - this.outgoingQueues.clear(); + clearOutgoingQueues(); enterBarrier(); Thread.sleep(Constants.ATLEAST_WAIT_TIME); // TODO - This is temporary work @@ -201,8 +201,7 @@ public class BSPPeer implements Watcher, synchronized (mutex) { List<String> list = zk.getChildren(bspRoot, true); - // TODO it must be same with the number of slave nodes, at this time. - if (list.size() < conf.getInt("bsp.peers.num", 0)) { + if (list.size() < jobConf.getNumBspTask()) { mutex.wait(); } else { return true; @@ -318,4 +317,41 @@ public class BSPPeer implements Watcher, public long getSuperstepCount() { return currentTaskStatus.getSuperstepCount(); } + + /** + * Sets the job configuration + * + * @param jobConf + */ + public void setJobConf(BSPJob jobConf) { + this.jobConf = jobConf; + } + + /** + * @return the size of local queue + */ + public int getLocalQueueSize() { + return localQueue.size(); + } + + /** + * @return the size of outgoing queue + */ + public int getOutgoingQueueSize() { + return outgoingQueues.size(); + } + + /** + * Clears local queue + */ + public void clearLocalQueue() { + this.localQueue.clear(); + } + + /** + * Clears outgoing queues + */ + public void clearOutgoingQueues() { + this.outgoingQueues.clear(); + } } Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServer.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServer.java?rev=1033317&r1=1033316&r2=1033317&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServer.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServer.java Wed Nov 10 01:29:33 2010 @@ -534,6 +534,7 @@ public class GroomServer implements Runn public void launchTask() throws IOException { taskStatus.setRunState(TaskStatus.State.RUNNING); + bspPeer.setJobConf(jobConf); bspPeer.setCurrentTaskStatus(taskStatus); this.runner = task.createRunner(bspPeer, this.jobConf); this.runner.start(); @@ -546,8 +547,8 @@ public class GroomServer implements Runn e.printStackTrace(); } - if (bspPeer.localQueue.size() == 0 - && bspPeer.outgoingQueues.size() == 0 + if (bspPeer.getLocalQueueSize() == 0 + && bspPeer.getOutgoingQueueSize() == 0 && !runner.isAlive()) { taskStatus.setRunState(TaskStatus.State.SUCCEEDED); acceptNewTasks = true; Modified: incubator/hama/trunk/src/test/org/apache/hama/bsp/TestBSPPeer.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/test/org/apache/hama/bsp/TestBSPPeer.java?rev=1033317&r1=1033316&r2=1033317&view=diff ============================================================================== --- incubator/hama/trunk/src/test/org/apache/hama/bsp/TestBSPPeer.java (original) +++ incubator/hama/trunk/src/test/org/apache/hama/bsp/TestBSPPeer.java Wed Nov 10 01:29:33 2010 @@ -32,9 +32,9 @@ import net.sourceforge.groboutils.junit. import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; -import org.apache.hadoop.conf.Configuration; import org.apache.hama.Constants; import org.apache.hama.HamaCluster; +import org.apache.hama.HamaConfiguration; import org.apache.hama.util.Bytes; import org.apache.zookeeper.CreateMode; import org.apache.zookeeper.KeeperException; @@ -51,7 +51,7 @@ public class TestBSPPeer extends HamaClu private static final int ROUND = 3; private static final int PAYLOAD = 1024; // 1kb in default List<BSPPeerThread> list = new ArrayList<BSPPeerThread>(NUM_PEER); - Configuration conf; + HamaConfiguration conf; private Random r = new Random(); public TestBSPPeer() { @@ -88,7 +88,7 @@ public class TestBSPPeer extends HamaClu private int MAXIMUM_DURATION = 5; private int lastTwoDigitsOfPort; - public BSPPeerThread(Configuration conf) throws IOException { + public BSPPeerThread(HamaConfiguration conf) throws IOException { lastTwoDigitsOfPort = conf.getInt(Constants.PEER_PORT, 0) - 30000; this.peer = new BSPPeer(conf); Set<String> peerNames = new HashSet<String>(NUM_PEER); @@ -99,6 +99,8 @@ public class TestBSPPeer extends HamaClu TaskStatus currentTaskStatus = new TaskStatus("localhost:" + lastTwoDigitsOfPort, 0, null, null, null, null); peer.setCurrentTaskStatus(currentTaskStatus); + BSPJob jobConf = new BSPJob(conf, NUM_PEER); + peer.setJobConf((BSPJob) jobConf); } @Override @@ -165,7 +167,7 @@ public class TestBSPPeer extends HamaClu LOG.error(e); } - peer.localQueue.clear(); + peer.clearLocalQueue(); } public BSPPeer getBSPPeer() { @@ -174,12 +176,12 @@ public class TestBSPPeer extends HamaClu } public void testSync() throws Throwable { - + conf.setInt("bsp.peers.num", NUM_PEER); conf.set(Constants.ZOOKEEPER_QUORUM, "localhost"); conf.set(Constants.PEER_HOST, "localhost"); conf.set(Constants.ZOOKEEPER_SERVER_ADDRS, "localhost:21810"); - + TestRunnable[] threads = new TestRunnable[NUM_PEER]; for (int i = 0; i < NUM_PEER; i++) { From [email protected] Wed Nov 10 04:50:40 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43494 invoked from network); 10 Nov 2010 04:50:40 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 10 Nov 2010 04:50:40 -0000 Received: (qmail 78377 invoked by uid 500); 10 Nov 2010 04:51:12 -0000 Delivered-To: [email protected] Received: (qmail 78338 invoked by uid 500); 10 Nov 2010 04:51:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78330 invoked by uid 99); 10 Nov 2010 04:51:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Nov 2010 04:51:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Nov 2010 04:51:08 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 3B29623889DE; Wed, 10 Nov 2010 04:49:55 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1033347 - /incubator/hama/trunk/conf/hama-default.xml Date: Wed, 10 Nov 2010 04:49:55 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: edwardyoon Date: Wed Nov 10 04:49:54 2010 New Revision: 1033347 URL: http://svn.apache.org/viewvc?rev=1033347&view=rev Log: Sorry for my trivial changes. Modified: incubator/hama/trunk/conf/hama-default.xml Modified: incubator/hama/trunk/conf/hama-default.xml URL: http://svn.apache.org/viewvc/incubator/hama/trunk/conf/hama-default.xml?rev=1033347&r1=1033346&r2=1033347&view=diff ============================================================================== --- incubator/hama/trunk/conf/hama-default.xml (original) +++ incubator/hama/trunk/conf/hama-default.xml Wed Nov 10 04:49:54 2010 @@ -120,7 +120,7 @@ </property> <property> - <name>hama.zookeeper.barriersync</name> + <name>hama.zookeeper.quorum</name> <value>localhost</value> <description>Comma separated list of servers in the ZooKeeper quorum. For example, "host1.mydomain.com,host2.mydomain.com,host3.mydomain.com". From [email protected] Wed Nov 10 05:06:41 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55630 invoked from network); 10 Nov 2010 05:06:41 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 10 Nov 2010 05:06:41 -0000 Received: (qmail 91259 invoked by uid 500); 10 Nov 2010 05:07:12 -0000 Delivered-To: [email protected] Received: (qmail 91226 invoked by uid 500); 10 Nov 2010 05:07:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 91218 invoked by uid 99); 10 Nov 2010 05:07:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Nov 2010 05:07:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Nov 2010 05:07:08 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id DBAE623888DD; Wed, 10 Nov 2010 05:05:53 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1033352 - in /incubator/hama/trunk: CHANGES.txt conf/hama-default.xml src/java/org/apache/hama/bsp/BSPJobClient.java src/java/org/apache/hama/bsp/LocalJobRunner.java Date: Wed, 10 Nov 2010 05:05:53 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: edwardyoon Date: Wed Nov 10 05:05:53 2010 New Revision: 1033352 URL: http://svn.apache.org/viewvc?rev=1033352&view=rev Log: Remove LocalJobRunner Removed: incubator/hama/trunk/src/java/org/apache/hama/bsp/LocalJobRunner.java Modified: incubator/hama/trunk/CHANGES.txt incubator/hama/trunk/conf/hama-default.xml incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPJobClient.java Modified: incubator/hama/trunk/CHANGES.txt URL: http://svn.apache.org/viewvc/incubator/hama/trunk/CHANGES.txt?rev=1033352&r1=1033351&r2=1033352&view=diff ============================================================================== --- incubator/hama/trunk/CHANGES.txt (original) +++ incubator/hama/trunk/CHANGES.txt Wed Nov 10 05:05:53 2010 @@ -50,6 +50,7 @@ Trunk (unreleased changes) IMPROVEMENTS + HAMA-313: Remove LocalJobRunner (edwardyoon) HAMA-321: Allows user to set the number of tasks (edwardyoon) HAMA-282: Add superstep counter (Filipe Manana via edwardyoon) HAMA-327: Add overview for javadoc (edwardyoon) Modified: incubator/hama/trunk/conf/hama-default.xml URL: http://svn.apache.org/viewvc/incubator/hama/trunk/conf/hama-default.xml?rev=1033352&r1=1033351&r2=1033352&view=diff ============================================================================== --- incubator/hama/trunk/conf/hama-default.xml (original) +++ incubator/hama/trunk/conf/hama-default.xml Wed Nov 10 05:05:53 2010 @@ -24,7 +24,7 @@ <configuration> <property> <name>bsp.master.address</name> - <value>local</value> + <value>localhost</value> <description>The address of the bsp master server. Either the literal string "local" or a host[:port] (where host is a name or IP address) for distributed mode. Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPJobClient.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPJobClient.java?rev=1033352&r1=1033351&r2=1033352&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPJobClient.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPJobClient.java Wed Nov 10 05:05:53 2010 @@ -190,16 +190,10 @@ public class BSPJobClient extends Config } public void init(Configuration conf) throws IOException { - // it will be used to determine if the bspmaster is running on local or not. - String master = conf.get("bsp.master.address", "local"); - if ("local".equals(master)) { - this.jobSubmitClient = new LocalJobRunner(conf); - } else { - this.jobSubmitClient = (JobSubmissionProtocol) RPC.getProxy( - JobSubmissionProtocol.class, JobSubmissionProtocol.versionID, - BSPMaster.getAddress(conf), conf, NetUtils.getSocketFactory(conf, - JobSubmissionProtocol.class)); - } + this.jobSubmitClient = (JobSubmissionProtocol) RPC.getProxy( + JobSubmissionProtocol.class, JobSubmissionProtocol.versionID, BSPMaster + .getAddress(conf), conf, NetUtils.getSocketFactory(conf, + JobSubmissionProtocol.class)); } /** @@ -390,7 +384,7 @@ public class BSPJobClient extends Config IOException { BSPJobClient jc = new BSPJobClient(job.getConf()); - // TODO this code must be removed + // TODO this code must be removed // when GroomServer supports the multiple tasks. if (job.getNumBspTask() > jc.getClusterStatus(false).getGroomServers()) { // If the number of tasks is greater than the number of GroomServer, From [email protected] Thu Nov 11 02:51:25 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44916 invoked from network); 11 Nov 2010 02:51:25 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 11 Nov 2010 02:51:25 -0000 Received: (qmail 7327 invoked by uid 500); 11 Nov 2010 02:51:57 -0000 Delivered-To: [email protected] Received: (qmail 7280 invoked by uid 500); 11 Nov 2010 02:51:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7267 invoked by uid 99); 11 Nov 2010 02:51:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 02:51:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 02:51:53 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 9A81C23888D7; Thu, 11 Nov 2010 02:50:38 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1033805 - in /incubator/hama/trunk/src/java/org/apache/hama/bsp: GroomServerAction.java HeartbeatResponse.java Date: Thu, 11 Nov 2010 02:50:38 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: edwardyoon Date: Thu Nov 11 02:50:38 2010 New Revision: 1033805 URL: http://svn.apache.org/viewvc?rev=1033805&view=rev Log: Rename method from getActionId() to getActionType() on GroomServerAction Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServerAction.java incubator/hama/trunk/src/java/org/apache/hama/bsp/HeartbeatResponse.java Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServerAction.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServerAction.java?rev=1033805&r1=1033804&r2=1033805&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServerAction.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServerAction.java Thu Nov 11 02:50:38 2010 @@ -102,7 +102,7 @@ abstract class GroomServerAction impleme * Return the {@link ActionType}. * @return the {@link ActionType}. */ - ActionType getActionId() { + ActionType getActionType() { return actionType; } Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/HeartbeatResponse.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/HeartbeatResponse.java?rev=1033805&r1=1033804&r2=1033805&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/bsp/HeartbeatResponse.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/bsp/HeartbeatResponse.java Thu Nov 11 02:50:38 2010 @@ -102,7 +102,7 @@ public class HeartbeatResponse implement } else { WritableUtils.writeVInt(out, actions.length); for(GroomServerAction action: actions) { - WritableUtils.writeEnum(out, action.getActionId()); + WritableUtils.writeEnum(out, action.getActionType()); action.write(out); } } From [email protected] Thu Nov 11 07:24:34 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86410 invoked from network); 11 Nov 2010 07:24:34 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 11 Nov 2010 07:24:34 -0000 Received: (qmail 59182 invoked by uid 500); 11 Nov 2010 07:25:05 -0000 Delivered-To: [email protected] Received: (qmail 59149 invoked by uid 500); 11 Nov 2010 07:25:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 59140 invoked by uid 99); 11 Nov 2010 07:25:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 07:25:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 07:25:01 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 8C46E23888EA; Thu, 11 Nov 2010 07:23:46 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1033827 - /incubator/hama/trunk/build.xml Date: Thu, 11 Nov 2010 07:23:46 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: edwardyoon Date: Thu Nov 11 07:23:46 2010 New Revision: 1033827 URL: http://svn.apache.org/viewvc?rev=1033827&view=rev Log: Trivial change: I'v just changed the "javadoc.link.java". Modified: incubator/hama/trunk/build.xml Modified: incubator/hama/trunk/build.xml URL: http://svn.apache.org/viewvc/incubator/hama/trunk/build.xml?rev=1033827&r1=1033826&r2=1033827&view=diff ============================================================================== --- incubator/hama/trunk/build.xml (original) +++ incubator/hama/trunk/build.xml Thu Nov 11 07:23:46 2010 @@ -67,7 +67,7 @@ <property name="javac.deprecation" value="off" /> <property name="javac.debug" value="on" /> - <property name="javadoc.link.java" value="http://java.sun.com/javase/6/docs/api/" /> + <property name="javadoc.link.java" value="http://download.oracle.com/javase/6/docs/api/" /> <property name="javadoc.packages" value="org.apache.hama.*" /> <fileset id="lib.jars" dir="${basedir}" includes="lib/*.jar" /> From [email protected] Thu Nov 11 08:45:47 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17415 invoked from network); 11 Nov 2010 08:45:47 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 11 Nov 2010 08:45:47 -0000 Received: (qmail 30626 invoked by uid 500); 11 Nov 2010 08:46:18 -0000 Delivered-To: [email protected] Received: (qmail 30586 invoked by uid 500); 11 Nov 2010 08:46:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30577 invoked by uid 99); 11 Nov 2010 08:46:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 08:46:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 08:46:12 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id DBC2323889EB; Thu, 11 Nov 2010 08:44:57 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1033838 - in /incubator/hama/trunk: ./ src/examples/org/apache/hama/examples/ src/java/org/apache/hama/bsp/ Date: Thu, 11 Nov 2010 08:44:57 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: edwardyoon Date: Thu Nov 11 08:44:57 2010 New Revision: 1033838 URL: http://svn.apache.org/viewvc?rev=1033838&view=rev Log: BSP program doesn't work when the desired tasks smaller than cluster size Modified: incubator/hama/trunk/CHANGES.txt incubator/hama/trunk/src/examples/org/apache/hama/examples/PiEstimator.java incubator/hama/trunk/src/examples/org/apache/hama/examples/SerializePrinting.java incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPMaster.java incubator/hama/trunk/src/java/org/apache/hama/bsp/JobInProgress.java incubator/hama/trunk/src/java/org/apache/hama/bsp/JobProfile.java incubator/hama/trunk/src/java/org/apache/hama/bsp/SimpleTaskScheduler.java Modified: incubator/hama/trunk/CHANGES.txt URL: http://svn.apache.org/viewvc/incubator/hama/trunk/CHANGES.txt?rev=1033838&r1=1033837&r2=1033838&view=diff ============================================================================== --- incubator/hama/trunk/CHANGES.txt (original) +++ incubator/hama/trunk/CHANGES.txt Thu Nov 11 08:44:57 2010 @@ -181,6 +181,8 @@ Trunk (unreleased changes) BUG FIXES + HAMA-330: BSP program doesn't work when the desired tasks smaller than + cluster size (edwardyoon) HAMA-326: GroomServer should wait until a job finishes (edwardyoon) HAMA-324: Removing javadoc warnings and useless libraries (edwardyoon) HAMA-322: Make sure failed assertions on test threads are reported Modified: incubator/hama/trunk/src/examples/org/apache/hama/examples/PiEstimator.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/examples/org/apache/hama/examples/PiEstimator.java?rev=1033838&r1=1033837&r2=1033838&view=diff ============================================================================== --- incubator/hama/trunk/src/examples/org/apache/hama/examples/PiEstimator.java (original) +++ incubator/hama/trunk/src/examples/org/apache/hama/examples/PiEstimator.java Thu Nov 11 08:44:57 2010 @@ -99,7 +99,7 @@ public class PiEstimator { // Set the job name bsp.setJobName("pi estimation example"); bsp.setBspClass(MyEstimator.class); - bsp.setNumBspTask(10); + bsp.setNumBspTask(1); BSPJobClient jobClient = new BSPJobClient(conf); ClusterStatus cluster = jobClient.getClusterStatus(true); Modified: incubator/hama/trunk/src/examples/org/apache/hama/examples/SerializePrinting.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/examples/org/apache/hama/examples/SerializePrinting.java?rev=1033838&r1=1033837&r2=1033838&view=diff ============================================================================== --- incubator/hama/trunk/src/examples/org/apache/hama/examples/SerializePrinting.java (original) +++ incubator/hama/trunk/src/examples/org/apache/hama/examples/SerializePrinting.java Thu Nov 11 08:44:57 2010 @@ -27,6 +27,7 @@ import org.apache.hama.bsp.BSP; import org.apache.hama.bsp.BSPJob; import org.apache.hama.bsp.BSPJobClient; import org.apache.hama.bsp.BSPPeer; +import org.apache.hama.bsp.ClusterStatus; import org.apache.zookeeper.KeeperException; public class SerializePrinting { @@ -44,7 +45,7 @@ public class SerializePrinting { int i = 0; for (String otherPeer : bspPeer.getAllPeerNames()) { if (bspPeer.getPeerName().equals(otherPeer)) { - LOG.info("Hello BSP from " + i + " of " + num + ": " + LOG.info("Hello BSP from " + (i + 1) + " of " + num + ": " + bspPeer.getPeerName()); } @@ -75,7 +76,11 @@ public class SerializePrinting { // Set the job name bsp.setJobName("serialize printing"); bsp.setBspClass(HelloBSP.class); - bsp.setNumBspTask(10); + + // Set the task size as a number of GroomServer + BSPJobClient jobClient = new BSPJobClient(conf); + ClusterStatus cluster = jobClient.getClusterStatus(false); + bsp.setNumBspTask(cluster.getGroomServers()); BSPJobClient.runJob(bsp); } Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPMaster.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPMaster.java?rev=1033838&r1=1033837&r2=1033838&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPMaster.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPMaster.java Thu Nov 11 08:44:57 2010 @@ -381,13 +381,7 @@ public class BSPMaster implements JobSub for (Task task : taskList) { if (task != null) { - - if (!jobs.get(task.getJobID()).getStatus().isJobComplete()) { - if (jobs.get(task.getJobID()).getStatus().getRunState() != JobStatus.RUNNING) { actions.add(new LaunchTaskAction(task)); - } - } - } } } @@ -463,7 +457,6 @@ public class BSPMaster implements JobSub LOG.debug("Removing task '" + taskid + "'"); } - /* private List<GroomServerAction> getTasksToKill(String groomName) { Set<String> taskIds = (TreeSet<String>) trackerToTaskMap.get(groomName); if (taskIds != null) { @@ -498,7 +491,6 @@ public class BSPMaster implements JobSub return null; } - */ /** * Process incoming heartbeat messages from the groom. @@ -584,6 +576,16 @@ public class BSPMaster implements JobSub jobs.put(job.getProfile().getJobID(), job); taskScheduler.addJob(job); } + + + // TODO Later, we should use the JobInProgressListener -- edwardyoon + try { + job.initTasks(); + } catch (IOException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + return job.getStatus(); } Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/JobInProgress.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/JobInProgress.java?rev=1033838&r1=1033837&r2=1033838&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/bsp/JobInProgress.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/bsp/JobInProgress.java Thu Nov 11 08:44:57 2010 @@ -46,6 +46,7 @@ class JobInProgress { } static final Log LOG = LogFactory.getLog(JobInProgress.class); + boolean tasksInited = false; Configuration conf; JobProfile profile; @@ -62,15 +63,16 @@ class JobInProgress { // private LocalFileSystem localFs; private BSPJobID jobId; final BSPMaster master; - List<TaskInProgress> tasks; + TaskInProgress tasks[] = new TaskInProgress[0]; private long superstepCounter; + int numBSPTasks = 0; + int clusterSize; + public JobInProgress(BSPJobID jobId, BSPMaster master, Configuration conf) throws IOException { this.conf = conf; this.jobId = jobId; - - this.tasks = new ArrayList<TaskInProgress>(); this.localFs = FileSystem.getLocal(conf); this.master = master; @@ -88,7 +90,8 @@ class JobInProgress { FileSystem fs = jobDir.getFileSystem(conf); jobFile = new Path(jobDir, "job.xml"); fs.copyToLocalFile(jobFile, localJobFile); - BSPJobContext job = new BSPJobContext(localJobFile, jobId); + BSPJob job = new BSPJob(jobId, localJobFile.toString()); + this.numBSPTasks = job.getNumBspTask(); this.profile = new JobProfile(job.getUser(), jobId, jobFile.toString(), job .getJobName()); @@ -100,9 +103,6 @@ class JobInProgress { } - // /////////////////////////////////////////////////// - // Accessors for the JobInProgress - // /////////////////////////////////////////////////// public JobProfile getProfile() { return profile; } @@ -124,6 +124,13 @@ class JobInProgress { } /** + * @return the number of desired tasks. + */ + public int desiredBSPTasks() { + return numBSPTasks; + } + + /** * @return The JobID of this JobInProgress. */ public BSPJobID getJobID() { @@ -139,16 +146,45 @@ class JobInProgress { // /////////////////////////////////////////////////// // Create/manage tasks // /////////////////////////////////////////////////// + + public synchronized void initTasks() throws IOException { + if (tasksInited) { + return; + } + + // adjust number of map tasks to actual number of splits + this.tasks = new TaskInProgress[numBSPTasks]; + for (int i = 0; i < numBSPTasks; i++) { + tasks[i] = new TaskInProgress(getJobID(), this.jobFile.toString(), + this.master, this.conf, this, i); + } + + // Update job status + this.status = new JobStatus(this.status.getJobID(), 1.0f, 1.0f, + JobStatus.RUNNING); + + tasksInited = true; + LOG.debug("Job is initialized."); + } + public synchronized Task obtainNewTask(GroomServerStatus status, int clusterSize, int numUniqueHosts) { - LOG.debug("clusterSize: " + clusterSize); - + this.clusterSize = clusterSize; + + if (this.status.getRunState() != JobStatus.RUNNING) { + LOG.info("Cannot create task split for " + profile.getJobID()); + return null; + } + Task result = null; try { - TaskInProgress tip = new TaskInProgress(getJobID(), this.jobFile - .toString(), this.master, this.conf, this, numUniqueHosts); - tasks.add(tip); - result = tip.getTaskToRun(status); + for (int i = 0; i < tasks.length; i++) { + if(!tasks[i].isRunning()) { + result = tasks[i].getTaskToRun(status); + break; + } + } + } catch (IOException e) { e.printStackTrace(); } @@ -156,7 +192,7 @@ class JobInProgress { return result; } - public void completedTask(TaskInProgress tip, TaskStatus status) { + public synchronized void completedTask(TaskInProgress tip, TaskStatus status) { String taskid = status.getTaskId(); updateTaskStatus(tip, status); LOG.info("Taskid '" + taskid + "' has finished successfully."); @@ -174,9 +210,6 @@ class JobInProgress { } } - this.status = new JobStatus(this.status.getJobID(), 1.0f, 1.0f, - JobStatus.RUNNING); - if (allDone) { LOG.debug("Job successfully done."); @@ -186,13 +219,14 @@ class JobInProgress { } } - public synchronized void updateTaskStatus(TaskInProgress tip, TaskStatus taskStatus) { + public synchronized void updateTaskStatus(TaskInProgress tip, + TaskStatus taskStatus) { tip.updateStatus(taskStatus); // update tip if (superstepCounter < taskStatus.getSuperstepCount()) { superstepCounter = taskStatus.getSuperstepCount(); // TODO Later, we have to update JobInProgress status here - + } } Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/JobProfile.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/JobProfile.java?rev=1033838&r1=1033837&r2=1033838&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/bsp/JobProfile.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/bsp/JobProfile.java Thu Nov 11 08:44:57 2010 @@ -26,10 +26,9 @@ import org.apache.hadoop.io.Writable; import org.apache.hadoop.io.WritableFactories; import org.apache.hadoop.io.WritableFactory; -/************************************************** +/* * A JobProfile tracks job's status - * - **************************************************/ + */ public class JobProfile implements Writable { static { // register a ctor @@ -96,9 +95,6 @@ public class JobProfile implements Writa return name; } - // ///////////////////////////////////// - // Writable - // ///////////////////////////////////// public void write(DataOutput out) throws IOException { jobid.write(out); Text.writeString(out, jobFile); Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/SimpleTaskScheduler.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/SimpleTaskScheduler.java?rev=1033838&r1=1033837&r2=1033838&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/bsp/SimpleTaskScheduler.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/bsp/SimpleTaskScheduler.java Thu Nov 11 08:44:57 2010 @@ -76,28 +76,24 @@ class SimpleTaskScheduler extends TaskSc // instance to the scheduler. synchronized (jobQueue) { for (JobInProgress job : jobQueue) { + if (job.getStatus().getRunState() != JobStatus.RUNNING) { + continue; + } - if (!job.getStatus().isJobComplete() && job.getStatus().getRunState() != JobStatus.RUNNING) { - /* - * if (job.getStatus().getRunState() != JobStatus.RUNNING) { - * continue; } - */ - - Task t = null; + Task t = null; - t = job.obtainNewTask(groomStatus, numGroomServers, - groomServerManager.getNumberOfUniqueHosts()); + t = job.obtainNewTask(groomStatus, numGroomServers, + groomServerManager.getNumberOfUniqueHosts()); - if (t != null) { - assignedTasks.add(t); - break; // TODO - Now, simple scheduler assigns only one task to - // each groom. Later, it will be improved for scheduler to - // assign one or more tasks to each groom according to - // its capacity. - } + if (t != null) { + assignedTasks.add(t); + break; // TODO - Now, simple scheduler assigns only one task to + // each groom. Later, it will be improved for scheduler to + // assign one or more tasks to each groom according to + // its capacity. } - } + } } From [email protected] Thu Nov 11 09:17:47 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33137 invoked from network); 11 Nov 2010 09:17:47 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 11 Nov 2010 09:17:47 -0000 Received: (qmail 57790 invoked by uid 500); 11 Nov 2010 09:18:18 -0000 Delivered-To: [email protected] Received: (qmail 57756 invoked by uid 500); 11 Nov 2010 09:18:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 57748 invoked by uid 99); 11 Nov 2010 09:18:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 09:18:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 09:18:14 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 41C9323888E7; Thu, 11 Nov 2010 09:16:59 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1033849 - /incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPMaster.java Date: Thu, 11 Nov 2010 09:16:58 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: edwardyoon Date: Thu Nov 11 09:16:56 2010 New Revision: 1033849 URL: http://svn.apache.org/viewvc?rev=1033849&view=rev Log: Trivial changes of re-factoring. Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPMaster.java Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPMaster.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPMaster.java?rev=1033849&r1=1033848&r2=1033849&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPMaster.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPMaster.java Thu Nov 11 09:16:56 2010 @@ -233,8 +233,7 @@ public class BSPMaster implements JobSub public static BSPMaster startTracker(HamaConfiguration conf, String identifier) throws IOException, InterruptedException { - BSPMaster result = null; - result = new BSPMaster(conf, identifier); + BSPMaster result = new BSPMaster(conf, identifier); result.taskScheduler.setGroomServerManager(result); return result; @@ -247,16 +246,12 @@ public class BSPMaster implements JobSub return NetUtils.createSocketAddr(hamaMasterStr, defaultPort); } - private static SimpleDateFormat getDateFormat() { - return new SimpleDateFormat("yyyyMMddHHmm"); - } - /** * * @return */ private static String generateNewIdentifier() { - return getDateFormat().format(new Date()); + return new SimpleDateFormat("yyyyMMddHHmm").format(new Date()); } public void offerService() throws InterruptedException, IOException { @@ -369,8 +364,6 @@ public class BSPMaster implements JobSub HeartbeatResponse response = new HeartbeatResponse(newResponseId, null, groomServerPeers); List<GroomServerAction> actions = new ArrayList<GroomServerAction>(); - updateTaskStatuses(status); - // Check for new tasks to be executed on the groom server if (acceptNewTasks) { GroomServerStatus groomStatus = getGroomServer(groomName); @@ -391,7 +384,8 @@ public class BSPMaster implements JobSub groomToHeartbeatResponseMap.put(groomName, response); removeMarkedTasks(groomName); - + updateTaskStatuses(status); + return response; } From [email protected] Thu Nov 11 12:19:19 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20042 invoked from network); 11 Nov 2010 12:19:19 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 11 Nov 2010 12:19:19 -0000 Received: (qmail 53652 invoked by uid 500); 11 Nov 2010 12:19:51 -0000 Delivered-To: [email protected] Received: (qmail 53618 invoked by uid 500); 11 Nov 2010 12:19:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 53610 invoked by uid 99); 11 Nov 2010 12:19:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 12:19:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 12:19:48 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B9DC32388903; Thu, 11 Nov 2010 12:18:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1033910 - in /incubator/hama/trunk: CHANGES.txt src/examples/org/apache/hama/examples/PiEstimator.java Date: Thu, 11 Nov 2010 12:18:34 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: edwardyoon Date: Thu Nov 11 12:18:34 2010 New Revision: 1033910 URL: http://svn.apache.org/viewvc?rev=1033910&view=rev Log: Add taskNum argument to pi estimator Modified: incubator/hama/trunk/CHANGES.txt incubator/hama/trunk/src/examples/org/apache/hama/examples/PiEstimator.java Modified: incubator/hama/trunk/CHANGES.txt URL: http://svn.apache.org/viewvc/incubator/hama/trunk/CHANGES.txt?rev=1033910&r1=1033909&r2=1033910&view=diff ============================================================================== --- incubator/hama/trunk/CHANGES.txt (original) +++ incubator/hama/trunk/CHANGES.txt Thu Nov 11 12:18:34 2010 @@ -50,6 +50,7 @@ Trunk (unreleased changes) IMPROVEMENTS + HAMA-329: Add taskNum argument to pi estimator (edwardyoon) HAMA-313: Remove LocalJobRunner (edwardyoon) HAMA-321: Allows user to set the number of tasks (edwardyoon) HAMA-282: Add superstep counter (Filipe Manana via edwardyoon) Modified: incubator/hama/trunk/src/examples/org/apache/hama/examples/PiEstimator.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/examples/org/apache/hama/examples/PiEstimator.java?rev=1033910&r1=1033909&r2=1033910&view=diff ============================================================================== --- incubator/hama/trunk/src/examples/org/apache/hama/examples/PiEstimator.java (original) +++ incubator/hama/trunk/src/examples/org/apache/hama/examples/PiEstimator.java Thu Nov 11 12:18:34 2010 @@ -99,10 +99,17 @@ public class PiEstimator { // Set the job name bsp.setJobName("pi estimation example"); bsp.setBspClass(MyEstimator.class); - bsp.setNumBspTask(1); BSPJobClient jobClient = new BSPJobClient(conf); ClusterStatus cluster = jobClient.getClusterStatus(true); + + if(args.length > 0) { + bsp.setNumBspTask(Integer.parseInt(args[0])); + } else { + // Set to maximum + bsp.setNumBspTask(cluster.getGroomServers()); + } + // Choose one as a master for (String peerName : cluster.getActiveGroomNames().values()) { conf.set(MASTER_TASK, peerName); From [email protected] Mon Nov 22 00:55:02 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20038 invoked from network); 22 Nov 2010 00:55:02 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 22 Nov 2010 00:55:02 -0000 Received: (qmail 83131 invoked by uid 500); 22 Nov 2010 00:55:34 -0000 Delivered-To: [email protected] Received: (qmail 83099 invoked by uid 500); 22 Nov 2010 00:55:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 83091 invoked by uid 99); 22 Nov 2010 00:55:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Nov 2010 00:55:33 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Nov 2010 00:55:32 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C9A4323888EC; Mon, 22 Nov 2010 00:54:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1037581 - in /incubator/hama/trunk: CHANGES.txt src/java/org/apache/hama/bsp/BSPMaster.java Date: Mon, 22 Nov 2010 00:54:18 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: edwardyoon Date: Mon Nov 22 00:54:18 2010 New Revision: 1037581 URL: http://svn.apache.org/viewvc?rev=1037581&view=rev Log: Renaming some members in BSPMaster to follow the Hama terminology Modified: incubator/hama/trunk/CHANGES.txt incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPMaster.java Modified: incubator/hama/trunk/CHANGES.txt URL: http://svn.apache.org/viewvc/incubator/hama/trunk/CHANGES.txt?rev=1037581&r1=1037580&r2=1037581&view=diff ============================================================================== --- incubator/hama/trunk/CHANGES.txt (original) +++ incubator/hama/trunk/CHANGES.txt Mon Nov 22 00:54:18 2010 @@ -50,6 +50,8 @@ Trunk (unreleased changes) IMPROVEMENTS + HAMA-332: Renaming some members in BSPMaster + to follow the Hama terminology (Filipe Manana via edwardyoon) HAMA-329: Add taskNum argument to pi estimator (edwardyoon) HAMA-313: Remove LocalJobRunner (edwardyoon) HAMA-321: Allows user to set the number of tasks (edwardyoon) Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPMaster.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPMaster.java?rev=1037581&r1=1037580&r2=1037581&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPMaster.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPMaster.java Mon Nov 22 00:54:18 2010 @@ -100,6 +100,10 @@ public class BSPMaster implements JobSub private Map<BSPJobID, JobInProgress> jobs = new TreeMap<BSPJobID, JobInProgress>(); private TaskScheduler taskScheduler; + TreeMap<String, String> taskIdToGroomNameMap = new TreeMap<String, String>(); + TreeMap<String, TreeSet<String>> groomNameToTaskIdsMap = new TreeMap<String, TreeSet<String>>(); + Map<String, TaskInProgress> taskIdToTaskInProgressMap = new TreeMap<String, TaskInProgress>(); + /** * Start the BSPMaster process, listen on the indicated hostname/port */ @@ -394,7 +398,7 @@ public class BSPMaster implements JobSub TaskStatus report = it.next(); report.setGroomServer(status.getGroomName()); String taskId = report.getTaskId(); - TaskInProgress tip = (TaskInProgress) taskidToTIPMap.get(taskId); + TaskInProgress tip = (TaskInProgress) taskIdToTaskInProgressMap.get(taskId); if (tip == null) { LOG.info("Serious problem. While updating status, cannot find taskid " @@ -435,29 +439,29 @@ public class BSPMaster implements JobSub private void removeTaskEntry(String taskid) { // taskid --> tracker - String tracker = taskidToTrackerMap.remove(taskid); + String tracker = taskIdToGroomNameMap.remove(taskid); // tracker --> taskid if (tracker != null) { - TreeSet<String> trackerSet = trackerToTaskMap.get(tracker); + TreeSet<String> trackerSet = groomNameToTaskIdsMap.get(tracker); if (trackerSet != null) { trackerSet.remove(taskid); } } // taskid --> TIP - taskidToTIPMap.remove(taskid); + taskIdToTaskInProgressMap.remove(taskid); LOG.debug("Removing task '" + taskid + "'"); } private List<GroomServerAction> getTasksToKill(String groomName) { - Set<String> taskIds = (TreeSet<String>) trackerToTaskMap.get(groomName); + Set<String> taskIds = (TreeSet<String>) groomNameToTaskIdsMap.get(groomName); if (taskIds != null) { List<GroomServerAction> killList = new ArrayList<GroomServerAction>(); Set<String> killJobIds = new TreeSet<String>(); for (String killTaskId : taskIds) { - TaskInProgress tip = (TaskInProgress) taskidToTIPMap.get(killTaskId); + TaskInProgress tip = (TaskInProgress) taskIdToTaskInProgressMap.get(killTaskId); if (tip.shouldCloseForClosedJob(killTaskId)) { // // This is how the JobTracker ends a task at the TaskTracker. @@ -694,27 +698,23 @@ public class BSPMaster implements JobSub this.interTrackerServer.stop(); } - TreeMap<String, String> taskidToTrackerMap = new TreeMap<String, String>(); - TreeMap<String, TreeSet<String>> trackerToTaskMap = new TreeMap<String, TreeSet<String>>(); - Map<String, TaskInProgress> taskidToTIPMap = new TreeMap<String, TaskInProgress>(); - public void createTaskEntry(String taskid, String groomServer, TaskInProgress taskInProgress) { LOG.info("Adding task '" + taskid + "' to tip " + taskInProgress.getTIPId() + ", for tracker '" + groomServer + "'"); // taskid --> tracker - taskidToTrackerMap.put(taskid, groomServer); + taskIdToGroomNameMap.put(taskid, groomServer); // tracker --> taskid - TreeSet<String> taskset = trackerToTaskMap.get(groomServer); + TreeSet<String> taskset = groomNameToTaskIdsMap.get(groomServer); if (taskset == null) { taskset = new TreeSet<String>(); - trackerToTaskMap.put(groomServer, taskset); + groomNameToTaskIdsMap.put(groomServer, taskset); } taskset.add(taskid); // taskid --> TIP - taskidToTIPMap.put(taskid, taskInProgress); + taskIdToTaskInProgressMap.put(taskid, taskInProgress); } } From [email protected] Tue Nov 23 01:18:48 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29027 invoked from network); 23 Nov 2010 01:18:47 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Nov 2010 01:18:47 -0000 Received: (qmail 65911 invoked by uid 500); 23 Nov 2010 01:19:19 -0000 Delivered-To: [email protected] Received: (qmail 65876 invoked by uid 500); 23 Nov 2010 01:19:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 65868 invoked by uid 99); 23 Nov 2010 01:19:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Nov 2010 01:19:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Nov 2010 01:19:17 +0000 Received: from eosnew.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id 4EB48437 for <[email protected]>; Tue, 23 Nov 2010 01:18:39 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki <[email protected]> To: Apache Wiki <[email protected]> Date: Tue, 23 Nov 2010 01:18:38 -0000 Message-ID: <[email protected]> Subject: =?utf-8?q?=5BHama_Wiki=5D_Trivial_Update_of_=22GettingStarted=22_by_edwar?= =?utf-8?q?dyoon?= X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hama Wiki" for chan= ge notification. The "GettingStarted" page has been changed by edwardyoon. http://wiki.apache.org/hama/GettingStarted?action=3Ddiff&rev1=3D42&rev2=3D43 -------------------------------------------------- <<TableOfContents(5)>> - = - =3D=3D Download =3D=3D - = - * [[http://people.apache.org/~edwardyoon/hama-0.2.0-candidate-1/|Apache = Hama 0.2.0 RC1]] is available for download = =3D=3D Requirements =3D=3D =20 From [email protected] Thu Nov 25 03:54:18 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21089 invoked from network); 25 Nov 2010 03:54:17 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Nov 2010 03:54:17 -0000 Received: (qmail 95090 invoked by uid 500); 25 Nov 2010 03:54:49 -0000 Delivered-To: [email protected] Received: (qmail 95057 invoked by uid 500); 25 Nov 2010 03:54:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 95049 invoked by uid 99); 25 Nov 2010 03:54:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 03:54:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 03:54:46 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 6C68D238897A; Thu, 25 Nov 2010 03:53:15 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1038904 - /incubator/hama/trunk/src/docs/src/documentation/content/xdocs/index.xml Date: Thu, 25 Nov 2010 03:53:15 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: edwardyoon Date: Thu Nov 25 03:53:15 2010 New Revision: 1038904 URL: http://svn.apache.org/viewvc?rev=1038904&view=rev Log: Fix typo in the website Modified: incubator/hama/trunk/src/docs/src/documentation/content/xdocs/index.xml Modified: incubator/hama/trunk/src/docs/src/documentation/content/xdocs/index.xml URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/docs/src/documentation/content/xdocs/index.xml?rev=1038904&r1=1038903&r2=1038904&view=diff ============================================================================== --- incubator/hama/trunk/src/docs/src/documentation/content/xdocs/index.xml (original) +++ incubator/hama/trunk/src/docs/src/documentation/content/xdocs/index.xml Thu Nov 25 03:53:15 2010 @@ -62,7 +62,7 @@ new TWTR.Widget({ <section> <title>Recent News</title> <ul> - <li>Sep 30, 2010 - <a href="http://blogs.apache.org/hama/entry/hama_in_academic_paper">Hama peper</a> has accepted at <a href="http://salsahpc.indiana.edu/CloudCom2010/papers.html">IEEE CloudCom 2010 Workshop</a></li> + <li>Sep 30, 2010 - <a href="http://blogs.apache.org/hama/entry/hama_in_academic_paper">Hama paper</a> has accepted at <a href="http://salsahpc.indiana.edu/CloudCom2010/papers.html">IEEE CloudCom 2010 Workshop</a></li> <li>Jul 15, 2010 - We got rid of dependencies of MapReduce and HBase [<a href="http://blogs.apache.org/hama/entry/how_will_hama_bsp_different">Read more</a>]</li> <li>Apr 30, 2010 - We're introduced in the <a href="http://www.bsp-worldwide.org/bspww3000.html">BSP Worldwide</a>.</li> <li>December 11, 2009 - We made the BSP (Bulk Synchronous Parallel) package From [email protected] Thu Nov 25 04:01:44 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23283 invoked from network); 25 Nov 2010 04:01:44 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Nov 2010 04:01:44 -0000 Received: (qmail 96855 invoked by uid 500); 25 Nov 2010 04:02:16 -0000 Delivered-To: [email protected] Received: (qmail 96823 invoked by uid 500); 25 Nov 2010 04:02:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 96815 invoked by uid 99); 25 Nov 2010 04:02:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 04:02:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 04:02:14 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id AE2A723889D7; Thu, 25 Nov 2010 04:00:42 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1038910 - in /incubator/hama/site: author/src/documentation/content/xdocs/index.xml publish/index.html publish/index.pdf Date: Thu, 25 Nov 2010 04:00:42 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: edwardyoon Date: Thu Nov 25 04:00:42 2010 New Revision: 1038910 URL: http://svn.apache.org/viewvc?rev=1038910&view=rev Log: Fix typo in the website Modified: incubator/hama/site/author/src/documentation/content/xdocs/index.xml incubator/hama/site/publish/index.html incubator/hama/site/publish/index.pdf Modified: incubator/hama/site/author/src/documentation/content/xdocs/index.xml URL: http://svn.apache.org/viewvc/incubator/hama/site/author/src/documentation/content/xdocs/index.xml?rev=1038910&r1=1038909&r2=1038910&view=diff ============================================================================== --- incubator/hama/site/author/src/documentation/content/xdocs/index.xml (original) +++ incubator/hama/site/author/src/documentation/content/xdocs/index.xml Thu Nov 25 04:00:42 2010 @@ -62,7 +62,7 @@ new TWTR.Widget({ <section> <title>Recent News</title> <ul> - <li>Sep 30, 2010 - <a href="http://blogs.apache.org/hama/entry/hama_in_academic_paper">Hama peper</a> has accepted at <a href="http://salsahpc.indiana.edu/CloudCom2010/papers.html">IEEE CloudCom 2010 Workshop</a></li> + <li>Sep 30, 2010 - <a href="http://blogs.apache.org/hama/entry/hama_in_academic_paper">Hama paper</a> has accepted at <a href="http://salsahpc.indiana.edu/CloudCom2010/papers.html">IEEE CloudCom 2010 Workshop</a></li> <li>Jul 15, 2010 - We got rid of dependencies of MapReduce and HBase [<a href="http://blogs.apache.org/hama/entry/how_will_hama_bsp_different">Read more</a>]</li> <li>Apr 30, 2010 - We're introduced in the <a href="http://www.bsp-worldwide.org/bspww3000.html">BSP Worldwide</a>.</li> <li>December 11, 2009 - We made the BSP (Bulk Synchronous Parallel) package Modified: incubator/hama/site/publish/index.html URL: http://svn.apache.org/viewvc/incubator/hama/site/publish/index.html?rev=1038910&r1=1038909&r2=1038910&view=diff ============================================================================== --- incubator/hama/site/publish/index.html (original) +++ incubator/hama/site/publish/index.html Thu Nov 25 04:00:42 2010 @@ -221,7 +221,7 @@ new TWTR.Widget({ <div class="section"> <ul> -<li>Sep 30, 2010 - <a href="http://blogs.apache.org/hama/entry/hama_in_academic_paper">Hama peper</a> has accepted at <a href="http://salsahpc.indiana.edu/CloudCom2010/papers.html">IEEE CloudCom 2010 Workshop</a> +<li>Sep 30, 2010 - <a href="http://blogs.apache.org/hama/entry/hama_in_academic_paper">Hama paper</a> has accepted at <a href="http://salsahpc.indiana.edu/CloudCom2010/papers.html">IEEE CloudCom 2010 Workshop</a> </li> <li>Jul 15, 2010 - We got rid of dependencies of MapReduce and HBase [<a href="http://blogs.apache.org/hama/entry/how_will_hama_bsp_different">Read more</a>]</li> Modified: incubator/hama/site/publish/index.pdf URL: http://svn.apache.org/viewvc/incubator/hama/site/publish/index.pdf?rev=1038910&r1=1038909&r2=1038910&view=diff ============================================================================== --- incubator/hama/site/publish/index.pdf (original) +++ incubator/hama/site/publish/index.pdf Thu Nov 25 04:00:42 2010 @@ -72,7 +72,7 @@ endobj << /Length 2348 /Filter [ /ASCII85Decode /FlateDecode ] >> stream -GatU599\*g%)2U?kgj:A;+-;+W8=i7c"ib)?10V*,R:G>He#Mm=-%Luh\USOeB<"sR7Tf$q!\:e6%H\\>J5LO>D1[iFgkL6eojJ5#Q>8bE+$t$Y"`0I]%^HH?4d"1onr<Trl)!uA6S3eB6h^.>!K+#O/nb^e_bmT+h_);-n_i[k?4lmq^N.8ZSH7NYPqX0<<S+HBLBRacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b]c]7e_+!H&M_!/K_)BNbAT`h[$=F6*kX'TCm^q`6k>]QurLCh7g3r6o]?$G_!nPl<AUn3e?[<g.gob`tmI>Nn1crUQs*4Q=eZWBO:/FI5n!BTE/#DR7f#"!9SS-E!+j;fIT9X<"!H8#C2D6b7qu#A[KG+CELDuHSg[*Gpm3^Ar7Ia?/jT>dsPF,\%o\ua$#)foASioAko&!T[N$UC)d>#"+UA0NQ_Ls4F9@goQmFXpfd(JaI:J&M`GlVf+;>o*WW-_(0N5faYq1OP3;nSd^/;)0u2.6+"#8=>V2n2IT>'2rh'aL]$T\QSDOSQi(HrV9[d%ia)\(fSFE?hdsZ\1qKo8>rlc!s?IVGoa)DI9=Jeq>oB@!^_S`L7b6UCh.7/B2($=`[^<LL=j#6RFO#ZeJG_$m^DLB`,lk-U_DIj[2kqhh0/Z28<7cMF.&.a/XMcoSA@je-6mStS]nlu^(=8nQm.3k?B>]&=DiPa]24"^;u6[%mWV8MPq$uKjE(7D0H+i\U"]6KEY<t?,Ua,%VtU<[KVmV#C<'Be_2&"tSd>(;r7r!#>5Uh!?]#f'[U!'Xonm`bh*H+4[?4<\5$iaWTsKn77olg9mU+=a'XiW'*LMuG5k<r76#Jq4IX(nBMpDV9fM*:/#2W&LOlI"--9mN2%GrL?=fR7^J9P0K=I$[4\Cqu0L>*Q%"pgn'^1KRa.0rYE`OWf?!JK*g+'S<[3&%.0lY]U@D(%B`d(5.-IckXE)e!a^(cbAEZB6r&EG=(63ReuHr5_N#>eY66jM<C`;*T>G+ ThXBO%kM,YMgOndDqkUeNX&?gD.uuUKZO3fU!Z;MW0WWZ%!@ir4UiI_u/-g0.+r8,o=R!a\bOqL"k9q79Q&\;:N5Z#;6I\:QHBM_bVC?-JT^nmTg%3]feA:GCV_\kp0'f&XJZaV$'L(Oo4t!#lE/OIQ7cf%(et=#RkunT=_C)_e8K#c>Tn]ZP.V7o-Bkl`mY("`1)kd&7oZV'"%"&%4H?[s_1A-um$LMN_-(BoA/l\jXXcZJ9r;2]%Se?==m>AHlD&3[]gD*((RU*0_]sB74cq&DVDK9c5TmX"C?l>J?OK7@d0='ZQ1c?RVqa4L3kuLSsZ>_IX:h(a56\1*;=-SmIhecli;.I9mCqm;eJmBOpLG\h=`5V9O#N@qko)shU%[D0?,b$%tRN30#9(S5Y^_k!"<"q29(Ic,$=d\:$7@;WnSV[UVmCFBq/g?Z=LktR*2e(-_Yq?/p*GB5[EU`,p\CR<`Sg_6m+^Pj5Kq;5;*F*kF4.1a=S17mm;&1(`[FD+X>4$hXH],Cqn-&&i7[Xt&@d;dG`=$M9\`GafB'Gi^J\$_h==,_V&46_agE%%"&3\]Q'[[BY<EW"#"iM'+.U$ZV+l;_tg+W&Bi+*\*W8'c,f5Z6pb[',4\]YnVCamRmUebb"Zk2CQ=@#+$`OVrH4sS?Y?9KNj.AMlmL4WMno8J_+T]uTIAQhW0C:@na:R'4RB/:$F1Up`AC/Z*>gl]9M+Q)u2([C&)jt^CmSTW<J"';85ITGS&e[K<\]/RJ2SOp[Cl\pUN8>Y\_?t`![bC:!W/!=-]CYh^#Y[Ms_p39PL^Z!GlfM7oZYdPPbe78L$WSHK"SL9f7TYb[TJZ'7<o.XWSgGk`BQuBU`:K6&J*"V5D.YBbKB?kf.mSOOJpZa`9FJ,@+l7OS-6b#Jh5p=L/H&/&.08dhOnM]u4DSfG3pp-VK"<Tm*fC\o%f3T/2]gcEmrRg'=2jM6[];TZO0bC9+!][ol.;R%HgcI b)24Q;!)$-,j!C.4N-0Gj,,]V&nEmseT!*]1&'<OFIfk^Bp=)URb`$(^)&8:"Pq&a()6Knn1<&aF+$3V9?_X1irc2B7Ne5kfMbPK6j@L0eqIEZ:HF:I,a,.;'c]fXY"5d#3cAR/dO0n>qDbZ@feBtCu+U:W"@=@->\GomXJWdY*k]ZDtlg9,BH+.=ZGKD'F_m\9D!nUZA^dI.#"LKuX]:\5GDp<^7I4p[P8o="F5Wg=g+4Z</GaHfp-UdQ+r!>HW)9Bf)r1\^_oZE$#g[:-M:53'/!K:N<2DS^<9P]YUDn=1fZL\apB7GT:f:@tK#\XQINB/]ouIl(Y?Il&s6qP+e[mI[(&SYNI6Tl64$XaTpsP!+=.~> +GatU599\*g%)2U?kgj:A;+-;)W8=i7c"ib)?10V*,R:G>He"BM<KD:sh\USOeB<"sR7Tf$q!\:e6%H\\gUr"$)2+EDEOX\)`dU8`$iU^T[p[Km[Rk;e\2tPb?4c_)nVTC#r/4bkMR6@Ccf/'>1k$9c+#c-&S%f!#7XDOX;/Bibf/6[:p6EruB&ph=hu'aiWX05hd$B3bS3!P/[(="Nl?)g)h`?to`8[<fo3-^Ia:p_jqH49+74^<BKitlm`pGit6b$_(^'g=PUn2Q[W9'MO6i2_YYY=J0`mNGIAot?ShGC9X%)qO\E!R4YN\l8Y0QTtM"@-<)!4Hh"(0^q*M(1e[1^c($G>*!]:e!N?[ItalPXg?['Nlk/1fH#/C_P.eRGr!L\G>he4rtg\Rh%G:2bOL#"gpgD<T=e/*<Gr>Bk/)hi&M&mU=Y7'U2,$V,-+'Q$tdme?"8E4H2sW+=_*ej,240.=e[.n>0jcYV>t+!4d\2RE0[(?qGl[=`IlBhFJ7.+1qsV(^mCi6R&6FKO&_o`S2b:5VZ6QDeG!:Dr0bUh]Z?Z?N^P5B8>KZFMYS!ZK'ZN+<J[<#'VW4T$4?EThj-0_3@8kfO''XB\A%4VIXKF<*"\?mDFG*gl-o.f/Z3C\-K<a"&GJ?:iJZ[ta'MGZ4NLdOjLG:fXo'me;Hc%?E4*6CKTcL.h!38DAGNbpQ3sO^EjW5o>3<,NKF#o'n+&aq>s2RH*$Y^fiD!>tE(@OQT/^KX#7+ngeb70qin*Zc+XO/r-NO!h!:V*53:8!+OG=',`=k!r&fp"G/drGs>&U!k"'u@@&dKPp47lmRZoZtM'F]Y._-m'dF3>__`+\'*6*i$=i;8G5.X>"Rm;j10j>)u88iC%.4@g*II"/-XZ64N'p?/4dcJcQi^H"++HD;I<_$''Oc:TViL@S4Xm:LN7JZG'6:G(W1HI6V]JD6^MC0q](OV=nd'qa<_XfQQ5YX=9A.n7f[jUpVIV]\` dqa=\8^2;1O?)Tq,O4<o7>tT?RmEp*)<hVB9+QFUR(3Sml5UE\d<)1B>jWG%-`/==$/%q<Z\c)-k&k*89f!4M*WVFP$LcVJ':K$Pu'ZF<fZA;/A5L8.R4fhh:3WhDAA\D"ocrX&9JnH(@k61Dt:,*j=Ydt@\)O*TQ?)te/n:Xh,8Zc,Djg^R@V+f?#c)nY!eIVNC!`Y_VJQ_#oOUn*Sn*g*(Q[ajr</t!bZL2C86`!De)B!\=^H[SQ.2KtCY1U!!dtRtTFi=oLH<9IXmk"&:1_T5PS"/;<.%_Fn=9`CSjJjU\aumDA[*8m<+fiaFh5dM\*ZW*1C2DsY-noZ:MGhn&]5=o<C9@6?l1L@dYU`0;ON)cO\6.VH5Wf0<&``@2TX%>9GSc-FZ\($!BlPm0(k^IlMP?eTUBl)l8tFbG%._EO$PC4J?2&a'7g-.f&M`,"<Xd\8eq[Y.")Z:=%fW1*f4pQB'8:W_^l'Bcd;qpI^m-;<P=^SHWU`$>A>.+L969speJ=Nl0Sg/EO0`8,P"Do/k2'B)4PusJ>CI5OSh?uaWN-?pFTPJI5)+"sdq*nE@N[ag,.bV(XNHs3J@N6Z7>ph%`&jPXqkYAFS.$V[<X4HZ-I,DA\a?r)A$]2^>7:$5l'"f4<oVm=/#^Yf39TtlB>h@JeB`quc=ef-TcfZJ4JSZ8Wk*^mQ'MK<g0NE6',<@]q18_+N,Fuagm,n[G@YV<aS5\QL&*X4fo2;9D]SKI^f;nhT4Km0od+Hg&*C?p1J;t%Sb>kkb-\b]1p+iFnP:M&1+i^8k.SP7CXs<mJ4E?-)rJ<1mBg^8)quN%4Vkf&at5O$H(=C4.NFohLcXBW%jP\GNUs-#H);&L7'3T:nSkYs1>&;<bZXDM!t&N,?65GtN`=M#m<,7(#^Zur.ARiq$o*ha6kS*5hA2^)FkBl[Z`[sKiJ\nXXa>JalQD(p?DB3GJ*aD[RnDY>>u`k8(^\\'4riJ/Pa1;imN& !Q)MbJqR/lI:!Itj4-Kbs--#q//E`;j,!*]16'<TNJm'V:ulSg&4jq,iT#h4'fr!tMOTlc#)Wh9**"Tn?oiV#"OQ[Y8=CTI."Fo>5E5)+$Hk*R_eW#EAd7;T"kH$>uuKO!j&lair)Hiua/RBNZUdrYgl7!E"WOat(sMBO1B;?$t_HBW!c2Jm=N*]-lMqVCJ-8Aad=nUQ;Udf04bL4(d19FM^Xp<^OU4p[P83F2/`eLs-`HgK7#OWCXa8VsgEHmh1kNma9^AfgSAA642`)T,6D4m(\f%<fa8*<V<0Tqp"8flJ5'+.>jUj%Z"2*MQ#ObMA2i5._i6qP,(kqP0T!eK:>aP,L[A]0Kk'5i4%8;u,ig+rPn@~> endstream endobj 17 0 obj From [email protected] Thu Nov 25 11:09:28 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95724 invoked from network); 25 Nov 2010 11:09:28 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Nov 2010 11:09:28 -0000 Received: (qmail 81573 invoked by uid 500); 25 Nov 2010 11:09:28 -0000 Delivered-To: [email protected] Received: (qmail 81537 invoked by uid 500); 25 Nov 2010 11:09:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81529 invoked by uid 99); 25 Nov 2010 11:09:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 11:09:26 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 11:09:24 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E896723888E8; Thu, 25 Nov 2010 11:07:50 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1039002 - /incubator/hama/nightly/hudsonBuildHamaPatch.sh Date: Thu, 25 Nov 2010 11:07:50 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: edwardyoon Date: Thu Nov 25 11:07:50 2010 New Revision: 1039002 URL: http://svn.apache.org/viewvc?rev=1039002&view=rev Log: Changed forrest home path. Modified: incubator/hama/nightly/hudsonBuildHamaPatch.sh Modified: incubator/hama/nightly/hudsonBuildHamaPatch.sh URL: http://svn.apache.org/viewvc/incubator/hama/nightly/hudsonBuildHamaPatch.sh?rev=1039002&r1=1039001&r2=1039002&view=diff ============================================================================== --- incubator/hama/nightly/hudsonBuildHamaPatch.sh (original) +++ incubator/hama/nightly/hudsonBuildHamaPatch.sh Thu Nov 25 11:07:50 2010 @@ -24,7 +24,7 @@ GREP=/export/home/edwardyoon/tools/grep/ PATCH=/export/home/edwardyoon/tools/patch/bin/patch JIRA=/export/home/edwardyoon/tools/jira_cli/src/cli/jira FINDBUGS_HOME=/export/home/edwardyoon/tools/findbugs/latest -FORREST_HOME=/export/home/edwardyoon/tools/forrest/latest +FORREST_HOME=/home/hudson/tools/forrest/apache-forrest-0.8/ ANT_HOME=/home/hudson/tools/ant/latest ############################################################################### @@ -372,7 +372,7 @@ runCoreTests () { ### Kill any rogue build processes from the last attempt $PS -auxwww | $GREP HamaPatchProcess | /usr/bin/nawk '{print $2}' | /usr/bin/xargs -t -I {} /usr/bin/kill -9 {} > /dev/null - $ANT_HOME/bin/ant -Dversion=${SVN_REVISION}_${defect}_PATCH-${patchNum} -DHamaPatchProcess= -Dtest.junit.output.format=xml -Dtest.output=yes tar test -Djava5.home=/usr/java/ docs -Dforrest.home=$FORREST_HOME + $ANT_HOME/bin/ant -Dversion=${SVN_REVISION}_${defect}_PATCH-${patchNum} -DHamaPatchProcess= -Dtest.junit.output.format=xml -Dtest.output=yes tar test docs -Dforrest.home=$FORREST_HOME if [[ $? != 0 ]] ; then JIRA_COMMENT="$JIRA_COMMENT From [email protected] Thu Nov 25 11:10:02 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95941 invoked from network); 25 Nov 2010 11:10:02 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Nov 2010 11:10:02 -0000 Received: (qmail 81773 invoked by uid 500); 25 Nov 2010 11:10:02 -0000 Delivered-To: [email protected] Received: (qmail 81752 invoked by uid 500); 25 Nov 2010 11:10:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81744 invoked by uid 99); 25 Nov 2010 11:10:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 11:10:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 11:10:01 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 889A8238890B; Thu, 25 Nov 2010 11:08:30 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1039003 - in /incubator/hama/trunk: CHANGES.txt build.xml Date: Thu, 25 Nov 2010 11:08:30 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: edwardyoon Date: Thu Nov 25 11:08:30 2010 New Revision: 1039003 URL: http://svn.apache.org/viewvc?rev=1039003&view=rev Log: Removing "java5.home" env key from build script. Modified: incubator/hama/trunk/CHANGES.txt incubator/hama/trunk/build.xml Modified: incubator/hama/trunk/CHANGES.txt URL: http://svn.apache.org/viewvc/incubator/hama/trunk/CHANGES.txt?rev=1039003&r1=1039002&r2=1039003&view=diff ============================================================================== --- incubator/hama/trunk/CHANGES.txt (original) +++ incubator/hama/trunk/CHANGES.txt Thu Nov 25 11:08:30 2010 @@ -50,6 +50,7 @@ Trunk (unreleased changes) IMPROVEMENTS + HAMA-334: Removing "java5.home" env key from build script. (edwardyoon) HAMA-332: Renaming some members in BSPMaster to follow the Hama terminology (Filipe Manana via edwardyoon) HAMA-329: Add taskNum argument to pi estimator (edwardyoon) Modified: incubator/hama/trunk/build.xml URL: http://svn.apache.org/viewvc/incubator/hama/trunk/build.xml?rev=1039003&r1=1039002&r2=1039003&view=diff ============================================================================== --- incubator/hama/trunk/build.xml (original) +++ incubator/hama/trunk/build.xml Thu Nov 25 11:08:30 2010 @@ -198,7 +198,6 @@ <!-- ================================================================== --> <target name="docs" depends="forrest.check" description="Generate forrest-based documentation. To use, specify -Dforrest.home=&lt;base of Apache Forrest installation&gt; on the command line." if="forrest.home"> <exec dir="${docs.src}" executable="${forrest.home}/bin/forrest" failonerror="true"> - <env key="JAVA_HOME" value="${java5.home}" /> </exec> <copy todir="${build.docs}"> <fileset dir="${docs.src}/build/site/" /> From [email protected] Thu Nov 25 11:29:29 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99923 invoked from network); 25 Nov 2010 11:29:29 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Nov 2010 11:29:29 -0000 Received: (qmail 8486 invoked by uid 500); 25 Nov 2010 11:29:29 -0000 Delivered-To: [email protected] Received: (qmail 8454 invoked by uid 500); 25 Nov 2010 11:29:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 8398 invoked by uid 99); 25 Nov 2010 11:29:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 11:29:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 11:29:25 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 7FA3623888E8; Thu, 25 Nov 2010 11:27:53 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1039006 - /incubator/hama/trunk/src/test/org/apache/hama/HamaClusterTestCase.java Date: Thu, 25 Nov 2010 11:27:53 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: edwardyoon Date: Thu Nov 25 11:27:53 2010 New Revision: 1039006 URL: http://svn.apache.org/viewvc?rev=1039006&view=rev Log: Trivial changes of comments. Modified: incubator/hama/trunk/src/test/org/apache/hama/HamaClusterTestCase.java Modified: incubator/hama/trunk/src/test/org/apache/hama/HamaClusterTestCase.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/test/org/apache/hama/HamaClusterTestCase.java?rev=1039006&r1=1039005&r2=1039006&view=diff ============================================================================== --- incubator/hama/trunk/src/test/org/apache/hama/HamaClusterTestCase.java (original) +++ incubator/hama/trunk/src/test/org/apache/hama/HamaClusterTestCase.java Thu Nov 25 11:27:53 2010 @@ -57,7 +57,7 @@ public abstract class HamaClusterTestCas protected void hamaClusterSetup() throws Exception { File testDir = new File(getUnitTestdir(getName()).toString()); - // Note that this is done before we create the MiniHBaseCluster because we + // Note that this is done before we create the MiniHamaCluster because we // need to edit the config to add the ZooKeeper servers. this.zooKeeperCluster = new MiniZooKeeperCluster(); int clientPort = this.zooKeeperCluster.startup(testDir); @@ -134,7 +134,7 @@ public abstract class HamaClusterTestCas /** * Use this utility method debugging why cluster won't go down. On a * period it throws a thread dump. Method ends when all cluster - * regionservers and master threads are no long alive. + * groomservers and master threads are no long alive. */ public void threadDumpingJoin() { if (this.cluster.getGroomServerThreads() != null) { From [email protected] Thu Nov 25 11:44:51 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2843 invoked from network); 25 Nov 2010 11:44:50 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Nov 2010 11:44:50 -0000 Received: (qmail 22914 invoked by uid 500); 25 Nov 2010 11:44:50 -0000 Delivered-To: [email protected] Received: (qmail 22880 invoked by uid 500); 25 Nov 2010 11:44:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 22872 invoked by uid 99); 25 Nov 2010 11:44:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 11:44:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 11:44:48 +0000 Received: from eosnew.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id C472F603 for <[email protected]>; Thu, 25 Nov 2010 11:44:28 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki <[email protected]> To: Apache Wiki <[email protected]> Date: Thu, 25 Nov 2010 11:44:28 -0000 Message-ID: <[email protected]> Subject: =?utf-8?q?=5BHama_Wiki=5D_Update_of_=22HowToContribute=22_by_edwardyoon?= Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hama Wiki" for chan= ge notification. The "HowToContribute" page has been changed by edwardyoon. http://wiki.apache.org/hama/HowToContribute?action=3Ddiff&rev1=3D4&rev2=3D5 -------------------------------------------------- =3D=3D How to Contribute To Hama =3D=3D = + =3D=3D=3D Getting the source code =3D=3D=3D + = + First of all, you need the Hama source code. The official location for Ha= ma is the Apache SVN repository; Git is also supported, and useful if you w= ant to make lots of local changes -and keep those changes under some form o= r private or public revision control. + = + =3D=3D=3D=3D SVN access =3D=3D=3D=3D + = + Get the source code on your local drive using SVN. Most development is do= ne on the TRUNK: + = + {{{ + svn checkout http://svn.apache.org/repos/asf/incubator/hama/trunk hama-tr= unk + }}} + = + =3D=3D=3D=3D Git access =3D=3D=3D=3D + = + * git://git.apache.org/hama.git [[http://git.apache.org/hama.git/|HTTP]],= [[http://github.com/apache/hama|github]] + = + =3D=3D=3D Making Changes =3D=3D=3D + = + Before you start, send a message to the Hama developer mailing list, or f= ile a bug report in [[https://issues.apache.org/jira/browse/HAMA|Jira]]. De= scribe your proposed changes and check that they fit in with what others ar= e doing and have planned for the project. Be patient, it may take folks a w= hile to understand your requirements. + = + Modify the source code and add some (very) nice features using your favor= ite IDE. + = + But take care about the following points + = + * All public classes and methods should have informative Javadoc comment= s. + * Code should be formatted according to [[http://incubator.apache.org/ha= ma/hama-eclipse-formatter.xml|hama-code-formatter]] + * Contributions should pass existing unit tests. + * New unit tests should be provided to demonstrate bugs and fixes. = + = + =3D=3D=3D Generating a patch =3D=3D=3D + = + Please make sure that all unit tests succeed before constructing your pat= ch and that no new javac compiler warnings are introduced by your patch. + = + {{{ + > cd hama-trunk + > ant clean test docs -Dforrest.home=3D{$FORREST_HOME} + }}} + = + After a while, if you see + = + {{{ + BUILD SUCCESSFUL + }}} + = + all is OK. + = + =3D=3D=3D Creating a patch =3D=3D=3D + = + Check to see what files you have modified with: + = + {{{ + svn stat + }}} + = + Add any new files with: + = + {{{ + svn add src/.../MyNewClass.java + }}} + = + In order to create a patch, type (from the root directory of hama): + = + {{{ + svn diff > HAMA-321.patch + }}} + = + This will report all modifications done on Hama sources on your local dis= k and save them into the HAMA-321.patch file. Read the patch file. Make sur= e it includes ONLY the modifications required to fix a single issue. + = + = + =3D=3D=3D Stay involved =3D=3D=3D + = + Contributors should join the Hama mailing lists. In particular, the commi= t list (to see changes as they are made), the dev list (to join discussions= of changes) and the user list (to help others). + = + =3D=3D=3D See also =3D=3D=3D + = + * [[http://www.apache.org/foundation/voting.html|Apache Voting Documenta= tion]] +=20 From [email protected] Thu Nov 25 11:45:16 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2939 invoked from network); 25 Nov 2010 11:45:16 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Nov 2010 11:45:16 -0000 Received: (qmail 23089 invoked by uid 500); 25 Nov 2010 11:45:16 -0000 Delivered-To: [email protected] Received: (qmail 23071 invoked by uid 500); 25 Nov 2010 11:45:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23063 invoked by uid 99); 25 Nov 2010 11:45:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 11:45:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 11:45:15 +0000 Received: from eosnew.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id C1D4C604 for <[email protected]>; Thu, 25 Nov 2010 11:44:55 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki <[email protected]> To: Apache Wiki <[email protected]> Date: Thu, 25 Nov 2010 11:44:55 -0000 Message-ID: <[email protected]> Subject: =?utf-8?q?=5BHama_Wiki=5D_Trivial_Update_of_=22HowToContribute=22_by_edwa?= =?utf-8?q?rdyoon?= Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hama Wiki" for chan= ge notification. The "HowToContribute" page has been changed by edwardyoon. http://wiki.apache.org/hama/HowToContribute?action=3Ddiff&rev1=3D5&rev2=3D6 -------------------------------------------------- = =3D=3D=3D See also =3D=3D=3D = + * [[http://www.apache.org/dev/contributors.html|Apache Contributor Docum= entation]] * [[http://www.apache.org/foundation/voting.html|Apache Voting Documenta= tion]] =20 From [email protected] Thu Nov 25 11:46:04 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3042 invoked from network); 25 Nov 2010 11:46:04 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Nov 2010 11:46:04 -0000 Received: (qmail 23660 invoked by uid 500); 25 Nov 2010 11:46:04 -0000 Delivered-To: [email protected] Received: (qmail 23636 invoked by uid 500); 25 Nov 2010 11:46:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23628 invoked by uid 99); 25 Nov 2010 11:46:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 11:46:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 11:46:03 +0000 Received: from eosnew.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id 7E652605 for <[email protected]>; Thu, 25 Nov 2010 11:45:43 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki <[email protected]> To: Apache Wiki <[email protected]> Date: Thu, 25 Nov 2010 11:45:43 -0000 Message-ID: <[email protected]> Subject: =?utf-8?q?=5BHama_Wiki=5D_Trivial_Update_of_=22FrontPage=22_by_edwardyoon?= Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hama Wiki" for chan= ge notification. The "FrontPage" page has been changed by edwardyoon. The comment on this change is: Move jira usage guidline to "HowToContribute= ". http://wiki.apache.org/hama/FrontPage?action=3Ddiff&rev1=3D75&rev2=3D76 -------------------------------------------------- =3D=3D Developer Documentation =3D=3D = * [[HowToContribute| How to contribute to Hama]] - * [[Jira]] usage guidelines * [[HowToCommit| How to commit]] =20 From [email protected] Thu Nov 25 11:46:35 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3163 invoked from network); 25 Nov 2010 11:46:35 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Nov 2010 11:46:35 -0000 Received: (qmail 24201 invoked by uid 500); 25 Nov 2010 11:46:35 -0000 Delivered-To: [email protected] Received: (qmail 24185 invoked by uid 500); 25 Nov 2010 11:46:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 24177 invoked by uid 99); 25 Nov 2010 11:46:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 11:46:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 11:46:35 +0000 Received: from eosnew.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id EAC05606 for <[email protected]>; Thu, 25 Nov 2010 11:46:14 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki <[email protected]> To: Apache Wiki <[email protected]> Date: Thu, 25 Nov 2010 11:46:14 -0000 Message-ID: <[email protected]> Subject: =?utf-8?q?=5BHama_Wiki=5D_Trivial_Update_of_=22HowToContribute=22_by_edwa?= =?utf-8?q?rdyoon?= Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hama Wiki" for chan= ge notification. The "HowToContribute" page has been changed by edwardyoon. http://wiki.apache.org/hama/HowToContribute?action=3Ddiff&rev1=3D6&rev2=3D7 -------------------------------------------------- =3D=3D=3D Making Changes =3D=3D=3D = Before you start, send a message to the Hama developer mailing list, or f= ile a bug report in [[https://issues.apache.org/jira/browse/HAMA|Jira]]. De= scribe your proposed changes and check that they fit in with what others ar= e doing and have planned for the project. Be patient, it may take folks a w= hile to understand your requirements. + = + * [[Jira]] usage guidelines = Modify the source code and add some (very) nice features using your favor= ite IDE. =20
From [email protected] Tue May 02 17:24:41 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50883 invoked from network); 2 May 2006 15:18:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 May 2006 15:18:20 -0000 Received: (qmail 36388 invoked by uid 500); 2 May 2006 15:17:22 -0000 Delivered-To: [email protected] Received: (qmail 36340 invoked by uid 500); 2 May 2006 15:17:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 36098 invoked by uid 99); 2 May 2006 15:17:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 May 2006 08:17:19 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 May 2006 08:17:18 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 52C9F7142AD for <[email protected]>; Tue, 2 May 2006 15:16:47 +0000 (GMT) Message-ID: <7508009.1146583007335.JavaMail.jira@brutus> Date: Tue, 2 May 2006 15:16:47 +0000 (GMT+00:00) From: "shobin jose (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (IBATIS-292) Dynamic select query picks up database date as java.sql.Date instead of java.util.Date MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dynamic select query picks up database date as java.sql.Date instead of java.util.Date -------------------------------------------------------------------------------------- Key: IBATIS-292 URL: http://issues.apache.org/jira/browse/IBATIS-292 Project: iBatis for Java Type: Bug Versions: 2.1.0 Environment: Win NT, Unix Reporter: shobin jose Dynamic select query for which results are mapped to a hashMap, picks up database date as java.sql.Date instead of java.util.Date. Because of this the time information stored in Oracle DATE is lost. Please suggest a work around for this. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Tue May 02 17:25:24 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59659 invoked from network); 2 May 2006 15:39:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 May 2006 15:39:42 -0000 Received: (qmail 86326 invoked by uid 500); 2 May 2006 15:39:19 -0000 Delivered-To: [email protected] Received: (qmail 86303 invoked by uid 500); 2 May 2006 15:39:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 86266 invoked by uid 99); 2 May 2006 15:39:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 May 2006 08:39:19 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 May 2006 08:39:18 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 265D17142A2 for <[email protected]>; Tue, 2 May 2006 15:38:47 +0000 (GMT) Message-ID: <25458029.1146584327153.JavaMail.jira@brutus> Date: Tue, 2 May 2006 15:38:47 +0000 (GMT+00:00) From: "Jeff Butler (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (IBATIS-292) Dynamic select query picks up database date as java.sql.Date instead of java.util.Date In-Reply-To: <7508009.1146583007335.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-292?page=all ] Jeff Butler closed IBATIS-292: ------------------------------ Resolution: Invalid Please use the mailing lists for support questions. > Dynamic select query picks up database date as java.sql.Date instead of java.util.Date > -------------------------------------------------------------------------------------- > > Key: IBATIS-292 > URL: http://issues.apache.org/jira/browse/IBATIS-292 > Project: iBatis for Java > Type: Bug > Versions: 2.1.0 > Environment: Win NT, Unix > Reporter: shobin jose > > Dynamic select query for which results are mapped to a hashMap, picks up database date as java.sql.Date instead of java.util.Date. Because of this the time information stored in Oracle DATE is lost. Please suggest a work around for this. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Fri May 05 06:41:56 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18212 invoked from network); 5 May 2006 06:41:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 May 2006 06:41:56 -0000 Received: (qmail 48838 invoked by uid 500); 5 May 2006 06:41:55 -0000 Delivered-To: [email protected] Received: (qmail 48811 invoked by uid 500); 5 May 2006 06:41:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48799 invoked by uid 99); 5 May 2006 06:41:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 May 2006 23:41:54 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 May 2006 23:41:53 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 585417142B7 for <[email protected]>; Fri, 5 May 2006 06:41:18 +0000 (GMT) Message-ID: <18999456.1146811278358.JavaMail.jira@brutus> Date: Fri, 5 May 2006 06:41:18 +0000 (GMT+00:00) From: "Paul McCormick (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (IBATIS-293) Fix use of list[]-notation in propertyattributes of dynamic tags MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Fix use of list[]-notation in propertyattributes of dynamic tags ---------------------------------------------------------------- Key: IBATIS-293 URL: http://issues.apache.org/jira/browse/IBATIS-293 Project: iBatis for Java Type: Bug Components: SQL Maps Environment: All are affected. Reporter: Paul McCormick Assigned to: Brandon Goodin Fix For: 2.1.6 When using an iterate-tag to loop a list, one cannot point to the current element in attributes of inner tags, for example, the following fails: <iterate property="myList"> <isEqual property="myList[].someProperty" compareValue="true"> $myList[].anotherProperty$ </isEqual> </iterate> iBATIS tries to index the property myList with an empty string, but it should use the current element (the []-notation works fine within inner tags), when an index is supplied it works just fine... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Fri May 05 06:46:00 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20141 invoked from network); 5 May 2006 06:46:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 May 2006 06:46:00 -0000 Received: (qmail 52268 invoked by uid 500); 5 May 2006 06:45:59 -0000 Delivered-To: [email protected] Received: (qmail 52256 invoked by uid 500); 5 May 2006 06:45:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 52245 invoked by uid 99); 5 May 2006 06:45:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 May 2006 23:45:59 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 May 2006 23:45:58 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 954527142B5 for <[email protected]>; Fri, 5 May 2006 06:45:23 +0000 (GMT) Message-ID: <18035178.1146811523608.JavaMail.jira@brutus> Date: Fri, 5 May 2006 06:45:23 +0000 (GMT+00:00) From: "Paul McCormick (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATIS-293) Fix use of list[]-notation in propertyattributes of dynamic tags In-Reply-To: <18999456.1146811278358.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-293?page=comments#action_12377966 ] Paul McCormick commented on IBATIS-293: --------------------------------------- The <isEqual> and <isNotEqual> tags work correctly with the list property but other tags ( like <isNull> ) do not work. The following will fail: <iterate property="myList"> <isNotNull property="myList[].someProperty" > $myList[].anotherProperty$ </isNotNull> </iterate> > Fix use of list[]-notation in propertyattributes of dynamic tags > ---------------------------------------------------------------- > > Key: IBATIS-293 > URL: http://issues.apache.org/jira/browse/IBATIS-293 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Environment: All are affected. > Reporter: Paul McCormick > Assignee: Brandon Goodin > Fix For: 2.1.6 > > When using an iterate-tag to loop a list, one cannot point to the current element in attributes of inner tags, for example, the following fails: > <iterate property="myList"> > <isEqual property="myList[].someProperty" compareValue="true"> > $myList[].anotherProperty$ > </isEqual> > </iterate> > iBATIS tries to index the property myList with an empty string, but it should use the current element (the []-notation works fine within inner tags), when an index is supplied it works just fine... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Fri May 05 15:00:09 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82943 invoked from network); 5 May 2006 15:00:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 May 2006 15:00:09 -0000 Received: (qmail 66471 invoked by uid 500); 5 May 2006 15:00:07 -0000 Delivered-To: [email protected] Received: (qmail 66034 invoked by uid 500); 5 May 2006 15:00:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 65972 invoked by uid 99); 5 May 2006 15:00:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 May 2006 08:00:05 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 May 2006 08:00:04 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 739D17142C0 for <[email protected]>; Fri, 5 May 2006 14:59:28 +0000 (GMT) Message-ID: <8903174.1146841168470.JavaMail.jira@brutus> Date: Fri, 5 May 2006 14:59:28 +0000 (GMT+00:00) From: "Christian Poitras (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATIS-281) Nested iterate tags does not work In-Reply-To: <925275484.1144074226639.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-281?page=comments#action_12378050 ] Christian Poitras commented on IBATIS-281: ------------------------------------------ The best way to correct this issue is to change the IterateContext class to add a "public IterateContext getParent()" method. Or the SqlTagContext class could be changed to add a "public IterateContext getIterateContext(int i)" or a "public IterateContext getParentIterateContext(IterateContext ic)". Another way to fix this in a convenient way would be to allow access to any parent tag we want based on the JSP model of java. The method "public static final Tag findAncestorWithClass(Tag from, Class klass)" from class javax.servlet.jsp.tagext.TagSupport gives a good way to search for any parent class we want to look at and will simplify my patch and make it readable for most people. This part of code from IterateTagHandler could be simplified since it only searches for the parent IterateContext. For example, the patch. // Add iteration number to property. Object parentContext = ctx.getAttribute(parentTag); while (!(parentContext instanceof IterateContext)) { parentTag = parentTag.getParent(); parentContext = ctx.getAttribute(parentTag); } IterateContext parentIterateContext = (IterateContext) parentContext; could be changed to: // Add iteration number to property. IterateContext parentIterate = ctx.getAttribute(parentIterate); Also a utility class could handle the problem of adding the value of many IterateContext to any property value of any tags or any replacement value contained in a sql request (like #list[].id#) by executing the code in the patch in only one place. Considering this, it would make correcting this bug in any very easy since we could also handle the current problem of my patch which is having the following tag <isEqual property="list[].list[3].list[].id" value="someValue"/>. It throws an exception when processing the "list[3]" part. By putting this logic in one place, we could check if a number is already between the "[]" and skip the corresponding IterateContext (if it is linked to an iterateContext). But we must be carreful that the following example will not cause a problem, so we can't automatically skip an IterateContext without first checking if the "[]" is linked to an iterate tag. <select> <iterate property="list"> <iterate property="list[].list[3].list"> </iterate> </iterate> </select> > Nested iterate tags does not work > --------------------------------- > > Key: IBATIS-281 > URL: http://issues.apache.org/jira/browse/IBATIS-281 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Versions: 2.1.7 > Reporter: Christian Poitras > Attachments: ConditionalTagHandler.java, DynamicSql.java, IterateTagHandler.java > > No nested iterate tags work. The second iterate tag is not supported and produces the following error. > java.lang.NumberFormatException: For input string: "" > at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) > at java.lang.Integer.parseInt(Integer.java:489) > at java.lang.Integer.parseInt(Integer.java:518) > at com.ibatis.common.beans.BaseProbe.getIndexedProperty(BaseProbe.java:51) > at com.ibatis.common.beans.ComplexBeanProbe.getProperty(ComplexBeanProbe.java:297) > at com.ibatis.common.beans.ComplexBeanProbe.getObject(ComplexBeanProbe.java:188) > at com.ibatis.common.beans.GenericProbe.getObject(GenericProbe.java:76) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.elements.IterateTagHandler.doStartFragment(IterateTagHandler.java:34) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.processBodyChildren(DynamicSql.java:157) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.processBodyChildren(DynamicSql.java:160) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.processBodyChildren(DynamicSql.java:99) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.process(DynamicSql.java:79) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.getParameterMap(DynamicSql.java:61) > at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryWithCallback(GeneralStatement.java:156) > at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryForList(GeneralStatement.java:123) > at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:610) > at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:584) > at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForList(SqlMapSessionImpl.java:101) > at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForList(SqlMapClientImpl.java:78) > at com.ibatis.dao.client.template.SqlMapDaoTemplate.queryForList(SqlMapDaoTemplate.java:203) > at ca.qc.ircm.lana.persistence.sqlmapdao.SpotSqlMapDao.getSpotsInter(SpotSqlMapDao.java:159) > 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:324) > at com.ibatis.dao.engine.impl.DaoProxy.invoke(DaoProxy.java:72) > at $Proxy14.getSpotsInter(Unknown Source) > at ca.qc.ircm.lana.service.InterpretationService.getSpotsInter(InterpretationService.java:82) > at TEST.testInterpretation.main(testInterpretation.java:111) > It seems the second iterate tag cannot have a property of this type. > <iterate property="list" > > <iterate property="list[].list"> > <iterate> > </iterate> > On the nested iterate, SQL Maps does not add the number in attribute property "list[].list" and tries to call a getter for parameterClass.getList[]() and this is not allowed and produces the error. > This could be prevented in the IterateTagHandler class (doStartFragment method) by adding code that replaces "[]" in the property attribute by values of IterateContext that are parents of the current tag (for multiple nested iterate). > Other code would need to be updated since using a property in the second list also causes SQL Map to crash even it IterateTagHandler is patched. > <iterate property="list" > > <iterate property="list[].list"> > #list[].list[].someProperty# > <iterate> > </iterate> > I produced a patch that can correct the problem. I will include it in a future message. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sun May 07 13:46:04 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12655 invoked from network); 7 May 2006 13:46:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 May 2006 13:46:04 -0000 Received: (qmail 29601 invoked by uid 500); 7 May 2006 13:46:04 -0000 Delivered-To: [email protected] Received: (qmail 29471 invoked by uid 500); 7 May 2006 13:46:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 29460 invoked by uid 99); 7 May 2006 13:46:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 May 2006 06:46:02 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 May 2006 06:46:02 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 35C9D7142C6 for <[email protected]>; Sun, 7 May 2006 13:45:23 +0000 (GMT) Message-ID: <25679648.1147009523217.JavaMail.jira@brutus> Date: Sun, 7 May 2006 13:45:23 +0000 (GMT+00:00) From: "Yiting Qiang (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATIS-94) Add functions to fetch sqlmap metadata MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-94?page=comments#action_12378297 ] Yiting Qiang commented on IBATIS-94: ------------------------------------ I'm writing a tiny spring bean named <a href="http://dao-zero.sourceforge.net">daozero(http://dao-zero.sourceforge.net)</a> which could be used by i Batis users to implements DAO interface automatically in runtime. It works by finding the iBatis statement which matches method name of DAO interface and invoke iBatis API(queryForList etc.) for that interface. But in fact, I have to hack iBatis' source too, what I mean is to cast some iBatis interface to her internal implementation class, because I cannot found how to get parameter map's meta data by iBatis's API. I doesn't like the bad smell for this current way. Is there iBatis API to to provide meta informations of statement? if no, could iBatis team consider writing API to provide the whold meta informations, such as statement, parameter, result, etc.? > Add functions to fetch sqlmap metadata > -------------------------------------- > > Key: IBATIS-94 > URL: http://issues.apache.org/jira/browse/IBATIS-94 > Project: iBatis for Java > Type: New Feature > Components: SQL Maps > Versions: 2.0.9 > Reporter: Scott Z > Priority: Minor > > I wonder if we can add some getter functions to the SqlMapClient interface for the sqlmap metadata information, such as a list of statements, or maybe even datasource settings. This information is currently used by us for supporting database specific queries and might be useful for others too. > I know I can get this information if I do something like: > SqlMapExecutorDelegate delegate = ((ExtendedSqlMapClient)sqlMap).getDelegate(); > then call delegate.getMappedStatementNames(); > But I don't want to depend on the implementation just in case it changes. > Thanks. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon May 08 13:35:08 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92304 invoked from network); 8 May 2006 13:35:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 May 2006 13:35:06 -0000 Received: (qmail 13744 invoked by uid 500); 8 May 2006 13:35:05 -0000 Delivered-To: [email protected] Received: (qmail 13412 invoked by uid 500); 8 May 2006 13:35:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13399 invoked by uid 99); 8 May 2006 13:35:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 May 2006 06:35:02 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 May 2006 06:35:01 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A0956410009 for <[email protected]>; Mon, 8 May 2006 13:34:21 +0000 (GMT) Message-ID: <6303083.1147095261655.JavaMail.jira@brutus> Date: Mon, 8 May 2006 13:34:21 +0000 (GMT+00:00) From: "Gilles Bayon (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (IBATISNET-147) Emitted types for populating and instantiating result In-Reply-To: <306786997.1143696326142.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATISNET-147?page=all ] Gilles Bayon closed IBATISNET-147: ---------------------------------- Resolution: Fixed In SVN > Emitted types for populating and instantiating result > ----------------------------------------------------- > > Key: IBATISNET-147 > URL: http://issues.apache.org/jira/browse/IBATISNET-147 > Project: iBatis for .NET > Type: Improvement > Components: DataMapper > Versions: DataMapper 1.4 > Reporter: Gilles Bayon > Assignee: Gilles Bayon > Fix For: DataMapper 1.4 > > To improved reflection use, allow emitted types for populating and instantiating result -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Fri May 12 01:21:39 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90706 invoked from network); 12 May 2006 01:21:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 May 2006 01:21:38 -0000 Received: (qmail 49023 invoked by uid 500); 12 May 2006 01:21:42 -0000 Delivered-To: [email protected] Received: (qmail 49005 invoked by uid 500); 12 May 2006 01:21:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48991 invoked by uid 99); 12 May 2006 01:21:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 May 2006 18:21:41 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO bliksem.nssi.telus.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 May 2006 18:21:35 -0700 DomainKey-Signature: s=bliksem.nssi; d=telus.com; c=simple; q=dns; b=IEXiso5Wo2ADcQCX506m4+swobvo+s/9A0ixKxKYK97lOabEwGEQQHGzPf0MrFnA4qPyryeKzHpt2sTvUEOSzq91y3qWuzptnVkqWzfwVb+cuaxIQdrNIQUCnisMdPeiXLep1+7MxTYXRYfQQGaIosVQ3np4wpx3iBFe9YSZfZU=; Received: from unknown (HELO bcmsg103.corp.ads) ([161.129.204.104]) by bliksem.nssi.telus.com with ESMTP; 12 May 2006 01:21:14 +0000 X-SBRS: None X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== X-IronPort-AV: i="4.05,117,1146441600"; d="scan'208,217"; a="555656965:sNHT53077446" Received: from BCMSG111.corp.ads ([161.129.204.104]) by bcmsg103.corp.ads with Microsoft SMTPSVC943.268.5260); Thu, 11 May 2006 18:21:14 -0700 x-mimeole: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C67562.5B358E1F" Subject: RE: iBatis insertion issue, thanks! Date: Thu, 11 May 2006 18:21:12 -0700 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: RE: iBatis insertion issue, thanks! Thread-Index: AcZ1YltRxjiSyrZtQEaRnI0DZc5mug== From: "Tim Ding" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 12 May 2006 01:21:14.0043 (UTC) FILETIME=[5C2E70B0:01C67562] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C67562.5B358E1F Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable HI Daniel, In iBatis, we can use null value replacements like: ///////////////////////// insert into PROCESS=20 ( PROCESS_ID,=20 ....=09 DATA_SRC_ID ) VALUES ( #processId:NUMERIC#, ... #dataSourceId:NUMERIC:0# ) /////////////////////////////////////// Can I use it in the update case like? /////////////////////////////////////// update PROCESS =20 set DATA_SRC_ID =3D #dataSourceId:0#, ..... where PROCESS_ID =3D #processId# ////////////////////////////////////// Thank you very much! Tim Ding -----Original Message----- From: Daniel Henrique Ferreira e Silva [mailto:[email protected]]=20 Sent: Friday, October 28, 2005 2:28 PM To: [email protected] Subject: Re: iBatis insertion issue, thanks! Hi Tim, This kind of stuff is not much encouraged by iBATIS staff but depending = on your database, i guess it is possible. It's not encouraged because = you can use stored procedures. iBATIS supports store procedures smoothly = and then you'll can use all resources your database engine delivers to = you, like savepoints and any other one that i can't remember of right now. Cheers, Daniel Silva. On 10/28/05, Tim Ding <[email protected]> wrote: > > > > HI, > > My name is Tim Ding, working as Java Developer/iBATIS Developer. I=20 > want to use one stanza (that is, for example <insert> and </insert>)=20 > or <statement>s (like <statement> and </statement>) to do more than=20 > one SQL insertions. The example likes: > > <insert id=3D"save_account_profile" = parameterClass=3D"java.util.HashMap"> > <selectKey resultClass=3D"int" keyProperty=3D"pk"> > ACCOUNT_PROFILE_SEQ.NEXTVAL AS pk from dual > </selectKey> > > <!-- first insertion --> > insert into PROFILE_HISTORY > (PK, > TYPE, > DATE, > ACCOUNT_ID, > ...... > ) > values > (#pk#, > #type#, > #date#, > #acountId#, > ...... > ) > > <!-- second insertion --> > insert into ACCOUNT_SUMMARY > (PK, > PRODUCTION_DATE, > CYCLE_CODE, > ...... > ) > values > (#pk#, > #billingCycleDate#, > #cycleCode#, > ..... > ) > </insert> > > It seems that I had found documents/user guide for this kind of iBatis = > insertion before, but I cannot find where it is now. When I try to run = > it, there is an exception about the iBatis syntax. Could you please=20 > let me know what is the correct syntax for this type of iBatis=20 > statement. Thank you very much! > > > Regards! > > Tim Ding > Billing Collections > Tel: 943.268.5260 > 10T1 #77 BNBYBCHQ > > ------_=_NextPart_001_01C67562.5B358E1F Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 6.5.7638.1"> <TITLE>RE: iBatis insertion issue, thanks!</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P><FONT COLOR=3D"#0000FF" FACE=3D"Courier New">HI Daniel,</FONT> </P> <P><FONT COLOR=3D"#0000FF" FACE=3D"Courier New">In iBatis, we can use<B> = null value replacements</B> like:</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Courier New">/////////////////////////</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">insert into PROCESS </FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 = FACE=3D"Courier New">( PROCESS_ID, </FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 = FACE=3D"Courier New">&nbsp; ....&nbsp; </FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 = FACE=3D"Courier New">&nbsp; DATA_SRC_ID ) VALUES</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 = FACE=3D"Courier New">( #processId:NUMERIC#,</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 = FACE=3D"Courier New">&nbsp; ...</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 = FACE=3D"Courier New">&nbsp; #dataSourceId:NUMERIC:</FONT><B><FONT = COLOR=3D"#FF0000" SIZE=3D2 FACE=3D"Courier New">0</FONT></B><FONT = SIZE=3D2 FACE=3D"Courier New"># )</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">///////////////////////////////////////</FONT> </P> <P><FONT COLOR=3D"#0000FF" FACE=3D"Courier New">Can I use it in the = update case like?</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Courier = New">///////////////////////////////////////</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">update PROCESS&nbsp; </FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 = FACE=3D"Courier New">set DATA_SRC_ID =3D #dataSourceId:</FONT><B><FONT = COLOR=3D"#FF0000" SIZE=3D2 FACE=3D"Courier New">0</FONT></B><FONT = SIZE=3D2 FACE=3D"Courier New">#,</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .....</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = where PROCESS_ID =3D #processId#</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">//////////////////////////////////////</FONT> </P> <P><FONT COLOR=3D"#0000FF" FACE=3D"Courier New">Thank you very = much!</FONT> <BR><FONT COLOR=3D"#0000FF" FACE=3D"Courier New">Tim Ding</FONT> </P> <BR> <P><FONT SIZE=3D2 FACE=3D"Courier New">-----Original Message-----</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">From: Daniel Henrique Ferreira e = Silva [</FONT><A HREF=3D"mailto:[email protected]"><U><FONT = COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Courier = New">mailto:[email protected]</FONT></U></A><FONT SIZE=3D2 = FACE=3D"Courier New">] </FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">Sent: Friday, October 28, 2005 = 2:28 PM</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">To: [email protected]</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">Subject: Re: iBatis insertion = issue, thanks!</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Courier New">Hi Tim,</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Courier New">This kind of stuff is not much = encouraged by iBATIS staff&nbsp; but depending on your database, i guess = it is possible. It's not encouraged because you can use stored = procedures. iBATIS supports store procedures smoothly and then you'll = can use all resources your database engine delivers to you, like = savepoints and any other one that i can't remember of right = now.</FONT></P> <P><FONT SIZE=3D2 FACE=3D"Courier New">Cheers,</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">Daniel Silva.</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Courier New">On 10/28/05, Tim Ding = &lt;[email protected]&gt; wrote:</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt; HI,</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt; My name is Tim Ding, = working as Java Developer/iBATIS Developer. I </FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt; want to use one stanza = (that is, for example &lt;insert&gt; and &lt;/insert&gt;) </FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt; or &lt;statement&gt;s (like = &lt;statement&gt; and &lt;/statement&gt;) to do more than </FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt; one SQL insertions. The = example likes:</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt; &lt;insert = id=3D&quot;save_account_profile&quot; = parameterClass=3D&quot;java.util.HashMap&quot;&gt;</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;selectKey = resultClass=3D&quot;int&quot; keyProperty=3D&quot;pk&quot;&gt;</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ACCOUNT_PROFILE_SEQ.NEXTVAL AS pk from = dual</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;/selectKey&gt;</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- first = insertion --&gt;</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; insert into = PROFILE_HISTORY</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (PK,</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE,</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DATE,</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = ACCOUNT_ID,</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &#8230;...</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; values</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (#pk#,</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #type#,</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #date#,</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = #acountId#,</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#8230;...</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- second = insertion --&gt;</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; insert into = ACCOUNT_SUMMARY</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (PK,</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = PRODUCTION_DATE,</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = CYCLE_CODE,</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &#8230;...</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; values</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (#pk#,</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = #billingCycleDate#,</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = #cycleCode#,</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp; &#8230;..</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier = New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp; )</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt; &lt;/insert&gt;</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt; It seems that I had found = documents/user guide for this kind of iBatis </FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt; insertion before, but I = cannot find where it is now. When I try to run </FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt; it, there is an exception = about the iBatis syntax. Could you please </FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt; let me know what is the = correct syntax for this type of iBatis </FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt; statement. Thank you very = much!</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt; Regards!</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt; Tim Ding</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt; Billing Collections</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt; Tel: 943.268.5260</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt; 10T1 #77 BNBYBCHQ</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT> </P> <BR> </BODY> </HTML> ------_=_NextPart_001_01C67562.5B358E1F-- From [email protected] Fri May 12 01:28:25 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92183 invoked from network); 12 May 2006 01:28:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 May 2006 01:28:25 -0000 Received: (qmail 55134 invoked by uid 500); 12 May 2006 01:28:05 -0000 Delivered-To: [email protected] Received: (qmail 53653 invoked by uid 500); 12 May 2006 01:27:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 53067 invoked by uid 99); 12 May 2006 01:27:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 May 2006 18:27:31 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 May 2006 15:17:28 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 6263D7142E8 for <[email protected]>; Thu, 11 May 2006 22:17:08 +0000 (GMT) Message-ID: <29711520.1147385828400.JavaMail.root@brutus> Date: Thu, 11 May 2006 22:17:08 +0000 (GMT+00:00) From: "Mark H. Land (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (IBATIS-294) SQL with complex collection properties not executing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N SQL with complex collection properties not executing ---------------------------------------------------- Key: IBATIS-294 URL: http://issues.apache.org/jira/browse/IBATIS-294 Project: iBatis for Java Type: Bug Components: SQL Maps Versions: 2.1.7 Environment: Windows XP, Java 1.4.2_09, AMD Athlon 2500+, 1GB ram, MS SQL Server 2000 Reporter: Mark H. Land As noted in the snippet below, all of the SQL statements to generate the beans are being executed EXCEPT for the "noteList" property. No SQL is reaching the server for this. The itemResult is being populated correctly in the application except for the collection of notes (defined with proper getters and setters in the ItemBean as private Collection noteList; ). >From this result-map definition: <result-map name="itemWithDependentObjectsResult" class="com.esm.model.expense.ItemBean" extends="itemResult"> <!-- generated SQL statement below not executing! --> <property name="noteList" column="{targetUid=uid, relType=itemType1}" mapped-statement="EventLog.getEventLogListByTargetUid" lazy-load="false" /> <!-- generated SQL statements below are executing --> <property name="department" column="groupDepartmentUidFk" mapped-statement="Item.getItemGroupByUid" lazy-load="false" /> <property name="division" column="groupDivisionUidFk" mapped-statement="Item.getItemGroupByUid" lazy-load="false" /> <property name="paymentMethod" column="groupPaymentMethodUidFk" mapped-statement="Item.getItemGroupByUid" lazy-load="false" /> <property name="vendorCompany" column="companyVendorUidFk" mapped-statement="Company.getCompanyByUid" lazy-load="false" /> <property name="clientCompany" column="companyClientUidFk" mapped-statement="Company.getCompanyByUid" lazy-load="false" /> <property name="category" column="generalCategoryUidFk" mapped-statement="Category.getCategoryByUid" lazy-load="false" /> <property name="project" column="projectUidFk" mapped-statement="Item.getItemProjectByUid" lazy-load="false" /> </result-map> The mapped-statement for noteList is: <mapped-statement name="getEventLogListByTargetUid" result-map="eventLogResult"> select targetUid, actorUid, eventType, relType, eventDate, notes, createDate, modifiedDate, modifiedBy from tblEventLog where targetUid = #targetUid# and relType = #relType# order by eventDate -- getEventLogListByTargetUid </mapped-statement> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon May 15 16:01:36 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62886 invoked from network); 15 May 2006 16:01:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 May 2006 16:01:32 -0000 Received: (qmail 23486 invoked by uid 500); 15 May 2006 16:01:32 -0000 Delivered-To: [email protected] Received: (qmail 23357 invoked by uid 500); 15 May 2006 16:01:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23346 invoked by uid 99); 15 May 2006 16:01:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 May 2006 09:01:31 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO valhalla.ccp.cc) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 May 2006 09:01:31 -0700 Received: from nemesis.central.ccp.cc ([161.129.204.104]) by valhalla.ccp.cc with Microsoft SMTPSVC943.268.5260); Mon, 15 May 2006 16:01:25 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: IBATIS.NET: Stored procedure ReturnValue Date: Mon, 15 May 2006 16:01:05 -0000 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: IBATIS.NET: Stored procedure ReturnValue Thread-Index: AcZ4OMV6nCyrc90uT5SE5lSTht9LGg== From: =?iso-8859-1?Q?Oddur_Sn=E6r_Magn=FAsson?= <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 15 May 2006 16:01:25.0861 (UTC) FILETIME=[D1B79950:01C67838] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi All,=20 I'm currently evaluating ibatis.net to use with a database which only = allows access through a fixed set of stored procedures.=20 The insert procedures return the identity value with the sql return = statement rather than an out parameter, like so: CREATE PROCEDURE [dbo].[DoFoo] @foo int AS INSERT INTO Foos (foo) VALUES (@foo) RETURN @@IDENTITY And I need to get access to the return value. So far I've got the statement like so: <procedure id=3D"CreateFoo" parameterMap=3D"FooClass" = resultClass=3D"int">DoFoo</procedure> The procedure executes as planned ( new foo inserted in the DB), but = this code: int id =3D ( int ) Mapper.Instance ( ).Insert ( "CreateFoo", fooInstance = ) ; Always returns a value of 0. I know ibatis supports the use of out parameters to sprocs, but in this = case I'd rather avoid modifying the sproc code. So when looking at the ExecuteInsert method on MappedStatement, I = realize that I can never get a hold of the return value since there is = never added a parameter to the command with a direction of ReturnValue. = And if the identity is returned using a return rather than a select, = either one will be null. So I can safely assume that is the return value = from ExecuteScalar is null and the value of the return value parameters = is not null, I can assume that the idendity value is being returned = througth the return statement.=20 So I'd suggest modifying ExecuteInsert: 1. Add a default return value parameter to the command before execution. = 2. Check the scalar value if it is null, if not, use the scalar value, = then check if the return parameter value is null, if not, then use the = return value. If no resultClass is defined for that statement, then a null will be = returned. Refined ExecuteInsert: public virtual object ExecuteInsert(IDalSession session, object = parameterObject ) { object generatedKey =3D null; SelectKey selectKeyStatement =3D null; RequestScope request =3D = _statement.Sql.GetRequestScope(parameterObject, session);; if (_statement is Insert) { selectKeyStatement =3D ((Insert)_statement).SelectKey; } if (selectKeyStatement !=3D null && !selectKeyStatement.isAfter) { MappedStatement mappedStatement =3D _sqlMap.GetMappedStatement( = selectKeyStatement.Id ); generatedKey =3D mappedStatement.ExecuteQueryForObject(session, = parameterObject); ObjectProbe.SetPropertyValue(parameterObject, = selectKeyStatement.PropertyName, generatedKey); } //using (IDbCommand command =3D CreatePreparedCommand(request, = session, parameterObject )) using ( IDbCommand command =3D _preparedCommand.Create( request, = session, this.Statement, parameterObject ) ) { if (_statement is Insert) { command.ExecuteNonQuery(); } else { =09 IDataParameter returnValueParameter =3D = command.CreateParameter(); returnValueParameter.ParameterName =3D "@return_value"; returnValueParameter.Direction =3D = ParameterDirection.ReturnValue; command.Parameters.Add(returnValueParameter); =20 generatedKey =3D command.ExecuteScalar(); =09 if ( (generatedKey !=3D null) && = (_statement.ResultClass!=3Dnull) &&=20 _sqlMap.TypeHandlerFactory.IsSimpleType(_statement.ResultClass) ) { ITypeHandler typeHandler =3D = _sqlMap.TypeHandlerFactory.GetTypeHandler(_statement.ResultClass); generatedKey =3D typeHandler.GetDataBaseValue(generatedKey, = _statement.ResultClass); }else if ( (generatedKey =3D=3D null) && = (returnValueParameter.Value !=3D null)=20 &&(_statement.ResultClass!=3Dnull) && = _sqlMap.TypeHandlerFactory.IsSimpleType(_statement.ResultClass) ) { ITypeHandler typeHandler =3D = _sqlMap.TypeHandlerFactory.GetTypeHandler(_statement.ResultClass); generatedKey =3D = typeHandler.GetDataBaseValue(returnValueParameter.Value, = _statement.ResultClass); } } =09 if (selectKeyStatement !=3D null && selectKeyStatement.isAfter) { MappedStatement mappedStatement =3D _sqlMap.GetMappedStatement( = selectKeyStatement.Id ); generatedKey =3D mappedStatement.ExecuteQueryForObject(session, = parameterObject); ObjectProbe.SetPropertyValue(parameterObject, = selectKeyStatement.PropertyName, generatedKey); } ExecutePostSelect( session, request); RetrieveOutputParameters(request, session, command, = parameterObject); } RaiseExecuteEvent(); return generatedKey; } - Oddur Magnusson From [email protected] Tue May 16 14:57:43 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49859 invoked from network); 16 May 2006 14:57:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 May 2006 14:57:37 -0000 Received: (qmail 47898 invoked by uid 500); 16 May 2006 14:57:37 -0000 Delivered-To: [email protected] Received: (qmail 47874 invoked by uid 500); 16 May 2006 14:57:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 47863 invoked by uid 99); 16 May 2006 14:57:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 May 2006 07:57:36 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 May 2006 07:57:35 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 11DB3410013 for <[email protected]>; Tue, 16 May 2006 14:57:08 +0000 (GMT) Message-ID: <27766856.1147791428070.JavaMail.jira@brutus> Date: Tue, 16 May 2006 14:57:08 +0000 (GMT+00:00) From: "Jeff Butler (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATIS-281) Nested iterate tags does not work In-Reply-To: <925275484.1144074226639.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-281?page=comments#action_12411991 ] Jeff Butler commented on IBATIS-281: ------------------------------------ I'd like to use this issue as a catch all issue for problems with the iterate tag. Please feel free to add additional use cases that fail if you find them (I am already aware of IBATIS-293 so no need to repeat that here). Christian - thanks for your work on this issue! Could you please elaborate on the comment you made 05/May/2006? Are you proposing a different fix than your original patches, or is the comment related to another issue? I'm trying not to duplicate all your research. My status so far... I've writen a set of test cases that demonstrate various failures of the iterate tag. The general classes of failures are these: 1. Nested iterates where the nested iterate tags are dependant on the parent tags 2. Nested iterates where the nested iterate tags are independant of the parent tags (i.e. iterating over two seperate properties - kind of like nested for loops) 3. Conditional tags inside iterates fail if the the first element of the iterate does not meet the condition Christian's patches solve problem #1 as far as I can tell, but not the others. I believe I have a fix for #3, and I've not started to figure out why #2 doesn't work yet. > Nested iterate tags does not work > --------------------------------- > > Key: IBATIS-281 > URL: http://issues.apache.org/jira/browse/IBATIS-281 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Versions: 2.1.7 > Reporter: Christian Poitras > Assignee: Jeff Butler > Attachments: ConditionalTagHandler.java, DynamicSql.java, IterateTagHandler.java > > No nested iterate tags work. The second iterate tag is not supported and produces the following error. > java.lang.NumberFormatException: For input string: "" > at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) > at java.lang.Integer.parseInt(Integer.java:489) > at java.lang.Integer.parseInt(Integer.java:518) > at com.ibatis.common.beans.BaseProbe.getIndexedProperty(BaseProbe.java:51) > at com.ibatis.common.beans.ComplexBeanProbe.getProperty(ComplexBeanProbe.java:297) > at com.ibatis.common.beans.ComplexBeanProbe.getObject(ComplexBeanProbe.java:188) > at com.ibatis.common.beans.GenericProbe.getObject(GenericProbe.java:76) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.elements.IterateTagHandler.doStartFragment(IterateTagHandler.java:34) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.processBodyChildren(DynamicSql.java:157) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.processBodyChildren(DynamicSql.java:160) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.processBodyChildren(DynamicSql.java:99) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.process(DynamicSql.java:79) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.getParameterMap(DynamicSql.java:61) > at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryWithCallback(GeneralStatement.java:156) > at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryForList(GeneralStatement.java:123) > at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:610) > at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:584) > at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForList(SqlMapSessionImpl.java:101) > at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForList(SqlMapClientImpl.java:78) > at com.ibatis.dao.client.template.SqlMapDaoTemplate.queryForList(SqlMapDaoTemplate.java:203) > at ca.qc.ircm.lana.persistence.sqlmapdao.SpotSqlMapDao.getSpotsInter(SpotSqlMapDao.java:159) > 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:324) > at com.ibatis.dao.engine.impl.DaoProxy.invoke(DaoProxy.java:72) > at $Proxy14.getSpotsInter(Unknown Source) > at ca.qc.ircm.lana.service.InterpretationService.getSpotsInter(InterpretationService.java:82) > at TEST.testInterpretation.main(testInterpretation.java:111) > It seems the second iterate tag cannot have a property of this type. > <iterate property="list" > > <iterate property="list[].list"> > <iterate> > </iterate> > On the nested iterate, SQL Maps does not add the number in attribute property "list[].list" and tries to call a getter for parameterClass.getList[]() and this is not allowed and produces the error. > This could be prevented in the IterateTagHandler class (doStartFragment method) by adding code that replaces "[]" in the property attribute by values of IterateContext that are parents of the current tag (for multiple nested iterate). > Other code would need to be updated since using a property in the second list also causes SQL Map to crash even it IterateTagHandler is patched. > <iterate property="list" > > <iterate property="list[].list"> > #list[].list[].someProperty# > <iterate> > </iterate> > I produced a patch that can correct the problem. I will include it in a future message. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Tue May 16 15:13:35 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56753 invoked from network); 16 May 2006 15:13:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 May 2006 15:13:35 -0000 Received: (qmail 89089 invoked by uid 500); 16 May 2006 15:13:34 -0000 Delivered-To: [email protected] Received: (qmail 89060 invoked by uid 500); 16 May 2006 15:13:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 89049 invoked by uid 99); 16 May 2006 15:13:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 May 2006 08:13:34 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 May 2006 08:13:33 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D91BF41000E for <[email protected]>; Tue, 16 May 2006 15:13:05 +0000 (GMT) Message-ID: <32978251.1147792385886.JavaMail.jira@brutus> Date: Tue, 16 May 2006 15:13:05 +0000 (GMT+00:00) From: "Emmanuel Bardet (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (IBATIS-295) ClassInfo dropCase method not checking 2nd char appropriately MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ClassInfo dropCase method not checking 2nd char appropriately ------------------------------------------------------------- Key: IBATIS-295 URL: http://issues.apache.org/jira/browse/IBATIS-295 Project: iBatis for Java Type: Bug Components: SQL Maps Versions: 2.1.6 Environment: WinXP, Oracle10, 1.4 Reporter: Emmanuel Bardet Priority: Trivial Hello there, The test: if (name.length() == 1 || (name.length() > 1 && !Character.isUpperCase(name.charAt(1)))) { does not deal with non letters. Thus, a method name "getA_B" gets dropCase to return "a_B". Great work u r doing there though! Tx E -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Tue May 16 17:21:02 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8721 invoked from network); 16 May 2006 17:20:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 May 2006 17:20:59 -0000 Received: (qmail 74534 invoked by uid 500); 16 May 2006 17:20:58 -0000 Delivered-To: [email protected] Received: (qmail 74516 invoked by uid 500); 16 May 2006 17:20:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74505 invoked by uid 99); 16 May 2006 17:20:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 May 2006 10:20:57 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wx-out-0102.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 May 2006 10:20:57 -0700 Received: by wx-out-0102.google.com with SMTP id h30so18523wxd for <[email protected]>; Tue, 16 May 2006 10:20:36 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=EygEHStI4e3WccflIclthalC0jQ3Nlx+xEhibQ5Mz9Tq7nhHiFHbsQE1Fw9hWPRp4wtEnU/WmHTsjYcfbZRQya4HXe3LR1L/MHEj3Ycwak6b7WhubMA1r/NvsWOlJ+BrZjkyGdkZJ6QzZ8piIGZvqU1wGOe+aN6klBICxQPPuEA= Received: by 161.129.204.104 with SMTP id d2mr8685154wxb; Tue, 16 May 2006 10:20:36 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 16 May 2006 10:20:36 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 16 May 2006 11:20:36 -0600 From: "Larry Meadors" <[email protected]> Reply-To: [email protected] Sender: [email protected] To: [email protected] Subject: Re: [jira] Created: (IBATIS-295) ClassInfo dropCase method not checking 2nd char appropriately In-Reply-To: <32978251.1147792385886.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <32978251.1147792385886.JavaMail.jira@brutus> X-Google-Sender-Auth: b9c674a54765f3ab X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Sun's Introspector class does the same thing so this is the expected behavi= or. Perhaps a better way to think about how the name changes is that "the character at the second position" has an impact, not necessarily "the second character". For an example, the following class outputs this: a_B class =3D=3D=3D public class BeanNameInspector { =09private String a_b; =09public static void main(String[] args) throws Exception { =09=09BeanInfo beanInfo =3D Introspector.getBeanInfo(BeanNameInspector.clas= s); =09=09PropertyDescriptor[] propertyDescriptors =3D beanInfo.getPropertyDesc= riptors(); =09=09for(PropertyDescriptor pd: propertyDescriptors){ =09=09=09System.out.println(pd.getName()); =09=09} =09} =09public String getA_B() { =09=09return a_b; =09} =09public void setA_B(String a_b) { =09=09this.a_b =3D a_b; =09} } =3D=3D=3D Larry On 5/16/06, Emmanuel Bardet (JIRA) <[email protected]> wrote: > ClassInfo dropCase method not checking 2nd char appropriately > ------------------------------------------------------------- > > Key: IBATIS-295 > URL: http://issues.apache.org/jira/browse/IBATIS-295 > Project: iBatis for Java > Type: Bug > > Components: SQL Maps > Versions: 2.1.6 > Environment: WinXP, Oracle10, 1.4 > Reporter: Emmanuel Bardet > Priority: Trivial > > > Hello there, > > The test: > if (name.length() =3D=3D 1 || (name.length() > 1 && !Character.isUpperCas= e(name.charAt(1)))) { > does not deal with non letters. Thus, a method name "getA_B" gets dropCa= se to return "a_B". > > Great work u r doing there though! > > Tx > > E > From [email protected] Tue May 16 19:08:36 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52725 invoked from network); 16 May 2006 19:08:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 May 2006 19:08:36 -0000 Received: (qmail 87012 invoked by uid 500); 16 May 2006 19:08:34 -0000 Delivered-To: [email protected] Received: (qmail 86990 invoked by uid 500); 16 May 2006 19:08:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 86979 invoked by uid 99); 16 May 2006 19:08:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 May 2006 12:08:34 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 May 2006 12:08:33 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D2C8A714293 for <[email protected]>; Tue, 16 May 2006 19:08:05 +0000 (GMT) Message-ID: <29690194.1147806485824.JavaMail.jira@brutus> Date: Tue, 16 May 2006 19:08:05 +0000 (GMT+00:00) From: "Eric Tan (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (IBATIS-296) Adding isolation level support at the DAO framework level ... MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Adding isolation level support at the DAO framework level ... ------------------------------------------------------------- Key: IBATIS-296 URL: http://issues.apache.org/jira/browse/IBATIS-296 Project: iBatis for Java Type: Improvement Components: DAO Versions: 2.1.7 Reporter: Eric Tan Since 2.0.9, the SQL Maps framework has the ability to specify isolation level per transaction, eg: sqlMap.startTransaction(Connection.TRANSACTION_REPEATABLE_READ); However, using the DAO framework, there is still no way to specify an isolation level using DaoManager.startTransaction(). Just wondering, were there any previous considerations why isolation level support wasn't added to the DaoManager back in 2.0.9? Thanks -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Tue May 16 19:13:44 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54073 invoked from network); 16 May 2006 19:13:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 May 2006 19:13:43 -0000 Received: (qmail 92185 invoked by uid 500); 16 May 2006 19:13:36 -0000 Delivered-To: [email protected] Received: (qmail 92137 invoked by uid 500); 16 May 2006 19:13:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 92091 invoked by uid 99); 16 May 2006 19:13:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 May 2006 12:13:36 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 May 2006 12:13:35 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 2FF2C41000E for <[email protected]>; Tue, 16 May 2006 19:13:07 +0000 (GMT) Message-ID: <18680823.1147806787193.JavaMail.jira@brutus> Date: Tue, 16 May 2006 19:13:07 +0000 (GMT+00:00) From: "Christian Poitras (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATIS-281) Nested iterate tags does not work In-Reply-To: <925275484.1144074226639.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-281?page=comments#action_12412033 ] Christian Poitras commented on IBATIS-281: ------------------------------------------ I think I was not clear in my other comment. The comment was related to my patch. The patch I proposed has some major programming problems and I sent them to give a starting point. The first problem is the duplicate of the added code in classes ConditonalTagHandler and IterateTagHandler. The added code part should be removed from these classes and put in one simple class. I suggest the IterateContext that could handle the replacing of values in another tag property value. The TagHandlers could then call "parentIterateContextInstance.processProperty(currentTag.getProperty());" when there is a "[]" in the property. The code in IterateContext would be almost he same as my code, since my code will not work in this specific example. <statement> <iterate property="list"> <iterate property="list[3].list"> </iterate> </iterate> </statement> The reason is that my code will try add the index value of the first iterate tag even if the value is specified (here, the value is 3). This will generate an exception. To correct the problem, we only need to check if the caracter after the "[" is a "]". If this is not the case, skip the current iterate context and call it's parent "processProperty" method if there is still an unprocessed "[" in the property. We also need a getParent() method in IterateContext that will return it's parent IterateContext. I suggest to add this king of code for the processProperty() method. public method processProperty(String tagPropety) { int index = lastIndexOf("["); int propertyIndex = lastIndexOf(this.getProperty); if () { } The same problem applies to ConditionalTagHandler. Jeff, I'm sorry I didn't see the problem #3 you are talking about. Can you show me an exemple where this kind of bug happens? I may have already a part of the solution for the problem. Maybe the problem can be solved by adding this code to ConditionalTagHandler doStartFragment() method. // Increase index if the first tag is another iterate. IterateContext itCtx = ctx.peekIterateContext(); if(null != itCtx && itCtx.isAllowNext()){ itCtx.next(); itCtx.setAllowNext(false); if(!itCtx.hasNext()) { itCtx.setFinal(true); } } The DynamicSql class could also make a call to "iterateContext.processProperty();" to replace the body content replacing my code. These changes will make the patch easier to maintain for future development. For problem #2, applying these changes could result in correcting the bug... I believe my patch needs to have > Nested iterate tags does not work > --------------------------------- > > Key: IBATIS-281 > URL: http://issues.apache.org/jira/browse/IBATIS-281 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Versions: 2.1.7 > Reporter: Christian Poitras > Assignee: Jeff Butler > Attachments: ConditionalTagHandler.java, DynamicSql.java, IterateTagHandler.java > > No nested iterate tags work. The second iterate tag is not supported and produces the following error. > java.lang.NumberFormatException: For input string: "" > at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) > at java.lang.Integer.parseInt(Integer.java:489) > at java.lang.Integer.parseInt(Integer.java:518) > at com.ibatis.common.beans.BaseProbe.getIndexedProperty(BaseProbe.java:51) > at com.ibatis.common.beans.ComplexBeanProbe.getProperty(ComplexBeanProbe.java:297) > at com.ibatis.common.beans.ComplexBeanProbe.getObject(ComplexBeanProbe.java:188) > at com.ibatis.common.beans.GenericProbe.getObject(GenericProbe.java:76) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.elements.IterateTagHandler.doStartFragment(IterateTagHandler.java:34) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.processBodyChildren(DynamicSql.java:157) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.processBodyChildren(DynamicSql.java:160) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.processBodyChildren(DynamicSql.java:99) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.process(DynamicSql.java:79) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.getParameterMap(DynamicSql.java:61) > at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryWithCallback(GeneralStatement.java:156) > at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryForList(GeneralStatement.java:123) > at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:610) > at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:584) > at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForList(SqlMapSessionImpl.java:101) > at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForList(SqlMapClientImpl.java:78) > at com.ibatis.dao.client.template.SqlMapDaoTemplate.queryForList(SqlMapDaoTemplate.java:203) > at ca.qc.ircm.lana.persistence.sqlmapdao.SpotSqlMapDao.getSpotsInter(SpotSqlMapDao.java:159) > 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:324) > at com.ibatis.dao.engine.impl.DaoProxy.invoke(DaoProxy.java:72) > at $Proxy14.getSpotsInter(Unknown Source) > at ca.qc.ircm.lana.service.InterpretationService.getSpotsInter(InterpretationService.java:82) > at TEST.testInterpretation.main(testInterpretation.java:111) > It seems the second iterate tag cannot have a property of this type. > <iterate property="list" > > <iterate property="list[].list"> > <iterate> > </iterate> > On the nested iterate, SQL Maps does not add the number in attribute property "list[].list" and tries to call a getter for parameterClass.getList[]() and this is not allowed and produces the error. > This could be prevented in the IterateTagHandler class (doStartFragment method) by adding code that replaces "[]" in the property attribute by values of IterateContext that are parents of the current tag (for multiple nested iterate). > Other code would need to be updated since using a property in the second list also causes SQL Map to crash even it IterateTagHandler is patched. > <iterate property="list" > > <iterate property="list[].list"> > #list[].list[].someProperty# > <iterate> > </iterate> > I produced a patch that can correct the problem. I will include it in a future message. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Tue May 16 19:17:44 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56018 invoked from network); 16 May 2006 19:17:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 May 2006 19:17:42 -0000 Received: (qmail 3284 invoked by uid 500); 16 May 2006 19:17:41 -0000 Delivered-To: [email protected] Received: (qmail 3224 invoked by uid 500); 16 May 2006 19:17:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 3196 invoked by uid 99); 16 May 2006 19:17:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 May 2006 12:17:40 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 May 2006 12:17:38 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 3180D41000E for <[email protected]>; Tue, 16 May 2006 19:17:07 +0000 (GMT) Message-ID: <21799679.1147807027199.JavaMail.jira@brutus> Date: Tue, 16 May 2006 19:17:07 +0000 (GMT+00:00) From: "Christian Poitras (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATIS-281) Nested iterate tags does not work In-Reply-To: <925275484.1144074226639.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-281?page=comments#action_12412034 ] Christian Poitras commented on IBATIS-281: ------------------------------------------ I accendly pressed enter while writting my other comment. Please ignore it. I think I was not clear in my other comment. The comment was related to my patch. The patch I proposed has some major programming problems and I sent them to give a starting point. The first problem is the duplicate of the added code in classes ConditonalTagHandler and IterateTagHandler. The added code part should be removed from these classes and put in one simple class. I suggest the IterateContext that could handle the replacing of values in another tag property value. The TagHandlers could then call "parentIterateContextInstance.processProperty(currentTag.getProperty());" when there is a "[]" in the property. The code in IterateContext would be almost he same as my code, since my code will not work in this specific example. <statement> <iterate property="list"> <iterate property="list[3].list"> </iterate> </iterate> </statement> The reason is that my code will try add the index value of the first iterate tag even if the value is specified (here, the value is 3). This will generate an exception. To correct the problem, we only need to check if the caracter after the "[" is a "]". If this is not the case, skip the current iterate context and call it's parent "processProperty" method if there is still an unprocessed "[" in the property. We also need a getParent() method in IterateContext that will return it's parent IterateContext. I will send a new File containing my suggested patch. The same problem applies to ConditionalTagHandler. Jeff, I'm sorry I didn't see the problem #3 you are talking about. Can you show me an exemple where this kind of bug happens? I may have already a part of the solution for the problem. Maybe the problem can be solved by adding this code to ConditionalTagHandler doStartFragment() method. // Increase index if the first tag is another iterate. IterateContext itCtx = ctx.peekIterateContext(); if(null != itCtx && itCtx.isAllowNext()){ itCtx.next(); itCtx.setAllowNext(false); if(!itCtx.hasNext()) { itCtx.setFinal(true); } } The DynamicSql class could also make a call to "iterateContext.processProperty();" to replace the body content replacing my code. These changes will make the patch easier to maintain for future development. For problem #2, applying these changes could result in correcting the bug... If this is not the case, I will try to find a patch for it and send it in this bug report. > Nested iterate tags does not work > --------------------------------- > > Key: IBATIS-281 > URL: http://issues.apache.org/jira/browse/IBATIS-281 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Versions: 2.1.7 > Reporter: Christian Poitras > Assignee: Jeff Butler > Attachments: ConditionalTagHandler.java, DynamicSql.java, IterateTagHandler.java > > No nested iterate tags work. The second iterate tag is not supported and produces the following error. > java.lang.NumberFormatException: For input string: "" > at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) > at java.lang.Integer.parseInt(Integer.java:489) > at java.lang.Integer.parseInt(Integer.java:518) > at com.ibatis.common.beans.BaseProbe.getIndexedProperty(BaseProbe.java:51) > at com.ibatis.common.beans.ComplexBeanProbe.getProperty(ComplexBeanProbe.java:297) > at com.ibatis.common.beans.ComplexBeanProbe.getObject(ComplexBeanProbe.java:188) > at com.ibatis.common.beans.GenericProbe.getObject(GenericProbe.java:76) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.elements.IterateTagHandler.doStartFragment(IterateTagHandler.java:34) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.processBodyChildren(DynamicSql.java:157) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.processBodyChildren(DynamicSql.java:160) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.processBodyChildren(DynamicSql.java:99) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.process(DynamicSql.java:79) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.getParameterMap(DynamicSql.java:61) > at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryWithCallback(GeneralStatement.java:156) > at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryForList(GeneralStatement.java:123) > at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:610) > at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:584) > at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForList(SqlMapSessionImpl.java:101) > at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForList(SqlMapClientImpl.java:78) > at com.ibatis.dao.client.template.SqlMapDaoTemplate.queryForList(SqlMapDaoTemplate.java:203) > at ca.qc.ircm.lana.persistence.sqlmapdao.SpotSqlMapDao.getSpotsInter(SpotSqlMapDao.java:159) > 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:324) > at com.ibatis.dao.engine.impl.DaoProxy.invoke(DaoProxy.java:72) > at $Proxy14.getSpotsInter(Unknown Source) > at ca.qc.ircm.lana.service.InterpretationService.getSpotsInter(InterpretationService.java:82) > at TEST.testInterpretation.main(testInterpretation.java:111) > It seems the second iterate tag cannot have a property of this type. > <iterate property="list" > > <iterate property="list[].list"> > <iterate> > </iterate> > On the nested iterate, SQL Maps does not add the number in attribute property "list[].list" and tries to call a getter for parameterClass.getList[]() and this is not allowed and produces the error. > This could be prevented in the IterateTagHandler class (doStartFragment method) by adding code that replaces "[]" in the property attribute by values of IterateContext that are parents of the current tag (for multiple nested iterate). > Other code would need to be updated since using a property in the second list also causes SQL Map to crash even it IterateTagHandler is patched. > <iterate property="list" > > <iterate property="list[].list"> > #list[].list[].someProperty# > <iterate> > </iterate> > I produced a patch that can correct the problem. I will include it in a future message. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Tue May 16 22:28:39 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33462 invoked from network); 16 May 2006 22:28:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 May 2006 22:28:38 -0000 Received: (qmail 51868 invoked by uid 500); 16 May 2006 22:28:37 -0000 Delivered-To: [email protected] Received: (qmail 51850 invoked by uid 500); 16 May 2006 22:28:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51839 invoked by uid 99); 16 May 2006 22:28:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 May 2006 15:28:36 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 May 2006 15:28:36 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E72E7714201 for <[email protected]>; Tue, 16 May 2006 22:28:07 +0000 (GMT) Message-ID: <15125580.1147818487943.JavaMail.jira@brutus> Date: Tue, 16 May 2006 22:28:07 +0000 (GMT+00:00) From: "Jeff Butler (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATIS-281) Nested iterate tags does not work In-Reply-To: <925275484.1144074226639.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-281?page=comments#action_12412064 ] Jeff Butler commented on IBATIS-281: ------------------------------------ I just discovered that I can resolve the class #3 errors by rewriting the SqlMaps somewhat. If I do something like this... <iterate property="idList" removeFirstPrepend="true"> <isNotEqual property="idList[]" compareValue="4" prepend="or"> id = #idList[]# </isNotEqual> </iterate> ...then all is well. So maybe this is just a misunderstanding on my part? Maybe we're closer to a fix than I thought. > Nested iterate tags does not work > --------------------------------- > > Key: IBATIS-281 > URL: http://issues.apache.org/jira/browse/IBATIS-281 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Versions: 2.1.7 > Reporter: Christian Poitras > Assignee: Jeff Butler > Attachments: ConditionalTagHandler.java, DynamicSql.java, IterateContext.java, IterateTagHandler.java, test.zip > > No nested iterate tags work. The second iterate tag is not supported and produces the following error. > java.lang.NumberFormatException: For input string: "" > at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) > at java.lang.Integer.parseInt(Integer.java:489) > at java.lang.Integer.parseInt(Integer.java:518) > at com.ibatis.common.beans.BaseProbe.getIndexedProperty(BaseProbe.java:51) > at com.ibatis.common.beans.ComplexBeanProbe.getProperty(ComplexBeanProbe.java:297) > at com.ibatis.common.beans.ComplexBeanProbe.getObject(ComplexBeanProbe.java:188) > at com.ibatis.common.beans.GenericProbe.getObject(GenericProbe.java:76) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.elements.IterateTagHandler.doStartFragment(IterateTagHandler.java:34) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.processBodyChildren(DynamicSql.java:157) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.processBodyChildren(DynamicSql.java:160) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.processBodyChildren(DynamicSql.java:99) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.process(DynamicSql.java:79) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.getParameterMap(DynamicSql.java:61) > at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryWithCallback(GeneralStatement.java:156) > at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryForList(GeneralStatement.java:123) > at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:610) > at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:584) > at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForList(SqlMapSessionImpl.java:101) > at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForList(SqlMapClientImpl.java:78) > at com.ibatis.dao.client.template.SqlMapDaoTemplate.queryForList(SqlMapDaoTemplate.java:203) > at ca.qc.ircm.lana.persistence.sqlmapdao.SpotSqlMapDao.getSpotsInter(SpotSqlMapDao.java:159) > 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:324) > at com.ibatis.dao.engine.impl.DaoProxy.invoke(DaoProxy.java:72) > at $Proxy14.getSpotsInter(Unknown Source) > at ca.qc.ircm.lana.service.InterpretationService.getSpotsInter(InterpretationService.java:82) > at TEST.testInterpretation.main(testInterpretation.java:111) > It seems the second iterate tag cannot have a property of this type. > <iterate property="list" > > <iterate property="list[].list"> > <iterate> > </iterate> > On the nested iterate, SQL Maps does not add the number in attribute property "list[].list" and tries to call a getter for parameterClass.getList[]() and this is not allowed and produces the error. > This could be prevented in the IterateTagHandler class (doStartFragment method) by adding code that replaces "[]" in the property attribute by values of IterateContext that are parents of the current tag (for multiple nested iterate). > Other code would need to be updated since using a property in the second list also causes SQL Map to crash even it IterateTagHandler is patched. > <iterate property="list" > > <iterate property="list[].list"> > #list[].list[].someProperty# > <iterate> > </iterate> > I produced a patch that can correct the problem. I will include it in a future message. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed May 17 15:31:37 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41673 invoked from network); 17 May 2006 15:31:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 May 2006 15:31:37 -0000 Received: (qmail 81786 invoked by uid 500); 17 May 2006 15:31:36 -0000 Delivered-To: [email protected] Received: (qmail 81643 invoked by uid 500); 17 May 2006 15:31:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81632 invoked by uid 99); 17 May 2006 15:31:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 May 2006 08:31:35 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 May 2006 08:31:35 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id DE62071429D for <[email protected]>; Wed, 17 May 2006 15:31:05 +0000 (GMT) Message-ID: <15663102.1147879865908.JavaMail.jira@brutus> Date: Wed, 17 May 2006 15:31:05 +0000 (GMT+00:00) From: "Chris Potter (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (IBATISNET-157) ExecuteQueryForRowDelegate & ExecuteQueryForMapWithRowDelegate In CachingStatement Class MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ExecuteQueryForRowDelegate & ExecuteQueryForMapWithRowDelegate In CachingStatement Class ---------------------------------------------------------------------------------------- Key: IBATISNET-157 URL: http://issues.apache.org/jira/browse/IBATISNET-157 Project: iBatis for .NET Type: Improvement Components: DataMapper Versions: DataMapper 1.3 Reporter: Chris Potter Hi All: I'd like to propose the following changes to the 2 methods described in the Subject above. Please let me know your thoughts on this proposed change. I realize it requires iteration through the cached result collection after retrieving the collection from the cache. This still, however, seems to provide a measurable performance benefit over going to the database each time the query is executed. public IList ExecuteQueryForRowDelegate(IDalSession session, object parameterObject, SqlMapper.RowDelegate rowDelegate) { //Original code: return _mappedStatement.ExecuteQueryForRowDelegate(session, parameterObject, rowDelegate); IList list = this.ExecuteQueryForList(session, parameterObject); IList delegateList = new ArrayList(list.Count); foreach (object obj in list) { rowDelegate(obj, parameterObject, delegateList); } return delegateList; } public IDictionary ExecuteQueryForMapWithRowDelegate(IDalSession session, object parameterObject, string keyProperty, string valueProperty, SqlMapper.DictionaryRowDelegate rowDelegate) { //Original code: return _mappedStatement.ExecuteQueryForMapWithRowDelegate(session, parameterObject, keyProperty, valueProperty, rowDelegate); IDictionary map = this.ExecuteQueryForMap(session, parameterObject, keyProperty, valueProperty); IDictionary delegateMap = new Hashtable(map.Count); foreach (object obj in map.Values) { object key = ObjectProbe.GetPropertyValue(obj, keyProperty); object value = obj; if (valueProperty != null) { value = ObjectProbe.GetPropertyValue(obj, valueProperty); } rowDelegate(key, value, parameterObject, delegateMap); } return delegateMap; } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed May 17 15:33:38 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42255 invoked from network); 17 May 2006 15:33:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 May 2006 15:33:38 -0000 Received: (qmail 83456 invoked by uid 500); 17 May 2006 15:33:37 -0000 Delivered-To: [email protected] Received: (qmail 83318 invoked by uid 500); 17 May 2006 15:33:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 83293 invoked by uid 99); 17 May 2006 15:33:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 May 2006 08:33:36 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 May 2006 08:33:36 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D284E410005 for <[email protected]>; Wed, 17 May 2006 15:33:06 +0000 (GMT) Message-ID: <28308023.1147879986859.JavaMail.jira@brutus> Date: Wed, 17 May 2006 15:33:06 +0000 (GMT+00:00) From: "Chris Potter (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (IBATISNET-158) TypeAssemblyInfo.SplitTypeAndAssemblyNames MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N TypeAssemblyInfo.SplitTypeAndAssemblyNames ------------------------------------------ Key: IBATISNET-158 URL: http://issues.apache.org/jira/browse/IBATISNET-158 Project: iBatis for .NET Type: Improvement Components: DataMapper Versions: DataMapper 1.3 Reporter: Chris Potter Hi All: I'd like to propose a change to the TypeAssemblyInfo internal class within TypeResolver.cs. Please see the proposed code change below. private void SplitTypeAndAssemblyNames (string originalTypeName) { int typeAssemblyIndex // Original Code = originalTypeName.IndexOf ( = originalTypeName.LastIndexOf ( TypeAssemblyInfo.TypeAssemblySeparator); if (typeAssemblyIndex < 0) { unresolvedTypeName = originalTypeName; } else { unresolvedTypeName = originalTypeName.Substring ( 0, typeAssemblyIndex).Trim (); unresolvedAssemblyName = originalTypeName.Substring ( typeAssemblyIndex + 1).Trim (); } } Changing the call from IndexOf to LastIndexOf allows me to define a .Net 2.0 generic in the listClass attribute of a statement definition. You can see an example below. This syntax is impropertly parsed for a comma without this proposed change. <select id="LoadCodesByCategory" parameterMap="CodeData.CodeDataByCategoryParams" resultMap="LoadStateCode" listClass="System.Collections.Generic.List`1[[NFS.Data.Core.DataObjects.Impl.StateCode, NFS.Data.Impl]], mscorlib"> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed May 17 20:52:38 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74262 invoked from network); 17 May 2006 20:52:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 May 2006 20:52:38 -0000 Received: (qmail 49127 invoked by uid 500); 17 May 2006 20:52:38 -0000 Delivered-To: [email protected] Received: (qmail 49107 invoked by uid 500); 17 May 2006 20:52:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 49096 invoked by uid 99); 17 May 2006 20:52:37 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 May 2006 13:52:37 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 May 2006 13:52:37 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 73B3541000E for <[email protected]>; Wed, 17 May 2006 20:52:07 +0000 (GMT) Message-ID: <13324850.1147899127471.JavaMail.jira@brutus> Date: Wed, 17 May 2006 20:52:07 +0000 (GMT+00:00) From: "Jeff Butler (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATIS-293) Fix use of list[]-notation in propertyattributes of dynamic tags In-Reply-To: <18999456.1146811278358.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-293?page=comments#action_12412243 ] Jeff Butler commented on IBATIS-293: ------------------------------------ I've verified that this is an issue. The <isPropertyAvailable>, <isNull>, <isEmpty>, and their <isNot...> counterparts all have the same problem. I will implement a fix for this at the same time we fix IBATIS-281. > Fix use of list[]-notation in propertyattributes of dynamic tags > ---------------------------------------------------------------- > > Key: IBATIS-293 > URL: http://issues.apache.org/jira/browse/IBATIS-293 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Environment: All are affected. > Reporter: Paul McCormick > Assignee: Jeff Butler > Fix For: 2.1.6 > > When using an iterate-tag to loop a list, one cannot point to the current element in attributes of inner tags, for example, the following fails: > <iterate property="myList"> > <isEqual property="myList[].someProperty" compareValue="true"> > $myList[].anotherProperty$ > </isEqual> > </iterate> > iBATIS tries to index the property myList with an empty string, but it should use the current element (the []-notation works fine within inner tags), when an index is supplied it works just fine... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed May 17 21:03:41 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77722 invoked from network); 17 May 2006 21:03:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 May 2006 21:03:40 -0000 Received: (qmail 63260 invoked by uid 500); 17 May 2006 21:03:38 -0000 Delivered-To: [email protected] Received: (qmail 63121 invoked by uid 500); 17 May 2006 21:03:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 63110 invoked by uid 99); 17 May 2006 21:03:37 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 May 2006 14:03:37 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 May 2006 14:03:36 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A1F8F410005 for <[email protected]>; Wed, 17 May 2006 21:03:06 +0000 (GMT) Message-ID: <11413691.1147899786660.JavaMail.jira@brutus> Date: Wed, 17 May 2006 21:03:06 +0000 (GMT+00:00) From: "Jeff Butler (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (IBATIS-238) Property of a bean from a list can not be used in a dynamic query in elements isEquals and so on MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-238?page=all ] Jeff Butler closed IBATIS-238: ------------------------------ Resolution: Duplicate This issue is similar to fixes we are making in IBATIS-281 and IBATIS-293. > Property of a bean from a list can not be used in a dynamic query in elements isEquals and so on > ------------------------------------------------------------------------------------------------ > > Key: IBATIS-238 > URL: http://issues.apache.org/jira/browse/IBATIS-238 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Versions: 2.1.6 > Environment: WinXp > Reporter: Martin Zeltner > Priority: Critical > Attachments: baseprobe_patch.txt > > A property of a bean that is in a list can not be used for testing. See attribute "property" of elements "isEquals" from example below: > <select id="searchKeywords" resultMap="keyword" parameterClass="list"> > select KEYID, NAME, DESCRIPTION, OPTIMISTICLOCKINGVERSION from KEYWORDS > <iterate prepend="where" conjunction="and"> > <isEqual property="[].type" compareValue="like"> > <isEqual property="[].field" compareValue="name"> > <isEqual property="[].caseSensitive" compareValue="true"> > NAME like #[].stringValue# > </isEqual> > <isNotEqual property="[].caseSensitive" compareValue="true"> > upper(NAME) like upper(#[].stringValue#) > </isNotEqual> > </isEqual> > <isEqual property="[].field" compareValue="description"> > <isEqual property="[].caseSensitive" compareValue="true"> > DESCRIPTION like #[].stringValue# > </isEqual> > <isNotEqual property="[].caseSensitive" compareValue="true"> > upper(DESCRIPTION) like upper(#[].stringValue#) > </isNotEqual> > </isEqual> > </isEqual> > </iterate> > order by NAME > </select> > Regards, > Martin -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed May 17 23:10:37 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18676 invoked from network); 17 May 2006 23:10:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 May 2006 23:10:37 -0000 Received: (qmail 49392 invoked by uid 500); 17 May 2006 23:10:37 -0000 Delivered-To: [email protected] Received: (qmail 49258 invoked by uid 500); 17 May 2006 23:10:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 49242 invoked by uid 99); 17 May 2006 23:10:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 May 2006 16:10:36 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 May 2006 16:10:35 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E91677142A7 for <[email protected]>; Wed, 17 May 2006 23:10:05 +0000 (GMT) Message-ID: <18338608.1147907405951.JavaMail.jira@brutus> Date: Wed, 17 May 2006 23:10:05 +0000 (GMT+00:00) From: "Michael Schall (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (IBATISNET-159) prepends are not working in some cases MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N prepends are not working in some cases -------------------------------------- Key: IBATISNET-159 URL: http://issues.apache.org/jira/browse/IBATISNET-159 Project: iBatis for .NET Type: Bug Components: DataMapper Versions: DataMapper 1.3 Environment: Win2000 Server, WinXP .Net Framework 2.0 Reporter: Michael Schall I have posted a question to the newsgroup. http://[email protected]/msg00874.html In certain cases the prepend is not working correctly. I get a "sql error near tp_Calls". The prepends aren't adding in the "and" to the resultant sql string. <dynamic prepend="WHERE"> <![CDATA[ OffHookDt <= #EndDate# AND OffHookDt >= #StartDate# ]]> <isNotNull property="LocationCode"> <isNotEqual prepend="and" property="LocationCode" compareValue="%"> tp_Calls.LocationCd = #LocationCode# </isNotEqual> </isNotNull> <isNotEqual prepend="and" property="RateType" compareValue="-1"> RateType = #RateType# </isNotEqual> <isEqual prepend="and" property="PrivateAllowed" compareValue="0"> tp_Calls.Hidden = 0 </isEqual> </dynamic> If I change it to the following everything works great. <dynamic prepend="WHERE"> <![CDATA[ OffHookDt <= #EndDate# AND OffHookDt >= #StartDate# ]]> <isNotNull property="LocationCode"> <isNotEqual property="LocationCode" compareValue="%"> and tp_Calls.LocationCd = #LocationCode# </isNotEqual> </isNotNull> <isNotEqual property="RateType" compareValue="-1"> and RateType = #RateType# </isNotEqual> <isEqual property="PrivateAllowed" compareValue="0"> and tp_Calls.Hidden = 0 </isEqual> </dynamic> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu May 18 14:33:40 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19569 invoked from network); 18 May 2006 14:33:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 May 2006 14:33:40 -0000 Received: (qmail 49068 invoked by uid 500); 18 May 2006 14:33:39 -0000 Delivered-To: [email protected] Received: (qmail 48923 invoked by uid 500); 18 May 2006 14:33:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48901 invoked by uid 99); 18 May 2006 14:33:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 May 2006 07:33:39 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 May 2006 07:33:38 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 8D7E87142A2 for <[email protected]>; Thu, 18 May 2006 14:33:07 +0000 (GMT) Message-ID: <2977288.1147962787575.JavaMail.jira@brutus> Date: Thu, 18 May 2006 14:33:07 +0000 (GMT+00:00) From: "Christian Poitras (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATIS-281) Nested iterate tags does not work In-Reply-To: <925275484.1144074226639.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-281?page=comments#action_12412353 ] Christian Poitras commented on IBATIS-281: ------------------------------------------ Great patch for the other problems, Jeff! Everything seems to work fine here to. I you want to rename (and rearrange, comment some code) the methods I created, go ahead. I am not totally used to the code in the framework, and I don't know your programming convetions. > Nested iterate tags does not work > --------------------------------- > > Key: IBATIS-281 > URL: http://issues.apache.org/jira/browse/IBATIS-281 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Versions: 2.1.7 > Reporter: Christian Poitras > Assignee: Jeff Butler > Attachments: ConditionalTagHandler.java, DynamicSql.java, IterateContext.java, IteratePatchTest1.zip, IteratePatchTest2.zip, IteratePatchTest3.zip, IterateTagHandler.java, test.zip, test2.zip, test3.zip > > No nested iterate tags work. The second iterate tag is not supported and produces the following error. > java.lang.NumberFormatException: For input string: "" > at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) > at java.lang.Integer.parseInt(Integer.java:489) > at java.lang.Integer.parseInt(Integer.java:518) > at com.ibatis.common.beans.BaseProbe.getIndexedProperty(BaseProbe.java:51) > at com.ibatis.common.beans.ComplexBeanProbe.getProperty(ComplexBeanProbe.java:297) > at com.ibatis.common.beans.ComplexBeanProbe.getObject(ComplexBeanProbe.java:188) > at com.ibatis.common.beans.GenericProbe.getObject(GenericProbe.java:76) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.elements.IterateTagHandler.doStartFragment(IterateTagHandler.java:34) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.processBodyChildren(DynamicSql.java:157) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.processBodyChildren(DynamicSql.java:160) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.processBodyChildren(DynamicSql.java:99) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.process(DynamicSql.java:79) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.getParameterMap(DynamicSql.java:61) > at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryWithCallback(GeneralStatement.java:156) > at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryForList(GeneralStatement.java:123) > at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:610) > at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:584) > at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForList(SqlMapSessionImpl.java:101) > at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForList(SqlMapClientImpl.java:78) > at com.ibatis.dao.client.template.SqlMapDaoTemplate.queryForList(SqlMapDaoTemplate.java:203) > at ca.qc.ircm.lana.persistence.sqlmapdao.SpotSqlMapDao.getSpotsInter(SpotSqlMapDao.java:159) > 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:324) > at com.ibatis.dao.engine.impl.DaoProxy.invoke(DaoProxy.java:72) > at $Proxy14.getSpotsInter(Unknown Source) > at ca.qc.ircm.lana.service.InterpretationService.getSpotsInter(InterpretationService.java:82) > at TEST.testInterpretation.main(testInterpretation.java:111) > It seems the second iterate tag cannot have a property of this type. > <iterate property="list" > > <iterate property="list[].list"> > <iterate> > </iterate> > On the nested iterate, SQL Maps does not add the number in attribute property "list[].list" and tries to call a getter for parameterClass.getList[]() and this is not allowed and produces the error. > This could be prevented in the IterateTagHandler class (doStartFragment method) by adding code that replaces "[]" in the property attribute by values of IterateContext that are parents of the current tag (for multiple nested iterate). > Other code would need to be updated since using a property in the second list also causes SQL Map to crash even it IterateTagHandler is patched. > <iterate property="list" > > <iterate property="list[].list"> > #list[].list[].someProperty# > <iterate> > </iterate> > I produced a patch that can correct the problem. I will include it in a future message. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu May 18 17:56:42 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4059 invoked from network); 18 May 2006 17:56:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 May 2006 17:56:41 -0000 Received: (qmail 92296 invoked by uid 500); 18 May 2006 17:56:41 -0000 Delivered-To: [email protected] Received: (qmail 92272 invoked by uid 500); 18 May 2006 17:56:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 92259 invoked by uid 99); 18 May 2006 17:56:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 May 2006 10:56:40 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 May 2006 10:56:40 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 2BEFD7142A7 for <[email protected]>; Thu, 18 May 2006 17:56:09 +0000 (GMT) Message-ID: <1894150.1147974969176.JavaMail.jira@brutus> Date: Thu, 18 May 2006 17:56:09 +0000 (GMT+00:00) From: "Jeff Butler (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (IBATIS-293) Fix use of list[]-notation in propertyattributes of dynamic tags In-Reply-To: <18999456.1146811278358.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-293?page=all ] Jeff Butler closed IBATIS-293: ------------------------------ Fix Version: 2.2.0 (was: 2.1.6) Resolution: Fixed Fixed in SVN. > Fix use of list[]-notation in propertyattributes of dynamic tags > ---------------------------------------------------------------- > > Key: IBATIS-293 > URL: http://issues.apache.org/jira/browse/IBATIS-293 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Environment: All are affected. > Reporter: Paul McCormick > Assignee: Jeff Butler > Fix For: 2.2.0 > > When using an iterate-tag to loop a list, one cannot point to the current element in attributes of inner tags, for example, the following fails: > <iterate property="myList"> > <isEqual property="myList[].someProperty" compareValue="true"> > $myList[].anotherProperty$ > </isEqual> > </iterate> > iBATIS tries to index the property myList with an empty string, but it should use the current element (the []-notation works fine within inner tags), when an index is supplied it works just fine... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu May 18 18:00:39 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4702 invoked from network); 18 May 2006 18:00:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 May 2006 18:00:39 -0000 Received: (qmail 95213 invoked by uid 500); 18 May 2006 18:00:38 -0000 Delivered-To: [email protected] Received: (qmail 95171 invoked by uid 500); 18 May 2006 18:00:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 95136 invoked by uid 99); 18 May 2006 18:00:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 May 2006 11:00:38 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 May 2006 11:00:37 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A39657142A2 for <[email protected]>; Thu, 18 May 2006 18:00:06 +0000 (GMT) Message-ID: <14993901.1147975206667.JavaMail.jira@brutus> Date: Thu, 18 May 2006 18:00:06 +0000 (GMT+00:00) From: "Jeremy Gray (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATISNET-159) prepends are not working in some cases In-Reply-To: <18338608.1147907405951.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATISNET-159?page=comments#action_12412390 ] Jeremy Gray commented on IBATISNET-159: --------------------------------------- Unless I'm mistaken, you are seeing correct behaviour. The isNotEqual prepend should only fire if a previous is* was satisfied and generated sql. > prepends are not working in some cases > -------------------------------------- > > Key: IBATISNET-159 > URL: http://issues.apache.org/jira/browse/IBATISNET-159 > Project: iBatis for .NET > Type: Bug > Components: DataMapper > Versions: DataMapper 1.3 > Environment: Win2000 Server, WinXP .Net Framework 2.0 > Reporter: Michael Schall > > I have posted a question to the newsgroup. > http://[email protected]/msg00874.html > In certain cases the prepend is not working correctly. > I get a "sql error > near tp_Calls". The prepends aren't adding in the "and" to the > resultant sql string. > <dynamic prepend="WHERE"> > <![CDATA[ > OffHookDt <= #EndDate# AND > OffHookDt >= #StartDate# > ]]> > <isNotNull property="LocationCode"> > <isNotEqual prepend="and" property="LocationCode" compareValue="%"> > tp_Calls.LocationCd = #LocationCode# > </isNotEqual> > </isNotNull> > <isNotEqual prepend="and" property="RateType" compareValue="-1"> > RateType = #RateType# > </isNotEqual> > <isEqual prepend="and" property="PrivateAllowed" compareValue="0"> > tp_Calls.Hidden = 0 > </isEqual> > </dynamic> > If I change it to the following everything works great. > <dynamic prepend="WHERE"> > <![CDATA[ > OffHookDt <= #EndDate# AND > OffHookDt >= #StartDate# > ]]> > <isNotNull property="LocationCode"> > <isNotEqual property="LocationCode" compareValue="%"> > and tp_Calls.LocationCd = #LocationCode# > </isNotEqual> > </isNotNull> > <isNotEqual property="RateType" compareValue="-1"> > and RateType = #RateType# > </isNotEqual> > <isEqual property="PrivateAllowed" compareValue="0"> > and tp_Calls.Hidden = 0 > </isEqual> > </dynamic> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu May 18 18:00:40 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4741 invoked from network); 18 May 2006 18:00:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 May 2006 18:00:40 -0000 Received: (qmail 95377 invoked by uid 500); 18 May 2006 18:00:40 -0000 Delivered-To: [email protected] Received: (qmail 95354 invoked by uid 500); 18 May 2006 18:00:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 95343 invoked by uid 99); 18 May 2006 18:00:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 May 2006 11:00:39 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 May 2006 11:00:39 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 239567142A4 for <[email protected]>; Thu, 18 May 2006 18:00:08 +0000 (GMT) Message-ID: <26906553.1147975208143.JavaMail.jira@brutus> Date: Thu, 18 May 2006 18:00:08 +0000 (GMT+00:00) From: "Jeff Butler (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (IBATIS-281) Nested iterate tags does not work In-Reply-To: <925275484.1144074226639.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-281?page=all ] Jeff Butler closed IBATIS-281: ------------------------------ Fix Version: 2.2.0 Resolution: Fixed Fixed in SVN. In addition to the patches here, there were some additional changes to IterateContext and IterateTagHandler that account for prepends, opens, and closes correctly in a variety of situations. I also added tests to the iBATIS build to prove the fixes. Thanks again Christian - I enjoyed our collaboration. > Nested iterate tags does not work > --------------------------------- > > Key: IBATIS-281 > URL: http://issues.apache.org/jira/browse/IBATIS-281 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Versions: 2.1.7 > Reporter: Christian Poitras > Assignee: Jeff Butler > Fix For: 2.2.0 > Attachments: ConditionalTagHandler.java, DynamicSql.java, IterateContext.java, IteratePatchTest1.zip, IteratePatchTest2.zip, IteratePatchTest3.zip, IterateTagHandler.java, test.zip, test2.zip, test3.zip > > No nested iterate tags work. The second iterate tag is not supported and produces the following error. > java.lang.NumberFormatException: For input string: "" > at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) > at java.lang.Integer.parseInt(Integer.java:489) > at java.lang.Integer.parseInt(Integer.java:518) > at com.ibatis.common.beans.BaseProbe.getIndexedProperty(BaseProbe.java:51) > at com.ibatis.common.beans.ComplexBeanProbe.getProperty(ComplexBeanProbe.java:297) > at com.ibatis.common.beans.ComplexBeanProbe.getObject(ComplexBeanProbe.java:188) > at com.ibatis.common.beans.GenericProbe.getObject(GenericProbe.java:76) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.elements.IterateTagHandler.doStartFragment(IterateTagHandler.java:34) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.processBodyChildren(DynamicSql.java:157) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.processBodyChildren(DynamicSql.java:160) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.processBodyChildren(DynamicSql.java:99) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.process(DynamicSql.java:79) > at com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.getParameterMap(DynamicSql.java:61) > at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryWithCallback(GeneralStatement.java:156) > at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryForList(GeneralStatement.java:123) > at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:610) > at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:584) > at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForList(SqlMapSessionImpl.java:101) > at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForList(SqlMapClientImpl.java:78) > at com.ibatis.dao.client.template.SqlMapDaoTemplate.queryForList(SqlMapDaoTemplate.java:203) > at ca.qc.ircm.lana.persistence.sqlmapdao.SpotSqlMapDao.getSpotsInter(SpotSqlMapDao.java:159) > 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:324) > at com.ibatis.dao.engine.impl.DaoProxy.invoke(DaoProxy.java:72) > at $Proxy14.getSpotsInter(Unknown Source) > at ca.qc.ircm.lana.service.InterpretationService.getSpotsInter(InterpretationService.java:82) > at TEST.testInterpretation.main(testInterpretation.java:111) > It seems the second iterate tag cannot have a property of this type. > <iterate property="list" > > <iterate property="list[].list"> > <iterate> > </iterate> > On the nested iterate, SQL Maps does not add the number in attribute property "list[].list" and tries to call a getter for parameterClass.getList[]() and this is not allowed and produces the error. > This could be prevented in the IterateTagHandler class (doStartFragment method) by adding code that replaces "[]" in the property attribute by values of IterateContext that are parents of the current tag (for multiple nested iterate). > Other code would need to be updated since using a property in the second list also causes SQL Map to crash even it IterateTagHandler is patched. > <iterate property="list" > > <iterate property="list[].list"> > #list[].list[].someProperty# > <iterate> > </iterate> > I produced a patch that can correct the problem. I will include it in a future message. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu May 18 18:37:39 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15704 invoked from network); 18 May 2006 18:37:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 May 2006 18:37:39 -0000 Received: (qmail 52221 invoked by uid 500); 18 May 2006 18:37:38 -0000 Delivered-To: [email protected] Received: (qmail 52211 invoked by uid 500); 18 May 2006 18:37:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 52200 invoked by uid 99); 18 May 2006 18:37:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 May 2006 11:37:38 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 May 2006 11:37:37 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 97E537142A4 for <[email protected]>; Thu, 18 May 2006 18:37:06 +0000 (GMT) Message-ID: <15751185.1147977426619.JavaMail.jira@brutus> Date: Thu, 18 May 2006 18:37:06 +0000 (GMT+00:00) From: "Michael Schall (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATISNET-159) prepends are not working in some cases In-Reply-To: <18338608.1147907405951.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATISNET-159?page=comments#action_12412395 ] Michael Schall commented on IBATISNET-159: ------------------------------------------ In my example if I pass in "XYZ" as LocationCode, the "and" should be prepended correct? isNotNull would be true and isNotEqual would be true for "%". Am I not combining these correctly? How else can I do a complex compare? If I'm wrong on the first part of the clause, please let me know. However even the later simple conditions need the prepend removed and added in the tag or an error will be thrown as an invalid sql statement. Thanks for your time. Mike > prepends are not working in some cases > -------------------------------------- > > Key: IBATISNET-159 > URL: http://issues.apache.org/jira/browse/IBATISNET-159 > Project: iBatis for .NET > Type: Bug > Components: DataMapper > Versions: DataMapper 1.3 > Environment: Win2000 Server, WinXP .Net Framework 2.0 > Reporter: Michael Schall > > I have posted a question to the newsgroup. > http://[email protected]/msg00874.html > In certain cases the prepend is not working correctly. > I get a "sql error > near tp_Calls". The prepends aren't adding in the "and" to the > resultant sql string. > <dynamic prepend="WHERE"> > <![CDATA[ > OffHookDt <= #EndDate# AND > OffHookDt >= #StartDate# > ]]> > <isNotNull property="LocationCode"> > <isNotEqual prepend="and" property="LocationCode" compareValue="%"> > tp_Calls.LocationCd = #LocationCode# > </isNotEqual> > </isNotNull> > <isNotEqual prepend="and" property="RateType" compareValue="-1"> > RateType = #RateType# > </isNotEqual> > <isEqual prepend="and" property="PrivateAllowed" compareValue="0"> > tp_Calls.Hidden = 0 > </isEqual> > </dynamic> > If I change it to the following everything works great. > <dynamic prepend="WHERE"> > <![CDATA[ > OffHookDt <= #EndDate# AND > OffHookDt >= #StartDate# > ]]> > <isNotNull property="LocationCode"> > <isNotEqual property="LocationCode" compareValue="%"> > and tp_Calls.LocationCd = #LocationCode# > </isNotEqual> > </isNotNull> > <isNotEqual property="RateType" compareValue="-1"> > and RateType = #RateType# > </isNotEqual> > <isEqual property="PrivateAllowed" compareValue="0"> > and tp_Calls.Hidden = 0 > </isEqual> > </dynamic> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu May 18 20:02:40 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51213 invoked from network); 18 May 2006 20:02:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 May 2006 20:02:39 -0000 Received: (qmail 68155 invoked by uid 500); 18 May 2006 20:02:39 -0000 Delivered-To: [email protected] Received: (qmail 68126 invoked by uid 500); 18 May 2006 20:02:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 68115 invoked by uid 99); 18 May 2006 20:02:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 May 2006 13:02:38 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 May 2006 13:02:37 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 996DC7142A1 for <[email protected]>; Thu, 18 May 2006 20:02:06 +0000 (GMT) Message-ID: <18607962.1147982526625.JavaMail.jira@brutus> Date: Thu, 18 May 2006 20:02:06 +0000 (GMT+00:00) From: "Jeremy Gray (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATISNET-159) prepends are not working in some cases In-Reply-To: <18338608.1147907405951.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATISNET-159?page=comments#action_12412412 ] Jeremy Gray commented on IBATISNET-159: --------------------------------------- I'd be happier of one of the official maintainers were able to comment on this issue, but as best as I can tell, the prepend value of "and" will only be output if _another_ is* element is satisfied _before_ the one where your prepend="and" is specified. This is so that you don't end up with a query that reads "... where and ...". The CDATA section you have baked into the top of your dynamic element is throwing you off a bit, as that portion isn't conditional and shouldn't be in the dynamic section. Moving it out would also require the removal of the prepend="WHERE" from the dynamic element. At that point you should be able to clearly see why your prepend="and" would never fire. > prepends are not working in some cases > -------------------------------------- > > Key: IBATISNET-159 > URL: http://issues.apache.org/jira/browse/IBATISNET-159 > Project: iBatis for .NET > Type: Bug > Components: DataMapper > Versions: DataMapper 1.3 > Environment: Win2000 Server, WinXP .Net Framework 2.0 > Reporter: Michael Schall > > I have posted a question to the newsgroup. > http://[email protected]/msg00874.html > In certain cases the prepend is not working correctly. > I get a "sql error > near tp_Calls". The prepends aren't adding in the "and" to the > resultant sql string. > <dynamic prepend="WHERE"> > <![CDATA[ > OffHookDt <= #EndDate# AND > OffHookDt >= #StartDate# > ]]> > <isNotNull property="LocationCode"> > <isNotEqual prepend="and" property="LocationCode" compareValue="%"> > tp_Calls.LocationCd = #LocationCode# > </isNotEqual> > </isNotNull> > <isNotEqual prepend="and" property="RateType" compareValue="-1"> > RateType = #RateType# > </isNotEqual> > <isEqual prepend="and" property="PrivateAllowed" compareValue="0"> > tp_Calls.Hidden = 0 > </isEqual> > </dynamic> > If I change it to the following everything works great. > <dynamic prepend="WHERE"> > <![CDATA[ > OffHookDt <= #EndDate# AND > OffHookDt >= #StartDate# > ]]> > <isNotNull property="LocationCode"> > <isNotEqual property="LocationCode" compareValue="%"> > and tp_Calls.LocationCd = #LocationCode# > </isNotEqual> > </isNotNull> > <isNotEqual property="RateType" compareValue="-1"> > and RateType = #RateType# > </isNotEqual> > <isEqual property="PrivateAllowed" compareValue="0"> > and tp_Calls.Hidden = 0 > </isEqual> > </dynamic> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sat May 20 05:59:07 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73808 invoked from network); 20 May 2006 05:59:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 May 2006 05:59:07 -0000 Received: (qmail 79551 invoked by uid 500); 20 May 2006 05:59:07 -0000 Delivered-To: [email protected] Received: (qmail 79519 invoked by uid 500); 20 May 2006 05:59:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 79508 invoked by uid 99); 20 May 2006 05:59:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 May 2006 22:59:06 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 May 2006 22:59:05 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A713B71429B for <[email protected]>; Sat, 20 May 2006 05:58:30 +0000 (GMT) Message-ID: <1688590.1148104710681.JavaMail.jira@brutus> Date: Sat, 20 May 2006 05:58:30 +0000 (GMT+00:00) From: "Robert DeVito (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATIS-22) Specify Query Timeout MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-22?page=comments#action_12412624 ] Robert DeVito commented on IBATIS-22: ------------------------------------- My team is new to iBATIS, but is also interested in utilizing a "setQueryTimeout" method, to take advantage of the JDBC drivers that support it. We've used it in the past as an alternative to looking to JTA for enforcing operation timeouts in a x-action (I'm guessing this is how some JTA implementations actually make their x-action timeouts work). (fwiw - I decompiled the Oracle type-4 JDBC driver to see what they're doing. Looks like they actually spawn a separate thread, and call "cancel( )" on the statement if the timeout occurs b4 the operation is done) Anyway - any news on the IBAtis team exposing this functionality ? (thanks) > Specify Query Timeout > --------------------- > > Key: IBATIS-22 > URL: http://issues.apache.org/jira/browse/IBATIS-22 > Project: iBatis for Java > Type: New Feature > Components: SQL Maps > Reporter: Rahul Kapoor > > There seems to be no current way to specify timeouts for select statements. I did see a message in the sf forum that using driver properties is a possible workaround. But it would be really nice to have a per statement timeout. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sat May 20 21:54:07 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49436 invoked from network); 20 May 2006 21:54:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 May 2006 21:54:06 -0000 Received: (qmail 4874 invoked by uid 500); 20 May 2006 21:54:06 -0000 Delivered-To: [email protected] Received: (qmail 4851 invoked by uid 500); 20 May 2006 21:54:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4840 invoked by uid 99); 20 May 2006 21:54:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 May 2006 14:54:06 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 May 2006 14:54:05 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id F11697141F5 for <[email protected]>; Sat, 20 May 2006 21:53:30 +0000 (GMT) Message-ID: <26562056.1148162010984.JavaMail.jira@brutus> Date: Sat, 20 May 2006 21:53:30 +0000 (GMT+00:00) From: "Gilles Bayon (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATISNET-158) TypeAssemblyInfo.SplitTypeAndAssemblyNames In-Reply-To: <28308023.1147879986859.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATISNET-158?page=comments#action_12412648 ] Gilles Bayon commented on IBATISNET-158: ---------------------------------------- You don't need to specify a listClas, just use the generic syntax of QueryForList sqlMap.QueryForList<StateCode>( statementID, codeDataByCategoryParams) I will fix the issue. > TypeAssemblyInfo.SplitTypeAndAssemblyNames > ------------------------------------------ > > Key: IBATISNET-158 > URL: http://issues.apache.org/jira/browse/IBATISNET-158 > Project: iBatis for .NET > Type: Improvement > Components: DataMapper > Versions: DataMapper 1.3 > Reporter: Chris Potter > Assignee: Gilles Bayon > > Hi All: > > I'd like to propose a change to the TypeAssemblyInfo internal class within TypeResolver.cs. Please see the proposed code change below. > > private void SplitTypeAndAssemblyNames (string originalTypeName) > { > int typeAssemblyIndex > // Original Code = originalTypeName.IndexOf ( > = originalTypeName.LastIndexOf ( > TypeAssemblyInfo.TypeAssemblySeparator); > if (typeAssemblyIndex < 0) > { > unresolvedTypeName = originalTypeName; > } > else > { > unresolvedTypeName = originalTypeName.Substring ( > 0, typeAssemblyIndex).Trim (); > unresolvedAssemblyName = originalTypeName.Substring ( > typeAssemblyIndex + 1).Trim (); > } > } > > Changing the call from IndexOf to LastIndexOf allows me to define a .Net 2.0 generic in the listClass attribute of a statement definition. You can see an example below. This syntax is impropertly parsed for a comma without this proposed change. > > <select id="LoadCodesByCategory" parameterMap="CodeData.CodeDataByCategoryParams" resultMap="LoadStateCode" listClass="System.Collections.Generic.List`1[[NFS.Data.Core.DataObjects.Impl.StateCode, NFS.Data.Impl]], mscorlib"> > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sat May 20 21:59:07 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49849 invoked from network); 20 May 2006 21:59:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 May 2006 21:59:06 -0000 Received: (qmail 8515 invoked by uid 500); 20 May 2006 21:59:06 -0000 Delivered-To: [email protected] Received: (qmail 8492 invoked by uid 500); 20 May 2006 21:59:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 8481 invoked by uid 99); 20 May 2006 21:59:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 May 2006 14:59:06 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 May 2006 14:59:05 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 278257141F5 for <[email protected]>; Sat, 20 May 2006 21:58:31 +0000 (GMT) Message-ID: <29421449.1148162311157.JavaMail.jira@brutus> Date: Sat, 20 May 2006 21:58:31 +0000 (GMT+00:00) From: "Gilles Bayon (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (IBATISNET-158) TypeAssemblyInfo.SplitTypeAndAssemblyNames In-Reply-To: <28308023.1147879986859.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATISNET-158?page=all ] Gilles Bayon closed IBATISNET-158: ---------------------------------- Fix Version: DataMapper 1.4 Resolution: Fixed In SVN > TypeAssemblyInfo.SplitTypeAndAssemblyNames > ------------------------------------------ > > Key: IBATISNET-158 > URL: http://issues.apache.org/jira/browse/IBATISNET-158 > Project: iBatis for .NET > Type: Improvement > Components: DataMapper > Versions: DataMapper 1.3 > Reporter: Chris Potter > Assignee: Gilles Bayon > Fix For: DataMapper 1.4 > > Hi All: > > I'd like to propose a change to the TypeAssemblyInfo internal class within TypeResolver.cs. Please see the proposed code change below. > > private void SplitTypeAndAssemblyNames (string originalTypeName) > { > int typeAssemblyIndex > // Original Code = originalTypeName.IndexOf ( > = originalTypeName.LastIndexOf ( > TypeAssemblyInfo.TypeAssemblySeparator); > if (typeAssemblyIndex < 0) > { > unresolvedTypeName = originalTypeName; > } > else > { > unresolvedTypeName = originalTypeName.Substring ( > 0, typeAssemblyIndex).Trim (); > unresolvedAssemblyName = originalTypeName.Substring ( > typeAssemblyIndex + 1).Trim (); > } > } > > Changing the call from IndexOf to LastIndexOf allows me to define a .Net 2.0 generic in the listClass attribute of a statement definition. You can see an example below. This syntax is impropertly parsed for a comma without this proposed change. > > <select id="LoadCodesByCategory" parameterMap="CodeData.CodeDataByCategoryParams" resultMap="LoadStateCode" listClass="System.Collections.Generic.List`1[[NFS.Data.Core.DataObjects.Impl.StateCode, NFS.Data.Impl]], mscorlib"> > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sat May 20 22:01:06 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50012 invoked from network); 20 May 2006 22:01:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 May 2006 22:01:06 -0000 Received: (qmail 9285 invoked by uid 500); 20 May 2006 22:01:06 -0000 Delivered-To: [email protected] Received: (qmail 9146 invoked by uid 500); 20 May 2006 22:01:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 9134 invoked by uid 99); 20 May 2006 22:01:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 May 2006 15:01:05 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 May 2006 15:01:05 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id F318C7141F5 for <[email protected]>; Sat, 20 May 2006 22:00:30 +0000 (GMT) Message-ID: <21552977.1148162430993.JavaMail.jira@brutus> Date: Sat, 20 May 2006 22:00:30 +0000 (GMT+00:00) From: "Gilles Bayon (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (IBATISNET-105) Lazy load support for Strong typed collections and single Items MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATISNET-105?page=all ] Gilles Bayon closed IBATISNET-105: ---------------------------------- Fix Version: DataMapper 1.4 Resolution: Fixed Added only Lazy load support for Strong typed collections In SVN > Lazy load support for Strong typed collections and single Items > --------------------------------------------------------------- > > Key: IBATISNET-105 > URL: http://issues.apache.org/jira/browse/IBATISNET-105 > Project: iBatis for .NET > Type: New Feature > Components: DataMapper, Testing > Reporter: David Marzo > Assignee: Gilles Bayon > Fix For: DataMapper 1.4 > Attachments: LazyLoad_rev04.zip, LazyLoad_rev05.zip, LazyLoad_rev06.zip > > Nowadays Ibatis only support lazy load for no typed (IList) collections and can not lazy load relationship of 0 or 1. > Changes: > - In IBatisNet.DataMapper.Test.NUnit.SqlMapTests.ResultMapTest .TestLazyWithStronglyTypedCollectionMapping() > exist one test that end ok but its outdated and it should fail. > - BatisNet.DataMapper.Test.Domain.Order > Ln 22: > Original: > private IList _lineItems;//LineItemCollection > Correct: > private LineItemCollection _lineItems; > Ln: 50 > Original: > public IList LineItems > Correct: > public LineItemCollection LineItems > {...} > > In the statment order-with-lines-collection add to LazyLoad = "true" > <resultMap id="order-with-lines-collection" class="Order" extends="lite-order-result-by-name" > > <result property="LineItems" column="Order_ID" select="GetLineItemsForOrderWithListClass" lazyLoad="true"/> > </resultMap> > -TODO add test for 0...1 relationship , ej Worker.Boss > Attached its the files changed to implement "beta" this feature > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sun May 21 12:12:08 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51810 invoked from network); 21 May 2006 12:12:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 May 2006 12:12:08 -0000 Received: (qmail 51612 invoked by uid 500); 21 May 2006 12:12:07 -0000 Delivered-To: [email protected] Received: (qmail 51481 invoked by uid 500); 21 May 2006 12:12:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51470 invoked by uid 99); 21 May 2006 12:12:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 May 2006 05:12:07 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 May 2006 05:12:05 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 880007141F9 for <[email protected]>; Sun, 21 May 2006 12:11:30 +0000 (GMT) Message-ID: <28885684.1148213490554.JavaMail.jira@brutus> Date: Sun, 21 May 2006 12:11:30 +0000 (GMT+00:00) From: "gwbasic (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATIS-226) Support Commons DBUtils ResultSetHandler MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-226?page=comments#action_12412671 ] gwbasic commented on IBATIS-226: -------------------------------- I agree public Object queryWithResultSetHandler(String statementName, Object parameterObject, ResultSetHandler rsh); > Support Commons DBUtils ResultSetHandler > ---------------------------------------- > > Key: IBATIS-226 > URL: http://issues.apache.org/jira/browse/IBATIS-226 > Project: iBatis for Java > Type: New Feature > Components: SQL Maps > Reporter: Paul Benedict > > Sometimes I need total control over the caching mechanism for very critical systems. I need to also guarantee object identity and I can only do this when handling the result set myself. I propose adding an attribute to the <statement> tag (and also <select>, <insert>, <update>) that will specify a subclass of ResultSetHandler so that I may write custom code and decode the ResultSet myself. The ResultSetHandler class is part of the Jakarta Commons DBUtils package. It is extremely useful! > <select id="findMyObject" resultSetHandler="com.company.MyResultSetHandler"> > To prevent excess object creation, IBATIS must reuse the same instance it creates. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon May 22 14:41:15 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34324 invoked from network); 22 May 2006 14:41:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 May 2006 14:41:14 -0000 Received: (qmail 15840 invoked by uid 500); 22 May 2006 14:41:10 -0000 Delivered-To: [email protected] Received: (qmail 15758 invoked by uid 500); 22 May 2006 14:41:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 15736 invoked by uid 99); 22 May 2006 14:41:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 May 2006 07:41:09 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 May 2006 07:41:07 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 8648671423B for <[email protected]>; Mon, 22 May 2006 14:40:30 +0000 (GMT) Message-ID: <30982482.1148308830547.JavaMail.jira@brutus> Date: Mon, 22 May 2006 14:40:30 +0000 (GMT+00:00) From: "Jeff Butler (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (IBATIS-215) BSF for dynamic queries MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-215?page=all ] Jeff Butler closed IBATIS-215: ------------------------------ Resolution: Won't Fix Closed at the request of the original reporter. > BSF for dynamic queries > ----------------------- > > Key: IBATIS-215 > URL: http://issues.apache.org/jira/browse/IBATIS-215 > Project: iBatis for Java > Type: New Feature > Components: SQL Maps > Reporter: Paul Benedict > > While the list of tags to form dynamic queries is suitable, they are limiting because they stop the "dreamer from dreaming." More complex logic cannot be addressed without creating a barrage of new tags. > I propose a new tag called <script> (or something similar) which is backed by the Apache Bean Scripting Framework. The parameter map passed in to the <statement> should load it into the scripting Interpreter object and expose it for the <script> tag so that dynamic Java or JavaScript can return boolean parameters. Obviously there is a performance hit for this and the previous tags would be much simpler for common boolean operations, but the sky is the limit when it comes to what you can compare inside the script. > Example: > <select id="dynamicGetAccountList" cacheModel="resultMap="account-result" > > select * from ACCOUNT > <script><expression>obj.id != null && obj.id > 0 && obj.lastName.startsWith("B")"</expression> > where ACC_ID = #id# and > ACC_NAME = #lastName# > </script> > order by ACC_LAST_NAME > </select> > If BSF is not suitable, please look into OGNL which is popular within Apache Tapestry and is a very good alternative. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon May 22 14:48:09 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37755 invoked from network); 22 May 2006 14:48:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 May 2006 14:48:09 -0000 Received: (qmail 33026 invoked by uid 500); 22 May 2006 14:48:08 -0000 Delivered-To: [email protected] Received: (qmail 32895 invoked by uid 500); 22 May 2006 14:48:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32884 invoked by uid 99); 22 May 2006 14:48:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 May 2006 07:48:08 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 May 2006 07:48:07 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 94EB671423B for <[email protected]>; Mon, 22 May 2006 14:47:30 +0000 (GMT) Message-ID: <28294249.1148309250607.JavaMail.jira@brutus> Date: Mon, 22 May 2006 14:47:30 +0000 (GMT+00:00) From: "Jeff Butler (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATIS-273) Support generics In-Reply-To: <{{EMAIL+PHONE}}> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-273?page=comments#action_12412783 ] Jeff Butler commented on IBATIS-273: ------------------------------------ The best iBATIS will ever do is return List<Object>. When iBATIS is compiled we have know way of knowing what your return types will be. So you'll always have to do this: List<String> locked = (List<String>) getSqlMapClientTemplate().queryForList("Daemon.getLockInfo", null); This works currently and can be nicely encapsulated in a DAO object for use in the rest of your application.. > Support generics > ---------------- > > Key: IBATIS-273 > URL: http://issues.apache.org/jira/browse/IBATIS-273 > Project: iBatis for Java > Type: Improvement > Components: SQL Maps > Reporter: Reuben Firmin > > Hello, > I know that JDK 1.5 support is not intended yet, so this is just a request for the future. It'd be great if you could support generics, particularly from the queryForList object; at the moment I do: > List<String> locked = getSqlMapClientTemplate().queryForList("Daemon.getLockInfo", null); > ...which compiles fine, but isn't strictly valid, since queryForList just returns a List, and not a List<T>. > Thanks -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed May 24 11:19:17 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35760 invoked from network); 24 May 2006 11:19:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 May 2006 11:19:17 -0000 Received: (qmail 20795 invoked by uid 500); 24 May 2006 11:19:17 -0000 Delivered-To: [email protected] Received: (qmail 20657 invoked by uid 500); 24 May 2006 11:19:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 20646 invoked by uid 99); 24 May 2006 11:19:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 May 2006 04:19:16 -0700 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=HTML_MESSAGE,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO hu-out-0102.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 May 2006 04:19:15 -0700 Received: by hu-out-0102.google.com with SMTP id 31so1146949huc for <[email protected]>; Wed, 24 May 2006 04:18:53 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=b4EFa7ZjLx392UXKexuCCgCpXV/ZEd0TYFWblUWP+KjgH1sSKaw3DaRHKFNFMnvhzBThl45qL+raQa5Ft0B4OIU8s1Ur/VBDOY++jckUPtkXc2M7I+G3qb6go0Owk1UEAAMNyTfgEQ5B+4O+yomXFdZN+3gBaKGcF+ibVPjyOOM= Received: by 161.129.204.104 with SMTP id i10mr936227pyl; Wed, 24 May 2006 04:18:52 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 24 May 2006 04:18:52 -0700 (PDT) Message-ID: <[email protected]> Date: Wed, 24 May 2006 12:18:52 +0100 From: "Amit Kushwaha" <[email protected]> To: "[email protected]" <[email protected]> Subject: Optimize fetches for Stored Procedures MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_158705_25904270.1148469532551" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_158705_25904270.1148469532551 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi All, A while back posted this on the user list, http://[email protected]/msg04286.html Unfortunately, there havent been any replies. So any help would be appreciated. Thanks, Amit Kushwaha =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ------=_Part_158705_25904270.1148469532551 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi All,<br> <br> A while back posted this on the user list,<br> <br> <a href=3D"http://[email protected]/msg04286= .html">http://[email protected]/msg04286.htm= l</a><br> <br> Unfortunately, there havent been any replies. So any help would be <br> appreciated.<br> <br> Thanks,<br> <br> Amit Kushwaha<br> <br> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br> ------=_Part_158705_25904270.1148469532551-- From [email protected] Wed May 24 14:20:17 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1338 invoked from network); 24 May 2006 14:20:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 May 2006 14:20:16 -0000 Received: (qmail 89627 invoked by uid 500); 24 May 2006 14:20:14 -0000 Delivered-To: [email protected] Received: (qmail 89546 invoked by uid 500); 24 May 2006 14:20:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 89350 invoked by uid 99); 24 May 2006 14:20:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 May 2006 07:20:12 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 May 2006 07:20:11 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id CF7447141F9 for <[email protected]>; Wed, 24 May 2006 14:19:30 +0000 (GMT) Message-ID: <8752449.1148480370846.JavaMail.jira@brutus> Date: Wed, 24 May 2006 14:19:30 +0000 (GMT+00:00) From: "cristian manea (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (IBATISNET-160) Decrypting layer in order to use crypted xml config files; tool to encrypt the xml files; embeded xml files MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Decrypting layer in order to use crypted xml config files; tool to encrypt the xml files; embeded xml files ----------------------------------------------------------------------------------------------------------- Key: IBATISNET-160 URL: http://issues.apache.org/jira/browse/IBATISNET-160 Project: iBatis for .NET Type: Wish Components: DataMapper Versions: DataMapper 2.0, DataMapper 1.3, DataMapper 1.5 Environment: Windows-Linux(Mono), although applies to the Java version Reporter: cristian manea It would be interesting to be able to use encrypted XML configuration files, the configuration loader should be able to decrypt that file before deserializing. Some of the benefits would be: - avoid that someone not informed plays with your mapping, putting your application in jeopardy; of course, a malfunction would appear, but nobody would admit that has done something (a common enterprise scenario...unfortunately) - avoid exposing your persistence logic to others (as iBatis could be used by some not open-source software) Is there any workaround that could be used (an embeded resource instead of a file on file-system, ecc)? I've seen in the sdk help a function called "public static XmlDocument GetEmbeddedResourceAsXmlDocument(string resource);", but with no further explaination. Regards. Cristian Manea -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed May 24 15:50:13 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44759 invoked from network); 24 May 2006 15:50:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 May 2006 15:50:13 -0000 Received: (qmail 77840 invoked by uid 500); 24 May 2006 15:50:12 -0000 Delivered-To: [email protected] Received: (qmail 77815 invoked by uid 500); 24 May 2006 15:50:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 77804 invoked by uid 99); 24 May 2006 15:50:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 May 2006 08:50:12 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 May 2006 08:50:11 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 01B1A7141EE for <[email protected]>; Wed, 24 May 2006 15:49:31 +0000 (GMT) Message-ID: <23060836.1148485771004.JavaMail.jira@brutus> Date: Wed, 24 May 2006 15:49:31 +0000 (GMT+00:00) From: "Dan Syrstad (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATIS-274) queryForPaginatedList doesn't play well with groupBy attribute of resultMap (N+1 selects solution) In-Reply-To: <1112708349.1141745258976.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-274?page=comments#action_12413139 ] Dan Syrstad commented on IBATIS-274: ------------------------------------ I'm having the same problem with N+1 selects (groupBy). I believe that the desired behavior would be that N (N=pageSize) top-level objects are returned and each object contains the proper number of nested objects regardless of N. I can't see how any other behavior would be acceptable. The object graph is currently inconsistent depending on the page size, which is a UI setting. How the user wishes to view the objects should not affect the proper construction of the objects. I think Sven's comment about the behavoir being "undefined" may be true simply because there's no javadoc on PaginatedDataList (!). Also, Sven describes the technical problem, which should be fixed. This feature is exactly what I need, but since it does not work properly with "groupBy", I'll have to revert to queryForList(). Here's my mapping: <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://www.ibatis.com/dtd/sql-map-2.dtd"> <sqlMap namespace="Load"> <resultMap id="LoadMap" class="com.kingcompanies.usps.fast.dao.Load" groupBy="loadNum"> <result property="loadNum" column="loadNum" /> <result property="carrierName" column="carrierName" /> <result property="carrierCode" column="carrierCode" /> <result property="departureDate" column="departureDate" /> <result property="trailerNum" column="trailerNum" /> <result property="grossWeight" column="grossWeight" /> <result property="stops" resultMap="Load.StopMap" /> </resultMap> <resultMap id="StopMap" class="com.kingcompanies.usps.fast.dao.Stop" groupBy="stopId" > <result property="stopId" column="stopId" /> <result property="stopNum" column="stopNum" /> <result property="stopDate" column="stopDate" /> <result property="stopTime" column="stopTime" /> <result property="consigneeName" column="consigneeName" /> <result property="consigneeEntryType" column="consigneeEntryType" /> <result property="shipments" resultMap="Load.ShipmentMap" /> <result property="appointment.apptNum" column="apptNum" /> <result property="appointment.apptDateTime" column="apptDateTime" /> <result property="appointment.apptStatus" column="apptStatus" /> <result property="appointment.truckArrivedDateTime" column="truckArrivedDateTime" /> <result property="appointment.unloadingStartedDateTime" column="unloadingStartedDateTime" /> <result property="appointment.unloadingCompletedDateTime" column="unloadingCompletedDateTime" /> </resultMap> <resultMap id="ShipmentMap" class="com.kingcompanies.usps.fast.dao.Shipment"> <result property="proNum" column="proNum" /> <result property="description" column="description" /> <result property="loadClass" column="loadClass" /> <result property="mailType" column="mailType" /> <result property="jobNum" column="jobNum" /> <result property="jobName" column="jobName" /> <result property="quantity" column="quantity" /> <result property="uom" column="uom" /> <result property="shipmentWeight" column="shipmentWeight" /> <result property="pieces" column="pieces" /> <result property="deliveryDate" column="deliveryDate" /> </resultMap> <select id="getLoads" parameterClass="com.kingcompanies.usps.fast.dao.LoadQueryParams" resultMap="LoadMap"> SELECT Loads.LOAD_NUM loadNum, Loads.Carrier_Name carrierName, Loads.CARR_CODE carrierCode, Loads.Departure_Date departureDate, tblAvailablePros.fldTrailerNum trailerNum, Loads.Gross_Weight grossWeight, tblAvailStopCons.fldLoadStopId stopId, tblAvailStopCons.fldStopNum stopNum, tblAvailStopCons.fldApptDate stopDate, tblAvailStopCons.fldApptTime stopTime, Consignees.CONSIGNEE consigneeName, Consignees.fldEntryType consigneeEntryType, tblAvailablePros.fldProNum proNum, tblAvailablePros.fldComments description, tblAvailablePros.fldClass loadClass, tblAvailablePros.fldMailType mailType, tblAvailablePros.fldJobNum jobNum, tblAvailablePros.fldJobName jobName, tblAvailablePros.fldQuan quantity, tblAvailablePros.fldUOM uom, tblAvailablePros.fldWeight shipmentWeight, tblAvailablePros.fldPieces pieces, tblAvailablePros.fldDelDate deliveryDate, tblUSPSAppointments.fldApptNum apptNum, tblUSPSAppointments.fldApptDateTime apptDateTime, tblUSPSAppointments.fldStatus apptStatus, tblUSPSAppointments.fldTruckArrived truckArrivedDateTime, tblUSPSAppointments.fldUnloadingStarted unloadingStartedDateTime, tblUSPSAppointments.fldUnloadingCompleted unloadingCompletedDateTime FROM Loads INNER JOIN tblAvailStopCons ON Loads.LOAD_NUM = tblAvailStopCons.fldLoadNum LEFT OUTER JOIN tblUSPSAppointments ON Loads.LOAD_NUM = tblUSPSAppointments.fldLoadNum AND tblAvailStopCons.fldConsId = tblUSPSAppointments.fldConsId INNER JOIN tblAvailablePros ON Loads.LOAD_NUM = tblAvailablePros.fldLoadNum AND tblAvailStopCons.fldStopNum = tblAvailablePros.fldStopNum INNER JOIN Consignees ON tblAvailStopCons.fldConsId = Consignees.Cons_ID WHERE (Consignees.fldEntryType = 'SCF' OR Consignees.fldEntryType = 'BMC' OR Consignees.fldEntryType = 'ASF') AND Loads.Gross_Weight BETWEEN #startWeight# AND #endWeight# AND Loads.Departure_Date BETWEEN #startDate# AND #endDate# AND Loads.CARR_CODE IS NOT NULL AND tblAvailStopCons.fldApptDate IS NOT NULL AND tblAvailStopCons.fldApptTime IS NOT NULL AND ( (#wantScheduled#=1 AND tblUSPSAppointments.fldApptDateTime IS NOT NULL) OR (#wantUnscheduled#=1 AND tblUSPSAppointments.fldApptDateTime IS NULL) OR (#wantClosedOut#=1 AND tblUSPSAppointments.fldUnloadingCompleted IS NOT NULL) ) ORDER BY Loads.Departure_Date, Loads.LOAD_NUM, tblAvailStopCons.fldStopNum </select> </sqlMap> > queryForPaginatedList doesn't play well with groupBy attribute of resultMap (N+1 selects solution) > --------------------------------------------------------------------------------------------------- > > Key: IBATIS-274 > URL: http://issues.apache.org/jira/browse/IBATIS-274 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Versions: 2.1.7 > Environment: WinXP Pro, WebLogic 8.1, JDK 1.4.2_05, Spring 1.2.7 > Reporter: Tim Haley > > I have implemented the N+1 solution using the groupBy attribute of the resultMap. > When this is called using queryForList() it works as expected; I get two BatchResults objects, the first contains a list of 20 ProcessingResult objects and the second contains a list of 19 ProcessingResult objects. > When called with queryForPaginatedList() and a page size of 10, I only get the first BatchResults object, which does contain the list of 20 ProcessingResult objects. > When called with queryForPaginatedList() and a page size of 19, I only get both BatchResults objects, the first contains a list of 20 ProcessingResult objects and the second contains a list of 18 ProcessingResult objects. (total of 38, 2x the page size) > When called with queryForPaginatedList() and a page size of 18, I only get both BatchResults objects, the first contains a list of 20 ProcessingResult objects and the second contains a list of 16 ProcessingResult objects. (total of 36, 2x the page size) > When called with queryForPaginatedList() and a page size of 17, I only get both BatchResults objects, the first contains a list of 20 ProcessingResult objects and the second contains a list of 14 ProcessingResult objects. (total of 34, 2x the page size) > See details of mapping and method calls below: > <resultMap id="BatchResultMap" class="BatchResult" groupBy="processingSchedule.processingKey"> > <result property="processingSchedule.processingKey" column="PROCESSING_KEY" javaType="int"/> > <result property="processingSchedule.processingDate" column="PROCESS_DATE" javaType="date"/> > <result property="processingSchedule.printDate" column="PRINT_DATE" javaType="date"/> > <result property="processingSchedule.processType.processTypeKey" column="PROCESS_TYPE_KEY" javaType="int"/> > <result property="processingSchedule.processType.description" column="PROCESS_TYPE_DESCRIPTION" javaType="string"/> > <result property="processingResults" resultMap="Processing.ProcessResultMap"/> > </resultMap> > <resultMap id="ProcessResultMap" class="ProcessingResult"> > <!--<result property="processingKey" column="PR_PROCESSING_KEY"/>--> > <result property="applicationKey" column="APPLICATION_KEY" javaType="int"/> > <result property="applicationStatusKey" column="APPLICATION_STATUS_KEY" javaType="int"/> > <result property="applicationStatusString" column="APPLICATION_STATUS_DESCRIPTION" javaType="string"/> > <result property="testResults" column="{applicationKey=APPLICATION_KEY, processingKey=PR_PROCESSING_KEY}" > select="getTestResultsForProcessingResult"/> > <result property="application" column="APPLICATION_KEY" javaType="int" > select="loadApplicationByPrimaryKey"/> > <result property="processing" column="PR_PROCESSING_KEY" javaType="int" > select="loadProcessingSchedule"/> > </resultMap> > <select id="loadBatchResultsForDateRange" parameterClass="DateRange" resultMap="BatchResultMap"> > select > PRO.PROCESSING_KEY, > PRO.PROCESS_DATE, > PRO.PRINT_DATE, > PRO.PROCESS_TYPE_KEY, > PT.DESCRIPTION as PROCESS_TYPE_DESCRIPTION, > PR.APPLICATION_KEY, > ASCD.APPLICATION_STATUS_KEY, > ASCD.DESCRIPTION as APPLICATION_STATUS_DESCRIPTION, > PR.PROCESSING_KEY as PR_PROCESSING_KEY > from > WM.USTP_PROCESSING PRO > join WM.USTP_PROCESS_TYPE_CD PT on PRO.PROCESS_TYPE_KEY = PT.PROCESS_TYPE_KEY > left outer join WM.USTP_PROCESSING_RESULT PR on PR.PROCESSING_KEY = PRO.PROCESSING_KEY > left outer join WM.USTP_APPLICATION_STATUS_CD ASCD on ASCD.APPLICATION_STATUS_KEY = PR.APPLICATION_STATUS_KEY > where > PRO.PROCESS_DATE between #start# and (#end# + 1) > order by > PRO.PROCESSING_KEY desc > </select> > public List loadByProcessingDateRange(DateRange aDateRange) > throws DataAccessException > { > return getSqlMapClientTemplate().queryForList("loadBatchResultsForDateRange", aDateRange); > } > public PaginatedList loadByProcessingDateRange(DateRange aDateRange, > int aPageSize) > throws DataAccessException > { > return getSqlMapClientTemplate().queryForPaginatedList("loadBatchResultsForDateRange", > aDateRange, aPageSize); > } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu May 25 10:32:54 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15626 invoked from network); 25 May 2006 10:32:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 May 2006 10:32:53 -0000 Received: (qmail 82078 invoked by uid 500); 25 May 2006 10:32:53 -0000 Delivered-To: [email protected] Received: (qmail 82063 invoked by uid 500); 25 May 2006 10:32:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 82052 invoked by uid 99); 25 May 2006 10:32:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 03:32:53 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nf-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 03:32:52 -0700 Received: by nf-out-0910.google.com with SMTP id b2so140328nfe for <[email protected]>; Thu, 25 May 2006 03:32:28 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; b=m0nbWGTXtvWL+aAgcUO6iIxQIFvnaL4WFKRF65VoYJVSB93FdpzCB9pn6XeVRjNr1PzlaFDl+mjkYmoEhu6b191S6iQVWxvHzdWswOFoRGFrXua2Yt/Y9urnuK2F+H0NWZ6T6Q8CfHGgJdS8IGWL9dn9z7UXn4f3WLvzHLrZwOs= Received: by 161.129.204.104 with SMTP id k18mr6504450nfh; Thu, 25 May 2006 03:32:28 -0700 (PDT) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.gmail.com with ESMTP id m16sm8787340nfc.2161.129.204.104.32.28; Thu, 25 May 2006 03:32:28 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v624) Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed To: [email protected] From: Aitor Imaz <[email protected]> Subject: RBATIS Date: Thu, 25 May 2006 12:32:24 +0200 X-Mailer: Apple Mail (2.624) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I'm not sure if this is the right place to ask this, but I've noticed there's some work in progress on a Ruby port of iBATIS, as well as some kind of module for Rails. I'm currently teaching myself Ruby/Rails and I'm not too convinced of the way Rails handles SQL on Ruby files. Being an iBATIS enthusiast, that made me wonder how iBATIS could be translated to Rails, but following Ruby idioms. I was pleasantly surprised when I discovered that something was in the works (including a Rails JPetStore). What are the plans for RBATIS? What kind of API will it have and how will it compare to using plain SQL on Rails? Thanks, Aitor From [email protected] Thu May 25 10:39:28 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16949 invoked from network); 25 May 2006 10:39:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 May 2006 10:39:28 -0000 Received: (qmail 90111 invoked by uid 500); 25 May 2006 10:39:28 -0000 Delivered-To: [email protected] Received: (qmail 89974 invoked by uid 500); 25 May 2006 10:39:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 89963 invoked by uid 99); 25 May 2006 10:39:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 03:39:27 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO py-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 03:39:26 -0700 Received: by py-out-1112.google.com with SMTP id z59so2638210pyg for <[email protected]>; Thu, 25 May 2006 03:39:05 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=kQg1GfHgSl574YInpI8Fone455f76G3R7/PXfEE4IUn66J8WJsGMqwpTEliqABwObS4IklZIsoBkSn+s2bakh2fWeSTq0kjykppALuimhNmGg48VswQGrNy3/4Gj7fNpkHH1y8YTLibtZVO8Lbl/3bPaYJaGrJ1xMPZYVQ7Zobs= Received: by 161.129.204.104 with SMTP id t12mr2326015pyk; Thu, 25 May 2006 03:39:05 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 25 May 2006 03:39:05 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 25 May 2006 12:39:05 +0200 From: "Gilles Bayon" <[email protected]> To: [email protected] Subject: Re: RBATIS In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_89655_10336178.1148553545834" References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_89655_10336178.1148553545834 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline You could find some info here http://jutopia.tirsen.com/articles/2006/05/23/ibatis-for-ruby-now-in-apache= -subversion-repositories -Gilles On 5/25/06, Aitor Imaz <[email protected]> wrote: > > Hi, > > I'm not sure if this is the right place to ask this, but I've noticed > there's some work in progress on a Ruby port of iBATIS, as well as some > kind of module for Rails. I'm currently teaching myself Ruby/Rails and > I'm not too convinced of the way Rails handles SQL on Ruby files. Being > an iBATIS enthusiast, that made me wonder how iBATIS could be > translated to Rails, but following Ruby idioms. I was pleasantly > surprised when I discovered that something was in the works (including > a Rails JPetStore). > > What are the plans for RBATIS? What kind of API will it have and how > will it compare to using plain SQL on Rails? > > Thanks, > Aitor > > ------=_Part_89655_10336178.1148553545834 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline <div>You could find some info here</div> <div><a href=3D"http://jutopia.tirsen.com/articles/2006/05/23/ibatis-for-ru= by-now-in-apache-subversion-repositories">http://jutopia.tirsen.com/article= s/2006/05/23/ibatis-for-ruby-now-in-apache-subversion-repositories</a><br> <br>-Gilles</div> <div>&nbsp;</div> <div><span class=3D"gmail_quote">On 5/25/06, <b class=3D"gmail_sendername">= Aitor Imaz</b> &lt;<a href=3D"mailto:[email protected]">aitor.imaz@gmail= .com</a>&gt; wrote:</span> <blockquote class=3D"gmail_quote" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0= px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>I'm not sure if this = is the right place to ask this, but I've noticed<br>there's some work in pr= ogress on a Ruby port of iBATIS, as well as some <br>kind of module for Rails. I'm currently teaching myself Ruby/Rails and<= br>I'm not too convinced of the way Rails handles SQL on Ruby files. Being<= br>an iBATIS enthusiast, that made me wonder how iBATIS could be<br>transla= ted to Rails, but following Ruby idioms. I was pleasantly <br>surprised when I discovered that something was in the works (including<= br>a Rails JPetStore).<br><br>What are the plans for RBATIS? What kind of A= PI will it have and how<br>will it compare to using plain SQL on Rails? <br><br>Thanks,<br>Aitor<br><br></blockquote></div><br> ------=_Part_89655_10336178.1148553545834-- From [email protected] Thu May 25 10:59:14 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20915 invoked from network); 25 May 2006 10:59:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 May 2006 10:59:13 -0000 Received: (qmail 15039 invoked by uid 500); 25 May 2006 10:59:13 -0000 Delivered-To: [email protected] Received: (qmail 15018 invoked by uid 500); 25 May 2006 10:59:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 15002 invoked by uid 99); 25 May 2006 10:59:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 03:59:12 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 03:59:12 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 930967141FA for <[email protected]>; Thu, 25 May 2006 10:58:30 +0000 (GMT) Message-ID: <8010456.1148554710599.JavaMail.jira@brutus> Date: Thu, 25 May 2006 10:58:30 +0000 (GMT+00:00) From: "Gilles Bayon (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATISNET-160) Decrypting layer in order to use crypted xml config files; tool to encrypt the xml files; embeded xml files In-Reply-To: <8752449.1148480370846.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATISNET-160?page=comments#action_12413241 ] Gilles Bayon commented on IBATISNET-160: ---------------------------------------- iBATIS already support your need. You can embedd all the configuration files as dll ressource. ============================ Documentation extract (pdf version) page 64 "161.129.204.104. The <sqlMap> Element ... Example 4.3. Specifying sqlMap locations ... <!-- Embedded resources using [extendednamespace.]filename, assemblyname --> <sqlMaps> <sqlMap embedded="Maps.Account.xml, MyApp.Data"/> <sqlMap embedded="Maps.Category.xml, MyApp.Data"/> <sqlMap embedded="Maps.Product.xml, MyApp.Data"/> </sqlMaps> ============================= For an usage, look at the NUnit tests (ConfigureTest) that will show all the possibilities. There is no plan to incorporate encrypted files. -Gilles > Decrypting layer in order to use crypted xml config files; tool to encrypt the xml files; embeded xml files > ----------------------------------------------------------------------------------------------------------- > > Key: IBATISNET-160 > URL: http://issues.apache.org/jira/browse/IBATISNET-160 > Project: iBatis for .NET > Type: Wish > Components: DataMapper > Versions: DataMapper 2.0, DataMapper 1.3, DataMapper 1.5 > Environment: Windows-Linux(Mono), although applies to the Java version > Reporter: cristian manea > > It would be interesting to be able to use encrypted XML configuration files, the configuration loader should be able to decrypt that file before deserializing. > Some of the benefits would be: > - avoid that someone not informed plays with your mapping, putting your application in jeopardy; of course, a malfunction would appear, but nobody would admit that has done something (a common enterprise scenario...unfortunately) > - avoid exposing your persistence logic to others (as iBatis could be used by some not open-source software) > Is there any workaround that could be used (an embeded resource instead of a file on file-system, ecc)? I've seen in the sdk help a function called "public static XmlDocument GetEmbeddedResourceAsXmlDocument(string resource);", but with no further explaination. > Regards. > Cristian Manea -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu May 25 11:41:06 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33902 invoked from network); 25 May 2006 11:41:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 May 2006 11:41:06 -0000 Received: (qmail 59294 invoked by uid 500); 25 May 2006 11:41:06 -0000 Delivered-To: [email protected] Received: (qmail 59271 invoked by uid 500); 25 May 2006 11:41:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 59260 invoked by uid 99); 25 May 2006 11:41:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 04:41:05 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nz-out-0102.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 04:41:05 -0700 Received: by nz-out-0102.google.com with SMTP id r28so1845882nza for <[email protected]>; Thu, 25 May 2006 04:40:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=rt7R1eSPTFMpH4uZMDE0n94BwcrOaojg9kZHRXDYfozSaoqbMSSkvgNrAUC+acyqzHnKkDbZL7HeB7E54F3neSquV38wOcRnjHTOUwPZyhxXiV4xsLE3defSbC9yGnIgRZKhFNl5ijzuOPdovosHeO75IcXr6wQp1Mhg6GpwcaA= Received: by 161.129.204.104 with SMTP id b12mr3734636qbl; Thu, 25 May 2006 04:40:44 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 25 May 2006 04:40:44 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 25 May 2006 21:40:44 +1000 From: "Jon Tirsen" <[email protected]> Sender: [email protected] To: [email protected] Subject: Re: RBATIS In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> X-Google-Sender-Auth: b0b922fce7fa7f84 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N There's not a lot of documentation around so far, but reading the code in the demo should explain a lot. The API will be loosely inspired by iBatis but will be use a lot of the advantages offered by the Rails platform. On 5/25/06, Aitor Imaz <[email protected]> wrote: > Hi, > > I'm not sure if this is the right place to ask this, but I've noticed > there's some work in progress on a Ruby port of iBATIS, as well as some > kind of module for Rails. I'm currently teaching myself Ruby/Rails and > I'm not too convinced of the way Rails handles SQL on Ruby files. Being > an iBATIS enthusiast, that made me wonder how iBATIS could be > translated to Rails, but following Ruby idioms. I was pleasantly > surprised when I discovered that something was in the works (including > a Rails JPetStore). > > What are the plans for RBATIS? What kind of API will it have and how > will it compare to using plain SQL on Rails? > > Thanks, > Aitor > > From [email protected] Thu May 25 12:35:54 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49280 invoked from network); 25 May 2006 12:35:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 May 2006 12:35:54 -0000 Received: (qmail 20530 invoked by uid 500); 25 May 2006 12:35:54 -0000 Delivered-To: [email protected] Received: (qmail 20508 invoked by uid 500); 25 May 2006 12:35:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 20497 invoked by uid 99); 25 May 2006 12:35:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 05:35:54 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 05:35:53 -0700 Received: by ug-out-1314.google.com with SMTP id k3so2197802ugf for <[email protected]>; Thu, 25 May 2006 05:35:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FsZpkP42yR545xT7IFy52ef0UHxdyL+36HCLPsaGZ9UDo+0VCOA79QYLMXUqDhBFFw5J8ML9LKxRocrb4fS4jCqrCfNg9HCG2+sZw882ojENKw8GKclsb3SDkYvMBJSu/uYuvaBli5Muq6fbauInGpH54TYz5PHQ84mw4oS1gKY= Received: by 161.129.204.104 with SMTP id o20mr533284ugg; Thu, 25 May 2006 05:35:31 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 25 May 2006 05:35:31 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 25 May 2006 14:35:31 +0200 From: "Aitor Imaz" <[email protected]> To: [email protected] Subject: Re: RBATIS In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks. It looks like much more work than ActiveRecord, although it can make your life easier when you're not in control of the database schema. It's like iBATIS vs. ORM, really. Definitely worth trying. Aitor From [email protected] Thu May 25 21:33:13 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41774 invoked from network); 25 May 2006 21:33:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 May 2006 21:33:13 -0000 Received: (qmail 53875 invoked by uid 500); 25 May 2006 21:33:13 -0000 Delivered-To: [email protected] Received: (qmail 53849 invoked by uid 500); 25 May 2006 21:33:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 53838 invoked by uid 99); 25 May 2006 21:33:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 14:33:12 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 14:33:12 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D2F6171423B for <[email protected]>; Thu, 25 May 2006 21:32:29 +0000 (GMT) Message-ID: <23720520.1148592749861.JavaMail.jira@brutus> Date: Thu, 25 May 2006 21:32:29 +0000 (GMT+00:00) From: "adamb (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (IBATIS-297) iBATIS doesn't remap sql fully MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N iBATIS doesn't remap sql fully ------------------------------ Key: IBATIS-297 URL: http://issues.apache.org/jira/browse/IBATIS-297 Project: iBatis for Java Type: Bug Components: SQL Maps Versions: 2.1.5 Reporter: adamb iBATIS doesn't remap parameters. If I have statement with remapResults="true": select * from mytable where $dynamicWhereClause$ and pass in the following two parameters: dynamicWhereClause #key#='abc' key java.lang.String="abc" Then the remap puts the #key# in the sql directly, rather than rechecking the statement to determine what the parameters will be, so gives the error message: java.sql.SQLException: ORA-00911: invalid character because it hasn't recognised the new hash parameters. Version tested on: iBATIS 2.1.5 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu May 25 22:38:24 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55241 invoked from network); 25 May 2006 22:38:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 May 2006 22:38:24 -0000 Received: (qmail 47468 invoked by uid 500); 25 May 2006 22:38:14 -0000 Delivered-To: [email protected] Received: (qmail 47438 invoked by uid 500); 25 May 2006 22:38:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 47427 invoked by uid 99); 25 May 2006 22:38:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 15:38:13 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 15:38:12 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 9D00C71423B for <[email protected]>; Thu, 25 May 2006 22:37:30 +0000 (GMT) Message-ID: <2765768.1148596650640.JavaMail.jira@brutus> Date: Thu, 25 May 2006 22:37:30 +0000 (GMT+00:00) From: "Jeff Butler (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATIS-297) iBATIS doesn't remap sql fully In-Reply-To: <23720520.1148592749861.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-297?page=comments#action_12413311 ] Jeff Butler commented on IBATIS-297: ------------------------------------ This is by design. When you use the dollar sign delimiters, iBATIS passes exactly what you specify. iBATIS has no provision for re-parsing the statement. If we really wanted to support this (we don't), then you could easily invent situations where there were many levels of parsing before the statement was actually executed. I think this would be a bad idea - could lead to very obfuscated code. In your example, you could make this work the way you want by doing this: select * from mytable where $condition$ #value# Then specify map values: condition: java.lang.String="someField =" value: java.lang.String="abc" > iBATIS doesn't remap sql fully > ------------------------------ > > Key: IBATIS-297 > URL: http://issues.apache.org/jira/browse/IBATIS-297 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Versions: 2.1.5 > Reporter: adamb > > iBATIS doesn't remap parameters. > If I have statement with remapResults="true": > select * from mytable where $dynamicWhereClause$ > and pass in the following two parameters: > dynamicWhereClause #key#='abc' > key java.lang.String="abc" > Then the remap puts the #key# in the sql directly, rather than rechecking the statement to determine what the parameters will be, so gives the error > message: > java.sql.SQLException: ORA-00911: invalid character > because it hasn't recognised the new hash parameters. > Version tested on: > iBATIS 2.1.5 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu May 25 22:44:14 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56946 invoked from network); 25 May 2006 22:44:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 May 2006 22:44:14 -0000 Received: (qmail 56965 invoked by uid 500); 25 May 2006 22:44:14 -0000 Delivered-To: [email protected] Received: (qmail 56829 invoked by uid 500); 25 May 2006 22:44:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 56815 invoked by uid 99); 25 May 2006 22:44:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 15:44:13 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 15:44:13 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 9DFDA71423B for <[email protected]>; Thu, 25 May 2006 22:43:30 +0000 (GMT) Message-ID: <24568673.1148597010644.JavaMail.jira@brutus> Date: Thu, 25 May 2006 22:43:30 +0000 (GMT+00:00) From: "adamb (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATIS-297) iBATIS doesn't remap sql fully In-Reply-To: <23720520.1148592749861.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-297?page=comments#action_12413312 ] adamb commented on IBATIS-297: ------------------------------ Unfortunately, the number of clauses is dynamic, so the suggested solution won't work. Our current solution is to insert the parameter string into the query ourselves, but this means that we get a large performance loss by not having parameterised queries, so the DB has to re-prepare each query. As to the remapping being nested, I was expecting that the $$ remapping only happened once, but the ## remapping happened after the $$ remapping (i.e. no infinite recursion possible). > iBATIS doesn't remap sql fully > ------------------------------ > > Key: IBATIS-297 > URL: http://issues.apache.org/jira/browse/IBATIS-297 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Versions: 2.1.5 > Reporter: adamb > > iBATIS doesn't remap parameters. > If I have statement with remapResults="true": > select * from mytable where $dynamicWhereClause$ > and pass in the following two parameters: > dynamicWhereClause #key#='abc' > key java.lang.String="abc" > Then the remap puts the #key# in the sql directly, rather than rechecking the statement to determine what the parameters will be, so gives the error > message: > java.sql.SQLException: ORA-00911: invalid character > because it hasn't recognised the new hash parameters. > Version tested on: > iBATIS 2.1.5 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu May 25 23:27:14 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73461 invoked from network); 25 May 2006 23:27:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 May 2006 23:27:14 -0000 Received: (qmail 48392 invoked by uid 500); 25 May 2006 23:27:13 -0000 Delivered-To: [email protected] Received: (qmail 48373 invoked by uid 500); 25 May 2006 23:27:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48360 invoked by uid 99); 25 May 2006 23:27:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 16:27:13 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 16:27:12 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 8CE0D71423B for <[email protected]>; Thu, 25 May 2006 23:26:30 +0000 (GMT) Message-ID: <10495569.1148599590574.JavaMail.jira@brutus> Date: Thu, 25 May 2006 23:26:30 +0000 (GMT+00:00) From: "Jeff Butler (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATIS-297) iBATIS doesn't remap sql fully In-Reply-To: <23720520.1148592749861.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-297?page=comments#action_12413317 ] Jeff Butler commented on IBATIS-297: ------------------------------------ If the number of conditions is dynamic, you can also use the <iterate> tag like this: select # from myTable <iterate prepend="where" conjunction="and" property="conditions"> $conditions[].condition$ #conditions[].value# </iterate> Where "conditions" is a List property of your parameter object, and the list contains Maps setup like my previous comment. You can make more elaborate expressions than this using nested iterate tags (which is available in SVN now, but not released until iBATIS 2.2.0). There is an example of this in SVN in the tests for the nested iterate tags. Send me a note if you need a link. BTW - The next version of Abator will use this idea to allow you to generate a virtually unlimited dynamic where clause. > iBATIS doesn't remap sql fully > ------------------------------ > > Key: IBATIS-297 > URL: http://issues.apache.org/jira/browse/IBATIS-297 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Versions: 2.1.5 > Reporter: adamb > > iBATIS doesn't remap parameters. > If I have statement with remapResults="true": > select * from mytable where $dynamicWhereClause$ > and pass in the following two parameters: > dynamicWhereClause #key#='abc' > key java.lang.String="abc" > Then the remap puts the #key# in the sql directly, rather than rechecking the statement to determine what the parameters will be, so gives the error > message: > java.sql.SQLException: ORA-00911: invalid character > because it hasn't recognised the new hash parameters. > Version tested on: > iBATIS 2.1.5 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu May 25 23:53:14 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77134 invoked from network); 25 May 2006 23:53:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 May 2006 23:53:14 -0000 Received: (qmail 69779 invoked by uid 500); 25 May 2006 23:53:13 -0000 Delivered-To: [email protected] Received: (qmail 69760 invoked by uid 500); 25 May 2006 23:53:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 69749 invoked by uid 99); 25 May 2006 23:53:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 16:53:13 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 16:53:13 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 92DEB71423B for <[email protected]>; Thu, 25 May 2006 23:52:30 +0000 (GMT) Message-ID: <5042413.1148601150598.JavaMail.jira@brutus> Date: Thu, 25 May 2006 23:52:30 +0000 (GMT+00:00) From: "adamb (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATIS-297) iBATIS doesn't remap sql fully In-Reply-To: <23720520.1148592749861.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-297?page=comments#action_12413318 ] adamb commented on IBATIS-297: ------------------------------ How can that be used to implement, for instance, a condition that is an existence test that contains multiple parameters > iBATIS doesn't remap sql fully > ------------------------------ > > Key: IBATIS-297 > URL: http://issues.apache.org/jira/browse/IBATIS-297 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Versions: 2.1.5 > Reporter: adamb > > iBATIS doesn't remap parameters. > If I have statement with remapResults="true": > select * from mytable where $dynamicWhereClause$ > and pass in the following two parameters: > dynamicWhereClause #key#='abc' > key java.lang.String="abc" > Then the remap puts the #key# in the sql directly, rather than rechecking the statement to determine what the parameters will be, so gives the error > message: > java.sql.SQLException: ORA-00911: invalid character > because it hasn't recognised the new hash parameters. > Version tested on: > iBATIS 2.1.5 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Fri May 26 00:12:14 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83151 invoked from network); 26 May 2006 00:12:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 May 2006 00:12:14 -0000 Received: (qmail 88797 invoked by uid 500); 26 May 2006 00:12:14 -0000 Delivered-To: [email protected] Received: (qmail 88661 invoked by uid 500); 26 May 2006 00:12:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 88650 invoked by uid 99); 26 May 2006 00:12:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 17:12:13 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 17:12:13 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A471D7141E0 for <[email protected]>; Fri, 26 May 2006 00:11:30 +0000 (GMT) Message-ID: <25176730.1148602290613.JavaMail.jira@brutus> Date: Fri, 26 May 2006 00:11:30 +0000 (GMT+00:00) From: "Jeff Butler (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATIS-297) iBATIS doesn't remap sql fully In-Reply-To: <23720520.1148592749861.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-297?page=comments#action_12413320 ] Jeff Butler commented on IBATIS-297: ------------------------------------ This can get complex depending on how you lay out your parameter object. But I think with the new nested iterate support you should be able to achieve just about anything you need. Here's one way to do it with a nested iterate (this would work now with a build of iBATIS from source in SVN, it will be released with iBATIS 2.2.0): List values = new ArrayList(); values.add("1"); values.add("2"); values.add("3"); Map condition = new HashMap(); map.put("condition", "someField in"); map.put("value", values); List conditions = new ArrayList(); conditions.add(condition); Map parms = new HashMap(); parms.put("conditions", conditions); queryForList("statementId", parms); select * from mytable <iterate prepend="where" conjunction="and" property="conditions"> $conditions[].condition$ <iterate open="(" close=")" conjunction="," property="conditions[].value"> #conditions[].value[]# <iterate> </iterate> This should generate: select * from myTable where someField in("1", "2", "3") Again, this won't work with an official iBATIS release until iBATIS 2.2.0 - but you could check the source out of SVN and build it now. > iBATIS doesn't remap sql fully > ------------------------------ > > Key: IBATIS-297 > URL: http://issues.apache.org/jira/browse/IBATIS-297 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Versions: 2.1.5 > Reporter: adamb > > iBATIS doesn't remap parameters. > If I have statement with remapResults="true": > select * from mytable where $dynamicWhereClause$ > and pass in the following two parameters: > dynamicWhereClause #key#='abc' > key java.lang.String="abc" > Then the remap puts the #key# in the sql directly, rather than rechecking the statement to determine what the parameters will be, so gives the error > message: > java.sql.SQLException: ORA-00911: invalid character > because it hasn't recognised the new hash parameters. > Version tested on: > iBATIS 2.1.5 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Fri May 26 21:50:15 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73833 invoked from network); 26 May 2006 21:50:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 May 2006 21:50:15 -0000 Received: (qmail 34144 invoked by uid 500); 26 May 2006 21:50:15 -0000 Delivered-To: [email protected] Received: (qmail 34120 invoked by uid 500); 26 May 2006 21:50:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34109 invoked by uid 99); 26 May 2006 21:50:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 May 2006 14:50:14 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 May 2006 14:50:13 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E568D7142E9 for <[email protected]>; Fri, 26 May 2006 21:49:29 +0000 (GMT) Message-ID: <20768766.1148680169937.JavaMail.jira@brutus> Date: Fri, 26 May 2006 21:49:29 +0000 (GMT+00:00) From: "Bill Liu (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (IBATIS-298) implicit commit does not work if there's an explicit commit right before MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N implicit commit does not work if there's an explicit commit right before ------------------------------------------------------------------------ Key: IBATIS-298 URL: http://issues.apache.org/jira/browse/IBATIS-298 Project: iBatis for Java Type: Bug Components: DAO Versions: 2.1.7 Reporter: Bill Liu We've used Ibatis for over 2 years and this's the bug we just found. Consider this scenario: DaoManager.startTransaction() //1. db insert 1: do db insert 1 DaoManager.commitTransaction() //an implicit transaction do db insert 2 without starting a transaction explicitly. What we expected was that the 2 transactions should be committed. However, only the first one was but not the second one. We looked at the source code and found out why: in StandardDaoManager public void endTransaction() { finally { transactionMode.set(null); ... } public void commitTransaction() { List ctxList = getContextInTransactionList(); Iterator i = ctxList.iterator(); while (i.hasNext()) { DaoContext context = (DaoContext) i.next(); context.commitTransaction(); } } Notice in the commitTransaction(), the transactionMode is not set to be null. Now in the second implicit transaction, in com.ibatis.dao.engine.impl.DaoProxy class, invoke(Object proxy, Method method, Object[] args) method, if (daoManager.isExplicitTransaction()) { // Just start the transaction (explicit) try { context.startTransaction(); result = method.invoke(daoImpl.getDaoInstance(), args); } catch (Throwable t) { throw ClassInfo.unwrapThrowable(t); } } else { // Start, commit and end the transaction (autocommit) try { context.startTransaction(); result = method.invoke(daoImpl.getDaoInstance(), args); context.commitTransaction(); ... Now daoManager.isExplicitTransaction() returns true! The result: the transaction is started for the second query but never committed! -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sat May 27 14:02:28 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30731 invoked from network); 27 May 2006 14:02:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 May 2006 14:02:28 -0000 Received: (qmail 50692 invoked by uid 500); 27 May 2006 14:02:27 -0000 Delivered-To: [email protected] Received: (qmail 50665 invoked by uid 500); 27 May 2006 14:02:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 50654 invoked by uid 99); 27 May 2006 14:02:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 May 2006 07:02:27 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wr-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 May 2006 07:02:26 -0700 Received: by wr-out-0506.google.com with SMTP id 37so610322wra for <[email protected]>; Sat, 27 May 2006 07:02:06 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=MpCGNFu5NgaLPaiOFyfyaBqwa1r6bmyovpn5a2pUSXuyQj68vjZfMwvYTlk+oMCkNe4wR178yq0q2mqn1AoDSaaFjxWb9GPmnnA69T1t3Jfe5cBzPTVRgicU0W5QfbvAFC06igR5Zu9QYhRPNfInPXxxgMMRT5dc/isjd1FYLmc= Received: by 161.129.204.104 with SMTP id u13mr357309wrb; Sat, 27 May 2006 07:00:41 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sat, 27 May 2006 07:02:04 -0700 (PDT) Message-ID: <[email protected]> Date: Sat, 27 May 2006 10:02:04 -0400 From: "Ted Husted" <[email protected]> Reply-To: [email protected] To: [email protected] Subject: Call for Papers Opens for ApacheCon US 2006 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Anyone thinking of submitting a proposal for ACUS 2006? * http://www.planetstruts.org/roller/page/news?entry=3Dapacheconus2006_cfp It might be interesting to do a talk that compared the three iBATIS implementations (Java, C#, and Ruby). -Ted. From [email protected] Sun May 28 18:57:20 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87926 invoked from network); 28 May 2006 18:57:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 May 2006 18:57:20 -0000 Received: (qmail 93177 invoked by uid 500); 28 May 2006 18:57:20 -0000 Delivered-To: [email protected] Received: (qmail 93157 invoked by uid 500); 28 May 2006 18:57:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 93146 invoked by uid 99); 28 May 2006 18:57:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 May 2006 11:57:19 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 May 2006 11:57:17 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 00F3A7142C8 for <[email protected]>; Sun, 28 May 2006 18:56:31 +0000 (GMT) Message-ID: <20452973.1148842591001.JavaMail.jira@brutus> Date: Sun, 28 May 2006 18:56:30 +0000 (GMT+00:00) From: "Gilles Bayon (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATISNET-145) Make NoOpLoggerFA the default logger when logging config is missing or malformed. Allow FactoryAdapter to be set by the application In-Reply-To: <1990622635.1143690568593.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATISNET-145?page=comments#action_12413638 ] Gilles Bayon commented on IBATISNET-145: ---------------------------------------- Ron, you can apply the patch and commit it, you are a committer :-) > Make NoOpLoggerFA the default logger when logging config is missing or malformed. Allow FactoryAdapter to be set by the application > ----------------------------------------------------------------------------------------------------------------------------------- > > Key: IBATISNET-145 > URL: http://issues.apache.org/jira/browse/IBATISNET-145 > Project: iBatis for .NET > Type: Improvement > Versions: DataMapper 1.3 > Reporter: Ron Grabowski > Assignee: Gilles Bayon > Priority: Minor > Attachments: LogManager_IBATISNET-145.patch > > I'm working on a project that uses 200 statements across 4 SqlMapper instances. Starting the program with DEBUG logging turned on generates about 62k of initialization log messages. Using Log4Net this takes about 1.4 seconds. Using the NoOpLogger it takes about 1.2 seconds. > When the logging section is missing from the App.config file (or well-formed but missing the IBatisNet.Logging.Log4Net assembly) the application defaults to the ConsoleLogger and the application takes over 15 seconds to initialize itself. The application is a .NET 1.1 WinForm. > If there isn't a logger defined, I think the default behavior should be to use the NoOpLogger instead of the ConsoleLogger. Perhaps we can add an additional property to the LogManager called Implementation (inspired by Sooda.Logging.LogManager) or FactoryAdapter so the implementation can be specified by the application: > if (isWinForm) > { > if (LogManager.FactoryAdapter is ConsoleOutLoggerFA) > { > // WinForms don't usually redirect the Console.Out...the logging config is probably missing or misconfigured > LogManager.FactoryAdapter = new NoOpLoggerFA(); > } > } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon May 29 02:18:18 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63011 invoked from network); 29 May 2006 02:18:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 May 2006 02:18:18 -0000 Received: (qmail 61739 invoked by uid 500); 29 May 2006 02:18:18 -0000 Delivered-To: [email protected] Received: (qmail 61723 invoked by uid 500); 29 May 2006 02:18:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 61712 invoked by uid 99); 29 May 2006 02:18:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 May 2006 19:18:17 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 May 2006 19:18:17 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id CBD4E7142C8 for <[email protected]>; Mon, 29 May 2006 02:17:29 +0000 (GMT) Message-ID: <33442004.1148869049832.JavaMail.jira@brutus> Date: Mon, 29 May 2006 02:17:29 +0000 (GMT+00:00) From: "Ken Weiner (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (IBATIS-299) Add a type mapper callback for java.net.URL MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Add a type mapper callback for java.net.URL ------------------------------------------- Key: IBATIS-299 URL: http://issues.apache.org/jira/browse/IBATIS-299 Project: iBatis for Java Type: Wish Versions: 2.1.7 Reporter: Ken Weiner It would be nice if iBATIS came with a TypeHandlerCallback implementation for mapping URL object properties to their String representation stored in a database field. Here is some code that could be used to implement this: package com.ibatis.sqlmap.client.extensions; import java.net.MalformedURLException; import java.net.URL; import java.sql.SQLException; import java.sql.Types; /** * An iBATIS type handler callback for java.net.URLs that are mapped to * Strings in the database. If a URL cannot be constructed based on the * String, then the URL will be set to <code>null</code>. * <p> * @author Ken Weiner */ public class UrlTypeHandlerCallback implements TypeHandlerCallback { public Object getResult(ResultGetter getter) throws SQLException { String value = getter.getString(); if (getter.wasNull()) { return null; } return this.valueOf(value); } public void setParameter(ParameterSetter setter, Object parameter) throws SQLException { if (parameter == null) { setter.setNull(Types.VARCHAR); } else { URL url = (URL) parameter; setter.setString(url.toExternalForm()); } } public Object valueOf(String s) { URL url; try { url = new URL(s); } catch (MalformedURLException e) { url = null; } return url; } } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon May 29 02:20:19 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63249 invoked from network); 29 May 2006 02:20:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 May 2006 02:20:19 -0000 Received: (qmail 63164 invoked by uid 500); 29 May 2006 02:20:18 -0000 Delivered-To: [email protected] Received: (qmail 63149 invoked by uid 500); 29 May 2006 02:20:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 63138 invoked by uid 99); 29 May 2006 02:20:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 May 2006 19:20:18 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 May 2006 19:20:17 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 8BA307142C8 for <[email protected]>; Mon, 29 May 2006 02:19:30 +0000 (GMT) Message-ID: <22572565.1148869170569.JavaMail.jira@brutus> Date: Mon, 29 May 2006 02:19:30 +0000 (GMT+00:00) From: "Ken Weiner (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATIS-299) Add a type mapper callback for java.net.URL In-Reply-To: <33442004.1148869049832.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-299?page=comments#action_12413657 ] Ken Weiner commented on IBATIS-299: ----------------------------------- Sorry, I meant to say "type handler callback" rather than "type mapper callback" in the issue title. > Add a type mapper callback for java.net.URL > ------------------------------------------- > > Key: IBATIS-299 > URL: http://issues.apache.org/jira/browse/IBATIS-299 > Project: iBatis for Java > Type: Wish > Versions: 2.1.7 > Reporter: Ken Weiner > > It would be nice if iBATIS came with a TypeHandlerCallback implementation for mapping URL object properties to their String representation stored in a database field. Here is some code that could be used to implement this: > package com.ibatis.sqlmap.client.extensions; > import java.net.MalformedURLException; > import java.net.URL; > import java.sql.SQLException; > import java.sql.Types; > /** > * An iBATIS type handler callback for java.net.URLs that are mapped to > * Strings in the database. If a URL cannot be constructed based on the > * String, then the URL will be set to <code>null</code>. > * <p> > * @author Ken Weiner > */ > public class UrlTypeHandlerCallback implements TypeHandlerCallback { > public Object getResult(ResultGetter getter) throws SQLException { > String value = getter.getString(); > if (getter.wasNull()) { > return null; > } > return this.valueOf(value); > } > public void setParameter(ParameterSetter setter, Object parameter) throws SQLException { > if (parameter == null) { > setter.setNull(Types.VARCHAR); > } else { > URL url = (URL) parameter; > setter.setString(url.toExternalForm()); > } > } > public Object valueOf(String s) { > URL url; > try { > url = new URL(s); > } catch (MalformedURLException e) { > url = null; > } > return url; > } > } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Tue May 30 04:00:22 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39177 invoked from network); 30 May 2006 04:00:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 May 2006 04:00:22 -0000 Received: (qmail 90301 invoked by uid 500); 30 May 2006 04:00:22 -0000 Delivered-To: [email protected] Received: (qmail 90168 invoked by uid 500); 30 May 2006 04:00:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 90157 invoked by uid 99); 30 May 2006 04:00:21 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 May 2006 21:00:21 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 May 2006 21:00:19 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 99E9E7142EF for <[email protected]>; Tue, 30 May 2006 03:59:30 +0000 (GMT) Message-ID: <6618643.1148961570627.JavaMail.jira@brutus> Date: Tue, 30 May 2006 03:59:30 +0000 (GMT+00:00) From: "Nathan Maves (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATIS-299) Add a type mapper callback for java.net.URL In-Reply-To: <33442004.1148869049832.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-299?page=comments#action_12413753 ] Nathan Maves commented on IBATIS-299: ------------------------------------- Ken, This is a perfect example of how to extend the framework for your specific requirements. I am not saying that this is a no go but do you believe that this is a common data type that people would be writing this type of CTH for? We can not include a type handler for every different type of java object. Just my 2 cents. Nathan > Add a type mapper callback for java.net.URL > ------------------------------------------- > > Key: IBATIS-299 > URL: http://issues.apache.org/jira/browse/IBATIS-299 > Project: iBatis for Java > Type: Wish > Versions: 2.1.7 > Reporter: Ken Weiner > > It would be nice if iBATIS came with a TypeHandlerCallback implementation for mapping URL object properties to their String representation stored in a database field. Here is some code that could be used to implement this: > package com.ibatis.sqlmap.client.extensions; > import java.net.MalformedURLException; > import java.net.URL; > import java.sql.SQLException; > import java.sql.Types; > /** > * An iBATIS type handler callback for java.net.URLs that are mapped to > * Strings in the database. If a URL cannot be constructed based on the > * String, then the URL will be set to <code>null</code>. > * <p> > * @author Ken Weiner > */ > public class UrlTypeHandlerCallback implements TypeHandlerCallback { > public Object getResult(ResultGetter getter) throws SQLException { > String value = getter.getString(); > if (getter.wasNull()) { > return null; > } > return this.valueOf(value); > } > public void setParameter(ParameterSetter setter, Object parameter) throws SQLException { > if (parameter == null) { > setter.setNull(Types.VARCHAR); > } else { > URL url = (URL) parameter; > setter.setString(url.toExternalForm()); > } > } > public Object valueOf(String s) { > URL url; > try { > url = new URL(s); > } catch (MalformedURLException e) { > url = null; > } > return url; > } > } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Tue May 30 04:24:20 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43565 invoked from network); 30 May 2006 04:24:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 May 2006 04:24:20 -0000 Received: (qmail 8257 invoked by uid 500); 30 May 2006 04:24:20 -0000 Delivered-To: [email protected] Received: (qmail 8244 invoked by uid 500); 30 May 2006 04:24:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 8230 invoked by uid 99); 30 May 2006 04:24:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 May 2006 21:24:20 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 May 2006 21:24:19 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 961127142EF for <[email protected]>; Tue, 30 May 2006 04:23:30 +0000 (GMT) Message-ID: <16958581.1148963010610.JavaMail.jira@brutus> Date: Tue, 30 May 2006 04:23:30 +0000 (GMT+00:00) From: "Larry Meadors (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATIS-299) Add a type mapper callback for java.net.URL In-Reply-To: <33442004.1148869049832.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-299?page=comments#action_12413754 ] Larry Meadors commented on IBATIS-299: -------------------------------------- I'd have to agree with Nathan on this one - there are literally hundeds of types in the core Java API that people could use with SQL maps, but IMO, we can not and should not support them all. If you think that this would be useful to others, feel free to implement it and put it on the WIKI. Larry > Add a type mapper callback for java.net.URL > ------------------------------------------- > > Key: IBATIS-299 > URL: http://issues.apache.org/jira/browse/IBATIS-299 > Project: iBatis for Java > Type: Wish > Versions: 2.1.7 > Reporter: Ken Weiner > > It would be nice if iBATIS came with a TypeHandlerCallback implementation for mapping URL object properties to their String representation stored in a database field. Here is some code that could be used to implement this: > package com.ibatis.sqlmap.client.extensions; > import java.net.MalformedURLException; > import java.net.URL; > import java.sql.SQLException; > import java.sql.Types; > /** > * An iBATIS type handler callback for java.net.URLs that are mapped to > * Strings in the database. If a URL cannot be constructed based on the > * String, then the URL will be set to <code>null</code>. > * <p> > * @author Ken Weiner > */ > public class UrlTypeHandlerCallback implements TypeHandlerCallback { > public Object getResult(ResultGetter getter) throws SQLException { > String value = getter.getString(); > if (getter.wasNull()) { > return null; > } > return this.valueOf(value); > } > public void setParameter(ParameterSetter setter, Object parameter) throws SQLException { > if (parameter == null) { > setter.setNull(Types.VARCHAR); > } else { > URL url = (URL) parameter; > setter.setString(url.toExternalForm()); > } > } > public Object valueOf(String s) { > URL url; > try { > url = new URL(s); > } catch (MalformedURLException e) { > url = null; > } > return url; > } > } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Tue May 30 06:57:21 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82297 invoked from network); 30 May 2006 06:57:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 May 2006 06:57:21 -0000 Received: (qmail 40859 invoked by uid 500); 30 May 2006 06:57:20 -0000 Delivered-To: [email protected] Received: (qmail 40830 invoked by uid 500); 30 May 2006 06:57:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 40818 invoked by uid 99); 30 May 2006 06:57:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 May 2006 23:57:20 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 May 2006 23:57:19 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A02347142F7 for <[email protected]>; Tue, 30 May 2006 06:56:30 +0000 (GMT) Message-ID: <1379793.1148972190653.JavaMail.jira@brutus> Date: Tue, 30 May 2006 06:56:30 +0000 (GMT+00:00) From: "Ken Weiner (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATIS-299) Add a type mapper callback for java.net.URL In-Reply-To: <33442004.1148869049832.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-299?page=comments#action_12413774 ] Ken Weiner commented on IBATIS-299: ----------------------------------- Okay, I understand. I'll add it to the Wiki. Frameworks like Spring include property editors for common, straightforward objects like java.net.URL and java.lang.Class so I thought that it was a reasonable suggestion for iBATIS to include these kinds of Type Handlers. Thanks, anyways. > Add a type mapper callback for java.net.URL > ------------------------------------------- > > Key: IBATIS-299 > URL: http://issues.apache.org/jira/browse/IBATIS-299 > Project: iBatis for Java > Type: Wish > Versions: 2.1.7 > Reporter: Ken Weiner > > It would be nice if iBATIS came with a TypeHandlerCallback implementation for mapping URL object properties to their String representation stored in a database field. Here is some code that could be used to implement this: > package com.ibatis.sqlmap.client.extensions; > import java.net.MalformedURLException; > import java.net.URL; > import java.sql.SQLException; > import java.sql.Types; > /** > * An iBATIS type handler callback for java.net.URLs that are mapped to > * Strings in the database. If a URL cannot be constructed based on the > * String, then the URL will be set to <code>null</code>. > * <p> > * @author Ken Weiner > */ > public class UrlTypeHandlerCallback implements TypeHandlerCallback { > public Object getResult(ResultGetter getter) throws SQLException { > String value = getter.getString(); > if (getter.wasNull()) { > return null; > } > return this.valueOf(value); > } > public void setParameter(ParameterSetter setter, Object parameter) throws SQLException { > if (parameter == null) { > setter.setNull(Types.VARCHAR); > } else { > URL url = (URL) parameter; > setter.setString(url.toExternalForm()); > } > } > public Object valueOf(String s) { > URL url; > try { > url = new URL(s); > } catch (MalformedURLException e) { > url = null; > } > return url; > } > } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed May 31 04:01:23 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53844 invoked from network); 31 May 2006 04:01:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 May 2006 04:01:23 -0000 Received: (qmail 48264 invoked by uid 500); 31 May 2006 04:01:23 -0000 Delivered-To: [email protected] Received: (qmail 48121 invoked by uid 500); 31 May 2006 04:01:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48110 invoked by uid 99); 31 May 2006 04:01:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 May 2006 21:01:22 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 May 2006 21:01:21 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 2011F7142F8 for <[email protected]>; Wed, 31 May 2006 04:00:31 +0000 (GMT) Message-ID: <30767998.1149048031128.JavaMail.jira@brutus> Date: Wed, 31 May 2006 04:00:31 +0000 (GMT+00:00) From: "Clinton Begin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (IBATIS-274) queryForPaginatedList doesn't play well with groupBy attribute of resultMap (N+1 selects solution) In-Reply-To: <1112708349.1141745258976.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-274?page=all ] Clinton Begin closed IBATIS-274: -------------------------------- Resolution: Won't Fix Assign To: Clinton Begin Unfortunately this will not be possible to fix. This is a case where an ORM has a significant advantage -- it can detect the request and generate two (or more) SQL statements instead of one (which is required). There's NO WAY iBATIS can ever predict which rows to read (or not read). To solve this problem, we'd end up having to read all of the rows, which eliminates the value of the range limiting. This holds true of specifying min/max values as well. In a nutshell, both pagination and join mapping are performance enhancements....but they cannot be used together. So your option is to use either one, but not both. I suggest using lazy loading w/ pagination, or join mapping without pagination. Your only other option is to code it yourself to tweak it exactly to your needs. PS: I've deemed PaginatedList an anti-pattern, mostly because people are using it too much to solve complex problems. It was meant to be for very simple usages. iBATIS 3 likely will not support it in favor of encouraging using explicit ranges (i.e. offset, and count). I must close this issue, simply because it cannot be fixed -- by design it's a tradeoff. > queryForPaginatedList doesn't play well with groupBy attribute of resultMap (N+1 selects solution) > --------------------------------------------------------------------------------------------------- > > Key: IBATIS-274 > URL: http://issues.apache.org/jira/browse/IBATIS-274 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Versions: 2.1.7 > Environment: WinXP Pro, WebLogic 8.1, JDK 1.4.2_05, Spring 1.2.7 > Reporter: Tim Haley > Assignee: Clinton Begin > > I have implemented the N+1 solution using the groupBy attribute of the resultMap. > When this is called using queryForList() it works as expected; I get two BatchResults objects, the first contains a list of 20 ProcessingResult objects and the second contains a list of 19 ProcessingResult objects. > When called with queryForPaginatedList() and a page size of 10, I only get the first BatchResults object, which does contain the list of 20 ProcessingResult objects. > When called with queryForPaginatedList() and a page size of 19, I only get both BatchResults objects, the first contains a list of 20 ProcessingResult objects and the second contains a list of 18 ProcessingResult objects. (total of 38, 2x the page size) > When called with queryForPaginatedList() and a page size of 18, I only get both BatchResults objects, the first contains a list of 20 ProcessingResult objects and the second contains a list of 16 ProcessingResult objects. (total of 36, 2x the page size) > When called with queryForPaginatedList() and a page size of 17, I only get both BatchResults objects, the first contains a list of 20 ProcessingResult objects and the second contains a list of 14 ProcessingResult objects. (total of 34, 2x the page size) > See details of mapping and method calls below: > <resultMap id="BatchResultMap" class="BatchResult" groupBy="processingSchedule.processingKey"> > <result property="processingSchedule.processingKey" column="PROCESSING_KEY" javaType="int"/> > <result property="processingSchedule.processingDate" column="PROCESS_DATE" javaType="date"/> > <result property="processingSchedule.printDate" column="PRINT_DATE" javaType="date"/> > <result property="processingSchedule.processType.processTypeKey" column="PROCESS_TYPE_KEY" javaType="int"/> > <result property="processingSchedule.processType.description" column="PROCESS_TYPE_DESCRIPTION" javaType="string"/> > <result property="processingResults" resultMap="Processing.ProcessResultMap"/> > </resultMap> > <resultMap id="ProcessResultMap" class="ProcessingResult"> > <!--<result property="processingKey" column="PR_PROCESSING_KEY"/>--> > <result property="applicationKey" column="APPLICATION_KEY" javaType="int"/> > <result property="applicationStatusKey" column="APPLICATION_STATUS_KEY" javaType="int"/> > <result property="applicationStatusString" column="APPLICATION_STATUS_DESCRIPTION" javaType="string"/> > <result property="testResults" column="{applicationKey=APPLICATION_KEY, processingKey=PR_PROCESSING_KEY}" > select="getTestResultsForProcessingResult"/> > <result property="application" column="APPLICATION_KEY" javaType="int" > select="loadApplicationByPrimaryKey"/> > <result property="processing" column="PR_PROCESSING_KEY" javaType="int" > select="loadProcessingSchedule"/> > </resultMap> > <select id="loadBatchResultsForDateRange" parameterClass="DateRange" resultMap="BatchResultMap"> > select > PRO.PROCESSING_KEY, > PRO.PROCESS_DATE, > PRO.PRINT_DATE, > PRO.PROCESS_TYPE_KEY, > PT.DESCRIPTION as PROCESS_TYPE_DESCRIPTION, > PR.APPLICATION_KEY, > ASCD.APPLICATION_STATUS_KEY, > ASCD.DESCRIPTION as APPLICATION_STATUS_DESCRIPTION, > PR.PROCESSING_KEY as PR_PROCESSING_KEY > from > WM.USTP_PROCESSING PRO > join WM.USTP_PROCESS_TYPE_CD PT on PRO.PROCESS_TYPE_KEY = PT.PROCESS_TYPE_KEY > left outer join WM.USTP_PROCESSING_RESULT PR on PR.PROCESSING_KEY = PRO.PROCESSING_KEY > left outer join WM.USTP_APPLICATION_STATUS_CD ASCD on ASCD.APPLICATION_STATUS_KEY = PR.APPLICATION_STATUS_KEY > where > PRO.PROCESS_DATE between #start# and (#end# + 1) > order by > PRO.PROCESSING_KEY desc > </select> > public List loadByProcessingDateRange(DateRange aDateRange) > throws DataAccessException > { > return getSqlMapClientTemplate().queryForList("loadBatchResultsForDateRange", aDateRange); > } > public PaginatedList loadByProcessingDateRange(DateRange aDateRange, > int aPageSize) > throws DataAccessException > { > return getSqlMapClientTemplate().queryForPaginatedList("loadBatchResultsForDateRange", > aDateRange, aPageSize); > } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed May 31 06:28:30 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85031 invoked from network); 31 May 2006 06:28:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 May 2006 06:28:30 -0000 Received: (qmail 55319 invoked by uid 500); 31 May 2006 06:28:30 -0000 Delivered-To: [email protected] Received: (qmail 55290 invoked by uid 500); 31 May 2006 06:28:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55279 invoked by uid 99); 31 May 2006 06:28:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 May 2006 23:28:29 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 May 2006 23:28:28 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 42BB6714294 for <[email protected]>; Wed, 31 May 2006 06:27:33 +0000 (GMT) Message-ID: <30957227.1149056853270.JavaMail.jira@brutus> Date: Wed, 31 May 2006 06:27:33 +0000 (GMT+00:00) From: "Ken Weiner (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATIS-299) Add a type mapper callback for java.net.URL In-Reply-To: <33442004.1148869049832.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-299?page=comments#action_12413986 ] Ken Weiner commented on IBATIS-299: ----------------------------------- Added a wiki page to track custom handlers here: http://opensource.atlassian.com/confluence/oss/display/IBATIS/Type+Handler+Callbacks I still think it would be appropriate to include common handlers (analagous to Spring property editors shown here http://www.springframework.org/docs/api/org/springframework/beans/propertyeditors/package-summary.html) in the framework itself so people like me would have to write less custom code, but I respect your opinions. > Add a type mapper callback for java.net.URL > ------------------------------------------- > > Key: IBATIS-299 > URL: http://issues.apache.org/jira/browse/IBATIS-299 > Project: iBatis for Java > Type: Wish > Versions: 2.1.7 > Reporter: Ken Weiner > > It would be nice if iBATIS came with a TypeHandlerCallback implementation for mapping URL object properties to their String representation stored in a database field. Here is some code that could be used to implement this: > package com.ibatis.sqlmap.client.extensions; > import java.net.MalformedURLException; > import java.net.URL; > import java.sql.SQLException; > import java.sql.Types; > /** > * An iBATIS type handler callback for java.net.URLs that are mapped to > * Strings in the database. If a URL cannot be constructed based on the > * String, then the URL will be set to <code>null</code>. > * <p> > * @author Ken Weiner > */ > public class UrlTypeHandlerCallback implements TypeHandlerCallback { > public Object getResult(ResultGetter getter) throws SQLException { > String value = getter.getString(); > if (getter.wasNull()) { > return null; > } > return this.valueOf(value); > } > public void setParameter(ParameterSetter setter, Object parameter) throws SQLException { > if (parameter == null) { > setter.setNull(Types.VARCHAR); > } else { > URL url = (URL) parameter; > setter.setString(url.toExternalForm()); > } > } > public Object valueOf(String s) { > URL url; > try { > url = new URL(s); > } catch (MalformedURLException e) { > url = null; > } > return url; > } > } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed May 31 12:04:23 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90546 invoked from network); 31 May 2006 12:04:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 May 2006 12:04:23 -0000 Received: (qmail 44654 invoked by uid 500); 31 May 2006 12:04:23 -0000 Delivered-To: [email protected] Received: (qmail 44514 invoked by uid 500); 31 May 2006 12:04:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 44502 invoked by uid 99); 31 May 2006 12:04:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 05:04:22 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 05:04:21 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 9B2B67141ED for <[email protected]>; Wed, 31 May 2006 12:03:30 +0000 (GMT) Message-ID: <32230089.1149077010632.JavaMail.jira@brutus> Date: Wed, 31 May 2006 12:03:30 +0000 (GMT+00:00) From: "Tim Haley (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATIS-274) queryForPaginatedList doesn't play well with groupBy attribute of resultMap (N+1 selects solution) In-Reply-To: <1112708349.1141745258976.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-274?page=comments#action_12414036 ] Tim Haley commented on IBATIS-274: ---------------------------------- Clinton, Yes, I had a feeling that the result would be something like this. I was hoping that you would be able to do some magic, but I can see your point. My only remaining comment is that you need to document this limitation in both the javadocs for the PaginatedList and the documentation for join mapping. Thank you for looking into this. Tim Haley > queryForPaginatedList doesn't play well with groupBy attribute of resultMap (N+1 selects solution) > --------------------------------------------------------------------------------------------------- > > Key: IBATIS-274 > URL: http://issues.apache.org/jira/browse/IBATIS-274 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Versions: 2.1.7 > Environment: WinXP Pro, WebLogic 8.1, JDK 1.4.2_05, Spring 1.2.7 > Reporter: Tim Haley > Assignee: Clinton Begin > > I have implemented the N+1 solution using the groupBy attribute of the resultMap. > When this is called using queryForList() it works as expected; I get two BatchResults objects, the first contains a list of 20 ProcessingResult objects and the second contains a list of 19 ProcessingResult objects. > When called with queryForPaginatedList() and a page size of 10, I only get the first BatchResults object, which does contain the list of 20 ProcessingResult objects. > When called with queryForPaginatedList() and a page size of 19, I only get both BatchResults objects, the first contains a list of 20 ProcessingResult objects and the second contains a list of 18 ProcessingResult objects. (total of 38, 2x the page size) > When called with queryForPaginatedList() and a page size of 18, I only get both BatchResults objects, the first contains a list of 20 ProcessingResult objects and the second contains a list of 16 ProcessingResult objects. (total of 36, 2x the page size) > When called with queryForPaginatedList() and a page size of 17, I only get both BatchResults objects, the first contains a list of 20 ProcessingResult objects and the second contains a list of 14 ProcessingResult objects. (total of 34, 2x the page size) > See details of mapping and method calls below: > <resultMap id="BatchResultMap" class="BatchResult" groupBy="processingSchedule.processingKey"> > <result property="processingSchedule.processingKey" column="PROCESSING_KEY" javaType="int"/> > <result property="processingSchedule.processingDate" column="PROCESS_DATE" javaType="date"/> > <result property="processingSchedule.printDate" column="PRINT_DATE" javaType="date"/> > <result property="processingSchedule.processType.processTypeKey" column="PROCESS_TYPE_KEY" javaType="int"/> > <result property="processingSchedule.processType.description" column="PROCESS_TYPE_DESCRIPTION" javaType="string"/> > <result property="processingResults" resultMap="Processing.ProcessResultMap"/> > </resultMap> > <resultMap id="ProcessResultMap" class="ProcessingResult"> > <!--<result property="processingKey" column="PR_PROCESSING_KEY"/>--> > <result property="applicationKey" column="APPLICATION_KEY" javaType="int"/> > <result property="applicationStatusKey" column="APPLICATION_STATUS_KEY" javaType="int"/> > <result property="applicationStatusString" column="APPLICATION_STATUS_DESCRIPTION" javaType="string"/> > <result property="testResults" column="{applicationKey=APPLICATION_KEY, processingKey=PR_PROCESSING_KEY}" > select="getTestResultsForProcessingResult"/> > <result property="application" column="APPLICATION_KEY" javaType="int" > select="loadApplicationByPrimaryKey"/> > <result property="processing" column="PR_PROCESSING_KEY" javaType="int" > select="loadProcessingSchedule"/> > </resultMap> > <select id="loadBatchResultsForDateRange" parameterClass="DateRange" resultMap="BatchResultMap"> > select > PRO.PROCESSING_KEY, > PRO.PROCESS_DATE, > PRO.PRINT_DATE, > PRO.PROCESS_TYPE_KEY, > PT.DESCRIPTION as PROCESS_TYPE_DESCRIPTION, > PR.APPLICATION_KEY, > ASCD.APPLICATION_STATUS_KEY, > ASCD.DESCRIPTION as APPLICATION_STATUS_DESCRIPTION, > PR.PROCESSING_KEY as PR_PROCESSING_KEY > from > WM.USTP_PROCESSING PRO > join WM.USTP_PROCESS_TYPE_CD PT on PRO.PROCESS_TYPE_KEY = PT.PROCESS_TYPE_KEY > left outer join WM.USTP_PROCESSING_RESULT PR on PR.PROCESSING_KEY = PRO.PROCESSING_KEY > left outer join WM.USTP_APPLICATION_STATUS_CD ASCD on ASCD.APPLICATION_STATUS_KEY = PR.APPLICATION_STATUS_KEY > where > PRO.PROCESS_DATE between #start# and (#end# + 1) > order by > PRO.PROCESSING_KEY desc > </select> > public List loadByProcessingDateRange(DateRange aDateRange) > throws DataAccessException > { > return getSqlMapClientTemplate().queryForList("loadBatchResultsForDateRange", aDateRange); > } > public PaginatedList loadByProcessingDateRange(DateRange aDateRange, > int aPageSize) > throws DataAccessException > { > return getSqlMapClientTemplate().queryForPaginatedList("loadBatchResultsForDateRange", > aDateRange, aPageSize); > } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed May 31 12:56:23 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3891 invoked from network); 31 May 2006 12:56:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 May 2006 12:56:23 -0000 Received: (qmail 28223 invoked by uid 500); 31 May 2006 12:56:22 -0000 Delivered-To: [email protected] Received: (qmail 28201 invoked by uid 500); 31 May 2006 12:56:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 28190 invoked by uid 99); 31 May 2006 12:56:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 05:56:22 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 05:56:21 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 929177141F4 for <[email protected]>; Wed, 31 May 2006 12:55:30 +0000 (GMT) Message-ID: <20491328.1149080130597.JavaMail.jira@brutus> Date: Wed, 31 May 2006 12:55:30 +0000 (GMT+00:00) From: "Jeff Butler (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (IBATIS-297) iBATIS doesn't remap sql fully In-Reply-To: <23720520.1148592749861.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-297?page=all ] Jeff Butler closed IBATIS-297: ------------------------------ Resolution: Won't Fix Closing ... I'm assuming the workarounds I've outlined in the comments are sufficient. > iBATIS doesn't remap sql fully > ------------------------------ > > Key: IBATIS-297 > URL: http://issues.apache.org/jira/browse/IBATIS-297 > Project: iBatis for Java > Type: New Feature > Components: SQL Maps > Versions: 2.1.5 > Reporter: adamb > > iBATIS doesn't remap parameters. > If I have statement with remapResults="true": > select * from mytable where $dynamicWhereClause$ > and pass in the following two parameters: > dynamicWhereClause #key#='abc' > key java.lang.String="abc" > Then the remap puts the #key# in the sql directly, rather than rechecking the statement to determine what the parameters will be, so gives the error > message: > java.sql.SQLException: ORA-00911: invalid character > because it hasn't recognised the new hash parameters. > Version tested on: > iBATIS 2.1.5 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed May 31 15:18:22 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61580 invoked from network); 31 May 2006 15:18:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 May 2006 15:18:21 -0000 Received: (qmail 1153 invoked by uid 500); 31 May 2006 15:18:21 -0000 Delivered-To: [email protected] Received: (qmail 1138 invoked by uid 500); 31 May 2006 15:18:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 1127 invoked by uid 99); 31 May 2006 15:18:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 08:18:20 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO jupiter.dataireland.local) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 08:18:20 -0700 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Subject: embbeded SQL map trubles Date: Wed, 31 May 2006 16:13:45 +0100 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: embbeded SQL map trubles thread-index: AcaEsQpg2oOmqJ6LQZ6jlBoIRrcUXwAFGscw From: "Dorin Manoli" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi all! I followed example from wiki=20 But when=20 XmlDocument sqlMapConfig =3D Resources.GetEmbeddedResourceAsXmlDocument("Map.sqlMap.config, DataLayer"); I got=20 Additional information: Unable to load embedded resource from assembly "Map.sqlMap.config, DataLayer". =20 My assembly is compiled as DLL I have following directory Tree=20 Projects DataLayer Maps Conf =20 Under Conf folder is sqlMap.conf. =20 From [email protected] Wed May 31 16:14:23 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98147 invoked from network); 31 May 2006 16:14:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 May 2006 16:14:23 -0000 Received: (qmail 64707 invoked by uid 500); 31 May 2006 16:14:22 -0000 Delivered-To: [email protected] Received: (qmail 64684 invoked by uid 500); 31 May 2006 16:14:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 64673 invoked by uid 99); 31 May 2006 16:14:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 09:14:22 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 09:14:21 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 2C82B7141F3 for <[email protected]>; Wed, 31 May 2006 16:13:30 +0000 (GMT) Message-ID: <22716912.1149092010179.JavaMail.jira@brutus> Date: Wed, 31 May 2006 16:13:30 +0000 (GMT+00:00) From: "Vladimir Sakharuk (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (IBATIS-301) The datetime database field mapped to wrong overloaded setters type String. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N The datetime database field mapped to wrong overloaded setters type String. --------------------------------------------------------------------------- Key: IBATIS-301 URL: http://issues.apache.org/jira/browse/IBATIS-301 Project: iBatis for Java Type: Bug Environment: Apache Tomcat/5.5.12 - jdk1.5.0_04 Windows XP sybase 12 Reporter: Vladimir Sakharuk Priority: Minor <select id="getFidInfo" resultClass="com.msci.fidindex.beans.myBean"> select * from table1 where myid=#myid# </select> I have around 10 nullable datetime fields in the table1 in sybase. There is no explicit mapping set. I have follows 2 overloaded setters for each field: public void setMoodysRatingDate(Date moodysRatingDate) { this.moodysRatingDate = moodysRatingDate; } public void setMoodysRatingDate(String value) { try { this.moodysRatingDate = sybasedate_format.parse(value);} catch (Exception ex){} ; } Surprisingly IBatis call setMoodysRatingDate(String). All other called Date version . All implementation are the same. All fields differ only by name. If I comment the String version it calls Date one. I work around by removing overload : setMoodysRatingDateString(String value) ; So it is just bug report. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed May 31 16:19:23 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99443 invoked from network); 31 May 2006 16:19:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 May 2006 16:19:23 -0000 Received: (qmail 74933 invoked by uid 500); 31 May 2006 16:19:22 -0000 Delivered-To: [email protected] Received: (qmail 74796 invoked by uid 500); 31 May 2006 16:19:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74785 invoked by uid 99); 31 May 2006 16:19:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 09:19:22 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 09:19:21 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 907567141F2 for <[email protected]>; Wed, 31 May 2006 16:18:30 +0000 (GMT) Message-ID: <28471314.1149092310589.JavaMail.jira@brutus> Date: Wed, 31 May 2006 16:18:30 +0000 (GMT+00:00) From: "Jeff Butler (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (IBATIS-301) The datetime database field mapped to wrong overloaded setters type String. In-Reply-To: <22716912.1149092010179.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-301?page=all ] Jeff Butler closed IBATIS-301: ------------------------------ Resolution: Won't Fix This is not a bug. DO NOT use overloaded setters. This breaks the JavaBeans specification, and iBATIS will not support it. > The datetime database field mapped to wrong overloaded setters type String. > --------------------------------------------------------------------------- > > Key: IBATIS-301 > URL: http://issues.apache.org/jira/browse/IBATIS-301 > Project: iBatis for Java > Type: Bug > Environment: Apache Tomcat/5.5.12 - jdk1.5.0_04 Windows XP sybase 12 > Reporter: Vladimir Sakharuk > Priority: Minor > > <select id="getFidInfo" resultClass="com.msci.fidindex.beans.myBean"> > select * from table1 where myid=#myid# > </select> > I have around 10 nullable datetime fields in the table1 in sybase. There is no explicit mapping set. > I have follows 2 overloaded setters for each field: > public void setMoodysRatingDate(Date moodysRatingDate) { > this.moodysRatingDate = moodysRatingDate; > } > public void setMoodysRatingDate(String value) { > try { this.moodysRatingDate = sybasedate_format.parse(value);} catch (Exception ex){} ; > } > Surprisingly IBatis call setMoodysRatingDate(String). All other called Date version . All implementation are the same. All fields differ only by name. If I comment the String version it calls Date one. > I work around by removing overload : setMoodysRatingDateString(String value) ; > So it is just bug report. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed May 31 17:31:25 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25896 invoked from network); 31 May 2006 17:31:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 May 2006 17:31:24 -0000 Received: (qmail 25776 invoked by uid 500); 31 May 2006 17:31:23 -0000 Delivered-To: [email protected] Received: (qmail 25730 invoked by uid 500); 31 May 2006 17:31:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 25718 invoked by uid 99); 31 May 2006 17:31:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 10:31:23 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 10:31:22 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 15F717141F1 for <[email protected]>; Wed, 31 May 2006 17:30:31 +0000 (GMT) Message-ID: <9697613.1149096631087.JavaMail.jira@brutus> Date: Wed, 31 May 2006 17:30:31 +0000 (GMT+00:00) From: "Jeff Butler (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATIS-205) Change access modifiers from private to protected in many classes to allow developers to create extensions and subclasses to the iBatis classes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-205?page=comments#action_12414108 ] Jeff Butler commented on IBATIS-205: ------------------------------------ As stated in the list discussion about this, subclasses of these classes are not supported - meaning that this is not a published API and is subject to change at any time. Nevertheless, we will make the change and say "use at your own risk". > Change access modifiers from private to protected in many classes to allow developers to create extensions and subclasses to the iBatis classes > ----------------------------------------------------------------------------------------------------------------------------------------------- > > Key: IBATIS-205 > URL: http://issues.apache.org/jira/browse/IBATIS-205 > Project: iBatis for Java > Type: Improvement > Components: SQL Maps > Versions: 2.1.5 > Reporter: Jeff Roberts > Assignee: Jeff Butler > Priority: Minor > Attachments: SqlMapClientBuilder.java, SqlMapClientImpl.java, SqlMapConfigParser.java, SqlMapExecutorDelegate.java, SqlMapParser.java > > I have recently added and extension to the iBatis > framework. In order for my extension to work > effectively, I had to subclass several of the iBatis > classes. In doing so, I found that some of the > methods and variables in the iBatis classes were > declared as private, preventing me access to them from > my subclasses. > I changed the following access modifiers in the > following iBatis classes: > - com.ibatis.sqlmap.client.SqlMapClient > I changed the default constructor from private to > protected. This still prevents public instantiation > of the class, but allows me to instantiate my > subclass. > - > com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser > I changed the static variable "parser" from private to > protected. This allows me to access the parser from > my subclass. > I also changed the addSqlMapNodelets() method from > private to protected, allowing me to override it in my > subclass and extend its behavior. > - com.ibatis.sqlmap.engine.builder.xml.SqlMapParser > I changed the static variable "parser" from private to > protected. This allows me to access the parser from > my subclass. > I also changed the addStatementNodelets() method from > private to protected, allowing me to override it in my > subclass and extend its behavior. > - com.ibatis.sqlmap.engine.impl.SqlMapClientImpl > I changed the variable "localSqlMapSession" from > private to protected, allowing my subclass to access > it. > I also changed the getLocalSqlMapSession() from > private to protected, allowing me to override it in my > subclass and extend its behavior. > - com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate > I changed the variable "sqlExecutor" from private to > protected, allowing my subclass to access it. > I also changed the autoEndTransaction(), > autoCommitTransaction() and autoStartTransaction() > methods from private to protected, allowing my > subclass to invoke them. > I would like to request that the iBatis development > team make these same changes to the iBatis source > code. In my view, it doesn't change any behavior or > introduce any changes to the source code other than to > make key pieces of the code accessible to subclasses. > By making these changes, I can implement an extension > to iBatis by subclassing the classes I've mentioned > above and providing an additional feature. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed May 31 17:33:23 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26407 invoked from network); 31 May 2006 17:33:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 May 2006 17:33:23 -0000 Received: (qmail 32823 invoked by uid 500); 31 May 2006 17:33:23 -0000 Delivered-To: [email protected] Received: (qmail 32802 invoked by uid 500); 31 May 2006 17:33:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32791 invoked by uid 99); 31 May 2006 17:33:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 10:33:22 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 10:33:22 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 08E997141F3 for <[email protected]>; Wed, 31 May 2006 17:32:31 +0000 (GMT) Message-ID: <16958789.1149096751033.JavaMail.jira@brutus> Date: Wed, 31 May 2006 17:32:31 +0000 (GMT+00:00) From: "Jeff Butler (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (IBATIS-205) Change access modifiers from private to protected in many classes to allow developers to create extensions and subclasses to the iBatis classes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-205?page=all ] Jeff Butler closed IBATIS-205: ------------------------------ Fix Version: 2.2.0 Resolution: Fixed Fixed in SVN. > Change access modifiers from private to protected in many classes to allow developers to create extensions and subclasses to the iBatis classes > ----------------------------------------------------------------------------------------------------------------------------------------------- > > Key: IBATIS-205 > URL: http://issues.apache.org/jira/browse/IBATIS-205 > Project: iBatis for Java > Type: Improvement > Components: SQL Maps > Versions: 2.1.5 > Reporter: Jeff Roberts > Assignee: Jeff Butler > Priority: Minor > Fix For: 2.2.0 > Attachments: SqlMapClientBuilder.java, SqlMapClientImpl.java, SqlMapConfigParser.java, SqlMapExecutorDelegate.java, SqlMapParser.java > > I have recently added and extension to the iBatis > framework. In order for my extension to work > effectively, I had to subclass several of the iBatis > classes. In doing so, I found that some of the > methods and variables in the iBatis classes were > declared as private, preventing me access to them from > my subclasses. > I changed the following access modifiers in the > following iBatis classes: > - com.ibatis.sqlmap.client.SqlMapClient > I changed the default constructor from private to > protected. This still prevents public instantiation > of the class, but allows me to instantiate my > subclass. > - > com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser > I changed the static variable "parser" from private to > protected. This allows me to access the parser from > my subclass. > I also changed the addSqlMapNodelets() method from > private to protected, allowing me to override it in my > subclass and extend its behavior. > - com.ibatis.sqlmap.engine.builder.xml.SqlMapParser > I changed the static variable "parser" from private to > protected. This allows me to access the parser from > my subclass. > I also changed the addStatementNodelets() method from > private to protected, allowing me to override it in my > subclass and extend its behavior. > - com.ibatis.sqlmap.engine.impl.SqlMapClientImpl > I changed the variable "localSqlMapSession" from > private to protected, allowing my subclass to access > it. > I also changed the getLocalSqlMapSession() from > private to protected, allowing me to override it in my > subclass and extend its behavior. > - com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate > I changed the variable "sqlExecutor" from private to > protected, allowing my subclass to access it. > I also changed the autoEndTransaction(), > autoCommitTransaction() and autoStartTransaction() > methods from private to protected, allowing my > subclass to invoke them. > I would like to request that the iBatis development > team make these same changes to the iBatis source > code. In my view, it doesn't change any behavior or > introduce any changes to the source code other than to > make key pieces of the code accessible to subclasses. > By making these changes, I can implement an extension > to iBatis by subclassing the classes I've mentioned > above and providing an additional feature. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed May 31 22:14:24 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24975 invoked from network); 31 May 2006 22:14:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 May 2006 22:14:24 -0000 Received: (qmail 84599 invoked by uid 500); 31 May 2006 22:14:23 -0000 Delivered-To: [email protected] Received: (qmail 84576 invoked by uid 500); 31 May 2006 22:14:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84565 invoked by uid 99); 31 May 2006 22:14:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 15:14:23 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 15:14:22 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id F28C17141F1 for <[email protected]>; Wed, 31 May 2006 22:13:30 +0000 (GMT) Message-ID: <20382040.1149113610990.JavaMail.jira@brutus> Date: Wed, 31 May 2006 22:13:30 +0000 (GMT+00:00) From: "Jeff Butler (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (IBATIS-271) Create no arg methods in the SqlMapDaoTemplate In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-271?page=all ] Jeff Butler closed IBATIS-271: ------------------------------ Fix Version: 2.2.0 Resolution: Fixed Fixed in SVN. > Create no arg methods in the SqlMapDaoTemplate > ---------------------------------------------- > > Key: IBATIS-271 > URL: http://issues.apache.org/jira/browse/IBATIS-271 > Project: iBatis for Java > Type: Improvement > Components: DAO > Reporter: Nathan Maves > Assignee: Jeff Butler > Priority: Trivial > Fix For: 2.2.0 > > All of the query methods in SqlMapDaoTemplate should have the option not to send a parameter to the query. > public Object queryForObject(String id); > public Object queryForObject(String id, Object resultObject); > public List queryForList(String id); > public void queryWithRowHandler(String id, RowHandler rowHandler); > public Map queryForMap(String id, String keyProp); > public Map queryForMap(String id, String keyProp, String valueProp); > Each of these methods will need to be created as passthrough methods to the actual methods with null as the parameterObject. > Nathan -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed May 31 22:14:25 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25018 invoked from network); 31 May 2006 22:14:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 May 2006 22:14:25 -0000 Received: (qmail 84761 invoked by uid 500); 31 May 2006 22:14:24 -0000 Delivered-To: [email protected] Received: (qmail 84738 invoked by uid 500); 31 May 2006 22:14:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84727 invoked by uid 99); 31 May 2006 22:14:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 15:14:24 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 15:14:23 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 3F70B7141F4 for <[email protected]>; Wed, 31 May 2006 22:13:32 +0000 (GMT) Message-ID: <10837045.1149113612257.JavaMail.jira@brutus> Date: Wed, 31 May 2006 22:13:32 +0000 (GMT+00:00) From: "Jeff Butler (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (IBATIS-166) Add overloads for common SqlMapClient methods without parameterObject parameter MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATIS-166?page=all ] Jeff Butler closed IBATIS-166: ------------------------------ Fix Version: 2.2.0 Resolution: Fixed Fixed in SVN. Documentation also updated. > Add overloads for common SqlMapClient methods without parameterObject parameter > ------------------------------------------------------------------------------- > > Key: IBATIS-166 > URL: http://issues.apache.org/jira/browse/IBATIS-166 > Project: iBatis for Java > Type: Improvement > Versions: 2.1.0 > Reporter: Clinton Begin > Assignee: Jeff Butler > Priority: Minor > Fix For: 2.2.0 > > This is ugly: > List list = sqlMapClient.queryForList("someStatement", null); > This is better: > List list = sqlMapClient.queryForList("someStatement"); -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed May 31 23:26:25 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48487 invoked from network); 31 May 2006 23:26:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 May 2006 23:26:25 -0000 Received: (qmail 98403 invoked by uid 500); 31 May 2006 23:26:25 -0000 Delivered-To: [email protected] Received: (qmail 98266 invoked by uid 500); 31 May 2006 23:26:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 98255 invoked by uid 99); 31 May 2006 23:26:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 16:26:24 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 16:26:23 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id DF49E714283 for <[email protected]>; Wed, 31 May 2006 23:25:31 +0000 (GMT) Message-ID: <1867181.1149117931911.JavaMail.jira@brutus> Date: Wed, 31 May 2006 23:25:31 +0000 (GMT+00:00) From: "Chris Potter (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATISNET-158) TypeAssemblyInfo.SplitTypeAndAssemblyNames In-Reply-To: <28308023.1147879986859.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATISNET-158?page=comments#action_12414174 ] Chris Potter commented on IBATISNET-158: ---------------------------------------- Hi Gilles: I'm a bit confused by both your comment and your fix. We're currently using version 1.3 which doesn't support the generic signatures of the QueryForList, etc., methods. It is also important to note we're using the ExecuteQueryForRowDelegate method extensively. In DataMapper 1.3, while it is true I can call QueryForList using the signature that takes any IList implementation, the same type of signature doesn't exist for the ExecuteQueryForRowDelegate call. This was my motivation for proposing this change. You stated you corrected the issue in 1.5, however, it appears to me you only handle my proposed change in the event the type name provided in listClass begins with "System.Nullable". In my case the typename begins with "System.Collections". Am I missing something? Also, is it possible to get the change I proposed into the 1.3 code base? Thanks, Chris > TypeAssemblyInfo.SplitTypeAndAssemblyNames > ------------------------------------------ > > Key: IBATISNET-158 > URL: http://issues.apache.org/jira/browse/IBATISNET-158 > Project: iBatis for .NET > Type: Improvement > Components: DataMapper > Versions: DataMapper 1.3 > Reporter: Chris Potter > Assignee: Gilles Bayon > Fix For: DataMapper 1.5 > > Hi All: > > I'd like to propose a change to the TypeAssemblyInfo internal class within TypeResolver.cs. Please see the proposed code change below. > > private void SplitTypeAndAssemblyNames (string originalTypeName) > { > int typeAssemblyIndex > // Original Code = originalTypeName.IndexOf ( > = originalTypeName.LastIndexOf ( > TypeAssemblyInfo.TypeAssemblySeparator); > if (typeAssemblyIndex < 0) > { > unresolvedTypeName = originalTypeName; > } > else > { > unresolvedTypeName = originalTypeName.Substring ( > 0, typeAssemblyIndex).Trim (); > unresolvedAssemblyName = originalTypeName.Substring ( > typeAssemblyIndex + 1).Trim (); > } > } > > Changing the call from IndexOf to LastIndexOf allows me to define a .Net 2.0 generic in the listClass attribute of a statement definition. You can see an example below. This syntax is impropertly parsed for a comma without this proposed change. > > <select id="LoadCodesByCategory" parameterMap="CodeData.CodeDataByCategoryParams" resultMap="LoadStateCode" listClass="System.Collections.Generic.List`1[[NFS.Data.Core.DataObjects.Impl.StateCode, NFS.Data.Impl]], mscorlib"> > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu Jun 01 03:08:59 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5538 invoked from network); 1 Jun 2006 03:08:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Jun 2006 03:08:59 -0000 Received: (qmail 41643 invoked by uid 500); 1 Jun 2006 03:08:59 -0000 Delivered-To: [email protected] Received: (qmail 41501 invoked by uid 500); 1 Jun 2006 03:08:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 41482 invoked by uid 99); 1 Jun 2006 03:08:58 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 20:08:58 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO hu-out-0102.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 20:08:57 -0700 Received: by hu-out-0102.google.com with SMTP id 31so1297479huc for <[email protected]>; Wed, 31 May 2006 20:08:36 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=ewLk5i/e/Xz7ijfqeXDIFrTCF7RwB5WQSXeelRqbXvV9TQtTV+m/pWzvlEhHlpdfCUu2Z/YK67g8sDIc7qROx3vCIEWxK4f8+tRiQDzXIEs7YU3iiVN5Gr6i1wySBR5AGrETECoudQIxZ7K5qd9laS8K+kx3IE8O6CIqRf2ueKw= Received: by 161.129.204.104 with SMTP id 7mr159534nfn; Wed, 31 May 2006 20:08:36 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 31 May 2006 20:08:35 -0700 (PDT) Message-ID: <[email protected]> Date: Wed, 31 May 2006 22:08:35 -0500 From: "Jeff Butler" <[email protected]> To: [email protected] Subject: JIRA Triage MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1993_1520493.1149131315960" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_1993_1520493.1149131315960 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi All, I've been doing some looking in JIRA for low hanging fruit, and have come across some things that should probably be closed as "won't fix". Here are the items, and my reasons: IBATIS-214 - simple workaround - don't use parameter maps IBATIS-140 - odd request, no comments, over 1 year old IBATIS-129 - not a bug or enhancement request, just an announcement IBATIS-125 - simple workaround exists, no comments for nearly a year If you have any comments, please respond. Otherwise I'll close as "won't fix" on June 7. Thanks! Jeff Butler ------=_Part_1993_1520493.1149131315960 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <div>Hi All,</div> <div>&nbsp;</div> <div>I've been doing some looking in JIRA for low hanging fruit, and have come across some things that should probably be closed as &quot;won't fix&quot;.&nbsp; Here are the items, and my reasons:</div> <div>&nbsp;</div> <div>IBATIS-214 - simple workaround -&nbsp;don't use parameter maps<br>IBATIS-140 -&nbsp;odd request, no comments,&nbsp;over 1 year old<br>IBATIS-129 - not a bug or enhancement request, just an announcement<br>IBATIS-125 - simple workaround exists, no comments for nearly a year <br>&nbsp;</div> <div>If you have any comments, please respond.&nbsp; Otherwise I'll close as &quot;won't fix&quot; on June 7.</div> <div>&nbsp;</div> <div>Thanks!</div> <div>Jeff Butler</div> <div>&nbsp;</div> ------=_Part_1993_1520493.1149131315960-- From [email protected] Thu Jun 01 03:45:04 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13185 invoked from network); 1 Jun 2006 03:45:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Jun 2006 03:45:04 -0000 Received: (qmail 74702 invoked by uid 500); 1 Jun 2006 03:45:03 -0000 Delivered-To: [email protected] Received: (qmail 74673 invoked by uid 500); 1 Jun 2006 03:45:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74662 invoked by uid 99); 1 Jun 2006 03:45:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 20:45:03 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wr-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 20:45:02 -0700 Received: by wr-out-0506.google.com with SMTP id 67so188013wri for <[email protected]>; Wed, 31 May 2006 20:44:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Nmo3C/q3C/P0ZgeEIuQhGYthOzdACyJBYkXMOOP6grMhr3Ux9EppI93A/PqgXZprA7n4W2BkJUCVUpNNTQ7TiPWc9t9XwKZ3mLr14qQ0dCfWAYQnEl21UVZV7SZf9FTUS+dZw3eD4e25TpJdeBM4bY3vO8cx2Ch4fJzT884gFsM= Received: by 161.129.204.104 with SMTP id b8mr247019wrc; Wed, 31 May 2006 20:44:41 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 31 May 2006 20:44:41 -0700 (PDT) Message-ID: <[email protected]> Date: Wed, 31 May 2006 21:44:41 -0600 From: "Clinton Begin" <[email protected]> To: [email protected] Subject: Re: JIRA Triage In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6387_4008238.1149133481502" References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_6387_4008238.1149133481502 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline If they're "bugs" with workarounds (214 and 125) that everyone accepts.....turn them into "improvements" rather than closing the bug. It's nice too keep those in the open state, so we can have a peek through for future versions... otherwise, Cheers, Clinton On 5/31/06, Jeff Butler <[email protected]> wrote: > > Hi All, > > I've been doing some looking in JIRA for low hanging fruit, and have come > across some things that should probably be closed as "won't fix". Here are > the items, and my reasons: > > IBATIS-214 - simple workaround - don't use parameter maps > IBATIS-140 - odd request, no comments, over 1 year old > IBATIS-129 - not a bug or enhancement request, just an announcement > IBATIS-125 - simple workaround exists, no comments for nearly a year > > If you have any comments, please respond. Otherwise I'll close as "won't > fix" on June 7. > > Thanks! > Jeff Butler > > ------=_Part_6387_4008238.1149133481502 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <br>If they're &quot;bugs&quot; with workarounds (214 and 125) that everyone accepts.....turn them into &quot;improvements&quot; rather than closing the bug.&nbsp; It's nice too keep those in the open state, so we can have a peek through for future versions...&nbsp; otherwise, <br><br>Cheers,<br>Clinton<br><br><br><div><span class="gmail_quote">On 5/31/06, <b class="gmail_sendername">Jeff Butler</b> &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div><div>Hi All,</div> <div>&nbsp;</div> <div>I've been doing some looking in JIRA for low hanging fruit, and have come across some things that should probably be closed as &quot;won't fix&quot;.&nbsp; Here are the items, and my reasons:</div> <div>&nbsp;</div> <div>IBATIS-214 - simple workaround -&nbsp;don't use parameter maps<br>IBATIS-140 -&nbsp;odd request, no comments,&nbsp;over 1 year old<br>IBATIS-129 - not a bug or enhancement request, just an announcement<br>IBATIS-125 - simple workaround exists, no comments for nearly a year <br>&nbsp;</div> <div>If you have any comments, please respond.&nbsp; Otherwise I'll close as &quot;won't fix&quot; on June 7.</div> <div>&nbsp;</div> <div>Thanks!</div></div><div><span class="sg"> <div>Jeff Butler</div> <div>&nbsp;</div> </span></div></blockquote></div><br> ------=_Part_6387_4008238.1149133481502-- From [email protected] Thu Jun 01 05:31:24 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41291 invoked from network); 1 Jun 2006 05:31:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Jun 2006 05:31:24 -0000 Received: (qmail 75362 invoked by uid 500); 1 Jun 2006 05:31:24 -0000 Delivered-To: [email protected] Received: (qmail 75226 invoked by uid 500); 1 Jun 2006 05:31:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 75215 invoked by uid 99); 1 Jun 2006 05:31:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 22:31:23 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 22:31:23 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 0B67A714219 for <[email protected]>; Thu, 1 Jun 2006 05:30:31 +0000 (GMT) Message-ID: <900868.1149139831044.JavaMail.jira@brutus> Date: Thu, 1 Jun 2006 05:30:31 +0000 (GMT+00:00) From: "Gilles Bayon (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATISNET-158) TypeAssemblyInfo.SplitTypeAndAssemblyNames In-Reply-To: <28308023.1147879986859.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATISNET-158?page=comments#action_12414201 ] Gilles Bayon commented on IBATISNET-158: ---------------------------------------- I have redo the type resolver to support all generic type. You case should be handle by the current code even if you don't see your fix. See unit test IBatisNet.Common.Test.NUnit.CommonTests.Utilities.TypeResolverTest. -Gilles > TypeAssemblyInfo.SplitTypeAndAssemblyNames > ------------------------------------------ > > Key: IBATISNET-158 > URL: http://issues.apache.org/jira/browse/IBATISNET-158 > Project: iBatis for .NET > Type: Improvement > Components: DataMapper > Versions: DataMapper 1.3 > Reporter: Chris Potter > Assignee: Gilles Bayon > Fix For: DataMapper 1.5 > > Hi All: > > I'd like to propose a change to the TypeAssemblyInfo internal class within TypeResolver.cs. Please see the proposed code change below. > > private void SplitTypeAndAssemblyNames (string originalTypeName) > { > int typeAssemblyIndex > // Original Code = originalTypeName.IndexOf ( > = originalTypeName.LastIndexOf ( > TypeAssemblyInfo.TypeAssemblySeparator); > if (typeAssemblyIndex < 0) > { > unresolvedTypeName = originalTypeName; > } > else > { > unresolvedTypeName = originalTypeName.Substring ( > 0, typeAssemblyIndex).Trim (); > unresolvedAssemblyName = originalTypeName.Substring ( > typeAssemblyIndex + 1).Trim (); > } > } > > Changing the call from IndexOf to LastIndexOf allows me to define a .Net 2.0 generic in the listClass attribute of a statement definition. You can see an example below. This syntax is impropertly parsed for a comma without this proposed change. > > <select id="LoadCodesByCategory" parameterMap="CodeData.CodeDataByCategoryParams" resultMap="LoadStateCode" listClass="System.Collections.Generic.List`1[[NFS.Data.Core.DataObjects.Impl.StateCode, NFS.Data.Impl]], mscorlib"> > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
From [email protected] Tue Feb 02 12:51:24 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25954 invoked from network); 2 Feb 2010 12:51:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Feb 2010 12:51:24 -0000 Received: (qmail 8030 invoked by uid 500); 2 Feb 2010 12:51:24 -0000 Delivered-To: [email protected] Received: (qmail 7959 invoked by uid 500); 2 Feb 2010 12:51:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7950 invoked by uid 99); 2 Feb 2010 12:51:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 12:51:23 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-gx0-f228.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 12:51:16 +0000 Received: by gxk28 with SMTP id 28so5739gxk.9 for <[email protected]>; Tue, 02 Feb 2010 04:50:54 -0800 (PST) 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=ye19LT040YmiGv9IjAgWB0ij59v7NoZJVG1aMFwmz8c=; b=B6aOGcwft9AcS809XEACZK6VdUjwhQiMKA9o4C4Rkag+sqcdsfYoalq+NSLPIsl/OL DPkX8B7w375zF2xtLJuR5l46cP5uORo3HLyxJj7ioTXfEJ08OspViKlg7AcV3gFDLFhN WjEdHzW+IqD8B89Ome06np8IEQizUNKhgQH3Q= 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=F6sC5mY29La2WMHrKIjKGt+45o2Pf4sGj0bxvF+g7ClqiqaH1Pf+8JDG8Sxr55wMcj MyMMAq3tMhIAHJAJJw7r54e28+m18gfrPXqkFtp5hU4AhmeENA4DZvSrVozHFpHwvNZk /M8gV/BB+L7rR31DdSa7wjpn5gs3mal8YuNFU= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id s23mr8286611ybc.260.1265115052013; Tue, 02 Feb 2010 04:50:52 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Tue, 2 Feb 2010 18:35:51 +0545 Message-ID: <[email protected]> Subject: Re: Does the class of the Mapper output need to match the exact class of the specified output? From: Rajan Dev <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=000e0cd70aec467b5f047e9d8d0a --000e0cd70aec467b5f047e9d8d0a Content-Type: text/plain; charset=ISO-8859-1 Hello I have been working on counters for the jobs. I did get all the counters for jobs . but i do require to show all the counters in my own UI. i am using webservices to show all the counters. Could someone help me with this..? or is there any other way to get thecounters My approach :- i use reporter.incrcounter method to get the counters increment. and run another program to read all the counters Regards, Rajan --000e0cd70aec467b5f047e9d8d0a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello <br>=A0I have been working on counters for the jobs.<br>=A0I did get = all the counters for jobs . but i do require to show=A0 all the counters in= my own UI. i am using webservices to show all the counters.<br><br>Could s= omeone help me with this..?<br> or is there any other way to get thecounters<br>My approach :-<br>i use rep= orter.incrcounter method to get the counters increment.<br>and run another = program to read all the counters<br><br>Regards,<br>Rajan <br> --000e0cd70aec467b5f047e9d8d0a-- From [email protected] Tue Feb 02 16:19:00 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10295 invoked from network); 2 Feb 2010 16:19:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Feb 2010 16:19:00 -0000 Received: (qmail 93454 invoked by uid 500); 2 Feb 2010 16:19:00 -0000 Delivered-To: [email protected] Received: (qmail 93374 invoked by uid 500); 2 Feb 2010 16:18:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 93365 invoked by uid 99); 2 Feb 2010 16:18:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 16:18:59 +0000 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO qmta14.emeryville.ca.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 16:18:49 +0000 Received: from omta03.emeryville.ca.mail.comcast.net ([161.129.204.104]) by qmta14.emeryville.ca.mail.comcast.net with comcast id d1ko1d00C0b6N64AE4JWvv; Tue, 02 Feb 2010 16:18:30 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by omta03.emeryville.ca.mail.comcast.net with comcast id d4JM1d00M2SbwD58P4JQhc; Tue, 02 Feb 2010 16:18:28 +0000 Message-Id: <[email protected]> From: Owen O'Malley <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: multipart/alternative; boundary=Apple-Mail-11--942508332 Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: Does the class of the Mapper output need to match the exact class of the specified output? Date: Tue, 2 Feb 2010 08:18:20 -0800 References: <[email protected]> X-Mailer: Apple Mail (2.936) --Apple-Mail-11--942508332 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Jan 26, 2010, at 5:17 PM, Wilkes, Chris wrote: > Does this level of checking really need to be done? For Writables, the simple answer is yes. It happens because the way you deserialize is to: Writable obj = ReflectionUtils.newInstance(cls, conf); obj.readFields(in); So you need to know the specific class to read into. To support this use case, there is library code available in Hadoop: http://bit.ly/9UoZGc There is work underway to loosen the restriction in trunk, but that is a long ways from being released. -- Owen --Apple-Mail-11--942508332 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable <html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = -webkit-line-break: after-white-space; "><br><div><div>On Jan 26, 2010, = at 5:17 PM, Wilkes, Chris wrote:</div><br = class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div = style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = -webkit-line-break: after-white-space; "><div><div><div><pre><div = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font = class=3D"Apple-style-span" face=3D"Helvetica" size=3D"3"><span = class=3D"Apple-style-span" style=3D"font-size: 12px;">Does this level of = checking really need to be = done?</span></font></div></pre></div></div></div></div></blockquote></div>= <div>For Writables, the simple answer is yes. It happens because the way = you deserialize is to:</div><div><br></div><div>Writable obj =3D = ReflectionUtils.newInstance(cls, = conf);</div><div>obj.readFields(in);</div><div><br></div><div>So you = need to know the specific class to read into. To support this use case, = there is library code available in Hadoop:</div><div><br></div><div><a = href=3D"http://bit.ly/9UoZGc">http://bit.ly/9UoZGc</a></div><div><br></div= ><div>There is work underway to loosen the restriction in trunk, but = that is a long ways from being released.</div><div><br></div><div>-- = Owen</div></body></html>= --Apple-Mail-11--942508332-- From [email protected] Tue Feb 02 16:22:30 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11115 invoked from network); 2 Feb 2010 16:22:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Feb 2010 16:22:30 -0000 Received: (qmail 553 invoked by uid 500); 2 Feb 2010 16:22:29 -0000 Delivered-To: [email protected] Received: (qmail 498 invoked by uid 500); 2 Feb 2010 16:22:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 489 invoked by uid 99); 2 Feb 2010 16:22:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 16:22:29 +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: local policy) Received: from [161.129.204.104] (HELO mail-pz0-f195.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 16:22:22 +0000 Received: by pzk33 with SMTP id 33so180452pzk.2 for <[email protected]>; Tue, 02 Feb 2010 08:22:01 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id r14mr4198696rvq.286.1265127720928; Tue, 02 Feb 2010 08:22:00 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Tue, 2 Feb 2010 08:22:00 -0800 Message-ID: <[email protected]> Subject: Re: Does the class of the Mapper output need to match the exact class of the specified output? From: Alex Kozlov <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=000e0cd1b72866c845047ea0805c --000e0cd1b72866c845047ea0805c Content-Type: text/plain; charset=ISO-8859-1 You can get them through JobTracker object. Where the other program is running? On Tue, Feb 2, 2010 at 4:50 AM, Rajan Dev <[email protected]> wrote: > Hello > I have been working on counters for the jobs. > I did get all the counters for jobs . but i do require to show all the > counters in my own UI. i am using webservices to show all the counters. > > Could someone help me with this..? > or is there any other way to get thecounters > My approach :- > i use reporter.incrcounter method to get the counters increment. > and run another program to read all the counters > > Regards, > Rajan > --000e0cd1b72866c845047ea0805c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable You can get them through JobTracker object. =A0Where the other program is r= unning?<br><br><div class=3D"gmail_quote">On Tue, Feb 2, 2010 at 4:50 AM, R= ajan Dev <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]">kulketa= @gmail.com</a>&gt;</span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex;">Hello <br>=A0I have been working on counter= s for the jobs.<br>=A0I did get all the counters for jobs . but i do requir= e to show=A0 all the counters in my own UI. i am using webservices to show = all the counters.<br> <br>Could someone help me with this..?<br> or is there any other way to get thecounters<br>My approach :-<br>i use rep= orter.incrcounter method to get the counters increment.<br>and run another = program to read all the counters<br><br>Regards,<br><font color=3D"#888888"= >Rajan <br> </font></blockquote></div><br> --000e0cd1b72866c845047ea0805c-- From [email protected] Wed Feb 03 06:05:49 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57417 invoked from network); 3 Feb 2010 06:05:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Feb 2010 06:05:48 -0000 Received: (qmail 16576 invoked by uid 500); 3 Feb 2010 06:05:48 -0000 Delivered-To: [email protected] Received: (qmail 16485 invoked by uid 500); 3 Feb 2010 06:05:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 16476 invoked by uid 99); 3 Feb 2010 06:05:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 06:05:46 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iw0-f185.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 06:05:38 +0000 Received: by iwn15 with SMTP id 15so1213091iwn.10 for <[email protected]>; Tue, 02 Feb 2010 22:05:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=Mns8qWUlVtByM99dfcK1wSBQcUKvb7zah3C78MZ8V5A=; b=uCGwD3mbCUWYUOExQDFP4mPbbKFdW+vky1UBqx9xbZJp9VE6gwiO4JyaCvxqkN5m0N gbkLPwvHcQ18AtAhpe/ndITGbSnWKwGlEswtFoW5aFHXC9cR/neBUTTKD5gJy+2FWBrn vZCsk/T9zy1SJPKocCMkPkLTtw0/t0/MehbDo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=gF+OnK4XmPf6Lw6mMjKwVRB9nxEWTPvN76DS7WmAUnI7TjZCvNN/L5/y7gXOJYeT0K 0aoXiTvwLiWQt/zHRY4j+7lE0HoZg2UzfgukEt+Ir8VICvH3w9EYPspuEu2Xx8p7LxsQ 0Eg8oiU43wWizibqJdXujxc4ua7wRtfjbvhBY= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id g15mr3666702ibv.49.1265177117102; Tue, 02 Feb 2010 22:05:17 -0800 (PST) From: Raghava Mutharaju <[email protected]> Date: Wed, 3 Feb 2010 01:04:57 -0500 Message-ID: <[email protected]> Subject: avoiding data redistribution in iterative mapreduce To: [email protected] Content-Type: multipart/alternative; boundary=0016e647601ea49369047eac0011 X-Virus-Checked: Checked by ClamAV on apache.org --0016e647601ea49369047eac0011 Content-Type: text/plain; charset=ISO-8859-1 Hi all, I to run a map reduce task repeatedly in order to achieve the desired result. Is it possible that at the beginning of each iteration, the data set is not distributed (divided into chunks and distributed) again and again i.e. once the distribution occurs for the first time, map nodes should work on the same chunk in every iteration. Can this be done? I only have a brief experience with MapReduce and I think that the input data set is redistributed every time. Thank you. Regards, Raghava. --0016e647601ea49369047eac0011 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi all,<br><br>=A0=A0=A0=A0=A0 I to run a map reduce task repeatedly in ord= er to achieve the desired result. Is it possible that at the beginning of e= ach iteration, the data set is not distributed (divided into chunks and dis= tributed) again and again i.e. once the distribution occurs for the first t= ime, map nodes should work on the same chunk in every iteration. Can this b= e done? I only have a brief experience with MapReduce and I think that the = input data set is redistributed every time.<br> <br>Thank you.<br><br>Regards,<br>Raghava.<br> --0016e647601ea49369047eac0011-- From [email protected] Wed Feb 03 12:37:07 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97730 invoked from network); 3 Feb 2010 12:37:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Feb 2010 12:37:06 -0000 Received: (qmail 23246 invoked by uid 500); 3 Feb 2010 12:37:06 -0000 Delivered-To: [email protected] Received: (qmail 23203 invoked by uid 500); 3 Feb 2010 12:37:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23194 invoked by uid 99); 3 Feb 2010 12:37:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 12:37:05 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yw0-f184.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 12:36:57 +0000 Received: by ywh14 with SMTP id 14so1292397ywh.20 for <[email protected]>; Wed, 03 Feb 2010 04:36:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=hJOSpNZ357oQfmWBFPpbkap2526ak134NnTQVTHdYu4=; b=lBHSrq/XbfLz8jKmDTN9dqU3Z0+vgD702W3qJLhQZPkZLgLrB1CMoWFLWfR01Jk/gm YYnq9nPGrt03MgkPZ04G2nFzzVup5y38z1T6vuZMM9h0EfJ2706CyNZsFudA0LKZ13jo tHl7FUzmtrnN3D9M1pFtZaGkAW6pnylRccqgg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=DAbqNk7tzeIMkWtjJmZ/0pcx2bo5MidG8Rs7KAt4Hogi7MzLJ60UEWaixMMxFjOlvm ZReGQODlopx3hpu1EGhUA2K+8psMt2V8WUY3f/zdQBr1bCIa2d+ss+vo9Jy3765TMYrp BHGHBeVynQxlk6aNV6wkGtThOhcopLbGJsvak= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id v31mr10493749ybv.319.1265200596331; Wed, 03 Feb 2010 04:36:36 -0800 (PST) Date: Wed, 3 Feb 2010 18:21:36 +0545 Message-ID: <[email protected]> Subject: Reading Counters From: Rajan Dev <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=000e0cd70cc61d2def047eb178a7 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd70cc61d2def047eb178a7 Content-Type: text/plain; charset=ISO-8859-1 We have a hadoop job running and have used custom counters to track few counters ( like no of successfully processed documents matching certain conditions) Since we need to get this counters even while the Hadoop job is running , we wrote another Java program to read these counters * Counter reader* program will do the following : 1) List all the running jobs. 2) Get the running job using Job name 2) Get all the counter for individual running jobs 3) Set this counters in variables. We could successfully read these counters , but since we need to show these counters to custom UI , how can we show these counters? we looked into various options to read these counters to show in UI as following : 1. Dump these counters to database , however this may be overhead 2. Write web service and UI will invoke the functions from these service to show in UI ( However since we need to run "Counter reader program " with Hadoop command it might not be feasible to write web service ? ) so the question is can we achive to read the counters using simple Java APIs ? Does anyone have idea how does the default jobtracker JSP works ? we wanted to built something similar to this thanks Rajan Dev --000e0cd70cc61d2def047eb178a7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable We have a hadoop job running and have used custom counters to track=A0 few = counters ( like no of successfully processed documents matching certain con= ditions)<br><br><br>Since we need to get this counters even while the Hadoo= p job is running , we wrote another Java program to read these counters<br> <br><b><br>Counter reader</b>=A0 program will do the following :<br><br><br= >1)=A0=A0=A0=A0=A0 List all the running jobs.<br><br>2)=A0=A0 Get the runni= ng job using Job name<br><br>2)=A0=A0=A0=A0 Get all the counter for individ= ual running jobs<br> <br>3)=A0=A0=A0=A0=A0 Set this counters in variables.<br>=A0=A0=A0=A0=A0=A0= =A0 We could successfully read these counters=A0 , but since we need to sho= w these counters to custom UI , how can we show these counters?<br><br>=A0= =A0=A0=A0=A0=A0=A0 we looked into various options to read these counters to= show in UI as following :<br> <br>=A0=A0=A0=A0=A0 1. Dump these counters to database , however this may b= e overhead<br>=A0=A0=A0=A0=A0 2. Write web service=A0=A0 and UI will invoke= the functions from these service to show in UI ( However since we need to = run &quot;Counter reader=A0 program &quot;=A0 with Hadoop command it might = not be feasible to write web service ?=A0=A0 )<br> <br>=A0=A0=A0=A0=A0 so the question is can we achive to read the counters u= sing simple Java APIs ? Does anyone have idea how does the default jobtrack= er JSP works ? we wanted to built something similar to this<br><br>thanks<b= r>Rajan Dev<br> --000e0cd70cc61d2def047eb178a7-- From [email protected] Wed Feb 03 15:00:50 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58716 invoked from network); 3 Feb 2010 15:00:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Feb 2010 15:00:50 -0000 Received: (qmail 4181 invoked by uid 500); 3 Feb 2010 15:00:50 -0000 Delivered-To: [email protected] Received: (qmail 4102 invoked by uid 500); 3 Feb 2010 15:00:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4091 invoked by uid 99); 3 Feb 2010 15:00:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 15:00:49 +0000 X-ASF-Spam-Status: No, hits=4.2 required=10.0 tests=HTML_MESSAGE,NO_RDNS_DOTCOM_HELO,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mrout3.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 15:00:37 +0000 Received: from EGL-EX07CAS02.ds.corp.yahoo.com (egl-ex07cas02.eglbp.corp.yahoo.com [161.129.204.104]) by mrout3.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id o13ExGas038587 for <[email protected]>; Wed, 3 Feb 2010 06:59:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=received:from:to:date:subject:thread-topic:thread-index: message-id:in-reply-to:accept-language:content-language: x-ms-has-attach:x-ms-tnef-correlator:acceptlanguage:content-type:mime-version; b=jvpEZmUxVHTI7S/kREmRUSM2BwASxlc8B3oVVAOeW+lNJh1ah6qN0tg+P253Qm9c Received: from EGL-EX07VS01.ds.corp.yahoo.com ([161.129.204.104]) by EGL-EX07CAS02.ds.corp.yahoo.com ([161.129.204.104]) with mapi; Wed, 3 Feb 2010 20:29:15 +0530 From: Amogh Vasekar <[email protected]> To: "[email protected]" <[email protected]> Date: Wed, 3 Feb 2010 20:29:14 +0530 Subject: Re: avoiding data redistribution in iterative mapreduce Thread-Topic: avoiding data redistribution in iterative mapreduce Thread-Index: Acqklv5kR6UN//XKSOmtWm/TygU2ugASnTCo Message-ID: <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_C78F8D1A6E98amoghyahooinccom_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_C78F8D1A6E98amoghyahooinccom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, If each of your sequential iteration is map+reduce, then no. The lifetime of a split is confined to a single map reduce job. The split i= s actually a reference to data, which is used to schedule job as close as p= ossible to data. The record reader then uses same object to pass the <k,v> = in split. What you need, I believe, is "just run on whatever map has". If you are usi= ng an exclusive private cluster, you can probably localize <k,v> from first= iteration and use dummy input data ( to ensure same number of mapper tasks= as first round, and use custom classes of MapRunner, RecordReader to not r= ead data from supplied input )But how can you ensure that you get the same = nodes always to run your map reduce job on a shared cluster? Please correct me if I misunderstood your question. Amogh On 2/3/10 11:34 AM, "Raghava Mutharaju" <[email protected]> wrote: Hi all, I to run a map reduce task repeatedly in order to achieve the desired= result. Is it possible that at the beginning of each iteration, the data s= et is not distributed (divided into chunks and distributed) again and again= i.e. once the distribution occurs for the first time, map nodes should wor= k on the same chunk in every iteration. Can this be done? I only have a bri= ef experience with MapReduce and I think that the input data set is redistr= ibuted every time. Thank you. Regards, Raghava. --_000_C78F8D1A6E98amoghyahooinccom_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <HTML> <HEAD> <TITLE>Re: avoiding data redistribution in iterative mapreduce</TITLE> </HEAD> <BODY> <FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><SPAN STYLE=3D'font-size:= 14pt'>Hi,<BR> If each of your sequential iteration is map+reduce, then no. <BR> The lifetime of a split is confined to a single map reduce job. The split i= s actually a reference to data, which is used to schedule job as close as p= ossible to data. The record reader then uses same object to pass the &lt;k,= v&gt; in split.<BR> What you need, I believe, is &#8220;just run on whatever map has&#8221;. If= you are using an exclusive private cluster, you can probably localize &lt;= k,v&gt; from first iteration and use dummy input data ( to ensure same numb= er of mapper tasks as first round, and use custom classes of MapRunner, Rec= ordReader to not read data from supplied input )But how can you ensure that= you get the same nodes always to run your map reduce job on a shared clust= er?<BR> Please correct me if I misunderstood your question.<BR> <BR> Amogh<BR> <BR> <BR> On 2/3/10 11:34 AM, &quot;Raghava Mutharaju&quot; &lt;<a href=3D"m.vijayara= [email protected]">[email protected]</a>&gt; wrote:<BR> <BR> </SPAN></FONT><BLOCKQUOTE><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"= ><SPAN STYLE=3D'font-size:14pt'>Hi all,<BR> <BR> =A0=A0=A0=A0=A0 I to run a map reduce task repeatedly in order to achieve t= he desired result. Is it possible that at the beginning of each iteration, = the data set is not distributed (divided into chunks and distributed) again= and again i.e. once the distribution occurs for the first time, map nodes = should work on the same chunk in every iteration. Can this be done? I only = have a brief experience with MapReduce and I think that the input data set = is redistributed every time.<BR> <BR> Thank you.<BR> <BR> Regards,<BR> Raghava.<BR> <BR> </SPAN></FONT></BLOCKQUOTE> </BODY> </HTML> --_000_C78F8D1A6E98amoghyahooinccom_-- From [email protected] Wed Feb 03 19:37:26 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90297 invoked from network); 3 Feb 2010 19:37:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Feb 2010 19:37:26 -0000 Received: (qmail 80812 invoked by uid 500); 3 Feb 2010 19:37:25 -0000 Delivered-To: [email protected] Received: (qmail 80759 invoked by uid 500); 3 Feb 2010 19:37:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 80750 invoked by uid 99); 3 Feb 2010 19:37:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 19:37:25 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iw0-f193.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 19:37:18 +0000 Received: by iwn33 with SMTP id 33so238835iwn.20 for <[email protected]>; Wed, 03 Feb 2010 11:36:58 -0800 (PST) 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 :from:date:message-id:subject:to:content-type; bh=qGfVa3v5+XBr08l1xCXdxuEdlBCws+lxdZY0prhtjiQ=; b=PR9n0GYSQqhhN1DM4rvbuuPMn1B2EgqNh1rxV1no1MtHLMMYZcYiSHHt3QYBevsIhS oymfurhAo6V3/m63O+2WWATkEsVnDtCWP+le8it8ORLPEOlr+LLNZ9Fq0BQLY9Gvb0ul 4Dq2n0fO3kF6Y5GFShtBXMSaVkf3eGcSV8DYA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=p23Fd609h3ZjZOfe8BAdcjArLFhwV1dv0aSrc+zRkulb3MeGPiz5t47KR4PvLWpocK t1w+x9Aj/sQeXrL6v+70JR0EzTsMx//gjCH3/Fk2qzuc1rDshTP/1O+ZkmtTTnTVi7Kr E/usEkbTqJe8lh/73fhcg+2hzlWHN0rN1dviA= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id n13mr134879ibw.11.1265225818110; Wed, 03 Feb 2010 11:36:58 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> From: Raghava Mutharaju <[email protected]> Date: Wed, 3 Feb 2010 14:36:38 -0500 Message-ID: <[email protected]> Subject: Re: avoiding data redistribution in iterative mapreduce To: [email protected] Content-Type: multipart/alternative; boundary=001636cd737f72fa62047eb757ad --001636cd737f72fa62047eb757ad Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi Amogh, Thank you for the reply. >>> What you need, I believe, is =93just run on whatever map has=94. You got that right :). An example of sequential program would b= e Bubble Sort which needs several iterations for the end result and in each iteration it needs to work on the previous output (partially sorted list) rather than the initial input. In my case also, the same thing should happen. >>> If you are using an exclusive private cluster, you can probably localiz= e <k,v> from first iteration and >>> use dummy input data ( to ensure same number of mapper tasks as first round, and use custom >>> classes of MapRunner, RecordReader to not read data from supplied input ) Yes, it would be a local cluster, the one in my university. If we set the no of map tasks, would it not be followed in each iteration? As mentioned in the documentation, I think I need to use JobClient to control the no of iterations. >>> But how can you ensure that you get the same nodes always to run your map reduce job on a >>> shared cluster? while (!done) { JobClient.runJob(jobConf); <<Do something to check termination condition>>} If I write something like that in the code, would not the Map node run on the same data chunk it has each time? Will there be a re-assignment of Map = & Reduce nodes by the Master? Regards, Raghava. On Wed, Feb 3, 2010 at 9:59 AM, Amogh Vasekar <[email protected]> wrote: > Hi, > If each of your sequential iteration is map+reduce, then no. > The lifetime of a split is confined to a single map reduce job. The split > is actually a reference to data, which is used to schedule job as close a= s > possible to data. The record reader then uses same object to pass the <k,= v> > in split. > What you need, I believe, is =93just run on whatever map has=94. If you a= re > using an exclusive private cluster, you can probably localize <k,v> from > first iteration and use dummy input data ( to ensure same number of mappe= r > tasks as first round, and use custom classes of MapRunner, RecordReader t= o > not read data from supplied input )But how can you ensure that you get th= e > same nodes always to run your map reduce job on a shared cluster? > Please correct me if I misunderstood your question. > > Amogh > > > > On 2/3/10 11:34 AM, "Raghava Mutharaju" <[email protected]> wrote= : > > Hi all, > > I to run a map reduce task repeatedly in order to achieve the desir= ed > result. Is it possible that at the beginning of each iteration, the data = set > is not distributed (divided into chunks and distributed) again and again > i.e. once the distribution occurs for the first time, map nodes should wo= rk > on the same chunk in every iteration. Can this be done? I only have a bri= ef > experience with MapReduce and I think that the input data set is > redistributed every time. > > Thank you. > > Regards, > Raghava. > > --001636cd737f72fa62047eb757ad Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi Amogh,<br><br>=A0=A0=A0=A0=A0=A0 Thank you for the reply.=A0 <br><br>&gt= ;&gt;&gt; <font face=3D"Calibri, Verdana, Helvetica, Arial"><span style=3D"= font-size: 14pt;">What you need, I believe, is =93just run on whatever map = has=94.<br>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 You got that right :). An exam= ple of sequential program would be Bubble Sort which needs several iteratio= ns for the end result and in each iteration it needs to work on the previou= s output (partially sorted list) rather than the initial input. In my case = also, the same thing should happen.<br> <br>&gt;&gt;&gt; </span></font><font face=3D"Calibri, Verdana, Helvetica, A= rial"><span style=3D"font-size: 14pt;">If you are using an exclusive private cluster, you can probably localize &lt;k,v&gt; from first iteration and &gt;&gt;&gt; use dummy input data ( to= ensure same number of mapper tasks as first round, and use custom &gt;&gt;&gt; cla= sses of MapRunner, RecordReader to not read data from supplied input )<br>=A0=A0 <b= r>=A0=A0=A0=A0=A0=A0=A0=A0=A0 Yes, it would be a local cluster, the one in = my university. If we set the no of map tasks, would it not be followed in e= ach iteration? As mentioned in the documentation, I think I need to use Job= Client to control the no of iterations.=A0 <br> <br><br>&gt;&gt;&gt; </span></font><font face=3D"Calibri, Verdana, Helvetic= a, Arial"><span style=3D"font-size: 14pt;">But how can you ensure that you = get the same nodes always to run your map reduce job on a <br>&gt;&gt;&gt; = shared cluster?</span></font><br> <br>=A0 =A0 =A0 =A0 =A0=A0 while (!done) { JobClient.runJob(jobConf); &lt;&= lt;Do something to check termination condition&gt;&gt;}<br><br>If I write s= omething like that in the code, would not the Map node run on the same data= chunk it has each time? Will there be a re-assignment of Map &amp; Reduce = nodes by the Master?<br> <br><br>Regards,<br>Raghava. =A0=A0=A0=A0=A0=A0=A0=A0 <br><br><div class=3D= "gmail_quote">On Wed, Feb 3, 2010 at 9:59 AM, Amogh Vasekar <span dir=3D"lt= r">&lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt;</= span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"border-left: 1px= solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div> <font face=3D"Calibri, Verdana, Helvetica, Arial"><span style=3D"font-size:= 14pt;">Hi,<br> If each of your sequential iteration is map+reduce, then no. <br> The lifetime of a split is confined to a single map reduce job. The split i= s actually a reference to data, which is used to schedule job as close as p= ossible to data. The record reader then uses same object to pass the &lt;k,= v&gt; in split.<br> What you need, I believe, is =93just run on whatever map has=94. If you are= using an exclusive private cluster, you can probably localize &lt;k,v&gt; = from first iteration and use dummy input data ( to ensure same number of ma= pper tasks as first round, and use custom classes of MapRunner, RecordReade= r to not read data from supplied input )But how can you ensure that you get= the same nodes always to run your map reduce job on a shared cluster?<br> Please correct me if I misunderstood your question.<br><font color=3D"#8888= 88"> <br> Amogh</font><div><div></div><div class=3D"h5"><br> <br> <br> On 2/3/10 11:34 AM, &quot;Raghava Mutharaju&quot; &lt;<a href=3D"http://m.v= [email protected]" target=3D"_blank">[email protected]</a>&gt;= wrote:<br> <br> </div></div></span></font><div><div></div><div class=3D"h5"><blockquote><fo= nt face=3D"Calibri, Verdana, Helvetica, Arial"><span style=3D"font-size: 14= pt;">Hi all,<br> <br> =A0=A0=A0=A0=A0 I to run a map reduce task repeatedly in order to achieve t= he desired result. Is it possible that at the beginning of each iteration, = the data set is not distributed (divided into chunks and distributed) again= and again i.e. once the distribution occurs for the first time, map nodes = should work on the same chunk in every iteration. Can this be done? I only = have a brief experience with MapReduce and I think that the input data set = is redistributed every time.<br> <br> Thank you.<br> <br> Regards,<br> Raghava.<br> <br> </span></font></blockquote> </div></div></div> </blockquote></div><br> --001636cd737f72fa62047eb757ad-- From [email protected] Thu Feb 04 02:42:17 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85138 invoked from network); 4 Feb 2010 02:42:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Feb 2010 02:42:16 -0000 Received: (qmail 95666 invoked by uid 500); 4 Feb 2010 02:42:16 -0000 Delivered-To: [email protected] Received: (qmail 95570 invoked by uid 500); 4 Feb 2010 02:42:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 95561 invoked by uid 99); 4 Feb 2010 02:42:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 02:42:15 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-pz0-f173.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 02:42:08 +0000 Received: by pzk3 with SMTP id 3so758972pzk.5 for <[email protected]>; Wed, 03 Feb 2010 18:41:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=MObka8oNG5lGZLn/KZpbq8RVXuZ393US3mVCyz2bNYU=; b=QT+gN7c2g38VFw6gZhkMrFao8Zr1Uox7LEid7tAP3poQa8nhA//eE/vgkxdYkEiwu9 w/S2zlbQQe0m1ZNSVYPRm3xFUb9HfqGNR8BmHDOsZieYZZ3yiB8Tn5XSmDNDcvKomJkM auMOsv4Va3ZPFWWThxB6rynQRI0zT6HG2FmGw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=fmjt1iMN2LIPLMM/x5yTRa5Hzf2EkbhmOsi9yQhngFGAxph9XnabZDpLAJFvRuB8l3 /zHbaoohALW/4Co9bz8fU7A1w8fC0yihvYKwp20Vq3Je/K0eKY8jH5VOg0GX46DZJfuF barqbRUDNprd7qrhZaS6+Te41FHWvT5uK/SCc= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id n13mr311226wal.192.1265251308698; Wed, 03 Feb 2010 18:41:48 -0800 (PST) Date: Thu, 4 Feb 2010 10:41:48 +0800 Message-ID: <[email protected]> Subject: Barrier between reduce and map of the next round From: Felix Halim <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Hi all, As far as I know, a barrier exists between map and reduce function in one round of MR. There is another barrier for the reducer to end the job for that round. However if we want to run in several rounds using the same map and reduce functions, then the barrier between reduce and the map of the next round is NOT necessary, right? Since the reducer only output a single value for each key. This reducer may as well run a map task for the next round immediately rather than waiting for all reducer to finish. This way, the utilization of the machines between rounds can be improved. Is there a setting in Hadoop to do that? Felix Halim From [email protected] Thu Feb 04 03:52:35 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2564 invoked from network); 4 Feb 2010 03:52:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Feb 2010 03:52:34 -0000 Received: (qmail 42668 invoked by uid 500); 4 Feb 2010 03:52:32 -0000 Delivered-To: [email protected] Received: (qmail 42528 invoked by uid 500); 4 Feb 2010 03:52:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 42500 invoked by uid 99); 4 Feb 2010 03:52:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 03:52:31 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mrout3.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 03:52:20 +0000 Received: from walkduty-lm.corp.yahoo.com (walkduty-lm.corp.yahoo.com [161.129.204.104]) by mrout3.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id o143p3Lh044681; Wed, 3 Feb 2010 19:51:03 -0800 (PST) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=message-id:from:to:content-type: content-transfer-encoding:mime-version:subject:date:cc:x-mailer; b=UQdyN6m829qrt5KTt6fbnBN8GnzK1KnWbSQbqnBZggHcepv4/YugWhKl0aIYd5Cl Message-Id: <[email protected]> From: Arun C Murthy <[email protected]> To: [email protected], [email protected] Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: New Hadoop Map-Reduce Committer: Vinod Kumar V. Date: Wed, 3 Feb 2010 19:51:03 -0800 Cc: [email protected] X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org The Hadoop PMC has voted to make Vinod Kumar V. a committer on Hadoop Map-Reduce. Congratulations, Vinod. Thanks again for all your valuable contributions, we look forward to more! Arun From [email protected] Thu Feb 04 04:26:20 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10368 invoked from network); 4 Feb 2010 04:26:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Feb 2010 04:26:20 -0000 Received: (qmail 62998 invoked by uid 500); 4 Feb 2010 04:26:20 -0000 Delivered-To: [email protected] Received: (qmail 62946 invoked by uid 500); 4 Feb 2010 04:26:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 62937 invoked by uid 99); 4 Feb 2010 04:26:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 04:26:19 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.cs.umass.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 04:26:10 +0000 Received: from mail-ew0-f218.google.com (mail-ew0-f218.google.com [161.129.204.104]) (authenticated bits=0 authid=mazur) by mail.cs.umass.edu (8.13.8/8.13.1) with ESMTP id o144PmNf030900 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for <[email protected]>; Wed, 3 Feb 2010 23:25:49 -0500 Received: by ewy10 with SMTP id 10so266429ewy.31 for <[email protected]>; Wed, 03 Feb 2010 20:25:42 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id b6mr310835wef.100.1265257542881; Wed, 03 Feb 2010 20:25:42 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> Date: Wed, 3 Feb 2010 23:25:42 -0500 Message-ID: <[email protected]> Subject: Re: Barrier between reduce and map of the next round From: Ed Mazur <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Felix, You can use ChainMapper and ChainReducer to create jobs of the form M+RM*. Is that what you're looking for? I'm not aware of anything that allows you to have multiple reduce functions without the job "barrier". Ed On Wed, Feb 3, 2010 at 9:41 PM, Felix Halim <[email protected]> wrote: > Hi all, > > As far as I know, a barrier exists between map and reduce function in > one round of MR. There is another barrier for the reducer to end the > job for that round. However if we want to run in several rounds using > the same map and reduce functions, then the barrier between reduce and > the map of the next round is NOT necessary, right? Since the reducer > only output a single value for each key. This reducer may as well run > a map task for the next round immediately rather than waiting for all > reducer to finish. This way, the utilization of the machines between > rounds can be improved. > > Is there a setting in Hadoop to do that? > > Felix Halim > From [email protected] Thu Feb 04 04:50:08 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15270 invoked from network); 4 Feb 2010 04:50:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Feb 2010 04:50:08 -0000 Received: (qmail 83265 invoked by uid 500); 4 Feb 2010 04:50:08 -0000 Delivered-To: [email protected] Received: (qmail 83147 invoked by uid 500); 4 Feb 2010 04:50:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 83138 invoked by uid 99); 4 Feb 2010 04:50:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 04:50:07 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-px0-f204.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 04:50:00 +0000 Received: by pxi42 with SMTP id 42so3360165pxi.5 for <[email protected]>; Wed, 03 Feb 2010 20:49:40 -0800 (PST) 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=sFsVZgCnkLHuV04oqK6hUOfT3QHq1odn627hD+PR+1A=; b=Xxa47uYLXPY2IGT6Xi8P79eP3avg5dNbzkyGB4E8iZLXOTcQgEcQEZM8t4Qw9HvHJ0 TcpMU8bNKfDd3QNJKVIjEmP0pk1XungEwxn0sVaXWttugmOUiIQ/0u7TF5rqcqxRqORZ wYf20DHNXDJ1agq4mgJVS0iKxeIy4FRdiTWZc= 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=APUPP/dT3Tpd3ExfOVl31Hh5ljKGRwzcBwVSyBcJsVFx61MufpKMNXD20Sixrc4x+j HrmQcD5os1ZlLR4CUvno8Ztl/afMuTWrjaWyagJyoJkMkW6xYR3cHI6Az2kMUIbfEX6v z4dkZTm2CTlTS9MUQurgSmo9pKrsp81cxcNq4= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id r26mr438885waj.29.1265258980205; Wed, 03 Feb 2010 20:49:40 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Thu, 4 Feb 2010 12:49:40 +0800 Message-ID: <[email protected]> Subject: Re: Barrier between reduce and map of the next round From: Felix Halim <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Hi Ed, Currently my program is like this: m1,r1, m2,r2, ..., mK, rK. The barrier between mi and ri is acceptable since reducer has to wait for all map task to finish. However, from ri to m(i+1) there is an unnecessary barrier. m(i+1) should not need to wait for all reducers ri to finish, right? Currently, I created one Job for each mi,ri. So I have total of K jobs. Is there a way to chain them all together into a single Job? However, I don't know the value of K in advance. It has to be checked after each ri. So I'm thinking that the job can speculatively do the chain over and over until it discover that some counter in ri is zero (so the result of m(K+1) is discarded, and the final result of rK is taken). Felix Halim On Thu, Feb 4, 2010 at 12:25 PM, Ed Mazur <[email protected]> wrote: > Felix, > > You can use ChainMapper and ChainReducer to create jobs of the form > M+RM*. Is that what you're looking for? I'm not aware of anything that > allows you to have multiple reduce functions without the job > "barrier". > > Ed > > On Wed, Feb 3, 2010 at 9:41 PM, Felix Halim <[email protected]> wrote: >> Hi all, >> >> As far as I know, a barrier exists between map and reduce function in >> one round of MR. There is another barrier for the reducer to end the >> job for that round. However if we want to run in several rounds using >> the same map and reduce functions, then the barrier between reduce and >> the map of the next round is NOT necessary, right? Since the reducer >> only output a single value for each key. This reducer may as well run >> a map task for the next round immediately rather than waiting for all >> reducer to finish. This way, the utilization of the machines between >> rounds can be improved. >> >> Is there a setting in Hadoop to do that? >> >> Felix Halim >> > From [email protected] Thu Feb 04 07:53:38 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80746 invoked from network); 4 Feb 2010 07:53:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Feb 2010 07:53:38 -0000 Received: (qmail 42448 invoked by uid 500); 4 Feb 2010 07:53:38 -0000 Delivered-To: [email protected] Received: (qmail 42385 invoked by uid 500); 4 Feb 2010 07:53:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 42376 invoked by uid 99); 4 Feb 2010 07:53:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 07:53:37 +0000 X-ASF-Spam-Status: No, hits=4.2 required=10.0 tests=HTML_MESSAGE,NO_RDNS_DOTCOM_HELO,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mrout2.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 07:53:25 +0000 Received: from EGL-EX07CAS02.ds.corp.yahoo.com (egl-ex07cas02.eglbp.corp.yahoo.com [161.129.204.104]) by mrout2.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id o147qf6t002164 for <[email protected]>; Wed, 3 Feb 2010 23:52:42 -0800 (PST) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=received:from:to:date:subject:thread-topic:thread-index: message-id:in-reply-to:accept-language:content-language: x-ms-has-attach:x-ms-tnef-correlator:acceptlanguage:content-type:mime-version; b=Yfitnr04EqwilJ3+izKhHINZ+06MBTOeTF2ohTAtSugw49/CGpC2d5T7c3C7f4Xc Received: from EGL-EX07VS01.ds.corp.yahoo.com ([161.129.204.104]) by EGL-EX07CAS02.ds.corp.yahoo.com ([161.129.204.104]) with mapi; Thu, 4 Feb 2010 13:22:41 +0530 From: Amogh Vasekar <[email protected]> To: "[email protected]" <[email protected]> Date: Thu, 4 Feb 2010 13:22:40 +0530 Subject: Re: avoiding data redistribution in iterative mapreduce Thread-Topic: avoiding data redistribution in iterative mapreduce Thread-Index: AcqlCHM1ew1/M3+1SM2a9MoOIZFjdAAZpMmn Message-ID: <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_C7907AA06FCAamoghyahooinccom_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_C7907AA06FCAamoghyahooinccom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, >>Will there be a re-assignment of Map & Reduce nodes by the Master? In general using available schedulers, I believe so. Because if it weren't,= and I submit job 2 needing different/additional set of inputs, the data lo= cality considerations would be somewhat hampered right? When we had HOD, th= is was certainly possible. Amogh On 2/4/10 1:06 AM, "Raghava Mutharaju" <[email protected]> wrote: Hi Amogh, Thank you for the reply. >>> What you need, I believe, is "just run on whatever map has". You got that right :). An example of sequential program would b= e Bubble Sort which needs several iterations for the end result and in each= iteration it needs to work on the previous output (partially sorted list) = rather than the initial input. In my case also, the same thing should happe= n. >>> If you are using an exclusive private cluster, you can probably localiz= e <k,v> from first iteration and >>> use dummy input data ( to ensure same = number of mapper tasks as first round, and use custom >>> classes of MapRun= ner, RecordReader to not read data from supplied input ) Yes, it would be a local cluster, the one in my university. If we= set the no of map tasks, would it not be followed in each iteration? As me= ntioned in the documentation, I think I need to use JobClient to control th= e no of iterations. >>> But how can you ensure that you get the same nodes always to run your m= ap reduce job on a >>> shared cluster? while (!done) { JobClient.runJob(jobConf); <<Do something to che= ck termination condition>>} If I write something like that in the code, would not the Map node run on t= he same data chunk it has each time? Will there be a re-assignment of Map &= Reduce nodes by the Master? Regards, Raghava. On Wed, Feb 3, 2010 at 9:59 AM, Amogh Vasekar <[email protected]> wrote: Hi, If each of your sequential iteration is map+reduce, then no. The lifetime of a split is confined to a single map reduce job. The split i= s actually a reference to data, which is used to schedule job as close as p= ossible to data. The record reader then uses same object to pass the <k,v> = in split. What you need, I believe, is "just run on whatever map has". If you are usi= ng an exclusive private cluster, you can probably localize <k,v> from first= iteration and use dummy input data ( to ensure same number of mapper tasks= as first round, and use custom classes of MapRunner, RecordReader to not r= ead data from supplied input )But how can you ensure that you get the same = nodes always to run your map reduce job on a shared cluster? Please correct me if I misunderstood your question. Amogh On 2/3/10 11:34 AM, "Raghava Mutharaju" <[email protected] <http://= [email protected]> > wrote: Hi all, I to run a map reduce task repeatedly in order to achieve the desired= result. Is it possible that at the beginning of each iteration, the data s= et is not distributed (divided into chunks and distributed) again and again= i.e. once the distribution occurs for the first time, map nodes should wor= k on the same chunk in every iteration. Can this be done? I only have a bri= ef experience with MapReduce and I think that the input data set is redistr= ibuted every time. Thank you. Regards, Raghava. --_000_C7907AA06FCAamoghyahooinccom_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <HTML> <HEAD> <TITLE>Re: avoiding data redistribution in iterative mapreduce</TITLE> </HEAD> <BODY> <FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><SPAN STYLE=3D'font-size:= 14pt'>Hi,<BR> &gt;&gt;Will there be a re-assignment of Map &amp; Reduce nodes by the Mast= er?<BR> In general using available schedulers, I believe so. Because if it weren&#8= 217;t, and I submit job 2 needing different/additional set of inputs, the d= ata locality considerations would be somewhat hampered right? When we had H= OD, this was certainly possible.<BR> <BR> Amogh<BR> <BR> <BR> On 2/4/10 1:06 AM, &quot;Raghava Mutharaju&quot; &lt;<a href=3D"m.vijayarag= [email protected]">[email protected]</a>&gt; wrote:<BR> <BR> </SPAN></FONT><BLOCKQUOTE><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"= ><SPAN STYLE=3D'font-size:14pt'>Hi Amogh,<BR> <BR> =A0=A0=A0=A0=A0=A0 Thank you for the reply.=A0 <BR> <BR> &gt;&gt;&gt; What you need, I believe, is &#8220;just run on whatever map h= as&#8221;.<BR> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 You got that right :). An example of sequ= ential program would be Bubble Sort which needs several iterations for the = end result and in each iteration it needs to work on the previous output (p= artially sorted list) rather than the initial input. In my case also, the s= ame thing should happen.<BR> <BR> &gt;&gt;&gt; If you are using an exclusive private cluster, you can probabl= y localize &lt;k,v&gt; from first iteration and &gt;&gt;&gt; use dummy inpu= t data ( to ensure same number of mapper tasks as first round, and use cust= om &gt;&gt;&gt; classes of MapRunner, RecordReader to not read data from su= pplied input )<BR> =A0=A0 <BR> =A0=A0=A0=A0=A0=A0=A0=A0=A0 Yes, it would be a local cluster, the one in my= university. If we set the no of map tasks, would it not be followed in eac= h iteration? As mentioned in the documentation, I think I need to use JobCl= ient to control the no of iterations.=A0 <BR> <BR> <BR> &gt;&gt;&gt; But how can you ensure that you get the same nodes always to r= un your map reduce job on a <BR> &gt;&gt;&gt; shared cluster?<BR> <BR> =A0 =A0 =A0 =A0 =A0=A0 while (!done) { JobClient.runJob(jobConf); &lt;&lt;D= o something to check termination condition&gt;&gt;}<BR> <BR> If I write something like that in the code, would not the Map node run on t= he same data chunk it has each time? Will there be a re-assignment of Map &= amp; Reduce nodes by the Master?<BR> <BR> <BR> Regards,<BR> Raghava. =A0=A0=A0=A0=A0=A0=A0=A0 <BR> <BR> On Wed, Feb 3, 2010 at 9:59 AM, Amogh Vasekar &lt;<a href=3D"amogh@yahoo-in= c.com">[email protected]</a>&gt; wrote:<BR> </SPAN></FONT><BLOCKQUOTE><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"= ><SPAN STYLE=3D'font-size:14pt'>Hi,<BR> If each of your sequential iteration is map+reduce, then no. <BR> The lifetime of a split is confined to a single map reduce job. The split i= s actually a reference to data, which is used to schedule job as close as p= ossible to data. The record reader then uses same object to pass the &lt;k,= v&gt; in split.<BR> What you need, I believe, is &#8220;just run on whatever map has&#8221;. If= you are using an exclusive private cluster, you can probably localize &lt;= k,v&gt; from first iteration and use dummy input data ( to ensure same numb= er of mapper tasks as first round, and use custom classes of MapRunner, Rec= ordReader to not read data from supplied input )But how can you ensure that= you get the same nodes always to run your map reduce job on a shared clust= er?<BR> Please correct me if I misunderstood your question.<BR> <FONT COLOR=3D"#888888"><BR> Amogh<BR> </FONT><BR> <BR> <BR> On 2/3/10 11:34 AM, &quot;Raghava Mutharaju&quot; &lt;<a href=3D"m.vijayara= [email protected]">[email protected]</a> &lt;<a href=3D"http://m.vija= [email protected]">http://[email protected]</a>&gt; &gt; wrote:<B= R> <BR> </SPAN></FONT><BLOCKQUOTE><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"= ><SPAN STYLE=3D'font-size:14pt'>Hi all,<BR> <BR> =A0=A0=A0=A0=A0 I to run a map reduce task repeatedly in order to achieve t= he desired result. Is it possible that at the beginning of each iteration, = the data set is not distributed (divided into chunks and distributed) again= and again i.e. once the distribution occurs for the first time, map nodes = should work on the same chunk in every iteration. Can this be done? I only = have a brief experience with MapReduce and I think that the input data set = is redistributed every time.<BR> <BR> Thank you.<BR> <BR> Regards,<BR> Raghava.<BR> <BR> </SPAN></FONT></BLOCKQUOTE></BLOCKQUOTE><FONT FACE=3D"Calibri, Verdana, Hel= vetica, Arial"><SPAN STYLE=3D'font-size:14pt'><BR> <BR> </SPAN></FONT></BLOCKQUOTE> </BODY> </HTML> --_000_C7907AA06FCAamoghyahooinccom_-- From [email protected] Thu Feb 04 07:54:39 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81278 invoked from network); 4 Feb 2010 07:54:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Feb 2010 07:54:39 -0000 Received: (qmail 46113 invoked by uid 500); 4 Feb 2010 07:54:39 -0000 Delivered-To: [email protected] Received: (qmail 46039 invoked by uid 500); 4 Feb 2010 07:54:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 46030 invoked by uid 99); 4 Feb 2010 07:54:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 07:54:39 +0000 X-ASF-Spam-Status: No, hits=4.2 required=10.0 tests=HTML_MESSAGE,NO_RDNS_DOTCOM_HELO,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mrout2-b.corp.re1.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 07:54:26 +0000 Received: from EGL-EX07CAS01.ds.corp.yahoo.com (egl-ex07cas01.eglbp.corp.yahoo.com [161.129.204.104]) by mrout2-b.corp.re1.yahoo.com (8.13.8/8.13.8/y.out) with ESMTP id o147rKIJ016068 for <[email protected]>; Wed, 3 Feb 2010 23:53:20 -0800 (PST) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=received:from:to:date:subject:thread-topic:thread-index: message-id:in-reply-to:accept-language:content-language: x-ms-has-attach:x-ms-tnef-correlator:acceptlanguage:content-type:mime-version; b=r2P8tk/6lSslt15j1qJzbb2KQ61IdBR6OLFqF6mBY0Qn37XtXWblhlsAVkIsKKKT Received: from EGL-EX07VS01.ds.corp.yahoo.com ([161.129.204.104]) by EGL-EX07CAS01.ds.corp.yahoo.com ([161.129.204.104]) with mapi; Thu, 4 Feb 2010 13:23:19 +0530 From: Amogh Vasekar <[email protected]> To: "[email protected]" <[email protected]> Date: Thu, 4 Feb 2010 13:23:15 +0530 Subject: Re: Barrier between reduce and map of the next round Thread-Topic: Barrier between reduce and map of the next round Thread-Index: AcqlVagAPLIxxoWkTY+/IMInMhpH4wAGXM3H Message-ID: <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_C7907AC36FCAamoghyahooinccom_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_C7907AC36FCAamoghyahooinccom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable >>However, from ri to m(i+1) there is an unnecessary barrier. m(i+1) should= not need to wait for all reducers ri to finish, right? Yes, but r(i+1) cant be in the same job, since that requires another sort a= nd shuffle phase ( barrier ). So you would end up doing, job(i) : m(i)r(i)m= (i+1) . Job(i+1) : m(identity)r(i+1). Ofcourse, this is assuming you cant d= o r(i+1) in m(identity), for if you can then it doesn't need sort and shuff= le , and hence your job would be again of the form m+rm* :) Amogh On 2/4/10 10:19 AM, "Felix Halim" <[email protected]> wrote: Hi Ed, Currently my program is like this: m1,r1, m2,r2, ..., mK, rK. The barrier between mi and ri is acceptable since reducer has to wait for all map task to finish. However, from ri to m(i+1) there is an unnecessary barrier. m(i+1) should not need to wait for all reducers ri to finish, right? Currently, I created one Job for each mi,ri. So I have total of K jobs. Is there a way to chain them all together into a single Job? However, I don't know the value of K in advance. It has to be checked after each ri. So I'm thinking that the job can speculatively do the chain over and over until it discover that some counter in ri is zero (so the result of m(K+1) is discarded, and the final result of rK is taken). Felix Halim On Thu, Feb 4, 2010 at 12:25 PM, Ed Mazur <[email protected]> wrote: > Felix, > > You can use ChainMapper and ChainReducer to create jobs of the form > M+RM*. Is that what you're looking for? I'm not aware of anything that > allows you to have multiple reduce functions without the job > "barrier". > > Ed > > On Wed, Feb 3, 2010 at 9:41 PM, Felix Halim <[email protected]> wrote= : >> Hi all, >> >> As far as I know, a barrier exists between map and reduce function in >> one round of MR. There is another barrier for the reducer to end the >> job for that round. However if we want to run in several rounds using >> the same map and reduce functions, then the barrier between reduce and >> the map of the next round is NOT necessary, right? Since the reducer >> only output a single value for each key. This reducer may as well run >> a map task for the next round immediately rather than waiting for all >> reducer to finish. This way, the utilization of the machines between >> rounds can be improved. >> >> Is there a setting in Hadoop to do that? >> >> Felix Halim >> > --_000_C7907AC36FCAamoghyahooinccom_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <HTML> <HEAD> <TITLE>Re: Barrier between reduce and map of the next round</TITLE> </HEAD> <BODY> <FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><SPAN STYLE=3D'font-size:= 14pt'><BR> &gt;&gt;However, from ri to m(i+1) there is an unnecessary barrier. m(i+1) = should not need to wait for all reducers ri to finish, right?<BR> <BR> Yes, but r(i+1) cant be in the same job, since that requires another sort a= nd shuffle phase ( barrier ). So you would end up doing, job(i) : m(i)r(i)m= (i+1) . Job(i+1) : m(identity)r(i+1). Ofcourse, this is assuming you cant d= o r(i+1) in m(identity), for if you can then it doesn&#8217;t need sort and= shuffle , and hence your job would be again of the form m+rm* :)<BR> <BR> Amogh &nbsp;<BR> <BR> On 2/4/10 10:19 AM, &quot;Felix Halim&quot; &lt;<a href=3D"felix.halim@gmai= l.com">[email protected]</a>&gt; wrote:<BR> <BR> </SPAN></FONT><BLOCKQUOTE><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"= ><SPAN STYLE=3D'font-size:14pt'>Hi Ed,<BR> <BR> Currently my program is like this: &nbsp;m1,r1, m2,r2, ..., mK, rK. The<BR> barrier between mi and ri is acceptable since reducer has to wait for<BR> all map task to finish. However, from ri to m(i+1) there is an<BR> unnecessary barrier. m(i+1) should not need to wait for all reducers<BR> ri to finish, right?<BR> <BR> Currently, I created one Job for each mi,ri. So I have total of K<BR> jobs. Is there a way to chain them all together into a single Job?<BR> However, I don't know the value of K in advance. It has to be checked<BR> after each ri. &nbsp;So I'm thinking that the job can speculatively do the<= BR> chain over and over until it discover that some counter in ri is zero<BR> (so the result of m(K+1) is discarded, and the final result of rK is<BR> taken).<BR> <BR> Felix Halim<BR> <BR> <BR> On Thu, Feb 4, 2010 at 12:25 PM, Ed Mazur &lt;<a href=3D"[email protected]= ">[email protected]</a>&gt; wrote:<BR> &gt; Felix,<BR> &gt;<BR> &gt; You can use ChainMapper and ChainReducer to create jobs of the form<BR= > &gt; M+RM*. Is that what you're looking for? I'm not aware of anything that= <BR> &gt; allows you to have multiple reduce functions without the job<BR> &gt; &quot;barrier&quot;.<BR> &gt;<BR> &gt; Ed<BR> &gt;<BR> &gt; On Wed, Feb 3, 2010 at 9:41 PM, Felix Halim &lt;<a href=3D"felix.halim= @gmail.com">[email protected]</a>&gt; wrote:<BR> &gt;&gt; Hi all,<BR> &gt;&gt;<BR> &gt;&gt; As far as I know, a barrier exists between map and reduce function= in<BR> &gt;&gt; one round of MR. There is another barrier for the reducer to end t= he<BR> &gt;&gt; job for that round. However if we want to run in several rounds us= ing<BR> &gt;&gt; the same map and reduce functions, then the barrier between reduce= and<BR> &gt;&gt; the map of the next round is NOT necessary, right? Since the reduc= er<BR> &gt;&gt; only output a single value for each key. This reducer may as well = run<BR> &gt;&gt; a map task for the next round immediately rather than waiting for = all<BR> &gt;&gt; reducer to finish. This way, the utilization of the machines betwe= en<BR> &gt;&gt; rounds can be improved.<BR> &gt;&gt;<BR> &gt;&gt; Is there a setting in Hadoop to do that?<BR> &gt;&gt;<BR> &gt;&gt; Felix Halim<BR> &gt;&gt;<BR> &gt;<BR> <BR> </SPAN></FONT></BLOCKQUOTE> </BODY> </HTML> --_000_C7907AC36FCAamoghyahooinccom_-- From [email protected] Thu Feb 04 08:16:56 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88118 invoked from network); 4 Feb 2010 08:16:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Feb 2010 08:16:56 -0000 Received: (qmail 77430 invoked by uid 500); 4 Feb 2010 08:16:56 -0000 Delivered-To: [email protected] Received: (qmail 77376 invoked by uid 500); 4 Feb 2010 08:16:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 77367 invoked by uid 99); 4 Feb 2010 08:16:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 08:16:56 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iw0-f194.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 08:16:49 +0000 Received: by iwn34 with SMTP id 34so841555iwn.21 for <[email protected]>; Thu, 04 Feb 2010 00:16:28 -0800 (PST) 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 :content-transfer-encoding; bh=/CZhSwkYzyALMX76V4cuLpAnUMXa7pq/hxArunNNESo=; b=lx+yW4Rf46cBxyGpQbgtYaxh7QPCaa+PdXiTPj1SC/Y0Z1AI94GW8il4ZikGTKqJkK WKclA2YJy6nWYQxdw5//DpIXiI6VhSokJiuRYPrZ6pli96OBOuF5LkLQVvJWHOWnTjqg Y7rYuczkxozqx4OZH1pfXAZBW5GO46VdajwUI= 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:content-transfer-encoding; b=MHFr/ZoodTxjnbFyyL7E2TYNIxV674LbFCHU0szgJ43Z6NkDTZdmRfRbfZAN9Pucaw J88qilSoKuU0OpNUgQfQ5d3KFxRK6SjIHNc3hHOJWNX+G2Ucd8NFi/zao7nxJ+PZfu3D C4SVmIYLnxNAXZdcbcKdqqFDS76NBMhNqYXD8= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id r9mr1314010ibv.82.1265271388624; Thu, 04 Feb 2010 00:16:28 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Thu, 4 Feb 2010 16:16:28 +0800 Message-ID: <[email protected]> Subject: Re: Barrier between reduce and map of the next round From: Felix Halim <[email protected]> To: [email protected] Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Talking about barrier, currently there are barriers between anything: m1 | r1 | m2 | r2 | ... | mK | rK where | is the barrier. I'm saying that the barrier between ri and m(i+1) is not necessary. So it should go like this: m1 | r1 m2 | r2 m3 | ... | r(K-1) mK | rK m(K+1) Here the result of m(K+1) is throwed away. We take the result of rK only. The shuffling is needed only between mi and ri. There is no shuffling needed for ri and m(i+1). Thus by removing the barrier between ri and m(i+1), the overall job can be made faster. Now the question is, can this be done using Chaining? AFAIK, the chaining has to be defined before the job is started, right? But because I don't know the value of K beforehand, I want the chain to continue forever until some counter in reduce task is z= ero. Felix Halim On Thu, Feb 4, 2010 at 3:53 PM, Amogh Vasekar <[email protected]> wrote: > >>>However, from ri to m(i+1) there is an unnecessary barrier. m(i+1) shoul= d >>> not need to wait for all reducers ri to finish, right? > > Yes, but r(i+1) cant be in the same job, since that requires another sort > and shuffle phase ( barrier ). So you would end up doing, job(i) : > m(i)r(i)m(i+1) . Job(i+1) : m(identity)r(i+1). Ofcourse, this is assuming > you cant do r(i+1) in m(identity), for if you can then it doesn=92t need = sort > and shuffle , and hence your job would be again of the form m+rm* :) > > Amogh > > On 2/4/10 10:19 AM, "Felix Halim" <[email protected]> wrote: > > Hi Ed, > > Currently my program is like this: =A0m1,r1, m2,r2, ..., mK, rK. The > barrier between mi and ri is acceptable since reducer has to wait for > all map task to finish. However, from ri to m(i+1) there is an > unnecessary barrier. m(i+1) should not need to wait for all reducers > ri to finish, right? > > Currently, I created one Job for each mi,ri. So I have total of K > jobs. Is there a way to chain them all together into a single Job? > However, I don't know the value of K in advance. It has to be checked > after each ri. =A0So I'm thinking that the job can speculatively do the > chain over and over until it discover that some counter in ri is zero > (so the result of m(K+1) is discarded, and the final result of rK is > taken). > > Felix Halim > > > On Thu, Feb 4, 2010 at 12:25 PM, Ed Mazur <[email protected]> wrote: >> Felix, >> >> You can use ChainMapper and ChainReducer to create jobs of the form >> M+RM*. Is that what you're looking for? I'm not aware of anything that >> allows you to have multiple reduce functions without the job >> "barrier". >> >> Ed >> >> On Wed, Feb 3, 2010 at 9:41 PM, Felix Halim <[email protected]> wrot= e: >>> Hi all, >>> >>> As far as I know, a barrier exists between map and reduce function in >>> one round of MR. There is another barrier for the reducer to end the >>> job for that round. However if we want to run in several rounds using >>> the same map and reduce functions, then the barrier between reduce and >>> the map of the next round is NOT necessary, right? Since the reducer >>> only output a single value for each key. This reducer may as well run >>> a map task for the next round immediately rather than waiting for all >>> reducer to finish. This way, the utilization of the machines between >>> rounds can be improved. >>> >>> Is there a setting in Hadoop to do that? >>> >>> Felix Halim >>> >> > > From [email protected] Thu Feb 04 08:32:52 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92171 invoked from network); 4 Feb 2010 08:32:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Feb 2010 08:32:52 -0000 Received: (qmail 93578 invoked by uid 500); 4 Feb 2010 08:32:51 -0000 Delivered-To: [email protected] Received: (qmail 93498 invoked by uid 500); 4 Feb 2010 08:32:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 93489 invoked by uid 99); 4 Feb 2010 08:32:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 08:32:51 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iw0-f194.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 08:32:40 +0000 Received: by iwn34 with SMTP id 34so849771iwn.21 for <[email protected]>; Thu, 04 Feb 2010 00:32:19 -0800 (PST) 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 :from:date:message-id:subject:to:content-type; bh=TMu/YCQJ9nLXpgR0Ox99EB7Ub5nOqIgTLcfOrOI0e6c=; b=LUoNzruTy8e4bEDg5deiO/Fp3NJCYG8tgmuTH2M77AAMkRoeIHaOm+1x4JsBXe/uVz 1a4YN+FpGJurLr1MhgqNwdl52EoGBIU29hVr1c3amvDh9mH5lcnOnR4GOgb/8AYAdE9Q r5k1QOzjYrxAHHdXgVZDPYWAF4nAiY49En1MM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=psUrgubxUXn7aoih/eBgkCxOpNSdlL9MH2F6JoAB6Wxeh0NL/DgDbt/k7sUrXydRaE WhwXz6j6EWpN56h1ydtZF1uDl++2MI+j9D3lx3zkCmMMw+X+t9fb7zEoFqWUOLX76c9i wLxTJ5zoxSLl1wmKnHpdDKbsQr16W2idjwEyk= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id f8mr1415844ibv.58.1265272338378; Thu, 04 Feb 2010 00:32:18 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> From: Raghava Mutharaju <[email protected]> Date: Thu, 4 Feb 2010 03:31:58 -0500 Message-ID: <[email protected]> Subject: Re: avoiding data redistribution in iterative mapreduce To: [email protected] Content-Type: multipart/alternative; boundary=001485e7732a4607c0047ec22cb5 X-Virus-Checked: Checked by ClamAV on apache.org --001485e7732a4607c0047ec22cb5 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi, So is it not possible to avoid redistribution in this case? If that is the case, can a custom scheduler be written -- will it be any easy task? Regards, Raghava. On Thu, Feb 4, 2010 at 2:52 AM, Amogh Vasekar <[email protected]> wrote: > Hi, > > >>Will there be a re-assignment of Map & Reduce nodes by the Master? > In general using available schedulers, I believe so. Because if it weren= =92t, > and I submit job 2 needing different/additional set of inputs, the data > locality considerations would be somewhat hampered right? When we had HOD= , > this was certainly possible. > > Amogh > > > > On 2/4/10 1:06 AM, "Raghava Mutharaju" <[email protected]> wrote: > > Hi Amogh, > > Thank you for the reply. > > >>> What you need, I believe, is =93just run on whatever map has=94. > You got that right :). An example of sequential program would > be Bubble Sort which needs several iterations for the end result and in e= ach > iteration it needs to work on the previous output (partially sorted list) > rather than the initial input. In my case also, the same thing should > happen. > > >>> If you are using an exclusive private cluster, you can probably > localize <k,v> from first iteration and >>> use dummy input data ( to ens= ure > same number of mapper tasks as first round, and use custom >>> classes of > MapRunner, RecordReader to not read data from supplied input ) > > Yes, it would be a local cluster, the one in my university. If = we > set the no of map tasks, would it not be followed in each iteration? As > mentioned in the documentation, I think I need to use JobClient to contro= l > the no of iterations. > > > >>> But how can you ensure that you get the same nodes always to run your > map reduce job on a > >>> shared cluster? > > while (!done) { JobClient.runJob(jobConf); <<Do something to > check termination condition>>} > > If I write something like that in the code, would not the Map node run on > the same data chunk it has each time? Will there be a re-assignment of Ma= p & > Reduce nodes by the Master? > > > Regards, > Raghava. > > On Wed, Feb 3, 2010 at 9:59 AM, Amogh Vasekar <[email protected]> wrote= : > > Hi, > If each of your sequential iteration is map+reduce, then no. > The lifetime of a split is confined to a single map reduce job. The split > is actually a reference to data, which is used to schedule job as close a= s > possible to data. The record reader then uses same object to pass the <k,= v> > in split. > What you need, I believe, is =93just run on whatever map has=94. If you a= re > using an exclusive private cluster, you can probably localize <k,v> from > first iteration and use dummy input data ( to ensure same number of mappe= r > tasks as first round, and use custom classes of MapRunner, RecordReader t= o > not read data from supplied input )But how can you ensure that you get th= e > same nodes always to run your map reduce job on a shared cluster? > Please correct me if I misunderstood your question. > > Amogh > > > > On 2/3/10 11:34 AM, "Raghava Mutharaju" <[email protected] < > http://[email protected]> > wrote: > > Hi all, > > I to run a map reduce task repeatedly in order to achieve the desir= ed > result. Is it possible that at the beginning of each iteration, the data = set > is not distributed (divided into chunks and distributed) again and again > i.e. once the distribution occurs for the first time, map nodes should wo= rk > on the same chunk in every iteration. Can this be done? I only have a bri= ef > experience with MapReduce and I think that the input data set is > redistributed every time. > > Thank you. > > Regards, > Raghava. > > > > --001485e7732a4607c0047ec22cb5 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi,<br><br>=A0=A0=A0=A0 So is it not possible to avoid redistribution in th= is case? If that is the case, can a custom scheduler be written -- will it = be any easy task?<br><br>Regards,<br>Raghava.<br><br><div class=3D"gmail_qu= ote">On Thu, Feb 4, 2010 at 2:52 AM, Amogh Vasekar <span dir=3D"ltr">&lt;<a= href=3D"mailto:[email protected]">[email protected]</a>&gt;</span> wro= te:<br> <blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, = 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div> <font face=3D"Calibri, Verdana, Helvetica, Arial"><span style=3D"font-size:= 14pt;">Hi,<div class=3D"im"><br> &gt;&gt;Will there be a re-assignment of Map &amp; Reduce nodes by the Mast= er?<br></div> In general using available schedulers, I believe so. Because if it weren=92= t, and I submit job 2 needing different/additional set of inputs, the data = locality considerations would be somewhat hampered right? When we had HOD, = this was certainly possible.<br> <font color=3D"#888888"> <br> Amogh</font><div class=3D"im"><br> <br> <br> On 2/4/10 1:06 AM, &quot;Raghava Mutharaju&quot; &lt;<a href=3D"http://m.vi= [email protected]" target=3D"_blank">[email protected]</a>&gt; = wrote:<br> <br> </div></span></font><blockquote><div class=3D"im"><font face=3D"Calibri, Ve= rdana, Helvetica, Arial"><span style=3D"font-size: 14pt;">Hi Amogh,<br> <br> =A0=A0=A0=A0=A0=A0 Thank you for the reply.=A0 <br> <br> &gt;&gt;&gt; What you need, I believe, is =93just run on whatever map has= =94.<br> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 You got that right :). An example of sequ= ential program would be Bubble Sort which needs several iterations for the = end result and in each iteration it needs to work on the previous output (p= artially sorted list) rather than the initial input. In my case also, the s= ame thing should happen.<br> <br> &gt;&gt;&gt; If you are using an exclusive private cluster, you can probabl= y localize &lt;k,v&gt; from first iteration and &gt;&gt;&gt; use dummy inpu= t data ( to ensure same number of mapper tasks as first round, and use cust= om &gt;&gt;&gt; classes of MapRunner, RecordReader to not read data from su= pplied input )<br> =A0=A0 <br> =A0=A0=A0=A0=A0=A0=A0=A0=A0 Yes, it would be a local cluster, the one in my= university. If we set the no of map tasks, would it not be followed in eac= h iteration? As mentioned in the documentation, I think I need to use JobCl= ient to control the no of iterations.=A0 <br> <br> <br> &gt;&gt;&gt; But how can you ensure that you get the same nodes always to r= un your map reduce job on a <br> &gt;&gt;&gt; shared cluster?<br> <br> =A0 =A0 =A0 =A0 =A0=A0 while (!done) { JobClient.runJob(jobConf); &lt;&lt;D= o something to check termination condition&gt;&gt;}<br> <br> If I write something like that in the code, would not the Map node run on t= he same data chunk it has each time? Will there be a re-assignment of Map &= amp; Reduce nodes by the Master?<br> <br> <br> Regards,<br> Raghava. =A0=A0=A0=A0=A0=A0=A0=A0 <br> <br> On Wed, Feb 3, 2010 at 9:59 AM, Amogh Vasekar &lt;<a href=3D"http://amogh@y= ahoo-inc.com" target=3D"_blank">[email protected]</a>&gt; wrote:<br> </span></font></div><blockquote><font face=3D"Calibri, Verdana, Helvetica, = Arial"><span style=3D"font-size: 14pt;"><div class=3D"im">Hi,<br> If each of your sequential iteration is map+reduce, then no. <br> The lifetime of a split is confined to a single map reduce job. The split i= s actually a reference to data, which is used to schedule job as close as p= ossible to data. The record reader then uses same object to pass the &lt;k,= v&gt; in split.<br> What you need, I believe, is =93just run on whatever map has=94. If you are= using an exclusive private cluster, you can probably localize &lt;k,v&gt; = from first iteration and use dummy input data ( to ensure same number of ma= pper tasks as first round, and use custom classes of MapRunner, RecordReade= r to not read data from supplied input )But how can you ensure that you get= the same nodes always to run your map reduce job on a shared cluster?<br> Please correct me if I misunderstood your question.<br> <font color=3D"#888888"><br> Amogh<br> </font><br> <br> <br></div><div class=3D"im"> On 2/3/10 11:34 AM, &quot;Raghava Mutharaju&quot; &lt;<a href=3D"http://m.v= [email protected]" target=3D"_blank">[email protected]</a> &lt= ;<a href=3D"http://[email protected]" target=3D"_blank">http://m.vi= [email protected]</a>&gt; &gt; wrote:<br> <br> </div></span></font><div class=3D"im"><blockquote><font face=3D"Calibri, Ve= rdana, Helvetica, Arial"><span style=3D"font-size: 14pt;">Hi all,<br> <br> =A0=A0=A0=A0=A0 I to run a map reduce task repeatedly in order to achieve t= he desired result. Is it possible that at the beginning of each iteration, = the data set is not distributed (divided into chunks and distributed) again= and again i.e. once the distribution occurs for the first time, map nodes = should work on the same chunk in every iteration. Can this be done? I only = have a brief experience with MapReduce and I think that the input data set = is redistributed every time.<br> <br> Thank you.<br> <br> Regards,<br> Raghava.<br> <br> </span></font></blockquote></div></blockquote><font face=3D"Calibri, Verdan= a, Helvetica, Arial"><span style=3D"font-size: 14pt;"><br> <br> </span></font></blockquote> </div> </blockquote></div><br> --001485e7732a4607c0047ec22cb5-- From [email protected] Sat Feb 06 00:21:22 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70903 invoked from network); 6 Feb 2010 00:21:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Feb 2010 00:21:21 -0000 Received: (qmail 91697 invoked by uid 500); 6 Feb 2010 00:21:21 -0000 Delivered-To: [email protected] Received: (qmail 91645 invoked by uid 500); 6 Feb 2010 00:21:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 91636 invoked by uid 99); 6 Feb 2010 00:21:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Feb 2010 00:21:20 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ww0-f48.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Feb 2010 00:21:12 +0000 Received: by wwb24 with SMTP id 24so683900wwb.35 for <[email protected]>; Fri, 05 Feb 2010 16:20:51 -0800 (PST) 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=yMwlaX3nmEDteBcJY2cHxzSWknocFEZvWQjflU2CPHM=; b=CqCmMWOV4YO/1P3P/g+4j71+WIk0256wDqTV3bb/RBSUidgCEVQyLZxiLqqf5THH5w nu0JYZLI0QGVcJlsbp36ckYoHeNe/hkzJJAd+wE2jC96mRjwbzlMEHnIgcqtTOZpypPT BtGLTcc2Ti1DEEIpuRfbYvpsyNG3v48mj/sqs= 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=WcdtBPWVmzkpjrE3RpeAxYO5lbuO2+HLfV2Fv3JqKGJhlstkj/Q0cSnjaa54AI4DYn ZbkbN3v3fGQzkBJLLxcXjm6YU6T83ply1NuCZiswoLqLxoOv15hoXWVpvV9p82Rt/sIS k09+/EPEmEgJ+oamjvhaAgqTxg/FCnSA7oJNQ= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id c50mr1911006wef.137.1265415651650; Fri, 05 Feb 2010 16:20:51 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> Date: Sat, 6 Feb 2010 08:20:51 +0800 Message-ID: <[email protected]> Subject: Re: Reading Counters From: Ted Xu <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016e6d7e34568ebdf047ee38a75 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d7e34568ebdf047ee38a75 Content-Type: text/plain; charset=ISO-8859-1 Rajan, It is possible for clients to read counters using Java API. You can create an RPC proxy to retrieve them ( by calling RPC.getProxy() ). In fact the hadoop command use that way. However, jobs that retired by JobTracker ( those been put into the history page as presented in web UI ) cannot retrieve counters like that. If a job is retired, you can read counters in the job history file. The web UI do not get JobTracker information by client. When the http server start, it calls jsp setAttribute() to make sure the JSP page have full access to the *real* JobTracker instance. 2010/2/3 Rajan Dev <[email protected]> > We have a hadoop job running and have used custom counters to track few > counters ( like no of successfully processed documents matching certain > conditions) > > > Since we need to get this counters even while the Hadoop job is running , > we wrote another Java program to read these counters > > * > Counter reader* program will do the following : > > > 1) List all the running jobs. > > 2) Get the running job using Job name > > 2) Get all the counter for individual running jobs > > 3) Set this counters in variables. > We could successfully read these counters , but since we need to > show these counters to custom UI , how can we show these counters? > > we looked into various options to read these counters to show in UI > as following : > > 1. Dump these counters to database , however this may be overhead > 2. Write web service and UI will invoke the functions from these > service to show in UI ( However since we need to run "Counter reader > program " with Hadoop command it might not be feasible to write web service > ? ) > > so the question is can we achive to read the counters using simple > Java APIs ? Does anyone have idea how does the default jobtracker JSP works > ? we wanted to built something similar to this > > thanks > Rajan Dev > Best regards, Ted Xu --0016e6d7e34568ebdf047ee38a75 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Rajan,<div><br></div><div>It is possible for clients to read counters using= Java API. You can create an RPC proxy to=A0retrieve them (=A0by calling = =A0RPC.getProxy() ). In fact the hadoop command use that way. However, jobs= that retired by JobTracker ( those been put into the history page as prese= nted in web UI ) cannot retrieve counters like that. If a job is retired, y= ou can read counters in the job history file.</div> <div><br></div><div>The web UI do not get JobTracker information by client.= When the http server start, it calls jsp=A0setAttribute() to make sure the= JSP page have full access to the *real* JobTracker instance.</div><div><br= > <div class=3D"gmail_quote">2010/2/3 Rajan Dev <span dir=3D"ltr">&lt;<a href= =3D"mailto:[email protected]">[email protected]</a>&gt;</span><br><blockquo= te class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc so= lid;padding-left:1ex;"> We have a hadoop job running and have used custom counters to track=A0 few = counters ( like no of successfully processed documents matching certain con= ditions)<br><br><br>Since we need to get this counters even while the Hadoo= p job is running , we wrote another Java program to read these counters<br> <br><b><br>Counter reader</b>=A0 program will do the following :<br><br><br= >1)=A0=A0=A0=A0=A0 List all the running jobs.<br><br>2)=A0=A0 Get the runni= ng job using Job name<br><br>2)=A0=A0=A0=A0 Get all the counter for individ= ual running jobs<br> <br>3)=A0=A0=A0=A0=A0 Set this counters in variables.<br>=A0=A0=A0=A0=A0=A0= =A0 We could successfully read these counters=A0 , but since we need to sho= w these counters to custom UI , how can we show these counters?<br><br>=A0= =A0=A0=A0=A0=A0=A0 we looked into various options to read these counters to= show in UI as following :<br> <br>=A0=A0=A0=A0=A0 1. Dump these counters to database , however this may b= e overhead<br>=A0=A0=A0=A0=A0 2. Write web service=A0=A0 and UI will invoke= the functions from these service to show in UI ( However since we need to = run &quot;Counter reader=A0 program &quot;=A0 with Hadoop command it might = not be feasible to write web service ?=A0=A0 )<br> <br>=A0=A0=A0=A0=A0 so the question is can we achive to read the counters u= sing simple Java APIs ? Does anyone have idea how does the default jobtrack= er JSP works ? we wanted to built something similar to this<br><br>thanks<b= r><font color=3D"#888888">Rajan Dev<br> </font></blockquote><div><br></div><div>Best regards,</div><div><br></div><= div>Ted Xu=A0</div></div><br></div> --0016e6d7e34568ebdf047ee38a75-- From [email protected] Mon Feb 08 17:24:25 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44940 invoked from network); 8 Feb 2010 17:24:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Feb 2010 17:24:25 -0000 Received: (qmail 19728 invoked by uid 500); 8 Feb 2010 17:24:24 -0000 Delivered-To: [email protected] Received: (qmail 19653 invoked by uid 500); 8 Feb 2010 17:24:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 19644 invoked by uid 99); 8 Feb 2010 17:24:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Feb 2010 17:24:23 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-gx0-f228.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Feb 2010 17:24:13 +0000 Received: by gxk28 with SMTP id 28so5383768gxk.9 for <[email protected]>; Mon, 08 Feb 2010 09:23:52 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id z25mr1876261ybc.11.1265649830894; Mon, 08 Feb 2010 09:23:50 -0800 (PST) Date: Mon, 8 Feb 2010 17:23:50 +0000 Message-ID: <[email protected]> Subject: Strange behaviour from a custom Writable From: James Hammerton <[email protected]> To: [email protected] Content-Type: multipart/mixed; boundary=000e0cd704e294a5f9047f1a1020 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd704e294a5f9047f1a1020 Content-Type: multipart/alternative; boundary=000e0cd704e294a5e7047f1a101e --000e0cd704e294a5e7047f1a101e Content-Type: text/plain; charset=ISO-8859-1 Hi, For a particular project I created a writable for holding a long and a double called LongDoublePair. My mapper outputs LongDoublePair values and the reducer receives an Iterable<LongDoublePair>. The problem is that when I try to use it, whilst I get the right number of elements in the Iterable, they are all copies of the same object! I tested that this was the case by using the following code in the loop that processes the pairs: if (prev != null) { if (prev == next) { context.getCounter("MY COUNTERS", key.toString() + "Values are same object").increment(1); } } else { prev = next; } The counters appeared with all sorts of values, e.g. I got lots of lines like: "10/02/08 16:57:18 INFO mapred.JobClient: 990Values are same object=46", indicating that the iterator was iterating through copies of the same object. My code works if instead of using the LongDoublePair I use a Text object and simply concatenate the two number strings with a space to separate them and have the reducer parse the string into a LongDoublePair and process it. Via unit tests, I've ensured the LongDoublePair's serialisation and deserialisation code works, that hashCode and equals do what they should do, etc, but I can't seem to get this to work other than by falling back on using Text objects. Any ideas what might be going wrong? I've attached the source code for LongDoublePair to this email in case you can spot anything that might be behind the problem. James -- James Hammerton | Senior Data Mining Engineer www.mendeley.com/profiles/james-hammerton Mendeley Limited | London, UK | www.mendeley.com Registered in England and Wales | Company Number 6419015 --000e0cd704e294a5e7047f1a101e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,<br><br>For a particular project I created a writable for holding a long= and a double called LongDoublePair. My mapper outputs LongDoublePair value= s and the reducer receives an Iterable&lt;LongDoublePair&gt;.<br><br>The pr= oblem is that when I try to use it, whilst I get the right number of elemen= ts in the Iterable, they are all copies of the same object! I tested that t= his was the case by using the following code in the loop that processes the= pairs:<br> <br>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 if (prev !=3D null) {<br>=A0=A0=A0 = =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 if (prev =3D=3D next) {<br>=A0=A0=A0 =A0=A0= =A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 context.getCounter(&quot;MY COUNTERS&quot= ;, key.toString() + &quot;Values are same object&quot;).increment(1);<br>= =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 }<br> =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 } else {<br>=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0= =A0=A0 prev =3D next;<br>=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 }<br><br>The counter= s appeared with all sorts of values, e.g. I got lots of lines like: &quot;1= 0/02/08 16:57:18 INFO mapred.JobClient:=A0=A0=A0=A0 990Values are same obje= ct=3D46&quot;, indicating that the iterator was iterating through copies of= the same object.<br> <br>My code works if instead of using the LongDoublePair I use a Text objec= t and simply concatenate the two number strings with a space to separate th= em and have the reducer parse the string into a LongDoublePair and process = it.<br> <br>Via unit tests, I&#39;ve ensured the LongDoublePair&#39;s serialisation= and deserialisation code works, that hashCode and equals do what they shou= ld do, etc, but I can&#39;t seem to get this to work other than by falling = back on using Text objects. Any ideas what might be going wrong?<br> <br>I&#39;ve attached the source code for LongDoublePair to this email in c= ase you can spot anything that might be behind the problem.<br><br>James <b= r><br>-- <br>James Hammerton | Senior Data Mining Engineer<br><a href=3D"ht= tp://www.mendeley.com/profiles/james-hammerton" target=3D"_blank">www.mende= ley.com/profiles/james-hammerton</a><br> <br>Mendeley Limited | London, UK | <a href=3D"http://www.mendeley.com" tar= get=3D"_blank">www.mendeley.com</a><br>Registered in England and Wales | Co= mpany Number 6419015<br><br><br><br> --000e0cd704e294a5e7047f1a101e-- --000e0cd704e294a5f9047f1a1020 Content-Type: text/x-java; charset=US-ASCII; name="LongDoublePair.java" Content-Disposition: attachment; filename="LongDoublePair.java" Content-Transfer-Encoding: base64 X-Attachment-Id: f_g5fj28dk0 cGFja2FnZSBjb20ubWVuZGVsZXkucmVjZW5naW5lLmhhZG9vcDsKCmltcG9ydCBqYXZhLmlvLkRh dGFJbnB1dDsKaW1wb3J0IGphdmEuaW8uRGF0YU91dHB1dDsKaW1wb3J0IGphdmEuaW8uSU9FeGNl cHRpb247CgppbXBvcnQgb3JnLmFwYWNoZS5oYWRvb3AuaW8uV3JpdGFibGU7CgpwdWJsaWMgY2xh c3MgTG9uZ0RvdWJsZVBhaXIgaW1wbGVtZW50cyBXcml0YWJsZSwgQ29tcGFyYWJsZTxMb25nRG91 YmxlUGFpcj4gewoKCXByaXZhdGUgTG9uZyBsb25nVmFsOwoJcHJpdmF0ZSBEb3VibGUgZG91Ymxl VmFsOwoKCXB1YmxpYyBMb25nRG91YmxlUGFpcihsb25nIGxvbmdWYWwsIGRvdWJsZSBkb3VibGVW YWwpIHsKCQl0aGlzLmxvbmdWYWwgPSBsb25nVmFsOwoJCXRoaXMuZG91YmxlVmFsID0gZG91Ymxl VmFsOwoJfQoKCXB1YmxpYyBMb25nRG91YmxlUGFpcigpIHsKCQl0aGlzKDBsLCAwLjBkKTsKCX0K CglAT3ZlcnJpZGUKCXB1YmxpYyBib29sZWFuIGVxdWFscyhPYmplY3Qgb2JqKSB7CgkJaWYgKG9i aiA9PSB0aGlzKQoJCQlyZXR1cm4gdHJ1ZTsKCQlpZiAob2JqIGluc3RhbmNlb2YgTG9uZ0RvdWJs ZVBhaXIpIHsKCQkJTG9uZ0RvdWJsZVBhaXIgcGFpciA9IChMb25nRG91YmxlUGFpcilvYmo7CgkJ CXJldHVybiAoZG91YmxlKWRvdWJsZVZhbCA9PSAoZG91YmxlKXBhaXIuZG91YmxlVmFsICYmIChs b25nKWxvbmdWYWwgPT0gKGxvbmcpcGFpci5sb25nVmFsOwoJCX0KCQlyZXR1cm4gZmFsc2U7Cgl9 CgoJQE92ZXJyaWRlCglwdWJsaWMgaW50IGhhc2hDb2RlKCkgewoJCXJldHVybiBsb25nVmFsLmhh c2hDb2RlKCkgKiAxNjc2MyArIGRvdWJsZVZhbC5oYXNoQ29kZSgpOwoJfQoKCUBPdmVycmlkZQoJ cHVibGljIHZvaWQgcmVhZEZpZWxkcyhEYXRhSW5wdXQgaW5wdXQpIHRocm93cyBJT0V4Y2VwdGlv biB7CgkJbG9uZ1ZhbCA9IGlucHV0LnJlYWRMb25nKCk7CgkJZG91YmxlVmFsID0gaW5wdXQucmVh ZERvdWJsZSgpOwoJfQoKCUBPdmVycmlkZQoJcHVibGljIHZvaWQgd3JpdGUoRGF0YU91dHB1dCBv dXQpIHRocm93cyBJT0V4Y2VwdGlvbiB7CgkJb3V0LndyaXRlTG9uZyhsb25nVmFsKTsKCQlvdXQu d3JpdGVEb3VibGUoZG91YmxlVmFsKTsKCX0KCglAT3ZlcnJpZGUKCXB1YmxpYyBpbnQgY29tcGFy ZVRvKExvbmdEb3VibGVQYWlyIG90aGVyKSB7CgkJaW50IGNtcCA9IChkb3VibGVWYWwgPCBvdGhl ci5kb3VibGVWYWwpID8KCQkJCS0xIDogKGRvdWJsZVZhbCA+IG90aGVyLmRvdWJsZVZhbCkgPyAx IDogMDsKCQkKCQlpZiAoY21wICE9IDApCgkJCXJldHVybiBjbXA7CgkJcmV0dXJuIGxvbmdWYWw8 b3RoZXIubG9uZ1ZhbCA/IAoJCQkJLTEgOiAobG9uZ1ZhbCA+IG90aGVyLmxvbmdWYWwpID8gMSA6 IDA7Cgl9CgoJQE92ZXJyaWRlCglwdWJsaWMgU3RyaW5nIHRvU3RyaW5nKCkgewoJCXJldHVybiBs b25nVmFsLnRvU3RyaW5nKCkgKyAiICIgKyBkb3VibGVWYWwudG9TdHJpbmcoKTsKCX0KCglwdWJs aWMgbG9uZyBnZXRMb25nVmFsdWUoKSB7CgkJcmV0dXJuIGxvbmdWYWw7Cgl9CgoJcHVibGljIGRv dWJsZSBnZXREb3VibGVWYWx1ZSgpIHsKCQlyZXR1cm4gZG91YmxlVmFsOwoJfQoJCglwdWJsaWMg c3RhdGljIExvbmdEb3VibGVQYWlyIHJlYWQoRGF0YUlucHV0IGlucHV0KSB0aHJvd3MgSU9FeGNl cHRpb24gewoJCUxvbmdEb3VibGVQYWlyIHBhaXIgPSBuZXcgTG9uZ0RvdWJsZVBhaXIoKTsKCQlw YWlyLnJlYWRGaWVsZHMoaW5wdXQpOwoJCXJldHVybiBwYWlyOwoJfQp9Cg== --000e0cd704e294a5f9047f1a1020-- From [email protected] Mon Feb 08 19:09:46 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3629 invoked from network); 8 Feb 2010 19:09:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Feb 2010 19:09:45 -0000 Received: (qmail 90267 invoked by uid 500); 8 Feb 2010 19:09:45 -0000 Delivered-To: [email protected] Received: (qmail 90233 invoked by uid 500); 8 Feb 2010 19:09:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 90224 invoked by uid 99); 8 Feb 2010 19:09:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Feb 2010 19:09:45 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.cs.umass.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Feb 2010 19:09:34 +0000 Received: from mail-ww0-f48.google.com (mail-ww0-f48.google.com [161.129.204.104]) (authenticated bits=0 authid=mazur) by mail.cs.umass.edu (8.13.8/8.13.1) with ESMTP id o18J9Cnh000328 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for <[email protected]>; Mon, 8 Feb 2010 14:09:13 -0500 Received: by wwb24 with SMTP id 24so1709213wwb.35 for <[email protected]>; Mon, 08 Feb 2010 11:09:07 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id u6mr2021864wee.213.1265656147020; Mon, 08 Feb 2010 11:09:07 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> Date: Mon, 8 Feb 2010 14:09:06 -0500 Message-ID: <[email protected]> Subject: Re: Strange behaviour from a custom Writable From: Ed Mazur <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi James, I ran into something similar in the past and suspect the problem may be in your reduce function. Are you buffering values from the iterator? If you are, then you need to first clone the value when taking it from the iterator (implement Cloneable in your custom Writable). Otherwise they will all be references to the last item from the iterator. Ed On Mon, Feb 8, 2010 at 12:23 PM, James Hammerton <[email protected]> wrote: > Hi, > > For a particular project I created a writable for holding a long and a > double called LongDoublePair. My mapper outputs LongDoublePair values and > the reducer receives an Iterable<LongDoublePair>. > > The problem is that when I try to use it, whilst I get the right number o= f > elements in the Iterable, they are all copies of the same object! I teste= d > that this was the case by using the following code in the loop that > processes the pairs: > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 if (prev !=3D null) { > =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 if (prev =3D=3D next) { > =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 context.getCounter("MY = COUNTERS", key.toString() + > "Values are same object").increment(1); > =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 } > =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 } else { > =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 prev =3D next; > =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 } > > The counters appeared with all sorts of values, e.g. I got lots of lines > like: "10/02/08 16:57:18 INFO mapred.JobClient:=A0=A0=A0=A0 990Values are= same > object=3D46", indicating that the iterator was iterating through copies o= f the > same object. > > My code works if instead of using the LongDoublePair I use a Text object = and > simply concatenate the two number strings with a space to separate them a= nd > have the reducer parse the string into a LongDoublePair and process it. > > Via unit tests, I've ensured the LongDoublePair's serialisation and > deserialisation code works, that hashCode and equals do what they should = do, > etc, but I can't seem to get this to work other than by falling back on > using Text objects. Any ideas what might be going wrong? > > I've attached the source code for LongDoublePair to this email in case yo= u > can spot anything that might be behind the problem. > > James > > -- > James Hammerton | Senior Data Mining Engineer > www.mendeley.com/profiles/james-hammerton > > Mendeley Limited | London, UK | www.mendeley.com > Registered in England and Wales | Company Number 6419015 > > > > From [email protected] Mon Feb 08 22:59:09 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92550 invoked from network); 8 Feb 2010 22:59:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Feb 2010 22:59:09 -0000 Received: (qmail 61014 invoked by uid 500); 8 Feb 2010 22:59:09 -0000 Delivered-To: [email protected] Received: (qmail 60963 invoked by uid 500); 8 Feb 2010 22:59:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 60954 invoked by uid 99); 8 Feb 2010 22:59:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Feb 2010 22:59: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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yx0-f189.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Feb 2010 22:58:57 +0000 Received: by yxe27 with SMTP id 27so2992202yxe.29 for <[email protected]>; Mon, 08 Feb 2010 14:58:36 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id p32mr9800210ybc.279.1265669915716; Mon, 08 Feb 2010 14:58:35 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Mon, 8 Feb 2010 22:58:35 +0000 Message-ID: <[email protected]> Subject: Re: Strange behaviour from a custom Writable From: James Hammerton <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=000e0cd70a56baad1f047f1ebd8a X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd70a56baad1f047f1ebd8a Content-Type: text/plain; charset=ISO-8859-1 Thanks, Ed. I'm copying the values into a list and then sorting them and then emiting the top 20, so yes they are buffered. I'll try cloning each item tomorrow and see if that works. Does this mean the Iterator is returning the same pointer with each call to next() but with different contents being stored at that location each time? E.g. it returns a pointer to a buffer that gets filled with different contents each time you call the iterator? Regards, James On Mon, Feb 8, 2010 at 7:09 PM, Ed Mazur <[email protected]> wrote: > Hi James, > > I ran into something similar in the past and suspect the problem may > be in your reduce function. Are you buffering values from the > iterator? If you are, then you need to first clone the value when > taking it from the iterator (implement Cloneable in your custom > Writable). Otherwise they will all be references to the last item from > the iterator. > > Ed > > On Mon, Feb 8, 2010 at 12:23 PM, James Hammerton > <[email protected]> wrote: > > Hi, > > > > For a particular project I created a writable for holding a long and a > > double called LongDoublePair. My mapper outputs LongDoublePair values and > > the reducer receives an Iterable<LongDoublePair>. > > > > The problem is that when I try to use it, whilst I get the right number > of > > elements in the Iterable, they are all copies of the same object! I > tested > > that this was the case by using the following code in the loop that > > processes the pairs: > > > > if (prev != null) { > > if (prev == next) { > > context.getCounter("MY COUNTERS", key.toString() + > > "Values are same object").increment(1); > > } > > } else { > > prev = next; > > } > > > > The counters appeared with all sorts of values, e.g. I got lots of lines > > like: "10/02/08 16:57:18 INFO mapred.JobClient: 990Values are same > > object=46", indicating that the iterator was iterating through copies of > the > > same object. > > > > My code works if instead of using the LongDoublePair I use a Text object > and > > simply concatenate the two number strings with a space to separate them > and > > have the reducer parse the string into a LongDoublePair and process it. > > > > Via unit tests, I've ensured the LongDoublePair's serialisation and > > deserialisation code works, that hashCode and equals do what they should > do, > > etc, but I can't seem to get this to work other than by falling back on > > using Text objects. Any ideas what might be going wrong? > > > > I've attached the source code for LongDoublePair to this email in case > you > > can spot anything that might be behind the problem. > > > > James > > > > -- > > James Hammerton | Senior Data Mining Engineer > > www.mendeley.com/profiles/james-hammerton > > > > Mendeley Limited | London, UK | www.mendeley.com > > Registered in England and Wales | Company Number 6419015 > > > > > > > > > -- James Hammerton | Senior Data Mining Engineer www.mendeley.com/profiles/james-hammerton Mendeley Limited | London, UK | www.mendeley.com Registered in England and Wales | Company Number 6419015 --000e0cd70a56baad1f047f1ebd8a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks, Ed. I&#39;m copying the values into a list and then sorting them an= d then emiting the top 20, so yes they are buffered. I&#39;ll try cloning e= ach item tomorrow and see if that works. <br><br>Does this mean the Iterato= r is returning the same pointer with each call to next() but with different= contents being stored at that location each time? E.g. it returns a pointe= r to a buffer that gets filled with different contents each time you call t= he iterator?<br> <br>Regards,<br><br>James<br><br><div class=3D"gmail_quote">On Mon, Feb 8, = 2010 at 7:09 PM, Ed Mazur <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected].= umass.edu">[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D= "gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0= pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hi James,<br> <br> I ran into something similar in the past and suspect the problem may<br> be in your reduce function. Are you buffering values from the<br> iterator? If you are, then you need to first clone the value when<br> taking it from the iterator (implement Cloneable in your custom<br> Writable). Otherwise they will all be references to the last item from<br> the iterator.<br> <font color=3D"#888888"><br> Ed<br> </font><div><div></div><div class=3D"h5"><br> On Mon, Feb 8, 2010 at 12:23 PM, James Hammerton<br> &lt;<a href=3D"mailto:[email protected]">james.hammerton@mendele= y.com</a>&gt; wrote:<br> &gt; Hi,<br> &gt;<br> &gt; For a particular project I created a writable for holding a long and a= <br> &gt; double called LongDoublePair. My mapper outputs LongDoublePair values = and<br> &gt; the reducer receives an Iterable&lt;LongDoublePair&gt;.<br> &gt;<br> &gt; The problem is that when I try to use it, whilst I get the right numbe= r of<br> &gt; elements in the Iterable, they are all copies of the same object! I te= sted<br> &gt; that this was the case by using the following code in the loop that<br= > &gt; processes the pairs:<br> &gt;<br> &gt; =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 if (prev !=3D null) {<br> &gt; =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 if (prev =3D=3D next) {<br> &gt; =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 context.getCounter(&= quot;MY COUNTERS&quot;, key.toString() +<br> &gt; &quot;Values are same object&quot;).increment(1);<br> &gt; =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 }<br> &gt; =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 } else {<br> &gt; =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 prev =3D next;<br> &gt; =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 }<br> &gt;<br> &gt; The counters appeared with all sorts of values, e.g. I got lots of lin= es<br> &gt; like: &quot;10/02/08 16:57:18 INFO mapred.JobClient:=A0=A0=A0=A0 990Va= lues are same<br> &gt; object=3D46&quot;, indicating that the iterator was iterating through = copies of the<br> &gt; same object.<br> &gt;<br> &gt; My code works if instead of using the LongDoublePair I use a Text obje= ct and<br> &gt; simply concatenate the two number strings with a space to separate the= m and<br> &gt; have the reducer parse the string into a LongDoublePair and process it= .<br> &gt;<br> &gt; Via unit tests, I&#39;ve ensured the LongDoublePair&#39;s serialisatio= n and<br> &gt; deserialisation code works, that hashCode and equals do what they shou= ld do,<br> &gt; etc, but I can&#39;t seem to get this to work other than by falling ba= ck on<br> &gt; using Text objects. Any ideas what might be going wrong?<br> &gt;<br> &gt; I&#39;ve attached the source code for LongDoublePair to this email in = case you<br> &gt; can spot anything that might be behind the problem.<br> &gt;<br> &gt; James<br> &gt;<br> &gt; --<br> &gt; James Hammerton | Senior Data Mining Engineer<br> &gt; <a href=3D"http://www.mendeley.com/profiles/james-hammerton" target=3D= "_blank">www.mendeley.com/profiles/james-hammerton</a><br> &gt;<br> &gt; Mendeley Limited | London, UK | <a href=3D"http://www.mendeley.com" ta= rget=3D"_blank">www.mendeley.com</a><br> &gt; Registered in England and Wales | Company Number 6419015<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> </div></div></blockquote></div><br><br clear=3D"all"><br>-- <br>James Hamme= rton | Senior Data Mining Engineer<br><a href=3D"http://www.mendeley.com/pr= ofiles/james-hammerton">www.mendeley.com/profiles/james-hammerton</a><br><b= r> Mendeley Limited | London, UK | <a href=3D"http://www.mendeley.com">www.men= deley.com</a><br>Registered in England and Wales | Company Number 6419015<b= r><br><br><br> --000e0cd70a56baad1f047f1ebd8a-- From [email protected] Mon Feb 08 23:12:34 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97305 invoked from network); 8 Feb 2010 23:12:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Feb 2010 23:12:34 -0000 Received: (qmail 75514 invoked by uid 500); 8 Feb 2010 23:12:34 -0000 Delivered-To: [email protected] Received: (qmail 75438 invoked by uid 500); 8 Feb 2010 23:12:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 75429 invoked by uid 99); 8 Feb 2010 23:12:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Feb 2010 23:12:34 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.cs.umass.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Feb 2010 23:12:22 +0000 Received: from mail-ww0-f48.google.com (mail-ww0-f48.google.com [161.129.204.104]) (authenticated bits=0 authid=mazur) by mail.cs.umass.edu (8.13.8/8.13.1) with ESMTP id o18NC0rK027848 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for <[email protected]>; Mon, 8 Feb 2010 18:12:01 -0500 Received: by wwb24 with SMTP id 24so1779786wwb.35 for <[email protected]>; Mon, 08 Feb 2010 15:11:55 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id b5mr461876wef.143.1265670715518; Mon, 08 Feb 2010 15:11:55 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Mon, 8 Feb 2010 18:11:55 -0500 Message-ID: <[email protected]> Subject: Re: Strange behaviour from a custom Writable From: Ed Mazur <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Yeah, my understanding is that the iterator is just giving you a pointer to the same location each time. This seems to match up with the behavior we've both observed, but maybe someone more familiar with the internals can verify. Also, in case you didn't know, you can use what's called a secondary sort to make values come out of the iterator in sorted order. The basic idea is to stuff the value attribute(s) you're sorting on into the key, but then to specify a custom partitioner and custom grouper that operate on just the original key attribute(s). See org.apache.hadoop.examples.SecondarySort for a nice example. This lets Hadoop internals do some of the heavy lifting and removes the requirement that all values for a key fit in memory (though I guess if you only care about the top 20, your space requirement is still O(1)). Ed On Mon, Feb 8, 2010 at 5:58 PM, James Hammerton <[email protected]> wrote: > Thanks, Ed. I'm copying the values into a list and then sorting them and > then emiting the top 20, so yes they are buffered. I'll try cloning each > item tomorrow and see if that works. > > Does this mean the Iterator is returning the same pointer with each call = to > next() but with different contents being stored at that location each tim= e? > E.g. it returns a pointer to a buffer that gets filled with different > contents each time you call the iterator? > > Regards, > > James > > On Mon, Feb 8, 2010 at 7:09 PM, Ed Mazur <[email protected]> wrote: >> >> Hi James, >> >> I ran into something similar in the past and suspect the problem may >> be in your reduce function. Are you buffering values from the >> iterator? If you are, then you need to first clone the value when >> taking it from the iterator (implement Cloneable in your custom >> Writable). Otherwise they will all be references to the last item from >> the iterator. >> >> Ed >> >> On Mon, Feb 8, 2010 at 12:23 PM, James Hammerton >> <[email protected]> wrote: >> > Hi, >> > >> > For a particular project I created a writable for holding a long and a >> > double called LongDoublePair. My mapper outputs LongDoublePair values >> > and >> > the reducer receives an Iterable<LongDoublePair>. >> > >> > The problem is that when I try to use it, whilst I get the right numbe= r >> > of >> > elements in the Iterable, they are all copies of the same object! I >> > tested >> > that this was the case by using the following code in the loop that >> > processes the pairs: >> > >> > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 if (prev !=3D null) { >> > =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 if (prev =3D=3D next) { >> > =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 context.getCounter("= MY COUNTERS", key.toString() + >> > "Values are same object").increment(1); >> > =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 } >> > =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 } else { >> > =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 prev =3D next; >> > =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 } >> > >> > The counters appeared with all sorts of values, e.g. I got lots of lin= es >> > like: "10/02/08 16:57:18 INFO mapred.JobClient:=A0=A0=A0=A0 990Values = are same >> > object=3D46", indicating that the iterator was iterating through copie= s of >> > the >> > same object. >> > >> > My code works if instead of using the LongDoublePair I use a Text obje= ct >> > and >> > simply concatenate the two number strings with a space to separate the= m >> > and >> > have the reducer parse the string into a LongDoublePair and process it= . >> > >> > Via unit tests, I've ensured the LongDoublePair's serialisation and >> > deserialisation code works, that hashCode and equals do what they shou= ld >> > do, >> > etc, but I can't seem to get this to work other than by falling back o= n >> > using Text objects. Any ideas what might be going wrong? >> > >> > I've attached the source code for LongDoublePair to this email in case >> > you >> > can spot anything that might be behind the problem. >> > >> > James >> > >> > -- >> > James Hammerton | Senior Data Mining Engineer >> > www.mendeley.com/profiles/james-hammerton >> > >> > Mendeley Limited | London, UK | www.mendeley.com >> > Registered in England and Wales | Company Number 6419015 >> > >> > >> > >> > > > > > -- > James Hammerton | Senior Data Mining Engineer > www.mendeley.com/profiles/james-hammerton > > Mendeley Limited | London, UK | www.mendeley.com > Registered in England and Wales | Company Number 6419015 > > > > From [email protected] Tue Feb 09 05:38:48 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24590 invoked from network); 9 Feb 2010 05:38:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Feb 2010 05:38:48 -0000 Received: (qmail 45042 invoked by uid 500); 9 Feb 2010 05:38:47 -0000 Delivered-To: [email protected] Received: (qmail 44907 invoked by uid 500); 9 Feb 2010 05:38:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 44898 invoked by uid 99); 9 Feb 2010 05:38:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 05:38:46 +0000 X-ASF-Spam-Status: No, hits=4.2 required=10.0 tests=HTML_MESSAGE,NO_RDNS_DOTCOM_HELO,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mrout2-b.corp.re1.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 05:38:34 +0000 Received: from EGL-EX07CAS02.ds.corp.yahoo.com (egl-ex07cas02.eglbp.corp.yahoo.com [161.129.204.104]) by mrout2-b.corp.re1.yahoo.com (8.13.8/8.13.8/y.out) with ESMTP id o195bpXw087630 for <[email protected]>; Mon, 8 Feb 2010 21:37:52 -0800 (PST) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=received:from:to:date:subject:thread-topic:thread-index: message-id:in-reply-to:accept-language:content-language: x-ms-has-attach:x-ms-tnef-correlator:acceptlanguage:content-type:mime-version; b=SCi4q8Stqzt4br3pcpdA1ceN7RjeNAIFwnAKwWoWoQM9RjB0k2GCC8rd4XFW/mGd Received: from EGL-EX07VS01.ds.corp.yahoo.com ([161.129.204.104]) by EGL-EX07CAS02.ds.corp.yahoo.com ([161.129.204.104]) with mapi; Tue, 9 Feb 2010 11:07:51 +0530 From: Amogh Vasekar <[email protected]> To: "[email protected]" <[email protected]> Date: Tue, 9 Feb 2010 11:07:50 +0530 Subject: Re: Strange behaviour from a custom Writable Thread-Topic: Strange behaviour from a custom Writable Thread-Index: AcqpFECMNhbAggJgTuiB8Q0o2qLfYgANcPat Message-ID: <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_C796F2867316amoghyahooinccom_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_C796F2867316amoghyahooinccom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, Yes the same location is populated with different values ( returned by iter= .next() ) for optimization reasons. There is a new patch which will allow y= ou to mark() and reset() iterator so that you buffer required values ( equi= valently you can do that yourself, its anyways in-mem for the patch too, bu= t with additional compatibility). Thanks, Amogh On 2/9/10 4:41 AM, "Ed Mazur" <[email protected]> wrote: Yeah, my understanding is that the iterator is just giving you a pointer to the same location each time. This seems to match up with the behavior we've both observed, but maybe someone more familiar with the internals can verify. Also, in case you didn't know, you can use what's called a secondary sort to make values come out of the iterator in sorted order. The basic idea is to stuff the value attribute(s) you're sorting on into the key, but then to specify a custom partitioner and custom grouper that operate on just the original key attribute(s). See org.apache.hadoop.examples.SecondarySort for a nice example. This lets Hadoop internals do some of the heavy lifting and removes the requirement that all values for a key fit in memory (though I guess if you only care about the top 20, your space requirement is still O(1)). Ed On Mon, Feb 8, 2010 at 5:58 PM, James Hammerton <[email protected]> wrote: > Thanks, Ed. I'm copying the values into a list and then sorting them and > then emiting the top 20, so yes they are buffered. I'll try cloning each > item tomorrow and see if that works. > > Does this mean the Iterator is returning the same pointer with each call = to > next() but with different contents being stored at that location each tim= e? > E.g. it returns a pointer to a buffer that gets filled with different > contents each time you call the iterator? > > Regards, > > James > > On Mon, Feb 8, 2010 at 7:09 PM, Ed Mazur <[email protected]> wrote: >> >> Hi James, >> >> I ran into something similar in the past and suspect the problem may >> be in your reduce function. Are you buffering values from the >> iterator? If you are, then you need to first clone the value when >> taking it from the iterator (implement Cloneable in your custom >> Writable). Otherwise they will all be references to the last item from >> the iterator. >> >> Ed >> >> On Mon, Feb 8, 2010 at 12:23 PM, James Hammerton >> <[email protected]> wrote: >> > Hi, >> > >> > For a particular project I created a writable for holding a long and a >> > double called LongDoublePair. My mapper outputs LongDoublePair values >> > and >> > the reducer receives an Iterable<LongDoublePair>. >> > >> > The problem is that when I try to use it, whilst I get the right numbe= r >> > of >> > elements in the Iterable, they are all copies of the same object! I >> > tested >> > that this was the case by using the following code in the loop that >> > processes the pairs: >> > >> > if (prev !=3D null) { >> > if (prev =3D=3D next) { >> > context.getCounter("MY COUNTERS", key.toString() + >> > "Values are same object").increment(1); >> > } >> > } else { >> > prev =3D next; >> > } >> > >> > The counters appeared with all sorts of values, e.g. I got lots of lin= es >> > like: "10/02/08 16:57:18 INFO mapred.JobClient: 990Values are same >> > object=3D46", indicating that the iterator was iterating through copie= s of >> > the >> > same object. >> > >> > My code works if instead of using the LongDoublePair I use a Text obje= ct >> > and >> > simply concatenate the two number strings with a space to separate the= m >> > and >> > have the reducer parse the string into a LongDoublePair and process it= . >> > >> > Via unit tests, I've ensured the LongDoublePair's serialisation and >> > deserialisation code works, that hashCode and equals do what they shou= ld >> > do, >> > etc, but I can't seem to get this to work other than by falling back o= n >> > using Text objects. Any ideas what might be going wrong? >> > >> > I've attached the source code for LongDoublePair to this email in case >> > you >> > can spot anything that might be behind the problem. >> > >> > James >> > >> > -- >> > James Hammerton | Senior Data Mining Engineer >> > www.mendeley.com/profiles/james-hammerton >> > >> > Mendeley Limited | London, UK | www.mendeley.com >> > Registered in England and Wales | Company Number 6419015 >> > >> > >> > >> > > > > > -- > James Hammerton | Senior Data Mining Engineer > www.mendeley.com/profiles/james-hammerton > > Mendeley Limited | London, UK | www.mendeley.com > Registered in England and Wales | Company Number 6419015 > > > > --_000_C796F2867316amoghyahooinccom_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <HTML> <HEAD> <TITLE>Re: Strange behaviour from a custom Writable</TITLE> </HEAD> <BODY> <FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><SPAN STYLE=3D'font-size:= 14pt'>Hi,<BR> Yes the same location is populated with different values ( returned by iter= .next() ) for optimization reasons. There is a new patch which will allow y= ou to mark() and reset() iterator so that you buffer required values ( equi= valently you can do that yourself, its anyways in-mem for the patch too, bu= t with additional compatibility).<BR> <BR> Thanks,<BR> Amogh<BR> <BR> On 2/9/10 4:41 AM, &quot;Ed Mazur&quot; &lt;<a href=3D"[email protected]">= [email protected]</a>&gt; wrote:<BR> <BR> </SPAN></FONT><BLOCKQUOTE><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"= ><SPAN STYLE=3D'font-size:14pt'>Yeah, my understanding is that the iterator= is just giving you a<BR> pointer to the same location each time. This seems to match up with<BR> the behavior we've both observed, but maybe someone more familiar with<BR> the internals can verify.<BR> <BR> Also, in case you didn't know, you can use what's called a secondary<BR> sort to make values come out of the iterator in sorted order. The<BR> basic idea is to stuff the value attribute(s) you're sorting on into<BR> the key, but then to specify a custom partitioner and custom grouper<BR> that operate on just the original key attribute(s). See<BR> org.apache.hadoop.examples.SecondarySort for a nice example. This lets<BR> Hadoop internals do some of the heavy lifting and removes the<BR> requirement that all values for a key fit in memory (though I guess if<BR> you only care about the top 20, your space requirement is still O(1)).<BR> <BR> Ed<BR> <BR> On Mon, Feb 8, 2010 at 5:58 PM, James Hammerton<BR> &lt;<a href=3D"[email protected]">[email protected]</= a>&gt; wrote:<BR> &gt; Thanks, Ed. I'm copying the values into a list and then sorting them a= nd<BR> &gt; then emiting the top 20, so yes they are buffered. I'll try cloning ea= ch<BR> &gt; item tomorrow and see if that works.<BR> &gt;<BR> &gt; Does this mean the Iterator is returning the same pointer with each ca= ll to<BR> &gt; next() but with different contents being stored at that location each = time?<BR> &gt; E.g. it returns a pointer to a buffer that gets filled with different<= BR> &gt; contents each time you call the iterator?<BR> &gt;<BR> &gt; Regards,<BR> &gt;<BR> &gt; James<BR> &gt;<BR> &gt; On Mon, Feb 8, 2010 at 7:09 PM, Ed Mazur &lt;<a href=3D"[email protected]= .edu">[email protected]</a>&gt; wrote:<BR> &gt;&gt;<BR> &gt;&gt; Hi James,<BR> &gt;&gt;<BR> &gt;&gt; I ran into something similar in the past and suspect the problem m= ay<BR> &gt;&gt; be in your reduce function. Are you buffering values from the<BR> &gt;&gt; iterator? If you are, then you need to first clone the value when<= BR> &gt;&gt; taking it from the iterator (implement Cloneable in your custom<BR= > &gt;&gt; Writable). Otherwise they will all be references to the last item = from<BR> &gt;&gt; the iterator.<BR> &gt;&gt;<BR> &gt;&gt; Ed<BR> &gt;&gt;<BR> &gt;&gt; On Mon, Feb 8, 2010 at 12:23 PM, James Hammerton<BR> &gt;&gt; &lt;<a href=3D"[email protected]">james.hammerton@mende= ley.com</a>&gt; wrote:<BR> &gt;&gt; &gt; Hi,<BR> &gt;&gt; &gt;<BR> &gt;&gt; &gt; For a particular project I created a writable for holding a l= ong and a<BR> &gt;&gt; &gt; double called LongDoublePair. My mapper outputs LongDoublePai= r values<BR> &gt;&gt; &gt; and<BR> &gt;&gt; &gt; the reducer receives an Iterable&lt;LongDoublePair&gt;.<BR> &gt;&gt; &gt;<BR> &gt;&gt; &gt; The problem is that when I try to use it, whilst I get the ri= ght number<BR> &gt;&gt; &gt; of<BR> &gt;&gt; &gt; elements in the Iterable, they are all copies of the same obj= ect! I<BR> &gt;&gt; &gt; tested<BR> &gt;&gt; &gt; that this was the case by using the following code in the loo= p that<BR> &gt;&gt; &gt; processes the pairs:<BR> &gt;&gt; &gt;<BR> &gt;&gt; &gt; =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 if (prev !=3D null) {<BR> &gt;&gt; &gt; =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 if (prev =3D=3D next)= {<BR> &gt;&gt; &gt; =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 context.get= Counter(&quot;MY COUNTERS&quot;, key.toString() +<BR> &gt;&gt; &gt; &quot;Values are same object&quot;).increment(1);<BR> &gt;&gt; &gt; =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 }<BR> &gt;&gt; &gt; =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 } else {<BR> &gt;&gt; &gt; =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 prev =3D next;<BR> &gt;&gt; &gt; =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 }<BR> &gt;&gt; &gt;<BR> &gt;&gt; &gt; The counters appeared with all sorts of values, e.g. I got lo= ts of lines<BR> &gt;&gt; &gt; like: &quot;10/02/08 16:57:18 INFO mapred.JobClient:=A0=A0=A0= =A0 990Values are same<BR> &gt;&gt; &gt; object=3D46&quot;, indicating that the iterator was iterating= through copies of<BR> &gt;&gt; &gt; the<BR> &gt;&gt; &gt; same object.<BR> &gt;&gt; &gt;<BR> &gt;&gt; &gt; My code works if instead of using the LongDoublePair I use a = Text object<BR> &gt;&gt; &gt; and<BR> &gt;&gt; &gt; simply concatenate the two number strings with a space to sep= arate them<BR> &gt;&gt; &gt; and<BR> &gt;&gt; &gt; have the reducer parse the string into a LongDoublePair and p= rocess it.<BR> &gt;&gt; &gt;<BR> &gt;&gt; &gt; Via unit tests, I've ensured the LongDoublePair's serialisati= on and<BR> &gt;&gt; &gt; deserialisation code works, that hashCode and equals do what = they should<BR> &gt;&gt; &gt; do,<BR> &gt;&gt; &gt; etc, but I can't seem to get this to work other than by falli= ng back on<BR> &gt;&gt; &gt; using Text objects. Any ideas what might be going wrong?<BR> &gt;&gt; &gt;<BR> &gt;&gt; &gt; I've attached the source code for LongDoublePair to this emai= l in case<BR> &gt;&gt; &gt; you<BR> &gt;&gt; &gt; can spot anything that might be behind the problem.<BR> &gt;&gt; &gt;<BR> &gt;&gt; &gt; James<BR> &gt;&gt; &gt;<BR> &gt;&gt; &gt; --<BR> &gt;&gt; &gt; James Hammerton | Senior Data Mining Engineer<BR> &gt;&gt; &gt; www.mendeley.com/profiles/james-hammerton<BR> &gt;&gt; &gt;<BR> &gt;&gt; &gt; Mendeley Limited | London, UK | www.mendeley.com<BR> &gt;&gt; &gt; Registered in England and Wales | Company Number 6419015<BR> &gt;&gt; &gt;<BR> &gt;&gt; &gt;<BR> &gt;&gt; &gt;<BR> &gt;&gt; &gt;<BR> &gt;<BR> &gt;<BR> &gt;<BR> &gt; --<BR> &gt; James Hammerton | Senior Data Mining Engineer<BR> &gt; www.mendeley.com/profiles/james-hammerton<BR> &gt;<BR> &gt; Mendeley Limited | London, UK | www.mendeley.com<BR> &gt; Registered in England and Wales | Company Number 6419015<BR> &gt;<BR> &gt;<BR> &gt;<BR> &gt;<BR> <BR> </SPAN></FONT></BLOCKQUOTE> </BODY> </HTML> --_000_C796F2867316amoghyahooinccom_-- From [email protected] Tue Feb 09 05:41:00 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25440 invoked from network); 9 Feb 2010 05:41:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Feb 2010 05:41:00 -0000 Received: (qmail 48843 invoked by uid 500); 9 Feb 2010 05:41:00 -0000 Delivered-To: [email protected] Received: (qmail 48738 invoked by uid 500); 9 Feb 2010 05:40:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48729 invoked by uid 99); 9 Feb 2010 05:40:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 05:40:59 +0000 X-ASF-Spam-Status: No, hits=4.2 required=10.0 tests=HTML_MESSAGE,NO_RDNS_DOTCOM_HELO,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mrout2.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 05:40:49 +0000 Received: from EGL-EX07CAS02.ds.corp.yahoo.com (egl-ex07cas02.eglbp.corp.yahoo.com [161.129.204.104]) by mrout2.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id o195eARQ045567 for <[email protected]>; Mon, 8 Feb 2010 21:40:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=received:from:to:date:subject:thread-topic:thread-index: message-id:in-reply-to:accept-language:content-language: x-ms-has-attach:x-ms-tnef-correlator:acceptlanguage:content-type:mime-version; b=qZVQ+39b4wuKOBKJZZ2kfJ6AfJAHa0cCkDHpJxoc+zhiflgstLbQqkPLXcOW6ChV Received: from EGL-EX07VS01.ds.corp.yahoo.com ([161.129.204.104]) by EGL-EX07CAS02.ds.corp.yahoo.com ([161.129.204.104]) with mapi; Tue, 9 Feb 2010 11:10:09 +0530 From: Amogh Vasekar <[email protected]> To: "[email protected]" <[email protected]> Date: Tue, 9 Feb 2010 11:10:07 +0530 Subject: Re: avoiding data redistribution in iterative mapreduce Thread-Topic: avoiding data redistribution in iterative mapreduce Thread-Index: AcqldK8zzCQQdnZFTj2UzbAmNrG+TwD1abfE Message-ID: <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_C796F30F7319amoghyahooinccom_" MIME-Version: 1.0 --_000_C796F30F7319amoghyahooinccom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, AFAIK no. I'm not sure how much of a task it is to write a HOD-like schedul= er, or if its even feasible given the new architecture of single managing J= T, directly talking to TT. Probably someone more familiar with the schedule= r architecture can help you better. What I was trying to suggest with serialization was write initial mapper da= ta to known location, and instead of streaming from split, ignore that and = read form here. Sorry for the delayed response, Amogh On 2/4/10 2:01 PM, "Raghava Mutharaju" <[email protected]> wrote: Hi, So is it not possible to avoid redistribution in this case? If that is= the case, can a custom scheduler be written -- will it be any easy task? Regards, Raghava. On Thu, Feb 4, 2010 at 2:52 AM, Amogh Vasekar <[email protected]> wrote: Hi, >>Will there be a re-assignment of Map & Reduce nodes by the Master? In general using available schedulers, I believe so. Because if it weren't,= and I submit job 2 needing different/additional set of inputs, the data lo= cality considerations would be somewhat hampered right? When we had HOD, th= is was certainly possible. Amogh On 2/4/10 1:06 AM, "Raghava Mutharaju" <[email protected] <http://m= [email protected]> > wrote: Hi Amogh, Thank you for the reply. >>> What you need, I believe, is "just run on whatever map has". You got that right :). An example of sequential program would b= e Bubble Sort which needs several iterations for the end result and in each= iteration it needs to work on the previous output (partially sorted list) = rather than the initial input. In my case also, the same thing should happe= n. >>> If you are using an exclusive private cluster, you can probably localiz= e <k,v> from first iteration and >>> use dummy input data ( to ensure same = number of mapper tasks as first round, and use custom >>> classes of MapRun= ner, RecordReader to not read data from supplied input ) Yes, it would be a local cluster, the one in my university. If we= set the no of map tasks, would it not be followed in each iteration? As me= ntioned in the documentation, I think I need to use JobClient to control th= e no of iterations. >>> But how can you ensure that you get the same nodes always to run your m= ap reduce job on a >>> shared cluster? while (!done) { JobClient.runJob(jobConf); <<Do something to che= ck termination condition>>} If I write something like that in the code, would not the Map node run on t= he same data chunk it has each time? Will there be a re-assignment of Map &= Reduce nodes by the Master? Regards, Raghava. On Wed, Feb 3, 2010 at 9:59 AM, Amogh Vasekar <[email protected] <http://= [email protected]> > wrote: Hi, If each of your sequential iteration is map+reduce, then no. The lifetime of a split is confined to a single map reduce job. The split i= s actually a reference to data, which is used to schedule job as close as p= ossible to data. The record reader then uses same object to pass the <k,v> = in split. What you need, I believe, is "just run on whatever map has". If you are usi= ng an exclusive private cluster, you can probably localize <k,v> from first= iteration and use dummy input data ( to ensure same number of mapper tasks= as first round, and use custom classes of MapRunner, RecordReader to not r= ead data from supplied input )But how can you ensure that you get the same = nodes always to run your map reduce job on a shared cluster? Please correct me if I misunderstood your question. Amogh On 2/3/10 11:34 AM, "Raghava Mutharaju" <[email protected] <http://= [email protected]> <http://[email protected]> > wrote: Hi all, I to run a map reduce task repeatedly in order to achieve the desired= result. Is it possible that at the beginning of each iteration, the data s= et is not distributed (divided into chunks and distributed) again and again= i.e. once the distribution occurs for the first time, map nodes should wor= k on the same chunk in every iteration. Can this be done? I only have a bri= ef experience with MapReduce and I think that the input data set is redistr= ibuted every time. Thank you. Regards, Raghava. --_000_C796F30F7319amoghyahooinccom_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <HTML> <HEAD> <TITLE>Re: avoiding data redistribution in iterative mapreduce</TITLE> </HEAD> <BODY> <FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><SPAN STYLE=3D'font-size:= 14pt'>Hi,<BR> AFAIK no. I&#8217;m not sure how much of a task it is to write a HOD-like s= cheduler, or if its even feasible given the new architecture of single mana= ging JT, directly talking to TT. Probably someone more familiar with the sc= heduler architecture can help you better.<BR> What I was trying to suggest with serialization was write initial mapper da= ta to known location, and instead of streaming from split, ignore that and = read form here.<BR> Sorry for the delayed response,<BR> <BR> Amogh<BR> <BR> <BR> <BR> On 2/4/10 2:01 PM, &quot;Raghava Mutharaju&quot; &lt;<a href=3D"m.vijayarag= [email protected]">[email protected]</a>&gt; wrote:<BR> <BR> </SPAN></FONT><BLOCKQUOTE><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"= ><SPAN STYLE=3D'font-size:14pt'>Hi,<BR> <BR> =A0=A0=A0=A0 So is it not possible to avoid redistribution in this case? If= that is the case, can a custom scheduler be written -- will it be any easy= task?<BR> <BR> Regards,<BR> Raghava.<BR> <BR> On Thu, Feb 4, 2010 at 2:52 AM, Amogh Vasekar &lt;<a href=3D"amogh@yahoo-in= c.com">[email protected]</a>&gt; wrote:<BR> </SPAN></FONT><BLOCKQUOTE><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"= ><SPAN STYLE=3D'font-size:14pt'>Hi,<BR> <BR> &gt;&gt;Will there be a re-assignment of Map &amp; Reduce nodes by the Mast= er?<BR> In general using available schedulers, I believe so. Because if it weren&#8= 217;t, and I submit job 2 needing different/additional set of inputs, the d= ata locality considerations would be somewhat hampered right? When we had H= OD, this was certainly possible.<BR> <FONT COLOR=3D"#888888"><BR> Amogh<BR> </FONT><BR> <BR> <BR> On 2/4/10 1:06 AM, &quot;Raghava Mutharaju&quot; &lt;<a href=3D"m.vijayarag= [email protected]">[email protected]</a> &lt;<a href=3D"http://m.vijay= [email protected]">http://[email protected]</a>&gt; &gt; wrote:<BR= > <BR> </SPAN></FONT><BLOCKQUOTE><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"= ><SPAN STYLE=3D'font-size:14pt'>Hi Amogh,<BR> <BR> =A0=A0=A0=A0=A0=A0 Thank you for the reply.=A0 <BR> <BR> &gt;&gt;&gt; What you need, I believe, is &#8220;just run on whatever map h= as&#8221;.<BR> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 You got that right :). An example of sequ= ential program would be Bubble Sort which needs several iterations for the = end result and in each iteration it needs to work on the previous output (p= artially sorted list) rather than the initial input. In my case also, the s= ame thing should happen.<BR> <BR> &gt;&gt;&gt; If you are using an exclusive private cluster, you can probabl= y localize &lt;k,v&gt; from first iteration and &gt;&gt;&gt; use dummy inpu= t data ( to ensure same number of mapper tasks as first round, and use cust= om &gt;&gt;&gt; classes of MapRunner, RecordReader to not read data from su= pplied input )<BR> =A0=A0 <BR> =A0=A0=A0=A0=A0=A0=A0=A0=A0 Yes, it would be a local cluster, the one in my= university. If we set the no of map tasks, would it not be followed in eac= h iteration? As mentioned in the documentation, I think I need to use JobCl= ient to control the no of iterations.=A0 <BR> <BR> <BR> &gt;&gt;&gt; But how can you ensure that you get the same nodes always to r= un your map reduce job on a <BR> &gt;&gt;&gt; shared cluster?<BR> <BR> =A0 =A0 =A0 =A0 =A0=A0 while (!done) { JobClient.runJob(jobConf); &lt;&lt;D= o something to check termination condition&gt;&gt;}<BR> <BR> If I write something like that in the code, would not the Map node run on t= he same data chunk it has each time? Will there be a re-assignment of Map &= amp; Reduce nodes by the Master?<BR> <BR> <BR> Regards,<BR> Raghava. =A0=A0=A0=A0=A0=A0=A0=A0 <BR> <BR> On Wed, Feb 3, 2010 at 9:59 AM, Amogh Vasekar &lt;<a href=3D"amogh@yahoo-in= c.com">[email protected]</a> &lt;<a href=3D"http://[email protected]">h= ttp://[email protected]</a>&gt; &gt; wrote:<BR> </SPAN></FONT><BLOCKQUOTE><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"= ><SPAN STYLE=3D'font-size:14pt'>Hi,<BR> If each of your sequential iteration is map+reduce, then no. <BR> The lifetime of a split is confined to a single map reduce job. The split i= s actually a reference to data, which is used to schedule job as close as p= ossible to data. The record reader then uses same object to pass the &lt;k,= v&gt; in split.<BR> What you need, I believe, is &#8220;just run on whatever map has&#8221;. If= you are using an exclusive private cluster, you can probably localize &lt;= k,v&gt; from first iteration and use dummy input data ( to ensure same numb= er of mapper tasks as first round, and use custom classes of MapRunner, Rec= ordReader to not read data from supplied input )But how can you ensure that= you get the same nodes always to run your map reduce job on a shared clust= er?<BR> Please correct me if I misunderstood your question.<BR> <FONT COLOR=3D"#888888"><BR> Amogh<BR> </FONT><BR> <BR> <BR> On 2/3/10 11:34 AM, &quot;Raghava Mutharaju&quot; &lt;<a href=3D"m.vijayara= [email protected]">[email protected]</a> &lt;<a href=3D"http://m.vija= [email protected]">http://[email protected]</a>&gt; &nbsp;&lt;<a = href=3D"http://[email protected]">http://[email protected]<= /a>&gt; &gt; wrote:<BR> <BR> </SPAN></FONT><BLOCKQUOTE><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"= ><SPAN STYLE=3D'font-size:14pt'>Hi all,<BR> <BR> =A0=A0=A0=A0=A0 I to run a map reduce task repeatedly in order to achieve t= he desired result. Is it possible that at the beginning of each iteration, = the data set is not distributed (divided into chunks and distributed) again= and again i.e. once the distribution occurs for the first time, map nodes = should work on the same chunk in every iteration. Can this be done? I only = have a brief experience with MapReduce and I think that the input data set = is redistributed every time.<BR> <BR> Thank you.<BR> <BR> Regards,<BR> Raghava.<BR> <BR> </SPAN></FONT></BLOCKQUOTE></BLOCKQUOTE><FONT FACE=3D"Calibri, Verdana, Hel= vetica, Arial"><SPAN STYLE=3D'font-size:14pt'><BR> <BR> </SPAN></FONT></BLOCKQUOTE></BLOCKQUOTE><FONT FACE=3D"Calibri, Verdana, Hel= vetica, Arial"><SPAN STYLE=3D'font-size:14pt'><BR> <BR> </SPAN></FONT></BLOCKQUOTE> </BODY> </HTML> --_000_C796F30F7319amoghyahooinccom_-- From [email protected] Tue Feb 09 05:42:07 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25874 invoked from network); 9 Feb 2010 05:42:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Feb 2010 05:42:06 -0000 Received: (qmail 49221 invoked by uid 500); 9 Feb 2010 05:42:06 -0000 Delivered-To: [email protected] Received: (qmail 49164 invoked by uid 500); 9 Feb 2010 05:42:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 49155 invoked by uid 99); 9 Feb 2010 05:42:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 05:42:06 +0000 X-ASF-Spam-Status: No, hits=4.2 required=10.0 tests=HTML_MESSAGE,NO_RDNS_DOTCOM_HELO,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mrout2.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 05:41:54 +0000 Received: from EGL-EX07CAS01.ds.corp.yahoo.com (egl-ex07cas01.eglbp.corp.yahoo.com [161.129.204.104]) by mrout2.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id o195fLMP046285 for <[email protected]>; Mon, 8 Feb 2010 21:41:21 -0800 (PST) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=received:from:to:date:subject:thread-topic:thread-index: message-id:in-reply-to:accept-language:content-language: x-ms-has-attach:x-ms-tnef-correlator:acceptlanguage:content-type:mime-version; b=qBoDP9LqsE/APv0QvT9q6n+p1t/LI1wHaZx87gagALVAFKBQcL1ISjBcctklIJBd Received: from EGL-EX07VS01.ds.corp.yahoo.com ([161.129.204.104]) by EGL-EX07CAS01.ds.corp.yahoo.com ([161.129.204.104]) with mapi; Tue, 9 Feb 2010 11:11:20 +0530 From: Amogh Vasekar <[email protected]> To: "[email protected]" <[email protected]> Date: Tue, 9 Feb 2010 11:11:18 +0530 Subject: Re: Barrier between reduce and map of the next round Thread-Topic: Barrier between reduce and map of the next round Thread-Index: AcqlcnohaL2kR31aS/ykCriwVE/fowD2AZBv Message-ID: <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_C796F356731Aamoghyahooinccom_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_C796F356731Aamoghyahooinccom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, >>m1 | r1 m2 | r2 m3 | ... | r(K-1) mK | rK m(K+1) My understanding is it would be something like: m1|(r1 m2)| m(identity) | r2, if you combine the r(i) and m(i+1), because o= f the hard distinction between Rs & Ms. Amogh On 2/4/10 1:46 PM, "Felix Halim" <[email protected]> wrote: Talking about barrier, currently there are barriers between anything: m1 | r1 | m2 | r2 | ... | mK | rK where | is the barrier. I'm saying that the barrier between ri and m(i+1) is not necessary. So it should go like this: m1 | r1 m2 | r2 m3 | ... | r(K-1) mK | rK m(K+1) Here the result of m(K+1) is throwed away. We take the result of rK only. The shuffling is needed only between mi and ri. There is no shuffling needed for ri and m(i+1). Thus by removing the barrier between ri and m(i+1), the overall job can be made faster. Now the question is, can this be done using Chaining? AFAIK, the chaining has to be defined before the job is started, right? But because I don't know the value of K beforehand, I want the chain to continue forever until some counter in reduce task is z= ero. Felix Halim On Thu, Feb 4, 2010 at 3:53 PM, Amogh Vasekar <[email protected]> wrote: > >>>However, from ri to m(i+1) there is an unnecessary barrier. m(i+1) shoul= d >>> not need to wait for all reducers ri to finish, right? > > Yes, but r(i+1) cant be in the same job, since that requires another sort > and shuffle phase ( barrier ). So you would end up doing, job(i) : > m(i)r(i)m(i+1) . Job(i+1) : m(identity)r(i+1). Ofcourse, this is assuming > you cant do r(i+1) in m(identity), for if you can then it doesn't need so= rt > and shuffle , and hence your job would be again of the form m+rm* :) > > Amogh > > On 2/4/10 10:19 AM, "Felix Halim" <[email protected]> wrote: > > Hi Ed, > > Currently my program is like this: m1,r1, m2,r2, ..., mK, rK. The > barrier between mi and ri is acceptable since reducer has to wait for > all map task to finish. However, from ri to m(i+1) there is an > unnecessary barrier. m(i+1) should not need to wait for all reducers > ri to finish, right? > > Currently, I created one Job for each mi,ri. So I have total of K > jobs. Is there a way to chain them all together into a single Job? > However, I don't know the value of K in advance. It has to be checked > after each ri. So I'm thinking that the job can speculatively do the > chain over and over until it discover that some counter in ri is zero > (so the result of m(K+1) is discarded, and the final result of rK is > taken). > > Felix Halim > > > On Thu, Feb 4, 2010 at 12:25 PM, Ed Mazur <[email protected]> wrote: >> Felix, >> >> You can use ChainMapper and ChainReducer to create jobs of the form >> M+RM*. Is that what you're looking for? I'm not aware of anything that >> allows you to have multiple reduce functions without the job >> "barrier". >> >> Ed >> >> On Wed, Feb 3, 2010 at 9:41 PM, Felix Halim <[email protected]> wrot= e: >>> Hi all, >>> >>> As far as I know, a barrier exists between map and reduce function in >>> one round of MR. There is another barrier for the reducer to end the >>> job for that round. However if we want to run in several rounds using >>> the same map and reduce functions, then the barrier between reduce and >>> the map of the next round is NOT necessary, right? Since the reducer >>> only output a single value for each key. This reducer may as well run >>> a map task for the next round immediately rather than waiting for all >>> reducer to finish. This way, the utilization of the machines between >>> rounds can be improved. >>> >>> Is there a setting in Hadoop to do that? >>> >>> Felix Halim >>> >> > > --_000_C796F356731Aamoghyahooinccom_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <HTML> <HEAD> <TITLE>Re: Barrier between reduce and map of the next round</TITLE> </HEAD> <BODY> <FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><SPAN STYLE=3D'font-size:= 14pt'>Hi,<BR> &gt;&gt;m1 | r1 m2 | r2 m3 | ... | r(K-1) mK | rK m(K+1)<BR> My understanding is it would be something like:<BR> m1|(r1 m2)| m(identity) | r2, if you combine the r(i) and m(i+1), because o= f the hard distinction between Rs &amp; Ms.<BR> <BR> Amogh<BR> <BR> <BR> On 2/4/10 1:46 PM, &quot;Felix Halim&quot; &lt;<a href=3D"felix.halim@gmail= .com">[email protected]</a>&gt; wrote:<BR> <BR> </SPAN></FONT><BLOCKQUOTE><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"= ><SPAN STYLE=3D'font-size:14pt'>Talking about barrier, currently there are = barriers between anything:<BR> <BR> m1 | r1 | m2 | r2 | ... | mK | rK<BR> <BR> where | is the barrier.<BR> <BR> I'm saying that the barrier between ri and m(i+1) is not necessary.<BR> So it should go like this:<BR> <BR> m1 | r1 m2 | r2 m3 | ... | r(K-1) mK | rK m(K+1)<BR> <BR> Here the result of m(K+1) is throwed away.<BR> We take the result of rK only.<BR> <BR> The shuffling is needed only between mi and ri.<BR> There is no shuffling needed for ri and m(i+1).<BR> <BR> Thus by removing the barrier between ri and m(i+1), the overall job<BR> can be made faster.<BR> <BR> Now the question is, can this be done using Chaining?<BR> AFAIK, the chaining has to be defined before the job is started, right?<BR> But because I don't know the value of K beforehand,<BR> I want the chain to continue forever until some counter in reduce task is z= ero.<BR> <BR> Felix Halim<BR> <BR> <BR> On Thu, Feb 4, 2010 at 3:53 PM, Amogh Vasekar &lt;<a href=3D"amogh@yahoo-in= c.com">[email protected]</a>&gt; wrote:<BR> &gt;<BR> &gt;&gt;&gt;However, from ri to m(i+1) there is an unnecessary barrier. m(i= +1) should<BR> &gt;&gt;&gt; not need to wait for all reducers ri to finish, right?<BR> &gt;<BR> &gt; Yes, but r(i+1) cant be in the same job, since that requires another s= ort<BR> &gt; and shuffle phase ( barrier ). So you would end up doing, job(i) :<BR> &gt; m(i)r(i)m(i+1) . Job(i+1) : m(identity)r(i+1). Ofcourse, this is assum= ing<BR> &gt; you cant do r(i+1) in m(identity), for if you can then it doesn&#8217;= t need sort<BR> &gt; and shuffle , and hence your job would be again of the form m+rm* :)<B= R> &gt;<BR> &gt; Amogh<BR> &gt;<BR> &gt; On 2/4/10 10:19 AM, &quot;Felix Halim&quot; &lt;<a href=3D"felix.halim= @gmail.com">[email protected]</a>&gt; wrote:<BR> &gt;<BR> &gt; Hi Ed,<BR> &gt;<BR> &gt; Currently my program is like this: =A0m1,r1, m2,r2, ..., mK, rK. The<B= R> &gt; barrier between mi and ri is acceptable since reducer has to wait for<= BR> &gt; all map task to finish. However, from ri to m(i+1) there is an<BR> &gt; unnecessary barrier. m(i+1) should not need to wait for all reducers<B= R> &gt; ri to finish, right?<BR> &gt;<BR> &gt; Currently, I created one Job for each mi,ri. So I have total of K<BR> &gt; jobs. Is there a way to chain them all together into a single Job?<BR> &gt; However, I don't know the value of K in advance. It has to be checked<= BR> &gt; after each ri. =A0So I'm thinking that the job can speculatively do th= e<BR> &gt; chain over and over until it discover that some counter in ri is zero<= BR> &gt; (so the result of m(K+1) is discarded, and the final result of rK is<B= R> &gt; taken).<BR> &gt;<BR> &gt; Felix Halim<BR> &gt;<BR> &gt;<BR> &gt; On Thu, Feb 4, 2010 at 12:25 PM, Ed Mazur &lt;<a href=3D"[email protected]= s.edu">[email protected]</a>&gt; wrote:<BR> &gt;&gt; Felix,<BR> &gt;&gt;<BR> &gt;&gt; You can use ChainMapper and ChainReducer to create jobs of the for= m<BR> &gt;&gt; M+RM*. Is that what you're looking for? I'm not aware of anything = that<BR> &gt;&gt; allows you to have multiple reduce functions without the job<BR> &gt;&gt; &quot;barrier&quot;.<BR> &gt;&gt;<BR> &gt;&gt; Ed<BR> &gt;&gt;<BR> &gt;&gt; On Wed, Feb 3, 2010 at 9:41 PM, Felix Halim &lt;<a href=3D"felix.h= [email protected]">[email protected]</a>&gt; wrote:<BR> &gt;&gt;&gt; Hi all,<BR> &gt;&gt;&gt;<BR> &gt;&gt;&gt; As far as I know, a barrier exists between map and reduce func= tion in<BR> &gt;&gt;&gt; one round of MR. There is another barrier for the reducer to e= nd the<BR> &gt;&gt;&gt; job for that round. However if we want to run in several round= s using<BR> &gt;&gt;&gt; the same map and reduce functions, then the barrier between re= duce and<BR> &gt;&gt;&gt; the map of the next round is NOT necessary, right? Since the r= educer<BR> &gt;&gt;&gt; only output a single value for each key. This reducer may as w= ell run<BR> &gt;&gt;&gt; a map task for the next round immediately rather than waiting = for all<BR> &gt;&gt;&gt; reducer to finish. This way, the utilization of the machines b= etween<BR> &gt;&gt;&gt; rounds can be improved.<BR> &gt;&gt;&gt;<BR> &gt;&gt;&gt; Is there a setting in Hadoop to do that?<BR> &gt;&gt;&gt;<BR> &gt;&gt;&gt; Felix Halim<BR> &gt;&gt;&gt;<BR> &gt;&gt;<BR> &gt;<BR> &gt;<BR> <BR> </SPAN></FONT></BLOCKQUOTE> </BODY> </HTML> --_000_C796F356731Aamoghyahooinccom_-- From [email protected] Tue Feb 09 05:50:21 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29805 invoked from network); 9 Feb 2010 05:50:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Feb 2010 05:50:21 -0000 Received: (qmail 56181 invoked by uid 500); 9 Feb 2010 05:50:20 -0000 Delivered-To: [email protected] Received: (qmail 56077 invoked by uid 500); 9 Feb 2010 05:50:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 56068 invoked by uid 99); 9 Feb 2010 05:50:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 05:50:20 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-pz0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 05:50:13 +0000 Received: by pzk5 with SMTP id 5so7196875pzk.29 for <[email protected]>; Mon, 08 Feb 2010 21:49:53 -0800 (PST) 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 :content-transfer-encoding; bh=iMplsV3wHtEGHbH6nso9GrAW5jajZJz2viUUX98p4oc=; b=MxsLD1RTwhp5jYZqSFlDjAIeQAH1zXpRwTq0IlwZcLL4Pzf17xiANxeQPZ2sxJ8eq6 iuedwjWsJ4c+9hO0avzLUzsCAalgilJUyIzKwBgPhOvF+Zt/riyaJ+rKFtGYQTugo3Ut udnOS7JJcIOcxfijhgP+hib4gSiYjJpyPpCtk= 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:content-transfer-encoding; b=fTiRH04/D+gOJ0rJVLkc8NVV+5TdJrTzk4hNl8X7evoCGUkJqTTNZ5FAE7Qsl+tPp2 XPErGrM/i1H/ddRKxBnEXvoaoWmbUkCpnsIw35w0UvHzE7ENufUGoG/AsUHTgwinoGp3 KLti7YXeAcDYraRx72xkIXwDq/3r+Vf3qrWZg= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id r6mr5197943wac.80.1265694593007; Mon, 08 Feb 2010 21:49:53 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Tue, 9 Feb 2010 13:49:52 +0800 Message-ID: <[email protected]> Subject: Re: Barrier between reduce and map of the next round From: Felix Halim <[email protected]> To: [email protected] Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi, Currently the barrier between r(i) and m(i+1) is the Job barrier. That is, m(i+1) will be blocked until all r(i) finish (until Job i finish). I'm saying this blocking is not necessary if we can concatenate them all in a single Job as an endless chain. Therefore m(i+1) can start immediately even when r(i) is not finished. The termination condition is when some counter after r(i) is finished is ze= ro. Thus the result of m(i+1) is discarded. I don't know how to make it clearer than this... Felix Halim On Tue, Feb 9, 2010 at 1:41 PM, Amogh Vasekar <[email protected]> wrote: > Hi, >>>m1 | r1 m2 | r2 m3 | ... | r(K-1) mK | rK m(K+1) > My understanding is it would be something like: > m1|(r1 m2)| m(identity) | r2, if you combine the r(i) and m(i+1), because= of > the hard distinction between Rs & Ms. > > Amogh > > > On 2/4/10 1:46 PM, "Felix Halim" <[email protected]> wrote: > > Talking about barrier, currently there are barriers between anything: > > m1 | r1 | m2 | r2 | ... | mK | rK > > where | is the barrier. > > I'm saying that the barrier between ri and m(i+1) is not necessary. > So it should go like this: > > m1 | r1 m2 | r2 m3 | ... | r(K-1) mK | rK m(K+1) > > Here the result of m(K+1) is throwed away. > We take the result of rK only. > > The shuffling is needed only between mi and ri. > There is no shuffling needed for ri and m(i+1). > > Thus by removing the barrier between ri and m(i+1), the overall job > can be made faster. > > Now the question is, can this be done using Chaining? > AFAIK, the chaining has to be defined before the job is started, right? > But because I don't know the value of K beforehand, > I want the chain to continue forever until some counter in reduce task is > zero. > > Felix Halim > > > On Thu, Feb 4, 2010 at 3:53 PM, Amogh Vasekar <[email protected]> wrote= : >> >>>>However, from ri to m(i+1) there is an unnecessary barrier. m(i+1) shou= ld >>>> not need to wait for all reducers ri to finish, right? >> >> Yes, but r(i+1) cant be in the same job, since that requires another sor= t >> and shuffle phase ( barrier ). So you would end up doing, job(i) : >> m(i)r(i)m(i+1) . Job(i+1) : m(identity)r(i+1). Ofcourse, this is assumin= g >> you cant do r(i+1) in m(identity), for if you can then it doesn=92t need >> sort >> and shuffle , and hence your job would be again of the form m+rm* :) >> >> Amogh >> >> On 2/4/10 10:19 AM, "Felix Halim" <[email protected]> wrote: >> >> Hi Ed, >> >> Currently my program is like this: =A0m1,r1, m2,r2, ..., mK, rK. The >> barrier between mi and ri is acceptable since reducer has to wait for >> all map task to finish. However, from ri to m(i+1) there is an >> unnecessary barrier. m(i+1) should not need to wait for all reducers >> ri to finish, right? >> >> Currently, I created one Job for each mi,ri. So I have total of K >> jobs. Is there a way to chain them all together into a single Job? >> However, I don't know the value of K in advance. It has to be checked >> after each ri. =A0So I'm thinking that the job can speculatively do the >> chain over and over until it discover that some counter in ri is zero >> (so the result of m(K+1) is discarded, and the final result of rK is >> taken). >> >> Felix Halim >> >> >> On Thu, Feb 4, 2010 at 12:25 PM, Ed Mazur <[email protected]> wrote: >>> Felix, >>> >>> You can use ChainMapper and ChainReducer to create jobs of the form >>> M+RM*. Is that what you're looking for? I'm not aware of anything that >>> allows you to have multiple reduce functions without the job >>> "barrier". >>> >>> Ed >>> >>> On Wed, Feb 3, 2010 at 9:41 PM, Felix Halim <[email protected]> >>> wrote: >>>> Hi all, >>>> >>>> As far as I know, a barrier exists between map and reduce function in >>>> one round of MR. There is another barrier for the reducer to end the >>>> job for that round. However if we want to run in several rounds using >>>> the same map and reduce functions, then the barrier between reduce and >>>> the map of the next round is NOT necessary, right? Since the reducer >>>> only output a single value for each key. This reducer may as well run >>>> a map task for the next round immediately rather than waiting for all >>>> reducer to finish. This way, the utilization of the machines between >>>> rounds can be improved. >>>> >>>> Is there a setting in Hadoop to do that? >>>> >>>> Felix Halim >>>> >>> >> >> > > From [email protected] Tue Feb 09 15:51:37 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71790 invoked from network); 9 Feb 2010 15:51:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Feb 2010 15:51:37 -0000 Received: (qmail 14826 invoked by uid 500); 9 Feb 2010 15:51:37 -0000 Delivered-To: [email protected] Received: (qmail 14769 invoked by uid 500); 9 Feb 2010 15:51:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 14760 invoked by uid 99); 9 Feb 2010 15:51:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 15:51:36 +0000 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO qmta07.emeryville.ca.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 15:51:27 +0000 Received: from omta05.emeryville.ca.mail.comcast.net ([161.129.204.104]) by qmta07.emeryville.ca.mail.comcast.net with comcast id fp161d00D0vp7WLA7rr8Dp; Tue, 09 Feb 2010 15:51:08 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by omta05.emeryville.ca.mail.comcast.net with comcast id frqy1d0082VBGtd8Rrr1NW; Tue, 09 Feb 2010 15:51:05 +0000 Message-Id: <[email protected]> From: Owen O'Malley <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: multipart/alternative; boundary=Apple-Mail-16--339351482 Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: Strange behaviour from a custom Writable Date: Tue, 9 Feb 2010 07:50:57 -0800 References: <[email protected]> X-Mailer: Apple Mail (2.936) --Apple-Mail-16--339351482 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Feb 8, 2010, at 9:37 PM, Amogh Vasekar wrote: > Hi, > Yes the same location is populated with different values ( returned > by iter.next() ) for optimization reasons. As previously mentioned, if you are trying to sort the values, please refer to the secondary sort example. It shows how to use the grouping comparator to get the framework to sort the values coming out of the iterator without rebuffering the values. -- Owen --Apple-Mail-16--339351482 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: 7bit <html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Feb 8, 2010, at 9:37 PM, Amogh Vasekar wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div> <font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:14pt">Hi,<br> Yes the same location is populated with different values ( returned by iter.next() ) for optimization reasons.</span></font></div></blockquote></div><div><br></div><div>As previously mentioned, if you are trying to sort the values, please refer to the secondary sort example. It shows how to use the grouping comparator to get the framework to sort the values coming out of the iterator without rebuffering the values.</div><div><br></div><div>-- Owen</div></body></html> --Apple-Mail-16--339351482-- From [email protected] Tue Feb 09 18:18:51 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30174 invoked from network); 9 Feb 2010 18:18:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Feb 2010 18:18:51 -0000 Received: (qmail 35090 invoked by uid 500); 9 Feb 2010 18:18:51 -0000 Delivered-To: [email protected] Received: (qmail 35001 invoked by uid 500); 9 Feb 2010 18:18:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34987 invoked by uid 99); 9 Feb 2010 18:18:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 18:18:50 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-gx0-f228.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 18:18:39 +0000 Received: by gxk28 with SMTP id 28so6440613gxk.9 for <[email protected]>; Tue, 09 Feb 2010 10:18:18 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id 2mr590378ybb.227.1265739498399; Tue, 09 Feb 2010 10:18:18 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Tue, 9 Feb 2010 18:18:18 +0000 Message-ID: <[email protected]> Subject: Re: Strange behaviour from a custom Writable From: James Hammerton <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=000e0cd4d39a2e28ef047f2ef191 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd4d39a2e28ef047f2ef191 Content-Type: text/plain; charset=ISO-8859-1 Thanks guys for your help. I've got my code working (albeit re-buffering) and will look into secondary sorting later! Regards, James On Tue, Feb 9, 2010 at 3:50 PM, Owen O'Malley <[email protected]> wrote: > > On Feb 8, 2010, at 9:37 PM, Amogh Vasekar wrote: > > Hi, > Yes the same location is populated with different values ( returned by > iter.next() ) for optimization reasons. > > > As previously mentioned, if you are trying to sort the values, please refer > to the secondary sort example. It shows how to use the grouping comparator > to get the framework to sort the values coming out of the iterator without > rebuffering the values. > > -- Owen > -- James Hammerton | Senior Data Mining Engineer www.mendeley.com/profiles/james-hammerton Mendeley Limited | London, UK | www.mendeley.com Registered in England and Wales | Company Number 6419015 --000e0cd4d39a2e28ef047f2ef191 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks guys for your help. I&#39;ve got my code working (albeit re-bufferin= g) and will look into secondary sorting later!<br><br>Regards,<br><br>James= <br><br><div class=3D"gmail_quote">On Tue, Feb 9, 2010 at 3:50 PM, Owen O&#= 39;Malley <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]">omall= [email protected]</a>&gt;</span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, = 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style=3D"wor= d-wrap: break-word;"><div class=3D"im"><br><div><div>On Feb 8, 2010, at 9:3= 7 PM, Amogh Vasekar wrote:</div> <br><blockquote type=3D"cite"><div> <font face=3D"Calibri, Verdana, Helveti= ca, Arial"><span style=3D"font-size: 14pt;">Hi,<br> Yes the same location i= s populated with different values ( returned by iter.next() ) for optimizat= ion reasons.</span></font></div> </blockquote></div><div><br></div></div><div>As previously mentioned, if yo= u are trying to sort the values, please refer to the secondary sort example= . It shows how to use the grouping comparator to get the framework to sort = the values coming out of the iterator without rebuffering the values.</div> <div><br></div><font color=3D"#888888"><div>-- Owen</div></font></div></blo= ckquote></div><br><br clear=3D"all"><br>-- <br>James Hammerton | Senior Dat= a Mining Engineer<br><a href=3D"http://www.mendeley.com/profiles/james-hamm= erton">www.mendeley.com/profiles/james-hammerton</a><br> <br>Mendeley Limited | London, UK | <a href=3D"http://www.mendeley.com">www= .mendeley.com</a><br>Registered in England and Wales | Company Number 64190= 15<br><br><br><br> --000e0cd4d39a2e28ef047f2ef191-- From [email protected] Tue Feb 09 18:45:02 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54575 invoked from network); 9 Feb 2010 18:45:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Feb 2010 18:45:02 -0000 Received: (qmail 85307 invoked by uid 500); 9 Feb 2010 18:45:01 -0000 Delivered-To: [email protected] Received: (qmail 85239 invoked by uid 500); 9 Feb 2010 18:45:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 85229 invoked by uid 99); 9 Feb 2010 18:45:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 18:45:01 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iw0-f203.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 18:44:52 +0000 Received: by iwn41 with SMTP id 41so2967035iwn.9 for <[email protected]>; Tue, 09 Feb 2010 10:44:31 -0800 (PST) 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 :from:date:message-id:subject:to:content-type; bh=PrQL5vU/Q9lvP4w8/G6/ahVk2ztyYITcwe0T9tcUsPM=; b=D7rWcDDfQUCSxO+Q4B12wOBGTxUn6LybGILElkuXZEKfvP12qxmqQKzbsC+gjIIEs2 eVPeaWLVSuhH/iuay26EwKbmE0WaVi6l/jr06X/PQP6J5qMfGFEEw1+iJyHW4XBbMbEh i67fzV3F83M4wLxtswDgWciEdVeujsWzXGOl8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=f8rcRikT3mBixcwDe7Y5qBVSn5fVwLEXm21O5gFol2GEMpUBKsBzwfWTilGs9+DCkk jYhbPp5KGLmf27AQvwSq0S2XVbW75tE1D3WGzGwfxUz0habNp6KR9enZHb5yLDuD3Dvm RPzP3jXG7BQKUdMrTJmy2o5lihzKNhAq/uR2o= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id r15mr1624439ibx.62.1265741071172; Tue, 09 Feb 2010 10:44:31 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> From: Raghava Mutharaju <[email protected]> Date: Tue, 9 Feb 2010 13:44:11 -0500 Message-ID: <[email protected]> Subject: Re: avoiding data redistribution in iterative mapreduce To: [email protected] Content-Type: multipart/alternative; boundary=001636c5c075ecd29d047f2f4eb0 --001636c5c075ecd29d047f2f4eb0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi, No problem, I am thankful that someone has replied to my question. Known location -- can/will it be the HDFS or some distributed key-value store? Regards, Raghava. On Tue, Feb 9, 2010 at 12:40 AM, Amogh Vasekar <[email protected]> wrote: > Hi, > AFAIK no. I=92m not sure how much of a task it is to write a HOD-like > scheduler, or if its even feasible given the new architecture of single > managing JT, directly talking to TT. Probably someone more familiar with = the > scheduler architecture can help you better. > What I was trying to suggest with serialization was write initial mapper > data to known location, and instead of streaming from split, ignore that = and > read form here. > Sorry for the delayed response, > > Amogh > > > > > On 2/4/10 2:01 PM, "Raghava Mutharaju" <[email protected]> wrote: > > Hi, > > So is it not possible to avoid redistribution in this case? If that = is > the case, can a custom scheduler be written -- will it be any easy task? > > Regards, > Raghava. > > On Thu, Feb 4, 2010 at 2:52 AM, Amogh Vasekar <[email protected]> wrote= : > > Hi, > > >>Will there be a re-assignment of Map & Reduce nodes by the Master? > In general using available schedulers, I believe so. Because if it weren= =92t, > and I submit job 2 needing different/additional set of inputs, the data > locality considerations would be somewhat hampered right? When we had HOD= , > this was certainly possible. > > Amogh > > > > On 2/4/10 1:06 AM, "Raghava Mutharaju" <[email protected] < > http://[email protected]> > wrote: > > Hi Amogh, > > Thank you for the reply. > > >>> What you need, I believe, is =93just run on whatever map has=94. > You got that right :). An example of sequential program would > be Bubble Sort which needs several iterations for the end result and in e= ach > iteration it needs to work on the previous output (partially sorted list) > rather than the initial input. In my case also, the same thing should > happen. > > >>> If you are using an exclusive private cluster, you can probably > localize <k,v> from first iteration and >>> use dummy input data ( to ens= ure > same number of mapper tasks as first round, and use custom >>> classes of > MapRunner, RecordReader to not read data from supplied input ) > > Yes, it would be a local cluster, the one in my university. If = we > set the no of map tasks, would it not be followed in each iteration? As > mentioned in the documentation, I think I need to use JobClient to contro= l > the no of iterations. > > > >>> But how can you ensure that you get the same nodes always to run your > map reduce job on a > >>> shared cluster? > > while (!done) { JobClient.runJob(jobConf); <<Do something to > check termination condition>>} > > If I write something like that in the code, would not the Map node run on > the same data chunk it has each time? Will there be a re-assignment of Ma= p & > Reduce nodes by the Master? > > > Regards, > Raghava. > > On Wed, Feb 3, 2010 at 9:59 AM, Amogh Vasekar <[email protected] < > http://[email protected]> > wrote: > > Hi, > If each of your sequential iteration is map+reduce, then no. > The lifetime of a split is confined to a single map reduce job. The split > is actually a reference to data, which is used to schedule job as close a= s > possible to data. The record reader then uses same object to pass the <k,= v> > in split. > What you need, I believe, is =93just run on whatever map has=94. If you a= re > using an exclusive private cluster, you can probably localize <k,v> from > first iteration and use dummy input data ( to ensure same number of mappe= r > tasks as first round, and use custom classes of MapRunner, RecordReader t= o > not read data from supplied input )But how can you ensure that you get th= e > same nodes always to run your map reduce job on a shared cluster? > Please correct me if I misunderstood your question. > > Amogh > > > > On 2/3/10 11:34 AM, "Raghava Mutharaju" <[email protected] < > http://[email protected]> <http://[email protected]> > > wrote: > > Hi all, > > I to run a map reduce task repeatedly in order to achieve the desir= ed > result. Is it possible that at the beginning of each iteration, the data = set > is not distributed (divided into chunks and distributed) again and again > i.e. once the distribution occurs for the first time, map nodes should wo= rk > on the same chunk in every iteration. Can this be done? I only have a bri= ef > experience with MapReduce and I think that the input data set is > redistributed every time. > > Thank you. > > Regards, > Raghava. > > > > > > --001636c5c075ecd29d047f2f4eb0 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi,<br><br>=A0=A0=A0 No problem, I am thankful that someone has replied to = my question.<br><br>Known location -- can/will it be the HDFS or some distr= ibuted key-value store?<br><br>Regards,<br>Raghava.<br><br><div class=3D"gm= ail_quote"> On Tue, Feb 9, 2010 at 12:40 AM, Amogh Vasekar <span dir=3D"ltr">&lt;<a hre= f=3D"mailto:[email protected]">[email protected]</a>&gt;</span> wrote:<= br><blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(20= 4, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div> <font face=3D"Calibri, Verdana, Helvetica, Arial"><span style=3D"font-size:= 14pt;">Hi,<br> AFAIK no. I=92m not sure how much of a task it is to write a HOD-like sched= uler, or if its even feasible given the new architecture of single managing= JT, directly talking to TT. Probably someone more familiar with the schedu= ler architecture can help you better.<br> What I was trying to suggest with serialization was write initial mapper da= ta to known location, and instead of streaming from split, ignore that and = read form here.<br> Sorry for the delayed response,<br><font color=3D"#888888"> <br> Amogh</font><div class=3D"im"><br> <br> <br> <br> On 2/4/10 2:01 PM, &quot;Raghava Mutharaju&quot; &lt;<a href=3D"http://m.vi= [email protected]" target=3D"_blank">[email protected]</a>&gt; = wrote:<br> <br> </div></span></font><blockquote><div class=3D"im"><font face=3D"Calibri, Ve= rdana, Helvetica, Arial"><span style=3D"font-size: 14pt;">Hi,<br> <br> =A0=A0=A0=A0 So is it not possible to avoid redistribution in this case? If= that is the case, can a custom scheduler be written -- will it be any easy= task?<br> <br> Regards,<br> Raghava.<br> <br> On Thu, Feb 4, 2010 at 2:52 AM, Amogh Vasekar &lt;<a href=3D"http://amogh@y= ahoo-inc.com" target=3D"_blank">[email protected]</a>&gt; wrote:<br> </span></font></div><blockquote><font face=3D"Calibri, Verdana, Helvetica, = Arial"><span style=3D"font-size: 14pt;"><div class=3D"im">Hi,<br> <br> &gt;&gt;Will there be a re-assignment of Map &amp; Reduce nodes by the Mast= er?<br> In general using available schedulers, I believe so. Because if it weren=92= t, and I submit job 2 needing different/additional set of inputs, the data = locality considerations would be somewhat hampered right? When we had HOD, = this was certainly possible.<br> <font color=3D"#888888"><br> Amogh<br> </font><br> <br> <br></div><div class=3D"im"> On 2/4/10 1:06 AM, &quot;Raghava Mutharaju&quot; &lt;<a href=3D"http://m.vi= [email protected]" target=3D"_blank">[email protected]</a> &lt;= <a href=3D"http://[email protected]" target=3D"_blank">http://m.vij= [email protected]</a>&gt; &gt; wrote:<br> <br> </div></span></font><blockquote><font face=3D"Calibri, Verdana, Helvetica, = Arial"><span style=3D"font-size: 14pt;"><div class=3D"im">Hi Amogh,<br> <br> =A0=A0=A0=A0=A0=A0 Thank you for the reply.=A0 <br> <br> &gt;&gt;&gt; What you need, I believe, is =93just run on whatever map has= =94.<br> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 You got that right :). An example of sequ= ential program would be Bubble Sort which needs several iterations for the = end result and in each iteration it needs to work on the previous output (p= artially sorted list) rather than the initial input. In my case also, the s= ame thing should happen.<br> <br> &gt;&gt;&gt; If you are using an exclusive private cluster, you can probabl= y localize &lt;k,v&gt; from first iteration and &gt;&gt;&gt; use dummy inpu= t data ( to ensure same number of mapper tasks as first round, and use cust= om &gt;&gt;&gt; classes of MapRunner, RecordReader to not read data from su= pplied input )<br> =A0=A0 <br> =A0=A0=A0=A0=A0=A0=A0=A0=A0 Yes, it would be a local cluster, the one in my= university. If we set the no of map tasks, would it not be followed in eac= h iteration? As mentioned in the documentation, I think I need to use JobCl= ient to control the no of iterations.=A0 <br> <br> <br> &gt;&gt;&gt; But how can you ensure that you get the same nodes always to r= un your map reduce job on a <br> &gt;&gt;&gt; shared cluster?<br> <br> =A0 =A0 =A0 =A0 =A0=A0 while (!done) { JobClient.runJob(jobConf); &lt;&lt;D= o something to check termination condition&gt;&gt;}<br> <br> If I write something like that in the code, would not the Map node run on t= he same data chunk it has each time? Will there be a re-assignment of Map &= amp; Reduce nodes by the Master?<br> <br> <br> Regards,<br> Raghava. =A0=A0=A0=A0=A0=A0=A0=A0 <br> <br></div><div class=3D"im"> On Wed, Feb 3, 2010 at 9:59 AM, Amogh Vasekar &lt;<a href=3D"http://amogh@y= ahoo-inc.com" target=3D"_blank">[email protected]</a> &lt;<a href=3D"http= ://[email protected]" target=3D"_blank">http://[email protected]</a>&gt= ; &gt; wrote:<br> </div></span></font><blockquote><font face=3D"Calibri, Verdana, Helvetica, = Arial"><span style=3D"font-size: 14pt;"><div class=3D"im">Hi,<br> If each of your sequential iteration is map+reduce, then no. <br> The lifetime of a split is confined to a single map reduce job. The split i= s actually a reference to data, which is used to schedule job as close as p= ossible to data. The record reader then uses same object to pass the &lt;k,= v&gt; in split.<br> What you need, I believe, is =93just run on whatever map has=94. If you are= using an exclusive private cluster, you can probably localize &lt;k,v&gt; = from first iteration and use dummy input data ( to ensure same number of ma= pper tasks as first round, and use custom classes of MapRunner, RecordReade= r to not read data from supplied input )But how can you ensure that you get= the same nodes always to run your map reduce job on a shared cluster?<br> Please correct me if I misunderstood your question.<br> <font color=3D"#888888"><br> Amogh<br> </font><br> <br> <br></div><div class=3D"im"> On 2/3/10 11:34 AM, &quot;Raghava Mutharaju&quot; &lt;<a href=3D"http://m.v= [email protected]" target=3D"_blank">[email protected]</a> &lt= ;<a href=3D"http://[email protected]" target=3D"_blank">http://m.vi= [email protected]</a>&gt; =A0&lt;<a href=3D"http://m.vijayaraghava@gmai= l.com" target=3D"_blank">http://[email protected]</a>&gt; &gt; wrot= e:<br> <br> </div></span></font><div class=3D"im"><blockquote><font face=3D"Calibri, Ve= rdana, Helvetica, Arial"><span style=3D"font-size: 14pt;">Hi all,<br> <br> =A0=A0=A0=A0=A0 I to run a map reduce task repeatedly in order to achieve t= he desired result. Is it possible that at the beginning of each iteration, = the data set is not distributed (divided into chunks and distributed) again= and again i.e. once the distribution occurs for the first time, map nodes = should work on the same chunk in every iteration. Can this be done? I only = have a brief experience with MapReduce and I think that the input data set = is redistributed every time.<br> <br> Thank you.<br> <br> Regards,<br> Raghava.<br> <br> </span></font></blockquote></div></blockquote><font face=3D"Calibri, Verdan= a, Helvetica, Arial"><span style=3D"font-size: 14pt;"><br> <br> </span></font></blockquote></blockquote><font face=3D"Calibri, Verdana, Hel= vetica, Arial"><span style=3D"font-size: 14pt;"><br> <br> </span></font></blockquote> </div> </blockquote></div><br> --001636c5c075ecd29d047f2f4eb0-- From [email protected] Tue Feb 09 19:06:29 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60013 invoked from network); 9 Feb 2010 19:06:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Feb 2010 19:06:29 -0000 Received: (qmail 676 invoked by uid 500); 9 Feb 2010 19:06:29 -0000 Delivered-To: [email protected] Received: (qmail 598 invoked by uid 500); 9 Feb 2010 19:06:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 588 invoked by uid 99); 9 Feb 2010 19:06:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 19:06:28 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mrout2-b.corp.re1.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 19:06:17 +0000 Received: from walkduty-lm.corp.yahoo.com (walkduty-lm.corp.yahoo.com [161.129.204.104]) by mrout2-b.corp.re1.yahoo.com (8.13.8/8.13.8/y.out) with ESMTP id o19J4dFJ097800 for <[email protected]>; Tue, 9 Feb 2010 11:04:40 -0800 (PST) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=message-id:from:to:in-reply-to:content-type: content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=GX3da3GlfTnESHL5nIBjA6Y1Eu1Xz0Il5S50PR80Mx5akIVKOQU7z4pcWY8IcQEg Message-Id: <[email protected]> From: Arun C Murthy <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: Barrier between reduce and map of the next round Date: Tue, 9 Feb 2010 11:04:39 -0800 References: <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org Felix, you might want to follow = https://issues.apache.org/jira/browse/MAPREDUCE-1434=20 . We are discussing ideas very similar to what you've just described =20 over there. Arun On Feb 8, 2010, at 9:49 PM, Felix Halim wrote: > Hi, > > Currently the barrier between r(i) and m(i+1) is the Job barrier. > That is, m(i+1) will be blocked until all r(i) finish (until Job i =20 > finish). > > I'm saying this blocking is not necessary if we can concatenate them > all in a single Job as an endless chain. > Therefore m(i+1) can start immediately even when r(i) is not finished. > > The termination condition is when some counter after r(i) is =20 > finished is zero. > Thus the result of m(i+1) is discarded. > > I don't know how to make it clearer than this... > > Felix Halim > > On Tue, Feb 9, 2010 at 1:41 PM, Amogh Vasekar <[email protected]> =20= > wrote: >> Hi, >>>> m1 | r1 m2 | r2 m3 | ... | r(K-1) mK | rK m(K+1) >> My understanding is it would be something like: >> m1|(r1 m2)| m(identity) | r2, if you combine the r(i) and m(i+1), =20 >> because of >> the hard distinction between Rs & Ms. >> >> Amogh >> >> >> On 2/4/10 1:46 PM, "Felix Halim" <[email protected]> wrote: >> >> Talking about barrier, currently there are barriers between anything: >> >> m1 | r1 | m2 | r2 | ... | mK | rK >> >> where | is the barrier. >> >> I'm saying that the barrier between ri and m(i+1) is not necessary. >> So it should go like this: >> >> m1 | r1 m2 | r2 m3 | ... | r(K-1) mK | rK m(K+1) >> >> Here the result of m(K+1) is throwed away. >> We take the result of rK only. >> >> The shuffling is needed only between mi and ri. >> There is no shuffling needed for ri and m(i+1). >> >> Thus by removing the barrier between ri and m(i+1), the overall job >> can be made faster. >> >> Now the question is, can this be done using Chaining? >> AFAIK, the chaining has to be defined before the job is started, =20 >> right? >> But because I don't know the value of K beforehand, >> I want the chain to continue forever until some counter in reduce =20 >> task is >> zero. >> >> Felix Halim >> >> >> On Thu, Feb 4, 2010 at 3:53 PM, Amogh Vasekar <[email protected]> =20= >> wrote: >>> >>>>> However, from ri to m(i+1) there is an unnecessary barrier. m(i=20 >>>>> +1) should >>>>> not need to wait for all reducers ri to finish, right? >>> >>> Yes, but r(i+1) cant be in the same job, since that requires =20 >>> another sort >>> and shuffle phase ( barrier ). So you would end up doing, job(i) : >>> m(i)r(i)m(i+1) . Job(i+1) : m(identity)r(i+1). Ofcourse, this is =20 >>> assuming >>> you cant do r(i+1) in m(identity), for if you can then it doesn=92t =20= >>> need >>> sort >>> and shuffle , and hence your job would be again of the form m+rm* :) >>> >>> Amogh >>> >>> On 2/4/10 10:19 AM, "Felix Halim" <[email protected]> wrote: >>> >>> Hi Ed, >>> >>> Currently my program is like this: m1,r1, m2,r2, ..., mK, rK. The >>> barrier between mi and ri is acceptable since reducer has to wait =20= >>> for >>> all map task to finish. However, from ri to m(i+1) there is an >>> unnecessary barrier. m(i+1) should not need to wait for all reducers >>> ri to finish, right? >>> >>> Currently, I created one Job for each mi,ri. So I have total of K >>> jobs. Is there a way to chain them all together into a single Job? >>> However, I don't know the value of K in advance. It has to be =20 >>> checked >>> after each ri. So I'm thinking that the job can speculatively do =20= >>> the >>> chain over and over until it discover that some counter in ri is =20 >>> zero >>> (so the result of m(K+1) is discarded, and the final result of rK is >>> taken). >>> >>> Felix Halim >>> >>> >>> On Thu, Feb 4, 2010 at 12:25 PM, Ed Mazur <[email protected]> =20 >>> wrote: >>>> Felix, >>>> >>>> You can use ChainMapper and ChainReducer to create jobs of the form >>>> M+RM*. Is that what you're looking for? I'm not aware of anything =20= >>>> that >>>> allows you to have multiple reduce functions without the job >>>> "barrier". >>>> >>>> Ed >>>> >>>> On Wed, Feb 3, 2010 at 9:41 PM, Felix Halim <[email protected]> >>>> wrote: >>>>> Hi all, >>>>> >>>>> As far as I know, a barrier exists between map and reduce =20 >>>>> function in >>>>> one round of MR. There is another barrier for the reducer to end =20= >>>>> the >>>>> job for that round. However if we want to run in several rounds =20= >>>>> using >>>>> the same map and reduce functions, then the barrier between =20 >>>>> reduce and >>>>> the map of the next round is NOT necessary, right? Since the =20 >>>>> reducer >>>>> only output a single value for each key. This reducer may as =20 >>>>> well run >>>>> a map task for the next round immediately rather than waiting =20 >>>>> for all >>>>> reducer to finish. This way, the utilization of the machines =20 >>>>> between >>>>> rounds can be improved. >>>>> >>>>> Is there a setting in Hadoop to do that? >>>>> >>>>> Felix Halim >>>>> >>>> >>> >>> >> >> From [email protected] Wed Feb 10 01:58:08 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20852 invoked from network); 10 Feb 2010 01:58:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Feb 2010 01:58:08 -0000 Received: (qmail 93049 invoked by uid 500); 10 Feb 2010 01:58:08 -0000 Delivered-To: [email protected] Received: (qmail 92982 invoked by uid 500); 10 Feb 2010 01:58:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 92973 invoked by uid 99); 10 Feb 2010 01:58:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 01:58:07 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-pz0-f181.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 01:58:01 +0000 Received: by pzk11 with SMTP id 11so2914902pzk.30 for <[email protected]>; Tue, 09 Feb 2010 17:57:40 -0800 (PST) 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 :content-transfer-encoding; bh=FNi3Cr0yPrxCCzmH08ZgUK47XWFSQ2mq9e7CMVeEyxc=; b=leMqKxfEHWJVTRtjbAzRQB38RDefdZB1l7wszToGZoI+4zkJSCa6OKdmJEq/dqZk04 HWjdEpbcYNbBQzxV4GZTOjnBrfGo4SstFA1EYWQIiKuSsI0nSmcEIXgaZZhhwi+rY28R CAMa6IzRpPdYPSGdrJCOnjTFxMnUnHfUGUZvw= 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:content-transfer-encoding; b=T3paQLy518xuiYjbbSqAA5M1p/0DWMVRGwmYmKdY51qWnqXMxhX54whyjOfdf7ui1l ZTAhQFCXiX3JCKzbT8YIcuknbGRMZqKMt8fCC+OjzlTi4yHfhLJlwoCVOmoMVRoz33S4 iTfpSTj02yf4mqqxrzAAK2UskXL4SF2akE0e0= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id f21mr229303wam.177.1265767060777; Tue, 09 Feb 2010 17:57:40 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Wed, 10 Feb 2010 09:57:40 +0800 Message-ID: <[email protected]> Subject: Re: Barrier between reduce and map of the next round From: Felix Halim <[email protected]> To: [email protected] Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi Arun, Ah yes.. the first comment by Owen O'Malley is exactly what I have in mind. Thanks, Felix Halim On Wed, Feb 10, 2010 at 3:04 AM, Arun C Murthy <[email protected]> wrote: > Felix, you might want to follow > https://issues.apache.org/jira/browse/MAPREDUCE-1434. > We are discussing ideas very similar to what you've just described over > there. > > Arun > > On Feb 8, 2010, at 9:49 PM, Felix Halim wrote: > >> Hi, >> >> Currently the barrier between r(i) and m(i+1) is the Job barrier. >> That is, m(i+1) will be blocked until all r(i) finish (until Job i >> finish). >> >> I'm saying this blocking is not necessary if we can concatenate them >> all in a single Job as an endless chain. >> Therefore m(i+1) can start immediately even when r(i) is not finished. >> >> The termination condition is when some counter after r(i) is finished is >> zero. >> Thus the result of m(i+1) is discarded. >> >> I don't know how to make it clearer than this... >> >> Felix Halim >> >> On Tue, Feb 9, 2010 at 1:41 PM, Amogh Vasekar <[email protected]> wrot= e: >>> >>> Hi, >>>>> >>>>> m1 | r1 m2 | r2 m3 | ... | r(K-1) mK | rK m(K+1) >>> >>> My understanding is it would be something like: >>> m1|(r1 m2)| m(identity) | r2, if you combine the r(i) and m(i+1), becau= se >>> of >>> the hard distinction between Rs & Ms. >>> >>> Amogh >>> >>> >>> On 2/4/10 1:46 PM, "Felix Halim" <[email protected]> wrote: >>> >>> Talking about barrier, currently there are barriers between anything: >>> >>> m1 | r1 | m2 | r2 | ... | mK | rK >>> >>> where | is the barrier. >>> >>> I'm saying that the barrier between ri and m(i+1) is not necessary. >>> So it should go like this: >>> >>> m1 | r1 m2 | r2 m3 | ... | r(K-1) mK | rK m(K+1) >>> >>> Here the result of m(K+1) is throwed away. >>> We take the result of rK only. >>> >>> The shuffling is needed only between mi and ri. >>> There is no shuffling needed for ri and m(i+1). >>> >>> Thus by removing the barrier between ri and m(i+1), the overall job >>> can be made faster. >>> >>> Now the question is, can this be done using Chaining? >>> AFAIK, the chaining has to be defined before the job is started, right? >>> But because I don't know the value of K beforehand, >>> I want the chain to continue forever until some counter in reduce task = is >>> zero. >>> >>> Felix Halim >>> >>> >>> On Thu, Feb 4, 2010 at 3:53 PM, Amogh Vasekar <[email protected]> >>> wrote: >>>> >>>>>> However, from ri to m(i+1) there is an unnecessary barrier. m(i+1) >>>>>> should >>>>>> not need to wait for all reducers ri to finish, right? >>>> >>>> Yes, but r(i+1) cant be in the same job, since that requires another >>>> sort >>>> and shuffle phase ( barrier ). So you would end up doing, job(i) : >>>> m(i)r(i)m(i+1) . Job(i+1) : m(identity)r(i+1). Ofcourse, this is >>>> assuming >>>> you cant do r(i+1) in m(identity), for if you can then it doesn=92t ne= ed >>>> sort >>>> and shuffle , and hence your job would be again of the form m+rm* :) >>>> >>>> Amogh >>>> >>>> On 2/4/10 10:19 AM, "Felix Halim" <[email protected]> wrote: >>>> >>>> Hi Ed, >>>> >>>> Currently my program is like this: =A0m1,r1, m2,r2, ..., mK, rK. The >>>> barrier between mi and ri is acceptable since reducer has to wait for >>>> all map task to finish. However, from ri to m(i+1) there is an >>>> unnecessary barrier. m(i+1) should not need to wait for all reducers >>>> ri to finish, right? >>>> >>>> Currently, I created one Job for each mi,ri. So I have total of K >>>> jobs. Is there a way to chain them all together into a single Job? >>>> However, I don't know the value of K in advance. It has to be checked >>>> after each ri. =A0So I'm thinking that the job can speculatively do th= e >>>> chain over and over until it discover that some counter in ri is zero >>>> (so the result of m(K+1) is discarded, and the final result of rK is >>>> taken). >>>> >>>> Felix Halim >>>> >>>> >>>> On Thu, Feb 4, 2010 at 12:25 PM, Ed Mazur <[email protected]> wrote: >>>>> >>>>> Felix, >>>>> >>>>> You can use ChainMapper and ChainReducer to create jobs of the form >>>>> M+RM*. Is that what you're looking for? I'm not aware of anything tha= t >>>>> allows you to have multiple reduce functions without the job >>>>> "barrier". >>>>> >>>>> Ed >>>>> >>>>> On Wed, Feb 3, 2010 at 9:41 PM, Felix Halim <[email protected]> >>>>> wrote: >>>>>> >>>>>> Hi all, >>>>>> >>>>>> As far as I know, a barrier exists between map and reduce function i= n >>>>>> one round of MR. There is another barrier for the reducer to end the >>>>>> job for that round. However if we want to run in several rounds usin= g >>>>>> the same map and reduce functions, then the barrier between reduce a= nd >>>>>> the map of the next round is NOT necessary, right? Since the reducer >>>>>> only output a single value for each key. This reducer may as well ru= n >>>>>> a map task for the next round immediately rather than waiting for al= l >>>>>> reducer to finish. This way, the utilization of the machines between >>>>>> rounds can be improved. >>>>>> >>>>>> Is there a setting in Hadoop to do that? >>>>>> >>>>>> Felix Halim >>>>>> >>>>> >>>> >>>> >>> >>> > > From [email protected] Wed Feb 10 05:47:43 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95536 invoked from network); 10 Feb 2010 05:47:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Feb 2010 05:47:43 -0000 Received: (qmail 46616 invoked by uid 500); 10 Feb 2010 05:47:43 -0000 Delivered-To: [email protected] Received: (qmail 46445 invoked by uid 500); 10 Feb 2010 05:47:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 46436 invoked by uid 99); 10 Feb 2010 05:47:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 05:47:40 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f218.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 05:47:33 +0000 Received: by fxm10 with SMTP id 10so3379961fxm.29 for <[email protected]>; Tue, 09 Feb 2010 21:47:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=4+1Ad9MTNsl9k5rmQ8rHQNEYgRCeUXySURGEShHVn3s=; b=t/a6X6+oiM9YWS5ReAMzzKTDf/ipPreQSQ965p70tpGLxNuH7MmnZTt8Sz+beI/97J EgyxUoxgn6doIR8Oq3fkrdudkEdWIoFQhfz9gAiD8ClZ7S43gZMtOYuNHcco1uVGaCFB kmJexI2JxGt83VttmnGMcfQU9Jmb1ZQq1RbLY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Ow4+IO/t3jlug4jfUjypMKsORpLBZFF0SsmxDAUhCoW31jnkUh5JpoCXfX3PlJnPT2 26MTPQKJmr0u3s+pZdtk3sRPdid/ATB0I8l/RawJzXwF4Bp2PaXlCCT+nbjmLn7w1oxT Fz0r8sCEF7PjfEA/WmRsW7Vbrp4aW8QmGk4Xg= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id g1mr9963hbc.88.1265780831753; Tue, 09 Feb 2010 21:47:11 -0800 (PST) Date: Wed, 10 Feb 2010 05:47:11 +0000 Message-ID: <[email protected]> Subject: MapRed ports From: psdc1978 <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=001485f726fed717b0047f3890f9 --001485f726fed717b0047f3890f9 Content-Type: text/plain; charset=ISO-8859-1 Hi, I've some question about the MapRed ports and how a reduce knows where the map output is to fetch. I know that MapRed uses jetty has a webserver. - The JobTracker send tasks to the TaskTracker execute them through port 50060? - Which port TaskTracker uses to send status about the task that its executing to the JobTracker? Is it through port 50030? - MapReduce uses the port 54311. What's the reason of this port? - The Reduce task in the shuffle phase must copy the map outputs. In which class is the part of the code where Reduce will fetch the map output? This part of the code is executed by the TaskTracker process? - The directory where the map output is to the reduce task use, is sent by the JobTracker? If so, this means that the JobTracker was informed by the task tracker where a map run, right? - The class org.apache.hadoop.mapred.ReduceTask is used? If so, which process use this class? Is it the TaskTracker process? Thanks, -- Pedro --001485f726fed717b0047f3890f9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,<br><br>I&#39;ve some question about the MapRed ports and how a reduce k= nows where the map output is to fetch.<br><br>I know that MapRed uses jetty= has a webserver. <br><br>- The JobTracker send tasks to the TaskTracker ex= ecute them through port 50060?<br> <br>- Which port TaskTracker uses to send status about the task that its ex= ecuting to the JobTracker? Is it through port 50030?<br><br>- MapReduce use= s the port 54311. What&#39;s the reason of this port?<br><br>- The Reduce t= ask in the shuffle phase must copy the map outputs. In which class is the p= art of the code where Reduce will fetch the map output? This part of the co= de is executed by the TaskTracker process?<br> <br>- The directory where the map output is to the reduce task use, is sent= by the JobTracker? If so, this means that the JobTracker was informed by t= he task tracker where a map run, right?<br><br>- The class org.apache.hadoo= p.mapred.ReduceTask is used? If so, which process use this class? Is it the= TaskTracker process?<br> <br><br><br clear=3D"all">Thanks,<br><br>-- <br>Pedro<br> --001485f726fed717b0047f3890f9-- From [email protected] Wed Feb 10 06:17:11 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9807 invoked from network); 10 Feb 2010 06:17:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Feb 2010 06:17:11 -0000 Received: (qmail 63549 invoked by uid 500); 10 Feb 2010 06:17:10 -0000 Delivered-To: [email protected] Received: (qmail 63398 invoked by uid 500); 10 Feb 2010 06:17:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 63389 invoked by uid 99); 10 Feb 2010 06:17:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 06:17:10 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO vc136.vc.panix.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 06:17:02 +0000 Received: from localhost (localhost [161.129.204.104]) by vc136.vc.panix.com (Postfix) with ESMTP id 4D685DC3F8 for <[email protected]>; Wed, 10 Feb 2010 01:16:41 -0500 (EST) Received: from vc136.vc.panix.com ([161.129.204.104]) by localhost (vc136.vc.panix.com [161.129.204.104]) (amavisd-new, port 10024) with LMTP id mx0NaP5bmO74 for <[email protected]>; Wed, 10 Feb 2010 01:16:35 -0500 (EST) Received: from eric-sammers-macbook-pro.local (cpe-66-108-36-45.nyc.res.rr.com [161.129.204.104]) by vc136.vc.panix.com (Postfix) with ESMTP id CFB33DC1C3 for <[email protected]>; Wed, 10 Feb 2010 01:16:34 -0500 (EST) Message-ID: <[email protected]> Date: Wed, 10 Feb 2010 01:16:34 -0500 From: Eric Sammer <[email protected]> User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: [email protected] Subject: Re: MapRed ports References: <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Pedro: I can answer at least some of these questions for you. See below. On 2/10/10 12:47 AM, psdc1978 wrote: > Hi, > > I've some question about the MapRed ports and how a reduce knows where > the map output is to fetch. > > I know that MapRed uses jetty has a webserver. > > - The JobTracker send tasks to the TaskTracker execute them through port > 50060? Task Trackers contact the Job Tracker every N seconds and report health and the number of available slots for tasks. The response of this heartbeat from the JT is where work may actually be assigned. So the JT doesn't really send work to the TT as much as the TT checks in and happens to get work in the response. > - Which port TaskTracker uses to send status about the task that its > executing to the JobTracker? Is it through port 50030? Task trackers use the JT port specified by mapred.job.tracker. The 50030 port is the web UI. > - MapReduce uses the port 54311. What's the reason of this port? Not entirely sure. > - The Reduce task in the shuffle phase must copy the map outputs. In > which class is the part of the code where Reduce will fetch the map > output? This part of the code is executed by the TaskTracker process? I don't remember the exact class and method, but I would look around ReduceTask and the other classes in o.a.h.mapred.*. You'll find it. Task trackers do pull the map output, yes, so this fetch code is run on the task trackers. I'm not 100% sure if this happens as part of the reduce task or if it happens prior to the reduce task jvm is forked. I don't want to guess and confusing things further. > - The directory where the map output is to the reduce task use, is sent > by the JobTracker? If so, this means that the JobTracker was informed by > the task tracker where a map run, right? Someone can correct me if I'm wrong, but I'm pretty sure it goes: 1. The JT assigns map tasks to TTs based on locality, etc. 2. They finish and report status back to the JT. 3. The JT assigns a reduce task to a TT and informs it as to the TT where the map output is. The TTs fetch the map output via HTTP calls. > - The class org.apache.hadoop.mapred.ReduceTask is used? If so, which > process use this class? Is it the TaskTracker process? ReduceTask is, if I recall, the class that does what MapRunner does, but for reduce tasks. I'm pretty sure this is the core of what happens with a TT runs a reduce task. The TT is what runs / uses this class, yes. The Hadoop definitive guide book has a good section that describes the process of map reduce (although I don't think he gets into the specific class names, etc.). Hope this help. If I've said anything wrong, I'm very happy to have people correct me. Regards. -- Eric Sammer [email protected] http://esammer.blogspot.com From [email protected] Wed Feb 10 09:17:51 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69561 invoked from network); 10 Feb 2010 09:17:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Feb 2010 09:17:51 -0000 Received: (qmail 18655 invoked by uid 500); 10 Feb 2010 09:17:51 -0000 Delivered-To: [email protected] Received: (qmail 18599 invoked by uid 500); 10 Feb 2010 09:17:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 18590 invoked by uid 99); 10 Feb 2010 09:17:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 09:17:50 +0000 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mrout1.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 09:17:39 +0000 Received: from [161.129.204.104] (snvvpn1-10-72-244-c41.hq.corp.yahoo.com [161.129.204.104]) by mrout1.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id o1A9H8GH069877 for <[email protected]>; Wed, 10 Feb 2010 01:17:08 -0800 (PST) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=message-id:from:to:in-reply-to:content-type:mime-version: subject:date:references:x-mailer; b=kZda9tBvwwFuBjCgteOuHrqiEyvXeKPasaRBELRfZtwvMYa78JBnO//GuvvBRF+L Message-Id: <[email protected]> From: Arun C Murthy <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: multipart/alternative; boundary=Apple-Mail-35--276580257 Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: MapRed ports Date: Wed, 10 Feb 2010 01:17:08 -0800 References: <[email protected]> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-35--276580257 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Feb 9, 2010, at 9:47 PM, psdc1978 wrote: > Hi, > > I've some question about the MapRed ports and how a reduce knows > where the map output is to fetch. > > I know that MapRed uses jetty has a webserver. > > - The JobTracker send tasks to the TaskTracker execute them through > port 50060? > TT sends a heartbeat RPC periodically, the response to which contains the new tasks to be launched. > - Which port TaskTracker uses to send status about the task that its > executing to the JobTracker? Is it through port 50030? > The TT uses the JT's RPC port (which is *not* 50030 by default), configured by mapred.job.tracker. > > - The Reduce task in the shuffle phase must copy the map outputs. In > which class is the part of the code where Reduce will fetch the map > output? This part of the code is executed by the TaskTracker process? > The reduce task itself (in a separate JVM from the TT) fetches map outputs, [email protected]:ReduceCopier.fetchOutputs(). > - The directory where the map output is to the reduce task use, is > sent by the JobTracker? If so, this means that the JobTracker was > informed by the task tracker where a map run, right? > JT knows where each successful map-task was scheduled, the reduce-task gets this information via TaskCompletionEvents (ReduceTask.ReduceCopier.GetMapEventsThread). > - The class org.apache.hadoop.mapred.ReduceTask is used? If so, > which process use this class? Is it the TaskTracker process? > That is code being run in the child jvm of the ReduceTask. Arun --Apple-Mail-35--276580257 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable <html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = -webkit-line-break: after-white-space; "><br><div><div>On Feb 9, 2010, = at 9:47 PM, psdc1978 wrote:</div><br = class=3D"Apple-interchange-newline"><blockquote = type=3D"cite">Hi,<br><br>I've some question about the MapRed ports and = how a reduce knows where the map output is to fetch.<br><br>I know that = MapRed uses jetty has a webserver. <br><br>- The JobTracker send tasks = to the TaskTracker execute them through port 50060?<br> = <br></blockquote><div><br></div>TT sends a heartbeat RPC periodically, = the response to which contains the new tasks to be = launched.</div><div><br><blockquote type=3D"cite">- Which port = TaskTracker uses to send status about the task that its executing to the = JobTracker? Is it through port = 50030?<br><br></blockquote><div><br></div>The TT uses the JT's RPC port = (which is *not* 50030 by default), configured by = mapred.job.tracker.</div><div><blockquote type=3D"cite"><font = class=3D"Apple-style-span" color=3D"#000000"><br></font>- The Reduce = task in the shuffle phase must copy the map outputs. In which class is = the part of the code where Reduce will fetch the map output? This part = of the code is executed by the TaskTracker process?<br> = <br></blockquote><div><br></div>The reduce task itself (in a separate = JVM from the TT) fetches map outputs, look at = o.a.h.mapred.ReduceTask:ReduceCopier.fetchOutputs().</div><div><br><blockq= uote type=3D"cite">- The directory where the map output is to the reduce = task use, is sent by the JobTracker? If so, this means that the = JobTracker was informed by the task tracker where a map run, = right?<br><br></blockquote><div><br></div>JT knows where each successful = map-task was scheduled, the reduce-task gets this information via = TaskCompletionEvents = (ReduceTask.ReduceCopier.GetMapEventsThread).</div><div><br><blockquote = type=3D"cite">- The class org.apache.hadoop.mapred.ReduceTask is used? = If so, which process use this class? Is it the TaskTracker process?<br> = <br></blockquote><div><br></div>That is code being run in the child jvm = of the ReduceTask.</div><div><br></div><div>Arun</div></body></html>= --Apple-Mail-35--276580257-- From [email protected] Wed Feb 10 09:19:41 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70121 invoked from network); 10 Feb 2010 09:19:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Feb 2010 09:19:41 -0000 Received: (qmail 19754 invoked by uid 500); 10 Feb 2010 09:19:41 -0000 Delivered-To: [email protected] Received: (qmail 19689 invoked by uid 500); 10 Feb 2010 09:19:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 19680 invoked by uid 99); 10 Feb 2010 09:19:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 09:19:40 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mrout1.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 09:19:30 +0000 Received: from [161.129.204.104] (snvvpn1-10-72-244-c41.hq.corp.yahoo.com [161.129.204.104]) by mrout1.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id o1A9J7aT070767 for <[email protected]>; Wed, 10 Feb 2010 01:19:07 -0800 (PST) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=message-id:from:to:in-reply-to:content-type: content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=KylHud5hgGJQ3EAeJZo8tFsE/mXuSdIuVv4KhQh0ljI1Z5+KHb51TdKiG+CUgx4u Message-Id: <[email protected]> From: Arun C Murthy <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: MapRed ports Date: Wed, 10 Feb 2010 01:19:07 -0800 References: <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org > Someone can correct me if I'm wrong, but I'm pretty sure it goes: > > 1. The JT assigns map tasks to TTs based on locality, etc. > 2. They finish and report status back to the JT. > 3. The JT assigns a reduce task to a TT and informs it as to the TT > where the map output is. The TTs fetch the map output via HTTP calls. > The reduce-task itself fetches map-outputs. TaskTrackers on which the maps successfully completed *serve* out the map-outputs to the reduce-tasks via http. Arun From [email protected] Thu Feb 11 16:15:43 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47449 invoked from network); 11 Feb 2010 16:15:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Feb 2010 16:15:43 -0000 Received: (qmail 86941 invoked by uid 500); 11 Feb 2010 16:15:41 -0000 Delivered-To: [email protected] Received: (qmail 86433 invoked by uid 500); 11 Feb 2010 16:15:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 86341 invoked by uid 99); 11 Feb 2010 16:15:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Feb 2010 16:15:40 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-fx0-f210.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Feb 2010 16:15:33 +0000 Received: by fxm2 with SMTP id 2so601136fxm.11 for <[email protected]>; Thu, 11 Feb 2010 08:14:57 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id x45mr51636wee.18.1265904897150; Thu, 11 Feb 2010 08:14:57 -0800 (PST) Date: Thu, 11 Feb 2010 17:14:57 +0100 Message-ID: <[email protected]> Subject: "Type mismatch in key from map: expected org.apache.hadoop.io.LongWritable" using MultipleInputs (multiple mappers) From: =?UTF-8?Q?Martin_H=C3=A4ger?= <[email protected]> To: [email protected] Content-Type: multipart/mixed; boundary=0016e6d99eadb6d5a8047f55734c --0016e6d99eadb6d5a8047f55734c Content-Type: text/plain; charset=UTF-8 Hello, We're trying to do a reduce-side join by applying two different mappers (TransformationSessionMapper and TransformationActionMapper) to two different input files and joining them using TransformationReducer. See attached Classify.java for complete source. When running it, we get the following error. JoinKey is our own implementation that is used for performing secondary sort. Somehow TransformationActionMapper gets passed a JoinKey when it expects a LongWritable (TextInputFormat). Is Hadoop actually applying the mappers in sequence? $ hadoop jar /tmp/classify.jar Classify 10/02/11 16:40:16 INFO jvm.JvmMetrics: Initializing JVM Metrics with processName=JobTracker, sessionId= 10/02/11 16:40:16 WARN mapred.JobClient: No job jar file set. User classes may not be found. See JobConf(Class) or JobConf#setJar(String). 10/02/11 16:40:16 INFO jvm.JvmMetrics: Cannot initialize JVM Metrics with processName=JobTracker, sessionId= - already initialized 10/02/11 16:40:16 INFO input.FileInputFormat: Total input paths to process : 1 10/02/11 16:40:16 INFO input.FileInputFormat: Total input paths to process : 1 10/02/11 16:40:16 INFO mapred.JobClient: Running job: job_local_0001 10/02/11 16:40:16 INFO jvm.JvmMetrics: Cannot initialize JVM Metrics with processName=JobTracker, sessionId= - already initialized 10/02/11 16:40:16 INFO input.FileInputFormat: Total input paths to process : 1 10/02/11 16:40:16 INFO input.FileInputFormat: Total input paths to process : 1 10/02/11 16:40:16 INFO mapred.MapTask: io.sort.mb = 100 10/02/11 16:40:16 INFO mapred.MapTask: data buffer = 79691776/99614720 10/02/11 16:40:16 INFO mapred.MapTask: record buffer = 262144/327680 10/02/11 16:40:16 WARN mapred.LocalJobRunner: job_local_0001 java.io.IOException: Type mismatch in key from map: expected org.apache.hadoop.io.LongWritable, recieved Classify$JoinKey at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.collect(MapTask.java:807) at org.apache.hadoop.mapred.MapTask$NewOutputCollector.write(MapTask.java:504) at org.apache.hadoop.mapreduce.TaskInputOutputContext.write(TaskInputOutputContext.java:80) at Classify$TransformationActionMapper.map(Classify.java:161) at Classify$TransformationActionMapper.map(Classify.java:1) at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:144) at org.apache.hadoop.mapreduce.lib.input.DelegatingMapper.run(DelegatingMapper.java:51) at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:583) at org.apache.hadoop.mapred.MapTask.run(MapTask.java:305) at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:176) 10/02/11 16:40:17 INFO mapred.JobClient: map 0% reduce 0% 10/02/11 16:40:17 INFO mapred.JobClient: Job complete: job_local_0001 10/02/11 16:40:17 INFO mapred.JobClient: Counters: 0 --0016e6d99eadb6d5a8047f55734c Content-Type: text/x-java; charset=US-ASCII; name="Classify.java" Content-Disposition: attachment; filename="Classify.java" Content-Transfer-Encoding: base64 X-Attachment-Id: f_g5jqt9n00 aW1wb3J0IGphdmEuaW8uRGF0YUlucHV0OwppbXBvcnQgamF2YS5pby5EYXRhT3V0cHV0OwppbXBv cnQgamF2YS5pby5JT0V4Y2VwdGlvbjsKaW1wb3J0IGphdmEuaW8uT2JqZWN0SW5wdXRTdHJlYW07 CmltcG9ydCBqYXZhLm5ldC5VUkk7CmltcG9ydCBqYXZhLnV0aWwuSXRlcmF0b3I7CmltcG9ydCBq YXZhLnV0aWwucmVnZXguUGF0dGVybjsKCmltcG9ydCBvcmcuYXBhY2hlLmNvbW1vbnMuY2xpLkNv bW1hbmRMaW5lOwppbXBvcnQgb3JnLmFwYWNoZS5jb21tb25zLmNsaS5PcHRpb247CmltcG9ydCBv cmcuYXBhY2hlLmhhZG9vcC5jb25mLkNvbmZpZ3VyYXRpb247CmltcG9ydCBvcmcuYXBhY2hlLmhh ZG9vcC5jb25mLkNvbmZpZ3VyZWQ7CmltcG9ydCBvcmcuYXBhY2hlLmhhZG9vcC5maWxlY2FjaGUu RGlzdHJpYnV0ZWRDYWNoZTsKaW1wb3J0IG9yZy5hcGFjaGUuaGFkb29wLmZzLkZTRGF0YUlucHV0 U3RyZWFtOwppbXBvcnQgb3JnLmFwYWNoZS5oYWRvb3AuZnMuRmlsZVN5c3RlbTsKaW1wb3J0IG9y Zy5hcGFjaGUuaGFkb29wLmZzLlBhdGg7CmltcG9ydCBvcmcuYXBhY2hlLmhhZG9vcC5pby5Eb3Vi bGVXcml0YWJsZTsKaW1wb3J0IG9yZy5hcGFjaGUuaGFkb29wLmlvLkludFdyaXRhYmxlOwppbXBv cnQgb3JnLmFwYWNoZS5oYWRvb3AuaW8uTG9uZ1dyaXRhYmxlOwppbXBvcnQgb3JnLmFwYWNoZS5o YWRvb3AuaW8uVGV4dDsKaW1wb3J0IG9yZy5hcGFjaGUuaGFkb29wLmlvLldyaXRhYmxlQ29tcGFy YWJsZTsKaW1wb3J0IG9yZy5hcGFjaGUuaGFkb29wLm1hcHJlZHVjZS5Kb2I7CmltcG9ydCBvcmcu YXBhY2hlLmhhZG9vcC5tYXByZWR1Y2UuTWFwcGVyOwppbXBvcnQgb3JnLmFwYWNoZS5oYWRvb3Au bWFwcmVkdWNlLlJlZHVjZXI7CmltcG9ydCBvcmcuYXBhY2hlLmhhZG9vcC5tYXByZWR1Y2UubGli LmlucHV0LkZpbGVJbnB1dEZvcm1hdDsKaW1wb3J0IG9yZy5hcGFjaGUuaGFkb29wLm1hcHJlZHVj ZS5saWIuaW5wdXQuTXVsdGlwbGVJbnB1dHM7CmltcG9ydCBvcmcuYXBhY2hlLmhhZG9vcC5tYXBy ZWR1Y2UubGliLmlucHV0LlRleHRJbnB1dEZvcm1hdDsKaW1wb3J0IG9yZy5hcGFjaGUuaGFkb29w Lm1hcHJlZHVjZS5saWIub3V0cHV0LkZpbGVPdXRwdXRGb3JtYXQ7CmltcG9ydCBvcmcuYXBhY2hl LmhhZG9vcC51dGlsLkdlbmVyaWNPcHRpb25zUGFyc2VyOwppbXBvcnQgb3JnLmFwYWNoZS5oYWRv b3AudXRpbC5Ub29sOwppbXBvcnQgb3JnLmFwYWNoZS5oYWRvb3AudXRpbC5Ub29sUnVubmVyOwoK aW1wb3J0IHdla2EuY2xhc3NpZmllcnMuQ2xhc3NpZmllcjsKaW1wb3J0IHdla2EuY29yZS5JbnN0 YW5jZTsKCgpwdWJsaWMgY2xhc3MgQ2xhc3NpZnkgZXh0ZW5kcyBDb25maWd1cmVkIGltcGxlbWVu dHMgVG9vbCB7Cglwcml2YXRlIHN0YXRpYyBmaW5hbCBTdHJpbmcgY2FjaGVkQ2xhc3NpZmllckZp bGVQYXRoID0gIi90bXAvY2xhc3NpZmllciI7Cglwcml2YXRlIHN0YXRpYyBmaW5hbCBTdHJpbmcg YXJmZkhlYWRlckZpbGVQYXRoID0gIi90bXAvaGVhZGVyLmFyZmYiOwoJCglwdWJsaWMgc3RhdGlj IGNsYXNzIEpvaW5LZXkgaW1wbGVtZW50cyBXcml0YWJsZUNvbXBhcmFibGU8Sm9pbktleT4gewoJ CQoJCXByaXZhdGUgVGV4dCBrZXk7CgkJcHJpdmF0ZSBJbnRXcml0YWJsZSBvcmRlcmluZzsKCQkK CQlwdWJsaWMgSm9pbktleShUZXh0IGtleSwgSW50V3JpdGFibGUgb3JkZXJpbmcpIHsKCQkJdGhp cy5rZXkgPSBrZXk7CgkJCXRoaXMub3JkZXJpbmcgPSBvcmRlcmluZzsKCQl9CgkJCgkJcHVibGlj IEpvaW5LZXkoU3RyaW5nIGtleSwgSW50ZWdlciBvcmRlcmluZykgewoJCQl0aGlzKG5ldyBUZXh0 KGtleSksIG5ldyBJbnRXcml0YWJsZShvcmRlcmluZykpOwoJCX0KCQkKCQlwdWJsaWMgVGV4dCBr ZXkoKSB7CgkJCXJldHVybiBrZXk7CgkJfQoJCQoJCXB1YmxpYyBJbnRXcml0YWJsZSBvcmRlcmlu ZygpIHsKCQkJcmV0dXJuIG9yZGVyaW5nOwoJCX0KCgkJQE92ZXJyaWRlCgkJcHVibGljIHZvaWQg cmVhZEZpZWxkcyhEYXRhSW5wdXQgaW4pIHRocm93cyBJT0V4Y2VwdGlvbiB7CgkJCWtleS5yZWFk RmllbGRzKGluKTsKCQkJb3JkZXJpbmcucmVhZEZpZWxkcyhpbik7CgkJfQoKCQlAT3ZlcnJpZGUK CQlwdWJsaWMgdm9pZCB3cml0ZShEYXRhT3V0cHV0IG91dCkgdGhyb3dzIElPRXhjZXB0aW9uIHsK CQkJa2V5LndyaXRlKG91dCk7CgkJCW9yZGVyaW5nLndyaXRlKG91dCk7CgkJfQoJCQoJCUBPdmVy cmlkZQoJCXB1YmxpYyBpbnQgaGFzaENvZGUoKSB7CgkJCXJldHVybiBrZXkuaGFzaENvZGUoKTsK CQl9CgkJCgkJQE92ZXJyaWRlCgkJcHVibGljIGJvb2xlYW4gZXF1YWxzKE9iamVjdCBvdGhlcikg ewoJCQlpZiAob3RoZXIgaW5zdGFuY2VvZiBKb2luS2V5KSB7CgkJCQlKb2luS2V5IG90aGVyS2V5 ID0gKEpvaW5LZXkpIG90aGVyOwoJCQkJcmV0dXJuIGtleS5lcXVhbHMob3RoZXJLZXkua2V5KSAm JiBvcmRlcmluZy5lcXVhbHMob3RoZXJLZXkub3JkZXJpbmcpOwoJCQl9IGVsc2UgewoJCQkJcmV0 dXJuIGZhbHNlOwoJCQl9CgkJfQoKCQlAT3ZlcnJpZGUKCQlwdWJsaWMgaW50IGNvbXBhcmVUbyhK b2luS2V5IG90aGVyKSB7CgkJCWludCBjbXAgPSBrZXkuY29tcGFyZVRvKG90aGVyLmtleSk7CgkJ CQoJCQlpZiAoY21wICE9IDApCgkJCQlyZXR1cm4gY21wOwoJCQllbHNlCgkJCQlyZXR1cm4gb3Jk ZXJpbmcuY29tcGFyZVRvKG90aGVyLm9yZGVyaW5nKTsKCQl9CgkJCgl9CgkKCXB1YmxpYyBzdGF0 aWMgY2xhc3MgVHJhbnNmb3JtYXRpb25TZXNzaW9uTWFwcGVyIGV4dGVuZHMgTWFwcGVyPExvbmdX cml0YWJsZSwgVGV4dCwgSm9pbktleSwgSW5zdGFuY2U+IHsKCgkJQE92ZXJyaWRlCgkJcHJvdGVj dGVkIHZvaWQgbWFwKExvbmdXcml0YWJsZSBrZXksIFRleHQgdmFsdWUsIENvbnRleHQgY29udGV4 dCkKCQkJCXRocm93cyBJT0V4Y2VwdGlvbiwgSW50ZXJydXB0ZWRFeGNlcHRpb24gewoKCQkJaW50 IGJlZ2luID0gMTksIG51bUF0dHJpYnV0ZXMgPSA1OwoJCQkKCQkJU3RyaW5nIGxpbmUgPSB2YWx1 ZS50b1N0cmluZygpOwoJCQlTdHJpbmcgZmllbGRzW10gPSBsaW5lLnNwbGl0KCJcdCIpOwoJCQlT dHJpbmcgc2Vzc2lvbl9pZCA9IGZpZWxkc1swXTsKCQkJCgkJCUluc3RhbmNlIGluc3RhbmNlID0g bmV3IEluc3RhbmNlKG51bUF0dHJpYnV0ZXMpOwoJCQkKCQkJZm9yIChpbnQgaSA9IDA7IGkgPCBu dW1BdHRyaWJ1dGVzIC0gMjsgaSsrKSB7CgkJCQlTeXN0ZW0uZXJyLnByaW50bG4oZmllbGRzW2Jl Z2luICsgaV0pOwoJCQkJaW5zdGFuY2Uuc2V0VmFsdWUoaSwgRG91YmxlLnBhcnNlRG91YmxlKGZp ZWxkc1tiZWdpbiArIGldKSk7CgkJCX0KCQkJCgkJCWNvbnRleHQud3JpdGUobmV3IEpvaW5LZXko c2Vzc2lvbl9pZCwgMiksIGluc3RhbmNlKTsKCQl9CgoJfQoJCglwdWJsaWMgc3RhdGljIGNsYXNz IFRyYW5zZm9ybWF0aW9uQWN0aW9uTWFwcGVyIGV4dGVuZHMgTWFwcGVyPExvbmdXcml0YWJsZSwg VGV4dCwgSm9pbktleSwgSW50V3JpdGFibGU+IHsKCQkKCQlwcml2YXRlIHN0YXRpYyBmaW5hbCBT dHJpbmcgVFlQRV9SRUdFWCA9ICJeY2xpY2tfP3RociQiOwoKCQlAT3ZlcnJpZGUKCQlwcm90ZWN0 ZWQgdm9pZCBtYXAoTG9uZ1dyaXRhYmxlIGtleSwgVGV4dCB2YWx1ZSwgQ29udGV4dCBjb250ZXh0 KQoJCQkJdGhyb3dzIElPRXhjZXB0aW9uLCBJbnRlcnJ1cHRlZEV4Y2VwdGlvbiB7CgkJCVN0cmlu ZyBsaW5lID0gdmFsdWUudG9TdHJpbmcoKTsKCQkJU3RyaW5nIGZpZWxkc1tdID0gbGluZS5zcGxp dCgiXHQiKTsKCQkJU3RyaW5nIHNlc3Npb25faWQgPSBmaWVsZHNbNF07CgkJCQoJCQlpZiAoUGF0 dGVybi5tYXRjaGVzKFRZUEVfUkVHRVgsIGZpZWxkc1s1XSkpCgkJCQljb250ZXh0LndyaXRlKG5l dyBKb2luS2V5KHNlc3Npb25faWQsIDEpLCBuZXcgSW50V3JpdGFibGUoMSkpOwoJCQllbHNlCgkJ CQljb250ZXh0LndyaXRlKG5ldyBKb2luS2V5KHNlc3Npb25faWQsIDEpLCBuZXcgSW50V3JpdGFi bGUoMCkpOwoJCX0KCQkKCX0KCQoJCglwdWJsaWMgc3RhdGljIGNsYXNzIFRyYW5zZm9ybWF0aW9u UmVkdWNlciBleHRlbmRzIFJlZHVjZXI8Sm9pbktleSwgT2JqZWN0LCBUZXh0LCBJbnN0YW5jZT4g ewoJCQoJCXByaXZhdGUgaW50IHN1bSA9IDA7CgoJCUBPdmVycmlkZQoJCXByb3RlY3RlZCB2b2lk IHJlZHVjZShKb2luS2V5IGtleSwgSXRlcmFibGU8T2JqZWN0PiB2YWx1ZXMsIENvbnRleHQgY29u dGV4dCkKCQkJCXRocm93cyBJT0V4Y2VwdGlvbiwgSW50ZXJydXB0ZWRFeGNlcHRpb24gewoJCQkK CQkJSXRlcmF0b3I8T2JqZWN0PiBpdGVyID0gdmFsdWVzLml0ZXJhdG9yKCk7CgkJCQoJCQlPYmpl Y3QgbzsKCQkJd2hpbGUgKGl0ZXIuaGFzTmV4dCgpKSB7CgkJCQlvID0gaXRlci5uZXh0KCk7CgkJ CQkKCQkJCWlmIChvIGluc3RhbmNlb2YgSW50V3JpdGFibGUpCgkJCQkJc3VtICs9ICgoSW50V3Jp dGFibGUpIG8pLmdldCgpOwoJCQkJZWxzZSB7CgkJCQkJSW5zdGFuY2UgaW5zdGFuY2UgPSAoSW5z dGFuY2UpIG87CgkJCQkJaW5zdGFuY2Uuc2V0VmFsdWUoNCwgc3VtKTsKCQkJCQkKCQkJCQljb250 ZXh0LndyaXRlKGtleS5rZXkoKSwgaW5zdGFuY2UpOwoJCQkJfQoJCQl9CgkJfQoJCQoJfQoJCglw dWJsaWMgc3RhdGljIGNsYXNzIENsYXNzaWZpY2F0aW9uTWFwcGVyIGV4dGVuZHMgTWFwcGVyPFRl eHQsIEluc3RhbmNlLCBUZXh0LCBEb3VibGVXcml0YWJsZT4gewoJCQoJCXByaXZhdGUgQ2xhc3Np ZmllciBjbGFzc2lmaWVyID0gbnVsbDsKCgkJQE92ZXJyaWRlCgkJcHJvdGVjdGVkIHZvaWQgbWFw KFRleHQgc2Vzc2lvbklkLCBJbnN0YW5jZSBpbnN0YW5jZSwgQ29udGV4dCBjb250ZXh0KQoJCQkJ dGhyb3dzIElPRXhjZXB0aW9uLCBJbnRlcnJ1cHRlZEV4Y2VwdGlvbiB7CgkJCQoJCQl0cnkgewoJ CQkJZG91YmxlIHJlc3VsdCA9IGNsYXNzaWZpZXIuY2xhc3NpZnlJbnN0YW5jZShpbnN0YW5jZSk7 CgkJCQljb250ZXh0LndyaXRlKHNlc3Npb25JZCwgbmV3IERvdWJsZVdyaXRhYmxlKHJlc3VsdCkp OwoJCQkJCgkJCQkgLy8gdGhpcyBmb2xsb3dpbmcgY29kZSBpcyByZXRhcmRlZCwgYnV0IGJsYW1l IFdla2EncyBjbGFzc2lmeUluc3RhbmNlKCkgZm9yIHRoYXQuCgkJCX0gY2F0Y2ggKElPRXhjZXB0 aW9uIGUpIHsKCQkJCXRocm93IGU7CgkJCX0gY2F0Y2ggKEludGVycnVwdGVkRXhjZXB0aW9uIGUp IHsKCQkJCXRocm93IGU7CgkJCX0gY2F0Y2ggKEV4Y2VwdGlvbiBlKSB7CgkJCQl0aHJvdyBuZXcg SU9FeGNlcHRpb24oZSk7CgkJCX0KCQl9CgoJCUBPdmVycmlkZQoJCXByb3RlY3RlZCB2b2lkIHNl dHVwKENvbnRleHQgY29udGV4dCkKCQkJCXRocm93cyBJT0V4Y2VwdGlvbiwgSW50ZXJydXB0ZWRF eGNlcHRpb24gewoJCQlDb25maWd1cmF0aW9uIGNvbmYgPSBjb250ZXh0LmdldENvbmZpZ3VyYXRp b24oKTsKCQkJVVJJIHVyaXNbXSA9IERpc3RyaWJ1dGVkQ2FjaGUuZ2V0Q2FjaGVGaWxlcyhjb25m KTsKCQkJCgkJCWZvciAoVVJJIHVyaSA6IHVyaXMpIHsKCQkJCWlmIChjYWNoZWRDbGFzc2lmaWVy RmlsZVBhdGguZXF1YWxzKHVyaS5nZXRQYXRoKCkpKSB7CgkJCQkJUGF0aCBjbGFzc2lmaWVyRmls ZSA9IG5ldyBQYXRoKHVyaS5nZXRQYXRoKCkpOwoJCQkJCUZpbGVTeXN0ZW0gZnMgPSBjbGFzc2lm aWVyRmlsZS5nZXRGaWxlU3lzdGVtKGNvbmYpOwoJCQkJCUZTRGF0YUlucHV0U3RyZWFtIGlucHV0 U3RyZWFtID0gZnMub3BlbihjbGFzc2lmaWVyRmlsZSk7CgkJCQkJCgkJCQkJT2JqZWN0SW5wdXRT dHJlYW0gb2JqZWN0U3RyZWFtID0gbmV3IE9iamVjdElucHV0U3RyZWFtKGlucHV0U3RyZWFtKTsK CQkJCQkKCQkJCQlPYmplY3QgbzsKCQkJCQkKCQkJCQl0cnkgewoJCQkJCQlvID0gb2JqZWN0U3Ry ZWFtLnJlYWRPYmplY3QoKTsKCQkJCQl9IGNhdGNoIChDbGFzc05vdEZvdW5kRXhjZXB0aW9uIGUp IHsKCQkJCQkJdGhyb3cgbmV3IElPRXhjZXB0aW9uKGUpOwoJCQkJCX0KCQkJCQkKCQkJCQlpZiAo byBpbnN0YW5jZW9mIENsYXNzaWZpZXIpIHsKCQkJCQkJY2xhc3NpZmllciA9IChDbGFzc2lmaWVy KSBvOwoJCQkJCX0gZWxzZSB7CgkJCQkJCXRocm93IG5ldyBJT0V4Y2VwdGlvbigiRXhwZWN0ZWQg YW4gaW5zdGFuY2Ugb2YgQ2xhc3NpZmllciwgZ290IG9iamVjdCBvZiB0eXBlICIgKyBvLmdldENs YXNzKCkpOwoJCQkJCX0KCQkJCX0KCQkJfQoJCQoJCQlpZiAoY2xhc3NpZmllciA9PSBudWxsKQoJ CQkJdGhyb3cgbmV3IElPRXhjZXB0aW9uKCJDb3VsZCBub3QgcmV0cmlldmUgY2xhc3NpZmllciBm cm9tIGxvY2FsIGNhY2hlIik7CgkJfQoJCQoJfQoJCglwdWJsaWMgc3RhdGljIGNsYXNzIENsYXNz aWZpY2F0aW9uUmVkdWNlciBleHRlbmRzIFJlZHVjZXI8VGV4dCwgRG91YmxlV3JpdGFibGUsIFRl eHQsIERvdWJsZVdyaXRhYmxlPiB7CgoJCUBPdmVycmlkZQoJCXByb3RlY3RlZCB2b2lkIHJlZHVj ZShUZXh0IGtleSwgSXRlcmFibGU8RG91YmxlV3JpdGFibGU+IHZhbHVlcywgQ29udGV4dCBjb250 ZXh0KQoJCQkJdGhyb3dzIElPRXhjZXB0aW9uLCBJbnRlcnJ1cHRlZEV4Y2VwdGlvbiB7CgkJCQoJ CQlJdGVyYXRvcjxEb3VibGVXcml0YWJsZT4gaXRlciA9IHZhbHVlcy5pdGVyYXRvcigpOwoJCQkK CQkJaWYgKGl0ZXIuaGFzTmV4dCgpKQoJCQkJY29udGV4dC53cml0ZShrZXksIGl0ZXIubmV4dCgp KTsKCQl9CgkJCgl9CgkKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluKFN0cmluZ1tdIGFyZ3MpIHRo cm93cyBFeGNlcHRpb24gewoJCWludCBleGl0Q29kZSA9IFRvb2xSdW5uZXIucnVuKG5ldyBDb25m aWd1cmF0aW9uKCksIG5ldyBDbGFzc2lmeSgpLCBhcmdzKTsKCQlTeXN0ZW0uZXhpdChleGl0Q29k ZSk7Cgl9CgoJQE92ZXJyaWRlCglwdWJsaWMgaW50IHJ1bihTdHJpbmdbXSBhcmdzKSB0aHJvd3Mg RXhjZXB0aW9uIHsKCQlDb25maWd1cmF0aW9uIGNvbmYgPSBnZXRDb25mKCk7CgkJCgkJSm9iIGpv YiA9IG5ldyBKb2IoY29uZiwgIkNsYXNzaWZpZXIiKTsKCQlqb2Iuc2V0SmFyQnlDbGFzcyhDbGFz c2lmeS5jbGFzcyk7CgkJCgkJTXVsdGlwbGVJbnB1dHMuYWRkSW5wdXRQYXRoKGpvYiwgbmV3IFBh dGgoIi90bXAvaGFkb29wL3Nlc3Npb25zLTIwMTAwMjA1MTU1ODAwLnR4dCIpLCBUZXh0SW5wdXRG b3JtYXQuY2xhc3MsIFRyYW5zZm9ybWF0aW9uU2Vzc2lvbk1hcHBlci5jbGFzcyk7CgkJTXVsdGlw bGVJbnB1dHMuYWRkSW5wdXRQYXRoKGpvYiwgbmV3IFBhdGgoIi90bXAvaGFkb29wL2FjdGlvbnMt MjAxMDAyMDUxNTU4MDAudHh0IiksIFRleHRJbnB1dEZvcm1hdC5jbGFzcywgVHJhbnNmb3JtYXRp b25BY3Rpb25NYXBwZXIuY2xhc3MpOwoJCUZpbGVPdXRwdXRGb3JtYXQuc2V0T3V0cHV0UGF0aChq b2IsIG5ldyBQYXRoKCIvdG1wL2hhZG9vcC9vdXRwdXQiKSk7CgkJCgkJam9iLnNldFJlZHVjZXJD bGFzcyhUcmFuc2Zvcm1hdGlvblJlZHVjZXIuY2xhc3MpOwoJCQoJCXJldHVybiBqb2Iud2FpdEZv ckNvbXBsZXRpb24odHJ1ZSkgPyAwIDogMTsKCgl9Cn0KCg== --0016e6d99eadb6d5a8047f55734c-- From [email protected] Thu Feb 11 16:26:15 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51525 invoked from network); 11 Feb 2010 16:26:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Feb 2010 16:26:15 -0000 Received: (qmail 22389 invoked by uid 500); 11 Feb 2010 16:26:14 -0000 Delivered-To: [email protected] Received: (qmail 22330 invoked by uid 500); 11 Feb 2010 16:26:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 22321 invoked by uid 99); 11 Feb 2010 16:26:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Feb 2010 16:26:14 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO vc136.vc.panix.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Feb 2010 16:26:05 +0000 Received: from localhost (localhost [161.129.204.104]) by vc136.vc.panix.com (Postfix) with ESMTP id 263ABDC3B2 for <[email protected]>; Thu, 11 Feb 2010 11:25:44 -0500 (EST) Received: from vc136.vc.panix.com ([161.129.204.104]) by localhost (vc136.vc.panix.com [161.129.204.104]) (amavisd-new, port 10024) with LMTP id 19CYuq60qruP for <[email protected]>; Thu, 11 Feb 2010 11:25:36 -0500 (EST) Received: from esammer-domdex.local (pool-96-246-67-178.nycmny.east.verizon.net [161.129.204.104]) by vc136.vc.panix.com (Postfix) with ESMTP id 998B5DC379 for <[email protected]>; Thu, 11 Feb 2010 11:25:36 -0500 (EST) Message-ID: <[email protected]> Date: Thu, 11 Feb 2010 11:25:31 -0500 From: "E. Sammer" <[email protected]> User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: [email protected] Subject: Re: "Type mismatch in key from map: expected org.apache.hadoop.io.LongWritable" using MultipleInputs (multiple mappers) References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org It looks like you're using the local job runner which does everything in a single thread. In this case, yes, I think the mappers are run sequentially. The local job runner is a different code path in Hadoop and is a known issue. Have you tried your code in pseudo-distributed mode? HTH. On 2/11/10 11:14 AM, Martin Häger wrote: > Hello, > > We're trying to do a reduce-side join by applying two different > mappers (TransformationSessionMapper and TransformationActionMapper) > to two different input files and joining them using > TransformationReducer. See attached Classify.java for complete source. > > When running it, we get the following error. JoinKey is our own > implementation that is used for performing secondary sort. Somehow > TransformationActionMapper gets passed a JoinKey when it expects a > LongWritable (TextInputFormat). Is Hadoop actually applying the > mappers in sequence? > > $ hadoop jar /tmp/classify.jar Classify > 10/02/11 16:40:16 INFO jvm.JvmMetrics: Initializing JVM Metrics with > processName=JobTracker, sessionId= > 10/02/11 16:40:16 WARN mapred.JobClient: No job jar file set. User > classes may not be found. See JobConf(Class) or > JobConf#setJar(String). > 10/02/11 16:40:16 INFO jvm.JvmMetrics: Cannot initialize JVM Metrics > with processName=JobTracker, sessionId= - already initialized > 10/02/11 16:40:16 INFO input.FileInputFormat: Total input paths to process : 1 > 10/02/11 16:40:16 INFO input.FileInputFormat: Total input paths to process : 1 > 10/02/11 16:40:16 INFO mapred.JobClient: Running job: job_local_0001 > 10/02/11 16:40:16 INFO jvm.JvmMetrics: Cannot initialize JVM Metrics > with processName=JobTracker, sessionId= - already initialized > 10/02/11 16:40:16 INFO input.FileInputFormat: Total input paths to process : 1 > 10/02/11 16:40:16 INFO input.FileInputFormat: Total input paths to process : 1 > 10/02/11 16:40:16 INFO mapred.MapTask: io.sort.mb = 100 > 10/02/11 16:40:16 INFO mapred.MapTask: data buffer = 79691776/99614720 > 10/02/11 16:40:16 INFO mapred.MapTask: record buffer = 262144/327680 > 10/02/11 16:40:16 WARN mapred.LocalJobRunner: job_local_0001 > java.io.IOException: Type mismatch in key from map: expected > org.apache.hadoop.io.LongWritable, recieved Classify$JoinKey > at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.collect(MapTask.java:807) > at org.apache.hadoop.mapred.MapTask$NewOutputCollector.write(MapTask.java:504) > at org.apache.hadoop.mapreduce.TaskInputOutputContext.write(TaskInputOutputContext.java:80) > at Classify$TransformationActionMapper.map(Classify.java:161) > at Classify$TransformationActionMapper.map(Classify.java:1) > at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:144) > at org.apache.hadoop.mapreduce.lib.input.DelegatingMapper.run(DelegatingMapper.java:51) > at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:583) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:305) > at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:176) > 10/02/11 16:40:17 INFO mapred.JobClient: map 0% reduce 0% > 10/02/11 16:40:17 INFO mapred.JobClient: Job complete: job_local_0001 > 10/02/11 16:40:17 INFO mapred.JobClient: Counters: 0 -- Eric Sammer [email protected] http://esammer.blogspot.com From [email protected] Thu Feb 11 18:40:04 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41953 invoked from network); 11 Feb 2010 18:40:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Feb 2010 18:40:04 -0000 Received: (qmail 93859 invoked by uid 500); 11 Feb 2010 18:40:03 -0000 Delivered-To: [email protected] Received: (qmail 93791 invoked by uid 500); 11 Feb 2010 18:40:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 93782 invoked by uid 99); 11 Feb 2010 18:40:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Feb 2010 18:40:03 +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: local policy) Received: from [161.129.204.104] (HELO mail-pz0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Feb 2010 18:39:55 +0000 Received: by pzk5 with SMTP id 5so2760391pzk.29 for <[email protected]>; Thu, 11 Feb 2010 10:39:29 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id j8mr151771rvm.199.1265913569475; Thu, 11 Feb 2010 10:39:29 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Thu, 11 Feb 2010 10:39:29 -0800 Message-ID: <[email protected]> Subject: Re: "Type mismatch in key from map: expected org.apache.hadoop.io.LongWritable" using MultipleInputs (multiple mappers) From: Alex Kozlov <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=000e0cd138e29ffebe047f5778a2 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd138e29ffebe047f5778a2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Try job.setMapOutputKeyClass(JoinKey.class). -- Alex K On Thu, Feb 11, 2010 at 8:25 AM, E. Sammer <[email protected]> wrote: > It looks like you're using the local job runner which does everything in = a > single thread. In this case, yes, I think the mappers are run sequentiall= y. > The local job runner is a different code path in Hadoop and is a known > issue. Have you tried your code in pseudo-distributed mode? > > HTH. > > > On 2/11/10 11:14 AM, Martin H=E4ger wrote: > >> Hello, >> >> We're trying to do a reduce-side join by applying two different >> mappers (TransformationSessionMapper and TransformationActionMapper) >> to two different input files and joining them using >> TransformationReducer. See attached Classify.java for complete source. >> >> When running it, we get the following error. JoinKey is our own >> implementation that is used for performing secondary sort. Somehow >> TransformationActionMapper gets passed a JoinKey when it expects a >> LongWritable (TextInputFormat). Is Hadoop actually applying the >> mappers in sequence? >> >> $ hadoop jar /tmp/classify.jar Classify >> 10/02/11 16:40:16 INFO jvm.JvmMetrics: Initializing JVM Metrics with >> processName=3DJobTracker, sessionId=3D >> 10/02/11 16:40:16 WARN mapred.JobClient: No job jar file set. User >> classes may not be found. See JobConf(Class) or >> JobConf#setJar(String). >> 10/02/11 16:40:16 INFO jvm.JvmMetrics: Cannot initialize JVM Metrics >> with processName=3DJobTracker, sessionId=3D - already initialized >> 10/02/11 16:40:16 INFO input.FileInputFormat: Total input paths to proce= ss >> : 1 >> 10/02/11 16:40:16 INFO input.FileInputFormat: Total input paths to proce= ss >> : 1 >> 10/02/11 16:40:16 INFO mapred.JobClient: Running job: job_local_0001 >> 10/02/11 16:40:16 INFO jvm.JvmMetrics: Cannot initialize JVM Metrics >> with processName=3DJobTracker, sessionId=3D - already initialized >> 10/02/11 16:40:16 INFO input.FileInputFormat: Total input paths to proce= ss >> : 1 >> 10/02/11 16:40:16 INFO input.FileInputFormat: Total input paths to proce= ss >> : 1 >> 10/02/11 16:40:16 INFO mapred.MapTask: io.sort.mb =3D 100 >> 10/02/11 16:40:16 INFO mapred.MapTask: data buffer =3D 79691776/99614720 >> 10/02/11 16:40:16 INFO mapred.MapTask: record buffer =3D 262144/327680 >> 10/02/11 16:40:16 WARN mapred.LocalJobRunner: job_local_0001 >> java.io.IOException: Type mismatch in key from map: expected >> org.apache.hadoop.io.LongWritable, recieved Classify$JoinKey >> at >> org.apache.hadoop.mapred.MapTask$MapOutputBuffer.collect(MapTask.java:80= 7) >> at >> org.apache.hadoop.mapred.MapTask$NewOutputCollector.write(MapTask.java:5= 04) >> at >> org.apache.hadoop.mapreduce.TaskInputOutputContext.write(TaskInputOutput= Context.java:80) >> at Classify$TransformationActionMapper.map(Classify.java:161) >> at Classify$TransformationActionMapper.map(Classify.java:1) >> at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:144) >> at >> org.apache.hadoop.mapreduce.lib.input.DelegatingMapper.run(DelegatingMap= per.java:51) >> at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:583= ) >> at org.apache.hadoop.mapred.MapTask.run(MapTask.java:305) >> at >> org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:176) >> 10/02/11 16:40:17 INFO mapred.JobClient: map 0% reduce 0% >> 10/02/11 16:40:17 INFO mapred.JobClient: Job complete: job_local_0001 >> 10/02/11 16:40:17 INFO mapred.JobClient: Counters: 0 >> > > > -- > Eric Sammer > [email protected] > http://esammer.blogspot.com > --000e0cd138e29ffebe047f5778a2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Try=A0job.setMapOutputKeyClass(JoinKey.class). -- Alex K<br><br><div class= =3D"gmail_quote">On Thu, Feb 11, 2010 at 8:25 AM, E. Sammer <span dir=3D"lt= r">&lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt;</span= > wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex;">It looks like you&#39;re using the local jo= b runner which does everything in a single thread. In this case, yes, I thi= nk the mappers are run sequentially. The local job runner is a different co= de path in Hadoop and is a known issue. Have you tried your code in pseudo-= distributed mode?<br> <br> HTH.<div><div></div><div class=3D"h5"><br> <br> On 2/11/10 11:14 AM, Martin H=E4ger wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> Hello,<br> <br> We&#39;re trying to do a reduce-side join by applying two different<br> mappers (TransformationSessionMapper and TransformationActionMapper)<br> to two different input files and joining them using<br> TransformationReducer. See attached Classify.java for complete source.<br> <br> When running it, we get the following error. JoinKey is our own<br> implementation that is used for performing secondary sort. Somehow<br> TransformationActionMapper gets passed a JoinKey when it expects a<br> LongWritable (TextInputFormat). Is Hadoop actually applying the<br> mappers in sequence?<br> <br> $ hadoop jar /tmp/classify.jar Classify<br> 10/02/11 16:40:16 INFO jvm.JvmMetrics: Initializing JVM Metrics with<br> processName=3DJobTracker, sessionId=3D<br> 10/02/11 16:40:16 WARN mapred.JobClient: No job jar file set. =A0User<br> classes may not be found. See JobConf(Class) or<br> JobConf#setJar(String).<br> 10/02/11 16:40:16 INFO jvm.JvmMetrics: Cannot initialize JVM Metrics<br> with processName=3DJobTracker, sessionId=3D - already initialized<br> 10/02/11 16:40:16 INFO input.FileInputFormat: Total input paths to process = : 1<br> 10/02/11 16:40:16 INFO input.FileInputFormat: Total input paths to process = : 1<br> 10/02/11 16:40:16 INFO mapred.JobClient: Running job: job_local_0001<br> 10/02/11 16:40:16 INFO jvm.JvmMetrics: Cannot initialize JVM Metrics<br> with processName=3DJobTracker, sessionId=3D - already initialized<br> 10/02/11 16:40:16 INFO input.FileInputFormat: Total input paths to process = : 1<br> 10/02/11 16:40:16 INFO input.FileInputFormat: Total input paths to process = : 1<br> 10/02/11 16:40:16 INFO mapred.MapTask: io.sort.mb =3D 100<br> 10/02/11 16:40:16 INFO mapred.MapTask: data buffer =3D 79691776/99614720<br= > 10/02/11 16:40:16 INFO mapred.MapTask: record buffer =3D 262144/327680<br> 10/02/11 16:40:16 WARN mapred.LocalJobRunner: job_local_0001<br> java.io.IOException: Type mismatch in key from map: expected<br> org.apache.hadoop.io.LongWritable, recieved Classify$JoinKey<br> =A0 =A0 =A0 =A0at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.collect= (MapTask.java:807)<br> =A0 =A0 =A0 =A0at org.apache.hadoop.mapred.MapTask$NewOutputCollector.writ= e(MapTask.java:504)<br> =A0 =A0 =A0 =A0at org.apache.hadoop.mapreduce.TaskInputOutputContext.write= (TaskInputOutputContext.java:80)<br> =A0 =A0 =A0 =A0at Classify$TransformationActionMapper.map(Classify.java:16= 1)<br> =A0 =A0 =A0 =A0at Classify$TransformationActionMapper.map(Classify.java:1)= <br> =A0 =A0 =A0 =A0at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:144)<= br> =A0 =A0 =A0 =A0at org.apache.hadoop.mapreduce.lib.input.DelegatingMapper.r= un(DelegatingMapper.java:51)<br> =A0 =A0 =A0 =A0at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.ja= va:583)<br> =A0 =A0 =A0 =A0at org.apache.hadoop.mapred.MapTask.run(MapTask.java:305)<b= r> =A0 =A0 =A0 =A0at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJob= Runner.java:176)<br> 10/02/11 16:40:17 INFO mapred.JobClient: =A0map 0% reduce 0%<br> 10/02/11 16:40:17 INFO mapred.JobClient: Job complete: job_local_0001<br> 10/02/11 16:40:17 INFO mapred.JobClient: Counters: 0<br> </blockquote> <br> <br></div></div><font color=3D"#888888"> -- <br> Eric Sammer<br> <a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a= ><br> <a href=3D"http://esammer.blogspot.com" target=3D"_blank">http://esammer.bl= ogspot.com</a><br> </font></blockquote></div><br> --000e0cd138e29ffebe047f5778a2-- From [email protected] Fri Feb 12 10:14:02 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28380 invoked from network); 12 Feb 2010 10:14:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Feb 2010 10:14:02 -0000 Received: (qmail 5435 invoked by uid 500); 12 Feb 2010 10:14:01 -0000 Delivered-To: [email protected] Received: (qmail 5215 invoked by uid 500); 12 Feb 2010 10:14:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 5193 invoked by uid 99); 12 Feb 2010 10:14:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2010 10:14:00 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-ew0-f218.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2010 10:13:51 +0000 Received: by ewy10 with SMTP id 10so695049ewy.11 for <[email protected]>; Fri, 12 Feb 2010 02:13:31 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id p1mr506014wek.202.1265969610631; Fri, 12 Feb 2010 02:13:30 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Fri, 12 Feb 2010 11:13:30 +0100 Message-ID: <[email protected]> Subject: Re: "Type mismatch in key from map: expected org.apache.hadoop.io.LongWritable" using MultipleInputs (multiple mappers) From: =?UTF-8?Q?Martin_H=C3=A4ger?= <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org We do not get the above error when running in pseudo-distributed mode. Instead, we get "java.lang.RuntimeException: readObject can't find class". Any ideas what might be wrong? mtah@thinkpad:~$ hadoop jar /tmp/classify.jar Classify 10/02/12 11:09:48 WARN mapred.JobClient: No job jar file set. User classes may not be found. See JobConf(Class) or JobConf#setJar(String). 10/02/12 11:09:48 INFO input.FileInputFormat: Total input paths to process = : 1 10/02/12 11:09:48 INFO input.FileInputFormat: Total input paths to process = : 1 10/02/12 11:09:49 INFO mapred.JobClient: Running job: job_201002121044_0009 10/02/12 11:09:50 INFO mapred.JobClient: map 0% reduce 0% 10/02/12 11:10:01 INFO mapred.JobClient: Task Id : attempt_201002121044_0009_m_000000_0, Status : FAILED java.lang.RuntimeException: readObject can't find class at org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(Tagged= InputSplit.java:136) at org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readFields(Tagge= dInputSplit.java:121) at org.apache.hadoop.io.serializer.WritableSerialization$WritableDeseriali= zer.deserialize(WritableSerialization.java:67) at org.apache.hadoop.io.serializer.WritableSerialization$WritableDeseriali= zer.deserialize(WritableSerialization.java:40) at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:549) at org.apache.hadoop.mapred.MapTask.run(MapTask.java:305) at org.apache.hadoop.mapred.Child.main(Child.java:170) Caused by: java.lang.ClassNotFoundException: Classify$TransformationActionM= apper at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:= 761) at org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(Tagged= InputSplit.java:134) ... 6 more 10/02/12 11:10:01 INFO mapred.JobClient: Task Id : attempt_201002121044_0009_m_000001_0, Status : FAILED java.lang.RuntimeException: readObject can't find class at org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(Tagged= InputSplit.java:136) at org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readFields(Tagge= dInputSplit.java:121) at org.apache.hadoop.io.serializer.WritableSerialization$WritableDeseriali= zer.deserialize(WritableSerialization.java:67) at org.apache.hadoop.io.serializer.WritableSerialization$WritableDeseriali= zer.deserialize(WritableSerialization.java:40) at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:549) at org.apache.hadoop.mapred.MapTask.run(MapTask.java:305) at org.apache.hadoop.mapred.Child.main(Child.java:170) Caused by: java.lang.ClassNotFoundException: Classify$TransformationSessionMapper at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:= 761) at org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(Tagged= InputSplit.java:134) ... 6 more 10/02/12 11:10:07 INFO mapred.JobClient: Task Id : attempt_201002121044_0009_m_000001_1, Status : FAILED java.lang.RuntimeException: readObject can't find class at org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(Tagged= InputSplit.java:136) at org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readFields(Tagge= dInputSplit.java:121) at org.apache.hadoop.io.serializer.WritableSerialization$WritableDeseriali= zer.deserialize(WritableSerialization.java:67) at org.apache.hadoop.io.serializer.WritableSerialization$WritableDeseriali= zer.deserialize(WritableSerialization.java:40) at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:549) at org.apache.hadoop.mapred.MapTask.run(MapTask.java:305) at org.apache.hadoop.mapred.Child.main(Child.java:170) Caused by: java.lang.ClassNotFoundException: Classify$TransformationSessionMapper at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:= 761) at org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(Tagged= InputSplit.java:134) ... 6 more 10/02/12 11:10:07 INFO mapred.JobClient: Task Id : attempt_201002121044_0009_m_000000_1, Status : FAILED java.lang.RuntimeException: readObject can't find class at org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(Tagged= InputSplit.java:136) at org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readFields(Tagge= dInputSplit.java:121) at org.apache.hadoop.io.serializer.WritableSerialization$WritableDeseriali= zer.deserialize(WritableSerialization.java:67) at org.apache.hadoop.io.serializer.WritableSerialization$WritableDeseriali= zer.deserialize(WritableSerialization.java:40) at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:549) at org.apache.hadoop.mapred.MapTask.run(MapTask.java:305) at org.apache.hadoop.mapred.Child.main(Child.java:170) Caused by: java.lang.ClassNotFoundException: Classify$TransformationActionM= apper at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:= 761) at org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(Tagged= InputSplit.java:134) ... 6 more 10/02/12 11:10:13 INFO mapred.JobClient: Task Id : attempt_201002121044_0009_m_000000_2, Status : FAILED java.lang.RuntimeException: readObject can't find class at org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(Tagged= InputSplit.java:136) at org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readFields(Tagge= dInputSplit.java:121) at org.apache.hadoop.io.serializer.WritableSerialization$WritableDeseriali= zer.deserialize(WritableSerialization.java:67) at org.apache.hadoop.io.serializer.WritableSerialization$WritableDeseriali= zer.deserialize(WritableSerialization.java:40) at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:549) at org.apache.hadoop.mapred.MapTask.run(MapTask.java:305) at org.apache.hadoop.mapred.Child.main(Child.java:170) Caused by: java.lang.ClassNotFoundException: Classify$TransformationActionM= apper at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:= 761) at org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(Tagged= InputSplit.java:134) ... 6 more 10/02/12 11:10:13 INFO mapred.JobClient: Task Id : attempt_201002121044_0009_m_000001_2, Status : FAILED java.lang.RuntimeException: readObject can't find class at org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(Tagged= InputSplit.java:136) at org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readFields(Tagge= dInputSplit.java:121) at org.apache.hadoop.io.serializer.WritableSerialization$WritableDeseriali= zer.deserialize(WritableSerialization.java:67) at org.apache.hadoop.io.serializer.WritableSerialization$WritableDeseriali= zer.deserialize(WritableSerialization.java:40) at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:549) at org.apache.hadoop.mapred.MapTask.run(MapTask.java:305) at org.apache.hadoop.mapred.Child.main(Child.java:170) Caused by: java.lang.ClassNotFoundException: Classify$TransformationSessionMapper at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:= 761) at org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(Tagged= InputSplit.java:134) ... 6 more 10/02/12 11:10:22 INFO mapred.JobClient: Job complete: job_201002121044_000= 9 10/02/12 11:10:22 INFO mapred.JobClient: Counters: 3 10/02/12 11:10:22 INFO mapred.JobClient: Job Counters 10/02/12 11:10:22 INFO mapred.JobClient: Launched map tasks=3D8 10/02/12 11:10:22 INFO mapred.JobClient: Data-local map tasks=3D8 10/02/12 11:10:22 INFO mapred.JobClient: Failed map tasks=3D1 2010/2/11 Alex Kozlov <[email protected]>: > Try=C2=A0job.setMapOutputKeyClass(JoinKey.class). -- Alex K > > On Thu, Feb 11, 2010 at 8:25 AM, E. Sammer <[email protected]> wrote: >> >> It looks like you're using the local job runner which does everything in= a >> single thread. In this case, yes, I think the mappers are run sequential= ly. >> The local job runner is a different code path in Hadoop and is a known >> issue. Have you tried your code in pseudo-distributed mode? >> >> HTH. >> >> On 2/11/10 11:14 AM, Martin H=C3=A4ger wrote: >>> >>> Hello, >>> >>> We're trying to do a reduce-side join by applying two different >>> mappers (TransformationSessionMapper and TransformationActionMapper) >>> to two different input files and joining them using >>> TransformationReducer. See attached Classify.java for complete source. >>> >>> When running it, we get the following error. JoinKey is our own >>> implementation that is used for performing secondary sort. Somehow >>> TransformationActionMapper gets passed a JoinKey when it expects a >>> LongWritable (TextInputFormat). Is Hadoop actually applying the >>> mappers in sequence? >>> >>> $ hadoop jar /tmp/classify.jar Classify >>> 10/02/11 16:40:16 INFO jvm.JvmMetrics: Initializing JVM Metrics with >>> processName=3DJobTracker, sessionId=3D >>> 10/02/11 16:40:16 WARN mapred.JobClient: No job jar file set. =C2=A0Use= r >>> classes may not be found. See JobConf(Class) or >>> JobConf#setJar(String). >>> 10/02/11 16:40:16 INFO jvm.JvmMetrics: Cannot initialize JVM Metrics >>> with processName=3DJobTracker, sessionId=3D - already initialized >>> 10/02/11 16:40:16 INFO input.FileInputFormat: Total input paths to >>> process : 1 >>> 10/02/11 16:40:16 INFO input.FileInputFormat: Total input paths to >>> process : 1 >>> 10/02/11 16:40:16 INFO mapred.JobClient: Running job: job_local_0001 >>> 10/02/11 16:40:16 INFO jvm.JvmMetrics: Cannot initialize JVM Metrics >>> with processName=3DJobTracker, sessionId=3D - already initialized >>> 10/02/11 16:40:16 INFO input.FileInputFormat: Total input paths to >>> process : 1 >>> 10/02/11 16:40:16 INFO input.FileInputFormat: Total input paths to >>> process : 1 >>> 10/02/11 16:40:16 INFO mapred.MapTask: io.sort.mb =3D 100 >>> 10/02/11 16:40:16 INFO mapred.MapTask: data buffer =3D 79691776/9961472= 0 >>> 10/02/11 16:40:16 INFO mapred.MapTask: record buffer =3D 262144/327680 >>> 10/02/11 16:40:16 WARN mapred.LocalJobRunner: job_local_0001 >>> java.io.IOException: Type mismatch in key from map: expected >>> org.apache.hadoop.io.LongWritable, recieved Classify$JoinKey >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >>> org.apache.hadoop.mapred.MapTask$MapOutputBuffer.collect(MapTask.java:8= 07) >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >>> org.apache.hadoop.mapred.MapTask$NewOutputCollector.write(MapTask.java:= 504) >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >>> org.apache.hadoop.mapreduce.TaskInputOutputContext.write(TaskInputOutpu= tContext.java:80) >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0at Classify$TransformationActionMapper.map(C= lassify.java:161) >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0at Classify$TransformationActionMapper.map(C= lassify.java:1) >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.hadoop.mapreduce.Mapper.run(Ma= pper.java:144) >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >>> org.apache.hadoop.mapreduce.lib.input.DelegatingMapper.run(DelegatingMa= pper.java:51) >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.hadoop.mapred.MapTask.runNewMa= pper(MapTask.java:583) >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.hadoop.mapred.MapTask.run(MapT= ask.java:305) >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >>> org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:176= ) >>> 10/02/11 16:40:17 INFO mapred.JobClient: =C2=A0map 0% reduce 0% >>> 10/02/11 16:40:17 INFO mapred.JobClient: Job complete: job_local_0001 >>> 10/02/11 16:40:17 INFO mapred.JobClient: Counters: 0 >> >> >> -- >> Eric Sammer >> [email protected] >> http://esammer.blogspot.com > > From [email protected] Fri Feb 12 16:05:43 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97716 invoked from network); 12 Feb 2010 16:05:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Feb 2010 16:05:43 -0000 Received: (qmail 93758 invoked by uid 500); 12 Feb 2010 16:05:43 -0000 Delivered-To: [email protected] Received: (qmail 93682 invoked by uid 500); 12 Feb 2010 16:05:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 93673 invoked by uid 99); 12 Feb 2010 16:05:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2010 16:05:42 +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: local policy) Received: from [161.129.204.104] (HELO mail-pz0-f195.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2010 16:05:33 +0000 Received: by pzk33 with SMTP id 33so3428991pzk.2 for <[email protected]>; Fri, 12 Feb 2010 08:05:10 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id j8mr1039173rvm.199.1265990710576; Fri, 12 Feb 2010 08:05:10 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Fri, 12 Feb 2010 08:05:10 -0800 Message-ID: <[email protected]> Subject: Re: "Type mismatch in key from map: expected org.apache.hadoop.io.LongWritable" using MultipleInputs (multiple mappers) From: Alex Kozlov <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=000e0cd138e297c70e047f696e37 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd138e297c70e047f696e37 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable This is a separate issue, did you provide your library jar with the `-libjars` flag? On Fri, Feb 12, 2010 at 2:13 AM, Martin H=E4ger <[email protected]>wr= ote: > We do not get the above error when running in pseudo-distributed mode. > Instead, we get "java.lang.RuntimeException: readObject can't find > class". Any ideas what might be wrong? > > mtah@thinkpad:~$ hadoop jar /tmp/classify.jar Classify > 10/02/12 11:09:48 WARN mapred.JobClient: No job jar file set. User > classes may not be found. See JobConf(Class) or > JobConf#setJar(String). > 10/02/12 11:09:48 INFO input.FileInputFormat: Total input paths to proces= s > : 1 > 10/02/12 11:09:48 INFO input.FileInputFormat: Total input paths to proces= s > : 1 > 10/02/12 11:09:49 INFO mapred.JobClient: Running job: job_201002121044_00= 09 > 10/02/12 11:09:50 INFO mapred.JobClient: map 0% reduce 0% > 10/02/12 11:10:01 INFO mapred.JobClient: Task Id : > attempt_201002121044_0009_m_000000_0, Status : FAILED > java.lang.RuntimeException: readObject can't find class > at > org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(TaggedIn= putSplit.java:136) > at > org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readFields(TaggedI= nputSplit.java:121) > at > org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserialize= r.deserialize(WritableSerialization.java:67) > at > org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserialize= r.deserialize(WritableSerialization.java:40) > at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:549) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:305) > at org.apache.hadoop.mapred.Child.main(Child.java:170) > Caused by: java.lang.ClassNotFoundException: > Classify$TransformationActionMapper > at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > at java.lang.ClassLoader.loadClass(ClassLoader.java:307) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:252) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:247) > at > org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:76= 1) > at > org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(TaggedIn= putSplit.java:134) > ... 6 more > > 10/02/12 11:10:01 INFO mapred.JobClient: Task Id : > attempt_201002121044_0009_m_000001_0, Status : FAILED > java.lang.RuntimeException: readObject can't find class > at > org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(TaggedIn= putSplit.java:136) > at > org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readFields(TaggedI= nputSplit.java:121) > at > org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserialize= r.deserialize(WritableSerialization.java:67) > at > org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserialize= r.deserialize(WritableSerialization.java:40) > at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:549) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:305) > at org.apache.hadoop.mapred.Child.main(Child.java:170) > Caused by: java.lang.ClassNotFoundException: > Classify$TransformationSessionMapper > at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > at java.lang.ClassLoader.loadClass(ClassLoader.java:307) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:252) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:247) > at > org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:76= 1) > at > org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(TaggedIn= putSplit.java:134) > ... 6 more > > 10/02/12 11:10:07 INFO mapred.JobClient: Task Id : > attempt_201002121044_0009_m_000001_1, Status : FAILED > java.lang.RuntimeException: readObject can't find class > at > org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(TaggedIn= putSplit.java:136) > at > org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readFields(TaggedI= nputSplit.java:121) > at > org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserialize= r.deserialize(WritableSerialization.java:67) > at > org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserialize= r.deserialize(WritableSerialization.java:40) > at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:549) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:305) > at org.apache.hadoop.mapred.Child.main(Child.java:170) > Caused by: java.lang.ClassNotFoundException: > Classify$TransformationSessionMapper > at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > at java.lang.ClassLoader.loadClass(ClassLoader.java:307) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:252) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:247) > at > org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:76= 1) > at > org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(TaggedIn= putSplit.java:134) > ... 6 more > > 10/02/12 11:10:07 INFO mapred.JobClient: Task Id : > attempt_201002121044_0009_m_000000_1, Status : FAILED > java.lang.RuntimeException: readObject can't find class > at > org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(TaggedIn= putSplit.java:136) > at > org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readFields(TaggedI= nputSplit.java:121) > at > org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserialize= r.deserialize(WritableSerialization.java:67) > at > org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserialize= r.deserialize(WritableSerialization.java:40) > at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:549) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:305) > at org.apache.hadoop.mapred.Child.main(Child.java:170) > Caused by: java.lang.ClassNotFoundException: > Classify$TransformationActionMapper > at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > at java.lang.ClassLoader.loadClass(ClassLoader.java:307) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:252) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:247) > at > org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:76= 1) > at > org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(TaggedIn= putSplit.java:134) > ... 6 more > > 10/02/12 11:10:13 INFO mapred.JobClient: Task Id : > attempt_201002121044_0009_m_000000_2, Status : FAILED > java.lang.RuntimeException: readObject can't find class > at > org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(TaggedIn= putSplit.java:136) > at > org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readFields(TaggedI= nputSplit.java:121) > at > org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserialize= r.deserialize(WritableSerialization.java:67) > at > org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserialize= r.deserialize(WritableSerialization.java:40) > at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:549) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:305) > at org.apache.hadoop.mapred.Child.main(Child.java:170) > Caused by: java.lang.ClassNotFoundException: > Classify$TransformationActionMapper > at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > at java.lang.ClassLoader.loadClass(ClassLoader.java:307) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:252) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:247) > at > org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:76= 1) > at > org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(TaggedIn= putSplit.java:134) > ... 6 more > > 10/02/12 11:10:13 INFO mapred.JobClient: Task Id : > attempt_201002121044_0009_m_000001_2, Status : FAILED > java.lang.RuntimeException: readObject can't find class > at > org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(TaggedIn= putSplit.java:136) > at > org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readFields(TaggedI= nputSplit.java:121) > at > org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserialize= r.deserialize(WritableSerialization.java:67) > at > org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserialize= r.deserialize(WritableSerialization.java:40) > at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:549) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:305) > at org.apache.hadoop.mapred.Child.main(Child.java:170) > Caused by: java.lang.ClassNotFoundException: > Classify$TransformationSessionMapper > at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > at java.lang.ClassLoader.loadClass(ClassLoader.java:307) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:252) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:247) > at > org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:76= 1) > at > org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(TaggedIn= putSplit.java:134) > ... 6 more > > 10/02/12 11:10:22 INFO mapred.JobClient: Job complete: > job_201002121044_0009 > 10/02/12 11:10:22 INFO mapred.JobClient: Counters: 3 > 10/02/12 11:10:22 INFO mapred.JobClient: Job Counters > 10/02/12 11:10:22 INFO mapred.JobClient: Launched map tasks=3D8 > 10/02/12 11:10:22 INFO mapred.JobClient: Data-local map tasks=3D8 > 10/02/12 11:10:22 INFO mapred.JobClient: Failed map tasks=3D1 > > > 2010/2/11 Alex Kozlov <[email protected]>: > > Try job.setMapOutputKeyClass(JoinKey.class). -- Alex K > > > > On Thu, Feb 11, 2010 at 8:25 AM, E. Sammer <[email protected]> wrote: > >> > >> It looks like you're using the local job runner which does everything = in > a > >> single thread. In this case, yes, I think the mappers are run > sequentially. > >> The local job runner is a different code path in Hadoop and is a known > >> issue. Have you tried your code in pseudo-distributed mode? > >> > >> HTH. > >> > >> On 2/11/10 11:14 AM, Martin H=E4ger wrote: > >>> > >>> Hello, > >>> > >>> We're trying to do a reduce-side join by applying two different > >>> mappers (TransformationSessionMapper and TransformationActionMapper) > >>> to two different input files and joining them using > >>> TransformationReducer. See attached Classify.java for complete source= . > >>> > >>> When running it, we get the following error. JoinKey is our own > >>> implementation that is used for performing secondary sort. Somehow > >>> TransformationActionMapper gets passed a JoinKey when it expects a > >>> LongWritable (TextInputFormat). Is Hadoop actually applying the > >>> mappers in sequence? > >>> > >>> $ hadoop jar /tmp/classify.jar Classify > >>> 10/02/11 16:40:16 INFO jvm.JvmMetrics: Initializing JVM Metrics with > >>> processName=3DJobTracker, sessionId=3D > >>> 10/02/11 16:40:16 WARN mapred.JobClient: No job jar file set. User > >>> classes may not be found. See JobConf(Class) or > >>> JobConf#setJar(String). > >>> 10/02/11 16:40:16 INFO jvm.JvmMetrics: Cannot initialize JVM Metrics > >>> with processName=3DJobTracker, sessionId=3D - already initialized > >>> 10/02/11 16:40:16 INFO input.FileInputFormat: Total input paths to > >>> process : 1 > >>> 10/02/11 16:40:16 INFO input.FileInputFormat: Total input paths to > >>> process : 1 > >>> 10/02/11 16:40:16 INFO mapred.JobClient: Running job: job_local_0001 > >>> 10/02/11 16:40:16 INFO jvm.JvmMetrics: Cannot initialize JVM Metrics > >>> with processName=3DJobTracker, sessionId=3D - already initialized > >>> 10/02/11 16:40:16 INFO input.FileInputFormat: Total input paths to > >>> process : 1 > >>> 10/02/11 16:40:16 INFO input.FileInputFormat: Total input paths to > >>> process : 1 > >>> 10/02/11 16:40:16 INFO mapred.MapTask: io.sort.mb =3D 100 > >>> 10/02/11 16:40:16 INFO mapred.MapTask: data buffer =3D 79691776/99614= 720 > >>> 10/02/11 16:40:16 INFO mapred.MapTask: record buffer =3D 262144/32768= 0 > >>> 10/02/11 16:40:16 WARN mapred.LocalJobRunner: job_local_0001 > >>> java.io.IOException: Type mismatch in key from map: expected > >>> org.apache.hadoop.io.LongWritable, recieved Classify$JoinKey > >>> at > >>> > org.apache.hadoop.mapred.MapTask$MapOutputBuffer.collect(MapTask.java:807= ) > >>> at > >>> > org.apache.hadoop.mapred.MapTask$NewOutputCollector.write(MapTask.java:50= 4) > >>> at > >>> > org.apache.hadoop.mapreduce.TaskInputOutputContext.write(TaskInputOutputC= ontext.java:80) > >>> at Classify$TransformationActionMapper.map(Classify.java:161) > >>> at Classify$TransformationActionMapper.map(Classify.java:1) > >>> at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:144) > >>> at > >>> > org.apache.hadoop.mapreduce.lib.input.DelegatingMapper.run(DelegatingMapp= er.java:51) > >>> at > org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:583) > >>> at org.apache.hadoop.mapred.MapTask.run(MapTask.java:305) > >>> at > >>> > org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:176) > >>> 10/02/11 16:40:17 INFO mapred.JobClient: map 0% reduce 0% > >>> 10/02/11 16:40:17 INFO mapred.JobClient: Job complete: job_local_0001 > >>> 10/02/11 16:40:17 INFO mapred.JobClient: Counters: 0 > >> > >> > >> -- > >> Eric Sammer > >> [email protected] > >> http://esammer.blogspot.com > > > > > --000e0cd138e297c70e047f696e37 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable This is a separate issue, did you provide your library jar with the `-libja= rs` flag?<br><br> <div class=3D"gmail_quote">On Fri, Feb 12, 2010 at 2:13 AM, Martin H=E4ger = <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]">martin.hag= [email protected]</a>&gt;</span> wrote:<br> <blockquote style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex= ; PADDING-LEFT: 1ex" class=3D"gmail_quote">We do not get the above error wh= en running in pseudo-distributed mode.<br>Instead, we get &quot;java.lang.R= untimeException: readObject can&#39;t find<br> class&quot;. Any ideas what might be wrong?<br><br>mtah@thinkpad:~$ hadoop = jar /tmp/classify.jar Classify<br>10/02/12 11:09:48 WARN mapred.JobClient: = No job jar file set. =A0User<br> <div class=3D"im">classes may not be found. See JobConf(Class) or<br>JobCon= f#setJar(String).<br></div>10/02/12 11:09:48 INFO input.FileInputFormat: To= tal input paths to process : 1<br>10/02/12 11:09:48 INFO input.FileInputFor= mat: Total input paths to process : 1<br> 10/02/12 11:09:49 INFO mapred.JobClient: Running job: job_201002121044_0009= <br>10/02/12 11:09:50 INFO mapred.JobClient: =A0map 0% reduce 0%<br>10/02/1= 2 11:10:01 INFO mapred.JobClient: Task Id :<br>attempt_201002121044_0009_m_= 000000_0, Status : FAILED<br> java.lang.RuntimeException: readObject can&#39;t find class<br>=A0 =A0 =A0 = =A0at org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(Tagg= edInputSplit.java:136)<br>=A0 =A0 =A0 =A0at org.apache.hadoop.mapreduce.lib= .input.TaggedInputSplit.readFields(TaggedInputSplit.java:121)<br> =A0 =A0 =A0 =A0at org.apache.hadoop.io.serializer.WritableSerialization$Wri= tableDeserializer.deserialize(WritableSerialization.java:67)<br>=A0 =A0 =A0= =A0at org.apache.hadoop.io.serializer.WritableSerialization$WritableDeseri= alizer.deserialize(WritableSerialization.java:40)<br> =A0 =A0 =A0 =A0at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.jav= a:549)<br> <div class=3D"im">=A0 =A0 =A0 =A0at org.apache.hadoop.mapred.MapTask.run(Ma= pTask.java:305)<br></div>=A0 =A0 =A0 =A0at org.apache.hadoop.mapred.Child.m= ain(Child.java:170)<br>Caused by: java.lang.ClassNotFoundException: Classif= y$TransformationActionMapper<br> =A0 =A0 =A0 =A0at java.net.URLClassLoader$1.run(URLClassLoader.java:200)<br= >=A0 =A0 =A0 =A0at java.security.AccessController.doPrivileged(Native Metho= d)<br>=A0 =A0 =A0 =A0at java.net.URLClassLoader.findClass(URLClassLoader.ja= va:188)<br>=A0 =A0 =A0 =A0at java.lang.ClassLoader.loadClass(ClassLoader.ja= va:307)<br> =A0 =A0 =A0 =A0at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:= 301)<br>=A0 =A0 =A0 =A0at java.lang.ClassLoader.loadClass(ClassLoader.java:= 252)<br>=A0 =A0 =A0 =A0at java.lang.ClassLoader.loadClassInternal(ClassLoad= er.java:320)<br>=A0 =A0 =A0 =A0at java.lang.Class.forName0(Native Method)<b= r> =A0 =A0 =A0 =A0at java.lang.Class.forName(Class.java:247)<br>=A0 =A0 =A0 = =A0at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.jav= a:761)<br>=A0 =A0 =A0 =A0at org.apache.hadoop.mapreduce.lib.input.TaggedInp= utSplit.readClass(TaggedInputSplit.java:134)<br> =A0 =A0 =A0 =A0... 6 more<br><br>10/02/12 11:10:01 INFO mapred.JobClient: T= ask Id :<br>attempt_201002121044_0009_m_000001_0, Status : FAILED<br>java.l= ang.RuntimeException: readObject can&#39;t find class<br>=A0 =A0 =A0 =A0at = org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(TaggedInpu= tSplit.java:136)<br> =A0 =A0 =A0 =A0at org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.re= adFields(TaggedInputSplit.java:121)<br>=A0 =A0 =A0 =A0at org.apache.hadoop.= io.serializer.WritableSerialization$WritableDeserializer.deserialize(Writab= leSerialization.java:67)<br> =A0 =A0 =A0 =A0at org.apache.hadoop.io.serializer.WritableSerialization$Wri= tableDeserializer.deserialize(WritableSerialization.java:40)<br>=A0 =A0 =A0= =A0at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:549)<br> <div class=3D"im">=A0 =A0 =A0 =A0at org.apache.hadoop.mapred.MapTask.run(Ma= pTask.java:305)<br></div>=A0 =A0 =A0 =A0at org.apache.hadoop.mapred.Child.m= ain(Child.java:170)<br>Caused by: java.lang.ClassNotFoundException:<br>Clas= sify$TransformationSessionMapper<br> =A0 =A0 =A0 =A0at java.net.URLClassLoader$1.run(URLClassLoader.java:200)<br= >=A0 =A0 =A0 =A0at java.security.AccessController.doPrivileged(Native Metho= d)<br>=A0 =A0 =A0 =A0at java.net.URLClassLoader.findClass(URLClassLoader.ja= va:188)<br>=A0 =A0 =A0 =A0at java.lang.ClassLoader.loadClass(ClassLoader.ja= va:307)<br> =A0 =A0 =A0 =A0at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:= 301)<br>=A0 =A0 =A0 =A0at java.lang.ClassLoader.loadClass(ClassLoader.java:= 252)<br>=A0 =A0 =A0 =A0at java.lang.ClassLoader.loadClassInternal(ClassLoad= er.java:320)<br>=A0 =A0 =A0 =A0at java.lang.Class.forName0(Native Method)<b= r> =A0 =A0 =A0 =A0at java.lang.Class.forName(Class.java:247)<br>=A0 =A0 =A0 = =A0at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.jav= a:761)<br>=A0 =A0 =A0 =A0at org.apache.hadoop.mapreduce.lib.input.TaggedInp= utSplit.readClass(TaggedInputSplit.java:134)<br> =A0 =A0 =A0 =A0... 6 more<br><br>10/02/12 11:10:07 INFO mapred.JobClient: T= ask Id :<br>attempt_201002121044_0009_m_000001_1, Status : FAILED<br>java.l= ang.RuntimeException: readObject can&#39;t find class<br>=A0 =A0 =A0 =A0at = org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(TaggedInpu= tSplit.java:136)<br> =A0 =A0 =A0 =A0at org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.re= adFields(TaggedInputSplit.java:121)<br>=A0 =A0 =A0 =A0at org.apache.hadoop.= io.serializer.WritableSerialization$WritableDeserializer.deserialize(Writab= leSerialization.java:67)<br> =A0 =A0 =A0 =A0at org.apache.hadoop.io.serializer.WritableSerialization$Wri= tableDeserializer.deserialize(WritableSerialization.java:40)<br>=A0 =A0 =A0= =A0at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:549)<br> <div class=3D"im">=A0 =A0 =A0 =A0at org.apache.hadoop.mapred.MapTask.run(Ma= pTask.java:305)<br></div>=A0 =A0 =A0 =A0at org.apache.hadoop.mapred.Child.m= ain(Child.java:170)<br>Caused by: java.lang.ClassNotFoundException:<br>Clas= sify$TransformationSessionMapper<br> =A0 =A0 =A0 =A0at java.net.URLClassLoader$1.run(URLClassLoader.java:200)<br= >=A0 =A0 =A0 =A0at java.security.AccessController.doPrivileged(Native Metho= d)<br>=A0 =A0 =A0 =A0at java.net.URLClassLoader.findClass(URLClassLoader.ja= va:188)<br>=A0 =A0 =A0 =A0at java.lang.ClassLoader.loadClass(ClassLoader.ja= va:307)<br> =A0 =A0 =A0 =A0at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:= 301)<br>=A0 =A0 =A0 =A0at java.lang.ClassLoader.loadClass(ClassLoader.java:= 252)<br>=A0 =A0 =A0 =A0at java.lang.ClassLoader.loadClassInternal(ClassLoad= er.java:320)<br>=A0 =A0 =A0 =A0at java.lang.Class.forName0(Native Method)<b= r> =A0 =A0 =A0 =A0at java.lang.Class.forName(Class.java:247)<br>=A0 =A0 =A0 = =A0at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.jav= a:761)<br>=A0 =A0 =A0 =A0at org.apache.hadoop.mapreduce.lib.input.TaggedInp= utSplit.readClass(TaggedInputSplit.java:134)<br> =A0 =A0 =A0 =A0... 6 more<br><br>10/02/12 11:10:07 INFO mapred.JobClient: T= ask Id :<br>attempt_201002121044_0009_m_000000_1, Status : FAILED<br>java.l= ang.RuntimeException: readObject can&#39;t find class<br>=A0 =A0 =A0 =A0at = org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(TaggedInpu= tSplit.java:136)<br> =A0 =A0 =A0 =A0at org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.re= adFields(TaggedInputSplit.java:121)<br>=A0 =A0 =A0 =A0at org.apache.hadoop.= io.serializer.WritableSerialization$WritableDeserializer.deserialize(Writab= leSerialization.java:67)<br> =A0 =A0 =A0 =A0at org.apache.hadoop.io.serializer.WritableSerialization$Wri= tableDeserializer.deserialize(WritableSerialization.java:40)<br>=A0 =A0 =A0= =A0at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:549)<br> <div class=3D"im">=A0 =A0 =A0 =A0at org.apache.hadoop.mapred.MapTask.run(Ma= pTask.java:305)<br></div>=A0 =A0 =A0 =A0at org.apache.hadoop.mapred.Child.m= ain(Child.java:170)<br>Caused by: java.lang.ClassNotFoundException: Classif= y$TransformationActionMapper<br> =A0 =A0 =A0 =A0at java.net.URLClassLoader$1.run(URLClassLoader.java:200)<br= >=A0 =A0 =A0 =A0at java.security.AccessController.doPrivileged(Native Metho= d)<br>=A0 =A0 =A0 =A0at java.net.URLClassLoader.findClass(URLClassLoader.ja= va:188)<br>=A0 =A0 =A0 =A0at java.lang.ClassLoader.loadClass(ClassLoader.ja= va:307)<br> =A0 =A0 =A0 =A0at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:= 301)<br>=A0 =A0 =A0 =A0at java.lang.ClassLoader.loadClass(ClassLoader.java:= 252)<br>=A0 =A0 =A0 =A0at java.lang.ClassLoader.loadClassInternal(ClassLoad= er.java:320)<br>=A0 =A0 =A0 =A0at java.lang.Class.forName0(Native Method)<b= r> =A0 =A0 =A0 =A0at java.lang.Class.forName(Class.java:247)<br>=A0 =A0 =A0 = =A0at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.jav= a:761)<br>=A0 =A0 =A0 =A0at org.apache.hadoop.mapreduce.lib.input.TaggedInp= utSplit.readClass(TaggedInputSplit.java:134)<br> =A0 =A0 =A0 =A0... 6 more<br><br>10/02/12 11:10:13 INFO mapred.JobClient: T= ask Id :<br>attempt_201002121044_0009_m_000000_2, Status : FAILED<br>java.l= ang.RuntimeException: readObject can&#39;t find class<br>=A0 =A0 =A0 =A0at = org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(TaggedInpu= tSplit.java:136)<br> =A0 =A0 =A0 =A0at org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.re= adFields(TaggedInputSplit.java:121)<br>=A0 =A0 =A0 =A0at org.apache.hadoop.= io.serializer.WritableSerialization$WritableDeserializer.deserialize(Writab= leSerialization.java:67)<br> =A0 =A0 =A0 =A0at org.apache.hadoop.io.serializer.WritableSerialization$Wri= tableDeserializer.deserialize(WritableSerialization.java:40)<br>=A0 =A0 =A0= =A0at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:549)<br> <div class=3D"im">=A0 =A0 =A0 =A0at org.apache.hadoop.mapred.MapTask.run(Ma= pTask.java:305)<br></div>=A0 =A0 =A0 =A0at org.apache.hadoop.mapred.Child.m= ain(Child.java:170)<br>Caused by: java.lang.ClassNotFoundException: Classif= y$TransformationActionMapper<br> =A0 =A0 =A0 =A0at java.net.URLClassLoader$1.run(URLClassLoader.java:200)<br= >=A0 =A0 =A0 =A0at java.security.AccessController.doPrivileged(Native Metho= d)<br>=A0 =A0 =A0 =A0at java.net.URLClassLoader.findClass(URLClassLoader.ja= va:188)<br>=A0 =A0 =A0 =A0at java.lang.ClassLoader.loadClass(ClassLoader.ja= va:307)<br> =A0 =A0 =A0 =A0at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:= 301)<br>=A0 =A0 =A0 =A0at java.lang.ClassLoader.loadClass(ClassLoader.java:= 252)<br>=A0 =A0 =A0 =A0at java.lang.ClassLoader.loadClassInternal(ClassLoad= er.java:320)<br>=A0 =A0 =A0 =A0at java.lang.Class.forName0(Native Method)<b= r> =A0 =A0 =A0 =A0at java.lang.Class.forName(Class.java:247)<br>=A0 =A0 =A0 = =A0at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.jav= a:761)<br>=A0 =A0 =A0 =A0at org.apache.hadoop.mapreduce.lib.input.TaggedInp= utSplit.readClass(TaggedInputSplit.java:134)<br> =A0 =A0 =A0 =A0... 6 more<br><br>10/02/12 11:10:13 INFO mapred.JobClient: T= ask Id :<br>attempt_201002121044_0009_m_000001_2, Status : FAILED<br>java.l= ang.RuntimeException: readObject can&#39;t find class<br>=A0 =A0 =A0 =A0at = org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(TaggedInpu= tSplit.java:136)<br> =A0 =A0 =A0 =A0at org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.re= adFields(TaggedInputSplit.java:121)<br>=A0 =A0 =A0 =A0at org.apache.hadoop.= io.serializer.WritableSerialization$WritableDeserializer.deserialize(Writab= leSerialization.java:67)<br> =A0 =A0 =A0 =A0at org.apache.hadoop.io.serializer.WritableSerialization$Wri= tableDeserializer.deserialize(WritableSerialization.java:40)<br>=A0 =A0 =A0= =A0at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:549)<br> <div class=3D"im">=A0 =A0 =A0 =A0at org.apache.hadoop.mapred.MapTask.run(Ma= pTask.java:305)<br></div>=A0 =A0 =A0 =A0at org.apache.hadoop.mapred.Child.m= ain(Child.java:170)<br>Caused by: java.lang.ClassNotFoundException:<br>Clas= sify$TransformationSessionMapper<br> =A0 =A0 =A0 =A0at java.net.URLClassLoader$1.run(URLClassLoader.java:200)<br= >=A0 =A0 =A0 =A0at java.security.AccessController.doPrivileged(Native Metho= d)<br>=A0 =A0 =A0 =A0at java.net.URLClassLoader.findClass(URLClassLoader.ja= va:188)<br>=A0 =A0 =A0 =A0at java.lang.ClassLoader.loadClass(ClassLoader.ja= va:307)<br> =A0 =A0 =A0 =A0at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:= 301)<br>=A0 =A0 =A0 =A0at java.lang.ClassLoader.loadClass(ClassLoader.java:= 252)<br>=A0 =A0 =A0 =A0at java.lang.ClassLoader.loadClassInternal(ClassLoad= er.java:320)<br>=A0 =A0 =A0 =A0at java.lang.Class.forName0(Native Method)<b= r> =A0 =A0 =A0 =A0at java.lang.Class.forName(Class.java:247)<br>=A0 =A0 =A0 = =A0at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.jav= a:761)<br>=A0 =A0 =A0 =A0at org.apache.hadoop.mapreduce.lib.input.TaggedInp= utSplit.readClass(TaggedInputSplit.java:134)<br> =A0 =A0 =A0 =A0... 6 more<br><br>10/02/12 11:10:22 INFO mapred.JobClient: J= ob complete: job_201002121044_0009<br>10/02/12 11:10:22 INFO mapred.JobClie= nt: Counters: 3<br>10/02/12 11:10:22 INFO mapred.JobClient: =A0 Job Counter= s<br>10/02/12 11:10:22 INFO mapred.JobClient: =A0 =A0 Launched map tasks=3D= 8<br> 10/02/12 11:10:22 INFO mapred.JobClient: =A0 =A0 Data-local map tasks=3D8<b= r>10/02/12 11:10:22 INFO mapred.JobClient: =A0 =A0 Failed map tasks=3D1<br>= <br><br>2010/2/11 Alex Kozlov &lt;<a href=3D"mailto:[email protected]">al= [email protected]</a>&gt;:<br> <div> <div></div> <div class=3D"h5">&gt; Try=A0job.setMapOutputKeyClass(JoinKey.class). -- Al= ex K<br>&gt;<br>&gt; On Thu, Feb 11, 2010 at 8:25 AM, E. Sammer &lt;<a href= =3D"mailto:[email protected]">[email protected]</a>&gt; wrote:<br>&gt;&gt;<= br> &gt;&gt; It looks like you&#39;re using the local job runner which does eve= rything in a<br>&gt;&gt; single thread. In this case, yes, I think the mapp= ers are run sequentially.<br>&gt;&gt; The local job runner is a different c= ode path in Hadoop and is a known<br> &gt;&gt; issue. Have you tried your code in pseudo-distributed mode?<br>&gt= ;&gt;<br>&gt;&gt; HTH.<br>&gt;&gt;<br>&gt;&gt; On 2/11/10 11:14 AM, Martin = H=E4ger wrote:<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Hello,<br>&gt;&gt;&gt;<br> &gt;&gt;&gt; We&#39;re trying to do a reduce-side join by applying two diff= erent<br>&gt;&gt;&gt; mappers (TransformationSessionMapper and Transformati= onActionMapper)<br>&gt;&gt;&gt; to two different input files and joining th= em using<br> &gt;&gt;&gt; TransformationReducer. See attached Classify.java for complete= source.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; When running it, we get the follow= ing error. JoinKey is our own<br>&gt;&gt;&gt; implementation that is used f= or performing secondary sort. Somehow<br> &gt;&gt;&gt; TransformationActionMapper gets passed a JoinKey when it expec= ts a<br>&gt;&gt;&gt; LongWritable (TextInputFormat). Is Hadoop actually app= lying the<br>&gt;&gt;&gt; mappers in sequence?<br>&gt;&gt;&gt;<br>&gt;&gt;&= gt; $ hadoop jar /tmp/classify.jar Classify<br> &gt;&gt;&gt; 10/02/11 16:40:16 INFO jvm.JvmMetrics: Initializing JVM Metric= s with<br>&gt;&gt;&gt; processName=3DJobTracker, sessionId=3D<br>&gt;&gt;&g= t; 10/02/11 16:40:16 WARN mapred.JobClient: No job jar file set. =A0User<br= >&gt;&gt;&gt; classes may not be found. See JobConf(Class) or<br> &gt;&gt;&gt; JobConf#setJar(String).<br>&gt;&gt;&gt; 10/02/11 16:40:16 INFO= jvm.JvmMetrics: Cannot initialize JVM Metrics<br>&gt;&gt;&gt; with process= Name=3DJobTracker, sessionId=3D - already initialized<br>&gt;&gt;&gt; 10/02= /11 16:40:16 INFO input.FileInputFormat: Total input paths to<br> &gt;&gt;&gt; process : 1<br>&gt;&gt;&gt; 10/02/11 16:40:16 INFO input.FileI= nputFormat: Total input paths to<br>&gt;&gt;&gt; process : 1<br>&gt;&gt;&gt= ; 10/02/11 16:40:16 INFO mapred.JobClient: Running job: job_local_0001<br> &gt;&gt;&gt; 10/02/11 16:40:16 INFO jvm.JvmMetrics: Cannot initialize JVM M= etrics<br>&gt;&gt;&gt; with processName=3DJobTracker, sessionId=3D - alread= y initialized<br>&gt;&gt;&gt; 10/02/11 16:40:16 INFO input.FileInputFormat:= Total input paths to<br> &gt;&gt;&gt; process : 1<br>&gt;&gt;&gt; 10/02/11 16:40:16 INFO input.FileI= nputFormat: Total input paths to<br>&gt;&gt;&gt; process : 1<br>&gt;&gt;&gt= ; 10/02/11 16:40:16 INFO mapred.MapTask: io.sort.mb =3D 100<br>&gt;&gt;&gt;= 10/02/11 16:40:16 INFO mapred.MapTask: data buffer =3D 79691776/99614720<b= r> &gt;&gt;&gt; 10/02/11 16:40:16 INFO mapred.MapTask: record buffer =3D 26214= 4/327680<br>&gt;&gt;&gt; 10/02/11 16:40:16 WARN mapred.LocalJobRunner: job_= local_0001<br>&gt;&gt;&gt; java.io.IOException: Type mismatch in key from m= ap: expected<br> &gt;&gt;&gt; org.apache.hadoop.io.LongWritable, recieved Classify$JoinKey<b= r>&gt;&gt;&gt; =A0 =A0 =A0 =A0at<br>&gt;&gt;&gt; org.apache.hadoop.mapred.M= apTask$MapOutputBuffer.collect(MapTask.java:807)<br>&gt;&gt;&gt; =A0 =A0 = =A0 =A0at<br>&gt;&gt;&gt; org.apache.hadoop.mapred.MapTask$NewOutputCollect= or.write(MapTask.java:504)<br> &gt;&gt;&gt; =A0 =A0 =A0 =A0at<br>&gt;&gt;&gt; org.apache.hadoop.mapreduce.= TaskInputOutputContext.write(TaskInputOutputContext.java:80)<br>&gt;&gt;&gt= ; =A0 =A0 =A0 =A0at Classify$TransformationActionMapper.map(Classify.java:1= 61)<br>&gt;&gt;&gt; =A0 =A0 =A0 =A0at Classify$TransformationActionMapper.m= ap(Classify.java:1)<br> &gt;&gt;&gt; =A0 =A0 =A0 =A0at org.apache.hadoop.mapreduce.Mapper.run(Mappe= r.java:144)<br>&gt;&gt;&gt; =A0 =A0 =A0 =A0at<br>&gt;&gt;&gt; org.apache.ha= doop.mapreduce.lib.input.DelegatingMapper.run(DelegatingMapper.java:51)<br>= &gt;&gt;&gt; =A0 =A0 =A0 =A0at org.apache.hadoop.mapred.MapTask.runNewMappe= r(MapTask.java:583)<br> &gt;&gt;&gt; =A0 =A0 =A0 =A0at org.apache.hadoop.mapred.MapTask.run(MapTask= .java:305)<br>&gt;&gt;&gt; =A0 =A0 =A0 =A0at<br>&gt;&gt;&gt; org.apache.had= oop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:176)<br>&gt;&gt;&gt; = 10/02/11 16:40:17 INFO mapred.JobClient: =A0map 0% reduce 0%<br> &gt;&gt;&gt; 10/02/11 16:40:17 INFO mapred.JobClient: Job complete: job_loc= al_0001<br>&gt;&gt;&gt; 10/02/11 16:40:17 INFO mapred.JobClient: Counters: = 0<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; --<br>&gt;&gt; Eric Sammer<br>&gt;&gt= ; <a href=3D"mailto:[email protected]">[email protected]</a><br> &gt;&gt; <a href=3D"http://esammer.blogspot.com/" target=3D"_blank">http://= esammer.blogspot.com</a><br>&gt;<br>&gt;<br></div></div></blockquote></div>= <br> --000e0cd138e297c70e047f696e37-- From [email protected] Sat Feb 13 12:08:33 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19951 invoked from network); 13 Feb 2010 12:08:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Feb 2010 12:08:33 -0000 Received: (qmail 32137 invoked by uid 500); 13 Feb 2010 12:08:32 -0000 Delivered-To: [email protected] Received: (qmail 32055 invoked by uid 500); 13 Feb 2010 12:08:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32045 invoked by uid 99); 13 Feb 2010 12:08:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Feb 2010 12:08:31 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iw0-f196.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Feb 2010 12:08:23 +0000 Received: by iwn34 with SMTP id 34so3508205iwn.21 for <[email protected]>; Sat, 13 Feb 2010 04:08:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=Y9SGkKcQ6WB7d5lij2MUtzxTwbBwFW2YgwqrUQh81UE=; b=kQ03sVbS1GWEu2YWkkV24IrOihsLvESx5yzaDMMw3O4ehefU4DnGyOcjlhqR3npCym cf9NN6aI1gEVaTyYEhIge+IPg1ewYuI5qfsn4EQNEkDCqbZxuX2BJKBtL9LDtlQyfiHU Rf4FK/jMd4m1yXT5sMwRXIlOCC1d50/TXN5xI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=aojYc1iQ0iuqn9NNvztYA0rQUOBmjTrsxbKFwwdW1JRuFpixCvFntp0g+U7aPXQsXE Zh23N2wm5wSUQhrtxjQZcegxgDW0tqwXfgCm1tAbBhlXkevvHye2JXzxqI0xmo3RkdTG RLtCNUV0x2T/IeE7ug9t3jKC/J5c4n/tauX80= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id g2mr1145895ibv.60.1266062882283; Sat, 13 Feb 2010 04:08:02 -0800 (PST) From: Raghava Mutharaju <[email protected]> Date: Sat, 13 Feb 2010 07:07:42 -0500 Message-ID: <[email protected]> Subject: is this architecture possible? To: [email protected] Content-Type: multipart/alternative; boundary=0016e64980fe5cb9c9047f7a3c09 X-Virus-Checked: Checked by ClamAV on apache.org --0016e64980fe5cb9c9047f7a3c09 Content-Type: text/plain; charset=ISO-8859-1 Hello all, Is the following architecture possible? A distributed key-value store is used (HBase). So along with values, there would be a timestamp associated with the values. Map & Reduce tasks are executed iteratively. Map, in each iteration should take in values which were added in the previous iteration to the store (perhaps the ones with latest timestamp?). Reduce should take in Map's output as well as the <key,value> pairs from the store whose key(s) match the key(s) that reduce has to process in the current iteration. The output of reduce goes to the store. If this is possible, which classes (eg: InputFormat, run() of Reduce) should be extended so that instead of the regular operation the above operation takes place. If this is not possible, are there any alternatives to achieve the same? Thank you. Regards, Raghava. --0016e64980fe5cb9c9047f7a3c09 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello all,<br><br>=A0=A0=A0=A0=A0 Is the following architecture possible?<b= r><br>A distributed key-value store is used (HBase). So along with values, = there would be a timestamp associated with the values. Map &amp; Reduce tas= ks are executed iteratively. Map, in each iteration should take in values w= hich were added in the previous iteration to the store (perhaps the ones wi= th latest timestamp?). Reduce should take in Map&#39;s output as well as th= e &lt;key,value&gt; pairs from the store whose key(s) match the key(s) that= reduce has to process in the current iteration. The output of reduce goes = to the store.<br> <br>If this is possible, which classes (eg: InputFormat, run() of Reduce) s= hould be extended so that instead of the regular operation the above operat= ion takes place. If this is not possible, are there any alternatives to ach= ieve the same?<br> <br>Thank you.<br><br>Regards,<br>Raghava.<br> --0016e64980fe5cb9c9047f7a3c09-- From [email protected] Mon Feb 15 19:24:32 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77663 invoked from network); 15 Feb 2010 19:24:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Feb 2010 19:24:32 -0000 Received: (qmail 57405 invoked by uid 500); 15 Feb 2010 08:17:52 -0000 Delivered-To: [email protected] Received: (qmail 57352 invoked by uid 500); 15 Feb 2010 08:17:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 57343 invoked by uid 99); 15 Feb 2010 08:17:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Feb 2010 08:17:51 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-ew0-f218.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Feb 2010 08:17:44 +0000 Received: by ewy10 with SMTP id 10so3200396ewy.11 for <[email protected]>; Mon, 15 Feb 2010 00:17:22 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id i63mr477525wem.119.1266221842269; Mon, 15 Feb 2010 00:17:22 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Mon, 15 Feb 2010 09:17:22 +0100 Message-ID: <[email protected]> Subject: Re: "Type mismatch in key from map: expected org.apache.hadoop.io.LongWritable" using MultipleInputs (multiple mappers) From: =?UTF-8?Q?Martin_H=C3=A4ger?= <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Indeed it is. We've solved this issue now as well. 2010/2/12 Alex Kozlov <[email protected]>: > This is a separate issue, did you provide your library jar with the > `-libjars` flag? > > On Fri, Feb 12, 2010 at 2:13 AM, Martin H=C3=A4ger <[email protected]= om> > wrote: >> >> We do not get the above error when running in pseudo-distributed mode. >> Instead, we get "java.lang.RuntimeException: readObject can't find >> class". Any ideas what might be wrong? >> >> mtah@thinkpad:~$ hadoop jar /tmp/classify.jar Classify >> 10/02/12 11:09:48 WARN mapred.JobClient: No job jar file set. =C2=A0User >> classes may not be found. See JobConf(Class) or >> JobConf#setJar(String). >> 10/02/12 11:09:48 INFO input.FileInputFormat: Total input paths to proce= ss >> : 1 >> 10/02/12 11:09:48 INFO input.FileInputFormat: Total input paths to proce= ss >> : 1 >> 10/02/12 11:09:49 INFO mapred.JobClient: Running job: >> job_201002121044_0009 >> 10/02/12 11:09:50 INFO mapred.JobClient: =C2=A0map 0% reduce 0% >> 10/02/12 11:10:01 INFO mapred.JobClient: Task Id : >> attempt_201002121044_0009_m_000000_0, Status : FAILED >> java.lang.RuntimeException: readObject can't find class >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(TaggedI= nputSplit.java:136) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readFields(Tagged= InputSplit.java:121) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserializ= er.deserialize(WritableSerialization.java:67) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserializ= er.deserialize(WritableSerialization.java:40) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.hadoop.mapred.MapTask.runNewMap= per(MapTask.java:549) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.hadoop.mapred.MapTask.run(MapTa= sk.java:305) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.hadoop.mapred.Child.main(Child.= java:170) >> Caused by: java.lang.ClassNotFoundException: >> Classify$TransformationActionMapper >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.net.URLClassLoader$1.run(URLClassLoad= er.java:200) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.security.AccessController.doPrivilege= d(Native Method) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.net.URLClassLoader.findClass(URLClass= Loader.java:188) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.ClassLoader.loadClass(ClassLoade= r.java:307) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at sun.misc.Launcher$AppClassLoader.loadClass= (Launcher.java:301) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.ClassLoader.loadClass(ClassLoade= r.java:252) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.ClassLoader.loadClassInternal(Cl= assLoader.java:320) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.Class.forName0(Native Method) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.Class.forName(Class.java:247) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:7= 61) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(TaggedI= nputSplit.java:134) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0... 6 more >> >> 10/02/12 11:10:01 INFO mapred.JobClient: Task Id : >> attempt_201002121044_0009_m_000001_0, Status : FAILED >> java.lang.RuntimeException: readObject can't find class >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(TaggedI= nputSplit.java:136) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readFields(Tagged= InputSplit.java:121) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserializ= er.deserialize(WritableSerialization.java:67) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserializ= er.deserialize(WritableSerialization.java:40) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.hadoop.mapred.MapTask.runNewMap= per(MapTask.java:549) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.hadoop.mapred.MapTask.run(MapTa= sk.java:305) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.hadoop.mapred.Child.main(Child.= java:170) >> Caused by: java.lang.ClassNotFoundException: >> Classify$TransformationSessionMapper >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.net.URLClassLoader$1.run(URLClassLoad= er.java:200) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.security.AccessController.doPrivilege= d(Native Method) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.net.URLClassLoader.findClass(URLClass= Loader.java:188) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.ClassLoader.loadClass(ClassLoade= r.java:307) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at sun.misc.Launcher$AppClassLoader.loadClass= (Launcher.java:301) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.ClassLoader.loadClass(ClassLoade= r.java:252) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.ClassLoader.loadClassInternal(Cl= assLoader.java:320) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.Class.forName0(Native Method) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.Class.forName(Class.java:247) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:7= 61) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(TaggedI= nputSplit.java:134) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0... 6 more >> >> 10/02/12 11:10:07 INFO mapred.JobClient: Task Id : >> attempt_201002121044_0009_m_000001_1, Status : FAILED >> java.lang.RuntimeException: readObject can't find class >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(TaggedI= nputSplit.java:136) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readFields(Tagged= InputSplit.java:121) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserializ= er.deserialize(WritableSerialization.java:67) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserializ= er.deserialize(WritableSerialization.java:40) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.hadoop.mapred.MapTask.runNewMap= per(MapTask.java:549) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.hadoop.mapred.MapTask.run(MapTa= sk.java:305) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.hadoop.mapred.Child.main(Child.= java:170) >> Caused by: java.lang.ClassNotFoundException: >> Classify$TransformationSessionMapper >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.net.URLClassLoader$1.run(URLClassLoad= er.java:200) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.security.AccessController.doPrivilege= d(Native Method) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.net.URLClassLoader.findClass(URLClass= Loader.java:188) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.ClassLoader.loadClass(ClassLoade= r.java:307) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at sun.misc.Launcher$AppClassLoader.loadClass= (Launcher.java:301) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.ClassLoader.loadClass(ClassLoade= r.java:252) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.ClassLoader.loadClassInternal(Cl= assLoader.java:320) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.Class.forName0(Native Method) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.Class.forName(Class.java:247) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:7= 61) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(TaggedI= nputSplit.java:134) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0... 6 more >> >> 10/02/12 11:10:07 INFO mapred.JobClient: Task Id : >> attempt_201002121044_0009_m_000000_1, Status : FAILED >> java.lang.RuntimeException: readObject can't find class >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(TaggedI= nputSplit.java:136) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readFields(Tagged= InputSplit.java:121) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserializ= er.deserialize(WritableSerialization.java:67) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserializ= er.deserialize(WritableSerialization.java:40) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.hadoop.mapred.MapTask.runNewMap= per(MapTask.java:549) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.hadoop.mapred.MapTask.run(MapTa= sk.java:305) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.hadoop.mapred.Child.main(Child.= java:170) >> Caused by: java.lang.ClassNotFoundException: >> Classify$TransformationActionMapper >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.net.URLClassLoader$1.run(URLClassLoad= er.java:200) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.security.AccessController.doPrivilege= d(Native Method) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.net.URLClassLoader.findClass(URLClass= Loader.java:188) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.ClassLoader.loadClass(ClassLoade= r.java:307) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at sun.misc.Launcher$AppClassLoader.loadClass= (Launcher.java:301) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.ClassLoader.loadClass(ClassLoade= r.java:252) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.ClassLoader.loadClassInternal(Cl= assLoader.java:320) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.Class.forName0(Native Method) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.Class.forName(Class.java:247) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:7= 61) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(TaggedI= nputSplit.java:134) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0... 6 more >> >> 10/02/12 11:10:13 INFO mapred.JobClient: Task Id : >> attempt_201002121044_0009_m_000000_2, Status : FAILED >> java.lang.RuntimeException: readObject can't find class >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(TaggedI= nputSplit.java:136) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readFields(Tagged= InputSplit.java:121) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserializ= er.deserialize(WritableSerialization.java:67) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserializ= er.deserialize(WritableSerialization.java:40) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.hadoop.mapred.MapTask.runNewMap= per(MapTask.java:549) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.hadoop.mapred.MapTask.run(MapTa= sk.java:305) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.hadoop.mapred.Child.main(Child.= java:170) >> Caused by: java.lang.ClassNotFoundException: >> Classify$TransformationActionMapper >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.net.URLClassLoader$1.run(URLClassLoad= er.java:200) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.security.AccessController.doPrivilege= d(Native Method) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.net.URLClassLoader.findClass(URLClass= Loader.java:188) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.ClassLoader.loadClass(ClassLoade= r.java:307) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at sun.misc.Launcher$AppClassLoader.loadClass= (Launcher.java:301) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.ClassLoader.loadClass(ClassLoade= r.java:252) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.ClassLoader.loadClassInternal(Cl= assLoader.java:320) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.Class.forName0(Native Method) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.Class.forName(Class.java:247) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:7= 61) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(TaggedI= nputSplit.java:134) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0... 6 more >> >> 10/02/12 11:10:13 INFO mapred.JobClient: Task Id : >> attempt_201002121044_0009_m_000001_2, Status : FAILED >> java.lang.RuntimeException: readObject can't find class >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(TaggedI= nputSplit.java:136) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readFields(Tagged= InputSplit.java:121) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserializ= er.deserialize(WritableSerialization.java:67) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserializ= er.deserialize(WritableSerialization.java:40) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.hadoop.mapred.MapTask.runNewMap= per(MapTask.java:549) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.hadoop.mapred.MapTask.run(MapTa= sk.java:305) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.hadoop.mapred.Child.main(Child.= java:170) >> Caused by: java.lang.ClassNotFoundException: >> Classify$TransformationSessionMapper >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.net.URLClassLoader$1.run(URLClassLoad= er.java:200) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.security.AccessController.doPrivilege= d(Native Method) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.net.URLClassLoader.findClass(URLClass= Loader.java:188) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.ClassLoader.loadClass(ClassLoade= r.java:307) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at sun.misc.Launcher$AppClassLoader.loadClass= (Launcher.java:301) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.ClassLoader.loadClass(ClassLoade= r.java:252) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.ClassLoader.loadClassInternal(Cl= assLoader.java:320) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.Class.forName0(Native Method) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.Class.forName(Class.java:247) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:7= 61) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit.readClass(TaggedI= nputSplit.java:134) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0... 6 more >> >> 10/02/12 11:10:22 INFO mapred.JobClient: Job complete: >> job_201002121044_0009 >> 10/02/12 11:10:22 INFO mapred.JobClient: Counters: 3 >> 10/02/12 11:10:22 INFO mapred.JobClient: =C2=A0 Job Counters >> 10/02/12 11:10:22 INFO mapred.JobClient: =C2=A0 =C2=A0 Launched map task= s=3D8 >> 10/02/12 11:10:22 INFO mapred.JobClient: =C2=A0 =C2=A0 Data-local map ta= sks=3D8 >> 10/02/12 11:10:22 INFO mapred.JobClient: =C2=A0 =C2=A0 Failed map tasks= =3D1 >> >> >> 2010/2/11 Alex Kozlov <[email protected]>: >> > Try=C2=A0job.setMapOutputKeyClass(JoinKey.class). -- Alex K >> > >> > On Thu, Feb 11, 2010 at 8:25 AM, E. Sammer <[email protected]> wrote: >> >> >> >> It looks like you're using the local job runner which does everything >> >> in a >> >> single thread. In this case, yes, I think the mappers are run >> >> sequentially. >> >> The local job runner is a different code path in Hadoop and is a know= n >> >> issue. Have you tried your code in pseudo-distributed mode? >> >> >> >> HTH. >> >> >> >> On 2/11/10 11:14 AM, Martin H=C3=A4ger wrote: >> >>> >> >>> Hello, >> >>> >> >>> We're trying to do a reduce-side join by applying two different >> >>> mappers (TransformationSessionMapper and TransformationActionMapper) >> >>> to two different input files and joining them using >> >>> TransformationReducer. See attached Classify.java for complete sourc= e. >> >>> >> >>> When running it, we get the following error. JoinKey is our own >> >>> implementation that is used for performing secondary sort. Somehow >> >>> TransformationActionMapper gets passed a JoinKey when it expects a >> >>> LongWritable (TextInputFormat). Is Hadoop actually applying the >> >>> mappers in sequence? >> >>> >> >>> $ hadoop jar /tmp/classify.jar Classify >> >>> 10/02/11 16:40:16 INFO jvm.JvmMetrics: Initializing JVM Metrics with >> >>> processName=3DJobTracker, sessionId=3D >> >>> 10/02/11 16:40:16 WARN mapred.JobClient: No job jar file set. =C2=A0= User >> >>> classes may not be found. See JobConf(Class) or >> >>> JobConf#setJar(String). >> >>> 10/02/11 16:40:16 INFO jvm.JvmMetrics: Cannot initialize JVM Metrics >> >>> with processName=3DJobTracker, sessionId=3D - already initialized >> >>> 10/02/11 16:40:16 INFO input.FileInputFormat: Total input paths to >> >>> process : 1 >> >>> 10/02/11 16:40:16 INFO input.FileInputFormat: Total input paths to >> >>> process : 1 >> >>> 10/02/11 16:40:16 INFO mapred.JobClient: Running job: job_local_0001 >> >>> 10/02/11 16:40:16 INFO jvm.JvmMetrics: Cannot initialize JVM Metrics >> >>> with processName=3DJobTracker, sessionId=3D - already initialized >> >>> 10/02/11 16:40:16 INFO input.FileInputFormat: Total input paths to >> >>> process : 1 >> >>> 10/02/11 16:40:16 INFO input.FileInputFormat: Total input paths to >> >>> process : 1 >> >>> 10/02/11 16:40:16 INFO mapred.MapTask: io.sort.mb =3D 100 >> >>> 10/02/11 16:40:16 INFO mapred.MapTask: data buffer =3D 79691776/9961= 4720 >> >>> 10/02/11 16:40:16 INFO mapred.MapTask: record buffer =3D 262144/3276= 80 >> >>> 10/02/11 16:40:16 WARN mapred.LocalJobRunner: job_local_0001 >> >>> java.io.IOException: Type mismatch in key from map: expected >> >>> org.apache.hadoop.io.LongWritable, recieved Classify$JoinKey >> >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> >>> >> >>> org.apache.hadoop.mapred.MapTask$MapOutputBuffer.collect(MapTask.jav= a:807) >> >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> >>> >> >>> org.apache.hadoop.mapred.MapTask$NewOutputCollector.write(MapTask.ja= va:504) >> >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> >>> >> >>> org.apache.hadoop.mapreduce.TaskInputOutputContext.write(TaskInputOu= tputContext.java:80) >> >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0at Classify$TransformationActionMapper.ma= p(Classify.java:161) >> >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0at Classify$TransformationActionMapper.ma= p(Classify.java:1) >> >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.hadoop.mapreduce.Mapper.run= (Mapper.java:144) >> >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> >>> >> >>> org.apache.hadoop.mapreduce.lib.input.DelegatingMapper.run(Delegatin= gMapper.java:51) >> >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> >>> org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:583) >> >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.hadoop.mapred.MapTask.run(M= apTask.java:305) >> >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> >>> >> >>> org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:= 176) >> >>> 10/02/11 16:40:17 INFO mapred.JobClient: =C2=A0map 0% reduce 0% >> >>> 10/02/11 16:40:17 INFO mapred.JobClient: Job complete: job_local_000= 1 >> >>> 10/02/11 16:40:17 INFO mapred.JobClient: Counters: 0 >> >> >> >> >> >> -- >> >> Eric Sammer >> >> [email protected] >> >> http://esammer.blogspot.com >> > >> > > > From [email protected] Mon Feb 15 19:41:06 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89445 invoked from network); 15 Feb 2010 19:41:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Feb 2010 19:41:06 -0000 Received: (qmail 67507 invoked by uid 500); 15 Feb 2010 08:27:45 -0000 Delivered-To: [email protected] Received: (qmail 67417 invoked by uid 500); 15 Feb 2010 08:27:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 67408 invoked by uid 99); 15 Feb 2010 08:27:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Feb 2010 08:27:45 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO emailgw03.pnl.gov) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Feb 2010 08:27:36 +0000 X-IronPort-AV: E=Sophos;i="4.49,475,1262592000"; d="scan'208";a="15547084" Received: from emailhub02.pnl.gov ([161.129.204.104]) by emailgw03.pnl.gov with ESMTP/TLS/AES128-SHA; 15 Feb 2010 00:27:14 -0800 Received: from Email05.pnl.gov ([161.129.204.104]) by emailhub02.pnl.gov ([161.129.204.104]) with mapi; Mon, 15 Feb 2010 00:27:13 -0800 From: "Taylor, Ronald C" <[email protected]> To: "'[email protected]'" <[email protected]> CC: "Taylor, Ronald C" <[email protected]> Date: Mon, 15 Feb 2010 00:27:12 -0800 Subject: a question on WordCount program failure Thread-Topic: a question on WordCount program failure Thread-Index: AcquFKeh+K/eFNYzR8a5oNOqaz6EPQAARvBgAACjauA= Message-ID: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hello, I just joined the list and got a newbie question. Operating on a 10-node Li= nux cluster running Hadoop 0.20.1, I've been trying out the WordCount progr= am.=20 I have three files: WordCount.java, WordCountMapper.java, and WordCountRedu= cer.java. The contents of those three files are listed in [email protected].=20 Compilation, jarring and invocation appear to work fine, when done as follo= ws: javac WordCountMapper.java javac WordCountReducer.java javac WordCount.java jar cf jarredWordCount.jar WordCountMapper.class WordCountReducer.class Wor= dCount.class Invocation: hadoop jar jarredWordCount.jar WordCount "/user/rtaylor/WordCountInputDirec= tory" "/user/rtaylor/OutputDirectory" %%% However, the results are not what I expect. Here is partial listing from on= e of the output files: artillery 1 barged 1 call 1 coalition 1 coalition 1 demonstrated 1 get 1 has 1 has 1 I was expecting, for example, to get one line for "coalition", like so: coalition 2 Instead I get the two (non-summed) lines that you see above.=20 I've tried several changes, with no effect. I still get the same (wrong) ou= tput with no word summation. This is trying me nuts, especially since I pre= sume that I am making a simple mistake that somebody should be able to be s= pot easily. So - please help! - Ron Taylor ___________________________________________ Ronald Taylor, Ph.D. Computational Biology & Bioinformatics Group Pacific Northwest National Lab= oratory 902 Battelle Boulevard P.O. Box 999, Mail Stop J4-33 Richland, WA 99352 USA Office: (582)335-6313 Email: [email protected] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% contents of WordCount.java: import java.io.*; import java.util.*; import org.apache.hadoop.fs.Path; import org.apache.hadoop.conf.*; import org.apache.hadoop.io.*; import org.apache.hadoop.mapreduce.*; import org.apache.hadoop.util.*; import org.apache.hadoop.mapreduce.lib.input.*; import org.apache.hadoop.mapreduce.lib.output.*; public class WordCount { public static void main(String[] args) =20 throws java.io.IOException,=20 java.lang.InterruptedException, java.lang.ClassNotFoundException { org.apache.hadoop.conf.Configuration conf =3D new org.apache.hadoop.con= f.Configuration(); String[] otherArgs =3D new org.apache.hadoop.util.GenericOptionsParser(= conf, args).getRemainingArgs(); if (otherArgs.length !=3D 2) { System.err.println("Error in parameter inputs - Usage: WordCou= nt <in> <out>"); System.exit(2); } String inputDirectory =3D otherArgs[0]; String outputDirectory =3D otherArgs[1]; Job job =3D new Job(conf, "WordCount"); job.setJarByClass(WordCount.class); job.setMapperClass(WordCountMapper.class); job.setCombinerClass(WordCountReducer.class); job.setReducerClass(WordCountReducer.class); job.setOutputKeyClass(Text.class); job.setOutputValueClass(IntWritable.class); FileInputFormat.addInputPath(job, new Path(inputDirectory)); FileOutputFormat.setOutputPath(job, new Path(outputDirectory)); System.exit(job.waitForCompletion(true) ? 0 : 1); } } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% contents of WordCountMapper.java: import java.io.*; import java.util.*; import org.apache.hadoop.fs.Path; import org.apache.hadoop.conf.*; import org.apache.hadoop.io.*; import org.apache.hadoop.mapreduce.*; import org.apache.hadoop.util.*; import org.apache.hadoop.mapreduce.lib.input.*; import org.apache.hadoop.mapreduce.lib.output.*; public class WordCountMapper extends org.apache.hadoop.mapreduce.Mapper <Lo= ngWritable, Text, Text, IntWritable> { private final IntWritable one =3D new IntWritable(1); private Text word =3D new Text(); public void map(LongWritable key, Text value, org.apache.hadoop.mapredu= ce.Mapper.Context context) throws IOException, java.lang.InterruptedException { String line =3D value.toString(); StringTokenizer itr =3D new StringTokenizer(line.toLowerCase()); while(itr.hasMoreTokens()) { word.set(itr.nextToken()); context.write(word, one); } } } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% contents of WordCountReducer.java: import java.io.*; import java.util.*; import org.apache.hadoop.fs.Path; import org.apache.hadoop.conf.*; import org.apache.hadoop.io.*; import org.apache.hadoop.mapreduce.*; import org.apache.hadoop.util.*; import org.apache.hadoop.mapreduce.lib.input.*; import org.apache.hadoop.mapreduce.lib.output.*; public class WordCountReducer extends Reducer<Text, IntWritable, Text, IntW= ritable> { private IntWritable result =3D new IntWritable();=20 =20 public void reduce(Text key, Iterable<IntWritable> values, org.apache.hadoop.mapreduce.Mapper.Context context)=20 throws IOException, java.lang.InterruptedException { int sum =3D 0; for (IntWritable val : values) { int value =3D val.get(); sum +=3D value; } result.set(sum); context.write(key, result); } } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% From [email protected] Mon Feb 15 22:08:46 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58660 invoked from network); 15 Feb 2010 22:08:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Feb 2010 22:08:46 -0000 Received: (qmail 97150 invoked by uid 500); 15 Feb 2010 22:08:45 -0000 Delivered-To: [email protected] Received: (qmail 97074 invoked by uid 500); 15 Feb 2010 22:08:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 97065 invoked by uid 99); 15 Feb 2010 22:08:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Feb 2010 22:08:45 +0000 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-pw0-f48.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Feb 2010 22:08:36 +0000 Received: by pwi7 with SMTP id 7so546313pwi.35 for <[email protected]>; Mon, 15 Feb 2010 14:08:15 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id v7mr3756208rvh.237.1266271695121; Mon, 15 Feb 2010 14:08:15 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> From: Aaron Kimball <[email protected]> Date: Mon, 15 Feb 2010 14:07:55 -0800 Message-ID: <[email protected]> Subject: Re: a question on WordCount program failure To: [email protected] Cc: "Taylor, Ronald C" <[email protected]> Content-Type: multipart/alternative; boundary=000e0cd17fe493af85047faada8d X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd17fe493af85047faada8d Content-Type: text/plain; charset=ISO-8859-1 In your reducer method signature: public void reduce(Text key, Iterable<IntWritable> values, org.apache.hadoop.mapreduce. Mapper.Context context) ... why is this receiving a Mapper.Context? This means that it doesn't actually override the default reduce() method. The default reduce() method is going to be an identity reducer. Try adding an '@Override' decorator, and you'll see that this suddenly won't compile (or will at least give you a warning). That parameter should be a Reducer.Context. (Note that actually since WordCountMapper extends Mapper, and WordCountReducer extends Reducer, you should just be able to write "Context" in both of those places and that'll be that. e.g. public void map(LongWritable key, Text value, Context context) throws IOException, java.lang.InterruptedException { and public void reduce(Text key, Iterable<IntWritable> values, Context context) throws IOException, java.lang.InterruptedException { I also noticed that the job configuration step doesn't actually set the number of reduce tasks. It might be that you haven't configured it to run the reducer in the first place. What happens if you add 'job.setNumReduceTasks(10)' to your main() method? - Aaron On Mon, Feb 15, 2010 at 12:27 AM, Taylor, Ronald C <[email protected]>wrote: > > Hello, > > I just joined the list and got a newbie question. Operating on a 10-node > Linux cluster running Hadoop 0.20.1, I've been trying out the WordCount > program. > > I have three files: WordCount.java, WordCountMapper.java, and > WordCountReducer.java. The contents of those three files are listed in full > at bottom. > > Compilation, jarring and invocation appear to work fine, when done as > follows: > > javac WordCountMapper.java > javac WordCountReducer.java > javac WordCount.java > > jar cf jarredWordCount.jar WordCountMapper.class WordCountReducer.class > WordCount.class > > Invocation: > hadoop jar jarredWordCount.jar WordCount > "/user/rtaylor/WordCountInputDirectory" "/user/rtaylor/OutputDirectory" > > %%% > > However, the results are not what I expect. Here is partial listing from > one of the output files: > > artillery 1 > barged 1 > call 1 > coalition 1 > coalition 1 > demonstrated 1 > get 1 > has 1 > has 1 > > I was expecting, for example, to get one line for "coalition", like so: > > coalition 2 > > Instead I get the two (non-summed) lines that you see above. > > I've tried several changes, with no effect. I still get the same (wrong) > output with no word summation. This is trying me nuts, especially since I > presume that I am making a simple mistake that somebody should be able to be > spot easily. So - please help! > > - Ron Taylor > ___________________________________________ > Ronald Taylor, Ph.D. > Computational Biology & Bioinformatics Group Pacific Northwest National > Laboratory > 902 Battelle Boulevard > P.O. Box 999, Mail Stop J4-33 > Richland, WA 99352 USA > Office: (582)335-6313 > Email: [email protected] > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > > contents of WordCount.java: > > import java.io.*; > import java.util.*; > import org.apache.hadoop.fs.Path; > import org.apache.hadoop.conf.*; > import org.apache.hadoop.io.*; > import org.apache.hadoop.mapreduce.*; > import org.apache.hadoop.util.*; > import org.apache.hadoop.mapreduce.lib.input.*; > import org.apache.hadoop.mapreduce.lib.output.*; > > public class WordCount { > > public static void main(String[] args) > throws java.io.IOException, > java.lang.InterruptedException, > java.lang.ClassNotFoundException { > > org.apache.hadoop.conf.Configuration conf = new > org.apache.hadoop.conf.Configuration(); > > String[] otherArgs = new > org.apache.hadoop.util.GenericOptionsParser(conf, args).getRemainingArgs(); > if (otherArgs.length != 2) { > System.err.println("Error in parameter inputs - Usage: > WordCount <in> <out>"); > System.exit(2); > } > String inputDirectory = otherArgs[0]; > String outputDirectory = otherArgs[1]; > > Job job = new Job(conf, "WordCount"); > job.setJarByClass(WordCount.class); > job.setMapperClass(WordCountMapper.class); > job.setCombinerClass(WordCountReducer.class); > job.setReducerClass(WordCountReducer.class); > job.setOutputKeyClass(Text.class); > job.setOutputValueClass(IntWritable.class); > FileInputFormat.addInputPath(job, new Path(inputDirectory)); > FileOutputFormat.setOutputPath(job, new Path(outputDirectory)); > System.exit(job.waitForCompletion(true) ? 0 : 1); > } > > } > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > > contents of WordCountMapper.java: > > import java.io.*; > import java.util.*; > import org.apache.hadoop.fs.Path; > import org.apache.hadoop.conf.*; > import org.apache.hadoop.io.*; > import org.apache.hadoop.mapreduce.*; > import org.apache.hadoop.util.*; > import org.apache.hadoop.mapreduce.lib.input.*; > import org.apache.hadoop.mapreduce.lib.output.*; > > public class WordCountMapper extends org.apache.hadoop.mapreduce.Mapper > <LongWritable, Text, Text, IntWritable> { > private final IntWritable one = new IntWritable(1); > private Text word = new Text(); > > public void map(LongWritable key, Text value, > org.apache.hadoop.mapreduce.Mapper.Context context) > throws IOException, java.lang.InterruptedException { > String line = value.toString(); > StringTokenizer itr = new StringTokenizer(line.toLowerCase()); > while(itr.hasMoreTokens()) { > word.set(itr.nextToken()); > context.write(word, one); > } > } > } > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > > contents of WordCountReducer.java: > > import java.io.*; > import java.util.*; > import org.apache.hadoop.fs.Path; > import org.apache.hadoop.conf.*; > import org.apache.hadoop.io.*; > import org.apache.hadoop.mapreduce.*; > import org.apache.hadoop.util.*; > import org.apache.hadoop.mapreduce.lib.input.*; > import org.apache.hadoop.mapreduce.lib.output.*; > > public class WordCountReducer extends Reducer<Text, IntWritable, Text, > IntWritable> { > private IntWritable result = new IntWritable(); > > public void reduce(Text key, Iterable<IntWritable> values, > org.apache.hadoop.mapreduce.Mapper.Context context) > throws IOException, java.lang.InterruptedException { > int sum = 0; > for (IntWritable val : values) { > int value = val.get(); > sum += value; > } > result.set(sum); > context.write(key, result); > } > } > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > --000e0cd17fe493af85047faada8d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable In your reducer method signature:<br><br>=A0public void reduce(Text key, It= erable&lt;IntWritable&gt; values,<br> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 org.apache.hadoop.mapreduce.<div i= d=3D":u3" class=3D"ii gt">Mapper.Context=20 context)</div><br><br>... why is this receiving a Mapper.Context? This mean= s that it doesn&#39;t actually override the default reduce() method. The de= fault reduce() method is going to be an identity reducer. Try adding an &#3= 9;@Override&#39; decorator, and you&#39;ll see that this suddenly won&#39;t= compile (or will at least give you a warning).<br> <br>That parameter should be a Reducer.Context. (Note that actually since W= ordCountMapper extends Mapper, and WordCountReducer extends Reducer, you sh= ould just be able to write &quot;Context&quot; in both of those places and = that&#39;ll be that.<br> <br>e.g.<br>public void map(LongWritable key, Text value, Context context) = throws IOException,=20 java.lang.InterruptedException {<br><br>and<br>public void reduce(Text key,= Iterable&lt;IntWritable&gt; values, Context=20 context) throws IOException,=20 java.lang.InterruptedException {<br><br>I also noticed that the job configu= ration step doesn&#39;t actually set the number of reduce tasks. It might b= e that you haven&#39;t configured it to run the reducer in the first place.= What happens if you add &#39;job.setNumReduceTasks(10)&#39; to your main()= method?<br> <br>- Aaron<br><br><div class=3D"gmail_quote">On Mon, Feb 15, 2010 at 12:27= AM, Taylor, Ronald C <span dir=3D"ltr">&lt;<a href=3D"mailto:ronald.taylor= @pnl.gov">[email protected]</a>&gt;</span> wrote:<br><blockquote class= =3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid= rgb(204, 204, 204); padding-left: 1ex;"> <br> Hello,<br> <br> I just joined the list and got a newbie question. Operating on a 10-node Li= nux cluster running Hadoop 0.20.1, I&#39;ve been trying out the WordCount p= rogram.<br> <br> I have three files: WordCount.java, WordCountMapper.java, and WordCountRedu= cer.java. The contents of those three files are listed in [email protected].<b= r> <br> Compilation, jarring and invocation appear to work fine, when done as follo= ws:<br> <br> javac WordCountMapper.java<br> javac WordCountReducer.java<br> javac WordCount.java<br> <br> jar cf jarredWordCount.jar WordCountMapper.class WordCountReducer.class Wor= dCount.class<br> <br> Invocation:<br> hadoop jar jarredWordCount.jar WordCount &quot;/user/rtaylor/WordCountInput= Directory&quot; &quot;/user/rtaylor/OutputDirectory&quot;<br> <br> %%%<br> <br> However, the results are not what I expect. Here is partial listing from on= e of the output files:<br> <br> artillery =A0 =A0 =A0 1<br> barged =A01<br> call =A0 =A01<br> coalition =A0 =A0 =A0 1<br> coalition =A0 =A0 =A0 1<br> demonstrated =A0 =A01<br> get =A0 =A0 1<br> has =A0 =A0 1<br> has =A0 =A0 1<br> <br> I was expecting, for example, to get one line for &quot;coalition&quot;, = =A0like so:<br> <br> coalition 2<br> <br> Instead I get the two (non-summed) lines that you see above.<br> <br> I&#39;ve tried several changes, with no effect. I still get the same (wrong= ) output with no word summation. This is trying me nuts, especially since I= presume that I am making a simple mistake that somebody should be able to = be spot easily. So - please help!<br> <br> =A0 - Ron Taylor<br> ___________________________________________<br> Ronald Taylor, Ph.D.<br> Computational Biology &amp; Bioinformatics Group Pacific Northwest National= Laboratory<br> 902 Battelle Boulevard<br> P.O. Box 999, Mail Stop J4-33<br> Richland, WA =A099352 USA<br> Office: =A0509-372-6568<br> Email: <a href=3D"mailto:[email protected]">[email protected]</a><b= r> <br> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br> <br> contents of WordCount.java:<br> <br> import java.io.*;<br> import java.util.*;<br> import org.apache.hadoop.fs.Path;<br> import org.apache.hadoop.conf.*;<br> import org.apache.hadoop.io.*;<br> import org.apache.hadoop.mapreduce.*;<br> import org.apache.hadoop.util.*;<br> import org.apache.hadoop.mapreduce.lib.input.*;<br> import org.apache.hadoop.mapreduce.lib.output.*;<br> <br> public class WordCount {<br> <br> =A0 =A0public static void main(String[] args)<br> =A0 =A0 =A0 =A0throws java.io.IOException,<br> =A0 =A0 =A0 =A0 =A0 =A0 =A0 java.lang.InterruptedException,<br> =A0 =A0 =A0 =A0 =A0 =A0 =A0 java.lang.ClassNotFoundException {<br> <br> =A0 =A0org.apache.hadoop.conf.Configuration conf =3D new org.apache.hadoop= .conf.Configuration();<br> <br> =A0 =A0String[] otherArgs =3D new org.apache.hadoop.util.GenericOptionsPar= ser(conf, args).getRemainingArgs();<br> =A0 =A0 =A0 if (otherArgs.length !=3D 2) {<br> =A0 =A0 =A0 =A0 =A0 =A0 System.err.println(&quot;Error in parameter inputs= - Usage: WordCount &lt;in&gt; &lt;out&gt;&quot;);<br> =A0 =A0 =A0 =A0 =A0 =A0 System.exit(2);<br> =A0 =A0 =A0 }<br> =A0 =A0String inputDirectory =A0 =3D otherArgs[0];<br> =A0 =A0String outputDirectory =A0=3D otherArgs[1];<br> <br> =A0 =A0Job job =3D new Job(conf, &quot;WordCount&quot;);<br> =A0 =A0job.setJarByClass(WordCount.class);<br> =A0 =A0job.setMapperClass(WordCountMapper.class);<br> =A0 =A0job.setCombinerClass(WordCountReducer.class);<br> =A0 =A0job.setReducerClass(WordCountReducer.class);<br> =A0 =A0job.setOutputKeyClass(Text.class);<br> =A0 =A0job.setOutputValueClass(IntWritable.class);<br> =A0 =A0FileInputFormat.addInputPath(job, new Path(inputDirectory));<br> =A0 =A0FileOutputFormat.setOutputPath(job, new Path(outputDirectory));<br> =A0 =A0System.exit(job.waitForCompletion(true) ? 0 : 1);<br> =A0}<br> <br> }<br> <br> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br> <br> contents of WordCountMapper.java:<br> <br> import java.io.*;<br> import java.util.*;<br> import org.apache.hadoop.fs.Path;<br> import org.apache.hadoop.conf.*;<br> import org.apache.hadoop.io.*;<br> import org.apache.hadoop.mapreduce.*;<br> import org.apache.hadoop.util.*;<br> import org.apache.hadoop.mapreduce.lib.input.*;<br> import org.apache.hadoop.mapreduce.lib.output.*;<br> <br> public class WordCountMapper extends org.apache.hadoop.mapreduce.Mapper &lt= ;LongWritable, Text, Text, IntWritable&gt; {<br> =A0private final IntWritable one =3D new IntWritable(1);<br> =A0private Text word =3D new Text();<br> <br> =A0 =A0public void map(LongWritable key, Text value, org.apache.hadoop.map= reduce.Mapper.Context context)<br> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0throws IOException, java.la= ng.InterruptedException {<br> =A0 =A0String line =3D value.toString();<br> =A0 =A0StringTokenizer itr =3D new StringTokenizer(line.toLowerCase());<br= > =A0 =A0while(itr.hasMoreTokens()) {<br> =A0 =A0 =A0word.set(itr.nextToken());<br> =A0 =A0 =A0context.write(word, one);<br> =A0 =A0}<br> =A0}<br> }<br> <br> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br> <br> contents of WordCountReducer.java:<br> <br> import java.io.*;<br> import java.util.*;<br> import org.apache.hadoop.fs.Path;<br> import org.apache.hadoop.conf.*;<br> import org.apache.hadoop.io.*;<br> import org.apache.hadoop.mapreduce.*;<br> import org.apache.hadoop.util.*;<br> import org.apache.hadoop.mapreduce.lib.input.*;<br> import org.apache.hadoop.mapreduce.lib.output.*;<br> <br> public class WordCountReducer extends Reducer&lt;Text, IntWritable, Text, I= ntWritable&gt; {<br> =A0 =A0private IntWritable result =3D new IntWritable();<br> <br> =A0public void reduce(Text key, Iterable&lt;IntWritable&gt; values,<br> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 org.apache.hadoop.mapreduce.Mapper= .Context context)<br> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0throws IOException, java.la= ng.InterruptedException {<br> =A0 =A0int sum =3D 0;<br> =A0 =A0for (IntWritable val : values) {<br> =A0 =A0 =A0int value =3D val.get();<br> =A0 =A0 =A0sum +=3D value;<br> =A0 =A0}<br> =A0 =A0result.set(sum);<br> =A0 =A0context.write(key, result);<br> =A0}<br> }<br> <br> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br> </blockquote></div><br> --000e0cd17fe493af85047faada8d-- From [email protected] Mon Feb 15 22:53:34 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84903 invoked from network); 15 Feb 2010 22:53:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Feb 2010 22:53:34 -0000 Received: (qmail 46922 invoked by uid 500); 15 Feb 2010 22:53:34 -0000 Delivered-To: [email protected] Received: (qmail 46862 invoked by uid 500); 15 Feb 2010 22:53:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 46853 invoked by uid 99); 15 Feb 2010 22:53:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Feb 2010 22:53:34 +0000 X-ASF-Spam-Status: No, hits=-1.8 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO emailgw03.pnl.gov) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Feb 2010 22:53:26 +0000 X-IronPort-AV: E=Sophos;i="4.49,480,1262592000"; d="scan'208,217";a="15586014" Received: from emailhub01.pnl.gov ([161.129.204.104]) by emailgw03.pnl.gov with ESMTP/TLS/AES128-SHA; 15 Feb 2010 14:53:05 -0800 Received: from Email05.pnl.gov ([161.129.204.104]) by emailhub01.pnl.gov ([161.129.204.104]) with mapi; Mon, 15 Feb 2010 14:53:05 -0800 From: "Taylor, Ronald C" <[email protected]> To: 'Aaron Kimball' <[email protected]>, "[email protected]" <[email protected]> CC: "Taylor, Ronald C" <[email protected]> Date: Mon, 15 Feb 2010 14:53:04 -0800 Subject: RE: a question on WordCount program failure Thread-Topic: a question on WordCount program failure Thread-Index: Acqui19CgKguZbZBSC2gdLY544rX8wABe/DA Message-ID: <[email protected]> References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_A632B3F93D861843A3C966F3962C3F84010639E135A1EMAIL05pnlg_" MIME-Version: 1.0 --_000_A632B3F93D861843A3C966F3962C3F84010639E135A1EMAIL05pnlg_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Aaron, I made the changes that you suggested and the program now runs fine. So - I= 'm off and running. Thanks very much! Ron ________________________________ From: Aaron Kimball [mailto:[email protected]] Sent: Monday, February 15, 2010 2:08 PM To: [email protected] Cc: Taylor, Ronald C Subject: Re: a question on WordCount program failure In your reducer method signature: public void reduce(Text key, Iterable<IntWritable> values, org.apache.hadoop.mapreduce. Mapper.Context context) ... why is this receiving a Mapper.Context? This means that it doesn't actu= ally override the default reduce() method. The default reduce() method is g= oing to be an identity reducer. Try adding an '@Override' decorator, and yo= u'll see that this suddenly won't compile (or will at least give you a warn= ing). That parameter should be a Reducer.Context. (Note that actually since WordC= ountMapper extends Mapper, and WordCountReducer extends Reducer, you should= just be able to write "Context" in both of those places and that'll be tha= t. e.g. public void map(LongWritable key, Text value, Context context) throws IOExc= eption, java.lang.InterruptedException { and public void reduce(Text key, Iterable<IntWritable> values, Context context)= throws IOException, java.lang.InterruptedException { I also noticed that the job configuration step doesn't actually set the num= ber of reduce tasks. It might be that you haven't configured it to run the = reducer in the first place. What happens if you add 'job.setNumReduceTasks(= 10)' to your main() method? - Aaron On Mon, Feb 15, 2010 at 12:27 AM, Taylor, Ronald C <[email protected]<m= ailto:[email protected]>> wrote: Hello, I just joined the list and got a newbie question. Operating on a 10-node Li= nux cluster running Hadoop 0.20.1, I've been trying out the WordCount progr= am. I have three files: WordCount.java, WordCountMapper.java, and WordCountRedu= cer.java. The contents of those three files are listed in [email protected]. Compilation, jarring and invocation appear to work fine, when done as follo= ws: javac WordCountMapper.java javac WordCountReducer.java javac WordCount.java jar cf jarredWordCount.jar WordCountMapper.class WordCountReducer.class Wor= dCount.class Invocation: hadoop jar jarredWordCount.jar WordCount "/user/rtaylor/WordCountInputDirec= tory" "/user/rtaylor/OutputDirectory" %%% However, the results are not what I expect. Here is partial listing from on= e of the output files: artillery 1 barged 1 call 1 coalition 1 coalition 1 demonstrated 1 get 1 has 1 has 1 I was expecting, for example, to get one line for "coalition", like so: coalition 2 Instead I get the two (non-summed) lines that you see above. I've tried several changes, with no effect. I still get the same (wrong) ou= tput with no word summation. This is trying me nuts, especially since I pre= sume that I am making a simple mistake that somebody should be able to be s= pot easily. So - please help! - Ron Taylor ___________________________________________ Ronald Taylor, Ph.D. Computational Biology & Bioinformatics Group Pacific Northwest National Lab= oratory 902 Battelle Boulevard P.O. Box 999, Mail Stop J4-33 Richland, WA 99352 USA Office: (582)335-6313 Email: [email protected]<mailto:[email protected]> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% contents of WordCount.java: import java.io.*; import java.util.*; import org.apache.hadoop.fs.Path; import org.apache.hadoop.conf.*; import org.apache.hadoop.io.*; import org.apache.hadoop.mapreduce.*; import org.apache.hadoop.util.*; import org.apache.hadoop.mapreduce.lib.input.*; import org.apache.hadoop.mapreduce.lib.output.*; public class WordCount { public static void main(String[] args) throws java.io.IOException, java.lang.InterruptedException, java.lang.ClassNotFoundException { org.apache.hadoop.conf.Configuration conf =3D new org.apache.hadoop.conf= .Configuration(); String[] otherArgs =3D new org.apache.hadoop.util.GenericOptionsParser(c= onf, args).getRemainingArgs(); if (otherArgs.length !=3D 2) { System.err.println("Error in parameter inputs - Usage: WordCoun= t <in> <out>"); System.exit(2); } String inputDirectory =3D otherArgs[0]; String outputDirectory =3D otherArgs[1]; Job job =3D new Job(conf, "WordCount"); job.setJarByClass(WordCount.class); job.setMapperClass(WordCountMapper.class); job.setCombinerClass(WordCountReducer.class); job.setReducerClass(WordCountReducer.class); job.setOutputKeyClass(Text.class); job.setOutputValueClass(IntWritable.class); FileInputFormat.addInputPath(job, new Path(inputDirectory)); FileOutputFormat.setOutputPath(job, new Path(outputDirectory)); System.exit(job.waitForCompletion(true) ? 0 : 1); } } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% contents of WordCountMapper.java: import java.io.*; import java.util.*; import org.apache.hadoop.fs.Path; import org.apache.hadoop.conf.*; import org.apache.hadoop.io.*; import org.apache.hadoop.mapreduce.*; import org.apache.hadoop.util.*; import org.apache.hadoop.mapreduce.lib.input.*; import org.apache.hadoop.mapreduce.lib.output.*; public class WordCountMapper extends org.apache.hadoop.mapreduce.Mapper <Lo= ngWritable, Text, Text, IntWritable> { private final IntWritable one =3D new IntWritable(1); private Text word =3D new Text(); public void map(LongWritable key, Text value, org.apache.hadoop.mapreduc= e.Mapper.Context context) throws IOException, java.lang.InterruptedException { String line =3D value.toString(); StringTokenizer itr =3D new StringTokenizer(line.toLowerCase()); while(itr.hasMoreTokens()) { word.set(itr.nextToken()); context.write(word, one); } } } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% contents of WordCountReducer.java: import java.io.*; import java.util.*; import org.apache.hadoop.fs.Path; import org.apache.hadoop.conf.*; import org.apache.hadoop.io.*; import org.apache.hadoop.mapreduce.*; import org.apache.hadoop.util.*; import org.apache.hadoop.mapreduce.lib.input.*; import org.apache.hadoop.mapreduce.lib.output.*; public class WordCountReducer extends Reducer<Text, IntWritable, Text, IntW= ritable> { private IntWritable result =3D new IntWritable(); public void reduce(Text key, Iterable<IntWritable> values, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, java.lang.InterruptedException { int sum =3D 0; for (IntWritable val : values) { int value =3D val.get(); sum +=3D value; } result.set(sum); context.write(key, result); } } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% --_000_A632B3F93D861843A3C966F3962C3F84010639E135A1EMAIL05pnlg_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Dus-ascii" http-equiv=3DContent-Type> <META name=3DGENERATOR content=3D"MSHTML 8.00.6001.18876"></HEAD> <BODY> <DIV dir=3Dltr align=3Dleft><FONT color=3D#0000ff size=3D2 face=3DArial><SP= AN=20 class=3D279455022-15022010>Aaron,</SPAN></FONT></DIV> <DIV dir=3Dltr align=3Dleft><FONT color=3D#0000ff size=3D2 face=3DArial><SP= AN=20 class=3D279455022-15022010></SPAN></FONT>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><FONT color=3D#0000ff size=3D2 face=3DArial><SP= AN=20 class=3D279455022-15022010>I made the changes that you suggested and the pr= ogram=20 now runs fine. So - I'm off and running. Thanks very much!</SPAN></FONT></D= IV> <DIV dir=3Dltr align=3Dleft><FONT color=3D#0000ff size=3D2 face=3DArial><SP= AN=20 class=3D279455022-15022010>&nbsp;Ron</SPAN></FONT></DIV><BR> <DIV dir=3Dltr lang=3Den-us class=3DOutlookMessageHeader align=3Dleft> <HR tabIndex=3D-1> <FONT size=3D2 face=3DTahoma><B>From:</B> Aaron Kimball [mailto:aaron@cloud= era.com]=20 <BR><B>Sent:</B> Monday, February 15, 2010 2:08 PM<BR><B>To:</B>=20 [email protected]<BR><B>Cc:</B> Taylor, Ronald=20 C<BR><B>Subject:</B> Re: a question on WordCount program=20 failure<BR></FONT><BR></DIV> <DIV></DIV>In your reducer method signature:<BR><BR>&nbsp;public void=20 reduce(Text key, Iterable&lt;IntWritable&gt; values,<BR>&nbsp; &nbsp; &nbsp= ;=20 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; org.apache.hadoop.mapreduc= e. <DIV id=3D:u3 class=3D"ii gt">Mapper.Context context)</DIV><BR><BR>... why = is this=20 receiving a Mapper.Context? This means that it doesn't actually override th= e=20 default reduce() method. The default reduce() method is going to be an iden= tity=20 reducer. Try adding an '@Override' decorator, and you'll see that this sudd= enly=20 won't compile (or will at least give you a warning).<BR><BR>That parameter= =20 should be a Reducer.Context. (Note that actually since WordCountMapper exte= nds=20 Mapper, and WordCountReducer extends Reducer, you should just be able to wr= ite=20 "Context" in both of those places and that'll be that.<BR><BR>e.g.<BR>publi= c=20 void map(LongWritable key, Text value, Context context) throws IOException,= =20 java.lang.InterruptedException {<BR><BR>and<BR>public void reduce(Text key,= =20 Iterable&lt;IntWritable&gt; values, Context context) throws IOException,=20 java.lang.InterruptedException {<BR><BR>I also noticed that the job=20 configuration step doesn't actually set the number of reduce tasks. It migh= t be=20 that you haven't configured it to run the reducer in the first place. What= =20 happens if you add 'job.setNumReduceTasks(10)' to your main() method?<BR><B= R>-=20 Aaron<BR><BR> <DIV class=3Dgmail_quote>On Mon, Feb 15, 2010 at 12:27 AM, Taylor, Ronald C= <SPAN=20 dir=3Dltr>&lt;<A=20 href=3D"mailto:[email protected]">[email protected]</A>&gt;</SPAN>= =20 wrote:<BR> <BLOCKQUOTE=20 style=3D"BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex= ; PADDING-LEFT: 1ex"=20 class=3Dgmail_quote><BR>Hello,<BR><BR>I just joined the list and got a newb= ie=20 question. Operating on a 10-node Linux cluster running Hadoop 0.20.1, I'v= e=20 been trying out the WordCount program.<BR><BR>I have three files:=20 WordCount.java, WordCountMapper.java, and WordCountReducer.java. The cont= ents=20 of those three files are listed in [email protected].<BR><BR>Compilation, ja= rring=20 and invocation appear to work fine, when done as follows:<BR><BR>javac=20 WordCountMapper.java<BR>javac WordCountReducer.java<BR>javac=20 WordCount.java<BR><BR>jar cf jarredWordCount.jar WordCountMapper.class=20 WordCountReducer.class WordCount.class<BR><BR>Invocation:<BR>hadoop jar=20 jarredWordCount.jar WordCount "/user/rtaylor/WordCountInputDirectory"=20 "/user/rtaylor/OutputDirectory"<BR><BR>%%%<BR><BR>However, the results ar= e not=20 what I expect. Here is partial listing from one of the output=20 files:<BR><BR>artillery &nbsp; &nbsp; &nbsp; 1<BR>barged &nbsp;1<BR>call= =20 &nbsp; &nbsp;1<BR>coalition &nbsp; &nbsp; &nbsp; 1<BR>coalition &nbsp; &n= bsp;=20 &nbsp; 1<BR>demonstrated &nbsp; &nbsp;1<BR>get &nbsp; &nbsp; 1<BR>has &nb= sp;=20 &nbsp; 1<BR>has &nbsp; &nbsp; 1<BR><BR>I was expecting, for example, to g= et=20 one line for "coalition", &nbsp;like so:<BR><BR>coalition 2<BR><BR>Instea= d I=20 get the two (non-summed) lines that you see above.<BR><BR>I've tried seve= ral=20 changes, with no effect. I still get the same (wrong) output with no word= =20 summation. This is trying me nuts, especially since I presume that I am m= aking=20 a simple mistake that somebody should be able to be spot easily. So - ple= ase=20 help!<BR><BR>&nbsp; - Ron=20 Taylor<BR>___________________________________________<BR>Ronald Taylor,=20 Ph.D.<BR>Computational Biology &amp; Bioinformatics Group Pacific Northwe= st=20 National Laboratory<BR>902 Battelle Boulevard<BR>P.O. Box 999, Mail Stop= =20 J4-33<BR>Richland, WA &nbsp;99352 USA<BR>Office: &nbsp;(582)335-6313<BR>Em= ail:=20 <A=20 href=3D"mailto:[email protected]">[email protected]</A><BR><BR>%%= %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<BR><BR>contents=20 of WordCount.java:<BR><BR>import java.io.*;<BR>import java.util.*;<BR>imp= ort=20 org.apache.hadoop.fs.Path;<BR>import org.apache.hadoop.conf.*;<BR>import= =20 org.apache.hadoop.io.*;<BR>import org.apache.hadoop.mapreduce.*;<BR>impor= t=20 org.apache.hadoop.util.*;<BR>import=20 org.apache.hadoop.mapreduce.lib.input.*;<BR>import=20 org.apache.hadoop.mapreduce.lib.output.*;<BR><BR>public class WordCount=20 {<BR><BR>&nbsp; &nbsp;public static void main(String[] args)<BR>&nbsp; &n= bsp;=20 &nbsp; &nbsp;throws java.io.IOException,<BR>&nbsp; &nbsp; &nbsp; &nbsp; &= nbsp;=20 &nbsp; &nbsp; java.lang.InterruptedException,<BR>&nbsp; &nbsp; &nbsp; &nb= sp;=20 &nbsp; &nbsp; &nbsp; java.lang.ClassNotFoundException {<BR><BR>&nbsp;=20 &nbsp;org.apache.hadoop.conf.Configuration conf =3D new=20 org.apache.hadoop.conf.Configuration();<BR><BR>&nbsp; &nbsp;String[] othe= rArgs=20 =3D new org.apache.hadoop.util.GenericOptionsParser(conf,=20 args).getRemainingArgs();<BR>&nbsp; &nbsp; &nbsp; if (otherArgs.length != =3D 2)=20 {<BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.err.println("Error = in=20 parameter inputs - Usage: WordCount &lt;in&gt; &lt;out&gt;");<BR>&nbsp; &= nbsp;=20 &nbsp; &nbsp; &nbsp; &nbsp; System.exit(2);<BR>&nbsp; &nbsp; &nbsp;=20 }<BR>&nbsp; &nbsp;String inputDirectory &nbsp; =3D otherArgs[0];<BR>&nbsp= ;=20 &nbsp;String outputDirectory &nbsp;=3D otherArgs[1];<BR><BR>&nbsp; &nbsp;= Job job=20 =3D new Job(conf, "WordCount");<BR>&nbsp;=20 &nbsp;job.setJarByClass(WordCount.class);<BR>&nbsp;=20 &nbsp;job.setMapperClass(WordCountMapper.class);<BR>&nbsp;=20 &nbsp;job.setCombinerClass(WordCountReducer.class);<BR>&nbsp;=20 &nbsp;job.setReducerClass(WordCountReducer.class);<BR>&nbsp;=20 &nbsp;job.setOutputKeyClass(Text.class);<BR>&nbsp;=20 &nbsp;job.setOutputValueClass(IntWritable.class);<BR>&nbsp;=20 &nbsp;FileInputFormat.addInputPath(job, new Path(inputDirectory));<BR>&nb= sp;=20 &nbsp;FileOutputFormat.setOutputPath(job, new=20 Path(outputDirectory));<BR>&nbsp;=20 &nbsp;System.exit(job.waitForCompletion(true) ? 0 :=20 1);<BR>&nbsp;}<BR><BR>}<BR><BR>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%= %<BR><BR>contents=20 of WordCountMapper.java:<BR><BR>import java.io.*;<BR>import=20 java.util.*;<BR>import org.apache.hadoop.fs.Path;<BR>import=20 org.apache.hadoop.conf.*;<BR>import org.apache.hadoop.io.*;<BR>import=20 org.apache.hadoop.mapreduce.*;<BR>import org.apache.hadoop.util.*;<BR>imp= ort=20 org.apache.hadoop.mapreduce.lib.input.*;<BR>import=20 org.apache.hadoop.mapreduce.lib.output.*;<BR><BR>public class WordCountMa= pper=20 extends org.apache.hadoop.mapreduce.Mapper &lt;LongWritable, Text, Text,= =20 IntWritable&gt; {<BR>&nbsp;private final IntWritable one =3D new=20 IntWritable(1);<BR>&nbsp;private Text word =3D new Text();<BR><BR>&nbsp;= =20 &nbsp;public void map(LongWritable key, Text value,=20 org.apache.hadoop.mapreduce.Mapper.Context context)<BR>&nbsp; &nbsp; &nbs= p;=20 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;throws=20 IOException, java.lang.InterruptedException {<BR>&nbsp; &nbsp;String line= =3D=20 value.toString();<BR>&nbsp; &nbsp;StringTokenizer itr =3D new=20 StringTokenizer(line.toLowerCase());<BR>&nbsp;=20 &nbsp;while(itr.hasMoreTokens()) {<BR>&nbsp; &nbsp;=20 &nbsp;word.set(itr.nextToken());<BR>&nbsp; &nbsp; &nbsp;context.write(wor= d,=20 one);<BR>&nbsp;=20 &nbsp;}<BR>&nbsp;}<BR>}<BR><BR>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%= %<BR><BR>contents=20 of WordCountReducer.java:<BR><BR>import java.io.*;<BR>import=20 java.util.*;<BR>import org.apache.hadoop.fs.Path;<BR>import=20 org.apache.hadoop.conf.*;<BR>import org.apache.hadoop.io.*;<BR>import=20 org.apache.hadoop.mapreduce.*;<BR>import org.apache.hadoop.util.*;<BR>imp= ort=20 org.apache.hadoop.mapreduce.lib.input.*;<BR>import=20 org.apache.hadoop.mapreduce.lib.output.*;<BR><BR>public class WordCountRe= ducer=20 extends Reducer&lt;Text, IntWritable, Text, IntWritable&gt; {<BR>&nbsp;=20 &nbsp;private IntWritable result =3D new IntWritable();<BR><BR>&nbsp;publ= ic void=20 reduce(Text key, Iterable&lt;IntWritable&gt; values,<BR>&nbsp; &nbsp; &nb= sp;=20 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=20 org.apache.hadoop.mapreduce.Mapper.Context context)<BR>&nbsp; &nbsp; &nbs= p;=20 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;throws=20 IOException, java.lang.InterruptedException {<BR>&nbsp; &nbsp;int sum =3D= =20 0;<BR>&nbsp; &nbsp;for (IntWritable val : values) {<BR>&nbsp; &nbsp; &nbs= p;int=20 value =3D val.get();<BR>&nbsp; &nbsp; &nbsp;sum +=3D value;<BR>&nbsp;=20 &nbsp;}<BR>&nbsp; &nbsp;result.set(sum);<BR>&nbsp; &nbsp;context.write(ke= y,=20 result);<BR>&nbsp;}<BR>}<BR><BR>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%= %%<BR></BLOCKQUOTE></DIV><BR></BODY></HTML> --_000_A632B3F93D861843A3C966F3962C3F84010639E135A1EMAIL05pnlg_-- From [email protected] Tue Feb 16 00:29:45 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14287 invoked from network); 16 Feb 2010 00:29:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Feb 2010 00:29:45 -0000 Received: (qmail 30131 invoked by uid 500); 16 Feb 2010 00:29:44 -0000 Delivered-To: [email protected] Received: (qmail 30041 invoked by uid 500); 16 Feb 2010 00:29:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30032 invoked by uid 99); 16 Feb 2010 00:29:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Feb 2010 00:29:44 +0000 X-ASF-Spam-Status: No, hits=-1.8 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO emailgw03.pnl.gov) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Feb 2010 00:29:34 +0000 X-IronPort-AV: E=Sophos;i="4.49,480,1262592000"; d="scan'208,217";a="15589752" Received: from emailhub02.pnl.gov ([161.129.204.104]) by emailgw03.pnl.gov with ESMTP/TLS/AES128-SHA; 15 Feb 2010 16:29:11 -0800 Received: from Email05.pnl.gov ([161.129.204.104]) by emailhub02.pnl.gov ([161.129.204.104]) with mapi; Mon, 15 Feb 2010 16:29:10 -0800 From: "Taylor, Ronald C" <[email protected]> To: "[email protected]" <[email protected]> CC: "Taylor, Ronald C" <[email protected]>, 'Aaron Kimball' <[email protected]> Date: Mon, 15 Feb 2010 16:29:09 -0800 Subject: RE: a question on WordCount program failure Thread-Topic: a question on WordCount program failure Thread-Index: Acqui19CgKguZbZBSC2gdLY544rX8wABe/DAAAKYjVA= Message-ID: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_A632B3F93D861843A3C966F3962C3F84010639E135A4EMAIL05pnlg_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_A632B3F93D861843A3C966F3962C3F84010639E135A4EMAIL05pnlg_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable As a reference for other new users of the API that comes with Hadoop 0.20 t= hat uses Context objects, I should clarify one thing, which may not have be= en clear from my earlier thank-you to Aaron: I found that using public void map(LongWritable key, Text value, org.apache.hadoop.mapreduc= e.Mapper.Context context) in the Mapper class and using public void reduce(Text key, Iterable<IntWritable> values, org.apache.h= adoop.mapreduce.Reducer.Context context) in the Reduce class does NOT work. The WordCount program that I tried only works if the methods= are started like so: public void map(LongWritable key, Text value, Context context) in the Mapper class and using public void reduce(Text key, Iterable<IntWritable> values, Context cont= ext) in the Reduce class That surprised me a bit, given how I interpreted Aaron's email, but there y= ou go. - Ron ________________________________ From: Taylor, Ronald C Sent: Monday, February 15, 2010 2:53 PM To: 'Aaron Kimball'; [email protected] Cc: Taylor, Ronald C Subject: RE: a question on WordCount program failure Aaron, I made the changes that you suggested and the program now runs fine. So - I= 'm off and running. Thanks very much! Ron ________________________________ From: Aaron Kimball [mailto:[email protected]] Sent: Monday, February 15, 2010 2:08 PM To: [email protected] Cc: Taylor, Ronald C Subject: Re: a question on WordCount program failure In your reducer method signature: public void reduce(Text key, Iterable<IntWritable> values, org.apache.hadoop.mapreduce. Mapper.Context context) ... why is this receiving a Mapper.Context? This means that it doesn't actu= ally override the default reduce() method. The default reduce() method is g= oing to be an identity reducer. Try adding an '@Override' decorator, and yo= u'll see that this suddenly won't compile (or will at least give you a warn= ing). That parameter should be a Reducer.Context. (Note that actually since WordC= ountMapper extends Mapper, and WordCountReducer extends Reducer, you should= just be able to write "Context" in both of those places and that'll be tha= t. e.g. public void map(LongWritable key, Text value, Context context) throws IOExc= eption, java.lang.InterruptedException { and public void reduce(Text key, Iterable<IntWritable> values, Context context)= throws IOException, java.lang.InterruptedException { I also noticed that the job configuration step doesn't actually set the num= ber of reduce tasks. It might be that you haven't configured it to run the = reducer in the first place. What happens if you add 'job.setNumReduceTasks(= 10)' to your main() method? - Aaron On Mon, Feb 15, 2010 at 12:27 AM, Taylor, Ronald C <[email protected]<m= ailto:[email protected]>> wrote: Hello, I just joined the list and got a newbie question. Operating on a 10-node Li= nux cluster running Hadoop 0.20.1, I've been trying out the WordCount progr= am. I have three files: WordCount.java, WordCountMapper.java, and WordCountRedu= cer.java. The contents of those three files are listed in [email protected]. Compilation, jarring and invocation appear to work fine, when done as follo= ws: javac WordCountMapper.java javac WordCountReducer.java javac WordCount.java jar cf jarredWordCount.jar WordCountMapper.class WordCountReducer.class Wor= dCount.class Invocation: hadoop jar jarredWordCount.jar WordCount "/user/rtaylor/WordCountInputDirec= tory" "/user/rtaylor/OutputDirectory" %%% However, the results are not what I expect. Here is partial listing from on= e of the output files: artillery 1 barged 1 call 1 coalition 1 coalition 1 demonstrated 1 get 1 has 1 has 1 I was expecting, for example, to get one line for "coalition", like so: coalition 2 Instead I get the two (non-summed) lines that you see above. I've tried several changes, with no effect. I still get the same (wrong) ou= tput with no word summation. This is trying me nuts, especially since I pre= sume that I am making a simple mistake that somebody should be able to be s= pot easily. So - please help! - Ron Taylor ___________________________________________ Ronald Taylor, Ph.D. Computational Biology & Bioinformatics Group Pacific Northwest National Lab= oratory 902 Battelle Boulevard P.O. Box 999, Mail Stop J4-33 Richland, WA 99352 USA Office: (582)335-6313 Email: [email protected]<mailto:[email protected]> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% contents of WordCount.java: import java.io.*; import java.util.*; import org.apache.hadoop.fs.Path; import org.apache.hadoop.conf.*; import org.apache.hadoop.io.*; import org.apache.hadoop.mapreduce.*; import org.apache.hadoop.util.*; import org.apache.hadoop.mapreduce.lib.input.*; import org.apache.hadoop.mapreduce.lib.output.*; public class WordCount { public static void main(String[] args) throws java.io.IOException, java.lang.InterruptedException, java.lang.ClassNotFoundException { org.apache.hadoop.conf.Configuration conf =3D new org.apache.hadoop.conf= .Configuration(); String[] otherArgs =3D new org.apache.hadoop.util.GenericOptionsParser(c= onf, args).getRemainingArgs(); if (otherArgs.length !=3D 2) { System.err.println("Error in parameter inputs - Usage: WordCoun= t <in> <out>"); System.exit(2); } String inputDirectory =3D otherArgs[0]; String outputDirectory =3D otherArgs[1]; Job job =3D new Job(conf, "WordCount"); job.setJarByClass(WordCount.class); job.setMapperClass(WordCountMapper.class); job.setCombinerClass(WordCountReducer.class); job.setReducerClass(WordCountReducer.class); job.setOutputKeyClass(Text.class); job.setOutputValueClass(IntWritable.class); FileInputFormat.addInputPath(job, new Path(inputDirectory)); FileOutputFormat.setOutputPath(job, new Path(outputDirectory)); System.exit(job.waitForCompletion(true) ? 0 : 1); } } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% contents of WordCountMapper.java: import java.io.*; import java.util.*; import org.apache.hadoop.fs.Path; import org.apache.hadoop.conf.*; import org.apache.hadoop.io.*; import org.apache.hadoop.mapreduce.*; import org.apache.hadoop.util.*; import org.apache.hadoop.mapreduce.lib.input.*; import org.apache.hadoop.mapreduce.lib.output.*; public class WordCountMapper extends org.apache.hadoop.mapreduce.Mapper <Lo= ngWritable, Text, Text, IntWritable> { private final IntWritable one =3D new IntWritable(1); private Text word =3D new Text(); public void map(LongWritable key, Text value, org.apache.hadoop.mapreduc= e.Mapper.Context context) throws IOException, java.lang.InterruptedException { String line =3D value.toString(); StringTokenizer itr =3D new StringTokenizer(line.toLowerCase()); while(itr.hasMoreTokens()) { word.set(itr.nextToken()); context.write(word, one); } } } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% contents of WordCountReducer.java: import java.io.*; import java.util.*; import org.apache.hadoop.fs.Path; import org.apache.hadoop.conf.*; import org.apache.hadoop.io.*; import org.apache.hadoop.mapreduce.*; import org.apache.hadoop.util.*; import org.apache.hadoop.mapreduce.lib.input.*; import org.apache.hadoop.mapreduce.lib.output.*; public class WordCountReducer extends Reducer<Text, IntWritable, Text, IntW= ritable> { private IntWritable result =3D new IntWritable(); public void reduce(Text key, Iterable<IntWritable> values, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, java.lang.InterruptedException { int sum =3D 0; for (IntWritable val : values) { int value =3D val.get(); sum +=3D value; } result.set(sum); context.write(key, result); } } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% --_000_A632B3F93D861843A3C966F3962C3F84010639E135A4EMAIL05pnlg_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Dus-ascii" http-equiv=3DContent-Type> <META name=3DGENERATOR content=3D"MSHTML 8.00.6001.18876"></HEAD> <BODY> <DIV dir=3Dltr align=3Dleft><SPAN class=3D001050500-16022010><FONT size=3D2= ><FONT=20 face=3DArial>As a reference for other new users of the API that comes with = Hadoop=20 0.20 that uses Context objects, I should clarify one thing, which may not h= ave=20 been clear from my earlier thank-you to Aaron:</FONT></FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><FONT size=3D2 face=3DArial><SPAN=20 class=3D001050500-16022010></SPAN></FONT>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><FONT size=3D2 face=3DArial><SPAN class=3D00105= 0500-16022010>I=20 found that using</SPAN></FONT></DIV> <DIV dir=3Dltr align=3Dleft><FONT size=3D2 face=3DArial><SPAN=20 class=3D001050500-16022010>&nbsp;&nbsp; <FONT size=3D3 face=3D"Times New Ro= man">public=20 void map(LongWritable key, Text value,=20 org.apache.hadoop.mapreduce.</FONT>Mapper.Context context)</SPAN></FONT></D= IV> <DIV dir=3Dltr align=3Dleft><FONT size=3D2 face=3DArial><SPAN=20 class=3D001050500-16022010>in the Mapper class</SPAN></FONT></DIV> <DIV dir=3Dltr align=3Dleft><FONT size=3D2 face=3DArial><SPAN=20 class=3D001050500-16022010></SPAN></FONT>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><FONT size=3D2 face=3DArial><SPAN=20 class=3D001050500-16022010>and using </SPAN></FONT></DIV> <DIV><FONT size=3D2 face=3DArial><SPAN class=3D001050500-16022010>&nbsp;&nb= sp;&nbsp;=20 <FONT size=3D3 face=3D"Times New Roman">public void reduce(Text key,=20 Iterable&lt;IntWritable&gt; values,=20 org.apache.hadoop.mapreduce.Reducer</FONT>.Context context)</SPAN></FONT></= DIV> <DIV><FONT size=3D2 face=3DArial><SPAN class=3D001050500-16022010>in the Re= duce=20 class</SPAN></FONT></DIV> <DIV><FONT size=3D2 face=3DArial><SPAN=20 class=3D001050500-16022010></SPAN></FONT>&nbsp;</DIV> <DIV><FONT size=3D2 face=3DArial><SPAN class=3D001050500-16022010>does NOT = work. The=20 WordCount program that I tried only works if the methods are started like=20 so:</SPAN></FONT></DIV> <DIV><FONT size=3D2 face=3DArial><SPAN=20 class=3D001050500-16022010></SPAN></FONT>&nbsp;</DIV> <DIV><FONT size=3D2 face=3DArial><SPAN class=3D001050500-16022010><FONT siz= e=3D3=20 face=3D"Times New Roman">&nbsp; public void map(LongWritable key, Text valu= e,=20 </FONT>Context context) <DIV dir=3Dltr align=3Dleft><FONT size=3D2 face=3DArial><SPAN=20 class=3D001050500-16022010>in the Mapper class</SPAN></FONT></DIV> <DIV dir=3Dltr align=3Dleft><FONT size=3D2 face=3DArial><SPAN=20 class=3D001050500-16022010></SPAN></FONT>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><FONT size=3D2 face=3DArial><SPAN=20 class=3D001050500-16022010>and using </SPAN></FONT></DIV> <DIV><FONT size=3D2 face=3DArial><SPAN class=3D001050500-16022010>&nbsp;&nb= sp;&nbsp;=20 <FONT size=3D3 face=3D"Times New Roman">public void reduce(Text key,=20 Iterable&lt;IntWritable&gt; values, </FONT>Context context)</SPAN></FONT></= DIV> <DIV><FONT size=3D2 face=3DArial><SPAN class=3D001050500-16022010>in the Re= duce=20 class</SPAN></FONT></DIV> <DIV><FONT size=3D2 face=3DArial><SPAN=20 class=3D001050500-16022010></SPAN></FONT>&nbsp;</DIV> <DIV><FONT size=3D2 face=3DArial><SPAN class=3D001050500-16022010>That surp= rised me a=20 bit, given how I interpreted Aaron's email, but there you=20 go.</SPAN></FONT></DIV> <DIV><FONT size=3D2 face=3DArial><SPAN=20 class=3D001050500-16022010></SPAN></FONT>&nbsp;</DIV> <DIV><FONT size=3D2 face=3DArial><SPAN class=3D001050500-16022010>&nbsp;- R= on=20 </SPAN></FONT></DIV> <DIV><FONT size=3D2 face=3DArial><SPAN=20 class=3D001050500-16022010></SPAN></FONT>&nbsp;</DIV></SPAN></FONT></DIV> <DIV dir=3Dltr lang=3Den-us class=3DOutlookMessageHeader align=3Dleft> <HR tabIndex=3D-1> <FONT size=3D2 face=3DTahoma><B>From:</B> Taylor, Ronald C <BR><B>Sent:</B>= Monday,=20 February 15, 2010 2:53 PM<BR><B>To:</B> 'Aaron Kimball';=20 [email protected]<BR><B>Cc:</B> Taylor, Ronald=20 C<BR><B>Subject:</B> RE: a question on WordCount program=20 failure<BR></FONT><BR></DIV> <DIV></DIV> <DIV dir=3Dltr align=3Dleft><FONT color=3D#0000ff size=3D2 face=3DArial><SP= AN=20 class=3D279455022-15022010>Aaron,</SPAN></FONT></DIV> <DIV dir=3Dltr align=3Dleft><FONT color=3D#0000ff size=3D2 face=3DArial><SP= AN=20 class=3D279455022-15022010></SPAN></FONT>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><FONT color=3D#0000ff size=3D2 face=3DArial><SP= AN=20 class=3D279455022-15022010>I made the changes that you suggested and the pr= ogram=20 now runs fine. So - I'm off and running. Thanks very much!</SPAN></FONT></D= IV> <DIV dir=3Dltr align=3Dleft><FONT color=3D#0000ff size=3D2 face=3DArial><SP= AN=20 class=3D279455022-15022010>&nbsp;Ron</SPAN></FONT></DIV><BR> <DIV dir=3Dltr lang=3Den-us class=3DOutlookMessageHeader align=3Dleft> <HR tabIndex=3D-1> <FONT size=3D2 face=3DTahoma><B>From:</B> Aaron Kimball [mailto:aaron@cloud= era.com]=20 <BR><B>Sent:</B> Monday, February 15, 2010 2:08 PM<BR><B>To:</B>=20 [email protected]<BR><B>Cc:</B> Taylor, Ronald=20 C<BR><B>Subject:</B> Re: a question on WordCount program=20 failure<BR></FONT><BR></DIV> <DIV></DIV>In your reducer method signature:<BR><BR>&nbsp;public void=20 reduce(Text key, Iterable&lt;IntWritable&gt; values,<BR>&nbsp; &nbsp; &nbsp= ;=20 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; org.apache.hadoop.mapreduc= e.=20 <DIV id=3D:u3 class=3D"ii gt">Mapper.Context context)</DIV><BR><BR>... why = is this=20 receiving a Mapper.Context? This means that it doesn't actually override th= e=20 default reduce() method. The default reduce() method is going to be an iden= tity=20 reducer. Try adding an '@Override' decorator, and you'll see that this sudd= enly=20 won't compile (or will at least give you a warning).<BR><BR>That parameter= =20 should be a Reducer.Context. (Note that actually since WordCountMapper exte= nds=20 Mapper, and WordCountReducer extends Reducer, you should just be able to wr= ite=20 "Context" in both of those places and that'll be that.<BR><BR>e.g.<BR>publi= c=20 void map(LongWritable key, Text value, Context context) throws IOException,= =20 java.lang.InterruptedException {<BR><BR>and<BR>public void reduce(Text key,= =20 Iterable&lt;IntWritable&gt; values, Context context) throws IOException,=20 java.lang.InterruptedException {<BR><BR>I also noticed that the job=20 configuration step doesn't actually set the number of reduce tasks. It migh= t be=20 that you haven't configured it to run the reducer in the first place. What= =20 happens if you add 'job.setNumReduceTasks(10)' to your main() method?<BR><B= R>-=20 Aaron<BR><BR> <DIV class=3Dgmail_quote>On Mon, Feb 15, 2010 at 12:27 AM, Taylor, Ronald C= <SPAN=20 dir=3Dltr>&lt;<A=20 href=3D"mailto:[email protected]">[email protected]</A>&gt;</SPAN>= =20 wrote:<BR> <BLOCKQUOTE=20 style=3D"BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex= ; PADDING-LEFT: 1ex"=20 class=3Dgmail_quote><BR>Hello,<BR><BR>I just joined the list and got a newb= ie=20 question. Operating on a 10-node Linux cluster running Hadoop 0.20.1, I'v= e=20 been trying out the WordCount program.<BR><BR>I have three files:=20 WordCount.java, WordCountMapper.java, and WordCountReducer.java. The cont= ents=20 of those three files are listed in [email protected].<BR><BR>Compilation, ja= rring=20 and invocation appear to work fine, when done as follows:<BR><BR>javac=20 WordCountMapper.java<BR>javac WordCountReducer.java<BR>javac=20 WordCount.java<BR><BR>jar cf jarredWordCount.jar WordCountMapper.class=20 WordCountReducer.class WordCount.class<BR><BR>Invocation:<BR>hadoop jar=20 jarredWordCount.jar WordCount "/user/rtaylor/WordCountInputDirectory"=20 "/user/rtaylor/OutputDirectory"<BR><BR>%%%<BR><BR>However, the results ar= e not=20 what I expect. Here is partial listing from one of the output=20 files:<BR><BR>artillery &nbsp; &nbsp; &nbsp; 1<BR>barged &nbsp;1<BR>call= =20 &nbsp; &nbsp;1<BR>coalition &nbsp; &nbsp; &nbsp; 1<BR>coalition &nbsp; &n= bsp;=20 &nbsp; 1<BR>demonstrated &nbsp; &nbsp;1<BR>get &nbsp; &nbsp; 1<BR>has &nb= sp;=20 &nbsp; 1<BR>has &nbsp; &nbsp; 1<BR><BR>I was expecting, for example, to g= et=20 one line for "coalition", &nbsp;like so:<BR><BR>coalition 2<BR><BR>Instea= d I=20 get the two (non-summed) lines that you see above.<BR><BR>I've tried seve= ral=20 changes, with no effect. I still get the same (wrong) output with no word= =20 summation. This is trying me nuts, especially since I presume that I am m= aking=20 a simple mistake that somebody should be able to be spot easily. So - ple= ase=20 help!<BR><BR>&nbsp; - Ron=20 Taylor<BR>___________________________________________<BR>Ronald Taylor,=20 Ph.D.<BR>Computational Biology &amp; Bioinformatics Group Pacific Northwe= st=20 National Laboratory<BR>902 Battelle Boulevard<BR>P.O. Box 999, Mail Stop= =20 J4-33<BR>Richland, WA &nbsp;99352 USA<BR>Office: &nbsp;(582)335-6313<BR>Em= ail:=20 <A=20 href=3D"mailto:[email protected]">[email protected]</A><BR><BR>%%= %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<BR><BR>contents=20 of WordCount.java:<BR><BR>import java.io.*;<BR>import java.util.*;<BR>imp= ort=20 org.apache.hadoop.fs.Path;<BR>import org.apache.hadoop.conf.*;<BR>import= =20 org.apache.hadoop.io.*;<BR>import org.apache.hadoop.mapreduce.*;<BR>impor= t=20 org.apache.hadoop.util.*;<BR>import=20 org.apache.hadoop.mapreduce.lib.input.*;<BR>import=20 org.apache.hadoop.mapreduce.lib.output.*;<BR><BR>public class WordCount=20 {<BR><BR>&nbsp; &nbsp;public static void main(String[] args)<BR>&nbsp; &n= bsp;=20 &nbsp; &nbsp;throws java.io.IOException,<BR>&nbsp; &nbsp; &nbsp; &nbsp; &= nbsp;=20 &nbsp; &nbsp; java.lang.InterruptedException,<BR>&nbsp; &nbsp; &nbsp; &nb= sp;=20 &nbsp; &nbsp; &nbsp; java.lang.ClassNotFoundException {<BR><BR>&nbsp;=20 &nbsp;org.apache.hadoop.conf.Configuration conf =3D new=20 org.apache.hadoop.conf.Configuration();<BR><BR>&nbsp; &nbsp;String[] othe= rArgs=20 =3D new org.apache.hadoop.util.GenericOptionsParser(conf,=20 args).getRemainingArgs();<BR>&nbsp; &nbsp; &nbsp; if (otherArgs.length != =3D 2)=20 {<BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.err.println("Error = in=20 parameter inputs - Usage: WordCount &lt;in&gt; &lt;out&gt;");<BR>&nbsp; &= nbsp;=20 &nbsp; &nbsp; &nbsp; &nbsp; System.exit(2);<BR>&nbsp; &nbsp; &nbsp;=20 }<BR>&nbsp; &nbsp;String inputDirectory &nbsp; =3D otherArgs[0];<BR>&nbsp= ;=20 &nbsp;String outputDirectory &nbsp;=3D otherArgs[1];<BR><BR>&nbsp; &nbsp;= Job job=20 =3D new Job(conf, "WordCount");<BR>&nbsp;=20 &nbsp;job.setJarByClass(WordCount.class);<BR>&nbsp;=20 &nbsp;job.setMapperClass(WordCountMapper.class);<BR>&nbsp;=20 &nbsp;job.setCombinerClass(WordCountReducer.class);<BR>&nbsp;=20 &nbsp;job.setReducerClass(WordCountReducer.class);<BR>&nbsp;=20 &nbsp;job.setOutputKeyClass(Text.class);<BR>&nbsp;=20 &nbsp;job.setOutputValueClass(IntWritable.class);<BR>&nbsp;=20 &nbsp;FileInputFormat.addInputPath(job, new Path(inputDirectory));<BR>&nb= sp;=20 &nbsp;FileOutputFormat.setOutputPath(job, new=20 Path(outputDirectory));<BR>&nbsp;=20 &nbsp;System.exit(job.waitForCompletion(true) ? 0 :=20 1);<BR>&nbsp;}<BR><BR>}<BR><BR>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%= %<BR><BR>contents=20 of WordCountMapper.java:<BR><BR>import java.io.*;<BR>import=20 java.util.*;<BR>import org.apache.hadoop.fs.Path;<BR>import=20 org.apache.hadoop.conf.*;<BR>import org.apache.hadoop.io.*;<BR>import=20 org.apache.hadoop.mapreduce.*;<BR>import org.apache.hadoop.util.*;<BR>imp= ort=20 org.apache.hadoop.mapreduce.lib.input.*;<BR>import=20 org.apache.hadoop.mapreduce.lib.output.*;<BR><BR>public class WordCountMa= pper=20 extends org.apache.hadoop.mapreduce.Mapper &lt;LongWritable, Text, Text,= =20 IntWritable&gt; {<BR>&nbsp;private final IntWritable one =3D new=20 IntWritable(1);<BR>&nbsp;private Text word =3D new Text();<BR><BR>&nbsp;= =20 &nbsp;public void map(LongWritable key, Text value,=20 org.apache.hadoop.mapreduce.Mapper.Context context)<BR>&nbsp; &nbsp; &nbs= p;=20 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;throws=20 IOException, java.lang.InterruptedException {<BR>&nbsp; &nbsp;String line= =3D=20 value.toString();<BR>&nbsp; &nbsp;StringTokenizer itr =3D new=20 StringTokenizer(line.toLowerCase());<BR>&nbsp;=20 &nbsp;while(itr.hasMoreTokens()) {<BR>&nbsp; &nbsp;=20 &nbsp;word.set(itr.nextToken());<BR>&nbsp; &nbsp; &nbsp;context.write(wor= d,=20 one);<BR>&nbsp;=20 &nbsp;}<BR>&nbsp;}<BR>}<BR><BR>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%= %<BR><BR>contents=20 of WordCountReducer.java:<BR><BR>import java.io.*;<BR>import=20 java.util.*;<BR>import org.apache.hadoop.fs.Path;<BR>import=20 org.apache.hadoop.conf.*;<BR>import org.apache.hadoop.io.*;<BR>import=20 org.apache.hadoop.mapreduce.*;<BR>import org.apache.hadoop.util.*;<BR>imp= ort=20 org.apache.hadoop.mapreduce.lib.input.*;<BR>import=20 org.apache.hadoop.mapreduce.lib.output.*;<BR><BR>public class WordCountRe= ducer=20 extends Reducer&lt;Text, IntWritable, Text, IntWritable&gt; {<BR>&nbsp;=20 &nbsp;private IntWritable result =3D new IntWritable();<BR><BR>&nbsp;publ= ic void=20 reduce(Text key, Iterable&lt;IntWritable&gt; values,<BR>&nbsp; &nbsp; &nb= sp;=20 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=20 org.apache.hadoop.mapreduce.Mapper.Context context)<BR>&nbsp; &nbsp; &nbs= p;=20 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;throws=20 IOException, java.lang.InterruptedException {<BR>&nbsp; &nbsp;int sum =3D= =20 0;<BR>&nbsp; &nbsp;for (IntWritable val : values) {<BR>&nbsp; &nbsp; &nbs= p;int=20 value =3D val.get();<BR>&nbsp; &nbsp; &nbsp;sum +=3D value;<BR>&nbsp;=20 &nbsp;}<BR>&nbsp; &nbsp;result.set(sum);<BR>&nbsp; &nbsp;context.write(ke= y,=20 result);<BR>&nbsp;}<BR>}<BR><BR>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%= %%<BR></BLOCKQUOTE></DIV><BR></BODY></HTML> --_000_A632B3F93D861843A3C966F3962C3F84010639E135A4EMAIL05pnlg_-- From [email protected] Wed Feb 17 00:55:40 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55286 invoked from network); 17 Feb 2010 00:55:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Feb 2010 00:55:40 -0000 Received: (qmail 62316 invoked by uid 500); 17 Feb 2010 00:55:37 -0000 Delivered-To: [email protected] Received: (qmail 62169 invoked by uid 500); 17 Feb 2010 00:55:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 62150 invoked by uid 99); 17 Feb 2010 00:55:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 00:55:37 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iw0-f173.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 00:55:29 +0000 Received: by iwn3 with SMTP id 3so4841329iwn.23 for <multiple recipients>; Tue, 16 Feb 2010 16:55:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=OE2tdcIgWYDgoVzBTNOY/45wLc/K8vMJH6N+BLxMxuw=; b=gB1TDNKawkxq1daUDc6XggJQk8oJonst4K0MJ0WuzDYKe5lnz5FYEk7BzTa65eD1IM krXeglR17ZpRYlF2Pa9SNHN4zF2NnLDcq0nQLlu+d7qH6PaadcydFuOdslo/7tQhTVx3 jI5k+Ua9bL6iQ1LBt5hRkGmNrikQR4HjBZNPE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=nwO28dSzm4XA6L/iNRRxQwQ+cGSiYeuLnKCaSDG0wFKy1OsGHTTtqBSN3AOS6TNwSK 58c5ONTvunzc1+AmRHEGgYMsuk69miTZ/RoV9kxXrgKJododppgEFoCxK7brySBYz4uA tfE+ZV7uGDFmfnVkm+NZ2GvpyS03jjrRswUsc= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id h2mr2136149ibv.43.1266368107888; Tue, 16 Feb 2010 16:55:07 -0800 (PST) From: Raghava Mutharaju <[email protected]> Date: Tue, 16 Feb 2010 19:54:46 -0500 Message-ID: <[email protected]> Subject: appending to files on HDFS To: [email protected], [email protected] Content-Type: multipart/alternative; boundary=0016e64ea92239c227047fc14def X-Virus-Checked: Checked by ClamAV on apache.org --0016e64ea92239c227047fc14def Content-Type: text/plain; charset=ISO-8859-1 Hi all, I am using hadoop 0.20.1 version. I am trying to append some content from a file on HDFS to another file on HDFS. I am using FileSystem.append() method to get the stream and then passed it to IOUtils.copyBytes() method. I got the following exception org.apache.hadoop.ipc.RemoteException: java.io.IOException: Append to hdfs not supported. Please refer to dfs.support.append configuration parameter. I set the dfs.support.append to true in hdfs-site.xml. I restarted hadoop (stop-all & start-all) after this. Even after this, I am getting the above exception. Where am I going wrong? Thank you for your suggestions. Regards, Raghava. --0016e64ea92239c227047fc14def Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi all,<br> <br> =A0=A0=A0=A0=A0 I am using hadoop 0.20.1 version. I am trying to append som= e content from a file on HDFS to another file on HDFS. I am using FileSystem.append() method to get the stream and then passed it to IOUtils.copyBytes() method. I got the following exception<br> <br> <br> org.apache.hadoop.ipc.RemoteException: java.io.IOException: Append to hdfs not supported. Please refer to dfs.support.append configuration parameter.<br> <br> <br> I set the dfs.support.append to true in hdfs-site.xml. I restarted hadoop (stop-all &amp; start-all) after this. Even after this, I am getting the above exception. <br> <br> Where am I going wrong?<br> <br> Thank you for your suggestions.<br> <br> Regards,<br> Raghava.<br> --0016e64ea92239c227047fc14def-- From [email protected] Wed Feb 17 10:35:14 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11450 invoked from network); 17 Feb 2010 10:35:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Feb 2010 10:35:14 -0000 Received: (qmail 23077 invoked by uid 500); 17 Feb 2010 10:35:13 -0000 Delivered-To: [email protected] Received: (qmail 23008 invoked by uid 500); 17 Feb 2010 10:35:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 22999 invoked by uid 99); 17 Feb 2010 10:35:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 10:35:12 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO fg-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 10:35:04 +0000 Received: by fg-out-1718.google.com with SMTP id e21so492639fga.11 for <[email protected]>; Wed, 17 Feb 2010 02:34:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=jfCde5CrR67yCA4unDk8BczflA/wM8h8ar9gCdFdeW4=; b=jMTBKeGbRiS8hjhJa4PpkZDs8BKTNd+0sK5gAaF1u4nRP+kF4mQc6SEj58TOojrgsv pxBlViT2BWCKg5g1JxS1X+cC11qf31hQa+uVp2/YxfJYYlCklAOAEhqziE7rGkO35h/F BT5sD6vJJ9kmnQuIvjzUvpZg6WDJkr3YPIx1Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=NGe9P9jRxplXmVciiG0jarRFH7TNhBMT3tCzjxLL+dGRcr7Tv4kJO9LqYVx7mrCS49 kYf6VFzOyTq8encnCFCurvtfH4+puusRtqz3VpwxrHPpQkd9XSL68YK3asFmiodJjHJK yI8cNbkHmhn07rmbjznKGWaNu/FkSGMDZFZYY= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id c18mr823062hbc.73.1266402884211; Wed, 17 Feb 2010 02:34:44 -0800 (PST) Date: Wed, 17 Feb 2010 10:34:44 +0000 Message-ID: <[email protected]> Subject: Where duplicated data is ignored? From: psdc1978 <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016364592e00e597e047fc9666a X-Virus-Checked: Checked by ClamAV on apache.org --0016364592e00e597e047fc9666a Content-Type: text/plain; charset=ISO-8859-1 Hi, In Hadoop MapRed, when I define the number of reduce tasks to run, <property> <name>mapred.reduce.tasks</name> <value>3</value> </property> I've noticed that during the execution of an MapRed example, the Reduces threads request 9 times the MapOutputServlet on the TaskTracker. The value 9 comes from the 3 reduces tasks times 3 splits that exist that have map output. The purpose of MapOutputServlet is to give the map output data to a reduce thread. Since the merge result from my example - btw the example is the one that counts words - doesn't contain duplicated data, where the duplicated data is ignored? - Is it by the MapOutputServlet that detects that the split was already requested? - Is it by the Reduce task after retrieving data from the MapOutputServlet and before the merging phase? - Is it during the merging phase? Thanks for the help, -- Pedro --0016364592e00e597e047fc9666a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,<br><br>In Hadoop MapRed, when I define the number of reduce tasks to ru= n,<br><br>&lt;property&gt;<br>=A0=A0=A0=A0=A0=A0=A0 &lt;name&gt;mapred.redu= ce.tasks&lt;/name&gt;<br>=A0=A0=A0=A0=A0=A0=A0 &lt;value&gt;3&lt;/value&gt;= <br>&lt;/property&gt;<br> <br>I&#39;ve noticed that during the execution of an MapRed example, the Re= duces threads request 9 times the MapOutputServlet on the TaskTracker. The = value 9 comes from the 3 reduces tasks times 3 splits that exist that have = map output. The purpose of MapOutputServlet is to give the map output data = to a reduce thread.<br> <br>Since the merge result from my example - btw the example is the one tha= t counts words - doesn&#39;t contain duplicated data, where the duplicated = data is ignored?<br><br>- Is it by the MapOutputServlet that detects that t= he split was already requested?<br> - Is it by the Reduce task after retrieving data from the MapOutputServlet = and before the merging phase?<br>- Is it during the merging phase?<br><br>T= hanks for the help,<br clear=3D"all"><br>-- <br>Pedro<br> --0016364592e00e597e047fc9666a-- From [email protected] Thu Feb 18 15:40:02 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65792 invoked from network); 18 Feb 2010 15:40:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Feb 2010 15:40:02 -0000 Received: (qmail 97914 invoked by uid 500); 18 Feb 2010 15:40:01 -0000 Delivered-To: [email protected] Received: (qmail 97854 invoked by uid 500); 18 Feb 2010 15:40:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 97845 invoked by uid 99); 18 Feb 2010 15:40:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2010 15:40:00 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO gv-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2010 15:39:50 +0000 Received: by gv-out-0910.google.com with SMTP id n40so388723gve.4 for <[email protected]>; Thu, 18 Feb 2010 07:39:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=byjIk2Hk5LmdDHS5vbQ/bzGpK2KAAiMXCxM8AReoMtE=; b=kGuAkHQbjIXbFOkb8DMdVH3QUiMp4GmyEifaWRnVl/J4hQs5WraDVdkApo54/xmKbK x8ajIioa9ORxGDsfkQ+U/IEquGgJR7Hb7ETzMA6e/QR/bT/PrJQ/TQa1rGq3IIzB1hp4 d+2Sps35eeh4bNDrdQ9hrQk6mCU6ZW2z4gVd4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=KYQzgsKaP7lZoj6dM1A+aQACaagv0f9Ks7PU77bagoOMdGxLomZdMn7Ry6dzNJdanQ QGb1mX3b57bzubF3QbKOHX9g6OS3XfsFzY/gId8txPmdQyq8IcVar7MLnQRpXsYsbx70 qpzMUXYaPvgiDEVONOVswZyyVdhLwrY/wnNhA= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id j40mr7108449mug.65.1266507569136; Thu, 18 Feb 2010 07:39:29 -0800 (PST) From: Rob Stewart <[email protected]> Date: Thu, 18 Feb 2010 15:39:09 +0000 Message-ID: <[email protected]> Subject: Setting #Reducers at runtime To: [email protected] Content-Type: multipart/alternative; boundary=001636416d21c3883d047fe1c5b9 X-Virus-Checked: Checked by ClamAV on apache.org --001636416d21c3883d047fe1c5b9 Content-Type: text/plain; charset=ISO-8859-1 Hi there, I am using Hadoop 0.20.1 and I am trying to submit jobs to the cluster as jars. Here's what I'm trying to do: > hadoop jar $hadoopPath/hadoop-*-examples.jar join -Dmapred.reduce.tasks=10 -inFormat org.apache.hadoop.mapred.KeyValueTextInputFormat -outKey org.apache.hadoop.io.Text file1.dat file2.dat output.dat However, my parameter setting of attempting to state 10 reducers for the job is not being honoured by Hadoop, instead choosing some other number. Where am I going wrong here? I do not want to have to change this value in hadoop/conf.*.xml files, as I am attempting to show the expressive power of Hadoop. Note: The power to specify the number or reducers in possible in both Pig and Hive. Thanks, Rob Stewart --001636416d21c3883d047fe1c5b9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi there,<div><br></div><div>I am using Hadoop 0.20.1 and I am trying to su= bmit jobs to the cluster as jars.</div><div><br></div><div>Here&#39;s what = I&#39;m trying to do:</div><div><br></div><div>&gt; hadoop jar $hadoopPath/= hadoop-*-examples.jar join -Dmapred.reduce.tasks=3D10 -inFormat org.apache.= hadoop.mapred.KeyValueTextInputFormat =A0-outKey org.apache.hadoop.io.Text = file1.dat file2.dat output.dat</div> <div><br></div><div><br></div><div>However, my parameter setting of attempt= ing to state 10 reducers for the job is not being honoured by Hadoop, inste= ad choosing some other number. Where am I going wrong here? I do not want t= o have to change this value in hadoop/conf.*.xml files, as I am attempting = to show the expressive power of Hadoop. Note: The power to specify the numb= er or reducers in possible in both Pig and Hive.</div> <div><br></div><div><br></div><div>Thanks,</div><div><br></div><div><br></d= iv><div>Rob Stewart</div> --001636416d21c3883d047fe1c5b9-- From [email protected] Thu Feb 18 16:09:27 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77914 invoked from network); 18 Feb 2010 16:09:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Feb 2010 16:09:27 -0000 Received: (qmail 56255 invoked by uid 500); 18 Feb 2010 16:09:27 -0000 Delivered-To: [email protected] Received: (qmail 56190 invoked by uid 500); 18 Feb 2010 16:09:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 56176 invoked by uid 99); 18 Feb 2010 16:09:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2010 16:09:27 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO vc136.vc.panix.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2010 16:09:19 +0000 Received: from localhost (localhost [161.129.204.104]) by vc136.vc.panix.com (Postfix) with ESMTP id BE9CADC3B5 for <[email protected]>; Thu, 18 Feb 2010 11:08:56 -0500 (EST) Received: from vc136.vc.panix.com ([161.129.204.104]) by localhost (vc136.vc.panix.com [161.129.204.104]) (amavisd-new, port 10024) with LMTP id BFzQhjwX5fSr for <[email protected]>; Thu, 18 Feb 2010 11:08:50 -0500 (EST) Received: from esammer-domdex.local (pool-96-246-67-178.nycmny.east.verizon.net [161.129.204.104]) by vc136.vc.panix.com (Postfix) with ESMTP id 2A11BDC380 for <[email protected]>; Thu, 18 Feb 2010 11:08:50 -0500 (EST) Message-ID: <[email protected]> Date: Thu, 18 Feb 2010 11:08:43 -0500 From: "E. Sammer" <[email protected]> User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: [email protected] Subject: Re: Setting #Reducers at runtime References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2/18/10 10:39 AM, Rob Stewart wrote: > Hi there, > > I am using Hadoop 0.20.1 and I am trying to submit jobs to the cluster > as jars. > > Here's what I'm trying to do: > > > hadoop jar $hadoopPath/hadoop-*-examples.jar join > -Dmapred.reduce.tasks=10 -inFormat > org.apache.hadoop.mapred.KeyValueTextInputFormat -outKey > org.apache.hadoop.io.Text file1.dat file2.dat output.dat > > > However, my parameter setting of attempting to state 10 reducers for the > job is not being honoured by Hadoop, instead choosing some other number. > Where am I going wrong here? I do not want to have to change this value > in hadoop/conf.*.xml files, as I am attempting to show the expressive > power of Hadoop. Note: The power to specify the number or reducers in > possible in both Pig and Hive. > > > Thanks, > > > Rob Stewart Rob: It's possible that something inside the jar is calling JobConf.setNumReducers(x) after it parses the command line args. That would cause this type of behavior. I haven't looked at the source for the join example to confirm this, though. Regards. -- Eric Sammer [email protected] http://esammer.blogspot.com From [email protected] Thu Feb 18 16:25:15 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82668 invoked from network); 18 Feb 2010 16:25:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Feb 2010 16:25:15 -0000 Received: (qmail 82486 invoked by uid 500); 18 Feb 2010 16:25:15 -0000 Delivered-To: [email protected] Received: (qmail 82451 invoked by uid 500); 18 Feb 2010 16:25:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 82442 invoked by uid 99); 18 Feb 2010 16:25:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2010 16:25:14 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-vw0-f48.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2010 16:25:05 +0000 Received: by vws13 with SMTP id 13so1365626vws.35 for <[email protected]>; Thu, 18 Feb 2010 08:24:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=L3okV6E06YQYBqa+ra04470n1bWrlgEZ0pHKZ1wCNYg=; b=Wm7M/OFHNlwV4YvvgsirdqqiI12rVs3oLRo44xlwLV9E6aGdlx2BrfG9rtrXe7Qzfi Un/1I9Yo6HJOxoBzHJzsM4fp3ep0WFjJn2iIWMypBSCRSTwmacoA7ltVrCjFMyRD2NSw pd/4/LlCfdC4YASaHkh4xHCfTprv6i46mB/5A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=UFe+OKWihbEcZxTe2VdJV9b8UqoZqYK+tuK80x9EaPtGbN+a6PDMJSUuwphijLh7Lj v7VbwjakS58itR97hoEOZslXGKX2ywteDENpvI0pULQ0rOSWjRlQnXbJTLd0vX8ZeIZj VqeAKW8t5chiLLA3IrESbI767mYnmpIDD3Hvc= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id c40mr7103321mun.73.1266510283724; Thu, 18 Feb 2010 08:24:43 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> From: Rob Stewart <[email protected]> Date: Thu, 18 Feb 2010 16:24:22 +0000 Message-ID: <[email protected]> Subject: Re: Setting #Reducers at runtime To: [email protected] Content-Type: multipart/alternative; boundary=0016e65aef2a90f70e047fe267fc --0016e65aef2a90f70e047fe267fc Content-Type: text/plain; charset=ISO-8859-1 Hi Eric, thanks. It appears not: ---------------- JobConf jobConf = new JobConf(getConf(), Sort.class); jobConf.setJobName("join"); jobConf.setMapperClass(IdentityMapper.class); jobConf.setReducerClass(IdentityReducer.class); JobClient client = new JobClient(jobConf); ClusterStatus cluster = client.getClusterStatus(); int num_maps = cluster.getTaskTrackers() * jobConf.getInt("test.sort.maps_per_host", 10); int num_reduces = (int) (cluster.getMaxReduceTasks() * 0.9); String sort_reduces = jobConf.get("test.sort.reduces_per_host"); if (sort_reduces != null) { num_reduces = cluster.getTaskTrackers() * Integer.parseInt(sort_reduces); } jobConf.setNumReduceTasks(num_reduces); ----------- Any idea why my parameter for reduce tasks is being ignored ? thanks, Rob On 18 February 2010 16:08, E. Sammer <[email protected]> wrote: > On 2/18/10 10:39 AM, Rob Stewart wrote: > >> Hi there, >> >> I am using Hadoop 0.20.1 and I am trying to submit jobs to the cluster >> as jars. >> >> Here's what I'm trying to do: >> >> > hadoop jar $hadoopPath/hadoop-*-examples.jar join >> -Dmapred.reduce.tasks=10 -inFormat >> org.apache.hadoop.mapred.KeyValueTextInputFormat -outKey >> org.apache.hadoop.io.Text file1.dat file2.dat output.dat >> >> >> However, my parameter setting of attempting to state 10 reducers for the >> job is not being honoured by Hadoop, instead choosing some other number. >> Where am I going wrong here? I do not want to have to change this value >> in hadoop/conf.*.xml files, as I am attempting to show the expressive >> power of Hadoop. Note: The power to specify the number or reducers in >> possible in both Pig and Hive. >> >> >> Thanks, >> >> >> Rob Stewart >> > > Rob: > > It's possible that something inside the jar is calling > JobConf.setNumReducers(x) after it parses the command line args. That would > cause this type of behavior. I haven't looked at the source for the join > example to confirm this, though. > > Regards. > -- > Eric Sammer > [email protected] > http://esammer.blogspot.com > --0016e65aef2a90f70e047fe267fc Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Eric, thanks.<div><br></div><div>It appears not:</div><div>-------------= ---</div><div><div>=A0JobConf jobConf =3D new JobConf(getConf(), Sort.class= );</div><div>=A0=A0 =A0jobConf.setJobName(&quot;join&quot;);</div><div><br>= </div><div> =A0=A0 =A0jobConf.setMapperClass(IdentityMapper.class); =A0 =A0 =A0 =A0</di= v><div>=A0=A0 =A0jobConf.setReducerClass(IdentityReducer.class);</div><div>= <br></div><div>=A0=A0 =A0JobClient client =3D new JobClient(jobConf);</div>= <div>=A0=A0 =A0ClusterStatus cluster =3D client.getClusterStatus();</div> <div>=A0=A0 =A0int num_maps =3D cluster.getTaskTrackers() *=A0</div><div>= =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 jobConf.getInt(&quot;test.sort.maps_= per_host&quot;, 10);</div><div>=A0=A0 =A0int num_reduces =3D (int) (cluster= .getMaxReduceTasks() * 0.9);</div><div> =A0=A0 =A0String sort_reduces =3D jobConf.get(&quot;test.sort.reduces_per_h= ost&quot;);</div><div>=A0=A0 =A0if (sort_reduces !=3D null) {</div><div>=A0= =A0 =A0 =A0 num_reduces =3D cluster.getTaskTrackers() *=A0</div><div>=A0=A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Integer.parseInt(sort_reduces);</d= iv> <div>=A0=A0 =A0}</div></div><div><br></div><div>jobConf.setNumReduceTasks(n= um_reduces);</div><div><br></div><div>-----------</div><div><br></div><div>= Any idea why my parameter for reduce tasks is being ignored ?</div><div><br= > </div> <div>thanks,</div><div><br></div><div>Rob</div><div><br><div><br><div class= =3D"gmail_quote">On 18 February 2010 16:08, E. Sammer <span dir=3D"ltr">&lt= ;<a href=3D"mailto:[email protected]">[email protected]</a>&gt;</span> wrot= e:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex;"><div><div></div><div class=3D"h5">On 2/18/1= 0 10:39 AM, Rob Stewart wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> Hi there,<br> <br> I am using Hadoop 0.20.1 and I am trying to submit jobs to the cluster<br> as jars.<br> <br> Here&#39;s what I&#39;m trying to do:<br> <br> =A0&gt; hadoop jar $hadoopPath/hadoop-*-examples.jar join<br> -Dmapred.reduce.tasks=3D10 -inFormat<br> org.apache.hadoop.mapred.KeyValueTextInputFormat =A0-outKey<br> org.apache.hadoop.io.Text file1.dat file2.dat output.dat<br> <br> <br> However, my parameter setting of attempting to state 10 reducers for the<br= > job is not being honoured by Hadoop, instead choosing some other number.<br= > Where am I going wrong here? I do not want to have to change this value<br> in hadoop/conf.*.xml files, as I am attempting to show the expressive<br> power of Hadoop. Note: The power to specify the number or reducers in<br> possible in both Pig and Hive.<br> <br> <br> Thanks,<br> <br> <br> Rob Stewart<br> </blockquote> <br></div></div> Rob:<br> <br> It&#39;s possible that something inside the jar is calling JobConf.setNumRe= ducers(x) after it parses the command line args. That would cause this type= of behavior. I haven&#39;t looked at the source for the join example to co= nfirm this, though.<br> <br> Regards.<br><font color=3D"#888888"> -- <br> Eric Sammer<br> <a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a= ><br> <a href=3D"http://esammer.blogspot.com" target=3D"_blank">http://esammer.bl= ogspot.com</a><br> </font></blockquote></div><br></div></div> --0016e65aef2a90f70e047fe267fc-- From [email protected] Thu Feb 18 16:38:33 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87348 invoked from network); 18 Feb 2010 16:38:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Feb 2010 16:38:33 -0000 Received: (qmail 14624 invoked by uid 500); 18 Feb 2010 16:38:33 -0000 Delivered-To: [email protected] Received: (qmail 14551 invoked by uid 500); 18 Feb 2010 16:38:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 14541 invoked by uid 99); 18 Feb 2010 16:38:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2010 16:38:32 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO vc136.vc.panix.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2010 16:38:24 +0000 Received: from localhost (localhost [161.129.204.104]) by vc136.vc.panix.com (Postfix) with ESMTP id 6A5A2DC3B5 for <[email protected]>; Thu, 18 Feb 2010 11:38:03 -0500 (EST) Received: from vc136.vc.panix.com ([161.129.204.104]) by localhost (vc136.vc.panix.com [161.129.204.104]) (amavisd-new, port 10024) with LMTP id 6Z1-7-8t3RYf for <[email protected]>; Thu, 18 Feb 2010 11:37:57 -0500 (EST) Received: from esammer-domdex.local (pool-96-246-67-178.nycmny.east.verizon.net [161.129.204.104]) by vc136.vc.panix.com (Postfix) with ESMTP id E7121DC23D for <[email protected]>; Thu, 18 Feb 2010 11:37:56 -0500 (EST) Message-ID: <[email protected]> Date: Thu, 18 Feb 2010 11:37:56 -0500 From: "E. Sammer" <[email protected]> User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: [email protected] Subject: Re: Setting #Reducers at runtime References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2/18/10 11:24 AM, Rob Stewart wrote: > Hi Eric, thanks. > > It appears not: > ---------------- > JobConf jobConf = new JobConf(getConf(), Sort.class); > jobConf.setJobName("join"); > > jobConf.setMapperClass(IdentityMapper.class); > jobConf.setReducerClass(IdentityReducer.class); > > JobClient client = new JobClient(jobConf); > ClusterStatus cluster = client.getClusterStatus(); > int num_maps = cluster.getTaskTrackers() * > jobConf.getInt("test.sort.maps_per_host", 10); > int num_reduces = (int) (cluster.getMaxReduceTasks() * 0.9); > String sort_reduces = jobConf.get("test.sort.reduces_per_host"); > if (sort_reduces != null) { > num_reduces = cluster.getTaskTrackers() * > Integer.parseInt(sort_reduces); > } > > jobConf.setNumReduceTasks(num_reduces); > > ----------- > > Any idea why my parameter for reduce tasks is being ignored ? Rob: It is setting the number of reducers itself. See the line: jobConf.setNumReduceTasks(num_reduces) In short, you can't control the number of reducers this code uses from the command line. -- Eric Sammer [email protected] http://esammer.blogspot.com From [email protected] Thu Feb 18 16:44:54 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89293 invoked from network); 18 Feb 2010 16:44:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Feb 2010 16:44:54 -0000 Received: (qmail 26181 invoked by uid 500); 18 Feb 2010 16:44:54 -0000 Delivered-To: [email protected] Received: (qmail 26128 invoked by uid 500); 18 Feb 2010 16:44:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26119 invoked by uid 99); 18 Feb 2010 16:44:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2010 16:44:53 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO gv-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2010 16:44:43 +0000 Received: by gv-out-0910.google.com with SMTP id n40so429574gve.4 for <[email protected]>; Thu, 18 Feb 2010 08:44:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=Xr2wQG7vPCBr/Bw1P7cuOZisAKQjADypYtgoT9FGpB8=; b=Dkglp/chcoJSLvDQgT+EywTRcYDdA3VoOjto3YkNBvUcshBCxUfy3whlKgfBDcQO4b tTlPAZYVSGgTfaWpayu3ROXQ5QI8WRLQEziwjo9gXWzSj8TDO17qLculG2U/QEo45htx Bc3Nx0EwY5qJqqMxxIZJ5+GJVeFysAIrelRNc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=cToXbMqyZjegXkP9GvysWe2osRVhhf7TVU6hMEPoyrMD815wMUl1GtcoGqsvXx4EAt SOv2nQ6GOQazBQ+ZMQMJLoqZJmcuPX4U7+4ZS9v6cAo5QKfAWH0O+0UdBbpREJN9eHHw cx9fgI+/PvMVqZfv58zPEFL6roNXnk/3D8MXk= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id i36mr7238491muh.56.1266511462186; Thu, 18 Feb 2010 08:44:22 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: Rob Stewart <[email protected]> Date: Thu, 18 Feb 2010 16:44:02 +0000 Message-ID: <[email protected]> Subject: Re: Setting #Reducers at runtime To: [email protected] Content-Type: multipart/alternative; boundary=0016364266f5cebf96047fe2adab X-Virus-Checked: Checked by ClamAV on apache.org --0016364266f5cebf96047fe2adab Content-Type: text/plain; charset=ISO-8859-1 OK, thanks for letting me know. I'll make a tiny change to this code to allow reducers as a parameter, and rerun my experiments. Thanks Eric, Rob On 18 February 2010 16:37, E. Sammer <[email protected]> wrote: > On 2/18/10 11:24 AM, Rob Stewart wrote: > >> Hi Eric, thanks. >> >> It appears not: >> ---------------- >> JobConf jobConf = new JobConf(getConf(), Sort.class); >> jobConf.setJobName("join"); >> >> jobConf.setMapperClass(IdentityMapper.class); >> jobConf.setReducerClass(IdentityReducer.class); >> >> JobClient client = new JobClient(jobConf); >> ClusterStatus cluster = client.getClusterStatus(); >> int num_maps = cluster.getTaskTrackers() * >> jobConf.getInt("test.sort.maps_per_host", 10); >> int num_reduces = (int) (cluster.getMaxReduceTasks() * 0.9); >> String sort_reduces = jobConf.get("test.sort.reduces_per_host"); >> if (sort_reduces != null) { >> num_reduces = cluster.getTaskTrackers() * >> Integer.parseInt(sort_reduces); >> } >> >> jobConf.setNumReduceTasks(num_reduces); >> >> ----------- >> >> Any idea why my parameter for reduce tasks is being ignored ? >> > > Rob: > > It is setting the number of reducers itself. See the line: > > jobConf.setNumReduceTasks(num_reduces) > > In short, you can't control the number of reducers this code uses from the > command line. > > > -- > Eric Sammer > [email protected] > http://esammer.blogspot.com > --0016364266f5cebf96047fe2adab Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div>OK, thanks for letting me know.</div><div><br></div><div>I&#39;ll make= a tiny change to this code to allow reducers as a parameter, and rerun my = experiments.</div><div><br></div><div><br></div><div>Thanks Eric,</div><div= > <br></div><div>Rob</div><div><br></div><br><br><div class=3D"gmail_quote">O= n 18 February 2010 16:37, E. Sammer <span dir=3D"ltr">&lt;<a href=3D"mailto= :[email protected]">[email protected]</a>&gt;</span> wrote:<br><blockquote = class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid= ;padding-left:1ex;"> <div class=3D"im">On 2/18/10 11:24 AM, Rob Stewart wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> Hi Eric, thanks.<br> <br> It appears not:<br> ----------------<br> =A0JobConf jobConf =3D new JobConf(getConf(), Sort.class);<br> =A0 =A0 jobConf.setJobName(&quot;join&quot;);<br> <br> =A0 =A0 jobConf.setMapperClass(IdentityMapper.class);<br> =A0 =A0 jobConf.setReducerClass(IdentityReducer.class);<br> <br> =A0 =A0 JobClient client =3D new JobClient(jobConf);<br> =A0 =A0 ClusterStatus cluster =3D client.getClusterStatus();<br> =A0 =A0 int num_maps =3D cluster.getTaskTrackers() *<br> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0jobConf.getInt(&quot;test.sort.maps= _per_host&quot;, 10);<br> =A0 =A0 int num_reduces =3D (int) (cluster.getMaxReduceTasks() * 0.9);<br> =A0 =A0 String sort_reduces =3D jobConf.get(&quot;test.sort.reduces_per_ho= st&quot;);<br> =A0 =A0 if (sort_reduces !=3D null) {<br> =A0 =A0 =A0 =A0num_reduces =3D cluster.getTaskTrackers() *<br> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Integer.parseInt(sort_reduc= es);<br> =A0 =A0 }<br> <br> jobConf.setNumReduceTasks(num_reduces);<br> <br> -----------<br> <br> Any idea why my parameter for reduce tasks is being ignored ?<br> </blockquote> <br></div> Rob:<br> <br> It is setting the number of reducers itself. See the line:<br> <br> jobConf.setNumReduceTasks(num_reduces)<br> <br> In short, you can&#39;t control the number of reducers this code uses from = the command line.<div><div></div><div class=3D"h5"><br> <br> -- <br> Eric Sammer<br> <a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a= ><br> <a href=3D"http://esammer.blogspot.com" target=3D"_blank">http://esammer.bl= ogspot.com</a><br> </div></div></blockquote></div><br> --0016364266f5cebf96047fe2adab-- From [email protected] Sat Feb 20 02:15:12 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31094 invoked from network); 20 Feb 2010 02:15:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Feb 2010 02:15:12 -0000 Received: (qmail 92200 invoked by uid 500); 20 Feb 2010 02:15:12 -0000 Delivered-To: [email protected] Received: (qmail 92106 invoked by uid 500); 20 Feb 2010 02:15:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 92097 invoked by uid 99); 20 Feb 2010 02:15:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Feb 2010 02:15:11 +0000 X-ASF-Spam-Status: No, hits=-2.5 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail3-relais-sop.national.inria.fr) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Feb 2010 02:15:04 +0000 X-IronPort-AV: E=Sophos;i="4.49,506,1262559600"; d="scan'208";a="45157935" Received: from ast-lambert-153-1-39-172.w81-249.abo.wanadoo.fr (HELO [161.129.204.104]) ([161.129.204.104]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/AES128-SHA; 20 Feb 2010 03:14:41 +0100 From: Mohamed Riadh Trad <[email protected]> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Hadoop Pipes Exception: RecordReader not defined at /home/oom/work/eclipse/hadoop-20/src/c++/pipes/impl/HadoopPipes.cc:691 Date: Sat, 20 Feb 2010 03:14:38 +0100 Message-Id: <[email protected]> To: [email protected] Mime-Version: 1.0 (Apple Message framework v1077) X-Mailer: Apple Mail (2.1077) Hi, I am new with hadoop and specially the c++ api. I am running the Wordcount example but it crashes during the Map and = prints this log. Regards, Trad Riadh ./hadoop pipes -input input -output output -program /user/trad/main 10/02/20 03:01:12 WARN mapred.JobClient: No job jar file set. User = classes may not be found. See JobConf(Class) or JobConf#setJar(String). 10/02/20 03:01:12 INFO mapred.FileInputFormat: Total input paths to = process : 14 10/02/20 03:01:12 INFO mapred.JobClient: Running job: = job_201002200300_0001 10/02/20 03:01:13 INFO mapred.JobClient: map 0% reduce 0% 10/02/20 03:01:23 INFO mapred.JobClient: Task Id : = attempt_201002200300_0001_m_000000_0, Status : FAILED java.io.IOException: pipe child exception at = org.apache.hadoop.mapred.pipes.Application.abort(Application.java:151) at = org.apache.hadoop.mapred.pipes.PipesMapRunner.run(PipesMapRunner.java:101)= at = org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:358) at org.apache.hadoop.mapred.MapTask.run(MapTask.java:307) at org.apache.hadoop.mapred.Child.main(Child.java:170) Caused by: java.io.EOFException at java.io.DataInputStream.readByte(DataInputStream.java:250) at = org.apache.hadoop.io.WritableUtils.readVLong(WritableUtils.java:298) at = org.apache.hadoop.io.WritableUtils.readVInt(WritableUtils.java:319) at = org.apache.hadoop.mapred.pipes.BinaryProtocol$UplinkReaderThread.run(Binar= yProtocol.java:114) attempt_201002200300_0001_m_000000_0: Hadoop Pipes Exception: = RecordReader not defined at = /home/oom/work/eclipse/hadoop-20/src/c++/pipes/impl/HadoopPipes.cc:691 = in virtual void HadoopPipesacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bTaskContextImplacf:4db6:5e0b:f386:43a5:35d7:718d:3c8brunMap(stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstring, int, = bool) 10/02/20 03:01:23 INFO mapred.JobClient: Task Id : = attempt_201002200300_0001_m_000001_0, Status : FAILED java.io.IOException: pipe child exception at = org.apache.hadoop.mapred.pipes.Application.abort(Application.java:151) at = org.apache.hadoop.mapred.pipes.PipesMapRunner.run(PipesMapRunner.java:101)= at = org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:358) at org.apache.hadoop.mapred.MapTask.run(MapTask.java:307) at org.apache.hadoop.mapred.Child.main(Child.java:170) Caused by: java.io.EOFException at java.io.DataInputStream.readByte(DataInputStream.java:250) at = org.apache.hadoop.io.WritableUtils.readVLong(WritableUtils.java:298) at = org.apache.hadoop.io.WritableUtils.readVInt(WritableUtils.java:319) at = org.apache.hadoop.mapred.pipes.BinaryProtocol$UplinkReaderThread.run(Binar= yProtocol.java:114) attempt_201002200300_0001_m_000001_0: Hadoop Pipes Exception: = RecordReader not defined at = /home/oom/work/eclipse/hadoop-20/src/c++/pipes/impl/HadoopPipes.cc:691 = in virtual void HadoopPipesacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bTaskContextImplacf:4db6:5e0b:f386:43a5:35d7:718d:3c8brunMap(stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstring, int, = bool) 10/02/20 03:01:29 INFO mapred.JobClient: Task Id : = attempt_201002200300_0001_m_000001_1, Status : FAILED java.io.IOException: pipe child exception at = org.apache.hadoop.mapred.pipes.Application.abort(Application.java:151) at = org.apache.hadoop.mapred.pipes.PipesMapRunner.run(PipesMapRunner.java:101)= at = org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:358) at org.apache.hadoop.mapred.MapTask.run(MapTask.java:307) at org.apache.hadoop.mapred.Child.main(Child.java:170) Caused by: java.io.EOFException at java.io.DataInputStream.readByte(DataInputStream.java:250) at = org.apache.hadoop.io.WritableUtils.readVLong(WritableUtils.java:298) at = org.apache.hadoop.io.WritableUtils.readVInt(WritableUtils.java:319) at = org.apache.hadoop.mapred.pipes.BinaryProtocol$UplinkReaderThread.run(Binar= yProtocol.java:114) attempt_201002200300_0001_m_000001_1: Hadoop Pipes Exception: = RecordReader not defined at = /home/oom/work/eclipse/hadoop-20/src/c++/pipes/impl/HadoopPipes.cc:691 = in virtual void HadoopPipesacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bTaskContextImplacf:4db6:5e0b:f386:43a5:35d7:718d:3c8brunMap(stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstring, int, = bool) 10/02/20 03:01:29 INFO mapred.JobClient: Task Id : = attempt_201002200300_0001_m_000000_1, Status : FAILED java.io.IOException: pipe child exception at = org.apache.hadoop.mapred.pipes.Application.abort(Application.java:151) at = org.apache.hadoop.mapred.pipes.PipesMapRunner.run(PipesMapRunner.java:101)= at = org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:358) at org.apache.hadoop.mapred.MapTask.run(MapTask.java:307) at org.apache.hadoop.mapred.Child.main(Child.java:170) Caused by: java.io.EOFException at java.io.DataInputStream.readByte(DataInputStream.java:250) at = org.apache.hadoop.io.WritableUtils.readVLong(WritableUtils.java:298) at = org.apache.hadoop.io.WritableUtils.readVInt(WritableUtils.java:319) at = org.apache.hadoop.mapred.pipes.BinaryProtocol$UplinkReaderThread.run(Binar= yProtocol.java:114) attempt_201002200300_0001_m_000000_1: Hadoop Pipes Exception: = RecordReader not defined at = /home/oom/work/eclipse/hadoop-20/src/c++/pipes/impl/HadoopPipes.cc:691 = in virtual void HadoopPipesacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bTaskContextImplacf:4db6:5e0b:f386:43a5:35d7:718d:3c8brunMap(stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstring, int, = bool) 10/02/20 03:01:35 INFO mapred.JobClient: Task Id : = attempt_201002200300_0001_m_000000_2, Status : FAILED java.io.IOException: pipe child exception at = org.apache.hadoop.mapred.pipes.Application.abort(Application.java:151) at = org.apache.hadoop.mapred.pipes.PipesMapRunner.run(PipesMapRunner.java:101)= at = org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:358) at org.apache.hadoop.mapred.MapTask.run(MapTask.java:307) at org.apache.hadoop.mapred.Child.main(Child.java:170) Caused by: java.io.EOFException at java.io.DataInputStream.readByte(DataInputStream.java:250) at = org.apache.hadoop.io.WritableUtils.readVLong(WritableUtils.java:298) at = org.apache.hadoop.io.WritableUtils.readVInt(WritableUtils.java:319) at = org.apache.hadoop.mapred.pipes.BinaryProtocol$UplinkReaderThread.run(Binar= yProtocol.java:114) attempt_201002200300_0001_m_000000_2: Hadoop Pipes Exception: = RecordReader not defined at = /home/oom/work/eclipse/hadoop-20/src/c++/pipes/impl/HadoopPipes.cc:691 = in virtual void HadoopPipesacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bTaskContextImplacf:4db6:5e0b:f386:43a5:35d7:718d:3c8brunMap(stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstring, int, = bool) 10/02/20 03:01:35 INFO mapred.JobClient: Task Id : = attempt_201002200300_0001_m_000001_2, Status : FAILED java.io.IOException: pipe child exception at = org.apache.hadoop.mapred.pipes.Application.abort(Application.java:151) at = org.apache.hadoop.mapred.pipes.PipesMapRunner.run(PipesMapRunner.java:101)= at = org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:358) at org.apache.hadoop.mapred.MapTask.run(MapTask.java:307) at org.apache.hadoop.mapred.Child.main(Child.java:170) Caused by: java.io.EOFException at java.io.DataInputStream.readByte(DataInputStream.java:250) at = org.apache.hadoop.io.WritableUtils.readVLong(WritableUtils.java:298) at = org.apache.hadoop.io.WritableUtils.readVInt(WritableUtils.java:319) at = org.apache.hadoop.mapred.pipes.BinaryProtocol$UplinkReaderThread.run(Binar= yProtocol.java:114) attempt_201002200300_0001_m_000001_2: Hadoop Pipes Exception: = RecordReader not defined at = /home/oom/work/eclipse/hadoop-20/src/c++/pipes/impl/HadoopPipes.cc:691 = in virtual void HadoopPipesacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bTaskContextImplacf:4db6:5e0b:f386:43a5:35d7:718d:3c8brunMap(stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstring, int, = bool) 10/02/20 03:01:44 INFO mapred.JobClient: Job complete: = job_201002200300_0001 10/02/20 03:01:44 INFO mapred.JobClient: Counters: 3 10/02/20 03:01:44 INFO mapred.JobClient: Job Counters=20 10/02/20 03:01:44 INFO mapred.JobClient: Launched map tasks=3D8 10/02/20 03:01:44 INFO mapred.JobClient: Data-local map tasks=3D8 10/02/20 03:01:44 INFO mapred.JobClient: Failed map tasks=3D1 Exception in thread "main" java.io.IOException: Job failed! at = org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1252) at = org.apache.hadoop.mapred.pipes.Submitter.runJob(Submitter.java:248) at = org.apache.hadoop.mapred.pipes.Submitter.run(Submitter.java:479) at = org.apache.hadoop.mapred.pipes.Submitter.main(Submitter.java:494) From [email protected] Sun Feb 21 07:07:34 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84859 invoked from network); 21 Feb 2010 07:07:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Feb 2010 07:07:34 -0000 Received: (qmail 64007 invoked by uid 500); 21 Feb 2010 07:07:34 -0000 Delivered-To: [email protected] Received: (qmail 63947 invoked by uid 500); 21 Feb 2010 07:07:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 63938 invoked by uid 99); 21 Feb 2010 07:07:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Feb 2010 07:07:33 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iw0-f197.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Feb 2010 07:07:26 +0000 Received: by mail-iw0-f197.google.com with SMTP id 35so1735857iwn.2 for <[email protected]>; Sat, 20 Feb 2010 23:07:06 -0800 (PST) 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=CYBvaE9hdBOcM2vNE3yqM3Ai9R06rTH6AyTQFtMtvro=; b=u6I9tKogvQaPsfVU0RgM9ogGYwdE/vgLiIwJofYBIbWS1pcLfn2s9esx+DOtzR5CqW pRpQ5nIB2/D+3Og2IohshHVC7hZ0/9EK//TAfPuGl6k9Df5Z6PrQuTLzXXAsurmUkuYK 9KgaAS/K8BPK5vEZYeJcCLldb7Rw8Qmaa0F0Y= 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=LEv2Y983ypySZM3rKyCT9VdyjOavnfq48Ki2QLEoIrPycnyaMMnOW0DNjEIE7TTZQm +08aW4ByoZQ4JgFkGrRWpv2gy5M31UiUqov/Y/TUWoZMjlBMSb0itgSeZ3uB25NAtLqv dBKOGhPngmFMMqEsvGpr+b/y335mxZaiKrfGg= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id j5mr2888546ibw.33.1266736026249; Sat, 20 Feb 2010 23:07:06 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> Date: Sat, 20 Feb 2010 23:07:06 -0800 Message-ID: <[email protected]> Subject: trunk compilation broken? From: Zheng Shao <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 > ant test ... compile-java-sources: [echo] contrib: mumak [javac] Compiling 2 source files to /data/users/zshao/hadoop_mapreduce/trunk/build/contrib/mumak/classes [javac] /data/users/zshao/hadoop_mapreduce/trunk/src/contrib/mumak/src/java/org/apache/hadoop/mapred/SimulatorJobClient.java:352: submitJob(org.apache.hadoop.mapreduce.JobID,java.lang.String) in org.apache.hadoop.mapreduce.protocol.ClientProtocol cannot be applied to (org.apache.hadoop.mapreduce.JobID,java.lang.String,<nulltype>) [javac] return jobTracker.submitJob(jobId, "dummy-path", null); [javac] ^ [javac] /data/users/zshao/hadoop_mapreduce/trunk/src/contrib/mumak/src/java/org/apache/hadoop/mapred/SimulatorJobTracker.java:176: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] Note: /data/users/zshao/hadoop_mapreduce/trunk/src/contrib/mumak/src/java/org/apache/hadoop/mapred/SimulatorJobTracker.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 2 errors -- Yours, Zheng From [email protected] Sun Feb 21 21:35:37 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21927 invoked from network); 21 Feb 2010 21:35:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Feb 2010 21:35:36 -0000 Received: (qmail 44564 invoked by uid 500); 21 Feb 2010 21:35:36 -0000 Delivered-To: [email protected] Received: (qmail 44500 invoked by uid 500); 21 Feb 2010 21:35:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 44491 invoked by uid 99); 21 Feb 2010 21:35:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Feb 2010 21:35:35 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-pw0-f48.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Feb 2010 21:35:27 +0000 Received: by pwi6 with SMTP id 6so1809983pwi.35 for <[email protected]>; Sun, 21 Feb 2010 13:35:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=vb+GoEgP8Fyq+wCsvcD1YEz9UTK7n6K+sM6M2roYowI=; b=AgGGDaw1qWy2L7andqZ228D4CE6CgE952Et4NuWpPzJBS3aQAjX+Tnu/dy99rluqnl pRqN0HfiokKRbem0F1aRtyn0WSnF+3CKMJY3d2Eo3Qj5ptvxO2iHDHOporjIJteotSB0 39f9dkBPjLyPUp/mRhnENukWhc1JfB5NQDsbk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=mFHISBhAwSRU8qdjkNANhp1za0SMm2EXTyU1b7UMi6Chs70JRYTKPMi7iFB6ia/kNJ 7+Za69sjFRgFaR9tLhdY4BKqm8ane5mlZJzPzEQbFoTGw30muyIUfe1d8zDBU3dQhqMz 1yzJQXB77ghMOKNxBuxBqKT7c/JRCNC9iwrCA= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id k12mr648485waf.220.1266788106252; Sun, 21 Feb 2010 13:35:06 -0800 (PST) Date: Sun, 21 Feb 2010 13:35:06 -0800 Message-ID: <[email protected]> Subject: question about spill/combine From: Adam Kirsch <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm new to hadoop and am confused about some serialization issues in the spill. My reference for this post is the following snippet from the O'Reilly Hadoop book: =================== Each map task has a circular memory buffer that it writes the output to. The buffer is 100 MB by default, a size which can be tuned by changing the io.sort.mb property. When the contents of the buffer reaches a certain threshold size (io.sort.spill.percent, default 0.80, or 80%) a background thread will start to spill the contents to disk. Map outputs will continue to be written to the buffer while the spill takes place, but if the buffer fills up during this time, the map will block until the spill is complete. Spills are written in round-robin fashion to the directories specified by the mapred.local.dir property, in a job-specific subdirectory. Before it writes to disk, the thread first divides the data into partitions corresponding to the reducers that they will ultimately be sent to. Within each partition, the background thread performs an in-memory sort by key, and if there is a combiner function, it is run on the output of the sort. Each time the memory buffer reaches the spill threshold, a new spill file is created, so after the map task has written its last output record there could be several spill files. Before the task is finished, the spill files are merged into a single partitioned and sorted output file. The configuration property io.sort.factor controls the maximum number of streams to merge at once; the default is 10. If a combiner function has been specified, and the number of spills is at least three (the value of the min.num.spills.for.combine property), then the combiner is run before the output file is written. Recall that combiners may be run repeatedly over the input without affecting the final result. The point is that running combiners makes for a more compact map output, so there is less data to write to local disk and to transfer to the reducer. ========================= The first time I read this, it made perfect sense to me, but then I started thinking about whether combining or serialization happens first. From the text above, it looks like the circular memory buffer used in the spill stores serialized data in some form, because otherwise saying that, by default, the buffer is 100MB and the spill is triggered when it is 80% full is not very meaningful. (If it just stored pointers to objects, how would hadoop know how much serialized data that really represents?) Of course, the deserialized (before serialization) contents of the buffer must still be stored someplace, in order to facilitate the in-memory sort by key. After the sort is run and the results are partitioned by key for the reducers, the combiner may be run (depending on settings) as a kind of application-specific compression mechanism. The output of the combiner is what is actually written to disk (or the compressed output, if the compression option is used). (And when the map job runs, for each reducer, all the files corresponding to that reducer are merged and the result is sent to the reducer.) Here's my problem: it looks like all of the records that come out of the map task are serialized in-memory before the combiner is even run, and that if the combiner is being used aggressively (I am thinking about writing jobs where the combiner is run on every spill, and the value objects for the reducer are all fairly large), the results of this serialization won't ever make it to disk. Instead, the output of the combiner (which runs on the deserialized [before serialization] outputs from the map task) is ultimately what gets serialized to disk. Thus, it looks like even if I use the combiner aggressively, I have to pay for in-memory serialization of every record output by the map function, which strikes me as very inefficient. Now, maybe hadoop can avoid serializing the contents of the map records by using some heuristic to estimate the serialized size of the map function outputs that have not yet been combined/written to disk in order to determine when to trigger the spill, but I see no mention of that. (It could even feed an implementation of DataOutput to the Writable that doesn't actually serialize, but instead just counts the number of bytes that would be needed for the serialization; this would save a bunch of memory operations, but it would still have the problem of doing all of the computation and memory accesses in the Writables necessary for serialization.) Is this right? The natural work-around for this is for me to implement my own logic for combining in the mapper. That is, rather than just doing some small operations in the map function and passing the information to the OutputCollector, I could keep state, periodically do my own combining when that state gets to big, and then only feed the results to the OutputCollector after that. But that's very nasty, because mappers are not supposed to accumulate state like this; the built-in combining functionality is supposed to be used to deal with exactly this issue. Really, it seems that hadoop should provide some way for a developer to configure triggering of the spill in a more general way than serialized size. This issue also begs the question of how hadoop does in-memory serialization, and how well that performs for large objects, which I will likely have. I suppose it could use a linked list of byte arrays of (possibly) increasing sizes or something like that, but if it does something silly like use a single resizable vector of bytes, large objects could require lots of extra copies. (My guess is that hadoop relies on some standard java utility from the network I/O package for this, and that the end result is something fairly reasonable, but it seems worth looking asking.) Thanks very much, Adam From [email protected] Mon Feb 22 19:20:02 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57958 invoked from network); 22 Feb 2010 19:20:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Feb 2010 19:20:02 -0000 Received: (qmail 70261 invoked by uid 500); 22 Feb 2010 19:20:02 -0000 Delivered-To: [email protected] Received: (qmail 70187 invoked by uid 500); 22 Feb 2010 19:20:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 70178 invoked by uid 99); 22 Feb 2010 19:20:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Feb 2010 19:20:01 +0000 X-ASF-Spam-Status: No, hits=-1.8 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mailout-sf2p.facebook.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Feb 2010 19:19:54 +0000 Received: from mail.thefacebook.com ([161.129.204.104]) by pp02.snc1.tfbnw.net (8.14.3/8.14.3) with ESMTP id o1MJJ3er003625 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Mon, 22 Feb 2010 11:19:03 -0800 Received: from SC-MBXC1.TheFacebook.com ([161.129.204.104]) by sc-hub05.TheFacebook.com ([161.129.204.104]) with mapi; Mon, 22 Feb 2010 11:19:31 -0800 From: Zheng Shao <[email protected]> To: "[email protected]" <[email protected]> CC: "[email protected]" <[email protected]>, Peeyush Bishnoi <[email protected]>, "[email protected]" <[email protected]>, David Rosenstrauch <[email protected]> Date: Mon, 22 Feb 2010 11:19:29 -0800 Subject: FileInputFormat to support multi-level/recursive directory listing Thread-Topic: FileInputFormat to support multi-level/recursive directory listing Thread-Index: Acqz8/SADIqzjHJRRbeoDfCEBUprLw== Message-ID: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_CD2E0A273BDAAD409C70BB3F48EE6A126CE97915B6SCMBXC1TheFac_" MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5,1.2.40,4.0.166 definitions=2010-02-22_14:2010-02-06,2010-02-22,2010-02-22 signatures=0 --_000_CD2E0A273BDAAD409C70BB3F48EE6A126CE97915B6SCMBXC1TheFac_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable As we have seen multiple times in the mailing list, users want to have the = capability of getting all files out of a multi-level directory structure. 4/1/2008: http://mail-archives.apache.org/mod_mbox/hadoop-core-user/200804.= [email protected]%3E 2/3/2009: http://mail-archives.apache.org/mod_mbox/hadoop-core-user/200902.= [email protected]%3E 6/2/2009: http://mail-archives.apache.org/mod_mbox/hadoop-common-user/20090= [email protected]%3E One solution that our users had is to write a new FileInputFormat, but that= means all existing FileInputFormat subclasses need to be changed in order = to support this feature. We can easily provide a JobConf option (which defaults to false) to FileInp= utFormat.listStatus(...) to recursively go into directory structure. See https://issues.apache.org/jira/browse/MAPREDUCE-1501 for details. I cced several people who were involved in the earlier discussions. Can som= ebody help review the patch? Zheng --_000_CD2E0A273BDAAD409C70BB3F48EE6A126CE97915B6SCMBXC1TheFac_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:SimSun; panose-1:2 1 6 0 3 1 1 1 1 1;} @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face {font-family:"\@SimSun"; panose-1:2 1 6 0 3 1 1 1 1 1;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p {mso-style-priority:99; mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; font-size:12.0pt; font-family:"Times New Roman","serif";} tt {mso-style-priority:99; font-family:"Courier New";} p.MsoAcetate, li.MsoAcetate, div.MsoAcetate {mso-style-priority:99; mso-style-link:"Balloon Text Char"; margin:0in; margin-bottom:.0001pt; font-size:8.0pt; font-family:"Tahoma","sans-serif";} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} span.apple-style-span {mso-style-name:apple-style-span;} span.apple-converted-space {mso-style-name:apple-converted-space;} span.nobr {mso-style-name:nobr;} span.BalloonTextChar {mso-style-name:"Balloon Text Char"; mso-style-priority:99; mso-style-link:"Balloon Text"; font-family:"Tahoma","sans-serif";} .MsoChpDefault {mso-style-type:export-only;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal>As we have seen multiple times in the mailing list, us= ers want to have the capability of getting all files out of a multi-level direc= tory structure.<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>4/1/2008: <a href=3D"http://mail-archives.apache.org/mod_mbox/hadoop-core-user/200804.mb= [email protected]%3E">http:= //mail-archives.apache.org/mod_mbox/hadoop-core-user/200804.mbox/%3Ce75c02e= [email protected]%3E</a><o:p></o:p></p> <p class=3DMsoNormal>2/3/2009: <a href=3D"http://mail-archives.apache.org/mod_mbox/hadoop-core-user/200902.mb= [email protected]%3E">http://mail-archive= s.apache.org/mod_mbox/hadoop-core-user/200902.mbox/%3C7F80089C-3E7F-4330-90= [email protected]%3E</a><o:p></o:p></p> <p class=3DMsoNormal>6/2/2009: <a href=3D"http://mail-archives.apache.org/mod_mbox/hadoop-common-user/200906.= [email protected]%3E">http://mail-archives.apache.org/mod= [email protected]%3E</a><= o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>One solution that our users had is to write a new FileInputFormat, but that means all existing FileInputFormat subclasses nee= d to be changed in order to support this feature.<o:p></o:p></p> <p class=3DMsoNormal>We can easily provide a JobConf option (which defaults= to false) to FileInputFormat.listStatus(...) to recursively go into directory structure.<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>See <a href=3D"https://issues.apache.org/jira/browse/MAPREDUCE-1501">https://issue= s.apache.org/jira/browse/MAPREDUCE-1501</a> for details.<o:p></o:p></p> <p class=3DMsoNormal>I cced several people who were involved in the earlier discussions. Can somebody help review the patch?<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>Zheng<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> </div> </body> </html> --_000_CD2E0A273BDAAD409C70BB3F48EE6A126CE97915B6SCMBXC1TheFac_-- From [email protected] Tue Feb 23 13:24:09 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35712 invoked from network); 23 Feb 2010 13:24:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Feb 2010 13:24:09 -0000 Received: (qmail 10690 invoked by uid 500); 23 Feb 2010 13:24:08 -0000 Delivered-To: [email protected] Received: (qmail 10615 invoked by uid 500); 23 Feb 2010 13:24:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 10606 invoked by uid 99); 23 Feb 2010 13:24:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Feb 2010 13:24:07 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-gw0-f48.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Feb 2010 13:23:59 +0000 Received: by gwaa11 with SMTP id a11so465304gwa.35 for <[email protected]>; Tue, 23 Feb 2010 05:23:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=j72hF0Yp0aE+/f9R4xzTmI/UCxRxmGIUk49HD8e22Hg=; b=GkjvYQajF8jaZBtuzcnh2Au6hPn23gAYPjdJ8NVM44MuCh2URxVuuAyILP2x9yBi0B oFcSVnuqupae7apHyGwto/EURxB+645Wv+ufmV4uEZFbWl5fSaYq8ssY1WXnWEcuf5cj Ui0gl43OjXdWZPhOFT3WfrGPSlvuY5fGsArmk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=eq4pMPQXyNo37+iufg9s/5NWELJkTotapgEnETfORrMzm2wrFj0BCryPldzc9S3JVm G/nk8GlAA0mcX65RmEP5srUffFD2bR+3vt2QIu3+A8XwSnPZNW6775Om+u/f9e/hl3c0 m2N/HyLlcXd8SnuxXIHBNWTNkeghHKCR27FtQ= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id r1mr1975262ybe.216.1266931418303; Tue, 23 Feb 2010 05:23:38 -0800 (PST) Date: Tue, 23 Feb 2010 19:08:38 +0545 Message-ID: <[email protected]> Subject: about counter From: Rajan Dev <[email protected]> To: [email protected] Content-Type: multipart/mixed; boundary=000e0cd4c150248c9b0480447571 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd4c150248c9b0480447571 Content-Type: multipart/alternative; boundary=000e0cd4c150248c87048044756f --000e0cd4c150248c87048044756f Content-Type: text/plain; charset=ISO-8859-1 Hello i have to find Counter and i am using inetsocketAddress and connecting into the jobtracker jsp with help of it am able to find the counter when it is running on single pc but as i am trying to run this in cluster . i am not able to get any counters . My programme is attached which finds counter. i am using webservice to invoke the method written in the programme. i am looking out for the solution to find counters in the cluster. Thanks in advance Rajan --000e0cd4c150248c87048044756f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello <br><br>i have to find Counter and i am using inetsocketAddress and c= onnecting into the jobtracker <br><br>jsp<br>with help of it am able to fin= d the counter when it is running on single pc<br><br>but as i am trying to = run this in cluster . i am not able to get any counters .<br> <br>My programme is attached which finds counter.<br>i am using webservice = to invoke the method written in the programme.<br>i am looking out for the = solution to find counters in the cluster.<br><br>Thanks in advance<br>Rajan= <br> --000e0cd4c150248c87048044756f-- --000e0cd4c150248c9b0480447571 Content-Type: application/octet-stream; name="CounterUtility.java" Content-Disposition: attachment; filename="CounterUtility.java" Content-Transfer-Encoding: base64 X-Attachment-Id: f_g60qns490 cGFja2FnZSBjb20ubnM7CgppbXBvcnQgamF2YS5pby5JT0V4Y2VwdGlvbjsKaW1wb3J0IGphdmEu bmV0LkluZXRTb2NrZXRBZGRyZXNzOwoKaW1wb3J0IG9yZy5hcGFjaGUuaGFkb29wLmNvbmYuQ29u ZmlndXJhdGlvbjsKaW1wb3J0IG9yZy5hcGFjaGUuaGFkb29wLm1hcHJlZC5Db3VudGVyczsKaW1w b3J0IG9yZy5hcGFjaGUuaGFkb29wLm1hcHJlZC5Kb2JDbGllbnQ7CmltcG9ydCBvcmcuYXBhY2hl LmhhZG9vcC5tYXByZWQuSm9iU3RhdHVzOwppbXBvcnQgb3JnLmFwYWNoZS5oYWRvb3AubWFwcmVk LlJ1bm5pbmdKb2I7CmltcG9ydCBvcmcuYXBhY2hlLmhhZG9vcC5tYXByZWQuQ291bnRlcnMuQ291 bnRlcjsKCnB1YmxpYyBjbGFzcyBDb3VudGVyVXRpbGl0eSB7CgoJbG9uZyBjb3VudDsKCglwdWJs aWMgbG9uZyBnZXRDb3VudGVyKFN0cmluZyBqb2JOYW1lLCBTdHJpbmcgZ3JvdXBOYW1lLAoJCQlT dHJpbmcgY291bnRlck5hbWUpIHRocm93cyBJT0V4Y2VwdGlvbiB7CgkJdHJ5IHsKCQkJQ29uZmln dXJhdGlvbiBjb25mID0gbmV3IENvbmZpZ3VyYXRpb24oKTsKCQkJSm9iQ2xpZW50IGpvYiA9IG5l dyBKb2JDbGllbnQoCgkJCQkJbmV3IEluZXRTb2NrZXRBZGRyZXNzKCIxMDAuMTAwLjEwMC4yMjIi LCA5MDAxKSwgY29uZik7CgkJCWlmIChqb2IgPT0gbnVsbCkgewoJCQkJU3lzdGVtLm91dC5wcmlu dGxuKCJKb2IgaXMgbnVsbCIpOwoJCQl9CgkJCUpvYlN0YXR1c1tdIGpvYlN0YXR1cyA9IGpvYi5n ZXRBbGxKb2JzKCk7CgoJCQlmb3IgKGludCBpID0gMDsgaSA8IGpvYlN0YXR1cy5sZW5ndGg7IGkr KykgewoKCQkJCWlmICh0cnVlKSB7CgkJCQkJLy9pZiAoam9iU3RhdHVzW2ldLmdldFJ1blN0YXRl KCkgPT0gam9iU3RhdHVzW2ldLlJVTk5JTkcpIHsKCgkJCQkJCVJ1bm5pbmdKb2IgcnVubmluZ2pv YiA9IGpvYi5nZXRKb2Ioam9iU3RhdHVzW2ldCgkJCQkJCQkJLmdldEpvYklEKCkpOwoJCQkJCQlD b3VudGVycyBjb3VudGVycyA9IHJ1bm5pbmdqb2IuZ2V0Q291bnRlcnMoKTsKCQkJCQkJLy8gU3lz dGVtLm91dC5wcmludGxuKCIgdGhlIGpvYiBuYW1lIGlzICIram9iTmFtZSk7CgkJCQkJCWlmIChy dW5uaW5nam9iLmdldEpvYk5hbWUoKS5lcXVhbHNJZ25vcmVDYXNlKGpvYk5hbWUpKSB7CgkJCQkJ CQlDb3VudGVyIGNvdW50ZXIgPSBjb3VudGVycy5maW5kQ291bnRlcihncm91cE5hbWUsCgkJCQkJ CQkJCWNvdW50ZXJOYW1lKTsKCgkJCQkJCQljb3VudCA9IGNvdW50ZXIuZ2V0Q291bnRlcigpOwoJ CQkJCQkJU3lzdGVtLm91dC5wcmludGxuKCIgdGhlIGNvdW50IGlkICIgKyBjb3VudCk7CgoJCQkJ CQl9CgkJCQkJfQoJCQkJfQoJCQkvL30KCQl9IGNhdGNoIChFeGNlcHRpb24gZXgpIHsKCQkJZXgu cHJpbnRTdGFja1RyYWNlKCk7CgkJfQoJCXJldHVybiBjb3VudDsKCX0KCgkvKioKCSAqIEBwYXJh bSBhcmdzCgkgKiBAdGhyb3dzIElPRXhjZXB0aW9uIAoJICovCglwdWJsaWMgc3RhdGljIHZvaWQg bWFpbihTdHJpbmdbXSBhcmdzKSB0aHJvd3MgSU9FeGNlcHRpb24gewoJCS8vIFRPRE8gQXV0by1n ZW5lcmF0ZWQgbWV0aG9kIHN0dWIKCQlDb3VudGVyVXRpbGl0eSBjb24gPSBuZXcgQ291bnRlclV0 aWxpdHkoKTsKCQlTeXN0ZW0ub3V0LnByaW50bG4oInRoZSBjb3VudGVyIGlzICIrY29uLmdldENv dW50ZXIoIkRvYyBFeHRyYWN0aW9uIiwgImNvbS5pbnRlZ3Jlb24udXRpbC5VdGlsaXR5IiwgIkV4 dHJhY3Rpb24iKSk7CgoJfQoKfQo= --000e0cd4c150248c9b0480447571-- From [email protected] Tue Feb 23 19:25:13 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35092 invoked from network); 23 Feb 2010 19:25:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Feb 2010 19:25:13 -0000 Received: (qmail 65754 invoked by uid 500); 23 Feb 2010 19:25:12 -0000 Delivered-To: [email protected] Received: (qmail 65699 invoked by uid 500); 23 Feb 2010 19:25:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 65685 invoked by uid 99); 23 Feb 2010 19:25:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Feb 2010 19:25:12 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO gateway0.EECS.Berkeley.EDU) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Feb 2010 19:25:02 +0000 Received: from dhcp-44-233.eecs.berkeley.edu (dhcp-44-233.EECS.Berkeley.EDU [161.129.204.104]) (authenticated bits=0) by gateway0.EECS.Berkeley.EDU (8.14.4/8.13.5) with ESMTP id o1NJOdeB025427 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for <[email protected]>; Tue, 23 Feb 2010 11:24:40 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1077) Subject: Re: question about spill/combine From: Matei Zaharia <[email protected]> In-Reply-To: <[email protected]> Date: Tue, 23 Feb 2010 11:24:39 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <[email protected]> References: <[email protected]> To: [email protected] X-Mailer: Apple Mail (2.1077) X-Virus-Checked: Checked by ClamAV on apache.org Hi Adam, It looks like map output records are indeed serialized before being = combined and written out. I'm not really sure why this is, except = perhaps to simplify the code for the case where you don't know the size = of the records. Maybe someone more familiar with this part of Hadoop can = explain the design decision. Serialization in Hadoop is, however, customizable. Your key and value = types need to implement the Writable interface (or actually = WritableComparable for keys), which defines how they are serialized. I = believe that it's also possible to speed up sorting by making your keys = sortable through byte comparisons and setting the appropriate comparator = through JobConf.setOutputKeyComparatorClass (MemcpyRawComparator and = ReverseStringComparator could both work for example). The sort is = actually the most expensive part of the map-side combine and spill = process in many cases. Matei On Feb 21, 2010, at 1:35 PM, Adam Kirsch wrote: > Hi, >=20 > I'm new to hadoop and am confused about some serialization issues in > the spill. My reference for this post is the following snippet from > the O'Reilly Hadoop book: >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > Each map task has a circular memory buffer that it writes the output > to. The buffer is 100 MB by default, a size which can be tuned by > changing the io.sort.mb property. When the contents of the buffer > reaches a certain threshold size (io.sort.spill.percent, default 0.80, > or 80%) a background thread will start to spill the contents to disk. > Map outputs will continue to be written to the buffer while the spill > takes place, but if the buffer fills up during this time, the map will > block until the spill is complete. Spills are written in round-robin > fashion to the directories specified by the mapred.local.dir property, > in a job-specific subdirectory. >=20 > Before it writes to disk, the thread first divides the data into > partitions corresponding to the reducers that they will ultimately be > sent to. Within each partition, the background thread performs an > in-memory sort by key, and if there is a combiner function, it is run > on the output of the sort. >=20 > Each time the memory buffer reaches the spill threshold, a new spill > file is created, so after the map task has written its last output > record there could be several spill files. Before the task is > finished, the spill files are merged into a single partitioned and > sorted output file. The configuration property io.sort.factor controls > the maximum number of streams to merge at once; the default is 10. >=20 > If a combiner function has been specified, and the number of spills is > at least three (the value of the min.num.spills.for.combine property), > then the combiner is run before the output file is written. Recall > that combiners may be run repeatedly over the input without affecting > the final result. The point is that running combiners makes for a more > compact map output, so there is less data to write to local disk and > to transfer to the reducer. >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D >=20 > The first time I read this, it made perfect sense to me, but then I > started thinking about whether combining or serialization happens > first. =46rom the text above, it looks like the circular memory = buffer > used in the spill stores serialized data in some form, because > otherwise saying that, by default, the buffer is 100MB and the spill > is triggered when it is 80% full is not very meaningful. (If it just > stored pointers to objects, how would hadoop know how much serialized > data that really represents?) Of course, the deserialized (before > serialization) contents of the buffer must still be stored someplace, > in order to facilitate the in-memory sort by key. After the sort is > run and the results are partitioned by key for the reducers, the > combiner may be run (depending on settings) as a kind of > application-specific compression mechanism. The output of the > combiner is what is actually written to disk (or the compressed > output, if the compression option is used). (And when the map job > runs, for each reducer, all the files corresponding to that reducer > are merged and the result is sent to the reducer.) >=20 > Here's my problem: it looks like all of the records that come out of > the map task are serialized in-memory before the combiner is even run, > and that if the combiner is being used aggressively (I am thinking > about writing jobs where the combiner is run on every spill, and the > value objects for the reducer are all fairly large), the results of > this serialization won't ever make it to disk. Instead, the output of > the combiner (which runs on the deserialized [before serialization] > outputs from the map task) is ultimately what gets serialized to disk. >=20 > Thus, it looks like even if I use the combiner aggressively, I have to > pay for in-memory serialization of every record output by the map > function, which strikes me as very inefficient. Now, maybe hadoop can > avoid serializing the contents of the map records by using some > heuristic to estimate the serialized size of the map function outputs > that have not yet been combined/written to disk in order to determine > when to trigger the spill, but I see no mention of that. (It could > even feed an implementation of DataOutput to the Writable that doesn't > actually serialize, but instead just counts the number of bytes that > would be needed for the serialization; this would save a bunch of > memory operations, but it would still have the problem of doing all of > the computation and memory accesses in the Writables necessary for > serialization.) >=20 > Is this right? The natural work-around for this is for me to > implement my own logic for combining in the mapper. That is, rather > than just doing some small operations in the map function and passing > the information to the OutputCollector, I could keep state, > periodically do my own combining when that state gets to big, and then > only feed the results to the OutputCollector after that. But that's > very nasty, because mappers are not supposed to accumulate state like > this; the built-in combining functionality is supposed to be used to > deal with exactly this issue. Really, it seems that hadoop should > provide some way for a developer to configure triggering of the spill > in a more general way than serialized size. >=20 > This issue also begs the question of how hadoop does in-memory > serialization, and how well that performs for large objects, which I > will likely have. I suppose it could use a linked list of byte arrays > of (possibly) increasing sizes or something like that, but if it does > something silly like use a single resizable vector of bytes, large > objects could require lots of extra copies. (My guess is that hadoop > relies on some standard java utility from the network I/O package for > this, and that the end result is something fairly reasonable, but it > seems worth looking asking.) >=20 > Thanks very much, > Adam From [email protected] Wed Feb 24 13:32:25 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82539 invoked from network); 24 Feb 2010 13:32:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Feb 2010 13:32:25 -0000 Received: (qmail 24455 invoked by uid 500); 24 Feb 2010 13:32:25 -0000 Delivered-To: [email protected] Received: (qmail 24370 invoked by uid 500); 24 Feb 2010 13:32:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 24361 invoked by uid 99); 24 Feb 2010 13:32:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Feb 2010 13:32:24 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-wy0-f176.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Feb 2010 13:32:14 +0000 Received: by wyf22 with SMTP id 22so1089783wyf.35 for <[email protected]>; Wed, 24 Feb 2010 05:31:53 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id t58mr711290wee.168.1267018313440; Wed, 24 Feb 2010 05:31:53 -0800 (PST) Date: Wed, 24 Feb 2010 14:31:50 +0100 Message-ID: <[email protected]> Subject: Reduce step never starts, can't read output from mappers? (Too many fetch-failures) From: =?UTF-8?Q?Martin_H=C3=A4ger?= <[email protected]> To: [email protected] Content-Type: multipart/mixed; boundary=0016e6db2d6d7f1e75048058b0f0 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6db2d6d7f1e75048058b0f0 Content-Type: text/plain; charset=UTF-8 Hello, I have set up a cluster with one NameNode/JobTracker and three DataNode/TaskTrackers, and having some issues with the reduce step being unable to start. Masters and slaves can ping and ssh each other. Attaching conf files (same on all machines). Log output for JobTracker and one of the TaskTrackers that seems suspicious: JobTracker ========= exjobb@exjobb-1:~$ hadoop jar /opt/hadoop/hadoop-0.20.1-examples.jar wordcount input/sessions-20100205145800.txt output-wordcount 10/02/24 11:15:24 INFO input.FileInputFormat: Total input paths to process : 1 10/02/24 11:15:25 INFO mapred.JobClient: Running job: job_201002240852_0003 10/02/24 11:15:26 INFO mapred.JobClient: map 0% reduce 0% 10/02/24 11:15:49 INFO mapred.JobClient: map 1% reduce 0% 10/02/24 11:15:58 INFO mapred.JobClient: map 2% reduce 0% 10/02/24 11:16:06 INFO mapred.JobClient: map 3% reduce 0% 10/02/24 11:16:15 INFO mapred.JobClient: map 4% reduce 0% 10/02/24 11:16:23 INFO mapred.JobClient: map 5% reduce 0% 10/02/24 11:16:32 INFO mapred.JobClient: map 6% reduce 0% 10/02/24 11:16:40 INFO mapred.JobClient: map 7% reduce 0% 10/02/24 11:16:51 INFO mapred.JobClient: map 8% reduce 0% 10/02/24 11:16:59 INFO mapred.JobClient: map 9% reduce 0% 10/02/24 11:17:07 INFO mapred.JobClient: map 10% reduce 0% 10/02/24 11:17:31 INFO mapred.JobClient: map 11% reduce 0% 10/02/24 11:17:39 INFO mapred.JobClient: map 12% reduce 0% 10/02/24 11:17:49 INFO mapred.JobClient: map 13% reduce 0% 10/02/24 11:17:57 INFO mapred.JobClient: map 14% reduce 0% 10/02/24 11:18:05 INFO mapred.JobClient: map 15% reduce 0% 10/02/24 11:18:15 INFO mapred.JobClient: map 16% reduce 0% 10/02/24 11:18:23 INFO mapred.JobClient: map 17% reduce 0% 10/02/24 11:18:32 INFO mapred.JobClient: map 18% reduce 0% 10/02/24 11:18:42 INFO mapred.JobClient: map 19% reduce 0% 10/02/24 11:18:51 INFO mapred.JobClient: map 20% reduce 0% 10/02/24 11:19:11 INFO mapred.JobClient: map 21% reduce 0% 10/02/24 11:19:22 INFO mapred.JobClient: map 22% reduce 0% 10/02/24 11:19:32 INFO mapred.JobClient: map 23% reduce 0% 10/02/24 11:19:40 INFO mapred.JobClient: map 24% reduce 0% 10/02/24 11:19:49 INFO mapred.JobClient: map 25% reduce 0% 10/02/24 11:19:57 INFO mapred.JobClient: map 26% reduce 0% 10/02/24 11:20:05 INFO mapred.JobClient: map 27% reduce 0% 10/02/24 11:20:15 INFO mapred.JobClient: map 28% reduce 0% 10/02/24 11:20:24 INFO mapred.JobClient: map 29% reduce 0% 10/02/24 11:20:34 INFO mapred.JobClient: map 30% reduce 0% 10/02/24 11:20:52 INFO mapred.JobClient: map 31% reduce 0% 10/02/24 11:21:02 INFO mapred.JobClient: map 32% reduce 0% 10/02/24 11:21:12 INFO mapred.JobClient: map 33% reduce 0% 10/02/24 11:21:21 INFO mapred.JobClient: map 34% reduce 0% 10/02/24 11:21:31 INFO mapred.JobClient: map 35% reduce 0% 10/02/24 11:21:40 INFO mapred.JobClient: map 36% reduce 0% 10/02/24 11:21:49 INFO mapred.JobClient: map 37% reduce 0% 10/02/24 11:21:58 INFO mapred.JobClient: map 38% reduce 0% 10/02/24 11:22:07 INFO mapred.JobClient: map 39% reduce 0% 10/02/24 11:22:17 INFO mapred.JobClient: map 40% reduce 0% 10/02/24 11:22:35 INFO mapred.JobClient: map 41% reduce 0% 10/02/24 11:22:44 INFO mapred.JobClient: map 42% reduce 0% 10/02/24 11:22:53 INFO mapred.JobClient: map 43% reduce 0% 10/02/24 11:23:05 INFO mapred.JobClient: map 44% reduce 0% 10/02/24 11:23:14 INFO mapred.JobClient: map 45% reduce 0% 10/02/24 11:23:22 INFO mapred.JobClient: map 46% reduce 0% 10/02/24 11:23:32 INFO mapred.JobClient: map 47% reduce 0% 10/02/24 11:23:40 INFO mapred.JobClient: map 48% reduce 0% 10/02/24 11:23:50 INFO mapred.JobClient: map 49% reduce 0% 10/02/24 11:23:59 INFO mapred.JobClient: map 50% reduce 0% 10/02/24 11:24:17 INFO mapred.JobClient: map 51% reduce 0% 10/02/24 11:24:27 INFO mapred.JobClient: map 52% reduce 0% 10/02/24 11:24:34 INFO mapred.JobClient: map 53% reduce 0% 10/02/24 11:24:45 INFO mapred.JobClient: map 54% reduce 0% 10/02/24 11:24:57 INFO mapred.JobClient: map 55% reduce 0% 10/02/24 11:25:04 INFO mapred.JobClient: map 56% reduce 0% 10/02/24 11:25:15 INFO mapred.JobClient: map 57% reduce 0% 10/02/24 11:25:22 INFO mapred.JobClient: map 58% reduce 0% 10/02/24 11:25:32 INFO mapred.JobClient: map 59% reduce 0% 10/02/24 11:25:42 INFO mapred.JobClient: map 60% reduce 0% 10/02/24 11:25:57 INFO mapred.JobClient: map 61% reduce 0% 10/02/24 11:26:07 INFO mapred.JobClient: map 62% reduce 0% 10/02/24 11:26:16 INFO mapred.JobClient: map 63% reduce 0% 10/02/24 11:26:24 INFO mapred.JobClient: map 64% reduce 0% 10/02/24 11:26:34 INFO mapred.JobClient: map 65% reduce 0% 10/02/24 11:26:45 INFO mapred.JobClient: map 66% reduce 0% 10/02/24 11:26:56 INFO mapred.JobClient: map 67% reduce 0% 10/02/24 11:27:05 INFO mapred.JobClient: map 68% reduce 0% 10/02/24 11:27:13 INFO mapred.JobClient: map 69% reduce 0% 10/02/24 11:27:17 INFO mapred.JobClient: Task Id : attempt_201002240852_0003_m_000000_0, Status : FAILED Too many fetch-failures 10/02/24 11:27:18 WARN mapred.JobClient: Error reading task outputhttp://localhost:50060/tasklog?plaintext=true&taskid=attempt_201002240852_0003_m_000000_0&filter=stdout 10/02/24 11:27:18 WARN mapred.JobClient: Error reading task outputhttp://localhost:50060/tasklog?plaintext=true&taskid=attempt_201002240852_0003_m_000000_0&filter=stderr 10/02/24 11:27:24 INFO mapred.JobClient: map 70% reduce 0% 10/02/24 11:27:25 INFO mapred.JobClient: map 68% reduce 0% 10/02/24 11:27:28 INFO mapred.JobClient: map 69% reduce 0% 10/02/24 11:27:43 INFO mapred.JobClient: map 70% reduce 0% 10/02/24 11:27:52 INFO mapred.JobClient: map 71% reduce 0% 10/02/24 11:28:01 INFO mapred.JobClient: map 72% reduce 0% 10/02/24 11:28:09 INFO mapred.JobClient: map 73% reduce 0% 10/02/24 11:28:18 INFO mapred.JobClient: map 74% reduce 0% 10/02/24 11:28:28 INFO mapred.JobClient: map 75% reduce 0% 10/02/24 11:28:40 INFO mapred.JobClient: map 76% reduce 0% 10/02/24 11:28:49 INFO mapred.JobClient: map 77% reduce 0% 10/02/24 11:28:58 INFO mapred.JobClient: map 78% reduce 0% 10/02/24 11:29:11 INFO mapred.JobClient: map 79% reduce 0% 10/02/24 11:29:24 INFO mapred.JobClient: map 80% reduce 0% 10/02/24 11:29:33 INFO mapred.JobClient: map 81% reduce 0% 10/02/24 11:29:42 INFO mapred.JobClient: map 82% reduce 0% 10/02/24 11:29:51 INFO mapred.JobClient: map 83% reduce 0% 10/02/24 11:30:00 INFO mapred.JobClient: map 84% reduce 0% 10/02/24 11:30:10 INFO mapred.JobClient: map 85% reduce 0% 10/02/24 11:30:18 INFO mapred.JobClient: map 86% reduce 0% 10/02/24 11:30:30 INFO mapred.JobClient: map 87% reduce 0% 10/02/24 11:30:39 INFO mapred.JobClient: map 88% reduce 0% 10/02/24 11:30:52 INFO mapred.JobClient: map 89% reduce 0% 10/02/24 11:31:06 INFO mapred.JobClient: map 90% reduce 0% 10/02/24 11:31:15 INFO mapred.JobClient: map 91% reduce 0% 10/02/24 11:31:23 INFO mapred.JobClient: map 92% reduce 0% 10/02/24 11:31:33 INFO mapred.JobClient: map 93% reduce 0% 10/02/24 11:31:42 INFO mapred.JobClient: map 94% reduce 0% 10/02/24 11:31:50 INFO mapred.JobClient: map 95% reduce 0% 10/02/24 11:31:59 INFO mapred.JobClient: map 96% reduce 0% 10/02/24 11:32:08 INFO mapred.JobClient: map 97% reduce 0% 10/02/24 11:32:20 INFO mapred.JobClient: map 98% reduce 0% 10/02/24 11:32:34 INFO mapred.JobClient: map 99% reduce 0% 10/02/24 11:33:01 INFO mapred.JobClient: map 100% reduce 0% 10/02/24 11:39:37 INFO mapred.JobClient: Task Id : attempt_201002240852_0003_m_000001_0, Status : FAILED Too many fetch-failures 10/02/24 11:39:37 WARN mapred.JobClient: Error reading task outputhttp://localhost:50060/tasklog?plaintext=true&taskid=attempt_201002240852_0003_m_000001_0&filter=stdout 10/02/24 11:39:37 WARN mapred.JobClient: Error reading task outputhttp://localhost:50060/tasklog?plaintext=true&taskid=attempt_201002240852_0003_m_000001_0&filter=stderr 10/02/24 11:39:41 INFO mapred.JobClient: map 98% reduce 0% 10/02/24 11:39:53 INFO mapred.JobClient: map 99% reduce 0% 10/02/24 11:40:29 INFO mapred.JobClient: map 100% reduce 0% TaskTracker =========== .DiskChecker$DiskErrorException: Could not find taskTracker/jobcache/job_201002240852_0003/attempt_201002240852_0003_m_000001_0/output/file.out.index in any of the configured local directories 2010-02-24 11:39:34,399 INFO org.apache.hadoop.mapred.TaskTracker: attempt_201002240852_0003_r_000000_0 0.0% reduce > copy > 2010-02-24 11:39:36,831 INFO org.apache.hadoop.mapred.TaskTracker: LaunchTaskAction (registerTask): attempt_201002240852_0003_m_000001_1 task's state:UNASSIGNED 2010-02-24 11:39:36,831 INFO org.apache.hadoop.mapred.TaskTracker: Trying to launch : attempt_201002240852_0003_m_000001_1 2010-02-24 11:39:36,831 INFO org.apache.hadoop.mapred.TaskTracker: In TaskLauncher, current free slots : 2 and trying to launch attempt_201002240852_0003_m_000001_1 2010-02-24 11:39:36,909 INFO org.apache.hadoop.mapred.JvmManager: In JvmRunner constructed JVM ID: jvm_201002240852_0003_m_1482385716 2010-02-24 11:39:36,909 INFO org.apache.hadoop.mapred.JvmManager: JVM Runner jvm_201002240852_0003_m_1482385716 spawned. 2010-02-24 11:39:37,408 INFO org.apache.hadoop.mapred.TaskTracker: attempt_201002240852_0003_r_000000_0 0.0% reduce > copy > 2010-02-24 11:39:37,908 INFO org.apache.hadoop.mapred.TaskTracker: JVM with ID: jvm_201002240852_0003_m_1482385716 given task: attempt_201002240852_0003_m_000001_1 2010-02-24 11:39:43,462 INFO org.apache.hadoop.mapred.TaskTracker: attempt_201002240852_0003_r_000000_0 0.0% reduce > copy > 2010-02-24 11:39:44,361 INFO org.apache.hadoop.mapred.TaskTracker: attempt_201002240852_0003_m_000001_1 0.12414845% 2010-02-24 11:39:47,480 INFO org.apache.hadoop.mapred.TaskTracker: attempt_201002240852_0003_m_000001_1 0.1880129% 2010-02-24 11:39:49,477 INFO org.apache.hadoop.mapred.TaskTracker: attempt_201002240852_0003_r_000000_0 0.0% reduce > copy > 2010-02-24 11:39:50,482 INFO org.apache.hadoop.mapred.TaskTracker: attempt_201002240852_0003_m_000001_1 0.2625587% 2010-02-24 11:39:52,511 INFO org.apache.hadoop.mapred.TaskTracker: attempt_201002240852_0003_r_000000_0 0.0% reduce > copy > 2010-02-24 11:39:53,517 INFO org.apache.hadoop.mapred.TaskTracker: attempt_201002240852_0003_m_000001_1 0.33351037% 2010-02-24 11:39:56,540 INFO org.apache.hadoop.mapred.TaskTracker: attempt_201002240852_0003_m_000001_1 0.39943638% 2010-02-24 11:39:58,545 INFO org.apache.hadoop.mapred.TaskTracker: attempt_201002240852_0003_r_000000_0 0.0% reduce > copy > 2010-02-24 11:39:59,545 INFO org.apache.hadoop.mapred.TaskTracker: attempt_201002240852_0003_m_000001_1 0.47682634% 2010-02-24 11:40:02,558 INFO org.apache.hadoop.mapred.TaskTracker: attempt_201002240852_0003_m_000001_1 0.5435813% 2010-02-24 11:40:04,614 INFO org.apache.hadoop.mapred.TaskTracker: attempt_201002240852_0003_r_000000_0 0.0% reduce > copy > 2010-02-24 11:40:05,584 INFO org.apache.hadoop.mapred.TaskTracker: attempt_201002240852_0003_m_000001_1 0.6098209% (snip) 2010-02-24 11:41:53,069 INFO org.apache.hadoop.mapred.TaskTracker: attempt_201002240852_0003_r_000000_0 0.0% reduce > copy > 2010-02-24 11:41:59,089 INFO org.apache.hadoop.mapred.TaskTracker: attempt_201002240852_0003_r_000000_0 0.0% reduce > copy > 2010-02-24 11:42:04,820 INFO org.apache.hadoop.mapred.TaskTracker: Sent out 9261429 bytes for reduce: 0 from map: attempt_201002240852_0003_m_000004_0 given 9261429/9261425 2010-02-24 11:42:04,821 INFO org.apache.hadoop.mapred.TaskTracker.clienttrace: src: 161.129.204.104:50060, dest: 161.129.204.104:33145, bytes: 9261429, op: MAPRED_SHUFFLE, cliID: attempt_201002240852_0003_m_000004_0 2010-02-24 11:42:05,112 INFO org.apache.hadoop.mapred.TaskTracker: attempt_201002240852_0003_r_000000_0 0.0042735045% reduce > copy (1 of [email protected] MB/s) > 2010-02-24 11:42:05,490 INFO org.apache.hadoop.mapred.TaskTracker: Sent out 9227741 bytes for reduce: 0 from map: attempt_201002240852_0003_m_000005_0 given 9227741/9227737 2010-02-24 11:42:05,490 INFO org.apache.hadoop.mapred.TaskTracker.clienttrace: src: 161.129.204.104:50060, dest: 161.129.204.104:33145, bytes: 9227741, op: MAPRED_SHUFFLE, cliID: attempt_201002240852_0003_m_000005_0 2010-02-24 11:42:05,613 WARN org.apache.hadoop.mapred.TaskTracker: getMapOutput(attempt_201002240852_0003_m_000006_0,0) failed : org.apache.hadoop.util.DiskChecker$DiskErrorException: Could not find taskTracker/jobcache/job_201002240852_0003/attempt_201002240852_0003_m_000006_0/output/file.out.index in any of the configured local directories at org.apache.hadoop.fs.LocalDirAllocator$AllocatorPerContext.getLocalPathToRead(LocalDirAllocator.java:389) at org.apache.hadoop.fs.LocalDirAllocator.getLocalPathToRead(LocalDirAllocator.java:138) at org.apache.hadoop.mapred.TaskTracker$MapOutputServlet.doGet(TaskTracker.java:2886) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522) --0016e6db2d6d7f1e75048058b0f0 Content-Type: text/xml; charset=US-ASCII; name="hdfs-site.xml" Content-Disposition: attachment; filename="hdfs-site.xml" Content-Transfer-Encoding: base64 X-Attachment-Id: f_g625v3cm0 PD94bWwgdmVyc2lvbj0iMS4wIj8+Cjw/eG1sLXN0eWxlc2hlZXQgdHlwZT0idGV4dC94c2wiIGhy ZWY9ImNvbmZpZ3VyYXRpb24ueHNsIj8+Cgo8Y29uZmlndXJhdGlvbj4KICA8cHJvcGVydHk+CiAg ICA8bmFtZT5kZnMucmVwbGljYXRpb248L25hbWU+CiAgICA8dmFsdWU+MjwvdmFsdWU+CiAgPC9w cm9wZXJ0eT4KICA8cHJvcGVydHk+CiAgICA8bmFtZT5kZnMuZGF0YS5kaXI8L25hbWU+CiAgICA8 dmFsdWU+L21udC9kYXRhPC92YWx1ZT4KICAgIDxmaW5hbD50cnVlPC9maW5hbD4KICA8L3Byb3Bl cnR5Pgo8L2NvbmZpZ3VyYXRpb24+Cg== --0016e6db2d6d7f1e75048058b0f0 Content-Type: text/xml; charset=US-ASCII; name="core-site.xml" Content-Disposition: attachment; filename="core-site.xml" Content-Transfer-Encoding: base64 X-Attachment-Id: f_g625x3gp1 PD94bWwgdmVyc2lvbj0iMS4wIj8+Cjw/eG1sLXN0eWxlc2hlZXQgdHlwZT0idGV4dC94c2wiIGhy ZWY9ImNvbmZpZ3VyYXRpb24ueHNsIj8+Cgo8Y29uZmlndXJhdGlvbj4KICA8cHJvcGVydHk+CiAg ICA8bmFtZT5mcy5kZWZhdWx0Lm5hbWU8L25hbWU+CiAgICA8dmFsdWU+aGRmczovL2V4am9iYi0x LmludGVybmFsOjkwMDA8L3ZhbHVlPgogIDwvcHJvcGVydHk+CjwvY29uZmlndXJhdGlvbj4K --0016e6db2d6d7f1e75048058b0f0 Content-Type: text/xml; charset=US-ASCII; name="mapred-site.xml" Content-Disposition: attachment; filename="mapred-site.xml" Content-Transfer-Encoding: base64 X-Attachment-Id: f_g625x74i2 PD94bWwgdmVyc2lvbj0iMS4wIj8+Cjw/eG1sLXN0eWxlc2hlZXQgdHlwZT0idGV4dC94c2wiIGhy ZWY9ImNvbmZpZ3VyYXRpb24ueHNsIj8+Cgo8Y29uZmlndXJhdGlvbj4KICA8cHJvcGVydHk+CiAg ICA8bmFtZT5tYXByZWQuam9iLnRyYWNrZXI8L25hbWU+CiAgICA8dmFsdWU+ZXhqb2JiLTEuaW50 ZXJuYWw6OTAwMTwvdmFsdWU+CiAgPC9wcm9wZXJ0eT4KICA8cHJvcGVydHk+CiAgICA8bmFtZT5t YXByZWQubG9jYWwuZGlyPC9uYW1lPgogICAgPHZhbHVlPi9tbnQvbWFwcmVkL2xvY2FsPC92YWx1 ZT4KICAgIDxmaW5hbD50cnVlPC9maW5hbD4KICA8L3Byb3BlcnR5PgogIDxwcm9wZXJ0eT4KICAg IDxuYW1lPm1hcHJlZC5zeXN0ZW0uZGlyPC9uYW1lPgogICAgPHZhbHVlPi9tbnQvbWFwcmVkL3N5 c3RlbTwvdmFsdWU+CiAgICA8ZmluYWw+dHJ1ZTwvZmluYWw+CiAgPC9wcm9wZXJ0eT4KPC9jb25m aWd1cmF0aW9uPgo= --0016e6db2d6d7f1e75048058b0f0-- From [email protected] Thu Feb 25 17:54:50 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59817 invoked from network); 25 Feb 2010 17:54:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Feb 2010 17:54:50 -0000 Received: (qmail 62951 invoked by uid 500); 25 Feb 2010 17:54:50 -0000 Delivered-To: [email protected] Received: (qmail 62801 invoked by uid 500); 25 Feb 2010 17:54:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <mapreduce-user.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 62788 invoked by uid 99); 25 Feb 2010 17:54:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 17:54:49 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-pv0-f176.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 17:54:40 +0000 Received: by pvd12 with SMTP id 12so1206219pvd.35 for <[email protected]>; Thu, 25 Feb 2010 09:54:19 -0800 (PST) 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 :content-transfer-encoding; bh=PwKS/hR4D0/SwwLPWqMF5YBr1U6lG1z8LzZyr9BqDPQ=; b=PhsbsQ3vhutkmC/FFDX6fSFsl6A/Epyhkbvw7SE89MiNa1CfTDlqEDbUt+DMieWkm4 J8OEmGHFMUvvziT1x26Ntd1KpuRo7qKjVCMqz14MpXgnOoloXwWYvgw/pgY729KIbPFn OUBNnjkScOx8z+ntzqxGlY87uMdzUhEVc5ORM= 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:content-transfer-encoding; b=nkNaC6ju1fZ9fX8EJqp5qmNApT0i6v7/v3mhrAnS2SFjg4iZrWGXvb1v7KkAAPiefh vFiwcJ45hpZb4Bfe2ipY9b3H9MRNd1M2Bu3d36gI55rkPoVXhnmYS368TGeJFwOLxDov oHqOvux95J5E4wiwoiR/elToaKOVVQZpS7gDM= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id q12mr779762waa.67.1267120459224; Thu, 25 Feb 2010 09:54:19 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Thu, 25 Feb 2010 09:54:19 -0800 Message-ID: <[email protected]> Subject: Re: question about spill/combine From: Adam Kirsch <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Thanks, Matei. I think what I will end up doing is doing some "pre-combining" in my mapper class (storing a hashtable of key-value pairs and using that to combine multiple values for the same key), and then dumping that into the collect() when the number of keys bigger than some threshold or the map task ends. I expect that if I set the threshold correctly, there won't be any spills (except for the one at the end of the task). As for the RawComparators, I'm trying to think of all the places where they could helpful to get a sense of how things work. Here's what I've come up with: - Merging together multiple spill files in the mapper before sending to the reducer. Since I am trying hard to avoid multiple spills, this shouldn't apply. Also if combining is going on here the key/value pairs have to be deserialized anyway. - Merging the map outputs together in the reducer before feeding to the reducer. However, here too everything has to be deserialized eventually for the reducer, so it seems that there is only a win here if this merge process requires intermediate results of the merge to be written to disk. It seems like in most cases there will only be one round of merging (most people seem to set io.sort.factor to be pretty big, so this is not a big deal). But there is some merging that the reducer tries to do in memory as map outputs are coming in, and I suppose this would be helpful there. - I originally though that when I call collect() in the mapper, even though the record I pass is immediately serialized, the deserialized key is still maintained for the shuffle, so the RawComparator is not needed there. But it seems that the mapper reuses the key object between calls, so perhaps this is not the case, and if there is no RawComparator defined for the key, then the in-memory sort requires deserialization of keys that were only recently serialized. Is this correct? If so, it is a little suspicious, and I'd be curious if anyone knew why things were done this way. Thanks again, Adam On Tue, Feb 23, 2010 at 11:24 AM, Matei Zaharia <[email protected]> w= rote: > Hi Adam, > > It looks like map output records are indeed serialized before being combi= ned and written out. I'm not really sure why this is, except perhaps to sim= plify the code for the case where you don't know the size of the records. M= aybe someone more familiar with this part of Hadoop can explain the design = decision. > > Serialization in Hadoop is, however, customizable. Your key and value typ= es need to implement the Writable interface (or actually WritableComparable= for keys), which defines how they are serialized. I believe that it's also= possible to speed up sorting by making your keys sortable through byte com= parisons and setting the appropriate comparator through JobConf.setOutputKe= yComparatorClass (MemcpyRawComparator and ReverseStringComparator could bot= h work for example). The sort is actually the most expensive part of the ma= p-side combine and spill process in many cases. > > Matei > > > On Feb 21, 2010, at 1:35 PM, Adam Kirsch wrote: > >> Hi, >> >> I'm new to hadoop and am confused about some serialization issues in >> the spill. =A0My reference for this post is the following snippet from >> the O'Reilly Hadoop book: >> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> >> Each map task has a circular memory buffer that it writes the output >> to. The buffer is 100 MB by default, a size which can be tuned by >> changing the io.sort.mb property. When the contents of the buffer >> reaches a certain threshold size (io.sort.spill.percent, default 0.80, >> or 80%) a background thread will start to spill the contents to disk. >> Map outputs will continue to be written to the buffer while the spill >> takes place, but if the buffer fills up during this time, the map will >> block until the spill is complete. Spills are written in round-robin >> fashion to the directories specified by the mapred.local.dir property, >> in a job-specific subdirectory. >> >> Before it writes to disk, the thread first divides the data into >> partitions corresponding to the reducers that they will ultimately be >> sent to. Within each partition, the background thread performs an >> in-memory sort by key, and if there is a combiner function, it is run >> on the output of the sort. >> >> Each time the memory buffer reaches the spill threshold, a new spill >> file is created, so after the map task has written its last output >> record there could be several spill files. Before the task is >> finished, the spill files are merged into a single partitioned and >> sorted output file. The configuration property io.sort.factor controls >> the maximum number of streams to merge at once; the default is 10. >> >> If a combiner function has been specified, and the number of spills is >> at least three (the value of the min.num.spills.for.combine property), >> then the combiner is run before the output file is written. Recall >> that combiners may be run repeatedly over the input without affecting >> the final result. The point is that running combiners makes for a more >> compact map output, so there is less data to write to local disk and >> to transfer to the reducer. >> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D >> >> The first time I read this, it made perfect sense to me, but then I >> started thinking about whether combining or serialization happens >> first. =A0From the text above, it looks like the circular memory buffer >> used in the spill stores serialized data in some form, because >> otherwise saying that, by default, the buffer is 100MB and the spill >> is triggered when it is 80% full is not very meaningful. =A0(If it just >> stored pointers to objects, how would hadoop know how much serialized >> data that really represents?) =A0Of course, the deserialized (before >> serialization) contents of the buffer must still be stored someplace, >> in order to facilitate the in-memory sort by key. =A0After the sort is >> run and the results are partitioned by key for the reducers, the >> combiner may be run (depending on settings) as a kind of >> application-specific compression mechanism. =A0The output of the >> combiner is what is actually written to disk (or the compressed >> output, if the compression option is used). =A0(And when the map job >> runs, for each reducer, all the files corresponding to that reducer >> are merged and the result is sent to the reducer.) >> >> Here's my problem: it looks like all of the records that come out of >> the map task are serialized in-memory before the combiner is even run, >> and that if the combiner is being used aggressively (I am thinking >> about writing jobs where the combiner is run on every spill, and the >> value objects for the reducer are all fairly large), the results of >> this serialization won't ever make it to disk. =A0Instead, the output of >> the combiner (which runs on the deserialized [before serialization] >> outputs from the map task) is ultimately what gets serialized to disk. >> >> Thus, it looks like even if I use the combiner aggressively, I have to >> pay for in-memory serialization of every record output by the map >> function, which strikes me as very inefficient. =A0Now, maybe hadoop can >> avoid serializing the contents of the map records by using some >> heuristic to estimate the serialized size of the map function outputs >> that have not yet been combined/written to disk in order to determine >> when to trigger the spill, but I see no mention of that. =A0(It could >> even feed an implementation of DataOutput to the Writable that doesn't >> actually serialize, but instead just counts the number of bytes that >> would be needed for the serialization; this would save a bunch of >> memory operations, but it would still have the problem of doing all of >> the computation and memory accesses in the Writables necessary for >> serialization.) >> >> Is this right? =A0The natural work-around for this is for me to >> implement my own logic for combining in the mapper. =A0That is, rather >> than just doing some small operations in the map function and passing >> the information to the OutputCollector, I could keep state, >> periodically do my own combining when that state gets to big, and then >> only feed the results to the OutputCollector after that. =A0But that's >> very nasty, because mappers are not supposed to accumulate state like >> this; the built-in combining functionality is supposed to be used to >> deal with exactly this issue. =A0Really, it seems that hadoop should >> provide some way for a developer to configure triggering of the spill >> in a more general way than serialized size. >> >> This issue also begs the question of how hadoop does in-memory >> serialization, and how well that performs for large objects, which I >> will likely have. =A0I suppose it could use a linked list of byte arrays >> of (possibly) increasing sizes or something like that, but if it does >> something silly like use a single resizable vector of bytes, large >> objects could require lots of extra copies. =A0(My guess is that hadoop >> relies on some standard java utility from the network I/O package for >> this, and that the end result is something fairly reasonable, but it >> seems worth looking asking.) >> >> Thanks very much, >> Adam > >
From [email protected] Fri Nov 02 15:55:32 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34632 invoked from network); 2 Nov 2007 15:55:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Nov 2007 15:55:32 -0000 Received: (qmail 38663 invoked by uid 500); 2 Nov 2007 15:55:19 -0000 Delivered-To: [email protected] Received: (qmail 38646 invoked by uid 500); 2 Nov 2007 15:55:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 38637 invoked by uid 99); 2 Nov 2007 15:55:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2007 08:55:19 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nz-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2007 15:55:21 +0000 Received: by nz-out-0506.google.com with SMTP id k1so627529nzf for <[email protected]>; Fri, 02 Nov 2007 08:55:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:from:to:content-type:content-transfer-encoding:mime-version:subject:date:x-mailer; bh=GPfWNST0XSG+nbgzLDBUMxdWOB3CE6Q4vEJsu7MUR88=; b=PJsOYRwNXsOqPwsWTgPr+WQvDmTo21ZYG3j9+VkBWsmcUvMN+w/7So1WUxQ80TtJSBRBtvXFEHayWhrim0LIF7F2MuqlUUvwjr9H9gHq9KcMejld7WgSPFu+GjpAdgFF6svylJ5gE2p+amaZ+09xNnfC0bH8h9cQ700iuCsIDFM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:from:to:content-type:content-transfer-encoding:mime-version:subject:date:x-mailer; b=C7Y5muZBhUbAWfp/ZKDf39hSylw/qk2Z7YY1xWDYpCK6r2aQA24QCjJ3SKwa7KJesjvcsZ5RnslAIYv3sIiLm3+vvC8E74Gw+qw+RtwfTMrWG68rtVJG5jP8ICi4dikRc3VoTPap0Bpcwd+0+yqeB0ulCQ4Owf+92TpP18EwpV0= Received: by 161.129.204.104 with SMTP id c5mr559361rvp.1194018899231; Fri, 02 Nov 2007 08:54:59 -0700 (PDT) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTPS id 3sm252995nzf.2161.129.204.104.54.52 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 02 Nov 2007 08:54:56 -0700 (PDT) Message-Id: <[email protected]> From: Casey Rayman <[email protected]> To: [email protected] Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v912) Subject: JNDI lookup help Date: Fri, 2 Nov 2007 10:54:50 -0500 X-Mailer: Apple Mail (2.912) X-Virus-Checked: Checked by ClamAV on apache.org I'm looking at openejb as a testing environment for some entity beans. Our production environment is Weblogic. We are using the <local-jndi- name> tags to force a JNDI name in our weblogic-ejb-jar.xml file. Openejb appears to allow the same tag in the openejb-jar.xml, but seems to ignore it completely. Does anyone have any suggestions for forcing OpenEJB to use a JNDI name rather than using generated names via the openejb.jndiname.format property? Thanks, Casey From [email protected] Fri Nov 02 17:53:08 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84009 invoked from network); 2 Nov 2007 17:53:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Nov 2007 17:53:08 -0000 Received: (qmail 25606 invoked by uid 500); 2 Nov 2007 17:52:55 -0000 Delivered-To: [email protected] Received: (qmail 25597 invoked by uid 500); 2 Nov 2007 17:52:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 25588 invoked by uid 99); 2 Nov 2007 17:52:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2007 10:52:55 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO g2host.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2007 17:53:18 +0000 Received: from [161.129.204.104] (account [email protected] HELO [161.129.204.104]) by mailfront1.g2host.com (CommuniGate Pro SMTP 5.1.10) with ESMTPSA id 23895334 for [email protected]; Fri, 02 Nov 2007 12:52:29 -0500 Message-Id: <[email protected]> From: David Blevins <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v912) Subject: Re: JNDI lookup help Date: Fri, 2 Nov 2007 10:52:32 -0700 References: <[email protected]> X-Mailer: Apple Mail (2.912) X-Virus-Checked: Checked by ClamAV on apache.org On Nov 2, 2007, at 8:54 AM, Casey Rayman wrote: > I'm looking at openejb as a testing environment for some entity > beans. Our production environment is Weblogic. We are using the > <local-jndi-name> tags to force a JNDI name in our weblogic-ejb- > jar.xml file. Openejb appears to allow the same tag in the openejb- > jar.xml, but seems to ignore it completely. > > Does anyone have any suggestions for forcing OpenEJB to use a JNDI > name rather than using generated names via the > openejb.jndiname.format property? Hi Casey, We don't quite have the same tag in the openejb-jar.xml. You've hit upon one of the only remaining todos, let me see if i can hack something up for you. Ideally we should support your weblogic-ejb- jar.xml directly so you don't have to maintain an openejb-jar.xml file. -David From [email protected] Fri Nov 02 22:11:11 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61468 invoked from network); 2 Nov 2007 22:11:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Nov 2007 22:11:11 -0000 Received: (qmail 34010 invoked by uid 500); 2 Nov 2007 22:10:59 -0000 Delivered-To: [email protected] Received: (qmail 33994 invoked by uid 500); 2 Nov 2007 22:10:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 33985 invoked by uid 99); 2 Nov 2007 22:10:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2007 15:10:58 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail.gmx.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 02 Nov 2007 22:11:21 +0000 Received: (qmail invoked by alias); 02 Nov 2007 22:10:40 -0000 Received: from unknown (EHLO [161.129.204.104]) [161.129.204.104] by mail.gmx.net (mp030) with SMTP; 02 Nov 2007 23:10:40 +0100 X-Authenticated: #3657237 X-Provags-ID: V01U2FsdGVkX1+D6Q8rvwuDUXiu66D8ZP5Th6dRV33RhohyWeWB09 2m91XbN4rCKuEa From: Per Newgro <[email protected]> To: [email protected] Subject: Exception while using embedded openejb for testing in eclipse Date: Fri, 2 Nov 2007 23:20:50 +0100 User-Agent: KMail/1.9.5 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <[email protected]> X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org Hi *, i try to run my SLSB Tests on an embedded openejb server - without any extr= a=20 configuration. I added all required libs (try and error :-). But now i get = a=20 strange exception. (OpenEJB is in eclipse classpath). How can i reuse the=20 eclipse classpath for my tests? Cheers Per javax.naming.NamingException: Attempted to load OpenEJB. java.lang.NoClassDefFoundError [Root exception is java.lang.ClassCastException: java.lang.NoClassDefFoundError] =A0 =A0 =A0 =A0 =A0 [email protected](L ocalInitialContextFactory.java:47) =A0 =A0 =A0 =A0 =A0 [email protected](NamingManager.java:667) =A0 =A0 =A0 =A0 =A0 [email protected](InitialContext.java:247) =A0 =A0 =A0 =A0 =A0 [email protected](InitialContext.= java:223) =A0 =A0 =A0 =A0 =A0 [email protected].<init>(InitialContext.java:197) =A0 =A0 =A0 =A0 =A0 [email protected](OpenEjbAccessTe st.java:40) =A0 =A0 =A0 =A0 =A0 [email protected](Nat= ive Method) =A0 =A0 =A0 =A0 =A0 [email protected](NativeMethodAccessorImpl.jav a:39) =A0 =A0 =A0 =A0 =A0 [email protected](DelegatingMethodAccessor Impl.java:25) =A0 =A0 =A0 =A0 =A0 [email protected](Method.java:585) =A0 =A0 =A0 =A0 =A0 [email protected](BeforeAndAf terRunner.java:74) =A0 =A0 =A0 =A0 =A0 [email protected](BeforeAndAfte rRunner.java:50) =A0 =A0 =A0 =A0 =A0 [email protected](BeforeAndAf terRunner.java:33) =A0 =A0 =A0 =A0 =A0 [email protected](TestMethodRunner.j ava:75) =A0 =A0 =A0 =A0 =A0 [email protected](TestMethodRunner.java:45 ) =A0 =A0 =A0 =A0 =A0 [email protected](TestC lassMethodsRunner.java:66) =A0 =A0 =A0 =A0 =A0 [email protected](TestClassMethodsRu nner.java:35) =A0 =A0 =A0 =A0 =A0 [email protected]$1.runUnprotected(TestClassRun ner.java:42) =A0 =A0 =A0 =A0 =A0 [email protected](BeforeAndAf terRunner.java:34) =A0 =A0 =A0 =A0 =A0 [email protected](TestClassRunner.java:52) =A0 =A0 =A0 =A0 =A0 [email protected](JUnit4Tes tReference.java:38) =A0 =A0 =A0 =A0 =A0 [email protected](TestExecution.ja va:38) =A0 =A0 =A0 =A0 =A0 [email protected](RemoteTe stRunner.java:460) =A0 =A0 =A0 =A0 =A0 [email protected](RemoteTe stRunner.java:673) =A0 =A0 =A0 =A0 =A0 [email protected](RemoteTestRun ner.java:386) =A0 =A0 =A0 =A0 =A0 [email protected](RemoteTestRu nner.java:196) Caused by: java.lang.ClassCastException: java.lang.NoClassDefFoundError =A0 =A0 =A0 =A0 =A0 [email protected](OpenEJBInstance.java:38) =A0 =A0 =A0 =A0 =A0 [email protected](LocalInitialCo ntextFactory.java:59) =A0 =A0 =A0 =A0 =A0 [email protected](L ocalInitialContextFactory.java:45) =A0 =A0 =A0 =A0 =A0 =A0 ... 25 more From [email protected] Mon Nov 05 20:42:51 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61641 invoked from network); 5 Nov 2007 20:42:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Nov 2007 20:42:51 -0000 Received: (qmail 76017 invoked by uid 500); 5 Nov 2007 20:42:38 -0000 Delivered-To: [email protected] Received: (qmail 76000 invoked by uid 500); 5 Nov 2007 20:42:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 75991 invoked by uid 99); 5 Nov 2007 20:42:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2007 12:42:38 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO rv-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2007 20:42:40 +0000 Received: by rv-out-0910.google.com with SMTP id c27so1487263rvf for <[email protected]>; Mon, 05 Nov 2007 12:42:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=45VdcRavWSHWnQnl2MYh0mNOOxPmC565t+goKjYxUNw=; b=NzNvmt6uols3vGy5XVZ1O7NBrB8bC5vX00sHfSzree3eGKbjtUWtmQFqW+GDuq7KGxg//bKDtMtrvkGNeGHe05RuPHxMfUKqPSoaUqoTV5tV3SMLGweCByFrg11oHKwbzQK8rlnCSL4peNGYP8M3gR1LdBBijKHX4bYuXEgR0po= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=BzgIm5o7eMmUyfZIz6yDmvDuJXLzSqKpdLcLVuw7XHbP9/zzgrEqMUdAy30Ktke0oq65JbYMi63PlV75Yd2qBlGsRFNCMS+/Z/h6MmYUh9UTL+MPRDqv+DDEql5kinLit7eJHFosMcsO8HJeN0Y5Tco/K9FmEJFKRLP/607WpFs= Received: by 161.129.204.104 with SMTP id p13mr2613581rvl.1194295338256; Mon, 05 Nov 2007 12:42:18 -0800 (PST) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTPS id 22sm4385863nzn.2161.129.204.104.42.17 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 05 Nov 2007 12:42:17 -0800 (PST) Message-Id: <[email protected]> From: Casey Rayman <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v912) Subject: Re: JNDI lookup help Date: Mon, 5 Nov 2007 14:42:16 -0600 References: <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.912) X-Virus-Checked: Checked by ClamAV on apache.org That would be awesome. Thanks David. Casey On Nov 2, 2007, at 12:52 PM, David Blevins wrote: > > On Nov 2, 2007, at 8:54 AM, Casey Rayman wrote: > >> I'm looking at openejb as a testing environment for some entity >> beans. Our production environment is Weblogic. We are using the >> <local-jndi-name> tags to force a JNDI name in our weblogic-ejb- >> jar.xml file. Openejb appears to allow the same tag in the openejb- >> jar.xml, but seems to ignore it completely. >> >> Does anyone have any suggestions for forcing OpenEJB to use a JNDI >> name rather than using generated names via the >> openejb.jndiname.format property? > > Hi Casey, > > We don't quite have the same tag in the openejb-jar.xml. You've hit > upon one of the only remaining todos, let me see if i can hack > something up for you. Ideally we should support your weblogic-ejb- > jar.xml directly so you don't have to maintain an openejb-jar.xml > file. > > > -David > From [email protected] Tue Nov 06 08:21:08 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11229 invoked from network); 6 Nov 2007 08:21:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Nov 2007 08:21:08 -0000 Received: (qmail 50815 invoked by uid 500); 6 Nov 2007 08:20:56 -0000 Delivered-To: [email protected] Received: (qmail 50801 invoked by uid 500); 6 Nov 2007 08:20:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 50792 invoked by uid 99); 6 Nov 2007 08:20:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2007 00:20:56 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nz-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2007 08:20:56 +0000 Received: by nz-out-0506.google.com with SMTP id k1so1163729nzf for <[email protected]>; Tue, 06 Nov 2007 00:20:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=jzHi/1z+Fup4JKQXjhGlhGeJnqsBJnIwT8/WDEUl6AA=; b=HiS/mHa1e9pSYCGTg7HO7kR5WLB9OsbcO4kj8K2EhI9IMNsF+jcFe6jwIpIG3Z2XxXrAf/hu9DAOU2UKSHUCOam2Xy7gMoo3LmVLVf/Ia4ziCF8+Ayw5kTH13lxG1HaO42mCnJzkzAyHF1w6ZBQgTgtbKK92o/Db5A1agQr+Zyw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=d6wHUj84vINzFBgyyBlt/G4AJxzpCPzFWpQguP/PV2OXV+mkR5j/73cYwUMqVmaq1lyDRB1mk3gQaDLIUUdMGVksOXbLTQmYgTCWsY/8DfYeAyQfLNixBNWt+QKI/HemYPvS6J417sMQIM+qDYl7gkrEsU6v7i+h+Q6iwW5+17o= Received: by 161.129.204.104 with SMTP id r2mr6158443wae.1194337234625; Tue, 06 Nov 2007 00:20:34 -0800 (PST) Received: by 161.129.204.104 with HTTP; Tue, 6 Nov 2007 00:20:34 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 6 Nov 2007 09:20:34 +0100 From: "Jacek Laskowski" <[email protected]> Reply-To: [email protected] Sender: [email protected] To: [email protected] Subject: Re: JNDI lookup help In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> X-Google-Sender-Auth: 9ffc84d101f8c590 X-Virus-Checked: Checked by ClamAV on apache.org On 11/5/07, Casey Rayman <[email protected]> wrote: > That would be awesome. Thanks David. Could you send the weblogic-ejb-jar.xml you're working with? It'd be an excellent example to start with and add more features as they're needed. Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl From [email protected] Tue Nov 06 18:17:18 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31706 invoked from network); 6 Nov 2007 18:17:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Nov 2007 18:17:16 -0000 Received: (qmail 66543 invoked by uid 500); 6 Nov 2007 18:17:04 -0000 Delivered-To: [email protected] Received: (qmail 66455 invoked by uid 500); 6 Nov 2007 18:17:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 66446 invoked by uid 99); 6 Nov 2007 18:17:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2007 10:17:03 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ik-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2007 18:17:04 +0000 Received: by ik-out-1112.google.com with SMTP id c21so747054ika for <[email protected]>; Tue, 06 Nov 2007 10:16:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:from:to:in-reply-to:content-type:mime-version:subject:date:references:x-mailer; bh=hdoiMU1t+pXkqrzYfCBM7sUOgoyZ/M2NXXTq6tfn5Q0=; b=hhh38kWjZUqSq1RgzQU97dKGOjVv6VuZfYJ7ZRaGKagDWWMPWhSVbb73H2zQ1c34wrXq9wsWLbUw5NXRAovIyW4xS84FdFxslDgvOMnb7CdSnbLGpRps5bTh3RnR8PvOSgo3uqDq1kOinuaYP1DIGSnnK4Ue/M/SgAdcgNIpAkI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:from:to:in-reply-to:content-type:mime-version:subject:date:references:x-mailer; b=OCAIt7uP8TORT0M7VLyT9IQ/0PEQXzYqUwWGYOXFwW4NGC6Yp4FxLoQWnvPQV8xwdj+AogmTsmyyO7DFBlJea1pCNXgaw6K4CNL2dUPoYq3qDtgbQjKvF14vLyU2lDlTAYjqv7inRUar3JrwOkgVMgxbzm33MyLDd9stApJ+gr4= Received: by 161.129.204.104 with SMTP id v7mr438235ybd.1194372998810; Tue, 06 Nov 2007 10:16:38 -0800 (PST) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTPS id 14sm964693nzp.2161.129.204.104.16.27 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 06 Nov 2007 10:16:33 -0800 (PST) Message-Id: <[email protected]> From: Casey Rayman <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: multipart/mixed; boundary=Apple-Mail-26--830073807 Mime-Version: 1.0 (Apple Message framework v912) Subject: Re: JNDI lookup help Date: Tue, 6 Nov 2007 12:16:14 -0600 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.912) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-26--830073807 Content-Disposition: attachment; filename=weblogic-ejb-jar.xml Content-Type: text/xml; x-unix-mode=0644; name="weblogic-ejb-jar.xml" Content-Transfer-Encoding: quoted-printable <?xml version=3D"1.0" encoding=3D"UTF-8"?>=0D <!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic = 7.0.0 EJB//EN" = "http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd">=0D <weblogic-ejb-jar>=0D <weblogic-enterprise-bean>=0D <ejb-name>AuxGenderRO</ejb-name>=0D <entity-descriptor>=0D <entity-cache>=0D <max-beans-in-cache>1000</max-beans-in-cache>=0D <read-timeout-seconds>15</read-timeout-seconds>=0D <concurrency-strategy>ReadOnly</concurrency-strategy>=0D </entity-cache>=0D <persistence>=0D = <delay-updates-until-end-of-tx>false</delay-updates-until-end-of-tx>=0D <persistence-use>=0D <type-identifier>WebLogic_CMP_RDBMS</type-identifier>=0D <type-version>6.0</type-version>=0D = <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>=0D </persistence-use>=0D </persistence>=0D </entity-descriptor>=0D <enable-call-by-reference>True</enable-call-by-reference>=0D <local-jndi-name>AuxGenderHomeRO</local-jndi-name>=0D </weblogic-enterprise-bean>=0D </weblogic-ejb-jar>=0D =0D --Apple-Mail-26--830073807 Content-Disposition: attachment; filename=ejb-jar.xml Content-Type: text/xml; x-unix-mode=0644; name="ejb-jar.xml" Content-Transfer-Encoding: quoted-printable <?xml version=3D"1.0" encoding=3D"UTF-8"?>=0D <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise = JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">=0D <ejb-jar>=0D <enterprise-beans>=0D <entity>=0D <ejb-name>AuxGenderRO</ejb-name>=0D <local-home>com.xxxx.xxxx.entity.AuxGenderHome</local-home>=0D <local>com.xxxx.xxxx.entity.AuxGender</local>=0D <ejb-class>com.xxxx.xxxx.entity.AuxGenderBean</ejb-class>=0D <persistence-type>Container</persistence-type>=0D = <prim-key-class>com.xxxx.xxxx.entity.AuxGenderPK</prim-key-class>=0D <reentrant>False</reentrant>=0D <cmp-version>2.x</cmp-version>=0D <abstract-schema-name>AuxGenderBeanRO</abstract-schema-name>=0D <cmp-field>=0D <field-name>genderId</field-name>=0D </cmp-field>=0D <cmp-field>=0D <field-name>genderCode</field-name>=0D </cmp-field>=0D <cmp-field>=0D <field-name>modifiedBy</field-name>=0D </cmp-field>=0D <cmp-field>=0D <field-name>sourceId</field-name>=0D </cmp-field>=0D <cmp-field>=0D <field-name>genderDesc</field-name>=0D </cmp-field>=0D <cmp-field>=0D <field-name>modifiedDate</field-name>=0D </cmp-field>=0D <cmp-field>=0D <field-name>status</field-name>=0D </cmp-field>=0D <cmp-field>=0D <field-name>effectiveDate</field-name>=0D </cmp-field>=0D <query>=0D <query-method>=0D <method-name>findAll</method-name>=0D <method-params />=0D </query-method>=0D <ejb-ql><![CDATA[SELECT OBJECT(o) FROM AuxGenderBeanRO AS o = WHERE (NOT (o.genderId =3D 0) AND (o.status LIKE 'A%'))]]></ejb-ql>=0D </query>=0D </entity>=0D </enterprise-beans>=0D <assembly-descriptor>=0D <container-transaction>=0D <method>=0D <ejb-name>AuxGenderRO</ejb-name>=0D <method-name>*</method-name>=0D </method>=0D <trans-attribute>NotSupported</trans-attribute>=0D </container-transaction>=0D </assembly-descriptor>=0D </ejb-jar>=0D =0D --Apple-Mail-26--830073807 Content-Disposition: attachment; filename=weblogic-cmp-rdbms-jar.xml Content-Type: text/xml; x-unix-mode=0644; name="weblogic-cmp-rdbms-jar.xml" Content-Transfer-Encoding: quoted-printable <?xml version=3D"1.0" encoding=3D"UTF-8"?>=0D <!DOCTYPE weblogic-rdbms-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic = 7.0.0 EJB RDBMS Persistence//EN" = "http://www.bea.com/servers/wls700/dtd/weblogic-rdbms20-persistence-700.dt= d">=0D <weblogic-rdbms-jar>=0D <weblogic-rdbms-bean>=0D <ejb-name>AuxGenderRO</ejb-name>=0D <data-source-name>XXXXDataSource</data-source-name>=0D <table-map>=0D <table-name>AuxGender</table-name>=0D <field-map>=0D <cmp-field>genderId</cmp-field>=0D <dbms-column>GenderId</dbms-column>=0D </field-map>=0D <field-map>=0D <cmp-field>genderCode</cmp-field>=0D <dbms-column>GenderCode</dbms-column>=0D </field-map>=0D <field-map>=0D <cmp-field>modifiedBy</cmp-field>=0D <dbms-column>ModifiedBy</dbms-column>=0D </field-map>=0D <field-map>=0D <cmp-field>sourceId</cmp-field>=0D <dbms-column>SourceId</dbms-column>=0D </field-map>=0D <field-map>=0D <cmp-field>genderDesc</cmp-field>=0D <dbms-column>GenderDesc</dbms-column>=0D </field-map>=0D <field-map>=0D <cmp-field>modifiedDate</cmp-field>=0D <dbms-column>ModifiedDate</dbms-column>=0D </field-map>=0D <field-map>=0D <cmp-field>status</cmp-field>=0D <dbms-column>Status</dbms-column>=0D </field-map>=0D <field-map>=0D <cmp-field>effectiveDate</cmp-field>=0D <dbms-column>EffectiveDate</dbms-column>=0D </field-map>=0D </table-map>=0D </weblogic-rdbms-bean>=0D </weblogic-rdbms-jar>=0D =0D --Apple-Mail-26--830073807 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit > I've attached all 3 weblogic deployment descriptors. The class > names have been masked to protect the guilty :) > > Thanks, > Casey On Nov 6, 2007, at 2:20 AM, Jacek Laskowski wrote: > On 11/5/07, Casey Rayman <[email protected]> wrote: >> That would be awesome. Thanks David. > > Could you send the weblogic-ejb-jar.xml you're working with? It'd be > an excellent example to start with and add more features as they're > needed. > > Jacek > > -- > Jacek Laskowski > http://www.JacekLaskowski.pl --Apple-Mail-26--830073807-- From [email protected] Wed Nov 07 05:22:02 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73942 invoked from network); 7 Nov 2007 05:22:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Nov 2007 05:22:02 -0000 Received: (qmail 65502 invoked by uid 500); 7 Nov 2007 05:21:49 -0000 Delivered-To: [email protected] Received: (qmail 65487 invoked by uid 500); 7 Nov 2007 05:21:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 65478 invoked by uid 99); 7 Nov 2007 05:21:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2007 21:21:49 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO g2host.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 05:22:23 +0000 Received: from [161.129.204.104] (account [email protected] HELO [161.129.204.104]) by mailfront1.g2host.com (CommuniGate Pro SMTP 5.1.10) with ESMTPSA id 24358632 for [email protected]; Tue, 06 Nov 2007 23:21:17 -0600 Message-Id: <[email protected]> From: David Blevins <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v912) Subject: Re: JNDI lookup help Date: Tue, 6 Nov 2007 21:21:27 -0800 References: <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.912) X-Virus-Checked: Checked by ClamAV on apache.org > On Nov 2, 2007, at 12:52 PM, David Blevins wrote: > >> On Nov 2, 2007, at 8:54 AM, Casey Rayman wrote: >> >>> We are using the <local-jndi-name> tags to force a JNDI name in >>> our weblogic-ejb-jar.xml file. Openejb appears to allow the same >>> tag in the openejb-jar.xml, but seems to ignore it completely. >> >> We don't quite have the same tag in the openejb-jar.xml. You've >> hit upon one of the only remaining todos, let me see if i can hack >> something up for you. Ideally we should support your weblogic-ejb- >> jar.xml directly so you don't have to maintain an openejb-jar.xml >> file. Ok, I've added the support we've been needing for per ejb jndi names: http://issues.apache.org/jira/browse/OPENEJB-253 Note that you can still use a template if you like, i.e. "ejb/ org.superbiz.Foo" works or you can just "ejb/{interfaceClass}". Then I also hooked up support for pulling the jndi names out of the weblogic-ejb-jar.xml file also, so you really don't need to bother with an openejb-jar.xml. The wls conversion code so far only supports <jndi-name> and <local-jndi-name>. It'll take a bit to add cmp conversion (we use JPA for our CMP), but by the looks of the entity you posted, it should work fine as-is because the field names match the column names which is JPA default. Back on the subject of JNDI names, do you happen to know the jndi format WebLogic uses for EJB 3 business interfaces? I poked around but didn't find anything definitive, got the impression they were just using interface name. I'd like to adjust the default template appropriately to match. New snapshots have been published. Just switch your dependency version to 3.0.0-SNAPSHOT, give it a try and let us know if it works. -David From [email protected] Wed Nov 07 05:38:05 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75796 invoked from network); 7 Nov 2007 05:38:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Nov 2007 05:38:05 -0000 Received: (qmail 75874 invoked by uid 500); 7 Nov 2007 05:37:53 -0000 Delivered-To: [email protected] Received: (qmail 75859 invoked by uid 500); 7 Nov 2007 05:37:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 75842 invoked by uid 99); 7 Nov 2007 05:37:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2007 21:37:53 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO g2host.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 05:38:27 +0000 Received: from [161.129.204.104] (account [email protected] HELO [161.129.204.104]) by mailfront1.g2host.com (CommuniGate Pro SMTP 5.1.10) with ESMTPSA id 24359279 for [email protected]; Tue, 06 Nov 2007 23:37:21 -0600 Message-Id: <[email protected]> From: David Blevins <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v912) Subject: Re: Exception while using embedded openejb for testing in eclipse Date: Tue, 6 Nov 2007 21:37:31 -0800 References: <[email protected]> X-Mailer: Apple Mail (2.912) X-Virus-Checked: Checked by ClamAV on apache.org Hi Per, It isn't clear what's causing the issue based on the stack trace (NoClassDefFoundErrors usually require some debugging). I'm going to try and convert one of our examples into an eclipse project and see if I can't get something working. I'll post the workspace when I'm done. If you'd like to post a workspace that reproduces the issue as well, that'd be great too. Even if the space I create works, I'd be nice to know what happened for support reasons. -David On Nov 2, 2007, at 3:20 PM, Per Newgro wrote: > Hi *, > > i try to run my SLSB Tests on an embedded openejb server - without > any extra > configuration. I added all required libs (try and error :-). But now > i get a > strange exception. (OpenEJB is in eclipse classpath). How can i > reuse the > eclipse classpath for my tests? > > Cheers > Per > > javax.naming.NamingException: Attempted to load OpenEJB. > java.lang.NoClassDefFoundError [Root exception is > java.lang.ClassCastException: java.lang.NoClassDefFoundError] > > at > org > .apache.openejb.client.LocalInitialContextFactory.getInitialContext(L > ocalInitialContextFactory.java:47) > > at > javax.naming.spi.NamingManager.getInitialContext(NamingManager.java: > 667) > > at > javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) > > at javax.naming.InitialContext.init(InitialContext.java: > 223) > > at > javax.naming.InitialContext.<init>(InitialContext.java:197) > > at > de > .yhd.buma.backend.backendtests.OpenEjbAccessTest.setUp(OpenEjbAccessTe > st.java:40) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > > at > sun > .reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav > a:39) > > at > sun > .reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor > Impl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:585) > > at > org > .junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAf > terRunner.java:74) > > at > org > .junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndAfte > rRunner.java:50) > > at > org > .junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAf > terRunner.java:33) > > at > org > .junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.j > ava:75) > > at > org > .junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45 > ) > > at > org > .junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestC > lassMethodsRunner.java:66) > > at > org > .junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRu > nner.java:35) > > at > org.junit.internal.runners.TestClassRunner > $1.runUnprotected(TestClassRun > ner.java:42) > > at > org > .junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAf > terRunner.java:34) > > at > org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java: > 52) > > at > org > .eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4Tes > tReference.java:38) > > at > org > .eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.ja > va:38) > > at > org > .eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTe > stRunner.java:460) > > at > org > .eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTe > stRunner.java:673) > > at > org > .eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRun > ner.java:386) > > at > org > .eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRu > nner.java:196) > > Caused by: java.lang.ClassCastException: > java.lang.NoClassDefFoundError > > at > org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java: > 38) > > at > org > .apache.openejb.client.LocalInitialContextFactory.init(LocalInitialCo > ntextFactory.java:59) > > at > org > .apache.openejb.client.LocalInitialContextFactory.getInitialContext(L > ocalInitialContextFactory.java:45) > > ... 25 more > From [email protected] Wed Nov 07 14:15:13 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9277 invoked from network); 7 Nov 2007 14:15:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Nov 2007 14:15:13 -0000 Received: (qmail 95015 invoked by uid 500); 7 Nov 2007 14:15:00 -0000 Delivered-To: [email protected] Received: (qmail 94999 invoked by uid 500); 7 Nov 2007 14:15:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 94990 invoked by uid 99); 7 Nov 2007 14:15:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 06:15:00 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO py-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 14:15:03 +0000 Received: by py-out-1112.google.com with SMTP id a73so4850792pye for <[email protected]>; Wed, 07 Nov 2007 06:14:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=uIrAD0JJw+AWlwFOxmGefaTUJ3dpOa047a5yTodvagg=; b=X8d1iy3hXA3tX/7SPXb2V6ErF/vcOGii/dvQ8bOftSTm+RREcOECAstikaVx439N1h4gElJeYclRs34a/7l5e+RmO9KDZ9fdCgU0BjT6C+fCAassvs5si66TJlN1bxCuYvXPVfuOvs3oRRdUgny/A5Ly1LwRCxL74tQ3vVX4Hig= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=goeXAYIHHlkK8PPJtMXVKYRqhuy1AK25ckNlUsXgLYtaYebEd6/8W6MsJRrGK7svhi05qHk0+Vjt8Y0IvVz5rLsnjCEKYdnPjdHtO8iZflNKoo5nsn25CthDI++V1p0vGHUuKL95CHw2Ej3H7yYCD3pFXHEMLRpIe7Wy8XcrtTg= Received: by 161.129.204.104 with SMTP id z1mr8935057pyk.1194444878993; Wed, 07 Nov 2007 06:14:38 -0800 (PST) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTPS id f10sm22464348pyh.2161.129.204.104.14.38 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 07 Nov 2007 06:14:38 -0800 (PST) Message-Id: <[email protected]> From: Casey Rayman <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v912) Subject: Re: JNDI lookup help Date: Wed, 7 Nov 2007 08:14:36 -0600 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.912) X-Virus-Checked: Checked by ClamAV on apache.org Forgive my ignorance... Is there an established place to download binary snapshots or do you mean an output of Maven via checking out a snapshot from the repository? On another note: There is a download.html and a downloads.html(note the s) on the website. I confused myself for a few seconds when I mistyped the url. Thanks, Casey On Nov 6, 2007, at 11:21 PM, David Blevins wrote: > >> On Nov 2, 2007, at 12:52 PM, David Blevins wrote: >> >>> On Nov 2, 2007, at 8:54 AM, Casey Rayman wrote: >>> >>>> We are using the <local-jndi-name> tags to force a JNDI name in >>>> our weblogic-ejb-jar.xml file. Openejb appears to allow the same >>>> tag in the openejb-jar.xml, but seems to ignore it completely. >>> >>> We don't quite have the same tag in the openejb-jar.xml. You've >>> hit upon one of the only remaining todos, let me see if i can hack >>> something up for you. Ideally we should support your weblogic-ejb- >>> jar.xml directly so you don't have to maintain an openejb-jar.xml >>> file. > > Ok, I've added the support we've been needing for per ejb jndi names: > > http://issues.apache.org/jira/browse/OPENEJB-253 > > Note that you can still use a template if you like, i.e. "ejb/ > org.superbiz.Foo" works or you can just "ejb/{interfaceClass}". > > Then I also hooked up support for pulling the jndi names out of the > weblogic-ejb-jar.xml file also, so you really don't need to bother > with an openejb-jar.xml. The wls conversion code so far only > supports <jndi-name> and <local-jndi-name>. It'll take a bit to add > cmp conversion (we use JPA for our CMP), but by the looks of the > entity you posted, it should work fine as-is because the field names > match the column names which is JPA default. > > Back on the subject of JNDI names, do you happen to know the jndi > format WebLogic uses for EJB 3 business interfaces? I poked around > but didn't find anything definitive, got the impression they were > just using interface name. I'd like to adjust the default template > appropriately to match. > > New snapshots have been published. Just switch your dependency > version to 3.0.0-SNAPSHOT, give it a try and let us know if it works. > > -David > From [email protected] Wed Nov 07 20:34:14 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85767 invoked from network); 7 Nov 2007 20:34:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Nov 2007 20:34:14 -0000 Received: (qmail 21913 invoked by uid 500); 7 Nov 2007 20:34:02 -0000 Delivered-To: [email protected] Received: (qmail 21905 invoked by uid 500); 7 Nov 2007 20:34:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 21896 invoked by uid 99); 7 Nov 2007 20:34:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 12:34:02 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO g2host.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 20:34:04 +0000 Received: from [161.129.204.104] (account [email protected] HELO [161.129.204.104]) by mailfront1.g2host.com (CommuniGate Pro SMTP 5.1.10) with ESMTPSA id 24467514 for [email protected]; Wed, 07 Nov 2007 14:33:30 -0600 Message-Id: <[email protected]> From: David Blevins <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v912) Subject: Re: JNDI lookup help Date: Wed, 7 Nov 2007 12:33:32 -0800 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.912) X-Virus-Checked: Checked by ClamAV on apache.org On Nov 7, 2007, at 6:14 AM, Casey Rayman wrote: > Forgive my ignorance... Is there an established place to download > binary snapshots or do you mean an output of Maven via checking out > a snapshot from the repository? Sorry, I assumed you were using maven (it would auto-download everything). I've put up a server binary here for you: http://people.apache.org/~dblevins/openejb-592874/ Out of curiosity, what build/test environment are you using? I know things are nice and easy for maven, but I definitely want to make sure we're doing what we can for other setups too -- any suggestions on how we could make life easier are very welcome. > On another note: There is a download.html and a downloads.html(note > the s) on the website. I confused myself for a few seconds when I > mistyped the url. Definitely confusing. We'll get that cleared up. Thanks! -David > > > Thanks, > Casey > > On Nov 6, 2007, at 11:21 PM, David Blevins wrote: > >> >>> On Nov 2, 2007, at 12:52 PM, David Blevins wrote: >>> >>>> On Nov 2, 2007, at 8:54 AM, Casey Rayman wrote: >>>> >>>>> We are using the <local-jndi-name> tags to force a JNDI name in >>>>> our weblogic-ejb-jar.xml file. Openejb appears to allow the >>>>> same tag in the openejb-jar.xml, but seems to ignore it >>>>> completely. >>>> >>>> We don't quite have the same tag in the openejb-jar.xml. You've >>>> hit upon one of the only remaining todos, let me see if i can >>>> hack something up for you. Ideally we should support your >>>> weblogic-ejb-jar.xml directly so you don't have to maintain an >>>> openejb-jar.xml file. >> >> Ok, I've added the support we've been needing for per ejb jndi names: >> >> http://issues.apache.org/jira/browse/OPENEJB-253 >> >> Note that you can still use a template if you like, i.e. "ejb/ >> org.superbiz.Foo" works or you can just "ejb/{interfaceClass}". >> >> Then I also hooked up support for pulling the jndi names out of the >> weblogic-ejb-jar.xml file also, so you really don't need to bother >> with an openejb-jar.xml. The wls conversion code so far only >> supports <jndi-name> and <local-jndi-name>. It'll take a bit to >> add cmp conversion (we use JPA for our CMP), but by the looks of >> the entity you posted, it should work fine as-is because the field >> names match the column names which is JPA default. >> >> Back on the subject of JNDI names, do you happen to know the jndi >> format WebLogic uses for EJB 3 business interfaces? I poked around >> but didn't find anything definitive, got the impression they were >> just using interface name. I'd like to adjust the default template >> appropriately to match. >> >> New snapshots have been published. Just switch your dependency >> version to 3.0.0-SNAPSHOT, give it a try and let us know if it works. >> >> -David >> > > From [email protected] Thu Nov 08 02:18:09 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 287 invoked from network); 8 Nov 2007 02:18:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Nov 2007 02:18:08 -0000 Received: (qmail 60681 invoked by uid 500); 8 Nov 2007 02:17:55 -0000 Delivered-To: [email protected] Received: (qmail 60667 invoked by uid 500); 8 Nov 2007 02:17:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 60658 invoked by uid 99); 8 Nov 2007 02:17:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 18:17:55 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO g2host.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2007 02:17:57 +0000 Received: from [161.129.204.104] (account [email protected] HELO [161.129.204.104]) by mailfront2.g2host.com (CommuniGate Pro SMTP 5.1.10) with ESMTPSA id 23904973 for [email protected]; Wed, 07 Nov 2007 20:17:27 -0600 Message-Id: <[email protected]> From: David Blevins <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v912) Subject: Re: Exception while using embedded openejb for testing in eclipse Date: Wed, 7 Nov 2007 18:17:33 -0800 References: <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.912) X-Virus-Checked: Checked by ClamAV on apache.org On Nov 6, 2007, at 9:37 PM, David Blevins wrote: > Hi Per, > > It isn't clear what's causing the issue based on the stack trace > (NoClassDefFoundErrors usually require some debugging). I'm going > to try and convert one of our examples into an eclipse project and > see if I can't get something working. I'll post the workspace when > I'm done. > > If you'd like to post a workspace that reproduces the issue as well, > that'd be great too. Even if the space I create works, I'd be nice > to know what happened for support reasons. I was able to get something running using an example from the downloadable examples zip as follows: On Command line: 1. cd examples/calculator-stateless-pojo 2. mvn eclipse:eclipse In Eclipse: 3. Open Eclipse 4. Import "examples/calculator-stateless-pojo" selecting "General- >Existing Projects into Workspace" That will get your project into eclipse, but there'll be an "M2_REPO" variable you have to define. For that you: 5. Preferences -> navigate to "Java -> Build Path -> Classpath Variables" 6. click New... 7. enter the values Name: "M2_REPO", Path: "/Users/dblevins/.m2/ repository/" (adjust for your machine) 8. OK That should do the trick. From there you can run the CalculatorTest.java which will show everything running embedded. I made some screen shots, but don't have an art program to mark them up or shrink down the file sizes. None the less, here are a few along with generated eclipse project: http://people.apache.org/~dblevins/eclipse-howto/ Hope this helps. Let us know how it goes. -David P.S. Anyone out there want to turn this into an article? Could probably recommend you to a publisher. From [email protected] Thu Nov 08 21:42:46 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85262 invoked from network); 8 Nov 2007 21:42:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Nov 2007 21:42:46 -0000 Received: (qmail 55946 invoked by uid 500); 8 Nov 2007 21:42:33 -0000 Delivered-To: [email protected] Received: (qmail 55925 invoked by uid 500); 8 Nov 2007 21:42:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55916 invoked by uid 99); 8 Nov 2007 21:42:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2007 13:42:33 -0800 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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO rv-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2007 21:42:34 +0000 Received: by rv-out-0910.google.com with SMTP id c27so283123rvf for <[email protected]>; Thu, 08 Nov 2007 13:42:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:from:to:in-reply-to:content-type:mime-version:subject:date:references:x-mailer; bh=nyie9/EVataR7TouDlczcND8elVx7jTsd1LEjNL2jmU=; b=ms/guD2IRPb4dSVCWYk6zeucRZjp+F/bNZ5PWwxVEqvl55bAI8TzRcN2P9cvTlXKJbGMdj8o3SeksCQbgrcztR//ke/E49pz1bk8s/4TjgMEsJQuZDTYbdksxTFE0efnbo5Vb//w4cDzts0ffoGasnL9PDacKLCbN88zrYWEass= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:from:to:in-reply-to:content-type:mime-version:subject:date:references:x-mailer; b=DOzhO0jNbBMSzBQU0Sn75nHqSWGTQMyYgUhMq5W6PZVq8g9Msa5IWv6GPci4Blyo5M8zzhgPcnRNKdXekjzjKszcefUMGKMIb2GIklA/kelm+QmPmldF4Lp7M2mZTwy1lhXLsF6zocax7+zEq6KfaPF7cajNccDQ4B2eIOJ1a/4= Received: by 161.129.204.104 with SMTP id m3mr567677rvd.1194558133276; Thu, 08 Nov 2007 13:42:13 -0800 (PST) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTPS id 3sm29840nzf.2161.129.204.104.41.58 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 08 Nov 2007 13:42:06 -0800 (PST) Message-Id: <[email protected]> From: Casey Rayman <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: multipart/alternative; boundary=Apple-Mail-1--644942303 Mime-Version: 1.0 (Apple Message framework v912) Subject: Re: JNDI lookup help Date: Thu, 8 Nov 2007 15:41:45 -0600 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.912) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-1--644942303 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit We use Ant here. I'll download a copy of Maven to see if I can't get a little more self sufficient with my own builds and perhaps even contribute. I've been busy this week with production problems, but I gave it a quick try and this is the error I got so far. I'll see if I can't dig into it a bit further this evening. It's probably something I'm doing wrong though. [severity=ERROR,message=unexpected element (uri:"http://www.bea.com/ns/weblogic/90 ", local:"reference-descriptor"). Expected elements are <{http://www.bea.com/ns/weblogic/90 }resource-description>,<{http://www.bea.com/ns/weblogic/90}network- access-point>,<{http://www.bea.com/ns/weblogic/90}entity-descriptor>,<{http://www.bea.com/ns/weblogic/90 }enable-call-by-reference>,<{http://www.bea.com/ns/weblogic/90}create- as-principal-name>,<{http://www.bea.com/ns/weblogic/90}stateful- session-descriptor>,<{http://www.bea.com/ns/weblogic/90}local-jndi- name>,<{http://www.bea.com/ns/weblogic/90}ejb-name>,<{http://www.bea.com/ns/weblogic/90 }dispatch-policy>,<{http://www.bea.com/ns/weblogic/90}message-driven- descriptor>,<{http://www.bea.com/ns/weblogic/90}clients-on-same- server>,<{http://www.bea.com/ns/weblogic/90}run-as-principal-name>,<{http://www.bea.com/ns/weblogic/90 }iiop-security-descriptor>,<{http://www.bea.com/ns/weblogic/90}jndi- name>,<{http://www.bea.com/ns/weblogic/90}service-reference- description>,<{http://www.bea.com/ns/weblogic/90}ejb-reference- description>,<{http://www.bea.com/ns/weblogic/90}remove-as-principal- name>,<{http://www.bea.com/ns/weblogic/90}passivate-as-principal- name>,<{http://www.bea.com/ns/weblogic/90}resource-env-description>,<{http://www.bea.com/ns/weblogic/90 }transaction-descriptor>,<{http://www.bea.com/ns/weblogic/90}remote- client-timeout>,<{http://www.bea.com/ns/weblogic/90}stateless-session- descriptor >,locator=[node=null,object=null,url=null,line=11,col=29,offset=-1]] javax.xml.bind.UnmarshalException: unexpected element (uri:"http://www.bea.com/ns/weblogic/90 ", local:"reference-descriptor"). Expected elements are <{http://www.bea.com/ns/weblogic/90 }resource-description>,<{http://www.bea.com/ns/weblogic/90}network- access-point>,<{http://www.bea.com/ns/weblogic/90}entity-descriptor>,<{http://www.bea.com/ns/weblogic/90 }enable-call-by-reference>,<{http://www.bea.com/ns/weblogic/90}create- as-principal-name>,<{http://www.bea.com/ns/weblogic/90}stateful- session-descriptor>,<{http://www.bea.com/ns/weblogic/90}local-jndi- name>,<{http://www.bea.com/ns/weblogic/90}ejb-name>,<{http://www.bea.com/ns/weblogic/90 }dispatch-policy>,<{http://www.bea.com/ns/weblogic/90}message-driven- descriptor>,<{http://www.bea.com/ns/weblogic/90}clients-on-same- server>,<{http://www.bea.com/ns/weblogic/90}run-as-principal-name>,<{http://www.bea.com/ns/weblogic/90 }iiop-security-descriptor>,<{http://www.bea.com/ns/weblogic/90}jndi- name>,<{http://www.bea.com/ns/weblogic/90}service-reference- description>,<{http://www.bea.com/ns/weblogic/90}ejb-reference- description>,<{http://www.bea.com/ns/weblogic/90}remove-as-principal- name>,<{http://www.bea.com/ns/weblogic/90}passivate-as-principal- name>,<{http://www.bea.com/ns/weblogic/90}resource-env-description>,<{http://www.bea.com/ns/weblogic/90 }transaction-descriptor>,<{http://www.bea.com/ns/weblogic/90}remote- client-timeout>,<{http://www.bea.com/ns/weblogic/90}stateless-session- descriptor> at com .sun .xml .bind .v2 .runtime .unmarshaller .UnmarshallingContext.handleEvent(UnmarshallingContext.java:523) at com .sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java: 199) at com .sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java: 194) at com .sun .xml .bind .v2 .runtime.unmarshaller.Loader.reportUnexpectedChildElement(Loader.java: 71) at com .sun.xml.bind.v2.runtime.unmarshaller.Loader.childElement(Loader.java: 65) at com .sun .xml .bind .v2 .runtime .unmarshaller.StructureLoader.childElement(StructureLoader.java:209) at com .sun .xml .bind .v2 .runtime .unmarshaller .UnmarshallingContext._startElement(UnmarshallingContext.java:366) at com .sun .xml .bind .v2 .runtime .unmarshaller .UnmarshallingContext.startElement(UnmarshallingContext.java:347) at com .sun .xml .bind .v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java: 101) at org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java: 527) at org.apache.openejb.jee.wls.JaxbWls $NamespaceFilter.startElement(JaxbWls.java:127) at com .sun .org .apache .xerces .internal .parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533) at com .sun .org .apache .xerces .internal.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java: 798) at com .sun .org .apache .xerces .internal .impl .XMLNSDocumentScannerImpl .scanStartElement(XMLNSDocumentScannerImpl.java:330) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl $ FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java: 1693) at com .sun .org .apache .xerces .internal .impl .XMLDocumentFragmentScannerImpl .scanDocument(XMLDocumentFragmentScannerImpl.java:368) at com .sun .org .apache .xerces .internal.parsers.XML11Configuration.parse(XML11Configuration.java:834) at com .sun .org .apache .xerces .internal.parsers.XML11Configuration.parse(XML11Configuration.java:764) at com .sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java: 148) at com .sun .org .apache .xerces .internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242) at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:333) at com .sun .xml .bind .v2 .runtime .unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:194) at com .sun .xml .bind .v2 .runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java: 167) at javax .xml .bind .helpers .AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:120) at javax .xml .bind .helpers .AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:103) at org.apache.openejb.jee.wls.JaxbWls.unmarshal(JaxbWls.java:105) at org .apache.openejb.config.WlsConversion.getDescriptor(WlsConversion.java: 107) at org .apache.openejb.config.WlsConversion.convertModule(WlsConversion.java: 122) at org.apache.openejb.config.WlsConversion.deploy(WlsConversion.java: 91) at org.apache.openejb.config.ConfigurationFactory $Chain.deploy(ConfigurationFactory.java:137) at org .apache .openejb .config .ConfigurationFactory.configureApplication(ConfigurationFactory.java: 353) at org .apache .openejb .config .ConfigurationFactory.configureApplication(ConfigurationFactory.java: 307) at org .apache .openejb .config .ConfigurationFactory .getOpenEjbConfiguration(ConfigurationFactory.java:290) at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:244) at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:149) at org.apache.openejb.OpenEJB.init(OpenEJB.java:293) at org.apache.openejb.OpenEJB.init(OpenEJB.java:272) 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 org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36) at org .apache .openejb .client .LocalInitialContextFactory.init(LocalInitialContextFactory.java:59) at org .apache .openejb .client .LocalInitialContextFactory .getInitialContext(LocalInitialContextFactory.java:45) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java: 247) at javax.naming.InitialContext.init(InitialContext.java:223) at javax.naming.InitialContext.<init>(InitialContext.java:175) at com.edsoft.util.EJBHomeFactory.<init>(EJBHomeFactory.java:17) at com.edsoft.util.EJBHomeFactory.<clinit>(EJBHomeFactory.java:9) at com.edsoft.schoolsys.entity.AuxGenderTest.setUp(AuxGenderTest.java: 15) at junit.framework.TestCase.runBare(TestCase.java:128) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at org .eclipse .jdt .internal .junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java: 130) at org .eclipse .jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org .eclipse .jdt .internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java: 460) at org .eclipse .jdt .internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java: 673) at org .eclipse .jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java: 386) at org .eclipse .jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java: 196) Thank you for all your help, Casey On Nov 7, 2007, at 2:33 PM, David Blevins wrote: > > On Nov 7, 2007, at 6:14 AM, Casey Rayman wrote: > >> Forgive my ignorance... Is there an established place to download >> binary snapshots or do you mean an output of Maven via checking out >> a snapshot from the repository? > > Sorry, I assumed you were using maven (it would auto-download > everything). I've put up a server binary here for you: > > http://people.apache.org/~dblevins/openejb-592874/ > > Out of curiosity, what build/test environment are you using? I know > things are nice and easy for maven, but I definitely want to make > sure we're doing what we can for other setups too -- any suggestions > on how we could make life easier are very welcome. > >> On another note: There is a download.html and a downloads.html(note >> the s) on the website. I confused myself for a few seconds when I >> mistyped the url. > > Definitely confusing. We'll get that cleared up. > > Thanks! > > -David > >> >> >> Thanks, >> Casey >> >> On Nov 6, 2007, at 11:21 PM, David Blevins wrote: >> >>> >>>> On Nov 2, 2007, at 12:52 PM, David Blevins wrote: >>>> >>>>> On Nov 2, 2007, at 8:54 AM, Casey Rayman wrote: >>>>> >>>>>> We are using the <local-jndi-name> tags to force a JNDI name in >>>>>> our weblogic-ejb-jar.xml file. Openejb appears to allow the >>>>>> same tag in the openejb-jar.xml, but seems to ignore it >>>>>> completely. >>>>> >>>>> We don't quite have the same tag in the openejb-jar.xml. You've >>>>> hit upon one of the only remaining todos, let me see if i can >>>>> hack something up for you. Ideally we should support your >>>>> weblogic-ejb-jar.xml directly so you don't have to maintain an >>>>> openejb-jar.xml file. >>> >>> Ok, I've added the support we've been needing for per ejb jndi >>> names: >>> >>> http://issues.apache.org/jira/browse/OPENEJB-253 >>> >>> Note that you can still use a template if you like, i.e. "ejb/ >>> org.superbiz.Foo" works or you can just "ejb/{interfaceClass}". >>> >>> Then I also hooked up support for pulling the jndi names out of >>> the weblogic-ejb-jar.xml file also, so you really don't need to >>> bother with an openejb-jar.xml. The wls conversion code so far >>> only supports <jndi-name> and <local-jndi-name>. It'll take a bit >>> to add cmp conversion (we use JPA for our CMP), but by the looks >>> of the entity you posted, it should work fine as-is because the >>> field names match the column names which is JPA default. >>> >>> Back on the subject of JNDI names, do you happen to know the jndi >>> format WebLogic uses for EJB 3 business interfaces? I poked around >>> but didn't find anything definitive, got the impression they were >>> just using interface name. I'd like to adjust the default >>> template appropriately to match. >>> >>> New snapshots have been published. Just switch your dependency >>> version to 3.0.0-SNAPSHOT, give it a try and let us know if it >>> works. >>> >>> -David >>> >> >> > --Apple-Mail-1--644942303-- From [email protected] Fri Nov 09 10:26:58 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2709 invoked from network); 9 Nov 2007 10:26:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Nov 2007 10:26:58 -0000 Received: (qmail 68820 invoked by uid 500); 9 Nov 2007 10:26:46 -0000 Delivered-To: [email protected] Received: (qmail 68626 invoked by uid 500); 9 Nov 2007 10:26:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 68617 invoked by uid 99); 9 Nov 2007 10:26:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 02:26:46 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 10:26:48 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1IqR4G-0000p0-8q for [email protected]; Fri, 09 Nov 2007 02:26:28 -0800 Message-ID: <[email protected]> Date: Fri, 9 Nov 2007 02:26:28 -0800 (PST) From: Newgro <[email protected]> To: [email protected] Subject: Re: Exception while using embedded openejb for testing in eclipse In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] References: <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi David, ok. I got it exactly the way you did. My fault was that i added only some libs to my eclispe-build-path geronimo-annotation_1.0_spec-1.1.jar geronimo-ejb_3.0_spec-1.0.jar geronimo-jta_1.1_spec-1.1.jar log4j-1.2.12.jar openejb-client-3.0-beta-1.jar openejb-core-3.0-beta-1.jar openejb-ejbd-3.0-beta-1.jar openejb-loader-3.0-beta-1.jar openejb-server-3.0-beta-1.jar Now i added all libs from the project and ... it's running, but not working :-( I open another thread for my new problems. Thanks alot for your great help and project Cheers Per -- View this message in context: http://www.nabble.com/Exception-while-using-embedded-openejb-for-testing-in-eclipse-tf4740984.html#a13664420 Sent from the OpenEJB User mailing list [email protected]. From [email protected] Fri Nov 09 10:38:08 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6399 invoked from network); 9 Nov 2007 10:38:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Nov 2007 10:38:08 -0000 Received: (qmail 79470 invoked by uid 500); 9 Nov 2007 10:37:55 -0000 Delivered-To: [email protected] Received: (qmail 79449 invoked by uid 500); 9 Nov 2007 10:37:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 79438 invoked by uid 99); 9 Nov 2007 10:37:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 02:37:55 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 10:37:58 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1IqRF3-00013Y-WF for [email protected]; Fri, 09 Nov 2007 02:37:38 -0800 Message-ID: <[email protected]> Date: Fri, 9 Nov 2007 02:37:37 -0800 (PST) From: Newgro <[email protected]> To: [email protected] Subject: Embedded: Tests not found in classpath MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org Hi *, i try to run my tests in an embedded environment from within eclipse. What i'm not understand is that my beans are not deployed. I setup the test with /** * setUp * @throws java.lang.Exception */ @Before public void setUp() throws Exception { Properties properties = new Properties(); properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory"); properties.setProperty("openejb.deployments.classpath.include", ".*buma.*"); initialContext = new InitialContext(properties); System.out.println(System.getProperty("java.class.path")); } If i print the class path my "classes" folder is present. In a subfolder of it my Testclasses and my EJB with Localinterface are present. The package-name is "de.yhd.buma.backend.usecases". But in the log i only see 2007-11-09 11:18:30,562 - DEBUG - Using openejb.deployments.classpath.include '.*buma.*' 2007-11-09 11:18:30,562 - DEBUG - Using openejb.deployments.classpath.exclude '.*' 2007-11-09 11:18:30,562 - DEBUG - Using openejb.deployments.classpath.filter.systemapps 'true' 2007-11-09 11:18:30,562 - DEBUG - Using openejb.deployments.classpath.filter.descriptors 'false' 2007-11-09 11:18:30,562 - DEBUG - Using openejb.deployments.classpath.require.descriptor 'false' 2007-11-09 11:18:30,625 - DEBUG - Inspecting classpath for applications: 1 urls. 2007-11-09 11:18:31,170 - DEBUG - URLs after filtering: 156 ... (the openejb jars) 2007-11-09 11:18:31,186 - DEBUG - Descriptors path: file:/E:{...}/buma_backend/bin/ 2007-11-09 11:18:31,186 - DEBUG - Searched 1 classpath urls in 202 milliseconds. Average 202 milliseconds per url. 2007-11-09 11:18:31,310 - DEBUG - Initialized debug=true usersFile=users.properties groupsFile=groups.properties 2007-11-09 11:18:31,310 - DEBUG - abort ... (ActiveMQ and db stuff) My suspicion is that i missed something with the regular expressions for jar-parsing. But i didn't found any text on the webiste. I hope someone can bring me the light :-) Thanks Per -- View this message in context: http://www.nabble.com/Embedded%3A-Tests-not-found-in-classpath-tf4776887.html#a13664616 Sent from the OpenEJB User mailing list [email protected]. From [email protected] Fri Nov 09 19:00:13 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84600 invoked from network); 9 Nov 2007 19:00:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Nov 2007 19:00:12 -0000 Received: (qmail 8017 invoked by uid 500); 9 Nov 2007 18:59:52 -0000 Delivered-To: [email protected] Received: (qmail 7966 invoked by uid 500); 9 Nov 2007 18:59:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7949 invoked by uid 99); 9 Nov 2007 18:59:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 10:59:51 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO g2host.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 18:59:53 +0000 Received: from [161.129.204.104] (account [email protected] HELO [161.129.204.104]) by mailfront2.g2host.com (CommuniGate Pro SMTP 5.1.10) with ESMTPSA id 24142806 for [email protected]; Fri, 09 Nov 2007 12:59:27 -0600 Message-Id: <[email protected]> From: David Blevins <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v912) Subject: Re: Embedded: Tests not found in classpath Date: Fri, 9 Nov 2007 10:59:27 -0800 References: <[email protected]> X-Mailer: Apple Mail (2.912) X-Virus-Checked: Checked by ClamAV on apache.org On Nov 9, 2007, at 2:37 AM, Newgro wrote: > > Hi *, > > i try to run my tests in an embedded environment from within eclipse. > What i'm not understand is that my beans are not deployed. > > I setup the test with > /** > * setUp > * @throws java.lang.Exception > */ > @Before > public void setUp() throws Exception { > Properties properties = new Properties(); > properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, > "org.apache.openejb.client.LocalInitialContextFactory"); > properties.setProperty("openejb.deployments.classpath.include", > ".*buma.*"); > initialContext = new InitialContext(properties); > System.out.println(System.getProperty("java.class.path")); > } > > If i print the class path my "classes" folder is present. In a > subfolder of > it my Testclasses and my EJB with Localinterface are present. The > package-name is "de.yhd.buma.backend.usecases". > > But in the log i only see > 2007-11-09 11:18:30,562 - DEBUG - Using > openejb.deployments.classpath.include '.*buma.*' > 2007-11-09 11:18:30,562 - DEBUG - Using > openejb.deployments.classpath.exclude '.*' > 2007-11-09 11:18:30,562 - DEBUG - Using > openejb.deployments.classpath.filter.systemapps 'true' > 2007-11-09 11:18:30,562 - DEBUG - Using > openejb.deployments.classpath.filter.descriptors 'false' > 2007-11-09 11:18:30,562 - DEBUG - Using > openejb.deployments.classpath.require.descriptor 'false' > 2007-11-09 11:18:30,625 - DEBUG - Inspecting classpath for > applications: 1 > urls. > 2007-11-09 11:18:31,170 - DEBUG - URLs after filtering: 156 > ... (the openejb jars) > 2007-11-09 11:18:31,186 - DEBUG - Descriptors path: > file:/E:{...}/buma_backend/bin/ > 2007-11-09 11:18:31,186 - DEBUG - Searched 1 classpath urls in 202 > milliseconds. Average 202 milliseconds per url. > 2007-11-09 11:18:31,310 - DEBUG - Initialized debug=true > usersFile=users.properties groupsFile=groups.properties > 2007-11-09 11:18:31,310 - DEBUG - abort > ... (ActiveMQ and db stuff) > > My suspicion is that i missed something with the regular expressions > for > jar-parsing. But i didn't found any text on the webiste. > > I hope someone can bring me the light :-) Here's the doc on that functionality http://openejb.apache.org/application-discovery-via-the-classpath.html The path matching actually works on the file paths in the classpath, rather than packages in jars (very expensive to crack open 150+ jars and list every file in them). My preferred technique is to throw an empty META-INF/ejb-jar.xml file in as detailed in that doc. It's the most hassle-free, IMHO. Just remember you have to put it in the same classes folder as the beans themselves -- if there's a separate path for tests like maven has, don't put it there. Hope that helps. -David From [email protected] Fri Nov 09 19:01:53 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86006 invoked from network); 9 Nov 2007 19:01:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Nov 2007 19:01:53 -0000 Received: (qmail 11433 invoked by uid 500); 9 Nov 2007 19:01:40 -0000 Delivered-To: [email protected] Received: (qmail 11231 invoked by uid 500); 9 Nov 2007 19:01:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 11203 invoked by uid 99); 9 Nov 2007 19:01:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 11:01:40 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO g2host.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 19:01:42 +0000 Received: from [161.129.204.104] (account [email protected] HELO [161.129.204.104]) by mailfront1.g2host.com (CommuniGate Pro SMTP 5.1.10) with ESMTPSA id 24751647 for [email protected]; Fri, 09 Nov 2007 13:01:15 -0600 Message-Id: <[email protected]> From: David Blevins <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v912) Subject: Re: JNDI lookup help Date: Fri, 9 Nov 2007 11:01:19 -0800 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.912) X-Virus-Checked: Checked by ClamAV on apache.org This looks like something I did wrong. Digging in now. -David On Nov 8, 2007, at 1:41 PM, Casey Rayman wrote: > We use Ant here. I'll download a copy of Maven to see if I can't > get a little more self sufficient with my own builds and perhaps > even contribute. > > I've been busy this week with production problems, but I gave it a > quick try and this is the error I got so far. I'll see if I can't > dig into it a bit further this evening. It's probably something I'm > doing wrong though. > > [severity=ERROR,message=unexpected element (uri:"http://www.bea.com/ns/weblogic/90 > ", local:"reference-descriptor"). Expected elements are <{http://www.bea.com/ns/weblogic/90 > }resource-description>,<{http://www.bea.com/ns/weblogic/90}network- > access-point>,<{http://www.bea.com/ns/weblogic/90}entity- > descriptor>,<{http://www.bea.com/ns/weblogic/90}enable-call-by- > reference>,<{http://www.bea.com/ns/weblogic/90}create-as-principal- > name>,<{http://www.bea.com/ns/weblogic/90}stateful-session- > descriptor>,<{http://www.bea.com/ns/weblogic/90}local-jndi-name>,<{http://www.bea.com/ns/weblogic/90 > }ejb-name>,<{http://www.bea.com/ns/weblogic/90}dispatch-policy>,<{http://www.bea.com/ns/weblogic/90 > }message-driven-descriptor>,<{http://www.bea.com/ns/weblogic/ > 90}clients-on-same-server>,<{http://www.bea.com/ns/weblogic/90}run- > as-principal-name>,<{http://www.bea.com/ns/weblogic/90}iiop-security- > descriptor>,<{http://www.bea.com/ns/weblogic/90}jndi-name>,<{http://www.bea.com/ns/weblogic/90 > }service-reference-description>,<{http://www.bea.com/ns/weblogic/ > 90}ejb-reference-description>,<{http://www.bea.com/ns/weblogic/ > 90}remove-as-principal-name>,<{http://www.bea.com/ns/weblogic/ > 90}passivate-as-principal-name>,<{http://www.bea.com/ns/weblogic/ > 90}resource-env-description>,<{http://www.bea.com/ns/weblogic/ > 90}transaction-descriptor>,<{http://www.bea.com/ns/weblogic/ > 90}remote-client-timeout>,<{http://www.bea.com/ns/weblogic/ > 90}stateless-session- > descriptor > >,locator=[node=null,object=null,url=null,line=11,col=29,offset=-1]] > javax.xml.bind.UnmarshalException: unexpected element (uri:"http://www.bea.com/ns/weblogic/90 > ", local:"reference-descriptor"). Expected elements are <{http://www.bea.com/ns/weblogic/90 > }resource-description>,<{http://www.bea.com/ns/weblogic/90}network- > access-point>,<{http://www.bea.com/ns/weblogic/90}entity- > descriptor>,<{http://www.bea.com/ns/weblogic/90}enable-call-by- > reference>,<{http://www.bea.com/ns/weblogic/90}create-as-principal- > name>,<{http://www.bea.com/ns/weblogic/90}stateful-session- > descriptor>,<{http://www.bea.com/ns/weblogic/90}local-jndi-name>,<{http://www.bea.com/ns/weblogic/90 > }ejb-name>,<{http://www.bea.com/ns/weblogic/90}dispatch-policy>,<{http://www.bea.com/ns/weblogic/90 > }message-driven-descriptor>,<{http://www.bea.com/ns/weblogic/ > 90}clients-on-same-server>,<{http://www.bea.com/ns/weblogic/90}run- > as-principal-name>,<{http://www.bea.com/ns/weblogic/90}iiop-security- > descriptor>,<{http://www.bea.com/ns/weblogic/90}jndi-name>,<{http://www.bea.com/ns/weblogic/90 > }service-reference-description>,<{http://www.bea.com/ns/weblogic/ > 90}ejb-reference-description>,<{http://www.bea.com/ns/weblogic/ > 90}remove-as-principal-name>,<{http://www.bea.com/ns/weblogic/ > 90}passivate-as-principal-name>,<{http://www.bea.com/ns/weblogic/ > 90}resource-env-description>,<{http://www.bea.com/ns/weblogic/ > 90}transaction-descriptor>,<{http://www.bea.com/ns/weblogic/ > 90}remote-client-timeout>,<{http://www.bea.com/ns/weblogic/ > 90}stateless-session-descriptor> > at > com > .sun > .xml > .bind > .v2 > .runtime > .unmarshaller > .UnmarshallingContext.handleEvent(UnmarshallingContext.java:523) > at > com > .sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java: > 199) > at > com > .sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java: > 194) > at > com > .sun > .xml > .bind > .v2 > .runtime > .unmarshaller.Loader.reportUnexpectedChildElement(Loader.java:71) > at > com > .sun > .xml.bind.v2.runtime.unmarshaller.Loader.childElement(Loader.java:65) > at > com > .sun > .xml > .bind > .v2 > .runtime > .unmarshaller.StructureLoader.childElement(StructureLoader.java:209) > at > com > .sun > .xml > .bind > .v2 > .runtime > .unmarshaller > .UnmarshallingContext._startElement(UnmarshallingContext.java:366) > at > com > .sun > .xml > .bind > .v2 > .runtime > .unmarshaller > .UnmarshallingContext.startElement(UnmarshallingContext.java:347) > at > com > .sun > .xml > .bind > .v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java: > 101) > at > org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:527) > at org.apache.openejb.jee.wls.JaxbWls > $NamespaceFilter.startElement(JaxbWls.java:127) > at > com > .sun > .org > .apache > .xerces > .internal > .parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533) > at > com > .sun > .org > .apache > .xerces > .internal.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java: > 798) > at > com > .sun > .org > .apache > .xerces > .internal > .impl > .XMLNSDocumentScannerImpl > .scanStartElement(XMLNSDocumentScannerImpl.java:330) > at > com > .sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl > $ > FragmentContentDispatcher > .dispatch(XMLDocumentFragmentScannerImpl.java:1693) > at > com > .sun > .org > .apache > .xerces > .internal > .impl > .XMLDocumentFragmentScannerImpl > .scanDocument(XMLDocumentFragmentScannerImpl.java:368) > at > com > .sun > .org > .apache > .xerces > .internal.parsers.XML11Configuration.parse(XML11Configuration.java: > 834) > at > com > .sun > .org > .apache > .xerces > .internal.parsers.XML11Configuration.parse(XML11Configuration.java: > 764) > at > com > .sun > .org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java: > 148) > at > com > .sun > .org > .apache > .xerces > .internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242) > at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:333) > at > com > .sun > .xml > .bind > .v2 > .runtime > .unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:194) > at > com > .sun > .xml > .bind > .v2 > .runtime > .unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:167) > at > javax > .xml > .bind > .helpers > .AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:120) > at > javax > .xml > .bind > .helpers > .AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:103) > at org.apache.openejb.jee.wls.JaxbWls.unmarshal(JaxbWls.java:105) > at > org > .apache > .openejb.config.WlsConversion.getDescriptor(WlsConversion.java:107) > at > org > .apache > .openejb.config.WlsConversion.convertModule(WlsConversion.java:122) > at > org.apache.openejb.config.WlsConversion.deploy(WlsConversion.java:91) > at org.apache.openejb.config.ConfigurationFactory > $Chain.deploy(ConfigurationFactory.java:137) > at > org > .apache > .openejb > .config > .ConfigurationFactory.configureApplication(ConfigurationFactory.java: > 353) > at > org > .apache > .openejb > .config > .ConfigurationFactory.configureApplication(ConfigurationFactory.java: > 307) > at > org > .apache > .openejb > .config > .ConfigurationFactory > .getOpenEjbConfiguration(ConfigurationFactory.java:290) > at > org.apache.openejb.assembler.classic.Assembler.build(Assembler.java: > 244) > at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:149) > at org.apache.openejb.OpenEJB.init(OpenEJB.java:293) > at org.apache.openejb.OpenEJB.init(OpenEJB.java:272) > 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 > org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java: > 36) > at > org > .apache > .openejb > .client > .LocalInitialContextFactory.init(LocalInitialContextFactory.java:59) > at > org > .apache > .openejb > .client > .LocalInitialContextFactory > .getInitialContext(LocalInitialContextFactory.java:45) > at > javax.naming.spi.NamingManager.getInitialContext(NamingManager.java: > 667) > at > javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) > at javax.naming.InitialContext.init(InitialContext.java:223) > at javax.naming.InitialContext.<init>(InitialContext.java:175) > at com.edsoft.util.EJBHomeFactory.<init>(EJBHomeFactory.java:17) > at com.edsoft.util.EJBHomeFactory.<clinit>(EJBHomeFactory.java:9) > at > com.edsoft.schoolsys.entity.AuxGenderTest.setUp(AuxGenderTest.java:15) > at junit.framework.TestCase.runBare(TestCase.java:128) > at junit.framework.TestResult$1.protect(TestResult.java:106) > at junit.framework.TestResult.runProtected(TestResult.java:124) > at junit.framework.TestResult.run(TestResult.java:109) > at junit.framework.TestCase.run(TestCase.java:120) > at junit.framework.TestSuite.runTest(TestSuite.java:230) > at junit.framework.TestSuite.run(TestSuite.java:225) > at > org > .eclipse > .jdt > .internal > .junit > .runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130) > at > org > .eclipse > .jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) > at > org > .eclipse > .jdt > .internal > .junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) > at > org > .eclipse > .jdt > .internal > .junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) > at > org > .eclipse > .jdt > .internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) > at > org > .eclipse > .jdt > .internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java: > 196) > > > Thank you for all your help, > Casey > > On Nov 7, 2007, at 2:33 PM, David Blevins wrote: > >> >> On Nov 7, 2007, at 6:14 AM, Casey Rayman wrote: >> >>> Forgive my ignorance... Is there an established place to download >>> binary snapshots or do you mean an output of Maven via checking >>> out a snapshot from the repository? >> >> Sorry, I assumed you were using maven (it would auto-download >> everything). I've put up a server binary here for you: >> >> http://people.apache.org/~dblevins/openejb-592874/ >> >> Out of curiosity, what build/test environment are you using? I >> know things are nice and easy for maven, but I definitely want to >> make sure we're doing what we can for other setups too -- any >> suggestions on how we could make life easier are very welcome. >> >>> On another note: There is a download.html and a >>> downloads.html(note the s) on the website. I confused myself for >>> a few seconds when I mistyped the url. >> >> Definitely confusing. We'll get that cleared up. >> >> Thanks! >> >> -David >> >>> >>> >>> Thanks, >>> Casey >>> >>> On Nov 6, 2007, at 11:21 PM, David Blevins wrote: >>> >>>> >>>>> On Nov 2, 2007, at 12:52 PM, David Blevins wrote: >>>>> >>>>>> On Nov 2, 2007, at 8:54 AM, Casey Rayman wrote: >>>>>> >>>>>>> We are using the <local-jndi-name> tags to force a JNDI name >>>>>>> in our weblogic-ejb-jar.xml file. Openejb appears to allow >>>>>>> the same tag in the openejb-jar.xml, but seems to ignore it >>>>>>> completely. >>>>>> >>>>>> We don't quite have the same tag in the openejb-jar.xml. >>>>>> You've hit upon one of the only remaining todos, let me see if >>>>>> i can hack something up for you. Ideally we should support >>>>>> your weblogic-ejb-jar.xml directly so you don't have to >>>>>> maintain an openejb-jar.xml file. >>>> >>>> Ok, I've added the support we've been needing for per ejb jndi >>>> names: >>>> >>>> http://issues.apache.org/jira/browse/OPENEJB-253 >>>> >>>> Note that you can still use a template if you like, i.e. "ejb/ >>>> org.superbiz.Foo" works or you can just "ejb/{interfaceClass}". >>>> >>>> Then I also hooked up support for pulling the jndi names out of >>>> the weblogic-ejb-jar.xml file also, so you really don't need to >>>> bother with an openejb-jar.xml. The wls conversion code so far >>>> only supports <jndi-name> and <local-jndi-name>. It'll take a >>>> bit to add cmp conversion (we use JPA for our CMP), but by the >>>> looks of the entity you posted, it should work fine as-is because >>>> the field names match the column names which is JPA default. >>>> >>>> Back on the subject of JNDI names, do you happen to know the jndi >>>> format WebLogic uses for EJB 3 business interfaces? I poked >>>> around but didn't find anything definitive, got the impression >>>> they were just using interface name. I'd like to adjust the >>>> default template appropriately to match. >>>> >>>> New snapshots have been published. Just switch your dependency >>>> version to 3.0.0-SNAPSHOT, give it a try and let us know if it >>>> works. >>>> >>>> -David >>>> >>> >>> >> > From [email protected] Fri Nov 09 20:50:46 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17164 invoked from network); 9 Nov 2007 20:50:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Nov 2007 20:50:46 -0000 Received: (qmail 6650 invoked by uid 500); 9 Nov 2007 20:50:34 -0000 Delivered-To: [email protected] Received: (qmail 6635 invoked by uid 500); 9 Nov 2007 20:50:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6626 invoked by uid 99); 9 Nov 2007 20:50:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 12:50:34 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO g2host.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 20:50:34 +0000 Received: from [161.129.204.104] (account [email protected] HELO [161.129.204.104]) by mailfront2.g2host.com (CommuniGate Pro SMTP 5.1.10) with ESMTPSA id 24159741 for [email protected]; Fri, 09 Nov 2007 14:50:07 -0600 Message-Id: <[email protected]> From: David Blevins <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v912) Subject: Re: JNDI lookup help Date: Fri, 9 Nov 2007 12:50:11 -0800 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.912) X-Virus-Checked: Checked by ClamAV on apache.org Looks like reference-descriptor is an element that was cut out of the schema somewhere along the line. Do you know if there is a more current element that replaces this one? We could add the old element to our jaxb tree then move the data over into the right place of the new tree. I suppose I should pull down the v7 descriptors and generate a sample xml doc with all the elements to see what else might have disappeared between then and the v9 descriptors. -David On Nov 8, 2007, at 1:41 PM, Casey Rayman wrote: > We use Ant here. I'll download a copy of Maven to see if I can't > get a little more self sufficient with my own builds and perhaps > even contribute. > > I've been busy this week with production problems, but I gave it a > quick try and this is the error I got so far. I'll see if I can't > dig into it a bit further this evening. It's probably something I'm > doing wrong though. > > [severity=ERROR,message=unexpected element (uri:"http://www.bea.com/ns/weblogic/90 > ", local:"reference-descriptor"). Expected elements are <{http://www.bea.com/ns/weblogic/90 > }resource-description>,<{http://www.bea.com/ns/weblogic/90}network- > access-point>,<{http://www.bea.com/ns/weblogic/90}entity- > descriptor>,<{http://www.bea.com/ns/weblogic/90}enable-call-by- > reference>,<{http://www.bea.com/ns/weblogic/90}create-as-principal- > name>,<{http://www.bea.com/ns/weblogic/90}stateful-session- > descriptor>,<{http://www.bea.com/ns/weblogic/90}local-jndi-name>,<{http://www.bea.com/ns/weblogic/90 > }ejb-name>,<{http://www.bea.com/ns/weblogic/90}dispatch-policy>,<{http://www.bea.com/ns/weblogic/90 > }message-driven-descriptor>,<{http://www.bea.com/ns/weblogic/ > 90}clients-on-same-server>,<{http://www.bea.com/ns/weblogic/90}run- > as-principal-name>,<{http://www.bea.com/ns/weblogic/90}iiop-security- > descriptor>,<{http://www.bea.com/ns/weblogic/90}jndi-name>,<{http://www.bea.com/ns/weblogic/90 > }service-reference-description>,<{http://www.bea.com/ns/weblogic/ > 90}ejb-reference-description>,<{http://www.bea.com/ns/weblogic/ > 90}remove-as-principal-name>,<{http://www.bea.com/ns/weblogic/ > 90}passivate-as-principal-name>,<{http://www.bea.com/ns/weblogic/ > 90}resource-env-description>,<{http://www.bea.com/ns/weblogic/ > 90}transaction-descriptor>,<{http://www.bea.com/ns/weblogic/ > 90}remote-client-timeout>,<{http://www.bea.com/ns/weblogic/ > 90}stateless-session- > descriptor > >,locator=[node=null,object=null,url=null,line=11,col=29,offset=-1]] > javax.xml.bind.UnmarshalException: unexpected element (uri:"http://www.bea.com/ns/weblogic/90 > ", local:"reference-descriptor"). Expected elements are <{http://www.bea.com/ns/weblogic/90 > }resource-description>,<{http://www.bea.com/ns/weblogic/90}network- > access-point>,<{http://www.bea.com/ns/weblogic/90}entity- > descriptor>,<{http://www.bea.com/ns/weblogic/90}enable-call-by- > reference>,<{http://www.bea.com/ns/weblogic/90}create-as-principal- > name>,<{http://www.bea.com/ns/weblogic/90}stateful-session- > descriptor>,<{http://www.bea.com/ns/weblogic/90}local-jndi-name>,<{http://www.bea.com/ns/weblogic/90 > }ejb-name>,<{http://www.bea.com/ns/weblogic/90}dispatch-policy>,<{http://www.bea.com/ns/weblogic/90 > }message-driven-descriptor>,<{http://www.bea.com/ns/weblogic/ > 90}clients-on-same-server>,<{http://www.bea.com/ns/weblogic/90}run- > as-principal-name>,<{http://www.bea.com/ns/weblogic/90}iiop-security- > descriptor>,<{http://www.bea.com/ns/weblogic/90}jndi-name>,<{http://www.bea.com/ns/weblogic/90 > }service-reference-description>,<{http://www.bea.com/ns/weblogic/ > 90}ejb-reference-description>,<{http://www.bea.com/ns/weblogic/ > 90}remove-as-principal-name>,<{http://www.bea.com/ns/weblogic/ > 90}passivate-as-principal-name>,<{http://www.bea.com/ns/weblogic/ > 90}resource-env-description>,<{http://www.bea.com/ns/weblogic/ > 90}transaction-descriptor>,<{http://www.bea.com/ns/weblogic/ > 90}remote-client-timeout>,<{http://www.bea.com/ns/weblogic/ > 90}stateless-session-descriptor> > at > com > .sun > .xml > .bind > .v2 > .runtime > .unmarshaller > .UnmarshallingContext.handleEvent(UnmarshallingContext.java:523) > at > com > .sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java: > 199) > at > com > .sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java: > 194) > at > com > .sun > .xml > .bind > .v2 > .runtime > .unmarshaller.Loader.reportUnexpectedChildElement(Loader.java:71) > at > com > .sun > .xml.bind.v2.runtime.unmarshaller.Loader.childElement(Loader.java:65) > at > com > .sun > .xml > .bind > .v2 > .runtime > .unmarshaller.StructureLoader.childElement(StructureLoader.java:209) > at > com > .sun > .xml > .bind > .v2 > .runtime > .unmarshaller > .UnmarshallingContext._startElement(UnmarshallingContext.java:366) > at > com > .sun > .xml > .bind > .v2 > .runtime > .unmarshaller > .UnmarshallingContext.startElement(UnmarshallingContext.java:347) > at > com > .sun > .xml > .bind > .v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java: > 101) > at > org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:527) > at org.apache.openejb.jee.wls.JaxbWls > $NamespaceFilter.startElement(JaxbWls.java:127) > at > com > .sun > .org > .apache > .xerces > .internal > .parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533) > at > com > .sun > .org > .apache > .xerces > .internal.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java: > 798) > at > com > .sun > .org > .apache > .xerces > .internal > .impl > .XMLNSDocumentScannerImpl > .scanStartElement(XMLNSDocumentScannerImpl.java:330) > at > com > .sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl > $ > FragmentContentDispatcher > .dispatch(XMLDocumentFragmentScannerImpl.java:1693) > at > com > .sun > .org > .apache > .xerces > .internal > .impl > .XMLDocumentFragmentScannerImpl > .scanDocument(XMLDocumentFragmentScannerImpl.java:368) > at > com > .sun > .org > .apache > .xerces > .internal.parsers.XML11Configuration.parse(XML11Configuration.java: > 834) > at > com > .sun > .org > .apache > .xerces > .internal.parsers.XML11Configuration.parse(XML11Configuration.java: > 764) > at > com > .sun > .org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java: > 148) > at > com > .sun > .org > .apache > .xerces > .internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242) > at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:333) > at > com > .sun > .xml > .bind > .v2 > .runtime > .unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:194) > at > com > .sun > .xml > .bind > .v2 > .runtime > .unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:167) > at > javax > .xml > .bind > .helpers > .AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:120) > at > javax > .xml > .bind > .helpers > .AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:103) > at org.apache.openejb.jee.wls.JaxbWls.unmarshal(JaxbWls.java:105) > at > org > .apache > .openejb.config.WlsConversion.getDescriptor(WlsConversion.java:107) > at > org > .apache > .openejb.config.WlsConversion.convertModule(WlsConversion.java:122) > at > org.apache.openejb.config.WlsConversion.deploy(WlsConversion.java:91) > at org.apache.openejb.config.ConfigurationFactory > $Chain.deploy(ConfigurationFactory.java:137) > at > org > .apache > .openejb > .config > .ConfigurationFactory.configureApplication(ConfigurationFactory.java: > 353) > at > org > .apache > .openejb > .config > .ConfigurationFactory.configureApplication(ConfigurationFactory.java: > 307) > at > org > .apache > .openejb > .config > .ConfigurationFactory > .getOpenEjbConfiguration(ConfigurationFactory.java:290) > at > org.apache.openejb.assembler.classic.Assembler.build(Assembler.java: > 244) > at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:149) > at org.apache.openejb.OpenEJB.init(OpenEJB.java:293) > at org.apache.openejb.OpenEJB.init(OpenEJB.java:272) > 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 > org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java: > 36) > at > org > .apache > .openejb > .client > .LocalInitialContextFactory.init(LocalInitialContextFactory.java:59) > at > org > .apache > .openejb > .client > .LocalInitialContextFactory > .getInitialContext(LocalInitialContextFactory.java:45) > at > javax.naming.spi.NamingManager.getInitialContext(NamingManager.java: > 667) > at > javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) > at javax.naming.InitialContext.init(InitialContext.java:223) > at javax.naming.InitialContext.<init>(InitialContext.java:175) > at com.edsoft.util.EJBHomeFactory.<init>(EJBHomeFactory.java:17) > at com.edsoft.util.EJBHomeFactory.<clinit>(EJBHomeFactory.java:9) > at > com.edsoft.schoolsys.entity.AuxGenderTest.setUp(AuxGenderTest.java:15) > at junit.framework.TestCase.runBare(TestCase.java:128) > at junit.framework.TestResult$1.protect(TestResult.java:106) > at junit.framework.TestResult.runProtected(TestResult.java:124) > at junit.framework.TestResult.run(TestResult.java:109) > at junit.framework.TestCase.run(TestCase.java:120) > at junit.framework.TestSuite.runTest(TestSuite.java:230) > at junit.framework.TestSuite.run(TestSuite.java:225) > at > org > .eclipse > .jdt > .internal > .junit > .runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130) > at > org > .eclipse > .jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) > at > org > .eclipse > .jdt > .internal > .junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) > at > org > .eclipse > .jdt > .internal > .junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) > at > org > .eclipse > .jdt > .internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) > at > org > .eclipse > .jdt > .internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java: > 196) > > > Thank you for all your help, > Casey > > On Nov 7, 2007, at 2:33 PM, David Blevins wrote: > >> >> On Nov 7, 2007, at 6:14 AM, Casey Rayman wrote: >> >>> Forgive my ignorance... Is there an established place to download >>> binary snapshots or do you mean an output of Maven via checking >>> out a snapshot from the repository? >> >> Sorry, I assumed you were using maven (it would auto-download >> everything). I've put up a server binary here for you: >> >> http://people.apache.org/~dblevins/openejb-592874/ >> >> Out of curiosity, what build/test environment are you using? I >> know things are nice and easy for maven, but I definitely want to >> make sure we're doing what we can for other setups too -- any >> suggestions on how we could make life easier are very welcome. >> >>> On another note: There is a download.html and a >>> downloads.html(note the s) on the website. I confused myself for >>> a few seconds when I mistyped the url. >> >> Definitely confusing. We'll get that cleared up. >> >> Thanks! >> >> -David >> >>> >>> >>> Thanks, >>> Casey >>> >>> On Nov 6, 2007, at 11:21 PM, David Blevins wrote: >>> >>>> >>>>> On Nov 2, 2007, at 12:52 PM, David Blevins wrote: >>>>> >>>>>> On Nov 2, 2007, at 8:54 AM, Casey Rayman wrote: >>>>>> >>>>>>> We are using the <local-jndi-name> tags to force a JNDI name >>>>>>> in our weblogic-ejb-jar.xml file. Openejb appears to allow >>>>>>> the same tag in the openejb-jar.xml, but seems to ignore it >>>>>>> completely. >>>>>> >>>>>> We don't quite have the same tag in the openejb-jar.xml. >>>>>> You've hit upon one of the only remaining todos, let me see if >>>>>> i can hack something up for you. Ideally we should support >>>>>> your weblogic-ejb-jar.xml directly so you don't have to >>>>>> maintain an openejb-jar.xml file. >>>> >>>> Ok, I've added the support we've been needing for per ejb jndi >>>> names: >>>> >>>> http://issues.apache.org/jira/browse/OPENEJB-253 >>>> >>>> Note that you can still use a template if you like, i.e. "ejb/ >>>> org.superbiz.Foo" works or you can just "ejb/{interfaceClass}". >>>> >>>> Then I also hooked up support for pulling the jndi names out of >>>> the weblogic-ejb-jar.xml file also, so you really don't need to >>>> bother with an openejb-jar.xml. The wls conversion code so far >>>> only supports <jndi-name> and <local-jndi-name>. It'll take a >>>> bit to add cmp conversion (we use JPA for our CMP), but by the >>>> looks of the entity you posted, it should work fine as-is because >>>> the field names match the column names which is JPA default. >>>> >>>> Back on the subject of JNDI names, do you happen to know the jndi >>>> format WebLogic uses for EJB 3 business interfaces? I poked >>>> around but didn't find anything definitive, got the impression >>>> they were just using interface name. I'd like to adjust the >>>> default template appropriately to match. >>>> >>>> New snapshots have been published. Just switch your dependency >>>> version to 3.0.0-SNAPSHOT, give it a try and let us know if it >>>> works. >>>> >>>> -David >>>> >>> >>> >> > From [email protected] Fri Nov 09 21:02:44 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22831 invoked from network); 9 Nov 2007 21:02:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Nov 2007 21:02:44 -0000 Received: (qmail 24464 invoked by uid 500); 9 Nov 2007 21:02:32 -0000 Delivered-To: [email protected] Received: (qmail 24448 invoked by uid 500); 9 Nov 2007 21:02:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 24439 invoked by uid 99); 9 Nov 2007 21:02:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 13:02:32 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO an-out-0708.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 21:02:33 +0000 Received: by an-out-0708.google.com with SMTP id b8so113952ana for <[email protected]>; Fri, 09 Nov 2007 13:02:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=kN1c2tlF1OO0hT/ci0iieqQ/Y0OWm0m8c5S3lSc6zfE=; b=FSWiXVXZlCymFcJ+1ILJbAkmCvc/k6iW0OhX69mYmMNJyZH7vxWrkykr4KlXg+VvafF/ACnuwIuvKiefQ7JAFXNNu4XEyEMnKLeX8b4vTc9Pt/POSVxbckhfrEEZjJCOT1BJ0TalBTIJY0FeRJVk2sB4p2Lgvb3otMpRee6xwHo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=BUf4i1R0atAMQ/lt39pmS3uJq9+Yt2Y0Wh0PMOzJkHp+kx8HA6Eh36rQPOSUnkKy29ZHfAeUbcTecLpx31Av++K9oM8oG/eINIZDLDjjSgpY3CIyOd0epSng0Rt98dYed/c63ifyENh7vRsmy7EmJrrXGGQQ/7MACYUSP4EB9TE= Received: by 161.129.204.104 with SMTP id e1mr3673795anc.1194642132419; Fri, 09 Nov 2007 13:02:12 -0800 (PST) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTPS id 12sm1411047nzn.2161.129.204.104.02.05 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 09 Nov 2007 13:02:08 -0800 (PST) Message-Id: <[email protected]> From: Casey Rayman <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v912) Subject: Re: JNDI lookup help Date: Fri, 9 Nov 2007 15:01:59 -0600 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.912) X-Virus-Checked: Checked by ClamAV on apache.org Unfortunately my Weblogic experience is clearly boxed in at version 7, and I wouldn't say that my experience runs real deep there either. I've only been tinkering with this application a few months now. Casey On Nov 9, 2007, at 2:50 PM, David Blevins wrote: > Looks like reference-descriptor is an element that was cut out of > the schema somewhere along the line. Do you know if there is a more > current element that replaces this one? We could add the old > element to our jaxb tree then move the data over into the right > place of the new tree. > > I suppose I should pull down the v7 descriptors and generate a > sample xml doc with all the elements to see what else might have > disappeared between then and the v9 descriptors. > > -David > > On Nov 8, 2007, at 1:41 PM, Casey Rayman wrote: > >> We use Ant here. I'll download a copy of Maven to see if I can't >> get a little more self sufficient with my own builds and perhaps >> even contribute. >> >> I've been busy this week with production problems, but I gave it a >> quick try and this is the error I got so far. I'll see if I can't >> dig into it a bit further this evening. It's probably something >> I'm doing wrong though. >> >> [severity=ERROR,message=unexpected element (uri:"http://www.bea.com/ns/weblogic/90 >> ", local:"reference-descriptor"). Expected elements are <{http://www.bea.com/ns/weblogic/90 >> }resource-description>,<{http://www.bea.com/ns/weblogic/90}network- >> access-point>,<{http://www.bea.com/ns/weblogic/90}entity- >> descriptor>,<{http://www.bea.com/ns/weblogic/90}enable-call-by- >> reference>,<{http://www.bea.com/ns/weblogic/90}create-as-principal- >> name>,<{http://www.bea.com/ns/weblogic/90}stateful-session- >> descriptor>,<{http://www.bea.com/ns/weblogic/90}local-jndi-name>,<{http://www.bea.com/ns/weblogic/90 >> }ejb-name>,<{http://www.bea.com/ns/weblogic/90}dispatch-policy>,<{http://www.bea.com/ns/weblogic/90 >> }message-driven-descriptor>,<{http://www.bea.com/ns/weblogic/ >> 90}clients-on-same-server>,<{http://www.bea.com/ns/weblogic/90}run- >> as-principal-name>,<{http://www.bea.com/ns/weblogic/90}iiop- >> security-descriptor>,<{http://www.bea.com/ns/weblogic/90}jndi- >> name>,<{http://www.bea.com/ns/weblogic/90}service-reference- >> description>,<{http://www.bea.com/ns/weblogic/90}ejb-reference- >> description>,<{http://www.bea.com/ns/weblogic/90}remove-as- >> principal-name>,<{http://www.bea.com/ns/weblogic/90}passivate-as- >> principal-name>,<{http://www.bea.com/ns/weblogic/90}resource-env- >> description>,<{http://www.bea.com/ns/weblogic/90}transaction- >> descriptor>,<{http://www.bea.com/ns/weblogic/90}remote-client- >> timeout>,<{http://www.bea.com/ns/weblogic/90}stateless-session- >> descriptor >> >,locator=[node=null,object=null,url=null,line=11,col=29,offset=-1]] >> javax.xml.bind.UnmarshalException: unexpected element (uri:"http://www.bea.com/ns/weblogic/90 >> ", local:"reference-descriptor"). Expected elements are <{http://www.bea.com/ns/weblogic/90 >> }resource-description>,<{http://www.bea.com/ns/weblogic/90}network- >> access-point>,<{http://www.bea.com/ns/weblogic/90}entity- >> descriptor>,<{http://www.bea.com/ns/weblogic/90}enable-call-by- >> reference>,<{http://www.bea.com/ns/weblogic/90}create-as-principal- >> name>,<{http://www.bea.com/ns/weblogic/90}stateful-session- >> descriptor>,<{http://www.bea.com/ns/weblogic/90}local-jndi-name>,<{http://www.bea.com/ns/weblogic/90 >> }ejb-name>,<{http://www.bea.com/ns/weblogic/90}dispatch-policy>,<{http://www.bea.com/ns/weblogic/90 >> }message-driven-descriptor>,<{http://www.bea.com/ns/weblogic/ >> 90}clients-on-same-server>,<{http://www.bea.com/ns/weblogic/90}run- >> as-principal-name>,<{http://www.bea.com/ns/weblogic/90}iiop- >> security-descriptor>,<{http://www.bea.com/ns/weblogic/90}jndi- >> name>,<{http://www.bea.com/ns/weblogic/90}service-reference- >> description>,<{http://www.bea.com/ns/weblogic/90}ejb-reference- >> description>,<{http://www.bea.com/ns/weblogic/90}remove-as- >> principal-name>,<{http://www.bea.com/ns/weblogic/90}passivate-as- >> principal-name>,<{http://www.bea.com/ns/weblogic/90}resource-env- >> description>,<{http://www.bea.com/ns/weblogic/90}transaction- >> descriptor>,<{http://www.bea.com/ns/weblogic/90}remote-client- >> timeout>,<{http://www.bea.com/ns/weblogic/90}stateless-session- >> descriptor> >> at >> com >> .sun >> .xml >> .bind >> .v2 >> .runtime >> .unmarshaller >> .UnmarshallingContext.handleEvent(UnmarshallingContext.java:523) >> at >> com >> .sun >> .xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:199) >> at >> com >> .sun >> .xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:194) >> at >> com >> .sun >> .xml >> .bind >> .v2 >> .runtime >> .unmarshaller.Loader.reportUnexpectedChildElement(Loader.java:71) >> at >> com >> .sun >> .xml.bind.v2.runtime.unmarshaller.Loader.childElement(Loader.java:65) >> at >> com >> .sun >> .xml >> .bind >> .v2 >> .runtime >> .unmarshaller.StructureLoader.childElement(StructureLoader.java:209) >> at >> com >> .sun >> .xml >> .bind >> .v2 >> .runtime >> .unmarshaller >> .UnmarshallingContext._startElement(UnmarshallingContext.java:366) >> at >> com >> .sun >> .xml >> .bind >> .v2 >> .runtime >> .unmarshaller >> .UnmarshallingContext.startElement(UnmarshallingContext.java:347) >> at >> com >> .sun >> .xml >> .bind >> .v2 >> .runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java: >> 101) >> at >> org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java: >> 527) >> at org.apache.openejb.jee.wls.JaxbWls >> $NamespaceFilter.startElement(JaxbWls.java:127) >> at >> com >> .sun >> .org >> .apache >> .xerces >> .internal >> .parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533) >> at >> com >> .sun >> .org >> .apache >> .xerces >> .internal >> .impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:798) >> at >> com >> .sun >> .org >> .apache >> .xerces >> .internal >> .impl >> .XMLNSDocumentScannerImpl >> .scanStartElement(XMLNSDocumentScannerImpl.java:330) >> at >> com >> .sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl >> $ >> FragmentContentDispatcher >> .dispatch(XMLDocumentFragmentScannerImpl.java:1693) >> at >> com >> .sun >> .org >> .apache >> .xerces >> .internal >> .impl >> .XMLDocumentFragmentScannerImpl >> .scanDocument(XMLDocumentFragmentScannerImpl.java:368) >> at >> com >> .sun >> .org >> .apache >> .xerces >> .internal.parsers.XML11Configuration.parse(XML11Configuration.java: >> 834) >> at >> com >> .sun >> .org >> .apache >> .xerces >> .internal.parsers.XML11Configuration.parse(XML11Configuration.java: >> 764) >> at >> com >> .sun >> .org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java: >> 148) >> at >> com >> .sun >> .org >> .apache >> .xerces >> .internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java: >> 1242) >> at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:333) >> at >> com >> .sun >> .xml >> .bind >> .v2 >> .runtime >> .unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:194) >> at >> com >> .sun >> .xml >> .bind >> .v2 >> .runtime >> .unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:167) >> at >> javax >> .xml >> .bind >> .helpers >> .AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java: >> 120) >> at >> javax >> .xml >> .bind >> .helpers >> .AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java: >> 103) >> at org.apache.openejb.jee.wls.JaxbWls.unmarshal(JaxbWls.java:105) >> at >> org >> .apache >> .openejb.config.WlsConversion.getDescriptor(WlsConversion.java:107) >> at >> org >> .apache >> .openejb.config.WlsConversion.convertModule(WlsConversion.java:122) >> at >> org.apache.openejb.config.WlsConversion.deploy(WlsConversion.java:91) >> at org.apache.openejb.config.ConfigurationFactory >> $Chain.deploy(ConfigurationFactory.java:137) >> at >> org >> .apache >> .openejb >> .config >> .ConfigurationFactory >> .configureApplication(ConfigurationFactory.java:353) >> at >> org >> .apache >> .openejb >> .config >> .ConfigurationFactory >> .configureApplication(ConfigurationFactory.java:307) >> at >> org >> .apache >> .openejb >> .config >> .ConfigurationFactory >> .getOpenEjbConfiguration(ConfigurationFactory.java:290) >> at >> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java: >> 244) >> at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:149) >> at org.apache.openejb.OpenEJB.init(OpenEJB.java:293) >> at org.apache.openejb.OpenEJB.init(OpenEJB.java:272) >> 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 >> org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java: >> 36) >> at >> org >> .apache >> .openejb >> .client >> .LocalInitialContextFactory.init(LocalInitialContextFactory.java:59) >> at >> org >> .apache >> .openejb >> .client >> .LocalInitialContextFactory >> .getInitialContext(LocalInitialContextFactory.java:45) >> at >> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java: >> 667) >> at >> javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java: >> 247) >> at javax.naming.InitialContext.init(InitialContext.java:223) >> at javax.naming.InitialContext.<init>(InitialContext.java:175) >> at com.edsoft.util.EJBHomeFactory.<init>(EJBHomeFactory.java:17) >> at com.edsoft.util.EJBHomeFactory.<clinit>(EJBHomeFactory.java:9) >> at >> com.edsoft.schoolsys.entity.AuxGenderTest.setUp(AuxGenderTest.java: >> 15) >> at junit.framework.TestCase.runBare(TestCase.java:128) >> at junit.framework.TestResult$1.protect(TestResult.java:106) >> at junit.framework.TestResult.runProtected(TestResult.java:124) >> at junit.framework.TestResult.run(TestResult.java:109) >> at junit.framework.TestCase.run(TestCase.java:120) >> at junit.framework.TestSuite.runTest(TestSuite.java:230) >> at junit.framework.TestSuite.run(TestSuite.java:225) >> at >> org >> .eclipse >> .jdt >> .internal >> .junit >> .runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130) >> at >> org >> .eclipse >> .jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) >> at >> org >> .eclipse >> .jdt >> .internal >> .junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) >> at >> org >> .eclipse >> .jdt >> .internal >> .junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) >> at >> org >> .eclipse >> .jdt >> .internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java: >> 386) >> at >> org >> .eclipse >> .jdt >> .internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java: >> 196) >> >> >> Thank you for all your help, >> Casey >> >> On Nov 7, 2007, at 2:33 PM, David Blevins wrote: >> >>> >>> On Nov 7, 2007, at 6:14 AM, Casey Rayman wrote: >>> >>>> Forgive my ignorance... Is there an established place to >>>> download binary snapshots or do you mean an output of Maven via >>>> checking out a snapshot from the repository? >>> >>> Sorry, I assumed you were using maven (it would auto-download >>> everything). I've put up a server binary here for you: >>> >>> http://people.apache.org/~dblevins/openejb-592874/ >>> >>> Out of curiosity, what build/test environment are you using? I >>> know things are nice and easy for maven, but I definitely want to >>> make sure we're doing what we can for other setups too -- any >>> suggestions on how we could make life easier are very welcome. >>> >>>> On another note: There is a download.html and a >>>> downloads.html(note the s) on the website. I confused myself for >>>> a few seconds when I mistyped the url. >>> >>> Definitely confusing. We'll get that cleared up. >>> >>> Thanks! >>> >>> -David >>> >>>> >>>> >>>> Thanks, >>>> Casey >>>> >>>> On Nov 6, 2007, at 11:21 PM, David Blevins wrote: >>>> >>>>> >>>>>> On Nov 2, 2007, at 12:52 PM, David Blevins wrote: >>>>>> >>>>>>> On Nov 2, 2007, at 8:54 AM, Casey Rayman wrote: >>>>>>> >>>>>>>> We are using the <local-jndi-name> tags to force a JNDI name >>>>>>>> in our weblogic-ejb-jar.xml file. Openejb appears to allow >>>>>>>> the same tag in the openejb-jar.xml, but seems to ignore it >>>>>>>> completely. >>>>>>> >>>>>>> We don't quite have the same tag in the openejb-jar.xml. >>>>>>> You've hit upon one of the only remaining todos, let me see if >>>>>>> i can hack something up for you. Ideally we should support >>>>>>> your weblogic-ejb-jar.xml directly so you don't have to >>>>>>> maintain an openejb-jar.xml file. >>>>> >>>>> Ok, I've added the support we've been needing for per ejb jndi >>>>> names: >>>>> >>>>> http://issues.apache.org/jira/browse/OPENEJB-253 >>>>> >>>>> Note that you can still use a template if you like, i.e. "ejb/ >>>>> org.superbiz.Foo" works or you can just "ejb/{interfaceClass}". >>>>> >>>>> Then I also hooked up support for pulling the jndi names out of >>>>> the weblogic-ejb-jar.xml file also, so you really don't need to >>>>> bother with an openejb-jar.xml. The wls conversion code so far >>>>> only supports <jndi-name> and <local-jndi-name>. It'll take a >>>>> bit to add cmp conversion (we use JPA for our CMP), but by the >>>>> looks of the entity you posted, it should work fine as-is >>>>> because the field names match the column names which is JPA >>>>> default. >>>>> >>>>> Back on the subject of JNDI names, do you happen to know the >>>>> jndi format WebLogic uses for EJB 3 business interfaces? I poked >>>>> around but didn't find anything definitive, got the impression >>>>> they were just using interface name. I'd like to adjust the >>>>> default template appropriately to match. >>>>> >>>>> New snapshots have been published. Just switch your dependency >>>>> version to 3.0.0-SNAPSHOT, give it a try and let us know if it >>>>> works. >>>>> >>>>> -David >>>>> >>>> >>>> >>> >> > From [email protected] Fri Nov 09 22:10:17 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41719 invoked from network); 9 Nov 2007 22:10:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Nov 2007 22:10:17 -0000 Received: (qmail 86760 invoked by uid 500); 9 Nov 2007 22:10:04 -0000 Delivered-To: [email protected] Received: (qmail 86740 invoked by uid 500); 9 Nov 2007 22:10:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 86731 invoked by uid 99); 9 Nov 2007 22:10:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 14:10:04 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO g2host.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 22:10:45 +0000 Received: from [161.129.204.104] (account [email protected] HELO [161.129.204.104]) by mailfront1.g2host.com (CommuniGate Pro SMTP 5.1.10) with ESMTPSA id 24779123 for [email protected]; Fri, 09 Nov 2007 16:09:37 -0600 Message-Id: <[email protected]> From: David Blevins <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v912) Subject: Re: JNDI lookup help Date: Fri, 9 Nov 2007 13:48:54 -0800 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.912) X-Virus-Checked: Checked by ClamAV on apache.org On Nov 9, 2007, at 1:01 PM, Casey Rayman wrote: > Unfortunately my Weblogic experience is clearly boxed in at version > 7, and I wouldn't say that my experience runs real deep there > either. I've only been tinkering with this application a few months > now. No worries. I think i've figured it out. From the docs seems like reference-descriptor was the only deprecated and removed element. It also seems like it was just a wrapper element for the various resource- description, resource-env-description, ejb-reference-description, etc which are still there -- just no containing 'reference-descriptor' tag. So I've added all the necessary bits and it should work now: http://people.apache.org/~dblevins/openejb-593658/ Give the above binary a try and let's cross our fingers :) Let me know how it goes. -David From [email protected] Fri Nov 09 22:10:45 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41949 invoked from network); 9 Nov 2007 22:10:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Nov 2007 22:10:45 -0000 Received: (qmail 87327 invoked by uid 500); 9 Nov 2007 22:10:33 -0000 Delivered-To: [email protected] Received: (qmail 87314 invoked by uid 500); 9 Nov 2007 22:10:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 87305 invoked by uid 99); 9 Nov 2007 22:10:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 14:10:33 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO g2host.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 22:11:14 +0000 Received: from [161.129.204.104] (account [email protected] HELO [161.129.204.104]) by mailfront1.g2host.com (CommuniGate Pro SMTP 5.1.10) with ESMTPSA id 24779129 for [email protected]; Fri, 09 Nov 2007 16:09:39 -0600 Message-Id: <[email protected]> From: David Blevins <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v912) Subject: Re: JNDI lookup help Date: Fri, 9 Nov 2007 14:09:42 -0800 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.912) X-Virus-Checked: Checked by ClamAV on apache.org On Nov 9, 2007, at 1:01 PM, Casey Rayman wrote: > Unfortunately my Weblogic experience is clearly boxed in at version > 7, and I wouldn't say that my experience runs real deep there > either. I've only been tinkering with this application a few months > now. No worries. I think i've figured it out. From the docs seems like reference-descriptor was the only deprecated and removed element. It also seems like it was just a wrapper element for the various resource- description, resource-env-description, ejb-reference-description, etc which are still there -- just no containing 'reference-descriptor' tag. So I've added all the necessary bits and it should work now: http://people.apache.org/~dblevins/openejb-593658/ Give the above binary a try and let's cross our fingers :) Let me know how it goes. -David From [email protected] Fri Nov 09 22:48:04 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52767 invoked from network); 9 Nov 2007 22:48:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Nov 2007 22:48:04 -0000 Received: (qmail 23782 invoked by uid 500); 9 Nov 2007 22:47:52 -0000 Delivered-To: [email protected] Received: (qmail 23766 invoked by uid 500); 9 Nov 2007 22:47:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23757 invoked by uid 99); 9 Nov 2007 22:47:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 14:47:51 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wx-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 22:47:54 +0000 Received: by wx-out-0506.google.com with SMTP id h31so688453wxd for <[email protected]>; Fri, 09 Nov 2007 14:47:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=I13Hu121cOIgkfhJ5u+YbYJGbAdOeYsYY/rShPM01HI=; b=tMPOoEVpJvW/R+SwdZJTmc/yB2c1Z4PiXqX7SG9kq9LSBz96/IrJbC602Ls3ByQ6Kgbrvfeqeh5rStHWvGhS2bSYmSkDS4mRs92RekpflVaHqBvdNjfuCz9lMKeAkt9LesdAPOwkp5vU2CFayW45ohlx1w89/53L69wBCXPB0GE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=m0JIb1fqi0hLkkP4VQ8DE1gpQHKByPWnK6+pzLbENWCRfY0qes1wCg3iKiJzsl+UXjBSooV8G4XkF57nnoXT587YEYpKFDwlIaDHdSY7U1VBkouHaNSYxsPzOsD08Xf1+kj74mDY3U60a7gwEM5LTK64NJ79seoOL4waKvQggpk= Received: by 161.129.204.104 with SMTP id o3mr3853814ang.1194648453287; Fri, 09 Nov 2007 14:47:33 -0800 (PST) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTPS id 8sm1644435nzn.2161.129.204.104.47.31 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 09 Nov 2007 14:47:32 -0800 (PST) Message-Id: <[email protected]> From: Casey Rayman <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v912) Subject: Re: JNDI lookup help Date: Fri, 9 Nov 2007 16:47:30 -0600 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.912) X-Virus-Checked: Checked by ClamAV on apache.org This fixed the error. One hopefully last question for a while: The bean get's deployed, but it is still being deployed by the {deploymentId}{interfaceType.annotationName} format. Do I need to force openejb.jndiname.format to something other than the default so it takes the value from the weblogic config file? Casey On Nov 9, 2007, at 4:09 PM, David Blevins wrote: > > On Nov 9, 2007, at 1:01 PM, Casey Rayman wrote: > >> Unfortunately my Weblogic experience is clearly boxed in at version >> 7, and I wouldn't say that my experience runs real deep there >> either. I've only been tinkering with this application a few >> months now. > > No worries. I think i've figured it out. From the docs seems like > reference-descriptor was the only deprecated and removed element. > It also seems like it was just a wrapper element for the various > resource-description, resource-env-description, ejb-reference- > description, etc which are still there -- just no containing > 'reference-descriptor' tag. > > So I've added all the necessary bits and it should work now: > > http://people.apache.org/~dblevins/openejb-593658/ > > Give the above binary a try and let's cross our fingers :) Let me > know how it goes. > > -David > From [email protected] Mon Nov 12 02:45:00 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73941 invoked from network); 12 Nov 2007 02:45:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Nov 2007 02:45:00 -0000 Received: (qmail 47175 invoked by uid 500); 12 Nov 2007 02:44:48 -0000 Delivered-To: [email protected] Received: (qmail 47155 invoked by uid 500); 12 Nov 2007 02:44:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 47146 invoked by uid 99); 12 Nov 2007 02:44:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Nov 2007 18:44:47 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO g2host.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Nov 2007 02:44:50 +0000 Received: from [161.129.204.104] (account [email protected] HELO [161.129.204.104]) by mailfront1.g2host.com (CommuniGate Pro SMTP 5.1.10) with ESMTPSA id 24908679 for [email protected]; Sun, 11 Nov 2007 20:44:17 -0600 Message-Id: <[email protected]> From: David Blevins <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v912) Subject: Re: JNDI lookup help Date: Sun, 11 Nov 2007 18:44:15 -0800 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.912) X-Virus-Checked: Checked by ClamAV on apache.org On Nov 9, 2007, at 2:47 PM, Casey Rayman wrote: > This fixed the error. One hopefully last question for a while: The > bean get's deployed, but it is still being deployed by the > {deploymentId}{interfaceType.annotationName} format. Do I need to > force openejb.jndiname.format to something other than the default so > it takes the value from the weblogic config file? Nope, the new per/ejb jndi name feature wasn't getting picked up quite right. Added some better unit tests and fixed it up. This should do the trick: http://people.apache.org/~dblevins/openejb-594005 -David > > > Casey > > On Nov 9, 2007, at 4:09 PM, David Blevins wrote: > >> >> On Nov 9, 2007, at 1:01 PM, Casey Rayman wrote: >> >>> Unfortunately my Weblogic experience is clearly boxed in at >>> version 7, and I wouldn't say that my experience runs real deep >>> there either. I've only been tinkering with this application a >>> few months now. >> >> No worries. I think i've figured it out. From the docs seems like >> reference-descriptor was the only deprecated and removed element. >> It also seems like it was just a wrapper element for the various >> resource-description, resource-env-description, ejb-reference- >> description, etc which are still there -- just no containing >> 'reference-descriptor' tag. >> >> So I've added all the necessary bits and it should work now: >> >> http://people.apache.org/~dblevins/openejb-593658/ >> >> Give the above binary a try and let's cross our fingers :) Let me >> know how it goes. >> >> -David >> > > From [email protected] Tue Nov 13 05:20:17 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46533 invoked from network); 13 Nov 2007 05:20:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Nov 2007 05:20:17 -0000 Received: (qmail 18216 invoked by uid 500); 13 Nov 2007 05:20:04 -0000 Delivered-To: [email protected] Received: (qmail 18203 invoked by uid 500); 13 Nov 2007 05:20:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 18194 invoked by uid 99); 13 Nov 2007 05:20:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Nov 2007 21:20:04 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO g2host.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Nov 2007 05:20:07 +0000 Received: from [161.129.204.104] (account [email protected] HELO [161.129.204.104]) by mailfront1.g2host.com (CommuniGate Pro SMTP 5.1.10) with ESMTPSA id 25062700 for [email protected]; Mon, 12 Nov 2007 23:19:34 -0600 Message-Id: <[email protected]> From: David Blevins <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v912) Subject: Re: JNDI lookup help Date: Mon, 12 Nov 2007 21:19:43 -0800 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.912) X-Virus-Checked: Checked by ClamAV on apache.org To make sure everything is absolutely perfect, I've hacked up an example of using the weblogic descriptors. And for the first time ever, I hacked up an Ant build.xml to run the example as I know that's what you're using. You can get the example via: svn export http://svn.apache.org/repos/asf/openejb/trunk/openejb3/examples/helloworld-weblogic Then run with: ant -lib maven-ant-tasks-2.0.7.jar I've incorporated the maven-ant-tasks-2.0.7.jar AntLib just to make downloading all the dependencies and building the classpaths easier. It can be downloaded here: http://www.apache.org/dist/maven/binaries/maven-ant-tasks-2.0.7.jar Unfortunately, there was one last oversight on my part in r593658 which I posted yesterday. Hopefully the above example which shows things working end-to-end (and now runs with our build) will get you back on the fast track. Here's another binary build for non-maven usage: http://people.apache.org/~dblevins/openejb-594438 Thanks for hanging in there. This is a great feature to have, we definitely appreciate the requests. -David From [email protected] Tue Nov 13 20:10:58 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23124 invoked from network); 13 Nov 2007 20:10:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Nov 2007 20:10:58 -0000 Received: (qmail 96580 invoked by uid 500); 13 Nov 2007 20:10:46 -0000 Delivered-To: [email protected] Received: (qmail 96430 invoked by uid 500); 13 Nov 2007 20:10:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 96421 invoked by uid 99); 13 Nov 2007 20:10:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Nov 2007 12:10:45 -0800 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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO an-out-0708.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Nov 2007 20:10:47 +0000 Received: by an-out-0708.google.com with SMTP id b8so280691ana for <[email protected]>; Tue, 13 Nov 2007 12:10:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:from:to:in-reply-to:content-type:mime-version:subject:date:references:x-mailer; bh=+seMlOQjdy/tBopF+D9FojJHApHddY1Ikbh6SV+IY1I=; b=l4fjpOHsbG5o/x0htYrczF6X/+Ymb6KdEemgUsQpk2HVh7yb9m1SFQp3a3aGfA5kmfPNvozcx88zr6vc76ZHLZXQWPhkYWeIqi7tVBs7958K93q/0EkHA6JWdQvSM6mNy6YZKU0NAUkstSFj6zy9xD1qy7S9ERxg1PpPniQ1MtU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:from:to:in-reply-to:content-type:mime-version:subject:date:references:x-mailer; b=mPKjudnUfK/8hJTvFmJgULRikSvUp00UKh++nyBCoGDSTdyEvnjLtpa/ss/r5LLhOg8wIbtmvyc2oyNb2KIuBw2hiInpUPPhRNDv4FrahzB7/My1f8YkWKTiy+/Z/9QFc2iRty+3QOnjdEfWx/ODavTjdB9KB/hezCJFsETgcY0= Received: by 161.129.204.104 with SMTP id f11mr10468680ang.1194984625960; Tue, 13 Nov 2007 12:10:25 -0800 (PST) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTPS id v76sm659882nzh.2161.129.204.104.10.20 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 13 Nov 2007 12:10:23 -0800 (PST) Message-Id: <[email protected]> From: Casey Rayman <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: multipart/alternative; boundary=Apple-Mail-(386)348-2373 Mime-Version: 1.0 (Apple Message framework v912) Subject: Re: JNDI lookup help Date: Tue, 13 Nov 2007 14:10:15 -0600 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.912) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-(386)348-2373 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit This is great. It's working just how I expect it to with my simple test case. Now that it's working I'll try some more complicated tests. This is so cool! I can't thank you enough! Strictly speaking this is probably a different request, but I'm still using a shell of an openejb-jar to specify what physical table the abstract schema. Like this: <openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.2"> <enterprise-beans> <entity> <ejb-name>AuxGenderRO</ejb-name> <table-name>AuxGender</table-name> </entity> </enterprise-beans> </openejb-jar> If the table-name could get picked up from the weblogic-cmp-rdbms- jar.xml then it really would be totally seamless. Casey On Nov 12, 2007, at 11:19 PM, David Blevins wrote: > To make sure everything is absolutely perfect, I've hacked up an > example of using the weblogic descriptors. And for the first time > ever, I hacked up an Ant build.xml to run the example as I know > that's what you're using. > > You can get the example via: > > svn export http://svn.apache.org/repos/asf/openejb/trunk/openejb3/examples/helloworld-weblogic > > Then run with: > > ant -lib maven-ant-tasks-2.0.7.jar > > I've incorporated the maven-ant-tasks-2.0.7.jar AntLib just to make > downloading all the dependencies and building the classpaths > easier. It can be downloaded here: http://www.apache.org/dist/maven/binaries/maven-ant-tasks-2.0.7.jar > > Unfortunately, there was one last oversight on my part in r593658 > which I posted yesterday. Hopefully the above example which shows > things working end-to-end (and now runs with our build) will get you > back on the fast track. Here's another binary build for non-maven > usage: > > http://people.apache.org/~dblevins/openejb-594438 > > Thanks for hanging in there. This is a great feature to have, we > definitely appreciate the requests. > > -David > > --Apple-Mail-(386)348-2373-- From [email protected] Wed Nov 14 21:51:24 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98294 invoked from network); 14 Nov 2007 21:51:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Nov 2007 21:51:24 -0000 Received: (qmail 35259 invoked by uid 500); 14 Nov 2007 21:51:10 -0000 Delivered-To: [email protected] Received: (qmail 35246 invoked by uid 500); 14 Nov 2007 21:51:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 35237 invoked by uid 99); 14 Nov 2007 21:51:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2007 13:51:10 -0800 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2007 21:52:05 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1IsQ8K-0006Ma-Al for [email protected]; Wed, 14 Nov 2007 13:50:52 -0800 Message-ID: <[email protected]> Date: Wed, 14 Nov 2007 13:50:52 -0800 (PST) From: dycharles <[email protected]> To: [email protected] Subject: Qeury a boolean column?(using postgresql) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org hello, i have a database in postgresql that have a column boolean, then when i create a query in ejb like this(SELECT e.letsaythisisboolean FROM sample e), now problem is that when i query the database, it will return all the false value in the column boolean, and the true value will not return... How can i make the true value appear in my query result? Any suggestion or help... thanks, dychalres -- View this message in context: http://www.nabble.com/Qeury-a-boolean-column-%28using-postgresql%29-tf4808272.html#a13757336 Sent from the OpenEJB User mailing list [email protected]. From [email protected] Thu Nov 15 03:58:05 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97814 invoked from network); 15 Nov 2007 03:58:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Nov 2007 03:58:05 -0000 Received: (qmail 86700 invoked by uid 500); 15 Nov 2007 03:57:52 -0000 Delivered-To: [email protected] Received: (qmail 86683 invoked by uid 500); 15 Nov 2007 03:57:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 86674 invoked by uid 99); 15 Nov 2007 03:57:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2007 19:57:52 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO g2host.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2007 03:57:40 +0000 Received: from [161.129.204.104] (account [email protected] HELO [161.129.204.104]) by mailfront1.g2host.com (CommuniGate Pro SMTP 5.1.10) with ESMTPSA id 25376888 for [email protected]; Wed, 14 Nov 2007 21:57:21 -0600 Message-Id: <[email protected]> From: David Blevins <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v912) Subject: Re: JNDI lookup help Date: Wed, 14 Nov 2007 19:57:34 -0800 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.912) X-Virus-Checked: Checked by ClamAV on apache.org On Nov 13, 2007, at 12:10 PM, Casey Rayman wrote: > This is great. It's working just how I expect it to with my simple > test case. Now that it's working I'll try some more complicated > tests. This is so cool! I can't thank you enough! No problem. Just tell everyone you know the same thing and we'll call it even ;) > Strictly speaking this is probably a different request, but I'm > still using a shell of an openejb-jar to specify what physical table > the abstract schema. Like this: > > <openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.2"> > <enterprise-beans> > <entity> > <ejb-name>AuxGenderRO</ejb-name> > <table-name>AuxGender</table-name> > </entity> > </enterprise-beans> > </openejb-jar> > > If the table-name could get picked up from the weblogic-cmp-rdbms- > jar.xml then it really would be totally seamless. Yea, getting the cmp conversion in there would be great. I've started hacking on it, but I'm not the CMP guy typically (that'd be Dain), so it'll take me a bit longer. We fully support the glassfish descriptors so people using glassfish can do what you're trying to do. We really want OpenEJB to be usable by anyone who'd like a boost in productivity regardless of who they deploy to in production. Anyway, going to copy from the glassfish conversion code and see how far I get. Our CMP container is actually a thin layer on top of JPA (big advantage to users) so conversion is actually a matter of converting the weblogic cmp beans to JPA, which is doable just a bit trickier. -David > > On Nov 12, 2007, at 11:19 PM, David Blevins wrote: > >> To make sure everything is absolutely perfect, I've hacked up an >> example of using the weblogic descriptors. And for the first time >> ever, I hacked up an Ant build.xml to run the example as I know >> that's what you're using. >> >> You can get the example via: >> >> svn export http://svn.apache.org/repos/asf/openejb/trunk/openejb3/examples/helloworld-weblogic >> >> Then run with: >> >> ant -lib maven-ant-tasks-2.0.7.jar >> >> I've incorporated the maven-ant-tasks-2.0.7.jar AntLib just to make >> downloading all the dependencies and building the classpaths >> easier. It can be downloaded here: http://www.apache.org/dist/maven/binaries/maven-ant-tasks-2.0.7.jar >> >> Unfortunately, there was one last oversight on my part in r593658 >> which I posted yesterday. Hopefully the above example which shows >> things working end-to-end (and now runs with our build) will get >> you back on the fast track. Here's another binary build for non- >> maven usage: >> >> http://people.apache.org/~dblevins/openejb-594438 >> >> Thanks for hanging in there. This is a great feature to have, we >> definitely appreciate the requests. >> >> -David >> >> > From [email protected] Thu Nov 15 16:59:47 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 800 invoked from network); 15 Nov 2007 16:59:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Nov 2007 16:59:47 -0000 Received: (qmail 64726 invoked by uid 500); 15 Nov 2007 16:59:34 -0000 Delivered-To: [email protected] Received: (qmail 64715 invoked by uid 500); 15 Nov 2007 16:59:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 64705 invoked by uid 99); 15 Nov 2007 16:59:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2007 08:59:34 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO spaceymail-a2.g.dreamhost.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2007 16:59:22 +0000 Received: from [161.129.204.104] (unknown [161.129.204.104]) by spaceymail-a2.g.dreamhost.com (Postfix) with ESMTP id 4FEE8EE3AE for <[email protected]>; Thu, 15 Nov 2007 08:59:09 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Dain Sundstrom <[email protected]> Subject: Re: Qeury a boolean column?(using postgresql) Date: Thu, 15 Nov 2007 11:59:08 -0500 To: [email protected] X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm not sure why this isn't working, so I'm gonna have to attempt to reproduce this problem, but I'm going to need a bit more information. Are you using CMP or JPA? Are you using an existing database TABLE or generating one? If existing, can you share the schema for the table? Can you share your CMP or JPA bean? What version of Postgresql are you using? driver version? What version of OpenEJB? In the mean time, I'll try to hack something up. BTW, if you're not on Java 6, give it a try. We use OpenJPA for persistence of CMP and JPA beans, and due to the new instrumentation apis in Java 6, OpenJPA works a bit better. -dain On Nov 14, 2007, at 4:50 PM, dycharles wrote: > > hello, > > i have a database in postgresql that have a column boolean, then > when i > create a query in ejb like this(SELECT e.letsaythisisboolean FROM > sample e), > now problem is that when i query the database, it will return all > the false > value in the column boolean, and the true value will not return... > How can i > make the true value appear in my query result? Any suggestion or > help... > > thanks, > dychalres > -- > View this message in context: http://www.nabble.com/Qeury-a-boolean- > column-%28using-postgresql%29-tf4808272.html#a13757336 > Sent from the OpenEJB User mailing list [email protected]. > From [email protected] Fri Nov 16 16:25:46 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84695 invoked from network); 16 Nov 2007 16:25:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Nov 2007 16:25:46 -0000 Received: (qmail 58111 invoked by uid 500); 16 Nov 2007 16:25:32 -0000 Delivered-To: [email protected] Received: (qmail 58083 invoked by uid 500); 16 Nov 2007 16:25:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58065 invoked by uid 99); 16 Nov 2007 16:25:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2007 08:25:32 -0800 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2007 16:25:19 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1It40H-0002kX-7T for [email protected]; Fri, 16 Nov 2007 08:25:13 -0800 Message-ID: <[email protected]> Date: Fri, 16 Nov 2007 08:25:13 -0800 (PST) From: dycharles <[email protected]> To: [email protected] Subject: Re: Qeury a boolean column?(using postgresql) In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org hello, thanks for the reply... I am new to this ejb or persistence.... Please help me understand. thanks..... Now i just followed this tutorial from netbeans (http://www.netbeans.org/kb/55/persistence-j2se.html) because i'm using the netbeansIDE, then that is my persistence and ejb used... i don't know what version i'm using in persistence and in ejb i don't know also if it is openEJB or ejb alone, what is the difference between the two? Regarding with my posrgresql version i used the recent version. i know this will support the boolean data type. in my schema in postgresql, it is really simple i create the boolean column with boolean data type and primary key... then thats it. And also in java i used the java6. So, i suspect my mistake is in the persistence and ejb used... thanks, dycharles Dain Sundstrom wrote: > > Hi, > > I'm not sure why this isn't working, so I'm gonna have to attempt to > reproduce this problem, but I'm going to need a bit more information. > > Are you using CMP or JPA? > Are you using an existing database TABLE or generating one? If > existing, can you share the schema for the table? > Can you share your CMP or JPA bean? > What version of Postgresql are you using? driver version? > What version of OpenEJB? > > In the mean time, I'll try to hack something up. > > BTW, if you're not on Java 6, give it a try. We use OpenJPA for > persistence of CMP and JPA beans, and due to the new instrumentation > apis in Java 6, OpenJPA works a bit better. > > -dain > > On Nov 14, 2007, at 4:50 PM, dycharles wrote: > >> >> hello, >> >> i have a database in postgresql that have a column boolean, then >> when i >> create a query in ejb like this(SELECT e.letsaythisisboolean FROM >> sample e), >> now problem is that when i query the database, it will return all >> the false >> value in the column boolean, and the true value will not return... >> How can i >> make the true value appear in my query result? Any suggestion or >> help... >> >> thanks, >> dychalres >> -- >> View this message in context: http://www.nabble.com/Qeury-a-boolean- >> column-%28using-postgresql%29-tf4808272.html#a13757336 >> Sent from the OpenEJB User mailing list [email protected]. >> > > > -- View this message in context: http://www.nabble.com/Qeury-a-boolean-column-%28using-postgresql%29-tf4808272.html#a13796483 Sent from the OpenEJB User mailing list [email protected]. From [email protected] Sat Nov 17 08:06:43 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18487 invoked from network); 17 Nov 2007 08:06:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Nov 2007 08:06:42 -0000 Received: (qmail 7403 invoked by uid 500); 17 Nov 2007 08:06:29 -0000 Delivered-To: [email protected] Received: (qmail 7384 invoked by uid 500); 17 Nov 2007 08:06:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7375 invoked by uid 99); 17 Nov 2007 08:06:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Nov 2007 00:06:29 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Nov 2007 08:06:18 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1ItIgu-00028i-5m for [email protected]; Sat, 17 Nov 2007 00:06:12 -0800 Message-ID: <[email protected]> Date: Sat, 17 Nov 2007 00:06:12 -0800 (PST) From: Hani <[email protected]> To: [email protected] Subject: OpenEJB Tomcat Configuration MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am using openEJB1.0, with Tomcat 4.1.24, in my developement environment it is working fine. When deploy my .war in tomcat, issues comming. EJBs are not binding. My questions, Is it needed to include the openejb.conf file any where in war or in tomcat? I am using MySQL 5.0.27 Where I specifies the connection peoperties? thanks, --Hani -- View this message in context: http://www.nabble.com/OpenEJB-Tomcat-Configuration-tf4825723.html#a13806916 Sent from the OpenEJB User mailing list [email protected]. From [email protected] Sat Nov 17 14:50:10 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62633 invoked from network); 17 Nov 2007 14:50:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Nov 2007 14:50:10 -0000 Received: (qmail 87671 invoked by uid 500); 17 Nov 2007 14:49:57 -0000 Delivered-To: [email protected] Received: (qmail 87653 invoked by uid 500); 17 Nov 2007 14:49:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 87644 invoked by uid 99); 17 Nov 2007 14:49:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Nov 2007 06:49:57 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wr-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Nov 2007 14:49:45 +0000 Received: by wr-out-0506.google.com with SMTP id 60so115060wri for <[email protected]>; Sat, 17 Nov 2007 06:49:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=/NhlbHhHcN1YV4wmkw/2IA96xIj2ZYIlylCydvTurfk=; b=HbYmBBY3nIbZoc3Wam5vtofmkhf2S/CgD/3xY6diMMrwFJZYtv8DI8vU88209jFSE1S0sIMix+V5+Gmr8/4X9p4ZQLsmV2uNB/lGztqpqvkGF1YoCe5aY31Y03vuBYKdq31seSel8emwpKdSEmXgo8myv1B8oSaVm0tqJbwCZoQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=DS3elPsMZflJNmbU9mo+Nj0rLU6P6WS08OQdcz8CGmPRtxmdN6/aorkBvxu+EIfP5Qua02GcgU/RJfAHGWUbcQU54scu7f5shhMT94eRMoATYeu34q2XAiBGeOulUixs7bWao22zwA6Ug4kBKTgaNwzXLnwWUCHoixJOMg8MEmM= Received: by 161.129.204.104 with SMTP id a18mr3917562agb.1195310977275; Sat, 17 Nov 2007 06:49:37 -0800 (PST) Received: by 161.129.204.104 with HTTP; Sat, 17 Nov 2007 06:49:37 -0800 (PST) Message-ID: <[email protected]> Date: Sat, 17 Nov 2007 16:49:37 +0200 From: "Mohammad Nour El-Din" <[email protected]> To: [email protected] Subject: Re: Qeury a boolean column?(using postgresql) In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_17338_9149256.1195310977259" References: <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_17338_9149256.1195310977259 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Dycharles I skimmed the tutorial and seems that it uses NetBeans IDE and Sun Java System Application Server which is not OpenEJB and it is not using EJB neither, nit it uses JSE and the JPA APIs and annotations, is that the configuration u use or u try to apply the concepts explained in the tutorial using OpenEJB ??? On Nov 16, 2007 6:25 PM, dycharles <[email protected]> wrote: > > hello, > > thanks for the reply... > > I am new to this ejb or persistence.... Please help me understand. > thanks..... > > Now i just followed this tutorial from netbeans > (http://www.netbeans.org/kb/55/persistence-j2se.html) because i'm using > the > netbeansIDE, then that is my persistence and ejb used... i don't know what > version i'm using in persistence and in ejb i don't know also if it is > openEJB or ejb alone, what is the difference between the two? > > Regarding with my posrgresql version i used the recent version. i know > this will support the boolean data type. in my schema in postgresql, it is > really simple i create the boolean column with boolean data type and > primary > key... then thats it. And also in java i used the java6. > > So, i suspect my mistake is in the persistence and ejb used... > > thanks, > dycharles > > > Dain Sundstrom wrote: > > > > Hi, > > > > I'm not sure why this isn't working, so I'm gonna have to attempt to > > reproduce this problem, but I'm going to need a bit more information. > > > > Are you using CMP or JPA? > > Are you using an existing database TABLE or generating one? If > > existing, can you share the schema for the table? > > Can you share your CMP or JPA bean? > > What version of Postgresql are you using? driver version? > > What version of OpenEJB? > > > > In the mean time, I'll try to hack something up. > > > > BTW, if you're not on Java 6, give it a try. We use OpenJPA for > > persistence of CMP and JPA beans, and due to the new instrumentation > > apis in Java 6, OpenJPA works a bit better. > > > > -dain > > > > On Nov 14, 2007, at 4:50 PM, dycharles wrote: > > > >> > >> hello, > >> > >> i have a database in postgresql that have a column boolean, then > >> when i > >> create a query in ejb like this(SELECT e.letsaythisisboolean FROM > >> sample e), > >> now problem is that when i query the database, it will return all > >> the false > >> value in the column boolean, and the true value will not return... > >> How can i > >> make the true value appear in my query result? Any suggestion or > >> help... > >> > >> thanks, > >> dychalres > >> -- > >> View this message in context: http://www.nabble.com/Qeury-a-boolean- > >> column-%28using-postgresql%29-tf4808272.html#a13757336 > >> Sent from the OpenEJB User mailing list [email protected]. > >> > > > > > > > > -- > View this message in context: > http://www.nabble.com/Qeury-a-boolean-column-%28using-postgresql%29-tf4808272.html#a13796483 > Sent from the OpenEJB User mailing list [email protected]. > > -- Thanks - Mohammad Nour ------=_Part_17338_9149256.1195310977259-- From [email protected] Sat Nov 17 14:57:20 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63192 invoked from network); 17 Nov 2007 14:57:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Nov 2007 14:57:19 -0000 Received: (qmail 91351 invoked by uid 500); 17 Nov 2007 14:57:06 -0000 Delivered-To: [email protected] Received: (qmail 91339 invoked by uid 500); 17 Nov 2007 14:57:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 91330 invoked by uid 99); 17 Nov 2007 14:57:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Nov 2007 06:57:06 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wr-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Nov 2007 14:56:55 +0000 Received: by wr-out-0506.google.com with SMTP id 60so116618wri for <[email protected]>; Sat, 17 Nov 2007 06:56:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=gSpjmtl8X2e2MoTLkQMI95xLnLQ3l2sFDynTifaeTkA=; b=LyGurAGLRsTeJC5+ap5beNbDCZsTTn0NYaalYNJvK6QMej1AWXKHqrxsCWwlEVmG4vQSLgHHw3MHIpbktegCO7Bd6wxddXAP5I0kkdWMsOy/Q3RIyFRvv93/F5v7fHCYv9RnplMBj3pIMWJ5zbh6uMWEMttr8E+G9cxbOMuqjyE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ZJ/ftHI0wdGi+DwCFpz7XRyRiAQBAuc5TlpArvIzAwZqhB6ssgjUwGabp7TURbNVfoFwiCUELJz2LXv9gUriUdb16Pzhm44NcfXTFMvhsnoWC9Aea17iNo+8agy//SzTTPyiOaEjXqm03WSMedtK0BAVGNXyRbAK5QOEyj+ZOas= Received: by 161.129.204.104 with SMTP id s11mr4351261agb.1195311407480; Sat, 17 Nov 2007 06:56:47 -0800 (PST) Received: by 161.129.204.104 with HTTP; Sat, 17 Nov 2007 06:56:47 -0800 (PST) Message-ID: <[email protected]> Date: Sat, 17 Nov 2007 16:56:47 +0200 From: "Mohammad Nour El-Din" <[email protected]> To: [email protected] Subject: Re: OpenEJB Tomcat Configuration In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_17355_22530507.1195311407473" References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_17355_22530507.1195311407473 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Dear Hani... First thanks for using and trying OpenEJB :) , I advise you to read the instructions explained in here http://cwiki.apache.org/confluence/display/OPENEJB/Tomcat and to use OpenEJB3.0 than OpenEJB1.0 as the current main development and new features are in OpenEJB3.0 which still also support former versions of EJB specially EJB2.1. On Nov 17, 2007 10:06 AM, Hani <[email protected]> wrote: > > Hi, > > I am using openEJB1.0, with Tomcat 4.1.24, in my developement environment > it is working fine. When deploy my .war in tomcat, issues comming. EJBs > are > not binding. My questions, > Is it needed to include the openejb.conf file any where in war or in > tomcat? > I am using MySQL 5.0.27 Where I specifies the connection peoperties? > > thanks, > > --Hani > > -- > View this message in context: > http://www.nabble.com/OpenEJB-Tomcat-Configuration-tf4825723.html#a13806916 > Sent from the OpenEJB User mailing list [email protected]. > > -- Thanks - Mohammad Nour ------=_Part_17355_22530507.1195311407473-- From [email protected] Sun Nov 18 11:23:59 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10456 invoked from network); 18 Nov 2007 11:23:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Nov 2007 11:23:59 -0000 Received: (qmail 34806 invoked by uid 500); 18 Nov 2007 11:23:46 -0000 Delivered-To: [email protected] Received: (qmail 34795 invoked by uid 500); 18 Nov 2007 11:23:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34786 invoked by uid 99); 18 Nov 2007 11:23:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Nov 2007 03:23:45 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Nov 2007 11:23:35 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1ItiFM-0004pY-2c for [email protected]; Sun, 18 Nov 2007 03:23:28 -0800 Message-ID: <[email protected]> Date: Sun, 18 Nov 2007 03:23:28 -0800 (PST) From: Hani <[email protected]> To: [email protected] Subject: Re: OpenEJB Tomcat Configuration In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Thanks Mohammad, actualy yesterday itself I have solved the issue. Now it is working fine. Expecting ur promt reply in future also. thanks --Hani Mohammad Nour El-Din wrote: > > Dear Hani... > > First thanks for using and trying OpenEJB :) , I advise you to read the > instructions explained in here > http://cwiki.apache.org/confluence/display/OPENEJB/Tomcat and to use > OpenEJB3.0 than OpenEJB1.0 as the current main development and new > features > are in OpenEJB3.0 which still also support former versions of EJB > specially > EJB2.1. > > On Nov 17, 2007 10:06 AM, Hani <[email protected]> wrote: > >> >> Hi, >> >> I am using openEJB1.0, with Tomcat 4.1.24, in my developement >> environment >> it is working fine. When deploy my .war in tomcat, issues comming. EJBs >> are >> not binding. My questions, >> Is it needed to include the openejb.conf file any where in war or in >> tomcat? >> I am using MySQL 5.0.27 Where I specifies the connection peoperties? >> >> thanks, >> >> --Hani >> >> -- >> View this message in context: >> http://www.nabble.com/OpenEJB-Tomcat-Configuration-tf4825723.html#a13806916 >> Sent from the OpenEJB User mailing list [email protected]. >> >> > > > -- > Thanks > - Mohammad Nour > > -- View this message in context: http://www.nabble.com/OpenEJB-Tomcat-Configuration-tf4825723.html#a13818220 Sent from the OpenEJB User mailing list [email protected]. From [email protected] Mon Nov 19 08:02:36 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38800 invoked from network); 19 Nov 2007 08:02:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Nov 2007 08:02:35 -0000 Received: (qmail 57735 invoked by uid 500); 19 Nov 2007 08:02:22 -0000 Delivered-To: [email protected] Received: (qmail 57723 invoked by uid 500); 19 Nov 2007 08:02:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 57713 invoked by uid 99); 19 Nov 2007 08:02:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2007 00:02:22 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wr-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2007 08:02:10 +0000 Received: by wr-out-0506.google.com with SMTP id 60so559218wri for <[email protected]>; Mon, 19 Nov 2007 00:02:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=7kB8v0CiPglBTwogmITJGuGnYGJu09fVGVt9uvzsNwY=; b=YU9Aoq5ExKoF+P3PAaUsy7vZDakazsp7PXz0G+0nvVOS3KyIXmj1UNoIW37vNS7B/adQv1G76OV76/SXc9VvvtUaMcjINASZ1tf1w720tCXkPkCFsiMZhYQPxQATGX6zYLHHUQbCdn37sPvdfdkgsNhhIYp+MM45G3EHi2IAKGU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=T5ghN7I+D0tqqDhmxtzl0eGlyck3p0bgzvjO5Ws1XEM2Nnu4LAcjvOFX+Ax2E8VnD8FGC2IYy8FhQxEgjKOS8sndZ3Iv8Q2Qj57sgyzxkRpGMkWE8bpEP8eSfQ80XbkgVAM3ez4qfaOS3WdK4ETFNXgKmuUvuQintnQ+r5Robkc= Received: by 161.129.204.104 with SMTP id n16mr6413083agb.1195459323278; Mon, 19 Nov 2007 00:02:03 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 19 Nov 2007 00:02:03 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 19 Nov 2007 10:02:03 +0200 From: "Mohammad Nour El-Din" <[email protected]> To: [email protected] Subject: Re: OpenEJB Tomcat Configuration In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_21013_25065592.1195459323264" References: <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_21013_25065592.1195459323264 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline You are so welcome Hani. And we are looking forward towards more questions from you ;). On Nov 18, 2007 1:23 PM, Hani <[email protected]> wrote: > > Thanks Mohammad, actualy yesterday itself I have solved the issue. Now it > is > working fine. Expecting ur promt reply in future also. > thanks > > --Hani > > > Mohammad Nour El-Din wrote: > > > > Dear Hani... > > > > First thanks for using and trying OpenEJB :) , I advise you to read > the > > instructions explained in here > > http://cwiki.apache.org/confluence/display/OPENEJB/Tomcat and to use > > OpenEJB3.0 than OpenEJB1.0 as the current main development and new > > features > > are in OpenEJB3.0 which still also support former versions of EJB > > specially > > EJB2.1. > > > > On Nov 17, 2007 10:06 AM, Hani <[email protected]> wrote: > > > >> > >> Hi, > >> > >> I am using openEJB1.0, with Tomcat 4.1.24, in my developement > >> environment > >> it is working fine. When deploy my .war in tomcat, issues comming. EJBs > >> are > >> not binding. My questions, > >> Is it needed to include the openejb.conf file any where in war or in > >> tomcat? > >> I am using MySQL 5.0.27 Where I specifies the connection peoperties? > >> > >> thanks, > >> > >> --Hani > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/OpenEJB-Tomcat-Configuration-tf4825723.html#a13806916 > >> Sent from the OpenEJB User mailing list [email protected]. > >> > >> > > > > > > -- > > Thanks > > - Mohammad Nour > > > > > > -- > View this message in context: > http://www.nabble.com/OpenEJB-Tomcat-Configuration-tf4825723.html#a13818220 > Sent from the OpenEJB User mailing list [email protected]. > > -- Thanks - Mohammad Nour ------=_Part_21013_25065592.1195459323264-- From [email protected] Mon Nov 19 14:08:50 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11754 invoked from network); 19 Nov 2007 14:08:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Nov 2007 14:08:50 -0000 Received: (qmail 2605 invoked by uid 500); 19 Nov 2007 14:08:37 -0000 Delivered-To: [email protected] Received: (qmail 2414 invoked by uid 500); 19 Nov 2007 14:08:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 2405 invoked by uid 99); 19 Nov 2007 14:08:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2007 06:08:36 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.mikon.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2007 14:08:27 +0000 Message-ID: <[email protected]> Date: Mon, 19 Nov 2007 09:08:12 -0500 From: Paul Spencer <[email protected]> MIME-Version: 1.0 To: [email protected] Subject: OpenEJB war for Tomcat 5.5 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Dain, At ApacheCon US you demonstrated the use of an OpenEJB war for Tomcat 6.x as a way of running an EJB 3 application inside a Tomcat container. Currently my customer are running Tomcat 5.5 on their servers, so I am requesting a OpenEJB war that will work with Tomcat 5.5. Thank you, Paul Spencer From [email protected] Thu Nov 22 22:15:13 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47189 invoked from network); 22 Nov 2007 22:15:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Nov 2007 22:15:13 -0000 Received: (qmail 23663 invoked by uid 500); 22 Nov 2007 22:15:01 -0000 Delivered-To: [email protected] Received: (qmail 23649 invoked by uid 500); 22 Nov 2007 22:15:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23640 invoked by uid 99); 22 Nov 2007 22:15:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Nov 2007 14:15:00 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO spaceymail-a4.g.dreamhost.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Nov 2007 22:14:47 +0000 Received: from [161.129.204.104] (c-75-72-15-191.hsd1.mn.comcast.net [161.129.204.104]) by spaceymail-a4.g.dreamhost.com (Postfix) with ESMTP id 6E86D161876 for <[email protected]>; Thu, 22 Nov 2007 14:14:38 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Dain Sundstrom <[email protected]> Subject: Re: Qeury a boolean column?(using postgresql) Date: Thu, 22 Nov 2007 16:14:36 -0600 To: [email protected] X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org Sorry, been traveling, and just got back to my email. I hope to have time to look at this tomorrow, but it is a bit busy for me around Thanksgiving. -dain On Nov 16, 2007, at 10:25 AM, dycharles wrote: > > hello, > > thanks for the reply... > > I am new to this ejb or persistence.... Please help me understand. > thanks..... > > Now i just followed this tutorial from netbeans > (http://www.netbeans.org/kb/55/persistence-j2se.html) because i'm > using the > netbeansIDE, then that is my persistence and ejb used... i don't > know what > version i'm using in persistence and in ejb i don't know also if it is > openEJB or ejb alone, what is the difference between the two? > > Regarding with my posrgresql version i used the recent version. > i know > this will support the boolean data type. in my schema in > postgresql, it is > really simple i create the boolean column with boolean data type > and primary > key... then thats it. And also in java i used the java6. > > So, i suspect my mistake is in the persistence and ejb used... > > thanks, > dycharles > > > Dain Sundstrom wrote: >> >> Hi, >> >> I'm not sure why this isn't working, so I'm gonna have to attempt to >> reproduce this problem, but I'm going to need a bit more information. >> >> Are you using CMP or JPA? >> Are you using an existing database TABLE or generating one? If >> existing, can you share the schema for the table? >> Can you share your CMP or JPA bean? >> What version of Postgresql are you using? driver version? >> What version of OpenEJB? >> >> In the mean time, I'll try to hack something up. >> >> BTW, if you're not on Java 6, give it a try. We use OpenJPA for >> persistence of CMP and JPA beans, and due to the new instrumentation >> apis in Java 6, OpenJPA works a bit better. >> >> -dain >> >> On Nov 14, 2007, at 4:50 PM, dycharles wrote: >> >>> >>> hello, >>> >>> i have a database in postgresql that have a column boolean, then >>> when i >>> create a query in ejb like this(SELECT e.letsaythisisboolean FROM >>> sample e), >>> now problem is that when i query the database, it will return all >>> the false >>> value in the column boolean, and the true value will not return... >>> How can i >>> make the true value appear in my query result? Any suggestion or >>> help... >>> >>> thanks, >>> dychalres >>> -- >>> View this message in context: http://www.nabble.com/Qeury-a-boolean- >>> column-%28using-postgresql%29-tf4808272.html#a13757336 >>> Sent from the OpenEJB User mailing list [email protected]. >>> >> >> >> > > -- > View this message in context: http://www.nabble.com/Qeury-a-boolean- > column-%28using-postgresql%29-tf4808272.html#a13796483 > Sent from the OpenEJB User mailing list [email protected]. > From [email protected] Thu Nov 22 22:16:10 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47300 invoked from network); 22 Nov 2007 22:16:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Nov 2007 22:16:10 -0000 Received: (qmail 24257 invoked by uid 500); 22 Nov 2007 22:15:57 -0000 Delivered-To: [email protected] Received: (qmail 24243 invoked by uid 500); 22 Nov 2007 22:15:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 24232 invoked by uid 99); 22 Nov 2007 22:15:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Nov 2007 14:15:57 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO spaceymail-a4.g.dreamhost.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Nov 2007 22:15:46 +0000 Received: from [161.129.204.104] (c-75-72-15-191.hsd1.mn.comcast.net [161.129.204.104]) by spaceymail-a4.g.dreamhost.com (Postfix) with ESMTP id 79BB31618DD for <[email protected]>; Thu, 22 Nov 2007 14:15:39 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Dain Sundstrom <[email protected]> Subject: Re: OpenEJB war for Tomcat 5.5 Date: Thu, 22 Nov 2007 16:15:38 -0600 To: [email protected] X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org I'll take a look at it when I get back from visiting my family for Thanksgiving. -dain On Nov 19, 2007, at 8:08 AM, Paul Spencer wrote: > Dain, > At ApacheCon US you demonstrated the use of an OpenEJB war for > Tomcat 6.x as a way of running an EJB 3 application inside a Tomcat > container. Currently my customer are running Tomcat 5.5 on their > servers, so I am requesting a OpenEJB war that will work with > Tomcat 5.5. > > Thank you, > Paul Spencer From [email protected] Sun Nov 25 03:46:29 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15640 invoked from network); 25 Nov 2007 03:46:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Nov 2007 03:46:29 -0000 Received: (qmail 47898 invoked by uid 500); 25 Nov 2007 03:46:17 -0000 Delivered-To: [email protected] Received: (qmail 47880 invoked by uid 500); 25 Nov 2007 03:46:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 47871 invoked by uid 99); 25 Nov 2007 03:46:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Nov 2007 19:46:16 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO fmailhost03.isp.att.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Nov 2007 03:46:18 +0000 Received: from [161.129.204.104] (adsl-19-106-104.asm.bellsouth.net[161.129.204.104]) by bellsouth.net (frfwmhc03) with ESMTP id <20071125034555H0300ls4q3e>; Sun, 25 Nov 2007 03:45:55 +0000 X-Originating-IP: [161.129.204.104] Message-ID: <[email protected]> Date: Sat, 24 Nov 2007 22:45:54 -0500 From: Paul Spencer <[email protected]> User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Problems getting EJB via annotation in test class. Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I am trying to test an EJB3 using annotation. The problem is the injected value is always null. In my junit test, I setup the OpenEJB environment, and then get the EJB via a JNDI lookup and then via an annotated test class. The JNDI lookup always works. I suspect this is a simple configuration error, but I am not sure where the error is. Below are copies of the tests, maven pom, and annotated test class. Suggestions? Paul Spencer *** * pom.xml *** <project> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.foo.helloworld</groupId> <artifactId>helloworld-master-pom</artifactId> <version>1.0-SNAPSHOT</version> <relativePath>../helloworld/pom.xml</relativePath> </parent> <artifactId>helloworld-ejb</artifactId> <name>Hello World EJB</name> <packaging>ejb</packaging> <build> <plugins> <plugin> <artifactId>maven-ejb-plugin</artifactId> <configuration> <ejbVersion>3.0</ejbVersion> <generateClient>true</generateClient> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.apache.openejb</groupId> <artifactId>openejb-ejbd</artifactId> <version>3.0.0-SNAPSHOT</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.openejb</groupId> <artifactId>openejb-core</artifactId> <version>3.0.0-SNAPSHOT</version> <scope>test</scope> </dependency> </dependencies> <repositories> <repository> <id>openejb-3rdparty-builds</id> <name>3rd Party Build Repository</name> <url>http://svn.apache.org/repos/asf/openejb/repo/</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> <repository> <id>Apache Snapshot Repo</id> <name>Apache Snapshot Repo</name> <url>http://people.apache.org/repo/m2-snapshot-repository/</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories> </project> *** * Annotated test class *** class MyTestClass { @EJB CompanyAdminLocal localBean; @EJB(name="CompanyAdminImplRemote") CompanyAdminRemote remoteBean; @EJB CompanyAdminImpl defaultBean; public CompanyAdminLocal getLocalBean() { return localBean; } public CompanyAdminRemote getRemoteBean() { return remoteBean; } public CompanyAdmin getDefaultBean() { return defaultBean; } } *** * Unit Test *** public class CompanyAdminBeanEjbTest extends TestCase { InitialContext localContext; InitialContext remoteContext; protected void setUp() throws Exception { Properties properties = new Properties(); properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory"); properties.setProperty("openejb.deployments.classpath.include", ".*beans.*"); properties.setProperty("openejb.deployments.classpath.exclude", ".*telephone.*"); properties.setProperty("openejb.embedded.remotable", "true"); new InitialContext(properties); Properties localProperties = new Properties(); localProperties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory"); localContext = new InitialContext(localProperties); Properties remoteProperties = new Properties(); remoteProperties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory"); remoteContext = new InitialContext(remoteProperties); } public void testLocalCompanyAdminBean() throws Exception { CompanyAdmin companyAdmin = (CompanyAdmin) localContext .lookup("CompanyAdminImplLocal"); assertNotNull("Has CompanyAdminBean", companyAdmin); } public void testRemoteCompanyAdminBean() throws Exception { CompanyAdmin companyAdmin = (CompanyAdmin) remoteContext .lookup("CompanyAdminImplRemote"); assertNotNull("Has CompanyAdminBean", companyAdmin); } public void testLocalMyTestClass() throws Exception { MyTestClass testClass = new MyTestClass(); assertNotNull("Has local bean", testClass.getLocalBean()); } public void testRemoteMyTestClass() throws Exception { MyTestClass testClass = new MyTestClass(); assertNotNull("Has Remote bean", testClass.getRemoteBean()); } public void testDefaultMyTestClass() throws Exception { MyTestClass testClass = new MyTestClass(); assertNotNull("Has Remote bean", testClass.getDefaultBean()); } public void testCompanyName() throws Exception { CompanyAdminLocal companyAdmin = (CompanyAdminLocal) localContext .lookup("CompanyAdminBean"); String newName = "New Company Name"; companyAdmin.setCompanyName(newName); assertEquals("Company Name", newName, companyAdmin.getCompanyName()); } } From [email protected] Sun Nov 25 11:36:52 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58762 invoked from network); 25 Nov 2007 11:36:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Nov 2007 11:36:52 -0000 Received: (qmail 76973 invoked by uid 500); 25 Nov 2007 11:36:39 -0000 Delivered-To: [email protected] Received: (qmail 76953 invoked by uid 500); 25 Nov 2007 11:36:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 76944 invoked by uid 99); 25 Nov 2007 11:36:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Nov 2007 03:36:39 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wa-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Nov 2007 11:36:17 +0000 Received: by wa-out-1112.google.com with SMTP id m28so553600wag for <[email protected]>; Sun, 25 Nov 2007 03:36:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=gqPSPhg0deYdQAbZk5BeiA5RdGxfcSmV1o92QGkMB/4=; b=Gy020snq6f8xt6sy5ozNf4kEYZR+EK3UHF6Ugy3v7ZbirTnLVgjqz4oBYJpU+ezuoURor6Ji8i+iP5C6lM4v/PRBiOYAeRn+ycGT8FyEJbKX+Gy92ZU1DZi3PN4ASD+DXq9VSGfm14VPZQhsgJc84xC2X/GoSUdJTXjoAX5E9ww= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=NEpL9mmTj+NjrRoBq5uIfep59YFBkKS3iUFIbECMC9TwMn4UjxP5Hrdxv+bXJly8lttkDwWwVlZ9q1LnDsbCYfOLNni12KUUWwEle/rx0caAWuGLK7+EVlCMz69uzDfbO6pSayLNYXlq+wqfYeXVIqj7hBaiNB1/wGXjoS4AAuU= Received: by 161.129.204.104 with SMTP id z1mr45472waa.1195990580460; Sun, 25 Nov 2007 03:36:20 -0800 (PST) Received: by 161.129.204.104 with HTTP; Sun, 25 Nov 2007 03:36:20 -0800 (PST) Message-ID: <[email protected]> Date: Sun, 25 Nov 2007 12:36:20 +0100 From: "Jacek Laskowski" <[email protected]> Reply-To: [email protected] Sender: [email protected] To: [email protected] Subject: Re: Problems getting EJB via annotation in test class. In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> X-Google-Sender-Auth: 2efdbe266881e84f X-Virus-Checked: Checked by ClamAV on apache.org On Nov 25, 2007 4:45 AM, Paul Spencer <[email protected]> wrote: > I am trying to test an EJB3 using annotation. The problem is the > injected value is always null. Dependency Injection (DI) in Java EE 5 only works for managed objects like enterprise javabeans classes or interceptors (limiting it to ejb3 only). > *** > * Annotated test class > *** > class MyTestClass { > @EJB > CompanyAdminLocal localBean; > > @EJB(name="CompanyAdminImplRemote") > CompanyAdminRemote remoteBean; > > @EJB > CompanyAdminImpl defaultBean; >From EJB3's standpoint the class is not a managed object and cannot use DI. OpenEJB 3 doesn't even consider it as a target of DI. That's why the class returns null's from its getters. Make it a ejb (like @Stateless) with its business interface and it should work fine. See examples in http://svn.apache.org/repos/asf/openejb/trunk/openejb3/examples for more ejb3 examples. Read about them in http://openejb.apache.org/examples.html. Let us know when there's no such an example you're after. Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl From [email protected] Sun Nov 25 14:05:29 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82258 invoked from network); 25 Nov 2007 14:05:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Nov 2007 14:05:28 -0000 Received: (qmail 30891 invoked by uid 500); 25 Nov 2007 14:05:16 -0000 Delivered-To: [email protected] Received: (qmail 30875 invoked by uid 500); 25 Nov 2007 14:05:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30866 invoked by uid 99); 25 Nov 2007 14:05:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Nov 2007 06:05:15 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.mikon.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Nov 2007 14:04:56 +0000 Message-ID: <[email protected]> Date: Sun, 25 Nov 2007 09:04:54 -0500 From: Paul Spencer <[email protected]> MIME-Version: 1.0 To: [email protected] Subject: Re: Problems getting EJB via annotation in test class. References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Jacek, 1) I am using jdk1.5.0_12 2) My source code, specifically the definition of CompanyAdminLocal, CompanyAdminReport, and CompanyAdminImpl match the injection example. 3) I did not find an example where the test class used DI to get the EJB. All of the tests got an EJB via context.lookup. Paul Spencer Jacek Laskowski wrote: > On Nov 25, 2007 4:45 AM, Paul Spencer <[email protected]> wrote: >> I am trying to test an EJB3 using annotation. The problem is the >> injected value is always null. > > Dependency Injection (DI) in Java EE 5 only works for managed objects > like enterprise javabeans classes or interceptors (limiting it to ejb3 > only). > >> *** >> * Annotated test class >> *** >> class MyTestClass { >> @EJB >> CompanyAdminLocal localBean; >> >> @EJB(name="CompanyAdminImplRemote") >> CompanyAdminRemote remoteBean; >> >> @EJB >> CompanyAdminImpl defaultBean; > >>>From EJB3's standpoint the class is not a managed object and cannot > use DI. OpenEJB 3 doesn't even consider it as a target of DI. That's > why the class returns null's from its getters. Make it a ejb (like > @Stateless) with its business interface and it should work fine. > > See examples in > http://svn.apache.org/repos/asf/openejb/trunk/openejb3/examples for > more ejb3 examples. Read about them in > http://openejb.apache.org/examples.html. Let us know when there's no > such an example you're after. > > Jacek > From [email protected] Sun Nov 25 14:52:18 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86811 invoked from network); 25 Nov 2007 14:52:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Nov 2007 14:52:18 -0000 Received: (qmail 41688 invoked by uid 500); 25 Nov 2007 14:52:06 -0000 Delivered-To: [email protected] Received: (qmail 41671 invoked by uid 500); 25 Nov 2007 14:52:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 41662 invoked by uid 99); 25 Nov 2007 14:52:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Nov 2007 06:52:06 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wa-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Nov 2007 14:51:44 +0000 Received: by wa-out-1112.google.com with SMTP id m28so602262wag for <[email protected]>; Sun, 25 Nov 2007 06:51:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=VO3rc5Q0diT6720V4n7Q5nrvunn42fFe5wML2s3xJm0=; b=VESLAB6zwVurK7JHFaMpW9ZpfGpwJJDVeEuiASNiyT2+PW7MKfHK/Vngi6/iHwNT79PgqpuaZe474WHhaYQ0oa1pXdmjJ+gdoAOyxsrf0GPz+dGJ+xd76pMb33yv39OFYuy7oY3oubjDFP2B095tsN7MYGWQOg6vIMTdqNZdsz4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=F+0qzDa2ymP/3XB67F4hJ9ikknMqiSlV43i96FlSkWka5MXZESGLaqfG58dErS2/kRjMju8OgSkDBwpb0WXagmOD53Sa3nIMBoNWXz+P+HJ8ZUQxbxvDfOR0hgwAYFmhvak+CKZ7nvFrm4qk2Fw7RhaFv79ce3Se3jBseJUSd8w= Received: by 161.129.204.104 with SMTP id h1mr221787wak.1196002307395; Sun, 25 Nov 2007 06:51:47 -0800 (PST) Received: by 161.129.204.104 with HTTP; Sun, 25 Nov 2007 06:51:47 -0800 (PST) Message-ID: <[email protected]> Date: Sun, 25 Nov 2007 15:51:47 +0100 From: "Jacek Laskowski" <[email protected]> Reply-To: [email protected] Sender: [email protected] To: [email protected] Subject: Re: Problems getting EJB via annotation in test class. In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> X-Google-Sender-Auth: 44ae461fe34e8c14 X-Virus-Checked: Checked by ClamAV on apache.org On Nov 25, 2007 3:04 PM, Paul Spencer <[email protected]> wrote: > 2) My source code, specifically the definition of CompanyAdminLocal, > CompanyAdminReport, and CompanyAdminImpl match the injection example. That's correct, but the class - MyTestClass - that uses the local, remote and impl (?) interfaces is not considered as DI target and openejb (and any ejb3 container) doesn't inject ejbs into it. There's yet another possible solution I didn't test out myself - an application client. If you worked with Geronimo (or any Java EE 5 application server) you could inject ejbs and other managed resources into your application client, but as I wrote I didn't try it out so I can't comment on it much other than it should work. Please report a issue report (in Geronimo's or OpenEJB's jira) if you think that such an example should be available. > 3) I did not find an example where the test class used DI to get the > EJB. All of the tests got an EJB via context.lookup. I'll look into it so one is available. Jacel -- Jacek Laskowski http://www.JacekLaskowski.pl From [email protected] Sun Nov 25 22:10:33 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4158 invoked from network); 25 Nov 2007 22:10:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Nov 2007 22:10:33 -0000 Received: (qmail 34113 invoked by uid 500); 25 Nov 2007 22:10:21 -0000 Delivered-To: [email protected] Received: (qmail 34100 invoked by uid 500); 25 Nov 2007 22:10:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34091 invoked by uid 99); 25 Nov 2007 22:10:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Nov 2007 14:10:21 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.mikon.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Nov 2007 22:10:24 +0000 Message-ID: <[email protected]> Date: Sun, 25 Nov 2007 17:09:57 -0500 From: Paul Spencer <[email protected]> MIME-Version: 1.0 To: [email protected] Subject: Re: Problems getting EJB via annotation in test class. References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Jacek Laskowski wrote: > On Nov 25, 2007 3:04 PM, Paul Spencer <[email protected]> wrote: > >> 2) My source code, specifically the definition of CompanyAdminLocal, >> CompanyAdminReport, and CompanyAdminImpl match the injection example. > > That's correct, but the class - MyTestClass - that uses the local, > remote and impl (?) interfaces is not considered as DI target and > openejb (and any ejb3 container) doesn't inject ejbs into it. I am trying to access the many forms of the EJB, some may be incorrect an need to be removed from the test. Since the test is using OpenEJB as an embedded server, why is the test class not considered as a DI target? My intent is to test the EJB in the same manor as an application would use the EJB. This includes the use of DI. Is my implementation consistent with my intent? > <snip> > > Jacel > Paul Spencer From [email protected] Mon Nov 26 06:57:34 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33667 invoked from network); 26 Nov 2007 06:57:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Nov 2007 06:57:34 -0000 Received: (qmail 60150 invoked by uid 500); 26 Nov 2007 06:57:21 -0000 Delivered-To: [email protected] Received: (qmail 60136 invoked by uid 500); 26 Nov 2007 06:57:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 90112 invoked by uid 99); 26 Nov 2007 04:53:27 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=B0ydER8+lbpbwO+IYCPnStKOMbjdFmikQEL/zJMzrtY=; b=KaieFqbWhUohvVAv3Fv4tWn+Lt2suA49ux8KdsAyniU1ILfWQDa1M9/LS7WaA1a2Iux2nKIaW+rcjYYhAyAEqczi7XQ/8qapiluTDggoKxbeZ6+jldXLRtqKSafvHp7Fd8SSl0a6Fa9ZkQXjSA2BVQ//0jhkFOqe5FeZUtBNjvU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=M9lLXOwFrl+j5pFHwckXiB/9rtY1WfhkOoVgllSopCf+krB9H6cSvnQeiOtcsZo1xFHLQ+nhJxWjPecm7/pct3GnRVbRdAL1iggg/9W/S6j+dLbvq0erA4LVJw/HxOPzxoqh4mgne4QCiH4Bu37XYpJfWwb7fjG1tt3kI0GIYVA= Message-ID: <[email protected]> Date: Mon, 26 Nov 2007 10:23:07 +0530 From: "Tamal Kanti Nath" <[email protected]> To: [email protected] Subject: minor problems ! MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org I have followed the instructions of http://openejb.apache.org/tomcat.html to integrate openejb with tomcat. It works fine. But there are some minor problems: Every time I start tomcat, a directory activemq-data is created from my current working directory. The file hsqldb.log is installed on $CATALINA_HOME i.e. the home directory of tomcat. It should be on $CATALINA_HOME/logs. The file hsqldb.properties is installed on $CATALINA_HOME. It should be on $CATALINA_HOME/conf. -- Tamal Kanti Nath Electronics Engineer Mob: (386)348-2373 From [email protected] Mon Nov 26 08:52:08 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50354 invoked from network); 26 Nov 2007 08:52:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Nov 2007 08:52:07 -0000 Received: (qmail 50042 invoked by uid 500); 26 Nov 2007 08:51:55 -0000 Delivered-To: [email protected] Received: (qmail 50004 invoked by uid 500); 26 Nov 2007 08:51:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 49968 invoked by uid 99); 26 Nov 2007 08:51:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 00:51:55 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO rv-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 08:51:33 +0000 Received: by rv-out-0910.google.com with SMTP id c27so490073rvf for <[email protected]>; Mon, 26 Nov 2007 00:51:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=1bG/ezb+23K62ldoLUDwnZaUANcg5dHpcY1zodbNMsQ=; b=oHc1X54bLsxaE4G34yfO5ZJNP9bI4B6O3S9S/oUCE6kUZSa2wGYffeDJRNdizepMHF59PkwJxM8ddfCatJw9Sv4eXjVkSCcytF5eAeK6AEynIvlObMtrVtyDdbiuGUzY9Nm5qiFNuYz2P2VpskI1w/ynMTHLU781L3PccXBYAu4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=O6XtsFyDTceyFkxeAa0hb/LQXVz5vl/BCYES3bv7ntHnpxLrsD/x40rGhdr5g/DH6BS5V2+zeeXy2KibFTXlPiC4K4jyvK2QsL7jtvPTLajxSxY9A/v5lcnrfP4dE6R++QDwTt2p3Ul6Bfy2+Vm2J9/WO/oBInz0JHMB1Wd46RA= Received: by 161.129.204.104 with SMTP id j1mr379859waa.1196067095695; Mon, 26 Nov 2007 00:51:35 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 26 Nov 2007 00:51:35 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 26 Nov 2007 09:51:35 +0100 From: "Jacek Laskowski" <[email protected]> Reply-To: [email protected] Sender: [email protected] To: [email protected] Subject: Re: Problems getting EJB via annotation in test class. In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Google-Sender-Auth: 1e4c6c4024599160 X-Virus-Checked: Checked by ClamAV on apache.org On Nov 25, 2007 11:09 PM, Paul Spencer <[email protected]> wrote: > Since the test is using OpenEJB as an embedded server, why is the test > class not considered as a DI target? if (test class == ejb class && test case == interceptor class) { // the test class *is* a target of DI machinery } else { // do nothing with it, just load the class and provide to other classes with no DI-related changes } > My intent is to test the EJB in the same manor as an application would > use the EJB. This includes the use of DI. Is my implementation > consistent with my intent? Have you considered checking out the openejb examples from http://svn.apache.org/repos/asf/openejb/trunk/openejb3/examples/? Unless you have, I'd strongly recommend doing so as there're quite a few examples of how ejbs look like and work in openejb. There's nothing specific to openejb in them so they should work in other ejb containers with no changes. You can read about them on http://openejb.apache.org/examples.html. If you're not satisfied with them, write what you're after and I'll create one for you (consider it a New Year present ;-)) Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl From [email protected] Mon Nov 26 08:59:47 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51022 invoked from network); 26 Nov 2007 08:59:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Nov 2007 08:59:47 -0000 Received: (qmail 55885 invoked by uid 500); 26 Nov 2007 08:59:35 -0000 Delivered-To: [email protected] Received: (qmail 55870 invoked by uid 500); 26 Nov 2007 08:59:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55861 invoked by uid 99); 26 Nov 2007 08:59:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 00:59:35 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wa-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 08:59:12 +0000 Received: by wa-out-1112.google.com with SMTP id m28so860093wag for <[email protected]>; Mon, 26 Nov 2007 00:59:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=vhhtS0upGG+LdZomYwBLz6ArQZi39et+xf8uClblPSI=; b=ULo5kawyjccSPOrBdA6Zfa1PcjsFrnzNaGTIIjmrQeYNx0idt4nBKHjF8tVLsyQ0Q5W5oIVvKke5RkCcaNvAEy6FeOk7Vb2E8ehNSMzj4uc4CsBMQZsirqLm801gVIkVw2ZZInBfUy7UHV7BBmKWtzkN32SIE6K0u0Evu40kf5w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=SH13TMqahlv9Lu1YBZwTnwD/QBh9eYE2kvEzrc4AwjdNOhoz8aU0/7/tSkXEySega+OkD/pMkmoucMLV9BtA3dtyjwf2cvrfvVbS5Ls8mZ+qMVPkVgFJQqpe6SyHIVxNEK7PAWdrhuecHkUI7rtWo1DfKpeCd+seIIgiPKfzUps= Received: by 161.129.204.104 with SMTP id a12mr1432295waj.1196067555494; Mon, 26 Nov 2007 00:59:15 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 26 Nov 2007 00:59:15 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 26 Nov 2007 09:59:15 +0100 From: "Jacek Laskowski" <[email protected]> Reply-To: [email protected] Sender: [email protected] To: [email protected] Subject: Re: minor problems ! In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> X-Google-Sender-Auth: a0bc411edd743729 X-Virus-Checked: Checked by ClamAV on apache.org On Nov 26, 2007 5:53 AM, Tamal Kanti Nath <[email protected]> wrote: > I have followed the instructions of > http://openejb.apache.org/tomcat.html to integrate openejb with > tomcat. It works fine. But there are some minor problems: > Every time I start tomcat, a directory activemq-data is created from > my current working directory. > The file hsqldb.log is installed on $CATALINA_HOME i.e. the home > directory of tomcat. It should be on $CATALINA_HOME/logs. > The file hsqldb.properties is installed on $CATALINA_HOME. It should > be on $CATALINA_HOME/conf. Hi, Reported as http://issues.apache.org/jira/browse/OPENEJB-727 so you can easily track the progress. Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl From [email protected] Mon Nov 26 11:54:15 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5855 invoked from network); 26 Nov 2007 11:54:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Nov 2007 11:54:15 -0000 Received: (qmail 99813 invoked by uid 500); 26 Nov 2007 11:54:02 -0000 Delivered-To: [email protected] Received: (qmail 99801 invoked by uid 500); 26 Nov 2007 11:54:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99792 invoked by uid 99); 26 Nov 2007 11:54:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 03:54:02 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.mikon.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 11:54:04 +0000 Message-ID: <[email protected]> Date: Mon, 26 Nov 2007 06:53:38 -0500 From: Paul Spencer <[email protected]> MIME-Version: 1.0 To: [email protected] Subject: Re: Problems getting EJB via annotation in test class. References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: multipart/mixed; boundary="------------030604000606050907060108" X-Virus-Checked: Checked by ClamAV on apache.org --------------030604000606050907060108 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Jacek Laskowski wrote: > On Nov 25, 2007 11:09 PM, Paul Spencer <[email protected]> wrote: > >> Since the test is using OpenEJB as an embedded server, why is the test >> class not considered as a DI target? > > if (test class == ejb class && test case == interceptor class) { > // the test class *is* a target of DI machinery > } else { > // do nothing with it, just load the class and provide to other > classes with no DI-related changes > } > I need to think about this. I start a new thread if I have questions. >> My intent is to test the EJB in the same manor as an application would >> use the EJB. This includes the use of DI. Is my implementation >> consistent with my intent? > > Have you considered checking out the openejb examples from > http://svn.apache.org/repos/asf/openejb/trunk/openejb3/examples/? > Unless you have, I'd strongly recommend doing so as there're quite a > few examples of how ejbs look like and work in openejb. There's > nothing specific to openejb in them so they should work in other ejb > containers with no changes. You can read about them on > http://openejb.apache.org/examples.html. If you're not satisfied with > them, write what you're after and I'll create one for you (consider it > a New Year present ;-)) I have attached a modified version of the EjbDependencyTest that illustrates how I want to test my EJBs. > > Jacek > Thank you, Paul Spencer --------------030604000606050907060108 Content-Type: text/plain; name="EjbDiTest.java" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="EjbDiTest.java" /** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.openejb.examples.injection; import java.util.Properties; import javax.ejb.EJB; import javax.naming.Context; import javax.naming.InitialContext; import junit.framework.TestCase; /** * A test case for DataReaderImpl ejb, testing both the remote and local interface * using Depenency Injection. */ public class EjbDiTest extends TestCase { private static final String REMOTE_STORE_RESULT = "REMOTE:42"; private static final String LOCAL_STORE_RESULT = "LOCAL:42"; @EJB private DataReaderLocal dataReaderLocal; @EJB private DataReaderRemote dataReaderRemote; //START SNIPPET: setup private InitialContext initialContext; protected void setUp() throws Exception { Properties properties = new Properties(); properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory"); properties.setProperty("openejb.deployments.classpath.include", ".*injection.*"); initialContext = new InitialContext(properties); } //END SNIPPET: setup //START SNIPPET: test public void testViaLocalInterface() throws Exception { assertNotNull(dataReaderLocal); assertEquals(LOCAL_STORE_RESULT, dataReaderLocal.readDataFromLocalStore()); assertEquals(REMOTE_STORE_RESULT, dataReaderLocal.readDataFromRemoteStore()); } //END SNIPPET: test public void testViaRemoteInterface() throws Exception { assertNotNull(dataReaderRemote); assertEquals(LOCAL_STORE_RESULT, dataReaderRemote.readDataFromLocalStore()); assertEquals(REMOTE_STORE_RESULT, dataReaderRemote.readDataFromRemoteStore()); } } --------------030604000606050907060108-- From [email protected] Mon Nov 26 18:32:22 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78771 invoked from network); 26 Nov 2007 18:32:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Nov 2007 18:32:22 -0000 Received: (qmail 55537 invoked by uid 500); 26 Nov 2007 18:32:10 -0000 Delivered-To: [email protected] Received: (qmail 55527 invoked by uid 500); 26 Nov 2007 18:32:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55518 invoked by uid 99); 26 Nov 2007 18:32:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 10:32:09 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO g2host.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 18:31:49 +0000 Received: from [161.129.204.104] (account [email protected] HELO [161.129.204.104]) by mailfront2.g2host.com (CommuniGate Pro SMTP 5.1.10) with ESMTPSA id 25891624 for [email protected]; Mon, 26 Nov 2007 12:31:46 -0600 Message-Id: <[email protected]> From: David Blevins <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Subject: Re: Problems getting EJB via annotation in test class. Date: Mon, 26 Nov 2007 10:31:49 -0800 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.915) X-Virus-Checked: Checked by ClamAV on apache.org On Nov 26, 2007, at 12:51 AM, Jacek Laskowski wrote: > On Nov 25, 2007 11:09 PM, Paul Spencer <[email protected]> > wrote: > >> Since the test is using OpenEJB as an embedded server, why is the >> test >> class not considered as a DI target? > > if (test class == ejb class && test case == interceptor class) { > // the test class *is* a target of DI machinery > } Well the tricky thing about that statement is that if the "test class" is an ejb or interceptor, it's no longer a JUnit test class (i.e. something run by junit). But the statement is correct in that you can put test *logic* in an ejb or interceptor which is deployed in the embedded container along with the app you'd like to test. -David From [email protected] Mon Nov 26 19:01:31 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87754 invoked from network); 26 Nov 2007 19:01:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Nov 2007 19:01:31 -0000 Received: (qmail 34835 invoked by uid 500); 26 Nov 2007 19:01:19 -0000 Delivered-To: [email protected] Received: (qmail 34819 invoked by uid 500); 26 Nov 2007 19:01:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34810 invoked by uid 99); 26 Nov 2007 19:01:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 11:01:19 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO g2host.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 19:01:21 +0000 Received: from [161.129.204.104] (account [email protected] HELO [161.129.204.104]) by mailfront1.g2host.com (CommuniGate Pro SMTP 5.1.10) with ESMTPSA id 26530506 for [email protected]; Mon, 26 Nov 2007 13:00:54 -0600 Message-Id: <[email protected]> From: David Blevins <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Subject: Re: Problems getting EJB via annotation in test class. Date: Mon, 26 Nov 2007 11:00:57 -0800 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.915) X-Virus-Checked: Checked by ClamAV on apache.org On Nov 25, 2007, at 2:09 PM, Paul Spencer wrote: > I am trying to access the many forms of the EJB, some may be > incorrect an need to be removed from the test. > > Since the test is using OpenEJB as an embedded server, why is the > test class not considered as a DI target? > > My intent is to test the EJB in the same manor as an application > would use the EJB. This includes the use of DI. Is my > implementation consistent with my intent? As Jacek points out of you'd like to test your EJBs from the perspective of another application, you'd have to put your test logic in an actual application (ejb and/or interceptor) and execute it from your test case. The EJB 3.0 specification only covers dependency injection for classes managed by a container: - servlets, servlet filters, listeners - a javaee app client ran by an app client container - ejb session beans or interceptors In the EJB 3.1 expert group we plan to introduce some way for non- managed objects (objects not instantiated or run by a container) to get dependency injection. No details on how that will be done just yet, however I can nearly guarantee it'll be in the form of some code you have to execute on your object after you construct it, i.e. all the injection won't magically be done on the "new MyClass()" call. We definitely discussed the magical "new" in EJB 3.0 in reference to JPA and decided against using anything like that because the only possible way to support it is through byte-code manipulation. At the time byte-code manipulation was only possible via using some vendor tool at build time or dynamically using a vendor javaagent specified on the command line, both of which are fairly complicated and diminish the simplicity we were going for. Things are different with Java 6 so maybe we'll see some magic news in Java EE some day. -David From [email protected] Mon Nov 26 19:09:43 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90370 invoked from network); 26 Nov 2007 19:09:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Nov 2007 19:09:43 -0000 Received: (qmail 54112 invoked by uid 500); 26 Nov 2007 19:09:31 -0000 Delivered-To: [email protected] Received: (qmail 54097 invoked by uid 500); 26 Nov 2007 19:09:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 54088 invoked by uid 99); 26 Nov 2007 19:09:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 11:09:31 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.mikon.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 19:09:34 +0000 Message-ID: <[email protected]> Date: Mon, 26 Nov 2007 14:09:08 -0500 From: Paul Spencer <[email protected]> MIME-Version: 1.0 To: [email protected] Subject: Re: Problems getting EJB via annotation in test class. References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org David Blevins wrote: > > On Nov 26, 2007, at 12:51 AM, Jacek Laskowski wrote: > >> On Nov 25, 2007 11:09 PM, Paul Spencer <[email protected]> >> wrote: >> >>> Since the test is using OpenEJB as an embedded server, why is the test >>> class not considered as a DI target? >> >> if (test class == ejb class && test case == interceptor class) { >> // the test class *is* a target of DI machinery >> } > > Well the tricky thing about that statement is that if the "test class" > is an ejb or interceptor, it's no longer a JUnit test class (i.e. > something run by junit). But the statement is correct in that you can > put test *logic* in an ejb or interceptor which is deployed in the > embedded container along with the app you'd like to test. > This seems opposite from my experience, although the result may be the same. If a class exists in Maven's test class path, i.e. target/test-classes, then that class will not have fields set via DI. I posted a sample test, which is a modification of one of OpenEJB's examples, in this thread. The post is dated 26-nov-2007 @ 06:53 EST. > -David > > Paul Spencer From [email protected] Mon Nov 26 19:26:58 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98098 invoked from network); 26 Nov 2007 19:26:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Nov 2007 19:26:58 -0000 Received: (qmail 90256 invoked by uid 500); 26 Nov 2007 19:26:46 -0000 Delivered-To: [email protected] Received: (qmail 90242 invoked by uid 500); 26 Nov 2007 19:26:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 90233 invoked by uid 99); 26 Nov 2007 19:26:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 11:26:46 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.mikon.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 19:26:49 +0000 Message-ID: <[email protected]> Date: Mon, 26 Nov 2007 14:26:25 -0500 From: Paul Spencer <[email protected]> MIME-Version: 1.0 To: [email protected] Subject: Re: Problems getting EJB via annotation in test class. References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org David, To summarize things: Relative to testing EJBs inside a Maven executed JUnit test, any object instantiated by a class inside a JUnit test case is not "container managed" thus the object will not receive the benefit of DI. EJB known to the embedded EJB container, ejbd in this case, and instantiated within that container will receive the benefit of DI, but the beans must be retrieve by the test class via a JNDI lookup. Now I can stop beating my head against the wall :) Thank you David and Jacek Paul Spencer David Blevins wrote: > > On Nov 25, 2007, at 2:09 PM, Paul Spencer wrote: > >> I am trying to access the many forms of the EJB, some may be incorrect >> an need to be removed from the test. >> >> Since the test is using OpenEJB as an embedded server, why is the test >> class not considered as a DI target? >> >> My intent is to test the EJB in the same manor as an application would >> use the EJB. This includes the use of DI. Is my implementation >> consistent with my intent? > > As Jacek points out of you'd like to test your EJBs from the perspective > of another application, you'd have to put your test logic in an actual > application (ejb and/or interceptor) and execute it from your test case. > > The EJB 3.0 specification only covers dependency injection for classes > managed by a container: > - servlets, servlet filters, listeners > - a javaee app client ran by an app client container > - ejb session beans or interceptors > > In the EJB 3.1 expert group we plan to introduce some way for > non-managed objects (objects not instantiated or run by a container) to > get dependency injection. No details on how that will be done just yet, > however I can nearly guarantee it'll be in the form of some code you > have to execute on your object after you construct it, i.e. all the > injection won't magically be done on the "new MyClass()" call. > > We definitely discussed the magical "new" in EJB 3.0 in reference to JPA > and decided against using anything like that because the only possible > way to support it is through byte-code manipulation. At the time > byte-code manipulation was only possible via using some vendor tool at > build time or dynamically using a vendor javaagent specified on the > command line, both of which are fairly complicated and diminish the > simplicity we were going for. Things are different with Java 6 so maybe > we'll see some magic news in Java EE some day. > > -David > > > From [email protected] Mon Nov 26 20:07:36 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16277 invoked from network); 26 Nov 2007 20:07:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Nov 2007 20:07:36 -0000 Received: (qmail 67008 invoked by uid 500); 26 Nov 2007 20:07:23 -0000 Delivered-To: [email protected] Received: (qmail 66995 invoked by uid 500); 26 Nov 2007 20:07:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 66986 invoked by uid 99); 26 Nov 2007 20:07:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 12:07:23 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO rn-out-0102.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 20:07:02 +0000 Received: by rn-out-0102.google.com with SMTP id v46so341595rnb for <[email protected]>; Mon, 26 Nov 2007 12:07:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=oo1DQu3t9ymb/f4oXilVnTBH4qQOWeO6EZPlpN+GeLA=; b=ThF1/r09/sE9WyAPnaooLXej8KCQc2+AbaDYQmWqd633E733w5XOvZHmKoxmqhYD/sBPr9TLYYTIMLx5no7U7V6Y55Rdan6gZ4TQ/WH3cwohVJ/llL+KkJV1Ijhkaqp8qi558bBPe5mVIzO88N0aX0a1vTikAZ6Kd7yThm7Qi8Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=DugATlfRlO3aA+Y9no/NegKNZQ4VlLc/tbJ/bJWlDNxPrO45qEBkbyROPKvRw06svmoy5OzTHl69FEJ+492jfpKdIXruVadeeWv737Al6FCWYHV9c3zntryIWGsYgkviYK1PXXCnfe2ZGLVV6xhaa4MnXwGWMnvk1TzbhIKMbjc= Received: by 161.129.204.104 with SMTP id 1mr404684wan.1196107623194; Mon, 26 Nov 2007 12:07:03 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 26 Nov 2007 12:07:03 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 26 Nov 2007 21:07:03 +0100 From: "Jacek Laskowski" <[email protected]> Reply-To: [email protected] Sender: [email protected] To: [email protected] Subject: Re: Problems getting EJB via annotation in test class. In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Google-Sender-Auth: f6d439e6ccee900b X-Virus-Checked: Checked by ClamAV on apache.org On Nov 26, 2007 8:26 PM, Paul Spencer <[email protected]> wrote: > Relative to testing EJBs inside a Maven executed JUnit test, any object > instantiated by a class inside a JUnit test case is not "container > managed" thus the object will not receive the benefit of DI. EJB known > to the embedded EJB container, ejbd in this case, and instantiated > within that container will receive the benefit of DI, but the beans must > be retrieve by the test class via a JNDI lookup. Exactly. Nice we got it straightened out ;-) I wonder if we could introduce a feature to help people run annotated tests. I think the only way to achieve it would be to run the tests with a java agent that would intercept test class loading. Any other ideas? Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl From [email protected] Mon Nov 26 20:54:48 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29614 invoked from network); 26 Nov 2007 20:54:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Nov 2007 20:54:48 -0000 Received: (qmail 72041 invoked by uid 500); 26 Nov 2007 20:54:33 -0000 Delivered-To: [email protected] Received: (qmail 72031 invoked by uid 500); 26 Nov 2007 20:54:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 72004 invoked by uid 99); 26 Nov 2007 20:54:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 12:54:33 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO g2host.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 20:54:13 +0000 Received: from [161.129.204.104] (account [email protected] HELO [161.129.204.104]) by mailfront1.g2host.com (CommuniGate Pro SMTP 5.1.10) with ESMTPSA id 26552369 for [email protected]; Mon, 26 Nov 2007 14:54:07 -0600 Message-Id: <[email protected]> From: David Blevins <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Subject: Re: Problems getting EJB via annotation in test class. Date: Mon, 26 Nov 2007 12:54:12 -0800 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.915) X-Virus-Checked: Checked by ClamAV on apache.org On Nov 26, 2007, at 11:26 AM, Paul Spencer wrote: > David, > To summarize things: > > Relative to testing EJBs inside a Maven executed JUnit test, any > object instantiated by a class inside a JUnit test case is not > "container managed" thus the object will not receive the benefit of > DI. EJB known to the embedded EJB container, ejbd in this case, and > instantiated within that container will receive the benefit of DI, > but the beans must be retrieve by the test class via a JNDI lookup. > > Now I can stop beating my head against the wall :) Right :) What I was just typing up in another email is that we would like to find some way to support what you were trying to do; a standard JUnit TestCase subclass with dependency injection annotations. An option I've suggested in the past would be something simple like this. public class EjbDiTest extends TestCase { @EJB private DataReaderLocal dataReaderLocal; @EJB private DataReaderRemote dataReaderRemote; private InitialContext initialContext; protected void setUp() throws Exception { Properties properties = new Properties(); properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory"); properties.setProperty("openejb.deployments.classpath.include", ".*injection.*"); properties.put("openejb.inject", this); // <------ you give us a reference to your test case initialContext = new InitialContext(properties); } } Then we do the injection on your test case. Internally, it's much trickier as we'd like to support not just @EJB but also @Resource and the rules that make those two annotations work can get pretty complex. The way the code is written now, we'd essentially have to treat the test case as an app client and run it through deployment where all its references to ejbs and datasources, etc. would get resolved. That's one theory anyway. Would something like that work for you or is the knowledge that the test case would be relying on something outside the (current) EJB spec enough to make those lookups look not so bad? -David From [email protected] Mon Nov 26 21:22:20 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37847 invoked from network); 26 Nov 2007 21:22:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Nov 2007 21:22:20 -0000 Received: (qmail 21780 invoked by uid 500); 26 Nov 2007 21:22:07 -0000 Delivered-To: [email protected] Received: (qmail 21769 invoked by uid 500); 26 Nov 2007 21:22:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 21760 invoked by uid 99); 26 Nov 2007 21:22:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 13:22:07 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.mikon.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 21:21:48 +0000 Message-ID: <[email protected]> Date: Mon, 26 Nov 2007 16:21:46 -0500 From: Paul Spencer <[email protected]> MIME-Version: 1.0 To: [email protected] Subject: Re: Problems getting EJB via annotation in test class. References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org David Blevins wrote: > > On Nov 26, 2007, at 11:26 AM, Paul Spencer wrote: > >> David, >> To summarize things: >> >> Relative to testing EJBs inside a Maven executed JUnit test, any >> object instantiated by a class inside a JUnit test case is not >> "container managed" thus the object will not receive the benefit of >> DI. EJB known to the embedded EJB container, ejbd in this case, and >> instantiated within that container will receive the benefit of DI, but >> the beans must be retrieve by the test class via a JNDI lookup. >> >> Now I can stop beating my head against the wall :) > > Right :) > > What I was just typing up in another email is that we would like to find > some way to support what you were trying to do; a standard JUnit > TestCase subclass with dependency injection annotations. > <snip> > > Would something like that work for you or is the knowledge that the test > case would be relying on something outside the (current) EJB spec enough > to make those lookups look not so bad? > Right now just the knowledge of how things work is enough. > -David > > > Paul Spencer From [email protected] Mon Nov 26 21:27:36 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38766 invoked from network); 26 Nov 2007 21:27:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Nov 2007 21:27:36 -0000 Received: (qmail 25556 invoked by uid 500); 26 Nov 2007 21:27:24 -0000 Delivered-To: [email protected] Received: (qmail 25539 invoked by uid 500); 26 Nov 2007 21:27:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 25530 invoked by uid 99); 26 Nov 2007 21:27:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 13:27:23 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wa-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 21:27:02 +0000 Received: by wa-out-1112.google.com with SMTP id m28so1175168wag for <[email protected]>; Mon, 26 Nov 2007 13:27:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=WBTI/Uf/sbAP/RWkoR8Z3u6dtQJdFajoXxwC/kb9Sz0=; b=kOz4u/fhe3WD8HbB2vkMx1STrVQWwRg+czxhEFbYPd3NNG3t2z+uppQbNbV89wNP1xlk/IhvV+6RUMOuqIUVocrYVOmy+EfylfpdRt1TRCMQt0OcgZQ/xbcVzney07LkWudAZDRx39fmY0ZqmDwXWMmMPVYrhD3PvlzeIoBhgzY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=pe4rT6AQofGshqU9acreL+NVqSzm1wJqD+fqIdWQXcg0TlivBi0XTs7Cb66bCO5pSvxVASX0p8K6R3XPxaZ1quM8V7RBkXAvY9I6/Yydc18n8FO6909x9pmHVR6lceW7TdMIpqx2GIQz6sfpLIINpkcUifQh5Ev1DJla+rX2E8g= Received: by 161.129.204.104 with SMTP id m4mr339758wak.1196112424801; Mon, 26 Nov 2007 13:27:04 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 26 Nov 2007 13:27:04 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 26 Nov 2007 22:27:04 +0100 From: "Jacek Laskowski" <[email protected]> Reply-To: [email protected] Sender: [email protected] To: [email protected] Subject: Re: Problems getting EJB via annotation in test class. In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Google-Sender-Auth: 1316afe978012e51 X-Virus-Checked: Checked by ClamAV on apache.org On Nov 26, 2007 10:21 PM, Paul Spencer <[email protected]> wrote: > Right now just the knowledge of how things work is enough. You can track it in http://issues.apache.org/jira/browse/OPENEJB-728 - Standard JUnit TestCase subclass with dependency injection annotations. Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl From [email protected] Mon Nov 26 21:50:44 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45468 invoked from network); 26 Nov 2007 21:50:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Nov 2007 21:50:43 -0000 Received: (qmail 55901 invoked by uid 500); 26 Nov 2007 21:50:31 -0000 Delivered-To: [email protected] Received: (qmail 55712 invoked by uid 500); 26 Nov 2007 21:50:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55700 invoked by uid 99); 26 Nov 2007 21:50:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 13:50:31 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO g2host.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 21:50:31 +0000 Received: from [161.129.204.104] (account [email protected] HELO [161.129.204.104]) by mailfront1.g2host.com (CommuniGate Pro SMTP 5.1.10) with ESMTPSA id 26561561 for [email protected]; Mon, 26 Nov 2007 15:50:03 -0600 Message-Id: <[email protected]> From: David Blevins <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Subject: Re: Problems getting EJB via annotation in test class. Date: Mon, 26 Nov 2007 13:50:09 -0800 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.915) X-Virus-Checked: Checked by ClamAV on apache.org Thanks Jacek! -David On Nov 26, 2007, at 1:27 PM, Jacek Laskowski wrote: > On Nov 26, 2007 10:21 PM, Paul Spencer <[email protected]> > wrote: > >> Right now just the knowledge of how things work is enough. > > You can track it in http://issues.apache.org/jira/browse/OPENEJB-728 - > Standard JUnit TestCase subclass with dependency injection > annotations. > > Jacek > > -- > Jacek Laskowski > http://www.JacekLaskowski.pl > From [email protected] Tue Nov 27 14:50:25 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88538 invoked from network); 27 Nov 2007 14:50:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Nov 2007 14:50:24 -0000 Received: (qmail 45575 invoked by uid 500); 27 Nov 2007 14:50:00 -0000 Delivered-To: [email protected] Received: (qmail 45528 invoked by uid 500); 27 Nov 2007 14:50:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 45501 invoked by uid 99); 27 Nov 2007 14:50:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2007 06:50:00 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO el-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2007 14:49:40 +0000 Received: by el-out-1112.google.com with SMTP id s27so405751ele for <[email protected]>; Tue, 27 Nov 2007 06:49:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=lNzRriWY2WhU+/cGgMSV1FzD/sm0AZwhB1xe9UeMru4=; b=fhK3OcDm9a7FZCA0xlQkO40K9sMtfWEcLZhLVbMBg2y8MNLgkahmolfsj+fO7samWE/LaulZMNygPGIls6Q7vdHYnnz6ANiutniTQTRd6dHbRZVRGLe/nBBPmA+Mv9HWXxaJHQgUuHdGa9L76JM7a4BWLby3Qrfsy1S0PpVqOD0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OCmwbmdjlpWjlW+oW11MEKeKoILLQhy8Ddy4aotK+xwMv+u+QdI9ULDpFRz2H1o/ot8+EH80WOaOznv9zavqJ5ejR+C9KVTtm82P+U/r5BKohQYRWx1AvGRAqEnp5DNvhPkV6+R9B/Rqelh0kr5YfqtkojKi5zmBTv6piGPUEJA= Received: by 161.129.204.104 with SMTP id v18mr931971wfb.1196174978580; Tue, 27 Nov 2007 06:49:38 -0800 (PST) Received: by 161.129.204.104 with HTTP; Tue, 27 Nov 2007 06:49:38 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 27 Nov 2007 09:49:38 -0500 From: "Karan Malhi" <[email protected]> To: ChandraShekhar <[email protected]> Subject: Re: Ejb deployment Cc: [email protected] In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi ChandraShekhar, I did not get the JAR file or the log file. You can also send future questions to [email protected] (I am sending a CC of this reply to that list). Could you send the output of the following command : jar tvf hello.jar Also copy the log output and paste it in the reply to this email. Thanks for trying out OpenEJB On Nov 27, 2007 5:54 AM, ChandraShekhar <[email protected]> wrote: > > > > > Hi Malhi, > > > > > > I am new to Open EJB and tried to execute simple example given in > http://openejb.apache.org/hello-world.html followed the steps described > but it was in vain and during deployment I received an error and was unable > to deploy the jar file. > > > > Application failed to deploy "com/ejbsample/hello.jar". Check server logs > for m > > ore details. > > org.apache.openejb.config.UnknownModuleTypeException: Unable to determine > module > > type for jar: file:/D:/openejb/projects/com/ejbsample/hello.jar: Unknown > module > > type: url=file:/D:/openejb/projects/com/ejbsample/hello.jar > > at > org.apache.openejb.config.DeploymentLoader.load(DeploymentLoader.java > > :70) > > at > org.apache.openejb.assembler.DeployerEjb.deploy(DeployerEjb.java:97) > > at > org.apache.openejb.assembler.DeployerEjb.deploy(DeployerEjb.java:77) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > > java:39). > > > > > > For reference I have attached the log file and project attached with jar > file into it. > > > > You can please help me on this. > > > > Thanks, > > Chandra Shekhar. -- Karan Singh Malhi From [email protected] Tue Nov 27 19:54:19 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19692 invoked from network); 27 Nov 2007 19:54:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Nov 2007 19:54:19 -0000 Received: (qmail 42729 invoked by uid 500); 27 Nov 2007 19:54:07 -0000 Delivered-To: [email protected] Received: (qmail 42707 invoked by uid 500); 27 Nov 2007 19:54:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 42698 invoked by uid 99); 27 Nov 2007 19:54:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2007 11:54:07 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nf-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2007 19:53:47 +0000 Received: by nf-out-0910.google.com with SMTP id c7so1101243nfi for <[email protected]>; Tue, 27 Nov 2007 11:53:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; bh=cA+pb5E9yR+OQEVqDdWfW20JL8ukBO8xjq1S59kT798=; b=GiSYMxHHhaVZH6EG9JhMQ8ZjJvS7EiyYexS7muc6bt7QB43xq6ZxEQiLzHILRZ1ZpJR0REk0LTq4BPq56Izf4alYHuy8Ui3gBlHj8ANeH6t0p9z63YzvGUJmERVkjXWHTw6PJz9ak6fdj72T/OE6oCPBnWQX0XekFw7ykEZt/CY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:from:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=yE5nhJM9wVqVHP37aJhp/DfsmYJqpeUkenn+kWLPcn2kvjxXnac3up9WLbs6zNeLXhHsJQBiHk12UGnapNF4ggu0MTf2FxlKgeGrkwTaMVD/bK5z4LZvUqBNpREbDB2VBeMFXJehsqXfsGQrhm1G9Pb97w1FCv7uJEl8OWOdrQc= Received: by 161.129.204.104 with SMTP id f2mr955379hud.1196193226446; Tue, 27 Nov 2007 11:53:46 -0800 (PST) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTPS id h1sm3474811nfh.2161.129.204.104.53.37 (version=SSLv3 cipher=OTHER); Tue, 27 Nov 2007 11:53:45 -0800 (PST) From: Gerard Pretorius <[email protected]> To: [email protected] Subject: General EJB3: Problem persisting subclass X when adding a reference to another entity mapped to X's superclass. Date: Tue, 27 Nov 2007 21:56:44 +0200 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi I've been using OpenEjb 3 for approximately 2 months now, and its great. The last time I worked with EJBs, it was EJB1 in 2001. EJB3 is great, but I'm still learning how to use it. I'm having the following problem, with Inheritance. I have an abstract class, named Project which has a OneToMany relationship with another class, FinancialPeriod. I am extending Project, and want to use a concrete subclass named PRProject. The basic class structure follows below: @Entity @Table(name = "PROJECT") @Inheritance(strategy = InheritanceType.JOINED) @DiscriminatorColumn(name = "PROJ_TYPE") @DiscriminatorValue("Project") @NamedQuery(name = "Project.findAll", query = "select p from Project p") //public abstract class Project implements Serializable { public class Project implements Serializable { @OneToMany(mappedBy = "project", cascade = CascadeType.ALL) protected List<FinancialPeriod> financialPeriods; } One subclass looks like this: @Entity(name="PRProject") @DiscriminatorValue("PRProject") @PrimaryKeyJoinColumns({ @PrimaryKeyJoinColumn(name="ID", referencedColumnName="ID") }) @NamedQuery(name = "PRProject.findAll", query = "select p from PRProject p") public class PRProject extends Project{ // nothing noteworthy to display here (or should there be?) } The FinancialPeriod class looks as follows: @Entity @NamedQueries( { @NamedQuery(name = "FinancialPeriod.findAll", query = "select o from FinancialPeriod o"), @NamedQuery(name = "FinancialPeriod.findById", query = "select o from FinancialPeriod o where o.id = :id") }) @Table(name = "FINANCIALPERIOD") public class FinancialPeriod implements Serializable { @ManyToOne(cascade = CascadeType.MERGE) @JoinColumn(name = "PROJECT_ID", referencedColumnName = "ID") protected Project project; } What I am trying to do is this: PRProject prProject = new PRProject("PR Project"); prProject.setCluster(capeCluster); prProject.setDescription("blah blah blah"); FinancialPeriod finp= new FinancialPeriod("2005-2007"); prProject.addFinancialPeriod(finp); projectBean.persistEntity(prProject); This gives a java.lang.NoClassDefFoundError if I use the subclass, but saves perfectly if I use a concrete instance of the superclass. The subclass is persisted if I don't add a reference to the FinancialPeriod. Can anyone point me in the right direction? I haven't been able to find anything using Google. Thanks, Gerard From [email protected] Tue Nov 27 20:49:21 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40788 invoked from network); 27 Nov 2007 20:49:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Nov 2007 20:49:21 -0000 Received: (qmail 25373 invoked by uid 500); 27 Nov 2007 20:49:08 -0000 Delivered-To: [email protected] Received: (qmail 25361 invoked by uid 500); 27 Nov 2007 20:49:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 25352 invoked by uid 99); 27 Nov 2007 20:49:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2007 12:49:08 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO rv-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2007 20:48:47 +0000 Received: by rv-out-0910.google.com with SMTP id c27so1069774rvf for <[email protected]>; Tue, 27 Nov 2007 12:48:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=HXfhMvJZhhJlhK6CbWwIZJnPqBVbEFPlFYCXdWgXtY4=; b=kXQZI2QyEtrOTBfzXqoojnenej6fUsEAMrzEd7Bz2rCdE6/RnLwk7rcUCt3TSzroh1h62kB2aS7Mvp84UlxwkMyLWb45F1WUGEaKUhs517Ov086hq0FsKW/lIkidoaq7ODw7o9/anz1H9SH1Dr6l5VpsPw5HTsA67S+gGe8bo5c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=rXL7S2kvTa5JzPpXI28jqJfxYopYIA61b0hbbFFV3XgMIvue9hWcuSYBYvhym1XvwH0Z6JdJP5yn5MSxplTFvNRW0pM4qaBMZ78PrO36dVGJBtrkcer3RMm76NpKRS/DYdqSQniCjmriqagP9NEoXO3MWtfiWOphNbAheaxVzwk= Received: by 161.129.204.104 with SMTP id z8mr2170841rvp.1196196528956; Tue, 27 Nov 2007 12:48:48 -0800 (PST) Received: by 161.129.204.104 with HTTP; Tue, 27 Nov 2007 12:48:48 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 27 Nov 2007 21:48:48 +0100 From: "Jacek Laskowski" <[email protected]> Reply-To: [email protected] Sender: [email protected] To: [email protected] Subject: Re: General EJB3: Problem persisting subclass X when adding a reference to another entity mapped to X's superclass. In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> X-Google-Sender-Auth: 849f1e9703836bdf X-Virus-Checked: Checked by ClamAV on apache.org On Nov 27, 2007 8:56 PM, Gerard Pretorius <[email protected]> wrote: > This gives a java.lang.NoClassDefFoundError if I use the subclass, but saves > perfectly if I use a concrete instance of the superclass. The subclass is > persisted if I don't add a reference to the FinancialPeriod. Nothing sprung to my mind so before I decide to reproduce it for myself, could you send the entire stack trace of the exception. Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl From [email protected] Tue Nov 27 21:16:04 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57323 invoked from network); 27 Nov 2007 21:16:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Nov 2007 21:16:03 -0000 Received: (qmail 58428 invoked by uid 500); 27 Nov 2007 21:15:51 -0000 Delivered-To: [email protected] Received: (qmail 58415 invoked by uid 500); 27 Nov 2007 21:15:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58406 invoked by uid 99); 27 Nov 2007 21:15:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2007 13:15:51 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2007 21:15:30 +0000 Received: by ug-out-1314.google.com with SMTP id 32so1592419ugm for <[email protected]>; Tue, 27 Nov 2007 13:15:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; bh=cFbJvcjUhEq5NLSlx8MfsHbB+/uMUb4cd8o77XROigw=; b=AHiPmYTdHI8EBnw4tHWI+HITF5Tfw6Mazc5faVtn3nSsGt+6jCymCtZChKrbcIhW7CczzWbC/T8so6jlUFgXGlog4piA1FTxPhpQbrtCvNvf2p1aD1pKjL29d04JODpCo7hkPdzqpuIcKo4N8TJPECSYBkVEOunV1J88hfZkBF8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=Ygm69vJhKdr4dw6vcYzCnRsCFLwc4NYvCz1rBitroLNPsf7XGphwaZt4OqRRPC7F8hZLiY5fazfmQ44cC0x3aEjjmftvwWUIGGEO0Yr/pnmkZLGfImD4ysREPbk7ZTg+5Hol+7KZTK3fwQRH5StRDsvEqcWgBlP4vizZ/0IqXlI= Received: by 161.129.204.104 with SMTP id u16mr4919263huc.1196198130200; Tue, 27 Nov 2007 13:15:30 -0800 (PST) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTPS id h7sm648543nfh.2161.129.204.104.15.22 (version=SSLv3 cipher=OTHER); Tue, 27 Nov 2007 13:15:28 -0800 (PST) From: Gerard Pretorius <[email protected]> To: [email protected] Subject: Re: General EJB3: Problem persisting subclass X when adding a reference to another entity mapped to X's superclass. Date: Tue, 27 Nov 2007 23:18:27 +0200 User-Agent: KMail/1.9.7 References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org On Tuesday 27 November 2007 22:48:48 Jacek Laskowski wrote: > On Nov 27, 2007 8:56 PM, Gerard Pretorius <[email protected]> wrote: > > This gives a java.lang.NoClassDefFoundError if I use the subclass, but > > saves perfectly if I use a concrete instance of the superclass. The > > subclass is persisted if I don't add a reference to the FinancialPeriod. > > Nothing sprung to my mind so before I decide to reproduce it for > myself, could you send the entire stack trace of the exception. > > Jacek Hi Jacek I committed my source to svn, did a fresh checkout, manually cleaned my tomcat webapps/ folder and I'm no longer having the problem. Even though I was doing an 'mvn clean install', something must have been causing the problem, because I'm using exactly the same code. It works perfectly now. False alarm. Thanks, Gerard From [email protected] Tue Nov 27 21:38:53 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66570 invoked from network); 27 Nov 2007 21:38:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Nov 2007 21:38:53 -0000 Received: (qmail 88103 invoked by uid 500); 27 Nov 2007 21:38:40 -0000 Delivered-To: [email protected] Received: (qmail 88089 invoked by uid 500); 27 Nov 2007 21:38:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.openejb.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 88080 invoked by uid 99); 27 Nov 2007 21:38:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2007 13:38:40 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wr-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2007 21:38:18 +0000 Received: by wr-out-0506.google.com with SMTP id 60so1067642wri for <[email protected]>; Tue, 27 Nov 2007 13:38:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=2e088voH8vO+Ogomb4TDqqkTr1u3GzGlxtoex2Dqen4=; b=N8hX22D6yybuIjfOUhuRDQPQxEMqEwa0aomHyNspDcXviElL7hfAm3neQuaGvwJ2sJ3rd9O1E5DSC4xcs5VKTHN89HRTQ4LSZiElpynOw71PVMuxRm/mKeSvmwH1JV4j/ydGyIsgdbPss0jXrvywaWxxTvxIn4ByrubbdFXXoOE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=PBCJMp2fGPY53VyK/dIJDdec9VFIly0Tm/p96JnXT9bDj0UaYHvDGZT45o62yG0vTH0VRezvvF3CLMXiCkldRL4Zdmnh+Ni+/SQykAifh5GCiFv1TdZNbtUxE0mZyyPWWk2jlPg64y3UNtgTLYzP0/4yQfvaQ/t0ELn1fpnMbtc= Received: by 161.129.204.104 with SMTP id e2mr2197813rvg.1196199499523; Tue, 27 Nov 2007 13:38:19 -0800 (PST) Received: by 161.129.204.104 with HTTP; Tue, 27 Nov 2007 13:38:19 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 27 Nov 2007 22:38:19 +0100 From: "Jacek Laskowski" <[email protected]> Reply-To: [email protected] Sender: [email protected] To: [email protected] Subject: Re: General EJB3: Problem persisting subclass X when adding a reference to another entity mapped to X's superclass. In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> X-Google-Sender-Auth: 799123b2ffba961d X-Virus-Checked: Checked by ClamAV on apache.org On Nov 27, 2007 10:18 PM, Gerard Pretorius <[email protected]> wrote: > It works perfectly now. False alarm. Great. I like such errors the most ;-) Keep asking whenever you find an issue even if you think it could eventually be a false alarm. It lets us know there're real end users out there... Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl
From [email protected] Thu Sep 02 02:23:03 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22281 invoked from network); 2 Sep 2010 02:23:03 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Sep 2010 02:23:03 -0000 Received: (qmail 75619 invoked by uid 500); 2 Sep 2010 02:23:03 -0000 Delivered-To: [email protected] Received: (qmail 75586 invoked by uid 500); 2 Sep 2010 02:23:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <vcl-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 75577 invoked by uid 99); 2 Sep 2010 02:23:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 02:23:02 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO exchange.csun.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 02:22:56 +0000 Received: from CSUN-EX-V01.csun.edu ([161.129.204.104]) by bittern.csun.edu ([161.129.204.104]) with mapi; Wed, 1 Sep 2010 19:22:35 -0700 From: "Duhon, Gregory D" <[email protected]> To: "'[email protected]'" <[email protected]> Date: Wed, 1 Sep 2010 19:20:11 -0700 Subject: UTILS.PM Thread-Topic: UTILS.PM Thread-Index: ActKRbRJaSNKB7BrSbGmB+ojJpJOeA== Message-ID: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_6708F96BBF31F846BFA56EC0AE37D6228ABA31889BCSUNEXV01csun_" MIME-Version: 1.0 --_000_6708F96BBF31F846BFA56EC0AE37D6228ABA31889BCSUNEXV01csun_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Does the utils.pm perl module contain the scp command that copies the snaps= hot image from the management node to the vclesx host which will run the im= age? If the management node and vclesx host are using the same nfs storage, can = we take out the scp command without killing the system? Thanks, Gregory Duhon Infrastructure Architect Information Technology California State University, Northridge 3068356921 [email protected] --_000_6708F96BBF31F846BFA56EC0AE37D6228ABA31889BCSUNEXV01csun_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Times New Roman","serif"; color:windowtext;} .MsoChpDefault {mso-style-type:export-only;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DWordSection1> <p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New= Roman","serif"'>Does the utils.pm perl module contain the scp command that copies the snapshot i= mage from the management node to the vclesx host which will run the image?<o:p><= /o:p></span></p> <p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New= Roman","serif"'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New= Roman","serif"'>If the management node and vclesx host are using the same nfs storage, can we = take out the scp command without killing the system?<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New= Roman","serif"'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New= Roman","serif"'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New= Roman","serif"'>Thanks,<o:p></o:p></span></p> <p class=3DMsoNormal>Gregory Duhon<o:p></o:p></p> <p class=3DMsoNormal>Infrastructure Architect<o:p></o:p></p> <p class=3DMsoNormal>Information Technology<o:p></o:p></p> <p class=3DMsoNormal>California State University, Northridge<o:p></o:p></p> <p class=3DMsoNormal>3068356921<o:p></o:p></p> <p class=3DMsoNormal>[email protected]<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> </div> </body> </html> --_000_6708F96BBF31F846BFA56EC0AE37D6228ABA31889BCSUNEXV01csun_-- From [email protected] Thu Sep 02 13:20:59 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99573 invoked from network); 2 Sep 2010 13:20:58 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Sep 2010 13:20:58 -0000 Received: (qmail 72712 invoked by uid 500); 2 Sep 2010 13:20:58 -0000 Delivered-To: [email protected] Received: (qmail 72620 invoked by uid 500); 2 Sep 2010 13:20:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <vcl-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 72607 invoked by uid 99); 2 Sep 2010 13:20:55 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 13:20:55 +0000 X-ASF-Spam-Status: No, hits=-1.6 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO na3sys009aog107.obsmtp.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 02 Sep 2010 13:20:32 +0000 Received: from source ([161.129.204.104]) (using TLSv1) by na3sys009aob107.postini.com ([161.129.204.104]) with SMTP ID [email protected]; Thu, 02 Sep 2010 06:20:11 PDT Received: from web06mail.unity.ncsu.edu (web06mail.unity.ncsu.edu [161.129.204.104]) by uni01mo.unity.ncsu.edu (8.14.4/8.14.4/Nv6.2010.0805) with ESMTP id o82DK9cI025485 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <[email protected]>; Thu, 2 Sep 2010 09:20:09 -0400 (EDT) Received: from web06mail.unity.ncsu.edu (localhost.localdomain [161.129.204.104]) by web06mail.unity.ncsu.edu (8.13.8/8.13.8) with ESMTP id o82DK9Eq010395 for <[email protected]>; Thu, 2 Sep 2010 09:20:09 -0400 Received: (from nobody@localhost) by web06mail.unity.ncsu.edu (8.13.8/8.13.8/Submit) id o82DK9oe010394; Thu, 2 Sep 2010 09:20:09 -0400 X-Authentication-Warning: web06mail.unity.ncsu.edu: nobody set sender to [email protected] using -f Received: from 161.129.204.104 (SquirrelMail authenticated user fapeeler) by webmail.ncsu.edu with HTTP; Thu, 2 Sep 2010 09:20:09 -0400 (EDT) Message-ID: <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> Date: Thu, 2 Sep 2010 09:20:09 -0400 (EDT) Subject: Re: UTILS.PM From: [email protected] To: [email protected] User-Agent: SquirrelMail/1.4.10a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org If the vmprofile is set to use networkdisk instead of localdisk, then scp is not being used when using the vmware.pm module. We've found that writes to a datastore either nfs mounted or otherwise is extremely slow when going through the esx server. Andy has made many improves for the vcl2.2 release on the use of vmware(esx,esxi,free server 2.x). Aaron > Does the utils.pm perl module contain the scp command that copies the > snapshot image from the management node to the vclesx host which will run > the image? > > If the management node and vclesx host are using the same nfs storage, can > we take out the scp command without killing the system? > > > Thanks, > Gregory Duhon > Infrastructure Architect > Information Technology > California State University, Northridge > 3068356921 > [email protected] > > From [email protected] Fri Sep 10 00:42:30 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56114 invoked from network); 10 Sep 2010 00:42:30 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 10 Sep 2010 00:42:30 -0000 Received: (qmail 98576 invoked by uid 500); 10 Sep 2010 00:42:30 -0000 Delivered-To: [email protected] Received: (qmail 98551 invoked by uid 500); 10 Sep 2010 00:42:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <vcl-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 98536 invoked by uid 99); 10 Sep 2010 00:42:29 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Sep 2010 00:42:29 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iw0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Sep 2010 00:42:06 +0000 Received: by iwn2 with SMTP id 2so1647956iwn.6 for <[email protected]>; Thu, 09 Sep 2010 17:41:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=9ldW8nbxcCk/adNItHbPv/fPzrequ+guV0n564htl+w=; b=HURaiYV8/m8EE4jLBjMIChNZa6EJ94ZjWZ7I474K77AuZme8Q/C4yO/dxMMkppRh/U FydXXjIay38qnF/6YkScEMn+/N/HOEN+66hXCjeNHEhFtLAK4kPSdzc8DlOogRPV0M2l wuRixYUuhy7dctX3KgUSrrA2ygR3jetpONcgs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; b=aqkFP+JRMAih5RMyG+EO41JFSVAsBg4c511Ry5f2adra5DZh3q3hl8Yg2VgyTW1kcj 63dq8rZf3t+rzMTNoCe3cXTgVWiJ3EkY5lrBNqR4Fe4KUOhTBFVvg1Kkqz7wRUZVwEVY RMo02B83xcdMlHFFHWvvtRhyRIg705E0CECbc= Received: by 161.129.204.104 with SMTP id k19mr2187279ibh.178.1284079301261; Thu, 09 Sep 2010 17:41:41 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Thu, 9 Sep 2010 17:41:21 -0700 (PDT) From: Ben Smith <[email protected]> Date: Thu, 9 Sep 2010 20:41:21 -0400 Message-ID: <[email protected]> Subject: Failing image loads. Log attached. To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hello, whenever I try to load an image onto a VM using the "Manage Computers" tab in the VCL web administration interface, vcld.log has the following, and the image fails to load. I think it could have something to do with the state of the VM; it may be in RO disk mode... If so, I would like to know how I can reboot it (I can't seem to raise it on SSH, even with root pw) so that I can undo the RO disk issue. ****** vcld.log ******* |6983|170:149|reload| (-6) vcld, make_new_child (line: 600) |6983|170:149|reload| ---- WARNING ---- |6983|170:149|reload| 2010-09-09 20:04:26|6983|170:149|reload|utils.pm:run_ssh_command(6792)|failed to run SSH command after 4 attempts, command: /usr/bin/ssh -i /etc/vcl/bladelinuxkey_id_rsa =A0-l root -p 24 -x vm5 'uname -s 2>&1' 2>&1, exit status: 255, output: |6983|170:149|reload| ssh output (uname -s): ssh: connect to host vm5 port 24: Connection refused |6983|170:149|reload| ( 0) utils.pm, notify (line: 691) |6983|170:149|reload| (-1) utils.pm, run_ssh_command (line: 6792) |6983|170:149|reload| (-2) utils.pm, _sshd_status (line: 2837) |6983|170:149|reload| (-3) esx.pm, node_status (line: 698) |6983|170:149|reload| (-4) new.pm, reload_image (line: 517) |6983|170:149|reload| (-5) new.pm, process (line: 266) |6983|170:149|reload| (-6) vcld, make_new_child (line: 600) 2010-09-09 20:04:26|6983|170:149|reload|esx.pm:node_status(704)|SSH good, trying to query image name 2010-09-09 20:04:26|6983|170:149|reload|utils.pm:run_ssh_command(6695)|exec= uting SSH command on vm5: |6983|170:149|reload| cat currentimage.txt |6983|170:149|reload| ---- WARNING ---- |6983|170:149|reload| 2010-09-09 20:04:26|6983|170:149|reload|utils.pm:run_ssh_command(6766)|attempt 1/3: failed to execute SSH command on vm5: cat currentimage.txt, exit status: 255, SSH exits with the exit status of the remote command or with 255 if an error occurred, output: |6983|170:149|reload| ssh output (cat curren...): ssh_exchange_identification: Connection closed by remote host |6983|170:149|reload| ( 0) utils.pm, notify (line: 691) |6983|170:149|reload| (-1) utils.pm, run_ssh_command (line: 6766) |6983|170:149|reload| (-2) esx.pm, node_status (line: 708) |6983|170:149|reload| (-3) new.pm, reload_image (line: 517) |6983|170:149|reload| (-4) new.pm, process (line: 266) |6983|170:149|reload| (-5) vcld, make_new_child (line: 600) |6983|170:149|reload| (-6) vcld, main (line: 347) 2010-09-09 20:04:26|6983|170:149|reload|utils.pm:run_ssh_command(6699)|atte= mpt 2/3: executing SSH command on vm5: |6983|170:149|reload| /usr/bin/ssh -i /etc/vcl/bladelinuxkey_id_rsa -l root -p 22 -x vm5 'cat currentimage.txt' 2>&1 |6983|170:149|reload| ---- WARNING ---- |6983|170:149|reload| 2010-09-09 20:04:26|6983|170:149|reload|utils.pm:run_ssh_command(6766)|attempt 2/3: failed to execute SSH command on vm5: cat currentimage.txt, exit status: 255, SSH exits with the exit status of the remote command or with 255 if an error occurred, output: |6983|170:149|reload| ssh output (cat curren...): ssh_exchange_identification: Connection closed by remote host |6983|170:149|reload| ( 0) utils.pm, notify (line: 691) |6983|170:149|reload| (-1) utils.pm, run_ssh_command (line: 6766) |6983|170:149|reload| (-2) esx.pm, node_status (line: 708) |6983|170:149|reload| (-3) new.pm, reload_image (line: 517) |6983|170:149|reload| (-4) new.pm, process (line: 266) |6983|170:149|reload| (-5) vcld, make_new_child (line: 600) |6983|170:149|reload| (-6) vcld, main (line: 347) 2010-09-09 20:04:26|6983|170:149|reload|utils.pm:run_ssh_command(6699)|atte= mpt 3/3: executing SSH command on vm5: |6983|170:149|reload| /usr/bin/ssh -i /etc/vcl/bladelinuxkey_id_rsa -l root -p 22 -x vm5 'cat currentimage.txt' 2>&1 2010-09-09 20:04:26|6983|170:149|reload|utils.pm:run_ssh_command(6762)|maki= ng 1 more attempt using port 24 |6983|170:149|reload| ---- WARNING ---- |6983|170:149|reload| 2010-09-09 20:04:26|6983|170:149|reload|utils.pm:run_ssh_command(6766)|attempt 3/4: failed to execute SSH command on vm5: cat currentimage.txt, exit status: 255, SSH exits with the exit status of the remote command or with 255 if an error occurred, output: |6983|170:149|reload| ssh output (cat curren...): ssh_exchange_identification: Connection closed by remote host |6983|170:149|reload| ( 0) utils.pm, notify (line: 691) |6983|170:149|reload| (-1) utils.pm, run_ssh_command (line: 6766) |6983|170:149|reload| (-2) esx.pm, node_status (line: 708) |6983|170:149|reload| (-3) new.pm, reload_image (line: 517) |6983|170:149|reload| (-4) new.pm, process (line: 266) |6983|170:149|reload| (-5) vcld, make_new_child (line: 600) |6983|170:149|reload| (-6) vcld, main (line: 347) 2010-09-09 20:04:26|6983|170:149|reload|utils.pm:run_ssh_command(6699)|atte= mpt 4/4: executing SSH command on vm5: |6983|170:149|reload| /usr/bin/ssh -i /etc/vcl/bladelinuxkey_id_rsa -l root -p 24 -x vm5 'cat currentimage.txt 2>&1' 2>&1 |6983|170:149|reload| ---- WARNING ---- |6983|170:149|reload| 2010-09-09 20:04:26|6983|170:149|reload|utils.pm:run_ssh_command(6766)|attempt 4/4: failed to execute SSH command on vm5: cat currentimage.txt, exit status: 255, SSH exits with the exit status of the remote command or with 255 if an error occurred, output: |6983|170:149|reload| ssh output (cat curren...): ssh: connect to host vm5 port 24: Connection refused |6983|170:149|reload| ( 0) utils.pm, notify (line: 691) |6983|170:149|reload| (-1) utils.pm, run_ssh_command (line: 6766) |6983|170:149|reload| (-2) esx.pm, node_status (line: 708) |6983|170:149|reload| (-3) new.pm, reload_image (line: 517) |6983|170:149|reload| (-4) new.pm, process (line: 266) |6983|170:149|reload| (-5) vcld, make_new_child (line: 600) |6983|170:149|reload| (-6) vcld, main (line: 347) |6983|170:149|reload| ---- WARNING ---- |6983|170:149|reload| 2010-09-09 20:04:26|6983|170:149|reload|utils.pm:run_ssh_command(6792)|failed to run SSH command after 4 attempts, command: /usr/bin/ssh -i /etc/vcl/bladelinuxkey_id_rsa =A0-l root -p 24 -x vm5 'cat currentimage.txt 2>&1' 2>&1, exit status: 255, output: |6983|170:149|reload| ssh output (cat curren...): ssh: connect to host vm5 port 24: Connection refused |6983|170:149|reload| ( 0) utils.pm, notify (line: 691) |6983|170:149|reload| (-1) utils.pm, run_ssh_command (line: 6792) |6983|170:149|reload| (-2) esx.pm, node_status (line: 708) |6983|170:149|reload| (-3) new.pm, reload_image (line: 517) |6983|170:149|reload| (-4) new.pm, process (line: 266) |6983|170:149|reload| (-5) vcld, make_new_child (line: 600) |6983|170:149|reload| (-6) vcld, main (line: 347) Use of uninitialized value $status{"currentimage"} in concatenation (.) or =A0 =A0 =A0 =A0string at /opt/vcl/bin/../lib/VCL/Module/Provisioning/esx.pm line 711 (#1) =A0 =A0(W uninitialized) An undefined value was used as if it were already =A0 =A0defined. =A0It was interpreted as a "" or a 0, but maybe it was a mi= stake. =A0 =A0To suppress this warning assign a defined value to your variables. =A0 =A0To help you figure out what was undefined, perl will try to tell you= the =A0 =A0name of the variable (if any) that was undefined. In some cases it c= annot =A0 =A0do this, so it also tells you what operation you used the undefined = value =A0 =A0in. =A0Note, however, that perl optimizes your program and the opera= tion =A0 =A0displayed in the warning may not necessarily appear literally in you= r =A0 =A0program. =A0For example, "that $foo" is usually optimized into "that= " =A0 =A0. $foo, and the warning will refer to the concatenation (.) operator= , =A0 =A0even though there is no . in your program. |6983|170:149|reload| ---- WARNING ---- |6983|170:149|reload| 2010-09-09 20:04:26|6983|170:149|reload|vcld:warning_handler(642)|Use of uninitialized value $status{"currentimage"} in concatenation (.) or string at /opt/vcl/bin/../lib/VCL/Module/Provisioning/esx.pm line 711. |6983|170:149|reload| ( 0) utils.pm, notify (line: 691) |6983|170:149|reload| (-1) vcld, warning_handler (line: 642) |6983|170:149|reload| (-2) esx.pm, node_status (line: 711) |6983|170:149|reload| (-3) new.pm, reload_image (line: 517) |6983|170:149|reload| (-4) new.pm, process (line: 266) |6983|170:149|reload| (-5) vcld, make_new_child (line: 600) |6983|170:149|reload| (-6) vcld, main (line: 347) 2010-09-09 20:04:26|6983|170:149|reload|esx.pm:node_status(711)|Image name: 2010-09-09 20:04:26|6983|170:149|reload|esx.pm:node_status(733)|status set to RELOAD 2010-09-09 20:04:26|6983|170:149|reload|esx.pm:node_status(741)|returning node status hash reference ($node_status->{status}=3DRELOAD) 2010-09-09 20:04:26|6983|170:149|reload|new.pm:reload_image(528)|node_statu= s returned a hash reference 2010-09-09 20:04:26|6983|170:149|reload|new.pm:reload_image(533)|node_statu= s hash reference contains key {status}=3DRELOAD 2010-09-09 20:04:26|6983|170:149|reload|new.pm:reload_image(601)|node status is RELOAD, vm5 will be reloaded 2010-09-09 20:04:26|6983|170:149|reload|utils.pm:insertloadlog(5324)|insert= ed computer=3D31, loadimageblade, vm5 must be reloaded with fc9image-EHRSystemSuite214-v9 2010-09-09 20:04:26|6983|170:149|reload|new.pm:reload_image(615)|calling VCLacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bModulacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bProvisioningacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bsx->does_image_exist() 2010-09-09 20:04:26|6983|170:149|reload|utils.pm:run_ssh_command(6695)|exec= uting SSH command on 161.129.204.104: |6983|170:149|reload| ls -1 /nfsroot/golden 2>&1 2010-09-09 20:04:26|7011|169:148|reload|utils.pm:run_ssh_command(6776)|run_= ssh_command output: |7011|169:148|reload| esx3-fc11-64b-v0 |7011|169:148|reload| esx3-fc12-64b-v0 |7011|169:148|reload| esx-lamp-3-x86_64-v0 |7011|169:148|reload| fc9image-EHRSystemSuite13-v0 |7011|169:148|reload| fc9image-EHRSystemSuite214-v0 |7011|169:148|reload| fc9image-EHRSystemSuite214-v1 |7011|169:148|reload| fc9image-EHRSystemSuite214-v2 |7011|169:148|reload| fc9image-EHRSystemSuite214-v3 |7011|169:148|reload| fc9image-EHRSystemSuite214-v4 |7011|169:148|reload| fc9image-EHRSystemSuite214-v5 |7011|169:148|reload| fc9image-EHRSystemSuite214-v6 |7011|169:148|reload| fc9image-EHRSystemSuite214-v7 |7011|169:148|reload| fc9image-EHRSystemSuite214-v8 |7011|169:148|reload| fc9image-EHRSystemSuite214-v9 |7011|169:148|reload| fc9image-OpenMRS15-v0 2010-09-09 20:04:26|7011|169:148|reload|utils.pm:run_ssh_command(6784)|SSH command executed on 161.129.204.104, returning (0, "esx3-fc11-64b-v0 esx3-fc12-64b...") 2010-09-09 20:04:26|7011|169:148|reload|esx.pm:does_image_exist(775)|image fc9image-EHRSystemSuite214-v9 exists 2010-09-09 20:04:26|7011|169:148|reload|new.pm:reload_image(618)|fc9image-E= HRSystemSuite214-v9 exists on this management node 2010-09-09 20:04:26|7011|169:148|reload|utils.pm:insertloadlog(5324)|insert= ed computer=3D28, doesimageexists, confirmed image exists 2010-09-09 20:04:26|7011|169:148|reload|utils.pm:update_computer_state(2325= )|computer 28 state updated to: reloading 2010-09-09 20:04:26|7011|169:148|reload|new.pm:reload_image(651)|computer vm2 state set to reloading 2010-09-09 20:04:26|7011|169:148|reload|utils.pm:insertloadlog(5324)|insert= ed computer=3D28, info, computer state updated to reloading 2010-09-09 20:04:26|7011|169:148|reload|new.pm:reload_image(662)|calling VCLacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bModulacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bProvisioningacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bsx->load() subroutine 2010-09-09 20:04:26|7011|169:148|reload|utils.pm:insertloadlog(5324)|insert= ed computer=3D28, info, calling VCLacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bModulacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bProvisioningacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bsx->load() subroutine 2010-09-09 20:04:26|7011|169:148|reload|esx.pm:load(142)|******************= ********************************** |7011|169:148|reload| ---- WARNING ---- |7011|169:148|reload| 2010-09-09 20:04:26|7011|169:148|reload|DataStructure.pm:_automethod(610)|correspondin= g data has not been initialized for get_computer_eth0_mac_address: $self->request_data->{reservation}{148}{computer}{eth0macaddress} |7011|169:148|reload| ( 0) utils.pm, notify (line: 691) |7011|169:148|reload| (-1) DataStructure.pm, _automethod (line: 610) |7011|169:148|reload| (-2) Autoload.pm, __ANON__ (line: 80) |7011|169:148|reload| (-3) esx.pm, load (line: 158) |7011|169:148|reload| (-4) new.pm, reload_image (line: 664) |7011|169:148|reload| (-5) new.pm, process (line: 266) |7011|169:148|reload| (-6) vcld, make_new_child (line: 600) |7011|169:148|reload| ---- WARNING ---- |7011|169:148|reload| 2010-09-09 20:04:26|7011|169:148|reload|DataStructure.pm:_automethod(610)|correspondin= g data has not been initialized for get_computer_eth1_mac_address: $self->request_data->{reservation}{148}{computer}{eth1macaddress} |7011|169:148|reload| ( 0) utils.pm, notify (line: 691) |7011|169:148|reload| (-1) DataStructure.pm, _automethod (line: 610) |7011|169:148|reload| (-2) Autoload.pm, __ANON__ (line: 80) |7011|169:148|reload| (-3) esx.pm, load (line: 159) |7011|169:148|reload| (-4) new.pm, reload_image (line: 664) |7011|169:148|reload| (-5) new.pm, process (line: 266) |7011|169:148|reload| (-6) vcld, make_new_child (line: 600) 2010-09-09 20:24:02|6983|170:149|reload|utils.pm:mail(1301)|SUCCESS -- Sending mail To: , PROBLEM -- esx.pm |6983|170:149|reload| ---- CRITICAL ---- |6983|170:149|reload| 2010-09-09 20:24:01|6983|170:149|reload|esx.pm:load(394)|waited acceptable amount of time for dhcp, please check vm5 on blade6-1.oscar.ncsu.edu |6983|170:149|reload| ( 0) utils.pm, notify (line: 691) |6983|170:149|reload| (-1) esx.pm, load (line: 394) |6983|170:149|reload| (-2) new.pm, reload_image (line: 664) |6983|170:149|reload| (-3) new.pm, process (line: 266) |6983|170:149|reload| (-4) vcld, make_new_child (line: 600) |6983|170:149|reload| (-5) vcld, main (line: 347) |6983|170:149|reload| ---- WARNING ---- |6983|170:149|reload| 2010-09-09 20:24:02|6983|170:149|reload|new.pm:reload_image(669)|fc9image-EHRSystemSui= te214-v9 failed to load on vm5, returning |6983|170:149|reload| ( 0) utils.pm, notify (line: 691) |6983|170:149|reload| (-1) new.pm, reload_image (line: 669) |6983|170:149|reload| (-2) new.pm, process (line: 266) |6983|170:149|reload| (-3) vcld, make_new_child (line: 600) |6983|170:149|reload| (-4) vcld, main (line: 347) 2010-09-09 20:24:02|6983|170:149|reload|utils.pm:insertloadlog(5324)|insert= ed computer=3D31, loadimagefailed, fc9image-EHRSystemSuite214-v9 failed to load on vm5 |6983|170:149|reload| ---- WARNING ---- |6983|170:149|reload| 2010-09-09 20:24:02|6983|170:149|reload|new.pm:process(313)|failed to load vm5 with fc9image-EHRSystemSuite214-v9 |6983|170:149|reload| ( 0) utils.pm, notify (line: 691) |6983|170:149|reload| (-1) new.pm, process (line: 313) |6983|170:149|reload| (-2) vcld, make_new_child (line: 600) |6983|170:149|reload| (-3) vcld, main (line: 347) From [email protected] Sun Sep 12 13:36:43 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96721 invoked from network); 12 Sep 2010 13:36:43 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 12 Sep 2010 13:36:43 -0000 Received: (qmail 35868 invoked by uid 500); 12 Sep 2010 13:36:43 -0000 Delivered-To: [email protected] Received: (qmail 35775 invoked by uid 500); 12 Sep 2010 13:36:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <vcl-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 35766 invoked by uid 99); 12 Sep 2010 13:36:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Sep 2010 13:36:39 +0000 X-ASF-Spam-Status: No, hits=4.4 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-wy0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Sep 2010 13:36:33 +0000 Received: by wye20 with SMTP id 20so5150643wye.6 for <[email protected]>; Sun, 12 Sep 2010 06:36:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=JwU3PCOOvpCowQ8GC52HQqGJH7M1maGH/d6IYzVpXFQ=; b=QVCOoGT/FSwc69pv+bKqM9gAJYKZy1sr6fIxcAPraMK6jcAlsUoBGafG4hIpEyRYba tEDvnLJZrkc1m/xO8wtpo8muG50d3cbcvkkdDjpYo9g0rqo4HmASGM4KRaGoxOdjZAsX MJb0uUhep1ITTdUHH5JOBMWyUwXbvbKBmBMKY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=O9ulA0yXwLtTopqGFqw7MpjdyfM/++RCFCzE/5V6vhIswfy1yay4nDOzev+RviCC/H 4XmDsKz8jqMKRsF5IOSE/ATP20OFTrrrlBcd0TSeaK5NbT/CjyqHWdTDZrzOGjFmeZ5n XruRo4LmG77rWR27m4rcBHuad3aHRKGlQMc10= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id t50mr3182089wem.77.1284298571398; Sun, 12 Sep 2010 06:36:11 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sun, 12 Sep 2010 06:36:11 -0700 (PDT) Date: Sun, 12 Sep 2010 13:36:11 +0000 Message-ID: <[email protected]> Subject: Requesting VCL Help From Morocco From: Hicham Gibet Tani <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016e64c1f4e2245f704901010ad --0016e64c1f4e2245f704901010ad Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Abdelmalek Essaadi University Science and Technology Faculty Computer engineering department Morocco, Tangier Dear VCL team and users, We are Gibet Tani Hicham and Eloutouate Lamiae. We started testing the VCL environment on 05/07/2010, and we wanted as a start to see the VCL initiative before stating to use it. We followed the tutorial in Apache incubator wiki on this link: https://cwiki.apache.org/VCL/configuring-a-standalone-vmware-vcl-environmen= t.html We followed all the steps, and we did create a Windows XP base image and we did start a reservation request and that by querying the database directly. Unfortunately the reservation failed because of the following error: *Du =96C /install/vmware_images/*vmwarewinxp-base100-v0* 2>&1, pid: xxx, ex= it status: 1 output:* *0 total* *Does_image_exist() | image does not exit : vmwarewinxp-base100-v0* PS: =B7 The Windows XP base image exist and it was created using the following tutorial: https://cwiki.apache.org/VCL/create-a-windows-base-image.html =B7 When we executed the command line: *Du =96C /install/vmware_images/*vmwarewinxp-base100-v0* 2>&1 *from a command prompt it return the correct size of the image. =B7 When we replace the variables, in the Perl script (vmware.pm), with their correct values the execution doesn=92t return this error and it gives another error regarding another variable that don=92t get replace. Please advise. Cordially, Gibet Tani Hicham Eloutouate Lamiae --0016e64c1f4e2245f704901010ad Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><meta http-equiv=3D"Content-Type" content=3D"text/html; ch= arset=3Dutf-8"><meta name=3D"ProgId" content=3D"Word.Document"><meta name= =3D"Generator" content=3D"Microsoft Word 14"><meta name=3D"Originator" cont= ent=3D"Microsoft Word 14"><link rel=3D"File-List" href=3D"file:///C:%5CUser= s%5CHicham%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml= "><link rel=3D"themeData" href=3D"file:///C:%5CUsers%5CHicham%5CAppData%5CL= ocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"><link rel=3D"colorSc= hemeMapping" href=3D"file:///C:%5CUsers%5CHicham%5CAppData%5CLocal%5CTemp%5= Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"><style> <!-- /* Font Definitions */ @font-face {font-family:Wingdings; panose-1:5 0 0 0 0 0 0 0 0 0; mso-font-charset:2; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:0 268435456 0 0 3068356921 0;} @font-face {font-family:Wingdings; panose-1:5 0 0 0 0 0 0 0 0 0; mso-font-charset:2; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:0 268435456 0 0 3068356921 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-520092929 1073786111 9 0 415 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin-top:0cm; margin-right:0cm; margin-bottom:10.0pt; margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-ansi-language:EN-US; mso-fareast-language:EN-US;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; mso-themecolor:hyperlink; text-decoration:underline; text-underline:single;} a:visited, span.MsoHyperlinkFollowed {mso-style-noshow:yes; mso-style-priority:99; color:purple; mso-themecolor:followedhyperlink; text-decoration:underline; text-underline:single;} p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {mso-style-priority:34; mso-style-unhide:no; mso-style-qformat:yes; margin-top:0cm; margin-right:0cm; margin-bottom:10.0pt; margin-left:36.0pt; mso-add-space:auto; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-ansi-language:EN-US; mso-fareast-language:EN-US;} p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParag= raphCxSpFirst {mso-style-priority:34; mso-style-unhide:no; mso-style-qformat:yes; mso-style-type:export-only; margin-top:0cm; margin-right:0cm; margin-bottom:0cm; margin-left:36.0pt; margin-bottom:.0001pt; mso-add-space:auto; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-ansi-language:EN-US; mso-fareast-language:EN-US;} p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListPar= agraphCxSpMiddle {mso-style-priority:34; mso-style-unhide:no; mso-style-qformat:yes; mso-style-type:export-only; margin-top:0cm; margin-right:0cm; margin-bottom:0cm; margin-left:36.0pt; margin-bottom:.0001pt; mso-add-space:auto; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-ansi-language:EN-US; mso-fareast-language:EN-US;} p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagra= phCxSpLast {mso-style-priority:34; mso-style-unhide:no; mso-style-qformat:yes; mso-style-type:export-only; margin-top:0cm; margin-right:0cm; margin-bottom:10.0pt; margin-left:36.0pt; mso-add-space:auto; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-ansi-language:EN-US; mso-fareast-language:EN-US;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;} .MsoPapDefault {mso-style-type:export-only; margin-bottom:10.0pt; line-height:115%;} @page WordSection1 {size:595.3pt 841.9pt; margin:70.85pt 70.85pt 70.85pt 70.85pt; mso-header-margin:35.4pt; mso-footer-margin:35.4pt; mso-paper-source:0;} div.WordSection1 {page:WordSection1;} /* List Definitions */ @list l0 {mso-list-id:1920747802; mso-list-type:hybrid; mso-list-template-ids:-1283703010 67895297 67895299 67895301 67895297 6789= 5299 67895301 67895297 67895299 67895301;} @list l0:level1 {mso-level-number-format:bullet; mso-level-text:=EF=82=B7; mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt; font-family:Symbol;} @list l0:level2 {mso-level-number-format:bullet; mso-level-text:o; mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt; font-family:"Courier New";} @list l0:level3 {mso-level-number-format:bullet; mso-level-text:=EF=82=A7; mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt; font-family:Wingdings;} @list l0:level4 {mso-level-number-format:bullet; mso-level-text:=EF=82=B7; mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt; font-family:Symbol;} @list l0:level5 {mso-level-number-format:bullet; mso-level-text:o; mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt; font-family:"Courier New";} @list l0:level6 {mso-level-number-format:bullet; mso-level-text:=EF=82=A7; mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt; font-family:Wingdings;} @list l0:level7 {mso-level-number-format:bullet; mso-level-text:=EF=82=B7; mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt; font-family:Symbol;} @list l0:level8 {mso-level-number-format:bullet; mso-level-text:o; mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt; font-family:"Courier New";} @list l0:level9 {mso-level-number-format:bullet; mso-level-text:=EF=82=A7; mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt; font-family:Wingdings;} ol {margin-bottom:0cm;} ul {margin-bottom:0cm;} --> </style> <p class=3D"MsoNormal"><span lang=3D"EN-US">Abdelmalek Essaadi University</= span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Science and Technology Faculty<= /span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Computer engineering department= </span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Morocco, Tangier</span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">=C2=A0</span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Dear VCL team and users,</span>= </p> <p class=3D"MsoNormal"><span lang=3D"EN-US">We are Gibet Tani Hicham and El= outouate Lamiae.</span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">We started testing the VCL envi= ronment on 05/07/2010, and we wanted as a start to see the VCL initiative before stati= ng to use it. We followed the tutorial in Apache incubator wiki on this link:</sp= an></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><a href=3D"https://cwiki.apache= .org/VCL/configuring-a-standalone-vmware-vcl-environment.html">https://cwik= i.apache.org/VCL/configuring-a-standalone-vmware-vcl-environment.html</a></= span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">We followed all the steps, and = we did create a Windows XP base image and we did start a reservation request and t= hat by querying the database directly.</span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Unfortunately the reservation f= ailed because of the following error:</span></p> <p class=3D"MsoNormal"><b style=3D""><span style=3D"color: red;" lang=3D"EN= -US">Du =E2=80=93C /install/vmware_images/*vmwarewinxp-base100-v0* 2&gt;&am= p;1, pid: xxx, exit status: 1 output:</span></b></p> <p class=3D"MsoNormal"><b style=3D""><span style=3D"color: red;" lang=3D"EN= -US">0 total</span></b></p> <p class=3D"MsoNormal"><b style=3D""><span style=3D"color: red;" lang=3D"EN= -US">Does_image_exist() | image does not exit :<span style=3D"">=C2=A0 </sp= an>vmwarewinxp-base100-v0</span></b></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">PS: </span></p> <p class=3D"MsoListParagraph" style=3D"text-indent: -18pt;"><span style=3D"= font-family: Symbol;" lang=3D"EN-US"><span style=3D"">=C2=B7<span style=3D"= font: 7pt &quot;Times New Roman&quot;;">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 </span></span></span><span lang=3D"EN-US">The Windows XP base image exist and it was created using the following tutorial:</span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><a href=3D"https://cwiki.apache= .org/VCL/create-a-windows-base-image.html">https://cwiki.apache.org/VCL/cre= ate-a-windows-base-image.html</a></span></p> <p class=3D"MsoListParagraphCxSpFirst" style=3D"text-indent: -18pt;"><span = style=3D"font-family: Symbol;" lang=3D"EN-US"><span style=3D"">=C2=B7<span = style=3D"font: 7pt &quot;Times New Roman&quot;;">=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 </span></span></span><span lang=3D"EN-US">When we executed the command line: <b style=3D""><span style=3D"color: red;">Du =E2=80=93C /install/vmwa= re_images/*vmwarewinxp-base100-v0* 2&gt;&amp;1 </span></b>from a command prompt it return the correct size of = the image.</span></p> <p class=3D"MsoListParagraphCxSpLast" style=3D"text-indent: -18pt;"><span s= tyle=3D"font-family: Symbol;" lang=3D"EN-US"><span style=3D"">=C2=B7<span s= tyle=3D"font: 7pt &quot;Times New Roman&quot;;">=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 </span></span></span><span lang=3D"EN-US">When we replace the variables, in the Perl script (<a href=3D"http://vmware.pm">vmware.pm</a>), with their= correct values the execution doesn=E2=80=99t return this error and it gives another error regarding another variable tha= t don=E2=80=99t get replace.</span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Please advise.</span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Cordially,</span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Gibet Tani Hicham</span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Eloutouate Lamiae</span></p> </div> --0016e64c1f4e2245f704901010ad-- From [email protected] Fri Sep 24 17:00:49 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37204 invoked from network); 24 Sep 2010 17:00:49 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Sep 2010 17:00:49 -0000 Received: (qmail 2622 invoked by uid 500); 24 Sep 2010 17:00:49 -0000 Delivered-To: [email protected] Received: (qmail 2592 invoked by uid 500); 24 Sep 2010 17:00:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <vcl-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 2575 invoked by uid 99); 24 Sep 2010 17:00:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Sep 2010 17:00:46 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO exchange.csun.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Sep 2010 17:00:40 +0000 Received: from CSUN-EX-V01.csun.edu ([161.129.204.104]) by bittern.csun.edu ([161.129.204.104]) with mapi; Fri, 24 Sep 2010 10:00:19 -0700 From: "Duhon, Gregory D" <[email protected]> To: "'[email protected]'" <[email protected]> CC: "[email protected]" <[email protected]> Date: Fri, 24 Sep 2010 10:00:19 -0700 Subject: Adobe CS 5 Flash and AutoCAD in VCL using GSX Thread-Topic: Adobe CS 5 Flash and AutoCAD in VCL using GSX Thread-Index: ActcCffCAnTlrqdoSgiwIi6WqXZCLA== Message-ID: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_6708F96BBF31F846BFA56EC0AE37D6228ABA318950CSUNEXV01csun_" MIME-Version: 1.0 --_000_6708F96BBF31F846BFA56EC0AE37D6228ABA318950CSUNEXV01csun_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Is the VCL/GSX environment appropriate for running Flash or AutoCAD? We ar= e experiencing poor performance and difficulty tuning the system for improv= ed performance. Thanks, Gregory Duhon Infrastructure Architect Information Technology California State University, Northridge 3068356921 [email protected] --_000_6708F96BBF31F846BFA56EC0AE37D6228ABA318950CSUNEXV01csun_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Times New Roman","serif"; color:windowtext;} .MsoChpDefault {mso-style-type:export-only;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DWordSection1> <p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New= Roman","serif"'>Is the VCL/GSX environment appropriate for running Flash or AutoCAD?&nbsp; We = are experiencing poor performance and difficulty tuning the system for improved performance.= <o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New= Roman","serif"'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New= Roman","serif"'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New= Roman","serif"'>Thanks,<o:p></o:p></span></p> <p class=3DMsoNormal>Gregory Duhon<o:p></o:p></p> <p class=3DMsoNormal>Infrastructure Architect<o:p></o:p></p> <p class=3DMsoNormal>Information Technology<o:p></o:p></p> <p class=3DMsoNormal>California State University, Northridge<o:p></o:p></p> <p class=3DMsoNormal>3068356921<o:p></o:p></p> <p class=3DMsoNormal>[email protected]<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> </div> </body> </html> --_000_6708F96BBF31F846BFA56EC0AE37D6228ABA318950CSUNEXV01csun_-- From [email protected] Fri Sep 24 17:14:01 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46217 invoked from network); 24 Sep 2010 17:14:00 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Sep 2010 17:14:00 -0000 Received: (qmail 29109 invoked by uid 500); 24 Sep 2010 17:14:00 -0000 Delivered-To: [email protected] Received: (qmail 29074 invoked by uid 500); 24 Sep 2010 17:14:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <vcl-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 29066 invoked by uid 99); 24 Sep 2010 17:14:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Sep 2010 17:14:00 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ww0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Sep 2010 17:13:53 +0000 Received: by wwb18 with SMTP id 18so210987wwb.0 for <[email protected]>; Fri, 24 Sep 2010 10:13:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=lmSt/mgBz/qRJKf62YwJezyZ1bD0MTMwjiVxk887B2M=; b=tYduZ8KhShuYXiIPWSS22gswnvmZaQxuSmI3s2UjxRGtOVcHcR0PuinJExMtUgNqdT XzJo7oV+5tt8JdJPRTrnqwbc0I4CQOyntVEfn8qjoXGVjEDcRausWzoKOudy+DZc1U+A M8a9nSQQkSRmy7LyJqgjqDkbiOlyNRsXLJBZA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; b=PoE13M45iIx94QYKW4qBkjtkOQVu7TeBhR5jBLoXDDNNYt1TKXwKp99qNCm2nl4kuO hZO7fSV88tkajkHbwJkwacCXcBfrYjksYVeD8w5JZOFmX7vclehRbOr/pdK27JfG+fMh +VzxNGgYbWCiiFoQqodXWbK4SwbNkUreNT9+Y= Received: by 161.129.204.104 with SMTP id h3mr9715112wek.74.1285348412556; Fri, 24 Sep 2010 10:13:32 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Fri, 24 Sep 2010 10:13:17 -0700 (PDT) From: =?ISO-8859-1?Q?Gabriel_Mu=F1oz?= <[email protected]> Date: Fri, 24 Sep 2010 14:13:17 -0300 Message-ID: <[email protected]> Subject: Computer Lab To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Can I use vcl for a phisical machine inside a lab? Notes of this machine (Computer): * OS: Windows xp * Inside this computer I installed: cygwin with ssh, enabled firewall, enabled rpc, I can connect to this machine remotly from vlcd server via ssh and rdesktop. * I have installed vcld, management node and web interface. In affimative case: * Is necesary make an image for this machine? * How I must do to register this machine in the web interface? * How I get the control of this machine via web interface? I'm trying, too hard but without good news. Really Thanks, Gabriel Mu=F1oz. Instituto Universitario Aeron=E1utico C=F3rdoba - Argentina From [email protected] Fri Sep 24 17:51:27 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57793 invoked from network); 24 Sep 2010 17:51:27 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Sep 2010 17:51:27 -0000 Received: (qmail 92063 invoked by uid 500); 24 Sep 2010 17:51:27 -0000 Delivered-To: [email protected] Received: (qmail 92037 invoked by uid 500); 24 Sep 2010 17:51:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <vcl-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 92029 invoked by uid 99); 24 Sep 2010 17:51:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Sep 2010 17:51:26 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO hes01.unity.ncsu.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Sep 2010 17:51:19 +0000 Received: (from hes@localhost) by hes01.unity.ncsu.edu (8.11.7p3+Sun/8.10.2) id o8OHov919963 for [email protected]; Fri, 24 Sep 2010 13:50:57 -0400 (EDT) Date: Fri, 24 Sep 2010 13:50:57 -0400 From: Henry E Schaffer <[email protected]> To: [email protected] Subject: Re: Computer Lab Message-ID: <[email protected]> References: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <[email protected]> User-Agent: Mutt/161.129.204.104i X-Virus-Checked: Checked by ClamAV on apache.org Gabriel Mu?oz writes: > Can I use vcl for a phisical machine inside a lab? Yes, I think - but I'm not sure what you mean. > Notes of this machine (Computer): > * OS: Windows xp > * Inside this computer I installed: cygwin with ssh, enabled firewall, > enabled rpc, I can connect to this machine remotly from vlcd server > via ssh and rdesktop. > * I have installed vcld, management node and web interface. > > In affimative case: > * Is necesary make an image for this machine? > * How I must do to register this machine in the web interface? > * How I get the control of this machine via web interface? > > I'm trying, too hard but without good news. For physical lab machines, we use the VCL software to reserve these computers for online use when the computer lab is closed - so there is no conflict between the remote user and a user at the physical keyboard. These computers aren't re-imaged - rather the user gets what's there and isn't root/Administrator. Foggy memory: I think this can be done for Linux/Solaris/Windows lab machines, but some small piece of software must be installed to have them talk with the VCL software. If this is the type of use you are asking about, I'm sure someone else can give more details. If you have another use in mind, please explain further. -- --henry schaffer From [email protected] Fri Sep 24 17:57:12 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61173 invoked from network); 24 Sep 2010 17:57:12 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Sep 2010 17:57:12 -0000 Received: (qmail 6404 invoked by uid 500); 24 Sep 2010 17:57:12 -0000 Delivered-To: [email protected] Received: (qmail 6393 invoked by uid 500); 24 Sep 2010 17:57:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <vcl-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6385 invoked by uid 99); 24 Sep 2010 17:57:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Sep 2010 17:57:11 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ww0-f54.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Sep 2010 17:57:06 +0000 Received: by wwb22 with SMTP id 22so3410995wwb.23 for <[email protected]>; Fri, 24 Sep 2010 10:56:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=br7hy8kGhRgLx8JIAfx/UPHi8lT8Sn5YkAAQ0dCt+2M=; b=RbS45BfqRv/l4O81cx1y0Rjq9/U4OnWJymKRe6EMgsbjC84PP3frrIzp2C+NaEW8eH R4pe7qaHiYtzNRD1eTDv5md2k3HT23cz+mRvbMvjLkg8q02gwODky2HceOsMdx+Ya0+6 kv19l7sFRyEd5l8Q9W2JiRpT1EZV1kE5CCZoI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=gAvbRGqnegqD8GHG27x6R6WylDJW0uAtcAXaI0s4heNFWFsz1wPCeSHwLJtt/7Ol+U y0xxxuJ9M3y4xD6v4brBS5rTrrK6Aadn+xe9W++KIhut+KpUuQZ7w8cmAF7tox1MQ3Dt fXuJZ7lfGmJQTutovtXdFc4Q72Gc3DFE723Y8= Received: by 161.129.204.104 with SMTP id g12mr3214239wbv.82.1285351004746; Fri, 24 Sep 2010 10:56:44 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Fri, 24 Sep 2010 10:56:28 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> From: =?ISO-8859-1?Q?Gabriel_Mu=F1oz?= <[email protected]> Date: Fri, 24 Sep 2010 14:56:28 -0300 Message-ID: <[email protected]> Subject: Re: Computer Lab To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thank you, the scenario is the same. We are thinking to use this project to get student's access when the lab is closed. Ours labs use Linux and Windows. Please if you remember how you do to make it works tell me. Thank, Gabriel. On Fri, Sep 24, 2010 at 2:50 PM, Henry E Schaffer <[email protected]> wrot= e: > Gabriel Mu?oz writes: >> Can I use vcl for a phisical machine inside a lab? > > =A0Yes, I think - but I'm not sure what you mean. > >> Notes of this machine (Computer): >> * OS: Windows xp >> * Inside this computer I installed: cygwin with ssh, enabled firewall, >> enabled rpc, I can connect to this machine remotly from vlcd server >> via ssh and rdesktop. >> * I have installed vcld, management node and web interface. >> >> In affimative case: >> =A0* Is necesary make an image for this machine? >> =A0* How I must do to register this machine in the web interface? >> =A0* How I get the control of this machine via web interface? >> >> I'm trying, too hard but without good news. > > =A0For physical lab machines, we use the VCL software to reserve these > computers for online use when the computer lab is closed - so there is > no conflict between the remote user and a user at the physical keyboard. > These computers aren't re-imaged - rather the user gets what's there and > isn't root/Administrator. > > =A0Foggy memory: I think this can be done for Linux/Solaris/Windows lab > machines, but some small piece of software must be installed to have > them talk with the VCL software. > > =A0If this is the type of use you are asking about, I'm sure someone else > can give more details. =A0If you have another use in mind, please explain > further. > -- > --henry schaffer > From [email protected] Fri Sep 24 18:25:23 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83769 invoked from network); 24 Sep 2010 18:25:23 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Sep 2010 18:25:23 -0000 Received: (qmail 58629 invoked by uid 500); 24 Sep 2010 18:25:23 -0000 Delivered-To: [email protected] Received: (qmail 58543 invoked by uid 500); 24 Sep 2010 18:25:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <vcl-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58529 invoked by uid 99); 24 Sep 2010 18:25:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Sep 2010 18:25:22 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO hes01.unity.ncsu.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Sep 2010 18:25:15 +0000 Received: (from hes@localhost) by hes01.unity.ncsu.edu (8.11.7p3+Sun/8.10.2) id o8OIOsQ20253; Fri, 24 Sep 2010 14:24:54 -0400 (EDT) Date: Fri, 24 Sep 2010 14:24:54 -0400 From: Henry E Schaffer <[email protected]> To: [email protected], [email protected] Subject: Re: Computer Lab Message-ID: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <[email protected]> User-Agent: Mutt/161.129.204.104i X-Virus-Checked: Checked by ClamAV on apache.org Gabriel Mu?oz writes: > Thank you, the scenario is the same. We are thinking to use this > project to get student's access when the lab is closed. Ours labs use > Linux and Windows. Please if you remember how you do to make it works > tell me. I'm going to send this on to the vcl-dev list - I think you are more likely to get an answer there. --henry > Thank, > Gabriel. > > > On Fri, Sep 24, 2010 at 2:50 PM, Henry E Schaffer <[email protected]> wrote: > > Gabriel Mu?oz writes: > >> Can I use vcl for a phisical machine inside a lab? > > > >  Yes, I think - but I'm not sure what you mean. > > > >> Notes of this machine (Computer): > >> * OS: Windows xp > >> * Inside this computer I installed: cygwin with ssh, enabled firewall, > >> enabled rpc, I can connect to this machine remotly from vlcd server > >> via ssh and rdesktop. > >> * I have installed vcld, management node and web interface. > >> > >> In affimative case: > >>  * Is necesary make an image for this machine? > >>  * How I must do to register this machine in the web interface? > >>  * How I get the control of this machine via web interface? > >> > >> I'm trying, too hard but without good news. > > > >  For physical lab machines, we use the VCL software to reserve these > > computers for online use when the computer lab is closed - so there is > > no conflict between the remote user and a user at the physical keyboard. > > These computers aren't re-imaged - rather the user gets what's there and > > isn't root/Administrator. > > > >  Foggy memory: I think this can be done for Linux/Solaris/Windows lab > > machines, but some small piece of software must be installed to have > > them talk with the VCL software. > > > >  If this is the type of use you are asking about, I'm sure someone else > > can give more details.  If you have another use in mind, please explain > > further. > > -- > > --henry schaffer From [email protected] Fri Sep 24 22:06:55 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69307 invoked from network); 24 Sep 2010 22:06:54 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Sep 2010 22:06:54 -0000 Received: (qmail 62722 invoked by uid 500); 24 Sep 2010 22:06:54 -0000 Delivered-To: [email protected] Received: (qmail 62570 invoked by uid 500); 24 Sep 2010 22:06:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <vcl-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 62562 invoked by uid 99); 24 Sep 2010 22:06:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Sep 2010 22:06:53 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO hes01.unity.ncsu.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Sep 2010 22:06:38 +0000 Received: (from hes@localhost) by hes01.unity.ncsu.edu (8.11.7p3+Sun/8.10.2) id o8OM6Hw21307 for [email protected]; Fri, 24 Sep 2010 18:06:17 -0400 (EDT) Date: Fri, 24 Sep 2010 18:06:17 -0400 From: Henry E Schaffer <[email protected]> To: [email protected] Subject: Re: Adobe CS 5 Flash and AutoCAD in VCL using GSX Message-ID: <[email protected]> References: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <[email protected]> User-Agent: Mutt/161.129.204.104i X-Virus-Checked: Checked by ClamAV on apache.org Gregory Duhon writes: > Is the VCL/GSX environment appropriate for running Flash or AutoCAD? It depends. The VCL cpu sends to your local screen via RDP over the network. RDP has limitations on how fast it goes, and then there can be network performance issues. The recommendation is that the network connection between the user and the VCL be "broadband" - but that covers a wide range. Another factor is what is being sent to the screen. There is a huge difference between a static AutoCAD drawing - even a complex one - and a dynamic/moving drawing. Ditto for Flash which can vary from a static or slowly moving presentation to a truly dynamic one where all the pixels are changing all the time. Since you are virtualizing the blade, there is also a question of cpu and video circuitry loading due to the other guest images. > We are experiencing poor performance and difficulty tuning the system > for improved performance. My suggestion is that you start by "partitioning the problem" and trying to see which one or more of the above items has an effect or can be disregarded when [email protected]. -- --henry schaffer From [email protected] Fri Sep 24 22:37:18 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79907 invoked from network); 24 Sep 2010 22:37:18 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Sep 2010 22:37:18 -0000 Received: (qmail 2804 invoked by uid 500); 24 Sep 2010 22:37:18 -0000 Delivered-To: [email protected] Received: (qmail 2775 invoked by uid 500); 24 Sep 2010 22:37:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <vcl-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 2767 invoked by uid 99); 24 Sep 2010 22:37:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Sep 2010 22:37:17 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e28smtp02.in.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Sep 2010 22:37:08 +0000 Received: from d28relay05.in.ibm.com (d28relay05.in.ibm.com [161.129.204.104]) by e28smtp02.in.ibm.com (8.14.4/8.13.1) with ESMTP id o8OMakaR026136 for <[email protected]>; Sat, 25 Sep 2010 04:06:46 +0530 Received: from d28av03.in.ibm.com (d28av03.in.ibm.com [161.129.204.104]) by d28relay05.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o8OMakAk3424458 for <[email protected]>; Sat, 25 Sep 2010 04:06:46 +0530 Received: from d28av03.in.ibm.com (loopback [161.129.204.104]) by d28av03.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o8OMajVQ030728 for <[email protected]>; Sat, 25 Sep 2010 08:36:45 +1000 Received: from d23ml062.in.ibm.com (d23ml062.in.ibm.com [161.129.204.104]) by d28av03.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id o8OMajNX030723 for <[email protected]>; Sat, 25 Sep 2010 08:36:45 +1000 Subject: Uday K Cholleti is out of the office. Auto-Submitted: auto-generated From: Uday K Cholleti <[email protected]> To: [email protected] Message-ID: <[email protected]> Date: Sat, 25 Sep 2010 04:06:07 +0530 X-MIMETrack: Serialize by Router on d23ml062/23/M/IBM(Release 8.5.1FP2|March 17, 2010) at 25/09/2010 04:06:08 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII I will be out of the office starting 09/20/2010 and will not return until 09/27/2010. I will respond to your message when I return. Please contact Bharathi Anjeneya for FEM related issues. From [email protected] Wed Sep 29 17:47:47 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51783 invoked from network); 29 Sep 2010 17:47:47 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 29 Sep 2010 17:47:47 -0000 Received: (qmail 91675 invoked by uid 500); 29 Sep 2010 17:47:47 -0000 Delivered-To: [email protected] Received: (qmail 91596 invoked by uid 500); 29 Sep 2010 17:47:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <vcl-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 91588 invoked by uid 99); 29 Sep 2010 17:47:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Sep 2010 17:47:46 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO exchange.csun.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Sep 2010 17:47:40 +0000 Received: from CSUN-EX-V01.csun.edu ([161.129.204.104]) by canvasback.csun.edu ([161.129.204.104]) with mapi; Wed, 29 Sep 2010 10:47:19 -0700 From: "Duhon, Gregory D" <[email protected]> To: "'[email protected]'" <[email protected]> CC: "'[email protected]'" <[email protected]>, "Olsen, Chris" <[email protected]>, "Ice, Christopher E" <[email protected]>, "Philip, Ranjit A" <[email protected]>, 'Gagan Aneja' <[email protected]> Date: Wed, 29 Sep 2010 10:47:19 -0700 Subject: Changing Default Speed in RDP file Thread-Topic: Changing Default Speed in RDP file Thread-Index: Actf/lwfdoDiAK4dSRmws5UngcfBgw== Message-ID: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_6708F96BBF31F846BFA56EC0AE37D6228BBF1A3818CSUNEXV01csun_" MIME-Version: 1.0 --_000_6708F96BBF31F846BFA56EC0AE37D6228BBF1A3818CSUNEXV01csun_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, The RDP file downloaded to access a reservation is set for "Low-speed broad= band". We would like to set this to "LAN (10Mbps or higher)" in the downlo= aded RDP file. 1. Where does the template RDP file reside on the management node? 2. What is the RDP parameter used to set the speed of the connection? We have looked for this parameter on the internet and it remains a mystery.= I am hoping you may know what that parameter is. Thanks, Gregory Duhon Infrastructure Architect Information Technology California State University, Northridge 3068356921 [email protected] --_000_6708F96BBF31F846BFA56EC0AE37D6228BBF1A3818CSUNEXV01csun_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p.MsoAcetate, li.MsoAcetate, div.MsoAcetate {mso-style-priority:99; mso-style-link:"Balloon Text Char"; margin:0in; margin-bottom:.0001pt; font-size:8.0pt; font-family:"Tahoma","sans-serif";} p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {mso-style-priority:34; margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Times New Roman","serif"; color:windowtext;} span.BalloonTextChar {mso-style-name:"Balloon Text Char"; mso-style-priority:99; mso-style-link:"Balloon Text"; font-family:"Tahoma","sans-serif";} .MsoChpDefault {mso-style-type:export-only;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} /* List Definitions */ @list l0 {mso-list-id:3068356921; mso-list-type:hybrid; mso-list-template-ids:-1033629490 67698703 67698713 67698715 67698703 6769= 8713 67698715 67698703 67698713 67698715;} @list l0:level1 {mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-.25in;} ol {margin-bottom:0in;} ul {margin-bottom:0in;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DWordSection1> <p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New= Roman","serif"'>Hello,<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New= Roman","serif"'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New= Roman","serif"'>The RDP file downloaded to access a reservation is set for &#8220;Low-speed broadband&#8221;.&nbsp; We would like to set this to &#8220;LAN (10Mbps or higher)&#8221; in the downloaded RDP file.&nbsp; <o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New= Roman","serif"'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoListParagraph style=3D'text-indent:-.25in;mso-list:l0 level1 = lfo1'><![if !supportLists]><span style=3D'font-size:12.0pt;font-family:"Times New Roman","serif"'><span style=3D'mso-list:Ignore'>1.<span style=3D'font:7.0pt "Times New Roman"'>&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span style=3D'font-size:12.0pt;font-family:= "Times New Roman","serif"'>Where does the template RDP file reside on the management node?<o:p></o:p></span>= </p> <p class=3DMsoListParagraph style=3D'text-indent:-.25in;mso-list:l0 level1 = lfo1'><![if !supportLists]><span style=3D'font-size:12.0pt;font-family:"Times New Roman","serif"'><span style=3D'mso-list:Ignore'>2.<span style=3D'font:7.0pt "Times New Roman"'>&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span style=3D'font-size:12.0pt;font-family:= "Times New Roman","serif"'>What is the RDP parameter used to set the speed of the connection?<o:p></o:p></s= pan></p> <p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New= Roman","serif"'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New= Roman","serif"'>We have looked for this parameter on the internet and it remains a mystery.&nb= sp; I am hoping you may know what that parameter is.<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New= Roman","serif"'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New= Roman","serif"'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New= Roman","serif"'>Thanks,<o:p></o:p></span></p> <p class=3DMsoNormal>Gregory Duhon<o:p></o:p></p> <p class=3DMsoNormal>Infrastructure Architect<o:p></o:p></p> <p class=3DMsoNormal>Information Technology<o:p></o:p></p> <p class=3DMsoNormal>California State University, Northridge<o:p></o:p></p> <p class=3DMsoNormal>3068356921<o:p></o:p></p> <p class=3DMsoNormal>[email protected]<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> </div> </body> </html> --_000_6708F96BBF31F846BFA56EC0AE37D6228BBF1A3818CSUNEXV01csun_-- From [email protected] Wed Sep 29 18:23:55 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73695 invoked from network); 29 Sep 2010 18:23:55 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 29 Sep 2010 18:23:55 -0000 Received: (qmail 69297 invoked by uid 500); 29 Sep 2010 18:23:55 -0000 Delivered-To: [email protected] Received: (qmail 69258 invoked by uid 500); 29 Sep 2010 18:23:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <vcl-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 69250 invoked by uid 99); 29 Sep 2010 18:23:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Sep 2010 18:23:54 +0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO na3sys009aog103.obsmtp.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 29 Sep 2010 18:23:46 +0000 Received: from source ([161.129.204.104]) (using TLSv1) by na3sys009aob103.postini.com ([161.129.204.104]) with SMTP ID [email protected]; Wed, 29 Sep 2010 11:23:23 PDT Received: from vilya.csc.ncsu.edu (vilya.csc.ncsu.edu [161.129.204.104]) (authenticated bits=0) by uni00mo.unity.ncsu.edu (8.14.4/8.14.4/Nv6.2010.0805) with ESMTP id o8TINHn6020601 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <[email protected]>; Wed, 29 Sep 2010 14:23:17 -0400 (EDT) Message-ID: <[email protected]> Date: Wed, 29 Sep 2010 14:23:17 -0400 From: Aaron Peeler <[email protected]> User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20100915 Lightning/1.0b2 Thunderbird/3.1.4 MIME-Version: 1.0 To: [email protected] Subject: Re: Changing Default Speed in RDP file References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: multipart/alternative; boundary="------------000308020701050907060707" X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. --------------000308020701050907060707 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit The rdp file gets generated from the web server. Look in /<vcl_web_root>/.ht-inc/utils.php. search for the sendRDPfile routine. I'm not sure what variable sets that, but I think those values only enable/disable more options, like themes and show contents while dragging, etc. Aaron On 9/29/10 1:47 PM, Duhon, Gregory D wrote: > > Hello, > > The RDP file downloaded to access a reservation is set for "Low-speed > broadband". We would like to set this to "LAN (10Mbps or higher)" in > the downloaded RDP file. > > 1. Where does the template RDP file reside on the management node? > > 2. What is the RDP parameter used to set the speed of the connection? > > We have looked for this parameter on the internet and it remains a > mystery. I am hoping you may know what that parameter is. > > Thanks, > > Gregory Duhon > > Infrastructure Architect > > Information Technology > > California State University, Northridge > > 3068356921 > > [email protected] > -- Aaron Peeler Program Manager Virtual Computing Lab NC State University [email protected] 3068356921 --------------000308020701050907060707 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> The rdp file gets generated from the web server. <br> <br> Look in /&lt;vcl_web_root&gt;/.ht-inc/utils.php. <br> search for the sendRDPfile routine.<br> <br> I'm not sure what variable sets that, but I think those values only enable/disable more options, like themes and show contents while dragging,&nbsp; etc. <br> <br> Aaron<br> <br> <br> On 9/29/10 1:47 PM, Duhon, Gregory D wrote: <blockquote cite="mid:[email protected]" type="cite"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta name="Generator" content="Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p.MsoAcetate, li.MsoAcetate, div.MsoAcetate {mso-style-priority:99; mso-style-link:"Balloon Text Char"; margin:0in; margin-bottom:.0001pt; font-size:8.0pt; font-family:"Tahoma","sans-serif";} p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {mso-style-priority:34; margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Times New Roman","serif"; color:windowtext;} span.BalloonTextChar {mso-style-name:"Balloon Text Char"; mso-style-priority:99; mso-style-link:"Balloon Text"; font-family:"Tahoma","sans-serif";} .MsoChpDefault {mso-style-type:export-only;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} /* List Definitions */ @list l0 {mso-list-id:3068356921; mso-list-type:hybrid; mso-list-template-ids:-1033629490 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;} @list l0:level1 {mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-.25in;} ol {margin-bottom:0in;} ul {margin-bottom:0in;} --> </style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext="edit" spidmax="1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext="edit"> <o:idmap v:ext="edit" data="1" /> </o:shapelayout></xml><![endif]--> <div class="WordSection1"> <p class="MsoNormal"><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;">Hello,<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"><o:p>&nbsp;</o:p></span></p> <p class="MsoNormal"><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;">The RDP file downloaded to access a reservation is set for &#8220;Low-speed broadband&#8221;.&nbsp; We would like to set this to &#8220;LAN (10Mbps or higher)&#8221; in the downloaded RDP file.&nbsp; <o:p></o:p></span></p> <p class="MsoNormal"><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"><o:p>&nbsp;</o:p></span></p> <p class="MsoListParagraph" style="text-indent: -0.25in;"><!--[if !supportLists]--><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"><span style="">1.<span style="font: 7pt &quot;Times New Roman&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><!--[endif]--><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;">Where does the template RDP file reside on the management node?<o:p></o:p></span></p> <p class="MsoListParagraph" style="text-indent: -0.25in;"><!--[if !supportLists]--><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"><span style="">2.<span style="font: 7pt &quot;Times New Roman&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><!--[endif]--><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;">What is the RDP parameter used to set the speed of the connection?<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"><o:p>&nbsp;</o:p></span></p> <p class="MsoNormal"><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;">We have looked for this parameter on the internet and it remains a mystery.&nbsp; I am hoping you may know what that parameter is.<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"><o:p>&nbsp;</o:p></span></p> <p class="MsoNormal"><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"><o:p>&nbsp;</o:p></span></p> <p class="MsoNormal"><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;">Thanks,<o:p></o:p></span></p> <p class="MsoNormal">Gregory Duhon<o:p></o:p></p> <p class="MsoNormal">Infrastructure Architect<o:p></o:p></p> <p class="MsoNormal">Information Technology<o:p></o:p></p> <p class="MsoNormal">California State University, Northridge<o:p></o:p></p> <p class="MsoNormal">3068356921<o:p></o:p></p> <p class="MsoNormal"><a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a><o:p></o:p></p> <p class="MsoNormal"><o:p>&nbsp;</o:p></p> </div> </blockquote> <br> <br> <pre class="moz-signature" cols="72">-- Aaron Peeler Program Manager Virtual Computing Lab NC State University <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> 3068356921</pre> </body> </html> --------------000308020701050907060707--
From [email protected] Thu Oct 01 07:48:11 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56796 invoked from network); 1 Oct 2009 07:48:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Oct 2009 07:48:11 -0000 Received: (qmail 19723 invoked by uid 500); 1 Oct 2009 07:48:10 -0000 Delivered-To: [email protected] Received: (qmail 19658 invoked by uid 500); 1 Oct 2009 07:48:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 19648 invoked by uid 99); 1 Oct 2009 07:48:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 07:48:10 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mx1.nuigalway.ie) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 07:47:58 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEANr6w0oKhJ0L/2dsb2JhbACPQccThCgE X-IronPort-AV: E=Sophos;i="4.44,486,1249254000"; d="scan'208";a="37864496" Received: from unknown (HELO EVS1.ac.nuigalway.ie) ([161.129.204.104]) by mx1.nuigalway.ie with ESMTP; 01 Oct 2009 08:47:38 +0100 Received: from EVS1.ac.nuigalway.ie ([161.129.204.104]) by EVS1.ac.nuigalway.ie with Microsoft SMTPSVC(901)325-3684); Thu, 1 Oct 2009 08:47:37 +0100 Received: from [161.129.204.104] ([161.129.204.104]) by EVS1.ac.nuigalway.ie over TLS secured channel with Microsoft SMTPSVC(901)325-3684); Thu, 1 Oct 2009 08:47:37 +0100 Message-ID: <[email protected]> Date: Thu, 01 Oct 2009 08:47:35 +0100 From: stephen mulcahy <[email protected]> User-Agent: Mozilla-Thunderbird 161.129.204.104 (X11/20090706) MIME-Version: 1.0 To: [email protected] Subject: Re: HBase configuration... References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 01 Oct 2009 07:47:37.0766 (UTC) FILETIME=[72285460:01CA426B] X-Virus-Checked: Checked by ClamAV on apache.org Hi, I could be way off the mark here - but if you are running HBase on top of Hadoop in the default configuration then it may be using /tmp for HDFS. This gets wiped on reboot which would cause the problems you are seeing. -stephen stack wrote: > Shut it down cleanly (./bin/stop-hbase.sh). My guess is that you are > killing it before it has chance to flush its in-memory state. > > HBase questions will get more timely response if posted to the hbase lists > (see hbase.org). > > Yours, > St.Ack St.Ack > > > On Wed, Sep 30, 2009 at 9:22 AM, Something Something <[email protected] >> wrote: > >> Hello, >> >> I noticed that if I start HBase in "standalone" mode it creates a table in >> memory. In other words, after rebooting the machine, the table goes away. >> I would like to persist the table to a local file system. How can I do >> that? Do I have to use "Psuedo Distribution" mode for this? >> >> Please help. Thanks. >> >> >> >> >> > -- Stephen Mulcahy, DI2, Digital Enterprise Research Institute, NUI Galway, IDA Business Park, Lower Dangan, Galway, Ireland http://di2.deri.ie http://webstar.deri.ie http://sindice.com From [email protected] Thu Oct 01 07:52:57 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58129 invoked from network); 1 Oct 2009 07:52:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Oct 2009 07:52:57 -0000 Received: (qmail 26016 invoked by uid 500); 1 Oct 2009 07:52:56 -0000 Delivered-To: [email protected] Received: (qmail 25960 invoked by uid 500); 1 Oct 2009 07:52:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 25950 invoked by uid 99); 1 Oct 2009 07:52:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 07:52:56 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yx0-f197.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 07:52:45 +0000 Received: by yxe35 with SMTP id 35so3846271yxe.2 for <[email protected]>; Thu, 01 Oct 2009 00:52:24 -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 :content-transfer-encoding; bh=nanE5e/+1KUXTDDXi7c5HicA50qwm5ysmS7htPfvrnE=; b=b7JjLeCBU3L+Ymz8h7nT8VNe3DyVmUO2cvIEZXH1FDQq/FupeOzJnYFUTJMUQ1frzF WYcb5z2mMJDJIKPWv6lF+J6KwjYXwwfn3f+SLvUn+8n0No2XMNh6+sfxPfr5frJ9N7ka Mf2qoo73J898Y8dZ4gYrkL1pYbUmuuW6ErQds= 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:content-transfer-encoding; b=udvr78CPTH88ecZGrdXu6CuU0wqIvQ+n6miQaKOyt9zXwew7F2nCiCfNA+E+Zs3blM EAP8nvtL5eFI2uHGKsncasHDfvLEleNayOT1gWkVqSJ14CZB/2sw2T1jq3mgfPiQM04r 1/E8TGJu8/GKO3g+fduf/fy1AADo2MiPLb3ug= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id o2mr1736803ybd.49.1254383544195; Thu, 01 Oct 2009 00:52:24 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Thu, 1 Oct 2009 00:52:24 -0700 Message-ID: <[email protected]> Subject: Re: HBase configuration... From: Ryan Rawson <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org yes, the standalone version uses file:///tmp to store data, to allow people to get up and running without HDFS. And you are exactly correct, with /tmp being cleaned on reboot on many distros. Grep for /tmp in hbase-default.xml to find the setting. -ryan On Thu, Oct 1, 2009 at 12:47 AM, stephen mulcahy <[email protected]> wrote: > Hi, > > I could be way off the mark here - but if you are running HBase on top of > Hadoop in the default configuration then it may be using /tmp for HDFS. T= his > gets wiped on reboot which would cause the problems you are seeing. > > -stephen > > stack wrote: >> >> Shut it down cleanly (./bin/stop-hbase.sh). =A0My guess is that you are >> killing it before it has chance to flush its in-memory state. >> >> HBase questions will get more timely response if posted to the hbase lis= ts >> (see hbase.org). >> >> Yours, >> St.Ack St.Ack >> >> >> On Wed, Sep 30, 2009 at 9:22 AM, Something Something >> <[email protected] >>> >>> wrote: >> >>> Hello, >>> >>> I noticed that if I start HBase in "standalone" mode it creates a table >>> in >>> memory. =A0In other words, after rebooting the machine, the table goes >>> away. >>> I would like to persist the table to a local file system. =A0How can I = do >>> that? =A0Do I have to use "Psuedo Distribution" mode for this? >>> >>> Please help. =A0Thanks. >>> >>> >>> >>> >>> >> > > > -- > Stephen Mulcahy, DI2, Digital Enterprise Research Institute, > NUI Galway, IDA Business Park, Lower Dangan, Galway, Ireland > http://di2.deri.ie =A0 =A0http://webstar.deri.ie =A0 =A0http://sindice.co= m > From [email protected] Thu Oct 01 08:06:11 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62244 invoked from network); 1 Oct 2009 08:06:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Oct 2009 08:06:11 -0000 Received: (qmail 49276 invoked by uid 500); 1 Oct 2009 08:06:09 -0000 Delivered-To: [email protected] Received: (qmail 49202 invoked by uid 500); 1 Oct 2009 08:06:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 49192 invoked by uid 99); 1 Oct 2009 08:06:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 08:06:09 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mx1.nuigalway.ie) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 08:05:58 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAE7/w0oKhJ0L/2dsb2JhbADWVIQoBA X-IronPort-AV: E=Sophos;i="4.44,486,1249254000"; d="scan'208";a="37872480" Received: from unknown (HELO EVS1.ac.nuigalway.ie) ([161.129.204.104]) by mx1.nuigalway.ie with ESMTP; 01 Oct 2009 09:05:38 +0100 Received: from EVS1.ac.nuigalway.ie ([161.129.204.104]) by EVS1.ac.nuigalway.ie with Microsoft SMTPSVC(901)325-3684); Thu, 1 Oct 2009 09:05:37 +0100 Received: from [161.129.204.104] ([161.129.204.104]) by EVS1.ac.nuigalway.ie over TLS secured channel with Microsoft SMTPSVC(901)325-3684); Thu, 1 Oct 2009 09:05:37 +0100 Message-ID: <[email protected]> Date: Thu, 01 Oct 2009 09:05:35 +0100 From: stephen mulcahy <[email protected]> User-Agent: Mozilla-Thunderbird 161.129.204.104 (X11/20090706) MIME-Version: 1.0 To: [email protected] Subject: Re: HBase configuration... References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 01 Oct 2009 08:05:37.0497 (UTC) FILETIME=[F5BA3490:01CA426D] X-Virus-Checked: Checked by ClamAV on apache.org Ryan Rawson wrote: > yes, the standalone version uses file:///tmp to store data, to allow > people to get up and running without HDFS. And you are exactly > correct, with /tmp being cleaned on reboot on many distros. Grep for > /tmp in hbase-default.xml to find the setting. Would it be better to default this directory to /var/tmp which would achieve the same goal of allowing people to quickly get up and running but might avoid some of the confusion of their HDFS disappearing on reboot (speaking as one recently confused in such a manner ;) -stephen -- Stephen Mulcahy, DI2, Digital Enterprise Research Institute, NUI Galway, IDA Business Park, Lower Dangan, Galway, Ireland http://di2.deri.ie http://webstar.deri.ie http://sindice.com From [email protected] Thu Oct 01 08:14:36 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64028 invoked from network); 1 Oct 2009 08:14:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Oct 2009 08:14:35 -0000 Received: (qmail 57613 invoked by uid 500); 1 Oct 2009 08:14:35 -0000 Delivered-To: [email protected] Received: (qmail 57539 invoked by uid 500); 1 Oct 2009 08:14:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 57529 invoked by uid 99); 1 Oct 2009 08:14:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 08:14:35 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yx0-f197.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 08:14:23 +0000 Received: by yxe35 with SMTP id 35so3858231yxe.2 for <[email protected]>; Thu, 01 Oct 2009 01:14:03 -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 :content-transfer-encoding; bh=o5/JTevH3QttvxEd1ZwmuzonBxUUG7B4MeBaUoGhDNI=; b=rVhuPnEjlkQ0wCy1yeWP8BOZsJa8rBkaxGQ6PFUVzUd51/T7EuFLjeThRgNVv84IZw U8BqnHZ68NF/Hz22Deyla41eQCmXdLZ1OuRn3t+EkCRFKMLM6PMPcvj2hJkFqM/XKZG+ j0kB5Hfx6trpd+8XuFKHisBxmge2N9sLQVpPM= 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:content-transfer-encoding; b=j5RHsi6o0VwJyYuKTHIN1pzUN9W31+yVl+kRvIL0fIHr02Ew/w4VPJ+p/tlgdiiq5m 1o10zlV64+afHDZ7dCsaIN09lFCZ67EAFuVIx1yaQJRt81twPHwcqa0gCfyRHX7NA4dm TeH6F0/OswoeYW09AflwpXBXQ3cgKiuPsJztI= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id c39mr1683738ybd.338.1254384842999; Thu, 01 Oct 2009 01:14:02 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Thu, 1 Oct 2009 01:14:02 -0700 Message-ID: <[email protected]> Subject: Re: HBase configuration... From: Ryan Rawson <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org That seems reasonable, although the nice thing about /tmp is how universal it is :-) On Thu, Oct 1, 2009 at 1:05 AM, stephen mulcahy <[email protected]> wrote: > Ryan Rawson wrote: >> >> yes, the standalone version uses file:///tmp to store data, to allow >> people to get up and running without HDFS. =A0And you are exactly >> correct, with /tmp being cleaned on reboot on many distros. =A0Grep for >> /tmp in hbase-default.xml to find the setting. > > Would it be better to default this directory to /var/tmp which would achi= eve > the same goal of allowing people to quickly get up and running but might > avoid some of the confusion of their HDFS disappearing on reboot (speakin= g > as one recently confused in such a manner ;) > > -stephen > > -- > Stephen Mulcahy, DI2, Digital Enterprise Research Institute, > NUI Galway, IDA Business Park, Lower Dangan, Galway, Ireland > http://di2.deri.ie =A0 =A0http://webstar.deri.ie =A0 =A0http://sindice.co= m > From [email protected] Thu Oct 01 17:50:15 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87299 invoked from network); 1 Oct 2009 17:50:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Oct 2009 17:50:15 -0000 Received: (qmail 18891 invoked by uid 500); 1 Oct 2009 17:50:15 -0000 Delivered-To: [email protected] Received: (qmail 18836 invoked by uid 500); 1 Oct 2009 17:50:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 18826 invoked by uid 99); 1 Oct 2009 17:50:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 17:50:14 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO mrout2.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 17:50:04 +0000 Received: from [161.129.204.104] (wifi-e-135-251.corp.yahoo.com [161.129.204.104]) by mrout2.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id n91HlwP8088140; Thu, 1 Oct 2009 10:47:58 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 01 Oct 2009 10:47:58 -0700 From: Patrick Hunt <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20090817) MIME-Version: 1.0 To: [email protected] Subject: question on slf4j and Hadoop Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I was watching this recently, it's very interesting: http://www.java-tv.com/2009/09/24/slf4j-and-logback-projects/ slf4j has some very nice properties, not the least that it solves some problems like simplifying integration of apps that use different logging systems. I had noticed that Avro uses slf4j, and that Hadoop in general has it as part of the ivy config (although the code is still log4j based). Is the intent to move all of Hadoop to slf4j over time? Patrick From [email protected] Thu Oct 01 20:00:41 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40180 invoked from network); 1 Oct 2009 20:00:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Oct 2009 20:00:41 -0000 Received: (qmail 21198 invoked by uid 500); 1 Oct 2009 20:00:40 -0000 Delivered-To: [email protected] Received: (qmail 21106 invoked by uid 500); 1 Oct 2009 20:00:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 21091 invoked by uid 99); 1 Oct 2009 20:00:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 20:00:39 +0000 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS,SUBJ_ALL_CAPS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f222.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 20:00:30 +0000 Received: by fxm22 with SMTP id 22so495949fxm.36 for <[email protected]>; Thu, 01 Oct 2009 13:00:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=wpb6bAlHPHQrVDJ5Cf05PDKEg4aUyeBC8/JVcufzxlc=; b=EI28otesQ7oNzRR2JosuKjq2r+0g38mjsCZ//ygb9pnCJwY1Z7W3JPZ0btDbcOlBhE O6UxtKJONkCx9Mq4wJ2IV3mog5Fu+W9hC9CirTEi0V7UGXB1w5OzQ9oW9PgiV+9At8ur 2gd78pGoPT5mhE5GhmJu4zpzqJpcOaZaRGjSE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=iplu/J/1vMIsLC1lMyiHgrXHnjLTva4sKyKxVrAeRko4PUGYQCh9tLlFcmOVCdslFx 9/idTi16XgWb5hXYnP8kNgTfCKGlEtACyam9V2lMG50BnYQgI1W3ZskNpGilcZfbuTF6 WNkorFQu3FVxxQWYO9Hf7Ovahc4BauywCXRHE= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id d5mr587872mul.131.1254427209671; Thu, 01 Oct 2009 13:00:09 -0700 (PDT) Date: Thu, 1 Oct 2009 22:00:09 +0200 Message-ID: <[email protected]> Subject: CHANGING FINAL OUTPUT FILE NAME From: Alberto Luengo Cabanillas <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016e65aeee83aa5000474e518b3 X-Virus-Checked: Checked by ClamAV on apache.org --0016e65aeee83aa5000474e518b3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi everyone! I have a newbie question: I=B4m actually using Hadoop 0.20.1 a= nd I=B4d like to know how can I change the name of the resulting file with the one I want (i.e from "part-r-00000" to "myoutput"). I=B4ve found something related in JIRA (https://issues.apache.org/jira/browse/MAPREDUCE-370) but I don=B4t know for sure i that is my problem too. In this case, do I apply th= e patch over the affected file and I=B4m ready to go or do I need to do something more later? Thanks a lot! --=20 Alberto --0016e65aeee83aa5000474e518b3-- From [email protected] Fri Oct 02 01:05:38 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47188 invoked from network); 2 Oct 2009 01:05:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Oct 2009 01:05:37 -0000 Received: (qmail 66731 invoked by uid 500); 2 Oct 2009 01:05:37 -0000 Delivered-To: [email protected] Received: (qmail 66660 invoked by uid 500); 2 Oct 2009 01:05:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 66650 invoked by uid 99); 2 Oct 2009 01:05:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 01:05:36 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-vw0-f198.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 01:05:26 +0000 Received: by vws36 with SMTP id 36so375636vws.29 for <[email protected]>; Thu, 01 Oct 2009 18:05:04 -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=aAKNQ+ApbLKxXHmPKZRzrWQvqNd/4tj6zkq/ZJpAwvU=; b=hzpRxC1Td8LC5sQbetgl1urIThAAQcCnMaa9jK2npdH400YuKaRdiLSOxUhrNH+MLJ dhjd73odr+M/dGKBuQQpYP8+0F+AHEjXdBbEeWSKgwkfKlJNapwEoyIEc7Qp0sVK/JUu e0nJDCImDnLuhAkeIet2lsf4dvBttUm8iO+4w= 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=uYKYP9BgjXJsUT+quO3iHmsZb3IqE2dyf8BSapn++pxA2o4TxpeV8D32ZPnqWIN/kz V+yR19EK3aD89lElnXBhb0W/BHgYfLOuSktzO1MULqkRWwaoU6VJSz5diEfVkeqjl2kF XBj6vp/GXNER9hjlE3mCruXZ/QkNLw9XLLEls= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id z41mr3569245vci.31.1254445504654; Thu, 01 Oct 2009 18:05:04 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Thu, 1 Oct 2009 18:05:04 -0700 Message-ID: <[email protected]> Subject: Re: CHANGING FINAL OUTPUT FILE NAME From: Jason Venner <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016e6475626b1ed620474e95ae1 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6475626b1ed620474e95ae1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I see these ways to go here. 1. The one I know to work is to create a recordwriter in the configure method of your task, in the per task work/output directory, and then ren= ame it to your chosen name in the close. your task calls write on the recordwriter directly instead of output.collect 2. Use the multi output format 3. in the close method of the task, rename the part-xxx to your name. I am not certain that this is safe in the close method of the task 4. define a custom OutputCommitter class which renames the file to your chosen name. On Thu, Oct 1, 2009 at 1:00 PM, Alberto Luengo Cabanillas <[email protected]= m > wrote: > Hi everyone! I have a newbie question: I=B4m actually using Hadoop 0.20.1= and > I=B4d like to know how can I change the name of the resulting file with t= he > one I want (i.e from "part-r-00000" to "myoutput"). I=B4ve found somethin= g > related in JIRA (https://issues.apache.org/jira/browse/MAPREDUCE-370) but > I > don=B4t know for sure i that is my problem too. In this case, do I apply = the > patch over the affected file and I=B4m ready to go or do I need to do > something more later? > Thanks a lot! > > -- > Alberto > --=20 Pro Hadoop, a book to guide you from beginner to hadoop mastery, http://www.amazon.com/dp/1430219424?tag=3Djewlerymall www.prohadoopbook.com a community for Hadoop Professionals --0016e6475626b1ed620474e95ae1-- From [email protected] Fri Oct 02 07:50:02 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34581 invoked from network); 2 Oct 2009 07:50:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Oct 2009 07:50:02 -0000 Received: (qmail 8138 invoked by uid 500); 2 Oct 2009 07:50:01 -0000 Delivered-To: [email protected] Received: (qmail 8076 invoked by uid 500); 2 Oct 2009 07:50:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 8066 invoked by uid 99); 2 Oct 2009 07:50:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 07:50:01 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO colossus.hpl.hp.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 07:49:49 +0000 Received: from localhost (localhost [161.129.204.104]) by colossus.hpl.hp.com (Postfix) with ESMTP id 636CA1BA448 for <[email protected]>; Fri, 2 Oct 2009 08:49:27 +0100 (BST) X-Virus-Scanned: Debian [email protected] Received: from colossus.hpl.hp.com ([161.129.204.104]) by localhost (colossus.hpl.hp.com [161.129.204.104]) (amavisd-new, port 10024) with LMTP id Mfn6Cq74t2Cj for <[email protected]>; Fri, 2 Oct 2009 08:49:27 +0100 (BST) Received: from 0-imap-br1.hpl.hp.com (0-imap-br1.hpl.hp.com [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by colossus.hpl.hp.com (Postfix) with ESMTPS id DB6BF1BA2F2 for <[email protected]>; Fri, 2 Oct 2009 08:49:26 +0100 (BST) MailScanner-NULL-Check: 1255074554.29463@yzWtbVzO16YiKIWarRUKIw Received: from [161.129.204.104] (morzine.hpl.hp.com [161.129.204.104]) by 0-imap-br1.hpl.hp.com (8.14.1/8.13.4) with ESMTP id n927nC7d003412 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <[email protected]>; Fri, 2 Oct 2009 08:49:13 +0100 (BST) Message-ID: <[email protected]> Date: Fri, 02 Oct 2009 08:49:12 +0100 From: Steve Loughran <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20090812) MIME-Version: 1.0 To: [email protected] Subject: Re: question on slf4j and Hadoop References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPL-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: n927nC7d003412 X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org Patrick Hunt wrote: > I was watching this recently, it's very interesting: > http://www.java-tv.com/2009/09/24/slf4j-and-logback-projects/ > slf4j has some very nice properties, not the least that it solves some > problems like simplifying integration of apps that use different logging > systems. > > I had noticed that Avro uses slf4j, and that Hadoop in general has it as > part of the ivy config (although the code is still log4j based). Is the > intent to move all of Hadoop to slf4j over time? > > Patrick SLF4J is there because jetty uses it. If it had stayed with commons-logging it would be that much easier to run different logging back ends, as it is I have to have two different bridge libraries to integrate hadoop logging with where the data goes in my clusters. From [email protected] Fri Oct 02 08:15:02 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43003 invoked from network); 2 Oct 2009 08:15:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Oct 2009 08:15:02 -0000 Received: (qmail 40246 invoked by uid 500); 2 Oct 2009 08:15:01 -0000 Delivered-To: [email protected] Received: (qmail 40173 invoked by uid 500); 2 Oct 2009 08:15:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 40163 invoked by uid 99); 2 Oct 2009 08:15:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 08:15:01 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f222.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 08:14:51 +0000 Received: by bwz22 with SMTP id 22so737112bwz.29 for <[email protected]>; Fri, 02 Oct 2009 01:14:30 -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=GQVzeXTE34JVg+p+afkiBpmAurSTP6Tz/GYqNMHWTok=; b=ikqRT8XEnTuBqpq0EV27NaoWXWDkaB2/0dqgqgumGlqsm94zIUWpf5qXMK7c7WfD2k Xi5aXHEKPsqchRONtcDUq5vKAgZNNz2aWP5Xc80x8xbvn+i/jisdwo+YDEk4kANyMa1O G0rLiaLQv45ssk93IxNAi5r0B6Nbxyrb3u96A= 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=MmvdTO32nsrzdNhMRR5x0Ai2NS+ReclIUijYzBx4Hr5udH0VESA/FJM8t8Jhd4QYDz RA/cY/d/a7adPd18S5TVaR3AV7rce5wan1MBbp/X9FC0gAAWhhfqKph6dP3KtAnnXwwb Zz1tBm6vonReF09WqMjZAzg5xAaFwnb9m5Ivc= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id a11mr849822muf.129.1254471270575; Fri, 02 Oct 2009 01:14:30 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Fri, 2 Oct 2009 10:14:30 +0200 Message-ID: <[email protected]> Subject: Re: CHANGING FINAL OUTPUT FILE NAME From: Alberto Luengo Cabanillas <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00163641797d76adae0474ef5a2f X-Virus-Checked: Checked by ClamAV on apache.org --00163641797d76adae0474ef5a2f Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks for the reply Jason. I=B4ll try these solutions. 2009/10/2 Jason Venner <[email protected]> > I see these ways to go here. > > 1. The one I know to work is to create a recordwriter in the configure > method of your task, in the per task work/output directory, and then > rename > it to your chosen name in the close. your task calls write on the > recordwriter directly instead of output.collect > 2. Use the multi output format > 3. in the close method of the task, rename the part-xxx to your name. I > am not certain that this is safe in the close method of the task > 4. define a custom OutputCommitter class which renames the file to your > chosen name. > > > > > On Thu, Oct 1, 2009 at 1:00 PM, Alberto Luengo Cabanillas < > [email protected] > > wrote: > > > Hi everyone! I have a newbie question: I=B4m actually using Hadoop 0.20= .1 > and > > I=B4d like to know how can I change the name of the resulting file with= the > > one I want (i.e from "part-r-00000" to "myoutput"). I=B4ve found someth= ing > > related in JIRA (https://issues.apache.org/jira/browse/MAPREDUCE-370) > but > > I > > don=B4t know for sure i that is my problem too. In this case, do I appl= y > the > > patch over the affected file and I=B4m ready to go or do I need to do > > something more later? > > Thanks a lot! > > > > -- > > Alberto > > > > > > -- > Pro Hadoop, a book to guide you from beginner to hadoop mastery, > http://www.amazon.com/dp/1430219424?tag=3Djewlerymall > www.prohadoopbook.com a community for Hadoop Professionals > --=20 Alberto --00163641797d76adae0474ef5a2f-- From [email protected] Fri Oct 02 08:28:31 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45519 invoked from network); 2 Oct 2009 08:28:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Oct 2009 08:28:31 -0000 Received: (qmail 57017 invoked by uid 500); 2 Oct 2009 08:28:30 -0000 Delivered-To: [email protected] Received: (qmail 56934 invoked by uid 500); 2 Oct 2009 08:28:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 56924 invoked by uid 99); 2 Oct 2009 08:28:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 08:28:30 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f222.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 08:28:20 +0000 Received: by bwz22 with SMTP id 22so744755bwz.29 for <[email protected]>; Fri, 02 Oct 2009 01:27:59 -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=uIvl9EtltiKZ4mprJiUbuGhe3kK6oD32MoBk1/cwweE=; b=vZ+kG5lsyCInlPJK0TODz3NV0fxxin6JCYMhzsNFH+XZA/8aec7PBv1tBEXNXMfw9o CNxw/L9iBHNhmKMQaa/wM5AId3tgCmILQDfcK2dfVWHPMPjw/asd89pig3zQVBO5fqaa giKOMnyY85sD0YbZzdZtIaHIOU79pNVH+WrNw= 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=mG6sqDkq5/VTfAYA7SHNSvmtpQL39+xgZLLP+G/r9sxFjCoxyhrz1tlNeGmpE7pg1o v5BOBozmsP6GcUeA7vS0ZQotYtN8UZGA7AS1GZRY8oDZuXlbgk1XZRjXojUgdWoCo5Rk aNHqyZWbu65ysq7Ojn4mgmu1RRKeXymHUOpyo= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id c10mr682286fai.73.1254472079429; Fri, 02 Oct 2009 01:27:59 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Fri, 2 Oct 2009 10:27:59 +0200 Message-ID: <[email protected]> Subject: Re: question on slf4j and Hadoop From: tim robertson <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org I could be wrong on this, but something to take into account with slf4j... I have seen a few projects that logged a custom MessageObject which different appenders do differing things with. E.g. a file appender will toString() it, but a custom DB appender might use the object properties and a prepared statement. I believe slf4j will call the toString() before it reachers your appenders so it breaks this functionality. Disclaimer: I really may be wrong, but I certainly saw this behavior and reverted to commons logging on those projects, and it could be that slf4j now respects the original method signatures are (e.g.) log.info(Object) and not log.info(String) On Fri, Oct 2, 2009 at 9:49 AM, Steve Loughran <[email protected]> wrote: > Patrick Hunt wrote: >> >> I was watching this recently, it's very interesting: >> http://www.java-tv.com/2009/09/24/slf4j-and-logback-projects/ >> slf4j has some very nice properties, not the least that it solves some >> problems like simplifying integration of apps that use different logging >> systems. >> >> I had noticed that Avro uses slf4j, and that Hadoop in general has it as >> part of the ivy config (although the code is still log4j based). Is the >> intent to move all of Hadoop to slf4j over time? >> >> Patrick > > SLF4J is there because jetty uses it. If it had stayed with commons-logging > it would be that much easier to run different logging back ends, as it is I > have to have two different bridge libraries to integrate hadoop logging with > where the data goes in my clusters. > From [email protected] Fri Oct 02 15:27:45 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70920 invoked from network); 2 Oct 2009 15:27:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Oct 2009 15:27:45 -0000 Received: (qmail 32980 invoked by uid 500); 2 Oct 2009 15:27:44 -0000 Delivered-To: [email protected] Received: (qmail 32895 invoked by uid 500); 2 Oct 2009 15:27:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32885 invoked by uid 99); 2 Oct 2009 15:27:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 15:27:44 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f222.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 15:27:33 +0000 Received: by bwz22 with SMTP id 22so1066836bwz.29 for <[email protected]>; Fri, 02 Oct 2009 08:27:13 -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=XcDiQ47gXpu2jwB9D6a8Hl3JjmAg1dLvwtFaIbM42rA=; b=jodj9JBPSOH4oFqJdSCHKeQG3XWo2fSbXnZl9QmRIkhbO+ZJB3jA8wdp5xLlVUlc88 mtac+NuH8ef3JxhxuO0IXLfr9vvVmoo6gbDLQrnWcjU3ENWuY9YsfxyOBpwT0NhKAmJU 9ZIJw8g+3/GPLnjUHn++JQmBOIw6lSGKGT1EE= 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=T+zD6AcFYZFVCjYaQqk7MiwxYHT0eVKwU2XhTQfzl3NkbklnLx170dx1LAac1iOwQE pzmHy8GPratexMmF7ZIbsu2Cvuoq+38Yy6qFZirvhOBQJPSr+R/OOybwj/ilqzlegHd9 YHE9PD7EkVTcu/kePy9wtL7DsKU+dJKt+Dvyk= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id a11mr1045632muf.129.1254497232751; Fri, 02 Oct 2009 08:27:12 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Fri, 2 Oct 2009 17:27:12 +0200 Message-ID: <[email protected]> Subject: Re: CHANGING FINAL OUTPUT FILE NAME From: Alberto Luengo Cabanillas <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00163641797dee0b300474f5653a X-Virus-Checked: Checked by ClamAV on apache.org --00163641797dee0b300474f5653a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi again! I=B4ve been trying to apply the first of the solutions Jason proposed two mails ago, but I have some questions about it: 1.-In Hadoop 0.20.1 "RecordWriter" is an abstract class, so it can=B4t be instantiated. 2.- The "configure" and "close" methods of my task you refer are the "configure" and "close" methods used in the Reducer? It would help a lot if you=B4d put some code instructions (only the ones reffering to this issue) so I can have a better point of view. Finally, I=B4d like to show my close method in my reducer class, because I = use a different approach and I can=B4t see why it fails: *@Override protected void cleanup(Context cont) throws IOException { //write output to a file Configuration conf =3D new Configuration(); JobContext jCont =3D new JobContext(conf, null); FileSystem fs =3D FileSystem.get(jCont.getConfiguration()); Path outDir =3D new Path("/user/hadoop-user/output", "output"); Path outFile =3D new Path(outDir, "reduce-out"); SequenceFile.Writer writer =3D SequenceFile.createWriter(fs, conf, outFile, LongWritable.class, LongWritable.class, CompressionType.NONE); writer.append(new Text(keyword), new IntWritable(fitnessValue)); writer.close(); } * Thanks a lot in advance! 2009/10/2 Jason Venner <[email protected]> > I see these ways to go here. > > 1. The one I know to work is to create a recordwriter in the configure > method of your task, in the per task work/output directory, and then > rename > it to your chosen name in the close. your task calls write on the > recordwriter directly instead of output.collect > 2. Use the multi output format > 3. in the close method of the task, rename the part-xxx to your name. I > am not certain that this is safe in the close method of the task > 4. define a custom OutputCommitter class which renames the file to your > chosen name. > > > > > On Thu, Oct 1, 2009 at 1:00 PM, Alberto Luengo Cabanillas < > [email protected] > > wrote: > > > Hi everyone! I have a newbie question: I=B4m actually using Hadoop 0.20= .1 > and > > I=B4d like to know how can I change the name of the resulting file with= the > > one I want (i.e from "part-r-00000" to "myoutput"). I=B4ve found someth= ing > > related in JIRA (https://issues.apache.org/jira/browse/MAPREDUCE-370) > but > > I > > don=B4t know for sure i that is my problem too. In this case, do I appl= y > the > > patch over the affected file and I=B4m ready to go or do I need to do > > something more later? > > Thanks a lot! > > > > -- > > Alberto > > > > > > -- > Pro Hadoop, a book to guide you from beginner to hadoop mastery, > http://www.amazon.com/dp/1430219424?tag=3Djewlerymall > www.prohadoopbook.com a community for Hadoop Professionals > --=20 Alberto --00163641797dee0b300474f5653a-- From [email protected] Fri Oct 02 21:41:51 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90023 invoked from network); 2 Oct 2009 21:41:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Oct 2009 21:41:51 -0000 Received: (qmail 98297 invoked by uid 500); 2 Oct 2009 21:41:48 -0000 Delivered-To: [email protected] Received: (qmail 98145 invoked by uid 500); 2 Oct 2009 21:41:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 98062 invoked by uid 99); 2 Oct 2009 21:41:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 21:41:48 +0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=NO_RDNS_DOTCOM_HELO,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mrout1.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 21:41:35 +0000 Received: from sp1-ex07cas03.ds.corp.yahoo.com (sp1-ex07cas03.ds.corp.yahoo.com [161.129.204.104]) by mrout1.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id n92Lf5ix040365; Fri, 2 Oct 2009 14:41:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=received:from:to:date:subject:thread-topic:thread-index: message-id:references:accept-language:content-language: x-ms-has-attach:x-ms-tnef-correlator:acceptlanguage:content-type: content-transfer-encoding:mime-version; b=RvzyT/WRwZ4WSSNMMeCWhZWBrjUrYP7suZW8q8y8nZOwUi934HqPkTvPYHjSiE4L Received: from SP1-EX07VS01.ds.corp.yahoo.com ([161.129.204.104]) by sp1-ex07cas03.ds.corp.yahoo.com ([161.129.204.104]) with mapi; Fri, 2 Oct 2009 14:41:08 -0700 From: Dekel Tankel <[email protected]> To: "[email protected]" <[email protected]>, "[email protected]" <[email protected]> Date: Fri, 2 Oct 2009 14:41:05 -0700 Subject: Hadoop User Group (Bay Area) - Oct 21st at Yahoo! Thread-Topic: Hadoop User Group (Bay Area) - Oct 21st at Yahoo! Thread-Index: AcoSMRRU8X5auVLKR8ufbpFTQi1hLgQXaiyQCEZs4pA= Message-ID: <[email protected]> References: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi all, RSVP is now open for the next monthly Bay Area Hadoop user group at the Yah= oo! Sunnyvale Campus, planed for Oct 21st. Registration is available here http://www.meetup.com/hadoop/calendar/11532125/ We would be interested to explore additional Hadoop and/or related technolo= gies use-cases like Ken provided us in the last event (thank you Ken, very = impressive!) allowing all of us to learn from each other. If you are interested to present, please send me an email with a short desc= ription. Looking forward to seeing you at Oct 21st Dekel From [email protected] Sun Oct 04 10:21:38 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61339 invoked from network); 4 Oct 2009 10:21:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Oct 2009 10:21:37 -0000 Received: (qmail 27090 invoked by uid 500); 4 Oct 2009 10:21:37 -0000 Delivered-To: [email protected] Received: (qmail 27015 invoked by uid 500); 4 Oct 2009 10:21:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 27005 invoked by uid 99); 4 Oct 2009 10:21:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Oct 2009 10:21:36 +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: local policy) Received: from [161.129.204.104] (HELO mail-yx0-f194.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Oct 2009 10:21:24 +0000 Received: by yxe32 with SMTP id 32so2530145yxe.5 for <[email protected]>; Sun, 04 Oct 2009 03:20:02 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id e16mr4440427anm.84.1254651602266; Sun, 04 Oct 2009 03:20:02 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> From: Chandan Tamrakar <[email protected]> Date: Sun, 4 Oct 2009 16:04:42 +0545 Message-ID: <[email protected]> Subject: Re: Integrating Lucene in Hadoop To: [email protected] Content-Type: multipart/alternative; boundary=001636ed706311eaaf04751957f8 X-Virus-Checked: Checked by ClamAV on apache.org --001636ed706311eaaf04751957f8 Content-Type: text/plain; charset=ISO-8859-1 thanks jason In my case lucene indexes needs to be accessed thru .net code ( simple search interfaces) so should I use solr-1301 patch to index the documents and then move the indexes from HDFS to Local file system so that .net interface could access and query the indexes directly ? Will this be a better approach ? alternatively we might need some sort of web service that could read/query from index in hdfs and would be called by .net front end UI. will very much appreciate the suggestions thanks On Mon, Sep 28, 2009 at 10:15 AM, Jason Venner <[email protected]>wrote: > Katta is a tool for managing distributed search, which happens by default > to > use lucene as it' search engine. > Katta is able to read indexes from hdfs, or s3, that katta then deploys > onto > the local disk of the katta nodes. > > The contrib directory of the hadoop installation contains a tool for > building lucene indexes, and patch solr-1395, provides an integration of > solr with katta, and patch solr-1301 provides a simple way of building solr > indexes in hadoop (as a parallel to the contrib lucene index build tool). > > > > On Fri, Sep 25, 2009 at 1:13 AM, Chandan Tamrakar < > [email protected]> wrote: > > > I was doing few R&D on integrating hadoop and Lucene . I could create > > lucene indexes into HDFS using index contribution provided for Hadoop > > > > > > > > Is this a proper way to create Lucene index how much it is different from > a > > project KATTA ? > > > > > > > > Please suggest what would be the better approach to create distributed > > lucene indexes > > > > > > > > Thanks in advance > > > > > > > -- > Pro Hadoop, a book to guide you from beginner to hadoop mastery, > http://www.amazon.com/dp/1430219424?tag=jewlerymall > www.prohadoopbook.com a community for Hadoop Professionals > -- Chandan Tamrakar --001636ed706311eaaf04751957f8-- From [email protected] Sun Oct 04 11:20:12 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68411 invoked from network); 4 Oct 2009 11:20:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Oct 2009 11:20:12 -0000 Received: (qmail 56509 invoked by uid 500); 4 Oct 2009 11:20:12 -0000 Delivered-To: [email protected] Received: (qmail 56427 invoked by uid 500); 4 Oct 2009 11:20:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 56417 invoked by uid 99); 4 Oct 2009 11:20:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Oct 2009 11:20:11 +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: local policy) Received: from [161.129.204.104] (HELO mail-pz0-f195.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Oct 2009 11:20:00 +0000 Received: by pzk33 with SMTP id 33so2606922pzk.2 for <[email protected]>; Sun, 04 Oct 2009 04:19:39 -0700 (PDT) Received: by 161.129.204.104 with SMTP id a23mr6970885wai.155.1254655179546; Sun, 04 Oct 2009 04:19:39 -0700 (PDT) Received: from nsf264fa356e37 ([161.129.204.104]) by mx.google.com with ESMTPS id 23sm1899034pzk.8.2161.129.204.104.19.37 (version=SSLv3 cipher=RC4-MD5); Sun, 04 Oct 2009 04:19:39 -0700 (PDT) From: "Chandan Tamrakar" <[email protected]> To: <[email protected]> Subject: katta and hadoop index contrib Date: Sun, 4 Oct 2009 17:04:18 +0545 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_002D_01CA4514.B8813B60" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcpE5INtMBUYiVxMTsSECZRm1EyVEQ== Content-Language: en-us X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_002D_01CA4514.B8813B60 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I was using the hadoop.contrib.index code and was able to make a distributed Lucene index Could then search over that index while it is still in hdfs Does the Katta project uses same hadoop index-contrib to index the documents ? I found that there are also contributions solr-1395 and solr-1301 ( solr -hadoop ) what would be the best approach to begin with Thanks ------=_NextPart_000_002D_01CA4514.B8813B60-- From [email protected] Sun Oct 04 11:28:19 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69696 invoked from network); 4 Oct 2009 11:28:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Oct 2009 11:28:18 -0000 Received: (qmail 60771 invoked by uid 500); 4 Oct 2009 11:28:18 -0000 Delivered-To: [email protected] Received: (qmail 60704 invoked by uid 500); 4 Oct 2009 11:28:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 60692 invoked by uid 99); 4 Oct 2009 11:28:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Oct 2009 11:28:18 +0000 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-px0-f197.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Oct 2009 11:28:07 +0000 Received: by pxi35 with SMTP id 35so2353070pxi.2 for <[email protected]>; Sun, 04 Oct 2009 04:27:45 -0700 (PDT) Received: by 161.129.204.104 with SMTP id a23mr6970885wai.155.1254655179546; Sun, 04 Oct 2009 04:19:39 -0700 (PDT) Received: from nsf264fa356e37 ([161.129.204.104]) by mx.google.com with ESMTPS id 23sm1899034pzk.8.2161.129.204.104.19.37 (version=SSLv3 cipher=RC4-MD5); Sun, 04 Oct 2009 04:19:39 -0700 (PDT) From: "Chandan Tamrakar" <[email protected]> To: <[email protected]> Subject: katta and hadoop index contrib Date: Sun, 4 Oct 2009 17:04:18 +0545 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_002D_01CA4514.B8813B60" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcpE5INtMBUYiVxMTsSECZRm1EyVEQ== Content-Language: en-us X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_002D_01CA4514.B8813B60 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I was using the hadoop.contrib.index code and was able to make a distributed Lucene index Could then search over that index while it is still in hdfs Does the Katta project uses same hadoop index-contrib to index the documents ? I found that there are also contributions solr-1395 and solr-1301 ( solr -hadoop ) what would be the best approach to begin with Thanks ------=_NextPart_000_002D_01CA4514.B8813B60-- From [email protected] Mon Oct 05 03:48:54 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52961 invoked from network); 5 Oct 2009 03:48:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Oct 2009 03:48:54 -0000 Received: (qmail 67049 invoked by uid 500); 5 Oct 2009 03:48:54 -0000 Delivered-To: [email protected] Received: (qmail 66924 invoked by uid 500); 5 Oct 2009 03:48:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 66914 invoked by uid 99); 5 Oct 2009 03:48:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 03:48:53 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-vw0-f198.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 03:48:42 +0000 Received: by vws36 with SMTP id 36so1567126vws.29 for <[email protected]>; Sun, 04 Oct 2009 20:47:21 -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=lUU6qXjxvs+3p6p+PL9Xz/NtvPsNKXueTBwOcvWZwJs=; b=QorQh0hw3Id1uf0b4ent35FfKbBh+5W8DNuFD43h1PA99FEM6R2y5q9LFSh4181QAc oK2rdZ7qZEzVQToVRKSgoOYCono8hifHg2GVYNuEju2p0/3ojAU7kPyDIwZPusafs/PR XqcpqFW5koNos7JPGVtka+0B+bZ6HyKIH3Qgg= 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=Npl48W7CT3lveSGvxLQLPHUr8aRuJZ1sEHBaOjIOrhcW9YePhFt6jz9nRe0c2LeBb9 k7zyt2JmpD5BCw3EzlMDfnAw8o2HU3IfLpSCFPaPVtXGlCNE7I+lRiZcznR8biO/xm6K /WmroJ8Co4EM3CPtPGFlU0umPhZ0pa9NzCuos= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id z41mr8994574vci.31.1254714441368; Sun, 04 Oct 2009 20:47:21 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Sun, 4 Oct 2009 20:47:21 -0700 Message-ID: <[email protected]> Subject: Re: katta and hadoop index contrib From: Jason Venner <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016e64756269285ea047527f857 X-Virus-Checked: Checked by ClamAV on apache.org --0016e64756269285ea047527f857 Content-Type: text/plain; charset=ISO-8859-1 Currently Katta, will pull the index out of HDFS and deploy it on local disk. HDFS is not known for low latency random access, and index lookups generally require low latency random access. I seem to remember that someone had a patch that allowed lucene to directly access files in hdfs for the index, for readon ly access, but I do not remember the reference. On Sun, Oct 4, 2009 at 4:19 AM, Chandan Tamrakar < [email protected]> wrote: > I was using the hadoop.contrib.index code and was able to make a > distributed Lucene index > > Could then search over that index while it is still in hdfs > > > > Does the Katta project uses same hadoop index-contrib to index the > documents ? > > > > I found that there are also contributions solr-1395 and solr-1301 ( solr > -hadoop ) what would be the best approach to begin with > > > > > > > > Thanks > > > > > > -- Pro Hadoop, a book to guide you from beginner to hadoop mastery, http://www.amazon.com/dp/1430219424?tag=jewlerymall www.prohadoopbook.com a community for Hadoop Professionals --0016e64756269285ea047527f857-- From [email protected] Mon Oct 05 03:49:44 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53150 invoked from network); 5 Oct 2009 03:49:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Oct 2009 03:49:44 -0000 Received: (qmail 67692 invoked by uid 500); 5 Oct 2009 03:49:43 -0000 Delivered-To: [email protected] Received: (qmail 67602 invoked by uid 500); 5 Oct 2009 03:49:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 67592 invoked by uid 99); 5 Oct 2009 03:49:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 03:49:43 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-vw0-f198.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 03:49:32 +0000 Received: by mail-vw0-f198.google.com with SMTP id 36so1567126vws.29 for <[email protected]>; Sun, 04 Oct 2009 20:49:12 -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=uPoQClyPiCy1s92AnhrGjyqNuZWzJnQb2JWNmObyhAM=; b=ud0uxMUvAorrHX6hWW7KSTMGdUiGwe7vx/QLvOdvMak0jnpYLPuUv3yMEwG18PzceC X6mydF5vsCnI55UHrlSeA2GcAPFWfwv6MKP7ZlSifcfuy00ONdVW16UShm8YzEMbbnTE MmAZUgBG+zCJE+JxX3ZicjB3HSYIVjZ8QFDo8= 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=bQtxoFxUGgbDzrR1Ig3QR5c6antFwaBucpwOa7/hRba+uDRpamgrib+ynSSa8OTnQ6 I1+827Xb3VAjO4nQuM2zC2OEJvE1z82H9Rh+0NDZgf9rLQxtOAkGYJHlrbaHd6NSJNzf kHGFtZyVc1PPAplyrjUYhbLsSk9ZTzHv0K4ls= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id n19mr9150666vca.3.1254714551941; Sun, 04 Oct 2009 20:49:11 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Sun, 4 Oct 2009 20:49:11 -0700 Message-ID: <[email protected]> Subject: Re: Integrating Lucene in Hadoop From: Jason Venner <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=001485ea86b429b8eb047527fff1 X-Virus-Checked: Checked by ClamAV on apache.org --001485ea86b429b8eb047527fff1 Content-Type: text/plain; charset=ISO-8859-1 So, solr-1301 builds the solr lucene indexes, it is over kill if you are just using lucene. The contrib index build code with hadoop is sufficient. Moving the indexes to the local file system is the most simple strategy, you could try using fuse to mount hdfs as a local file system, for access as an alternative. On Sun, Oct 4, 2009 at 3:19 AM, Chandan Tamrakar < [email protected]> wrote: > thanks jason > > In my case lucene indexes needs to be accessed thru .net code ( simple > search interfaces) > so should I use solr-1301 patch to index the documents and then move the > indexes from HDFS to Local file system so that .net interface could access > and query the indexes directly ? > > Will this be a better approach ? alternatively we might need some sort of > web service that could read/query from index in hdfs and would be called > by > .net front end UI. > > will very much appreciate the suggestions > thanks > > > On Mon, Sep 28, 2009 at 10:15 AM, Jason Venner <[email protected] > >wrote: > > > Katta is a tool for managing distributed search, which happens by default > > to > > use lucene as it' search engine. > > Katta is able to read indexes from hdfs, or s3, that katta then deploys > > onto > > the local disk of the katta nodes. > > > > The contrib directory of the hadoop installation contains a tool for > > building lucene indexes, and patch solr-1395, provides an integration of > > solr with katta, and patch solr-1301 provides a simple way of building > solr > > indexes in hadoop (as a parallel to the contrib lucene index build tool). > > > > > > > > On Fri, Sep 25, 2009 at 1:13 AM, Chandan Tamrakar < > > [email protected]> wrote: > > > > > I was doing few R&D on integrating hadoop and Lucene . I could create > > > lucene indexes into HDFS using index contribution provided for Hadoop > > > > > > > > > > > > Is this a proper way to create Lucene index how much it is different > from > > a > > > project KATTA ? > > > > > > > > > > > > Please suggest what would be the better approach to create distributed > > > lucene indexes > > > > > > > > > > > > Thanks in advance > > > > > > > > > > > > -- > > Pro Hadoop, a book to guide you from beginner to hadoop mastery, > > http://www.amazon.com/dp/1430219424?tag=jewlerymall > > www.prohadoopbook.com a community for Hadoop Professionals > > > > > > -- > Chandan Tamrakar > -- Pro Hadoop, a book to guide you from beginner to hadoop mastery, http://www.amazon.com/dp/1430219424?tag=jewlerymall www.prohadoopbook.com a community for Hadoop Professionals --001485ea86b429b8eb047527fff1-- From [email protected] Mon Oct 05 16:44:00 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37203 invoked from network); 5 Oct 2009 16:44:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Oct 2009 16:44:00 -0000 Received: (qmail 61926 invoked by uid 500); 5 Oct 2009 16:43:59 -0000 Delivered-To: [email protected] Received: (qmail 61875 invoked by uid 500); 5 Oct 2009 16:43:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 61865 invoked by uid 99); 5 Oct 2009 16:43:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 16:43:58 +0000 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mrout1-b.corp.re1.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 16:43:46 +0000 Received: from oceanfarearth-lm.corp.yahoo.com (oceanfarearth-lm.corp.yahoo.com [161.129.204.104]) by mrout1-b.corp.re1.yahoo.com (8.13.8/8.13.8/y.out) with ESMTP id n95Gf9ki078106 for <[email protected]>; Mon, 5 Oct 2009 09:41:09 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=message-id:from:to:in-reply-to:content-type:mime-version: subject:date:references:x-mailer; b=yvBnWdEDiWG2YsUSRvaplW1MwvUmwixhPBldQvY2VvwmA13+ngZmKZxeT5vo/0Mi Message-Id: <[email protected]> From: Sanjay Radia <[email protected]> To: <[email protected]> In-Reply-To: <[email protected]> Content-Type: multipart/alternative; boundary=Apple-Mail-1--571721242 Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: HTTP transport? Date: Mon, 5 Oct 2009 09:41:09 -0700 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-1--571721242 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Sep 29, 2009, at 12:43 PM, Doug Cutting wrote: > Sanjay Radia wrote: > > Wrt connection pooling/async servers: Can't we use the same > libraries > > that Jetty and Tomcat use? > > Grizzly? > > Grizzly also supports HTTP. Choosing Grizzly is independent of > choosing > HTTP as a wire transport or choosing a server. > Agreed. Hence the main advantages that remain for http transport are 1) language independent spec for the protocol. The message headers will be in avro so that is easy and the message exchange should be fairly straightforward. I see this as a minor advantage for using http transport. 2) code to implement the transport in multiple languages. (2) is a significant advantage. Once we put in the security modifications, will it remain that portable? We should look at that more closely. What about out of order exchange. Will we be able to support that with http transport? sanjay --Apple-Mail-1--571721242-- From [email protected] Mon Oct 05 20:44:22 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37827 invoked from network); 5 Oct 2009 20:44:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Oct 2009 20:44:22 -0000 Received: (qmail 87668 invoked by uid 500); 5 Oct 2009 20:44:21 -0000 Delivered-To: [email protected] Received: (qmail 87591 invoked by uid 500); 5 Oct 2009 20:44:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 87581 invoked by uid 99); 5 Oct 2009 20:44:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 20:44:21 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO vc136.vc.panix.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 20:44:11 +0000 Received: from eric-sammers-macbook-pro.local (cpe-66-108-32-184.nyc.res.rr.com [161.129.204.104]) by vc136.vc.panix.com (Postfix) with ESMTP id 00DD9DC307 for <[email protected]>; Mon, 5 Oct 2009 16:43:19 -0400 (EDT) Message-ID: <[email protected]> Date: Mon, 05 Oct 2009 16:43:15 -0400 From: Eric Sammer <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Macintosh/20090812) MIME-Version: 1.0 To: [email protected] Subject: Re: HTTP transport? References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Doug Cutting wrote: > More or less. Except we can probably arrange to omit most of those > response headers except Content-Length. Are any others strictly required? Content-Type and Server are probably unavoidable. Some of the others are extremely helpful during development / debugging / etc. It depends on how "open" you are about HTTP being the transport (i.e. do you let developers augment these headers to support additional features, etc.). This may not make sense in the context of something specialized like Avro transport. > I today implemented a simple HTTP-based transport for Avro: > > https://issues.apache.org/jira/browse/AVRO-129 > > In some simple benchmarks I am able to make over 5000 sequential > RPCs/second, each with ~100 bytes of response payload. Just out of curiousity, were you using HTTP keep alive? During testing on a project a few years ago, I found a huge difference if Keep Alive is supported. In retrospect, that should have been obvious. I'd imagine the usage pattern here would be a large number of repeated calls between the same client / server within a short period of time; perfect for KA. Regards. -- Eric Sammer [email protected] http://esammer.blogspot.com From [email protected] Mon Oct 05 20:47:34 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39038 invoked from network); 5 Oct 2009 20:47:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Oct 2009 20:47:34 -0000 Received: (qmail 92632 invoked by uid 500); 5 Oct 2009 20:47:33 -0000 Delivered-To: [email protected] Received: (qmail 92566 invoked by uid 500); 5 Oct 2009 20:47:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 92556 invoked by uid 99); 5 Oct 2009 20:47:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 20:47:33 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-gx0-f220.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 20:47:23 +0000 Received: by gxk20 with SMTP id 20so3709942gxk.12 for <[email protected]>; Mon, 05 Oct 2009 13:47:03 -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=mvCVITG6K641M1Czi5SZdST1zk4U/mw9LpQkxRFEIEo=; b=IM1cNp66Q7LzjcfvD0D8OL7MhoneBellLkqAymI+0NnJLNOwy4SmMsMMlNlZL1mi29 BLgWtaKzGDQjSE8lovb5kKS/jZJ3obW7joxqULYvKZavl7QwomnWyKTSHMDlyYcLqJgO ypnefDTO69slfMwBbtYMy0zMjaIxobWp/n6qE= 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=dfj7NuzWiavI78ilpFxX67016eTt7VfG1+7s5wZoKy6Sr2jMrBFLcB5YVo7zSrcHut RmmKWL73oVVjX2IlqTTFRFIv/i3GXy4uga9bGpdSGlkeuXprekbtRONgGRNko/HwE4WH PBYcDy4S2EnxMDyiKWZMCQyL8V/GE8lMri5cU= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id y7mr764893yba.238.1254775622982; Mon, 05 Oct 2009 13:47:02 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Mon, 5 Oct 2009 13:47:02 -0700 Message-ID: <[email protected]> Subject: Re: HTTP transport? From: Ryan Rawson <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=000e0cd72d9c47dce60475363706 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd72d9c47dce60475363706 Content-Type: text/plain; charset=ISO-8859-1 I have a question about these headers... will they impact the ability to do many, but small, rpcs? Imagine you'd need to support 5,000 to 50,000 rpcs/second. Would this help or hinder? On Oct 5, 2009 4:44 PM, "Eric Sammer" <[email protected]> wrote: Doug Cutting wrote: > More or less. Except we can probably arrange to omit most of those > response... Content-Type and Server are probably unavoidable. Some of the others are extremely helpful during development / debugging / etc. It depends on how "open" you are about HTTP being the transport (i.e. do you let developers augment these headers to support additional features, etc.). This may not make sense in the context of something specialized like Avro transport. > I today implemented a simple HTTP-based transport for Avro: > > https://issues.apache.org/jira... Just out of curiousity, were you using HTTP keep alive? During testing on a project a few years ago, I found a huge difference if Keep Alive is supported. In retrospect, that should have been obvious. I'd imagine the usage pattern here would be a large number of repeated calls between the same client / server within a short period of time; perfect for KA. Regards. -- Eric Sammer [email protected] http://esammer.blogspot.com --000e0cd72d9c47dce60475363706-- From [email protected] Mon Oct 05 20:54:06 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40485 invoked from network); 5 Oct 2009 20:54:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Oct 2009 20:54:06 -0000 Received: (qmail 6286 invoked by uid 500); 5 Oct 2009 20:54:06 -0000 Delivered-To: [email protected] Received: (qmail 6221 invoked by uid 500); 5 Oct 2009 20:54:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6211 invoked by uid 99); 5 Oct 2009 20:54:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 20:54:05 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO vc136.vc.panix.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 20:53:55 +0000 Received: from eric-sammers-macbook-pro.local (cpe-66-108-32-184.nyc.res.rr.com [161.129.204.104]) by vc136.vc.panix.com (Postfix) with ESMTP id AD4F0DC307 for <[email protected]>; Mon, 5 Oct 2009 16:53:34 -0400 (EDT) Message-ID: <[email protected]> Date: Mon, 05 Oct 2009 16:53:34 -0400 From: Eric Sammer <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Macintosh/20090812) MIME-Version: 1.0 To: [email protected] Subject: Re: HTTP transport? References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Ryan: Certainly keep alive will help in this case, if that's what you're referring to. The server holds the socket for N seconds or M requests, which ever comes first. What you're saving with KA is the connection setup / tear down. If you have a lot of cases where the client makes a single request and goes away, then KA hurts because the server holds the connection for the KA timeout (N seconds). This *really* helps if you're using TLS due to the additional connection setup overhead. It's my opinion and experience that KA helps greatly in the case of many exchanges between a small to medium number of clients and a server such as RPC. The anti-example is an ad server or web beacon server, for instance. Regards. Ryan Rawson wrote: > I have a question about these headers... will they impact the ability to do > many, but small, rpcs? Imagine you'd need to support 5,000 to 50,000 > rpcs/second. Would this help or hinder? > > On Oct 5, 2009 4:44 PM, "Eric Sammer" <[email protected]> wrote: > > Doug Cutting wrote: > More or less. Except we can probably arrange to omit > most of those > response... > Content-Type and Server are probably unavoidable. Some of the others are > extremely helpful during development / debugging / etc. It depends on > how "open" you are about HTTP being the transport (i.e. do you let > developers augment these headers to support additional features, etc.). > This may not make sense in the context of something specialized like > Avro transport. > >> I today implemented a simple HTTP-based transport for Avro: > > > https://issues.apache.org/jira... > Just out of curiousity, were you using HTTP keep alive? During testing > on a project a few years ago, I found a huge difference if Keep Alive is > supported. In retrospect, that should have been obvious. I'd imagine the > usage pattern here would be a large number of repeated calls between the > same client / server within a short period of time; perfect for KA. > > Regards. > -- > Eric Sammer > [email protected] > http://esammer.blogspot.com > -- Eric Sammer [email protected] http://esammer.blogspot.com From [email protected] Mon Oct 05 20:57:54 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42465 invoked from network); 5 Oct 2009 20:57:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Oct 2009 20:57:54 -0000 Received: (qmail 12635 invoked by uid 500); 5 Oct 2009 20:57:53 -0000 Delivered-To: [email protected] Received: (qmail 12552 invoked by uid 500); 5 Oct 2009 20:57:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 12542 invoked by uid 99); 5 Oct 2009 20:57:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 20:57:53 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yw0-f189.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 20:57:43 +0000 Received: by ywh27 with SMTP id 27so7184910ywh.2 for <[email protected]>; Mon, 05 Oct 2009 13:57:22 -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=dSmOhCUKi2/rzxv6nuELiNcCjyYvrUXupqIOBkwJ078=; b=iXQU6On+D/NE8Q/XMtrphvJyHuOlVHkLdt7JIQ4utI4TVGpLj4fqnyW8pKPNpO70Qf NGXyGkQJlOAHGTTVGE15tmoaJILJLpXmvjnvLFvtam3/TmZab860pmmcvRegAzdCEFX3 6ttPEoeDGsil6cYkdkE6KfikO3w/2KEHLQoDM= 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=Am9OiOk5Q3KwAMCPzSlN1Ea2ZnVBC6BlO1DIvuHhbWgaBsJS+8QTCOjq1RnHeC3h8H 9EyGs0PyOvAhXbYGZ9GBaiIA6E64mhskZSVsMRR55YkhZW8DPiXr3JpGHaAsinPhb70B 6JarUo/yga0Lgmkm01GKXS/4vM5WTmYA+uZrk= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id k1mr857005ybb.11.1254776242728; Mon, 05 Oct 2009 13:57:22 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Mon, 5 Oct 2009 13:57:22 -0700 Message-ID: <[email protected]> Subject: Re: HTTP transport? From: Ryan Rawson <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=000e0cd5997c386dc80475365c2f X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd5997c386dc80475365c2f Content-Type: text/plain; charset=ISO-8859-1 That's good to know. I thought ka would help... but I was also talking about the overhead of a header where the payload is smaller than the framing. Eg: 8 byte requests, excluding which rpc. This seems like we could be hurt since the headers are potentially 5x the size of our payload/request params. On Oct 5, 2009 4:54 PM, "Eric Sammer" <[email protected]> wrote: Ryan: Certainly keep alive will help in this case, if that's what you're referring to. The server holds the socket for N seconds or M requests, which ever comes first. What you're saving with KA is the connection setup / tear down. If you have a lot of cases where the client makes a single request and goes away, then KA hurts because the server holds the connection for the KA timeout (N seconds). This *really* helps if you're using TLS due to the additional connection setup overhead. It's my opinion and experience that KA helps greatly in the case of many exchanges between a small to medium number of clients and a server such as RPC. The anti-example is an ad server or web beacon server, for instance. Regards. Ryan Rawson wrote: > I have a question about these headers... will they impact the ability to do > ... -- Eric Sammer [email protected] http://esammer.blogspot.com --000e0cd5997c386dc80475365c2f-- From [email protected] Mon Oct 05 21:14:53 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47570 invoked from network); 5 Oct 2009 21:14:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Oct 2009 21:14:53 -0000 Received: (qmail 46618 invoked by uid 500); 5 Oct 2009 21:14:53 -0000 Delivered-To: [email protected] Received: (qmail 46538 invoked by uid 500); 5 Oct 2009 21:14:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 46528 invoked by uid 99); 5 Oct 2009 21:14:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 21:14:52 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO vc136.vc.panix.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 21:14:42 +0000 Received: from eric-sammers-macbook-pro.local (cpe-66-108-32-184.nyc.res.rr.com [161.129.204.104]) by vc136.vc.panix.com (Postfix) with ESMTP id B70E3DC307 for <[email protected]>; Mon, 5 Oct 2009 17:13:51 -0400 (EDT) Message-ID: <[email protected]> Date: Mon, 05 Oct 2009 17:13:51 -0400 From: Eric Sammer <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Macintosh/20090812) MIME-Version: 1.0 To: [email protected] Subject: Re: HTTP transport? References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Ryan Rawson wrote: > That's good to know. I thought ka would help... but I was also talking about > the overhead of a header where the payload is smaller than the framing. Eg: > 8 byte requests, excluding which rpc. This seems like we could be hurt since > the headers are potentially 5x the size of our payload/request params. > Oh, got you. That's the classic SOAP problem. ;) I think it's possible, but to what degree I couldn't be sure. HTTP has that kind of overhead because of the generality. I think you'd get that with anything that isn't specifically designed to be wire efficient. Of course, you wind up having to do what Doug originally mentioned; rebuilding and maintaining the original stuff that HTTP (and the supporting clients) already supports. If over-optimization is in fact the root of all evil (which I've heard once or twice) then maybe it makes sense to start simple and iterate if necessary. In other words, say screw it, use HTTP, strip unnecessary headers, but design the code such that Avro's transport is interface based in case it needs to change. I think prototyping an Avro transport with HTTP, optimizing, and then dropping lower level if necessary is a better approach than going straight to the latter. All of that said, I don't have the insight into the code base that some of the other folks do. This is based on my experience with similar high throughput systems, but I wouldn't say I'm 100% convinced it applies here as the payloads in those systems were bigger than 8 bytes. -- Eric Sammer [email protected] http://esammer.blogspot.com From [email protected] Mon Oct 05 23:48:50 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98521 invoked from network); 5 Oct 2009 23:48:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Oct 2009 23:48:50 -0000 Received: (qmail 98846 invoked by uid 500); 5 Oct 2009 23:48:50 -0000 Delivered-To: [email protected] Received: (qmail 98773 invoked by uid 500); 5 Oct 2009 23:48:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 98763 invoked by uid 99); 5 Oct 2009 23:48:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 23:48:49 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 05 Oct 2009 23:48:47 +0000 Received: (qmail 98493 invoked by uid 99); 5 Oct 2009 23:48:25 -0000 Received: from localhost.apache.org (HELO [161.129.204.104]) (161.129.204.104) (smtp-auth username cutting, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 23:48:25 +0000 Message-ID: <[email protected]> Date: Mon, 05 Oct 2009 16:48:24 -0700 From: Doug Cutting <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20090817) MIME-Version: 1.0 To: [email protected] Subject: Re: HTTP transport? References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Sanjay Radia wrote: > What about out of order exchange. Will we be able to support that with > http transport? Out-of-order exchange was originally added to Hadoop's RPC when it was a part of Nutch. It's an important optimization for distributed search, but it's not clear how important it is currently to Hadoop. That said, the simple way to deal with this in HTTP is to use a client library that pools connections, so that, if a second request to the same service is made by another thread in the same client process before the first has returned, a second connection is opened. If this is common, the high-water mark of connections on the server will be higher. However with an async-io-based server, the number of connections should not be a primary bottleneck. And again, we don't know how common this is. Doug From [email protected] Tue Oct 06 03:00:08 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46678 invoked from network); 6 Oct 2009 03:00:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Oct 2009 03:00:08 -0000 Received: (qmail 38876 invoked by uid 500); 6 Oct 2009 03:00:07 -0000 Delivered-To: [email protected] Received: (qmail 38803 invoked by uid 500); 6 Oct 2009 03:00:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 38793 invoked by uid 99); 6 Oct 2009 03:00:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2009 03:00:07 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO EXHUB018-2.exch018.msoutlookonline.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2009 02:59:57 +0000 Received: from EXVMBX018-1.exch018.msoutlookonline.net ([161.129.204.104]) by EXHUB018-2.exch018.msoutlookonline.net ([161.129.204.104]) with mapi; Mon, 5 Oct 2009 19:59:35 -0700 From: Scott Carey <[email protected]> To: "[email protected]" <[email protected]> Date: Mon, 5 Oct 2009 19:59:24 -0700 Subject: Re: HTTP transport? Thread-Topic: HTTP transport? Thread-Index: AcpF/f1TOLX+HK0OTAeTv/iOfb0/LQAMwUAI Message-ID: <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org On 10/5/09 1:53 PM, "Eric Sammer" <[email protected]> wrote: > Ryan: >=20 > Certainly keep alive will help in this case, if that's what you're > referring to. The server holds the socket for N seconds or M requests, > which ever comes first. What you're saving with KA is the connection > setup / tear down. If you have a lot of cases where the client makes a > single request and goes away, then KA hurts because the server holds the > connection for the KA timeout (N seconds). This *really* helps if you're > using TLS due to the additional connection setup overhead. >=20 > It's my opinion and experience that KA helps greatly in the case of many > exchanges between a small to medium number of clients and a server such > as RPC. The anti-example is an ad server or web beacon server, for instan= ce. >=20 Even in the beacon case, if the browser is likely to send another request shortly, it cuts the effective network latency in half. Establishing a TCP connection is at minimum one full round trip -- before the request. If latency is important KeepAlive is useful as long as a second request is expected in a short enough time. As long as the server is not process or thread per connection, one can scal= e up connection count rather high (20k) if necessary. With respect to Avro/Hadoop, I suspect requests from clients to be time clustered. > Regards. >=20 > Ryan Rawson wrote: >> I have a question about these headers... will they impact the ability to= do >> many, but small, rpcs? Imagine you'd need to support 5,000 to 50,000 >> rpcs/second. Would this help or hinder? >>=20 >> On Oct 5, 2009 4:44 PM, "Eric Sammer" <[email protected]> wrote: >>=20 >> Doug Cutting wrote: > More or less. Except we can probably arrange to om= it >> most of those > response... >> Content-Type and Server are probably unavoidable. Some of the others are >> extremely helpful during development / debugging / etc. It depends on >> how "open" you are about HTTP being the transport (i.e. do you let >> developers augment these headers to support additional features, etc.). >> This may not make sense in the context of something specialized like >> Avro transport. >>=20 >>> I today implemented a simple HTTP-based transport for Avro: > > >> https://issues.apache.org/jira... >> Just out of curiousity, were you using HTTP keep alive? During testing >> on a project a few years ago, I found a huge difference if Keep Alive is >> supported. In retrospect, that should have been obvious. I'd imagine the >> usage pattern here would be a large number of repeated calls between the >> same client / server within a short period of time; perfect for KA. >>=20 >> Regards. >> -- >> Eric Sammer >> [email protected] >> http://esammer.blogspot.com >>=20 >=20 >=20 > -- > Eric Sammer > [email protected] > http://esammer.blogspot.com >=20 From [email protected] Tue Oct 06 03:16:11 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50131 invoked from network); 6 Oct 2009 03:16:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Oct 2009 03:16:11 -0000 Received: (qmail 49233 invoked by uid 500); 6 Oct 2009 03:16:10 -0000 Delivered-To: [email protected] Received: (qmail 49165 invoked by uid 500); 6 Oct 2009 03:16:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 49155 invoked by uid 99); 6 Oct 2009 03:16:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2009 03:16:10 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO vc136.vc.panix.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2009 03:16:00 +0000 Received: from eric-sammers-macbook-pro.local (cpe-66-108-32-184.nyc.res.rr.com [161.129.204.104]) by vc136.vc.panix.com (Postfix) with ESMTP id 6B438DC37C for <[email protected]>; Mon, 5 Oct 2009 23:15:09 -0400 (EDT) Message-ID: <[email protected]> Date: Mon, 05 Oct 2009 23:15:08 -0400 From: Eric Sammer <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Macintosh/20090812) MIME-Version: 1.0 To: [email protected] Subject: Re: HTTP transport? References: <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Scott Carey wrote: > Even in the beacon case, if the browser is likely to send another request > shortly, it cuts the effective network latency in half. Which is generally not the case in the beacon / ad server use case. That was the only point I was making. That's besides the point, though. I think we both agree that KA for something like Avro transport is probably good. > Establishing a TCP > connection is at minimum one full round trip -- before the request. If > latency is important KeepAlive is useful as long as a second request is > expected in a short enough time. > > As long as the server is not process or thread per connection, one can scale > up connection count rather high (20k) if necessary. > > With respect to Avro/Hadoop, I suspect requests from clients to be time > clustered. That was my thought as well. The thing that gets me is that in the case of Hadoop (and the related subprojects) the clients utilizing this particular HTTP connection are probably going to be pretty small (maybe low thousands?). This is even better for keep alive as there's a solid chance you're going to have a high reuse rate. Of course, I'm assuming we're talking about things like name node to data node, hbase client to region servers, and those types of communications. Even if you just used Jetty (or any other thin HTTP 1.1 container that supports KA), one should easily be able to see good performance. Regards. -- Eric Sammer [email protected] http://esammer.blogspot.com From [email protected] Tue Oct 06 03:20:39 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50805 invoked from network); 6 Oct 2009 03:20:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Oct 2009 03:20:38 -0000 Received: (qmail 51862 invoked by uid 500); 6 Oct 2009 03:20:38 -0000 Delivered-To: [email protected] Received: (qmail 51801 invoked by uid 500); 6 Oct 2009 03:20:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51791 invoked by uid 99); 6 Oct 2009 03:20:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2009 03:20:37 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO EXHUB018-1.exch018.msoutlookonline.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2009 03:20:27 +0000 Received: from EXVMBX018-1.exch018.msoutlookonline.net ([161.129.204.104]) by EXHUB018-1.exch018.msoutlookonline.net ([161.129.204.104]) with mapi; Mon, 5 Oct 2009 20:19:45 -0700 From: Scott Carey <[email protected]> To: "[email protected]" <[email protected]> Date: Mon, 5 Oct 2009 20:19:34 -0700 Subject: Re: HTTP transport? Thread-Topic: HTTP transport? Thread-Index: AcpF/RNaX39mo3/YRk6Eiof+R4/2AwANsAyI Message-ID: <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org On 10/5/09 1:47 PM, "Ryan Rawson" <[email protected]> wrote: > I have a question about these headers... will they impact the ability to = do > many, but small, rpcs? Imagine you'd need to support 5,000 to 50,000 > rpcs/second. Would this help or hinder? >=20 As long as the HTTP response and request fit in one network packet (pessimistic - 1KB or so) there is not much overhead. 50k rpcs/sec with gigabit ethernet saturated (~100MB/sec) is ~2KB per request. So, on faster networks an extra 100 to 200 bytes or so won't matter. On the WAN, it will have more of an effect if the bandwidth is low and the latency also very low if the RPC is very 'chatty' and not 'chunky' enough. However, on most WAN links network latency is going to kill you far, far more than an extra 200 bytes. For example, imagine a 20ms latency link. The max RPC throughput to a single client is then 50/sec (one per 20ms). With a 1k payload per request= , that's 50k per sec max data transfer. HTTP pipelining could help here -- but isn't as well supported as one would like. If WAN level RPC is a goal, the main challenges there will be latency related first, and packet size related second. On a fast local network (gigabit) I suspect throughput problems of other sorts to be the issue before bandwidth from slightly larger packets. Furthermore, its not like a TCP packet is 0 bytes on its own. HTTP adds some overhead, but it can be kept relatively trim.=20 From [email protected] Tue Oct 06 03:31:59 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52659 invoked from network); 6 Oct 2009 03:31:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Oct 2009 03:31:58 -0000 Received: (qmail 57026 invoked by uid 500); 6 Oct 2009 03:31:57 -0000 Delivered-To: [email protected] Received: (qmail 56901 invoked by uid 500); 6 Oct 2009 03:31:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 56718 invoked by uid 99); 6 Oct 2009 03:31:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2009 03:31:57 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO EXHUB018-2.exch018.msoutlookonline.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2009 03:31:46 +0000 Received: from EXVMBX018-1.exch018.msoutlookonline.net ([161.129.204.104]) by EXHUB018-2.exch018.msoutlookonline.net ([161.129.204.104]) with mapi; Mon, 5 Oct 2009 20:31:04 -0700 From: Scott Carey <[email protected]> To: "[email protected]" <[email protected]> Date: Mon, 5 Oct 2009 20:30:50 -0700 Subject: Re: HTTP transport? Thread-Topic: HTTP transport? Thread-Index: AcpGM1zaG6gyouT6S/iGbWfT3OWuyAAAgmjo Message-ID: <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org >> With respect to Avro/Hadoop, I suspect requests from clients to be time >> clustered. >=20 > That was my thought as well. The thing that gets me is that in the case > of Hadoop (and the related subprojects) the clients utilizing this > particular HTTP connection are probably going to be pretty small (maybe > low thousands?). This is even better for keep alive as there's a solid > chance you're going to have a high reuse rate. Of course, I'm assuming > we're talking about things like name node to data node, hbase client to > region servers, and those types of communications. Even if you just used > Jetty (or any other thin HTTP 1.1 container that supports KA), one > should easily be able to see good performance. >=20 Absolutely. =20 Additionally, I realized one more thing -- when a client knows they aren't likely to send another request soon, they can send a request with Connection: close. Well behaved clients can help maximize the benefit. > Regards. > -- > Eric Sammer > [email protected] > http://esammer.blogspot.com >=20 From [email protected] Thu Oct 08 22:11:33 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33086 invoked from network); 8 Oct 2009 22:11:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Oct 2009 22:11:33 -0000 Received: (qmail 74127 invoked by uid 500); 8 Oct 2009 22:11:32 -0000 Delivered-To: [email protected] Received: (qmail 74044 invoked by uid 500); 8 Oct 2009 22:11:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74034 invoked by uid 99); 8 Oct 2009 22:11:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Oct 2009 22:11:32 +0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=NO_RDNS_DOTCOM_HELO,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO QMTA12.westchester.pa.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Oct 2009 22:11:21 +0000 Received: from OMTA22.westchester.pa.mail.comcast.net ([161.129.204.104]) by QMTA12.westchester.pa.mail.comcast.net with comcast id qAsF1c0051ap0As5CNB1QS; Thu, 08 Oct 2009 22:11:01 +0000 Received: from tryarticle-lm.corp.yahoo.com ([161.129.204.104]) by OMTA22.westchester.pa.mail.comcast.net with comcast id qNFQ1c0052SbwD53iNFTt7; Thu, 08 Oct 2009 22:15:31 +0000 Message-Id: <[email protected]> From: Owen O'Malley <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: HTTP transport? Date: Thu, 8 Oct 2009 15:10:50 -0700 References: <[email protected]> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org I still don't see how to make this play well with security. Security needs to go under the transport layer so that it is easy to add encryption on the wire. If you go with HTTP, the only way that is portable at all is to use HTTP over SSL. SSL is for when there aren't shared keys and Kerberos provides those shared keys. SPNEGO is the standard method of using Kerberos with HTTP and we are planning to use that for the web UI's. But SPNEGO is very much the least painful of the alternatives and I'd rather not force our RPC services into that corner. I also have serious doubts about performance, but that is hard to answer until we have code to test. It is an interesting question how much we depend on being able to answer queries out of order. There are some parts of the code where overlapping requests from the same client matter. In particular, the terasort scheduler uses threads to access the namenode. That would stop providing any pipelining, which I believe would be significant. In short, I think that an HTTP transport is great for playing with, but I don't think you can assume it will work as the primary transport. -- Owen From [email protected] Fri Oct 09 17:50:31 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98140 invoked from network); 9 Oct 2009 17:50:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Oct 2009 17:50:31 -0000 Received: (qmail 88959 invoked by uid 500); 9 Oct 2009 17:50:30 -0000 Delivered-To: [email protected] Received: (qmail 88896 invoked by uid 500); 9 Oct 2009 17:50:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 88886 invoked by uid 99); 9 Oct 2009 17:50:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Oct 2009 17:50:29 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 09 Oct 2009 17:50:18 +0000 Received: (qmail 98047 invoked by uid 99); 9 Oct 2009 17:49:56 -0000 Received: from localhost.apache.org (HELO [161.129.204.104]) (161.129.204.104) (smtp-auth username cutting, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Oct 2009 17:49:56 +0000 Message-ID: <[email protected]> Date: Fri, 09 Oct 2009 10:49:55 -0700 From: Doug Cutting <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20090817) MIME-Version: 1.0 To: [email protected] Subject: Re: HTTP transport? References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Owen O'Malley wrote: > SPNEGO is the > standard method of using Kerberos with HTTP and we are planning to use > that for the web UI's. Java 6 also supports using SPNEGO for RPC over HTTP out of the box: http://java.sun.com/javase/6/docs/technotes/guides/net/http-auth.html > I also have serious doubts about performance, but that is hard to answer > until we have code to test. The good news is that, since the HTTP stuff is already implemented, we can test its performance easily. Performance of insecure access over HTTP looks good so far. It's an open question are how much HTTP-based security will slow things versus non-HTTP-based security. > It is an interesting question how much we > depend on being able to answer queries out of order. There are some > parts of the code where overlapping requests from the same client > matter. In particular, the terasort scheduler uses threads to access the > namenode. That would stop providing any pipelining, which I believe > would be significant. No, we wouldn't stop any pipelining, we'd just use more connections to implement it. With HttpClient one can limit the number of pooled connnections per host: http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/MultiThreadedHttpConnectionManager.html#setMaxConnectionsPerHost%28int%29 Connections are not free of course, but Jetty has been benchmarked at 20,000 concurrent connections: http://cometdaily.com/2008/01/07/20000-reasons-that-comet-scales/ > In short, I think that an HTTP transport is great for playing with, but > I don't think you can assume it will work as the primary transport. I agree, we cannot assume it. But it's easy to try it and see how it fares. Any investment in getting it working is perhaps not wasted, since, besides providing a performance baseline, it also may be useful to provide HTTP-based access to services even if a higher-performance option is implemented. Doug From [email protected] Fri Oct 09 18:14:48 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5551 invoked from network); 9 Oct 2009 18:14:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Oct 2009 18:14:48 -0000 Received: (qmail 25988 invoked by uid 500); 9 Oct 2009 18:14:47 -0000 Delivered-To: [email protected] Received: (qmail 25930 invoked by uid 500); 9 Oct 2009 18:14:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 25920 invoked by uid 99); 9 Oct 2009 18:14:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Oct 2009 18:14:47 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mrout3.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Oct 2009 18:14:34 +0000 Received: from SNV-EXBH01.ds.corp.yahoo.com (snv-exbh01.ds.corp.yahoo.com [161.129.204.104]) by mrout3.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id n99IDBoa024647 for <[email protected]>; Fri, 9 Oct 2009 11:13:11 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=received:user-agent:date:subject:from:to:message-id: thread-topic:thread-index:in-reply-to:mime-version:content-type: content-transfer-encoding:x-originalarrivaltime; b=G941LSnIbISnmt8yOlL6Vhi/teNdTEPxs4ICJOfJVIgFMWo4N0TbYmtrP/4UpiSb Received: from SNV-EXVS05.ds.corp.yahoo.com ([161.129.204.104]) by SNV-EXBH01.ds.corp.yahoo.com with Microsoft SMTPSVC(901)325-3684); Fri, 9 Oct 2009 11:13:10 -0700 Received: from 161.129.204.104 ([161.129.204.104]) by SNV-EXVS05.ds.corp.yahoo.com ([161.129.204.104]) with Microsoft Exchange Server HTTP-DAV ; Fri, 9 Oct 2009 18:13:10 +0000 User-Agent: Microsoft-Entourage/161.129.204.104605 Date: Fri, 09 Oct 2009 11:13:09 -0700 Subject: Re: HTTP transport? From: Sanjay Radia <[email protected]> To: <[email protected]> Message-ID: <[email protected]> Thread-Topic: HTTP transport? Thread-Index: AcpJDCfStlBLAXfKQUu0VVDx7iJBgA== In-Reply-To: <[email protected]> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-OriginalArrivalTime: 09 Oct 2009 18:13:10.0748 (UTC) FILETIME=[28DCE1C0:01CA490C] X-Virus-Checked: Checked by ClamAV on apache.org On 10/9/09 10:49 AM, "Doug Cutting" <[email protected]> wrote: > Owen O'Malley wrote: >> SPNEGO is the >> standard method of using Kerberos with HTTP and we are planning to use >> that for the web UI's. > > Java 6 also supports using SPNEGO for RPC over HTTP out of the box: > > http://java.sun.com/javase/6/docs/technotes/guides/net/http-auth.html > >> I also have serious doubts about performance, but that is hard to answer >> until we have code to test. > > The good news is that, since the HTTP stuff is already implemented, we > can test its performance easily. Performance of insecure access over > HTTP looks good so far. It's an open question are how much HTTP-based > security will slow things versus non-HTTP-based security. > >> It is an interesting question how much we >> depend on being able to answer queries out of order. There are some >> parts of the code where overlapping requests from the same client >> matter. In particular, the terasort scheduler uses threads to access the >> namenode. That would stop providing any pipelining, which I believe >> would be significant. > > No, we wouldn't stop any pipelining, we'd just use more connections to > implement it. With HttpClient one can limit the number of pooled > connnections per host: > > http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/Mult > iThreadedHttpConnectionManager.html#setMaxConnectionsPerHost%28int%29 > > Connections are not free of course, but Jetty has been benchmarked at > 20,000 concurrent connections: > > http://cometdaily.com/2008/01/07/20000-reasons-that-comet-scales/ > >> In short, I think that an HTTP transport is great for playing with, but >> I don't think you can assume it will work as the primary transport. > > I agree, we cannot assume it. But it's easy to try it and see how it > fares. Any investment in getting it working is perhaps not wasted, > since, besides providing a performance baseline, it also may be useful > to provide HTTP-based access to services even if a higher-performance > option is implemented. Will the RPC over HTTP be transparent so that that we can replace with a different layer if needed? My worry was the separation of data and checksums; someone had mentioned that one could do this over 2 RPCs - that is not transparent. Also the other issue is porting from data transfer socket streams to RPC - that port will not be transparent. We cannot afford to loose performance over that change. Further, moving from streaming sockets to RPC is a very significant code change to the dfs-client and data nodes. I assume that we going to create a branch that moves the data transfer protocols to RPC and test the performance and if it is good then we commit and move to RPC? I am worried about this part - I am surprised that you two are not. Am I missing something here? sanjay > > Doug From [email protected] Fri Oct 09 19:56:57 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42774 invoked from network); 9 Oct 2009 19:56:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Oct 2009 19:56:57 -0000 Received: (qmail 83284 invoked by uid 500); 9 Oct 2009 19:56:57 -0000 Delivered-To: [email protected] Received: (qmail 83219 invoked by uid 500); 9 Oct 2009 19:56:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 83209 invoked by uid 99); 9 Oct 2009 19:56:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Oct 2009 19:56:56 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 09 Oct 2009 19:56:53 +0000 Received: (qmail 41559 invoked by uid 99); 9 Oct 2009 19:56:32 -0000 Received: from localhost.apache.org (HELO [161.129.204.104]) (161.129.204.104) (smtp-auth username cutting, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Oct 2009 19:56:32 +0000 Message-ID: <[email protected]> Date: Fri, 09 Oct 2009 12:56:30 -0700 From: Doug Cutting <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20090817) MIME-Version: 1.0 To: [email protected] Subject: Re: HTTP transport? References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Sanjay Radia wrote: > Will the RPC over HTTP be transparent so that that we can replace with a > different layer if needed? Yes. > My worry was the separation of data and checksums; someone had mentioned > that one could do this over 2 RPCs - that is not transparent. That was suggested as a possibility if we did not want to use RPC for data, but rather raw HTTP, e.g., with a separate URL per block. The zerocopy support built into most HTTP servers only supports entire responses from a single file, so if we wanted to take advantage of these zerocopy implementations we'd not use RPC for block access, but could use HTTP and hence share security, etc. Using raw HTTP for block access might also perform better, since it can use TCP flow control, rather than RPC call/response. In my microbenchmarks, RPC call/response was fast enough to easily saturate disks and networks, so that might be moot, although RPC call/response for file data may use more CPU than we'd like. With our own transport implementation we could get RPC call/response to use zerocopy for file data. > I assume that we > going to create a branch that moves the data transfer protocols to RPC and > test the performance and if it is good then we commit and move to RPC? Yes. We obviously cannot change the file data transfer protocol without benchmarking. Ideally file data transfer can share as much as possible with other protocols. The most optimistic approach would be to use HTTP-based RPC call/response, so we ought to benchmark that. This was the purpose of my recently-reported microbenchmarks. We also need to determine whether both TCP flow-control and zerocopy are critical to data file performance. If both are indeed critical, and HTTP proves sufficient for everything else, then we should consider using non-RPC HTTP for file data transfer, since it supports both zerocopy and TCP-based flow control, and the implementation of security, etc. could be shared. But, on the other hand, if HTTP is deemed inappropriate for security and we develop our own RPC transport that permits zerocopy, and TCP flow-control over entire blocks is not required, then we might use RPC for file data. What I'm hoping we can avoid is, as today, using different transports for different protocols, re-implementing security, connection pooling, async request processing, etc. for each, requiring separate configuration and ports for each, etc. But even that might be required. We don't know yet. I think starting with HTTP as a hypothesis permits us to make progress without a lot of up-front investment. Doug From [email protected] Sat Oct 10 17:49:06 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11567 invoked from network); 10 Oct 2009 17:49:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Oct 2009 17:49:06 -0000 Received: (qmail 91753 invoked by uid 500); 10 Oct 2009 17:49:05 -0000 Delivered-To: [email protected] Received: (qmail 91680 invoked by uid 500); 10 Oct 2009 17:49:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 91670 invoked by uid 99); 10 Oct 2009 17:49:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Oct 2009 17:49:05 +0000 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS,SUBJ_ALL_CAPS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f222.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Oct 2009 17:48:56 +0000 Received: by bwz22 with SMTP id 22so6695800bwz.29 for <[email protected]>; Sat, 10 Oct 2009 10:48:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=kbBE40dJLS3Lf5TsUkoNaZhlukJshDD7YygHaKVRjyI=; b=l2zV3ERh3ehMvAmPUuQ51wEFxSLlPsKv4iE702jkam1ZsyDdGUTyioxcghbodDjxR3 h14EkI3cX+KI+b8Bb0f04x223NTcmgRR8K12WVE2Kge55D22NgLl37P7vZmTzEn6m+y9 QamoV21icgAgOC2QQfuRqlSqo0D0ucW+BSHpQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=qBN+mY8P8BVa+HtcpycHn2xaJ/+psCnu6FATROCOqKu8fW2Z+A9DaCBLUkUt3bf+Ij 8kO+Ma0jwY3jt05wdaSytNlt4epf20hxwqnJ8yrd7cHoj7D1fnN24NmvONvsxVG4iKsj VSrpvKDJJqdnqdPp5+WMa1y+xNugH6yDxXpGA= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id i2mr1675468mul.81.1255196915502; Sat, 10 Oct 2009 10:48:35 -0700 (PDT) Date: Sat, 10 Oct 2009 19:48:35 +0200 Message-ID: <[email protected]> Subject: SIMPLE QUESTIONS ABOUT DISTRIBUTEDCACHE... From: Alberto Luengo Cabanillas <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016e6482b5c45912b0475984e67 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6482b5c45912b0475984e67 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi everyone! I=B4m trying to distribute some common data between my nodes, = but I=B4m unable to do it. I have some questions about this: 1.- I=B4m working in PseudoDistributed mode in Windows (under Cygwin) and m= y DFS server is running on a virtual machine (Ubuntu server). May I use DistributedCache normally with this configuration? 2.-In the case of the Mapper nodes, in the Driver class I add these two lines: URI uriMapper =3Dnew URI("/user/hadoop-user/data/mapper_configuration.dat")= ; (I also verify this file already exists in the DFS). DistributedCache.addCacheFile(uriMapper,conf); 3.- In the Mapper class, I have this: @Override protected void setup(Context cont) { ... String configureCacheName =3D new Path("/user/hadoop-user/data/mapper_configuration.dat").getName(); Path [] cacheFiles =3D DistributedCache.getLocalCacheFiles(cont.getConfiguration()); System.out.println("The file is: "+cacheFiles.toString()); ... } Does anyone have an idea about what I=B4m doing wrong? (I=B4m going crazy, actually...) Thanks a lot in advance. --=20 Alberto --0016e6482b5c45912b0475984e67-- From [email protected] Sat Oct 10 18:39:21 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26838 invoked from network); 10 Oct 2009 18:39:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Oct 2009 18:39:21 -0000 Received: (qmail 11738 invoked by uid 500); 10 Oct 2009 18:39:20 -0000 Delivered-To: [email protected] Received: (qmail 11654 invoked by uid 500); 10 Oct 2009 18:39:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 11644 invoked by uid 99); 10 Oct 2009 18:39:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Oct 2009 18:39:20 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-vw0-f186.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Oct 2009 18:39:09 +0000 Received: by vws16 with SMTP id 16so5548525vws.2 for <[email protected]>; Sat, 10 Oct 2009 11:38:48 -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=u+Ygi/Rf11Rtk6v4XIWQuAWYQXsteOa1BKxjs3ydNqo=; b=t9KFPc+gTPR/JBDghvoFX0dv2FgvPWQ0cULVrdrB9ki2d5Me2IkzUwv118srH7bL3W dmXVPx7mwgaKnJ725xKRO2C/AgtQEb1JydtDjLGIsTFzoIvzJAaVl8VgUMigrt4tcDQ1 U0S0sxDcRviqviccMbgwNqVakCXOwaDVQoVMQ= 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=MPau9kcokw/tM+Gmi/LQCppnDXGmYQZ2IVu1X4ZzEnu55dcxM7aOcrrGaVWL9D1iaA oRxuef9qe4sE6KXHgWWtBFMsz6hl90KdrYz8AtG1AJvi6himNWmGWU9hjP0cYuTwQI5W FRpxXdJAJWlJZPNkLU6HpW5RhqfMjSml2pviY= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id b17mr5993402vcm.98.1255199928470; Sat, 10 Oct 2009 11:38:48 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Sat, 10 Oct 2009 11:38:48 -0700 Message-ID: <[email protected]> Subject: Re: SIMPLE QUESTIONS ABOUT DISTRIBUTEDCACHE... From: Jason Venner <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=001636284e58dbcc92047599011d X-Virus-Checked: Checked by ClamAV on apache.org --001636284e58dbcc92047599011d Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable The distributed cache does not behave as expected in PsuedoDistributed mode= . Since all of the tasks run within the same jvm, there is no easy way to alter the class path to add distributed cache items, in addition there is n= o way to change the working directory of the jvm to the 'per task directory' that the normal task runner creates, where the distributed cache items made available. On Sat, Oct 10, 2009 at 10:48 AM, Alberto Luengo Cabanillas < [email protected]> wrote: > Hi everyone! I=B4m trying to distribute some common data between my nodes= , > but > I=B4m unable to do it. I have some questions about this: > > 1.- I=B4m working in PseudoDistributed mode in Windows (under Cygwin) and= my > DFS server is running on a virtual machine (Ubuntu server). May I use > DistributedCache normally with this configuration? > 2.-In the case of the Mapper nodes, in the Driver class I add these two > lines: > > URI uriMapper =3Dnew URI("/user/hadoop-user/data/mapper_configuration.dat= "); > (I also verify this file already exists in the DFS). > DistributedCache.addCacheFile(uriMapper,conf); > > 3.- In the Mapper class, I have this: > > @Override > protected void setup(Context cont) { > ... > String configureCacheName =3D new > Path("/user/hadoop-user/data/mapper_configuration.dat").getName(); > Path [] cacheFiles =3D > DistributedCache.getLocalCacheFiles(cont.getConfiguration()); > System.out.println("The file is: "+cacheFiles.toString()); > ... > } > > Does anyone have an idea about what I=B4m doing wrong? (I=B4m going crazy= , > actually...) > > Thanks a lot in advance. > > -- > Alberto > --=20 Pro Hadoop, a book to guide you from beginner to hadoop mastery, http://www.amazon.com/dp/1430219424?tag=3Djewlerymall www.prohadoopbook.com a community for Hadoop Professionals --001636284e58dbcc92047599011d-- From [email protected] Sun Oct 11 01:12:32 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 833 invoked from network); 11 Oct 2009 01:12:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Oct 2009 01:12:32 -0000 Received: (qmail 49304 invoked by uid 500); 11 Oct 2009 01:12:31 -0000 Delivered-To: [email protected] Received: (qmail 49252 invoked by uid 500); 11 Oct 2009 01:12:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 49242 invoked by uid 99); 11 Oct 2009 01:12:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Oct 2009 01:12:31 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO EXHUB018-2.exch018.msoutlookonline.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Oct 2009 01:12:20 +0000 Received: from EXVMBX018-1.exch018.msoutlookonline.net ([161.129.204.104]) by EXHUB018-2.exch018.msoutlookonline.net ([161.129.204.104]) with mapi; Sat, 10 Oct 2009 18:11:38 -0700 From: Scott Carey <[email protected]> To: "[email protected]" <[email protected]> Date: Sat, 10 Oct 2009 18:11:20 -0700 Subject: Re: HTTP transport? Thread-Topic: HTTP transport? Thread-Index: AcpJCQCEHXFVafpVQXaJtrNlnq7atABBr0cn Message-ID: <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org On 10/9/09 10:49 AM, "Doug Cutting" <[email protected]> wrote: >=20 >> It is an interesting question how much we >> depend on being able to answer queries out of order. There are some >> parts of the code where overlapping requests from the same client >> matter. In particular, the terasort scheduler uses threads to access the >> namenode. That would stop providing any pipelining, which I believe >> would be significant. >=20 > No, we wouldn't stop any pipelining, we'd just use more connections to > implement it. With HttpClient one can limit the number of pooled > connnections per host: >=20 Also since HTTP supports in-order pipelining out of the box, its only out-of-order stuff that would require additional connections. >=20 > Doug >=20 Requirements may end up ruling out HTTP, but I doubt that performance (in the insecure case) will be the cause since there are so many high performance client and server implementations available. Consider something lower level than the Servlet API for the server side -- it is baggage-laden and does not allow access to all data in unconverted form or any asynchronous i/o. In this respect, jetty has lower level, light-weight API access points. http://docs.codehaus.org/display/JETTY/Architecture If HTTP is not used, I suggest a strong look at apache MINA for constructin= g high performance NIO clients and servers with Java http://mina.apache.org/ From [email protected] Mon Oct 12 01:53:25 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33198 invoked from network); 12 Oct 2009 01:53:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Oct 2009 01:53:25 -0000 Received: (qmail 65404 invoked by uid 500); 12 Oct 2009 01:53:24 -0000 Delivered-To: [email protected] Received: (qmail 65318 invoked by uid 500); 12 Oct 2009 01:53:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 65308 invoked by uid 99); 12 Oct 2009 01:53:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Oct 2009 01:53:24 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp1.es.uci.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Oct 2009 01:53:22 +0000 Received: from [161.129.204.104] (ip72-211-211-194.oc.oc.cox.net [161.129.204.104]) (authenticated bits=0) by smtp1.es.uci.edu (8.13.1/8.13.1) with ESMTP id n9C1qxYL022343 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <[email protected]>; Sun, 11 Oct 2009 18:53:00 -0700 X-UCInetID: vayyalas Message-ID: <[email protected]> Date: Sun, 11 Oct 2009 18:52:49 -0500 From: Vandana Ayyalasomayajula <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20090812) MIME-Version: 1.0 To: [email protected] Subject: Simulators for Hadoop ?? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi All, I am new to Hadoop and planning to do a project which helps me learn technologies like Pig and Hive. The problem is I do not have access to any Hadoop like cluster. I was wondering if there are any simulators in which I can specify the node configurations and run it on my machine. Please help me solve this issue. Thanks Vandana From [email protected] Mon Oct 12 04:14:19 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62329 invoked from network); 12 Oct 2009 04:14:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Oct 2009 04:14:19 -0000 Received: (qmail 7812 invoked by uid 500); 12 Oct 2009 04:14:19 -0000 Delivered-To: [email protected] Received: (qmail 7620 invoked by uid 500); 12 Oct 2009 04:14:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7610 invoked by uid 99); 12 Oct 2009 04:14:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Oct 2009 04:14:18 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO rsmtp2.corp.hki.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Oct 2009 04:14:07 +0000 Received: from builtvalue-dr.eglbp.corp.yahoo.com (builtvalue-dr.eglbp.corp.yahoo.com [161.129.204.104]) by rsmtp2.corp.hki.yahoo.com (8.13.8/8.13.8/y.rout) with ESMTP id n9C4Dcmc063370 for <[email protected]>; Sun, 11 Oct 2009 21:13:38 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:subject: references:in-reply-to:content-type:content-transfer-encoding; b=Z7fOUbMxA2wuirxa7UTkBIYVdrPegiWMEUc7Ut528OgERPIBy8fbXUJttlfdyeid Message-ID: <[email protected]> Date: Mon, 12 Oct 2009 09:43:38 +0530 From: Sharad Agarwal <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20090812) MIME-Version: 1.0 To: [email protected] Subject: Re: Simulators for Hadoop ?? References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hadoop can be run on single node. See http://hadoop.apache.org/common/docs/current/quickstart.html#PseudoDistributed Sharad From [email protected] Mon Oct 12 09:16:16 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30087 invoked from network); 12 Oct 2009 09:16:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Oct 2009 09:16:16 -0000 Received: (qmail 48758 invoked by uid 500); 12 Oct 2009 09:16:16 -0000 Delivered-To: [email protected] Received: (qmail 48678 invoked by uid 500); 12 Oct 2009 09:16:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48668 invoked by uid 99); 12 Oct 2009 09:16:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Oct 2009 09:16:15 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-gx0-f226.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Oct 2009 09:16:13 +0000 Received: by gxk26 with SMTP id 26so2556089gxk.11 for <[email protected]>; Mon, 12 Oct 2009 02:15:52 -0700 (PDT) Received: by 161.129.204.104 with SMTP id m10mr5206505anj.32.1255338951945; Mon, 12 Oct 2009 02:15:51 -0700 (PDT) Received: from ?161.129.204.104? (c-24-23-193-72.hsd1.ca.comcast.net [161.129.204.104]) by mx.google.com with ESMTPS id 21sm2213017yxe.1.2161.129.204.104.15.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 12 Oct 2009 02:15:50 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 12 Oct 2009 02:15:49 -0700 From: Amr Awadallah <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20090812) MIME-Version: 1.0 To: [email protected] Subject: Re: Simulators for Hadoop ?? References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Vadana, This VMware virtual machine has a pre-installed hadoop in local mode with both pig and hive: http://www.cloudera.com/hadoop-training-virtual-machine Good luck with your project, -- amr > Hi All, > > I am new to Hadoop and planning to do a project which helps me learn > technologies like Pig and Hive. The problem is I do not have access to > any Hadoop like cluster. I was wondering if there are any simulators > in which I can specify the node configurations and run it on my > machine. Please help me solve this issue. > > Thanks > Vandana From [email protected] Mon Oct 12 11:35:37 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59487 invoked from network); 12 Oct 2009 11:35:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Oct 2009 11:35:37 -0000 Received: (qmail 4343 invoked by uid 500); 12 Oct 2009 11:35:36 -0000 Delivered-To: [email protected] Received: (qmail 4263 invoked by uid 500); 12 Oct 2009 11:35:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4253 invoked by uid 99); 12 Oct 2009 11:35:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Oct 2009 11:35:36 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=BAYES_50 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO web01.mi6.kiev.ua) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Oct 2009 11:35:29 +0000 Received: from st05.mi6 ([161.129.204.104] helo=st05.mi6.kiev.ua) by web01.mi6.kiev.ua with esmtp (Exim 4.69) (envelope-from <[email protected]>) id 1MxJB9-0007R2-SJ for [email protected]; Mon, 12 Oct 2009 14:35:05 +0300 Received: from web by st05.mi6.kiev.ua with local (Exim 4.69) (envelope-from <[email protected]>) id 1MxJB1-0005FT-F2 for [email protected]; Mon, 12 Oct 2009 14:34:55 +0300 To: [email protected] Subject: =?windows-1251?B?SG93IHRvIHJlYWQgc2V0dGluZ3MgaGFkb29wIGNsdXN0ZXIgZnJvbSBKYXZhIHByb2dyYW0/?= Date: Mon, 12 Oct 2009 14:34:55 +0300 From: =?windows-1251?B?yOLg7SDC4PHo6/zl4g==?= <[email protected]> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=windows-1251 Content-Transfer-Encoding: QUOTED-PRINTABLE X-User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru; rv:161.129.204.104) Gecko/2009090216 Ubuntu/9.04 (jaunty) Firefox/3.0.14 X-Sender-IP: 161.129.204.104 (161.129.204.104) X-Mailer: I.UA Mail System Message-Id: <[email protected]> How to read settings hadoop cluster from Java program? Is there any sdk for such things? -- =F0=E5=EA=EB=E0=EC=E0 --------------------------------------------------= --------- =CB=F3=F7=F8=E8=E9 =F5=EE=F1=F2=E8=ED=E3 =EE=F2 $3.45 =C4=EE=EC=E5=ED =E2 =EF=EE=E4=E0=F0=EE=EA - www.hostpro.ua From [email protected] Mon Oct 12 15:43:38 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54840 invoked from network); 12 Oct 2009 15:43:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Oct 2009 15:43:38 -0000 Received: (qmail 48746 invoked by uid 500); 12 Oct 2009 15:43:38 -0000 Delivered-To: [email protected] Received: (qmail 48664 invoked by uid 500); 12 Oct 2009 15:43:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48654 invoked by uid 99); 12 Oct 2009 15:43:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Oct 2009 15:43:36 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-vw0-f186.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Oct 2009 15:43:26 +0000 Received: by vws16 with SMTP id 16so6096154vws.2 for <[email protected]>; Mon, 12 Oct 2009 08:43:05 -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=x37C4FcUjksUBDWSArTCnZuLUbmA9u2P4hiDOWtKXn8=; b=OV8PcTMfKBz7EIt5Eli9VFQiH3cZ41qOqmMvKIkt/SBwkhZfj4fy4p7HuNhPJICSHD yeC1IhH3qgQgctaoQ7yrAPd4aEGdVgQaz7UwUcvbe0SGqzQPafF528Is67I7cr30U6uL S4/bZus0e3OdrZi8XbPxKQrvzyjTszHiqHcjU= 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=Zx5fkKdBCnwGWxuctJGtfxIsRe5zfefhZL6dgoAy2vnT8usz7y/Camdkyy5KWazHn1 Yd1B1Qu43gNd/6d4yoAdssX7fjkbU2d6Gq061mfe5bqTzhAoNswCYQtTpCGOrUs5jIty xpHpZHIF24qHx2e5lzSFeSKfr95d6nRC1RvRU= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id j4mr8600183vca.18.1255362185310; Mon, 12 Oct 2009 08:43:05 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Mon, 12 Oct 2009 08:43:04 -0700 Message-ID: <[email protected]> Subject: Re: How to read settings hadoop cluster from Java program? From: Jason Venner <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=001485e76f121edc5b0475bec96e X-Virus-Checked: Checked by ClamAV on apache.org --001485e76f121edc5b0475bec96e Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable You may use the getClusterStatus method of the JobClient object. 2009/10/12 =E9=D7=C1=CE =F7=C1=D3=C9=CC=D8=C5=D7 <[email protected]> > How to read settings hadoop cluster from Java program? > Is there any sdk for such things? > > -- =D2=C5=CB=CC=C1=CD=C1 ------------------------------------------------= ----------- > =EC=D5=DE=DB=C9=CA =C8=CF=D3=D4=C9=CE=C7 =CF=D4 $3.45 > =E4=CF=CD=C5=CE =D7 =D0=CF=C4=C1=D2=CF=CB - www.hostpro.ua > > --=20 Pro Hadoop, a book to guide you from beginner to hadoop mastery, http://www.amazon.com/dp/1430219424?tag=3Djewlerymall www.prohadoopbook.com a community for Hadoop Professionals --001485e76f121edc5b0475bec96e-- From [email protected] Mon Oct 12 23:51:17 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10684 invoked from network); 12 Oct 2009 23:51:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Oct 2009 23:51:17 -0000 Received: (qmail 74604 invoked by uid 500); 12 Oct 2009 23:51:16 -0000 Delivered-To: [email protected] Received: (qmail 74527 invoked by uid 500); 12 Oct 2009 23:51:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74517 invoked by uid 99); 12 Oct 2009 23:51:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Oct 2009 23:51:15 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO qw-out-2122.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Oct 2009 23:51:03 +0000 Received: by qw-out-2122.google.com with SMTP id 9so652861qwb.35 for <[email protected]>; Mon, 12 Oct 2009 16:50:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=cZzOVwsoYICGTeXfgOZbYpV/uMC3OvmkVXyRm6hretw=; b=Fp0HqzIjqAX7P965YSB3R7s9m6wktifDlg7Sha2x+cNET/OdGonKDx0xgG3DyWlZiF TLBLReh0+UaQSDtCw7l+qyvpavzKT7tQ91vFmB2Jyls6U6TyY0HbE0h9iE5OBkkjET1G JwI3KwuZ1xaJ0ufQpBfPe5+uOMqma6pYvMQFU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=ExJUP9ZuwjtPX9ugXOypbbbLt6rHKTo7viJqngUyDIo9EgkS7gILlu1ueCFB2NKcEw 2+l+vLSVGWzDmQ4zUm/T8YqAghTBlGo46WUpugrGH3AplNIuwcZM9tOp25nurKjaHD/k Kp/csu0QrGCa1sn5B+9IVBEfNqTM3hlF9/MnM= MIME-Version: 1.0 Sender: [email protected] Received: by 161.129.204.104 with SMTP id e27mr2548695qcg.7.1255391442942; Mon, 12 Oct 2009 16:50:42 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Mon, 12 Oct 2009 16:50:42 -0700 X-Google-Sender-Auth: 08831a0c14ffa4e1 Message-ID: <[email protected]> Subject: ANN HBase 0.20.1 is available for download From: stack <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016367d595a02bda30475c5991d X-Virus-Checked: Checked by ClamAV on apache.org --0016367d595a02bda30475c5991d Content-Type: text/plain; charset=ISO-8859-1 HBase 0.20.1 is available for download: http://hbase.org/releases.html. Sixty issues have been addressed since hbase 0.20.0. The release notes are available here: http://su.pr/1ypRmy. Please upgrade at your convenience. Thanks to all who contributed to this release, Yours, The HBase Team --0016367d595a02bda30475c5991d-- From [email protected] Tue Oct 13 12:57:18 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78662 invoked from network); 13 Oct 2009 12:57:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Oct 2009 12:57:18 -0000 Received: (qmail 44342 invoked by uid 500); 13 Oct 2009 12:57:17 -0000 Delivered-To: [email protected] Received: (qmail 44275 invoked by uid 500); 13 Oct 2009 12:57:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 44265 invoked by uid 99); 13 Oct 2009 12:57:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 12:57:14 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO fg-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 12:57:11 +0000 Received: by fg-out-1718.google.com with SMTP id d23so921688fga.11 for <[email protected]>; Tue, 13 Oct 2009 05:56:47 -0700 (PDT) Received: by 161.129.204.104 with SMTP id s22mr826640fge.37.1255438606455; Tue, 13 Oct 2009 05:56:46 -0700 (PDT) Received: from nsf264fa356e37 ([161.129.204.104]) by mx.google.com with ESMTPS id e20sm2152965fga.15.2161.129.204.104.56.43 (version=SSLv3 cipher=RC4-MD5); Tue, 13 Oct 2009 05:56:45 -0700 (PDT) From: "Chandan Tamrakar" <[email protected]> To: <[email protected]> References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Subject: Reading files from local file system Date: Tue, 13 Oct 2009 18:41:42 +0545 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcpLUsSGQFOTfocFSCK/dfxCPVUfeAAiAbkA Content-Language: en-us x-cr-puzzleid: {2767A896-8A0C-4EF9-A45A-E2007A1BA218} x-cr-hashedpuzzle: BYc6 Btlb CAvR Ch7a C/cn DF3b Dyji D7lT EWfM Epol EwX8 ExS/ GxvE HRaa I4qY Jkd0;1;ZwBlAG4AZQByAGEAbABAAGgAYQBkAG8AbwBwAC4AYQBwAGEAYwBoAGUALgBvAHIAZwA=;Sosha1_v1;7;{2767A896-8A0C-4EF9-A45A-E2007A1BA218};YwBoAGEAbgBkAGEAbgAuAHQAYQBtAHIAYQBrAGEAcgBAAG4AZQBwAGEAcwBvAGYAdAAuAGMAbwBtAA==;Tue, 13 Oct 2009 12:56:39 GMT;UgBlAGEAZABpAG4AZwAgAGYAaQBsAGUAcwAgAGYAcgBvAG0AIABsAG8AYwBhAGwAIABmAGkAbABlACAAcwB5AHMAdABlAG0A We are trying to read files from local file system. But when running the map reduce it is not able to read files from the input location (the input location is also local file system location). For this we changed the configuration of the hadoop-site.xml as shown below: /etc/conf/hadoop/hadoop-site.xml <property> <name>fs.default.name</name> <value>file:///</value> </property> [admin@localhost ~]$ hadoop jar Test.jar /home/admin/input/test.txt output1 Suppose Test.txt is pain text file that contains Test1 Test2 Test3 While running simple MapReduce job we get following exception "File not found exception " , we are using TextInputFormat in our Job configuration 09/10/13 17:26:35 WARN mapred.JobClient: Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for the same. 09/10/13 17:26:35 INFO mapred.FileInputFormat: Total input paths to process : 1 09/10/13 17:26:35 INFO mapred.FileInputFormat: Total input paths to process : 1 09/10/13 17:26:37 INFO mapred.JobClient: Running job: job_200910131447_0033 09/10/13 17:26:38 INFO mapred.JobClient: map 0% reduce 0% 09/10/13 17:27:00 INFO mapred.JobClient: Task Id : attempt_200910131447_0033_m_000000_0, Status : FAILED java.io.FileNotFoundException: File file:/home/admin/Desktop/input/test.txt does not exist. at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.jav a:420) at org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:25 9) at org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSInputChecker.<init>(Checks umFileSystem.java:117) at org.apache.hadoop.fs.ChecksumFileSystem.open(ChecksumFileSystem.java:275) at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:364) at org.apache.hadoop.mapred.LineRecordReader.<init>(LineRecordReader.java:206) at org.apache.hadoop.mapred.TextInputFormat.getRecordReader(TextInputFormat.jav a:50) at org.apache.hadoop.mapred.MapTask.run(MapTask.java:219) at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:2210) However, running in the code as a separate Main method does work well. public static void main (String [] args) throws IOException { Configuration conf = new Configuration(); FileSystem fs = FileSystem.get(conf); Path filenamePath = new Path(theFilename); FSDataOutputStream out = fs.create(new Path("abc.txt")); out.writeUTF("abc"); out.close(); } The above code works fine when running it as a jar in hadoop. The above code successfully creates file in /home/admin/abc.txt when running from admin user. From [email protected] Tue Oct 13 13:50:00 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96595 invoked from network); 13 Oct 2009 13:50:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Oct 2009 13:50:00 -0000 Received: (qmail 58129 invoked by uid 500); 13 Oct 2009 13:49:59 -0000 Delivered-To: [email protected] Received: (qmail 58088 invoked by uid 500); 13 Oct 2009 13:49:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58078 invoked by uid 99); 13 Oct 2009 13:49:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 13:49:59 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-pz0-f177.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 13:49:56 +0000 Received: by pzk7 with SMTP id 7so1301976pzk.30 for <[email protected]>; Tue, 13 Oct 2009 06:49:36 -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=WC0hhpP1DSe1OtIveAJXT6U9TO1AzmveLadEn/I22C8=; b=IkB3PU/bt2Wjl+o4cAlssA4BkfeGmbm6q4+w/h234TDQ4h65+qpTtjPuHHRaZe6lVl luycin7MZLtgcS+rLVXSNK4a0D6vvBCIb52sSE+/IYHwhYeGAHl5VS4NXWO9XC7e3j1Z qiPJGYln16zGvQInI2GD+uUBB/M/3Cyz+VIfg= 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=sJ7DCupd7oox9sL58vJH07uy9zPGiixy6Fai1ti0op5x+LfxGrDO0mGzUvVJ4Sg77A eSgr5K6lre8li0ZSbEddIk/iyoHGYLi7Ae9lpwPq1IaEOvlpnvRaGXmhZdHMMBPvJTnL 3wg8H2/n/yhfN05oswHIILZKgasXyhMjWo1bA= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id d14mr76107wfa.270.1255441776107; Tue, 13 Oct 2009 06:49:36 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Tue, 13 Oct 2009 06:49:36 -0700 Message-ID: <[email protected]> Subject: Re: Reading files from local file system From: Jeff Zhang <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=001636b2bc9919e6da0475d15176 --001636b2bc9919e6da0475d15176 Content-Type: text/plain; charset=UTF-8 Maybe you could debug your mapreduce job in eclipse, since you run it in local mode. On Tue, Oct 13, 2009 at 5:56 AM, Chandan Tamrakar < [email protected]> wrote: > > > We are trying to read files from local file system. But when running the > map > reduce it is not able to read files from the input location (the input > location is also local file system location). > > For this we changed the configuration of the hadoop-site.xml as shown > below: > > /etc/conf/hadoop/hadoop-site.xml > > <property> > <name>fs.default.name</name> > <value>file:///</value> > </property> > > > [admin@localhost ~]$ hadoop jar Test.jar /home/admin/input/test.txt > output1 > > Suppose Test.txt is pain text file that contains > Test1 > Test2 > Test3 > > > While running simple MapReduce job we get following exception "File not > found exception " , we are using TextInputFormat in our Job configuration > > > 09/10/13 17:26:35 WARN mapred.JobClient: Use GenericOptionsParser for > parsing the arguments. Applications should implement Tool for the same. > 09/10/13 17:26:35 INFO mapred.FileInputFormat: Total input paths to process > : 1 > 09/10/13 17:26:35 INFO mapred.FileInputFormat: Total input paths to process > : 1 > 09/10/13 17:26:37 INFO mapred.JobClient: Running job: job_200910131447_0033 > 09/10/13 17:26:38 INFO mapred.JobClient: map 0% reduce 0% > 09/10/13 17:27:00 INFO mapred.JobClient: Task Id : > attempt_200910131447_0033_m_000000_0, Status : FAILED > java.io.FileNotFoundException: File file:/home/admin/Desktop/input/test.txt > does not exist. > at > > org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.jav > a:420) > at > > org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:25 > 9) > at > > org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSInputChecker.<init>(Checks > umFileSystem.java:117) > at > org.apache.hadoop.fs.ChecksumFileSystem.open(ChecksumFileSystem.java:275) > at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:364) > at > org.apache.hadoop.mapred.LineRecordReader.<init>(LineRecordReader.java:206) > at > > org.apache.hadoop.mapred.TextInputFormat.getRecordReader(TextInputFormat.jav > a:50) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:219) > at > org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:2210) > > However, running in the code as a separate Main method does work well. > > public static void main (String [] args) throws IOException { > > Configuration conf = new Configuration(); > FileSystem fs = FileSystem.get(conf); > > Path filenamePath = new Path(theFilename); > FSDataOutputStream out = fs.create(new Path("abc.txt")); > out.writeUTF("abc"); > out.close(); > > } > > The above code works fine when running it as a jar in hadoop. The above > code > successfully creates file in /home/admin/abc.txt when running from admin > user. > > --001636b2bc9919e6da0475d15176-- From [email protected] Tue Oct 13 14:17:43 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5579 invoked from network); 13 Oct 2009 14:17:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Oct 2009 14:17:42 -0000 Received: (qmail 19131 invoked by uid 500); 13 Oct 2009 14:17:39 -0000 Delivered-To: [email protected] Received: (qmail 19044 invoked by uid 500); 13 Oct 2009 14:17:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 19024 invoked by uid 99); 13 Oct 2009 14:17:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 14:17:39 +0000 X-ASF-Spam-Status: No, hits=-4.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_MED X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mx5.umbc.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 14:17:36 +0000 Received: from smtp.umbc.edu (localhost [161.129.204.104]) by umbc.edu (mx5.umbc.edu) with ESMTP id n9DEHFgD022078; Tue, 13 Oct 2009 10:17:15 -0400 (EDT) Received: from [161.129.204.104] (pool-71-179-71-29.bltmmd.east.verizon.net [161.129.204.104]) (authenticated bits=0) by smtp.umbc.edu (mx5-relay.umbc.edu) with ESMTP id n9DEHEJZ022075 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 13 Oct 2009 10:17:14 -0400 (EDT) From: Tejas Lagvankar <[email protected]> Content-Type: multipart/mixed; boundary=Apple-Mail-5-110843886 Subject: 0.20.1 Cluster Setup Problem Date: Tue, 13 Oct 2009 10:17:14 -0400 Message-Id: <[email protected]> To: [email protected], [email protected] Mime-Version: 1.0 (Apple Message framework v1076) X-Mailer: Apple Mail (2.1076) X-Milter-Key: 1255573035:2b40ae8e7c9d421eeaa39f89888cdbaf X-ClamAV: OK --Apple-Mail-5-110843886 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Hi, We are trying to set up a cluster (starting with 2 machines) using the new 0.20.1 version. On the master machine, just after the server starts, the name node dies off with the following exception: 2009-10-13 01:22:24,740 ERROR org.apache.hadoop.hdfs.server.namenode.NameNode: java.io.IOException: Incomplete HDFS URI, no host: hdfs://master_hadoop at org.apache.hadoop.hdfs.DistributedFileSystem.initialize (DistributedFileSystem.java:78) at org.apache.hadoop.fs.FileSystem.createFileSystem (FileSystem.java:1373) at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java: 66) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java: 1385) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:191) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:95) at org.apache.hadoop.fs.Trash.<init>(Trash.java:62) at org.apache.hadoop.hdfs.server.namenode.NameNode.startTrashEmptier (NameNode.java:208) at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize (NameNode.java:204) at org.apache.hadoop.hdfs.server.namenode.NameNode.<init> (NameNode.java:279) at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode (NameNode.java:956) at org.apache.hadoop.hdfs.server.namenode.NameNode.main (NameNode.java:965) Can anyone help ? Also can anyone send across example configuration files for 0.20.1 if they are different than we are using ? The detail log file is attached along with. --Apple-Mail-5-110843886 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii; format=flowed The configuration files are as follows: MASTER CONFIG ------ conf/masters ------- master_hadoop ------ conf/slaves ------- master_hadoop slave_hadoop ------ core-site.xml ------- <configuration> <property> <name>fs.default.name</name> <value>hdfs://master_hadoop</value> </property> <property> <name>hadoop.tmp.dir</name> <value>/opt/hadoop-0.20.1/tmp</value> </property> ------ hdfs-site.xml ------- <property> <name>dfs.replication</name> <value>2</value> </property> ------ mapred-site.xml ------- <property> <name>mapred.job.tracker</name> <value>tejas_hadoop:9001</value> </property> SLAVE CONFIG ------ core-site.xml ------- <property> <name>hadoop.tmp.dir</name> <value>/opt/hadoop-0.20.1/tmp/</value> </property> <property> <name>fs.default.name</name> <value>hdfs://master_hadoop</value> </property> ------ hdfs-site.xml ------- <property> <name>dfs.replication</name> <value>2</value> </property> ------ mapred-site.xml ------- <property> <name>mapred.job.tracker</name> <value>tejas_hadoop:9001</value> </property> Regards, Tejas Lagvankar [email protected] www.umbc.edu/~tej2 --Apple-Mail-5-110843886-- From [email protected] Tue Oct 13 15:44:32 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39267 invoked from network); 13 Oct 2009 15:44:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Oct 2009 15:44:32 -0000 Received: (qmail 6627 invoked by uid 500); 13 Oct 2009 15:44:29 -0000 Delivered-To: [email protected] Received: (qmail 6043 invoked by uid 500); 13 Oct 2009 15:44:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 5919 invoked by uid 99); 13 Oct 2009 15:44:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 15:44:28 +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: local policy) Received: from [161.129.204.104] (HELO mail-iw0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 15:44:17 +0000 Received: by iwn1 with SMTP id 1so5762210iwn.2 for <multiple recipients>; Tue, 13 Oct 2009 08:43:52 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id k39mr2711006ibr.10.1255448631196; Tue, 13 Oct 2009 08:43:51 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Tue, 13 Oct 2009 15:43:51 +0000 Message-ID: <[email protected]> Subject: Re: 0.20.1 Cluster Setup Problem From: Kevin Sweeney <[email protected]> To: [email protected] Cc: [email protected] Content-Type: multipart/alternative; boundary=0016e6460848b23c470475d2e994 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6460848b23c470475d2e994 Content-Type: text/plain; charset=ISO-8859-1 Hi Tejas, I just upgraded to 20.1 as well and you config all looks the same as mine except in the core-site.xml I have: <configuration> <property> <name>fs.default.name</name> <value>hdfs://localhost:9000</value> </property> </configuration> Maybe you need to add the port on yours. I haven't seen that error before, but it seems to be suggesting it can't resolve the host. I'd say double-check your names and that they resolve. Hope that helps, Kevin On Tue, Oct 13, 2009 at 2:17 PM, Tejas Lagvankar <[email protected]> wrote: > Hi, > > > We are trying to set up a cluster (starting with 2 machines) using the new > 0.20.1 version. > > On the master machine, just after the server starts, the name node dies off > with the following exception: > > 2009-10-13 01:22:24,740 ERROR > org.apache.hadoop.hdfs.server.namenode.NameNode: java.io.IOException: > Incomplete HDFS URI, no host: hdfs://master_hadoop > at > org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:78) > at > org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1373) > at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66) > at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1385) > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:191) > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:95) > at org.apache.hadoop.fs.Trash.<init>(Trash.java:62) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.startTrashEmptier(NameNode.java:208) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:204) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:279) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:956) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:965) > > Can anyone help ? Also can anyone send across example configuration files > for 0.20.1 if they are different than we are using ? > > The detail log file is attached along with. > > > > > The configuration files are as follows: > > MASTER CONFIG > ------ conf/masters ------- > master_hadoop > > ------ conf/slaves ------- > master_hadoop > slave_hadoop > > ------ core-site.xml ------- > <configuration> > > <property> > <name>fs.default.name</name> > <value>hdfs://master_hadoop</value> > </property> > > <property> > <name>hadoop.tmp.dir</name> > <value>/opt/hadoop-0.20.1/tmp</value> > </property> > > ------ hdfs-site.xml ------- > <property> > <name>dfs.replication</name> > <value>2</value> > </property> > > > ------ mapred-site.xml ------- > <property> > <name>mapred.job.tracker</name> > <value>tejas_hadoop:9001</value> > </property> > > > > > > SLAVE CONFIG > ------ core-site.xml ------- > <property> > <name>hadoop.tmp.dir</name> > <value>/opt/hadoop-0.20.1/tmp/</value> > </property> > > > <property> > <name>fs.default.name</name> > <value>hdfs://master_hadoop</value> > </property> > > > ------ hdfs-site.xml ------- > <property> > <name>dfs.replication</name> > <value>2</value> > </property> > > ------ mapred-site.xml ------- > <property> > <name>mapred.job.tracker</name> > <value>tejas_hadoop:9001</value> > </property> > > > > Regards, > > Tejas Lagvankar > [email protected] > www.umbc.edu/~tej2 > > > > > --0016e6460848b23c470475d2e994-- From [email protected] Tue Oct 13 16:06:26 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46418 invoked from network); 13 Oct 2009 16:06:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Oct 2009 16:06:26 -0000 Received: (qmail 50810 invoked by uid 500); 13 Oct 2009 16:06:25 -0000 Delivered-To: [email protected] Received: (qmail 50741 invoked by uid 500); 13 Oct 2009 16:06:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 50731 invoked by uid 99); 13 Oct 2009 16:06:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 16:06:25 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-yw0-f187.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 16:06:22 +0000 Received: by ywh17 with SMTP id 17so6516455ywh.2 for <[email protected]>; Tue, 13 Oct 2009 09:05:59 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id p27mr3920380agp.9.1255449958131; Tue, 13 Oct 2009 09:05:58 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: Chandan Tamrakar <[email protected]> Date: Tue, 13 Oct 2009 09:05:38 -0700 Message-ID: <[email protected]> Subject: Re: Reading files from local file system To: [email protected] Content-Type: multipart/alternative; boundary=001636163e07c9a9390475d3389e --001636163e07c9a9390475d3389e Content-Type: text/plain; charset=ISO-8859-1 Do I need to change any configuration beside changing the default file system to "local file system' ? I am trying to input for example input.txt to map job input.txt will contain file location as following file://path/abc1.doc file://path/abc2.doc .. ... map program will read each line from input.txt and process them Do i need to change any configuration ? This is similar to how Nutch crawls . any feedbacks would be appreciated thanks On Tue, Oct 13, 2009 at 6:49 AM, Jeff Zhang <[email protected]> wrote: > Maybe you could debug your mapreduce job in eclipse, since you run it in > local mode. > > > > On Tue, Oct 13, 2009 at 5:56 AM, Chandan Tamrakar < > [email protected]> wrote: > > > > > > > We are trying to read files from local file system. But when running the > > map > > reduce it is not able to read files from the input location (the input > > location is also local file system location). > > > > For this we changed the configuration of the hadoop-site.xml as shown > > below: > > > > /etc/conf/hadoop/hadoop-site.xml > > > > <property> > > <name>fs.default.name</name> > > <value>file:///</value> > > </property> > > > > > > [admin@localhost ~]$ hadoop jar Test.jar /home/admin/input/test.txt > > output1 > > > > Suppose Test.txt is pain text file that contains > > Test1 > > Test2 > > Test3 > > > > > > While running simple MapReduce job we get following exception "File not > > found exception " , we are using TextInputFormat in our Job configuration > > > > > > 09/10/13 17:26:35 WARN mapred.JobClient: Use GenericOptionsParser for > > parsing the arguments. Applications should implement Tool for the same. > > 09/10/13 17:26:35 INFO mapred.FileInputFormat: Total input paths to > process > > : 1 > > 09/10/13 17:26:35 INFO mapred.FileInputFormat: Total input paths to > process > > : 1 > > 09/10/13 17:26:37 INFO mapred.JobClient: Running job: > job_200910131447_0033 > > 09/10/13 17:26:38 INFO mapred.JobClient: map 0% reduce 0% > > 09/10/13 17:27:00 INFO mapred.JobClient: Task Id : > > attempt_200910131447_0033_m_000000_0, Status : FAILED > > java.io.FileNotFoundException: File > file:/home/admin/Desktop/input/test.txt > > does not exist. > > at > > > > > org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.jav > > a:420) > > at > > > > > org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:25 > > 9) > > at > > > > > org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSInputChecker.<init>(Checks > > umFileSystem.java:117) > > at > > org.apache.hadoop.fs.ChecksumFileSystem.open(ChecksumFileSystem.java:275) > > at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:364) > > at > > > org.apache.hadoop.mapred.LineRecordReader.<init>(LineRecordReader.java:206) > > at > > > > > org.apache.hadoop.mapred.TextInputFormat.getRecordReader(TextInputFormat.jav > > a:50) > > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:219) > > at > > org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:2210) > > > > However, running in the code as a separate Main method does work well. > > > > public static void main (String [] args) throws IOException { > > > > Configuration conf = new Configuration(); > > FileSystem fs = FileSystem.get(conf); > > > > Path filenamePath = new Path(theFilename); > > FSDataOutputStream out = fs.create(new Path("abc.txt")); > > out.writeUTF("abc"); > > out.close(); > > > > } > > > > The above code works fine when running it as a jar in hadoop. The above > > code > > successfully creates file in /home/admin/abc.txt when running from admin > > user. > > > > > -- Chandan Tamrakar --001636163e07c9a9390475d3389e-- From [email protected] Tue Oct 13 16:12:57 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48641 invoked from network); 13 Oct 2009 16:12:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Oct 2009 16:12:57 -0000 Received: (qmail 59644 invoked by uid 500); 13 Oct 2009 16:12:56 -0000 Delivered-To: [email protected] Received: (qmail 59561 invoked by uid 500); 13 Oct 2009 16:12:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 59541 invoked by uid 99); 13 Oct 2009 16:12:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 16:12:56 +0000 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-yw0-f187.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 16:12:44 +0000 Received: by ywh17 with SMTP id 17so6523436ywh.2 for <multiple recipients>; Tue, 13 Oct 2009 09:12:22 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id 1mr4428922agj.62.1255450340157; Tue, 13 Oct 2009 09:12:20 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> From: Chandan Tamrakar <[email protected]> Date: Tue, 13 Oct 2009 09:12:00 -0700 Message-ID: <[email protected]> Subject: Re: 0.20.1 Cluster Setup Problem To: [email protected] Cc: [email protected] Content-Type: multipart/alternative; boundary=0016362835168eea820475d34f3b X-Virus-Checked: Checked by ClamAV on apache.org --0016362835168eea820475d34f3b Content-Type: text/plain; charset=ISO-8859-1 I think you need to specify the port as well for following port <property> <name>fs.default.name</name> <value>hdfs://master_hadoop</value> </property> On Tue, Oct 13, 2009 at 7:17 AM, Tejas Lagvankar <[email protected]> wrote: > Hi, > > > We are trying to set up a cluster (starting with 2 machines) using the new > 0.20.1 version. > > On the master machine, just after the server starts, the name node dies off > with the following exception: > > 2009-10-13 01:22:24,740 ERROR > org.apache.hadoop.hdfs.server.namenode.NameNode: java.io.IOException: > Incomplete HDFS URI, no host: hdfs://master_hadoop > at > org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:78) > at > org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1373) > at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66) > at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1385) > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:191) > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:95) > at org.apache.hadoop.fs.Trash.<init>(Trash.java:62) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.startTrashEmptier(NameNode.java:208) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:204) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:279) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:956) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:965) > > Can anyone help ? Also can anyone send across example configuration files > for 0.20.1 if they are different than we are using ? > > The detail log file is attached along with. > > > > > The configuration files are as follows: > > MASTER CONFIG > ------ conf/masters ------- > master_hadoop > > ------ conf/slaves ------- > master_hadoop > slave_hadoop > > ------ core-site.xml ------- > <configuration> > > <property> > <name>fs.default.name</name> > <value>hdfs://master_hadoop</value> > </property> > > <property> > <name>hadoop.tmp.dir</name> > <value>/opt/hadoop-0.20.1/tmp</value> > </property> > > ------ hdfs-site.xml ------- > <property> > <name>dfs.replication</name> > <value>2</value> > </property> > > > ------ mapred-site.xml ------- > <property> > <name>mapred.job.tracker</name> > <value>tejas_hadoop:9001</value> > </property> > > > > > > SLAVE CONFIG > ------ core-site.xml ------- > <property> > <name>hadoop.tmp.dir</name> > <value>/opt/hadoop-0.20.1/tmp/</value> > </property> > > > <property> > <name>fs.default.name</name> > <value>hdfs://master_hadoop</value> > </property> > > > ------ hdfs-site.xml ------- > <property> > <name>dfs.replication</name> > <value>2</value> > </property> > > ------ mapred-site.xml ------- > <property> > <name>mapred.job.tracker</name> > <value>tejas_hadoop:9001</value> > </property> > > > > Regards, > > Tejas Lagvankar > [email protected] > www.umbc.edu/~tej2 <http://www.umbc.edu/%7Etej2> > > > > > -- Chandan Tamrakar --0016362835168eea820475d34f3b-- From [email protected] Tue Oct 13 16:34:47 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56180 invoked from network); 13 Oct 2009 16:34:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Oct 2009 16:34:46 -0000 Received: (qmail 6994 invoked by uid 500); 13 Oct 2009 16:34:43 -0000 Delivered-To: [email protected] Received: (qmail 6904 invoked by uid 500); 13 Oct 2009 16:34:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6880 invoked by uid 99); 13 Oct 2009 16:34:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 16:34:43 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mx4.umbc.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 16:34:31 +0000 Received: from smtp.umbc.edu (localhost [161.129.204.104]) by umbc.edu (mx4.umbc.edu) with ESMTP id n9DGY8L5004545; Tue, 13 Oct 2009 12:34:08 -0400 (EDT) Received: from [161.129.204.104] (pool-71-179-71-29.bltmmd.east.verizon.net [161.129.204.104]) (authenticated bits=0) by smtp.umbc.edu (mx4-relay.umbc.edu) with ESMTP id n9DGY8D9004540 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 13 Oct 2009 12:34:08 -0400 (EDT) Subject: Re: 0.20.1 Cluster Setup Problem Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes From: Tejas Lagvankar <[email protected]> In-Reply-To: <[email protected]> Date: Tue, 13 Oct 2009 12:34:07 -0400 Cc: [email protected], Chandan Tamrakar <[email protected]>, jun hu <[email protected]>, Kevin Sweeney <[email protected]> Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> References: <[email protected]> <[email protected]> To: [email protected] X-Mailer: Apple Mail (2.1076) X-Milter-Key: 1255581249:a08eca2decbdace0b3112e562de4cfbd X-ClamAV: OK X-Virus-Checked: Checked by ClamAV on apache.org I get the same error even if i specify the port number. I have tried with port numbers 54310 as well as 9000. Regards, Tejas On Oct 13, 2009, at 12:12 PM, Chandan Tamrakar wrote: > I think you need to specify the port as well for following port > > <property> > <name>fs.default.name</name> > <value>hdfs://master_hadoop</value> > </property> > > > On Tue, Oct 13, 2009 at 7:17 AM, Tejas Lagvankar <[email protected]> > wrote: > >> Hi, >> >> >> We are trying to set up a cluster (starting with 2 machines) using >> the new >> 0.20.1 version. >> >> On the master machine, just after the server starts, the name node >> dies off >> with the following exception: >> >> 2009-10-13 01:22:24,740 ERROR >> org.apache.hadoop.hdfs.server.namenode.NameNode: java.io.IOException: >> Incomplete HDFS URI, no host: hdfs://master_hadoop >> at >> org.apache.hadoop.hdfs.DistributedFileSystem.initialize >> (DistributedFileSystem.java:78) >> at >> org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java: >> 1373) >> at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java: >> 66) >> at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java: >> 1385) >> at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:191) >> at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:95) >> at org.apache.hadoop.fs.Trash.<init>(Trash.java:62) >> at >> org.apache.hadoop.hdfs.server.namenode.NameNode.startTrashEmptier >> (NameNode.java:208) >> at >> org.apache.hadoop.hdfs.server.namenode.NameNode.initialize >> (NameNode.java:204) >> at >> org.apache.hadoop.hdfs.server.namenode.NameNode.<init> >> (NameNode.java:279) >> at >> org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode >> (NameNode.java:956) >> at >> org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java: >> 965) >> >> Can anyone help ? Also can anyone send across example >> configuration files >> for 0.20.1 if they are different than we are using ? >> >> The detail log file is attached along with. >> >> >> >> >> The configuration files are as follows: >> >> MASTER CONFIG >> ------ conf/masters ------- >> master_hadoop >> >> ------ conf/slaves ------- >> master_hadoop >> slave_hadoop >> >> ------ core-site.xml ------- >> <configuration> >> >> <property> >> <name>fs.default.name</name> >> <value>hdfs://master_hadoop</value> >> </property> >> >> <property> >> <name>hadoop.tmp.dir</name> >> <value>/opt/hadoop-0.20.1/tmp</value> >> </property> >> >> ------ hdfs-site.xml ------- >> <property> >> <name>dfs.replication</name> >> <value>2</value> >> </property> >> >> >> ------ mapred-site.xml ------- >> <property> >> <name>mapred.job.tracker</name> >> <value>tejas_hadoop:9001</value> >> </property> >> >> >> >> >> >> SLAVE CONFIG >> ------ core-site.xml ------- >> <property> >> <name>hadoop.tmp.dir</name> >> <value>/opt/hadoop-0.20.1/tmp/</value> >> </property> >> >> >> <property> >> <name>fs.default.name</name> >> <value>hdfs://master_hadoop</value> >> </property> >> >> >> ------ hdfs-site.xml ------- >> <property> >> <name>dfs.replication</name> >> <value>2</value> >> </property> >> >> ------ mapred-site.xml ------- >> <property> >> <name>mapred.job.tracker</name> >> <value>tejas_hadoop:9001</value> >> </property> >> >> >> >> Regards, >> >> Tejas Lagvankar >> [email protected] >> www.umbc.edu/~tej2 <http://www.umbc.edu/%7Etej2> >> >> >> >> >> > > > -- > Chandan Tamrakar Tejas Lagvankar [email protected] www.umbc.edu/~tej2 From [email protected] Tue Oct 13 16:37:37 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56994 invoked from network); 13 Oct 2009 16:37:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Oct 2009 16:37:37 -0000 Received: (qmail 12063 invoked by uid 500); 13 Oct 2009 16:37:34 -0000 Delivered-To: [email protected] Received: (qmail 11982 invoked by uid 500); 13 Oct 2009 16:37:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 11962 invoked by uid 99); 13 Oct 2009 16:37:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 16:37:34 +0000 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-iw0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 16:37:22 +0000 Received: by iwn1 with SMTP id 1so5796741iwn.2 for <multiple recipients>; Tue, 13 Oct 2009 09:37:01 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id c26mr435381ibr.1.1255451820502; Tue, 13 Oct 2009 09:37:00 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Tue, 13 Oct 2009 16:37:00 +0000 Message-ID: <[email protected]> Subject: Re: 0.20.1 Cluster Setup Problem From: Kevin Sweeney <[email protected]> To: Tejas Lagvankar <[email protected]> Cc: [email protected], [email protected], Chandan Tamrakar <[email protected]>, jun hu <[email protected]> Content-Type: multipart/alternative; boundary=0016e6480e08cb2faa0475d3a745 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6480e08cb2faa0475d3a745 Content-Type: text/plain; charset=ISO-8859-1 did you verify the name resolution? On Tue, Oct 13, 2009 at 4:34 PM, Tejas Lagvankar <[email protected]> wrote: > > I get the same error even if i specify the port number. I have tried with > port numbers 54310 as well as 9000. > > > Regards, > Tejas > > > On Oct 13, 2009, at 12:12 PM, Chandan Tamrakar wrote: > > I think you need to specify the port as well for following port >> >> <property> >> <name>fs.default.name</name> >> <value>hdfs://master_hadoop</value> >> </property> >> >> >> On Tue, Oct 13, 2009 at 7:17 AM, Tejas Lagvankar <[email protected]> wrote: >> >> Hi, >>> >>> >>> We are trying to set up a cluster (starting with 2 machines) using the >>> new >>> 0.20.1 version. >>> >>> On the master machine, just after the server starts, the name node dies >>> off >>> with the following exception: >>> >>> 2009-10-13 01:22:24,740 ERROR >>> org.apache.hadoop.hdfs.server.namenode.NameNode: java.io.IOException: >>> Incomplete HDFS URI, no host: hdfs://master_hadoop >>> at >>> >>> org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:78) >>> at >>> org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1373) >>> at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66) >>> at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1385) >>> at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:191) >>> at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:95) >>> at org.apache.hadoop.fs.Trash.<init>(Trash.java:62) >>> at >>> >>> org.apache.hadoop.hdfs.server.namenode.NameNode.startTrashEmptier(NameNode.java:208) >>> at >>> >>> org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:204) >>> at >>> org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:279) >>> at >>> >>> org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:956) >>> at >>> org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:965) >>> >>> Can anyone help ? Also can anyone send across example configuration >>> files >>> for 0.20.1 if they are different than we are using ? >>> >>> The detail log file is attached along with. >>> >>> >>> >>> >>> The configuration files are as follows: >>> >>> MASTER CONFIG >>> ------ conf/masters ------- >>> master_hadoop >>> >>> ------ conf/slaves ------- >>> master_hadoop >>> slave_hadoop >>> >>> ------ core-site.xml ------- >>> <configuration> >>> >>> <property> >>> <name>fs.default.name</name> >>> <value>hdfs://master_hadoop</value> >>> </property> >>> >>> <property> >>> <name>hadoop.tmp.dir</name> >>> <value>/opt/hadoop-0.20.1/tmp</value> >>> </property> >>> >>> ------ hdfs-site.xml ------- >>> <property> >>> <name>dfs.replication</name> >>> <value>2</value> >>> </property> >>> >>> >>> ------ mapred-site.xml ------- >>> <property> >>> <name>mapred.job.tracker</name> >>> <value>tejas_hadoop:9001</value> >>> </property> >>> >>> >>> >>> >>> >>> SLAVE CONFIG >>> ------ core-site.xml ------- >>> <property> >>> <name>hadoop.tmp.dir</name> >>> <value>/opt/hadoop-0.20.1/tmp/</value> >>> </property> >>> >>> >>> <property> >>> <name>fs.default.name</name> >>> <value>hdfs://master_hadoop</value> >>> </property> >>> >>> >>> ------ hdfs-site.xml ------- >>> <property> >>> <name>dfs.replication</name> >>> <value>2</value> >>> </property> >>> >>> ------ mapred-site.xml ------- >>> <property> >>> <name>mapred.job.tracker</name> >>> <value>tejas_hadoop:9001</value> >>> </property> >>> >>> >>> >>> Regards, >>> >>> Tejas Lagvankar >>> [email protected] >>> www.umbc.edu/~tej2 <http://www.umbc.edu/%7Etej2> >>> >>> >>> >>> >>> >>> >> >> -- >> Chandan Tamrakar >> > > Tejas Lagvankar > [email protected] > www.umbc.edu/~tej2 > > > > --0016e6480e08cb2faa0475d3a745-- From [email protected] Tue Oct 13 16:41:46 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57710 invoked from network); 13 Oct 2009 16:41:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Oct 2009 16:41:46 -0000 Received: (qmail 18260 invoked by uid 500); 13 Oct 2009 16:41:43 -0000 Delivered-To: [email protected] Received: (qmail 18175 invoked by uid 500); 13 Oct 2009 16:41:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 18155 invoked by uid 99); 13 Oct 2009 16:41:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 16:41:43 +0000 X-ASF-Spam-Status: No, hits=-1.8 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mx2.umbc.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 16:41:31 +0000 Received: from smtp.umbc.edu (localhost [161.129.204.104]) by umbc.edu (mx2.umbc.edu) with ESMTP id n9DGf9Hb007267; Tue, 13 Oct 2009 12:41:09 -0400 (EDT) Received: from [161.129.204.104] (pool-71-179-71-29.bltmmd.east.verizon.net [161.129.204.104]) (authenticated bits=0) by smtp.umbc.edu (mx2-relay.umbc.edu) with ESMTP id n9DGf7uv007253 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 13 Oct 2009 12:41:08 -0400 (EDT) Subject: Re: 0.20.1 Cluster Setup Problem Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: multipart/alternative; boundary=Apple-Mail-6-119477132 From: Tejas Lagvankar <[email protected]> In-Reply-To: <[email protected]> Date: Tue, 13 Oct 2009 12:41:07 -0400 Cc: [email protected], [email protected] Message-Id: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> To: Kevin Sweeney <[email protected]> X-Mailer: Apple Mail (2.1076) X-Milter-Key: 1255581670:3bb99aea61c9f3150b690e32e6d9b754 X-ClamAV: OK X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-6-119477132 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes By name resolution, I assume that you mean the name mentioned in /etc/ hosts. Yes, in the logs, the IP address appears in the beginning. Correct me if I'm wrong I will also try with using just the IP's instead of the aliases. On Oct 13, 2009, at 12:37 PM, Kevin Sweeney wrote: > did you verify the name resolution? > > On Tue, Oct 13, 2009 at 4:34 PM, Tejas Lagvankar <[email protected]> > wrote: > > I get the same error even if i specify the port number. I have tried > with port numbers 54310 as well as 9000. > > > Regards, > Tejas > > > On Oct 13, 2009, at 12:12 PM, Chandan Tamrakar wrote: > > I think you need to specify the port as well for following port > > <property> > <name>fs.default.name</name> > <value>hdfs://master_hadoop</value> > </property> > > > On Tue, Oct 13, 2009 at 7:17 AM, Tejas Lagvankar <[email protected]> > wrote: > > Hi, > > > We are trying to set up a cluster (starting with 2 machines) using > the new > 0.20.1 version. > > On the master machine, just after the server starts, the name node > dies off > with the following exception: > > 2009-10-13 01:22:24,740 ERROR > org.apache.hadoop.hdfs.server.namenode.NameNode: java.io.IOException: > Incomplete HDFS URI, no host: hdfs://master_hadoop > at > org.apache.hadoop.hdfs.DistributedFileSystem.initialize > (DistributedFileSystem.java:78) > at > org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1373) > at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66) > at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java: > 1385) > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:191) > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:95) > at org.apache.hadoop.fs.Trash.<init>(Trash.java:62) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.startTrashEmptier > (NameNode.java:208) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.initialize > (NameNode.java:204) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java: > 279) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode > (NameNode.java:956) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java: > 965) > > Can anyone help ? Also can anyone send across example configuration > files > for 0.20.1 if they are different than we are using ? > > The detail log file is attached along with. > > > > > The configuration files are as follows: > > MASTER CONFIG > ------ conf/masters ------- > master_hadoop > > ------ conf/slaves ------- > master_hadoop > slave_hadoop > > ------ core-site.xml ------- > <configuration> > > <property> > <name>fs.default.name</name> > <value>hdfs://master_hadoop</value> > </property> > > <property> > <name>hadoop.tmp.dir</name> > <value>/opt/hadoop-0.20.1/tmp</value> > </property> > > ------ hdfs-site.xml ------- > <property> > <name>dfs.replication</name> > <value>2</value> > </property> > > > ------ mapred-site.xml ------- > <property> > <name>mapred.job.tracker</name> > <value>tejas_hadoop:9001</value> > </property> > > > > > > SLAVE CONFIG > ------ core-site.xml ------- > <property> > <name>hadoop.tmp.dir</name> > <value>/opt/hadoop-0.20.1/tmp/</value> > </property> > > > <property> > <name>fs.default.name</name> > <value>hdfs://master_hadoop</value> > </property> > > > ------ hdfs-site.xml ------- > <property> > <name>dfs.replication</name> > <value>2</value> > </property> > > ------ mapred-site.xml ------- > <property> > <name>mapred.job.tracker</name> > <value>tejas_hadoop:9001</value> > </property> > > > > Regards, > > Tejas Lagvankar > [email protected] > www.umbc.edu/~tej2 <http://www.umbc.edu/%7Etej2> > > > > > > > > -- > Chandan Tamrakar > > Tejas Lagvankar > [email protected] > www.umbc.edu/~tej2 > > > > > > > Tejas Lagvankar [email protected] www.umbc.edu/~tej2 --Apple-Mail-6-119477132-- From [email protected] Tue Oct 13 17:02:07 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66264 invoked from network); 13 Oct 2009 17:02:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Oct 2009 17:02:06 -0000 Received: (qmail 68070 invoked by uid 500); 13 Oct 2009 17:02:03 -0000 Delivered-To: [email protected] Received: (qmail 67986 invoked by uid 500); 13 Oct 2009 17:02:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 67967 invoked by uid 99); 13 Oct 2009 17:02:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 17:02:02 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mx4.umbc.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 17:01:51 +0000 Received: from smtp.umbc.edu (localhost [161.129.204.104]) by umbc.edu (mx4.umbc.edu) with ESMTP id n9DH1UcI017313; Tue, 13 Oct 2009 13:01:30 -0400 (EDT) Received: from [161.129.204.104] (pool-71-179-71-29.bltmmd.east.verizon.net [161.129.204.104]) (authenticated bits=0) by smtp.umbc.edu (mx4-relay.umbc.edu) with ESMTP id n9DH1Tqb017300 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 13 Oct 2009 13:01:29 -0400 (EDT) Subject: Re: 0.20.1 Cluster Setup Problem Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes From: Tejas Lagvankar <[email protected]> In-Reply-To: <[email protected]> Date: Tue, 13 Oct 2009 13:01:29 -0400 Cc: Kevin Sweeney <[email protected]>, [email protected] Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> To: [email protected] X-Mailer: Apple Mail (2.1076) X-Milter-Key: 1255582890:faa1ceb86d3541179c132c8da7b5a473 X-ClamAV: OK X-Virus-Checked: Checked by ClamAV on apache.org Hey Kevin, You were right... I changed all my aliases to IP addresses. It worked ! Thank you all again :) Regards, Tejas On Oct 13, 2009, at 12:41 PM, Tejas Lagvankar wrote: > By name resolution, I assume that you mean the name mentioned in / > etc/hosts. Yes, in the logs, the IP address appears in the beginning. > Correct me if I'm wrong > I will also try with using just the IP's instead of the aliases. > > On Oct 13, 2009, at 12:37 PM, Kevin Sweeney wrote: > >> did you verify the name resolution? >> >> On Tue, Oct 13, 2009 at 4:34 PM, Tejas Lagvankar <[email protected]> >> wrote: >> >> I get the same error even if i specify the port number. I have >> tried with port numbers 54310 as well as 9000. >> >> >> Regards, >> Tejas >> >> >> On Oct 13, 2009, at 12:12 PM, Chandan Tamrakar wrote: >> >> I think you need to specify the port as well for following port >> >> <property> >> <name>fs.default.name</name> >> <value>hdfs://master_hadoop</value> >> </property> >> >> >> On Tue, Oct 13, 2009 at 7:17 AM, Tejas Lagvankar <[email protected]> >> wrote: >> >> Hi, >> >> >> We are trying to set up a cluster (starting with 2 machines) using >> the new >> 0.20.1 version. >> >> On the master machine, just after the server starts, the name node >> dies off >> with the following exception: >> >> 2009-10-13 01:22:24,740 ERROR >> org.apache.hadoop.hdfs.server.namenode.NameNode: java.io.IOException: >> Incomplete HDFS URI, no host: hdfs://master_hadoop >> at >> org.apache.hadoop.hdfs.DistributedFileSystem.initialize >> (DistributedFileSystem.java:78) >> at >> org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java: >> 1373) >> at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66) >> at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java: >> 1385) >> at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:191) >> at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:95) >> at org.apache.hadoop.fs.Trash.<init>(Trash.java:62) >> at >> org.apache.hadoop.hdfs.server.namenode.NameNode.startTrashEmptier >> (NameNode.java:208) >> at >> org.apache.hadoop.hdfs.server.namenode.NameNode.initialize >> (NameNode.java:204) >> at >> org.apache.hadoop.hdfs.server.namenode.NameNode.<init> >> (NameNode.java:279) >> at >> org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode >> (NameNode.java:956) >> at >> org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java: >> 965) >> >> Can anyone help ? Also can anyone send across example >> configuration files >> for 0.20.1 if they are different than we are using ? >> >> The detail log file is attached along with. >> >> >> >> >> The configuration files are as follows: >> >> MASTER CONFIG >> ------ conf/masters ------- >> master_hadoop >> >> ------ conf/slaves ------- >> master_hadoop >> slave_hadoop >> >> ------ core-site.xml ------- >> <configuration> >> >> <property> >> <name>fs.default.name</name> >> <value>hdfs://master_hadoop</value> >> </property> >> >> <property> >> <name>hadoop.tmp.dir</name> >> <value>/opt/hadoop-0.20.1/tmp</value> >> </property> >> >> ------ hdfs-site.xml ------- >> <property> >> <name>dfs.replication</name> >> <value>2</value> >> </property> >> >> >> ------ mapred-site.xml ------- >> <property> >> <name>mapred.job.tracker</name> >> <value>tejas_hadoop:9001</value> >> </property> >> >> >> >> >> >> SLAVE CONFIG >> ------ core-site.xml ------- >> <property> >> <name>hadoop.tmp.dir</name> >> <value>/opt/hadoop-0.20.1/tmp/</value> >> </property> >> >> >> <property> >> <name>fs.default.name</name> >> <value>hdfs://master_hadoop</value> >> </property> >> >> >> ------ hdfs-site.xml ------- >> <property> >> <name>dfs.replication</name> >> <value>2</value> >> </property> >> >> ------ mapred-site.xml ------- >> <property> >> <name>mapred.job.tracker</name> >> <value>tejas_hadoop:9001</value> >> </property> >> >> >> >> Regards, >> >> Tejas Lagvankar >> [email protected] >> www.umbc.edu/~tej2 <http://www.umbc.edu/%7Etej2> >> >> >> >> >> >> >> >> -- >> Chandan Tamrakar >> >> Tejas Lagvankar >> [email protected] >> www.umbc.edu/~tej2 >> >> >> >> >> >> >> > > Tejas Lagvankar > [email protected] > www.umbc.edu/~tej2 > > > Tejas Lagvankar [email protected] www.umbc.edu/~tej2 From [email protected] Tue Oct 13 18:30:23 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92106 invoked from network); 13 Oct 2009 18:30:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Oct 2009 18:30:23 -0000 Received: (qmail 50127 invoked by uid 500); 13 Oct 2009 18:30:20 -0000 Delivered-To: [email protected] Received: (qmail 49589 invoked by uid 500); 13 Oct 2009 18:30:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 49475 invoked by uid 99); 13 Oct 2009 18:30:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 18:30:19 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mx2.umbc.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 18:30:07 +0000 Received: from smtp.umbc.edu (localhost [161.129.204.104]) by umbc.edu (mx2.umbc.edu) with ESMTP id n9DITjdj008256; Tue, 13 Oct 2009 14:29:45 -0400 (EDT) Received: from wireless-217-247.wireless.umbc.edu (wireless-217-247.wireless.UMBC.EDU [161.129.204.104]) (authenticated bits=0) by smtp.umbc.edu (mx2-relay.umbc.edu) with ESMTP id n9DITi0J008253 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 13 Oct 2009 14:29:44 -0400 (EDT) Subject: Re: 0.20.1 Cluster Setup Problem Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes From: Tejas Lagvankar <[email protected]> In-Reply-To: <[email protected]> Date: Tue, 13 Oct 2009 14:29:44 -0400 Cc: [email protected], Todd Lipcon <[email protected]> Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> To: [email protected] X-Mailer: Apple Mail (2.1076) X-Milter-Key: 1255588185:01d2f63ce28102aafde70949b388b578 X-ClamAV: OK X-Virus-Checked: Checked by ClamAV on apache.org Thanks Todd, I never thought of that !! Regards, Tejas On Oct 13, 2009, at 1:50 PM, Todd Lipcon wrote: > Your issue was probably that slave_hadoop and master_hadoop are not > valid > host names: > > RFCs <http://en.wikipedia.org/wiki/Request_for_Comments> mandate > that a > hostname's labels may contain only the > ASCII<http://en.wikipedia.org/wiki/ASCII>letters 'a' through 'z' > (case-insensitive), the digits '0' through '9', and > the hyphen. Hostname labels cannot begin or end with a hyphen. No > other > symbols, punctuation characters, or blank spaces are permitted. > > from http://en.wikipedia.org/wiki/Hostname > > -Todd > > On Tue, Oct 13, 2009 at 10:01 AM, Tejas Lagvankar <[email protected]> > wrote: > >> Hey Kevin, >> >> You were right... >> I changed all my aliases to IP addresses. It worked ! >> >> Thank you all again :) >> >> Regards, >> Tejas >> >> >> On Oct 13, 2009, at 12:41 PM, Tejas Lagvankar wrote: >> >> By name resolution, I assume that you mean the name mentioned in >>> /etc/hosts. Yes, in the logs, the IP address appears in the >>> beginning. >>> Correct me if I'm wrong >>> I will also try with using just the IP's instead of the aliases. >>> >>> On Oct 13, 2009, at 12:37 PM, Kevin Sweeney wrote: >>> >>> did you verify the name resolution? >>>> >>>> On Tue, Oct 13, 2009 at 4:34 PM, Tejas Lagvankar <[email protected]> >>>> wrote: >>>> >>>> I get the same error even if i specify the port number. I have >>>> tried with >>>> port numbers 54310 as well as 9000. >>>> >>>> >>>> Regards, >>>> Tejas >>>> >>>> >>>> On Oct 13, 2009, at 12:12 PM, Chandan Tamrakar wrote: >>>> >>>> I think you need to specify the port as well for following port >>>> >>>> <property> >>>> <name>fs.default.name</name> >>>> <value>hdfs://master_hadoop</value> >>>> </property> >>>> >>>> >>>> On Tue, Oct 13, 2009 at 7:17 AM, Tejas Lagvankar <[email protected]> >>>> wrote: >>>> >>>> Hi, >>>> >>>> >>>> We are trying to set up a cluster (starting with 2 machines) >>>> using the >>>> new >>>> 0.20.1 version. >>>> >>>> On the master machine, just after the server starts, the name >>>> node dies >>>> off >>>> with the following exception: >>>> >>>> 2009-10-13 01:22:24,740 ERROR >>>> org.apache.hadoop.hdfs.server.namenode.NameNode: >>>> java.io.IOException: >>>> Incomplete HDFS URI, no host: hdfs://master_hadoop >>>> at >>>> >>>> org.apache.hadoop.hdfs.DistributedFileSystem.initialize >>>> (DistributedFileSystem.java:78) >>>> at >>>> org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java: >>>> 1373) >>>> at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66) >>>> at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java: >>>> 1385) >>>> at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:191) >>>> at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:95) >>>> at org.apache.hadoop.fs.Trash.<init>(Trash.java:62) >>>> at >>>> >>>> org.apache.hadoop.hdfs.server.namenode.NameNode.startTrashEmptier >>>> (NameNode.java:208) >>>> at >>>> >>>> org.apache.hadoop.hdfs.server.namenode.NameNode.initialize >>>> (NameNode.java:204) >>>> at >>>> org.apache.hadoop.hdfs.server.namenode.NameNode.<init> >>>> (NameNode.java:279) >>>> at >>>> >>>> org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode >>>> (NameNode.java:956) >>>> at >>>> org.apache.hadoop.hdfs.server.namenode.NameNode.main >>>> (NameNode.java:965) >>>> >>>> Can anyone help ? Also can anyone send across example >>>> configuration >>>> files >>>> for 0.20.1 if they are different than we are using ? >>>> >>>> The detail log file is attached along with. >>>> >>>> >>>> >>>> >>>> The configuration files are as follows: >>>> >>>> MASTER CONFIG >>>> ------ conf/masters ------- >>>> master_hadoop >>>> >>>> ------ conf/slaves ------- >>>> master_hadoop >>>> slave_hadoop >>>> >>>> ------ core-site.xml ------- >>>> <configuration> >>>> >>>> <property> >>>> <name>fs.default.name</name> >>>> <value>hdfs://master_hadoop</value> >>>> </property> >>>> >>>> <property> >>>> <name>hadoop.tmp.dir</name> >>>> <value>/opt/hadoop-0.20.1/tmp</value> >>>> </property> >>>> >>>> ------ hdfs-site.xml ------- >>>> <property> >>>> <name>dfs.replication</name> >>>> <value>2</value> >>>> </property> >>>> >>>> >>>> ------ mapred-site.xml ------- >>>> <property> >>>> <name>mapred.job.tracker</name> >>>> <value>tejas_hadoop:9001</value> >>>> </property> >>>> >>>> >>>> >>>> >>>> >>>> SLAVE CONFIG >>>> ------ core-site.xml ------- >>>> <property> >>>> <name>hadoop.tmp.dir</name> >>>> <value>/opt/hadoop-0.20.1/tmp/</value> >>>> </property> >>>> >>>> >>>> <property> >>>> <name>fs.default.name</name> >>>> <value>hdfs://master_hadoop</value> >>>> </property> >>>> >>>> >>>> ------ hdfs-site.xml ------- >>>> <property> >>>> <name>dfs.replication</name> >>>> <value>2</value> >>>> </property> >>>> >>>> ------ mapred-site.xml ------- >>>> <property> >>>> <name>mapred.job.tracker</name> >>>> <value>tejas_hadoop:9001</value> >>>> </property> >>>> >>>> >>>> >>>> Regards, >>>> >>>> Tejas Lagvankar >>>> [email protected] >>>> www.umbc.edu/~tej2 <http://www.umbc.edu/%7Etej2> < >>>> http://www.umbc.edu/%7Etej2> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> Chandan Tamrakar >>>> >>>> Tejas Lagvankar >>>> [email protected] >>>> www.umbc.edu/~tej2 <http://www.umbc.edu/%7Etej2> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> Tejas Lagvankar >>> [email protected] >>> www.umbc.edu/~tej2 <http://www.umbc.edu/%7Etej2> >>> >>> >>> >>> >> Tejas Lagvankar >> [email protected] >> www.umbc.edu/~tej2 <http://www.umbc.edu/%7Etej2> >> >> >> >> Tejas Lagvankar [email protected] www.umbc.edu/~tej2 From [email protected] Wed Oct 14 02:01:06 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60605 invoked from network); 14 Oct 2009 02:01:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Oct 2009 02:01:06 -0000 Received: (qmail 20085 invoked by uid 500); 14 Oct 2009 02:01:05 -0000 Delivered-To: [email protected] Received: (qmail 20000 invoked by uid 500); 14 Oct 2009 02:01:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 19990 invoked by uid 99); 14 Oct 2009 02:01:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 02:01:05 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mrout2-b.corp.re1.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 02:00:53 +0000 Received: from SNV-EXPF01.ds.corp.yahoo.com (snv-expf01.ds.corp.yahoo.com [161.129.204.104]) by mrout2-b.corp.re1.yahoo.com (8.13.8/8.13.8/y.out) with ESMTP id n9E1xANG053276 for <[email protected]>; Tue, 13 Oct 2009 18:59:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=received:user-agent:date:subject:from:to:message-id: thread-topic:thread-index:in-reply-to:mime-version:content-type: content-transfer-encoding:x-originalarrivaltime; b=PjvMXG9trwso9zoxFbVaZvyJQdb5v21U9jx/YRfXQGgLVCy6YrjCIybACjYUS8Io Received: from SNV-EXVS01.ds.corp.yahoo.com ([161.129.204.104]) by SNV-EXPF01.ds.corp.yahoo.com with Microsoft SMTPSVC(901)325-3684); Tue, 13 Oct 2009 18:59:09 -0700 Received: from 161.129.204.104 ([161.129.204.104]) by SNV-EXVS01.ds.corp.yahoo.com ([161.129.204.104]) via Exchange Front-End Server snv-webmail.corp.yahoo.com ([161.129.204.104]) with Microsoft Exchange Server HTTP-DAV ; Wed, 14 Oct 2009 01:59:10 +0000 User-Agent: Microsoft-Entourage/161.129.204.104605 Date: Tue, 13 Oct 2009 18:59:08 -0700 Subject: Re: HTTP transport? From: Kan Zhang <[email protected]> To: <[email protected]> Message-ID: <[email protected]> Thread-Topic: HTTP transport? Thread-Index: AcpMcepVWrv6ZArZ20GR5gnwIvfXLw== In-Reply-To: <[email protected]> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-OriginalArrivalTime: 14 Oct 2009 01:59:09.0693 (UTC) FILETIME=[EB5852D0:01CA4C71] X-Virus-Checked: Checked by ClamAV on apache.org On 10/9/09 12:56 PM, "Doug Cutting" <[email protected]> wrote: > Sanjay Radia wrote: >> Will the RPC over HTTP be transparent so that that we can replace with a >> different layer if needed? > > Yes. > >> My worry was the separation of data and checksums; someone had mentioned >> that one could do this over 2 RPCs - that is not transparent. > > That was suggested as a possibility if we did not want to use RPC for > data, but rather raw HTTP, e.g., with a separate URL per block. The > zerocopy support built into most HTTP servers only supports entire > responses from a single file, so if we wanted to take advantage of these > zerocopy implementations we'd not use RPC for block access, but could > use HTTP and hence share security, etc. Using raw HTTP for block access > might also perform better, since it can use TCP flow control, rather > than RPC call/response. In my microbenchmarks, RPC call/response was > fast enough to easily saturate disks and networks, so that might be > moot, although RPC call/response for file data may use more CPU than > we'd like. With our own transport implementation we could get RPC > call/response to use zerocopy for file data. > One problem I see with using HTTP is that it's expensive to provide data encryption. We're currently adding 2 authentication mechanisms (Kerberos and DIGEST-MD5) to our existing RPC. Both of them can provide data encryption for subsequent communication over the authenticated channel. However, when similar authentication mechanisms are specified for HTTP (SPNEGO and HTTP DIGEST, respectively), they don't provide data encryption (correct me if I'm wrong). For data encryption over HTTP, one has to use SSL, which is expensive. Kan From [email protected] Wed Oct 14 06:05:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34184 invoked from network); 14 Oct 2009 06:05:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Oct 2009 06:05:11 -0000 Received: (qmail 85933 invoked by uid 500); 14 Oct 2009 06:05:10 -0000 Delivered-To: [email protected] Received: (qmail 85853 invoked by uid 500); 14 Oct 2009 06:05:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 85836 invoked by uid 99); 14 Oct 2009 06:05:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 06:05:10 +0000 X-ASF-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE,URIBL_BLACK X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-pz0-f195.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 06:05:06 +0000 Received: by pzk33 with SMTP id 33so7994180pzk.2 for <[email protected]>; Tue, 13 Oct 2009 23:04:46 -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=f5XxYZmHeJKkUaYS5zwAoBPLW/CW6UtMSkmGalSgYsk=; b=HQcgPdKM5yLdqZj1kGUfe4wy6VYFn4qhhDZGrTbZfKyvTfBCahSOQj8QVxdQPesF8V UiSqwORkzrzsd444kD4Bll1/wGjg1YJHjgORmsbLSsQIMV+c6XAY4XC67kYwBMn9EBx9 KWTa8PdGIExPmc4EKm4moh+f4UnG1cbKf7d4M= 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=gCbNKTX1Dq/oOg+3tGwtEX6d+2hf0K/HuY5pr+XUjYPRhGqGuYNOWItJGklrhZ3CGa UvIFE4PHsHg1/7Xu1IZPkJJ/D1TrnOidtp8jlpdFD7LPcG/9K26HLDeTYG+N8qRtM67+ 3i/SVA9Kwa3wwH2mmAyYa8qwwoVWyxB1B2HeQ= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id j19mr984370rvd.187.1255500285582; Tue, 13 Oct 2009 23:04:45 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Tue, 13 Oct 2009 23:04:45 -0700 Message-ID: <[email protected]> Subject: Re: Reading files from local file system From: Jason Venner <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=000e0cd2531a899e170475def0d6 --000e0cd2531a899e170475def0d6 Content-Type: text/plain; charset=ISO-8859-1 If you want to open a local file in hadoop you have 3 simple ways 1: use file:///path 2: get a LocalFileSystem object from the FileSystem /** * Get the local file syste * @param conf the configuration to configure the file system with * @return a LocalFileSystem */ public static LocalFileSystem getLocal(Configuration conf) throws IOException { return (LocalFileSystem)get(LocalFileSystem.NAME, conf); } 3: use the java.io File* classes. On Tue, Oct 13, 2009 at 9:05 AM, Chandan Tamrakar < [email protected]> wrote: > Do I need to change any configuration beside changing the default file > system to "local file system' ? > I am trying to input for example input.txt to map job > > input.txt will contain file location as following > > file://path/abc1.doc > file://path/abc2.doc > .. > ... > > map program will read each line from input.txt and process them > > Do i need to change any configuration ? This is similar to how Nutch crawls > . > > any feedbacks would be appreciated > > thanks > > > > On Tue, Oct 13, 2009 at 6:49 AM, Jeff Zhang <[email protected]> wrote: > > > Maybe you could debug your mapreduce job in eclipse, since you run it in > > local mode. > > > > > > > > On Tue, Oct 13, 2009 at 5:56 AM, Chandan Tamrakar < > > [email protected]> wrote: > > > > > > > > > > > We are trying to read files from local file system. But when running > the > > > map > > > reduce it is not able to read files from the input location (the input > > > location is also local file system location). > > > > > > For this we changed the configuration of the hadoop-site.xml as shown > > > below: > > > > > > /etc/conf/hadoop/hadoop-site.xml > > > > > > <property> > > > <name>fs.default.name</name> > > > <value>file:///</value> > > > </property> > > > > > > > > > [admin@localhost ~]$ hadoop jar Test.jar /home/admin/input/test.txt > > > output1 > > > > > > Suppose Test.txt is pain text file that contains > > > Test1 > > > Test2 > > > Test3 > > > > > > > > > While running simple MapReduce job we get following exception "File > not > > > found exception " , we are using TextInputFormat in our Job > configuration > > > > > > > > > 09/10/13 17:26:35 WARN mapred.JobClient: Use GenericOptionsParser for > > > parsing the arguments. Applications should implement Tool for the same. > > > 09/10/13 17:26:35 INFO mapred.FileInputFormat: Total input paths to > > process > > > : 1 > > > 09/10/13 17:26:35 INFO mapred.FileInputFormat: Total input paths to > > process > > > : 1 > > > 09/10/13 17:26:37 INFO mapred.JobClient: Running job: > > job_200910131447_0033 > > > 09/10/13 17:26:38 INFO mapred.JobClient: map 0% reduce 0% > > > 09/10/13 17:27:00 INFO mapred.JobClient: Task Id : > > > attempt_200910131447_0033_m_000000_0, Status : FAILED > > > java.io.FileNotFoundException: File > > file:/home/admin/Desktop/input/test.txt > > > does not exist. > > > at > > > > > > > > > org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.jav > > > a:420) > > > at > > > > > > > > > org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:25 > > > 9) > > > at > > > > > > > > > org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSInputChecker.<init>(Checks > > > umFileSystem.java:117) > > > at > > > > org.apache.hadoop.fs.ChecksumFileSystem.open(ChecksumFileSystem.java:275) > > > at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:364) > > > at > > > > > > org.apache.hadoop.mapred.LineRecordReader.<init>(LineRecordReader.java:206) > > > at > > > > > > > > > org.apache.hadoop.mapred.TextInputFormat.getRecordReader(TextInputFormat.jav > > > a:50) > > > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:219) > > > at > > > org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:2210) > > > > > > However, running in the code as a separate Main method does work well. > > > > > > public static void main (String [] args) throws IOException { > > > > > > Configuration conf = new Configuration(); > > > FileSystem fs = FileSystem.get(conf); > > > > > > Path filenamePath = new Path(theFilename); > > > FSDataOutputStream out = fs.create(new Path("abc.txt")); > > > out.writeUTF("abc"); > > > out.close(); > > > > > > } > > > > > > The above code works fine when running it as a jar in hadoop. The above > > > code > > > successfully creates file in /home/admin/abc.txt when running from > admin > > > user. > > > > > > > > > > > > -- > Chandan Tamrakar > -- Pro Hadoop, a book to guide you from beginner to hadoop mastery, http://www.amazon.com/dp/1430219424?tag=jewlerymall www.prohadoopbook.com a community for Hadoop Professionals --000e0cd2531a899e170475def0d6-- From [email protected] Wed Oct 14 06:19:26 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38664 invoked from network); 14 Oct 2009 06:19:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Oct 2009 06:19:26 -0000 Received: (qmail 10764 invoked by uid 500); 14 Oct 2009 06:19:25 -0000 Delivered-To: [email protected] Received: (qmail 10675 invoked by uid 500); 14 Oct 2009 06:19:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 10665 invoked by uid 99); 14 Oct 2009 06:19:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 06:19:25 +0000 X-ASF-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE,URIBL_BLACK X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-yx0-f197.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 06:19:21 +0000 Received: by yxe35 with SMTP id 35so8006163yxe.2 for <[email protected]>; Tue, 13 Oct 2009 23:18:00 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id a18mr6888796anl.66.1255501079341; Tue, 13 Oct 2009 23:17:59 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: Chandan Tamrakar <[email protected]> Date: Wed, 14 Oct 2009 12:02:39 +0545 Message-ID: <[email protected]> Subject: Re: Reading files from local file system To: [email protected] Content-Type: multipart/alternative; boundary=0016368e1d58d96cad0475df1f4e --0016368e1d58d96cad0475df1f4e Content-Type: text/plain; charset=ISO-8859-1 Joson , i think it worked after changing these two paramters in hadoop-site.xml * 1. fs.default.name* used local file system as default file:/// *2. **mapred.job.tracker * previously were using hdfs location and removed now* *Thanks chandan * * On Wed, Oct 14, 2009 at 11:49 AM, Jason Venner <[email protected]>wrote: > If you want to open a local file in hadoop you have 3 simple ways > > 1: use file:///path > 2: get a LocalFileSystem object from the FileSystem > /** > * Get the local file syste > * @param conf the configuration to configure the file system with > * @return a LocalFileSystem > */ > public static LocalFileSystem getLocal(Configuration conf) > throws IOException { > return (LocalFileSystem)get(LocalFileSystem.NAME, conf); > } > > 3: use the java.io File* classes. > > On Tue, Oct 13, 2009 at 9:05 AM, Chandan Tamrakar < > [email protected]> wrote: > > > Do I need to change any configuration beside changing the default file > > system to "local file system' ? > > I am trying to input for example input.txt to map job > > > > input.txt will contain file location as following > > > > file://path/abc1.doc > > file://path/abc2.doc > > .. > > ... > > > > map program will read each line from input.txt and process them > > > > Do i need to change any configuration ? This is similar to how Nutch > crawls > > . > > > > any feedbacks would be appreciated > > > > thanks > > > > > > > > On Tue, Oct 13, 2009 at 6:49 AM, Jeff Zhang <[email protected]> wrote: > > > > > Maybe you could debug your mapreduce job in eclipse, since you run it > in > > > local mode. > > > > > > > > > > > > On Tue, Oct 13, 2009 at 5:56 AM, Chandan Tamrakar < > > > [email protected]> wrote: > > > > > > > > > > > > > > > We are trying to read files from local file system. But when running > > the > > > > map > > > > reduce it is not able to read files from the input location (the > input > > > > location is also local file system location). > > > > > > > > For this we changed the configuration of the hadoop-site.xml as shown > > > > below: > > > > > > > > /etc/conf/hadoop/hadoop-site.xml > > > > > > > > <property> > > > > <name>fs.default.name</name> > > > > <value>file:///</value> > > > > </property> > > > > > > > > > > > > [admin@localhost ~]$ hadoop jar Test.jar /home/admin/input/test.txt > > > > output1 > > > > > > > > Suppose Test.txt is pain text file that contains > > > > Test1 > > > > Test2 > > > > Test3 > > > > > > > > > > > > While running simple MapReduce job we get following exception "File > > not > > > > found exception " , we are using TextInputFormat in our Job > > configuration > > > > > > > > > > > > 09/10/13 17:26:35 WARN mapred.JobClient: Use GenericOptionsParser for > > > > parsing the arguments. Applications should implement Tool for the > same. > > > > 09/10/13 17:26:35 INFO mapred.FileInputFormat: Total input paths to > > > process > > > > : 1 > > > > 09/10/13 17:26:35 INFO mapred.FileInputFormat: Total input paths to > > > process > > > > : 1 > > > > 09/10/13 17:26:37 INFO mapred.JobClient: Running job: > > > job_200910131447_0033 > > > > 09/10/13 17:26:38 INFO mapred.JobClient: map 0% reduce 0% > > > > 09/10/13 17:27:00 INFO mapred.JobClient: Task Id : > > > > attempt_200910131447_0033_m_000000_0, Status : FAILED > > > > java.io.FileNotFoundException: File > > > file:/home/admin/Desktop/input/test.txt > > > > does not exist. > > > > at > > > > > > > > > > > > > > org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.jav > > > > a:420) > > > > at > > > > > > > > > > > > > > org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:25 > > > > 9) > > > > at > > > > > > > > > > > > > > org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSInputChecker.<init>(Checks > > > > umFileSystem.java:117) > > > > at > > > > > > org.apache.hadoop.fs.ChecksumFileSystem.open(ChecksumFileSystem.java:275) > > > > at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:364) > > > > at > > > > > > > > > > org.apache.hadoop.mapred.LineRecordReader.<init>(LineRecordReader.java:206) > > > > at > > > > > > > > > > > > > > org.apache.hadoop.mapred.TextInputFormat.getRecordReader(TextInputFormat.jav > > > > a:50) > > > > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:219) > > > > at > > > > > org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:2210) > > > > > > > > However, running in the code as a separate Main method does work > well. > > > > > > > > public static void main (String [] args) throws IOException { > > > > > > > > Configuration conf = new Configuration(); > > > > FileSystem fs = FileSystem.get(conf); > > > > > > > > Path filenamePath = new Path(theFilename); > > > > FSDataOutputStream out = fs.create(new Path("abc.txt")); > > > > out.writeUTF("abc"); > > > > out.close(); > > > > > > > > } > > > > > > > > The above code works fine when running it as a jar in hadoop. The > above > > > > code > > > > successfully creates file in /home/admin/abc.txt when running from > > admin > > > > user. > > > > > > > > > > > > > > > > > > > -- > > Chandan Tamrakar > > > > > > -- > Pro Hadoop, a book to guide you from beginner to hadoop mastery, > http://www.amazon.com/dp/1430219424?tag=jewlerymall > www.prohadoopbook.com a community for Hadoop Professionals > -- Chandan Tamrakar --0016368e1d58d96cad0475df1f4e-- From [email protected] Wed Oct 14 16:38:00 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27409 invoked from network); 14 Oct 2009 16:38:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Oct 2009 16:38:00 -0000 Received: (qmail 83290 invoked by uid 500); 14 Oct 2009 16:37:59 -0000 Delivered-To: [email protected] Received: (qmail 83210 invoked by uid 500); 14 Oct 2009 16:37:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 83199 invoked by uid 99); 14 Oct 2009 16:37:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 16:37:58 +0000 X-ASF-Spam-Status: No, hits=-10.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 14 Oct 2009 16:37:55 +0000 Received: (qmail 27227 invoked by uid 99); 14 Oct 2009 16:37:35 -0000 Received: from localhost.apache.org (HELO [161.129.204.104]) (161.129.204.104) (smtp-auth username cutting, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 16:37:35 +0000 Message-ID: <[email protected]> Date: Wed, 14 Oct 2009 09:37:34 -0700 From: Doug Cutting <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20090817) MIME-Version: 1.0 To: [email protected] Subject: Re: HTTP transport? References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Kan Zhang wrote: > One problem I see with using HTTP is that it's expensive to provide data > encryption. We're currently adding 2 authentication mechanisms (Kerberos and > DIGEST-MD5) to our existing RPC. Both of them can provide data encryption > for subsequent communication over the authenticated channel. However, when > similar authentication mechanisms are specified for HTTP (SPNEGO and HTTP > DIGEST, respectively), they don't provide data encryption (correct me if I'm > wrong). For data encryption over HTTP, one has to use SSL, which is > expensive. Java supports using Kerberos-based encryption for TLS (nee SSL): http://java.sun.com/j2se/1.5.0/docs/guide/security/jsse/JSSERefGuide.html#KRB http://tools.ietf.org/html/rfc2712 There's also a standard way to use tickets over TLS: http://tools.ietf.org/html/rfc4507 Doug From [email protected] Wed Oct 14 16:50:49 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30034 invoked from network); 14 Oct 2009 16:50:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Oct 2009 16:50:49 -0000 Received: (qmail 14662 invoked by uid 500); 14 Oct 2009 16:50:49 -0000 Delivered-To: [email protected] Received: (qmail 14593 invoked by uid 500); 14 Oct 2009 16:50:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 14581 invoked by uid 99); 14 Oct 2009 16:50:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 16:50:48 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,NO_RDNS_DOTCOM_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mrout1.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 16:50:46 +0000 Received: from SP1-EX07CAS02.ds.corp.yahoo.com (sp1-ex07cas02.ds.corp.yahoo.com [161.129.204.104]) by mrout1.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id n9EGoMqV052261; Wed, 14 Oct 2009 09:50:22 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=received:from:to:date:subject:thread-topic:thread-index: message-id:references:accept-language:content-language: x-ms-has-attach:x-ms-tnef-correlator:acceptlanguage:content-type: content-transfer-encoding:mime-version; b=S5CpKy2eZ9eYCy/9aXvDkZ5Cj0hleRgs1FAxPac0S+dso2sbTnHJFahwgm+DQzlQ Received: from SP1-EX07VS01.ds.corp.yahoo.com ([161.129.204.104]) by SP1-EX07CAS02.ds.corp.yahoo.com ([161.129.204.104]) with mapi; Wed, 14 Oct 2009 09:50:22 -0700 From: Dekel Tankel <[email protected]> To: "[email protected]" <[email protected]>, "[email protected]" <[email protected]> Date: Wed, 14 Oct 2009 09:50:21 -0700 Subject: RE: Hadoop User Group (Bay Area) - next Wednesday (Oct 21st) at Yahoo! Thread-Topic: Hadoop User Group (Bay Area) - next Wednesday (Oct 21st) at Yahoo! Thread-Index: AcoSMRRU8X5auVLKR8ufbpFTQi1hLgQXaiyQCpfO4pA= Message-ID: <[email protected]> References: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Hi all, RSVP is still open for the next monthly Bay Area Hadoop user group at the Y= ahoo! Sunnyvale Campus, next Wednesday (Oct 21st), 6PM Registration and Agenda are available here http://www.meetup.com/hadoop/calendar/11532125/ Looking forward to seeing you next week! Dekel From [email protected] Wed Oct 14 17:13:13 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37716 invoked from network); 14 Oct 2009 17:13:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Oct 2009 17:13:13 -0000 Received: (qmail 78109 invoked by uid 500); 14 Oct 2009 17:13:12 -0000 Delivered-To: [email protected] Received: (qmail 78032 invoked by uid 500); 14 Oct 2009 17:13:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78022 invoked by uid 99); 14 Oct 2009 17:13:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 17:13:12 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 14 Oct 2009 17:13:10 +0000 Received: (qmail 37565 invoked by uid 99); 14 Oct 2009 17:12:48 -0000 Received: from localhost.apache.org (HELO [161.129.204.104]) (161.129.204.104) (smtp-auth username cutting, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 17:12:48 +0000 Message-ID: <[email protected]> Date: Wed, 14 Oct 2009 10:12:46 -0700 From: Doug Cutting <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20090817) MIME-Version: 1.0 To: [email protected] CC: [email protected] Subject: new Avro Committer: Thiruvalluvan M. G. Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org The Hadoop PMC has voted to make Thiruvalluvan M. G. an Avro committer. Congratulations, Thiru! Doug From [email protected] Wed Oct 14 17:39:11 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45745 invoked from network); 14 Oct 2009 17:39:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Oct 2009 17:39:11 -0000 Received: (qmail 26756 invoked by uid 500); 14 Oct 2009 17:39:10 -0000 Delivered-To: [email protected] Received: (qmail 26652 invoked by uid 500); 14 Oct 2009 17:39:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26629 invoked by uid 99); 14 Oct 2009 17:39:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 17:39:10 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mrout1.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 17:39:02 +0000 Received: from [161.129.204.104] (snvvpn2-10-73-152-c71.hq.corp.yahoo.com [161.129.204.104]) by mrout1.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id n9EHcRlf078911; Wed, 14 Oct 2009 10:38:28 -0700 (PDT) Message-ID: <[email protected]> Date: Wed, 14 Oct 2009 10:38:27 -0700 From: Patrick Hunt <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20090817) MIME-Version: 1.0 To: [email protected] CC: [email protected] Subject: Re: new Avro Committer: Thiruvalluvan M. G. References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Congrats Thiru! Doug Cutting wrote: > The Hadoop PMC has voted to make Thiruvalluvan M. G. an Avro committer. > > Congratulations, Thiru! > > Doug From [email protected] Wed Oct 14 17:46:38 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47637 invoked from network); 14 Oct 2009 17:46:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Oct 2009 17:46:38 -0000 Received: (qmail 40188 invoked by uid 500); 14 Oct 2009 17:46:37 -0000 Delivered-To: [email protected] Received: (qmail 40096 invoked by uid 500); 14 Oct 2009 17:46:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 40079 invoked by uid 99); 14 Oct 2009 17:46:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 17:46:37 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mrout1.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 17:46:26 +0000 Received: from SNV-EXPF01.ds.corp.yahoo.com (snv-expf01.ds.corp.yahoo.com [161.129.204.104]) by mrout1.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id n9EHk21R083215 for <[email protected]>; Wed, 14 Oct 2009 10:46:02 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=received:user-agent:date:subject:from:to:message-id: thread-topic:thread-index:in-reply-to:mime-version:content-type: content-transfer-encoding:x-originalarrivaltime; b=IqBBOp+6ea+2J/84S0qYV7Mukhnij/mQLQwfjPA41ikqohFNVceWFL5sly66oZ4q Received: from SNV-EXVS01.ds.corp.yahoo.com ([161.129.204.104]) by SNV-EXPF01.ds.corp.yahoo.com with Microsoft SMTPSVC(901)325-3684); Wed, 14 Oct 2009 10:46:02 -0700 Received: from 161.129.204.104 ([161.129.204.104]) by SNV-EXVS01.ds.corp.yahoo.com ([161.129.204.104]) via Exchange Front-End Server snv-webmail.corp.yahoo.com ([161.129.204.104]) with Microsoft Exchange Server HTTP-DAV ; Wed, 14 Oct 2009 17:46:02 +0000 User-Agent: Microsoft-Entourage/161.129.204.104605 Date: Wed, 14 Oct 2009 10:45:57 -0700 Subject: Re: HTTP transport? From: Kan Zhang <[email protected]> To: <[email protected]> Message-ID: <[email protected]> Thread-Topic: HTTP transport? Thread-Index: AcpM9i8jd/kiWS0OlkWWGuv5+qimEw== In-Reply-To: <[email protected]> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-OriginalArrivalTime: 14 Oct 2009 17:46:02.0311 (UTC) FILETIME=[324DDD70:01CA4CF6] X-Virus-Checked: Checked by ClamAV on apache.org On 10/14/09 9:37 AM, "Doug Cutting" <[email protected]> wrote: > Kan Zhang wrote: >> One problem I see with using HTTP is that it's expensive to provide data >> encryption. We're currently adding 2 authentication mechanisms (Kerberos and >> DIGEST-MD5) to our existing RPC. Both of them can provide data encryption >> for subsequent communication over the authenticated channel. However, when >> similar authentication mechanisms are specified for HTTP (SPNEGO and HTTP >> DIGEST, respectively), they don't provide data encryption (correct me if I'm >> wrong). For data encryption over HTTP, one has to use SSL, which is >> expensive. > > Java supports using Kerberos-based encryption for TLS (nee SSL): > > http://java.sun.com/j2se/1.5.0/docs/guide/security/jsse/JSSERefGuide.html#KRB > This addresses part of my concern (the Kerberos part). I wasn't aware Java already supports it. Thanks for pointing it out. Kan From [email protected] Thu Oct 15 05:19:26 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78231 invoked from network); 15 Oct 2009 05:19:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Oct 2009 05:19:26 -0000 Received: (qmail 93331 invoked by uid 500); 15 Oct 2009 05:19:25 -0000 Delivered-To: [email protected] Received: (qmail 93244 invoked by uid 500); 15 Oct 2009 05:19:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 93234 invoked by uid 99); 15 Oct 2009 05:19:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 05:19:24 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO web111409.mail.gq1.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 15 Oct 2009 05:19:20 +0000 Received: (qmail 53400 invoked by uid 60001); 15 Oct 2009 05:18:58 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1255583937; bh=RqskSXy4Vh7zh5cJRY+Lhsd0z0yyM//t38vtYu0h+lk=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=0wFPKRV336vievS0g/I6C+uDpdmw6gxD6ROZGl7hKfXnkXuPzTe6nKk5vsnCClJqrgzwg0MGLBopRTjDelcuoF+73bmB9aoiSra921yn9Su075btNmcYEZYrnh5fPbV8hlqIu4P7vCPoP3hpFpBFt6NUeG99Esx6Vtb8v3Ay43k= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=ZEq2nuwBx2s7r8DGmR0qrvChIVAHrqZZjPDuMAKoOBtz4YjUTrs8iQg03i4ga4EWanAHiaGbG0Vv/JQjc6NFXJNTNUsOUdBZDBPJd91SyClTjp+p6X4S8bJYubRDWZBaIwPOxTVKMARkaZ4tq1M5bz5RYarfS8n1N+dzwZRykqY=; Message-ID: <[email protected]> X-YMail-OSG: KGvXRfwVM1mM3IkZGXwMPqZNLrHFUHpe_DrdD_pG3GgJNIfkLOHjm0tdurp2UdIHSj6TTvRoEv9tesSEYbOXXENnd5jFpzDa_kzv7swj6yKnPXHB9xiB6xNaSXRzdmUpFMtHIilF9Ls36V0O.WX5TDiy8Xhu5Ghvzo.o4pedM4IPkctDsIQjTqQTpc_1wsRUNZi35XEdnnTjZTGSjQSGVVJ0XSHS2YylXTz2Sh.VEGFWBPg_kxO6vy0oE4wTnB8.9UGhCMdSSERyYHua1GMFWZfeuGCN5GXlGTK0QBFY5VszksRNyf7oSfrrM669atBQd0RL404rC5vAYroAFBToSaw- Received: from [161.129.204.104] by web111409.mail.gq1.yahoo.com via HTTP; Wed, 14 Oct 2009 22:18:57 PDT X-Mailer: YahooMailClassic/7.0.14 YahooMailWebService/0.7.361.3 Date: Wed, 14 Oct 2009 22:18:57 -0700 (PDT) From: Something Something <[email protected]> Subject: Question about MapReduce To: [email protected], [email protected] MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-977925582-1255583937=:52565" --0-977925582-1255583937=:52565 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I would like to start a Map-Reduce job that does not read data from an inpu= t file or from a database. =A0I would like to pass 3 arguments to the Mappe= r & Reducer to work on. =A0Basically, these arguments are keys on the 3 dif= ferent tables on HBase. In other words, I don't want to use FileInputFormat or DbInputFormat becaus= e everything I need is already on HBase.=A0 How can I do this? =A0Please let me know. =A0Thanks. =0A=0A=0A --0-977925582-1255583937=:52565-- From [email protected] Thu Oct 15 05:37:12 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82155 invoked from network); 15 Oct 2009 05:37:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Oct 2009 05:37:12 -0000 Received: (qmail 22081 invoked by uid 500); 15 Oct 2009 05:37:11 -0000 Delivered-To: [email protected] Received: (qmail 22029 invoked by uid 500); 15 Oct 2009 05:37:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 22019 invoked by uid 99); 15 Oct 2009 05:37:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 05:37:11 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO web111408.mail.gq1.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 15 Oct 2009 05:37:09 +0000 Received: (qmail 37746 invoked by uid 60001); 15 Oct 2009 05:36:47 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1255585007; bh=nABdlWToyFLJnK4GLib7Or57U27PWEckyNU3myQQdnE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=L0USam2fo9CbNpl2SLRxCQWhjkWwCHq6SSXfNmaCoKBP6+UaD52ZBuCWzqdH5hc6IgEtAg8gG52P2zft/WzGeVuTlKacAi1PbpOkZNVGj/ykcjunuKzyl2vW3REWhrbcxr++wJc/65n2w0Jm09OvNHdiA7pOos43RcxzWHaFJuA= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=ZROh+vvhJcDAEaPp+32zQgTToKyKVnWNx2MVTTAtGCiYp+sJYqPeXMU/TY+w5ZAX6oVlzFiGZqKNMEzLkA4L772LK2+1V6zC0+XhxlKe2JkG0gdkSn2hU1mx/JoZI2J151KmF5Gu5RvZTelPR8FQfriXwGfQAQbEkX8mUtjrLcY=; Message-ID: <[email protected]> X-YMail-OSG: NJEVop4VM1nKka.Sy0l5bkdOJRAGbHr4d.I8jLK0MP25OKFcrltwgkgDFUb94YhB9yyY9kQUVgjn7sggtNVlLp5GPpDn5jkH5fKd0ZYUbLNBHZaHY4bPtmCIsmgw0JVJBoM7H_z5gVPbCn_gaxsSxviOS5wZZM7Y2ozMYRIEpr8Y_OTIq0.a.lkG1Xtr4UmcqJryzfD6z2CfsOe4aX9USWDOKmDxmOwRs9UsJnuhpiXLnXFh7HYHkBcRlFRKU.s4_88p.wf0C2ngcTSLKfzUbzAQRDqY0ThXFbjnZWT00kfi8aFaAtoPTY_vj24HM_n8.hptyvApApqc5Wt3UxIn9s_9MT69wND7snGmOHp3Msc7EEEu4wQO.Iw- Received: from [161.129.204.104] by web111408.mail.gq1.yahoo.com via HTTP; Wed, 14 Oct 2009 22:36:47 PDT X-Mailer: YahooMailClassic/7.0.14 YahooMailWebService/0.7.361.3 Date: Wed, 14 Oct 2009 22:36:47 -0700 (PDT) From: Something Something <[email protected]> Subject: Re: Question about MapReduce To: [email protected], [email protected] In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-6914967-1255585007=:37510" --0-6914967-1255585007=:37510 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable If the answer is... TableMapReduceUtil.initTableMapperJob I apologize for the spam. =A0If this isn't the right way, please let me kno= w. =A0Thanks. --- On Wed, 10/14/09, Something Something <[email protected]> wrote: From: Something Something <[email protected]> Subject: Question about MapReduce To: [email protected], [email protected] Date: Wednesday, October 14, 2009, 10:18 PM I would like to start a Map-Reduce job that does not read data from an inpu= t file or from a database. =A0I would like to pass 3 arguments to the Mappe= r & Reducer to work on. =A0Basically, these arguments are keys on the 3 dif= ferent tables on HBase. In other words, I don't want to use FileInputFormat or DbInputFormat becaus= e everything I need is already on HBase.=A0 How can I do this? =A0Please let me know. =A0Thanks. =A0 =A0 =A0 =0A=0A=0A --0-6914967-1255585007=:37510-- From [email protected] Thu Oct 15 06:12:12 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92481 invoked from network); 15 Oct 2009 06:12:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Oct 2009 06:12:12 -0000 Received: (qmail 50326 invoked by uid 500); 15 Oct 2009 06:12:11 -0000 Delivered-To: [email protected] Received: (qmail 50252 invoked by uid 500); 15 Oct 2009 06:12:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 50242 invoked by uid 99); 15 Oct 2009 06:12:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 06:12:11 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-pz0-f195.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 06:12:01 +0000 Received: by pzk33 with SMTP id 33so532043pzk.2 for <[email protected]>; Wed, 14 Oct 2009 23:11:40 -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=feQDrzGstUGR/hxKcMOv4TlhaUJVRv3/bJteAI6Myi4=; b=S1cXcBHeJbfbbC0X5tXmDMY5sEo0+1S4z2fWkYm7KXqyMXjlUZ50veX/HqtasREC3d ph/o3aVSVsvBZVo+B3mHhdBOctGKVuFDkC6ypzbTKfX/vmC7Ex9zvbtK1Vn19XljWmTO a55ITOYsw1qUqBDMzJxh1wtDtPzq9Q3AZ5kzM= 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=U7bg3K2/IBliTgWPQbeNUpt0GSE/FtY9m93Dme8yXUFi5RaobLdNG+mdyPPrneqz6j x3DgDFu3SLi2Pu86vN9QFjOKaCMlEIoceKPheFLgS4z08Cyi8vFnphgasZU6NZpDMkkx o4tAn5OPaMeY3ZK7VNzBFppPSjf12mR/iy4MQ= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id g7mr1060602rvd.169.1255587100330; Wed, 14 Oct 2009 23:11:40 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Wed, 14 Oct 2009 23:11:40 -0700 Message-ID: <[email protected]> Subject: Re: Question about MapReduce From: Jason Venner <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=000e0cd25310198cb40475f3271f X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd25310198cb40475f3271f Content-Type: text/plain; charset=ISO-8859-1 I am doing something similar where I have a million input files to process, I provide a single text file as input and use NLineInputFormat, specifying the number of lines that are sent to each map task. In your case you would set it so that 1 line was one input split, which is the default. In pre 20, the parameter is mapred.line.input.format.linespermap. On Wed, Oct 14, 2009 at 10:36 PM, Something Something < [email protected]> wrote: > If the answer is... > > TableMapReduceUtil.initTableMapperJob > > I apologize for the spam. If this isn't the right way, please let me know. > Thanks. > > > --- On Wed, 10/14/09, Something Something <[email protected]> wrote: > > From: Something Something <[email protected]> > Subject: Question about MapReduce > To: [email protected], [email protected] > Date: Wednesday, October 14, 2009, 10:18 PM > > I would like to start a Map-Reduce job that does not read data from an > input file or from a database. I would like to pass 3 arguments to the > Mapper & Reducer to work on. Basically, these arguments are keys on the 3 > different tables on HBase. > > In other words, I don't want to use FileInputFormat or DbInputFormat > because everything I need is already on HBase. > > How can I do this? Please let me know. Thanks. > > > > > > > > > -- Pro Hadoop, a book to guide you from beginner to hadoop mastery, http://www.amazon.com/dp/1430219424?tag=jewlerymall www.prohadoopbook.com a community for Hadoop Professionals --000e0cd25310198cb40475f3271f-- From [email protected] Thu Oct 15 18:31:32 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4669 invoked from network); 15 Oct 2009 18:31:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Oct 2009 18:31:32 -0000 Received: (qmail 61378 invoked by uid 500); 15 Oct 2009 18:31:31 -0000 Delivered-To: [email protected] Received: (qmail 61308 invoked by uid 500); 15 Oct 2009 18:31:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 61288 invoked by uid 99); 15 Oct 2009 18:31:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 18:31:31 +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: local policy) Received: from [161.129.204.104] (HELO web111413.mail.gq1.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 15 Oct 2009 18:31:21 +0000 Received: (qmail 50946 invoked by uid 60001); 15 Oct 2009 18:30:59 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1255631459; bh=u7/RQRPxKRrAAe86bLiqX8r7GaKMFA2R0YRw/nJCPAE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=hojEtSmjKIxaMcXbUBh6tolMScU/TU0K1CcrNLhEkfgTubhFxGo5TDsRLH9QDh+nqIfRcmly9p5kceCInAm5zxesi48yP6rqhFH1it8xXPDA10RkPNorIsslkjnz7tG7kMwLfRWlu5WzVL0xkwjIn2g/PF261l2Go8A1j3oIGIg= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=s+jfusG8PPmNBFYvOyFIB5Kd/7HERF1yJ2R5eoaoUqR45dpWik4oH7wKprl4vm3MBLaS5IsHBZHR1b95v0E8Osi9fHsXn0S/mo414Fk5OuDjCX5diti82mcwBvhj5Y3bk7RqZO1zZTzcbLn0cvJ+dUmCrPhXeDIVnViw5KtF+0w=; Message-ID: <[email protected]> X-YMail-OSG: _8rmYAEVM1lDfFcpUR5.PRBbgA3x2P6hezC_puh2wbaczjvjfg.Je2BqLoUN6B2o4gzxS1GX19RoaCf13mtTeQbIH1Xc4811XTXYSKvJzJrNhQ9xENLVmwHn_6ceJx4znpNdoqegUXcOHujBGQjyR_tO3LSSrzSUtXG7KpCrHp_qBO._73.NLB7T8DGyO9_ykCh7i_zE9MF6mNEoVq7MnX5lGH_6L9ZvhgssfAwOOCeQIm7S.qsZYFSb3lZHtU_7aymUrR8IHxCUvUUYoHcCu059kj4BpVdZf6oZQaX11NTGoA7ZiO8PmoRqE4I._9bOMkH3B9h2E2kmC1PxP3lrSxSRQGx8iwBqBWBI8X_r5c_UjwMRQqTyg5eZrsa_oq4- Received: from [161.129.204.104] by web111413.mail.gq1.yahoo.com via HTTP; Thu, 15 Oct 2009 11:30:59 PDT X-Mailer: YahooMailRC/182.10 YahooMailWebService/0.7.361.3 References: <[email protected]> <[email protected]> <[email protected]> Date: Thu, 15 Oct 2009 11:30:59 -0700 (PDT) From: Something Something <[email protected]> Subject: Re: Question about MapReduce To: [email protected], Hadoop <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-593399548-1255631459=:50875" X-Virus-Checked: Checked by ClamAV on apache.org --0-593399548-1255631459=:50875 Content-Type: text/plain; charset=us-ascii 1) I don't think TableInputFormat is useful in this case. Looks like it's used for scanning columns from a single HTable. 2) TableMapReduceUtil - same problem. Seems like this works with just one table. 3) JV recommended NLineInputFormat, but my parameters are not in a file. They come from multiple files and are in memory. I guess what I am looking for is something like... InMemoryInputFormat... similar to FileInputFormat & DbInputFormat. There's no such class right now. Worse comes to worst, I can write the parameters into a flat file, and use FileInputFormat - but that will slow down this process considerably. Is there no other way? ________________________________ From: Mark Vigeant <[email protected]> To: "[email protected]" <[email protected]> Sent: Thu, October 15, 2009 7:21:40 AM Subject: RE: Question about MapReduce There is a tableInputFormat class in org.apache.hadoop.hbase.mapreduce.TableInputFormat Also, if you want to use TableMapReduceUtil you probably want to have your mapper function extend TableMapper. Check out the javadocs for more info: http://hadoop.apache.org/hbase/docs/current/api/index.html -----Original Message----- From: Something Something [mailto:[email protected]] Sent: Thursday, October 15, 2009 1:37 AM To: [email protected]; [email protected] Subject: Re: Question about MapReduce If the answer is... TableMapReduceUtil.initTableMapperJob I apologize for the spam. If this isn't the right way, please let me know. Thanks. --- On Wed, 10/14/09, Something Something <[email protected]> wrote: From: Something Something <[email protected]> Subject: Question about MapReduce To: [email protected], [email protected] Date: Wednesday, October 14, 2009, 10:18 PM I would like to start a Map-Reduce job that does not read data from an input file or from a database. I would like to pass 3 arguments to the Mapper & Reducer to work on. Basically, these arguments are keys on the 3 different tables on HBase. In other words, I don't want to use FileInputFormat or DbInputFormat because everything I need is already on HBase. How can I do this? Please let me know. Thanks. --0-593399548-1255631459=:50875-- From [email protected] Thu Oct 15 21:21:10 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68487 invoked from network); 15 Oct 2009 21:21:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Oct 2009 21:21:10 -0000 Received: (qmail 77338 invoked by uid 500); 15 Oct 2009 21:21:09 -0000 Delivered-To: [email protected] Received: (qmail 77256 invoked by uid 500); 15 Oct 2009 21:21:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 77246 invoked by uid 99); 15 Oct 2009 21:21:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 21:21:09 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO web111403.mail.gq1.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 15 Oct 2009 21:21:07 +0000 Received: (qmail 41727 invoked by uid 60001); 15 Oct 2009 21:20:46 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1255641645; bh=ILc7oVm8JyvwmYA/ST32F8QjslGjZVoKk+tKrshz6DA=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=cAv1scPVEViW5DBJThuGBaNqpEohUfKX9QFvrM00zPCfdKNajPppHHaPG8PCANIY0Qq/yMivx7wB4Cb7b1zUn0+COoaSXYMpZy9yNG461+1H14Bcqs5qNOanjaFtNVrgD2MNV5EtILROVhy7NqzCmiiNvc8lWIAqlPWUjO1cWTQ= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=fJHtMwBFBsjZmn3MWM+F+TPObvld5oGAyBxa0sEBwuZ0Anp4kbtzQe7yIox9N5n97aP/NP3nKzw+0/La125FawwyLzZxa78zTpZBZszK6xflVl06/ub3OS/YhCbYcW8nj3kT7rgEvPaU4XqSFRojIhZANkFiUw5n+NYGmL1Pzkg=; Message-ID: <[email protected]> X-YMail-OSG: Kbxl1WEVM1nyjdCA4aseBPzw83dMb02luWdEXfma9coitLAXlic8PIADcUBp8c7Jy24E383lzS634_4kSL26MdDK2k6scvYKDZRk2yoNffmzRgJn9i1gv24XMRDO9hwB37a4KJ3rejzVP5SOYXOp.uuIkR06BW4WVCIYjtfV7EZem0X_7SeCuBIkKozPBatzGAlLhDDPGvYwyzshC1dbN9i8QeXcPFfIM96oF.zVM5Gzbhx9gsZmw0mhGbwRh1TaFynzJZjIyXjIc2B4x2P6bGrJ1wvV39aC0fWoqcLwXw4U9pG7f1oJi4mzA.AjyRJ5d0SD6CU_z497fVNDHuJqjcSGSbiao6gfyWO4QLI_B3csvugGvlGzGzY_ Received: from [161.129.204.104] by web111403.mail.gq1.yahoo.com via HTTP; Thu, 15 Oct 2009 14:20:45 PDT X-Mailer: YahooMailRC/182.10 YahooMailWebService/0.7.361.3 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Thu, 15 Oct 2009 14:20:45 -0700 (PDT) From: Something Something <[email protected]> Subject: Re: Question about MapReduce To: [email protected], [email protected] In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1820193207-1255641645=:41505" --0-1820193207-1255641645=:41505 Content-Type: text/plain; charset=us-ascii I have 3 HTables.... Table1, Table2 & Table3. I have 3 different flat files. One contains keys for Table1, 2nd contains keys for Table2 & 3rd contains keys for Table3. Use case: For every combination of these 3 keys, I need to perform some complex calculation and save the result in another HTable. In other words, I need to calculate values for the following combos: (1,1,1) (1,1,2)....... (1,1,N) (1,2,1) (1,3,1) & so on.... So I figured the best way to do this is to start a MapReduce Job for each of these combinations. The MapReduce will get (Key1, Key2, Key3) as input, then read Table1, Table2 & Table3 with these keys and perform the calculations. Is this the correct approach? If it is, I need to pass Key1, Key2 & Key3 to the Mapper & Reducer. What's the best way to do this? At this time, I don't need to join these tables in MapReduce, but in future I might have to. Thanks. ________________________________ From: Kevin Peterson <[email protected]> To: [email protected] Sent: Thu, October 15, 2009 11:39:22 AM Subject: Re: Question about MapReduce On Thu, Oct 15, 2009 at 11:30 AM, Something Something < [email protected]> wrote: > 1) I don't think TableInputFormat is useful in this case. Looks like it's > used for scanning columns from a single HTable. > 2) TableMapReduceUtil - same problem. Seems like this works with just one > table. > 3) JV recommended NLineInputFormat, but my parameters are not in a file. > They come from multiple files and are in memory. > > I guess what I am looking for is something like... InMemoryInputFormat... > similar to FileInputFormat & DbInputFormat. There's no such class right > now. > > Worse comes to worst, I can write the parameters into a flat file, and use > FileInputFormat - but that will slow down this process considerably. Is > there no other way? > > So you need to pull input from multiple tables at once? Are you expecting to do a join on these tables? If you explain what the data looks like, we'd understand better. What are your tables, and what would you like to treat as a single input record? --0-1820193207-1255641645=:41505-- From [email protected] Thu Oct 15 21:45:22 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78159 invoked from network); 15 Oct 2009 21:45:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Oct 2009 21:45:21 -0000 Received: (qmail 18251 invoked by uid 500); 15 Oct 2009 21:45:21 -0000 Delivered-To: [email protected] Received: (qmail 18172 invoked by uid 500); 15 Oct 2009 21:45:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 18162 invoked by uid 99); 15 Oct 2009 21:45:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 21:45:21 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO mail-pz0-f195.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 21:45:18 +0000 Received: by pzk33 with SMTP id 33so1190724pzk.2 for <[email protected]>; Thu, 15 Oct 2009 14:44:58 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id 41mr63053wfd.123.1255643098395; Thu, 15 Oct 2009 14:44:58 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Thu, 15 Oct 2009 14:44:58 -0700 Message-ID: <[email protected]> Subject: Re: Question about MapReduce From: Kevin Peterson <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00504502b443d835f604760030ee --00504502b443d835f604760030ee Content-Type: text/plain; charset=ISO-8859-1 On Thu, Oct 15, 2009 at 2:20 PM, Something Something <[email protected] > wrote: > I have 3 HTables.... Table1, Table2 & Table3. > I have 3 different flat files. One contains keys for Table1, 2nd contains > keys for Table2 & 3rd contains keys for Table3. > > Use case: For every combination of these 3 keys, I need to perform some > complex calculation and save the result in another HTable. In other words, > I need to calculate values for the following combos: > > (1,1,1) (1,1,2)....... (1,1,N) (1,2,1) (1,3,1) & so on.... > > So I figured the best way to do this is to start a MapReduce Job for each > of these combinations. The MapReduce will get (Key1, Key2, Key3) as input, > then read Table1, Table2 & Table3 with these keys and perform the > calculations. Is this the correct approach? If it is, I need to pass Key1, > Key2 & Key3 to the Mapper & Reducer. What's the best way to do this? > > So you need the Cartesian product of all these files. My recommendation: Run three jobs which each read one of these files and set a flag in the row of the appropriate table. This way, you don't need the files at all, you just read some "flag:active" column in the tables. Next, pick one of the tables. It doesn't really matter which one from a logical standpoint, you could say table1, you could pick the one with the most data in it, or you may pick the one iwth the most individual entries flagged. Use it as input to tableinputformat, with a filter that only passes through those rows that are flagged. In the mapper, create a scanner over each of the other two columns using the same filter. You have two nested loops inside your map. In the innermost loop, be sure to updated a counter or call progress() to avoid the jobtracker timing out. Use tableoutputformat from that job to write to your output table. Depending on what exactly it means when you get a row key in your original input files, the next time through you will likely need to go through and clear all the flags before starting the process again. You definitely will not be starting multiple map reduce jobs. You will have one map reduce job that iterates through all the possible combinations, and your goal needs to be to make sure that the task can be split up enough that it can be parallelized. --00504502b443d835f604760030ee-- From [email protected] Thu Oct 15 23:14:05 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3113 invoked from network); 15 Oct 2009 23:14:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Oct 2009 23:14:05 -0000 Received: (qmail 28576 invoked by uid 500); 15 Oct 2009 23:14:04 -0000 Delivered-To: [email protected] Received: (qmail 28507 invoked by uid 500); 15 Oct 2009 23:14:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 28497 invoked by uid 99); 15 Oct 2009 23:14:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 23:14:04 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yw0-f185.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 23:13:56 +0000 Received: by ywh15 with SMTP id 15so1339867ywh.5 for <[email protected]>; Thu, 15 Oct 2009 16:13:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=Zwd554yg3ysETcD0cSddit0Hglhk8eVK4vvMSORcO2U=; b=CJDa98CikV0abOWrsvnYtSTObDDfs7KhgWW7ON+5c6ITEdrRPy8RezRnnNfHzgSITY dF+p2umg+1jG/ftX08GeeQWAo00MycilQiYBvSlsGwEvHSxDs0yPHxEZZuyvi/casW9a K09KCk6gNYFdqhdGMHD/X0d8scLc2Ihi/Dm4g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=j1AAE2fApF8GxreiDapnzCtEnDzWEUwdq7/dUlhQgracQGhvQ94wuyCXASnitqVhze GO+I8tpwZrON7MNif6QFe6n66FKMx1lewGlVKyS3sFYTL8OHjcUVugt7tCMFgG66C3TG zBSD73a0R27QGtwNp7eCJye07SPORCMdEB/gs= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id m15mr1446152ybh.109.1255648415603; Thu, 15 Oct 2009 16:13:35 -0700 (PDT) Date: Thu, 15 Oct 2009 16:13:35 -0700 Message-ID: <[email protected]> Subject: Hadoop 3 projects - how to reconcile the duplicated files? From: Ryan Rawson <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org While trying to bring up hadoop 0.21 from source, I noted that there is a bunch of duplicate files between the projects. The config directory for example. Also hadoop-mapreduce seems to build webapps/datanode for some reason (?!). Someone on irc mentioned using 'ant tar', but it seems to be currently broken, since it (a) requires forrest and (b) forrest fails to build the docs on OSX 10.6.1, complaining about some datatype nonsense. What is the new standard for building a distribution? From [email protected] Fri Oct 16 00:32:19 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21039 invoked from network); 16 Oct 2009 00:32:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Oct 2009 00:32:19 -0000 Received: (qmail 1369 invoked by uid 500); 16 Oct 2009 00:32:18 -0000 Delivered-To: [email protected] Received: (qmail 1309 invoked by uid 500); 16 Oct 2009 00:32:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 1299 invoked by uid 99); 16 Oct 2009 00:32:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 00:32:18 +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: local policy) Received: from [161.129.204.104] (HELO web111411.mail.gq1.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 16 Oct 2009 00:32:09 +0000 Received: (qmail 52077 invoked by uid 60001); 16 Oct 2009 00:31:46 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1255653106; bh=ckpuDYO/kRdoyqYAoDvM85sQeEJV6/GxS4D2jIORqzQ=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=peHOJYdkXmQ8poLurZgte13sIUW+rtQshn796/b5QXhKKsEKPWoRPOdlwwuGg3Tpx2LW3F5JLGquPVZLNN1SMB4cHSH2UcrLjortXuD8bhpKr7QoArtPYqqWgHGg4/QTQtzsFJn25XfZ1gqx66lq4NtlAAcQjuAzRhwczYzFuFU= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=2kblX+DAgT7rut0CRYdfm+hILn94zH2vE3USDs0hnrVbNFTkGSnqvl4fJBnZVoagm/LBeK7L7pofWgVT6YUZ8WCj5D3qdj8He8m6WzobDnMWTLIA7Av06viZAo6WgUiJacmdctizIrJXCyXWzjvjbwrUILFvv5RJ0VQ9K8sjPgY=; Message-ID: <[email protected]> X-YMail-OSG: X_ovcKEVM1nkxwQeVueK_cWXTYPcOqoT_JTY691O5DyhrCmcofmcyeO4Asu7UT6uITGMo__43KllgqJMMEP3CnS0YwDE9m37tD0mRmYuTqIm5.Mj2SqX6xPnS3thkD.9aEprWcgSFpry.935ISrgb1TTTAT8G.l.hHgo.aj40SD.YZI9D5Y18Wvi_tUaH355BA61fXibbtEa4rhPS36.5RDs64XeTr2ridOSfdh4o98sCbqulmLFEU0o8e9.zzkJfVc4EDtHmiDF1MjsmvDAWaY5KMPiqIxaOOZRP6WsHnSA8UAAFsP2MwmgNpG4qsHKxXNvFB36k_G1iHK4DWssSDyT.vprTCY6uIh4_VE7UzxGHmZdk_ATWtXc Received: from [161.129.204.104] by web111411.mail.gq1.yahoo.com via HTTP; Thu, 15 Oct 2009 17:31:46 PDT X-Mailer: YahooMailRC/182.10 YahooMailWebService/0.7.361.3 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Thu, 15 Oct 2009 17:31:46 -0700 (PDT) From: Something Something <[email protected]> Subject: Re: Question about MapReduce To: [email protected], [email protected] In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-593719154-1255653106=:51532" X-Virus-Checked: Checked by ClamAV on apache.org --0-593719154-1255653106=:51532 Content-Type: text/plain; charset=us-ascii Kevin - Interesting way to solve the problem, but I don't think this solution is bullet-proof. While the MapReduce is running, someone may modify the "flag" and that will completely change the outcome - unless of course there's some way in HBase to lock this column. Amandeep - I was hoping to do this without writing to a flat file since the data I need is already in memory. Also, I am not sure what you mean by "Why are you using HBase?" I am using it because that's where the data I need for calculations is. ________________________________ From: Kevin Peterson <[email protected]> To: [email protected] Sent: Thu, October 15, 2009 2:44:58 PM Subject: Re: Question about MapReduce On Thu, Oct 15, 2009 at 2:20 PM, Something Something <[email protected] > wrote: > I have 3 HTables.... Table1, Table2 & Table3. > I have 3 different flat files. One contains keys for Table1, 2nd contains > keys for Table2 & 3rd contains keys for Table3. > > Use case: For every combination of these 3 keys, I need to perform some > complex calculation and save the result in another HTable. In other words, > I need to calculate values for the following combos: > > (1,1,1) (1,1,2)....... (1,1,N) (1,2,1) (1,3,1) & so on.... > > So I figured the best way to do this is to start a MapReduce Job for each > of these combinations. The MapReduce will get (Key1, Key2, Key3) as input, > then read Table1, Table2 & Table3 with these keys and perform the > calculations. Is this the correct approach? If it is, I need to pass Key1, > Key2 & Key3 to the Mapper & Reducer. What's the best way to do this? > > So you need the Cartesian product of all these files. My recommendation: Run three jobs which each read one of these files and set a flag in the row of the appropriate table. This way, you don't need the files at all, you just read some "flag:active" column in the tables. Next, pick one of the tables. It doesn't really matter which one from a logical standpoint, you could say table1, you could pick the one with the most data in it, or you may pick the one iwth the most individual entries flagged. Use it as input to tableinputformat, with a filter that only passes through those rows that are flagged. In the mapper, create a scanner over each of the other two columns using the same filter. You have two nested loops inside your map. In the innermost loop, be sure to updated a counter or call progress() to avoid the jobtracker timing out. Use tableoutputformat from that job to write to your output table. Depending on what exactly it means when you get a row key in your original input files, the next time through you will likely need to go through and clear all the flags before starting the process again. You definitely will not be starting multiple map reduce jobs. You will have one map reduce job that iterates through all the possible combinations, and your goal needs to be to make sure that the task can be split up enough that it can be parallelized. --0-593719154-1255653106=:51532-- From [email protected] Fri Oct 16 13:26:35 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 457 invoked from network); 16 Oct 2009 13:26:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Oct 2009 13:26:35 -0000 Received: (qmail 59490 invoked by uid 500); 16 Oct 2009 13:26:34 -0000 Delivered-To: [email protected] Received: (qmail 59395 invoked by uid 500); 16 Oct 2009 13:26:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 59375 invoked by uid 99); 16 Oct 2009 13:26:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 13:26:34 +0000 X-ASF-Spam-Status: No, hits=-0.6 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO exprod7og113.obsmtp.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 13:26:25 +0000 Received: from source ([161.129.204.104]) by exprod7ob113.postini.com ([161.129.204.104]) with SMTP ID [email protected]; Fri, 16 Oct 2009 06:26:04 PDT Received: by iwn26 with SMTP id 26so1221951iwn.5 for <[email protected]>; Fri, 16 Oct 2009 06:26:03 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id s22mr2947477ibe.22.1255699563231; Fri, 16 Oct 2009 06:26:03 -0700 (PDT) Date: Fri, 16 Oct 2009 16:26:03 +0300 Message-ID: <[email protected]> Subject: Hadoop and org.apache.hadoop.conf.Configuration class. From: Vitaliy Avdeev <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=001517741a14693b1004760d56c9 X-Virus-Checked: Checked by ClamAV on apache.org --001517741a14693b1004760d56c9 Content-Type: text/plain; charset=ISO-8859-1 Hello. I have such situation. I neet to write gui on Java for editing core-site.xml. For getting an editing data I am using org.apache.hadoop.conf.Configuration class. But when i saving data from it such with writeXML() method atributes such as <finaly>true</finaly> are lost. Is org.apache.hadoop.conf.Configuration supports such atributes? --001517741a14693b1004760d56c9-- From [email protected] Fri Oct 16 16:11:36 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65867 invoked from network); 16 Oct 2009 16:11:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Oct 2009 16:11:35 -0000 Received: (qmail 1387 invoked by uid 500); 16 Oct 2009 16:11:35 -0000 Delivered-To: [email protected] Received: (qmail 1315 invoked by uid 500); 16 Oct 2009 16:11:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 1305 invoked by uid 99); 16 Oct 2009 16:11:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 16:11:34 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-pz0-f195.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 16:11:26 +0000 Received: by pzk33 with SMTP id 33so1855130pzk.2 for <[email protected]>; Fri, 16 Oct 2009 09:11:05 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id 12mr1665097wab.52.1255709465120; Fri, 16 Oct 2009 09:11:05 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> From: Philip Zeyliger <[email protected]> Date: Fri, 16 Oct 2009 09:10:45 -0700 Message-ID: <[email protected]> Subject: Re: Hadoop and org.apache.hadoop.conf.Configuration class. To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org I think you meant to use "<final>", not "finaly". See the "Final Parameters" section of http://hadoop.apache.org/common/docs/r0.20.1/api/org/apache/hadoop/conf/Configuration.html . On Fri, Oct 16, 2009 at 6:26 AM, Vitaliy Avdeev <[email protected]> wrote: > Hello. I have such situation. I neet to write gui on Java for editing > core-site.xml. > For getting an editing data I am using org.apache.hadoop.conf.Configuration > class. > But when i saving data from it such with writeXML() method atributes such as > <finaly>true</finaly> are lost. > Is org.apache.hadoop.conf.Configuration supports such atributes? > From [email protected] Fri Oct 16 16:20:43 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70995 invoked from network); 16 Oct 2009 16:20:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Oct 2009 16:20:43 -0000 Received: (qmail 22136 invoked by uid 500); 16 Oct 2009 16:20:43 -0000 Delivered-To: [email protected] Received: (qmail 22062 invoked by uid 500); 16 Oct 2009 16:20:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 22052 invoked by uid 99); 16 Oct 2009 16:20:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 16:20:42 +0000 X-ASF-Spam-Status: No, hits=-5.4 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE,RCVD_IN_DNSWL_MED X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO exprod7og113.obsmtp.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 16:20:40 +0000 Received: from source ([161.129.204.104]) by exprod7ob113.postini.com ([161.129.204.104]) with SMTP ID [email protected]; Fri, 16 Oct 2009 09:20:20 PDT Received: by iwn35 with SMTP id 35so1254055iwn.26 for <[email protected]>; Fri, 16 Oct 2009 09:20:19 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id s23mr5383277ibq.41.1255710018996; Fri, 16 Oct 2009 09:20:18 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Fri, 16 Oct 2009 19:20:18 +0300 Message-ID: <[email protected]> Subject: Re: Hadoop and org.apache.hadoop.conf.Configuration class. From: Vitaliy Avdeev <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=001636920ca99f8a4c04760fc589 --001636920ca99f8a4c04760fc589 Content-Type: text/plain; charset=ISO-8859-1 Yes I meant final. But why when I am using Configuration.writeXML(out) there is no <final> parameters in saved file? On Fri, Oct 16, 2009 at 7:10 PM, Philip Zeyliger <[email protected]>wrote: > I think you meant to use "<final>", not "finaly". See the "Final > Parameters" section of > > http://hadoop.apache.org/common/docs/r0.20.1/api/org/apache/hadoop/conf/Configuration.html > . > > On Fri, Oct 16, 2009 at 6:26 AM, Vitaliy Avdeev <[email protected]> wrote: > > Hello. I have such situation. I neet to write gui on Java for editing > > core-site.xml. > > For getting an editing data I am using > org.apache.hadoop.conf.Configuration > > class. > > But when i saving data from it such with writeXML() method atributes such > as > > <finaly>true</finaly> are lost. > > Is org.apache.hadoop.conf.Configuration supports such atributes? > > > --001636920ca99f8a4c04760fc589-- From [email protected] Fri Oct 16 16:46:46 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79394 invoked from network); 16 Oct 2009 16:46:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Oct 2009 16:46:46 -0000 Received: (qmail 54706 invoked by uid 500); 16 Oct 2009 16:46:45 -0000 Delivered-To: [email protected] Received: (qmail 54618 invoked by uid 500); 16 Oct 2009 16:46:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 54601 invoked by uid 99); 16 Oct 2009 16:46:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 16:46:45 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-px0-f204.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 16:46:42 +0000 Received: by pxi42 with SMTP id 42so1788893pxi.5 for <[email protected]>; Fri, 16 Oct 2009 09:46:22 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id 3mr1691658wai.1.1255711581941; Fri, 16 Oct 2009 09:46:21 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> From: Philip Zeyliger <[email protected]> Date: Fri, 16 Oct 2009 09:44:33 -0700 Message-ID: <[email protected]> Subject: Re: Hadoop and org.apache.hadoop.conf.Configuration class. To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I looked at the code: you're right in what you're seeing---Configuration.writeXml doesn't write the final attribute. It's mostly used for serialization a job's configuration when necessary, and it doesn't need to preserve final in that context. -- Philip On Fri, Oct 16, 2009 at 9:20 AM, Vitaliy Avdeev <[email protected]> wrote: > Yes I meant final. > But why when I am using =A0Configuration.writeXML(out) there is no =A0<fi= nal> > parameters in saved file? > > On Fri, Oct 16, 2009 at 7:10 PM, Philip Zeyliger <[email protected]>wro= te: > >> I think you meant to use "<final>", not "finaly". =A0See the "Final >> Parameters" section of >> >> http://hadoop.apache.org/common/docs/r0.20.1/api/org/apache/hadoop/conf/= Configuration.html >> . >> >> On Fri, Oct 16, 2009 at 6:26 AM, Vitaliy Avdeev <[email protected]> wrot= e: >> > Hello. I have such situation. I neet to write gui on Java for editing >> > core-site.xml. >> > For getting an editing data I am using >> org.apache.hadoop.conf.Configuration >> > class. >> > But when i saving data from it such with writeXML() method atributes s= uch >> as >> > <finaly>true</finaly> are lost. >> > Is org.apache.hadoop.conf.Configuration supports such atributes? >> > >> > From [email protected] Fri Oct 16 16:57:36 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82997 invoked from network); 16 Oct 2009 16:57:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Oct 2009 16:57:35 -0000 Received: (qmail 78967 invoked by uid 500); 16 Oct 2009 16:57:35 -0000 Delivered-To: [email protected] Received: (qmail 78896 invoked by uid 500); 16 Oct 2009 16:57:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78886 invoked by uid 99); 16 Oct 2009 16:57:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 16:57:35 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mrout1.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 16:57:24 +0000 Received: from [161.129.204.104] (snvvpn3-10-72-76-c90.hq.corp.yahoo.com [161.129.204.104]) by mrout1.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id n9GGuYrq090825 for <[email protected]>; Fri, 16 Oct 2009 09:56:34 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=message-id:from:to:in-reply-to:content-type: content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=mzmCL/vFQWFh9AYzYoakThAyebR8Tk3cFyVkRFgjmtz8riqRpC4V2uvdu4d4o1D4 Message-Id: <[email protected]> From: Arun C Murthy <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: Hadoop and org.apache.hadoop.conf.Configuration class. Date: Fri, 16 Oct 2009 09:56:34 -0700 References: <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org On Oct 16, 2009, at 9:20 AM, Vitaliy Avdeev wrote: > Yes I meant final. > But why when I am using Configuration.writeXML(out) there is no > <final> > parameters in saved file? This was a conscious decision we made in HADOOP-785. The idea is that a Configuration is serialized from the 'client context'. The client configuration is always loaded on 'top' of the configuration stack at runtime on the server (either at the JobTracker on job-submission or at the TaskTracker during task-execution) and thus the notion of 'final' parameters is moot. Having said that you do have a valid cause for complaint; I've recently been involved in some discussions with the Pig team where we concluded that this feature could be useful during task localization on the TaskTracker i.e. the TaskTracker should set the 'localized' parameters of the task to be 'final'. The short end of the stick is I'd request you to open a jira asking for this enhancement... please? thanks, Arun From [email protected] Fri Oct 16 17:00:17 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84876 invoked from network); 16 Oct 2009 17:00:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Oct 2009 17:00:16 -0000 Received: (qmail 87512 invoked by uid 500); 16 Oct 2009 17:00:15 -0000 Delivered-To: [email protected] Received: (qmail 87444 invoked by uid 500); 16 Oct 2009 17:00:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 87434 invoked by uid 99); 16 Oct 2009 17:00:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 17:00:15 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mrout1.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 17:00:05 +0000 Received: from [161.129.204.104] (snvvpn3-10-72-76-c90.hq.corp.yahoo.com [161.129.204.104]) by mrout1.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id n9GGxXRN092378 for <[email protected]>; Fri, 16 Oct 2009 09:59:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=message-id:from:to:in-reply-to:content-type: content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=ImhhgLOqnejqvkQxzGNWqUFbLEBy5KE1MrKjVXIF6odnjWm5vAszcONC37TS5GKV Message-Id: <[email protected]> From: Arun C Murthy <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: Hadoop 3 projects - how to reconcile the duplicated files? Date: Fri, 16 Oct 2009 09:59:34 -0700 References: <[email protected]> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org Ryan, On Oct 15, 2009, at 4:13 PM, Ryan Rawson wrote: > While trying to bring up hadoop 0.21 from source, I noted that there > is a bunch of duplicate files between the projects. The config > directory for example. Also hadoop-mapreduce seems to build > webapps/datanode for some reason (?!) I agree that there are still some rough edges with the project- split, something we are working to solve. > Someone on irc mentioned using 'ant tar', but it seems to be currently > broken, since it (a) requires forrest and (b) forrest fails to build > the docs on OSX 10.6.1, complaining about some datatype nonsense. > > What is the new standard for building a distribution? AFAIK the only issue with the 'ant docs' target (which 'ant target' relies on) is that you need java1.5 - if you can confirm this isn't the case would you mind opening a jira? thanks, Arun From [email protected] Fri Oct 16 17:15:34 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90170 invoked from network); 16 Oct 2009 17:15:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Oct 2009 17:15:33 -0000 Received: (qmail 13740 invoked by uid 500); 16 Oct 2009 17:15:32 -0000 Delivered-To: [email protected] Received: (qmail 13653 invoked by uid 500); 16 Oct 2009 17:15:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13643 invoked by uid 99); 16 Oct 2009 17:15:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 17:15:32 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-pz0-f195.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 17:15:30 +0000 Received: by pzk33 with SMTP id 33so1902051pzk.2 for <[email protected]>; Fri, 16 Oct 2009 10:15:09 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id h6mr1700294wal.108.1255713309838; Fri, 16 Oct 2009 10:15:09 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> From: Philip Zeyliger <[email protected]> Date: Fri, 16 Oct 2009 10:14:49 -0700 Message-ID: <[email protected]> Subject: Re: Hadoop 3 projects - how to reconcile the duplicated files? To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 > AFAIK the only issue with the 'ant docs' target (which 'ant target' relies > on) is that you need java1.5 - if you can confirm this isn't the case would > you mind opening a jira? The magic you want is to add something like the following to your ant command line. -Dforrest.home=~/pub/apache-forrest-0.8/bin/forrest -Dfindbugs.home=$HOME/pub/findbugs-1.3.8 -Djava5.home=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home and obviously you need to download findbugs and forrest themselves. (Avro manages to download them via ivy; that might be a sensible improvement.) -- Philip From [email protected] Fri Oct 16 17:37:17 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98300 invoked from network); 16 Oct 2009 17:37:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Oct 2009 17:37:16 -0000 Received: (qmail 54839 invoked by uid 500); 16 Oct 2009 17:37:16 -0000 Delivered-To: [email protected] Received: (qmail 54793 invoked by uid 500); 16 Oct 2009 17:37:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 50602 invoked by uid 99); 13 Oct 2009 17:51:00 -0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) MIME-Version: 1.0 In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: Todd Lipcon <[email protected]> Date: Tue, 13 Oct 2009 10:50:13 -0700 Message-ID: <[email protected]> Subject: Re: 0.20.1 Cluster Setup Problem To: [email protected] Cc: [email protected], Kevin Sweeney <[email protected]> Content-Type: multipart/alternative; boundary=0016e64714a4ce239f0475d4ae67 --0016e64714a4ce239f0475d4ae67 Content-Type: text/plain; charset=ISO-8859-1 Your issue was probably that slave_hadoop and master_hadoop are not valid host names: RFCs <http://en.wikipedia.org/wiki/Request_for_Comments> mandate that a hostname's labels may contain only the ASCII<http://en.wikipedia.org/wiki/ASCII>letters 'a' through 'z' (case-insensitive), the digits '0' through '9', and the hyphen. Hostname labels cannot begin or end with a hyphen. No other symbols, punctuation characters, or blank spaces are permitted. from http://en.wikipedia.org/wiki/Hostname -Todd On Tue, Oct 13, 2009 at 10:01 AM, Tejas Lagvankar <[email protected]> wrote: > Hey Kevin, > > You were right... > I changed all my aliases to IP addresses. It worked ! > > Thank you all again :) > > Regards, > Tejas > > > On Oct 13, 2009, at 12:41 PM, Tejas Lagvankar wrote: > > By name resolution, I assume that you mean the name mentioned in >> /etc/hosts. Yes, in the logs, the IP address appears in the beginning. >> Correct me if I'm wrong >> I will also try with using just the IP's instead of the aliases. >> >> On Oct 13, 2009, at 12:37 PM, Kevin Sweeney wrote: >> >> did you verify the name resolution? >>> >>> On Tue, Oct 13, 2009 at 4:34 PM, Tejas Lagvankar <[email protected]> wrote: >>> >>> I get the same error even if i specify the port number. I have tried with >>> port numbers 54310 as well as 9000. >>> >>> >>> Regards, >>> Tejas >>> >>> >>> On Oct 13, 2009, at 12:12 PM, Chandan Tamrakar wrote: >>> >>> I think you need to specify the port as well for following port >>> >>> <property> >>> <name>fs.default.name</name> >>> <value>hdfs://master_hadoop</value> >>> </property> >>> >>> >>> On Tue, Oct 13, 2009 at 7:17 AM, Tejas Lagvankar <[email protected]> wrote: >>> >>> Hi, >>> >>> >>> We are trying to set up a cluster (starting with 2 machines) using the >>> new >>> 0.20.1 version. >>> >>> On the master machine, just after the server starts, the name node dies >>> off >>> with the following exception: >>> >>> 2009-10-13 01:22:24,740 ERROR >>> org.apache.hadoop.hdfs.server.namenode.NameNode: java.io.IOException: >>> Incomplete HDFS URI, no host: hdfs://master_hadoop >>> at >>> >>> org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:78) >>> at >>> org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1373) >>> at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66) >>> at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1385) >>> at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:191) >>> at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:95) >>> at org.apache.hadoop.fs.Trash.<init>(Trash.java:62) >>> at >>> >>> org.apache.hadoop.hdfs.server.namenode.NameNode.startTrashEmptier(NameNode.java:208) >>> at >>> >>> org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:204) >>> at >>> org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:279) >>> at >>> >>> org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:956) >>> at >>> org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:965) >>> >>> Can anyone help ? Also can anyone send across example configuration >>> files >>> for 0.20.1 if they are different than we are using ? >>> >>> The detail log file is attached along with. >>> >>> >>> >>> >>> The configuration files are as follows: >>> >>> MASTER CONFIG >>> ------ conf/masters ------- >>> master_hadoop >>> >>> ------ conf/slaves ------- >>> master_hadoop >>> slave_hadoop >>> >>> ------ core-site.xml ------- >>> <configuration> >>> >>> <property> >>> <name>fs.default.name</name> >>> <value>hdfs://master_hadoop</value> >>> </property> >>> >>> <property> >>> <name>hadoop.tmp.dir</name> >>> <value>/opt/hadoop-0.20.1/tmp</value> >>> </property> >>> >>> ------ hdfs-site.xml ------- >>> <property> >>> <name>dfs.replication</name> >>> <value>2</value> >>> </property> >>> >>> >>> ------ mapred-site.xml ------- >>> <property> >>> <name>mapred.job.tracker</name> >>> <value>tejas_hadoop:9001</value> >>> </property> >>> >>> >>> >>> >>> >>> SLAVE CONFIG >>> ------ core-site.xml ------- >>> <property> >>> <name>hadoop.tmp.dir</name> >>> <value>/opt/hadoop-0.20.1/tmp/</value> >>> </property> >>> >>> >>> <property> >>> <name>fs.default.name</name> >>> <value>hdfs://master_hadoop</value> >>> </property> >>> >>> >>> ------ hdfs-site.xml ------- >>> <property> >>> <name>dfs.replication</name> >>> <value>2</value> >>> </property> >>> >>> ------ mapred-site.xml ------- >>> <property> >>> <name>mapred.job.tracker</name> >>> <value>tejas_hadoop:9001</value> >>> </property> >>> >>> >>> >>> Regards, >>> >>> Tejas Lagvankar >>> [email protected] >>> www.umbc.edu/~tej2 <http://www.umbc.edu/%7Etej2> < >>> http://www.umbc.edu/%7Etej2> >>> >>> >>> >>> >>> >>> >>> >>> -- >>> Chandan Tamrakar >>> >>> Tejas Lagvankar >>> [email protected] >>> www.umbc.edu/~tej2 <http://www.umbc.edu/%7Etej2> >>> >>> >>> >>> >>> >>> >>> >>> >> Tejas Lagvankar >> [email protected] >> www.umbc.edu/~tej2 <http://www.umbc.edu/%7Etej2> >> >> >> >> > Tejas Lagvankar > [email protected] > www.umbc.edu/~tej2 <http://www.umbc.edu/%7Etej2> > > > > --0016e64714a4ce239f0475d4ae67-- From [email protected] Fri Oct 16 17:37:38 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98491 invoked from network); 16 Oct 2009 17:37:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Oct 2009 17:37:38 -0000 Received: (qmail 55834 invoked by uid 500); 16 Oct 2009 17:37:37 -0000 Delivered-To: [email protected] Received: (qmail 55765 invoked by uid 500); 16 Oct 2009 17:37:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 13035 invoked by uid 99); 14 Oct 2009 17:32:07 -0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) MIME-Version: 1.0 In-Reply-To: <[email protected]> References: <[email protected]> From: Matt Massie <[email protected]> Date: Wed, 14 Oct 2009 10:31:25 -0700 Message-ID: <[email protected]> Subject: Re: new Avro Committer: Thiruvalluvan M. G. To: [email protected] Cc: [email protected] Content-Type: multipart/alternative; boundary=00504502b0ec69d73c0475e889c7 --00504502b0ec69d73c0475e889c7 Content-Type: text/plain; charset=ISO-8859-1 Congratulations, Thiru! -Matt On Wed, Oct 14, 2009 at 10:12 AM, Doug Cutting <[email protected]> wrote: > The Hadoop PMC has voted to make Thiruvalluvan M. G. an Avro committer. > > Congratulations, Thiru! > > Doug > --00504502b0ec69d73c0475e889c7-- From [email protected] Fri Oct 16 17:57:16 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6710 invoked from network); 16 Oct 2009 17:57:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Oct 2009 17:57:15 -0000 Received: (qmail 6707 invoked by uid 500); 16 Oct 2009 17:57:15 -0000 Delivered-To: [email protected] Received: (qmail 6659 invoked by uid 500); 16 Oct 2009 17:57:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6647 invoked by uid 99); 16 Oct 2009 17:57:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 17:57:15 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mrout1.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 17:57:04 +0000 Received: from walkduty-lm.corp.yahoo.com (walkduty-lm.corp.yahoo.com [161.129.204.104]) by mrout1.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id n9GHufnt022246 for <[email protected]>; Fri, 16 Oct 2009 10:56:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=message-id:from:to:in-reply-to:content-type: content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=Sl0w/q29rrbAwqow1etAiuaZ4bSOdzcX3UFCcaF7PMOLa3l9roVSbx2qunu5VolY Message-Id: <[email protected]> From: Arun C Murthy <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: Hadoop and org.apache.hadoop.conf.Configuration class. Date: Fri, 16 Oct 2009 10:56:40 -0700 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/jira/browse/HADOOP-6317 Arun On Oct 16, 2009, at 9:56 AM, Arun C Murthy wrote: > > On Oct 16, 2009, at 9:20 AM, Vitaliy Avdeev wrote: > >> Yes I meant final. >> But why when I am using Configuration.writeXML(out) there is no >> <final> >> parameters in saved file? > > This was a conscious decision we made in HADOOP-785. > > The idea is that a Configuration is serialized from the 'client > context'. The client configuration is always loaded on 'top' of the > configuration stack at runtime on the server (either at the > JobTracker on job-submission or at the TaskTracker during task- > execution) and thus the notion of 'final' parameters is moot. > > Having said that you do have a valid cause for complaint; I've > recently been involved in some discussions with the Pig team where > we concluded that this feature could be useful during task > localization on the TaskTracker i.e. the TaskTracker should set the > 'localized' parameters of the task to be 'final'. The short end of > the stick is I'd request you to open a jira asking for this > enhancement... please? > > thanks, > Arun > From [email protected] Fri Oct 16 20:19:29 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66860 invoked from network); 16 Oct 2009 20:19:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Oct 2009 20:19:29 -0000 Received: (qmail 37815 invoked by uid 500); 16 Oct 2009 20:19:28 -0000 Delivered-To: [email protected] Received: (qmail 37737 invoked by uid 500); 16 Oct 2009 20:19:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 37725 invoked by uid 99); 16 Oct 2009 20:19:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 20:19:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-gx0-f228.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 20:19:16 +0000 Received: by gxk28 with SMTP id 28so2130551gxk.9 for <[email protected]>; Fri, 16 Oct 2009 13:18:55 -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=ldy5Ukhs6VlQz5NzDpZNX8YvTdPjLkBnd72vua//4rc=; b=axdXWacO6jCAWbklfZs4dnpgjrZumHKTRTxUNoxIOZlnfHltspkOOS7ecIhlYY8cMh 91uYVE2u7EGLs+7Bcbb1ExIt5TDph37TPTYNKR/0s2kXzqx4Y7i/fzCdslpPkGq9jU25 W07kl68+BEOirc8xRBijEASUrYSyrmT3fWpIM= 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=VOx07ZxVgm2Fi2WLl+nQgxmNWm39VwYYLdBev6dY39oXdjJMBrlJWCSLkC0gRpOzd6 vDm+Kkwseh9eCHNiDsMDV5TSyk/2Hft5sXNMq1u3uQeOPYziSc8fiij475HrzUAXbkIb 0zwUoDd6JUas17pkRKY+Hk9muJvLr6EsWBqjw= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id l19mr3529503ybc.239.1255724335603; Fri, 16 Oct 2009 13:18:55 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Fri, 16 Oct 2009 13:18:55 -0700 Message-ID: <[email protected]> Subject: Re: Hadoop 3 projects - how to reconcile the duplicated files? From: Ryan Rawson <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Thanks for the reply, I'm currently using git://github.com/toddlipcon/hadoop-meta.git to help me build things... it's tricky because there are 3 projects and you seem to have to manually carry the dependent jars around between projects. There is still the problem that the docs target wont build on OSX 10.6.1, but I'm sure you guys know about that one. -ryan On Fri, Oct 16, 2009 at 10:14 AM, Philip Zeyliger <[email protected]> wrote: >> AFAIK the only issue with the 'ant docs' target (which 'ant target' relies >> on) is that you need java1.5 - if you can confirm this isn't the case would >> you mind opening a jira? > > The magic you want is to add something like the following to your ant > command line. > > -Dforrest.home=~/pub/apache-forrest-0.8/bin/forrest > -Dfindbugs.home=$HOME/pub/findbugs-1.3.8 > -Djava5.home=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home > > and obviously you need to download findbugs and forrest themselves. > (Avro manages to download them via ivy; that might be a sensible > improvement.) > > -- Philip > From [email protected] Mon Oct 19 11:14:49 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14635 invoked from network); 19 Oct 2009 11:14:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Oct 2009 11:14:48 -0000 Received: (qmail 23289 invoked by uid 500); 19 Oct 2009 11:14:48 -0000 Delivered-To: [email protected] Received: (qmail 23201 invoked by uid 500); 19 Oct 2009 11:14:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23191 invoked by uid 99); 19 Oct 2009 11:14:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2009 11:14:47 +0000 X-ASF-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yw0-f185.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2009 11:14:45 +0000 Received: by ywh15 with SMTP id 15so3743731ywh.5 for <[email protected]>; Mon, 19 Oct 2009 04:14:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=/VEoxe6YU16+w8vxJQUAdvC7lSku4N+WBeyGwRExq68=; b=YgfZ4hD4v/cnY31Dq/6xlEQrTWkhtYxbaEv4KAPo/dOUk5SB8Rwo2I7+4c0kddKsp4 8dmioJKZJ6r02g8SRif+huFqhM+QSjaQMicpNLeDUmn1xEx+o+42Sc13XmOlb41WpjLT SoQzy/tRLXSmbF4tiKw9Oif+o33RDvszfAxxI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=VkYQhXNAvo1yVQaMcGATviusjVSrcqAu7vDlaLTV40KAlcf+E9nhI9nDfDUOFSZZyU DKai/WFoC+gMYboayHzrZqsJw+dB6LhKqG2x5L6Ay7GXL11Me5hAJ9n7oe0/HLcl9qFR O/ax1nRzsq+qsZXCuQWql8klghiaVV4UGki4E= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id j14mr3086101ank.105.1255950864621; Mon, 19 Oct 2009 04:14:24 -0700 (PDT) Date: Mon, 19 Oct 2009 09:14:24 -0200 Message-ID: <[email protected]> Subject: Store Large files/images HBase From: Luis Carlos Junges <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=001636d34f702420c5047647d9ae --001636d34f702420c5047647d9ae Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, I am currently doing some research on distributed database that can be scaled easily in terms of storage capacity. The reason is to use it on the brazilian federal project called "portal do aluno" wich will have around 10 million kids accessing it monthly. The idea is to build a portal similar to facebook/orkut with the main objective to spread knowledge amoung kids (6 -13 years old). well, now the problem: Those kids will generate a lot of data which include photos, videos, presentations, school tasks among others. In order to have a 100% available system and also to scale this amount of data (initial estimative is 10 TB at the full use of the portal), a distributed storage engine seems to be the solution. On the avialable solutions, i liked voldemort because it seems not to have = a SPOF (single point of failure) when compared to HBase. However HBase seems to integrate with more tools and sub-projects. my question is concerned to the fact of storing such big items (2 MB photo for example) with HBase. I read on on blogs that HBase has a high latency which leads it to be inappropriate to serve dynamic pages. Will the performance of HBase decrease even more if large binary objects are stored on it? Other question i have is related to the fact of modelling the data using key/value pattern. With relational database it is just follow cake recipe and it=B4s done. Do we have such recipe for key/value? Currently a lot of code was done with relational database postgreSQL using hibernate to mapping the objects. i will appreciate any comments --=20 "A realidade de cada lugar e de cada =E9poca =E9 uma alucina=E7=E3o coletiv= a." Bloom, Howard --001636d34f702420c5047647d9ae-- From [email protected] Mon Oct 19 14:34:25 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74190 invoked from network); 19 Oct 2009 14:34:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Oct 2009 14:34:25 -0000 Received: (qmail 38710 invoked by uid 500); 19 Oct 2009 14:34:24 -0000 Delivered-To: [email protected] Received: (qmail 38601 invoked by uid 500); 19 Oct 2009 14:34:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 38554 invoked by uid 99); 19 Oct 2009 14:34:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2009 14:34:23 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp3.4emm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2009 14:34:15 +0000 Received: from EX2K7VS03.4emm.local ([161.129.204.104]) by HUB03.4emm.local ([161.129.204.104]) with mapi; Mon, 19 Oct 2009 10:32:50 -0400 From: Doug Meil <[email protected]> To: "[email protected]" <[email protected]>, "[email protected]" <[email protected]> Date: Mon, 19 Oct 2009 10:34:03 -0400 Subject: RE: Question about MapReduce Thread-Topic: Question about MapReduce Thread-Index: AcpNxZGJRYqvqRyNRc+UbNEJB+LiywDAxldA Message-ID: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi there- I didn't see the option in the thread yet which seems pretty straightforwar= d: When setting up the job: Job job =3D new Job(conf, "my job"); ... =20 conf.setStrings("param", "param1"); And then in the map method: String paramVal =3D context.getConfiguration().get("param"); This is using Hadoop .20 syntax, the previous verison had a 'configure' met= hod you had to implement. -----Original Message----- From: Something Something [mailto:[email protected]]=20 Sent: Thursday, October 15, 2009 2:31 PM To: [email protected]; Hadoop Subject: Re: Question about MapReduce 1) I don't think TableInputFormat is useful in this case. Looks like it's = used for scanning columns from a single HTable. 2) TableMapReduceUtil - same problem. Seems like this works with just one = table. 3) JV recommended NLineInputFormat, but my parameters are not in a file. T= hey come from multiple files and are in memory. I guess what I am looking for is something like... InMemoryInputFormat... s= imilar to FileInputFormat & DbInputFormat. There's no such class right now= . Worse comes to worst, I can write the parameters into a flat file, and use = FileInputFormat - but that will slow down this process considerably. Is th= ere no other way? ________________________________ From: Mark Vigeant <[email protected]> To: "[email protected]" <[email protected]> Sent: Thu, October 15, 2009 7:21:40 AM Subject: RE: Question about MapReduce There is a tableInputFormat class in org.apache.hadoop.hbase.mapreduce.Tabl= eInputFormat Also, if you want to use TableMapReduceUtil you probably want to have your = mapper function extend TableMapper. Check out the javadocs for more info: http://hadoop.apache.org/hbase/docs/c= urrent/api/index.html -----Original Message----- From: Something Something [mailto:[email protected]]=20 Sent: Thursday, October 15, 2009 1:37 AM To: [email protected]; [email protected] Subject: Re: Question about MapReduce If the answer is... TableMapReduceUtil.initTableMapperJob I apologize for the spam. If this isn't the right way, please let me know.= Thanks. --- On Wed, 10/14/09, Something Something <[email protected]> wrote: From: Something Something <[email protected]> Subject: Question about MapReduce To: [email protected], [email protected] Date: Wednesday, October 14, 2009, 10:18 PM I would like to start a Map-Reduce job that does not read data from an inpu= t file or from a database. I would like to pass 3 arguments to the Mapper = & Reducer to work on. Basically, these arguments are keys on the 3 differe= nt tables on HBase. In other words, I don't want to use FileInputFormat or DbInputFormat becaus= e everything I need is already on HBase.=20 How can I do this? Please let me know. Thanks. =20 From [email protected] Mon Oct 19 15:23:54 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97374 invoked from network); 19 Oct 2009 15:23:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Oct 2009 15:23:54 -0000 Received: (qmail 48366 invoked by uid 500); 19 Oct 2009 15:23:53 -0000 Delivered-To: [email protected] Received: (qmail 48294 invoked by uid 500); 19 Oct 2009 15:23:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48284 invoked by uid 99); 19 Oct 2009 15:23:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2009 15:23:53 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO web111407.mail.gq1.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 19 Oct 2009 15:23:51 +0000 Received: (qmail 66653 invoked by uid 60001); 19 Oct 2009 15:23:29 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1255965809; bh=c0EIVqG5V1jforZsnaYI2tASi401jREGjH6zYFcPK9I=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=myzqWxy0Mz+o7xFQv0PUPzbuCROjutnxtsyKVs6J+hunXOIPGMPPq8VfKA4L9WlpHddkxLIUW3qXx0Db2w6VbbplFfKjc/wqE/kEAB7oi7URzSpcCGsWrqIznBs11Rr3HbHRgozxoghGld9hHkzqTFwVTmrzE4/Te1kgSOrdZhg= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=3sHBXuNEthTUQnqCjJg5Mda7VhzFWXoRJfb8T3wY5/pQckVspieii+n9VdvAYTAOdPr4A1iwSmbBtWXBrgmisj/lhdTDMPkXb2OSsw7uhWPladVohA+76/uyFY9ITHlKNmPYAn0M9jUX6u0RpL1QkzpZrgxnKCPYqkkPSiMpaNw=; Message-ID: <[email protected]> X-YMail-OSG: kCv3R.EVM1m_bBwDvhY7hJFZJZ63BCl2a_miwLF4QF3syGNE2QdTkXmNx8H1yjmEhGyi6ICO15VVPVwtFVTVlVmaGGtIMl4swiQf2GSjVWykGANbzG1Cx6UkmPtUzUJPgLwYmkk9ezITohgkny0ldhoLz0FUjM6tHK3yIEIB2JZiRongTkyhV12z8KtVs.qay2IVyz_PNdbdbrEJjwO8AfPxFLB6ywjwDIY8CTYTCa9pRnVrWQdZfyvYHKYFwzwLaoV.7Z0FaR3ZeAKIhOY.JVV_CJLyxVNZ5aZ8HBx0igPoEn1YQNEm0323uQj1_6ZEGp2DaKMB4iD9UyaJc3Cx7gUIDFnnjzwB5DNIEhLkTSYleh66gs5Dq3xRc46qWuM- Received: from [161.129.204.104] by web111407.mail.gq1.yahoo.com via HTTP; Mon, 19 Oct 2009 08:23:29 PDT X-Mailer: YahooMailRC/182.10 YahooMailWebService/0.7.361.3 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Mon, 19 Oct 2009 08:23:29 -0700 (PDT) From: Something Something <[email protected]> Subject: Re: Question about MapReduce To: [email protected], "[email protected]" <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1467626233-1255965809=:66623" --0-1467626233-1255965809=:66623 Content-Type: text/plain; charset=us-ascii Interesting... I haven't tried this yet.. but in this case what would you specify as the 'InputPath'? I was under the assumption that a Job needs some kind of InputPath.. no? I don't see a NullInputPath. Is there something equivalent? ________________________________ From: Doug Meil <[email protected]> To: "[email protected]" <[email protected]>; "[email protected]" <[email protected]> Sent: Mon, October 19, 2009 7:34:03 AM Subject: RE: Question about MapReduce Hi there- I didn't see the option in the thread yet which seems pretty straightforward: When setting up the job: Job job = new Job(conf, "my job"); ... conf.setStrings("param", "param1"); And then in the map method: String paramVal = context.getConfiguration().get("param"); This is using Hadoop .20 syntax, the previous verison had a 'configure' method you had to implement. -----Original Message----- From: Something Something [mailto:[email protected]] Sent: Thursday, October 15, 2009 2:31 PM To: [email protected]; Hadoop Subject: Re: Question about MapReduce 1) I don't think TableInputFormat is useful in this case. Looks like it's used for scanning columns from a single HTable. 2) TableMapReduceUtil - same problem. Seems like this works with just one table. 3) JV recommended NLineInputFormat, but my parameters are not in a file. They come from multiple files and are in memory. I guess what I am looking for is something like... InMemoryInputFormat... similar to FileInputFormat & DbInputFormat. There's no such class right now. Worse comes to worst, I can write the parameters into a flat file, and use FileInputFormat - but that will slow down this process considerably. Is there no other way? ________________________________ From: Mark Vigeant <[email protected]> To: "[email protected]" <[email protected]> Sent: Thu, October 15, 2009 7:21:40 AM Subject: RE: Question about MapReduce There is a tableInputFormat class in org.apache.hadoop.hbase.mapreduce.TableInputFormat Also, if you want to use TableMapReduceUtil you probably want to have your mapper function extend TableMapper. Check out the javadocs for more info: http://hadoop.apache.org/hbase/docs/current/api/index.html -----Original Message----- From: Something Something [mailto:[email protected]] Sent: Thursday, October 15, 2009 1:37 AM To: [email protected]; [email protected] Subject: Re: Question about MapReduce If the answer is... TableMapReduceUtil.initTableMapperJob I apologize for the spam. If this isn't the right way, please let me know. Thanks. --- On Wed, 10/14/09, Something Something <[email protected]> wrote: From: Something Something <[email protected]> Subject: Question about MapReduce To: [email protected], [email protected] Date: Wednesday, October 14, 2009, 10:18 PM I would like to start a Map-Reduce job that does not read data from an input file or from a database. I would like to pass 3 arguments to the Mapper & Reducer to work on. Basically, these arguments are keys on the 3 different tables on HBase. In other words, I don't want to use FileInputFormat or DbInputFormat because everything I need is already on HBase. How can I do this? Please let me know. Thanks. --0-1467626233-1255965809=:66623-- From [email protected] Mon Oct 19 16:52:01 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 32427 invoked from network); 19 Oct 2009 16:52:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Oct 2009 16:52:00 -0000 Received: (qmail 89951 invoked by uid 500); 19 Oct 2009 16:51:59 -0000 Delivered-To: [email protected] Received: (qmail 89841 invoked by uid 500); 19 Oct 2009 16:51:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 89822 invoked by uid 99); 19 Oct 2009 16:51:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2009 16:51:59 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp3.4emm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2009 16:51:56 +0000 Received: from EX2K7VS03.4emm.local ([161.129.204.104]) by HUB03.4emm.local ([161.129.204.104]) with mapi; Mon, 19 Oct 2009 12:50:31 -0400 From: Doug Meil <[email protected]> To: "[email protected]" <[email protected]>, "[email protected]" <[email protected]> Date: Mon, 19 Oct 2009 12:51:46 -0400 Subject: RE: Question about MapReduce Thread-Topic: Question about MapReduce Thread-Index: AcpQ0AdV0WWuSZx4SUOjxlRvRkko8AAC8n3Q Message-ID: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 The job still needs everything else (input path, output path, mapper-class,= etc.). This is trying to address the parameter-passing question of how pa= rameters can be passed to mappers/reducers. Correction: there is a bug in my example... Since I'm reading the paramet= er with a 'get() ' I should have called 'set' instead of 'setStrings'. But= that's the general idea. -----Original Message----- From: Something Something [mailto:[email protected]]=20 Sent: Monday, October 19, 2009 11:23 AM To: [email protected]; [email protected] Subject: Re: Question about MapReduce Interesting... I haven't tried this yet.. but in this case what would you s= pecify as the 'InputPath'? I was under the assumption that a Job needs som= e kind of InputPath.. no? I don't see a NullInputPath. Is there something= equivalent? ________________________________ From: Doug Meil <[email protected]> To: "[email protected]" <[email protected]>; "general= @hadoop.apache.org" <[email protected]> Sent: Mon, October 19, 2009 7:34:03 AM Subject: RE: Question about MapReduce Hi there- I didn't see the option in the thread yet which seems pretty straightforwar= d: When setting up the job: Job job =3D new Job(conf, "my job"); ... =20 conf.setStrings("param", "param1"); And then in the map method: String paramVal =3D context.getConfiguration().get("param"); This is using Hadoop .20 syntax, the previous verison had a 'configure' met= hod you had to implement. -----Original Message----- From: Something Something [mailto:[email protected]]=20 Sent: Thursday, October 15, 2009 2:31 PM To: [email protected]; Hadoop Subject: Re: Question about MapReduce 1) I don't think TableInputFormat is useful in this case. Looks like it's = used for scanning columns from a single HTable. 2) TableMapReduceUtil - same problem. Seems like this works with just one = table. 3) JV recommended NLineInputFormat, but my parameters are not in a file. T= hey come from multiple files and are in memory. I guess what I am looking for is something like... InMemoryInputFormat... s= imilar to FileInputFormat & DbInputFormat. There's no such class right now= . Worse comes to worst, I can write the parameters into a flat file, and use = FileInputFormat - but that will slow down this process considerably. Is th= ere no other way? ________________________________ From: Mark Vigeant <[email protected]> To: "[email protected]" <[email protected]> Sent: Thu, October 15, 2009 7:21:40 AM Subject: RE: Question about MapReduce There is a tableInputFormat class in org.apache.hadoop.hbase.mapreduce.Tabl= eInputFormat Also, if you want to use TableMapReduceUtil you probably want to have your = mapper function extend TableMapper. Check out the javadocs for more info: http://hadoop.apache.org/hbase/docs/c= urrent/api/index.html -----Original Message----- From: Something Something [mailto:[email protected]]=20 Sent: Thursday, October 15, 2009 1:37 AM To: [email protected]; [email protected] Subject: Re: Question about MapReduce If the answer is... TableMapReduceUtil.initTableMapperJob I apologize for the spam. If this isn't the right way, please let me know.= Thanks. --- On Wed, 10/14/09, Something Something <[email protected]> wrote: From: Something Something <[email protected]> Subject: Question about MapReduce To: [email protected], [email protected] Date: Wednesday, October 14, 2009, 10:18 PM I would like to start a Map-Reduce job that does not read data from an inpu= t file or from a database. I would like to pass 3 arguments to the Mapper = & Reducer to work on. Basically, these arguments are keys on the 3 differe= nt tables on HBase. In other words, I don't want to use FileInputFormat or DbInputFormat becaus= e everything I need is already on HBase.=20 How can I do this? Please let me know. Thanks. =20 From [email protected] Tue Oct 20 02:38:06 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59747 invoked from network); 20 Oct 2009 02:38:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Oct 2009 02:38:06 -0000 Received: (qmail 6916 invoked by uid 500); 20 Oct 2009 02:38:05 -0000 Delivered-To: [email protected] Received: (qmail 6831 invoked by uid 500); 20 Oct 2009 02:38:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6817 invoked by uid 99); 20 Oct 2009 02:38:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Oct 2009 02:38:05 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iw0-f188.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Oct 2009 02:37:54 +0000 Received: by iwn26 with SMTP id 26so2827910iwn.5 for <[email protected]>; Mon, 19 Oct 2009 19:37:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=F2mQe0j5Kqxr8sVFq1/6hhavnp367if2ZU5+OK/5kTw=; b=IotUgrFNNzDoX0Y/egPwYl7zMjuMcfZNx9MJGPrUS8qAJhotYG0+n4h2ncEb8D7Ajs OSjn3rLMq4cH/xXFiUfkneOtJguvqNKn9EUWP7pO11x2CBFLF7ccMguMSpB8vP9YpSna EhCF8/vYIEwVQGZMKtcD5LjxWAavv4NuGjmZI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=YqvQyVH+0X/adprZHC+geIklQiDOIaLNW9fRH7SYilioBo4U4kj/c748+XMLe61kGD lYat3meVdo9mXSV8YnWk52ZBPJXoVMJgHrvxXD90Oz/qdgrbcTMrvAaEsPeE0tpO1J8k LnDkeTZVvZrNL0oCHeGbM3jO+zb/xrmdl84/g= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id x29mr3683957ibb.31.1256006253138; Mon, 19 Oct 2009 19:37:33 -0700 (PDT) Date: Tue, 20 Oct 2009 11:37:33 +0900 Message-ID: <[email protected]> Subject: org.apache.hadoop.util.DiskChecker$DiskErrorException From: Harshit Kumar <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00151773e7308dd307047654be18 X-Virus-Checked: Checked by ClamAV on apache.org --00151773e7308dd307047654be18 Content-Type: text/plain; charset=UTF-8 Hi I get the following error on executing a map-reduce application on EC2. Can any one please pass suggest some pointers what is going wrong? I tried searching the mailing list, but couldnt find any help regarding this type of error. *[root@ip-10-243-47-69 hadoop-0.19.0]# bin/hadoop jar lubm.jar bike.lubm.SubPredObj In* *09/10/19 22:26:41 INFO jvm.JvmMetrics: Initializing JVM Metrics with processName=JobTracker, sessionId=* *09/10/19 22:26:41 WARN mapred.JobClient: Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for the same.* *09/10/19 22:26:42 INFO mapred.FileInputFormat: Total input paths to process : 1* *09/10/19 22:26:42 INFO mapred.JobClient: Running job: job_local_0001* *09/10/19 22:26:42 INFO mapred.FileInputFormat: Total input paths to process : 1* *09/10/19 22:26:43 INFO mapred.MapTask: numReduceTasks: 1* *09/10/19 22:26:43 INFO mapred.MapTask: io.sort.mb = 100* *09/10/19 22:26:43 INFO mapred.MapTask: data buffer = 79691776/99614720* *09/10/19 22:26:43 INFO mapred.MapTask: record buffer = 262144/327680* *09/10/19 22:26:43 INFO mapred.JobClient: map 0% reduce 0%* *09/10/19 22:26:44 WARN impl.RDFDefaultErrorHandler: unknown-source: {W136} Relative URIs are not permitted in RDF: specifically <RDF/XML>* *09/10/19 22:26:44 ERROR impl.RDFDefaultErrorHandler: file:///usr/local/hadoop-0.19.0/RDF/XML(line 9 column 28): {E215} Resolving against relative URI <RDF/XML>: <>* *09/10/19 22:26:44 WARN impl.RDFDefaultErrorHandler: file:///usr/local/hadoop-0.19.0/RDF/XML(line 9 column 28): {W136} Relative URIs are not permitted in RDF: specifically <RDF/XML>* *09/10/19 22:26:49 INFO mapred.MapTask: Starting flush of map output* *09/10/19 22:26:49 WARN mapred.LocalJobRunner: job_local_0001* *org.apache.hadoop.util.DiskChecker$DiskErrorException: Could not find any valid local directory for taskTracker/jobcache/job_local_0001/attempt_local_0001_m_000000_0/output/spill0.out * * at org.apache.hadoop.fs.LocalDirAllocator$AllocatorPerContext.getLocalPathForWrite(LocalDirAllocator.java:335) * * at org.apache.hadoop.fs.LocalDirAllocator.getLocalPathForWrite(LocalDirAllocator.java:124) * * at org.apache.hadoop.mapred.MapOutputFile.getSpillFileForWrite(MapOutputFile.java:107) * * at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.sortAndSpill(MapTask.java:920) * * at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.flush(MapTask.java:832)* * at org.apache.hadoop.mapred.MapTask.run(MapTask.java:333)* * at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:138)* *java.io.IOException: Job failed!* * at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1217)* * at bike.lubm.SubPredObj.getSPOFile(SubPredObj.java:63)* * at bike.lubm.SubPredObj.main(SubPredObj.java:12)* * 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:597)* * at org.apache.hadoop.util.RunJar.main(RunJar.java:165)* * at org.apache.hadoop.mapred.JobShell.run(JobShell.java:54)* * at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)* * at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)* * at org.apache.hadoop.mapred.JobShell.main(JobShell.java:68)* Thanks H. Kumar skype: harshit900 Blog: http://harshitkumar.wordpress.com Website: http:/kumarharmuscat.tripod.com --00151773e7308dd307047654be18-- From [email protected] Tue Oct 20 12:49:28 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17299 invoked from network); 20 Oct 2009 12:49:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Oct 2009 12:49:27 -0000 Received: (qmail 76332 invoked by uid 500); 20 Oct 2009 12:49:27 -0000 Delivered-To: [email protected] Received: (qmail 76278 invoked by uid 500); 20 Oct 2009 12:49:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 76141 invoked by uid 99); 20 Oct 2009 12:49:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Oct 2009 12:49:26 +0000 X-ASF-Spam-Status: No, hits=-0.6 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO exprod7og113.obsmtp.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 20 Oct 2009 12:49:16 +0000 Received: from source ([161.129.204.104]) by exprod7ob113.postini.com ([161.129.204.104]) with SMTP ID [email protected]; Tue, 20 Oct 2009 05:48:55 PDT Received: by iwn37 with SMTP id 37so2726073iwn.16 for <[email protected]>; Tue, 20 Oct 2009 05:48:53 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id g29mr14711053ibr.13.1256042933545; Tue, 20 Oct 2009 05:48:53 -0700 (PDT) Date: Tue, 20 Oct 2009 15:48:53 +0300 Message-ID: <[email protected]> Subject: Lunching webapps with hadoop From: Vitaliy Avdeev <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016e646926ae06b1504765d4848 X-Virus-Checked: Checked by ClamAV on apache.org --0016e646926ae06b1504765d4848 Content-Type: text/plain; charset=ISO-8859-1 Hello. I need to lunch my web aplication with hadoop. It is writed with jsp. What i need to do to lunch it witch hadoop? --0016e646926ae06b1504765d4848-- From [email protected] Tue Oct 20 15:06:08 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85760 invoked from network); 20 Oct 2009 15:06:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Oct 2009 15:06:05 -0000 Received: (qmail 62857 invoked by uid 500); 20 Oct 2009 15:06:05 -0000 Delivered-To: [email protected] Received: (qmail 62798 invoked by uid 500); 20 Oct 2009 15:06:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 62343 invoked by uid 99); 20 Oct 2009 15:05:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Oct 2009 15:05:59 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f209.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Oct 2009 15:05:56 +0000 Received: by ewy5 with SMTP id 5so2214536ewy.36 for <[email protected]>; Tue, 20 Oct 2009 08:05:35 -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 :content-transfer-encoding; bh=Okv/xg0iHU4cwleonZbxNj53hizXHsjaQKEtI21tY9o=; b=GOySWvYCM5BgNuzTsN00UilVdV7iooDTTGkR03uV1DclkWproJZbcBf/9kotMvMLuK 4Yj/O5VlGT2+AlQpJiWzAZ21jgzUuXsQamqJlJmuN7y3jzxP+2N0B89R/gxiHdOtJyGi 1m49tlsiz47MwpuKn1nBp7El7G+xGQOi4mWJ8= 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:content-transfer-encoding; b=XkyyAuXBB6zQ3UCm/HQX8dBw73BXuxqg7eqrW9cj1KzvbJQn6VRIpFLpumgbYMRUJR +hHFOKbfxGiaKGLWPMNs70Q+A3LzeH5YybdzsmaHNl4GrW3UPAoYAu3VBn0A1TUnSPJH cUTeqn9RqyBM13sEX+jHFKelqiM4dLBgEKeco= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id j7mr7533818ebo.2.1256051135363; Tue, 20 Oct 2009 08:05:35 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Wed, 21 Oct 2009 00:05:35 +0900 Message-ID: <[email protected]> Subject: Re: Lunching webapps with hadoop From: "Bogdan M. Maryniuk" <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, Oct 20, 2009 at 9:48 PM, Vitaliy Avdeev <[email protected]> wrote: > I need to lunch my web aplication with hadoop. Probably "launch" instead, since you're not gonna eat it... :-) Anyway, what do you mean when saying "launch web application with hadoop"? What is the design and what you're gonna do? > What i need to do to lunch it witch hadoop? Well... first step is probably install Hadoop itself =E2=80=94 that's for sure!... :-) The next step is probably to explain us your app design and what you want to achieve. --=20 Kind regards, BM Things, that are stupid at the beginning, rarely ends up wisely. From [email protected] Wed Oct 21 17:51:17 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38142 invoked from network); 21 Oct 2009 17:51:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Oct 2009 17:51:17 -0000 Received: (qmail 48686 invoked by uid 500); 21 Oct 2009 16:15:52 -0000 Delivered-To: [email protected] Received: (qmail 48572 invoked by uid 500); 21 Oct 2009 16:15:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48485 invoked by uid 99); 21 Oct 2009 16:15:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2009 16:15:32 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yx0-f194.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2009 16:15:25 +0000 Received: by yxe32 with SMTP id 32so6189054yxe.5 for <[email protected]>; Wed, 21 Oct 2009 09:15:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=BF8q0oxqECiM3ZbXOxcjSW33gTVQbnj3AVb/pOsmQnU=; b=XmYt1Pg9NRilJYbTZY655xjEEWxQZuVmkEsiYC3zxmAPVU+JQH+5XIUvF60bplaNXz xOPpHuobychrBS7uzR/asYgLOj3B5K9ER8rsXOefA1dGS9uetbT7sN5GXW3B+gc2hXoR VFtzUTLh3LNeOrqIXA4dZvrR0IV9t5zvTWLuk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ACEPGeWRD5X9fPh4G3icluvpu5Vv6sHSoA/cC2VPucmmwF11KZqts35z5Vl4hiBw8O h5L8WKdSFS7Ak2yYTtoZBL6CAI8briVqVTYgh7WSQN32W66bY+hSD1iXaueQq6X8bxOI j8+I5PptBa7qceVkeZJhMj7vceWnvn0YxyXTo= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id k26mr5064849anq.6.1256141703934; Wed, 21 Oct 2009 09:15:03 -0700 (PDT) Date: Wed, 21 Oct 2009 11:15:03 -0500 Message-ID: <[email protected]> Subject: Namenode with External Storage? From: Jonathan Seidman <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016e6d3cf2f0cf40b0476744858 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d3cf2f0cf40b0476744858 Content-Type: text/plain; charset=ISO-8859-1 Apologies if this has been answered previously, but I'm unable to find anything that seems to cover this. It's clear that datanodes require local storage for Hadoop to function efficiently, but is there any significant disadvantage to using external storage for namenodes? We're exploring the possibility of using a different class of hardware for our namenodes with attached storage and little or no internal storage. Some of the benefits this would provide us are: 1) allowing our sysadmins to deploy hardware that they're familiar with and already have considerable experience keeping up in a production environment. 2) no namenode downtime to replace a failed disk. We don't anticipate that this approach would cause any significant degradation to performance, but let me know if there's something we're not considering. Thanks. Jonathan --0016e6d3cf2f0cf40b0476744858-- From [email protected] Wed Oct 21 18:28:46 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59366 invoked from network); 21 Oct 2009 18:28:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Oct 2009 18:28:24 -0000 Received: (qmail 96479 invoked by uid 500); 21 Oct 2009 18:27:51 -0000 Delivered-To: [email protected] Received: (qmail 95714 invoked by uid 500); 21 Oct 2009 18:27:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 95403 invoked by uid 99); 21 Oct 2009 18:27:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2009 18:27:46 +0000 X-ASF-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yw0-f185.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2009 18:22:24 +0000 Received: by ywh15 with SMTP id 15so6322260ywh.5 for <[email protected]>; Wed, 21 Oct 2009 11:22:03 -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=UqpKzbI7ZhgewU/C2MGkCefDqxAlLMOmD660ePuwn4o=; b=QRa06Qr1YIk0nYyRqWmfCQiGdyouI2pwwIXldjNJkP+CE/gzZwR6X/KwABugXF/S+P mj9rda7ROmXVNcdLrkOBLUe+3G83U3t+fmUD/XsBFEMiOhI9mPpmmp1oUjtQn/dPAmnM uM6Q2EbaOY5ztAIOWKC5GDTtYQJ4cCAymUxgU= 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=c+i2Xum3RFHBKMkLYEdSiOa5dTu00fbSnUk7hVTo6JEzoqHMZDVt12WjEUmR8U4WPu S9+I7hSrClmzteUjOypl0bRaHknBszMWyluweqQIZp2EsQzDPY0CPuWT+JcAKAql0EgR y6C4u1mSF/EWougVw+bocFSRedyLq+ZfbD2ak= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id k9mr13743758ybh.108.1256149323739; Wed, 21 Oct 2009 11:22:03 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Wed, 21 Oct 2009 11:22:03 -0700 Message-ID: <[email protected]> Subject: Re: Namenode with External Storage? From: Dhruba Borthakur <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=000e0cd23b2039f2060476760e8b --000e0cd23b2039f2060476760e8b Content-Type: text/plain; charset=ISO-8859-1 The namenode uses storage to write file system transaction logs as well as to write server-debug-log-messages. Both of these could be stored in a NFS mounted file system, should work well. thanks, dhruba On Wed, Oct 21, 2009 at 9:15 AM, Jonathan Seidman < [email protected]> wrote: > Apologies if this has been answered previously, but I'm unable to find > anything that seems to cover this. > > It's clear that datanodes require local storage for Hadoop to function > efficiently, but is there any significant disadvantage to using external > storage for namenodes? We're exploring the possibility of using a different > class of hardware for our namenodes with attached storage and little or no > internal storage. Some of the benefits this would provide us are: 1) > allowing our sysadmins to deploy hardware that they're familiar with and > already have considerable experience keeping up in a production > environment. > 2) no namenode downtime to replace a failed disk. > > We don't anticipate that this approach would cause any significant > degradation to performance, but let me know if there's something we're not > considering. > > Thanks. > > Jonathan > -- Connect to me at http://www.facebook.com/dhruba --000e0cd23b2039f2060476760e8b-- From [email protected] Thu Oct 22 02:59:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28776 invoked from network); 22 Oct 2009 02:59:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Oct 2009 02:59:19 -0000 Received: (qmail 34451 invoked by uid 500); 22 Oct 2009 02:59:19 -0000 Delivered-To: [email protected] Received: (qmail 34358 invoked by uid 500); 22 Oct 2009 02:59:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34348 invoked by uid 99); 22 Oct 2009 02:59:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Oct 2009 02:59:18 +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: local policy) Received: from [161.129.204.104] (HELO smtp1.es.uci.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Oct 2009 02:59:09 +0000 Received: from [161.129.204.104] (ip72-211-211-194.oc.oc.cox.net [161.129.204.104]) (authenticated bits=0) by smtp1.es.uci.edu (8.13.1/8.13.1) with ESMTP id n9M2wkc0027159 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <[email protected]>; Wed, 21 Oct 2009 19:58:47 -0700 X-UCInetID: vayyalas Message-ID: <[email protected]> Date: Wed, 21 Oct 2009 19:58:28 -0700 From: Vandana Ayyalasomayajula <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20090812) MIME-Version: 1.0 To: [email protected] Subject: Eclipse plugin for Hadoop Content-Type: multipart/alternative; boundary="------------070305070904080608030100" X-Virus-Checked: Checked by ClamAV on apache.org --------------070305070904080608030100 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi All, I was configuring eclipse o run map- reduce jobs. I am following the tutorial on http://developer.yahoo.com/hadoop/tutorial/module3.html#plugin-conf . I am not able to find the plug in mentioned in the site. I downloaded one from http://code.google.com/edu/parallel/tools/hadoopvm/index.html. <http://code.google.com/edu/parallel/tools/hadoopvm/index.html> But when I try to configure the hadoop server, I am getting an error message saying: "No hadoop found in this location". I think I am giving an incorrect location for installation directory. What should be the correct value ? If anyone has used the tutorial provided by Yahoo! , please help me out with this problem. Thanks in advance. Vandana --------------070305070904080608030100-- From [email protected] Thu Oct 22 03:16:42 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31911 invoked from network); 22 Oct 2009 03:16:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Oct 2009 03:16:42 -0000 Received: (qmail 40640 invoked by uid 500); 22 Oct 2009 03:16:42 -0000 Delivered-To: [email protected] Received: (qmail 40557 invoked by uid 500); 22 Oct 2009 03:16:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 40547 invoked by uid 99); 22 Oct 2009 03:16:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Oct 2009 03:16:41 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iw0-f188.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Oct 2009 03:16:32 +0000 Received: by iwn26 with SMTP id 26so4228407iwn.5 for <[email protected]>; Wed, 21 Oct 2009 20:16:11 -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=/D7sagvqVX1Xdv3syag0XM+1AxZRwnOPBjEC/umFMls=; b=ZWDz5hHeUUPb1TTWPbfi9hGzni9A3RZV+eKzTxSIiJafeTIsNCSmAzxkC45PWFPoHz WvYf8OmOE1gV4lnTF8gINzDzGIlF2E0jzJY6kED/O+dMhy+9PDMBCJcZduuLyxCOTOq2 MIhL1eV+8jdBF8eZAzhIdYWd7aT3FbANmrR4I= 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=UsDhwNcnSC1hAnWn5DU6nEV8OuAsR7tQJPjzFV54H7rYl4WMxOodIBDdghZDlu4cSg PdWfq88Q/2OCn9Fvcubp2AsJ5uRG7sQqYlVVbd7GwDyNOPOVWWw5Ug35U11LzpFGwhd6 uR7f1JMq4reIMCALP627AJ8k+vx4Tczrijrsc= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id n41mr5414170ibr.46.1256181371634; Wed, 21 Oct 2009 20:16:11 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Thu, 22 Oct 2009 12:16:11 +0900 Message-ID: <[email protected]> Subject: Re: Eclipse plugin for Hadoop From: Harshit Kumar <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016e647195a6e080d04767d8416 X-Virus-Checked: Checked by ClamAV on apache.org --0016e647195a6e080d04767d8416 Content-Type: text/plain; charset=UTF-8 Dont know why do u need to download the plug-in from some site. The plug-in is included in the downloaded hadoop tar file. You can find plugin jar file inside /your-directory-structure/hadoop-version/contrib/eclipse-plugin/ - H. Kumar 2009/10/22 Vandana Ayyalasomayajula <[email protected]> > Hi All, > > I was configuring eclipse o run map- reduce jobs. I am following the > tutorial on > http://developer.yahoo.com/hadoop/tutorial/module3.html#plugin-conf . I am > not able to find the plug in mentioned in the site. I downloaded one from > http://code.google.com/edu/parallel/tools/hadoopvm/index.html. < > http://code.google.com/edu/parallel/tools/hadoopvm/index.html> But when I > try to configure the hadoop server, I am getting an error message saying: > "No hadoop found in this location". I think I am giving an incorrect > location for installation directory. What should be the correct value ? > > If anyone has used the tutorial provided by Yahoo! , please help me out > with this problem. > Thanks in advance. > Vandana > --0016e647195a6e080d04767d8416-- From [email protected] Thu Oct 22 04:53:33 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60524 invoked from network); 22 Oct 2009 04:53:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Oct 2009 04:53:33 -0000 Received: (qmail 13418 invoked by uid 500); 22 Oct 2009 04:53:32 -0000 Delivered-To: [email protected] Received: (qmail 13343 invoked by uid 500); 22 Oct 2009 04:53:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13333 invoked by uid 99); 22 Oct 2009 04:53:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Oct 2009 04:53:31 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp2.es.uci.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Oct 2009 04:53:21 +0000 Received: from [161.129.204.104] (ip72-211-211-194.oc.oc.cox.net [161.129.204.104]) (authenticated bits=0) by smtp2.es.uci.edu (8.13.1/8.13.1) with ESMTP id n9M4qw6I002950 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <[email protected]>; Wed, 21 Oct 2009 21:52:59 -0700 X-UCInetID: vayyalas Message-ID: <[email protected]> Date: Wed, 21 Oct 2009 21:52:39 -0700 From: Vandana Ayyalasomayajula <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20090812) MIME-Version: 1.0 To: [email protected] Subject: Re: Eclipse plugin for Hadoop References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Thanks for the information. I just overlooked the contents of the folder. Vandana Harshit Kumar wrote: > Dont know why do u need to download the plug-in from some site. The plug-in > is included in the downloaded hadoop tar file. You can find plugin jar file > inside /your-directory-structure/hadoop-version/contrib/eclipse-plugin/ - > > > H. Kumar > > > 2009/10/22 Vandana Ayyalasomayajula <[email protected]> > > >> Hi All, >> >> I was configuring eclipse o run map- reduce jobs. I am following the >> tutorial on >> http://developer.yahoo.com/hadoop/tutorial/module3.html#plugin-conf . I am >> not able to find the plug in mentioned in the site. I downloaded one from >> http://code.google.com/edu/parallel/tools/hadoopvm/index.html. < >> http://code.google.com/edu/parallel/tools/hadoopvm/index.html> But when I >> try to configure the hadoop server, I am getting an error message saying: >> "No hadoop found in this location". I think I am giving an incorrect >> location for installation directory. What should be the correct value ? >> >> If anyone has used the tutorial provided by Yahoo! , please help me out >> with this problem. >> Thanks in advance. >> Vandana >> >> > > From [email protected] Thu Oct 22 16:37:52 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82846 invoked from network); 22 Oct 2009 16:37:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Oct 2009 16:37:51 -0000 Received: (qmail 5434 invoked by uid 500); 22 Oct 2009 16:37:51 -0000 Delivered-To: [email protected] Received: (qmail 5353 invoked by uid 500); 22 Oct 2009 16:37:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 5343 invoked by uid 99); 22 Oct 2009 16:37:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Oct 2009 16:37:50 +0000 X-ASF-Spam-Status: No, hits=-6.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO longwood.cs.ucf.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Oct 2009 16:37:47 +0000 Received: from longwood.cs.ucf.edu (localhost [161.129.204.104]) by longwood.cs.ucf.edu (8.14.1/8.14.1) with ESMTP id n9MGbMw8009756 for <[email protected]>; Thu, 22 Oct 2009 12:37:22 -0400 (EDT) Received: (from prayer@localhost) by longwood.cs.ucf.edu (8.14.1/8.14.1/Submit) id n9MGbMW2009755 for [email protected]; Thu, 22 Oct 2009 12:37:22 -0400 (EDT) X-Authentication-Warning: longwood.cs.ucf.edu: prayer set sender to [email protected] using -f From: [email protected] To: [email protected] Subject: Re: Namenode with External Storage? Date: 22 Oct 2009 12:37:21 -0400 X-Mailer: Prayer v1.0.16 X-Originating-IP: [161.129.204.104] In-Reply-To: <[email protected]> Message-ID: <[email protected]> References: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=ISO-8859-1 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gondor.cs.ucf.edu X-Virus-Scanned: clamav-milter 0.95.2 at longwood X-Virus-Status: Clean X-Old-Spam-Status: No, score=-1.4 required=6.0 tests=ALL_TRUSTED autolearn=failed version=3.2.5 As with Dhruba's comment, so long as it is just the namenode that is running on a networked file system everything should be chill. The namenode keeps all of its working metadata in main mem, and it only occasionally pushes a log file out to hard storage (and if I remember correctly you can adjust this time window in one of the site files). However, you are going to run into huge performance issues running datanodes over a networked storage system. Having to push that many file requests over a network for a respectable mapreduce job is going to kill your equipment. - Grant On Oct 21 2009, Jonathan Seidman wrote: >Apologies if this has been answered previously, but I'm unable to find >anything that seems to cover this. > > It's clear that datanodes require local storage for Hadoop to function > efficiently, but is there any significant disadvantage to using external > storage for namenodes? We're exploring the possibility of using a > different class of hardware for our namenodes with attached storage and > little or no internal storage. Some of the benefits this would provide us > are: 1) allowing our sysadmins to deploy hardware that they're familiar > with and already have considerable experience keeping up in a production > environment. 2) no namenode downtime to replace a failed disk. > >We don't anticipate that this approach would cause any significant >degradation to performance, but let me know if there's something we're not >considering. > >Thanks. > >Jonathan > -- -- Grant Mackey PhD student Computer Engineering University of Central Florida Rm 231 cube 5 (901)325-3684 From [email protected] Thu Oct 22 17:01:30 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90044 invoked from network); 22 Oct 2009 17:01:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Oct 2009 17:01:30 -0000 Received: (qmail 37249 invoked by uid 500); 22 Oct 2009 17:01:30 -0000 Delivered-To: [email protected] Received: (qmail 37164 invoked by uid 500); 22 Oct 2009 17:01:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 37154 invoked by uid 99); 22 Oct 2009 17:01:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Oct 2009 17:01:29 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mrout2.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Oct 2009 17:01:26 +0000 Received: from oceanfarearth-lm.corp.yahoo.com (oceanfarearth-lm.corp.yahoo.com [161.129.204.104]) by mrout2.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id n9MH0Bvq026028 for <[email protected]>; Thu, 22 Oct 2009 10:00:12 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=message-id:from:to:in-reply-to:content-type:mime-version: subject:date:references:x-mailer; b=o0oHSJipC3lmD0VUr1i/nkbl5UL5JPt/Xy6Sf3AKbYo9vsxpMw0EdIIvvOcelEhh Message-Id: <[email protected]> From: Sanjay Radia <[email protected]> To: <[email protected]> In-Reply-To: <[email protected]> Content-Type: multipart/alternative; boundary=Apple-Mail-4-898220983 Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: Namenode with External Storage? Date: Thu, 22 Oct 2009 10:00:11 -0700 References: <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.936) --Apple-Mail-4-898220983 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Oct 22, 2009, at 9:37 AM, <[email protected]> wrote: > As with Dhruba's comment, so long as it is just the namenode that is > running on a networked file system everything should be chill. The > namenode > keeps all of its working metadata in main mem, and it only > occasionally > pushes a log file out to hard storage (and if I remember correctly > you can > adjust this time window in one of the site files). > Actually it pushes out the update logs on each and every update synchronously. The checkpoint however is pushed out periodically. Also, at yahoo, we push out NN state to multiple disks and one of the "disks" is a nfs filer. This is configurable. sanjay > > However, you are going to run into huge performance issues running > datanodes over a networked storage system. Having to push that many > file > requests over a network for a respectable mapreduce job is going to > kill > your equipment. > > - Grant > > On Oct 21 2009, Jonathan Seidman wrote: > > >Apologies if this has been answered previously, but I'm unable to > find > >anything that seems to cover this. > > > > It's clear that datanodes require local storage for Hadoop to > function > > efficiently, but is there any significant disadvantage to using > external > > storage for namenodes? We're exploring the possibility of using a > > different class of hardware for our namenodes with attached > storage and > > little or no internal storage. Some of the benefits this would > provide us > > are: 1) allowing our sysadmins to deploy hardware that they're > familiar > > with and already have considerable experience keeping up in a > production > > environment. 2) no namenode downtime to replace a failed disk. > > > >We don't anticipate that this approach would cause any significant > >degradation to performance, but let me know if there's something > we're not > >considering. > > > >Thanks. > > > >Jonathan > > > > -- > -- > Grant Mackey > PhD student Computer Engineering > University of Central Florida > Rm 231 cube 5 (901)325-3684 > > --Apple-Mail-4-898220983-- From [email protected] Thu Oct 22 19:16:56 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48029 invoked from network); 22 Oct 2009 19:16:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Oct 2009 19:16:55 -0000 Received: (qmail 32501 invoked by uid 500); 22 Oct 2009 19:16:55 -0000 Delivered-To: [email protected] Received: (qmail 32410 invoked by uid 500); 22 Oct 2009 19:16:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32399 invoked by uid 99); 22 Oct 2009 19:16:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Oct 2009 19:16:52 +0000 X-ASF-Spam-Status: No, hits=-6.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO longwood.cs.ucf.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Oct 2009 19:16:49 +0000 Received: from longwood.cs.ucf.edu (localhost [161.129.204.104]) by longwood.cs.ucf.edu (8.14.1/8.14.1) with ESMTP id n9MJGRbF002710 for <[email protected]>; Thu, 22 Oct 2009 15:16:27 -0400 (EDT) Received: (from apache@localhost) by longwood.cs.ucf.edu (8.14.1/8.14.1/Submit) id n9MJGO55002705 for [email protected]; Thu, 22 Oct 2009 15:16:24 -0400 (EDT) X-Authentication-Warning: longwood.cs.ucf.edu: apache set sender to [email protected] using -f Received: from 161.129.204.104 ([161.129.204.104]) by mail.cs.ucf.edu (Horde Framework) with HTTP; Thu, 22 Oct 2009 15:16:24 -0400 Message-ID: <[email protected]> Date: Thu, 22 Oct 2009 15:16:24 -0400 From: Grant Mackey <[email protected]> To: [email protected] Subject: Re: Namenode with External Storage? References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.3.3 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gondor.cs.ucf.edu X-Virus-Scanned: clamav-milter 0.95.2 at longwood X-Virus-Status: Clean X-Old-Spam-Status: No, score=-1.4 required=6.0 tests=ALL_TRUSTED autolearn=failed version=3.2.5 oops, that is correct. My mistake Quoting Sanjay Radia <[email protected]>: > > On Oct 22, 2009, at 9:37 AM, <[email protected]> wrote: > >> As with Dhruba's comment, so long as it is just the namenode that is >> running on a networked file system everything should be chill. The namenode >> keeps all of its working metadata in main mem, and it only occasionally >> pushes a log file out to hard storage (and if I remember correctly you can >> adjust this time window in one of the site files). >> > > Actually it pushes out the update logs on each and every update > synchronously. > The checkpoint however is pushed out periodically. > > Also, at yahoo, we push out NN state to multiple disks and one of > the "disks" is a nfs filer. This is configurable. > > sanjay >> >> However, you are going to run into huge performance issues running >> datanodes over a networked storage system. Having to push that many file >> requests over a network for a respectable mapreduce job is going to kill >> your equipment. >> >> - Grant >> >> On Oct 21 2009, Jonathan Seidman wrote: >> >>> Apologies if this has been answered previously, but I'm unable to find >>> anything that seems to cover this. >>> >>> It's clear that datanodes require local storage for Hadoop to function >>> efficiently, but is there any significant disadvantage to using external >>> storage for namenodes? We're exploring the possibility of using a >>> different class of hardware for our namenodes with attached storage and >>> little or no internal storage. Some of the benefits this would provide us >>> are: 1) allowing our sysadmins to deploy hardware that they're familiar >>> with and already have considerable experience keeping up in a production >>> environment. 2) no namenode downtime to replace a failed disk. >>> >>> We don't anticipate that this approach would cause any significant >>> degradation to performance, but let me know if there's something we're not >>> considering. >>> >>> Thanks. >>> >>> Jonathan >>> >> >> -- >> -- >> Grant Mackey >> PhD student Computer Engineering >> University of Central Florida >> Rm 231 cube 5 (901)325-3684 >> >> > > Grant Mackey UCF Research Assistant Engineering III Rm 238 Cubicle 1 ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From [email protected] Fri Oct 23 19:52:44 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76534 invoked from network); 23 Oct 2009 19:52:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Oct 2009 19:52:44 -0000 Received: (qmail 83309 invoked by uid 500); 23 Oct 2009 19:52:43 -0000 Delivered-To: [email protected] Received: (qmail 83230 invoked by uid 500); 23 Oct 2009 19:52:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 83220 invoked by uid 99); 23 Oct 2009 19:52:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Oct 2009 19:52:43 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO web32204.mail.mud.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 23 Oct 2009 19:52:40 +0000 Received: (qmail 11558 invoked by uid 60001); 23 Oct 2009 19:52:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1256327539; bh=5y3IyiEjZ9xNVTi9YZfPjirH1PnlQDLDQa1mUqC57k8=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=dOuVp4AcrJxBWd0YDn2UdQpq4IS0GlFK/FrbBI6HP2ZBgCOaUPe/PhYbVru9OjlWVSLpPFQlytFQaOb08eP7MtDICOZS73C+GKBWfiWE2w8t6u6960elKthzVS7vW3pr6SVKJKeZF0fQuEaWG6nEX2quGTlhziujG+/bZyIjRxo= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=mHJQIIdxgAYacF43B5EQwumeE/oUqIc7nsicyW88akvnOghzk2qpJlMZ4yvusCUuwQJus3jpJOuNHzRNBLPMSYxvpLRG9dKCIDwc2/CYm+8YmST7qZmlH8np/zB3iJPRZzN9iY6n4EY40tjoZF87i7WScjia6JJ7tntQ/156WjY=; Message-ID: <[email protected]> X-YMail-OSG: fs_TluAVM1kYs8pDPmkmcOzAQQIiFEtsZK3dFqhgBZVmvGkcso1Ie0GKPRfLPUDmKrwRJ1UWYQl.a370nYUWg147KaaLTF3_DhI1m0LOIOO6KFp_UI8cJxLPgIMT7nyPOzDtdsTpZYu4iwJj3IouOVIG0LMs1CJV41pH6PYN1ZoqFQNQXdn5isjVA7dBBw_z9_qg68cXGqCgRhsBaPXIzyy1gzhtHF44QWOWeSX5SXm2phFqv63Nrc..mVxk6vcmKg0Ctnr.x0XWfsbm_Nj7yZQ.Mow2IPuX64Aj66y.fjF1i0LnVnrH61QVZpu1pWmY8Bce0N97YYZcELUS6Y5FvAspx7hy8TjUxJVZ8EN_EsurOHsuubMtIvdzcz1D8ayHLhrQfC3Oqx75.HihU3Uitw-- Received: from [161.129.204.104] by web32204.mail.mud.yahoo.com via HTTP; Fri, 23 Oct 2009 12:52:19 PDT X-Mailer: YahooMailClassic/7.0.14 YahooMailWebService/0.7.347.3 Date: Fri, 23 Oct 2009 12:52:19 -0700 (PDT) From: Rajiv Maheshwari <[email protected]> Subject: CombineFileInput Format vs. Large SequenceFile To: [email protected] MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1902091781-1256327539=:10596" --0-1902091781-1256327539=:10596 Content-Type: text/plain; charset=us-ascii Hi everyone, I have a need to process a large number (millions) of relatively small XML files (I would imagine mostly 1K to 1 MB). I guess sending each file to a map-reduce task will cause too much overhead in setup and teardown of the tasks. So, I am considering 2 alternatives: 1) Generate 1 large SequenceFile with <K,V> = <Filename/URI, File XML content> for all the files. This SequenceFile would be huge. (I wonder is there any max record length / max size limit on HDFS file?) 2) Use CombineFileInputFormat I would appreciate any comments on performance considerations and other pros and cons. One more question: What if I have one large XML file composed of (a series of) each file's XML content, could it be possible to use StreamXMLReader while combining component files before sending to map-reduce task? Thanks, Rajiv --0-1902091781-1256327539=:10596-- From [email protected] Sat Oct 24 09:06:59 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 32261 invoked from network); 24 Oct 2009 09:06:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Oct 2009 09:06:59 -0000 Received: (qmail 5262 invoked by uid 500); 24 Oct 2009 09:06:58 -0000 Delivered-To: [email protected] Received: (qmail 5175 invoked by uid 500); 24 Oct 2009 09:06:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 5165 invoked by uid 99); 24 Oct 2009 09:06:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Oct 2009 09:06:57 +0000 X-ASF-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-gx0-f228.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Oct 2009 09:06:55 +0000 Received: by gxk28 with SMTP id 28so8696342gxk.9 for <[email protected]>; Sat, 24 Oct 2009 02:06:34 -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=x9KXdtd0d2VJVtG4tqkPmKWEENI63yHHL1O+gz/FAWk=; b=j0ixdIczdH18McXpV27iy3JR7b6IMhxQ+6ldMsrIwx+0HCp3giQ7+m9BObtX7PCDlJ 1eWHpR5gN0EEUKUaBSbKLleFXZgE23Kfrx6X7XRRfREUpaFiBnNUy507sY3YuaUPLJYf ck5s1kV8Te5CrAeHk9ZPlJgsoj23BHk3bRUz0= 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=J+yLv13YFzM/Y74KsN+dP8uig5spCwfpJMZkkkZqarSeN9eL9LPn/9DiWEynmA3/dw alPgUumHoUGBchQHFZMkCpwRMXSfmLqk/wFsTgV7jhAAg3Fia0nsw9BN7cydSXZCoczV 7FLH7OCYOPj+vBuAPLTsHtPVm+aQ/fKPG2zeE= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id o11mr10595493ybl.134.1256375194327; Sat, 24 Oct 2009 02:06:34 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Sat, 24 Oct 2009 02:06:34 -0700 Message-ID: <[email protected]> Subject: Re: CombineFileInput Format vs. Large SequenceFile From: Dhruba Borthakur <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=000e0cd293f8299b790476aaa5a0 --000e0cd293f8299b790476aaa5a0 Content-Type: text/plain; charset=ISO-8859-1 you could use both. if you query is to be done once, then either way is ok. If the query is to be done multiple times, it is better to create a large sequencefile as the first step and then continue to query that large file multiple times, otherwise you might land up transferring all the data across the network multiple times, one for every run of the query. thanks dhruba On Fri, Oct 23, 2009 at 12:52 PM, Rajiv Maheshwari <[email protected]>wrote: > Hi everyone, > > I have a need to process a large number (millions) of relatively small XML > files (I would imagine mostly 1K to 1 MB). I guess sending each file to a > map-reduce task will cause too much overhead in setup and teardown of the > tasks. So, I am considering 2 alternatives: > > 1) Generate 1 large SequenceFile with <K,V> = <Filename/URI, File XML > content> for all the files. This SequenceFile would be huge. (I wonder is > there any max record length / max size limit on HDFS file?) > > 2) Use CombineFileInputFormat > > I would appreciate any comments on performance considerations and other > pros and cons. > > One more question: What if I have one large XML file composed of (a series > of) each file's XML content, could it be possible to use StreamXMLReader > while combining component files before sending to map-reduce task? > > Thanks, > Rajiv > > > -- Connect to me at http://www.facebook.com/dhruba --000e0cd293f8299b790476aaa5a0-- From [email protected] Mon Oct 26 04:19:42 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 274 invoked from network); 26 Oct 2009 04:19:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Oct 2009 04:19:41 -0000 Received: (qmail 61263 invoked by uid 500); 26 Oct 2009 04:19:41 -0000 Delivered-To: [email protected] Received: (qmail 61110 invoked by uid 500); 26 Oct 2009 04:19:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 61100 invoked by uid 99); 26 Oct 2009 04:19:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Oct 2009 04:19:40 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iw0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Oct 2009 04:19:37 +0000 Received: by iwn1 with SMTP id 1so6147843iwn.2 for <[email protected]>; Sun, 25 Oct 2009 21:19:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=D6TxFbS+mJ5/qLUh0/+w3RyMKr30NniGnD9jRTxFCiI=; b=ANWnjYHFQJIr/sRDhMM62vQ6TL5QXywgGzAjbFUrJw0kP/Fz8fDBJkOg1P0IqlxBQ/ HR+n69Em1N/YHQeWsrMQCwdawZZFUF1JTHMVWbh1jDmorxnCBats0acSlcGn4nonpThA EzRL68zx+d/UulTj8rCtEh//mZPqueK0UfBb8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=aPk68jLkL4ABf13BkV7EMQf5Z8ktIixPLgQfxyUD0DoKeW8ZuiICksKIOlevtiH/rf LhQGF+cdDE4TvMQ+kPFSSIsyKtKIpLPIPX9/08CNqK6EDS15EPJF8prBcSABrku22er5 zBpHa7zSjReRNix/PtHLUlN2+kDEv0ICqd1rA= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id 26mr4979340ibu.42.1256530757171; Sun, 25 Oct 2009 21:19:17 -0700 (PDT) Date: Mon, 26 Oct 2009 13:19:17 +0900 Message-ID: <[email protected]> Subject: S3 Exception From: Harshit Kumar <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0015177409886e39aa0476cedd87 --0015177409886e39aa0476cedd87 Content-Type: text/plain; charset=UTF-8 Hi There is 1 GB of rdf/owl files that I am executing on EC2. Execution throws the following exception ------------------- 08/11/19 16:08:27 WARN mapred.JobClient: Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for the same. org.apache.hadoop.fs.s3.S3Exception: org.jets3t.service.S3ServiceException: S3 PUT failed for '/' XML Error Message: <?xml version="1.0" encoding="UTF-8"?><Error><Code>OperationAborted</Code><Message>*A conflicting conditional operation is currently in progress against **this** resource*. Please try again.</Message><RequestId>324E696A4BCA8731</RequestId><HostId>{REMOVED}</HostId></Error> at org.apache.hadoop.fs.s3native.Jets3tNativeFileSystemStore.createBucket(Jets3tNativeFileSystemStore.java:74) at org.apache.hadoop.fs.s3native.Jets3tNativeFileSystemStore.initialize(Jets3tNativeFileSystemStore.java:63) 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:597) at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:82) at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:59) at org.apache.hadoop.fs.s3native.$Proxy2.initialize(Unknown Source) at org.apache.hadoop.fs.s3native.NativeS3FileSystem.initialize(NativeS3FileSystem.java:215) at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1339) at org.apache.hadoop.fs.FileSystem.access$300(FileSystem.java:56) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1351) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:213) at org.apache.hadoop.fs.Path.getFileSystem(Path.java:175) at org.apache.hadoop.mapred.FileInputFormat.listStatus(FileInputFormat.java:158) at org.apache.hadoop.mapred.FileInputFormat.getSplits(FileInputFormat.java:210) at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:742) at org.apache.hadoop.streaming.StreamJob.submitAndMonitorJob(StreamJob.java:925) at org.apache.hadoop.streaming.StreamJob.go(StreamJob.java:115) at org.apache.hadoop.streaming.HadoopStreaming.main(HadoopStreaming.java:33) 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:597) at org.apache.hadoop.util.RunJar.main(RunJar.java:155) at org.apache.hadoop.mapred.JobShell.run(JobShell.java:54) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79) at org.apache.hadoop.mapred.JobShell.main(JobShell.java:68) Caused by: org.jets3t.service.S3ServiceException: S3 PUT failed for '/' XML Error Message: <?xml version="1.0" encoding="UTF-8"?><Error><Code>OperationAborted</Code><Message>A conflicting conditional operation is currently in progress against this resource. Please try again.</Message><RequestId>{REMOVED}</RequestId><HostId>{REMOVED}</HostId></Error> at org.jets3t.service.impl.rest.httpclient.RestS3Service.performRequest(RestS3Service.java:424) at org.jets3t.service.impl.rest.httpclient.RestS3Service.performRestPut(RestS3Service.java:734) at org.jets3t.service.impl.rest.httpclient.RestS3Service.createObjectImpl(RestS3Service.java:1357) at org.jets3t.service.impl.rest.httpclient.RestS3Service.createBucketImpl(RestS3Service.java:1234) at org.jets3t.service.S3Service.createBucket(S3Service.java:1390) at org.jets3t.service.S3Service.createBucket(S3Service.java:1158) at org.jets3t.service.S3Service.createBucket(S3Service.java:1177) at org.apache.hadoop.fs.s3native.Jets3tNativeFileSystemStore.createBucket(Jets3tNativeFileSystemStore.java:69) ... 29 more --------------------- There were like 50 failed map tasks out of total of 1141 maps. Though hadoop job tracker successfully executed failed tasks again, but if a task fails, and then restarting it again, takes execution time. If somehow, this exception can be avoided altogether, program execution will be faster. Came across a JIRA post that says, the exception is because s3 tries to create a bucket which it should not create, and a patch is also posted for the same. Applied the patch, but still the same error. IMO, this error is because a operation is trying to access a part of file which is already been accessed by another map job. Please help resolve this issue or pass on any pointers that can suggest why is this error happening? Thanks and Regards H. Kumar skype: harshit900 Blog: http://harshitkumar.wordpress.com Website: http:/kumarharmuscat.tripod.com --0015177409886e39aa0476cedd87-- From [email protected] Tue Oct 27 17:06:31 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83858 invoked from network); 27 Oct 2009 17:06:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Oct 2009 17:06:31 -0000 Received: (qmail 37675 invoked by uid 500); 27 Oct 2009 17:06:27 -0000 Delivered-To: [email protected] Received: (qmail 37552 invoked by uid 500); 27 Oct 2009 17:06:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 37534 invoked by uid 99); 27 Oct 2009 17:06:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Oct 2009 17:06:27 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,NO_RDNS_DOTCOM_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mrout1.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Oct 2009 17:06:24 +0000 Received: from SP1-EX07CAS02.ds.corp.yahoo.com (sp1-ex07cas02.ds.corp.yahoo.com [161.129.204.104]) by mrout1.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id n9RH4S1V003735; Tue, 27 Oct 2009 10:05:47 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=received:from:to:date:subject:thread-topic:thread-index: message-id:references:accept-language:content-language: x-ms-has-attach:x-ms-tnef-correlator:acceptlanguage:content-type: content-transfer-encoding:mime-version; b=KGR5swrKFssuMxtnaoDRg4ZeZTZTUMAm5WhJLS4xaXcpx5xJ+8juGoSezXnsi9ox Received: from SP1-EX07VS01.ds.corp.yahoo.com ([161.129.204.104]) by SP1-EX07CAS02.ds.corp.yahoo.com ([161.129.204.104]) with mapi; Tue, 27 Oct 2009 10:05:20 -0700 From: Dekel Tankel <[email protected]> To: "[email protected]" <[email protected]>, "[email protected]" <[email protected]> Date: Tue, 27 Oct 2009 10:05:18 -0700 Subject: RE: Hadoop User Group (Bay Area) - Nov 18th at Yahoo! Thread-Topic: Hadoop User Group (Bay Area) - Nov 18th at Yahoo! Thread-Index: AcoSMRRU8X5auVLKR8ufbpFTQi1hLgQXaiyQDSYUL9A= Message-ID: <[email protected]> References: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Hi all, Thank you for those who attended the meeting last week, I hope you found it= interesting and helpful. Special thanks to all the presenters! Presentations are available here: http://developer.yahoo.net/blogs/hadoop/2009/10/hadoop_user_group_hug_oct_2= 1st.html RSVP is now open for the next monthly Bay Area Hadoop user group at the Yah= oo! Sunnyvale Campus, planed for Nov 18th. Registration is available here http://www.meetup.com/hadoop/calendar/11724002/ We would like to include a session describing an application using Hadoop a= nd/or related technologies. If you are interested to present please send me= an email with a short description. Looking forward to seeing you and enjoy ApacheCon! Dekel From [email protected] Wed Oct 28 08:14:43 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25357 invoked from network); 28 Oct 2009 08:14:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Oct 2009 08:14:43 -0000 Received: (qmail 39598 invoked by uid 500); 28 Oct 2009 08:14:42 -0000 Delivered-To: [email protected] Received: (qmail 39510 invoked by uid 500); 28 Oct 2009 08:14:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 39496 invoked by uid 99); 28 Oct 2009 08:14:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2009 08:14:41 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yw0-f185.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2009 08:14:39 +0000 Received: by ywh15 with SMTP id 15so540072ywh.5 for <[email protected]>; Wed, 28 Oct 2009 01:14:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=AulgP5PsgWJyN1MG+tvDwYkunHhMjeks+PYE8tZ8zdQ=; b=cDk4PRos8oOuu9Sfed1YHIwsT5lXTb6KZfSMDjS+VIgrEYABvy12Fxw3+yH4bMOeE2 Li/PPIvEYvtFNygvX1+n+2/YXPCr4KGZlNSjR7z3cyuYPxG7PGIz3fqmZFXPxDCbOJQA guRjHf8+B9zCmrLwErJyZ+KkwnW6S6B4BSfqQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=qAJnIMiyNa/k9hkFCHhhtjxqhEynBuOGW7nLyLGS5hF6yYGnpdiZeXAY2hutNYREm+ 0dYS1QQ6Wjd/npn7Mve2V8741J1aFRNjfsfEFOvx5YQLSqnSAFbrfov/jYOGyPvk9uuG KtPkVT2AFsVb8BD6T6+pjEyS5OmdpBgwQF6c4= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id 21mr13787659agw.59.1256717658144; Wed, 28 Oct 2009 01:14:18 -0700 (PDT) Date: Wed, 28 Oct 2009 16:14:18 +0800 Message-ID: <[email protected]> Subject: Need Help: The problem with text key of MapFile From: lei wang <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00148534bcba98c1af0476fa6123 --00148534bcba98c1af0476fa6123 Content-Type: text/plain; charset=ISO-8859-1 Hi, friends I need store the web pages(a huge one) in the MapFile of the hadoop, So i did use the url as the key, and its type is "text", When writring the records into the mapfile, it give an error as "out of order", which type should I choose to represent the key "url", can anyone give me some detail answer, thanks for you help. --00148534bcba98c1af0476fa6123-- From [email protected] Wed Oct 28 08:26:39 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28415 invoked from network); 28 Oct 2009 08:26:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Oct 2009 08:26:39 -0000 Received: (qmail 54265 invoked by uid 500); 28 Oct 2009 08:26:39 -0000 Delivered-To: [email protected] Received: (qmail 54186 invoked by uid 500); 28 Oct 2009 08:26:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 54176 invoked by uid 99); 28 Oct 2009 08:26:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2009 08:26:38 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-pw0-f50.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2009 08:26:30 +0000 Received: by pwi4 with SMTP id 4so723467pwi.29 for <[email protected]>; Wed, 28 Oct 2009 01:26:09 -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=EBh6ycktuSXMJGnNzVMwcZ9Nr23qlp3PBOD0vYZeU1w=; b=o5Ny7MU4KHaEeISwhyZu6cHrVJV8aT/8s7A+nOHgWcMe85EN7gXjIuHzRfTKXQyXMH ynlH+pRvVeXZvWHcyWIA+RoLPVZZombvkLuvFaK1Fr8g+roI8hW+ganeJfmmhl1mJz9n GejPK4zJJK8u8MR97lbEqU+I/wsaUgcxP1QJ4= 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=kRFxHzJDRHFEc4B2oDqCHo4InVZxRhoK8ArWO9h2chHVBIC00NtqoQWxNxwPOSVRDh N99a3mVHA5HOAhtbpWE9PeAhc6d8Jo6l5WKgauDp/+UrVjJT0ay7ibtn3DZf2ut17OIR xmnND3wEX+fEABatCpWeWev85wFt3d4vOpSL8= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id s1mr871117wfc.245.1256718369431; Wed, 28 Oct 2009 01:26:09 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Wed, 28 Oct 2009 16:26:09 +0800 Message-ID: <[email protected]> Subject: Re: Need Help: The problem with text key of MapFile From: Jeff Zhang <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=001636e0b9c6fe2cb30476fa8bf9 X-Virus-Checked: Checked by ClamAV on apache.org --001636e0b9c6fe2cb30476fa8bf9 Content-Type: text/plain; charset=UTF-8 Hi Wang, The keys of MapFile should be in order, so when you add records into MapFile, you should make sure you insert them in order Best Regards, Jeff Zhang On Wed, Oct 28, 2009 at 4:14 PM, lei wang <[email protected]> wrote: > Hi, friends > I need store the web pages(a huge one) in the MapFile of the hadoop, So i > did use the url as the key, and its type is "text", When writring the > records into the mapfile, it give an error as "out of order", which type > should I choose to represent the key "url", can anyone give me some detail > answer, thanks for you help. > --001636e0b9c6fe2cb30476fa8bf9-- From [email protected] Wed Oct 28 08:48:16 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31934 invoked from network); 28 Oct 2009 08:48:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Oct 2009 08:48:16 -0000 Received: (qmail 78408 invoked by uid 500); 28 Oct 2009 08:48:15 -0000 Delivered-To: [email protected] Received: (qmail 78336 invoked by uid 500); 28 Oct 2009 08:48:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78324 invoked by uid 99); 28 Oct 2009 08:48:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2009 08:48:15 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yx0-f194.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2009 08:48:12 +0000 Received: by yxe32 with SMTP id 32so570096yxe.5 for <[email protected]>; Wed, 28 Oct 2009 01:47:52 -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=xrYAcS4IY2jjzpJ7MglaweJaXDhYr9qHU+U/BxarTvY=; b=ZWR7AO+E4yQrTFuRy8hA2jm5MLfjqhzu/L7a+PkekbQNi1VyNZvXGJ/HfyO4fOC+nu xm9H+Fv/KxC3gtkM00Whj1QE74mRq6ijsC/MgtwQVks4HUuLdoo/cPMGdsN0liqWYXhN vVA02byK2Z1fWqeyopZaDCwPNc+juUJFto3ws= 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=dvJEiZOOhVjbTDUzRA9ejLAf++G2tbUylyscgKV8U5hRbKwcg+r+HCEfoCnDYUA9Nt ertuRyGYOazBlD+LDYAt/bWdCmwxt8uksAhCND8wb6RshRX8XZvo/pLRMjLsSRoOE7Oa qE8AhOY/l1bpr9IVde6dMygeZrlzEGVSwHjwI= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id k22mr9955264aga.48.1256719671784; Wed, 28 Oct 2009 01:47:51 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Wed, 28 Oct 2009 16:47:51 +0800 Message-ID: <[email protected]> Subject: Re: Need Help: The problem with text key of MapFile From: lei wang <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016362839e69e764f0476fad915 --0016362839e69e764f0476fad915 Content-Type: text/plain; charset=ISO-8859-1 but now, "url" is not in order, must the key be intwritable ? should it be comparable ? How to make sure them in order?sort it first? I just want to insert the pages for random acess by "url ". On Wed, Oct 28, 2009 at 4:26 PM, Jeff Zhang <[email protected]> wrote: > Hi Wang, > > The keys of MapFile should be in order, so when you add records into > MapFile, you should make sure you insert them in order > > Best Regards, > > Jeff Zhang > > > On Wed, Oct 28, 2009 at 4:14 PM, lei wang <[email protected]> > wrote: > > > Hi, friends > > I need store the web pages(a huge one) in the MapFile of the hadoop, So i > > did use the url as the key, and its type is "text", When writring the > > records into the mapfile, it give an error as "out of order", which type > > should I choose to represent the key "url", can anyone give me some > detail > > answer, thanks for you help. > > > --0016362839e69e764f0476fad915-- From [email protected] Wed Oct 28 09:12:27 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38298 invoked from network); 28 Oct 2009 09:12:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Oct 2009 09:12:27 -0000 Received: (qmail 97509 invoked by uid 500); 28 Oct 2009 09:12:26 -0000 Delivered-To: [email protected] Received: (qmail 97454 invoked by uid 500); 28 Oct 2009 09:12:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 97444 invoked by uid 99); 28 Oct 2009 09:12:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2009 09:12:26 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-pw0-f50.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2009 09:12:18 +0000 Received: by pwi4 with SMTP id 4so740612pwi.29 for <[email protected]>; Wed, 28 Oct 2009 02:11:56 -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=BAioKTFm/huReGXArKGLPbf0DI6a9azitGsz4GMPRCc=; b=sO7SeaVj4VyDSPCqJG92E69pqgRtVXzpl/4bsnelAtP45v3LRvHHCKic9mxicA5zD8 rPVe2Kttwu4DZtezukTDiV5mHJMBiGN6WeRJOfXONC47ORq4ndgqvXPQ8n7/8Bc1Ltcr pBnaWyQVUpCL1/x/E0k8FmpaauwThHxUy25VI= 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=NapSjlX6RhiXY4FbRHevH6A3TE19N6opEwZ+WgDJXEE77rzfVsYAvb2bTIKHnJkYjY QnDt7DCKeTIxgXv+UDTiv8Z0M+fEsmje/7hzCzWyQAYUaoDrbNbp2JfzZoAU2JqD9tNr GKOvaNxvp/5/zx5a01n4ZSgEGhANLikhbW/1A= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id y30mr1444970wfi.229.1256721116723; Wed, 28 Oct 2009 02:11:56 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Wed, 28 Oct 2009 17:11:56 +0800 Message-ID: <[email protected]> Subject: Re: Need Help: The problem with text key of MapFile From: Jeff Zhang <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00504502ce03be7ca70476fb2f44 X-Virus-Checked: Checked by ClamAV on apache.org --00504502ce03be7ca70476fb2f44 Content-Type: text/plain; charset=UTF-8 I do not know why you need use MapFile, could you use SequenceFile instead ? The MapFile's advantage is its read performance, because it build index on its keys. So its keys must be in order. If you really want to use MapFile, you can first write your data to SequenceFile and then covert it to MapFile. About how to convert SequenceFile to MapFile: 1. Sort the SequenceFile using sort in examples of hadoop 2. create index for the output of the above step. then you get both of the data file and index file You an refer Tom Whilte's book "Hadoop definitive guide" for details about how to convert SequenceFile into MapFile Jeff Zhang On Wed, Oct 28, 2009 at 4:47 PM, lei wang <[email protected]> wrote: > but now, "url" is not in order, must the key be intwritable ? should it > be > comparable ? > How to make sure them in order?sort it first? > I just want to insert the pages for random acess by "url ". > > On Wed, Oct 28, 2009 at 4:26 PM, Jeff Zhang <[email protected]> wrote: > > > Hi Wang, > > > > The keys of MapFile should be in order, so when you add records into > > MapFile, you should make sure you insert them in order > > > > Best Regards, > > > > Jeff Zhang > > > > > > On Wed, Oct 28, 2009 at 4:14 PM, lei wang <[email protected]> > > wrote: > > > > > Hi, friends > > > I need store the web pages(a huge one) in the MapFile of the hadoop, So > i > > > did use the url as the key, and its type is "text", When writring the > > > records into the mapfile, it give an error as "out of order", which > type > > > should I choose to represent the key "url", can anyone give me some > > detail > > > answer, thanks for you help. > > > > > > --00504502ce03be7ca70476fb2f44-- From [email protected] Wed Oct 28 22:54:37 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35064 invoked from network); 28 Oct 2009 22:54:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Oct 2009 22:54:36 -0000 Received: (qmail 29454 invoked by uid 500); 28 Oct 2009 22:54:36 -0000 Delivered-To: [email protected] Received: (qmail 29359 invoked by uid 500); 28 Oct 2009 22:54:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 29346 invoked by uid 99); 28 Oct 2009 22:54:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2009 22:54:35 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f226.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2009 22:54:27 +0000 Received: by ewy26 with SMTP id 26so1311423ewy.29 for <[email protected]>; Wed, 28 Oct 2009 15:54:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=Kg79npvJ8QKg5hWbIhirpfjYY8PP7odBatHI4Xi/glY=; b=nhnbhGKYm4FzXu3e1nQgDkCRyfF+HUJ0S/HmnhxUDxnhV4b9PgVFTpN2aD6Ad/VWup Tzu4WWJkhc4fG3CY5CoMVMzPpcUqkncYPNaMCh9b34d4r1UZmfeLq7wlyLrViOXp8jkd ge3vWlHMZqpf713edPPiFI3Q+xXyP8Fsexexo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=od4CDb+dUxENn23RI47VhxIFCDDbTL71iVzCWcCWljmrpcSuHKuQmiBjSmz9B/Ezxo tlhG8irgkMlaKngNvDXD8zsSFEvonKs16HzKpPIP8EcNfaGMN0YZnQex5gGSfufXxy/k /UBQKtZMzyrk2UmXlJzhmtQVC3QEondUzB2Og= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id w3mr242104wee.156.1256770447736; Wed, 28 Oct 2009 15:54:07 -0700 (PDT) Date: Wed, 28 Oct 2009 23:54:07 +0100 Message-ID: <[email protected]> Subject: try hadoop on amazon From: slim tebourbi <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016e6d7787f19ff98047706acc2 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d7787f19ff98047706acc2 Content-Type: text/plain; charset=ISO-8859-1 Hello guys, Is there any way to use the amazon's services for free just to make tests? Or any other services that allow this? thxs. --0016e6d7787f19ff98047706acc2-- From [email protected] Thu Oct 29 00:37:18 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66712 invoked from network); 29 Oct 2009 00:37:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Oct 2009 00:37:18 -0000 Received: (qmail 14501 invoked by uid 500); 29 Oct 2009 00:37:17 -0000 Delivered-To: [email protected] Received: (qmail 14402 invoked by uid 500); 29 Oct 2009 00:37:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 14391 invoked by uid 99); 29 Oct 2009 00:37:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Oct 2009 00:37:16 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO gateway0.EECS.Berkeley.EDU) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Oct 2009 00:37:07 +0000 Received: from dhcp-44-233.eecs.berkeley.edu (dhcp-44-233.EECS.Berkeley.EDU [161.129.204.104]) (authenticated bits=0) by gateway0.EECS.Berkeley.EDU (8.14.3/8.13.5) with ESMTP id n9T0aiIj001476 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for <[email protected]>; Wed, 28 Oct 2009 17:36:45 -0700 (PDT) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Mime-Version: 1.0 (Apple Message framework v1076) Subject: Re: try hadoop on amazon From: Matei Zaharia <[email protected]> In-Reply-To: <[email protected]> Date: Wed, 28 Oct 2009 17:36:43 -0700 Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> References: <[email protected]> To: [email protected] X-Mailer: Apple Mail (2.1076) X-Virus-Checked: Checked by ClamAV on apache.org If you just want to develop and test Hadoop applications, you can run Hadoop on your own machine by following the Quick Start instructions linked at http://hadoop.apache.org/common/docs/r0.20.0/. If you want to run on a cluster, Amazon is very cheap for small computations (several dollars per hour). On Oct 28, 2009, at 3:54 PM, slim tebourbi wrote: > Hello guys, > Is there any way to use the amazon's services for free just to make > tests? > Or any other services that allow this? > thxs. From [email protected] Thu Oct 29 00:53:41 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76819 invoked from network); 29 Oct 2009 00:53:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Oct 2009 00:53:41 -0000 Received: (qmail 22703 invoked by uid 500); 29 Oct 2009 00:53:40 -0000 Delivered-To: [email protected] Received: (qmail 22630 invoked by uid 500); 29 Oct 2009 00:53:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 22620 invoked by uid 99); 29 Oct 2009 00:53:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Oct 2009 00:53:40 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yw0-f185.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Oct 2009 00:53:38 +0000 Received: by ywh15 with SMTP id 15so1531308ywh.5 for <[email protected]>; Wed, 28 Oct 2009 17:53:17 -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=ExACVlwQe4/LC0yJmccT3F7XKaj4a3CqTCm9uZZnBQc=; b=fSkXJ5kT4qBW1ud+w2MOdRX9+yoCtuZatfrHMxJpMhYe7XF/SbwhMIDFDMlR8Z246l feOkWK1//diOVIcILLgjn9Uyq1jkKqr3LUxEMfrRnqmQJIEqYRsx579yNwih7glrDYOk drHLZzG909cQNHupvdMkMUj06d4mIR7jdSlQ4= 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=epOq2yQSsoIWilZkXUdCmi0obnGo4soTA06rxYesycsrceRGamkWAvIYQ5YcfZ6RNl 2buEzY9Osund4KXK6R5c4KwaKtCqbx1ojpM4ZbSIyiIlC4DRLnNKQ7vQC/aryjDota+d 8Oc9dA0gJoDCRXRq85ho+vpuLv9oMqIk2aScc= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id h1mr730907anm.126.1256777596954; Wed, 28 Oct 2009 17:53:16 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Thu, 29 Oct 2009 08:53:16 +0800 Message-ID: <[email protected]> Subject: Re: Need Help: The problem with text key of MapFile From: lei wang <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 hi,juff, thanks for your comments. I did read this book early, I use MapFile to store my web pages for random access. First I think the SquenceFile conversion as a solution, howerve, the problem is that I need append the new pages to the MapFile by minute or second, so I didn't think SquenceFile conversion can manage this. Would you give me some suggestion? Think your very much! Best wishes. On 10/28/09, Jeff Zhang <[email protected]> wrote: > I do not know why you need use MapFile, could you use SequenceFile instead ? > > The MapFile's advantage is its read performance, because it build index on > its keys. So its keys must be in order. > > If you really want to use MapFile, you can first write your data to > SequenceFile and then covert it to MapFile. > > About how to convert SequenceFile to MapFile: > 1. Sort the SequenceFile using sort in examples of hadoop > 2. create index for the output of the above step. then you get both of the > data file and index file > > > You an refer Tom Whilte's book "Hadoop definitive guide" for details about > how to convert SequenceFile into MapFile > > Jeff Zhang > > > > On Wed, Oct 28, 2009 at 4:47 PM, lei wang <[email protected]> wrote: > >> but now, "url" is not in order, must the key be intwritable ? should it >> be >> comparable ? >> How to make sure them in order?sort it first? >> I just want to insert the pages for random acess by "url ". >> >> On Wed, Oct 28, 2009 at 4:26 PM, Jeff Zhang <[email protected]> wrote: >> >> > Hi Wang, >> > >> > The keys of MapFile should be in order, so when you add records into >> > MapFile, you should make sure you insert them in order >> > >> > Best Regards, >> > >> > Jeff Zhang >> > >> > >> > On Wed, Oct 28, 2009 at 4:14 PM, lei wang <[email protected]> >> > wrote: >> > >> > > Hi, friends >> > > I need store the web pages(a huge one) in the MapFile of the hadoop, >> > > So >> i >> > > did use the url as the key, and its type is "text", When writring the >> > > records into the mapfile, it give an error as "out of order", which >> type >> > > should I choose to represent the key "url", can anyone give me some >> > detail >> > > answer, thanks for you help. >> > > >> > >> > From [email protected] Thu Oct 29 02:17:19 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95508 invoked from network); 29 Oct 2009 02:17:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Oct 2009 02:17:19 -0000 Received: (qmail 81028 invoked by uid 500); 29 Oct 2009 02:17:18 -0000 Delivered-To: [email protected] Received: (qmail 80959 invoked by uid 500); 29 Oct 2009 02:17:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 80949 invoked by uid 99); 29 Oct 2009 02:17:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Oct 2009 02:17:18 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-px0-f204.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Oct 2009 02:17:10 +0000 Received: by pxi42 with SMTP id 42so971891pxi.5 for <[email protected]>; Wed, 28 Oct 2009 19:16:48 -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=Ff1oz9ZLaJ16D0RA08b5/Fhes8xdRz+IokgpZv5hOtY=; b=pRa9Anp2GEY2hpInN5VLVVUMwT/W8vSDMaIXOhux0F+864WPqcwz7uHtjfhmj2wZg6 2Y/w+qECI+Irc9I733vDMN4GAAEJUKFDq4MEzo8gLosMz2IBva8vIyqr/4WWsku6KIjh 7SXc0/RCYw9CgA9q3RSgcSDkYtKNjgVLb5BGg= 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=fz5YroDPnQjtjQgotVpT1WUFIfAnPJVu7OeJA3RxRl3izD5yXtbQe2qOm/VudHhhCk yGMEpPirn/Vln32x9sliArlRQSm42Z0RHRL6U7J00f+tLxE+jbDLUf/CuoC892qF12eC PdYsOuAxqDAn4+QNxGeYz4CQRSKKJVDPxwGuM= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id v41mr1554084wfh.284.1256782608830; Wed, 28 Oct 2009 19:16:48 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Thu, 29 Oct 2009 10:16:48 +0800 Message-ID: <[email protected]> Subject: Re: Need Help: The problem with text key of MapFile From: Jeff Zhang <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00504502cb28f58ff7047709801f X-Virus-Checked: Checked by ClamAV on apache.org --00504502cb28f58ff7047709801f Content-Type: text/plain; charset=UTF-8 I guess maybe HBase will be fit for you. HBase is a distributed database built upon Hadoop. You can use the url as the row key and put other fields into columns. then you can retrieve the web page through HBase Client API and insert new web page into it. The performance of HBase 0.20 is good enough for you. Best Regards, Jeff zhang On Thu, Oct 29, 2009 at 8:53 AM, lei wang <[email protected]> wrote: > hi,juff, thanks for your comments. > I did read this book early, I use MapFile to store my web pages for > random access. > First I think the SquenceFile conversion as a solution, howerve, the > problem is that I need append the new pages to the MapFile by minute > or second, so I didn't think SquenceFile conversion can manage this. > Would you give me some suggestion? Think your very much! > > Best wishes. > > On 10/28/09, Jeff Zhang <[email protected]> wrote: > > I do not know why you need use MapFile, could you use SequenceFile > instead ? > > > > The MapFile's advantage is its read performance, because it build index > on > > its keys. So its keys must be in order. > > > > If you really want to use MapFile, you can first write your data to > > SequenceFile and then covert it to MapFile. > > > > About how to convert SequenceFile to MapFile: > > 1. Sort the SequenceFile using sort in examples of hadoop > > 2. create index for the output of the above step. then you get both of > the > > data file and index file > > > > > > You an refer Tom Whilte's book "Hadoop definitive guide" for details > about > > how to convert SequenceFile into MapFile > > > > Jeff Zhang > > > > > > > > On Wed, Oct 28, 2009 at 4:47 PM, lei wang <[email protected]> > wrote: > > > >> but now, "url" is not in order, must the key be intwritable ? should it > >> be > >> comparable ? > >> How to make sure them in order?sort it first? > >> I just want to insert the pages for random acess by "url ". > >> > >> On Wed, Oct 28, 2009 at 4:26 PM, Jeff Zhang <[email protected]> wrote: > >> > >> > Hi Wang, > >> > > >> > The keys of MapFile should be in order, so when you add records into > >> > MapFile, you should make sure you insert them in order > >> > > >> > Best Regards, > >> > > >> > Jeff Zhang > >> > > >> > > >> > On Wed, Oct 28, 2009 at 4:14 PM, lei wang <[email protected]> > >> > wrote: > >> > > >> > > Hi, friends > >> > > I need store the web pages(a huge one) in the MapFile of the hadoop, > >> > > So > >> i > >> > > did use the url as the key, and its type is "text", When writring > the > >> > > records into the mapfile, it give an error as "out of order", which > >> type > >> > > should I choose to represent the key "url", can anyone give me some > >> > detail > >> > > answer, thanks for you help. > >> > > > >> > > >> > > > --00504502cb28f58ff7047709801f-- From [email protected] Thu Oct 29 02:22:15 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96366 invoked from network); 29 Oct 2009 02:22:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Oct 2009 02:22:15 -0000 Received: (qmail 86083 invoked by uid 500); 29 Oct 2009 02:22:14 -0000 Delivered-To: [email protected] Received: (qmail 85998 invoked by uid 500); 29 Oct 2009 02:22:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 85988 invoked by uid 99); 29 Oct 2009 02:22:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Oct 2009 02:22:14 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yw0-f185.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Oct 2009 02:22:12 +0000 Received: by ywh15 with SMTP id 15so1601243ywh.5 for <[email protected]>; Wed, 28 Oct 2009 19:21:51 -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=ek75P3Fv4EMf3UxvOXdmflp4fTdQdwpl6FLTNKAaP0c=; b=H+q6bqsb85THFoJO7Ll/MDkX1ofZKULCl2egLfSoXw2bpy6iHk/lIaw4qkxP9empD6 a15v1rtplxvbtfQ4Yma4GZdWODgT0sYtGGo2XVxbEfzz/yntMVgSTe9sZj5Q/HbmxYzK nWuQJBqoYpzO3hCdx53cg7lqLWNCm9qA4Z7BQ= 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=POnfzUwhyOVHudimFLL/HvZQAqJnUJgzfMnbnoBxha9ORqFZTW8r4VJLAj4dbniLG6 s8Dr3PseCe5el/PBa4BA4qhpK00QwTPfIzhsuKvcO2ajsGEgEcKGvvkQpGVbfE5W8mLH El5FboR6sSPXlJATwUW8R0sy4F3sRKhIri0CQ= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id w3mr718520ang.108.1256782911049; Wed, 28 Oct 2009 19:21:51 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Thu, 29 Oct 2009 10:21:50 +0800 Message-ID: <[email protected]> Subject: Re: Need Help: The problem with text key of MapFile From: lei wang <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00163623b154f90f9d04770992ce --00163623b154f90f9d04770992ce Content-Type: text/plain; charset=ISO-8859-1 Oh, I have tried hbase in the early. But I think HDFS may give me a choice. Thanks. On Thu, Oct 29, 2009 at 10:16 AM, Jeff Zhang <[email protected]> wrote: > I guess maybe HBase will be fit for you. HBase is a distributed database > built upon Hadoop. > You can use the url as the row key and put other fields into columns. > > then you can retrieve the web page through HBase Client API and insert new > web page into it. The performance of HBase 0.20 is good enough for you. > > Best Regards, > Jeff zhang > > > On Thu, Oct 29, 2009 at 8:53 AM, lei wang <[email protected]> > wrote: > > > hi,juff, thanks for your comments. > > I did read this book early, I use MapFile to store my web pages for > > random access. > > First I think the SquenceFile conversion as a solution, howerve, the > > problem is that I need append the new pages to the MapFile by minute > > or second, so I didn't think SquenceFile conversion can manage this. > > Would you give me some suggestion? Think your very much! > > > > Best wishes. > > > > On 10/28/09, Jeff Zhang <[email protected]> wrote: > > > I do not know why you need use MapFile, could you use SequenceFile > > instead ? > > > > > > The MapFile's advantage is its read performance, because it build index > > on > > > its keys. So its keys must be in order. > > > > > > If you really want to use MapFile, you can first write your data to > > > SequenceFile and then covert it to MapFile. > > > > > > About how to convert SequenceFile to MapFile: > > > 1. Sort the SequenceFile using sort in examples of hadoop > > > 2. create index for the output of the above step. then you get both of > > the > > > data file and index file > > > > > > > > > You an refer Tom Whilte's book "Hadoop definitive guide" for details > > about > > > how to convert SequenceFile into MapFile > > > > > > Jeff Zhang > > > > > > > > > > > > On Wed, Oct 28, 2009 at 4:47 PM, lei wang <[email protected]> > > wrote: > > > > > >> but now, "url" is not in order, must the key be intwritable ? should > it > > >> be > > >> comparable ? > > >> How to make sure them in order?sort it first? > > >> I just want to insert the pages for random acess by "url ". > > >> > > >> On Wed, Oct 28, 2009 at 4:26 PM, Jeff Zhang <[email protected]> wrote: > > >> > > >> > Hi Wang, > > >> > > > >> > The keys of MapFile should be in order, so when you add records into > > >> > MapFile, you should make sure you insert them in order > > >> > > > >> > Best Regards, > > >> > > > >> > Jeff Zhang > > >> > > > >> > > > >> > On Wed, Oct 28, 2009 at 4:14 PM, lei wang <[email protected] > > > > >> > wrote: > > >> > > > >> > > Hi, friends > > >> > > I need store the web pages(a huge one) in the MapFile of the > hadoop, > > >> > > So > > >> i > > >> > > did use the url as the key, and its type is "text", When writring > > the > > >> > > records into the mapfile, it give an error as "out of order", > which > > >> type > > >> > > should I choose to represent the key "url", can anyone give me > some > > >> > detail > > >> > > answer, thanks for you help. > > >> > > > > >> > > > >> > > > > > > --00163623b154f90f9d04770992ce-- From [email protected] Thu Oct 29 02:28:00 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97197 invoked from network); 29 Oct 2009 02:28:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Oct 2009 02:28:00 -0000 Received: (qmail 89481 invoked by uid 500); 29 Oct 2009 02:27:59 -0000 Delivered-To: [email protected] Received: (qmail 89406 invoked by uid 500); 29 Oct 2009 02:27:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 89396 invoked by uid 99); 29 Oct 2009 02:27:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Oct 2009 02:27:59 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO trironport1.altair.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Oct 2009 02:27:51 +0000 X-IronPort-AV: E=Sophos;i="4.44,643,1249272000"; d="scan'208";a="9275828" Received: from unknown (HELO TR-EXCH07.prog.altair.com) ([161.129.204.104]) by trironport1.altair.com with ESMTP; 28 Oct 2009 22:27:30 -0400 Received: from TR-EXCH07.prog.altair.com ([161.129.204.104]) by TR-EXCH07.prog.altair.com ([161.129.204.104]) with mapi; Wed, 28 Oct 2009 22:28:35 -0400 From: Lori Ann Martin <[email protected]> To: "[email protected]" <[email protected]> Date: Wed, 28 Oct 2009 22:27:27 -0400 Subject: RE: Need Help: The problem with text key of MapFile Thread-Topic: Need Help: The problem with text key of MapFile Thread-Index: AcpYPs0r5gtR30s0RTOc6Flt94ng1QAAIaqA Message-ID: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 heck out www.HiQube.com or www.pbsgridworks.com -----Original Message----- From: lei wang [mailto:[email protected]]=20 Sent: Wednesday, October 28, 2009 7:22 PM To: [email protected] Subject: Re: Need Help: The problem with text key of MapFile Oh, I have tried hbase in the early. But I think HDFS may give me a choice. Thanks. On Thu, Oct 29, 2009 at 10:16 AM, Jeff Zhang <[email protected]> wrote: > I guess maybe HBase will be fit for you. HBase is a distributed databas= e > built upon Hadoop. > You can use the url as the row key and put other fields into columns. > > then you can retrieve the web page through HBase Client API and insert ne= w > web page into it. The performance of HBase 0.20 is good enough for you. > > Best Regards, > Jeff zhang > > > On Thu, Oct 29, 2009 at 8:53 AM, lei wang <[email protected]> > wrote: > > > hi,juff, thanks for your comments. > > I did read this book early, I use MapFile to store my web pages for > > random access. > > First I think the SquenceFile conversion as a solution, howerve, the > > problem is that I need append the new pages to the MapFile by minute > > or second, so I didn't think SquenceFile conversion can manage this. > > Would you give me some suggestion? Think your very much! > > > > Best wishes. > > > > On 10/28/09, Jeff Zhang <[email protected]> wrote: > > > I do not know why you need use MapFile, could you use SequenceFile > > instead ? > > > > > > The MapFile's advantage is its read performance, because it build ind= ex > > on > > > its keys. So its keys must be in order. > > > > > > If you really want to use MapFile, you can first write your data to > > > SequenceFile and then covert it to MapFile. > > > > > > About how to convert SequenceFile to MapFile: > > > 1. Sort the SequenceFile using sort in examples of hadoop > > > 2. create index for the output of the above step. then you get both o= f > > the > > > data file and index file > > > > > > > > > You an refer Tom Whilte's book "Hadoop definitive guide" for details > > about > > > how to convert SequenceFile into MapFile > > > > > > Jeff Zhang > > > > > > > > > > > > On Wed, Oct 28, 2009 at 4:47 PM, lei wang <[email protected]> > > wrote: > > > > > >> but now, "url" is not in order, must the key be intwritable ? shoul= d > it > > >> be > > >> comparable ? > > >> How to make sure them in order?sort it first? > > >> I just want to insert the pages for random acess by "url ". > > >> > > >> On Wed, Oct 28, 2009 at 4:26 PM, Jeff Zhang <[email protected]> wrote= : > > >> > > >> > Hi Wang, > > >> > > > >> > The keys of MapFile should be in order, so when you add records in= to > > >> > MapFile, you should make sure you insert them in order > > >> > > > >> > Best Regards, > > >> > > > >> > Jeff Zhang > > >> > > > >> > > > >> > On Wed, Oct 28, 2009 at 4:14 PM, lei wang <[email protected]= m > > > > >> > wrote: > > >> > > > >> > > Hi, friends > > >> > > I need store the web pages(a huge one) in the MapFile of the > hadoop, > > >> > > So > > >> i > > >> > > did use the url as the key, and its type is "text", When writri= ng > > the > > >> > > records into the mapfile, it give an error as "out of order", > which > > >> type > > >> > > should I choose to represent the key "url", can anyone give me > some > > >> > detail > > >> > > answer, thanks for you help. > > >> > > > > >> > > > >> > > > > > > From [email protected] Thu Oct 29 04:30:50 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18148 invoked from network); 29 Oct 2009 04:30:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Oct 2009 04:30:49 -0000 Received: (qmail 65253 invoked by uid 500); 29 Oct 2009 04:30:49 -0000 Delivered-To: [email protected] Received: (qmail 65112 invoked by uid 500); 29 Oct 2009 04:30:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 65094 invoked by uid 99); 29 Oct 2009 04:30:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Oct 2009 04:30:48 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iw0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Oct 2009 04:30:45 +0000 Received: by iwn1 with SMTP id 1so1183968iwn.2 for <multiple recipients>; Wed, 28 Oct 2009 21:30:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=+P4ps4m4tFgYn4FItNPq5QoE0G0D/NtxzK96/jGUXbk=; b=lInWYBrZAidvuCUUz5lKl7qPm+hEoHfFA9/G1IG8gr6LU313/NB02cFILlao6uTb8H jAGwtard2HJ8Udhfn1zBPYAOXfWoEbtRJsIPjhEvbtRj+o0t7IATt2uzeQsxq8ClqJ1c KcRCV+pzogWtQhms6xU6kTSZnQe2pVRFt20oE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=xzoHYTyKZYeIW07zjNWRvW8PiTuJxOp6fhhPljD223Dn58zhMp2sf9LARXlFPQo3Hy M/aQ2YEUkU+D49/tlg3udEzjwb7cq0ganrtkNLq268iSR0WQBpsE+YuKmlKEPitZmA74 edYcXR/QVYbgDyouJzM6nwAB4+bL712bEFfT8= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id n16mr2133517ibn.24.1256790624609; Wed, 28 Oct 2009 21:30:24 -0700 (PDT) Date: Thu, 29 Oct 2009 13:30:24 +0900 Message-ID: <[email protected]> Subject: S3 Exception for a Map Reduce job on EC2 From: Harshit Kumar <[email protected]> To: [email protected] Cc: [email protected] Content-Type: multipart/alternative; boundary=000325575d12bca8c204770b5ece --000325575d12bca8c204770b5ece Content-Type: text/plain; charset=UTF-8 Hi There is 1 GB of rdf/owl files that I am executing on EC2. Execution throws the following exception ------------------- 08/11/19 16:08:27 WARN mapred.JobClient: Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for the same. org.apache.hadoop.fs.s3.S3Exception: org.jets3t.service.S3ServiceException: S3 PUT failed for '/' XML Error Message: <?xml version="1.0" encoding="UTF-8"?><Error><Code>OperationAborted</Code><Message>*A conflicting conditional operation is currently in progress against **this** resource*. Please try again.</Message><RequestId>324E696A4BCA8731</RequestId><HostId>{REMOVED}</HostId></Error> at org.apache.hadoop.fs.s3native.Jets3tNativeFileSystemStore.createBucket(Jets3tNativeFileSystemStore.java:74) at org.apache.hadoop.fs.s3native.Jets3tNativeFileSystemStore.initialize(Jets3tNativeFileSystemStore.java:63) 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:597) at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:82) at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:59) at org.apache.hadoop.fs.s3native.$Proxy2.initialize(Unknown Source) at org.apache.hadoop.fs.s3native.NativeS3FileSystem.initialize(NativeS3FileSystem.java:215) at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1339) at org.apache.hadoop.fs.FileSystem.access$300(FileSystem.java:56) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1351) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:213) at org.apache.hadoop.fs.Path.getFileSystem(Path.java:175) at org.apache.hadoop.mapred.FileInputFormat.listStatus(FileInputFormat.java:158) at org.apache.hadoop.mapred.FileInputFormat.getSplits(FileInputFormat.java:210) at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:742) at org.apache.hadoop.streaming.StreamJob.submitAndMonitorJob(StreamJob.java:925) at org.apache.hadoop.streaming.StreamJob.go(StreamJob.java:115) at org.apache.hadoop.streaming.HadoopStreaming.main(HadoopStreaming.java:33) 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:597) at org.apache.hadoop.util.RunJar.main(RunJar.java:155) at org.apache.hadoop.mapred.JobShell.run(JobShell.java:54) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79) at org.apache.hadoop.mapred.JobShell.main(JobShell.java:68) Caused by: org.jets3t.service.S3ServiceException: S3 PUT failed for '/' XML Error Message: <?xml version="1.0" encoding="UTF-8"?><Error><Code>OperationAborted</Code><Message>A conflicting conditional operation is currently in progress against this resource. Please try again.</Message><RequestId>{REMOVED}</RequestId><HostId>{REMOVED}</HostId></Error> at org.jets3t.service.impl.rest.httpclient.RestS3Service.performRequest(RestS3Service.java:424) at org.jets3t.service.impl.rest.httpclient.RestS3Service.performRestPut(RestS3Service.java:734) at org.jets3t.service.impl.rest.httpclient.RestS3Service.createObjectImpl(RestS3Service.java:1357) at org.jets3t.service.impl.rest.httpclient.RestS3Service.createBucketImpl(RestS3Service.java:1234) at org.jets3t.service.S3Service.createBucket(S3Service.java:1390) at org.jets3t.service.S3Service.createBucket(S3Service.java:1158) at org.jets3t.service.S3Service.createBucket(S3Service.java:1177) at org.apache.hadoop.fs.s3native.Jets3tNativeFileSystemStore.createBucket(Jets3tNativeFileSystemStore.java:69) ... 29 more --------------------- There were like 50 failed map tasks out of total of 1141 maps. Though hadoop job tracker successfully executed failed tasks again, but if a task fails, and then restarting it again, takes execution time. If somehow, this exception can be avoided altogether, program execution will be faster. Came across a JIRA post that says, the exception is because s3 tries to create a bucket which it should not create, and a patch is also posted for the same. Applied the patch, but still the same error. IMO, this error is because a operation is trying to access a part of file which is already been accessed by another map job. Please help resolve this issue or pass on any pointers that can suggest what is the source of error? Thanks and Regards H. Kumar skype: harshit900 Blog: http://harshitkumar.wordpress.com Website: http:/kumarharmuscat.tripod.comg H. Kumar Phone(Mobile): (901)325-3684 Phone(Office): +82-31- skype: harshit900 Blog: http://harshitkumar.wordpress.com Website: http:/kumarharmuscat.tripod.com --000325575d12bca8c204770b5ece-- From [email protected] Thu Oct 29 04:36:09 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19097 invoked from network); 29 Oct 2009 04:36:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Oct 2009 04:36:09 -0000 Received: (qmail 72129 invoked by uid 500); 29 Oct 2009 04:36:08 -0000 Delivered-To: [email protected] Received: (qmail 72033 invoked by uid 500); 29 Oct 2009 04:36:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 72014 invoked by uid 99); 29 Oct 2009 04:36:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Oct 2009 04:36: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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iw0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Oct 2009 04:35:56 +0000 Received: by iwn1 with SMTP id 1so1186026iwn.2 for <multiple recipients>; Wed, 28 Oct 2009 21:35:35 -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:cc:content-type; bh=/Ax7fpwjTtFK4gH3CZ7EFjTIpt2VF+GJAnhdDmvIQXc=; b=h1DO3CJIhH30raqFO9qdg4/NTpPMNAwrzPfbhTejLZLZY+hlTCp9Ya5t6GLVnFNU67 W0R5ZRTcRo6G4UcoamiU/r21iOg9pgfjrSIQemOZb8aMxhhaTkaJf8m7fAop0Gi5proJ caWdXU+MRkjd84/XpU3DMysqAz0efy8NymgNo= 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 :cc:content-type; b=aUa8cua+r9RNLycgn+zPiaiHvX2L5o4UhBzvrgW4uY7tbxWa7mqW9VPJLsxv3+mMMo ZBXhTs0reOk4FFZBe2+kLiJd7oGysDBcv7Wn16wfDM3MX0vYdD8B5Dvw2djjjcqRWCC4 baT26yGcv8L98gIMpuFIPwYedZbXkyxIqP68Y= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id k39mr4570229ibr.10.1256790933361; Wed, 28 Oct 2009 21:35:33 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Thu, 29 Oct 2009 13:35:33 +0900 Message-ID: <[email protected]> Subject: S3 Exception for a Map Reduce job on EC2 From: Harshit Kumar <[email protected]> To: [email protected] Cc: [email protected] Content-Type: multipart/alternative; boundary=0016e646084823d2ea04770b719c X-Virus-Checked: Checked by ClamAV on apache.org --0016e646084823d2ea04770b719c Content-Type: text/plain; charset=UTF-8 Hi There is 1 GB of rdf/owl files that I am executing on EC2. Execution throws the following exception ------------------- 08/11/19 16:08:27 WARN mapred.JobClient: Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for the same. org.apache.hadoop.fs.s3.S3Exception: org.jets3t.service.S3ServiceException: S3 PUT failed for '/' XML Error Message: <?xml version="1.0" encoding="UTF-8"?><Error><Code>OperationAborted</Code><Message>*A conflicting conditional operation is currently in progress against **this** resource*. Please try again.</Message><RequestId>324E696A4BCA8731</RequestId><HostId>{REMOVED}</HostId></Error> at org.apache.hadoop.fs.s3native.Jets3tNativeFileSystemStore.createBucket(Jets3tNativeFileSystemStore.java:74) at org.apache.hadoop.fs.s3native.Jets3tNativeFileSystemStore.initialize(Jets3tNativeFileSystemStore.java:63) 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:597) at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:82) at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:59) at org.apache.hadoop.fs.s3native.$Proxy2.initialize(Unknown Source) at org.apache.hadoop.fs.s3native.NativeS3FileSystem.initialize(NativeS3FileSystem.java:215) at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1339) at org.apache.hadoop.fs.FileSystem.access$300(FileSystem.java:56) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1351) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:213) at org.apache.hadoop.fs.Path.getFileSystem(Path.java:175) at org.apache.hadoop.mapred.FileInputFormat.listStatus(FileInputFormat.java:158) at org.apache.hadoop.mapred.FileInputFormat.getSplits(FileInputFormat.java:210) at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:742) at org.apache.hadoop.streaming.StreamJob.submitAndMonitorJob(StreamJob.java:925) at org.apache.hadoop.streaming.StreamJob.go(StreamJob.java:115) at org.apache.hadoop.streaming.HadoopStreaming.main(HadoopStreaming.java:33) 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:597) at org.apache.hadoop.util.RunJar.main(RunJar.java:155) at org.apache.hadoop.mapred.JobShell.run(JobShell.java:54) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79) at org.apache.hadoop.mapred.JobShell.main(JobShell.java:68) Caused by: org.jets3t.service.S3ServiceException: S3 PUT failed for '/' XML Error Message: <?xml version="1.0" encoding="UTF-8"?><Error><Code>OperationAborted</Code><Message>A conflicting conditional operation is currently in progress against this resource. Please try again.</Message><RequestId>{REMOVED}</RequestId><HostId>{REMOVED}</HostId></Error> at org.jets3t.service.impl.rest.httpclient.RestS3Service.performRequest(RestS3Service.java:424) at org.jets3t.service.impl.rest.httpclient.RestS3Service.performRestPut(RestS3Service.java:734) at org.jets3t.service.impl.rest.httpclient.RestS3Service.createObjectImpl(RestS3Service.java:1357) at org.jets3t.service.impl.rest.httpclient.RestS3Service.createBucketImpl(RestS3Service.java:1234) at org.jets3t.service.S3Service.createBucket(S3Service.java:1390) at org.jets3t.service.S3Service.createBucket(S3Service.java:1158) at org.jets3t.service.S3Service.createBucket(S3Service.java:1177) at org.apache.hadoop.fs.s3native.Jets3tNativeFileSystemStore.createBucket(Jets3tNativeFileSystemStore.java:69) ... 29 more --------------------- There were like 50 failed map tasks out of total of 1141 maps. Though hadoop job tracker successfully executed failed tasks again, but if a task fails, and then restarting it again, takes execution time. If somehow, this exception can be avoided altogether, program execution will be faster. Came across a JIRA post that says, the exception is because s3 tries to create a bucket which it should not create, and a patch is also posted for the same. Applied the patch, but still the same error. IMO, this error is because a operation is trying to access a part of file which is already been accessed by another map job. Please help resolve this issue or pass on any pointers that can suggest what is the source of error? Thanks and Regards H. Kumar skype: harshit900 Blog: http://harshitkumar.wordpress.com Website: http:/kumarharmuscat.tripod.comg --0016e646084823d2ea04770b719c-- From [email protected] Thu Oct 29 04:49:44 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22010 invoked from network); 29 Oct 2009 04:49:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Oct 2009 04:49:43 -0000 Received: (qmail 82030 invoked by uid 500); 29 Oct 2009 04:49:43 -0000 Delivered-To: [email protected] Received: (qmail 81872 invoked by uid 500); 29 Oct 2009 04:49:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.hadoop.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81862 invoked by uid 99); 29 Oct 2009 04:49:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Oct 2009 04:49:42 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yx0-f194.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Oct 2009 04:49:32 +0000 Received: by yxe32 with SMTP id 32so1715885yxe.5 for <[email protected]>; Wed, 28 Oct 2009 21:49:11 -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=Wf/eS6slndxEMZdDbYOH9tLQ6zW1WFUnicTeKIt2WRc=; b=w5cuyFs2iHsTIjaWsjyWYtS65l6W1uBqycq7ZvVw7k7YYyAsQtpepLy8StStNFE4AE AB+u2c72cZNQrmFkoC7dVUSjKDoz1UsXMDlsAK1LFrn8JwhWjv0WqZVKot2ZH6VVzHpl 1wpAkGQqnhVLAdnoBkV5U76Ptx2ZveEB1hFiM= 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=dUP0W0a24FnB2T6lNs97JtCefztHNBC33BYXXPuHMFpPlumzSneH7n5wEC9dUSDulA Jozg6C4r+2Q34HPptTeffL5w08stpZSF5HPfZs5cWzj5Ryqviq0db2xi+bAZbjnj8uIB sitTfukWmJpw+I+xoaocnfkh1AExfSQ6xlyak= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id s36mr756279ano.95.1256791751711; Wed, 28 Oct 2009 21:49:11 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Thu, 29 Oct 2009 12:49:11 +0800 Message-ID: <[email protected]> Subject: Re: Need Help: The problem with text key of MapFile From: lei wang <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=001636c5bac7eadb5204770ba17f X-Virus-Checked: Checked by ClamAV on apache.org --001636c5bac7eadb5204770ba17f Content-Type: text/plain; charset=ISO-8859-1 I cann't understand why you give me two web sites. On Thu, Oct 29, 2009 at 10:27 AM, Lori Ann Martin <[email protected]>wrote: > heck out www.HiQube.com or www.pbsgridworks.com > > -----Original Message----- > From: lei wang [mailto:[email protected]] > Sent: Wednesday, October 28, 2009 7:22 PM > To: [email protected] > Subject: Re: Need Help: The problem with text key of MapFile > > Oh, I have tried hbase in the early. > But I think HDFS may give me a choice. > Thanks. > > On Thu, Oct 29, 2009 at 10:16 AM, Jeff Zhang <[email protected]> wrote: > > > I guess maybe HBase will be fit for you. HBase is a distributed > database > > built upon Hadoop. > > You can use the url as the row key and put other fields into columns. > > > > then you can retrieve the web page through HBase Client API and insert > new > > web page into it. The performance of HBase 0.20 is good enough for you. > > > > Best Regards, > > Jeff zhang > > > > > > On Thu, Oct 29, 2009 at 8:53 AM, lei wang <[email protected]> > > wrote: > > > > > hi,juff, thanks for your comments. > > > I did read this book early, I use MapFile to store my web pages for > > > random access. > > > First I think the SquenceFile conversion as a solution, howerve, the > > > problem is that I need append the new pages to the MapFile by minute > > > or second, so I didn't think SquenceFile conversion can manage this. > > > Would you give me some suggestion? Think your very much! > > > > > > Best wishes. > > > > > > On 10/28/09, Jeff Zhang <[email protected]> wrote: > > > > I do not know why you need use MapFile, could you use SequenceFile > > > instead ? > > > > > > > > The MapFile's advantage is its read performance, because it build > index > > > on > > > > its keys. So its keys must be in order. > > > > > > > > If you really want to use MapFile, you can first write your data to > > > > SequenceFile and then covert it to MapFile. > > > > > > > > About how to convert SequenceFile to MapFile: > > > > 1. Sort the SequenceFile using sort in examples of hadoop > > > > 2. create index for the output of the above step. then you get both > of > > > the > > > > data file and index file > > > > > > > > > > > > You an refer Tom Whilte's book "Hadoop definitive guide" for details > > > about > > > > how to convert SequenceFile into MapFile > > > > > > > > Jeff Zhang > > > > > > > > > > > > > > > > On Wed, Oct 28, 2009 at 4:47 PM, lei wang <[email protected]> > > > wrote: > > > > > > > >> but now, "url" is not in order, must the key be intwritable ? > should > > it > > > >> be > > > >> comparable ? > > > >> How to make sure them in order?sort it first? > > > >> I just want to insert the pages for random acess by "url ". > > > >> > > > >> On Wed, Oct 28, 2009 at 4:26 PM, Jeff Zhang <[email protected]> > wrote: > > > >> > > > >> > Hi Wang, > > > >> > > > > >> > The keys of MapFile should be in order, so when you add records > into > > > >> > MapFile, you should make sure you insert them in order > > > >> > > > > >> > Best Regards, > > > >> > > > > >> > Jeff Zhang > > > >> > > > > >> > > > > >> > On Wed, Oct 28, 2009 at 4:14 PM, lei wang < > [email protected] > > > > > > >> > wrote: > > > >> > > > > >> > > Hi, friends > > > >> > > I need store the web pages(a huge one) in the MapFile of the > > hadoop, > > > >> > > So > > > >> i > > > >> > > did use the url as the key, and its type is "text", When > writring > > > the > > > >> > > records into the mapfile, it give an error as "out of order", > > which > > > >> type > > > >> > > should I choose to represent the key "url", can anyone give me > > some > > > >> > detail > > > >> > > answer, thanks for you help. > > > >> > > > > > >> > > > > >> > > > > > > > > > > --001636c5bac7eadb5204770ba17f--
From [email protected] Sun Feb 01 21:24:31 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11918 invoked from network); 1 Feb 2009 21:24:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Feb 2009 21:24:31 -0000 Received: (qmail 60959 invoked by uid 500); 1 Feb 2009 21:24:31 -0000 Delivered-To: [email protected] Received: (qmail 60939 invoked by uid 500); 1 Feb 2009 21:24:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 60930 invoked by uid 99); 1 Feb 2009 21:24:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Feb 2009 13:24:31 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Feb 2009 21:24:30 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 11F99238898E; Sun, 1 Feb 2009 21:24:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r739842 - /incubator/rat/main/trunk/rat/pom.xml Date: Sun, 01 Feb 2009 21:24:09 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: jochen Date: Sun Feb 1 21:24:09 2009 New Revision: 739842 URL: http://svn.apache.org/viewvc?rev=739842&view=rev Log: - Upgrading Ant version to 1.7.1 - Fixing the site location. Modified: incubator/rat/main/trunk/rat/pom.xml Modified: incubator/rat/main/trunk/rat/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/pom.xml?rev=739842&r1=739841&r2=739842&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/pom.xml (original) +++ incubator/rat/main/trunk/rat/pom.xml Sun Feb 1 21:24:09 2009 @@ -78,7 +78,7 @@ <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant</artifactId> - <version>1.7.0</version> + <version>1.7.1</version> <scope>provided</scope> </dependency> <dependency> @@ -265,7 +265,7 @@ <site> <id>org.apache.rat.incubating</id> <name>Apache RAT Website</name> - <url>scp://people.apache.org/www/incubator/rat/</url> + <url>scp://people.apache.org/www/incubator.apache.org/rat/</url> </site> </distributionManagement> From [email protected] Sun Feb 01 21:33:50 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17112 invoked from network); 1 Feb 2009 21:33:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Feb 2009 21:33:50 -0000 Received: (qmail 67959 invoked by uid 500); 1 Feb 2009 21:33:49 -0000 Delivered-To: [email protected] Received: (qmail 67936 invoked by uid 500); 1 Feb 2009 21:33:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 67927 invoked by uid 99); 1 Feb 2009 21:33:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Feb 2009 13:33:49 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Feb 2009 21:33:46 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 2B0172388A2E; Sun, 1 Feb 2009 21:33:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r739844 - /incubator/rat/main/trunk/rat/pom.xml Date: Sun, 01 Feb 2009 21:33:25 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: jochen Date: Sun Feb 1 21:33:24 2009 New Revision: 739844 URL: http://svn.apache.org/viewvc?rev=739844&view=rev Log: Adding ant-testutil to the dependency management section. Modified: incubator/rat/main/trunk/rat/pom.xml Modified: incubator/rat/main/trunk/rat/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/pom.xml?rev=739844&r1=739843&r2=739844&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/pom.xml (original) +++ incubator/rat/main/trunk/rat/pom.xml Sun Feb 1 21:33:24 2009 @@ -92,6 +92,11 @@ <artifactId>maven-reporting-impl</artifactId> <version>2.0.4</version> </dependency> + <dependency> + <groupId>org.apache.ant</groupId> + <artifactId>ant-testutil</artifactId> + <version>1.7.1</version> + </dependency> </dependencies> </dependencyManagement> From [email protected] Sun Feb 01 21:34:15 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17333 invoked from network); 1 Feb 2009 21:34:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Feb 2009 21:34:15 -0000 Received: (qmail 68072 invoked by uid 500); 1 Feb 2009 21:34:15 -0000 Delivered-To: [email protected] Received: (qmail 68048 invoked by uid 500); 1 Feb 2009 21:34:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 68039 invoked by uid 99); 1 Feb 2009 21:34:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Feb 2009 13:34:15 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Feb 2009 21:34:14 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 691D7238898E; Sun, 1 Feb 2009 21:33:54 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r739845 - /incubator/rat/main/trunk/rat/rat-anttasks/pom.xml Date: Sun, 01 Feb 2009 21:33:54 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: jochen Date: Sun Feb 1 21:33:54 2009 New Revision: 739845 URL: http://svn.apache.org/viewvc?rev=739845&view=rev Log: Adding ant-testutil to the dependencies. Modified: incubator/rat/main/trunk/rat/rat-anttasks/pom.xml Modified: incubator/rat/main/trunk/rat/rat-anttasks/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-anttasks/pom.xml?rev=739845&r1=739844&r2=739845&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-anttasks/pom.xml (original) +++ incubator/rat/main/trunk/rat/rat-anttasks/pom.xml Sun Feb 1 21:33:54 2009 @@ -47,6 +47,14 @@ <groupId>org.apache.ant</groupId> <artifactId>ant-antunit</artifactId> </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + </dependency> + <dependency> + <groupId>org.apache.ant</groupId> + <artifactId>ant-testutil</artifactId> + </dependency> </dependencies> <build> From [email protected] Sun Feb 01 21:34:41 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17690 invoked from network); 1 Feb 2009 21:34:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Feb 2009 21:34:40 -0000 Received: (qmail 69794 invoked by uid 500); 1 Feb 2009 21:34:40 -0000 Delivered-To: [email protected] Received: (qmail 69775 invoked by uid 500); 1 Feb 2009 21:34:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 69766 invoked by uid 99); 1 Feb 2009 21:34:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Feb 2009 13:34:40 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Feb 2009 21:34:38 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 000632388A6E; Sun, 1 Feb 2009 21:34:17 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r739846 - /incubator/rat/main/trunk/rat/pom.xml Date: Sun, 01 Feb 2009 21:34:17 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: jochen Date: Sun Feb 1 21:34:17 2009 New Revision: 739846 URL: http://svn.apache.org/viewvc?rev=739846&view=rev Log: Fixing the scope of ant-testutil. Modified: incubator/rat/main/trunk/rat/pom.xml Modified: incubator/rat/main/trunk/rat/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/pom.xml?rev=739846&r1=739845&r2=739846&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/pom.xml (original) +++ incubator/rat/main/trunk/rat/pom.xml Sun Feb 1 21:34:17 2009 @@ -96,6 +96,7 @@ <groupId>org.apache.ant</groupId> <artifactId>ant-testutil</artifactId> <version>1.7.1</version> + <scope>test</scope> </dependency> </dependencies> </dependencyManagement> From [email protected] Sun Feb 01 21:37:02 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18791 invoked from network); 1 Feb 2009 21:37:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Feb 2009 21:37:02 -0000 Received: (qmail 71233 invoked by uid 500); 1 Feb 2009 21:37:02 -0000 Delivered-To: [email protected] Received: (qmail 71212 invoked by uid 500); 1 Feb 2009 21:37:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71203 invoked by uid 99); 1 Feb 2009 21:37:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Feb 2009 13:37:02 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Feb 2009 21:36:53 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 7BAA9238898E; Sun, 1 Feb 2009 21:36:31 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r739847 - in /incubator/rat/main/trunk/rat/rat-anttasks/src: main/java/org/apache/rat/anttasks/ test/java/ test/java/org/ test/java/org/apache/ test/java/org/apache/rat/ test/java/org/apache/rat/anttasks/ test/java/org/example/ test/resourc... Date: Sun, 01 Feb 2009 21:36:31 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: jochen Date: Sun Feb 1 21:36:30 2009 New Revision: 739847 URL: http://svn.apache.org/viewvc?rev=739847&view=rev Log: Adding some tests, which are based on the BuildFileTest, thus easier to debug. Added: incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/LogOutputStream.java incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/ incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/ incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/apache/ incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/apache/rat/ incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/apache/rat/anttasks/ incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/apache/rat/anttasks/AbstractRatAntTaskTest.java incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/apache/rat/anttasks/ReportTest.java incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/example/ incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/example/LicenseFamily.java incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/example/Matcher.java incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/report-junit.xml (with props) incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/target/ incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/target/anttasks/ incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/target/anttasks/dest/ incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/target/anttasks/src/ incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/target/anttasks/src/org/ incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/target/anttasks/src/org/example/ Modified: incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/Report.java incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/build.xml Added: incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/LogOutputStream.java URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/LogOutputStream.java?rev=739847&view=auto ============================================================================== --- incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/LogOutputStream.java (added) +++ incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/LogOutputStream.java Sun Feb 1 21:36:30 2009 @@ -0,0 +1,49 @@ +package org.apache.rat.anttasks; + +import java.io.IOException; + +import org.apache.tools.ant.Project; +import org.apache.tools.ant.ProjectComponent; +import org.apache.tools.ant.Task; +import org.apache.tools.ant.util.LineOrientedOutputStream; + + +public class LogOutputStream extends LineOrientedOutputStream { + private ProjectComponent pc; + private int level; + + public LogOutputStream(ProjectComponent pPc) { + this(pPc, Project.MSG_INFO); + } + + public LogOutputStream(Task pTask, int pLevel) { + this(((ProjectComponent) (pTask)), pLevel); + } + + public LogOutputStream(ProjectComponent pPc, int pLevel) { + pc = pPc; + level = pLevel; + } + + protected void processBuffer() { + System.err.println("processBuffer:"); + try { + super.processBuffer(); + } catch(IOException e) { + throw new RuntimeException("Unexpected IOException caught: " + e); + } + } + + protected void processLine(String pLine) { + processLine(pLine, level); + } + + protected void processLine(String pLine, int pLevel) { + System.err.println("processLine: " + pLevel + ", " + pLine); + pc.log(pLine, pLevel); + } + + public int getMessageLevel() { + return level; + } +} Modified: incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/Report.java URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/Report.java?rev=739847&r1=739846&r2=739847&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/Report.java (original) +++ incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/Report.java Sun Feb 1 21:36:30 2009 @@ -30,7 +30,6 @@ import org.apache.tools.ant.BuildException; import org.apache.tools.ant.Project; import org.apache.tools.ant.Task; -import org.apache.tools.ant.taskdefs.LogOutputStream; import org.apache.tools.ant.types.ResourceCollection; import org.apache.tools.ant.types.resources.Union; import org.apache.tools.ant.util.FileUtils; Added: incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/apache/rat/anttasks/AbstractRatAntTaskTest.java URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/apache/rat/anttasks/AbstractRatAntTaskTest.java?rev=739847&view=auto ============================================================================== --- incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/apache/rat/anttasks/AbstractRatAntTaskTest.java (added) +++ incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/apache/rat/anttasks/AbstractRatAntTaskTest.java Sun Feb 1 21:36:30 2009 @@ -0,0 +1,71 @@ +package org.apache.rat.anttasks; + +import java.io.File; +import java.io.FileReader; +import java.io.IOException; +import java.util.regex.Pattern; + +import junit.framework.Assert; + +import org.apache.tools.ant.BuildFileTest; +import org.apache.tools.ant.util.FileUtils; + +public abstract class AbstractRatAntTaskTest extends BuildFileTest { + private static final File tempDir = new File("target/anttasks"); + + protected abstract File getAntFile(); + + protected File getTempDir() { + return tempDir; + } + + public void setUp() { + configureProject(getAntFile().getPath()); + } + + protected void assertLogDoesntMatch(String pPattern) { + final String log = super.getLog(); + Assert.assertFalse("Log matches the pattern: " + pPattern + ", got " + log, + isMatching(pPattern, log)); + } + + protected void assertLogMatches(String pPattern) { + final String log = super.getLog(); + Assert.assertTrue("Log doesn' match string: " + pPattern + ", got " + log, + isMatching(pPattern, log)); + } + + private boolean isMatching(final String pPattern, final String pValue) { + return Pattern.compile(pPattern).matcher(pValue).find(); + } + + private String load(File pFile) throws IOException { + FileReader fr = new FileReader(pFile); + try { + final StringBuffer sb = new StringBuffer(); + char[] buffer = new char[1024]; + for (;;) { + int res = fr.read(buffer); + if (res == -1) { + fr.close(); + fr = null; + return sb.toString(); + } + if (res > 0) { + sb.append(buffer, 0, res); + } + } + } finally { + FileUtils.close(fr); + } + } + + protected void assertFileMatches(File pFile, String pPattern) + throws IOException { + final String content = load(pFile); + Assert.assertTrue("File " + pFile + + " doesn't match the pattern " + pPattern + + ", got " + content, + isMatching(pPattern, content)); + } +} Added: incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/apache/rat/anttasks/ReportTest.java URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/apache/rat/anttasks/ReportTest.java?rev=739847&view=auto ============================================================================== --- incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/apache/rat/anttasks/ReportTest.java (added) +++ incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/apache/rat/anttasks/ReportTest.java Sun Feb 1 21:36:30 2009 @@ -0,0 +1,68 @@ +package org.apache.rat.anttasks; + +import java.io.File; +import java.io.IOException; + +import org.apache.tools.ant.BuildException; + +import junit.framework.Assert; + +public class ReportTest extends AbstractRatAntTaskTest { + private static final File antFile = new File("src/test/resources/antunit/report-junit.xml").getAbsoluteFile(); + + protected File getAntFile() { + return antFile; + } + + public void testWithReportSentToAnt() throws Exception { + executeTarget("testWithReportSentToAnt"); + assertLogMatches("AL +\\Q" + getAntFile().getPath() + "\\E"); + } + + public void testWithReportSentToFile() throws Exception { + final File reportFile = new File(getTempDir(), "selftest.report"); + getTempDir().mkdirs(); + final String alLine = "AL +\\Q" + getAntFile().getPath() + "\\E"; + if (reportFile.isFile() && !reportFile.delete()) { + throw new IOException("Unable to remove report file " + reportFile); + } + executeTarget("testWithReportSentToFile"); + assertLogDoesntMatch(alLine); + Assert.assertTrue("Expected report file " + reportFile, reportFile.isFile()); + assertFileMatches(reportFile, alLine); + } + + public void testWithASLUnknown() throws Exception { + executeTarget("testWithASLUnknown"); + assertLogDoesntMatch("AL +\\Q" + getAntFile().getPath() + "\\E"); + assertLogMatches("\\!\\?\\?\\?\\?\\? +\\Q" + getAntFile().getPath() + "\\E"); + } + + public void testCustomMatcher() throws Exception { + executeTarget("testCustomMatcher"); + assertLogDoesntMatch("AL +\\Q" + getAntFile().getPath() + "\\E"); + assertLogMatches("EXMPL +\\Q" + getAntFile().getPath() + "\\E"); + } + + public void testNoResources() throws Exception { + try { + executeTarget("testNoResources"); + fail("Expected Exception"); + } catch (BuildException e) { + final String expect = "You must specify at least one file"; + assertTrue("Expected " + expect + ", got " + e.getMessage(), + e.getMessage().indexOf(expect) != -1); + } + } + + public void testNoLicenseMatchers() throws Exception { + try { + executeTarget("testNoLicenseMatchers"); + fail("Expected Exception"); + } catch (BuildException e) { + final String expect = "at least one license"; + assertTrue("Expected " + expect + ", got " + e.getMessage(), + e.getMessage().indexOf(expect) != -1); + } + } +} Added: incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/example/LicenseFamily.java URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/example/LicenseFamily.java?rev=739847&view=auto ============================================================================== --- incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/example/LicenseFamily.java (added) +++ incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/example/LicenseFamily.java Sun Feb 1 21:36:30 2009 @@ -0,0 +1,10 @@ +package org.example; + +import org.apache.rat.license.ILicenseFamily; + + +public class LicenseFamily implements ILicenseFamily { + public String getFamilyName() { + return "Example License"; + } +} Added: incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/example/Matcher.java URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/example/Matcher.java?rev=739847&view=auto ============================================================================== --- incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/example/Matcher.java (added) +++ incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/example/Matcher.java Sun Feb 1 21:36:30 2009 @@ -0,0 +1,19 @@ +package org.example; + +import org.apache.rat.analysis.IHeaderMatcher; +import org.apache.rat.analysis.license.BaseLicense; +import org.apache.rat.report.claim.IClaimReporter; +import org.apache.rat.analysis.RatHeaderAnalysisException; + + +public class Matcher extends BaseLicense implements IHeaderMatcher { + public Matcher() { + super("EXMPL", "Example License", ""); + } + public void reset() {} + + public boolean match(String subject, String line, IClaimReporter reporter) throws RatHeaderAnalysisException { + reportOnLicense(subject, reporter); + return true; + } +} Modified: incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/build.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/build.xml?rev=739847&r1=739846&r2=739847&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/build.xml (original) +++ incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/build.xml Sun Feb 1 21:36:30 2009 @@ -1,52 +1,28 @@ -<project name="antunit" default="all"> - <condition property="skipping"> - <istrue value="${test.skipped}"/> - </condition> +<project name="antunit" default="all" + xmlns:au="antlib:org.apache.ant.antunit" + xmlns:rat="antlib:org.apache.rat.anttasks"> + <taskdef uri="antlib:org.apache.ant.antunit" + resource="org/apache/ant/antunit/antlib.xml" + classpath="${test.classpath}"/> - <condition property="running.windows"> - <os family="windows"/> - </condition> + <taskdef uri="antlib:org.apache.rat.anttasks" + resource="org/apache/rat/anttasks/antlib.xml" + classpath="${test.classpath}"/> - <target name="runAntWin" if="running.windows"> - <macrodef name="runAnt"> - <attribute name="buildfile"/> - <sequential> - <exec executable="cmd"> - <arg value="/c"/> - <arg file="${ant.home}/bin/ant.bat"/> - <arg value="-buildfile"/> - <arg value="@{buildfile}"/> - <arg value="-lib"/> - <arg value="${jar.name}"/> - <arg value="-lib"/> - <arg value="${antunit.jar.name}"/> - <arg value="-Dbasedir"/> - <arg value="${base.dir}"/> - </exec> - </sequential> - </macrodef> - </target> + <condition property="tests.running"> + <not><equals arg1="${tests.skipped}" arg2="true"/></not> + </condition> - <target name="runAntNonWin" unless="running.windows"> - <macrodef name="runAnt"> - <attribute name="buildfile"/> - <sequential> - <exec executable="ant"> - <arg value="-buildfile"/> - <arg value="@{buildfile}"/> - <arg value="-lib"/> - <arg value="${jar.name}"/> - <arg value="-Dbasedir"/> - <arg value="${base.dir}"/> - <arg value="-lib"/> - <arg value="${antunit.jar.name}"/> - </exec> - </sequential> - </macrodef> - </target> - - <target name="all" depends="runAntWin,runAntNonWin" unless="skipping"> - <runAnt buildfile="report-bad-configurations.xml"/> - <runAnt buildfile="report-normal-operation.xml"/> - </target> + <target name="all" if="tests.running"> + <echo>Invoking antunit on ${antunit.file}</echo> + <mkdir dir="${temp.dir}"/> + <au:antunit failonerror="true"> + <file file="${antunit.file}"/> + <au:plainlistener sendLogTo="file" toDir="${temp.dir}" logLevel="info"/> + <propertyset> + <propertyref name="test.classpath"/> + <propertyref name="temp.dir"/> + </propertyset> + </au:antunit> + </target> </project> Added: incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/report-junit.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/report-junit.xml?rev=739847&view=auto ============================================================================== --- incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/report-junit.xml (added) +++ incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/report-junit.xml Sun Feb 1 21:36:30 2009 @@ -0,0 +1,88 @@ +<?xml version='1.0'?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one * + or more contributor license agreements. See the NOTICE file * + distributed with this work for additional information * + regarding copyright ownership. The ASF licenses this file * + to you under the Apache License, Version 2.0 (the * + "License"); you may not use this file except in compliance * + with the License. You may obtain a copy of the License at * + * + http://www.apache.org/licenses/LICENSE-2.0 * + * + Unless required by applicable law or agreed to in writing, * + software distributed under the License is distributed on an * + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * + KIND, either express or implied. See the License for the * + specific language governing permissions and limitations * + under the License. * + +--> + +<project default="all" + xmlns:au="antlib:org.apache.ant.antunit" + xmlns:rat="antlib:org.apache.rat.anttasks"> + <taskdef uri="antlib:org.apache.ant.antunit" + resource="org/apache/ant/antunit/antlib.xml" + classpath="${test.classpath}"/> + + <taskdef uri="antlib:org.apache.rat.anttasks" + resource="org/apache/rat/anttasks/antlib.xml" + classpath="${test.classpath}"/> + + <property name="output.dir" location="target/anttasks"/> + <pathconvert dirsep="/" property="file.name"> + <path> + <pathelement location="${ant.file}"/> + </path> + </pathconvert> + <property name="expectedOutput" value="AL ${file.name}"/> + + <target name="testWithReportSentToAnt"> + <rat:report> + <file file="${ant.file}"/> + </rat:report> + </target> + + <target name="all"/> + + <target name="testWithReportSentToFile"> + <property name="report.file" location="${output.dir}/selftest.report"/> + <rat:report reportFile="${report.file}"> + <file file="${ant.file}"/> + </rat:report> + </target> + + <target name="testWithASLUnknown"> + <rat:report addDefaultLicenseMatchers="false"> + <file file="${ant.file}"/> + <rat:w3c/> + </rat:report> + </target> + + <target name="testCustomMatcher"> + <mkdir dir="${output.dir}/dest"/> + <mkdir dir="${output.dir}/src/org/example"/> + <echo file="/tmp/classpath">Classpath is ${test.classpath}</echo> + <typedef name="exmpl" classname="org.example.Matcher" + classpath="${test.classpath}"/> + <typedef name="exmpl-license" classname="org.example.LicenseFamily" + classpath="${test.classpath}"/> + <rat:report> + <file file="${ant.file}"/> + <exmpl/> + <exmpl-license/> + </rat:report> + </target> + + <target name="testNoResources"> + <rat:report/> + </target> + + <target name="testNoLicenseMatchers"> + <rat:report addDefaultLicenseMatchers="false"> + <file file="${ant.file}"/> + </rat:report> + </target> +</project> \ No newline at end of file Propchange: incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/report-junit.xml ------------------------------------------------------------------------------ svn:executable = * From [email protected] Tue Feb 10 09:20:14 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20211 invoked from network); 10 Feb 2009 09:20:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Feb 2009 09:20:14 -0000 Received: (qmail 95918 invoked by uid 500); 10 Feb 2009 09:20:14 -0000 Delivered-To: [email protected] Received: (qmail 95899 invoked by uid 500); 10 Feb 2009 09:20:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 95890 invoked by uid 99); 10 Feb 2009 09:20:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 01:20:13 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 09:20:12 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 288102388AE7; Tue, 10 Feb 2009 09:19:51 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r742903 - in /incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks: LogOutputStream.java Report.java Date: Tue, 10 Feb 2009 09:19:49 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: bodewig Date: Tue Feb 10 09:19:44 2009 New Revision: 742903 URL: http://svn.apache.org/viewvc?rev=742903&view=rev Log: no reason to keep copy of LogutputStream now that Ant 1.7.1 is out Removed: incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/LogOutputStream.java Modified: incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/Report.java Modified: incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/Report.java URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/Report.java?rev=742903&r1=742902&r2=742903&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/Report.java (original) +++ incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/Report.java Tue Feb 10 09:19:44 2009 @@ -30,6 +30,7 @@ import org.apache.tools.ant.BuildException; import org.apache.tools.ant.Project; import org.apache.tools.ant.Task; +import org.apache.tools.ant.taskdefs.LogOutputStream; import org.apache.tools.ant.types.ResourceCollection; import org.apache.tools.ant.types.resources.Union; import org.apache.tools.ant.util.FileUtils; From [email protected] Tue Feb 10 09:44:14 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39597 invoked from network); 10 Feb 2009 09:44:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Feb 2009 09:44:14 -0000 Received: (qmail 23198 invoked by uid 500); 10 Feb 2009 09:44:14 -0000 Delivered-To: [email protected] Received: (qmail 23177 invoked by uid 500); 10 Feb 2009 09:44:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23166 invoked by uid 99); 10 Feb 2009 09:44:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 01:44:14 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 09:44:06 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E647E2388B05; Tue, 10 Feb 2009 09:43:45 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r742919 - in /incubator/rat/main/trunk/rat/rat-anttasks: run-antunit.xml src/test/resources/antunit/report-normal-operation.xml Date: Tue, 10 Feb 2009 09:43:39 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: bodewig Date: Tue Feb 10 09:43:34 2009 New Revision: 742919 URL: http://svn.apache.org/viewvc?rev=742919&view=rev Log: make AntUnit tests pass while running inside Ant Added: incubator/rat/main/trunk/rat/rat-anttasks/run-antunit.xml Modified: incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/report-normal-operation.xml Added: incubator/rat/main/trunk/rat/rat-anttasks/run-antunit.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-anttasks/run-antunit.xml?rev=742919&view=auto ============================================================================== --- incubator/rat/main/trunk/rat/rat-anttasks/run-antunit.xml (added) +++ incubator/rat/main/trunk/rat/rat-anttasks/run-antunit.xml Tue Feb 10 09:43:34 2009 @@ -0,0 +1,24 @@ +<project name="AntUnit Tests for RAT Ant Tasks" + default="antunit"> + + <target name="antunit"> + <property name="jar.name" location="target/classes"/> + <path id="test-classpath"> + <pathelement location="${jar.name}"/> + <pathelement location="../rat-core/target/classes"/> + <pathelement location="target/test-classes"/> + <pathelement location="${user.home}/.m2/repository/org/apache/ant/ant-antunit/1.1/ant-antunit-1.1.jar"/> + <pathelement location="${user.home}/.m2/repository/commons-lang/commons-lang/2.1/commons-lang-2.1.jar"/> + <pathelement location="${user.home}/.m2/repository/commons-cli/commons-cli/1.1/commons-cli-1.1.jar"/> + <pathelement location="${user.home}/.m2/repository/commons-collections/commons-collections/3.2/commons-collections-3.2.jar"/> + </path> + <property name="test.classpath" refid="test-classpath"/> + + <subant> + <fileset dir="src/test/resources/antunit" + includes="report-*.xml"/> + <property name="jar.name" value="${jar.name}"/> + <property name="test.classpath" value="${test.classpath}"/> + </subant> + </target> +</project> Modified: incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/report-normal-operation.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/report-normal-operation.xml?rev=742919&r1=742918&r2=742919&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/report-normal-operation.xml (original) +++ incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/report-normal-operation.xml Tue Feb 10 09:43:34 2009 @@ -25,60 +25,66 @@ xmlns:au="antlib:org.apache.ant.antunit" xmlns:rat="antlib:org.apache.rat.anttasks"> - <taskdef uri="antlib:org.apache.ant.antunit" - resource="org/apache/ant/antunit/antlib.xml" - classpath="${test.classpath}" /> - - <taskdef uri="antlib:org.apache.rat.anttasks" resource="org/apache/rat/anttasks/antlib.xml"> - <classpath> - <pathelement location="${jar.name}" /> - <pathelement path='${test.classpath}' /> - </classpath> - </taskdef> - <property name="output.dir" location="testoutput"/> - <pathconvert dirsep="/" property="file.name"> - <path> - <pathelement location="${ant.file}"/> - </path> - </pathconvert> - <property name="expectedOutput" value=" AL ${file.name}"/> + <mkdir dir="${output.dir}/dest"/> + <path id="all-classes-needed-for-tests"> + <pathelement location="${jar.name}" /> + <pathelement path="${test.classpath}" /> + <pathelement location="${output.dir}/dest" /> + </path> + + <taskdef uri="antlib:org.apache.ant.antunit" + resource="org/apache/ant/antunit/antlib.xml" + classpathref="all-classes-needed-for-tests" + loaderref="testloader"/> + + <taskdef uri="antlib:org.apache.rat.anttasks" + resource="org/apache/rat/anttasks/antlib.xml" + classpathref="all-classes-needed-for-tests" + loaderref="testloader"/> + + <target name="setUp"> + <pathconvert dirsep="/" property="file.name"> + <path> + <pathelement location="${ant.file}"/> + </path> + </pathconvert> + <property name="expectedOutput" value=" AL ${file.name}"/> + </target> <target name="allTests"> <au:antunit xmlns:au="antlib:org.apache.ant.antunit" failonerror="false" errorproperty="antunit.failed"> <file file="${ant.file}"/> - <au:plainlistener /> + <au:plainlistener/> + <propertyset> + <propertyref name="test.classpath"/> + <propertyref name="jar.name"/> + </propertyset> </au:antunit> </target> <target name="tearDown"> - <delete dir="${output.dir}"/> + <delete dir="${output.dir}" quiet="true"/> </target> - <target name="testWithReportSentToAnt"> + <target name="xtestWithReportSentToAnt"> <rat:report> <file file="${ant.file}"/> </rat:report> <au:assertLogContains text="${expectedOutput}"/> </target> - <target name="testWithReportSentToFile" depends="makeOutputDir"> - <property name="report.file" location="${output.dir}/selftest.report"/> - <au:assertFileDoesntExist file="${report.file}"/> + <target name="testWithReportSentToFile" depends="fileReportTest"> <rat:report reportFile="${report.file}"> <file file="${ant.file}"/> </rat:report> <au:assertLogDoesntContain text="${expectedOutput}"/> <au:assertFileExists file="${report.file}"/> - - <loadfile srcFile="${report.file}" property="report"/> - <au:assertTrue message="expected report to contain '${expectedOutput}' but was '${report}'"> - <contains string="${report}" substring="${expectedOutput}"/> - </au:assertTrue> + <assertReportContains text="${expectedOutput}"/> </target> - <target name="testWithASLUnknown"> + <target name="xtestWithASLUnknown"> <rat:report addDefaultLicenseMatchers="false"> <file file="${ant.file}"/> <rat:w3c/> @@ -87,7 +93,53 @@ <au:assertLogContains text="!????? ${file.name}"/> </target> - <target name="testCustomMatcher"> + <target name="testWithASLUnknownSentToFile" depends="fileReportTest"> + <rat:report addDefaultLicenseMatchers="false" reportFile="${report.file}"> + <file file="${ant.file}"/> + <rat:w3c/> + </rat:report> + <au:assertLogDoesntContain text="${expectedOutput}"/> + <au:assertLogDoesntContain text="!????? ${file.name}"/> + <assertReportContains text="!????? ${file.name}"/> + </target> + + <target name="xtestCustomMatcher" depends="prepareCustomMatcher"> + <rat:report> + <file file="${ant.file}"/> + <exmpl/> + <exmpl-license/> + </rat:report> + <au:assertLogDoesntContain text="${expectedOutput}"/> + <au:assertLogContains text=" EXMPL ${file.name}"/> + </target> + + <target name="testCustomMatcherSentToFile" + depends="fileReportTest,prepareCustomMatcher"> + <rat:report reportFile="${report.file}"> + <file file="${ant.file}"/> + <exmpl/> + <exmpl-license/> + </rat:report> + <au:assertLogDoesntContain text="${expectedOutput}"/> + <au:assertLogDoesntContain text=" EXMPL ${file.name}"/> + <assertReportContains text=" EXMPL ${file.name}"/> + </target> + + <target name="fileReportTest" depends="setUp"> + <property name="report.file" location="${output.dir}/selftest.report"/> + <au:assertFileDoesntExist file="${report.file}"/> + <macrodef name="assertReportContains"> + <attribute name="text"/> + <sequential> + <loadfile srcFile="${report.file}" property="report"/> + <au:assertTrue message="expected report to contain '@{text}' but was '${report}'"> + <contains string="${report}" substring="@{text}"/> + </au:assertTrue> + </sequential> + </macrodef> + </target> + + <target name="prepareCustomMatcher"> <mkdir dir="${output.dir}/dest"/> <mkdir dir="${output.dir}/src/org/example"/> <echo file="${output.dir}/src/org/example/Matcher.java"><![CDATA[ @@ -117,22 +169,14 @@ } } ]]></echo> - <javac srcdir="${output.dir}/src" destdir="${output.dir}/dest"/> + <javac srcdir="${output.dir}/src" destdir="${output.dir}/dest" + classpath="${test.classpath}"/> <typedef name="exmpl" classname="org.example.Matcher" - classpath="${output.dir}/dest"/> + classpathref="all-classes-needed-for-tests" + loaderref="testloader"/> <typedef name="exmpl-license" classname="org.example.LicenseFamily" - classpath="${output.dir}/dest"/> - <rat:report> - <file file="${ant.file}"/> - <exmpl/> - <exmpl-license/> - </rat:report> - <au:assertLogDoesntContain text="${expectedOutput}"/> - <au:assertLogContains text=" EXMPL ${file.name}"/> - </target> - - <target name="makeOutputDir"> - <mkdir dir="${output.dir}"/> + classpathref="all-classes-needed-for-tests" + loaderref="testloader"/> </target> -</project> \ No newline at end of file +</project> From [email protected] Tue Feb 10 09:56:15 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47488 invoked from network); 10 Feb 2009 09:56:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Feb 2009 09:56:15 -0000 Received: (qmail 34159 invoked by uid 500); 10 Feb 2009 09:54:01 -0000 Delivered-To: [email protected] Received: (qmail 34143 invoked by uid 500); 10 Feb 2009 09:54:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34134 invoked by uid 99); 10 Feb 2009 09:54:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 01:54:01 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 09:53:59 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 20629238884D; Tue, 10 Feb 2009 09:53:38 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r742920 - in /incubator/rat/main/trunk/rat/rat-anttasks/src/test: java/org/apache/rat/anttasks/ReportTest.java resources/antunit/report-junit.xml Date: Tue, 10 Feb 2009 09:53:35 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: bodewig Date: Tue Feb 10 09:53:30 2009 New Revision: 742920 URL: http://svn.apache.org/viewvc?rev=742920&view=rev Log: Make JUnit tests pass on Windows Modified: incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/apache/rat/anttasks/ReportTest.java incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/report-junit.xml Modified: incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/apache/rat/anttasks/ReportTest.java URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/apache/rat/anttasks/ReportTest.java?rev=742920&r1=742919&r2=742920&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/apache/rat/anttasks/ReportTest.java (original) +++ incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/apache/rat/anttasks/ReportTest.java Tue Feb 10 09:53:30 2009 @@ -8,61 +8,65 @@ import junit.framework.Assert; public class ReportTest extends AbstractRatAntTaskTest { - private static final File antFile = new File("src/test/resources/antunit/report-junit.xml").getAbsoluteFile(); + private static final File antFile = new File("src/test/resources/antunit/report-junit.xml").getAbsoluteFile(); - protected File getAntFile() { - return antFile; - } - - public void testWithReportSentToAnt() throws Exception { - executeTarget("testWithReportSentToAnt"); - assertLogMatches("AL +\\Q" + getAntFile().getPath() + "\\E"); - } - - public void testWithReportSentToFile() throws Exception { - final File reportFile = new File(getTempDir(), "selftest.report"); - getTempDir().mkdirs(); - final String alLine = "AL +\\Q" + getAntFile().getPath() + "\\E"; - if (reportFile.isFile() && !reportFile.delete()) { - throw new IOException("Unable to remove report file " + reportFile); - } - executeTarget("testWithReportSentToFile"); - assertLogDoesntMatch(alLine); - Assert.assertTrue("Expected report file " + reportFile, reportFile.isFile()); - assertFileMatches(reportFile, alLine); - } - - public void testWithASLUnknown() throws Exception { - executeTarget("testWithASLUnknown"); - assertLogDoesntMatch("AL +\\Q" + getAntFile().getPath() + "\\E"); - assertLogMatches("\\!\\?\\?\\?\\?\\? +\\Q" + getAntFile().getPath() + "\\E"); - } - - public void testCustomMatcher() throws Exception { - executeTarget("testCustomMatcher"); - assertLogDoesntMatch("AL +\\Q" + getAntFile().getPath() + "\\E"); - assertLogMatches("EXMPL +\\Q" + getAntFile().getPath() + "\\E"); - } - - public void testNoResources() throws Exception { - try { - executeTarget("testNoResources"); - fail("Expected Exception"); - } catch (BuildException e) { - final String expect = "You must specify at least one file"; - assertTrue("Expected " + expect + ", got " + e.getMessage(), - e.getMessage().indexOf(expect) != -1); - } - } - - public void testNoLicenseMatchers() throws Exception { - try { - executeTarget("testNoLicenseMatchers"); - fail("Expected Exception"); - } catch (BuildException e) { - final String expect = "at least one license"; - assertTrue("Expected " + expect + ", got " + e.getMessage(), - e.getMessage().indexOf(expect) != -1); - } - } + protected File getAntFile() { + return antFile; + } + + public void testWithReportSentToAnt() throws Exception { + executeTarget("testWithReportSentToAnt"); + assertLogMatches("AL +\\Q" + getAntFileName() + "\\E"); + } + + public void testWithReportSentToFile() throws Exception { + final File reportFile = new File(getTempDir(), "selftest.report"); + getTempDir().mkdirs(); + final String alLine = "AL +\\Q" + getAntFileName() + "\\E"; + if (reportFile.isFile() && !reportFile.delete()) { + throw new IOException("Unable to remove report file " + reportFile); + } + executeTarget("testWithReportSentToFile"); + assertLogDoesntMatch(alLine); + Assert.assertTrue("Expected report file " + reportFile, reportFile.isFile()); + assertFileMatches(reportFile, alLine); + } + + public void testWithASLUnknown() throws Exception { + executeTarget("testWithASLUnknown"); + assertLogDoesntMatch("AL +\\Q" + getAntFileName() + "\\E"); + assertLogMatches("\\!\\?\\?\\?\\?\\? +\\Q" + getAntFileName() + "\\E"); + } + + public void testCustomMatcher() throws Exception { + executeTarget("testCustomMatcher"); + assertLogDoesntMatch("AL +\\Q" + getAntFileName() + "\\E"); + assertLogMatches("EXMPL +\\Q" + getAntFileName() + "\\E"); + } + + public void testNoResources() throws Exception { + try { + executeTarget("testNoResources"); + fail("Expected Exception"); + } catch (BuildException e) { + final String expect = "You must specify at least one file"; + assertTrue("Expected " + expect + ", got " + e.getMessage(), + e.getMessage().indexOf(expect) != -1); + } + } + + public void testNoLicenseMatchers() throws Exception { + try { + executeTarget("testNoLicenseMatchers"); + fail("Expected Exception"); + } catch (BuildException e) { + final String expect = "at least one license"; + assertTrue("Expected " + expect + ", got " + e.getMessage(), + e.getMessage().indexOf(expect) != -1); + } + } + + private String getAntFileName() { + return getAntFile().getPath().replace('\\', '/'); + } } Modified: incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/report-junit.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/report-junit.xml?rev=742920&r1=742919&r2=742920&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/report-junit.xml (original) +++ incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/report-junit.xml Tue Feb 10 09:53:30 2009 @@ -64,7 +64,6 @@ <target name="testCustomMatcher"> <mkdir dir="${output.dir}/dest"/> <mkdir dir="${output.dir}/src/org/example"/> - <echo file="/tmp/classpath">Classpath is ${test.classpath}</echo> <typedef name="exmpl" classname="org.example.Matcher" classpath="${test.classpath}"/> <typedef name="exmpl-license" classname="org.example.LicenseFamily" @@ -85,4 +84,4 @@ <file file="${ant.file}"/> </rat:report> </target> -</project> \ No newline at end of file +</project> From [email protected] Tue Feb 10 10:08:14 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55761 invoked from network); 10 Feb 2009 10:08:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Feb 2009 10:08:14 -0000 Received: (qmail 54714 invoked by uid 500); 10 Feb 2009 10:08:14 -0000 Delivered-To: [email protected] Received: (qmail 54699 invoked by uid 500); 10 Feb 2009 10:08:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 54690 invoked by uid 99); 10 Feb 2009 10:08:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 02:08:14 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 10:08:13 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B715B2388852; Tue, 10 Feb 2009 10:07:53 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r742924 - /incubator/rat/main/trunk/rat/rat-anttasks/run-antunit.xml Date: Tue, 10 Feb 2009 10:07:50 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: bodewig Date: Tue Feb 10 10:07:43 2009 New Revision: 742924 URL: http://svn.apache.org/viewvc?rev=742924&view=rev Log: forgot to attach license Modified: incubator/rat/main/trunk/rat/rat-anttasks/run-antunit.xml Modified: incubator/rat/main/trunk/rat/rat-anttasks/run-antunit.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-anttasks/run-antunit.xml?rev=742924&r1=742923&r2=742924&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-anttasks/run-antunit.xml (original) +++ incubator/rat/main/trunk/rat/rat-anttasks/run-antunit.xml Tue Feb 10 10:07:43 2009 @@ -1,3 +1,24 @@ +<?xml version='1.0'?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one * + or more contributor license agreements. See the NOTICE file * + distributed with this work for additional information * + regarding copyright ownership. The ASF licenses this file * + to you under the Apache License, Version 2.0 (the * + "License"); you may not use this file except in compliance * + with the License. You may obtain a copy of the License at * + * + http://www.apache.org/licenses/LICENSE-2.0 * + * + Unless required by applicable law or agreed to in writing, * + software distributed under the License is distributed on an * + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * + KIND, either express or implied. See the License for the * + specific language governing permissions and limitations * + under the License. * + +--> <project name="AntUnit Tests for RAT Ant Tasks" default="antunit"> From [email protected] Wed Feb 11 04:52:40 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63521 invoked from network); 11 Feb 2009 04:52:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Feb 2009 04:52:37 -0000 Received: (qmail 2442 invoked by uid 500); 11 Feb 2009 04:52:36 -0000 Delivered-To: [email protected] Received: (qmail 2413 invoked by uid 500); 11 Feb 2009 04:52:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 2393 invoked by uid 99); 11 Feb 2009 04:52:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 20:52:35 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 04:52:23 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D410D2388A2E; Wed, 11 Feb 2009 04:52:01 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r743222 - in /incubator/rat/main/trunk/rat: ./ rat-anttasks/ rat-anttasks/src/main/java/org/apache/rat/anttasks/ rat-anttasks/src/test/resources/antunit/ rat-core/ rat-core/src/main/java/org/apache/rat/annotation/ rat-core/src/main/java/org... Date: Wed, 11 Feb 2009 04:51:55 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: bodewig Date: Wed Feb 11 04:51:51 2009 New Revision: 743222 URL: http://svn.apache.org/viewvc?rev=743222&view=rev Log: fix linefeeds Modified: incubator/rat/main/trunk/rat/DISCLAIMER.txt (contents, props changed) incubator/rat/main/trunk/rat/LICENSE.txt (contents, props changed) incubator/rat/main/trunk/rat/NOTICE.txt (contents, props changed) incubator/rat/main/trunk/rat/RELEASE_NOTES.txt (contents, props changed) incubator/rat/main/trunk/rat/ant-task-examples.xml (contents, props changed) incubator/rat/main/trunk/rat/rat-anttasks/run-antunit.xml (contents, props changed) incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/ResourceCollectionContainer.java (contents, props changed) incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/antlib.xml (contents, props changed) incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/report-bad-configurations.xml (contents, props changed) incubator/rat/main/trunk/rat/rat-core/pom.xml (contents, props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/annotation/AbstractLicenceAppender.java (contents, props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/annotation/ApacheV2LicenceAppender.java (contents, props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/IResource.java (contents, props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/zip/ZipDocumentCollection.java (contents, props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/xml/writer/IXmlWriter.java (contents, props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/annotation/TestLicenceAppender.java (contents, props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/header/HeaderMatcherTest.java (contents, props changed) incubator/rat/main/trunk/rat/rat-core/src/test/resources/elements/Text.txt (contents, props changed) incubator/rat/main/trunk/rat/rat-core/src/test/resources/elements/Xml.xml (contents, props changed) incubator/rat/main/trunk/rat/rat-core/src/test/resources/elements/sub/Empty.txt (contents, props changed) incubator/rat/main/trunk/rat/rat-core/src/test/resources/javadocs/notjavadoc.html (contents, props changed) incubator/rat/main/trunk/rat/rat-core/src/test/resources/violations/bad.txt (contents, props changed) incubator/rat/main/trunk/rat/rat-maven-plugin/NOTICE.txt (contents, props changed) incubator/rat/main/trunk/rat/rat-maven-plugin/pom.xml (contents, props changed) incubator/rat/main/trunk/rat/rat-maven-plugin/src/main/java/org/apache/rat/mp/FilesReportable.java (contents, props changed) incubator/rat/main/trunk/rat/rat-maven-plugin/src/site/site.xml (contents, props changed) incubator/rat/main/trunk/rat/src/site/site.xml (contents, props changed) Modified: incubator/rat/main/trunk/rat/DISCLAIMER.txt URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/DISCLAIMER.txt?rev=743222&r1=743221&r2=743222&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/DISCLAIMER.txt (original) +++ incubator/rat/main/trunk/rat/DISCLAIMER.txt Wed Feb 11 04:51:51 2009 @@ -3,4 +3,4 @@ until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability -of the code, it does indicate that the project has yet to be fully endorsed by the ASF. \ No newline at end of file +of the code, it does indicate that the project has yet to be fully endorsed by the ASF. Propchange: incubator/rat/main/trunk/rat/DISCLAIMER.txt ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/trunk/rat/LICENSE.txt URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/LICENSE.txt?rev=743222&r1=743221&r2=743222&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/LICENSE.txt (original) +++ incubator/rat/main/trunk/rat/LICENSE.txt Wed Feb 11 04:51:51 2009 @@ -199,4 +199,4 @@ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file + limitations under the License. Propchange: incubator/rat/main/trunk/rat/LICENSE.txt ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/trunk/rat/NOTICE.txt URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/NOTICE.txt?rev=743222&r1=743221&r2=743222&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/NOTICE.txt (original) +++ incubator/rat/main/trunk/rat/NOTICE.txt Wed Feb 11 04:51:51 2009 @@ -4,4 +4,4 @@ ========================================================================= This product includes software developed by -The Apache Software Foundation (http://www.apache.org/). \ No newline at end of file +The Apache Software Foundation (http://www.apache.org/). Propchange: incubator/rat/main/trunk/rat/NOTICE.txt ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/trunk/rat/RELEASE_NOTES.txt URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/RELEASE_NOTES.txt?rev=743222&r1=743221&r2=743222&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/RELEASE_NOTES.txt (original) +++ incubator/rat/main/trunk/rat/RELEASE_NOTES.txt Wed Feb 11 04:51:51 2009 @@ -91,4 +91,4 @@ * This is the last release with the original hacked together plain test report. The new XML reporting code is present but is not yet the default. * RAT 0.3 is the first release with release notes. All previous releases are - now consigned to Ancient History. No record of them will be found here. \ No newline at end of file + now consigned to Ancient History. No record of them will be found here. Propchange: incubator/rat/main/trunk/rat/RELEASE_NOTES.txt ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/trunk/rat/ant-task-examples.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/ant-task-examples.xml?rev=743222&r1=743221&r2=743222&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/ant-task-examples.xml (original) +++ incubator/rat/main/trunk/rat/ant-task-examples.xml Wed Feb 11 04:51:51 2009 @@ -82,4 +82,4 @@ </classpath> </typedef> </target> -</project> \ No newline at end of file +</project> Propchange: incubator/rat/main/trunk/rat/ant-task-examples.xml ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/trunk/rat/rat-anttasks/run-antunit.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-anttasks/run-antunit.xml?rev=743222&r1=743221&r2=743222&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-anttasks/run-antunit.xml (original) +++ incubator/rat/main/trunk/rat/rat-anttasks/run-antunit.xml Wed Feb 11 04:51:51 2009 @@ -1,45 +1,45 @@ -<?xml version='1.0'?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one * - or more contributor license agreements. See the NOTICE file * - distributed with this work for additional information * - regarding copyright ownership. The ASF licenses this file * - to you under the Apache License, Version 2.0 (the * - "License"); you may not use this file except in compliance * - with the License. You may obtain a copy of the License at * - * - http://www.apache.org/licenses/LICENSE-2.0 * - * - Unless required by applicable law or agreed to in writing, * - software distributed under the License is distributed on an * - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * - KIND, either express or implied. See the License for the * - specific language governing permissions and limitations * - under the License. * - ---> -<project name="AntUnit Tests for RAT Ant Tasks" - default="antunit"> - - <target name="antunit"> - <property name="jar.name" location="target/classes"/> - <path id="test-classpath"> - <pathelement location="${jar.name}"/> - <pathelement location="../rat-core/target/classes"/> - <pathelement location="target/test-classes"/> - <pathelement location="${user.home}/.m2/repository/org/apache/ant/ant-antunit/1.1/ant-antunit-1.1.jar"/> - <pathelement location="${user.home}/.m2/repository/commons-lang/commons-lang/2.1/commons-lang-2.1.jar"/> - <pathelement location="${user.home}/.m2/repository/commons-cli/commons-cli/1.1/commons-cli-1.1.jar"/> - <pathelement location="${user.home}/.m2/repository/commons-collections/commons-collections/3.2/commons-collections-3.2.jar"/> - </path> - <property name="test.classpath" refid="test-classpath"/> - - <subant> - <fileset dir="src/test/resources/antunit" - includes="report-*.xml"/> - <property name="jar.name" value="${jar.name}"/> - <property name="test.classpath" value="${test.classpath}"/> - </subant> - </target> -</project> +<?xml version='1.0'?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one * + or more contributor license agreements. See the NOTICE file * + distributed with this work for additional information * + regarding copyright ownership. The ASF licenses this file * + to you under the Apache License, Version 2.0 (the * + "License"); you may not use this file except in compliance * + with the License. You may obtain a copy of the License at * + * + http://www.apache.org/licenses/LICENSE-2.0 * + * + Unless required by applicable law or agreed to in writing, * + software distributed under the License is distributed on an * + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * + KIND, either express or implied. See the License for the * + specific language governing permissions and limitations * + under the License. * + +--> +<project name="AntUnit Tests for RAT Ant Tasks" + default="antunit"> + + <target name="antunit"> + <property name="jar.name" location="target/classes"/> + <path id="test-classpath"> + <pathelement location="${jar.name}"/> + <pathelement location="../rat-core/target/classes"/> + <pathelement location="target/test-classes"/> + <pathelement location="${user.home}/.m2/repository/org/apache/ant/ant-antunit/1.1/ant-antunit-1.1.jar"/> + <pathelement location="${user.home}/.m2/repository/commons-lang/commons-lang/2.1/commons-lang-2.1.jar"/> + <pathelement location="${user.home}/.m2/repository/commons-cli/commons-cli/1.1/commons-cli-1.1.jar"/> + <pathelement location="${user.home}/.m2/repository/commons-collections/commons-collections/3.2/commons-collections-3.2.jar"/> + </path> + <property name="test.classpath" refid="test-classpath"/> + + <subant> + <fileset dir="src/test/resources/antunit" + includes="report-*.xml"/> + <property name="jar.name" value="${jar.name}"/> + <property name="test.classpath" value="${test.classpath}"/> + </subant> + </target> +</project> Propchange: incubator/rat/main/trunk/rat/rat-anttasks/run-antunit.xml ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/ResourceCollectionContainer.java URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/ResourceCollectionContainer.java?rev=743222&r1=743221&r2=743222&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/ResourceCollectionContainer.java (original) +++ incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/ResourceCollectionContainer.java Wed Feb 11 04:51:51 2009 @@ -106,4 +106,4 @@ return result; } } -} \ No newline at end of file +} Propchange: incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/ResourceCollectionContainer.java ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/antlib.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/antlib.xml?rev=743222&r1=743221&r2=743222&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/antlib.xml (original) +++ incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/antlib.xml Wed Feb 11 04:51:51 2009 @@ -45,4 +45,4 @@ <typedef name="apache20-license" classname="org.apache.rat.license.Apache20LicenseFamily"/> -</antlib> \ No newline at end of file +</antlib> Propchange: incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/antlib.xml ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/report-bad-configurations.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/report-bad-configurations.xml?rev=743222&r1=743221&r2=743222&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/report-bad-configurations.xml (original) +++ incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/report-bad-configurations.xml Wed Feb 11 04:51:51 2009 @@ -58,4 +58,4 @@ </au:expectfailure> </target> -</project> \ No newline at end of file +</project> Propchange: incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/report-bad-configurations.xml ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/trunk/rat/rat-core/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-core/pom.xml?rev=743222&r1=743221&r2=743222&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-core/pom.xml (original) +++ incubator/rat/main/trunk/rat/rat-core/pom.xml Wed Feb 11 04:51:51 2009 @@ -51,11 +51,11 @@ <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> - </dependency> - <dependency> - <groupId>commons-cli</groupId> - <artifactId>commons-cli</artifactId> - <version>1.1</version> + </dependency> + <dependency> + <groupId>commons-cli</groupId> + <artifactId>commons-cli</artifactId> + <version>1.1</version> </dependency> </dependencies> </project> Propchange: incubator/rat/main/trunk/rat/rat-core/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/annotation/AbstractLicenceAppender.java URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/annotation/AbstractLicenceAppender.java?rev=743222&r1=743221&r2=743222&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/annotation/AbstractLicenceAppender.java (original) +++ incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/annotation/AbstractLicenceAppender.java Wed Feb 11 04:51:51 2009 @@ -1,205 +1,205 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one * - * or more contributor license agreements. See the NOTICE file * - * distributed with this work for additional information * - * regarding copyright ownership. The ASF licenses this file * - * to you under the Apache License, Version 2.0 (the * - * "License"); you may not use this file except in compliance * - * with the License. You may obtain a copy of the License at * - * * - * http://www.apache.org/licenses/LICENSE-2.0 * - * * - * Unless required by applicable law or agreed to in writing, * - * software distributed under the License is distributed on an * - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * - * KIND, either express or implied. See the License for the * - * specific language governing permissions and limitations * - * under the License. * - */ -package org.apache.rat.annotation; - -import java.io.BufferedReader; -import java.io.File; -import java.io.FileReader; -import java.io.FileWriter; -import java.io.IOException; - -/** - * Add a licence header to a document. This appender does not check for the - * existence of an existing licence header, it is assumed that either a second - * licence header is intentional or that there is no licence header present - * already. - * - */ -public abstract class AbstractLicenceAppender { - private static final int TYPE_UNKNOWN = 0; - private static final int TYPE_JAVA = 1; - private static final int TYPE_XML = 2; - private static final int TYPE_HTML = 3; - private static final int TYPE_CSS = 4; - private static final int TYPE_JAVASCRIPT = 5; - private static final int TYPE_APT = 6; - private static final int TYPE_PROPERTIES = 7; - private boolean isForced; - - public AbstractLicenceAppender() { - super(); - } - - /** - * Append the default licence header to the supplied document. - * - * @param document - * @throws IOException - * if there is a problem either reading or writing the file - */ - public void append(File document) throws IOException { - int type = getType(document); - if (type == TYPE_UNKNOWN) { - return; - } - File newDocument = new File(document.getAbsolutePath() + ".new"); - FileWriter writer = new FileWriter(newDocument); - - FileReader fr = new FileReader(document); - BufferedReader br = new BufferedReader(fr); - - if (type == TYPE_CSS - || type == TYPE_JAVASCRIPT - || type == TYPE_APT - || type == TYPE_PROPERTIES - || type == TYPE_HTML) { - writer.append(getLicenceHeader(document)); - writer.append("\n"); - } - - String line; - while ((line = br.readLine()) != null) { - writer.append(line); - writer.append("\n"); - if (type == TYPE_JAVA && line.startsWith("package ")) { - writer.append(getLicenceHeader(document)); - writer.append("\n"); - } - if (type == TYPE_XML && line.startsWith("<?xml ")) { - writer.append(getLicenceHeader(document)); - writer.append("\n"); - } - } - br.close(); - writer.close(); - - if (isForced) { - document.delete(); - boolean renamed = newDocument.renameTo(document.getAbsoluteFile()); - if (!renamed) { - System.err.println("Failed to rename new file, original file remains unchanged."); - } - } - } - - /** - * Detect the type of document. - * - * @param document - * @return - * @TODO use existing mechanism to detect the type of a file and record it in the report output, thus we will not need this duplication here. - */ - protected int getType(File document) { - if (document.getPath().endsWith(".java")) { - return TYPE_JAVA; - } else if (document.getPath().endsWith(".xml") || document.getPath().endsWith(".xsl")) { - return TYPE_XML; - } else if (document.getPath().endsWith(".html") || document.getPath().endsWith(".htm")) { - return TYPE_HTML; - } else if (document.getPath().endsWith(".css")) { - return TYPE_CSS; - } else if (document.getPath().endsWith(".js")) { - return TYPE_JAVASCRIPT; - } else if (document.getPath().endsWith(".apt")) { - return TYPE_APT; - } else if (document.getPath().endsWith(".properties")) { - return TYPE_PROPERTIES; - } - return TYPE_UNKNOWN; - } - - /** - * Set the force flag on this appender. If this flag is set - * to true then files will be modified directly, otherwise - * new files will be created alongside the existing files. - * - * @param b - */ - public void setForce(boolean b) { - isForced = b; - } - - /** - * Get the licence header for a document. - */ - public abstract String getLicenceHeader(File document); - - /** - * Get the first line of the licence header formatted - * for the given type of file. - * - * @param type the type of file, see the TYPE_* constants - * @return - */ - protected String getFirstLine(int type) { - switch (type) { - case TYPE_JAVA: return "/*\n"; - case TYPE_XML: return "<!--\n"; - case TYPE_HTML: return "<!--\n"; - case TYPE_CSS: return "/*\n"; - case TYPE_JAVASCRIPT: return "/*\n"; - case TYPE_APT: return "~~\n"; - case TYPE_PROPERTIES: return "#\n"; - default: return ""; - } - } - - - /** - * Get the last line of the licence header formatted - * for the given type of file. - * - * @param type the type of file, see the TYPE_* constants - * @return - */ - protected String getLastLine(int type) { - switch (type) { - case TYPE_JAVA: return " */\n"; - case TYPE_XML: return "-->\n"; - case TYPE_HTML: return "-->\n"; - case TYPE_CSS: return " */\n"; - case TYPE_JAVASCRIPT: return " */\n"; - case TYPE_APT: return "~~\n"; - case TYPE_PROPERTIES: return "#\n"; - default: return ""; - } - } - - - /** - * Get a line of the licence header formatted - * for the given type of file. - * - * @param type the type of file, see the TYPE_* constants - * @param content the content for this line - * @return - */ - protected String getLine(int type, String content) { - switch (type) { - case TYPE_JAVA: return " * " + content + "\n"; - case TYPE_XML: return " " + content + "\n"; - case TYPE_HTML: return " " + content + "\n"; - case TYPE_CSS: return " * " + content + "\n"; - case TYPE_JAVASCRIPT: return " * " + content + "\n"; - case TYPE_APT: return "~~ " + content + "\n"; - case TYPE_PROPERTIES: return "# " + content + "\n"; - default: return ""; - } - } -} \ No newline at end of file +/* + * Licensed to the Apache Software Foundation (ASF) under one * + * or more contributor license agreements. See the NOTICE file * + * distributed with this work for additional information * + * regarding copyright ownership. The ASF licenses this file * + * to you under the Apache License, Version 2.0 (the * + * "License"); you may not use this file except in compliance * + * with the License. You may obtain a copy of the License at * + * * + * http://www.apache.org/licenses/LICENSE-2.0 * + * * + * Unless required by applicable law or agreed to in writing, * + * software distributed under the License is distributed on an * + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * + * KIND, either express or implied. See the License for the * + * specific language governing permissions and limitations * + * under the License. * + */ +package org.apache.rat.annotation; + +import java.io.BufferedReader; +import java.io.File; +import java.io.FileReader; +import java.io.FileWriter; +import java.io.IOException; + +/** + * Add a licence header to a document. This appender does not check for the + * existence of an existing licence header, it is assumed that either a second + * licence header is intentional or that there is no licence header present + * already. + * + */ +public abstract class AbstractLicenceAppender { + private static final int TYPE_UNKNOWN = 0; + private static final int TYPE_JAVA = 1; + private static final int TYPE_XML = 2; + private static final int TYPE_HTML = 3; + private static final int TYPE_CSS = 4; + private static final int TYPE_JAVASCRIPT = 5; + private static final int TYPE_APT = 6; + private static final int TYPE_PROPERTIES = 7; + private boolean isForced; + + public AbstractLicenceAppender() { + super(); + } + + /** + * Append the default licence header to the supplied document. + * + * @param document + * @throws IOException + * if there is a problem either reading or writing the file + */ + public void append(File document) throws IOException { + int type = getType(document); + if (type == TYPE_UNKNOWN) { + return; + } + File newDocument = new File(document.getAbsolutePath() + ".new"); + FileWriter writer = new FileWriter(newDocument); + + FileReader fr = new FileReader(document); + BufferedReader br = new BufferedReader(fr); + + if (type == TYPE_CSS + || type == TYPE_JAVASCRIPT + || type == TYPE_APT + || type == TYPE_PROPERTIES + || type == TYPE_HTML) { + writer.append(getLicenceHeader(document)); + writer.append("\n"); + } + + String line; + while ((line = br.readLine()) != null) { + writer.append(line); + writer.append("\n"); + if (type == TYPE_JAVA && line.startsWith("package ")) { + writer.append(getLicenceHeader(document)); + writer.append("\n"); + } + if (type == TYPE_XML && line.startsWith("<?xml ")) { + writer.append(getLicenceHeader(document)); + writer.append("\n"); + } + } + br.close(); + writer.close(); + + if (isForced) { + document.delete(); + boolean renamed = newDocument.renameTo(document.getAbsoluteFile()); + if (!renamed) { + System.err.println("Failed to rename new file, original file remains unchanged."); + } + } + } + + /** + * Detect the type of document. + * + * @param document + * @return + * @TODO use existing mechanism to detect the type of a file and record it in the report output, thus we will not need this duplication here. + */ + protected int getType(File document) { + if (document.getPath().endsWith(".java")) { + return TYPE_JAVA; + } else if (document.getPath().endsWith(".xml") || document.getPath().endsWith(".xsl")) { + return TYPE_XML; + } else if (document.getPath().endsWith(".html") || document.getPath().endsWith(".htm")) { + return TYPE_HTML; + } else if (document.getPath().endsWith(".css")) { + return TYPE_CSS; + } else if (document.getPath().endsWith(".js")) { + return TYPE_JAVASCRIPT; + } else if (document.getPath().endsWith(".apt")) { + return TYPE_APT; + } else if (document.getPath().endsWith(".properties")) { + return TYPE_PROPERTIES; + } + return TYPE_UNKNOWN; + } + + /** + * Set the force flag on this appender. If this flag is set + * to true then files will be modified directly, otherwise + * new files will be created alongside the existing files. + * + * @param b + */ + public void setForce(boolean b) { + isForced = b; + } + + /** + * Get the licence header for a document. + */ + public abstract String getLicenceHeader(File document); + + /** + * Get the first line of the licence header formatted + * for the given type of file. + * + * @param type the type of file, see the TYPE_* constants + * @return + */ + protected String getFirstLine(int type) { + switch (type) { + case TYPE_JAVA: return "/*\n"; + case TYPE_XML: return "<!--\n"; + case TYPE_HTML: return "<!--\n"; + case TYPE_CSS: return "/*\n"; + case TYPE_JAVASCRIPT: return "/*\n"; + case TYPE_APT: return "~~\n"; + case TYPE_PROPERTIES: return "#\n"; + default: return ""; + } + } + + + /** + * Get the last line of the licence header formatted + * for the given type of file. + * + * @param type the type of file, see the TYPE_* constants + * @return + */ + protected String getLastLine(int type) { + switch (type) { + case TYPE_JAVA: return " */\n"; + case TYPE_XML: return "-->\n"; + case TYPE_HTML: return "-->\n"; + case TYPE_CSS: return " */\n"; + case TYPE_JAVASCRIPT: return " */\n"; + case TYPE_APT: return "~~\n"; + case TYPE_PROPERTIES: return "#\n"; + default: return ""; + } + } + + + /** + * Get a line of the licence header formatted + * for the given type of file. + * + * @param type the type of file, see the TYPE_* constants + * @param content the content for this line + * @return + */ + protected String getLine(int type, String content) { + switch (type) { + case TYPE_JAVA: return " * " + content + "\n"; + case TYPE_XML: return " " + content + "\n"; + case TYPE_HTML: return " " + content + "\n"; + case TYPE_CSS: return " * " + content + "\n"; + case TYPE_JAVASCRIPT: return " * " + content + "\n"; + case TYPE_APT: return "~~ " + content + "\n"; + case TYPE_PROPERTIES: return "# " + content + "\n"; + default: return ""; + } + } +} Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/annotation/AbstractLicenceAppender.java ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/annotation/ApacheV2LicenceAppender.java URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/annotation/ApacheV2LicenceAppender.java?rev=743222&r1=743221&r2=743222&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/annotation/ApacheV2LicenceAppender.java (original) +++ incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/annotation/ApacheV2LicenceAppender.java Wed Feb 11 04:51:51 2009 @@ -1,104 +1,104 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one * - * or more contributor license agreements. See the NOTICE file * - * distributed with this work for additional information * - * regarding copyright ownership. The ASF licenses this file * - * to you under the Apache License, Version 2.0 (the * - * "License"); you may not use this file except in compliance * - * with the License. You may obtain a copy of the License at * - * * - * http://www.apache.org/licenses/LICENSE-2.0 * - * * - * Unless required by applicable law or agreed to in writing, * - * software distributed under the License is distributed on an * - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * - * KIND, either express or implied. See the License for the * - * specific language governing permissions and limitations * - * under the License. * - */ -package org.apache.rat.annotation; - -import java.io.File; - - -/** - * Add an Apache Software Licence V2 licence header to a - * document. This appender does not check for the - * existence of an existing licence header, it is assumed that either a second - * licence header is intentional or that there is no licence header present - * already. - * - */ -public class ApacheV2LicenceAppender extends AbstractLicenceAppender { - - private String copyright; - - /** - * Create a licence appender with the standard ASF licence header. - */ - public ApacheV2LicenceAppender() { - super(); - } - - /** - * Create a licence appender with the given copyright line. This should be of - * the form "Copyright 2008 Foo" - * - * @param copyright - */ - public ApacheV2LicenceAppender(String copyright) { - super(); - this.copyright = copyright; - } - - //@Override - public String getLicenceHeader(File document) { - int type = getType(document); - StringBuffer sb = new StringBuffer(); - if (copyright == null) { - sb.append(getFirstLine(type)); - sb.append(getLine(type, "")); - sb.append(getLine(type, "Licensed to the Apache Software Foundation (ASF) under one")); - sb.append(getLine(type, "or more contributor license agreements. See the NOTICE file")); - sb.append(getLine(type, "distributed with this work for additional information")); - sb.append(getLine(type, "regarding copyright ownership. The ASF licenses this file")); - sb.append(getLine(type, "to you under the Apache License, Version 2.0 (the")); - sb.append(getLine(type, "\"License\"); you may not use this file except in compliance")); - sb.append(getLine(type, "with the License. You may obtain a copy of the License at")); - sb.append(getLine(type, "")); - sb.append(getLine(type, " http://www.apache.org/licenses/LICENSE-2.0")); - sb.append(getLine(type, "")); - sb.append(getLine(type, "Unless required by applicable law or agreed to in writing,")); - sb.append(getLine(type, "software distributed under the License is distributed on an")); - sb.append(getLine(type, "\"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY")); - sb.append(getLine(type, "KIND, either express or implied. See the License for the")); - sb.append(getLine(type, "specific language governing permissions and limitations")); - sb.append(getLine(type, "under the License.")); - sb.append(getLine(type, "")); - sb.append(getLastLine(type)); - } else { - sb.append(getFirstLine(type)); - sb.append(getLine(type, "")); - sb.append(copyright); - sb.append(getLine(type, "")); - sb.append(getLine(type, "Licensed under the Apache License, Version 2.0 (the \"License\");")); - sb.append(getLine(type, "you may not use this file except in compliance with the License.")); - sb.append(getLine(type, "You may obtain a copy of the License at")); - sb.append(getLine(type, "")); - sb.append(getLine(type, " http://www.apache.org/licenses/LICENSE-2.0")); - sb.append(getLine(type, "")); - sb.append(getLine(type, "Unless required by applicable law or agreed to in writing,")); - sb.append(getLine(type, "software distributed under the License is distributed on an")); - sb.append(getLine(type, "\"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY")); - sb.append(getLine(type, "KIND, either express or implied. See the License for the")); - sb.append(getLine(type, "specific language governing permissions and limitations")); - sb.append(getLine(type, "under the License.")); - sb.append(getLine(type, "")); - sb.append(getLastLine(type)); - } - return sb.toString(); - } - - - -} +/* + * Licensed to the Apache Software Foundation (ASF) under one * + * or more contributor license agreements. See the NOTICE file * + * distributed with this work for additional information * + * regarding copyright ownership. The ASF licenses this file * + * to you under the Apache License, Version 2.0 (the * + * "License"); you may not use this file except in compliance * + * with the License. You may obtain a copy of the License at * + * * + * http://www.apache.org/licenses/LICENSE-2.0 * + * * + * Unless required by applicable law or agreed to in writing, * + * software distributed under the License is distributed on an * + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * + * KIND, either express or implied. See the License for the * + * specific language governing permissions and limitations * + * under the License. * + */ +package org.apache.rat.annotation; + +import java.io.File; + + +/** + * Add an Apache Software Licence V2 licence header to a + * document. This appender does not check for the + * existence of an existing licence header, it is assumed that either a second + * licence header is intentional or that there is no licence header present + * already. + * + */ +public class ApacheV2LicenceAppender extends AbstractLicenceAppender { + + private String copyright; + + /** + * Create a licence appender with the standard ASF licence header. + */ + public ApacheV2LicenceAppender() { + super(); + } + + /** + * Create a licence appender with the given copyright line. This should be of + * the form "Copyright 2008 Foo" + * + * @param copyright + */ + public ApacheV2LicenceAppender(String copyright) { + super(); + this.copyright = copyright; + } + + //@Override + public String getLicenceHeader(File document) { + int type = getType(document); + StringBuffer sb = new StringBuffer(); + if (copyright == null) { + sb.append(getFirstLine(type)); + sb.append(getLine(type, "")); + sb.append(getLine(type, "Licensed to the Apache Software Foundation (ASF) under one")); + sb.append(getLine(type, "or more contributor license agreements. See the NOTICE file")); + sb.append(getLine(type, "distributed with this work for additional information")); + sb.append(getLine(type, "regarding copyright ownership. The ASF licenses this file")); + sb.append(getLine(type, "to you under the Apache License, Version 2.0 (the")); + sb.append(getLine(type, "\"License\"); you may not use this file except in compliance")); + sb.append(getLine(type, "with the License. You may obtain a copy of the License at")); + sb.append(getLine(type, "")); + sb.append(getLine(type, " http://www.apache.org/licenses/LICENSE-2.0")); + sb.append(getLine(type, "")); + sb.append(getLine(type, "Unless required by applicable law or agreed to in writing,")); + sb.append(getLine(type, "software distributed under the License is distributed on an")); + sb.append(getLine(type, "\"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY")); + sb.append(getLine(type, "KIND, either express or implied. See the License for the")); + sb.append(getLine(type, "specific language governing permissions and limitations")); + sb.append(getLine(type, "under the License.")); + sb.append(getLine(type, "")); + sb.append(getLastLine(type)); + } else { + sb.append(getFirstLine(type)); + sb.append(getLine(type, "")); + sb.append(copyright); + sb.append(getLine(type, "")); + sb.append(getLine(type, "Licensed under the Apache License, Version 2.0 (the \"License\");")); + sb.append(getLine(type, "you may not use this file except in compliance with the License.")); + sb.append(getLine(type, "You may obtain a copy of the License at")); + sb.append(getLine(type, "")); + sb.append(getLine(type, " http://www.apache.org/licenses/LICENSE-2.0")); + sb.append(getLine(type, "")); + sb.append(getLine(type, "Unless required by applicable law or agreed to in writing,")); + sb.append(getLine(type, "software distributed under the License is distributed on an")); + sb.append(getLine(type, "\"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY")); + sb.append(getLine(type, "KIND, either express or implied. See the License for the")); + sb.append(getLine(type, "specific language governing permissions and limitations")); + sb.append(getLine(type, "under the License.")); + sb.append(getLine(type, "")); + sb.append(getLastLine(type)); + } + return sb.toString(); + } + + + +} Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/annotation/ApacheV2LicenceAppender.java ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/IResource.java URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/IResource.java?rev=743222&r1=743221&r2=743222&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/IResource.java (original) +++ incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/IResource.java Wed Feb 11 04:51:51 2009 @@ -22,4 +22,4 @@ public String getName(); -} \ No newline at end of file +} Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/IResource.java ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/zip/ZipDocumentCollection.java URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/zip/ZipDocumentCollection.java?rev=743222&r1=743221&r2=743222&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/zip/ZipDocumentCollection.java (original) +++ incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/zip/ZipDocumentCollection.java Wed Feb 11 04:51:51 2009 @@ -56,4 +56,4 @@ buffer.append("]"); return buffer.toString(); } -} \ No newline at end of file +} Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/zip/ZipDocumentCollection.java ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/xml/writer/IXmlWriter.java URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/xml/writer/IXmlWriter.java?rev=743222&r1=743221&r2=743222&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/xml/writer/IXmlWriter.java (original) +++ incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/xml/writer/IXmlWriter.java Wed Feb 11 04:51:51 2009 @@ -98,4 +98,4 @@ * if called before any call to {@link #openElement} */ public IXmlWriter closeDocument() throws IOException; -} \ No newline at end of file +} Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/xml/writer/IXmlWriter.java ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/annotation/TestLicenceAppender.java URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/annotation/TestLicenceAppender.java?rev=743222&r1=743221&r2=743222&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/annotation/TestLicenceAppender.java (original) +++ incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/annotation/TestLicenceAppender.java Wed Feb 11 04:51:51 2009 @@ -1,218 +1,218 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one * - * or more contributor license agreements. See the NOTICE file * - * distributed with this work for additional information * - * regarding copyright ownership. The ASF licenses this file * - * to you under the Apache License, Version 2.0 (the * - * "License"); you may not use this file except in compliance * - * with the License. You may obtain a copy of the License at * - * * - * http://www.apache.org/licenses/LICENSE-2.0 * - * * - * Unless required by applicable law or agreed to in writing, * - * software distributed under the License is distributed on an * - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * - * KIND, either express or implied. See the License for the * - * specific language governing permissions and limitations * - * under the License. * - */ -package org.apache.rat.annotation; - -import java.io.BufferedReader; -import java.io.File; -import java.io.FileReader; -import java.io.FileWriter; -import java.io.IOException; - -import junit.framework.TestCase; - -public class TestLicenceAppender extends TestCase { - - public void testAddLicenceToUnknownFile() throws IOException { - String filename = "tmp.unkownTyoe"; - File file = new File(System.getProperty("java.io.tmpdir") + File.separator + filename); - FileWriter writer = new FileWriter(file); - writer.append("Unkown file type\n"); - writer.close(); - - ApacheV2LicenceAppender appender = new ApacheV2LicenceAppender(); - appender.append(file); - - File newFile = new File(System.getProperty("java.io.tmpdir") + File.separator + filename + ".new"); - assertFalse("No new file should have been written", newFile.exists()); - } - - public void testAddLicenceToJava() throws IOException { - String filename = "tmp.java"; - String firstLine = "package foo;"; - String secondLine = "/*"; - - File file = new File(System.getProperty("java.io.tmpdir") + File.separator + filename); - FileWriter writer = new FileWriter(file); - writer.append(firstLine + "\n"); - writer.append("\n"); - writer.append("public class test {\n"); - writer.append("}\n"); - writer.close(); - - ApacheV2LicenceAppender appender = new ApacheV2LicenceAppender(); - appender.append(file); - - File newFile = new File(System.getProperty("java.io.tmpdir") + File.separator + filename + ".new"); - BufferedReader reader = new BufferedReader(new FileReader(newFile)); - String line = reader.readLine(); - assertEquals("First line is incorrect", firstLine, line); - line = reader.readLine(); - assertEquals("Second line is incorrect", secondLine, line); - - file.delete(); - newFile.delete(); - } - - public void testAddLicenceToXML() throws IOException { - String filename = "tmp.xml"; - String firstLine = "<?xml version='1.0'?>"; - String secondLine = "<!--"; - - File file = new File(System.getProperty("java.io.tmpdir") + File.separator + filename); - FileWriter writer = new FileWriter(file); - writer.append(firstLine + "\n"); - writer.append("\n"); - writer.append("<xml>\n"); - writer.append("</xml>\n"); - writer.close(); - - ApacheV2LicenceAppender appender = new ApacheV2LicenceAppender(); - appender.append(file); - - File newFile = new File(System.getProperty("java.io.tmpdir") + File.separator + filename + ".new"); - - BufferedReader reader = new BufferedReader(new FileReader(newFile)); - String line = reader.readLine(); - assertEquals("First line is incorrect", firstLine, line); - line = reader.readLine(); - assertEquals("Second line is incorrect", secondLine, line); - - file.delete(); - newFile.delete(); - } - public void testAddLicenceToHTML() throws IOException { - String filename = "tmp.html"; - String commentLine = "<!--"; - - File file = new File(System.getProperty("java.io.tmpdir") + File.separator + filename); - FileWriter writer = new FileWriter(file); - writer.append("<html>\n"); - writer.append("\n"); - writer.append("</html>\n"); - writer.close(); - - ApacheV2LicenceAppender appender = new ApacheV2LicenceAppender(); - appender.append(file); - - File newFile = new File(System.getProperty("java.io.tmpdir") + File.separator + filename + ".new"); - - BufferedReader reader = new BufferedReader(new FileReader(newFile)); - String line = reader.readLine(); - assertEquals("First line is incorrect", commentLine, line); - - file.delete(); - newFile.delete(); - } - - public void testAddLicenceToCSS() throws IOException { - String filename = "tmp.css"; - String firstLine = "/*"; - - File file = new File(System.getProperty("java.io.tmpdir") + File.separator + filename); - FileWriter writer = new FileWriter(file); - writer.append(".class {\n"); - writer.append(" background-color: red;"); - writer.append("}\n"); - writer.close(); - - ApacheV2LicenceAppender appender = new ApacheV2LicenceAppender(); - appender.append(file); - - File newFile = new File(System.getProperty("java.io.tmpdir") + File.separator + filename + ".new"); - - BufferedReader reader = new BufferedReader(new FileReader(newFile)); - String line = reader.readLine(); - assertEquals("First line is incorrect", firstLine, line); - - file.delete(); - newFile.delete(); - } - - public void testAddLicenceToJavascript() throws IOException { - String filename = "tmp.js"; - String firstLine = "/*"; - - File file = new File(System.getProperty("java.io.tmpdir") + File.separator + filename); - FileWriter writer = new FileWriter(file); - writer.append("if (a ==b) {>\n"); - writer.append(" alert(\"how useful!\");"); - writer.append("}\n"); - writer.close(); - - ApacheV2LicenceAppender appender = new ApacheV2LicenceAppender(); - appender.append(file); - - File newFile = new File(System.getProperty("java.io.tmpdir") + File.separator + filename + ".new"); - - BufferedReader reader = new BufferedReader(new FileReader(newFile)); - String line = reader.readLine(); - assertEquals("First line is incorrect", firstLine, line); - - file.delete(); - newFile.delete(); - } - - public void testAddLicenceToAPT() throws IOException { - String filename = "tmp.apt"; - String firstLine = "~~"; - - File file = new File(System.getProperty("java.io.tmpdir") + File.separator + filename); - FileWriter writer = new FileWriter(file); - writer.append("A Simple APT file"); - writer.append(" This file contains nothing\n"); - writer.append(" of any importance\n"); - writer.close(); - - ApacheV2LicenceAppender appender = new ApacheV2LicenceAppender(); - appender.append(file); - - File newFile = new File(System.getProperty("java.io.tmpdir") + File.separator + filename + ".new"); - - BufferedReader reader = new BufferedReader(new FileReader(newFile)); - String line = reader.readLine(); - assertEquals("First line is incorrect", firstLine, line); - - file.delete(); - newFile.delete(); - } - - public void testAddLicenceToProperties() throws IOException { - String filename = "tmp.properties"; - String firstLine = "#"; - - File file = new File(System.getProperty("java.io.tmpdir") + File.separator + filename); - FileWriter writer = new FileWriter(file); - writer.append("property = value\n"); - writer.append("fun = true\n"); - writer.append("cool = true\n"); - writer.close(); - - ApacheV2LicenceAppender appender = new ApacheV2LicenceAppender(); - appender.append(file); - - File newFile = new File(System.getProperty("java.io.tmpdir") + File.separator + filename + ".new"); - - BufferedReader reader = new BufferedReader(new FileReader(newFile)); - String line = reader.readLine(); - assertEquals("First line is incorrect", firstLine, line); - - file.delete(); - newFile.delete(); - } -} +/* + * Licensed to the Apache Software Foundation (ASF) under one * + * or more contributor license agreements. See the NOTICE file * + * distributed with this work for additional information * + * regarding copyright ownership. The ASF licenses this file * + * to you under the Apache License, Version 2.0 (the * + * "License"); you may not use this file except in compliance * + * with the License. You may obtain a copy of the License at * + * * + * http://www.apache.org/licenses/LICENSE-2.0 * + * * + * Unless required by applicable law or agreed to in writing, * + * software distributed under the License is distributed on an * + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * + * KIND, either express or implied. See the License for the * + * specific language governing permissions and limitations * + * under the License. * + */ +package org.apache.rat.annotation; + +import java.io.BufferedReader; +import java.io.File; +import java.io.FileReader; +import java.io.FileWriter; +import java.io.IOException; + +import junit.framework.TestCase; + +public class TestLicenceAppender extends TestCase { + + public void testAddLicenceToUnknownFile() throws IOException { + String filename = "tmp.unkownTyoe"; + File file = new File(System.getProperty("java.io.tmpdir") + File.separator + filename); + FileWriter writer = new FileWriter(file); + writer.append("Unkown file type\n"); + writer.close(); + + ApacheV2LicenceAppender appender = new ApacheV2LicenceAppender(); + appender.append(file); + + File newFile = new File(System.getProperty("java.io.tmpdir") + File.separator + filename + ".new"); + assertFalse("No new file should have been written", newFile.exists()); + } + + public void testAddLicenceToJava() throws IOException { + String filename = "tmp.java"; + String firstLine = "package foo;"; + String secondLine = "/*"; + + File file = new File(System.getProperty("java.io.tmpdir") + File.separator + filename); + FileWriter writer = new FileWriter(file); + writer.append(firstLine + "\n"); + writer.append("\n"); + writer.append("public class test {\n"); + writer.append("}\n"); + writer.close(); + + ApacheV2LicenceAppender appender = new ApacheV2LicenceAppender(); + appender.append(file); + + File newFile = new File(System.getProperty("java.io.tmpdir") + File.separator + filename + ".new"); + BufferedReader reader = new BufferedReader(new FileReader(newFile)); + String line = reader.readLine(); + assertEquals("First line is incorrect", firstLine, line); + line = reader.readLine(); + assertEquals("Second line is incorrect", secondLine, line); + + file.delete(); + newFile.delete(); + } + + public void testAddLicenceToXML() throws IOException { + String filename = "tmp.xml"; + String firstLine = "<?xml version='1.0'?>"; + String secondLine = "<!--"; + + File file = new File(System.getProperty("java.io.tmpdir") + File.separator + filename); + FileWriter writer = new FileWriter(file); + writer.append(firstLine + "\n"); + writer.append("\n"); + writer.append("<xml>\n"); + writer.append("</xml>\n"); + writer.close(); + + ApacheV2LicenceAppender appender = new ApacheV2LicenceAppender(); + appender.append(file); + + File newFile = new File(System.getProperty("java.io.tmpdir") + File.separator + filename + ".new"); + + BufferedReader reader = new BufferedReader(new FileReader(newFile)); + String line = reader.readLine(); + assertEquals("First line is incorrect", firstLine, line); + line = reader.readLine(); + assertEquals("Second line is incorrect", secondLine, line); + + file.delete(); + newFile.delete(); + } + public void testAddLicenceToHTML() throws IOException { + String filename = "tmp.html"; + String commentLine = "<!--"; + + File file = new File(System.getProperty("java.io.tmpdir") + File.separator + filename); + FileWriter writer = new FileWriter(file); + writer.append("<html>\n"); + writer.append("\n"); + writer.append("</html>\n"); + writer.close(); + + ApacheV2LicenceAppender appender = new ApacheV2LicenceAppender(); + appender.append(file); + + File newFile = new File(System.getProperty("java.io.tmpdir") + File.separator + filename + ".new"); + + BufferedReader reader = new BufferedReader(new FileReader(newFile)); + String line = reader.readLine(); + assertEquals("First line is incorrect", commentLine, line); + + file.delete(); + newFile.delete(); + } + + public void testAddLicenceToCSS() throws IOException { + String filename = "tmp.css"; + String firstLine = "/*"; + + File file = new File(System.getProperty("java.io.tmpdir") + File.separator + filename); + FileWriter writer = new FileWriter(file); + writer.append(".class {\n"); + writer.append(" background-color: red;"); + writer.append("}\n"); + writer.close(); + + ApacheV2LicenceAppender appender = new ApacheV2LicenceAppender(); + appender.append(file); + + File newFile = new File(System.getProperty("java.io.tmpdir") + File.separator + filename + ".new"); + + BufferedReader reader = new BufferedReader(new FileReader(newFile)); + String line = reader.readLine(); + assertEquals("First line is incorrect", firstLine, line); + + file.delete(); + newFile.delete(); + } + + public void testAddLicenceToJavascript() throws IOException { + String filename = "tmp.js"; + String firstLine = "/*"; + + File file = new File(System.getProperty("java.io.tmpdir") + File.separator + filename); + FileWriter writer = new FileWriter(file); + writer.append("if (a ==b) {>\n"); + writer.append(" alert(\"how useful!\");"); + writer.append("}\n"); + writer.close(); + + ApacheV2LicenceAppender appender = new ApacheV2LicenceAppender(); + appender.append(file); + + File newFile = new File(System.getProperty("java.io.tmpdir") + File.separator + filename + ".new"); + + BufferedReader reader = new BufferedReader(new FileReader(newFile)); + String line = reader.readLine(); + assertEquals("First line is incorrect", firstLine, line); + + file.delete(); + newFile.delete(); + } + + public void testAddLicenceToAPT() throws IOException { + String filename = "tmp.apt"; + String firstLine = "~~"; + + File file = new File(System.getProperty("java.io.tmpdir") + File.separator + filename); + FileWriter writer = new FileWriter(file); + writer.append("A Simple APT file"); + writer.append(" This file contains nothing\n"); + writer.append(" of any importance\n"); + writer.close(); + + ApacheV2LicenceAppender appender = new ApacheV2LicenceAppender(); + appender.append(file); + + File newFile = new File(System.getProperty("java.io.tmpdir") + File.separator + filename + ".new"); + + BufferedReader reader = new BufferedReader(new FileReader(newFile)); + String line = reader.readLine(); + assertEquals("First line is incorrect", firstLine, line); + + file.delete(); + newFile.delete(); + } + + public void testAddLicenceToProperties() throws IOException { + String filename = "tmp.properties"; + String firstLine = "#"; + + File file = new File(System.getProperty("java.io.tmpdir") + File.separator + filename); + FileWriter writer = new FileWriter(file); + writer.append("property = value\n"); + writer.append("fun = true\n"); + writer.append("cool = true\n"); + writer.close(); + + ApacheV2LicenceAppender appender = new ApacheV2LicenceAppender(); + appender.append(file); + + File newFile = new File(System.getProperty("java.io.tmpdir") + File.separator + filename + ".new"); + + BufferedReader reader = new BufferedReader(new FileReader(newFile)); + String line = reader.readLine(); + assertEquals("First line is incorrect", firstLine, line); + + file.delete(); + newFile.delete(); + } +} Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/annotation/TestLicenceAppender.java ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/header/HeaderMatcherTest.java URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/header/HeaderMatcherTest.java?rev=743222&r1=743221&r2=743222&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/header/HeaderMatcherTest.java (original) +++ incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/header/HeaderMatcherTest.java Wed Feb 11 04:51:51 2009 @@ -90,4 +90,4 @@ matcher.read(reader); assertEquals("Too many lines read", -1, matcher.lines()); } -} \ No newline at end of file +} Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/header/HeaderMatcherTest.java ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/trunk/rat/rat-core/src/test/resources/elements/Text.txt URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-core/src/test/resources/elements/Text.txt?rev=743222&r1=743221&r2=743222&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-core/src/test/resources/elements/Text.txt (original) +++ incubator/rat/main/trunk/rat/rat-core/src/test/resources/elements/Text.txt Wed Feb 11 04:51:51 2009 @@ -12,4 +12,4 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ \ No newline at end of file + */ Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/resources/elements/Text.txt ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/trunk/rat/rat-core/src/test/resources/elements/Xml.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-core/src/test/resources/elements/Xml.xml?rev=743222&r1=743221&r2=743222&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-core/src/test/resources/elements/Xml.xml (original) +++ incubator/rat/main/trunk/rat/rat-core/src/test/resources/elements/Xml.xml Wed Feb 11 04:51:51 2009 @@ -17,4 +17,4 @@ specific language governing permissions and limitations * under the License. * --> -<document/> \ No newline at end of file +<document/> Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/resources/elements/Xml.xml ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/trunk/rat/rat-core/src/test/resources/elements/sub/Empty.txt URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-core/src/test/resources/elements/sub/Empty.txt?rev=743222&r1=743221&r2=743222&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-core/src/test/resources/elements/sub/Empty.txt (original) +++ incubator/rat/main/trunk/rat/rat-core/src/test/resources/elements/sub/Empty.txt Wed Feb 11 04:51:51 2009 @@ -0,0 +1 @@ + Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/resources/elements/sub/Empty.txt ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/trunk/rat/rat-core/src/test/resources/javadocs/notjavadoc.html URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-core/src/test/resources/javadocs/notjavadoc.html?rev=743222&r1=743221&r2=743222&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-core/src/test/resources/javadocs/notjavadoc.html (original) +++ incubator/rat/main/trunk/rat/rat-core/src/test/resources/javadocs/notjavadoc.html Wed Feb 11 04:51:51 2009 @@ -7,4 +7,4 @@ <body> Not a java doc </body> -</html> \ No newline at end of file +</html> Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/resources/javadocs/notjavadoc.html ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/trunk/rat/rat-core/src/test/resources/violations/bad.txt URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-core/src/test/resources/violations/bad.txt?rev=743222&r1=743221&r2=743222&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-core/src/test/resources/violations/bad.txt (original) +++ incubator/rat/main/trunk/rat/rat-core/src/test/resources/violations/bad.txt Wed Feb 11 04:51:51 2009 @@ -1 +1 @@ -This file has no license. \ No newline at end of file +This file has no license. Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/resources/violations/bad.txt ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/trunk/rat/rat-maven-plugin/NOTICE.txt URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-maven-plugin/NOTICE.txt?rev=743222&r1=743221&r2=743222&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-maven-plugin/NOTICE.txt (original) +++ incubator/rat/main/trunk/rat/rat-maven-plugin/NOTICE.txt Wed Feb 11 04:51:51 2009 @@ -3,4 +3,4 @@ This product includes software developed at The Apache Software Foundation (http://www.apache.org/). - \ No newline at end of file + Propchange: incubator/rat/main/trunk/rat/rat-maven-plugin/NOTICE.txt ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/trunk/rat/rat-maven-plugin/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-maven-plugin/pom.xml?rev=743222&r1=743221&r2=743222&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-maven-plugin/pom.xml (original) +++ incubator/rat/main/trunk/rat/rat-maven-plugin/pom.xml Wed Feb 11 04:51:51 2009 @@ -145,4 +145,4 @@ <email>[email protected]</email> </contributor> </contributors> -</project> \ No newline at end of file +</project> Propchange: incubator/rat/main/trunk/rat/rat-maven-plugin/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/trunk/rat/rat-maven-plugin/src/main/java/org/apache/rat/mp/FilesReportable.java URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-maven-plugin/src/main/java/org/apache/rat/mp/FilesReportable.java?rev=743222&r1=743221&r2=743222&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-maven-plugin/src/main/java/org/apache/rat/mp/FilesReportable.java (original) +++ incubator/rat/main/trunk/rat/rat-maven-plugin/src/main/java/org/apache/rat/mp/FilesReportable.java Wed Feb 11 04:51:51 2009 @@ -95,4 +95,4 @@ return DocumentImplUtils.toName( file ); } } -} \ No newline at end of file +} Propchange: incubator/rat/main/trunk/rat/rat-maven-plugin/src/main/java/org/apache/rat/mp/FilesReportable.java ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/trunk/rat/rat-maven-plugin/src/site/site.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-maven-plugin/src/site/site.xml?rev=743222&r1=743221&r2=743222&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-maven-plugin/src/site/site.xml (original) +++ incubator/rat/main/trunk/rat/rat-maven-plugin/src/site/site.xml Wed Feb 11 04:51:51 2009 @@ -29,4 +29,4 @@ <item name="Adding a report to the site" href="examples/site.html"/> </menu> </body> -</project> \ No newline at end of file +</project> Propchange: incubator/rat/main/trunk/rat/rat-maven-plugin/src/site/site.xml ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/trunk/rat/src/site/site.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/src/site/site.xml?rev=743222&r1=743221&r2=743222&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/src/site/site.xml (original) +++ incubator/rat/main/trunk/rat/src/site/site.xml Wed Feb 11 04:51:51 2009 @@ -13,17 +13,17 @@ See the License for the specific language governing permissions and limitations under the License. ---> -<project name="Apache RAT (Incubating)"> - <body> - <menu name="RAT"> - <item name="Home" href="/index.html"/> - </menu> - <menu name="Modules"> - <item name="RAT Core" href="/rat-core/index.html"/> - <item name="RAT Library" href="/rat-lib/index.html"/> - <item name="RAT ANT Tasks" href="/rat/anttasks/index.html"/> +--> +<project name="Apache RAT (Incubating)"> + <body> + <menu name="RAT"> + <item name="Home" href="/index.html"/> </menu> - <menu ref="reports"/> - </body> -</project> + <menu name="Modules"> + <item name="RAT Core" href="/rat-core/index.html"/> + <item name="RAT Library" href="/rat-lib/index.html"/> + <item name="RAT ANT Tasks" href="/rat/anttasks/index.html"/> + </menu> + <menu ref="reports"/> + </body> +</project> Propchange: incubator/rat/main/trunk/rat/src/site/site.xml ------------------------------------------------------------------------------ svn:eol-style = native From [email protected] Wed Feb 11 22:29:56 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16050 invoked from network); 11 Feb 2009 22:29:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Feb 2009 22:29:56 -0000 Received: (qmail 36124 invoked by uid 500); 11 Feb 2009 22:29:56 -0000 Delivered-To: [email protected] Received: (qmail 36103 invoked by uid 500); 11 Feb 2009 22:29:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 36094 invoked by uid 99); 11 Feb 2009 22:29:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 14:29:56 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 22:29:55 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 727AC2388A9A; Wed, 11 Feb 2009 22:29:35 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r743537 - in /incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat: ReportTest.java annotation/TestLicenceAppender.java Date: Wed, 11 Feb 2009 22:29:35 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Wed Feb 11 22:29:35 2009 New Revision: 743537 URL: http://svn.apache.org/viewvc?rev=743537&view=rev Log: Fixed broken tests Modified: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/ReportTest.java incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/annotation/TestLicenceAppender.java Modified: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/ReportTest.java URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/ReportTest.java?rev=743537&r1=743536&r2=743537&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/ReportTest.java (original) +++ incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/ReportTest.java Wed Feb 11 22:29:35 2009 @@ -89,7 +89,7 @@ " =======================================================================\n" + " ==" + pElementsPath + "/sub/Empty.txt\n" + " =======================================================================\n" + - ""; + "\n"; } protected void setUp() throws Exception { Modified: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/annotation/TestLicenceAppender.java URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/annotation/TestLicenceAppender.java?rev=743537&r1=743536&r2=743537&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/annotation/TestLicenceAppender.java (original) +++ incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/annotation/TestLicenceAppender.java Wed Feb 11 22:29:35 2009 @@ -23,13 +23,16 @@ import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; +import java.util.Random; import junit.framework.TestCase; public class TestLicenceAppender extends TestCase { - + /** Used to ensure that temporary files have unq */ + private Random random = new Random(); + public void testAddLicenceToUnknownFile() throws IOException { - String filename = "tmp.unkownTyoe"; + String filename = "tmp" + random.nextLong() + ".unkownTyoe"; File file = new File(System.getProperty("java.io.tmpdir") + File.separator + filename); FileWriter writer = new FileWriter(file); writer.append("Unkown file type\n"); From [email protected] Wed Feb 11 23:01:35 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25164 invoked from network); 11 Feb 2009 23:01:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Feb 2009 23:01:35 -0000 Received: (qmail 70153 invoked by uid 500); 11 Feb 2009 23:01:35 -0000 Delivered-To: [email protected] Received: (qmail 70135 invoked by uid 500); 11 Feb 2009 23:01:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 70126 invoked by uid 99); 11 Feb 2009 23:01:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 15:01:35 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 23:01:34 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 332CB2388896; Wed, 11 Feb 2009 23:01:14 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r743552 - /incubator/rat/main/trunk/rat/rat-maven-plugin/pom.xml Date: Wed, 11 Feb 2009 23:01:14 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Wed Feb 11 23:01:13 2009 New Revision: 743552 URL: http://svn.apache.org/viewvc?rev=743552&view=rev Log: Need to release the plugin before it can be used to build itself Modified: incubator/rat/main/trunk/rat/rat-maven-plugin/pom.xml Modified: incubator/rat/main/trunk/rat/rat-maven-plugin/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-maven-plugin/pom.xml?rev=743552&r1=743551&r2=743552&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/rat-maven-plugin/pom.xml (original) +++ incubator/rat/main/trunk/rat/rat-maven-plugin/pom.xml Wed Feb 11 23:01:13 2009 @@ -37,6 +37,7 @@ </resource> </resources> <plugins> + <!-- Comment out once this plugin has been released <plugin> <groupId>org.apache.rat</groupId> <artifactId>rat-maven-plugin</artifactId> @@ -50,6 +51,7 @@ </excludes> </configuration> </plugin> + --> <plugin> <artifactId>maven-docck-plugin</artifactId> <executions> @@ -107,10 +109,12 @@ </dependencies> <reporting> <plugins> + <!-- Need to release this first! <plugin> <groupId>org.apache.rat</groupId> <artifactId>rat-maven-plugin</artifactId> </plugin> + --> <plugin> <artifactId>maven-changes-plugin</artifactId> <version>2.0-beta-2</version> From [email protected] Wed Feb 11 23:12:32 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29993 invoked from network); 11 Feb 2009 23:12:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Feb 2009 23:12:32 -0000 Received: (qmail 84919 invoked by uid 500); 11 Feb 2009 23:12:32 -0000 Delivered-To: [email protected] Received: (qmail 84898 invoked by uid 500); 11 Feb 2009 23:12:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84889 invoked by uid 99); 11 Feb 2009 23:12:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 15:12:31 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 23:12:31 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D7CB5238889E; Wed, 11 Feb 2009 23:12:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r743556 - /incubator/rat/main/trunk/rat/pom.xml Date: Wed, 11 Feb 2009 23:12:10 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Wed Feb 11 23:12:10 2009 New Revision: 743556 URL: http://svn.apache.org/viewvc?rev=743556&view=rev Log: AntTasks uses maven plugin Modified: incubator/rat/main/trunk/rat/pom.xml Modified: incubator/rat/main/trunk/rat/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/pom.xml?rev=743556&r1=743555&r2=743556&view=diff ============================================================================== --- incubator/rat/main/trunk/rat/pom.xml (original) +++ incubator/rat/main/trunk/rat/pom.xml Wed Feb 11 23:12:10 2009 @@ -277,8 +277,8 @@ <modules> <module>rat-core</module> - <module>rat-anttasks</module> <module>rat-maven-plugin</module> + <module>rat-anttasks</module> <module>rat-app</module> </modules> </project> From [email protected] Mon Feb 16 08:28:03 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77512 invoked from network); 16 Feb 2009 08:28:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Feb 2009 08:28:03 -0000 Received: (qmail 27035 invoked by uid 500); 16 Feb 2009 08:28:03 -0000 Delivered-To: [email protected] Received: (qmail 27019 invoked by uid 500); 16 Feb 2009 08:28:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 27010 invoked by uid 99); 16 Feb 2009 08:28:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Feb 2009 00:28:03 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Feb 2009 08:28:01 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 00F60238899B; Mon, 16 Feb 2009 08:27:40 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r744857 - in /incubator/rat/main/trunk: rat/ rat/rat-anttasks/ rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/ rat/rat-anttasks/src/test/java/org/apache/rat/anttasks/ rat/rat-anttasks/src/test/java/org/example/ rat/rat-anttasks/src/... Date: Mon, 16 Feb 2009 08:27:40 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: bodewig Date: Mon Feb 16 08:27:36 2009 New Revision: 744857 URL: http://svn.apache.org/viewvc?rev=744857&view=rev Log: eol-style Modified: incubator/rat/main/trunk/rat/BUILD.txt (props changed) incubator/rat/main/trunk/rat/pom.xml (props changed) incubator/rat/main/trunk/rat/rat-anttasks/pom.xml (props changed) incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/Report.java (props changed) incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/apache/rat/anttasks/AbstractRatAntTaskTest.java (props changed) incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/apache/rat/anttasks/ReportTest.java (props changed) incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/example/LicenseFamily.java (props changed) incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/example/Matcher.java (props changed) incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/build.xml (props changed) incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/report-junit.xml (props changed) incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/report-normal-operation.xml (props changed) incubator/rat/main/trunk/rat/rat-app/pom.xml (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/Defaults.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/DirectoryWalker.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/FileNameComparator.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/Report.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/ReportFailedRuntimeException.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/ReportTransformer.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/analysis/Claims.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/analysis/IHeaderMatcher.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/analysis/RatHeaderAnalysisException.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/analysis/generation/GeneratedLicenseNotRequired.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/analysis/generation/JavaDocLicenseNotRequired.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/analysis/license/ApacheSoftwareLicense20.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/analysis/license/BaseLicense.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/analysis/license/DojoLicenseHeader.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/analysis/license/OASISLicense.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/analysis/license/TMF854LicenseHeader.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/analysis/license/W3CDocLicense.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/analysis/license/W3CLicense.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/analysis/util/HeaderMatcherMultiplexer.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/CompositeDocumentException.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/DocumentUtils.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/IDocument.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/IDocumentAnalyser.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/IDocumentCollection.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/IDocumentMatcher.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/IFileUnarchiver.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/RatDocumentAnalysisException.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/ToNameTransformer.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/UnreadableArchiveException.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/UnsuitableDocumentException.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/AbstractMonolithicDocument.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/CompositeDocument.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/DocumentImplUtils.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/FileDocument.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/MonolithicFileDocument.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/guesser/ArchiveGuesser.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/guesser/BinaryGuesser.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/guesser/GuessUtils.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/guesser/NoteGuesser.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/util/ConditionalAnalyser.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/util/DocumentAnalyserMultiplexer.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/util/DocumentMatcherMultiplexer.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/util/MatchNegator.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/zip/ZipDirectory.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/zip/ZipDocument.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/zip/ZipDocumentFactory.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/zip/ZipFileDocument.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/zip/ZipFileUnarchiver.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/zip/ZipRootDirectory.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/zip/ZipUtils.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/header/ArrayCharFilter.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/header/CharFilter.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/header/FilteringSequenceFactory.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/header/HeaderBean.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/header/HeaderMatcher.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/license/AcademicFree21LicenseFamily.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/license/Apache20LicenseFamily.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/license/ILicenseFamily.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/license/ModifiedBSDLicenseFamily.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/license/OASISLicenseFamily.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/license/W3CDocumentLicenseFamily.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/license/W3CSoftwareLicenseFamily.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/policy/DefaultPolicy.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/IReportable.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/RatReport.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/RatReportFailedException.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/analyser/AbstractSingleClaimAnalyser.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/analyser/ConstantClaimAnalyser.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/analyser/DefaultAnalyserFactory.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/analyser/DocumentHeaderAnalyser.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/analyser/HeaderCheckWorker.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/analyser/RatReportAnalysisResultException.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/analyser/ReadableArchiveAnalyser.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/claim/IClaimReporter.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/claim/impl/xml/SimpleXmlClaimReporter.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/claim/util/ClaimReporterMultiplexer.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/xml/XmlReport.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/xml/XmlReportFactory.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/xml/writer/InvalidXmlException.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/xml/writer/OperationNotAllowedException.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/xml/writer/XmlWriterUtils.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/xml/writer/impl/base/XmlWriter.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/FileNameComparatorTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/ReportTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/ReportTransformerTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/analysis/MockLicenseMatcher.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/analysis/generation/GeneratedLicenseNotRequiredTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/analysis/generation/JavaDocLicenseNotRequiredTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/analysis/license/ApacheSoftwareLicense20Test.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/analysis/license/MockStandardLicense.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/analysis/license/OASISLicenseTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/analysis/license/W3CLicenseTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/analysis/util/MatcherMultiplexerTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/DocumentUtilsTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/MockArchiveDocument.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/MockDocument.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/MockDocumentAnalyser.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/MockDocumentCollection.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/MockDocumentMatcher.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/MockLocation.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/ToNameTransformerTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/impl/SingularFileDocumentTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/impl/guesser/ArchiveGuesserTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/impl/guesser/BinaryGuesserTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/impl/guesser/GuessUtilsTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/impl/guesser/NoteGuesserTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/impl/util/ConditionalAnalyserTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/impl/util/DocumentAnalyserMultiplexerTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/impl/util/DocumentMatcherMultiplexerTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/impl/util/MatchNegatorTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/impl/zip/ZipDirectoryTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/impl/zip/ZipDocumentFactoryTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/impl/zip/ZipDocumentTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/impl/zip/ZipUtilsTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/header/ArrayCharFilterTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/header/FilteringSequenceFactoryTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/header/HeaderMatcherWithBeansTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/header/SimpleCharFilter.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/policy/DefaultPolicyTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/report/analyser/AnalyserFactoryTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/report/analyser/ConstantClaimAnalyserTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/report/analyser/HeaderCheckWorkerTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/report/analyser/ReadableArchiveAnalyserAnalyseTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/report/analyser/ReadableArchiveAnalyserTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/report/claim/impl/xml/MockClaimReporter.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/report/claim/impl/xml/SimpleXmlClaimReporterTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/report/claim/util/ClaimReporterMultiplexerTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/report/xml/MockXmlWriter.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/report/xml/XmlReportFactoryTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/report/xml/XmlReportTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/report/xml/XmlUtils.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/report/xml/writer/XmlWriterUtilsTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/report/xml/writer/impl/base/XmlWriterTest.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/test/utils/RATCase.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/test/utils/Resources.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/resources/elements/Source.java (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/resources/javadocs/ArchiveElement.html (props changed) incubator/rat/main/trunk/rat/rat-core/src/test/resources/javadocs/index.html (props changed) incubator/rat/main/trunk/rat/rat-maven-plugin/LICENSE.txt (props changed) incubator/rat/main/trunk/rat/rat-maven-plugin/src/changes/changes.xml (props changed) incubator/rat/main/trunk/rat/rat-maven-plugin/src/main/java/org/apache/rat/mp/AbstractRatMojo.java (props changed) incubator/rat/main/trunk/rat/rat-maven-plugin/src/main/java/org/apache/rat/mp/HeaderMatcherSpecification.java (props changed) incubator/rat/main/trunk/rat/rat-maven-plugin/src/main/java/org/apache/rat/mp/LicenseFamilySpecification.java (props changed) incubator/rat/main/trunk/rat/rat-maven-plugin/src/main/java/org/apache/rat/mp/RatCheckException.java (props changed) incubator/rat/main/trunk/rat/rat-maven-plugin/src/main/java/org/apache/rat/mp/RatCheckMojo.java (props changed) incubator/rat/main/trunk/rat/rat-maven-plugin/src/main/java/org/apache/rat/mp/RatReportMojo.java (props changed) incubator/rat/main/trunk/rat/rat-maven-plugin/src/main/java/org/apache/rat/mp/RatStatistics.java (props changed) incubator/rat/main/trunk/rat/rat-maven-plugin/src/main/java/org/apache/rat/mp/package.html (props changed) incubator/rat/main/trunk/rat/rat-maven-plugin/src/test/it1/pom.xml (props changed) incubator/rat/main/trunk/rat/rat-maven-plugin/src/test/it2/pom.xml (props changed) incubator/rat/main/trunk/rat/rat-maven-plugin/src/test/it2/src.txt (props changed) incubator/rat/main/trunk/rat/rat-maven-plugin/src/test/it3/pom.xml (props changed) incubator/rat/main/trunk/rat/rat-maven-plugin/src/test/java/org/codehaus/mojo/rat/RatCheckMojoTest.java (props changed) incubator/rat/main/trunk/rat/src/changes/changes.xml (props changed) incubator/rat/main/trunk/rat/src/main/assembly/bin.xml (props changed) incubator/rat/main/trunk/rat/src/main/assembly/src.xml (props changed) incubator/rat/main/trunk/rat/src/python/recursive-rat.py (props changed) incubator/rat/main/trunk/scan/DISCLAIMER.txt (props changed) incubator/rat/main/trunk/scan/LICENSE.txt (props changed) incubator/rat/main/trunk/scan/NOTICE.txt (props changed) incubator/rat/main/trunk/scan/README.txt (props changed) incubator/rat/main/trunk/scan/build.xml (props changed) incubator/rat/main/trunk/scan/src/main/org/apache/rat/scan/connect.py (props changed) incubator/rat/main/trunk/scan/src/main/org/apache/rat/scan/diff.py (props changed) incubator/rat/main/trunk/scan/src/main/org/apache/rat/scan/scanner.py (props changed) incubator/rat/main/trunk/scan/src/main/org/apache/rat/scan/tests.py (props changed) incubator/rat/main/trunk/scan/src/test/org/apache/rat/scan/Sample.txt (props changed) incubator/rat/main/trunk/scan/src/test/org/apache/rat/scan/diff/audit-2008-06-01.html (props changed) incubator/rat/main/trunk/scan/src/test/org/apache/rat/scan/diff/audit-2008-06-28.html (props changed) incubator/rat/main/trunk/scan/src/test/org/apache/rat/scan/scanner/HenryV.txt (props changed) incubator/rat/main/trunk/scan/src/test/org/apache/rat/scan/scanner/RichardIII.txt (props changed) incubator/rat/main/trunk/scan/src/test/org/apache/rat/scan/scanner/sub/deep/Hamlet.txt (props changed) Propchange: incubator/rat/main/trunk/rat/BUILD.txt ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-anttasks/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-anttasks/src/main/java/org/apache/rat/anttasks/Report.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/apache/rat/anttasks/AbstractRatAntTaskTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/apache/rat/anttasks/ReportTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/example/LicenseFamily.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-anttasks/src/test/java/org/example/Matcher.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/build.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/report-junit.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-anttasks/src/test/resources/antunit/report-normal-operation.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-app/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/Defaults.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/DirectoryWalker.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/FileNameComparator.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/Report.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/ReportFailedRuntimeException.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/ReportTransformer.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/analysis/Claims.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/analysis/IHeaderMatcher.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/analysis/RatHeaderAnalysisException.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/analysis/generation/GeneratedLicenseNotRequired.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/analysis/generation/JavaDocLicenseNotRequired.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/analysis/license/ApacheSoftwareLicense20.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/analysis/license/BaseLicense.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/analysis/license/DojoLicenseHeader.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/analysis/license/OASISLicense.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/analysis/license/TMF854LicenseHeader.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/analysis/license/W3CDocLicense.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/analysis/license/W3CLicense.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/analysis/util/HeaderMatcherMultiplexer.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/CompositeDocumentException.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/DocumentUtils.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/IDocument.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/IDocumentAnalyser.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/IDocumentCollection.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/IDocumentMatcher.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/IFileUnarchiver.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/RatDocumentAnalysisException.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/ToNameTransformer.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/UnreadableArchiveException.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/UnsuitableDocumentException.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/AbstractMonolithicDocument.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/CompositeDocument.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/DocumentImplUtils.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/FileDocument.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/MonolithicFileDocument.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/guesser/ArchiveGuesser.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/guesser/BinaryGuesser.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/guesser/GuessUtils.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/guesser/NoteGuesser.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/util/ConditionalAnalyser.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/util/DocumentAnalyserMultiplexer.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/util/DocumentMatcherMultiplexer.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/util/MatchNegator.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/zip/ZipDirectory.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/zip/ZipDocument.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/zip/ZipDocumentFactory.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/zip/ZipFileDocument.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/zip/ZipFileUnarchiver.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/zip/ZipRootDirectory.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/document/impl/zip/ZipUtils.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/header/ArrayCharFilter.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/header/CharFilter.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/header/FilteringSequenceFactory.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/header/HeaderBean.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/header/HeaderMatcher.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/license/AcademicFree21LicenseFamily.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/license/Apache20LicenseFamily.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/license/ILicenseFamily.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/license/ModifiedBSDLicenseFamily.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/license/OASISLicenseFamily.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/license/W3CDocumentLicenseFamily.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/license/W3CSoftwareLicenseFamily.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/policy/DefaultPolicy.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/IReportable.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/RatReport.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/RatReportFailedException.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/analyser/AbstractSingleClaimAnalyser.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/analyser/ConstantClaimAnalyser.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/analyser/DefaultAnalyserFactory.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/analyser/DocumentHeaderAnalyser.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/analyser/HeaderCheckWorker.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/analyser/RatReportAnalysisResultException.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/analyser/ReadableArchiveAnalyser.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/claim/IClaimReporter.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/claim/impl/xml/SimpleXmlClaimReporter.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/claim/util/ClaimReporterMultiplexer.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/xml/XmlReport.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/xml/XmlReportFactory.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/xml/writer/InvalidXmlException.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/xml/writer/OperationNotAllowedException.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/xml/writer/XmlWriterUtils.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/report/xml/writer/impl/base/XmlWriter.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/FileNameComparatorTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/ReportTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/ReportTransformerTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/analysis/MockLicenseMatcher.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/analysis/generation/GeneratedLicenseNotRequiredTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/analysis/generation/JavaDocLicenseNotRequiredTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/analysis/license/ApacheSoftwareLicense20Test.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/analysis/license/MockStandardLicense.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/analysis/license/OASISLicenseTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/analysis/license/W3CLicenseTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/analysis/util/MatcherMultiplexerTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/DocumentUtilsTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/MockArchiveDocument.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/MockDocument.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/MockDocumentAnalyser.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/MockDocumentCollection.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/MockDocumentMatcher.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/MockLocation.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/ToNameTransformerTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/impl/SingularFileDocumentTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/impl/guesser/ArchiveGuesserTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/impl/guesser/BinaryGuesserTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/impl/guesser/GuessUtilsTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/impl/guesser/NoteGuesserTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/impl/util/ConditionalAnalyserTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/impl/util/DocumentAnalyserMultiplexerTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/impl/util/DocumentMatcherMultiplexerTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/impl/util/MatchNegatorTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/impl/zip/ZipDirectoryTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/impl/zip/ZipDocumentFactoryTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/impl/zip/ZipDocumentTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/document/impl/zip/ZipUtilsTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/header/ArrayCharFilterTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/header/FilteringSequenceFactoryTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/header/HeaderMatcherWithBeansTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/header/SimpleCharFilter.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/policy/DefaultPolicyTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/report/analyser/AnalyserFactoryTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/report/analyser/ConstantClaimAnalyserTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/report/analyser/HeaderCheckWorkerTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/report/analyser/ReadableArchiveAnalyserAnalyseTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/report/analyser/ReadableArchiveAnalyserTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/report/claim/impl/xml/MockClaimReporter.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/report/claim/impl/xml/SimpleXmlClaimReporterTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/report/claim/util/ClaimReporterMultiplexerTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/report/xml/MockXmlWriter.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/report/xml/XmlReportFactoryTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/report/xml/XmlReportTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/report/xml/XmlUtils.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/report/xml/writer/XmlWriterUtilsTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/report/xml/writer/impl/base/XmlWriterTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/test/utils/RATCase.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/test/utils/Resources.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/resources/elements/Source.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/resources/javadocs/ArchiveElement.html ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-core/src/test/resources/javadocs/index.html ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-maven-plugin/LICENSE.txt ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-maven-plugin/src/changes/changes.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-maven-plugin/src/main/java/org/apache/rat/mp/AbstractRatMojo.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-maven-plugin/src/main/java/org/apache/rat/mp/HeaderMatcherSpecification.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-maven-plugin/src/main/java/org/apache/rat/mp/LicenseFamilySpecification.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-maven-plugin/src/main/java/org/apache/rat/mp/RatCheckException.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-maven-plugin/src/main/java/org/apache/rat/mp/RatCheckMojo.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-maven-plugin/src/main/java/org/apache/rat/mp/RatReportMojo.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-maven-plugin/src/main/java/org/apache/rat/mp/RatStatistics.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-maven-plugin/src/main/java/org/apache/rat/mp/package.html ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-maven-plugin/src/test/it1/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-maven-plugin/src/test/it2/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-maven-plugin/src/test/it2/src.txt ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-maven-plugin/src/test/it3/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/rat-maven-plugin/src/test/java/org/codehaus/mojo/rat/RatCheckMojoTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/src/changes/changes.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/src/main/assembly/bin.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/src/main/assembly/src.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/rat/src/python/recursive-rat.py ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/scan/DISCLAIMER.txt ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/scan/LICENSE.txt ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/scan/NOTICE.txt ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/scan/README.txt ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/scan/build.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/scan/src/main/org/apache/rat/scan/connect.py ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/scan/src/main/org/apache/rat/scan/diff.py ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/scan/src/main/org/apache/rat/scan/scanner.py ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/scan/src/main/org/apache/rat/scan/tests.py ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/scan/src/test/org/apache/rat/scan/Sample.txt ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/scan/src/test/org/apache/rat/scan/diff/audit-2008-06-01.html ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/scan/src/test/org/apache/rat/scan/diff/audit-2008-06-28.html ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/scan/src/test/org/apache/rat/scan/scanner/HenryV.txt ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/scan/src/test/org/apache/rat/scan/scanner/RichardIII.txt ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/scan/src/test/org/apache/rat/scan/scanner/sub/deep/Hamlet.txt ------------------------------------------------------------------------------ svn:eol-style = native From [email protected] Sun Feb 22 15:09:06 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51537 invoked from network); 22 Feb 2009 15:09:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Feb 2009 15:09:06 -0000 Received: (qmail 23362 invoked by uid 500); 22 Feb 2009 15:09:06 -0000 Delivered-To: [email protected] Received: (qmail 23345 invoked by uid 500); 22 Feb 2009 15:09:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23336 invoked by uid 99); 22 Feb 2009 15:09:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Feb 2009 07:09:06 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Feb 2009 15:09:05 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 5788823888F4; Sun, 22 Feb 2009 15:08:45 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r746719 - /incubator/rat/scan/ Date: Sun, 22 Feb 2009 15:08:45 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Sun Feb 22 15:08:45 2009 New Revision: 746719 URL: http://svn.apache.org/viewvc?rev=746719&view=rev Log: Create space for separate scan codebase Added: incubator/rat/scan/ From [email protected] Sun Feb 22 15:09:16 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51565 invoked from network); 22 Feb 2009 15:09:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Feb 2009 15:09:16 -0000 Received: (qmail 23409 invoked by uid 500); 22 Feb 2009 15:09:15 -0000 Delivered-To: [email protected] Received: (qmail 23388 invoked by uid 500); 22 Feb 2009 15:09:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23379 invoked by uid 99); 22 Feb 2009 15:09:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Feb 2009 07:09:15 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Feb 2009 15:09:15 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 26EE823889C0; Sun, 22 Feb 2009 15:08:55 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r746720 - /incubator/rat/scan/trunk/ Date: Sun, 22 Feb 2009 15:08:55 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Sun Feb 22 15:08:54 2009 New Revision: 746720 URL: http://svn.apache.org/viewvc?rev=746720&view=rev Log: Create space for separate scan codebase Added: incubator/rat/scan/trunk/ From [email protected] Sun Feb 22 15:09:33 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51601 invoked from network); 22 Feb 2009 15:09:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Feb 2009 15:09:33 -0000 Received: (qmail 23468 invoked by uid 500); 22 Feb 2009 15:09:33 -0000 Delivered-To: [email protected] Received: (qmail 23447 invoked by uid 500); 22 Feb 2009 15:09:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23438 invoked by uid 99); 22 Feb 2009 15:09:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Feb 2009 07:09:32 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Feb 2009 15:09:32 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1BEA523888F4; Sun, 22 Feb 2009 15:09:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r746721 - /incubator/rat/scan/trunk/ Date: Sun, 22 Feb 2009 15:09:12 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Sun Feb 22 15:09:11 2009 New Revision: 746721 URL: http://svn.apache.org/viewvc?rev=746721&view=rev Log: Create space for separate scan codebase Removed: incubator/rat/scan/trunk/ From [email protected] Sun Feb 22 15:09:41 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51647 invoked from network); 22 Feb 2009 15:09:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Feb 2009 15:09:41 -0000 Received: (qmail 23519 invoked by uid 500); 22 Feb 2009 15:09:41 -0000 Delivered-To: [email protected] Received: (qmail 23496 invoked by uid 500); 22 Feb 2009 15:09:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23487 invoked by uid 99); 22 Feb 2009 15:09:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Feb 2009 07:09:41 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Feb 2009 15:09:39 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 87F232388A0E; Sun, 22 Feb 2009 15:09:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r746722 - /incubator/rat/scan/tags/ Date: Sun, 22 Feb 2009 15:09:18 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Sun Feb 22 15:09:18 2009 New Revision: 746722 URL: http://svn.apache.org/viewvc?rev=746722&view=rev Log: Create space for separate scan codebase Added: incubator/rat/scan/tags/ From [email protected] Sun Feb 22 15:09:47 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51705 invoked from network); 22 Feb 2009 15:09:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Feb 2009 15:09:47 -0000 Received: (qmail 23898 invoked by uid 500); 22 Feb 2009 15:09:47 -0000 Delivered-To: [email protected] Received: (qmail 23876 invoked by uid 500); 22 Feb 2009 15:09:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23867 invoked by uid 99); 22 Feb 2009 15:09:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Feb 2009 07:09:47 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Feb 2009 15:09:45 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 75F7F2388AC9; Sun, 22 Feb 2009 15:09:24 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r746723 - /incubator/rat/scan/branch/ Date: Sun, 22 Feb 2009 15:09:24 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Sun Feb 22 15:09:24 2009 New Revision: 746723 URL: http://svn.apache.org/viewvc?rev=746723&view=rev Log: Create space for separate scan codebase Added: incubator/rat/scan/branch/ From [email protected] Sun Feb 22 15:10:36 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51807 invoked from network); 22 Feb 2009 15:10:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Feb 2009 15:10:36 -0000 Received: (qmail 24075 invoked by uid 500); 22 Feb 2009 15:10:36 -0000 Delivered-To: [email protected] Received: (qmail 24061 invoked by uid 500); 22 Feb 2009 15:10:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 24052 invoked by uid 99); 22 Feb 2009 15:10:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Feb 2009 07:10:36 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Feb 2009 15:10:34 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id DDAED23888F4; Sun, 22 Feb 2009 15:10:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r746725 - in /incubator/rat: main/trunk/scan/ scan/trunk/ Date: Sun, 22 Feb 2009 15:10:13 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Sun Feb 22 15:10:13 2009 New Revision: 746725 URL: http://svn.apache.org/viewvc?rev=746725&view=rev Log: Separate scan codebase Added: incubator/rat/scan/trunk/ - copied from r746724, incubator/rat/main/trunk/scan/ Removed: incubator/rat/main/trunk/scan/ From [email protected] Mon Feb 23 22:35:41 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81002 invoked from network); 23 Feb 2009 22:35:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Feb 2009 22:35:41 -0000 Received: (qmail 95495 invoked by uid 500); 23 Feb 2009 22:35:41 -0000 Delivered-To: [email protected] Received: (qmail 95482 invoked by uid 500); 23 Feb 2009 22:35:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 95473 invoked by uid 99); 23 Feb 2009 22:35:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Feb 2009 14:35:41 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Feb 2009 22:35:40 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 3F67223888A3; Mon, 23 Feb 2009 22:35:20 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r747172 - in /incubator/rat/main: temp/ trunk/rat/ Date: Mon, 23 Feb 2009 22:35:20 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Mon Feb 23 22:35:18 2009 New Revision: 747172 URL: http://svn.apache.org/viewvc?rev=747172&view=rev Log: Temporary relocation Added: incubator/rat/main/temp/ - copied from r747171, incubator/rat/main/trunk/rat/ Removed: incubator/rat/main/trunk/rat/ From [email protected] Mon Feb 23 22:36:30 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81201 invoked from network); 23 Feb 2009 22:36:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Feb 2009 22:36:29 -0000 Received: (qmail 97698 invoked by uid 500); 23 Feb 2009 22:36:28 -0000 Delivered-To: [email protected] Received: (qmail 97678 invoked by uid 500); 23 Feb 2009 22:36:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 97657 invoked by uid 99); 23 Feb 2009 22:36:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Feb 2009 14:36:28 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Feb 2009 22:36:26 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 727B923889CD; Mon, 23 Feb 2009 22:36:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r747173 - /incubator/rat/main/trunk/ Date: Mon, 23 Feb 2009 22:36:05 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Mon Feb 23 22:36:04 2009 New Revision: 747173 URL: http://svn.apache.org/viewvc?rev=747173&view=rev Log: Make room Removed: incubator/rat/main/trunk/ From [email protected] Mon Feb 23 22:37:06 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81341 invoked from network); 23 Feb 2009 22:37:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Feb 2009 22:37:05 -0000 Received: (qmail 98150 invoked by uid 500); 23 Feb 2009 22:37:05 -0000 Delivered-To: [email protected] Received: (qmail 98136 invoked by uid 500); 23 Feb 2009 22:37:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 98125 invoked by uid 99); 23 Feb 2009 22:37:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Feb 2009 14:37:05 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Feb 2009 22:37:05 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 02BB723888A3; Mon, 23 Feb 2009 22:36:45 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r747174 - in /incubator/rat/main: temp/ trunk/ Date: Mon, 23 Feb 2009 22:36:44 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Mon Feb 23 22:36:43 2009 New Revision: 747174 URL: http://svn.apache.org/viewvc?rev=747174&view=rev Log: Move back to permenant position Added: incubator/rat/main/trunk/ - copied from r747173, incubator/rat/main/temp/ Removed: incubator/rat/main/temp/ From [email protected] Wed Feb 25 22:18:26 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77136 invoked from network); 25 Feb 2009 22:18:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Feb 2009 22:18:24 -0000 Received: (qmail 34555 invoked by uid 500); 25 Feb 2009 22:18:24 -0000 Delivered-To: [email protected] Received: (qmail 34535 invoked by uid 500); 25 Feb 2009 22:18:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34526 invoked by uid 99); 25 Feb 2009 22:18:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Feb 2009 14:18:24 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Feb 2009 22:18:22 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0C3BB238898E; Wed, 25 Feb 2009 22:18:01 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r747940 - /incubator/rat/main/trunk/pom.xml Date: Wed, 25 Feb 2009 22:18:00 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Wed Feb 25 22:18:00 2009 New Revision: 747940 URL: http://svn.apache.org/viewvc?rev=747940&view=rev Log: Updated URLs Modified: incubator/rat/main/trunk/pom.xml Modified: incubator/rat/main/trunk/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/pom.xml?rev=747940&r1=747939&r2=747940&view=diff ============================================================================== --- incubator/rat/main/trunk/pom.xml (original) +++ incubator/rat/main/trunk/pom.xml Wed Feb 25 22:18:00 2009 @@ -262,9 +262,9 @@ </contributors> <scm> - <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/rat/main/trunk/rat/</connection> - <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/rat/main/trunk/rat/</developerConnection> - <url>http://svn.apache.org/repos/asf/incubator/rat/main/trunk/rat/</url> + <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/rat/main/trunk/</connection> + <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/rat/main/trunk/</developerConnection> + <url>http://svn.apache.org/repos/asf/incubator/rat/main/trunk/</url> </scm> <distributionManagement> From [email protected] Wed Feb 25 23:02:24 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6994 invoked from network); 25 Feb 2009 23:02:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Feb 2009 23:02:24 -0000 Received: (qmail 72778 invoked by uid 500); 25 Feb 2009 23:02:24 -0000 Delivered-To: [email protected] Received: (qmail 72759 invoked by uid 500); 25 Feb 2009 23:02:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 72750 invoked by uid 99); 25 Feb 2009 23:02:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Feb 2009 15:02:24 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Feb 2009 23:02:17 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 2438F238898E; Wed, 25 Feb 2009 23:01:57 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r747949 - /incubator/rat/main/trunk/RELEASE_NOTES.txt Date: Wed, 25 Feb 2009 23:01:57 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Wed Feb 25 23:01:56 2009 New Revision: 747949 URL: http://svn.apache.org/viewvc?rev=747949&view=rev Log: Started release notes Modified: incubator/rat/main/trunk/RELEASE_NOTES.txt Modified: incubator/rat/main/trunk/RELEASE_NOTES.txt URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/RELEASE_NOTES.txt?rev=747949&r1=747948&r2=747949&view=diff ============================================================================== --- incubator/rat/main/trunk/RELEASE_NOTES.txt (original) +++ incubator/rat/main/trunk/RELEASE_NOTES.txt Wed Feb 25 23:01:56 2009 @@ -30,8 +30,7 @@ a wide variety of resources. See ant-task-examples.xml. To use the Ant tasks, Apache Ant 1.7 is required. See http://ant.apache.org/. -Projects using Maven are directed to the RAT plugin -http://mojo.codehaus.org/rat-maven-plugin. +For Maven builds, the plugin is recommended. In response to demands from project quality tool developers, RAT is available as a library (rat-lib jar) suitable for inclusion in tools. Note that binary compatibility @@ -39,20 +38,43 @@ final form and so library users are recommended to either use the supplied stylesheets or keep in close touch with the code. -RAT is in Incubation at Apache: http://incubator.apache.org/rat. +RAT is in Incubation at Apache: http://incubator.apache.org/rat Artifacts ========= - rat-0.5.1.jar combines the application (java -jar rat-0.5.1.jar) and Antlib - rat-lib-0.5.1.jar is a library distribution aimed at tool makers + TODO: +RAT 0.6 +=========== * Support for TMF header * Comprehend PEM, CRL file endings - -After 0.5.1 -=========== * Added reporting capability to recursive rat script * Moved to the Incubator@Apache + * Issues Resolved (see http://issues.apache.org/jira): + * Bug: + * RAT-3 Incorrect alignment of file contents + * RAT-11 Incorrect number of unnapproved licences reported + * RAT-12 Incorrect SCM info in maven plugin pom + * RAT-29 NPE on &quot;mvn install&quot; in rat-anttasks + * RAT-33 Mailing list subscribe points to unsubscribe + * RAT-34 No license header added for java files that do not contain project line + * RAT-35 Incorrect number of unapproved licenses reported by rat:check + * RAT-36 Report header incorrectly refers to an &quot;L&quot; license marker + * Improvement: + * RAT-8 [PATCH] add JavaCC to GeneratedLicenseNotRequired + * RAT-9 A more informative website + * RAT-10 A few Javadoc comments + * RAT-23 More details in text summary + * RAT-24 Include checksums on web page + * RAT-26 Improve web summary + * RAT-27 Index page + * RAT-37 List all resources with unapproved licenses at the beginning of the report + * New Feature + * RAT-6 RAT Source Import + * Task + * RAT-28 Repackage maven plugin + * Wish + * RAT-1 maven-rat-plugin and ant-rat tasks RAT 0.5.1 ========= From [email protected] Fri Feb 27 12:59:53 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30451 invoked from network); 27 Feb 2009 12:59:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2009 12:59:53 -0000 Received: (qmail 38212 invoked by uid 500); 27 Feb 2009 12:59:53 -0000 Delivered-To: [email protected] Received: (qmail 38191 invoked by uid 500); 27 Feb 2009 12:59:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 38182 invoked by uid 99); 27 Feb 2009 12:59:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 04:59:52 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 12:59:51 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C3856238889F; Fri, 27 Feb 2009 12:59:31 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748499 - in /incubator/rat/main/trunk: ./ apache-rat-core/ apache-rat-plugin/ apache-rat-tasks/ apache-rat/ rat-anttasks/ rat-app/ rat-core/ rat-maven-plugin/ Date: Fri, 27 Feb 2009 12:59:31 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Fri Feb 27 12:59:30 2009 New Revision: 748499 URL: http://svn.apache.org/viewvc?rev=748499&view=rev Log: Revising module naming: prefix with apache and shortening maven-plugin -> plugin, anttasks->tasks RAT-38 https://issues.apache.org/jira/browse/RAT-38 Added: incubator/rat/main/trunk/apache-rat/ - copied from r747937, incubator/rat/main/trunk/rat-app/ incubator/rat/main/trunk/apache-rat-core/ - copied from r747937, incubator/rat/main/trunk/rat-core/ incubator/rat/main/trunk/apache-rat-plugin/ - copied from r747937, incubator/rat/main/trunk/rat-maven-plugin/ incubator/rat/main/trunk/apache-rat-tasks/ - copied from r747937, incubator/rat/main/trunk/rat-anttasks/ Removed: incubator/rat/main/trunk/rat-anttasks/ incubator/rat/main/trunk/rat-app/ incubator/rat/main/trunk/rat-core/ incubator/rat/main/trunk/rat-maven-plugin/ Modified: incubator/rat/main/trunk/apache-rat-core/pom.xml incubator/rat/main/trunk/apache-rat-plugin/pom.xml incubator/rat/main/trunk/apache-rat-tasks/pom.xml incubator/rat/main/trunk/apache-rat/pom.xml incubator/rat/main/trunk/pom.xml Modified: incubator/rat/main/trunk/apache-rat-core/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-core/pom.xml?rev=748499&r1=747937&r2=748499&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-core/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-core/pom.xml Fri Feb 27 12:59:30 2009 @@ -26,10 +26,10 @@ <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.rat</groupId> - <artifactId>rat</artifactId> + <artifactId>apache-rat-project</artifactId> <version>0.6-SNAPSHOT</version> </parent> - <artifactId>rat-core</artifactId> + <artifactId>apache-rat-core</artifactId> <packaging>jar</packaging> <name>RAT Core</name> <description>The core functionality of RAT, shared by rat-anttasks, Modified: incubator/rat/main/trunk/apache-rat-plugin/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-plugin/pom.xml?rev=748499&r1=747937&r2=748499&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-plugin/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-plugin/pom.xml Fri Feb 27 12:59:30 2009 @@ -1,11 +1,11 @@ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> - <artifactId>rat</artifactId> + <artifactId>apache-rat-project</artifactId> <groupId>org.apache.rat</groupId> <version>0.6-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> - <artifactId>rat-maven-plugin</artifactId> + <artifactId>apache-rat-plugin</artifactId> <packaging>maven-plugin</packaging> <name>RAT Maven Plugin</name> <description>Maven 2 plugin for running RAT, the Release Audit Tool.</description> Modified: incubator/rat/main/trunk/apache-rat-tasks/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-tasks/pom.xml?rev=748499&r1=747937&r2=748499&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-tasks/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-tasks/pom.xml Fri Feb 27 12:59:30 2009 @@ -26,10 +26,10 @@ <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.rat</groupId> - <artifactId>rat</artifactId> + <artifactId>apache-rat-project</artifactId> <version>0.6-SNAPSHOT</version> </parent> - <artifactId>rat-anttasks</artifactId> + <artifactId>apache-rat-tasks</artifactId> <packaging>jar</packaging> <name>RAT Ant Tasks</name> <description>Ant tasks for running RAT</description> @@ -37,7 +37,7 @@ <dependencies> <dependency> <groupId>org.apache.rat</groupId> - <artifactId>rat-core</artifactId> + <artifactId>apache-rat-core</artifactId> </dependency> <dependency> <groupId>org.apache.ant</groupId> Modified: incubator/rat/main/trunk/apache-rat/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat/pom.xml?rev=748499&r1=747937&r2=748499&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat/pom.xml Fri Feb 27 12:59:30 2009 @@ -26,10 +26,10 @@ <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.rat</groupId> - <artifactId>rat</artifactId> + <artifactId>apache-rat-project</artifactId> <version>0.6-SNAPSHOT</version> </parent> - <artifactId>rat-app</artifactId> + <artifactId>apache-rat</artifactId> <packaging>jar</packaging> <name>RAT Application</name> <description> @@ -42,11 +42,11 @@ <dependencies> <dependency> <groupId>org.apache.rat</groupId> - <artifactId>rat-core</artifactId> + <artifactId>apache-rat-core</artifactId> </dependency> <dependency> <groupId>org.apache.rat</groupId> - <artifactId>rat-anttasks</artifactId> + <artifactId>apache-rat-tasks</artifactId> </dependency> </dependencies> Modified: incubator/rat/main/trunk/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/pom.xml?rev=748499&r1=748498&r2=748499&view=diff ============================================================================== --- incubator/rat/main/trunk/pom.xml (original) +++ incubator/rat/main/trunk/pom.xml Fri Feb 27 12:59:30 2009 @@ -30,7 +30,7 @@ <version>4</version> </parent> <groupId>org.apache.rat</groupId> - <artifactId>rat</artifactId> + <artifactId>apache-rat-project</artifactId> <packaging>pom</packaging> <version>0.6-SNAPSHOT</version> <name>RAT</name> @@ -51,12 +51,12 @@ <dependencies> <dependency> <groupId>org.apache.rat</groupId> - <artifactId>rat-core</artifactId> + <artifactId>apache-rat-core</artifactId> <version>0.6-SNAPSHOT</version> </dependency> <dependency> <groupId>org.apache.rat</groupId> - <artifactId>rat-anttasks</artifactId> + <artifactId>apache-rat-tasks</artifactId> <version>0.6-SNAPSHOT</version> </dependency> <dependency> @@ -276,9 +276,9 @@ </distributionManagement> <modules> - <module>rat-core</module> - <module>rat-maven-plugin</module> - <module>rat-anttasks</module> - <module>rat-app</module> + <module>apache-rat-core</module> + <module>apache-rat-plugin</module> + <module>apache-rat-tasks</module> + <module>apache-rat</module> </modules> </project> From [email protected] Fri Feb 27 13:37:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57825 invoked from network); 27 Feb 2009 13:37:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2009 13:37:19 -0000 Received: (qmail 84045 invoked by uid 500); 27 Feb 2009 13:37:19 -0000 Delivered-To: [email protected] Received: (qmail 84022 invoked by uid 500); 27 Feb 2009 13:37:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84013 invoked by uid 99); 27 Feb 2009 13:37:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 05:37:19 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 13:37:19 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B8F0323889B2; Fri, 27 Feb 2009 13:36:58 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748518 - in /incubator/rat/main/trunk/apache-rat-plugin: pom.xml src/test/it1/pom.xml src/test/it2/pom.xml src/test/it3/pom.xml Date: Fri, 27 Feb 2009 13:36:58 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Fri Feb 27 13:36:58 2009 New Revision: 748518 URL: http://svn.apache.org/viewvc?rev=748518&view=rev Log: Fix test broken by renaming RAT-38 https://issues.apache.org/jira/browse/RAT-38 Modified: incubator/rat/main/trunk/apache-rat-plugin/pom.xml incubator/rat/main/trunk/apache-rat-plugin/src/test/it1/pom.xml incubator/rat/main/trunk/apache-rat-plugin/src/test/it2/pom.xml incubator/rat/main/trunk/apache-rat-plugin/src/test/it3/pom.xml Modified: incubator/rat/main/trunk/apache-rat-plugin/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-plugin/pom.xml?rev=748518&r1=748517&r2=748518&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-plugin/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-plugin/pom.xml Fri Feb 27 13:36:58 2009 @@ -67,7 +67,7 @@ <dependencies> <dependency> <groupId>org.apache.rat</groupId> - <artifactId>rat-core</artifactId> + <artifactId>apache-rat-core</artifactId> <version>0.6-SNAPSHOT</version> </dependency> <dependency> Modified: incubator/rat/main/trunk/apache-rat-plugin/src/test/it1/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-plugin/src/test/it1/pom.xml?rev=748518&r1=748517&r2=748518&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-plugin/src/test/it1/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-plugin/src/test/it1/pom.xml Fri Feb 27 13:36:58 2009 @@ -25,9 +25,9 @@ <build> <plugins> <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>rat-maven-plugin</artifactId> - <version>1.0-alpha-3-SNAPSHOT</version> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <version>0.6-SNAPSHOT</version> <configuration> </configuration> </plugin> Modified: incubator/rat/main/trunk/apache-rat-plugin/src/test/it2/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-plugin/src/test/it2/pom.xml?rev=748518&r1=748517&r2=748518&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-plugin/src/test/it2/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-plugin/src/test/it2/pom.xml Fri Feb 27 13:36:58 2009 @@ -19,15 +19,15 @@ xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <groupId>org.codehaus.mojo.rat.test</groupId> + <groupId>org.apache.rat.test</groupId> <artifactId>it2</artifactId> <version>1.0</version> <build> <plugins> <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>rat-maven-plugin</artifactId> - <version>1.0-alpha-3-SNAPSHOT</version> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <version>0.6-SNAPSHOT</version> <configuration> </configuration> </plugin> Modified: incubator/rat/main/trunk/apache-rat-plugin/src/test/it3/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-plugin/src/test/it3/pom.xml?rev=748518&r1=748517&r2=748518&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-plugin/src/test/it3/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-plugin/src/test/it3/pom.xml Fri Feb 27 13:36:58 2009 @@ -19,15 +19,15 @@ xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <groupId>org.codehaus.mojo.rat.test</groupId> + <groupId>org.apache.rat.test</groupId> <artifactId>it1</artifactId> <version>1.0</version> <build> <plugins> <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>rat-maven-plugin</artifactId> - <version>1.0-alpha-3-SNAPSHOT</version> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <version>0.6-SNAPSHOT</version> <configuration> </configuration> </plugin> @@ -36,9 +36,9 @@ <reporting> <plugins> <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>rat-maven-plugin</artifactId> - <version>1.0-alpha-3-SNAPSHOT</version> + <groupId>org.apache.rat</groupId> + <artifactId>apche-rat-plugin</artifactId> + <version>0.6-SNAPSHOT</version> <configuration> </configuration> </plugin> From [email protected] Fri Feb 27 13:50:03 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69755 invoked from network); 27 Feb 2009 13:50:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2009 13:50:03 -0000 Received: (qmail 7823 invoked by uid 500); 27 Feb 2009 13:50:03 -0000 Delivered-To: [email protected] Received: (qmail 7800 invoked by uid 500); 27 Feb 2009 13:50:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7790 invoked by uid 99); 27 Feb 2009 13:50:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 05:50:03 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 13:50:02 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 4E19923888CA; Fri, 27 Feb 2009 13:49:42 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748526 - /incubator/rat/main/trunk/apache-rat-plugin/src/main/java/org/codehaus/ Date: Fri, 27 Feb 2009 13:49:42 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Fri Feb 27 13:49:41 2009 New Revision: 748526 URL: http://svn.apache.org/viewvc?rev=748526&view=rev Log: Delete old, unused source directories RAT-38 https://issues.apache.org/jira/browse/RAT-38 Removed: incubator/rat/main/trunk/apache-rat-plugin/src/main/java/org/codehaus/ From [email protected] Fri Feb 27 13:53:38 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 72256 invoked from network); 27 Feb 2009 13:53:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2009 13:53:38 -0000 Received: (qmail 13268 invoked by uid 500); 27 Feb 2009 13:53:38 -0000 Delivered-To: [email protected] Received: (qmail 13250 invoked by uid 500); 27 Feb 2009 13:53:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13241 invoked by uid 99); 27 Feb 2009 13:53:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 05:53:38 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 13:53:37 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 4D32A23888CA; Fri, 27 Feb 2009 13:53:17 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748527 - in /incubator/rat/main/trunk/apache-rat-plugin/src/test/java/org: apache/ apache/mojo/rat/RatCheckMojoTest.java codehaus/ Date: Fri, 27 Feb 2009 13:53:17 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Fri Feb 27 13:53:16 2009 New Revision: 748527 URL: http://svn.apache.org/viewvc?rev=748527&view=rev Log: Repackage test RAT-38 https://issues.apache.org/jira/browse/RAT-38 Added: incubator/rat/main/trunk/apache-rat-plugin/src/test/java/org/apache/ - copied from r748499, incubator/rat/main/trunk/apache-rat-plugin/src/test/java/org/codehaus/ Removed: incubator/rat/main/trunk/apache-rat-plugin/src/test/java/org/codehaus/ Modified: incubator/rat/main/trunk/apache-rat-plugin/src/test/java/org/apache/mojo/rat/RatCheckMojoTest.java Modified: incubator/rat/main/trunk/apache-rat-plugin/src/test/java/org/apache/mojo/rat/RatCheckMojoTest.java URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-plugin/src/test/java/org/apache/mojo/rat/RatCheckMojoTest.java?rev=748527&r1=748499&r2=748527&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-plugin/src/test/java/org/apache/mojo/rat/RatCheckMojoTest.java (original) +++ incubator/rat/main/trunk/apache-rat-plugin/src/test/java/org/apache/mojo/rat/RatCheckMojoTest.java Fri Feb 27 13:53:16 2009 @@ -1,4 +1,4 @@ -package org.codehaus.mojo.rat; +package org.apache.mojo.rat; /* * Licensed to the Apache Software Foundation (ASF) under one or more From [email protected] Fri Feb 27 13:57:24 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76007 invoked from network); 27 Feb 2009 13:57:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2009 13:57:24 -0000 Received: (qmail 20346 invoked by uid 500); 27 Feb 2009 13:57:24 -0000 Delivered-To: [email protected] Received: (qmail 20325 invoked by uid 500); 27 Feb 2009 13:57:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 20316 invoked by uid 99); 27 Feb 2009 13:57:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 05:57:24 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 13:57:16 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 6C75C23888A5; Fri, 27 Feb 2009 13:56:55 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748530 - in /incubator/rat/main/trunk/apache-rat-plugin/src/test/java/org/apache: mojo/ rat/ rat/mp/ rat/mp/RatCheckMojoTest.java Date: Fri, 27 Feb 2009 13:56:55 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Fri Feb 27 13:56:54 2009 New Revision: 748530 URL: http://svn.apache.org/viewvc?rev=748530&view=rev Log: Complete Repackaging of test RAT-38 https://issues.apache.org/jira/browse/RAT-38 Added: incubator/rat/main/trunk/apache-rat-plugin/src/test/java/org/apache/rat/ incubator/rat/main/trunk/apache-rat-plugin/src/test/java/org/apache/rat/mp/ incubator/rat/main/trunk/apache-rat-plugin/src/test/java/org/apache/rat/mp/RatCheckMojoTest.java - copied, changed from r748527, incubator/rat/main/trunk/apache-rat-plugin/src/test/java/org/apache/mojo/rat/RatCheckMojoTest.java Removed: incubator/rat/main/trunk/apache-rat-plugin/src/test/java/org/apache/mojo/ Copied: incubator/rat/main/trunk/apache-rat-plugin/src/test/java/org/apache/rat/mp/RatCheckMojoTest.java (from r748527, incubator/rat/main/trunk/apache-rat-plugin/src/test/java/org/apache/mojo/rat/RatCheckMojoTest.java) URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-plugin/src/test/java/org/apache/rat/mp/RatCheckMojoTest.java?p2=incubator/rat/main/trunk/apache-rat-plugin/src/test/java/org/apache/rat/mp/RatCheckMojoTest.java&p1=incubator/rat/main/trunk/apache-rat-plugin/src/test/java/org/apache/mojo/rat/RatCheckMojoTest.java&r1=748527&r2=748530&rev=748530&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-plugin/src/test/java/org/apache/mojo/rat/RatCheckMojoTest.java (original) +++ incubator/rat/main/trunk/apache-rat-plugin/src/test/java/org/apache/rat/mp/RatCheckMojoTest.java Fri Feb 27 13:56:54 2009 @@ -1,4 +1,4 @@ -package org.apache.mojo.rat; +package org.apache.rat.mp; /* * Licensed to the Apache Software Foundation (ASF) under one or more From [email protected] Fri Feb 27 14:27:53 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2290 invoked from network); 27 Feb 2009 14:27:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2009 14:27:50 -0000 Received: (qmail 63710 invoked by uid 500); 27 Feb 2009 14:27:50 -0000 Delivered-To: [email protected] Received: (qmail 63687 invoked by uid 500); 27 Feb 2009 14:27:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 63678 invoked by uid 99); 27 Feb 2009 14:27:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 06:27:50 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 14:27:43 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1932B23888F1; Fri, 27 Feb 2009 14:27:23 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748539 - /incubator/rat/main/trunk/apache-rat-tasks/src/test/resources/antunit/report-normal-operation.xml Date: Fri, 27 Feb 2009 14:27:22 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Fri Feb 27 14:27:22 2009 New Revision: 748539 URL: http://svn.apache.org/viewvc?rev=748539&view=rev Log: Create test output in target RAT-38 https://issues.apache.org/jira/browse/RAT-38 Modified: incubator/rat/main/trunk/apache-rat-tasks/src/test/resources/antunit/report-normal-operation.xml Modified: incubator/rat/main/trunk/apache-rat-tasks/src/test/resources/antunit/report-normal-operation.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-tasks/src/test/resources/antunit/report-normal-operation.xml?rev=748539&r1=748538&r2=748539&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-tasks/src/test/resources/antunit/report-normal-operation.xml (original) +++ incubator/rat/main/trunk/apache-rat-tasks/src/test/resources/antunit/report-normal-operation.xml Fri Feb 27 14:27:22 2009 @@ -25,7 +25,7 @@ xmlns:au="antlib:org.apache.ant.antunit" xmlns:rat="antlib:org.apache.rat.anttasks"> - <property name="output.dir" location="testoutput"/> + <property name="output.dir" location="../../../../target/testoutput"/> <mkdir dir="${output.dir}/dest"/> <path id="all-classes-needed-for-tests"> <pathelement location="${jar.name}" /> From [email protected] Fri Feb 27 15:06:21 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36005 invoked from network); 27 Feb 2009 15:06:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2009 15:06:21 -0000 Received: (qmail 23887 invoked by uid 500); 27 Feb 2009 15:06:21 -0000 Delivered-To: [email protected] Received: (qmail 23869 invoked by uid 500); 27 Feb 2009 15:06:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23860 invoked by uid 99); 27 Feb 2009 15:06:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 07:06:21 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 15:06:18 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A400923888F1; Fri, 27 Feb 2009 15:05:57 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748544 - in /incubator/rat/main/trunk/apache-rat: pom.xml src/assemble/ src/assemble/bin.xml src/assemble/src.xml Date: Fri, 27 Feb 2009 15:05:57 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Fri Feb 27 15:05:56 2009 New Revision: 748544 URL: http://svn.apache.org/viewvc?rev=748544&view=rev Log: Basic assembly RAT-38 https://issues.apache.org/jira/browse/RAT-38 Added: incubator/rat/main/trunk/apache-rat/src/assemble/ incubator/rat/main/trunk/apache-rat/src/assemble/bin.xml incubator/rat/main/trunk/apache-rat/src/assemble/src.xml Modified: incubator/rat/main/trunk/apache-rat/pom.xml Modified: incubator/rat/main/trunk/apache-rat/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat/pom.xml?rev=748544&r1=748543&r2=748544&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat/pom.xml Fri Feb 27 15:05:56 2009 @@ -85,6 +85,22 @@ </archive> </configuration> </plugin> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <version>2.2-beta-2</version> + <configuration> + <descriptorSourceDirectory>${basedir}/src/assemble/</descriptorSourceDirectory> + </configuration> + <executions> + <execution> + <id>make-assembly</id> + <phase>package</phase> <!-- append to the packaging phase. --> + <goals> + <goal>attached</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </build> </project> Added: incubator/rat/main/trunk/apache-rat/src/assemble/bin.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat/src/assemble/bin.xml?rev=748544&view=auto ============================================================================== --- incubator/rat/main/trunk/apache-rat/src/assemble/bin.xml (added) +++ incubator/rat/main/trunk/apache-rat/src/assemble/bin.xml Fri Feb 27 15:05:56 2009 @@ -0,0 +1,77 @@ +<assembly> + <!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied. + + --> + <id>bin</id> + <!-- + Generates a jar file including the binary jar and the runtime dependencies. + including NOTICE and LICENSE in the root. + --> + <formats> + <format>zip</format> + <format>tar.gz</format> + </formats> + <fileSets> + <fileSet> + <directory>${project.basedir}/..</directory> + <outputDirectory>/</outputDirectory> + <includes> + <include>LICENSE.*</include> + <include>NOTICE.*</include> + <include>RELEASE_NOTES.txt</include> + <include>DISCLAIMER.txt</include> + </includes> + </fileSet> + <fileSet> + <directory>${project.basedir}/../apache-rat-core/target</directory> + <outputDirectory>/</outputDirectory> + <includes> + <include>apache-rat*.jar</include> + </includes> + </fileSet> + <fileSet> + <directory>${project.basedir}/../apache-rat-plugin/target</directory> + <outputDirectory>/</outputDirectory> + <includes> + <include>apache-rat*.jar</include> + </includes> + </fileSet> + <fileSet> + <directory>${project.basedir}/../apache-rat-tasks/target</directory> + <outputDirectory>/</outputDirectory> + <includes> + <include>apache-rat*.jar</include> + </includes> + </fileSet> + <fileSet> + <directory>target</directory> + <outputDirectory>/</outputDirectory> + <includes> + <include>apache-rat*.jar</include> + </includes> + </fileSet> + </fileSets> + <dependencySets> + <dependencySet> + <outputDirectory>/lib/</outputDirectory> + <useProjectArtifact>false</useProjectArtifact> + <scope>runtime</scope> + <excludes> + <exclude>apache-rat*</exclude> + </excludes> + </dependencySet> + </dependencySets> +</assembly> \ No newline at end of file Added: incubator/rat/main/trunk/apache-rat/src/assemble/src.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat/src/assemble/src.xml?rev=748544&view=auto ============================================================================== --- incubator/rat/main/trunk/apache-rat/src/assemble/src.xml (added) +++ incubator/rat/main/trunk/apache-rat/src/assemble/src.xml Fri Feb 27 15:05:56 2009 @@ -0,0 +1,41 @@ +<assembly> + <!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied. + --> + <id>src</id> + <!-- + Generates a file including all the source tree excluding files/folders + starting with "." , *.bak and the target + --> + <formats> + <format>zip</format> + <format>tar.gz</format> + </formats> + <fileSets> + <fileSet> + <directory>${project.basedir}/..</directory> + <outputDirectory></outputDirectory> + <excludes> + <exclude>**/target/**</exclude> + <exclude>.*</exclude> + <exclude>.*/**</exclude> + <exclude>**.bak</exclude> + <exclude>*.jar</exclude> + <exclude>**/.*</exclude> + </excludes> + <useDefaultExcludes>true</useDefaultExcludes> + </fileSet> + </fileSets> +</assembly> \ No newline at end of file From [email protected] Fri Feb 27 15:10:56 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37930 invoked from network); 27 Feb 2009 15:10:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2009 15:10:56 -0000 Received: (qmail 31321 invoked by uid 500); 27 Feb 2009 15:10:56 -0000 Delivered-To: [email protected] Received: (qmail 31297 invoked by uid 500); 27 Feb 2009 15:10:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31288 invoked by uid 99); 27 Feb 2009 15:10:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 07:10:56 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 15:10:54 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 6C1EB23888F1; Fri, 27 Feb 2009 15:10:33 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748547 - /incubator/rat/main/trunk/pom.xml Date: Fri, 27 Feb 2009 15:10:33 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Fri Feb 27 15:10:33 2009 New Revision: 748547 URL: http://svn.apache.org/viewvc?rev=748547&view=rev Log: Best to specify an encoding RAT-38 https://issues.apache.org/jira/browse/RAT-38 Modified: incubator/rat/main/trunk/pom.xml Modified: incubator/rat/main/trunk/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/pom.xml?rev=748547&r1=748546&r2=748547&view=diff ============================================================================== --- incubator/rat/main/trunk/pom.xml (original) +++ incubator/rat/main/trunk/pom.xml Fri Feb 27 15:10:33 2009 @@ -167,6 +167,7 @@ <configuration> <source>1.4</source> <target>1.4</target> + <encoding>iso8859-1</encoding> </configuration> </plugin> <plugin> From [email protected] Fri Feb 27 15:14:18 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39274 invoked from network); 27 Feb 2009 15:14:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2009 15:14:18 -0000 Received: (qmail 35881 invoked by uid 500); 27 Feb 2009 15:14:14 -0000 Delivered-To: [email protected] Received: (qmail 35865 invoked by uid 500); 27 Feb 2009 15:14:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 35844 invoked by uid 99); 27 Feb 2009 15:14:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 07:14:14 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 15:14:13 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 4DCF223888CA; Fri, 27 Feb 2009 15:13:52 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748548 - in /incubator/rat/main/trunk/apache-rat/src/assemble: bin.xml src.xml Date: Fri, 27 Feb 2009 15:13:52 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Fri Feb 27 15:13:51 2009 New Revision: 748548 URL: http://svn.apache.org/viewvc?rev=748548&view=rev Log: Ship bzip'd (as per original assembly) RAT-38 https://issues.apache.org/jira/browse/RAT-38 Modified: incubator/rat/main/trunk/apache-rat/src/assemble/bin.xml incubator/rat/main/trunk/apache-rat/src/assemble/src.xml Modified: incubator/rat/main/trunk/apache-rat/src/assemble/bin.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat/src/assemble/bin.xml?rev=748548&r1=748547&r2=748548&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat/src/assemble/bin.xml (original) +++ incubator/rat/main/trunk/apache-rat/src/assemble/bin.xml Fri Feb 27 15:13:51 2009 @@ -23,6 +23,7 @@ <formats> <format>zip</format> <format>tar.gz</format> + <format>tar.bz2</format> </formats> <fileSets> <fileSet> Modified: incubator/rat/main/trunk/apache-rat/src/assemble/src.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat/src/assemble/src.xml?rev=748548&r1=748547&r2=748548&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat/src/assemble/src.xml (original) +++ incubator/rat/main/trunk/apache-rat/src/assemble/src.xml Fri Feb 27 15:13:51 2009 @@ -22,6 +22,7 @@ <formats> <format>zip</format> <format>tar.gz</format> + <format>tar.bz2</format> </formats> <fileSets> <fileSet> From [email protected] Fri Feb 27 15:18:19 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40733 invoked from network); 27 Feb 2009 15:18:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2009 15:18:19 -0000 Received: (qmail 41146 invoked by uid 500); 27 Feb 2009 15:18:19 -0000 Delivered-To: [email protected] Received: (qmail 41129 invoked by uid 500); 27 Feb 2009 15:18:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 41120 invoked by uid 99); 27 Feb 2009 15:18:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 07:18:19 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 15:18:17 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 9F8E023888CA; Fri, 27 Feb 2009 15:17:56 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748550 - in /incubator/rat/main/trunk: pom.xml src/main/assembly/ Date: Fri, 27 Feb 2009 15:17:53 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Fri Feb 27 15:17:48 2009 New Revision: 748550 URL: http://svn.apache.org/viewvc?rev=748550&view=rev Log: Use assembly in apache-rat module RAT-38 https://issues.apache.org/jira/browse/RAT-38 Removed: incubator/rat/main/trunk/src/main/assembly/ Modified: incubator/rat/main/trunk/pom.xml Modified: incubator/rat/main/trunk/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/pom.xml?rev=748550&r1=748549&r2=748550&view=diff ============================================================================== --- incubator/rat/main/trunk/pom.xml (original) +++ incubator/rat/main/trunk/pom.xml Fri Feb 27 15:17:48 2009 @@ -175,13 +175,6 @@ <version>2.0.4</version> </plugin> <plugin> - <artifactId>maven-assembly-plugin</artifactId> - <version>2.2-beta-2</version> - <configuration> - <descriptorSourceDirectory>src/main/assembly</descriptorSourceDirectory> - </configuration> - </plugin> - <plugin> <artifactId>maven-antrun-plugin</artifactId> <dependencies> <dependency> From [email protected] Fri Feb 27 15:22:16 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42613 invoked from network); 27 Feb 2009 15:22:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2009 15:22:16 -0000 Received: (qmail 46952 invoked by uid 500); 27 Feb 2009 15:22:16 -0000 Delivered-To: [email protected] Received: (qmail 46932 invoked by uid 500); 27 Feb 2009 15:22:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 46921 invoked by uid 99); 27 Feb 2009 15:22:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 07:22:16 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 15:22:14 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A16E023888CA; Fri, 27 Feb 2009 15:21:52 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748554 - in /incubator/rat/main/trunk/apache-rat/src/assemble: bin.xml src.xml Date: Fri, 27 Feb 2009 15:21:52 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: bodewig Date: Fri Feb 27 15:21:52 2009 New Revision: 748554 URL: http://svn.apache.org/viewvc?rev=748554&view=rev Log: eol-style Modified: incubator/rat/main/trunk/apache-rat/src/assemble/bin.xml (props changed) incubator/rat/main/trunk/apache-rat/src/assemble/src.xml (props changed) Propchange: incubator/rat/main/trunk/apache-rat/src/assemble/bin.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/apache-rat/src/assemble/src.xml ------------------------------------------------------------------------------ svn:eol-style = native From [email protected] Fri Feb 27 15:29:54 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47362 invoked from network); 27 Feb 2009 15:29:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2009 15:29:54 -0000 Received: (qmail 56616 invoked by uid 500); 27 Feb 2009 15:29:54 -0000 Delivered-To: [email protected] Received: (qmail 56592 invoked by uid 500); 27 Feb 2009 15:29:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 56583 invoked by uid 99); 27 Feb 2009 15:29:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 07:29:54 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 15:29:52 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E35DC23889B2; Fri, 27 Feb 2009 15:29:30 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748557 - in /incubator/rat/main/trunk: apache-rat-core/pom.xml apache-rat-plugin/pom.xml apache-rat-tasks/pom.xml Date: Fri, 27 Feb 2009 15:29:30 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Fri Feb 27 15:29:30 2009 New Revision: 748557 URL: http://svn.apache.org/viewvc?rev=748557&view=rev Log: Include javadocs in release RAT-38 https://issues.apache.org/jira/browse/RAT-38 Modified: incubator/rat/main/trunk/apache-rat-core/pom.xml incubator/rat/main/trunk/apache-rat-plugin/pom.xml incubator/rat/main/trunk/apache-rat-tasks/pom.xml Modified: incubator/rat/main/trunk/apache-rat-core/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-core/pom.xml?rev=748557&r1=748556&r2=748557&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-core/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-core/pom.xml Fri Feb 27 15:29:30 2009 @@ -35,6 +35,27 @@ <description>The core functionality of RAT, shared by rat-anttasks, and rat-maven-plugin.</description> + <build> + <pluginManagement> + <plugins> + <plugin> + <artifactId>maven-javadoc-plugin</artifactId> + <version>2.4</version> + <executions> + <execution> + <id>create-javadocs</id> + <phase>package</phase> + <goals> + <goal>javadoc</goal> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </pluginManagement> + </build> + <dependencies> <dependency> <groupId>commons-collections</groupId> Modified: incubator/rat/main/trunk/apache-rat-plugin/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-plugin/pom.xml?rev=748557&r1=748556&r2=748557&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-plugin/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-plugin/pom.xml Fri Feb 27 15:29:30 2009 @@ -62,6 +62,20 @@ </execution> </executions> </plugin> + <plugin> + <artifactId>maven-javadoc-plugin</artifactId> + <version>2.4</version> + <executions> + <execution> + <id>create-javadocs</id> + <phase>package</phase> + <goals> + <goal>javadoc</goal> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </build> <dependencies> Modified: incubator/rat/main/trunk/apache-rat-tasks/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-tasks/pom.xml?rev=748557&r1=748556&r2=748557&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-tasks/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-tasks/pom.xml Fri Feb 27 15:29:30 2009 @@ -76,6 +76,20 @@ </executions> </plugin> <plugin> + <artifactId>maven-javadoc-plugin</artifactId> + <version>2.4</version> + <executions> + <execution> + <id>create-javadocs</id> + <phase>package</phase> + <goals> + <goal>javadoc</goal> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> From [email protected] Fri Feb 27 15:38:43 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51295 invoked from network); 27 Feb 2009 15:38:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2009 15:38:43 -0000 Received: (qmail 68664 invoked by uid 500); 27 Feb 2009 15:38:43 -0000 Delivered-To: [email protected] Received: (qmail 68642 invoked by uid 500); 27 Feb 2009 15:38:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 68633 invoked by uid 99); 27 Feb 2009 15:38:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 07:38:43 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 15:38:42 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 7932E23889B2; Fri, 27 Feb 2009 15:38:22 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748559 - in /incubator/rat/main/trunk: apache-rat-core/pom.xml apache-rat-plugin/pom.xml apache-rat-tasks/pom.xml Date: Fri, 27 Feb 2009 15:38:22 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Fri Feb 27 15:38:21 2009 New Revision: 748559 URL: http://svn.apache.org/viewvc?rev=748559&view=rev Log: Include sources in release RAT-38 https://issues.apache.org/jira/browse/RAT-38 Modified: incubator/rat/main/trunk/apache-rat-core/pom.xml incubator/rat/main/trunk/apache-rat-plugin/pom.xml incubator/rat/main/trunk/apache-rat-tasks/pom.xml Modified: incubator/rat/main/trunk/apache-rat-core/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-core/pom.xml?rev=748559&r1=748558&r2=748559&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-core/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-core/pom.xml Fri Feb 27 15:38:21 2009 @@ -52,6 +52,19 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <version>2.0.4</version> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </pluginManagement> </build> Modified: incubator/rat/main/trunk/apache-rat-plugin/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-plugin/pom.xml?rev=748559&r1=748558&r2=748559&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-plugin/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-plugin/pom.xml Fri Feb 27 15:38:21 2009 @@ -76,6 +76,19 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <version>2.0.4</version> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </build> <dependencies> Modified: incubator/rat/main/trunk/apache-rat-tasks/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-tasks/pom.xml?rev=748559&r1=748558&r2=748559&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-tasks/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-tasks/pom.xml Fri Feb 27 15:38:21 2009 @@ -90,6 +90,19 @@ </executions> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <version>2.0.4</version> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> From [email protected] Fri Feb 27 15:43:51 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54248 invoked from network); 27 Feb 2009 15:43:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2009 15:43:51 -0000 Received: (qmail 77673 invoked by uid 500); 27 Feb 2009 15:43:51 -0000 Delivered-To: [email protected] Received: (qmail 77653 invoked by uid 500); 27 Feb 2009 15:43:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 77644 invoked by uid 99); 27 Feb 2009 15:43:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 07:43:51 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 15:43:49 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 4FD7E23888CA; Fri, 27 Feb 2009 15:43:28 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748562 - in /incubator/rat/main/trunk: apache-rat-core/pom.xml apache-rat-plugin/pom.xml apache-rat-tasks/pom.xml Date: Fri, 27 Feb 2009 15:43:28 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Fri Feb 27 15:43:27 2009 New Revision: 748562 URL: http://svn.apache.org/viewvc?rev=748562&view=rev Log: Include LICENSE and NOTICE files in jars RAT-38 https://issues.apache.org/jira/browse/RAT-38 Modified: incubator/rat/main/trunk/apache-rat-core/pom.xml incubator/rat/main/trunk/apache-rat-plugin/pom.xml incubator/rat/main/trunk/apache-rat-tasks/pom.xml Modified: incubator/rat/main/trunk/apache-rat-core/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-core/pom.xml?rev=748562&r1=748561&r2=748562&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-core/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-core/pom.xml Fri Feb 27 15:43:27 2009 @@ -65,6 +65,25 @@ </execution> </executions> </plugin> + <plugin> + <artifactId>maven-remote-resources-plugin</artifactId> + <version>1.0</version> + <executions> + <execution> + <goals> + <goal>process</goal> + </goals> + <configuration> + <resourceBundles> + <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle> + </resourceBundles> + <properties> + <addLicense>true</addLicense> + </properties> + </configuration> + </execution> + </executions> + </plugin> </plugins> </pluginManagement> </build> Modified: incubator/rat/main/trunk/apache-rat-plugin/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-plugin/pom.xml?rev=748562&r1=748561&r2=748562&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-plugin/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-plugin/pom.xml Fri Feb 27 15:43:27 2009 @@ -89,6 +89,25 @@ </execution> </executions> </plugin> + <plugin> + <artifactId>maven-remote-resources-plugin</artifactId> + <version>1.0</version> + <executions> + <execution> + <goals> + <goal>process</goal> + </goals> + <configuration> + <resourceBundles> + <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle> + </resourceBundles> + <properties> + <addLicense>true</addLicense> + </properties> + </configuration> + </execution> + </executions> + </plugin> </plugins> </build> <dependencies> Modified: incubator/rat/main/trunk/apache-rat-tasks/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-tasks/pom.xml?rev=748562&r1=748561&r2=748562&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-tasks/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-tasks/pom.xml Fri Feb 27 15:43:27 2009 @@ -103,6 +103,25 @@ </executions> </plugin> <plugin> + <artifactId>maven-remote-resources-plugin</artifactId> + <version>1.0</version> + <executions> + <execution> + <goals> + <goal>process</goal> + </goals> + <configuration> + <resourceBundles> + <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle> + </resourceBundles> + <properties> + <addLicense>true</addLicense> + </properties> + </configuration> + </execution> + </executions> + </plugin> + <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> From [email protected] Fri Feb 27 18:47:09 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65448 invoked from network); 27 Feb 2009 18:47:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2009 18:47:09 -0000 Received: (qmail 46032 invoked by uid 500); 27 Feb 2009 18:47:08 -0000 Delivered-To: [email protected] Received: (qmail 46013 invoked by uid 500); 27 Feb 2009 18:47:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 46004 invoked by uid 99); 27 Feb 2009 18:47:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 10:47:08 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 18:47:06 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 7E82823888F1; Fri, 27 Feb 2009 18:46:45 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748633 - /incubator/rat/main/trunk/apache-rat/src/assemble/bin.xml Date: Fri, 27 Feb 2009 18:46:45 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Fri Feb 27 18:46:44 2009 New Revision: 748633 URL: http://svn.apache.org/viewvc?rev=748633&view=rev Log: Include python script in binary distribution RAT-38 https://issues.apache.org/jira/browse/RAT-38 Modified: incubator/rat/main/trunk/apache-rat/src/assemble/bin.xml Modified: incubator/rat/main/trunk/apache-rat/src/assemble/bin.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat/src/assemble/bin.xml?rev=748633&r1=748632&r2=748633&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat/src/assemble/bin.xml (original) +++ incubator/rat/main/trunk/apache-rat/src/assemble/bin.xml Fri Feb 27 18:46:44 2009 @@ -64,6 +64,13 @@ <include>apache-rat*.jar</include> </includes> </fileSet> + <fileSet> + <directory>../src/python</directory> + <outputDirectory>/</outputDirectory> + <includes> + <include>*.py</include> + </includes> + </fileSet> </fileSets> <dependencySets> <dependencySet> From [email protected] Fri Feb 27 19:53:22 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93886 invoked from network); 27 Feb 2009 19:53:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2009 19:53:22 -0000 Received: (qmail 52231 invoked by uid 500); 27 Feb 2009 19:53:21 -0000 Delivered-To: [email protected] Received: (qmail 52212 invoked by uid 500); 27 Feb 2009 19:53:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 52203 invoked by uid 99); 27 Feb 2009 19:53:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 11:53:21 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 19:53:21 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D2B0C23888F1; Fri, 27 Feb 2009 19:53:00 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748659 - in /incubator/rat/main/trunk: apache-rat-core/ apache-rat-core/src/main/java/org/apache/rat/ apache-rat-core/src/main/resources/ apache-rat-core/src/main/resources/org/ apache-rat-core/src/main/resources/org/apache/ apache-rat-cor... Date: Fri, 27 Feb 2009 19:53:00 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Fri Feb 27 19:52:59 2009 New Revision: 748659 URL: http://svn.apache.org/viewvc?rev=748659&view=rev Log: Include DISCLAIMER (and RELEASE_NOTES) in jars. It was necessary to relocate some files from java to resources. RAT-38 https://issues.apache.org/jira/browse/RAT-38 Added: incubator/rat/main/trunk/apache-rat-core/src/main/resources/ incubator/rat/main/trunk/apache-rat-core/src/main/resources/org/ incubator/rat/main/trunk/apache-rat-core/src/main/resources/org/apache/ incubator/rat/main/trunk/apache-rat-core/src/main/resources/org/apache/rat/ incubator/rat/main/trunk/apache-rat-core/src/main/resources/org/apache/rat/plain-rat.xsl - copied unchanged from r748632, incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/plain-rat.xsl incubator/rat/main/trunk/apache-rat-tasks/src/main/resources/ incubator/rat/main/trunk/apache-rat-tasks/src/main/resources/org/ incubator/rat/main/trunk/apache-rat-tasks/src/main/resources/org/apache/ incubator/rat/main/trunk/apache-rat-tasks/src/main/resources/org/apache/rat/ incubator/rat/main/trunk/apache-rat-tasks/src/main/resources/org/apache/rat/anttasks/ incubator/rat/main/trunk/apache-rat-tasks/src/main/resources/org/apache/rat/anttasks/antlib.xml - copied unchanged from r748632, incubator/rat/main/trunk/apache-rat-tasks/src/main/java/org/apache/rat/anttasks/antlib.xml Removed: incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/plain-rat.xsl incubator/rat/main/trunk/apache-rat-tasks/src/main/java/org/apache/rat/anttasks/antlib.xml Modified: incubator/rat/main/trunk/apache-rat-core/pom.xml incubator/rat/main/trunk/apache-rat-core/src/test/java/org/apache/rat/ReportTransformerTest.java incubator/rat/main/trunk/apache-rat-plugin/pom.xml incubator/rat/main/trunk/apache-rat-tasks/pom.xml incubator/rat/main/trunk/apache-rat/pom.xml Modified: incubator/rat/main/trunk/apache-rat-core/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-core/pom.xml?rev=748659&r1=748658&r2=748659&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-core/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-core/pom.xml Fri Feb 27 19:52:59 2009 @@ -36,6 +36,24 @@ and rat-maven-plugin.</description> <build> + <resources> + <resource> + <filtering>false</filtering> + <directory>src/main/resources</directory> + </resource> + <resource> + <filtering>true</filtering> + <directory>src/main/filtered-resources</directory> + </resource> + <resource> + <directory>..</directory> + <targetPath>META-INF</targetPath> + <includes> + <include>DISCLAIMER.txt</include> + <include>RELEASE_NOTES.txt</include> + </includes> + </resource> + </resources> <pluginManagement> <plugins> <plugin> Modified: incubator/rat/main/trunk/apache-rat-core/src/test/java/org/apache/rat/ReportTransformerTest.java URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-core/src/test/java/org/apache/rat/ReportTransformerTest.java?rev=748659&r1=748658&r2=748659&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-core/src/test/java/org/apache/rat/ReportTransformerTest.java (original) +++ incubator/rat/main/trunk/apache-rat-core/src/test/java/org/apache/rat/ReportTransformerTest.java Fri Feb 27 19:52:59 2009 @@ -51,7 +51,7 @@ public void testTransform() throws Exception { StringReader in = new StringReader(SIMPLE_CONTENT); ReportTransformer transformer = new ReportTransformer(writer, - new BufferedReader(new FileReader(new File("src/main/java/org/apache/rat/plain-rat.xsl"))), + new BufferedReader(new FileReader(new File("src/main/resources/org/apache/rat/plain-rat.xsl"))), in); transformer.transform(); } Modified: incubator/rat/main/trunk/apache-rat-plugin/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-plugin/pom.xml?rev=748659&r1=748658&r2=748659&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-plugin/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-plugin/pom.xml Fri Feb 27 19:52:59 2009 @@ -35,6 +35,14 @@ <filtering>true</filtering> <directory>src/main/filtered-resources</directory> </resource> + <resource> + <directory>..</directory> + <targetPath>META-INF</targetPath> + <includes> + <include>DISCLAIMER.txt</include> + <include>RELEASE_NOTES.txt</include> + </includes> + </resource> </resources> <plugins> <!-- Comment out once this plugin has been released Modified: incubator/rat/main/trunk/apache-rat-tasks/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-tasks/pom.xml?rev=748659&r1=748658&r2=748659&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-tasks/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-tasks/pom.xml Fri Feb 27 19:52:59 2009 @@ -58,6 +58,24 @@ </dependencies> <build> + <resources> + <resource> + <filtering>false</filtering> + <directory>src/main/resources</directory> + </resource> + <resource> + <filtering>true</filtering> + <directory>src/main/filtered-resources</directory> + </resource> + <resource> + <directory>..</directory> + <targetPath>META-INF</targetPath> + <includes> + <include>DISCLAIMER.txt</include> + <include>RELEASE_NOTES.txt</include> + </includes> + </resource> + </resources> <plugins> <plugin> <artifactId>maven-dependency-plugin</artifactId> Modified: incubator/rat/main/trunk/apache-rat/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat/pom.xml?rev=748659&r1=748658&r2=748659&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat/pom.xml Fri Feb 27 19:52:59 2009 @@ -51,6 +51,19 @@ </dependencies> <build> + <resources> + <resource> + <directory>src/main/resources</directory> + </resource> + <resource> + <directory>..</directory> + <targetPath>META-INF</targetPath> + <includes> + <include>DISCLAIMER.txt</include> + <include>RELEASE_NOTES.txt</include> + </includes> + </resource> + </resources> <plugins> <plugin> <artifactId>maven-dependency-plugin</artifactId> From [email protected] Fri Feb 27 20:32:14 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10112 invoked from network); 27 Feb 2009 20:32:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2009 20:32:14 -0000 Received: (qmail 97178 invoked by uid 500); 27 Feb 2009 20:32:14 -0000 Delivered-To: [email protected] Received: (qmail 97156 invoked by uid 500); 27 Feb 2009 20:32:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 97147 invoked by uid 99); 27 Feb 2009 20:32:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 12:32:14 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 20:32:12 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E82ED23888CA; Fri, 27 Feb 2009 20:31:50 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748687 - in /incubator/rat/main/trunk/apache-rat-plugin: LICENSE.txt NOTICE.txt Date: Fri, 27 Feb 2009 20:31:50 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Fri Feb 27 20:31:50 2009 New Revision: 748687 URL: http://svn.apache.org/viewvc?rev=748687&view=rev Log: Use LICENSE and NOTICE at top level. RAT-38 https://issues.apache.org/jira/browse/RAT-38 Removed: incubator/rat/main/trunk/apache-rat-plugin/LICENSE.txt incubator/rat/main/trunk/apache-rat-plugin/NOTICE.txt From [email protected] Fri Feb 27 21:05:13 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19705 invoked from network); 27 Feb 2009 21:05:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2009 21:05:13 -0000 Received: (qmail 27869 invoked by uid 500); 27 Feb 2009 21:05:13 -0000 Delivered-To: [email protected] Received: (qmail 27856 invoked by uid 500); 27 Feb 2009 21:05:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 27847 invoked by uid 99); 27 Feb 2009 21:05:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 13:05:13 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 21:05:12 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1A96C2388882; Fri, 27 Feb 2009 21:04:52 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748697 - in /incubator/rat/main/trunk: apache-rat-core/pom.xml apache-rat-plugin/pom.xml apache-rat-tasks/pom.xml Date: Fri, 27 Feb 2009 21:04:51 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Fri Feb 27 21:04:51 2009 New Revision: 748697 URL: http://svn.apache.org/viewvc?rev=748697&view=rev Log: Added details to MANIFEST. RAT-38 https://issues.apache.org/jira/browse/RAT-38 Modified: incubator/rat/main/trunk/apache-rat-core/pom.xml incubator/rat/main/trunk/apache-rat-plugin/pom.xml incubator/rat/main/trunk/apache-rat-tasks/pom.xml Modified: incubator/rat/main/trunk/apache-rat-core/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-core/pom.xml?rev=748697&r1=748696&r2=748697&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-core/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-core/pom.xml Fri Feb 27 21:04:51 2009 @@ -54,8 +54,7 @@ </includes> </resource> </resources> - <pluginManagement> - <plugins> + <plugins> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <version>2.4</version> @@ -102,8 +101,18 @@ </execution> </executions> </plugin> - </plugins> - </pluginManagement> + <plugin> + <artifactId>maven-jar-plugin</artifactId> + <configuration> + <archive> + <manifest> + <addDefaultImplementationEntries>true</addDefaultImplementationEntries> + <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> + </manifest> + </archive> + </configuration> + </plugin> + </plugins> </build> <dependencies> Modified: incubator/rat/main/trunk/apache-rat-plugin/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-plugin/pom.xml?rev=748697&r1=748696&r2=748697&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-plugin/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-plugin/pom.xml Fri Feb 27 21:04:51 2009 @@ -116,6 +116,17 @@ </execution> </executions> </plugin> + <plugin> + <artifactId>maven-jar-plugin</artifactId> + <configuration> + <archive> + <manifest> + <addDefaultImplementationEntries>true</addDefaultImplementationEntries> + <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> + </manifest> + </archive> + </configuration> + </plugin> </plugins> </build> <dependencies> Modified: incubator/rat/main/trunk/apache-rat-tasks/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-tasks/pom.xml?rev=748697&r1=748696&r2=748697&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-tasks/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-tasks/pom.xml Fri Feb 27 21:04:51 2009 @@ -140,6 +140,17 @@ </executions> </plugin> <plugin> + <artifactId>maven-jar-plugin</artifactId> + <configuration> + <archive> + <manifest> + <addDefaultImplementationEntries>true</addDefaultImplementationEntries> + <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> + </manifest> + </archive> + </configuration> + </plugin> + <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> From [email protected] Fri Feb 27 22:09:25 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59285 invoked from network); 27 Feb 2009 22:09:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2009 22:09:24 -0000 Received: (qmail 12383 invoked by uid 500); 27 Feb 2009 22:09:24 -0000 Delivered-To: [email protected] Received: (qmail 12359 invoked by uid 500); 27 Feb 2009 22:09:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 12349 invoked by uid 99); 27 Feb 2009 22:09:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 14:09:24 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 22:09:23 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id DEEE62388995; Fri, 27 Feb 2009 22:09:03 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748720 - /incubator/rat/main/trunk/apache-rat/pom.xml Date: Fri, 27 Feb 2009 22:09:03 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Fri Feb 27 22:09:03 2009 New Revision: 748720 URL: http://svn.apache.org/viewvc?rev=748720&view=rev Log: Ensure aggregate jar contains the right license and notice. RAT-38 https://issues.apache.org/jira/browse/RAT-38 Modified: incubator/rat/main/trunk/apache-rat/pom.xml Modified: incubator/rat/main/trunk/apache-rat/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat/pom.xml?rev=748720&r1=748719&r2=748720&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat/pom.xml Fri Feb 27 22:09:03 2009 @@ -66,16 +66,36 @@ </resources> <plugins> <plugin> + <artifactId>maven-remote-resources-plugin</artifactId> + <version>1.0</version> + <executions> + <execution> + <goals> + <goal>process</goal> + </goals> + <configuration> + <resourceBundles> + <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle> + </resourceBundles> + <properties> + <addLicense>true</addLicense> + </properties> + </configuration> + </execution> + </executions> + </plugin> + <plugin> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> - <phase>compile</phase> + <phase>process</phase> <goals> <goal>unpack-dependencies</goal> </goals> <configuration> <includeScope>runtime</includeScope> <outputDirectory>${project.build.outputDirectory}</outputDirectory> + <overWriteIfNewer>false</overWriteIfNewer> </configuration> </execution> </executions> @@ -83,6 +103,10 @@ <plugin> <artifactId>maven-jar-plugin</artifactId> <configuration> + <excludes> + <exclude>**/LICENSE.txt</exclude> + <exclude>**/NOTICE.txt</exclude> + </excludes> <archive> <manifestEntries> <Main-Class>org.apache.rat.Report</Main-Class> From [email protected] Fri Feb 27 22:38:08 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79854 invoked from network); 27 Feb 2009 22:38:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2009 22:38:08 -0000 Received: (qmail 53991 invoked by uid 500); 27 Feb 2009 22:38:08 -0000 Delivered-To: [email protected] Received: (qmail 53965 invoked by uid 500); 27 Feb 2009 22:38:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 53956 invoked by uid 99); 27 Feb 2009 22:38:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 14:38:08 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 22:38:07 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A7A392388995; Fri, 27 Feb 2009 22:37:47 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748725 - /incubator/rat/main/trunk/apache-rat/pom.xml Date: Fri, 27 Feb 2009 22:37:47 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Fri Feb 27 22:37:47 2009 New Revision: 748725 URL: http://svn.apache.org/viewvc?rev=748725&view=rev Log: Still have problems ensuring NOTICE is right. RAT-38 https://issues.apache.org/jira/browse/RAT-38 Modified: incubator/rat/main/trunk/apache-rat/pom.xml Modified: incubator/rat/main/trunk/apache-rat/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat/pom.xml?rev=748725&r1=748724&r2=748725&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat/pom.xml Fri Feb 27 22:37:47 2009 @@ -66,36 +66,37 @@ </resources> <plugins> <plugin> - <artifactId>maven-remote-resources-plugin</artifactId> - <version>1.0</version> + <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> + <phase>compile</phase> <goals> - <goal>process</goal> + <goal>unpack-dependencies</goal> </goals> <configuration> - <resourceBundles> - <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle> - </resourceBundles> - <properties> - <addLicense>true</addLicense> - </properties> + <includeScope>runtime</includeScope> + <outputDirectory>${project.build.outputDirectory}</outputDirectory> + <overWriteIfNewer>false</overWriteIfNewer> </configuration> </execution> </executions> </plugin> <plugin> - <artifactId>maven-dependency-plugin</artifactId> + <artifactId>maven-remote-resources-plugin</artifactId> + <version>1.0</version> <executions> <execution> - <phase>process</phase> + <phase>compile</phase> <goals> - <goal>unpack-dependencies</goal> + <goal>process</goal> </goals> <configuration> - <includeScope>runtime</includeScope> - <outputDirectory>${project.build.outputDirectory}</outputDirectory> - <overWriteIfNewer>false</overWriteIfNewer> + <resourceBundles> + <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle> + </resourceBundles> + <properties> + <addLicense>true</addLicense> + </properties> </configuration> </execution> </executions> From [email protected] Fri Feb 27 22:43:16 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80824 invoked from network); 27 Feb 2009 22:43:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2009 22:43:16 -0000 Received: (qmail 59381 invoked by uid 500); 27 Feb 2009 22:43:16 -0000 Delivered-To: [email protected] Received: (qmail 59361 invoked by uid 500); 27 Feb 2009 22:43:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 59352 invoked by uid 99); 27 Feb 2009 22:43:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 14:43:16 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 22:43:14 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id EE2792388995; Fri, 27 Feb 2009 22:42:52 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748727 - /incubator/rat/main/trunk/apache-rat/pom.xml Date: Fri, 27 Feb 2009 22:42:52 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Fri Feb 27 22:42:52 2009 New Revision: 748727 URL: http://svn.apache.org/viewvc?rev=748727&view=rev Log: Not ideal but probably good enough. RAT-38 https://issues.apache.org/jira/browse/RAT-38 Modified: incubator/rat/main/trunk/apache-rat/pom.xml Modified: incubator/rat/main/trunk/apache-rat/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat/pom.xml?rev=748727&r1=748726&r2=748727&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat/pom.xml Fri Feb 27 22:42:52 2009 @@ -61,6 +61,8 @@ <includes> <include>DISCLAIMER.txt</include> <include>RELEASE_NOTES.txt</include> + <include>LICENCE.txt</include> + <include>NOTICE.txt</include> </includes> </resource> </resources> @@ -105,8 +107,9 @@ <artifactId>maven-jar-plugin</artifactId> <configuration> <excludes> - <exclude>**/LICENSE.txt</exclude> - <exclude>**/NOTICE.txt</exclude> + <exclude>**/LICENSE</exclude> + <exclude>**/NOTICE</exclude> + <exclude>META-INF/maven</exclude> </excludes> <archive> <manifestEntries> From [email protected] Sat Feb 28 05:40:22 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45304 invoked from network); 28 Feb 2009 05:40:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Feb 2009 05:40:22 -0000 Received: (qmail 7608 invoked by uid 500); 28 Feb 2009 05:40:22 -0000 Delivered-To: [email protected] Received: (qmail 7594 invoked by uid 500); 28 Feb 2009 05:40:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7585 invoked by uid 99); 28 Feb 2009 05:40:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 21:40:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Feb 2009 05:40:12 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 2042B23888A0; Sat, 28 Feb 2009 05:39:51 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748777 - in /incubator/rat/main: branches/incubator-site-import/rat/rat-anttasks/src/site/apt/ branches/incubator-site-import/rat/rat-app/src/site/apt/ branches/incubator-site-import/rat/rat-core/src/site/apt/ branches/incubator-site-impor... Date: Sat, 28 Feb 2009 05:39:50 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: bodewig Date: Sat Feb 28 05:39:50 2009 New Revision: 748777 URL: http://svn.apache.org/viewvc?rev=748777&view=rev Log: fix some eol issues. RAT-39 Modified: incubator/rat/main/branches/incubator-site-import/rat/rat-anttasks/src/site/apt/index.apt (contents, props changed) incubator/rat/main/branches/incubator-site-import/rat/rat-app/src/site/apt/index.apt (contents, props changed) incubator/rat/main/branches/incubator-site-import/rat/rat-core/src/site/apt/index.apt (contents, props changed) incubator/rat/main/branches/incubator-site-import/rat/src/site/apt/index.apt (contents, props changed) incubator/rat/main/branches/incubator-site-import/rat/src/site/site.xml (contents, props changed) incubator/rat/main/trunk/apache-rat-core/src/site/apt/index.apt (contents, props changed) incubator/rat/main/trunk/apache-rat-tasks/src/site/apt/index.apt (contents, props changed) incubator/rat/main/trunk/apache-rat/src/site/apt/index.apt (contents, props changed) incubator/rat/main/trunk/src/site/apt/index.apt (contents, props changed) Modified: incubator/rat/main/branches/incubator-site-import/rat/rat-anttasks/src/site/apt/index.apt URL: http://svn.apache.org/viewvc/incubator/rat/main/branches/incubator-site-import/rat/rat-anttasks/src/site/apt/index.apt?rev=748777&r1=748776&r2=748777&view=diff ============================================================================== --- incubator/rat/main/branches/incubator-site-import/rat/rat-anttasks/src/site/apt/index.apt (original) +++ incubator/rat/main/branches/incubator-site-import/rat/rat-anttasks/src/site/apt/index.apt Sat Feb 28 05:39:50 2009 @@ -12,13 +12,13 @@ ~~ limitations under the License. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -------------------------- - Apache RAT Ant Tasks Module + -------------------------- + Apache RAT Ant Tasks Module -------------------------- Release Audit Tool (RAT) - Release Audit Tool (RAT) is a tool to improve accuracy and efficiency when checking - releases. It is heuristic in nature: making guesses about possible problems. It - will produce false positives and cannot find every possible issue with a release. + Release Audit Tool (RAT) is a tool to improve accuracy and efficiency when checking + releases. It is heuristic in nature: making guesses about possible problems. It + will produce false positives and cannot find every possible issue with a release. It's reports require interpretation. Propchange: incubator/rat/main/branches/incubator-site-import/rat/rat-anttasks/src/site/apt/index.apt ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/branches/incubator-site-import/rat/rat-app/src/site/apt/index.apt URL: http://svn.apache.org/viewvc/incubator/rat/main/branches/incubator-site-import/rat/rat-app/src/site/apt/index.apt?rev=748777&r1=748776&r2=748777&view=diff ============================================================================== --- incubator/rat/main/branches/incubator-site-import/rat/rat-app/src/site/apt/index.apt (original) +++ incubator/rat/main/branches/incubator-site-import/rat/rat-app/src/site/apt/index.apt Sat Feb 28 05:39:50 2009 @@ -12,13 +12,13 @@ ~~ limitations under the License. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -------------------------- - Apache RAT Library Module + -------------------------- + Apache RAT Library Module -------------------------- Release Audit Tool (RAT) - Release Audit Tool (RAT) is a tool to improve accuracy and efficiency when checking - releases. It is heuristic in nature: making guesses about possible problems. It - will produce false positives and cannot find every possible issue with a release. + Release Audit Tool (RAT) is a tool to improve accuracy and efficiency when checking + releases. It is heuristic in nature: making guesses about possible problems. It + will produce false positives and cannot find every possible issue with a release. It's reports require interpretation. Propchange: incubator/rat/main/branches/incubator-site-import/rat/rat-app/src/site/apt/index.apt ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/branches/incubator-site-import/rat/rat-core/src/site/apt/index.apt URL: http://svn.apache.org/viewvc/incubator/rat/main/branches/incubator-site-import/rat/rat-core/src/site/apt/index.apt?rev=748777&r1=748776&r2=748777&view=diff ============================================================================== --- incubator/rat/main/branches/incubator-site-import/rat/rat-core/src/site/apt/index.apt (original) +++ incubator/rat/main/branches/incubator-site-import/rat/rat-core/src/site/apt/index.apt Sat Feb 28 05:39:50 2009 @@ -12,13 +12,13 @@ ~~ limitations under the License. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -------------------------- - Apache RAT Core Module + -------------------------- + Apache RAT Core Module -------------------------- Release Audit Tool (RAT) - Release Audit Tool (RAT) is a tool to improve accuracy and efficiency when checking - releases. It is heuristic in nature: making guesses about possible problems. It - will produce false positives and cannot find every possible issue with a release. + Release Audit Tool (RAT) is a tool to improve accuracy and efficiency when checking + releases. It is heuristic in nature: making guesses about possible problems. It + will produce false positives and cannot find every possible issue with a release. It's reports require interpretation. Propchange: incubator/rat/main/branches/incubator-site-import/rat/rat-core/src/site/apt/index.apt ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/branches/incubator-site-import/rat/src/site/apt/index.apt URL: http://svn.apache.org/viewvc/incubator/rat/main/branches/incubator-site-import/rat/src/site/apt/index.apt?rev=748777&r1=748776&r2=748777&view=diff ============================================================================== --- incubator/rat/main/branches/incubator-site-import/rat/src/site/apt/index.apt (original) +++ incubator/rat/main/branches/incubator-site-import/rat/src/site/apt/index.apt Sat Feb 28 05:39:50 2009 @@ -12,75 +12,75 @@ ~~ limitations under the License. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -------------------------- - RAT - A Release Audit Tool - -------------------------- - -Release Audit Tool (RAT) - - Apache RAT is an effort undergoing incubation at The Apache Software Foundation (ASF), - sponsored by the Incubator PMC. Incubation is required of all newly accepted projects - until a further review indicates that the infrastructure, communications, and decision - making process have stabilized in a manner consistent with other successful ASF projects. - While incubation status is not necessarily a reflection of the completeness or stability - of the code, it does indicate that the project has yet to be fully endorsed by the ASF. - - Release Audit Tool (RAT) is a tool to improve accuracy and efficiency when checking - releases. It is heuristic in nature: making guesses about possible problems. It - will produce false positives and cannot find every possible issue with a release. - It's reports require interpretation. - - RAT was developed in response to a need felt in the Apache Incubator to be able to - review releases for the most common faults less labour intensively. It is therefore - highly tuned to the Apache style of releases. - - RAT is intended to be self documenting: reports should include introductory material - describing their function. Building RAT describes how to run RAT. Running RAT - describes the options available. The release notes describe the current state of - RAT. - -Building RAT - - Building RAT requires that you have either - {{{http://ant.apache.org/} Apache Ant}} or - {{{http://maven.apache.org/} Apache Maven}} installed. - You can then use a command such as: - -+------------------------------------------+ -ant build -+------------------------------------------+ - - or - -+------------------------------------------+ -mvn install -+------------------------------------------+ - -Running RAT - -* Running from the Command Line - - Run from the command line with: - -+------------------------------------------+ -java -jar rat-VERSION.jar -+------------------------------------------+ - - Where VERSION is replaced with the version number you are - working with. - - This will audit the project in the current directory. - -* Running with Apache Ant - - RAT includes a task library for Ant 1.7. This allows RAT reports to be run against - a wide variety of resources. See the file ant-task-examples.xml in - the root directory of the project for details. - - To use the Ant tasks, - {{{http://ant.apache.org/} Apache Ant 1.7}} is required. - -* Running with Apache Maven - - Projects using Maven are directed to the + -------------------------- + RAT - A Release Audit Tool + -------------------------- + +Release Audit Tool (RAT) + + Apache RAT is an effort undergoing incubation at The Apache Software Foundation (ASF), + sponsored by the Incubator PMC. Incubation is required of all newly accepted projects + until a further review indicates that the infrastructure, communications, and decision + making process have stabilized in a manner consistent with other successful ASF projects. + While incubation status is not necessarily a reflection of the completeness or stability + of the code, it does indicate that the project has yet to be fully endorsed by the ASF. + + Release Audit Tool (RAT) is a tool to improve accuracy and efficiency when checking + releases. It is heuristic in nature: making guesses about possible problems. It + will produce false positives and cannot find every possible issue with a release. + It's reports require interpretation. + + RAT was developed in response to a need felt in the Apache Incubator to be able to + review releases for the most common faults less labour intensively. It is therefore + highly tuned to the Apache style of releases. + + RAT is intended to be self documenting: reports should include introductory material + describing their function. Building RAT describes how to run RAT. Running RAT + describes the options available. The release notes describe the current state of + RAT. + +Building RAT + + Building RAT requires that you have either + {{{http://ant.apache.org/} Apache Ant}} or + {{{http://maven.apache.org/} Apache Maven}} installed. + You can then use a command such as: + ++------------------------------------------+ +ant build ++------------------------------------------+ + + or + ++------------------------------------------+ +mvn install ++------------------------------------------+ + +Running RAT + +* Running from the Command Line + + Run from the command line with: + ++------------------------------------------+ +java -jar rat-VERSION.jar ++------------------------------------------+ + + Where VERSION is replaced with the version number you are + working with. + + This will audit the project in the current directory. + +* Running with Apache Ant + + RAT includes a task library for Ant 1.7. This allows RAT reports to be run against + a wide variety of resources. See the file ant-task-examples.xml in + the root directory of the project for details. + + To use the Ant tasks, + {{{http://ant.apache.org/} Apache Ant 1.7}} is required. + +* Running with Apache Maven + + Projects using Maven are directed to the {{{http://mojo.codehaus.org/rat-maven-plugin} RAT plugin}}. Propchange: incubator/rat/main/branches/incubator-site-import/rat/src/site/apt/index.apt ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/branches/incubator-site-import/rat/src/site/site.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/branches/incubator-site-import/rat/src/site/site.xml?rev=748777&r1=748776&r2=748777&view=diff ============================================================================== --- incubator/rat/main/branches/incubator-site-import/rat/src/site/site.xml (original) +++ incubator/rat/main/branches/incubator-site-import/rat/src/site/site.xml Sat Feb 28 05:39:50 2009 @@ -13,17 +13,17 @@ See the License for the specific language governing permissions and limitations under the License. ---> -<project name="Apache RAT (Incubating)"> - <body> - <menu name="RAT"> - <item name="Home" href="/index.html"/> - </menu> - <menu name="Modules"> - <item name="RAT Core" href="/rat-core/index.html"/> - <item name="RAT Library" href="/rat-lib/index.html"/> - <item name="RAT ANT Tasks" href="/rat/anttasks/index.html"/> +--> +<project name="Apache RAT (Incubating)"> + <body> + <menu name="RAT"> + <item name="Home" href="/index.html"/> </menu> - <menu ref="reports"/> - </body> -</project> + <menu name="Modules"> + <item name="RAT Core" href="/rat-core/index.html"/> + <item name="RAT Library" href="/rat-lib/index.html"/> + <item name="RAT ANT Tasks" href="/rat/anttasks/index.html"/> + </menu> + <menu ref="reports"/> + </body> +</project> Propchange: incubator/rat/main/branches/incubator-site-import/rat/src/site/site.xml ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/trunk/apache-rat-core/src/site/apt/index.apt URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-core/src/site/apt/index.apt?rev=748777&r1=748776&r2=748777&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-core/src/site/apt/index.apt (original) +++ incubator/rat/main/trunk/apache-rat-core/src/site/apt/index.apt Sat Feb 28 05:39:50 2009 @@ -12,13 +12,13 @@ ~~ limitations under the License. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -------------------------- - Apache RAT Core Module + -------------------------- + Apache RAT Core Module -------------------------- Release Audit Tool (RAT) - Release Audit Tool (RAT) is a tool to improve accuracy and efficiency when checking - releases. It is heuristic in nature: making guesses about possible problems. It - will produce false positives and cannot find every possible issue with a release. + Release Audit Tool (RAT) is a tool to improve accuracy and efficiency when checking + releases. It is heuristic in nature: making guesses about possible problems. It + will produce false positives and cannot find every possible issue with a release. It's reports require interpretation. Propchange: incubator/rat/main/trunk/apache-rat-core/src/site/apt/index.apt ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/trunk/apache-rat-tasks/src/site/apt/index.apt URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-tasks/src/site/apt/index.apt?rev=748777&r1=748776&r2=748777&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-tasks/src/site/apt/index.apt (original) +++ incubator/rat/main/trunk/apache-rat-tasks/src/site/apt/index.apt Sat Feb 28 05:39:50 2009 @@ -12,13 +12,13 @@ ~~ limitations under the License. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -------------------------- - Apache RAT Ant Tasks Module + -------------------------- + Apache RAT Ant Tasks Module -------------------------- Release Audit Tool (RAT) - Release Audit Tool (RAT) is a tool to improve accuracy and efficiency when checking - releases. It is heuristic in nature: making guesses about possible problems. It - will produce false positives and cannot find every possible issue with a release. + Release Audit Tool (RAT) is a tool to improve accuracy and efficiency when checking + releases. It is heuristic in nature: making guesses about possible problems. It + will produce false positives and cannot find every possible issue with a release. It's reports require interpretation. Propchange: incubator/rat/main/trunk/apache-rat-tasks/src/site/apt/index.apt ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/trunk/apache-rat/src/site/apt/index.apt URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat/src/site/apt/index.apt?rev=748777&r1=748776&r2=748777&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat/src/site/apt/index.apt (original) +++ incubator/rat/main/trunk/apache-rat/src/site/apt/index.apt Sat Feb 28 05:39:50 2009 @@ -12,13 +12,13 @@ ~~ limitations under the License. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -------------------------- - Apache RAT Library Module + -------------------------- + Apache RAT Library Module -------------------------- Release Audit Tool (RAT) - Release Audit Tool (RAT) is a tool to improve accuracy and efficiency when checking - releases. It is heuristic in nature: making guesses about possible problems. It - will produce false positives and cannot find every possible issue with a release. + Release Audit Tool (RAT) is a tool to improve accuracy and efficiency when checking + releases. It is heuristic in nature: making guesses about possible problems. It + will produce false positives and cannot find every possible issue with a release. It's reports require interpretation. Propchange: incubator/rat/main/trunk/apache-rat/src/site/apt/index.apt ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/rat/main/trunk/src/site/apt/index.apt URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/src/site/apt/index.apt?rev=748777&r1=748776&r2=748777&view=diff ============================================================================== --- incubator/rat/main/trunk/src/site/apt/index.apt (original) +++ incubator/rat/main/trunk/src/site/apt/index.apt Sat Feb 28 05:39:50 2009 @@ -12,31 +12,31 @@ ~~ limitations under the License. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -------------------------- - RAT - A Release Audit Tool - -------------------------- - -Release Audit Tool (RAT) - - Apache RAT is an effort undergoing incubation at The Apache Software Foundation (ASF), - sponsored by the Incubator PMC. Incubation is required of all newly accepted projects - until a further review indicates that the infrastructure, communications, and decision - making process have stabilized in a manner consistent with other successful ASF projects. - While incubation status is not necessarily a reflection of the completeness or stability - of the code, it does indicate that the project has yet to be fully endorsed by the ASF. - - Release Audit Tool (RAT) is a tool to improve accuracy and efficiency when checking - releases. It is heuristic in nature: making guesses about possible problems. It - will produce false positives and cannot find every possible issue with a release. - It's reports require interpretation. - - RAT was developed in response to a need felt in the Apache Incubator to be able to - review releases for the most common faults less labour intensively. It is therefore - highly tuned to the Apache style of releases. - - RAT is intended to be self documenting: reports should include introductory material - describing their function. Building RAT describes how to run RAT. Running RAT - describes the options available. The release notes describe the current state of + -------------------------- + RAT - A Release Audit Tool + -------------------------- + +Release Audit Tool (RAT) + + Apache RAT is an effort undergoing incubation at The Apache Software Foundation (ASF), + sponsored by the Incubator PMC. Incubation is required of all newly accepted projects + until a further review indicates that the infrastructure, communications, and decision + making process have stabilized in a manner consistent with other successful ASF projects. + While incubation status is not necessarily a reflection of the completeness or stability + of the code, it does indicate that the project has yet to be fully endorsed by the ASF. + + Release Audit Tool (RAT) is a tool to improve accuracy and efficiency when checking + releases. It is heuristic in nature: making guesses about possible problems. It + will produce false positives and cannot find every possible issue with a release. + It's reports require interpretation. + + RAT was developed in response to a need felt in the Apache Incubator to be able to + review releases for the most common faults less labour intensively. It is therefore + highly tuned to the Apache style of releases. + + RAT is intended to be self documenting: reports should include introductory material + describing their function. Building RAT describes how to run RAT. Running RAT + describes the options available. The release notes describe the current state of RAT. Checking Out RAT @@ -48,47 +48,47 @@ +------------------------------------------+ svn co http://svn.apache.org/repos/asf/incubator/rat/main/trunk/rat/ +------------------------------------------+ - + Building RAT - - Building RAT requires + + Building RAT requires {{{http://maven.apache.org/} Apache Maven}}. Read BUILD.txt or (for the impatient) do - -+------------------------------------------+ -mvn install package -+------------------------------------------+ + ++------------------------------------------+ +mvn install package ++------------------------------------------+ This should build all modules. The application jar will be rat-app/target/rat-app-X.Y-SNAPSHOT.jar where X and Y are the current major and minor version numbers. - -Running RAT - -* Running from the Command Line - - Run from the command line with: - -+------------------------------------------+ -java -jar rat-app-VERSION.jar --help -+------------------------------------------+ - - Where VERSION is replaced with the version number you are - working with. - + +Running RAT + +* Running from the Command Line + + Run from the command line with: + ++------------------------------------------+ +java -jar rat-app-VERSION.jar --help ++------------------------------------------+ + + Where VERSION is replaced with the version number you are + working with. + This will output a help message detailing the command line options available to you. - -* Running with Apache Ant - - RAT includes a task library for Ant 1.7. This allows RAT reports to be run against - a wide variety of resources. See the file ant-task-examples.xml in - the root directory of the project for details. - - To use the Ant tasks, - {{{http://ant.apache.org/} Apache Ant 1.7}} is required. - -* Running with Apache Maven - - Projects using Maven are directed to the + +* Running with Apache Ant + + RAT includes a task library for Ant 1.7. This allows RAT reports to be run against + a wide variety of resources. See the file ant-task-examples.xml in + the root directory of the project for details. + + To use the Ant tasks, + {{{http://ant.apache.org/} Apache Ant 1.7}} is required. + +* Running with Apache Maven + + Projects using Maven are directed to the {{{http://mojo.codehaus.org/rat-maven-plugin} RAT plugin}}. Propchange: incubator/rat/main/trunk/src/site/apt/index.apt ------------------------------------------------------------------------------ svn:eol-style = native From [email protected] Sat Feb 28 05:45:01 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47006 invoked from network); 28 Feb 2009 05:45:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Feb 2009 05:45:00 -0000 Received: (qmail 7890 invoked by uid 500); 28 Feb 2009 05:45:00 -0000 Delivered-To: [email protected] Received: (qmail 7866 invoked by uid 500); 28 Feb 2009 05:45:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7857 invoked by uid 99); 28 Feb 2009 05:45:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 21:45:00 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Feb 2009 05:44:59 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 4B3462388975; Sat, 28 Feb 2009 05:44:39 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748778 - in /incubator/rat/main/trunk: apache-rat-core/src/main/resources/org/apache/rat/ apache-rat-core/src/test/resources/elements/ apache-rat-plugin/src/main/filtered-resources/ apache-rat-plugin/src/main/resources/org/apache/rat/mp/ a... Date: Sat, 28 Feb 2009 05:44:39 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: bodewig Date: Sat Feb 28 05:44:38 2009 New Revision: 748778 URL: http://svn.apache.org/viewvc?rev=748778&view=rev Log: eol-sytle native for files found by David Crossley. RAT-39 Modified: incubator/rat/main/trunk/apache-rat-core/src/main/resources/org/apache/rat/plain-rat.xsl (props changed) incubator/rat/main/trunk/apache-rat-core/src/test/resources/elements/LICENSE (props changed) incubator/rat/main/trunk/apache-rat-core/src/test/resources/elements/NOTICE (props changed) incubator/rat/main/trunk/apache-rat-plugin/src/main/filtered-resources/rat-report.properties (props changed) incubator/rat/main/trunk/apache-rat-plugin/src/main/resources/org/apache/rat/mp/identity.xsl (props changed) incubator/rat/main/trunk/apache-rat-plugin/src/main/resources/org/apache/rat/mp/rat-report.properties (props changed) incubator/rat/main/trunk/apache-rat-plugin/src/site/apt/examples/basic.apt (props changed) incubator/rat/main/trunk/apache-rat-plugin/src/site/apt/examples/site.apt (props changed) incubator/rat/main/trunk/apache-rat-plugin/src/site/apt/examples/verify.apt (props changed) incubator/rat/main/trunk/apache-rat-plugin/src/site/apt/index.apt (props changed) incubator/rat/main/trunk/apache-rat-plugin/src/site/apt/usage.apt (props changed) incubator/rat/main/trunk/apache-rat-plugin/src/site/fml/faq.fml (props changed) Propchange: incubator/rat/main/trunk/apache-rat-core/src/main/resources/org/apache/rat/plain-rat.xsl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/apache-rat-core/src/test/resources/elements/LICENSE ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/apache-rat-core/src/test/resources/elements/NOTICE ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/apache-rat-plugin/src/main/filtered-resources/rat-report.properties ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/apache-rat-plugin/src/main/resources/org/apache/rat/mp/identity.xsl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/apache-rat-plugin/src/main/resources/org/apache/rat/mp/rat-report.properties ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/apache-rat-plugin/src/site/apt/examples/basic.apt ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/apache-rat-plugin/src/site/apt/examples/site.apt ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/apache-rat-plugin/src/site/apt/examples/verify.apt ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/apache-rat-plugin/src/site/apt/index.apt ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/apache-rat-plugin/src/site/apt/usage.apt ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/rat/main/trunk/apache-rat-plugin/src/site/fml/faq.fml ------------------------------------------------------------------------------ svn:eol-style = native From [email protected] Sat Feb 28 05:46:53 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47541 invoked from network); 28 Feb 2009 05:46:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Feb 2009 05:46:53 -0000 Received: (qmail 8021 invoked by uid 500); 28 Feb 2009 05:46:53 -0000 Delivered-To: [email protected] Received: (qmail 7998 invoked by uid 500); 28 Feb 2009 05:46:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7989 invoked by uid 99); 28 Feb 2009 05:46:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 21:46:53 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Feb 2009 05:46:50 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 8F61D2388975; Sat, 28 Feb 2009 05:46:29 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748779 - in /incubator/rat/main/trunk: apache-rat-plugin/ apache-rat-plugin/src/changes/ apache-rat-plugin/src/main/resources/org/apache/rat/mp/ apache-rat-plugin/src/site/ apache-rat-tasks/src/test/resources/antunit/ apache-rat/src/assemb... Date: Sat, 28 Feb 2009 05:46:29 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: bodewig Date: Sat Feb 28 05:46:28 2009 New Revision: 748779 URL: http://svn.apache.org/viewvc?rev=748779&view=rev Log: add missing XML declarations, submitted by David Crossley. RAT-39 Modified: incubator/rat/main/trunk/apache-rat-plugin/pom.xml incubator/rat/main/trunk/apache-rat-plugin/src/changes/changes.xml incubator/rat/main/trunk/apache-rat-plugin/src/main/resources/org/apache/rat/mp/identity.xsl incubator/rat/main/trunk/apache-rat-plugin/src/site/site.xml incubator/rat/main/trunk/apache-rat-tasks/src/test/resources/antunit/build.xml incubator/rat/main/trunk/apache-rat/src/assemble/bin.xml incubator/rat/main/trunk/apache-rat/src/assemble/src.xml incubator/rat/main/trunk/src/changes/changes.xml Modified: incubator/rat/main/trunk/apache-rat-plugin/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-plugin/pom.xml?rev=748779&r1=748778&r2=748779&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-plugin/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-plugin/pom.xml Sat Feb 28 05:46:28 2009 @@ -1,3 +1,4 @@ +<?xml version='1.0'?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <artifactId>apache-rat-project</artifactId> Modified: incubator/rat/main/trunk/apache-rat-plugin/src/changes/changes.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-plugin/src/changes/changes.xml?rev=748779&r1=748778&r2=748779&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-plugin/src/changes/changes.xml (original) +++ incubator/rat/main/trunk/apache-rat-plugin/src/changes/changes.xml Sat Feb 28 05:46:28 2009 @@ -1,3 +1,4 @@ +<?xml version='1.0'?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with Modified: incubator/rat/main/trunk/apache-rat-plugin/src/main/resources/org/apache/rat/mp/identity.xsl URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-plugin/src/main/resources/org/apache/rat/mp/identity.xsl?rev=748779&r1=748778&r2=748779&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-plugin/src/main/resources/org/apache/rat/mp/identity.xsl (original) +++ incubator/rat/main/trunk/apache-rat-plugin/src/main/resources/org/apache/rat/mp/identity.xsl Sat Feb 28 05:46:28 2009 @@ -1,3 +1,4 @@ +<?xml version='1.0'?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more Modified: incubator/rat/main/trunk/apache-rat-plugin/src/site/site.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-plugin/src/site/site.xml?rev=748779&r1=748778&r2=748779&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-plugin/src/site/site.xml (original) +++ incubator/rat/main/trunk/apache-rat-plugin/src/site/site.xml Sat Feb 28 05:46:28 2009 @@ -1,3 +1,4 @@ +<?xml version='1.0'?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with Modified: incubator/rat/main/trunk/apache-rat-tasks/src/test/resources/antunit/build.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-tasks/src/test/resources/antunit/build.xml?rev=748779&r1=748778&r2=748779&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-tasks/src/test/resources/antunit/build.xml (original) +++ incubator/rat/main/trunk/apache-rat-tasks/src/test/resources/antunit/build.xml Sat Feb 28 05:46:28 2009 @@ -1,3 +1,4 @@ +<?xml version='1.0'?> <project name="antunit" default="all" xmlns:au="antlib:org.apache.ant.antunit" xmlns:rat="antlib:org.apache.rat.anttasks"> Modified: incubator/rat/main/trunk/apache-rat/src/assemble/bin.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat/src/assemble/bin.xml?rev=748779&r1=748778&r2=748779&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat/src/assemble/bin.xml (original) +++ incubator/rat/main/trunk/apache-rat/src/assemble/bin.xml Sat Feb 28 05:46:28 2009 @@ -1,3 +1,4 @@ +<?xml version='1.0'?> <assembly> <!-- Licensed to the Apache Software Foundation (ASF) under one or more @@ -82,4 +83,4 @@ </excludes> </dependencySet> </dependencySets> -</assembly> \ No newline at end of file +</assembly> Modified: incubator/rat/main/trunk/apache-rat/src/assemble/src.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat/src/assemble/src.xml?rev=748779&r1=748778&r2=748779&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat/src/assemble/src.xml (original) +++ incubator/rat/main/trunk/apache-rat/src/assemble/src.xml Sat Feb 28 05:46:28 2009 @@ -1,3 +1,4 @@ +<?xml version='1.0'?> <assembly> <!-- Licensed to the Apache Software Foundation (ASF) under one or more @@ -39,4 +40,4 @@ <useDefaultExcludes>true</useDefaultExcludes> </fileSet> </fileSets> -</assembly> \ No newline at end of file +</assembly> Modified: incubator/rat/main/trunk/src/changes/changes.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/src/changes/changes.xml?rev=748779&r1=748778&r2=748779&view=diff ============================================================================== --- incubator/rat/main/trunk/src/changes/changes.xml (original) +++ incubator/rat/main/trunk/src/changes/changes.xml Sat Feb 28 05:46:28 2009 @@ -1,3 +1,4 @@ +<?xml version='1.0'?> <document> <properties> <title>Changes in RAT</title> From [email protected] Sat Feb 28 08:48:50 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29907 invoked from network); 28 Feb 2009 08:48:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Feb 2009 08:48:50 -0000 Received: (qmail 69214 invoked by uid 500); 28 Feb 2009 08:48:50 -0000 Delivered-To: [email protected] Received: (qmail 69190 invoked by uid 500); 28 Feb 2009 08:48:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 69179 invoked by uid 99); 28 Feb 2009 08:48:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Feb 2009 00:48:50 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Feb 2009 08:48:49 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 3BB0923888F4; Sat, 28 Feb 2009 08:48:29 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748792 - in /incubator/rat/main/trunk/apache-rat-core/src: main/java/org/apache/rat/annotation/AbstractLicenceAppender.java test/java/org/apache/rat/annotation/TestLicenceAppender.java Date: Sat, 28 Feb 2009 08:48:29 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Sat Feb 28 08:48:28 2009 New Revision: 748792 URL: http://svn.apache.org/viewvc?rev=748792&view=rev Log: Fix Java1.5isms that have crept into code. RAT-38 https://issues.apache.org/jira/browse/RAT-38 Modified: incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/annotation/AbstractLicenceAppender.java incubator/rat/main/trunk/apache-rat-core/src/test/java/org/apache/rat/annotation/TestLicenceAppender.java Modified: incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/annotation/AbstractLicenceAppender.java URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/annotation/AbstractLicenceAppender.java?rev=748792&r1=748791&r2=748792&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/annotation/AbstractLicenceAppender.java (original) +++ incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/annotation/AbstractLicenceAppender.java Sat Feb 28 08:48:28 2009 @@ -69,21 +69,21 @@ || type == TYPE_APT || type == TYPE_PROPERTIES || type == TYPE_HTML) { - writer.append(getLicenceHeader(document)); - writer.append("\n"); + writer.write(getLicenceHeader(document)); + writer.write('\n'); } String line; while ((line = br.readLine()) != null) { - writer.append(line); - writer.append("\n"); + writer.write(line); + writer.write('\n'); if (type == TYPE_JAVA && line.startsWith("package ")) { - writer.append(getLicenceHeader(document)); - writer.append("\n"); + writer.write(getLicenceHeader(document)); + writer.write('\n'); } if (type == TYPE_XML && line.startsWith("<?xml ")) { - writer.append(getLicenceHeader(document)); - writer.append("\n"); + writer.write(getLicenceHeader(document)); + writer.write('\n'); } } br.close(); Modified: incubator/rat/main/trunk/apache-rat-core/src/test/java/org/apache/rat/annotation/TestLicenceAppender.java URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-core/src/test/java/org/apache/rat/annotation/TestLicenceAppender.java?rev=748792&r1=748791&r2=748792&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-core/src/test/java/org/apache/rat/annotation/TestLicenceAppender.java (original) +++ incubator/rat/main/trunk/apache-rat-core/src/test/java/org/apache/rat/annotation/TestLicenceAppender.java Sat Feb 28 08:48:28 2009 @@ -35,7 +35,7 @@ String filename = "tmp" + random.nextLong() + ".unkownTyoe"; File file = new File(System.getProperty("java.io.tmpdir") + File.separator + filename); FileWriter writer = new FileWriter(file); - writer.append("Unkown file type\n"); + writer.write("Unkown file type\n"); writer.close(); ApacheV2LicenceAppender appender = new ApacheV2LicenceAppender(); @@ -52,10 +52,10 @@ File file = new File(System.getProperty("java.io.tmpdir") + File.separator + filename); FileWriter writer = new FileWriter(file); - writer.append(firstLine + "\n"); - writer.append("\n"); - writer.append("public class test {\n"); - writer.append("}\n"); + writer.write(firstLine + "\n"); + writer.write("\n"); + writer.write("public class test {\n"); + writer.write("}\n"); writer.close(); ApacheV2LicenceAppender appender = new ApacheV2LicenceAppender(); @@ -79,10 +79,10 @@ File file = new File(System.getProperty("java.io.tmpdir") + File.separator + filename); FileWriter writer = new FileWriter(file); - writer.append(firstLine + "\n"); - writer.append("\n"); - writer.append("<xml>\n"); - writer.append("</xml>\n"); + writer.write(firstLine + "\n"); + writer.write("\n"); + writer.write("<xml>\n"); + writer.write("</xml>\n"); writer.close(); ApacheV2LicenceAppender appender = new ApacheV2LicenceAppender(); @@ -105,9 +105,9 @@ File file = new File(System.getProperty("java.io.tmpdir") + File.separator + filename); FileWriter writer = new FileWriter(file); - writer.append("<html>\n"); - writer.append("\n"); - writer.append("</html>\n"); + writer.write("<html>\n"); + writer.write("\n"); + writer.write("</html>\n"); writer.close(); ApacheV2LicenceAppender appender = new ApacheV2LicenceAppender(); @@ -129,9 +129,9 @@ File file = new File(System.getProperty("java.io.tmpdir") + File.separator + filename); FileWriter writer = new FileWriter(file); - writer.append(".class {\n"); - writer.append(" background-color: red;"); - writer.append("}\n"); + writer.write(".class {\n"); + writer.write(" background-color: red;"); + writer.write("}\n"); writer.close(); ApacheV2LicenceAppender appender = new ApacheV2LicenceAppender(); @@ -153,9 +153,9 @@ File file = new File(System.getProperty("java.io.tmpdir") + File.separator + filename); FileWriter writer = new FileWriter(file); - writer.append("if (a ==b) {>\n"); - writer.append(" alert(\"how useful!\");"); - writer.append("}\n"); + writer.write("if (a ==b) {>\n"); + writer.write(" alert(\"how useful!\");"); + writer.write("}\n"); writer.close(); ApacheV2LicenceAppender appender = new ApacheV2LicenceAppender(); @@ -177,9 +177,9 @@ File file = new File(System.getProperty("java.io.tmpdir") + File.separator + filename); FileWriter writer = new FileWriter(file); - writer.append("A Simple APT file"); - writer.append(" This file contains nothing\n"); - writer.append(" of any importance\n"); + writer.write("A Simple APT file"); + writer.write(" This file contains nothing\n"); + writer.write(" of any importance\n"); writer.close(); ApacheV2LicenceAppender appender = new ApacheV2LicenceAppender(); @@ -201,9 +201,9 @@ File file = new File(System.getProperty("java.io.tmpdir") + File.separator + filename); FileWriter writer = new FileWriter(file); - writer.append("property = value\n"); - writer.append("fun = true\n"); - writer.append("cool = true\n"); + writer.write("property = value\n"); + writer.write("fun = true\n"); + writer.write("cool = true\n"); writer.close(); ApacheV2LicenceAppender appender = new ApacheV2LicenceAppender(); From [email protected] Sat Feb 28 09:01:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35631 invoked from network); 28 Feb 2009 09:01:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Feb 2009 09:01:19 -0000 Received: (qmail 78663 invoked by uid 500); 28 Feb 2009 09:01:19 -0000 Delivered-To: [email protected] Received: (qmail 78641 invoked by uid 500); 28 Feb 2009 09:01:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78632 invoked by uid 99); 28 Feb 2009 09:01:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Feb 2009 01:01:19 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Feb 2009 09:01:12 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0B19E23889B2; Sat, 28 Feb 2009 09:00:52 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748796 - in /incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat: annotation/ document/impl/guesser/ header/ report/xml/writer/ report/xml/writer/impl/base/ Date: Sat, 28 Feb 2009 09:00:51 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Sat Feb 28 09:00:51 2009 New Revision: 748796 URL: http://svn.apache.org/viewvc?rev=748796&view=rev Log: Cleared up some javadoc issues. RAT-38 https://issues.apache.org/jira/browse/RAT-38 Modified: incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/annotation/AbstractLicenceAppender.java incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/document/impl/guesser/GuessUtils.java incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/header/HeaderBean.java incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/header/HeaderMatcher.java incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/report/xml/writer/IXmlWriter.java incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/report/xml/writer/impl/base/XmlWriter.java Modified: incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/annotation/AbstractLicenceAppender.java URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/annotation/AbstractLicenceAppender.java?rev=748796&r1=748795&r2=748796&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/annotation/AbstractLicenceAppender.java (original) +++ incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/annotation/AbstractLicenceAppender.java Sat Feb 28 09:00:51 2009 @@ -102,7 +102,7 @@ * Detect the type of document. * * @param document - * @return + * @return not null * @TODO use existing mechanism to detect the type of a file and record it in the report output, thus we will not need this duplication here. */ protected int getType(File document) { @@ -145,7 +145,7 @@ * for the given type of file. * * @param type the type of file, see the TYPE_* constants - * @return + * @return not null */ protected String getFirstLine(int type) { switch (type) { @@ -166,7 +166,7 @@ * for the given type of file. * * @param type the type of file, see the TYPE_* constants - * @return + * @return not null */ protected String getLastLine(int type) { switch (type) { @@ -188,7 +188,7 @@ * * @param type the type of file, see the TYPE_* constants * @param content the content for this line - * @return + * @return not null */ protected String getLine(int type, String content) { switch (type) { Modified: incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/document/impl/guesser/GuessUtils.java URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/document/impl/guesser/GuessUtils.java?rev=748796&r1=748795&r2=748796&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/document/impl/guesser/GuessUtils.java (original) +++ incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/document/impl/guesser/GuessUtils.java Sat Feb 28 09:00:51 2009 @@ -28,8 +28,8 @@ /** * Converts name to upper case and strips any path. - * @param name - * @return + * @param name not null + * @return not null */ public static final String normalise(final String name) { String result = name.toUpperCase(Locale.US); Modified: incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/header/HeaderBean.java URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/header/HeaderBean.java?rev=748796&r1=748795&r2=748796&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/header/HeaderBean.java (original) +++ incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/header/HeaderBean.java Sat Feb 28 09:00:51 2009 @@ -46,7 +46,7 @@ /** * Sets the header pattern to be matched. - * @param <code>Patter</code> + * @param headerPattern <code>Patter</code> * or null when no match is to be made */ public void setHeaderPattern(Pattern headerPattern) { Modified: incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/header/HeaderMatcher.java URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/header/HeaderMatcher.java?rev=748796&r1=748795&r2=748796&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/header/HeaderMatcher.java (original) +++ incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/header/HeaderMatcher.java Sat Feb 28 09:00:51 2009 @@ -81,7 +81,7 @@ * </p> * @param pattern <code>Pattern</code> to match * @return true if the pattern matches, - * false otherwise or if {@link #read()} has not been + * false otherwise or if {@link #read(Reader)} has not been * called */ public boolean matches(Pattern pattern) { Modified: incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/report/xml/writer/IXmlWriter.java URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/report/xml/writer/IXmlWriter.java?rev=748796&r1=748795&r2=748796&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/report/xml/writer/IXmlWriter.java (original) +++ incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/report/xml/writer/IXmlWriter.java Sat Feb 28 09:00:51 2009 @@ -59,8 +59,8 @@ * @return this object * @throws InvalidXmlException if the name is not valid for an xml attribute * or if a value for the attribute has already been written - * @throws OperationNotAllowedException if called after {@link #content} - * or {@link #closeElement() or before any call to {@link #openElement} + * @throws OperationNotAllowedException if called after {@link #content(CharSequence)} + * or {@link #closeElement()} or before any call to {@link #openElement(CharSequence)} */ public IXmlWriter attribute(CharSequence name, CharSequence value) throws IOException; Modified: incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/report/xml/writer/impl/base/XmlWriter.java URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/report/xml/writer/impl/base/XmlWriter.java?rev=748796&r1=748795&r2=748796&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/report/xml/writer/impl/base/XmlWriter.java (original) +++ incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/report/xml/writer/impl/base/XmlWriter.java Sat Feb 28 09:00:51 2009 @@ -472,8 +472,8 @@ * @return this object * @throws InvalidXmlException if the name is not valid for an xml attribute * or if a value for the attribute has already been written - * @throws OperationNotAllowedException if called after {@link #content} - * or {@link #closeElement() or before any call to {@link #openElement} + * @throws OperationNotAllowedException if called after {@link #content(CharSequence)} + * or {@link #closeElement()} or before any call to {@link #openElement(CharSequence)} */ public IXmlWriter attribute(CharSequence name, CharSequence value) throws IOException { if (elementNames.isEmpty()) { From [email protected] Sat Feb 28 09:16:10 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40620 invoked from network); 28 Feb 2009 09:16:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Feb 2009 09:16:10 -0000 Received: (qmail 90125 invoked by uid 500); 28 Feb 2009 09:16:10 -0000 Delivered-To: [email protected] Received: (qmail 90102 invoked by uid 500); 28 Feb 2009 09:16:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 90093 invoked by uid 99); 28 Feb 2009 09:16:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Feb 2009 01:16:10 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Feb 2009 09:16:08 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id EB3DB23888CA; Sat, 28 Feb 2009 09:15:47 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748798 - /incubator/rat/main/trunk/pom.xml Date: Sat, 28 Feb 2009 09:15:47 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Sat Feb 28 09:15:41 2009 New Revision: 748798 URL: http://svn.apache.org/viewvc?rev=748798&view=rev Log: Allow local staging of release website. RAT-38 https://issues.apache.org/jira/browse/RAT-38 Modified: incubator/rat/main/trunk/pom.xml Modified: incubator/rat/main/trunk/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/pom.xml?rev=748798&r1=748797&r2=748798&view=diff ============================================================================== --- incubator/rat/main/trunk/pom.xml (original) +++ incubator/rat/main/trunk/pom.xml Sat Feb 28 09:15:41 2009 @@ -47,6 +47,27 @@ </description> <inceptionYear>2006</inceptionYear> + <properties> + <!-- + Website properties allow local staging of the website + during release operations. For example: + <profiles> + <profile> + <id>main</id> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + <properties> + <rat.www>scp://localhost/www</rat.www> + <rat.www.id>localhost</rat.www.id> + ... + --> + <!-- General location for site stage --> + <rat.www>scp://people.apache.org/www/incubator.apache.org/rat/</rat.www> + <!-- Overridding this value allows single set of loopback settings to be maintained --> + <rat.www.id>org.apache.rat.incubating</rat.www.id> + </properties> + <dependencyManagement> <dependencies> <dependency> @@ -263,9 +284,9 @@ <distributionManagement> <site> - <id>org.apache.rat.incubating</id> + <id>${rat.www.id}</id> <name>Apache RAT Website</name> - <url>scp://people.apache.org/www/incubator.apache.org/rat/</url> + <url>${rat.www}</url> </site> </distributionManagement> From [email protected] Sat Feb 28 09:25:28 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44775 invoked from network); 28 Feb 2009 09:25:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Feb 2009 09:25:28 -0000 Received: (qmail 95721 invoked by uid 500); 28 Feb 2009 09:25:28 -0000 Delivered-To: [email protected] Received: (qmail 95703 invoked by uid 500); 28 Feb 2009 09:25:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 95694 invoked by uid 99); 28 Feb 2009 09:25:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Feb 2009 01:25:28 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Feb 2009 09:25:27 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 56C4123888CA; Sat, 28 Feb 2009 09:25:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748799 - in /incubator/rat/main: tag/ tags/ Date: Sat, 28 Feb 2009 09:25:07 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Sat Feb 28 09:25:05 2009 New Revision: 748799 URL: http://svn.apache.org/viewvc?rev=748799&view=rev Log: Fixed typo. RAT-38 https://issues.apache.org/jira/browse/RAT-38 Added: incubator/rat/main/tags/ - copied from r748798, incubator/rat/main/tag/ Removed: incubator/rat/main/tag/ From [email protected] Sat Feb 28 09:36:48 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54435 invoked from network); 28 Feb 2009 09:36:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Feb 2009 09:36:48 -0000 Received: (qmail 1095 invoked by uid 500); 28 Feb 2009 09:36:48 -0000 Delivered-To: [email protected] Received: (qmail 1077 invoked by uid 500); 28 Feb 2009 09:36:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 1068 invoked by uid 99); 28 Feb 2009 09:36:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Feb 2009 01:36:48 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Feb 2009 09:36:47 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C559E23888CA; Sat, 28 Feb 2009 09:36:26 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748800 - /incubator/rat/main/tags/apache-rat-project-0.6RC1/ Date: Sat, 28 Feb 2009 09:36:26 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Sat Feb 28 09:36:25 2009 New Revision: 748800 URL: http://svn.apache.org/viewvc?rev=748800&view=rev Log: Plugin won't build when cutting release. Trying to create base directory. RAT-38 https://issues.apache.org/jira/browse/RAT-38 Added: incubator/rat/main/tags/apache-rat-project-0.6RC1/ From [email protected] Sat Feb 28 09:38:27 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55688 invoked from network); 28 Feb 2009 09:38:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Feb 2009 09:38:27 -0000 Received: (qmail 1240 invoked by uid 500); 28 Feb 2009 09:38:27 -0000 Delivered-To: [email protected] Received: (qmail 1218 invoked by uid 500); 28 Feb 2009 09:38:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 1209 invoked by uid 99); 28 Feb 2009 09:38:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Feb 2009 01:38:27 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Feb 2009 09:38:25 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 2212523888CA; Sat, 28 Feb 2009 09:38:04 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748801 - /incubator/rat/main/tags/apache-rat-project-0.6RC1/ Date: Sat, 28 Feb 2009 09:38:04 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Sat Feb 28 09:38:03 2009 New Revision: 748801 URL: http://svn.apache.org/viewvc?rev=748801&view=rev Log: Creating base directory didn't work so deleting before it causes issues. RAT-38 https://issues.apache.org/jira/browse/RAT-38 Removed: incubator/rat/main/tags/apache-rat-project-0.6RC1/ From [email protected] Sat Feb 28 10:39:28 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94843 invoked from network); 28 Feb 2009 10:39:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Feb 2009 10:39:28 -0000 Received: (qmail 15653 invoked by uid 500); 28 Feb 2009 10:39:27 -0000 Delivered-To: [email protected] Received: (qmail 15629 invoked by uid 500); 28 Feb 2009 10:39:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 15620 invoked by uid 99); 28 Feb 2009 10:39:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Feb 2009 02:39:27 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Feb 2009 10:39:25 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 712F623889B2; Sat, 28 Feb 2009 10:39:04 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748804 - in /incubator/rat/main/trunk: apache-rat-plugin/pom.xml pom.xml Date: Sat, 28 Feb 2009 10:39:04 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Sat Feb 28 10:39:03 2009 New Revision: 748804 URL: http://svn.apache.org/viewvc?rev=748804&view=rev Log: Switch to using module versions specified in the parent pom. RAT-38 https://issues.apache.org/jira/browse/RAT-38 Modified: incubator/rat/main/trunk/apache-rat-plugin/pom.xml incubator/rat/main/trunk/pom.xml Modified: incubator/rat/main/trunk/apache-rat-plugin/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-plugin/pom.xml?rev=748804&r1=748803&r2=748804&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-plugin/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-plugin/pom.xml Sat Feb 28 10:39:03 2009 @@ -134,7 +134,6 @@ <dependency> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-core</artifactId> - <version>0.6-SNAPSHOT</version> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> Modified: incubator/rat/main/trunk/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/pom.xml?rev=748804&r1=748803&r2=748804&view=diff ============================================================================== --- incubator/rat/main/trunk/pom.xml (original) +++ incubator/rat/main/trunk/pom.xml Sat Feb 28 10:39:03 2009 @@ -73,12 +73,12 @@ <dependency> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-core</artifactId> - <version>0.6-SNAPSHOT</version> + <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-tasks</artifactId> - <version>0.6-SNAPSHOT</version> + <version>${project.version}</version> </dependency> <dependency> <groupId>commons-collections</groupId> From [email protected] Sat Feb 28 10:48:07 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96987 invoked from network); 28 Feb 2009 10:48:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Feb 2009 10:48:05 -0000 Received: (qmail 17439 invoked by uid 500); 28 Feb 2009 10:48:05 -0000 Delivered-To: [email protected] Received: (qmail 17416 invoked by uid 500); 28 Feb 2009 10:48:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 17407 invoked by uid 99); 28 Feb 2009 10:48:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Feb 2009 02:48:05 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Feb 2009 10:48:03 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 32D5E23888A5; Sat, 28 Feb 2009 10:47:42 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748806 - /incubator/rat/main/trunk/apache-rat-plugin/pom.xml Date: Sat, 28 Feb 2009 10:47:42 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Sat Feb 28 10:47:41 2009 New Revision: 748806 URL: http://svn.apache.org/viewvc?rev=748806&view=rev Log: This report is failing during release since the source URL hasn't been created yet. RAT-38 https://issues.apache.org/jira/browse/RAT-38 Modified: incubator/rat/main/trunk/apache-rat-plugin/pom.xml Modified: incubator/rat/main/trunk/apache-rat-plugin/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-plugin/pom.xml?rev=748806&r1=748805&r2=748806&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-plugin/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-plugin/pom.xml Sat Feb 28 10:47:41 2009 @@ -61,6 +61,7 @@ </configuration> </plugin> --> + <!-- <plugin> <artifactId>maven-docck-plugin</artifactId> <executions> @@ -71,6 +72,7 @@ </execution> </executions> </plugin> + --> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <version>2.4</version> From [email protected] Sat Feb 28 10:51:16 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97789 invoked from network); 28 Feb 2009 10:51:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Feb 2009 10:51:15 -0000 Received: (qmail 18833 invoked by uid 500); 28 Feb 2009 10:51:15 -0000 Delivered-To: [email protected] Received: (qmail 18809 invoked by uid 500); 28 Feb 2009 10:51:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 18800 invoked by uid 99); 28 Feb 2009 10:51:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Feb 2009 02:51:15 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Feb 2009 10:51:08 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 21CF123888A5; Sat, 28 Feb 2009 10:50:48 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748808 - in /incubator/rat/main/trunk: apache-rat-core/pom.xml apache-rat-plugin/pom.xml apache-rat-tasks/pom.xml apache-rat/pom.xml pom.xml Date: Sat, 28 Feb 2009 10:50:47 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Sat Feb 28 10:50:47 2009 New Revision: 748808 URL: http://svn.apache.org/viewvc?rev=748808&view=rev Log: [maven-release-plugin] prepare release apache-rat-project-0.6RC1 Modified: incubator/rat/main/trunk/apache-rat-core/pom.xml incubator/rat/main/trunk/apache-rat-plugin/pom.xml incubator/rat/main/trunk/apache-rat-tasks/pom.xml incubator/rat/main/trunk/apache-rat/pom.xml incubator/rat/main/trunk/pom.xml Modified: incubator/rat/main/trunk/apache-rat-core/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-core/pom.xml?rev=748808&r1=748807&r2=748808&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-core/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-core/pom.xml Sat Feb 28 10:50:47 2009 @@ -1,33 +1,9 @@ -<?xml version='1.0'?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one * - or more contributor license agreements. See the NOTICE file * - distributed with this work for additional information * - regarding copyright ownership. The ASF licenses this file * - to you under the Apache License, Version 2.0 (the * - "License"); you may not use this file except in compliance * - with the License. You may obtain a copy of the License at * - * - http://www.apache.org/licenses/LICENSE-2.0 * - * - Unless required by applicable law or agreed to in writing, * - software distributed under the License is distributed on an * - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * - KIND, either express or implied. See the License for the * - specific language governing permissions and limitations * - under the License. * - ---> -<project - xmlns="http://maven.apache.org/POM/4.0.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-project</artifactId> - <version>0.6-SNAPSHOT</version> + <version>0.6RC1</version> </parent> <artifactId>apache-rat-core</artifactId> <packaging>jar</packaging> @@ -138,4 +114,4 @@ <version>1.1</version> </dependency> </dependencies> -</project> +</project> \ No newline at end of file Modified: incubator/rat/main/trunk/apache-rat-plugin/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-plugin/pom.xml?rev=748808&r1=748807&r2=748808&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-plugin/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-plugin/pom.xml Sat Feb 28 10:50:47 2009 @@ -3,7 +3,7 @@ <parent> <artifactId>apache-rat-project</artifactId> <groupId>org.apache.rat</groupId> - <version>0.6-SNAPSHOT</version> + <version>0.6RC1</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>apache-rat-plugin</artifactId> Modified: incubator/rat/main/trunk/apache-rat-tasks/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-tasks/pom.xml?rev=748808&r1=748807&r2=748808&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-tasks/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-tasks/pom.xml Sat Feb 28 10:50:47 2009 @@ -1,33 +1,9 @@ -<?xml version='1.0'?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one * - or more contributor license agreements. See the NOTICE file * - distributed with this work for additional information * - regarding copyright ownership. The ASF licenses this file * - to you under the Apache License, Version 2.0 (the * - "License"); you may not use this file except in compliance * - with the License. You may obtain a copy of the License at * - * - http://www.apache.org/licenses/LICENSE-2.0 * - * - Unless required by applicable law or agreed to in writing, * - software distributed under the License is distributed on an * - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * - KIND, either express or implied. See the License for the * - specific language governing permissions and limitations * - under the License. * - ---> -<project - xmlns="http://maven.apache.org/POM/4.0.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-project</artifactId> - <version>0.6-SNAPSHOT</version> + <version>0.6RC1</version> </parent> <artifactId>apache-rat-tasks</artifactId> <packaging>jar</packaging> @@ -161,17 +137,17 @@ <configuration> <tasks> <ant antfile="src/test/resources/antunit/report-bad-configurations.xml" inheritAll="false" inheritRefs="false"> - <property name="jar.name" location="${project.build.outputDirectory}"/> - <property name="base.dir" location="${basedir}"/> - <property name="antunit.jar.name" location="${project.build.directory}/dependencies/ant-antunit.jar"/> - <property name="test.skipped" value="${maven.test.skip}"/> + <property name="jar.name" location="${project.build.outputDirectory}" /> + <property name="base.dir" location="${basedir}" /> + <property name="antunit.jar.name" location="${project.build.directory}/dependencies/ant-antunit.jar" /> + <property name="test.skipped" value="${maven.test.skip}" /> <property name="test.classpath" refid="maven.test.classpath" /> </ant> <ant antfile="src/test/resources/antunit/report-normal-operation.xml" inheritAll="false" inheritRefs="false"> - <property name="jar.name" location="${project.build.outputDirectory}"/> - <property name="base.dir" location="${basedir}"/> - <property name="antunit.jar.name" location="${project.build.directory}/dependencies/ant-antunit.jar"/> - <property name="test.skipped" value="${maven.test.skip}"/> + <property name="jar.name" location="${project.build.outputDirectory}" /> + <property name="base.dir" location="${basedir}" /> + <property name="antunit.jar.name" location="${project.build.directory}/dependencies/ant-antunit.jar" /> + <property name="test.skipped" value="${maven.test.skip}" /> <property name="test.classpath" refid="maven.test.classpath" /> </ant> </tasks> @@ -181,4 +157,4 @@ </plugin> </plugins> </build> -</project> +</project> \ No newline at end of file Modified: incubator/rat/main/trunk/apache-rat/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat/pom.xml?rev=748808&r1=748807&r2=748808&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat/pom.xml Sat Feb 28 10:50:47 2009 @@ -1,33 +1,9 @@ -<?xml version='1.0'?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one * - or more contributor license agreements. See the NOTICE file * - distributed with this work for additional information * - regarding copyright ownership. The ASF licenses this file * - to you under the Apache License, Version 2.0 (the * - "License"); you may not use this file except in compliance * - with the License. You may obtain a copy of the License at * - * - http://www.apache.org/licenses/LICENSE-2.0 * - * - Unless required by applicable law or agreed to in writing, * - software distributed under the License is distributed on an * - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * - KIND, either express or implied. See the License for the * - specific language governing permissions and limitations * - under the License. * - ---> -<project - xmlns="http://maven.apache.org/POM/4.0.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-project</artifactId> - <version>0.6-SNAPSHOT</version> + <version>0.6RC1</version> </parent> <artifactId>apache-rat</artifactId> <packaging>jar</packaging> @@ -144,4 +120,4 @@ </plugin> </plugins> </build> -</project> +</project> \ No newline at end of file Modified: incubator/rat/main/trunk/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/pom.xml?rev=748808&r1=748807&r2=748808&view=diff ============================================================================== --- incubator/rat/main/trunk/pom.xml (original) +++ incubator/rat/main/trunk/pom.xml Sat Feb 28 10:50:47 2009 @@ -1,28 +1,4 @@ -<?xml version='1.0'?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one * - or more contributor license agreements. See the NOTICE file * - distributed with this work for additional information * - regarding copyright ownership. The ASF licenses this file * - to you under the Apache License, Version 2.0 (the * - "License"); you may not use this file except in compliance * - with the License. You may obtain a copy of the License at * - * - http://www.apache.org/licenses/LICENSE-2.0 * - * - Unless required by applicable law or agreed to in writing, * - software distributed under the License is distributed on an * - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * - KIND, either express or implied. See the License for the * - specific language governing permissions and limitations * - under the License. * - ---> -<project - xmlns="http://maven.apache.org/POM/4.0.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache</groupId> @@ -32,7 +8,7 @@ <groupId>org.apache.rat</groupId> <artifactId>apache-rat-project</artifactId> <packaging>pom</packaging> - <version>0.6-SNAPSHOT</version> + <version>0.6RC1</version> <name>RAT</name> <url>http://incubator.apache.org/rat</url> <description> @@ -277,9 +253,9 @@ </contributors> <scm> - <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/rat/main/trunk/</connection> - <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/rat/main/trunk/</developerConnection> - <url>http://svn.apache.org/repos/asf/incubator/rat/main/trunk/</url> + <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/rat/main/tags/apache-rat-project-0.6RC1</connection> + <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/rat/main/tags/apache-rat-project-0.6RC1</developerConnection> + <url>http://svn.apache.org/repos/asf/incubator/rat/main/tags/apache-rat-project-0.6RC1</url> </scm> <distributionManagement> @@ -296,4 +272,4 @@ <module>apache-rat-tasks</module> <module>apache-rat</module> </modules> -</project> +</project> \ No newline at end of file From [email protected] Sat Feb 28 10:55:01 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98554 invoked from network); 28 Feb 2009 10:55:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Feb 2009 10:55:01 -0000 Received: (qmail 20455 invoked by uid 500); 28 Feb 2009 10:55:01 -0000 Delivered-To: [email protected] Received: (qmail 20432 invoked by uid 500); 28 Feb 2009 10:55:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 20422 invoked by uid 99); 28 Feb 2009 10:55:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Feb 2009 02:55:01 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Feb 2009 10:55:00 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 977DD23888A5; Sat, 28 Feb 2009 10:54:40 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748809 - /incubator/rat/main/tags/apache-rat-project-0.6RC1/ Date: Sat, 28 Feb 2009 10:54:40 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Sat Feb 28 10:54:40 2009 New Revision: 748809 URL: http://svn.apache.org/viewvc?rev=748809&view=rev Log: [maven-release-plugin] copy for tag apache-rat-project-0.6RC1 Added: incubator/rat/main/tags/apache-rat-project-0.6RC1/ - copied from r748808, incubator/rat/main/trunk/ From [email protected] Sat Feb 28 10:55:11 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98622 invoked from network); 28 Feb 2009 10:55:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Feb 2009 10:55:10 -0000 Received: (qmail 20493 invoked by uid 500); 28 Feb 2009 10:55:10 -0000 Delivered-To: [email protected] Received: (qmail 20472 invoked by uid 500); 28 Feb 2009 10:55:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 20463 invoked by uid 99); 28 Feb 2009 10:55:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Feb 2009 02:55:10 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Feb 2009 10:55:08 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 424A92388A1E; Sat, 28 Feb 2009 10:54:47 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748810 - in /incubator/rat/main/trunk: apache-rat-core/pom.xml apache-rat-plugin/pom.xml apache-rat-tasks/pom.xml apache-rat/pom.xml pom.xml Date: Sat, 28 Feb 2009 10:54:46 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Sat Feb 28 10:54:46 2009 New Revision: 748810 URL: http://svn.apache.org/viewvc?rev=748810&view=rev Log: [maven-release-plugin] prepare for next development iteration Modified: incubator/rat/main/trunk/apache-rat-core/pom.xml incubator/rat/main/trunk/apache-rat-plugin/pom.xml incubator/rat/main/trunk/apache-rat-tasks/pom.xml incubator/rat/main/trunk/apache-rat/pom.xml incubator/rat/main/trunk/pom.xml Modified: incubator/rat/main/trunk/apache-rat-core/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-core/pom.xml?rev=748810&r1=748809&r2=748810&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-core/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-core/pom.xml Sat Feb 28 10:54:46 2009 @@ -3,7 +3,7 @@ <parent> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-project</artifactId> - <version>0.6RC1</version> + <version>0.6-SNAPSHOT</version> </parent> <artifactId>apache-rat-core</artifactId> <packaging>jar</packaging> Modified: incubator/rat/main/trunk/apache-rat-plugin/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-plugin/pom.xml?rev=748810&r1=748809&r2=748810&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-plugin/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-plugin/pom.xml Sat Feb 28 10:54:46 2009 @@ -3,7 +3,7 @@ <parent> <artifactId>apache-rat-project</artifactId> <groupId>org.apache.rat</groupId> - <version>0.6RC1</version> + <version>0.6-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>apache-rat-plugin</artifactId> Modified: incubator/rat/main/trunk/apache-rat-tasks/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat-tasks/pom.xml?rev=748810&r1=748809&r2=748810&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat-tasks/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat-tasks/pom.xml Sat Feb 28 10:54:46 2009 @@ -3,7 +3,7 @@ <parent> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-project</artifactId> - <version>0.6RC1</version> + <version>0.6-SNAPSHOT</version> </parent> <artifactId>apache-rat-tasks</artifactId> <packaging>jar</packaging> Modified: incubator/rat/main/trunk/apache-rat/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat/pom.xml?rev=748810&r1=748809&r2=748810&view=diff ============================================================================== --- incubator/rat/main/trunk/apache-rat/pom.xml (original) +++ incubator/rat/main/trunk/apache-rat/pom.xml Sat Feb 28 10:54:46 2009 @@ -3,7 +3,7 @@ <parent> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-project</artifactId> - <version>0.6RC1</version> + <version>0.6-SNAPSHOT</version> </parent> <artifactId>apache-rat</artifactId> <packaging>jar</packaging> Modified: incubator/rat/main/trunk/pom.xml URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/pom.xml?rev=748810&r1=748809&r2=748810&view=diff ============================================================================== --- incubator/rat/main/trunk/pom.xml (original) +++ incubator/rat/main/trunk/pom.xml Sat Feb 28 10:54:46 2009 @@ -8,7 +8,7 @@ <groupId>org.apache.rat</groupId> <artifactId>apache-rat-project</artifactId> <packaging>pom</packaging> - <version>0.6RC1</version> + <version>0.6-SNAPSHOT</version> <name>RAT</name> <url>http://incubator.apache.org/rat</url> <description> @@ -253,9 +253,9 @@ </contributors> <scm> - <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/rat/main/tags/apache-rat-project-0.6RC1</connection> - <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/rat/main/tags/apache-rat-project-0.6RC1</developerConnection> - <url>http://svn.apache.org/repos/asf/incubator/rat/main/tags/apache-rat-project-0.6RC1</url> + <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/rat/main/trunk/</connection> + <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/rat/main/trunk/</developerConnection> + <url>http://svn.apache.org/repos/asf/incubator/rat/main/trunk/</url> </scm> <distributionManagement>
From [email protected] Wed Jun 1 22:38:45 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 891436311 for <[email protected]>; Wed, 1 Jun 2011 22:38:45 +0000 (UTC) Received: (qmail 48473 invoked by uid 500); 1 Jun 2011 22:38:45 -0000 Delivered-To: [email protected] Received: (qmail 48452 invoked by uid 500); 1 Jun 2011 22:38:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48445 invoked by uid 99); 1 Jun 2011 22:38:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 22:38:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 22:38:43 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 9121B23889BF; Wed, 1 Jun 2011 22:38:23 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r790352 - in /websites/production/community: ./ content/committers/index.html content/contributors/index.html content/projectIndependence.html Date: Wed, 01 Jun 2011 22:38:23 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: rgardler Date: Wed Jun 1 22:38:23 2011 New Revision: 790352 Log: Publish links to project independence doc Added: websites/production/community/content/projectIndependence.html - copied unchanged from r790351, websites/staging/community/trunk/content/projectIndependence.html Modified: websites/production/community/ (props changed) websites/production/community/content/committers/index.html websites/production/community/content/contributors/index.html Propchange: websites/production/community/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Wed Jun 1 22:38:23 2011 @@ -1,2 +1,2 @@ /websites/staging/comdev/trunk:779592-779702 -/websites/staging/community/trunk:779703-789738 +/websites/staging/community/trunk:779703-790351 Modified: websites/production/community/content/committers/index.html ============================================================================== --- websites/production/community/content/committers/index.html (original) +++ websites/production/community/content/committers/index.html Wed Jun 1 22:38:23 2011 @@ -104,8 +104,20 @@ <p>Information that is useful to Apache committers is spread across the whole ASF site. This page is intended to be an index of useful resources. This site is editable by any Apache Committer, feel free to add anything useful here.</p> +<h2 id="project_independence">Project Independence</h2> +<p>While not all aspects of the Apache Way are practiced the same way by +all projects at the ASF, there are a number of rules that Apache +projects are required to follow – things like complying with PMC +<a href="http://www.apache.org/dev/release.html">release voting</a>, <a href="http://www.apache.org/legal/">legal policy</a>, <a href="http://www.apache.org/foundation/marks/">brand policy</a>, +using <a href="http://www.apache.org/dev/#mail">mailing lists</a>, etc., which are <a href="https://blogs.apache.org/comdev/entry/what_makes_apache_projects_different">documented in various places</a>. </p> +<p>One of these invariant rules is that projects are managed and used +independently of any commercial interests. The goal is to createan +environemnt in which all participants are equal and thus have an equal +opportunity to contribute to and benefit from our software, regardless +of motivation or financial objectives. This is discussed in more detail +in our document <a href="/projectIndependence.html">Project Independence</a>.</p> <p><a name="Index-Assistingwithprojectmanagement"></a></p> -<h1 id="assisting_with_project_management">Assisting with project management</h1> +<h2 id="assisting_with_project_management">Assisting with project management</h2> <p>There are many visible contributions of value in an Apache projects (documentation, testing, coding user support, design etc.), but there are also plenty of "back office" tasks that are necessary to maintain a healthy Modified: websites/production/community/content/contributors/index.html ============================================================================== --- websites/production/community/content/contributors/index.html (original) +++ websites/production/community/content/contributors/index.html Wed Jun 1 22:38:23 2011 @@ -106,6 +106,18 @@ comfortable with open source development their way around The Apache Software Foundation.</p> <p>At the time of writing we don't have much here, so we suggest you mail us with your questions.</p> +<h2 id="project_independence">Project Independence</h2> +<p>While not all aspects of the Apache Way are practiced the same way by +all projects at the ASF, there are a number of rules that Apache +projects are required to follow – things like complying with PMC +<a href="http://www.apache.org/dev/release.html">release voting</a>, <a href="http://www.apache.org/legal/">legal policy</a>, <a href="http://www.apache.org/foundation/marks/">brand policy</a>, +using <a href="http://www.apache.org/dev/#mail">mailing lists</a>, etc., which are <a href="https://blogs.apache.org/comdev/entry/what_makes_apache_projects_different">documented in various places</a>. </p> +<p>One of these invariant rules is that projects are managed and used +independently of any commercial interests. The goal is to createan +environemnt in which all participants are equal and thus have an equal +opportunity to contribute to and benefit from our software, regardless +of motivation or financial objectives. This is discussed in more detail +in our document <a href="/projectIndependence.html">Project Independence</a>.</p> <h2 id="questions_and_feedback">Questions and Feedback</h2> <p>Feedback can be provided and questions asked by subscribing to our mailing list by sending a mail to From [email protected] Wed Jun 1 23:30:42 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id EBB1F6DF1 for <[email protected]>; Wed, 1 Jun 2011 23:30:42 +0000 (UTC) Received: (qmail 2146 invoked by uid 500); 1 Jun 2011 23:30:42 -0000 Delivered-To: [email protected] Received: (qmail 2125 invoked by uid 500); 1 Jun 2011 23:30:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 2118 invoked by uid 99); 1 Jun 2011 23:30:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 23:30:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 23:30:40 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 000282388A1C; Wed, 1 Jun 2011 23:30:19 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1130345 - /comdev/site/trunk/content/committers/index.mdtext Date: Wed, 01 Jun 2011 23:30:19 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rgardler Date: Wed Jun 1 23:30:19 2011 New Revision: 1130345 URL: http://svn.apache.org/viewvc?rev=1130345&view=rev Log: improve naming of new committer link (thanks to Deniss Hamilton) Modified: comdev/site/trunk/content/committers/index.mdtext Modified: comdev/site/trunk/content/committers/index.mdtext URL: http://svn.apache.org/viewvc/comdev/site/trunk/content/committers/index.mdtext?rev=1130345&r1=1130344&r2=1130345&view=diff ============================================================================== --- comdev/site/trunk/content/committers/index.mdtext (original) +++ comdev/site/trunk/content/committers/index.mdtext Wed Jun 1 23:30:19 2011 @@ -45,8 +45,9 @@ project. This section describes some of with. In most cases you will need to be a committer to carry out these activities, although non-committers can often act in supporting roles. + * [Assessing and approving new committers](/newcommitter.html) * [Board Reports](/boardreport.html) - * [New Committer Handling](/newcommitter.html) + [1]: http://www.apache.org/dev/release.html [2]: http://www.apache.org/legal/ From [email protected] Wed Jun 1 23:30:51 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id AEC206EA1 for <[email protected]>; Wed, 1 Jun 2011 23:30:51 +0000 (UTC) Received: (qmail 2215 invoked by uid 500); 1 Jun 2011 23:30:51 -0000 Delivered-To: [email protected] Received: (qmail 2193 invoked by uid 500); 1 Jun 2011 23:30:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 2186 invoked by uid 99); 1 Jun 2011 23:30:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 23:30:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 23:30:49 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C683C2388A93; Wed, 1 Jun 2011 23:30:28 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r790354 - /websites/staging/community/trunk/content/committers/index.html Date: Wed, 01 Jun 2011 23:30:28 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: buildbot Date: Wed Jun 1 23:30:28 2011 New Revision: 790354 Log: Staging update by buildbot Modified: websites/staging/community/trunk/content/committers/index.html Modified: websites/staging/community/trunk/content/committers/index.html ============================================================================== --- websites/staging/community/trunk/content/committers/index.html (original) +++ websites/staging/community/trunk/content/committers/index.html Wed Jun 1 23:30:28 2011 @@ -125,8 +125,8 @@ project. This section describes some of with. In most cases you will need to be a committer to carry out these activities, although non-committers can often act in supporting roles.</p> <ul> +<li><a href="/newcommitter.html">Assessing and approving new committers</a></li> <li><a href="/boardreport.html">Board Reports</a></li> -<li><a href="/newcommitter.html">New Committer Handling</a></li> </ul> </DIV> </DIV> From [email protected] Wed Jun 1 23:33:55 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id DDB256D08 for <[email protected]>; Wed, 1 Jun 2011 23:33:55 +0000 (UTC) Received: (qmail 3402 invoked by uid 500); 1 Jun 2011 23:33:55 -0000 Delivered-To: [email protected] Received: (qmail 3382 invoked by uid 500); 1 Jun 2011 23:33:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 3375 invoked by uid 99); 1 Jun 2011 23:33:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 23:33:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 23:33:53 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E6E1C2388A1C; Wed, 1 Jun 2011 23:33:32 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r1130346 - /comdev/site/trunk/content/committers/index.mdtext Date: Wed, 01 Jun 2011 23:33:32 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rgardler Date: Wed Jun 1 23:33:32 2011 New Revision: 1130346 URL: http://svn.apache.org/viewvc?rev=1130346&view=rev Log: fix type (thanks to Dennis Hamilton) Modified: comdev/site/trunk/content/committers/index.mdtext Modified: comdev/site/trunk/content/committers/index.mdtext URL: http://svn.apache.org/viewvc/comdev/site/trunk/content/committers/index.mdtext?rev=1130346&r1=1130345&r2=1130346&view=diff ============================================================================== --- comdev/site/trunk/content/committers/index.mdtext (original) +++ comdev/site/trunk/content/committers/index.mdtext Wed Jun 1 23:33:32 2011 @@ -29,8 +29,8 @@ projects are required to follow – t using [mailing lists][4], etc., which are [documented in various places][5]. One of these invariant rules is that projects are managed and used -independently of any commercial interests. The goal is to createan -environemnt in which all participants are equal and thus have an equal +independently of any commercial interests. The goal is to create an +environment in which all participants are equal and thus have an equal opportunity to contribute to and benefit from our software, regardless of motivation or financial objectives. This is discussed in more detail in our document [Project Independence][6]. From [email protected] Wed Jun 1 23:34:03 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 2AD646DA0 for <[email protected]>; Wed, 1 Jun 2011 23:34:03 +0000 (UTC) Received: (qmail 3478 invoked by uid 500); 1 Jun 2011 23:34:03 -0000 Delivered-To: [email protected] Received: (qmail 3458 invoked by uid 500); 1 Jun 2011 23:34:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 3451 invoked by uid 99); 1 Jun 2011 23:34:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 23:34:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 23:34:02 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 171B3238890A; Wed, 1 Jun 2011 23:33:42 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r790355 - /websites/staging/community/trunk/content/committers/index.html Date: Wed, 01 Jun 2011 23:33:42 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: buildbot Date: Wed Jun 1 23:33:41 2011 New Revision: 790355 Log: Staging update by buildbot Modified: websites/staging/community/trunk/content/committers/index.html Modified: websites/staging/community/trunk/content/committers/index.html ============================================================================== --- websites/staging/community/trunk/content/committers/index.html (original) +++ websites/staging/community/trunk/content/committers/index.html Wed Jun 1 23:33:41 2011 @@ -111,8 +111,8 @@ projects are required to follow – t <a href="http://www.apache.org/dev/release.html">release voting</a>, <a href="http://www.apache.org/legal/">legal policy</a>, <a href="http://www.apache.org/foundation/marks/">brand policy</a>, using <a href="http://www.apache.org/dev/#mail">mailing lists</a>, etc., which are <a href="https://blogs.apache.org/comdev/entry/what_makes_apache_projects_different">documented in various places</a>. </p> <p>One of these invariant rules is that projects are managed and used -independently of any commercial interests. The goal is to createan -environemnt in which all participants are equal and thus have an equal +independently of any commercial interests. The goal is to create an +environment in which all participants are equal and thus have an equal opportunity to contribute to and benefit from our software, regardless of motivation or financial objectives. This is discussed in more detail in our document <a href="/projectIndependence.html">Project Independence</a>.</p> From [email protected] Wed Jun 1 23:36:19 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 008076FCC for <[email protected]>; Wed, 1 Jun 2011 23:36:19 +0000 (UTC) Received: (qmail 5563 invoked by uid 500); 1 Jun 2011 23:36:18 -0000 Delivered-To: [email protected] Received: (qmail 5541 invoked by uid 500); 1 Jun 2011 23:36:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 5534 invoked by uid 99); 1 Jun 2011 23:36:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 23:36:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 23:36:17 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E59C523889EA; Wed, 1 Jun 2011 23:35:57 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1130349 - /comdev/site/trunk/content/newcommitter.mdtext Date: Wed, 01 Jun 2011 23:35:57 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: rgardler Date: Wed Jun 1 23:35:57 2011 New Revision: 1130349 URL: http://svn.apache.org/viewvc?rev=1130349&view=rev Log: fix typo (thanks to Dennis Hamilton) Modified: comdev/site/trunk/content/newcommitter.mdtext Modified: comdev/site/trunk/content/newcommitter.mdtext URL: http://svn.apache.org/viewvc/comdev/site/trunk/content/newcommitter.mdtext?rev=1130349&r1=1130348&r2=1130349&view=diff ============================================================================== --- comdev/site/trunk/content/newcommitter.mdtext (original) +++ comdev/site/trunk/content/newcommitter.mdtext Wed Jun 1 23:35:57 2011 @@ -1,4 +1,5 @@ Title: NewCommitter + Identifying potential new commiters, calling a vote for their recognition as a committer and processing the relevant documents is something that the whole community can contribute to. @@ -12,7 +13,7 @@ drafts for the various communications th When voting, all PMC members need to make up your own mind, perhaps search mailing lists and Jira, etc. The following are some tips that we developed. -Also consider the Apache Forrest [committer fuidelines](http://forrest.apache.org/committed.html) +Also consider the Apache Forrest [committer guidelines](http://forrest.apache.org/committed.html) <a name="NewCommitter-Abilitytoworkco-operativelywithpeers."></a> ## Ability to work co-operatively with peers. From [email protected] Wed Jun 1 23:36:27 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id EE5C26FD4 for <[email protected]>; Wed, 1 Jun 2011 23:36:27 +0000 (UTC) Received: (qmail 5625 invoked by uid 500); 1 Jun 2011 23:36:27 -0000 Delivered-To: [email protected] Received: (qmail 5603 invoked by uid 500); 1 Jun 2011 23:36:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 5596 invoked by uid 99); 1 Jun 2011 23:36:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 23:36:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 23:36:26 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id DFDE92388A1C; Wed, 1 Jun 2011 23:36:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r790356 - /websites/staging/community/trunk/content/newcommitter.html Date: Wed, 01 Jun 2011 23:36:06 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: buildbot Date: Wed Jun 1 23:36:06 2011 New Revision: 790356 Log: Staging update by buildbot Modified: websites/staging/community/trunk/content/newcommitter.html Modified: websites/staging/community/trunk/content/newcommitter.html ============================================================================== --- websites/staging/community/trunk/content/newcommitter.html (original) +++ websites/staging/community/trunk/content/newcommitter.html Wed Jun 1 23:36:06 2011 @@ -111,7 +111,7 @@ drafts for the various communications th <h1 id="guidelines_for_assessing_new_candidates_for_committership">Guidelines for assessing new candidates for committership</h1> <p>When voting, all PMC members need to make up your own mind, perhaps search mailing lists and Jira, etc. The following are some tips that we developed. -Also consider the Apache Forrest <a href="http://forrest.apache.org/committed.html">committer fuidelines</a></p> +Also consider the Apache Forrest <a href="http://forrest.apache.org/committed.html">committer guidelines</a></p> <p><a name="NewCommitter-Abilitytoworkco-operativelywithpeers."></a></p> <h2 id="ability_to_work_co-operatively_with_peers">Ability to work co-operatively with peers.</h2> <p>How do we evaluate? By the interactions they have through mail. By how From [email protected] Wed Jun 1 23:42:13 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id DCA336210 for <[email protected]>; Wed, 1 Jun 2011 23:42:12 +0000 (UTC) Received: (qmail 13560 invoked by uid 500); 1 Jun 2011 23:42:12 -0000 Delivered-To: [email protected] Received: (qmail 13538 invoked by uid 500); 1 Jun 2011 23:42:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13531 invoked by uid 99); 1 Jun 2011 23:42:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 23:42:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 23:42:10 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id CBC422388A93; Wed, 1 Jun 2011 23:41:49 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1130353 - /comdev/site/trunk/content/newcommitter.mdtext Date: Wed, 01 Jun 2011 23:41:49 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rgardler Date: Wed Jun 1 23:41:49 2011 New Revision: 1130353 URL: http://svn.apache.org/viewvc?rev=1130353&view=rev Log: more typos Modified: comdev/site/trunk/content/newcommitter.mdtext Modified: comdev/site/trunk/content/newcommitter.mdtext URL: http://svn.apache.org/viewvc/comdev/site/trunk/content/newcommitter.mdtext?rev=1130353&r1=1130352&r2=1130353&view=diff ============================================================================== --- comdev/site/trunk/content/newcommitter.mdtext (original) +++ comdev/site/trunk/content/newcommitter.mdtext Wed Jun 1 23:41:49 2011 @@ -4,7 +4,7 @@ Identifying potential new commiters, cal as a committer and processing the relevant documents is something that the whole community can contribute to. -Each project has different approches to managing new committers, this page +Each project has different appraoches to managing new committers, this page describes a common process found in many Apache projects. It also provides drafts for the various communications that are necessary. @@ -13,7 +13,7 @@ drafts for the various communications th When voting, all PMC members need to make up your own mind, perhaps search mailing lists and Jira, etc. The following are some tips that we developed. -Also consider the Apache Forrest [committer guidelines](http://forrest.apache.org/committed.html) +Also consider the Apache Forrest [committer guidelines](http://forrest.apache.org/committed.html). <a name="NewCommitter-Abilitytoworkco-operativelywithpeers."></a> ## Ability to work co-operatively with peers. @@ -25,7 +25,7 @@ process. ## Ability to be a mentor. How do we evaluate? By the interactions they have through mail. By how clear they are and how willing they are to point at appropriate background -materials (or event create them). +materials (or even create them). <a name="NewCommitter-Community"></a> ## Community @@ -38,7 +38,7 @@ on not-so-fun tasks as well. <a name="NewCommitter-Personalskill/ability"></a> ## Personal skill/ability -1. How do we evaluate? A solid general understanding of the project. +How do we evaluate? A solid general understanding of the project. Quality of discussion in mail. Patches easy to apply with only a cursory review. From [email protected] Wed Jun 1 23:42:20 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 327986218 for <[email protected]>; Wed, 1 Jun 2011 23:42:20 +0000 (UTC) Received: (qmail 13626 invoked by uid 500); 1 Jun 2011 23:42:20 -0000 Delivered-To: [email protected] Received: (qmail 13603 invoked by uid 500); 1 Jun 2011 23:42:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13596 invoked by uid 99); 1 Jun 2011 23:42:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 23:42:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 23:42:19 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 00142238890D; Wed, 1 Jun 2011 23:41:58 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r790357 - /websites/staging/community/trunk/content/newcommitter.html Date: Wed, 01 Jun 2011 23:41:58 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: buildbot Date: Wed Jun 1 23:41:58 2011 New Revision: 790357 Log: Staging update by buildbot Modified: websites/staging/community/trunk/content/newcommitter.html Modified: websites/staging/community/trunk/content/newcommitter.html ============================================================================== --- websites/staging/community/trunk/content/newcommitter.html (original) +++ websites/staging/community/trunk/content/newcommitter.html Wed Jun 1 23:41:58 2011 @@ -104,14 +104,14 @@ <p>Identifying potential new commiters, calling a vote for their recognition as a committer and processing the relevant documents is something that the whole community can contribute to.</p> -<p>Each project has different approches to managing new committers, this page +<p>Each project has different appraoches to managing new committers, this page describes a common process found in many Apache projects. It also provides drafts for the various communications that are necessary.</p> <p><a name="NewCommitter-Guidelinesforassessingnewcandidatesforcommittership"></a></p> <h1 id="guidelines_for_assessing_new_candidates_for_committership">Guidelines for assessing new candidates for committership</h1> <p>When voting, all PMC members need to make up your own mind, perhaps search mailing lists and Jira, etc. The following are some tips that we developed. -Also consider the Apache Forrest <a href="http://forrest.apache.org/committed.html">committer guidelines</a></p> +Also consider the Apache Forrest <a href="http://forrest.apache.org/committed.html">committer guidelines</a>.</p> <p><a name="NewCommitter-Abilitytoworkco-operativelywithpeers."></a></p> <h2 id="ability_to_work_co-operatively_with_peers">Ability to work co-operatively with peers.</h2> <p>How do we evaluate? By the interactions they have through mail. By how @@ -121,7 +121,7 @@ process.</p> <h2 id="ability_to_be_a_mentor">Ability to be a mentor.</h2> <p>How do we evaluate? By the interactions they have through mail. By how clear they are and how willing they are to point at appropriate background -materials (or event create them).</p> +materials (or even create them).</p> <p><a name="NewCommitter-Community"></a></p> <h2 id="community">Community</h2> <p>How do we evaluate? By the interactions they have through mail.</p> @@ -131,11 +131,9 @@ materials (or event create them).</p> on not-so-fun tasks as well.</p> <p><a name="NewCommitter-Personalskill/ability"></a></p> <h2 id="personal_skillability">Personal skill/ability</h2> -<ol> -<li>How do we evaluate? A solid general understanding of the project. +<p>How do we evaluate? A solid general understanding of the project. Quality of discussion in mail. Patches easy to apply with only -a cursory review.</li> -</ol> +a cursory review.</p> <p><a name="NewCommitter-NewCommitterProcess"></a></p> <h1 id="new_committer_process">New Committer Process</h1> <p>This section describes a typical Apache projects process for handling the From [email protected] Thu Jun 2 00:00:23 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id BDE2B6E3F for <[email protected]>; Thu, 2 Jun 2011 00:00:23 +0000 (UTC) Received: (qmail 33657 invoked by uid 500); 2 Jun 2011 00:00:23 -0000 Delivered-To: [email protected] Received: (qmail 33636 invoked by uid 500); 2 Jun 2011 00:00:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 33629 invoked by uid 99); 2 Jun 2011 00:00:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 00:00:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 00:00:22 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 29320238890D; Wed, 1 Jun 2011 23:59:41 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r790358 - in /websites/production/community: ./ content/committers/index.html content/newcommitter.html Date: Wed, 01 Jun 2011 23:59:41 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: rgardler Date: Wed Jun 1 23:59:40 2011 New Revision: 790358 Log: Publishing merge to community site by rgardler Modified: websites/production/community/ (props changed) websites/production/community/content/committers/index.html websites/production/community/content/newcommitter.html Propchange: websites/production/community/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Wed Jun 1 23:59:40 2011 @@ -1,2 +1,2 @@ /websites/staging/comdev/trunk:779592-779702 -/websites/staging/community/trunk:779703-790351 +/websites/staging/community/trunk:779703-790357 Modified: websites/production/community/content/committers/index.html ============================================================================== --- websites/production/community/content/committers/index.html (original) +++ websites/production/community/content/committers/index.html Wed Jun 1 23:59:40 2011 @@ -111,8 +111,8 @@ projects are required to follow – t <a href="http://www.apache.org/dev/release.html">release voting</a>, <a href="http://www.apache.org/legal/">legal policy</a>, <a href="http://www.apache.org/foundation/marks/">brand policy</a>, using <a href="http://www.apache.org/dev/#mail">mailing lists</a>, etc., which are <a href="https://blogs.apache.org/comdev/entry/what_makes_apache_projects_different">documented in various places</a>. </p> <p>One of these invariant rules is that projects are managed and used -independently of any commercial interests. The goal is to createan -environemnt in which all participants are equal and thus have an equal +independently of any commercial interests. The goal is to create an +environment in which all participants are equal and thus have an equal opportunity to contribute to and benefit from our software, regardless of motivation or financial objectives. This is discussed in more detail in our document <a href="/projectIndependence.html">Project Independence</a>.</p> @@ -125,8 +125,8 @@ project. This section describes some of with. In most cases you will need to be a committer to carry out these activities, although non-committers can often act in supporting roles.</p> <ul> +<li><a href="/newcommitter.html">Assessing and approving new committers</a></li> <li><a href="/boardreport.html">Board Reports</a></li> -<li><a href="/newcommitter.html">New Committer Handling</a></li> </ul> </DIV> </DIV> Modified: websites/production/community/content/newcommitter.html ============================================================================== --- websites/production/community/content/newcommitter.html (original) +++ websites/production/community/content/newcommitter.html Wed Jun 1 23:59:40 2011 @@ -104,14 +104,14 @@ <p>Identifying potential new commiters, calling a vote for their recognition as a committer and processing the relevant documents is something that the whole community can contribute to.</p> -<p>Each project has different approches to managing new committers, this page +<p>Each project has different appraoches to managing new committers, this page describes a common process found in many Apache projects. It also provides drafts for the various communications that are necessary.</p> <p><a name="NewCommitter-Guidelinesforassessingnewcandidatesforcommittership"></a></p> <h1 id="guidelines_for_assessing_new_candidates_for_committership">Guidelines for assessing new candidates for committership</h1> <p>When voting, all PMC members need to make up your own mind, perhaps search mailing lists and Jira, etc. The following are some tips that we developed. -Also consider the Apache Forrest <a href="http://forrest.apache.org/committed.html">committer fuidelines</a></p> +Also consider the Apache Forrest <a href="http://forrest.apache.org/committed.html">committer guidelines</a>.</p> <p><a name="NewCommitter-Abilitytoworkco-operativelywithpeers."></a></p> <h2 id="ability_to_work_co-operatively_with_peers">Ability to work co-operatively with peers.</h2> <p>How do we evaluate? By the interactions they have through mail. By how @@ -121,7 +121,7 @@ process.</p> <h2 id="ability_to_be_a_mentor">Ability to be a mentor.</h2> <p>How do we evaluate? By the interactions they have through mail. By how clear they are and how willing they are to point at appropriate background -materials (or event create them).</p> +materials (or even create them).</p> <p><a name="NewCommitter-Community"></a></p> <h2 id="community">Community</h2> <p>How do we evaluate? By the interactions they have through mail.</p> @@ -131,11 +131,9 @@ materials (or event create them).</p> on not-so-fun tasks as well.</p> <p><a name="NewCommitter-Personalskill/ability"></a></p> <h2 id="personal_skillability">Personal skill/ability</h2> -<ol> -<li>How do we evaluate? A solid general understanding of the project. +<p>How do we evaluate? A solid general understanding of the project. Quality of discussion in mail. Patches easy to apply with only -a cursory review.</li> -</ol> +a cursory review.</p> <p><a name="NewCommitter-NewCommitterProcess"></a></p> <h1 id="new_committer_process">New Committer Process</h1> <p>This section describes a typical Apache projects process for handling the From [email protected] Thu Jun 2 13:43:03 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id F0E03425C for <[email protected]>; Thu, 2 Jun 2011 13:43:02 +0000 (UTC) Received: (qmail 42552 invoked by uid 500); 2 Jun 2011 13:43:02 -0000 Delivered-To: [email protected] Received: (qmail 42531 invoked by uid 500); 2 Jun 2011 13:43:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 42524 invoked by uid 99); 2 Jun 2011 13:43:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 13:43:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 13:43:01 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 250EF238897D; Thu, 2 Jun 2011 13:42:41 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r1130546 - /comdev/site/trunk/content/contributors/index.mdtext Date: Thu, 02 Jun 2011 13:42:41 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: rgardler Date: Thu Jun 2 13:42:40 2011 New Revision: 1130546 URL: http://svn.apache.org/viewvc?rev=1130546&view=rev Log: CMS commit to community by rgardler Modified: comdev/site/trunk/content/contributors/index.mdtext Modified: comdev/site/trunk/content/contributors/index.mdtext URL: http://svn.apache.org/viewvc/comdev/site/trunk/content/contributors/index.mdtext?rev=1130546&r1=1130545&r2=1130546&view=diff ============================================================================== --- comdev/site/trunk/content/contributors/index.mdtext (original) +++ comdev/site/trunk/content/contributors/index.mdtext Thu Jun 2 13:42:40 2011 @@ -18,25 +18,73 @@ Notice: Licensed to the Apache Softwa This page is intended for those people who are reasonably comfortable with open source development models but need a helping hand finding -their way around The Apache Software Foundation. - -At the time of writing we don't have much here, so we suggest you mail us -with your questions. +their way around The Apache Software Foundation and our way of developing software +(commonly called "The Apache Way"). For those wishing to start from +the very beginning we have a [newcomers page][1] too. ## Project Independence While not all aspects of the Apache Way are practiced the same way by all projects at the ASF, there are a number of rules that Apache projects are required to follow – things like complying with PMC -[release voting][1], [legal policy][2], [brand policy][3], -using [mailing lists][4], etc., which are [documented in various places][5]. +[release voting][2], [legal policy][3], [brand policy][4], +using [mailing lists][5], etc., which are [documented in various places][6]. One of these invariant rules is that projects are managed and used independently of any commercial interests. The goal is to createan environemnt in which all participants are equal and thus have an equal opportunity to contribute to and benefit from our software, regardless of motivation or financial objectives. This is discussed in more detail -in our document [Project Independence][6]. +in our document [Project Independence][7]. + +## From contributor to committer + +Anyone can be a contributor to an Apache project. Being a contributor simply means +that you take an interest in the project and contribute in some way, ranging from asking +sensible questions (which documents the project and provides feedback to developers) +through to providing new features as patches. + +If you become a valuable contributor to the project you may well be invited to become +a committer. Committer is an term used at the ASF to signify someone who is +committed to a particular project. It brings with it the privilege of right access to +the project repository and resources. In many projects committers are also invited +to be part of the core group within the project that ensures the project's vitality +(represented by the Project Management Committee, PMC). In a few projects a only a subset of +committers, who have earned even more merit, are invited to be a part of the PMC. + +One thing that is sometimes hard to understand when you are new to the open +development1 process used at the ASF, is that we value the community more than +the code. A strong and healthy community will be respectful and be a fun and +rewarding place. Strong code will evolve. + +### Contributing to the Project - CoPDoC + +The foundations of an Apache project and how the community contributes to it is +sometimes referred to by the acronym CoPDoC: + + - (Co)mmunity - one must interact with others, and share vision and knowledge + - (P)roject - a clear vision and consensus are needed + - (Do)cumentation - without it, the stuff remains only in the minds of the authors + - (C)ode - discussion goes nowhere without code + +### Becoming a Committer + +There is nothing at The Apache Software Foundation that says you must write code +in order to be a committer. Anyone who is supportive of the community and works +in any of the CoPDoC areas is a likely candidate for committership. + +Apache is a meritocracy. That is, once someone has contributed sufficiently to +any area of CoPDoC they can be voted in as a committer. Being a committer does +not mean you commit code, it means you are committed to the project. + +One of the key contributions people can make to the community is through the +support of a wide user base by assisting users on the user list, writing user +oriented docs and ensuring the user viewpoint is understood by all developers. +A main idea behind being a committer is the ability to be a mentor and to work +cooperatively with your peers. + +Some of those users become committers in their own write. Some will test code, +some will write documentation, some will do bug triage and some will write code. ## Questions and Feedback @@ -46,9 +94,10 @@ list by sending a mail to [[email protected]](mailto:[email protected]). - [1]: http://www.apache.org/dev/release.html - [2]: http://www.apache.org/legal/ - [3]: http://www.apache.org/foundation/marks/ - [4]: http://www.apache.org/dev/#mail - [5]: https://blogs.apache.org/comdev/entry/what_makes_apache_projects_different - [6]: /projectIndependence.html \ No newline at end of file + [1]: /newcomers/index.html + [2]: http://www.apache.org/dev/release.html + [3]: http://www.apache.org/legal/ + [4]: http://www.apache.org/foundation/marks/ + [5]: http://www.apache.org/dev/#mail + [6]: https://blogs.apache.org/comdev/entry/what_makes_apache_projects_different + [7]: /projectIndependence.html \ No newline at end of file From [email protected] Thu Jun 2 13:43:14 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 1C0104269 for <[email protected]>; Thu, 2 Jun 2011 13:43:14 +0000 (UTC) Received: (qmail 42664 invoked by uid 500); 2 Jun 2011 13:43:14 -0000 Delivered-To: [email protected] Received: (qmail 42643 invoked by uid 500); 2 Jun 2011 13:43:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 42629 invoked by uid 99); 2 Jun 2011 13:43:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 13:43:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 13:43:11 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 075E22388A29; Thu, 2 Jun 2011 13:42:50 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r790378 - /websites/staging/community/trunk/content/contributors/index.html Date: Thu, 02 Jun 2011 13:42:49 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: buildbot Date: Thu Jun 2 13:42:49 2011 New Revision: 790378 Log: Staging update by buildbot Modified: websites/staging/community/trunk/content/contributors/index.html Modified: websites/staging/community/trunk/content/contributors/index.html ============================================================================== --- websites/staging/community/trunk/content/contributors/index.html (original) +++ websites/staging/community/trunk/content/contributors/index.html Thu Jun 2 13:42:49 2011 @@ -103,9 +103,9 @@ <DIV class="wiki-content"> <p>This page is intended for those people who are reasonably comfortable with open source development models but need a helping hand finding -their way around The Apache Software Foundation.</p> -<p>At the time of writing we don't have much here, so we suggest you mail us -with your questions.</p> +their way around The Apache Software Foundation and our way of developing software +(commonly called "The Apache Way"). For those wishing to start from +the very beginning we have a <a href="/newcomers/index.html">newcomers page</a> too.</p> <h2 id="project_independence">Project Independence</h2> <p>While not all aspects of the Apache Way are practiced the same way by all projects at the ASF, there are a number of rules that Apache @@ -118,6 +118,45 @@ environemnt in which all participants ar opportunity to contribute to and benefit from our software, regardless of motivation or financial objectives. This is discussed in more detail in our document <a href="/projectIndependence.html">Project Independence</a>.</p> +<h2 id="from_contributor_to_committer">From contributor to committer</h2> +<p>Anyone can be a contributor to an Apache project. Being a contributor simply means +that you take an interest in the project and contribute in some way, ranging from asking +sensible questions (which documents the project and provides feedback to developers) +through to providing new features as patches.</p> +<p>If you become a valuable contributor to the project you may well be invited to become +a committer. Committer is an term used at the ASF to signify someone who is +committed to a particular project. It brings with it the privilege of right access to +the project repository and resources. In many projects committers are also invited +to be part of the core group within the project that ensures the project's vitality +(represented by the Project Management Committee, PMC). In a few projects a only a subset of +committers, who have earned even more merit, are invited to be a part of the PMC.</p> +<p>One thing that is sometimes hard to understand when you are new to the open +development1 process used at the ASF, is that we value the community more than +the code. A strong and healthy community will be respectful and be a fun and +rewarding place. Strong code will evolve. </p> +<h3 id="contributing_to_the_project_-_copdoc">Contributing to the Project - CoPDoC</h3> +<p>The foundations of an Apache project and how the community contributes to it is +sometimes referred to by the acronym CoPDoC:</p> +<ul> +<li>(Co)mmunity - one must interact with others, and share vision and knowledge</li> +<li>(P)roject - a clear vision and consensus are needed</li> +<li>(Do)cumentation - without it, the stuff remains only in the minds of the authors</li> +<li>(C)ode - discussion goes nowhere without code</li> +</ul> +<h3 id="becoming_a_committer">Becoming a Committer</h3> +<p>There is nothing at The Apache Software Foundation that says you must write code +in order to be a committer. Anyone who is supportive of the community and works +in any of the CoPDoC areas is a likely candidate for committership.</p> +<p>Apache is a meritocracy. That is, once someone has contributed sufficiently to +any area of CoPDoC they can be voted in as a committer. Being a committer does +not mean you commit code, it means you are committed to the project.</p> +<p>One of the key contributions people can make to the community is through the +support of a wide user base by assisting users on the user list, writing user +oriented docs and ensuring the user viewpoint is understood by all developers. +A main idea behind being a committer is the ability to be a mentor and to work +cooperatively with your peers.</p> +<p>Some of those users become committers in their own write. Some will test code, +some will write documentation, some will do bug triage and some will write code.</p> <h2 id="questions_and_feedback">Questions and Feedback</h2> <p>Feedback can be provided and questions asked by subscribing to our mailing list by sending a mail to From [email protected] Thu Jun 2 13:44:43 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id ABA5B436B for <[email protected]>; Thu, 2 Jun 2011 13:44:43 +0000 (UTC) Received: (qmail 44397 invoked by uid 500); 2 Jun 2011 13:44:43 -0000 Delivered-To: [email protected] Received: (qmail 44376 invoked by uid 500); 2 Jun 2011 13:44:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 44369 invoked by uid 99); 2 Jun 2011 13:44:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 13:44:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 13:44:38 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 2B97E238890A; Thu, 2 Jun 2011 13:44:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r790379 - in /websites/production/community: ./ content/contributors/index.html Date: Thu, 02 Jun 2011 13:44:18 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: rgardler Date: Thu Jun 2 13:44:17 2011 New Revision: 790379 Log: Publishing merge to community site by rgardler Modified: websites/production/community/ (props changed) websites/production/community/content/contributors/index.html Propchange: websites/production/community/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Thu Jun 2 13:44:17 2011 @@ -1,2 +1,2 @@ /websites/staging/comdev/trunk:779592-779702 -/websites/staging/community/trunk:779703-790357 +/websites/staging/community/trunk:779703-790378 Modified: websites/production/community/content/contributors/index.html ============================================================================== --- websites/production/community/content/contributors/index.html (original) +++ websites/production/community/content/contributors/index.html Thu Jun 2 13:44:17 2011 @@ -103,9 +103,9 @@ <DIV class="wiki-content"> <p>This page is intended for those people who are reasonably comfortable with open source development models but need a helping hand finding -their way around The Apache Software Foundation.</p> -<p>At the time of writing we don't have much here, so we suggest you mail us -with your questions.</p> +their way around The Apache Software Foundation and our way of developing software +(commonly called "The Apache Way"). For those wishing to start from +the very beginning we have a <a href="/newcomers/index.html">newcomers page</a> too.</p> <h2 id="project_independence">Project Independence</h2> <p>While not all aspects of the Apache Way are practiced the same way by all projects at the ASF, there are a number of rules that Apache @@ -118,6 +118,45 @@ environemnt in which all participants ar opportunity to contribute to and benefit from our software, regardless of motivation or financial objectives. This is discussed in more detail in our document <a href="/projectIndependence.html">Project Independence</a>.</p> +<h2 id="from_contributor_to_committer">From contributor to committer</h2> +<p>Anyone can be a contributor to an Apache project. Being a contributor simply means +that you take an interest in the project and contribute in some way, ranging from asking +sensible questions (which documents the project and provides feedback to developers) +through to providing new features as patches.</p> +<p>If you become a valuable contributor to the project you may well be invited to become +a committer. Committer is an term used at the ASF to signify someone who is +committed to a particular project. It brings with it the privilege of right access to +the project repository and resources. In many projects committers are also invited +to be part of the core group within the project that ensures the project's vitality +(represented by the Project Management Committee, PMC). In a few projects a only a subset of +committers, who have earned even more merit, are invited to be a part of the PMC.</p> +<p>One thing that is sometimes hard to understand when you are new to the open +development1 process used at the ASF, is that we value the community more than +the code. A strong and healthy community will be respectful and be a fun and +rewarding place. Strong code will evolve. </p> +<h3 id="contributing_to_the_project_-_copdoc">Contributing to the Project - CoPDoC</h3> +<p>The foundations of an Apache project and how the community contributes to it is +sometimes referred to by the acronym CoPDoC:</p> +<ul> +<li>(Co)mmunity - one must interact with others, and share vision and knowledge</li> +<li>(P)roject - a clear vision and consensus are needed</li> +<li>(Do)cumentation - without it, the stuff remains only in the minds of the authors</li> +<li>(C)ode - discussion goes nowhere without code</li> +</ul> +<h3 id="becoming_a_committer">Becoming a Committer</h3> +<p>There is nothing at The Apache Software Foundation that says you must write code +in order to be a committer. Anyone who is supportive of the community and works +in any of the CoPDoC areas is a likely candidate for committership.</p> +<p>Apache is a meritocracy. That is, once someone has contributed sufficiently to +any area of CoPDoC they can be voted in as a committer. Being a committer does +not mean you commit code, it means you are committed to the project.</p> +<p>One of the key contributions people can make to the community is through the +support of a wide user base by assisting users on the user list, writing user +oriented docs and ensuring the user viewpoint is understood by all developers. +A main idea behind being a committer is the ability to be a mentor and to work +cooperatively with your peers.</p> +<p>Some of those users become committers in their own write. Some will test code, +some will write documentation, some will do bug triage and some will write code.</p> <h2 id="questions_and_feedback">Questions and Feedback</h2> <p>Feedback can be provided and questions asked by subscribing to our mailing list by sending a mail to From [email protected] Thu Jun 2 14:02:37 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 7CA964F4F for <[email protected]>; Thu, 2 Jun 2011 14:02:37 +0000 (UTC) Received: (qmail 71761 invoked by uid 500); 2 Jun 2011 14:02:37 -0000 Delivered-To: [email protected] Received: (qmail 71742 invoked by uid 500); 2 Jun 2011 14:02:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71735 invoked by uid 99); 2 Jun 2011 14:02:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 14:02:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 14:02:36 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 709462388A36; Thu, 2 Jun 2011 14:02:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1130558 - /comdev/site/trunk/content/newcommitter.mdtext Date: Thu, 02 Jun 2011 14:02:16 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: rgardler Date: Thu Jun 2 14:02:16 2011 New Revision: 1130558 URL: http://svn.apache.org/viewvc?rev=1130558&view=rev Log: CMS commit to community by rgardler Modified: comdev/site/trunk/content/newcommitter.mdtext Modified: comdev/site/trunk/content/newcommitter.mdtext URL: http://svn.apache.org/viewvc/comdev/site/trunk/content/newcommitter.mdtext?rev=1130558&r1=1130557&r2=1130558&view=diff ============================================================================== --- comdev/site/trunk/content/newcommitter.mdtext (original) +++ comdev/site/trunk/content/newcommitter.mdtext Thu Jun 2 14:02:16 2011 @@ -39,7 +39,7 @@ on not-so-fun tasks as well. <a name="NewCommitter-Personalskill/ability"></a> ## Personal skill/ability How do we evaluate? A solid general understanding of the project. -Quality of discussion in mail. Patches easy to apply with only +Quality of discussion in mail. Patches (where applicable) easy to apply with only a cursory review. <a name="NewCommitter-NewCommitterProcess"></a> From [email protected] Thu Jun 2 14:02:49 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 13725404C for <[email protected]>; Thu, 2 Jun 2011 14:02:49 +0000 (UTC) Received: (qmail 71838 invoked by uid 500); 2 Jun 2011 14:02:49 -0000 Delivered-To: [email protected] Received: (qmail 71817 invoked by uid 500); 2 Jun 2011 14:02:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71810 invoked by uid 99); 2 Jun 2011 14:02:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 14:02:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 14:02:46 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 07EC02388A60; Thu, 2 Jun 2011 14:02:26 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r790380 - /websites/staging/community/trunk/content/newcommitter.html Date: Thu, 02 Jun 2011 14:02:25 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: buildbot Date: Thu Jun 2 14:02:25 2011 New Revision: 790380 Log: Staging update by buildbot Modified: websites/staging/community/trunk/content/newcommitter.html Modified: websites/staging/community/trunk/content/newcommitter.html ============================================================================== --- websites/staging/community/trunk/content/newcommitter.html (original) +++ websites/staging/community/trunk/content/newcommitter.html Thu Jun 2 14:02:25 2011 @@ -132,7 +132,7 @@ on not-so-fun tasks as well.</p> <p><a name="NewCommitter-Personalskill/ability"></a></p> <h2 id="personal_skillability">Personal skill/ability</h2> <p>How do we evaluate? A solid general understanding of the project. -Quality of discussion in mail. Patches easy to apply with only +Quality of discussion in mail. Patches (where applicable) easy to apply with only a cursory review.</p> <p><a name="NewCommitter-NewCommitterProcess"></a></p> <h1 id="new_committer_process">New Committer Process</h1> From [email protected] Thu Jun 2 14:04:58 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id E7B6448DA for <[email protected]>; Thu, 2 Jun 2011 14:04:58 +0000 (UTC) Received: (qmail 74301 invoked by uid 500); 2 Jun 2011 14:04:58 -0000 Delivered-To: [email protected] Received: (qmail 74280 invoked by uid 500); 2 Jun 2011 14:04:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74273 invoked by uid 99); 2 Jun 2011 14:04:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 14:04:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 14:04:57 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A9D79238890A; Thu, 2 Jun 2011 14:04:37 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r790381 - in /websites/production/community: ./ content/newcommitter.html Date: Thu, 02 Jun 2011 14:04:37 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: rgardler Date: Thu Jun 2 14:04:37 2011 New Revision: 790381 Log: Publishing merge to community site by rgardler Modified: websites/production/community/ (props changed) websites/production/community/content/newcommitter.html Propchange: websites/production/community/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Thu Jun 2 14:04:37 2011 @@ -1,2 +1,2 @@ /websites/staging/comdev/trunk:779592-779702 -/websites/staging/community/trunk:779703-790378 +/websites/staging/community/trunk:779703-790380 Modified: websites/production/community/content/newcommitter.html ============================================================================== --- websites/production/community/content/newcommitter.html (original) +++ websites/production/community/content/newcommitter.html Thu Jun 2 14:04:37 2011 @@ -132,7 +132,7 @@ on not-so-fun tasks as well.</p> <p><a name="NewCommitter-Personalskill/ability"></a></p> <h2 id="personal_skillability">Personal skill/ability</h2> <p>How do we evaluate? A solid general understanding of the project. -Quality of discussion in mail. Patches easy to apply with only +Quality of discussion in mail. Patches (where applicable) easy to apply with only a cursory review.</p> <p><a name="NewCommitter-NewCommitterProcess"></a></p> <h1 id="new_committer_process">New Committer Process</h1> From [email protected] Thu Jun 2 14:11:32 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 524F64ED0 for <[email protected]>; Thu, 2 Jun 2011 14:11:32 +0000 (UTC) Received: (qmail 99631 invoked by uid 500); 2 Jun 2011 14:11:32 -0000 Delivered-To: [email protected] Received: (qmail 99607 invoked by uid 500); 2 Jun 2011 14:11:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99600 invoked by uid 99); 2 Jun 2011 14:11:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 14:11:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 14:11:30 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 2A42923889EC; Thu, 2 Jun 2011 14:11:09 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1130562 - /comdev/site/trunk/content/contributors/index.mdtext Date: Thu, 02 Jun 2011 14:11:09 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rgardler Date: Thu Jun 2 14:11:08 2011 New Revision: 1130562 URL: http://svn.apache.org/viewvc?rev=1130562&view=rev Log: Add link to how it works Modified: comdev/site/trunk/content/contributors/index.mdtext Modified: comdev/site/trunk/content/contributors/index.mdtext URL: http://svn.apache.org/viewvc/comdev/site/trunk/content/contributors/index.mdtext?rev=1130562&r1=1130561&r2=1130562&view=diff ============================================================================== --- comdev/site/trunk/content/contributors/index.mdtext (original) +++ comdev/site/trunk/content/contributors/index.mdtext Thu Jun 2 14:11:08 2011 @@ -86,6 +86,8 @@ cooperatively with your peers. Some of those users become committers in their own write. Some will test code, some will write documentation, some will do bug triage and some will write code. +For more details see our "[How it works][8]" document. + ## Questions and Feedback Feedback can be provided and questions asked by subscribing to our mailing @@ -100,4 +102,5 @@ list by sending a mail to [4]: http://www.apache.org/foundation/marks/ [5]: http://www.apache.org/dev/#mail [6]: https://blogs.apache.org/comdev/entry/what_makes_apache_projects_different - [7]: /projectIndependence.html \ No newline at end of file + [7]: /projectIndependence.html + [8]: http://www.apache.org/foundation/how-it-works.html \ No newline at end of file From [email protected] Thu Jun 2 14:11:40 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id D3C3F4EDE for <[email protected]>; Thu, 2 Jun 2011 14:11:40 +0000 (UTC) Received: (qmail 99708 invoked by uid 500); 2 Jun 2011 14:11:40 -0000 Delivered-To: [email protected] Received: (qmail 99689 invoked by uid 500); 2 Jun 2011 14:11:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99682 invoked by uid 99); 2 Jun 2011 14:11:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 14:11:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 14:11:38 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C92D22388A29; Thu, 2 Jun 2011 14:11:17 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r790382 - /websites/staging/community/trunk/content/contributors/index.html Date: Thu, 02 Jun 2011 14:11:17 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: buildbot Date: Thu Jun 2 14:11:17 2011 New Revision: 790382 Log: Staging update by buildbot Modified: websites/staging/community/trunk/content/contributors/index.html Modified: websites/staging/community/trunk/content/contributors/index.html ============================================================================== --- websites/staging/community/trunk/content/contributors/index.html (original) +++ websites/staging/community/trunk/content/contributors/index.html Thu Jun 2 14:11:17 2011 @@ -157,6 +157,7 @@ A main idea behind being a committer is cooperatively with your peers.</p> <p>Some of those users become committers in their own write. Some will test code, some will write documentation, some will do bug triage and some will write code.</p> +<p>For more details see our "<a href="http://www.apache.org/foundation/how-it-works.html">How it works</a>" document.</p> <h2 id="questions_and_feedback">Questions and Feedback</h2> <p>Feedback can be provided and questions asked by subscribing to our mailing list by sending a mail to From [email protected] Thu Jun 2 14:11:54 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 6C4EC4EE6 for <[email protected]>; Thu, 2 Jun 2011 14:11:54 +0000 (UTC) Received: (qmail 99767 invoked by uid 500); 2 Jun 2011 14:11:54 -0000 Delivered-To: [email protected] Received: (qmail 99747 invoked by uid 500); 2 Jun 2011 14:11:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99734 invoked by uid 99); 2 Jun 2011 14:11:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 14:11:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 14:11:52 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 462A82388A3B; Thu, 2 Jun 2011 14:11:31 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r790383 - in /websites/production/community: ./ content/contributors/index.html Date: Thu, 02 Jun 2011 14:11:31 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rgardler Date: Thu Jun 2 14:11:30 2011 New Revision: 790383 Log: Publishing merge to community site by rgardler Modified: websites/production/community/ (props changed) websites/production/community/content/contributors/index.html Propchange: websites/production/community/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Thu Jun 2 14:11:30 2011 @@ -1,2 +1,2 @@ /websites/staging/comdev/trunk:779592-779702 -/websites/staging/community/trunk:779703-790380 +/websites/staging/community/trunk:779703-790382 Modified: websites/production/community/content/contributors/index.html ============================================================================== --- websites/production/community/content/contributors/index.html (original) +++ websites/production/community/content/contributors/index.html Thu Jun 2 14:11:30 2011 @@ -157,6 +157,7 @@ A main idea behind being a committer is cooperatively with your peers.</p> <p>Some of those users become committers in their own write. Some will test code, some will write documentation, some will do bug triage and some will write code.</p> +<p>For more details see our "<a href="http://www.apache.org/foundation/how-it-works.html">How it works</a>" document.</p> <h2 id="questions_and_feedback">Questions and Feedback</h2> <p>Feedback can be provided and questions asked by subscribing to our mailing list by sending a mail to From [email protected] Thu Jun 2 16:18:28 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 86A6F49D5 for <[email protected]>; Thu, 2 Jun 2011 16:18:28 +0000 (UTC) Received: (qmail 57276 invoked by uid 500); 2 Jun 2011 16:18:28 -0000 Delivered-To: [email protected] Received: (qmail 57258 invoked by uid 500); 2 Jun 2011 16:18:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 57251 invoked by uid 99); 2 Jun 2011 16:18:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 16:18:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 16:18:26 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 621DE23889E1; Thu, 2 Jun 2011 16:18:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1130631 - /comdev/site/trunk/content/contributors/index.mdtext Date: Thu, 02 Jun 2011 16:18:05 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rgardler Date: Thu Jun 2 16:18:05 2011 New Revision: 1130631 URL: http://svn.apache.org/viewvc?rev=1130631&view=rev Log: typos (thanks to Dennis Hamilton) Modified: comdev/site/trunk/content/contributors/index.mdtext Modified: comdev/site/trunk/content/contributors/index.mdtext URL: http://svn.apache.org/viewvc/comdev/site/trunk/content/contributors/index.mdtext?rev=1130631&r1=1130630&r2=1130631&view=diff ============================================================================== --- comdev/site/trunk/content/contributors/index.mdtext (original) +++ comdev/site/trunk/content/contributors/index.mdtext Thu Jun 2 16:18:05 2011 @@ -46,7 +46,7 @@ through to providing new features as pat If you become a valuable contributor to the project you may well be invited to become a committer. Committer is an term used at the ASF to signify someone who is -committed to a particular project. It brings with it the privilege of right access to +committed to a particular project. It brings with it the privilege of write access to the project repository and resources. In many projects committers are also invited to be part of the core group within the project that ensures the project's vitality (represented by the Project Management Committee, PMC). In a few projects a only a subset of @@ -83,7 +83,7 @@ oriented docs and ensuring the user view A main idea behind being a committer is the ability to be a mentor and to work cooperatively with your peers. -Some of those users become committers in their own write. Some will test code, +Some of those users become committers in their own right. Some will test code, some will write documentation, some will do bug triage and some will write code. For more details see our "[How it works][8]" document. From [email protected] Thu Jun 2 16:18:35 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id E881C4A73 for <[email protected]>; Thu, 2 Jun 2011 16:18:34 +0000 (UTC) Received: (qmail 57890 invoked by uid 500); 2 Jun 2011 16:18:34 -0000 Delivered-To: [email protected] Received: (qmail 57869 invoked by uid 500); 2 Jun 2011 16:18:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 57862 invoked by uid 99); 2 Jun 2011 16:18:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 16:18:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 16:18:33 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D190D2388A38; Thu, 2 Jun 2011 16:18:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r790384 - /websites/staging/community/trunk/content/contributors/index.html Date: Thu, 02 Jun 2011 16:18:13 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: buildbot Date: Thu Jun 2 16:18:13 2011 New Revision: 790384 Log: Staging update by buildbot Modified: websites/staging/community/trunk/content/contributors/index.html Modified: websites/staging/community/trunk/content/contributors/index.html ============================================================================== --- websites/staging/community/trunk/content/contributors/index.html (original) +++ websites/staging/community/trunk/content/contributors/index.html Thu Jun 2 16:18:13 2011 @@ -125,7 +125,7 @@ sensible questions (which documents the through to providing new features as patches.</p> <p>If you become a valuable contributor to the project you may well be invited to become a committer. Committer is an term used at the ASF to signify someone who is -committed to a particular project. It brings with it the privilege of right access to +committed to a particular project. It brings with it the privilege of write access to the project repository and resources. In many projects committers are also invited to be part of the core group within the project that ensures the project's vitality (represented by the Project Management Committee, PMC). In a few projects a only a subset of @@ -155,7 +155,7 @@ support of a wide user base by assisting oriented docs and ensuring the user viewpoint is understood by all developers. A main idea behind being a committer is the ability to be a mentor and to work cooperatively with your peers.</p> -<p>Some of those users become committers in their own write. Some will test code, +<p>Some of those users become committers in their own right. Some will test code, some will write documentation, some will do bug triage and some will write code.</p> <p>For more details see our "<a href="http://www.apache.org/foundation/how-it-works.html">How it works</a>" document.</p> <h2 id="questions_and_feedback">Questions and Feedback</h2> From [email protected] Thu Jun 2 16:19:00 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 8E9E54D37 for <[email protected]>; Thu, 2 Jun 2011 16:19:00 +0000 (UTC) Received: (qmail 60922 invoked by uid 500); 2 Jun 2011 16:19:00 -0000 Delivered-To: [email protected] Received: (qmail 60900 invoked by uid 500); 2 Jun 2011 16:19:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 60893 invoked by uid 99); 2 Jun 2011 16:19:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 16:19:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 16:18:58 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 6658F238890A; Thu, 2 Jun 2011 16:18:37 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r790385 - in /websites/production/community: ./ content/contributors/index.html Date: Thu, 02 Jun 2011 16:18:37 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rgardler Date: Thu Jun 2 16:18:37 2011 New Revision: 790385 Log: Publishing merge to community site by rgardler Modified: websites/production/community/ (props changed) websites/production/community/content/contributors/index.html Propchange: websites/production/community/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Thu Jun 2 16:18:37 2011 @@ -1,2 +1,2 @@ /websites/staging/comdev/trunk:779592-779702 -/websites/staging/community/trunk:779703-790382 +/websites/staging/community/trunk:779703-790384 Modified: websites/production/community/content/contributors/index.html ============================================================================== --- websites/production/community/content/contributors/index.html (original) +++ websites/production/community/content/contributors/index.html Thu Jun 2 16:18:37 2011 @@ -125,7 +125,7 @@ sensible questions (which documents the through to providing new features as patches.</p> <p>If you become a valuable contributor to the project you may well be invited to become a committer. Committer is an term used at the ASF to signify someone who is -committed to a particular project. It brings with it the privilege of right access to +committed to a particular project. It brings with it the privilege of write access to the project repository and resources. In many projects committers are also invited to be part of the core group within the project that ensures the project's vitality (represented by the Project Management Committee, PMC). In a few projects a only a subset of @@ -155,7 +155,7 @@ support of a wide user base by assisting oriented docs and ensuring the user viewpoint is understood by all developers. A main idea behind being a committer is the ability to be a mentor and to work cooperatively with your peers.</p> -<p>Some of those users become committers in their own write. Some will test code, +<p>Some of those users become committers in their own right. Some will test code, some will write documentation, some will do bug triage and some will write code.</p> <p>For more details see our "<a href="http://www.apache.org/foundation/how-it-works.html">How it works</a>" document.</p> <h2 id="questions_and_feedback">Questions and Feedback</h2> From [email protected] Fri Jun 10 16:21:54 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 4BB86424A for <[email protected]>; Fri, 10 Jun 2011 16:21:54 +0000 (UTC) Received: (qmail 12755 invoked by uid 500); 10 Jun 2011 16:21:54 -0000 Delivered-To: [email protected] Received: (qmail 12736 invoked by uid 500); 10 Jun 2011 16:21:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 12729 invoked by uid 99); 10 Jun 2011 16:21:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 16:21:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 16:21:51 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id CB1412388A67; Fri, 10 Jun 2011 16:21:29 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1134373 - in /comdev/site/trunk/content: calendars/ calendars/conferences.mdtext calendars/index.mdtext index.mdtext Date: Fri, 10 Jun 2011 16:21:29 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: nick Date: Fri Jun 10 16:21:29 2011 New Revision: 1134373 URL: http://svn.apache.org/viewvc?rev=1134373&view=rev Log: Add a stub calendars section, as discussed with Ross, and include the ConCom calendar in it. Added: comdev/site/trunk/content/calendars/ comdev/site/trunk/content/calendars/conferences.mdtext (with props) comdev/site/trunk/content/calendars/index.mdtext (with props) Modified: comdev/site/trunk/content/index.mdtext Added: comdev/site/trunk/content/calendars/conferences.mdtext URL: http://svn.apache.org/viewvc/comdev/site/trunk/content/calendars/conferences.mdtext?rev=1134373&view=auto ============================================================================== --- comdev/site/trunk/content/calendars/conferences.mdtext (added) +++ comdev/site/trunk/content/calendars/conferences.mdtext Fri Jun 10 16:21:29 2011 @@ -0,0 +1,30 @@ +Title: Apache Conferences Calendar +Notice: Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +This Calendar is maintained by the [Apache Conferences Committee][1] (ConCom). It's used to list official Apache events, and +those events which have been approved to use Apache Marks under the [Third Party Event Branding Policy][2]. + +<iframe src="https://www.google.com/calendar/embed?src=nerseigospses068jd57bk5ar8%40group.calendar.google.com&ctz=America/New_York" +style="border: 0" width="800" height="600" frameborder="0" scrolling="no"></iframe> + + +This Calendar is also available as an [iCal feed][3] + + [1]: http://www.apache.org/foundation/conferences.html + [2]: http://www.apache.org/foundation/marks/events.html + [3]: https://www.google.com/calendar/ical/nerseigospses068jd57bk5ar8%40group.calendar.google.com/public/basic.ics \ No newline at end of file Propchange: comdev/site/trunk/content/calendars/conferences.mdtext ------------------------------------------------------------------------------ svn:eol-style = native Added: comdev/site/trunk/content/calendars/index.mdtext URL: http://svn.apache.org/viewvc/comdev/site/trunk/content/calendars/index.mdtext?rev=1134373&view=auto ============================================================================== --- comdev/site/trunk/content/calendars/index.mdtext (added) +++ comdev/site/trunk/content/calendars/index.mdtext Fri Jun 10 16:21:29 2011 @@ -0,0 +1,34 @@ +Title: Project and Foundation Calendars +Notice: Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +Within the Apache Software Foundation, a number of projects maintain their own calendars for events, talks and milestones. +To make it easier to track these things across the whole foundation, the Community Development project will soon provide +this central to aggregate these into one calendar. + +The Apache Conferences Committee (ConCom) also maintains their list of Apache and Apache related conferences +[here][1] + +# Calendar +*This is coming soon* + +## Getting your project events into the Calendar +If events from your project are not being listed in the calendar, please get in touch via our [mailing list][2], and let +us know the details of your event feed (ideally in iCal format). Note that only Apache Projects will be listed here + + [1]: conferences.html + [2]: http://mail-archives.apache.org/mod_mbox/community-dev/ \ No newline at end of file Propchange: comdev/site/trunk/content/calendars/index.mdtext ------------------------------------------------------------------------------ svn:eol-style = native Modified: comdev/site/trunk/content/index.mdtext URL: http://svn.apache.org/viewvc/comdev/site/trunk/content/index.mdtext?rev=1134373&r1=1134372&r2=1134373&view=diff ============================================================================== --- comdev/site/trunk/content/index.mdtext (original) +++ comdev/site/trunk/content/index.mdtext Fri Jun 10 16:21:29 2011 @@ -31,6 +31,9 @@ Apache Committers will find our [committ External event organisers looking for speakers or speakers looking for materials will find our [speakers section][4] useful. +For a list of current events, our [calendar section][5] contains an aggregation of foundation wide calendars, along with +the [official conferences calendar][6] + <a name="Index-ManagingtheCommunityDevelopmentproject"></a> #### Managing the Community Development project @@ -42,4 +45,6 @@ External event organisers looking for sp [1]: /newcomers/index.html [2]: /contributors/index.html [3]: /committers/index.html - [4]: /speakers/index.html \ No newline at end of file + [4]: /speakers/index.html + [5]: /calendar/index.html + [6]: /calendar/conferences.html \ No newline at end of file From [email protected] Fri Jun 10 16:22:01 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 4A4434256 for <[email protected]>; Fri, 10 Jun 2011 16:22:01 +0000 (UTC) Received: (qmail 12850 invoked by uid 500); 10 Jun 2011 16:22:01 -0000 Delivered-To: [email protected] Received: (qmail 12828 invoked by uid 500); 10 Jun 2011 16:22:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 12818 invoked by uid 99); 10 Jun 2011 16:22:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 16:22:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 16:21:59 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 6C472238896F; Fri, 10 Jun 2011 16:21:39 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r790722 - in /websites/staging/community/trunk/content: calendars/ calendars/conferences.html calendars/index.html index.html Date: Fri, 10 Jun 2011 16:21:39 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: buildbot Date: Fri Jun 10 16:21:38 2011 New Revision: 790722 Log: Staging update by buildbot Added: websites/staging/community/trunk/content/calendars/ websites/staging/community/trunk/content/calendars/conferences.html websites/staging/community/trunk/content/calendars/index.html Modified: websites/staging/community/trunk/content/index.html Added: websites/staging/community/trunk/content/calendars/conferences.html ============================================================================== --- websites/staging/community/trunk/content/calendars/conferences.html (added) +++ websites/staging/community/trunk/content/calendars/conferences.html Fri Jun 10 16:21:38 2011 @@ -0,0 +1,122 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<html> + <head> + <META name="description" content="Apache Community Development"/> + <META name="keywords" content="apache, apache community, community development, opensource"/> + + + <META http-equiv="Content-Type" content="text/html; charset=utf-8"> + <LINK rel="stylesheet" href="/style/compressed.css" type="text/css" media="screen, projection"> + <LINK rel="stylesheet" href="/style/style.css" type="text/css" media="screen, projection"> + <style type="text/css"> +.code { + border: 1px dashed #3c78b5; + font-size: 11px; + font-family: Courier; + margin: 10px; + margin-left: 0px; + line-height: 13px; +} +.codeHeader { + background-color: #f0f0f0; + border-bottom: 1px dashed #3c78b5; + padding: 3px; + text-align: center; +} +.codeContent { + text-align: left; + background-color: #f0f0f0; + padding: 3px; +} + +.preformatted { + border: 1px dashed #3c78b5; + font-size: 11px; + font-family: Courier; + margin: 10px; + line-height: 13px; +} +.preformattedHeader { + background-color: #f0f0f0; + border-bottom: 1px dashed #3c78b5; + padding: 3px; + text-align: center; +} +.preformattedContent { + background-color: #f0f0f0; + padding: 3px; +} + </style> + + <LINK rel="SHORTCUT ICON" href="/images/favicon.ico"> + <TITLE>Apache Community Development - Apache Conferences Calendar</TITLE> + </head> + + <body onload="init()"> + <div class="container"> + <HR class="space col"> + <DIV class="block"> + <DIV class="column span-24"> + <DIV id="header"> + <h1>The Apache Software Foundation<BR /> + <SPAN class="alt"><small>Meritocracy in Action.</small></SPAN></h1> + </DIV> + </DIV> + </DIV> + <HR/> + + + <TABLE border="0" cellpadding="2" cellspacing="0" width="100%"> + <TR class="topBar"> + <td align="left" valign="middle" class="topBarDiv" nowrap="true" width="100%"> + &nbsp;<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/calendars">Calendars</a>&nbsp;&raquo&nbsp;<a href="/calendars/conferences.html">Apache Conferences Calendar</a> + </td> + <td align="right" valign="middle" class="topBarDiv" align="left" nowrap="true"> + <A href="http://community.apache.org">Apache Community Development</A> | <A href="http://mail-archives.apache.org/mod_mbox/community-dev/">Mailling List</A> + </td> + </TR> + </TABLE> + + <TABLE border="0" cellpadding="0" width="100%"> + <TR> + <td align="left" valign="top"> + <DIV id="PageContent"> + <DIV class="pagecontent"> + <DIV class="wiki-content"> + <p>This Calendar is maintained by the <a href="http://www.apache.org/foundation/conferences.html">Apache Conferences Committee</a> (ConCom). It's used to list official Apache events, and +those events which have been approved to use Apache Marks under the <a href="http://www.apache.org/foundation/marks/events.html">Third Party Event Branding Policy</a>.</p> +<iframe src="https://www.google.com/calendar/embed?src=nerseigospses068jd57bk5ar8%40group.calendar.google.com&ctz=America/New_York" +style="border: 0" width="800" height="600" frameborder="0" scrolling="no"></iframe> + +<p>This Calendar is also available as an <a href="https://www.google.com/calendar/ical/nerseigospses068jd57bk5ar8%40group.calendar.google.com/public/basic.ics">iCal feed</a></p> + </DIV> + </DIV> + </DIV> + </td> + </TR> + </TABLE> + + <DIV class="footer"> + Copyright © 2003-2011, The Apache Software Foundation&nbsp;&nbsp; + </DIV> + + </BODY> +</HTML> Added: websites/staging/community/trunk/content/calendars/index.html ============================================================================== --- websites/staging/community/trunk/content/calendars/index.html (added) +++ websites/staging/community/trunk/content/calendars/index.html Fri Jun 10 16:21:38 2011 @@ -0,0 +1,126 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<html> + <head> + <META name="description" content="Apache Community Development"/> + <META name="keywords" content="apache, apache community, community development, opensource"/> + + + <META http-equiv="Content-Type" content="text/html; charset=utf-8"> + <LINK rel="stylesheet" href="/style/compressed.css" type="text/css" media="screen, projection"> + <LINK rel="stylesheet" href="/style/style.css" type="text/css" media="screen, projection"> + <style type="text/css"> +.code { + border: 1px dashed #3c78b5; + font-size: 11px; + font-family: Courier; + margin: 10px; + margin-left: 0px; + line-height: 13px; +} +.codeHeader { + background-color: #f0f0f0; + border-bottom: 1px dashed #3c78b5; + padding: 3px; + text-align: center; +} +.codeContent { + text-align: left; + background-color: #f0f0f0; + padding: 3px; +} + +.preformatted { + border: 1px dashed #3c78b5; + font-size: 11px; + font-family: Courier; + margin: 10px; + line-height: 13px; +} +.preformattedHeader { + background-color: #f0f0f0; + border-bottom: 1px dashed #3c78b5; + padding: 3px; + text-align: center; +} +.preformattedContent { + background-color: #f0f0f0; + padding: 3px; +} + </style> + + <LINK rel="SHORTCUT ICON" href="/images/favicon.ico"> + <TITLE>Apache Community Development - Project and Foundation Calendars</TITLE> + </head> + + <body onload="init()"> + <div class="container"> + <HR class="space col"> + <DIV class="block"> + <DIV class="column span-24"> + <DIV id="header"> + <h1>The Apache Software Foundation<BR /> + <SPAN class="alt"><small>Meritocracy in Action.</small></SPAN></h1> + </DIV> + </DIV> + </DIV> + <HR/> + + + <TABLE border="0" cellpadding="2" cellspacing="0" width="100%"> + <TR class="topBar"> + <td align="left" valign="middle" class="topBarDiv" nowrap="true" width="100%"> + &nbsp;<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/calendars">Calendars</a> + </td> + <td align="right" valign="middle" class="topBarDiv" align="left" nowrap="true"> + <A href="http://community.apache.org">Apache Community Development</A> | <A href="http://mail-archives.apache.org/mod_mbox/community-dev/">Mailling List</A> + </td> + </TR> + </TABLE> + + <TABLE border="0" cellpadding="0" width="100%"> + <TR> + <td align="left" valign="top"> + <DIV id="PageContent"> + <DIV class="pagecontent"> + <DIV class="wiki-content"> + <p>Within the Apache Software Foundation, a number of projects maintain their own calendars for events, talks and milestones. +To make it easier to track these things across the whole foundation, the Community Development project will soon provide +this central to aggregate these into one calendar.</p> +<p>The Apache Conferences Committee (ConCom) also maintains their list of Apache and Apache related conferences +<a href="conferences.html">here</a></p> +<h1 id="calendar">Calendar</h1> +<p><em>This is coming soon</em></p> +<h2 id="getting_your_project_events_into_the_calendar">Getting your project events into the Calendar</h2> +<p>If events from your project are not being listed in the calendar, please get in touch via our <a href="http://mail-archives.apache.org/mod_mbox/community-dev/">mailing list</a>, and let +us know the details of your event feed (ideally in iCal format). Note that only Apache Projects will be listed here</p> + </DIV> + </DIV> + </DIV> + </td> + </TR> + </TABLE> + + <DIV class="footer"> + Copyright © 2003-2011, The Apache Software Foundation&nbsp;&nbsp; + </DIV> + + </BODY> +</HTML> Modified: websites/staging/community/trunk/content/index.html ============================================================================== --- websites/staging/community/trunk/content/index.html (original) +++ websites/staging/community/trunk/content/index.html Fri Jun 10 16:21:38 2011 @@ -120,6 +120,8 @@ more directly.</p> <p>Apache Committers will find our <a href="/committers/index.html">committers section</a> useful.</p> <h2 id="event_organisers_and_speakers">Event organisers and speakers</h2> <p>External event organisers looking for speakers or speakers looking for materials will find our <a href="/speakers/index.html">speakers section</a> useful.</p> +<p>For a list of current events, our <a href="/calendar/index.html">calendar section</a> contains an aggregation of foundation wide calendars, along with +the <a href="/calendar/conferences.html">official conferences calendar</a></p> <p><a name="Index-ManagingtheCommunityDevelopmentproject"></a></p> <h4 id="managing_the_community_development_project">Managing the Community Development project</h4> <ul> From [email protected] Fri Jun 10 16:24:10 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id F0362439C for <[email protected]>; Fri, 10 Jun 2011 16:24:10 +0000 (UTC) Received: (qmail 17141 invoked by uid 500); 10 Jun 2011 16:24:10 -0000 Delivered-To: [email protected] Received: (qmail 17121 invoked by uid 500); 10 Jun 2011 16:24:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 17114 invoked by uid 99); 10 Jun 2011 16:24:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 16:24:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 16:24:09 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E659523889E2; Fri, 10 Jun 2011 16:23:49 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1134374 - /comdev/site/trunk/content/index.mdtext Date: Fri, 10 Jun 2011 16:23:49 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: nick Date: Fri Jun 10 16:23:49 2011 New Revision: 1134374 URL: http://svn.apache.org/viewvc?rev=1134374&view=rev Log: Typo fix, calendars directory is plural Modified: comdev/site/trunk/content/index.mdtext Modified: comdev/site/trunk/content/index.mdtext URL: http://svn.apache.org/viewvc/comdev/site/trunk/content/index.mdtext?rev=1134374&r1=1134373&r2=1134374&view=diff ============================================================================== --- comdev/site/trunk/content/index.mdtext (original) +++ comdev/site/trunk/content/index.mdtext Fri Jun 10 16:23:49 2011 @@ -46,5 +46,5 @@ the [official conferences calendar][6] [2]: /contributors/index.html [3]: /committers/index.html [4]: /speakers/index.html - [5]: /calendar/index.html - [6]: /calendar/conferences.html \ No newline at end of file + [5]: /calendars/index.html + [6]: /calendars/conferences.html \ No newline at end of file From [email protected] Fri Jun 10 16:24:19 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id C7D9443B2 for <[email protected]>; Fri, 10 Jun 2011 16:24:19 +0000 (UTC) Received: (qmail 17229 invoked by uid 500); 10 Jun 2011 16:24:19 -0000 Delivered-To: [email protected] Received: (qmail 17209 invoked by uid 500); 10 Jun 2011 16:24:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 17202 invoked by uid 99); 10 Jun 2011 16:24:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 16:24:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 16:24:18 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B44942388A64; Fri, 10 Jun 2011 16:23:58 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r790723 - /websites/staging/community/trunk/content/index.html Date: Fri, 10 Jun 2011 16:23:58 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: buildbot Date: Fri Jun 10 16:23:58 2011 New Revision: 790723 Log: Staging update by buildbot Modified: websites/staging/community/trunk/content/index.html Modified: websites/staging/community/trunk/content/index.html ============================================================================== --- websites/staging/community/trunk/content/index.html (original) +++ websites/staging/community/trunk/content/index.html Fri Jun 10 16:23:58 2011 @@ -120,8 +120,8 @@ more directly.</p> <p>Apache Committers will find our <a href="/committers/index.html">committers section</a> useful.</p> <h2 id="event_organisers_and_speakers">Event organisers and speakers</h2> <p>External event organisers looking for speakers or speakers looking for materials will find our <a href="/speakers/index.html">speakers section</a> useful.</p> -<p>For a list of current events, our <a href="/calendar/index.html">calendar section</a> contains an aggregation of foundation wide calendars, along with -the <a href="/calendar/conferences.html">official conferences calendar</a></p> +<p>For a list of current events, our <a href="/calendars/index.html">calendar section</a> contains an aggregation of foundation wide calendars, along with +the <a href="/calendars/conferences.html">official conferences calendar</a></p> <p><a name="Index-ManagingtheCommunityDevelopmentproject"></a></p> <h4 id="managing_the_community_development_project">Managing the Community Development project</h4> <ul> From [email protected] Fri Jun 10 16:26:36 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 33F4045B5 for <[email protected]>; Fri, 10 Jun 2011 16:26:36 +0000 (UTC) Received: (qmail 23777 invoked by uid 500); 10 Jun 2011 16:26:35 -0000 Delivered-To: [email protected] Received: (qmail 23746 invoked by uid 500); 10 Jun 2011 16:26:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23710 invoked by uid 99); 10 Jun 2011 16:26:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 16:26:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 16:26:34 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 69BEF238896F; Fri, 10 Jun 2011 16:26:14 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r790724 - in /websites/production/community: ./ content/calendars/ content/calendars/conferences.html content/calendars/index.html content/index.html Date: Fri, 10 Jun 2011 16:26:14 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: nick Date: Fri Jun 10 16:26:14 2011 New Revision: 790724 Log: Publishing merge to community site by nick Added: websites/production/community/content/calendars/ - copied from r790723, websites/staging/community/trunk/content/calendars/ websites/production/community/content/calendars/conferences.html - copied unchanged from r790723, websites/staging/community/trunk/content/calendars/conferences.html websites/production/community/content/calendars/index.html - copied unchanged from r790723, websites/staging/community/trunk/content/calendars/index.html Modified: websites/production/community/ (props changed) websites/production/community/content/index.html Propchange: websites/production/community/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Fri Jun 10 16:26:14 2011 @@ -1,2 +1,2 @@ /websites/staging/comdev/trunk:779592-779702 -/websites/staging/community/trunk:779703-790384 +/websites/staging/community/trunk:779703-790723 Modified: websites/production/community/content/index.html ============================================================================== --- websites/production/community/content/index.html (original) +++ websites/production/community/content/index.html Fri Jun 10 16:26:14 2011 @@ -120,6 +120,8 @@ more directly.</p> <p>Apache Committers will find our <a href="/committers/index.html">committers section</a> useful.</p> <h2 id="event_organisers_and_speakers">Event organisers and speakers</h2> <p>External event organisers looking for speakers or speakers looking for materials will find our <a href="/speakers/index.html">speakers section</a> useful.</p> +<p>For a list of current events, our <a href="/calendars/index.html">calendar section</a> contains an aggregation of foundation wide calendars, along with +the <a href="/calendars/conferences.html">official conferences calendar</a></p> <p><a name="Index-ManagingtheCommunityDevelopmentproject"></a></p> <h4 id="managing_the_community_development_project">Managing the Community Development project</h4> <ul> From [email protected] Tue Jun 14 20:43:23 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 93B306C68 for <[email protected]>; Tue, 14 Jun 2011 20:43:23 +0000 (UTC) Received: (qmail 58063 invoked by uid 500); 14 Jun 2011 20:43:23 -0000 Delivered-To: [email protected] Received: (qmail 58043 invoked by uid 500); 14 Jun 2011 20:43:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58035 invoked by uid 99); 14 Jun 2011 20:43:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 20:43:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 20:43:20 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 341E02388A3C; Tue, 14 Jun 2011 20:42:59 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1135781 - /comdev/site/trunk/content/committers/decisionMaking.mdtext Date: Tue, 14 Jun 2011 20:42:59 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rgardler Date: Tue Jun 14 20:42:58 2011 New Revision: 1135781 URL: http://svn.apache.org/viewvc?rev=1135781&view=rev Log: Initial doc on decision making Added: comdev/site/trunk/content/committers/decisionMaking.mdtext (with props) Added: comdev/site/trunk/content/committers/decisionMaking.mdtext URL: http://svn.apache.org/viewvc/comdev/site/trunk/content/committers/decisionMaking.mdtext?rev=1135781&view=auto ============================================================================== --- comdev/site/trunk/content/committers/decisionMaking.mdtext (added) +++ comdev/site/trunk/content/committers/decisionMaking.mdtext Tue Jun 14 20:42:58 2011 @@ -0,0 +1,57 @@ +Title: Decision Making +Notice: Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +The most important thing about engaging with any Apache project is that everyone +is equal. All people with an opinion are entitled to express that opinion and, where +appropriate, have it considered by the community. + +To some the idea of having to establish consensus in a large and distributed team +sounds inefficient and frustrating. Don't despair though, The Apache Way has a +set of simple processes to ensure things proceed at a good pace. + +In ASF projects we don't like to vote. We reserve that for the few things that need +official approval for legal or process reasons (e.g. a release or a new committer). +Most of the time we work with the consensus building techniques documented below. + + +## Lazy Consensus + +[Lazy consensus][10] is the first, and possibly the most important, consensus building +tool we have. Essentially lazy consensus means that you don't need to get explicit +approval to proceed, but you need to be prepared to listen if someone objects. + +## Consensus Building + +Sometimes lazy consensus is not appropriate. In such cases it is necessary to +make a proposal to the mailing list and discuss options. There are mechanisms +for quickly showing your support or otherwise for a proposal and +[building consensus][11] amongst the community. + +Once there is a consensus people can proceed with the work under the [lazy +consensus][12] model. + +## Voting + +Occasionally a "feel" for consensus is not enough. Sometimes we need to +have a measurable consensus. For example, when [voting][13] in new committers or +to approve a release. + + [10]: /committers/lazyConsensus.html + [11]: /committers/consensusBuilding.html + [12]: /committers/lazyConsensus.html + [13]: /committers/voting.html Propchange: comdev/site/trunk/content/committers/decisionMaking.mdtext ------------------------------------------------------------------------------ svn:eol-style = native From [email protected] Tue Jun 14 20:43:32 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id BE9036C7F for <[email protected]>; Tue, 14 Jun 2011 20:43:32 +0000 (UTC) Received: (qmail 58663 invoked by uid 500); 14 Jun 2011 20:43:32 -0000 Delivered-To: [email protected] Received: (qmail 58641 invoked by uid 500); 14 Jun 2011 20:43:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58634 invoked by uid 99); 14 Jun 2011 20:43:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 20:43:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 20:43:29 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id BA56A2388A64; Tue, 14 Jun 2011 20:43:08 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r790943 - /websites/staging/community/trunk/content/committers/decisionMaking.html Date: Tue, 14 Jun 2011 20:43:08 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: buildbot Date: Tue Jun 14 20:43:08 2011 New Revision: 790943 Log: Staging update by buildbot Added: websites/staging/community/trunk/content/committers/decisionMaking.html Added: websites/staging/community/trunk/content/committers/decisionMaking.html ============================================================================== --- websites/staging/community/trunk/content/committers/decisionMaking.html (added) +++ websites/staging/community/trunk/content/committers/decisionMaking.html Tue Jun 14 20:43:08 2011 @@ -0,0 +1,140 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<html> + <head> + <META name="description" content="Apache Community Development"/> + <META name="keywords" content="apache, apache community, community development, opensource"/> + + + <META http-equiv="Content-Type" content="text/html; charset=utf-8"> + <LINK rel="stylesheet" href="/style/compressed.css" type="text/css" media="screen, projection"> + <LINK rel="stylesheet" href="/style/style.css" type="text/css" media="screen, projection"> + <style type="text/css"> +.code { + border: 1px dashed #3c78b5; + font-size: 11px; + font-family: Courier; + margin: 10px; + margin-left: 0px; + line-height: 13px; +} +.codeHeader { + background-color: #f0f0f0; + border-bottom: 1px dashed #3c78b5; + padding: 3px; + text-align: center; +} +.codeContent { + text-align: left; + background-color: #f0f0f0; + padding: 3px; +} + +.preformatted { + border: 1px dashed #3c78b5; + font-size: 11px; + font-family: Courier; + margin: 10px; + line-height: 13px; +} +.preformattedHeader { + background-color: #f0f0f0; + border-bottom: 1px dashed #3c78b5; + padding: 3px; + text-align: center; +} +.preformattedContent { + background-color: #f0f0f0; + padding: 3px; +} + </style> + + <LINK rel="SHORTCUT ICON" href="/images/favicon.ico"> + <TITLE>Apache Community Development - Decision Making</TITLE> + </head> + + <body onload="init()"> + <div class="container"> + <HR class="space col"> + <DIV class="block"> + <DIV class="column span-24"> + <DIV id="header"> + <h1>The Apache Software Foundation<BR /> + <SPAN class="alt"><small>Meritocracy in Action.</small></SPAN></h1> + </DIV> + </DIV> + </DIV> + <HR/> + + + <TABLE border="0" cellpadding="2" cellspacing="0" width="100%"> + <TR class="topBar"> + <td align="left" valign="middle" class="topBarDiv" nowrap="true" width="100%"> + &nbsp;<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/committers">Committers</a>&nbsp;&raquo&nbsp;<a href="/committers/decisionMaking.html">Decision Making</a> + </td> + <td align="right" valign="middle" class="topBarDiv" align="left" nowrap="true"> + <A href="http://community.apache.org">Apache Community Development</A> | <A href="http://mail-archives.apache.org/mod_mbox/community-dev/">Mailling List</A> + </td> + </TR> + </TABLE> + + <TABLE border="0" cellpadding="0" width="100%"> + <TR> + <td align="left" valign="top"> + <DIV id="PageContent"> + <DIV class="pagecontent"> + <DIV class="wiki-content"> + <p>The most important thing about engaging with any Apache project is that everyone +is equal. All people with an opinion are entitled to express that opinion and, where +appropriate, have it considered by the community.</p> +<p>To some the idea of having to establish consensus in a large and distributed team +sounds inefficient and frustrating. Don't despair though, The Apache Way has a +set of simple processes to ensure things proceed at a good pace.</p> +<p>In ASF projects we don't like to vote. We reserve that for the few things that need +official approval for legal or process reasons (e.g. a release or a new committer). +Most of the time we work with the consensus building techniques documented below.</p> +<h2 id="lazy_consensus">Lazy Consensus</h2> +<p><a href="/committers/lazyConsensus.html">Lazy consensus</a> is the first, and possibly the most important, consensus building +tool we have. Essentially lazy consensus means that you don't need to get explicit +approval to proceed, but you need to be prepared to listen if someone objects.</p> +<h2 id="consensus_building">Consensus Building</h2> +<p>Sometimes lazy consensus is not appropriate. In such cases it is necessary to +make a proposal to the mailing list and discuss options. There are mechanisms +for quickly showing your support or otherwise for a proposal and +<a href="/committers/consensusBuilding.html">building consensus</a> amongst the community.</p> +<p>Once there is a consensus people can proceed with the work under the <a href="/committers/lazyConsensus.html">lazy +consensus</a> model.</p> +<h2 id="voting">Voting</h2> +<p>Occasionally a "feel" for consensus is not enough. Sometimes we need to +have a measurable consensus. For example, when <a href="/committers/voting.html">voting</a> in new committers or +to approve a release. </p> + </DIV> + </DIV> + </DIV> + </td> + </TR> + </TABLE> + + <DIV class="footer"> + Copyright © 2003-2011, The Apache Software Foundation&nbsp;&nbsp; + </DIV> + + </BODY> +</HTML> From [email protected] Tue Jun 14 20:45:05 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 2DEC26D0D for <[email protected]>; Tue, 14 Jun 2011 20:45:05 +0000 (UTC) Received: (qmail 59108 invoked by uid 500); 14 Jun 2011 20:45:05 -0000 Delivered-To: [email protected] Received: (qmail 59086 invoked by uid 500); 14 Jun 2011 20:45:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 59079 invoked by uid 99); 14 Jun 2011 20:45:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 20:45:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 20:45:03 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A9DC12388A3D; Tue, 14 Jun 2011 20:44:43 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1135782 - /comdev/site/trunk/content/committers/lazyConsensus.mdtext Date: Tue, 14 Jun 2011 20:44:43 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: rgardler Date: Tue Jun 14 20:44:43 2011 New Revision: 1135782 URL: http://svn.apache.org/viewvc?rev=1135782&view=rev Log: initial lazy consensus doc Added: comdev/site/trunk/content/committers/lazyConsensus.mdtext (with props) Added: comdev/site/trunk/content/committers/lazyConsensus.mdtext URL: http://svn.apache.org/viewvc/comdev/site/trunk/content/committers/lazyConsensus.mdtext?rev=1135782&view=auto ============================================================================== --- comdev/site/trunk/content/committers/lazyConsensus.mdtext (added) +++ comdev/site/trunk/content/committers/lazyConsensus.mdtext Tue Jun 14 20:44:43 2011 @@ -0,0 +1,71 @@ +Title: Lazy Consensus +Notice: Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +The concept of "Lazy Consensus" is very important in our project. Lazy +Consensus means that when you are convinced that you know what the community +would like to see happen you can simply assume that you already have consensus +and get on with the work. You don't have to insist people discuss and/or +approve your plan, and you certainly don't need to call a vote to get approval. +You just assume you have the communities support unless someone says otherwise. + +We have a time machine (Subversion), this means that as long as you commit +(or submit patches) early and often the community has plenty of opportunity +to indicate disapproval. If you believe the community will support your action +you can operate on lazy consensus as long as you are prepared to roll back +any work should a valid objection is raised. + +## Avoiding Unnecessary Discussion + +The key thing about lazy consensus is that it's easier for people to agree, +by doing nothing, than it is to object, which requires an +alternative to be proposed. This has two effects, firstly people are less +likely to object for the sake of it and secondly it cuts down on the amount +of unnecessary mail traffic and discussion. + +Lazy consensus means we can avoid waiting for a community based decision +before proceeding. However, it does require everyone who cares for the health +of the project to watch what is happening, as it is happening. Objecting too +far down the road will cause upset, but objecting (or asking for clarification +of intent) early is likely to be greeted with relief that someone is watching +and cares. + +## Stating Lazy Consensus + +Sometimes a member of the community will believe a specific action is the correct +one for the community but are not sure enough to proceed with the work under the +lazy consensus model. In these circumstances they can state Lazy Consensus is in +operation. + +What this means is that they make a proposal and state that they will start +implementing it in 72 hours unless someone objects. 72 hours is chosen because +it accounts for different timezones and non-apache commitments. + +In this approach the original proposal is not insisting that there is a discussion +around their proposal, nor are they requesting that the community explicitly +supports their actions. However, this differs from assuming lazy consensus +since it allows space and time to [express support or objections][1] and corrections to +the proposal before work begins. + +## Silence is consent + +People may choose to indicate their support for the actions taken with a +1 +mail - quick and easy to read and reassuring for the implementer. However, +remember, in a lazy consensus world silence is the equivalent to support. This +can take some time to get used to. + + [1]: /rave/docs/governance/consensusBuilding.html \ No newline at end of file Propchange: comdev/site/trunk/content/committers/lazyConsensus.mdtext ------------------------------------------------------------------------------ svn:eol-style = native From [email protected] Tue Jun 14 20:45:16 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 3F1796E5C for <[email protected]>; Tue, 14 Jun 2011 20:45:16 +0000 (UTC) Received: (qmail 60242 invoked by uid 500); 14 Jun 2011 20:45:16 -0000 Delivered-To: [email protected] Received: (qmail 60221 invoked by uid 500); 14 Jun 2011 20:45:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 60214 invoked by uid 99); 14 Jun 2011 20:45:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 20:45:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 20:45:13 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C4A0D2388A6C; Tue, 14 Jun 2011 20:44:51 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r790944 - /websites/staging/community/trunk/content/committers/lazyConsensus.html Date: Tue, 14 Jun 2011 20:44:51 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: buildbot Date: Tue Jun 14 20:44:51 2011 New Revision: 790944 Log: Staging update by buildbot Added: websites/staging/community/trunk/content/committers/lazyConsensus.html Added: websites/staging/community/trunk/content/committers/lazyConsensus.html ============================================================================== --- websites/staging/community/trunk/content/committers/lazyConsensus.html (added) +++ websites/staging/community/trunk/content/committers/lazyConsensus.html Tue Jun 14 20:44:51 2011 @@ -0,0 +1,157 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<html> + <head> + <META name="description" content="Apache Community Development"/> + <META name="keywords" content="apache, apache community, community development, opensource"/> + + + <META http-equiv="Content-Type" content="text/html; charset=utf-8"> + <LINK rel="stylesheet" href="/style/compressed.css" type="text/css" media="screen, projection"> + <LINK rel="stylesheet" href="/style/style.css" type="text/css" media="screen, projection"> + <style type="text/css"> +.code { + border: 1px dashed #3c78b5; + font-size: 11px; + font-family: Courier; + margin: 10px; + margin-left: 0px; + line-height: 13px; +} +.codeHeader { + background-color: #f0f0f0; + border-bottom: 1px dashed #3c78b5; + padding: 3px; + text-align: center; +} +.codeContent { + text-align: left; + background-color: #f0f0f0; + padding: 3px; +} + +.preformatted { + border: 1px dashed #3c78b5; + font-size: 11px; + font-family: Courier; + margin: 10px; + line-height: 13px; +} +.preformattedHeader { + background-color: #f0f0f0; + border-bottom: 1px dashed #3c78b5; + padding: 3px; + text-align: center; +} +.preformattedContent { + background-color: #f0f0f0; + padding: 3px; +} + </style> + + <LINK rel="SHORTCUT ICON" href="/images/favicon.ico"> + <TITLE>Apache Community Development - Lazy Consensus</TITLE> + </head> + + <body onload="init()"> + <div class="container"> + <HR class="space col"> + <DIV class="block"> + <DIV class="column span-24"> + <DIV id="header"> + <h1>The Apache Software Foundation<BR /> + <SPAN class="alt"><small>Meritocracy in Action.</small></SPAN></h1> + </DIV> + </DIV> + </DIV> + <HR/> + + + <TABLE border="0" cellpadding="2" cellspacing="0" width="100%"> + <TR class="topBar"> + <td align="left" valign="middle" class="topBarDiv" nowrap="true" width="100%"> + &nbsp;<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/committers">Committers</a>&nbsp;&raquo&nbsp;<a href="/committers/lazyConsensus.html">Lazy Consensus</a> + </td> + <td align="right" valign="middle" class="topBarDiv" align="left" nowrap="true"> + <A href="http://community.apache.org">Apache Community Development</A> | <A href="http://mail-archives.apache.org/mod_mbox/community-dev/">Mailling List</A> + </td> + </TR> + </TABLE> + + <TABLE border="0" cellpadding="0" width="100%"> + <TR> + <td align="left" valign="top"> + <DIV id="PageContent"> + <DIV class="pagecontent"> + <DIV class="wiki-content"> + <p>The concept of "Lazy Consensus" is very important in our project. Lazy +Consensus means that when you are convinced that you know what the community +would like to see happen you can simply assume that you already have consensus +and get on with the work. You don't have to insist people discuss and/or +approve your plan, and you certainly don't need to call a vote to get approval. +You just assume you have the communities support unless someone says otherwise.</p> +<p>We have a time machine (Subversion), this means that as long as you commit +(or submit patches) early and often the community has plenty of opportunity +to indicate disapproval. If you believe the community will support your action +you can operate on lazy consensus as long as you are prepared to roll back +any work should a valid objection is raised.</p> +<h2 id="avoiding_unnecessary_discussion">Avoiding Unnecessary Discussion</h2> +<p>The key thing about lazy consensus is that it's easier for people to agree, +by doing nothing, than it is to object, which requires an +alternative to be proposed. This has two effects, firstly people are less +likely to object for the sake of it and secondly it cuts down on the amount +of unnecessary mail traffic and discussion.</p> +<p>Lazy consensus means we can avoid waiting for a community based decision +before proceeding. However, it does require everyone who cares for the health +of the project to watch what is happening, as it is happening. Objecting too +far down the road will cause upset, but objecting (or asking for clarification +of intent) early is likely to be greeted with relief that someone is watching +and cares.</p> +<h2 id="stating_lazy_consensus">Stating Lazy Consensus</h2> +<p>Sometimes a member of the community will believe a specific action is the correct +one for the community but are not sure enough to proceed with the work under the +lazy consensus model. In these circumstances they can state Lazy Consensus is in +operation.</p> +<p>What this means is that they make a proposal and state that they will start +implementing it in 72 hours unless someone objects. 72 hours is chosen because +it accounts for different timezones and non-apache commitments.</p> +<p>In this approach the original proposal is not insisting that there is a discussion +around their proposal, nor are they requesting that the community explicitly +supports their actions. However, this differs from assuming lazy consensus +since it allows space and time to <a href="/rave/docs/governance/consensusBuilding.html">express support or objections</a> and corrections to +the proposal before work begins. </p> +<h2 id="silence_is_consent">Silence is consent</h2> +<p>People may choose to indicate their support for the actions taken with a +1 +mail - quick and easy to read and reassuring for the implementer. However, +remember, in a lazy consensus world silence is the equivalent to support. This +can take some time to get used to.</p> + </DIV> + </DIV> + </DIV> + </td> + </TR> + </TABLE> + + <DIV class="footer"> + Copyright © 2003-2011, The Apache Software Foundation&nbsp;&nbsp; + </DIV> + + </BODY> +</HTML> From [email protected] Tue Jun 14 20:45:56 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 36130637D for <[email protected]>; Tue, 14 Jun 2011 20:45:56 +0000 (UTC) Received: (qmail 63693 invoked by uid 500); 14 Jun 2011 20:45:56 -0000 Delivered-To: [email protected] Received: (qmail 63672 invoked by uid 500); 14 Jun 2011 20:45:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 63665 invoked by uid 99); 14 Jun 2011 20:45:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 20:45:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 20:45:54 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D77752388A3C; Tue, 14 Jun 2011 20:45:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1135783 - /comdev/site/trunk/content/committers/consensusBuilding.mdtext Date: Tue, 14 Jun 2011 20:45:34 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: rgardler Date: Tue Jun 14 20:45:34 2011 New Revision: 1135783 URL: http://svn.apache.org/viewvc?rev=1135783&view=rev Log: Initial consensus building doc Added: comdev/site/trunk/content/committers/consensusBuilding.mdtext (with props) Added: comdev/site/trunk/content/committers/consensusBuilding.mdtext URL: http://svn.apache.org/viewvc/comdev/site/trunk/content/committers/consensusBuilding.mdtext?rev=1135783&view=auto ============================================================================== --- comdev/site/trunk/content/committers/consensusBuilding.mdtext (added) +++ comdev/site/trunk/content/committers/consensusBuilding.mdtext Tue Jun 14 20:45:34 2011 @@ -0,0 +1,66 @@ +Title: +Notice: Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +In some cases there is no obvious path to take, or you might be a new community, +or a new member of an existing community. In these cases people will often +need to build consensus by making proposals and eliciting responses. + +We want to avoid unnecessary discussion and the creation of significant +amounts of unnecessary mail that everyone in the community needs to read. +That is not to say that we want to avoid constructive discussion. This is +the lifeblood of a successful project. However, many ASF projects adopt a +shorthand notation for showing support, or otherwise, for a proposal. + +## Expressing support (or otherwise) + +The notation used is "+1", "-1" and "0". It's also common to see "+0" and "-0". + +So, what do these notations mean? + + - +1 means "I agree with this and will help make it happen" + - +0 means "I agree with this but probably won't make it happen, so my +opinion is not that important" + - -0 means "I don't agree with this, but I'm offering no alternative so +my opinion is not that important" + - -1 means "I don't agree and I am offering an alternative that I am able +to help implement" + +Many people will use fractions to indicate the strength of their feelings, + e.g. "+0.5". Some will even indicate this is a "no brainer" with something +like "+1000". + +The important thing is that this is not an exact science. It's just a shorthand +way of communicating strength of feeling. + +## Consensus Building is Not Voting + +The confusing thing about this notation is that it is the same notation +used in a formal vote. Knowing when something is a vote and when it is a +preference is important. It's easy to tell though, if the subject does not have +"[Vote]" at the start then it's just an opinion. We try not to call votes, +consensus building is much more inclusive. + +The reasons for this notation being common is +that when someone wants to summarise a discussion thread they can mentally +add up the strength of feeling of the community and decide if there is consensus +or not. + +Once there is a clear consensus members of the community can proceed with +the work under the [lazy consensus][1] model. + + [1]: /rave/docs/governance/lazyConsensus.html \ No newline at end of file Propchange: comdev/site/trunk/content/committers/consensusBuilding.mdtext ------------------------------------------------------------------------------ svn:eol-style = native From [email protected] Tue Jun 14 20:46:08 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 0A66864D4 for <[email protected]>; Tue, 14 Jun 2011 20:46:08 +0000 (UTC) Received: (qmail 63910 invoked by uid 500); 14 Jun 2011 20:46:08 -0000 Delivered-To: [email protected] Received: (qmail 63887 invoked by uid 500); 14 Jun 2011 20:46:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 63880 invoked by uid 99); 14 Jun 2011 20:46:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 20:46:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 20:46:05 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B0CF82388A64; Tue, 14 Jun 2011 20:45:43 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r790945 - /websites/staging/community/trunk/content/committers/consensusBuilding.html Date: Tue, 14 Jun 2011 20:45:43 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: buildbot Date: Tue Jun 14 20:45:43 2011 New Revision: 790945 Log: Staging update by buildbot Added: websites/staging/community/trunk/content/committers/consensusBuilding.html Added: websites/staging/community/trunk/content/committers/consensusBuilding.html ============================================================================== --- websites/staging/community/trunk/content/committers/consensusBuilding.html (added) +++ websites/staging/community/trunk/content/committers/consensusBuilding.html Tue Jun 14 20:45:43 2011 @@ -0,0 +1,153 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<html> + <head> + <META name="description" content="Apache Community Development"/> + <META name="keywords" content="apache, apache community, community development, opensource"/> + + + <META http-equiv="Content-Type" content="text/html; charset=utf-8"> + <LINK rel="stylesheet" href="/style/compressed.css" type="text/css" media="screen, projection"> + <LINK rel="stylesheet" href="/style/style.css" type="text/css" media="screen, projection"> + <style type="text/css"> +.code { + border: 1px dashed #3c78b5; + font-size: 11px; + font-family: Courier; + margin: 10px; + margin-left: 0px; + line-height: 13px; +} +.codeHeader { + background-color: #f0f0f0; + border-bottom: 1px dashed #3c78b5; + padding: 3px; + text-align: center; +} +.codeContent { + text-align: left; + background-color: #f0f0f0; + padding: 3px; +} + +.preformatted { + border: 1px dashed #3c78b5; + font-size: 11px; + font-family: Courier; + margin: 10px; + line-height: 13px; +} +.preformattedHeader { + background-color: #f0f0f0; + border-bottom: 1px dashed #3c78b5; + padding: 3px; + text-align: center; +} +.preformattedContent { + background-color: #f0f0f0; + padding: 3px; +} + </style> + + <LINK rel="SHORTCUT ICON" href="/images/favicon.ico"> + <TITLE>Apache Community Development - </TITLE> + </head> + + <body onload="init()"> + <div class="container"> + <HR class="space col"> + <DIV class="block"> + <DIV class="column span-24"> + <DIV id="header"> + <h1>The Apache Software Foundation<BR /> + <SPAN class="alt"><small>Meritocracy in Action.</small></SPAN></h1> + </DIV> + </DIV> + </DIV> + <HR/> + + + <TABLE border="0" cellpadding="2" cellspacing="0" width="100%"> + <TR class="topBar"> + <td align="left" valign="middle" class="topBarDiv" nowrap="true" width="100%"> + &nbsp;<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/committers">Committers</a>&nbsp;&raquo&nbsp;<a href="/committers/consensusBuilding.html">ConsensusBuilding.html</a> + </td> + <td align="right" valign="middle" class="topBarDiv" align="left" nowrap="true"> + <A href="http://community.apache.org">Apache Community Development</A> | <A href="http://mail-archives.apache.org/mod_mbox/community-dev/">Mailling List</A> + </td> + </TR> + </TABLE> + + <TABLE border="0" cellpadding="0" width="100%"> + <TR> + <td align="left" valign="top"> + <DIV id="PageContent"> + <DIV class="pagecontent"> + <DIV class="wiki-content"> + <p>In some cases there is no obvious path to take, or you might be a new community, +or a new member of an existing community. In these cases people will often +need to build consensus by making proposals and eliciting responses.</p> +<p>We want to avoid unnecessary discussion and the creation of significant +amounts of unnecessary mail that everyone in the community needs to read. +That is not to say that we want to avoid constructive discussion. This is +the lifeblood of a successful project. However, many ASF projects adopt a +shorthand notation for showing support, or otherwise, for a proposal.</p> +<h2 id="expressing_support_or_otherwise">Expressing support (or otherwise)</h2> +<p>The notation used is "+1", "-1" and "0". It's also common to see "+0" and "-0".</p> +<p>So, what do these notations mean?</p> +<ul> +<li>+1 means "I agree with this and will help make it happen"</li> +<li>+0 means "I agree with this but probably won't make it happen, so my +opinion is not that important"</li> +<li>-0 means "I don't agree with this, but I'm offering no alternative so +my opinion is not that important"</li> +<li>-1 means "I don't agree and I am offering an alternative that I am able +to help implement"</li> +</ul> +<p>Many people will use fractions to indicate the strength of their feelings, + e.g. "+0.5". Some will even indicate this is a "no brainer" with something +like "+1000".</p> +<p>The important thing is that this is not an exact science. It's just a shorthand +way of communicating strength of feeling.</p> +<h2 id="consensus_building_is_not_voting">Consensus Building is Not Voting</h2> +<p>The confusing thing about this notation is that it is the same notation +used in a formal vote. Knowing when something is a vote and when it is a +preference is important. It's easy to tell though, if the subject does not have +"[Vote]" at the start then it's just an opinion. We try not to call votes, +consensus building is much more inclusive.</p> +<p>The reasons for this notation being common is +that when someone wants to summarise a discussion thread they can mentally +add up the strength of feeling of the community and decide if there is consensus +or not.</p> +<p>Once there is a clear consensus members of the community can proceed with +the work under the <a href="/rave/docs/governance/lazyConsensus.html">lazy consensus</a> model.</p> + </DIV> + </DIV> + </DIV> + </td> + </TR> + </TABLE> + + <DIV class="footer"> + Copyright © 2003-2011, The Apache Software Foundation&nbsp;&nbsp; + </DIV> + + </BODY> +</HTML> From [email protected] Tue Jun 14 20:46:44 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id D62B668E6 for <[email protected]>; Tue, 14 Jun 2011 20:46:44 +0000 (UTC) Received: (qmail 64188 invoked by uid 500); 14 Jun 2011 20:46:44 -0000 Delivered-To: [email protected] Received: (qmail 64167 invoked by uid 500); 14 Jun 2011 20:46:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 64160 invoked by uid 99); 14 Jun 2011 20:46:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 20:46:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 20:46:42 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 99B6F2388A3C; Tue, 14 Jun 2011 20:46:21 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1135784 - /comdev/site/trunk/content/committers/consensusBuilding.mdtext Date: Tue, 14 Jun 2011 20:46:21 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rgardler Date: Tue Jun 14 20:46:21 2011 New Revision: 1135784 URL: http://svn.apache.org/viewvc?rev=1135784&view=rev Log: Add title Modified: comdev/site/trunk/content/committers/consensusBuilding.mdtext Modified: comdev/site/trunk/content/committers/consensusBuilding.mdtext URL: http://svn.apache.org/viewvc/comdev/site/trunk/content/committers/consensusBuilding.mdtext?rev=1135784&r1=1135783&r2=1135784&view=diff ============================================================================== --- comdev/site/trunk/content/committers/consensusBuilding.mdtext (original) +++ comdev/site/trunk/content/committers/consensusBuilding.mdtext Tue Jun 14 20:46:21 2011 @@ -1,4 +1,4 @@ -Title: +Title: Consensus Building Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information From [email protected] Tue Jun 14 20:46:51 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id C0AEA69A9 for <[email protected]>; Tue, 14 Jun 2011 20:46:51 +0000 (UTC) Received: (qmail 64234 invoked by uid 500); 14 Jun 2011 20:46:51 -0000 Delivered-To: [email protected] Received: (qmail 64213 invoked by uid 500); 14 Jun 2011 20:46:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 64206 invoked by uid 99); 14 Jun 2011 20:46:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 20:46:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 20:46:50 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id BA11F2388A64; Tue, 14 Jun 2011 20:46:30 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r790946 - /websites/staging/community/trunk/content/committers/consensusBuilding.html Date: Tue, 14 Jun 2011 20:46:30 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: buildbot Date: Tue Jun 14 20:46:30 2011 New Revision: 790946 Log: Staging update by buildbot Modified: websites/staging/community/trunk/content/committers/consensusBuilding.html Modified: websites/staging/community/trunk/content/committers/consensusBuilding.html ============================================================================== --- websites/staging/community/trunk/content/committers/consensusBuilding.html (original) +++ websites/staging/community/trunk/content/committers/consensusBuilding.html Tue Jun 14 20:46:30 2011 @@ -67,7 +67,7 @@ </style> <LINK rel="SHORTCUT ICON" href="/images/favicon.ico"> - <TITLE>Apache Community Development - </TITLE> + <TITLE>Apache Community Development - Consensus Building</TITLE> </head> <body onload="init()"> @@ -87,7 +87,7 @@ <TABLE border="0" cellpadding="2" cellspacing="0" width="100%"> <TR class="topBar"> <td align="left" valign="middle" class="topBarDiv" nowrap="true" width="100%"> - &nbsp;<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/committers">Committers</a>&nbsp;&raquo&nbsp;<a href="/committers/consensusBuilding.html">ConsensusBuilding.html</a> + &nbsp;<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/committers">Committers</a>&nbsp;&raquo&nbsp;<a href="/committers/consensusBuilding.html">Consensus Building</a> </td> <td align="right" valign="middle" class="topBarDiv" align="left" nowrap="true"> <A href="http://community.apache.org">Apache Community Development</A> | <A href="http://mail-archives.apache.org/mod_mbox/community-dev/">Mailling List</A> From [email protected] Tue Jun 14 20:47:33 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 319F56F56 for <[email protected]>; Tue, 14 Jun 2011 20:47:33 +0000 (UTC) Received: (qmail 68132 invoked by uid 500); 14 Jun 2011 20:47:33 -0000 Delivered-To: [email protected] Received: (qmail 68110 invoked by uid 500); 14 Jun 2011 20:47:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 68103 invoked by uid 99); 14 Jun 2011 20:47:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 20:47:33 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 20:47:32 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 098DA2388A3C; Tue, 14 Jun 2011 20:47:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1135785 - /comdev/site/trunk/content/committers/voting.mdtext Date: Tue, 14 Jun 2011 20:47:12 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: rgardler Date: Tue Jun 14 20:47:11 2011 New Revision: 1135785 URL: http://svn.apache.org/viewvc?rev=1135785&view=rev Log: Initial voting doc Added: comdev/site/trunk/content/committers/voting.mdtext (with props) Added: comdev/site/trunk/content/committers/voting.mdtext URL: http://svn.apache.org/viewvc/comdev/site/trunk/content/committers/voting.mdtext?rev=1135785&view=auto ============================================================================== --- comdev/site/trunk/content/committers/voting.mdtext (added) +++ comdev/site/trunk/content/committers/voting.mdtext Tue Jun 14 20:47:11 2011 @@ -0,0 +1,47 @@ +Title: +Notice: Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +Occasionally a "feel" for consensus is not enough. Sometimes we need to +have a measurable consensus. For example, when voting in new committers or +to approve a release. + +## Preparing for a Vote + +Before calling a vote it is important to ensure that the community is given time to +discuss the upcoming vote. This will be done by posting an email to the list +indicating the intention to call a vote and the options available. By the time +a vote is called there should already be [consensus in the community][4]. The vote +itself is, normally, a formality. + +## Calling a Vote + +Once it is time to call the vote a mail is posted with a subject starting +with "{VOTE]". This enables the community members to ensure they do not miss +an important vote thread. It also indicates that this is not consensus building +but a formal vote. + +### Casting Your Vote + +The notation used in voting is: + + - +1 Yes I agree + - 0 I have no strong opinion + - -1 I object on the following grounds + +If you object you must support your objection and provide an alternative course +of action that you are willing and able to implement (where appropriate). Propchange: comdev/site/trunk/content/committers/voting.mdtext ------------------------------------------------------------------------------ svn:eol-style = native From [email protected] Tue Jun 14 20:47:44 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id E7DC36072 for <[email protected]>; Tue, 14 Jun 2011 20:47:44 +0000 (UTC) Received: (qmail 68214 invoked by uid 500); 14 Jun 2011 20:47:44 -0000 Delivered-To: [email protected] Received: (qmail 68194 invoked by uid 500); 14 Jun 2011 20:47:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 68187 invoked by uid 99); 14 Jun 2011 20:47:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 20:47:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 20:47:41 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D50732388A3D; Tue, 14 Jun 2011 20:47:20 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r790947 - /websites/staging/community/trunk/content/committers/voting.html Date: Tue, 14 Jun 2011 20:47:20 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: buildbot Date: Tue Jun 14 20:47:20 2011 New Revision: 790947 Log: Staging update by buildbot Added: websites/staging/community/trunk/content/committers/voting.html Added: websites/staging/community/trunk/content/committers/voting.html ============================================================================== --- websites/staging/community/trunk/content/committers/voting.html (added) +++ websites/staging/community/trunk/content/committers/voting.html Tue Jun 14 20:47:20 2011 @@ -0,0 +1,139 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<html> + <head> + <META name="description" content="Apache Community Development"/> + <META name="keywords" content="apache, apache community, community development, opensource"/> + + + <META http-equiv="Content-Type" content="text/html; charset=utf-8"> + <LINK rel="stylesheet" href="/style/compressed.css" type="text/css" media="screen, projection"> + <LINK rel="stylesheet" href="/style/style.css" type="text/css" media="screen, projection"> + <style type="text/css"> +.code { + border: 1px dashed #3c78b5; + font-size: 11px; + font-family: Courier; + margin: 10px; + margin-left: 0px; + line-height: 13px; +} +.codeHeader { + background-color: #f0f0f0; + border-bottom: 1px dashed #3c78b5; + padding: 3px; + text-align: center; +} +.codeContent { + text-align: left; + background-color: #f0f0f0; + padding: 3px; +} + +.preformatted { + border: 1px dashed #3c78b5; + font-size: 11px; + font-family: Courier; + margin: 10px; + line-height: 13px; +} +.preformattedHeader { + background-color: #f0f0f0; + border-bottom: 1px dashed #3c78b5; + padding: 3px; + text-align: center; +} +.preformattedContent { + background-color: #f0f0f0; + padding: 3px; +} + </style> + + <LINK rel="SHORTCUT ICON" href="/images/favicon.ico"> + <TITLE>Apache Community Development - </TITLE> + </head> + + <body onload="init()"> + <div class="container"> + <HR class="space col"> + <DIV class="block"> + <DIV class="column span-24"> + <DIV id="header"> + <h1>The Apache Software Foundation<BR /> + <SPAN class="alt"><small>Meritocracy in Action.</small></SPAN></h1> + </DIV> + </DIV> + </DIV> + <HR/> + + + <TABLE border="0" cellpadding="2" cellspacing="0" width="100%"> + <TR class="topBar"> + <td align="left" valign="middle" class="topBarDiv" nowrap="true" width="100%"> + &nbsp;<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/committers">Committers</a>&nbsp;&raquo&nbsp;<a href="/committers/voting.html">Voting.html</a> + </td> + <td align="right" valign="middle" class="topBarDiv" align="left" nowrap="true"> + <A href="http://community.apache.org">Apache Community Development</A> | <A href="http://mail-archives.apache.org/mod_mbox/community-dev/">Mailling List</A> + </td> + </TR> + </TABLE> + + <TABLE border="0" cellpadding="0" width="100%"> + <TR> + <td align="left" valign="top"> + <DIV id="PageContent"> + <DIV class="pagecontent"> + <DIV class="wiki-content"> + <p>Occasionally a "feel" for consensus is not enough. Sometimes we need to +have a measurable consensus. For example, when voting in new committers or +to approve a release. </p> +<h2 id="preparing_for_a_vote">Preparing for a Vote</h2> +<p>Before calling a vote it is important to ensure that the community is given time to +discuss the upcoming vote. This will be done by posting an email to the list +indicating the intention to call a vote and the options available. By the time +a vote is called there should already be [consensus in the community][4]. The vote +itself is, normally, a formality.</p> +<h2 id="calling_a_vote">Calling a Vote</h2> +<p>Once it is time to call the vote a mail is posted with a subject starting +with "{VOTE]". This enables the community members to ensure they do not miss +an important vote thread. It also indicates that this is not consensus building +but a formal vote.</p> +<h3 id="casting_your_vote">Casting Your Vote</h3> +<p>The notation used in voting is:</p> +<ul> +<li>+1 Yes I agree </li> +<li>0 I have no strong opinion </li> +<li>-1 I object on the following grounds</li> +</ul> +<p>If you object you must support your objection and provide an alternative course +of action that you are willing and able to implement (where appropriate).</p> + </DIV> + </DIV> + </DIV> + </td> + </TR> + </TABLE> + + <DIV class="footer"> + Copyright © 2003-2011, The Apache Software Foundation&nbsp;&nbsp; + </DIV> + + </BODY> +</HTML> From [email protected] Tue Jun 14 20:49:42 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 55913638E for <[email protected]>; Tue, 14 Jun 2011 20:49:42 +0000 (UTC) Received: (qmail 69348 invoked by uid 500); 14 Jun 2011 20:49:42 -0000 Delivered-To: [email protected] Received: (qmail 69327 invoked by uid 500); 14 Jun 2011 20:49:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 69320 invoked by uid 99); 14 Jun 2011 20:49:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 20:49:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 20:49:40 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 449132388A3C; Tue, 14 Jun 2011 20:49:19 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1135787 - /comdev/site/trunk/content/committers/voting.mdtext Date: Tue, 14 Jun 2011 20:49:19 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rgardler Date: Tue Jun 14 20:49:18 2011 New Revision: 1135787 URL: http://svn.apache.org/viewvc?rev=1135787&view=rev Log: CMS commit to community by rgardler Modified: comdev/site/trunk/content/committers/voting.mdtext Modified: comdev/site/trunk/content/committers/voting.mdtext URL: http://svn.apache.org/viewvc/comdev/site/trunk/content/committers/voting.mdtext?rev=1135787&r1=1135786&r2=1135787&view=diff ============================================================================== --- comdev/site/trunk/content/committers/voting.mdtext (original) +++ comdev/site/trunk/content/committers/voting.mdtext Tue Jun 14 20:49:18 2011 @@ -1,4 +1,4 @@ -Title: +Title: Voting Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information @@ -25,7 +25,7 @@ to approve a release. Before calling a vote it is important to ensure that the community is given time to discuss the upcoming vote. This will be done by posting an email to the list indicating the intention to call a vote and the options available. By the time -a vote is called there should already be [consensus in the community][4]. The vote +a vote is called there should already be [consensus in the community][1]. The vote itself is, normally, a formality. ## Calling a Vote @@ -45,3 +45,6 @@ The notation used in voting is: If you object you must support your objection and provide an alternative course of action that you are willing and able to implement (where appropriate). + + + [1]: /committers/consensusBuilding.mdtext \ No newline at end of file From [email protected] Tue Jun 14 20:49:50 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id C5C4D639C for <[email protected]>; Tue, 14 Jun 2011 20:49:50 +0000 (UTC) Received: (qmail 69721 invoked by uid 500); 14 Jun 2011 20:49:50 -0000 Delivered-To: [email protected] Received: (qmail 69701 invoked by uid 500); 14 Jun 2011 20:49:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 69694 invoked by uid 99); 14 Jun 2011 20:49:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 20:49:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 20:49:48 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B023C2388A64; Tue, 14 Jun 2011 20:49:27 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r790948 - /websites/staging/community/trunk/content/committers/voting.html Date: Tue, 14 Jun 2011 20:49:27 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: buildbot Date: Tue Jun 14 20:49:27 2011 New Revision: 790948 Log: Staging update by buildbot Modified: websites/staging/community/trunk/content/committers/voting.html Modified: websites/staging/community/trunk/content/committers/voting.html ============================================================================== --- websites/staging/community/trunk/content/committers/voting.html (original) +++ websites/staging/community/trunk/content/committers/voting.html Tue Jun 14 20:49:27 2011 @@ -67,7 +67,7 @@ </style> <LINK rel="SHORTCUT ICON" href="/images/favicon.ico"> - <TITLE>Apache Community Development - </TITLE> + <TITLE>Apache Community Development - Voting</TITLE> </head> <body onload="init()"> @@ -87,7 +87,7 @@ <TABLE border="0" cellpadding="2" cellspacing="0" width="100%"> <TR class="topBar"> <td align="left" valign="middle" class="topBarDiv" nowrap="true" width="100%"> - &nbsp;<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/committers">Committers</a>&nbsp;&raquo&nbsp;<a href="/committers/voting.html">Voting.html</a> + &nbsp;<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/committers">Committers</a>&nbsp;&raquo&nbsp;<a href="/committers/voting.html">Voting</a> </td> <td align="right" valign="middle" class="topBarDiv" align="left" nowrap="true"> <A href="http://community.apache.org">Apache Community Development</A> | <A href="http://mail-archives.apache.org/mod_mbox/community-dev/">Mailling List</A> @@ -108,7 +108,7 @@ to approve a release. </p> <p>Before calling a vote it is important to ensure that the community is given time to discuss the upcoming vote. This will be done by posting an email to the list indicating the intention to call a vote and the options available. By the time -a vote is called there should already be [consensus in the community][4]. The vote +a vote is called there should already be <a href="/committers/consensusBuilding.mdtext">consensus in the community</a>. The vote itself is, normally, a formality.</p> <h2 id="calling_a_vote">Calling a Vote</h2> <p>Once it is time to call the vote a mail is posted with a subject starting From [email protected] Tue Jun 14 20:59:59 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 932A16819 for <[email protected]>; Tue, 14 Jun 2011 20:59:59 +0000 (UTC) Received: (qmail 83182 invoked by uid 500); 14 Jun 2011 20:59:59 -0000 Delivered-To: [email protected] Received: (qmail 83161 invoked by uid 500); 14 Jun 2011 20:59:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 83154 invoked by uid 99); 14 Jun 2011 20:59:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 20:59:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 20:59:56 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 7ECFF2388A3C; Tue, 14 Jun 2011 20:59:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r1135791 - /comdev/site/trunk/content/committers/index.mdtext Date: Tue, 14 Jun 2011 20:59:34 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rgardler Date: Tue Jun 14 20:59:34 2011 New Revision: 1135791 URL: http://svn.apache.org/viewvc?rev=1135791&view=rev Log: Add a section on decision making Modified: comdev/site/trunk/content/committers/index.mdtext Modified: comdev/site/trunk/content/committers/index.mdtext URL: http://svn.apache.org/viewvc/comdev/site/trunk/content/committers/index.mdtext?rev=1135791&r1=1135790&r2=1135791&view=diff ============================================================================== --- comdev/site/trunk/content/committers/index.mdtext (original) +++ comdev/site/trunk/content/committers/index.mdtext Tue Jun 14 20:59:34 2011 @@ -20,20 +20,38 @@ Information that is useful to Apache com This page is intended to be an index of useful resources. This site is editable by any Apache Committer, feel free to add anything useful here. -## Project Independence +## Decision making + +Decisions in Apache projects are the result of: + + - action + - consensus in the community + +We have, over the years, developed a very simple and effective approach to +consensus building and decision making. The vast majority of decisions are made +using [lazy consensus][1], if the "lazy" approach to consensus building is deemed +unsuitable for a particular decision then we seek to [build consensus][2] within +the community. Very occasionally, usually for formal reasons relating to legal +responsibilities, it is necessary to call a [vote][3]. + +Each of these three approaches is described more fully on various foundation +and project sites. However, we've provided an initial introduction to [decision +making][4] here on the community development site. + +## Project independence While not all aspects of the Apache Way are practiced the same way by all projects at the ASF, there are a number of rules that Apache projects are required to follow – things like complying with PMC -[release voting][1], [legal policy][2], [brand policy][3], -using [mailing lists][4], etc., which are [documented in various places][5]. +[release voting][5], [legal policy][6], [brand policy][7], +using [mailing lists][8], etc., which are [documented in various places][9]. One of these invariant rules is that projects are managed and used independently of any commercial interests. The goal is to create an environment in which all participants are equal and thus have an equal opportunity to contribute to and benefit from our software, regardless of motivation or financial objectives. This is discussed in more detail -in our document [Project Independence][6]. +in our document [Project Independence][10]. <a name="Index-Assistingwithprojectmanagement"></a> ## Assisting with project management @@ -49,9 +67,13 @@ activities, although non-committers can * [Board Reports](/boardreport.html) - [1]: http://www.apache.org/dev/release.html - [2]: http://www.apache.org/legal/ - [3]: http://www.apache.org/foundation/marks/ - [4]: http://www.apache.org/dev/#mail - [5]: https://blogs.apache.org/comdev/entry/what_makes_apache_projects_different - [6]: /projectIndependence.html \ No newline at end of file + [1]: /committers/lazyConsensus.html + [2]: /committers/consensusBuilding.html + [3]: /committes/voting.html + [4]: /committers/decisionMaking.html + [5]: http://www.apache.org/dev/release.html + [6]: http://www.apache.org/legal/ + [7]: http://www.apache.org/foundation/marks/ + [8]: http://www.apache.org/dev/#mail + [9]: https://blogs.apache.org/comdev/entry/what_makes_apache_projects_different + [10]: /projectIndependence.html \ No newline at end of file From [email protected] Tue Jun 14 21:00:05 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id DDA14686E for <[email protected]>; Tue, 14 Jun 2011 21:00:04 +0000 (UTC) Received: (qmail 83365 invoked by uid 500); 14 Jun 2011 21:00:04 -0000 Delivered-To: [email protected] Received: (qmail 83341 invoked by uid 500); 14 Jun 2011 21:00:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 83333 invoked by uid 99); 14 Jun 2011 21:00:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 21:00:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 21:00:03 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B0B8C2388A64; Tue, 14 Jun 2011 20:59:43 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r790950 - /websites/staging/community/trunk/content/committers/index.html Date: Tue, 14 Jun 2011 20:59:43 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: buildbot Date: Tue Jun 14 20:59:43 2011 New Revision: 790950 Log: Staging update by buildbot Modified: websites/staging/community/trunk/content/committers/index.html Modified: websites/staging/community/trunk/content/committers/index.html ============================================================================== --- websites/staging/community/trunk/content/committers/index.html (original) +++ websites/staging/community/trunk/content/committers/index.html Tue Jun 14 20:59:43 2011 @@ -104,7 +104,22 @@ <p>Information that is useful to Apache committers is spread across the whole ASF site. This page is intended to be an index of useful resources. This site is editable by any Apache Committer, feel free to add anything useful here.</p> -<h2 id="project_independence">Project Independence</h2> +<h2 id="decision_making">Decision making</h2> +<p>Decisions in Apache projects are the result of:</p> +<ul> +<li>action</li> +<li>consensus in the community </li> +</ul> +<p>We have, over the years, developed a very simple and effective approach to +consensus building and decision making. The vast majority of decisions are made +using <a href="/committers/lazyConsensus.html">lazy consensus</a>, if the "lazy" approach to consensus building is deemed +unsuitable for a particular decision then we seek to <a href="/committers/consensusBuilding.html">build consensus</a> within +the community. Very occasionally, usually for formal reasons relating to legal +responsibilities, it is necessary to call a <a href="/committes/voting.html">vote</a>.</p> +<p>Each of these three approaches is described more fully on various foundation +and project sites. However, we've provided an initial introduction to <a href="/committers/decisionMaking.html">decision +making</a> here on the community development site.</p> +<h2 id="project_independence">Project independence</h2> <p>While not all aspects of the Apache Way are practiced the same way by all projects at the ASF, there are a number of rules that Apache projects are required to follow – things like complying with PMC From [email protected] Tue Jun 14 21:00:06 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 1EAAA6880 for <[email protected]>; Tue, 14 Jun 2011 21:00:06 +0000 (UTC) Received: (qmail 83425 invoked by uid 500); 14 Jun 2011 21:00:05 -0000 Delivered-To: [email protected] Received: (qmail 83405 invoked by uid 500); 14 Jun 2011 21:00:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 83398 invoked by uid 99); 14 Jun 2011 21:00:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 21:00:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 21:00:04 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E24392388A9B; Tue, 14 Jun 2011 20:59:44 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r790951 - in /websites/production/community: ./ content/committers/consensusBuilding.html content/committers/decisionMaking.html content/committers/lazyConsensus.html content/committers/voting.html Date: Tue, 14 Jun 2011 20:59:44 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: rgardler Date: Tue Jun 14 20:59:44 2011 New Revision: 790951 Log: Publishing merge to community site by rgardler Added: websites/production/community/content/committers/consensusBuilding.html - copied unchanged from r790949, websites/staging/community/trunk/content/committers/consensusBuilding.html websites/production/community/content/committers/decisionMaking.html - copied unchanged from r790949, websites/staging/community/trunk/content/committers/decisionMaking.html websites/production/community/content/committers/lazyConsensus.html - copied unchanged from r790949, websites/staging/community/trunk/content/committers/lazyConsensus.html websites/production/community/content/committers/voting.html - copied unchanged from r790949, websites/staging/community/trunk/content/committers/voting.html Modified: websites/production/community/ (props changed) Propchange: websites/production/community/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Tue Jun 14 20:59:44 2011 @@ -1,2 +1,2 @@ /websites/staging/comdev/trunk:779592-779702 -/websites/staging/community/trunk:779703-790723 +/websites/staging/community/trunk:779703-790949 From [email protected] Tue Jun 14 21:01:18 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 63D1B6E0B for <[email protected]>; Tue, 14 Jun 2011 21:01:18 +0000 (UTC) Received: (qmail 84330 invoked by uid 500); 14 Jun 2011 21:01:18 -0000 Delivered-To: [email protected] Received: (qmail 84307 invoked by uid 500); 14 Jun 2011 21:01:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84300 invoked by uid 99); 14 Jun 2011 21:01:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 21:01:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 21:01:17 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id F323A2388A36; Tue, 14 Jun 2011 21:00:56 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r790952 - in /websites/production/community: ./ content/committers/index.html Date: Tue, 14 Jun 2011 21:00:56 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: rgardler Date: Tue Jun 14 21:00:56 2011 New Revision: 790952 Log: Publishing merge to community site by rgardler Modified: websites/production/community/ (props changed) websites/production/community/content/committers/index.html Propchange: websites/production/community/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Tue Jun 14 21:00:56 2011 @@ -1,2 +1,2 @@ /websites/staging/comdev/trunk:779592-779702 -/websites/staging/community/trunk:779703-790949 +/websites/staging/community/trunk:779703-790951 Modified: websites/production/community/content/committers/index.html ============================================================================== --- websites/production/community/content/committers/index.html (original) +++ websites/production/community/content/committers/index.html Tue Jun 14 21:00:56 2011 @@ -104,7 +104,22 @@ <p>Information that is useful to Apache committers is spread across the whole ASF site. This page is intended to be an index of useful resources. This site is editable by any Apache Committer, feel free to add anything useful here.</p> -<h2 id="project_independence">Project Independence</h2> +<h2 id="decision_making">Decision making</h2> +<p>Decisions in Apache projects are the result of:</p> +<ul> +<li>action</li> +<li>consensus in the community </li> +</ul> +<p>We have, over the years, developed a very simple and effective approach to +consensus building and decision making. The vast majority of decisions are made +using <a href="/committers/lazyConsensus.html">lazy consensus</a>, if the "lazy" approach to consensus building is deemed +unsuitable for a particular decision then we seek to <a href="/committers/consensusBuilding.html">build consensus</a> within +the community. Very occasionally, usually for formal reasons relating to legal +responsibilities, it is necessary to call a <a href="/committes/voting.html">vote</a>.</p> +<p>Each of these three approaches is described more fully on various foundation +and project sites. However, we've provided an initial introduction to <a href="/committers/decisionMaking.html">decision +making</a> here on the community development site.</p> +<h2 id="project_independence">Project independence</h2> <p>While not all aspects of the Apache Way are practiced the same way by all projects at the ASF, there are a number of rules that Apache projects are required to follow – things like complying with PMC From [email protected] Tue Jun 14 21:10:40 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 25CD460C3 for <[email protected]>; Tue, 14 Jun 2011 21:10:40 +0000 (UTC) Received: (qmail 2827 invoked by uid 500); 14 Jun 2011 21:10:40 -0000 Delivered-To: [email protected] Received: (qmail 2806 invoked by uid 500); 14 Jun 2011 21:10:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 2799 invoked by uid 99); 14 Jun 2011 21:10:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 21:10:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 21:10:37 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id DB7DF2388A3C; Tue, 14 Jun 2011 21:10:15 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1135796 - /comdev/site/trunk/content/committers/index.mdtext Date: Tue, 14 Jun 2011 21:10:15 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rgardler Date: Tue Jun 14 21:10:15 2011 New Revision: 1135796 URL: http://svn.apache.org/viewvc?rev=1135796&view=rev Log: Add some extra reading resources Modified: comdev/site/trunk/content/committers/index.mdtext Modified: comdev/site/trunk/content/committers/index.mdtext URL: http://svn.apache.org/viewvc/comdev/site/trunk/content/committers/index.mdtext?rev=1135796&r1=1135795&r2=1135796&view=diff ============================================================================== --- comdev/site/trunk/content/committers/index.mdtext (original) +++ comdev/site/trunk/content/committers/index.mdtext Tue Jun 14 21:10:15 2011 @@ -66,6 +66,15 @@ activities, although non-committers can * [Assessing and approving new committers](/newcommitter.html) * [Board Reports](/boardreport.html) +## Other Resources + +There is no shortage of useful resources for committers at Apache, +here are a few you might want to take a look at: + + - [How the ASF works][11] + - [Guide for New Committers][12] + - [Developer resources][13] + [1]: /committers/lazyConsensus.html [2]: /committers/consensusBuilding.html @@ -76,4 +85,7 @@ activities, although non-committers can [7]: http://www.apache.org/foundation/marks/ [8]: http://www.apache.org/dev/#mail [9]: https://blogs.apache.org/comdev/entry/what_makes_apache_projects_different - [10]: /projectIndependence.html \ No newline at end of file + [10]: /projectIndependence.html + [11]: http://www.apache.org/foundation/how-it-works.html + [12]: http://www.apache.org/dev/new-committers-guide.html + [13]: http://www.apache.org/dev \ No newline at end of file From [email protected] Tue Jun 14 21:10:49 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 2A4CE620F for <[email protected]>; Tue, 14 Jun 2011 21:10:49 +0000 (UTC) Received: (qmail 4130 invoked by uid 500); 14 Jun 2011 21:10:49 -0000 Delivered-To: [email protected] Received: (qmail 4103 invoked by uid 500); 14 Jun 2011 21:10:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4080 invoked by uid 99); 14 Jun 2011 21:10:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 21:10:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 21:10:42 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A9EA72388ABA; Tue, 14 Jun 2011 21:10:22 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r790955 - /websites/staging/community/trunk/content/committers/index.html Date: Tue, 14 Jun 2011 21:10:22 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: buildbot Date: Tue Jun 14 21:10:22 2011 New Revision: 790955 Log: Staging update by buildbot Modified: websites/staging/community/trunk/content/committers/index.html Modified: websites/staging/community/trunk/content/committers/index.html ============================================================================== --- websites/staging/community/trunk/content/committers/index.html (original) +++ websites/staging/community/trunk/content/committers/index.html Tue Jun 14 21:10:22 2011 @@ -143,6 +143,14 @@ activities, although non-committers can <li><a href="/newcommitter.html">Assessing and approving new committers</a></li> <li><a href="/boardreport.html">Board Reports</a></li> </ul> +<h2 id="other_resources">Other Resources</h2> +<p>There is no shortage of useful resources for committers at Apache, +here are a few you might want to take a look at:</p> +<ul> +<li><a href="http://www.apache.org/foundation/how-it-works.html">How the ASF works</a></li> +<li><a href="http://www.apache.org/dev/new-committers-guide.html">Guide for New Committers</a></li> +<li><a href="http://www.apache.org/dev">Developer resources</a></li> +</ul> </DIV> </DIV> </DIV> From [email protected] Tue Jun 14 21:11:02 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 6ACA06218 for <[email protected]>; Tue, 14 Jun 2011 21:11:02 +0000 (UTC) Received: (qmail 4229 invoked by uid 500); 14 Jun 2011 21:11:02 -0000 Delivered-To: [email protected] Received: (qmail 4208 invoked by uid 500); 14 Jun 2011 21:11:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4196 invoked by uid 99); 14 Jun 2011 21:11:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 21:11:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 21:11:01 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 5B026238896F; Tue, 14 Jun 2011 21:10:41 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r790956 - in /websites/production/community: ./ content/committers/index.html Date: Tue, 14 Jun 2011 21:10:41 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: rgardler Date: Tue Jun 14 21:10:41 2011 New Revision: 790956 Log: Publishing merge to community site by rgardler Modified: websites/production/community/ (props changed) websites/production/community/content/committers/index.html Propchange: websites/production/community/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Tue Jun 14 21:10:41 2011 @@ -1,2 +1,2 @@ /websites/staging/comdev/trunk:779592-779702 -/websites/staging/community/trunk:779703-790951 +/websites/staging/community/trunk:779703-790955 Modified: websites/production/community/content/committers/index.html ============================================================================== --- websites/production/community/content/committers/index.html (original) +++ websites/production/community/content/committers/index.html Tue Jun 14 21:10:41 2011 @@ -143,6 +143,14 @@ activities, although non-committers can <li><a href="/newcommitter.html">Assessing and approving new committers</a></li> <li><a href="/boardreport.html">Board Reports</a></li> </ul> +<h2 id="other_resources">Other Resources</h2> +<p>There is no shortage of useful resources for committers at Apache, +here are a few you might want to take a look at:</p> +<ul> +<li><a href="http://www.apache.org/foundation/how-it-works.html">How the ASF works</a></li> +<li><a href="http://www.apache.org/dev/new-committers-guide.html">Guide for New Committers</a></li> +<li><a href="http://www.apache.org/dev">Developer resources</a></li> +</ul> </DIV> </DIV> </DIV> From [email protected] Tue Jun 14 21:28:05 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id B9AE96CAB for <[email protected]>; Tue, 14 Jun 2011 21:28:05 +0000 (UTC) Received: (qmail 42660 invoked by uid 500); 14 Jun 2011 21:28:05 -0000 Delivered-To: [email protected] Received: (qmail 42638 invoked by uid 500); 14 Jun 2011 21:28:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 42631 invoked by uid 99); 14 Jun 2011 21:28:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 21:28:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 21:28:03 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 7CA882388A3C; Tue, 14 Jun 2011 21:27:42 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1135804 - /comdev/site/trunk/content/committers/index.mdtext Date: Tue, 14 Jun 2011 21:27:42 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rgardler Date: Tue Jun 14 21:27:42 2011 New Revision: 1135804 URL: http://svn.apache.org/viewvc?rev=1135804&view=rev Log: Add services list to links Modified: comdev/site/trunk/content/committers/index.mdtext Modified: comdev/site/trunk/content/committers/index.mdtext URL: http://svn.apache.org/viewvc/comdev/site/trunk/content/committers/index.mdtext?rev=1135804&r1=1135803&r2=1135804&view=diff ============================================================================== --- comdev/site/trunk/content/committers/index.mdtext (original) +++ comdev/site/trunk/content/committers/index.mdtext Tue Jun 14 21:27:42 2011 @@ -74,6 +74,7 @@ here are a few you might want to take a - [How the ASF works][11] - [Guide for New Committers][12] - [Developer resources][13] + - [Apache service list][14] [1]: /committers/lazyConsensus.html @@ -88,4 +89,5 @@ here are a few you might want to take a [10]: /projectIndependence.html [11]: http://www.apache.org/foundation/how-it-works.html [12]: http://www.apache.org/dev/new-committers-guide.html - [13]: http://www.apache.org/dev \ No newline at end of file + [13]: http://www.apache.org/dev + [14]: http://apache.org/dev/services.html \ No newline at end of file From [email protected] Tue Jun 14 21:28:11 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id C16B16CB0 for <[email protected]>; Tue, 14 Jun 2011 21:28:11 +0000 (UTC) Received: (qmail 42724 invoked by uid 500); 14 Jun 2011 21:28:11 -0000 Delivered-To: [email protected] Received: (qmail 42702 invoked by uid 500); 14 Jun 2011 21:28:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 42695 invoked by uid 99); 14 Jun 2011 21:28:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 21:28:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 21:28:10 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B91AA2388A64; Tue, 14 Jun 2011 21:27:50 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r790957 - /websites/staging/community/trunk/content/committers/index.html Date: Tue, 14 Jun 2011 21:27:50 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: buildbot Date: Tue Jun 14 21:27:50 2011 New Revision: 790957 Log: Staging update by buildbot Modified: websites/staging/community/trunk/content/committers/index.html Modified: websites/staging/community/trunk/content/committers/index.html ============================================================================== --- websites/staging/community/trunk/content/committers/index.html (original) +++ websites/staging/community/trunk/content/committers/index.html Tue Jun 14 21:27:50 2011 @@ -150,6 +150,7 @@ here are a few you might want to take a <li><a href="http://www.apache.org/foundation/how-it-works.html">How the ASF works</a></li> <li><a href="http://www.apache.org/dev/new-committers-guide.html">Guide for New Committers</a></li> <li><a href="http://www.apache.org/dev">Developer resources</a></li> +<li><a href="http://apache.org/dev/services.html">Apache service list</a></li> </ul> </DIV> </DIV> From [email protected] Tue Jun 14 21:29:01 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 3854D6DC0 for <[email protected]>; Tue, 14 Jun 2011 21:29:01 +0000 (UTC) Received: (qmail 43849 invoked by uid 500); 14 Jun 2011 21:29:01 -0000 Delivered-To: [email protected] Received: (qmail 43828 invoked by uid 500); 14 Jun 2011 21:29:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 43821 invoked by uid 99); 14 Jun 2011 21:29:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 21:29:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 21:29:00 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 281C22388906; Tue, 14 Jun 2011 21:28:40 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r790958 - in /websites/production/community: ./ content/committers/index.html Date: Tue, 14 Jun 2011 21:28:40 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: rgardler Date: Tue Jun 14 21:28:39 2011 New Revision: 790958 Log: Publishing merge to community site by rgardler Modified: websites/production/community/ (props changed) websites/production/community/content/committers/index.html Propchange: websites/production/community/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Tue Jun 14 21:28:39 2011 @@ -1,2 +1,2 @@ /websites/staging/comdev/trunk:779592-779702 -/websites/staging/community/trunk:779703-790955 +/websites/staging/community/trunk:779703-790957 Modified: websites/production/community/content/committers/index.html ============================================================================== --- websites/production/community/content/committers/index.html (original) +++ websites/production/community/content/committers/index.html Tue Jun 14 21:28:39 2011 @@ -150,6 +150,7 @@ here are a few you might want to take a <li><a href="http://www.apache.org/foundation/how-it-works.html">How the ASF works</a></li> <li><a href="http://www.apache.org/dev/new-committers-guide.html">Guide for New Committers</a></li> <li><a href="http://www.apache.org/dev">Developer resources</a></li> +<li><a href="http://apache.org/dev/services.html">Apache service list</a></li> </ul> </DIV> </DIV> From [email protected] Wed Jun 15 18:57:59 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 02F80404A for <[email protected]>; Wed, 15 Jun 2011 18:57:59 +0000 (UTC) Received: (qmail 22289 invoked by uid 500); 15 Jun 2011 18:57:59 -0000 Delivered-To: [email protected] Received: (qmail 22263 invoked by uid 500); 15 Jun 2011 18:57:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 22256 invoked by uid 99); 15 Jun 2011 18:57:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 18:57:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 18:57:57 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 2C0B42388A70; Wed, 15 Jun 2011 18:57:37 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1136151 - /comdev/site/trunk/content/committers/consensusBuilding.mdtext Date: Wed, 15 Jun 2011 18:57:37 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: rgardler Date: Wed Jun 15 18:57:36 2011 New Revision: 1136151 URL: http://svn.apache.org/viewvc?rev=1136151&view=rev Log: Fix broken link Modified: comdev/site/trunk/content/committers/consensusBuilding.mdtext Modified: comdev/site/trunk/content/committers/consensusBuilding.mdtext URL: http://svn.apache.org/viewvc/comdev/site/trunk/content/committers/consensusBuilding.mdtext?rev=1136151&r1=1136150&r2=1136151&view=diff ============================================================================== --- comdev/site/trunk/content/committers/consensusBuilding.mdtext (original) +++ comdev/site/trunk/content/committers/consensusBuilding.mdtext Wed Jun 15 18:57:36 2011 @@ -63,4 +63,4 @@ or not. Once there is a clear consensus members of the community can proceed with the work under the [lazy consensus][1] model. - [1]: /rave/docs/governance/lazyConsensus.html \ No newline at end of file + [1]: /committers/lazyConsensus.html \ No newline at end of file From [email protected] Wed Jun 15 18:58:08 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 0780D404D for <[email protected]>; Wed, 15 Jun 2011 18:58:08 +0000 (UTC) Received: (qmail 22334 invoked by uid 500); 15 Jun 2011 18:58:08 -0000 Delivered-To: [email protected] Received: (qmail 22312 invoked by uid 500); 15 Jun 2011 18:58:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 22305 invoked by uid 99); 15 Jun 2011 18:58:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 18:58:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 18:58:06 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id EAEB923889D5; Wed, 15 Jun 2011 18:57:46 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r791007 - /websites/staging/community/trunk/content/committers/consensusBuilding.html Date: Wed, 15 Jun 2011 18:57:46 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: buildbot Date: Wed Jun 15 18:57:46 2011 New Revision: 791007 Log: Staging update by buildbot Modified: websites/staging/community/trunk/content/committers/consensusBuilding.html Modified: websites/staging/community/trunk/content/committers/consensusBuilding.html ============================================================================== --- websites/staging/community/trunk/content/committers/consensusBuilding.html (original) +++ websites/staging/community/trunk/content/committers/consensusBuilding.html Wed Jun 15 18:57:46 2011 @@ -137,7 +137,7 @@ that when someone wants to summarise a d add up the strength of feeling of the community and decide if there is consensus or not.</p> <p>Once there is a clear consensus members of the community can proceed with -the work under the <a href="/rave/docs/governance/lazyConsensus.html">lazy consensus</a> model.</p> +the work under the <a href="/committers/lazyConsensus.html">lazy consensus</a> model.</p> </DIV> </DIV> </DIV> From [email protected] Wed Jun 15 18:58:12 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id C885F4054 for <[email protected]>; Wed, 15 Jun 2011 18:58:12 +0000 (UTC) Received: (qmail 22384 invoked by uid 500); 15 Jun 2011 18:58:12 -0000 Delivered-To: [email protected] Received: (qmail 22361 invoked by uid 500); 15 Jun 2011 18:58:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 22354 invoked by uid 99); 15 Jun 2011 18:58:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 18:58:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 18:58:11 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A70872388A3B; Wed, 15 Jun 2011 18:57:51 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r791008 - in /websites/production/community: ./ content/committers/consensusBuilding.html Date: Wed, 15 Jun 2011 18:57:51 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: rgardler Date: Wed Jun 15 18:57:51 2011 New Revision: 791008 Log: Publishing merge to community site by rgardler Modified: websites/production/community/ (props changed) websites/production/community/content/committers/consensusBuilding.html Propchange: websites/production/community/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Wed Jun 15 18:57:51 2011 @@ -1,2 +1,2 @@ /websites/staging/comdev/trunk:779592-779702 -/websites/staging/community/trunk:779703-790957 +/websites/staging/community/trunk:779703-791007 Modified: websites/production/community/content/committers/consensusBuilding.html ============================================================================== --- websites/production/community/content/committers/consensusBuilding.html (original) +++ websites/production/community/content/committers/consensusBuilding.html Wed Jun 15 18:57:51 2011 @@ -137,7 +137,7 @@ that when someone wants to summarise a d add up the strength of feeling of the community and decide if there is consensus or not.</p> <p>Once there is a clear consensus members of the community can proceed with -the work under the <a href="/rave/docs/governance/lazyConsensus.html">lazy consensus</a> model.</p> +the work under the <a href="/committers/lazyConsensus.html">lazy consensus</a> model.</p> </DIV> </DIV> </DIV> From [email protected] Wed Jun 15 19:00:02 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id D216B4132 for <[email protected]>; Wed, 15 Jun 2011 19:00:02 +0000 (UTC) Received: (qmail 30124 invoked by uid 500); 15 Jun 2011 19:00:02 -0000 Delivered-To: [email protected] Received: (qmail 30105 invoked by uid 500); 15 Jun 2011 19:00:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30098 invoked by uid 99); 15 Jun 2011 19:00:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 19:00:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 19:00:01 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id CD2AF23889DA; Wed, 15 Jun 2011 18:59:41 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1136152 - /comdev/site/trunk/content/committers/lazyConsensus.mdtext Date: Wed, 15 Jun 2011 18:59:41 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: rgardler Date: Wed Jun 15 18:59:41 2011 New Revision: 1136152 URL: http://svn.apache.org/viewvc?rev=1136152&view=rev Log: fix broken link Modified: comdev/site/trunk/content/committers/lazyConsensus.mdtext Modified: comdev/site/trunk/content/committers/lazyConsensus.mdtext URL: http://svn.apache.org/viewvc/comdev/site/trunk/content/committers/lazyConsensus.mdtext?rev=1136152&r1=1136151&r2=1136152&view=diff ============================================================================== --- comdev/site/trunk/content/committers/lazyConsensus.mdtext (original) +++ comdev/site/trunk/content/committers/lazyConsensus.mdtext Wed Jun 15 18:59:41 2011 @@ -68,4 +68,4 @@ mail - quick and easy to read and reassu remember, in a lazy consensus world silence is the equivalent to support. This can take some time to get used to. - [1]: /rave/docs/governance/consensusBuilding.html \ No newline at end of file + [1]: /committers/consensusBuilding.html \ No newline at end of file From [email protected] Wed Jun 15 19:00:14 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 681104210 for <[email protected]>; Wed, 15 Jun 2011 19:00:14 +0000 (UTC) Received: (qmail 30227 invoked by uid 500); 15 Jun 2011 19:00:14 -0000 Delivered-To: [email protected] Received: (qmail 30206 invoked by uid 500); 15 Jun 2011 19:00:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30199 invoked by uid 99); 15 Jun 2011 19:00:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 19:00:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 19:00:12 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 4CDE82388A3B; Wed, 15 Jun 2011 18:59:51 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r791009 - /websites/staging/community/trunk/content/committers/lazyConsensus.html Date: Wed, 15 Jun 2011 18:59:51 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: buildbot Date: Wed Jun 15 18:59:50 2011 New Revision: 791009 Log: Staging update by buildbot Modified: websites/staging/community/trunk/content/committers/lazyConsensus.html Modified: websites/staging/community/trunk/content/committers/lazyConsensus.html ============================================================================== --- websites/staging/community/trunk/content/committers/lazyConsensus.html (original) +++ websites/staging/community/trunk/content/committers/lazyConsensus.html Wed Jun 15 18:59:50 2011 @@ -135,7 +135,7 @@ it accounts for different timezones and <p>In this approach the original proposal is not insisting that there is a discussion around their proposal, nor are they requesting that the community explicitly supports their actions. However, this differs from assuming lazy consensus -since it allows space and time to <a href="/rave/docs/governance/consensusBuilding.html">express support or objections</a> and corrections to +since it allows space and time to <a href="/committers/consensusBuilding.html">express support or objections</a> and corrections to the proposal before work begins. </p> <h2 id="silence_is_consent">Silence is consent</h2> <p>People may choose to indicate their support for the actions taken with a +1 From [email protected] Wed Jun 15 19:00:20 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 8688442BA for <[email protected]>; Wed, 15 Jun 2011 19:00:20 +0000 (UTC) Received: (qmail 30273 invoked by uid 500); 15 Jun 2011 19:00:20 -0000 Delivered-To: [email protected] Received: (qmail 30252 invoked by uid 500); 15 Jun 2011 19:00:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30245 invoked by uid 99); 15 Jun 2011 19:00:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 19:00:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 19:00:19 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 61C4B2388A3D; Wed, 15 Jun 2011 18:59:59 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r791010 - in /websites/production/community: ./ content/committers/lazyConsensus.html Date: Wed, 15 Jun 2011 18:59:59 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: rgardler Date: Wed Jun 15 18:59:59 2011 New Revision: 791010 Log: Publishing merge to community site by rgardler Modified: websites/production/community/ (props changed) websites/production/community/content/committers/lazyConsensus.html Propchange: websites/production/community/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Wed Jun 15 18:59:59 2011 @@ -1,2 +1,2 @@ /websites/staging/comdev/trunk:779592-779702 -/websites/staging/community/trunk:779703-791007 +/websites/staging/community/trunk:779703-791009 Modified: websites/production/community/content/committers/lazyConsensus.html ============================================================================== --- websites/production/community/content/committers/lazyConsensus.html (original) +++ websites/production/community/content/committers/lazyConsensus.html Wed Jun 15 18:59:59 2011 @@ -135,7 +135,7 @@ it accounts for different timezones and <p>In this approach the original proposal is not insisting that there is a discussion around their proposal, nor are they requesting that the community explicitly supports their actions. However, this differs from assuming lazy consensus -since it allows space and time to <a href="/rave/docs/governance/consensusBuilding.html">express support or objections</a> and corrections to +since it allows space and time to <a href="/committers/consensusBuilding.html">express support or objections</a> and corrections to the proposal before work begins. </p> <h2 id="silence_is_consent">Silence is consent</h2> <p>People may choose to indicate their support for the actions taken with a +1 From [email protected] Wed Jun 15 19:15:39 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 9E5014E50 for <[email protected]>; Wed, 15 Jun 2011 19:15:39 +0000 (UTC) Received: (qmail 78570 invoked by uid 500); 15 Jun 2011 19:15:39 -0000 Delivered-To: [email protected] Received: (qmail 78548 invoked by uid 500); 15 Jun 2011 19:15:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78541 invoked by uid 99); 15 Jun 2011 19:15:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 19:15:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 19:15:37 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 85FBE23889DA; Wed, 15 Jun 2011 19:15:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1136153 - /comdev/site/trunk/content/committers/consensusBuilding.mdtext Date: Wed, 15 Jun 2011 19:15:16 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rgardler Date: Wed Jun 15 19:15:16 2011 New Revision: 1136153 URL: http://svn.apache.org/viewvc?rev=1136153&view=rev Log: Emphasise that the community is everyone Modified: comdev/site/trunk/content/committers/consensusBuilding.mdtext Modified: comdev/site/trunk/content/committers/consensusBuilding.mdtext URL: http://svn.apache.org/viewvc/comdev/site/trunk/content/committers/consensusBuilding.mdtext?rev=1136153&r1=1136152&r2=1136153&view=diff ============================================================================== --- comdev/site/trunk/content/committers/consensusBuilding.mdtext (original) +++ comdev/site/trunk/content/committers/consensusBuilding.mdtext Wed Jun 15 19:15:16 2011 @@ -28,6 +28,11 @@ shorthand notation for showing support, ## Expressing support (or otherwise) +First of all, it is important to understand that everyone is invited to express +their opinion of any given action or proposal. Apache projects are community +projects in which no single individual has more power than any other single +individual (except in a very few procedural situations). + The notation used is "+1", "-1" and "0". It's also common to see "+0" and "-0". So, what do these notations mean? From [email protected] Wed Jun 15 19:15:48 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id CFD864EC9 for <[email protected]>; Wed, 15 Jun 2011 19:15:48 +0000 (UTC) Received: (qmail 78668 invoked by uid 500); 15 Jun 2011 19:15:48 -0000 Delivered-To: [email protected] Received: (qmail 78647 invoked by uid 500); 15 Jun 2011 19:15:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78640 invoked by uid 99); 15 Jun 2011 19:15:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 19:15:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 19:15:46 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id BFD1D23889E7; Wed, 15 Jun 2011 19:15:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r791012 - /websites/staging/community/trunk/content/committers/consensusBuilding.html Date: Wed, 15 Jun 2011 19:15:25 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: buildbot Date: Wed Jun 15 19:15:25 2011 New Revision: 791012 Log: Staging update by buildbot Modified: websites/staging/community/trunk/content/committers/consensusBuilding.html Modified: websites/staging/community/trunk/content/committers/consensusBuilding.html ============================================================================== --- websites/staging/community/trunk/content/committers/consensusBuilding.html (original) +++ websites/staging/community/trunk/content/committers/consensusBuilding.html Wed Jun 15 19:15:25 2011 @@ -110,6 +110,10 @@ That is not to say that we want to avoid the lifeblood of a successful project. However, many ASF projects adopt a shorthand notation for showing support, or otherwise, for a proposal.</p> <h2 id="expressing_support_or_otherwise">Expressing support (or otherwise)</h2> +<p>First of all, it is important to understand that everyone is invited to express +their opinion of any given action or proposal. Apache projects are community +projects in which no single individual has more power than any other single +individual (except in a very few procedural situations).</p> <p>The notation used is "+1", "-1" and "0". It's also common to see "+0" and "-0".</p> <p>So, what do these notations mean?</p> <ul> From [email protected] Wed Jun 15 19:17:48 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id CB3FB47EF for <[email protected]>; Wed, 15 Jun 2011 19:17:48 +0000 (UTC) Received: (qmail 79592 invoked by uid 500); 15 Jun 2011 19:17:48 -0000 Delivered-To: [email protected] Received: (qmail 79571 invoked by uid 500); 15 Jun 2011 19:17:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 79564 invoked by uid 99); 15 Jun 2011 19:17:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 19:17:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 19:17:46 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B2FF323889BB; Wed, 15 Jun 2011 19:17:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r791013 - in /websites/production/community: ./ content/committers/consensusBuilding.html Date: Wed, 15 Jun 2011 19:17:25 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rgardler Date: Wed Jun 15 19:17:25 2011 New Revision: 791013 Log: Publishing merge to community site by rgardler Modified: websites/production/community/ (props changed) websites/production/community/content/committers/consensusBuilding.html Propchange: websites/production/community/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Wed Jun 15 19:17:25 2011 @@ -1,2 +1,2 @@ /websites/staging/comdev/trunk:779592-779702 -/websites/staging/community/trunk:779703-791009 +/websites/staging/community/trunk:779703-791012 Modified: websites/production/community/content/committers/consensusBuilding.html ============================================================================== --- websites/production/community/content/committers/consensusBuilding.html (original) +++ websites/production/community/content/committers/consensusBuilding.html Wed Jun 15 19:17:25 2011 @@ -110,6 +110,10 @@ That is not to say that we want to avoid the lifeblood of a successful project. However, many ASF projects adopt a shorthand notation for showing support, or otherwise, for a proposal.</p> <h2 id="expressing_support_or_otherwise">Expressing support (or otherwise)</h2> +<p>First of all, it is important to understand that everyone is invited to express +their opinion of any given action or proposal. Apache projects are community +projects in which no single individual has more power than any other single +individual (except in a very few procedural situations).</p> <p>The notation used is "+1", "-1" and "0". It's also common to see "+0" and "-0".</p> <p>So, what do these notations mean?</p> <ul> From [email protected] Wed Jun 15 19:21:27 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id A99A7459C for <[email protected]>; Wed, 15 Jun 2011 19:21:27 +0000 (UTC) Received: (qmail 87863 invoked by uid 500); 15 Jun 2011 19:21:27 -0000 Delivered-To: [email protected] Received: (qmail 87843 invoked by uid 500); 15 Jun 2011 19:21:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 87836 invoked by uid 99); 15 Jun 2011 19:21:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 19:21:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 19:21:26 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 92C3623889DA; Wed, 15 Jun 2011 19:21:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1136155 - /comdev/site/trunk/content/committers/lazyConsensus.mdtext Date: Wed, 15 Jun 2011 19:21:06 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: rgardler Date: Wed Jun 15 19:21:06 2011 New Revision: 1136155 URL: http://svn.apache.org/viewvc?rev=1136155&view=rev Log: Clarify when and how to state lazy consensus Modified: comdev/site/trunk/content/committers/lazyConsensus.mdtext Modified: comdev/site/trunk/content/committers/lazyConsensus.mdtext URL: http://svn.apache.org/viewvc/comdev/site/trunk/content/committers/lazyConsensus.mdtext?rev=1136155&r1=1136154&r2=1136155&view=diff ============================================================================== --- comdev/site/trunk/content/committers/lazyConsensus.mdtext (original) +++ comdev/site/trunk/content/committers/lazyConsensus.mdtext Wed Jun 15 19:21:06 2011 @@ -47,9 +47,10 @@ and cares. ## Stating Lazy Consensus Sometimes a member of the community will believe a specific action is the correct -one for the community but are not sure enough to proceed with the work under the -lazy consensus model. In these circumstances they can state Lazy Consensus is in -operation. +one for the project but are not sure that there will be consensus. In these +circumstances they may not wish to proceed with the work without giving the +community an opportunity to feedback. In these circumstances they can make the +proposal and state Lazy Consensus is in operation. What this means is that they make a proposal and state that they will start implementing it in 72 hours unless someone objects. 72 hours is chosen because From [email protected] Wed Jun 15 19:21:37 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 5118B45AB for <[email protected]>; Wed, 15 Jun 2011 19:21:37 +0000 (UTC) Received: (qmail 87974 invoked by uid 500); 15 Jun 2011 19:21:37 -0000 Delivered-To: [email protected] Received: (qmail 87953 invoked by uid 500); 15 Jun 2011 19:21:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 87945 invoked by uid 99); 15 Jun 2011 19:21:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 19:21:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 19:21:36 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 40C1123889E7; Wed, 15 Jun 2011 19:21:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r791014 - /websites/staging/community/trunk/content/committers/lazyConsensus.html Date: Wed, 15 Jun 2011 19:21:16 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: buildbot Date: Wed Jun 15 19:21:15 2011 New Revision: 791014 Log: Staging update by buildbot Modified: websites/staging/community/trunk/content/committers/lazyConsensus.html Modified: websites/staging/community/trunk/content/committers/lazyConsensus.html ============================================================================== --- websites/staging/community/trunk/content/committers/lazyConsensus.html (original) +++ websites/staging/community/trunk/content/committers/lazyConsensus.html Wed Jun 15 19:21:15 2011 @@ -126,9 +126,10 @@ of intent) early is likely to be greeted and cares.</p> <h2 id="stating_lazy_consensus">Stating Lazy Consensus</h2> <p>Sometimes a member of the community will believe a specific action is the correct -one for the community but are not sure enough to proceed with the work under the -lazy consensus model. In these circumstances they can state Lazy Consensus is in -operation.</p> +one for the project but are not sure that there will be consensus. In these +circumstances they may not wish to proceed with the work without giving the +community an opportunity to feedback. In these circumstances they can make the +proposal and state Lazy Consensus is in operation.</p> <p>What this means is that they make a proposal and state that they will start implementing it in 72 hours unless someone objects. 72 hours is chosen because it accounts for different timezones and non-apache commitments.</p> From [email protected] Wed Jun 15 19:21:49 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id CA1E745BF for <[email protected]>; Wed, 15 Jun 2011 19:21:49 +0000 (UTC) Received: (qmail 88167 invoked by uid 500); 15 Jun 2011 19:21:49 -0000 Delivered-To: [email protected] Received: (qmail 88144 invoked by uid 500); 15 Jun 2011 19:21:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 88137 invoked by uid 99); 15 Jun 2011 19:21:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 19:21:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 19:21:47 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 9412E23889BB; Wed, 15 Jun 2011 19:21:26 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r791015 - in /websites/production/community: ./ content/committers/lazyConsensus.html Date: Wed, 15 Jun 2011 19:21:26 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rgardler Date: Wed Jun 15 19:21:26 2011 New Revision: 791015 Log: Publishing merge to community site by rgardler Modified: websites/production/community/ (props changed) websites/production/community/content/committers/lazyConsensus.html Propchange: websites/production/community/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Wed Jun 15 19:21:26 2011 @@ -1,2 +1,2 @@ /websites/staging/comdev/trunk:779592-779702 -/websites/staging/community/trunk:779703-791012 +/websites/staging/community/trunk:779703-791014 Modified: websites/production/community/content/committers/lazyConsensus.html ============================================================================== --- websites/production/community/content/committers/lazyConsensus.html (original) +++ websites/production/community/content/committers/lazyConsensus.html Wed Jun 15 19:21:26 2011 @@ -126,9 +126,10 @@ of intent) early is likely to be greeted and cares.</p> <h2 id="stating_lazy_consensus">Stating Lazy Consensus</h2> <p>Sometimes a member of the community will believe a specific action is the correct -one for the community but are not sure enough to proceed with the work under the -lazy consensus model. In these circumstances they can state Lazy Consensus is in -operation.</p> +one for the project but are not sure that there will be consensus. In these +circumstances they may not wish to proceed with the work without giving the +community an opportunity to feedback. In these circumstances they can make the +proposal and state Lazy Consensus is in operation.</p> <p>What this means is that they make a proposal and state that they will start implementing it in 72 hours unless someone objects. 72 hours is chosen because it accounts for different timezones and non-apache commitments.</p> From [email protected] Wed Jun 15 20:20:45 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id AD7764CF9 for <[email protected]>; Wed, 15 Jun 2011 20:20:45 +0000 (UTC) Received: (qmail 94153 invoked by uid 500); 15 Jun 2011 20:20:45 -0000 Delivered-To: [email protected] Received: (qmail 94131 invoked by uid 500); 15 Jun 2011 20:20:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 94124 invoked by uid 99); 15 Jun 2011 20:20:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 20:20:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 20:20:44 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 31F1B23889E1; Wed, 15 Jun 2011 20:20:24 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1136172 - /comdev/site/trunk/content/newcommitter.mdtext Date: Wed, 15 Jun 2011 20:20:24 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: rgardler Date: Wed Jun 15 20:20:23 2011 New Revision: 1136172 URL: http://svn.apache.org/viewvc?rev=1136172&view=rev Log: Fix some errors from the move from CWiki Modified: comdev/site/trunk/content/newcommitter.mdtext Modified: comdev/site/trunk/content/newcommitter.mdtext URL: http://svn.apache.org/viewvc/comdev/site/trunk/content/newcommitter.mdtext?rev=1136172&r1=1136171&r2=1136172&view=diff ============================================================================== --- comdev/site/trunk/content/newcommitter.mdtext (original) +++ comdev/site/trunk/content/newcommitter.mdtext Wed Jun 15 20:20:23 2011 @@ -123,7 +123,7 @@ Other notes about the process are availa <a name="NewCommitter-EmailTemplates"></a> # Email Templates -<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Committer Vote Template|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"> +## Committer Vote Template This is the email to commence a vote for a new PMC member. We do this on the [PROJECT] Private mailing list, so as to enable @@ -148,7 +148,7 @@ yet) ------------------------------------------------------------ -<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Committer Invite Template|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"> +## Committer Invite Template This is the invitation email, sent after a positive result from the vote for a new committer. @@ -192,7 +192,7 @@ yet) ------------------------------------------------------------------------ -<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Committer Accept Template|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"> +## Committer Accept Template This is the followup email after they have accepted. ------------------------------------------------------------------------ @@ -249,7 +249,7 @@ yet) ------------------------------------------------------------------------ -<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Committer Create Template|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"> +## Committer Create Template Account creation email for new committers. Follow the instructions at: @@ -286,7 +286,7 @@ yet) -<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Committer Announce Template|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"> +## Committer Announce Template This is the email to announce to [PROJECT] -dev after the followup acceptance. @@ -312,7 +312,7 @@ yet) and to guide the direction of the project. -<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Board Template|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"> +## Board Template This is the email to end a vote for a new PMC member. We do this on the [PROJECT] Private mailing list as that @@ -346,7 +346,7 @@ email ------------------------------------------------------------ -<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Committer Done Template|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"> +## Committer Done Template After the committer account is established. ------------------------------------------------------------ From [email protected] Wed Jun 15 20:21:00 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 21D514D00 for <[email protected]>; Wed, 15 Jun 2011 20:21:00 +0000 (UTC) Received: (qmail 94230 invoked by uid 500); 15 Jun 2011 20:21:00 -0000 Delivered-To: [email protected] Received: (qmail 94210 invoked by uid 500); 15 Jun 2011 20:21:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 94203 invoked by uid 99); 15 Jun 2011 20:21:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 20:21:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 20:20:54 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id EA8C92388906; Wed, 15 Jun 2011 20:20:32 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r791018 - /websites/staging/community/trunk/content/newcommitter.html Date: Wed, 15 Jun 2011 20:20:32 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: buildbot Date: Wed Jun 15 20:20:32 2011 New Revision: 791018 Log: Staging update by buildbot Modified: websites/staging/community/trunk/content/newcommitter.html Modified: websites/staging/community/trunk/content/newcommitter.html ============================================================================== --- websites/staging/community/trunk/content/newcommitter.html (original) +++ websites/staging/community/trunk/content/newcommitter.html Wed Jun 15 20:20:32 2011 @@ -197,18 +197,22 @@ our praise in public.</p> <p>Other notes about the process are available on the main <a href="http://www.apache.org/dev/pmc.html#newcommitter">Apache site</a></p> <p><a name="NewCommitter-EmailTemplates"></a></p> <h1 id="email_templates">Email Templates</h1> -<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Committer Vote Template|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"> - This is the email to commence a vote for a new PMC member. - We do this on the [PROJECT] - Private mailing list, so as to enable - a frank discussion. - ------------------------------------------------------------- - To: private@[PROJECT] -.a.o - Subject: [Vote] - new PMC member: Joe Bloggs +<h2 id="committer_vote_template">Committer Vote Template</h2> +<div class="codehilite"><pre><span class="n">This</span> <span class="n">is</span> <span class="n">the</span> <span class="n">email</span> <span class="n">to</span> <span class="n">commence</span> <span class="n">a</span> <span class="n">vote</span> <span class="k">for</span> <span class="n">a</span> <span class="k">new</span> <span class="n">PMC</span> <span class="n">member</span><span class="o">.</span> +<span class="n">We</span> <span class="k">do</span> <span class="n">this</span> <span class="n">on</span> <span class="n">the</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> +</pre></div> + + +<p>Private mailing list, so as to enable + a frank discussion.</p> +<div class="codehilite"><pre><span class="o">------------------------------------------------------------</span> +<span class="n">To:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span> +</pre></div> + +<p>.a.o + Subject: [Vote] + new PMC member: Joe Bloggs</p> <div class="codehilite"><pre> <span class="p">[</span> <span class="n">add</span> <span class="n">the</span> <span class="n">reasons</span> <span class="n">behind</span> <span class="n">your</span> <span class="n">nomination</span> <span class="n">here</span> <span class="p">]</span> <span class="n">Voting</span> <span class="n">ends</span> <span class="n">one</span> <span class="n">week</span> <span class="n">from</span> <span class="n">today</span><span class="p">,</span> <span class="n">i</span><span class="o">.</span><span class="n">e</span><span class="o">.</span> <span class="n">midnight</span> <span class="n">UTC</span> <span class="n">on</span> <span class="n">YYYY</span><span class="o">-</span><span class="n">MM</span><span class="o">-</span><span class="n">DD</span> @@ -225,17 +229,19 @@ our praise in public.</p> </pre></div> -<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Committer Invite Template|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"> - This is the invitation email, sent after a positive result - from the vote for a new committer. - ------------------------------------------------------------- - To: [email protected] - Cc: private@[PROJECT] -.a.o - Subject: invitation to become [PROJECT] - committer: Joe Bloggs ##### +<h2 id="committer_invite_template">Committer Invite Template</h2> +<div class="codehilite"><pre><span class="n">This</span> <span class="n">is</span> <span class="n">the</span> <span class="n">invitation</span> <span class="n">email</span><span class="p">,</span> <span class="n">sent</span> <span class="n">after</span> <span class="n">a</span> <span class="n">positive</span> <span class="n">result</span> +<span class="n">from</span> <span class="n">the</span> <span class="n">vote</span> <span class="k">for</span> <span class="n">a</span> <span class="k">new</span> <span class="n">committer</span><span class="o">.</span> +<span class="o">------------------------------------------------------------</span> +<span class="n">To:</span> <span class="n">JoeBloggs</span><span class="nv">@foo</span><span class="o">.</span><span class="n">net</span> +<span class="n">Cc:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span> +</pre></div> + + +<p>.a.o + Subject: invitation to become [PROJECT] + committer: Joe Bloggs #####</p> <div class="codehilite"><pre><span class="n">Hello</span> <span class="c1">#####, the Apache [PROJECT]</span> </pre></div> @@ -276,16 +282,18 @@ our praise in public.</p> </pre></div> -<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Committer Accept Template|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"> - This is the followup email after they have accepted. +<h2 id="committer_accept_template">Committer Accept Template</h2> +<div class="codehilite"><pre><span class="n">This</span> <span class="n">is</span> <span class="n">the</span> <span class="n">followup</span> <span class="n">email</span> <span class="n">after</span> <span class="n">they</span> <span class="n">have</span> <span class="n">accepted</span><span class="o">.</span> + +<span class="o">------------------------------------------------------------------------</span> +<span class="n">To:</span> <span class="n">JoeBloggs</span><span class="nv">@foo</span><span class="o">.</span><span class="n">net</span> +<span class="n">Cc:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span> +</pre></div> ------------------------------------------------------------------------- - To: [email protected] - Cc: private@[PROJECT] -.a.o - Subject: Re: invitation to become [PROJECT] - committer +<p>.a.o + Subject: Re: invitation to become [PROJECT] + committer</p> <div class="codehilite"><pre><span class="n">Welcome</span><span class="o">.</span> <span class="n">Here</span> <span class="n">are</span> <span class="n">the</span> <span class="k">next</span> <span class="n">steps</span><span class="o">.</span> <span class="n">After</span> <span class="n">that</span> <span class="n">we</span> <span class="n">will</span> <span class="n">make</span> <span class="n">an</span> <span class="n">announcement</span> <span class="n">to</span> <span class="n">the</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> </pre></div> @@ -340,13 +348,13 @@ our praise in public.</p> </pre></div> -<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Committer Create Template|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"> - Account creation email for new committers. +<h2 id="committer_create_template">Committer Create Template</h2> +<div class="codehilite"><pre><span class="n">Account</span> <span class="n">creation</span> <span class="n">email</span> <span class="k">for</span> <span class="k">new</span> <span class="n">committers</span><span class="o">.</span> -Follow the instructions at: - http://www.apache.org/dev/pmc.html#newcommitter +<span class="n">Follow</span> <span class="n">the</span> <span class="n">instructions</span> <span class="n">at:</span> +<span class="n">http:</span><span class="sr">//</span><span class="n">www</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="sr">/dev/</span><span class="n">pmc</span><span class="o">.</span><span class="n">html</span><span class="c1">#newcommitter</span> -<div class="codehilite"><pre><span class="n">Email</span> <span class="n">is</span> <span class="n">to</span> <span class="n">be</span> <span class="n">sent</span> <span class="n">to</span> <span class="n">root</span> <span class="o">*</span><span class="n">after</span><span class="o">*</span> <span class="n">the</span> <span class="n">CLA</span> <span class="n">is</span> <span class="n">registered</span><span class="o">.</span> +<span class="n">Email</span> <span class="n">is</span> <span class="n">to</span> <span class="n">be</span> <span class="n">sent</span> <span class="n">to</span> <span class="n">root</span> <span class="o">*</span><span class="n">after</span><span class="o">*</span> <span class="n">the</span> <span class="n">CLA</span> <span class="n">is</span> <span class="n">registered</span><span class="o">.</span> <span class="n">The</span> <span class="n">PMC</span> <span class="n">needs</span> <span class="n">to</span> <span class="n">monitor</span> <span class="n">iclas</span><span class="o">.</span><span class="n">txt</span> <span class="n">to</span> <span class="n">be</span> <span class="n">sure</span> <span class="n">that</span> <span class="n">the</span> <span class="n">CLA</span> <span class="n">is</span> <span class="n">properly</span> <span class="n">received</span> <span class="n">before</span> <span class="n">sending</span> <span class="n">this</span> <span class="n">email</span><span class="o">.</span> <span class="n">See</span> <span class="n">above</span><span class="o">.</span> @@ -379,14 +387,16 @@ Follow the instructions at: <p>.a.o list around YYYY-MM-DD ### Message-Id: ###</p> -<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Committer Announce Template|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"> - This is the email to announce to [PROJECT] --dev after the - followup acceptance. +<h2 id="committer_announce_template">Committer Announce Template</h2> +<div class="codehilite"><pre><span class="n">This</span> <span class="n">is</span> <span class="n">the</span> <span class="n">email</span> <span class="n">to</span> <span class="n">announce</span> <span class="n">to</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> +</pre></div> -Replace the Joe Blogs in the subject, the ### in the body. -<div class="codehilite"><pre><span class="o">------------------------------------------------------------</span> +<p>-dev after the + followup acceptance.</p> +<div class="codehilite"><pre><span class="n">Replace</span> <span class="n">the</span> <span class="n">Joe</span> <span class="n">Blogs</span> <span class="n">in</span> <span class="n">the</span> <span class="n">subject</span><span class="p">,</span> <span class="n">the</span> <span class="c1">### in the body.</span> + +<span class="o">------------------------------------------------------------</span> <span class="n">To:</span> <span class="n">dev</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span> </pre></div> @@ -408,19 +418,23 @@ Replace the Joe Blogs in the subject, th </pre></div> -<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Board Template|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"> - This is the email to end a vote for a new PMC member. - We do this on the [PROJECT] - Private mailing list as that - is where the vote is held.. - ------------------------------------------------------------- - To: private@[PROJECT] -.a.o +<h2 id="board_template">Board Template</h2> +<div class="codehilite"><pre><span class="n">This</span> <span class="n">is</span> <span class="n">the</span> <span class="n">email</span> <span class="n">to</span> <span class="n">end</span> <span class="n">a</span> <span class="n">vote</span> <span class="k">for</span> <span class="n">a</span> <span class="k">new</span> <span class="n">PMC</span> <span class="n">member</span><span class="o">.</span> +<span class="n">We</span> <span class="k">do</span> <span class="n">this</span> <span class="n">on</span> <span class="n">the</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> +</pre></div> + + +<p>Private mailing list as that + is where the vote is held..</p> +<div class="codehilite"><pre><span class="o">------------------------------------------------------------</span> +<span class="n">To:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span> +</pre></div> + + +<p>.a.o Subject: [RESULT] [Vote] - new PMC member: Joe Bloggs - + new PMC member: Joe Bloggs</p> <div class="codehilite"><pre><span class="n">The</span> <span class="n">vote</span> <span class="n">has</span> <span class="n">now</span> <span class="n">closed</span><span class="o">.</span> <span class="n">The</span> <span class="n">results</span> <span class="n">are:</span> <span class="n">Binding</span> <span class="n">Votes:</span> @@ -444,14 +458,16 @@ Replace the Joe Blogs in the subject, th </pre></div> -<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Committer Done Template|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"> - After the committer account is established. +<h2 id="committer_done_template">Committer Done Template</h2> +<div class="codehilite"><pre><span class="n">After</span> <span class="n">the</span> <span class="n">committer</span> <span class="n">account</span> <span class="n">is</span> <span class="n">established</span><span class="o">.</span> + +<span class="o">------------------------------------------------------------</span> +<span class="n">To:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span> +</pre></div> ------------------------------------------------------------- - To: private@[PROJECT] -.a.o, ###[email protected] - Subject: account request: ###Joe Bloggs +<p>.a.o, ###[email protected] + Subject: account request: ###Joe Bloggs</p> <div class="codehilite"><pre><span class="c1">####, as you know, the ASF Infrastructure has set up your</span> <span class="n">committer</span> <span class="n">account</span> <span class="n">as</span> <span class="n">the</span> <span class="n">username</span> <span class="s">&#39;####&#39;</span><span class="o">.</span> From [email protected] Wed Jun 15 20:21:07 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id B88D84D18 for <[email protected]>; Wed, 15 Jun 2011 20:21:07 +0000 (UTC) Received: (qmail 94438 invoked by uid 500); 15 Jun 2011 20:21:07 -0000 Delivered-To: [email protected] Received: (qmail 94418 invoked by uid 500); 15 Jun 2011 20:21:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 94411 invoked by uid 99); 15 Jun 2011 20:21:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 20:21:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 20:21:03 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id F1FF023889D5; Wed, 15 Jun 2011 20:20:41 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r791019 - in /websites/production/community: ./ content/newcommitter.html Date: Wed, 15 Jun 2011 20:20:41 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rgardler Date: Wed Jun 15 20:20:41 2011 New Revision: 791019 Log: Publishing merge to community site by rgardler Modified: websites/production/community/ (props changed) websites/production/community/content/newcommitter.html Propchange: websites/production/community/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Wed Jun 15 20:20:41 2011 @@ -1,2 +1,2 @@ /websites/staging/comdev/trunk:779592-779702 -/websites/staging/community/trunk:779703-791014 +/websites/staging/community/trunk:779703-791018 Modified: websites/production/community/content/newcommitter.html ============================================================================== --- websites/production/community/content/newcommitter.html (original) +++ websites/production/community/content/newcommitter.html Wed Jun 15 20:20:41 2011 @@ -197,18 +197,22 @@ our praise in public.</p> <p>Other notes about the process are available on the main <a href="http://www.apache.org/dev/pmc.html#newcommitter">Apache site</a></p> <p><a name="NewCommitter-EmailTemplates"></a></p> <h1 id="email_templates">Email Templates</h1> -<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Committer Vote Template|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"> - This is the email to commence a vote for a new PMC member. - We do this on the [PROJECT] - Private mailing list, so as to enable - a frank discussion. - ------------------------------------------------------------- - To: private@[PROJECT] -.a.o - Subject: [Vote] - new PMC member: Joe Bloggs +<h2 id="committer_vote_template">Committer Vote Template</h2> +<div class="codehilite"><pre><span class="n">This</span> <span class="n">is</span> <span class="n">the</span> <span class="n">email</span> <span class="n">to</span> <span class="n">commence</span> <span class="n">a</span> <span class="n">vote</span> <span class="k">for</span> <span class="n">a</span> <span class="k">new</span> <span class="n">PMC</span> <span class="n">member</span><span class="o">.</span> +<span class="n">We</span> <span class="k">do</span> <span class="n">this</span> <span class="n">on</span> <span class="n">the</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> +</pre></div> + + +<p>Private mailing list, so as to enable + a frank discussion.</p> +<div class="codehilite"><pre><span class="o">------------------------------------------------------------</span> +<span class="n">To:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span> +</pre></div> + +<p>.a.o + Subject: [Vote] + new PMC member: Joe Bloggs</p> <div class="codehilite"><pre> <span class="p">[</span> <span class="n">add</span> <span class="n">the</span> <span class="n">reasons</span> <span class="n">behind</span> <span class="n">your</span> <span class="n">nomination</span> <span class="n">here</span> <span class="p">]</span> <span class="n">Voting</span> <span class="n">ends</span> <span class="n">one</span> <span class="n">week</span> <span class="n">from</span> <span class="n">today</span><span class="p">,</span> <span class="n">i</span><span class="o">.</span><span class="n">e</span><span class="o">.</span> <span class="n">midnight</span> <span class="n">UTC</span> <span class="n">on</span> <span class="n">YYYY</span><span class="o">-</span><span class="n">MM</span><span class="o">-</span><span class="n">DD</span> @@ -225,17 +229,19 @@ our praise in public.</p> </pre></div> -<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Committer Invite Template|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"> - This is the invitation email, sent after a positive result - from the vote for a new committer. - ------------------------------------------------------------- - To: [email protected] - Cc: private@[PROJECT] -.a.o - Subject: invitation to become [PROJECT] - committer: Joe Bloggs ##### +<h2 id="committer_invite_template">Committer Invite Template</h2> +<div class="codehilite"><pre><span class="n">This</span> <span class="n">is</span> <span class="n">the</span> <span class="n">invitation</span> <span class="n">email</span><span class="p">,</span> <span class="n">sent</span> <span class="n">after</span> <span class="n">a</span> <span class="n">positive</span> <span class="n">result</span> +<span class="n">from</span> <span class="n">the</span> <span class="n">vote</span> <span class="k">for</span> <span class="n">a</span> <span class="k">new</span> <span class="n">committer</span><span class="o">.</span> +<span class="o">------------------------------------------------------------</span> +<span class="n">To:</span> <span class="n">JoeBloggs</span><span class="nv">@foo</span><span class="o">.</span><span class="n">net</span> +<span class="n">Cc:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span> +</pre></div> + + +<p>.a.o + Subject: invitation to become [PROJECT] + committer: Joe Bloggs #####</p> <div class="codehilite"><pre><span class="n">Hello</span> <span class="c1">#####, the Apache [PROJECT]</span> </pre></div> @@ -276,16 +282,18 @@ our praise in public.</p> </pre></div> -<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Committer Accept Template|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"> - This is the followup email after they have accepted. +<h2 id="committer_accept_template">Committer Accept Template</h2> +<div class="codehilite"><pre><span class="n">This</span> <span class="n">is</span> <span class="n">the</span> <span class="n">followup</span> <span class="n">email</span> <span class="n">after</span> <span class="n">they</span> <span class="n">have</span> <span class="n">accepted</span><span class="o">.</span> + +<span class="o">------------------------------------------------------------------------</span> +<span class="n">To:</span> <span class="n">JoeBloggs</span><span class="nv">@foo</span><span class="o">.</span><span class="n">net</span> +<span class="n">Cc:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span> +</pre></div> ------------------------------------------------------------------------- - To: [email protected] - Cc: private@[PROJECT] -.a.o - Subject: Re: invitation to become [PROJECT] - committer +<p>.a.o + Subject: Re: invitation to become [PROJECT] + committer</p> <div class="codehilite"><pre><span class="n">Welcome</span><span class="o">.</span> <span class="n">Here</span> <span class="n">are</span> <span class="n">the</span> <span class="k">next</span> <span class="n">steps</span><span class="o">.</span> <span class="n">After</span> <span class="n">that</span> <span class="n">we</span> <span class="n">will</span> <span class="n">make</span> <span class="n">an</span> <span class="n">announcement</span> <span class="n">to</span> <span class="n">the</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> </pre></div> @@ -340,13 +348,13 @@ our praise in public.</p> </pre></div> -<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Committer Create Template|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"> - Account creation email for new committers. +<h2 id="committer_create_template">Committer Create Template</h2> +<div class="codehilite"><pre><span class="n">Account</span> <span class="n">creation</span> <span class="n">email</span> <span class="k">for</span> <span class="k">new</span> <span class="n">committers</span><span class="o">.</span> -Follow the instructions at: - http://www.apache.org/dev/pmc.html#newcommitter +<span class="n">Follow</span> <span class="n">the</span> <span class="n">instructions</span> <span class="n">at:</span> +<span class="n">http:</span><span class="sr">//</span><span class="n">www</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="sr">/dev/</span><span class="n">pmc</span><span class="o">.</span><span class="n">html</span><span class="c1">#newcommitter</span> -<div class="codehilite"><pre><span class="n">Email</span> <span class="n">is</span> <span class="n">to</span> <span class="n">be</span> <span class="n">sent</span> <span class="n">to</span> <span class="n">root</span> <span class="o">*</span><span class="n">after</span><span class="o">*</span> <span class="n">the</span> <span class="n">CLA</span> <span class="n">is</span> <span class="n">registered</span><span class="o">.</span> +<span class="n">Email</span> <span class="n">is</span> <span class="n">to</span> <span class="n">be</span> <span class="n">sent</span> <span class="n">to</span> <span class="n">root</span> <span class="o">*</span><span class="n">after</span><span class="o">*</span> <span class="n">the</span> <span class="n">CLA</span> <span class="n">is</span> <span class="n">registered</span><span class="o">.</span> <span class="n">The</span> <span class="n">PMC</span> <span class="n">needs</span> <span class="n">to</span> <span class="n">monitor</span> <span class="n">iclas</span><span class="o">.</span><span class="n">txt</span> <span class="n">to</span> <span class="n">be</span> <span class="n">sure</span> <span class="n">that</span> <span class="n">the</span> <span class="n">CLA</span> <span class="n">is</span> <span class="n">properly</span> <span class="n">received</span> <span class="n">before</span> <span class="n">sending</span> <span class="n">this</span> <span class="n">email</span><span class="o">.</span> <span class="n">See</span> <span class="n">above</span><span class="o">.</span> @@ -379,14 +387,16 @@ Follow the instructions at: <p>.a.o list around YYYY-MM-DD ### Message-Id: ###</p> -<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Committer Announce Template|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"> - This is the email to announce to [PROJECT] --dev after the - followup acceptance. +<h2 id="committer_announce_template">Committer Announce Template</h2> +<div class="codehilite"><pre><span class="n">This</span> <span class="n">is</span> <span class="n">the</span> <span class="n">email</span> <span class="n">to</span> <span class="n">announce</span> <span class="n">to</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> +</pre></div> -Replace the Joe Blogs in the subject, the ### in the body. -<div class="codehilite"><pre><span class="o">------------------------------------------------------------</span> +<p>-dev after the + followup acceptance.</p> +<div class="codehilite"><pre><span class="n">Replace</span> <span class="n">the</span> <span class="n">Joe</span> <span class="n">Blogs</span> <span class="n">in</span> <span class="n">the</span> <span class="n">subject</span><span class="p">,</span> <span class="n">the</span> <span class="c1">### in the body.</span> + +<span class="o">------------------------------------------------------------</span> <span class="n">To:</span> <span class="n">dev</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span> </pre></div> @@ -408,19 +418,23 @@ Replace the Joe Blogs in the subject, th </pre></div> -<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Board Template|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"> - This is the email to end a vote for a new PMC member. - We do this on the [PROJECT] - Private mailing list as that - is where the vote is held.. - ------------------------------------------------------------- - To: private@[PROJECT] -.a.o +<h2 id="board_template">Board Template</h2> +<div class="codehilite"><pre><span class="n">This</span> <span class="n">is</span> <span class="n">the</span> <span class="n">email</span> <span class="n">to</span> <span class="n">end</span> <span class="n">a</span> <span class="n">vote</span> <span class="k">for</span> <span class="n">a</span> <span class="k">new</span> <span class="n">PMC</span> <span class="n">member</span><span class="o">.</span> +<span class="n">We</span> <span class="k">do</span> <span class="n">this</span> <span class="n">on</span> <span class="n">the</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> +</pre></div> + + +<p>Private mailing list as that + is where the vote is held..</p> +<div class="codehilite"><pre><span class="o">------------------------------------------------------------</span> +<span class="n">To:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span> +</pre></div> + + +<p>.a.o Subject: [RESULT] [Vote] - new PMC member: Joe Bloggs - + new PMC member: Joe Bloggs</p> <div class="codehilite"><pre><span class="n">The</span> <span class="n">vote</span> <span class="n">has</span> <span class="n">now</span> <span class="n">closed</span><span class="o">.</span> <span class="n">The</span> <span class="n">results</span> <span class="n">are:</span> <span class="n">Binding</span> <span class="n">Votes:</span> @@ -444,14 +458,16 @@ Replace the Joe Blogs in the subject, th </pre></div> -<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Committer Done Template|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"> - After the committer account is established. +<h2 id="committer_done_template">Committer Done Template</h2> +<div class="codehilite"><pre><span class="n">After</span> <span class="n">the</span> <span class="n">committer</span> <span class="n">account</span> <span class="n">is</span> <span class="n">established</span><span class="o">.</span> + +<span class="o">------------------------------------------------------------</span> +<span class="n">To:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span> +</pre></div> ------------------------------------------------------------- - To: private@[PROJECT] -.a.o, ###[email protected] - Subject: account request: ###Joe Bloggs +<p>.a.o, ###[email protected] + Subject: account request: ###Joe Bloggs</p> <div class="codehilite"><pre><span class="c1">####, as you know, the ASF Infrastructure has set up your</span> <span class="n">committer</span> <span class="n">account</span> <span class="n">as</span> <span class="n">the</span> <span class="n">username</span> <span class="s">&#39;####&#39;</span><span class="o">.</span> From [email protected] Fri Jun 24 22:33:52 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id E65626710 for <[email protected]>; Fri, 24 Jun 2011 22:33:52 +0000 (UTC) Received: (qmail 10101 invoked by uid 500); 24 Jun 2011 22:33:52 -0000 Delivered-To: [email protected] Received: (qmail 9656 invoked by uid 500); 24 Jun 2011 22:33:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 9649 invoked by uid 99); 24 Jun 2011 22:33:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jun 2011 22:33:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jun 2011 22:33:48 +0000 Received: from eris.apache.org (localhost [161.129.204.104]) by eris.apache.org (Postfix) with ESMTP id F30C423889E3 for <[email protected]>; Fri, 24 Jun 2011 22:33:26 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1139454 - /comdev/site/trunk/content/newbiefaq.mdtext Date: Fri, 24 Jun 2011 22:33:26 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: helder Date: Fri Jun 24 22:33:26 2011 New Revision: 1139454 URL: http://svn.apache.org/viewvc?rev=1139454&view=rev Log: General: Fix few typos, markup for links and minor whitespace cleanup. Modified: comdev/site/trunk/content/newbiefaq.mdtext Modified: comdev/site/trunk/content/newbiefaq.mdtext URL: http://svn.apache.org/viewvc/comdev/site/trunk/content/newbiefaq.mdtext?rev=1139454&r1=1139453&r2=1139454&view=diff ============================================================================== --- comdev/site/trunk/content/newbiefaq.mdtext (original) +++ comdev/site/trunk/content/newbiefaq.mdtext Fri Jun 24 22:33:26 2011 @@ -5,8 +5,6 @@ The Apache Software Foundation understan *Index of Questions* - - - [About The Apache Software Foundation](#NewbieFAQ-AboutTheApacheSoftwareFoundation) - [What projects can I find in The Apache Software Foundation?](#NewbieFAQ-WhatprojectscanIfindinTheApacheSoftwareFoundation?) - [How are projects managed in The Apache Software Foundation](#NewbieFAQ-HowareprojectsmanagedinTheApacheSoftwareFoundation) @@ -21,10 +19,11 @@ The Apache Software Foundation understan - [What is the Apache Mentoring Programme](#NewbieFAQ-WhatistheApacheMentoringProgramme) - [How do I Apply to the Mentor Programme?](#NewbieFAQ-HowdoIApplytotheMentorProgramme?) -Note, there are not too many questions and answers here right now, this is +Note, there are not too many questions and answers here right now, as this is a very new project. Please ask any new questions on -mailto:[email protected] (subscribe with -mailto:[email protected] first). +[[email protected]](mailto:[email protected]) (subscribe with +[[email protected]](mailto:[email protected]) first). + <a name="NewbieFAQ-AboutTheApacheSoftwareFoundation"></a> # About The Apache Software Foundation @@ -36,7 +35,7 @@ There are a great many projects in The A four classes of project: * [Top Level Projects](http://www.apache.org): these are projects with healthy communities and active development - * [Incubating Projects](http://incubator.apache.org): these are projects that have still to build a sustianble community, but + * [Incubating Projects](http://incubator.apache.org): these are projects that have still to build a sustainable community, but have active development * [Labs](http://labs.apache.org): these are experiments being carried out by existing committers * [Attic](http://attic.apache.org): these are end-of-life projects that are no longer receiving active @@ -59,7 +58,7 @@ project. We do have a system that we call meritocracy that allows those who have demonstrated commitment and understanding to the community to earn certain privileges, such as being able to make changes directly to documentation -and programme code. However, these privileges simply streamline the +and program code. However, these privileges simply streamline the process, they do not (in most cases) give additional powers over the project. @@ -74,7 +73,7 @@ To learn more about "The Apache Way" see You should consider applying to the [Apache Mentor Programme](mentoringprogramme.html) . We will help you find a mentor within the project of your choice. They -will take you through a semi-formal mentoring programme] that will ensure +will take you through a semi-formal mentoring programme that will ensure you quickly find your feet. There is no cost other than a promise to commit some of your time to the goals you agree with your mentor. @@ -90,8 +89,8 @@ mailto:[email protected] ## How do I get user support for an ASF project? Everyone active in ASF projects is here as a volunteer, nobody is paid to -provide support here. So the first thing to realise is that you need to be -careful not to waste peoples time, so do your homework. Generally, if +provide support here. So the first thing to realize is that you need to be +careful not to waste people's time, so do your homework. Generally, if people can see that you have tried to solve your problem they are more likely to help. So, before asking a question do the following: @@ -106,7 +105,7 @@ subscribe first). Indicate that you have and explain what you have tried, what you expect to happen and what actually happens. -Be patient waiting for a response, give it at least three working days +Be patient waiting for a response: give it at least three working days before you send a second message. People are busy, they will deal with your request when they can. If you need urgent help it is best not to rely on the community support channels and find someone willing to support you for @@ -124,8 +123,9 @@ A second way of contributing is to provi expertise grows. Again, earning merit in this way will help ensure you get the support you need in the future. +If you are visible within the community, the community will likely reach out +for you whenever you need too. -If you are visible within the community <a name="NewbieFAQ-GettingInvolvedwithApacheprojects"></a> # Getting Involved with Apache projects @@ -136,27 +136,27 @@ If you are visible within the community The key to working on projects at Apache (and any open source for that matter) is to have a personal reason for being involved. You might be trying to solve a day job issue, you might be looking to learn a new -technology or you might simply want to do somethiung fun in your free time. +technology or you might simply want to do something fun in your free time. The key is that you must *want* to get involved. It is also important that you have appropriate skills to be able to help the project. -Our [projects](http://projects.apache.org/) +Our [projects page](http://projects.apache.org/) provides a useful index of projects which allows you to view projects alphabetically, by category or by language. When you view a projects detail page in this list you will find details of their mailing lists, issue -tracker and other resoutrces. +tracker and other resources. In the projects issue tracker you will find details of bugs and feature requests the project would like to work with, this should give you some inspiration about how you might be able to help the project community. If -you see an issue you would like to tackle its time to join the projects +you see an issue you would like to tackle, it's time to join the projects mailing list and get started. <a name="NewbieFAQ-HowdoIgetinvolvedwithanApacheproject?"></a> ## How do I get involved with an Apache project? You can certainly improve your programming skills by watching the commit -lists, receiving code reviews and participating in discussion. Howeverm +lists, receiving code reviews and participating in discussion. However this learning opportunity is a healthy side effect of open source activities rather than a goal in itself. Nobody in an Apache project is going to spend time teaching you programming 101, technical writing or @@ -165,7 +165,7 @@ and be willing to research the rest. To learn more about getting involved with an Apache Project see our [getting started guide][1]. You will also find our [get involved](http://apache.org/foundation/getinvolved.html) - page a uaseful starting point. + page a useful starting point. <a name="NewbieFAQ-IsthereaCodeofConductforApacheprojects?"></a> ## Is there a Code of Conduct for Apache projects? @@ -205,7 +205,7 @@ For more information see our [mentoring Take a look at our [mentoring page](mentoringprogramme.html). If you are planning on working on an Apache project as part of your formal education you -should also read [mentoring in formal education|mentorProgrammeFormalEducation]. +should also read [mentoring in formal education](mentorprogrammeformaleducation.html). From the [mentoring page](mentoringprogramme.html) you will see that you need to complete an [application](mentorprogrammeapplication.html). This From [email protected] Fri Jun 24 22:34:01 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 894E467AF for <[email protected]>; Fri, 24 Jun 2011 22:34:01 +0000 (UTC) Received: (qmail 10619 invoked by uid 500); 24 Jun 2011 22:34:01 -0000 Delivered-To: [email protected] Received: (qmail 10598 invoked by uid 500); 24 Jun 2011 22:34:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 10591 invoked by uid 99); 24 Jun 2011 22:34:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jun 2011 22:34:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jun 2011 22:33:58 +0000 Received: from eris.apache.org (localhost [161.129.204.104]) by eris.apache.org (Postfix) with ESMTP id CA5C72388A1C for <[email protected]>; Fri, 24 Jun 2011 22:33:36 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r791533 - /websites/staging/community/trunk/content/newbiefaq.html Date: Fri, 24 Jun 2011 22:33:36 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: buildbot Date: Fri Jun 24 22:33:36 2011 New Revision: 791533 Log: Staging update by buildbot Modified: websites/staging/community/trunk/content/newbiefaq.html Modified: websites/staging/community/trunk/content/newbiefaq.html ============================================================================== --- websites/staging/community/trunk/content/newbiefaq.html (original) +++ websites/staging/community/trunk/content/newbiefaq.html Fri Jun 24 22:33:36 2011 @@ -125,10 +125,10 @@ The Apache Software Foundation understan </ul> </li> </ul> -<p>Note, there are not too many questions and answers here right now, this is +<p>Note, there are not too many questions and answers here right now, as this is a very new project. Please ask any new questions on -mailto:[email protected] (subscribe with -mailto:[email protected] first).</p> +<a href="mailto:[email protected]">[email protected]</a> (subscribe with +<a href="mailto:[email protected]">[email protected]</a> first).</p> <p><a name="NewbieFAQ-AboutTheApacheSoftwareFoundation"></a></p> <h1 id="about_the_apache_software_foundation">About The Apache Software Foundation</h1> <p><a name="NewbieFAQ-WhatprojectscanIfindinTheApacheSoftwareFoundation?"></a></p> @@ -137,7 +137,7 @@ mailto:[email protected] four classes of project:</p> <ul> <li><a href="http://www.apache.org">Top Level Projects</a>: these are projects with healthy communities and active development</li> -<li><a href="http://incubator.apache.org">Incubating Projects</a>: these are projects that have still to build a sustianble community, but +<li><a href="http://incubator.apache.org">Incubating Projects</a>: these are projects that have still to build a sustainable community, but have active development</li> <li><a href="http://labs.apache.org">Labs</a>: these are experiments being carried out by existing committers</li> <li><a href="http://attic.apache.org">Attic</a>: these are end-of-life projects that are no longer receiving active @@ -158,7 +158,7 @@ project.</p> <p>We do have a system that we call meritocracy that allows those who have demonstrated commitment and understanding to the community to earn certain privileges, such as being able to make changes directly to documentation -and programme code. However, these privileges simply streamline the +and program code. However, these privileges simply streamline the process, they do not (in most cases) give additional powers over the project.</p> <p>In summary, Apache Projects work because people like you participate @@ -169,7 +169,7 @@ constructively within them. </p> <h2 id="how_do_i_learn_about_the_way_apache_projects_work">How do I learn about the way Apache Projects Work?</h2> <p>You should consider applying to the <a href="mentoringprogramme.html">Apache Mentor Programme</a> . We will help you find a mentor within the project of your choice. They -will take you through a semi-formal mentoring programme] that will ensure +will take you through a semi-formal mentoring programme that will ensure you quickly find your feet. There is no cost other than a promise to commit some of your time to the goals you agree with your mentor.</p> <p><a name="NewbieFAQ-HowdoIaskaquestionabouttheASFingeneral?"></a></p> @@ -181,8 +181,8 @@ mailto:[email protected] <p><a name="NewbieFAQ-HowdoIgetusersupportforanASFproject?"></a></p> <h2 id="how_do_i_get_user_support_for_an_asf_project">How do I get user support for an ASF project?</h2> <p>Everyone active in ASF projects is here as a volunteer, nobody is paid to -provide support here. So the first thing to realise is that you need to be -careful not to waste peoples time, so do your homework. Generally, if +provide support here. So the first thing to realize is that you need to be +careful not to waste people's time, so do your homework. Generally, if people can see that you have tried to solve your problem they are more likely to help. So, before asking a question do the following:</p> <ul> @@ -196,7 +196,7 @@ support to the appropriate user mailing subscribe first). Indicate that you have read the appropriate documentation and explain what you have tried, what you expect to happen and what actually happens.</p> -<p>Be patient waiting for a response, give it at least three working days +<p>Be patient waiting for a response: give it at least three working days before you send a second message. People are busy, they will deal with your request when they can. If you need urgent help it is best not to rely on the community support channels and find someone willing to support you for @@ -211,7 +211,8 @@ the future.</p> <p>A second way of contributing is to provide user support to others as your expertise grows. Again, earning merit in this way will help ensure you get the support you need in the future.</p> -<p>If you are visible within the community</p> +<p>If you are visible within the community, the community will likely reach out +for you whenever you need too.</p> <p><a name="NewbieFAQ-GettingInvolvedwithApacheprojects"></a></p> <h1 id="getting_involved_with_apache_projects">Getting Involved with Apache projects</h1> <p><a name="NewbieFAQ-HowdoIchooseanApacheprojecttoworkon?"></a></p> @@ -219,23 +220,23 @@ the support you need in the future.</p> <p>The key to working on projects at Apache (and any open source for that matter) is to have a personal reason for being involved. You might be trying to solve a day job issue, you might be looking to learn a new -technology or you might simply want to do somethiung fun in your free time. +technology or you might simply want to do something fun in your free time. The key is that you must <em>want</em> to get involved. It is also important that you have appropriate skills to be able to help the project.</p> -<p>Our <a href="http://projects.apache.org/">projects</a> +<p>Our <a href="http://projects.apache.org/">projects page</a> provides a useful index of projects which allows you to view projects alphabetically, by category or by language. When you view a projects detail page in this list you will find details of their mailing lists, issue -tracker and other resoutrces.</p> +tracker and other resources.</p> <p>In the projects issue tracker you will find details of bugs and feature requests the project would like to work with, this should give you some inspiration about how you might be able to help the project community. If -you see an issue you would like to tackle its time to join the projects +you see an issue you would like to tackle, it's time to join the projects mailing list and get started.</p> <p><a name="NewbieFAQ-HowdoIgetinvolvedwithanApacheproject?"></a></p> <h2 id="how_do_i_get_involved_with_an_apache_project">How do I get involved with an Apache project?</h2> <p>You can certainly improve your programming skills by watching the commit -lists, receiving code reviews and participating in discussion. Howeverm +lists, receiving code reviews and participating in discussion. However this learning opportunity is a healthy side effect of open source activities rather than a goal in itself. Nobody in an Apache project is going to spend time teaching you programming 101, technical writing or @@ -243,7 +244,7 @@ testing (to pick just a few skills we ne and be willing to research the rest.</p> <p>To learn more about getting involved with an Apache Project see our <a href="/gettingStarted/101.html">getting started guide</a>. You will also find our <a href="http://apache.org/foundation/getinvolved.html">get involved</a> - page a uaseful starting point.</p> + page a useful starting point.</p> <p><a name="NewbieFAQ-IsthereaCodeofConductforApacheprojects?"></a></p> <h2 id="is_there_a_code_of_conduct_for_apache_projects">Is there a Code of Conduct for Apache projects?</h2> <p>Here at Apache projects are free to define their own code of conduct. @@ -275,7 +276,7 @@ initial contribution to an ASF project.< <h3 id="how_do_i_apply_to_the_mentor_programme">How do I Apply to the Mentor Programme?</h3> <p>Take a look at our <a href="mentoringprogramme.html">mentoring page</a>. If you are planning on working on an Apache project as part of your formal education you -should also read [mentoring in formal education|mentorProgrammeFormalEducation].</p> +should also read <a href="mentorprogrammeformaleducation.html">mentoring in formal education</a>.</p> <p>From the <a href="mentoringprogramme.html">mentoring page</a> you will see that you need to complete an <a href="mentorprogrammeapplication.html">application</a>. This gives us enough background information to enable us to approach your From [email protected] Fri Jun 24 22:37:55 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id E62FD6A42 for <[email protected]>; Fri, 24 Jun 2011 22:37:55 +0000 (UTC) Received: (qmail 11911 invoked by uid 500); 24 Jun 2011 22:37:55 -0000 Delivered-To: [email protected] Received: (qmail 11891 invoked by uid 500); 24 Jun 2011 22:37:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 11884 invoked by uid 99); 24 Jun 2011 22:37:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jun 2011 22:37:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jun 2011 22:37:54 +0000 Received: from eris.apache.org (localhost [161.129.204.104]) by eris.apache.org (Postfix) with ESMTP id 11AE32388900 for <[email protected]>; Fri, 24 Jun 2011 22:37:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r791534 - in /websites/production/community: ./ content/newbiefaq.html Date: Fri, 24 Jun 2011 22:37:34 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: rgardler Date: Fri Jun 24 22:37:33 2011 New Revision: 791534 Log: Publishing merge to community site by rgardler Modified: websites/production/community/ (props changed) websites/production/community/content/newbiefaq.html Propchange: websites/production/community/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Fri Jun 24 22:37:33 2011 @@ -1,2 +1,2 @@ /websites/staging/comdev/trunk:779592-779702 -/websites/staging/community/trunk:779703-791018 +/websites/staging/community/trunk:779703-791533 Modified: websites/production/community/content/newbiefaq.html ============================================================================== --- websites/production/community/content/newbiefaq.html (original) +++ websites/production/community/content/newbiefaq.html Fri Jun 24 22:37:33 2011 @@ -125,10 +125,10 @@ The Apache Software Foundation understan </ul> </li> </ul> -<p>Note, there are not too many questions and answers here right now, this is +<p>Note, there are not too many questions and answers here right now, as this is a very new project. Please ask any new questions on -mailto:[email protected] (subscribe with -mailto:[email protected] first).</p> +<a href="mailto:[email protected]">[email protected]</a> (subscribe with +<a href="mailto:[email protected]">[email protected]</a> first).</p> <p><a name="NewbieFAQ-AboutTheApacheSoftwareFoundation"></a></p> <h1 id="about_the_apache_software_foundation">About The Apache Software Foundation</h1> <p><a name="NewbieFAQ-WhatprojectscanIfindinTheApacheSoftwareFoundation?"></a></p> @@ -137,7 +137,7 @@ mailto:[email protected] four classes of project:</p> <ul> <li><a href="http://www.apache.org">Top Level Projects</a>: these are projects with healthy communities and active development</li> -<li><a href="http://incubator.apache.org">Incubating Projects</a>: these are projects that have still to build a sustianble community, but +<li><a href="http://incubator.apache.org">Incubating Projects</a>: these are projects that have still to build a sustainable community, but have active development</li> <li><a href="http://labs.apache.org">Labs</a>: these are experiments being carried out by existing committers</li> <li><a href="http://attic.apache.org">Attic</a>: these are end-of-life projects that are no longer receiving active @@ -158,7 +158,7 @@ project.</p> <p>We do have a system that we call meritocracy that allows those who have demonstrated commitment and understanding to the community to earn certain privileges, such as being able to make changes directly to documentation -and programme code. However, these privileges simply streamline the +and program code. However, these privileges simply streamline the process, they do not (in most cases) give additional powers over the project.</p> <p>In summary, Apache Projects work because people like you participate @@ -169,7 +169,7 @@ constructively within them. </p> <h2 id="how_do_i_learn_about_the_way_apache_projects_work">How do I learn about the way Apache Projects Work?</h2> <p>You should consider applying to the <a href="mentoringprogramme.html">Apache Mentor Programme</a> . We will help you find a mentor within the project of your choice. They -will take you through a semi-formal mentoring programme] that will ensure +will take you through a semi-formal mentoring programme that will ensure you quickly find your feet. There is no cost other than a promise to commit some of your time to the goals you agree with your mentor.</p> <p><a name="NewbieFAQ-HowdoIaskaquestionabouttheASFingeneral?"></a></p> @@ -181,8 +181,8 @@ mailto:[email protected] <p><a name="NewbieFAQ-HowdoIgetusersupportforanASFproject?"></a></p> <h2 id="how_do_i_get_user_support_for_an_asf_project">How do I get user support for an ASF project?</h2> <p>Everyone active in ASF projects is here as a volunteer, nobody is paid to -provide support here. So the first thing to realise is that you need to be -careful not to waste peoples time, so do your homework. Generally, if +provide support here. So the first thing to realize is that you need to be +careful not to waste people's time, so do your homework. Generally, if people can see that you have tried to solve your problem they are more likely to help. So, before asking a question do the following:</p> <ul> @@ -196,7 +196,7 @@ support to the appropriate user mailing subscribe first). Indicate that you have read the appropriate documentation and explain what you have tried, what you expect to happen and what actually happens.</p> -<p>Be patient waiting for a response, give it at least three working days +<p>Be patient waiting for a response: give it at least three working days before you send a second message. People are busy, they will deal with your request when they can. If you need urgent help it is best not to rely on the community support channels and find someone willing to support you for @@ -211,7 +211,8 @@ the future.</p> <p>A second way of contributing is to provide user support to others as your expertise grows. Again, earning merit in this way will help ensure you get the support you need in the future.</p> -<p>If you are visible within the community</p> +<p>If you are visible within the community, the community will likely reach out +for you whenever you need too.</p> <p><a name="NewbieFAQ-GettingInvolvedwithApacheprojects"></a></p> <h1 id="getting_involved_with_apache_projects">Getting Involved with Apache projects</h1> <p><a name="NewbieFAQ-HowdoIchooseanApacheprojecttoworkon?"></a></p> @@ -219,23 +220,23 @@ the support you need in the future.</p> <p>The key to working on projects at Apache (and any open source for that matter) is to have a personal reason for being involved. You might be trying to solve a day job issue, you might be looking to learn a new -technology or you might simply want to do somethiung fun in your free time. +technology or you might simply want to do something fun in your free time. The key is that you must <em>want</em> to get involved. It is also important that you have appropriate skills to be able to help the project.</p> -<p>Our <a href="http://projects.apache.org/">projects</a> +<p>Our <a href="http://projects.apache.org/">projects page</a> provides a useful index of projects which allows you to view projects alphabetically, by category or by language. When you view a projects detail page in this list you will find details of their mailing lists, issue -tracker and other resoutrces.</p> +tracker and other resources.</p> <p>In the projects issue tracker you will find details of bugs and feature requests the project would like to work with, this should give you some inspiration about how you might be able to help the project community. If -you see an issue you would like to tackle its time to join the projects +you see an issue you would like to tackle, it's time to join the projects mailing list and get started.</p> <p><a name="NewbieFAQ-HowdoIgetinvolvedwithanApacheproject?"></a></p> <h2 id="how_do_i_get_involved_with_an_apache_project">How do I get involved with an Apache project?</h2> <p>You can certainly improve your programming skills by watching the commit -lists, receiving code reviews and participating in discussion. Howeverm +lists, receiving code reviews and participating in discussion. However this learning opportunity is a healthy side effect of open source activities rather than a goal in itself. Nobody in an Apache project is going to spend time teaching you programming 101, technical writing or @@ -243,7 +244,7 @@ testing (to pick just a few skills we ne and be willing to research the rest.</p> <p>To learn more about getting involved with an Apache Project see our <a href="/gettingStarted/101.html">getting started guide</a>. You will also find our <a href="http://apache.org/foundation/getinvolved.html">get involved</a> - page a uaseful starting point.</p> + page a useful starting point.</p> <p><a name="NewbieFAQ-IsthereaCodeofConductforApacheprojects?"></a></p> <h2 id="is_there_a_code_of_conduct_for_apache_projects">Is there a Code of Conduct for Apache projects?</h2> <p>Here at Apache projects are free to define their own code of conduct. @@ -275,7 +276,7 @@ initial contribution to an ASF project.< <h3 id="how_do_i_apply_to_the_mentor_programme">How do I Apply to the Mentor Programme?</h3> <p>Take a look at our <a href="mentoringprogramme.html">mentoring page</a>. If you are planning on working on an Apache project as part of your formal education you -should also read [mentoring in formal education|mentorProgrammeFormalEducation].</p> +should also read <a href="mentorprogrammeformaleducation.html">mentoring in formal education</a>.</p> <p>From the <a href="mentoringprogramme.html">mentoring page</a> you will see that you need to complete an <a href="mentorprogrammeapplication.html">application</a>. This gives us enough background information to enable us to approach your From [email protected] Mon Jun 27 21:54:01 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 4A49A40A7 for <[email protected]>; Mon, 27 Jun 2011 21:54:01 +0000 (UTC) Received: (qmail 76943 invoked by uid 500); 27 Jun 2011 21:54:01 -0000 Delivered-To: [email protected] Received: (qmail 76919 invoked by uid 500); 27 Jun 2011 21:54:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 76912 invoked by uid 99); 27 Jun 2011 21:54:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2011 21:54:00 +0000 X-ASF-Spam-Status: No, hits=-1996.4 required=5.0 tests=ALL_TRUSTED,TVD_PH_BODY_ACCOUNTS_PRE,TVD_PH_REC X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2011 21:53:57 +0000 Received: from eris.apache.org (localhost [161.129.204.104]) by eris.apache.org (Postfix) with ESMTP id 5B57E2388906 for <[email protected]>; Mon, 27 Jun 2011 21:53:35 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1140341 - /comdev/site/trunk/content/newcommitter.mdtext Date: Mon, 27 Jun 2011 21:53:35 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rgardler Date: Mon Jun 27 21:53:34 2011 New Revision: 1140341 URL: http://svn.apache.org/viewvc?rev=1140341&view=rev Log: Some layout and language clarifications Modified: comdev/site/trunk/content/newcommitter.mdtext Modified: comdev/site/trunk/content/newcommitter.mdtext URL: http://svn.apache.org/viewvc/comdev/site/trunk/content/newcommitter.mdtext?rev=1140341&r1=1140340&r2=1140341&view=diff ============================================================================== --- comdev/site/trunk/content/newcommitter.mdtext (original) +++ comdev/site/trunk/content/newcommitter.mdtext Mon Jun 27 21:53:34 2011 @@ -124,87 +124,116 @@ Other notes about the process are availa # Email Templates ## Committer Vote Template - This is the email to commence a vote for a new PMC member. - We do this on the [PROJECT] - Private mailing list, so as to enable - a frank discussion. +This is the email to commence a vote for a new committer member. +Some projects make committers PMC members automatically, if this is the case then +merge this with the following template (PMC Vote Template) + + ------------------------------------------------------------ + To: private@[PROJECT].apache.org + Subject: [Vote] new committer: Joe Bloggs + + [ add the reasons behind your nomination here ] + + Voting ends one week from today, i.e. midnight UTC on YYYY-MM-DD + http://www.timeanddate.com/counters/customcounter.html?year=YYYY&month=MM&day=DD + + See voting guidelines at + https://svn.apache.org/repos/private/pmc/forrest/pmc-member-vote.txt + (yes, this links to the Apache Forrest Guidelines, we don't have our own yet) ------------------------------------------------------------ - To: private@[PROJECT] -.a.o - Subject: [Vote] - new PMC member: Joe Bloggs + +## PMC Vote Template +This is the email to commence a vote for a new PMC candidate. New PMC members need +to be voted for by the existing PMC members and subsequently approved by the Board +(or Incubator PMC for Incubating projects). + + ------------------------------------------------------------ + To: private@[PROJECT].apache.org + Subject: [Vote] new PMC candidate: Joe Bloggs - [ add the reasons behind your nomination here ] + [ add the reasons behind your nomination here ] Voting ends one week from today, i.e. midnight UTC on YYYY-MM-DD http://www.timeanddate.com/counters/customcounter.html?year=YYYY&month=MM&day=DD See voting guidelines at https://svn.apache.org/repos/private/pmc/forrest/pmc-member-vote.txt - (yes, this links to the Apache Forrest Guidelines, we don't have our own -yet) + (yes, this links to the Apache Forrest Guidelines, we don't have our own yet) + +## Close Vote + This is the email ends the vote and reports the result to the project. ------------------------------------------------------------ + To: private@[PROJECT].a.o + Subject: [RESULT] [Vote] new PMC candidate: Joe Bloggs + + The vote has now closed. The results are: + + Binding Votes: + + +1 [TOTAL BINDING +1 VOTES] + 0 [TOTAL BINDING +0/-0 VOTES] + -1 [TOTAL BINDING -1 VOTES] + + The vote is ***successful/not successful*** + +#Board Approval of new PMC member + +Assuming that a vote for a new PMC member passes it is now necessary to get +approval from the Board. Send the mail below to the board. This will be acknowledged +by a bard member. 72 hours after the acknowledgement the PMC can proceed. +See http://www.apache.org/dev/pmc.html#newpmc for more details + + ------------------------------------------------------------ + To: [email protected] + Cc: private@[PROJECT].apache.org + Subject: Approve new PMC member for [PROJECT]: Joe Blogs + + The [PROJECT] PMC has voted to invite Joe Blogs ([Apache ID]) to the PMC. + Please approve/acknowledge this PMC addition + ## Committer Invite Template - This is the invitation email, sent after a positive result - from the vote for a new committer. +This is the invitation email, sent after a positive result from the vote for a +new committer. ------------------------------------------------------------ To: [email protected] - Cc: private@[PROJECT] -.a.o - Subject: invitation to become [PROJECT] - committer: Joe Bloggs ##### - - Hello #####, the Apache [PROJECT] - Project Management Committee - would like to invite you to become a [PROJECT] - committer and member - of the PMC. We value your contributions and are aware that - you are committed to the project. + Cc: private@[PROJECT].apache.org + Subject: invitation to become [PROJECT] committer: Joe Bloggs + + Hello Joe, the Apache [PROJECT] Project Management Committee would like + to invite you to become a [PROJECT] committer. We value your contributions + and are aware that you are committed to the project. Being a committer enables you to more easily make changes and so not need to go via the patch submission process. This should - enable you to be more productive. Being also a PMC member enables - you to guide the direction of the project. - - While this does not mean that you need to participate any more - than you already do, it does tend to make one even more committed. - Hence you will probably find that you spend more time here. + enable you to be more productive. Of course, you can decline and instead remain as a developer, contributing as you do now. This personal email is also providing a chance for you to decline in private. Either way, please let us know in reply only to the - private@[PROJECT] -.a.o list. If you agree, then we will announce - on the dev@[PROJECT] -.a.o list after the account is established. + private@[PROJECT].apache.org list. If you agree, then we will announce + on the dev@[PROJECT].apache.org list after the account is established. Yours, - The Apache [PROJECT] - PMC + The Apache [PROJECT] PMC - ------------------------------------------------------------------------ - - + ## Committer Accept Template - This is the followup email after they have accepted. +This is the followup email after the new committer has accepted the invitation ------------------------------------------------------------------------ To: [email protected] - Cc: private@[PROJECT] -.a.o - Subject: Re: invitation to become [PROJECT] - committer + Cc: private@[PROJECT].apache.org + Subject: Re: invitation to become [PROJECT] committer Welcome. Here are the next steps. After that we will make - an announcement to the [PROJECT] --dev list. + an announcement to the [PROJECT]-dev list. You need to send a Contributor License Agreement to the ASF. Normally you would send an Individual CLA. If you also make @@ -214,7 +243,7 @@ yet) You need to choose a preferred ASF user name and alternatives. In order to ensure it is available you can view a list of taken ids at - http://www.apache.org/~jim/committers.html + http://people.apache.org/committer-index.html Please notify us when you have submitted the CLA and by what means you did so. This will enable us to monitor its progress. @@ -222,53 +251,44 @@ yet) We will arrange for your Apache user account when the CLA has been recorded. - After that is done, please make followup replies to the [PROJECT] --dev list. - We generally discuss everything there and keep this private@[PROJECT] -.a.o list - for occasional matters which must be private. - - The developer section of the website describes the roles - and provides other resources: - http://www.apache.org/foundation/how-it-works.html - http://www.apache.org/dev/ + After that is done, please make followup replies to the [PROJECT]-dev list. + We generally discuss everything there and keep the + private@[PROJECT].apache.org list for occasional matters which must be private. + + The developer section of the website describes the roles and provides other + resources: + http://www.apache.org/foundation/how-it-works.html + http://www.apache.org/dev/ The incubator also has some useful information for new committers in incubating projects: - http://incubator.apache.org/guides/committer.html - http://incubator.apache.org/guides/ppmc.html + http://incubator.apache.org/guides/committer.html + http://incubator.apache.org/guides/ppmc.html In the absence of our own guidelines document we are currently using those developed at Apache Forrest: http://forrest.apache.org/guidelines.html Yours, - The Apache [PROJECT] - PMC - - ------------------------------------------------------------------------ + The Apache [PROJECT] PMC - -## Committer Create Template - Account creation email for new committers. - - Follow the instructions at: +## Committer Create Template +Follow the instructions at: http://www.apache.org/dev/pmc.html#newcommitter - Email is to be sent to root *after* the CLA is registered. - The PMC needs to monitor iclas.txt to be sure that the CLA - is properly received before sending this email. See above. +This email is to be sent to root *after* the CLA is registered. +The PMC needs to monitor iclas.txt to be sure that the CLA +is properly received before sending this email. See above. - Don't forget to add their name/email in the email headers - and add the date/Message-Id of the PMC vote summary. +Don't forget to add their name/email in the email headers +and add the date/Message-Id of the PMC vote summary. - If the new member is already a committer, then just need - to ask root to add them to the UNIX groups. +If the new member is already a committer, then just need +to ask root to add them to the UNIX groups. ------------------------ snip ------------------------------ To: [email protected] - Cc: private@[PROJECT] -.a.o, ###[email protected] + Cc: private@[PROJECT].apache.org, ###[email protected] Subject: account request: ###Joe Bloggs Full name: ... @@ -279,29 +299,20 @@ yet) The receipt of the ICLA was recorded yesterday. - The vote was conducted on the private@[PROJECT] -.a.o list + The vote was conducted on the private@[PROJECT].apache.org list around YYYY-MM-DD ### Message-Id: ### - - ## Committer Announce Template - This is the email to announce to [PROJECT] --dev after the - followup acceptance. - - Replace the Joe Blogs in the subject, the ### in the body. +This is the email to announce to [PROJECT]-dev once the account has been created. ------------------------------------------------------------ - To: dev@[PROJECT] -.a.o - Subject: new committer and PMC member: ###Joe Bloggs + To: dev@[PROJECT].apache.org + Subject: new committer: ###Joe Bloggs The Project Management Committee (PMC) for Apache [PROJECT] - has asked #### ####### to become a committer and - member of the PMC, and we are pleased to announce that - they have accepted. + has asked Joe Bloggs to become a committer and we are pleased + to announce that they have accepted. ### add specific details here ### @@ -311,41 +322,6 @@ yet) Being a PMC member enables assistance with the management and to guide the direction of the project. - -## Board Template - This is the email to end a vote for a new PMC member. - We do this on the [PROJECT] - Private mailing list as that - is where the vote is held.. - - ------------------------------------------------------------ - To: private@[PROJECT] -.a.o - Subject: [RESULT] - [Vote] - new PMC member: Joe Bloggs - - The vote has now closed. The results are: - - Binding Votes: - - +1 [TOTAL BINDING +1 VOTES] - 0 [TOTAL BINDING +0/-0 VOTES] - -1 [TOTAL BINDING -1 VOTES] - - - [If three binding +1 and no binding -1] - - The vote passes, we now need lazy consensus approval from the IPMC. This -email - calls for that consensus. - - Consensus period ends 72 hours from now, i.e. XYZ UTC on YYYY-MM-DD - http://www.timeanddate.com/counters/customcounter.html?year=YYYY&month=MM&day=DD&hour=0&min=0&sec=0&p0=0 - - ------------------------------------------------------------ - - ## Committer Done Template After the committer account is established. From [email protected] Mon Jun 27 21:54:07 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 8497740A9 for <[email protected]>; Mon, 27 Jun 2011 21:54:07 +0000 (UTC) Received: (qmail 76996 invoked by uid 500); 27 Jun 2011 21:54:07 -0000 Delivered-To: [email protected] Received: (qmail 76975 invoked by uid 500); 27 Jun 2011 21:54:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 76968 invoked by uid 99); 27 Jun 2011 21:54:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2011 21:54:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2011 21:54:04 +0000 Received: from eris.apache.org (localhost [161.129.204.104]) by eris.apache.org (Postfix) with ESMTP id E66E8238896F for <[email protected]>; Mon, 27 Jun 2011 21:53:44 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r791687 - /websites/staging/community/trunk/content/newcommitter.html Date: Mon, 27 Jun 2011 21:53:44 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: buildbot Date: Mon Jun 27 21:53:44 2011 New Revision: 791687 Log: Staging update by buildbot Modified: websites/staging/community/trunk/content/newcommitter.html Modified: websites/staging/community/trunk/content/newcommitter.html ============================================================================== --- websites/staging/community/trunk/content/newcommitter.html (original) +++ websites/staging/community/trunk/content/newcommitter.html Mon Jun 27 21:53:44 2011 @@ -198,109 +198,119 @@ our praise in public.</p> <p><a name="NewCommitter-EmailTemplates"></a></p> <h1 id="email_templates">Email Templates</h1> <h2 id="committer_vote_template">Committer Vote Template</h2> -<div class="codehilite"><pre><span class="n">This</span> <span class="n">is</span> <span class="n">the</span> <span class="n">email</span> <span class="n">to</span> <span class="n">commence</span> <span class="n">a</span> <span class="n">vote</span> <span class="k">for</span> <span class="n">a</span> <span class="k">new</span> <span class="n">PMC</span> <span class="n">member</span><span class="o">.</span> -<span class="n">We</span> <span class="k">do</span> <span class="n">this</span> <span class="n">on</span> <span class="n">the</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> -</pre></div> - - -<p>Private mailing list, so as to enable - a frank discussion.</p> +<p>This is the email to commence a vote for a new committer member. +Some projects make committers PMC members automatically, if this is the case then +merge this with the following template (PMC Vote Template)</p> <div class="codehilite"><pre><span class="o">------------------------------------------------------------</span> -<span class="n">To:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span> -</pre></div> - +<span class="n">To:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span> +<span class="n">Subject:</span> <span class="p">[</span><span class="n">Vote</span><span class="p">]</span> <span class="k">new</span> <span class="n">committer:</span> <span class="n">Joe</span> <span class="n">Bloggs</span> -<p>.a.o - Subject: [Vote] - new PMC member: Joe Bloggs</p> -<div class="codehilite"><pre> <span class="p">[</span> <span class="n">add</span> <span class="n">the</span> <span class="n">reasons</span> <span class="n">behind</span> <span class="n">your</span> <span class="n">nomination</span> <span class="n">here</span> <span class="p">]</span> +<span class="p">[</span> <span class="n">add</span> <span class="n">the</span> <span class="n">reasons</span> <span class="n">behind</span> <span class="n">your</span> <span class="n">nomination</span> <span class="n">here</span> <span class="p">]</span> <span class="n">Voting</span> <span class="n">ends</span> <span class="n">one</span> <span class="n">week</span> <span class="n">from</span> <span class="n">today</span><span class="p">,</span> <span class="n">i</span><span class="o">.</span><span class="n">e</span><span class="o">.</span> <span class="n">midnight</span> <span class="n">UTC</span> <span class="n">on</span> <span class="n">YYYY</span><span class="o">-</span><span class="n">MM</span><span class="o">-</span><span class="n">DD</span> <span class="n">http:</span><span class="sr">//</span><span class="n">www</span><span class="o">.</span><span class="n">timeanddate</span><span class="o">.</span><span class="n">com</span><span class="sr">/counters/c</span><span class="n">ustomcounter</span><span class="o">.</span><span class="n">html</span><span class="p">?</span><span class="n">year</span><span class="o">=</span><span class="n">YYYY</span><span class="o">&amp;</span><span class="n">month</span><span class="o">=</span><span class="n">MM</span><span class="o">&amp;</span><span class="n">day</span><span class="o">=</span><span class="n">DD</span> <span class="n">See</span> <span class="n">voting</span> <span class="n">guidelines</span> <span class="n">at</span> <span class="n">https:</span><span class="sr">//s</span><span class="n">vn</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="sr">/repos/</span><span class="n">private</span><span class="sr">/pmc/</span><span class="n">forrest</span><span class="o">/</span><span class="n">pmc</span><span class="o">-</span><span class="n">member</span><span class="o">-</span><span class="n">vote</span><span class="o">.</span><span class="n">txt</span> -<span class="p">(</span><span class="n">yes</span><span class="p">,</span> <span class="n">this</span> <span class="n">links</span> <span class="n">to</span> <span class="n">the</span> <span class="n">Apache</span> <span class="n">Forrest</span> <span class="n">Guidelines</span><span class="p">,</span> <span class="n">we</span> <span class="n">don</span><span class="err">&#39;</span><span class="n">t</span> <span class="n">have</span> <span class="k">our</span> <span class="n">own</span> +<span class="p">(</span><span class="n">yes</span><span class="p">,</span> <span class="n">this</span> <span class="n">links</span> <span class="n">to</span> <span class="n">the</span> <span class="n">Apache</span> <span class="n">Forrest</span> <span class="n">Guidelines</span><span class="p">,</span> <span class="n">we</span> <span class="n">don</span><span class="err">&#39;</span><span class="n">t</span> <span class="n">have</span> <span class="k">our</span> <span class="n">own</span> <span class="n">yet</span><span class="p">)</span> + +<span class="o">------------------------------------------------------------</span> </pre></div> -<p>yet)</p> +<h2 id="pmc_vote_template">PMC Vote Template</h2> +<p>This is the email to commence a vote for a new PMC candidate. New PMC members need +to be voted for by the existing PMC members and subsequently approved by the Board +(or Incubator PMC for Incubating projects).</p> <div class="codehilite"><pre><span class="o">------------------------------------------------------------</span> +<span class="n">To:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span> +<span class="n">Subject:</span> <span class="p">[</span><span class="n">Vote</span><span class="p">]</span> <span class="k">new</span> <span class="n">PMC</span> <span class="n">candidate:</span> <span class="n">Joe</span> <span class="n">Bloggs</span> + +<span class="p">[</span> <span class="n">add</span> <span class="n">the</span> <span class="n">reasons</span> <span class="n">behind</span> <span class="n">your</span> <span class="n">nomination</span> <span class="n">here</span> <span class="p">]</span> + +<span class="n">Voting</span> <span class="n">ends</span> <span class="n">one</span> <span class="n">week</span> <span class="n">from</span> <span class="n">today</span><span class="p">,</span> <span class="n">i</span><span class="o">.</span><span class="n">e</span><span class="o">.</span> <span class="n">midnight</span> <span class="n">UTC</span> <span class="n">on</span> <span class="n">YYYY</span><span class="o">-</span><span class="n">MM</span><span class="o">-</span><span class="n">DD</span> +<span class="n">http:</span><span class="sr">//</span><span class="n">www</span><span class="o">.</span><span class="n">timeanddate</span><span class="o">.</span><span class="n">com</span><span class="sr">/counters/c</span><span class="n">ustomcounter</span><span class="o">.</span><span class="n">html</span><span class="p">?</span><span class="n">year</span><span class="o">=</span><span class="n">YYYY</span><span class="o">&amp;</span><span class="n">month</span><span class="o">=</span><span class="n">MM</span><span class="o">&amp;</span><span class="n">day</span><span class="o">=</span><span class="n">DD</span> + +<span class="n">See</span> <span class="n">voting</span> <span class="n">guidelines</span> <span class="n">at</span> +<span class="n">https:</span><span class="sr">//s</span><span class="n">vn</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="sr">/repos/</span><span class="n">private</span><span class="sr">/pmc/</span><span class="n">forrest</span><span class="o">/</span><span class="n">pmc</span><span class="o">-</span><span class="n">member</span><span class="o">-</span><span class="n">vote</span><span class="o">.</span><span class="n">txt</span> +<span class="p">(</span><span class="n">yes</span><span class="p">,</span> <span class="n">this</span> <span class="n">links</span> <span class="n">to</span> <span class="n">the</span> <span class="n">Apache</span> <span class="n">Forrest</span> <span class="n">Guidelines</span><span class="p">,</span> <span class="n">we</span> <span class="n">don</span><span class="err">&#39;</span><span class="n">t</span> <span class="n">have</span> <span class="k">our</span> <span class="n">own</span> <span class="n">yet</span><span class="p">)</span> </pre></div> -<h2 id="committer_invite_template">Committer Invite Template</h2> -<div class="codehilite"><pre><span class="n">This</span> <span class="n">is</span> <span class="n">the</span> <span class="n">invitation</span> <span class="n">email</span><span class="p">,</span> <span class="n">sent</span> <span class="n">after</span> <span class="n">a</span> <span class="n">positive</span> <span class="n">result</span> -<span class="n">from</span> <span class="n">the</span> <span class="n">vote</span> <span class="k">for</span> <span class="n">a</span> <span class="k">new</span> <span class="n">committer</span><span class="o">.</span> +<h2 id="close_vote">Close Vote</h2> +<div class="codehilite"><pre><span class="n">This</span> <span class="n">is</span> <span class="n">the</span> <span class="n">email</span> <span class="n">ends</span> <span class="n">the</span> <span class="n">vote</span> <span class="ow">and</span> <span class="n">reports</span> <span class="n">the</span> <span class="n">result</span> <span class="n">to</span> <span class="n">the</span> <span class="n">project</span><span class="o">.</span> <span class="o">------------------------------------------------------------</span> -<span class="n">To:</span> <span class="n">JoeBloggs</span><span class="nv">@foo</span><span class="o">.</span><span class="n">net</span> -<span class="n">Cc:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span> +<span class="n">To:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span><span class="o">.</span><span class="n">a</span><span class="o">.</span><span class="n">o</span> +<span class="n">Subject:</span> <span class="p">[</span><span class="n">RESULT</span><span class="p">]</span> <span class="p">[</span><span class="n">Vote</span><span class="p">]</span> <span class="k">new</span> <span class="n">PMC</span> <span class="n">candidate:</span> <span class="n">Joe</span> <span class="n">Bloggs</span> + +<span class="n">The</span> <span class="n">vote</span> <span class="n">has</span> <span class="n">now</span> <span class="n">closed</span><span class="o">.</span> <span class="n">The</span> <span class="n">results</span> <span class="n">are:</span> + +<span class="n">Binding</span> <span class="n">Votes:</span> + +<span class="o">+</span><span class="mi">1</span> <span class="p">[</span><span class="n">TOTAL</span> <span class="n">BINDING</span> <span class="o">+</span><span class="mi">1</span> <span class="n">VOTES</span><span class="p">]</span> + <span class="mi">0</span> <span class="p">[</span><span class="n">TOTAL</span> <span class="n">BINDING</span> <span class="o">+</span><span class="mi">0</span><span class="o">/-</span><span class="mi">0</span> <span class="n">VOTES</span><span class="p">]</span> +<span class="o">-</span><span class="mi">1</span> <span class="p">[</span><span class="n">TOTAL</span> <span class="n">BINDING</span> <span class="o">-</span><span class="mi">1</span> <span class="n">VOTES</span><span class="p">]</span> + +<span class="n">The</span> <span class="n">vote</span> <span class="n">is</span> <span class="o">***</span><span class="n">successful</span><span class="o">/</span><span class="ow">not</span> <span class="n">successful</span><span class="o">***</span> </pre></div> -<p>.a.o - Subject: invitation to become [PROJECT] - committer: Joe Bloggs #####</p> -<div class="codehilite"><pre><span class="n">Hello</span> <span class="c1">#####, the Apache [PROJECT]</span> +<h1 id="board_approval_of_new_pmc_member">Board Approval of new PMC member</h1> +<p>Assuming that a vote for a new PMC member passes it is now necessary to get +approval from the Board. Send the mail below to the board. This will be acknowledged +by a bard member. 72 hours after the acknowledgement the PMC can proceed.</p> +<p>See http://www.apache.org/dev/pmc.html#newpmc for more details</p> +<div class="codehilite"><pre><span class="o">------------------------------------------------------------</span> +<span class="n">To:</span> <span class="n">board</span><span class="nv">@apache</span><span class="o">.</span><span class="n">org</span> +<span class="n">Cc:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span> +<span class="n">Subject:</span> <span class="n">Approve</span> <span class="k">new</span> <span class="n">PMC</span> <span class="n">member</span> <span class="k">for</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]:</span> <span class="n">Joe</span> <span class="n">Blogs</span> + +<span class="n">The</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> <span class="n">PMC</span> <span class="n">has</span> <span class="n">voted</span> <span class="n">to</span> <span class="n">invite</span> <span class="n">Joe</span> <span class="n">Blogs</span> <span class="p">([</span><span class="n">Apache</span> <span class="n">ID</span><span class="p">])</span> <span class="n">to</span> <span class="n">the</span> <span class="n">PMC</span><span class="o">.</span> +<span class="n">Please</span> <span class="n">approve</span><span class="o">/</span><span class="n">acknowledge</span> <span class="n">this</span> <span class="n">PMC</span> <span class="n">addition</span> </pre></div> -<p>Project Management Committee - would like to invite you to become a [PROJECT] - committer and member - of the PMC. We value your contributions and are aware that - you are committed to the project.</p> -<div class="codehilite"><pre><span class="n">Being</span> <span class="n">a</span> <span class="n">committer</span> <span class="n">enables</span> <span class="n">you</span> <span class="n">to</span> <span class="n">more</span> <span class="n">easily</span> <span class="n">make</span> <span class="n">changes</span> <span class="ow">and</span> <span class="n">so</span> -<span class="ow">not</span> <span class="n">need</span> <span class="n">to</span> <span class="n">go</span> <span class="n">via</span> <span class="n">the</span> <span class="n">patch</span> <span class="n">submission</span> <span class="n">process</span><span class="o">.</span> <span class="n">This</span> <span class="n">should</span> -<span class="n">enable</span> <span class="n">you</span> <span class="n">to</span> <span class="n">be</span> <span class="n">more</span> <span class="n">productive</span><span class="o">.</span> <span class="n">Being</span> <span class="n">also</span> <span class="n">a</span> <span class="n">PMC</span> <span class="n">member</span> <span class="n">enables</span> -<span class="n">you</span> <span class="n">to</span> <span class="n">guide</span> <span class="n">the</span> <span class="n">direction</span> <span class="n">of</span> <span class="n">the</span> <span class="n">project</span><span class="o">.</span> +<h2 id="committer_invite_template">Committer Invite Template</h2> +<p>This is the invitation email, sent after a positive result from the vote for a +new committer.</p> +<div class="codehilite"><pre><span class="o">------------------------------------------------------------</span> +<span class="n">To:</span> <span class="n">JoeBloggs</span><span class="nv">@foo</span><span class="o">.</span><span class="n">net</span> +<span class="n">Cc:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span> +<span class="n">Subject:</span> <span class="n">invitation</span> <span class="n">to</span> <span class="n">become</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> <span class="n">committer:</span> <span class="n">Joe</span> <span class="n">Bloggs</span> + +<span class="n">Hello</span> <span class="n">Joe</span><span class="p">,</span> <span class="n">the</span> <span class="n">Apache</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> <span class="n">Project</span> <span class="n">Management</span> <span class="n">Committee</span> <span class="n">would</span> <span class="n">like</span> +<span class="n">to</span> <span class="n">invite</span> <span class="n">you</span> <span class="n">to</span> <span class="n">become</span> <span class="n">a</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> <span class="n">committer</span><span class="o">.</span> <span class="n">We</span> <span class="n">value</span> <span class="n">your</span> <span class="n">contributions</span> +<span class="ow">and</span> <span class="n">are</span> <span class="n">aware</span> <span class="n">that</span> <span class="n">you</span> <span class="n">are</span> <span class="n">committed</span> <span class="n">to</span> <span class="n">the</span> <span class="n">project</span><span class="o">.</span> -<span class="n">While</span> <span class="n">this</span> <span class="n">does</span> <span class="ow">not</span> <span class="n">mean</span> <span class="n">that</span> <span class="n">you</span> <span class="n">need</span> <span class="n">to</span> <span class="n">participate</span> <span class="n">any</span> <span class="n">more</span> -<span class="n">than</span> <span class="n">you</span> <span class="n">already</span> <span class="k">do</span><span class="p">,</span> <span class="n">it</span> <span class="n">does</span> <span class="n">tend</span> <span class="n">to</span> <span class="n">make</span> <span class="n">one</span> <span class="n">even</span> <span class="n">more</span> <span class="n">committed</span><span class="o">.</span> -<span class="n">Hence</span> <span class="n">you</span> <span class="n">will</span> <span class="n">probably</span> <span class="n">find</span> <span class="n">that</span> <span class="n">you</span> <span class="n">spend</span> <span class="n">more</span> <span class="nb">time</span> <span class="n">here</span><span class="o">.</span> +<span class="n">Being</span> <span class="n">a</span> <span class="n">committer</span> <span class="n">enables</span> <span class="n">you</span> <span class="n">to</span> <span class="n">more</span> <span class="n">easily</span> <span class="n">make</span> <span class="n">changes</span> <span class="ow">and</span> <span class="n">so</span> +<span class="ow">not</span> <span class="n">need</span> <span class="n">to</span> <span class="n">go</span> <span class="n">via</span> <span class="n">the</span> <span class="n">patch</span> <span class="n">submission</span> <span class="n">process</span><span class="o">.</span> <span class="n">This</span> <span class="n">should</span> +<span class="n">enable</span> <span class="n">you</span> <span class="n">to</span> <span class="n">be</span> <span class="n">more</span> <span class="n">productive</span><span class="o">.</span> <span class="n">Of</span> <span class="n">course</span><span class="p">,</span> <span class="n">you</span> <span class="n">can</span> <span class="n">decline</span> <span class="ow">and</span> <span class="n">instead</span> <span class="n">remain</span> <span class="n">as</span> <span class="n">a</span> <span class="n">developer</span><span class="p">,</span> <span class="n">contributing</span> <span class="n">as</span> <span class="n">you</span> <span class="k">do</span> <span class="n">now</span><span class="o">.</span> <span class="n">This</span> <span class="n">personal</span> <span class="n">email</span> <span class="n">is</span> <span class="n">also</span> <span class="n">providing</span> <span class="n">a</span> <span class="n">chance</span> <span class="k">for</span> <span class="n">you</span> <span class="n">to</span> <span class="n">decline</span> <span class="n">in</span> <span class="n">private</span><span class="o">.</span> <span class="n">Either</span> <span class="n">way</span><span class="p">,</span> <span class="n">please</span> <span class="n">let</span> <span class="n">us</span> <span class="n">know</span> <span class="n">in</span> <span class="n">reply</span> <span class="n">only</span> <span class="n">to</span> <span class="n">the</span> -<span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span> -</pre></div> - +<span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span> <span class="n">list</span><span class="o">.</span> <span class="n">If</span> <span class="n">you</span> <span class="n">agree</span><span class="p">,</span> <span class="k">then</span> <span class="n">we</span> <span class="n">will</span> <span class="n">announce</span> +<span class="n">on</span> <span class="n">the</span> <span class="n">dev</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span> <span class="n">list</span> <span class="n">after</span> <span class="n">the</span> <span class="n">account</span> <span class="n">is</span> <span class="n">established</span><span class="o">.</span> -<p>.a.o list. If you agree, then we will announce - on the dev@[PROJECT] -.a.o list after the account is established.</p> -<div class="codehilite"><pre><span class="n">Yours</span><span class="p">,</span> -<span class="n">The</span> <span class="n">Apache</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> -</pre></div> - - -<p>PMC</p> -<div class="codehilite"><pre><span class="o">------------------------------------------------------------------------</span> +<span class="n">Yours</span><span class="p">,</span> +<span class="n">The</span> <span class="n">Apache</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> <span class="n">PMC</span> </pre></div> <h2 id="committer_accept_template">Committer Accept Template</h2> -<div class="codehilite"><pre><span class="n">This</span> <span class="n">is</span> <span class="n">the</span> <span class="n">followup</span> <span class="n">email</span> <span class="n">after</span> <span class="n">they</span> <span class="n">have</span> <span class="n">accepted</span><span class="o">.</span> - -<span class="o">------------------------------------------------------------------------</span> +<p>This is the followup email after the new committer has accepted the invitation</p> +<div class="codehilite"><pre><span class="o">------------------------------------------------------------------------</span> <span class="n">To:</span> <span class="n">JoeBloggs</span><span class="nv">@foo</span><span class="o">.</span><span class="n">net</span> -<span class="n">Cc:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span> -</pre></div> - +<span class="n">Cc:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span> +<span class="n">Subject:</span> <span class="n">Re:</span> <span class="n">invitation</span> <span class="n">to</span> <span class="n">become</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> <span class="n">committer</span> -<p>.a.o - Subject: Re: invitation to become [PROJECT] - committer</p> -<div class="codehilite"><pre><span class="n">Welcome</span><span class="o">.</span> <span class="n">Here</span> <span class="n">are</span> <span class="n">the</span> <span class="k">next</span> <span class="n">steps</span><span class="o">.</span> <span class="n">After</span> <span class="n">that</span> <span class="n">we</span> <span class="n">will</span> <span class="n">make</span> -<span class="n">an</span> <span class="n">announcement</span> <span class="n">to</span> <span class="n">the</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> -</pre></div> +<span class="n">Welcome</span><span class="o">.</span> <span class="n">Here</span> <span class="n">are</span> <span class="n">the</span> <span class="k">next</span> <span class="n">steps</span><span class="o">.</span> <span class="n">After</span> <span class="n">that</span> <span class="n">we</span> <span class="n">will</span> <span class="n">make</span> +<span class="n">an</span> <span class="n">announcement</span> <span class="n">to</span> <span class="n">the</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span><span class="o">-</span><span class="n">dev</span> <span class="n">list</span><span class="o">.</span> - -<p>-dev list.</p> -<div class="codehilite"><pre><span class="n">You</span> <span class="n">need</span> <span class="n">to</span> <span class="nb">send</span> <span class="n">a</span> <span class="n">Contributor</span> <span class="n">License</span> <span class="n">Agreement</span> <span class="n">to</span> <span class="n">the</span> <span class="n">ASF</span><span class="o">.</span> +<span class="n">You</span> <span class="n">need</span> <span class="n">to</span> <span class="nb">send</span> <span class="n">a</span> <span class="n">Contributor</span> <span class="n">License</span> <span class="n">Agreement</span> <span class="n">to</span> <span class="n">the</span> <span class="n">ASF</span><span class="o">.</span> <span class="n">Normally</span> <span class="n">you</span> <span class="n">would</span> <span class="nb">send</span> <span class="n">an</span> <span class="n">Individual</span> <span class="n">CLA</span><span class="o">.</span> <span class="n">If</span> <span class="n">you</span> <span class="n">also</span> <span class="n">make</span> <span class="n">contributions</span> <span class="n">done</span> <span class="n">in</span> <span class="n">work</span> <span class="nb">time</span> <span class="ow">or</span> <span class="n">using</span> <span class="n">work</span> <span class="n">resources</span> <span class="k">then</span> <span class="n">see</span> <span class="n">the</span> <span class="n">Corporate</span> <span class="n">CLA</span><span class="o">.</span> <span class="n">Ask</span> <span class="n">us</span> <span class="k">if</span> <span class="n">you</span> <span class="n">have</span> <span class="n">any</span> <span class="n">issues</span><span class="o">.</span> @@ -308,7 +318,7 @@ our praise in public.</p> <span class="n">You</span> <span class="n">need</span> <span class="n">to</span> <span class="n">choose</span> <span class="n">a</span> <span class="n">preferred</span> <span class="n">ASF</span> <span class="n">user</span> <span class="n">name</span> <span class="ow">and</span> <span class="n">alternatives</span><span class="o">.</span> <span class="n">In</span> <span class="n">order</span> <span class="n">to</span> <span class="n">ensure</span> <span class="n">it</span> <span class="n">is</span> <span class="n">available</span> <span class="n">you</span> <span class="n">can</span> <span class="n">view</span> <span class="n">a</span> <span class="n">list</span> <span class="n">of</span> <span class="n">taken</span> <span class="n">ids</span> <span class="n">at</span> -<span class="n">http:</span><span class="sr">//</span><span class="n">www</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="sr">/~jim/commi</span><span class="n">tters</span><span class="o">.</span><span class="n">html</span> +<span class="n">http:</span><span class="sr">//</span><span class="n">people</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="o">/</span><span class="n">committer</span><span class="o">-</span><span class="nb">index</span><span class="o">.</span><span class="n">html</span> <span class="n">Please</span> <span class="n">notify</span> <span class="n">us</span> <span class="n">when</span> <span class="n">you</span> <span class="n">have</span> <span class="n">submitted</span> <span class="n">the</span> <span class="n">CLA</span> <span class="ow">and</span> <span class="n">by</span> <span class="n">what</span> <span class="n">means</span> <span class="n">you</span> <span class="n">did</span> <span class="n">so</span><span class="o">.</span> <span class="n">This</span> <span class="n">will</span> <span class="n">enable</span> <span class="n">us</span> <span class="n">to</span> <span class="n">monitor</span> <span class="n">its</span> <span class="n">progress</span><span class="o">.</span> @@ -316,63 +326,45 @@ our praise in public.</p> <span class="n">We</span> <span class="n">will</span> <span class="n">arrange</span> <span class="k">for</span> <span class="n">your</span> <span class="n">Apache</span> <span class="n">user</span> <span class="n">account</span> <span class="n">when</span> <span class="n">the</span> <span class="n">CLA</span> <span class="n">has</span> <span class="n">been</span> <span class="n">recorded</span><span class="o">.</span> -<span class="n">After</span> <span class="n">that</span> <span class="n">is</span> <span class="n">done</span><span class="p">,</span> <span class="n">please</span> <span class="n">make</span> <span class="n">followup</span> <span class="n">replies</span> <span class="n">to</span> <span class="n">the</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> -</pre></div> - - -<p>-dev list. - We generally discuss everything there and keep this private@[PROJECT] -.a.o list - for occasional matters which must be private.</p> -<div class="codehilite"><pre><span class="n">The</span> <span class="n">developer</span> <span class="n">section</span> <span class="n">of</span> <span class="n">the</span> <span class="n">website</span> <span class="n">describes</span> <span class="n">the</span> <span class="n">roles</span> -<span class="ow">and</span> <span class="n">provides</span> <span class="n">other</span> <span class="n">resources:</span> -<span class="n">http:</span><span class="sr">//</span><span class="n">www</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="sr">/foundation/</span><span class="n">how</span><span class="o">-</span><span class="n">it</span><span class="o">-</span><span class="n">works</span><span class="o">.</span><span class="n">html</span> -<span class="n">http:</span><span class="sr">//</span><span class="n">www</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="sr">/dev/</span> +<span class="n">After</span> <span class="n">that</span> <span class="n">is</span> <span class="n">done</span><span class="p">,</span> <span class="n">please</span> <span class="n">make</span> <span class="n">followup</span> <span class="n">replies</span> <span class="n">to</span> <span class="n">the</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span><span class="o">-</span><span class="n">dev</span> <span class="n">list</span><span class="o">.</span> +<span class="n">We</span> <span class="n">generally</span> <span class="n">discuss</span> <span class="n">everything</span> <span class="n">there</span> <span class="ow">and</span> <span class="n">keep</span> <span class="n">the</span> +<span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span> <span class="n">list</span> <span class="k">for</span> <span class="n">occasional</span> <span class="n">matters</span> <span class="n">which</span> <span class="n">must</span> <span class="n">be</span> <span class="n">private</span><span class="o">.</span> + +<span class="n">The</span> <span class="n">developer</span> <span class="n">section</span> <span class="n">of</span> <span class="n">the</span> <span class="n">website</span> <span class="n">describes</span> <span class="n">the</span> <span class="n">roles</span> <span class="ow">and</span> <span class="n">provides</span> <span class="n">other</span> +<span class="n">resources:</span> + <span class="n">http:</span><span class="sr">//</span><span class="n">www</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="sr">/foundation/</span><span class="n">how</span><span class="o">-</span><span class="n">it</span><span class="o">-</span><span class="n">works</span><span class="o">.</span><span class="n">html</span> + <span class="n">http:</span><span class="sr">//</span><span class="n">www</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="sr">/dev/</span> <span class="n">The</span> <span class="n">incubator</span> <span class="n">also</span> <span class="n">has</span> <span class="n">some</span> <span class="n">useful</span> <span class="n">information</span> <span class="k">for</span> <span class="k">new</span> <span class="n">committers</span> <span class="n">in</span> <span class="n">incubating</span> <span class="n">projects:</span> -<span class="n">http:</span><span class="sr">//i</span><span class="n">ncubator</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="sr">/guides/commi</span><span class="n">tter</span><span class="o">.</span><span class="n">html</span> -<span class="n">http:</span><span class="sr">//i</span><span class="n">ncubator</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="sr">/guides/</span><span class="n">ppmc</span><span class="o">.</span><span class="n">html</span> + <span class="n">http:</span><span class="sr">//i</span><span class="n">ncubator</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="sr">/guides/commi</span><span class="n">tter</span><span class="o">.</span><span class="n">html</span> + <span class="n">http:</span><span class="sr">//i</span><span class="n">ncubator</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="sr">/guides/</span><span class="n">ppmc</span><span class="o">.</span><span class="n">html</span> <span class="n">In</span> <span class="n">the</span> <span class="n">absence</span> <span class="n">of</span> <span class="k">our</span> <span class="n">own</span> <span class="n">guidelines</span> <span class="n">document</span> <span class="n">we</span> <span class="n">are</span> <span class="n">currently</span> <span class="n">using</span> <span class="n">those</span> <span class="n">developed</span> <span class="n">at</span> <span class="n">Apache</span> <span class="n">Forrest:</span> <span class="n">http:</span><span class="sr">//</span><span class="n">forrest</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="o">/</span><span class="n">guidelines</span><span class="o">.</span><span class="n">html</span> <span class="n">Yours</span><span class="p">,</span> -<span class="n">The</span> <span class="n">Apache</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> -</pre></div> - - -<p>PMC</p> -<div class="codehilite"><pre><span class="o">------------------------------------------------------------------------</span> +<span class="n">The</span> <span class="n">Apache</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> <span class="n">PMC</span> </pre></div> <h2 id="committer_create_template">Committer Create Template</h2> -<div class="codehilite"><pre><span class="n">Account</span> <span class="n">creation</span> <span class="n">email</span> <span class="k">for</span> <span class="k">new</span> <span class="n">committers</span><span class="o">.</span> - -<span class="n">Follow</span> <span class="n">the</span> <span class="n">instructions</span> <span class="n">at:</span> -<span class="n">http:</span><span class="sr">//</span><span class="n">www</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="sr">/dev/</span><span class="n">pmc</span><span class="o">.</span><span class="n">html</span><span class="c1">#newcommitter</span> - -<span class="n">Email</span> <span class="n">is</span> <span class="n">to</span> <span class="n">be</span> <span class="n">sent</span> <span class="n">to</span> <span class="n">root</span> <span class="o">*</span><span class="n">after</span><span class="o">*</span> <span class="n">the</span> <span class="n">CLA</span> <span class="n">is</span> <span class="n">registered</span><span class="o">.</span> -<span class="n">The</span> <span class="n">PMC</span> <span class="n">needs</span> <span class="n">to</span> <span class="n">monitor</span> <span class="n">iclas</span><span class="o">.</span><span class="n">txt</span> <span class="n">to</span> <span class="n">be</span> <span class="n">sure</span> <span class="n">that</span> <span class="n">the</span> <span class="n">CLA</span> -<span class="n">is</span> <span class="n">properly</span> <span class="n">received</span> <span class="n">before</span> <span class="n">sending</span> <span class="n">this</span> <span class="n">email</span><span class="o">.</span> <span class="n">See</span> <span class="n">above</span><span class="o">.</span> - -<span class="n">Don</span><span class="err">&#39;</span><span class="n">t</span> <span class="n">forget</span> <span class="n">to</span> <span class="n">add</span> <span class="n">their</span> <span class="n">name</span><span class="o">/</span><span class="n">email</span> <span class="n">in</span> <span class="n">the</span> <span class="n">email</span> <span class="n">headers</span> -<span class="ow">and</span> <span class="n">add</span> <span class="n">the</span> <span class="n">date</span><span class="o">/</span><span class="n">Message</span><span class="o">-</span><span class="n">Id</span> <span class="n">of</span> <span class="n">the</span> <span class="n">PMC</span> <span class="n">vote</span> <span class="n">summary</span><span class="o">.</span> - -<span class="n">If</span> <span class="n">the</span> <span class="k">new</span> <span class="n">member</span> <span class="n">is</span> <span class="n">already</span> <span class="n">a</span> <span class="n">committer</span><span class="p">,</span> <span class="k">then</span> <span class="n">just</span> <span class="n">need</span> -<span class="n">to</span> <span class="n">ask</span> <span class="n">root</span> <span class="n">to</span> <span class="n">add</span> <span class="n">them</span> <span class="n">to</span> <span class="n">the</span> <span class="n">UNIX</span> <span class="n">groups</span><span class="o">.</span> - -<span class="o">------------------------</span> <span class="n">snip</span> <span class="o">------------------------------</span> +<p>Follow the instructions at: + http://www.apache.org/dev/pmc.html#newcommitter</p> +<p>This email is to be sent to root <em>after</em> the CLA is registered. +The PMC needs to monitor iclas.txt to be sure that the CLA +is properly received before sending this email. See above.</p> +<p>Don't forget to add their name/email in the email headers +and add the date/Message-Id of the PMC vote summary.</p> +<p>If the new member is already a committer, then just need +to ask root to add them to the UNIX groups.</p> +<div class="codehilite"><pre><span class="o">------------------------</span> <span class="n">snip</span> <span class="o">------------------------------</span> <span class="n">To:</span> <span class="n">root</span><span class="nv">@apache</span><span class="o">.</span><span class="n">org</span> -<span class="n">Cc:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span> -</pre></div> +<span class="n">Cc:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="p">,</span> <span class="c1">###[email protected]</span> +<span class="n">Subject:</span> <span class="n">account</span> <span class="n">request:</span> <span class="c1">###Joe Bloggs</span> - -<p>.a.o, ###[email protected] - Subject: account request: ###Joe Bloggs</p> -<div class="codehilite"><pre><span class="n">Full</span> <span class="n">name:</span> <span class="o">...</span> +<span class="n">Full</span> <span class="n">name:</span> <span class="o">...</span> <span class="n">Preferred</span> <span class="n">userid:</span> <span class="o">...</span> <span class="p">[</span><span class="n">please</span> <span class="n">provide</span> <span class="n">acceptable</span> <span class="n">alternates</span><span class="o">!</span><span class="p">]</span> <span class="n">Forwarding</span> <span class="n">email</span> <span class="n">address:</span> <span class="o">...</span> @@ -380,33 +372,21 @@ our praise in public.</p> <span class="n">The</span> <span class="n">receipt</span> <span class="n">of</span> <span class="n">the</span> <span class="n">ICLA</span> <span class="n">was</span> <span class="n">recorded</span> <span class="n">yesterday</span><span class="o">.</span> -<span class="n">The</span> <span class="n">vote</span> <span class="n">was</span> <span class="n">conducted</span> <span class="n">on</span> <span class="n">the</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span> +<span class="n">The</span> <span class="n">vote</span> <span class="n">was</span> <span class="n">conducted</span> <span class="n">on</span> <span class="n">the</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span> <span class="n">list</span> +<span class="n">around</span> <span class="n">YYYY</span><span class="o">-</span><span class="n">MM</span><span class="o">-</span><span class="n">DD</span> <span class="c1">###</span> +<span class="n">Message</span><span class="o">-</span><span class="n">Id:</span> <span class="c1">###</span> </pre></div> -<p>.a.o list - around YYYY-MM-DD ### - Message-Id: ###</p> <h2 id="committer_announce_template">Committer Announce Template</h2> -<div class="codehilite"><pre><span class="n">This</span> <span class="n">is</span> <span class="n">the</span> <span class="n">email</span> <span class="n">to</span> <span class="n">announce</span> <span class="n">to</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> -</pre></div> - - -<p>-dev after the - followup acceptance.</p> -<div class="codehilite"><pre><span class="n">Replace</span> <span class="n">the</span> <span class="n">Joe</span> <span class="n">Blogs</span> <span class="n">in</span> <span class="n">the</span> <span class="n">subject</span><span class="p">,</span> <span class="n">the</span> <span class="c1">### in the body.</span> - -<span class="o">------------------------------------------------------------</span> -<span class="n">To:</span> <span class="n">dev</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span> -</pre></div> - +<p>This is the email to announce to [PROJECT]-dev once the account has been created.</p> +<div class="codehilite"><pre><span class="o">------------------------------------------------------------</span> +<span class="n">To:</span> <span class="n">dev</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span> +<span class="n">Subject:</span> <span class="k">new</span> <span class="n">committer:</span> <span class="c1">###Joe Bloggs</span> -<p>.a.o - Subject: new committer and PMC member: ###Joe Bloggs</p> -<div class="codehilite"><pre><span class="n">The</span> <span class="n">Project</span> <span class="n">Management</span> <span class="n">Committee</span> <span class="p">(</span><span class="n">PMC</span><span class="p">)</span> <span class="k">for</span> <span class="n">Apache</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> -<span class="n">has</span> <span class="n">asked</span> <span class="c1">#### ####### to become a committer and</span> -<span class="n">member</span> <span class="n">of</span> <span class="n">the</span> <span class="n">PMC</span><span class="p">,</span> <span class="ow">and</span> <span class="n">we</span> <span class="n">are</span> <span class="n">pleased</span> <span class="n">to</span> <span class="n">announce</span> <span class="n">that</span> -<span class="n">they</span> <span class="n">have</span> <span class="n">accepted</span><span class="o">.</span> +<span class="n">The</span> <span class="n">Project</span> <span class="n">Management</span> <span class="n">Committee</span> <span class="p">(</span><span class="n">PMC</span><span class="p">)</span> <span class="k">for</span> <span class="n">Apache</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> +<span class="n">has</span> <span class="n">asked</span> <span class="n">Joe</span> <span class="n">Bloggs</span> <span class="n">to</span> <span class="n">become</span> <span class="n">a</span> <span class="n">committer</span> <span class="ow">and</span> <span class="n">we</span> <span class="n">are</span> <span class="n">pleased</span> +<span class="n">to</span> <span class="n">announce</span> <span class="n">that</span> <span class="n">they</span> <span class="n">have</span> <span class="n">accepted</span><span class="o">.</span> <span class="c1">### add specific details here ###</span> @@ -418,46 +398,6 @@ our praise in public.</p> </pre></div> -<h2 id="board_template">Board Template</h2> -<div class="codehilite"><pre><span class="n">This</span> <span class="n">is</span> <span class="n">the</span> <span class="n">email</span> <span class="n">to</span> <span class="n">end</span> <span class="n">a</span> <span class="n">vote</span> <span class="k">for</span> <span class="n">a</span> <span class="k">new</span> <span class="n">PMC</span> <span class="n">member</span><span class="o">.</span> -<span class="n">We</span> <span class="k">do</span> <span class="n">this</span> <span class="n">on</span> <span class="n">the</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> -</pre></div> - - -<p>Private mailing list as that - is where the vote is held..</p> -<div class="codehilite"><pre><span class="o">------------------------------------------------------------</span> -<span class="n">To:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span> -</pre></div> - - -<p>.a.o - Subject: [RESULT] - [Vote] - new PMC member: Joe Bloggs</p> -<div class="codehilite"><pre><span class="n">The</span> <span class="n">vote</span> <span class="n">has</span> <span class="n">now</span> <span class="n">closed</span><span class="o">.</span> <span class="n">The</span> <span class="n">results</span> <span class="n">are:</span> - -<span class="n">Binding</span> <span class="n">Votes:</span> - -<span class="o">+</span><span class="mi">1</span> <span class="p">[</span><span class="n">TOTAL</span> <span class="n">BINDING</span> <span class="o">+</span><span class="mi">1</span> <span class="n">VOTES</span><span class="p">]</span> - <span class="mi">0</span> <span class="p">[</span><span class="n">TOTAL</span> <span class="n">BINDING</span> <span class="o">+</span><span class="mi">0</span><span class="o">/-</span><span class="mi">0</span> <span class="n">VOTES</span><span class="p">]</span> -<span class="o">-</span><span class="mi">1</span> <span class="p">[</span><span class="n">TOTAL</span> <span class="n">BINDING</span> <span class="o">-</span><span class="mi">1</span> <span class="n">VOTES</span><span class="p">]</span> - -<span class="p">[</span><span class="n">If</span> <span class="n">three</span> <span class="n">binding</span> <span class="o">+</span><span class="mi">1</span> <span class="ow">and</span> <span class="nb">no</span> <span class="n">binding</span> <span class="o">-</span><span class="mi">1</span><span class="p">]</span> - -<span class="n">The</span> <span class="n">vote</span> <span class="n">passes</span><span class="p">,</span> <span class="n">we</span> <span class="n">now</span> <span class="n">need</span> <span class="n">lazy</span> <span class="n">consensus</span> <span class="n">approval</span> <span class="n">from</span> <span class="n">the</span> <span class="n">IPMC</span><span class="o">.</span> <span class="n">This</span> -</pre></div> - - -<p>email - calls for that consensus.</p> -<div class="codehilite"><pre><span class="n">Consensus</span> <span class="n">period</span> <span class="n">ends</span> <span class="mi">72</span> <span class="n">hours</span> <span class="n">from</span> <span class="n">now</span><span class="p">,</span> <span class="n">i</span><span class="o">.</span><span class="n">e</span><span class="o">.</span> <span class="n">XYZ</span> <span class="n">UTC</span> <span class="n">on</span> <span class="n">YYYY</span><span class="o">-</span><span class="n">MM</span><span class="o">-</span><span class="n">DD</span> -<span class="n">http:</span><span class="sr">//</span><span class="n">www</span><span class="o">.</span><span class="n">timeanddate</span><span class="o">.</span><span class="n">com</span><span class="sr">/counters/c</span><span class="n">ustomcounter</span><span class="o">.</span><span class="n">html</span><span class="p">?</span><span class="n">year</span><span class="o">=</span><span class="n">YYYY</span><span class="o">&amp;</span><span class="n">month</span><span class="o">=</span><span class="n">MM</span><span class="o">&amp;</span><span class="n">day</span><span class="o">=</span><span class="n">DD</span><span class="o">&amp;</span><span class="n">hour</span><span class="o">=</span><span class="mi">0</span><span class="o">&amp;</span><span class="n">min</span><span class="o">=</span><span class="mi">0</span><span class="o">&amp;</span><span class="n">sec</span><span class="o">=</span><span class="mi">0</span><span class="o">&amp;</span><span class="n">p0</span><span c lass="o">=</span><span class="mi">0</span> - -<span class="o">------------------------------------------------------------</span> -</pre></div> - - <h2 id="committer_done_template">Committer Done Template</h2> <div class="codehilite"><pre><span class="n">After</span> <span class="n">the</span> <span class="n">committer</span> <span class="n">account</span> <span class="n">is</span> <span class="n">established</span><span class="o">.</span> From [email protected] Mon Jun 27 21:54:14 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id BCBF140B6 for <[email protected]>; Mon, 27 Jun 2011 21:54:14 +0000 (UTC) Received: (qmail 77047 invoked by uid 500); 27 Jun 2011 21:54:14 -0000 Delivered-To: [email protected] Received: (qmail 77021 invoked by uid 500); 27 Jun 2011 21:54:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 77014 invoked by uid 99); 27 Jun 2011 21:54:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2011 21:54:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2011 21:54:11 +0000 Received: from eris.apache.org (localhost [161.129.204.104]) by eris.apache.org (Postfix) with ESMTP id AB31023889DA for <[email protected]>; Mon, 27 Jun 2011 21:53:51 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r791688 - in /websites/production/community: ./ content/newcommitter.html Date: Mon, 27 Jun 2011 21:53:51 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: rgardler Date: Mon Jun 27 21:53:51 2011 New Revision: 791688 Log: Publishing merge to community site by rgardler Modified: websites/production/community/ (props changed) websites/production/community/content/newcommitter.html Propchange: websites/production/community/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Mon Jun 27 21:53:51 2011 @@ -1,2 +1,2 @@ /websites/staging/comdev/trunk:779592-779702 -/websites/staging/community/trunk:779703-791533 +/websites/staging/community/trunk:779703-791687 Modified: websites/production/community/content/newcommitter.html ============================================================================== --- websites/production/community/content/newcommitter.html (original) +++ websites/production/community/content/newcommitter.html Mon Jun 27 21:53:51 2011 @@ -198,109 +198,119 @@ our praise in public.</p> <p><a name="NewCommitter-EmailTemplates"></a></p> <h1 id="email_templates">Email Templates</h1> <h2 id="committer_vote_template">Committer Vote Template</h2> -<div class="codehilite"><pre><span class="n">This</span> <span class="n">is</span> <span class="n">the</span> <span class="n">email</span> <span class="n">to</span> <span class="n">commence</span> <span class="n">a</span> <span class="n">vote</span> <span class="k">for</span> <span class="n">a</span> <span class="k">new</span> <span class="n">PMC</span> <span class="n">member</span><span class="o">.</span> -<span class="n">We</span> <span class="k">do</span> <span class="n">this</span> <span class="n">on</span> <span class="n">the</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> -</pre></div> - - -<p>Private mailing list, so as to enable - a frank discussion.</p> +<p>This is the email to commence a vote for a new committer member. +Some projects make committers PMC members automatically, if this is the case then +merge this with the following template (PMC Vote Template)</p> <div class="codehilite"><pre><span class="o">------------------------------------------------------------</span> -<span class="n">To:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span> -</pre></div> - +<span class="n">To:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span> +<span class="n">Subject:</span> <span class="p">[</span><span class="n">Vote</span><span class="p">]</span> <span class="k">new</span> <span class="n">committer:</span> <span class="n">Joe</span> <span class="n">Bloggs</span> -<p>.a.o - Subject: [Vote] - new PMC member: Joe Bloggs</p> -<div class="codehilite"><pre> <span class="p">[</span> <span class="n">add</span> <span class="n">the</span> <span class="n">reasons</span> <span class="n">behind</span> <span class="n">your</span> <span class="n">nomination</span> <span class="n">here</span> <span class="p">]</span> +<span class="p">[</span> <span class="n">add</span> <span class="n">the</span> <span class="n">reasons</span> <span class="n">behind</span> <span class="n">your</span> <span class="n">nomination</span> <span class="n">here</span> <span class="p">]</span> <span class="n">Voting</span> <span class="n">ends</span> <span class="n">one</span> <span class="n">week</span> <span class="n">from</span> <span class="n">today</span><span class="p">,</span> <span class="n">i</span><span class="o">.</span><span class="n">e</span><span class="o">.</span> <span class="n">midnight</span> <span class="n">UTC</span> <span class="n">on</span> <span class="n">YYYY</span><span class="o">-</span><span class="n">MM</span><span class="o">-</span><span class="n">DD</span> <span class="n">http:</span><span class="sr">//</span><span class="n">www</span><span class="o">.</span><span class="n">timeanddate</span><span class="o">.</span><span class="n">com</span><span class="sr">/counters/c</span><span class="n">ustomcounter</span><span class="o">.</span><span class="n">html</span><span class="p">?</span><span class="n">year</span><span class="o">=</span><span class="n">YYYY</span><span class="o">&amp;</span><span class="n">month</span><span class="o">=</span><span class="n">MM</span><span class="o">&amp;</span><span class="n">day</span><span class="o">=</span><span class="n">DD</span> <span class="n">See</span> <span class="n">voting</span> <span class="n">guidelines</span> <span class="n">at</span> <span class="n">https:</span><span class="sr">//s</span><span class="n">vn</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="sr">/repos/</span><span class="n">private</span><span class="sr">/pmc/</span><span class="n">forrest</span><span class="o">/</span><span class="n">pmc</span><span class="o">-</span><span class="n">member</span><span class="o">-</span><span class="n">vote</span><span class="o">.</span><span class="n">txt</span> -<span class="p">(</span><span class="n">yes</span><span class="p">,</span> <span class="n">this</span> <span class="n">links</span> <span class="n">to</span> <span class="n">the</span> <span class="n">Apache</span> <span class="n">Forrest</span> <span class="n">Guidelines</span><span class="p">,</span> <span class="n">we</span> <span class="n">don</span><span class="err">&#39;</span><span class="n">t</span> <span class="n">have</span> <span class="k">our</span> <span class="n">own</span> +<span class="p">(</span><span class="n">yes</span><span class="p">,</span> <span class="n">this</span> <span class="n">links</span> <span class="n">to</span> <span class="n">the</span> <span class="n">Apache</span> <span class="n">Forrest</span> <span class="n">Guidelines</span><span class="p">,</span> <span class="n">we</span> <span class="n">don</span><span class="err">&#39;</span><span class="n">t</span> <span class="n">have</span> <span class="k">our</span> <span class="n">own</span> <span class="n">yet</span><span class="p">)</span> + +<span class="o">------------------------------------------------------------</span> </pre></div> -<p>yet)</p> +<h2 id="pmc_vote_template">PMC Vote Template</h2> +<p>This is the email to commence a vote for a new PMC candidate. New PMC members need +to be voted for by the existing PMC members and subsequently approved by the Board +(or Incubator PMC for Incubating projects).</p> <div class="codehilite"><pre><span class="o">------------------------------------------------------------</span> +<span class="n">To:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span> +<span class="n">Subject:</span> <span class="p">[</span><span class="n">Vote</span><span class="p">]</span> <span class="k">new</span> <span class="n">PMC</span> <span class="n">candidate:</span> <span class="n">Joe</span> <span class="n">Bloggs</span> + +<span class="p">[</span> <span class="n">add</span> <span class="n">the</span> <span class="n">reasons</span> <span class="n">behind</span> <span class="n">your</span> <span class="n">nomination</span> <span class="n">here</span> <span class="p">]</span> + +<span class="n">Voting</span> <span class="n">ends</span> <span class="n">one</span> <span class="n">week</span> <span class="n">from</span> <span class="n">today</span><span class="p">,</span> <span class="n">i</span><span class="o">.</span><span class="n">e</span><span class="o">.</span> <span class="n">midnight</span> <span class="n">UTC</span> <span class="n">on</span> <span class="n">YYYY</span><span class="o">-</span><span class="n">MM</span><span class="o">-</span><span class="n">DD</span> +<span class="n">http:</span><span class="sr">//</span><span class="n">www</span><span class="o">.</span><span class="n">timeanddate</span><span class="o">.</span><span class="n">com</span><span class="sr">/counters/c</span><span class="n">ustomcounter</span><span class="o">.</span><span class="n">html</span><span class="p">?</span><span class="n">year</span><span class="o">=</span><span class="n">YYYY</span><span class="o">&amp;</span><span class="n">month</span><span class="o">=</span><span class="n">MM</span><span class="o">&amp;</span><span class="n">day</span><span class="o">=</span><span class="n">DD</span> + +<span class="n">See</span> <span class="n">voting</span> <span class="n">guidelines</span> <span class="n">at</span> +<span class="n">https:</span><span class="sr">//s</span><span class="n">vn</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="sr">/repos/</span><span class="n">private</span><span class="sr">/pmc/</span><span class="n">forrest</span><span class="o">/</span><span class="n">pmc</span><span class="o">-</span><span class="n">member</span><span class="o">-</span><span class="n">vote</span><span class="o">.</span><span class="n">txt</span> +<span class="p">(</span><span class="n">yes</span><span class="p">,</span> <span class="n">this</span> <span class="n">links</span> <span class="n">to</span> <span class="n">the</span> <span class="n">Apache</span> <span class="n">Forrest</span> <span class="n">Guidelines</span><span class="p">,</span> <span class="n">we</span> <span class="n">don</span><span class="err">&#39;</span><span class="n">t</span> <span class="n">have</span> <span class="k">our</span> <span class="n">own</span> <span class="n">yet</span><span class="p">)</span> </pre></div> -<h2 id="committer_invite_template">Committer Invite Template</h2> -<div class="codehilite"><pre><span class="n">This</span> <span class="n">is</span> <span class="n">the</span> <span class="n">invitation</span> <span class="n">email</span><span class="p">,</span> <span class="n">sent</span> <span class="n">after</span> <span class="n">a</span> <span class="n">positive</span> <span class="n">result</span> -<span class="n">from</span> <span class="n">the</span> <span class="n">vote</span> <span class="k">for</span> <span class="n">a</span> <span class="k">new</span> <span class="n">committer</span><span class="o">.</span> +<h2 id="close_vote">Close Vote</h2> +<div class="codehilite"><pre><span class="n">This</span> <span class="n">is</span> <span class="n">the</span> <span class="n">email</span> <span class="n">ends</span> <span class="n">the</span> <span class="n">vote</span> <span class="ow">and</span> <span class="n">reports</span> <span class="n">the</span> <span class="n">result</span> <span class="n">to</span> <span class="n">the</span> <span class="n">project</span><span class="o">.</span> <span class="o">------------------------------------------------------------</span> -<span class="n">To:</span> <span class="n">JoeBloggs</span><span class="nv">@foo</span><span class="o">.</span><span class="n">net</span> -<span class="n">Cc:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span> +<span class="n">To:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span><span class="o">.</span><span class="n">a</span><span class="o">.</span><span class="n">o</span> +<span class="n">Subject:</span> <span class="p">[</span><span class="n">RESULT</span><span class="p">]</span> <span class="p">[</span><span class="n">Vote</span><span class="p">]</span> <span class="k">new</span> <span class="n">PMC</span> <span class="n">candidate:</span> <span class="n">Joe</span> <span class="n">Bloggs</span> + +<span class="n">The</span> <span class="n">vote</span> <span class="n">has</span> <span class="n">now</span> <span class="n">closed</span><span class="o">.</span> <span class="n">The</span> <span class="n">results</span> <span class="n">are:</span> + +<span class="n">Binding</span> <span class="n">Votes:</span> + +<span class="o">+</span><span class="mi">1</span> <span class="p">[</span><span class="n">TOTAL</span> <span class="n">BINDING</span> <span class="o">+</span><span class="mi">1</span> <span class="n">VOTES</span><span class="p">]</span> + <span class="mi">0</span> <span class="p">[</span><span class="n">TOTAL</span> <span class="n">BINDING</span> <span class="o">+</span><span class="mi">0</span><span class="o">/-</span><span class="mi">0</span> <span class="n">VOTES</span><span class="p">]</span> +<span class="o">-</span><span class="mi">1</span> <span class="p">[</span><span class="n">TOTAL</span> <span class="n">BINDING</span> <span class="o">-</span><span class="mi">1</span> <span class="n">VOTES</span><span class="p">]</span> + +<span class="n">The</span> <span class="n">vote</span> <span class="n">is</span> <span class="o">***</span><span class="n">successful</span><span class="o">/</span><span class="ow">not</span> <span class="n">successful</span><span class="o">***</span> </pre></div> -<p>.a.o - Subject: invitation to become [PROJECT] - committer: Joe Bloggs #####</p> -<div class="codehilite"><pre><span class="n">Hello</span> <span class="c1">#####, the Apache [PROJECT]</span> +<h1 id="board_approval_of_new_pmc_member">Board Approval of new PMC member</h1> +<p>Assuming that a vote for a new PMC member passes it is now necessary to get +approval from the Board. Send the mail below to the board. This will be acknowledged +by a bard member. 72 hours after the acknowledgement the PMC can proceed.</p> +<p>See http://www.apache.org/dev/pmc.html#newpmc for more details</p> +<div class="codehilite"><pre><span class="o">------------------------------------------------------------</span> +<span class="n">To:</span> <span class="n">board</span><span class="nv">@apache</span><span class="o">.</span><span class="n">org</span> +<span class="n">Cc:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span> +<span class="n">Subject:</span> <span class="n">Approve</span> <span class="k">new</span> <span class="n">PMC</span> <span class="n">member</span> <span class="k">for</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]:</span> <span class="n">Joe</span> <span class="n">Blogs</span> + +<span class="n">The</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> <span class="n">PMC</span> <span class="n">has</span> <span class="n">voted</span> <span class="n">to</span> <span class="n">invite</span> <span class="n">Joe</span> <span class="n">Blogs</span> <span class="p">([</span><span class="n">Apache</span> <span class="n">ID</span><span class="p">])</span> <span class="n">to</span> <span class="n">the</span> <span class="n">PMC</span><span class="o">.</span> +<span class="n">Please</span> <span class="n">approve</span><span class="o">/</span><span class="n">acknowledge</span> <span class="n">this</span> <span class="n">PMC</span> <span class="n">addition</span> </pre></div> -<p>Project Management Committee - would like to invite you to become a [PROJECT] - committer and member - of the PMC. We value your contributions and are aware that - you are committed to the project.</p> -<div class="codehilite"><pre><span class="n">Being</span> <span class="n">a</span> <span class="n">committer</span> <span class="n">enables</span> <span class="n">you</span> <span class="n">to</span> <span class="n">more</span> <span class="n">easily</span> <span class="n">make</span> <span class="n">changes</span> <span class="ow">and</span> <span class="n">so</span> -<span class="ow">not</span> <span class="n">need</span> <span class="n">to</span> <span class="n">go</span> <span class="n">via</span> <span class="n">the</span> <span class="n">patch</span> <span class="n">submission</span> <span class="n">process</span><span class="o">.</span> <span class="n">This</span> <span class="n">should</span> -<span class="n">enable</span> <span class="n">you</span> <span class="n">to</span> <span class="n">be</span> <span class="n">more</span> <span class="n">productive</span><span class="o">.</span> <span class="n">Being</span> <span class="n">also</span> <span class="n">a</span> <span class="n">PMC</span> <span class="n">member</span> <span class="n">enables</span> -<span class="n">you</span> <span class="n">to</span> <span class="n">guide</span> <span class="n">the</span> <span class="n">direction</span> <span class="n">of</span> <span class="n">the</span> <span class="n">project</span><span class="o">.</span> +<h2 id="committer_invite_template">Committer Invite Template</h2> +<p>This is the invitation email, sent after a positive result from the vote for a +new committer.</p> +<div class="codehilite"><pre><span class="o">------------------------------------------------------------</span> +<span class="n">To:</span> <span class="n">JoeBloggs</span><span class="nv">@foo</span><span class="o">.</span><span class="n">net</span> +<span class="n">Cc:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span> +<span class="n">Subject:</span> <span class="n">invitation</span> <span class="n">to</span> <span class="n">become</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> <span class="n">committer:</span> <span class="n">Joe</span> <span class="n">Bloggs</span> + +<span class="n">Hello</span> <span class="n">Joe</span><span class="p">,</span> <span class="n">the</span> <span class="n">Apache</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> <span class="n">Project</span> <span class="n">Management</span> <span class="n">Committee</span> <span class="n">would</span> <span class="n">like</span> +<span class="n">to</span> <span class="n">invite</span> <span class="n">you</span> <span class="n">to</span> <span class="n">become</span> <span class="n">a</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> <span class="n">committer</span><span class="o">.</span> <span class="n">We</span> <span class="n">value</span> <span class="n">your</span> <span class="n">contributions</span> +<span class="ow">and</span> <span class="n">are</span> <span class="n">aware</span> <span class="n">that</span> <span class="n">you</span> <span class="n">are</span> <span class="n">committed</span> <span class="n">to</span> <span class="n">the</span> <span class="n">project</span><span class="o">.</span> -<span class="n">While</span> <span class="n">this</span> <span class="n">does</span> <span class="ow">not</span> <span class="n">mean</span> <span class="n">that</span> <span class="n">you</span> <span class="n">need</span> <span class="n">to</span> <span class="n">participate</span> <span class="n">any</span> <span class="n">more</span> -<span class="n">than</span> <span class="n">you</span> <span class="n">already</span> <span class="k">do</span><span class="p">,</span> <span class="n">it</span> <span class="n">does</span> <span class="n">tend</span> <span class="n">to</span> <span class="n">make</span> <span class="n">one</span> <span class="n">even</span> <span class="n">more</span> <span class="n">committed</span><span class="o">.</span> -<span class="n">Hence</span> <span class="n">you</span> <span class="n">will</span> <span class="n">probably</span> <span class="n">find</span> <span class="n">that</span> <span class="n">you</span> <span class="n">spend</span> <span class="n">more</span> <span class="nb">time</span> <span class="n">here</span><span class="o">.</span> +<span class="n">Being</span> <span class="n">a</span> <span class="n">committer</span> <span class="n">enables</span> <span class="n">you</span> <span class="n">to</span> <span class="n">more</span> <span class="n">easily</span> <span class="n">make</span> <span class="n">changes</span> <span class="ow">and</span> <span class="n">so</span> +<span class="ow">not</span> <span class="n">need</span> <span class="n">to</span> <span class="n">go</span> <span class="n">via</span> <span class="n">the</span> <span class="n">patch</span> <span class="n">submission</span> <span class="n">process</span><span class="o">.</span> <span class="n">This</span> <span class="n">should</span> +<span class="n">enable</span> <span class="n">you</span> <span class="n">to</span> <span class="n">be</span> <span class="n">more</span> <span class="n">productive</span><span class="o">.</span> <span class="n">Of</span> <span class="n">course</span><span class="p">,</span> <span class="n">you</span> <span class="n">can</span> <span class="n">decline</span> <span class="ow">and</span> <span class="n">instead</span> <span class="n">remain</span> <span class="n">as</span> <span class="n">a</span> <span class="n">developer</span><span class="p">,</span> <span class="n">contributing</span> <span class="n">as</span> <span class="n">you</span> <span class="k">do</span> <span class="n">now</span><span class="o">.</span> <span class="n">This</span> <span class="n">personal</span> <span class="n">email</span> <span class="n">is</span> <span class="n">also</span> <span class="n">providing</span> <span class="n">a</span> <span class="n">chance</span> <span class="k">for</span> <span class="n">you</span> <span class="n">to</span> <span class="n">decline</span> <span class="n">in</span> <span class="n">private</span><span class="o">.</span> <span class="n">Either</span> <span class="n">way</span><span class="p">,</span> <span class="n">please</span> <span class="n">let</span> <span class="n">us</span> <span class="n">know</span> <span class="n">in</span> <span class="n">reply</span> <span class="n">only</span> <span class="n">to</span> <span class="n">the</span> -<span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span> -</pre></div> - +<span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span> <span class="n">list</span><span class="o">.</span> <span class="n">If</span> <span class="n">you</span> <span class="n">agree</span><span class="p">,</span> <span class="k">then</span> <span class="n">we</span> <span class="n">will</span> <span class="n">announce</span> +<span class="n">on</span> <span class="n">the</span> <span class="n">dev</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span> <span class="n">list</span> <span class="n">after</span> <span class="n">the</span> <span class="n">account</span> <span class="n">is</span> <span class="n">established</span><span class="o">.</span> -<p>.a.o list. If you agree, then we will announce - on the dev@[PROJECT] -.a.o list after the account is established.</p> -<div class="codehilite"><pre><span class="n">Yours</span><span class="p">,</span> -<span class="n">The</span> <span class="n">Apache</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> -</pre></div> - - -<p>PMC</p> -<div class="codehilite"><pre><span class="o">------------------------------------------------------------------------</span> +<span class="n">Yours</span><span class="p">,</span> +<span class="n">The</span> <span class="n">Apache</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> <span class="n">PMC</span> </pre></div> <h2 id="committer_accept_template">Committer Accept Template</h2> -<div class="codehilite"><pre><span class="n">This</span> <span class="n">is</span> <span class="n">the</span> <span class="n">followup</span> <span class="n">email</span> <span class="n">after</span> <span class="n">they</span> <span class="n">have</span> <span class="n">accepted</span><span class="o">.</span> - -<span class="o">------------------------------------------------------------------------</span> +<p>This is the followup email after the new committer has accepted the invitation</p> +<div class="codehilite"><pre><span class="o">------------------------------------------------------------------------</span> <span class="n">To:</span> <span class="n">JoeBloggs</span><span class="nv">@foo</span><span class="o">.</span><span class="n">net</span> -<span class="n">Cc:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span> -</pre></div> - +<span class="n">Cc:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span> +<span class="n">Subject:</span> <span class="n">Re:</span> <span class="n">invitation</span> <span class="n">to</span> <span class="n">become</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> <span class="n">committer</span> -<p>.a.o - Subject: Re: invitation to become [PROJECT] - committer</p> -<div class="codehilite"><pre><span class="n">Welcome</span><span class="o">.</span> <span class="n">Here</span> <span class="n">are</span> <span class="n">the</span> <span class="k">next</span> <span class="n">steps</span><span class="o">.</span> <span class="n">After</span> <span class="n">that</span> <span class="n">we</span> <span class="n">will</span> <span class="n">make</span> -<span class="n">an</span> <span class="n">announcement</span> <span class="n">to</span> <span class="n">the</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> -</pre></div> +<span class="n">Welcome</span><span class="o">.</span> <span class="n">Here</span> <span class="n">are</span> <span class="n">the</span> <span class="k">next</span> <span class="n">steps</span><span class="o">.</span> <span class="n">After</span> <span class="n">that</span> <span class="n">we</span> <span class="n">will</span> <span class="n">make</span> +<span class="n">an</span> <span class="n">announcement</span> <span class="n">to</span> <span class="n">the</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span><span class="o">-</span><span class="n">dev</span> <span class="n">list</span><span class="o">.</span> - -<p>-dev list.</p> -<div class="codehilite"><pre><span class="n">You</span> <span class="n">need</span> <span class="n">to</span> <span class="nb">send</span> <span class="n">a</span> <span class="n">Contributor</span> <span class="n">License</span> <span class="n">Agreement</span> <span class="n">to</span> <span class="n">the</span> <span class="n">ASF</span><span class="o">.</span> +<span class="n">You</span> <span class="n">need</span> <span class="n">to</span> <span class="nb">send</span> <span class="n">a</span> <span class="n">Contributor</span> <span class="n">License</span> <span class="n">Agreement</span> <span class="n">to</span> <span class="n">the</span> <span class="n">ASF</span><span class="o">.</span> <span class="n">Normally</span> <span class="n">you</span> <span class="n">would</span> <span class="nb">send</span> <span class="n">an</span> <span class="n">Individual</span> <span class="n">CLA</span><span class="o">.</span> <span class="n">If</span> <span class="n">you</span> <span class="n">also</span> <span class="n">make</span> <span class="n">contributions</span> <span class="n">done</span> <span class="n">in</span> <span class="n">work</span> <span class="nb">time</span> <span class="ow">or</span> <span class="n">using</span> <span class="n">work</span> <span class="n">resources</span> <span class="k">then</span> <span class="n">see</span> <span class="n">the</span> <span class="n">Corporate</span> <span class="n">CLA</span><span class="o">.</span> <span class="n">Ask</span> <span class="n">us</span> <span class="k">if</span> <span class="n">you</span> <span class="n">have</span> <span class="n">any</span> <span class="n">issues</span><span class="o">.</span> @@ -308,7 +318,7 @@ our praise in public.</p> <span class="n">You</span> <span class="n">need</span> <span class="n">to</span> <span class="n">choose</span> <span class="n">a</span> <span class="n">preferred</span> <span class="n">ASF</span> <span class="n">user</span> <span class="n">name</span> <span class="ow">and</span> <span class="n">alternatives</span><span class="o">.</span> <span class="n">In</span> <span class="n">order</span> <span class="n">to</span> <span class="n">ensure</span> <span class="n">it</span> <span class="n">is</span> <span class="n">available</span> <span class="n">you</span> <span class="n">can</span> <span class="n">view</span> <span class="n">a</span> <span class="n">list</span> <span class="n">of</span> <span class="n">taken</span> <span class="n">ids</span> <span class="n">at</span> -<span class="n">http:</span><span class="sr">//</span><span class="n">www</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="sr">/~jim/commi</span><span class="n">tters</span><span class="o">.</span><span class="n">html</span> +<span class="n">http:</span><span class="sr">//</span><span class="n">people</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="o">/</span><span class="n">committer</span><span class="o">-</span><span class="nb">index</span><span class="o">.</span><span class="n">html</span> <span class="n">Please</span> <span class="n">notify</span> <span class="n">us</span> <span class="n">when</span> <span class="n">you</span> <span class="n">have</span> <span class="n">submitted</span> <span class="n">the</span> <span class="n">CLA</span> <span class="ow">and</span> <span class="n">by</span> <span class="n">what</span> <span class="n">means</span> <span class="n">you</span> <span class="n">did</span> <span class="n">so</span><span class="o">.</span> <span class="n">This</span> <span class="n">will</span> <span class="n">enable</span> <span class="n">us</span> <span class="n">to</span> <span class="n">monitor</span> <span class="n">its</span> <span class="n">progress</span><span class="o">.</span> @@ -316,63 +326,45 @@ our praise in public.</p> <span class="n">We</span> <span class="n">will</span> <span class="n">arrange</span> <span class="k">for</span> <span class="n">your</span> <span class="n">Apache</span> <span class="n">user</span> <span class="n">account</span> <span class="n">when</span> <span class="n">the</span> <span class="n">CLA</span> <span class="n">has</span> <span class="n">been</span> <span class="n">recorded</span><span class="o">.</span> -<span class="n">After</span> <span class="n">that</span> <span class="n">is</span> <span class="n">done</span><span class="p">,</span> <span class="n">please</span> <span class="n">make</span> <span class="n">followup</span> <span class="n">replies</span> <span class="n">to</span> <span class="n">the</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> -</pre></div> - - -<p>-dev list. - We generally discuss everything there and keep this private@[PROJECT] -.a.o list - for occasional matters which must be private.</p> -<div class="codehilite"><pre><span class="n">The</span> <span class="n">developer</span> <span class="n">section</span> <span class="n">of</span> <span class="n">the</span> <span class="n">website</span> <span class="n">describes</span> <span class="n">the</span> <span class="n">roles</span> -<span class="ow">and</span> <span class="n">provides</span> <span class="n">other</span> <span class="n">resources:</span> -<span class="n">http:</span><span class="sr">//</span><span class="n">www</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="sr">/foundation/</span><span class="n">how</span><span class="o">-</span><span class="n">it</span><span class="o">-</span><span class="n">works</span><span class="o">.</span><span class="n">html</span> -<span class="n">http:</span><span class="sr">//</span><span class="n">www</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="sr">/dev/</span> +<span class="n">After</span> <span class="n">that</span> <span class="n">is</span> <span class="n">done</span><span class="p">,</span> <span class="n">please</span> <span class="n">make</span> <span class="n">followup</span> <span class="n">replies</span> <span class="n">to</span> <span class="n">the</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span><span class="o">-</span><span class="n">dev</span> <span class="n">list</span><span class="o">.</span> +<span class="n">We</span> <span class="n">generally</span> <span class="n">discuss</span> <span class="n">everything</span> <span class="n">there</span> <span class="ow">and</span> <span class="n">keep</span> <span class="n">the</span> +<span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span> <span class="n">list</span> <span class="k">for</span> <span class="n">occasional</span> <span class="n">matters</span> <span class="n">which</span> <span class="n">must</span> <span class="n">be</span> <span class="n">private</span><span class="o">.</span> + +<span class="n">The</span> <span class="n">developer</span> <span class="n">section</span> <span class="n">of</span> <span class="n">the</span> <span class="n">website</span> <span class="n">describes</span> <span class="n">the</span> <span class="n">roles</span> <span class="ow">and</span> <span class="n">provides</span> <span class="n">other</span> +<span class="n">resources:</span> + <span class="n">http:</span><span class="sr">//</span><span class="n">www</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="sr">/foundation/</span><span class="n">how</span><span class="o">-</span><span class="n">it</span><span class="o">-</span><span class="n">works</span><span class="o">.</span><span class="n">html</span> + <span class="n">http:</span><span class="sr">//</span><span class="n">www</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="sr">/dev/</span> <span class="n">The</span> <span class="n">incubator</span> <span class="n">also</span> <span class="n">has</span> <span class="n">some</span> <span class="n">useful</span> <span class="n">information</span> <span class="k">for</span> <span class="k">new</span> <span class="n">committers</span> <span class="n">in</span> <span class="n">incubating</span> <span class="n">projects:</span> -<span class="n">http:</span><span class="sr">//i</span><span class="n">ncubator</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="sr">/guides/commi</span><span class="n">tter</span><span class="o">.</span><span class="n">html</span> -<span class="n">http:</span><span class="sr">//i</span><span class="n">ncubator</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="sr">/guides/</span><span class="n">ppmc</span><span class="o">.</span><span class="n">html</span> + <span class="n">http:</span><span class="sr">//i</span><span class="n">ncubator</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="sr">/guides/commi</span><span class="n">tter</span><span class="o">.</span><span class="n">html</span> + <span class="n">http:</span><span class="sr">//i</span><span class="n">ncubator</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="sr">/guides/</span><span class="n">ppmc</span><span class="o">.</span><span class="n">html</span> <span class="n">In</span> <span class="n">the</span> <span class="n">absence</span> <span class="n">of</span> <span class="k">our</span> <span class="n">own</span> <span class="n">guidelines</span> <span class="n">document</span> <span class="n">we</span> <span class="n">are</span> <span class="n">currently</span> <span class="n">using</span> <span class="n">those</span> <span class="n">developed</span> <span class="n">at</span> <span class="n">Apache</span> <span class="n">Forrest:</span> <span class="n">http:</span><span class="sr">//</span><span class="n">forrest</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="o">/</span><span class="n">guidelines</span><span class="o">.</span><span class="n">html</span> <span class="n">Yours</span><span class="p">,</span> -<span class="n">The</span> <span class="n">Apache</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> -</pre></div> - - -<p>PMC</p> -<div class="codehilite"><pre><span class="o">------------------------------------------------------------------------</span> +<span class="n">The</span> <span class="n">Apache</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> <span class="n">PMC</span> </pre></div> <h2 id="committer_create_template">Committer Create Template</h2> -<div class="codehilite"><pre><span class="n">Account</span> <span class="n">creation</span> <span class="n">email</span> <span class="k">for</span> <span class="k">new</span> <span class="n">committers</span><span class="o">.</span> - -<span class="n">Follow</span> <span class="n">the</span> <span class="n">instructions</span> <span class="n">at:</span> -<span class="n">http:</span><span class="sr">//</span><span class="n">www</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="sr">/dev/</span><span class="n">pmc</span><span class="o">.</span><span class="n">html</span><span class="c1">#newcommitter</span> - -<span class="n">Email</span> <span class="n">is</span> <span class="n">to</span> <span class="n">be</span> <span class="n">sent</span> <span class="n">to</span> <span class="n">root</span> <span class="o">*</span><span class="n">after</span><span class="o">*</span> <span class="n">the</span> <span class="n">CLA</span> <span class="n">is</span> <span class="n">registered</span><span class="o">.</span> -<span class="n">The</span> <span class="n">PMC</span> <span class="n">needs</span> <span class="n">to</span> <span class="n">monitor</span> <span class="n">iclas</span><span class="o">.</span><span class="n">txt</span> <span class="n">to</span> <span class="n">be</span> <span class="n">sure</span> <span class="n">that</span> <span class="n">the</span> <span class="n">CLA</span> -<span class="n">is</span> <span class="n">properly</span> <span class="n">received</span> <span class="n">before</span> <span class="n">sending</span> <span class="n">this</span> <span class="n">email</span><span class="o">.</span> <span class="n">See</span> <span class="n">above</span><span class="o">.</span> - -<span class="n">Don</span><span class="err">&#39;</span><span class="n">t</span> <span class="n">forget</span> <span class="n">to</span> <span class="n">add</span> <span class="n">their</span> <span class="n">name</span><span class="o">/</span><span class="n">email</span> <span class="n">in</span> <span class="n">the</span> <span class="n">email</span> <span class="n">headers</span> -<span class="ow">and</span> <span class="n">add</span> <span class="n">the</span> <span class="n">date</span><span class="o">/</span><span class="n">Message</span><span class="o">-</span><span class="n">Id</span> <span class="n">of</span> <span class="n">the</span> <span class="n">PMC</span> <span class="n">vote</span> <span class="n">summary</span><span class="o">.</span> - -<span class="n">If</span> <span class="n">the</span> <span class="k">new</span> <span class="n">member</span> <span class="n">is</span> <span class="n">already</span> <span class="n">a</span> <span class="n">committer</span><span class="p">,</span> <span class="k">then</span> <span class="n">just</span> <span class="n">need</span> -<span class="n">to</span> <span class="n">ask</span> <span class="n">root</span> <span class="n">to</span> <span class="n">add</span> <span class="n">them</span> <span class="n">to</span> <span class="n">the</span> <span class="n">UNIX</span> <span class="n">groups</span><span class="o">.</span> - -<span class="o">------------------------</span> <span class="n">snip</span> <span class="o">------------------------------</span> +<p>Follow the instructions at: + http://www.apache.org/dev/pmc.html#newcommitter</p> +<p>This email is to be sent to root <em>after</em> the CLA is registered. +The PMC needs to monitor iclas.txt to be sure that the CLA +is properly received before sending this email. See above.</p> +<p>Don't forget to add their name/email in the email headers +and add the date/Message-Id of the PMC vote summary.</p> +<p>If the new member is already a committer, then just need +to ask root to add them to the UNIX groups.</p> +<div class="codehilite"><pre><span class="o">------------------------</span> <span class="n">snip</span> <span class="o">------------------------------</span> <span class="n">To:</span> <span class="n">root</span><span class="nv">@apache</span><span class="o">.</span><span class="n">org</span> -<span class="n">Cc:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span> -</pre></div> +<span class="n">Cc:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="p">,</span> <span class="c1">###[email protected]</span> +<span class="n">Subject:</span> <span class="n">account</span> <span class="n">request:</span> <span class="c1">###Joe Bloggs</span> - -<p>.a.o, ###[email protected] - Subject: account request: ###Joe Bloggs</p> -<div class="codehilite"><pre><span class="n">Full</span> <span class="n">name:</span> <span class="o">...</span> +<span class="n">Full</span> <span class="n">name:</span> <span class="o">...</span> <span class="n">Preferred</span> <span class="n">userid:</span> <span class="o">...</span> <span class="p">[</span><span class="n">please</span> <span class="n">provide</span> <span class="n">acceptable</span> <span class="n">alternates</span><span class="o">!</span><span class="p">]</span> <span class="n">Forwarding</span> <span class="n">email</span> <span class="n">address:</span> <span class="o">...</span> @@ -380,33 +372,21 @@ our praise in public.</p> <span class="n">The</span> <span class="n">receipt</span> <span class="n">of</span> <span class="n">the</span> <span class="n">ICLA</span> <span class="n">was</span> <span class="n">recorded</span> <span class="n">yesterday</span><span class="o">.</span> -<span class="n">The</span> <span class="n">vote</span> <span class="n">was</span> <span class="n">conducted</span> <span class="n">on</span> <span class="n">the</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span> +<span class="n">The</span> <span class="n">vote</span> <span class="n">was</span> <span class="n">conducted</span> <span class="n">on</span> <span class="n">the</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span> <span class="n">list</span> +<span class="n">around</span> <span class="n">YYYY</span><span class="o">-</span><span class="n">MM</span><span class="o">-</span><span class="n">DD</span> <span class="c1">###</span> +<span class="n">Message</span><span class="o">-</span><span class="n">Id:</span> <span class="c1">###</span> </pre></div> -<p>.a.o list - around YYYY-MM-DD ### - Message-Id: ###</p> <h2 id="committer_announce_template">Committer Announce Template</h2> -<div class="codehilite"><pre><span class="n">This</span> <span class="n">is</span> <span class="n">the</span> <span class="n">email</span> <span class="n">to</span> <span class="n">announce</span> <span class="n">to</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> -</pre></div> - - -<p>-dev after the - followup acceptance.</p> -<div class="codehilite"><pre><span class="n">Replace</span> <span class="n">the</span> <span class="n">Joe</span> <span class="n">Blogs</span> <span class="n">in</span> <span class="n">the</span> <span class="n">subject</span><span class="p">,</span> <span class="n">the</span> <span class="c1">### in the body.</span> - -<span class="o">------------------------------------------------------------</span> -<span class="n">To:</span> <span class="n">dev</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span> -</pre></div> - +<p>This is the email to announce to [PROJECT]-dev once the account has been created.</p> +<div class="codehilite"><pre><span class="o">------------------------------------------------------------</span> +<span class="n">To:</span> <span class="n">dev</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span> +<span class="n">Subject:</span> <span class="k">new</span> <span class="n">committer:</span> <span class="c1">###Joe Bloggs</span> -<p>.a.o - Subject: new committer and PMC member: ###Joe Bloggs</p> -<div class="codehilite"><pre><span class="n">The</span> <span class="n">Project</span> <span class="n">Management</span> <span class="n">Committee</span> <span class="p">(</span><span class="n">PMC</span><span class="p">)</span> <span class="k">for</span> <span class="n">Apache</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> -<span class="n">has</span> <span class="n">asked</span> <span class="c1">#### ####### to become a committer and</span> -<span class="n">member</span> <span class="n">of</span> <span class="n">the</span> <span class="n">PMC</span><span class="p">,</span> <span class="ow">and</span> <span class="n">we</span> <span class="n">are</span> <span class="n">pleased</span> <span class="n">to</span> <span class="n">announce</span> <span class="n">that</span> -<span class="n">they</span> <span class="n">have</span> <span class="n">accepted</span><span class="o">.</span> +<span class="n">The</span> <span class="n">Project</span> <span class="n">Management</span> <span class="n">Committee</span> <span class="p">(</span><span class="n">PMC</span><span class="p">)</span> <span class="k">for</span> <span class="n">Apache</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> +<span class="n">has</span> <span class="n">asked</span> <span class="n">Joe</span> <span class="n">Bloggs</span> <span class="n">to</span> <span class="n">become</span> <span class="n">a</span> <span class="n">committer</span> <span class="ow">and</span> <span class="n">we</span> <span class="n">are</span> <span class="n">pleased</span> +<span class="n">to</span> <span class="n">announce</span> <span class="n">that</span> <span class="n">they</span> <span class="n">have</span> <span class="n">accepted</span><span class="o">.</span> <span class="c1">### add specific details here ###</span> @@ -418,46 +398,6 @@ our praise in public.</p> </pre></div> -<h2 id="board_template">Board Template</h2> -<div class="codehilite"><pre><span class="n">This</span> <span class="n">is</span> <span class="n">the</span> <span class="n">email</span> <span class="n">to</span> <span class="n">end</span> <span class="n">a</span> <span class="n">vote</span> <span class="k">for</span> <span class="n">a</span> <span class="k">new</span> <span class="n">PMC</span> <span class="n">member</span><span class="o">.</span> -<span class="n">We</span> <span class="k">do</span> <span class="n">this</span> <span class="n">on</span> <span class="n">the</span> <span class="p">[</span><span class="n">PROJECT</span><span class="p">]</span> -</pre></div> - - -<p>Private mailing list as that - is where the vote is held..</p> -<div class="codehilite"><pre><span class="o">------------------------------------------------------------</span> -<span class="n">To:</span> <span class="n">private</span><span class="nv">@</span><span class="err">[</span><span class="nv">PROJECT</span><span class="p">]</span> -</pre></div> - - -<p>.a.o - Subject: [RESULT] - [Vote] - new PMC member: Joe Bloggs</p> -<div class="codehilite"><pre><span class="n">The</span> <span class="n">vote</span> <span class="n">has</span> <span class="n">now</span> <span class="n">closed</span><span class="o">.</span> <span class="n">The</span> <span class="n">results</span> <span class="n">are:</span> - -<span class="n">Binding</span> <span class="n">Votes:</span> - -<span class="o">+</span><span class="mi">1</span> <span class="p">[</span><span class="n">TOTAL</span> <span class="n">BINDING</span> <span class="o">+</span><span class="mi">1</span> <span class="n">VOTES</span><span class="p">]</span> - <span class="mi">0</span> <span class="p">[</span><span class="n">TOTAL</span> <span class="n">BINDING</span> <span class="o">+</span><span class="mi">0</span><span class="o">/-</span><span class="mi">0</span> <span class="n">VOTES</span><span class="p">]</span> -<span class="o">-</span><span class="mi">1</span> <span class="p">[</span><span class="n">TOTAL</span> <span class="n">BINDING</span> <span class="o">-</span><span class="mi">1</span> <span class="n">VOTES</span><span class="p">]</span> - -<span class="p">[</span><span class="n">If</span> <span class="n">three</span> <span class="n">binding</span> <span class="o">+</span><span class="mi">1</span> <span class="ow">and</span> <span class="nb">no</span> <span class="n">binding</span> <span class="o">-</span><span class="mi">1</span><span class="p">]</span> - -<span class="n">The</span> <span class="n">vote</span> <span class="n">passes</span><span class="p">,</span> <span class="n">we</span> <span class="n">now</span> <span class="n">need</span> <span class="n">lazy</span> <span class="n">consensus</span> <span class="n">approval</span> <span class="n">from</span> <span class="n">the</span> <span class="n">IPMC</span><span class="o">.</span> <span class="n">This</span> -</pre></div> - - -<p>email - calls for that consensus.</p> -<div class="codehilite"><pre><span class="n">Consensus</span> <span class="n">period</span> <span class="n">ends</span> <span class="mi">72</span> <span class="n">hours</span> <span class="n">from</span> <span class="n">now</span><span class="p">,</span> <span class="n">i</span><span class="o">.</span><span class="n">e</span><span class="o">.</span> <span class="n">XYZ</span> <span class="n">UTC</span> <span class="n">on</span> <span class="n">YYYY</span><span class="o">-</span><span class="n">MM</span><span class="o">-</span><span class="n">DD</span> -<span class="n">http:</span><span class="sr">//</span><span class="n">www</span><span class="o">.</span><span class="n">timeanddate</span><span class="o">.</span><span class="n">com</span><span class="sr">/counters/c</span><span class="n">ustomcounter</span><span class="o">.</span><span class="n">html</span><span class="p">?</span><span class="n">year</span><span class="o">=</span><span class="n">YYYY</span><span class="o">&amp;</span><span class="n">month</span><span class="o">=</span><span class="n">MM</span><span class="o">&amp;</span><span class="n">day</span><span class="o">=</span><span class="n">DD</span><span class="o">&amp;</span><span class="n">hour</span><span class="o">=</span><span class="mi">0</span><span class="o">&amp;</span><span class="n">min</span><span class="o">=</span><span class="mi">0</span><span class="o">&amp;</span><span class="n">sec</span><span class="o">=</span><span class="mi">0</span><span class="o">&amp;</span><span class="n">p0</span><span c lass="o">=</span><span class="mi">0</span> - -<span class="o">------------------------------------------------------------</span> -</pre></div> - - <h2 id="committer_done_template">Committer Done Template</h2> <div class="codehilite"><pre><span class="n">After</span> <span class="n">the</span> <span class="n">committer</span> <span class="n">account</span> <span class="n">is</span> <span class="n">established</span><span class="o">.</span> From [email protected] Mon Jun 27 22:28:12 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 34EFA4803 for <[email protected]>; Mon, 27 Jun 2011 22:28:12 +0000 (UTC) Received: (qmail 31821 invoked by uid 500); 27 Jun 2011 22:28:12 -0000 Delivered-To: [email protected] Received: (qmail 31797 invoked by uid 500); 27 Jun 2011 22:28:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31790 invoked by uid 99); 27 Jun 2011 22:28:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2011 22:28:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2011 22:28:11 +0000 Received: from eris.apache.org (localhost [161.129.204.104]) by eris.apache.org (Postfix) with ESMTP id CFCA323889DA for <[email protected]>; Mon, 27 Jun 2011 22:27:50 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1140348 - /comdev/site/trunk/content/newcommitter.mdtext Date: Mon, 27 Jun 2011 22:27:50 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: rgardler Date: Mon Jun 27 22:27:50 2011 New Revision: 1140348 URL: http://svn.apache.org/viewvc?rev=1140348&view=rev Log: request account rather than create account) Modified: comdev/site/trunk/content/newcommitter.mdtext Modified: comdev/site/trunk/content/newcommitter.mdtext URL: http://svn.apache.org/viewvc/comdev/site/trunk/content/newcommitter.mdtext?rev=1140348&r1=1140347&r2=1140348&view=diff ============================================================================== --- comdev/site/trunk/content/newcommitter.mdtext (original) +++ comdev/site/trunk/content/newcommitter.mdtext Mon Jun 27 22:27:50 2011 @@ -60,7 +60,7 @@ If they accept, then do: 1. Accept the committer - note this assumes the committer is also to be a PMC member (templates/committerAccept.txt) 1. wait until we see that receipt of CLA is recorded -1. Create the committer account (template/committerCreate.txt) +1. Request creation of the committer account (template/committerCreate.txt) 1. now wait until root says it is done 1. chair to enable their svn access 1. add committer to the appropriate groups in Jira and CWiki From [email protected] Mon Jun 27 22:28:23 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 00DFF4804 for <[email protected]>; Mon, 27 Jun 2011 22:28:23 +0000 (UTC) Received: (qmail 31888 invoked by uid 500); 27 Jun 2011 22:28:22 -0000 Delivered-To: [email protected] Received: (qmail 31870 invoked by uid 500); 27 Jun 2011 22:28:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31862 invoked by uid 99); 27 Jun 2011 22:28:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2011 22:28:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2011 22:28:20 +0000 Received: from eris.apache.org (localhost [161.129.204.104]) by eris.apache.org (Postfix) with ESMTP id 1591C23889E0 for <[email protected]>; Mon, 27 Jun 2011 22:28:00 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r791691 - /websites/staging/community/trunk/content/newcommitter.html Date: Mon, 27 Jun 2011 22:28:00 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: buildbot Date: Mon Jun 27 22:27:59 2011 New Revision: 791691 Log: Staging update by buildbot Modified: websites/staging/community/trunk/content/newcommitter.html Modified: websites/staging/community/trunk/content/newcommitter.html ============================================================================== --- websites/staging/community/trunk/content/newcommitter.html (original) +++ websites/staging/community/trunk/content/newcommitter.html Mon Jun 27 22:27:59 2011 @@ -150,7 +150,7 @@ later in this document.</p> <li>Accept the committer - note this assumes the committer is also to be a PMC member (templates/committerAccept.txt)</li> <li>wait until we see that receipt of CLA is recorded</li> -<li>Create the committer account (template/committerCreate.txt)</li> +<li>Request creation of the committer account (template/committerCreate.txt)</li> <li>now wait until root says it is done</li> <li>chair to enable their svn access</li> <li>add committer to the appropriate groups in Jira and CWiki</li> From [email protected] Mon Jun 27 22:28:32 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 29B814815 for <[email protected]>; Mon, 27 Jun 2011 22:28:32 +0000 (UTC) Received: (qmail 33056 invoked by uid 500); 27 Jun 2011 22:28:32 -0000 Delivered-To: [email protected] Received: (qmail 33032 invoked by uid 500); 27 Jun 2011 22:28:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.community.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 33025 invoked by uid 99); 27 Jun 2011 22:28:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2011 22:28:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2011 22:28:30 +0000 Received: from eris.apache.org (localhost [161.129.204.104]) by eris.apache.org (Postfix) with ESMTP id 3C72123889E2 for <[email protected]>; Mon, 27 Jun 2011 22:28:09 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r791692 - in /websites/production/community: ./ content/newcommitter.html Date: Mon, 27 Jun 2011 22:28:09 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rgardler Date: Mon Jun 27 22:28:08 2011 New Revision: 791692 Log: Publishing merge to community site by rgardler Modified: websites/production/community/ (props changed) websites/production/community/content/newcommitter.html Propchange: websites/production/community/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Mon Jun 27 22:28:08 2011 @@ -1,2 +1,2 @@ /websites/staging/comdev/trunk:779592-779702 -/websites/staging/community/trunk:779703-791687 +/websites/staging/community/trunk:779703-791691 Modified: websites/production/community/content/newcommitter.html ============================================================================== --- websites/production/community/content/newcommitter.html (original) +++ websites/production/community/content/newcommitter.html Mon Jun 27 22:28:08 2011 @@ -150,7 +150,7 @@ later in this document.</p> <li>Accept the committer - note this assumes the committer is also to be a PMC member (templates/committerAccept.txt)</li> <li>wait until we see that receipt of CLA is recorded</li> -<li>Create the committer account (template/committerCreate.txt)</li> +<li>Request creation of the committer account (template/committerCreate.txt)</li> <li>now wait until root says it is done</li> <li>chair to enable their svn access</li> <li>add committer to the appropriate groups in Jira and CWiki</li>
From [email protected] Thu Nov 01 14:34:02 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42792 invoked from network); 1 Nov 2007 14:34:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Nov 2007 14:34:02 -0000 Received: (qmail 15784 invoked by uid 500); 1 Nov 2007 14:33:49 -0000 Delivered-To: [email protected] Received: (qmail 15756 invoked by uid 500); 1 Nov 2007 14:33:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 15745 invoked by uid 99); 1 Nov 2007 14:33:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2007 07:33:49 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ssc03.antenna.co.jp) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2007 14:34:09 +0000 Received: from [161.129.204.104] (server12.janis.or.jp [161.129.204.104]) by ssc03.antenna.co.jp (Postfix) with ESMTP id 439B51B71C10 for <[email protected]>; Thu, 1 Nov 2007 23:33:29 +0900 (JST) Message-ID: <[email protected]> Date: Thu, 01 Nov 2007 23:33:52 +0900 From: Toshihiko Makita <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20070809) MIME-Version: 1.0 To: [email protected] Subject: Invalid IDREF attribute error Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello! I'm using Xercces-J 2.9.1. I tried to validate the XML document that have two invalid IDREF type attribute 'xref' elements. <para>This is a test.<xref linkend="aaa"/><xref linkend="bbb"/></para> But Xeces reports only one error. 'An element with the identifier "bbb" must appear in the document.' Why Xerces does not report all of the unresolved IDREFs? Is this the limitation? Any suggestions are welcome. Thanks, Toshihiko Makita --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Nov 01 21:24:18 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87672 invoked from network); 1 Nov 2007 21:24:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Nov 2007 21:24:18 -0000 Received: (qmail 42865 invoked by uid 500); 1 Nov 2007 21:24:04 -0000 Delivered-To: [email protected] Received: (qmail 42609 invoked by uid 500); 1 Nov 2007 21:24:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 24225 invoked by uid 500); 1 Nov 2007 21:07:50 -0000 Delivered-To: [email protected] X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS,URIBL_BLACK X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=ybng60+T0eJpJ034WdbamHHnlx/6KRhoP+4bEeu60uY=; b=YIV6i//Zcuh6r2lcr/Bqg3WLOqdK4hQWHEhMYnluoeqAB45gm6NcEf60lgrohAh0tH0HSK/RY8x4UEWKACBP4MwiTpFFSjPPxCtc1q0vSwK4WNvtfjhhpJDaYmJ5dRDu5ty4il+1QByXyxDXaewafTZM5mZr7A4rcUsVpoDDrGA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=UW/Uc/V5EwBCPlgDGZFSQ/y12uWcFGLk4sYvARNR0K+aRK/mC3hniqxlyVcH4+Bq2UAPShIvF2Vam0m86ygmZ4Ffp1sLT2Tnu6428lQpxIBtDA6i+B+SckkFEuXtJ8lxJ6jTpCWXdICXn3Mx0glUYBEIwRK/PsYs2VJFADHioIc= Message-ID: <[email protected]> Date: Thu, 1 Nov 2007 17:07:28 -0400 From: "Amisha Popat" <[email protected]> To: [email protected] Subject: Regarding XML Schema on Linux MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_12922_27799360.1193951248124" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_12922_27799360.1193951248124 Content-Type: multipart/alternative; boundary="----=_Part_12923_28492371.1193951248124" ------=_Part_12923_28492371.1193951248124 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I have an xml for which I have written the XSD. The validation code is my servlet. My XML is not able to locate my XSD. They both are in the same directory. The servlet contains the method name validateCurrenciesXML which contains the validation code. The app server is weblogic. My classpath contains xerces.jar. JDK version is j2sdk1.4.2_13 Please find attached all the requried files. Please help Thanks & Regards, Amisha ------=_Part_12923_28492371.1193951248124 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <font size="2"> <p>Hi,</p> <div>I have an xml for which I have written the XSD. The validation code is my servlet. My XML is not able to locate my XSD. They both are in the same directory.</div> <div>The servlet contains the method name <font color="#0000ff" size="2">validateCurrenciesXML which contains the validation code.</font></div> <div>The app server is weblogic. My classpath contains xerces.jar. JDK version is j2sdk1.4.2_13</div> <div>&nbsp;</div> <div>Please find attached all the requried files.</div> <p>Please help</p> <p>Thanks &amp; Regards,</p> <p>Amisha</p></font> ------=_Part_12923_28492371.1193951248124-- ------=_Part_12922_27799360.1193951248124 Content-Type: text/plain; name=currencies.xsd Content-Transfer-Encoding: base64 X-Attachment-Id: f_f8hrbx31 Content-Disposition: attachment; filename=currencies.xsd PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iSVNPLTg4NTktMSIgPz4NCg0KPCEtLQ0KCUN1 cnJlbmNpZXMueG1sDQoJDQoJVGhpcyBpcyB0aGUgWE1MIFNjaGVtYSB1c2VkIGJ5IEN1cnJlbmNp ZXMueG1sDQoJDQoJQXV0aG9yOiAgQW1pc2hhIFBvcGF0DQoNCi0tPg0KPHhzOnNjaGVtYSB4bWxu czp4cz0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiDQoJdGFyZ2V0TmFtZXNwYWNl PSJodHRwOi8vd3d3LnVwcy5jb20vQ3VycmVuY2llc1NjaGVtYSINCgl4bWxuczp0bnM9Imh0dHA6 Ly93d3cudXBzLmNvbS9DdXJyZW5jaWVzU2NoZW1hIj4NCgkNCiANCjx4czplbGVtZW50IG5hbWU9 ImN1cnJlbmNpZXMiIHR5cGU9IkN1cnJlbmNpZXMiLz4NCg0KIDx4czpjb21wbGV4VHlwZSBuYW1l PSJDdXJyZW5jaWVzIiA+DQogIDx4czpzZXF1ZW5jZT4NCiAgIDx4czplbGVtZW50IG5hbWU9ImN1 cnJlbmN5IiB0eXBlPSJDdXJyZW5jeVR5cGUiIG1pbk9jY3Vycz0iMSIgbWF4T2NjdXJzPSJ1bmJv dW5kZWQiLz4NCiAgPC94czpzZXF1ZW5jZT4gDQogPC94czpjb21wbGV4VHlwZT4NCiANCiA8eHM6 Y29tcGxleFR5cGUgbmFtZT0iQ3VycmVuY3lUeXBlIiA+DQogIAk8eHM6YXR0cmlidXRlIG5hbWU9 ImRlc2NyaXB0aW9uIiB0eXBlPSJ4czpzdHJpbmciIHVzZT0icmVxdWlyZWQiLz4NCiAgICA8eHM6 YXR0cmlidXRlIG5hbWU9ImFscGhhIiB0eXBlPSJ4czpzdHJpbmciIHVzZT0icmVxdWlyZWQiLz4g DQogIAk8eHM6YXR0cmlidXRlIG5hbWU9Im51bWVyaWMiIHR5cGU9InhzOnN0cmluZyIgdXNlPSJy ZXF1aXJlZCIvPg0KICAJPHhzOmF0dHJpYnV0ZSBuYW1lPSJkZWNpbWFsUGxhY2VzIiB0eXBlPSJ4 czppbnRlZ2VyIiB1c2U9InJlcXVpcmVkIi8+ICANCiA8L3hzOmNvbXBsZXhUeXBlPg0KICAgICAg ICANCiAgICAgDQo8L3hzOnNjaGVtYT4NCg0KDQo= ------=_Part_12922_27799360.1193951248124 Content-Type: text/xml; name=currencies.xml Content-Transfer-Encoding: base64 X-Attachment-Id: f_f8hrc81u Content-Disposition: attachment; filename=currencies.xml PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iSVNPLTg4NTktMSIgPz4NCg0KPGN1cnJlbmNp ZXMgDQoJeG1sbnM9Imh0dHA6Ly93d3cudXBzLmNvbS9jdXJyZW5jaWVzIiANCgl4bWxuczp4c2k9 Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiANCgl4c2k6c2NoZW1h TG9jYXRpb249Imh0dHA6Ly93d3cudXBzLmNvbS9DdXJyZW5jaWVzU2NoZW1hIC9jY2xhbXAvaG9t ZS9kcms1cHNwL2NvbmZpZy9wY3MvY3VycmVuY2llcy54c2QiPg0KDQoJPGN1cnJlbmN5IGRlc2Ny aXB0aW9uPSJBdXN0cmFpbGlhbiBEb2xsYXIiIGFscGhhPSJBVUQiIG51bWVyaWM9IjAzNiIgZGVj aW1hbFBsYWNlcz0iMiIvPg0KCTxjdXJyZW5jeSBkZXNjcmlwdGlvbj0iQXVzdHJpYSBTY2hpbGxp bmciIGFscGhhPSJBVFMiIG51bWVyaWM9IjA0MCIgZGVjaW1hbFBsYWNlcz0iMiIvPg0KCTxjdXJy ZW5jeSBkZXNjcmlwdGlvbj0iQmVsZ2lhbiBGcmFuYyIgYWxwaGE9IkJFRiIgbnVtZXJpYz0iMDU2 IiBkZWNpbWFsUGxhY2VzPSIwIi8+DQoJPGN1cnJlbmN5IGRlc2NyaXB0aW9uPSJDYW5hZGlhbiBE b2xsYXIiIGFscGhhPSJDQUQiIG51bWVyaWM9IjEyNCIgZGVjaW1hbFBsYWNlcz0iMiIvPg0KCTxj dXJyZW5jeSBkZXNjcmlwdGlvbj0iQ2hpbGVhbiBQZXNvIiBhbHBoYT0iQ0xQIiBudW1lcmljPSIx NTIiIGRlY2ltYWxQbGFjZXM9IjIiLz4NCgk8Y3VycmVuY3kgZGVzY3JpcHRpb249IkNoaW5hIFl1 YW4gUmVubWluYmkiIGFscGhhPSJDTlkiIG51bWVyaWM9IjE1NiIgZGVjaW1hbFBsYWNlcz0iMCIv Pg0KCTxjdXJyZW5jeSBkZXNjcmlwdGlvbj0iQ2hpbmEgWXVhbiBSZW5taW5iaSIgYWxwaGE9IlJN QiIgbnVtZXJpYz0iMTU2IiBkZWNpbWFsUGxhY2VzPSIwIi8+DQoJPGN1cnJlbmN5IGRlc2NyaXB0 aW9uPSJDb2xvbWJpYW4gUGVzbyIgYWxwaGE9IkNPUCIgbnVtZXJpYz0iMTcwIiBkZWNpbWFsUGxh Y2VzPSIyIi8+DQoJPGN1cnJlbmN5IGRlc2NyaXB0aW9uPSJDemVjaCBLb3J1bmEiIGFscGhhPSJD WksiIG51bWVyaWM9IjIwMyIgZGVjaW1hbFBsYWNlcz0iMiIvPg0KCTxjdXJyZW5jeSBkZXNjcmlw dGlvbj0iRGFuaXNoIEtyb25lIiBhbHBoYT0iREtLIiBudW1lcmljPSIyMDgiIGRlY2ltYWxQbGFj ZXM9IjIiLz4NCgk8Y3VycmVuY3kgZGVzY3JpcHRpb249IkZpbmxhbmQgTWFya2thIiBhbHBoYT0i RklNIiBudW1lcmljPSIyNDYiIGRlY2ltYWxQbGFjZXM9IjIiLz4NCgk8Y3VycmVuY3kgZGVzY3Jp cHRpb249IkZyZW5jaCBGcmFuYyIgYWxwaGE9IkZSRiIgbnVtZXJpYz0iMjUwIiBkZWNpbWFsUGxh Y2VzPSIyIi8+DQoJPGN1cnJlbmN5IGRlc2NyaXB0aW9uPSJHZXJtYW4gRGV1dHNjaGUgTWFyayIg YWxwaGE9IkRFTSIgbnVtZXJpYz0iMjgwIiBkZWNpbWFsUGxhY2VzPSIyIi8+DQoJPGN1cnJlbmN5 IGRlc2NyaXB0aW9uPSJHcmVlayBEcmFjaG1hIiBhbHBoYT0iR1JEIiBudW1lcmljPSIzMDAiIGRl Y2ltYWxQbGFjZXM9IjAiLz4NCgk8Y3VycmVuY3kgZGVzY3JpcHRpb249IkhvbmcgS29uZyBEb2xs YXIiIGFscGhhPSJIS0QiIG51bWVyaWM9IjM0NCIgZGVjaW1hbFBsYWNlcz0iMiIvPg0KCTxjdXJy ZW5jeSBkZXNjcmlwdGlvbj0iSHVuZ2FyaWFuIEZvcmludCIgYWxwaGE9IkhVRiIgbnVtZXJpYz0i MzQ4IiBkZWNpbWFsUGxhY2VzPSIyIi8+DQoJPGN1cnJlbmN5IGRlc2NyaXB0aW9uPSJJbmRpYW4g UnVwZWUiIGFscGhhPSJJTlIiIG51bWVyaWM9IjM1NiIgZGVjaW1hbFBsYWNlcz0iMiIvPg0KCTxj dXJyZW5jeSBkZXNjcmlwdGlvbj0iSW5kb25lc2lhbiBSdXBpYWgiIGFscGhhPSJJRFIiIG51bWVy aWM9IjM2MCIgZGVjaW1hbFBsYWNlcz0iMiIvPg0KCTxjdXJyZW5jeSBkZXNjcmlwdGlvbj0iSXJp c2ggUG91bmQiIGFscGhhPSJJRVAiIG51bWVyaWM9IjM3MiIgZGVjaW1hbFBsYWNlcz0iMiIvPg0K CTxjdXJyZW5jeSBkZXNjcmlwdGlvbj0iTmV3IElzcmFlbGkgU2hlcWVsIiBhbHBoYT0iSUxTIiBu dW1lcmljPSIzNzYiIGRlY2ltYWxQbGFjZXM9IjIiLz4NCgk8Y3VycmVuY3kgZGVzY3JpcHRpb249 Ikl0YWxpYW4gTGlyYSIgYWxwaGE9IklUTCIgbnVtZXJpYz0iMzgwIiBkZWNpbWFsUGxhY2VzPSIw Ii8+DQoJPGN1cnJlbmN5IGRlc2NyaXB0aW9uPSJKYXBhbmVzZSBZZW4iIGFscGhhPSJKUFkiIG51 bWVyaWM9IjM5MiIgZGVjaW1hbFBsYWNlcz0iMCIvPg0KCTxjdXJyZW5jeSBkZXNjcmlwdGlvbj0i S29yZWFuIFdvbiIgYWxwaGE9IktSVyIgbnVtZXJpYz0iNDEwIiBkZWNpbWFsUGxhY2VzPSIwIi8+ DQoJPGN1cnJlbmN5IGRlc2NyaXB0aW9uPSJNYWxheXNpYW4gUmluZ2dpdCIgYWxwaGE9Ik1ZUiIg bnVtZXJpYz0iNDU4IiBkZWNpbWFsUGxhY2VzPSIyIi8+DQoJPGN1cnJlbmN5IGRlc2NyaXB0aW9u PSJNZXhpY2FuIFBlc28iIGFscGhhPSJNWE4iIG51bWVyaWM9IjQ4NCIgZGVjaW1hbFBsYWNlcz0i MiIvPg0KCTxjdXJyZW5jeSBkZXNjcmlwdGlvbj0iTmV0aGVybGFuZHMgR3VpbGRlciIgYWxwaGE9 Ik5MRyIgbnVtZXJpYz0iNTI4IiBkZWNpbWFsUGxhY2VzPSIyIi8+DQoJPGN1cnJlbmN5IGRlc2Ny aXB0aW9uPSJOZXcgWmVhbGFuZCBEb2xsYXIiIGFscGhhPSJOWkQiIG51bWVyaWM9IjU1NCIgZGVj aW1hbFBsYWNlcz0iMiIvPg0KCTxjdXJyZW5jeSBkZXNjcmlwdGlvbj0iTm9yd2VnaWFuIEtyb25l IiBhbHBoYT0iTk9LIiBudW1lcmljPSI1NzgiIGRlY2ltYWxQbGFjZXM9IjIiLz4NCgk8Y3VycmVu Y3kgZGVzY3JpcHRpb249IlBoaWxpcHBpbmUgUGVzbyIgYWxwaGE9IlBIUCIgbnVtZXJpYz0iNjA4 IiBkZWNpbWFsUGxhY2VzPSIyIi8+DQoJPGN1cnJlbmN5IGRlc2NyaXB0aW9uPSJQb3J0dWd1ZXNl IEVzY3VkbyIgYWxwaGE9IlBURSIgbnVtZXJpYz0iNjIwIiBkZWNpbWFsUGxhY2VzPSIwIi8+DQoJ PGN1cnJlbmN5IGRlc2NyaXB0aW9uPSJTaW5nYXBvcmUgRG9sbGFyIiBhbHBoYT0iU0dEIiBudW1l cmljPSI3MDIiIGRlY2ltYWxQbGFjZXM9IjIiLz4NCgk8Y3VycmVuY3kgZGVzY3JpcHRpb249IlNw YW5pc2ggUGVzZXRhIiBhbHBoYT0iRVNQIiBudW1lcmljPSI3MjQiIGRlY2ltYWxQbGFjZXM9IjAi Lz4NCgk8Y3VycmVuY3kgZGVzY3JpcHRpb249IlN3ZWRpc2ggS3JvbmEiIGFscGhhPSJTRUsiIG51 bWVyaWM9Ijc1MiIgZGVjaW1hbFBsYWNlcz0iMiIvPg0KCTxjdXJyZW5jeSBkZXNjcmlwdGlvbj0i U3dpc3MgRnJhbmMiIGFscGhhPSJDSEYiIG51bWVyaWM9Ijc1NiIgZGVjaW1hbFBsYWNlcz0iMiIv Pg0KCTxjdXJyZW5jeSBkZXNjcmlwdGlvbj0iVGhhaWxhbmQgQmFodCIgYWxwaGE9IlRIQiIgbnVt ZXJpYz0iNzY0IiBkZWNpbWFsUGxhY2VzPSIyIi8+DQoJPGN1cnJlbmN5IGRlc2NyaXB0aW9uPSJV bml0ZWQgQXJhYiBFbWlyYXRlcyBEaXJoYW0iIGFscGhhPSJBRUQiIG51bWVyaWM9Ijc4NCIgZGVj aW1hbFBsYWNlcz0iMiIvPg0KCTxjdXJyZW5jeSBkZXNjcmlwdGlvbj0iVHVya2lzaCBMaXJhIiBh bHBoYT0iVFJMIiBudW1lcmljPSI3OTIiIGRlY2ltYWxQbGFjZXM9IjIiLz4NCgk8Y3VycmVuY3kg ZGVzY3JpcHRpb249IkJyaXRpc2ggUG91bmQgU3RlcmxpbmciIGFscGhhPSJHQlAiIG51bWVyaWM9 IjgyNiIgZGVjaW1hbFBsYWNlcz0iMiIvPg0KCTxjdXJyZW5jeSBkZXNjcmlwdGlvbj0iVVMgRG9s bGFyIiBhbHBoYT0iVVNEIiBudW1lcmljPSI4NDAiIGRlY2ltYWxQbGFjZXM9IjIiLz4NCgk8Y3Vy cmVuY3kgZGVzY3JpcHRpb249IlZlbmV6dWVsYW4gQm9saXZhciIgYWxwaGE9IlZFQiIgbnVtZXJp Yz0iODYyIiBkZWNpbWFsUGxhY2VzPSIyIi8+DQoJPGN1cnJlbmN5IGRlc2NyaXB0aW9uPSJOZXcg VGFpd2FuIERvbGxhciIgYWxwaGE9IlRXRCIgbnVtZXJpYz0iOTAxIiBkZWNpbWFsUGxhY2VzPSIy Ii8+DQoJPGN1cnJlbmN5IGRlc2NyaXB0aW9uPSJFdXJvIiBhbHBoYT0iRVVSIiBudW1lcmljPSI5 NzgiIGRlY2ltYWxQbGFjZXM9IjIiLz4NCgk8Y3VycmVuY3kgZGVzY3JpcHRpb249IlBvbGlzaCBa bG90eSIgYWxwaGE9IlBMTiIgbnVtZXJpYz0iOTg1IiBkZWNpbWFsUGxhY2VzPSIyIi8+DQoJPGN1 cnJlbmN5IGRlc2NyaXB0aW9uPSJCcmF6aWxpYW4gUmVhbCIgYWxwaGE9IkJSTCIgbnVtZXJpYz0i OTg2IiBkZWNpbWFsUGxhY2VzPSIyIi8+DQoJPGN1cnJlbmN5IGRlc2NyaXB0aW9uPSJWaWV0bmFt IERvbmciIGFscGhhPSJWTkQiIG51bWVyaWM9IjcwNCIgZGVjaW1hbFBsYWNlcz0iMiIvPg0KCTxj dXJyZW5jeSBkZXNjcmlwdGlvbj0iTWFjYW8gUGF0YWNhIiBhbHBoYT0iTU9QIiBudW1lcmljPSI0 NDYiIGRlY2ltYWxQbGFjZXM9IjIiLz4NCgk8Y3VycmVuY3kgZGVzY3JpcHRpb249IlJ1c3NpYW4g UnVibGUiIGFscGhhPSJSVUIiIG51bWVyaWM9IjY0MyIgZGVjaW1hbFBsYWNlcz0iMiIvPg0KPC9j dXJyZW5jaWVzPg0K ------=_Part_12922_27799360.1193951248124 Content-Type: text/plain; name=PCSCurrencyServlet.java Content-Transfer-Encoding: base64 X-Attachment-Id: f_f8hrnqra Content-Disposition: attachment; filename=PCSCurrencyServlet.java cGFja2FnZSBjb20udXBzLnBheW1lbnRjb21wb25lbnQ7DQoNCmltcG9ydCBqYXZheC5zZXJ2bGV0 Lmh0dHAuKjsNCmltcG9ydCBqYXZheC5zZXJ2bGV0LlNlcnZsZXRDb25maWc7DQppbXBvcnQgamF2 YXguc2VydmxldC5TZXJ2bGV0RXhjZXB0aW9uOw0KaW1wb3J0IGphdmEuaW8uKjsNCmltcG9ydCBq YXZhLnV0aWwuKjsNCg0KaW1wb3J0IGNvbS51cHMud2ViYXBwY29tbW9uLmxvZ2dpbmcubG9nNGpj b21wYXRpYmxlLio7DQppbXBvcnQgY29tLnVwcy5wYXltZW50Y29tcG9uZW50LmZkbXNwYXltYW5j YXNzZXR0ZS5QQ1NDb25maWd1cmF0b3I7DQppbXBvcnQgb3JnLmFwYWNoZS5jb21tb25zLmRpZ2Vz dGVyLio7DQppbXBvcnQgb3JnLmFwYWNoZS5jb21tb25zLmNvbGxlY3Rpb25zLio7DQppbXBvcnQg Y29tLnVwcy5wYXltZW50Y29tcG9uZW50LmZkbXNwYXltYW5jYXNzZXR0ZS5DbGllbnQ7DQppbXBv cnQgY29tLnVwcy5wYXltZW50Y29tcG9uZW50LmZkbXNwYXltYW5jYXNzZXR0ZS5DbGllbnRDdXJy ZW5jeTsNCmltcG9ydCBjb20udXBzLnBheW1lbnRjb21wb25lbnQuZmRtc3BheW1hbmNhc3NldHRl LkNsaWVudENhcmQ7DQoNCmltcG9ydCBvcmcueG1sLnNheC5YTUxSZWFkZXI7DQppbXBvcnQgb3Jn LnhtbC5zYXguaGVscGVycy5EZWZhdWx0SGFuZGxlcjsNCmltcG9ydCBvcmcueG1sLnNheC5oZWxw ZXJzLlhNTFJlYWRlckZhY3Rvcnk7DQppbXBvcnQgb3JnLnhtbC5zYXguU0FYUGFyc2VFeGNlcHRp b247DQoNCnB1YmxpYyBjbGFzcyBQQ1NDdXJyZW5jeVNlcnZsZXQgZXh0ZW5kcyBIdHRwU2Vydmxl dA0Kew0KCXB1YmxpYyBzdGF0aWMgZmluYWwgTG9nZ2VyIGxvZ2dlciA9IExvZ2dlci5nZXRMb2dn ZXINCgkoImNvbS51cHMucGF5bWVudGNvbXBvbmVudC5QQ1NDdXJyZW5jeVNlcnZsZXQiKTsNCglw cml2YXRlIHN0YXRpYyBIYXNoTWFwIGNhcmRBbGxvdyA9IG5ldyBIYXNoTWFwKCk7DQoJcHJpdmF0 ZSBzdGF0aWMgSGFzaE1hcCBjYXJkRGVueSA9IG5ldyBIYXNoTWFwKCk7DQoJcHJpdmF0ZSBzdGF0 aWMgRW51bWVyYXRpb24gZW51bUFsbG93Ow0KDQoJUENTQ29uZmlndXJhdG9yIGNsaWVudENvbmZp Z3VyYXRpb25zID0gbnVsbDsJDQoJU3RyaW5nIGNsaWVudENvbmZpZ0RpciA9IG51bGw7CQkJDQoJ U3RyaW5nIGN1cnJlbmNpZXNDb25maWdGaWxlID0gbnVsbDsJDQoJU3RyaW5nIGN1cnJlbmNpZXNY c2RGaWxlID0gbnVsbDsNCgkvL1ZhcmlhYmxlcyBhZGRlZCBmb3IgdmFsaWRhdGluZyB0aGUgWE1M IHRocm91Z2ggU2NoZW1hDQoJU3RyaW5nIHBhcnNlckNsYXNzID0gIm9yZy5hcGFjaGUueGVyY2Vz LnBhcnNlcnMuU0FYUGFyc2VyIjsNCiAgICBTdHJpbmcgdmFsaWRhdGlvbkZlYXR1cmUNCiAgICAg ICA9ICJodHRwOi8veG1sLm9yZy9zYXgvZmVhdHVyZXMvdmFsaWRhdGlvbiI7DQogICAgU3RyaW5n IHNjaGVtYUZlYXR1cmUNCiAgICAgICA9ICJodHRwOi8vYXBhY2hlLm9yZy94bWwvZmVhdHVyZXMv dmFsaWRhdGlvbi9zY2hlbWEiOw0KDQoJcHVibGljIHZvaWQgaW5pdChTZXJ2bGV0Q29uZmlnIHNj KSB0aHJvd3MgU2VydmxldEV4Y2VwdGlvbgkNCgl7CQ0KCQl0cnkNCgkJewkJCQkJCQ0KCQkJbG9n Z2VyLmxvZyhVUFNMZXZlbC5JTkZPLCJCZWdpbiBDdXJyZW5jeVNlcnZsZXQgSW5pdGlhbGl6aW5n IFBheW1lbnQgU2VydmVyIik7CQkJDQoNCgkJCVByb3BlcnRpZXMgcHJvcHMgPSBuZXcgUHJvcGVy dGllcygpOw0KCQkJcHJvcHMubG9hZChuZXcgRmlsZUlucHV0U3RyZWFtKFN5c3RlbS5nZXRQcm9w ZXJ0eSgoInBjcy5jdXJyZW5jeXNlcnZsZXQuY29uZmlnLmZpbGUiKSkpKTsNCgkJCWNsaWVudENv bmZpZ0RpciA9IHByb3BzLmdldFByb3BlcnR5KCJjbGllbnRDb25maWdEaXIiKTsNCgkJCWN1cnJl bmNpZXNDb25maWdGaWxlID0gcHJvcHMuZ2V0UHJvcGVydHkoImN1cnJlbmNpZXNDb25maWdGaWxl Iik7CQ0KCQkJY3VycmVuY2llc1hzZEZpbGUgPSBwcm9wcy5nZXRQcm9wZXJ0eSgiY3VycmVuY2ll c1hzZEZpbGUiKTsNCgkJCWxvZ2dlci5sb2coVVBTTGV2ZWwuSU5GTywgInRlc3RpbmcgdGhlIHNj aGVtYSB2YWxpZGF0aW9uIik7DQoJCQkvL01ldGhvZCBpbnZva2VkIHRvIHZhbGlkYXRlIHRoZSBj dXJyZWNpZXMueG1sIGZpbGUuDQoJCQl2YWxpZGF0ZUN1cnJlbmNpZXNYTUwoY3VycmVuY2llc0Nv bmZpZ0ZpbGUpOw0KCQkJLy9NZXRob2QgaW52b2tlZCB0byB2YWxpZGF0ZSB0aGUgY2xpZW50IENv bmZpZyB4bWwgZmlsZXMuDQoJCQl2YWxpZGF0ZUNsaWVudFhNTCgpOw0KCQkJcmVhZENsaWVudENv bmZpZ0RhdGEoKTsNCgkJCXJlYWRDdXJyZW5jaWVzKCk7DQoJCQljbGllbnRDb25maWd1cmF0aW9u cy5zZXRGYXN0KCk7CQkJCQkJCQkJIAkJIAkJCQ0KCQkJUHJvcGVydGllcyBwcm9wQWxsb3cgPSBu ZXcgUHJvcGVydGllcygpOw0KCQkJRW51bWVyYXRpb24gZW51bUFsbG93ID0gcHJvcEFsbG93Lmtl eXMoKTsNCgkJCUxpc3QgYWxsb3dMaXN0OwkNCgkJCXByb3BBbGxvdy5sb2FkKG5ldyBGaWxlSW5w dXRTdHJlYW0oU3lzdGVtLmdldFByb3BlcnR5KCJwY3MuY2FyZHMuYWxsb3cuZmlsZSIpKSk7DQoN CgkJCXdoaWxlIChlbnVtQWxsb3cuaGFzTW9yZUVsZW1lbnRzKCkpIHsNCgkJCQlTdHJpbmcgcHJv cE5hbWUgPSAoU3RyaW5nKSBlbnVtQWxsb3cubmV4dEVsZW1lbnQoKTsNCgkJCQlTdHJpbmcgdG1w ID0gKFN0cmluZylwcm9wQWxsb3cuZ2V0UHJvcGVydHkocHJvcE5hbWUpOw0KCQkJCWFsbG93TGlz dCA9IG5ldyBBcnJheUxpc3QoKTsNCgkJCQlTdHJpbmdUb2tlbml6ZXIgc3QgPSBuZXcgU3RyaW5n VG9rZW5pemVyKHRtcCwgIjoiKTsNCgkJCQljYXJkQWxsb3cucHV0KHByb3BOYW1lLCBhbGxvd0xp c3QpOw0KCQkJCXdoaWxlIChzdC5oYXNNb3JlVG9rZW5zKCkpIGFsbG93TGlzdC5hZGQoc3QubmV4 dFRva2VuKCkpOw0KCQkJfQ0KCQkJUHJvcGVydGllcyBwcm9wRGVueSA9IG5ldyBQcm9wZXJ0aWVz KCk7DQoJCQlFbnVtZXJhdGlvbiBlbnVtRGVueSA9IHByb3BEZW55LmtleXMoKTsNCgkJCUxpc3Qg ZGVueUxpc3Q7DQoJCQ0KCQkJcHJvcERlbnkubG9hZChuZXcgRmlsZUlucHV0U3RyZWFtKFN5c3Rl bS5nZXRQcm9wZXJ0eSgicGNzLmNhcmRzLmRlbnkuZmlsZSIpKSk7DQoNCgkJCXdoaWxlIChlbnVt RGVueS5oYXNNb3JlRWxlbWVudHMoKSkgew0KCQkJCVN0cmluZyBwcm9wTmFtZSA9IChTdHJpbmcp IGVudW1EZW55Lm5leHRFbGVtZW50KCk7DQoJCQkJU3RyaW5nIHRtcCA9IChTdHJpbmcpcHJvcERl bnkuZ2V0UHJvcGVydHkocHJvcE5hbWUpOw0KCQkJCWRlbnlMaXN0ID0gbmV3IEFycmF5TGlzdCgp Ow0KCQkJCVN0cmluZ1Rva2VuaXplciBzdCA9IG5ldyBTdHJpbmdUb2tlbml6ZXIodG1wLCAiOiIp Ow0KCQkJCWNhcmREZW55LnB1dChwcm9wTmFtZSwgZGVueUxpc3QpOw0KCQkJCXdoaWxlIChzdC5o YXNNb3JlVG9rZW5zKCkpIGRlbnlMaXN0LmFkZChzdC5uZXh0VG9rZW4oKSk7DQoJCQl9DQoNCgkJ CWxvZ2dlci5sb2coVVBTTGV2ZWwuSU5GTywiRW5kIFNlcnZsZXQgSW5pdGlhbGl6aW5nIFBheW1l bnQgU2VydmVyIik7DQoJCX0NCgkJY2F0Y2goRXhjZXB0aW9uIGUpDQoJCXsNCgkJCWUucHJpbnRT dGFja1RyYWNlKCk7DQoJCX0JCQkJCQkNCgl9CQ0KDQoJcHVibGljIHZvaWQgZG9HZXQoSHR0cFNl cnZsZXRSZXF1ZXN0IHJlcSxIdHRwU2VydmxldFJlc3BvbnNlIHJlc3ApDQoJdGhyb3dzIFNlcnZs ZXRFeGNlcHRpb24samF2YS5pby5JT0V4Y2VwdGlvbgkNCgl7DQoJCVByaW50V3JpdGVyIG91dCA9 IG51bGw7DQoJCVN0cmluZyBjciA9ICJcclxuIjsgDQoJCVN0cmluZ0J1ZmZlciBkdGQgPSBuZXcg U3RyaW5nQnVmZmVyKCk7DQoJCXRyeQ0KCQl7CQ0KCQkJb3V0ID0gcmVzcC5nZXRXcml0ZXIoKTsg ICAJCQkgIAkJCQ0KCQkJZHRkLmFwcGVuZCgiPD94bWwgdmVyc2lvbj1cIjEuMFwiIGVuY29kaW5n PVwiVVRGLThcIj8+IiArIGNyKTsNCgkJCWR0ZC5hcHBlbmQoIjwhRE9DVFlQRSBtZXJjaGFudGRh dGEgWzwhRUxFTUVOVCBtZXJjaGFudGRhdGEgKGN1cnJlbmN5KSo+IiArIGNyKTsNCgkJCWR0ZC5h cHBlbmQoIjwhRUxFTUVOVCBjdXJyZW5jeSAoY29kZSxjb2RlQWxwaGEsZmxvb3JsaW1pdCxkZWNp bWFsUGxhY2VzLGNhcmRzKSo+IiArIGNyKTsJCSAgICANCgkJCWR0ZC5hcHBlbmQoIjwhRUxFTUVO VCBjb2RlICgjUENEQVRBKT4iICsgY3IpOwkNCgkJCWR0ZC5hcHBlbmQoIjwhRUxFTUVOVCBjb2Rl QWxwaGEgKCNQQ0RBVEEpPiIgKyBjcik7CQkJICAgIA0KCQkJZHRkLmFwcGVuZCgiPCFFTEVNRU5U IGZsb29ybGltaXQgKCNQQ0RBVEEpPiIgKyBjcik7CQkNCgkJCWR0ZC5hcHBlbmQoIjwhRUxFTUVO VCBkZWNpbWFsUGxhY2VzICgjUENEQVRBKT4iICsgY3IpOwkJICAgIA0KCQkJZHRkLmFwcGVuZCgi PCFFTEVNRU5UIGNhcmRzIChjYXJkdHlwZSspPiIgKyBjcik7CQkgICAgDQoJCQlkdGQuYXBwZW5k KCI8IUVMRU1FTlQgY2FyZHR5cGUgKCNQQ0RBVEEpPiIgKyBjcik7DQoJCQlkdGQuYXBwZW5kKCI8 IUFUVExJU1QgY2FyZHR5cGUiICsgY3IpOw0KCQkJZHRkLmFwcGVuZCgiICBtZXJjaGFudGlkIENE QVRBICNSRVFVSVJFRCIgKyBjcik7DQoJCQlkdGQuYXBwZW5kKCI+IiArIGNyKTsNCgkJCWR0ZC5h cHBlbmQoIl0+IiArIGNyKTsgICANCg0KCQkJQ2xpZW50IGMgPSBjbGllbnRDb25maWd1cmF0aW9u cy5nZXRDbGllbnQocmVxLmdldFBhcmFtZXRlcigiYXBwbGljYXRpb25JZCIpKTsNCg0KCQkJaWYg KGMgPT0gbnVsbCkNCgkJCXsNCgkJCQl0aHJvdyBuZXcgRXhjZXB0aW9uKCJJbnZhbGlkIENsaWVu dCIpOwkNCgkJCX0NCg0KCQkJU3RyaW5nIGNvdW50cnkgPSByZXEuZ2V0UGFyYW1ldGVyKCJjb3Vu dHJ5Iik7DQoNCgkJCVN0cmluZ0J1ZmZlciBzYiA9IG5ldyBTdHJpbmdCdWZmZXIoKTsNCg0KCQkJ VmVjdG9yIGNsaWVudEN1cnJzID0gYy5nZXRDdXJyZW5jaWVzKCk7DQoJCQlpbnQgY1NpemUgPSBj bGllbnRDdXJycy5zaXplKCk7DQoNCg0KCQkJc2IuYXBwZW5kKCI8bWVyY2hhbnRkYXRhPiIgKyBj cik7CQkJCQkNCgkJCWZvciAoaW50IGo9MDtqPGNTaXplO2orKykNCgkJCXsJCQkJCQ0KCQkJCXNi LmFwcGVuZCgiPGN1cnJlbmN5PiIgKyBjcik7DQoJCQkJQ2xpZW50Q3VycmVuY3kgY3VyciA9IA0K CQkJCQkoQ2xpZW50Q3VycmVuY3kpY2xpZW50Q3VycnMuZWxlbWVudEF0KGopOw0KDQoJCQkJc2Iu YXBwZW5kDQoJCQkJKCI8Y29kZT4iICsgDQoJCQkJCQljbGllbnRDb25maWd1cmF0aW9ucy5nZXRD dXJyZW5jeU51bWVyaWMNCgkJCQkJCShjdXJyLmdldEFscGhhQ29kZSgpKQ0KCQkJCQkJKyAiPC9j b2RlPiIgKyBjcik7CQkJCQkJCQ0KDQoJCQkJc2IuYXBwZW5kKCI8Y29kZUFscGhhPiIgKyBjdXJy LmdldEFscGhhQ29kZSgpICsgDQoJCQkJCQkiPC9jb2RlQWxwaGE+IiArIGNyKTsJCQkJCQkJCQkN Cg0KCQkJCXNiLmFwcGVuZCgiPGZsb29ybGltaXQ+IiArIGN1cnIuZ2V0Rmxvb3JMaW1pdCgpICsN CgkJCQkJCSI8L2Zsb29ybGltaXQ+IiArIGNyKTsJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJ DQoNCgkJCQlzYi5hcHBlbmQoIjxkZWNpbWFsUGxhY2VzPiIgKyANCgkJCQkJCWNsaWVudENvbmZp Z3VyYXRpb25zLmdldEN1cnJlbmN5RGVjaW1hbFBsYWNlcw0KCQkJCQkJKGN1cnIuZ2V0QWxwaGFD b2RlKCkpICsNCgkJCQkJCSI8L2RlY2ltYWxQbGFjZXM+IiArIGNyKTsNCg0KCQkJCVZlY3RvciBj YXJkcyA9IGN1cnIuZ2V0Q2FyZHMoKTsNCgkJCQlWZWN0b3IgdGVtcCA9IG5ldyBWZWN0b3IoKTsN CgkJCQlpbnQgY2FyZHNTaXplID0gY2FyZHMuc2l6ZSgpOw0KDQoJCQkJc2IuYXBwZW5kKCI8Y2Fy ZHM+IiArIGNyKTsNCgkJCQlmb3IgKGludCB4PTA7eDxjYXJkc1NpemU7eCsrKQ0KCQkJCXsJCQkJ CQkJCQkNCgkJCQkJQ2xpZW50Q2FyZCBjYyA9IChDbGllbnRDYXJkKWNhcmRzLmVsZW1lbnRBdCh4 KTsNCgkJCQkJDQoJCQkJCS8vUkZDIDMyNTkgLSBBZGRlZCBDb3VudHJ5DQoJCQkJCWJvb2xlYW4g YWxsb3dDYXJkID0gZmFsc2U7DQoJCQkJCWlmIChjb3VudHJ5ID09IG51bGwpIHsNCgkJCQkJCWFs bG93Q2FyZCA9IHRydWU7DQoJCQkJCX0NCgkJCQkJZWxzZSB7DQoJCQkJCQlMaXN0IGFsbG93ID0g KExpc3QpY2FyZEFsbG93LmdldChjYy5nZXROYW1lKCkpOw0KCQkJCQkJTGlzdCBkZW55ID0gKExp c3QpY2FyZERlbnkuZ2V0KGNjLmdldE5hbWUoKSk7DQoJCQkJCQkvKg0KCQkJCQkJICogRmlsdGVy IHRoZSBjYXJkIGxpc3QgYnkgY291bnRyeS4NCgkJCQkJCSAqIElmIHRoZXJlIGlzIE5PVCBhbiBh bGxvdyBsaXN0IGZvciB0aGUgY2FyZCwgb3IgdGhlcmUgaXMgYW4gYWxsb3cgbGlzdCBmb3IgdGhl IGNhcmQgYW5kIHRoZSBjb3VudHJ5IA0KCQkJCQkJICogbWF0Y2hlcyB0aGVuIHJldHVybiB0aGUg Y2FyZC4NCgkJCQkJCSAqIEhvd2V2ZXIsIGlmIHRoZXJlIGlzIE5PVCBhIGRlbnkgbGlzdCBmb3Ig dGhlIGNhcmQsIG9yIHRoZXJlIGlzIGEgZGVueSBsaXN0IGZvciB0aGUgY2FyZCwgDQoJCQkJCQkg KiBhbmQgdGhlIGNvdW50cnkgbWF0Y2hlcyB0aGVuIGRvIE5PVCByZXR1cm4gdGhlIGNhcmQuDQoJ CQkJCQkgKi8NCgkJCQkJCWlmICgoKGFsbG93ID09IG51bGwpIHx8IGFsbG93LmNvbnRhaW5zKGNv dW50cnkpICkgDQoJCQkJCQkJCSYmICgoZGVueSA9PSBudWxsKSB8fCAhKGRlbnkuY29udGFpbnMo Y291bnRyeSkpKSApIHsNCgkJCQkJCQlhbGxvd0NhcmQgPSB0cnVlOw0KCQkJCQkJfQ0KCQkJCQl9 DQoNCgkJCQkJCXNiLmFwcGVuZCgiPGNhcmR0eXBlPiIpOw0KCQkJCQkJc2IuYXBwZW5kKGNjLmdl dE5hbWUoKSArICIgbWVyY2hhbnRpZD0iKTsNCgkJCQkJCWlmICghYWxsb3dDYXJkKSB7DQoJCQkJ CQkJc2IuYXBwZW5kKCJYWFhYWFhYWFhYWCIpOw0KCQkJCQkJfQ0KCQkJCQkJZWxzZSBpZiAoY2Mu Z2V0RW5hYmxlZCgpKQ0KCQkJCQkJew0KCQkJCQkJCXNiLmFwcGVuZCgiMDAwMDAwMDAwMDAiKTsN CgkJCQkJCX0JCQ0KCQkJCQkJZWxzZQ0KCQkJCQkJew0KCQkJCQkJCXNiLmFwcGVuZCgiWlpaWlpa WlpaWloiKTsNCgkJCQkJCX0NCgkJCQkJCXNiLmFwcGVuZCgiPC9jYXJkdHlwZT4iICsgY3IpOw0K CQkJCQ0KCQkJCX0NCgkJCQlzYi5hcHBlbmQoIjwvY2FyZHM+IiArIGNyKTsJCQ0KCQkJCXNiLmFw cGVuZCgiPC9jdXJyZW5jeT4iICsgY3IpOw0KCQkJfQ0KCQkJc2IuYXBwZW5kKCI8L21lcmNoYW50 ZGF0YT4iICsgY3IpOwkNCg0KCQkJb3V0LnByaW50KGR0ZC50b1N0cmluZygpKTsNCgkJCW91dC5w cmludChzYi50b1N0cmluZygpKTsJICAgIAkJICAgIAkJICAgIA0KCQkJb3V0LmNsb3NlKCk7CQ0K CQl9DQoJCWNhdGNoKEV4Y2VwdGlvbiBlKQ0KCQl7IAkJCQ0KCQkJU3RyaW5nQnVmZmVyIHNiID0g bmV3IFN0cmluZ0J1ZmZlcigpOw0KDQoJCQlzYi5hcHBlbmQoIjxtZXJjaGFudGRhdGE+IiArIGNy KTsNCgkJCXNiLmFwcGVuZCgiPC9tZXJjaGFudGRhdGE+IiArIGNyKTsNCg0KCQkJb3V0LnByaW50 KGR0ZC50b1N0cmluZygpKTsNCgkJCW91dC5wcmludChzYi50b1N0cmluZygpKTsgICAJCQ0KDQoJ CQlsb2dnZXIubG9nDQoJCQkoVVBTTGV2ZWwuU0VWRVJFLCJkb0dldCgpIEVycm9yOiAiICsgZS50 b1N0cmluZygpKTsJCSAgIAkJCQ0KCQl9DQoJfQkNCgkNCgl2b2lkIHJlYWRDbGllbnRDb25maWdE YXRhKCkgdGhyb3dzIEV4Y2VwdGlvbg0KCXsNCgkJdHJ5DQoJCXsNCgkJCWNsaWVudENvbmZpZ3Vy YXRpb25zID0gbmV3IFBDU0NvbmZpZ3VyYXRvcigpOw0KCQkJRmlsZSBjb25maWdEaXIgPSBuZXcg RmlsZShjbGllbnRDb25maWdEaXIpOw0KCQkJaWYgKGNvbmZpZ0Rpci5pc0RpcmVjdG9yeSgpKQ0K CQkJew0KCQkJCVN0cmluZyBbXSBjbGllbnRDb25maWdGaWxlcyA9IGNvbmZpZ0Rpci5saXN0KCk7 DQoNCgkJCQlmb3IgKGludCBpPTA7aTxjbGllbnRDb25maWdGaWxlcy5sZW5ndGg7aSsrKQ0KCQkJ CXsNCgkJCQkJRmlsZSB0ZW1wID0gbmV3IEZpbGUNCgkJCQkJKGNsaWVudENvbmZpZ0RpcixjbGll bnRDb25maWdGaWxlc1tpXSk7DQoNCgkJCQkJaWYgKHRlbXAuaXNGaWxlKCkgJiYgdGVtcC5nZXRO YW1lKCkuZW5kc1dpdGgoIi54bWwiKSkNCgkJCQkJew0KCQkJCQkJRGlnZXN0ZXIgZGlnZXN0ZXIg PSBuZXcgRGlnZXN0ZXIoKTsJDQoJCQkJCQlkaWdlc3Rlci5wdXNoKGNsaWVudENvbmZpZ3VyYXRp b25zKTsNCg0KCQkJCQkJZGlnZXN0ZXIuYWRkT2JqZWN0Q3JlYXRlKCJjbGllbnRkYXRhL2NsaWVu dCIsDQoJCQkJCQkiY29tLnVwcy5wYXltZW50Y29tcG9uZW50LmZkbXNwYXltYW5jYXNzZXR0ZS5D bGllbnQiKTsNCgkJCQkJCWRpZ2VzdGVyLmFkZFNldFByb3BlcnRpZXMoImNsaWVudGRhdGEvY2xp ZW50Iik7DQoJCQkJCQlkaWdlc3Rlci5hZGRTZXROZXh0DQoJCQkJCQkoImNsaWVudGRhdGEvY2xp ZW50IiwiYWRkQ2xpZW50IiwNCgkJCQkJCSJjb20udXBzLnBheW1lbnRjb21wb25lbnQuZmRtc3Bh eW1hbmNhc3NldHRlLkNsaWVudCIpOwkJCQkJCQkJCQkJCQkNCg0KCQkJCQkJZGlnZXN0ZXIuYWRk T2JqZWN0Q3JlYXRlKCJjbGllbnRkYXRhL2NsaWVudC9jdXJyZW5jeSIsDQoJCQkJCQkiY29tLnVw cy5wYXltZW50Y29tcG9uZW50LmZkbXNwYXltYW5jYXNzZXR0ZS5DbGllbnRDdXJyZW5jeSIpOwkJ CQkNCgkJCQkJCWRpZ2VzdGVyLmFkZFNldFByb3BlcnRpZXMoImNsaWVudGRhdGEvY2xpZW50L2N1 cnJlbmN5Iik7DQoJCQkJCQlkaWdlc3Rlci5hZGRTZXROZXh0DQoJCQkJCQkoImNsaWVudGRhdGEv Y2xpZW50L2N1cnJlbmN5IiwiYWRkQ2xpZW50Q3VycmVuY3kiLA0KCQkJCQkJImNvbS51cHMucGF5 bWVudGNvbXBvbmVudC5mZG1zcGF5bWFuY2Fzc2V0dGUuQ2xpZW50Q3VycmVuY3kiKTsNCg0KCQkJ CQkJZGlnZXN0ZXIuYWRkQ2FsbE1ldGhvZCgiY2xpZW50ZGF0YS9jbGllbnQvY3VycmVuY3kvZmxv b3JMaW1pdCIsInNldEZsb29yTGltaXQiLCAxKTsJDQoJCQkJCQlkaWdlc3Rlci5hZGRDYWxsUGFy YW0oImNsaWVudGRhdGEvY2xpZW50L2N1cnJlbmN5L2Zsb29yTGltaXQiLCAwKTsJCQkJCQ0KDQoJ CQkJCQlkaWdlc3Rlci5hZGRDYWxsTWV0aG9kKCJjbGllbnRkYXRhL2NsaWVudC9jdXJyZW5jeS9k aXZpc2lvbk51bWJlciIsInNldERpdmlzaW9uTnVtYmVyIiwgMSk7CQ0KCQkJCQkJZGlnZXN0ZXIu YWRkQ2FsbFBhcmFtKCJjbGllbnRkYXRhL2NsaWVudC9jdXJyZW5jeS9kaXZpc2lvbk51bWJlciIs IDApOwkJCQkJCQkJCQ0KDQoJCQkJCQlkaWdlc3Rlci5hZGRPYmplY3RDcmVhdGUoImNsaWVudGRh dGEvY2xpZW50L2N1cnJlbmN5L2NhcmRzL2NhcmRUeXBlIiwNCgkJCQkJCSJjb20udXBzLnBheW1l bnRjb21wb25lbnQuZmRtc3BheW1hbmNhc3NldHRlLkNsaWVudENhcmQiKTsJCQkJDQoJCQkJCQlk aWdlc3Rlci5hZGRTZXRQcm9wZXJ0aWVzKCJjbGllbnRkYXRhL2NsaWVudC9jdXJyZW5jeS9jYXJk cy9jYXJkVHlwZSIpOw0KCQkJCQkJZGlnZXN0ZXIuYWRkU2V0TmV4dA0KCQkJCQkJKCJjbGllbnRk YXRhL2NsaWVudC9jdXJyZW5jeS9jYXJkcy9jYXJkVHlwZSIsImFkZENsaWVudENhcmQiLA0KCQkJ CQkJImNvbS51cHMucGF5bWVudGNvbXBvbmVudC5mZG1zcGF5bWFuY2Fzc2V0dGUuQ2xpZW50Q2Fy ZCIpOwkJCQkNCg0KCQkJCQkJbG9nZ2VyLmxvZyhVUFNMZXZlbC5JTkZPLCJEaWdlc3RpbmcgIiAr IHRlbXApOw0KDQoJCQkJCQlkaWdlc3Rlci5wYXJzZShuZXcgRmlsZUlucHV0U3RyZWFtKHRlbXAp KTsJCQkJCQ0KCQkJCQl9CQkJCQkJCQkJDQoJCQkJfQ0KCQkJCWNsaWVudENvbmZpZ3VyYXRpb25z LnNldEZhc3QoKTsNCgkJCX0JCQ0KCQl9DQoJCWNhdGNoKEV4Y2VwdGlvbiBlKQ0KCQl7CQkNCgkJ CWxvZ2dlci5sb2cNCgkJCShVUFNMZXZlbC5TRVZFUkUsIkVycm9yIHJldHJpZXZpbmcgY2xpZW50 IGNvbmZpZyBkYXRhOiAiICsgZS50b1N0cmluZygpKTsJCQ0KCQl9CQkJDQoJfSANCg0KCQ0KCXZv aWQgcmVhZEN1cnJlbmNpZXMoKSB0aHJvd3MgQ0NBdXRob3JpemF0aW9uRXhjZXB0aW9uDQoJew0K CQl0cnkNCgkJew0KCQkJRGlnZXN0ZXIgZGlnZXN0ZXIgPSBuZXcgRGlnZXN0ZXIoKTsJDQoJCQlk aWdlc3Rlci5wdXNoKGNsaWVudENvbmZpZ3VyYXRpb25zKTsNCg0KCQkJZGlnZXN0ZXIuYWRkQ2Fs bE1ldGhvZCgiY3VycmVuY2llcy9jdXJyZW5jeSIsImFkZEN1cnJlbmN5IiwgNCk7CQ0KCQkJZGln ZXN0ZXIuYWRkQ2FsbFBhcmFtKCJjdXJyZW5jaWVzL2N1cnJlbmN5IiwgMCwiZGVzY3JpcHRpb24i KTsJCQ0KCQkJZGlnZXN0ZXIuYWRkQ2FsbFBhcmFtKCJjdXJyZW5jaWVzL2N1cnJlbmN5IiwgMSwi YWxwaGEiKTsJCQ0KCQkJZGlnZXN0ZXIuYWRkQ2FsbFBhcmFtKCJjdXJyZW5jaWVzL2N1cnJlbmN5 IiwgMiwibnVtZXJpYyIpOwkJICAgIAkJICAgICAgICAJCSAgICANCgkJCWRpZ2VzdGVyLmFkZENh bGxQYXJhbSgiY3VycmVuY2llcy9jdXJyZW5jeSIsIDMsImRlY2ltYWxQbGFjZXMiKTsJCSAgICAJ CSAgICAgICAgCQkgICAgDQoNCgkJCWRpZ2VzdGVyLnBhcnNlKG5ldyBGaWxlSW5wdXRTdHJlYW0o Y3VycmVuY2llc0NvbmZpZ0ZpbGUpKTsJCQ0KCQl9DQoJCWNhdGNoKEV4Y2VwdGlvbiBlKQ0KCQl7 DQoJCQllLnByaW50U3RhY2tUcmFjZSgpOw0KDQoJCQlsb2dnZXIubG9nDQoJCQkoVVBTTGV2ZWwu U0VWRVJFLCJFcnJvciByZXRyaWV2aW5nIGN1cnJlbmN5IGRhdGE6ICIgKyBlLnRvU3RyaW5nKCkp OwkJDQoJCX0JDQoJfQkJDQoJDQoJLy9NZXRob2QgYWRkZWQgZm9yIHZhbGlkYXRpbmcgY3VycmVj aWVzLlhNTCBmaWxlIHdpdGggc2NoZW1hDQoJcHJpdmF0ZSB2b2lkIHZhbGlkYXRlQ3VycmVuY2ll c1hNTChTdHJpbmcgY3VycmVuY3lGaWxlKSB0aHJvd3MgRXhjZXB0aW9uDQoJew0KCQlsb2dnZXIu bG9nKFVQU0xldmVsLklORk8sInZhbGlkYXRlQ3VycmVuY2llc1hNTCBtZXRob2QgaXMgaW52b2tl ZDoiKTsNCgkJICAgICAgDQoJICAgICAgdHJ5IHsNCgkgICAgICAJIFhNTFJlYWRlciByID0gWE1M UmVhZGVyRmFjdG9yeS5jcmVhdGVYTUxSZWFkZXIocGFyc2VyQ2xhc3MpOw0KCSAgICAgICAgIHIu c2V0RmVhdHVyZSh2YWxpZGF0aW9uRmVhdHVyZSx0cnVlKTsNCgkgICAgICAgICByLnNldEZlYXR1 cmUoc2NoZW1hRmVhdHVyZSx0cnVlKTsNCgkgICAgICAgICAvL3Iuc2V0RXJyb3JIYW5kbGVyKG5l dyBYbWxFcnJvckhhbmRsZXJFeGNlcHRpb24oKSk7DQoJICAgICAgICAgbG9nZ2VyLmxvZyhVUFNM ZXZlbC5JTkZPLCJwcm9wZXJ0aWVzIGFyZSB0byBiZSBzZXQiKTsNCgkgICAgICAgIC8vIHIuc2V0 UHJvcGVydHkoImh0dHA6Ly9hcGFjaGUub3JnL3htbC9wcm9wZXJ0aWVzL2V4dGVybmFsLU5hbWVz cGFjZVNjZW1hTG9jYXRpb24iLA0KCSAgICAgICAgCS8vICJodHRwOi8vd3d3LnVwcy5jb20gaHR0 cDovL3d3dy51cHMuY29tL2N1cnJlbmNpZXNYc2RGaWxlIik7DQoJICAgICAgICAgbG9nZ2VyLmxv ZyhVUFNMZXZlbC5JTkZPLCJwcm9wZXJ0aWVzIGFyZSBzZXQiKTsNCgkgICAgICAgICByLnBhcnNl KGN1cnJlbmN5RmlsZSk7DQoJICAgICAgICAgbG9nZ2VyLmluZm8oIkN1cnJlbmNpZXMgRmlsZSIr IGN1cnJlbmN5RmlsZS50b1N0cmluZygpKTsNCgkgICAgICAgICBsb2dnZXIubG9nKFVQU0xldmVs LklORk8sICJQYXJzZSBvZiB0aGUgQ3VycmVuY2llcyBmaWxlIGlzIGNvbXBsZXRlZCIpOw0KCSAg ICAgIH0gY2F0Y2ggKFNBWFBhcnNlRXhjZXB0aW9uIGUpIHsNCgkgICAgCSBsb2dnZXIubG9nKFVQ U0xldmVsLklORk8sICJTYXhFeGNlcHRpb24gdGhyb3duIGZvciBjdXJyZW5jeSBmaWxlIik7IA0K CSAgICAJIGxvZ2dlci5sb2coVVBTTGV2ZWwuSU5GTywiICAgUHVibGljIElEOiAiK2UuZ2V0UHVi bGljSWQoKSk7DQoJICAgICAgICAgbG9nZ2VyLmxvZyhVUFNMZXZlbC5JTkZPLCIgICBTeXN0ZW0g SUQ6ICIrZS5nZXRTeXN0ZW1JZCgpKTsNCgkgICAgICAgICBsb2dnZXIubG9nKFVQU0xldmVsLklO Rk8sIiAgIExpbmUgbnVtYmVyOiAiK2UuZ2V0TGluZU51bWJlcigpKTsNCgkgICAgICAgICBsb2dn ZXIubG9nKFVQU0xldmVsLklORk8sIiAgIENvbHVtbiBudW1iZXI6ICIrZS5nZXRDb2x1bW5OdW1i ZXIoKSk7DQoJICAgICAgICAgbG9nZ2VyLmxvZyhVUFNMZXZlbC5JTkZPLCIgICBNZXNzYWdlOiAi K2UuZ2V0TWVzc2FnZSgpKTs7DQoJICAgICAgfSBjYXRjaCAoSU9FeGNlcHRpb24gZSkgew0KCSAg ICAJICBsb2dnZXIubG9nKFVQU0xldmVsLklORk8sICJJT0V4Y2VwdGlvbiB0aHJvd24gZm9yIGN1 cnJlbmN5IGZpbGUiKTsNCgkgICAgCSAgbG9nZ2VyLmxvZyhVUFNMZXZlbC5TRVZFUkUsZS50b1N0 cmluZygpKTsNCgkgICAgICB9DQoJICAgICANCgl9DQoNCgkvL01ldGhvZCBhZGRlZCBmb3IgdmFs aWRhdGluZyBjbGllbnQgY29uZmlnIFhNTCBmaWxlcyB3aXRoIHNjaGVtYQ0KCXByaXZhdGUgdm9p ZCB2YWxpZGF0ZUNsaWVudFhNTCgpIHRocm93cyBFeGNlcHRpb24NCgl7DQoJCWxvZ2dlci5sb2co VVBTTGV2ZWwuSU5GTywidmFsaWRhdGVDbGllbnRYTUwgbWV0aG9kIGlzIGludm9rZWQ6Iik7DQoJ CUZpbGUgU2luZ2xlWG1sRmlsZSA9IG51bGw7ICAgIA0KCSAgICAgIHRyeSB7DQoJICAgIAkgIAlG aWxlIGNvbmZpZ0RpciA9IG5ldyBGaWxlKGNsaWVudENvbmZpZ0Rpcik7DQoJICAJCQlpZiAoY29u ZmlnRGlyLmlzRGlyZWN0b3J5KCkpDQoJICAJCQl7DQoJICAJCQkJU3RyaW5nIFtdIGNsaWVudENv bmZpZ0ZpbGVzID0gY29uZmlnRGlyLmxpc3QoKTsNCg0KCSAgCQkJCWZvciAoaW50IGk9MDtpPGNs aWVudENvbmZpZ0ZpbGVzLmxlbmd0aDtpKyspDQoJICAJCQkJew0KCSAgCQkJCQlTaW5nbGVYbWxG aWxlID0gbmV3IEZpbGUNCgkgIAkJCQkJKGNsaWVudENvbmZpZ0RpcixjbGllbnRDb25maWdGaWxl c1tpXSk7DQoNCgkgIAkJCQkJaWYgKFNpbmdsZVhtbEZpbGUuaXNGaWxlKCkgJiYgU2luZ2xlWG1s RmlsZS5nZXROYW1lKCkuZW5kc1dpdGgoIi54bWwiKSkNCgkgIAkJCQkJew0KCQkJCQkgICAgICAJ IFhNTFJlYWRlciByID0gWE1MUmVhZGVyRmFjdG9yeS5jcmVhdGVYTUxSZWFkZXIocGFyc2VyQ2xh c3MpOw0KCQkJCQkgICAgICAgICByLnNldEZlYXR1cmUodmFsaWRhdGlvbkZlYXR1cmUsdHJ1ZSk7 DQoJCQkJCSAgICAgICAgIHIuc2V0RmVhdHVyZShzY2hlbWFGZWF0dXJlLHRydWUpOw0KCQkJCQkg ICAgICAgICAvL3Iuc2V0RXJyb3JIYW5kbGVyKG5ldyBYbWxFcnJvckhhbmRsZXJFeGNlcHRpb24o KSk7DQoJCQkJCSAgICAgICAgIHIucGFyc2UoU2luZ2xlWG1sRmlsZS50b1N0cmluZygpKTsNCgkJ CQkJICAgICAgICAgbG9nZ2VyLmxvZyhVUFNMZXZlbC5JTkZPLCJQYXJzaW5nIG9mICIgKyBTaW5n bGVYbWxGaWxlLmdldE5hbWUoKSsgIiBmaWxlIGlzIGNvbXBsZXRlZCIpOw0KCSAgCQkJCQl9DQoJ ICAJCQkJfQ0KCSAgCQkJfQ0KCSAgCQkJfSBjYXRjaCAoU0FYUGFyc2VFeGNlcHRpb24gZSkgew0K CSAgCQkJCWxvZ2dlci5sb2coVVBTTGV2ZWwuSU5GTywgIlNheEV4Y2VwdGlvbiB0aHJvd24gZm9y ICIgKyBTaW5nbGVYbWxGaWxlLmdldE5hbWUoKSsgImNsaWVudCBmaWxlIik7DQoJICAJCQkJbG9n Z2VyLmxvZyhVUFNMZXZlbC5JTkZPLCIgICBQdWJsaWMgSUQ6ICIrZS5nZXRQdWJsaWNJZCgpKTsN CgkgIAkJICAgICAgICBsb2dnZXIubG9nKFVQU0xldmVsLklORk8sIiAgIFN5c3RlbSBJRDogIitl LmdldFN5c3RlbUlkKCkpOw0KCSAgCQkgICAgICAgIGxvZ2dlci5sb2coVVBTTGV2ZWwuSU5GTywi ICAgTGluZSBudW1iZXI6ICIrZS5nZXRMaW5lTnVtYmVyKCkpOw0KCSAgCQkgICAgICAgIGxvZ2dl ci5sb2coVVBTTGV2ZWwuSU5GTywiICAgQ29sdW1uIG51bWJlcjogIitlLmdldENvbHVtbk51bWJl cigpKTsNCgkgIAkJICAgICAgICBsb2dnZXIubG9nKFVQU0xldmVsLklORk8sIiAgIE1lc3NhZ2U6 ICIrZS5nZXRNZXNzYWdlKCkpOw0KCQkJICAgIH0gY2F0Y2ggKElPRXhjZXB0aW9uIGUpIHsNCgkJ CSAgICAJbG9nZ2VyLmxvZyhVUFNMZXZlbC5JTkZPLCAiSU9FeGNlcHRpb24gdGhyb3duIGZvciBj bGllbnQgZmlsZSIpOw0KCQkJICAgICAgbG9nZ2VyLmxvZyhVUFNMZXZlbC5TRVZFUkUsZS50b1N0 cmluZygpKTsNCgkJCSAgICB9DQoJfQ0KfQ0K ------=_Part_12922_27799360.1193951248124 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] ------=_Part_12922_27799360.1193951248124-- From [email protected] Thu Nov 01 21:37:36 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94156 invoked from network); 1 Nov 2007 21:37:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Nov 2007 21:37:36 -0000 Received: (qmail 53740 invoked by uid 500); 1 Nov 2007 21:37:23 -0000 Delivered-To: [email protected] Received: (qmail 53720 invoked by uid 500); 1 Nov 2007 21:37:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 53709 invoked by uid 99); 1 Nov 2007 21:37:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2007 14:37:23 -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 (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO hobbes.hq.themunicenter.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2007 21:37:44 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C81CCF.48F2B0E3" Subject: RE: Regarding XML Schema on Linux X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Thu, 1 Nov 2007 17:36:38 -0400 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Regarding XML Schema on Linux Thread-Index: AcgczZV43xrkc13YR56mZGl6ygiwZQAAPuoA From: "Amanda Abbey" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C81CCF.48F2B0E3 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable One problem I see, although the code is commented out:=20 http://apache.org/xml/properties/external-NamespaceScemaLocation <http://apache.org/xml/properties/external-NamespaceScemaLocation> has a spelling error. Should be "SchemaLocation" when setting the property of your reader factory. Amanda=20 =20 ________________________________ From: Amisha Popat [mailto:[email protected]]=20 Sent: Thursday, November 01, 2007 5:07 PM To: [email protected] Subject: Regarding XML Schema on Linux =20 Hi, I have an xml for which I have written the XSD. The validation code is my servlet. My XML is not able to locate my XSD. They both are in the same directory. The servlet contains the method name validateCurrenciesXML which contains the validation code. The app server is weblogic. My classpath contains xerces.jar. JDK version is j2sdk1.4.2_13 =20 Please find attached all the requried files. Please help Thanks & Regards, Amisha ------_=_NextPart_001_01C81CCF.48F2B0E3 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} p {mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; font-size:12.0pt; font-family:"Times New Roman";} span.EmailStyle18 {mso-style-type:personal-reply; font-family:Arial; color:navy;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>One problem I see, although the = code is commented out: <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><a href=3D"http://apache.org/xml/properties/external-NamespaceScemaLocation"= >http://apache.org/xml/properties/external-Namespace<b><span style=3D'font-weight:bold'>Scema</span></b>Location</a> has a spelling = error. Should be &#8220;SchemaLocation&#8221; when setting the property of your reader factory.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Amanda = <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <div> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font = size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'> <hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1> </span></font></div> <p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma;font-weight:bold'>From:</span></font></b><font = size=3D2 face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'> = Amisha Popat [mailto:[email protected]] <br> <b><span style=3D'font-weight:bold'>Sent:</span></b> Thursday, November = 01, 2007 5:07 PM<br> <b><span style=3D'font-weight:bold'>To:</span></b> = [email protected]<br> <b><span style=3D'font-weight:bold'>Subject:</span></b> Regarding XML = Schema on Linux</span></font><o:p></o:p></p> </div> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> <p><font size=3D2 face=3D"Times New Roman"><span = style=3D'font-size:10.0pt'>Hi,<o:p></o:p></span></font></p> <div> <p class=3DMsoNormal><font size=3D2 face=3D"Times New Roman"><span = style=3D'font-size: 10.0pt'>I have an xml for which I have written the XSD. The validation = code is my servlet. My XML is not able to locate my XSD. They both are in the = same directory.<o:p></o:p></span></font></p> </div> <div> <p class=3DMsoNormal><font size=3D2 face=3D"Times New Roman"><span = style=3D'font-size: 10.0pt'>The servlet contains the method name <font color=3Dblue><span style=3D'color:blue'>validateCurrenciesXML which contains the validation = code.</span></font><o:p></o:p></span></font></p> </div> <div> <p class=3DMsoNormal><font size=3D2 face=3D"Times New Roman"><span = style=3D'font-size: 10.0pt'>The app server is weblogic. My classpath contains xerces.jar. = JDK version is j2sdk1.4.2_13<o:p></o:p></span></font></p> </div> <div> <p class=3DMsoNormal><font size=3D2 face=3D"Times New Roman"><span = style=3D'font-size: 10.0pt'>&nbsp;<o:p></o:p></span></font></p> </div> <div> <p class=3DMsoNormal><font size=3D2 face=3D"Times New Roman"><span = style=3D'font-size: 10.0pt'>Please find attached all the requried = files.<o:p></o:p></span></font></p> </div> <p><font size=3D2 face=3D"Times New Roman"><span = style=3D'font-size:10.0pt'>Please help<o:p></o:p></span></font></p> <p><font size=3D2 face=3D"Times New Roman"><span = style=3D'font-size:10.0pt'>Thanks &amp; Regards,<o:p></o:p></span></font></p> <p><font size=3D2 face=3D"Times New Roman"><span = style=3D'font-size:10.0pt'>Amisha<o:p></o:p></span></font></p> </div> </body> </html> ------_=_NextPart_001_01C81CCF.48F2B0E3-- From [email protected] Fri Nov 02 05:24:40 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38961 invoked from network); 2 Nov 2007 05:24:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Nov 2007 05:24:39 -0000 Received: (qmail 73946 invoked by uid 500); 2 Nov 2007 05:24:26 -0000 Delivered-To: [email protected] Received: (qmail 73926 invoked by uid 500); 2 Nov 2007 05:24:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 73915 invoked by uid 99); 2 Nov 2007 05:24:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2007 22:24:26 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO alnrmhc11.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2007 05:24:47 +0000 Received: from [161.129.204.104] (c-76-17-215-90.hsd1.mn.comcast.net[161.129.204.104]) by comcast.net (alnrmhc11) with ESMTP id <20071102052406b11002ppghe>; Fri, 2 Nov 2007 05:24:06 +0000 Message-ID: <[email protected]> Date: Fri, 02 Nov 2007 00:24:22 -0600 From: Jacob Kjome <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20070828) MIME-Version: 1.0 To: [email protected] Subject: Re: Regarding XML Schema on Linux References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Relayed-By: GPGrelay Version 0.959 (Win32) X-Virus-Checked: Checked by ClamAV on apache.org Look into using an EntityResolver [1]. Your schemaLocation points to a URL that doesn't resolve. You need to map that URL to a local resource. That's what the EntityResolver is for. [1] http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/EntityResolver.html Jake Amisha Popat wrote: > Hi, > > I have an xml for which I have written the XSD. The validation code is > my servlet. My XML is not able to locate my XSD. They both are in the > same directory. > The servlet contains the method name validateCurrenciesXML which > contains the validation code. > The app server is weblogic. My classpath contains xerces.jar. JDK > version is j2sdk1.4.2_13 > > Please find attached all the requried files. > > Please help > > Thanks & Regards, > > Amisha > > > ------------------------------------------------------------------------ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Nov 02 06:05:58 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43927 invoked from network); 2 Nov 2007 06:05:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Nov 2007 06:05:58 -0000 Received: (qmail 90944 invoked by uid 500); 2 Nov 2007 06:05:45 -0000 Delivered-To: [email protected] Received: (qmail 90927 invoked by uid 500); 2 Nov 2007 06:05:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 90916 invoked by uid 99); 2 Nov 2007 06:05:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2007 23:05:44 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO moutng.kundenserver.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2007 06:05:46 +0000 Received: from jeschken.quark.de (dslb-088-073-195-026.pools.arcor-ip.net [161.129.204.104]) by mrelayeu.kundenserver.de (node=mrelayeu1) with ESMTP (Nemesis) id 0MKwpI-1Inpel2Nez-0002aa; Fri, 02 Nov 2007 07:05:23 +0100 Date: Fri, 2 Nov 2007 06:05:28 +0100 From: Thomas Porschberg <[email protected]> To: <[email protected]> Subject: error check in sample SAXWriter Message-ID: <[email protected]> Organization: privat X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1+XIqTVY7Jwem4ygThYPGl9r3zuK8P8ytF5cVW /+f6s/DsG5h4PNL6jksTX9/cU/gBj2mTbgzQkIt8t2Iv8OS1FR O6plxTHrc5jnAIG464HD4GIVhyMjQlUoWab68dODNU= X-Virus-Checked: Checked by ClamAV on apache.org Hello Xercianer, I have to validate a XML file against a XSD and tried the java version of xerces for this task. I simply installed Xerces (2.8) and the sample-jar and called java sax.Writer -v -f -s foo.xml 1>/dev/null | grep Error I'm not interested in the output. Because I'm on Unix I redirect the output to /dev/null and I grep stderr for "Error" to detect all kind of errors. If the return code of grep is 0 then the XML file is not valid. My questions: 1. Is there a better java-xerces "tool" for doing that task (something like xmllint in java) ? (I missed the possibility to suppress the output via a command line switch.) 2. Is it reliable to grep for Error in stderr ? Are there situations there no Error-line is printed but the XML is still corrupt ? (The C++ version of Xerces comes with samples too and when I call SAX2Print ... I'm able to detect validation/parse errors via the return code of the program. This seems not the case with the java version.) Best regards, Thomas -- http://www.randspringer.de --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Nov 02 21:03:20 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39023 invoked from network); 2 Nov 2007 21:03:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Nov 2007 21:03:20 -0000 Received: (qmail 64838 invoked by uid 500); 2 Nov 2007 21:03:07 -0000 Delivered-To: [email protected] Received: (qmail 64813 invoked by uid 500); 2 Nov 2007 21:03:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 64802 invoked by uid 99); 2 Nov 2007 21:03:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2007 14:03:07 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e3.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2007 21:03:24 +0000 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [161.129.204.104]) by e3.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id lA2L2hKn005285 for <[email protected]>; Fri, 2 Nov 2007 17:02:43 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [161.129.204.104]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id lA2L2hEX139738 for <[email protected]>; Fri, 2 Nov 2007 17:02:43 -0400 Received: from d01av03.pok.ibm.com (loopback [161.129.204.104]) by d01av03.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id lA2L2hvq032192 for <[email protected]>; Fri, 2 Nov 2007 17:02:43 -0400 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av03.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id lA2L2gUM032175 for <[email protected]>; Fri, 2 Nov 2007 17:02:42 -0400 In-Reply-To: <[email protected]> Subject: Re: complexType with simpleContent facet violation message not helpful To: [email protected] X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Fri, 2 Nov 2007 17:01:12 -0400 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 11/02/2007 17:01:13 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Hi Ron, We weren't assigning an anonymous type name to the simple type. I just committed a fix for that. If you pickup the current code from SVN you should get "#AnonType_Comment2Type" instead of "null" as the type name in the error message. Thanks. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] Ron Gavlin <[email protected]> wrote on 10/30/2007 04:58:01 PM: > I have a maxLength facet on a complexType with simpleContent that > extends a base complexType. Schema validation performed by the > included program with the included schemas & xml file results in the > stack trace listed below. Note the message refers to the relevant > anonymous type as [type 'null'] which is not helpful. In this case, > a more helpful error message would refer to either the complexType > name itself or its base type name. Should I open a JIRA for this issue? > > STACK TRACE: > > org.xml.sax.SAXParseException: cvc-maxLength-valid: Value ' > commentZZZZZZZZZZZZZZZZZZ > ' with length = '30' is not facet-valid with respect to > maxLength '20' for type 'null'. > at org.apache.xerces.util.ErrorHandlerWrapper. > createSAXParseException(Unknown Source) > at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) > at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) > at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) > at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) <snip/> > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Nov 02 21:29:36 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46549 invoked from network); 2 Nov 2007 21:29:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Nov 2007 21:29:36 -0000 Received: (qmail 91856 invoked by uid 500); 2 Nov 2007 21:29:22 -0000 Delivered-To: [email protected] Received: (qmail 91847 invoked by uid 500); 2 Nov 2007 21:29:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 91836 invoked by uid 99); 2 Nov 2007 21:29:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2007 14:29:22 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e1.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2007 21:29:44 +0000 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [161.129.204.104]) by e1.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id lA2LT0wi025050 for <[email protected]>; Fri, 2 Nov 2007 17:29:00 -0400 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [161.129.204.104]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id lA2LSxBY500406 for <[email protected]>; Fri, 2 Nov 2007 17:28:59 -0400 Received: from d01av01.pok.ibm.com (loopback [161.129.204.104]) by d01av01.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id lA2LSxmF017363 for <[email protected]>; Fri, 2 Nov 2007 17:28:59 -0400 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av01.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id lA2LSx9t017353 for <[email protected]>; Fri, 2 Nov 2007 17:28:59 -0400 In-Reply-To: <[email protected]> Subject: Re: Invalid IDREF attribute error To: [email protected] X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Fri, 2 Nov 2007 17:27:28 -0400 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 11/02/2007 17:27:30 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Hi Toshihiko, This is currently a limitation. The class Xerces uses for checking ID/IDREF is only capable of returning the first IDREF found without a matching ID value. Thakns. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] Toshihiko Makita <[email protected]> wrote on 11/01/2007 10:33:52 AM: > Hello! > > I'm using Xercces-J 2.9.1. > > I tried to validate the XML document that have two invalid IDREF type > attribute 'xref' elements. > > <para>This is a test.<xref linkend="aaa"/><xref linkend="bbb"/></para> > > But Xeces reports only one error. > > 'An element with the identifier "bbb" must appear in the document.' > > Why Xerces does not report all of the unresolved IDREFs? Is this the > limitation? > > Any suggestions are welcome. > > Thanks, > > Toshihiko Makita > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Nov 02 22:08:42 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60878 invoked from network); 2 Nov 2007 22:08:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Nov 2007 22:08:42 -0000 Received: (qmail 32760 invoked by uid 500); 2 Nov 2007 22:08:29 -0000 Delivered-To: [email protected] Received: (qmail 32539 invoked by uid 500); 2 Nov 2007 22:08:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32528 invoked by uid 99); 2 Nov 2007 22:08:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2007 15:08:28 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e2.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2007 22:08:29 +0000 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [161.129.204.104]) by e2.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id lA2M7g7R023056 for <[email protected]>; Fri, 2 Nov 2007 18:07:42 -0400 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [161.129.204.104]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id lA2M794x500444 for <[email protected]>; Fri, 2 Nov 2007 18:07:42 -0400 Received: from d01av02.pok.ibm.com (loopback [161.129.204.104]) by d01av02.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id lA2M798C009214 for <[email protected]>; Fri, 2 Nov 2007 18:07:09 -0400 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av02.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id lA2M798B009183 for <[email protected]>; Fri, 2 Nov 2007 18:07:09 -0400 In-Reply-To: <[email protected]> Subject: Re: error check in sample SAXWriter To: [email protected] X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Fri, 2 Nov 2007 18:05:38 -0400 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 11/02/2007 18:05:39 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Hi Thomas, The sample registers an ErrorHandler which prints every error reported to it to System.err; each line prefixed with "[Fatal Error]", "[Error]" or "[Warning]". If you grep for those you should catch every error / warning emitted by the parser. The regular output from the sample is written to System.out. You cannot suppress it unless you wrap your own program around it which redirects the output elsewhere. There's no command line switch for that. Thanks. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] Thomas Porschberg <[email protected]> wrote on 11/02/2007 01:05:28 AM: > Hello Xercianer, > > I have to validate a XML file against a XSD and tried the java version > of xerces for this task. > I simply installed Xerces (2.8) and the sample-jar and called > > java sax.Writer -v -f -s foo.xml 1>/dev/null | grep Error > > I'm not interested in the output. Because I'm on Unix I redirect > the output to /dev/null and I grep stderr for "Error" to detect > all kind of errors. If the return code of grep is 0 then the XML file > is not valid. > > My questions: > 1. Is there a better java-xerces "tool" for doing that task > (something like xmllint in java) ? > (I missed the possibility to suppress the output via a command line > switch.) > 2. Is it reliable to grep for Error in stderr ? Are there situations there no > Error-line is printed but the XML is still corrupt ? > (The C++ version of Xerces comes with samples too and when I call > SAX2Print ... I'm able to detect validation/parse errors via > the return code > of the program. This seems not the case with the java version.) > > Best regards, > Thomas > > -- > http://www.randspringer.de > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Nov 05 14:00:26 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81490 invoked from network); 5 Nov 2007 14:00:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Nov 2007 14:00:26 -0000 Received: (qmail 88117 invoked by uid 500); 5 Nov 2007 14:00:09 -0000 Delivered-To: [email protected] Received: (qmail 87763 invoked by uid 500); 5 Nov 2007 14:00:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 87696 invoked by uid 99); 5 Nov 2007 14:00:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2007 06:00:08 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e1.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2007 14:00:08 +0000 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [161.129.204.104]) by e1.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id lA5DxlG0007381; Mon, 5 Nov 2007 08:59:47 -0500 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [161.129.204.104]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id lA5DxlqY459902; Mon, 5 Nov 2007 08:59:47 -0500 Received: from d01av01.pok.ibm.com (loopback [161.129.204.104]) by d01av01.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id lA5DxlvA032149; Mon, 5 Nov 2007 08:59:47 -0500 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av01.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id lA5Dxl92032121; Mon, 5 Nov 2007 08:59:47 -0500 Subject: Fw: MarkMail: hosting Apache mailing list archives To: [email protected], [email protected], [email protected], [email protected] Cc: [email protected], [email protected] X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Mon, 5 Nov 2007 08:58:02 -0500 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 11/05/2007 08:58:02 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org FYI ... Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] Jason Hunter <[email protected]> wrote on 11/04/2007 10:56:51 PM: > PMCs, could you please send this announcement to your various users@ and > devs@ mailing lists, as appropriate for your particular community. > > And please, if you think it proper, add a link to MarkMail on your > project web site as an option for searching your project's email > archives. You can point to http://<project>.markmail.org. > > ---- > > (A forwarded email from Jason Hunter) > > For the last few months I've been working on a new project: a web > site for interacting with email archives. We're using, as the > site's initial content set, the public Apache mailing list archives > -- because Apache is the community I know best and I think people > here will find the site useful. We've loaded a bit over 4,000,000 > emails across 500 lists. > > http://apache.markmail.org > > As you'll see with the chart on the home page, one of our goals with > the site has been to focus heavily on analytics. We have lots of > graphs and counts, and you're able to use them to watch Apache's > historical growth and each individual project's growth. Every query > you write gets its own histogram chart. > > Another goal has been interactivity. Every search result screen gives > you lots of ways to refine your search (by sender, list, attachment > type, etc). Plus we did a lot with keyboard shortcuts. You can hit > "n" and "p" to move to the next and previous result and "j" and "k" to > move up and down the thread view. There's a lot of little things like > this. Plus if your result message includes Office or PDF files > they're in-line interactive too. > > http://apache.markmail.org/search/ext:ppt+axis > > Another goal has been to focus on community. We could have launched > MarkMail with 50,000,000 emails from many sources but I think it's > better to start with focus. In fact, I'll be at ApacheCon and the > Hackathon next week, along with my co-developer Ryan Grimm, > looking for people's suggestions and maybe on the spot adding in a > few of them. There's also potential to explore some fun one-off > analytics, too. > > As part of the focus on communities, we setup MarkMail so it > recognizes that Apache itself consists of many communities. If you go > to http://apache.markmail.org you search all Apache emails, but if you > go to http://struts.markmail.org then you're auto-limited to just > Struts lists. Same for tomcat, spamassassin, httpd, and so on. You > can always limit your search using "list:struts" in your query, but > using the domain handles that a bit more elegantly. > > I've been working on this a long time, and I'm so happy to be able to > share it with everyone. I hope you all find this useful! > > Notes on using the site: > > * Search using keywords as well as from:, subject:, extension:, and > list: constraints > > * The GUI doesn't yet expose it, but you can negate any search item, > like -subject:jira. > > * You can sort results by date by adding order:date-forward or > order:date-backward to your query > > * Remember to use "n" and "p" keyboard shortcuts to navigate the search > results > > * You're going to want JavaScript enabled > > If you'd like to send me private feedback I'm [email protected]. > > -jh- --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Nov 05 14:28:34 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89637 invoked from network); 5 Nov 2007 14:28:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Nov 2007 14:28:34 -0000 Received: (qmail 33909 invoked by uid 500); 5 Nov 2007 14:28:20 -0000 Delivered-To: [email protected] Received: (qmail 33523 invoked by uid 500); 5 Nov 2007 14:28:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 33510 invoked by uid 99); 5 Nov 2007 14:28:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2007 06:28:20 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e6.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2007 14:28:49 +0000 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [161.129.204.104]) by e6.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id lA5ETae2028790; Mon, 5 Nov 2007 09:29:36 -0500 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [161.129.204.104]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id lA5ES0xh461550; Mon, 5 Nov 2007 09:28:00 -0500 Received: from d01av01.pok.ibm.com (loopback [161.129.204.104]) by d01av01.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id lA5ES0dE015470; Mon, 5 Nov 2007 09:28:00 -0500 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av01.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id lA5ES05b015434; Mon, 5 Nov 2007 09:28:00 -0500 In-Reply-To: <[email protected]> Subject: Re: jar conflict causing java.lang.VerifyError To: [email protected] Cc: [email protected], bhodig <[email protected]> X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Mon, 5 Nov 2007 09:26:13 -0500 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 11/05/2007 09:26:14 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Hi, There's no release of Xerces which has both of those classes. Looks like you have copies of Xerces-J 1.x and 2.x on your classpath so it wouldn't surprise me if you ran into compatibility problems. Try replacing whatever jars you're using with the latest release [1]. Thanks. [1] http://xerces.apache.org/xerces2-j/download.cgi Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] bhodig <[email protected]> wrote on 11/02/2007 05:02:21 PM: > Hi, I am using xerces.jar and xerces-export.jar together which is causing the > following exception: > > java.lang.VerifyError: (class: [my class name here], method: executeService > signature: (Ljava/lang/String;)Lorg/w3c/dom/Document;) Incompatible object > argument for function call > > When I remove either jar from my classpath I get a ClassNotFoundException > respectively: > > xerces.jar: > org/apache/xerces/parsers/AbstractDOMParser > > xerces-export.jar: > org/apache/xerces/framework/XMLParser > > Does anybody know of a jar that contains both of these classes? Also, I > can't find the location of a jar that contains > org/apache/xerces/framework/XMLParser on this site, so if anybody knows > where that is located it would help. Thanks! --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Nov 05 19:19:58 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 32772 invoked from network); 5 Nov 2007 19:19:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Nov 2007 19:19:57 -0000 Received: (qmail 70428 invoked by uid 500); 5 Nov 2007 19:19:44 -0000 Delivered-To: [email protected] Received: (qmail 70409 invoked by uid 500); 5 Nov 2007 19:19:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 62038 invoked by uid 99); 5 Nov 2007 19:14:14 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF [email protected]) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.it; h=Received:X-YMail-OSG:Subject:From:Reply-To:To:Content-Type:Date:Message-Id:Mime-Version:X-Mailer:Content-Transfer-Encoding; b=VpGhM+5YToKdFNLjndrWwVJmP65vLteYWHYBXbT2unzk6n/yzNTAARzr+zOzq8oVDmI0kq2D2xnY3FCQVdI/p9yn1bG4pEKr3HlD23JpjMf6/DwqtlAo+2uBYBB6H5Q3Do4cwPehDDHoOiAalSDzAKbqgfUIp/Pz0yLalF32JAc= ; X-YMail-OSG: ByIjpZcVM1nNRC_Qa9eNh6su04KWbmNj6Li_QO9gHG5GS65SjgBIGJJkuO_.hztWvWJp3j5XxQ-- Subject: Parsing error with sax From: Andrea Cerisara <[email protected]> Reply-To: [email protected] To: [email protected] Content-Type: text/plain Date: Mon, 05 Nov 2007 20:07:29 +0100 Message-Id: <1194289649.6794.10.camel@musicalbox> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I' ve a problem in parsing a simple xml file of a web application. This is the file: <?xml version="1.0" encoding="UTF-8" ?> <properties> <image-base-url>/path/to/img</image-base-url> <css-base-url>/path/to/css</css-base-url> <js-base-url>/path/to/js</js-base-url> <html-base-url>/path/to/html</html-base-url> <dynamic-base-url>/path</dynamic-base-url> <log-file>file.log</log-file> <data-access> <datasource>dataSource</datasource> <query-resource>/path/to/file.xml</query-resource> </data-access> </properties> The file is loaded and parsed through Apache Digester: [...] Digester digester = new Digester(new *org.apache.xerces.parsers.SAXParser()*); digester.setValidating(false); digester.setClassLoader(Configurator.class.getClassLoader()); digester.addObjectCreate("properties", Configuration.class); digester.addSetProperties("properties"); digester.addCallMethod("properties/image-base-url", "setImageBaseUrl", 0); digester.addCallMethod("properties/css-base-url", "setCssBaseUrl", 0); [...] digester.parse(); And this is the problem: [email protected](Digester.java:3181) at org.apache.commons.digester.Digester.createSAXException(Digester.java:3207) at org.apache.commons.digester.Digester.endElement(Digester.java:1225) at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1398) at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1002) at org.apache.xerces.framework.XMLDocumentScanner $ContentDispatcher.dispatch(XMLDocumentScanner.java:1255) at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380) at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:900) at org.apache.commons.digester.Digester.parse(Digester.java:1805) e.getMessage(), where e is the instance of type MalformedURLException, reports this: *Error at line 14 char 51: null* The problem seems related to the row defined by <query-resource> tag, but the validation' tools I found in Xerces package don' t show any error: the document seems to be well formed. The same result if I add an embedded DTD and try to turn on validation in Digester. The xml tag reports an UTF-8 encoding and the file is actually saved with that encoding. I use these libraries: commons-digester-1.8 commons-lang-2.3 commons-collections-3.2 commons-lang-2.3 commons-logging-1.1 commons-validator-1.3.1 commons-beanutils-1.7.0 Xerces-J-bin.2.9.1 Any ideas? Thanks, Andrea. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Nov 05 19:32:41 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35751 invoked from network); 5 Nov 2007 19:32:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Nov 2007 19:32:41 -0000 Received: (qmail 86032 invoked by uid 500); 5 Nov 2007 19:32:29 -0000 Delivered-To: [email protected] Received: (qmail 85656 invoked by uid 500); 5 Nov 2007 19:32:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 85645 invoked by uid 99); 5 Nov 2007 19:32:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2007 11:32:28 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO web31308.mail.mud.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 05 Nov 2007 19:32:30 +0000 Received: (qmail 26857 invoked by uid 60001); 5 Nov 2007 19:32:09 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=Ce12oVxiKpTi1HR/uIoKle86GbiWO5rm3CckW3fqi++bQV7XGVYhbM4kZPL2JApMFq7kXcWwkcXUWvLMhGsitJGN70yUZO92WDpFAO0JU2dAM9QaQsln0EdJeu2HwTQmkERR3ZrOy/dVeXLdsalyluycVhKnRrlgK1aH7xyVdjc=; X-YMail-OSG: GufJuJIVM1lrhobZfEOtBh6NiJDdkf6E8AEdBTLsV4s_xeIhDXyegf5Mrtt1v4WtWxG0OjnSkKPnVBB7fsMi.maniupF Received: from [161.129.204.104] by web31308.mail.mud.yahoo.com via HTTP; Mon, 05 Nov 2007 11:32:09 PST X-Mailer: YahooMailRC/818.15 YahooMailWebService/0.7.152 Date: Mon, 5 Nov 2007 11:32:09 -0800 (PST) From: Ron Gavlin <[email protected]> Subject: Re: complexType with simpleContent facet violation message not helpful To: [email protected] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi Michael, Do you have an SVN commit # for this fix? Does Xerces publish nightly source and binary distribution builds anywhere that I can pick up rather than having to build Xerces myself from the SVN head? Thanks, - Ron ----- Original Message ---- From: Michael Glavassevich <[email protected]> To: [email protected] Sent: Friday, November 2, 2007 5:01:12 PM Subject: Re: complexType with simpleContent facet violation message not helpful Hi Ron, We weren't assigning an anonymous type name to the simple type. I just committed a fix for that. If you pickup the current code from SVN you should get "#AnonType_Comment2Type" instead of "null" as the type name in the error message. Thanks. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] Ron Gavlin <[email protected]> wrote on 10/30/2007 04:58:01 PM: > I have a maxLength facet on a complexType with simpleContent that > extends a base complexType. Schema validation performed by the > included program with the included schemas & xml file results in the > stack trace listed below. Note the message refers to the relevant > anonymous type as [type 'null'] which is not helpful. In this case, > a more helpful error message would refer to either the complexType > name itself or its base type name. Should I open a JIRA for this issue? > > STACK TRACE: > > org.xml.sax.SAXParseException: cvc-maxLength-valid: Value ' > commentZZZZZZZZZZZZZZZZZZ > ' with length = '30' is not facet-valid with respect to > maxLength '20' for type 'null'. > at org.apache.xerces.util.ErrorHandlerWrapper. > createSAXParseException(Unknown Source) > at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) > at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) > at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) > at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) <snip/> > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Nov 05 21:19:59 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75222 invoked from network); 5 Nov 2007 21:19:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Nov 2007 21:19:59 -0000 Received: (qmail 33382 invoked by uid 500); 5 Nov 2007 21:19:45 -0000 Delivered-To: [email protected] Received: (qmail 33367 invoked by uid 500); 5 Nov 2007 21:19:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 33356 invoked by uid 99); 5 Nov 2007 21:19:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2007 13:19:45 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e3.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2007 21:20:15 +0000 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [161.129.204.104]) by e3.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id lA5LJNkV021335 for <[email protected]>; Mon, 5 Nov 2007 16:19:23 -0500 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [161.129.204.104]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id lA5LJNCU127228 for <[email protected]>; Mon, 5 Nov 2007 16:19:23 -0500 Received: from d01av03.pok.ibm.com (loopback [161.129.204.104]) by d01av03.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id lA5LJNeS016896 for <[email protected]>; Mon, 5 Nov 2007 16:19:23 -0500 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av03.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id lA5LJNKp016887 for <[email protected]>; Mon, 5 Nov 2007 16:19:23 -0500 In-Reply-To: <[email protected]> Subject: Re: complexType with simpleContent facet violation message not helpful To: [email protected] X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Mon, 5 Nov 2007 16:17:36 -0500 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 11/05/2007 16:17:37 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Hi Ron, Ron Gavlin <[email protected]> wrote on 11/05/2007 02:32:09 PM: > Hi Michael, > > Do you have an SVN commit # for this fix? The SVN rev # is 591458. > Does Xerces publish > nightly source and binary distribution builds anywhere that I can > pick up rather than having to build Xerces myself from the SVN head? Gump builds Xerces as well as many other Apache projects daily. The latest binaries are available here [1] (built with Java 5 I think). > Thanks, > > - Ron Thanks. [1] http://vmgump.apache.org/gump/public-jars/xml-xerces2/jars/ Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Nov 05 21:53:19 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89064 invoked from network); 5 Nov 2007 21:53:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Nov 2007 21:53:19 -0000 Received: (qmail 79649 invoked by uid 500); 5 Nov 2007 21:53:05 -0000 Delivered-To: [email protected] Received: (qmail 79634 invoked by uid 500); 5 Nov 2007 21:53:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 79623 invoked by uid 99); 5 Nov 2007 21:53:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2007 13:53:05 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e3.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2007 21:53:34 +0000 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [161.129.204.104]) by e3.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id lA5LqirF025854 for <[email protected]>; Mon, 5 Nov 2007 16:52:44 -0500 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [161.129.204.104]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id lA5LqibG428640 for <[email protected]>; Mon, 5 Nov 2007 16:52:44 -0500 Received: from d01av03.pok.ibm.com (loopback [161.129.204.104]) by d01av03.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id lA5LqhCs022654 for <[email protected]>; Mon, 5 Nov 2007 16:52:43 -0500 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av03.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id lA5LqhQQ022635 for <[email protected]>; Mon, 5 Nov 2007 16:52:43 -0500 In-Reply-To: <1194289649.6794.10.camel@musicalbox> Subject: Re: Parsing error with sax To: [email protected] X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Mon, 5 Nov 2007 16:50:56 -0500 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 11/05/2007 16:50:57 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Hi Andrea, This is failing in Digester code but I'm not a user of that component so couldn't give you a clue as to why. One thing I noticed is the "org.apache.xerces.framework.*" classes in your stack trace. Those classes only exist in Xerces-J 1.x meaning you're not actually using Xerces-J 2.9.1. Have you tried asking your question on the Apache Commons mailing list [1]? I have a feeling you'll get a more useful answer there. Thanks. [1] http://commons.apache.org/mail-lists.html Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] Andrea Cerisara <[email protected]> wrote on 11/05/2007 02:07:29 PM: > Hi all, > > I' ve a problem in parsing a simple xml file of a web application. This > is the file: > > <?xml version="1.0" encoding="UTF-8" ?> > > <properties> > > <image-base-url>/path/to/img</image-base-url> > <css-base-url>/path/to/css</css-base-url> > <js-base-url>/path/to/js</js-base-url> > <html-base-url>/path/to/html</html-base-url> > <dynamic-base-url>/path</dynamic-base-url> > <log-file>file.log</log-file> > > <data-access> > <datasource>dataSource</datasource> > <query-resource>/path/to/file.xml</query-resource> > </data-access> > > </properties> > > The file is loaded and parsed through Apache Digester: > > [...] > Digester digester = new Digester(new > *org.apache.xerces.parsers.SAXParser()*); > > digester.setValidating(false); > digester.setClassLoader(Configurator.class.getClassLoader()); > digester.addObjectCreate("properties", Configuration.class); > digester.addSetProperties("properties"); > digester.addCallMethod("properties/image-base-url", "setImageBaseUrl", > 0); > digester.addCallMethod("properties/css-base-url", "setCssBaseUrl", 0); > > [...] > digester.parse(); > > And this is the problem: > > java.net.MalformedURLException > at > org.apache.commons.digester.Digester.createSAXException(Digester.java:3181) > at > org.apache.commons.digester.Digester.createSAXException(Digester.java:3207) > at org.apache.commons.digester.Digester.endElement(Digester.java:1225) > at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1398) > at > org.apache.xerces.validators.common.XMLValidator. > callEndElement(XMLValidator.java:1002) > at org.apache.xerces.framework.XMLDocumentScanner > $ContentDispatcher.dispatch(XMLDocumentScanner.java:1255) > at > org.apache.xerces.framework.XMLDocumentScanner. > parseSome(XMLDocumentScanner.java:380) > at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:900) > at org.apache.commons.digester.Digester.parse(Digester.java:1805) > > e.getMessage(), where e is the instance of type MalformedURLException, > reports this: *Error at line 14 char 51: null* > > The problem seems related to the row defined by <query-resource> tag, > but the validation' tools I found in Xerces package don' t show any > error: the document seems to be well formed. The same result if I add an > embedded DTD and try to turn on validation in Digester. > The xml tag reports an UTF-8 encoding and the file is actually saved > with that encoding. I use these libraries: > > commons-digester-1.8 > commons-lang-2.3 > commons-collections-3.2 > commons-lang-2.3 > commons-logging-1.1 > commons-validator-1.3.1 > commons-beanutils-1.7.0 > Xerces-J-bin.2.9.1 > > Any ideas? > > Thanks, > Andrea. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Nov 06 21:11:18 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96303 invoked from network); 6 Nov 2007 21:11:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Nov 2007 21:11:17 -0000 Received: (qmail 8645 invoked by uid 500); 6 Nov 2007 21:11:04 -0000 Delivered-To: [email protected] Received: (qmail 8621 invoked by uid 500); 6 Nov 2007 21:11:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 8610 invoked by uid 99); 6 Nov 2007 21:11:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2007 13:11:04 -0800 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: local policy) Received: from [161.129.204.104] (HELO mail.retrievalsystems.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2007 21:11:07 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C820B9.7FF35156" X-MimeOLE: Produced By Microsoft Exchange V6.5 Subject: Split CDATA Sections and the division Symbol (x00f7) Date: Tue, 6 Nov 2007 16:10:45 -0500 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Split CDATA Sections and the division Symbol (x00f7) thread-index: AcgguX9kv/67Tg6/SNK69qU+4VI0lg== From: "Steve Carton" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C820B9.7FF35156 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable I'm trying to figure out if this is a bug or not. I created a DOM with an element with a CDATA section and I set the value to a String of characters which include a division symbol (xF7). (I actually do this by reading the characters in from a file and converting them from bytes to a String specifying a Windows-1252 encoding.) When I serialize this DOM out to a String, byte array or anything else, the CData section is split around the division symbol and the division symbol is emitted as an entity (&#xF7;). I do try to serialize this as UTF-8.=20 =20 I see in the documentation that this is the correct behavior when the serializer encounters a Unicode character that isn't recognized; not sure if this means not recognized in the Unicode (internal) form or there is no UTF-8 equivalent. But x00F7 seems to be the correct Unicode value for a division symbol and there is a UTF-8 encoding for it. Other "special" characters seem to serialize to UTF-8 without this split.=20 =20 I can send code. I've tried this on the latest Xerces-J. Anyone have any thoughts about it? =20 Thanks, =20 Steve Carton ------_=_NextPart_001_01C820B9.7FF35156 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <META content=3D"MSHTML 6.00.6000.16544" name=3DGENERATOR></HEAD> <BODY> <DIV><SPAN class=3D847240121-06112007><FONT face=3DArial size=3D2>I'm = trying to figure=20 out if this is a bug or not. I created&nbsp;a DOM with an element with a = CDATA=20 section and I set the value to a String of characters which include a = division=20 symbol (xF7). (I actually do this by reading the characters in from a = file and=20 converting them from bytes to a String specifying a Windows-1252 = encoding.) When=20 I serialize this DOM out to&nbsp;a String, byte array or anything else, = the=20 CData section is split around the division symbol and the division = symbol is=20 emitted as an entity (&amp;#xF7;). I do try to serialize this as=20 UTF-8.&nbsp;</FONT></SPAN></DIV> <DIV><SPAN class=3D847240121-06112007><FONT face=3DArial=20 size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=3D847240121-06112007><FONT face=3DArial size=3D2>I see = in the=20 documentation that this is the correct behavior when the serializer = encounters a=20 Unicode character that isn't recognized; not sure if this means not = recognized=20 in the Unicode (internal) form or there is no UTF-8 equivalent. = But&nbsp;x00F7=20 seems to be the correct Unicode value for a division symbol and there is = a UTF-8=20 encoding for it.&nbsp; Other "special" characters seem to serialize to = UTF-8=20 without this split. </FONT></SPAN></DIV> <DIV><SPAN class=3D847240121-06112007><FONT face=3DArial=20 size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=3D847240121-06112007><FONT face=3DArial size=3D2>I can = send code.=20 I've tried this on the latest Xerces-J. Anyone have any thoughts about=20 it?</FONT></SPAN></DIV> <DIV><SPAN class=3D847240121-06112007><FONT face=3DArial=20 size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=3D847240121-06112007><FONT face=3DArial=20 size=3D2>Thanks,</FONT></SPAN></DIV> <DIV><SPAN class=3D847240121-06112007><FONT face=3DArial=20 size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=3D847240121-06112007><FONT face=3DArial size=3D2>Steve=20 Carton</FONT></SPAN></DIV></BODY></HTML> ------_=_NextPart_001_01C820B9.7FF35156-- From [email protected] Wed Nov 07 14:46:18 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17012 invoked from network); 7 Nov 2007 14:46:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Nov 2007 14:46:17 -0000 Received: (qmail 38352 invoked by uid 500); 7 Nov 2007 14:46:05 -0000 Delivered-To: [email protected] Received: (qmail 37969 invoked by uid 500); 7 Nov 2007 14:46:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 37958 invoked by uid 99); 7 Nov 2007 14:46:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 06:46:04 -0800 X-ASF-Spam-Status: No, hits=-2.0 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e3.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 14:46:04 +0000 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [161.129.204.104]) by e3.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id lA7EjgRe012642 for <[email protected]>; Wed, 7 Nov 2007 09:45:42 -0500 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [161.129.204.104]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id lA7EjgFe116392 for <[email protected]>; Wed, 7 Nov 2007 09:45:42 -0500 Received: from d01av01.pok.ibm.com (loopback [161.129.204.104]) by d01av01.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id lA7EjggS029579 for <[email protected]>; Wed, 7 Nov 2007 09:45:42 -0500 Received: from internet1.lotus.com (internet1.lotus.com [161.129.204.104]) by d01av01.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id lA7EjfHC029554 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <[email protected]>; Wed, 7 Nov 2007 09:45:42 -0500 Received: from wtfmail05.lotus.com (wtfmail05.lotus.com [161.129.204.104]) by internet1.lotus.com (8.14.1/8.14.1) with ESMTP id lA7Ejfl6026563 for <[email protected]>; Wed, 7 Nov 2007 09:45:41 -0500 (EST) In-Reply-To: <[email protected]> Subject: Re: Split CDATA Sections and the division Symbol (x00f7) To: [email protected] X-Mailer: Lotus Notes Build V701_11072005NP November 07, 2005 Message-ID: <[email protected]> From: [email protected] Date: Wed, 7 Nov 2007 09:43:18 -0500 X-MIMETrack: Serialize by Router on WTFMAIL05/WTF/M/Lotus(Build V801_M1_10252007|October 25, 2007) at 11/07/2007 09:47:23 AM MIME-Version: 1.0 Content-type: multipart/alternative; Boundary="0__=0ABBF91FDFC3F0D88f9e8a93df938690918c0ABBF91FDFC3F0D8" Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org --0__=0ABBF91FDFC3F0D88f9e8a93df938690918c0ABBF91FDFC3F0D8 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: quoted-printable For what it's worth, 0xF7 is one of the characters which both the XML 1= .0 and 1.1 recommendations suggest should be avoided by document authors. = "? They are either control characters or permanently undefined Unicode characters" (http://www.w3.org/TR/REC-xml/#charsets) ______________________________________ "... Three things see no end: A loop with exit code done wrong, A semaphore untested, And the change that comes along. ..." -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish (http://www.ovff.org/pegasus/songs/threes-rev-11.html)= --0__=0ABBF91FDFC3F0D88f9e8a93df938690918c0ABBF91FDFC3F0D8 Content-type: text/html; charset=US-ASCII Content-Disposition: inline Content-transfer-encoding: quoted-printable <html><body> <p>For what it's worth, 0xF7 is one of the characters which both the XM= L 1.0 and 1.1 recommendations suggest should be avoided by document aut= hors. &quot;<font size=3D"4">They are either control characters or perm= anently undefined Unicode characters</font>&quot; (<a href=3D"http://ww= w.w3.org/TR/REC-xml/#charsets">http://www.w3.org/TR/REC-xml/#charsets</= a>)<br> <br> ______________________________________<br> &quot;... Three things see no end: A loop with exit code done wrong,<br= > A semaphore untested, And the change that comes along. ...&quot;<br> -- &quot;Threes&quot; Rev 1.1 - Duane Elms / Leslie Fish (<a href=3D"= http://www.ovff.org/pegasus/songs/threes-rev-11.html">http://www.ovff.o= rg/pegasus/songs/threes-rev-11.html</a>)</body></html>= --0__=0ABBF91FDFC3F0D88f9e8a93df938690918c0ABBF91FDFC3F0D8-- From [email protected] Wed Nov 07 23:00:16 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44766 invoked from network); 7 Nov 2007 23:00:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Nov 2007 23:00:16 -0000 Received: (qmail 55364 invoked by uid 500); 7 Nov 2007 23:00:03 -0000 Delivered-To: [email protected] Received: (qmail 55339 invoked by uid 500); 7 Nov 2007 23:00:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55328 invoked by uid 99); 7 Nov 2007 23:00:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 15:00:03 -0800 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO XSMTP0.ethz.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 23:00:03 +0000 Received: from xfe1.d.ethz.ch ([161.129.204.104]) by XSMTP0.ethz.ch with Microsoft SMTPSVC872-291-2466); Wed, 7 Nov 2007 23:59:41 +0100 Received: from [161.129.204.104] ([161.129.204.104]) by xfe1.d.ethz.ch over TLS secured channel with Microsoft SMTPSVC872-291-2466); Wed, 7 Nov 2007 23:59:41 +0100 Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: [email protected] From: Kaspar Fischer <[email protected]> Subject: Validation using local copy of DTD Date: Wed, 7 Nov 2007 23:59:39 +0100 X-Mailer: Apple Mail (2.752.3) X-OriginalArrivalTime: 07 Nov 2007 22:59:41.0316 (UTC) FILETIME=[E140E440:01C82191] X-Virus-Checked: Checked by ClamAV on apache.org Hi! I am using the Xerces parser to validate XHTML files input by the user (via the WYSIWYG editor TinyMCE). So I am dealing with documents that look like this: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv ="Content-Type" content="text/html; charset=utf-8" /> <title>Ttile</title> </head> <body>Something.</body> </html> I turn on validation using parser.setFeature("http://xml.org/sax/features/validation", true); parser.setFeature("http://apache.org/xml/features/validation/ schema", true); parser.setFeature("http://apache.org/xml/features/validation/ schema-full-checking",true); This works like a charm and I am very pleased with the results. Only one thing is not so good: The parser loads the DTD from w3.org everytime. I therefore downloaded the file http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd (is it the right one?) and set parser.setFeature("http://apache.org/xml/features/honour-all- schemaLocations", true); parser.setProperty("http://apache.org/xml/properties/schema/ external-schemaLocation", "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd alfresco/ module/org.icarbasel.module.KnowledgeCenter/validation/xhtml1- strict.dtd"); in the hope that the parser would load my local copy of the file. Unfortunately, it does not. Can anybody help me? (The parser is run from within tomcat, by the way.) Looking forward to any hint, many thanks, Kaspar --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Nov 08 03:03:20 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14162 invoked from network); 8 Nov 2007 03:03:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Nov 2007 03:03:20 -0000 Received: (qmail 82839 invoked by uid 500); 8 Nov 2007 03:03:07 -0000 Delivered-To: [email protected] Received: (qmail 82816 invoked by uid 500); 8 Nov 2007 03:03:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 82805 invoked by uid 99); 8 Nov 2007 03:03:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 19:03:07 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO QMTA03.westchester.pa.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2007 03:03:08 +0000 Received: from OMTA11.westchester.pa.mail.comcast.net ([161.129.204.104]) by QMTA03.westchester.pa.mail.comcast.net with smtp id 9x1y1Y00C0mv7h0000VV00; Thu, 08 Nov 2007 03:02:46 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by OMTA11.westchester.pa.mail.comcast.net with comcast id A32m1Y0011xblb80000000; Thu, 08 Nov 2007 03:02:46 +0000 X-Authority-Analysis: v=1.0 c=1 a=SSmOFEACAAAA:8 a=QOghJMrNAAAA:8 a=mV9VRH-2AAAA:8 a=ce1eVKOFYQ3Yw2s8jRkA:9 a=PQ0D4JDIZniplNUeGowA:7 a=bk6gxwnkX6aEha2rotrOJxOheHgA:4 a=RGel6NJJL9AA:10 a=f8eoc1PjULsA:10 Message-ID: <[email protected]> Date: Wed, 07 Nov 2007 21:02:56 -0600 From: Jacob Kjome <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20070828) MIME-Version: 1.0 To: [email protected] Subject: Re: Validation using local copy of DTD References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Relayed-By: GPGrelay Version 0.959 (Win32) X-Virus-Checked: Checked by ClamAV on apache.org Normally, you'd either use an EntityResolver or at least provide a valid URL. Assuming the "alfresco" directory is at the root of the file system, you'd do... file:/alfresco/module/org/icarbasel/module/KnowledgeCenter/validation/xhtml1-strict.dtd Jake Kaspar Fischer wrote: > Hi! > > I am using the Xerces parser to validate XHTML files input by the user (via > the WYSIWYG editor TinyMCE). So I am dealing with documents that look like > this: > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> > <head> > <meta http-equiv ="Content-Type" content="text/html; charset=utf-8" /> > <title>Ttile</title> > </head> > <body>Something.</body> > </html> > > I turn on validation using > > parser.setFeature("http://xml.org/sax/features/validation", true); > parser.setFeature("http://apache.org/xml/features/validation/schema", > true); > > parser.setFeature("http://apache.org/xml/features/validation/schema-full-checking",true); > > > This works like a charm and I am very pleased with the results. Only one > thing is not so good: The parser loads the DTD from w3.org everytime. I > therefore downloaded the file > > http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd > > (is it the right one?) and set > > > parser.setFeature("http://apache.org/xml/features/honour-all-schemaLocations", > true); > > parser.setProperty("http://apache.org/xml/properties/schema/external-schemaLocation", > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd > alfresco/module/org.icarbasel.module.KnowledgeCenter/validation/xhtml1-strict.dtd"); > > > in the hope that the parser would load my local copy of the file. > Unfortunately, it does not. > > Can anybody help me? > > (The parser is run from within tomcat, by the way.) > > Looking forward to any hint, > many thanks, > Kaspar > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Nov 08 03:28:09 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20941 invoked from network); 8 Nov 2007 03:28:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Nov 2007 03:28:08 -0000 Received: (qmail 1168 invoked by uid 500); 8 Nov 2007 03:27:56 -0000 Delivered-To: [email protected] Received: (qmail 1158 invoked by uid 500); 8 Nov 2007 03:27:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 1147 invoked by uid 99); 8 Nov 2007 03:27:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 19:27:56 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e4.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2007 03:27:55 +0000 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [161.129.204.104]) by e4.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id lA83RC1L018296 for <[email protected]>; Wed, 7 Nov 2007 22:27:12 -0500 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [161.129.204.104]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id lA83RCMg454826 for <[email protected]>; Wed, 7 Nov 2007 22:27:12 -0500 Received: from d01av02.pok.ibm.com (loopback [161.129.204.104]) by d01av02.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id lA83RC8T006171 for <[email protected]>; Wed, 7 Nov 2007 22:27:12 -0500 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av02.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id lA83RBOE006158 for <[email protected]>; Wed, 7 Nov 2007 22:27:11 -0500 In-Reply-To: <[email protected]> Subject: Re: Validation using local copy of DTD To: [email protected] X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Wed, 7 Nov 2007 22:27:10 -0500 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 11/07/2007 22:27:12 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Hi Kaspar, You can redirect to a local copy of the DTD with an XML Catalog [1] or your own custom EntityResolver (which Jacob suggested). Note that the "http://apache.org/xml/properties/schema/external-schemaLocation" property and many of the other features you're setting only apply to XML Schema validation. They have no impact on DTD processing. Thanks. [1] http://xerces.apache.org/xerces2-j/faq-xcatalogs.html Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] Kaspar Fischer <[email protected]> wrote on 11/07/2007 05:59:39 PM: > Hi! > > I am using the Xerces parser to validate XHTML files input by the > user (via > the WYSIWYG editor TinyMCE). So I am dealing with documents that look > like > this: > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http:// > www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> > <head> > <meta http-equiv ="Content-Type" content="text/html; > charset=utf-8" /> > <title>Ttile</title> > </head> > <body>Something.</body> > </html> > > I turn on validation using > > parser.setFeature("http://xml.org/sax/features/validation", true); > parser.setFeature("http://apache.org/xml/features/validation/ > schema", true); > parser.setFeature("http://apache.org/xml/features/validation/ > schema-full-checking",true); > > This works like a charm and I am very pleased with the results. Only one > thing is not so good: The parser loads the DTD from w3.org everytime. I > therefore downloaded the file > > http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd > > (is it the right one?) and set > > parser.setFeature("http://apache.org/xml/features/honour-all- > schemaLocations", true); > parser.setProperty("http://apache.org/xml/properties/schema/ > external-schemaLocation", > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd alfresco/ > module/org.icarbasel.module.KnowledgeCenter/validation/xhtml1- > strict.dtd"); > > in the hope that the parser would load my local copy of the file. > Unfortunately, it does not. > > Can anybody help me? > > (The parser is run from within tomcat, by the way.) > > Looking forward to any hint, > many thanks, > Kaspar > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Nov 08 03:44:04 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24019 invoked from network); 8 Nov 2007 03:44:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Nov 2007 03:44:04 -0000 Received: (qmail 12081 invoked by uid 500); 8 Nov 2007 03:43:51 -0000 Delivered-To: [email protected] Received: (qmail 12058 invoked by uid 500); 8 Nov 2007 03:43:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 12047 invoked by uid 99); 8 Nov 2007 03:43:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 19:43:51 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e4.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2007 03:44:26 +0000 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [161.129.204.104]) by e4.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id lA83hUZh022181 for <[email protected]>; Wed, 7 Nov 2007 22:43:31 -0500 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [161.129.204.104]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id lA83hUan479726 for <[email protected]>; Wed, 7 Nov 2007 22:43:30 -0500 Received: from d01av02.pok.ibm.com (loopback [161.129.204.104]) by d01av02.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id lA83hUhE032371 for <[email protected]>; Wed, 7 Nov 2007 22:43:30 -0500 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av02.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id lA83hUgV032360 for <[email protected]>; Wed, 7 Nov 2007 22:43:30 -0500 In-Reply-To: <[email protected]> Subject: Re: Split CDATA Sections and the division Symbol (x00f7) To: [email protected] X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Wed, 7 Nov 2007 22:43:28 -0500 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 11/07/2007 22:43:30 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Hi Joe, I don't see 0xF7 in that list. Checking the Unicode code charts it's defined to be the division sign [1] (which is what Steve said it was in his post). Thanks. [1] http://www.unicode.org/charts/PDF/U0080.pdf Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] [email protected] wrote on 11/07/2007 09:43:18 AM: > For what it's worth, 0xF7 is one of the characters which both the > XML 1.0 and 1.1 recommendations suggest should be avoided by > document authors. "They are either control characters or permanently > undefined Unicode characters" (http://www.w3.org/TR/REC-xml/#charsets) > > ______________________________________ > "... Three things see no end: A loop with exit code done wrong, > A semaphore untested, And the change that comes along. ..." > -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish (http://www.ovff. > org/pegasus/songs/threes-rev-11.html) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Nov 08 04:04:55 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26114 invoked from network); 8 Nov 2007 04:04:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Nov 2007 04:04:55 -0000 Received: (qmail 27239 invoked by uid 500); 8 Nov 2007 04:04:42 -0000 Delivered-To: [email protected] Received: (qmail 27219 invoked by uid 500); 8 Nov 2007 04:04:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 27208 invoked by uid 99); 8 Nov 2007 04:04:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 20:04:42 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e5.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2007 04:05:18 +0000 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [161.129.204.104]) by e5.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id lA844LUL009709 for <[email protected]>; Wed, 7 Nov 2007 23:04:21 -0500 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [161.129.204.104]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id lA844L5Z097250 for <[email protected]>; Wed, 7 Nov 2007 23:04:21 -0500 Received: from d01av04.pok.ibm.com (loopback [161.129.204.104]) by d01av04.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id lA844LSB022039 for <[email protected]>; Wed, 7 Nov 2007 23:04:21 -0500 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av04.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id lA844KHH022022 for <[email protected]>; Wed, 7 Nov 2007 23:04:20 -0500 In-Reply-To: <[email protected]> Subject: Re: Split CDATA Sections and the division Symbol (x00f7) To: [email protected] Cc: [email protected] X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Wed, 7 Nov 2007 23:04:18 -0500 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 11/07/2007 23:04:20 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Hi Steve, "Steve Carton" <[email protected]> wrote on 11/06/2007 04:10:45 PM: > I'm trying to figure out if this is a bug or not. I created a DOM > with an element with a CDATA section and I set the value to a String > of characters which include a division symbol (xF7). (I actually do > this by reading the characters in from a file and converting them > from bytes to a String specifying a Windows-1252 encoding.) When I > serialize this DOM out to a String, byte array or anything else, the > CData section is split around the division symbol and the division > symbol is emitted as an entity (&#xF7;). I do try to serialize this as UTF-8. Some questions ... What API are you using for serialization? Are you specifying an output encoding? What type of output are you writing to? A java.io.OutputStream? A java.io.Writer? > I see in the documentation that this is the correct behavior when > the serializer encounters a Unicode character that isn't recognized; > not sure if this means not recognized in the Unicode (internal) form > or there is no UTF-8 equivalent. But x00F7 seems to be the correct > Unicode value for a division symbol and there is a UTF-8 encoding > for it. Other "special" characters seem to serialize to UTF-8 > without this split. I think what you meant to say here is "not expressible in the output encoding". For instance ASCII is only capable of representing Unicode code points from 0x00-0x7F. 0xF7 isn't representable in ASCII. > I can send code. I've tried this on the latest Xerces-J. Anyone have > any thoughts about it? > > Thanks, > > Steve Carton Thanks. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Nov 08 04:19:13 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27868 invoked from network); 8 Nov 2007 04:19:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Nov 2007 04:19:13 -0000 Received: (qmail 41044 invoked by uid 500); 8 Nov 2007 04:19:00 -0000 Delivered-To: [email protected] Received: (qmail 41036 invoked by uid 500); 8 Nov 2007 04:19:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 41025 invoked by uid 99); 8 Nov 2007 04:19:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 20:19:00 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e6.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2007 04:19:00 +0000 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [161.129.204.104]) by e6.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id lA84KFe8010802 for <[email protected]>; Wed, 7 Nov 2007 23:20:15 -0500 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [161.129.204.104]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id lA84IdD1432974 for <[email protected]>; Wed, 7 Nov 2007 23:18:39 -0500 Received: from d01av04.pok.ibm.com (loopback [161.129.204.104]) by d01av04.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id lA84IdGo006686 for <[email protected]>; Wed, 7 Nov 2007 23:18:39 -0500 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av04.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id lA84Id35006677 for <[email protected]>; Wed, 7 Nov 2007 23:18:39 -0500 In-Reply-To: <[email protected]> Subject: Re: Validating XML documents against schemas To: [email protected] X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Wed, 7 Nov 2007 23:18:36 -0500 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 11/07/2007 23:18:39 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Hi Julie, If the target namespace of your schema document is " rrn:org.xcbl:schemas/xcbl/v3_0/xcbl30.xsd" then the documents you have are missing a namespace declaration for that namespace and thus aren't valid against the schema in their current state. Thanks. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] [email protected] wrote on 10/23/2007 01:45:04 AM: > Hi Michael > > Thanks for your response. > I was pulled to another urgent project, so unfortunately had to > leave this unfinished. > However I am back now, and am keen to have another crack at getting > this working. > > As stated previously my requirement is as follows : > > I am receiving XML documents from a number of different companies. > > The documents I receive can contain a variety of different > > schema/dtd declarations > > eg > > <!DOCTYPE OrderResponse SYSTEM "XCBL30.dtd"> > > <?soxtype > urn:x-commerceone:document:com:commerceone:XCBL30:XCBL30.sox$1.0?> > > <Order xmlns="rrn:org.xcbl:schemas/xcbl/v3_0/xcbl30.xsd" xmlns:xsi=" > > http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="rrn: > > org.xcbl:schemas/xcbl/v3_0/xcbl30.xsd Order.xsd"> > > or even no [email protected]. > > > > I want to validate the documents that I receive against a xsd > > schema, disregarding the declaration contained in the document. > > > > > > I am having some problems implementing the jaxp solution you suggested. > > I have downloaded the latest xerces-2_9_0, and jaxp 1.3. > I am using the sample SourceValidator class, to do as you suggested. > > > However I am finding that the validator does not seem to be using > the schema alone to validate all my documents. > > eg. > I have tried validating the following documents : > > <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE OrderResponse SYSTEM > "XCBL30.dtd"><Order> > <OrderHeader><OrderNumber><BuyerOrderNumber>00000004</BuyerOrderNumber></OrderNumber><OrderIssueDate>20070323T09: > 55:10+10:00</OrderIssueDate><OrderReferences><AccountCode> ...snipped > > error: Parse error occurred - D: > \Eclipse\Workspaces\xerces-2_9_0\xerces-2_9_0\test\XCBL30.dtd (The > system cannot find the file specified) > > > <?xml version="1.0" encoding="UTF-8"?><Order> > <OrderHeader><OrderNumber><BuyerOrderNumber>00000004</BuyerOrderNumber></OrderNumber><OrderIssueDate>20070323T09: > 55:10+10:00</OrderIssueDate> > <OrderReferences><AccountCode>...............snipped > > [Error] NONE_301889302696_Order.txt:2:8: cvc-elt.1: Cannot find the > declaration of element 'Order'. > > <?xml version="1.0"?><?soxtype urn:x-commerceone:document:com: > commerceone:XCBL30:XCBL30.sox$1.0?><Order> > <OrderHeader><OrderNumber><BuyerOrderNumber>00000004</BuyerOrderNumber></OrderNumber><OrderIssueDate>20070323T09: > 55:10+10:00</OrderIssueDate><OrderReferences><AccountCode> > > [Error] SOX_301889302696_Order.txt:2:8: cvc-elt.1: Cannot find the > declaration of element 'Order'. > > <?xml version="1.0" encoding="UTF-8"?> > <Order xmlns="rrn:org.xcbl:schemas/xcbl/v3_0/xcbl30.xsd" xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="rrn: > org.xcbl:schemas/xcbl/v3_0/xcbl30.xsd Order.xsd"> > <OrderHeader><OrderNumber><BuyerOrderNumber>00000004</BuyerOrderNumber></OrderNumber><OrderIssueDate>20070323T09: > 55:10+10:00</OrderIssueDate><OrderReferences><AccountCode> > This document is the only one that actually performs the validation. > I am not sure if I am barking up the wrong tree with what I am > trying to do, or whether I just need to manipulate some features or > properties of the validator > ANy feedback you could give would be greatly appreciated. > Thanks > Julie > > > > Michael Glavassevich <[email protected]> > 05/04/2007 02:24 PM > > Please respond to > [email protected] > > To > > [email protected] > > cc > > [email protected] > > Subject > > Re: Validating XML documents against schemas > > > > > Hi Julie, > > Not sure what's wrong here (since you've left out some details), but you > may find it easier to get this working using the JAXP 1.3 Validation API. > You can compile your schema using the SchemaFactory [1] and then use the > Schema [2] object it returns for validation. Schema location hints > specified in your instance document will be ignored. There are samples > [3][4] included in the binary distribution which show how to do this. > > Thanks. > > [1] > http://xerces.apache.org/xerces2- > j/javadocs/api/javax/xml/validation/SchemaFactory.html > [2] > http://xerces.apache.org/xerces2- > j/javadocs/api/javax/xml/validation/Schema.html > [3] http://xerces.apache.org/xerces2-j/samples-jaxp.html#SourceValidator > [4] http://xerces.apache.org/xerces2-j/samples-jaxp.html#ParserAPIUsage > > Michael Glavassevich > XML Parser Development > IBM Toronto Lab > E-mail: [email protected] > E-mail: [email protected] > > [email protected] wrote on 04/03/2007 09:33:25 PM: > > > Hi. > > > > I am receiving XML documents from a number of different companies. > > The documents I receive can contain a variety of different > > schema/dtd declarations > > eg > > <!DOCTYPE OrderResponse SYSTEM "XCBL30.dtd"> > > <?soxtype > urn:x-commerceone:document:com:commerceone:XCBL30:XCBL30.sox$1.0?> > > <Order xmlns="rrn:org.xcbl:schemas/xcbl/v3_0/xcbl30.xsd" xmlns:xsi=" > > http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="rrn: > > org.xcbl:schemas/xcbl/v3_0/xcbl30.xsd Order.xsd"> > > or even no [email protected]. > > > > I want to validate the documents that I receive against a xsd > > schema, disregarding the declaration contained in the document. > > > > I thought that I would be able to achieve this by writing my own > > EntityResolver, and always resolve to a shema, however I have found > > that this doesn't work. > > It only works when a xsd schema declaration is passed. > > > > For both sox schema declarations and no declaration I get : ERROR- > > cvc-elt.1: Cannot find the declaration of element 'OrderResponse'. > > before the resolveEntity method of the Entity Resolver is even called. > > > > For dtd declaration I get : SAXException - The markup declarations > > contained or pointed to by the document type declaration must be > well-formed. > > after the EntityResolver is called. > > > > I am using the org.apache.xerces.parsers.SAXParser to perform the > validation. > > > > SAXParser parser = new SAXParser(); > > parser.setProperty("http://apache. > > org/xml/properties/internal/grammar-pool", grammarCache); > > parser.setFeature("http://xml.org/sax/features/validation", > true); > > parser.setFeature(" > http://apache.org/xml/features/validation/schema > > ", true); > > > > SchemaEntityResolver etyRes = new SchemaEntityResolver(); > > etyRes.setSchemaLocation(the_location); > > etyRes.setFormat("XCBL"); > > etyRes.setVersion("30"); > > etyRes.setSchemaName(schemaName); // just sets the name of > > the schema to use > > > > ValidationHandler handler = new ValidationHandler(); > > parser.setErrorHandler(handler); > > > > parser.setEntityResolver(etyRes); > > > > StringReader stringReader = new StringReader(the_document); > > InputSource inSource = new InputSource(stringReader); > > parser.parse(inSource); > > > > Does anyone know of any way I can force my document to be validated > > against a schema. > > Or do I have to manipulate the received document to remove the > > passed declarations, and insert my own. > > Thanks > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Nov 08 16:01:39 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62516 invoked from network); 8 Nov 2007 16:01:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Nov 2007 16:01:39 -0000 Received: (qmail 49045 invoked by uid 500); 8 Nov 2007 16:01:26 -0000 Delivered-To: [email protected] Received: (qmail 49018 invoked by uid 500); 8 Nov 2007 16:01:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 49007 invoked by uid 99); 8 Nov 2007 16:01:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2007 08:01:26 -0800 X-ASF-Spam-Status: No, hits=-2.0 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e6.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2007 16:02:03 +0000 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [161.129.204.104]) by e6.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id lA8G2gWP030827 for <[email protected]>; Thu, 8 Nov 2007 11:02:42 -0500 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [161.129.204.104]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id lA8G0ugs421832 for <[email protected]>; Thu, 8 Nov 2007 11:01:06 -0500 Received: from d01av03.pok.ibm.com (loopback [161.129.204.104]) by d01av03.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id lA8G0tpF009624 for <[email protected]>; Thu, 8 Nov 2007 11:00:56 -0500 Received: from internet1.lotus.com (internet1.lotus.com [161.129.204.104]) by d01av03.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id lA8G0twN009578 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <[email protected]>; Thu, 8 Nov 2007 11:00:55 -0500 Received: from wtfmail05.lotus.com (wtfmail05.lotus.com [161.129.204.104]) by internet1.lotus.com (8.14.1/8.14.1) with ESMTP id lA8G0sXu016935 for <[email protected]>; Thu, 8 Nov 2007 11:00:54 -0500 (EST) In-Reply-To: <[email protected]> Subject: Re: Split CDATA Sections and the division Symbol (x00f7) To: [email protected] Cc: [email protected] X-Mailer: Lotus Notes Build V701_11072005NP November 07, 2005 Message-ID: <[email protected]> From: [email protected] Date: Thu, 8 Nov 2007 10:55:48 -0500 X-MIMETrack: Serialize by Router on WTFMAIL05/WTF/M/Lotus(Build V801_M1_10252007|October 25, 2007) at 11/08/2007 11:02:36 AM MIME-Version: 1.0 Content-type: multipart/alternative; Boundary="0__=0ABBF91EDFC4DAE68f9e8a93df938690918c0ABBF91EDFC4DAE6" Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org --0__=0ABBF91EDFC4DAE68f9e8a93df938690918c0ABBF91EDFC4DAE6 Content-type: text/plain; charset=US-ASCII >I don't see 0xF7 in that list. You're right. Apparently I've still got a bit of dyslexia; I managed to misread #x7F as #xF7. Sorry about the confusion. ("Caution: To avoid damage to reputation, engage brain before putting fingers in gear.") ______________________________________ "... Three things see no end: A loop with exit code done wrong, A semaphore untested, And the change that comes along. ..." -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish (http://www.ovff.org/pegasus/songs/threes-rev-11.html) --0__=0ABBF91EDFC4DAE68f9e8a93df938690918c0ABBF91EDFC4DAE6 Content-type: text/html; charset=US-ASCII Content-Disposition: inline <html><body> <p>&gt;<tt>I don't see 0xF7 in that list.</tt><br> <br> You're right. Apparently I've still got a bit of dyslexia; I managed to misread #x7F as #xF7. Sorry about the confusion.<br> <br> (&quot;Caution: To avoid damage to reputation, engage brain before putting fingers in gear.&quot;)<br> <br> ______________________________________<br> &quot;... Three things see no end: A loop with exit code done wrong,<br> A semaphore untested, And the change that comes along. ...&quot;<br> -- &quot;Threes&quot; Rev 1.1 - Duane Elms / Leslie Fish (<a href="http://www.ovff.org/pegasus/songs/threes-rev-11.html">http://www.ovff.org/pegasus/songs/threes-rev-11.html</a>)</body></html> --0__=0ABBF91EDFC4DAE68f9e8a93df938690918c0ABBF91EDFC4DAE6-- From [email protected] Thu Nov 08 16:48:48 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80494 invoked from network); 8 Nov 2007 16:48:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Nov 2007 16:48:48 -0000 Received: (qmail 47154 invoked by uid 500); 8 Nov 2007 16:48:36 -0000 Delivered-To: [email protected] Received: (qmail 46774 invoked by uid 500); 8 Nov 2007 16:48:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 46763 invoked by uid 99); 8 Nov 2007 16:48:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2007 08:48:35 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.retrievalsystems.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2007 16:48:38 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Subject: RE: Split CDATA Sections and the division Symbol (x00f7) Date: Thu, 8 Nov 2007 11:48:16 -0500 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Split CDATA Sections and the division Symbol (x00f7) thread-index: AcghvHLVmFDKqp/kRFSPUsEkrhID7AAY2xmw From: "Steve Carton" <[email protected]> To: "Michael Glavassevich" <[email protected]>, <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi Michael, I've fooled with this in several forms, always with the same results. My = current incarnation of the code uses the LSSerializer API. I've also = used the (deprecated) XMLSerializer. In either case, I've tried = StringWriter, FileWriter, and ByteArrayOutputStream (then to a = FileOutputStream to write to a file). I specify UTF-8 as the output = encoding. Here's a snippet of the code: = System.setProperty(DOMImplementationRegistry.PROPERTY,"org.apache.xerces.= dom.DOMImplementationSourceImpl"); DOMImplementationRegistry registry =3D = DOMImplementationRegistry.newInstance(); DOMImplementation domImpl =3D registry.getDOMImplementation("LS 3.0"); DOMImplementationLS implLS =3D (DOMImplementationLS)domImpl; LSSerializer dom3Writer =3D implLS.createLSSerializer(); LSOutput output=3DimplLS.createLSOutput(); ByteArrayOutputStream bs =3D new ByteArrayOutputStream(); output.setByteStream(bs); output.setEncoding("UTF-8"); dom3Writer.write(doc,output); Here's what get's written to a file from that byte stream: <test><div>=C2=A6=C2=BA3 times: =C3=B7 =C3=B7 = =C3=B7=C2=BA=C2=AC</div><divCDATA><![CDATA[=C2=A6=C2=BA3 times: = ]]>&#xf7;<![CDATA[ ]]>&#xf7;<![CDATA[ = ]]>&#xf7;<![CDATA[=C2=BA=C2=AC]]></divCDATA></test> Note that the serialized element that is *not* a cdata section converts = the division symbol to UTF-8 without a problem. Steve -----Original Message----- From: Michael Glavassevich [mailto:[email protected]]=20 Sent: Wednesday, November 07, 2007 11:04 PM To: [email protected] Cc: Steve Carton Subject: Re: Split CDATA Sections and the division Symbol (x00f7) Hi Steve, "Steve Carton" <[email protected]> wrote on 11/06/2007 04:10:45 PM: > I'm trying to figure out if this is a bug or not. I created a DOM with = > an element with a CDATA section and I set the value to a String of=20 > characters which include a division symbol (xF7). (I actually do this=20 > by reading the characters in from a file and converting them from=20 > bytes to a String specifying a Windows-1252 encoding.) When I=20 > serialize this DOM out to a String, byte array or anything else, the=20 > CData section is split around the division symbol and the division=20 > symbol is emitted as an entity (&#xF7;). I do try to serialize this as UTF-8. Some questions ... What API are you using for serialization? Are you specifying an output = encoding? What type of output are you writing to? A = java.io.OutputStream? A java.io.Writer? > I see in the documentation that this is the correct behavior when the=20 > serializer encounters a Unicode character that isn't recognized; not=20 > sure if this means not recognized in the Unicode (internal) form or=20 > there is no UTF-8 equivalent. But x00F7 seems to be the correct=20 > Unicode value for a division symbol and there is a UTF-8 encoding for=20 > it. Other "special" characters seem to serialize to UTF-8 without=20 > this split. I think what you meant to say here is "not expressible in the output = encoding". For instance ASCII is only capable of representing Unicode = code points from 0x00-0x7F. 0xF7 isn't representable in ASCII. > I can send code. I've tried this on the latest Xerces-J. Anyone have=20 > any thoughts about it? > > Thanks, > > Steve Carton Thanks. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Nov 08 19:34:34 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42548 invoked from network); 8 Nov 2007 19:34:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Nov 2007 19:34:34 -0000 Received: (qmail 65336 invoked by uid 500); 8 Nov 2007 19:34:20 -0000 Delivered-To: [email protected] Received: (qmail 65320 invoked by uid 500); 8 Nov 2007 19:34:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 65309 invoked by uid 99); 8 Nov 2007 19:34:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2007 11:34:20 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e5.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2007 19:34:57 +0000 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [161.129.204.104]) by e5.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id lA8JXvP2016422 for <[email protected]>; Thu, 8 Nov 2007 14:33:57 -0500 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [161.129.204.104]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id lA8JXvlH486098 for <[email protected]>; Thu, 8 Nov 2007 14:33:57 -0500 Received: from d01av02.pok.ibm.com (loopback [161.129.204.104]) by d01av02.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id lA8JXvvg017042 for <[email protected]>; Thu, 8 Nov 2007 14:33:57 -0500 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av02.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id lA8JXuBH017025 for <[email protected]>; Thu, 8 Nov 2007 14:33:56 -0500 In-Reply-To: <[email protected]> Subject: RE: Split CDATA Sections and the division Symbol (x00f7) To: [email protected] Cc: [email protected] X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Thu, 8 Nov 2007 14:33:55 -0500 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 11/08/2007 14:33:57 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Steve, Do you have serializer.jar (containing the LSSerializer from Xalan) on = your classpath? I can only reproduce this with Xerces' implementation of LSSerializer which I might add is also deprecated. Thanks. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] "Steve Carton" <[email protected]> wrote on 11/08/2007 11:48:16 AM: > Hi Michael, > > I've fooled with this in several forms, always with the same > results. My current incarnation of the code uses the LSSerializer > API. I've also used the (deprecated) XMLSerializer. In either case, > I've tried StringWriter, FileWriter, and ByteArrayOutputStream (then > to a FileOutputStream to write to a file). I specify UTF-8 as the > output encoding. Here's a snippet of the code: > > System.setProperty(DOMImplementationRegistry.PROPERTY,"org. > apache.xerces.dom.DOMImplementationSourceImpl"); > DOMImplementationRegistry registry =3D > DOMImplementationRegistry.newInstance(); > DOMImplementation domImpl =3D registry.getDOMImplementation("LS= 3.0"); > DOMImplementationLS implLS =3D (DOMImplementationLS)domImpl; > LSSerializer dom3Writer =3D implLS.createLSSerializer(); > LSOutput output=3DimplLS.createLSOutput(); > ByteArrayOutputStream bs =3D new ByteArrayOutputStream(); > output.setByteStream(bs); > output.setEncoding("UTF-8"); > dom3Writer.write(doc,output); > > Here's what get's written to a file from that byte stream: > > <test><div>=C2=A6=C2=BA3 times: =C3=B7 =C3=B7 =C3=B7=C2=BA=C2=AC</div= ><divCDATA><![CDATA[=C2=A6=C2=BA3 > times: ]]>&#xf7;<![CDATA[ ]]>&#xf7;<![CDATA[ ]]>&#xf7;<! > [CDATA[=C2=BA=C2=AC]]></divCDATA></test> > > Note that the serialized element that is *not* a cdata section > converts the division symbol to UTF-8 without a problem. > > Steve > > -----Original Message----- > From: Michael Glavassevich [mailto:[email protected]] > Sent: Wednesday, November 07, 2007 11:04 PM > To: [email protected] > Cc: Steve Carton > Subject: Re: Split CDATA Sections and the division Symbol (x00f7) > > Hi Steve, > > "Steve Carton" <[email protected]> wrote on 11/06/200= 7 > 04:10:45 PM: > > > I'm trying to figure out if this is a bug or not. I created a DOM w= ith > > an element with a CDATA section and I set the value to a String of > > characters which include a division symbol (xF7). (I actually do th= is > > by reading the characters in from a file and converting them from > > bytes to a String specifying a Windows-1252 encoding.) When I > > serialize this DOM out to a String, byte array or anything else, th= e > > CData section is split around the division symbol and the division > > symbol is emitted as an entity (&#xF7;). I do try to serialize this= as > UTF-8. > > Some questions ... > > What API are you using for serialization? Are you specifying an > output encoding? What type of output are you writing to? A java.io. > OutputStream? A java.io.Writer? > > > I see in the documentation that this is the correct behavior when t= he > > serializer encounters a Unicode character that isn't recognized; no= t > > sure if this means not recognized in the Unicode (internal) form or= > > there is no UTF-8 equivalent. But x00F7 seems to be the correct > > Unicode value for a division symbol and there is a UTF-8 encoding f= or > > it. Other "special" characters seem to serialize to UTF-8 without > > this split. > > I think what you meant to say here is "not expressible in the output > encoding". For instance ASCII is only capable of representing > Unicode code points from 0x00-0x7F. 0xF7 isn't representable in ASCII= . > > > I can send code. I've tried this on the latest Xerces-J. Anyone hav= e > > any thoughts about it? > > > > Thanks, > > > > Steve Carton > > Thanks. > > Michael Glavassevich > XML Parser Development > IBM Toronto Lab > E-mail: [email protected] > E-mail: [email protected] > > > ---------------------------------------------------------------------= > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected]= --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Nov 08 19:56:59 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21508 invoked from network); 8 Nov 2007 19:56:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Nov 2007 19:56:59 -0000 Received: (qmail 7093 invoked by uid 500); 8 Nov 2007 19:56:46 -0000 Delivered-To: [email protected] Received: (qmail 7064 invoked by uid 500); 8 Nov 2007 19:56:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7053 invoked by uid 99); 8 Nov 2007 19:56:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2007 11:56:45 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e6.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2007 19:56:46 +0000 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [161.129.204.104]) by e6.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id lA8Jw1VC009540 for <[email protected]>; Thu, 8 Nov 2007 14:58:01 -0500 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [161.129.204.104]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id lA8JuOQ1122342 for <[email protected]>; Thu, 8 Nov 2007 14:56:25 -0500 Received: from d01av03.pok.ibm.com (loopback [161.129.204.104]) by d01av03.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id lA8JuOUV013720 for <[email protected]>; Thu, 8 Nov 2007 14:56:24 -0500 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av03.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id lA8JuOgx013692 for <[email protected]>; Thu, 8 Nov 2007 14:56:24 -0500 In-Reply-To: <[email protected]> Subject: RE: Split CDATA Sections and the division Symbol (x00f7) To: [email protected] Cc: [email protected] X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Thu, 8 Nov 2007 14:56:23 -0500 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 11/08/2007 14:56:24 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org For what it's worth, the deprecated serializer is now fixed [1]. Thanks. [1] http://marc.info/?l=3Dxerces-cvs&m=3D119455107025507&w=3D2 Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] Michael Glavassevich/Toronto/IBM@IBMCA wrote on 11/08/2007 02:33:55 PM:= > Hi Steve, > > Do you have serializer.jar (containing the LSSerializer from Xalan) o= n your > classpath? I can only reproduce this with Xerces' implementation of > LSSerializer which I might add is also deprecated. > > Thanks. > > Michael Glavassevich > XML Parser Development > IBM Toronto Lab > E-mail: [email protected] > E-mail: [email protected] > > "Steve Carton" <[email protected]> wrote on 11/08/200= 7 > 11:48:16 AM: > > > Hi Michael, > > > > I've fooled with this in several forms, always with the same > > results. My current incarnation of the code uses the LSSerializer > > API. I've also used the (deprecated) XMLSerializer. In either case,= > > I've tried StringWriter, FileWriter, and ByteArrayOutputStream (the= n > > to a FileOutputStream to write to a file). I specify UTF-8 as the > > output encoding. Here's a snippet of the code: > > > > System.setProperty(DOMImplementationRegistry.PROPERTY,"org. > > apache.xerces.dom.DOMImplementationSourceImpl"); > > DOMImplementationRegistry registry =3D > > DOMImplementationRegistry.newInstance(); > > DOMImplementation domImpl =3D registry.getDOMImplementation("= LS > 3.0"); > > DOMImplementationLS implLS =3D (DOMImplementationLS)domImpl; > > LSSerializer dom3Writer =3D implLS.createLSSerializer(); > > LSOutput output=3DimplLS.createLSOutput(); > > ByteArrayOutputStream bs =3D new ByteArrayOutputStream(); > > output.setByteStream(bs); > > output.setEncoding("UTF-8"); > > dom3Writer.write(doc,output); > > > > Here's what get's written to a file from that byte stream: > > > > <test><div>=C2=A6=C2=BA3 times: =C3=B7 =C3=B7 =C3=B7=C2=BA=C2=AC</d= iv><divCDATA><![CDATA[=C2=A6=C2=BA3 > > times: ]]>&#xf7;<![CDATA[ ]]>&#xf7;<![CDATA[ ]]>&#xf7;<! > > [CDATA[=C2=BA=C2=AC]]></divCDATA></test> > > > > Note that the serialized element that is *not* a cdata section > > converts the division symbol to UTF-8 without a problem. > > > > Steve > > > > -----Original Message----- > > From: Michael Glavassevich [mailto:[email protected]] > > Sent: Wednesday, November 07, 2007 11:04 PM > > To: [email protected] > > Cc: Steve Carton > > Subject: Re: Split CDATA Sections and the division Symbol (x00f7) > > > > Hi Steve, > > > > "Steve Carton" <[email protected]> wrote on 11/06/2= 007 > > 04:10:45 PM: > > > > > I'm trying to figure out if this is a bug or not. I created a DOM= with > > > an element with a CDATA section and I set the value to a String o= f > > > characters which include a division symbol (xF7). (I actually do = this > > > by reading the characters in from a file and converting them from= > > > bytes to a String specifying a Windows-1252 encoding.) When I > > > serialize this DOM out to a String, byte array or anything else, = the > > > CData section is split around the division symbol and the divisio= n > > > symbol is emitted as an entity (&#xF7;). I do try to serialize th= is as > > UTF-8. > > > > Some questions ... > > > > What API are you using for serialization? Are you specifying an > > output encoding? What type of output are you writing to? A java.io.= > > OutputStream? A java.io.Writer? > > > > > I see in the documentation that this is the correct behavior when= the > > > serializer encounters a Unicode character that isn't recognized; = not > > > sure if this means not recognized in the Unicode (internal) form = or > > > there is no UTF-8 equivalent. But x00F7 seems to be the correct > > > Unicode value for a division symbol and there is a UTF-8 encoding= for > > > it. Other "special" characters seem to serialize to UTF-8 withou= t > > > this split. > > > > I think what you meant to say here is "not expressible in the outpu= t > > encoding". For instance ASCII is only capable of representing > > Unicode code points from 0x00-0x7F. 0xF7 isn't representable in ASC= II. > > > > > I can send code. I've tried this on the latest Xerces-J. Anyone h= ave > > > any thoughts about it? > > > > > > Thanks, > > > > > > Steve Carton > > > > Thanks. > > > > Michael Glavassevich > > XML Parser Development > > IBM Toronto Lab > > E-mail: [email protected] > > E-mail: [email protected] > > > > > > -------------------------------------------------------------------= -- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > ---------------------------------------------------------------------= > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected]= --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Nov 09 22:02:26 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38811 invoked from network); 9 Nov 2007 22:02:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Nov 2007 22:02:26 -0000 Received: (qmail 80415 invoked by uid 500); 9 Nov 2007 22:02:12 -0000 Delivered-To: [email protected] Received: (qmail 80342 invoked by uid 500); 9 Nov 2007 22:02:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 80318 invoked by uid 99); 9 Nov 2007 22:02:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 14:02:12 -0800 X-ASF-Spam-Status: No, hits=-2.0 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e5.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 22:02:51 +0000 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [161.129.204.104]) by e5.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id lA9M1QvW007098; Fri, 9 Nov 2007 17:01:26 -0500 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [161.129.204.104]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v8.6) with ESMTP id lA9M14qh469384; Fri, 9 Nov 2007 17:01:25 -0500 Received: from d01av01.pok.ibm.com (loopback [161.129.204.104]) by d01av01.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id lA9M13YZ004963; Fri, 9 Nov 2007 17:01:03 -0500 Received: from d25ml04.torolab.ibm.com (d25ml04.torolab.ibm.com [161.129.204.104]) by d01av01.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id lA9M13cZ004944; Fri, 9 Nov 2007 17:01:03 -0500 MIME-Version: 1.0 To: [email protected], [email protected], [email protected] Cc: [email protected] Subject: [Request] Xerces-J: XML Schema 1.1 feature feedback X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: <[email protected]> From: Khaled Noaman <[email protected]> Date: Fri, 9 Nov 2007 17:01:02 -0500 X-MIMETrack: Serialize by Router on D25ML04/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 11/09/2007 17:01:04, Serialize complete at 11/09/2007 17:01:04 Content-Type: multipart/alternative; boundary="=_alternative 0078ECA68525738E_=" X-Virus-Checked: Checked by ClamAV on apache.org --=_alternative 0078ECA68525738E_= Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Hi, The W3C Schema WG has released a last call working draft of XML Schema 1.1 = Part 1: Structures. We are considering implementing features from this=20 draft in Xerces-J. We would like to understand which features users are=20 most interested in and what scenarios they plan on using them in. Here's a summary of the major features introduced in the spec: All Group=20 XML Schema 1.0 imposed many restrictions on <all> groups. XML Schema 1.1=20 has relaxed several of those constraints: <all> groups can now be extended by adding more members to them. Wildcards are now allowed. Particles in <all> groups can now have the value of maxOccurs be greater=20 than 1. <xs:complexType name=3D"applianceType"> <xs:all> <xs:element name=3D"item" type=3D"xs:string"/> <xs:element name=3D"description" type=3D"xs:string"/> </xs:all> </xs:complexType> <xs:complexType name=3D"heaterType"> <xs:complexContent> <xs:extension base=3D"applianceType"> <xs:all> <xs:element name=3D"power=5Fin=5Fwatt" type=3D"xs:integer"/> <xs:any processContents=3D"lax"/> </xs:all> </xs:extension> </xs:complexContent> </xs:complexType> Assertions A form of co-occurrence constraint, using XPath 2.0 expressions, that is=20 associated with a complex type to constrain element and attribute values.=20 The list of assertions is evaluated when a complex type is used to=20 validate an element.=20 <xs:complexType name=3D"intRange"> <xs:attribute name=3D"min" type=3D"xs:int"/> <xs:attribute name=3D"max" type=3D"xs:int"/> <xs:assert test=3D"@min le @max"/> </xs:complexType> The value of the ?min? attribute must be less than the value of the ?max?=20 attribute. <xs:complexType name=3D"arrayType"> <xs:sequence> <xs:element name=3D"entry" minOccurs=3D"0" maxOccurs=3D"unbounded"/> </xs:sequence> <xs:attribute name=3D"length" type=3D"xs:int"/> <xs:assert test=3D"@length eq fn:count(./entry)"/> </xs:complexType> The value of the ?length? attribute must be equal to the number of=20 occurrences of the ?entry? sub-elements. Open Content Models A new mechanism to allow content models to accept elements other than=20 those explicitly defined. The schema author controls the degree of=20 openness of the content model. They can specify whether elements should be = accepted everywhere or at the end of the content model. <xs:complexType name=3D"name"> <xs:openContent mode=3D"suffix"> <xs:any namespace=3D"##other" processContents=3D"skip"/> </xs:openContent> <xs:sequence> <xs:element name=3D"given" type=3D"xs:string"/> <xs:element name=3D"middle" type=3D"xs:string" minOccurs=3D"0"/> <xs:element name=3D"family" type=3D"xs:string"/> </xs:sequence> </xs:complexType> A schema author can also define a default open content at the schema=20 document level, thus saving many copy/paste if the open content is the=20 same across the complex types. <xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" targetNamespace=3D"http://www.example.com/example"> . . . <xs:defaultOpenContent mode=3D"interleave"> <xs:any processContents=3D"lax"/> </xs:defaultOpenContent> . . . </xs:schema> Enhanced Wildcards In XML Schema 1.0, a schema author was only allowed to exclude elements=20 and attributes from one namespace, the target namespace, by using=20 ##other. In XML Schema 1.1, a schema author can define wildcards that=20 exclude: Elements and attributes from a set of namespaces by using [notNamespace] A particular set of qualified elements and attributes by using [notQName] ?not-in-schema? elements and attributes (those that do not match any=20 declaration in the schema) by including the ##defined keyword in=20 [notQName] <xs:any namespace=3D"http://www.w3.org/1999/XSL/Transform" xmlns:xsl=3D"http://www.w3.org/1999/XSL/Transform" notQName=3D"xsl:comment xsl:fallback"/> <xs:anyAttribute xmlns:ns1=3D"http://ns1" notNamespace=3D"ns1 ##targetNamespace"/> Complex Type Restriction The rules for checking validity of complex-type restrictions have been=20 simplified. The set of elements or attributes accepted by a restriction=20 must be a subset of those accepted by its base type. Conditional Type Assignment A form of co-occurrence constraint, using XPath 2.0, that allows for a=20 type to be assigned to an element instance based on its properties=20 (typically attribute values). <xs:complexType name=3D"valueType"> <xs:simpleContent> <xs:extenstion base=3D"xs:long"> <xs:attribute name=3D"kind" type=3D"xs:string"/> </xs:extension> </xs:simpleContent> </xs:complexType> <xs:element name=3D"value" type=3D"valueType"> <xs:alternative test=3D"@kind=3D'int'" type=3D"xs:int"/> <xs:alternative test=3D"@kind=3D'short'" type=3D"xs:short"/> <xs:alternative test=3D"@kind=3D'byte'" type=3D"xs:byte"/> </xs:element> Default Attributes A new mechanism that makes it easier for schema authors to include common=20 attributes like xml:base and xml:lang in all their content models. <xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" targetNamespace=3D"http://www.example.com/example"=20 defaultAttributes=3D"defaultAttrGroup"> . . . </xs:schema> Conditional Inclusion A mechanism that allows conforming XML Schema 1.1 processors to=20 successfully ignore new constructs introduced in future version of the=20 spec. It also allows schema authors to define schemas with newer=20 constructs and be able to fall back to older versions when the newer=20 constructs are not available. <xsd:schema=20 xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" xmlns:vc=3D"http://www.w3.org/2007/XMLSchema-versioning"> <xsd:element name=3D"e" vc:minVersion=3D"3.2"> <!--* declaration suitable for 3.2=20 * and later processors *--> </xsd:element> <xsd:element name=3D"e"=20 vc:minVersion=3D"1.1" vc:maxVersion=3D"3.1"> <!--* declaration suitable for processors * supporting versions 1.1 through 3.1 *--> </xsd:element> ... </xsd:schema> We would appreciate your feedback. =20 Regards, Khaled --=_alternative 0078ECA68525738E_= Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable <br><font size=3D2 face=3D"sans-serif">Hi,</font> <br> <br><font size=3D2 face=3D"sans-serif">The W3C Schema WG has released a last call working draft of XML Schema 1.1 Part 1: Structures. We are considering implementing features from this draft in Xerces-J. We would like to underst= and which features users are most interested in and what scenarios they plan on using them in.</font> <br> <br><font size=3D2 face=3D"sans-serif">Here's a summary of the major featur= es introduced in the spec:</font> <br> <br><font size=3D2 face=3D"sans-serif"><u>All Group </u></font> <br><font size=3D2 face=3D"sans-serif">XML Schema 1.0 imposed many restrict= ions on &lt;all&gt; groups. XML Schema 1.1 has relaxed several of those constrai= nts:</font> <ul> <li><font size=3D2 face=3D"sans-serif">&lt;all&gt; groups can now be extend= ed by adding more members to them.</font> <li><font size=3D2 face=3D"sans-serif">Wildcards are now allowed.</font> <li><font size=3D2 face=3D"sans-serif">Particles in &lt;all&gt; groups can now have the value of maxOccurs be greater than 1.</font></ul> <br><font size=3D2 face=3D"sans-serif">&lt;xs:complexType name=3D&quot;appl= ianceType&quot;&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp;&lt;xs:all&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &lt;xs:element name=3D&quot;i= tem&quot; type=3D&quot;xs:string&quot;/&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &lt;xs:element name=3D&quot;d= escription&quot; type=3D&quot;xs:string&quot;/&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp;&lt;/xs:all&gt;</font> <br><font size=3D2 face=3D"sans-serif">&lt;/xs:complexType&gt;</font> <br> <br><font size=3D2 face=3D"sans-serif">&lt;xs:complexType name=3D&quot;heat= erType&quot;&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp;&lt;xs:complexContent&gt;</fon= t> <br><font size=3D2 face=3D"sans-serif">&nbsp; &lt;xs:extension base=3D&quot= ;applianceType&quot;&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &nbsp;&lt;xs:all&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &nbsp; &lt;xs:element name=3D= &quot;power=5Fin=5Fwatt&quot; type=3D&quot;xs:integer&quot;/&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &nbsp; &lt;xs:any processCont= ents=3D&quot;lax&quot;/&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &nbsp;&lt;/xs:all&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &lt;/xs:extension&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp;&lt;/xs:complexContent&gt;</fo= nt> <br><font size=3D2 face=3D"sans-serif">&lt;/xs:complexType&gt;</font> <br> <br><font size=3D2 face=3D"sans-serif"><u>Assertions</u></font> <br><font size=3D2 face=3D"sans-serif">A form of co-occurrence constraint, using XPath 2.0 expressions, that is associated with a complex type to constrain element and attribute values. The list of assertions is evaluated when a complex type is used to validate an element. </font> <br> <br><font size=3D2 face=3D"sans-serif">&lt;xs:complexType name=3D&quot;intR= ange&quot;&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp;&lt;xs:attribute name=3D&quot;= min&quot; type=3D&quot;xs:int&quot;/&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp;&lt;xs:attribute name=3D&quot;= max&quot; type=3D&quot;xs:int&quot;/&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp;&lt;xs:assert test=3D&quot;@min le @max&quot;/&gt;</font> <br><font size=3D2 face=3D"sans-serif">&lt;/xs:complexType&gt;</font> <br> <br><font size=3D2 face=3D"sans-serif">The value of the &#8216;min&#8217; a= ttribute must be less than the value of the &#8216;max&#8217; attribute.</font> <br> <br><font size=3D2 face=3D"sans-serif">&lt;xs:complexType name=3D&quot;arra= yType&quot;&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp;&lt;xs:sequence&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &lt;xs:element name=3D&quot;e= ntry&quot; minOccurs=3D&quot;0&quot; maxOccurs=3D&quot;unbounded&quot;/&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp;&lt;/xs:sequence&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp;&lt;xs:attribute name=3D&quot;= length&quot; type=3D&quot;xs:int&quot;/&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp;&lt;xs:assert test=3D&quot;@le= ngth eq fn:count(./entry)&quot;/&gt;</font> <br><font size=3D2 face=3D"sans-serif">&lt;/xs:complexType&gt;</font> <br> <br><font size=3D2 face=3D"sans-serif">The value of the &#8216;length&#8217= ; attribute must be equal to the number of occurrences of the &#8216;entry&#8217; sub-e= lements.</font> <br> <br><font size=3D2 face=3D"sans-serif"><u>Open Content Models</u></font> <br><font size=3D2 face=3D"sans-serif">A new mechanism to allow content mod= els to accept elements other than those explicitly defined. The schema author controls the degree of openness of the content model. They can specify whether elements should be accepted everywhere or at the end of the content model.</font> <br> <br><font size=3D2 face=3D"sans-serif">&lt;xs:complexType name=3D&quot;name= &quot;&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &lt;xs:openContent mode=3D&qu= ot;suffix&quot;&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &nbsp; &lt;xs:any namespace= =3D&quot;##other&quot; processContents=3D&quot;skip&quot;/&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &lt;/xs:openContent&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &lt;xs:sequence&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &nbsp; &lt;xs:element name=3D= &quot;given&quot; type=3D&quot;xs:string&quot;/&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &nbsp; &lt;xs:element name=3D= &quot;middle&quot; type=3D&quot;xs:string&quot; minOccurs=3D&quot;0&quot;/&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &nbsp; &lt;xs:element name=3D= &quot;family&quot; type=3D&quot;xs:string&quot;/&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &lt;/xs:sequence&gt;</font> <br><font size=3D2 face=3D"sans-serif">&lt;/xs:complexType&gt;</font> <br> <br><font size=3D2 face=3D"sans-serif">A schema author can also define a de= fault open content at the schema document level, thus saving many copy/paste if the open content is the same across the complex types.</font> <br> <br><font size=3D2 face=3D"sans-serif">&lt;xs:schema</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &nbsp; xmlns:xs=3D&quot;http:= //www.w3.org/2001/XMLSchema&quot;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &nbsp; targetNamespace=3D&quo= t;http://www.example.com/example&quot;&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; . . .</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &lt;xs:defaultOpenContent mod= e=3D&quot;interleave&quot;&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &nbsp; &lt;xs:any processCont= ents=3D&quot;lax&quot;/&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &lt;/xs:defaultOpenContent&gt= ;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; . . .</font> <br><font size=3D2 face=3D"sans-serif">&lt;/xs:schema&gt;</font> <br> <br><font size=3D2 face=3D"sans-serif"><u>Enhanced Wildcards</u></font> <br><font size=3D2 face=3D"sans-serif">In XML Schema 1.0, a schema author w= as only allowed to exclude elements and attributes from one namespace, the target namespace, &nbsp;by using ##other. In XML Schema 1.1, a schema author can define wildcards that exclude:</font> <ul> <li><font size=3D2 face=3D"sans-serif">Elements and attributes from a set of namespaces by using [notNamespace]</font> <li><font size=3D2 face=3D"sans-serif">A particular set of qualified elemen= ts and attributes by using [notQName]</font> <li><font size=3D2 face=3D"sans-serif">&#8220;not-in-schema&#8221; elements= and attributes (those that do not match any declaration in the schema) &nbsp;by including the ##defined keyword in [notQName]</font></ul> <br><font size=3D2 face=3D"sans-serif">&lt;xs:any namespace=3D&quot;http://= www.w3.org/1999/XSL/Transform&quot;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; xmlns:xs= l=3D&quot;http://www.w3.org/1999/XSL/Transform&quot;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; notQName= =3D&quot;xsl:comment xsl:fallback&quot;/&gt;</font> <br> <br><font size=3D2 face=3D"sans-serif">&lt;xs:anyAttribute xmlns:ns1=3D&quo= t;</font><a href=3Dhttp://ns1><font size=3D2 color=3Dblue face=3D"sans-seri= f"><u>http://ns1</u></font></a><font size=3D2 face=3D"sans-serif">&quot;</f= ont> <br><font size=3D2 face=3D"sans-serif">&nbsp; notNamespace=3D&quot;ns1 ##ta= rgetNamespace&quot;/&gt;</font> <br> <br><font size=3D2 face=3D"sans-serif"><u>Complex Type Restriction</u></fon= t> <br><font size=3D2 face=3D"sans-serif">The rules for checking validity of c= omplex-type restrictions have been simplified. The set of elements or attributes accept= ed by a restriction must be a subset of those accepted by its base type.</font> <br> <br><font size=3D2 face=3D"sans-serif"><u>Conditional Type Assignment</u></= font> <br><font size=3D2 face=3D"sans-serif">A form of co-occurrence constraint, using XPath 2.0, that allows for a type to be assigned to an element instan= ce based on its properties (typically attribute values).</font> <br> <br><font size=3D2 face=3D"sans-serif">&lt;xs:complexType name=3D&quot;valu= eType&quot;&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp;&lt;xs:simpleContent&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &lt;xs:extenstion base=3D&quo= t;xs:long&quot;&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &nbsp;&lt;xs:attribute name= =3D&quot;kind&quot; type=3D&quot;xs:string&quot;/&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &lt;/xs:extension&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp;&lt;/xs:simpleContent&gt;</fon= t> <br><font size=3D2 face=3D"sans-serif">&lt;/xs:complexType&gt;</font> <br> <br><font size=3D2 face=3D"sans-serif">&lt;xs:element name=3D&quot;value&qu= ot; type=3D&quot;valueType&quot;&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp;&lt;xs:alternative test=3D&quo= t;@kind=3D'int'&quot; type=3D&quot;xs:int&quot;/&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp;&lt;xs:alternative test=3D&quo= t;@kind=3D'short'&quot; type=3D&quot;xs:short&quot;/&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp;&lt;xs:alternative test=3D&quo= t;@kind=3D'byte'&quot; type=3D&quot;xs:byte&quot;/&gt;</font> <br><font size=3D2 face=3D"sans-serif">&lt;/xs:element&gt;</font> <br> <br><font size=3D2 face=3D"sans-serif"><u>Default Attributes</u></font> <br><font size=3D2 face=3D"sans-serif">A new mechanism that makes it easier for schema authors to include common attributes like xml:base and xml:lang in all their content models.</font> <br> <br><font size=3D2 face=3D"sans-serif">&lt;xs:schema</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &nbsp; xmlns:xs=3D&quot;http:= //www.w3.org/2001/XMLSchema&quot;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &nbsp; targetNamespace=3D&quo= t;http://www.example.com/example&quot; </font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &nbsp; defaultAttributes=3D&q= uot;defaultAttrGroup&quot;&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; . . .</font> <br><font size=3D2 face=3D"sans-serif">&lt;/xs:schema</font><font size=3D3 = face=3D"sans-serif">&gt;</font> <br> <br><font size=3D2 face=3D"sans-serif"><u>Conditional Inclusion</u></font> <br><font size=3D2 face=3D"sans-serif">A mechanism that allows conforming X= ML Schema 1.1 processors to successfully ignore new constructs introduced in future version of the spec. It also allows schema authors to define schemas with newer constructs and be able to fall back to older versions when the newer constructs are not available.</font> <br> <br><font size=3D2 face=3D"sans-serif">&lt;xsd:schema </font> <br><font size=3D2 face=3D"sans-serif">&nbsp; xmlns:xsd=3D&quot;http://www.= w3.org/2001/XMLSchema&quot;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; xmlns:vc=3D&quot;http://www.w= 3.org/2007/XMLSchema-versioning&quot;&gt;</font> <br> <br><font size=3D2 face=3D"sans-serif">&nbsp; &lt;xsd:element name=3D&quot;= e&quot; vc:minVersion=3D&quot;3.2&quot;&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &nbsp; &lt;!--* declaration s= uitable for 3.2 </font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; * and la= ter processors *--&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &lt;/xsd:element&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &lt;xsd:element name=3D&quot;= e&quot; </font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &nbsp; vc:minVersion=3D&quot;= 1.1&quot;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &nbsp; vc:maxVersion=3D&quot;= 3.1&quot;&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &nbsp; &lt;!--* declaration s= uitable for processors</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; * suppor= ting versions 1.1 through 3.1</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; *--&gt;<= /font> <br><font size=3D2 face=3D"sans-serif">&nbsp; &lt;/xsd:element&gt;</font> <br><font size=3D2 face=3D"sans-serif">&nbsp; ...</font> <br><font size=3D2 face=3D"sans-serif">&lt;/xsd:schema&gt;</font> <br> <br> <br><font size=3D2 face=3D"sans-serif">We would appreciate your feedback.</= font> <br><font size=3D2 face=3D"sans-serif">&nbsp;</font> <br><font size=3D2 face=3D"sans-serif">Regards,</font> <br><font size=3D2 face=3D"sans-serif">Khaled<br> <br> </font> --=_alternative 0078ECA68525738E_=-- From [email protected] Sat Nov 10 07:40:46 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85332 invoked from network); 10 Nov 2007 07:40:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Nov 2007 07:40:46 -0000 Received: (qmail 48913 invoked by uid 500); 10 Nov 2007 07:40:33 -0000 Delivered-To: [email protected] Received: (qmail 48905 invoked by uid 500); 10 Nov 2007 07:40:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48894 invoked by uid 99); 10 Nov 2007 07:40:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 23:40:33 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO alexander.swishmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Nov 2007 07:40:35 +0000 Received: (qmail 7966 invoked by uid 89); 10 Nov 2007 05:53:01 -0000 Received: from unknown (HELO ?161.129.204.104?) ([email protected]@161.129.204.104) by alexander.swishmail.com with ESMTPA; 10 Nov 2007 05:53:00 -0000 Message-ID: <[email protected]> Date: Sat, 10 Nov 2007 00:51:44 -0500 From: "Eric J. Schwarzenbach" <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:161.129.204.104) Gecko/20070728 Thunderbird/161.129.204.104 Mnenhy/161.129.204.104 MIME-Version: 1.0 To: [email protected] CC: [email protected] Subject: Re: [Request] Xerces-J: XML Schema 1.1 feature feedback References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org My first vote would be for _Complex Type Restriction_. I've spent countless hours in the past bashing my head against the spec when trying to do something with restriction that intuitively made sense (and would be valid according to subset logic) but which ran afoul of the byzantine rules that govern it in XML Schema 1.0. My second vote would be Assertions. I'm sorry I don't have any specific scenarios at the top of my head, as I haven't been writing schemas much recently, but cases constantly came up when I've written shemas or worked with other's schemas where some XPath assertions were just the needed thing (and often ended up getting implemented in other tools for checks at other stages of content processing). Eric Schwarzenbach Khaled Noaman wrote: > > Hi, > > The W3C Schema WG has released a last call working draft of XML Schema > 1.1 Part 1: Structures. We are considering implementing features from > this draft in Xerces-J. We would like to understand which features > users are most interested in and what scenarios they plan on using > them in. > > Here's a summary of the major features introduced in the spec: > > _All Group _ > XML Schema 1.0 imposed many restrictions on <all> groups. XML Schema > 1.1 has relaxed several of those constraints: > > * <all> groups can now be extended by adding more members to them. > * Wildcards are now allowed. > * Particles in <all> groups can now have the value of maxOccurs be > greater than 1. > > > <xs:complexType name="applianceType"> > <xs:all> > <xs:element name="item" type="xs:string"/> > <xs:element name="description" type="xs:string"/> > </xs:all> > </xs:complexType> > > <xs:complexType name="heaterType"> > <xs:complexContent> > <xs:extension base="applianceType"> > <xs:all> > <xs:element name="power_in_watt" type="xs:integer"/> > <xs:any processContents="lax"/> > </xs:all> > </xs:extension> > </xs:complexContent> > </xs:complexType> > > _Assertions_ > A form of co-occurrence constraint, using XPath 2.0 expressions, that > is associated with a complex type to constrain element and attribute > values. The list of assertions is evaluated when a complex type is > used to validate an element. > > <xs:complexType name="intRange"> > <xs:attribute name="min" type="xs:int"/> > <xs:attribute name="max" type="xs:int"/> > <xs:assert test="@min le @max"/> > </xs:complexType> > > The value of the 'min' attribute must be less than the value of the > 'max' attribute. > > <xs:complexType name="arrayType"> > <xs:sequence> > <xs:element name="entry" minOccurs="0" maxOccurs="unbounded"/> > </xs:sequence> > <xs:attribute name="length" type="xs:int"/> > <xs:assert test="@length eq fn:count(./entry)"/> > </xs:complexType> > > The value of the 'length' attribute must be equal to the number of > occurrences of the 'entry' sub-elements. > > _Open Content Models_ > A new mechanism to allow content models to accept elements other than > those explicitly defined. The schema author controls the degree of > openness of the content model. They can specify whether elements > should be accepted everywhere or at the end of the content model. > > <xs:complexType name="name"> > <xs:openContent mode="suffix"> > <xs:any namespace="##other" processContents="skip"/> > </xs:openContent> > <xs:sequence> > <xs:element name="given" type="xs:string"/> > <xs:element name="middle" type="xs:string" minOccurs="0"/> > <xs:element name="family" type="xs:string"/> > </xs:sequence> > </xs:complexType> > > A schema author can also define a default open content at the schema > document level, thus saving many copy/paste if the open content is the > same across the complex types. > > <xs:schema > xmlns:xs="http://www.w3.org/2001/XMLSchema" > targetNamespace="http://www.example.com/example"> > . . . > <xs:defaultOpenContent mode="interleave"> > <xs:any processContents="lax"/> > </xs:defaultOpenContent> > . . . > </xs:schema> > > _Enhanced Wildcards_ > In XML Schema 1.0, a schema author was only allowed to exclude > elements and attributes from one namespace, the target namespace, by > using ##other. In XML Schema 1.1, a schema author can define wildcards > that exclude: > > * Elements and attributes from a set of namespaces by using > [notNamespace] > * A particular set of qualified elements and attributes by using > [notQName] > * "not-in-schema" elements and attributes (those that do not match > any declaration in the schema) by including the ##defined > keyword in [notQName] > > > <xs:any namespace="http://www.w3.org/1999/XSL/Transform" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > notQName="xsl:comment xsl:fallback"/> > > <xs:anyAttribute xmlns:ns1="_http://ns1_" > notNamespace="ns1 ##targetNamespace"/> > > _Complex Type Restriction_ > The rules for checking validity of complex-type restrictions have been > simplified. The set of elements or attributes accepted by a > restriction must be a subset of those accepted by its base type. > > _Conditional Type Assignment_ > A form of co-occurrence constraint, using XPath 2.0, that allows for a > type to be assigned to an element instance based on its properties > (typically attribute values). > > <xs:complexType name="valueType"> > <xs:simpleContent> > <xs:extenstion base="xs:long"> > <xs:attribute name="kind" type="xs:string"/> > </xs:extension> > </xs:simpleContent> > </xs:complexType> > > <xs:element name="value" type="valueType"> > <xs:alternative test="@kind='int'" type="xs:int"/> > <xs:alternative test="@kind='short'" type="xs:short"/> > <xs:alternative test="@kind='byte'" type="xs:byte"/> > </xs:element> > > _Default Attributes_ > A new mechanism that makes it easier for schema authors to include > common attributes like xml:base and xml:lang in all their content models. > > <xs:schema > xmlns:xs="http://www.w3.org/2001/XMLSchema" > targetNamespace="http://www.example.com/example" > defaultAttributes="defaultAttrGroup"> > . . . > </xs:schema> > > _Conditional Inclusion_ > A mechanism that allows conforming XML Schema 1.1 processors to > successfully ignore new constructs introduced in future version of the > spec. It also allows schema authors to define schemas with newer > constructs and be able to fall back to older versions when the newer > constructs are not available. > > <xsd:schema > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"> > > <xsd:element name="e" vc:minVersion="3.2"> > <!--* declaration suitable for 3.2 > * and later processors *--> > </xsd:element> > <xsd:element name="e" > vc:minVersion="1.1" > vc:maxVersion="3.1"> > <!--* declaration suitable for processors > * supporting versions 1.1 through 3.1 > *--> > </xsd:element> > ... > </xsd:schema> > > > We would appreciate your feedback. > > Regards, > Khaled > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Nov 10 21:40:51 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9924 invoked from network); 10 Nov 2007 21:40:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Nov 2007 21:40:51 -0000 Received: (qmail 70169 invoked by uid 500); 10 Nov 2007 21:40:37 -0000 Delivered-To: [email protected] Received: (qmail 70146 invoked by uid 500); 10 Nov 2007 21:40:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 70135 invoked by uid 99); 10 Nov 2007 21:40:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Nov 2007 13:40:37 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mout2.freenet.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Nov 2007 21:40:39 +0000 Received: from [161.129.204.104] (helo=6.mx.freenet.de) by mout2.freenet.de with esmtpa (Exim 4.68) (envelope-from <[email protected]>) id 1Iqy3t-0001HX-NI for [email protected]; Sat, 10 Nov 2007 22:40:17 +0100 Received: from dslb-088-073-029-127.pools.arcor-ip.net ([161.129.204.104]:2938 helo=[161.129.204.104]) by 6.mx.freenet.de with esmtpsa (ID [email protected]) (TLSv1:AES256-SHA:256) (port 465) (Exim 4.68 #1) id 1Iqy3t-0000WJ-GA for [email protected]; Sat, 10 Nov 2007 22:40:17 +0100 Message-ID: <[email protected]> Date: Sat, 10 Nov 2007 22:37:46 +0100 From: Florian Wendland <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20070728) MIME-Version: 1.0 To: [email protected] Subject: Re: [Request] Xerces-J: XML Schema 1.1 feature feedback References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi all, i would propose these features: Conditional Inclusion Assertions Enhanced Wildcards All Group Conditional Type Assignment These are very interesting improvements for xsd imho thx --mfw Khaled Noaman schrieb: > > Hi, > > The W3C Schema WG has released a last call working draft of XML Schema > 1.1 Part 1: Structures. We are considering implementing features from > this draft in Xerces-J. We would like to understand which features users > are most interested in and what scenarios they plan on using them in. > > Here's a summary of the major features introduced in the spec: > > _All Group _ > XML Schema 1.0 imposed many restrictions on <all> groups. XML Schema 1.1 > has relaxed several of those constraints: > > * <all> groups can now be extended by adding more members to them. > * Wildcards are now allowed. > * Particles in <all> groups can now have the value of maxOccurs be > greater than 1. > > > <xs:complexType name="applianceType"> > <xs:all> > <xs:element name="item" type="xs:string"/> > <xs:element name="description" type="xs:string"/> > </xs:all> > </xs:complexType> > > <xs:complexType name="heaterType"> > <xs:complexContent> > <xs:extension base="applianceType"> > <xs:all> > <xs:element name="power_in_watt" type="xs:integer"/> > <xs:any processContents="lax"/> > </xs:all> > </xs:extension> > </xs:complexContent> > </xs:complexType> > > _Conditional Inclusion_ > A form of co-occurrence constraint, using XPath 2.0 expressions, that is > associated with a complex type to constrain element and attribute > values. The list of assertions is evaluated when a complex type is used > to validate an element. > > <xs:complexType name="intRange"> > <xs:attribute name="min" type="xs:int"/> > <xs:attribute name="max" type="xs:int"/> > <xs:assert test="@min le @max"/> > </xs:complexType> > > The value of the 'min' attribute must be less than the value of the > 'max' attribute. > > <xs:complexType name="arrayType"> > <xs:sequence> > <xs:element name="entry" minOccurs="0" maxOccurs="unbounded"/> > </xs:sequence> > <xs:attribute name="length" type="xs:int"/> > <xs:assert test="@length eq fn:count(./entry)"/> > </xs:complexType> > > The value of the 'length' attribute must be equal to the number of > occurrences of the 'entry' sub-elements. > > _Open Content Models_ > A new mechanism to allow content models to accept elements other than > those explicitly defined. The schema author controls the degree of > openness of the content model. They can specify whether elements should > be accepted everywhere or at the end of the content model. > > <xs:complexType name="name"> > <xs:openContent mode="suffix"> > <xs:any namespace="##other" processContents="skip"/> > </xs:openContent> > <xs:sequence> > <xs:element name="given" type="xs:string"/> > <xs:element name="middle" type="xs:string" minOccurs="0"/> > <xs:element name="family" type="xs:string"/> > </xs:sequence> > </xs:complexType> > > A schema author can also define a default open content at the schema > document level, thus saving many copy/paste if the open content is the > same across the complex types. > > <xs:schema > xmlns:xs="http://www.w3.org/2001/XMLSchema" > targetNamespace="http://www.example.com/example"> > . . . > <xs:defaultOpenContent mode="interleave"> > <xs:any processContents="lax"/> > </xs:defaultOpenContent> > . . . > </xs:schema> > > _Enhanced Wildcards_ > In XML Schema 1.0, a schema author was only allowed to exclude elements > and attributes from one namespace, the target namespace, by using > ##other. In XML Schema 1.1, a schema author can define wildcards that > exclude: > > * Elements and attributes from a set of namespaces by using > [notNamespace] > * A particular set of qualified elements and attributes by using > [notQName] > * "not-in-schema" elements and attributes (those that do not match > any declaration in the schema) by including the ##defined keyword > in [notQName] > > > <xs:any namespace="http://www.w3.org/1999/XSL/Transform" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > notQName="xsl:comment xsl:fallback"/> > > <xs:anyAttribute xmlns:ns1="_http://ns1_" > notNamespace="ns1 ##targetNamespace"/> > > _Complex Type Restriction_ > The rules for checking validity of complex-type restrictions have been > simplified. The set of elements or attributes accepted by a restriction > must be a subset of those accepted by its base type. > > _Conditional Type Assignment_ > A form of co-occurrence constraint, using XPath 2.0, that allows for a > type to be assigned to an element instance based on its properties > (typically attribute values). > > <xs:complexType name="valueType"> > <xs:simpleContent> > <xs:extenstion base="xs:long"> > <xs:attribute name="kind" type="xs:string"/> > </xs:extension> > </xs:simpleContent> > </xs:complexType> > > <xs:element name="value" type="valueType"> > <xs:alternative test="@kind='int'" type="xs:int"/> > <xs:alternative test="@kind='short'" type="xs:short"/> > <xs:alternative test="@kind='byte'" type="xs:byte"/> > </xs:element> > > _Default Attributes_ > A new mechanism that makes it easier for schema authors to include > common attributes like xml:base and xml:lang in all their content models. > > <xs:schema > xmlns:xs="http://www.w3.org/2001/XMLSchema" > targetNamespace="http://www.example.com/example" > defaultAttributes="defaultAttrGroup"> > . . . > </xs:schema> > > _Conditional Inclusion_ > A mechanism that allows conforming XML Schema 1.1 processors to > successfully ignore new constructs introduced in future version of the > spec. It also allows schema authors to define schemas with newer > constructs and be able to fall back to older versions when the newer > constructs are not available. > > <xsd:schema > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"> > > <xsd:element name="e" vc:minVersion="3.2"> > <!--* declaration suitable for 3.2 > * and later processors *--> > </xsd:element> > <xsd:element name="e" > vc:minVersion="1.1" > vc:maxVersion="3.1"> > <!--* declaration suitable for processors > * supporting versions 1.1 through 3.1 > *--> > </xsd:element> > ... > </xsd:schema> > > > We would appreciate your feedback. > > Regards, > Khaled > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Nov 12 02:17:57 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68181 invoked from network); 12 Nov 2007 02:17:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Nov 2007 02:17:57 -0000 Received: (qmail 34259 invoked by uid 500); 12 Nov 2007 02:17:44 -0000 Delivered-To: [email protected] Received: (qmail 34238 invoked by uid 500); 12 Nov 2007 02:17:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 26008 invoked by uid 99); 12 Nov 2007 01:49:48 -0000 X-ASF-Spam-Status: No, hits=-0.2 required=10.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) X-VirusChecked: Checked X-Env-Sender: [email protected] X-Msg-Ref: server-14.tower-137.messagelabs.com!1194832158!2518592!1 X-StarScan-Version: 161.129.204.104.2; banners=ubmatrix.com,-,- X-Originating-IP: [161.129.204.104] X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C824CE.3CE23CA5" Subject: grammar pool population Date: Sun, 11 Nov 2007 17:49:17 -0800 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: grammar pool population Thread-Index: AcgkzjxDFwpeD0rmRWGKesM2xcvH4g== From: "Andy Harris" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C824CE.3CE23CA5 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello- For=20performance=20reasons,=20I'm=20caching=20grammars=20for=20validation= =20of=20an instance=20against=20a=20set=20of=20connected=20and=20disconnected=20schem= as=20of=20an=20XBRL taxonomy.=20Schemas=20can=20be=20disconnected=20when=20discovered=20via=20= linkbases.=20The only=20way=20I=20can=20get=20this=20working=20is=20to=20re-generate=20gram= mar=20every=20time, letting=20Xerces=20construct=20the=20pool=20before=20validating=20the=20in= stance.=20This is=20very=20expensive=20to=20let=20xerces=20parse=20grammar=20more=20then=20= once. Searching=20the=20xerces-2=20grammar=20FAQ=20and=20other=20mailing=20lists= =20on=20the internet=20has=20suggestions=20on=20how=20to=20"actively"=20construct=20gr= ammar=20pools (caching=20grammars),=20but=20I=20still=20get=20the=20following=20warning(= s): Warning: One=20of=20the=20grammar(s)=20returned=20from=20the=20user's=20grammar=20p= ool=20is=20in conflict=20with=20another=20grammar. Here=20is=20my=20integration=20code=20for=20building=20a=20grammar=20pool=20= from=202=20or=20more root=20schemas: =20while=20(schemas.hasNext())=20{ IDTSNode=20schemaNode=20=3D=20(IDTSNode)=20schemas.next(); =20=20=20=20=20=20=20=20=20=20=20=20XMLGrammarPoolImpl=20gp=20=3D (XMLGrammarPoolImpl)schemaNode.getGrammarPool(); =20=20=20=20=20=20=20=20=20=20=20=20Grammar[]=20g=20=3D gp.retrieveInitialGrammarSet("http://www.w3.org/2001/XMLSchema"); =20 grammarPool.cacheGrammars("http://www.w3.org/2001/XMLSchema",=20g); } A=20root=20schema=20does=20not=20have=20any=20referencing=20schemas=20and=20= the=20set=20of schemas=20are=20reverse=20topologically=20sorted.=20Inspection=20of=20the=20= graph=20of grammars=20within=20grammarPool=20reveals=20that=20they=20are=20the=20same= =20as=20when Xerces=20populates=20the=20grammar=20pool.=20Is=20this=20the=20correct=20w= ay=20to=20cache grammars=20into=20the=20grammar=20pool? If=20there=20is=20only=201=20root=20schema,=20there=20is=20no=20additional= =20"merging"=20of grammars=20and=20the=20grammar=20pool=20from=20the=20single=20root=20schem= a=20can=20be=20used directly=20to=20validate=20an=20instance. A=20grammar=20pool=20is=20set=20on=20a=20configuration=20instance=20as=20a= =20feature=20and passed=20to=20the=20constructor=20of=20DOMParser: =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20DOMParser=20parser=20=3D=20new DOMParser(config); The=20grammarPool=20is=20locked=20before=20parsing=20and=20unlocked=20afte= r=20parsing=20to prevent=20further=20entity=20resolution.=20In=20addition=20to=20XML=20sche= ma=20validation, my=20application=20caches=20Grammars=20for=20PSVI=20analysis=20and=20XML=20= prototyping. Analysis=20of=20the=20grammarPool=20source=20code=20indicates=20that=20a=20= warning=20is generated=20because=20there=20must=20be=20two=20instances=20of=20Grammar=20= with=20the=20same target=20namespace.=20However,=20I=20don't=20see=20this=20when=20looking=20= through=20the grammarPool=20instance.=20My=20next=20step=20is=20to=20step=20through=20th= e=20Xerces-2 sources=20under=20my=20application,=20but=20was=20hoping=20somebody=20coul= d=20indicate improper=20usage=20on=20my=20part. thanks, -Andy =20 ______________________________________________________________________ This=20email=20has=20been=20scanned=20by=20the=20MessageLabs=20Email=20Sec= urity=20System. For=20more=20information=20please=20visit=20http://www.messagelabs.com/ema= il=20 ______________________________________________________________________ ------_=_NextPart_001_01C824CE.3CE23CA5 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html=20xmlns:v=3D"urn:schemas-microsoft-com:vml"=20xmlns:o=3D"urn:schemas= -microsoft-com:office:office"=20xmlns:w=3D"urn:schemas-microsoft-com:offic= e:word"=20xmlns:x=3D"urn:schemas-microsoft-com:office:excel"=20xmlns:p=3D"= urn:schemas-microsoft-com:office:powerpoint"=20xmlns:oa=3D"urn:schemas-mic= rosoft-com:office:activation"=20xmlns=3D"http://www.w3.org/TR/REC-html40">= <head> <META=20HTTP-EQUIV=3D"Content-Type"=20CONTENT=3D"text/html;=20charset=3Dus= -ascii"> <meta=20name=3DGenerator=20content=3D"Microsoft=20Word=2011=20(filtered=20= medium)"> <style> <!-- =20/*=20Style=20Definitions=20*/ =20p.MsoNormal,=20li.MsoNormal,=20div.MsoNormal =09{margin:0in; =09margin-bottom:.0001pt; =09font-size:12.0pt; =09font-family:"Times=20New=20Roman";} a:link,=20span.MsoHyperlink =09{color:blue; =09text-decoration:underline;} a:visited,=20span.MsoHyperlinkFollowed =09{color:purple; =09text-decoration:underline;} span.EmailStyle17 =09{mso-style-type:personal-compose; =09font-family:Arial; =09color:windowtext;} @page=20Section1 =09{size:8.5in=2011.0in; =09margin:1.0in=201.25in=201.0in=201.25in;} div.Section1 =09{page:Section1;} --> </style> </head> <body=20lang=3DEN-US=20link=3Dblue=20vlink=3Dpurple> <div=20class=3DSection1> <p=20class=3DMsoNormal=20style=3D'mso-margin-top-alt:auto;mso-margin-botto= m-alt:auto'><font size=3D2=20color=3Dblack=20face=3DArial><span=20style=3D'font-size:10.0pt;= font-family:Arial; color:black'>Hello-</span></font><font=20color=3Dblack><span=20style=3D'co= lor:black'><o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'mso-margin-top-alt:auto;mso-margin-botto= m-alt:auto'><font size=3D2=20color=3Dblack=20face=3DArial><span=20style=3D'font-size:10.0pt;= font-family:Arial; color:black'>For=20performance=20reasons,=20I&#8217;m=20caching=20grammars= =20for=20validation of=20an=20instance=20against=20a=20set=20of=20connected=20and=20disconnect= ed=20schemas=20of=20an=20XBRL taxonomy.=20Schemas=20can=20be=20disconnected=20when=20discovered=20via linkbases.&nbsp;The&nbsp;only=20way=20I=20can=20get=20this=20working=20is=20= to&nbsp;re-generate grammar=20every=20time,=20letting=20Xerces=20construct=20the=20pool=20befo= re=20validating=20the instance.&nbsp;This=20is=20very=20expensive=20to=20let=20xerces=20parse=20= grammar=20more=20then once.</span></font><font=20color=3Dblack><span=20style=3D'color:black'><o:= p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'mso-margin-top-alt:auto;mso-margin-botto= m-alt:auto'><font size=3D2=20color=3Dblack=20face=3DArial><span=20style=3D'font-size:10.0pt;= font-family:Arial; color:black'>Searching=20the=20xerces-2=20grammar=20FAQ=20and=20other=20ma= iling=20lists=20on=20the internet=20has=20suggestions=20on=20how=20to=20&quot;actively&quot;=20cons= truct=20grammar=20pools (caching=20grammars),=20but=20I=20still=20get=20the=20following=20warning(= s):</span></font><font color=3Dblack><span=20style=3D'color:black'><o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'mso-margin-top-alt:auto;mso-margin-botto= m-alt:auto'><font size=3D2=20color=3Dblack=20face=3DArial><span=20style=3D'font-size:10.0pt;= font-family:Arial; color:black'>Warning:</span></font><font=20color=3Dblack><span=20style=3D'= color:black'><o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'mso-margin-top-alt:auto;mso-margin-botto= m-alt:auto'><font size=3D2=20color=3Dblack=20face=3D"Courier=20New"><span=20style=3D'font-si= ze:10.0pt;font-family: "Courier=20New";color:black;background:white'>One=20of=20the=20grammar(s)=20= returned=20from the=20user's=20grammar=20pool=20is=20in=20conflict=20with=20another=20gram= mar.</span></font><font color=3Dblack><span=20style=3D'color:black'><o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'mso-margin-top-alt:auto;mso-margin-botto= m-alt:auto'><font size=3D2=20color=3Dblack=20face=3D"Courier=20New"><span=20style=3D'font-si= ze:10.0pt;font-family: "Courier=20New";color:black'>Here=20is=20my=20integration=20code=20for=20b= uilding=20a=20grammar pool=20from=202=20or=20more=20root=20schemas:</span></font><font=20color=3D= black><span style=3D'color:black'><o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'mso-margin-top-alt:auto;mso-margin-botto= m-alt:auto'><font size=3D2=20color=3Dblack=20face=3DArial><span=20style=3D'font-size:10.0pt;= font-family:Arial; color:black'>&nbsp;while=20(schemas.hasNext())=20{</span></font><font=20co= lor=3Dblack><span style=3D'color:black'><o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'mso-margin-top-alt:auto;mso-margin-botto= m-alt:auto; text-indent:.5in'><font=20size=3D2=20color=3Dblack=20face=3DArial><span=20= style=3D'font-size: 10.0pt;font-family:Arial;color:black'>IDTSNode=20schemaNode=20=3D=20(IDTSN= ode) schemas.next();</span></font><font=20color=3Dblack><span=20style=3D'color:= black'><o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'mso-margin-top-alt:auto;mso-margin-botto= m-alt:auto'><font size=3D2=20color=3Dblack=20face=3DArial><span=20style=3D'font-size:10.0pt;= font-family:Arial; color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp; XMLGrammarPoolImpl=20gp=20=3D=20(XMLGrammarPoolImpl)schemaNode.getGrammarP= ool();</span></font><font color=3Dblack><span=20style=3D'color:black'><o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'mso-margin-top-alt:auto;mso-margin-botto= m-alt:auto'><font size=3D2=20color=3Dblack=20face=3DArial><span=20style=3D'font-size:10.0pt;= font-family:Arial; color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp; Grammar[]=20g=20=3D gp.retrieveInitialGrammarSet(&quot;http://www.w3.org/2001/XMLSchema&quot;)= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font><font=20color=3Dblack><span=20style=3D'color:black'><o:p></o= :p></span></font></p> <p=20class=3DMsoNormal=20style=3D'mso-margin-top-alt:auto;mso-margin-botto= m-alt:auto'><font size=3D2=20color=3Dblack=20face=3DArial><span=20style=3D'font-size:10.0pt;= font-family:Arial; color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp; grammarPool.cacheGrammars(&quot;http://www.w3.org/2001/XMLSchema&quot;,=20= g);</span></font><font color=3Dblack><span=20style=3D'color:black'><o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'mso-margin-top-alt:auto;mso-margin-botto= m-alt:auto'><font size=3D2=20color=3Dblack=20face=3DArial><span=20style=3D'font-size:10.0pt;= font-family:Arial; color:black'>}</span></font><font=20color=3Dblack><span=20style=3D'color:b= lack'><o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'mso-margin-top-alt:auto;mso-margin-botto= m-alt:auto'><font size=3D2=20color=3Dblack=20face=3DArial><span=20style=3D'font-size:10.0pt;= font-family:Arial; color:black'>A=20root=20schema=20does=20not=20have=20any=20referencing=20s= chemas=20and=20the=20set=20of schemas=20are=20reverse=20topologically=20sorted.=20Inspection=20of=20the=20= graph=20of=20grammars within=20grammarPool=20reveals=20that=20they=20are=20the=20same=20as=20whe= n=20Xerces=20populates=20the grammar=20pool.=20Is=20this=20the=20correct=20way=20to=20cache=20grammars=20= into=20the=20grammar=20pool?</span></font><font color=3Dblack><span=20style=3D'color:black'><o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'mso-margin-top-alt:auto;mso-margin-botto= m-alt:auto'><font size=3D2=20color=3Dblack=20face=3DArial><span=20style=3D'font-size:10.0pt;= font-family:Arial; color:black'>If=20there=20is=20only=201=20root=20schema,=20there=20is=20no= =20additional=20&#8220;merging&#8221; of=20grammars=20and=20the=20grammar=20pool=20from=20the=20single=20root=20= schema=20can=20be=20used directly=20to=20validate=20an=20instance.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'mso-margin-top-alt:auto;mso-margin-botto= m-alt:auto'><font size=3D2=20color=3Dblack=20face=3DArial><span=20style=3D'font-size:10.0pt;= font-family:Arial; color:black'>A=20grammar=20pool=20is=20set=20on=20a=20configuration=20inst= ance=20as=20a=20feature=20and passed=20to=20the=20constructor=20of=20DOMParser:</span></font><font=20col= or=3Dblack><span style=3D'color:black'><o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'mso-margin-top-alt:auto;mso-margin-botto= m-alt:auto'><font size=3D2=20color=3Dblack=20face=3DArial><span=20style=3D'font-size:10.0pt;= font-family:Arial; color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DOMPa= rser parser=20=3D=20new=20DOMParser(config);</span></font><font=20color=3Dblack= ><span style=3D'color:black'><o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'mso-margin-top-alt:auto;mso-margin-botto= m-alt:auto'><font size=3D2=20color=3Dblack=20face=3DArial><span=20style=3D'font-size:10.0pt;= font-family:Arial; color:black'>The=20grammarPool=20is=20locked=20before=20parsing=20and=20un= locked=20after parsing=20to=20prevent=20further=20entity=20resolution.=20In=20addition=20= to=20XML=20schema validation,=20my=20application=20caches=20Grammars=20for=20PSVI=20analysis= =20and=20XML prototyping.</span></font><font=20color=3Dblack><span=20style=3D'color:bla= ck'><o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'mso-margin-top-alt:auto;mso-margin-botto= m-alt:auto'><font size=3D2=20color=3Dblack=20face=3DArial><span=20style=3D'font-size:10.0pt;= font-family:Arial; color:black'>Analysis=20of=20the=20grammarPool=20source=20code=20indicates= =20that=20a=20warning is=20generated=20because=20there=20must=20be=20two=20instances=20of=20Gram= mar=20with=20the=20same=20target namespace.=20However,=20I=20don&#8217;t=20see=20this=20when=20looking=20th= rough=20the=20grammarPool instance.=20My=20next=20step=20is=20to=20step=20through=20the=20Xerces-2=20= sources=20under=20my application,=20but=20was=20hoping=20somebody=20could=20indicate=20improper= =20usage=20on=20my=20part.</span></font><font color=3Dblack><span=20style=3D'color:black'><o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'mso-margin-top-alt:auto;mso-margin-botto= m-alt:auto'><font size=3D2=20color=3Dblack=20face=3DArial><span=20style=3D'font-size:10.0pt;= font-family:Arial; color:black'>thanks,</span></font><font=20color=3Dblack><span=20style=3D'c= olor:black'><o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'mso-margin-top-alt:auto;mso-margin-botto= m-alt:auto'><font size=3D2=20color=3Dblack=20face=3DArial><span=20style=3D'font-size:10.0pt;= font-family:Arial; color:black'>-Andy</span></font><font=20color=3Dblack><span=20style=3D'col= or:black'><o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> </div> <BR> ______________________________________________________________________<BR>= This=20email=20has=20been=20scanned=20by=20the=20MessageLabs=20Email=20Sec= urity=20System.<BR> For=20more=20information=20please=20visit=20http://www.messagelabs.com/ema= il=20<BR> ______________________________________________________________________<BR>= </body> </html> ------_=_NextPart_001_01C824CE.3CE23CA5-- From [email protected] Mon Nov 12 03:17:01 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81723 invoked from network); 12 Nov 2007 03:17:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Nov 2007 03:17:01 -0000 Received: (qmail 59592 invoked by uid 500); 12 Nov 2007 03:16:48 -0000 Delivered-To: [email protected] Received: (qmail 59575 invoked by uid 500); 12 Nov 2007 03:16:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 59564 invoked by uid 99); 12 Nov 2007 03:16:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Nov 2007 19:16:47 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e5.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Nov 2007 03:16:49 +0000 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [161.129.204.104]) by e5.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id lAC3GQtU004155 for <[email protected]>; Sun, 11 Nov 2007 22:16:26 -0500 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [161.129.204.104]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v8.6) with ESMTP id lAC3GQiP492232 for <[email protected]>; Sun, 11 Nov 2007 22:16:26 -0500 Received: from d01av01.pok.ibm.com (loopback [161.129.204.104]) by d01av01.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id lAC3GQio008063 for <[email protected]>; Sun, 11 Nov 2007 22:16:26 -0500 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av01.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id lAC3GPST008055 for <[email protected]>; Sun, 11 Nov 2007 22:16:25 -0500 In-Reply-To: <[email protected]> Subject: Re: grammar pool population To: [email protected] Cc: [email protected] X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Sun, 11 Nov 2007 22:16:25 -0500 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 11/11/2007 22:16:25 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Andy, You're right. This warning is generated when a grammar pool returns multiple grammar objects for the same target namespace. Note that this includes imports (each SchemaGrammar has a list of them which the schem= a validator's grammar bucket [1] extracts), so if you loaded several gram= mars independently with different grammar pools and they had imports for the= same namespace you might run into this. If these grammar objects are tr= uly equal I suppose you could resolve the conflict by replacing the duplica= tes with a unique instance or avoid the issue altogether by using a single grammar pool for all of the schemas. Thanks. [1] http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/im= pl/xs/XSGrammarBucket.java?revision=3D446734&view=3Dmarkup Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] "Andy Harris" <[email protected]> wrote on 11/11/2007 08:49:17 P= M: > Hello- > For performance reasons, I?m caching grammars for validation of an > instance against a set of connected and disconnected schemas of an > XBRL taxonomy. Schemas can be disconnected when discovered via > linkbases. The only way I can get this working is to re-generate > grammar every time, letting Xerces construct the pool before > validating the instance. This is very expensive to let xerces parse > grammar more then once. > Searching the xerces-2 grammar FAQ and other mailing lists on the > internet has suggestions on how to "actively" construct grammar > pools (caching grammars), but I still get the following warning(s): > Warning: > One of the grammar(s) returned from the user's grammar pool is in > conflict with another grammar. > Here is my integration code for building a grammar pool from 2 or > more root schemas: > while (schemas.hasNext()) { > IDTSNode schemaNode =3D (IDTSNode) schemas.next(); > XMLGrammarPoolImpl gp =3D (XMLGrammarPoolImpl)schemaNode.= > getGrammarPool(); > Grammar[] g =3D gp.retrieveInitialGrammarSet("http://www.= > w3.org/2001/XMLSchema"); > grammarPool.cacheGrammars("http://www.w3.org/2001/XMLSche= ma", g); > } > A root schema does not have any referencing schemas and the set of > schemas are reverse topologically sorted. Inspection of the graph of > grammars within grammarPool reveals that they are the same as when > Xerces populates the grammar pool. Is this the correct way to cache > grammars into the grammar pool? > If there is only 1 root schema, there is no additional ?merging? of > grammars and the grammar pool from the single root schema can be > used directly to validate an instance. > A grammar pool is set on a configuration instance as a feature and > passed to the constructor of DOMParser: > DOMParser parser =3D new DOMParser(config); > The grammarPool is locked before parsing and unlocked after parsing > to prevent further entity resolution. In addition to XML schema > validation, my application caches Grammars for PSVI analysis and XML > prototyping. > Analysis of the grammarPool source code indicates that a warning is > generated because there must be two instances of Grammar with the > same target namespace. However, I don?t see this when looking > through the grammarPool instance. My next step is to step through > the Xerces-2 sources under my application, but was hoping somebody > could indicate improper usage on my part. > thanks, > -Andy= --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Nov 12 05:12:41 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6034 invoked from network); 12 Nov 2007 05:12:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Nov 2007 05:12:41 -0000 Received: (qmail 97743 invoked by uid 500); 12 Nov 2007 05:12:28 -0000 Delivered-To: [email protected] Received: (qmail 97736 invoked by uid 500); 12 Nov 2007 05:12:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 96138 invoked by uid 99); 12 Nov 2007 05:05:11 -0000 X-ASF-Spam-Status: No, hits=-2.2 required=10.0 tests=MIME_QP_LONG_LINE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) X-VirusChecked: Checked X-Env-Sender: [email protected] X-Msg-Ref: server-5.tower-143.messagelabs.com!1194843892!13194912!1 X-StarScan-Version: 161.129.204.104.2; banners=ubmatrix.com,-,- X-Originating-IP: [161.129.204.104] X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: grammar pool population Date: Sun, 11 Nov 2007 21:04:51 -0800 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: grammar pool population Thread-Index: Acgk2myzMYeQxtU2SOmzBQzQ1/+b2QADsBZg From: "Andy Harris" <[email protected]> To: "Michael Glavassevich" <[email protected]>, <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Thanks=20for=20your=20response.=20How=20are=20includes=20represented=20in=20= the=20grammar pool?=20It=20would=20seem=20that=20included=20schemas=20-=20which=20all=20= have=20the=20same targetNamespace=20-=20would=20trigger=20these=20warnings. -----Original=20Message----- From:=20Michael=20Glavassevich=20[mailto:[email protected]]=20 Sent:=20Sunday,=20November=2011,=202007=207:16=20PM To:[email protected] Cc:=20Andy=20Harris Subject:=20Re:=20grammar=20pool=20population Hi=20Andy, You're=20right.=20This=20warning=20is=20generated=20when=20a=20grammar=20p= ool=20returns multiple=20grammar=20objects=20for=20the=20same=20target=20namespace.=20No= te=20that=20this includes=20imports=20(each=20SchemaGrammar=20has=20a=20list=20of=20them=20= which=20the=20schema validator's=20grammar=20bucket=20[1]=20extracts),=20so=20if=20you=20loaded= =20several grammars independently=20with=20different=20grammar=20pools=20and=20they=20had=20im= ports=20for=20the same=20namespace=20you=20might=20run=20into=20this.=20If=20these=20grammar= =20objects=20are truly equal=20I=20suppose=20you=20could=20resolve=20the=20conflict=20by=20replac= ing=20the duplicates with=20a=20unique=20instance=20or=20avoid=20the=20issue=20altogether=20by=20= using=20a=20single grammar=20pool=20for=20all=20of=20the=20schemas. Thanks. [1] http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/imp l/xs/XSGrammarBucket.java?revision=3D446734&view=3Dmarkup Michael=20Glavassevich XML=20Parser=20Development IBM=20Toronto=20Lab E-mail:[email protected] E-mail:[email protected] "Andy=20Harris"=20<[email protected]>=20wrote=20on=2011/11/2007=200= 8:49:17 PM: >=20Hello- >=20For=20performance=20reasons,=20I?m=20caching=20grammars=20for=20valida= tion=20of=20an >=20instance=20against=20a=20set=20of=20connected=20and=20disconnected=20s= chemas=20of=20an >=20XBRL=20taxonomy.=20Schemas=20can=20be=20disconnected=20when=20discover= ed=20via >=20linkbases.=20The=20only=20way=20I=20can=20get=20this=20working=20is=20= to=20re-generate >=20grammar=20every=20time,=20letting=20Xerces=20construct=20the=20pool=20= before >=20validating=20the=20instance.=20This=20is=20very=20expensive=20to=20let= =20xerces=20parse >=20grammar=20more=20then=20once. >=20Searching=20the=20xerces-2=20grammar=20FAQ=20and=20other=20mailing=20l= ists=20on=20the >=20internet=20has=20suggestions=20on=20how=20to=20"actively"=20construct=20= grammar >=20pools=20(caching=20grammars),=20but=20I=20still=20get=20the=20followin= g=20warning(s): >=20Warning: >=20One=20of=20the=20grammar(s)=20returned=20from=20the=20user's=20grammar= =20pool=20is=20in >=20conflict=20with=20another=20grammar. >=20Here=20is=20my=20integration=20code=20for=20building=20a=20grammar=20p= ool=20from=202=20or >=20more=20root=20schemas: >=20=20while=20(schemas.hasNext())=20{ >=20IDTSNode=20schemaNode=20=3D=20(IDTSNode)=20schemas.next(); >=20=20=20=20=20=20=20=20=20=20=20=20=20XMLGrammarPoolImpl=20gp=20=3D=20(X= MLGrammarPoolImpl)schemaNode. >=20getGrammarPool(); >=20=20=20=20=20=20=20=20=20=20=20=20=20Grammar[]=20g=20=3D=20gp.retrieveI= nitialGrammarSet("http://www. >=20w3.org/2001/XMLSchema"); > grammarPool.cacheGrammars("http://www.w3.org/2001/XMLSchema", g); >=20} >=20A=20root=20schema=20does=20not=20have=20any=20referencing=20schemas=20= and=20the=20set=20of >=20schemas=20are=20reverse=20topologically=20sorted.=20Inspection=20of=20= the=20graph=20of >=20grammars=20within=20grammarPool=20reveals=20that=20they=20are=20the=20= same=20as=20when >=20Xerces=20populates=20the=20grammar=20pool.=20Is=20this=20the=20correct= =20way=20to=20cache >=20grammars=20into=20the=20grammar=20pool? >=20If=20there=20is=20only=201=20root=20schema,=20there=20is=20no=20additi= onal=20?merging?=20of >=20grammars=20and=20the=20grammar=20pool=20from=20the=20single=20root=20s= chema=20can=20be >=20used=20directly=20to=20validate=20an=20instance. >=20A=20grammar=20pool=20is=20set=20on=20a=20configuration=20instance=20as= =20a=20feature=20and >=20passed=20to=20the=20constructor=20of=20DOMParser: >=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20DOMParser=20parser=20=3D=20new DOMParser(config); >=20The=20grammarPool=20is=20locked=20before=20parsing=20and=20unlocked=20= after=20parsing >=20to=20prevent=20further=20entity=20resolution.=20In=20addition=20to=20X= ML=20schema >=20validation,=20my=20application=20caches=20Grammars=20for=20PSVI=20anal= ysis=20and=20XML >=20prototyping. >=20Analysis=20of=20the=20grammarPool=20source=20code=20indicates=20that=20= a=20warning=20is >=20generated=20because=20there=20must=20be=20two=20instances=20of=20Gramm= ar=20with=20the >=20same=20target=20namespace.=20However,=20I=20don?t=20see=20this=20when=20= looking >=20through=20the=20grammarPool=20instance.=20My=20next=20step=20is=20to=20= step=20through >=20the=20Xerces-2=20sources=20under=20my=20application,=20but=20was=20hop= ing=20somebody >=20could=20indicate=20improper=20usage=20on=20my=20part. >=20thanks, >=20-Andy ______________________________________________________________________ This=20email=20has=20been=20scanned=20by=20the=20MessageLabs=20Email=20Sec= urity=20System. For=20more=20information=20please=20visit=20http://www.messagelabs.com/ema= il=20 ______________________________________________________________________ ______________________________________________________________________ This=20email=20has=20been=20scanned=20by=20the=20MessageLabs=20Email=20Sec= urity=20System. For=20more=20information=20please=20visit=20http://www.messagelabs.com/ema= il=20 ______________________________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Nov 12 08:19:58 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98314 invoked from network); 12 Nov 2007 08:19:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Nov 2007 08:19:58 -0000 Received: (qmail 29033 invoked by uid 500); 12 Nov 2007 08:19:45 -0000 Delivered-To: [email protected] Received: (qmail 29014 invoked by uid 500); 12 Nov 2007 08:19:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 29003 invoked by uid 99); 12 Nov 2007 08:19:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Nov 2007 00:19:44 -0800 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of [email protected] does not designate 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail.pramati.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Nov 2007 08:20:33 +0000 Received: from localhost (unknown [161.129.204.104]) by mail.pramati.com (Postfix) with ESMTP id 6AEEAA05A92; Mon, 12 Nov 2007 07:31:32 +0000 (UTC) X-Virus-Scanned: scanned by pramati.com Received: from mail.pramati.com ([161.129.204.104]) by localhost (mail.pramati.com [161.129.204.104]) (amavisd-new, port 10024) with ESMTP id ac7Fx7vmOMJP; Mon, 12 Nov 2007 13:01:21 +0530 (IST) Received: from survey-demo.dekoh.com (prashant-r.pramati.com [161.129.204.104]) by mail.pramati.com (Postfix) with ESMTP id C1092A05D5E; Mon, 12 Nov 2007 13:01:10 +0530 (IST) Subject: Re: [Request] Xerces-J: XML Schema 1.1 feature feedback From: Prashant Reddy <[email protected]> Reply-To: [email protected] To: [email protected], Khaled Noaman <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset=UTF-8 Organization: Pramati Technologies Date: Mon, 12 Nov 2007 13:46:38 +0530 Message-Id: <1194855398.23991.129.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hello: 1. Conditional Inclusion 2. Assertions These features are what we are most interested in. Scenarios : 1. Conditional Inclusion : The example XML snippet which employs the "condition inclusion" along with XMLSchema-versioning is a very compelling use case for us. 2. Assertions : Similar validation code currently exists in factory methods that create the data objects from an XML instance document. Putting these in Schema with help of Assertion is makes it more portable. Appreciate the effort of collecting feedback while the specification is evolving. Thank you. -Prashant On Fri, 2007-11-09 at 17:01 -0500, Khaled Noaman wrote: > > Hi, > > The W3C Schema WG has released a last call working draft of XML Schema > 1.1 Part 1: Structures. We are considering implementing features from > this draft in Xerces-J. We would like to understand which features > users are most interested in and what scenarios they plan on using > them in. > > Here's a summary of the major features introduced in the spec: > > All Group > XML Schema 1.0 imposed many restrictions on <all> groups. XML Schema > 1.1 has relaxed several of those constraints: > * <all> groups can now be extended by adding more members to > them. > * Wildcards are now allowed. > * Particles in <all> groups can now have the value of maxOccurs > be greater than 1. > > <xs:complexType name="applianceType"> > <xs:all> > <xs:element name="item" type="xs:string"/> > <xs:element name="description" type="xs:string"/> > </xs:all> > </xs:complexType> > > <xs:complexType name="heaterType"> > <xs:complexContent> > <xs:extension base="applianceType"> > <xs:all> > <xs:element name="power_in_watt" type="xs:integer"/> > <xs:any processContents="lax"/> > </xs:all> > </xs:extension> > </xs:complexContent> > </xs:complexType> > > Assertions > A form of co-occurrence constraint, using XPath 2.0 expressions, that > is associated with a complex type to constrain element and attribute > values. The list of assertions is evaluated when a complex type is > used to validate an element. > > <xs:complexType name="intRange"> > <xs:attribute name="min" type="xs:int"/> > <xs:attribute name="max" type="xs:int"/> > <xs:assert test="@min le @max"/> > </xs:complexType> > > The value of the 'min' attribute must be less than the value of the > 'max' attribute. > > <xs:complexType name="arrayType"> > <xs:sequence> > <xs:element name="entry" minOccurs="0" maxOccurs="unbounded"/> > </xs:sequence> > <xs:attribute name="length" type="xs:int"/> > <xs:assert test="@length eq fn:count(./entry)"/> > </xs:complexType> > > The value of the 'length' attribute must be equal to the number of > occurrences of the 'entry' sub-elements. > > Open Content Models > A new mechanism to allow content models to accept elements other than > those explicitly defined. The schema author controls the degree of > openness of the content model. They can specify whether elements > should be accepted everywhere or at the end of the content model. > > <xs:complexType name="name"> > <xs:openContent mode="suffix"> > <xs:any namespace="##other" processContents="skip"/> > </xs:openContent> > <xs:sequence> > <xs:element name="given" type="xs:string"/> > <xs:element name="middle" type="xs:string" minOccurs="0"/> > <xs:element name="family" type="xs:string"/> > </xs:sequence> > </xs:complexType> > > A schema author can also define a default open content at the schema > document level, thus saving many copy/paste if the open content is the > same across the complex types. > > <xs:schema > xmlns:xs="http://www.w3.org/2001/XMLSchema" > targetNamespace="http://www.example.com/example"> > . . . > <xs:defaultOpenContent mode="interleave"> > <xs:any processContents="lax"/> > </xs:defaultOpenContent> > . . . > </xs:schema> > > Enhanced Wildcards > In XML Schema 1.0, a schema author was only allowed to exclude > elements and attributes from one namespace, the target namespace, by > using ##other. In XML Schema 1.1, a schema author can define wildcards > that exclude: > * Elements and attributes from a set of namespaces by using > [notNamespace] > * A particular set of qualified elements and attributes by using > [notQName] > * "not-in-schema" elements and attributes (those that do not > match any declaration in the schema) by including the > ##defined keyword in [notQName] > > <xs:any namespace="http://www.w3.org/1999/XSL/Transform" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > notQName="xsl:comment xsl:fallback"/> > > <xs:anyAttribute xmlns:ns1="http://ns1" > notNamespace="ns1 ##targetNamespace"/> > > Complex Type Restriction > The rules for checking validity of complex-type restrictions have been > simplified. The set of elements or attributes accepted by a > restriction must be a subset of those accepted by its base type. > > Conditional Type Assignment > A form of co-occurrence constraint, using XPath 2.0, that allows for a > type to be assigned to an element instance based on its properties > (typically attribute values). > > <xs:complexType name="valueType"> > <xs:simpleContent> > <xs:extenstion base="xs:long"> > <xs:attribute name="kind" type="xs:string"/> > </xs:extension> > </xs:simpleContent> > </xs:complexType> > > <xs:element name="value" type="valueType"> > <xs:alternative test="@kind='int'" type="xs:int"/> > <xs:alternative test="@kind='short'" type="xs:short"/> > <xs:alternative test="@kind='byte'" type="xs:byte"/> > </xs:element> > > Default Attributes > A new mechanism that makes it easier for schema authors to include > common attributes like xml:base and xml:lang in all their content > models. > > <xs:schema > xmlns:xs="http://www.w3.org/2001/XMLSchema" > targetNamespace="http://www.example.com/example" > defaultAttributes="defaultAttrGroup"> > . . . > </xs:schema> > > Conditional Inclusion > A mechanism that allows conforming XML Schema 1.1 processors to > successfully ignore new constructs introduced in future version of the > spec. It also allows schema authors to define schemas with newer > constructs and be able to fall back to older versions when the newer > constructs are not available. > > <xsd:schema > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"> > > <xsd:element name="e" vc:minVersion="3.2"> > <!--* declaration suitable for 3.2 > * and later processors *--> > </xsd:element> > <xsd:element name="e" > vc:minVersion="1.1" > vc:maxVersion="3.1"> > <!--* declaration suitable for processors > * supporting versions 1.1 through 3.1 > *--> > </xsd:element> > ... > </xsd:schema> > > > We would appreciate your feedback. > > Regards, > Khaled --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Nov 12 15:47:31 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31382 invoked from network); 12 Nov 2007 15:47:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Nov 2007 15:47:30 -0000 Received: (qmail 45204 invoked by uid 500); 12 Nov 2007 15:47:16 -0000 Delivered-To: [email protected] Received: (qmail 45185 invoked by uid 500); 12 Nov 2007 15:47:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 45160 invoked by uid 99); 12 Nov 2007 15:47:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Nov 2007 07:47:16 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e6.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Nov 2007 15:47:18 +0000 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [161.129.204.104]) by e6.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id lACFmWjx020681 for <[email protected]>; Mon, 12 Nov 2007 10:48:32 -0500 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [161.129.204.104]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v8.6) with ESMTP id lACFktjZ488650 for <[email protected]>; Mon, 12 Nov 2007 10:46:55 -0500 Received: from d01av04.pok.ibm.com (loopback [161.129.204.104]) by d01av04.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id lACFktTA023963 for <[email protected]>; Mon, 12 Nov 2007 10:46:55 -0500 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av04.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id lACFksOG023953 for <[email protected]>; Mon, 12 Nov 2007 10:46:54 -0500 Subject: Fw: [Request] Xerces-J: XML Schema 1.1 feature feedback To: [email protected] X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Mon, 12 Nov 2007 10:46:54 -0500 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 11/12/2007 10:46:55 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org (Forwarding some feedback from Nathan to j-users ...) Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] [email protected] wrote on 11/09/2007 11:25:06 PM: > I don't have any specific scenarios of use at the moment, but the > assertions and conditional inclusions (versioning) features sound the > most appealing to me, for whatever that's worth. > > -Nathan > > On Nov 9, 2007 4:01 PM, Khaled Noaman <[email protected]> wrote: > > > > Hi, > > > > The W3C Schema WG has released a last call working draft of XML Schema 1.1 > > Part 1: Structures. We are considering implementing features from this draft > > in Xerces-J. We would like to understand which features users are most > > interested in and what scenarios they plan on using them in. > > > > Here's a summary of the major features introduced in the spec: > > > > All Group > > XML Schema 1.0 imposed many restrictions on <all> groups. XML Schema 1.1 has > > relaxed several of those constraints: > > > > <all> groups can now be extended by adding more members to them. > > Wildcards are now allowed. > > Particles in <all> groups can now have the value of maxOccurs be greater > > than 1. > > <xs:complexType name="applianceType"> > > <xs:all> > > <xs:element name="item" type="xs:string"/> > > <xs:element name="description" type="xs:string"/> > > </xs:all> > > </xs:complexType> > > > > <xs:complexType name="heaterType"> > > <xs:complexContent> > > <xs:extension base="applianceType"> > > <xs:all> > > <xs:element name="power_in_watt" type="xs:integer"/> > > <xs:any processContents="lax"/> > > </xs:all> > > </xs:extension> > > </xs:complexContent> > > </xs:complexType> > > > > Assertions > > A form of co-occurrence constraint, using XPath 2.0 expressions, that is > > associated with a complex type to constrain element and attribute values. > > The list of assertions is evaluated when a complex type is used to validate > > an element. > > > > <xs:complexType name="intRange"> > > <xs:attribute name="min" type="xs:int"/> > > <xs:attribute name="max" type="xs:int"/> > > <xs:assert test="@min le @max"/> > > </xs:complexType> > > > > The value of the 'min' attribute must be less than the value of the 'max' > > attribute. > > > > <xs:complexType name="arrayType"> > > <xs:sequence> > > <xs:element name="entry" minOccurs="0" maxOccurs="unbounded"/> > > </xs:sequence> > > <xs:attribute name="length" type="xs:int"/> > > <xs:assert test="@length eq fn:count(./entry)"/> > > </xs:complexType> > > > > The value of the 'length' attribute must be equal to the number of > > occurrences of the 'entry' sub-elements. > > > > Open Content Models > > A new mechanism to allow content models to accept elements other than those > > explicitly defined. The schema author controls the degree of openness of the > > content model. They can specify whether elements should be accepted > > everywhere or at the end of the content model. > > > > <xs:complexType name="name"> > > <xs:openContent mode="suffix"> > > <xs:any namespace="##other" processContents="skip"/> > > </xs:openContent> > > <xs:sequence> > > <xs:element name="given" type="xs:string"/> > > <xs:element name="middle" type="xs:string" minOccurs="0"/> > > <xs:element name="family" type="xs:string"/> > > </xs:sequence> > > </xs:complexType> > > > > A schema author can also define a default open content at the schema > > document level, thus saving many copy/paste if the open content is the same > > across the complex types. > > > > <xs:schema > > xmlns:xs="http://www.w3.org/2001/XMLSchema" > > targetNamespace="http://www.example.com/example"> > > . . . > > <xs:defaultOpenContent mode="interleave"> > > <xs:any processContents="lax"/> > > </xs:defaultOpenContent> > > . . . > > </xs:schema> > > > > Enhanced Wildcards > > In XML Schema 1.0, a schema author was only allowed to exclude elements and > > attributes from one namespace, the target namespace, by using ##other. In > > XML Schema 1.1, a schema author can define wildcards that exclude: > > > > Elements and attributes from a set of namespaces by using [notNamespace] > > A particular set of qualified elements and attributes by using [notQName] > > "not-in-schema" elements and attributes (those that do not match any > > declaration in the schema) by including the ##defined keyword in [notQName] > > <xs:any namespace="http://www.w3.org/1999/XSL/Transform" > > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > > notQName="xsl:comment xsl:fallback"/> > > > > <xs:anyAttribute xmlns:ns1="http://ns1" > > notNamespace="ns1 ##targetNamespace"/> > > > > Complex Type Restriction > > The rules for checking validity of complex-type restrictions have been > > simplified. The set of elements or attributes accepted by a restriction must > > be a subset of those accepted by its base type. > > > > Conditional Type Assignment > > A form of co-occurrence constraint, using XPath 2.0, that allows for a type > > to be assigned to an element instance based on its properties (typically > > attribute values). > > > > <xs:complexType name="valueType"> > > <xs:simpleContent> > > <xs:extenstion base="xs:long"> > > <xs:attribute name="kind" type="xs:string"/> > > </xs:extension> > > </xs:simpleContent> > > </xs:complexType> > > > > <xs:element name="value" type="valueType"> > > <xs:alternative test="@kind='int'" type="xs:int"/> > > <xs:alternative test="@kind='short'" type="xs:short"/> > > <xs:alternative test="@kind='byte'" type="xs:byte"/> > > </xs:element> > > > > Default Attributes > > A new mechanism that makes it easier for schema authors to include common > > attributes like xml:base and xml:lang in all their content models. > > > > <xs:schema > > xmlns:xs="http://www.w3.org/2001/XMLSchema" > > targetNamespace="http://www.example.com/example" > > defaultAttributes="defaultAttrGroup"> > > . . . > > </xs:schema> > > > > Conditional Inclusion > > A mechanism that allows conforming XML Schema 1.1 processors to successfully > > ignore new constructs introduced in future version of the spec. It also > > allows schema authors to define schemas with newer constructs and be able to > > fall back to older versions when the newer constructs are not available. > > > > <xsd:schema > > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > > xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"> > > > > <xsd:element name="e" vc:minVersion="3.2"> > > <!--* declaration suitable for 3.2> * and later processors *--> > > </xsd:element> > > <xsd:element name="e" > > vc:minVersion="1.1" > > vc:maxVersion="3.1"> > > <!--* declaration suitable for processors> * > supporting versions 1.1 through 3.1> *--> > > </xsd:element> > > ... > > </xsd:schema> > > > > > > We would appreciate your feedback. > > > > Regards, > > Khaled > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Nov 15 12:16:15 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65010 invoked from network); 15 Nov 2007 12:16:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Nov 2007 12:16:15 -0000 Received: (qmail 9923 invoked by uid 500); 15 Nov 2007 12:15:56 -0000 Delivered-To: [email protected] Received: (qmail 9904 invoked by uid 500); 15 Nov 2007 12:15:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 9893 invoked by uid 99); 15 Nov 2007 12:15:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2007 04:15:56 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wa-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2007 12:15:46 +0000 Received: by wa-out-1112.google.com with SMTP id m16so603327waf for <[email protected]>; Thu, 15 Nov 2007 04:15:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=AvVPVBzZBwmccefhob4KMkd2eSQus/YFXWSP9jOwP/Y=; b=hC/O98rSrME3qbdrRCUFjDyNTLFRAXOsxgjTvz0RQjTSb2VoWvjBg+FNcDrPgRKpCaF7YOxf3JrTZyZe+Cr14X7f4iFjtoXImLtJxCU7FKYE6r47VtimjDs5Mpj4E3MpgoWAZfsZnInvU7T1pQfJofzlVXGw6cLcW4Qbb2W1nGA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=M+LKSlpCMjtEK9qLiF5AAiBYLxVajVHg8FN2iWWeM0dYW6a8gAFTeYXA0NX0RitjghaLDUeIx2ttUneGCCnX7Fo6n61CzGf5w9MRAo6v+vuMjclZk/igfjSmpfUZbGEhcF/Jh0dmTarvw1ipK/edXCMFjJ2lApJj9OT8UxBGVwM= Received: by 161.129.204.104 with SMTP id a20mr623245waa.1195128940083; Thu, 15 Nov 2007 04:15:40 -0800 (PST) Received: by 161.129.204.104 with HTTP; Thu, 15 Nov 2007 04:15:40 -0800 (PST) Message-ID: <[email protected]> Date: Thu, 15 Nov 2007 13:15:40 +0100 From: "=?ISO-8859-1?Q?Simon_B=F8ggild?=" <[email protected]> To: [email protected] Subject: Validating a xsd schema file MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi, I would like to know if it's possible (and how) to use Xerces to perform Schema validation in the same manner as SQC (Schema Quality Checker from IBM). That is, to validate the correctness of the schema file itself without looking at any instances of it. Regards, Simon --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Nov 15 16:50:09 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92955 invoked from network); 15 Nov 2007 16:50:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Nov 2007 16:50:09 -0000 Received: (qmail 47511 invoked by uid 500); 15 Nov 2007 16:49:55 -0000 Delivered-To: [email protected] Received: (qmail 47489 invoked by uid 500); 15 Nov 2007 16:49:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 47472 invoked by uid 99); 15 Nov 2007 16:49:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2007 08:49:55 -0800 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtp.ufl.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2007 16:49:43 +0000 Received: from formula.fcla.edu (formula.fcla.edu [161.129.204.104]) by smtp.ufl.edu (8.13.7/8.13.7/2.5.9) with ESMTP id lAFGnYMn1298582 for <[email protected]>; Thu, 15 Nov 2007 11:49:35 -0500 Received: by formula.fcla.edu (Postfix, from userid 1000) id 7CD1FEF15B; Thu, 15 Nov 2007 11:49:34 -0500 (EST) Date: Thu, 15 Nov 2007 11:49:34 -0500 From: Francesco Lazzarino <[email protected]> To: [email protected] Subject: Re: Validating a xsd schema file Message-ID: <[email protected]> References: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <[email protected]> User-Agent: Mutt/1.5.16 (2007-06-09) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0rc3 (smtp.ufl.edu [161.129.204.104]); Thu, 15 Nov 2007 11:49:35 -0500 (EST) X-UFL-Spam-Status: hits=-1.363, required=5, tests=ALL_TRUSTED,TW_XS X-Scanned-By: CNS Open Systems Group (http://open-systems.ufl.edu/services/smtp-relay/) X-UFL-Scanned-By: CNS Open Systems Group (http://open-systems.ufl.edu/services/smtp-relay/) X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: hits=-1.363, required=5, tests=ALL_TRUSTED,TW_XS i'm not sure how SQC works but XMLSchema is XML and thus it can be validated as any other xml file. i believe (i'm a little rusty) that XMLSchemas are instances of XMLSchema.xsd and that uses XMLSchema.dtd that assumes you want to validate it for correctness according to XMLSchema.xsd and XMLSchema.dtd. On Thu, Nov 15, 2007 at 01:15:40PM +0100, Simon Bøggild wrote: > Hi, > > I would like to know if it's possible (and how) to use Xerces to > perform Schema validation in the same manner as SQC (Schema Quality > Checker from IBM). That is, to validate the correctness of the schema > file itself without looking at any instances of it. > > Regards, > Simon > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Francesco Lazzarino Digital Archive Programmer Florida Center for Library Automation http://daitss.fcla.edu --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Nov 16 03:29:28 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91135 invoked from network); 16 Nov 2007 03:29:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Nov 2007 03:29:28 -0000 Received: (qmail 11217 invoked by uid 500); 16 Nov 2007 03:29:14 -0000 Delivered-To: [email protected] Received: (qmail 11189 invoked by uid 500); 16 Nov 2007 03:29:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 11177 invoked by uid 99); 16 Nov 2007 03:29:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2007 19:29:14 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e4.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2007 03:29:02 +0000 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [161.129.204.104]) by e4.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id lAG3SRin025612 for <[email protected]>; Thu, 15 Nov 2007 22:28:27 -0500 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [161.129.204.104]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v8.6) with ESMTP id lAG3SHPv467772 for <[email protected]>; Thu, 15 Nov 2007 22:28:27 -0500 Received: from d01av03.pok.ibm.com (loopback [161.129.204.104]) by d01av03.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id lAG3SHo1025679 for <[email protected]>; Thu, 15 Nov 2007 22:28:17 -0500 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av03.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id lAG3SHlI025676; Thu, 15 Nov 2007 22:28:17 -0500 In-Reply-To: <[email protected]> Subject: RE: grammar pool population To: [email protected] Cc: [email protected] X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Thu, 15 Nov 2007 22:28:17 -0500 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 11/15/2007 22:28:18 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Hi Andy, Each SchemaGrammar is a container for all the schema components of a given target namespace. Includes have no representation in the model (though you can query [1] the grammar for the list of document URIs which contributed to it). All of the schema components constructed from the includes will be stored in the same grammar object. Thanks. [1] http://xerces.apache.org/xerces2-j/javadocs/xs/org/apache/xerces/xs/XSNamespaceItem.html#getDocumentLocations() Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] "Andy Harris" <[email protected]> wrote on 11/12/2007 12:04:51 AM: > Thanks for your response. How are includes represented in the grammar > pool? It would seem that included schemas - which all have the same > targetNamespace - would trigger these warnings. > > -----Original Message----- > From: Michael Glavassevich [mailto:[email protected]] > Sent: Sunday, November 11, 2007 7:16 PM > To: [email protected] > Cc: Andy Harris > Subject: Re: grammar pool population > > Hi Andy, > > You're right. This warning is generated when a grammar pool returns > multiple grammar objects for the same target namespace. Note that this > includes imports (each SchemaGrammar has a list of them which the schema > validator's grammar bucket [1] extracts), so if you loaded several > grammars > independently with different grammar pools and they had imports for the > same namespace you might run into this. If these grammar objects are > truly > equal I suppose you could resolve the conflict by replacing the > duplicates > with a unique instance or avoid the issue altogether by using a single > grammar pool for all of the schemas. > > Thanks. > > [1] > http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/imp > l/xs/XSGrammarBucket.java?revision=446734&view=markup > > Michael Glavassevich > XML Parser Development > IBM Toronto Lab > E-mail: [email protected] > E-mail: [email protected] > > "Andy Harris" <[email protected]> wrote on 11/11/2007 08:49:17 > PM: > > > Hello- > > For performance reasons, I?m caching grammars for validation of an > > instance against a set of connected and disconnected schemas of an > > XBRL taxonomy. Schemas can be disconnected when discovered via > > linkbases. The only way I can get this working is to re-generate > > grammar every time, letting Xerces construct the pool before > > validating the instance. This is very expensive to let xerces parse > > grammar more then once. > > Searching the xerces-2 grammar FAQ and other mailing lists on the > > internet has suggestions on how to "actively" construct grammar > > pools (caching grammars), but I still get the following warning(s): > > Warning: > > One of the grammar(s) returned from the user's grammar pool is in > > conflict with another grammar. > > Here is my integration code for building a grammar pool from 2 or > > more root schemas: > > while (schemas.hasNext()) { > > IDTSNode schemaNode = (IDTSNode) schemas.next(); > > XMLGrammarPoolImpl gp = (XMLGrammarPoolImpl)schemaNode. > > getGrammarPool(); > > Grammar[] g = gp.retrieveInitialGrammarSet("http://www. > > w3.org/2001/XMLSchema"); > > > grammarPool.cacheGrammars("http://www.w3.org/2001/XMLSchema", > g); > > } > > A root schema does not have any referencing schemas and the set of > > schemas are reverse topologically sorted. Inspection of the graph of > > grammars within grammarPool reveals that they are the same as when > > Xerces populates the grammar pool. Is this the correct way to cache > > grammars into the grammar pool? > > If there is only 1 root schema, there is no additional ?merging? of > > grammars and the grammar pool from the single root schema can be > > used directly to validate an instance. > > A grammar pool is set on a configuration instance as a feature and > > passed to the constructor of DOMParser: > > DOMParser parser = new > DOMParser(config); > > The grammarPool is locked before parsing and unlocked after parsing > > to prevent further entity resolution. In addition to XML schema > > validation, my application caches Grammars for PSVI analysis and XML > > prototyping. > > Analysis of the grammarPool source code indicates that a warning is > > generated because there must be two instances of Grammar with the > > same target namespace. However, I don?t see this when looking > > through the grammarPool instance. My next step is to step through > > the Xerces-2 sources under my application, but was hoping somebody > > could indicate improper usage on my part. > > thanks, > > -Andy > > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Nov 16 04:06:03 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1250 invoked from network); 16 Nov 2007 04:06:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Nov 2007 04:06:03 -0000 Received: (qmail 42360 invoked by uid 500); 16 Nov 2007 04:05:50 -0000 Delivered-To: [email protected] Received: (qmail 42337 invoked by uid 500); 16 Nov 2007 04:05:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 42326 invoked by uid 99); 16 Nov 2007 04:05:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2007 20:05:50 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e4.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2007 04:05:37 +0000 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [161.129.204.104]) by e4.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id lAG45UdK012192 for <[email protected]>; Thu, 15 Nov 2007 23:05:30 -0500 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [161.129.204.104]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v8.6) with ESMTP id lAG45UNT133592 for <[email protected]>; Thu, 15 Nov 2007 23:05:30 -0500 Received: from d01av02.pok.ibm.com (loopback [161.129.204.104]) by d01av02.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id lAG45UQm014168 for <[email protected]>; Thu, 15 Nov 2007 23:05:30 -0500 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av02.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id lAG45TfD014155 for <[email protected]>; Thu, 15 Nov 2007 23:05:30 -0500 In-Reply-To: <[email protected]> Subject: Re: Validating a xsd schema file To: [email protected] X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Thu, 15 Nov 2007 23:05:30 -0500 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 11/15/2007 23:05:31 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Validating your schema against the schema for schemas (XMLSchema.xsd) i= sn't sufficient for determining whether your schema is valid. There are many= constraints which cannot be expressed in the language, for example the complex rules for particle derivation [1] which apply to complex type restriction/extension. Xerces checks these constraints among many other= s when it loads/processes a schema. You could use the SchemaFactory [2] f= rom JAXP 1.3 for that purpose. Thanks. [1] http://www.w3.org/TR/xmlschema-1/#coss-particle [2] http://xerces.apache.org/xerces2-j/javadocs/api/javax/xml/validation/Sc= hemaFactory.html Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] Francesco Lazzarino <[email protected]> wrote on 11/15/2007 11:49:34 AM: > i'm not sure how SQC works but XMLSchema is XML and thus it can be > validated as any other xml file. > > i believe (i'm a little rusty) that XMLSchemas are instances of > XMLSchema.xsd and that uses XMLSchema.dtd > > that assumes you want to validate it for correctness according to > XMLSchema.xsd and XMLSchema.dtd. > > On Thu, Nov 15, 2007 at 01:15:40PM +0100, Simon B=F8ggild wrote: > > Hi, > > > > I would like to know if it's possible (and how) to use Xerces to > > perform Schema validation in the same manner as SQC (Schema Quality= > > Checker from IBM). That is, to validate the correctness of the sche= ma > > file itself without looking at any instances of it. > > > > Regards, > > Simon > > > > -------------------------------------------------------------------= -- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > -- > Francesco Lazzarino > Digital Archive Programmer > Florida Center for Library Automation > http://daitss.fcla.edu > > ---------------------------------------------------------------------= > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected]= --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Nov 16 04:20:35 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4262 invoked from network); 16 Nov 2007 04:20:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Nov 2007 04:20:34 -0000 Received: (qmail 50269 invoked by uid 500); 16 Nov 2007 04:20:21 -0000 Delivered-To: [email protected] Received: (qmail 50261 invoked by uid 500); 16 Nov 2007 04:20:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 50247 invoked by uid 99); 16 Nov 2007 04:20:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2007 20:20:21 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e1.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2007 04:20:08 +0000 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [161.129.204.104]) by e1.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id lAG4Jx3h019487 for <[email protected]>; Thu, 15 Nov 2007 23:19:59 -0500 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [161.129.204.104]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v8.6) with ESMTP id lAG4Jofw112076 for <[email protected]>; Thu, 15 Nov 2007 23:19:59 -0500 Received: from d01av04.pok.ibm.com (loopback [161.129.204.104]) by d01av04.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id lAG4JoPT020959 for <[email protected]>; Thu, 15 Nov 2007 23:19:50 -0500 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av04.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id lAG4JnMF020949 for <[email protected]>; Thu, 15 Nov 2007 23:19:49 -0500 In-Reply-To: <1194855398.23991.129.camel@localhost> Subject: Re: [Request] Xerces-J: XML Schema 1.1 feature feedback To: [email protected] X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Thu, 15 Nov 2007 23:19:49 -0500 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 11/15/2007 23:19:51 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Probably worth pointing out that in order to be immediately useful to users, the conditional inclusion [1] feature would need to be supported= in XML Schema 1.0 processors as well. [1] http://www.w3.org/TR/2007/WD-xmlschema11-1-20070830/#cip Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] Prashant Reddy <[email protected]> wrote on 11/12/2007 03:16:38 AM: > Hello: > > 1. Conditional Inclusion > 2. Assertions > > These features are what we are most interested in. > > Scenarios : > > 1. Conditional Inclusion : The example XML snippet which employs the > "condition inclusion" along with XMLSchema-versioning is a very > compelling use case for us. > > 2. Assertions : Similar validation code currently exists in factory > methods that create the data objects from an XML instance document. > Putting these in Schema with help of Assertion is makes it more > portable. > > Appreciate the effort of collecting feedback while the specification = is > evolving. Thank you. > > -Prashant > > > On Fri, 2007-11-09 at 17:01 -0500, Khaled Noaman wrote: > > > > Hi, > > > > The W3C Schema WG has released a last call working draft of XML Sch= ema > > 1.1 Part 1: Structures. We are considering implementing features fr= om > > this draft in Xerces-J. We would like to understand which features > > users are most interested in and what scenarios they plan on using > > them in. > > > > Here's a summary of the major features introduced in the spec: > > > > All Group > > XML Schema 1.0 imposed many restrictions on <all> groups. XML Schem= a > > 1.1 has relaxed several of those constraints: > > * <all> groups can now be extended by adding more members to > > them. > > * Wildcards are now allowed. > > * Particles in <all> groups can now have the value of maxOccu= rs > > be greater than 1. > > > > <xs:complexType name=3D"applianceType"> > > <xs:all> > > <xs:element name=3D"item" type=3D"xs:string"/> > > <xs:element name=3D"description" type=3D"xs:string"/> > > </xs:all> > > </xs:complexType> > > > > <xs:complexType name=3D"heaterType"> > > <xs:complexContent> > > <xs:extension base=3D"applianceType"> > > <xs:all> > > <xs:element name=3D"power_in_watt" type=3D"xs:integer"/> > > <xs:any processContents=3D"lax"/> > > </xs:all> > > </xs:extension> > > </xs:complexContent> > > </xs:complexType> > > > > Assertions > > A form of co-occurrence constraint, using XPath 2.0 expressions, th= at > > is associated with a complex type to constrain element and attribut= e > > values. The list of assertions is evaluated when a complex type is > > used to validate an element. > > > > <xs:complexType name=3D"intRange"> > > <xs:attribute name=3D"min" type=3D"xs:int"/> > > <xs:attribute name=3D"max" type=3D"xs:int"/> > > <xs:assert test=3D"@min le @max"/> > > </xs:complexType> > > > > The value of the ?min? attribute must be less than the value of the= > > ?max? attribute. > > > > <xs:complexType name=3D"arrayType"> > > <xs:sequence> > > <xs:element name=3D"entry" minOccurs=3D"0" maxOccurs=3D"unbounded= "/> > > </xs:sequence> > > <xs:attribute name=3D"length" type=3D"xs:int"/> > > <xs:assert test=3D"@length eq fn:count(./entry)"/> > > </xs:complexType> > > > > The value of the ?length? attribute must be equal to the number of > > occurrences of the ?entry? sub-elements. > > > > Open Content Models > > A new mechanism to allow content models to accept elements other th= an > > those explicitly defined. The schema author controls the degree of > > openness of the content model. They can specify whether elements > > should be accepted everywhere or at the end of the content model. > > > > <xs:complexType name=3D"name"> > > <xs:openContent mode=3D"suffix"> > > <xs:any namespace=3D"##other" processContents=3D"skip"/> > > </xs:openContent> > > <xs:sequence> > > <xs:element name=3D"given" type=3D"xs:string"/> > > <xs:element name=3D"middle" type=3D"xs:string" minOccurs=3D"0"/= > > > <xs:element name=3D"family" type=3D"xs:string"/> > > </xs:sequence> > > </xs:complexType> > > > > A schema author can also define a default open content at the schem= a > > document level, thus saving many copy/paste if the open content is = the > > same across the complex types. > > > > <xs:schema > > xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" > > targetNamespace=3D"http://www.example.com/example"> > > . . . > > <xs:defaultOpenContent mode=3D"interleave"> > > <xs:any processContents=3D"lax"/> > > </xs:defaultOpenContent> > > . . . > > </xs:schema> > > > > Enhanced Wildcards > > In XML Schema 1.0, a schema author was only allowed to exclude > > elements and attributes from one namespace, the target namespace, = by > > using ##other. In XML Schema 1.1, a schema author can define wildca= rds > > that exclude: > > * Elements and attributes from a set of namespaces by using > > [notNamespace] > > * A particular set of qualified elements and attributes by us= ing > > [notQName] > > * ?not-in-schema? elements and attributes (those that do not > > match any declaration in the schema) by including the > > ##defined keyword in [notQName] > > > > <xs:any namespace=3D"http://www.w3.org/1999/XSL/Transform" > > xmlns:xsl=3D"http://www.w3.org/1999/XSL/Transform" > > notQName=3D"xsl:comment xsl:fallback"/> > > > > <xs:anyAttribute xmlns:ns1=3D"http://ns1" > > notNamespace=3D"ns1 ##targetNamespace"/> > > > > Complex Type Restriction > > The rules for checking validity of complex-type restrictions have b= een > > simplified. The set of elements or attributes accepted by a > > restriction must be a subset of those accepted by its base type. > > > > Conditional Type Assignment > > A form of co-occurrence constraint, using XPath 2.0, that allows fo= r a > > type to be assigned to an element instance based on its properties > > (typically attribute values). > > > > <xs:complexType name=3D"valueType"> > > <xs:simpleContent> > > <xs:extenstion base=3D"xs:long"> > > <xs:attribute name=3D"kind" type=3D"xs:string"/> > > </xs:extension> > > </xs:simpleContent> > > </xs:complexType> > > > > <xs:element name=3D"value" type=3D"valueType"> > > <xs:alternative test=3D"@kind=3D'int'" type=3D"xs:int"/> > > <xs:alternative test=3D"@kind=3D'short'" type=3D"xs:short"/> > > <xs:alternative test=3D"@kind=3D'byte'" type=3D"xs:byte"/> > > </xs:element> > > > > Default Attributes > > A new mechanism that makes it easier for schema authors to include > > common attributes like xml:base and xml:lang in all their content > > models. > > > > <xs:schema > > xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" > > targetNamespace=3D"http://www.example.com/example" > > defaultAttributes=3D"defaultAttrGroup"> > > . . . > > </xs:schema> > > > > Conditional Inclusion > > A mechanism that allows conforming XML Schema 1.1 processors to > > successfully ignore new constructs introduced in future version of = the > > spec. It also allows schema authors to define schemas with newer > > constructs and be able to fall back to older versions when the newe= r > > constructs are not available. > > > > <xsd:schema > > xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" > > xmlns:vc=3D"http://www.w3.org/2007/XMLSchema-versioning"> > > > > <xsd:element name=3D"e" vc:minVersion=3D"3.2"> > > <!--* declaration suitable for 3.2 =0D=3E * and later > processors *--> > > </xsd:element> > > <xsd:element name=3D"e" > > vc:minVersion=3D"1.1" > > vc:maxVersion=3D"3.1"> > > <!--* declaration suitable for processors =0D=3E * > supporting versions 1.1 through 3.1 =0D=3E *--> > > </xsd:element> > > ... > > </xsd:schema> > > > > > > We would appreciate your feedback. > > > > Regards, > > Khaled > > > > ---------------------------------------------------------------------= > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected]= --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Nov 16 05:06:57 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20134 invoked from network); 16 Nov 2007 05:06:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Nov 2007 05:06:57 -0000 Received: (qmail 79064 invoked by uid 500); 16 Nov 2007 05:06:43 -0000 Delivered-To: [email protected] Received: (qmail 79045 invoked by uid 500); 16 Nov 2007 05:06:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 79034 invoked by uid 99); 16 Nov 2007 05:06:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2007 21:06:43 -0800 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of [email protected] does not designate 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail.pramati.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2007 05:06:33 +0000 Received: from localhost (localhost [161.129.204.104]) by mail.pramati.com (Postfix) with ESMTP id BAA95A061F1 for <[email protected]>; Fri, 16 Nov 2007 04:15:40 +0000 (UTC) X-Virus-Scanned: scanned by pramati.com Received: from mail.pramati.com ([161.129.204.104]) by localhost (mail.pramati.com [161.129.204.104]) (amavisd-new, port 10024) with ESMTP id k2dOUE3KWmxE for <[email protected]>; Fri, 16 Nov 2007 09:45:29 +0530 (IST) Received: from survey-demo.dekoh.com (prashant-r.pramati.com [161.129.204.104]) by mail.pramati.com (Postfix) with ESMTP id 81797A0610C for <[email protected]>; Fri, 16 Nov 2007 09:45:19 +0530 (IST) Subject: Re: [Request] Xerces-J: XML Schema 1.1 feature feedback From: Prashant Reddy <[email protected]> Reply-To: [email protected] To: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain Organization: Pramati Technologies Date: Fri, 16 Nov 2007 10:33:01 +0530 Message-Id: <1195189381.23991.194.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello Michael, Thank you for the clarification. Does this mean that the JAXP specification needs to be cognizant of this feature ? Thank you, -Prashant On Thu, 2007-11-15 at 23:19 -0500, Michael Glavassevich wrote: > Probably worth pointing out that in order to be immediately useful to > users, the conditional inclusion [1] feature would need to be supported in > XML Schema 1.0 processors as well. > > [1] http://www.w3.org/TR/2007/WD-xmlschema11-1-20070830/#cip > > Michael Glavassevich > XML Parser Development > IBM Toronto Lab > E-mail: [email protected] > E-mail: [email protected] > > Prashant Reddy <[email protected]> wrote on 11/12/2007 03:16:38 AM: > > > Hello: > > > > 1. Conditional Inclusion > > 2. Assertions > > > > These features are what we are most interested in. > > > > Scenarios : > > > > 1. Conditional Inclusion : The example XML snippet which employs the > > "condition inclusion" along with XMLSchema-versioning is a very > > compelling use case for us. > > > > 2. Assertions : Similar validation code currently exists in factory > > methods that create the data objects from an XML instance document. > > Putting these in Schema with help of Assertion is makes it more > > portable. > > > > Appreciate the effort of collecting feedback while the specification is > > evolving. Thank you. > > > > -Prashant > > > > > > On Fri, 2007-11-09 at 17:01 -0500, Khaled Noaman wrote: > > > > > > Hi, > > > > > > The W3C Schema WG has released a last call working draft of XML Schema > > > 1.1 Part 1: Structures. We are considering implementing features from > > > this draft in Xerces-J. We would like to understand which features > > > users are most interested in and what scenarios they plan on using > > > them in. > > > > > > Here's a summary of the major features introduced in the spec: > > > > > > All Group > > > XML Schema 1.0 imposed many restrictions on <all> groups. XML Schema > > > 1.1 has relaxed several of those constraints: > > > * <all> groups can now be extended by adding more members to > > > them. > > > * Wildcards are now allowed. > > > * Particles in <all> groups can now have the value of maxOccurs > > > be greater than 1. > > > > > > <xs:complexType name="applianceType"> > > > <xs:all> > > > <xs:element name="item" type="xs:string"/> > > > <xs:element name="description" type="xs:string"/> > > > </xs:all> > > > </xs:complexType> > > > > > > <xs:complexType name="heaterType"> > > > <xs:complexContent> > > > <xs:extension base="applianceType"> > > > <xs:all> > > > <xs:element name="power_in_watt" type="xs:integer"/> > > > <xs:any processContents="lax"/> > > > </xs:all> > > > </xs:extension> > > > </xs:complexContent> > > > </xs:complexType> > > > > > > Assertions > > > A form of co-occurrence constraint, using XPath 2.0 expressions, that > > > is associated with a complex type to constrain element and attribute > > > values. The list of assertions is evaluated when a complex type is > > > used to validate an element. > > > > > > <xs:complexType name="intRange"> > > > <xs:attribute name="min" type="xs:int"/> > > > <xs:attribute name="max" type="xs:int"/> > > > <xs:assert test="@min le @max"/> > > > </xs:complexType> > > > > > > The value of the ?min? attribute must be less than the value of the > > > ?max? attribute. > > > > > > <xs:complexType name="arrayType"> > > > <xs:sequence> > > > <xs:element name="entry" minOccurs="0" maxOccurs="unbounded"/> > > > </xs:sequence> > > > <xs:attribute name="length" type="xs:int"/> > > > <xs:assert test="@length eq fn:count(./entry)"/> > > > </xs:complexType> > > > > > > The value of the ?length? attribute must be equal to the number of > > > occurrences of the ?entry? sub-elements. > > > > > > Open Content Models > > > A new mechanism to allow content models to accept elements other than > > > those explicitly defined. The schema author controls the degree of > > > openness of the content model. They can specify whether elements > > > should be accepted everywhere or at the end of the content model. > > > > > > <xs:complexType name="name"> > > > <xs:openContent mode="suffix"> > > > <xs:any namespace="##other" processContents="skip"/> > > > </xs:openContent> > > > <xs:sequence> > > > <xs:element name="given" type="xs:string"/> > > > <xs:element name="middle" type="xs:string" minOccurs="0"/> > > > <xs:element name="family" type="xs:string"/> > > > </xs:sequence> > > > </xs:complexType> > > > > > > A schema author can also define a default open content at the schema > > > document level, thus saving many copy/paste if the open content is the > > > same across the complex types. > > > > > > <xs:schema > > > xmlns:xs="http://www.w3.org/2001/XMLSchema" > > > targetNamespace="http://www.example.com/example"> > > > . . . > > > <xs:defaultOpenContent mode="interleave"> > > > <xs:any processContents="lax"/> > > > </xs:defaultOpenContent> > > > . . . > > > </xs:schema> > > > > > > Enhanced Wildcards > > > In XML Schema 1.0, a schema author was only allowed to exclude > > > elements and attributes from one namespace, the target namespace, by > > > using ##other. In XML Schema 1.1, a schema author can define wildcards > > > that exclude: > > > * Elements and attributes from a set of namespaces by using > > > [notNamespace] > > > * A particular set of qualified elements and attributes by using > > > [notQName] > > > * ?not-in-schema? elements and attributes (those that do not > > > match any declaration in the schema) by including the > > > ##defined keyword in [notQName] > > > > > > <xs:any namespace="http://www.w3.org/1999/XSL/Transform" > > > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > > > notQName="xsl:comment xsl:fallback"/> > > > > > > <xs:anyAttribute xmlns:ns1="http://ns1" > > > notNamespace="ns1 ##targetNamespace"/> > > > > > > Complex Type Restriction > > > The rules for checking validity of complex-type restrictions have been > > > simplified. The set of elements or attributes accepted by a > > > restriction must be a subset of those accepted by its base type. > > > > > > Conditional Type Assignment > > > A form of co-occurrence constraint, using XPath 2.0, that allows for a > > > type to be assigned to an element instance based on its properties > > > (typically attribute values). > > > > > > <xs:complexType name="valueType"> > > > <xs:simpleContent> > > > <xs:extenstion base="xs:long"> > > > <xs:attribute name="kind" type="xs:string"/> > > > </xs:extension> > > > </xs:simpleContent> > > > </xs:complexType> > > > > > > <xs:element name="value" type="valueType"> > > > <xs:alternative test="@kind='int'" type="xs:int"/> > > > <xs:alternative test="@kind='short'" type="xs:short"/> > > > <xs:alternative test="@kind='byte'" type="xs:byte"/> > > > </xs:element> > > > > > > Default Attributes > > > A new mechanism that makes it easier for schema authors to include > > > common attributes like xml:base and xml:lang in all their content > > > models. > > > > > > <xs:schema > > > xmlns:xs="http://www.w3.org/2001/XMLSchema" > > > targetNamespace="http://www.example.com/example" > > > defaultAttributes="defaultAttrGroup"> > > > . . . > > > </xs:schema> > > > > > > Conditional Inclusion > > > A mechanism that allows conforming XML Schema 1.1 processors to > > > successfully ignore new constructs introduced in future version of the > > > spec. It also allows schema authors to define schemas with newer > > > constructs and be able to fall back to older versions when the newer > > > constructs are not available. > > > > > > <xsd:schema > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > > > xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"> > > > > > > <xsd:element name="e" vc:minVersion="3.2"> > > > <!--* declaration suitable for 3.2 > * and later > > processors *--> > > > </xsd:element> > > > <xsd:element name="e" > > > vc:minVersion="1.1" > > > vc:maxVersion="3.1"> > > > <!--* declaration suitable for processors > * > > supporting versions 1.1 through 3.1 > *--> > > > </xsd:element> > > > ... > > > </xsd:schema> > > > > > > > > > We would appreciate your feedback. > > > > > > Regards, > > > Khaled > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Nov 16 06:30:17 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40609 invoked from network); 16 Nov 2007 06:30:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Nov 2007 06:30:17 -0000 Received: (qmail 34578 invoked by uid 500); 16 Nov 2007 06:30:04 -0000 Delivered-To: [email protected] Received: (qmail 34559 invoked by uid 500); 16 Nov 2007 06:30:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 13889 invoked by uid 99); 16 Nov 2007 06:04:05 -0000 X-ASF-Spam-Status: No, hits=-2.2 required=10.0 tests=MIME_QP_LONG_LINE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) X-VirusChecked: Checked X-Env-Sender: [email protected] X-Msg-Ref: server-3.tower-143.messagelabs.com!1195193025!1356777!1 X-StarScan-Version: 161.129.204.104.2; banners=ubmatrix.com,-,- X-Originating-IP: [161.129.204.104] X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: grammar pool population Date: Thu, 15 Nov 2007 22:03:44 -0800 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: grammar pool population Thread-Index: AcgoANZw2pufa8Y2SZiZAQBsTp/XkAAFRfTA From: "Andy Harris" <[email protected]> To: "Michael Glavassevich" <[email protected]>, <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Thank=20you=20for=20your=20response. Would=20it=20be=20possible=20to=20remove=20the=20grammar=20parts=20associa= ted=20with=20an included=20schema?=20This=20would=20probably=20require=20an=20intelligent=20= grammarpool implementation=20that=20partitions=20definitions=20in=20the=20grammar=20fo= r=20partial schemas=20defined=20within=20the=20same=20Grammar=20by=20targetNamespace. -Andy -----Original=20Message----- From:=20Michael=20Glavassevich=20[mailto:[email protected]]=20 Sent:=20Thursday,=20November=2015,=202007=207:28=20PM To:[email protected] Cc:=20Andy=20Harris Subject:=20RE:=20grammar=20pool=20population Hi=20Andy, Each=20SchemaGrammar=20is=20a=20container=20for=20all=20the=20schema=20com= ponents=20of=20a given target=20namespace.=20Includes=20have=20no=20representation=20in=20the=20m= odel=20(though you can=20query=20[1]=20the=20grammar=20for=20the=20list=20of=20document=20URI= s=20which contributed to=20it).=20All=20of=20the=20schema=20components=20constructed=20from=20th= e=20includes=20will be stored=20in=20the=20same=20grammar=20object. Thanks. [1] http://xerces.apache.org/xerces2-j/javadocs/xs/org/apache/xerces/xs/XSNa mespaceItem.html#getDocumentLocations() Michael=20Glavassevich XML=20Parser=20Development IBM=20Toronto=20Lab E-mail:[email protected] E-mail:[email protected] "Andy=20Harris"=20<[email protected]>=20wrote=20on=2011/12/2007=201= 2:04:51 AM: >=20Thanks=20for=20your=20response.=20How=20are=20includes=20represented=20= in=20the=20grammar >=20pool?=20It=20would=20seem=20that=20included=20schemas=20-=20which=20al= l=20have=20the=20same >=20targetNamespace=20-=20would=20trigger=20these=20warnings. > >=20-----Original=20Message----- >=20From:=20Michael=20Glavassevich=20[mailto:[email protected]] >=20Sent:=20Sunday,=20November=2011,=202007=207:16=20PM >=20To:[email protected] >=20Cc:=20Andy=20Harris >=20Subject:=20Re:=20grammar=20pool=20population > >=20Hi=20Andy, > >=20You're=20right.=20This=20warning=20is=20generated=20when=20a=20grammar= =20pool=20returns >=20multiple=20grammar=20objects=20for=20the=20same=20target=20namespace.=20= Note=20that=20this >=20includes=20imports=20(each=20SchemaGrammar=20has=20a=20list=20of=20the= m=20which=20the schema >=20validator's=20grammar=20bucket=20[1]=20extracts),=20so=20if=20you=20lo= aded=20several >=20grammars >=20independently=20with=20different=20grammar=20pools=20and=20they=20had=20= imports=20for the >=20same=20namespace=20you=20might=20run=20into=20this.=20If=20these=20gra= mmar=20objects=20are >=20truly >=20equal=20I=20suppose=20you=20could=20resolve=20the=20conflict=20by=20re= placing=20the >=20duplicates >=20with=20a=20unique=20instance=20or=20avoid=20the=20issue=20altogether=20= by=20using=20a=20single >=20grammar=20pool=20for=20all=20of=20the=20schemas. > >=20Thanks. > >=20[1] > http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/imp >=20l/xs/XSGrammarBucket.java?revision=3D446734&view=3Dmarkup > >=20Michael=20Glavassevich >=20XML=20Parser=20Development >=20IBM=20Toronto=20Lab >=20E-mail:[email protected] >=20E-mail:[email protected] > >=20"Andy=20Harris"=20<[email protected]>=20wrote=20on=2011/11/2007= =2008:49:17 >=20PM: > >=20>=20Hello- >=20>=20For=20performance=20reasons,=20I?m=20caching=20grammars=20for=20va= lidation=20of=20an >=20>=20instance=20against=20a=20set=20of=20connected=20and=20disconnected= =20schemas=20of=20an >=20>=20XBRL=20taxonomy.=20Schemas=20can=20be=20disconnected=20when=20disc= overed=20via >=20>=20linkbases.=20The=20only=20way=20I=20can=20get=20this=20working=20i= s=20to=20re-generate >=20>=20grammar=20every=20time,=20letting=20Xerces=20construct=20the=20poo= l=20before >=20>=20validating=20the=20instance.=20This=20is=20very=20expensive=20to=20= let=20xerces=20parse >=20>=20grammar=20more=20then=20once. >=20>=20Searching=20the=20xerces-2=20grammar=20FAQ=20and=20other=20mailing= =20lists=20on=20the >=20>=20internet=20has=20suggestions=20on=20how=20to=20"actively"=20constr= uct=20grammar >=20>=20pools=20(caching=20grammars),=20but=20I=20still=20get=20the=20foll= owing=20warning(s): >=20>=20Warning: >=20>=20One=20of=20the=20grammar(s)=20returned=20from=20the=20user's=20gra= mmar=20pool=20is=20in >=20>=20conflict=20with=20another=20grammar. >=20>=20Here=20is=20my=20integration=20code=20for=20building=20a=20grammar= =20pool=20from=202=20or >=20>=20more=20root=20schemas: >=20>=20=20while=20(schemas.hasNext())=20{ >=20>=20IDTSNode=20schemaNode=20=3D=20(IDTSNode)=20schemas.next(); >=20>=20=20=20=20=20=20=20=20=20=20=20=20=20XMLGrammarPoolImpl=20gp=20=3D=20= (XMLGrammarPoolImpl)schemaNode. >=20>=20getGrammarPool(); >=20>=20=20=20=20=20=20=20=20=20=20=20=20=20Grammar[]=20g=20=3D=20gp.retri= eveInitialGrammarSet("http://www. >=20>=20w3.org/2001/XMLSchema"); >=20> >=20grammarPool.cacheGrammars("http://www.w3.org/2001/XMLSchema", >=20g); >=20>=20} >=20>=20A=20root=20schema=20does=20not=20have=20any=20referencing=20schema= s=20and=20the=20set=20of >=20>=20schemas=20are=20reverse=20topologically=20sorted.=20Inspection=20o= f=20the=20graph=20of >=20>=20grammars=20within=20grammarPool=20reveals=20that=20they=20are=20th= e=20same=20as=20when >=20>=20Xerces=20populates=20the=20grammar=20pool.=20Is=20this=20the=20cor= rect=20way=20to=20cache >=20>=20grammars=20into=20the=20grammar=20pool? >=20>=20If=20there=20is=20only=201=20root=20schema,=20there=20is=20no=20ad= ditional=20?merging?=20of >=20>=20grammars=20and=20the=20grammar=20pool=20from=20the=20single=20root= =20schema=20can=20be >=20>=20used=20directly=20to=20validate=20an=20instance. >=20>=20A=20grammar=20pool=20is=20set=20on=20a=20configuration=20instance=20= as=20a=20feature=20and >=20>=20passed=20to=20the=20constructor=20of=20DOMParser: >=20>=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20DOMParser=20parser=20=3D=20new >=20DOMParser(config); >=20>=20The=20grammarPool=20is=20locked=20before=20parsing=20and=20unlocke= d=20after=20parsing >=20>=20to=20prevent=20further=20entity=20resolution.=20In=20addition=20to= =20XML=20schema >=20>=20validation,=20my=20application=20caches=20Grammars=20for=20PSVI=20= analysis=20and=20XML >=20>=20prototyping. >=20>=20Analysis=20of=20the=20grammarPool=20source=20code=20indicates=20th= at=20a=20warning=20is >=20>=20generated=20because=20there=20must=20be=20two=20instances=20of=20G= rammar=20with=20the >=20>=20same=20target=20namespace.=20However,=20I=20don?t=20see=20this=20w= hen=20looking >=20>=20through=20the=20grammarPool=20instance.=20My=20next=20step=20is=20= to=20step=20through >=20>=20the=20Xerces-2=20sources=20under=20my=20application,=20but=20was=20= hoping=20somebody >=20>=20could=20indicate=20improper=20usage=20on=20my=20part. >=20>=20thanks, >=20>=20-Andy > > >=20______________________________________________________________________= >=20This=20email=20has=20been=20scanned=20by=20the=20MessageLabs=20Email=20= Security=20System. >=20For=20more=20information=20please=20visit=20http://www.messagelabs.com= /email >=20______________________________________________________________________= > >=20______________________________________________________________________= >=20This=20email=20has=20been=20scanned=20by=20the=20MessageLabs=20Email=20= Security=20System. >=20For=20more=20information=20please=20visit=20http://www.messagelabs.com= /email >=20______________________________________________________________________= > >=20--------------------------------------------------------------------- >=20To=20unsubscribe,=20e-mail:[email protected] >=20For=20additional=20commands,=20e-mail:[email protected]= g ______________________________________________________________________ This=20email=20has=20been=20scanned=20by=20the=20MessageLabs=20Email=20Sec= urity=20System. For=20more=20information=20please=20visit=20http://www.messagelabs.com/ema= il=20 ______________________________________________________________________ ______________________________________________________________________ This=20email=20has=20been=20scanned=20by=20the=20MessageLabs=20Email=20Sec= urity=20System. For=20more=20information=20please=20visit=20http://www.messagelabs.com/ema= il=20 ______________________________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Nov 16 09:52:27 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40667 invoked from network); 16 Nov 2007 09:52:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Nov 2007 09:52:27 -0000 Received: (qmail 6883 invoked by uid 500); 16 Nov 2007 09:52:12 -0000 Delivered-To: [email protected] Received: (qmail 6865 invoked by uid 500); 16 Nov 2007 09:52:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6845 invoked by uid 99); 16 Nov 2007 09:52:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2007 01:52:12 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ro-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2007 09:51:58 +0000 Received: by ro-out-1112.google.com with SMTP id h4so559947roe for <[email protected]>; Fri, 16 Nov 2007 01:51:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=+y+QRtJGgaZlOB6GfLOfI3zAKSPeJC+N8QDSigfBROY=; b=qSaADA/MMSDto6/JOGvLn1D0yzFt3dT1oR7wdyxRbee21143B+DifiuqdsAec7SIpOn2NXPaDv/1lzoS72Iw+PwInJnw3hyXHTDgJYwB+jBXITEfMjZkUYNLupLVc7Dx8+Rc4X9Td2D3d7SVAUkocVlwYPMeUyddnJoERAS4o6g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gddRl7V3AMyv4bG+t7cfCGsv8EF0cIGtxXvB0P/kr+D7oRcgACfRJf3nR9hH6hWHHr7iKu85wR4NAaz7fKp+5pHC694xVOiniKmUFOIgO44uYlSLMzp0I58ufue5evQiIlW4lIR/eHq5NNmDlZx7jiYstxcr45Gwtbz9jWWyHAE= Received: by 161.129.204.104 with SMTP id z20mr525831rvm.1195206710751; Fri, 16 Nov 2007 01:51:50 -0800 (PST) Received: by 161.129.204.104 with HTTP; Fri, 16 Nov 2007 01:51:50 -0800 (PST) Message-ID: <[email protected]> Date: Fri, 16 Nov 2007 10:51:50 +0100 From: "=?ISO-8859-1?Q?Simon_B=F8ggild?=" <[email protected]> To: [email protected] Subject: Re: Validating a xsd schema file In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Thank you for your input. Would it be enough to simply use SchemaFactory to check if the schema is valid? Or is validation against XMLSchema.xsd still necessary? Thanks, Simon On Nov 16, 2007 5:05 AM, Michael Glavassevich <[email protected]> wrote: > Validating your schema against the schema for schemas (XMLSchema.xsd) isn= 't > sufficient for determining whether your schema is valid. There are many > constraints which cannot be expressed in the language, for example the > complex rules for particle derivation [1] which apply to complex type > restriction/extension. Xerces checks these constraints among many others > when it loads/processes a schema. You could use the SchemaFactory [2] fro= m > JAXP 1.3 for that purpose. > > Thanks. > > [1] http://www.w3.org/TR/xmlschema-1/#coss-particle > [2] > http://xerces.apache.org/xerces2-j/javadocs/api/javax/xml/validation/Sche= maFactory.html > > Michael Glavassevich > XML Parser Development > IBM Toronto Lab > E-mail: [email protected] > E-mail: [email protected] > > Francesco Lazzarino <[email protected]> wrote on 11/15/2007 11:49:34 AM: > > > > i'm not sure how SQC works but XMLSchema is XML and thus it can be > > validated as any other xml file. > > > > i believe (i'm a little rusty) that XMLSchemas are instances of > > XMLSchema.xsd and that uses XMLSchema.dtd > > > > that assumes you want to validate it for correctness according to > > XMLSchema.xsd and XMLSchema.dtd. > > > > On Thu, Nov 15, 2007 at 01:15:40PM +0100, Simon B=F8ggild wrote: > > > Hi, > > > > > > I would like to know if it's possible (and how) to use Xerces to > > > perform Schema validation in the same manner as SQC (Schema Quality > > > Checker from IBM). That is, to validate the correctness of the schema > > > file itself without looking at any instances of it. > > > > > > Regards, > > > Simon > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [email protected] > > > For additional commands, e-mail: [email protected] > > > > > > > > > > -- > > Francesco Lazzarino > > Digital Archive Programmer > > Florida Center for Library Automation > > http://daitss.fcla.edu > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Nov 16 13:45:34 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11211 invoked from network); 16 Nov 2007 13:45:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Nov 2007 13:45:34 -0000 Received: (qmail 23749 invoked by uid 500); 16 Nov 2007 13:45:22 -0000 Delivered-To: [email protected] Received: (qmail 23372 invoked by uid 500); 16 Nov 2007 13:45:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23357 invoked by uid 99); 16 Nov 2007 13:45:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2007 05:45:20 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF [email protected]) Received: from [161.129.204.104] (HELO web27714.mail.ukl.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 16 Nov 2007 13:45:10 +0000 Received: (qmail 70974 invoked by uid 60001); 16 Nov 2007 13:45:02 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=UJAHCd2EZ9Vk7uiBeODsRoXVPsacE5U26vp/ygZ/RxWDfvTvd/TCQpfy+8fZV7851F2fAFVHIpx4hHxeo/BfsivltfgEENY4jOMO5pakbaSlSUjjpIa6WuJz9T3ye2/qswx8jGlDZUtNbkMchThLDH+3ygW4vFPfe1wKE3S9qn0=; X-YMail-OSG: kaAwXWUVM1nnhI2Bt9W2bLVNdYmy_E7aF9R7E3TSvZBLKwmO4Na3rXKK6oI4ZZPozg-- Received: from [161.129.204.104] by web27714.mail.ukl.yahoo.com via HTTP; Fri, 16 Nov 2007 13:45:01 GMT X-Mailer: YahooMailRC/818.27 YahooMailWebService/0.7.157 Date: Fri, 16 Nov 2007 13:45:01 +0000 (GMT) From: Jack Ferrod <[email protected]> Subject: Problem getting resolveResource() callbacks when using a DOMSource while validating To: [email protected] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi all, =0A=0AI want to validate a bit of XML that is built up of various e= mbedded documents that all have their own little schema (it's actually a WS= -Policy document). I would like to obtain the PVI after the validation so I= can read out the defaults that may be present in the schemas. Because I do= n't know all the schemas used in the document in advance, I would like to r= esolve them as needed, so for that I want to use a LSResourceResolver objec= t that I set on my Validator. However, my resolver doesn't get called back.= =0A=0AI have the following bit of code: =0ASchemaFactory factory =3D Schem= aFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI); =0ASchema schema = =3D factory.newSchema(); =0AValidator validator =3D schema.newValidator(); = =0Avalidator.setResourceResolver(new MyResourceResolver()); // my own resol= ver =0ADocumentBuilderFactory dbf =3D DocumentBuilderFactory.newInstance();= =0Adbf.setNamespaceAware(true); =0ADocumentBuilder parser =3D dbf.newDocum= entBuilder(); =0ADocument document =3D parser.parse(new ByteArrayInputStrea= m(xmlDoc.getBytes())); // my document is in the xmlDoc string =0ADOMResult = result =3D new DOMResult(); =0Avalidator.validate(new DOMSource(document), = result); =0A// at this point I want to start using the PVI =0A=0ANow at thi= s point my 'MyResourceResolver' didn't get called. I'm using JDK 1.5. =0AFr= om debugging into it, I noticed that I find myself in the =0Acom.sun.org.ap= ache.xerces.internal.impl.XMLEntityManager class in the resolveEntity() met= hod, but the fEntityResolver member variable is null, so its not calling My= ResourceResolver back. =0A=0AAnyone any ideas on how to achieve what I need= ? =0A=0AThanks, =0A=0AJack =0A=0ABTW MyResourceResolver is just like this: = =0Aprivate static class MyResourceResolver implements LSResourceResolver { = =0A public LSInput resolveResource(String type, String namespaceURI, Strin= g publicId, String systemId, String baseURI) { =0A System.out.println("#= ## resolveResource: " + type + "=A3" + namespaceURI + "=A3" + publicId + "= =A3" + systemId + "=A3" + baseURI); =0A return null; =0A } =0A}=0A=0A= =0A=09=09=0A___________________________________________________________ =0A= NEW Yahoo! Cars - sell your car and browse thousands of new and used cars o= nline! http://uk.cars.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Nov 16 18:49:22 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52352 invoked from network); 16 Nov 2007 18:49:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Nov 2007 18:49:22 -0000 Received: (qmail 9399 invoked by uid 500); 16 Nov 2007 18:49:07 -0000 Delivered-To: [email protected] Received: (qmail 9380 invoked by uid 500); 16 Nov 2007 18:49:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 9369 invoked by uid 99); 16 Nov 2007 18:49:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2007 10:49:07 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e3.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2007 18:48:54 +0000 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [161.129.204.104]) by e3.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id lAGImgYl018960 for <[email protected]>; Fri, 16 Nov 2007 13:48:42 -0500 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [161.129.204.104]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v8.6) with ESMTP id lAGImabo494030 for <[email protected]>; Fri, 16 Nov 2007 13:48:42 -0500 Received: from d01av02.pok.ibm.com (loopback [161.129.204.104]) by d01av02.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id lAGImahC001737 for <[email protected]>; Fri, 16 Nov 2007 13:48:36 -0500 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av02.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id lAGIma1f001715 for <[email protected]>; Fri, 16 Nov 2007 13:48:36 -0500 In-Reply-To: <[email protected]> Subject: Re: Problem getting resolveResource() callbacks when using a DOMSource while validating To: [email protected] X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Fri, 16 Nov 2007 13:48:36 -0500 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 11/16/2007 13:48:35 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Jack, What you're getting from JDK 1.5 (com.sun.org.apache.xerces.internal.*)= is Sun's two to three year old fork off the Xerces codebase. This predates= the JAXP 1.3 implementation in Xerces and has bugs which are unique to it a= nd others which have long been fixed in Apache. My advice to you would be to download the latest version of Xerces-J (w= hich is 2.9.1) and try running your application again. One bug [1] in some versions of the JDK prevents Xerces' SchemaFactory implementation from being loaded normally. Using the Endorsed Standards Override Mechanism [2][3] (with xml-apis.jar and xercesImpl.jar) will resolve that. Thanks. [1] http://marc.info/?l=3Dxml-commons-dev&m=3D111898640501739&w=3D2 [2] http://xerces.apache.org/xerces2-j/faq-general.html#faq-4 [3] http://java.sun.com/j2se/1.5.0/docs/guide/standards/ Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] Jack Ferrod <[email protected]> wrote on 11/16/2007 08:45:01 AM: > Hi all, > > I want to validate a bit of XML that is built up of various embedded > documents that all have their own little schema (it's actually a WS- > Policy document). I would like to obtain the PVI after the > validation so I can read out the defaults that may be present in the > schemas. Because I don't know all the schemas used in the document > in advance, I would like to resolve them as needed, so for that I > want to use a LSResourceResolver object that I set on my Validator. > However, my resolver doesn't get called back. > > I have the following bit of code: > SchemaFactory factory =3D SchemaFactory.newInstance(XMLConstants. > W3C_XML_SCHEMA_NS_URI); > Schema schema =3D factory.newSchema(); > Validator validator =3D schema.newValidator(); > validator.setResourceResolver(new MyResourceResolver()); // my own resolver > DocumentBuilderFactory dbf =3D DocumentBuilderFactory.newInstance(); > dbf.setNamespaceAware(true); > DocumentBuilder parser =3D dbf.newDocumentBuilder(); > Document document =3D parser.parse(new ByteArrayInputStream(xmlDoc. > getBytes())); // my document is in the xmlDoc string > DOMResult result =3D new DOMResult(); > validator.validate(new DOMSource(document), result); > // at this point I want to start using the PVI > > Now at this point my 'MyResourceResolver' didn't get called. I'm > using JDK 1.5. > From debugging into it, I noticed that I find myself in the > com.sun.org.apache.xerces.internal.impl.XMLEntityManager class in > the resolveEntity() method, but the fEntityResolver member variable > is null, so its not calling MyResourceResolver back. > > Anyone any ideas on how to achieve what I need? > > Thanks, > > Jack > > BTW MyResourceResolver is just like this: > private static class MyResourceResolver implements LSResourceResolver= { > public LSInput resolveResource(String type, String namespaceURI, > String publicId, String systemId, String baseURI) { > System.out.println("### resolveResource: " + type + "=A3" + > namespaceURI + "=A3" + publicId + "=A3" + systemId + "=A3" + baseURI)= ; > return null; > } > } > > > > ___________________________________________________________ > NEW Yahoo! Cars - sell your car and browse thousands of new and used > cars online! http://uk.cars.yahoo.com/ > > ---------------------------------------------------------------------= > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected]= --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Nov 16 18:54:30 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54840 invoked from network); 16 Nov 2007 18:54:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Nov 2007 18:54:30 -0000 Received: (qmail 19256 invoked by uid 500); 16 Nov 2007 18:54:17 -0000 Delivered-To: [email protected] Received: (qmail 19026 invoked by uid 500); 16 Nov 2007 18:54:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 19015 invoked by uid 99); 16 Nov 2007 18:54:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2007 10:54:16 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e3.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2007 18:54:04 +0000 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [161.129.204.104]) by e3.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id lAGIrvDE028262 for <[email protected]>; Fri, 16 Nov 2007 13:53:57 -0500 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [161.129.204.104]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v8.6) with ESMTP id lAGIrvGK456698 for <[email protected]>; Fri, 16 Nov 2007 13:53:57 -0500 Received: from d01av04.pok.ibm.com (loopback [161.129.204.104]) by d01av04.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id lAGIrv6H028606 for <[email protected]>; Fri, 16 Nov 2007 13:53:57 -0500 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av04.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id lAGIrvrY028573 for <[email protected]>; Fri, 16 Nov 2007 13:53:57 -0500 In-Reply-To: <[email protected]> Subject: Re: Validating a xsd schema file To: [email protected] X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Fri, 16 Nov 2007 13:53:56 -0500 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 11/16/2007 13:53:57 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Simon, The only benefit I could see to doing both is that you'll get PSVI from= the validation against XMLSchema.xsd which your application may want to use= . Otherwise it's just doing redundant work. Thanks. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] "Simon B=F8ggild" <[email protected]> wrote on 11/16/2007 04:51:50= AM: > Thank you for your input. > Would it be enough to simply use SchemaFactory to check if the schema= > is valid? Or is validation against XMLSchema.xsd still necessary? > > Thanks, > Simon > > On Nov 16, 2007 5:05 AM, Michael Glavassevich <[email protected]> wrote: > > Validating your schema against the schema for schemas (XMLSchema.xs= d) isn't > > sufficient for determining whether your schema is valid. There are = many > > constraints which cannot be expressed in the language, for example = the > > complex rules for particle derivation [1] which apply to complex ty= pe > > restriction/extension. Xerces checks these constraints among many others > > when it loads/processes a schema. You could use the SchemaFactory [= 2] from > > JAXP 1.3 for that purpose. > > > > Thanks. > > > > [1] http://www.w3.org/TR/xmlschema-1/#coss-particle > > [2] > > http://xerces.apache.org/xerces2- > j/javadocs/api/javax/xml/validation/SchemaFactory.html > > > > Michael Glavassevich > > XML Parser Development > > IBM Toronto Lab > > E-mail: [email protected] > > E-mail: [email protected] > > > > Francesco Lazzarino <[email protected]> wrote on 11/15/2007 11:49:34 AM:= > > > > > > > i'm not sure how SQC works but XMLSchema is XML and thus it can b= e > > > validated as any other xml file. > > > > > > i believe (i'm a little rusty) that XMLSchemas are instances of > > > XMLSchema.xsd and that uses XMLSchema.dtd > > > > > > that assumes you want to validate it for correctness according to= > > > XMLSchema.xsd and XMLSchema.dtd. > > > > > > On Thu, Nov 15, 2007 at 01:15:40PM +0100, Simon B=F8ggild wrote: > > > > Hi, > > > > > > > > I would like to know if it's possible (and how) to use Xerces t= o > > > > perform Schema validation in the same manner as SQC (Schema Qua= lity > > > > Checker from IBM). That is, to validate the correctness of the schema > > > > file itself without looking at any instances of it. > > > > > > > > Regards, > > > > Simon > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [email protected] > > > > For additional commands, e-mail: [email protected]= > > > > > > > > > > > > > > -- > > > Francesco Lazzarino > > > Digital Archive Programmer > > > Florida Center for Library Automation > > > http://daitss.fcla.edu > > > > > > -----------------------------------------------------------------= ---- > > > To unsubscribe, e-mail: [email protected] > > > For additional commands, e-mail: [email protected] > > > > > > -------------------------------------------------------------------= -- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > ---------------------------------------------------------------------= > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected]= --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Nov 16 22:33:07 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37065 invoked from network); 16 Nov 2007 22:33:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Nov 2007 22:33:07 -0000 Received: (qmail 16918 invoked by uid 500); 16 Nov 2007 22:32:53 -0000 Delivered-To: [email protected] Received: (qmail 16903 invoked by uid 500); 16 Nov 2007 22:32:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 16892 invoked by uid 99); 16 Nov 2007 22:32:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2007 14:32:53 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e4.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2007 22:32:41 +0000 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [161.129.204.104]) by e4.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id lAGMWSlv013270 for <[email protected]>; Fri, 16 Nov 2007 17:32:28 -0500 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [161.129.204.104]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v8.6) with ESMTP id lAGMWNC7116986 for <[email protected]>; Fri, 16 Nov 2007 17:32:28 -0500 Received: from d01av04.pok.ibm.com (loopback [161.129.204.104]) by d01av04.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id lAGMWNTm009865 for <[email protected]>; Fri, 16 Nov 2007 17:32:23 -0500 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av04.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id lAGMWMj9009862 for <[email protected]>; Fri, 16 Nov 2007 17:32:22 -0500 In-Reply-To: <[email protected]> Subject: RE: grammar pool population To: [email protected] Cc: [email protected] X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Fri, 16 Nov 2007 17:32:22 -0500 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 11/16/2007 17:32:22 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Hi Andy, There's no way to tell which parts of a SchemaGrammar came from which schema documents. If the schemas you're loading are consistent what you could do is merge the components for a given target namespace into a single SchemaGrammar object and eliminate (or replace) references to the other ones. The XSLoader [1] (see the XSGrammarMerger inner class) will merge together SchemaGrammar objects from the same namespace into one. Might give you some ideas if you are interested in attempting this yourself (on a larger scale). Thanks. [1] http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/impl/xs/XSLoaderImpl.java?revision=449487&view=markup Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] "Andy Harris" <[email protected]> wrote on 11/16/2007 01:03:44 AM: > Thank you for your response. > > Would it be possible to remove the grammar parts associated with an > included schema? This would probably require an intelligent grammarpool > implementation that partitions definitions in the grammar for partial > schemas defined within the same Grammar by targetNamespace. > > -Andy > > -----Original Message----- > From: Michael Glavassevich [mailto:[email protected]] > Sent: Thursday, November 15, 2007 7:28 PM > To: [email protected] > Cc: Andy Harris > Subject: RE: grammar pool population > > Hi Andy, > > Each SchemaGrammar is a container for all the schema components of a > given > target namespace. Includes have no representation in the model (though > you > can query [1] the grammar for the list of document URIs which > contributed > to it). All of the schema components constructed from the includes will > be > stored in the same grammar object. > > Thanks. > > [1] > http://xerces.apache.org/xerces2-j/javadocs/xs/org/apache/xerces/xs/XSNa > mespaceItem.html#getDocumentLocations() > > Michael Glavassevich > XML Parser Development > IBM Toronto Lab > E-mail: [email protected] > E-mail: [email protected] > > "Andy Harris" <[email protected]> wrote on 11/12/2007 12:04:51 > AM: > > > Thanks for your response. How are includes represented in the grammar > > pool? It would seem that included schemas - which all have the same > > targetNamespace - would trigger these warnings. > > > > -----Original Message----- > > From: Michael Glavassevich [mailto:[email protected]] > > Sent: Sunday, November 11, 2007 7:16 PM > > To: [email protected] > > Cc: Andy Harris > > Subject: Re: grammar pool population > > > > Hi Andy, > > > > You're right. This warning is generated when a grammar pool returns > > multiple grammar objects for the same target namespace. Note that this > > includes imports (each SchemaGrammar has a list of them which the > schema > > validator's grammar bucket [1] extracts), so if you loaded several > > grammars > > independently with different grammar pools and they had imports for > the > > same namespace you might run into this. If these grammar objects are > > truly > > equal I suppose you could resolve the conflict by replacing the > > duplicates > > with a unique instance or avoid the issue altogether by using a single > > grammar pool for all of the schemas. > > > > Thanks. > > > > [1] > > > http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/imp > > l/xs/XSGrammarBucket.java?revision=446734&view=markup > > > > Michael Glavassevich > > XML Parser Development > > IBM Toronto Lab > > E-mail: [email protected] > > E-mail: [email protected] > > > > "Andy Harris" <[email protected]> wrote on 11/11/2007 08:49:17 > > PM: > > > > > Hello- > > > For performance reasons, I?m caching grammars for validation of an > > > instance against a set of connected and disconnected schemas of an > > > XBRL taxonomy. Schemas can be disconnected when discovered via > > > linkbases. The only way I can get this working is to re-generate > > > grammar every time, letting Xerces construct the pool before > > > validating the instance. This is very expensive to let xerces parse > > > grammar more then once. > > > Searching the xerces-2 grammar FAQ and other mailing lists on the > > > internet has suggestions on how to "actively" construct grammar > > > pools (caching grammars), but I still get the following warning(s): > > > Warning: > > > One of the grammar(s) returned from the user's grammar pool is in > > > conflict with another grammar. > > > Here is my integration code for building a grammar pool from 2 or > > > more root schemas: > > > while (schemas.hasNext()) { > > > IDTSNode schemaNode = (IDTSNode) schemas.next(); > > > XMLGrammarPoolImpl gp = (XMLGrammarPoolImpl)schemaNode. > > > getGrammarPool(); > > > Grammar[] g = gp.retrieveInitialGrammarSet("http://www. > > > w3.org/2001/XMLSchema"); > > > > > grammarPool.cacheGrammars("http://www.w3.org/2001/XMLSchema", > > g); > > > } > > > A root schema does not have any referencing schemas and the set of > > > schemas are reverse topologically sorted. Inspection of the graph of > > > grammars within grammarPool reveals that they are the same as when > > > Xerces populates the grammar pool. Is this the correct way to cache > > > grammars into the grammar pool? > > > If there is only 1 root schema, there is no additional ?merging? of > > > grammars and the grammar pool from the single root schema can be > > > used directly to validate an instance. > > > A grammar pool is set on a configuration instance as a feature and > > > passed to the constructor of DOMParser: > > > DOMParser parser = new > > DOMParser(config); > > > The grammarPool is locked before parsing and unlocked after parsing > > > to prevent further entity resolution. In addition to XML schema > > > validation, my application caches Grammars for PSVI analysis and XML > > > prototyping. > > > Analysis of the grammarPool source code indicates that a warning is > > > generated because there must be two instances of Grammar with the > > > same target namespace. However, I don?t see this when looking > > > through the grammarPool instance. My next step is to step through > > > the Xerces-2 sources under my application, but was hoping somebody > > > could indicate improper usage on my part. > > > thanks, > > > -Andy > > > > > > ______________________________________________________________________ > > This email has been scanned by the MessageLabs Email Security System. > > For more information please visit http://www.messagelabs.com/email > > ______________________________________________________________________ > > > > ______________________________________________________________________ > > This email has been scanned by the MessageLabs Email Security System. > > For more information please visit http://www.messagelabs.com/email > > ______________________________________________________________________ > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Nov 19 15:15:43 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41312 invoked from network); 19 Nov 2007 15:15:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Nov 2007 15:15:43 -0000 Received: (qmail 17388 invoked by uid 500); 19 Nov 2007 15:15:29 -0000 Delivered-To: [email protected] Received: (qmail 17369 invoked by uid 500); 19 Nov 2007 15:15:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 17357 invoked by uid 99); 19 Nov 2007 15:15:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2007 07:15:29 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e2.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2007 15:15:17 +0000 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [161.129.204.104]) by e2.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id lAJFFA8T012668 for <[email protected]>; Mon, 19 Nov 2007 10:15:10 -0500 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [161.129.204.104]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v8.6) with ESMTP id lAJFFAFN488888 for <[email protected]>; Mon, 19 Nov 2007 10:15:10 -0500 Received: from d01av02.pok.ibm.com (loopback [161.129.204.104]) by d01av02.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id lAJFF9VU024139 for <[email protected]>; Mon, 19 Nov 2007 10:15:09 -0500 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av02.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id lAJFF90X024097 for <[email protected]>; Mon, 19 Nov 2007 10:15:09 -0500 In-Reply-To: <1195189381.23991.194.camel@localhost> Subject: Re: [Request] Xerces-J: XML Schema 1.1 feature feedback To: [email protected] X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Mon, 19 Nov 2007 10:15:06 -0500 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 11/19/2007 10:15:09 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Hi Prashant, Historically JAXP has just referenced the relevant W3C (and other) specifications for the majority of its conformance requirements. I'd be a bit surprised if it said anything about this (if no doc from the Schema Working Group does). If the schema 1.0 processor you're using doesn't support conditional inclusion natively you could probably write an XSLT stylesheet which does the preprocessing; feeding the schema documents through a Transformer and the output from that to the SchemaFactory. Thanks. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] Prashant Reddy <[email protected]> wrote on 11/16/2007 12:03:01 AM: > Hello Michael, > > Thank you for the clarification. > > Does this mean that the JAXP specification needs to be cognizant of this > feature ? > > Thank you, > -Prashant > > On Thu, 2007-11-15 at 23:19 -0500, Michael Glavassevich wrote: > > Probably worth pointing out that in order to be immediately useful to > > users, the conditional inclusion [1] feature would need to be supported in > > XML Schema 1.0 processors as well. > > > > [1] http://www.w3.org/TR/2007/WD-xmlschema11-1-20070830/#cip > > > > Michael Glavassevich > > XML Parser Development > > IBM Toronto Lab > > E-mail: [email protected] > > E-mail: [email protected] > > > > Prashant Reddy <[email protected]> wrote on 11/12/2007 03:16:38 AM: > > > > > Hello: > > > > > > 1. Conditional Inclusion > > > 2. Assertions > > > > > > These features are what we are most interested in. > > > > > > Scenarios : > > > > > > 1. Conditional Inclusion : The example XML snippet which employs the > > > "condition inclusion" along with XMLSchema-versioning is a very > > > compelling use case for us. > > > > > > 2. Assertions : Similar validation code currently exists in factory > > > methods that create the data objects from an XML instance document. > > > Putting these in Schema with help of Assertion is makes it more > > > portable. > > > > > > Appreciate the effort of collecting feedback while the specification is > > > evolving. Thank you. > > > > > > -Prashant > > > > > > > > > On Fri, 2007-11-09 at 17:01 -0500, Khaled Noaman wrote: > > > > > > > > Hi, > > > > > > > > The W3C Schema WG has released a last call working draft of XML Schema > > > > 1.1 Part 1: Structures. We are considering implementing features from > > > > this draft in Xerces-J. We would like to understand which features > > > > users are most interested in and what scenarios they plan on using > > > > them in. > > > > > > > > Here's a summary of the major features introduced in the spec: > > > > > > > > All Group > > > > XML Schema 1.0 imposed many restrictions on <all> groups. XML Schema > > > > 1.1 has relaxed several of those constraints: > > > > * <all> groups can now be extended by adding more members to > > > > them. > > > > * Wildcards are now allowed. > > > > * Particles in <all> groups can now have the value of maxOccurs > > > > be greater than 1. > > > > > > > > <xs:complexType name="applianceType"> > > > > <xs:all> > > > > <xs:element name="item" type="xs:string"/> > > > > <xs:element name="description" type="xs:string"/> > > > > </xs:all> > > > > </xs:complexType> > > > > > > > > <xs:complexType name="heaterType"> > > > > <xs:complexContent> > > > > <xs:extension base="applianceType"> > > > > <xs:all> > > > > <xs:element name="power_in_watt" type="xs:integer"/> > > > > <xs:any processContents="lax"/> > > > > </xs:all> > > > > </xs:extension> > > > > </xs:complexContent> > > > > </xs:complexType> > > > > > > > > Assertions > > > > A form of co-occurrence constraint, using XPath 2.0 expressions, that > > > > is associated with a complex type to constrain element and attribute > > > > values. The list of assertions is evaluated when a complex type is > > > > used to validate an element. > > > > > > > > <xs:complexType name="intRange"> > > > > <xs:attribute name="min" type="xs:int"/> > > > > <xs:attribute name="max" type="xs:int"/> > > > > <xs:assert test="@min le @max"/> > > > > </xs:complexType> > > > > > > > > The value of the ?min? attribute must be less than the value of the > > > > ?max? attribute. > > > > > > > > <xs:complexType name="arrayType"> > > > > <xs:sequence> > > > > <xs:element name="entry" minOccurs="0" maxOccurs="unbounded"/> > > > > </xs:sequence> > > > > <xs:attribute name="length" type="xs:int"/> > > > > <xs:assert test="@length eq fn:count(./entry)"/> > > > > </xs:complexType> > > > > > > > > The value of the ?length? attribute must be equal to the number of > > > > occurrences of the ?entry? sub-elements. > > > > > > > > Open Content Models > > > > A new mechanism to allow content models to accept elements other than > > > > those explicitly defined. The schema author controls the degree of > > > > openness of the content model. They can specify whether elements > > > > should be accepted everywhere or at the end of the content model. > > > > > > > > <xs:complexType name="name"> > > > > <xs:openContent mode="suffix"> > > > > <xs:any namespace="##other" processContents="skip"/> > > > > </xs:openContent> > > > > <xs:sequence> > > > > <xs:element name="given" type="xs:string"/> > > > > <xs:element name="middle" type="xs:string" minOccurs="0"/> > > > > <xs:element name="family" type="xs:string"/> > > > > </xs:sequence> > > > > </xs:complexType> > > > > > > > > A schema author can also define a default open content at the schema > > > > document level, thus saving many copy/paste if the open content is the > > > > same across the complex types. > > > > > > > > <xs:schema > > > > xmlns:xs="http://www.w3.org/2001/XMLSchema" > > > > targetNamespace="http://www.example.com/example"> > > > > . . . > > > > <xs:defaultOpenContent mode="interleave"> > > > > <xs:any processContents="lax"/> > > > > </xs:defaultOpenContent> > > > > . . . > > > > </xs:schema> > > > > > > > > Enhanced Wildcards > > > > In XML Schema 1.0, a schema author was only allowed to exclude > > > > elements and attributes from one namespace, the target namespace, by > > > > using ##other. In XML Schema 1.1, a schema author can define wildcards > > > > that exclude: > > > > * Elements and attributes from a set of namespaces by using > > > > [notNamespace] > > > > * A particular set of qualified elements and attributes by using > > > > [notQName] > > > > * ?not-in-schema? elements and attributes (those that do not > > > > match any declaration in the schema) by including the > > > > ##defined keyword in [notQName] > > > > > > > > <xs:any namespace="http://www.w3.org/1999/XSL/Transform" > > > > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > > > > notQName="xsl:comment xsl:fallback"/> > > > > > > > > <xs:anyAttribute xmlns:ns1="http://ns1" > > > > notNamespace="ns1 ##targetNamespace"/> > > > > > > > > Complex Type Restriction > > > > The rules for checking validity of complex-type restrictions have been > > > > simplified. The set of elements or attributes accepted by a > > > > restriction must be a subset of those accepted by its base type. > > > > > > > > Conditional Type Assignment > > > > A form of co-occurrence constraint, using XPath 2.0, that allows for a > > > > type to be assigned to an element instance based on its properties > > > > (typically attribute values). > > > > > > > > <xs:complexType name="valueType"> > > > > <xs:simpleContent> > > > > <xs:extenstion base="xs:long"> > > > > <xs:attribute name="kind" type="xs:string"/> > > > > </xs:extension> > > > > </xs:simpleContent> > > > > </xs:complexType> > > > > > > > > <xs:element name="value" type="valueType"> > > > > <xs:alternative test="@kind='int'" type="xs:int"/> > > > > <xs:alternative test="@kind='short'" type="xs:short"/> > > > > <xs:alternative test="@kind='byte'" type="xs:byte"/> > > > > </xs:element> > > > > > > > > Default Attributes > > > > A new mechanism that makes it easier for schema authors to include > > > > common attributes like xml:base and xml:lang in all their content > > > > models. > > > > > > > > <xs:schema > > > > xmlns:xs="http://www.w3.org/2001/XMLSchema" > > > > targetNamespace="http://www.example.com/example" > > > > defaultAttributes="defaultAttrGroup"> > > > > . . . > > > > </xs:schema> > > > > > > > > Conditional Inclusion > > > > A mechanism that allows conforming XML Schema 1.1 processors to > > > > successfully ignore new constructs introduced in future version of the > > > > spec. It also allows schema authors to define schemas with newer > > > > constructs and be able to fall back to older versions when the newer > > > > constructs are not available. > > > > > > > > <xsd:schema > > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > > > > xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"> > > > > > > > > <xsd:element name="e" vc:minVersion="3.2"> > > > > <!--* declaration suitable for 3.2 > * and later > > > processors *--> > > > > </xsd:element> > > > > <xsd:element name="e" > > > > vc:minVersion="1.1" > > > > vc:maxVersion="3.1"> > > > > <!--* declaration suitable for processors > *> > > supporting versions 1.1 through 3.1 > *--> > > > > </xsd:element> > > > > ... > > > > </xsd:schema> > > > > > > > > > > > > We would appreciate your feedback. > > > > > > > > Regards, > > > > Khaled > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [email protected] > > > For additional commands, e-mail: [email protected] > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Nov 20 10:05:56 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82788 invoked from network); 20 Nov 2007 10:05:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Nov 2007 10:05:56 -0000 Received: (qmail 30275 invoked by uid 500); 20 Nov 2007 10:05:43 -0000 Delivered-To: [email protected] Received: (qmail 29903 invoked by uid 500); 20 Nov 2007 10:05:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 29891 invoked by uid 99); 20 Nov 2007 10:05:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Nov 2007 02:05:42 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO rv-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Nov 2007 10:05:32 +0000 Received: by rv-out-0910.google.com with SMTP id k15so1501493rvb for <[email protected]>; Tue, 20 Nov 2007 02:05:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=lUivikXVX5AqCLKeE43C+1oqzSaEnHqsOdsIDj3D298=; b=FeTy5jX8BqFRCZf4hbiQlLOTukVyQftNIP50a1SpRBtnzM4Exmqwb8ZtYDwt/S1XmOknnPAusiIiLqF/3FQR9ClZjTanv5AnRZ9N65YGxJgubyw+ySiEdFVSkKHqlDwWV1e7srZegW5bMUeUKTYby0WH60OJaE7klzEvgZejJyg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=DgeVPTgP5k0w+NkO3HXsMAETjwH2qQHEvwYfpDBhyQ4Q0iIDNiILPcoAPZ3mH/sKIRvuOywJQG55G8SmRXYfbSkKMVeahT7SPHnHLjsdA/zW8Ap825KNQkFGFhgKVNFihdwqghr3Ko3Qo/JgxIQ6aKP9k7/Uit3uFCiYSmIfxwI= Received: by 161.129.204.104 with SMTP id f2mr2231625rvb.1195553125685; Tue, 20 Nov 2007 02:05:25 -0800 (PST) Received: by 161.129.204.104 with HTTP; Tue, 20 Nov 2007 02:05:25 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 20 Nov 2007 11:05:25 +0100 From: "=?ISO-8859-1?Q?Simon_B=F8ggild?=" <[email protected]> To: [email protected] Subject: SchemaFactory - check of non-valid imports MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi, When using SchemaFactory to load and check a schema file, it seems to ignore if the schema imports other schemas that doesn't exist. If for instance there's a typo in the import line in the schema: <import schemaLocation="file.xsdd" namespace=...>, where the "file.xsdd" should have been written as "file.xsd", this seems to be ignored. Sure, it generates an error when trying to process elements in the schema deriving from the (wrongly spelled) imported schema file, but it's not the actual misspelling in the import that raises the error. Is there an option to set somewhere that causes SchemaFactory to throw an exception if the imported schema does not exist? or is it necessary to write your own LSResourceResolver implementation that manually checks if the imported files exist? Thanks, Simon --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Nov 20 22:49:23 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11886 invoked from network); 20 Nov 2007 22:49:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Nov 2007 22:49:23 -0000 Received: (qmail 76888 invoked by uid 500); 20 Nov 2007 22:49:09 -0000 Delivered-To: [email protected] Received: (qmail 76644 invoked by uid 500); 20 Nov 2007 22:49:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 76633 invoked by uid 99); 20 Nov 2007 22:49:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Nov 2007 14:49:08 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Nov 2007 22:48:56 +0000 Received: by ug-out-1314.google.com with SMTP id m2so2453766ugc for <[email protected]>; Tue, 20 Nov 2007 14:48:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=Sg456c/GZgG/iO0OYcJXkXB7gW3nqCEhYD8Jcb4URMw=; b=kCBZZaoaNnoW1UAse0n+GPFZXLvaLQ6oDYz7MxjXm+vr5BsX0wqPn8aA8gwBkDzfsC94ABa1BFsTXPC6jQfKz1PulkrQHnhUget7zQ7/8ty4YGA3i/UBRW0P/2l1sJ6a4l2vCtDUHu9nQfpchGGRFT3Kqk2k3e3yHi/zBaSvWC0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=k7HNeH4RcSgUWC54vNQVvXodfJxpcDoshsyjxMU6nVSdubFuwi6Wb2UKFrhKqYqBRYjCVa4qWnAgR2LBJou2AGMiQgAKtcv3MPm1nvN0sFRg9vbO7KDmI9OxQfCHSQnfEfjdDeNsKGucgXcBj2nAHT9VBVY5zNxSHKuue5B+3r0= Received: by 161.129.204.104 with SMTP id u9mr1111558ugg.1195598928606; Tue, 20 Nov 2007 14:48:48 -0800 (PST) Received: by 161.129.204.104 with HTTP; Tue, 20 Nov 2007 14:48:48 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 20 Nov 2007 17:48:48 -0500 From: "Brent Halsey" <[email protected]> To: [email protected] Subject: Help navigating schema MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org My ultimate goal is to take a schema and generate a blank XML template. From there I'd like to create a web based form that validates data based on the rules outlined in the schema. My schema looks like this: <?xml version="1.0" encoding="UTF-8"?> <xs:schema targetNamespace="http://www.someplace.com/SOMEPLACE" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.someplace.com/SOMEPLACE" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xs:include schemaLocation="./Some_Aggregates.xsd"/> <xs:include schemaLocation="./Some_Types.xsd"/> <xs:element name="SomeRq"> <xs:complexType> <xs:sequence> <xs:element ref="SomeID"/> <xs:element ref="SomeIdInfo" minOccurs="0"/> <xs:element ref="SomeInfo"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="SomeRs"> <xs:complexType> <xs:sequence> <xs:element ref="SomeStatus"/> <xs:element ref="SomeID"/> <xs:element ref="SomeIdRec" minOccurs="0"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema> >From this schema, I should be able to create XML for SomeRq and/or SomeRs. I've got the following java code: XSModel model = schemaLoader.loadURI(argv[0]); if (model != null) { XSNamedMap ccomponents = model.getComponents(XSTypeDefinition.COMPLEX_TYPE); int complexcount = ccomponents.getLength(); XSComplexTypeDefinition complexType = null; XSParticle particle = null; for (int i = 0; i < complexcount; i++) { complexType = (XSComplexTypeDefinition)ccomponents.item(i); System.out.println("name: " + complexType.getName() + complexType.getParticle()); } This code prints out information on the complex types included in <xs:include schemaLocation="./Some_Types.xsd"/>, but not in SomeRq or SomeRs... I am having a difficult time understanding the API for Xerces-J for schemas and haven't found many examples outside of the QueryXS that comes with the most recent version of Xerces. Any help you can provide me with would be great! Thanks, Brent --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Nov 21 03:46:59 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33006 invoked from network); 21 Nov 2007 03:46:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Nov 2007 03:46:59 -0000 Received: (qmail 11472 invoked by uid 500); 21 Nov 2007 03:46:44 -0000 Delivered-To: [email protected] Received: (qmail 11461 invoked by uid 500); 21 Nov 2007 03:46:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 77598 invoked by uid 99); 21 Nov 2007 00:18:34 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=eK+vv6VTjlCpyRSiHCqycel1/dKZKrwyq0/u9lRHFho=; b=tlNIiDj7dIaODk0RSBTSsL0OEt8V3kXn5quYxPWXN0gl3Mz7hyE/5rsHWVQdETHSTfbfsODSRcCD75aPlHPXvE/9KVHK03PZsYJWvN/iQ0YH+m45aOI8znYxSaWkuxVryfWgCNVih4ucrZpOtuFH9h80CLx0OuKZmybUztvltFs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=ICl/FbJCq/FWDV08R2CZFLXicvJZHkzxVluixkgLXsx1iiVSvIcDbu/ebOa+Bx2WlK2YSJ10g3E/YPNszqz7FLHo75lhYwd5OQeIAneE0t+M3VJNs04pKON96Nale1yN6NqC8YMHI4nSZpcp8TMrLT0GCop4ZgeVA6VvPptPrCA= Message-ID: <[email protected]> Date: Tue, 20 Nov 2007 16:17:58 -0800 From: Jeff Greif <[email protected]> Reply-To: [email protected] User-Agent: Thunderbird 161.129.204.104 (Windows/20071031) MIME-Version: 1.0 To: [email protected] Subject: Re: Help navigating schema References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org The components that are accessible from model.getComponents() are those at top-level in the schema, the global elements and named type definitions (children of the xs:schema element). You asked only for the complex type definitions (the named ones), not also for the global elements. If you ask for the global elements also, you can each one's type by a method on ElementDecl or something similar. Jeff Brent Halsey wrote: > My ultimate goal is to take a schema and generate a blank XML > template. From there I'd like to create a web based form that > validates data based on the rules outlined in the schema. > > My schema looks like this: > > <?xml version="1.0" encoding="UTF-8"?> > <xs:schema targetNamespace="http://www.someplace.com/SOMEPLACE" > xmlns:xs="http://www.w3.org/2001/XMLSchema" > xmlns="http://www.someplace.com/SOMEPLACE" > elementFormDefault="qualified" attributeFormDefault="unqualified"> > <xs:include schemaLocation="./Some_Aggregates.xsd"/> > <xs:include schemaLocation="./Some_Types.xsd"/> > <xs:element name="SomeRq"> > <xs:complexType> > <xs:sequence> > <xs:element ref="SomeID"/> > <xs:element ref="SomeIdInfo" minOccurs="0"/> > <xs:element ref="SomeInfo"/> > </xs:sequence> > </xs:complexType> > </xs:element> > <xs:element name="SomeRs"> > <xs:complexType> > <xs:sequence> > <xs:element ref="SomeStatus"/> > <xs:element ref="SomeID"/> > <xs:element ref="SomeIdRec" minOccurs="0"/> > </xs:sequence> > </xs:complexType> > </xs:element> > </xs:schema> > > >From this schema, I should be able to create XML for SomeRq and/or SomeRs. > > I've got the following java code: > > XSModel model = schemaLoader.loadURI(argv[0]); > if (model != null) { > XSNamedMap ccomponents = model.getComponents(XSTypeDefinition.COMPLEX_TYPE); > int complexcount = ccomponents.getLength(); > XSComplexTypeDefinition complexType = null; > XSParticle particle = null; > for (int i = 0; i < complexcount; i++) > { > complexType = (XSComplexTypeDefinition)ccomponents.item(i); > System.out.println("name: " + complexType.getName() + > complexType.getParticle()); > } > > > > This code prints out information on the complex types included in > <xs:include schemaLocation="./Some_Types.xsd"/>, but not in SomeRq or > SomeRs... > > I am having a difficult time understanding the API for Xerces-J for > schemas and haven't found many examples outside of the QueryXS that > comes with the most recent version of Xerces. > > Any help you can provide me with would be great! > > Thanks, > > Brent > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Nov 21 04:16:28 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41206 invoked from network); 21 Nov 2007 04:16:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Nov 2007 04:16:28 -0000 Received: (qmail 35414 invoked by uid 500); 21 Nov 2007 04:16:13 -0000 Delivered-To: [email protected] Received: (qmail 35390 invoked by uid 500); 21 Nov 2007 04:16:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 35379 invoked by uid 99); 21 Nov 2007 04:16:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Nov 2007 20:16:13 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e4.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Nov 2007 04:16:14 +0000 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [161.129.204.104]) by e4.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id lAL4Fq7T010802 for <[email protected]>; Tue, 20 Nov 2007 23:15:52 -0500 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [161.129.204.104]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v8.6) with ESMTP id lAL4FqEo477656 for <[email protected]>; Tue, 20 Nov 2007 23:15:52 -0500 Received: from d01av04.pok.ibm.com (loopback [161.129.204.104]) by d01av04.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id lAL4FqDj032388 for <[email protected]>; Tue, 20 Nov 2007 23:15:52 -0500 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av04.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id lAL4Fq4W032379 for <[email protected]>; Tue, 20 Nov 2007 23:15:52 -0500 In-Reply-To: <[email protected]> Subject: Re: SchemaFactory - check of non-valid imports To: [email protected] X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Tue, 20 Nov 2007 23:15:50 -0500 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 11/20/2007 23:15:53 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Simon, Failure to resolve an import [1] is not an error however Xerces does re= port a warning to let the user know that it failed. I suspect that you haven= 't registered a an ErrorHandler with the SchemaFactory. By default (see DraconianErrorHandler) [2] it will silently ignore warnings. If you write your own ErrorHandler and register it with the SchemaFacto= ry you should get a warning which looks like: schema_reference.4: Failed to read schema document 'file:///C:/bar/foo.xsd', because 1) could not find the document; 2) th= e document could not be read; 3) the root element of the document is not <xsd:schema>. If you want this warning to be fatal throw an exception from your ErrorHandler. Thanks. [1] http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/#src-import [2] http://xerces.apache.org/xerces2-j/javadocs/api/javax/xml/validation/Sc= hemaFactory.html#setErrorHandler(org.xml.sax.ErrorHandler) Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] "Simon B=F8ggild" <[email protected]> wrote on 11/20/2007 05:05:25= AM: > Hi, > > When using SchemaFactory to load and check a schema file, it seems to= > ignore if the schema imports other schemas that doesn't exist. If for= > instance there's a typo in the import line in the schema: <import > schemaLocation=3D"file.xsdd" namespace=3D...>, where the "file.xsdd" > should have been written as "file.xsd", this seems to be ignored. > Sure, it generates an error when trying to process elements in the > schema deriving from the (wrongly spelled) imported schema file, but > it's not the actual misspelling in the import that raises the error. > Is there an option to set somewhere that causes SchemaFactory to thro= w > an exception if the imported schema does not exist? or is it necessar= y > to write your own LSResourceResolver implementation that manually > checks if the imported files exist? > > Thanks, > Simon > > ---------------------------------------------------------------------= > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected]= --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Nov 21 22:05:55 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11758 invoked from network); 21 Nov 2007 22:05:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Nov 2007 22:05:55 -0000 Received: (qmail 66008 invoked by uid 500); 21 Nov 2007 22:05:41 -0000 Delivered-To: [email protected] Received: (qmail 65998 invoked by uid 500); 21 Nov 2007 22:05:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 65987 invoked by uid 99); 21 Nov 2007 22:05:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Nov 2007 14:05:41 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO rv-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Nov 2007 22:05:31 +0000 Received: by rv-out-0910.google.com with SMTP id k15so1969816rvb for <[email protected]>; Wed, 21 Nov 2007 14:05:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=8ev5iplNPh6FJmvp45tigxDMfFwd+Q9rTVMxCHwlF6o=; b=pDUajHMVqh4X7b44ozexpM89N/W2tktoyDUjMxmeRHu9qHWJdZp3Q8RxquzSujjUVLIs/bpyiWFG9B8puv2nfbbfzmommB+U9Ve46xsj9Ni3GVpUgwlJLZeHVkWVNqX67iJ6hX+g9LkWdA+CqwbVy96Q4eNwYc/xfssKEtIU2sg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=onGUHx/Gk/sRTbQYQ0+ArFg0eQQVuOgFmcg/sT4lObPNCS8Q5BhXPKZsnBYtkr3A9p+CI5uwm3a0qVv4eibWbiGAp/1/4fFjs0Egj3qrBgT8lRtZE4WDm/OUsG7+0ZK9tCHppuEvQu16Vw+Fo4l6LShV2wDBlWPHZ46xV8V+/3o= Received: by 161.129.204.104 with SMTP id d21mr3620128rvl.1195682724528; Wed, 21 Nov 2007 14:05:24 -0800 (PST) Received: by 161.129.204.104 with HTTP; Wed, 21 Nov 2007 14:05:24 -0800 (PST) Message-ID: <[email protected]> Date: Wed, 21 Nov 2007 23:05:24 +0100 From: "=?ISO-8859-1?Q?Simon_B=F8ggild?=" <[email protected]> To: [email protected] Subject: Re: SchemaFactory - check of non-valid imports In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi Michael, You were right about that, thanks :-) Simon On Nov 21, 2007 5:15 AM, Michael Glavassevich <[email protected]> wrote: > Hi Simon, > > Failure to resolve an import [1] is not an error however Xerces does repo= rt > a warning to let the user know that it failed. I suspect that you haven't > registered a an ErrorHandler with the SchemaFactory. By default (see > DraconianErrorHandler) [2] it will silently ignore warnings. > > If you write your own ErrorHandler and register it with the SchemaFactory > you should get a warning which looks like: > > schema_reference.4: Failed to read schema document > 'file:///C:/bar/foo.xsd', because 1) could not find the document; 2) the > document could not be read; 3) the root element of the document is not > <xsd:schema>. > > If you want this warning to be fatal throw an exception from your > ErrorHandler. > > Thanks. > > [1] http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/#src-import > [2] > http://xerces.apache.org/xerces2-j/javadocs/api/javax/xml/validation/Sche= maFactory.html#setErrorHandler(org.xml.sax.ErrorHandler) > > Michael Glavassevich > XML Parser Development > IBM Toronto Lab > E-mail: [email protected] > E-mail: [email protected] > > "Simon B=F8ggild" <[email protected]> wrote on 11/20/2007 05:05:25 A= M: > > > > Hi, > > > > When using SchemaFactory to load and check a schema file, it seems to > > ignore if the schema imports other schemas that doesn't exist. If for > > instance there's a typo in the import line in the schema: <import > > schemaLocation=3D"file.xsdd" namespace=3D...>, where the "file.xsdd" > > should have been written as "file.xsd", this seems to be ignored. > > Sure, it generates an error when trying to process elements in the > > schema deriving from the (wrongly spelled) imported schema file, but > > it's not the actual misspelling in the import that raises the error. > > Is there an option to set somewhere that causes SchemaFactory to throw > > an exception if the imported schema does not exist? or is it necessary > > to write your own LSResourceResolver implementation that manually > > checks if the imported files exist? > > > > Thanks, > > Simon > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Nov 22 18:06:18 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75304 invoked from network); 22 Nov 2007 18:06:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Nov 2007 18:06:18 -0000 Received: (qmail 38494 invoked by uid 500); 22 Nov 2007 18:06:05 -0000 Delivered-To: [email protected] Received: (qmail 38481 invoked by uid 500); 22 Nov 2007 18:06:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 38470 invoked by uid 99); 22 Nov 2007 18:06:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Nov 2007 10:06:05 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO galatea.galdosinc.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Nov 2007 18:06:06 +0000 Received: from galdosinc.com (wm.galdosinc.com [161.129.204.104]) by galatea.galdosinc.com (8.13.1/8.13.1) with ESMTP id lAMI5jBH014516 for <[email protected]>; Thu, 22 Nov 2007 10:05:45 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: XML Schema API determining to what XSComplexTypeDefinition an XSElementDeclaration belongs to Date: Thu, 22 Nov 2007 10:05:44 -0800 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: XML Schema API determining to what XSComplexTypeDefinition an XSElementDeclaration belongs to thread-index: AcgtMYtHdW4yWVkDRYGwh2JIkgyMDwAALfog References: <[email protected]> From: "Srdjan Djuricic" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hello, I have a simple problem and I can not seem to find an API method that will resolve my problem. Lets say we have two complexTypes A and complexType B. ComplexType B extends the A. Both of the complexTypes have a sequences with a single element. ComplexType A has an element A and ComplexType B has an element b. Now when I encounter XSComplexTypeDefinition for B since B extends A I will have two elements A, B. When I encounter element A in ComplexType B I would like to somehow know that elementA originates from complexType A and was not defined inside the complexType B. I have not been able to figure out how to do that. When I parse the XSModelGroup if I ask for a compositor there are only two options sequence and choice. However if the model group is obtained by extension It is labeled the same as if the model group is obtained by sequence. =20 Is there a way such that when I encounter an XSElementDeclaration I can exactly know from what complexType it came from if indeed an element is enclosed by the complexType? Thank you for your help Be there when the Web and GIS unite! Register now for GeoWeb [email protected]=20 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Nov 22 18:37:46 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92704 invoked from network); 22 Nov 2007 18:37:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Nov 2007 18:37:46 -0000 Received: (qmail 65032 invoked by uid 500); 22 Nov 2007 18:37:33 -0000 Delivered-To: [email protected] Received: (qmail 65007 invoked by uid 500); 22 Nov 2007 18:37:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 55397 invoked by uid 99); 22 Nov 2007 18:23:54 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=86duIxJorcafnj8VZ9Edsz24cki87mBTubgF95hIbOM=; b=IclU0SzGmYIkNfsoWyaC/26Pvz2ZYnQmF7TX7EB+zCWWu4xBxMTt5Wufwn6hpR6lzOititOMSvK8gYaF5TPN1Qu+WEt6joV1wjfIlHrbRtBcvPxX9MlAWCl4x0WUFsI2FAhGOMHgOnenqTKT99SiNTDJz1+FVEUk4zme+rHTIH0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=tZ6Mhtz3pRnf6OQQ9CiyxYAsN/LF59WV7cUNn2V8j1zJMe1lljkcFzM/IhEbDoZK7pG1o36O7RfjMHW17iOxUjLUhaeIxCbGNT4XIYqFZgK9RCHKNYTYNvjhQ218YlJRWhhWvyLtXbKd/p4Sn8PVaMW8BInLixFS9QyjHtRrF0I= Message-ID: <[email protected]> Date: Thu, 22 Nov 2007 10:23:33 -0800 From: "Jeff Greif" <[email protected]> Sender: [email protected] To: [email protected] Subject: Re: XML Schema API determining to what XSComplexTypeDefinition an XSElementDeclaration belongs to In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <[email protected]> X-Google-Sender-Auth: 69c24ab22e08f44c X-Virus-Checked: Checked by ClamAV on apache.org If I recall correctly, the model group for B should contain a sequence with the two elements a,b. That is, the complex type definition for B already has the process of extending A built into its content model. Jeff On 11/22/07, Srdjan Djuricic <[email protected]> wrote: > > Hello, > > I have a simple problem and I can not seem to find an API method that > will resolve my problem. > Lets say we have two complexTypes A and complexType B. ComplexType B > extends the A. Both of the complexTypes have a sequences with a single > element. ComplexType A has an element A and ComplexType B has an > element b. > > Now when I encounter XSComplexTypeDefinition for B since B extends A I > will have two elements A, B. When I encounter element A in ComplexType > B I would like to somehow know that elementA originates from complexType > A and was not defined inside the complexType B. I have not been able to > figure out how to do that. > > When I parse the XSModelGroup if I ask for a compositor there are only > two options sequence and choice. However if the model group is obtained > by extension It is labeled the same as if the model group is obtained by > sequence. > > Is there a way such that when I encounter an XSElementDeclaration I can > exactly know from what complexType it came from if indeed an element is > enclosed by the complexType? > > Thank you for your help > > Be there when the Web and GIS unite! Register now for GeoWeb 2007 at > www.geoweb.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Nov 29 12:25:46 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26639 invoked from network); 29 Nov 2007 12:25:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Nov 2007 12:25:46 -0000 Received: (qmail 48807 invoked by uid 500); 29 Nov 2007 12:25:33 -0000 Delivered-To: [email protected] Received: (qmail 48785 invoked by uid 500); 29 Nov 2007 12:25:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48774 invoked by uid 99); 29 Nov 2007 12:25:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2007 04:25:33 -0800 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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2007 12:25:13 +0000 Received: by ug-out-1314.google.com with SMTP id m2so2957750ugc for <[email protected]>; Thu, 29 Nov 2007 04:25:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=TNpkSQ7COkNii7v92UResYU0LYBQ9dtmNi09rC3fx8o=; b=oT2sztPCTHUqxH0ePkcFXeCTkVMwvnevhm3pFQ7kXqqzW9kulUCsP3xca1khNcpOyjqE/A7Kt4Y7eqr1ByA7PAfVrVOHC0e8OjMooOZRfIbX4h/pE4B2ZOsP82OmBv6FMdubW4fEEqS5GvMB2eP+ytuP2PA0EJWJZbimxF5kzxs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:mime-version:content-type; b=ZbUzKO9UfB9WhlQyLeMBj6ZpUqf8mEVe07sXxbKLHV5t9RAFTcJswApn9ingfUem6KhUmnAVg/UfiZMoWmrD1sHml59dp3oyGKy8F7vWifwW1sWHFy1zDQhrRc0VIDAnikph5kKDvIZvGAT30qKWvQLLDM333oovz3EKZlF+xrY= Received: by 161.129.204.104 with SMTP id b16mr1711456hud.1196339114830; Thu, 29 Nov 2007 04:25:14 -0800 (PST) Received: by 161.129.204.104 with HTTP; Thu, 29 Nov 2007 04:25:14 -0800 (PST) Message-ID: <[email protected]> Date: Thu, 29 Nov 2007 20:25:14 +0800 From: "Stella Lok" <[email protected]> To: [email protected] Subject: How to get minOccurs and maxOccurs values from Element Declarations MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_12050_27312056.1196339114825" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_12050_27312056.1196339114825 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I would like to ask how one can retrieve the minOccurs and maxOccurs values from an element declaration (whether it is is a simple type or is referring to a simpleType/complexType). >From what I've found in the Xerces API, getMinOccurs() and getMaxOccurs() are only defined in XSParticle. Would greatly appreciate if someone could point me in the right direction! Thanks, Stella ------=_Part_12050_27312056.1196339114825 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,<br><br>I would like to ask how one can retrieve the minOccurs and maxOccurs values from an element declaration (whether it is is a simple type or is referring to a simpleType/complexType).<br>From what I&#39;ve found in the Xerces API, getMinOccurs() and getMaxOccurs() are only defined in XSParticle. <br><br>Would greatly appreciate if someone could point me in the right direction!<br><br>Thanks,<br>Stella<br><br><br><br> ------=_Part_12050_27312056.1196339114825-- From [email protected] Thu Nov 29 14:17:33 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95271 invoked from network); 29 Nov 2007 14:17:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Nov 2007 14:17:33 -0000 Received: (qmail 23628 invoked by uid 500); 29 Nov 2007 14:17:20 -0000 Delivered-To: [email protected] Received: (qmail 23607 invoked by uid 500); 29 Nov 2007 14:17:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23596 invoked by uid 99); 29 Nov 2007 14:17:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2007 06:17:20 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e2.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2007 14:17:21 +0000 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [161.129.204.104]) by e2.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id lATEGusT032013 for <[email protected]>; Thu, 29 Nov 2007 09:16:56 -0500 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [161.129.204.104]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id lATEGoC4136252 for <[email protected]>; Thu, 29 Nov 2007 09:16:56 -0500 Received: from d01av01.pok.ibm.com (loopback [161.129.204.104]) by d01av01.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id lATEGosV012488 for <[email protected]>; Thu, 29 Nov 2007 09:16:50 -0500 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av01.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id lATEGo9D012469 for <[email protected]>; Thu, 29 Nov 2007 09:16:50 -0500 In-Reply-To: <[email protected]> Subject: Re: How to get minOccurs and maxOccurs values from Element Declarations To: [email protected] X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Thu, 29 Nov 2007 09:16:46 -0500 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 11/29/2007 09:16:45 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Hi Stella, You're asking for something you can't get. Consider that one element declaration could be used in multiple places: <xs:element name="foo" type="xs:string"/> <xs:complexType name="bar"> <xs:sequence> ... <xs:element ref="foo" minOccurs="2" maxOccurs="4"/> </xs:sequence> </xs:complexType> <xs:complexType name="baz"> <xs:sequence> ... <xs:element ref="foo" minOccurs="3" maxOccurs="5"/> </xs:sequence> </xs:complexType> It's the particle (i.e. the usage of the element declaration) [1] which holds the occurrence information not the element declaration itself. Thanks. [1] http://www.w3.org/TR/xmlschema-1/#cParticles Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] "Stella Lok" <[email protected]> wrote on 11/29/2007 07:25:14 AM: > Hi, > > I would like to ask how one can retrieve the minOccurs and maxOccurs > values from an element declaration (whether it is is a simple type > or is referring to a simpleType/complexType). > From what I've found in the Xerces API, getMinOccurs() and > getMaxOccurs() are only defined in XSParticle. > > Would greatly appreciate if someone could point me in the right direction! > > Thanks, > Stella --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Nov 29 17:17:11 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25932 invoked from network); 29 Nov 2007 17:17:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Nov 2007 17:17:10 -0000 Received: (qmail 39791 invoked by uid 500); 29 Nov 2007 17:16:56 -0000 Delivered-To: [email protected] Received: (qmail 39767 invoked by uid 500); 29 Nov 2007 17:16:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 39756 invoked by uid 99); 29 Nov 2007 17:16:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2007 09:16:56 -0800 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 (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO csgrelay2.csgsystems.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2007 17:16:58 +0000 Received: from milwebmail03.csg.csgsystems.com (milwebmail03.csgsystems.com [161.129.204.104]) by csgrelay2.csgsystems.com (8.12.10/8.12.11) with ESMTP id lATGwxAA020554 for <[email protected]>; Thu, 29 Nov 2007 10:59:08 -0600 Received: from milexch02.csg.csgsystems.com ([161.129.204.104]) by milwebmail03.csg.csgsystems.com with Microsoft SMTPSVC872-291-2466); Thu, 29 Nov 2007 10:16:26 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C832AB.754BC65F" Subject: RE: How to get minOccurs and maxOccurs values from Element Declarations Date: Thu, 29 Nov 2007 10:15:36 -0700 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to get minOccurs and maxOccurs values from Element Declarations Thread-Index: AcgygvwY2G4sfI+9SEaflmvLbL+0pwAGdQGg References: <[email protected]> From: "Wax, Ed" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 29 Nov 2007 17:16:26.0851 (UTC) FILETIME=[93156B30:01C832AB] X-Scanned-By: MIMEDefang 2.34 X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C832AB.754BC65F Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Stella, It is not as straight forward as one might image. Assuming you have navigated to a complex type: =20 XSComplexTypeDefinition complex; // is set to the current complex type. =20 XSParticle p =3D complex.getParticle(); XSTerm term =3D p.getTerm(); XSModelGroup xm =3D (XSModelGroup)term; XSObjectList xobj =3D xm.getParticles(); =20 for (int i =3D 0; i < xobj.getLength(); ++i) { XSParticle xp =3D (XSParticle)xobj.item(i); XSTerm t =3D xp.getTerm(); if (t instanceof XSElementDeclaration) { XSElementDeclaration elem =3D (XSElementDeclaration)t; =20 // At this point we know the particle is an element. // Here we can query for optionality info from the partical. if ( xp !=3D null ) { isOptional =3D xp.getMinOccurs() =3D=3D 0; // Check here for MaxOccurs as well. } } } =20 Hope this helps. =20 Ed =20 From: Stella Lok [mailto:[email protected]]=20 Sent: Thursday, November 29, 2007 5:25 AM To: [email protected] Subject: How to get minOccurs and maxOccurs values from Element Declarations =20 Hi, I would like to ask how one can retrieve the minOccurs and maxOccurs values from an element declaration (whether it is is a simple type or is referring to a simpleType/complexType). >From what I've found in the Xerces API, getMinOccurs() and getMaxOccurs() are only defined in XSParticle.=20 Would greatly appreciate if someone could point me in the right direction! Thanks, Stella ------_=_NextPart_001_01C832AB.754BC65F Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:x=3D"urn:schemas-microsoft-com:office:excel" = xmlns:p=3D"urn:schemas-microsoft-com:office:powerpoint" = xmlns:a=3D"urn:schemas-microsoft-com:office:access" = xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" = xmlns:s=3D"uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" = xmlns:rs=3D"urn:schemas-microsoft-com:rowset" xmlns:z=3D"#RowsetSchema" = xmlns:b=3D"urn:schemas-microsoft-com:office:publisher" = xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadsheet" = xmlns:c=3D"urn:schemas-microsoft-com:office:component:spreadsheet" = xmlns:oa=3D"urn:schemas-microsoft-com:office:activation" = xmlns:html=3D"http://www.w3.org/TR/REC-html40" = xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" xmlns:D=3D"DAV:" = xmlns:x2=3D"http://schemas.microsoft.com/office/excel/2003/xml" = xmlns:ois=3D"http://schemas.microsoft.com/sharepoint/soap/ois/" = xmlns:dir=3D"http://schemas.microsoft.com/sharepoint/soap/directory/" = xmlns:ds=3D"http://www.w3.org/2000/09/xmldsig#" = xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint/dsp" = xmlns:udc=3D"http://schemas.microsoft.com/data/udc" = xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" = xmlns:sps=3D"http://schemas.microsoft.com/sharepoint/soap/" = xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" = xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile" = xmlns:wf=3D"http://schemas.microsoft.com/sharepoint/soap/workflow/" = xmlns:mver=3D"http://schemas.openxmlformats.org/markup-compatibility/2006= " xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns:mrels=3D"http://schemas.openxmlformats.org/package/2006/relationshi= ps" = xmlns:ex12t=3D"http://schemas.microsoft.com/exchange/services/2006/types"= = xmlns:ex12m=3D"http://schemas.microsoft.com/exchange/services/2006/messag= es" xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman","serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>Stella,<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>It is not as straight forward as one might image.&nbsp; = Assuming you have navigated to a complex type:<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:#1F497D'>XSComplexTypeDefinition complex;&nbsp;&nbsp; // is set to = the current complex type.<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:#0070C0'>XSParticle p =3D = complex.getParticle();<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:#1F497D'>XSTerm term =3D p.getTerm();<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:#1F497D'>XSModelGroup xm =3D = (XSModelGroup)term;<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:#1F497D'>XSObjectList xobj =3D = xm.getParticles();<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:#1F497D'>for (int i =3D 0; i &lt; xobj.getLength(); ++i) = {<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:#1F497D'>&nbsp;&nbsp;&nbsp; XSParticle xp =3D = (XSParticle)xobj.item(i);<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:#1F497D'>&nbsp;&nbsp;&nbsp; XSTerm t =3D = xp.getTerm();<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:#1F497D'>&nbsp;&nbsp;&nbsp; if (t instanceof XSElementDeclaration) = {<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = XSElementDeclaration elem =3D (XSElementDeclaration)t;<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // At this = point we know the particle is an element.<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Here we can = query for optionality info from the partical.<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ( xp !=3D = null ) {<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;isOptional =3D xp.getMinOccurs() =3D=3D 0;<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p; &nbsp;// Check here for MaxOccurs as well.<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = }<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:#1F497D'>&nbsp;&nbsp;&nbsp; }<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:#1F497D'>}<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>Hope this helps.<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>Ed<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt = 0in 0in 0in'> <p class=3DMsoNormal><b><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>= </b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Stella Lok [mailto:[email protected]] <br> <b>Sent:</b> Thursday, November 29, 2007 5:25 AM<br> <b>To:</b> [email protected]<br> <b>Subject:</b> How to get minOccurs and maxOccurs values from Element Declarations<o:p></o:p></span></p> </div> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal style=3D'margin-bottom:12.0pt'>Hi,<br> <br> I would like to ask how one can retrieve the minOccurs and maxOccurs = values from an element declaration (whether it is is a simple type or is = referring to a simpleType/complexType).<br> >From what I've found in the Xerces API, getMinOccurs() and = getMaxOccurs() are only defined in XSParticle. <br> <br> Would greatly appreciate if someone could point me in the right = direction!<br> <br> Thanks,<br> Stella<br> <br> <br> <o:p></o:p></p> </div> </body> </html> ------_=_NextPart_001_01C832AB.754BC65F-- From [email protected] Thu Nov 29 17:42:53 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36619 invoked from network); 29 Nov 2007 17:42:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Nov 2007 17:42:53 -0000 Received: (qmail 89986 invoked by uid 500); 29 Nov 2007 17:42:33 -0000 Delivered-To: [email protected] Received: (qmail 89969 invoked by uid 500); 29 Nov 2007 17:42:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 89949 invoked by uid 99); 29 Nov 2007 17:42:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2007 09:42:33 -0800 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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nf-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2007 17:42:13 +0000 Received: by nf-out-0910.google.com with SMTP id k4so1583605nfd for <[email protected]>; Thu, 29 Nov 2007 09:42:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=cPKOjHdAWzueXwza6cQMfRe615w6wmktxPsi76csNHg=; b=KDDPe345TCA3C2NrOShetjc06IOzTuUKC5OW5BPxzLSvbfqZJfeYwborpxuu1cg1H/T2Y9FQpHZAEEgtVgs84Hs7ffU5S2jKfqrpZfEKHP9kgEZ1TER4v7idva0VBCIi5fTqmSaDjTC6MRV2H/R5lm8SQ7b+iBU8TcSP4gh1i/0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=fBKME528RNpvVU9HuUwfsbD9Uh/PskKbe45DoV+TkKbCxX2qFFK3+NimotEoGNtBeL/a0b7W1AMBKsaH1fpbsCGuFTj7RHdF+9qm/9lGPhI7qC4TjiVQYoIXWdYsNdWfTiV3OJ2T+k+xl+RMRaxFJUdcvRYZg5g/msIbV+/4VsE= Received: by 161.129.204.104 with SMTP id y10mr986445huf.1196358133254; Thu, 29 Nov 2007 09:42:13 -0800 (PST) Received: by 161.129.204.104 with HTTP; Thu, 29 Nov 2007 09:42:13 -0800 (PST) Message-ID: <[email protected]> Date: Fri, 30 Nov 2007 01:42:13 +0800 From: "Stella Lok" <[email protected]> To: [email protected] Subject: Re: How to get minOccurs and maxOccurs values from Element Declarations In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13638_26034001.1196358133238" References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_13638_26034001.1196358133238 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Ed and Michael, Thank you very much for taking the time to explain the structure to me! I am still unclear on 2 specific cases though, and that is when an element declaration is a simple type. Case 1: <xs:element name="simpleElement" minOccurs="0" and maxOccurs="2"> <xs:simpleType> .... </xs:simpleType> </xs:element> I can't figure out how to obtain the minOccurs and maxOccurs values for simpleElement, since there is no particle for a simpleType? Case 2: <xs:element name="simpleElement"> <xs:simpleType> <xs:restriction base="xs:integer"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="element2" ref="simpleElement" minOccurs="0" and maxOccurs="2"> </xs:element> I suspect that the use of ref means that the full definition of element2 becomes (pardon my lack of proper terms): <xs:element name="element2" minOccurs="0" and maxOccurs="2"> <xs:complexType> <xs:element type="simpleElement"/> </xs:complexType> </xs:element> i.e, there is an anonymous complexType and it contains the particle that defines the occurrences. I would really like to find out about Case 1, and also seek confirmation on Case 2. Thanks very much! Sincerely, Stella On Nov 30, 2007 1:15 AM, Wax, Ed <[email protected]> wrote: > Stella, > > It is not as straight forward as one might image. Assuming you have > navigated to a complex type: > > > > XSComplexTypeDefinition complex; // is set to the current complex type. > > > > XSParticle p = complex.getParticle(); > > XSTerm term = p.getTerm(); > > XSModelGroup xm = (XSModelGroup)term; > > XSObjectList xobj = xm.getParticles(); > > > > for (int i = 0; i < xobj.getLength(); ++i) { > > XSParticle xp = (XSParticle)xobj.item(i); > > XSTerm t = xp.getTerm(); > > if (t instanceof XSElementDeclaration) { > > XSElementDeclaration elem = (XSElementDeclaration)t; > > > > // At this point we know the particle is an element. > > // Here we can query for optionality info from the partical. > > if ( xp != null ) { > > isOptional = xp.getMinOccurs() == 0; > > // Check here for MaxOccurs as well. > > } > > } > > } > > > > Hope this helps. > > > > Ed > > > > *From:* Stella Lok [mailto:[email protected]] > *Sent:* Thursday, November 29, 2007 5:25 AM > *To:* [email protected] > *Subject:* How to get minOccurs and maxOccurs values from Element > Declarations > > > > Hi, > > I would like to ask how one can retrieve the minOccurs and maxOccurs > values from an element declaration (whether it is is a simple type or is > referring to a simpleType/complexType). > From what I've found in the Xerces API, getMinOccurs() and getMaxOccurs() > are only defined in XSParticle. > > Would greatly appreciate if someone could point me in the right direction! > > Thanks, > Stella > > > ------=_Part_13638_26034001.1196358133238 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Ed and Michael,<br><br>Thank you very much for taking the time to explain the structure to me! I am still unclear on 2 specific cases though, and that is when an element declaration is a simple type.<br><br>Case 1:<br><br> &lt;xs:element name=&quot;simpleElement&quot; minOccurs=&quot;0&quot; and maxOccurs=&quot;2&quot;&gt;<br>&nbsp;&nbsp; &lt;xs:simpleType&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ....<br>&nbsp;&nbsp; &lt;/xs:simpleType&gt;<br>&lt;/xs:element&gt;<br><br>I can&#39;t figure out how to obtain the minOccurs and maxOccurs values for simpleElement, since there is no particle for a simpleType? <br><br><br>Case 2:<br><br>&lt;xs:element name=&quot;simpleElement&quot;&gt;<br> &nbsp;&nbsp; &lt;xs:simpleType&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:restriction base=&quot;xs:integer&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:minInclusive value=&quot;0&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:restriction&gt;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &lt;/xs:simpleType&gt;<br> &lt;/xs:element&gt;<br><br>&lt;xs:element name=&quot;element2&quot; ref=&quot;simpleElement&quot; minOccurs=&quot;0&quot; and maxOccurs=&quot;2&quot;&gt;<br> &lt;/xs:element&gt;<br>&nbsp; <br>I suspect that the use of ref means that the full definition of element2 becomes (pardon my lack of proper terms):<br>&lt;xs:element name=&quot;element2&quot; minOccurs=&quot;0&quot; and maxOccurs=&quot;2&quot;&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:complexType&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:element type=&quot;simpleElement&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:complexType&gt;<br>&lt;/xs:element&gt;<br><br>i.e, there is an anonymous complexType and it contains the particle that defines the occurrences. <br><br><br>I would really like to find out about Case 1, and also seek confirmation on Case 2.<br>Thanks very much!<br><br>Sincerely,<br>Stella<br><br><br><br><div class="gmail_quote">On Nov 30, 2007 1:15 AM, Wax, Ed &lt; <a href="mailto:[email protected]">[email protected]</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div link="blue" vlink="purple" lang="EN-US"> <div> <p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Stella,</span></p> <p><span style="font-size: 11pt; color: rgb(31, 73, 125);">It is not as straight forward as one might image.&nbsp; Assuming you have navigated to a complex type:</span></p> <p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p> <p><span style="font-size: 10pt; color: rgb(31, 73, 125);">XSComplexTypeDefinition complex;&nbsp;&nbsp; // is set to the current complex type.</span></p> <p><span style="font-size: 10pt; color: rgb(31, 73, 125);">&nbsp;</span></p> <p><span style="font-size: 10pt; color: rgb(0, 112, 192);">XSParticle p = complex.getParticle();</span></p> <p><span style="font-size: 10pt; color: rgb(31, 73, 125);">XSTerm term = p.getTerm();</span></p> <p><span style="font-size: 10pt; color: rgb(31, 73, 125);">XSModelGroup xm = (XSModelGroup)term;</span></p> <p><span style="font-size: 10pt; color: rgb(31, 73, 125);">XSObjectList xobj = xm.getParticles();</span></p> <p><span style="font-size: 10pt; color: rgb(31, 73, 125);">&nbsp;</span></p> <p><span style="font-size: 10pt; color: rgb(31, 73, 125);">for (int i = 0; i &lt; xobj.getLength(); ++i) {</span></p> <p><span style="font-size: 10pt; color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp; XSParticle xp = (XSParticle)xobj.item(i);</span></p> <p><span style="font-size: 10pt; color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp; XSTerm t = xp.getTerm();</span></p> <p><span style="font-size: 10pt; color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp; if (t instanceof XSElementDeclaration) {</span></p> <p><span style="font-size: 10pt; color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XSElementDeclaration elem = (XSElementDeclaration)t;</span></p> <p><span style="font-size: 10pt; color: rgb(31, 73, 125);">&nbsp;</span></p> <p><span style="font-size: 10pt; color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // At this point we know the particle is an element.</span></p> <p><span style="font-size: 10pt; color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Here we can query for optionality info from the partical.</span></p> <p><span style="font-size: 10pt; color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ( xp != null ) {</span></p> <p><span style="font-size: 10pt; color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;isOptional = xp.getMinOccurs() == 0;</span></p> <p><span style="font-size: 10pt; color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;// Check here for MaxOccurs as well.</span></p> <p><span style="font-size: 10pt; color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></p> <p><span style="font-size: 10pt; color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp; }</span></p> <p><span style="font-size: 10pt; color: rgb(31, 73, 125);">}</span></p> <p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p> <p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Hope this helps.</span></p> <p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p> <p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Ed</span></p> <p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p> <div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;"> <p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> Stella Lok [mailto:<a href="mailto:[email protected]" target="_blank">[email protected]</a>] <br> <b>Sent:</b> Thursday, November 29, 2007 5:25 AM<br> <b>To:</b> <a href="mailto:[email protected]" target="_blank">[email protected]</a><br> <b>Subject:</b> How to get minOccurs and maxOccurs values from Element Declarations</span></p> </div><div><div></div><div class="Wj3C7c"> <p>&nbsp;</p> <p style="margin-bottom: 12pt;">Hi,<br> <br> I would like to ask how one can retrieve the minOccurs and maxOccurs values from an element declaration (whether it is is a simple type or is referring to a simpleType/complexType).<br> >From what I&#39;ve found in the Xerces API, getMinOccurs() and getMaxOccurs() are only defined in XSParticle. <br> <br> Would greatly appreciate if someone could point me in the right direction!<br> <br> Thanks,<br> Stella<br> <br> <br> </p> </div></div></div> </div> </blockquote></div><br> ------=_Part_13638_26034001.1196358133238-- From [email protected] Thu Nov 29 18:37:51 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90084 invoked from network); 29 Nov 2007 18:37:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Nov 2007 18:37:51 -0000 Received: (qmail 89097 invoked by uid 500); 29 Nov 2007 18:37:38 -0000 Delivered-To: [email protected] Received: (qmail 88932 invoked by uid 500); 29 Nov 2007 18:37:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 88920 invoked by uid 99); 29 Nov 2007 18:37:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2007 10:37:37 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e1.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2007 18:37:39 +0000 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [161.129.204.104]) by e1.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id lATIbFbg006946 for <[email protected]>; Thu, 29 Nov 2007 13:37:15 -0500 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [161.129.204.104]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id lATIbFlV071448 for <[email protected]>; Thu, 29 Nov 2007 13:37:15 -0500 Received: from d01av04.pok.ibm.com (loopback [161.129.204.104]) by d01av04.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id lATIbFKl011195 for <[email protected]>; Thu, 29 Nov 2007 13:37:15 -0500 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av04.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id lATIbEoQ011181 for <[email protected]>; Thu, 29 Nov 2007 13:37:15 -0500 In-Reply-To: <[email protected]> Subject: Re: How to get minOccurs and maxOccurs values from Element Declarations To: [email protected] X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Thu, 29 Nov 2007 13:37:10 -0500 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 11/29/2007 13:37:09 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Hi Stella, "Stella Lok" <[email protected]> wrote on 11/29/2007 12:42:13 PM: > Hi Ed and Michael, > > Thank you very much for taking the time to explain the structure to > me! I am still unclear on 2 specific cases though, and that is when > an element declaration is a simple type. > > Case 1: > > <xs:element name="simpleElement" minOccurs="0" and maxOccurs="2"> > <xs:simpleType> > .... > </xs:simpleType> > </xs:element> > > I can't figure out how to obtain the minOccurs and maxOccurs values > for simpleElement, since there is no particle for a simpleType? That element declaration is only legal if its enclosed in a complex type, in other words a local element declaration. You need to walk the enclosing complex type (XSElementDeclaration.getEnclosingCTDefinition() will get you that) and find the particle containing this element declaration. The code which Ed posted shows how to do that. > Case 2: > > <xs:element name="simpleElement"> > <xs:simpleType> > <xs:restriction base="xs:integer"> > <xs:minInclusive value="0"/> > </xs:restriction> > </xs:simpleType> > </xs:element> > > <xs:element name="element2" ref="simpleElement" minOccurs="0" and > maxOccurs="2"> > </xs:element> > > I suspect that the use of ref means that the full definition of > element2 becomes (pardon my lack of proper terms): > <xs:element name="element2" minOccurs="0" and maxOccurs="2"> > <xs:complexType> > <xs:element type="simpleElement"/> > </xs:complexType> > </xs:element> It doesn't mean anything because it's not legal anywhere in a schema document. You can never specify both "name" and "ref" on xs:element. > i.e, there is an anonymous complexType and it contains the particle > that defines the occurrences. > > > I would really like to find out about Case 1, and also seek > confirmation on Case 2. > Thanks very much! > > Sincerely, > Stella > > > On Nov 30, 2007 1:15 AM, Wax, Ed < [email protected]> wrote: > Stella, > It is not as straight forward as one might image. Assuming you have > navigated to a complex type: > > XSComplexTypeDefinition complex; // is set to the current complex type. > > XSParticle p = complex.getParticle(); > XSTerm term = p.getTerm(); > XSModelGroup xm = (XSModelGroup)term; > XSObjectList xobj = xm.getParticles(); > > for (int i = 0; i < xobj.getLength(); ++i) { > XSParticle xp = (XSParticle)xobj.item(i); > XSTerm t = xp.getTerm(); > if (t instanceof XSElementDeclaration) { > XSElementDeclaration elem = (XSElementDeclaration)t; > > // At this point we know the particle is an element. > // Here we can query for optionality info from the partical. > if ( xp != null ) { > isOptional = xp.getMinOccurs() == 0; > // Check here for MaxOccurs as well. > } > } > } > > Hope this helps. > > Ed > > From: Stella Lok [mailto:[email protected]] > Sent: Thursday, November 29, 2007 5:25 AM > To: [email protected] > Subject: How to get minOccurs and maxOccurs values from Element Declarations > > Hi, > > I would like to ask how one can retrieve the minOccurs and maxOccurs > values from an element declaration (whether it is is a simple type > or is referring to a simpleType/complexType). > From what I've found in the Xerces API, getMinOccurs() and > getMaxOccurs() are only defined in XSParticle. > > Would greatly appreciate if someone could point me in the right direction! > > Thanks, > Stella Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Nov 30 01:46:47 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70236 invoked from network); 30 Nov 2007 01:46:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Nov 2007 01:46:47 -0000 Received: (qmail 66872 invoked by uid 500); 30 Nov 2007 01:46:33 -0000 Delivered-To: [email protected] Received: (qmail 66857 invoked by uid 500); 30 Nov 2007 01:46:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 66846 invoked by uid 99); 30 Nov 2007 01:46:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2007 17:46:33 -0800 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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wr-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2007 01:46:14 +0000 Received: by wr-out-0506.google.com with SMTP id c48so1699545wra for <[email protected]>; Thu, 29 Nov 2007 17:45:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=XC6jdfWhIkVNNc3KhZa8AdInOvMpliF4O4GphCtyn5M=; b=X6e19R2Cm/367opNelLtXq9rgKmG3gmeJo8/PuGePWFWHtcAtuFqNlO6HW+1fvKGQUxKd2WRLzuFSE9JSxSvLWzT1PdP8pj4OOE8t3Y0lKB0R6xeZ6sc+euHJDnZGg2Q33f5BbtoJ7TNKdjZro3xlI4bakvyLndZWpBB3KScHDs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=q5pY/vvsroARngp+4Z4j5Chk7Av1ScmVPJwkkzIxz54djgPZm6nZuTg7LW+wOyAphzQdA0uxe6dw+2ObNmf8nv6U2BYlknAspaoL5ZACIK5g8nuqUu2wRTHjOnnOOSq0NYu+qyt0xstV3cpwfWOxcOyhntuIdA/VRI5PsKcXLe4= Received: by 161.129.204.104 with SMTP id v20mr2362104hue.1196386534242; Thu, 29 Nov 2007 17:35:34 -0800 (PST) Received: by 161.129.204.104 with HTTP; Thu, 29 Nov 2007 17:35:34 -0800 (PST) Message-ID: <[email protected]> Date: Fri, 30 Nov 2007 09:35:34 +0800 From: "Stella Lok" <[email protected]> To: [email protected] Subject: Re: How to get minOccurs and maxOccurs values from Element Declarations In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_15609_9789053.1196386534152" References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_15609_9789053.1196386534152 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I understand now, thanks a lot for your kind help! I had been stumped by this. Sincerely, Stella On Nov 30, 2007 2:37 AM, Michael Glavassevich <[email protected]> wrote: > Hi Stella, > > "Stella Lok" <[email protected]> wrote on 11/29/2007 12:42:13 PM: > > > Hi Ed and Michael, > > > > Thank you very much for taking the time to explain the structure to > > me! I am still unclear on 2 specific cases though, and that is when > > an element declaration is a simple type. > > > > Case 1: > > > > <xs:element name="simpleElement" minOccurs="0" and maxOccurs="2"> > > <xs:simpleType> > > .... > > </xs:simpleType> > > </xs:element> > > > > I can't figure out how to obtain the minOccurs and maxOccurs values > > for simpleElement, since there is no particle for a simpleType? > > That element declaration is only legal if its enclosed in a complex type, > in other words a local element declaration. You need to walk the enclosing > complex type (XSElementDeclaration.getEnclosingCTDefinition() will get you > that) and find the particle containing this element declaration. The code > which Ed posted shows how to do that. > > > Case 2: > > > > <xs:element name="simpleElement"> > > <xs:simpleType> > > <xs:restriction base="xs:integer"> > > <xs:minInclusive value="0"/> > > </xs:restriction> > > </xs:simpleType> > > </xs:element> > > > > <xs:element name="element2" ref="simpleElement" minOccurs="0" and > > maxOccurs="2"> > > </xs:element> > > > > I suspect that the use of ref means that the full definition of > > element2 becomes (pardon my lack of proper terms): > > <xs:element name="element2" minOccurs="0" and maxOccurs="2"> > > <xs:complexType> > > <xs:element type="simpleElement"/> > > </xs:complexType> > > </xs:element> > > It doesn't mean anything because it's not legal anywhere in a schema > document. You can never specify both "name" and "ref" on xs:element. > > > i.e, there is an anonymous complexType and it contains the particle > > that defines the occurrences. > > > > > > I would really like to find out about Case 1, and also seek > > confirmation on Case 2. > > Thanks very much! > > > > Sincerely, > > Stella > > > > > > > On Nov 30, 2007 1:15 AM, Wax, Ed < [email protected]> wrote: > > Stella, > > It is not as straight forward as one might image. Assuming you have > > navigated to a complex type: > > > > XSComplexTypeDefinition complex; // is set to the current complex > type. > > > > XSParticle p = complex.getParticle(); > > XSTerm term = p.getTerm(); > > XSModelGroup xm = (XSModelGroup)term; > > XSObjectList xobj = xm.getParticles(); > > > > for (int i = 0; i < xobj.getLength(); ++i) { > > XSParticle xp = (XSParticle)xobj.item(i); > > XSTerm t = xp.getTerm(); > > if (t instanceof XSElementDeclaration) { > > XSElementDeclaration elem = (XSElementDeclaration)t; > > > > // At this point we know the particle is an element. > > // Here we can query for optionality info from the partical. > > if ( xp != null ) { > > isOptional = xp.getMinOccurs() == 0; > > // Check here for MaxOccurs as well. > > } > > } > > } > > > > Hope this helps. > > > > Ed > > > > From: Stella Lok [mailto:[email protected]] > > Sent: Thursday, November 29, 2007 5:25 AM > > To: [email protected] > > Subject: How to get minOccurs and maxOccurs values from Element > Declarations > > > > Hi, > > > > I would like to ask how one can retrieve the minOccurs and maxOccurs > > values from an element declaration (whether it is is a simple type > > or is referring to a simpleType/complexType). > > From what I've found in the Xerces API, getMinOccurs() and > > getMaxOccurs() are only defined in XSParticle. > > > > Would greatly appreciate if someone could point me in the right > direction! > > > > Thanks, > > Stella > > Michael Glavassevich > XML Parser Development > IBM Toronto Lab > E-mail: [email protected] > E-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > ------=_Part_15609_9789053.1196386534152 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I understand now, thanks a lot for your kind help! I had been stumped by this.<br><br>Sincerely,<br>Stella<br><br><div class="gmail_quote">On Nov 30, 2007 2:37 AM, Michael Glavassevich &lt;<a href="mailto:[email protected]"> [email protected]</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Stella,<br><br>&quot;Stella Lok&quot; &lt;<a href="mailto:[email protected]"> [email protected]</a>&gt; wrote on 11/29/2007 12:42:13 PM:<br><div class="Ih2E3d"><br>&gt; Hi Ed and Michael,<br>&gt;<br>&gt; Thank you very much for taking the time to explain the structure to<br>&gt; me! I am still unclear on 2 specific cases though, and that is when <br>&gt; an element declaration is a simple type.<br>&gt;<br>&gt; Case 1:<br>&gt;<br>&gt; &lt;xs:element name=&quot;simpleElement&quot; minOccurs=&quot;0&quot; and maxOccurs=&quot;2&quot;&gt;<br>&gt; &nbsp; &nbsp;&lt;xs:simpleType&gt; <br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; ....<br>&gt; &nbsp; &nbsp;&lt;/xs:simpleType&gt;<br>&gt; &lt;/xs:element&gt;<br>&gt;<br>&gt; I can&#39;t figure out how to obtain the minOccurs and maxOccurs values<br>&gt; for simpleElement, since there is no particle for a simpleType? <br><br></div>That element declaration is only legal if its enclosed in a complex type,<br>in other words a local element declaration. You need to walk the enclosing<br>complex type (XSElementDeclaration.getEnclosingCTDefinition () will get you<br>that) and find the particle containing this element declaration. The code<br>which Ed posted shows how to do that.<br><div class="Ih2E3d"><br>&gt; Case 2:<br>&gt;<br>&gt; &lt;xs:element name=&quot;simpleElement&quot;&gt; <br>&gt; &nbsp; &nbsp;&lt;xs:simpleType&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp;&lt;xs:restriction base=&quot;xs:integer&quot;&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xs:minInclusive value=&quot;0&quot;/&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xs:restriction&gt;<br>&gt; &nbsp; &nbsp; &lt;/xs:simpleType&gt; <br>&gt; &lt;/xs:element&gt;<br>&gt;<br>&gt; &lt;xs:element name=&quot;element2&quot; ref=&quot;simpleElement&quot; minOccurs=&quot;0&quot; and<br>&gt; maxOccurs=&quot;2&quot;&gt;<br>&gt; &lt;/xs:element&gt;<br>&gt;<br>&gt; I suspect that the use of ref means that the full definition of <br>&gt; element2 becomes (pardon my lack of proper terms):<br>&gt; &lt;xs:element name=&quot;element2&quot; minOccurs=&quot;0&quot; and maxOccurs=&quot;2&quot;&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &lt;xs:complexType&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xs:element type=&quot;simpleElement&quot;/&gt; <br>&gt; &nbsp; &nbsp; &nbsp; &lt;/xs:complexType&gt;<br>&gt; &lt;/xs:element&gt;<br><br></div>It doesn&#39;t mean anything because it&#39;s not legal anywhere in a schema<br>document. You can never specify both &quot;name&quot; and &quot;ref&quot; on xs:element. <br><div><div></div><div class="Wj3C7c"><br>&gt; i.e, there is an anonymous complexType and it contains the particle<br>&gt; that defines the occurrences.<br>&gt;<br>&gt;<br>&gt; I would really like to find out about Case 1, and also seek <br>&gt; confirmation on Case 2.<br>&gt; Thanks very much!<br>&gt;<br>&gt; Sincerely,<br>&gt; Stella<br>&gt;<br>&gt;<br><br>&gt; On Nov 30, 2007 1:15 AM, Wax, Ed &lt; <a href="mailto:[email protected]">[email protected] </a>&gt; wrote:<br>&gt; Stella,<br>&gt; It is not as straight forward as one might image. &nbsp;Assuming you have<br>&gt; navigated to a complex type:<br>&gt;<br>&gt; XSComplexTypeDefinition complex; &nbsp; // is set to the current complex type. <br>&gt;<br>&gt; XSParticle p = complex.getParticle();<br>&gt; XSTerm term = p.getTerm();<br>&gt; XSModelGroup xm = (XSModelGroup)term;<br>&gt; XSObjectList xobj = xm.getParticles();<br>&gt;<br>&gt; for (int i = 0; i &lt; xobj.getLength(); ++i) {<br>&gt; &nbsp; &nbsp; XSParticle xp = (XSParticle)xobj.item(i);<br>&gt; &nbsp; &nbsp; XSTerm t = xp.getTerm();<br>&gt; &nbsp; &nbsp; if (t instanceof XSElementDeclaration) {<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; XSElementDeclaration elem = (XSElementDeclaration)t; <br>&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; // At this point we know the particle is an element.<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; // Here we can query for optionality info from the partical.<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; if ( xp != null ) {<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; isOptional = xp.getMinOccurs() == 0;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Check here for MaxOccurs as well.<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; }<br>&gt; &nbsp; &nbsp; }<br>&gt; }<br>&gt;<br>&gt; Hope this helps.<br>&gt;<br>&gt; Ed<br>&gt;<br>&gt; From: Stella Lok [mailto:<a href="mailto:[email protected]"> [email protected]</a>]<br>&gt; Sent: Thursday, November 29, 2007 5:25 AM<br>&gt; To: <a href="mailto:[email protected]">[email protected]</a><br>&gt; Subject: How to get minOccurs and maxOccurs values from Element <br>Declarations<br>&gt;<br>&gt; Hi,<br>&gt;<br>&gt; I would like to ask how one can retrieve the minOccurs and maxOccurs<br>&gt; values from an element declaration (whether it is is a simple type<br>&gt; or is referring to a simpleType/complexType). <br>&gt; From what I&#39;ve found in the Xerces API, getMinOccurs() and<br>&gt; getMaxOccurs() are only defined in XSParticle.<br>&gt;<br>&gt; Would greatly appreciate if someone could point me in the right<br>direction!<br> &gt;<br>&gt; Thanks,<br>&gt; Stella<br><br></div></div><div class="Ih2E3d">Michael Glavassevich<br>XML Parser Development<br>IBM Toronto Lab<br>E-mail: <a href="mailto:[email protected]">[email protected]</a><br>E-mail: <a href="mailto:[email protected]">[email protected]</a><br><br><br></div><div><div></div><div class="Wj3C7c">---------------------------------------------------------------------<br>To unsubscribe, e-mail: <a href="mailto:[email protected]"> [email protected]</a><br>For additional commands, e-mail: <a href="mailto:[email protected]">[email protected]</a><br><br></div></div></blockquote></div><br> ------=_Part_15609_9789053.1196386534152-- From [email protected] Fri Nov 30 13:55:34 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80480 invoked from network); 30 Nov 2007 13:55:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Nov 2007 13:55:33 -0000 Received: (qmail 17202 invoked by uid 500); 30 Nov 2007 13:55:22 -0000 Delivered-To: [email protected] Received: (qmail 16836 invoked by uid 500); 30 Nov 2007 13:55:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 16825 invoked by uid 99); 30 Nov 2007 13:55:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2007 05:55:21 -0800 X-ASF-Spam-Status: No, hits=2.3 required=10.0 tests=MIME_QP_LONG_LINE,SPF_PASS,UPPERCASE_50_75 X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO christel.heitec.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2007 13:55:16 +0000 Received: by christel.heitec.net (Postfix, from userid 27) id 631503E88E8; Fri, 30 Nov 2007 14:54:55 +0100 (CET) Received: from baby (paladin.heitec.net [161.129.204.104]) by christel.heitec.net (Postfix) with ESMTP id B0AE43E88D4 for <[email protected]>; Fri, 30 Nov 2007 14:54:54 +0100 (CET) Reply-To: <[email protected]> From: "Thimo von Rauchhaupt" <[email protected]> To: <[email protected]> Subject: Xerces Unmarshaller bug removing single whitespace Date: Fri, 30 Nov 2007 14:54:56 +0100 Organization: Empic GmbH MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_000A_01C83360.F934E750" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcgzWJcpHsbz5QtoSJS13LgP/Lq86g== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4133 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_000A_01C83360.F934E750 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello , When using Xerces (2.9.0 as well as 2.9.1) for unmarshalling it removes (from line 101:) <subjectmark><![CDATA[No specific subject]]></subjectmark> the single whitespace between "specific" and "subject". In the loaded object the String value " No specificsubject" can be found. The strange behavior is, that if I enter some linebreaks obove the last object tag (question) from </question> <question> To </question> <question> the bug does not occur. Also strange is that the same tag (subjectmark) with the same value occurs many times in the file, but only this one is parsed wrongly. My questions are: 1) Does anybody can tell me if I did something wrong? 2) Ist his a bug? Can anybody tell me how to report this bug / in which component? The bug reporting page is awfully complicated to do so. I only can read old bug reports but no data entry page can be found. Many thanks in advance, Thimo P.S.: My java code is: FileInputStream fis = new FileInputStream(aFileToImport); // is attached file AnonymizedImport.xml InputStreamReader isr = new InputStreamReader(fis, Exporter.DEFAULT_ENCODING); // means UTF8 Unmarshaller tempUnmarshaller = new Unmarshaller(); Mapping tempMapping = new Mapping(); tempMapping.loadMapping(Exporter.class.getClassLoader().getResource(Exporter .XML_MAPPING_FILE)); // see attached file import.xml tempUnmarshaller.setMapping(tempMapping); tempUnmarshaller.setDebug(stdlog.isDebugEnabled()); ImportExportBean tempImportBean = (ImportExportBean) tempUnmarshaller.unmarshal(isr); ------=_NextPart_000_000A_01C83360.F934E750 Content-Type: text/xml; name="AnonymizedImport.xml" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="AnonymizedImport.xml" <?xml version=3D"1.0" encoding=3D"UTF-8"?>=0A= <import-bean>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[B M.A.201 (a).2]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[0.3]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ J NIJCHJ UMFU FCY DEJSFUNDCFA FCI = JBJSLJCHY JRVNEBJCU KNUUJI NT HDSSJHUAY NCTUFAAJI FCI TJS NHJFGAJ DS = HAJFSAY NIJCUNKNJI FT VCTJS NHJFGAJ ?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[B M.A.201 (a).3]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[0.3]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJ FHUVFA AEESD FA CJSUNKNHFUJ = FANI?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[B M.A.201 (a).4]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[0.3]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ J NIJCHJ UMFU UMJ BFNCUJCFCHJ DK = UMJ FNSHSFKU NT EJSKDSBJI NC FHHDSIFCHJ WNUM F ESDEJSAY IJ JADEJI FCI = FBJCIJI FOCA FEESD JI HDBEFCY BFNCUJCFCHJ ESDLSFBBJ.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[B M.A.201 (b).1]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[0.3]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ J NIJCHJ NK UMJ FNSHSFKU NT = AJFTJI, UMJ SJTEDCTNGNANUNJT DK UMJ DWCJS FSJ USFCTKJSSJI UD UMJ AJTTJJ = NK UMJ AJTTJJ NT TUNEVAFUJI DC UMJ SJLNTUSFUNDC IDHVBJCU, DS IJUFNAJI NC = UMJ AJFTNCL HDCUSFHU?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[B M.A.201 (b).2]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[0.3]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ J NIJCHJ NK UMJ FNSHSFKU NT = AJFTJI, UMJ SJTEDCTNGNANUNJT DK UMJ DWCJS FSJ USFCTKJSSJI UD UMJ AJTTJJ = NK UMJ AJTTJJ NT TUNEVAFUJI DC UMJ SJLNTUSFUNDC IDHVBJCU, DS IJUFNAJI NC = UMJ AJFTNCL HDCUSFHU?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[B M.A.201 (d)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.11]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[HDW IDJT UMJ HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDC HDCUSDA UMFU UMJ PSJ-KANLMU NCTEJHUNDC NT = TFUNTKFHUDSY USFNCJI?=0A= NDUJ : TMJ ENADU-NC-HDBBFCI DS, NC UMJ HFTJ DK HDBBJSHNFA FNS USFCTEDSU, = UMJ DEJSFUDS TMFAA GJ SJTEDCTNGAJ KDS UMJ TFUNTKFHUDSY FHHDBEANTMBJCU DK = UMJ ESJ-KANLMU NCTEJHUNDC. TMNT NCTEJHUNDC BVTU GJ HFSSNJI DVU GY UMJ = ENADU DS FCDUMJS RVFANKNJI EJSTDC GVU CJJI CDU GJ HFSSNJI DVU GY FC = FEESD JI BFNCUJCFCHJ DSLFCNTFUNDC DS GY PFSU-66 HJSUNKYNCL = TUFKK.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[B M.A.201 (e)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[0.3]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[ASJ UMJ UFTPT FTTDHNFUJI WNUM HDCUNCVNCL = FNSWDSUMNCJTT HDCUSFHUJI UD FC FEESD JI HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDC?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[B M.A.201 (f)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[0.3]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ F WSNUUJC HDCUSFHU JTUFGANTMJI = KDS UMJ UFTPT FTTDHNFUJI WNUM HDCUNCVNCL FNSWDSUMNCJTT UD FC FEESD JI = HDCUNCVNCL FNSWDSUMNCJTT BFCFLJBJCU DSLFCNTFUNDC?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[B M.A.201 (g)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[0.3]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJ BFNCUJCFCHJ HFSSNJI DVU GY F PFSU = 145 FEESD JI BFNCUJCFCHJ DSLFCNTFUNDC? =0A= NDUJ : FOCA AEESD JI MFNCUJCFCHJ CDCUSFHU]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[B M.A.201 (h).1]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[0.3]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJ FHUVFA ANS OEJSFUDS CJSUNKNHFUJ = FANI?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[B M.A.201 (i).1]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[0.3]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DDJT UMJ DEJSFUDS MDAI F M.A. SVGEFSU G = FEESD FA KDS CDC HDBBJSHNFA FNS USFCTEDSU DS HDCUSFHU TVHM FC = DSLFCNTFUNDC?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[B M.A.201 (h).2]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[0.3]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DDJT UMJ DEJSFUDS MDAI F PFSU 145 FEESD = FA?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[B M.A.201 (i).2]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[0.3]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DDJT UMJ DEJSFUDS (CDC HDBBJSHNFA FNS = USFCTEDSU) MDAI F PFSU 145 FEESD FA?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[B M.A.202 (a)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.8]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DDJT UMJ HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDC MF J F ESDHJIVSJ NC EAFHJ UD NIJCUNKY HDCINUNDC = DK FC FNSHSFKU DS HDBEDCJCU UMFU MFZFSIT TJSNDVTAY UMJ KANLMU = TFKJUY?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[B M.A.202 (b)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.8]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[HDW IDJT UMJ HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDC JTUFGANTMJ FCI HDCUSDA DHHVSSJCHJ SJEDSUT UMFU = HDCUFNC FAA EJSUNCJCU NCKDSBFUNDC FGDVU UMJ HDCINUNDC PCDWC UD UMJ = EJSTDC DS DSLFCNTFUNDC.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[B M.A.202 (c)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.8]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ F ESDHJIVSJ NC EAFHJ KDS = DHHVSSJCHJ SJEDSUNCL UD UMJS DEJSFUDS GY UMJ HDCUSFHUJI BFNCUJCFCHJ = DSLFCNTFUNDC?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[B M.A.202 (d)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.8]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[HDW IDJT UMJ HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDCIT BFPJ TVSJ UD SJEDSU DHHVSSJCHJT UD UMJ = HDBEJUJCU FVUMDSNUNJ WNUMNC 72 MDVST?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[C M.A.301.1]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.11]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ J NIJCHJ UMFU UMJ PSJ-KANLMU = NCTEJHUNDC NT TFUNTKFHUDSY FHHDBEANTMJI GY UMJ ENADU?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[C M.A.301.2]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.1]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ F MNCNBVB ERVNEBJCU LNTU (MEL) = JTUFGANTMJI GY UMJ DEJSFUDS GFTJI DC UMJ JAA DS TYEJ CJSUNKNHFUJ HDAIJS = FEESD JI MFTUJS MNCNBVB ERVNEBJCU LNTU (MMEL)?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[C M.A.301.3]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.2]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ J NIJCHJ UMFU UMJ BFNCUJCFCHJ DK = UMJ FNSHSFKU NT EJSKDSBJI NC FHHDSIFCHJ WNUM F ESDEJSAY IJ JADEJI FCI = FBJCIJI FOCA FEESD JI HDBEFCY BFNCUJCFCHJ ESDLSFBBJ.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[C M.A.301.4]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.5]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ F ESDHJIVSJ NC EAFHJ NC DSIJS UD = FCFAYTJ UMJ JKKJHN JCJTT DK UMJ MP?=0A= NDUJ : TMJ BFNCUJCFCHJ ESDLSFBBJ TMFAA HDCUFNC IJUFNAT, NCHAVINCL = KSJRVJCHY, DK FAA BFNCUJCFCHJ UD GJ HFSSNJI DVU, NCHAVINCL FCY TEJHNKNH = UFTPT ANCPJI UD TEJHNKNH DEJSFUNDCT. TMJ ESDLSFBBJ BVTU NCHAVIJ F = SJANFGNANUY ESDLSFBBJ WMJC UMJ BFNCUJCFCHJ ESDLSFBBJ NT GFTJI DC = MFNCUJCFCHJ SUJJSNCL GSDVE ADLNH, DS BFNCAY DC HDCINUNDC BDCNUDSNCL.=0A= TJJ EFSF 302 (I)]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[C M.A.301.5 (i)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.4]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ F ESDHJIVSJ NC EAFHJ NC DSIJS UD = FHHDBEANTM FCI HDCUSDA BFCIFUDSY SJRVNSJBJCUT KDS FNSWDSUMNCJTT = NCHAVINCL EASA FCI FOCA AD'T?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[C M.A.301.5 (ii)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.4]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ F ESDHJIVSJ NC EAFHJ NC DSIJS UD = FHHDBEANTM FCI HDCUSDA DEJSFUNDCFA INSJHUN J WNUM HDCUNCVNCL = FNSWDSUMNCJTT NBEFHU?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[C M.A.301.5 (iii)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.4]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ F ESDHJIVSJ NC EAFHJ NC DSIJS UD = FHHDBEANTM FCI HDCUSDA HDCUNCVJI FNSWDSUMNCJTT SJRVNSJBJCU JTUFGANTMJI = GY UMJ ALJCHY?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[C M.A.301.5 (iv)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.4]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ F ESDHJIVSJ NC EAFHJ NC DSIJS UD = FHHDBEANTM FCI HDCUSDA BJFTVSJT BFCIFUJI GY UMJ HDBEJUJCU FVUMDSNUY NC = NBBJINFUJ SJFHUNDC UD F TFKJUY ESDGAJB;?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[C M.A.301.7]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.6]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ F ESDHJIVSJ NC EAFHJ NC DSIJS UD = FHHDBEANTM FCI HDCUSDA CDC-BFCIFUDSY HMFCLJT = (BDINKNHFUNDC)?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[C M.A.301.8]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.13]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[HDW IDJT UMJ HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDC JTUFGANTMJ FCI HDCUSDAI BFNCUJCFCHJ HMJHP KANLMU = ESDHJIVSJT?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[C M.A.302 (a)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.2]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ J NIJCHJ UMFU UMJ BFNCUJCFCHJ DK = UMJ FNSHSFKU NT EJSKDSBJI NC FHHDSIFCHJ WNUM F ESDEJSAY IJ JADEJI FCI = FBJCIJI FOCA FEESD JI HDBEFCY BFNCUJCFCHJ ESDLSFBBJ.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[C M.A.302 (d).1]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.10]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ F ESDHJIVSJ NC EAFHJ NC DSIJS UD = FCFAYTJ UMJ JKKJHN JCJTT DK UMJ MP?=0A= NDUJ : TMJ BFNCUJCFCHJ ESDLSFBBJ TMFAA HDCUFNC IJUFNAT, NCHAVINCL = KSJRVJCHY, DK FAA BFNCUJCFCHJ UD GJ HFSSNJI DVU, NCHAVINCL FCY TEJHNKNH = UFTPT ANCPJI UD TEJHNKNH DEJSFUNDCT. TMJ ESDLSFBBJ BVTU NCHAVIJ F = SJANFGNANUY ESDLSFBBJ WMJC UMJ BFNCUJCFCHJ ESDLSFBBJ NT GFTJI DC = MFNCUJCFCHJ SUJJSNCL GSDVE ADLNH, DS BFNCAY DC HDCINUNDC = BDCNUDSNCL.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[C M.A.302 (e)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.2]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ F ESDHJIVSJ NC EAFHJI KDS FC = NCINSJHU FEESD FA DK UMJ MFNCUJCFCHJ PSDLSFBBJ?=0A= NDUJ : FDSJNLC PFSU M SVGEFSU G DSLFCNTFUNDC]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[C M.A.303]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.4]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ F ESDHJIVSJ NC EAFHJ NC DSIJS UD = FHHDBEANTM FCI HDCUSDA BFCIFUDSY SJRVNSJBJCUT KDS FNSWDSUMNCJTT = NCHAVINCL EASA/FOCA/ JHU. AD'T?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[C M.A.304]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.7]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ F ESDHJIVSJ NC EAFHJ NC DSIJS UD = FHHDBEANTM FCI HDCUSDA BDINKNHFUNDCT FCI SJEFNS HFSSNJI DVU VTNCL IFUF = FEESD JI GY UMJ FLJCHY, TC HDAIJS DS GY FC FEESD JI PFSU-21 IJTNLC = DSLFCNTFUNDC ?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[C M.A.305 (a)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.3]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DDJT UMJ OEJSFUDST TJHMCNHFA LDL SYTUJB = HDCUFNC UMJ HVSSJCU AJSDEAFCJ CRS?=0A= NDUJ : AU UMJ HDBEAJUNDC DK FCY BFNCUJCFCHJ, UMJ HJSUNKNHFUJ DK SJAJFTJ = UD TJS NHJ TMFAA GJ JCUJSJI NC UMJ=0A= FNSHSFKU HDCUNCVNCL FNSWDSUMNCJTT SJHDSIT. EFHM JCUSY TMFAA GJ BFIJ FT = TDDC FT ESFHUNHFGAJ GVU NC CD J JCU BDSJ UMFC 30 IFYT FKUJS UMJ IFY DK = BFNCUJCFCHJ FHUNDC.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[C M.A.305 (b)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.3]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ FC TJHM LDL SYTUJB JTUFGANTMJI = HDCUFNCNCL UMJ KDAADWNCL NCKDSBFUNDC KDS JFHM FNSHSFKU:=0A= 1. NCKDSBFUNDC FGDVU JFHM KANLMU, CJHJTTFSY UD JCTVSJ HDCUNCVJI KANLMU = TFKJUY, FCI;=0A= 2. UMJ HVSSJCU FNSHSFKU HJSUNKNHFUJ DK SJAJFTJ UD TJS NHJ, FCI;=0A= 3. UMJ HVSSJCU BFNCUJCFCHJ TUFUJBJCU LN NCL UMJ FNSHSFKU BFNCUJCFCHJ = TUFUVT DK WMFU THMJIVAJI FCI DVU DK EMFTJ=0A= BFNCUJCFCHJ NT CJXU IVJ JXHJEU UMFU UMJ HDBEJUJCU FVUMDSNUY BFY FLSJJ UD = UMJ BFNCUJCFCHJ TUFUJBJCU GJNCL PJEU=0A= JATJWMJSJ, FCI;=0A= 4. FAA DVUTUFCINCL IJKJSSJI IJKJHUT SJHUNKNHFUNDCT UMFU FKKJHU UMJ = DEJSFUNDC DK UMJ FNSHSFKU, FCI;=0A= 5. FCY CJHJTTFSY LVNIFCHJ NCTUSVHUNDCT DC BFNCUJCFCHJ TVEEDSU = FSSFCLJBJCUT.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[C M.A.305 (c)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.3]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ J NIJCHJ UMFU F TYTUJB MFT GJJC = JTUFGANTMJI UD PJJE UMJ KDAADWNCL SJHDSIT KDS UMJ EJSNDIT=0A= TEJHNKNJI:=0A= 1. FAA IJUFNAJI BFNCUJCFCHJ SJHDSIT NC SJTEJHU DK UMJ FNSHSFKU FCI FCY = ANKJ-ANBNUJI HDBEDCJCU KNUUJI UMJSJUD, FU AJFTU=0A= 24 BDCUMT FKUJS UMJ FNSHSFKU DS HDBEDCJCU WFT EJSBFCJCUAY WNUMISFWC KSDB = TJS NHJ, FCI;=0A= 2. UMJ UDUFA UNBJ FCI KANLMU HYHAJT FT FEESDESNFUJ, DK UMJ FNSHSFKU FCI = FAA ANKJ-ANBNUJI HDBEDCJCUT, FU AJFTU 12 BDCUMT=0A= FKUJS UMJ FNSHSFKU DS HDBEDCJCU MFT GJJC EJSBFCJCUAY WNUMISFWC KSDB TJS = NHJ, FCI;=0A= 3. UMJ UNBJ FCI KANLMU HYHAJT FT FEESDESNFUJ, TNCHJ AFTU THMJIVAJI = BFNCUJCFCHJ DK UMJ HDBEDCJCU TVGOJHUJI UD F=0A= TJS NHJ ANKJ ANBNU, FU AJFTU VCUNA UMJ HDBEDCJCU THMJIVAJI BFNCUJCFCHJ = MFT GJJC TVEJSTJIJI GY FCDUMJS THMJIVAJI=0A= BFNCUJCFCHJ DK JRVN FAJCU WDSP THDEJ FCI IJUFNA, FCI;=0A= 4. UMJ HVSSJCU TUFUVT DK HDBEANFCHJ WNUM BFNCUJCFCHJ ESDLSFBBJ TVHM UMFU = HDBEANFCHJ WNUM UMJ FEESD JI FNSHSFKU=0A= BFNCUJCFCHJ ESDLSFBBJ HFC GJ JTUFGANTMJI, FU AJFTU VCUNA UMJ FNSHSFKU DS = HDBEDCJCU THMJIVAJI BFNCUJCFCHJ MFT=0A= GJJC TVEJSTJIJI GY DUMJS THMJIVAJI BFNCUJCFCHJ DK JRVN FAJCU WDSP THDEJ = FCI IJUFNA, FCI;=0A= 5. UMJ HVSSJCU TUFUVT DK FNSWDSUMNCJTT INSJHUN JT FEEANHFGAJ UD UMJ = FNSHSFKU FCI HDBEDCJCUT, FU AJFTU 12 BDCUMT FKUJS=0A= UMJ FNSHSFKU DS HDBEDCJCU MFT GJJC EJSBFCJCUAY WNUMISFWC KSDB TJS NHJ, = FCI;=0A= 6. IJUFNAT DK HVSSJCU BDINKNHFUNDCT FCI SJEFNST UD UMJ FNSHSFKU, = JCLNCJ(T), ESDEJAAJS(T) FCI FCY DUMJS HDBEDCJCU NUFA=0A= UD KANLMU TFKJUY, FU AJFTU 12 BDCUMT FKUJS UMJY MF J GJJC EJSBFCJCUAY = WNUMISFWC KSDB TJS NHJ.=0A= 7.AC DEJSFUDS TMFAA JCTVSJ UMFU UMJ FNSHSFKU UJHMCNHFA ADL NT SJUFNCJI = KDS 36 BDCUMT FKUJS UMJ IFUJ DK UMJ AFTU JCUSY.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[C M.A.305 (d)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.4]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ J NIJCHJ DK SJHDSIT/TUFUVT-ANTU = HDCUFNCNCL UMJ HVSSJCU=0A= 1. TUFUVT DK FNSWDSUMNCJTT INSJHUN JT FCI BJFTVSJT BFCIFUJI GY UMJ = HDBEJUJCU FVUMDSNUY=0A= NC NBBJINFUJ SJFHUNDC UD F TFKJUY ESDGAJB;=0A= 2. TUFUVT DK BDINKNHFUNDCT FCI SJEFNST;=0A= 3. TUFUVT DK HDBEANFCHJ WNUM BFNCUJCFCHJ ESDLSFBBJ;=0A= 4. TUFUVT DK TJS NHJ ANKJ ANBNUJI HDBEDCJCUT;=0A= 5. BFTT FCI GFAFCHJ SJEDSU;=0A= 6. ANTU DK IJKJSSJI BFNCUJCFCHJ.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[C M.A.305 (e)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.10]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ F SJANFGNANUY ESDLSFB JTUFGANTMJI = NC DSIJS UD =0A= 1. NIJCUNKNHFUNDC DK UMJ HDBEDCJCU, FCI;=0A= 2. UMJ UYEJ, TJSNFA CVBGJS FCI SJLNTUSFUNDC DK UMJ FNSHSFKU UD WMNHM UMJ = EFSUNHVAFS HDBEDCJCU MFT GJJC KNUUJI, FADCL=0A= WNUM UMJ SJKJSJCHJ UD UMJ NCTUFAAFUNDC FCI SJBD FA DK UMJ HDBEDCJCU, FCI;=0A= 3. UMJ EFSUNHVAFS HDBEDCJCU FHHVBVAFUJI UDUFA KANLMU UNBJ FCI/DS KANLMU = HYHAJT FCI/DS AFCINCLT FCI/DS HFAJCIFS UNBJ,=0A= FT FEESDESNFUJ.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[C M.A.305 (f)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.3]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[WMD NT UMJ SJTEDCTNGAJ EJSTDC SJTEDCTNGAJ = KDS UMJ BFCFLJBJCU FCI HDCUSDA DK UMJ SJHDSIT FCI ESJTJCU UMJ SJHDSIT UD = UMJ HDBEJUJCU FVUMDSNUY VEDC SJRVJTU.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[C M.A.306 (a)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.1]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ FC TJHM LDL SYTUJB JTUFGANTMJI = HDCUFNCNCL UMJ KDAADWNCL NCKDSBFUNDC KDS JFHM FNSHSFKU:=0A= 1. NCKDSBFUNDC FGDVU JFHM KANLMU, CJHJTTFSY UD JCTVSJ HDCUNCVJI KANLMU = TFKJUY, FCI;=0A= 2. UMJ HVSSJCU FNSHSFKU HJSUNKNHFUJ DK SJAJFTJ UD TJS NHJ, FCI;=0A= 3. UMJ HVSSJCU BFNCUJCFCHJ TUFUJBJCU LN NCL UMJ FNSHSFKU BFNCUJCFCHJ = TUFUVT DK WMFU THMJIVAJI FCI DVU DK EMFTJ=0A= BFNCUJCFCHJ NT CJXU IVJ JXHJEU UMFU UMJ HDBEJUJCU FVUMDSNUY BFY FLSJJ UD = UMJ BFNCUJCFCHJ TUFUJBJCU GJNCL PJEU=0A= JATJWMJSJ, FCI;=0A= 4. FAA DVUTUFCINCL IJKJSSJI IJKJHUT SJHUNKNHFUNDCT UMFU FKKJHU UMJ = DEJSFUNDC DK UMJ FNSHSFKU, FCI;=0A= 5. FCY CJHJTTFSY LVNIFCHJ NCTUSVHUNDCT DC BFNCUJCFCHJ TVEEDSU = FSSFCLJBJCUT.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[C M.A.306 (b)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.1]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJ FHUVFA TJHM LDL SYTUJB FEESD = JI?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[C M.A.306 (c)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.1]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ J NIJCHJ UMFU UMJ DEJSFUDS = JCTVSJT UMFU UMJ FNSHSFKU UJHMCNHFA ADL NT SJUFNCJI KDS 36 BDCUM FKUJS = UMJ IFUJ DK UMJ AFTU JCUSY.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[C M.A.307 (a)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.3]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ J NIJCHJ UMFU UMJ DWCJS DS = DEJSFUDS JCTVSJT WMJC FC FNSHSFKU NT EJSBFCJCUAY USFCTKJSSJI KSDB DCJ = DWCJS DS DEJSFUDS UD FCDUMJS, UMFU UMJ HDCUNCVNCL FNSWDSUMNCJTT SJHDSIT = FCI DEJSFUDS'T UJHMCNHFA ADL FSJ=0A= FATD USFCTKJSSJI.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[C M.A.307 (b)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.3]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DDJT UMJ DWCJS/DEJSFUDS JCTVSJ, WMJC MJ = HDCUSFHUT UMJ HDCUNCVNCL FNSWDSUMNCJTT BFCFLJBJCU UFTPT UD F HDCUNCVNCL = FNSWDSUMNCJTT BFCFLJBJCU DSLFCNTFUNDC, UMFU FAA SJRVNSJI HDCUNCVNCL = FNSWDSUMNCJTT SJHDSIT FSJ USFCTKJSSJI UD UMJ DSLFCNTFUNDC FCI UMJ UNBJ = EJSNDIT ESJTHSNGJI KDS UMJ SJUJCUNDC DK SJHDSIT TMFAA HDCUNCVJ UD FEEAY = UD UMJ CJW DWCJS/DEJSFUDS DS HDCUNCVNCL FNSWDSUMNCJTT BFCFLJBJCU = DSLFCNTFUNDC.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[D M.A.401]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.2]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ J NIJCHJ UMFU UMJ EJSTDC DS = DSLFCNTFUNDC BFNCUFNCNCL FC FNSHSFKU MF J FHHJTT UD FCI VTJ DCAY = FEEANHFGAJ HVSSJCU BFNCUJCFCHJ=0A= IFUF NC UMJ EJSKDSBFCHJ DK BFNCUJCFCHJ NCHAVINCL BDINKNHFUNDCT FCI = SJEFNST TVHM FT :=0A= FCY FEEANHFGAJ SJRVNSJBJCU, ESDHJIVSJ, TUFCIFSI DS NCKDSBFUNDC NTTVJI GY = UMJ HDBEJUJCU FVUMDSNUY, FCY FEEANHFGAJ FNSWDSUMNCJTT INSJHUN J, = FEEANHFGAJ NCTUSVHUNDCT KDS HDCUNCVNCL FNSWDSUMNCJTT, NTTVJI GY UYEJ = HJSUNKNHFUJ MDAIJST, TVEEAJBJCUFSY UYEJ HJSUNKNHFUJ MDAIJST FCI FCY = DUMJS DSLFCNTFUNDC UMFU EVGANTMJT TVHM IFUF NC FHHDSIFCHJ WNUM PFSU 21, = FCY FEEANHFGAJ IFUF NTTVJI NC FHHDSIFCHJ WNUM 145.A.45(I). =0A= TMJ EJSTDC DS DSLFCNTFUNDC BFNCUFNCNCL FC FNSHSFKU TMFAA JCTVSJ UMFU FAA = FEEANHFGAJ BFNCUJCFCHJ IFUF NT HVSSJCU FCI SJFINAY F FNAFGAJ KDS VTJ = WMJC SJRVNSJI. TMJ EJSTDC DS DSLFCNTFUNDC TMFAA JTUFGANTM F WDSP HFSI DS = WDSPTMJJU TYTUJB UD GJ VTJI FCI TMFAA JNUMJS USFCTHSNGJ FHHVSFUJAY UMJ = BFNCUJCFCHJ IFUF DCUD TVHM WDSP HFSIT DS WDSPTMJJUT DS BFPJ ESJHNTJ = SJKJSJCHJ UD UMJ EFSUNHVAFS BFNCUJCFCHJ UFTP DS UFTPT HDCUFNCJI NC TVHM = BFNCUJCFCHJ IFUF.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[D M.A.402 (a)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.2]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ J NIJBHJ UMFU FAA BFNCUJCFCHJ FSJ = EJSKDSBJI GY RVFANKNJI EJSTDCCJA, KDAADWNCL UMJ BJUMDIT, UJHMCNRVJT, = TUFCIFSIT FCI NCTUSVHUNDCT TEJHNKNJI GY UMJ HDBEJUJCU FVUMDSNUY, TC = MDAIJST, STC MDAIJST FCI FCY DUMJS DSLFCNTFUNDC UMFU EVGANTMJT TVHM IFUF = NC FHHDSIFCHJ WNUM PFSU 21.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.701]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[0.1]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DDJT UMJ OSLFCNTFUNDC/OEJSFUDS MDAI FC = FANI EASA AEESD FA CJSUNKNHFUJ?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.703 (b)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[0.1]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DDJT UMJ OSLFCNTFUNDC/OEJSFUDS MDAI FC = FANI EASA AOC?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.704 (b)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[0.1]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJ HDCUNCVNCL FNSWDSUMNCJTT BFCFLJBJCU = JXEDTNUNDC FCI NUT FBJCIBJCUT FEESD JI GY UMJ HDBEJUJCU=0A= FVUMDSNUY?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.705]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[0.2]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DDJT UMJ HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDC ESD NIJ TVNUFGAJ DKKNHJ FHHDBBDIFUNDC FU = FEESDESNFUJ ADHFUNDCT KDS UMJ EJSTDCCJA TEJHNKNJI NC UMJ HDCUNCVNCL = FNSWDSUMNCJTT BFCFLJBJCU JXEDTNUNDC "MFCEDWJS = RJHVSHJT"?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.706 (a)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[0.3]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DDJT UMJ FHHDVCUFGAJ BFCFLJS MF J = HDSEDSFUJ FVUMDSNUY KDS JCTVSNCL UMFU FAA HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU FHUN NUNJT HFC GJ KNCFCHJI FCI HFSSNJI DVU UD UMJ TUFCIFSI = SJRVNSJI KDS UMJ NTTVJ DK FC FNS DEJSFUDS'T = HJSUNKNHFUJ.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.706 (c)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[0.3]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ F EJSTDC DS LSDVE DK EJSTDCT = CDBNCFUJI WNUM UMJ SJTEDCTNGNANUY DK JCTVSNCL UMFU UMJ DSLFCNTFUNDC NT = FAWFYT NC HDBEANFCHJ WNUM UMJ HDCUNCVNCL FNSWDSUMNCJTT BFCFLJBJCU?=0A= NDUJ: SVHM EJSTDC(T) TMFAA GJ VAUNBFUJAY SJTEDCTNGAJ UD UMJ FHHDVCUFGAJ = BFCFLJS.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.706 (d)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[0.3]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ F CDBNCFUJI EDTU MDAIJS = IJTNLCFUJI WMD NT SJTEDCTNGAJ KDS UMJ BFCFLJBJCU FCI TVEJS NTNDC DK = HDCUNCVNCL FNSWDSUMNCJTT FHUN NUNJT?=0A= NDUJ : TMJ DSLFCNTFUNDC TMFAA MF J TVKKNHNJCU FEESDESNFUJAY RVFANKNJI = TUFKK KDS UMJ JXEJHUJI WDSP.J.L. DJEVUY FCI TJHMCNHFA CDDSINCFUDS'T.=0A= NDUJ : TMNT CDBNCFUJI EDTU MDAIJS TMFAA CDU GJ JBEADYJI GY F PFSU-145 = FEESD JI DSLFCNTFUNDC VCIJS HDCUSFHU UD UMJ DEJSFUDS, VCAJTT = TEJHNKNHFAAY FLSJJI GY UMJ HDBEJUJCU FVUMDSNUY.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.706 (g)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[0.3]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DDJT UMJ CDBNCFUJI EDTU MDAIJS FCI MNT = TUFKK GJ FGAJ UD TMDW SJAJ FCU PCDWAJILJ, GFHPLSDVCI FCI FEESDESNFUJ = JXEJSNJCHJ SJAFUJI UD FNSHSFKU HDCUNCVNCL FNSWDSUMNCJTT.=0A= NDUJ : TMJ RVFANKNHFUNDC DK FAA EJSTDCCJA NC DA JI NC HDCUNCVNCL = FNSWDSUMNCJTT BFCFLJBJCU TMFAA GJ SJHDSIJI.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.707 (a)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[0.3]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DDJT UMJ HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDC MF J FEESDESNFUJ FNSWDSUMNCJTT SJ NJW TUFKK NC = DSIJS UD NTTVJ FNSWDSUMNCJTT SJ NJW HJSUNKNHFUJT DS SJHDBBJCIFUNDCT?=0A= TMJTJ TUFKK TMFAA MF J FHRVNSJI FU AJFTU KN J YJFST JXEJSNJCHJ NC = HDCUNCVNCL FNSWDSUMNCJTT, FCI FC FEESDESNFUJ PFSU-66 ANHJCHJ DS FC = FJSDCFVUNHFA IJLSJJ DS JRVN FAJCU, FCI KDSBFA FJSDCFVUNHFA BFNCUJCFCHJ = USFNCNCL, FCI F EDTNUNDC WNUMNC UMJ FEESD JI DSLFCNTFUNDC WNUM = FEESDESNFUJ SJTEDCTNGNANUNJT.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.707 (d)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[0.3]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJ FNSWDSUMNCJTT SJ NJW TUFKK = NIJCUNKNJI FCI ANTUJI NC UMJ HDCUNCVNCL FNSWDSUMNCJTT BFCFLJBJCU=0A= JXEDTNUNDC UDLJUMJS WNUM UMJNS FNSWDSUMNCJTT SJ NJW FVUMDSNTFUNDC = SJKJSJCHJ?=0A= NDUJ : TMJ DSLFCNTFUNDC TMFAA BFNCUFNC F SJHDSI DK FAA FNSWDSUMNCJTT SJ = NJW TUFKK, WMNHM TMFAA NCHAVIJ IJUFNAT DK FCY FEESDESNFUJ RVFANKNHFUNDC = MJAI UDLJUMJS WNUM F TVBBFSY DK SJAJ FCU HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU JXEJSNJCHJ FCI USFNCNCL FCI F HDEY DK UMJ FVUMDSNTFUNDC. TMNT = SJHDSI TMFAA GJ SJUFNCJI VCUNA UWD YJFST FKUJS UMJ FNSWDSUMNCJTT SJ NJW = TUFKK MF J AJKU UMJ DSLFCNTFUNDC.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.708 (a)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DDJT UMJ HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDC IJ JADE FCI HDCUSDA F BFNCUJCFCHJ ESDLSFBBJ KDS = UMJ FNSHSFKU BFCFLJI NCHAVINCL FCY FEEANHFGAJ SJANFGNANUY ESDLSFBBJ?=0A= IT UMJ UMJ FNSHSFKU BFNCUJCFCHJ ESDLSFBBJ FCI NUT FBJCIBJCUT ESJTJCUJI = UD UMJ HDBEJUJCU FVUMDSNUY KDS FEESD FA?=0A= IT UMJSJ J NIJCHJ UMFU FAA BFNCUJCFCHJ NT HFSSNJI DVU NC FHHDSIFCHJ WNUM = UMJ FEESD JI BFNCUJCFCHJ ESDLSFBBJ?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.708 (b).3]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.6]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[HDW IDJT UMJ HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDC BFCFLJ UMJ FEESD FA DK BDINKNHFUNDC FCI SJEFNST?=0A= NDUJ :NDC-MFCIFUDSY FCI MFODS CMFCLJ (MDINKNHFUNDC)]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.708 (b).4]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.2]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[HDW IDJT UMJ HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDC JCTVSJ UMFU FAA BFNCUJCFCHJ NT HFSSNJI DVU NC = FHHDSIFCHJ WNUM UMJ FEESD JI BFNCUJCFCHJ ESDLSFBBJ?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.708 (b).5]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.4]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[HDW IDJT UMJ HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDC JCTVSJ UMFU FAA FEEANHFGAJ FNSWDSUMNCJTT INSJHUN = JT FCI DEJSFUNDCFA INSJHUN JT WNUM F HDCUNCVNCL FNSWDSUMNCJTT NBEFHU, = FSJ FEEANJI?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.708 (b).6]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.8]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[HDW IDJT UMJ HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDC JCTVSJ UMFU FAA IJKJHUT INTHD JSJI IVSNCL = THMJIVAJI BFNCUJCFCHJ DS SJEDSUJI FSJ HDSSJHUJI GY FC FEESDESNFUJAY = FEESD JI BFNCUJCFCHJ DSLFCNTFUNDC?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.708 (b).8]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.2]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[HDW IDJT UMJ HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDC HDDSINCFUJ THMJIVAJI BFNCUJCFCHJ, UMJ = FEEANHFUNDC DK FNSWDSUMNCJTT INSJHUN JT, UMJ SJEAFHJBJCU DK TJS NHJ ANKJ = ANBNUJI EFSUT, FCI HDBEDCJCU NCTEJHUNDC UD JCTVSJ UMJ WDSP NT HFSSNJI = DVU ESDEJSAY?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.708 (b).9]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.3]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[HDW IDJT UMJ HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDC BFCFLJ FCI FSHMN J FAA HDCUNCVNCL FNSWDSUMNCJTT = SJHDSIT FCI/DS DEJSFUDS'T UJHMCNHFA ADL?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.708 (b).10]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.12]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[HDW IDJT UMJ HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDC JCTVSJ UMJ BFTT FCI GFAFCHJ TUFUJBJCU SJKAJHUT = UMJ HVSSJCU TUFUVT DK UMJ FNSHSFKU?=0A= NDUJ : WJNLMNCL EJSNDIT; WJNLMNCL TUFCIFSIT; WJNLMU FCI GFAFCHJ = SJEDSU.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.708 (c).1]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[3]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[HFT UMJ DEJSFUDS JTUFGANTM F WSNUUJC = BFNCUJCFCHJ HDCUSFHU GJUWJJC UMJ DEJSFUDS FCI F PFSU-145 FEESD JI = DSLFCNTFUNDC JCTVSNCL UMFU FAA BFNCUJCFCHJ NT VAUNBFUJAY HFSSNJI DVU GY = F PFSU-145 FEESD JI BFNCUJCFCHJ DSLFCNTFUNDC?=0A= NDUJ : TMJ FNSHSFKU GFTJ, THMJIVAJI ANCJ BFNCUJCFCHJ FCI JCLNCJ = BFNCUJCFCHJ HDCUSFHUT, UDLJUMJS WNUM FAA FBJCIBJCUT, TMFAA GJ FEESD JI = GY UMJ HDBEJUJCU FVUMDSNUY.=0A= HDWJ JS, NC UMJ HFTJ DK FC FNSHSFKU SJRVNSNCL VCTHMJIVAJI ANCJ = BFNCUJCFCHJ, HDBEDCJCU BFNCUJCFCHJ, NCHAVINCL JCLNCJ BFNCUJCFCHJ UMJ = HDCUSFHU BFY GJ NC UMJ KDSB DK NCIN NIVFA WDSP DSIJST FIISJTTJI UD UMJ = PFSU-145 BFNCUJCFCHJ DSLFCNTFUNDC.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.709]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.2]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DDJT UMJ HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDC MDAI FCI VTJ FEEANHFGAJ HVSSJCU BFNCUJCFCHJ IFUF = NC UMJ EJSKDSBFCHJ DK HDCUNCVNCL FNSWDSUMNCJTT UFTPT?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.710 (a)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[4]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DDJT UMJ HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDC TFUNTKY UMJ SJRVNSJBJCU KDS FC FNSWDSUMNCJTT SJ = NJW DK FC FNSHSFKU?=0A= NDUJ : A KVAA IDHVBJCUJI SJ NJW DK UMJ FNSHSFKU SJHDSIT TMFAA GJ HFSSNJI = DVU GY UMJ FEESD JI HDCUNCVNCL FNSWDSUMNCJTT BFCFLJBJCU DSLFCNTFUNDC NC = DSIJS UD GJ TFUNTKNJI UMFU UMJ FNSKSFBJ, JCLNCJ FCI ESDEJAAJS KAYNCL = MDVST FCI FTTDHNFUJI KANLMU HYHAJT MF J GJJC ESDEJSAY SJHDSIJI, FCI UMJ = KANLMU BFCVFA NT FEEANHFGAJ UD UMJ FNSHSFKU HDCKNLVSFUNDC FCI SJKAJHUT = UMJ AFUJTU SJ NTNDC TUFUVT, FCI UMFU FAA UMJ BFNCUJCFCHJ IVJ DC UMJ = FNSHSFKU FHHDSINCL UD UMJ FEESD JI BFNCUJCFCHJ ESDLSFBBJ MFT GJJC = HFSSNJI DVU, FCI UMFU FAA PCDWC IJKJHUT MF J GJJC HDSSJHUJI DS, WMJC = FEEANHFGAJ, HFSSNJI KDSWFSI NC F HDCUSDAAJI BFCCJS, FCI UMFU FAA = FEEANHFGAJ FNSWDSUMNCJTT INSJHUN JT MF J GJJC FEEANJI FCI ESDEJSAY = SJLNTUJSJI, FCI UMFU FAA BDINKNHFUNDCT FCI SJEFNST FEEANJI UD UMJ = FNSHSFKU MF J GJJC SJLNTUJSJI FCI FSJ FEESD JI FHHDSINCL UD PFSU-21,FCI = UMFU FAA TJS NHJ ANKJ ANBNUJI HDBEDCJCUT NCTUFAAJI DC UMJ FNSHSFKU FSJ = ESDEJSAY NIJCUNKNJI, SJLNTUJSJI FCI MF J CDU JXHJJIJI UMJNS FEESD JI TJS = NHJ ANKJ ANBNU, FCI UMFU FAA BFNCUJCFCHJ MFT GJJC SJAJFTJI NC FHHDSIFCHJ = WNUM UMNT PFSU, FCI UMFU UMJ HVSSJCU BFTT FCI GFAFCHJ TUFUJBJCU=0A= SJKAJHUT UMJ HDCKNLVSFUNDC DK UMJ FNSHSFKU FCI NT FANI, FCI UMFU UMJ = FNSHSFKU HDBEANJT WNUM UMJ AFUJTU SJ NTNDC DK=0A= NUT UYEJ IJTNLC FEESD JI GY UMJ ALJCHY.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.710 (b)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[4]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DNI UMJ HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDC'T FNSWDSUMNCJTT SJ NJW TUFKK EJSKDSB F EMYTNHFA = TVS JY DK UMJ FNSHSFKU JCTVSNCL FAA SJRVNSJI BFSPNCLT FCI EAFHFSIT FSJ = ESDEJSAY NCTUFAAJI, FCI UMJ FNSHSFKU HDBEANJT WNUM NUT FEESD JI KANLMU = BFCVFA, FCI UMJ FNSHSFKU HDCKNLVSFUNDC HDBEANJT WNUM UMJ FEESD JI = IDHVBJCUFUNDC, FCI CD J NIJCU IJKJHU HFC GJ KDVCI UMFU MFT CDU GJJC = FIISJTTJI, FCI CD NCHDCTNTUJCHNJT HFC GJ KDVCI GJUWJJC UMJ FNSHSFKU FCI = UMJ SJ NJW DK SJHDSIT.=0A= NDUJ : FDS UMNT TVS JY, FNSWDSUMNCJTT SJ NJW TUFKK CDU FEESDESNFUJAY = RVFANKNJI UD PFSU-66 TMFAA GJ FTTNTUJI GY TVHM RVFANKNJI = EJSTDCCJA.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.710 (d)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[4]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DNI UMJ HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDC TJCI F HDEY DK FCY FNSWDSUMNCJTT SJ NJW = HJSUNKNHFUJ NTTVJI DS JXUJCIJI KDS FC FNSHSFKU UD UMJ FOCA WNUMNC 10 = IFYT FKUJS UMJ FNHSFKU MFT GJJC SJ NJI?=0A= NDUJ : TMJ FNSWDSUMNCJTT SJ NJW HFC GJ FCUNHNEFUJI GY F BFXNBVB EJSNDI = DK 90 IFYT WNUMDVU ADTT DK HDCUNCVNUY DK UMJ FNSWDSUMNCJTT SJ NJW = EFUUJSC, UD FAADW UMJ EMYTNHFA SJ NJW UD UFPJ EAFHJ IVSNCL F BFNCUJCFCHJ = HMJHP.=0A= NDUJ : AC FNSWDSUMNCJTT SJ NJW HJSUNKNHFUJ (EASA FDSB 15G) DS F = SJHDBBJCIFUNDC NT NTTVJI GY FEESDESNFUJAY=0A= FVUMDSNTJI FNSWDSUMNCJTT SJ NJW TUFKK DC GJMFAK DK UMJ FEESD JI = HDCUNCVNCL FNSWDSUMNCJTT BFCFLJBJCU=0A= DSLFCNTFUNDC WMJC TFUNTKNJI UMFU UMJ FNSWDSUMNCJTT SJ NJW MFT GJJC = ESDEJSAY HFSSNJI DVU.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.710 (g)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[4]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DNI UMJ HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDC NCKDSBJ UMJ HDBEJUJCU FVUMDSNUY, NK UMJ DVUHDBJ = DK UMJ FNSWDSUMNCJTT SJ NJW GJ NCHDCHAVTN J?=0A= NDUJ : ANSWDSUMNCJTT SJ NJW UFTPT TMFAA CDU GJ = TVG-HDCUSFHUJI.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.711 (a).1]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[4]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DDJT UMJ HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDC BFCFLJ UMJ HDCUNCVNCL FNSWDSUMNCJTT DK = CDC-HDBBJSHNFA FNS USFCTEDSU FNSHSFKU FT ANTUJI DC UMJ FEESD FA = HJSUNKNHFUJ?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.711 (a).2]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[4]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DDJT UMJ HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDC BFCFLJ UMJ HDCUNCVNCL FNSWDSUMNCJTT DK = CDC-HDBBJSHNFA FNS USFCTEDSU FNSHSFKU FT ANTUJI DC NUT FNS DEJSFUDS = HJSUNKNHFUJ?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.711 (a).3]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[4]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DDJT UMJ HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDC FSSFCLJ UD HFSSY DVU FCY UFTP DK HDCUNCVNCL = FNSWDSUMNCJTT WNUMNC UMJ ANBNUFUNDC DK NUT FEESD FA WNUM FCDUMJS = DSLFCNTFUNDC UMFU NT WDSPNCL VCIJS NUT RVFANUY TYTUJB?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.711 (b)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[4]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DDJT UMJ HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDC NTTVJ FC FNSWDSUMNCJTT SJ NJW HJSUNKNHFUJ, DS = BFPJ F SJHDBBJCIFUNDC KDS UMJ FNSWDSUMNCJTT SJ NJW UD F MJBGJS SUFUJ DK = RJLNTUSY?=0A= NDUJ : TMJ HDCUNCVNCL FNSWDSUMNCJTT BFCFLJBJCU DSLFCNTFUNDC TMFAA GJ = SJLNTUJSJI NC DCJ DK UMJ MJBGJS SUFUJT UD GJ LSFCUJI UMJ ESN = NAJLJT.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.712 (a)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[2]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DNI UMJ HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDC JTUFGANTM F RVFANUY TYTUJB FCI IJTNLCFUJ F = RVFANUY BFCFLJS UD BDCNUDS HDBEANFCHJ WNUM UMJ RVFANUY TYTUJB, FCI UMJ = FIJRVFHY DK, ESDHJIVSJT SJRVNSJI UD JCTVSJ FNSWDSUMY FNSHSFKU.=0A= NDUJ : CDBEANFCHJ BDCNUDSNCL TMFAA NCHAVIJ F KJJIGFHP TYTUJB UD UMJ = FHHDVCUFGAJ BFCFLJS UD JCTVSJ HDSSJHUN J FHUNDC FT = CJHJTTFSY.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.712 (b)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[2.1]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DDJT UMJ RVFANUY TYTUJB BDCNUDS UMJ = SVGEFSU G FHUN NUNJT NCHAVINCL BDCNUDSNCL UMFU FAA SVGEFSU G FHUN NUNJT = FSJ GJNCL EJSKDSBJI NC FHHDSIFCHJ WNUM UMJ FEESD JI ESDHJIVSJT FCI UMFU = FAA HDCUSFHUJI BFNCUJCFCHJ NT HFSSNJI DVU NC FHHDSIFCHJ WNUM UMJ = HDCUSFHU, FCI UMJ HDCUNCVJI HDBEANFCHJ WNUM UMJ SJRVNSJBJCUT DK UMNT = PFSU.=0A= NDUJ : TMJ SJHDSIT DK UMJTJ FHUN NUNJT TMFAA GJ TUDSJI KDS FU AJFTU UWD = YJFST.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.712 (d)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[2.1]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJSJ J NIJCHJ UMFU UMJ RVFANUY TYTUJB = NT FC NCUJLSFUJI EFSU DK UMJ DEJSFUDS'T RVFANUY TYTUJB?=0A= NDUJ : WMJSJ UMJ FEESD JI HDCUNCVNCL FNSWDSUMNCJTT BFCFLJBJCU = DSLFCNTFUNDC NT FEESD JI NC FHHDSIFCHJ WNUM FCDUMJS PFSU, UMJ RVFANUY = TYTUJB BFY GJ HDBGNCJI WNUM UMFU SJRVNSJI GY UMJ DUMJS PFSU.=0A= NDUJ : IC UMJ HFTJ DK F TBFAA SVGEFSU G DSLFCNTFUNDC UMFU IDJT CDU MF J = UMJ ESN NAJLJT LSFCUJI, UMJ=0A= RVFANUY TYTUJB HFC GJ SJEAFHJI GY EJSKDSBNCL DSLFCNTFUNDCFA SJ NJWT DC F = SJLVAFS GFTNT.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.713]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[0.5]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DDJT UMJ HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDC JCTVSJ UD CDUNKY FOCA DK FCY ESDEDTFA UD HFSSY = DVU FCY HMFCLJT, GJKDSJ HMFCLJT UFPJ EAFHJ TVHM FT UMJ CFBJ FCI = ADHFUNDC DK UMJ DSLFCNTFUNDC, FIINUNDCFA ADHFUNDCT DK UMJ DSLFCNTFUNDC, = UMJ FHHDVCUFGAJ BFCFLJS, FCY DK UMJ HDCUNCVNCL FNSWDSUMNCJTT BFCFLJBJCU = DSLFCNTFUNDC EJSTDCT, UMJ KFHNANUNJT, ESDHJIVSJT, WDSP THDEJ FCI TUFKK = UMFU HDVAI FKKJHU UMJ FEESD FA.=0A= NDUJ : IC UMJ HFTJ DK ESDEDTJI HMFCLJT NC EJSTDCCJA CDU PCDWC UD UMJ = BFCFLJBJCU GJKDSJMFCI, UMJTJ HMFCLJT TMFAA GJ CDUNKNJI FU UMJ JFSANJTU = DEEDSUVCNUY.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.714 (a)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.3]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[HDW IDJT UMJ HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDC SJHDSI FAA IJUFNAT DK WDSP HFSSNJI DVU.=0A= NDUJ : TMJ SJHDSIT TMFAA GJ TUDSJI NC F BFCCJS UMFU JCTVSJT ESDUJHUNDC = KSDB IFBFLJ, FAUJSFUNDC FCI UMJKU.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.714 (b)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.3]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DDJT UMJ HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDC SJUFNC F HDEY DK JFHM FNSWDSUMNCJTT SJ NJW = HJSUNKNHFUJ FCI SJHDBBJCIFUNDC NTTVJI, UDLJUMJS WNUM FAA TVEEDSUNCL = IDHVBJCUT.=0A= NDUJ : TMJ HDCUNCVNCL FNSWDSUMNCJTT BFCFLJBJCU DSLFCNTFUNDC TMFAA SJUFNC = F HDEY DK FAA SJHDSIT VCUNA UWD YJFST FKUJS UMJ FNSHSFKU MFT GJJC = EJSBFCJCUAY WNUMISFWC KSDB TJS NHJ.=0A= NDUJ : WMJSJ HDCUNCVNCL FNSWDSUMNCJTT BFCFLJBJCU DK FC FNSHSFKU NT = USFCTKJSSJI UD FCDUMJS DSLFCNTFUNDC DS EJSTDC, FAA SJUFNCJI SJHDSIT = TMFAA GJ USFCTKJSSJI UD UMJ TFNI DSLFCNTFUNDC DS EJSTDC. TMJ UNBJ = EJSNDIT ESJTHSNGJI KDS UMJ SJUJCUNDC DK SJHDSIT TMFAA HDCUNCVJ UD FEEAY = UD UMJ TFNI DSLFCNTFUNDC DS EJSTDC.=0A= NDUJ : WMJSJ F HDCUNCVNCL FNSWDSUMNCJTT BFCFLJBJCU DSLFCNTFUNDC = UJSBNCFUJT NUT DEJSFUNDC, FAA SJUFNCJI SJHDSIT TMFAA GJ USFCTKJSSJI UD = UMJ DWCJS DK UMJ FNSHSFKU.=0A= NDUJ : TMJ ESN NAJLJ DK M.A.711 FT ESJRVNTNUJ FSJ = SJRVNSJI.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[G M.A.714 (e)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.3]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[HDW IDJT UMJ HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDC JCTVSJ UMFU FAA HDBEVUJS MFSIWFSJ VTJI KDS = GFHPVE TMFAA GJ TUDSJI NC F INKKJSJCU ADHFUNDC KSDB UMFU HDCUFNCNCL UMJ = WDSPNCL IFUF NC FC JC NSDCBJCU UMFU JCTVSJT UMJY SJBFNC NC LDDI = HDCINUNDC?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[H M.A.803]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[1.11]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DDJT UMJ DEJSFUDST KANLMU HSJW DWC F = ANBNUJI ENADU DWCJS BFNCUJCFCHJ FVUMDSNTFUNDC?=0A= NDUJ : TMJ HJSUNKNHFUJ DK SJAJFTJ UD TJS NHJ BVTU GJ JCUJSJI NC UMJ = ADLGDDPT FCI HDCUFNC GFTNH IJUFNAT DK UMJ BFNCUJCFCHJ HFSSNJI DVU, UMJ = IFUJ TVHM BFNCUJCFCHJ WFT HDBEAJUJI FCI UMJ NIJCUNUY FCI ENADU ANHJCHJ = CVBGJS DK UMJ ENADU-DWCJS NTTVNCL TVHM F HJSUNKNHFUJ.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[I M.A.901 (a)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[4.6]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[NT UMJSJ FC FANI FNSWDSUMNCJTT SJ NJW = HJSUNKNHFUJ NTTVJI NC FHHDSIFCHJ WNUM AEEJCINX III (EASA FDSB 15F DS = 15G) DC HDBEAJUNDC DK F TFUNTKFHUDSY FNSWDSUMNCJTT SJ NJW?=0A= NDUJ : TMJ FNSWDSUMNCJTT SJ NJW HJSUNKNHFUJFCI NT FANI KDS DCJ YJFS.=0A= NDUJ : AC FNSHSFKU NC F HDCUSDAAJI JC NSDCBJCU NT FC FNSHSFKU = HDCUNCVDVTAY BFCFLJI GY FC M.A. SVGEFSU G FEESD JI HDCUNCVNCL = FNSWDSUMNCJTT BFCFLJBJCU DSLFCNTFUNDC, WMNHM MFT CDU HMFCLJI = DSLFCNTFUNDCT NC UMJ ESJ NDVT 12 BDCUMT, FCI WMNHM NT BFNCUFNCJI GY = FEESD JI BFNCUJCFCHJ DSLFCNTFUNDCT.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[I M.A.901 (d)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[4.5]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[IT UMJ FNSWDSUMNCJTT SJ NJW HJSUNKNHFUJ = NTTVJI GY UMJ HDBEJUJCU FVUMDSNUY?=0A= NDUJ : IK FC FNSHSFKU NT CDU WNUMNC F HDCUSDAAJI JC NSDCBJCU, DS BFCFLJI = GY FC M.A. SVGEFSU G FEESD JI HDCUNCVNCL=0A= FNSWDSUMNCJTT BFCFLJBJCU DSLFCNTFUNDC UMFU IDJT CDU MDAI UMJ ESN NAJLJ = UD HFSSY DVU FNSWDSUMNCJTT SJ NJWT, UMJ=0A= FNSWDSUMNCJTT SJ NJW HJSUNKNHFUJ TMFAA GJ NTTVJI GY UMJ HDBEJUJCU = FVUMDSNUY KDAADWNCL F TFUNTKFHUDSY FTTJTTBJCU GFTJI DC F SJHDBBJCIFUNDC = BFIJ GY FC FEESDESNFUJAY FEESD JI HDCUNCVNCL FNSWDSUMNCJTT BFCFLJBJCU = DSLFCNTFUNDC TJCU UDLJUMJS WNUM UMJ FEEANHFUNDC KSDB UMJ DWCJS DS = DEJSFUDS.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[I M.A.901 (e)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[4.5]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DD UMJ HNSHVBTUFCHJT TMDW UMJ JXNTUJCHJ DK = F EDUJCUNFA TFKJUY UMSJFU?=0A= NDUJ : IC UMNT HFTJ UMJ HDBEJUJCU FVUMDSNUY BFY IJHNIJ UD HFSSY DVU UMJ = FNSWDSUMNCJTT SJ NJW FCI NTTVJ UMJ FNSWDSUMNCJTT SJ NJW HJSUNKNHFUJ = NUTJAK. TMJ DWCJS DS DEJSFUDS TMFAA ESD NIJ UMJ HDBEJUJCU FVUMDSNUY WNUM:=0A= ? UMJ IDHVBJCUFUNDC SJRVNSJI GY UMJ HDBEJUJCU FVUMDSNUY,=0A= ? TVNUFGAJ FHHDBBDIFUNDC FU UMJ FEESDESNFUJ ADHFUNDC KDS NUT EJSTDCCJA, = FCI=0A= ? WMJC CJHJTTFSY UMJ TVEEDSU DK EJSTDCCJA FEESDESNFUJAY RVFANKNJI NC = FHHDSIFCHJ WNUM PFSU-66.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[I M.A.902]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[4.6]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DDJT UMJ DEJSFUDS MDAI FC FANI = FNSWDSUMNCJTT SJ NJW HJSUNKNHFUJ?]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[I M.A.903]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[4.4]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DDJT UMJ DEJSFUDS USFCTKJS FC FNSHSFKU = WNUMNC UMJ EU/EASA?=0A= NDUJ : TMJ FEEANHFCU TMFAA NCKDSB UMJ KDSBJS MJBGJS SUFUJ NC WMNHM = MJBGJS SUFUJ NU WNAA GJ SJLNTUJSJI, UMJC FEEAY UD UMJ CJW MJBGJS SUFUJ = KDS UMJ NTTVFCHJ DK F CJW FNSWDSUMNCJTT HJSUNKNHFUJ NC FHHDSIFCHJ WNUM = PFSU 21.=0A= TMJ KDSBJS FNSWDSUMNCJTT SJ NJW HJSUNKNHFUJ TMFAA SJBFNC FANI VCUNA NUT = JXENSY IFUJ.]]></questiontext1>=0A= </question>=0A= <question>=0A= <lawmark><![CDATA[EASA MG]]></lawmark>=0A= <articlemark><![CDATA[I M.A.904 (a)]]></articlemark>=0A= <expositionmark><![CDATA[CAME]]></expositionmark>=0A= <chaptermark><![CDATA[4]]></chaptermark>=0A= <topicmark><![CDATA[No specific topic]]></topicmark>=0A= <subjectmark><![CDATA[No specific subject]]></subjectmark>=0A= <questiontext1><![CDATA[DDJT UMJ DEJSFUDS NBEDSUNCL FC FNSHSFKU = DCUD F MJBGJS SUFUJ SJLNTUJS KSDB F UMNSI HDVCUSY?=0A= NDUJ : TMJ FEEANHFCU TMFAA:=0A= 1. FEEAY UD UMJ MJBGJS SUFUJ DK SJLNTUSY KDS UMJ NTTVFCHJ DK F CJW = FNSWDSUMNCJTT HJSUNKNHFUJ NC FHHDSIFCHJ WNUM PFSU-21; FCI=0A= 2. MF J FC FNSWDSUMNCJTT SJ NJW HFSSNJI DVU GY FC FEESDESNFUJAY FEESD JI = HDCUNCVNCL FNSWDSUMNCJTT BFCFLJBJCU=0A= DSLFCNTFUNDC; FCI=0A= 3. MF J FAA BFNCUJCFCHJ FT SJRVJTUJI GY UMJ HDCUNCVNCL FNSWDSUMNCJTT = BFCFLJBJCU DSLFCNTFUNDC HFSSNJI DVU.=0A= (G) WMJC TFUNTKNJI UMFU UMJ FNSHSFKU NT NC HDBEANFCHJ WNUM UMJ SJAJ FCU = SJRVNSJBJCUT, UMJ HDCUNCVNCL FNSWDSUMNCJTT=0A= BFCFLJBJCU DSLFCNTFUNDC TMFAA TJCI F IDHVBJCUJI SJHDBBJCIFUNDC KDS UMJ = NTTVFCHJ DK FC FNSWDSUMNCJTT SJ NJW=0A= HJSUNKNHFUJ UD UMJ MJBGJS SUFUJ DK SJLNTUSY. 28.11.2003 L 315/20 = OKKNHNFA JDVSCFA DK UMJ EVSDEJFC UCNDC EN=0A= (H) TMJ DWCJS TMFAA FAADW FHHJTT UD UMJ FNSHSFKU KDS NCTEJHUNDC GY UMJ = MJBGJS SUFUJ DK SJLNTUSY.=0A= (I) A CJW FNSWDSUMNCJTT HJSUNKNHFUJ WNAA GJ NTTVJI GY UMJ MJBGJS SUFUJ = DK SJLNTUSY WMJC NU NT TFUNTKNJI UMJ FNSHSFKU=0A= HDBEANJT WNUM UMJ ESJTHSNEUNDCT DK PFSU-21.=0A= (J) TMJ MJBGJS SUFUJ TMFAA FATD NTTVJ UMJ FNSWDSUMNCJTT SJ NJW = HJSUNKNHFUJ FANI CDSBFAAY KDS DCJ YJFS VCAJTT UMJ MJBGJS SUFUJ MFT = TFKJUY SJFTDC UD ANBNU UMJ FANINUY.]]></questiontext1>=0A= </question>=0A= </import-bean>=0A= ------=_NextPart_000_000A_01C83360.F934E750 Content-Type: text/xml; name="import.xml" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="import.xml" <?xml version=3D"1.0" encoding=3D"UTF-8"?>=0A= <mapping>=0A= <description>Castor generated mapping file for appointment metadata = import/export. This File must be backward compatible to the oas import = xml file.</description>=0A= <class = name=3D"de.heitec.empic.appointment.view.application.metadata.xmlimport.I= mportExportBean">=0A= <description>Mapping for class = de.heitec.empic.appointment.view.application.metadata.xmlimport.ImportExp= ortBean</description> =0A= <map-to xml=3D"import-bean"/>=0A= <field name=3D"laws" = type=3D"de.heitec.empic.appointment.model.vo.metadata.AppLawVO" = collection=3D"arraylist">=0A= <bind-xml name=3D"law" node=3D"element"/>=0A= </field>=0A= <field name=3D"questions" = type=3D"de.heitec.empic.appointment.model.vo.metadata.AppQuestionImportVO= " collection=3D"arraylist">=0A= <bind-xml name=3D"question" node=3D"element"/>=0A= </field>=0A= <field name=3D"expositions" = type=3D"de.heitec.empic.appointment.model.vo.metadata.AppExpositionVO" = collection=3D"arraylist">=0A= <bind-xml name=3D"exposition" node=3D"element"/>=0A= </field>=0A= <field name=3D"topics" = type=3D"de.heitec.empic.appointment.model.vo.metadata.AppTopicVO" = collection=3D"arraylist">=0A= <bind-xml name=3D"topic" node=3D"element"/>=0A= </field>=0A= </class> <class = name=3D"de.heitec.empic.appointment.model.vo.metadata.AppLawVO"> <description>Mapping for class = de.heitec.empic.appointment.model.vo.metadata.AppLawVO</description> <map-to xml=3D"law"/> <field name=3D"name" type=3D"java.lang.String"> <bind-xml name=3D"name" node=3D"element"/> </field> <field name=3D"versionInfo" type=3D"java.lang.String"> <bind-xml name=3D"version-info" node=3D"element"/> </field> <field name=3D"articles" = type=3D"de.heitec.empic.appointment.model.vo.metadata.AppArticleVO" = collection=3D"arraylist"> <bind-xml name=3D"article" node=3D"element"/> </field> <field name=3D"remark" type=3D"java.lang.String"> <bind-xml name=3D"remark" node=3D"element"></bind-xml> </field> <field name=3D"issueDate" type=3D"java.util.Date"> <bind-xml name=3D"issue-date" node=3D"element"/> </field> <field name=3D"importedId" type=3D"java.lang.Long"> <bind-xml name=3D"imported-id" node=3D"element"/> </field> </class> <class = name=3D"de.heitec.empic.appointment.model.vo.metadata.AppArticleVO"> <description>Mapping for class = de.heitec.empic.appointment.model.vo.metadata.AppArticleVO</description> <map-to xml=3D"article"></map-to> <field name=3D"markUnique" type=3D"java.lang.String"> <bind-xml name=3D"id" node=3D"attribute"/> </field> <field name=3D"subArticles" = type=3D"de.heitec.empic.appointment.model.vo.metadata.AppArticleVO" = collection=3D"arraylist"> <bind-xml name=3D"article" node=3D"element"/> </field> <field name=3D"nameL4" type=3D"java.lang.String"> <bind-xml name=3D"name-l4" node=3D"element"/> </field> <field name=3D"nameL3" type=3D"java.lang.String"> <bind-xml name=3D"name-l3" node=3D"element"/> </field> <field name=3D"nameL2" type=3D"java.lang.String"> <bind-xml name=3D"name-l2" node=3D"element"/> </field> <field name=3D"nameL1" type=3D"java.lang.String"> <bind-xml name=3D"name-l1" node=3D"element"/> </field> <field name=3D"textL4" type=3D"java.lang.String"> <bind-xml name=3D"text-l4" node=3D"element"/> </field> <field name=3D"textL3" type=3D"java.lang.String"> <bind-xml name=3D"text-l3" node=3D"element"/> </field> <field name=3D"mark" type=3D"java.lang.String"> <bind-xml name=3D"mark" node=3D"element"/> </field> <field name=3D"textL2" type=3D"java.lang.String"> <bind-xml name=3D"text-l2" node=3D"element"/> </field> <field name=3D"textL1" type=3D"java.lang.String"> <bind-xml name=3D"text-l1" node=3D"element"/> </field> <field name=3D"importedId" type=3D"java.lang.Long"> <bind-xml name=3D"imported-id" node=3D"element"/> </field> </class> <class = name=3D"de.heitec.empic.appointment.model.vo.metadata.AppExpositionVO"> <description>Mapping for class = de.heitec.empic.appointment.model.vo.metadata.AppExpositionVO</descriptio= n> <map-to xml=3D"exposition"/> <field name=3D"name" type=3D"java.lang.String"> <bind-xml name=3D"name-l1" node=3D"element"/> </field> <field name=3D"versionInfo" type=3D"java.lang.String"> <bind-xml name=3D"version-info" node=3D"element"/> </field> <field name=3D"chapters" = type=3D"de.heitec.empic.appointment.model.vo.metadata.AppChapterVO" = collection=3D"arraylist"> <bind-xml name=3D"chapter" node=3D"element"/> </field> <field name=3D"remark" type=3D"java.lang.String"> <bind-xml name=3D"remark" node=3D"element"></bind-xml> </field> <field name=3D"issueDate" type=3D"java.util.Date"> <bind-xml name=3D"issue-date" node=3D"element"/> </field> <field name=3D"importedId" type=3D"java.lang.Long"> <bind-xml name=3D"imported-id" node=3D"element"/> </field> </class> <class = name=3D"de.heitec.empic.appointment.model.vo.metadata.AppChapterVO"> <description>Mapping for class = de.heitec.empic.appointment.model.vo.metadata.AppChapterVO</description> <map-to xml=3D"chapter"></map-to> <field name=3D"markUnique" type=3D"java.lang.String"> <bind-xml name=3D"id" node=3D"attribute"/> </field> <field name=3D"subChapters" = type=3D"de.heitec.empic.appointment.model.vo.metadata.AppChapterVO" = collection=3D"arraylist"> <bind-xml name=3D"chapter" node=3D"element"/> </field> <field name=3D"nameL1" type=3D"java.lang.String"> <bind-xml name=3D"name-l1" node=3D"element"/> </field> <field name=3D"nameL4" type=3D"java.lang.String"> <bind-xml name=3D"name-l4" node=3D"element"/> </field> <field name=3D"nameL3" type=3D"java.lang.String"> <bind-xml name=3D"name-l3" node=3D"element"/> </field> <field name=3D"nameL2" type=3D"java.lang.String"> <bind-xml name=3D"name-l2" node=3D"element"/> </field> <field name=3D"mark" type=3D"java.lang.String"> <bind-xml name=3D"mark" node=3D"element"/> </field> <field name=3D"importedId" type=3D"java.lang.Long"> <bind-xml name=3D"imported-id" node=3D"element"/> </field> </class> <class = name=3D"de.heitec.empic.appointment.model.vo.metadata.AppTopicVO"> <description>Mapping for class = de.heitec.empic.appointment.model.vo.metadata.AppTopicVO</description> <map-to xml=3D"topic"/> <field name=3D"name" type=3D"java.lang.String"> <bind-xml name=3D"name-l1" node=3D"element"/> </field> <field name=3D"versionInfo" type=3D"java.lang.String"> <bind-xml name=3D"version-info" node=3D"element"/> </field> <field name=3D"subjects" = type=3D"de.heitec.empic.appointment.model.vo.metadata.AppSubjectVO" = collection=3D"arraylist"> <bind-xml name=3D"subject" node=3D"element"/> </field> <field name=3D"remark" type=3D"java.lang.String"> <bind-xml name=3D"remark" node=3D"element"></bind-xml> </field> <field name=3D"issueDate" type=3D"java.util.Date"> <bind-xml name=3D"issue-date" node=3D"element"/> </field> <field name=3D"importedId" type=3D"java.lang.Long"> <bind-xml name=3D"imported-id" node=3D"element"/> </field> </class> <class = name=3D"de.heitec.empic.appointment.model.vo.metadata.AppSubjectVO"> <description>Mapping for class = de.heitec.empic.appointment.model.vo.metadata.AppSubjectVO</description> <map-to xml=3D"subject"></map-to> <field name=3D"markUnique" type=3D"java.lang.String"> <bind-xml name=3D"id" node=3D"attribute"/> </field> <field name=3D"subSubjects" = type=3D"de.heitec.empic.appointment.model.vo.metadata.AppSubjectVO" = collection=3D"arraylist"> <bind-xml name=3D"subject" node=3D"element"/> </field> <field name=3D"nameL4" type=3D"java.lang.String"> <bind-xml name=3D"name-l4" node=3D"element"/> </field> <field name=3D"nameL3" type=3D"java.lang.String"> <bind-xml name=3D"name-l3" node=3D"element"/> </field> <field name=3D"nameL2" type=3D"java.lang.String"> <bind-xml name=3D"name-l2" node=3D"element"/> </field> <field name=3D"nameL1" type=3D"java.lang.String"> <bind-xml name=3D"name-l1" node=3D"element"/> </field> <field name=3D"mark" type=3D"java.lang.String"> <bind-xml name=3D"mark" node=3D"element"/> </field> <field name=3D"importedId" type=3D"java.lang.Long"> <bind-xml name=3D"imported-id" node=3D"element"/> </field> </class> <class = name=3D"de.heitec.empic.appointment.model.vo.metadata.AppQuestionImportVO= "> <description>Mapping for class = de.heitec.empic.appointment.model.vo.metadata.AppQuestionImportVO</descri= ption> <map-to xml=3D"question"/> <field name=3D"articleRef" type=3D"java.lang.String"> <bind-xml name=3D"article-ref" node=3D"attribute"/> </field> <field name=3D"chapterRef" type=3D"java.lang.String"> <bind-xml name=3D"chapter-ref" node=3D"attribute"/> </field> <field name=3D"subjectRef" type=3D"java.lang.String"> <bind-xml name=3D"subject-ref" node=3D"attribute"/> </field> =20 <field name=3D"lawmark" type=3D"java.lang.String"> <bind-xml name=3D"lawmark" node=3D"element"/> </field> <field name=3D"articlemark" type=3D"java.lang.String"> <bind-xml name=3D"articlemark" node=3D"element"/> </field> <field name=3D"expositionmark" type=3D"java.lang.String"> <bind-xml name=3D"expositionmark" node=3D"element"/> </field> <field name=3D"chaptermark" type=3D"java.lang.String"> <bind-xml name=3D"chaptermark" node=3D"element"/> </field> <field name=3D"topicmark" type=3D"java.lang.String"> <bind-xml name=3D"topicmark" node=3D"element"/> </field> <field name=3D"subjectmark" type=3D"java.lang.String"> <bind-xml name=3D"subjectmark" node=3D"element"/> </field> <field name=3D"questiontext4" type=3D"java.lang.String"> <bind-xml name=3D"questiontext4" node=3D"element"/> </field> <field name=3D"questiontext3" type=3D"java.lang.String"> <bind-xml name=3D"questiontext3" node=3D"element"/> </field> <field name=3D"questiontext2" type=3D"java.lang.String"> <bind-xml name=3D"questiontext2" node=3D"element"/> </field> <field name=3D"questiontext1" type=3D"java.lang.String"> <bind-xml name=3D"questiontext1" node=3D"element"/> </field> </class>=0A= </mapping>=0A= ------=_NextPart_000_000A_01C83360.F934E750 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] ------=_NextPart_000_000A_01C83360.F934E750-- From [email protected] Fri Nov 30 14:43:50 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3982 invoked from network); 30 Nov 2007 14:43:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Nov 2007 14:43:50 -0000 Received: (qmail 99412 invoked by uid 500); 30 Nov 2007 14:43:39 -0000 Delivered-To: [email protected] Received: (qmail 99101 invoked by uid 500); 30 Nov 2007 14:43:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99089 invoked by uid 99); 30 Nov 2007 14:43:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2007 06:43:38 -0800 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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO abtmx2.abbott.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2007 14:43:18 +0000 X-IronPort-AV: E=Sophos;i="4.23,234,1194242400"; d="scan'208";a="3556306" Received: from unknown (HELO abtapn561.northamerica.intra.abbott.com) ([161.129.204.104]) by abtmx2.abbott.com with ESMTP; 30 Nov 2007 08:36:43 -0600 To: [email protected] Subject: XML parsing based on locale MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.4 HF972 April 26, 2006 Message-ID: <[email protected]> From: Tze-John Tang <[email protected]> Date: Fri, 30 Nov 2007 08:42:26 -0600 X-MIMETrack: Serialize by Router on ABTAPN561/ESVR/ABBOTT(Release 6.5.4FP2|September 12, 2005) at 11/30/2007 08:43:06, Serialize complete at 11/30/2007 08:43:06 Content-Type: multipart/alternative; boundary="=_alternative 0050DF3D862573A3_=" X-Virus-Checked: Checked by ClamAV on apache.org --=_alternative 0050DF3D862573A3_= Content-Type: text/plain; charset="US-ASCII" I have tried to search for this, but have not had any luck. Can anyone tell me how I might be able to set it up so that when I validate or parse an XML document that I can do it based on a specific locale? This code is running on a box in the US locale, but I might get data from the german locale, where the decimal delimiter is different. How can I set the locale for the Validator or the SAX parser? I am using the JAXP api for validating the XML. Thanks for any assistance. -tj --=_alternative 0050DF3D862573A3_= Content-Type: text/html; charset="US-ASCII" <br><font size=2 face="sans-serif">I have tried to search for this, but have not had any luck. &nbsp;Can anyone tell me how I might be able to set it up so that when I validate or parse an XML document that I can do it based on a specific locale? &nbsp;This code is running on a box in the US locale, but I might get data from the german locale, where the decimal delimiter is different. &nbsp;How can I set the locale for the Validator or the SAX parser?</font> <br> <br><font size=2 face="sans-serif">I am using the JAXP api for validating the XML.</font> <br> <br><font size=2 face="sans-serif">Thanks for any assistance.<br> </font><font size=2 face="Arial"><br> <br> -tj<br> </font> --=_alternative 0050DF3D862573A3_=-- From [email protected] Fri Nov 30 14:48:25 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5728 invoked from network); 30 Nov 2007 14:48:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Nov 2007 14:48:25 -0000 Received: (qmail 6409 invoked by uid 500); 30 Nov 2007 14:48:13 -0000 Delivered-To: [email protected] Received: (qmail 6400 invoked by uid 500); 30 Nov 2007 14:48:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6389 invoked by uid 99); 30 Nov 2007 14:48:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2007 06:48:13 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e4.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2007 14:47:51 +0000 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [161.129.204.104]) by e4.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id lAUElrmV017335 for <[email protected]>; Fri, 30 Nov 2007 09:47:53 -0500 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [161.129.204.104]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id lAUElrR4136102 for <[email protected]>; Fri, 30 Nov 2007 09:47:53 -0500 Received: from d01av03.pok.ibm.com (loopback [161.129.204.104]) by d01av03.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id lAUElrv8014968 for <[email protected]>; Fri, 30 Nov 2007 09:47:53 -0500 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av03.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id lAUElqwI014951 for <[email protected]>; Fri, 30 Nov 2007 09:47:52 -0500 In-Reply-To: <[email protected]> Subject: Re: Xerces Unmarshaller bug removing single whitespace To: [email protected] X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Fri, 30 Nov 2007 09:47:47 -0500 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 11/30/2007 09:47:40 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Hi Thimo, There's no such thing as a "Xerces Unmarshaller" so have no idea what library you're referring to but it certainly doesn't come from this project. I doubt this is a problem with Xerces. I suspect the Unmarshaller classes you're using are the source of the odd behaviour possibly because it's not handling multiple calls to the SAX characters() callback [1] correctly. A ContentHandler written like: private StringBuffer buf; public void characters(char[] ch, int start, int length) throws SAXException { buf.append(new String(ch, start, length).trim()); } would cause whitespace to be dropped from seemingly random points in the document (like you're seeing). Thanks. [1] http://xerces.apache.org/xerces2-j/javadocs/api/org/xml/sax/ContentHandler.html#characters(char[],%20int,%20int) Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] "Thimo von Rauchhaupt" <[email protected]> wrote on 11/30/2007 08:54:56 AM: > Hello , > > When using Xerces (2.9.0 as well as 2.9.1) for unmarshalling it removes > (from line 101:) > > <subjectmark><![CDATA[No specific subject]]></subjectmark> > > the single whitespace between "specific" and "subject". In the loaded object > the String value " No specificsubject" can be found. > > The strange behavior is, that if I enter some linebreaks obove the last > object tag (question) from > > </question> > <question> > > To > > </question> > > > > > > > <question> > > the bug does not occur. Also strange is that the same tag (subjectmark) with > the same value occurs many times in the file, but only this one is parsed > wrongly. > > My questions are: > 1) Does anybody can tell me if I did something wrong? > 2) Ist his a bug? Can anybody tell me how to report this bug / in which > component? The bug reporting page is awfully complicated to do so. I only > can read old bug reports but no data entry page can be found. > > Many thanks in advance, > Thimo > > > P.S.: My java code is: > > FileInputStream fis = new FileInputStream(aFileToImport); // is attached > file AnonymizedImport.xml > InputStreamReader isr = new InputStreamReader(fis, > Exporter.DEFAULT_ENCODING); // means UTF8 > > Unmarshaller tempUnmarshaller = new Unmarshaller(); > Mapping tempMapping = new Mapping(); > > tempMapping.loadMapping(Exporter.class.getClassLoader().getResource(Exporter > .XML_MAPPING_FILE)); // see attached file import.xml > tempUnmarshaller.setMapping(tempMapping); > tempUnmarshaller.setDebug(stdlog.isDebugEnabled()); > ImportExportBean tempImportBean = (ImportExportBean) > tempUnmarshaller.unmarshal(isr); > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Nov 30 15:02:10 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10205 invoked from network); 30 Nov 2007 15:02:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Nov 2007 15:02:10 -0000 Received: (qmail 30226 invoked by uid 500); 30 Nov 2007 15:01:58 -0000 Delivered-To: [email protected] Received: (qmail 30212 invoked by uid 500); 30 Nov 2007 15:01:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30201 invoked by uid 99); 30 Nov 2007 15:01:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2007 07:01:58 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e2.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2007 15:01:59 +0000 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [161.129.204.104]) by e2.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id lAUF1cSr015468 for <[email protected]>; Fri, 30 Nov 2007 10:01:38 -0500 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [161.129.204.104]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id lAUF1cRA080040 for <[email protected]>; Fri, 30 Nov 2007 10:01:38 -0500 Received: from d01av03.pok.ibm.com (loopback [161.129.204.104]) by d01av03.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id lAUF1b9l029291 for <[email protected]>; Fri, 30 Nov 2007 10:01:38 -0500 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av03.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id lAUF1bJQ029259 for <[email protected]>; Fri, 30 Nov 2007 10:01:37 -0500 In-Reply-To: <[email protected]> Subject: Re: XML parsing based on locale To: [email protected] X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Fri, 30 Nov 2007 10:01:31 -0500 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 11/30/2007 10:01:25 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Hi, If you're referring to what you can do with XML Schema the definitions of the built-in simple types [1] are fixed. The decimal delimiter for an xs:decimal must always be a '.'. Thanks. [1] http://www.w3.org/TR/xmlschema-2/#built-in-datatypes Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] Tze-John Tang <[email protected]> wrote on 11/30/2007 09:42:26 AM: > > I have tried to search for this, but have not had any luck. Can > anyone tell me how I might be able to set it up so that when I > validate or parse an XML document that I can do it based on a > specific locale? This code is running on a box in the US locale, > but I might get data from the german locale, where the decimal > delimiter is different. How can I set the locale for the Validator > or the SAX parser? > > I am using the JAXP api for validating the XML. > > Thanks for any assistance. > > > -tj --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Nov 30 15:26:45 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17900 invoked from network); 30 Nov 2007 15:26:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Nov 2007 15:26:45 -0000 Received: (qmail 63840 invoked by uid 500); 30 Nov 2007 15:26:33 -0000 Delivered-To: [email protected] Received: (qmail 63666 invoked by uid 500); 30 Nov 2007 15:26:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 63655 invoked by uid 99); 30 Nov 2007 15:26:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2007 07:26:32 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO christel.heitec.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2007 15:26:33 +0000 Received: by christel.heitec.net (Postfix, from userid 27) id 0CC7D3E88DF; Fri, 30 Nov 2007 16:26:13 +0100 (CET) Received: from baby (paladin.heitec.net [161.129.204.104]) by christel.heitec.net (Postfix) with ESMTP id BEA793E88AE for <[email protected]>; Fri, 30 Nov 2007 16:26:12 +0100 (CET) Reply-To: <[email protected]> From: "Thimo von Rauchhaupt" <[email protected]> To: <[email protected]> Subject: AW: Xerces Unmarshaller bug removing single whitespace Date: Fri, 30 Nov 2007 16:26:11 +0100 Organization: Empic GmbH MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcgzYBFKjUHzQ8VSR2i73Vc9esUZagAAfuuw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4133 In-Reply-To: <[email protected]> Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hello Michaek, Thanks a lot for your answer. You=B4re right (sorry for that). I use Castor-XML for unmarshalling. =20 And there was the problem: I just tried an older xerces version and everything was OK. But now I checked a newer Castor and everything is = OK, too.=20 -> It was a incompatibility between my old Castor and the new Xerces. Thanks, Thimo -------------------- Thimo von Rauchhaupt Technical Engineering Director=20 / Sales Europe EMPIC GmbH, Werner-von-Siemens-Str. 61 CEO: Joerg K. Kottenbrink 91052 Erlangen, Germany Reg. No: 2873 in Fuerth, Germany Phone: 872-291-2466 Fax: 872-291-2466 Mobile: 872-291-2466 Skype: thimo_von_rauchhaupt eMail: [email protected] http://www.empic.eu -----Urspr=FCngliche Nachricht----- Von: Michael Glavassevich [mailto:[email protected]]=20 Gesendet: Freitag, 30. November 2007 15:48 An: [email protected] Betreff: Re: Xerces Unmarshaller bug removing single whitespace Hi Thimo, There's no such thing as a "Xerces Unmarshaller" so have no idea what library you're referring to but it certainly doesn't come from this project. I doubt this is a problem with Xerces. I suspect the = Unmarshaller classes you're using are the source of the odd behaviour possibly = because it's not handling multiple calls to the SAX characters() callback [1] correctly. A ContentHandler written like: private StringBuffer buf; public void characters(char[] ch, int start, int length) throws SAXException { buf.append(new String(ch, start, length).trim()); } would cause whitespace to be dropped from seemingly random points in the document (like you're seeing). Thanks. [1] http://xerces.apache.org/xerces2-j/javadocs/api/org/xml/sax/ContentHandle= r.h tml#characters(char[],%20int,%20int) Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] "Thimo von Rauchhaupt" <[email protected]> wrote on 11/30/2007 08:54:56 AM: > Hello , > > When using Xerces (2.9.0 as well as 2.9.1) for unmarshalling it = removes > (from line 101:) > > <subjectmark><![CDATA[No specific subject]]></subjectmark> > > the single whitespace between "specific" and "subject". In the loaded object > the String value " No specificsubject" can be found. > > The strange behavior is, that if I enter some linebreaks obove the = last > object tag (question) from > > </question> > <question> > > To > > </question> > > > > > > > <question> > > the bug does not occur. Also strange is that the same tag = (subjectmark) with > the same value occurs many times in the file, but only this one is = parsed > wrongly. > > My questions are: > 1) Does anybody can tell me if I did something wrong? > 2) Ist his a bug? Can anybody tell me how to report this bug / in = which > component? The bug reporting page is awfully complicated to do so. I = only > can read old bug reports but no data entry page can be found. > > Many thanks in advance, > Thimo > > > P.S.: My java code is: > > FileInputStream fis =3D new FileInputStream(aFileToImport); // is = attached > file AnonymizedImport.xml > InputStreamReader isr =3D new InputStreamReader(fis, > Exporter.DEFAULT_ENCODING); // means UTF8 > > Unmarshaller tempUnmarshaller =3D new Unmarshaller(); > Mapping tempMapping =3D new Mapping(); > > tempMapping.loadMapping(Exporter.class.getClassLoader().getResource(Expor= ter > .XML_MAPPING_FILE)); // see attached file import.xml > tempUnmarshaller.setMapping(tempMapping); > tempUnmarshaller.setDebug(stdlog.isDebugEnabled()); > ImportExportBean tempImportBean =3D (ImportExportBean) > tempUnmarshaller.unmarshal(isr); > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Nov 30 15:34:07 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20144 invoked from network); 30 Nov 2007 15:34:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Nov 2007 15:34:07 -0000 Received: (qmail 72306 invoked by uid 500); 30 Nov 2007 15:33:55 -0000 Delivered-To: [email protected] Received: (qmail 71952 invoked by uid 500); 30 Nov 2007 15:33:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-users.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71941 invoked by uid 99); 30 Nov 2007 15:33:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2007 07:33:54 -0800 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: local policy) Received: from [161.129.204.104] (HELO verifonedns.verifone.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2007 15:33:35 +0000 Received: from TPANTMAIL.verifone.com (unknown [161.129.204.104]) by verifonedns.verifone.com (Postfix) with ESMTP id A63DE5A527 for <[email protected]>; Fri, 30 Nov 2007 07:33:35 -0800 (PST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C83366.5ECD19C1" Subject: Re: XML parsing based on locale Date: Fri, 30 Nov 2007 10:34:44 -0500 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Re: XML parsing based on locale Thread-Index: AcgzZog9khoYaAqRQDu3JzrqT13mcA== From: "David Ezell" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C83366.5ECD19C1 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Michael Glavassevich wrote: >Hi, > >If you're referring to what you can do with XML Schema the definitions of the built-in simple types [1] are fixed. >The decimal delimiter for an xs:decimal must always be a '.'. > >Thanks. > >[1] http://www.w3.org/TR/xmlschema-2/#built-in-datatypes Yes, the debate raged for years inside and outside the XML Schema WG over whether locale specificity should be supported. In the end, the story became "the instance contains a consistent, validatable data format, and presentation of that data is a separate concern." I.e. use a transform of some sort to make the decimal appear correctly for your locale, and apply the correct currency symbol, etc. Model vs. view. Apologies for the North American-centricity of the choices. We justified those choices in part by following the recommendations in the "W3C Manual of Style"[1] which designates U.S. English be used for specs. Granted, it's not that strong a reason. But at least it gives some rationale. Best regards, David Ezell [1] http://www.w3.org/2001/06/manual/#Spelling ------_=_NextPart_001_01C83366.5ECD19C1 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3DUS-ASCII"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 6.5.7651.59"> <TITLE>Re: XML parsing based on locale</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P><FONT SIZE=3D2 FACE=3D"Courier New">Michael Glavassevich = wrote:</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt;Hi,</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt;If you're referring to what = you can do with XML Schema the definitions of the built-in simple types = [1] are fixed. &gt;The decimal delimiter for an xs:decimal must always = be a '.'.</FONT></P> <P><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt;Thanks.</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">&gt;[1] </FONT><A = HREF=3D"http://www.w3.org/TR/xmlschema-2/#built-in-datatypes"><U><FONT = COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Courier = New">http://www.w3.org/TR/xmlschema-2/#built-in-datatypes</FONT></U></A> </P> <P><FONT SIZE=3D2 FACE=3D"Courier New">Yes, the debate raged for years = inside and outside the XML Schema WG over whether locale specificity = should be supported.&nbsp; In the end, the story became &quot;the = instance contains a consistent, validatable data format, and = presentation of that data is a separate concern.&quot;&nbsp; I.e. use a = transform of some sort to make the decimal appear correctly for your = locale, and apply the correct currency symbol, etc.&nbsp; Model vs. = view.</FONT></P> <P><FONT SIZE=3D2 FACE=3D"Courier New">Apologies for the North = American-centricity of the choices.&nbsp; We justified those choices in = part by following the recommendations in the &quot;W3C Manual of = Style&quot;[1] which designates U.S. English be used for = specs.&nbsp;&nbsp; Granted, it's not that strong a reason.&nbsp; But at = least it gives some rationale.</FONT></P> <P><FONT SIZE=3D2 FACE=3D"Courier New">Best regards,</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">David Ezell</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Courier New">[1] </FONT><A = HREF=3D"http://www.w3.org/2001/06/manual/#Spelling"><U><FONT = COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Courier = New">http://www.w3.org/2001/06/manual/#Spelling</FONT></U></A> </P> <BR> <BR> </BODY> </HTML> ------_=_NextPart_001_01C83366.5ECD19C1--
From [email protected] Sat Oct 02 17:00:55 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46775 invoked from network); 2 Oct 2004 17:00:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 2 Oct 2004 17:00:55 -0000 Received: (qmail 50181 invoked by uid 500); 2 Oct 2004 17:00:54 -0000 Delivered-To: [email protected] Received: (qmail 50151 invoked by uid 500); 2 Oct 2004 17:00:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 50134 invoked by uid 99); 2 Oct 2004 17:00:54 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtp.uol.com.br) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 02 Oct 2004 10:00:52 -0700 Received: from keldorfortress (unknown [161.129.204.104]) by scorpion6.uol.com.br (Postfix) with SMTP id B4A9C7E71 for <[email protected]>; Sat, 2 Oct 2004 14:00:48 -0300 (BRT) Message-ID: <000901c4a8a1$6574c910$0100000a@keldorfortress> From: "hammett" <[email protected]> To: <[email protected]> Subject: source code review Date: Sat, 2 Oct 2004 14:01:00 -0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello all! I invited myself to put my nose in the code just to see how things works. Its surprisingly simple, I was expecting thousands of lines. Very neat. Of course the HRESULT hr = DoSomething is something that send me back to 3 or 4 years, when I was a COM programmer working with C++ and ATL. I wonder why i thought it was a good idea at the time :-\ Well, the CLI module is pretty simple. Just wanna ask you about a few things that I don't remember exactly how they work, and if my assumption is correct can be a small bug. - mod_aspdotnet.cpp : Lines 310-321 Two possibilities of execution of _com_raise_error, which I don't rememer if it only populate the error info or actually throws a com_error. If its the late, then pAppDomainIUnk won't be properly released. Have you considered using smart pointers? I used to use CComPtr or something with a similar name... - mod_aspdotnet.cpp : Lines 335-346 Same thing with pDefaultDomain - mod_aspdotnet.cpp : Line 350 I'd use the CComVariant to ensure the VariantClear - mod_aspdotnet.cpp in general... Personal preference, I'd refactor it to small chunks, methods. Don't know, I'm a big fan of intentional programming :-) The rest of the managed code is pretty straighforward, but I'd look at them again later today, I need to prepare lunch :-) Cheers! -- hammett http://jroller.com/page/hammett From [email protected] Thu Oct 07 13:01:08 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52816 invoked from network); 7 Oct 2004 13:01:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 7 Oct 2004 13:01:07 -0000 Received: (qmail 16427 invoked by uid 500); 7 Oct 2004 13:01:06 -0000 Delivered-To: [email protected] Received: (qmail 16378 invoked by uid 500); 7 Oct 2004 13:01:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 16359 invoked by uid 99); 7 Oct 2004 13:01:05 -0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=DNS_FROM_RFC_POST X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO hotmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 07 Oct 2004 06:01:05 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 7 Oct 2004 06:01:02 -0700 Received: from 161.129.204.104 by by1fd.bay1.hotmail.msn.com with HTTP; Thu, 07 Oct 2004 12:59:59 GMT X-Originating-IP: [161.129.204.104] X-Originating-Email: [[email protected]] X-Sender: [email protected] From: "Yussef Alkhamrichi" <[email protected]> To: [email protected] Bcc: Subject: performance Date: Thu, 07 Oct 2004 12:59:59 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: <[email protected]> X-OriginalArrivalTime: 07 Oct 2004 13:01:02.0213 (UTC) FILETIME=[B2AA3B50:01C4AC6D] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Guys, I've no idea if anyone is using httpd CLI yet, I wanted to inform about its use. I think it is a great project combining the .NET Framework (and myabe mono) and Apache. I have developed in C# for the last 3 years, everything from windows apps, services and websites. I've pulled a version from the subversion repository a couple of weeks ago and got it compiled and running with two minor changes. Changed if (!repl || wcscmp(repl, L"\\apache.exe")) into if (!repl || !wcscmp(repl, L"\\apache.exe")) and changed the PublicKeyToken refrence on line 329 of mod/mod_aspdotnet.cpp to match the assembly. I've stress tested it quickly, the strange thing was that the req/sec were lower than on IIS but the throughput in mb/sec was higher. I haven't looked any further, but to bad the number of requests is lower than with IIS. Maybe I missed a Apache configurational setting or this will be improved in feature releases. Does anyone have experiences with the perfomance of this module ? (Maybe it's the wrong place to ask it on this mailing list, sorry for that) _________________________________________________________________ On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement From [email protected] Thu Oct 07 16:06:08 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94151 invoked from network); 7 Oct 2004 16:06:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 7 Oct 2004 16:06:08 -0000 Received: (qmail 60277 invoked by uid 500); 7 Oct 2004 16:06:08 -0000 Delivered-To: [email protected] Received: (qmail 60251 invoked by uid 500); 7 Oct 2004 16:06:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 60236 invoked by uid 99); 7 Oct 2004 16:06:07 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO dreadnought.cnchost.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 07 Oct 2004 09:06:07 -0700 Received: from rcsv650.rowe-clan.net (c-24-13-128-132.client.comcast.net [161.129.204.104]) by dreadnought.cnchost.com id MAA03178; Thu, 7 Oct 2004 12:06:05 -0400 (EDT) [ConcentricHost SMTP Relay 1.17] Errors-To: <[email protected]> Message-Id: <[email protected]> X-Sender: [email protected] X-Mailer: QUALCOMM Windows Eudora Version 161.129.204.104 Date: Thu, 07 Oct 2004 10:30:21 -0500 To: "CLI Dev" <[email protected]> From: "William A. Rowe, Jr." <[email protected]> Subject: Re: performance In-Reply-To: <[email protected]> References: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N At 07:59 AM 10/7/2004, Yussef Alkhamrichi wrote: >Hi Guys, > >I've no idea if anyone is using httpd CLI yet, I wanted to inform about its use. I think it is a great project combining the .NET Framework (and myabe mono) and Apache. I have developed in C# for the last 3 years, everything from windows apps, services and websites. Glad you are here, glad you gave it a spin :) >I've pulled a version from the subversion repository a couple of weeks ago and got it compiled and running with two minor changes. > >Changed > >if (!repl || wcscmp(repl, L"\\apache.exe")) > >into > >if (!repl || !wcscmp(repl, L"\\apache.exe")) I'm removing the later test - it was both a path check and a look for a proprietary flavor of the httpd.exe binary. The test for (!repl) is sufficient, since we don't care if they name the Apache binary as httpd.exe, apache.exe or something else. >and changed the PublicKeyToken refrence on line 329 of mod/mod_aspdotnet.cpp to match the assembly. Also committed, thanks. There is one interesting consideration... do we want two separate keys, one dev key (the one in there now) used by anyone who builds this package themselves (unless, if they would like they can create their own) ... and the other used for official binary release (and held by the release manager alone)? >I've stress tested it quickly, the strange thing was that the req/sec were lower than on IIS but the throughput in mb/sec was higher. I haven't looked any further, but to bad the number of requests is lower than with IIS. Maybe I missed a Apache configurational setting or this will be improved in feature releases. IIS uses fibers (smaller than threads) and can internally cache its results. (The mod_cache code -is- improving radically, I expect you can get similar results with this environment.) I'd be most interested if you were handing off requests serially, or were testing load against 10 or 100 parallel clients. ab.exe distributed with Apache allows you to specific -c 10 for 10 concurrent requests, etc. >Does anyone have experiences with the perfomance of this module ? (Maybe it's the wrong place to ask it on this mailing list, sorry for that) Due to Microsoft's license terms of IIS, etc, Covalent never published or made claims to the performance of this module when it was developed. Remember too - the first request will be slower while the assembly module is first loaded, and compiled from IL to the native code cache. Bill From [email protected] Thu Oct 07 16:37:24 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9763 invoked from network); 7 Oct 2004 16:37:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 7 Oct 2004 16:37:24 -0000 Received: (qmail 19985 invoked by uid 500); 7 Oct 2004 16:37:24 -0000 Delivered-To: [email protected] Received: (qmail 19956 invoked by uid 500); 7 Oct 2004 16:37:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 19941 invoked by uid 99); 7 Oct 2004 16:37:23 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DATE_IN_FUTURE_03_06,DNS_FROM_RFC_ABUSE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtp.uol.com.br) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 07 Oct 2004 09:37:21 -0700 Received: from note (unknown [161.129.204.104]) by scorpion3.uol.com.br (Postfix) with SMTP id 952968233 for <[email protected]>; Thu, 7 Oct 2004 13:37:15 -0300 (BRT) Message-ID: <001001c4acad$67cfd550$0200000a@note> From: "hammett" <[email protected]> To: "CLI Dev" <[email protected]> References: <[email protected]> <[email protected]> Subject: Re: performance Date: Thu, 7 Oct 2004 13:37:04 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ----- Original Message ----- From: "William A. Rowe, Jr." <[email protected]> To: "CLI Dev" <[email protected]> Sent: Thursday, October 07, 2004 8:30 AM Subject: Re: performance > There is one interesting consideration... do we want two separate > keys, one dev key (the one in there now) used by anyone who builds > this package themselves (unless, if they would like they can create > their own) ... and the other used for official binary release (and > held by the release manager alone)? This is a pain, but seems like a one viable strategy. A better strategy would be to have the key on the SVN but not publically available. Cheers, hammett From [email protected] Thu Oct 07 17:16:48 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31184 invoked from network); 7 Oct 2004 17:16:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 7 Oct 2004 17:16:48 -0000 Received: (qmail 88551 invoked by uid 500); 7 Oct 2004 17:16:39 -0000 Delivered-To: [email protected] Received: (qmail 88436 invoked by uid 500); 7 Oct 2004 17:16:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 88366 invoked by uid 99); 7 Oct 2004 17:16:34 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO dreadnought.cnchost.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 07 Oct 2004 10:16:33 -0700 Received: from rcsv650.rowe-clan.net (c-24-13-128-132.client.comcast.net [161.129.204.104]) by dreadnought.cnchost.com id NAA14489; Thu, 7 Oct 2004 13:16:27 -0400 (EDT) [ConcentricHost SMTP Relay 1.17] Errors-To: <[email protected]> Message-Id: <[email protected]> X-Sender: [email protected] X-Mailer: QUALCOMM Windows Eudora Version 161.129.204.104 Date: Thu, 07 Oct 2004 12:15:26 -0500 To: [email protected] From: "William A. Rowe, Jr." <[email protected]> Subject: svn commit: rev 53996 - incubator/httpd/cli/trunk/mod_aspdotnet/installer Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N >Author: wrowe >Date: Thu Oct 7 09:38:36 2004 >New Revision: 53996 > >Modified: > incubator/httpd/cli/trunk/mod_aspdotnet/installer/Property.idt >Log: > > Fix a mis-linked default, Reinstall is valid, Repair is not. > >Modified: incubator/httpd/cli/trunk/mod_aspdotnet/installer/Property.idt >============================================================================== >--- incubator/httpd/cli/trunk/mod_aspdotnet/installer/Property.idt (original) >+++ incubator/httpd/cli/trunk/mod_aspdotnet/installer/Property.idt Thu Oct 7 09:38:36 2004 >@@ -2,7 +2,7 @@ > s72 L0 S255 > Property Property > _BrowseProperty 0 >-_IsMaintenance Repair >+_IsMaintenance Reinstall > _IsSetupTypeMin Typical > AgreeToLicense No > ApplicationUsers AllUsers From [email protected] Thu Oct 07 17:16:48 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31185 invoked from network); 7 Oct 2004 17:16:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 7 Oct 2004 17:16:48 -0000 Received: (qmail 88473 invoked by uid 500); 7 Oct 2004 17:16:36 -0000 Delivered-To: [email protected] Received: (qmail 88402 invoked by uid 500); 7 Oct 2004 17:16:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 88348 invoked by uid 99); 7 Oct 2004 17:16:32 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO dreadnought.cnchost.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 07 Oct 2004 10:16:31 -0700 Received: from rcsv650.rowe-clan.net (c-24-13-128-132.client.comcast.net [161.129.204.104]) by dreadnought.cnchost.com id NAA14461; Thu, 7 Oct 2004 13:16:25 -0400 (EDT) [ConcentricHost SMTP Relay 1.17] Errors-To: <[email protected]> Message-Id: <[email protected]> X-Sender: [email protected] X-Mailer: QUALCOMM Windows Eudora Version 161.129.204.104 Date: Thu, 07 Oct 2004 12:12:54 -0500 To: [email protected] From: "William A. Rowe, Jr." <[email protected]> Subject: svn commit: rev 53997 - incubator/httpd/cli/trunk/mod_aspdotnet Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N >Author: wrowe >Date: Thu Oct 7 09:43:07 2004 >New Revision: 53997 > >Modified: > incubator/httpd/cli/trunk/mod_aspdotnet/License.rtf >Log: > > Well that was overkill, lots of extra bits left over from HTTP that > we don't need here. > > >Modified: incubator/httpd/cli/trunk/mod_aspdotnet/License.rtf >============================================================================== >Binary files /tmp/tmpuaj4nK and /tmp/tmp_y9EWw differ From [email protected] Thu Oct 07 17:16:49 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31199 invoked from network); 7 Oct 2004 17:16:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 7 Oct 2004 17:16:49 -0000 Received: (qmail 88670 invoked by uid 500); 7 Oct 2004 17:16:44 -0000 Delivered-To: [email protected] Received: (qmail 88575 invoked by uid 500); 7 Oct 2004 17:16:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 88351 invoked by uid 99); 7 Oct 2004 17:16:33 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO dreadnought.cnchost.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 07 Oct 2004 10:16:31 -0700 Received: from rcsv650.rowe-clan.net (c-24-13-128-132.client.comcast.net [161.129.204.104]) by dreadnought.cnchost.com id NAA14524; Thu, 7 Oct 2004 13:16:29 -0400 (EDT) [ConcentricHost SMTP Relay 1.17] Errors-To: <[email protected]> Message-Id: <[email protected]> X-Sender: [email protected] X-Mailer: QUALCOMM Windows Eudora Version 161.129.204.104 Date: Thu, 07 Oct 2004 12:14:12 -0500 To: [email protected] From: "William A. Rowe, Jr." <[email protected]> Subject: svn commit: rev 53986 - incubator/httpd/cli/trunk/mod_aspdotnet/mod Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N >Author: wrowe >Date: Thu Oct 7 08:09:00 2004 >New Revision: 53986 > >Modified: > incubator/httpd/cli/trunk/mod_aspdotnet/mod/mod_aspdotnet.cpp >Log: > > Fix two nits, a filename test that was unnecessary, and a public key > token that changed when creating new keys for the project dev flavor. > >Submitted by: Yussef Alkhamrichi <yalkhamrichi hotmail.com> > > >Modified: incubator/httpd/cli/trunk/mod_aspdotnet/mod/mod_aspdotnet.cpp >============================================================================== >--- incubator/httpd/cli/trunk/mod_aspdotnet/mod/mod_aspdotnet.cpp (original) >+++ incubator/httpd/cli/trunk/mod_aspdotnet/mod/mod_aspdotnet.cpp Thu Oct 7 08:09:00 2004 >@@ -244,7 +244,7 @@ > } > > wchar_t *repl = wcsrchr(wAspNetPath, L'\\'); >- if (!repl || wcscmp(repl, L"\\apache.exe")) { >+ if (!repl) { > ap_log_error(APLOG_MARK, APLOG_ERR|APLOG_NOERRNO, 0, NULL, > "mod_aspdotnet: Unable to determine apache.exe path!"); > _com_raise_error(E_FAIL); >@@ -329,7 +329,7 @@ > hr = pDefaultDomain->CreateInstance(_bstr_t("Apache.Web, " > "Version=" APACHE_WEB_VERSION ", " > "Culture=neutral, " >- "PublicKeyToken=06dcc24729498c72"), >+ "PublicKeyToken=9b9b842f49b86351"), > _bstr_t(L"Apache.Web.HostFactory"), > &pObjHandle); > if (FAILED(hr)) { From [email protected] Thu Oct 07 17:16:49 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31197 invoked from network); 7 Oct 2004 17:16:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 7 Oct 2004 17:16:48 -0000 Received: (qmail 88647 invoked by uid 500); 7 Oct 2004 17:16:44 -0000 Delivered-To: [email protected] Received: (qmail 88509 invoked by uid 500); 7 Oct 2004 17:16:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 88357 invoked by uid 99); 7 Oct 2004 17:16:33 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO dreadnought.cnchost.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 07 Oct 2004 10:16:32 -0700 Received: from rcsv650.rowe-clan.net (c-24-13-128-132.client.comcast.net [161.129.204.104]) by dreadnought.cnchost.com id NAA14477; Thu, 7 Oct 2004 13:16:26 -0400 (EDT) [ConcentricHost SMTP Relay 1.17] Errors-To: <[email protected]> Message-Id: <[email protected]> X-Sender: [email protected] X-Mailer: QUALCOMM Windows Eudora Version 161.129.204.104 Date: Thu, 07 Oct 2004 12:14:49 -0500 To: [email protected] From: "William A. Rowe, Jr." <[email protected]> Subject: svn commit: rev 53994 - incubator/httpd/cli/trunk/mod_aspdotnet/installer Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N >Author: wrowe >Date: Thu Oct 7 09:36:01 2004 >New Revision: 53994 > >Modified: > incubator/httpd/cli/trunk/mod_aspdotnet/installer/Directory.idt >Log: > > Fix two unresolved paths in the msi Directory table. > >Modified: incubator/httpd/cli/trunk/mod_aspdotnet/installer/Directory.idt >============================================================================== >--- incubator/httpd/cli/trunk/mod_aspdotnet/installer/Directory.idt (original) >+++ incubator/httpd/cli/trunk/mod_aspdotnet/installer/Directory.idt Thu Oct 7 09:36:01 2004 >@@ -2,8 +2,8 @@ > s72 S72 l255 S255 I4 > Directory Directory > APACHE_ROOT INSTALLDIR . 0 >-APACHE_GROUP ProgramFilesFolder .:APACHE~1|Apache Group 0 >-APACHE_MODULES APACHE modules 0 >+APACHE_GROUP ProgramFilesFolder APACHE~1|Apache Group 0 >+APACHE_MODULES APACHE_ROOT modules 0 > DesktopFolder TARGETDIR .:Desktop 0 > DOCS INSTALLDIR docs 0 > FontsFolder TARGETDIR .:Fonts 0 >@@ -15,6 +15,7 @@ > PDF DOCS PDF 0 > PersonalFolder TARGETDIR .:Personal 0 > PrimaryVolumePath TARGETDIR .:Primar~1|PrimaryVolumePath 0 >+ProgramFilesFolder TARGETDIR .:Progra~1|Program Files 0 > ProgramFiles64Folder TARGETDIR .:Prog64~1|Program Files 64 0 > ProgramMenuFolder TARGETDIR .:Programs 3 > SendToFolder TARGETDIR .:SendTo 3 From [email protected] Thu Oct 07 17:16:49 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31248 invoked from network); 7 Oct 2004 17:16:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 7 Oct 2004 17:16:49 -0000 Received: (qmail 88762 invoked by uid 500); 7 Oct 2004 17:16:45 -0000 Delivered-To: [email protected] Received: (qmail 88680 invoked by uid 500); 7 Oct 2004 17:16:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 88569 invoked by uid 99); 7 Oct 2004 17:16:40 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO dreadnought.cnchost.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 07 Oct 2004 10:16:38 -0700 Received: from rcsv650.rowe-clan.net (c-24-13-128-132.client.comcast.net [161.129.204.104]) by dreadnought.cnchost.com id NAA14503; Thu, 7 Oct 2004 13:16:27 -0400 (EDT) [ConcentricHost SMTP Relay 1.17] Errors-To: <[email protected]> Message-Id: <[email protected]> X-Sender: [email protected] X-Mailer: QUALCOMM Windows Eudora Version 161.129.204.104 Date: Thu, 07 Oct 2004 12:13:48 -0500 To: [email protected] From: "William A. Rowe, Jr." <[email protected]> Subject: svn commit: rev 53980 - incubator/httpd/cli/trunk/mod_aspdotnet Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N >Author: wrowe >Date: Thu Oct 7 07:34:55 2004 >New Revision: 53980 > >Modified: > incubator/httpd/cli/trunk/mod_aspdotnet/README >Log: > > Axe a stale envvar - it's simply APACHE_PATH > >Modified: incubator/httpd/cli/trunk/mod_aspdotnet/README >============================================================================== >--- incubator/httpd/cli/trunk/mod_aspdotnet/README (original) >+++ incubator/httpd/cli/trunk/mod_aspdotnet/README Thu Oct 7 07:34:55 2004 >@@ -31,6 +31,20 @@ > dll's in the Serverroot/bin directory. > > >+Alternate Build Notes >+--------------------- >+ >+You may build the module with the free Microsoft Visual C++ Toolkit and >+the .NET Framework, instead of the full Developer Studio. However, it's >+not possible to create the full installer with this method, and some >+registration by-hand is required. >+ >+ >+ >+ >+ >+ >+ > Deployment Notes > ---------------- > >@@ -43,8 +57,8 @@ > the Global Assembly Cache in order to instantiate it's host container. > > The Debug build will do so automatically, copying mod_aspdotnet.so + .pdb >-into the $(APACHE_TMPINSTALL_WINNT)\modules directory, for testing. >-Apache.Web.dll + .pdb files are copied into $(APACHE_TMPINSTALL_WINNT)\bin >+into the $(APACHE_PATH)\modules directory, for testing. >+Apache.Web.dll + .pdb files are copied into $(APACHE_PATH)\bin > so that it can discover libapr.dll, libaprutil.dll and libhttpd.dll when > running in the System.Web.Hosting's AppDomain. Apache.Web.dll is then > registered and installed into the Global Assembly Cache by the Debug build's From [email protected] Thu Oct 07 17:16:50 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31274 invoked from network); 7 Oct 2004 17:16:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 7 Oct 2004 17:16:50 -0000 Received: (qmail 88920 invoked by uid 500); 7 Oct 2004 17:16:47 -0000 Delivered-To: [email protected] Received: (qmail 88823 invoked by uid 500); 7 Oct 2004 17:16:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 88587 invoked by uid 99); 7 Oct 2004 17:16:41 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO dreadnought.cnchost.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 07 Oct 2004 10:16:39 -0700 Received: from rcsv650.rowe-clan.net (c-24-13-128-132.client.comcast.net [161.129.204.104]) by dreadnought.cnchost.com id NAA14537; Thu, 7 Oct 2004 13:16:30 -0400 (EDT) [ConcentricHost SMTP Relay 1.17] Errors-To: <[email protected]> Message-Id: <[email protected]> X-Sender: [email protected] X-Mailer: QUALCOMM Windows Eudora Version 161.129.204.104 Date: Thu, 07 Oct 2004 12:14:31 -0500 To: [email protected] From: "William A. Rowe, Jr." <[email protected]> Subject: svn commit: rev 53990 - incubator/httpd/cli/trunk/mod_aspdotnet/installer Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N >Author: wrowe >Date: Thu Oct 7 08:45:15 2004 >New Revision: 53990 > >Modified: > incubator/httpd/cli/trunk/mod_aspdotnet/installer/Control.idt >Log: > > Clean up panel alignment > >Modified: incubator/httpd/cli/trunk/mod_aspdotnet/installer/Control.idt >============================================================================== >--- incubator/httpd/cli/trunk/mod_aspdotnet/installer/Control.idt (original) >+++ incubator/httpd/cli/trunk/mod_aspdotnet/installer/Control.idt Thu Oct 7 08:45:15 2004 >@@ -18,7 +18,7 @@ > AdminChangeFolder TailText Text 21 193 99 13 3 ##IDS__IsAdminInstallBrowse_12## Tail 0 > AdminChangeFolder Up PushButton 310 66 19 19 3670019 NewFolder ##IDS__IsAdminInstallBrowse_13## 0 NewBinary3 > AdminNetworkLocation Back PushButton 164 243 66 17 3 ##IDS__IsAdminInstallPoint_1## InstallNow 0 >-AdminNetworkLocation Banner Bitmap 0 1 374 44 262145 0 0 NewBinary1 >+AdminNetworkLocation Banner Bitmap 0 0 374 44 262145 0 0 NewBinary1 > AdminNetworkLocation BannerLine Line 0 44 374 0 1 0 > AdminNetworkLocation Branding1 Text 4 229 50 13 3 ##IDS__IsAdminInstallPoint_2## 0 > AdminNetworkLocation Branding2 Text 3 228 50 13 65537 ##IDS__IsAdminInstallPoint_3## 0 >@@ -241,7 +241,7 @@ > ReadyToInstall InstallNow PushButton 230 243 66 17 3 ##IDS__IsVerifyReadyDlg_9## Cancel 0 > ReadyToInstall Text1 Text 21 51 326 43 3 ##IDS__IsVerifyReadyDlg_22## 0 0 > ReadyToRemove Back PushButton 164 243 66 17 3 ##IDS__IsVerifyRemoveAllDlg_1## RemoveNow 0 >-ReadyToRemove Banner Bitmap 0 1 374 44 262145 0 0 NewBinary1 >+ReadyToRemove Banner Bitmap 0 0 374 44 262145 0 0 NewBinary1 > ReadyToRemove BannerLine Line 0 44 374 0 1 0 > ReadyToRemove Branding1 Text 4 229 50 13 3 ##IDS__IsVerifyRemoveAllDlg_2## 0 > ReadyToRemove Branding2 Text 3 228 50 13 65537 ##IDS__IsVerifyRemoveAllDlg_3## 0 From [email protected] Thu Oct 07 17:16:50 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31280 invoked from network); 7 Oct 2004 17:16:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 7 Oct 2004 17:16:50 -0000 Received: (qmail 88895 invoked by uid 500); 7 Oct 2004 17:16:47 -0000 Delivered-To: [email protected] Received: (qmail 88727 invoked by uid 500); 7 Oct 2004 17:16:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 88573 invoked by uid 99); 7 Oct 2004 17:16:40 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO dreadnought.cnchost.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 07 Oct 2004 10:16:38 -0700 Received: from rcsv650.rowe-clan.net (c-24-13-128-132.client.comcast.net [161.129.204.104]) by dreadnought.cnchost.com id NAA14551; Thu, 7 Oct 2004 13:16:31 -0400 (EDT) [ConcentricHost SMTP Relay 1.17] Errors-To: <[email protected]> Message-Id: <[email protected]> X-Sender: [email protected] X-Mailer: QUALCOMM Windows Eudora Version 161.129.204.104 Date: Thu, 07 Oct 2004 11:57:55 -0500 To: "CLI Dev" <[email protected]> From: "William A. Rowe, Jr." <[email protected]> Subject: Re: source code review Cc: <[email protected]> In-Reply-To: <000901c4a8a1$6574c910$0100000a@keldorfortress> References: <000901c4a8a1$6574c910$0100000a@keldorfortress> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N At 12:01 PM 10/2/2004, hammett wrote: >Hello all! > >I invited myself to put my nose in the code just to see how things works. >Its surprisingly simple, I was expecting thousands of lines. Very neat. Of >course the HRESULT hr = DoSomething is something that send me back to 3 or 4 >years, when I was a COM programmer working with C++ and ATL. I wonder why i >thought it was a good idea at the time :-\ I knew that feeling as I took a spaceship back in time to write the connector code :) >Well, the CLI module is pretty simple. Just wanna ask you about a few things >that I don't remember exactly how they work, and if my assumption is correct >can be a small bug. > >- mod_aspdotnet.cpp : Lines 310-321 > >Two possibilities of execution of _com_raise_error, which I don't rememer if >it only populate the error info or actually throws a com_error. If its the >late, then pAppDomainIUnk won't be properly released. Have you considered >using smart pointers? I used to use CComPtr or something with a similar >name... My only distaste for smart pointers is the tighter control over garbage collection we maintain - httpd runs hundreds or thousands of parallel child threads, and I simply wanted to keep a tight reign on the lifetime management. I've fixed both bugs by releasing the interface before testing the result of the operations - we are done with them if we succeeded or failed... >- mod_aspdotnet.cpp : Lines 335-346 > >Same thing with pDefaultDomain Ack. >- mod_aspdotnet.cpp : Line 350 > >I'd use the CComVariant to ensure the VariantClear One point for all of the above, this was the initialization path - if they failed mod_aspdotnet does not start. I've cleaned them up somewhat, you might want to look at the changes to recommend any more of them. I didn't jump to CComVariant yet - I'll explain my reasoning in another mail once my busy schedule clears up just a bit. >- mod_aspdotnet.cpp in general... > >Personal preference, I'd refactor it to small chunks, methods. Don't know, >I'm a big fan of intentional programming :-) One major goal of the project is to factor out the useful bits into smaller pieces, patches are welcome. >The rest of the managed code is pretty straighforward, but I'd look at them >again later today, I need to prepare lunch :-) I will have further comments, but that's as much as I could address today :) Looking forward to your further comments! Bill From [email protected] Thu Oct 07 17:18:34 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 32090 invoked from network); 7 Oct 2004 17:18:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 7 Oct 2004 17:18:33 -0000 Received: (qmail 94567 invoked by uid 500); 7 Oct 2004 17:18:26 -0000 Delivered-To: [email protected] Received: (qmail 94378 invoked by uid 500); 7 Oct 2004 17:18:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 94329 invoked by uid 99); 7 Oct 2004 17:18:24 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO dreadnought.cnchost.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 07 Oct 2004 10:18:24 -0700 Received: from rcsv650.rowe-clan.net (c-24-13-128-132.client.comcast.net [161.129.204.104]) by dreadnought.cnchost.com id NAA15637; Thu, 7 Oct 2004 13:18:21 -0400 (EDT) [ConcentricHost SMTP Relay 1.17] Errors-To: <[email protected]> Message-Id: <[email protected]> X-Sender: [email protected] X-Mailer: QUALCOMM Windows Eudora Version 161.129.204.104 Date: Thu, 07 Oct 2004 12:16:58 -0500 To: [email protected] From: "William A. Rowe, Jr." <[email protected]> Subject: svn commit: rev 53999 - incubator/httpd/cli/trunk/mod_aspdotnet/mod Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N >Author: wrowe >Date: Thu Oct 7 09:59:28 2004 >New Revision: 53999 > >Modified: > incubator/httpd/cli/trunk/mod_aspdotnet/mod/mod_aspdotnet.cpp >Log: > > Tighten up the scope for releasing objects, since they should be > freed up before we proceed to announcing any errors we encountered. > >Submitted by: hammett <hammett uol.com.br> > >Modified: incubator/httpd/cli/trunk/mod_aspdotnet/mod/mod_aspdotnet.cpp >============================================================================== >--- incubator/httpd/cli/trunk/mod_aspdotnet/mod/mod_aspdotnet.cpp (original) >+++ incubator/httpd/cli/trunk/mod_aspdotnet/mod/mod_aspdotnet.cpp Thu Oct 7 09:59:28 2004 >@@ -307,6 +307,9 @@ > _AppDomain *pDefaultDomain = NULL; > hr = pAppDomainIUnk->QueryInterface(__uuidof(_AppDomain), > (void**)&pDefaultDomain); >+ // Done with pAppDomainIUnk >+ pAppDomainIUnk->Release(); >+ > if (FAILED(hr)) { > ap_log_error(APLOG_MARK, APLOG_ERR, APR_FROM_OS_ERROR(hr), NULL, > "mod_aspdotnet: Could not retrieve the .NET default " >@@ -319,8 +322,6 @@ > "application domain _AppDomain interface."); > _com_raise_error(E_NOINTERFACE); > } >- // Done with pAppDomainIUnk >- pAppDomainIUnk->Release(); > > ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, NULL, > "mod_aspdotnet: Module initialized .NET default AppDomain..."); >@@ -332,6 +333,9 @@ > "PublicKeyToken=9b9b842f49b86351"), > _bstr_t(L"Apache.Web.HostFactory"), > &pObjHandle); >+ // Done with pDefaultDomain >+ pDefaultDomain->Release(); >+ > if (FAILED(hr)) { > ap_log_error(APLOG_MARK, APLOG_ERR, APR_FROM_OS_ERROR(hr), NULL, > "mod_aspdotnet: Could not create the .NET interface " >@@ -344,8 +348,6 @@ > "for the Apache.Web.HostFactory."); > _com_raise_error(E_NOINTERFACE); > } >- // Done with pDefaultDomain >- pDefaultDomain->Release(); > > VARIANT vHostFactory; > VariantInit(&vHostFactory); >@@ -362,17 +364,18 @@ > "interface for the Apache.Web.HostFactory."); > _com_raise_error(E_NOINTERFACE); > } >+ > hr = vHostFactory.pdispVal->QueryInterface(__uuidof(IApacheWebHostFactory), > (void**)&conf->pHostFactory); >+ // Done with vHostFactory >+ VariantClear(&vHostFactory); >+ > if (FAILED(hr)) { > ap_log_error(APLOG_MARK, APLOG_ERR, APR_FROM_OS_ERROR(hr), NULL, > "mod_aspdotnet: Could not retrieve the COM interface " > "for the Apache.Web.HostFactory."); > _com_raise_error(hr); > } >- >- // Done with vHostFactory >- VariantClear(&vHostFactory); > > ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, NULL, > "mod_aspdotnet: Module initialized HostFactory..."); From [email protected] Thu Oct 07 17:46:24 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43702 invoked from network); 7 Oct 2004 17:46:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 7 Oct 2004 17:46:24 -0000 Received: (qmail 35993 invoked by uid 500); 7 Oct 2004 17:46:14 -0000 Delivered-To: [email protected] Received: (qmail 35949 invoked by uid 500); 7 Oct 2004 17:46:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 35848 invoked by uid 99); 7 Oct 2004 17:46:13 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO dreadnought.cnchost.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 07 Oct 2004 10:46:12 -0700 Received: from rcsv650.rowe-clan.net (c-24-13-128-132.client.comcast.net [161.129.204.104]) by dreadnought.cnchost.com id NAA00933; Thu, 7 Oct 2004 13:46:09 -0400 (EDT) [ConcentricHost SMTP Relay 1.17] Errors-To: <[email protected]> Message-Id: <[email protected]> X-Sender: [email protected] X-Mailer: QUALCOMM Windows Eudora Version 161.129.204.104 Date: Thu, 07 Oct 2004 12:27:48 -0500 To: "CLI Dev" <[email protected]> From: "William A. Rowe, Jr." <[email protected]> Subject: Re: performance In-Reply-To: <001001c4acad$67cfd550$0200000a@note> References: <[email protected]> <[email protected]> <001001c4acad$67cfd550$0200000a@note> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N At 03:37 PM 10/7/2004, hammett wrote: >From: "William A. Rowe, Jr." <[email protected]> > >> There is one interesting consideration... do we want two separate >> keys, one dev key (the one in there now) used by anyone who builds >> this package themselves (unless, if they would like they can create >> their own) ... and the other used for official binary release (and >> held by the release manager alone)? > >This is a pain, but seems like a one viable strategy. A better strategy >would be to have the key on the SVN but not publically available. When we deal in pgp key files, we countersign one another's keys but maintain strict possession of our own. I'm thinking that if we have, instead of a KEYS file, another master file containing the keys of all release managers. Anyone can use the public key for their own -dev builds, or stuff in their own, but either way the mod_aspdotnet must match to the Apache.Web sk file. The big pain would be if a user tried to build -only- mod_aspdotnet or Apache.Web themselves. At that point they would be out-of-sync. Of course, with a bit of documentation in README this problem could be dispensed with right away. From [email protected] Thu Oct 07 17:49:47 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45221 invoked from network); 7 Oct 2004 17:49:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 7 Oct 2004 17:49:47 -0000 Received: (qmail 43228 invoked by uid 500); 7 Oct 2004 17:49:47 -0000 Delivered-To: [email protected] Received: (qmail 43213 invoked by uid 500); 7 Oct 2004 17:49:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 43200 invoked by uid 99); 7 Oct 2004 17:49:46 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO dreadnought.cnchost.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 07 Oct 2004 10:49:45 -0700 Received: from rcsv650.rowe-clan.net (c-24-13-128-132.client.comcast.net [161.129.204.104]) by dreadnought.cnchost.com id NAA02257; Thu, 7 Oct 2004 13:49:43 -0400 (EDT) [ConcentricHost SMTP Relay 1.17] Errors-To: <[email protected]> Message-Id: <[email protected]> X-Sender: [email protected] X-Mailer: QUALCOMM Windows Eudora Version 161.129.204.104 Date: Thu, 07 Oct 2004 12:49:29 -0500 To: [email protected] From: "William A. Rowe, Jr." <[email protected]> Subject: mod_aspdotnet SVN rev 54000 build dev snapshots available Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Binary test build is available in; http://www.apache.org/~wrowe/mod_aspdotnet-20041007-dev.msi and source tarball available in; http://www.apache.org/~wrowe/mod_aspdotnet-20041007-dev-source.zip These are from trunk today, rev 54000 If playing with this module, review README and aspnet.conf in; http://svn.apache.org/repos/asf/incubator/httpd/cli/trunk/mod_aspdotnet/ From [email protected] Thu Oct 07 17:50:57 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45630 invoked from network); 7 Oct 2004 17:50:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 7 Oct 2004 17:50:57 -0000 Received: (qmail 44072 invoked by uid 500); 7 Oct 2004 17:50:39 -0000 Delivered-To: [email protected] Received: (qmail 43962 invoked by uid 500); 7 Oct 2004 17:50:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 43814 invoked by uid 99); 7 Oct 2004 17:50:36 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO dreadnought.cnchost.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 07 Oct 2004 10:50:36 -0700 Received: from rcsv650.rowe-clan.net (c-24-13-128-132.client.comcast.net [161.129.204.104]) by dreadnought.cnchost.com id NAA03149; Thu, 7 Oct 2004 13:50:34 -0400 (EDT) [ConcentricHost SMTP Relay 1.17] Errors-To: <[email protected]> Message-Id: <[email protected]> X-Sender: [email protected] X-Mailer: QUALCOMM Windows Eudora Version 161.129.204.104 Date: Thu, 07 Oct 2004 12:50:25 -0500 To: [email protected] From: "William A. Rowe, Jr." <[email protected]> Subject: svn commit: rev 54000 - incubator/httpd/cli/trunk/mod_aspdotnet Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N >Author: wrowe >Date: Thu Oct 7 10:34:41 2004 >New Revision: 54000 > >Modified: > incubator/httpd/cli/trunk/mod_aspdotnet/README >Log: > > Note that this incomplete thought was, well, incomplete > >Modified: incubator/httpd/cli/trunk/mod_aspdotnet/README >============================================================================== >--- incubator/httpd/cli/trunk/mod_aspdotnet/README (original) >+++ incubator/httpd/cli/trunk/mod_aspdotnet/README Thu Oct 7 10:34:41 2004 >@@ -39,10 +39,7 @@ > not possible to create the full installer with this method, and some > registration by-hand is required. > >- >- >- >- >+ [NEW batch file and documentation needed] > > > Deployment Notes From [email protected] Mon Oct 11 16:51:30 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17157 invoked from network); 11 Oct 2004 16:51:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 11 Oct 2004 16:51:29 -0000 Received: (qmail 79142 invoked by uid 500); 11 Oct 2004 16:51:20 -0000 Delivered-To: [email protected] Received: (qmail 78601 invoked by uid 500); 11 Oct 2004 16:51:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 2905 invoked by uid 99); 10 Oct 2004 23:08:33 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) In-Reply-To: <[email protected]> References: <[email protected]> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: multipart/signed; micalg=sha1; boundary=Apple-Mail-14-1030908146; protocol="application/pkcs7-signature" Message-Id: <[email protected]> Cc: "Rowe Jr." <[email protected]>, [email protected] From: Erik Abele <[email protected]> Subject: cli-dev config, was Re: failure notice Date: Mon, 11 Oct 2004 01:08:28 +0200 To: [email protected] X-Mailer: Apple Mail (2.619) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --Apple-Mail-14-1030908146 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Until now message moderation was turned off - I've actived it now so this shouldn't happen again. Not sure why it wasn't actived initially... let me know if something doesn't work as expected... The current moderators are: [email protected] [email protected] [email protected] Cheers, Erik On 07.10.2004, at 19:18, William A. Rowe, Jr. wrote: > Can someone with the right apmail karma ensure we don't discard > such commit messages? I forwarded all to [email protected] > so the record is straight. > > Bill > >> Delivered-To: [email protected] >> Delivered-To: [email protected] >> Date: 7 Oct 2004 14:34:58 -0000 >> From: [email protected] >> To: [email protected] >> Subject: failure notice >> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N >> X-JunkMail: NotJunk >> X-MFData: [8.400387 v2.3:2 n299 s4704 g57471 b53841 p0.032611 sN5 >> t0,730100] >> >> Hi. This is the qmail-send [email protected]. >> I'm afraid I wasn't able to deliver your message to the following >> addresses. >> This is a permanent error; I've given up. Sorry it didn't work out. >> >> <[email protected]>: >> Sorry, only subscribers may post. If you are a subscriber, please >> forward this message to [email protected] to get your >> new address included (#5.7.2) >> >> --- Below this line is a copy of the message. >> >> Return-Path: <[email protected]> >> Received: (qmail 62898 invoked by uid 500); 7 Oct 2004 14:34:58 -0000 >> Delivered-To: [email protected] >> Received: (qmail 62885 invoked by uid 99); 7 Oct 2004 14:34:57 -0000 >> X-ASF-Spam-Status: No, hits=-10.0 required=10.0 >> tests=ALL_TRUSTED,NO_REAL_NAME >> X-Spam-Check-By: apache.org >> Received: from [161.129.204.104] (HELO minotaur.apache.org) >> (161.129.204.104) >> by apache.org (qpsmtpd/0.28) with SMTP; Thu, 07 Oct 2004 07:34:57 >> -0700 >> Received: (qmail 35508 invoked by uid 65534); 7 Oct 2004 14:34:56 >> -0000 >> Date: 7 Oct 2004 14:34:56 -0000 >> Message-ID: <[email protected]> >> From: [email protected] >> To: [email protected] >> Subject: svn commit: rev 53980 - >> incubator/httpd/cli/trunk/mod_aspdotnet >> X-Virus-Checked: Checked >> >> Author: wrowe >> Date: Thu Oct 7 07:34:55 2004 >> New Revision: 53980 >> >> Modified: >> incubator/httpd/cli/trunk/mod_aspdotnet/README >> Log: >> >> Axe a stale envvar - it's simply APACHE_PATH >> >> Modified: incubator/httpd/cli/trunk/mod_aspdotnet/README >> ====================================================================== >> ======== >> --- incubator/httpd/cli/trunk/mod_aspdotnet/README (original) >> +++ incubator/httpd/cli/trunk/mod_aspdotnet/README Thu Oct 7 >> 07:34:55 2004 >> @@ -31,6 +31,20 @@ >> dll's in the Serverroot/bin directory. >> >> >> +Alternate Build Notes >> +--------------------- >> + >> +You may build the module with the free Microsoft Visual C++ Toolkit >> and >> +the .NET Framework, instead of the full Developer Studio. However, >> it's >> +not possible to create the full installer with this method, and some >> +registration by-hand is required. >> + >> + >> + >> + >> + >> + >> + >> Deployment Notes >> ---------------- >> >> @@ -43,8 +57,8 @@ >> the Global Assembly Cache in order to instantiate it's host container. >> >> The Debug build will do so automatically, copying mod_aspdotnet.so + >> .pdb >> -into the $(APACHE_TMPINSTALL_WINNT)\modules directory, for testing. >> -Apache.Web.dll + .pdb files are copied into >> $(APACHE_TMPINSTALL_WINNT)\bin >> +into the $(APACHE_PATH)\modules directory, for testing. >> +Apache.Web.dll + .pdb files are copied into $(APACHE_PATH)\bin >> so that it can discover libapr.dll, libaprutil.dll and libhttpd.dll >> when >> running in the System.Web.Hosting's AppDomain. Apache.Web.dll is then >> registered and installed into the Global Assembly Cache by the Debug >> build's --Apple-Mail-14-1030908146 Content-Transfer-Encoding: base64 Content-Type: application/pkcs7-signature; name=smime.p7s Content-Disposition: attachment; filename=smime.p7s MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGGDCCAtEw ggI6oAMCAQICAwuPIzANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhh d3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0EwHhcNMDQwMTI1MDQyNjUzWhcNMDUwMTI0MDQyNjUzWjBEMR8wHQYDVQQD ExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMSEwHwYJKoZIhvcNAQkBFhJlcmlrQGNvZGVmYWt0b3Iu ZGUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDCPCRSG5v9axB4K16kXfOSmGXhYq0F cYGHCMcVMS09mXrz8VX07aIXLCjgioxdhMxAYpVh1vemKjXB4LVlWTURJnmetwDV5AZU+Byf6atB xXVFw4ENfhmHTAPczIAjzTtGKbz6I8tflddE0fsbc2jIL3WYryIckTtCXaOVPBvnOJSlYTf0DS/4 5kVX7aTLiPqdFLKT+M2HiENzX9IMTW1w1FrMkg5FOgLCMRNqxo6DjWQQ7MBZkahglGRga+Y2K7WZ 91aVU+srwUlRYS6T5LeTGIB6FJoF7K3SNluX0dzhfrhTbA9nObj555OHv7BLUFQYs4/6hcrOJyeP sDdbu1ltAgMBAAGjLzAtMB0GA1UdEQQWMBSBEmVyaWtAY29kZWZha3Rvci5kZTAMBgNVHRMBAf8E AjAAMA0GCSqGSIb3DQEBBAUAA4GBALUizkut42q5bYuC93vmy+Z4iD6siPSE2m19GdkjQd9vg5sE XEmGGvbj0V0CciADGRTF2pmSP85PBpxxN7oGtn0JHSrz+uRmz40SoON8igmOMA8yyrZ4jcEilRKV x6sU35bT8liepdaWj5Z5q/hQypFNk4Ayt4YMgKadqwqCm7QsMIIDPzCCAqigAwIBAgIBDTANBgkq hkiG9w0BAQUFADCB0TELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UE BxMJQ2FwZSBUb3duMRowGAYDVQQKExFUaGF3dGUgQ29uc3VsdGluZzEoMCYGA1UECxMfQ2VydGlm aWNhdGlvbiBTZXJ2aWNlcyBEaXZpc2lvbjEkMCIGA1UEAxMbVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIENBMSswKQYJKoZIhvcNAQkBFhxwZXJzb25hbC1mcmVlbWFpbEB0aGF3dGUuY29tMB4XDTAz MDcxNzAwMDAwMFoXDTEzMDcxNjIzNTk1OVowYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0 ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFp bCBJc3N1aW5nIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEpjxVc1X7TrnKmVoeaMB1 BHCd3+n/ox7svc31W/Iadr1/DDph8r9RzgHU5VAKMNcCY1osiRVwjt3J8CuFWqo/cVbLrzwLB+fx H5E2JCoTzyvV84J3PQO+K/67GD4Hv0CAAmTXp6a7n2XRxSpUhQ9IBH+nttE8YQRAHmQZcmC3+wID AQABo4GUMIGRMBIGA1UdEwEB/wQIMAYBAf8CAQAwQwYDVR0fBDwwOjA4oDagNIYyaHR0cDovL2Ny bC50aGF3dGUuY29tL1RoYXd0ZVBlcnNvbmFsRnJlZW1haWxDQS5jcmwwCwYDVR0PBAQDAgEGMCkG A1UdEQQiMCCkHjAcMRowGAYDVQQDExFQcml2YXRlTGFiZWwyLTEzODANBgkqhkiG9w0BAQUFAAOB gQBIjNFQg+oLLswNo2asZw9/r6y+whehQ5aUnX9MIbj4Nh+qLZ82L8D0HFAgk3A8/a3hYWLD2ToZ foSxmRsAxRoLgnSeJVCUYsfbJ3FXJY3dqZw5jowgT2Vfldr394fWxghOrvbqNOUQGls1TXfjViF4 gtwhGTXeJLHTHUb/XV9lTzGCAucwggLjAgEBMGkwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRo YXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVl bWFpbCBJc3N1aW5nIENBAgMLjyMwCQYFKw4DAhoFAKCCAVMwGAYJKoZIhvcNAQkDMQsGCSqGSIb3 DQEHATAcBgkqhkiG9w0BCQUxDxcNMDQxMDEwMjMwODI5WjAjBgkqhkiG9w0BCQQxFgQUDCwkxJOB kfpBThxwKpVbFj6zjYcweAYJKwYBBAGCNxAEMWswaTBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMc VGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZy ZWVtYWlsIElzc3VpbmcgQ0ECAwuPIzB6BgsqhkiG9w0BCRACCzFroGkwYjELMAkGA1UEBhMCWkEx JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAgMLjyMwDQYJKoZIhvcNAQEBBQAEggEAI+rIwegM EWKFc2eRt/wbeisXv3EH2NfpU3teqWqFkrj2khbPV0uPHjxd6mLPrrj93O8MJFaBoTSF3qy9GSoZ xeldIJ49Iyg9Sf/8oR7KN7/mTZkIEnVYASCtu7n2zIBxgoo6C2h2MfO1ZwWunh+6CSma+/lK6AaU yNzhBSVm6sy7Az8jFRkmZSHs6NhnUyVbAi4HKXkWHc3Y53BaGeJ4xBBQywGWEaFApBePayHVVj/+ JHSNuozHxMolVNs59DrXJkEOuw2hfh34W6UhDBmA3iIMq6u6vSZhr+EPSqXRMgaQzjK+ih+FOeD2 kluARes1XlgMaB//+tkpbcNZeKcAGwAAAAAAAA== --Apple-Mail-14-1030908146-- From [email protected] Tue Oct 12 19:08:21 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71402 invoked from network); 12 Oct 2004 19:08:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 12 Oct 2004 19:08:21 -0000 Received: (qmail 68680 invoked by uid 500); 12 Oct 2004 19:08:20 -0000 Delivered-To: [email protected] Received: (qmail 68665 invoked by uid 500); 12 Oct 2004 19:08:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 63762 invoked by uid 500); 12 Oct 2004 19:04:13 -0000 Delivered-To: [email protected] X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Date: 12 Oct 2004 19:04:11 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: svn commit: rev 54688 - incubator/httpd/cli/trunk/mod_aspdotnet X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Author: wrowe Date: Tue Oct 12 12:04:09 2004 New Revision: 54688 Added: incubator/httpd/cli/trunk/mod_aspdotnet/LICENSE.txt - copied unchanged from rev 54000, incubator/httpd/cli/trunk/mod_aspdotnet/LICENSE incubator/httpd/cli/trunk/mod_aspdotnet/README.txt - copied unchanged from rev 54000, incubator/httpd/cli/trunk/mod_aspdotnet/README Removed: incubator/httpd/cli/trunk/mod_aspdotnet/LICENSE incubator/httpd/cli/trunk/mod_aspdotnet/README Log: Ok, this is Win32, use .txt suffixes for the README and LICENSE From [email protected] Thu Oct 21 21:20:37 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13424 invoked from network); 21 Oct 2004 21:20:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 21 Oct 2004 21:20:37 -0000 Received: (qmail 58590 invoked by uid 500); 21 Oct 2004 21:20:30 -0000 Delivered-To: [email protected] Received: (qmail 58527 invoked by uid 500); 21 Oct 2004 21:20:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 58358 invoked by uid 500); 21 Oct 2004 21:20:26 -0000 Delivered-To: [email protected] Received: (qmail 58343 invoked by uid 99); 21 Oct 2004 21:20:26 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 21 Oct 2004 14:20:24 -0700 Received: (qmail 12913 invoked by uid 65534); 21 Oct 2004 21:19:48 -0000 Date: 21 Oct 2004 21:19:48 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: svn commit: rev 55266 - in incubator/httpd/cli/trunk/mod_aspdotnet: . Apache.Web mod X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Author: wrowe Date: Thu Oct 21 14:19:47 2004 New Revision: 55266 Added: incubator/httpd/cli/trunk/mod_aspdotnet/Apache.Web/Apache.Web.Version.h (contents, props changed) incubator/httpd/cli/trunk/mod_aspdotnet/Apache.Web/Apache.Web.rc (contents, props changed) incubator/httpd/cli/trunk/mod_aspdotnet/mod/mod_aspdotnet.rc (contents, props changed) Modified: incubator/httpd/cli/trunk/mod_aspdotnet/ (props changed) incubator/httpd/cli/trunk/mod_aspdotnet/Apache.Web/Apache.Web.h incubator/httpd/cli/trunk/mod_aspdotnet/Apache.Web/Apache.Web.vcproj incubator/httpd/cli/trunk/mod_aspdotnet/Apache.Web/AssemblyInfo.cpp incubator/httpd/cli/trunk/mod_aspdotnet/README.txt incubator/httpd/cli/trunk/mod_aspdotnet/mod/mod_aspdotnet.cpp incubator/httpd/cli/trunk/mod_aspdotnet/mod/mod_aspdotnet.vcproj Log: Split Apache.Web.Version.h out of Apache.Web.h, add resource version tags (.rc files) and update the readme. Added: incubator/httpd/cli/trunk/mod_aspdotnet/Apache.Web/Apache.Web.Version.h ============================================================================== --- (empty file) +++ incubator/httpd/cli/trunk/mod_aspdotnet/Apache.Web/Apache.Web.Version.h Thu Oct 21 14:19:47 2004 @@ -0,0 +1,60 @@ +/* Copyright 2002-2004 The Apache Software Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Apache.Web.Version.h Version declaration macros + +#ifndef APACHE_WEB_VERSION + +// The MAJOR.MINOR revision should reflect the Apache release this module +// is built for. The httpd release guidelines from version 4.0.43 onwards +// assure us that the binaries remain backwards compatibile, within each +// major.minor httpd release. +// +#define APACHE_WEB_VER_MAJOR 2 +#define APACHE_WEB_VER_MINOR 0 + +// The n.n.SUBVS should reflect each mod_aspdotnet/Apache.Web release +// +#define APACHE_WEB_VER_SUBVS 0 + +// The n.n.n.BUILD must be bumped every time Apache.Web class interfaces change. +// This ensures that a specific build of mod_aspdotnet loads it's correponding +// build of Apache.Web, and that multiple builds of Apache.Web coexist in the GAC. +// +#define APACHE_WEB_VER_BUILD 2000 + +// Define APACHE_WEB_VER_RELEASE as 1 for a non-dev, release build, when rolling +// the distribution .zip sources or binary release. +// +#define APACHE_WEB_VER_RELEASE 0 + +#define APACHE_WEB_VERSION_CSV \ + APACHE_WEB_VER_MAJOR,\ + APACHE_WEB_VER_MINOR,\ + APACHE_WEB_VER_SUBVS,\ + APACHE_WEB_VER_BUILD + +// Properly quote a value as a string in the C preprocessor +#define APW_STRINGIFY(n) APW_STRINGIFY_HELPER(n) +// Helper macro for APR_STRINGIFY +#define APW_STRINGIFY_HELPER(n) #n + +#define APACHE_WEB_VERSION \ + APW_STRINGIFY(APACHE_WEB_VER_MAJOR ##. \ + ##APACHE_WEB_VER_MINOR ##. \ + ##APACHE_WEB_VER_SUBVS ##. \ + ##APACHE_WEB_VER_BUILD) + +#endif // APACHE_WEB_VERSION Modified: incubator/httpd/cli/trunk/mod_aspdotnet/Apache.Web/Apache.Web.h ============================================================================== --- incubator/httpd/cli/trunk/mod_aspdotnet/Apache.Web/Apache.Web.h (original) +++ incubator/httpd/cli/trunk/mod_aspdotnet/Apache.Web/Apache.Web.h Thu Oct 21 14:19:47 2004 @@ -15,13 +15,10 @@ // Apache.Web.h base COM interop interfaces for Apache 2.0 - -#ifndef APACHE_WEB_VERSION -#define APACHE_WEB_VERSION "161.129.204.1040" -#endif - #ifndef APACHE_WEB_H #define APACHE_WEB_H + +#include "Apache.Web.Version.h" // We don't care about unused arguments, // or conditional expression constant evaluation Added: incubator/httpd/cli/trunk/mod_aspdotnet/Apache.Web/Apache.Web.rc ============================================================================== --- (empty file) +++ incubator/httpd/cli/trunk/mod_aspdotnet/Apache.Web/Apache.Web.rc Thu Oct 21 14:19:47 2004 @@ -0,0 +1,39 @@ +#include "Apache.Web.Version.h" + +1 VERSIONINFO + FILEVERSION APACHE_WEB_VERSION_CSV + PRODUCTVERSION APACHE_WEB_VERSION_CSV + FILEFLAGSMASK 0x3fL +#if defined(_DEBUG) + FILEFLAGS 0x03L +#else +#if !APACHE_WEB_VER_RELEASE + FILEFLAGS 0x02L +#else + FILEFLAGS 0x0L +#endif +#endif + FILEOS 0x40004L + FILETYPE 0x1L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904b0" + BEGIN + VALUE "Comments", "All rights reserved. The license is available at <http://www.apache.org/licenses/LICENSE-2.0.txt>. The Apache HTTP Server cli-dev subproject pages are at <http://httpd.apache.org/cli-dev/>.\0" + VALUE "CompanyName", "Apache Software Foundation\0" + VALUE "FileDescription", "Apache.Web connector to the mod_aspdotnet module for the Apache HTTP Web Server\0" + VALUE "FileVersion", APACHE_WEB_VERSION "\0" + VALUE "InternalName", "Apache.Web.dll\0" + VALUE "LegalCopyright", "Copyright © 2004 The Apache Software Foundation.\0" + VALUE "OriginalFilename", "Apache.Web.dll\0" + VALUE "ProductName", "mod_aspdotnet/Apache.Web host module for Microsoft ASP.NET within the Apache HTTP Server\0" + VALUE "ProductVersion", APACHE_WEB_VERSION "\0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1200 + END +END Modified: incubator/httpd/cli/trunk/mod_aspdotnet/Apache.Web/Apache.Web.vcproj ============================================================================== --- incubator/httpd/cli/trunk/mod_aspdotnet/Apache.Web/Apache.Web.vcproj (original) +++ incubator/httpd/cli/trunk/mod_aspdotnet/Apache.Web/Apache.Web.vcproj Thu Oct 21 14:19:47 2004 @@ -152,6 +152,9 @@ Name="Header Files" Filter="h;hpp;hxx;hm;inl;inc"> <File + RelativePath="Apache.Web.Version.h"> + </File> + <File RelativePath="Apache.Web.h"> </File> <File @@ -170,6 +173,9 @@ <Filter Name="Resource Files" Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;r"> + <File + RelativePath="Apache.Web.rc"> + </File> </Filter> <File RelativePath="ReadMe.txt"> Modified: incubator/httpd/cli/trunk/mod_aspdotnet/Apache.Web/AssemblyInfo.cpp ============================================================================== --- incubator/httpd/cli/trunk/mod_aspdotnet/Apache.Web/AssemblyInfo.cpp (original) +++ incubator/httpd/cli/trunk/mod_aspdotnet/Apache.Web/AssemblyInfo.cpp Thu Oct 21 14:19:47 2004 @@ -15,11 +15,7 @@ // AssemblyInfo.cpp support for Apache.Web Assembly - -// We aren't looking for much beyond the version, -// so lie that this header was previously loaded -#define APACHE_WEB_H -#include "Apache.Web.h" +#include "Apache.Web.Version.h" #using <mscorlib.dll> Modified: incubator/httpd/cli/trunk/mod_aspdotnet/README.txt ============================================================================== --- incubator/httpd/cli/trunk/mod_aspdotnet/README.txt (original) +++ incubator/httpd/cli/trunk/mod_aspdotnet/README.txt Thu Oct 21 14:19:47 2004 @@ -34,12 +34,19 @@ Alternate Build Notes --------------------- -You may build the module with the free Microsoft Visual C++ Toolkit and -the .NET Framework, instead of the full Developer Studio. However, it's -not possible to create the full installer with this method, and some -registration by-hand is required. - - [NEW batch file and documentation needed] +We have attempted to build the modules with the free Microsoft Visual C++ +Toolkit, Microsoft's .NET Framework SDK and Windows Platform SDK. Sadly, +this combination is not a complete replacement for the Developer Studio, +and is insufficient to build the mod_aspdotnet and Apache.Web.dll modules. + +Notably, none of these packages includes the DelayImp.lib which is +required to link libhttpd, libaprutil and libapr .dll files to the +Apache.Web.dll module. This allows the regasm and gacutil utilities, +amoung others, to load and process the Apache.Web.dll, without loading +the actual Apache .dll files. Without this feature it's impossible to +place Apache.Web.dll in the GAC (required for loading inside Microsoft's +System.Web.Hosting framework), while the Apache .dll files remain in the +Apache bin directory. Deployment Notes @@ -50,7 +57,7 @@ two releases, and Exceptions, destruction, construction and failure cases will manifest differently between the two variants. -Asp.Net requires the Apachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bWacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bRequest object to be registered in +ASP.NET requires the Apachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bWacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bRequest object to be registered in the Global Assembly Cache in order to instantiate it's host container. The Debug build will do so automatically, copying mod_aspdotnet.so + .pdb @@ -69,6 +76,8 @@ This will *NOT* work on an end-user's machine without the .Net SDK. Those tools [regasm/gacutil] aren't installed with the retail .Net-redist install. +Instead, the .msi installer package, with the details for registering the +Apache.Web assembly into the Global Assembly Cache, is used for end-users. TODO @@ -87,34 +96,6 @@ a much more efficient method. Note that the .msi package searches for apache/bin/apache.exe up to 3 levels -deep from the local hard drives, in sequence. It aught to further test for -version 161.129.204.104 or later. - -The installer cannot be configured correctly from the MS Visual Studio -environment; the follow changes should be programmed to automatically -occur after building installer.msi; - -Modify the following records; - - Table Property Value - Property FolderForm_AllUsers s/ME/ALL/ - -Insert the follow records; - - Table Action Type Source Target - CustomAction DIRCH_TARGETDIR 307 TARGETDIR [HTTPSDPATH]\.. - - Table Action Condition Seq - InstallUISequence DIRCH_TARGETDIR HTTPSDPATH<>"" 725 - InstallExecuteSequence DIRCH_TARGETDIR HTTPSDPATH<>"" 725 - -This sequence uses the HTTPSDPATH search already built into the -installer.msi project, and sets that default as the targetdir for -the installation. - -It is entirely possible for the project to also create a .bat file -build script using the http://msdn.microsoft.com/visualc/vctoolkit2003/ -Visual C++ Toolkit for .NET (a free download.) Of course, it would not -be possible to create the .msi installer using that file. It would be -possible to use the free XML-based .msi packaging techology, however. +deep from the local hard drives, in sequence. It aught to test further, as +necessary, or allow explicitly long paths. Modified: incubator/httpd/cli/trunk/mod_aspdotnet/mod/mod_aspdotnet.cpp ============================================================================== --- incubator/httpd/cli/trunk/mod_aspdotnet/mod/mod_aspdotnet.cpp (original) +++ incubator/httpd/cli/trunk/mod_aspdotnet/mod/mod_aspdotnet.cpp Thu Oct 21 14:19:47 2004 @@ -43,10 +43,7 @@ #include "util_filter.h" #include "util_script.h" -// We aren't looking for much beyond the version, -// so lie that this header was previously loaded -#define APACHE_WEB_H -#include "Apache.Web.h" +#include "Apache.Web.Version.h" #include <mscoree.h> #import <mscorlib.tlb> raw_interfaces_only \ Added: incubator/httpd/cli/trunk/mod_aspdotnet/mod/mod_aspdotnet.rc ============================================================================== --- (empty file) +++ incubator/httpd/cli/trunk/mod_aspdotnet/mod/mod_aspdotnet.rc Thu Oct 21 14:19:47 2004 @@ -0,0 +1,40 @@ +#include "..\Apache.Web\Apache.Web.Version.h" + +1 VERSIONINFO + FILEVERSION APACHE_WEB_VERSION_CSV + PRODUCTVERSION APACHE_WEB_VERSION_CSV + FILEFLAGSMASK 0x3fL +#if defined(_DEBUG) + FILEFLAGS 0x03L +#else +#if !APACHE_WEB_VER_RELEASE + FILEFLAGS 0x02L +#else + FILEFLAGS 0x0L +#endif +#endif + FILEOS 0x40004L + FILETYPE 0x1L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904b0" + BEGIN + VALUE "Comments", "All rights reserved. The license is available at <http://www.apache.org/licenses/LICENSE-2.0.txt>. The Apache HTTP Server cli-dev subproject pages are at <http://httpd.apache.org/cli-dev/>.\0" + VALUE "CompanyName", "Apache Software Foundation\0" + VALUE "FileDescription", "Apache.Web connector to mod_aspdotnet for Apache HTTP Server\0" + VALUE "FileDescription", "aspdotnet_module connector module to Apache.Web for the Apache HTTP Web Server\0" + VALUE "FileVersion", APACHE_WEB_VERSION "\0" + VALUE "InternalName", "mod_aspdotnet.so\0" + VALUE "LegalCopyright", "Copyright © 2004 The Apache Software Foundation.\0" + VALUE "OriginalFilename", "mod_aspdotnet.so\0" + VALUE "ProductName", "mod_aspdotnet/Apache.Web host module for Microsoft ASP.NET within the Apache HTTP Server\0" + VALUE "ProductVersion", APACHE_WEB_VERSION "\0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1200 + END +END Modified: incubator/httpd/cli/trunk/mod_aspdotnet/mod/mod_aspdotnet.vcproj ============================================================================== --- incubator/httpd/cli/trunk/mod_aspdotnet/mod/mod_aspdotnet.vcproj (original) +++ incubator/httpd/cli/trunk/mod_aspdotnet/mod/mod_aspdotnet.vcproj Thu Oct 21 14:19:47 2004 @@ -139,6 +139,9 @@ <Filter Name="Resource Files" Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;r"> + <File + RelativePath="mod_aspdotnet.rc"> + </File> </Filter> </Files> <Globals> From [email protected] Mon Oct 25 21:37:27 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91075 invoked from network); 25 Oct 2004 21:37:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 25 Oct 2004 21:37:27 -0000 Received: (qmail 98821 invoked by uid 500); 25 Oct 2004 21:37:27 -0000 Delivered-To: [email protected] Received: (qmail 98805 invoked by uid 500); 25 Oct 2004 21:37:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 98791 invoked by uid 500); 25 Oct 2004 21:37:26 -0000 Delivered-To: [email protected] Received: (qmail 98788 invoked by uid 99); 25 Oct 2004 21:37:26 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 25 Oct 2004 14:37:26 -0700 Received: (qmail 91065 invoked by uid 65534); 25 Oct 2004 21:37:24 -0000 Date: 25 Oct 2004 21:37:24 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: svn commit: rev 55533 - incubator/httpd/cli/trunk/mod_aspdotnet/mod X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Author: wrowe Date: Mon Oct 25 14:37:23 2004 New Revision: 55533 Modified: incubator/httpd/cli/trunk/mod_aspdotnet/mod/mod_aspdotnet.cpp Log: Solve a slow irritating leak, iterators for the request should be allocated from the request pool, not the conf pool! Submitted by: Larry Toppi <larry.toppi citrix.com> Modified: incubator/httpd/cli/trunk/mod_aspdotnet/mod/mod_aspdotnet.cpp ============================================================================== --- incubator/httpd/cli/trunk/mod_aspdotnet/mod/mod_aspdotnet.cpp (original) +++ incubator/httpd/cli/trunk/mod_aspdotnet/mod/mod_aspdotnet.cpp Mon Oct 25 14:37:23 2004 @@ -436,7 +436,7 @@ asp_net_host_conf_t *host = NULL; apr_hash_index_t *item; - for (item = apr_hash_first(conf->pool, sconf->aliases); item; + for (item = apr_hash_first(r->pool, sconf->aliases); item; item = apr_hash_next(item)) { asp_net_alias_t *alias; From [email protected] Mon Oct 25 22:40:53 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13863 invoked from network); 25 Oct 2004 22:40:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 25 Oct 2004 22:40:53 -0000 Received: (qmail 94516 invoked by uid 500); 25 Oct 2004 22:40:53 -0000 Delivered-To: [email protected] Received: (qmail 94480 invoked by uid 500); 25 Oct 2004 22:40:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 94464 invoked by uid 99); 25 Oct 2004 22:40:52 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO ajax.cnchost.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 25 Oct 2004 15:40:51 -0700 Received: from rcsv650.rowe-clan.net (c-24-13-128-132.client.comcast.net [161.129.204.104]) by ajax.cnchost.com id SAA01423; Mon, 25 Oct 2004 18:40:49 -0400 (EDT) [ConcentricHost SMTP Relay 1.17] Errors-To: <[email protected]> Message-Id: <[email protected]> X-Sender: [email protected] X-Mailer: QUALCOMM Windows Eudora Version 161.129.204.104 Date: Mon, 25 Oct 2004 17:26:49 -0500 To: [email protected] From: "William A. Rowe, Jr." <[email protected]> Subject: Open patches; all applied? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Quick question; are there any patches (other than some initialization checking that's been brought up) that I've misplaced, before rolling the next candidate of mod_aspdotnet? I did just apply Larry's fix for request host iterator allocation in the request instead of conf pool. Bill From [email protected] Sat Oct 30 18:06:48 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69067 invoked from network); 30 Oct 2004 18:06:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 30 Oct 2004 18:06:48 -0000 Received: (qmail 51122 invoked by uid 500); 30 Oct 2004 18:06:38 -0000 Delivered-To: [email protected] Received: (qmail 51021 invoked by uid 500); 30 Oct 2004 18:06:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 50984 invoked by uid 500); 30 Oct 2004 18:06:37 -0000 Delivered-To: [email protected] Received: (qmail 50976 invoked by uid 99); 30 Oct 2004 18:06:36 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 30 Oct 2004 11:06:36 -0700 Received: (qmail 69034 invoked by uid 65534); 30 Oct 2004 18:06:32 -0000 Date: 30 Oct 2004 18:06:32 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: svn commit: rev 56054 - incubator/httpd/cli/branches/mod_aspdotnet X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Author: wrowe Date: Sat Oct 30 11:06:31 2004 New Revision: 56054 Added: incubator/httpd/cli/branches/mod_aspdotnet/ Log: Prepare for rc1 branch of mod_aspdotnet From [email protected] Sat Oct 30 18:07:01 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69114 invoked from network); 30 Oct 2004 18:07:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 30 Oct 2004 18:07:00 -0000 Received: (qmail 52283 invoked by uid 500); 30 Oct 2004 18:07:00 -0000 Delivered-To: [email protected] Received: (qmail 52255 invoked by uid 500); 30 Oct 2004 18:07:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 52242 invoked by uid 500); 30 Oct 2004 18:07:00 -0000 Delivered-To: [email protected] Received: (qmail 52239 invoked by uid 99); 30 Oct 2004 18:07:00 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 30 Oct 2004 11:07:00 -0700 Received: (qmail 69103 invoked by uid 65534); 30 Oct 2004 18:06:59 -0000 Date: 30 Oct 2004 18:06:59 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: svn commit: rev 56055 - incubator/httpd/cli/branches/mod_aspdotnet/v2.0.0 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Author: wrowe Date: Sat Oct 30 11:06:58 2004 New Revision: 56055 Added: incubator/httpd/cli/branches/mod_aspdotnet/v2.0.0/ - copied from rev 56054, incubator/httpd/cli/trunk/mod_aspdotnet/ Log: Branch r2.0.0 From [email protected] Sat Oct 30 18:09:43 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69507 invoked from network); 30 Oct 2004 18:09:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 30 Oct 2004 18:09:43 -0000 Received: (qmail 55746 invoked by uid 500); 30 Oct 2004 18:09:43 -0000 Delivered-To: [email protected] Received: (qmail 55728 invoked by uid 500); 30 Oct 2004 18:09:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 55713 invoked by uid 500); 30 Oct 2004 18:09:43 -0000 Delivered-To: [email protected] Received: (qmail 55710 invoked by uid 99); 30 Oct 2004 18:09:43 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 30 Oct 2004 11:09:42 -0700 Received: (qmail 69501 invoked by uid 65534); 30 Oct 2004 18:09:41 -0000 Date: 30 Oct 2004 18:09:41 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: svn commit: rev 56056 - incubator/httpd/cli/branches/mod_aspdotnet/v2.0.0/Apache.Web X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Author: wrowe Date: Sat Oct 30 11:09:41 2004 New Revision: 56056 Modified: incubator/httpd/cli/branches/mod_aspdotnet/v2.0.0/Apache.Web/Apache.Web.Version.h Log: Bump as a release build. Not sure if bump -n- tag or tag then bump makes the best sense. Modified: incubator/httpd/cli/branches/mod_aspdotnet/v2.0.0/Apache.Web/Apache.Web.Version.h ============================================================================== --- incubator/httpd/cli/branches/mod_aspdotnet/v2.0.0/Apache.Web/Apache.Web.Version.h (original) +++ incubator/httpd/cli/branches/mod_aspdotnet/v2.0.0/Apache.Web/Apache.Web.Version.h Sat Oct 30 11:09:41 2004 @@ -38,7 +38,7 @@ // Define APACHE_WEB_VER_RELEASE as 1 for a non-dev, release build, when rolling // the distribution .zip sources or binary release. // -#define APACHE_WEB_VER_RELEASE 0 +#define APACHE_WEB_VER_RELEASE 1 #define APACHE_WEB_VERSION_CSV \ APACHE_WEB_VER_MAJOR,\ From [email protected] Sat Oct 30 18:13:31 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70285 invoked from network); 30 Oct 2004 18:13:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 30 Oct 2004 18:13:31 -0000 Received: (qmail 57720 invoked by uid 500); 30 Oct 2004 18:13:31 -0000 Delivered-To: [email protected] Received: (qmail 57689 invoked by uid 500); 30 Oct 2004 18:13:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 57676 invoked by uid 500); 30 Oct 2004 18:13:30 -0000 Delivered-To: [email protected] Received: (qmail 57672 invoked by uid 99); 30 Oct 2004 18:13:30 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 30 Oct 2004 11:13:30 -0700 Received: (qmail 70279 invoked by uid 65534); 30 Oct 2004 18:13:28 -0000 Date: 30 Oct 2004 18:13:28 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: svn commit: rev 56057 - incubator/httpd/cli/trunk/mod_aspdotnet/Apache.Web X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Author: wrowe Date: Sat Oct 30 11:13:28 2004 New Revision: 56057 Modified: incubator/httpd/cli/trunk/mod_aspdotnet/Apache.Web/Apache.Web.Version.h Log: trunk is on 2.0.1 Modified: incubator/httpd/cli/trunk/mod_aspdotnet/Apache.Web/Apache.Web.Version.h ============================================================================== --- incubator/httpd/cli/trunk/mod_aspdotnet/Apache.Web/Apache.Web.Version.h (original) +++ incubator/httpd/cli/trunk/mod_aspdotnet/Apache.Web/Apache.Web.Version.h Sat Oct 30 11:13:28 2004 @@ -27,7 +27,7 @@ // The n.n.SUBVS should reflect each mod_aspdotnet/Apache.Web release // -#define APACHE_WEB_VER_SUBVS 0 +#define APACHE_WEB_VER_SUBVS 1 // The n.n.n.BUILD must be bumped every time Apache.Web class interfaces change. // This ensures that a specific build of mod_aspdotnet loads it's correponding From [email protected] Sat Oct 30 18:56:24 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82354 invoked from network); 30 Oct 2004 18:56:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 30 Oct 2004 18:56:24 -0000 Received: (qmail 88117 invoked by uid 500); 30 Oct 2004 18:56:24 -0000 Delivered-To: [email protected] Received: (qmail 88098 invoked by uid 500); 30 Oct 2004 18:56:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 88084 invoked by uid 99); 30 Oct 2004 18:56:23 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO devonshire.cnchost.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 30 Oct 2004 11:56:23 -0700 Received: from rcsv650.rowe-clan.net (c-24-13-128-132.client.comcast.net [161.129.204.104]) by devonshire.cnchost.com id OAA06483; Sat, 30 Oct 2004 14:56:20 -0400 (EDT) [ConcentricHost SMTP Relay 1.17] Errors-To: <[email protected]> Message-Id: <[email protected]> X-Sender: [email protected] X-Mailer: QUALCOMM Windows Eudora Version 161.129.204.104 Date: Sat, 30 Oct 2004 13:54:44 -0500 To: "CLI Dev" <[email protected]> From: "William A. Rowe, Jr." <[email protected]> Subject: Re: Free Visual C++ compiler (2003 version) In-Reply-To: <[email protected]> References: <00f301c47e43$0ae03170$9748e204@RUFF01> <[email protected]> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=====================_303220093==_" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=====================_303220093==_ Content-Type: text/plain; charset="us-ascii" Ok team, here's the long story short why we can't employ the free flavor of the Visual C++ compiler. Please correct me if I'm wrong. The Visual C++ Toolkit 2003 ships with a subset of the includes and libs that a full product would ship with. Because this is pretty basic code, that isn't generally a problem for the code we compile. However, the missing DelayImp.lib causes mod_aspdotnet a huge problem. In order, for example, for the gacutil or regasm utilities to process an assembly, these utilities attempt to load them. Because the .dll files libapr.dll, libaprutil.dll, and libhttpd.dll are all in the installed Apache directory, and Apache.Web.dll starts its life in the build tree then moves to the global assembly cache tree, this is an impossible hurdle. We don't want to maintain two sets of the httpd.dll files. And we cannot locate Apache.Web.dll in the installed httpd tree. Registering this assembly by reference in an external tree allows .NET to load it, but the ASP.NET loader won't load a System.Web.Host provider assembly from a location outside of the GAC. So instead, I PATH'ed the apacheroot\bin directory to get around this for the moment. I then successfully compile the Apache.Web.dll assembly, but including comdef.h brings in comutil.h - and comutil.h isn't distributed in the Platform SDK for Windows XP SP2, although they include comdef.h (?). So we get the assemblies but not the httpd module to build. Attached is the .bat file I was working on to try building with the free tools. Anyone who wants to invest more effort has my blessings and everyone's appreciation. Remember you need to run the envvar/setenv/vcvars32 for each of the elements: * Windows Platform SDK * .NET Framework SDK * Visual C++ Toolkit Bill At 02:30 PM 8/9/2004, William A. Rowe, Jr. wrote: >Jeff, > > The essential problem is that there is no make distributed with >that compiler, so I don't see folks building httpd with it any time >soon. A most unfortunate omission. > > On the other hand, simple modules (even mod_aspdotnet and >the corresponding apache.web.cpp files), or apxs, could easily >use the free compiler. > > I'm working on an alternate build for mod_aspdotnet to compile >with either the full dev studio or only the free compiler. Batch/shell >script is a generally lousy build environment, but for this case, I'm >thinking it's ideal :) > >Bill > >At 01:51 PM 8/9/2004, Jeff White wrote: > >>For Windows .NET Framework 1.1 >>and Windows Win32 usage: >> >>Any one ran _any_ compile tests for >>usage in Apache Windows Win32 >>development? >> >>July 2004 >> >><quote> >> >>The Microsoft Visual C++ Toolkit 2003 >>includes the core tools developers need >>to compile and link C++-based applications >>for Windows and the .NET Common Language >>Runtime: >> >>Snip >> >>The Visual C++ Toolkit 2003, version 1.01 >>(released July 6, 2004) supplants version 1.0 >>(released April 16, 2004). Version 1.01 updates >>the included Visual C++ compiler to exactly >>match the compiler that ships with Visual Studio >>.NET 2003 (build 781-516-4501). In the initial 1.0 >>Toolkit release, the build numbers of the compilers >>differed slightly. Version 1.01 of the Toolkit also >>corrects some minor grammatical issues in the >>sample whitepapers and in the command prompt >>window. >> >></quote> >> >>The Microsoft Visual C++ Toolkit 2003 Home Page >>http://msdn.microsoft.com/visualc/vctoolkit2003/ >> >>Visual C++ Toolkit 2003 Download >>http://www.microsoft.com/downloads/details.aspx?FamilyID=272be09d-40bb-49fd-9cb0-4bfa122fa91b&displaylang=en >> >>Yes .NET Framework 1.0 and 1.1 can be >>used inside Apache Windows when loaded >>via a C++ Apache Windows module that >>loads .NET assemblies..... >> >>Jeff --=====================_303220093==_ Content-Type: text/plain; charset="us-ascii" Content-Disposition: attachment; filename="build_local.bat" @echo off echo In order to perform the build, adjust the path below and ensure you echo invoke the batch file with the proper environment variables for echo the Microsoft Visual C++ Toolkit 2003 and Microsoft .NET SDK set APACHE_PATH=c:\Program Files\Apache Group\Apache2 set PATH=%PATH%;%APACHE_PATH%\bin echo. echo Using APACHE_PATH to %APACHE_PATH% rem Pre-unregister an existing package, if we had built before; regasm /nologo /unregister "..\Release\Apache.Web.dll" > nul 2>&1 echo. echo Building Apache.Web Assemblies cd Apache.Web csc /nologo /w:4 /debug- /o+ /t:module /out:"..\Release\Apache.Web.Helpers.netmodule" Helpers\_gcA_gcA_gcString.cs if errorlevel 1 goto failed rem optimization not allowed: /O2 /Ob1 cl /nologo /EHac /I "%APACHE_PATH%\include" /AI "..\Release" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_WINDLL" /FD /MT /GS /Fo"..\Release\WorkerRequest.obj" /Fd"..\Release\Apache.Web_src.pdb" /W4 /clr /c WorkerRequest.cpp if errorlevel 1 goto failed cl /nologo /EHac /I "%APACHE_PATH%\include" /AI "..\Release" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_WINDLL" /FD /MT /GS /Fo"..\Release\AssemblyInfo.obj" /Fd"..\Release\Apache.Web_src.pdb" /W4 /clr /c AssemblyInfo.cpp if errorlevel 1 goto failed rem dropped DelayImp.lib /DELAYLOAD:"libapr.dll" /DELAYLOAD:"libaprutil.dll" /DELAYLOAD:"libhttpd.dll" link /nologo /OUT:"..\Release\Apache.Web.dll" /INCREMENTAL:NO /LIBPATH:"%APACHE_PATH%\lib" /DLL /MAP /OPT:REF libapr.lib libaprutil.lib libhttpd.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\Release\AssemblyInfo.obj ..\Release\WorkerRequest.obj if errorlevel 1 goto failed cd .. echo. echo Registering and installing the assembly into the GAC cd Release regasm /nologo /tlb:"Apache.Web.tlb" "Apache.Web.dll" if errorlevel 1 goto failed gacutil /nologo /if "Apache.Web.dll" if errorlevel 1 goto failed cd .. echo. echo Building mod_aspdotnet.so cd mod rem optimization not allowed: /O2 /Ob1 cl /nologo /EHac /I "..\Apache.Web" /I "%APACHE_PATH%\include" /I "..\Release" /AI "..\Release" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_WINDLL" /FD /EHsc /MT /GS /Fo"..\Release\mod_aspdotnet.obj" /Fd"..\Release\mod_aspdotnet_src.pdb" /W4 /c /Zi mod_aspdotnet.cpp if errorlevel 1 goto failed link /OUT:"..\Release\mod_aspdotnet.so" /INCREMENTAL:NO /NOLOGO /LIBPATH:"%APACHE_PATH%\lib" /DLL /DEBUG /PDB:"..\Release\mod_aspdotnet.pdb" /OPT:REF libapr.lib libaprutil.lib libhttpd.lib mscoree.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\Release\mod_aspdotnet.obj if errorlevel 1 goto failed cd .. echo. echo Installing mod_aspdotnet.so copy /y Release\mod_aspdotnet.so "%APACHE_PATH%\modules\mod_aspdotnet.so" :failed --=====================_303220093==_ Content-Type: text/plain; charset="us-ascii" --=====================_303220093==_-- From [email protected] Sat Oct 30 19:09:17 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88120 invoked from network); 30 Oct 2004 19:09:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 30 Oct 2004 19:09:17 -0000 Received: (qmail 97727 invoked by uid 500); 30 Oct 2004 19:09:17 -0000 Delivered-To: [email protected] Received: (qmail 97698 invoked by uid 500); 30 Oct 2004 19:09:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 97685 invoked by uid 500); 30 Oct 2004 19:09:16 -0000 Delivered-To: [email protected] Received: (qmail 97682 invoked by uid 99); 30 Oct 2004 19:09:16 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 30 Oct 2004 12:09:16 -0700 Received: (qmail 88099 invoked by uid 65534); 30 Oct 2004 19:09:15 -0000 Date: 30 Oct 2004 19:09:15 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: svn commit: rev 56059 - incubator/httpd/cli/trunk/mod_aspdotnet X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Author: wrowe Date: Sat Oct 30 12:09:14 2004 New Revision: 56059 Added: incubator/httpd/cli/trunk/mod_aspdotnet/CHANGES.txt (contents, props changed) incubator/httpd/cli/trunk/mod_aspdotnet/STATUS.txt (contents, props changed) Log: New files, as of 2.0.1 start tracking these details. Added: incubator/httpd/cli/trunk/mod_aspdotnet/CHANGES.txt ============================================================================== --- (empty file) +++ incubator/httpd/cli/trunk/mod_aspdotnet/CHANGES.txt Sat Oct 30 12:09:14 2004 @@ -0,0 +1,23 @@ +Changes to Apache mod_aspdotnet 2.0.1 + + + +Changes to Apache mod_aspdotnet 2.0.0: + + Allocate the iterator used to review our AspNetMount entries from + the request pool, not the configuration pool. + [Larry Toppi <larry.toppi citrix.com>] + + Added .rc VERSIONINFO tags to query the version of the mod_aspdotnet.so + and Apache.Web.dll files. [Will Rowe] + + Release com objects immediately after querying for an interface, + before we error out that we failed to retrieve an interface. + [<hammet <hammett uol.com.br>] + + Don't test for a specific httpd.exe or apache.exe binary name, and + use the correct public key token for loading the Apache.Web assembly + [Yussef Alkhamrichi <yalkhamrichi hotmail.com> + + Original code contributed by William A. Rowe, Jr. and Covalent + Technologies, Inc. \ No newline at end of file Added: incubator/httpd/cli/trunk/mod_aspdotnet/STATUS.txt ============================================================================== --- (empty file) +++ incubator/httpd/cli/trunk/mod_aspdotnet/STATUS.txt Sat Oct 30 12:09:14 2004 @@ -0,0 +1,26 @@ +APACHE mod_aspdotnet STATUS: -*-text-*- +Last modified at [$Date: 2004/10/30 01:00:00 $] + +Release: + + 2.0.0 : tagged October 30, 2004 + +RELEASE SHOWSTOPPERS: + + * Vote to accept 2.0.0 for GA release + + * Vote to accept the cli subproject for graduation + + * Vote to accept the cli subproject mod_aspdotnet from httpd + + +CURRENT RELEASE NOTES: + + * Supports Microsoft's ASP.NET / .NET Runtime v1.1 and + Apache 2.0. This can be made more flexible for the user + to select an alternate runtime. Testing on Apache 2.1-dev + version should begin immediately after graduation. + +CURRENT VOTES: + + From [email protected] Sat Oct 30 19:31:22 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4711 invoked from network); 30 Oct 2004 19:31:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 30 Oct 2004 19:31:21 -0000 Received: (qmail 11564 invoked by uid 500); 30 Oct 2004 19:31:20 -0000 Delivered-To: [email protected] Received: (qmail 11531 invoked by uid 500); 30 Oct 2004 19:31:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 11518 invoked by uid 500); 30 Oct 2004 19:31:20 -0000 Delivered-To: [email protected] Received: (qmail 11513 invoked by uid 99); 30 Oct 2004 19:31:19 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,MULTI_REMOVAL_1WORD,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 30 Oct 2004 12:31:06 -0700 Received: (qmail 4544 invoked by uid 65534); 30 Oct 2004 19:31:05 -0000 Date: 30 Oct 2004 19:31:05 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: svn commit: rev 56064 - in incubator/httpd/cli/trunk/mod_aspdotnet: . installer X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Author: wrowe Date: Sat Oct 30 12:31:04 2004 New Revision: 56064 Added: incubator/httpd/cli/trunk/mod_aspdotnet/installer.ism (contents, props changed) Removed: incubator/httpd/cli/trunk/mod_aspdotnet/installer/ incubator/httpd/cli/trunk/mod_aspdotnet/installer.isv Log: Remove the old installer, add the .xml InstallShield X installer Added: incubator/httpd/cli/trunk/mod_aspdotnet/installer.ism ============================================================================== --- (empty file) +++ incubator/httpd/cli/trunk/mod_aspdotnet/installer.ism Sat Oct 30 12:31:04 2004 @@ -0,0 +1,4492 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<?xml-stylesheet type="text/xsl" href="is.xsl" ?> +<!DOCTYPE msi [ + <!ELEMENT msi (summary,table*)> + <!ATTLIST msi version CDATA #REQUIRED> + <!ATTLIST msi xmlns:dt CDATA #IMPLIED + codepage CDATA #IMPLIED + compression (MSZIP|LZX|none) "LZX"> + + <!ELEMENT summary (codepage?,title?,subject?,author?,keywords?,comments?, + template,lastauthor?,revnumber,lastprinted?, + createdtm?,lastsavedtm?,pagecount,wordcount, + charcount?,appname?,security?)> + + <!ELEMENT codepage (#PCDATA)> + <!ELEMENT title (#PCDATA)> + <!ELEMENT subject (#PCDATA)> + <!ELEMENT author (#PCDATA)> + <!ELEMENT keywords (#PCDATA)> + <!ELEMENT comments (#PCDATA)> + <!ELEMENT template (#PCDATA)> + <!ELEMENT lastauthor (#PCDATA)> + <!ELEMENT revnumber (#PCDATA)> + <!ELEMENT lastprinted (#PCDATA)> + <!ELEMENT createdtm (#PCDATA)> + <!ELEMENT lastsavedtm (#PCDATA)> + <!ELEMENT pagecount (#PCDATA)> + <!ELEMENT wordcount (#PCDATA)> + <!ELEMENT charcount (#PCDATA)> + <!ELEMENT appname (#PCDATA)> + <!ELEMENT security (#PCDATA)> + + <!ELEMENT table (col+,row*)> + <!ATTLIST table + name CDATA #REQUIRED> + + <!ELEMENT col (#PCDATA)> + <!ATTLIST col + key (yes|no) #IMPLIED + def CDATA #IMPLIED> + + <!ELEMENT row (td+)> + + <!ELEMENT td (#PCDATA)> + <!ATTLIST td + href CDATA #IMPLIED + dt:dt (string|bin.base64) #IMPLIED + md5 CDATA #IMPLIED> +]> +<msi version="2.0" xmlns:dt="urn:schemas-microsoft-com:datatypes"> + + <summary> + <codepage>1252</codepage> + <title>Installation Database</title> + <subject>Apache mod_aspdotnet</subject> + <author>##COMPANY_NAME##</author> + <keywords>Installer,MSI,Database</keywords> + <comments>##ID_STRING1##</comments> + <template>Intel;1033</template> + <lastauthor>Administrator</lastauthor> + <revnumber>{F0A1AD16-6B9F-4DBD-AA5F-811B7F6F5337}</revnumber> + <lastprinted/> + <createdtm>06/21/1999 01:00</createdtm> + <lastsavedtm>07/14/2000 04:50</lastsavedtm> + <pagecount>200</pagecount> + <wordcount>0</wordcount> + <charcount/> + <appname>InstallShield Developer</appname> + <security>1</security> + </summary> + + <table name="ActionText"> + <col key="yes" def="s72">Action</col> + <col def="L64">Description</col> + <col def="L128">Template</col> + <row><td>Advertise</td><td>##IDS_ACTIONTEXT_1##</td><td/></row> + <row><td>AllocateRegistrySpace</td><td>##IDS_ACTIONTEXT_2##</td><td>##IDS_ACTIONTEXT_3##</td></row> + <row><td>AppSearch</td><td>##IDS_ACTIONTEXT_4##</td><td>##IDS_ACTIONTEXT_5##</td></row> + <row><td>BindImage</td><td>##IDS_ACTIONTEXT_6##</td><td>##IDS_ACTIONTEXT_7##</td></row> + <row><td>CCPSearch</td><td>##IDS_ACTIONTEXT_8##</td><td/></row> + <row><td>CostFinalize</td><td>##IDS_ACTIONTEXT_9##</td><td/></row> + <row><td>CostInitialize</td><td>##IDS_ACTIONTEXT_10##</td><td/></row> + <row><td>CreateFolders</td><td>##IDS_ACTIONTEXT_11##</td><td>##IDS_ACTIONTEXT_12##</td></row> + <row><td>CreateShortcuts</td><td>##IDS_ACTIONTEXT_13##</td><td>##IDS_ACTIONTEXT_14##</td></row> + <row><td>DeleteServices</td><td>##IDS_ACTIONTEXT_15##</td><td>##IDS_ACTIONTEXT_16##</td></row> + <row><td>DuplicateFiles</td><td>##IDS_ACTIONTEXT_17##</td><td>##IDS_ACTIONTEXT_18##</td></row> + <row><td>FileCost</td><td>##IDS_ACTIONTEXT_19##</td><td/></row> + <row><td>FindRelatedProducts</td><td>##IDS_ACTIONTEXT_115##</td><td>##IDS_ACTIONTEXT_116##</td></row> + <row><td>GenerateScript</td><td>##IDS_ACTIONTEXT_20##</td><td>##IDS_ACTIONTEXT_21##</td></row> + <row><td>InstallAdminPackage</td><td>##IDS_ACTIONTEXT_22##</td><td>##IDS_ACTIONTEXT_23##</td></row> + <row><td>InstallFiles</td><td>##IDS_ACTIONTEXT_24##</td><td>##IDS_ACTIONTEXT_25##</td></row> + <row><td>InstallODBC</td><td>##IDS_ACTIONTEXT_26##</td><td/></row> + <row><td>InstallSFPCatalogFile</td><td>##IDS_ACTIONTEXT_121##</td><td>##IDS_ACTIONTEXT_122##</td></row> + <row><td>InstallServices</td><td>##IDS_ACTIONTEXT_27##</td><td>##IDS_ACTIONTEXT_28##</td></row> + <row><td>InstallValidate</td><td>##IDS_ACTIONTEXT_29##</td><td/></row> + <row><td>LaunchConditions</td><td>##IDS_ACTIONTEXT_30##</td><td/></row> + <row><td>MigrateFeatureStates</td><td>##IDS_ACTIONTEXT_117##</td><td>##IDS_ACTIONTEXT_118##</td></row> + <row><td>MoveFiles</td><td>##IDS_ACTIONTEXT_31##</td><td>##IDS_ACTIONTEXT_32##</td></row> + <row><td>PatchFiles</td><td>##IDS_ACTIONTEXT_33##</td><td>##IDS_ACTIONTEXT_34##</td></row> + <row><td>ProcessComponents</td><td>##IDS_ACTIONTEXT_35##</td><td/></row> + <row><td>PublishComponents</td><td>##IDS_ACTIONTEXT_36##</td><td>##IDS_ACTIONTEXT_37##</td></row> + <row><td>PublishFeatures</td><td>##IDS_ACTIONTEXT_38##</td><td>##IDS_ACTIONTEXT_39##</td></row> + <row><td>PublishProduct</td><td>##IDS_ACTIONTEXT_40##</td><td/></row> + <row><td>RMCCPSearch</td><td>##IDS_ACTIONTEXT_72##</td><td/></row> + <row><td>RegisterClassInfo</td><td>##IDS_ACTIONTEXT_41##</td><td>##IDS_ACTIONTEXT_42##</td></row> + <row><td>RegisterComPlus</td><td>##IDS_ACTIONTEXT_111##</td><td>##IDS_ACTIONTEXT_112##</td></row> + <row><td>RegisterExtensionInfo</td><td>##IDS_ACTIONTEXT_43##</td><td>##IDS_ACTIONTEXT_44##</td></row> + <row><td>RegisterFonts</td><td>##IDS_ACTIONTEXT_45##</td><td>##IDS_ACTIONTEXT_46##</td></row> + <row><td>RegisterMIMEInfo</td><td>##IDS_ACTIONTEXT_47##</td><td>##IDS_ACTIONTEXT_48##</td></row> + <row><td>RegisterProduct</td><td>##IDS_ACTIONTEXT_49##</td><td>##IDS_ACTIONTEXT_50##</td></row> + <row><td>RegisterProgIdInfo</td><td>##IDS_ACTIONTEXT_51##</td><td>##IDS_ACTIONTEXT_52##</td></row> + <row><td>RegisterTypeLibraries</td><td>##IDS_ACTIONTEXT_53##</td><td>##IDS_ACTIONTEXT_54##</td></row> + <row><td>RegisterUser</td><td>##IDS_ACTIONTEXT_55##</td><td>##IDS_ACTIONTEXT_56##</td></row> + <row><td>RemoveDuplicateFiles</td><td>##IDS_ACTIONTEXT_57##</td><td>##IDS_ACTIONTEXT_58##</td></row> + <row><td>RemoveEnvironmentStrings</td><td>##IDS_ACTIONTEXT_59##</td><td>##IDS_ACTIONTEXT_60##</td></row> + <row><td>RemoveExistingProducts</td><td>##IDS_ACTIONTEXT_119##</td><td>##IDS_ACTIONTEXT_120##</td></row> + <row><td>RemoveFiles</td><td>##IDS_ACTIONTEXT_61##</td><td>##IDS_ACTIONTEXT_62##</td></row> + <row><td>RemoveFolders</td><td>##IDS_ACTIONTEXT_63##</td><td>##IDS_ACTIONTEXT_64##</td></row> + <row><td>RemoveIniValues</td><td>##IDS_ACTIONTEXT_65##</td><td>##IDS_ACTIONTEXT_66##</td></row> + <row><td>RemoveODBC</td><td>##IDS_ACTIONTEXT_67##</td><td/></row> + <row><td>RemoveRegistryValues</td><td>##IDS_ACTIONTEXT_68##</td><td>##IDS_ACTIONTEXT_69##</td></row> + <row><td>RemoveShortcuts</td><td>##IDS_ACTIONTEXT_70##</td><td>##IDS_ACTIONTEXT_71##</td></row> + <row><td>Rollback</td><td>##IDS_ACTIONTEXT_73##</td><td>##IDS_ACTIONTEXT_74##</td></row> + <row><td>RollbackCleanup</td><td>##IDS_ACTIONTEXT_75##</td><td>##IDS_ACTIONTEXT_76##</td></row> + <row><td>SelfRegModules</td><td>##IDS_ACTIONTEXT_77##</td><td>##IDS_ACTIONTEXT_78##</td></row> + <row><td>SelfUnregModules</td><td>##IDS_ACTIONTEXT_79##</td><td>##IDS_ACTIONTEXT_80##</td></row> + <row><td>SetODBCFolders</td><td>##IDS_ACTIONTEXT_81##</td><td/></row> + <row><td>StartServices</td><td>##IDS_ACTIONTEXT_82##</td><td>##IDS_ACTIONTEXT_83##</td></row> + <row><td>StopServices</td><td>##IDS_ACTIONTEXT_84##</td><td>##IDS_ACTIONTEXT_85##</td></row> + <row><td>UnmoveFiles</td><td>##IDS_ACTIONTEXT_86##</td><td>##IDS_ACTIONTEXT_87##</td></row> + <row><td>UnpublishComponents</td><td>##IDS_ACTIONTEXT_88##</td><td>##IDS_ACTIONTEXT_89##</td></row> + <row><td>UnpublishFeatures</td><td>##IDS_ACTIONTEXT_90##</td><td>##IDS_ACTIONTEXT_91##</td></row> + <row><td>UnpublishProduct</td><td>##IDS_ACTIONTEXT_92##</td><td/></row> + <row><td>UnregisterClassInfo</td><td>##IDS_ACTIONTEXT_93##</td><td>##IDS_ACTIONTEXT_94##</td></row> + <row><td>UnregisterComPlus</td><td>##IDS_ACTIONTEXT_113##</td><td>##IDS_ACTIONTEXT_114##</td></row> + <row><td>UnregisterExtensionInfo</td><td>##IDS_ACTIONTEXT_95##</td><td>##IDS_ACTIONTEXT_96##</td></row> + <row><td>UnregisterFonts</td><td>##IDS_ACTIONTEXT_97##</td><td>##IDS_ACTIONTEXT_98##</td></row> + <row><td>UnregisterMIMEInfo</td><td>##IDS_ACTIONTEXT_99##</td><td>##IDS_ACTIONTEXT_100##</td></row> + <row><td>UnregisterProgIdInfo</td><td>##IDS_ACTIONTEXT_101##</td><td>##IDS_ACTIONTEXT_102##</td></row> + <row><td>UnregisterTypeLibraries</td><td>##IDS_ACTIONTEXT_103##</td><td>##IDS_ACTIONTEXT_104##</td></row> + <row><td>WriteEnvironmentStrings</td><td>##IDS_ACTIONTEXT_105##</td><td>##IDS_ACTIONTEXT_106##</td></row> + <row><td>WriteIniValues</td><td>##IDS_ACTIONTEXT_107##</td><td>##IDS_ACTIONTEXT_108##</td></row> + <row><td>WriteRegistryValues</td><td>##IDS_ACTIONTEXT_109##</td><td>##IDS_ACTIONTEXT_110##</td></row> + <row><td>caCreateVRoots</td><td>##IDS_ACTIONTEXT_123##</td><td/></row> + <row><td>caRemoveVRoots</td><td>##IDS_ACTIONTEXT_124##</td><td/></row> + </table> + + <table name="AdminExecuteSequence"> + <col key="yes" def="s72">Action</col> + <col def="S255">Condition</col> + <col def="I2">Sequence</col> + <col def="S255">ISComments</col> + <col def="I4">ISAttributes</col> + <row><td>CostFinalize</td><td/><td>1000</td><td>CostFinalize</td><td/></row> + <row><td>CostInitialize</td><td/><td>800</td><td>CostInitialize</td><td/></row> + <row><td>FileCost</td><td/><td>900</td><td>FileCost</td><td/></row> + <row><td>InstallAdminPackage</td><td/><td>3900</td><td>InstallAdminPackage</td><td/></row> + <row><td>InstallFiles</td><td/><td>4000</td><td>InstallFiles</td><td/></row> + <row><td>InstallFinalize</td><td/><td>6600</td><td>InstallFinalize</td><td/></row> + <row><td>InstallInitialize</td><td/><td>1500</td><td>InstallInitialize</td><td/></row> + <row><td>InstallValidate</td><td/><td>1400</td><td>InstallValidate</td><td/></row> + <row><td>ScheduleReboot</td><td>ISSCHEDULEREBOOT</td><td>4010</td><td>ScheduleReboot</td><td/></row> + </table> + + <table name="AdminUISequence"> + <col key="yes" def="s72">Action</col> + <col def="S255">Condition</col> + <col def="I2">Sequence</col> + <col def="S255">ISComments</col> + <col def="I4">ISAttributes</col> + <row><td>AdminWelcome</td><td/><td>1010</td><td>AdminWelcome</td><td/></row> + <row><td>CostFinalize</td><td/><td>1000</td><td>CostFinalize</td><td/></row> + <row><td>CostInitialize</td><td/><td>800</td><td>CostInitialize</td><td/></row> + <row><td>ExecuteAction</td><td/><td>1300</td><td>ExecuteAction</td><td/></row> + <row><td>FileCost</td><td/><td>900</td><td>FileCost</td><td/></row> + <row><td>SetupCompleteError</td><td/><td>-3</td><td>SetupCompleteError</td><td/></row> + <row><td>SetupCompleteSuccess</td><td/><td>-1</td><td>SetupCompleteSuccess</td><td/></row> + <row><td>SetupInitialization</td><td/><td>50</td><td>SetupInitialization</td><td/></row> + <row><td>SetupInterrupted</td><td/><td>-2</td><td>SetupInterrupted</td><td/></row> + <row><td>SetupProgress</td><td/><td>1020</td><td>SetupProgress</td><td/></row> + </table> + + <table name="AdvtExecuteSequence"> + <col key="yes" def="s72">Action</col> + <col def="S255">Condition</col> + <col def="I2">Sequence</col> + <col def="S255">ISComments</col> + <col def="I4">ISAttributes</col> + <row><td>CostFinalize</td><td/><td>1000</td><td>CostFinalize</td><td/></row> + <row><td>CostInitialize</td><td/><td>800</td><td>CostInitialize</td><td/></row> + <row><td>CreateShortcuts</td><td/><td>4500</td><td>CreateShortcuts</td><td/></row> + <row><td>InstallFinalize</td><td/><td>6600</td><td>InstallFinalize</td><td/></row> + <row><td>InstallInitialize</td><td/><td>1500</td><td>InstallInitialize</td><td/></row> + <row><td>InstallValidate</td><td/><td>1400</td><td>InstallValidate</td><td/></row> + <row><td>MsiPublishAssemblies</td><td/><td>6250</td><td>MsiPublishAssemblies</td><td/></row> + <row><td>PublishComponents</td><td/><td>6200</td><td>PublishComponents</td><td/></row> + <row><td>PublishFeatures</td><td/><td>6300</td><td>PublishFeatures</td><td/></row> + <row><td>PublishProduct</td><td/><td>6400</td><td>PublishProduct</td><td/></row> + <row><td>RegisterClassInfo</td><td/><td>4600</td><td>RegisterClassInfo</td><td/></row> + <row><td>RegisterExtensionInfo</td><td/><td>4700</td><td>RegisterExtensionInfo</td><td/></row> + <row><td>RegisterMIMEInfo</td><td/><td>4900</td><td>RegisterMIMEInfo</td><td/></row> + <row><td>RegisterProgIdInfo</td><td/><td>4800</td><td>RegisterProgIdInfo</td><td/></row> + <row><td>RegisterTypeLibraries</td><td/><td>4910</td><td>RegisterTypeLibraries</td><td/></row> + <row><td>ScheduleReboot</td><td>ISSCHEDULEREBOOT</td><td>6410</td><td>ScheduleReboot</td><td/></row> + </table> + + <table name="AdvtUISequence"> + <col key="yes" def="s72">Action</col> + <col def="S255">Condition</col> + <col def="I2">Sequence</col> + <col def="S255">ISComments</col> + <col def="I4">ISAttributes</col> + </table> + + <table name="AppId"> + <col key="yes" def="s38">AppId</col> + <col def="S255">RemoteServerName</col> + <col def="S255">LocalService</col> + <col def="S255">ServiceParameters</col> + <col def="S255">DllSurrogate</col> + <col def="I2">ActivateAtStorage</col> + <col def="I2">RunAsInteractiveUser</col> + </table> + + <table name="AppSearch"> + <col key="yes" def="s72">Property</col> + <col key="yes" def="s72">Signature_</col> + </table> + + <table name="BBControl"> + <col key="yes" def="s50">Billboard_</col> + <col key="yes" def="s50">BBControl</col> + <col def="s50">Type</col> + <col def="i2">X</col> + <col def="i2">Y</col> + <col def="i2">Width</col> + <col def="i2">Height</col> + <col def="I4">Attributes</col> + <col def="L50">Text</col> + </table> + + <table name="Billboard"> + <col key="yes" def="s50">Billboard</col> + <col def="s38">Feature_</col> + <col def="S50">Action</col> + <col def="I2">Ordering</col> + </table> + + <table name="Binary"> + <col key="yes" def="s72">Name</col> + <col def="V0">Data</col> + <col def="S255">ISBuildSourcePath</col> + <row><td>ISSELFREG.DLL</td><td/><td>&lt;ISProductFolder&gt;\redist\language independent\i386\isregsvr.dll</td></row> + <row><td>NewBinary1</td><td/><td>&lt;ISProjectFolder&gt;\resource\ApacheBanner.jpeg</td></row> + <row><td>NewBinary10</td><td/><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\CompleteSetupIco.ibd</td></row> + <row><td>NewBinary11</td><td/><td>&lt;ISProjectFolder&gt;\msi_dll\resolve_apache.dll</td></row> + <row><td>NewBinary12</td><td/><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\DestIcon.ibd</td></row> + <row><td>NewBinary13</td><td/><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\NetworkInstall.ico</td></row> + <row><td>NewBinary14</td><td/><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\DontInstall.ico</td></row> + <row><td>NewBinary15</td><td/><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\Install.ico</td></row> + <row><td>NewBinary16</td><td/><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\InstallFirstUse.ico</td></row> + <row><td>NewBinary17</td><td/><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\InstallPartial.ico</td></row> + <row><td>NewBinary18</td><td/><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\InstallStateMenu.ico</td></row> + <row><td>NewBinary2</td><td/><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\New.ibd</td></row> + <row><td>NewBinary3</td><td/><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\Up.ibd</td></row> + <row><td>NewBinary4</td><td/><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\WarningIcon.ibd</td></row> + <row><td>NewBinary5</td><td/><td>&lt;ISProjectFolder&gt;\resource\ApachePanel.jpeg</td></row> + <row><td>NewBinary6</td><td/><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\CustomSetupIco.ibd</td></row> + <row><td>NewBinary7</td><td/><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\ReinstIco.ibd</td></row> + <row><td>NewBinary8</td><td/><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\RemoveIco.ibd</td></row> + <row><td>NewBinary9</td><td/><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\SetupIcon.ibd</td></row> + </table> + + <table name="BindImage"> + <col key="yes" def="s72">File_</col> + <col def="S255">Path</col> + </table> + + <table name="CCPSearch"> + <col key="yes" def="s72">Signature_</col> + </table> + + <table name="CheckBox"> + <col key="yes" def="s72">Property</col> + <col def="S64">Value</col> + <row><td>LAUNCHREADME</td><td/></row> + </table> + + <table name="Class"> + <col key="yes" def="s38">CLSID</col> + <col key="yes" def="s32">Context</col> + <col key="yes" def="s72">Component_</col> + <col def="S255">ProgId_Default</col> + <col def="L255">Description</col> + <col def="S38">AppId_</col> + <col def="S255">FileTypeMask</col> + <col def="S72">Icon_</col> + <col def="I2">IconIndex</col> + <col def="S32">DefInprocHandler</col> + <col def="S255">Argument</col> + <col def="s38">Feature_</col> + <col def="I2">Attributes</col> + </table> + + <table name="ComboBox"> + <col key="yes" def="s72">Property</col> + <col key="yes" def="i2">Order</col> + <col def="s64">Value</col> + <col def="L64">Text</col> + </table> + + <table name="CompLocator"> + <col key="yes" def="s72">Signature_</col> + <col def="s38">ComponentId</col> + <col def="I2">Type</col> + </table> + + <table name="Complus"> + <col key="yes" def="s72">Component_</col> + <col key="yes" def="I2">ExpType</col> + </table> + + <table name="Component"> + <col key="yes" def="s72">Component</col> + <col def="S38">ComponentId</col> + <col def="s72">Directory_</col> + <col def="i2">Attributes</col> + <col def="S255">Condition</col> + <col def="S72">KeyPath</col> + <col def="I4">ISAttributes</col> + <col def="S255">ISComments</col> + <col def="S255">ISScanAtBuildFile</col> + <col def="S255">ISRegFileToMergeAtBuild</col> + <col def="S0">ISDotNetInstallerArgsInstall</col> + <col def="S0">ISDotNetInstallerArgsCommit</col> + <col def="S0">ISDotNetInstallerArgsUninstall</col> + <col def="S0">ISDotNetInstallerArgsRollback</col> + <row><td>Apache.Web</td><td>{0C479A89-29CD-4979-B4EF-5899EE72DD5A}</td><td>GlobalAssemblyCache</td><td>8</td><td/><td>Apache.Web.dll</td><td>49</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>html_docs</td><td>{C66EA964-E1E5-4B5C-AAA4-C41F9330E44D}</td><td>HTML</td><td>8</td><td/><td/><td>17</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>mod_aspdotnet.so</td><td>{BA7DB173-11D7-4873-8F28-8A4FA6B86E33}</td><td>APACHE_MODULES</td><td>8</td><td/><td>mod_aspdotnet.so</td><td>1</td><td/><td/><td/><td/><td/><td/><td/></row> + </table> + + <table name="Condition"> + <col key="yes" def="s38">Feature_</col> + <col key="yes" def="i2">Level</col> + <col def="S255">Condition</col> + </table> + + <table name="Control"> + <col key="yes" def="s72">Dialog_</col> + <col key="yes" def="s50">Control</col> + <col def="s20">Type</col> + <col def="i2">X</col> + <col def="i2">Y</col> + <col def="i2">Width</col> + <col def="i2">Height</col> + <col def="I4">Attributes</col> + <col def="S72">Property</col> + <col def="L0">Text</col> + <col def="S50">Control_Next</col> + <col def="L50">Help</col> + <col def="I4">ISWindowStyle</col> + <col def="I4">ISControlId</col> + <col def="S255">ISBuildSourcePath</col> + <col def="S72">Binary_</col> + <row><td>AdminChangeFolder</td><td>Banner</td><td>Bitmap</td><td>0</td><td>0</td><td>374</td><td>44</td><td>262145</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td>NewBinary1</td></row> + <row><td>AdminChangeFolder</td><td>BannerLine</td><td>Line</td><td>0</td><td>44</td><td>374</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminChangeFolder</td><td>Branding1</td><td>Text</td><td>4</td><td>229</td><td>50</td><td>13</td><td>3</td><td/><td>##IDS__IsAdminInstallBrowse_1##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminChangeFolder</td><td>Branding2</td><td>Text</td><td>3</td><td>228</td><td>50</td><td>13</td><td>65537</td><td/><td>##IDS__IsAdminInstallBrowse_2##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminChangeFolder</td><td>Cancel</td><td>PushButton</td><td>301</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsAdminInstallBrowse_3##</td><td>ComboText</td><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminChangeFolder</td><td>Combo</td><td>DirectoryCombo</td><td>21</td><td>64</td><td>277</td><td>80</td><td>458755</td><td>TARGETDIR</td><td>##IDS__IsAdminInstallBrowse_4##</td><td>Up</td><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminChangeFolder</td><td>ComboText</td><td>Text</td><td>21</td><td>50</td><td>99</td><td>14</td><td>3</td><td/><td>##IDS__IsAdminInstallBrowse_5##</td><td>Combo</td><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminChangeFolder</td><td>DlgDesc</td><td>Text</td><td>21</td><td>23</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS__IsAdminInstallBrowse_6##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminChangeFolder</td><td>DlgLine</td><td>Line</td><td>48</td><td>234</td><td>326</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminChangeFolder</td><td>DlgTitle</td><td>Text</td><td>13</td><td>6</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS__IsAdminInstallBrowse_7##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminChangeFolder</td><td>List</td><td>DirectoryList</td><td>21</td><td>90</td><td>332</td><td>97</td><td>7</td><td>TARGETDIR</td><td>##IDS__IsAdminInstallBrowse_8##</td><td>TailText</td><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminChangeFolder</td><td>NewFolder</td><td>PushButton</td><td>335</td><td>66</td><td>19</td><td>19</td><td>3670019</td><td/><td/><td>List</td><td>##IDS__IsAdminInstallBrowse_9##</td><td>0</td><td/><td/><td>NewBinary2</td></row> + <row><td>AdminChangeFolder</td><td>OK</td><td>PushButton</td><td>230</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsAdminInstallBrowse_10##</td><td>Cancel</td><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminChangeFolder</td><td>Tail</td><td>PathEdit</td><td>21</td><td>207</td><td>332</td><td>17</td><td>3</td><td>TARGETDIR</td><td>##IDS__IsAdminInstallBrowse_11##</td><td>OK</td><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminChangeFolder</td><td>TailText</td><td>Text</td><td>21</td><td>193</td><td>99</td><td>13</td><td>3</td><td/><td>##IDS__IsAdminInstallBrowse_12##</td><td>Tail</td><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminChangeFolder</td><td>Up</td><td>PushButton</td><td>310</td><td>66</td><td>19</td><td>19</td><td>3670019</td><td/><td/><td>NewFolder</td><td>##IDS__IsAdminInstallBrowse_13##</td><td>0</td><td/><td/><td>NewBinary3</td></row> + <row><td>AdminNetworkLocation</td><td>Back</td><td>PushButton</td><td>164</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsAdminInstallPoint_1##</td><td>InstallNow</td><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminNetworkLocation</td><td>Banner</td><td>Bitmap</td><td>0</td><td>0</td><td>374</td><td>44</td><td>262145</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td>NewBinary1</td></row> + <row><td>AdminNetworkLocation</td><td>BannerLine</td><td>Line</td><td>0</td><td>44</td><td>374</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminNetworkLocation</td><td>Branding1</td><td>Text</td><td>4</td><td>229</td><td>50</td><td>13</td><td>3</td><td/><td>##IDS__IsAdminInstallPoint_2##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminNetworkLocation</td><td>Branding2</td><td>Text</td><td>3</td><td>228</td><td>50</td><td>13</td><td>65537</td><td/><td>##IDS__IsAdminInstallPoint_3##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminNetworkLocation</td><td>Browse</td><td>PushButton</td><td>286</td><td>124</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsAdminInstallPoint_4##</td><td>Back</td><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminNetworkLocation</td><td>Cancel</td><td>PushButton</td><td>301</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsAdminInstallPoint_5##</td><td>SetupPathEdit</td><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminNetworkLocation</td><td>DlgDesc</td><td>Text</td><td>21</td><td>23</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS__IsAdminInstallPoint_6##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminNetworkLocation</td><td>DlgLine</td><td>Line</td><td>48</td><td>234</td><td>326</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminNetworkLocation</td><td>DlgText</td><td>Text</td><td>21</td><td>51</td><td>326</td><td>40</td><td>3</td><td/><td>##IDS__IsAdminInstallPoint_7##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminNetworkLocation</td><td>DlgTitle</td><td>Text</td><td>13</td><td>6</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS__IsAdminInstallPoint_8##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminNetworkLocation</td><td>InstallNow</td><td>PushButton</td><td>230</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsAdminInstallPoint_9##</td><td>Cancel</td><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminNetworkLocation</td><td>LBBrowse</td><td>Text</td><td>21</td><td>90</td><td>100</td><td>10</td><td>3</td><td/><td>##IDS__IsAdminInstallPoint_10##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminNetworkLocation</td><td>SetupPathEdit</td><td>PathEdit</td><td>21</td><td>102</td><td>330</td><td>17</td><td>3</td><td>TARGETDIR</td><td/><td>Browse</td><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminWelcome</td><td>Back</td><td>PushButton</td><td>164</td><td>243</td><td>66</td><td>17</td><td>1</td><td/><td>##IDS__IsAdminInstallPointWelcome_1##</td><td>Next</td><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminWelcome</td><td>Cancel</td><td>PushButton</td><td>301</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsAdminInstallPointWelcome_2##</td><td>Back</td><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminWelcome</td><td>DlgLine</td><td>Line</td><td>0</td><td>234</td><td>326</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminWelcome</td><td>Image</td><td>Bitmap</td><td>0</td><td>0</td><td>374</td><td>234</td><td>262145</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td>NewBinary5</td></row> + <row><td>AdminWelcome</td><td>Next</td><td>PushButton</td><td>230</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsAdminInstallPointWelcome_3##</td><td>Cancel</td><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminWelcome</td><td>TextLine1</td><td>Text</td><td>135</td><td>8</td><td>225</td><td>45</td><td>65539</td><td/><td>##IDS__IsAdminInstallPointWelcome_4##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>AdminWelcome</td><td>TextLine2</td><td>Text</td><td>135</td><td>55</td><td>228</td><td>45</td><td>65539</td><td/><td>##IDS__IsAdminInstallPointWelcome_5##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CancelSetup</td><td>Icon</td><td>Icon</td><td>15</td><td>15</td><td>24</td><td>24</td><td>5242881</td><td/><td/><td/><td/><td>0</td><td/><td/><td>NewBinary4</td></row> + <row><td>CancelSetup</td><td>No</td><td>PushButton</td><td>135</td><td>57</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsCancelDlg_6##</td><td>Yes</td><td/><td>0</td><td/><td/><td/></row> + <row><td>CancelSetup</td><td>Text</td><td>Text</td><td>48</td><td>15</td><td>194</td><td>30</td><td>3</td><td/><td>##IDS__IsCancelDlg_4##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CancelSetup</td><td>Yes</td><td>PushButton</td><td>62</td><td>57</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsCancelDlg_8##</td><td>No</td><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetup</td><td>Back</td><td>PushButton</td><td>164</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsCustomSelectionDlg_1##</td><td>Next</td><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetup</td><td>Banner</td><td>Bitmap</td><td>0</td><td>0</td><td>374</td><td>44</td><td>262145</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td>NewBinary1</td></row> + <row><td>CustomSetup</td><td>BannerLine</td><td>Line</td><td>0</td><td>44</td><td>374</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetup</td><td>Branding1</td><td>Text</td><td>4</td><td>229</td><td>50</td><td>13</td><td>3</td><td/><td>##IDS__IsCustomSelectionDlg_2##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetup</td><td>Branding2</td><td>Text</td><td>3</td><td>228</td><td>50</td><td>13</td><td>65537</td><td/><td>##IDS__IsCustomSelectionDlg_3##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetup</td><td>Cancel</td><td>PushButton</td><td>301</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsCustomSelectionDlg_4##</td><td>Tree</td><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetup</td><td>ChangeFolder</td><td>PushButton</td><td>301</td><td>203</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsCustomSelectionDlg_16##</td><td>Help</td><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetup</td><td>Details</td><td>PushButton</td><td>93</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsCustomSelectionDlg_5##</td><td>Back</td><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetup</td><td>DlgDesc</td><td>Text</td><td>17</td><td>23</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS__IsCustomSelectionDlg_6##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetup</td><td>DlgLine</td><td>Line</td><td>48</td><td>234</td><td>326</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetup</td><td>DlgText</td><td>Text</td><td>9</td><td>51</td><td>360</td><td>10</td><td>3</td><td/><td>##IDS__IsCustomSelectionDlg_7##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetup</td><td>DlgTitle</td><td>Text</td><td>9</td><td>6</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS__IsCustomSelectionDlg_8##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetup</td><td>FeatureGroup</td><td>GroupBox</td><td>235</td><td>67</td><td>131</td><td>120</td><td>1</td><td/><td>##IDS__IsCustomSelectionDlg_15##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetup</td><td>Help</td><td>PushButton</td><td>22</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsCustomSelectionDlg_13##</td><td>Details</td><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetup</td><td>InstallLabel</td><td>Text</td><td>8</td><td>190</td><td>360</td><td>10</td><td>3</td><td/><td>##IDS__IsCustomSelectionDlg_18##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetup</td><td>ItemDescription</td><td>Text</td><td>241</td><td>80</td><td>120</td><td>50</td><td>3</td><td/><td>##IDS__IsCustomSelectionDlg_14##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetup</td><td>Location</td><td>Text</td><td>8</td><td>203</td><td>291</td><td>20</td><td>3</td><td/><td>##IDS__IsCustomSelectionDlg_17##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetup</td><td>Next</td><td>PushButton</td><td>230</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsCustomSelectionDlg_11##</td><td>Cancel</td><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetup</td><td>Size</td><td>Text</td><td>241</td><td>133</td><td>120</td><td>50</td><td>3</td><td/><td>##IDS__IsCustomSelectionDlg_12##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetup</td><td>Tree</td><td>SelectionTree</td><td>8</td><td>70</td><td>220</td><td>118</td><td>7</td><td>_BrowseProperty</td><td/><td>ChangeFolder</td><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetupTips</td><td>Banner</td><td>Bitmap</td><td>0</td><td>0</td><td>374</td><td>44</td><td>262145</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td>NewBinary1</td></row> + <row><td>CustomSetupTips</td><td>BannerLine</td><td>Line</td><td>0</td><td>44</td><td>374</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetupTips</td><td>Branding1</td><td>Text</td><td>4</td><td>229</td><td>50</td><td>13</td><td>3</td><td/><td>##IDS_SetupTips_2##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetupTips</td><td>Branding2</td><td>Text</td><td>3</td><td>228</td><td>50</td><td>13</td><td>65537</td><td/><td>##IDS_SetupTips_3##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetupTips</td><td>DlgDesc</td><td>Text</td><td>21</td><td>23</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS_SetupTips_4##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetupTips</td><td>DlgLine</td><td>Line</td><td>48</td><td>234</td><td>326</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetupTips</td><td>DlgTitle</td><td>Text</td><td>13</td><td>6</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS_SetupTips_5##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetupTips</td><td>DontInstall</td><td>Icon</td><td>21</td><td>155</td><td>24</td><td>24</td><td>5242881</td><td/><td/><td/><td/><td>0</td><td/><td/><td>NewBinary14</td></row> + <row><td>CustomSetupTips</td><td>DontInstallText</td><td>Text</td><td>60</td><td>155</td><td>300</td><td>20</td><td>3</td><td/><td>##IDS_SetupTips_6##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetupTips</td><td>FirstInstallText</td><td>Text</td><td>60</td><td>180</td><td>300</td><td>20</td><td>3</td><td/><td>##IDS_SetupTips_10##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetupTips</td><td>Install</td><td>Icon</td><td>21</td><td>105</td><td>24</td><td>24</td><td>5242881</td><td/><td/><td/><td/><td>0</td><td/><td/><td>NewBinary15</td></row> + <row><td>CustomSetupTips</td><td>InstallFirstUse</td><td>Icon</td><td>21</td><td>180</td><td>24</td><td>24</td><td>5242881</td><td/><td/><td/><td/><td>0</td><td/><td/><td>NewBinary16</td></row> + <row><td>CustomSetupTips</td><td>InstallPartial</td><td>Icon</td><td>21</td><td>130</td><td>24</td><td>24</td><td>5242881</td><td/><td/><td/><td/><td>0</td><td/><td/><td>NewBinary17</td></row> + <row><td>CustomSetupTips</td><td>InstallStateMenu</td><td>Icon</td><td>21</td><td>52</td><td>24</td><td>24</td><td>5242881</td><td/><td/><td/><td/><td>0</td><td/><td/><td>NewBinary18</td></row> + <row><td>CustomSetupTips</td><td>InstallStateText</td><td>Text</td><td>21</td><td>91</td><td>300</td><td>10</td><td>3</td><td/><td>##IDS_SetupTips_12##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetupTips</td><td>InstallText</td><td>Text</td><td>60</td><td>105</td><td>300</td><td>20</td><td>3</td><td/><td>##IDS_SetupTips_8##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetupTips</td><td>MenuText</td><td>Text</td><td>50</td><td>52</td><td>300</td><td>36</td><td>3</td><td/><td>##IDS_SetupTips_9##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetupTips</td><td>NetworkInstall</td><td>Icon</td><td>21</td><td>205</td><td>24</td><td>24</td><td>5242881</td><td/><td/><td/><td/><td>0</td><td/><td/><td>NewBinary13</td></row> + <row><td>CustomSetupTips</td><td>NetworkInstallText</td><td>Text</td><td>60</td><td>205</td><td>300</td><td>20</td><td>3</td><td/><td>##IDS_SetupTips_11##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetupTips</td><td>OK</td><td>PushButton</td><td>301</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS_SetupTips_1##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomSetupTips</td><td>PartialText</td><td>Text</td><td>60</td><td>130</td><td>300</td><td>20</td><td>3</td><td/><td>##IDS_SetupTips_7##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomerInformation</td><td>Back</td><td>PushButton</td><td>164</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsRegisterUserDlg_1##</td><td>ChangeFolder</td><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomerInformation</td><td>Banner</td><td>Bitmap</td><td>0</td><td>0</td><td>374</td><td>44</td><td>262145</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td>NewBinary1</td></row> + <row><td>CustomerInformation</td><td>BannerLine</td><td>Line</td><td>0</td><td>44</td><td>374</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomerInformation</td><td>Branding1</td><td>Text</td><td>4</td><td>229</td><td>50</td><td>13</td><td>3</td><td/><td>##IDS__IsRegisterUserDlg_2##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomerInformation</td><td>Branding2</td><td>Text</td><td>3</td><td>228</td><td>50</td><td>13</td><td>65537</td><td/><td>##IDS__IsRegisterUserDlg_3##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomerInformation</td><td>Cancel</td><td>PushButton</td><td>301</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsRegisterUserDlg_4##</td><td>ComboBox1</td><td/><td>0</td><td>0</td><td/><td/></row> + <row><td>CustomerInformation</td><td>ChangeFolder</td><td>PushButton</td><td>301</td><td>55</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsRegisterUserDlg_19##</td><td>Next</td><td/><td>0</td><td>0</td><td/><td/></row> + <row><td>CustomerInformation</td><td>ComboBox1</td><td>ComboBox</td><td>59</td><td>73</td><td>232</td><td>120</td><td>11</td><td>_BrowseProperty</td><td/><td>RadioGroup</td><td/><td>0</td><td>12</td><td/><td/></row> + <row><td>CustomerInformation</td><td>DestFolder</td><td>Icon</td><td>21</td><td>52</td><td>24</td><td>24</td><td>5767169</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td>NewBinary12</td></row> + <row><td>CustomerInformation</td><td>DlgDesc</td><td>Text</td><td>21</td><td>23</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS__IsRegisterUserDlg_7##</td><td/><td/><td>0</td><td>0</td><td/><td/></row> + <row><td>CustomerInformation</td><td>DlgLine</td><td>Line</td><td>48</td><td>234</td><td>326</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>CustomerInformation</td><td>DlgRadioGroupText</td><td>Text</td><td>57</td><td>124</td><td>200</td><td>14</td><td>3</td><td/><td>##IDS__IsRegisterUserDlg_13##</td><td/><td/><td>0</td><td>0</td><td/><td/></row> + <row><td>CustomerInformation</td><td>DlgTitle</td><td>Text</td><td>13</td><td>6</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS__IsRegisterUserDlg_9##</td><td/><td/><td>0</td><td>0</td><td/><td/></row> + <row><td>CustomerInformation</td><td>LocLabel</td><td>Text</td><td>57</td><td>52</td><td>240</td><td>12</td><td>3</td><td/><td>##IDS__IsRegisterUserDlg_20##</td><td/><td/><td>0</td><td>0</td><td/><td/></row> + <row><td>CustomerInformation</td><td>MissingApache</td><td>Text</td><td>57</td><td>202</td><td>270</td><td>28</td><td>2</td><td/><td>##IDS__IsRegisterUserDlg_21##</td><td/><td/><td>0</td><td>0</td><td/><td/></row> + <row><td>CustomerInformation</td><td>Next</td><td>PushButton</td><td>230</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsRegisterUserDlg_12##</td><td>Cancel</td><td/><td>0</td><td>0</td><td/><td/></row> + <row><td>CustomerInformation</td><td>RadioGroup</td><td>RadioButtonGroup</td><td>63</td><td>133</td><td>300</td><td>50</td><td>3</td><td>ApplicationUsers</td><td>##IDS__IsRegisterUserDlg_16##</td><td>Back</td><td/><td>0</td><td>0</td><td/><td/></row> + <row><td>DatabaseFolder</td><td>Back</td><td>PushButton</td><td>164</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__DatabaseFolder_6##</td><td>Next</td><td/><td>0</td><td/><td/><td/></row> + <row><td>DatabaseFolder</td><td>Banner</td><td>Bitmap</td><td>0</td><td>0</td><td>374</td><td>44</td><td>262145</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td>NewBinary1</td></row> + <row><td>DatabaseFolder</td><td>BannerLine</td><td>Line</td><td>0</td><td>44</td><td>374</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>DatabaseFolder</td><td>Branding1</td><td>Text</td><td>4</td><td>229</td><td>50</td><td>13</td><td>3</td><td/><td>##IDS__DatabaseFolder_3##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>DatabaseFolder</td><td>Branding2</td><td>Text</td><td>3</td><td>228</td><td>50</td><td>13</td><td>65537</td><td/><td>##IDS__DatabaseFolder_2##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>DatabaseFolder</td><td>Cancel</td><td>PushButton</td><td>301</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__DatabaseFolder_1##</td><td>ChangeFolder</td><td/><td>0</td><td/><td/><td/></row> + <row><td>DatabaseFolder</td><td>ChangeFolder</td><td>PushButton</td><td>301</td><td>65</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__DatabaseFolder_8##</td><td>Back</td><td/><td>0</td><td/><td/><td/></row> + <row><td>DatabaseFolder</td><td>DatabaseFolder</td><td>Icon</td><td>21</td><td>52</td><td>24</td><td>24</td><td>5242881</td><td/><td/><td/><td/><td>0</td><td/><td/><td>NewBinary12</td></row> + <row><td>DatabaseFolder</td><td>DlgDesc</td><td>Text</td><td>21</td><td>23</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS__DatabaseFolder_4##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>DatabaseFolder</td><td>DlgLine</td><td>Line</td><td>48</td><td>234</td><td>326</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>DatabaseFolder</td><td>DlgTitle</td><td>Text</td><td>13</td><td>6</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS__DatabaseFolder_5##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>DatabaseFolder</td><td>LocLabel</td><td>Text</td><td>57</td><td>52</td><td>290</td><td>10</td><td>3</td><td/><td>##IDS__DatabaseFolder_10##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>DatabaseFolder</td><td>Location</td><td>Text</td><td>57</td><td>65</td><td>240</td><td>40</td><td>3</td><td>_BrowseProperty</td><td>##IDS__DatabaseFolder_9##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>DatabaseFolder</td><td>Next</td><td>PushButton</td><td>230</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__DatabaseFolder_7##</td><td>Cancel</td><td/><td>0</td><td/><td/><td/></row> + <row><td>DestinationFolder</td><td>Back</td><td>PushButton</td><td>164</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__DestinationFolder_6##</td><td>Next</td><td/><td>0</td><td/><td/><td/></row> + <row><td>DestinationFolder</td><td>Banner</td><td>Bitmap</td><td>0</td><td>0</td><td>374</td><td>44</td><td>262145</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td>NewBinary1</td></row> + <row><td>DestinationFolder</td><td>BannerLine</td><td>Line</td><td>0</td><td>44</td><td>374</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>DestinationFolder</td><td>Branding1</td><td>Text</td><td>4</td><td>229</td><td>50</td><td>13</td><td>3</td><td/><td>##IDS__DestinationFolder_3##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>DestinationFolder</td><td>Branding2</td><td>Text</td><td>3</td><td>228</td><td>50</td><td>13</td><td>65537</td><td/><td>##IDS__DestinationFolder_2##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>DestinationFolder</td><td>Cancel</td><td>PushButton</td><td>301</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__DestinationFolder_1##</td><td>ChangeFolder</td><td/><td>0</td><td/><td/><td/></row> + <row><td>DestinationFolder</td><td>ChangeFolder</td><td>PushButton</td><td>301</td><td>65</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__DestinationFolder_8##</td><td>Back</td><td/><td>0</td><td/><td/><td/></row> + <row><td>DestinationFolder</td><td>DestFolder</td><td>Icon</td><td>21</td><td>52</td><td>24</td><td>24</td><td>5242881</td><td/><td/><td/><td/><td>0</td><td/><td/><td>NewBinary12</td></row> + <row><td>DestinationFolder</td><td>DlgDesc</td><td>Text</td><td>21</td><td>23</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS__DestinationFolder_4##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>DestinationFolder</td><td>DlgLine</td><td>Line</td><td>48</td><td>234</td><td>326</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>DestinationFolder</td><td>DlgTitle</td><td>Text</td><td>13</td><td>6</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS__DestinationFolder_5##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>DestinationFolder</td><td>LocLabel</td><td>Text</td><td>57</td><td>52</td><td>290</td><td>12</td><td>3</td><td/><td>##IDS__DestinationFolder_10##</td><td/><td/><td>0</td><td>0</td><td/><td/></row> + <row><td>DestinationFolder</td><td>Location</td><td>Text</td><td>57</td><td>65</td><td>240</td><td>40</td><td>3</td><td>_BrowseProperty</td><td>##IDS__DestinationFolder_9##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>DestinationFolder</td><td>Next</td><td>PushButton</td><td>230</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__DestinationFolder_7##</td><td>Cancel</td><td/><td>0</td><td/><td/><td/></row> + <row><td>DiskSpaceRequirements</td><td>Banner</td><td>Bitmap</td><td>0</td><td>0</td><td>374</td><td>44</td><td>262145</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td>NewBinary1</td></row> + <row><td>DiskSpaceRequirements</td><td>BannerLine</td><td>Line</td><td>0</td><td>44</td><td>374</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>DiskSpaceRequirements</td><td>Branding1</td><td>Text</td><td>4</td><td>229</td><td>50</td><td>13</td><td>3</td><td/><td>##IDS__IsFeatureDetailsDlg_1##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>DiskSpaceRequirements</td><td>Branding2</td><td>Text</td><td>3</td><td>228</td><td>50</td><td>13</td><td>65537</td><td/><td>##IDS__IsFeatureDetailsDlg_2##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>DiskSpaceRequirements</td><td>DlgDesc</td><td>Text</td><td>17</td><td>23</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS__IsFeatureDetailsDlg_6##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>DiskSpaceRequirements</td><td>DlgLine</td><td>Line</td><td>48</td><td>234</td><td>326</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>DiskSpaceRequirements</td><td>DlgText</td><td>Text</td><td>10</td><td>185</td><td>358</td><td>41</td><td>3</td><td/><td>##IDS__IsFeatureDetailsDlg_7##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>DiskSpaceRequirements</td><td>DlgTitle</td><td>Text</td><td>9</td><td>6</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS__IsFeatureDetailsDlg_8##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>DiskSpaceRequirements</td><td>List</td><td>VolumeCostList</td><td>8</td><td>55</td><td>358</td><td>125</td><td>393223</td><td/><td>##IDS__IsFeatureDetailsDlg_13##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>DiskSpaceRequirements</td><td>OK</td><td>PushButton</td><td>301</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsFeatureDetailsDlg_14##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>FilesInUse</td><td>Banner</td><td>Bitmap</td><td>0</td><td>0</td><td>374</td><td>44</td><td>262145</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td>NewBinary1</td></row> + <row><td>FilesInUse</td><td>BannerLine</td><td>Line</td><td>0</td><td>44</td><td>374</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>FilesInUse</td><td>Branding1</td><td>Text</td><td>4</td><td>229</td><td>50</td><td>13</td><td>3</td><td/><td>##IDS__IsFilesInUse_1##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>FilesInUse</td><td>Branding2</td><td>Text</td><td>3</td><td>228</td><td>50</td><td>13</td><td>65537</td><td/><td>##IDS__IsFilesInUse_2##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>FilesInUse</td><td>DlgDesc</td><td>Text</td><td>21</td><td>23</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS__IsFilesInUse_3##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>FilesInUse</td><td>DlgLine</td><td>Line</td><td>48</td><td>234</td><td>326</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>FilesInUse</td><td>DlgText</td><td>Text</td><td>21</td><td>51</td><td>348</td><td>29</td><td>3</td><td/><td>##IDS__IsFilesInUse_4##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>FilesInUse</td><td>DlgTitle</td><td>Text</td><td>13</td><td>6</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS__IsFilesInUse_5##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>FilesInUse</td><td>Exit</td><td>PushButton</td><td>301</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsFilesInUse_6##</td><td>List</td><td/><td>0</td><td/><td/><td/></row> + <row><td>FilesInUse</td><td>Ignore</td><td>PushButton</td><td>230</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsFilesInUse_7##</td><td>Exit</td><td/><td>0</td><td/><td/><td/></row> + <row><td>FilesInUse</td><td>List</td><td>ListBox</td><td>21</td><td>87</td><td>331</td><td>135</td><td>7</td><td>FileInUseProcess</td><td/><td>Retry</td><td/><td>0</td><td/><td/><td/></row> + <row><td>FilesInUse</td><td>Retry</td><td>PushButton</td><td>164</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsFilesInUse_8##</td><td>Ignore</td><td/><td>0</td><td/><td/><td/></row> + <row><td>InstallChangeFolder</td><td>Banner</td><td>Bitmap</td><td>0</td><td>0</td><td>374</td><td>44</td><td>262145</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td>NewBinary1</td></row> + <row><td>InstallChangeFolder</td><td>BannerLine</td><td>Line</td><td>0</td><td>44</td><td>374</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>InstallChangeFolder</td><td>Branding1</td><td>Text</td><td>4</td><td>229</td><td>50</td><td>13</td><td>3</td><td/><td>##IDS__IsBrowseFolderDlg_1##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>InstallChangeFolder</td><td>Branding2</td><td>Text</td><td>3</td><td>228</td><td>50</td><td>13</td><td>65537</td><td/><td>##IDS__IsBrowseFolderDlg_2##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>InstallChangeFolder</td><td>Cancel</td><td>PushButton</td><td>301</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsBrowseFolderDlg_3##</td><td>ComboText</td><td/><td>0</td><td/><td/><td/></row> + <row><td>InstallChangeFolder</td><td>Combo</td><td>DirectoryCombo</td><td>21</td><td>64</td><td>277</td><td>80</td><td>4128779</td><td>_BrowseProperty</td><td>##IDS__IsBrowseFolderDlg_4##</td><td>Up</td><td/><td>0</td><td/><td/><td/></row> + <row><td>InstallChangeFolder</td><td>ComboText</td><td>Text</td><td>21</td><td>50</td><td>99</td><td>14</td><td>3</td><td/><td>##IDS__IsBrowseFolderDlg_5##</td><td>Combo</td><td/><td>0</td><td/><td/><td/></row> + <row><td>InstallChangeFolder</td><td>DlgDesc</td><td>Text</td><td>21</td><td>23</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS__IsBrowseFolderDlg_6##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>InstallChangeFolder</td><td>DlgLine</td><td>Line</td><td>48</td><td>234</td><td>326</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>InstallChangeFolder</td><td>DlgTitle</td><td>Text</td><td>13</td><td>6</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS__IsBrowseFolderDlg_7##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>InstallChangeFolder</td><td>List</td><td>DirectoryList</td><td>21</td><td>90</td><td>332</td><td>97</td><td>15</td><td>_BrowseProperty</td><td>##IDS__IsBrowseFolderDlg_8##</td><td>TailText</td><td/><td>0</td><td/><td/><td/></row> + <row><td>InstallChangeFolder</td><td>NewFolder</td><td>PushButton</td><td>335</td><td>66</td><td>19</td><td>19</td><td>3670019</td><td/><td/><td>List</td><td>##IDS__IsBrowseFolderDlg_9##</td><td>0</td><td/><td/><td>NewBinary2</td></row> + <row><td>InstallChangeFolder</td><td>OK</td><td>PushButton</td><td>230</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsBrowseFolderDlg_10##</td><td>Cancel</td><td/><td>0</td><td/><td/><td/></row> + <row><td>InstallChangeFolder</td><td>Tail</td><td>PathEdit</td><td>21</td><td>207</td><td>332</td><td>17</td><td>15</td><td>_BrowseProperty</td><td>##IDS__IsBrowseFolderDlg_11##</td><td>OK</td><td/><td>0</td><td/><td/><td/></row> + <row><td>InstallChangeFolder</td><td>TailText</td><td>Text</td><td>21</td><td>193</td><td>99</td><td>13</td><td>3</td><td/><td>##IDS__IsBrowseFolderDlg_12##</td><td>Tail</td><td/><td>0</td><td/><td/><td/></row> + <row><td>InstallChangeFolder</td><td>Up</td><td>PushButton</td><td>310</td><td>66</td><td>19</td><td>19</td><td>3670019</td><td/><td/><td>NewFolder</td><td>##IDS__IsBrowseFolderDlg_13##</td><td>0</td><td/><td/><td>NewBinary3</td></row> + <row><td>InstallWelcome</td><td>Back</td><td>PushButton</td><td>164</td><td>243</td><td>66</td><td>17</td><td>1</td><td/><td>##IDS__IsWelcomeDlg_1##</td><td>Copyright</td><td/><td>0</td><td/><td/><td/></row> + <row><td>InstallWelcome</td><td>Cancel</td><td>PushButton</td><td>301</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsWelcomeDlg_2##</td><td>Back</td><td/><td>0</td><td/><td/><td/></row> + <row><td>InstallWelcome</td><td>Copyright</td><td>Text</td><td>135</td><td>144</td><td>228</td><td>73</td><td>65539</td><td/><td>##IDS__IsWelcomeDlg_7##</td><td>Next</td><td/><td>0</td><td/><td/><td/></row> + <row><td>InstallWelcome</td><td>DlgLine</td><td>Line</td><td>0</td><td>234</td><td>374</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>InstallWelcome</td><td>Image</td><td>Bitmap</td><td>0</td><td>0</td><td>374</td><td>234</td><td>262145</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td>NewBinary5</td></row> + <row><td>InstallWelcome</td><td>Next</td><td>PushButton</td><td>230</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsWelcomeDlg_3##</td><td>Cancel</td><td/><td>0</td><td/><td/><td/></row> + <row><td>InstallWelcome</td><td>TextLine1</td><td>Text</td><td>135</td><td>8</td><td>225</td><td>45</td><td>65539</td><td/><td>##IDS__IsWelcomeDlg_4##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>InstallWelcome</td><td>TextLine2</td><td>Text</td><td>135</td><td>55</td><td>228</td><td>45</td><td>65539</td><td/><td>##IDS__IsWelcomeDlg_5##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>LicenseAgreement</td><td>Agree</td><td>RadioButtonGroup</td><td>8</td><td>190</td><td>330</td><td>40</td><td>3</td><td>AgreeToLicense</td><td/><td>Back</td><td/><td>0</td><td/><td/><td/></row> + <row><td>LicenseAgreement</td><td>Back</td><td>PushButton</td><td>164</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsLicenseDlg_1##</td><td>Next</td><td/><td>0</td><td/><td/><td/></row> + <row><td>LicenseAgreement</td><td>Banner</td><td>Bitmap</td><td>0</td><td>0</td><td>374</td><td>44</td><td>262145</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td>NewBinary1</td></row> + <row><td>LicenseAgreement</td><td>BannerLine</td><td>Line</td><td>0</td><td>44</td><td>374</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>LicenseAgreement</td><td>Branding1</td><td>Text</td><td>4</td><td>229</td><td>50</td><td>13</td><td>3</td><td/><td>##IDS__IsLicenseDlg_2##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>LicenseAgreement</td><td>Branding2</td><td>Text</td><td>3</td><td>228</td><td>50</td><td>13</td><td>65537</td><td/><td>##IDS__IsLicenseDlg_3##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>LicenseAgreement</td><td>Cancel</td><td>PushButton</td><td>301</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsLicenseDlg_4##</td><td>Agree</td><td/><td>0</td><td/><td/><td/></row> + <row><td>LicenseAgreement</td><td>DlgDesc</td><td>Text</td><td>21</td><td>23</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS__IsLicenseDlg_5##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>LicenseAgreement</td><td>DlgLine</td><td>Line</td><td>48</td><td>234</td><td>326</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>LicenseAgreement</td><td>DlgTitle</td><td>Text</td><td>13</td><td>6</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS__IsLicenseDlg_7##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>LicenseAgreement</td><td>Memo</td><td>ScrollableText</td><td>8</td><td>55</td><td>358</td><td>130</td><td>7</td><td/><td/><td/><td/><td>0</td><td>0</td><td>&lt;ISProjectFolder&gt;\license.rtf</td><td/></row> + <row><td>LicenseAgreement</td><td>Next</td><td>PushButton</td><td>230</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsLicenseDlg_8##</td><td>Cancel</td><td/><td>0</td><td/><td/><td/></row> + <row><td>MaintenanceType</td><td>Back</td><td>PushButton</td><td>164</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsMaintenanceDlg_1##</td><td>Next</td><td/><td>0</td><td/><td/><td/></row> + <row><td>MaintenanceType</td><td>Banner</td><td>Bitmap</td><td>0</td><td>0</td><td>374</td><td>44</td><td>262145</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td>NewBinary1</td></row> + <row><td>MaintenanceType</td><td>BannerLine</td><td>Line</td><td>0</td><td>44</td><td>374</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>MaintenanceType</td><td>Branding1</td><td>Text</td><td>4</td><td>229</td><td>50</td><td>13</td><td>3</td><td/><td>##IDS__IsMaintenanceDlg_2##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>MaintenanceType</td><td>Branding2</td><td>Text</td><td>3</td><td>228</td><td>50</td><td>13</td><td>65537</td><td/><td>##IDS__IsMaintenanceDlg_3##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>MaintenanceType</td><td>Cancel</td><td>PushButton</td><td>301</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsMaintenanceDlg_4##</td><td>RadioGroup</td><td/><td>0</td><td/><td/><td/></row> + <row><td>MaintenanceType</td><td>DlgDesc</td><td>Text</td><td>21</td><td>23</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS__IsMaintenanceDlg_5##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>MaintenanceType</td><td>DlgLine</td><td>Line</td><td>48</td><td>234</td><td>326</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>MaintenanceType</td><td>DlgTitle</td><td>Text</td><td>13</td><td>6</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS__IsMaintenanceDlg_6##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>MaintenanceType</td><td>Ico2</td><td>Icon</td><td>35</td><td>75</td><td>24</td><td>24</td><td>5767169</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td>NewBinary7</td></row> + <row><td>MaintenanceType</td><td>Ico3</td><td>Icon</td><td>35</td><td>135</td><td>24</td><td>24</td><td>5767169</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td>NewBinary8</td></row> + <row><td>MaintenanceType</td><td>Next</td><td>PushButton</td><td>230</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsMaintenanceDlg_7##</td><td>Cancel</td><td/><td>0</td><td/><td/><td/></row> + <row><td>MaintenanceType</td><td>RadioGroup</td><td>RadioButtonGroup</td><td>21</td><td>55</td><td>290</td><td>170</td><td>3</td><td>_IsMaintenance</td><td>##IDS__IsMaintenanceDlg_11##</td><td>Back</td><td/><td>0</td><td>0</td><td/><td/></row> + <row><td>MaintenanceType</td><td>Text2</td><td>Text</td><td>80</td><td>75</td><td>260</td><td>35</td><td>3</td><td/><td>##IDS__IsMaintenanceDlg_13##</td><td/><td/><td>0</td><td>0</td><td/><td/></row> + <row><td>MaintenanceType</td><td>Text3</td><td>Text</td><td>80</td><td>132</td><td>260</td><td>35</td><td>3</td><td/><td>##IDS__IsMaintenanceDlg_14##</td><td/><td/><td>0</td><td>0</td><td/><td/></row> + <row><td>MaintenanceWelcome</td><td>Back</td><td>PushButton</td><td>164</td><td>243</td><td>66</td><td>17</td><td>1</td><td/><td>##IDS__IsMaintenanceWelcome_1##</td><td>Next</td><td/><td>0</td><td/><td/><td/></row> + <row><td>MaintenanceWelcome</td><td>Cancel</td><td>PushButton</td><td>301</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsMaintenanceWelcome_2##</td><td>Back</td><td/><td>0</td><td/><td/><td/></row> + <row><td>MaintenanceWelcome</td><td>DlgLine</td><td>Line</td><td>0</td><td>234</td><td>374</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>MaintenanceWelcome</td><td>Image</td><td>Bitmap</td><td>0</td><td>0</td><td>374</td><td>234</td><td>262145</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td>NewBinary5</td></row> + <row><td>MaintenanceWelcome</td><td>Next</td><td>PushButton</td><td>230</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsMaintenanceWelcome_3##</td><td>Cancel</td><td/><td>0</td><td/><td/><td/></row> + <row><td>MaintenanceWelcome</td><td>TextLine1</td><td>Text</td><td>135</td><td>8</td><td>225</td><td>45</td><td>65539</td><td/><td>##IDS__IsMaintenanceWelcome_4##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>MaintenanceWelcome</td><td>TextLine2</td><td>Text</td><td>135</td><td>55</td><td>228</td><td>50</td><td>65539</td><td/><td>##IDS__IsMaintenanceWelcome_5##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>OutOfSpace</td><td>Banner</td><td>Bitmap</td><td>0</td><td>0</td><td>374</td><td>44</td><td>262145</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td>NewBinary1</td></row> + <row><td>OutOfSpace</td><td>BannerLine</td><td>Line</td><td>0</td><td>44</td><td>374</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>OutOfSpace</td><td>Branding1</td><td>Text</td><td>4</td><td>229</td><td>50</td><td>13</td><td>3</td><td/><td>##IDS__IsDiskSpaceDlg_1##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>OutOfSpace</td><td>Branding2</td><td>Text</td><td>3</td><td>228</td><td>50</td><td>13</td><td>65537</td><td/><td>##IDS__IsDiskSpaceDlg_2##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>OutOfSpace</td><td>DlgDesc</td><td>Text</td><td>21</td><td>23</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS__IsDiskSpaceDlg_4##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>OutOfSpace</td><td>DlgLine</td><td>Line</td><td>48</td><td>234</td><td>326</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>OutOfSpace</td><td>DlgText</td><td>Text</td><td>21</td><td>51</td><td>326</td><td>43</td><td>3</td><td/><td>##IDS__IsDiskSpaceDlg_5##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>OutOfSpace</td><td>DlgTitle</td><td>Text</td><td>13</td><td>6</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS__IsDiskSpaceDlg_6##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>OutOfSpace</td><td>List</td><td>VolumeCostList</td><td>21</td><td>95</td><td>332</td><td>120</td><td>393223</td><td/><td>##IDS__IsDiskSpaceDlg_9##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>OutOfSpace</td><td>Resume</td><td>PushButton</td><td>301</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsDiskSpaceDlg_10##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>PatchWelcome</td><td>Back</td><td>PushButton</td><td>164</td><td>243</td><td>66</td><td>17</td><td>1</td><td/><td>##IDS__IsPatchDlg_4##</td><td>Next</td><td/><td>0</td><td/><td/><td/></row> + <row><td>PatchWelcome</td><td>Cancel</td><td>PushButton</td><td>301</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsPatchDlg_3##</td><td>Back</td><td/><td>0</td><td/><td/><td/></row> + <row><td>PatchWelcome</td><td>DlgLine</td><td>Line</td><td>0</td><td>234</td><td>374</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>PatchWelcome</td><td>Image</td><td>Bitmap</td><td>0</td><td>0</td><td>374</td><td>234</td><td>262145</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td>NewBinary5</td></row> + <row><td>PatchWelcome</td><td>Next</td><td>PushButton</td><td>230</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsPatchDlg_5##</td><td>Cancel</td><td/><td>0</td><td/><td/><td/></row> + <row><td>PatchWelcome</td><td>TextLine1</td><td>Text</td><td>135</td><td>8</td><td>225</td><td>45</td><td>65539</td><td/><td>##IDS__IsPatchDlg_1##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>PatchWelcome</td><td>TextLine2</td><td>Text</td><td>135</td><td>54</td><td>228</td><td>45</td><td>65539</td><td/><td>##IDS__IsPatchDlg_2##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>ReadyToInstall</td><td>Back</td><td>PushButton</td><td>164</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsVerifyReadyDlg_1##</td><td>InstallNow</td><td/><td>0</td><td/><td/><td/></row> + <row><td>ReadyToInstall</td><td>Banner</td><td>Bitmap</td><td>0</td><td>0</td><td>374</td><td>44</td><td>262145</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td>NewBinary1</td></row> + <row><td>ReadyToInstall</td><td>BannerLine</td><td>Line</td><td>0</td><td>44</td><td>374</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>ReadyToInstall</td><td>Branding1</td><td>Text</td><td>4</td><td>229</td><td>50</td><td>13</td><td>3</td><td/><td>##IDS__IsVerifyReadyDlg_2##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>ReadyToInstall</td><td>Branding2</td><td>Text</td><td>3</td><td>228</td><td>50</td><td>13</td><td>65537</td><td/><td>##IDS__IsVerifyReadyDlg_3##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>ReadyToInstall</td><td>Cancel</td><td>PushButton</td><td>301</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsVerifyReadyDlg_4##</td><td>Back</td><td/><td>0</td><td/><td/><td/></row> + <row><td>ReadyToInstall</td><td>DlgDesc</td><td>Text</td><td>21</td><td>23</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS__IsVerifyReadyDlg_5##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>ReadyToInstall</td><td>DlgLine</td><td>Line</td><td>48</td><td>234</td><td>374</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>ReadyToInstall</td><td>DlgText</td><td>Text</td><td>21</td><td>100</td><td>326</td><td>20</td><td>3</td><td/><td>##IDS__IsVerifyReadyDlg_6##</td><td/><td/><td>0</td><td>0</td><td/><td/></row> + <row><td>ReadyToInstall</td><td>DlgText1</td><td>Text</td><td>21</td><td>119</td><td>330</td><td>24</td><td>3</td><td/><td>##IDS__IsVerifyReadyDlg_7##</td><td/><td/><td>0</td><td>0</td><td/><td/></row> + <row><td>ReadyToInstall</td><td>DlgTitle</td><td>Text</td><td>13</td><td>6</td><td>292</td><td>25</td><td>65538</td><td/><td>##IDS__IsVerifyReadyDlg_8##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>ReadyToInstall</td><td>DlgTitle2</td><td>Text</td><td>13</td><td>6</td><td>292</td><td>25</td><td>65538</td><td/><td>##IDS__IsVerifyReadyDlg_10##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>ReadyToInstall</td><td>DlgTitle3</td><td>Text</td><td>13</td><td>6</td><td>292</td><td>25</td><td>65538</td><td/><td>##IDS__IsVerifyReadyDlg_11##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>ReadyToInstall</td><td>InstallNow</td><td>PushButton</td><td>230</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsVerifyReadyDlg_9##</td><td>Cancel</td><td/><td>0</td><td/><td/><td/></row> + <row><td>ReadyToInstall</td><td>Text1</td><td>Text</td><td>21</td><td>51</td><td>326</td><td>43</td><td>3</td><td/><td>##IDS__IsVerifyReadyDlg_22##</td><td/><td/><td>0</td><td>0</td><td/><td/></row> + <row><td>ReadyToRemove</td><td>Back</td><td>PushButton</td><td>164</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsVerifyRemoveAllDlg_1##</td><td>RemoveNow</td><td/><td>0</td><td/><td/><td/></row> + <row><td>ReadyToRemove</td><td>Banner</td><td>Bitmap</td><td>0</td><td>0</td><td>374</td><td>44</td><td>262145</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td>NewBinary1</td></row> + <row><td>ReadyToRemove</td><td>BannerLine</td><td>Line</td><td>0</td><td>44</td><td>374</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>ReadyToRemove</td><td>Branding1</td><td>Text</td><td>4</td><td>229</td><td>50</td><td>13</td><td>3</td><td/><td>##IDS__IsVerifyRemoveAllDlg_2##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>ReadyToRemove</td><td>Branding2</td><td>Text</td><td>3</td><td>228</td><td>50</td><td>13</td><td>65537</td><td/><td>##IDS__IsVerifyRemoveAllDlg_3##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>ReadyToRemove</td><td>Cancel</td><td>PushButton</td><td>301</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsVerifyRemoveAllDlg_4##</td><td>Back</td><td/><td>0</td><td/><td/><td/></row> + <row><td>ReadyToRemove</td><td>DlgDesc</td><td>Text</td><td>21</td><td>23</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS__IsVerifyRemoveAllDlg_5##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>ReadyToRemove</td><td>DlgLine</td><td>Line</td><td>48</td><td>234</td><td>326</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>ReadyToRemove</td><td>DlgText</td><td>Text</td><td>21</td><td>51</td><td>326</td><td>24</td><td>3</td><td/><td>##IDS__IsVerifyRemoveAllDlg_6##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>ReadyToRemove</td><td>DlgText1</td><td>Text</td><td>21</td><td>79</td><td>330</td><td>23</td><td>3</td><td/><td>##IDS__IsVerifyRemoveAllDlg_7##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>ReadyToRemove</td><td>DlgText2</td><td>Text</td><td>21</td><td>102</td><td>330</td><td>24</td><td>3</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>ReadyToRemove</td><td>DlgTitle</td><td>Text</td><td>13</td><td>6</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS__IsVerifyRemoveAllDlg_8##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>ReadyToRemove</td><td>RemoveNow</td><td>PushButton</td><td>230</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsVerifyRemoveAllDlg_9##</td><td>Cancel</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SQLBrowse</td><td>Branding1</td><td>Text</td><td>4</td><td>227</td><td>50</td><td>13</td><td>3</td><td/><td>##IDS_INSTALLSHIELD_FORMATTED##</td><td/><td/><td>0</td><td>0</td><td/><td/></row> + <row><td>SQLBrowse</td><td>Branding2</td><td>Text</td><td>3</td><td>226</td><td>50</td><td>13</td><td>65537</td><td/><td>##IDS_INSTALLSHIELD##</td><td/><td/><td>0</td><td>0</td><td/><td/></row> + <row><td>SQLBrowse</td><td>Cancel</td><td>PushButton</td><td>194</td><td>241</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS_CANCEL##</td><td>TxtSQLBrowse</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SQLBrowse</td><td>DlgLine</td><td>Line</td><td>48</td><td>232</td><td>224</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td/></row> + <row><td>SQLBrowse</td><td>OK</td><td>PushButton</td><td>125</td><td>241</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS_OK##</td><td>lstSQLServer</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SQLBrowse</td><td>TxtSQLBrowse</td><td>Text</td><td>13</td><td>8</td><td>245</td><td>31</td><td>65539</td><td/><td>##IDS_SQLBROWSE_INTRO##</td><td>OK</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SQLBrowse</td><td>lstSQLServer</td><td>ListBox</td><td>14</td><td>45</td><td>245</td><td>165</td><td>7</td><td>IS_SQLSERVER_LIST</td><td/><td>Cancel</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SQLLogin</td><td>Back</td><td>PushButton</td><td>164</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS_BACK##</td><td>Next</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SQLLogin</td><td>Banner</td><td>Bitmap</td><td>0</td><td>0</td><td>374</td><td>44</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td>NewBinary1</td></row> + <row><td>SQLLogin</td><td>BannerLine</td><td>Line</td><td>0</td><td>44</td><td>374</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SQLLogin</td><td>Branding1</td><td>Text</td><td>4</td><td>229</td><td>50</td><td>13</td><td>3</td><td/><td>##IDS_INSTALLSHIELD_FORMATTED##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SQLLogin</td><td>Branding2</td><td>Text</td><td>3</td><td>228</td><td>50</td><td>13</td><td>65537</td><td/><td>##IDS_INSTALLSHIELD##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SQLLogin</td><td>BtnSQLBrowse</td><td>PushButton</td><td>301</td><td>106</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS_SQLLOGIN_BROWSE##</td><td>lblAuthentication</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SQLLogin</td><td>Cancel</td><td>PushButton</td><td>301</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS_CANCEL##</td><td>lblServer</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SQLLogin</td><td>DlgDesc</td><td>Text</td><td>21</td><td>23</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS_SQLLOGIN_DESC##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SQLLogin</td><td>DlgLine</td><td>Line</td><td>48</td><td>234</td><td>326</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SQLLogin</td><td>DlgTitle</td><td>Text</td><td>13</td><td>7</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS_SQLLOGIN_TITLE##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SQLLogin</td><td>EdtLogin</td><td>Edit</td><td>92</td><td>184</td><td>218</td><td>16</td><td>3</td><td>IS_SQLSERVER_USERNAME</td><td/><td>lblPswd</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SQLLogin</td><td>EdtPswd</td><td>Edit</td><td>92</td><td>208</td><td>218</td><td>16</td><td>2097155</td><td>IS_SQLSERVER_PASSWORD</td><td/><td>Back</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SQLLogin</td><td>Next</td><td>PushButton</td><td>229</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS_NEXT##</td><td>Cancel</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SQLLogin</td><td>RadioButtonGroup1</td><td>RadioButtonGroup</td><td>25</td><td>145</td><td>343</td><td>34</td><td>3</td><td>IS_SQLSERVER_AUTHENTICATION</td><td/><td>lblLoginID</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SQLLogin</td><td>cboServers</td><td>ComboBox</td><td>18</td><td>106</td><td>278</td><td>80</td><td>65539</td><td>IS_SQLSERVER_SERVER</td><td/><td>BtnSQLBrowse</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SQLLogin</td><td>lblAuthentication</td><td>Text</td><td>18</td><td>129</td><td>334</td><td>14</td><td>131075</td><td/><td>##IDS_SQLLOGIN_CONNECT##</td><td>RadioButtonGroup1</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SQLLogin</td><td>lblLoginID</td><td>Text</td><td>43</td><td>186</td><td>48</td><td>13</td><td>3</td><td/><td>##IDS_SQLLOGIN_ID##</td><td>EdtLogin</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SQLLogin</td><td>lblPswd</td><td>Text</td><td>43</td><td>208</td><td>47</td><td>13</td><td>3</td><td/><td>##IDS_SQLLOGIN_PSWD##</td><td>EdtPswd</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SQLLogin</td><td>lblSQLLoginIntro</td><td>Text</td><td>17</td><td>50</td><td>345</td><td>40</td><td>65539</td><td/><td>##IDS_SQLLOGIN_INTRO##</td><td>cboServers</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SQLLogin</td><td>lblServer</td><td>Text</td><td>18</td><td>92</td><td>88</td><td>14</td><td>3</td><td/><td>##IDS_SQLLOGIN_SERVER##</td><td>lblSQLLoginIntro</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupBadPath</td><td>Icon1</td><td>Icon</td><td>15</td><td>15</td><td>24</td><td>24</td><td>5767169</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td>NewBinary4</td></row> + <row><td>SetupBadPath</td><td>PushButton7</td><td>PushButton</td><td>192</td><td>80</td><td>66</td><td>17</td><td>3</td><td/><td>##NEW_STRING9##</td><td/><td/><td>0</td><td>0</td><td/><td/></row> + <row><td>SetupBadPath</td><td>Text1</td><td>Text</td><td>50</td><td>15</td><td>200</td><td>50</td><td>3</td><td>NewProperty1</td><td>##NEW_STRING6##</td><td/><td/><td>0</td><td>0</td><td/><td/></row> + <row><td>SetupCompleteError</td><td>Back</td><td>PushButton</td><td>164</td><td>243</td><td>66</td><td>17</td><td>1</td><td/><td>##IDS__IsFatalError_1##</td><td>Finish</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupCompleteError</td><td>Cancel</td><td>PushButton</td><td>301</td><td>243</td><td>66</td><td>17</td><td>1</td><td/><td>##IDS__IsFatalError_2##</td><td>Back</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupCompleteError</td><td>DlgLine</td><td>Line</td><td>0</td><td>234</td><td>374</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupCompleteError</td><td>Finish</td><td>PushButton</td><td>230</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsFatalError_3##</td><td>Cancel</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupCompleteError</td><td>FinishText1</td><td>Text</td><td>135</td><td>80</td><td>228</td><td>50</td><td>65539</td><td/><td>##IDS__IsFatalError_4##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupCompleteError</td><td>FinishText2</td><td>Text</td><td>135</td><td>135</td><td>228</td><td>25</td><td>65539</td><td/><td>##IDS__IsFatalError_5##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupCompleteError</td><td>Image</td><td>Bitmap</td><td>0</td><td>0</td><td>374</td><td>234</td><td>262145</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td>NewBinary5</td></row> + <row><td>SetupCompleteError</td><td>RestContText1</td><td>Text</td><td>135</td><td>80</td><td>228</td><td>50</td><td>65539</td><td/><td>##IDS__IsFatalError_6##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupCompleteError</td><td>RestContText2</td><td>Text</td><td>135</td><td>135</td><td>228</td><td>25</td><td>65539</td><td/><td>##IDS__IsFatalError_7##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupCompleteError</td><td>TextLine1</td><td>Text</td><td>135</td><td>8</td><td>225</td><td>45</td><td>65539</td><td/><td>##IDS__IsFatalError_8##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupCompleteError</td><td>TextLine2</td><td>Text</td><td>135</td><td>55</td><td>228</td><td>25</td><td>65539</td><td/><td>##IDS__IsFatalError_9##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupCompleteSuccess</td><td>Back</td><td>PushButton</td><td>164</td><td>243</td><td>66</td><td>17</td><td>1</td><td/><td>##IDS__IsExitDialog_1##</td><td>OK</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupCompleteSuccess</td><td>Cancel</td><td>PushButton</td><td>301</td><td>243</td><td>66</td><td>17</td><td>1</td><td/><td>##IDS__IsExitDialog_2##</td><td>Image</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupCompleteSuccess</td><td>CheckLaunchReadme</td><td>CheckBox</td><td>151</td><td>114</td><td>10</td><td>9</td><td>2</td><td>LAUNCHREADME</td><td/><td/><td/><td>0</td><td>0</td><td/><td/></row> + <row><td>SetupCompleteSuccess</td><td>DlgLine</td><td>Line</td><td>0</td><td>234</td><td>374</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupCompleteSuccess</td><td>Image</td><td>Bitmap</td><td>0</td><td>0</td><td>374</td><td>234</td><td>262145</td><td/><td/><td>Back</td><td/><td>0</td><td>0</td><td/><td>NewBinary5</td></row> + <row><td>SetupCompleteSuccess</td><td>LaunchReadmeText</td><td>Text</td><td>164</td><td>112</td><td>198</td><td>13</td><td>65538</td><td/><td>##IDS__IsExitDialog_8##</td><td/><td/><td>0</td><td>0</td><td/><td/></row> + <row><td>SetupCompleteSuccess</td><td>OK</td><td>PushButton</td><td>230</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsExitDialog_3##</td><td>Cancel</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupCompleteSuccess</td><td>TextLine1</td><td>Text</td><td>135</td><td>8</td><td>225</td><td>45</td><td>65539</td><td/><td>##IDS__IsExitDialog_4##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupCompleteSuccess</td><td>TextLine2</td><td>Text</td><td>135</td><td>55</td><td>228</td><td>45</td><td>65538</td><td/><td>##IDS__IsExitDialog_5##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupCompleteSuccess</td><td>TextLine3</td><td>Text</td><td>135</td><td>55</td><td>228</td><td>45</td><td>65538</td><td/><td>##IDS__IsExitDialog_6##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupCompleteSuccess</td><td>UpdateTextLine1</td><td>Text</td><td>135</td><td>30</td><td>228</td><td>45</td><td>65538</td><td/><td>##IDS__IsExitDialog_Update_4##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupError</td><td>A</td><td>PushButton</td><td>192</td><td>80</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsErrorDlg_1##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupError</td><td>C</td><td>PushButton</td><td>192</td><td>80</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsErrorDlg_2##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupError</td><td>ErrorText</td><td>Text</td><td>50</td><td>15</td><td>200</td><td>50</td><td>3</td><td/><td>##IDS__IsErrorDlg_3##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupError</td><td>I</td><td>PushButton</td><td>192</td><td>80</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsErrorDlg_4##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupError</td><td>N</td><td>PushButton</td><td>192</td><td>80</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsErrorDlg_5##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupError</td><td>O</td><td>PushButton</td><td>192</td><td>80</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsErrorDlg_6##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupError</td><td>R</td><td>PushButton</td><td>192</td><td>80</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsErrorDlg_7##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupError</td><td>WarningIcon</td><td>Icon</td><td>15</td><td>15</td><td>24</td><td>24</td><td>5242881</td><td/><td/><td/><td/><td>0</td><td/><td/><td>NewBinary4</td></row> + <row><td>SetupError</td><td>Y</td><td>PushButton</td><td>192</td><td>80</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsErrorDlg_8##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupInitialization</td><td>ActionData</td><td>Text</td><td>135</td><td>125</td><td>228</td><td>12</td><td>65539</td><td/><td>##IDS__IsInitDlg_1##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupInitialization</td><td>ActionText</td><td>Text</td><td>135</td><td>109</td><td>220</td><td>36</td><td>65539</td><td/><td>##IDS__IsInitDlg_2##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupInitialization</td><td>Back</td><td>PushButton</td><td>164</td><td>243</td><td>66</td><td>17</td><td>1</td><td/><td>##IDS__IsInitDlg_3##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupInitialization</td><td>Cancel</td><td>PushButton</td><td>301</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsInitDlg_4##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupInitialization</td><td>DlgLine</td><td>Line</td><td>0</td><td>234</td><td>374</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupInitialization</td><td>Image</td><td>Bitmap</td><td>0</td><td>0</td><td>374</td><td>234</td><td>262145</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td>NewBinary5</td></row> + <row><td>SetupInitialization</td><td>Next</td><td>PushButton</td><td>230</td><td>243</td><td>66</td><td>17</td><td>1</td><td/><td>##IDS__IsInitDlg_5##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupInitialization</td><td>TextLine1</td><td>Text</td><td>135</td><td>8</td><td>225</td><td>45</td><td>65539</td><td/><td>##IDS__IsInitDlg_6##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupInitialization</td><td>TextLine2</td><td>Text</td><td>135</td><td>55</td><td>228</td><td>30</td><td>65539</td><td/><td>##IDS__IsInitDlg_7##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupInterrupted</td><td>Back</td><td>PushButton</td><td>164</td><td>243</td><td>66</td><td>17</td><td>1</td><td/><td>##IDS__IsUserExit_1##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupInterrupted</td><td>Cancel</td><td>PushButton</td><td>301</td><td>243</td><td>66</td><td>17</td><td>1</td><td/><td>##IDS__IsUserExit_2##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupInterrupted</td><td>DlgLine</td><td>Line</td><td>0</td><td>234</td><td>374</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupInterrupted</td><td>Finish</td><td>PushButton</td><td>230</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsUserExit_3##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupInterrupted</td><td>FinishText1</td><td>Text</td><td>135</td><td>80</td><td>228</td><td>50</td><td>65539</td><td/><td>##IDS__IsUserExit_4##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupInterrupted</td><td>FinishText2</td><td>Text</td><td>135</td><td>135</td><td>228</td><td>25</td><td>65539</td><td/><td>##IDS__IsUserExit_5##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupInterrupted</td><td>Image</td><td>Bitmap</td><td>0</td><td>0</td><td>374</td><td>234</td><td>262145</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td>NewBinary5</td></row> + <row><td>SetupInterrupted</td><td>RestContText1</td><td>Text</td><td>135</td><td>80</td><td>228</td><td>50</td><td>65539</td><td/><td>##IDS__IsUserExit_6##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupInterrupted</td><td>RestContText2</td><td>Text</td><td>135</td><td>135</td><td>228</td><td>25</td><td>65539</td><td/><td>##IDS__IsUserExit_7##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupInterrupted</td><td>TextLine1</td><td>Text</td><td>135</td><td>8</td><td>225</td><td>45</td><td>65539</td><td/><td>##IDS__IsUserExit_8##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupInterrupted</td><td>TextLine2</td><td>Text</td><td>135</td><td>55</td><td>228</td><td>25</td><td>65539</td><td/><td>##IDS__IsUserExit_9##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupProgress</td><td>ActionProgress95</td><td>ProgressBar</td><td>59</td><td>113</td><td>275</td><td>12</td><td>65537</td><td/><td>##IDS__IsProgressDlg_1##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupProgress</td><td>ActionText</td><td>Text</td><td>59</td><td>100</td><td>275</td><td>12</td><td>3</td><td/><td>##IDS__IsProgressDlg_2##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupProgress</td><td>Back</td><td>PushButton</td><td>164</td><td>243</td><td>66</td><td>17</td><td>1</td><td/><td>##IDS__IsProgressDlg_3##</td><td>Next</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupProgress</td><td>Banner</td><td>Bitmap</td><td>0</td><td>0</td><td>374</td><td>44</td><td>262145</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td>NewBinary1</td></row> + <row><td>SetupProgress</td><td>BannerLine</td><td>Line</td><td>0</td><td>44</td><td>374</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupProgress</td><td>Branding1</td><td>Text</td><td>4</td><td>229</td><td>50</td><td>13</td><td>3</td><td/><td>##IDS__IsProgressDlg_4##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupProgress</td><td>Branding2</td><td>Text</td><td>3</td><td>228</td><td>50</td><td>13</td><td>65537</td><td/><td>##IDS__IsProgressDlg_5##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupProgress</td><td>Cancel</td><td>PushButton</td><td>301</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsProgressDlg_6##</td><td>Back</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupProgress</td><td>DlgDesc</td><td>Text</td><td>21</td><td>23</td><td>292</td><td>25</td><td>65538</td><td/><td>##IDS__IsProgressDlg_7##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupProgress</td><td>DlgDesc2</td><td>Text</td><td>21</td><td>23</td><td>292</td><td>25</td><td>65538</td><td/><td>##IDS__IsProgressDlg_16##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupProgress</td><td>DlgLine</td><td>Line</td><td>48</td><td>234</td><td>326</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupProgress</td><td>DlgText</td><td>Text</td><td>59</td><td>51</td><td>275</td><td>30</td><td>65538</td><td/><td>##IDS__IsProgressDlg_8##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupProgress</td><td>DlgText2</td><td>Text</td><td>59</td><td>51</td><td>275</td><td>30</td><td>65538</td><td/><td>##IDS__IsProgressDlg_17##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupProgress</td><td>DlgTitle</td><td>Text</td><td>13</td><td>6</td><td>292</td><td>25</td><td>65538</td><td/><td>##IDS__IsProgressDlg_9##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupProgress</td><td>DlgTitle2</td><td>Text</td><td>13</td><td>6</td><td>292</td><td>25</td><td>65538</td><td/><td>##IDS__IsProgressDlg_15##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupProgress</td><td>LbSec</td><td>Text</td><td>172</td><td>139</td><td>32</td><td>12</td><td>2</td><td/><td>##IDS__IsProgressDlg_10##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupProgress</td><td>LbStatus</td><td>Text</td><td>59</td><td>85</td><td>70</td><td>12</td><td>3</td><td/><td>##IDS__IsProgressDlg_11##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupProgress</td><td>Next</td><td>PushButton</td><td>230</td><td>243</td><td>66</td><td>17</td><td>1</td><td/><td>##IDS__IsProgressDlg_12##</td><td>Cancel</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupProgress</td><td>SetupIcon</td><td>Icon</td><td>21</td><td>51</td><td>24</td><td>24</td><td>5242881</td><td/><td/><td/><td/><td>0</td><td/><td/><td>NewBinary9</td></row> + <row><td>SetupProgress</td><td>ShowTime</td><td>Text</td><td>155</td><td>139</td><td>17</td><td>12</td><td>2</td><td/><td>##IDS__IsProgressDlg_13##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupProgress</td><td>TextTime</td><td>Text</td><td>59</td><td>139</td><td>96</td><td>12</td><td>2</td><td/><td>##IDS__IsProgressDlg_14##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupResume</td><td>Back</td><td>PushButton</td><td>164</td><td>243</td><td>66</td><td>17</td><td>1</td><td/><td>##IDS__IsResumeDlg_1##</td><td>Next</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupResume</td><td>Cancel</td><td>PushButton</td><td>301</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsResumeDlg_2##</td><td>Back</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupResume</td><td>DlgLine</td><td>Line</td><td>0</td><td>234</td><td>374</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupResume</td><td>Image</td><td>Bitmap</td><td>0</td><td>0</td><td>374</td><td>234</td><td>262145</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td>NewBinary5</td></row> + <row><td>SetupResume</td><td>Next</td><td>PushButton</td><td>230</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsResumeDlg_3##</td><td>Cancel</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupResume</td><td>PreselectedText</td><td>Text</td><td>135</td><td>55</td><td>228</td><td>45</td><td>65539</td><td/><td>##IDS__IsResumeDlg_4##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupResume</td><td>ResumeText</td><td>Text</td><td>135</td><td>46</td><td>228</td><td>45</td><td>65539</td><td/><td>##IDS__IsResumeDlg_5##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupResume</td><td>TextLine1</td><td>Text</td><td>135</td><td>8</td><td>225</td><td>45</td><td>65539</td><td/><td>##IDS__IsResumeDlg_6##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupType</td><td>Back</td><td>PushButton</td><td>164</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsSetupTypeMinDlg_1##</td><td>Next</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupType</td><td>Banner</td><td>Bitmap</td><td>0</td><td>0</td><td>374</td><td>44</td><td>262145</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td>NewBinary1</td></row> + <row><td>SetupType</td><td>BannerLine</td><td>Line</td><td>0</td><td>44</td><td>374</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupType</td><td>Branding1</td><td>Text</td><td>4</td><td>229</td><td>50</td><td>13</td><td>3</td><td/><td>##IDS__IsSetupTypeMinDlg_2##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupType</td><td>Branding2</td><td>Text</td><td>3</td><td>228</td><td>50</td><td>13</td><td>65537</td><td/><td>##IDS__IsSetupTypeMinDlg_3##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupType</td><td>Cancel</td><td>PushButton</td><td>301</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsSetupTypeMinDlg_4##</td><td>RadioGroup</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupType</td><td>CompText</td><td>Text</td><td>80</td><td>94</td><td>246</td><td>35</td><td>3</td><td/><td>##IDS__IsSetupTypeMinDlg_5##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupType</td><td>CompleteIco</td><td>Icon</td><td>34</td><td>94</td><td>24</td><td>24</td><td>5242881</td><td/><td/><td/><td/><td>0</td><td/><td/><td>NewBinary10</td></row> + <row><td>SetupType</td><td>CustText</td><td>Text</td><td>80</td><td>154</td><td>246</td><td>35</td><td>3</td><td/><td>##IDS__IsSetupTypeMinDlg_6##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupType</td><td>CustomIco</td><td>Icon</td><td>34</td><td>154</td><td>24</td><td>24</td><td>5242881</td><td/><td/><td/><td/><td>0</td><td/><td/><td>NewBinary6</td></row> + <row><td>SetupType</td><td>DlgDesc</td><td>Text</td><td>21</td><td>23</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS__IsSetupTypeMinDlg_7##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupType</td><td>DlgLine</td><td>Line</td><td>48</td><td>234</td><td>326</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupType</td><td>DlgText</td><td>Text</td><td>21</td><td>51</td><td>326</td><td>10</td><td>3</td><td/><td>##IDS__IsSetupTypeMinDlg_8##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupType</td><td>DlgTitle</td><td>Text</td><td>13</td><td>6</td><td>292</td><td>25</td><td>65539</td><td/><td>##IDS__IsSetupTypeMinDlg_9##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupType</td><td>Next</td><td>PushButton</td><td>230</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsSetupTypeMinDlg_10##</td><td>Cancel</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SetupType</td><td>RadioGroup</td><td>RadioButtonGroup</td><td>21</td><td>79</td><td>264</td><td>120</td><td>3</td><td>_IsSetupTypeMin</td><td>##IDS__IsSetupTypeMinDlg_13##</td><td>Back</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SplashBitmap</td><td>Back</td><td>PushButton</td><td>164</td><td>243</td><td>66</td><td>17</td><td>1</td><td/><td>##IDS__IsBitmapDlg_1##</td><td>Next</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SplashBitmap</td><td>Branding1</td><td>Text</td><td>4</td><td>229</td><td>50</td><td>13</td><td>3</td><td/><td>##IDS__IsBitmapDlg_2##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SplashBitmap</td><td>Branding2</td><td>Text</td><td>3</td><td>228</td><td>50</td><td>13</td><td>65537</td><td/><td>##IDS__IsBitmapDlg_3##</td><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SplashBitmap</td><td>Cancel</td><td>PushButton</td><td>301</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsBitmapDlg_4##</td><td>Back</td><td/><td>0</td><td/><td/><td/></row> + <row><td>SplashBitmap</td><td>DlgLine</td><td>Line</td><td>48</td><td>234</td><td>374</td><td>0</td><td>1</td><td/><td/><td/><td/><td>0</td><td/><td/><td/></row> + <row><td>SplashBitmap</td><td>Image</td><td>Bitmap</td><td>13</td><td>12</td><td>349</td><td>211</td><td>262145</td><td/><td/><td/><td/><td>0</td><td>0</td><td/><td>NewBinary5</td></row> + <row><td>SplashBitmap</td><td>Next</td><td>PushButton</td><td>230</td><td>243</td><td>66</td><td>17</td><td>3</td><td/><td>##IDS__IsBitmapDlg_5##</td><td>Cancel</td><td/><td>0</td><td/><td/><td/></row> + </table> + + <table name="ControlCondition"> + <col key="yes" def="s72">Dialog_</col> + <col key="yes" def="s50">Control_</col> + <col key="yes" def="s50">Action</col> + <col key="yes" def="s255">Condition</col> + <row><td>CustomSetup</td><td>ChangeFolder</td><td>Hide</td><td>Installed</td></row> + <row><td>CustomSetup</td><td>Details</td><td>Hide</td><td>Installed</td></row> + <row><td>CustomSetup</td><td>InstallLabel</td><td>Hide</td><td>Installed</td></row> + <row><td>CustomerInformation</td><td>DlgRadioGroupText</td><td>Hide</td><td>NOT Privileged</td></row> + <row><td>CustomerInformation</td><td>DlgRadioGroupText</td><td>Hide</td><td>ProductState &gt; 0</td></row> + <row><td>CustomerInformation</td><td>DlgRadioGroupText</td><td>Hide</td><td>Version9X</td></row> + <row><td>CustomerInformation</td><td>MissingApache</td><td>Show</td><td>APACHE_FOUND = ""</td></row> + <row><td>CustomerInformation</td><td>RadioGroup</td><td>Hide</td><td>NOT Privileged</td></row> + <row><td>CustomerInformation</td><td>RadioGroup</td><td>Hide</td><td>ProductState &gt; 0</td></row> + <row><td>CustomerInformation</td><td>RadioGroup</td><td>Hide</td><td>Version9X</td></row> + <row><td>InstallWelcome</td><td>Back</td><td>Disable</td><td>1</td></row> + <row><td>InstallWelcome</td><td>Copyright</td><td>Hide</td><td>SHOWCOPYRIGHT="No"</td></row> + <row><td>InstallWelcome</td><td>Copyright</td><td>Show</td><td>SHOWCOPYRIGHT="Yes"</td></row> + <row><td>LicenseAgreement</td><td>Next</td><td>Disable</td><td>AgreeToLicense &lt;&gt; "Yes"</td></row> + <row><td>LicenseAgreement</td><td>Next</td><td>Enable</td><td>AgreeToLicense = "Yes"</td></row> + <row><td>ReadyToInstall</td><td>DlgTitle</td><td>Show</td><td>ProgressType0="Modify"</td></row> + <row><td>ReadyToInstall</td><td>DlgTitle2</td><td>Show</td><td>ProgressType0="Repair"</td></row> + <row><td>ReadyToInstall</td><td>DlgTitle3</td><td>Show</td><td>ProgressType0="install"</td></row> + <row><td>SQLLogin</td><td>EdtLogin</td><td>Disable</td><td>IS_SQLSERVER_AUTHENTICATION=0</td></row> + <row><td>SQLLogin</td><td>EdtLogin</td><td>Enable</td><td>IS_SQLSERVER_AUTHENTICATION=1</td></row> + <row><td>SQLLogin</td><td>EdtPswd</td><td>Disable</td><td>IS_SQLSERVER_AUTHENTICATION=0</td></row> + <row><td>SQLLogin</td><td>EdtPswd</td><td>Enable</td><td>IS_SQLSERVER_AUTHENTICATION=1</td></row> + <row><td>SQLLogin</td><td>lblLoginID</td><td>Disable</td><td>IS_SQLSERVER_AUTHENTICATION=0</td></row> + <row><td>SQLLogin</td><td>lblLoginID</td><td>Enable</td><td>IS_SQLSERVER_AUTHENTICATION=1</td></row> + <row><td>SQLLogin</td><td>lblPswd</td><td>Disable</td><td>IS_SQLSERVER_AUTHENTICATION=0</td></row> + <row><td>SQLLogin</td><td>lblPswd</td><td>Enable</td><td>IS_SQLSERVER_AUTHENTICATION=1</td></row> + <row><td>SetupCompleteError</td><td>Back</td><td>Default</td><td>UpdateStarted</td></row> + <row><td>SetupCompleteError</td><td>Back</td><td>Disable</td><td>NOT UpdateStarted</td></row> + <row><td>SetupCompleteError</td><td>Back</td><td>Enable</td><td>UpdateStarted</td></row> + <row><td>SetupCompleteError</td><td>Cancel</td><td>Disable</td><td>NOT UpdateStarted</td></row> + <row><td>SetupCompleteError</td><td>Cancel</td><td>Enable</td><td>UpdateStarted</td></row> + <row><td>SetupCompleteError</td><td>Finish</td><td>Default</td><td>NOT UpdateStarted</td></row> + <row><td>SetupCompleteError</td><td>FinishText1</td><td>Hide</td><td>UpdateStarted</td></row> + <row><td>SetupCompleteError</td><td>FinishText1</td><td>Show</td><td>NOT UpdateStarted</td></row> + <row><td>SetupCompleteError</td><td>FinishText2</td><td>Hide</td><td>UpdateStarted</td></row> + <row><td>SetupCompleteError</td><td>FinishText2</td><td>Show</td><td>NOT UpdateStarted</td></row> + <row><td>SetupCompleteError</td><td>RestContText1</td><td>Hide</td><td>NOT UpdateStarted</td></row> + <row><td>SetupCompleteError</td><td>RestContText1</td><td>Show</td><td>UpdateStarted</td></row> + <row><td>SetupCompleteError</td><td>RestContText2</td><td>Hide</td><td>NOT UpdateStarted</td></row> + <row><td>SetupCompleteError</td><td>RestContText2</td><td>Show</td><td>UpdateStarted</td></row> + <row><td>SetupCompleteSuccess</td><td>CheckLaunchReadme</td><td>Show</td><td>SHOWLAUNCHREADME="-1" And READMEFILETOLAUNCHATEND &lt;&gt; "" And NOT Installed And NOT ISENABLEDWUSFINISHDIALOG</td></row> + <row><td>SetupCompleteSuccess</td><td>LaunchReadmeText</td><td>Show</td><td>SHOWLAUNCHREADME="-1" And READMEFILETOLAUNCHATEND &lt;&gt; "" And NOT Installed And NOT ISENABLEDWUSFINISHDIALOG</td></row> + <row><td>SetupCompleteSuccess</td><td>TextLine2</td><td>Show</td><td>ProgressType2="installed" And ((ACTION&lt;&gt;"INSTALL") OR (NOT ISENABLEDWUSFINISHDIALOG) OR (ISENABLEDWUSFINISHDIALOG And Installed))</td></row> + <row><td>SetupCompleteSuccess</td><td>TextLine3</td><td>Show</td><td>ProgressType2="uninstalled" And ((ACTION&lt;&gt;"INSTALL") OR (NOT ISENABLEDWUSFINISHDIALOG) OR (ISENABLEDWUSFINISHDIALOG And Installed))</td></row> + <row><td>SetupCompleteSuccess</td><td>UpdateTextLine1</td><td>Show</td><td>ISENABLEDWUSFINISHDIALOG And NOT Installed And ACTION="INSTALL"</td></row> + <row><td>SetupInterrupted</td><td>Back</td><td>Default</td><td>UpdateStarted</td></row> + <row><td>SetupInterrupted</td><td>Back</td><td>Disable</td><td>NOT UpdateStarted</td></row> + <row><td>SetupInterrupted</td><td>Back</td><td>Enable</td><td>UpdateStarted</td></row> + <row><td>SetupInterrupted</td><td>Cancel</td><td>Disable</td><td>NOT UpdateStarted</td></row> + <row><td>SetupInterrupted</td><td>Cancel</td><td>Enable</td><td>UpdateStarted</td></row> + <row><td>SetupInterrupted</td><td>Finish</td><td>Default</td><td>NOT UpdateStarted</td></row> + <row><td>SetupInterrupted</td><td>FinishText1</td><td>Hide</td><td>UpdateStarted</td></row> + <row><td>SetupInterrupted</td><td>FinishText1</td><td>Show</td><td>NOT UpdateStarted</td></row> + <row><td>SetupInterrupted</td><td>FinishText2</td><td>Hide</td><td>UpdateStarted</td></row> + <row><td>SetupInterrupted</td><td>FinishText2</td><td>Show</td><td>NOT UpdateStarted</td></row> + <row><td>SetupInterrupted</td><td>RestContText1</td><td>Hide</td><td>NOT UpdateStarted</td></row> + <row><td>SetupInterrupted</td><td>RestContText1</td><td>Show</td><td>UpdateStarted</td></row> + <row><td>SetupInterrupted</td><td>RestContText2</td><td>Hide</td><td>NOT UpdateStarted</td></row> + <row><td>SetupInterrupted</td><td>RestContText2</td><td>Show</td><td>UpdateStarted</td></row> + <row><td>SetupProgress</td><td>DlgDesc</td><td>Show</td><td>ProgressType2="installed"</td></row> + <row><td>SetupProgress</td><td>DlgDesc2</td><td>Show</td><td>ProgressType2="uninstalled"</td></row> + <row><td>SetupProgress</td><td>DlgText</td><td>Show</td><td>ProgressType3="installs"</td></row> + <row><td>SetupProgress</td><td>DlgText2</td><td>Show</td><td>ProgressType3="uninstalls"</td></row> + <row><td>SetupProgress</td><td>DlgTitle</td><td>Show</td><td>ProgressType1="Installing"</td></row> + <row><td>SetupProgress</td><td>DlgTitle2</td><td>Show</td><td>ProgressType1="Uninstalling"</td></row> + <row><td>SetupResume</td><td>PreselectedText</td><td>Hide</td><td>RESUME</td></row> + <row><td>SetupResume</td><td>PreselectedText</td><td>Show</td><td>NOT RESUME</td></row> + <row><td>SetupResume</td><td>ResumeText</td><td>Hide</td><td>NOT RESUME</td></row> + <row><td>SetupResume</td><td>ResumeText</td><td>Show</td><td>RESUME</td></row> + </table> + + <table name="ControlEvent"> + <col key="yes" def="s72">Dialog_</col> + <col key="yes" def="s50">Control_</col> + <col key="yes" def="s50">Event</col> + <col key="yes" def="s255">Argument</col> + <col key="yes" def="S255">Condition</col> + <col def="I2">Ordering</col> + <row><td>AdminChangeFolder</td><td>Cancel</td><td>EndDialog</td><td>Return</td><td>1</td><td>2</td></row> + <row><td>AdminChangeFolder</td><td>Cancel</td><td>Reset</td><td>0</td><td>1</td><td>1</td></row> + <row><td>AdminChangeFolder</td><td>NewFolder</td><td>DirectoryListNew</td><td>0</td><td>1</td><td>0</td></row> + <row><td>AdminChangeFolder</td><td>OK</td><td>EndDialog</td><td>Return</td><td>1</td><td>0</td></row> + <row><td>AdminChangeFolder</td><td>OK</td><td>SetTargetPath</td><td>TARGETDIR</td><td>1</td><td>1</td></row> + <row><td>AdminChangeFolder</td><td>Up</td><td>DirectoryListUp</td><td>0</td><td>1</td><td>0</td></row> + <row><td>AdminNetworkLocation</td><td>Back</td><td>NewDialog</td><td>AdminWelcome</td><td>1</td><td>0</td></row> + <row><td>AdminNetworkLocation</td><td>Browse</td><td>SpawnDialog</td><td>AdminChangeFolder</td><td>1</td><td>0</td></row> + <row><td>AdminNetworkLocation</td><td>Cancel</td><td>SpawnDialog</td><td>CancelSetup</td><td>1</td><td>0</td></row> + <row><td>AdminNetworkLocation</td><td>InstallNow</td><td>EndDialog</td><td>Return</td><td>OutOfNoRbDiskSpace &lt;&gt; 1</td><td>3</td></row> + <row><td>AdminNetworkLocation</td><td>InstallNow</td><td>NewDialog</td><td>OutOfSpace</td><td>OutOfNoRbDiskSpace = 1</td><td>2</td></row> + <row><td>AdminNetworkLocation</td><td>InstallNow</td><td>SetTargetPath</td><td>TARGETDIR</td><td>1</td><td>1</td></row> + <row><td>AdminWelcome</td><td>Cancel</td><td>SpawnDialog</td><td>CancelSetup</td><td>1</td><td>0</td></row> + <row><td>AdminWelcome</td><td>Next</td><td>NewDialog</td><td>AdminNetworkLocation</td><td>1</td><td>0</td></row> + <row><td>CancelSetup</td><td>No</td><td>EndDialog</td><td>Return</td><td>1</td><td>0</td></row> + <row><td>CancelSetup</td><td>Yes</td><td>EndDialog</td><td>Exit</td><td>1</td><td>2</td></row> + <row><td>CustomSetup</td><td>Back</td><td>NewDialog</td><td>MaintenanceType</td><td>Installed</td><td>1</td></row> + <row><td>CustomSetup</td><td>Back</td><td>NewDialog</td><td>SetupType</td><td>NOT Installed</td><td>2</td></row> + <row><td>CustomSetup</td><td>Cancel</td><td>SpawnDialog</td><td>CancelSetup</td><td>1</td><td>0</td></row> + <row><td>CustomSetup</td><td>ChangeFolder</td><td>SelectionBrowse</td><td>InstallChangeFolder</td><td>1</td><td>0</td></row> + <row><td>CustomSetup</td><td>Details</td><td>SelectionBrowse</td><td>DiskSpaceRequirements</td><td>1</td><td>1</td></row> + <row><td>CustomSetup</td><td>Help</td><td>SpawnDialog</td><td>CustomSetupTips</td><td>1</td><td>1</td></row> + <row><td>CustomSetup</td><td>Next</td><td>NewDialog</td><td>OutOfSpace</td><td>OutOfNoRbDiskSpace = 1</td><td>0</td></row> + <row><td>CustomSetup</td><td>Next</td><td>NewDialog</td><td>ReadyToInstall</td><td>OutOfNoRbDiskSpace &lt;&gt; 1</td><td>0</td></row> + <row><td>CustomSetup</td><td>Next</td><td>[_IsSetupTypeMin]</td><td>Custom</td><td>1</td><td>0</td></row> + <row><td>CustomSetupTips</td><td>OK</td><td>EndDialog</td><td>Return</td><td>1</td><td>1</td></row> + <row><td>CustomerInformation</td><td>Back</td><td>NewDialog</td><td>LicenseAgreement</td><td>1</td><td>1</td></row> + <row><td>CustomerInformation</td><td>Cancel</td><td>SpawnDialog</td><td>CancelSetup</td><td>1</td><td>1</td></row> + <row><td>CustomerInformation</td><td>ChangeFolder</td><td>SpawnDialog</td><td>InstallChangeFolder</td><td>1</td><td>2</td></row> + <row><td>CustomerInformation</td><td>ChangeFolder</td><td>[_BrowseProperty]</td><td>INSTALLDIR</td><td>1</td><td>1</td></row> + <row><td>CustomerInformation</td><td>Next</td><td>DoAction</td><td>VerifyApachePath</td><td>1</td><td>3</td></row> + <row><td>CustomerInformation</td><td>Next</td><td>NewDialog</td><td>ReadyToInstall</td><td>_BadPath = 0</td><td>4</td></row> + <row><td>CustomerInformation</td><td>Next</td><td>SpawnDialog</td><td>SetupBadPath</td><td>_BadPath = 1</td><td>5</td></row> + <row><td>CustomerInformation</td><td>Next</td><td>[ALLUSERS]</td><td>2</td><td>ApplicationUsers = "AllUsers" And Privileged</td><td>1</td></row> + <row><td>CustomerInformation</td><td>Next</td><td>[ALLUSERS]</td><td>{}</td><td>ApplicationUsers = "OnlyCurrentUser" And Privileged</td><td>2</td></row> + <row><td>DatabaseFolder</td><td>Back</td><td>NewDialog</td><td>CustomerInformation</td><td>1</td><td>1</td></row> + <row><td>DatabaseFolder</td><td>Cancel</td><td>SpawnDialog</td><td>CancelSetup</td><td>1</td><td>1</td></row> + <row><td>DatabaseFolder</td><td>ChangeFolder</td><td>SpawnDialog</td><td>InstallChangeFolder</td><td>1</td><td>1</td></row> + <row><td>DatabaseFolder</td><td>ChangeFolder</td><td>[_BrowseProperty]</td><td>DATABASEDIR</td><td>1</td><td>2</td></row> + <row><td>DatabaseFolder</td><td>Next</td><td>NewDialog</td><td>SetupType</td><td>1</td><td>1</td></row> + <row><td>DestinationFolder</td><td>Back</td><td>NewDialog</td><td>SetupType</td><td>1</td><td>1</td></row> + <row><td>DestinationFolder</td><td>Cancel</td><td>SpawnDialog</td><td>CancelSetup</td><td>1</td><td>1</td></row> + <row><td>DestinationFolder</td><td>ChangeFolder</td><td>SpawnDialog</td><td>InstallChangeFolder</td><td>1</td><td>1</td></row> + <row><td>DestinationFolder</td><td>ChangeFolder</td><td>[_BrowseProperty]</td><td>INSTALLDIR</td><td>1</td><td>2</td></row> + <row><td>DestinationFolder</td><td>Next</td><td>NewDialog</td><td>ReadyToInstall</td><td>1</td><td>1</td></row> + <row><td>DiskSpaceRequirements</td><td>OK</td><td>EndDialog</td><td>Return</td><td>1</td><td>0</td></row> + <row><td>FilesInUse</td><td>Exit</td><td>EndDialog</td><td>Exit</td><td>1</td><td>0</td></row> + <row><td>FilesInUse</td><td>Ignore</td><td>EndDialog</td><td>Ignore</td><td>1</td><td>0</td></row> + <row><td>FilesInUse</td><td>Retry</td><td>EndDialog</td><td>Retry</td><td>1</td><td>0</td></row> + <row><td>InstallChangeFolder</td><td>Cancel</td><td>EndDialog</td><td>Return</td><td>1</td><td>2</td></row> + <row><td>InstallChangeFolder</td><td>Cancel</td><td>Reset</td><td>0</td><td>1</td><td>1</td></row> + <row><td>InstallChangeFolder</td><td>NewFolder</td><td>DirectoryListNew</td><td>0</td><td>1</td><td>1</td></row> + <row><td>InstallChangeFolder</td><td>OK</td><td>DoAction</td><td>VerifyApachePath</td><td>1</td><td>2</td></row> + <row><td>InstallChangeFolder</td><td>OK</td><td>EndDialog</td><td>Return</td><td>_BadPath = 0</td><td>2</td></row> + <row><td>InstallChangeFolder</td><td>OK</td><td>SpawnDialog</td><td>SetupBadPath</td><td>_BadPath = 1</td><td>3</td></row> + <row><td>InstallChangeFolder</td><td>Up</td><td>DirectoryListUp</td><td>0</td><td>1</td><td>1</td></row> + <row><td>InstallWelcome</td><td>Back</td><td>NewDialog</td><td>SplashBitmap</td><td>Display_IsBitmapDlg</td><td>1</td></row> + <row><td>InstallWelcome</td><td>Cancel</td><td>SpawnDialog</td><td>CancelSetup</td><td>1</td><td>0</td></row> + <row><td>InstallWelcome</td><td>Next</td><td>NewDialog</td><td>LicenseAgreement</td><td>1</td><td>1</td></row> + <row><td>LicenseAgreement</td><td>Back</td><td>NewDialog</td><td>InstallWelcome</td><td>1</td><td>0</td></row> + <row><td>LicenseAgreement</td><td>Cancel</td><td>SpawnDialog</td><td>CancelSetup</td><td>1</td><td>0</td></row> + <row><td>LicenseAgreement</td><td>Next</td><td>NewDialog</td><td>CustomerInformation</td><td>AgreeToLicense = "Yes"</td><td>2</td></row> + <row><td>LicenseAgreement</td><td>Next</td><td>[_BrowseProperty]</td><td>INSTALLDIR</td><td>1</td><td>1</td></row> + <row><td>MaintenanceType</td><td>Back</td><td>NewDialog</td><td>MaintenanceWelcome</td><td>1</td><td>1</td></row> + <row><td>MaintenanceType</td><td>Cancel</td><td>SpawnDialog</td><td>CancelSetup</td><td>1</td><td>1</td></row> + <row><td>MaintenanceType</td><td>Next</td><td>NewDialog</td><td>ReadyToInstall</td><td>_IsMaintenance = "Reinstall"</td><td>8</td></row> + <row><td>MaintenanceType</td><td>Next</td><td>NewDialog</td><td>ReadyToRemove</td><td>_IsMaintenance = "Remove"</td><td>7</td></row> + <row><td>MaintenanceType</td><td>Next</td><td>Reinstall</td><td>ALL</td><td>_IsMaintenance = "Reinstall"</td><td>6</td></row> + <row><td>MaintenanceType</td><td>Next</td><td>ReinstallMode</td><td>[ReinstallModeText]</td><td>_IsMaintenance = "Reinstall"</td><td>5</td></row> + <row><td>MaintenanceType</td><td>Next</td><td>[ProgressType0]</td><td>Repair</td><td>_IsMaintenance = "Reinstall"</td><td>1</td></row> + <row><td>MaintenanceType</td><td>Next</td><td>[ProgressType1]</td><td>Repairing</td><td>_IsMaintenance = "Reinstall"</td><td>2</td></row> + <row><td>MaintenanceType</td><td>Next</td><td>[ProgressType2]</td><td>repairs</td><td>_IsMaintenance = "Reinstall"</td><td>3</td></row> + <row><td>MaintenanceType</td><td>Next</td><td>[ProgressType3]</td><td>repairs</td><td>_IsMaintenance = "Reinstall"</td><td>4</td></row> + <row><td>MaintenanceWelcome</td><td>Cancel</td><td>SpawnDialog</td><td>CancelSetup</td><td>1</td><td>1</td></row> + <row><td>MaintenanceWelcome</td><td>Next</td><td>NewDialog</td><td>MaintenanceType</td><td>1</td><td>1</td></row> + <row><td>OutOfSpace</td><td>Resume</td><td>NewDialog</td><td>AdminNetworkLocation</td><td>ACTION = "ADMIN"</td><td>0</td></row> + <row><td>OutOfSpace</td><td>Resume</td><td>NewDialog</td><td>CustomSetup</td><td>ACTION &lt;&gt; "ADMIN"</td><td>0</td></row> + <row><td>PatchWelcome</td><td>Back</td><td>NewDialog</td><td>SplashBitmap</td><td>Display_IsBitmapDlg</td><td>0</td></row> + <row><td>PatchWelcome</td><td>Cancel</td><td>SpawnDialog</td><td>CancelSetup</td><td>1</td><td>1</td></row> + <row><td>PatchWelcome</td><td>Next</td><td>EndDialog</td><td>Return</td><td>1</td><td>3</td></row> + <row><td>PatchWelcome</td><td>Next</td><td>Reinstall</td><td>ALL</td><td>PATCH And REINSTALL=""</td><td>1</td></row> + <row><td>PatchWelcome</td><td>Next</td><td>ReinstallMode</td><td>omus</td><td>PATCH And REINSTALLMODE=""</td><td>2</td></row> + <row><td>ReadyToInstall</td><td>Back</td><td>NewDialog</td><td>CustomerInformation</td><td>NOT Installed</td><td>2</td></row> + <row><td>ReadyToInstall</td><td>Back</td><td>NewDialog</td><td>MaintenanceType</td><td>Installed</td><td>3</td></row> + <row><td>ReadyToInstall</td><td>Back</td><td>[_BrowseProperty]</td><td>INSTALLDIR</td><td>NOT Installed</td><td>1</td></row> + <row><td>ReadyToInstall</td><td>Cancel</td><td>SpawnDialog</td><td>CancelSetup</td><td>1</td><td>1</td></row> + <row><td>ReadyToInstall</td><td>InstallNow</td><td>EndDialog</td><td>Return</td><td>OutOfNoRbDiskSpace &lt;&gt; 1</td><td>1</td></row> + <row><td>ReadyToInstall</td><td>InstallNow</td><td>NewDialog</td><td>OutOfSpace</td><td>OutOfNoRbDiskSpace = 1</td><td>2</td></row> + <row><td>ReadyToInstall</td><td>InstallNow</td><td>[ProgressType1]</td><td>Installing</td><td>1</td><td>3</td></row> + <row><td>ReadyToInstall</td><td>InstallNow</td><td>[ProgressType2]</td><td>installed</td><td>1</td><td>4</td></row> + <row><td>ReadyToInstall</td><td>InstallNow</td><td>[ProgressType3]</td><td>installs</td><td>1</td><td>5</td></row> + <row><td>ReadyToRemove</td><td>Back</td><td>NewDialog</td><td>MaintenanceType</td><td>1</td><td>0</td></row> + <row><td>ReadyToRemove</td><td>Cancel</td><td>SpawnDialog</td><td>CancelSetup</td><td>1</td><td>0</td></row> + <row><td>ReadyToRemove</td><td>RemoveNow</td><td>EndDialog</td><td>Return</td><td>OutOfNoRbDiskSpace &lt;&gt; 1</td><td>2</td></row> + <row><td>ReadyToRemove</td><td>RemoveNow</td><td>NewDialog</td><td>OutOfSpace</td><td>OutOfNoRbDiskSpace = 1</td><td>2</td></row> + <row><td>ReadyToRemove</td><td>RemoveNow</td><td>Remove</td><td>ALL</td><td>1</td><td>1</td></row> + <row><td>ReadyToRemove</td><td>RemoveNow</td><td>[ProgressType1]</td><td>Uninstalling</td><td>1</td><td>0</td></row> + <row><td>ReadyToRemove</td><td>RemoveNow</td><td>[ProgressType2]</td><td>uninstalled</td><td>1</td><td>0</td></row> + <row><td>ReadyToRemove</td><td>RemoveNow</td><td>[ProgressType3]</td><td>uninstalls</td><td>1</td><td>0</td></row> + <row><td>SQLBrowse</td><td>Cancel</td><td>EndDialog</td><td>Return</td><td>1</td><td>1</td></row> + <row><td>SQLBrowse</td><td>OK</td><td>EndDialog</td><td>Return</td><td>1</td><td>2</td></row> + <row><td>SQLBrowse</td><td>OK</td><td>[IS_SQLSERVER_SERVER]</td><td>[IS_SQLSERVER_LIST]</td><td>1</td><td>1</td></row> + <row><td>SQLLogin</td><td>Back</td><td>NewDialog</td><td>CustomerInformation</td><td>1</td><td>1</td></row> + <row><td>SQLLogin</td><td>BtnSQLBrowse</td><td>DoAction</td><td>ISSQLServerList</td><td>1</td><td>2</td></row> + <row><td>SQLLogin</td><td>BtnSQLBrowse</td><td>SpawnDialog</td><td>SQLBrowse</td><td>1</td><td>3</td></row> + <row><td>SQLLogin</td><td>BtnSQLBrowse</td><td>[IS_SQLSERVER_LIST]</td><td>[IS_SQLSERVER_SERVER]</td><td>1</td><td>1</td></row> + <row><td>SQLLogin</td><td>Cancel</td><td>SpawnDialog</td><td>CancelSetup</td><td>1</td><td>1</td></row> + <row><td>SQLLogin</td><td>Next</td><td>DoAction</td><td>ISSQLServerValidate</td><td>1</td><td>3</td></row> + <row><td>SQLLogin</td><td>Next</td><td>NewDialog</td><td>SetupType</td><td>IS_SQLSERVER_STATUS=0</td><td>4</td></row> + <row><td>SetupBadPath</td><td>PushButton7</td><td>EndDialog</td><td>Return</td><td>1</td><td/></row> + <row><td>SetupCompleteError</td><td>Back</td><td>EndDialog</td><td>Return</td><td>1</td><td>2</td></row> + <row><td>SetupCompleteError</td><td>Back</td><td>[Suspend]</td><td>{}</td><td>1</td><td>1</td></row> + <row><td>SetupCompleteError</td><td>Cancel</td><td>EndDialog</td><td>Return</td><td>1</td><td>2</td></row> + <row><td>SetupCompleteError</td><td>Cancel</td><td>[Suspend]</td><td>1</td><td>1</td><td>1</td></row> + <row><td>SetupCompleteError</td><td>Finish</td><td>EndDialog</td><td>Exit</td><td>1</td><td>2</td></row> + <row><td>SetupCompleteSuccess</td><td>OK</td><td>DoAction</td><td>CheckForProductUpdates</td><td>ISCHECKFORPRODUCTUPDATES="1" And ISENABLEDWUSFINISHDIALOG And NOT ISREBOOTREQUIRED And NOT Installed And ACTION="INSTALL"</td><td>4</td></row> + <row><td>SetupCompleteSuccess</td><td>OK</td><td>DoAction</td><td>CheckForProductUpdatesOnReboot</td><td>ISCHECKFORPRODUCTUPDATES="1" And ISENABLEDWUSFINISHDIALOG And ISREBOOTREQUIRED And NOT Installed And ACTION="INSTALL"</td><td>5</td></row> + <row><td>SetupCompleteSuccess</td><td>OK</td><td>EndDialog</td><td>Exit</td><td>1</td><td>2</td></row> + <row><td>SetupError</td><td>A</td><td>EndDialog</td><td>ErrorAbort</td><td>1</td><td>1</td></row> + <row><td>SetupError</td><td>C</td><td>EndDialog</td><td>ErrorCancel</td><td>1</td><td>1</td></row> + <row><td>SetupError</td><td>I</td><td>EndDialog</td><td>ErrorIgnore</td><td>1</td><td>1</td></row> + <row><td>SetupError</td><td>N</td><td>EndDialog</td><td>ErrorNo</td><td>1</td><td>1</td></row> + <row><td>SetupError</td><td>O</td><td>EndDialog</td><td>ErrorOk</td><td>1</td><td>1</td></row> + <row><td>SetupError</td><td>R</td><td>EndDialog</td><td>ErrorRetry</td><td>1</td><td>1</td></row> + <row><td>SetupError</td><td>Y</td><td>EndDialog</td><td>ErrorYes</td><td>1</td><td>1</td></row> + <row><td>SetupInitialization</td><td>Cancel</td><td>SpawnDialog</td><td>CancelSetup</td><td>1</td><td>0</td></row> + <row><td>SetupInterrupted</td><td>Back</td><td>EndDialog</td><td>Exit</td><td>1</td><td>2</td></row> + <row><td>SetupInterrupted</td><td>Back</td><td>[Suspend]</td><td>{}</td><td>1</td><td>1</td></row> + <row><td>SetupInterrupted</td><td>Cancel</td><td>EndDialog</td><td>Exit</td><td>1</td><td>2</td></row> + <row><td>SetupInterrupted</td><td>Cancel</td><td>[Suspend]</td><td>1</td><td>1</td><td>1</td></row> + <row><td>SetupInterrupted</td><td>Finish</td><td>EndDialog</td><td>Exit</td><td>1</td><td>2</td></row> + <row><td>SetupProgress</td><td>Cancel</td><td>SpawnDialog</td><td>CancelSetup</td><td>1</td><td>0</td></row> + <row><td>SetupResume</td><td>Cancel</td><td>SpawnDialog</td><td>CancelSetup</td><td>1</td><td>0</td></row> + <row><td>SetupResume</td><td>Next</td><td>EndDialog</td><td>Return</td><td>OutOfNoRbDiskSpace &lt;&gt; 1</td><td>0</td></row> + <row><td>SetupResume</td><td>Next</td><td>NewDialog</td><td>OutOfSpace</td><td>OutOfNoRbDiskSpace = 1</td><td>0</td></row> + <row><td>SetupType</td><td>Back</td><td>NewDialog</td><td>CustomerInformation</td><td>1</td><td>1</td></row> + <row><td>SetupType</td><td>Cancel</td><td>SpawnDialog</td><td>CancelSetup</td><td>1</td><td>0</td></row> + <row><td>SetupType</td><td>Next</td><td>AddLocal</td><td>ALL</td><td>_IsSetupTypeMin = "Typical"</td><td>4</td></row> + <row><td>SetupType</td><td>Next</td><td>NewDialog</td><td>CustomSetup</td><td>_IsSetupTypeMin = "Custom"</td><td>1</td></row> + <row><td>SetupType</td><td>Next</td><td>NewDialog</td><td>DestinationFolder</td><td>_IsSetupTypeMin &lt;&gt; "Custom" And APACHE.EXE=""</td><td>2</td></row> + <row><td>SetupType</td><td>Next</td><td>NewDialog</td><td>ReadyToInstall</td><td>_IsSetupTypeMin &lt;&gt; "Custom" And APACHE.EXE&lt;&gt;""</td><td>3</td></row> + <row><td>SplashBitmap</td><td>Cancel</td><td>SpawnDialog</td><td>CancelSetup</td><td>1</td><td>0</td></row> + <row><td>SplashBitmap</td><td>Next</td><td>NewDialog</td><td>InstallWelcome</td><td>1</td><td>0</td></row> + </table> + + <table name="CreateFolder"> + <col key="yes" def="s72">Directory_</col> + <col key="yes" def="s72">Component_</col> + <row><td>HTML</td><td>html_docs</td></row> + </table> + + <table name="CustomAction"> + <col key="yes" def="s72">Action</col> + <col def="i2">Type</col> + <col def="S64">Source</col> + <col def="S0">Target</col> + <col def="S255">ISComments</col> + <row><td>ISInitAllUsers</td><td>307</td><td>ALLUSERS</td><td>2</td><td>Initializes ALLUSERS property</td></row> + <row><td>ISSelfRegisterCosting</td><td>1</td><td>ISSELFREG.DLL</td><td>ISSelfRegisterCosting</td><td/></row> + <row><td>ISSelfRegisterFiles</td><td>1025</td><td>ISSELFREG.DLL</td><td>ISSelfRegisterFiles</td><td/></row> + <row><td>ISSelfRegisterFinalize</td><td>1</td><td>ISSELFREG.DLL</td><td>ISSelfRegisterFinalize</td><td/></row> + <row><td>ISUnSelfRegisterFiles</td><td>1025</td><td>ISSELFREG.DLL</td><td>ISUnSelfRegisterFiles</td><td/></row> + <row><td>ResolveApacheInstances</td><td>257</td><td>NewBinary11</td><td>_ResolveApacheInstances@4</td><td>Initialize the INSTALLDIR combo to valid Apache paths</td></row> + <row><td>SetAllUsersProfileNT</td><td>51</td><td>ALLUSERSPROFILE</td><td>[%SystemRoot]\Profiles\All Users</td><td/></row> + <row><td>SetApachePath</td><td>35</td><td>INSTALLDIR</td><td>[_BrowseProperty]</td><td/></row> + <row><td>VerifyApachePath</td><td>1</td><td>NewBinary11</td><td>_VerifyApachePath@4</td><td>Test that INSTALLDIR is a valid Apache path</td></row> + <row><td>setAllUsersProfile2K</td><td>51</td><td>ALLUSERSPROFILE</td><td>[%ALLUSERSPROFILE]</td><td/></row> + <row><td>setUserProfileNT</td><td>51</td><td>USERPROFILE</td><td>[%USERPROFILE]</td><td/></row> + </table> + + <table name="Dialog"> + <col key="yes" def="s72">Dialog</col> + <col def="i2">HCentering</col> + <col def="i2">VCentering</col> + <col def="i2">Width</col> + <col def="i2">Height</col> + <col def="I4">Attributes</col> + <col def="L128">Title</col> + <col def="s50">Control_First</col> + <col def="S50">Control_Default</col> + <col def="S50">Control_Cancel</col> + <col def="S255">ISComments</col> + <col def="S72">TextStyle_</col> + <col def="I4">ISWindowStyle</col> + <col def="I4">ISResourceId</col> + <row><td>AdminChangeFolder</td><td>50</td><td>50</td><td>374</td><td>266</td><td>3</td><td>##IDS__IsAdminInstallBrowse_0##</td><td>Tail</td><td>OK</td><td>Cancel</td><td>Install Point Browse</td><td/><td>0</td><td/></row> + <row><td>AdminNetworkLocation</td><td>50</td><td>50</td><td>374</td><td>266</td><td>3</td><td>##IDS__IsAdminInstallPoint_0##</td><td>InstallNow</td><td>InstallNow</td><td>Cancel</td><td>Network Location</td><td/><td>0</td><td/></row> + <row><td>AdminWelcome</td><td>50</td><td>50</td><td>374</td><td>266</td><td>3</td><td>##IDS__IsAdminInstallPointWelcome_0##</td><td>Next</td><td>Next</td><td>Cancel</td><td>Administration Welcome</td><td/><td>0</td><td/></row> + <row><td>CancelSetup</td><td>50</td><td>50</td><td>260</td><td>85</td><td>3</td><td>##IDS__IsCancelDlg_0##</td><td>No</td><td>No</td><td>No</td><td>Cancel</td><td/><td>0</td><td/></row> + <row><td>CustomSetup</td><td>50</td><td>50</td><td>374</td><td>266</td><td>35</td><td>##IDS__IsCustomSelectionDlg_0##</td><td>Tree</td><td>Next</td><td>Cancel</td><td>Custom Selection</td><td/><td>0</td><td/></row> + <row><td>CustomSetupTips</td><td>50</td><td>50</td><td>374</td><td>266</td><td>3</td><td>##IDS__SetupTips_0##</td><td>OK</td><td>OK</td><td>OK</td><td>Custom Setup Tips</td><td/><td>0</td><td/></row> + <row><td>CustomerInformation</td><td>50</td><td>50</td><td>374</td><td>266</td><td>3</td><td>##IDS__IsRegisterUserDlg_0##</td><td>Next</td><td>Next</td><td>Cancel</td><td>Identification</td><td/><td>0</td><td/></row> + <row><td>DatabaseFolder</td><td>50</td><td>50</td><td>374</td><td>266</td><td>3</td><td>##IDS__DatabaseFolder_0##</td><td>Next</td><td>Next</td><td>Cancel</td><td>Database Folder</td><td/><td>0</td><td/></row> + <row><td>DestinationFolder</td><td>50</td><td>50</td><td>374</td><td>266</td><td>3</td><td>##IDS__DestinationFolder_0##</td><td>Next</td><td>Next</td><td>Cancel</td><td>Destination Folder</td><td/><td>0</td><td/></row> + <row><td>DiskSpaceRequirements</td><td>50</td><td>50</td><td>374</td><td>266</td><td>3</td><td>##IDS__IsFeatureDetailsDlg_0##</td><td>OK</td><td>OK</td><td>OK</td><td>Feature Details</td><td/><td>0</td><td/></row> + <row><td>FilesInUse</td><td>50</td><td>50</td><td>374</td><td>266</td><td>19</td><td>##IDS__IsFilesInUse_0##</td><td>Retry</td><td>Retry</td><td>Exit</td><td>Files in Use</td><td/><td>0</td><td/></row> + <row><td>InstallChangeFolder</td><td>50</td><td>50</td><td>374</td><td>266</td><td>3</td><td>##IDS__IsBrowseFolderDlg_0##</td><td>Tail</td><td>OK</td><td>Cancel</td><td>Browse</td><td/><td>0</td><td/></row> + <row><td>InstallWelcome</td><td>50</td><td>50</td><td>374</td><td>266</td><td>3</td><td>##IDS__IsWelcomeDlg_0##</td><td>Next</td><td>Next</td><td>Cancel</td><td>Welcome Panel</td><td/><td>0</td><td/></row> + <row><td>LicenseAgreement</td><td>50</td><td>50</td><td>374</td><td>266</td><td>2</td><td>##IDS__IsLicenseDlg_0##</td><td>Agree</td><td>Next</td><td>Cancel</td><td>License Agreement</td><td/><td>0</td><td/></row> + <row><td>MaintenanceType</td><td>50</td><td>50</td><td>374</td><td>266</td><td>3</td><td>##IDS__IsMaintenanceDlg_0##</td><td>RadioGroup</td><td>Next</td><td>Cancel</td><td>Change, Reinstall, Remove</td><td/><td>0</td><td/></row> + <row><td>MaintenanceWelcome</td><td>50</td><td>50</td><td>374</td><td>266</td><td>3</td><td>##IDS__IsMaintenanceWelcome_0##</td><td>Next</td><td>Next</td><td>Cancel</td><td>Maintenance Welcome</td><td/><td>0</td><td/></row> + <row><td>OutOfSpace</td><td>50</td><td>50</td><td>374</td><td>266</td><td>3</td><td>##IDS__IsDiskSpaceDlg_0##</td><td>Resume</td><td>Resume</td><td>Resume</td><td>Out Of Disk Space</td><td/><td>0</td><td/></row> + <row><td>PatchWelcome</td><td>50</td><td>50</td><td>374</td><td>266</td><td>3</td><td>##IDS__IsPatchDlg_0##</td><td>Next</td><td>Next</td><td>Cancel</td><td>Patch Panel</td><td/><td>0</td><td/></row> + <row><td>ReadyToInstall</td><td>50</td><td>50</td><td>374</td><td>266</td><td>35</td><td>##IDS__IsVerifyReadyDlg_0##</td><td>InstallNow</td><td>InstallNow</td><td>Cancel</td><td>Ready to Install</td><td/><td>0</td><td/></row> + <row><td>ReadyToRemove</td><td>50</td><td>50</td><td>374</td><td>266</td><td>3</td><td>##IDS__IsVerifyRemoveAllDlg_0##</td><td>RemoveNow</td><td>RemoveNow</td><td>Cancel</td><td>Verify Remove</td><td/><td>0</td><td/></row> + <row><td>SQLBrowse</td><td>50</td><td>50</td><td>272</td><td>265</td><td>3</td><td>##IDS_PRODUCTNAME_INSTALLSHIELD##</td><td>lstSQLServer</td><td>OK</td><td>Cancel</td><td>SQL Server List Browse</td><td/><td>0</td><td/></row> + <row><td>SQLLogin</td><td>50</td><td>50</td><td>374</td><td>266</td><td>3</td><td>##IDS_PRODUCTNAME_INSTALLSHIELD##</td><td>cboServers</td><td>Next</td><td>Cancel</td><td>SQL Server Login</td><td/><td>0</td><td/></row> + <row><td>SetupBadPath</td><td>50</td><td>10</td><td>270</td><td>110</td><td>7</td><td>##NEW_STRING1##</td><td>PushButton7</td><td>PushButton7</td><td>PushButton7</td><td>Path Error</td><td/><td>0</td><td/></row> + <row><td>SetupCompleteError</td><td>50</td><td>50</td><td>374</td><td>266</td><td>3</td><td>##IDS__IsFatalError_0##</td><td>Finish</td><td>Finish</td><td>Finish</td><td>Fatal Error</td><td/><td>0</td><td/></row> + <row><td>SetupCompleteSuccess</td><td>50</td><td>50</td><td>374</td><td>266</td><td>3</td><td>##IDS__IsExitDialog_0##</td><td>OK</td><td>OK</td><td>OK</td><td>Exit</td><td/><td>0</td><td/></row> + <row><td>SetupError</td><td>50</td><td>10</td><td>270</td><td>110</td><td>65543</td><td>##IDS__IsErrorDlg_0##</td><td>ErrorText</td><td>O</td><td>C</td><td>Error</td><td/><td>0</td><td/></row> + <row><td>SetupInitialization</td><td>50</td><td>50</td><td>374</td><td>266</td><td>5</td><td>##IDS__IsInitDlg_0##</td><td>Cancel</td><td>Cancel</td><td>Cancel</td><td>Setup Initialization</td><td/><td>0</td><td/></row> + <row><td>SetupInterrupted</td><td>50</td><td>50</td><td>374</td><td>266</td><td>3</td><td>##IDS__IsUserExit_0##</td><td>Finish</td><td>Finish</td><td>Finish</td><td>User Exit</td><td/><td>0</td><td/></row> + <row><td>SetupProgress</td><td>50</td><td>50</td><td>374</td><td>266</td><td>5</td><td>##IDS__IsProgressDlg_0##</td><td>Cancel</td><td>Cancel</td><td>Cancel</td><td>Progress</td><td/><td>0</td><td/></row> + <row><td>SetupResume</td><td>50</td><td>50</td><td>374</td><td>266</td><td>3</td><td>##IDS__IsResumeDlg_0##</td><td>Next</td><td>Next</td><td>Cancel</td><td>Resume</td><td/><td>0</td><td/></row> + <row><td>SetupType</td><td>50</td><td>50</td><td>374</td><td>266</td><td>3</td><td>##IDS__IsSetupTypeMinDlg_0##</td><td>RadioGroup</td><td>Next</td><td>Cancel</td><td>Setup Type</td><td/><td>0</td><td/></row> + <row><td>SplashBitmap</td><td>50</td><td>50</td><td>374</td><td>266</td><td>3</td><td>##IDS__IsBitmapDlg_0##</td><td>Next</td><td>Next</td><td>Cancel</td><td>Welcome Bitmap</td><td/><td>0</td><td/></row> + </table> + + <table name="Directory"> + <col key="yes" def="s72">Directory</col> + <col def="S72">Directory_Parent</col> + <col def="l255">DefaultDir</col> + <col def="S255">ISDescription</col> + <col def="I4">ISAttributes</col> + <col def="S255">ISFolderName</col> + <row><td>APACHE_GROUP</td><td>ProgramFilesFolder</td><td>APACHE~1|Apache Group</td><td/><td>0</td><td/></row> + <row><td>APACHE_MODULES</td><td>APACHE_ROOT</td><td>modules</td><td/><td>0</td><td/></row> + <row><td>APACHE_ROOT</td><td>INSTALLDIR</td><td>.</td><td/><td>0</td><td/></row> + <row><td>DOCS</td><td>INSTALLDIR</td><td>docs</td><td/><td>0</td><td/></row> + <row><td>DesktopFolder</td><td>TARGETDIR</td><td>.:Desktop</td><td/><td>0</td><td/></row> + <row><td>FontsFolder</td><td>TARGETDIR</td><td>.:Fonts</td><td/><td>0</td><td/></row> + <row><td>GlobalAssemblyCache</td><td>TARGETDIR</td><td>.:Global~1|GlobalAssemblyCache</td><td/><td>0</td><td/></row> + <row><td>HTML</td><td>DOCS</td><td>HTML</td><td/><td>0</td><td/></row> + <row><td>INSTALLDIR</td><td>APACHE_GROUP</td><td>apache2</td><td/><td>0</td><td/></row> + <row><td>LocalAppDataFolder</td><td>TARGETDIR</td><td>.:LocalA~1|LocalAppData</td><td/><td>0</td><td/></row> + <row><td>MyPicturesFolder</td><td>TARGETDIR</td><td>.:MyPict~1|MyPictures</td><td/><td>0</td><td/></row> + <row><td>PDF</td><td>DOCS</td><td>PDF</td><td/><td>0</td><td/></row> + <row><td>PersonalFolder</td><td>TARGETDIR</td><td>.:Personal</td><td/><td>0</td><td/></row> + <row><td>PrimaryVolumePath</td><td>TARGETDIR</td><td>.:Primar~1|PrimaryVolumePath</td><td/><td>0</td><td/></row> + <row><td>ProgramFiles64Folder</td><td>TARGETDIR</td><td>.:Prog64~1|Program Files 64</td><td/><td>0</td><td/></row> + <row><td>ProgramFilesFolder</td><td>TARGETDIR</td><td>.:Progra~1|Program Files</td><td/><td>0</td><td/></row> + <row><td>ProgramMenuFolder</td><td>TARGETDIR</td><td>.:Programs</td><td/><td>3</td><td/></row> + <row><td>SendToFolder</td><td>TARGETDIR</td><td>.:SendTo</td><td/><td>3</td><td/></row> + <row><td>StartMenuFolder</td><td>TARGETDIR</td><td>.:STARTM~1|Start Menu</td><td/><td>3</td><td/></row> + <row><td>StartupFolder</td><td>TARGETDIR</td><td>.:StartUp</td><td/><td>0</td><td/></row> + <row><td>System16Folder</td><td>TARGETDIR</td><td>.:System</td><td/><td>0</td><td/></row> + <row><td>System64Folder</td><td>TARGETDIR</td><td>.:System64</td><td/><td>0</td><td/></row> + <row><td>SystemFolder</td><td>TARGETDIR</td><td>.:System32</td><td/><td>0</td><td/></row> + <row><td>TARGETDIR</td><td/><td>SourceDir</td><td/><td>0</td><td/></row> + <row><td>WindowsVolume</td><td>TARGETDIR</td><td>.:WinRoot</td><td/><td>0</td><td/></row> + </table> + + <table name="DrLocator"> + <col key="yes" def="s72">Signature_</col> + <col key="yes" def="S72">Parent</col> + <col key="yes" def="S255">Path</col> + <col def="I2">Depth</col> + </table> + + <table name="DuplicateFile"> + <col key="yes" def="s72">FileKey</col> + <col def="s72">Component_</col> + <col def="s72">File_</col> + <col def="L255">DestName</col> + <col def="S72">DestFolder</col> + </table> + + <table name="Environment"> + <col key="yes" def="s72">Environment</col> + <col def="l255">Name</col> + <col def="L255">Value</col> + <col def="s72">Component_</col> + </table> + + <table name="Error"> + <col key="yes" def="i2">Error</col> + <col def="L255">Message</col> + <row><td>0</td><td>##IDS_ERROR_0##</td></row> + <row><td>1</td><td>##IDS_ERROR_1##</td></row> + <row><td>10</td><td>##IDS_ERROR_8##</td></row> + <row><td>11</td><td>##IDS_ERROR_9##</td></row> + <row><td>1101</td><td>##IDS_ERROR_22##</td></row> + <row><td>12</td><td>##IDS_ERROR_10##</td></row> + <row><td>13</td><td>##IDS_ERROR_11##</td></row> + <row><td>1301</td><td>##IDS_ERROR_23##</td></row> + <row><td>1302</td><td>##IDS_ERROR_24##</td></row> + <row><td>1303</td><td>##IDS_ERROR_25##</td></row> + <row><td>1304</td><td>##IDS_ERROR_26##</td></row> + <row><td>1305</td><td>##IDS_ERROR_27##</td></row> + <row><td>1306</td><td>##IDS_ERROR_28##</td></row> + <row><td>1307</td><td>##IDS_ERROR_29##</td></row> + <row><td>1308</td><td>##IDS_ERROR_30##</td></row> + <row><td>1309</td><td>##IDS_ERROR_31##</td></row> + <row><td>1310</td><td>##IDS_ERROR_32##</td></row> + <row><td>1311</td><td>##IDS_ERROR_33##</td></row> + <row><td>1312</td><td>##IDS_ERROR_34##</td></row> + <row><td>1313</td><td>##IDS_ERROR_35##</td></row> + <row><td>1314</td><td>##IDS_ERROR_36##</td></row> + <row><td>1315</td><td>##IDS_ERROR_37##</td></row> + <row><td>1316</td><td>##IDS_ERROR_38##</td></row> + <row><td>1317</td><td>##IDS_ERROR_39##</td></row> + <row><td>1318</td><td>##IDS_ERROR_40##</td></row> + <row><td>1319</td><td>##IDS_ERROR_41##</td></row> + <row><td>1320</td><td>##IDS_ERROR_42##</td></row> + <row><td>1321</td><td>##IDS_ERROR_43##</td></row> + <row><td>1322</td><td>##IDS_ERROR_44##</td></row> + <row><td>1323</td><td>##IDS_ERROR_45##</td></row> + <row><td>1324</td><td>##IDS_ERROR_46##</td></row> + <row><td>1325</td><td>##IDS_ERROR_47##</td></row> + <row><td>1326</td><td>##IDS_ERROR_48##</td></row> + <row><td>1327</td><td>##IDS_ERROR_49##</td></row> + <row><td>1328</td><td>##IDS_ERROR_122##</td></row> + <row><td>14</td><td>##IDS_ERROR_12##</td></row> + <row><td>1401</td><td>##IDS_ERROR_50##</td></row> + <row><td>1402</td><td>##IDS_ERROR_51##</td></row> + <row><td>1403</td><td>##IDS_ERROR_52##</td></row> + <row><td>1404</td><td>##IDS_ERROR_53##</td></row> + <row><td>1405</td><td>##IDS_ERROR_54##</td></row> + <row><td>1406</td><td>##IDS_ERROR_55##</td></row> + <row><td>1407</td><td>##IDS_ERROR_56##</td></row> + <row><td>1408</td><td>##IDS_ERROR_57##</td></row> + <row><td>1409</td><td>##IDS_ERROR_58##</td></row> + <row><td>1410</td><td>##IDS_ERROR_59##</td></row> + <row><td>15</td><td>##IDS_ERROR_13##</td></row> + <row><td>1500</td><td>##IDS_ERROR_60##</td></row> + <row><td>1501</td><td>##IDS_ERROR_61##</td></row> + <row><td>1502</td><td>##IDS_ERROR_62##</td></row> + <row><td>1503</td><td>##IDS_ERROR_63##</td></row> + <row><td>16</td><td>##IDS_ERROR_14##</td></row> + <row><td>1601</td><td>##IDS_ERROR_64##</td></row> + <row><td>1602</td><td>##IDS_ERROR_65##</td></row> + <row><td>1603</td><td>##IDS_ERROR_66##</td></row> + <row><td>1604</td><td>##IDS_ERROR_67##</td></row> + <row><td>1605</td><td>##IDS_ERROR_68##</td></row> + <row><td>1606</td><td>##IDS_ERROR_69##</td></row> + <row><td>1607</td><td>##IDS_ERROR_70##</td></row> + <row><td>1608</td><td>##IDS_ERROR_71##</td></row> + <row><td>17</td><td>##IDS_ERROR_15##</td></row> + <row><td>1701</td><td>##IDS_ERROR_72##</td></row> + <row><td>1702</td><td>##IDS_ERROR_73##</td></row> + <row><td>1703</td><td>##IDS_ERROR_74##</td></row> + <row><td>1704</td><td>##IDS_ERROR_75##</td></row> + <row><td>1705</td><td>##IDS_ERROR_76##</td></row> + <row><td>1706</td><td>##IDS_ERROR_77##</td></row> + <row><td>1707</td><td>##IDS_ERROR_78##</td></row> + <row><td>1708</td><td>##IDS_ERROR_79##</td></row> + <row><td>1709</td><td>##IDS_ERROR_80##</td></row> + <row><td>1710</td><td>##IDS_ERROR_81##</td></row> + <row><td>1711</td><td>##IDS_ERROR_82##</td></row> + <row><td>1712</td><td>##IDS_ERROR_83##</td></row> + <row><td>1713</td><td>##IDS_ERROR_123##</td></row> + <row><td>1714</td><td>##IDS_ERROR_124##</td></row> + <row><td>18</td><td>##IDS_ERROR_16##</td></row> + <row><td>1801</td><td>##IDS_ERROR_84##</td></row> + <row><td>1802</td><td>##IDS_ERROR_85##</td></row> + <row><td>1803</td><td>##IDS_ERROR_86##</td></row> + <row><td>1804</td><td>##IDS_ERROR_87##</td></row> + <row><td>1805</td><td>##IDS_ERROR_88##</td></row> + <row><td>1806</td><td>##IDS_ERROR_89##</td></row> + <row><td>1807</td><td>##IDS_ERROR_90##</td></row> + <row><td>19</td><td>##IDS_ERROR_17##</td></row> + <row><td>1901</td><td>##IDS_ERROR_91##</td></row> + <row><td>1902</td><td>##IDS_ERROR_92##</td></row> + <row><td>1903</td><td>##IDS_ERROR_93##</td></row> + <row><td>1904</td><td>##IDS_ERROR_94##</td></row> + <row><td>1905</td><td>##IDS_ERROR_95##</td></row> + <row><td>1906</td><td>##IDS_ERROR_96##</td></row> + <row><td>1907</td><td>##IDS_ERROR_97##</td></row> + <row><td>1908</td><td>##IDS_ERROR_98##</td></row> + <row><td>1909</td><td>##IDS_ERROR_99##</td></row> + <row><td>1910</td><td>##IDS_ERROR_100##</td></row> + <row><td>1911</td><td>##IDS_ERROR_101##</td></row> + <row><td>1912</td><td>##IDS_ERROR_102##</td></row> + <row><td>1913</td><td>##IDS_ERROR_103##</td></row> + <row><td>1914</td><td>##IDS_ERROR_104##</td></row> + <row><td>1915</td><td>##IDS_ERROR_105##</td></row> + <row><td>1916</td><td>##IDS_ERROR_106##</td></row> + <row><td>1917</td><td>##IDS_ERROR_107##</td></row> + <row><td>1918</td><td>##IDS_ERROR_108##</td></row> + <row><td>1919</td><td>##IDS_ERROR_109##</td></row> + <row><td>1920</td><td>##IDS_ERROR_110##</td></row> + <row><td>1921</td><td>##IDS_ERROR_111##</td></row> + <row><td>1922</td><td>##IDS_ERROR_112##</td></row> + <row><td>1923</td><td>##IDS_ERROR_113##</td></row> + <row><td>1924</td><td>##IDS_ERROR_114##</td></row> + <row><td>1925</td><td>##IDS_ERROR_115##</td></row> + <row><td>1926</td><td>##IDS_ERROR_116##</td></row> + <row><td>1927</td><td>##IDS_ERROR_117##</td></row> + <row><td>1928</td><td>##IDS_ERROR_118##</td></row> + <row><td>1929</td><td>##IDS_ERROR_119##</td></row> + <row><td>1930</td><td>##IDS_ERROR_125##</td></row> + <row><td>1931</td><td>##IDS_ERROR_126##</td></row> + <row><td>1932</td><td>##IDS_ERROR_127##</td></row> + <row><td>1933</td><td>##IDS_ERROR_128##</td></row> + <row><td>1934</td><td>##IDS_ERROR_129##</td></row> + <row><td>2</td><td>##IDS_ERROR_2##</td></row> + <row><td>20</td><td>##IDS_ERROR_18##</td></row> + <row><td>21</td><td>##IDS_ERROR_19##</td></row> + <row><td>22</td><td>##IDS_ERROR_120##</td></row> + <row><td>23</td><td>##IDS_ERROR_121##</td></row> + <row><td>2331</td><td>##IDS_ERROR_2331##</td></row> + <row><td>25000</td><td>##ID_STRING2##</td></row> + <row><td>27500</td><td>##IDS_ERROR_130##</td></row> + <row><td>27501</td><td>##IDS_ERROR_131##</td></row> + <row><td>27502</td><td>##IDS_ERROR_27502##</td></row> + <row><td>27503</td><td>##IDS_ERROR_27503##</td></row> + <row><td>27504</td><td>##IDS_ERROR_27504##</td></row> + <row><td>27505</td><td>##IDS_ERROR_27505##</td></row> + <row><td>27506</td><td>##IDS_ERROR_27506##</td></row> + <row><td>27507</td><td>##IDS_ERROR_27507##</td></row> + <row><td>27508</td><td>##IDS_ERROR_27508##</td></row> + <row><td>27509</td><td>##IDS_ERROR_27509##</td></row> + <row><td>27510</td><td>##IDS_ERROR_27510##</td></row> + <row><td>27511</td><td>##IDS_ERROR_27511##</td></row> + <row><td>27512</td><td>##IDS_ERROR_27512##</td></row> + <row><td>27513</td><td>##IDS_ERROR_27513##</td></row> + <row><td>27514</td><td>##IDS_ERROR_27514##</td></row> + <row><td>27515</td><td>##IDS_ERROR_27515##</td></row> + <row><td>27516</td><td>##IDS_ERROR_27516##</td></row> + <row><td>27517</td><td>##IDS_ERROR_27517##</td></row> + <row><td>27518</td><td>##IDS_ERROR_27518##</td></row> + <row><td>32</td><td>##IDS_ERROR_20##</td></row> + <row><td>33</td><td>##IDS_ERROR_21##</td></row> + <row><td>4</td><td>##IDS_ERROR_3##</td></row> + <row><td>5</td><td>##IDS_ERROR_4##</td></row> + <row><td>7</td><td>##IDS_ERROR_5##</td></row> + <row><td>8</td><td>##IDS_ERROR_6##</td></row> + <row><td>9</td><td>##IDS_ERROR_7##</td></row> + </table> + + <table name="EventMapping"> + <col key="yes" def="s72">Dialog_</col> + <col key="yes" def="s50">Control_</col> + <col key="yes" def="s50">Event</col> + <col def="s50">Attribute</col> + <row><td>CustomSetup</td><td>ItemDescription</td><td>SelectionDescription</td><td>Text</td></row> + <row><td>CustomSetup</td><td>Location</td><td>SelectionPath</td><td>Text</td></row> + <row><td>CustomSetup</td><td>Size</td><td>SelectionSize</td><td>Text</td></row> + <row><td>SetupInitialization</td><td>ActionData</td><td>ActionData</td><td>Text</td></row> + <row><td>SetupInitialization</td><td>ActionText</td><td>ActionText</td><td>Text</td></row> + <row><td>SetupProgress</td><td>ActionProgress95</td><td>AdminInstallFinalize</td><td>Progress</td></row> + <row><td>SetupProgress</td><td>ActionProgress95</td><td>InstallFiles</td><td>Progress</td></row> + <row><td>SetupProgress</td><td>ActionProgress95</td><td>MoveFiles</td><td>Progress</td></row> + <row><td>SetupProgress</td><td>ActionProgress95</td><td>RemoveFiles</td><td>Progress</td></row> + <row><td>SetupProgress</td><td>ActionProgress95</td><td>RemoveRegistryValues</td><td>Progress</td></row> + <row><td>SetupProgress</td><td>ActionProgress95</td><td>SetProgress</td><td>Progress</td></row> + <row><td>SetupProgress</td><td>ActionProgress95</td><td>UnmoveFiles</td><td>Progress</td></row> + <row><td>SetupProgress</td><td>ActionProgress95</td><td>WriteIniValues</td><td>Progress</td></row> + <row><td>SetupProgress</td><td>ActionProgress95</td><td>WriteRegistryValues</td><td>Progress</td></row> + <row><td>SetupProgress</td><td>ActionText</td><td>ActionText</td><td>Text</td></row> + </table> + + <table name="Extension"> + <col key="yes" def="s255">Extension</col> + <col key="yes" def="s72">Component_</col> + <col def="S255">ProgId_</col> + <col def="S64">MIME_</col> + <col def="s38">Feature_</col> + </table> + + <table name="Feature"> + <col key="yes" def="s38">Feature</col> + <col def="S38">Feature_Parent</col> + <col def="L64">Title</col> + <col def="L255">Description</col> + <col def="I2">Display</col> + <col def="i2">Level</col> + <col def="S72">Directory_</col> + <col def="i2">Attributes</col> + <col def="S255">ISReleaseFlags</col> + <col def="S255">ISComments</col> + <col def="S255">ISFeatureCabName</col> + <col def="S255">ISProFeatureName</col> + <row><td>mod_aspdotnet</td><td/><td>##FEATURE_NAME##</td><td>##FEATURE_DESC##</td><td>3</td><td>1</td><td>INSTALLDIR</td><td>24</td><td/><td>Enter comments regarding this feature here.</td><td/><td/></row> + </table> + + <table name="FeatureComponents"> + <col key="yes" def="s38">Feature_</col> + <col key="yes" def="s72">Component_</col> + <row><td>mod_aspdotnet</td><td>Apache.Web</td></row> + <row><td>mod_aspdotnet</td><td>mod_aspdotnet.so</td></row> + </table> + + <table name="File"> + <col key="yes" def="s72">File</col> + <col def="s72">Component_</col> + <col def="s255">FileName</col> + <col def="i4">FileSize</col> + <col def="S72">Version</col> + <col def="S20">Language</col> + <col def="I2">Attributes</col> + <col def="i2">Sequence</col> + <col def="S255">ISBuildSourcePath</col> + <col def="I4">ISAttributes</col> + <col def="S72">ISComponentSubFolder_</col> + <row><td>Apache.Web.Helpers.netmodu</td><td>Apache.Web</td><td>APACHE~1.NET|Apache.Web.Helpers.netmodule</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ISProjectFolder&gt;\release\Apache.Web.Helpers.netmodule</td><td>1</td><td/></row> + <row><td>Apache.Web.dll</td><td>Apache.Web</td><td>APACHE~1.DLL|Apache.Web.dll</td><td>0</td><td/><td/><td>512</td><td>1</td><td>&lt;ISProjectFolder&gt;\release\Apache.Web.dll</td><td>1</td><td/></row> + <row><td>mod_aspdotnet.so</td><td>mod_aspdotnet.so</td><td>MOD_AS~1.SO|mod_aspdotnet.so</td><td>0</td><td/><td/><td>0</td><td>1</td><td>&lt;ISProjectFolder&gt;\release\mod_aspdotnet.so</td><td>1</td><td/></row> + </table> + + <table name="FileSFPCatalog"> + <col key="yes" def="s72">File_</col> + <col key="yes" def="s255">SFPCatalog_</col> + </table> + + <table name="Font"> + <col key="yes" def="s72">File_</col> + <col def="S128">FontTitle</col> + </table> + + <table name="ISAssistantTag"> + <col key="yes" def="s72">Tag</col> + <col def="S255">Data</col> + </table> + + <table name="ISCEApp"> + <col key="yes" def="s50">AppKey</col> + <col def="s50">AppName</col> + <col def="s200">CompanyName</col> + <col def="s50">DefDir</col> + <col def="S255">IconPath</col> + <col def="I4">IconIndex</col> + <col def="S255">DeviceFile</col> + <col def="s50">DesktopTargetDir</col> + <col def="S255">Description</col> + <col def="i2">DeleteMedia</col> + <col def="I4">InstallNetCF</col> + <col def="I4">InstallSQLServer</col> + <col def="I4">InstallSQLClient</col> + <col def="I4">InstallSQLDev</col> + <col def="S255">PreXML</col> + <col def="S255">PostXML</col> + <col def="I2">NoUninstall</col> + <col def="S255">SPCFile</col> + <col def="S255">PVKFile</col> + <col def="I4">Attributes</col> + <col def="S255">RawDeviceFile</col> + <col def="S72">Component_</col> + </table> + + <table name="ISCEDir"> + <col key="yes" def="s50">AppKey</col> + <col key="yes" def="s50">DirKey</col> + <col def="s50">DirParent</col> + <col def="s255">DirValue</col> + </table> + + <table name="ISCEFile"> + <col key="yes" def="s50">AppKey</col> + <col key="yes" def="s50">FileKey</col> + <col def="s255">Name</col> + <col def="s50">Destination</col> + <col def="s255">Source</col> + <col def="i4">Processor</col> + <col def="i4">Platform</col> + <col def="i4">CopyOption</col> + <col def="i4">FileOption</col> + <col def="I4">AdvancedOptions</col> + </table> + + <table name="ISCEFileExt"> + <col key="yes" def="s50">AppKey</col> + <col key="yes" def="s50">ExtKey</col> + <col def="s50">FileKey</col> + <col def="S255">Description</col> + <col def="s50">Extension</col> + <col def="i4">IconIndex</col> + </table> + + <table name="ISCEInstall"> + <col key="yes" def="s255">CEInstallKey</col> + <col def="s255">CEAppName</col> + <col def="s255">CEDesktopDir</col> + <col def="s255">CEIniFileKey</col> + <col def="s0">CECabs</col> + <col def="s0">CEIcoFile</col> + <col def="i2">DeleteMedia</col> + <col def="S38">Component_</col> + </table> + + <table name="ISCEOtherAppCABs"> + <col key="yes" def="s50">AppKey</col> + <col key="yes" def="s50">FileKey</col> + <col def="s255">BuildSourcePath</col> + </table> + + <table name="ISCERegistry"> + <col key="yes" def="s50">AppKey</col> + <col key="yes" def="s50">RegKey</col> + <col def="i4">Root</col> + <col def="s255">Key</col> + <col def="S255">Name</col> + <col def="S255">Value</col> + <col def="i4">Processor</col> + <col def="i4">Platform</col> + <col def="i4">Overwrite</col> + </table> + + <table name="ISCESetupFile"> + <col key="yes" def="s50">AppKey</col> + <col key="yes" def="s50">SetupFileKey</col> + <col def="s255">Name</col> + <col def="s255">Source</col> + <col def="i4">Processor</col> + <col def="i4">Platform</col> + </table> + + <table name="ISCEShtCut"> + <col key="yes" def="s50">AppKey</col> + <col key="yes" def="s50">ShtCutKey</col> + <col def="s255">DisplayName</col> + <col def="s255">Destination</col> + <col def="s50">Target</col> + <col def="i4">Platform</col> + </table> + + <table name="ISComCatalogAttribute"> + <col key="yes" def="s72">ISComCatalogObject_</col> + <col key="yes" def="s255">ItemName</col> + <col def="S0">ItemValue</col> + </table> + + <table name="ISComCatalogCollection"> + <col key="yes" def="s72">ISComCatalogCollection</col> + <col def="s72">ISComCatalogObject_</col> + <col def="s255">CollectionName</col> + </table> + + <table name="ISComCatalogCollectionObjects"> + <col key="yes" def="s72">ISComCatalogCollection_</col> + <col key="yes" def="s72">ISComCatalogObject_</col> + </table> + + <table name="ISComCatalogObject"> + <col key="yes" def="s72">ISComCatalogObject</col> + <col def="s255">DisplayName</col> + </table> + + <table name="ISComPlusApplication"> + <col key="yes" def="s72">ISComCatalogObject_</col> + <col def="S255">ComputerName</col> + <col def="s72">Component_</col> + <col def="I2">ISAttributes</col> + <col def="S0">DepFiles</col> + </table> + + <table name="ISComPlusProxy"> + <col key="yes" def="s72">ISComPlusProxy</col> + <col def="s72">ISComPlusApplication_</col> + <col def="S72">Component_</col> + <col def="I2">ISAttributes</col> + <col def="S0">DepFiles</col> + </table> + + <table name="ISComponentExtended"> + <col key="yes" def="s72">Component_</col> + <col def="I4">OS</col> + <col def="S0">Language</col> + <col def="s72">FilterProperty</col> + <col def="I4">Platforms</col> + <col def="S0">FTPLocation</col> + <col def="S0">HTTPLocation</col> + <col def="S0">Miscellaneous</col> + <row><td>Apache.Web</td><td/><td/><td>_A19D17B5_68F0_4170_8BFD_6334E5F3CDEE_FILTER</td><td/><td/><td/><td/></row> + <row><td>html_docs</td><td/><td/><td>_2D798142_97A8_40D0_B28D_1C72F2B3A710_FILTER</td><td/><td/><td/><td/></row> + <row><td>mod_aspdotnet.so</td><td/><td/><td>_00646B0C_1EA0_4FEE_A560_8FDA43CAD89A_FILTER</td><td/><td/><td/><td/></row> + </table> + + <table name="ISDLLWrapper"> + <col key="yes" def="s72">EntryPoint</col> + <col def="I4">Type</col> + <col def="s0">Source</col> + <col def="s255">Target</col> + </table> + + <table name="ISDependency"> + <col key="yes" def="S50">ISDependency</col> + <col def="I2">Exclude</col> + </table> + + <table name="ISDisk1File"> + <col key="yes" def="s72">ISDisk1File</col> + <col def="s255">ISBuildSourcePath</col> + <col def="I4">Disk</col> + </table> + + <table name="ISDynamicFile"> + <col key="yes" def="s72">Component_</col> + <col key="yes" def="s255">SourceFolder</col> + <col def="I2">IncludeFlags</col> + <col def="S255">IncludeFiles</col> + <col def="S255">ExcludeFiles</col> + <col def="I4">ISAttributes</col> + </table> + + <table name="ISFeatureMergeModuleExcludes"> + <col key="yes" def="s38">Feature_</col> + <col key="yes" def="s255">ModuleID</col> + <col key="yes" def="i2">Language</col> + </table> + + <table name="ISFeatureMergeModules"> + <col key="yes" def="s38">Feature_</col> + <col key="yes" def="s255">ISMergeModule_</col> + <col key="yes" def="i2">Language_</col> + </table> + + <table name="ISIISCommon"> + <col key="yes" def="s50">ISIISCommon</col> + <col def="S50">ISIISCommon_Parent</col> + <col def="L255">DisplayName</col> + <col def="s50">RootDir</col> + <col def="i4">Attributes</col> + <col def="L255">DefDoc</col> + <col def="I4">SessionTimeout</col> + <col def="I4">ScriptTimeout</col> + <col def="S255">AnonyUserName</col> + <col def="S255">AnonyPasswrd</col> + <col def="S0">CustomErrors</col> + <col def="L255">AppName</col> + <col def="S50">SSLCert</col> + </table> + + <table name="ISIISMetaData"> + <col key="yes" def="s72">ISIISCommon_</col> + <col key="yes" def="I4">MetaDataProp</col> + <col def="I4">MetaDataType</col> + <col def="i4">MetaDataUserType</col> + <col def="i4">MetaDataAttributes</col> + <col def="i4">Order</col> + <col def="s0">MetaDataValue</col> + </table> + + <table name="ISInstallScriptAction"> + <col key="yes" def="s72">EntryPoint</col> + <col def="I4">Type</col> + <col def="s72">Source</col> + <col def="S255">Target</col> + </table> + + <table name="ISLanguage"> + <col key="yes" def="s50">ISLanguage</col> + <col def="I2">Included</col> + <row><td>1033</td><td>1</td></row> + </table> + + <table name="ISLinkerLibrary"> + <col key="yes" def="s72">ISLinkerLibrary</col> + <col def="s255">Library</col> + <col def="i4">Order</col> + <row><td>_IfxObl</td><td>&lt;ISProductFolder&gt;\Script\ifx\Lib\ifx.obl</td><td>3</td></row> + <row><td>_IsrtObl</td><td>&lt;ISProductFolder&gt;\Script\ISRT\Lib\isrt.obl</td><td>2</td></row> + <row><td>_IswiObl</td><td>&lt;ISProductFolder&gt;\Script\ISWi\Lib\iswi.obl</td><td>1</td></row> + </table> + + <table name="ISLocalControl"> + <col key="yes" def="s72">Dialog_</col> + <col key="yes" def="s50">Control_</col> + <col key="yes" def="s50">ISLanguage_</col> + <col def="I4">Attributes</col> + <col def="I2">X</col> + <col def="I2">Y</col> + <col def="I2">Width</col> + <col def="I2">Height</col> + <col def="S72">Binary_</col> + <col def="S255">ISBuildSourcePath</col> + </table> + + <table name="ISLocalDialog"> + <col key="yes" def="S50">Dialog_</col> + <col key="yes" def="S50">ISLanguage_</col> + <col def="I4">Attributes</col> + <col def="S72">TextStyle_</col> + <col def="i2">Width</col> + <col def="i2">Height</col> + </table> + + <table name="ISLocalRadioButton"> + <col key="yes" def="s72">Property</col> + <col key="yes" def="i2">Order</col> + <col key="yes" def="s50">ISLanguage_</col> + <col def="i2">X</col> + <col def="i2">Y</col> + <col def="i2">Width</col> + <col def="i2">Height</col> + </table> + + <table name="ISLogicalDisk"> + <col key="yes" def="i2">DiskId</col> + <col key="yes" def="s255">ISProductConfiguration_</col> + <col key="yes" def="s255">ISRelease_</col> + <col def="i2">LastSequence</col> + <col def="L64">DiskPrompt</col> + <col def="S255">Cabinet</col> + <col def="S32">VolumeLabel</col> + <col def="S32">Source</col> + <row><td>1</td><td>mod_aspdotnet</td><td>x86-winnt</td><td>0</td><td/><td/><td/><td/></row> + </table> + + <table name="ISLogicalDiskFeatures"> + <col key="yes" def="i2">ISLogicalDisk_</col> + <col key="yes" def="s255">ISProductConfiguration_</col> + <col key="yes" def="s255">ISRelease_</col> + <col key="yes" def="S38">Feature_</col> + <col def="i2">Sequence</col> + <col def="I4">ISAttributes</col> + </table> + + <table name="ISMergeModule"> + <col key="yes" def="s255">ISMergeModule</col> + <col key="yes" def="i2">Language</col> + <col def="s255">Name</col> + <col def="S255">Destination</col> + <col def="I4">ISAttributes</col> + </table> + + <table name="ISMergeModuleCfgValues"> + <col key="yes" def="s255">ISMergeModule_</col> + <col key="yes" def="i2">Language_</col> + <col key="yes" def="s72">ModuleConfiguration_</col> + <col def="L0">Value</col> + <col def="i2">Format</col> + <col def="L255">Type</col> + <col def="L255">ContextData</col> + <col def="L255">DefaultValue</col> + <col def="I2">Attributes</col> + <col def="L255">DisplayName</col> + <col def="L255">Description</col> + <col def="L255">HelpLocation</col> + <col def="L255">HelpKeyword</col> + </table> + + <table name="ISObject"> + <col key="yes" def="s50">ObjectName</col> + <col def="s15">Language</col> + </table> + + <table name="ISObjectProperty"> + <col key="yes" def="S50">ObjectName</col> + <col key="yes" def="S50">Property</col> + <col def="S0">Value</col> + <col def="I2">IncludeInBuild</col> + </table> + + <table name="ISPalmApp"> + <col key="yes" def="s72">PalmApp</col> + <col key="yes" def="s72">Component</col> + </table> + + <table name="ISPalmAppFile"> + <col key="yes" def="s72">PalmApp</col> + <col key="yes" def="s72">FileKey</col> + <col def="i4">Destination</col> + </table> + + <table name="ISPatchConfigImage"> + <col key="yes" def="S72">PatchConfiguration_</col> + <col key="yes" def="s72">UpgradedImage_</col> + </table> + + <table name="ISPatchConfiguration"> + <col key="yes" def="s72">Name</col> + <col def="i2">CanPCDiffer</col> + <col def="i2">CanPVDiffer</col> + <col def="i2">IncludeWholeFiles</col> + <col def="i2">LeaveDecompressed</col> + <col def="i2">OptimizeForSize</col> + <col def="i2">EnablePatchCache</col> + <col def="S0">PatchCacheDir</col> + <col def="i4">Flags</col> + <col def="S0">PatchGuidsToReplace</col> + <col def="s0">TargetProductCodes</col> + <col def="s50">PatchGuid</col> + <col def="s0">OutputPath</col> + <col def="i2">MinMsiVersion</col> + <col def="I4">Attributes</col> + </table> + + <table name="ISPatchConfigurationProperty"> + <col key="yes" def="S72">ISPatchConfiguration_</col> + <col key="yes" def="S50">Property</col> + <col def="S50">Value</col> + </table> + + <table name="ISPatchExternalFile"> + <col key="yes" def="s50">Name</col> + <col key="yes" def="s13">ISUpgradedImage_</col> + <col def="s72">FileKey</col> + <col def="s255">FilePath</col> + </table> + + <table name="ISPatchWholeFile"> + <col key="yes" def="s50">UpgradedImage</col> + <col key="yes" def="s72">FileKey</col> + <col def="S72">Component</col> + </table> + + <table name="ISPathVariable"> + <col key="yes" def="s32">ISPathVariable</col> + <col def="S255">Value</col> + <col def="S255">TestValue</col> + <col def="i4">Type</col> + <row><td>Apache.Web</td><td>Apache.Web\Apache.Web.vcproj</td><td/><td>2</td></row> + <row><td>CommonFilesFolder</td><td/><td/><td>1</td></row> + <row><td>ISProductFolder</td><td/><td/><td>1</td></row> + <row><td>ISProjectDataFolder</td><td/><td/><td>1</td></row> + <row><td>ISProjectFolder</td><td/><td/><td>1</td></row> + <row><td>Objects</td><td>Release</td><td/><td>2</td></row> + <row><td>ProgramFilesFolder</td><td/><td/><td>1</td></row> + <row><td>SystemFolder</td><td/><td/><td>1</td></row> + <row><td>WindowsFolder</td><td/><td/><td>1</td></row> + <row><td>mod_aspdotnet</td><td>mod\mod_aspdotnet.vcproj</td><td/><td>2</td></row> + </table> + + <table name="ISProductConfiguration"> + <col key="yes" def="s72">ISProductConfiguration</col> + <col def="S255">ProductConfigurationFlags</col> + <col def="I4">GeneratePackageCode</col> + <row><td>Default Configuration</td><td/><td>0</td></row> + <row><td>mod_aspdotnet</td><td/><td>0</td></row> + </table> + + <table name="ISProductConfigurationInstance"> + <col key="yes" def="s72">ISProductConfiguration_</col> + <col key="yes" def="i2">InstanceId</col> + <col key="yes" def="s72">Property</col> + <col def="s255">Value</col> + </table> + + <table name="ISProductConfigurationProperty"> + <col key="yes" def="s72">ISProductConfiguration_</col> + <col key="yes" def="s72">Property</col> + <col def="L255">Value</col> + </table> + + <table name="ISRelease"> + <col key="yes" def="s72">ISRelease</col> + <col key="yes" def="s72">ISProductConfiguration_</col> + <col def="s255">BuildLocation</col> + <col def="s255">PackageName</col> + <col def="i4">Type</col> + <col def="s255">SupportedLanguagesUI</col> + <col def="i4">MsiSourceType</col> + <col def="i4">ReleaseType</col> + <col def="s72">Platforms</col> + <col def="S255">SupportedLanguagesData</col> + <col def="s6">DefaultLanguage</col> + <col def="i4">SupportedOSs</col> + <col def="s50">DiskSize</col> + <col def="i4">DiskSizeUnit</col> + <col def="i4">DiskClusterSize</col> + <col def="S255">ReleaseFlags</col> + <col def="i4">DiskSpanning</col> + <col def="S255">SynchMsi</col> + <col def="s255">MediaLocation</col> + <col def="S255">URLLocation</col> + <col def="S255">DigitalURL</col> + <col def="S255">DigitalPVK</col> + <col def="S255">DigitalSPC</col> + <col def="S255">Password</col> + <col def="S255">VersionCopyright</col> + <col def="i4">Attributes</col> + <col def="S255">CDBrowser</col> + <col def="S255">DotNetBuildConfiguration</col> + <col def="S255">MsiCommandLine</col> + <col def="I4">ISSetupPrerequisiteLocation</col> + <row><td>Debug</td><td>Default Configuration</td><td>&lt;ISProjectFolder&gt;\Debug</td><td>PackageName</td><td>1</td><td>1033</td><td>2</td><td>2</td><td>Intel</td><td/><td>1033</td><td>3</td><td>0</td><td>0</td><td>0</td><td/><td>0</td><td/><td>MediaLocation</td><td/><td>http://</td><td/><td/><td/><td/><td>75789</td><td/><td/><td/><td/></row> + <row><td>Release</td><td>Default Configuration</td><td>&lt;ISProjectFolder&gt;\Release</td><td>PackageName</td><td>1</td><td>1033</td><td>2</td><td>2</td><td>Intel</td><td/><td>1033</td><td>3</td><td>0</td><td>0</td><td>0</td><td/><td>0</td><td/><td>MediaLocation</td><td/><td>http://</td><td/><td/><td/><td/><td>75789</td><td/><td/><td/><td/></row> + <row><td>x86-winnt</td><td>mod_aspdotnet</td><td>&lt;ISProjectFolder&gt;\Release</td><td>PackageName</td><td>1</td><td>1033</td><td>2</td><td>1</td><td>Intel</td><td/><td>1033</td><td>0</td><td>0</td><td>1</td><td>0</td><td/><td>0</td><td/><td>MediaLocation</td><td/><td>http://</td><td/><td/><td/><td/><td>139276</td><td/><td/><td/><td/></row> + </table> + + <table name="ISReleaseExtended"> + <col key="yes" def="s72">ISRelease_</col> + <col key="yes" def="s72">ISProductConfiguration_</col> + <col def="I4">WebType</col> + <col def="S255">WebURL</col> + <col def="I4">WebCabSize</col> + <col def="S255">OneClickCabName</col> + <col def="S255">OneClickHtmlName</col> + <col def="S255">WebLocalCachePath</col> + <col def="I4">EngineLocation</col> + <col def="S255">Win9xMsiUrl</col> + <col def="S255">WinNTMsiUrl</col> + <col def="I4">ISEngineLocation</col> + <col def="S255">ISEngineURL</col> + <col def="I4">OneClickTargetBrowser</col> + <col def="S255">DigitalCertificateIdNS</col> + <col def="S255">DigitalCertificateDBaseNS</col> + <col def="S255">DigitalCertificatePasswordNS</col> + <col def="I4">DotNetRedistLocation</col> + <col def="S255">DotNetRedistURL</col> + <col def="I4">DotNetVersion</col> + <col def="S255">DotNetBaseLanguage</col> + <col def="S0">DotNetLangaugePacks</col> + <col def="S255">DotNetFxCmdLine</col> + <col def="S255">DotNetLangPackCmdLine</col> + <col def="S50">JSharpCmdLine</col> + <col def="I4">Attributes</col> + <col def="I4">JSharpRedistLocation</col> + <col def="I4">MsiEngineVersion</col> + <col def="S255">WinMsi30Url</col> + <col def="S255">CertPassword</col> + <row><td>.msi Installer</td><td>mod_aspdotnet</td><td>0</td><td>http://</td><td>0</td><td>install</td><td>install</td><td>[WindowsFolder]Downloaded Installations</td><td>0</td><td>http://www.installengine.com/Msiengine20</td><td>http://www.installengine.com/Msiengine20</td><td>0</td><td>http://www.installengine.com/cert03/isengine</td><td/><td/><td/><td/><td>3</td><td>http://www.installengine.com/cert03/dotnetfx</td><td/><td/><td/><td/><td/><td/><td/><td>3</td><td/><td/><td/></row> + <row><td>Debug</td><td>Default Configuration</td><td>0</td><td>http://</td><td>0</td><td>install</td><td>install</td><td>[WindowsFolder]Downloaded Installations</td><td>0</td><td>http://www.installengine.com/Msiengine20</td><td>http://www.installengine.com/Msiengine20</td><td>0</td><td>http://www.installengine.com/cert03/isengine</td><td/><td/><td/><td/><td>3</td><td>http://www.installengine.com/cert03/dotnetfx</td><td/><td/><td/><td/><td/><td/><td/><td>3</td><td>4</td><td/><td/></row> + <row><td>Release</td><td>Default Configuration</td><td>0</td><td>http://</td><td>0</td><td>install</td><td>install</td><td>[WindowsFolder]Downloaded Installations</td><td>0</td><td>http://www.installengine.com/Msiengine20</td><td>http://www.installengine.com/Msiengine20</td><td>0</td><td>http://www.installengine.com/cert03/isengine</td><td/><td/><td/><td/><td>3</td><td>http://www.installengine.com/cert03/dotnetfx</td><td/><td/><td/><td/><td/><td/><td/><td>3</td><td>4</td><td/><td/></row> + <row><td>x86-winnt</td><td>mod_aspdotnet</td><td>0</td><td>http://</td><td>0</td><td>install</td><td>install</td><td>[WindowsFolder]Downloaded Installations</td><td>0</td><td>http://www.installengine.com/Msiengine20</td><td>http://www.installengine.com/Msiengine20</td><td>0</td><td>http://www.installengine.com/cert03/isengine</td><td/><td/><td/><td/><td>3</td><td>http://www.installengine.com/cert03/dotnetfx</td><td/><td/><td/><td/><td/><td/><td/><td>3</td><td>4</td><td/><td/></row> + </table> + + <table name="ISSQLConnection"> + <col key="yes" def="s72">ISSQLConnection</col> + <col def="s255">Server</col> + <col def="s255">Database</col> + <col def="s255">UserName</col> + <col def="s255">Password</col> + <col def="s255">Authentication</col> + <col def="i2">Attributes</col> + <col def="i2">Order</col> + <col def="S0">Comments</col> + </table> + + <table name="ISSQLConnectionScript"> + <col key="yes" def="s72">ISSQLConnection_</col> + <col key="yes" def="s72">ISSQLScriptFile_</col> + <col def="i2">Order</col> + </table> + + <table name="ISSQLRequirement"> + <col key="yes" def="s72">ISSQLRequirement</col> + <col key="yes" def="s72">ISSQLConnection_</col> + <col def="S15">MajorVersion</col> + <col def="S25">ServicePackLevel</col> + <col def="i4">Attributes</col> + </table> + + <table name="ISSQLScriptError"> + <col key="yes" def="i4">ErrNumber</col> + <col key="yes" def="S72">ISSQLScriptFile_</col> + <col def="i2">ErrHandling</col> + <col def="L255">Message</col> + <col def="i2">Attributes</col> + </table> + + <table name="ISSQLScriptFile"> + <col key="yes" def="s72">ISSQLScriptFile</col> + <col def="s72">Component_</col> + <col def="i2">Scheduling</col> + <col def="L255">InstallText</col> + <col def="L255">UninstallText</col> + <col def="S0">ISBuildSourcePath</col> + <col def="S0">Comments</col> + <col def="i2">ErrorHandling</col> + <col def="i2">Attributes</col> + <col def="S15">Version</col> + </table> + + <table name="ISSQLScriptImport"> + <col key="yes" def="s72">ISSQLScriptFile_</col> + <col def="S255">Server</col> + <col def="S255">Database</col> + <col def="S255">UserName</col> + <col def="S255">Password</col> + <col def="i4">Authentication</col> + <col def="S0">IncludeTables</col> + <col def="S0">ExcludeTables</col> + <col def="i4">Attributes</col> + </table> + + <table name="ISSQLScriptReplace"> + <col key="yes" def="s72">ISSQLScriptReplace</col> + <col key="yes" def="s72">ISSQLScriptFile_</col> + <col def="S0">Search</col> + <col def="S0">Replace</col> + <col def="i4">Attributes</col> + </table> + + <table name="ISScriptFile"> + <col key="yes" def="s255">ISScriptFile</col> + </table> + + <table name="ISSelfReg"> + <col key="yes" def="s72">FileKey</col> + <col def="I2">Cost</col> + <col def="I2">Order</col> + <col def="S50">CmdLine</col> + </table> + + <table name="ISSetupFile"> + <col key="yes" def="s72">ISSetupFile</col> + <col def="S255">FileName</col> + <col def="V0">Stream</col> + <col def="S50">Language</col> + <col def="I2">Splash</col> + <col def="S0">Path</col> + </table> + + <table name="ISSetupPrerequisites"> + <col key="yes" def="s72">ISSetupPrerequisites</col> + <col def="S255">ISBuildSourcePath</col> + <col def="I2">Order</col> + </table> + + <table name="ISSetupType"> + <col key="yes" def="s38">ISSetupType</col> + <col def="L255">Description</col> + <col def="L255">Display_Name</col> + <col def="i2">Display</col> + <col def="S255">Comments</col> + </table> + + <table name="ISSetupTypeFeatures"> + <col key="yes" def="s38">ISSetupType_</col> + <col key="yes" def="s38">Feature_</col> + </table> + + <table name="ISStorages"> + <col key="yes" def="s72">Name</col> + <col def="S0">ISBuildSourcePath</col> + </table> + + <table name="ISString"> + <col key="yes" def="s255">ISString</col> + <col key="yes" def="s50">ISLanguage_</col> + <col def="S0">Value</col> + <col def="I2">Encoded</col> + <col def="S0">Comment</col> + <col def="I4">TimeStamp</col> + <row><td>COMPANY_NAME</td><td>1033</td><td>The Apache Software Foundation</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>COMPANY_URI</td><td>1033</td><td>http://httpd.apache.org/</td><td>0</td><td/><td>605450580</td></row> + <row><td>DN_AlwaysInstall</td><td>1033</td><td>Always Install</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>FEATURE_DESC</td><td>1033</td><td>Microsoft ASP.NET support module for Apache httpd Web Server</td><td>0</td><td/><td>739664554</td></row> + <row><td>FEATURE_NAME</td><td>1033</td><td>Apache mod_aspdotnet</td><td>0</td><td/><td>605430132</td></row> + <row><td>IDPROP_ARPCOMMENTS</td><td>1033</td><td>Your Comments</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDPROP_ARPCONTACT</td><td>1033</td><td>Customer Support Department</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDPROP_ARPHELPLINK</td><td>1033</td><td>http://www.yourcompany.com/help</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDPROP_ARPHELPTELEPHONE</td><td>1033</td><td>1-555-555-4505</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDPROP_ARPURLINFOABOUT</td><td>1033</td><td>http://www.yourcompany.com</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDPROP_ARPURLUPDATEINFO</td><td>1033</td><td>http://www.yourcompany.com/updateinfo</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDPROP_EXPRESS_LAUNCH_CONDITION_COLOR</td><td>1033</td><td>The color settings of your system are not adequate for running [ProductName].</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDPROP_EXPRESS_LAUNCH_CONDITION_OS</td><td>1033</td><td>The operating system is not adequate for running [ProductName].</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDPROP_EXPRESS_LAUNCH_CONDITION_PROCESSOR</td><td>1033</td><td>The processor is not adequate for running [ProductName].</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDPROP_EXPRESS_LAUNCH_CONDITION_RAM</td><td>1033</td><td>The amount of RAM is not adequate for running [ProductName].</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDPROP_EXPRESS_LAUNCH_CONDITION_SCREEN</td><td>1033</td><td>The screen resolution is not adequate for running [ProductName].</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDPROP_SETUPTYPE_COMPACT</td><td>1033</td><td>Compact</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDPROP_SETUPTYPE_COMPACT_DESC</td><td>1033</td><td>Compact Description</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDPROP_SETUPTYPE_CUSTOM</td><td>1033</td><td>Custom</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDPROP_SETUPTYPE_CUSTOM_DESC</td><td>1033</td><td>Custom Description</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDPROP_SETUPTYPE_TYPICAL</td><td>1033</td><td>Typical</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDPROP_SETUPTYPE_TYPICAL_DESC</td><td>1033</td><td>Typical Description</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_1</td><td>1033</td><td>Advertising application</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_10</td><td>1033</td><td>Computing space requirements</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_100</td><td>1033</td><td>MIME Content Type: [1], Extension: [2]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_101</td><td>1033</td><td>Unregistering program identifiers</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_102</td><td>1033</td><td>ProgID: [1]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_103</td><td>1033</td><td>Unregistering type libraries</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_104</td><td>1033</td><td>LibID: [1]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_105</td><td>1033</td><td>Updating environment strings</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_106</td><td>1033</td><td>Name: [1], Value: [2], Action [3]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_107</td><td>1033</td><td>Writing INI file values</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_108</td><td>1033</td><td>File: [1], Section: [2], Key: [3], Value: [4]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_109</td><td>1033</td><td>Writing system registry values</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_11</td><td>1033</td><td>Creating folders</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_110</td><td>1033</td><td>Key: [1], Name: [2], Value: [3]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_111</td><td>1033</td><td>Registering COM+ Applications and Components</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_112</td><td>1033</td><td>AppId: [1]{{, AppType: [2], Users: [3], RSN: [4]}}</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_113</td><td>1033</td><td>Unregistering COM+ Applications and Components</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_114</td><td>1033</td><td>AppId: [1]{{, AppType: [2]}}</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_115</td><td>1033</td><td>Searching for related applications</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_116</td><td>1033</td><td>Found application: [1]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_117</td><td>1033</td><td>Migrating feature states from related applications</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_118</td><td>1033</td><td>Application: [1]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_119</td><td>1033</td><td>Removing applications</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_12</td><td>1033</td><td>Folder: [1]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_120</td><td>1033</td><td>Application: [1], Command line: [2]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_121</td><td>1033</td><td>Installing system catalog</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_122</td><td>1033</td><td>File: [1], Dependencies: [2]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_123</td><td>1033</td><td>Creating IIS Virtual Roots...</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_124</td><td>1033</td><td>Removing IIS Virtual Roots...</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_13</td><td>1033</td><td>Creating shortcuts</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_14</td><td>1033</td><td>Shortcut: [1]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_15</td><td>1033</td><td>Deleting services</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_16</td><td>1033</td><td>Service: [1]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_17</td><td>1033</td><td>Creating duplicate files</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_18</td><td>1033</td><td>File: [1], Directory: [9], Size: [6]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_19</td><td>1033</td><td>Computing space requirements</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_2</td><td>1033</td><td>Allocating registry space</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_20</td><td>1033</td><td>Generating script operations for action:</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_21</td><td>1033</td><td>[1]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_22</td><td>1033</td><td>Copying files to the network</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_23</td><td>1033</td><td>File: [1], Directory: [9], Size: [6]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_24</td><td>1033</td><td>Copying new files</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_25</td><td>1033</td><td>File: [1], Directory: [9], Size: [6]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_26</td><td>1033</td><td>Installing ODBC components</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_27</td><td>1033</td><td>Installing new services</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_28</td><td>1033</td><td>Service: [2]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_29</td><td>1033</td><td>Validating install</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_3</td><td>1033</td><td>Free space: [1]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_30</td><td>1033</td><td>Evaluating launch conditions</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_31</td><td>1033</td><td>Moving files</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_32</td><td>1033</td><td>File: [1], Directory: [9], Size: [6]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_33</td><td>1033</td><td>Patching files</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_34</td><td>1033</td><td>File: [1], Directory: [2], Size: [3]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_35</td><td>1033</td><td>Updating component registration</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_36</td><td>1033</td><td>Publishing qualified components</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_37</td><td>1033</td><td>Component ID: [1], Qualifier: [2]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_38</td><td>1033</td><td>Publishing product features</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_39</td><td>1033</td><td>Feature: [1]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_4</td><td>1033</td><td>Searching for installed applications</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_40</td><td>1033</td><td>Publishing product information</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_41</td><td>1033</td><td>Registering class servers</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_42</td><td>1033</td><td>Class ID: [1]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_43</td><td>1033</td><td>Registering extension servers</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_44</td><td>1033</td><td>Extension: [1]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_45</td><td>1033</td><td>Registering fonts</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_46</td><td>1033</td><td>Font: [1]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_47</td><td>1033</td><td>Registering MIME info</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_48</td><td>1033</td><td>MIME Content Type: [1], Extension: [2]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_49</td><td>1033</td><td>Registering product</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_5</td><td>1033</td><td>Property: [1], Signature: [2]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_50</td><td>1033</td><td>[1]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_51</td><td>1033</td><td>Registering program identifiers</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_52</td><td>1033</td><td>ProgID: [1]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_53</td><td>1033</td><td>Registering type libraries</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_54</td><td>1033</td><td>LibID: [1]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_55</td><td>1033</td><td>Registering user</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_56</td><td>1033</td><td>[1]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_57</td><td>1033</td><td>Removing duplicated files</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_58</td><td>1033</td><td>File: [1], Directory: [9]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_59</td><td>1033</td><td>Updating environment strings</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_6</td><td>1033</td><td>Binding executables</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_60</td><td>1033</td><td>Name: [1], Value: [2], Action [3]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_61</td><td>1033</td><td>Removing files</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_62</td><td>1033</td><td>File: [1], Directory: [9]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_63</td><td>1033</td><td>Removing folders</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_64</td><td>1033</td><td>Folder: [1]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_65</td><td>1033</td><td>Removing INI file entries</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_66</td><td>1033</td><td>File: [1], Section: [2], Key: [3], Value: [4]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_67</td><td>1033</td><td>Removing ODBC components</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_68</td><td>1033</td><td>Removing system registry values</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_69</td><td>1033</td><td>Key: [1], Name: [2]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_7</td><td>1033</td><td>File: [1]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_70</td><td>1033</td><td>Removing shortcuts</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_71</td><td>1033</td><td>Shortcut: [1]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_72</td><td>1033</td><td>Searching for qualifying products</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_73</td><td>1033</td><td>Rolling back action:</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_74</td><td>1033</td><td>[1]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_75</td><td>1033</td><td>Removing backup files</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_76</td><td>1033</td><td>File: [1]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_77</td><td>1033</td><td>Registering modules</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_78</td><td>1033</td><td>File: [1], Folder: [2]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_79</td><td>1033</td><td>Unregistering modules</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_8</td><td>1033</td><td>Searching for qualifying products</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_80</td><td>1033</td><td>File: [1], Folder: [2]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_81</td><td>1033</td><td>Initializing ODBC directories</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_82</td><td>1033</td><td>Starting services</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_83</td><td>1033</td><td>Service: [1]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_84</td><td>1033</td><td>Stopping services</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_85</td><td>1033</td><td>Service: [1]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_86</td><td>1033</td><td>Removing moved files</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_87</td><td>1033</td><td>File: [1], Directory: [9]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_88</td><td>1033</td><td>Unpublishing Qualified Components</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_89</td><td>1033</td><td>Component ID: [1], Qualifier: [2]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_9</td><td>1033</td><td>Computing space requirements</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_90</td><td>1033</td><td>Unpublishing product features</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_91</td><td>1033</td><td>Feature: [1]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_92</td><td>1033</td><td>Unpublishing product information</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_93</td><td>1033</td><td>Unregister class servers</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_94</td><td>1033</td><td>Class ID: [1]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_95</td><td>1033</td><td>Unregistering extension servers</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_96</td><td>1033</td><td>Extension: [1]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_97</td><td>1033</td><td>Unregistering fonts</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_98</td><td>1033</td><td>Font: [1]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ACTIONTEXT_99</td><td>1033</td><td>Unregistering MIME info</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_BACK</td><td>1033</td><td>&lt; &amp;Back</td><td>0</td><td/><td/></row> + <row><td>IDS_CANCEL</td><td>1033</td><td>Cancel</td><td>0</td><td/><td/></row> + <row><td>IDS_COMPLUS_PROGRESSTEXT_COST</td><td>1033</td><td>Costing COM+ application: [1]</td><td>0</td><td/><td/></row> + <row><td>IDS_COMPLUS_PROGRESSTEXT_INSTALL</td><td>1033</td><td>Installing COM+ application: [1]</td><td>0</td><td/><td/></row> + <row><td>IDS_COMPLUS_PROGRESSTEXT_UNINSTALL</td><td>1033</td><td>Uninstalling COM+ application: [1]</td><td>0</td><td/><td/></row> + <row><td>IDS_ERROR_0</td><td>1033</td><td>{{Fatal error: }}</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_1</td><td>1033</td><td>Error [1].</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_10</td><td>1033</td><td>=== Logging started: [Date] [Time] ===</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_100</td><td>1033</td><td>Could not remove shortcut [2]. Verify that the shortcut file exists and that you can access it.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_101</td><td>1033</td><td>Could not register type library for file [2]. Contact your support personnel.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_102</td><td>1033</td><td>Could not unregister type library for file [2]. Contact your support personnel.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_103</td><td>1033</td><td>Could not update the INI file [2][3]. Verify that the file exists and that you can access it.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_104</td><td>1033</td><td>Could not schedule file [2] to replace file [3] on reboot. Verify that you have write permissions to file [3].</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_105</td><td>1033</td><td>Error removing ODBC driver manager, ODBC error [2]: [3]. Contact your support personnel.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_106</td><td>1033</td><td>Error installing ODBC driver manager, ODBC error [2]: [3]. Contact your support personnel.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_107</td><td>1033</td><td>Error removing ODBC driver [4], ODBC error [2]: [3]. Verify that you have sufficient privileges to remove ODBC drivers.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_108</td><td>1033</td><td>Error installing ODBC driver [4], ODBC error [2]: [3]. Verify that the file [4] exists and that you can access it.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_109</td><td>1033</td><td>Error configuring ODBC data source [4], ODBC error [2]: [3]. Verify that the file [4] exists and that you can access it.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_11</td><td>1033</td><td>=== Logging stopped: [Date] [Time] ===</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_110</td><td>1033</td><td>Service [2] ([3]) failed to start. Verify that you have sufficient privileges to start system services.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_111</td><td>1033</td><td>Service [2] ([3]) could not be stopped. Verify that you have sufficient privileges to stop system services.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_112</td><td>1033</td><td>Service [2] ([3]) could not be deleted. Verify that you have sufficient privileges to remove system services.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_113</td><td>1033</td><td>Service [2] ([3]) could not be installed. Verify that you have sufficient privileges to install system services.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_114</td><td>1033</td><td>Could not update environment variable [2]. Verify that you have sufficient privileges to modify environment variables.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_115</td><td>1033</td><td>You do not have sufficient privileges to complete this installation for all users of the machine. Log on as an administrator and then retry this installation.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_116</td><td>1033</td><td>Could not set file security for file [3]. Error: [2]. Verify that you have sufficient privileges to modify the security permissions for this file.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_117</td><td>1033</td><td>Component Services (COM+ 1.0) are not installed on this computer. This installation requires Component Services in order to complete successfully. Component Services are available on Windows 2000.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_118</td><td>1033</td><td>Error registering COM+ application. Contact your support personnel for more information.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_119</td><td>1033</td><td>Error unregistering COM+ application. Contact your support personnel for more information.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_12</td><td>1033</td><td>Action start [Time]: [1].</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_120</td><td>1033</td><td>Removing older versions of this application</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_121</td><td>1033</td><td>Preparing to remove older versions of this application</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_122</td><td>1033</td><td>Error applying patch to file [2]. It has probably been updated by other means, and can no longer be modified by this patch. For more information contact your patch vendor. {{System Error: [3]}}</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_123</td><td>1033</td><td>[2] cannot install one of its required products. Contact your technical support group. {{System Error: [3].}}</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_124</td><td>1033</td><td>The older version of [2] cannot be removed. Contact your technical support group. {{System Error [3].}}</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_125</td><td>1033</td><td>The description for service '[2]' ([3]) could not be changed.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_126</td><td>1033</td><td>The Windows Installer service cannot update the system file [2] because the file is protected by Windows. You may need to update your operating system for this program to work correctly. {{Package version: [3], OS Protected version: [4]}}</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_127</td><td>1033</td><td>The Windows Installer service cannot update the protected Windows file [2]. {{Package version: [3], OS Protected version: [4], SFP Error: [5]}}</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_128</td><td>1033</td><td>This setup requires Internet Information Server 4.0 or higher for configuring IIS Virtual Roots. Please make sure that you have IIS 4.0 or higher.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_129</td><td>1033</td><td>This setup requires Administrator privileges for configuring IIS Virtual Roots.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_13</td><td>1033</td><td>Action ended [Time]: [1]. Return value [2].</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_130</td><td>1033</td><td>This setup requires Internet Information Server 4.0 or higher for configuring IIS Virtual Roots. Please make sure that you have IIS 4.0 or higher.</td><td>0</td><td/><td/></row> + <row><td>IDS_ERROR_131</td><td>1033</td><td>This setup requires Administrator privileges for configuring IIS Virtual Roots.</td><td>0</td><td/><td/></row> + <row><td>IDS_ERROR_14</td><td>1033</td><td>Time remaining: {[1] minutes }{[2] seconds}</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_15</td><td>1033</td><td>Out of memory. Shut down other applications before retrying.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_16</td><td>1033</td><td>Installer is no longer responding.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_17</td><td>1033</td><td>Installer terminated prematurely.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_18</td><td>1033</td><td>Please wait while Windows configures [ProductName]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_19</td><td>1033</td><td>Gathering required information...</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_2</td><td>1033</td><td>Warning [1].</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_20</td><td>1033</td><td>{[ProductName] }Setup completed successfully.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_21</td><td>1033</td><td>{[ProductName] }Setup failed.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_22</td><td>1033</td><td>Error reading from file: [2]. {{ System error [3].}} Verify that the file exists and that you can access it.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_23</td><td>1033</td><td>Cannot create the file [3]. A directory with this name already exists. Cancel the installation and try installing to a different location.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_2331</td><td>1033</td><td>Error loading library [2] or finding entry point [3].</td><td>0</td><td/><td/></row> + <row><td>IDS_ERROR_24</td><td>1033</td><td>Please insert the disk: [2]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_25</td><td>1033</td><td>The installer has insufficient privileges to access this directory: [2]. The installation cannot continue. Log on as an administrator or contact your system administrator.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_26</td><td>1033</td><td>Error writing to file [2]. Verify that you have access to that directory.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_27</td><td>1033</td><td>Error reading from file [2]. Verify that the file exists and that you can access it.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_27502</td><td>1033</td><td>Could not connect to SQL Server [2]. [3]</td><td>0</td><td/><td/></row> + <row><td>IDS_ERROR_27503</td><td>1033</td><td>Error retrieving version string from SQL Server [2]. [3]</td><td>0</td><td/><td/></row> + <row><td>IDS_ERROR_27504</td><td>1033</td><td>SQL version requirements not met: [2] [3]</td><td>0</td><td/><td/></row> + <row><td>IDS_ERROR_27505</td><td>1033</td><td>Could not open SQL script file [2].</td><td>0</td><td/><td/></row> + <row><td>IDS_ERROR_27506</td><td>1033</td><td>Error executing SQL script [2]. Line [3]. [4]</td><td>0</td><td/><td/></row> + <row><td>IDS_ERROR_27507</td><td>1033</td><td>Connection or browsing for SQL Servers requires that MDAC be installed.</td><td>0</td><td/><td/></row> + <row><td>IDS_ERROR_27508</td><td>1033</td><td>Error installing COM+ application [2]. [3]</td><td>0</td><td/><td/></row> + <row><td>IDS_ERROR_27509</td><td>1033</td><td>Error uninstalling COM+ application [2]. [3]</td><td>0</td><td/><td/></row> + <row><td>IDS_ERROR_27510</td><td>1033</td><td>Error installing COM+ application [2]. Could not load Microsoft(R) .NET class libraries. Registering .NET serviced components requires that Microsoft(R) .NET Framework be installed.</td><td>0</td><td/><td/></row> + <row><td>IDS_ERROR_27511</td><td>1033</td><td>Could not execute SQL script file [2]. Connection not open: [3]</td><td>0</td><td/><td/></row> + <row><td>IDS_ERROR_27512</td><td>1033</td><td>Error beginning transactions for SQL Server [2]. Database [3]. [4]</td><td>0</td><td/><td/></row> + <row><td>IDS_ERROR_27513</td><td>1033</td><td>Error committing transactions for SQL Server [2]. Database [3]. [4]</td><td>0</td><td/><td/></row> + <row><td>IDS_ERROR_27514</td><td>1033</td><td>This installation requires a Microsoft SQL Server. The specified server '[2]' is a Microsoft SQL Server Desktop Engine (MSDE).</td><td>0</td><td/><td/></row> + <row><td>IDS_ERROR_27515</td><td>1033</td><td>Error retrieving schema version from SQL Server '[2]'. Database: '[3]'. [4]</td><td>0</td><td/><td/></row> + <row><td>IDS_ERROR_27516</td><td>1033</td><td>Error writing schema version to SQL Server '[2]'. Database: '[3]'. [4]</td><td>0</td><td/><td/></row> + <row><td>IDS_ERROR_27517</td><td>1033</td><td>This installation requires Administrator privileges for installing COM+ applications. Log on as an administrator and then retry this installation.</td><td>0</td><td/><td/></row> + <row><td>IDS_ERROR_27518</td><td>1033</td><td>The COM+ application "[2]" is configured to run as an NT service; this requires COM+ 1.5 or later on the system. Since your system has COM+ 1.0, this application will not be installed.</td><td>0</td><td/><td/></row> + <row><td>IDS_ERROR_28</td><td>1033</td><td>Another application has exclusive access to the file [2]. Please shut down all other applications, then click Retry.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_29</td><td>1033</td><td>There is not enough disk space to install thi file [2]. Free some disk space and click Retry, or click Cancel to exit.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_3</td><td>1033</td><td>Info [1].</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_30</td><td>1033</td><td>Source file not found: [2]. Verify that the file exists and that you can access it.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_31</td><td>1033</td><td>Error reading from file: [3]. {{ System error [2].}} Verify that the file exists and that you can access it.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_32</td><td>1033</td><td>Error writing to file: [3]. {{ System error [2].}} Verify that you have access to that directory.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_33</td><td>1033</td><td>Source file not found{{(cabinet)}}: [2]. Verify that the file exists and that you can access it.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_34</td><td>1033</td><td>Cannot create the directory [2]. A file with this name already exists. Please rename or remove the file and click Retry, or click Cancel to exit.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_35</td><td>1033</td><td>The volume [2] is currently unavailable. Please select another.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_36</td><td>1033</td><td>The specified path [2] is unavailable.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_37</td><td>1033</td><td>Unable to write to the specified folder [2].</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_38</td><td>1033</td><td>A network error occurred while attempting to read from the file [2]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_39</td><td>1033</td><td>An error occurred while attempting to create the directory [2]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_4</td><td>1033</td><td>Internal Error [1]. [2]{, [3]}{, [4]}</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_40</td><td>1033</td><td>A network error occurred while attempting to create the directory [2]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_41</td><td>1033</td><td>A network error occurred while attempting to open the source file cabinet [2].</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_42</td><td>1033</td><td>The specified path is too long [2].</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_43</td><td>1033</td><td>The Installer has insufficient privileges to modify the file [2].</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_44</td><td>1033</td><td>A portion of the path [2] exceeds the length allowed by the system.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_45</td><td>1033</td><td>The path [2] contains words that are not valid in folders.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_46</td><td>1033</td><td>The path [2] contains an invalid character.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_47</td><td>1033</td><td>[2] is not a valid short file name.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_48</td><td>1033</td><td>Error getting file security: [3] GetLastError: [2]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_49</td><td>1033</td><td>Invalid Drive: [2]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_5</td><td>1033</td><td>{{Disk full: }}</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_50</td><td>1033</td><td>Could not create key [2]. {{ System error [3].}} Verify that you have sufficient access to that key, or contact your support personnel.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_51</td><td>1033</td><td>Could not open key: [2]. {{ System error [3].}} Verify that you have sufficient access to that key, or contact your support personnel.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_52</td><td>1033</td><td>Could not delete value [2] from key [3]. {{ System error [4].}} Verify that you have sufficient access to that key, or contact your support personnel.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_53</td><td>1033</td><td>Could not delete key [2]. {{ System error [3].}} Verify that you have sufficient access to that key, or contact your support personnel.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_54</td><td>1033</td><td>Could not read value [2] from key [3]. {{ System error [4].}} Verify that you have sufficient access to that key, or contact your support personnel.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_55</td><td>1033</td><td>Could not write value [2] to key [3]. {{ System error [4].}} Verify that you have sufficient access to that key, or contact your support personnel.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_56</td><td>1033</td><td>Could not get value names for key [2]. {{ System error [3].}} Verify that you have sufficient access to that key, or contact your support personnel.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_57</td><td>1033</td><td>Could not get sub key names for key [2]. {{ System error [3].}} Verify that you have sufficient access to that key, or contact your support personnel.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_58</td><td>1033</td><td>Could not read security information for key [2]. {{ System error [3].}} Verify that you have sufficient access to that key, or contact your support personnel.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_59</td><td>1033</td><td>Could not increase the available registry space. [2] KB of free registry space is required for the installation of this application.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_6</td><td>1033</td><td>Action [Time]: [1]. [2]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_60</td><td>1033</td><td>Another installation is in progress. You must complete that installation before continuing this one.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_61</td><td>1033</td><td>Error accessing secured data. Please make sure the Windows Installer is configured properly and try the installation again.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_62</td><td>1033</td><td>User [2] has previously initiated an installation for product [3]. That user will need to run that installation again before using that product. Your current installation will now continue.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_63</td><td>1033</td><td>User [2] has previously initiated an installation for product [3]. That user will need to run that installation again before using that product.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_64</td><td>1033</td><td>Out of disk space -- Volume: '[2]'; required space: [3] KB; available space: [4] KB. Free some disk space and retry.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_65</td><td>1033</td><td>Are you sure you want to cancel?</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_66</td><td>1033</td><td>The file [2][3] is being held in use{ by the following process: Name: [4], ID: [5], Window Title: [6]}. Close that application and retry.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_67</td><td>1033</td><td>The product [2] is already installed, preventing the installation of this product. The two products are incompatible.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_68</td><td>1033</td><td>Out of disk space -- Volume: [2]; required space: [3] KB; available space: [4] KB. If rollback is disabled, enough space is available. Click Cancel to quit, Retry to check available disk space again, or Ignore to continue without rollback.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_69</td><td>1033</td><td>Could not access network location [2].</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_7</td><td>1033</td><td>[ProductName]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_70</td><td>1033</td><td>The following applications should be closed before continuing the installation:</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_71</td><td>1033</td><td>Could not find any previously installed compliant products on the machine for installing this product.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_72</td><td>1033</td><td>The key [2] is not valid. Verify that you entered the correct key.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_73</td><td>1033</td><td>The installer must restart your system before configuration of [2] can continue. Click Yes to restart now or No if you plan to restart later.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_74</td><td>1033</td><td>You must restart your system for the configuration changes made to [2] to take effect. Click Yes to restart now or No if you plan to restart later.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_75</td><td>1033</td><td>An installation for [2] is currently suspended. You must undo the changes made by that installation to continue. Do you want to undo those changes?</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_76</td><td>1033</td><td>A previous installation for this product is in progress. You must undo the changes made by that installation to continue. Do you want to undo those changes?</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_77</td><td>1033</td><td>No valid source could be found for product [2]. The Windows Installer cannot continue.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_78</td><td>1033</td><td>Installation operation completed successfully.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_79</td><td>1033</td><td>Installation operation failed.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_8</td><td>1033</td><td>{[2]}{, [3]}{, [4]}</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_80</td><td>1033</td><td>Product: [2] -- [3]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_81</td><td>1033</td><td>You may either restore your computer to its previous state or continue the installation later. Would you like to restore?</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_82</td><td>1033</td><td>An error occurred while writing installation information to disk. Check to make sure enough disk space is available, and click Retry, or Cancel to end the installation.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_83</td><td>1033</td><td>One or more of the files required to restore your computer to its previous state could not be found. Restoration will not be possible.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_84</td><td>1033</td><td>The path [2] is not valid. Please specify a valid path.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_85</td><td>1033</td><td>Out of memory. Shut down other applications before retrying.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_86</td><td>1033</td><td>There is no disk in drive [2]. Please insert one and click Retry, or click Cancel to go back to the previously selected volume.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_87</td><td>1033</td><td>There is no disk in drive [2]. Please insert one and click Retry, or click Cancel to return to the browse dialog and select a different volume.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_88</td><td>1033</td><td>The folder [2] does not exist. Please enter a path to an existing folder.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_89</td><td>1033</td><td>You have insufficient privileges to read this folder.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_9</td><td>1033</td><td>Message type: [1], Argument: [2]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_90</td><td>1033</td><td>A valid destination folder for the installation could not be determined.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_91</td><td>1033</td><td>Error attempting to read from the source installation database: [2].</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_92</td><td>1033</td><td>Scheduling reboot operation: Renaming file [2] to [3]. Must reboot to complete operation.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_93</td><td>1033</td><td>Scheduling reboot operation: Deleting file [2]. Must reboot to complete operation.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_94</td><td>1033</td><td>Module [2] failed to register. HRESULT [3]. Contact your support personnel.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_95</td><td>1033</td><td>Module [2] failed to unregister. HRESULT [3]. Contact your support personnel.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_96</td><td>1033</td><td>Failed to cache package [2]. Error: [3]. Contact your support personnel.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_97</td><td>1033</td><td>Could not register font [2]. Verify that you have sufficient permissions to install fonts, and that the system supports this font.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_98</td><td>1033</td><td>Could not unregister font [2]. Verify that you have sufficient permissions to remove fonts.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_99</td><td>1033</td><td>Could not create shortcut [2]. Verify that the destination folder exists and that you can access it.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ERROR_SN_INVALID</td><td>1033</td><td>The serial number is invalid.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ISSCRIPT_VERSION_MISSING</td><td>1033</td><td>The InstallScript engine is missing from this machine. If available, please run ISScript.msi, or contact your support personnel for further assistance.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_ISSCRIPT_VERSION_OLD</td><td>1033</td><td>The InstallScript engine on this machine is older than the version required to run this setup. If available, please install the latest version of ISScript.msi, or contact your support personnel for further assistance.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_NEXT</td><td>1033</td><td>&amp;Next &gt;</td><td>0</td><td/><td/></row> + <row><td>IDS_OK</td><td>1033</td><td>OK</td><td>0</td><td/><td/></row> + <row><td>IDS_PRODUCTNAME_INSTALLSHIELD</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td/></row> + <row><td>IDS_PRODUCT_DEFAULT_1</td><td>1033</td><td>Your Product Name</td><td>0</td><td>SYSTEM_GENERATED</td><td>-1021924763</td></row> + <row><td>IDS_PROGMSG_IIS_CREATEVROOT</td><td>1033</td><td>Creating IIS virtual directory %s</td><td>0</td><td/><td/></row> + <row><td>IDS_PROGMSG_IIS_CREATEVROOTS</td><td>1033</td><td>Creating IIS virtual directories...</td><td>0</td><td/><td/></row> + <row><td>IDS_PROGMSG_IIS_EXTRACT</td><td>1033</td><td>Extracting information for IIS virtual directories...</td><td>0</td><td/><td/></row> + <row><td>IDS_PROGMSG_IIS_EXTRACTDONE</td><td>1033</td><td>Extracted information for IIS virtual directories...</td><td>0</td><td/><td/></row> + <row><td>IDS_PROGMSG_IIS_REMOVESITE</td><td>1033</td><td>Removing web site at port %d</td><td>0</td><td/><td/></row> + <row><td>IDS_PROGMSG_IIS_REMOVEVROOT</td><td>1033</td><td>Removing IIS virtual directory %s</td><td>0</td><td/><td/></row> + <row><td>IDS_PROGMSG_IIS_REMOVEVROOTS</td><td>1033</td><td>Removing IIS virtual directories...</td><td>0</td><td/><td/></row> + <row><td>IDS_PROGMSG_IIS_ROLLBACKVROOTS</td><td>1033</td><td>Rolling back virtual directory and web site changes...</td><td>0</td><td/><td/></row> + <row><td>IDS_SQLBROWSE_INTRO</td><td>1033</td><td>From the list of servers below, select the SQL Server you would like to target.</td><td>0</td><td/><td/></row> + <row><td>IDS_SQLLOGIN_BROWSE</td><td>1033</td><td>B&amp;rowse...</td><td>0</td><td/><td/></row> + <row><td>IDS_SQLLOGIN_CONNECT</td><td>1033</td><td>Connect using:</td><td>0</td><td/><td/></row> + <row><td>IDS_SQLLOGIN_DESC</td><td>1033</td><td>Select SQL Server and authentication method</td><td>0</td><td/><td/></row> + <row><td>IDS_SQLLOGIN_ID</td><td>1033</td><td>&amp;Login ID:</td><td>0</td><td/><td/></row> + <row><td>IDS_SQLLOGIN_INTRO</td><td>1033</td><td>Select the SQL Server to install to from the list below or click Browse to see a list of all SQL Servers. You can also specify the way to authenticate your login using your current credentials or a SQL Login ID and Password.</td><td>0</td><td/><td/></row> + <row><td>IDS_SQLLOGIN_PSWD</td><td>1033</td><td>&amp;Password:</td><td>0</td><td/><td/></row> + <row><td>IDS_SQLLOGIN_SERVER</td><td>1033</td><td>&amp;SQL Server:</td><td>0</td><td/><td/></row> + <row><td>IDS_SQLLOGIN_SQL</td><td>1033</td><td>S&amp;QL Server authentication using the Login ID and password below</td><td>0</td><td/><td/></row> + <row><td>IDS_SQLLOGIN_TITLE</td><td>1033</td><td>{&amp;MSSansBold8}SQL Server</td><td>0</td><td/><td/></row> + <row><td>IDS_SQLLOGIN_WIN</td><td>1033</td><td>&amp;Windows authentication credentials of current user</td><td>0</td><td/><td/></row> + <row><td>IDS_SQLSCRIPT_INSTALLING</td><td>1033</td><td>Executing SQL Install Script...</td><td>0</td><td/><td/></row> + <row><td>IDS_SQLSCRIPT_UNINSTALLING</td><td>1033</td><td>Executing SQL Uninstall Script...</td><td>0</td><td/><td/></row> + <row><td>IDS_STANDARD_USE_SETUPEXE</td><td>1033</td><td>This installation cannot be run by directly launching the MSI package. You must run setup.exe.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_SetupTips_1</td><td>1033</td><td>OK</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_SetupTips_10</td><td>1033</td><td>Will be installed on first use. (Available only if the feature supports this option.)</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_SetupTips_11</td><td>1033</td><td>Will be installed to run from the network. (Available only if the feature supports this option.)</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_SetupTips_12</td><td>1033</td><td>This install state means the feature...</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_SetupTips_13</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\IsDialogBanner.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_SetupTips_14</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\NetworkInstall.ico</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_SetupTips_15</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\Install.ico</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_SetupTips_16</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\InstallFirstUse.ico</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_SetupTips_17</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\InstallPartial.ico</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_SetupTips_18</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\DontInstall.ico</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_SetupTips_19</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\InstallStateMenu.ico</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_SetupTips_2</td><td>1033</td><td>{&amp;MSSWhiteSerif8}InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_SetupTips_3</td><td>1033</td><td>InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_SetupTips_4</td><td>1033</td><td>Custom Setup allows you to selectively install program features.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_SetupTips_5</td><td>1033</td><td>{&amp;MSSansBold8}Custom Setup Tips</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_SetupTips_6</td><td>1033</td><td>Will not be installed.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_SetupTips_7</td><td>1033</td><td>Will have some subfeatures installed to the local hard drive. (Available only if the feature has subfeatures.)</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_SetupTips_8</td><td>1033</td><td>Will be completely installed to the local hard drive.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_SetupTips_9</td><td>1033</td><td>The icon next to the feature name indicates the install state of the feature. Click the icon to drop down the install state menu for each feature.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_0</td><td>1033</td><td>bytes</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_1</td><td>1033</td><td>GB</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_10</td><td>1033</td><td>This feature will remain uninstalled.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_11</td><td>1033</td><td>This feature will be set to be installed when required.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_12</td><td>1033</td><td>This feature will be installed to run from CD.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_13</td><td>1033</td><td>This feature will be installed on the local hard drive.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_14</td><td>1033</td><td>This feature will be installed to run from the network.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_15</td><td>1033</td><td>This feature will become unavailable.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_16</td><td>1033</td><td>Will be installed when required.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_17</td><td>1033</td><td>This feature will be available to run from CD.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_18</td><td>1033</td><td>This feature will be installed on your local hard drive.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_19</td><td>1033</td><td>This feature will be available to run from the network.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_2</td><td>1033</td><td>KB</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_20</td><td>1033</td><td>This feature will be uninstalled completely, and you won't be able to run it from CD.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_21</td><td>1033</td><td>This feature was run from the CD but will be set to be installed when required.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_22</td><td>1033</td><td>This feature will continue to be run from the CD</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_23</td><td>1033</td><td>This feature was run from the CD but will be installed on the local hard drive.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_24</td><td>1033</td><td>This feature frees up [1] on your hard drive.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_25</td><td>1033</td><td>This feature requires [1] on your hard drive.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_26</td><td>1033</td><td>Compiling cost for this feature...</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_27</td><td>1033</td><td>This feature will be completely removed.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_28</td><td>1033</td><td>This feature will be removed from your local hard drive but will be set to be installed when required.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_29</td><td>1033</td><td>This feature will be removed from your local hard drive but will still be available to run from CD.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_3</td><td>1033</td><td>MB</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_30</td><td>1033</td><td>This feature will remain on your local hard drive.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_31</td><td>1033</td><td>This feature will be removed from your local hard drive, but will be still available to run from the network.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_32</td><td>1033</td><td>This feature will be uninstalled completely, and you won't be able to run it from the network.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_33</td><td>1033</td><td>This feature was run from the network but will be installed when required.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_34</td><td>1033</td><td>This feature was run from the network but will be installed on the local hard drive.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_35</td><td>1033</td><td>This feature will continue to be run from the network</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_36</td><td>1033</td><td>This feature frees up [1] on your hard drive. It has [2] of [3] subfeatures selected. The subfeatures free up [4] on your hard drive.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_37</td><td>1033</td><td>This feature frees up [1] on your hard drive. It has [2] of [3] subfeatures selected. The subfeatures require [4] on your hard drive.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_38</td><td>1033</td><td>This feature requires [1] on your hard drive. It has [2] of [3] subfeatures selected. The subfeatures free up [4] on your hard drive.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_39</td><td>1033</td><td>This feature requires [1] on your hard drive. It has [2] of [3] subfeatures selected. The subfeatures require [4] on your hard drive.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_4</td><td>1033</td><td>This feature will not be available.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_40</td><td>1033</td><td>Time remaining: {[1] min }[2] sec</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_41</td><td>1033</td><td>Available</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_42</td><td>1033</td><td>Differences</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_43</td><td>1033</td><td>Required</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_44</td><td>1033</td><td>Disk Size</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_45</td><td>1033</td><td>Volume</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_46</td><td>1033</td><td>This feature, and all subfeatures, will be installed to run from the network.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_47</td><td>1033</td><td>This feature, and all subfeatures, will be installed to run from the CD.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_48</td><td>1033</td><td>This feature, and all subfeatures, will be installed on local hard drive.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_5</td><td>1033</td><td>This feature will be installed when required.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_6</td><td>1033</td><td>This feature will be installed to run from CD.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_7</td><td>1033</td><td>This feature will be installed on local hard drive.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_8</td><td>1033</td><td>This feature will be installed to run from network.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS_UITEXT_9</td><td>1033</td><td>Fldr|New Folder</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__AgreeToLicense_0</td><td>1033</td><td>I &amp;do not accept the terms in the license agreement</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__AgreeToLicense_1</td><td>1033</td><td>I &amp;accept the terms in the license agreement</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__DatabaseFolder_0</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__DatabaseFolder_1</td><td>1033</td><td>Cancel</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__DatabaseFolder_10</td><td>1033</td><td>Install [ProductName] database to:</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__DatabaseFolder_11</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\IsDialogBanner.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__DatabaseFolder_12</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\DestIcon.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__DatabaseFolder_2</td><td>1033</td><td>InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__DatabaseFolder_3</td><td>1033</td><td>{&amp;MSSWhiteSerif8}InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__DatabaseFolder_4</td><td>1033</td><td>Click Next to install to this folder, or click Change to install to a different folder.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__DatabaseFolder_5</td><td>1033</td><td>{&amp;MSSansBold8}Database Folder</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__DatabaseFolder_6</td><td>1033</td><td>&lt; &amp;Back</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__DatabaseFolder_7</td><td>1033</td><td>&amp;Next &gt;</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__DatabaseFolder_8</td><td>1033</td><td>&amp;Change...</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__DatabaseFolder_9</td><td>1033</td><td>[DATABASEDIR]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__DestinationFolder_0</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__DestinationFolder_1</td><td>1033</td><td>Cancel</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__DestinationFolder_10</td><td>1033</td><td>Install [ProductName] to:</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__DestinationFolder_11</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\IsDialogBanner.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__DestinationFolder_12</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\DestIcon.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__DestinationFolder_2</td><td>1033</td><td>InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__DestinationFolder_3</td><td>1033</td><td>{&amp;MSSWhiteSerif8}InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__DestinationFolder_4</td><td>1033</td><td>Click Next to install to this folder, or click Change to install to a different folder.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__DestinationFolder_5</td><td>1033</td><td>{&amp;MSSansBold8}Destination Folder</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__DestinationFolder_6</td><td>1033</td><td>&lt; &amp;Back</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__DestinationFolder_7</td><td>1033</td><td>&amp;Next &gt;</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__DestinationFolder_8</td><td>1033</td><td>&amp;Change...</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__DestinationFolder_9</td><td>1033</td><td>[INSTALLDIR]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__DisplayName_Custom</td><td>1033</td><td>Custom</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__DisplayName_Minimal</td><td>1033</td><td>Minimal</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__DisplayName_Typical</td><td>1033</td><td>Typical</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallBrowse_0</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallBrowse_1</td><td>1033</td><td>{&amp;MSSWhiteSerif8}InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallBrowse_10</td><td>1033</td><td>OK</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallBrowse_11</td><td>1033</td><td/><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallBrowse_12</td><td>1033</td><td>&amp;Folder name:</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallBrowse_13</td><td>1033</td><td>Up one level|</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallBrowse_14</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\IsDialogBanner.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallBrowse_15</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\New.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallBrowse_16</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\Up.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallBrowse_2</td><td>1033</td><td>InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallBrowse_3</td><td>1033</td><td>Cancel</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallBrowse_4</td><td>1033</td><td/><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallBrowse_5</td><td>1033</td><td>&amp;Look in:</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallBrowse_6</td><td>1033</td><td>Browse to the destination folder.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallBrowse_7</td><td>1033</td><td>{&amp;MSSansBold8}Change Current Destination Folder</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallBrowse_8</td><td>1033</td><td/><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallBrowse_9</td><td>1033</td><td>Create new folder|</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallPointWelcome_0</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallPointWelcome_1</td><td>1033</td><td>&lt; &amp;Back</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallPointWelcome_2</td><td>1033</td><td>Cancel</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallPointWelcome_3</td><td>1033</td><td>&amp;Next &gt;</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallPointWelcome_4</td><td>1033</td><td>{&amp;TahomaBold10}Welcome to the InstallShield Wizard for [ProductName]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallPointWelcome_5</td><td>1033</td><td>The InstallShield(R) Wizard will create a server image of [ProductName] at a specified network location. To continue, click Next.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallPointWelcome_6</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\IsDialogBitmap.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallPoint_0</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallPoint_1</td><td>1033</td><td>&lt; &amp;Back</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallPoint_10</td><td>1033</td><td>&amp;Network location:</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallPoint_11</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\IsDialogBanner.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallPoint_2</td><td>1033</td><td>{&amp;MSSWhiteSerif8}InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallPoint_3</td><td>1033</td><td>InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallPoint_4</td><td>1033</td><td>&amp;Change...</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallPoint_5</td><td>1033</td><td>Cancel</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallPoint_6</td><td>1033</td><td>Specify a network location for the server image of the product.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallPoint_7</td><td>1033</td><td>Enter the network location or click Change to browse to a location. Click Install to create a server image of [ProductName] at the specified network location or click Cancel to exit the wizard.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallPoint_8</td><td>1033</td><td>{&amp;MSSansBold8}Network Location</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsAdminInstallPoint_9</td><td>1033</td><td>&amp;Install</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsBitmapDlg_0</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsBitmapDlg_1</td><td>1033</td><td>&lt; &amp;Back</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsBitmapDlg_2</td><td>1033</td><td>{&amp;MSSWhiteSerif8}InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsBitmapDlg_3</td><td>1033</td><td>InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsBitmapDlg_4</td><td>1033</td><td>Cancel</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsBitmapDlg_5</td><td>1033</td><td>&amp;Next &gt;</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsBitmapDlg_6</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\IsDialogBitmap.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsBrowseFolderDlg_0</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsBrowseFolderDlg_1</td><td>1033</td><td>{&amp;MSSWhiteSerif8}InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsBrowseFolderDlg_10</td><td>1033</td><td>OK</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsBrowseFolderDlg_11</td><td>1033</td><td/><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsBrowseFolderDlg_12</td><td>1033</td><td>&amp;Folder name:</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsBrowseFolderDlg_13</td><td>1033</td><td>Up One Level|</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsBrowseFolderDlg_14</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\IsDialogBanner.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsBrowseFolderDlg_15</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\New.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsBrowseFolderDlg_16</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\Up.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsBrowseFolderDlg_2</td><td>1033</td><td>InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsBrowseFolderDlg_3</td><td>1033</td><td>Cancel</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsBrowseFolderDlg_4</td><td>1033</td><td/><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsBrowseFolderDlg_5</td><td>1033</td><td>&amp;Look in:</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsBrowseFolderDlg_6</td><td>1033</td><td>Browse to the destination folder.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsBrowseFolderDlg_7</td><td>1033</td><td>{&amp;MSSansBold8}Change Current Destination Folder</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsBrowseFolderDlg_8</td><td>1033</td><td/><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsBrowseFolderDlg_9</td><td>1033</td><td>Create New Folder|</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsCancelDlg_0</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsCancelDlg_1</td><td>1033</td><td>Information icon|</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsCancelDlg_2</td><td>1033</td><td>InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsCancelDlg_3</td><td>1033</td><td>Are you sure you want to cancel the installation?</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsCancelDlg_4</td><td>1033</td><td>Are you sure you want to cancel [ProductName] installation?</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsCancelDlg_5</td><td>1033</td><td>{&amp;MSSansBold8}Cancel Setup</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsCancelDlg_6</td><td>1033</td><td>&amp;No</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsCancelDlg_7</td><td>1033</td><td>To continue installing [ProductName], click Resume. To exit the installation, click Exit.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsCancelDlg_8</td><td>1033</td><td>&amp;Yes</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsCancelDlg_9</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\WarningIcon.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsCustomSelectionDlg_0</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsCustomSelectionDlg_1</td><td>1033</td><td>&lt; &amp;Back</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsCustomSelectionDlg_10</td><td>1033</td><td>Feature Description:</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsCustomSelectionDlg_11</td><td>1033</td><td>&amp;Next &gt;</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsCustomSelectionDlg_12</td><td>1033</td><td>Feature size</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsCustomSelectionDlg_13</td><td>1033</td><td>&amp;Help</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsCustomSelectionDlg_14</td><td>1033</td><td>Multiline description of the currently selected item</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsCustomSelectionDlg_15</td><td>1033</td><td>Feature Description</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsCustomSelectionDlg_16</td><td>1033</td><td>&amp;Change...</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsCustomSelectionDlg_17</td><td>1033</td><td>&lt;selected feature path&gt;</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsCustomSelectionDlg_18</td><td>1033</td><td>Install to:</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsCustomSelectionDlg_19</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\IsDialogBanner.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsCustomSelectionDlg_2</td><td>1033</td><td>{&amp;MSSWhiteSerif8}InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsCustomSelectionDlg_3</td><td>1033</td><td>InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsCustomSelectionDlg_4</td><td>1033</td><td>Cancel</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsCustomSelectionDlg_5</td><td>1033</td><td>&amp;Space</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsCustomSelectionDlg_6</td><td>1033</td><td>Select the program features you want installed.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsCustomSelectionDlg_7</td><td>1033</td><td>Click on an icon in the list below to change how a feature is installed.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsCustomSelectionDlg_8</td><td>1033</td><td>{&amp;MSSansBold8}Custom Setup</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsCustomSelectionDlg_9</td><td>1033</td><td>Multiline description of the currently selected item</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsDatabaseLocation_1</td><td>1033</td><td>InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsDatabaseLocation_10</td><td>1033</td><td>[DATABASEDIR]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsDatabaseLocation_11</td><td>1033</td><td>Install Application Database to:</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsDatabaseLocation_12</td><td>1033</td><td>{&amp;MSSWhiteSerif8}InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsDatabaseLocation_13</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsDatabaseLocation_2</td><td>1033</td><td>2</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsDatabaseLocation_3</td><td>1033</td><td>Cancel</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsDatabaseLocation_4</td><td>1033</td><td>4</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsDatabaseLocation_5</td><td>1033</td><td>Click next to install the application's database to this folder, or click change to install it to a different folder.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsDatabaseLocation_6</td><td>1033</td><td>{&amp;MSSansBold8}Database Destination Folder</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsDatabaseLocation_7</td><td>1033</td><td>&lt; &amp;Back</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsDatabaseLocation_8</td><td>1033</td><td>&amp;Next &gt;</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsDatabaseLocation_9</td><td>1033</td><td>&amp;Change...</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsDiskSpaceDlg_0</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsDiskSpaceDlg_1</td><td>1033</td><td>{&amp;MSSWhiteSerif8}InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsDiskSpaceDlg_10</td><td>1033</td><td>OK</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsDiskSpaceDlg_11</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\IsDialogBanner.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsDiskSpaceDlg_2</td><td>1033</td><td>InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsDiskSpaceDlg_3</td><td>1033</td><td>&amp;Disk Cleanup</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsDiskSpaceDlg_4</td><td>1033</td><td>Disk space required for the installation exceeds available disk space.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsDiskSpaceDlg_5</td><td>1033</td><td>The highlighted volumes do not have enough disk space available for the currently selected features. You can remove files from the highlighted volumes, choose to install less features onto local drives, or select different destination drives.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsDiskSpaceDlg_6</td><td>1033</td><td>{&amp;MSSansBold8}Out of Disk Space</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsDiskSpaceDlg_7</td><td>1033</td><td>&amp;Exit</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsDiskSpaceDlg_8</td><td>1033</td><td>Use disk cleanup to free more disk space by removing unneeded files.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsDiskSpaceDlg_9</td><td>1033</td><td>{120}{70}{70}{70}{70}</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsErrorDlg_0</td><td>1033</td><td>[ProductName] Installer Information</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsErrorDlg_1</td><td>1033</td><td>&amp;Abort</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsErrorDlg_2</td><td>1033</td><td>&amp;Cancel</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsErrorDlg_3</td><td>1033</td><td>&lt;error text goes here&gt;&lt;error text goes here&gt;&lt;error text goes here&gt;&lt;error text goes here&gt;&lt;error text goes here&gt;&lt;error text goes here&gt;&lt;error text goes here&gt;&lt;error text goes here&gt;&lt;error text goes here&gt;&lt;error text goes here&gt;&lt;error text goes here&gt;</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsErrorDlg_4</td><td>1033</td><td>&amp;Ignore</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsErrorDlg_5</td><td>1033</td><td>&amp;No</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsErrorDlg_6</td><td>1033</td><td>&amp;OK</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsErrorDlg_7</td><td>1033</td><td>&amp;Retry</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsErrorDlg_8</td><td>1033</td><td>&amp;Yes</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsErrorDlg_9</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\WarningIcon.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsExitDialog_0</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsExitDialog_1</td><td>1033</td><td>&lt; &amp;Back</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsExitDialog_2</td><td>1033</td><td>Cancel</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsExitDialog_3</td><td>1033</td><td>&amp;Finish</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsExitDialog_4</td><td>1033</td><td>{&amp;TahomaBold10}InstallShield Wizard Completed</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsExitDialog_5</td><td>1033</td><td>The InstallShield Wizard has successfully installed [ProductName]. Click Finish to exit the wizard.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsExitDialog_6</td><td>1033</td><td>The InstallShield Wizard has successfully uninstalled [ProductName]. Click Finish to exit the wizard.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsExitDialog_7</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\IsDialogBitmap.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsExitDialog_8</td><td>1033</td><td>Show the readme file</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsExitDialog_9</td><td>1033</td><td>Launch the program</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsExitDialog_Update_0</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsExitDialog_Update_1</td><td>1033</td><td>&lt; &amp;Back</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsExitDialog_Update_2</td><td>1033</td><td>Cancel</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsExitDialog_Update_3</td><td>1033</td><td>&amp;Finish</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsExitDialog_Update_4</td><td>1033</td><td>Setup has finished installing [ProductName].</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsExitDialog_Update_5</td><td>1033</td><td>Some program files might have been updated since you purchased your copy of [ProductName].</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsExitDialog_Update_6</td><td>1033</td><td>Your Internet connection can be used to make sure that you have the latest updates.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsExitDialog_Update_7</td><td>1033</td><td>&amp;Yes, check for program updates (Recommended) after the setup completes.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFatalError_0</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFatalError_1</td><td>1033</td><td>&lt; &amp;Back</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFatalError_10</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\IsDialogBitmap.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFatalError_2</td><td>1033</td><td>Cancel</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFatalError_3</td><td>1033</td><td>&amp;Finish</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFatalError_4</td><td>1033</td><td>Your system has not been modified. To complete installation at another time, please run setup again.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFatalError_5</td><td>1033</td><td>Click Finish to exit the wizard.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFatalError_6</td><td>1033</td><td>You can either keep any existing installed elements on your system to continue this installation at a later time or you can restore your system to its original state prior to the installation.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFatalError_7</td><td>1033</td><td>Click Restore or Continue Later to exit the wizard.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFatalError_8</td><td>1033</td><td>{&amp;TahomaBold10}InstallShield Wizard Completed</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFatalError_9</td><td>1033</td><td>The wizard was interrupted before [ProductName] could be completely installed.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFeatureDetailsDlg_0</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFeatureDetailsDlg_1</td><td>1033</td><td>{&amp;MSSWhiteSerif8}InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFeatureDetailsDlg_10</td><td>1033</td><td>Use disk cleanup to free more disk space by removing unneeded files.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFeatureDetailsDlg_11</td><td>1033</td><td>Install to:</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFeatureDetailsDlg_12</td><td>1033</td><td>Total disk space required:</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFeatureDetailsDlg_13</td><td>1033</td><td>{120}{70}{70}{70}{70}</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFeatureDetailsDlg_14</td><td>1033</td><td>OK</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFeatureDetailsDlg_15</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\IsDialogBanner.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFeatureDetailsDlg_2</td><td>1033</td><td>InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFeatureDetailsDlg_3</td><td>1033</td><td>&amp;Change...</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFeatureDetailsDlg_4</td><td>1033</td><td>Cancel</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFeatureDetailsDlg_5</td><td>1033</td><td>&amp;Disk Cleanup</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFeatureDetailsDlg_6</td><td>1033</td><td>The disk space required for the installation of the selected features.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFeatureDetailsDlg_7</td><td>1033</td><td>The highlighted volumes do not have enough disk space available for the currently selected features. You can remove files from the highlighted volumes, choose to install less features onto local drives, or select different destination drives.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFeatureDetailsDlg_8</td><td>1033</td><td>{&amp;MSSansBold8}Disk Space Requirements</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFeatureDetailsDlg_9</td><td>1033</td><td/><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFilesInUse_0</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFilesInUse_1</td><td>1033</td><td>{&amp;MSSWhiteSerif8}InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFilesInUse_10</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\IsDialogBanner.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFilesInUse_2</td><td>1033</td><td>InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFilesInUse_3</td><td>1033</td><td>Some files that need to be updated are currently in use.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFilesInUse_4</td><td>1033</td><td>The following applications are using files that need to be updated by this setup. Close these applications and click Retry to continue.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFilesInUse_5</td><td>1033</td><td>{&amp;MSSansBold8}Files in Use</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFilesInUse_6</td><td>1033</td><td>&amp;Exit</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFilesInUse_7</td><td>1033</td><td>&amp;Ignore</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFilesInUse_8</td><td>1033</td><td>&amp;Retry</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsFilesInUse_9</td><td>1033</td><td/><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsInitDlg_0</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsInitDlg_1</td><td>1033</td><td/><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsInitDlg_2</td><td>1033</td><td/><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsInitDlg_3</td><td>1033</td><td>&lt; &amp;Back</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsInitDlg_4</td><td>1033</td><td>Cancel</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsInitDlg_5</td><td>1033</td><td>&amp;Next &gt;</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsInitDlg_6</td><td>1033</td><td>{&amp;TahomaBold10}Welcome to the InstallShield Wizard for [ProductName]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsInitDlg_7</td><td>1033</td><td>[ProductName] Setup is preparing the InstallShield Wizard which will guide you through the program setup process. Please wait.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsInitDlg_8</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\IsDialogBitmap.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsLicenseDlg_0</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsLicenseDlg_1</td><td>1033</td><td>&lt; &amp;Back</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsLicenseDlg_2</td><td>1033</td><td>{&amp;MSSWhiteSerif8}InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsLicenseDlg_3</td><td>1033</td><td>InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsLicenseDlg_4</td><td>1033</td><td>Cancel</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsLicenseDlg_5</td><td>1033</td><td>Please read the following license agreement carefully.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsLicenseDlg_6</td><td>1033</td><td>Click Accept to accept the terms of this agreement, or click Decline to exit the wizard.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsLicenseDlg_7</td><td>1033</td><td>{&amp;MSSansBold8}License Agreement</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsLicenseDlg_8</td><td>1033</td><td>&amp;Next &gt;</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsLicenseDlg_9</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\IsDialogBanner.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsLicenseDlg_EULA</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\0409\Eula.rtf</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsMaintenanceDlg_0</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsMaintenanceDlg_1</td><td>1033</td><td>&lt; &amp;Back</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsMaintenanceDlg_10</td><td>1033</td><td>{&amp;MSSansBold8}&amp;Remove</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsMaintenanceDlg_11</td><td>1033</td><td/><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsMaintenanceDlg_12</td><td>1033</td><td>Change which program features are installed. This option displays the Custom Selection dialog in which you can change the way features are installed.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsMaintenanceDlg_13</td><td>1033</td><td>Repair installation errors in the program. This option fixes missing or corrupt files, shortcuts, and registry entries.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsMaintenanceDlg_14</td><td>1033</td><td>Remove [ProductName] from your computer.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsMaintenanceDlg_15</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\IsDialogBanner.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsMaintenanceDlg_16</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\RemoveIco.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsMaintenanceDlg_17</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\ReinstIco.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsMaintenanceDlg_18</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\CustomSetupIco.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsMaintenanceDlg_2</td><td>1033</td><td>{&amp;MSSWhiteSerif8}InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsMaintenanceDlg_3</td><td>1033</td><td>InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsMaintenanceDlg_4</td><td>1033</td><td>Cancel</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsMaintenanceDlg_5</td><td>1033</td><td>Modify, repair, or remove the program.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsMaintenanceDlg_6</td><td>1033</td><td>{&amp;MSSansBold8}Program Maintenance</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsMaintenanceDlg_7</td><td>1033</td><td>&amp;Next &gt;</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsMaintenanceDlg_8</td><td>1033</td><td>{&amp;MSSansBold8}&amp;Modify</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsMaintenanceDlg_9</td><td>1033</td><td>{&amp;MSSansBold8}Re&amp;pair</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsMaintenanceWelcome_0</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsMaintenanceWelcome_1</td><td>1033</td><td>&lt; &amp;Back</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsMaintenanceWelcome_2</td><td>1033</td><td>Cancel</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsMaintenanceWelcome_3</td><td>1033</td><td>&amp;Next &gt;</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsMaintenanceWelcome_4</td><td>1033</td><td>{&amp;TahomaBold10}Welcome to the InstallShield Wizard for [ProductName]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsMaintenanceWelcome_5</td><td>1033</td><td>The InstallShield(R) Wizard will allow you to modify, repair, or remove [ProductName]. To continue, click Next.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsMaintenanceWelcome_6</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\IsDialogBitmap.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsPatchDlg_0</td><td>1033</td><td>[ProductName] Patch - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsPatchDlg_1</td><td>1033</td><td>{&amp;TahomaBold10}Welcome to the Patch for [ProductName]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsPatchDlg_2</td><td>1033</td><td>The InstallShield(R) Wizard will install the Patch for [ProductName] on your computer. To continue, click Update.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsPatchDlg_3</td><td>1033</td><td>Cancel</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsPatchDlg_4</td><td>1033</td><td>&lt; &amp;Back</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsPatchDlg_5</td><td>1033</td><td>&amp;Update &gt;</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsPatchDlg_6</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\IsDialogBitmap.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsProgressDlg_0</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsProgressDlg_1</td><td>1033</td><td>Progress done</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsProgressDlg_10</td><td>1033</td><td>(Hidden for now)Sec.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsProgressDlg_11</td><td>1033</td><td>Status:</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsProgressDlg_12</td><td>1033</td><td>&amp;Next &gt;</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsProgressDlg_13</td><td>1033</td><td>(Hidden for now)</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsProgressDlg_14</td><td>1033</td><td>)Hidden for now)Estimated time remaining:</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsProgressDlg_15</td><td>1033</td><td>{&amp;MSSansBold8}Uninstalling [ProductName]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsProgressDlg_16</td><td>1033</td><td>The program features you selected are being uninstalled.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsProgressDlg_17</td><td>1033</td><td>Please wait while the InstallShield Wizard uninstalls [ProductName]. This may take several minutes.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsProgressDlg_18</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\SetupIcon.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsProgressDlg_19</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\IsDialogBanner.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsProgressDlg_2</td><td>1033</td><td/><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsProgressDlg_3</td><td>1033</td><td>&lt; &amp;Back</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsProgressDlg_4</td><td>1033</td><td>{&amp;MSSWhiteSerif8}InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsProgressDlg_5</td><td>1033</td><td>InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsProgressDlg_6</td><td>1033</td><td>Cancel</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsProgressDlg_7</td><td>1033</td><td>The program features you selected are being installed.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsProgressDlg_8</td><td>1033</td><td>Please wait while the InstallShield Wizard installs [ProductName]. This may take several minutes.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsProgressDlg_9</td><td>1033</td><td>{&amp;MSSansBold8}Installing [ProductName]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsReadmeDlg_0</td><td>1033</td><td>{&amp;MSSansBold8}Readme Information</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsReadmeDlg_1</td><td>1033</td><td>Please read the following readme information carefully.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsReadmeDlg_2</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsReadmeDlg_3</td><td>1033</td><td>&lt; &amp;Back</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsReadmeDlg_4</td><td>1033</td><td>&amp;Next &gt;</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsReadmeDlg_5</td><td>1033</td><td>&amp;Cancel</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsReadmeDlg_6</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\IsDialogBitmap.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsReadmeDlg_7</td><td>1033</td><td>InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsReadmeDlg_8</td><td>1033</td><td>{&amp;MSSWhiteSerif8}InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsRegisterUserDlg_0</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsRegisterUserDlg_1</td><td>1033</td><td>&lt; &amp;Back</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsRegisterUserDlg_10</td><td>1033</td><td>{\Tahoma8}{50}</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsRegisterUserDlg_11</td><td>1033</td><td>&amp;User Name:</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsRegisterUserDlg_12</td><td>1033</td><td>&amp;Next &gt;</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsRegisterUserDlg_13</td><td>1033</td><td>Install the help documentation for:</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsRegisterUserDlg_14</td><td>1033</td><td>&amp;Anyone who uses this computer (all users)</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsRegisterUserDlg_15</td><td>1033</td><td>Only for &amp;me ([USERNAME])</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsRegisterUserDlg_16</td><td>1033</td><td/><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsRegisterUserDlg_17</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\IsDialogBanner.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsRegisterUserDlg_18</td><td>1033</td><td>&amp;Serial Number:</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsRegisterUserDlg_19</td><td>1033</td><td>&amp;Other...</td><td>0</td><td/><td>-602530036</td></row> + <row><td>IDS__IsRegisterUserDlg_2</td><td>1033</td><td>{&amp;MSSWhiteSerif8}InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsRegisterUserDlg_20</td><td>1033</td><td>Install [ProductName] to:</td><td>0</td><td/><td>-602530036</td></row> + <row><td>IDS__IsRegisterUserDlg_21</td><td>1033</td><td>WARNING: You must choose the Apache root directory above. (This root contains the directories bin, htdocs, etc...)</td><td>0</td><td/><td>-602534547</td></row> + <row><td>IDS__IsRegisterUserDlg_3</td><td>1033</td><td>InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsRegisterUserDlg_4</td><td>1033</td><td>Cancel</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsRegisterUserDlg_5</td><td>1033</td><td>{\Tahoma8}{80}</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsRegisterUserDlg_6</td><td>1033</td><td>&amp;Organization:</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsRegisterUserDlg_7</td><td>1033</td><td>The options below must correspond to your exiting Apache httpd Web Server installation.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsRegisterUserDlg_8</td><td>1033</td><td>Please enter your name and organization.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsRegisterUserDlg_9</td><td>1033</td><td>{&amp;MSSansBold8}Installation Options</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsReinstallDlg_0</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsReinstallDlg_1</td><td>1033</td><td>&lt; &amp;Back</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsReinstallDlg_10</td><td>1033</td><td>&amp;Complete</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsReinstallDlg_11</td><td>1033</td><td/><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsReinstallDlg_12</td><td>1033</td><td>Replace all files whose versions differ from that required by the program and all registry entries and shortcuts required by the program.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsReinstallDlg_13</td><td>1033</td><td>Replace only missing program files and registry entries for installed features.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsReinstallDlg_14</td><td>1033</td><td>Replace all files, registry entries, and shortcuts required by the program.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsReinstallDlg_2</td><td>1033</td><td>{&amp;MSSWhiteSerif8}InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsReinstallDlg_3</td><td>1033</td><td>InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsReinstallDlg_4</td><td>1033</td><td>Cancel</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsReinstallDlg_5</td><td>1033</td><td>Select how you want the program elements reinstalled.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsReinstallDlg_6</td><td>1033</td><td>{&amp;MSSansBold8}Reinstallation Mode</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsReinstallDlg_7</td><td>1033</td><td>&amp;Next &gt;</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsReinstallDlg_8</td><td>1033</td><td>No&amp;rmal</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsReinstallDlg_9</td><td>1033</td><td>&amp;Minimal</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsResumeDlg_0</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsResumeDlg_1</td><td>1033</td><td>&lt; &amp;Back</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsResumeDlg_2</td><td>1033</td><td>Cancel</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsResumeDlg_3</td><td>1033</td><td>&amp;Next &gt;</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsResumeDlg_4</td><td>1033</td><td>The InstallShield(R) Wizard will complete the installation of [ProductName] on your computer. To continue, click Next.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsResumeDlg_5</td><td>1033</td><td>The InstallShield(R) Wizard will complete the suspended installation of [ProductName] on your computer. To continue, click Next.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsResumeDlg_6</td><td>1033</td><td>{&amp;TahomaBold10}Resuming the InstallShield Wizard for [ProductName]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsResumeDlg_7</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\IsDialogBitmap.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsSetupTypeMinDlg_0</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsSetupTypeMinDlg_1</td><td>1033</td><td>&lt; &amp;Back</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsSetupTypeMinDlg_10</td><td>1033</td><td>&amp;Next &gt;</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsSetupTypeMinDlg_11</td><td>1033</td><td>{&amp;MSSansBold8}&amp;Complete</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsSetupTypeMinDlg_12</td><td>1033</td><td>{&amp;MSSansBold8}Cu&amp;stom</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsSetupTypeMinDlg_13</td><td>1033</td><td/><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsSetupTypeMinDlg_14</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\CustomSetupIco.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsSetupTypeMinDlg_15</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\IsDialogBanner.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsSetupTypeMinDlg_16</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\CompleteSetupIco.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsSetupTypeMinDlg_17</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\DestIcon.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsSetupTypeMinDlg_18</td><td>1033</td><td>Minimum required features will be installed.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsSetupTypeMinDlg_19</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\CustomSetupIco.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsSetupTypeMinDlg_2</td><td>1033</td><td>{&amp;MSSWhiteSerif8}InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsSetupTypeMinDlg_20</td><td>1033</td><td>{&amp;MSSansBold8}&amp;Minimal</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsSetupTypeMinDlg_21</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\CustomSetupIco.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsSetupTypeMinDlg_22</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\CompleteSetupIco.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsSetupTypeMinDlg_23</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\IsDialogBanner.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsSetupTypeMinDlg_24</td><td>1033</td><td>{&amp;MSSansBold8}&amp;Typical</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsSetupTypeMinDlg_3</td><td>1033</td><td>InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsSetupTypeMinDlg_4</td><td>1033</td><td>Cancel</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsSetupTypeMinDlg_5</td><td>1033</td><td>All program features will be installed. (Requires the most disk space.)</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsSetupTypeMinDlg_6</td><td>1033</td><td>Choose which program features you want installed and where they will be installed. Recommended for advanced users.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsSetupTypeMinDlg_7</td><td>1033</td><td>Choose the setup type that best suits your needs.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsSetupTypeMinDlg_8</td><td>1033</td><td>Please select a setup type.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsSetupTypeMinDlg_9</td><td>1033</td><td>{&amp;MSSansBold8}Setup Type</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsStartCopyDlg_0</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsStartCopyDlg_1</td><td>1033</td><td>&lt; &amp;Back</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsStartCopyDlg_2</td><td>1033</td><td>{&amp;MSSWhiteSerif8}InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsStartCopyDlg_3</td><td>1033</td><td>InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsStartCopyDlg_4</td><td>1033</td><td>Cancel</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsStartCopyDlg_5</td><td>1033</td><td>The wizard is ready to begin installation.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsStartCopyDlg_6</td><td>1033</td><td>Click Next to begin the installation.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsStartCopyDlg_7</td><td>1033</td><td>If you want to review or change any of your installation settings, click Back. Click Cancel to exit the wizard.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsStartCopyDlg_8</td><td>1033</td><td>{&amp;MSSansBold8}Ready to Install</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsStartCopyDlg_9</td><td>1033</td><td>&amp;Next &gt;</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsUserExit_0</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsUserExit_1</td><td>1033</td><td>&lt; &amp;Back</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsUserExit_10</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\IsDialogBitmap.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsUserExit_2</td><td>1033</td><td>Cancel</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsUserExit_3</td><td>1033</td><td>&amp;Finish</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsUserExit_4</td><td>1033</td><td>Your system has not been modified. To install this program at a later time, please run the installation again.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsUserExit_5</td><td>1033</td><td>Click Finish to exit the wizard.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsUserExit_6</td><td>1033</td><td>You can either keep any existing installed elements on your system to continue this installation at a later time or you can restore your system to its original state prior to the installation.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsUserExit_7</td><td>1033</td><td>Click Restore or Continue Later to exit the wizard.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsUserExit_8</td><td>1033</td><td>{&amp;TahomaBold10}InstallShield Wizard Completed</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsUserExit_9</td><td>1033</td><td>The wizard was interrupted before [ProductName] could be completely installed.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyReadyDlg_0</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyReadyDlg_1</td><td>1033</td><td>&lt; &amp;Back</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyReadyDlg_10</td><td>1033</td><td>{&amp;MSSansBold8}Ready to Repair the Program</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyReadyDlg_11</td><td>1033</td><td>{&amp;MSSansBold8}Ready to Install the Program</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyReadyDlg_12</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\IsDialogBanner.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyReadyDlg_13</td><td>1033</td><td>Serial: [SERIALNUMBER]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyReadyDlg_13X</td><td>1033</td><td>Serial: [ISX_SERIALNUM]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyReadyDlg_14</td><td>1033</td><td>Company: [COMPANYNAME]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyReadyDlg_15</td><td>1033</td><td>Name: [USERNAME]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyReadyDlg_16</td><td>1033</td><td>User Information:</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyReadyDlg_17</td><td>1033</td><td>[INSTALLDIR]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyReadyDlg_18</td><td>1033</td><td>Destination Folder:</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyReadyDlg_19</td><td>1033</td><td>[SelectedSetupType]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyReadyDlg_2</td><td>1033</td><td>{&amp;MSSWhiteSerif8}InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyReadyDlg_20</td><td>1033</td><td>Setup Type:</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyReadyDlg_21</td><td>1033</td><td>Current Settings:</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyReadyDlg_22</td><td>1033</td><td>[ProductName] will be installed to [INSTALLDIR]</td><td>0</td><td/><td>1553390316</td></row> + <row><td>IDS__IsVerifyReadyDlg_3</td><td>1033</td><td>InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyReadyDlg_4</td><td>1033</td><td>Cancel</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyReadyDlg_5</td><td>1033</td><td>The wizard is ready to begin installation.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyReadyDlg_6</td><td>1033</td><td>Click Install to begin the installation.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyReadyDlg_7</td><td>1033</td><td>If you want to review or change any of your installation settings, click Back. Click Cancel to exit the wizard.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyReadyDlg_8</td><td>1033</td><td>{&amp;MSSansBold8}Ready to Modify the Program</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyReadyDlg_9</td><td>1033</td><td>&amp;Install</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyRemoveAllDlg_0</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyRemoveAllDlg_1</td><td>1033</td><td>&lt; &amp;Back</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyRemoveAllDlg_10</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\IsDialogBanner.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyRemoveAllDlg_2</td><td>1033</td><td>{&amp;MSSWhiteSerif8}InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyRemoveAllDlg_3</td><td>1033</td><td>InstallShield</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyRemoveAllDlg_4</td><td>1033</td><td>Cancel</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyRemoveAllDlg_5</td><td>1033</td><td>You have chosen to remove the program from your system.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyRemoveAllDlg_6</td><td>1033</td><td>Click Remove to remove [ProductName] from your computer. After removal, this program will no longer be available for use.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyRemoveAllDlg_7</td><td>1033</td><td>If you want to review or change any settings, click Back.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyRemoveAllDlg_8</td><td>1033</td><td>{&amp;MSSansBold8}Remove the Program</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsVerifyRemoveAllDlg_9</td><td>1033</td><td>&amp;Remove</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsWelcomeDlg_0</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsWelcomeDlg_1</td><td>1033</td><td>&lt; &amp;Back</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsWelcomeDlg_2</td><td>1033</td><td>Cancel</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsWelcomeDlg_3</td><td>1033</td><td>&amp;Next &gt;</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsWelcomeDlg_4</td><td>1033</td><td>{&amp;TahomaBold10}Welcome to the InstallShield Wizard for [ProductName]</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsWelcomeDlg_5</td><td>1033</td><td>The InstallShield(R) Wizard will install [ProductName] on your computer. To continue, click Next.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsWelcomeDlg_6</td><td>1033</td><td>&lt;ISProductFolder&gt;\Redist\Language Independent\OS Independent\IsDialogBitmap.ibd</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__IsWelcomeDlg_7</td><td>1033</td><td>WARNING: This program is protected by copyright law and international treaties.</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__SetupTips_0</td><td>1033</td><td>[ProductName] - InstallShield Wizard</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__TargetReq_DESC_COLOR</td><td>1033</td><td>The color settings of your system are not adequate for running [ProductName].</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__TargetReq_DESC_OS</td><td>1033</td><td>The operating system is not adequate for running [ProductName].</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__TargetReq_DESC_PROCESSOR</td><td>1033</td><td>The processor is not adequate for running [ProductName].</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__TargetReq_DESC_RAM</td><td>1033</td><td>The amount of RAM is not adequate for running [ProductName].</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>IDS__TargetReq_DESC_RESOLUTION</td><td>1033</td><td>The screen resolution is not adequate for running [ProductName].</td><td>0</td><td/><td>-1021924763</td></row> + <row><td>ID_STRING1</td><td>1033</td><td>No comment</td><td>0</td><td/><td>0</td></row> + <row><td>ID_STRING2</td><td>1033</td><td>The install path must be an installed Apache httpd Web Server path. [1] was not a valid path to Apache.</td><td>0</td><td/><td>1687578668</td></row> + <row><td>NEW_STRING1</td><td>1033</td><td>[ProductName] Installer Information</td><td>0</td><td/><td>1687606380</td></row> + <row><td>NEW_STRING6</td><td>1033</td><td>[INSTALLDIR] is not a valid path to an installed instance of Apache.</td><td>0</td><td/><td>1687569580</td></row> + <row><td>NEW_STRING9</td><td>1033</td><td>&amp;Retry</td><td>0</td><td/><td>1687571628</td></row> + </table> + + <table name="ISTargetImage"> + <col key="yes" def="s13">UpgradedImage_</col> + <col key="yes" def="s13">Name</col> + <col def="s0">MsiPath</col> + <col def="i2">Order</col> + <col def="I4">Flags</col> + <col def="i2">IgnoreMissingFiles</col> + </table> + + <table name="ISUpgradeMsiItem"> + <col key="yes" def="s72">UpgradeItem</col> + <col def="s0">ObjectSetupPath</col> + <col def="S255">ISReleaseFlags</col> + <col def="i2">ISAttributes</col> + </table> + + <table name="ISUpgradedImage"> + <col key="yes" def="s13">Name</col> + <col def="s0">MsiPath</col> + <col def="s8">Family</col> + </table> + + <table name="ISVRoot"> + <col key="yes" def="s50">VRootKey</col> + <col def="l255">VRootName</col> + <col def="s50">VRootDir</col> + <col def="i4">VRootProps</col> + <col def="S255">VRootAppName</col> + <col def="S255">VRootDefDoc</col> + <col def="S255">Condition</col> + <col def="I4">SessionTimeout</col> + <col def="I4">ScriptTimeout</col> + <col def="S255">AnonyUserName</col> + <col def="S255">AnonyPasswrd</col> + <col def="s72">Component_</col> + </table> + + <table name="ISVRootAppMaps"> + <col key="yes" def="s255">VRootKey</col> + <col key="yes" def="s255">VRootAppMapKey</col> + <col def="l50">Extension</col> + <col def="l255">ExecPath</col> + <col def="l255">Verb</col> + <col def="i4">AppMapProps</col> + </table> + + <table name="ISWebSite"> + <col key="yes" def="s72">ISIISCommon_</col> + <col def="s50">Port</col> + <col def="S50">IP</col> + <col def="s50">SiteNumber</col> + <col def="I4">WebSiteProps</col> + </table> + + <table name="Icon"> + <col key="yes" def="s72">Name</col> + <col def="V0">Data</col> + <col def="S255">ISBuildSourcePath</col> + <col def="I2">ISIconIndex</col> + <row><td>ARPPRODUCTICON.exe</td><td/><td>&lt;ISProjectFolder&gt;\resource\apache.ico</td><td>0</td></row> + <row><td>CheckforUpdates.exe</td><td/><td>&lt;ISProductFolder&gt;\redist\Language Independent\OS Independent\UpdateService.ico</td><td>0</td></row> + </table> + + <table name="IniFile"> + <col key="yes" def="s72">IniFile</col> + <col def="l255">FileName</col> + <col def="S72">DirProperty</col> + <col def="l255">Section</col> + <col def="l128">Key</col> + <col def="s255">Value</col> + <col def="i2">Action</col> + <col def="s72">Component_</col> + </table> + + <table name="IniLocator"> + <col key="yes" def="s72">Signature_</col> + <col def="s255">FileName</col> + <col def="s96">Section</col> + <col def="s128">Key</col> + <col def="I2">Field</col> + <col def="I2">Type</col> + </table> + + <table name="InstallExecuteSequence"> + <col key="yes" def="s72">Action</col> + <col def="S255">Condition</col> + <col def="I2">Sequence</col> + <col def="S255">ISComments</col> + <col def="I4">ISAttributes</col> + <row><td>AllocateRegistrySpace</td><td>NOT Installed</td><td>1550</td><td>AllocateRegistrySpace</td><td/></row> + <row><td>AppSearch</td><td/><td>400</td><td>AppSearch</td><td/></row> + <row><td>BindImage</td><td/><td>4300</td><td>BindImage</td><td/></row> + <row><td>CCPSearch</td><td>CCP_TEST</td><td>500</td><td>CCPSearch</td><td/></row> + <row><td>CostFinalize</td><td/><td>1000</td><td>CostFinalize</td><td/></row> + <row><td>CostInitialize</td><td/><td>800</td><td>CostInitialize</td><td/></row> + <row><td>CreateFolders</td><td/><td>3700</td><td>CreateFolders</td><td/></row> + <row><td>CreateShortcuts</td><td/><td>4500</td><td>CreateShortcuts</td><td/></row> + <row><td>DeleteServices</td><td>VersionNT</td><td>2000</td><td>DeleteServices</td><td/></row> + <row><td>DuplicateFiles</td><td/><td>4210</td><td>DuplicateFiles</td><td/></row> + <row><td>FileCost</td><td/><td>900</td><td>FileCost</td><td/></row> + <row><td>FindRelatedProducts</td><td>NOT ISSETUPDRIVEN</td><td>420</td><td>FindRelatedProducts</td><td/></row> + <row><td>ISInitAllUsers</td><td>VersionNT And NOT Installed</td><td>1010</td><td>ISInitAllUsers</td><td/></row> + <row><td>ISSelfRegisterCosting</td><td/><td>1510</td><td/><td/></row> + <row><td>ISSelfRegisterFiles</td><td/><td>6420</td><td/><td/></row> + <row><td>ISSelfRegisterFinalize</td><td/><td>6610</td><td/><td/></row> + <row><td>ISUnSelfRegisterFiles</td><td/><td>1520</td><td/><td/></row> + <row><td>InstallFiles</td><td/><td>4000</td><td>InstallFiles</td><td/></row> + <row><td>InstallFinalize</td><td/><td>6600</td><td>InstallFinalize</td><td/></row> + <row><td>InstallInitialize</td><td/><td>1500</td><td>InstallInitialize</td><td/></row> + <row><td>InstallODBC</td><td/><td>5400</td><td>InstallODBC</td><td/></row> + <row><td>InstallServices</td><td>VersionNT</td><td>5800</td><td>InstallServices</td><td/></row> + <row><td>InstallValidate</td><td/><td>1400</td><td>InstallValidate</td><td/></row> + <row><td>IsolateComponents</td><td/><td>950</td><td>IsolateComponents</td><td/></row> + <row><td>LaunchConditions</td><td/><td>410</td><td>LaunchConditions</td><td/></row> + <row><td>MigrateFeatureStates</td><td/><td>1200</td><td>MigrateFeatureStates</td><td/></row> + <row><td>MoveFiles</td><td/><td>3800</td><td>MoveFiles</td><td/></row> + <row><td>MsiPublishAssemblies</td><td/><td>6250</td><td>MsiPublishAssemblies</td><td/></row> + <row><td>MsiUnpublishAssemblies</td><td/><td>1750</td><td>MsiUnpublishAssemblies</td><td/></row> + <row><td>PatchFiles</td><td/><td>4090</td><td>PatchFiles</td><td/></row> + <row><td>ProcessComponents</td><td/><td>1600</td><td>ProcessComponents</td><td/></row> + <row><td>PublishComponents</td><td/><td>6200</td><td>PublishComponents</td><td/></row> + <row><td>PublishFeatures</td><td/><td>6300</td><td>PublishFeatures</td><td/></row> + <row><td>PublishProduct</td><td/><td>6400</td><td>PublishProduct</td><td/></row> + <row><td>RMCCPSearch</td><td>Not CCP_SUCCESS And CCP_TEST</td><td>600</td><td>RMCCPSearch</td><td/></row> + <row><td>RegisterClassInfo</td><td/><td>4600</td><td>RegisterClassInfo</td><td/></row> + <row><td>RegisterComPlus</td><td/><td>5700</td><td>RegisterComPlus</td><td/></row> + <row><td>RegisterExtensionInfo</td><td/><td>4700</td><td>RegisterExtensionInfo</td><td/></row> + <row><td>RegisterFonts</td><td/><td>5300</td><td>RegisterFonts</td><td/></row> + <row><td>RegisterMIMEInfo</td><td/><td>4900</td><td>RegisterMIMEInfo</td><td/></row> + <row><td>RegisterProduct</td><td/><td>6100</td><td>RegisterProduct</td><td/></row> + <row><td>RegisterProgIdInfo</td><td/><td>4800</td><td>RegisterProgIdInfo</td><td/></row> + <row><td>RegisterTypeLibraries</td><td/><td>5500</td><td>RegisterTypeLibraries</td><td/></row> + <row><td>RegisterUser</td><td/><td>6000</td><td>RegisterUser</td><td/></row> + <row><td>RemoveDuplicateFiles</td><td/><td>3400</td><td>RemoveDuplicateFiles</td><td/></row> + <row><td>RemoveEnvironmentStrings</td><td/><td>3300</td><td>RemoveEnvironmentStrings</td><td/></row> + <row><td>RemoveExistingProducts</td><td/><td>1410</td><td>RemoveExistingProducts</td><td/></row> + <row><td>RemoveFiles</td><td/><td>3500</td><td>RemoveFiles</td><td/></row> + <row><td>RemoveFolders</td><td/><td>3600</td><td>RemoveFolders</td><td/></row> + <row><td>RemoveIniValues</td><td/><td>3100</td><td>RemoveIniValues</td><td/></row> + <row><td>RemoveODBC</td><td/><td>2400</td><td>RemoveODBC</td><td/></row> + <row><td>RemoveRegistryValues</td><td/><td>2600</td><td>RemoveRegistryValues</td><td/></row> + <row><td>RemoveShortcuts</td><td/><td>3200</td><td>RemoveShortcuts</td><td/></row> + <row><td>ScheduleReboot</td><td>ISSCHEDULEREBOOT</td><td>6410</td><td>ScheduleReboot</td><td/></row> + <row><td>SelfRegModules</td><td/><td>5910</td><td>SelfRegModules</td><td/></row> + <row><td>SelfUnregModules</td><td/><td>2200</td><td>SelfUnregModules</td><td/></row> + <row><td>SetAllUsersProfileNT</td><td>VersionNT = 400</td><td>720</td><td/><td/></row> + <row><td>SetODBCFolders</td><td/><td>1100</td><td>SetODBCFolders</td><td/></row> + <row><td>StartServices</td><td>VersionNT</td><td>5900</td><td>StartServices</td><td/></row> + <row><td>StopServices</td><td>VersionNT</td><td>1900</td><td>StopServices</td><td/></row> + <row><td>UnpublishComponents</td><td/><td>1700</td><td>UnpublishComponents</td><td/></row> + <row><td>UnpublishFeatures</td><td/><td>1800</td><td>UnpublishFeatures</td><td/></row> + <row><td>UnregisterClassInfo</td><td/><td>2700</td><td>UnregisterClassInfo</td><td/></row> + <row><td>UnregisterComPlus</td><td/><td>2100</td><td>UnregisterComPlus</td><td/></row> + <row><td>UnregisterExtensionInfo</td><td/><td>2800</td><td>UnregisterExtensionInfo</td><td/></row> + <row><td>UnregisterFonts</td><td/><td>2500</td><td>UnregisterFonts</td><td/></row> + <row><td>UnregisterMIMEInfo</td><td/><td>3000</td><td>UnregisterMIMEInfo</td><td/></row> + <row><td>UnregisterProgIdInfo</td><td/><td>2900</td><td>UnregisterProgIdInfo</td><td/></row> + <row><td>UnregisterTypeLibraries</td><td/><td>2300</td><td>UnregisterTypeLibraries</td><td/></row> + <row><td>ValidateProductID</td><td/><td>700</td><td>ValidateProductID</td><td/></row> + <row><td>WriteEnvironmentStrings</td><td/><td>5200</td><td>WriteEnvironmentStrings</td><td/></row> + <row><td>WriteIniValues</td><td/><td>5100</td><td>WriteIniValues</td><td/></row> + <row><td>WriteRegistryValues</td><td/><td>5000</td><td>WriteRegistryValues</td><td/></row> + <row><td>setAllUsersProfile2K</td><td>VersionNT &gt;= 500</td><td>730</td><td/><td/></row> + <row><td>setUserProfileNT</td><td>VersionNT</td><td>710</td><td/><td/></row> + </table> + + <table name="InstallShield"> + <col key="yes" def="s72">Property</col> + <col def="S0">Value</col> + <row><td>ActiveLanguage</td><td>1033</td></row> + <row><td>Comments</td><td/></row> + <row><td>CurrentMedia</td><td dt:dt="bin.base64" md5="858836bad251c8626bce4989c5d02f22"> +eAA4ADYALQB3AGkAbgBuAHQAAQBtAG8AZABfAGEAcwBwAGQAbwB0AG4AZQB0AA== + </td></row> + <row><td>DefaultProductConfiguration</td><td>mod_aspdotnet</td></row> + <row><td>ISCompilerOption_Debug</td><td>1</td></row> + <row><td>ISCompilerOption_IncludePath</td><td/></row> + <row><td>ISCompilerOption_MaxErrors</td><td>50</td></row> + <row><td>ISCompilerOption_MaxWarnings</td><td>50</td></row> + <row><td>ISCompilerOption_OutputPath</td><td>&lt;ISProjectFolder&gt;</td></row> + <row><td>ISCompilerOption_PreProcessor</td><td/></row> + <row><td>ISCompilerOption_WarningLevel</td><td>3</td></row> + <row><td>ISCompilerOption_WarningsAsErrors</td><td>1</td></row> + <row><td>ISDialogLangID</td><td/></row> + <row><td>ISUSLock</td><td>{54FE92D8-159F-43D3-87FE-3AA29D81794C}</td></row> + <row><td>ISUSSignature</td><td>{9164C022-3666-4E88-8B43-3014A7B2044D}</td></row> + <row><td>IsProjectFileText</td><td>1</td></row> + <row><td>MsiExecCmdLineOptions</td><td/></row> + <row><td>MsiLogFile</td><td/></row> + <row><td>OnUpgrade</td><td>1</td></row> + <row><td>Owner</td><td>The Apache Software Foundation</td></row> + <row><td>PatchFamily</td><td>MyPatchFamily</td></row> + <row><td>PatchSequence</td><td>1.0.0</td></row> + <row><td>PatchVersion</td><td>1.0.0</td></row> + <row><td>SaveAsSchema</td><td/></row> + <row><td>SccEnabled</td><td>0</td></row> + <row><td>SccPath</td><td/></row> + <row><td>SchemaVersion</td><td>757</td></row> + <row><td>Type</td><td>MSI</td></row> + </table> + + <table name="InstallUISequence"> + <col key="yes" def="s72">Action</col> + <col def="S255">Condition</col> + <col def="I2">Sequence</col> + <col def="S255">ISComments</col> + <col def="I4">ISAttributes</col> + <row><td>AppSearch</td><td/><td>400</td><td>AppSearch</td><td/></row> + <row><td>CCPSearch</td><td>CCP_TEST</td><td>500</td><td>CCPSearch</td><td/></row> + <row><td>CostFinalize</td><td/><td>1000</td><td>CostFinalize</td><td/></row> + <row><td>CostInitialize</td><td/><td>800</td><td>CostInitialize</td><td/></row> + <row><td>ExecuteAction</td><td/><td>1300</td><td>ExecuteAction</td><td/></row> + <row><td>FileCost</td><td/><td>900</td><td>FileCost</td><td/></row> + <row><td>FindRelatedProducts</td><td/><td>440</td><td>FindRelatedProducts</td><td/></row> + <row><td>ISInitAllUsers</td><td>VersionNT And NOT Installed</td><td>1010</td><td>ISInitAllUsers</td><td/></row> + <row><td>InstallWelcome</td><td>Not Installed And (Not PATCH Or IS_MAJOR_UPGRADE)</td><td>1220</td><td/><td/></row> + <row><td>IsolateComponents</td><td/><td>950</td><td>IsolateComponents</td><td/></row> + <row><td>LaunchConditions</td><td/><td>410</td><td>LaunchConditions</td><td/></row> + <row><td>MaintenanceWelcome</td><td>Installed And Not RESUME And Not Preselected And Not PATCH</td><td>1240</td><td>MaintenanceWelcome</td><td/></row> + <row><td>MigrateFeatureStates</td><td/><td>1200</td><td>MigrateFeatureStates</td><td/></row> + <row><td>PatchWelcome</td><td>PATCH And Not IS_MAJOR_UPGRADE</td><td>1210</td><td>Patch Panel</td><td/></row> + <row><td>RMCCPSearch</td><td>Not CCP_SUCCESS And CCP_TEST</td><td>600</td><td>RMCCPSearch</td><td/></row> + <row><td>ResolveApacheInstances</td><td/><td>430</td><td>ResolveApacheInstances</td><td/></row> + <row><td>ResolveSource</td><td>Not Installed And Not PATCH</td><td>960</td><td>ResolveSource</td><td/></row> + <row><td>SetupCompleteError</td><td/><td>-3</td><td>SetupCompleteError</td><td/></row> + <row><td>SetupCompleteSuccess</td><td/><td>-1</td><td>SetupCompleteSuccess</td><td/></row> + <row><td>SetupInitialization</td><td/><td>420</td><td>SetupInitialization</td><td/></row> + <row><td>SetupInterrupted</td><td/><td>-2</td><td>SetupInterrupted</td><td/></row> + <row><td>SetupProgress</td><td/><td>1250</td><td>SetupProgress</td><td/></row> + <row><td>SetupResume</td><td>Installed And (RESUME Or Preselected) And Not PATCH</td><td>1230</td><td>SetupResume</td><td/></row> + <row><td>ValidateProductID</td><td/><td>700</td><td>ValidateProductID</td><td/></row> + </table> + + <table name="IsolatedComponent"> + <col key="yes" def="s72">Component_Shared</col> + <col key="yes" def="s72">Component_Application</col> + </table> + + <table name="LaunchCondition"> + <col key="yes" def="s255">Condition</col> + <col def="l255">Description</col> + </table> + + <table name="ListBox"> + <col key="yes" def="s72">Property</col> + <col key="yes" def="i2">Order</col> + <col def="s64">Value</col> + <col def="L64">Text</col> + </table> + + <table name="ListView"> + <col key="yes" def="s72">Property</col> + <col key="yes" def="i2">Order</col> + <col def="s64">Value</col> + <col def="L64">Text</col> + <col def="S72">Binary_</col> + </table> + + <table name="LockPermissions"> + <col key="yes" def="s72">LockObject</col> + <col key="yes" def="s32">Table</col> + <col key="yes" def="S255">Domain</col> + <col key="yes" def="s255">User</col> + <col def="I4">Permission</col> + </table> + + <table name="MIME"> + <col key="yes" def="s64">ContentType</col> + <col def="s255">Extension_</col> + <col def="S38">CLSID</col> + </table> + + <table name="Media"> + <col key="yes" def="i2">DiskId</col> + <col def="i2">LastSequence</col> + <col def="L64">DiskPrompt</col> + <col def="S255">Cabinet</col> + <col def="S32">VolumeLabel</col> + <col def="S32">Source</col> + </table> + + <table name="MoveFile"> + <col key="yes" def="s72">FileKey</col> + <col def="s72">Component_</col> + <col def="L255">SourceName</col> + <col def="L255">DestName</col> + <col def="S72">SourceFolder</col> + <col def="s72">DestFolder</col> + <col def="i2">Options</col> + </table> + + <table name="MsiAssembly"> + <col key="yes" def="s72">Component_</col> + <col def="s38">Feature_</col> + <col def="S72">File_Manifest</col> + <col def="S72">File_Application</col> + <col def="I2">Attributes</col> + <row><td>Apache.Web</td><td>mod_aspdotnet</td><td/><td/><td>0</td></row> + </table> + + <table name="MsiAssemblyName"> + <col key="yes" def="s72">Component_</col> + <col key="yes" def="s255">Name</col> + <col def="s255">Value</col> + </table> + + <table name="MsiDigitalCertificate"> + <col key="yes" def="s72">DigitalCertificate</col> + <col def="v0">CertData</col> + </table> + + <table name="MsiDigitalSignature"> + <col key="yes" def="s32">Table</col> + <col key="yes" def="s72">SignObject</col> + <col def="s72">DigitalCertificate_</col> + <col def="V0">Hash</col> + </table> + + <table name="MsiDriverPackages"> + <col key="yes" def="s72">Component</col> + <col def="i4">Flags</col> + <col def="I4">Sequence</col> + <col def="S0">ReferenceComponents</col> + </table> + + <table name="MsiFileHash"> + <col key="yes" def="s72">File_</col> + <col def="i2">Options</col> + <col def="i4">HashPart1</col> + <col def="i4">HashPart2</col> + <col def="i4">HashPart3</col> + <col def="i4">HashPart4</col> + </table> + + <table name="MsiPatchOldAssemblyFile"> + <col key="yes" def="s72">File_</col> + <col key="yes" def="S72">Assembly_</col> + </table> + + <table name="MsiPatchOldAssemblyName"> + <col key="yes" def="s72">Assembly_</col> + <col key="yes" def="s255">Name</col> + <col def="S255">Value</col> + </table> + + <table name="ODBCAttribute"> + <col key="yes" def="s72">Driver_</col> + <col key="yes" def="s40">Attribute</col> + <col def="S255">Value</col> + </table> + + <table name="ODBCDataSource"> + <col key="yes" def="s72">DataSource</col> + <col def="s72">Component_</col> + <col def="s255">Description</col> + <col def="s255">DriverDescription</col> + <col def="i2">Registration</col> + </table> + + <table name="ODBCDriver"> + <col key="yes" def="s72">Driver</col> + <col def="s72">Component_</col> + <col def="s255">Description</col> + <col def="s72">File_</col> + <col def="S72">File_Setup</col> + </table> + + <table name="ODBCSourceAttribute"> + <col key="yes" def="s72">DataSource_</col> + <col key="yes" def="s32">Attribute</col> + <col def="S255">Value</col> + </table> + + <table name="ODBCTranslator"> + <col key="yes" def="s72">Translator</col> + <col def="s72">Component_</col> + <col def="s255">Description</col> + <col def="s72">File_</col> + <col def="S72">File_Setup</col> + </table> + + <table name="Patch"> + <col key="yes" def="s72">File_</col> + <col key="yes" def="i2">Sequence</col> + <col def="i4">PatchSize</col> + <col def="i2">Attributes</col> + <col def="V0">Header</col> + <col def="S255">ISBuildSourcePath</col> + </table> + + <table name="PatchPackage"> + <col key="yes" def="s38">PatchId</col> + <col def="i2">Media_</col> + </table> + + <table name="ProgId"> + <col key="yes" def="s255">ProgId</col> + <col def="S255">ProgId_Parent</col> + <col def="S38">Class_</col> + <col def="L255">Description</col> + <col def="S72">Icon_</col> + <col def="I2">IconIndex</col> + <col def="I4">ISAttributes</col> + </table> + + <table name="Property"> + <col key="yes" def="s72">Property</col> + <col def="L0">Value</col> + <col def="S255">ISComments</col> + <row><td>ARPCOMMENTS</td><td>##IDPROP_ARPCOMMENTS##</td><td/></row> + <row><td>ARPCONTACT</td><td>##IDPROP_ARPCONTACT##</td><td/></row> + <row><td>ARPHELPLINK</td><td>##IDPROP_ARPHELPLINK##</td><td/></row> + <row><td>ARPHELPTELEPHONE</td><td>##IDPROP_ARPHELPTELEPHONE##</td><td/></row> + <row><td>ARPPRODUCTICON</td><td>ARPPRODUCTICON.exe</td><td/></row> + <row><td>ARPREADME</td><td/><td/></row> + <row><td>ARPURLINFOABOUT</td><td>##IDPROP_ARPURLINFOABOUT##</td><td/></row> + <row><td>ARPURLUPDATEINFO</td><td>##IDPROP_ARPURLUPDATEINFO##</td><td/></row> + <row><td>AgreeToLicense</td><td>No</td><td/></row> + <row><td>ApplicationUsers</td><td>AllUsers</td><td/></row> + <row><td>DWUSINTERVAL</td><td>30</td><td/></row> + <row><td>DWUSLINK</td><td>CE6CC788D90BB7E86EACB7BF3EAB978FA96B278FCEFBB0E8CEAC8088AE2BA028FEDC478FBEAC</td><td/></row> + <row><td>DefaultUIFont</td><td>Tahoma8</td><td/></row> + <row><td>DialogCaption</td><td>InstallShield for Windows Installer</td><td/></row> + <row><td>DiskPrompt</td><td>[1]</td><td/></row> + <row><td>DisplayNameCustom</td><td>##IDS__DisplayName_Custom##</td><td/></row> + <row><td>DisplayNameMinimal</td><td>##IDS__DisplayName_Minimal##</td><td/></row> + <row><td>DisplayNameTypical</td><td>##IDS__DisplayName_Typical##</td><td/></row> + <row><td>Display_IsBitmapDlg</td><td>1</td><td/></row> + <row><td>ErrorDialog</td><td>SetupError</td><td/></row> + <row><td>INSTALLLEVEL</td><td>100</td><td/></row> + <row><td>ISCHECKFORPRODUCTUPDATES</td><td>0</td><td/></row> + <row><td>ISENABLEDWUSFINISHDIALOG</td><td>0</td><td/></row> + <row><td>ISSCRIPT_VERSION_MISSING</td><td>##IDS_ISSCRIPT_VERSION_MISSING##</td><td/></row> + <row><td>ISSCRIPT_VERSION_OLD</td><td>##IDS_ISSCRIPT_VERSION_OLD##</td><td/></row> + <row><td>IS_COMPLUS_PROGRESSTEXT_COST</td><td>##IDS_COMPLUS_PROGRESSTEXT_COST##</td><td/></row> + <row><td>IS_COMPLUS_PROGRESSTEXT_INSTALL</td><td>##IDS_COMPLUS_PROGRESSTEXT_INSTALL##</td><td/></row> + <row><td>IS_COMPLUS_PROGRESSTEXT_UNINSTALL</td><td>##IDS_COMPLUS_PROGRESSTEXT_UNINSTALL##</td><td/></row> + <row><td>IS_SQLSERVER_AUTHENTICATION</td><td>0</td><td/></row> + <row><td>IS_SQLSERVER_DATABASE</td><td/><td/></row> + <row><td>IS_SQLSERVER_PASSWORD</td><td/><td/></row> + <row><td>IS_SQLSERVER_SERVER</td><td/><td/></row> + <row><td>IS_SQLSERVER_USERNAME</td><td>sa</td><td/></row> + <row><td>InstallChoice</td><td>AR</td><td/></row> + <row><td>Manufacturer</td><td>##COMPANY_NAME##</td><td/></row> + <row><td>NewProperty1</td><td>0</td><td/></row> + <row><td>PIDTemplate</td><td>12345&lt;###-%%%%%%%&gt;@@@@@</td><td/></row> + <row><td>PROGMSG_IIS_CREATEVROOT</td><td>##IDS_PROGMSG_IIS_CREATEVROOT##</td><td/></row> + <row><td>PROGMSG_IIS_CREATEVROOTS</td><td>##IDS_PROGMSG_IIS_CREATEVROOTS##</td><td/></row> + <row><td>PROGMSG_IIS_EXTRACT</td><td>##IDS_PROGMSG_IIS_EXTRACT##</td><td/></row> + <row><td>PROGMSG_IIS_EXTRACTDONE</td><td>##IDS_PROGMSG_IIS_EXTRACTDONE##</td><td/></row> + <row><td>PROGMSG_IIS_REMOVESITE</td><td>##IDS_PROGMSG_IIS_REMOVESITE##</td><td/></row> + <row><td>PROGMSG_IIS_REMOVEVROOT</td><td>##IDS_PROGMSG_IIS_REMOVEVROOT##</td><td/></row> + <row><td>PROGMSG_IIS_REMOVEVROOTS</td><td>##IDS_PROGMSG_IIS_REMOVEVROOTS##</td><td/></row> + <row><td>PROGMSG_IIS_ROLLBACKVROOTS</td><td>##IDS_PROGMSG_IIS_ROLLBACKVROOTS##</td><td/></row> + <row><td>ProductCode</td><td>{18C26F50-5E08-4274-BC7B-430AF1FDD147}</td><td/></row> + <row><td>ProductID</td><td>none</td><td/></row> + <row><td>ProductLanguage</td><td>1033</td><td/></row> + <row><td>ProductName</td><td>Apache mod_aspdotnet for Apache httpd Web Server</td><td/></row> + <row><td>ProductVersion</td><td>161.129.204.1040</td><td/></row> + <row><td>ProgressType0</td><td>install</td><td/></row> + <row><td>ProgressType1</td><td>Installing</td><td/></row> + <row><td>ProgressType2</td><td>installed</td><td/></row> + <row><td>ProgressType3</td><td>installs</td><td/></row> + <row><td>RebootYesNo</td><td>Yes</td><td/></row> + <row><td>Registration</td><td>No</td><td/></row> + <row><td>ReinstallModeText</td><td>omus</td><td/></row> + <row><td>SetupType</td><td>Typical</td><td/></row> + <row><td>UpgradeCode</td><td>{D7DEB71F-1CF3-4956-9AC9-2187FEE06F02}</td><td/></row> + <row><td>_BrowseProperty</td><td>0</td><td/></row> + <row><td>_IsMaintenance</td><td>Reinstall</td><td/></row> + <row><td>_IsSetupTypeMin</td><td>Typical</td><td/></row> + </table> + + <table name="PublishComponent"> + <col key="yes" def="s38">ComponentId</col> + <col key="yes" def="s255">Qualifier</col> + <col key="yes" def="s72">Component_</col> + <col def="L255">AppData</col> + <col def="s38">Feature_</col> + </table> + + <table name="RadioButton"> + <col key="yes" def="s72">Property</col> + <col key="yes" def="i2">Order</col> + <col def="s64">Value</col> + <col def="i2">X</col> + <col def="i2">Y</col> + <col def="i2">Width</col> + <col def="i2">Height</col> + <col def="L64">Text</col> + <col def="L50">Help</col> + <col def="I4">ISControlId</col> + <row><td>AgreeToLicense</td><td>1</td><td>No</td><td>0</td><td>15</td><td>295</td><td>15</td><td>##IDS__AgreeToLicense_0##</td><td/><td/></row> + <row><td>AgreeToLicense</td><td>2</td><td>Yes</td><td>0</td><td>0</td><td>295</td><td>15</td><td>##IDS__AgreeToLicense_1##</td><td/><td/></row> + <row><td>ApplicationUsers</td><td>1</td><td>AllUsers</td><td>1</td><td>6</td><td>290</td><td>14</td><td>##IDS__IsRegisterUserDlg_14##</td><td/><td/></row> + <row><td>ApplicationUsers</td><td>2</td><td>OnlyCurrentUser</td><td>1</td><td>21</td><td>290</td><td>14</td><td>##IDS__IsRegisterUserDlg_15##</td><td/><td/></row> + <row><td>IS_SQLSERVER_AUTHENTICATION</td><td>1</td><td>0</td><td>0</td><td>0</td><td>327</td><td>14</td><td>##IDS_SQLLOGIN_WIN##</td><td/><td>0</td></row> + <row><td>IS_SQLSERVER_AUTHENTICATION</td><td>2</td><td>1</td><td>0</td><td>14</td><td>327</td><td>19</td><td>##IDS_SQLLOGIN_SQL##</td><td/><td>0</td></row> + <row><td>_IsMaintenance</td><td>2</td><td>Reinstall</td><td>0</td><td>0</td><td>290</td><td>14</td><td>##IDS__IsMaintenanceDlg_9##</td><td/><td/></row> + <row><td>_IsMaintenance</td><td>3</td><td>Remove</td><td>0</td><td>60</td><td>290</td><td>14</td><td>##IDS__IsMaintenanceDlg_10##</td><td/><td/></row> + <row><td>_IsSetupTypeMin</td><td>1</td><td>Typical</td><td>0</td><td>0</td><td>264</td><td>14</td><td>##IDS__IsSetupTypeMinDlg_11##</td><td/><td/></row> + <row><td>_IsSetupTypeMin</td><td>2</td><td>Custom</td><td>0</td><td>60</td><td>264</td><td>14</td><td>##IDS__IsSetupTypeMinDlg_12##</td><td/><td/></row> + </table> + + <table name="RegLocator"> + <col key="yes" def="s72">Signature_</col> + <col def="i2">Root</col> + <col def="s255">Key</col> + <col def="S255">Name</col> + <col def="I2">Type</col> + </table> + + <table name="Registry"> + <col key="yes" def="s72">Registry</col> + <col def="i2">Root</col> + <col def="s255">Key</col> + <col def="S255">Name</col> + <col def="S0">Value</col> + <col def="s72">Component_</col> + <col def="I4">ISAttributes</col> + <row><td>Registry1</td><td>2</td><td>SOFTWARE\Microsoft\ASP.NET\1.0.3705.288</td><td/><td/><td>Apache.Web</td><td>0</td></row> + <row><td>Registry2</td><td>2</td><td>SOFTWARE\Microsoft\ASP.NET\1.0.3705.288</td><td>Path</td><td>[WindowsFolder]Microsoft.NET\Framework\v1.0.3705</td><td>Apache.Web</td><td>0</td></row> + <row><td>Registry3</td><td>2</td><td>SOFTWARE\Microsoft\ASP.NET\1.0.3705.288</td><td>DllFullPath</td><td>[WindowsFolder]Microsoft.NET\Framework\v1.0.3705\aspnet_isapi.dll</td><td>Apache.Web</td><td>0</td></row> + <row><td>Registry4</td><td>2</td><td>SOFTWARE\Microsoft\ASP.NET\1.0.3705.288</td><td>DefaultDoc</td><td>Default.aspx</td><td>Apache.Web</td><td>0</td></row> + <row><td>Registry5</td><td>2</td><td>SOFTWARE\Microsoft\ASP.NET\1.0.3705.288</td><td>Mimemap</td><td>.wsdl,text/xml,.disco,text/xml,.xsd,text/xml</td><td>Apache.Web</td><td>0</td></row> + <row><td>Registry6</td><td>2</td><td>SOFTWARE\Microsoft\ASP.NET</td><td>RootVer</td><td>1.0.3705.0</td><td>Apache.Web</td><td>0</td></row> + </table> + + <table name="RemoveFile"> + <col key="yes" def="s72">FileKey</col> + <col def="s72">Component_</col> + <col def="L255">FileName</col> + <col def="s72">DirProperty</col> + <col def="i2">InstallMode</col> + </table> + + <table name="RemoveIniFile"> + <col key="yes" def="s72">RemoveIniFile</col> + <col def="l255">FileName</col> + <col def="S72">DirProperty</col> + <col def="l96">Section</col> + <col def="l128">Key</col> + <col def="L255">Value</col> + <col def="i2">Action</col> + <col def="s72">Component_</col> + </table> + + <table name="RemoveRegistry"> + <col key="yes" def="s72">RemoveRegistry</col> + <col def="i2">Root</col> + <col def="l255">Key</col> + <col def="L255">Name</col> + <col def="s72">Component_</col> + </table> + + <table name="ReserveCost"> + <col key="yes" def="s72">ReserveKey</col> + <col def="s72">Component_</col> + <col def="S72">ReserveFolder</col> + <col def="i4">ReserveLocal</col> + <col def="i4">ReserveSource</col> + </table> + + <table name="SFPCatalog"> + <col key="yes" def="s255">SFPCatalog</col> + <col def="V0">Catalog</col> + <col def="S0">Dependency</col> + </table> + + <table name="SelfReg"> + <col key="yes" def="s72">File_</col> + <col def="I2">Cost</col> + </table> + + <table name="ServiceControl"> + <col key="yes" def="s72">ServiceControl</col> + <col def="s255">Name</col> + <col def="i2">Event</col> + <col def="S255">Arguments</col> + <col def="I2">Wait</col> + <col def="s72">Component_</col> + </table> + + <table name="ServiceInstall"> + <col key="yes" def="s72">ServiceInstall</col> + <col def="s255">Name</col> + <col def="L255">DisplayName</col> + <col def="i4">ServiceType</col> + <col def="i4">StartType</col> + <col def="i4">ErrorControl</col> + <col def="S255">LoadOrderGroup</col> + <col def="S255">Dependencies</col> + <col def="S255">StartName</col> + <col def="S255">Password</col> + <col def="S255">Arguments</col> + <col def="s72">Component_</col> + <col def="L255">Description</col> + </table> + + <table name="Shortcut"> + <col key="yes" def="s72">Shortcut</col> + <col def="s72">Directory_</col> + <col def="l128">Name</col> + <col def="s72">Component_</col> + <col def="s255">Target</col> + <col def="S255">Arguments</col> + <col def="L255">Description</col> + <col def="I2">Hotkey</col> + <col def="S72">Icon_</col> + <col def="I2">IconIndex</col> + <col def="I2">ShowCmd</col> + <col def="S72">WkDir</col> + <col def="S255">ISComments</col> + <col def="S255">ISShortcutName</col> + <col def="I4">ISAttributes</col> + </table> + + <table name="Signature"> + <col key="yes" def="s72">Signature</col> + <col def="s255">FileName</col> + <col def="S20">MinVersion</col> + <col def="S20">MaxVersion</col> + <col def="I4">MinSize</col> + <col def="I4">MaxSize</col> + <col def="I4">MinDate</col> + <col def="I4">MaxDate</col> + <col def="S255">Languages</col> + </table> + + <table name="TextStyle"> + <col key="yes" def="s72">TextStyle</col> + <col def="s32">FaceName</col> + <col def="i2">Size</col> + <col def="I4">Color</col> + <col def="I2">StyleBits</col> + <row><td>Arial8</td><td>Arial</td><td>8</td><td/><td/></row> + <row><td>Arial9</td><td>Arial</td><td>9</td><td/><td/></row> + <row><td>ArialBlue10</td><td>Arial</td><td>10</td><td>16711680</td><td/></row> + <row><td>ArialBlueStrike10</td><td>Arial</td><td>10</td><td>16711680</td><td>8</td></row> + <row><td>CourierNew8</td><td>Courier New</td><td>8</td><td/><td/></row> + <row><td>CourierNew9</td><td>Courier New</td><td>9</td><td/><td/></row> + <row><td>MSGothic9</td><td>MS Gothic</td><td>9</td><td/><td/></row> + <row><td>MSSGreySerif8</td><td>MS Sans Serif</td><td>8</td><td>8421504</td><td/></row> + <row><td>MSSWhiteSerif8</td><td>Tahoma</td><td>8</td><td>16777215</td><td/></row> + <row><td>MSSansBold8</td><td>Tahoma</td><td>8</td><td/><td>1</td></row> + <row><td>MSSansSerif8</td><td>MS Sans Serif</td><td>8</td><td/><td/></row> + <row><td>MSSansSerif9</td><td>MS Sans Serif</td><td>9</td><td/><td/></row> + <row><td>Tahoma10</td><td>Tahoma</td><td>10</td><td/><td/></row> + <row><td>Tahoma8</td><td>Tahoma</td><td>8</td><td/><td/></row> + <row><td>Tahoma9</td><td>Tahoma</td><td>9</td><td/><td/></row> + <row><td>TahomaBold10</td><td>Tahoma</td><td>10</td><td/><td>1</td></row> + <row><td>TahomaBold8</td><td>Tahoma</td><td>8</td><td/><td>1</td></row> + <row><td>Times8</td><td>Times New Roman</td><td>8</td><td/><td/></row> + <row><td>Times9</td><td>Times New Roman</td><td>9</td><td/><td/></row> + <row><td>TimesItalic12</td><td>Times New Roman</td><td>12</td><td/><td>2</td></row> + <row><td>TimesItalicBlue10</td><td>Times New Roman</td><td>10</td><td>16711680</td><td>2</td></row> + <row><td>TimesRed16</td><td>Times New Roman</td><td>16</td><td>255</td><td/></row> + </table> + + <table name="TypeLib"> + <col key="yes" def="s38">LibID</col> + <col key="yes" def="i2">Language</col> + <col key="yes" def="s72">Component_</col> + <col def="I4">Version</col> + <col def="L128">Description</col> + <col def="S72">Directory_</col> + <col def="s38">Feature_</col> + <col def="I4">Cost</col> + </table> + + <table name="UIText"> + <col key="yes" def="s72">Key</col> + <col def="L255">Text</col> + <row><td>AbsentPath</td><td/></row> + <row><td>GB</td><td>##IDS_UITEXT_1##</td></row> + <row><td>KB</td><td>##IDS_UITEXT_2##</td></row> + <row><td>MB</td><td>##IDS_UITEXT_3##</td></row> + <row><td>MenuAbsent</td><td>##IDS_UITEXT_4##</td></row> + <row><td>MenuAdvertise</td><td>##IDS_UITEXT_5##</td></row> + <row><td>MenuAllCD</td><td>##IDS_UITEXT_47##</td></row> + <row><td>MenuAllLocal</td><td>##IDS_UITEXT_48##</td></row> + <row><td>MenuAllNetwork</td><td>##IDS_UITEXT_46##</td></row> + <row><td>MenuCD</td><td>##IDS_UITEXT_6##</td></row> + <row><td>MenuLocal</td><td>##IDS_UITEXT_7##</td></row> + <row><td>MenuNetwork</td><td>##IDS_UITEXT_8##</td></row> + <row><td>NewFolder</td><td>##IDS_UITEXT_9##</td></row> + <row><td>SelAbsentAbsent</td><td>##IDS_UITEXT_10##</td></row> + <row><td>SelAbsentAdvertise</td><td>##IDS_UITEXT_11##</td></row> + <row><td>SelAbsentCD</td><td>##IDS_UITEXT_12##</td></row> + <row><td>SelAbsentLocal</td><td>##IDS_UITEXT_13##</td></row> + <row><td>SelAbsentNetwork</td><td>##IDS_UITEXT_14##</td></row> + <row><td>SelAdvertiseAbsent</td><td>##IDS_UITEXT_15##</td></row> + <row><td>SelAdvertiseAdvertise</td><td>##IDS_UITEXT_16##</td></row> + <row><td>SelAdvertiseCD</td><td>##IDS_UITEXT_17##</td></row> + <row><td>SelAdvertiseLocal</td><td>##IDS_UITEXT_18##</td></row> + <row><td>SelAdvertiseNetwork</td><td>##IDS_UITEXT_19##</td></row> + <row><td>SelCDAbsent</td><td>##IDS_UITEXT_20##</td></row> + <row><td>SelCDAdvertise</td><td>##IDS_UITEXT_21##</td></row> + <row><td>SelCDCD</td><td>##IDS_UITEXT_22##</td></row> + <row><td>SelCDLocal</td><td>##IDS_UITEXT_23##</td></row> + <row><td>SelChildCostNeg</td><td>##IDS_UITEXT_24##</td></row> + <row><td>SelChildCostPos</td><td>##IDS_UITEXT_25##</td></row> + <row><td>SelCostPending</td><td>##IDS_UITEXT_26##</td></row> + <row><td>SelLocalAbsent</td><td>##IDS_UITEXT_27##</td></row> + <row><td>SelLocalAdvertise</td><td>##IDS_UITEXT_28##</td></row> + <row><td>SelLocalCD</td><td>##IDS_UITEXT_29##</td></row> + <row><td>SelLocalLocal</td><td>##IDS_UITEXT_30##</td></row> + <row><td>SelLocalNetwork</td><td>##IDS_UITEXT_31##</td></row> + <row><td>SelNetworkAbsent</td><td>##IDS_UITEXT_32##</td></row> + <row><td>SelNetworkAdvertise</td><td>##IDS_UITEXT_33##</td></row> + <row><td>SelNetworkLocal</td><td>##IDS_UITEXT_34##</td></row> + <row><td>SelNetworkNetwork</td><td>##IDS_UITEXT_35##</td></row> + <row><td>SelParentCostNegNeg</td><td>##IDS_UITEXT_36##</td></row> + <row><td>SelParentCostNegPos</td><td>##IDS_UITEXT_37##</td></row> + <row><td>SelParentCostPosNeg</td><td>##IDS_UITEXT_38##</td></row> + <row><td>SelParentCostPosPos</td><td>##IDS_UITEXT_39##</td></row> + <row><td>TimeRemaining</td><td>##IDS_UITEXT_40##</td></row> + <row><td>VolumeCostAvailable</td><td>##IDS_UITEXT_41##</td></row> + <row><td>VolumeCostDifference</td><td>##IDS_UITEXT_42##</td></row> + <row><td>VolumeCostRequired</td><td>##IDS_UITEXT_43##</td></row> + <row><td>VolumeCostSize</td><td>##IDS_UITEXT_44##</td></row> + <row><td>VolumeCostVolume</td><td>##IDS_UITEXT_45##</td></row> + <row><td>bytes</td><td>##IDS_UITEXT_0##</td></row> + </table> + + <table name="Upgrade"> + <col key="yes" def="s38">UpgradeCode</col> + <col key="yes" def="S20">VersionMin</col> + <col key="yes" def="S20">VersionMax</col> + <col key="yes" def="S255">Language</col> + <col key="yes" def="i4">Attributes</col> + <col def="S255">Remove</col> + <col def="s72">ActionProperty</col> + <col def="S72">ISDisplayName</col> + </table> + + <table name="Verb"> + <col key="yes" def="s255">Extension_</col> + <col key="yes" def="s32">Verb</col> + <col def="I2">Sequence</col> + <col def="L255">Command</col> + <col def="L255">Argument</col> + </table> + + <table name="_Validation"> + <col key="yes" def="s32">Table</col> + <col key="yes" def="s32">Column</col> + <col def="s4">Nullable</col> + <col def="I4">MinValue</col> + <col def="I4">MaxValue</col> + <col def="S255">KeyTable</col> + <col def="I2">KeyColumn</col> + <col def="S32">Category</col> + <col def="S255">Set</col> + <col def="S255">Description</col> + <row><td>ActionText</td><td>Action</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Name of action to be described.</td></row> + <row><td>ActionText</td><td>Description</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Localized description displayed in progress dialog and log when action is executing.</td></row> + <row><td>ActionText</td><td>Template</td><td>Y</td><td/><td/><td/><td/><td>Template</td><td/><td>Optional localized format template used to format action data records for display during action execution.</td></row> + <row><td>AdminExecuteSequence</td><td>Action</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Name of action to invoke, either in the engine or the handler DLL.</td></row> + <row><td>AdminExecuteSequence</td><td>Condition</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Optional expression which skips the action if evaluates to expFalse.If the expression syntax is invalid, the engine will terminate, returning iesBadActionData.</td></row> + <row><td>AdminExecuteSequence</td><td>ISAttributes</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>This is used to store MM Custom Action Types</td></row> + <row><td>AdminExecuteSequence</td><td>ISComments</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td dt:dt="bin.base64" md5="ee654261ffce9c7f08d4789d0f5b202c"> +QQB1AHQAaABvAHIAGSBzACAAYwBvAG0AbQBlAG4AdABzACAAbwBuACAAdABoAGkAcwAgAFMAZQBxAHUAZQBuAGMAZQAuAA== + </td></row> + <row><td>AdminExecuteSequence</td><td>Sequence</td><td>Y</td><td>-4</td><td>32767</td><td/><td/><td/><td/><td>Number that determines the sort order in which the actions are to be executed. Leave blank to suppress action.</td></row> + <row><td>AdminUISequence</td><td>Action</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Name of action to invoke, either in the engine or the handler DLL.</td></row> + <row><td>AdminUISequence</td><td>Condition</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Optional expression which skips the action if evaluates to expFalse.If the expression syntax is invalid, the engine will terminate, returning iesBadActionData.</td></row> + <row><td>AdminUISequence</td><td>ISAttributes</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>This is used to store MM Custom Action Types</td></row> + <row><td>AdminUISequence</td><td>ISComments</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td dt:dt="bin.base64" md5="ee654261ffce9c7f08d4789d0f5b202c"> +QQB1AHQAaABvAHIAGSBzACAAYwBvAG0AbQBlAG4AdABzACAAbwBuACAAdABoAGkAcwAgAFMAZQBxAHUAZQBuAGMAZQAuAA== + </td></row> + <row><td>AdminUISequence</td><td>Sequence</td><td>Y</td><td>-4</td><td>32767</td><td/><td/><td/><td/><td>Number that determines the sort order in which the actions are to be executed. Leave blank to suppress action.</td></row> + <row><td>AdvtExecuteSequence</td><td>Action</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Name of action to invoke, either in the engine or the handler DLL.</td></row> + <row><td>AdvtExecuteSequence</td><td>Condition</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Optional expression which skips the action if evaluates to expFalse.If the expression syntax is invalid, the engine will terminate, returning iesBadActionData.</td></row> + <row><td>AdvtExecuteSequence</td><td>ISAttributes</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>This is used to store MM Custom Action Types</td></row> + <row><td>AdvtExecuteSequence</td><td>ISComments</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td dt:dt="bin.base64" md5="ee654261ffce9c7f08d4789d0f5b202c"> +QQB1AHQAaABvAHIAGSBzACAAYwBvAG0AbQBlAG4AdABzACAAbwBuACAAdABoAGkAcwAgAFMAZQBxAHUAZQBuAGMAZQAuAA== + </td></row> + <row><td>AdvtExecuteSequence</td><td>Sequence</td><td>Y</td><td>-4</td><td>32767</td><td/><td/><td/><td/><td>Number that determines the sort order in which the actions are to be executed. Leave blank to suppress action.</td></row> + <row><td>AdvtUISequence</td><td>Action</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Name of action to invoke, either in the engine or the handler DLL.</td></row> + <row><td>AdvtUISequence</td><td>Condition</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Optional expression which skips the action if evaluates to expFalse.If the expression syntax is invalid, the engine will terminate, returning iesBadActionData.</td></row> + <row><td>AdvtUISequence</td><td>ISAttributes</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>This is used to store MM Custom Action Types</td></row> + <row><td>AdvtUISequence</td><td>ISComments</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td dt:dt="bin.base64" md5="ee654261ffce9c7f08d4789d0f5b202c"> +QQB1AHQAaABvAHIAGSBzACAAYwBvAG0AbQBlAG4AdABzACAAbwBuACAAdABoAGkAcwAgAFMAZQBxAHUAZQBuAGMAZQAuAA== + </td></row> + <row><td>AdvtUISequence</td><td>Sequence</td><td>Y</td><td>-4</td><td>32767</td><td/><td/><td/><td/><td>Number that determines the sort order in which the actions are to be executed. Leave blank to suppress action.</td></row> + <row><td>AppId</td><td>ActivateAtStorage</td><td>Y</td><td>0</td><td>1</td><td/><td/><td/><td/><td/></row> + <row><td>AppId</td><td>AppId</td><td>N</td><td/><td/><td/><td/><td>Guid</td><td/><td/></row> + <row><td>AppId</td><td>DllSurrogate</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td/></row> + <row><td>AppId</td><td>LocalService</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td/></row> + <row><td>AppId</td><td>RemoteServerName</td><td>Y</td><td/><td/><td/><td/><td>Formatted</td><td/><td/></row> + <row><td>AppId</td><td>RunAsInteractiveUser</td><td>Y</td><td>0</td><td>1</td><td/><td/><td/><td/><td/></row> + <row><td>AppId</td><td>ServiceParameters</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td/></row> + <row><td>AppSearch</td><td>Property</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>The property associated with a Signature</td></row> + <row><td>AppSearch</td><td>Signature_</td><td>N</td><td/><td/><td>Signature</td><td>1</td><td>Identifier</td><td/><td>The Signature_ represents a unique file signature and is also the foreign key in the Signature, RegLocator, IniLocator, CompLocator and the DrLocator tables.</td></row> + <row><td>BBControl</td><td>Attributes</td><td>Y</td><td>0</td><td>781-516-4501</td><td/><td/><td/><td/><td>A 32-bit word that specifies the attribute flags to be applied to this control.</td></row> + <row><td>BBControl</td><td>BBControl</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Name of the control. This name must be unique within a billboard, but can repeat on different billboard.</td></row> + <row><td>BBControl</td><td>Billboard_</td><td>N</td><td/><td/><td>Billboard</td><td>1</td><td>Identifier</td><td/><td>External key to the Billboard table, name of the billboard.</td></row> + <row><td>BBControl</td><td>Height</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>Height of the bounding rectangle of the control.</td></row> + <row><td>BBControl</td><td>Text</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>A string used to set the initial text contained within a control (if appropriate).</td></row> + <row><td>BBControl</td><td>Type</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>The type of the control.</td></row> + <row><td>BBControl</td><td>Width</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>Width of the bounding rectangle of the control.</td></row> + <row><td>BBControl</td><td>X</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>Horizontal coordinate of the upper left corner of the bounding rectangle of the control.</td></row> + <row><td>BBControl</td><td>Y</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>Vertical coordinate of the upper left corner of the bounding rectangle of the control.</td></row> + <row><td>Billboard</td><td>Action</td><td>Y</td><td/><td/><td/><td/><td>Identifier</td><td/><td>The name of an action. The billboard is displayed during the progress messages received from this action.</td></row> + <row><td>Billboard</td><td>Billboard</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Name of the billboard.</td></row> + <row><td>Billboard</td><td>Feature_</td><td>N</td><td/><td/><td>Feature</td><td>1</td><td>Identifier</td><td/><td>An external key to the Feature Table. The billboard is shown only if this feature is being installed.</td></row> + <row><td>Billboard</td><td>Ordering</td><td>Y</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>A positive integer. If there is more than one billboard corresponding to an action they will be shown in the order defined by this column.</td></row> + <row><td>Binary</td><td>Data</td><td>Y</td><td/><td/><td/><td/><td>Binary</td><td/><td>Binary stream. The binary icon data in PE (.DLL or .EXE) or icon (.ICO) format.</td></row> + <row><td>Binary</td><td>ISBuildSourcePath</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Full path to the ICO or EXE file.</td></row> + <row><td>Binary</td><td>Name</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Unique key identifying the binary data.</td></row> + <row><td>BindImage</td><td>File_</td><td>N</td><td/><td/><td>File</td><td>1</td><td>Identifier</td><td/><td>The index into the File table. This must be an executable file.</td></row> + <row><td>BindImage</td><td>Path</td><td>Y</td><td/><td/><td/><td/><td>Paths</td><td/><td>A list of ; delimited paths that represent the paths to be searched for the import DLLS. The list is usually a list of properties each enclosed within square brackets [] .</td></row> + <row><td>CCPSearch</td><td>Signature_</td><td>N</td><td/><td/><td>Signature</td><td>1</td><td>Identifier</td><td/><td>The Signature_ represents a unique file signature and is also the foreign key in the Signature, RegLocator, IniLocator, CompLocator and the DrLocator tables.</td></row> + <row><td>CheckBox</td><td>Property</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>A named property to be tied to the item.</td></row> + <row><td>CheckBox</td><td>Value</td><td>Y</td><td/><td/><td/><td/><td>Formatted</td><td/><td>The value string associated with the item.</td></row> + <row><td>Class</td><td>AppId_</td><td>Y</td><td/><td/><td>AppId</td><td>1</td><td>Guid</td><td/><td>Optional AppID containing DCOM information for associated application (string GUID).</td></row> + <row><td>Class</td><td>Argument</td><td>Y</td><td/><td/><td/><td/><td>Formatted</td><td/><td>optional argument for LocalServers.</td></row> + <row><td>Class</td><td>Attributes</td><td>Y</td><td/><td>32767</td><td/><td/><td/><td/><td>Class registration attributes.</td></row> + <row><td>Class</td><td>CLSID</td><td>N</td><td/><td/><td/><td/><td>Guid</td><td/><td>The CLSID of an OLE factory.</td></row> + <row><td>Class</td><td>Component_</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Required foreign key into the Component Table, specifying the component for which to return a path when called through LocateComponent.</td></row> + <row><td>Class</td><td>Context</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>The numeric server context for this server. CLSCTX_xxxx</td></row> + <row><td>Class</td><td>DefInprocHandler</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td>1;2;3</td><td>Optional default inproc handler. Only optionally provided if Context=CLSCTX_LOCAL_SERVER. Typically "ole32.dll" or "mapi32.dll"</td></row> + <row><td>Class</td><td>Description</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Localized description for the Class.</td></row> + <row><td>Class</td><td>Feature_</td><td>N</td><td/><td/><td>Feature</td><td>1</td><td>Identifier</td><td/><td>Required foreign key into the Feature Table, specifying the feature to validate or install in order for the CLSID factory to be operational.</td></row> + <row><td>Class</td><td>FileTypeMask</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Optional string containing information for the HKCRthis CLSID) key. If multiple patterns exist, they must be delimited by a semicolon, and numeric subkeys will be generated: 0,1,2...</td></row> + <row><td>Class</td><td>IconIndex</td><td>Y</td><td>-32767</td><td>32767</td><td/><td/><td/><td/><td>Optional icon index.</td></row> + <row><td>Class</td><td>Icon_</td><td>Y</td><td/><td/><td>Icon</td><td>1</td><td>Identifier</td><td/><td>Optional foreign key into the Icon Table, specifying the icon file associated with this CLSID. Will be written under the DefaultIcon key.</td></row> + <row><td>Class</td><td>ProgId_Default</td><td>Y</td><td/><td/><td>ProgId</td><td>1</td><td>Text</td><td/><td>Optional ProgId associated with this CLSID.</td></row> + <row><td>ComboBox</td><td>Order</td><td>N</td><td>1</td><td>32767</td><td/><td/><td/><td/><td>A positive integer used to determine the ordering of the items within one list. The integers do not have to be consecutive.</td></row> + <row><td>ComboBox</td><td>Property</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>A named property to be tied to this item. All the items tied to the same property become part of the same combobox.</td></row> + <row><td>ComboBox</td><td>Text</td><td>Y</td><td/><td/><td/><td/><td>Formatted</td><td/><td>The visible text to be assigned to the item. Optional. If this entry or the entire column is missing, the text is the same as the value.</td></row> + <row><td>ComboBox</td><td>Value</td><td>N</td><td/><td/><td/><td/><td>Formatted</td><td/><td>The value string associated with this item. Selecting the line will set the associated property to this value.</td></row> + <row><td>CompLocator</td><td>ComponentId</td><td>N</td><td/><td/><td/><td/><td>Guid</td><td/><td>A string GUID unique to this component, version, and language.</td></row> + <row><td>CompLocator</td><td>Signature_</td><td>N</td><td/><td/><td>Signature</td><td>1</td><td>Identifier</td><td/><td>The table key. The Signature_ represents a unique file signature and is also the foreign key in the Signature table.</td></row> + <row><td>CompLocator</td><td>Type</td><td>Y</td><td>0</td><td>1</td><td/><td/><td/><td/><td>A boolean value that determines if the registry value is a filename or a directory location.</td></row> + <row><td>Complus</td><td>Component_</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Foreign key referencing Component that controls the ComPlus component.</td></row> + <row><td>Complus</td><td>ExpType</td><td>Y</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>ComPlus component attributes.</td></row> + <row><td>Component</td><td>Attributes</td><td>N</td><td/><td/><td/><td/><td/><td/><td>Remote execution option, one of irsEnum</td></row> + <row><td>Component</td><td>Component</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Primary key used to identify a particular component record.</td></row> + <row><td>Component</td><td>ComponentId</td><td>Y</td><td/><td/><td/><td/><td>Guid</td><td/><td>A string GUID unique to this component, version, and language.</td></row> + <row><td>Component</td><td>Condition</td><td>Y</td><td/><td/><td/><td/><td>Condition</td><td/><td>A conditional statement that will disable this component if the specified condition evaluates to the 'True' state. If a component is disabled, it will not be installed, regardless of the 'Action' state associated with the component.</td></row> + <row><td>Component</td><td>Directory_</td><td>N</td><td/><td/><td>Directory</td><td>1</td><td>Identifier</td><td/><td>Required key of a Directory table record. This is actually a property name whose value contains the actual path, set either by the AppSearch action or with the default setting obtained from the Directory table.</td></row> + <row><td>Component</td><td>ISAttributes</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>This is used to store Installshield custom properties of a component.</td></row> + <row><td>Component</td><td>ISComments</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>User Comments.</td></row> + <row><td>Component</td><td>ISDotNetInstallerArgsCommit</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Arguments passed to the key file of the component if if implements the .NET Installer class</td></row> + <row><td>Component</td><td>ISDotNetInstallerArgsInstall</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Arguments passed to the key file of the component if if implements the .NET Installer class</td></row> + <row><td>Component</td><td>ISDotNetInstallerArgsRollback</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Arguments passed to the key file of the component if if implements the .NET Installer class</td></row> + <row><td>Component</td><td>ISDotNetInstallerArgsUninstall</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Arguments passed to the key file of the component if if implements the .NET Installer class</td></row> + <row><td>Component</td><td>ISRegFileToMergeAtBuild</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Path and File name of a .REG file to merge into the component at build time.</td></row> + <row><td>Component</td><td>ISScanAtBuildFile</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>File used by the Dot Net scanner to populate dependant assemblies' File_Application field.</td></row> + <row><td>Component</td><td>KeyPath</td><td>Y</td><td/><td/><td>File;ODBCDataSource;Registry</td><td>1</td><td>Identifier</td><td/><td>Either the primary key into the File table, Registry table, or ODBCDataSource table. This extract path is stored when the component is installed, and is used to detect the presence of the component and to return the path to it.</td></row> + <row><td>Condition</td><td>Condition</td><td>Y</td><td/><td/><td/><td/><td>Condition</td><td/><td>Expression evaluated to determine if Level in the Feature table is to change.</td></row> + <row><td>Condition</td><td>Feature_</td><td>N</td><td/><td/><td>Feature</td><td>1</td><td>Identifier</td><td/><td>Reference to a Feature entry in Feature table.</td></row> + <row><td>Condition</td><td>Level</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>New selection Level to set in Feature table if Condition evaluates to TRUE.</td></row> + <row><td>Control</td><td>Attributes</td><td>Y</td><td>0</td><td>781-516-4501</td><td/><td/><td/><td/><td>A 32-bit word that specifies the attribute flags to be applied to this control.</td></row> + <row><td>Control</td><td>Binary_</td><td>Y</td><td/><td/><td>Binary</td><td>1</td><td>Identifier</td><td/><td>External key to the Binary table.</td></row> + <row><td>Control</td><td>Control</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Name of the control. This name must be unique within a dialog, but can repeat on different dialogs. </td></row> + <row><td>Control</td><td>Control_Next</td><td>Y</td><td/><td/><td>Control</td><td>2</td><td>Identifier</td><td/><td>The name of an other control on the same dialog. This link defines the tab order of the controls. The links have to form one or more cycles!</td></row> + <row><td>Control</td><td>Dialog_</td><td>N</td><td/><td/><td>Dialog</td><td>1</td><td>Identifier</td><td/><td>External key to the Dialog table, name of the dialog.</td></row> + <row><td>Control</td><td>Height</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>Height of the bounding rectangle of the control.</td></row> + <row><td>Control</td><td>Help</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>The help strings used with the button. The text is optional. </td></row> + <row><td>Control</td><td>ISBuildSourcePath</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Full path to .rtf file for scrollable text control</td></row> + <row><td>Control</td><td>ISControlId</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>A number used to represent the control ID of the Control, Used in Dialog export</td></row> + <row><td>Control</td><td>ISWindowStyle</td><td>Y</td><td>0</td><td>781-516-4501</td><td/><td/><td/><td/><td>A 32-bit word that specifies non-MSI window styles to be applied to this control.</td></row> + <row><td>Control</td><td>Property</td><td>Y</td><td/><td/><td/><td/><td>Identifier</td><td/><td>The name of a defined property to be linked to this control. </td></row> + <row><td>Control</td><td>Text</td><td>Y</td><td/><td/><td/><td/><td>Formatted</td><td/><td>A string used to set the initial text contained within a control (if appropriate).</td></row> + <row><td>Control</td><td>Type</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>The type of the control.</td></row> + <row><td>Control</td><td>Width</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>Width of the bounding rectangle of the control.</td></row> + <row><td>Control</td><td>X</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>Horizontal coordinate of the upper left corner of the bounding rectangle of the control.</td></row> + <row><td>Control</td><td>Y</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>Vertical coordinate of the upper left corner of the bounding rectangle of the control.</td></row> + <row><td>ControlCondition</td><td>Action</td><td>N</td><td/><td/><td/><td/><td/><td>Default;Disable;Enable;Hide;Show</td><td>The desired action to be taken on the specified control.</td></row> + <row><td>ControlCondition</td><td>Condition</td><td>N</td><td/><td/><td/><td/><td>Condition</td><td/><td>A standard conditional statement that specifies under which conditions the action should be triggered.</td></row> + <row><td>ControlCondition</td><td>Control_</td><td>N</td><td/><td/><td>Control</td><td>2</td><td>Identifier</td><td/><td>A foreign key to the Control table, name of the control.</td></row> + <row><td>ControlCondition</td><td>Dialog_</td><td>N</td><td/><td/><td>Dialog</td><td>1</td><td>Identifier</td><td/><td>A foreign key to the Dialog table, name of the dialog.</td></row> + <row><td>ControlEvent</td><td>Argument</td><td>N</td><td/><td/><td/><td/><td>Formatted</td><td/><td>A value to be used as a modifier when triggering a particular event.</td></row> + <row><td>ControlEvent</td><td>Condition</td><td>Y</td><td/><td/><td/><td/><td>Condition</td><td/><td>A standard conditional statement that specifies under which conditions an event should be triggered.</td></row> + <row><td>ControlEvent</td><td>Control_</td><td>N</td><td/><td/><td>Control</td><td>2</td><td>Identifier</td><td/><td>A foreign key to the Control table, name of the control</td></row> + <row><td>ControlEvent</td><td>Dialog_</td><td>N</td><td/><td/><td>Dialog</td><td>1</td><td>Identifier</td><td/><td>A foreign key to the Dialog table, name of the dialog.</td></row> + <row><td>ControlEvent</td><td>Event</td><td>N</td><td/><td/><td/><td/><td>Formatted</td><td/><td>An identifier that specifies the type of the event that should take place when the user interacts with control specified by the first two entries.</td></row> + <row><td>ControlEvent</td><td>Ordering</td><td>Y</td><td>0</td><td>781-516-4501</td><td/><td/><td/><td/><td>An integer used to order several events tied to the same control. Can be left blank.</td></row> + <row><td>CreateFolder</td><td>Component_</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Foreign key into the Component table.</td></row> + <row><td>CreateFolder</td><td>Directory_</td><td>N</td><td/><td/><td>Directory</td><td>1</td><td>Identifier</td><td/><td>Primary key, could be foreign key into the Directory table.</td></row> + <row><td>CustomAction</td><td>Action</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Primary key, name of action, normally appears in sequence table unless private use.</td></row> + <row><td>CustomAction</td><td>ISComments</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td dt:dt="bin.base64" md5="32618cf58258b38e853f7a99b6c3518e"> +QQB1AHQAaABvAHIAGSBzACAAYwBvAG0AbQBlAG4AdABzACAAZgBvAHIAIAB0AGgAaQBzACAAYwB1AHMAdABvAG0AIABhAGMAdABpAG8AbgAuAA== + </td></row> + <row><td>CustomAction</td><td>Source</td><td>Y</td><td/><td/><td/><td/><td>CustomSource</td><td/><td>The table reference of the source of the code.</td></row> + <row><td>CustomAction</td><td>Target</td><td>Y</td><td/><td/><td>ISDLLWrapper;ISInstallScriptAction</td><td>1</td><td>Formatted</td><td/><td>Excecution parameter, depends on the type of custom action</td></row> + <row><td>CustomAction</td><td>Type</td><td>N</td><td>1</td><td>32767</td><td/><td/><td/><td/><td>The numeric custom action type, consisting of source location, code type, entry, option flags.</td></row> + <row><td>Dialog</td><td>Attributes</td><td>Y</td><td>0</td><td>781-516-4501</td><td/><td/><td/><td/><td>A 32-bit word that specifies the attribute flags to be applied to this dialog.</td></row> + <row><td>Dialog</td><td>Control_Cancel</td><td>Y</td><td/><td/><td>Control</td><td>2</td><td>Identifier</td><td/><td>Defines the cancel control. Hitting escape or clicking on the close icon on the dialog is equivalent to pushing this button.</td></row> + <row><td>Dialog</td><td>Control_Default</td><td>Y</td><td/><td/><td>Control</td><td>2</td><td>Identifier</td><td/><td>Defines the default control. Hitting return is equivalent to pushing this button.</td></row> + <row><td>Dialog</td><td>Control_First</td><td>N</td><td/><td/><td>Control</td><td>2</td><td>Identifier</td><td/><td>Defines the control that has the focus when the dialog is created.</td></row> + <row><td>Dialog</td><td>Dialog</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Name of the dialog.</td></row> + <row><td>Dialog</td><td>HCentering</td><td>N</td><td>0</td><td>100</td><td/><td/><td/><td/><td>Horizontal position of the dialog on a 0-100 scale. 0 means left end, 100 means right end of the screen, 50 center.</td></row> + <row><td>Dialog</td><td>Height</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>Height of the bounding rectangle of the dialog.</td></row> + <row><td>Dialog</td><td>ISComments</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td dt:dt="bin.base64" md5="99783de6d158fd3d49a9424b04aa1fc1"> +QQB1AHQAaABvAHIAGSBzACAAYwBvAG0AbQBlAG4AdABzACAAZgBvAHIAIAB0AGgAaQBzACAAZABpAGEAbABvAGcALgA= + </td></row> + <row><td>Dialog</td><td>ISResourceId</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>A Number the Specifies the Dialog ID to be used in Dialog Export</td></row> + <row><td>Dialog</td><td>ISWindowStyle</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>A 32-bit word that specifies non-MSI window styles to be applied to this control. This is only used in Script Based Setups.</td></row> + <row><td>Dialog</td><td>TextStyle_</td><td>Y</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Foreign Key into TextStyle table, only used in Script Based Projects.</td></row> + <row><td>Dialog</td><td>Title</td><td>Y</td><td/><td/><td/><td/><td>Formatted</td><td/><td>A text string specifying the title to be displayed in the title bar of the dialog's window.</td></row> + <row><td>Dialog</td><td>VCentering</td><td>N</td><td>0</td><td>100</td><td/><td/><td/><td/><td>Vertical position of the dialog on a 0-100 scale. 0 means top end, 100 means bottom end of the screen, 50 center.</td></row> + <row><td>Dialog</td><td>Width</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>Width of the bounding rectangle of the dialog.</td></row> + <row><td>Directory</td><td>DefaultDir</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>The default sub-path under parent's path.</td></row> + <row><td>Directory</td><td>Directory</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Unique identifier for directory entry, primary key. If a property by this name is defined, it contains the full path to the directory.</td></row> + <row><td>Directory</td><td>Directory_Parent</td><td>Y</td><td/><td/><td>Directory</td><td>1</td><td>Identifier</td><td/><td>Reference to the entry in this table specifying the default parent directory. A record parented to itself or with a Null parent represents a root of the install tree.</td></row> + <row><td>Directory</td><td>ISAttributes</td><td>Y</td><td/><td/><td/><td/><td/><td>0;1;2;3;4;5;6;7</td><td>This is used to store Installshield custom properties of a directory. Currently the only one is Shortcut.</td></row> + <row><td>Directory</td><td>ISDescription</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Description of folder</td></row> + <row><td>Directory</td><td>ISFolderName</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>This is used in Pro projects because the pro identifier used in the tree wasn't necessarily unique.</td></row> + <row><td>DrLocator</td><td>Depth</td><td>Y</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>The depth below the path to which the Signature_ is recursively searched. If absent, the depth is assumed to be 0.</td></row> + <row><td>DrLocator</td><td>Parent</td><td>Y</td><td/><td/><td/><td/><td>Identifier</td><td/><td>The parent file signature. It is also a foreign key in the Signature table. If null and the Path column does not expand to a full path, then all the fixed drives of the user system are searched using the Path.</td></row> + <row><td>DrLocator</td><td>Path</td><td>Y</td><td/><td/><td/><td/><td>AnyPath</td><td/><td>The path on the user system. This is a either a subpath below the value of the Parent or a full path. The path may contain properties enclosed within [ ] that will be expanded.</td></row> + <row><td>DrLocator</td><td>Signature_</td><td>N</td><td/><td/><td>Signature</td><td>1</td><td>Identifier</td><td/><td>The Signature_ represents a unique file signature and is also the foreign key in the Signature table.</td></row> + <row><td>DuplicateFile</td><td>Component_</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Foreign key referencing Component that controls the duplicate file.</td></row> + <row><td>DuplicateFile</td><td>DestFolder</td><td>Y</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Name of a property whose value is assumed to resolve to the full pathname to a destination folder.</td></row> + <row><td>DuplicateFile</td><td>DestName</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Filename to be given to the duplicate file.</td></row> + <row><td>DuplicateFile</td><td>FileKey</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Primary key used to identify a particular file entry</td></row> + <row><td>DuplicateFile</td><td>File_</td><td>N</td><td/><td/><td>File</td><td>1</td><td>Identifier</td><td/><td>Foreign key referencing the source file to be duplicated.</td></row> + <row><td>Environment</td><td>Component_</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Foreign key into the Component table referencing component that controls the installing of the environmental value.</td></row> + <row><td>Environment</td><td>Environment</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Unique identifier for the environmental variable setting</td></row> + <row><td>Environment</td><td>Name</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>The name of the environmental value.</td></row> + <row><td>Environment</td><td>Value</td><td>Y</td><td/><td/><td/><td/><td>Formatted</td><td/><td>The value to set in the environmental settings.</td></row> + <row><td>Error</td><td>Error</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>Integer error number, obtained from header file IError(...) macros.</td></row> + <row><td>Error</td><td>Message</td><td>Y</td><td/><td/><td/><td/><td>Template</td><td/><td>Error formatting template, obtained from user ed. or localizers.</td></row> + <row><td>EventMapping</td><td>Attribute</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>The name of the control attribute, that is set when this event is received.</td></row> + <row><td>EventMapping</td><td>Control_</td><td>N</td><td/><td/><td>Control</td><td>2</td><td>Identifier</td><td/><td>A foreign key to the Control table, name of the control.</td></row> + <row><td>EventMapping</td><td>Dialog_</td><td>N</td><td/><td/><td>Dialog</td><td>1</td><td>Identifier</td><td/><td>A foreign key to the Dialog table, name of the Dialog.</td></row> + <row><td>EventMapping</td><td>Event</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>An identifier that specifies the type of the event that the control subscribes to.</td></row> + <row><td>Extension</td><td>Component_</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Required foreign key into the Component Table, specifying the component for which to return a path when called through LocateComponent.</td></row> + <row><td>Extension</td><td>Extension</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>The extension associated with the table row.</td></row> + <row><td>Extension</td><td>Feature_</td><td>N</td><td/><td/><td>Feature</td><td>1</td><td>Identifier</td><td/><td>Required foreign key into the Feature Table, specifying the feature to validate or install in order for the CLSID factory to be operational.</td></row> + <row><td>Extension</td><td>MIME_</td><td>Y</td><td/><td/><td>MIME</td><td>1</td><td>Text</td><td/><td>Optional Context identifier, typically "type/format" associated with the extension</td></row> + <row><td>Extension</td><td>ProgId_</td><td>Y</td><td/><td/><td>ProgId</td><td>1</td><td>Text</td><td/><td>Optional ProgId associated with this extension.</td></row> + <row><td>Feature</td><td>Attributes</td><td>N</td><td/><td/><td/><td/><td/><td>0;1;2;4;5;6;8;9;10;16;17;18;20;21;22;24;25;26;32;33;34;36;37;38;48;49;50;52;53;54</td><td>Feature attributes</td></row> + <row><td>Feature</td><td>Description</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Longer descriptive text describing a visible feature item.</td></row> + <row><td>Feature</td><td>Directory_</td><td>Y</td><td/><td/><td>Directory</td><td>1</td><td>UpperCase</td><td/><td>The name of the Directory that can be configured by the UI. A non-null value will enable the browse button.</td></row> + <row><td>Feature</td><td>Display</td><td>Y</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>Numeric sort order, used to force a specific display ordering.</td></row> + <row><td>Feature</td><td>Feature</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Primary key used to identify a particular feature record.</td></row> + <row><td>Feature</td><td>Feature_Parent</td><td>Y</td><td/><td/><td>Feature</td><td>1</td><td>Identifier</td><td/><td>Optional key of a parent record in the same table. If the parent is not selected, then the record will not be installed. Null indicates a root item.</td></row> + <row><td>Feature</td><td>ISComments</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>Comments</td></row> + <row><td>Feature</td><td>ISFeatureCabName</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>Name of CAB used when compressing CABs by Feature. Used to override build generated name for CAB file.</td></row> + <row><td>Feature</td><td>ISProFeatureName</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>The name of the feature used by pro projects. This doesn't have to be unique.</td></row> + <row><td>Feature</td><td>ISReleaseFlags</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>Release Flags that specify whether this feature will be built in a particular release.</td></row> + <row><td>Feature</td><td>Level</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>The install level at which record will be initially selected. An install level of 0 will disable an item and prevent its display.</td></row> + <row><td>Feature</td><td>Title</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Short text identifying a visible feature item.</td></row> + <row><td>FeatureComponents</td><td>Component_</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Foreign key into Component table.</td></row> + <row><td>FeatureComponents</td><td>Feature_</td><td>N</td><td/><td/><td>Feature</td><td>1</td><td>Identifier</td><td/><td>Foreign key into Feature table.</td></row> + <row><td>File</td><td>Attributes</td><td>Y</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>Integer containing bit flags representing file attributes (with the decimal value of each bit position in parentheses)</td></row> + <row><td>File</td><td>Component_</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Foreign key referencing Component that controls the file.</td></row> + <row><td>File</td><td>File</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Primary key, non-localized token, must match identifier in cabinet. For uncompressed files, this field is ignored.</td></row> + <row><td>File</td><td>FileName</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>File name used for installation. This may contain a "short name|long name" pair. It may be just a long name, hence it cannot be of the Filename data type.</td></row> + <row><td>File</td><td>FileSize</td><td>N</td><td>0</td><td>781-516-4501</td><td/><td/><td/><td/><td>Size of file in bytes (long integer).</td></row> + <row><td>File</td><td>ISAttributes</td><td>Y</td><td>0</td><td>781-516-4501</td><td/><td/><td/><td/><td>This field contains the following attributes: UseSystemSettings(0x1)</td></row> + <row><td>File</td><td>ISBuildSourcePath</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Full path, the category is of Text instead of Path because of potential use of path variables.</td></row> + <row><td>File</td><td>ISComponentSubFolder_</td><td>Y</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Foreign key referencing component subfolder containing this file. Only for Pro.</td></row> + <row><td>File</td><td>Language</td><td>Y</td><td/><td/><td/><td/><td>Language</td><td/><td>List of decimal language Ids, comma-separated if more than one.</td></row> + <row><td>File</td><td>Sequence</td><td>N</td><td>1</td><td>32767</td><td/><td/><td/><td/><td>Sequence with respect to the media images; order must track cabinet order.</td></row> + <row><td>File</td><td>Version</td><td>Y</td><td/><td/><td>File</td><td>1</td><td>Version</td><td/><td>Version string for versioned files; Blank for unversioned files.</td></row> + <row><td>FileSFPCatalog</td><td>File_</td><td>N</td><td/><td/><td>File</td><td>1</td><td>Identifier</td><td/><td>File associated with the catalog</td></row> + <row><td>FileSFPCatalog</td><td>SFPCatalog_</td><td>N</td><td/><td/><td>SFPCatalog</td><td>1</td><td>Text</td><td/><td>Catalog associated with the file</td></row> + <row><td>Font</td><td>File_</td><td>N</td><td/><td/><td>File</td><td>1</td><td>Identifier</td><td/><td>Primary key, foreign key into File table referencing font file.</td></row> + <row><td>Font</td><td>FontTitle</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Font name.</td></row> + <row><td>ISAssistantTag</td><td>Data</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISAssistantTag</td><td>Tag</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEApp</td><td>AppKey</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEApp</td><td>AppName</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEApp</td><td>Attributes</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEApp</td><td>CompanyName</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEApp</td><td>Component_</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEApp</td><td>DefDir</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEApp</td><td>DeleteMedia</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEApp</td><td>Description</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEApp</td><td>DesktopTargetDir</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEApp</td><td>DeviceFile</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEApp</td><td>IconIndex</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEApp</td><td>IconPath</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEApp</td><td>InstallNetCF</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEApp</td><td>InstallSQLClient</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEApp</td><td>InstallSQLDev</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEApp</td><td>InstallSQLServer</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEApp</td><td>NoUninstall</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEApp</td><td>PVKFile</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEApp</td><td>PostXML</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEApp</td><td>PreXML</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEApp</td><td>RawDeviceFile</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEApp</td><td>SPCFile</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEDir</td><td>AppKey</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEDir</td><td>DirKey</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEDir</td><td>DirParent</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEDir</td><td>DirValue</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEFile</td><td>AdvancedOptions</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEFile</td><td>AppKey</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEFile</td><td>CopyOption</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEFile</td><td>Destination</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEFile</td><td>FileKey</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEFile</td><td>FileOption</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEFile</td><td>Name</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEFile</td><td>Platform</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEFile</td><td>Processor</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEFile</td><td>Source</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEFileExt</td><td>AppKey</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEFileExt</td><td>Description</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEFileExt</td><td>ExtKey</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEFileExt</td><td>Extension</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEFileExt</td><td>FileKey</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEFileExt</td><td>IconIndex</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEInstall</td><td>CEAppName</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEInstall</td><td>CECabs</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEInstall</td><td>CEDesktopDir</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEInstall</td><td>CEIcoFile</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEInstall</td><td>CEIniFileKey</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEInstall</td><td>CEInstallKey</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEInstall</td><td>Component_</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEInstall</td><td>DeleteMedia</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEOtherAppCABs</td><td>AppKey</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEOtherAppCABs</td><td>BuildSourcePath</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEOtherAppCABs</td><td>FileKey</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCERegistry</td><td>AppKey</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCERegistry</td><td>Key</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCERegistry</td><td>Name</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCERegistry</td><td>Overwrite</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCERegistry</td><td>Platform</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCERegistry</td><td>Processor</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCERegistry</td><td>RegKey</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCERegistry</td><td>Root</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCERegistry</td><td>Value</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCESetupFile</td><td>AppKey</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCESetupFile</td><td>Name</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCESetupFile</td><td>Platform</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCESetupFile</td><td>Processor</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCESetupFile</td><td>SetupFileKey</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCESetupFile</td><td>Source</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEShtCut</td><td>AppKey</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEShtCut</td><td>Destination</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEShtCut</td><td>DisplayName</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEShtCut</td><td>Platform</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEShtCut</td><td>ShtCutKey</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISCEShtCut</td><td>Target</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISComCatalogAttribute</td><td>ISComCatalogObject_</td><td>N</td><td/><td/><td>ISComCatalogObject</td><td>1</td><td>Identifier</td><td/><td>Foreign key into the ISComCatalogObject table.</td></row> + <row><td>ISComCatalogAttribute</td><td>ItemName</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>The named attribute for a catalog object.</td></row> + <row><td>ISComCatalogAttribute</td><td>ItemValue</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>A value associated with the attribute defined in the ItemName column.</td></row> + <row><td>ISComCatalogCollection</td><td>CollectionName</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>A catalog collection name.</td></row> + <row><td>ISComCatalogCollection</td><td>ISComCatalogCollection</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>A unique key for the ISComCatalogCollection table.</td></row> + <row><td>ISComCatalogCollection</td><td>ISComCatalogObject_</td><td>N</td><td/><td/><td>ISComCatalogObject</td><td>1</td><td>Identifier</td><td/><td>Foreign key into the ISComCatalogObject table.</td></row> + <row><td>ISComCatalogCollectionObjects</td><td>ISComCatalogCollection_</td><td>N</td><td/><td/><td>ISComCatalogCollection</td><td>1</td><td>Identifier</td><td/><td>A unique key for the ISComCatalogCollection table.</td></row> + <row><td>ISComCatalogCollectionObjects</td><td>ISComCatalogObject_</td><td>N</td><td/><td/><td>ISComCatalogObject</td><td>1</td><td>Identifier</td><td/><td>Foreign key into the ISComCatalogObject table.</td></row> + <row><td>ISComCatalogObject</td><td>DisplayName</td><td>N</td><td/><td/><td/><td/><td/><td/><td>The display name of a catalog object.</td></row> + <row><td>ISComCatalogObject</td><td>ISComCatalogObject</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>A unique key for the ISComCatalogObject table.</td></row> + <row><td>ISComPlusApplication</td><td>Component_</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Foreign key into the Component table that a COM+ application belongs to.</td></row> + <row><td>ISComPlusApplication</td><td>ComputerName</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Computer name that a COM+ application belongs to.</td></row> + <row><td>ISComPlusApplication</td><td>DepFiles</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>List of the dependent files.</td></row> + <row><td>ISComPlusApplication</td><td>ISAttributes</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>InstallShield custom attributes associated with a COM+ application.</td></row> + <row><td>ISComPlusApplication</td><td>ISComCatalogObject_</td><td>N</td><td/><td/><td>ISComCatalogObject</td><td>1</td><td>Identifier</td><td/><td>Foreign key into the ISComCatalogObject table.</td></row> + <row><td>ISComPlusProxy</td><td>Component_</td><td>Y</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Foreign key into the Component table that a COM+ application proxy belongs to.</td></row> + <row><td>ISComPlusProxy</td><td>DepFiles</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>List of the dependent files.</td></row> + <row><td>ISComPlusProxy</td><td>ISAttributes</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>InstallShield custom attributes associated with a COM+ application proxy.</td></row> + <row><td>ISComPlusProxy</td><td>ISComPlusApplication_</td><td>N</td><td/><td/><td>ISComPlusApplication</td><td>1</td><td>Identifier</td><td/><td>Foreign key into the ISComPlusApplication table that a COM+ application proxy belongs to.</td></row> + <row><td>ISComPlusProxy</td><td>ISComPlusProxy</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>A unique key for the ISComPlusProxy table.</td></row> + <row><td>ISComponentExtended</td><td>Component_</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Primary key used to identify a particular component record.</td></row> + <row><td>ISComponentExtended</td><td>FTPLocation</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>FTP Location</td></row> + <row><td>ISComponentExtended</td><td>FilterProperty</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Property to set if you want to filter a component</td></row> + <row><td>ISComponentExtended</td><td>HTTPLocation</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>HTTP Location</td></row> + <row><td>ISComponentExtended</td><td>Language</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Language</td></row> + <row><td>ISComponentExtended</td><td>Miscellaneous</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Miscellaneous</td></row> + <row><td>ISComponentExtended</td><td>OS</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>bitwise addition of OSs</td></row> + <row><td>ISComponentExtended</td><td>Platforms</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>bitwise addition of Platforms.</td></row> + <row><td>ISDLLWrapper</td><td>EntryPoint</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>This is a foreign key to the target column in the CustomAction table</td></row> + <row><td>ISDLLWrapper</td><td>Source</td><td>N</td><td/><td/><td/><td/><td>Formatted</td><td/><td>This is column points to the source file for the DLLWrapper Custom Action</td></row> + <row><td>ISDLLWrapper</td><td>Target</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>The function signature</td></row> + <row><td>ISDLLWrapper</td><td>Type</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>Type</td></row> + <row><td>ISDependency</td><td>Exclude</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISDependency</td><td>ISDependency</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISDisk1File</td><td>Disk</td><td>Y</td><td/><td/><td/><td/><td/><td>-1;0;1</td><td>Used to differentiate between disk1(1), last disk(-1), and other(0).</td></row> + <row><td>ISDisk1File</td><td>ISBuildSourcePath</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Full path of file to be copied to Disk1 folder</td></row> + <row><td>ISDisk1File</td><td>ISDisk1File</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Primary key for ISDisk1File table</td></row> + <row><td>ISDynamicFile</td><td>Component_</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Foreign key referencing Component that controls the file.</td></row> + <row><td>ISDynamicFile</td><td>ExcludeFiles</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Wildcards for excluded files.</td></row> + <row><td>ISDynamicFile</td><td>ISAttributes</td><td>Y</td><td/><td/><td/><td/><td/><td>0;1;2;3</td><td>This is used to store Installshield custom properties of a dynamic filet. Currently the only one is SelfRegister.</td></row> + <row><td>ISDynamicFile</td><td>IncludeFiles</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Wildcards for included files.</td></row> + <row><td>ISDynamicFile</td><td>IncludeFlags</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>Include flags.</td></row> + <row><td>ISDynamicFile</td><td>SourceFolder</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Full path, the category is of Text instead of Path because of potential use of path variables.</td></row> + <row><td>ISFeatureMergeModuleExcludes</td><td>Feature_</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Foreign key into Feature table.</td></row> + <row><td>ISFeatureMergeModuleExcludes</td><td>Language</td><td>N</td><td/><td/><td/><td/><td/><td/><td>Foreign key into ISMergeModule table.</td></row> + <row><td>ISFeatureMergeModuleExcludes</td><td>ModuleID</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Foreign key into ISMergeModule table. +</td></row> + <row><td>ISFeatureMergeModules</td><td>Feature_</td><td>N</td><td/><td/><td>Feature</td><td>1</td><td>Identifier</td><td/><td>Foreign key into Feature table.</td></row> + <row><td>ISFeatureMergeModules</td><td>ISMergeModule_</td><td>N</td><td/><td/><td>ISMergeModule</td><td>1</td><td>Text</td><td/><td>Foreign key into ISMergeModule table. +</td></row> + <row><td>ISFeatureMergeModules</td><td>Language_</td><td>N</td><td/><td/><td>ISMergeModule</td><td>2</td><td/><td/><td>Foreign key into ISMergeModule table.</td></row> + <row><td>ISIISCommon</td><td>AnonyPasswrd</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Password for anonymous access</td></row> + <row><td>ISIISCommon</td><td>AnonyUserName</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>User name for anonymous access</td></row> + <row><td>ISIISCommon</td><td>AppName</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>AppName of this VRoot</td></row> + <row><td>ISIISCommon</td><td>Attributes</td><td>N</td><td/><td/><td/><td/><td>Number</td><td/><td>Attributes for this IIS node</td></row> + <row><td>ISIISCommon</td><td>CustomErrors</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Delimited list of custom errors</td></row> + <row><td>ISIISCommon</td><td>DefDoc</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Localizable Defeault Doc</td></row> + <row><td>ISIISCommon</td><td>DisplayName</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Localizable Virtual Root Name</td></row> + <row><td>ISIISCommon</td><td>ISIISCommon</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Primary key used to identify a particular record.</td></row> + <row><td>ISIISCommon</td><td>ISIISCommon_Parent</td><td>Y</td><td/><td/><td>ISIISCommon</td><td>1</td><td>Identifier</td><td/><td>This record's parent record.</td></row> + <row><td>ISIISCommon</td><td>RootDir</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Root directory for this IIS Node</td></row> + <row><td>ISIISCommon</td><td>SSLCert</td><td>Y</td><td/><td/><td>Binary</td><td>1</td><td>Identifier</td><td/><td>Foreign key into the binary table.</td></row> + <row><td>ISIISCommon</td><td>ScriptTimeout</td><td>Y</td><td/><td/><td/><td/><td>Number</td><td/><td>ASP Script Timeout</td></row> + <row><td>ISIISCommon</td><td>SessionTimeout</td><td>Y</td><td/><td/><td/><td/><td>Number</td><td/><td>Session Timeout</td></row> + <row><td>ISIISMetaData</td><td>ISIISCommon_</td><td>N</td><td/><td/><td>ISIISCommon</td><td>1</td><td>Identifier</td><td/><td>Foreign key into ISIISCommon table</td></row> + <row><td>ISIISMetaData</td><td>MetaDataAttributes</td><td>N</td><td/><td/><td/><td/><td/><td/><td>This is the dwMDAttributes item in the METADATA_RECORD structure</td></row> + <row><td>ISIISMetaData</td><td>MetaDataProp</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>This is the dwMDIdentifier item in the METADATA_RECORD structure</td></row> + <row><td>ISIISMetaData</td><td>MetaDataType</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>This is the dwMDDataType item in the METADATA_RECORD structure</td></row> + <row><td>ISIISMetaData</td><td>MetaDataUserType</td><td>N</td><td/><td/><td/><td/><td/><td/><td>This is the dwMDUserType item in the METADATA_RECORD structure</td></row> + <row><td>ISIISMetaData</td><td>MetaDataValue</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>This is the pbMDData item in the METADATA_RECORD structure</td></row> + <row><td>ISIISMetaData</td><td>Order</td><td>N</td><td/><td/><td/><td/><td/><td/><td>Use this column to order the meta data properties.</td></row> + <row><td>ISInstallScriptAction</td><td>EntryPoint</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>This is a foreign key to the target column in the CustomAction table</td></row> + <row><td>ISInstallScriptAction</td><td>Source</td><td>N</td><td/><td/><td/><td/><td>Formatted</td><td/><td>This is column points to the source file for the DLLWrapper Custom Action</td></row> + <row><td>ISInstallScriptAction</td><td>Target</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>The function signature</td></row> + <row><td>ISInstallScriptAction</td><td>Type</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>Type</td></row> + <row><td>ISLanguage</td><td>ISLanguage</td><td>N</td><td/><td/><td/><td/><td>Language</td><td/><td>This is the language ID.</td></row> + <row><td>ISLanguage</td><td>Included</td><td>Y</td><td/><td/><td/><td/><td/><td>0;1</td><td>Specify whether this language should be included.</td></row> + <row><td>ISLinkerLibrary</td><td>ISLinkerLibrary</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Unique identifier for the link library. +</td></row> + <row><td>ISLinkerLibrary</td><td>Library</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Full path of the object library (.obl file). +</td></row> + <row><td>ISLinkerLibrary</td><td>Order</td><td>N</td><td/><td/><td/><td/><td/><td/><td>Order of the Library</td></row> + <row><td>ISLocalControl</td><td>Attributes</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>A 32-bit word that specifies the attribute flags to be applied to this control.</td></row> + <row><td>ISLocalControl</td><td>Binary_</td><td>Y</td><td/><td/><td>Binary</td><td>1</td><td>Identifier</td><td/><td>External key to the Binary table.</td></row> + <row><td>ISLocalControl</td><td>Control_</td><td>N</td><td/><td/><td>Control</td><td>2</td><td>Identifier</td><td/><td>Name of the control. This name must be unique within a dialog, but can repeat on different dialogs.</td></row> + <row><td>ISLocalControl</td><td>Dialog_</td><td>N</td><td/><td/><td>Dialog</td><td>1</td><td>Identifier</td><td/><td>External key to the Dialog table, name of the dialog.</td></row> + <row><td>ISLocalControl</td><td>Height</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>Height of the bounding rectangle of the control.</td></row> + <row><td>ISLocalControl</td><td>ISBuildSourcePath</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Full path to .rtf file for scrollable text control</td></row> + <row><td>ISLocalControl</td><td>ISLanguage_</td><td>N</td><td/><td/><td>ISLanguage</td><td>1</td><td>Language</td><td/><td>This is a foreign key to the ISLanguage table.</td></row> + <row><td>ISLocalControl</td><td>Width</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>Width of the bounding rectangle of the control.</td></row> + <row><td>ISLocalControl</td><td>X</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>Horizontal coordinate of the upper left corner of the bounding rectangle of the control.</td></row> + <row><td>ISLocalControl</td><td>Y</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>Vertical coordinate of the upper left corner of the bounding rectangle of the control.</td></row> + <row><td>ISLocalDialog</td><td>Attributes</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>A 32-bit word that specifies the attribute flags to be applied to this dialog.</td></row> + <row><td>ISLocalDialog</td><td>Dialog_</td><td>Y</td><td/><td/><td>Dialog</td><td>1</td><td>Identifier</td><td/><td>Name of the dialog.</td></row> + <row><td>ISLocalDialog</td><td>Height</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>Height of the bounding rectangle of the dialog.</td></row> + <row><td>ISLocalDialog</td><td>ISLanguage_</td><td>Y</td><td/><td/><td>ISLanguage</td><td>1</td><td>Language</td><td/><td>This is a foreign key to the ISLanguage table.</td></row> + <row><td>ISLocalDialog</td><td>TextStyle_</td><td>Y</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Foreign Key into TextStyle table, only used in Script Based Projects.</td></row> + <row><td>ISLocalDialog</td><td>Width</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>Width of the bounding rectangle of the dialog.</td></row> + <row><td>ISLocalRadioButton</td><td>Height</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>The height of the button.</td></row> + <row><td>ISLocalRadioButton</td><td>ISLanguage_</td><td>N</td><td/><td/><td>ISLanguage</td><td>1</td><td>Language</td><td/><td>This is a foreign key to the ISLanguage table.</td></row> + <row><td>ISLocalRadioButton</td><td>Order</td><td>N</td><td>1</td><td>32767</td><td>RadioButton</td><td>2</td><td/><td/><td>A positive integer used to determine the ordering of the items within one list..The integers do not have to be consecutive.</td></row> + <row><td>ISLocalRadioButton</td><td>Property</td><td>N</td><td/><td/><td>RadioButton</td><td>1</td><td>Identifier</td><td/><td>A named property to be tied to this radio button. All the buttons tied to the same property become part of the same group.</td></row> + <row><td>ISLocalRadioButton</td><td>Width</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>The width of the button.</td></row> + <row><td>ISLocalRadioButton</td><td>X</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>The horizontal coordinate of the upper left corner of the bounding rectangle of the radio button.</td></row> + <row><td>ISLocalRadioButton</td><td>Y</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>The vertical coordinate of the upper left corner of the bounding rectangle of the radio button.</td></row> + <row><td>ISLogicalDisk</td><td>Cabinet</td><td>Y</td><td/><td/><td/><td/><td>Cabinet</td><td/><td>If some or all of the files stored on the media are compressed in a cabinet, the name of that cabinet.</td></row> + <row><td>ISLogicalDisk</td><td>DiskId</td><td>N</td><td>1</td><td>32767</td><td/><td/><td/><td/><td>Primary key, integer to determine sort order for table.</td></row> + <row><td>ISLogicalDisk</td><td>DiskPrompt</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Disk name: the visible text actually printed on the disk. This will be used to prompt the user when this disk needs to be inserted.</td></row> + <row><td>ISLogicalDisk</td><td>ISProductConfiguration_</td><td>N</td><td/><td/><td>ISProductConfiguration</td><td>1</td><td>Text</td><td/><td>Foreign key into the ISProductConfiguration table.</td></row> + <row><td>ISLogicalDisk</td><td>ISRelease_</td><td>N</td><td/><td/><td>ISRelease</td><td>1</td><td>Text</td><td/><td>Foreign key into the ISRelease table.</td></row> + <row><td>ISLogicalDisk</td><td>LastSequence</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>File sequence number for the last file for this media.</td></row> + <row><td>ISLogicalDisk</td><td>Source</td><td>Y</td><td/><td/><td/><td/><td>Property</td><td/><td>The property defining the location of the cabinet file.</td></row> + <row><td>ISLogicalDisk</td><td>VolumeLabel</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>The label attributed to the volume.</td></row> + <row><td>ISLogicalDiskFeatures</td><td>Feature_</td><td>Y</td><td/><td/><td>Feature</td><td>1</td><td>Identifier</td><td/><td>Required foreign key into the Feature Table,</td></row> + <row><td>ISLogicalDiskFeatures</td><td>ISAttributes</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>This is used to store Installshield custom properties, like Compressed, etc.</td></row> + <row><td>ISLogicalDiskFeatures</td><td>ISLogicalDisk_</td><td>N</td><td>1</td><td>32767</td><td>ISLogicalDisk</td><td>1</td><td>Identifier</td><td/><td>Foreign key into the ISLogicalDisk table.</td></row> + <row><td>ISLogicalDiskFeatures</td><td>ISProductConfiguration_</td><td>N</td><td/><td/><td>ISProductConfiguration</td><td>1</td><td>Text</td><td/><td>Foreign key into the ISProductConfiguration table.</td></row> + <row><td>ISLogicalDiskFeatures</td><td>ISRelease_</td><td>N</td><td/><td/><td>ISRelease</td><td>1</td><td>Text</td><td/><td>Foreign key into the ISRelease table.</td></row> + <row><td>ISLogicalDiskFeatures</td><td>Sequence</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>File sequence number for the file for this media.</td></row> + <row><td>ISMergeModule</td><td>Destination</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Destination. +</td></row> + <row><td>ISMergeModule</td><td>ISAttributes</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>This is used to store Installshield custom properties of a merge module.</td></row> + <row><td>ISMergeModule</td><td>ISMergeModule</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>The GUID identifying the merge module. +</td></row> + <row><td>ISMergeModule</td><td>Language</td><td>N</td><td/><td/><td/><td/><td/><td/><td>Default decimal language of module.</td></row> + <row><td>ISMergeModule</td><td>Name</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Name of the merge module. +</td></row> + <row><td>ISMergeModuleCfgValues</td><td>Attributes</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>Attributes (from configurable merge module)</td></row> + <row><td>ISMergeModuleCfgValues</td><td>ContextData</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>ContextData (from configurable merge module)</td></row> + <row><td>ISMergeModuleCfgValues</td><td>DefaultValue</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>DefaultValue (from configurable merge module)</td></row> + <row><td>ISMergeModuleCfgValues</td><td>Description</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Description (from configurable merge module)</td></row> + <row><td>ISMergeModuleCfgValues</td><td>DisplayName</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>DisplayName (from configurable merge module)</td></row> + <row><td>ISMergeModuleCfgValues</td><td>Format</td><td>N</td><td/><td/><td/><td/><td/><td/><td>Format (from configurable merge module)</td></row> + <row><td>ISMergeModuleCfgValues</td><td>HelpKeyword</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>HelpKeyword (from configurable merge module)</td></row> + <row><td>ISMergeModuleCfgValues</td><td>HelpLocation</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>HelpLocation (from configurable merge module)</td></row> + <row><td>ISMergeModuleCfgValues</td><td>ISMergeModule_</td><td>N</td><td/><td/><td>ISMergeModule</td><td>1</td><td>Text</td><td/><td>The module signature, a foreign key into the ISMergeModule table</td></row> + <row><td>ISMergeModuleCfgValues</td><td>Language_</td><td>N</td><td/><td/><td>ISMergeModule</td><td>2</td><td/><td/><td>Default decimal language of module.</td></row> + <row><td>ISMergeModuleCfgValues</td><td>ModuleConfiguration_</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Identifier, foreign key into ModuleConfiguration table (ModuleConfiguration.Name)</td></row> + <row><td>ISMergeModuleCfgValues</td><td>Type</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Type (from configurable merge module)</td></row> + <row><td>ISMergeModuleCfgValues</td><td>Value</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Value for this item.</td></row> + <row><td>ISObject</td><td>Language</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td/></row> + <row><td>ISObject</td><td>ObjectName</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td/></row> + <row><td>ISObjectProperty</td><td>IncludeInBuild</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>Boolean, 0 for false non 0 for true</td></row> + <row><td>ISObjectProperty</td><td>ObjectName</td><td>Y</td><td/><td/><td>ISObject</td><td>1</td><td>Text</td><td/><td/></row> + <row><td>ISObjectProperty</td><td>Property</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td/></row> + <row><td>ISObjectProperty</td><td>Value</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td/></row> + <row><td>ISPalmApp</td><td>Component</td><td>N</td><td/><td/><td>Component</td><td>1</td><td/><td/><td/></row> + <row><td>ISPalmApp</td><td>PalmApp</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISPalmAppFile</td><td>Destination</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISPalmAppFile</td><td>FileKey</td><td>N</td><td/><td/><td>File</td><td>1</td><td/><td/><td/></row> + <row><td>ISPalmAppFile</td><td>PalmApp</td><td>N</td><td/><td/><td>ISPalmApp</td><td>1</td><td/><td/><td/></row> + <row><td>ISPatchConfigImage</td><td>PatchConfiguration_</td><td>Y</td><td/><td/><td>ISPatchConfiguration</td><td>1</td><td>Text</td><td/><td>Foreign key to the ISPatchConfigurationTable</td></row> + <row><td>ISPatchConfigImage</td><td>UpgradedImage_</td><td>N</td><td/><td/><td>ISUpgradedImage</td><td>1</td><td>Text</td><td/><td>Foreign key to the ISUpgradedImageTable</td></row> + <row><td>ISPatchConfiguration</td><td>Attributes</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>PatchConfiguration attributes</td></row> + <row><td>ISPatchConfiguration</td><td>CanPCDiffer</td><td>N</td><td/><td/><td/><td/><td/><td/><td>This is determine whether Product Codes may differ</td></row> + <row><td>ISPatchConfiguration</td><td>CanPVDiffer</td><td>N</td><td/><td/><td/><td/><td/><td/><td>This is determine whether the Major Product Version may differ</td></row> + <row><td>ISPatchConfiguration</td><td>EnablePatchCache</td><td>N</td><td/><td/><td/><td/><td/><td/><td>This is determine whether to Enable Patch cacheing</td></row> + <row><td>ISPatchConfiguration</td><td>Flags</td><td>N</td><td/><td/><td/><td/><td/><td/><td>Patching API Flags</td></row> + <row><td>ISPatchConfiguration</td><td>IncludeWholeFiles</td><td>N</td><td/><td/><td/><td/><td/><td/><td>This is determine whether to build a binary level patch</td></row> + <row><td>ISPatchConfiguration</td><td>LeaveDecompressed</td><td>N</td><td/><td/><td/><td/><td/><td/><td>This is determine whether to leave intermediate files devcompressed when finished</td></row> + <row><td>ISPatchConfiguration</td><td>MinMsiVersion</td><td>N</td><td/><td/><td/><td/><td/><td/><td>Minimum Required MSI Version</td></row> + <row><td>ISPatchConfiguration</td><td>Name</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Name of the Patch Configuration</td></row> + <row><td>ISPatchConfiguration</td><td>OptimizeForSize</td><td>N</td><td/><td/><td/><td/><td/><td/><td>This is determine whether to Optimize for large files</td></row> + <row><td>ISPatchConfiguration</td><td>OutputPath</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Build Location</td></row> + <row><td>ISPatchConfiguration</td><td>PatchCacheDir</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Directory to recieve the Patch Cache information</td></row> + <row><td>ISPatchConfiguration</td><td>PatchGuid</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Unique Patch Identifier</td></row> + <row><td>ISPatchConfiguration</td><td>PatchGuidsToReplace</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>List Of Patch Guids to unregister</td></row> + <row><td>ISPatchConfiguration</td><td>TargetProductCodes</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>List Of target Product Codes</td></row> + <row><td>ISPatchConfigurationProperty</td><td>ISPatchConfiguration_</td><td>Y</td><td/><td/><td>ISPatchConfiguration</td><td>1</td><td>Text</td><td/><td>Name of the Patch Configuration</td></row> + <row><td>ISPatchConfigurationProperty</td><td>Property</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Name of the Patch Configuration Property value</td></row> + <row><td>ISPatchConfigurationProperty</td><td>Value</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Value of the Patch Configuration Property</td></row> + <row><td>ISPatchExternalFile</td><td>FileKey</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Filekey</td></row> + <row><td>ISPatchExternalFile</td><td>FilePath</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Filepath</td></row> + <row><td>ISPatchExternalFile</td><td>ISUpgradedImage_</td><td>N</td><td/><td/><td>ISUpgradedImage</td><td>1</td><td>Text</td><td/><td>Foreign key to the isupgraded image table</td></row> + <row><td>ISPatchExternalFile</td><td>Name</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Uniqu name to identify this record.</td></row> + <row><td>ISPatchWholeFile</td><td>Component</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Component containing file key</td></row> + <row><td>ISPatchWholeFile</td><td>FileKey</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Key of file to be included as whole</td></row> + <row><td>ISPatchWholeFile</td><td>UpgradedImage</td><td>N</td><td/><td/><td>ISUpgradedImage</td><td>1</td><td>Text</td><td/><td>Foreign key to ISUpgradedImage Table</td></row> + <row><td>ISPathVariable</td><td>ISPathVariable</td><td>N</td><td/><td/><td/><td/><td/><td/><td>The name of the path variable.</td></row> + <row><td>ISPathVariable</td><td>TestValue</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>The test value of the path variable.</td></row> + <row><td>ISPathVariable</td><td>Type</td><td>N</td><td/><td/><td/><td/><td/><td>1;2;4;8</td><td>The type of the path variable.</td></row> + <row><td>ISPathVariable</td><td>Value</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>The value of the path variable.</td></row> + <row><td>ISProductConfiguration</td><td>GeneratePackageCode</td><td>Y</td><td/><td/><td/><td/><td>Number</td><td>0;1</td><td>Indicates whether or not to generate a package code. +</td></row> + <row><td>ISProductConfiguration</td><td>ISProductConfiguration</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>The name of the product configuration. +</td></row> + <row><td>ISProductConfiguration</td><td>ProductConfigurationFlags</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Product configuration (release) flags. +</td></row> + <row><td>ISProductConfigurationInstance</td><td>ISProductConfiguration_</td><td>N</td><td/><td/><td>ISProductConfiguration</td><td>1</td><td>Text</td><td/><td>Foreign key into the ISProductConfiguration table. +</td></row> + <row><td>ISProductConfigurationInstance</td><td>InstanceId</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>Identifies the instance number of this instance. This value is stored in the Property InstanceId.</td></row> + <row><td>ISProductConfigurationInstance</td><td>Property</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Product Congiuration property name</td></row> + <row><td>ISProductConfigurationInstance</td><td>Value</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>String value for property.</td></row> + <row><td>ISProductConfigurationProperty</td><td>ISProductConfiguration_</td><td>N</td><td/><td/><td>ISProductConfiguration</td><td>1</td><td>Text</td><td/><td>Foreign key into the ISProductConfiguration table. +</td></row> + <row><td>ISProductConfigurationProperty</td><td>Property</td><td>N</td><td/><td/><td>Property</td><td>1</td><td>Text</td><td/><td>Product Congiuration property name</td></row> + <row><td>ISProductConfigurationProperty</td><td>Value</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>String value for property. Never null or empty. + + + +</td></row> + <row><td>ISRelease</td><td>Attributes</td><td>N</td><td/><td/><td/><td/><td/><td/><td>Bitfield holding boolean values for various release attributes.</td></row> + <row><td>ISRelease</td><td>BuildLocation</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Build location.</td></row> + <row><td>ISRelease</td><td>CDBrowser</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Demoshield browser location.</td></row> + <row><td>ISRelease</td><td>DefaultLanguage</td><td>N</td><td/><td/><td/><td/><td>Language</td><td/><td>Default language for setup.</td></row> + <row><td>ISRelease</td><td>DigitalPVK</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Digital signing private key (.pvk) file.</td></row> + <row><td>ISRelease</td><td>DigitalSPC</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Digital signing Software Publisher Certificate (.spc) file.</td></row> + <row><td>ISRelease</td><td>DigitalURL</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Digital signing URL.</td></row> + <row><td>ISRelease</td><td>DiskClusterSize</td><td>N</td><td/><td/><td/><td/><td/><td/><td>Disk cluster size.</td></row> + <row><td>ISRelease</td><td>DiskSize</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Disk size.</td></row> + <row><td>ISRelease</td><td>DiskSizeUnit</td><td>N</td><td/><td/><td/><td/><td/><td>0;1;2</td><td>Disk size units (KB or MB).</td></row> + <row><td>ISRelease</td><td>DiskSpanning</td><td>N</td><td/><td/><td/><td/><td/><td>0;1;2</td><td>Disk spanning (automatic, enforce size, etc.).</td></row> + <row><td>ISRelease</td><td>DotNetBuildConfiguration</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Build Configuration for .NET solutions.</td></row> + <row><td>ISRelease</td><td>ISProductConfiguration_</td><td>N</td><td/><td/><td>ISProductConfiguration</td><td>1</td><td>Text</td><td/><td>Foreign key into the ISProductConfiguration table.</td></row> + <row><td>ISRelease</td><td>ISRelease</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>The name of the release. +</td></row> + <row><td>ISRelease</td><td>ISSetupPrerequisiteLocation</td><td>Y</td><td/><td/><td/><td/><td/><td>0;1;2</td><td>Location the Setup Prerequisites will be placed in</td></row> + <row><td>ISRelease</td><td>MediaLocation</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Media location on disk.</td></row> + <row><td>ISRelease</td><td>MsiCommandLine</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Command line passed to the msi package from setup.exe</td></row> + <row><td>ISRelease</td><td>MsiSourceType</td><td>N</td><td>-1</td><td>4</td><td/><td/><td/><td/><td>MSI media source type.</td></row> + <row><td>ISRelease</td><td>PackageName</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Package name.</td></row> + <row><td>ISRelease</td><td>Password</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Password.</td></row> + <row><td>ISRelease</td><td>Platforms</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Platforms supported (Intel, Alpha, etc.).</td></row> + <row><td>ISRelease</td><td>ReleaseFlags</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Release flags.</td></row> + <row><td>ISRelease</td><td>ReleaseType</td><td>N</td><td/><td/><td/><td/><td/><td>1;2;4</td><td>Release type (single, uncompressed, etc.).</td></row> + <row><td>ISRelease</td><td>SupportedLanguagesData</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Languages supported (for component filtering).</td></row> + <row><td>ISRelease</td><td>SupportedLanguagesUI</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>UI languages supported.</td></row> + <row><td>ISRelease</td><td>SupportedOSs</td><td>N</td><td/><td/><td/><td/><td/><td/><td>Indicate which operating systmes are supported.</td></row> + <row><td>ISRelease</td><td>SynchMsi</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>MSI file to synchronize file keys and other data with (patch-like functionality).</td></row> + <row><td>ISRelease</td><td>Type</td><td>N</td><td>0</td><td>6</td><td/><td/><td/><td/><td>Release type (CDROM, Network, etc.).</td></row> + <row><td>ISRelease</td><td>URLLocation</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Media location via URL.</td></row> + <row><td>ISRelease</td><td>VersionCopyright</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Version stamp information.</td></row> + <row><td>ISReleaseExtended</td><td>Attributes</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>Bitfield holding boolean values for various release attributes.</td></row> + <row><td>ISReleaseExtended</td><td>CertPassword</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Digital certificate password</td></row> + <row><td>ISReleaseExtended</td><td>DigitalCertificateDBaseNS</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Path to cerificate database for Netscape digital signature</td></row> + <row><td>ISReleaseExtended</td><td>DigitalCertificateIdNS</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Path to cerificate ID for Netscape digital signature</td></row> + <row><td>ISReleaseExtended</td><td>DigitalCertificatePasswordNS</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Password for Netscape digital signature</td></row> + <row><td>ISReleaseExtended</td><td>DotNetBaseLanguage</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Base Languge of .NET Redist</td></row> + <row><td>ISReleaseExtended</td><td>DotNetFxCmdLine</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Command Line to pass to DotNetFx.exe</td></row> + <row><td>ISReleaseExtended</td><td>DotNetLangPackCmdLine</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Command Line to pass to LangPack.exe</td></row> + <row><td>ISReleaseExtended</td><td>DotNetLangaugePacks</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>.NET Redist language packs to include</td></row> + <row><td>ISReleaseExtended</td><td>DotNetRedistLocation</td><td>Y</td><td>0</td><td>3</td><td/><td/><td/><td/><td>Location of .NET framework Redist (Web, SetupExe, Source, None)</td></row> + <row><td>ISReleaseExtended</td><td>DotNetRedistURL</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>URL to .NET framework Redist</td></row> + <row><td>ISReleaseExtended</td><td>DotNetVersion</td><td>Y</td><td>0</td><td>1</td><td/><td/><td/><td/><td>Version of .NET framework Redist (1.0, 1.1)</td></row> + <row><td>ISReleaseExtended</td><td>EngineLocation</td><td>Y</td><td>0</td><td>2</td><td/><td/><td/><td/><td>Location of msi engine (Web, SetupExe...)</td></row> + <row><td>ISReleaseExtended</td><td>ISEngineLocation</td><td>Y</td><td>0</td><td>2</td><td/><td/><td/><td/><td>Location of ISScript engine (Web, SetupExe...)</td></row> + <row><td>ISReleaseExtended</td><td>ISEngineURL</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>URL to InstallShield scripting engine</td></row> + <row><td>ISReleaseExtended</td><td>ISProductConfiguration_</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Foreign key into the ISProductConfiguration table.</td></row> + <row><td>ISReleaseExtended</td><td>ISRelease_</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>The name of the release.</td></row> + <row><td>ISReleaseExtended</td><td>JSharpCmdLine</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Command Line to pass to vjredist.exe</td></row> + <row><td>ISReleaseExtended</td><td>JSharpRedistLocation</td><td>Y</td><td>0</td><td>3</td><td/><td/><td/><td/><td>Location of J# framework Redist (Web, SetupExe, Source, None)</td></row> + <row><td>ISReleaseExtended</td><td>MsiEngineVersion</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>Bitfield holding selected MSI engine versions included in this release</td></row> + <row><td>ISReleaseExtended</td><td>OneClickCabName</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>File name of generated cabfile</td></row> + <row><td>ISReleaseExtended</td><td>OneClickHtmlName</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>File name of generated html page</td></row> + <row><td>ISReleaseExtended</td><td>OneClickTargetBrowser</td><td>Y</td><td>0</td><td>2</td><td/><td/><td/><td/><td>Target browser (IE, Netscape, both...)</td></row> + <row><td>ISReleaseExtended</td><td>WebCabSize</td><td>Y</td><td>0</td><td>781-516-4501</td><td/><td/><td/><td/><td>Size of the cabfile</td></row> + <row><td>ISReleaseExtended</td><td>WebLocalCachePath</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Directory to cache downloaded package</td></row> + <row><td>ISReleaseExtended</td><td>WebType</td><td>Y</td><td>0</td><td>2</td><td/><td/><td/><td/><td>Type of web install (One Executable, Downloader...)</td></row> + <row><td>ISReleaseExtended</td><td>WebURL</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>URL to .msi package</td></row> + <row><td>ISReleaseExtended</td><td>Win9xMsiUrl</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>URL to Ansi MSI engine</td></row> + <row><td>ISReleaseExtended</td><td>WinMsi30Url</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>URL to MSI 3.0 engine</td></row> + <row><td>ISReleaseExtended</td><td>WinNTMsiUrl</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>URL to Unicode MSI engine</td></row> + <row><td>ISSQLConnection</td><td>Attributes</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLConnection</td><td>Authentication</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLConnection</td><td>Comments</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLConnection</td><td>Database</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLConnection</td><td>ISSQLConnection</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLConnection</td><td>Order</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLConnection</td><td>Password</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLConnection</td><td>Server</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLConnection</td><td>UserName</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLConnectionScript</td><td>ISSQLConnection_</td><td>N</td><td/><td/><td>ISSQLConnection</td><td>1</td><td/><td/><td/></row> + <row><td>ISSQLConnectionScript</td><td>ISSQLScriptFile_</td><td>N</td><td/><td/><td>ISSQLScriptFile</td><td>1</td><td/><td/><td/></row> + <row><td>ISSQLConnectionScript</td><td>Order</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLRequirement</td><td>Attributes</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLRequirement</td><td>ISSQLConnection_</td><td>N</td><td/><td/><td>ISSQLConnection</td><td>1</td><td/><td/><td/></row> + <row><td>ISSQLRequirement</td><td>ISSQLRequirement</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLRequirement</td><td>MajorVersion</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLRequirement</td><td>ServicePackLevel</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLScriptError</td><td>Attributes</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLScriptError</td><td>ErrHandling</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLScriptError</td><td>ErrNumber</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLScriptError</td><td>ISSQLScriptFile_</td><td>Y</td><td/><td/><td>ISSQLScriptFile</td><td>1</td><td>Identifier</td><td/><td>Foreign key referencing ISSQLScriptFile</td></row> + <row><td>ISSQLScriptError</td><td>Message</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Custom end-user message. Reserved for future use.</td></row> + <row><td>ISSQLScriptFile</td><td>Attributes</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLScriptFile</td><td>Comments</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Comments</td></row> + <row><td>ISSQLScriptFile</td><td>Component_</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Foreign key referencing Component that controls the SQL script.</td></row> + <row><td>ISSQLScriptFile</td><td>ErrorHandling</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLScriptFile</td><td>ISBuildSourcePath</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Full path, the category is of Text instead of Path because of potential use of path variables.</td></row> + <row><td>ISSQLScriptFile</td><td>ISSQLScriptFile</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>This is the primary key to the ISSQLScriptFile table</td></row> + <row><td>ISSQLScriptFile</td><td>InstallText</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Feedback end-user text at install</td></row> + <row><td>ISSQLScriptFile</td><td>Scheduling</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLScriptFile</td><td>UninstallText</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Feedback end-user text at Uninstall</td></row> + <row><td>ISSQLScriptFile</td><td>Version</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Schema Version (####.#####.####)</td></row> + <row><td>ISSQLScriptImport</td><td>Attributes</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLScriptImport</td><td>Authentication</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLScriptImport</td><td>Database</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLScriptImport</td><td>ExcludeTables</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLScriptImport</td><td>ISSQLScriptFile_</td><td>N</td><td/><td/><td>ISSQLScriptFile</td><td>1</td><td/><td/><td/></row> + <row><td>ISSQLScriptImport</td><td>IncludeTables</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLScriptImport</td><td>Password</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLScriptImport</td><td>Server</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLScriptImport</td><td>UserName</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLScriptReplace</td><td>Attributes</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLScriptReplace</td><td>ISSQLScriptFile_</td><td>N</td><td/><td/><td>ISSQLScriptFile</td><td>1</td><td/><td/><td/></row> + <row><td>ISSQLScriptReplace</td><td>ISSQLScriptReplace</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLScriptReplace</td><td>Replace</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSQLScriptReplace</td><td>Search</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISScriptFile</td><td>ISScriptFile</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>This is the full path of the script file. The path portion may be expressed in path variable form. +</td></row> + <row><td>ISSelfReg</td><td>CmdLine</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSelfReg</td><td>Cost</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSelfReg</td><td>FileKey</td><td>N</td><td/><td/><td>File</td><td>1</td><td>Identifier</td><td/><td>Foreign key to the file table</td></row> + <row><td>ISSelfReg</td><td>Order</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSetupFile</td><td>FileName</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>This is the file name to use when streaming the file to the support files location</td></row> + <row><td>ISSetupFile</td><td>ISSetupFile</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>This is the primary key to the ISSetupFile table</td></row> + <row><td>ISSetupFile</td><td>Language</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Four digit language identifier. 0 for Language Neutral</td></row> + <row><td>ISSetupFile</td><td>Path</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Link to the source file on the build machine</td></row> + <row><td>ISSetupFile</td><td>Splash</td><td>Y</td><td/><td/><td/><td/><td>Short</td><td/><td>Boolean value indication whether his setup file entry belongs in the Splasc Screen section</td></row> + <row><td>ISSetupFile</td><td>Stream</td><td>Y</td><td/><td/><td/><td/><td>Binary</td><td/><td>Binary stream. The bits to stream to the support location</td></row> + <row><td>ISSetupPrerequisites</td><td>ISBuildSourcePath</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSetupPrerequisites</td><td>ISSetupPrerequisites</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSetupPrerequisites</td><td>Order</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISSetupType</td><td>Comments</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>User Comments.</td></row> + <row><td>ISSetupType</td><td>Description</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Longer descriptive text describing a visible feature item.</td></row> + <row><td>ISSetupType</td><td>Display</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>Numeric sort order, used to force a specific display ordering.</td></row> + <row><td>ISSetupType</td><td>Display_Name</td><td>Y</td><td/><td/><td/><td/><td>Formatted</td><td/><td>A string used to set the initial text contained within a control (if appropriate).</td></row> + <row><td>ISSetupType</td><td>ISSetupType</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Primary key used to identify a particular feature record.</td></row> + <row><td>ISSetupTypeFeatures</td><td>Feature_</td><td>N</td><td/><td/><td>Feature</td><td>1</td><td>Identifier</td><td/><td>Foreign key into Feature table.</td></row> + <row><td>ISSetupTypeFeatures</td><td>ISSetupType_</td><td>N</td><td/><td/><td>ISSetupType</td><td>1</td><td>Identifier</td><td/><td>Foreign key into ISSetupType table.</td></row> + <row><td>ISStorages</td><td>ISBuildSourcePath</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>Path to the file to stream into sub-storage</td></row> + <row><td>ISStorages</td><td>Name</td><td>N</td><td/><td/><td/><td/><td/><td/><td>Name of the sub-storage key</td></row> + <row><td>ISString</td><td>Comment</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Comment</td></row> + <row><td>ISString</td><td>Encoded</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>Encoding for multi-byte strings.</td></row> + <row><td>ISString</td><td>ISLanguage_</td><td>N</td><td/><td/><td/><td/><td>Language</td><td/><td>This is a foreign key to the ISLanguage table.</td></row> + <row><td>ISString</td><td>ISString</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>String id.</td></row> + <row><td>ISString</td><td>TimeStamp</td><td>Y</td><td/><td/><td/><td/><td>Time/Date</td><td/><td>Time Stamp. MSI's Time/Date column type is just an int, with bits packed in a certain order.</td></row> + <row><td>ISString</td><td>Value</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>real string value.</td></row> + <row><td>ISTargetImage</td><td>Flags</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>relative order of the target image</td></row> + <row><td>ISTargetImage</td><td>IgnoreMissingFiles</td><td>N</td><td/><td/><td/><td/><td/><td/><td>If true, ignore missing source files when creating patch</td></row> + <row><td>ISTargetImage</td><td>MsiPath</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Path to the target image</td></row> + <row><td>ISTargetImage</td><td>Name</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Name of the TargetImage</td></row> + <row><td>ISTargetImage</td><td>Order</td><td>N</td><td/><td/><td/><td/><td/><td/><td>relative order of the target image</td></row> + <row><td>ISTargetImage</td><td>UpgradedImage_</td><td>N</td><td/><td/><td>ISUpgradedImage</td><td>1</td><td>Text</td><td/><td>foreign key to the upgraded Image table</td></row> + <row><td>ISUpgradeMsiItem</td><td>ISAttributes</td><td>N</td><td/><td/><td/><td/><td/><td>0;1</td><td/></row> + <row><td>ISUpgradeMsiItem</td><td>ISReleaseFlags</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISUpgradeMsiItem</td><td>ObjectSetupPath</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>The path to the setup you want to upgrade.</td></row> + <row><td>ISUpgradeMsiItem</td><td>UpgradeItem</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>The name of the Upgrade Item.</td></row> + <row><td>ISUpgradedImage</td><td>Family</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Name of the image family</td></row> + <row><td>ISUpgradedImage</td><td>MsiPath</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Path to the upgraded image</td></row> + <row><td>ISUpgradedImage</td><td>Name</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Name of the UpgradedImage</td></row> + <row><td>ISVRoot</td><td>AnonyPasswrd</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Obsolete column. Moved to IISCommon</td></row> + <row><td>ISVRoot</td><td>AnonyUserName</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Obsolete column. Moved to IISCommon</td></row> + <row><td>ISVRoot</td><td>Component_</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Text</td><td/><td>Foreign key into Component table</td></row> + <row><td>ISVRoot</td><td>Condition</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Obsolete column. Moved to Component</td></row> + <row><td>ISVRoot</td><td>ScriptTimeout</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>Obsolete column. Moved to IISCommon</td></row> + <row><td>ISVRoot</td><td>SessionTimeout</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>Obsolete column. Moved to IISCommon</td></row> + <row><td>ISVRoot</td><td>VRootAppName</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>AppName of this VRoot</td></row> + <row><td>ISVRoot</td><td>VRootDefDoc</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Obsolete column. Moved to IISCommon</td></row> + <row><td>ISVRoot</td><td>VRootDir</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Obsolete column. Moved to IISCommon</td></row> + <row><td>ISVRoot</td><td>VRootKey</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Foreign key into ISIISCommon table</td></row> + <row><td>ISVRoot</td><td>VRootName</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Obsolete column. Moved to IISCommon</td></row> + <row><td>ISVRoot</td><td>VRootProps</td><td>N</td><td/><td/><td/><td/><td/><td/><td>Properties of this VRoot</td></row> + <row><td>ISVRootAppMaps</td><td>AppMapProps</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISVRootAppMaps</td><td>ExecPath</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Localizable Exec Path</td></row> + <row><td>ISVRootAppMaps</td><td>Extension</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Localizable Extension</td></row> + <row><td>ISVRootAppMaps</td><td>VRootAppMapKey</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISVRootAppMaps</td><td>VRootKey</td><td>N</td><td/><td/><td>ISIISCommon</td><td>1</td><td/><td/><td/></row> + <row><td>ISVRootAppMaps</td><td>Verb</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Localizable Verb</td></row> + <row><td>ISWebSite</td><td>IP</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISWebSite</td><td>ISIISCommon_</td><td>N</td><td/><td/><td>ISIISCommon</td><td>1</td><td>Text</td><td/><td>Foreign key into ISIISCommon table</td></row> + <row><td>ISWebSite</td><td>Port</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISWebSite</td><td>SiteNumber</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ISWebSite</td><td>WebSiteProps</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>Icon</td><td>Data</td><td>Y</td><td/><td/><td/><td/><td>Binary</td><td/><td>Binary stream. The binary icon data in PE (.DLL or .EXE) or icon (.ICO) format.</td></row> + <row><td>Icon</td><td>ISBuildSourcePath</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Full path to the ICO or EXE file.</td></row> + <row><td>Icon</td><td>ISIconIndex</td><td>Y</td><td>-32767</td><td>32767</td><td/><td/><td/><td/><td>Optional icon index to be extracted.</td></row> + <row><td>Icon</td><td>Name</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Primary key. Name of the icon file.</td></row> + <row><td>IniFile</td><td>Action</td><td>N</td><td/><td/><td/><td/><td/><td>0;1;3</td><td>The type of modification to be made, one of iifEnum</td></row> + <row><td>IniFile</td><td>Component_</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Foreign key into the Component table referencing component that controls the installing of the .INI value.</td></row> + <row><td>IniFile</td><td>DirProperty</td><td>Y</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Foreign key into the Directory table denoting the directory where the .INI file is.</td></row> + <row><td>IniFile</td><td>FileName</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>The .INI file name in which to write the information</td></row> + <row><td>IniFile</td><td>IniFile</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Primary key, non-localized token.</td></row> + <row><td>IniFile</td><td>Key</td><td>N</td><td/><td/><td/><td/><td>Formatted</td><td/><td>The .INI file key below Section.</td></row> + <row><td>IniFile</td><td>Section</td><td>N</td><td/><td/><td/><td/><td>Formatted</td><td/><td>The .INI file Section.</td></row> + <row><td>IniFile</td><td>Value</td><td>N</td><td/><td/><td/><td/><td>Formatted</td><td/><td>The value to be written.</td></row> + <row><td>IniLocator</td><td>Field</td><td>Y</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>The field in the .INI line. If Field is null or 0 the entire line is read.</td></row> + <row><td>IniLocator</td><td>FileName</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>The .INI file name.</td></row> + <row><td>IniLocator</td><td>Key</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Key value (followed by an equals sign in INI file).</td></row> + <row><td>IniLocator</td><td>Section</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Section name within in file (within square brackets in INI file).</td></row> + <row><td>IniLocator</td><td>Signature_</td><td>N</td><td/><td/><td>Signature</td><td>1</td><td>Identifier</td><td/><td>The table key. The Signature_ represents a unique file signature and is also the foreign key in the Signature table.</td></row> + <row><td>IniLocator</td><td>Type</td><td>Y</td><td>0</td><td>2</td><td/><td/><td/><td/><td>An integer value that determines if the .INI value read is a filename or a directory location or to be used as is w/o interpretation.</td></row> + <row><td>InstallExecuteSequence</td><td>Action</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Name of action to invoke, either in the engine or the handler DLL.</td></row> + <row><td>InstallExecuteSequence</td><td>Condition</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Optional expression which skips the action if evaluates to expFalse.If the expression syntax is invalid, the engine will terminate, returning iesBadActionData.</td></row> + <row><td>InstallExecuteSequence</td><td>ISAttributes</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>This is used to store MM Custom Action Types</td></row> + <row><td>InstallExecuteSequence</td><td>ISComments</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td dt:dt="bin.base64" md5="ee654261ffce9c7f08d4789d0f5b202c"> +QQB1AHQAaABvAHIAGSBzACAAYwBvAG0AbQBlAG4AdABzACAAbwBuACAAdABoAGkAcwAgAFMAZQBxAHUAZQBuAGMAZQAuAA== + </td></row> + <row><td>InstallExecuteSequence</td><td>Sequence</td><td>Y</td><td>-4</td><td>32767</td><td/><td/><td/><td/><td>Number that determines the sort order in which the actions are to be executed. Leave blank to suppress action.</td></row> + <row><td>InstallShield</td><td>Property</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Name of property, uppercase if settable by launcher or loader.</td></row> + <row><td>InstallShield</td><td>Value</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>String value for property.</td></row> + <row><td>InstallUISequence</td><td>Action</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Name of action to invoke, either in the engine or the handler DLL.</td></row> + <row><td>InstallUISequence</td><td>Condition</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Optional expression which skips the action if evaluates to expFalse.If the expression syntax is invalid, the engine will terminate, returning iesBadActionData.</td></row> + <row><td>InstallUISequence</td><td>ISAttributes</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>This is used to store MM Custom Action Types</td></row> + <row><td>InstallUISequence</td><td>ISComments</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td dt:dt="bin.base64" md5="ee654261ffce9c7f08d4789d0f5b202c"> +QQB1AHQAaABvAHIAGSBzACAAYwBvAG0AbQBlAG4AdABzACAAbwBuACAAdABoAGkAcwAgAFMAZQBxAHUAZQBuAGMAZQAuAA== + </td></row> + <row><td>InstallUISequence</td><td>Sequence</td><td>Y</td><td>-4</td><td>32767</td><td/><td/><td/><td/><td>Number that determines the sort order in which the actions are to be executed. Leave blank to suppress action.</td></row> + <row><td>IsolatedComponent</td><td>Component_Application</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Key to Component table item for application</td></row> + <row><td>IsolatedComponent</td><td>Component_Shared</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Key to Component table item to be isolated</td></row> + <row><td>LaunchCondition</td><td>Condition</td><td>N</td><td/><td/><td/><td/><td>Condition</td><td/><td>Expression which must evaluate to TRUE in order for install to commence.</td></row> + <row><td>LaunchCondition</td><td>Description</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Localizable text to display when condition fails and install must abort.</td></row> + <row><td>ListBox</td><td>Order</td><td>N</td><td>1</td><td>32767</td><td/><td/><td/><td/><td>A positive integer used to determine the ordering of the items within one list..The integers do not have to be consecutive.</td></row> + <row><td>ListBox</td><td>Property</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>A named property to be tied to this item. All the items tied to the same property become part of the same listbox.</td></row> + <row><td>ListBox</td><td>Text</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>The visible text to be assigned to the item. Optional. If this entry or the entire column is missing, the text is the same as the value.</td></row> + <row><td>ListBox</td><td>Value</td><td>N</td><td/><td/><td/><td/><td>Formatted</td><td/><td>The value string associated with this item. Selecting the line will set the associated property to this value.</td></row> + <row><td>ListView</td><td>Binary_</td><td>Y</td><td/><td/><td>Binary</td><td>1</td><td>Identifier</td><td/><td>The name of the icon to be displayed with the icon. The binary information is looked up from the Binary Table.</td></row> + <row><td>ListView</td><td>Order</td><td>N</td><td>1</td><td>32767</td><td/><td/><td/><td/><td>A positive integer used to determine the ordering of the items within one list..The integers do not have to be consecutive.</td></row> + <row><td>ListView</td><td>Property</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>A named property to be tied to this item. All the items tied to the same property become part of the same listview.</td></row> + <row><td>ListView</td><td>Text</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>The visible text to be assigned to the item. Optional. If this entry or the entire column is missing, the text is the same as the value.</td></row> + <row><td>ListView</td><td>Value</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>The value string associated with this item. Selecting the line will set the associated property to this value.</td></row> + <row><td>LockPermissions</td><td>Domain</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Domain name for user whose permissions are being set. (usually a property)</td></row> + <row><td>LockPermissions</td><td>LockObject</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Foreign key into Registry or File table</td></row> + <row><td>LockPermissions</td><td>Permission</td><td>Y</td><td>-781-516-4501</td><td>781-516-4501</td><td/><td/><td/><td/><td>Permission Access mask. Full Control = 268435456 (GENERIC_ALL = 0x10000000)</td></row> + <row><td>LockPermissions</td><td>Table</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td>Directory;File;Registry</td><td>Reference to another table name</td></row> + <row><td>LockPermissions</td><td>User</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>User for permissions to be set. (usually a property)</td></row> + <row><td>MIME</td><td>CLSID</td><td>Y</td><td/><td/><td>Class</td><td>1</td><td>Guid</td><td/><td>Optional associated CLSID.</td></row> + <row><td>MIME</td><td>ContentType</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Primary key. Context identifier, typically "type/format".</td></row> + <row><td>MIME</td><td>Extension_</td><td>N</td><td/><td/><td>Extension</td><td>1</td><td>Text</td><td/><td>Optional associated extension (without dot)</td></row> + <row><td>Media</td><td>Cabinet</td><td>Y</td><td/><td/><td/><td/><td>Cabinet</td><td/><td>If some or all of the files stored on the media are compressed in a cabinet, the name of that cabinet.</td></row> + <row><td>Media</td><td>DiskId</td><td>N</td><td>1</td><td>32767</td><td/><td/><td/><td/><td>Primary key, integer to determine sort order for table.</td></row> + <row><td>Media</td><td>DiskPrompt</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Disk name: the visible text actually printed on the disk. This will be used to prompt the user when this disk needs to be inserted.</td></row> + <row><td>Media</td><td>LastSequence</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>File sequence number for the last file for this media.</td></row> + <row><td>Media</td><td>Source</td><td>Y</td><td/><td/><td/><td/><td>Property</td><td/><td>The property defining the location of the cabinet file.</td></row> + <row><td>Media</td><td>VolumeLabel</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>The label attributed to the volume.</td></row> + <row><td>MoveFile</td><td>Component_</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>If this component is not "selected" for installation or removal, no action will be taken on the associated MoveFile entry</td></row> + <row><td>MoveFile</td><td>DestFolder</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Name of a property whose value is assumed to resolve to the full path to the destination directory</td></row> + <row><td>MoveFile</td><td>DestName</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Name to be given to the original file after it is moved or copied. If blank, the destination file will be given the same name as the source file</td></row> + <row><td>MoveFile</td><td>FileKey</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Primary key that uniquely identifies a particular MoveFile record</td></row> + <row><td>MoveFile</td><td>Options</td><td>N</td><td>0</td><td>1</td><td/><td/><td/><td/><td>Integer value specifying the MoveFile operating mode, one of imfoEnum</td></row> + <row><td>MoveFile</td><td>SourceFolder</td><td>Y</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Name of a property whose value is assumed to resolve to the full path to the source directory</td></row> + <row><td>MoveFile</td><td>SourceName</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Name of the source file(s) to be moved or copied. Can contain the '*' or '?' wildcards.</td></row> + <row><td>MsiAssembly</td><td>Attributes</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>Assembly attributes</td></row> + <row><td>MsiAssembly</td><td>Component_</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Foreign key into Component table.</td></row> + <row><td>MsiAssembly</td><td>Feature_</td><td>N</td><td/><td/><td>Feature</td><td>1</td><td>Identifier</td><td/><td>Foreign key into Feature table.</td></row> + <row><td>MsiAssembly</td><td>File_Application</td><td>Y</td><td/><td/><td>File</td><td>1</td><td>Identifier</td><td/><td>Foreign key into File table, denoting the application context for private assemblies. Null for global assemblies.</td></row> + <row><td>MsiAssembly</td><td>File_Manifest</td><td>Y</td><td/><td/><td>File</td><td>1</td><td>Identifier</td><td/><td>Foreign key into the File table denoting the manifest file for the assembly.</td></row> + <row><td>MsiAssemblyName</td><td>Component_</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Foreign key into Component table.</td></row> + <row><td>MsiAssemblyName</td><td>Name</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>The name part of the name-value pairs for the assembly name.</td></row> + <row><td>MsiAssemblyName</td><td>Value</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>The value part of the name-value pairs for the assembly name.</td></row> + <row><td>MsiDigitalCertificate</td><td>CertData</td><td>N</td><td/><td/><td/><td/><td>Binary</td><td/><td>A certificate context blob for a signer certificate</td></row> + <row><td>MsiDigitalCertificate</td><td>DigitalCertificate</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>A unique identifier for the row</td></row> + <row><td>MsiDigitalSignature</td><td>DigitalCertificate_</td><td>N</td><td/><td/><td>MsiDigitalCertificate</td><td>1</td><td>Identifier</td><td/><td>Foreign key to MsiDigitalCertificate table identifying the signer certificate</td></row> + <row><td>MsiDigitalSignature</td><td>Hash</td><td>Y</td><td/><td/><td/><td/><td>Binary</td><td/><td>The encoded hash blob from the digital signature</td></row> + <row><td>MsiDigitalSignature</td><td>SignObject</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Foreign key to Media table</td></row> + <row><td>MsiDigitalSignature</td><td>Table</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Reference to another table name (only Media table is supported)</td></row> + <row><td>MsiDriverPackages</td><td>Component</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Primary key used to identify a particular component record.</td></row> + <row><td>MsiDriverPackages</td><td>Flags</td><td>N</td><td/><td/><td/><td/><td/><td/><td>Driver package flags</td></row> + <row><td>MsiDriverPackages</td><td>ReferenceComponents</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>MsiDriverPackages</td><td>Sequence</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>Installation sequence number</td></row> + <row><td>MsiFileHash</td><td>File_</td><td>N</td><td/><td/><td>File</td><td>1</td><td>Identifier</td><td/><td>Primary key, foreign key into File table referencing file with this hash</td></row> + <row><td>MsiFileHash</td><td>HashPart1</td><td>N</td><td/><td/><td/><td/><td/><td/><td>Size of file in bytes (long integer).</td></row> + <row><td>MsiFileHash</td><td>HashPart2</td><td>N</td><td/><td/><td/><td/><td/><td/><td>Size of file in bytes (long integer).</td></row> + <row><td>MsiFileHash</td><td>HashPart3</td><td>N</td><td/><td/><td/><td/><td/><td/><td>Size of file in bytes (long integer).</td></row> + <row><td>MsiFileHash</td><td>HashPart4</td><td>N</td><td/><td/><td/><td/><td/><td/><td>Size of file in bytes (long integer).</td></row> + <row><td>MsiFileHash</td><td>Options</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>Various options and attributes for this hash.</td></row> + <row><td>MsiPatchOldAssemblyFile</td><td>Assembly_</td><td>Y</td><td/><td/><td>MsiPatchOldAssemblyName</td><td>1</td><td/><td/><td/></row> + <row><td>MsiPatchOldAssemblyFile</td><td>File_</td><td>N</td><td/><td/><td>File</td><td>1</td><td/><td/><td/></row> + <row><td>MsiPatchOldAssemblyName</td><td>Assembly_</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>MsiPatchOldAssemblyName</td><td>Name</td><td>N</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>MsiPatchOldAssemblyName</td><td>Value</td><td>Y</td><td/><td/><td/><td/><td/><td/><td/></row> + <row><td>ODBCAttribute</td><td>Attribute</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Name of ODBC driver attribute</td></row> + <row><td>ODBCAttribute</td><td>Driver_</td><td>N</td><td/><td/><td>ODBCDriver</td><td>1</td><td>Identifier</td><td/><td>Reference to ODBC driver in ODBCDriver table</td></row> + <row><td>ODBCAttribute</td><td>Value</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Value for ODBC driver attribute</td></row> + <row><td>ODBCDataSource</td><td>Component_</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Reference to associated component</td></row> + <row><td>ODBCDataSource</td><td>DataSource</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Primary key, non-localized.internal token for data source</td></row> + <row><td>ODBCDataSource</td><td>Description</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Text used as registered name for data source</td></row> + <row><td>ODBCDataSource</td><td>DriverDescription</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Reference to driver description, may be existing driver</td></row> + <row><td>ODBCDataSource</td><td>Registration</td><td>N</td><td>0</td><td>1</td><td/><td/><td/><td/><td>Registration option: 0=machine, 1=user, others t.b.d.</td></row> + <row><td>ODBCDriver</td><td>Component_</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Reference to associated component</td></row> + <row><td>ODBCDriver</td><td>Description</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Text used as registered name for driver, non-localized</td></row> + <row><td>ODBCDriver</td><td>Driver</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Primary key, non-localized.internal token for driver</td></row> + <row><td>ODBCDriver</td><td>File_</td><td>N</td><td/><td/><td>File</td><td>1</td><td>Identifier</td><td/><td>Reference to key driver file</td></row> + <row><td>ODBCDriver</td><td>File_Setup</td><td>Y</td><td/><td/><td>File</td><td>1</td><td>Identifier</td><td/><td>Optional reference to key driver setup DLL</td></row> + <row><td>ODBCSourceAttribute</td><td>Attribute</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Name of ODBC data source attribute</td></row> + <row><td>ODBCSourceAttribute</td><td>DataSource_</td><td>N</td><td/><td/><td>ODBCDataSource</td><td>1</td><td>Identifier</td><td/><td>Reference to ODBC data source in ODBCDataSource table</td></row> + <row><td>ODBCSourceAttribute</td><td>Value</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Value for ODBC data source attribute</td></row> + <row><td>ODBCTranslator</td><td>Component_</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Reference to associated component</td></row> + <row><td>ODBCTranslator</td><td>Description</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>Text used as registered name for translator</td></row> + <row><td>ODBCTranslator</td><td>File_</td><td>N</td><td/><td/><td>File</td><td>1</td><td>Identifier</td><td/><td>Reference to key translator file</td></row> + <row><td>ODBCTranslator</td><td>File_Setup</td><td>Y</td><td/><td/><td>File</td><td>1</td><td>Identifier</td><td/><td>Optional reference to key translator setup DLL</td></row> + <row><td>ODBCTranslator</td><td>Translator</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Primary key, non-localized.internal token for translator</td></row> + <row><td>Patch</td><td>Attributes</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>Integer containing bit flags representing patch attributes</td></row> + <row><td>Patch</td><td>File_</td><td>N</td><td/><td/><td>File</td><td>1</td><td>Identifier</td><td/><td>Primary key, non-localized token, foreign key to File table, must match identifier in cabinet.</td></row> + <row><td>Patch</td><td>Header</td><td>Y</td><td/><td/><td/><td/><td>Binary</td><td/><td>Binary stream. The patch header, used for patch validation.</td></row> + <row><td>Patch</td><td>ISBuildSourcePath</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Full path to patch header.</td></row> + <row><td>Patch</td><td>PatchSize</td><td>N</td><td>0</td><td>781-516-4501</td><td/><td/><td/><td/><td>Size of patch in bytes (long integer).</td></row> + <row><td>Patch</td><td>Sequence</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>Primary key, sequence with respect to the media images; order must track cabinet order.</td></row> + <row><td>PatchPackage</td><td>Media_</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>Foreign key to DiskId column of Media table. Indicates the disk containing the patch package.</td></row> + <row><td>PatchPackage</td><td>PatchId</td><td>N</td><td/><td/><td/><td/><td>Guid</td><td/><td>A unique string GUID representing this patch.</td></row> + <row><td>ProgId</td><td>Class_</td><td>Y</td><td/><td/><td>Class</td><td>1</td><td>Guid</td><td/><td>The CLSID of an OLE factory corresponding to the ProgId.</td></row> + <row><td>ProgId</td><td>Description</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Localized description for the Program identifier.</td></row> + <row><td>ProgId</td><td>ISAttributes</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>This is used to store Installshield custom properties of a component, like ExtractIcon, etc.</td></row> + <row><td>ProgId</td><td>IconIndex</td><td>Y</td><td>-32767</td><td>32767</td><td/><td/><td/><td/><td>Optional icon index.</td></row> + <row><td>ProgId</td><td>Icon_</td><td>Y</td><td/><td/><td>Icon</td><td>1</td><td>Identifier</td><td/><td>Optional foreign key into the Icon Table, specifying the icon file associated with this ProgId. Will be written under the DefaultIcon key.</td></row> + <row><td>ProgId</td><td>ProgId</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>The Program Identifier. Primary key.</td></row> + <row><td>ProgId</td><td>ProgId_Parent</td><td>Y</td><td/><td/><td>ProgId</td><td>1</td><td>Text</td><td/><td>The Parent Program Identifier. If specified, the ProgId column becomes a version independent prog id.</td></row> + <row><td>Property</td><td>ISComments</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>User Comments.</td></row> + <row><td>Property</td><td>Property</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Name of property, uppercase if settable by launcher or loader.</td></row> + <row><td>Property</td><td>Value</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>String value for property.</td></row> + <row><td>PublishComponent</td><td>AppData</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>This is localisable Application specific data that can be associated with a Qualified Component.</td></row> + <row><td>PublishComponent</td><td>ComponentId</td><td>N</td><td/><td/><td/><td/><td>Guid</td><td/><td>A string GUID that represents the component id that will be requested by the alien product.</td></row> + <row><td>PublishComponent</td><td>Component_</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Foreign key into the Component table.</td></row> + <row><td>PublishComponent</td><td>Feature_</td><td>N</td><td/><td/><td>Feature</td><td>1</td><td>Identifier</td><td/><td>Foreign key into the Feature table.</td></row> + <row><td>PublishComponent</td><td>Qualifier</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>This is defined only when the ComponentId column is an Qualified Component Id. This is the Qualifier for ProvideComponentIndirect.</td></row> + <row><td>RadioButton</td><td>Height</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>The height of the button.</td></row> + <row><td>RadioButton</td><td>Help</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>The help strings used with the button. The text is optional.</td></row> + <row><td>RadioButton</td><td>ISControlId</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>A number used to represent the control ID of the Control, Used in Dialog export</td></row> + <row><td>RadioButton</td><td>Order</td><td>N</td><td>1</td><td>32767</td><td/><td/><td/><td/><td>A positive integer used to determine the ordering of the items within one list..The integers do not have to be consecutive.</td></row> + <row><td>RadioButton</td><td>Property</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>A named property to be tied to this radio button. All the buttons tied to the same property become part of the same group.</td></row> + <row><td>RadioButton</td><td>Text</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>The visible title to be assigned to the radio button.</td></row> + <row><td>RadioButton</td><td>Value</td><td>N</td><td/><td/><td/><td/><td>Formatted</td><td/><td>The value string associated with this button. Selecting the button will set the associated property to this value.</td></row> + <row><td>RadioButton</td><td>Width</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>The width of the button.</td></row> + <row><td>RadioButton</td><td>X</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>The horizontal coordinate of the upper left corner of the bounding rectangle of the radio button.</td></row> + <row><td>RadioButton</td><td>Y</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>The vertical coordinate of the upper left corner of the bounding rectangle of the radio button.</td></row> + <row><td>RegLocator</td><td>Key</td><td>N</td><td/><td/><td/><td/><td>RegPath</td><td/><td>The key for the registry value.</td></row> + <row><td>RegLocator</td><td>Name</td><td>Y</td><td/><td/><td/><td/><td>Formatted</td><td/><td>The registry value name.</td></row> + <row><td>RegLocator</td><td>Root</td><td>N</td><td>0</td><td>3</td><td/><td/><td/><td/><td>The predefined root key for the registry value, one of rrkEnum.</td></row> + <row><td>RegLocator</td><td>Signature_</td><td>N</td><td/><td/><td>Signature</td><td>1</td><td>Identifier</td><td/><td>The table key. The Signature_ represents a unique file signature and is also the foreign key in the Signature table. If the type is 0, the registry values refers a directory, and _Signature is not a foreign key.</td></row> + <row><td>RegLocator</td><td>Type</td><td>Y</td><td>0</td><td>18</td><td/><td/><td/><td/><td>An integer value that determines if the registry value is a filename or a directory location or to be used as is w/o interpretation.</td></row> + <row><td>Registry</td><td>Component_</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Foreign key into the Component table referencing component that controls the installing of the registry value.</td></row> + <row><td>Registry</td><td>ISAttributes</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>This is used to store Installshield custom properties of a registry item. Currently the only one is Automatic.</td></row> + <row><td>Registry</td><td>Key</td><td>N</td><td/><td/><td/><td/><td>RegPath</td><td/><td>The key for the registry value.</td></row> + <row><td>Registry</td><td>Name</td><td>Y</td><td/><td/><td/><td/><td>Formatted</td><td/><td>The registry value name.</td></row> + <row><td>Registry</td><td>Registry</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Primary key, non-localized token.</td></row> + <row><td>Registry</td><td>Root</td><td>N</td><td>-1</td><td>3</td><td/><td/><td/><td/><td>The predefined root key for the registry value, one of rrkEnum.</td></row> + <row><td>Registry</td><td>Value</td><td>Y</td><td/><td/><td/><td/><td>Formatted</td><td/><td>The registry value.</td></row> + <row><td>RemoveFile</td><td>Component_</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Foreign key referencing Component that controls the file to be removed.</td></row> + <row><td>RemoveFile</td><td>DirProperty</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Name of a property whose value is assumed to resolve to the full pathname to the folder of the file to be removed.</td></row> + <row><td>RemoveFile</td><td>FileKey</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Primary key used to identify a particular file entry</td></row> + <row><td>RemoveFile</td><td>FileName</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Name of the file to be removed.</td></row> + <row><td>RemoveFile</td><td>InstallMode</td><td>N</td><td/><td/><td/><td/><td/><td>1;2;3</td><td>Installation option, one of iimEnum.</td></row> + <row><td>RemoveIniFile</td><td>Action</td><td>N</td><td/><td/><td/><td/><td/><td>2;4</td><td>The type of modification to be made, one of iifEnum.</td></row> + <row><td>RemoveIniFile</td><td>Component_</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Foreign key into the Component table referencing component that controls the deletion of the .INI value.</td></row> + <row><td>RemoveIniFile</td><td>DirProperty</td><td>Y</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Foreign key into the Directory table denoting the directory where the .INI file is.</td></row> + <row><td>RemoveIniFile</td><td>FileName</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>The .INI file name in which to delete the information</td></row> + <row><td>RemoveIniFile</td><td>Key</td><td>N</td><td/><td/><td/><td/><td>Formatted</td><td/><td>The .INI file key below Section.</td></row> + <row><td>RemoveIniFile</td><td>RemoveIniFile</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Primary key, non-localized token.</td></row> + <row><td>RemoveIniFile</td><td>Section</td><td>N</td><td/><td/><td/><td/><td>Formatted</td><td/><td>The .INI file Section.</td></row> + <row><td>RemoveIniFile</td><td>Value</td><td>Y</td><td/><td/><td/><td/><td>Formatted</td><td/><td>The value to be deleted. The value is required when Action is iifIniRemoveTag</td></row> + <row><td>RemoveRegistry</td><td>Component_</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Foreign key into the Component table referencing component that controls the deletion of the registry value.</td></row> + <row><td>RemoveRegistry</td><td>Key</td><td>N</td><td/><td/><td/><td/><td>RegPath</td><td/><td>The key for the registry value.</td></row> + <row><td>RemoveRegistry</td><td>Name</td><td>Y</td><td/><td/><td/><td/><td>Formatted</td><td/><td>The registry value name.</td></row> + <row><td>RemoveRegistry</td><td>RemoveRegistry</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Primary key, non-localized token.</td></row> + <row><td>RemoveRegistry</td><td>Root</td><td>N</td><td>-1</td><td>3</td><td/><td/><td/><td/><td>The predefined root key for the registry value, one of rrkEnum</td></row> + <row><td>ReserveCost</td><td>Component_</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Reserve a specified amount of space if this component is to be installed.</td></row> + <row><td>ReserveCost</td><td>ReserveFolder</td><td>Y</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Name of a property whose value is assumed to resolve to the full path to the destination directory</td></row> + <row><td>ReserveCost</td><td>ReserveKey</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Primary key that uniquely identifies a particular ReserveCost record</td></row> + <row><td>ReserveCost</td><td>ReserveLocal</td><td>N</td><td>0</td><td>781-516-4501</td><td/><td/><td/><td/><td>Disk space to reserve if linked component is installed locally.</td></row> + <row><td>ReserveCost</td><td>ReserveSource</td><td>N</td><td>0</td><td>781-516-4501</td><td/><td/><td/><td/><td>Disk space to reserve if linked component is installed to run from the source location.</td></row> + <row><td>SFPCatalog</td><td>Catalog</td><td>Y</td><td/><td/><td/><td/><td>Binary</td><td/><td>SFP Catalog</td></row> + <row><td>SFPCatalog</td><td>Dependency</td><td>Y</td><td/><td/><td/><td/><td>Formatted</td><td/><td>Parent catalog - only used by SFP</td></row> + <row><td>SFPCatalog</td><td>SFPCatalog</td><td>N</td><td/><td/><td/><td/><td>Filename</td><td/><td>File name for the catalog.</td></row> + <row><td>SelfReg</td><td>Cost</td><td>Y</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>The cost of registering the module.</td></row> + <row><td>SelfReg</td><td>File_</td><td>N</td><td/><td/><td>File</td><td>1</td><td>Identifier</td><td/><td>Foreign key into the File table denoting the module that needs to be registered.</td></row> + <row><td>ServiceControl</td><td>Arguments</td><td>Y</td><td/><td/><td/><td/><td>Formatted</td><td/><td>Arguments for the service. Separate by [~].</td></row> + <row><td>ServiceControl</td><td>Component_</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Required foreign key into the Component Table that controls the startup of the service</td></row> + <row><td>ServiceControl</td><td>Event</td><td>N</td><td>0</td><td>187</td><td/><td/><td/><td/><td>Bit field: Install: 0x1 = Start, 0x2 = Stop, 0x8 = Delete, Uninstall: 0x10 = Start, 0x20 = Stop, 0x80 = Delete</td></row> + <row><td>ServiceControl</td><td>Name</td><td>N</td><td/><td/><td/><td/><td>Formatted</td><td/><td>Name of a service. /, \, comma and space are invalid</td></row> + <row><td>ServiceControl</td><td>ServiceControl</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Primary key, non-localized token.</td></row> + <row><td>ServiceControl</td><td>Wait</td><td>Y</td><td>0</td><td>1</td><td/><td/><td/><td/><td>Boolean for whether to wait for the service to fully start</td></row> + <row><td>ServiceInstall</td><td>Arguments</td><td>Y</td><td/><td/><td/><td/><td>Formatted</td><td/><td>Arguments to include in every start of the service, passed to WinMain</td></row> + <row><td>ServiceInstall</td><td>Component_</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Required foreign key into the Component Table that controls the startup of the service</td></row> + <row><td>ServiceInstall</td><td>Dependencies</td><td>Y</td><td/><td/><td/><td/><td>Formatted</td><td/><td>Other services this depends on to start. Separate by [~], and end with [~][~]</td></row> + <row><td>ServiceInstall</td><td>Description</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Description of service.</td></row> + <row><td>ServiceInstall</td><td>DisplayName</td><td>Y</td><td/><td/><td/><td/><td>Formatted</td><td/><td>External Name of the Service</td></row> + <row><td>ServiceInstall</td><td>ErrorControl</td><td>N</td><td>-781-516-4501</td><td>781-516-4501</td><td/><td/><td/><td/><td>Severity of error if service fails to start</td></row> + <row><td>ServiceInstall</td><td>LoadOrderGroup</td><td>Y</td><td/><td/><td/><td/><td>Formatted</td><td/><td>LoadOrderGroup</td></row> + <row><td>ServiceInstall</td><td>Name</td><td>N</td><td/><td/><td/><td/><td>Formatted</td><td/><td>Internal Name of the Service</td></row> + <row><td>ServiceInstall</td><td>Password</td><td>Y</td><td/><td/><td/><td/><td>Formatted</td><td/><td>password to run service with. (with StartName)</td></row> + <row><td>ServiceInstall</td><td>ServiceInstall</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Primary key, non-localized token.</td></row> + <row><td>ServiceInstall</td><td>ServiceType</td><td>N</td><td>-781-516-4501</td><td>781-516-4501</td><td/><td/><td/><td/><td>Type of the service</td></row> + <row><td>ServiceInstall</td><td>StartName</td><td>Y</td><td/><td/><td/><td/><td>Formatted</td><td/><td>User or object name to run service as</td></row> + <row><td>ServiceInstall</td><td>StartType</td><td>N</td><td>0</td><td>4</td><td/><td/><td/><td/><td>Type of the service</td></row> + <row><td>Shortcut</td><td>Arguments</td><td>Y</td><td/><td/><td/><td/><td>Formatted</td><td/><td>The command-line arguments for the shortcut.</td></row> + <row><td>Shortcut</td><td>Component_</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Foreign key into the Component table denoting the component whose selection gates the the shortcut creation/deletion.</td></row> + <row><td>Shortcut</td><td>Description</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>The description for the shortcut.</td></row> + <row><td>Shortcut</td><td>Directory_</td><td>N</td><td/><td/><td>Directory</td><td>1</td><td>Identifier</td><td/><td>Foreign key into the Directory table denoting the directory where the shortcut file is created.</td></row> + <row><td>Shortcut</td><td>Hotkey</td><td>Y</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>The hotkey for the shortcut. It has the virtual-key code for the key in the low-order byte, and the modifier flags in the high-order byte. </td></row> + <row><td>Shortcut</td><td>ISAttributes</td><td>Y</td><td/><td/><td/><td/><td/><td/><td>This is used to store Installshield custom properties of a shortcut. Mainly used in pro project types.</td></row> + <row><td>Shortcut</td><td>ISComments</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td dt:dt="bin.base64" md5="cb9acc27950b903a6080754a56990866"> +QQB1AHQAaABvAHIAGSBzACAAYwBvAG0AbQBlAG4AdABzACAAbwBuACAAdABoAGkAcwAgAFMAaABvAHIAdABjAHUAdAAuAA== + </td></row> + <row><td>Shortcut</td><td>ISShortcutName</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>A non-unique name for the shortcut. Mainly used by pro pro project types.</td></row> + <row><td>Shortcut</td><td>IconIndex</td><td>Y</td><td>-32767</td><td>32767</td><td/><td/><td/><td/><td>The icon index for the shortcut.</td></row> + <row><td>Shortcut</td><td>Icon_</td><td>Y</td><td/><td/><td>Icon</td><td>1</td><td>Identifier</td><td/><td>Foreign key into the File table denoting the external icon file for the shortcut.</td></row> + <row><td>Shortcut</td><td>Name</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>The name of the shortcut to be created.</td></row> + <row><td>Shortcut</td><td>Shortcut</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Primary key, non-localized token.</td></row> + <row><td>Shortcut</td><td>ShowCmd</td><td>Y</td><td/><td/><td/><td/><td/><td>1;3;7</td><td>The show command for the application window.The following values may be used.</td></row> + <row><td>Shortcut</td><td>Target</td><td>N</td><td/><td/><td/><td/><td>Shortcut</td><td/><td>The shortcut target. This is usually a property that is expanded to a file or a folder that the shortcut points to.</td></row> + <row><td>Shortcut</td><td>WkDir</td><td>Y</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Name of property defining location of working directory.</td></row> + <row><td>Signature</td><td>FileName</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>The name of the file. This may contain a "short name|long name" pair.</td></row> + <row><td>Signature</td><td>Languages</td><td>Y</td><td/><td/><td/><td/><td>Language</td><td/><td>The languages supported by the file.</td></row> + <row><td>Signature</td><td>MaxDate</td><td>Y</td><td>0</td><td>781-516-4501</td><td/><td/><td/><td/><td>The maximum creation date of the file.</td></row> + <row><td>Signature</td><td>MaxSize</td><td>Y</td><td>0</td><td>781-516-4501</td><td/><td/><td/><td/><td>The maximum size of the file. </td></row> + <row><td>Signature</td><td>MaxVersion</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>The maximum version of the file.</td></row> + <row><td>Signature</td><td>MinDate</td><td>Y</td><td>0</td><td>781-516-4501</td><td/><td/><td/><td/><td>The minimum creation date of the file.</td></row> + <row><td>Signature</td><td>MinSize</td><td>Y</td><td>0</td><td>781-516-4501</td><td/><td/><td/><td/><td>The minimum size of the file.</td></row> + <row><td>Signature</td><td>MinVersion</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>The minimum version of the file.</td></row> + <row><td>Signature</td><td>Signature</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>The table key. The Signature represents a unique file signature.</td></row> + <row><td>TextStyle</td><td>Color</td><td>Y</td><td>0</td><td>16777215</td><td/><td/><td/><td/><td>A long integer indicating the color of the string in the RGB format (Red, Green, Blue each 0-255, RGB = R + 256*G + 256^2*B).</td></row> + <row><td>TextStyle</td><td>FaceName</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>A string indicating the name of the font used. Required. The string must be at most 31 characters long.</td></row> + <row><td>TextStyle</td><td>Size</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>The size of the font used. This size is given in our units (1/12 of the system font height). Assuming that the system font is set to 12 point size, this is equivalent to the point size.</td></row> + <row><td>TextStyle</td><td>StyleBits</td><td>Y</td><td>0</td><td>15</td><td/><td/><td/><td/><td>A combination of style bits.</td></row> + <row><td>TextStyle</td><td>TextStyle</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Name of the style. The primary key of this table. This name is embedded in the texts to indicate a style change.</td></row> + <row><td>TypeLib</td><td>Component_</td><td>N</td><td/><td/><td>Component</td><td>1</td><td>Identifier</td><td/><td>Required foreign key into the Component Table, specifying the component for which to return a path when called through LocateComponent.</td></row> + <row><td>TypeLib</td><td>Cost</td><td>Y</td><td>0</td><td>781-516-4501</td><td/><td/><td/><td/><td>The cost associated with the registration of the typelib. This column is currently optional.</td></row> + <row><td>TypeLib</td><td>Description</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td/></row> + <row><td>TypeLib</td><td>Directory_</td><td>Y</td><td/><td/><td>Directory</td><td>1</td><td>Identifier</td><td/><td>Optional. The foreign key into the Directory table denoting the path to the help file for the type library.</td></row> + <row><td>TypeLib</td><td>Feature_</td><td>N</td><td/><td/><td>Feature</td><td>1</td><td>Identifier</td><td/><td>Required foreign key into the Feature Table, specifying the feature to validate or install in order for the type library to be operational.</td></row> + <row><td>TypeLib</td><td>Language</td><td>N</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>The language of the library.</td></row> + <row><td>TypeLib</td><td>LibID</td><td>N</td><td/><td/><td/><td/><td>Guid</td><td/><td>The GUID that represents the library.</td></row> + <row><td>TypeLib</td><td>Version</td><td>Y</td><td>0</td><td>781-516-4501</td><td/><td/><td/><td/><td>The version of the library. The major version is in the upper 8 bits of the short integer. The minor version is in the lower 8 bits.</td></row> + <row><td>UIText</td><td>Key</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>A unique key that identifies the particular string.</td></row> + <row><td>UIText</td><td>Text</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>The localized version of the string.</td></row> + <row><td>Upgrade</td><td>ActionProperty</td><td>N</td><td/><td/><td/><td/><td>UpperCase</td><td/><td>The property to set when a product in this set is found.</td></row> + <row><td>Upgrade</td><td>Attributes</td><td>N</td><td>0</td><td>781-516-4501</td><td/><td/><td/><td/><td>The attributes of this product set.</td></row> + <row><td>Upgrade</td><td>ISDisplayName</td><td>Y</td><td/><td/><td>ISUpgradeMsiItem</td><td>1</td><td/><td/><td/></row> + <row><td>Upgrade</td><td>Language</td><td>Y</td><td/><td/><td/><td/><td>Language</td><td/><td>A comma-separated list of languages for either products in this set or products not in this set.</td></row> + <row><td>Upgrade</td><td>Remove</td><td>Y</td><td/><td/><td/><td/><td>Formatted</td><td/><td>The list of features to remove when uninstalling a product from this set. The default is "ALL".</td></row> + <row><td>Upgrade</td><td>UpgradeCode</td><td>N</td><td/><td/><td/><td/><td>Guid</td><td/><td>The UpgradeCode GUID belonging to the products in this set.</td></row> + <row><td>Upgrade</td><td>VersionMax</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>The maximum ProductVersion of the products in this set. The set may or may not include products with this particular version.</td></row> + <row><td>Upgrade</td><td>VersionMin</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>The minimum ProductVersion of the products in this set. The set may or may not include products with this particular version.</td></row> + <row><td>Verb</td><td>Argument</td><td>Y</td><td/><td/><td/><td/><td>Formatted</td><td/><td>Optional value for the command arguments.</td></row> + <row><td>Verb</td><td>Command</td><td>Y</td><td/><td/><td/><td/><td>Formatted</td><td/><td>The command text.</td></row> + <row><td>Verb</td><td>Extension_</td><td>N</td><td/><td/><td>Extension</td><td>1</td><td>Text</td><td/><td>The extension associated with the table row.</td></row> + <row><td>Verb</td><td>Sequence</td><td>Y</td><td>0</td><td>32767</td><td/><td/><td/><td/><td>Order within the verbs for a particular extension. Also used simply to specify the default verb.</td></row> + <row><td>Verb</td><td>Verb</td><td>N</td><td/><td/><td/><td/><td>Text</td><td/><td>The verb for the command.</td></row> + <row><td>_Validation</td><td>Category</td><td>Y</td><td/><td/><td/><td/><td/><td>"Text";"Formatted";"Template";"Condition";"Guid";"Path";"Version";"Language";"Identifier";"Binary";"UpperCase";"LowerCase";"Filename";"Paths";"AnyPath";"WildCardFilename";"RegPath";"KeyFormatted";"CustomSource";"Property";"Cabinet";"Shortcut";"URL";"DefaultDir"</td><td>String category</td></row> + <row><td>_Validation</td><td>Column</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Name of column</td></row> + <row><td>_Validation</td><td>Description</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Description of column</td></row> + <row><td>_Validation</td><td>KeyColumn</td><td>Y</td><td>1</td><td>32</td><td/><td/><td/><td/><td>Column to which foreign key connects</td></row> + <row><td>_Validation</td><td>KeyTable</td><td>Y</td><td/><td/><td/><td/><td>Identifier</td><td/><td>For foreign key, Name of table to which data must link</td></row> + <row><td>_Validation</td><td>MaxValue</td><td>Y</td><td>-781-516-4501</td><td>781-516-4501</td><td/><td/><td/><td/><td>Maximum value allowed</td></row> + <row><td>_Validation</td><td>MinValue</td><td>Y</td><td>-781-516-4501</td><td>781-516-4501</td><td/><td/><td/><td/><td>Minimum value allowed</td></row> + <row><td>_Validation</td><td>Nullable</td><td>N</td><td/><td/><td/><td/><td/><td>Y;N;@</td><td>Whether the column is nullable</td></row> + <row><td>_Validation</td><td>Set</td><td>Y</td><td/><td/><td/><td/><td>Text</td><td/><td>Set of values that are permitted</td></row> + <row><td>_Validation</td><td>Table</td><td>N</td><td/><td/><td/><td/><td>Identifier</td><td/><td>Name of table</td></row> + </table> +</msi> From [email protected] Sat Oct 30 19:32:54 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4967 invoked from network); 30 Oct 2004 19:32:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 30 Oct 2004 19:32:54 -0000 Received: (qmail 12418 invoked by uid 500); 30 Oct 2004 19:32:31 -0000 Delivered-To: [email protected] Received: (qmail 12326 invoked by uid 500); 30 Oct 2004 19:32:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 12284 invoked by uid 500); 30 Oct 2004 19:32:30 -0000 Delivered-To: [email protected] Received: (qmail 12253 invoked by uid 99); 30 Oct 2004 19:32:29 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 30 Oct 2004 12:32:29 -0700 Received: (qmail 4804 invoked by uid 65534); 30 Oct 2004 19:32:05 -0000 Date: 30 Oct 2004 19:32:05 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: svn commit: rev 56065 - incubator/httpd/cli/trunk/mod_aspdotnet X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Author: wrowe Date: Sat Oct 30 12:32:05 2004 New Revision: 56065 Modified: incubator/httpd/cli/trunk/mod_aspdotnet/mod_aspdotnet.sln Log: Move from .isv to .ism Modified: incubator/httpd/cli/trunk/mod_aspdotnet/mod_aspdotnet.sln ============================================================================== --- incubator/httpd/cli/trunk/mod_aspdotnet/mod_aspdotnet.sln (original) +++ incubator/httpd/cli/trunk/mod_aspdotnet/mod_aspdotnet.sln Sat Oct 30 12:32:05 2004 @@ -3,7 +3,7 @@ EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Apache.Web", "Apache.Web\Apache.Web.vcproj", "{4B4F627E-C6DE-4614-9135-306D94F8755B}" EndProject -Project("{E729F059-12D4-455F-A2A4-FDA8DD25E08A}") = "installer", "installer.isv", "{D68E7F9F-9DF7-4C42-A8C0-D4E6BB129488}" +Project("{E729F059-12D4-455F-A2A4-FDA8DD25E08A}") = "installer", "installer.ism", "{D68E7F9F-9DF7-4C42-A8C0-D4E6BB129488}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "resolve_apache", "msi_dll\resolve_apache.vcproj", "{5149E89D-79D2-4FE7-B088-4987CF385D46}" EndProject From [email protected] Sat Oct 30 19:53:55 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9285 invoked from network); 30 Oct 2004 19:53:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 30 Oct 2004 19:53:55 -0000 Received: (qmail 26940 invoked by uid 500); 30 Oct 2004 19:53:55 -0000 Delivered-To: [email protected] Received: (qmail 26912 invoked by uid 500); 30 Oct 2004 19:53:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 26898 invoked by uid 500); 30 Oct 2004 19:53:54 -0000 Delivered-To: [email protected] Received: (qmail 26894 invoked by uid 99); 30 Oct 2004 19:53:54 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 30 Oct 2004 12:53:54 -0700 Received: (qmail 9280 invoked by uid 65534); 30 Oct 2004 19:53:53 -0000 Date: 30 Oct 2004 19:53:53 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: svn commit: rev 56067 - incubator/httpd/cli/branches/mod_aspdotnet/v2.0.0 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Author: wrowe Date: Sat Oct 30 12:53:52 2004 New Revision: 56067 Added: incubator/httpd/cli/branches/mod_aspdotnet/v2.0.0/installer.ism - copied unchanged from rev 56066, incubator/httpd/cli/trunk/mod_aspdotnet/installer.ism Log: Migrate the installer for v2.0.0 release candidate From [email protected] Sat Oct 30 19:55:22 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9607 invoked from network); 30 Oct 2004 19:55:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 30 Oct 2004 19:55:22 -0000 Received: (qmail 27808 invoked by uid 500); 30 Oct 2004 19:55:22 -0000 Delivered-To: [email protected] Received: (qmail 27789 invoked by uid 500); 30 Oct 2004 19:55:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 27775 invoked by uid 500); 30 Oct 2004 19:55:22 -0000 Delivered-To: [email protected] Received: (qmail 27771 invoked by uid 99); 30 Oct 2004 19:55:22 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 30 Oct 2004 12:55:22 -0700 Received: (qmail 9600 invoked by uid 65534); 30 Oct 2004 19:55:20 -0000 Date: 30 Oct 2004 19:55:20 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: svn commit: rev 56068 - incubator/httpd/cli/branches/mod_aspdotnet/v2.0.0/installer X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Author: wrowe Date: Sat Oct 30 12:55:20 2004 New Revision: 56068 Removed: incubator/httpd/cli/branches/mod_aspdotnet/v2.0.0/installer/ Log: Installer from InstallShield Windows Installer edition is now defunct From [email protected] Sat Oct 30 19:56:24 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10014 invoked from network); 30 Oct 2004 19:56:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 30 Oct 2004 19:56:24 -0000 Received: (qmail 28404 invoked by uid 500); 30 Oct 2004 19:56:24 -0000 Delivered-To: [email protected] Received: (qmail 28375 invoked by uid 500); 30 Oct 2004 19:56:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 28362 invoked by uid 500); 30 Oct 2004 19:56:24 -0000 Delivered-To: [email protected] Received: (qmail 28359 invoked by uid 99); 30 Oct 2004 19:56:24 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 30 Oct 2004 12:56:24 -0700 Received: (qmail 9946 invoked by uid 65534); 30 Oct 2004 19:56:22 -0000 Date: 30 Oct 2004 19:56:22 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: svn commit: rev 56069 - incubator/httpd/cli/branches/mod_aspdotnet/v2.0.0 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Author: wrowe Date: Sat Oct 30 12:56:22 2004 New Revision: 56069 Modified: incubator/httpd/cli/branches/mod_aspdotnet/v2.0.0/mod_aspdotnet.sln Log: Using ISX xml installer file installer.ism Modified: incubator/httpd/cli/branches/mod_aspdotnet/v2.0.0/mod_aspdotnet.sln ============================================================================== --- incubator/httpd/cli/branches/mod_aspdotnet/v2.0.0/mod_aspdotnet.sln (original) +++ incubator/httpd/cli/branches/mod_aspdotnet/v2.0.0/mod_aspdotnet.sln Sat Oct 30 12:56:22 2004 @@ -3,7 +3,7 @@ EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Apache.Web", "Apache.Web\Apache.Web.vcproj", "{4B4F627E-C6DE-4614-9135-306D94F8755B}" EndProject -Project("{E729F059-12D4-455F-A2A4-FDA8DD25E08A}") = "installer", "installer.isv", "{D68E7F9F-9DF7-4C42-A8C0-D4E6BB129488}" +Project("{E729F059-12D4-455F-A2A4-FDA8DD25E08A}") = "installer", "installer.ism", "{D68E7F9F-9DF7-4C42-A8C0-D4E6BB129488}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "resolve_apache", "msi_dll\resolve_apache.vcproj", "{5149E89D-79D2-4FE7-B088-4987CF385D46}" EndProject From [email protected] Sat Oct 30 22:04:35 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40581 invoked from network); 30 Oct 2004 22:04:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 30 Oct 2004 22:04:35 -0000 Received: (qmail 27708 invoked by uid 500); 30 Oct 2004 22:04:35 -0000 Delivered-To: [email protected] Received: (qmail 27678 invoked by uid 500); 30 Oct 2004 22:04:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 27664 invoked by uid 99); 30 Oct 2004 22:04:34 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO devonshire.cnchost.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 30 Oct 2004 15:04:33 -0700 Received: from rcsv650.rowe-clan.net (c-24-13-128-132.client.comcast.net [161.129.204.104]) by devonshire.cnchost.com id SAA22740; Sat, 30 Oct 2004 18:04:31 -0400 (EDT) [ConcentricHost SMTP Relay 1.17] Errors-To: <[email protected]> Message-Id: <[email protected]> X-Sender: [email protected] X-Mailer: QUALCOMM Windows Eudora Version 161.129.204.104 Date: Sat, 30 Oct 2004 16:50:22 -0500 To: "CLI Dev" <[email protected]> From: "William A. Rowe, Jr." <[email protected]> Subject: need moderators Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Looking to create [email protected], need to know who wants to join/moderate such a list. Clearly we don't want every 'my asp.net app doesn't work under Apache!' question coming at the cli-dev list. Bill From [email protected] Sun Oct 31 01:08:36 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78792 invoked from network); 31 Oct 2004 01:08:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 31 Oct 2004 01:08:35 -0000 Received: (qmail 49794 invoked by uid 500); 31 Oct 2004 01:08:29 -0000 Delivered-To: [email protected] Received: (qmail 49712 invoked by uid 500); 31 Oct 2004 01:08:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 49669 invoked by uid 99); 31 Oct 2004 01:08:27 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO devonshire.cnchost.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 30 Oct 2004 18:08:27 -0700 Received: from rcsv650.rowe-clan.net (c-24-13-128-132.client.comcast.net [161.129.204.104]) by devonshire.cnchost.com id VAA05756; Sat, 30 Oct 2004 21:08:25 -0400 (EDT) [ConcentricHost SMTP Relay 1.17] Errors-To: <[email protected]> Message-Id: <[email protected]> X-Sender: [email protected] X-Mailer: QUALCOMM Windows Eudora Version 161.129.204.104 Date: Sat, 30 Oct 2004 20:03:20 -0500 To: "CLI Dev" <[email protected]> From: "William A. Rowe, Jr." <[email protected]> Subject: mod_aspdotnet release candidate, please vote Cc: [email protected] Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N RC1 available for testing, from http://httpd.apache.org/dev/dist/ Please download and vote for or against 2.0.0 release (feedback from all cli-dev or httpd subscribers are welcome, regardless of committer status.) Please avoid wasting dev@httpd bandwidth and reply specifically to cli-dev@. The initial web page, with warning that it is in incubation still, is at http://httpd.apache.org/cli/. Upon a vote to release this code, I will call for a vote from general@incubator to graduate the subproject, and a vote from pmc@httpd to accept it back. A short history is available in http://svn.apache.org/viewcvs.cgi/incubator/httpd/cli/trunk/mod_aspdotnet/CHANGES.txt?rev=56059&view=markup and already demonstrates a community of technical folks submitting patches, which I hope continues. My only concern is to identify folks specifically interested in working with a cli-users list and developing docs based on actual testing and use cases. Bill From [email protected] Sun Oct 31 01:37:52 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91238 invoked from network); 31 Oct 2004 01:37:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 31 Oct 2004 01:37:52 -0000 Received: (qmail 68497 invoked by uid 500); 31 Oct 2004 01:37:52 -0000 Delivered-To: [email protected] Received: (qmail 68468 invoked by uid 500); 31 Oct 2004 01:37:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 68453 invoked by uid 500); 31 Oct 2004 01:37:51 -0000 Delivered-To: [email protected] Received: (qmail 68450 invoked by uid 99); 31 Oct 2004 01:37:51 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 30 Oct 2004 18:37:51 -0700 Received: (qmail 91235 invoked by uid 65534); 31 Oct 2004 01:37:50 -0000 Date: 31 Oct 2004 01:37:50 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: svn commit: rev 56105 - incubator/httpd/cli/branches/mod_aspdotnet/v2.0.0 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Author: wrowe Date: Sat Oct 30 18:37:49 2004 New Revision: 56105 Removed: incubator/httpd/cli/branches/mod_aspdotnet/v2.0.0/installer.isv Log: Should have been deleted from release From [email protected] Sun Oct 31 02:29:55 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 363 invoked from network); 31 Oct 2004 02:29:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 31 Oct 2004 02:29:55 -0000 Received: (qmail 1946 invoked by uid 500); 31 Oct 2004 02:29:54 -0000 Delivered-To: [email protected] Received: (qmail 1917 invoked by uid 500); 31 Oct 2004 02:29:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 1902 invoked by uid 99); 31 Oct 2004 02:29:54 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO exchange.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 30 Oct 2004 19:29:53 -0700 Received: (qmail 17425 invoked by uid 50); 31 Oct 2004 02:29:51 -0000 Date: 31 Oct 2004 02:29:51 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Cc: Subject: DO NOT REPLY [Bug 31990] New: - need bug tracking X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=31990>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=31990 need bug tracking Summary: need bug tracking Product: Apache mod_aspdotnet Version: 2.0.0 Platform: PC OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: Apache.Web AssignedTo: [email protected] ReportedBy: [email protected] There is a simple bug, we didn't have a bug tracking system. From [email protected] Sun Oct 31 02:32:02 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 651 invoked from network); 31 Oct 2004 02:32:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 31 Oct 2004 02:32:02 -0000 Received: (qmail 2744 invoked by uid 500); 31 Oct 2004 02:32:02 -0000 Delivered-To: [email protected] Received: (qmail 2714 invoked by uid 500); 31 Oct 2004 02:32:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 2700 invoked by uid 99); 31 Oct 2004 02:32:01 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO exchange.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 30 Oct 2004 19:32:00 -0700 Received: (qmail 17458 invoked by uid 50); 31 Oct 2004 02:31:59 -0000 Date: 31 Oct 2004 02:31:59 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Cc: Subject: DO NOT REPLY [Bug 31990] - need bug tracking X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=31990>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=31990 need bug tracking [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME ------- Additional Comments From [email protected] 2004-10-31 02:31 ------- Showed up at cli-dev@ so this bug is closed. From [email protected] Sun Oct 31 02:41:49 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2160 invoked from network); 31 Oct 2004 02:41:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 31 Oct 2004 02:41:48 -0000 Received: (qmail 6616 invoked by uid 500); 31 Oct 2004 02:41:48 -0000 Delivered-To: [email protected] Received: (qmail 6588 invoked by uid 500); 31 Oct 2004 02:41:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 6575 invoked by uid 500); 31 Oct 2004 02:41:48 -0000 Delivered-To: [email protected] Received: (qmail 6572 invoked by uid 99); 31 Oct 2004 02:41:48 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 30 Oct 2004 19:41:47 -0700 Received: (qmail 2150 invoked by uid 65534); 31 Oct 2004 02:41:46 -0000 Date: 31 Oct 2004 02:41:46 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: svn commit: rev 56113 - incubator/httpd/cli/trunk/mod_aspdotnet X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Author: wrowe Date: Sat Oct 30 19:41:46 2004 New Revision: 56113 Modified: incubator/httpd/cli/trunk/mod_aspdotnet/installer.ism Log: trunk/ [email protected], prepare for a future release. Modified: incubator/httpd/cli/trunk/mod_aspdotnet/installer.ism ============================================================================== --- incubator/httpd/cli/trunk/mod_aspdotnet/installer.ism (original) +++ incubator/httpd/cli/trunk/mod_aspdotnet/installer.ism Sat Oct 30 19:41:46 2004 @@ -3231,6 +3231,7 @@ <row><td>INSTALLLEVEL</td><td>100</td><td/></row> <row><td>ISCHECKFORPRODUCTUPDATES</td><td>0</td><td/></row> <row><td>ISENABLEDWUSFINISHDIALOG</td><td>0</td><td/></row> + <row><td>ISJITCOMPILEATINSTALLPROPERTY</td><td/><td/></row> <row><td>ISSCRIPT_VERSION_MISSING</td><td>##IDS_ISSCRIPT_VERSION_MISSING##</td><td/></row> <row><td>ISSCRIPT_VERSION_OLD</td><td>##IDS_ISSCRIPT_VERSION_OLD##</td><td/></row> <row><td>IS_COMPLUS_PROGRESSTEXT_COST</td><td>##IDS_COMPLUS_PROGRESSTEXT_COST##</td><td/></row> @@ -3257,7 +3258,7 @@ <row><td>ProductID</td><td>none</td><td/></row> <row><td>ProductLanguage</td><td>1033</td><td/></row> <row><td>ProductName</td><td>Apache mod_aspdotnet for Apache httpd Web Server</td><td/></row> - <row><td>ProductVersion</td><td>161.129.204.1040</td><td/></row> + <row><td>ProductVersion</td><td>161.129.204.1040</td><td/></row> <row><td>ProgressType0</td><td>install</td><td/></row> <row><td>ProgressType1</td><td>Installing</td><td/></row> <row><td>ProgressType2</td><td>installed</td><td/></row> From [email protected] Sun Oct 31 19:38:07 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94805 invoked from network); 31 Oct 2004 19:38:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 31 Oct 2004 19:38:07 -0000 Received: (qmail 55518 invoked by uid 500); 31 Oct 2004 19:38:07 -0000 Delivered-To: [email protected] Received: (qmail 55481 invoked by uid 500); 31 Oct 2004 19:38:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "CLI Dev" <[email protected]> List-Id: <cli-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 55466 invoked by uid 99); 31 Oct 2004 19:38:06 -0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=DNS_FROM_RFC_POST X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO hotmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 31 Oct 2004 11:38:04 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 31 Oct 2004 11:38:03 -0800 Received: from 161.129.204.104 by by1fd.bay1.hotmail.msn.com with HTTP; Sun, 31 Oct 2004 19:37:22 GMT X-Originating-IP: [161.129.204.104] X-Originating-Email: [[email protected]] X-Sender: [email protected] From: "Yussef Alkhamrichi" <[email protected]> To: [email protected] Bcc: Subject: RE: mod_aspdotnet release candidate, please vote Date: Sun, 31 Oct 2004 19:37:22 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: <[email protected]> X-OriginalArrivalTime: 31 Oct 2004 19:38:03.0448 (UTC) FILETIME=[23243B80:01C4BF81] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I've tested this release on my server (W2K3, Apache 2.0.51, .NET Framework 1.1 SP1), must say, +1 for this release, no strange things when testing 3 asp.net websites (one of which uses .NET remoting to access the backend). I have one question: can the installer also install a aspnet.default.conf in the Apache folder? This would be handy for people who want this great component up and running quickly. I had to change the line: AliasMatch "^/(?i)aspnet_client/system_web/(\d+)_(\d+)_(\d+)_(\d+)/(.*)" \ "C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$5" to AliasMatch "^/(?i)aspnet_client/system_web/(\d+)_(\d+)_(\d+)/(.*)" \ "C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4" to be able to access the .js files of ASP.NET. Besides the conf file it would be handy to have a post-installation readme.txt file how to change the httpd.conf. This essentially means adding these two parts: LoadModule aspdotnet_module modules/mod_aspdotnet.so and something like <IfModule mod_aspnet.c> Include conf/aspnet.default.conf </IfModule> (I know that 'mod_aspnet.c' isn't correct, what should this be?) These ideas are only to get a nice release of httpd-cli that also non-dev people as administrators can use easily :) Besides this 2.0 release: I'm very curious how far optimization could enhance the performance of ASP.NET on Apache to match (or even beat?) IIS6. I'll have look at this as soon as my schedule cleans up a bit :) (Maybe the use of fibers? Or creating caching/pooling for certain objects like AppDomains, WorkerRequests ?) Yussef >From: "William A. Rowe, Jr." <[email protected]> >Reply-To: "CLI Dev" <[email protected]> >To: "CLI Dev" <[email protected]> >CC: [email protected] >Subject: mod_aspdotnet release candidate, please vote >Date: Sat, 30 Oct 2004 20:03:20 -0500 > >RC1 available for testing, from http://httpd.apache.org/dev/dist/ >Please download and vote for or against 2.0.0 release (feedback >from all cli-dev or httpd subscribers are welcome, regardless of >committer status.) Please avoid wasting dev@httpd bandwidth and >reply specifically to cli-dev@. > >The initial web page, with warning that it is in incubation still, >is at http://httpd.apache.org/cli/. Upon a vote to release this code, >I will call for a vote from general@incubator to graduate the >subproject, and a vote from pmc@httpd to accept it back. > >A short history is available in >http://svn.apache.org/viewcvs.cgi/incubator/httpd/cli/trunk/mod_aspdotnet/CHANGES.txt?rev=56059&view=markup > >and already demonstrates a community of technical folks submitting >patches, which I hope continues. My only concern is to identify folks >specifically interested in working with a cli-users list and developing >docs based on actual testing and use cases. > >Bill > _________________________________________________________________ Talk with your online friends with MSN Messenger http://messenger.msn.nl/
From [email protected] Wed Jun 23 09:04:25 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44679 invoked from network); 23 Jun 2010 09:04:25 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Jun 2010 09:04:25 -0000 Received: (qmail 65153 invoked by uid 500); 23 Jun 2010 09:04:25 -0000 Delivered-To: [email protected] Received: (qmail 65105 invoked by uid 500); 23 Jun 2010 09:04:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xbean-dev.geronimo.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 65097 invoked by uid 99); 23 Jun 2010 09:04:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jun 2010 09:04:23 +0000 X-ASF-Spam-Status: No, hits=-7.6 required=10.0 tests=AWL,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mx1.redhat.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jun 2010 09:04:16 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [161.129.204.104]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o5N93sxd031408 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <[email protected]>; Wed, 23 Jun 2010 05:03:55 -0400 Received: from localhost (dhcp-0-182.brq.redhat.com [161.129.204.104]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o5N93r0v000813; Wed, 23 Jun 2010 05:03:53 -0400 Cc: Aleksandar Kurtakov <[email protected]> Subject: Reasons for shaded modules? From: Stanislav Ochotnicky <[email protected]> To: xbean-dev <[email protected]> Date: Wed, 23 Jun 2010 11:03:46 +0200 Message-Id: <[email protected]> User-Agent: Sup/0.11 Content-Transfer-Encoding: 8bit Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=-1277283832-980802-25982-4739-1-="; micalg="pgp-sha1" MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.67 on 161.129.204.104 --=-1277283832-980802-25982-4739-1-= Content-Type: text/plain; charset=UTF-8 Hi, I am packaging xbean-3.7 for Fedora Linux and I have one question regarding your build. In xbean-asm-shaded module, you are using maven-shade-plugin to relocate/repackage asm package. There doesn't seem to be anything added, except changing package name. Is this correct? We have stict guidelines for not including bundled dependencies/private copies of libraries in our packages so this is a big dealbreaker. I was able to compile xbean-reflect module after simple: sed -i 's/org.apache.xbean.asm/org.objectweb.asm/' \ xbean-reflect/src/main/java/org/apache/xbean/recipe/XbeanAsmParameterNameLoader.java even without xbean-asm-shaded dependency. Is this likely to break something? So basically I have two questions: * why not use asm directly but repackage it by itself? * is replacing dependency with original asm likely to cause problems? Thanks for your time, -- Stanislav Ochotnicky <[email protected]> Associate Software Engineer - Base Operating Systems Brno PGP: 71A1677C Red Hat Inc. http://cz.redhat.com --=-1277283832-980802-25982-4739-1-= Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEARECAAYFAkwhzfgACgkQB9Uc/HGhZ3y+aQCgiRvNQpfUyXB1XEW0Lpr990l0 NRkAoJJlaUJfCCoXCP+GzAAAhzzsNd8K =nLHR -----END PGP SIGNATURE----- --=-1277283832-980802-25982-4739-1-=-- From [email protected] Wed Jun 23 12:13:01 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99274 invoked from network); 23 Jun 2010 12:13:01 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Jun 2010 12:13:01 -0000 Received: (qmail 85729 invoked by uid 500); 23 Jun 2010 12:13:01 -0000 Delivered-To: [email protected] Received: (qmail 85678 invoked by uid 500); 23 Jun 2010 12:13:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xbean-dev.geronimo.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 85670 invoked by uid 99); 23 Jun 2010 12:12:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jun 2010 12:12:58 +0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qw0-f54.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jun 2010 12:12:51 +0000 Received: by qwg8 with SMTP id 8so313593qwg.13 for <[email protected]>; Wed, 23 Jun 2010 05:12:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=PTA8Ep7HkN7VWZ59mOVl1wZNLIamOLozTAzI/GPpq/8=; b=fqmreXdgQZEvt8L3LiD7o3U7MWhOIddMkPJTl9tL4Mj/QDliAXeTxw8Kx4ZrT2lBJE VpUDjo1zsqUVrMxS2bAIDF1zUq52YGP54+fVZbqcEVGvmo51VxRxF2+VHLE30RLCln5I +tw1ACLMHWJsIuvEoRR/ZO5MXhAkKhvYH4FqA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=PnSEHPzB8pzyH4N9xqtOP2NrOfdO4evVPlAhH2LMLWU1tpkDvg7GsPgfg1jk0WY0kb hmCxhXNIBeocs6Z6lTXpjreTwLc1j26nfMj1kD0yv54LEuXtoj1pQXrrTN59hEEjat19 1v2zG0Wb58+FUjfx6z8fLEMXPdvZPwtyr2uxQ= Received: by 161.129.204.104 with SMTP id v34mr3649qao.90.1277295149723; Wed, 23 Jun 2010 05:12:29 -0700 (PDT) Received: from [161.129.204.104] (cpe-075-189-199-238.nc.res.rr.com [161.129.204.104]) by mx.google.com with ESMTPS id 15sm1653302qcg.38.2161.129.204.104.12.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 23 Jun 2010 05:12:28 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: Reasons for shaded modules? From: Kevan Miller <[email protected]> In-Reply-To: <[email protected]> Date: Wed, 23 Jun 2010 08:12:27 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <[email protected]> References: <[email protected]> To: [email protected] X-Mailer: Apple Mail (2.1081) On Jun 23, 2010, at 5:03 AM, Stanislav Ochotnicky wrote: > Hi, >=20 > I am packaging xbean-3.7 for Fedora Linux and I have one question > regarding your build. In xbean-asm-shaded module, you are using > maven-shade-plugin to relocate/repackage asm package. There doesn't > seem to be anything added, except changing package name. Is this > correct? Correct. IIRC, the fundamental motivation for xbean-asm-shaded began = with: https://issues.apache.org/jira/browse/OPENEJB-892 >=20 > We have stict guidelines for not including bundled = dependencies/private > copies of libraries in our packages so this is a big dealbreaker. I = was > able to compile xbean-reflect module after simple: >=20 > sed -i 's/org.apache.xbean.asm/org.objectweb.asm/' \ > = xbean-reflect/src/main/java/org/apache/xbean/recipe/XbeanAsmParameterNameL= oader.java >=20 > even without xbean-asm-shaded dependency. Is this likely to break > something?=20 >=20 > So basically I have two questions: > * why not use asm directly but repackage it by itself? > * is replacing dependency with original asm likely to cause problems? I thought we had completely unshaded versions of the xbean jars (with no = dependency on the shaded ASM jar) and shaded alternatives.=20 I don't see a problem with what you've done, but then again, I don't = understand/recall why it wasn't like that to begin with...=20 --kevan=
From [email protected] Sat Aug 16 12:19:21 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76319 invoked from network); 16 Aug 2008 12:19:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Aug 2008 12:19:21 -0000 Received: (qmail 87582 invoked by uid 500); 16 Aug 2008 12:19:20 -0000 Delivered-To: [email protected] Received: (qmail 87548 invoked by uid 500); 16 Aug 2008 12:19:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.turbine.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 87537 invoked by uid 99); 16 Aug 2008 12:19:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Aug 2008 05:19:20 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO barge.anchor.net.au) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Aug 2008 12:18:23 +0000 Received: from [161.129.204.104] (dsl-58-6-32-215.nsw.westnet.com.au [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by barge.anchor.net.au (Postfix) with ESMTP id 98998100F2; Sat, 16 Aug 2008 22:19:06 +1000 (EST) Message-ID: <[email protected]> Date: Sat, 16 Aug 2008 22:18:09 +1000 From: Scott Eade <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20080708) MIME-Version: 1.0 To: [email protected] CC: [email protected] Subject: Apache Turbine Project Board Report, August 2008 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Apache Turbine Project Board Report, August 2008 Status ====== The project continues on with its typical activity pattern, i.e. occasional bursts of development. The Turbine project has no board-level issues at this time. Community changes ================= No new committers were voted in since the last board report. No new PMC members were voted in since the last board report. Turbine core project ==================== Subsequent to the release of Turbine 2.3.3 RC1, a long standing memory leak was highlighted and fixed. The 2.3.3 release is now ready to go and only awaits the attention of the release manager to produce the artefacts and call for a vote. Releases since the last board report: * Turbine 2.3.3 RC1 Fulcrum component project ========================= Thomas Vandahl continues to port various enhancements made to Turbine 2.3.3 to the separated fulcrum components as well as generally cleaning up code and adding documentation. Siegfried Goeschl continues to commit tweaks and more significant enhancements to a number of fulcrum components (notably the addition of Spring integration for the YAAFI container and the ability to run an embedded Jetty container as a service) and on migrating the build process to Maven 2. No beta or final releases were made since the last board report. META project ============ No beta or final releases were made since the last board report. Scott
From [email protected] Sun Jan 04 22:52:06 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56366 invoked from network); 4 Jan 2009 22:52:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Jan 2009 22:52:06 -0000 Received: (qmail 21087 invoked by uid 500); 4 Jan 2009 22:52:05 -0000 Delivered-To: [email protected] Received: (qmail 21045 invoked by uid 500); 4 Jan 2009 22:52:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 21034 invoked by uid 99); 4 Jan 2009 22:52:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Jan 2009 14:52:05 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Jan 2009 22:52:04 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 41C26234C485 for <[email protected]>; Sun, 4 Jan 2009 14:51:44 -0800 (PST) Message-ID: <1250454529.1231109504268.JavaMail.jira@brutus> Date: Sun, 4 Jan 2009 14:51:44 -0800 (PST) From: "Fegote (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (HTTPCLIENT-811) Maven POM: JUnit should have only scope "test" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Maven POM: JUnit should have only scope "test" ---------------------------------------------- Key: HTTPCLIENT-811 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-811 Project: HttpComponents HttpClient Issue Type: Bug Components: Contrib Environment: Maven2 commons-httpclient 3.0.1 Default Maven Repository Reporter: Fegote The pom file defines JUNIT as provided: <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> </dependency> But it should be only has test scope: <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Jan 04 23:06:59 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58461 invoked from network); 4 Jan 2009 23:06:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Jan 2009 23:06:59 -0000 Received: (qmail 25874 invoked by uid 500); 4 Jan 2009 23:06:59 -0000 Delivered-To: [email protected] Received: (qmail 25837 invoked by uid 500); 4 Jan 2009 23:06:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 25826 invoked by uid 99); 4 Jan 2009 23:06:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Jan 2009 15:06:59 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Jan 2009 23:06:57 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id 4E69611150 for <[email protected]>; Sun, 4 Jan 2009 23:06:36 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Sun, 04 Jan 2009 23:06:36 -0000 Message-ID: <[email protected]> Subject: [Httpcomponents Wiki] Update of "HttpCoreTutorial" by OlegKalnichevski X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Httpcomponents Wiki" for change notification. The following page has been changed by OlegKalnichevski: http://wiki.apache.org/HttpComponents/HttpCoreTutorial ------------------------------------------------------------------------------ !HttpService is a server side HTTP protocol handler based in the blocking I/O model that implements the essential requirements of the HTTP protocol for the server side message processing as described by RFC 2616. - !HttpService relies on !HttpProcessor to generate mandatory protocol headers for all outgoing messages and apply common, cross-cutting message transformations to all incoming and outgoing messages, whereas HTTP request executor is expected to take care of application specific content generation and processing. + !HttpService relies on !HttpProcessor to generate mandatory protocol headers for all outgoing messages and apply common, cross-cutting message transformations to all incoming and outgoing messages, whereas HTTP request handlers are expected to take care of application specific content generation and processing. {{{ HttpParams params; @@ -716, +716 @@ === HTTP request executor === - !HttpRequestExecutor is a client side HTTP protocol handler based on the blocking I/O model that implements the essential requirements of the HTTP protocol for the client side message processing, as described by RFC 2616. !HttpRequestExecutor, similarly to its server side counterpart, makes use of !HttpProcessor to take care of the cross-cutting protocol aspects that apply to all incoming and outgoing messages. Application specific processing can be implemented outside !HttpRequestExecutor once the request has been executed and a response has been received. + !HttpRequestExecutor is a client side HTTP protocol handler based on the blocking I/O model that implements the essential requirements of the HTTP protocol for the client side message processing, as described by RFC 2616. !HttpRequestExecutor relies on !HttpProcessor to generate mandatory protocol headers for all outgoing messages and apply common, cross-cutting message transformations to all incoming and outgoing messages. Application specific processing can be implemented outside !HttpRequestExecutor once the request has been executed and a response has been received. {{{ HttpClientConnection conn; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jan 05 17:32:08 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6392 invoked from network); 5 Jan 2009 17:32:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Jan 2009 17:32:08 -0000 Received: (qmail 98286 invoked by uid 500); 5 Jan 2009 17:32:07 -0000 Delivered-To: [email protected] Received: (qmail 98259 invoked by uid 500); 5 Jan 2009 17:32:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 98248 invoked by uid 99); 5 Jan 2009 17:32:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jan 2009 09:32:07 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jan 2009 17:32:05 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 905DD234C485 for <[email protected]>; Mon, 5 Jan 2009 09:31:44 -0800 (PST) Message-ID: <1507327490.1231176704590.JavaMail.jira@brutus> Date: Mon, 5 Jan 2009 09:31:44 -0800 (PST) From: "Lawrence M. Bates (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (HTTPCLIENT-812) Would like to record and then retrieve the time, in ms, when an "http get" request is sent and likewise when the first byte of the response is received. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Would like to record and then retrieve the time, in ms, when an "http get" request is sent and likewise when the first byte of the response is received. --------------------------------------------------------------------------------------------------------------------------------------------------------- Key: HTTPCLIENT-812 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-812 Project: HttpComponents HttpClient Issue Type: New Feature Components: HttpClient Affects Versions: 3.1 Final Environment: Windows XP, Java 1.6.0_03, Tomcat 6 Reporter: Lawrence M. Bates Priority: Minor Would like to record and then retrieve the time, in ms, when an "http get" request is sent and likewise when the first byte of the response is received. Downloaded the source code for commons-httpclient-3.0.1. I built a custom commons-httpclient-3.0.1.jar where org.apache.commons.httpclient.HttpMethodBase records the time an "http get" request is first sent (execute method) , along with adding getters and setters. Also modified org.apache.commons.httpclient.HttpParser to record, get, and set the time that the first byte of the response is received. This non-standard feature allows us in our project to log and audit how long it's taking the targeted server to respond to our requests. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jan 05 17:36:08 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9333 invoked from network); 5 Jan 2009 17:36:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Jan 2009 17:36:08 -0000 Received: (qmail 3929 invoked by uid 500); 5 Jan 2009 17:36:08 -0000 Delivered-To: [email protected] Received: (qmail 3776 invoked by uid 500); 5 Jan 2009 17:36:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 3765 invoked by uid 99); 5 Jan 2009 17:36:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jan 2009 09:36:07 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jan 2009 17:36:05 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E3F86234C48D for <[email protected]>; Mon, 5 Jan 2009 09:35:44 -0800 (PST) Message-ID: <69904017.1231176944932.JavaMail.jira@brutus> Date: Mon, 5 Jan 2009 09:35:44 -0800 (PST) From: "Lawrence M. Bates (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HTTPCLIENT-812) Would like to record and then retrieve the time, in ms, when an "http get" request is sent and likewise when the first byte of the response is received. In-Reply-To: <1507327490.1231176704590.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lawrence M. Bates updated HTTPCLIENT-812: ----------------------------------------- Attachment: HttpParser.java HttpMethodBase.java 3.0.1 HttpMethodBase.java, with time request sent modifications. 3.0.1 HttpParser.java, with time response received modifications. > Would like to record and then retrieve the time, in ms, when an "http get" request is sent and likewise when the first byte of the response is received. > --------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: HTTPCLIENT-812 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-812 > Project: HttpComponents HttpClient > Issue Type: New Feature > Components: HttpClient > Affects Versions: 3.1 Final > Environment: Windows XP, Java 1.6.0_03, Tomcat 6 > Reporter: Lawrence M. Bates > Priority: Minor > Attachments: HttpMethodBase.java, HttpParser.java > > Original Estimate: 2h > Remaining Estimate: 2h > > Would like to record and then retrieve the time, in ms, when an "http get" request is sent and likewise when the first byte of the response is received. > Downloaded the source code for commons-httpclient-3.0.1. I built a custom commons-httpclient-3.0.1.jar where org.apache.commons.httpclient.HttpMethodBase records the time an "http get" request is first sent (execute method) , along with adding getters and setters. Also modified org.apache.commons.httpclient.HttpParser to record, get, and set the time that the first byte of the response is received. > This non-standard feature allows us in our project to log and audit how long it's taking the targeted server to respond to our requests. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jan 06 12:14:32 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58065 invoked from network); 6 Jan 2009 12:14:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Jan 2009 12:14:30 -0000 Received: (qmail 95256 invoked by uid 500); 6 Jan 2009 12:14:29 -0000 Delivered-To: [email protected] Received: (qmail 95217 invoked by uid 500); 6 Jan 2009 12:14:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 95206 invoked by uid 99); 6 Jan 2009 12:14:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jan 2009 04:14:29 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO fg-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jan 2009 12:14:21 +0000 Received: by fg-out-1718.google.com with SMTP id d23so2658304fga.32 for <[email protected]>; Tue, 06 Jan 2009 04:14:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=PTBchf692ivaI1lCOZnLmSSs9obMo1FnbLSg+L7SaBo=; b=l3uVIzjF7t8IyATfrjIuETRlAdG2dWXQ/n2gga5ablbXZ1dWB37H8wVdKLhtT2dBUf 2gUgP2vcjFwSNhlDooTmDyI5lUDTN9F6nS9uvqricUtrQvX42R8x19HPqHJjeeo+P4rl TmtvLpZVxNLHwu2+cal3meOEa0k9FSCZbsPGg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=XTUuD3liaOvyWPA3nc6LeqpaebNuWbuoAl0E8UCDYHT2MBPoJI893IhO6bKwvoZ8mO zyChfL5J4auGW/fErxC54aJPmGOH22oKtmLJwTwzbXAqMoeIrfWNVxmtg5QFiWb3JJqM G9HigH89Es6Ysgkasmlox1z/y7rG6NcDpVttk= Received: by 161.129.204.104 with SMTP id h18mr11327861fga.45.1231244041305; Tue, 06 Jan 2009 04:14:01 -0800 (PST) Received: by 161.129.204.104 with HTTP; Tue, 6 Jan 2009 04:14:01 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 6 Jan 2009 12:14:01 +0000 From: sebb <[email protected]> To: "HttpComponents Project" <[email protected]> Subject: Incorrect link for client-4.0-beta2 source zip MD5 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org The link for the source MD5 file: httpcomponents-client-4.0-beta2-src.zip.md5 was coded as httpcomponents-client-4.0-beta2-alpha6-src.zip.md5 i.e. it had a spurious -alpha6 suffix. As a quick fix, I've editted the file downloads.html on people. I'm not sure offhand where the source file is located. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jan 06 13:41:06 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 148 invoked from network); 6 Jan 2009 13:41:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Jan 2009 13:41:05 -0000 Received: (qmail 63213 invoked by uid 500); 6 Jan 2009 13:41:05 -0000 Delivered-To: [email protected] Received: (qmail 63179 invoked by uid 500); 6 Jan 2009 13:41:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 63168 invoked by uid 99); 6 Jan 2009 13:41:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jan 2009 05:41:05 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jan 2009 13:41:04 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 6AAD8234C485 for <[email protected]>; Tue, 6 Jan 2009 05:40:44 -0800 (PST) Message-ID: <1402425115.1231249244435.JavaMail.jira@brutus> Date: Tue, 6 Jan 2009 05:40:44 -0800 (PST) From: "Oleg Kalnichevski (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (HTTPCLIENT-811) Maven POM: JUnit should have only scope "test" In-Reply-To: <1250454529.1231109504268.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski resolved HTTPCLIENT-811. ------------------------------------------ Resolution: Duplicate Has been fixed in 3.1 Oleg > Maven POM: JUnit should have only scope "test" > ---------------------------------------------- > > Key: HTTPCLIENT-811 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-811 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: Contrib > Environment: Maven2 > commons-httpclient 3.0.1 > Default Maven Repository > Reporter: Fegote > Original Estimate: 0.17h > Remaining Estimate: 0.17h > > The pom file defines JUNIT as provided: > <dependency> > <groupId>junit</groupId> > <artifactId>junit</artifactId> > <version>3.8.1</version> > </dependency> > But it should be only has test scope: > <dependency> > <groupId>junit</groupId> > <artifactId>junit</artifactId> > <version>3.8.1</version> > <scope>test</scope> > </dependency> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jan 06 13:43:07 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2216 invoked from network); 6 Jan 2009 13:43:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Jan 2009 13:43:07 -0000 Received: (qmail 66054 invoked by uid 500); 6 Jan 2009 13:43:07 -0000 Delivered-To: [email protected] Received: (qmail 66014 invoked by uid 500); 6 Jan 2009 13:43:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 66003 invoked by uid 99); 6 Jan 2009 13:43:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jan 2009 05:43:07 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jan 2009 13:43:05 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 77A8C234C485 for <[email protected]>; Tue, 6 Jan 2009 05:42:44 -0800 (PST) Message-ID: <501360536.1231249364488.JavaMail.jira@brutus> Date: Tue, 6 Jan 2009 05:42:44 -0800 (PST) From: "Oleg Kalnichevski (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (HTTPCLIENT-812) Would like to record and then retrieve the time, in ms, when an "http get" request is sent and likewise when the first byte of the response is received. In-Reply-To: <1507327490.1231176704590.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski resolved HTTPCLIENT-812. ------------------------------------------ Resolution: Won't Fix Lawrence, HttpClient 3.x code line is nearing its end of life. There will be no more releases of HttpClient 3.1.x barring critical security related issues. Please consider porting your changes to HttpClient 4.0 API Oleg > Would like to record and then retrieve the time, in ms, when an "http get" request is sent and likewise when the first byte of the response is received. > --------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: HTTPCLIENT-812 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-812 > Project: HttpComponents HttpClient > Issue Type: New Feature > Components: HttpClient > Affects Versions: 3.1 Final > Environment: Windows XP, Java 1.6.0_03, Tomcat 6 > Reporter: Lawrence M. Bates > Priority: Minor > Attachments: HttpMethodBase.java, HttpParser.java > > Original Estimate: 2h > Remaining Estimate: 2h > > Would like to record and then retrieve the time, in ms, when an "http get" request is sent and likewise when the first byte of the response is received. > Downloaded the source code for commons-httpclient-3.0.1. I built a custom commons-httpclient-3.0.1.jar where org.apache.commons.httpclient.HttpMethodBase records the time an "http get" request is first sent (execute method) , along with adding getters and setters. Also modified org.apache.commons.httpclient.HttpParser to record, get, and set the time that the first byte of the response is received. > This non-standard feature allows us in our project to log and audit how long it's taking the targeted server to respond to our requests. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jan 06 23:21:52 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88270 invoked from network); 6 Jan 2009 23:21:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Jan 2009 23:21:51 -0000 Received: (qmail 76880 invoked by uid 500); 6 Jan 2009 23:21:51 -0000 Delivered-To: [email protected] Received: (qmail 76846 invoked by uid 500); 6 Jan 2009 23:21:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 76835 invoked by uid 500); 6 Jan 2009 23:21:50 -0000 Delivered-To: [email protected] Received: (qmail 76832 invoked by uid 99); 6 Jan 2009 23:21:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jan 2009 15:21:50 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO sushi.ironhide.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jan 2009 23:21:42 +0000 Received: from hq-exch-01.castiron.corp (unknown [161.129.204.104]) by sushi.ironhide.com (Postfix) with ESMTP id 7CDE5AE2FC for <[email protected]>; Wed, 7 Jan 2009 00:31:19 +0000 (UTC) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: FW: HttpClient authentication problem. Date: Tue, 6 Jan 2009 15:21:19 -0800 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FW: HttpClient authentication problem. Thread-Index: AceZSYgzF7sNXYsGRwSgHnRtIRfsUHXC6x6g References: <[email protected]> <[email protected]> From: "Pankaj Arora" <[email protected]> To: "HttpComponents Project" <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi Odi and Roland, Was curious to know if this feature finally made to 4.0. Moreover when = final 4.0 verison for commons is expected? Thanks, Pankaj Arora Hi Odi, > I would actually consider this a security issue in the connection > managers: It may hand out an already authenticated connection to an=20 > unsuspecting client. We should add fields to HttpConnection that keep=20 > track of the credentials for connection oriented AuthSchemes. So=20 > connection managers can take this into account. Also the connection=20 > managers lack a parameter in the getConnection methods that carries=20 > authentication information for connection based auth schemes. It's on my list for 4.0, though it won't make it into client alpha1: http://wiki.apache.org/jakarta-httpclient/ConnectionManagementDesign It's not urgent since we won't have NTLM support for a while. I don't think we can or should squeeze this into 3.x anymore. cheers, Roland -----Original Message----- From: Ortwin Gl=FCck [mailto:[email protected]]=20 Sent: Friday, May 18, 2007 5:41 AM To: HttpComponents Project Subject: Re: FW: HttpClient authentication problem. Pankaj, NTLM is designed to authenticate a connection. AFAIK it does not support = a "logout" in the middle of a connection, nor does it support preemptive = authentication. So the only way to force a new authentication is to=20 close the connection. (e.g. try and clear the authentication to a mapped = network drive in Windows. Probably the same issue there.) Thus it's not possible to share a connection between users when using=20 NTLM auth. Yes, this may cause a performance hit if you were planning to = share a connection between different users. You could tweak your connection manager to remember the authenticated=20 user for each connection and try to find an already authenticated one or = hand out a new one if you can't. I would actually consider this a security issue in the connection=20 managers: It may hand out an already authenticated connection to an=20 unsuspecting client. We should add fields to HttpConnection that keep=20 track of the credentials for connection oriented AuthSchemes. So=20 connection managers can take this into account. Also the connection=20 managers lack a parameter in the getConnection methods that carries=20 authentication information for connection based auth schemes. Ortwin Pankaj Arora wrote: > Thanks, That worked for me. Only thing that worries me is that > connections don't persist now. It might be a performance issue. Only > thing which I would like to know from you( as I am bit novice here)- > what is the right behavior, my client not authenticating second time > as connection is already authenticated or closing the connections to > force authentication repeatedly. >=20 > Thanks, Pankaj Arora. --=20 [web] http://www.odi.ch/ [blog] http://www.odi.ch/weblog/ [pgp] key 0x81CF3416 finger print F2B1 B21F F056 D53E 5D79 A5AF 02BE 70F5 81CF 3416 --------------------------------------------------------------------- To unsubscribe, e-mail: = [email protected] For additional commands, e-mail: = [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jan 07 09:48:16 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6316 invoked from network); 7 Jan 2009 09:48:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Jan 2009 09:48:16 -0000 Received: (qmail 22803 invoked by uid 500); 7 Jan 2009 09:48:16 -0000 Delivered-To: [email protected] Received: (qmail 22770 invoked by uid 500); 7 Jan 2009 09:48:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 22754 invoked by uid 99); 7 Jan 2009 09:48:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2009 01:48:16 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2consulting.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2009 09:48:06 +0000 Received: by ok2consulting.nine.ch (Postfix, from userid 1002) id 4D52219854C; Wed, 7 Jan 2009 10:47:45 +0100 (CET) Received: from [161.129.204.104] (unknown [161.129.204.104]) by ok2consulting.nine.ch (Postfix) with ESMTP id 835C019854C for <[email protected]>; Wed, 7 Jan 2009 10:47:31 +0100 (CET) Subject: RE: FW: HttpClient authentication problem. From: Oleg Kalnichevski <[email protected]> To: HttpComponents Project <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Wed, 07 Jan 2009 10:38:34 +0100 Message-Id: <1231321114.9538.2.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.24.2 Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on ok2consulting.nine.ch X-Spam-Level: X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.3 On Tue, 2009-01-06 at 15:21 -0800, Pankaj Arora wrote: > Hi Odi and Roland, > Was curious to know if this feature finally made to 4.0. Yes, it has > Moreover when final 4.0 verison for commons is expected? > Q2 2009 Oleg > Thanks, > Pankaj Arora > > > Hi Odi, > > > I would actually consider this a security issue in the connection > > managers: It may hand out an already authenticated connection to an > > unsuspecting client. We should add fields to HttpConnection that keep > > track of the credentials for connection oriented AuthSchemes. So > > connection managers can take this into account. Also the connection > > managers lack a parameter in the getConnection methods that carries > > authentication information for connection based auth schemes. > > It's on my list for 4.0, though it won't make it into client alpha1: > http://wiki.apache.org/jakarta-httpclient/ConnectionManagementDesign > It's not urgent since we won't have NTLM support for a while. > > I don't think we can or should squeeze this into 3.x anymore. > > cheers, > Roland > > -----Original Message----- > From: Ortwin Glück [mailto:[email protected]] > Sent: Friday, May 18, 2007 5:41 AM > To: HttpComponents Project > Subject: Re: FW: HttpClient authentication problem. > > Pankaj, > > NTLM is designed to authenticate a connection. AFAIK it does not support > a "logout" in the middle of a connection, nor does it support preemptive > authentication. So the only way to force a new authentication is to > close the connection. (e.g. try and clear the authentication to a mapped > network drive in Windows. Probably the same issue there.) > > Thus it's not possible to share a connection between users when using > NTLM auth. Yes, this may cause a performance hit if you were planning to > share a connection between different users. > > You could tweak your connection manager to remember the authenticated > user for each connection and try to find an already authenticated one or > hand out a new one if you can't. > > I would actually consider this a security issue in the connection > managers: It may hand out an already authenticated connection to an > unsuspecting client. We should add fields to HttpConnection that keep > track of the credentials for connection oriented AuthSchemes. So > connection managers can take this into account. Also the connection > managers lack a parameter in the getConnection methods that carries > authentication information for connection based auth schemes. > > Ortwin > > > Pankaj Arora wrote: > > Thanks, That worked for me. Only thing that worries me is that > > connections don't persist now. It might be a performance issue. Only > > thing which I would like to know from you( as I am bit novice here)- > > what is the right behavior, my client not authenticating second time > > as connection is already authenticated or closing the connections to > > force authentication repeatedly. > > > > Thanks, Pankaj Arora. > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jan 07 16:57:12 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9934 invoked from network); 7 Jan 2009 16:57:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Jan 2009 16:57:11 -0000 Received: (qmail 59400 invoked by uid 500); 7 Jan 2009 16:57:08 -0000 Delivered-To: [email protected] Received: (qmail 59305 invoked by uid 500); 7 Jan 2009 16:57:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 59139 invoked by uid 99); 7 Jan 2009 16:57:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2009 08:57:07 -0800 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2009 16:57:05 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 640C7234C48D for <[email protected]>; Wed, 7 Jan 2009 08:56:44 -0800 (PST) Message-ID: <449235484.1231347404408.JavaMail.jira@brutus> Date: Wed, 7 Jan 2009 08:56:44 -0800 (PST) From: "Zhihong Zhang (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (HTTPCLIENT-813) HttpClient throws NPE on Invalid Port when used with MultiThreadedHttpConnectionManager MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org HttpClient throws NPE on Invalid Port when used with MultiThreadedHttpConnectionManager --------------------------------------------------------------------------------------- Key: HTTPCLIENT-813 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-813 Project: HttpComponents HttpClient Issue Type: Bug Components: HttpClient Affects Versions: 3.1 Final Environment: Linux AS 3.1/Java 1.5 Reporter: Zhihong Zhang The HttpClient throws NullPointerException in the main thread when an invalid port (like 80001) is used in the URL. An IllegalArgumentException is thrown in TimeoutGuard thread. Exception in thread "Timeout guard" java.lang.IllegalArgumentException: port out of range:80001 at java.net.InetSocketAddress.<init>(InetSocketAddress.java:118) at java.net.Socket.<init>(Socket.java:240) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:91) at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:158) at java.lang.Thread.run(Thread.java:613) Exception in thread "main" java.lang.NullPointerException at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:721) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at com.aol.test.HttpTest$PoolingHttpConnector.doGet(HttpTest.java:47) at com.aol.test.HttpTest.main(HttpTest.java:17) It should throw a checked exception in main thread so caller can handle the error condition more gracefully. The test program is attached. This is caused by a race condition and it's not always reproducible. Running in debugger shows a different behavior. package com.aol.test; import java.io.IOException; import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.HttpStatus; import org.apache.commons.httpclient.MultiThreadedHttpConnectionManager; import org.apache.commons.httpclient.methods.GetMethod; import org.apache.commons.httpclient.params.HttpConnectionManagerParams; public class HttpTest { public static void main(String[] args) { PoolingHttpConnector conn = new PoolingHttpConnector(); try { String response = conn.doGet("http://www.aol.com:80001"); System.out.println("Response='" + response + "'"); } catch (IOException e) { e.printStackTrace(); } } static class PoolingHttpConnector { public static final int MAX_TOTAL_CONNECTIONS = 16; public static final int MAX_CONNECTIONS_PER_HOST = 8; public static final int CONNECT_TIMEOUT = 5000; public static final int SOCKET_TIMEOUT = 5000; public static final boolean TCP_NO_DELAY = true; private static MultiThreadedHttpConnectionManager poolManager; private static HttpConnectionManagerParams httpParams; private static HttpClient httpClient; private static boolean initialized = false; public PoolingHttpConnector() { initialize(); } public String doGet(String url) throws IOException { GetMethod method = new GetMethod(url); try { int status = httpClient.executeMethod(method); String response = new String(method.getResponseBody()); if (status != HttpStatus.SC_OK) throw new IOException("HTTP error: " + response); return response; } finally { method.releaseConnection(); } } private synchronized void initialize() { if (initialized) return; poolManager = new MultiThreadedHttpConnectionManager(); httpParams = new HttpConnectionManagerParams(); httpParams.setMaxTotalConnections(MAX_TOTAL_CONNECTIONS); httpParams.setDefaultMaxConnectionsPerHost(MAX_CONNECTIONS_PER_HOST); httpParams.setTcpNoDelay(TCP_NO_DELAY); httpParams.setSoTimeout(SOCKET_TIMEOUT); httpParams.setConnectionTimeout(CONNECT_TIMEOUT); poolManager.setParams(httpParams); httpClient = new HttpClient(poolManager); initialized = true; } } } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jan 07 16:59:05 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11763 invoked from network); 7 Jan 2009 16:59:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Jan 2009 16:59:05 -0000 Received: (qmail 63810 invoked by uid 500); 7 Jan 2009 16:59:05 -0000 Delivered-To: [email protected] Received: (qmail 63605 invoked by uid 500); 7 Jan 2009 16:59:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 63594 invoked by uid 99); 7 Jan 2009 16:59:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2009 08:59:05 -0800 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2009 16:59:04 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 43AE7234C48C for <[email protected]>; Wed, 7 Jan 2009 08:58:44 -0800 (PST) Message-ID: <1917536889.1231347524275.JavaMail.jira@brutus> Date: Wed, 7 Jan 2009 08:58:44 -0800 (PST) From: "Zhihong Zhang (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HTTPCLIENT-813) HttpClient throws NPE on Invalid Port when used with MultiThreadedHttpConnectionManager In-Reply-To: <449235484.1231347404408.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zhihong Zhang updated HTTPCLIENT-813: ------------------------------------- Attachment: HttpTest.java > HttpClient throws NPE on Invalid Port when used with MultiThreadedHttpConnectionManager > --------------------------------------------------------------------------------------- > > Key: HTTPCLIENT-813 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-813 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient > Affects Versions: 3.1 Final > Environment: Linux AS 3.1/Java 1.5 > Reporter: Zhihong Zhang > Attachments: HttpTest.java > > > The HttpClient throws NullPointerException in the main thread when an invalid port (like 80001) is used in the URL. An IllegalArgumentException is thrown in TimeoutGuard thread. > > Exception in thread "Timeout guard" java.lang.IllegalArgumentException: port out of range:80001 > at java.net.InetSocketAddress.<init>(InetSocketAddress.java:118) > at java.net.Socket.<init>(Socket.java:240) > at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) > at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:91) > at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:158) > at java.lang.Thread.run(Thread.java:613) > Exception in thread "main" java.lang.NullPointerException > at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:721) > at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) > at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) > at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) > at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) > at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) > at com.aol.test.HttpTest$PoolingHttpConnector.doGet(HttpTest.java:47) > at com.aol.test.HttpTest.main(HttpTest.java:17) > It should throw a checked exception in main thread so caller can handle the error condition more gracefully. > The test program is attached. This is caused by a race condition and it's not always reproducible. Running in debugger shows a different behavior. > package com.aol.test; > import java.io.IOException; > import org.apache.commons.httpclient.HttpClient; > import org.apache.commons.httpclient.HttpStatus; > import org.apache.commons.httpclient.MultiThreadedHttpConnectionManager; > import org.apache.commons.httpclient.methods.GetMethod; > import org.apache.commons.httpclient.params.HttpConnectionManagerParams; > public class HttpTest { > > public static void main(String[] args) { > PoolingHttpConnector conn = new PoolingHttpConnector(); > > try { > String response = conn.doGet("http://www.aol.com:80001"); > System.out.println("Response='" + response + "'"); > } catch (IOException e) { > e.printStackTrace(); > } > } > static class PoolingHttpConnector { > > public static final int MAX_TOTAL_CONNECTIONS = 16; > public static final int MAX_CONNECTIONS_PER_HOST = 8; > public static final int CONNECT_TIMEOUT = 5000; > public static final int SOCKET_TIMEOUT = 5000; > public static final boolean TCP_NO_DELAY = true; > > private static MultiThreadedHttpConnectionManager poolManager; > private static HttpConnectionManagerParams httpParams; > private static HttpClient httpClient; > private static boolean initialized = false; > > public PoolingHttpConnector() > { > initialize(); > } > public String doGet(String url) throws IOException { > GetMethod method = new GetMethod(url); > > try { > int status = httpClient.executeMethod(method); > String response = new String(method.getResponseBody()); > > if (status != HttpStatus.SC_OK) > throw new IOException("HTTP error: " + response); > > return response; > > } finally { > method.releaseConnection(); > } > } > > private synchronized void initialize() { > if (initialized) > return; > > poolManager = new MultiThreadedHttpConnectionManager(); > httpParams = new HttpConnectionManagerParams(); > > httpParams.setMaxTotalConnections(MAX_TOTAL_CONNECTIONS); > httpParams.setDefaultMaxConnectionsPerHost(MAX_CONNECTIONS_PER_HOST); > httpParams.setTcpNoDelay(TCP_NO_DELAY); > httpParams.setSoTimeout(SOCKET_TIMEOUT); > httpParams.setConnectionTimeout(CONNECT_TIMEOUT); > > poolManager.setParams(httpParams); > httpClient = new HttpClient(poolManager); > initialized = true; > } > > } > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jan 07 20:37:08 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16932 invoked from network); 7 Jan 2009 20:37:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Jan 2009 20:37:08 -0000 Received: (qmail 71724 invoked by uid 500); 7 Jan 2009 20:37:07 -0000 Delivered-To: [email protected] Received: (qmail 71699 invoked by uid 500); 7 Jan 2009 20:37:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 71688 invoked by uid 99); 7 Jan 2009 20:37:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2009 12:37:07 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2009 20:37:05 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 68C8C234C48C for <[email protected]>; Wed, 7 Jan 2009 12:36:44 -0800 (PST) Message-ID: <1971681584.1231360604427.JavaMail.jira@brutus> Date: Wed, 7 Jan 2009 12:36:44 -0800 (PST) From: "Eric Sword (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (HTTPCLIENT-787) Redirects with spaces in them are not handled correctly In-Reply-To: <1090901152.1216221762882.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12661696#action_12661696 ] Eric Sword commented on HTTPCLIENT-787: --------------------------------------- For anyone who comes across this issue and is tied to HttpClient 3.x, it is possible to do this pretty easily by overriding GetMethod.readResponseHeaders (assuming that the main use case for doing this is with GET). The child class can just call super.readResponseHeaders and then check the response header group for any "location" headers with bad URLs. It's not the most obvious approach, but it was the only one I found that works (along with being very simple to implement), so I thought I would record it for posterity. > Redirects with spaces in them are not handled correctly > ------------------------------------------------------- > > Key: HTTPCLIENT-787 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-787 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient > Reporter: Dave Clemmer > Priority: Minor > > If a redirect address has spaces in it (yes, I know, the person creating that situation should be beaten, but, alas, that is not an option), they are not converted to %20 before opening, and, hence, fail to open. > changing line 107 of DefaultRedirectHandler to > String location = locationHeader.getValue().replaceAll (" ", "%20"); > seems to fix it. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Jan 08 08:05:14 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23637 invoked from network); 8 Jan 2009 08:05:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Jan 2009 08:05:14 -0000 Received: (qmail 92718 invoked by uid 500); 8 Jan 2009 08:05:13 -0000 Delivered-To: [email protected] Received: (qmail 92687 invoked by uid 500); 8 Jan 2009 08:05:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 92676 invoked by uid 99); 8 Jan 2009 08:05:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jan 2009 00:05:13 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jan 2009 08:05:12 +0000 Received: from [161.129.204.104] (localhost [161.129.204.104]) by vmgump.apache.org (Postfix) with ESMTP id 516EDAB42A3 for <[email protected]>; Thu, 8 Jan 2009 00:04:47 -0800 (PST) Date: Thu, 08 Jan 2009 00:04:46 PST From: Stefan Bodewig <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project commons-httpclient-2.0-branch (in module httpcomponents) failed Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project commons-httpclient-2.0-branch has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 137 runs. The current state of this project is 'Failed', with reason 'Configuration Failed'. For reference only, the following projects are affected by this: - commons-httpclient-2.0-branch : HTTP Client Library, version 2.0 Full details are available at: http://vmgump.apache.org/gump/public/httpcomponents/commons-httpclient-2.0-branch/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [commons-httpclient-2.0.2.jar] identifier set to project name -INFO- Failed with reason configuration failed -ERROR- Bad Dependency. Project: commons-logging : unknown to *this* workspace -ERROR- Bad Dependency. Project: commons-codec : unknown to *this* workspace -DEBUG- Extracted fallback artifacts from Gump Repository To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/httpcomponents/commons-httpclient-2.0-branch/rss.xml - Atom: http://vmgump.apache.org/gump/public/httpcomponents/commons-httpclient-2.0-branch/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.3. Gump Run 15000008012009, vmgump:vmgump-public:15000008012009 Gump E-mail Identifier (unique within run) #1. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Jan 08 09:11:27 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45599 invoked from network); 8 Jan 2009 09:11:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Jan 2009 09:11:27 -0000 Received: (qmail 39203 invoked by uid 500); 8 Jan 2009 09:11:27 -0000 Delivered-To: [email protected] Received: (qmail 39153 invoked by uid 500); 8 Jan 2009 09:11:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 39142 invoked by uid 99); 8 Jan 2009 09:11:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jan 2009 01:11:26 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jan 2009 09:11:26 +0000 Received: from [161.129.204.104] (localhost [161.129.204.104]) by vmgump.apache.org (Postfix) with ESMTP id 48C49AB41EE for <[email protected]>; Thu, 8 Jan 2009 01:11:05 -0800 (PST) Date: Thu, 08 Jan 2009 01:11:05 PST From: Stefan Bodewig <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project commons-httpclient (in module httpcomponents) failed Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project commons-httpclient has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 137 runs. The current state of this project is 'Failed', with reason 'Configuration Failed'. For reference only, the following projects are affected by this: - commons-httpclient : HTTP Client Library, version 3.1 Full details are available at: http://vmgump.apache.org/gump/public/httpcomponents/commons-httpclient/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [commons-httpclient.jar] identifier set to project name -INFO- Failed with reason configuration failed -ERROR- Bad Dependency. Project: commons-logging : unknown to *this* workspace -ERROR- Bad Dependency. Project: commons-codec : unknown to *this* workspace -DEBUG- Extracted fallback artifacts from Gump Repository To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/httpcomponents/commons-httpclient/rss.xml - Atom: http://vmgump.apache.org/gump/public/httpcomponents/commons-httpclient/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.3. Gump Run 15000008012009, vmgump:vmgump-public:15000008012009 Gump E-mail Identifier (unique within run) #15. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Jan 08 15:15:35 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12482 invoked from network); 8 Jan 2009 15:15:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Jan 2009 15:15:34 -0000 Received: (qmail 14790 invoked by uid 500); 8 Jan 2009 15:15:24 -0000 Delivered-To: [email protected] Received: (qmail 14663 invoked by uid 500); 8 Jan 2009 15:15:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 14605 invoked by uid 99); 8 Jan 2009 15:15:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jan 2009 07:15:24 -0800 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jan 2009 15:15:21 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C5AEC234C498 for <[email protected]>; Thu, 8 Jan 2009 07:14:59 -0800 (PST) Message-ID: <1587253137.1231427699808.JavaMail.jira@brutus> Date: Thu, 8 Jan 2009 07:14:59 -0800 (PST) From: "Oleg Kalnichevski (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HTTPCLIENT-813) HttpClient throws NPE on Invalid Port when used with MultiThreadedHttpConnectionManager In-Reply-To: <449235484.1231347404408.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski updated HTTPCLIENT-813: ----------------------------------------- Attachment: HttpTest2.java I can reproduce the bug for HttpClient 3.x using the test case. However, the same code ported to 4.0 API seems to work for me without throwing any [email protected]. See HttpTest2 attached. The bug in HttpClient 3.x can be worked around by providing a better implementation of the ProtocolSocketFactory. Oleg > HttpClient throws NPE on Invalid Port when used with MultiThreadedHttpConnectionManager > --------------------------------------------------------------------------------------- > > Key: HTTPCLIENT-813 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-813 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient > Affects Versions: 3.1 Final > Environment: Linux AS 3.1/Java 1.5 > Reporter: Zhihong Zhang > Attachments: HttpTest.java, HttpTest2.java > > > The HttpClient throws NullPointerException in the main thread when an invalid port (like 80001) is used in the URL. An IllegalArgumentException is thrown in TimeoutGuard thread. > > Exception in thread "Timeout guard" java.lang.IllegalArgumentException: port out of range:80001 > at java.net.InetSocketAddress.<init>(InetSocketAddress.java:118) > at java.net.Socket.<init>(Socket.java:240) > at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) > at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:91) > at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:158) > at java.lang.Thread.run(Thread.java:613) > Exception in thread "main" java.lang.NullPointerException > at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:721) > at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) > at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) > at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) > at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) > at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) > at com.aol.test.HttpTest$PoolingHttpConnector.doGet(HttpTest.java:47) > at com.aol.test.HttpTest.main(HttpTest.java:17) > It should throw a checked exception in main thread so caller can handle the error condition more gracefully. > The test program is attached. This is caused by a race condition and it's not always reproducible. Running in debugger shows a different behavior. > package com.aol.test; > import java.io.IOException; > import org.apache.commons.httpclient.HttpClient; > import org.apache.commons.httpclient.HttpStatus; > import org.apache.commons.httpclient.MultiThreadedHttpConnectionManager; > import org.apache.commons.httpclient.methods.GetMethod; > import org.apache.commons.httpclient.params.HttpConnectionManagerParams; > public class HttpTest { > > public static void main(String[] args) { > PoolingHttpConnector conn = new PoolingHttpConnector(); > > try { > String response = conn.doGet("http://www.aol.com:80001"); > System.out.println("Response='" + response + "'"); > } catch (IOException e) { > e.printStackTrace(); > } > } > static class PoolingHttpConnector { > > public static final int MAX_TOTAL_CONNECTIONS = 16; > public static final int MAX_CONNECTIONS_PER_HOST = 8; > public static final int CONNECT_TIMEOUT = 5000; > public static final int SOCKET_TIMEOUT = 5000; > public static final boolean TCP_NO_DELAY = true; > > private static MultiThreadedHttpConnectionManager poolManager; > private static HttpConnectionManagerParams httpParams; > private static HttpClient httpClient; > private static boolean initialized = false; > > public PoolingHttpConnector() > { > initialize(); > } > public String doGet(String url) throws IOException { > GetMethod method = new GetMethod(url); > > try { > int status = httpClient.executeMethod(method); > String response = new String(method.getResponseBody()); > > if (status != HttpStatus.SC_OK) > throw new IOException("HTTP error: " + response); > > return response; > > } finally { > method.releaseConnection(); > } > } > > private synchronized void initialize() { > if (initialized) > return; > > poolManager = new MultiThreadedHttpConnectionManager(); > httpParams = new HttpConnectionManagerParams(); > > httpParams.setMaxTotalConnections(MAX_TOTAL_CONNECTIONS); > httpParams.setDefaultMaxConnectionsPerHost(MAX_CONNECTIONS_PER_HOST); > httpParams.setTcpNoDelay(TCP_NO_DELAY); > httpParams.setSoTimeout(SOCKET_TIMEOUT); > httpParams.setConnectionTimeout(CONNECT_TIMEOUT); > > poolManager.setParams(httpParams); > httpClient = new HttpClient(poolManager); > initialized = true; > } > > } > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Jan 08 15:17:22 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12939 invoked from network); 8 Jan 2009 15:17:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Jan 2009 15:17:22 -0000 Received: (qmail 19509 invoked by uid 500); 8 Jan 2009 15:17:21 -0000 Delivered-To: [email protected] Received: (qmail 19288 invoked by uid 500); 8 Jan 2009 15:17:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 19277 invoked by uid 99); 8 Jan 2009 15:17:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jan 2009 07:17:20 -0800 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jan 2009 15:17:19 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id ACF5F234C4A7 for <[email protected]>; Thu, 8 Jan 2009 07:16:59 -0800 (PST) Message-ID: <917454696.1231427819707.JavaMail.jira@brutus> Date: Thu, 8 Jan 2009 07:16:59 -0800 (PST) From: "Oleg Kalnichevski (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (HTTPCLIENT-813) HttpClient throws NPE on Invalid Port when used with MultiThreadedHttpConnectionManager In-Reply-To: <449235484.1231347404408.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski resolved HTTPCLIENT-813. ------------------------------------------ Resolution: Won't Fix HttpClient 3.x is nearing end of life. There is no point fixing it (unless some one volunteers to provide a complete patch in udiff format including test coverage). Oleg > HttpClient throws NPE on Invalid Port when used with MultiThreadedHttpConnectionManager > --------------------------------------------------------------------------------------- > > Key: HTTPCLIENT-813 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-813 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient > Affects Versions: 3.1 Final > Environment: Linux AS 3.1/Java 1.5 > Reporter: Zhihong Zhang > Attachments: HttpTest.java, HttpTest2.java > > > The HttpClient throws NullPointerException in the main thread when an invalid port (like 80001) is used in the URL. An IllegalArgumentException is thrown in TimeoutGuard thread. > > Exception in thread "Timeout guard" java.lang.IllegalArgumentException: port out of range:80001 > at java.net.InetSocketAddress.<init>(InetSocketAddress.java:118) > at java.net.Socket.<init>(Socket.java:240) > at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) > at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:91) > at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:158) > at java.lang.Thread.run(Thread.java:613) > Exception in thread "main" java.lang.NullPointerException > at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:721) > at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) > at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) > at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) > at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) > at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) > at com.aol.test.HttpTest$PoolingHttpConnector.doGet(HttpTest.java:47) > at com.aol.test.HttpTest.main(HttpTest.java:17) > It should throw a checked exception in main thread so caller can handle the error condition more gracefully. > The test program is attached. This is caused by a race condition and it's not always reproducible. Running in debugger shows a different behavior. > package com.aol.test; > import java.io.IOException; > import org.apache.commons.httpclient.HttpClient; > import org.apache.commons.httpclient.HttpStatus; > import org.apache.commons.httpclient.MultiThreadedHttpConnectionManager; > import org.apache.commons.httpclient.methods.GetMethod; > import org.apache.commons.httpclient.params.HttpConnectionManagerParams; > public class HttpTest { > > public static void main(String[] args) { > PoolingHttpConnector conn = new PoolingHttpConnector(); > > try { > String response = conn.doGet("http://www.aol.com:80001"); > System.out.println("Response='" + response + "'"); > } catch (IOException e) { > e.printStackTrace(); > } > } > static class PoolingHttpConnector { > > public static final int MAX_TOTAL_CONNECTIONS = 16; > public static final int MAX_CONNECTIONS_PER_HOST = 8; > public static final int CONNECT_TIMEOUT = 5000; > public static final int SOCKET_TIMEOUT = 5000; > public static final boolean TCP_NO_DELAY = true; > > private static MultiThreadedHttpConnectionManager poolManager; > private static HttpConnectionManagerParams httpParams; > private static HttpClient httpClient; > private static boolean initialized = false; > > public PoolingHttpConnector() > { > initialize(); > } > public String doGet(String url) throws IOException { > GetMethod method = new GetMethod(url); > > try { > int status = httpClient.executeMethod(method); > String response = new String(method.getResponseBody()); > > if (status != HttpStatus.SC_OK) > throw new IOException("HTTP error: " + response); > > return response; > > } finally { > method.releaseConnection(); > } > } > > private synchronized void initialize() { > if (initialized) > return; > > poolManager = new MultiThreadedHttpConnectionManager(); > httpParams = new HttpConnectionManagerParams(); > > httpParams.setMaxTotalConnections(MAX_TOTAL_CONNECTIONS); > httpParams.setDefaultMaxConnectionsPerHost(MAX_CONNECTIONS_PER_HOST); > httpParams.setTcpNoDelay(TCP_NO_DELAY); > httpParams.setSoTimeout(SOCKET_TIMEOUT); > httpParams.setConnectionTimeout(CONNECT_TIMEOUT); > > poolManager.setParams(httpParams); > httpClient = new HttpClient(poolManager); > initialized = true; > } > > } > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Jan 08 16:11:24 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33167 invoked from network); 8 Jan 2009 16:11:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Jan 2009 16:11:23 -0000 Received: (qmail 33398 invoked by uid 500); 8 Jan 2009 16:11:23 -0000 Delivered-To: [email protected] Received: (qmail 33366 invoked by uid 500); 8 Jan 2009 16:11:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 33355 invoked by uid 99); 8 Jan 2009 16:11:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jan 2009 08:11:23 -0800 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jan 2009 16:11:20 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D9C18234C48C for <[email protected]>; Thu, 8 Jan 2009 08:10:59 -0800 (PST) Message-ID: <3287414.1231431059890.JavaMail.jira@brutus> Date: Thu, 8 Jan 2009 08:10:59 -0800 (PST) From: "Zhihong Zhang (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (HTTPCLIENT-813) HttpClient throws NPE on Invalid Port when used with MultiThreadedHttpConnectionManager In-Reply-To: <449235484.1231347404408.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662021#action_12662021 ] Zhihong Zhang commented on HTTPCLIENT-813: ------------------------------------------ You said 4.0 doesn't throw [email protected]. That's not right behavior either. Since the input is invalid, it should throw a checked exception. We want to switch to 4.0 but we have a policy not to use software in beta. Do you have an estimate on the official release? Thanks for your quick response. Zhihong > HttpClient throws NPE on Invalid Port when used with MultiThreadedHttpConnectionManager > --------------------------------------------------------------------------------------- > > Key: HTTPCLIENT-813 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-813 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient > Affects Versions: 3.1 Final > Environment: Linux AS 3.1/Java 1.5 > Reporter: Zhihong Zhang > Attachments: HttpTest.java, HttpTest2.java > > > The HttpClient throws NullPointerException in the main thread when an invalid port (like 80001) is used in the URL. An IllegalArgumentException is thrown in TimeoutGuard thread. > > Exception in thread "Timeout guard" java.lang.IllegalArgumentException: port out of range:80001 > at java.net.InetSocketAddress.<init>(InetSocketAddress.java:118) > at java.net.Socket.<init>(Socket.java:240) > at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) > at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:91) > at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:158) > at java.lang.Thread.run(Thread.java:613) > Exception in thread "main" java.lang.NullPointerException > at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:721) > at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) > at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) > at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) > at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) > at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) > at com.aol.test.HttpTest$PoolingHttpConnector.doGet(HttpTest.java:47) > at com.aol.test.HttpTest.main(HttpTest.java:17) > It should throw a checked exception in main thread so caller can handle the error condition more gracefully. > The test program is attached. This is caused by a race condition and it's not always reproducible. Running in debugger shows a different behavior. > package com.aol.test; > import java.io.IOException; > import org.apache.commons.httpclient.HttpClient; > import org.apache.commons.httpclient.HttpStatus; > import org.apache.commons.httpclient.MultiThreadedHttpConnectionManager; > import org.apache.commons.httpclient.methods.GetMethod; > import org.apache.commons.httpclient.params.HttpConnectionManagerParams; > public class HttpTest { > > public static void main(String[] args) { > PoolingHttpConnector conn = new PoolingHttpConnector(); > > try { > String response = conn.doGet("http://www.aol.com:80001"); > System.out.println("Response='" + response + "'"); > } catch (IOException e) { > e.printStackTrace(); > } > } > static class PoolingHttpConnector { > > public static final int MAX_TOTAL_CONNECTIONS = 16; > public static final int MAX_CONNECTIONS_PER_HOST = 8; > public static final int CONNECT_TIMEOUT = 5000; > public static final int SOCKET_TIMEOUT = 5000; > public static final boolean TCP_NO_DELAY = true; > > private static MultiThreadedHttpConnectionManager poolManager; > private static HttpConnectionManagerParams httpParams; > private static HttpClient httpClient; > private static boolean initialized = false; > > public PoolingHttpConnector() > { > initialize(); > } > public String doGet(String url) throws IOException { > GetMethod method = new GetMethod(url); > > try { > int status = httpClient.executeMethod(method); > String response = new String(method.getResponseBody()); > > if (status != HttpStatus.SC_OK) > throw new IOException("HTTP error: " + response); > > return response; > > } finally { > method.releaseConnection(); > } > } > > private synchronized void initialize() { > if (initialized) > return; > > poolManager = new MultiThreadedHttpConnectionManager(); > httpParams = new HttpConnectionManagerParams(); > > httpParams.setMaxTotalConnections(MAX_TOTAL_CONNECTIONS); > httpParams.setDefaultMaxConnectionsPerHost(MAX_CONNECTIONS_PER_HOST); > httpParams.setTcpNoDelay(TCP_NO_DELAY); > httpParams.setSoTimeout(SOCKET_TIMEOUT); > httpParams.setConnectionTimeout(CONNECT_TIMEOUT); > > poolManager.setParams(httpParams); > httpClient = new HttpClient(poolManager); > initialized = true; > } > > } > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Jan 08 16:27:24 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38372 invoked from network); 8 Jan 2009 16:27:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Jan 2009 16:27:21 -0000 Received: (qmail 63594 invoked by uid 500); 8 Jan 2009 16:27:20 -0000 Delivered-To: [email protected] Received: (qmail 63554 invoked by uid 500); 8 Jan 2009 16:27:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 63543 invoked by uid 99); 8 Jan 2009 16:27:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jan 2009 08:27:20 -0800 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jan 2009 16:27:19 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 995CA234C48C for <[email protected]>; Thu, 8 Jan 2009 08:26:59 -0800 (PST) Message-ID: <345254765.1231432019626.JavaMail.jira@brutus> Date: Thu, 8 Jan 2009 08:26:59 -0800 (PST) From: "Oleg Kalnichevski (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (HTTPCLIENT-813) HttpClient throws NPE on Invalid Port when used with MultiThreadedHttpConnectionManager In-Reply-To: <449235484.1231347404408.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662026#action_12662026 ] Oleg Kalnichevski commented on HTTPCLIENT-813: ---------------------------------------------- > You said 4.0 doesn't throw [email protected]. That's not right behavior either. Since the input is invalid, it should throw a checked exception. You may be right, but since JRE classes do not raise an exception, I do not think this is HttpClient's job to validate port numbers > Do you have an estimate on the official release? Q2 2009 Oleg > HttpClient throws NPE on Invalid Port when used with MultiThreadedHttpConnectionManager > --------------------------------------------------------------------------------------- > > Key: HTTPCLIENT-813 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-813 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient > Affects Versions: 3.1 Final > Environment: Linux AS 3.1/Java 1.5 > Reporter: Zhihong Zhang > Attachments: HttpTest.java, HttpTest2.java > > > The HttpClient throws NullPointerException in the main thread when an invalid port (like 80001) is used in the URL. An IllegalArgumentException is thrown in TimeoutGuard thread. > > Exception in thread "Timeout guard" java.lang.IllegalArgumentException: port out of range:80001 > at java.net.InetSocketAddress.<init>(InetSocketAddress.java:118) > at java.net.Socket.<init>(Socket.java:240) > at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) > at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:91) > at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:158) > at java.lang.Thread.run(Thread.java:613) > Exception in thread "main" java.lang.NullPointerException > at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:721) > at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) > at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) > at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) > at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) > at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) > at com.aol.test.HttpTest$PoolingHttpConnector.doGet(HttpTest.java:47) > at com.aol.test.HttpTest.main(HttpTest.java:17) > It should throw a checked exception in main thread so caller can handle the error condition more gracefully. > The test program is attached. This is caused by a race condition and it's not always reproducible. Running in debugger shows a different behavior. > package com.aol.test; > import java.io.IOException; > import org.apache.commons.httpclient.HttpClient; > import org.apache.commons.httpclient.HttpStatus; > import org.apache.commons.httpclient.MultiThreadedHttpConnectionManager; > import org.apache.commons.httpclient.methods.GetMethod; > import org.apache.commons.httpclient.params.HttpConnectionManagerParams; > public class HttpTest { > > public static void main(String[] args) { > PoolingHttpConnector conn = new PoolingHttpConnector(); > > try { > String response = conn.doGet("http://www.aol.com:80001"); > System.out.println("Response='" + response + "'"); > } catch (IOException e) { > e.printStackTrace(); > } > } > static class PoolingHttpConnector { > > public static final int MAX_TOTAL_CONNECTIONS = 16; > public static final int MAX_CONNECTIONS_PER_HOST = 8; > public static final int CONNECT_TIMEOUT = 5000; > public static final int SOCKET_TIMEOUT = 5000; > public static final boolean TCP_NO_DELAY = true; > > private static MultiThreadedHttpConnectionManager poolManager; > private static HttpConnectionManagerParams httpParams; > private static HttpClient httpClient; > private static boolean initialized = false; > > public PoolingHttpConnector() > { > initialize(); > } > public String doGet(String url) throws IOException { > GetMethod method = new GetMethod(url); > > try { > int status = httpClient.executeMethod(method); > String response = new String(method.getResponseBody()); > > if (status != HttpStatus.SC_OK) > throw new IOException("HTTP error: " + response); > > return response; > > } finally { > method.releaseConnection(); > } > } > > private synchronized void initialize() { > if (initialized) > return; > > poolManager = new MultiThreadedHttpConnectionManager(); > httpParams = new HttpConnectionManagerParams(); > > httpParams.setMaxTotalConnections(MAX_TOTAL_CONNECTIONS); > httpParams.setDefaultMaxConnectionsPerHost(MAX_CONNECTIONS_PER_HOST); > httpParams.setTcpNoDelay(TCP_NO_DELAY); > httpParams.setSoTimeout(SOCKET_TIMEOUT); > httpParams.setConnectionTimeout(CONNECT_TIMEOUT); > > poolManager.setParams(httpParams); > httpClient = new HttpClient(poolManager); > initialized = true; > } > > } > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 09 15:06:24 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65131 invoked from network); 9 Jan 2009 15:06:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jan 2009 15:06:23 -0000 Received: (qmail 95436 invoked by uid 500); 9 Jan 2009 15:06:22 -0000 Delivered-To: [email protected] Received: (qmail 95406 invoked by uid 500); 9 Jan 2009 15:06:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 95395 invoked by uid 99); 9 Jan 2009 15:06:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2009 07:06:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2009 15:06:20 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 92733234C4A7 for <[email protected]>; Fri, 9 Jan 2009 07:05:59 -0800 (PST) Message-ID: <1846388584.1231513559598.JavaMail.jira@brutus> Date: Fri, 9 Jan 2009 07:05:59 -0800 (PST) From: "Will Franco (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (HTTPCLIENT-814) MultiThreadedHttpConnectionManager deadlocks when reusing socket connections MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org MultiThreadedHttpConnectionManager deadlocks when reusing socket connections ---------------------------------------------------------------------------- Key: HTTPCLIENT-814 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-814 Project: HttpComponents HttpClient Issue Type: Bug Components: HttpClient Affects Versions: 3.1 Final Environment: Tomcat 6.18 running on a Windows 2003 server Reporter: Will Franco Fix For: 3.1.1 During our Load Testing we encountered that the MultiThreadedHttpConnectionManager deadlocks when reusing socket connections. These socket connections remain in the pool in a CLOSE_WAIT state, and the pool is unable to reuse them or create new ones because the maximum number of connection has already been reached, thus deadlocking. Let me explain briefly how this library is being used and the temporary work around that we are using. However, the correct solution would be to use the connection pool. Usage: 1) The HttPClient is being used to handle connections to another server from our Web Application. So far, for every request our Web Apps processes we have to make at least one request to another server using the HttpClient. 2) Our load tester, loads our web app with thousands of request within the first 30 seconds, and maintains such high volume of requests for at least 24 hours Work Around: The current work around we implemented is to have different instances of the HttpClient per request, and we shutdown the Connection Manager once we complete the transaction with the other server. The next work around we will be implementing is to called the closeIdleConnections, this solution will remove the connections that can pontentialy deadlock the connection manager allowing it to allocate new ones. Please email me to [email protected] if you need any further information regarding this issue. Please email me at [email protected] if you need further information. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 09 15:06:25 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65175 invoked from network); 9 Jan 2009 15:06:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jan 2009 15:06:25 -0000 Received: (qmail 95571 invoked by uid 500); 9 Jan 2009 15:06:23 -0000 Delivered-To: [email protected] Received: (qmail 95544 invoked by uid 500); 9 Jan 2009 15:06:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 95527 invoked by uid 99); 9 Jan 2009 15:06:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2009 07:06:23 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2009 15:06:20 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 95B94234C4A9 for <[email protected]>; Fri, 9 Jan 2009 07:05:59 -0800 (PST) Message-ID: <1360539823.1231513559612.JavaMail.jira@brutus> Date: Fri, 9 Jan 2009 07:05:59 -0800 (PST) From: "Will Franco (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HTTPCLIENT-814) MultiThreadedHttpConnectionManager deadlocks when reusing socket connections In-Reply-To: <1846388584.1231513559598.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Franco updated HTTPCLIENT-814: ----------------------------------- Description: During our Load Testing we encountered that the MultiThreadedHttpConnectionManager deadlocks when reusing socket connections. These socket connections remain in the pool in a CLOSE_WAIT state, and the pool is unable to reuse them or create new ones because the maximum number of connection has already been reached, thus deadlocking. Let me explain briefly how this library is being used and the temporary work around that we are using. However, the correct solution would be to use the connection pool. Usage: 1) The HttPClient is being used to handle connections to another server from our Web Application. So far, for every request our Web Apps processes we have to make at least one request to another server using the HttpClient. 2) Our load tester, loads our web app with thousands of request within the first 30 seconds, and maintains such high volume of requests for at least 24 hours Work Around: The current work around we implemented is to have different instances of the HttpClient per request, and we shutdown the Connection Manager once we complete the transaction with the other server. The next work around we will be implementing is to called the closeIdleConnections, this solution will remove the connections that can pontentialy deadlock the connection manager allowing it to allocate new ones. Please email me to [email protected] if you need any further information regarding this issue. was: During our Load Testing we encountered that the MultiThreadedHttpConnectionManager deadlocks when reusing socket connections. These socket connections remain in the pool in a CLOSE_WAIT state, and the pool is unable to reuse them or create new ones because the maximum number of connection has already been reached, thus deadlocking. Let me explain briefly how this library is being used and the temporary work around that we are using. However, the correct solution would be to use the connection pool. Usage: 1) The HttPClient is being used to handle connections to another server from our Web Application. So far, for every request our Web Apps processes we have to make at least one request to another server using the HttpClient. 2) Our load tester, loads our web app with thousands of request within the first 30 seconds, and maintains such high volume of requests for at least 24 hours Work Around: The current work around we implemented is to have different instances of the HttpClient per request, and we shutdown the Connection Manager once we complete the transaction with the other server. The next work around we will be implementing is to called the closeIdleConnections, this solution will remove the connections that can pontentialy deadlock the connection manager allowing it to allocate new ones. Please email me to [email protected] if you need any further information regarding this issue. Please email me at [email protected] if you need further information. > MultiThreadedHttpConnectionManager deadlocks when reusing socket connections > ---------------------------------------------------------------------------- > > Key: HTTPCLIENT-814 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-814 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient > Affects Versions: 3.1 Final > Environment: Tomcat 6.18 running on a Windows 2003 server > Reporter: Will Franco > Fix For: 3.1.1 > > > During our Load Testing we encountered that the MultiThreadedHttpConnectionManager deadlocks when reusing socket connections. These socket connections remain in the pool in a CLOSE_WAIT state, and the pool is unable to reuse them or create new ones because the maximum number of connection has already been reached, thus deadlocking. > Let me explain briefly how this library is being used and the temporary work around that we are using. However, the correct solution would be to use the connection pool. > Usage: > 1) The HttPClient is being used to handle connections to another server from our Web Application. So far, for every request our Web Apps processes we have to make at least one request to another server using the HttpClient. > 2) Our load tester, loads our web app with thousands of request within the first 30 seconds, and maintains such high volume of requests for at least 24 hours > Work Around: > The current work around we implemented is to have different instances of the HttpClient per request, and we shutdown the Connection Manager once we complete the transaction with the other server. > The next work around we will be implementing is to called the closeIdleConnections, this solution will remove the connections that can pontentialy deadlock the connection manager allowing it to allocate new ones. > Please email me to [email protected] if you need any further information regarding this issue. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 09 15:15:28 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66617 invoked from network); 9 Jan 2009 15:15:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jan 2009 15:15:28 -0000 Received: (qmail 11347 invoked by uid 500); 9 Jan 2009 15:15:21 -0000 Delivered-To: [email protected] Received: (qmail 11303 invoked by uid 500); 9 Jan 2009 15:15:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 11271 invoked by uid 99); 9 Jan 2009 15:15:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2009 07:15:21 -0800 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2009 15:15:20 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 2D7B6234C48D for <[email protected]>; Fri, 9 Jan 2009 07:15:00 -0800 (PST) Message-ID: <592162543.1231514100185.JavaMail.jira@brutus> Date: Fri, 9 Jan 2009 07:15:00 -0800 (PST) From: "Zhihong Zhang (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (HTTPCLIENT-813) HttpClient throws NPE on Invalid Port when used with MultiThreadedHttpConnectionManager In-Reply-To: <449235484.1231347404408.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662391#action_12662391 ] Zhihong Zhang commented on HTTPCLIENT-813: ------------------------------------------ Just tried 4.0. It replaces invalid port with default port in Scheme.resolvePort() without any errors. In my opinion, an exception should be thrown in this case. > HttpClient throws NPE on Invalid Port when used with MultiThreadedHttpConnectionManager > --------------------------------------------------------------------------------------- > > Key: HTTPCLIENT-813 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-813 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient > Affects Versions: 3.1 Final > Environment: Linux AS 3.1/Java 1.5 > Reporter: Zhihong Zhang > Attachments: HttpTest.java, HttpTest2.java > > > The HttpClient throws NullPointerException in the main thread when an invalid port (like 80001) is used in the URL. An IllegalArgumentException is thrown in TimeoutGuard thread. > > Exception in thread "Timeout guard" java.lang.IllegalArgumentException: port out of range:80001 > at java.net.InetSocketAddress.<init>(InetSocketAddress.java:118) > at java.net.Socket.<init>(Socket.java:240) > at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) > at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:91) > at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:158) > at java.lang.Thread.run(Thread.java:613) > Exception in thread "main" java.lang.NullPointerException > at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:721) > at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) > at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) > at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) > at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) > at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) > at com.aol.test.HttpTest$PoolingHttpConnector.doGet(HttpTest.java:47) > at com.aol.test.HttpTest.main(HttpTest.java:17) > It should throw a checked exception in main thread so caller can handle the error condition more gracefully. > The test program is attached. This is caused by a race condition and it's not always reproducible. Running in debugger shows a different behavior. > package com.aol.test; > import java.io.IOException; > import org.apache.commons.httpclient.HttpClient; > import org.apache.commons.httpclient.HttpStatus; > import org.apache.commons.httpclient.MultiThreadedHttpConnectionManager; > import org.apache.commons.httpclient.methods.GetMethod; > import org.apache.commons.httpclient.params.HttpConnectionManagerParams; > public class HttpTest { > > public static void main(String[] args) { > PoolingHttpConnector conn = new PoolingHttpConnector(); > > try { > String response = conn.doGet("http://www.aol.com:80001"); > System.out.println("Response='" + response + "'"); > } catch (IOException e) { > e.printStackTrace(); > } > } > static class PoolingHttpConnector { > > public static final int MAX_TOTAL_CONNECTIONS = 16; > public static final int MAX_CONNECTIONS_PER_HOST = 8; > public static final int CONNECT_TIMEOUT = 5000; > public static final int SOCKET_TIMEOUT = 5000; > public static final boolean TCP_NO_DELAY = true; > > private static MultiThreadedHttpConnectionManager poolManager; > private static HttpConnectionManagerParams httpParams; > private static HttpClient httpClient; > private static boolean initialized = false; > > public PoolingHttpConnector() > { > initialize(); > } > public String doGet(String url) throws IOException { > GetMethod method = new GetMethod(url); > > try { > int status = httpClient.executeMethod(method); > String response = new String(method.getResponseBody()); > > if (status != HttpStatus.SC_OK) > throw new IOException("HTTP error: " + response); > > return response; > > } finally { > method.releaseConnection(); > } > } > > private synchronized void initialize() { > if (initialized) > return; > > poolManager = new MultiThreadedHttpConnectionManager(); > httpParams = new HttpConnectionManagerParams(); > > httpParams.setMaxTotalConnections(MAX_TOTAL_CONNECTIONS); > httpParams.setDefaultMaxConnectionsPerHost(MAX_CONNECTIONS_PER_HOST); > httpParams.setTcpNoDelay(TCP_NO_DELAY); > httpParams.setSoTimeout(SOCKET_TIMEOUT); > httpParams.setConnectionTimeout(CONNECT_TIMEOUT); > > poolManager.setParams(httpParams); > httpClient = new HttpClient(poolManager); > initialized = true; > } > > } > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 09 15:27:23 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69199 invoked from network); 9 Jan 2009 15:27:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jan 2009 15:27:23 -0000 Received: (qmail 26771 invoked by uid 500); 9 Jan 2009 15:27:22 -0000 Delivered-To: [email protected] Received: (qmail 26735 invoked by uid 500); 9 Jan 2009 15:27:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 26724 invoked by uid 99); 9 Jan 2009 15:27:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2009 07:27:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2009 15:27:20 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 9243A234C48C for <[email protected]>; Fri, 9 Jan 2009 07:26:59 -0800 (PST) Message-ID: <475796029.1231514819597.JavaMail.jira@brutus> Date: Fri, 9 Jan 2009 07:26:59 -0800 (PST) From: "Oleg Kalnichevski (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (HTTPCLIENT-814) MultiThreadedHttpConnectionManager deadlocks when reusing socket connections In-Reply-To: <1846388584.1231513559598.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662398#action_12662398 ] Oleg Kalnichevski commented on HTTPCLIENT-814: ---------------------------------------------- I suspect rather strongly your application is leaking connections by not returning them back to the pool. Connections are not supposed just to pile up, unless your application is always connecting to a new host or not releasing existing connections back to the pool. BTW, consider upgrading to 4.0 which has a massively better connection management architecture. Oleg > MultiThreadedHttpConnectionManager deadlocks when reusing socket connections > ---------------------------------------------------------------------------- > > Key: HTTPCLIENT-814 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-814 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient > Affects Versions: 3.1 Final > Environment: Tomcat 6.18 running on a Windows 2003 server > Reporter: Will Franco > Fix For: 3.1.1 > > > During our Load Testing we encountered that the MultiThreadedHttpConnectionManager deadlocks when reusing socket connections. These socket connections remain in the pool in a CLOSE_WAIT state, and the pool is unable to reuse them or create new ones because the maximum number of connection has already been reached, thus deadlocking. > Let me explain briefly how this library is being used and the temporary work around that we are using. However, the correct solution would be to use the connection pool. > Usage: > 1) The HttPClient is being used to handle connections to another server from our Web Application. So far, for every request our Web Apps processes we have to make at least one request to another server using the HttpClient. > 2) Our load tester, loads our web app with thousands of request within the first 30 seconds, and maintains such high volume of requests for at least 24 hours > Work Around: > The current work around we implemented is to have different instances of the HttpClient per request, and we shutdown the Connection Manager once we complete the transaction with the other server. > The next work around we will be implementing is to called the closeIdleConnections, this solution will remove the connections that can pontentialy deadlock the connection manager allowing it to allocate new ones. > Please email me to [email protected] if you need any further information regarding this issue. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 09 15:37:22 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73010 invoked from network); 9 Jan 2009 15:37:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jan 2009 15:37:22 -0000 Received: (qmail 42964 invoked by uid 500); 9 Jan 2009 15:37:21 -0000 Delivered-To: [email protected] Received: (qmail 42927 invoked by uid 500); 9 Jan 2009 15:37:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 42799 invoked by uid 99); 9 Jan 2009 15:37:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2009 07:37:20 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2009 15:37:19 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 8856C234C4A9 for <[email protected]>; Fri, 9 Jan 2009 07:36:59 -0800 (PST) Message-ID: <884431113.1231515419557.JavaMail.jira@brutus> Date: Fri, 9 Jan 2009 07:36:59 -0800 (PST) From: "Will Franco (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HTTPCLIENT-814) MultiThreadedHttpConnectionManager deadlocks when reusing socket connections In-Reply-To: <1846388584.1231513559598.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Franco updated HTTPCLIENT-814: ----------------------------------- Description: During our Load Testing we encountered that the MultiThreadedHttpConnectionManager deadlocks when reusing socket connections. These socket connections remain in the pool in a CLOSE_WAIT state, and the pool is unable to reuse them or create new ones because the maximum number of connection has already been reached, thus deadlocking. Let me explain briefly how this library is being used and the temporary work around that we are using. However, the correct solution would be to use the connection pool. Usage: 1) The HttPClient is being used to handle connections to another server from our Web Application. So far, for every request our Web Apps processes we have to make at least one request to another server using the HttpClient. 2) Our load tester, loads our web app with thousands of requests within the first 30 seconds, and maintains such high volume of requests for at least 24 hours Work Around: The current work around we implemented is to have different HttpClient instances per request, and we shutdown the Connection Manager once we complete the transaction with the other server. The next work around we will be trying is to call the closeIdleConnections, this solution will remove the connections that can potentially deadlock the connection manager allowing it to allocate new ones. Please email me to [email protected] if you need any further information regarding this issue. was: During our Load Testing we encountered that the MultiThreadedHttpConnectionManager deadlocks when reusing socket connections. These socket connections remain in the pool in a CLOSE_WAIT state, and the pool is unable to reuse them or create new ones because the maximum number of connection has already been reached, thus deadlocking. Let me explain briefly how this library is being used and the temporary work around that we are using. However, the correct solution would be to use the connection pool. Usage: 1) The HttPClient is being used to handle connections to another server from our Web Application. So far, for every request our Web Apps processes we have to make at least one request to another server using the HttpClient. 2) Our load tester, loads our web app with thousands of request within the first 30 seconds, and maintains such high volume of requests for at least 24 hours Work Around: The current work around we implemented is to have different instances of the HttpClient per request, and we shutdown the Connection Manager once we complete the transaction with the other server. The next work around we will be implementing is to called the closeIdleConnections, this solution will remove the connections that can pontentialy deadlock the connection manager allowing it to allocate new ones. Please email me to [email protected] if you need any further information regarding this issue. > MultiThreadedHttpConnectionManager deadlocks when reusing socket connections > ---------------------------------------------------------------------------- > > Key: HTTPCLIENT-814 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-814 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient > Affects Versions: 3.1 Final > Environment: Tomcat 6.18 running on a Windows 2003 server > Reporter: Will Franco > Fix For: 3.1.1 > > > During our Load Testing we encountered that the MultiThreadedHttpConnectionManager deadlocks when reusing socket connections. These socket connections remain in the pool in a CLOSE_WAIT state, and the pool is unable to reuse them or create new ones because the maximum number of connection has already been reached, thus deadlocking. > Let me explain briefly how this library is being used and the temporary work around that we are using. However, the correct solution would be to use the connection pool. > Usage: > 1) The HttPClient is being used to handle connections to another server from our Web Application. So far, for every request our Web Apps processes we have to make at least one request to another server using the HttpClient. > 2) Our load tester, loads our web app with thousands of requests within the first 30 seconds, and maintains such high volume of requests for at least 24 hours > Work Around: > The current work around we implemented is to have different HttpClient instances per request, and we shutdown the Connection Manager once we complete the transaction with the other server. > The next work around we will be trying is to call the closeIdleConnections, this solution will remove the connections that can potentially deadlock the connection manager allowing it to allocate new ones. > Please email me to [email protected] if you need any further information regarding this issue. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 09 15:39:27 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73480 invoked from network); 9 Jan 2009 15:39:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jan 2009 15:39:26 -0000 Received: (qmail 50532 invoked by uid 500); 9 Jan 2009 15:39:22 -0000 Delivered-To: [email protected] Received: (qmail 50468 invoked by uid 500); 9 Jan 2009 15:39:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 50452 invoked by uid 99); 9 Jan 2009 15:39:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2009 07:39:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2009 15:39:19 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A4324234C48C for <[email protected]>; Fri, 9 Jan 2009 07:38:59 -0800 (PST) Message-ID: <251-554-7837.1231515539671.JavaMail.jira@brutus> Date: Fri, 9 Jan 2009 07:38:59 -0800 (PST) From: "Will Franco (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HTTPCLIENT-814) MultiThreadedHttpConnectionManager deadlocks when reusing socket connections In-Reply-To: <1846388584.1231513559598.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Franco updated HTTPCLIENT-814: ----------------------------------- Description: During our Load Testing we encountered that the MultiThreadedHttpConnectionManager deadlocks when reusing socket connections. These socket connections remain in the pool in a CLOSE_WAIT state, and the pool is unable to reuse them or create new ones because the maximum number of connection has already been reached, thus deadlocking. Let me explain briefly how this library is being used and the temporary work around that we are using. However, the correct solution would be to use the connection pool. Usage: 1) The HttPClient is being used to handle connections to another server from our Web Application. So far, for every request our Web App processes we have to make at least one request to another server using the HttpClient. 2) Our load tester, loads our web app with thousands of requests within the first 30 seconds, and maintains such high volume of requests for at least 24 hours Work Around: The current work around we implemented is to have different HttpClient instances per request, and we shutdown the Connection Manager once we complete the transaction with the other server. The next work around we will be trying is to call the closeIdleConnections, this solution will remove the connections that can potentially deadlock the connection manager allowing it to allocate new ones. Please email me to [email protected] if you need any further information regarding this issue. was: During our Load Testing we encountered that the MultiThreadedHttpConnectionManager deadlocks when reusing socket connections. These socket connections remain in the pool in a CLOSE_WAIT state, and the pool is unable to reuse them or create new ones because the maximum number of connection has already been reached, thus deadlocking. Let me explain briefly how this library is being used and the temporary work around that we are using. However, the correct solution would be to use the connection pool. Usage: 1) The HttPClient is being used to handle connections to another server from our Web Application. So far, for every request our Web Apps processes we have to make at least one request to another server using the HttpClient. 2) Our load tester, loads our web app with thousands of requests within the first 30 seconds, and maintains such high volume of requests for at least 24 hours Work Around: The current work around we implemented is to have different HttpClient instances per request, and we shutdown the Connection Manager once we complete the transaction with the other server. The next work around we will be trying is to call the closeIdleConnections, this solution will remove the connections that can potentially deadlock the connection manager allowing it to allocate new ones. Please email me to [email protected] if you need any further information regarding this issue. > MultiThreadedHttpConnectionManager deadlocks when reusing socket connections > ---------------------------------------------------------------------------- > > Key: HTTPCLIENT-814 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-814 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient > Affects Versions: 3.1 Final > Environment: Tomcat 6.18 running on a Windows 2003 server > Reporter: Will Franco > Fix For: Future > > > During our Load Testing we encountered that the MultiThreadedHttpConnectionManager deadlocks when reusing socket connections. These socket connections remain in the pool in a CLOSE_WAIT state, and the pool is unable to reuse them or create new ones because the maximum number of connection has already been reached, thus deadlocking. > Let me explain briefly how this library is being used and the temporary work around that we are using. However, the correct solution would be to use the connection pool. > Usage: > 1) The HttPClient is being used to handle connections to another server from our Web Application. So far, for every request our Web App processes we have to make at least one request to another server using the HttpClient. > 2) Our load tester, loads our web app with thousands of requests within the first 30 seconds, and maintains such high volume of requests for at least 24 hours > Work Around: > The current work around we implemented is to have different HttpClient instances per request, and we shutdown the Connection Manager once we complete the transaction with the other server. > The next work around we will be trying is to call the closeIdleConnections, this solution will remove the connections that can potentially deadlock the connection manager allowing it to allocate new ones. > Please email me to [email protected] if you need any further information regarding this issue. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 09 15:39:27 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73643 invoked from network); 9 Jan 2009 15:39:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jan 2009 15:39:27 -0000 Received: (qmail 50684 invoked by uid 500); 9 Jan 2009 15:39:23 -0000 Delivered-To: [email protected] Received: (qmail 50652 invoked by uid 500); 9 Jan 2009 15:39:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 50634 invoked by uid 99); 9 Jan 2009 15:39:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2009 07:39:23 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2009 15:39:19 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id AF867234C4A7 for <[email protected]>; Fri, 9 Jan 2009 07:38:59 -0800 (PST) Message-ID: <484696672.1231515539718.JavaMail.jira@brutus> Date: Fri, 9 Jan 2009 07:38:59 -0800 (PST) From: "Will Franco (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HTTPCLIENT-814) MultiThreadedHttpConnectionManager deadlocks when reusing socket connections In-Reply-To: <1846388584.1231513559598.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Franco updated HTTPCLIENT-814: ----------------------------------- Fix Version/s: (was: 3.1.1) Future > MultiThreadedHttpConnectionManager deadlocks when reusing socket connections > ---------------------------------------------------------------------------- > > Key: HTTPCLIENT-814 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-814 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient > Affects Versions: 3.1 Final > Environment: Tomcat 6.18 running on a Windows 2003 server > Reporter: Will Franco > Fix For: Future > > > During our Load Testing we encountered that the MultiThreadedHttpConnectionManager deadlocks when reusing socket connections. These socket connections remain in the pool in a CLOSE_WAIT state, and the pool is unable to reuse them or create new ones because the maximum number of connection has already been reached, thus deadlocking. > Let me explain briefly how this library is being used and the temporary work around that we are using. However, the correct solution would be to use the connection pool. > Usage: > 1) The HttPClient is being used to handle connections to another server from our Web Application. So far, for every request our Web App processes we have to make at least one request to another server using the HttpClient. > 2) Our load tester, loads our web app with thousands of requests within the first 30 seconds, and maintains such high volume of requests for at least 24 hours > Work Around: > The current work around we implemented is to have different HttpClient instances per request, and we shutdown the Connection Manager once we complete the transaction with the other server. > The next work around we will be trying is to call the closeIdleConnections, this solution will remove the connections that can potentially deadlock the connection manager allowing it to allocate new ones. > Please email me to [email protected] if you need any further information regarding this issue. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 09 15:39:28 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73688 invoked from network); 9 Jan 2009 15:39:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jan 2009 15:39:28 -0000 Received: (qmail 50736 invoked by uid 500); 9 Jan 2009 15:39:23 -0000 Delivered-To: [email protected] Received: (qmail 50707 invoked by uid 500); 9 Jan 2009 15:39:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 50678 invoked by uid 99); 9 Jan 2009 15:39:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2009 07:39:23 -0800 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2009 15:39:19 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id AC75F234C495 for <[email protected]>; Fri, 9 Jan 2009 07:38:59 -0800 (PST) Message-ID: <1111465439.1231515539705.JavaMail.jira@brutus> Date: Fri, 9 Jan 2009 07:38:59 -0800 (PST) From: "Oleg Kalnichevski (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Reopened: (HTTPCLIENT-813) HttpClient throws NPE on Invalid Port when used with MultiThreadedHttpConnectionManager In-Reply-To: <449235484.1231347404408.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski reopened HTTPCLIENT-813: ------------------------------------------ That's certainly wrong. Reopening the issue. Oleg > HttpClient throws NPE on Invalid Port when used with MultiThreadedHttpConnectionManager > --------------------------------------------------------------------------------------- > > Key: HTTPCLIENT-813 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-813 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient > Affects Versions: 3.1 Final > Environment: Linux AS 3.1/Java 1.5 > Reporter: Zhihong Zhang > Attachments: HttpTest.java, HttpTest2.java > > > The HttpClient throws NullPointerException in the main thread when an invalid port (like 80001) is used in the URL. An IllegalArgumentException is thrown in TimeoutGuard thread. > > Exception in thread "Timeout guard" java.lang.IllegalArgumentException: port out of range:80001 > at java.net.InetSocketAddress.<init>(InetSocketAddress.java:118) > at java.net.Socket.<init>(Socket.java:240) > at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) > at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:91) > at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:158) > at java.lang.Thread.run(Thread.java:613) > Exception in thread "main" java.lang.NullPointerException > at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:721) > at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) > at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) > at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) > at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) > at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) > at com.aol.test.HttpTest$PoolingHttpConnector.doGet(HttpTest.java:47) > at com.aol.test.HttpTest.main(HttpTest.java:17) > It should throw a checked exception in main thread so caller can handle the error condition more gracefully. > The test program is attached. This is caused by a race condition and it's not always reproducible. Running in debugger shows a different behavior. > package com.aol.test; > import java.io.IOException; > import org.apache.commons.httpclient.HttpClient; > import org.apache.commons.httpclient.HttpStatus; > import org.apache.commons.httpclient.MultiThreadedHttpConnectionManager; > import org.apache.commons.httpclient.methods.GetMethod; > import org.apache.commons.httpclient.params.HttpConnectionManagerParams; > public class HttpTest { > > public static void main(String[] args) { > PoolingHttpConnector conn = new PoolingHttpConnector(); > > try { > String response = conn.doGet("http://www.aol.com:80001"); > System.out.println("Response='" + response + "'"); > } catch (IOException e) { > e.printStackTrace(); > } > } > static class PoolingHttpConnector { > > public static final int MAX_TOTAL_CONNECTIONS = 16; > public static final int MAX_CONNECTIONS_PER_HOST = 8; > public static final int CONNECT_TIMEOUT = 5000; > public static final int SOCKET_TIMEOUT = 5000; > public static final boolean TCP_NO_DELAY = true; > > private static MultiThreadedHttpConnectionManager poolManager; > private static HttpConnectionManagerParams httpParams; > private static HttpClient httpClient; > private static boolean initialized = false; > > public PoolingHttpConnector() > { > initialize(); > } > public String doGet(String url) throws IOException { > GetMethod method = new GetMethod(url); > > try { > int status = httpClient.executeMethod(method); > String response = new String(method.getResponseBody()); > > if (status != HttpStatus.SC_OK) > throw new IOException("HTTP error: " + response); > > return response; > > } finally { > method.releaseConnection(); > } > } > > private synchronized void initialize() { > if (initialized) > return; > > poolManager = new MultiThreadedHttpConnectionManager(); > httpParams = new HttpConnectionManagerParams(); > > httpParams.setMaxTotalConnections(MAX_TOTAL_CONNECTIONS); > httpParams.setDefaultMaxConnectionsPerHost(MAX_CONNECTIONS_PER_HOST); > httpParams.setTcpNoDelay(TCP_NO_DELAY); > httpParams.setSoTimeout(SOCKET_TIMEOUT); > httpParams.setConnectionTimeout(CONNECT_TIMEOUT); > > poolManager.setParams(httpParams); > httpClient = new HttpClient(poolManager); > initialized = true; > } > > } > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 09 15:41:27 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74320 invoked from network); 9 Jan 2009 15:41:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jan 2009 15:41:27 -0000 Received: (qmail 55764 invoked by uid 500); 9 Jan 2009 15:41:24 -0000 Delivered-To: [email protected] Received: (qmail 55732 invoked by uid 500); 9 Jan 2009 15:41:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 55687 invoked by uid 99); 9 Jan 2009 15:41:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2009 07:41:24 -0800 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2009 15:41:21 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 79496234C4B0 for <[email protected]>; Fri, 9 Jan 2009 07:41:00 -0800 (PST) Message-ID: <972754365.1231515660495.JavaMail.jira@brutus> Date: Fri, 9 Jan 2009 07:41:00 -0800 (PST) From: "Oleg Kalnichevski (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HTTPCLIENT-813) HttpClient throws NPE on Invalid Port when used with MultiThreadedHttpConnectionManager In-Reply-To: <449235484.1231347404408.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski updated HTTPCLIENT-813: ----------------------------------------- Fix Version/s: 4.0 Beta 3 > HttpClient throws NPE on Invalid Port when used with MultiThreadedHttpConnectionManager > --------------------------------------------------------------------------------------- > > Key: HTTPCLIENT-813 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-813 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient > Affects Versions: 3.1 Final > Environment: Linux AS 3.1/Java 1.5 > Reporter: Zhihong Zhang > Fix For: 4.0 Beta 3 > > Attachments: HttpTest.java, HttpTest2.java > > > The HttpClient throws NullPointerException in the main thread when an invalid port (like 80001) is used in the URL. An IllegalArgumentException is thrown in TimeoutGuard thread. > > Exception in thread "Timeout guard" java.lang.IllegalArgumentException: port out of range:80001 > at java.net.InetSocketAddress.<init>(InetSocketAddress.java:118) > at java.net.Socket.<init>(Socket.java:240) > at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) > at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:91) > at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:158) > at java.lang.Thread.run(Thread.java:613) > Exception in thread "main" java.lang.NullPointerException > at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:721) > at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) > at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) > at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) > at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) > at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) > at com.aol.test.HttpTest$PoolingHttpConnector.doGet(HttpTest.java:47) > at com.aol.test.HttpTest.main(HttpTest.java:17) > It should throw a checked exception in main thread so caller can handle the error condition more gracefully. > The test program is attached. This is caused by a race condition and it's not always reproducible. Running in debugger shows a different behavior. > package com.aol.test; > import java.io.IOException; > import org.apache.commons.httpclient.HttpClient; > import org.apache.commons.httpclient.HttpStatus; > import org.apache.commons.httpclient.MultiThreadedHttpConnectionManager; > import org.apache.commons.httpclient.methods.GetMethod; > import org.apache.commons.httpclient.params.HttpConnectionManagerParams; > public class HttpTest { > > public static void main(String[] args) { > PoolingHttpConnector conn = new PoolingHttpConnector(); > > try { > String response = conn.doGet("http://www.aol.com:80001"); > System.out.println("Response='" + response + "'"); > } catch (IOException e) { > e.printStackTrace(); > } > } > static class PoolingHttpConnector { > > public static final int MAX_TOTAL_CONNECTIONS = 16; > public static final int MAX_CONNECTIONS_PER_HOST = 8; > public static final int CONNECT_TIMEOUT = 5000; > public static final int SOCKET_TIMEOUT = 5000; > public static final boolean TCP_NO_DELAY = true; > > private static MultiThreadedHttpConnectionManager poolManager; > private static HttpConnectionManagerParams httpParams; > private static HttpClient httpClient; > private static boolean initialized = false; > > public PoolingHttpConnector() > { > initialize(); > } > public String doGet(String url) throws IOException { > GetMethod method = new GetMethod(url); > > try { > int status = httpClient.executeMethod(method); > String response = new String(method.getResponseBody()); > > if (status != HttpStatus.SC_OK) > throw new IOException("HTTP error: " + response); > > return response; > > } finally { > method.releaseConnection(); > } > } > > private synchronized void initialize() { > if (initialized) > return; > > poolManager = new MultiThreadedHttpConnectionManager(); > httpParams = new HttpConnectionManagerParams(); > > httpParams.setMaxTotalConnections(MAX_TOTAL_CONNECTIONS); > httpParams.setDefaultMaxConnectionsPerHost(MAX_CONNECTIONS_PER_HOST); > httpParams.setTcpNoDelay(TCP_NO_DELAY); > httpParams.setSoTimeout(SOCKET_TIMEOUT); > httpParams.setConnectionTimeout(CONNECT_TIMEOUT); > > poolManager.setParams(httpParams); > httpClient = new HttpClient(poolManager); > initialized = true; > } > > } > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 09 20:05:21 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71792 invoked from network); 9 Jan 2009 20:05:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jan 2009 20:05:21 -0000 Received: (qmail 94607 invoked by uid 500); 9 Jan 2009 20:05:21 -0000 Delivered-To: [email protected] Received: (qmail 94394 invoked by uid 500); 9 Jan 2009 20:05:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 94383 invoked by uid 500); 9 Jan 2009 20:05:20 -0000 Delivered-To: [email protected] Received: (qmail 94380 invoked by uid 99); 9 Jan 2009 20:05:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2009 12:05:20 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO sushi.ironhide.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2009 20:05:12 +0000 Received: from hq-exch-01.castiron.corp (unknown [161.129.204.104]) by sushi.ironhide.com (Postfix) with ESMTP id 05627AE2E7; Fri, 9 Jan 2009 21:14:51 +0000 (UTC) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: FW: HttpClient authentication problem. Date: Fri, 9 Jan 2009 12:04:50 -0800 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FW: HttpClient authentication problem. Thread-Index: AceZSYgzF7sNXYsGRwSgHnRtIRfsUHXC6x6gAI/OHNA= References: <[email protected]> <[email protected]> <[email protected]> From: "Pankaj Arora" <[email protected]> To: "HttpComponents Project" <[email protected]>, "HttpComponents Project" <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am using HttpClient 3.x till now. It looks like 4.x is completely = overhauled and there are major API changes that happened. I thought = solution to this problem lied in having authentication info available to = connection managers so the stateful connection is not reused. I was = [email protected] Api docs = http://hc.apache.org/httpcomponents-client/httpclient/apidocs/index.html And I don't see any MultiThreaded Connection Manager. In fact looks like everything has moved to org.apache.http.* packages = from org.apache.commons.*.=20 If that's the case, can you tell me if there is some guide that can tell = me how I can make my existing product compatible with 4.x release? Second how the existing bug we are talking about can be resolved in new = design. I am sorry as I am bit confused as I wasn't following 4.x development = from scratch. Thanks, Pankaj Arora -----Original Message----- From: Pankaj Arora [mailto:[email protected]]=20 Sent: Tuesday, January 06, 2009 3:21 PM To: HttpComponents Project Subject: RE: FW: HttpClient authentication problem. Hi Odi and Roland, Was curious to know if this feature finally made to 4.0. Moreover when = final 4.0 verison for commons is expected? Thanks, Pankaj Arora Hi Odi, > I would actually consider this a security issue in the connection > managers: It may hand out an already authenticated connection to an=20 > unsuspecting client. We should add fields to HttpConnection that keep=20 > track of the credentials for connection oriented AuthSchemes. So=20 > connection managers can take this into account. Also the connection=20 > managers lack a parameter in the getConnection methods that carries=20 > authentication information for connection based auth schemes. It's on my list for 4.0, though it won't make it into client alpha1: http://wiki.apache.org/jakarta-httpclient/ConnectionManagementDesign It's not urgent since we won't have NTLM support for a while. I don't think we can or should squeeze this into 3.x anymore. cheers, Roland -----Original Message----- From: Ortwin Gl=FCck [mailto:[email protected]]=20 Sent: Friday, May 18, 2007 5:41 AM To: HttpComponents Project Subject: Re: FW: HttpClient authentication problem. Pankaj, NTLM is designed to authenticate a connection. AFAIK it does not support = a "logout" in the middle of a connection, nor does it support preemptive = authentication. So the only way to force a new authentication is to=20 close the connection. (e.g. try and clear the authentication to a mapped = network drive in Windows. Probably the same issue there.) Thus it's not possible to share a connection between users when using=20 NTLM auth. Yes, this may cause a performance hit if you were planning to = share a connection between different users. You could tweak your connection manager to remember the authenticated=20 user for each connection and try to find an already authenticated one or = hand out a new one if you can't. I would actually consider this a security issue in the connection=20 managers: It may hand out an already authenticated connection to an=20 unsuspecting client. We should add fields to HttpConnection that keep=20 track of the credentials for connection oriented AuthSchemes. So=20 connection managers can take this into account. Also the connection=20 managers lack a parameter in the getConnection methods that carries=20 authentication information for connection based auth schemes. Ortwin Pankaj Arora wrote: > Thanks, That worked for me. Only thing that worries me is that > connections don't persist now. It might be a performance issue. Only > thing which I would like to know from you( as I am bit novice here)- > what is the right behavior, my client not authenticating second time > as connection is already authenticated or closing the connections to > force authentication repeatedly. >=20 > Thanks, Pankaj Arora. --=20 [web] http://www.odi.ch/ [blog] http://www.odi.ch/weblog/ [pgp] key 0x81CF3416 finger print F2B1 B21F F056 D53E 5D79 A5AF 02BE 70F5 81CF 3416 --------------------------------------------------------------------- To unsubscribe, e-mail: = [email protected] For additional commands, e-mail: = [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 09 20:05:27 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71881 invoked from network); 9 Jan 2009 20:05:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jan 2009 20:05:27 -0000 Received: (qmail 94669 invoked by uid 500); 9 Jan 2009 20:05:26 -0000 Delivered-To: [email protected] Received: (qmail 94639 invoked by uid 500); 9 Jan 2009 20:05:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 94628 invoked by uid 99); 9 Jan 2009 20:05:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2009 12:05:26 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO sushi.ironhide.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2009 20:05:16 +0000 Received: from hq-exch-01.castiron.corp (unknown [161.129.204.104]) by sushi.ironhide.com (Postfix) with ESMTP id 05627AE2E7; Fri, 9 Jan 2009 21:14:51 +0000 (UTC) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: FW: HttpClient authentication problem. Date: Fri, 9 Jan 2009 12:04:50 -0800 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FW: HttpClient authentication problem. Thread-Index: AceZSYgzF7sNXYsGRwSgHnRtIRfsUHXC6x6gAI/OHNA= References: <[email protected]> <[email protected]> <[email protected]> From: "Pankaj Arora" <[email protected]> To: "HttpComponents Project" <[email protected]>, "HttpComponents Project" <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am using HttpClient 3.x till now. It looks like 4.x is completely = overhauled and there are major API changes that happened. I thought = solution to this problem lied in having authentication info available to = connection managers so the stateful connection is not reused. I was = [email protected] Api docs = http://hc.apache.org/httpcomponents-client/httpclient/apidocs/index.html And I don't see any MultiThreaded Connection Manager. In fact looks like everything has moved to org.apache.http.* packages = from org.apache.commons.*.=20 If that's the case, can you tell me if there is some guide that can tell = me how I can make my existing product compatible with 4.x release? Second how the existing bug we are talking about can be resolved in new = design. I am sorry as I am bit confused as I wasn't following 4.x development = from scratch. Thanks, Pankaj Arora -----Original Message----- From: Pankaj Arora [mailto:[email protected]]=20 Sent: Tuesday, January 06, 2009 3:21 PM To: HttpComponents Project Subject: RE: FW: HttpClient authentication problem. Hi Odi and Roland, Was curious to know if this feature finally made to 4.0. Moreover when = final 4.0 verison for commons is expected? Thanks, Pankaj Arora Hi Odi, > I would actually consider this a security issue in the connection > managers: It may hand out an already authenticated connection to an=20 > unsuspecting client. We should add fields to HttpConnection that keep=20 > track of the credentials for connection oriented AuthSchemes. So=20 > connection managers can take this into account. Also the connection=20 > managers lack a parameter in the getConnection methods that carries=20 > authentication information for connection based auth schemes. It's on my list for 4.0, though it won't make it into client alpha1: http://wiki.apache.org/jakarta-httpclient/ConnectionManagementDesign It's not urgent since we won't have NTLM support for a while. I don't think we can or should squeeze this into 3.x anymore. cheers, Roland -----Original Message----- From: Ortwin Gl=FCck [mailto:[email protected]]=20 Sent: Friday, May 18, 2007 5:41 AM To: HttpComponents Project Subject: Re: FW: HttpClient authentication problem. Pankaj, NTLM is designed to authenticate a connection. AFAIK it does not support = a "logout" in the middle of a connection, nor does it support preemptive = authentication. So the only way to force a new authentication is to=20 close the connection. (e.g. try and clear the authentication to a mapped = network drive in Windows. Probably the same issue there.) Thus it's not possible to share a connection between users when using=20 NTLM auth. Yes, this may cause a performance hit if you were planning to = share a connection between different users. You could tweak your connection manager to remember the authenticated=20 user for each connection and try to find an already authenticated one or = hand out a new one if you can't. I would actually consider this a security issue in the connection=20 managers: It may hand out an already authenticated connection to an=20 unsuspecting client. We should add fields to HttpConnection that keep=20 track of the credentials for connection oriented AuthSchemes. So=20 connection managers can take this into account. Also the connection=20 managers lack a parameter in the getConnection methods that carries=20 authentication information for connection based auth schemes. Ortwin Pankaj Arora wrote: > Thanks, That worked for me. Only thing that worries me is that > connections don't persist now. It might be a performance issue. Only > thing which I would like to know from you( as I am bit novice here)- > what is the right behavior, my client not authenticating second time > as connection is already authenticated or closing the connections to > force authentication repeatedly. >=20 > Thanks, Pankaj Arora. --=20 [web] http://www.odi.ch/ [blog] http://www.odi.ch/weblog/ [pgp] key 0x81CF3416 finger print F2B1 B21F F056 D53E 5D79 A5AF 02BE 70F5 81CF 3416 --------------------------------------------------------------------- To unsubscribe, e-mail: = [email protected] For additional commands, e-mail: = [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Jan 10 13:34:08 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76398 invoked from network); 10 Jan 2009 13:34:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Jan 2009 13:34:07 -0000 Received: (qmail 737 invoked by uid 500); 10 Jan 2009 13:34:07 -0000 Delivered-To: [email protected] Received: (qmail 702 invoked by uid 500); 10 Jan 2009 13:34:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 691 invoked by uid 99); 10 Jan 2009 13:34:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Jan 2009 05:34:06 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2consulting.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Jan 2009 13:33:57 +0000 Received: by ok2consulting.nine.ch (Postfix, from userid 1002) id 4808E198559; Sat, 10 Jan 2009 14:33:36 +0100 (CET) Received: from [161.129.204.104] 251-554-7837.dclient.hispeed.ch [161.129.204.104]) by ok2consulting.nine.ch (Postfix) with ESMTP id EFDFE198559 for <[email protected]>; Sat, 10 Jan 2009 14:33:34 +0100 (CET) Message-ID: <[email protected]> Date: Sat, 10 Jan 2009 14:33:28 +0100 From: Oleg Kalnichevski <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20081209) MIME-Version: 1.0 To: HttpComponents Project <[email protected]> Subject: Re: FW: HttpClient authentication problem. References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on ok2consulting.nine.ch X-Spam-Level: X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.3 Pankaj Arora wrote: > Hi, > I am using HttpClient 3.x till now. It looks like 4.x is completely overhauled and there are major API changes that happened. I thought solution to this problem lied in having authentication info available to connection managers so the stateful connection is not reused. I was [email protected] Api docs http://hc.apache.org/httpcomponents-client/httpclient/apidocs/index.html > And I don't see any MultiThreaded Connection Manager. http://hc.apache.org/httpcomponents-client/examples.html http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientMultiThreadedExecution.java > In fact looks like everything has moved to org.apache.http.* packages from org.apache.commons.*. > If that's the case, Yes, this is the case, because 4.0 is a complete rewrite of the old code line. can you tell me if there is some guide that can tell me how I can make my existing product compatible with 4.x release? You need to port it to the new API. > Second how the existing bug we are talking about can be resolved in new design. > HTTP connection managers in 4.0 are now aware that connections can be stateful. They can take the connection state into consideration when serving a request for a persistent connection. Standard connection managers automatically take user identity into consideration when managing NTLM authenticated connections. Please make sure to read this, though http://hc.apache.org/httpcomponents-client/ntlm.html Oleg > I am sorry as I am bit confused as I wasn't following 4.x development from scratch. > > Thanks, > Pankaj Arora > > -----Original Message----- > From: Pankaj Arora [mailto:[email protected]] > Sent: Tuesday, January 06, 2009 3:21 PM > To: HttpComponents Project > Subject: RE: FW: HttpClient authentication problem. > > Hi Odi and Roland, > Was curious to know if this feature finally made to 4.0. Moreover when final 4.0 verison for commons is expected? > > Thanks, > Pankaj Arora > > > Hi Odi, > >> I would actually consider this a security issue in the connection >> managers: It may hand out an already authenticated connection to an >> unsuspecting client. We should add fields to HttpConnection that keep >> track of the credentials for connection oriented AuthSchemes. So >> connection managers can take this into account. Also the connection >> managers lack a parameter in the getConnection methods that carries >> authentication information for connection based auth schemes. > > It's on my list for 4.0, though it won't make it into client alpha1: > http://wiki.apache.org/jakarta-httpclient/ConnectionManagementDesign > It's not urgent since we won't have NTLM support for a while. > > I don't think we can or should squeeze this into 3.x anymore. > > cheers, > Roland > > -----Original Message----- > From: Ortwin Glück [mailto:[email protected]] > Sent: Friday, May 18, 2007 5:41 AM > To: HttpComponents Project > Subject: Re: FW: HttpClient authentication problem. > > Pankaj, > > NTLM is designed to authenticate a connection. AFAIK it does not support > a "logout" in the middle of a connection, nor does it support preemptive > authentication. So the only way to force a new authentication is to > close the connection. (e.g. try and clear the authentication to a mapped > network drive in Windows. Probably the same issue there.) > > Thus it's not possible to share a connection between users when using > NTLM auth. Yes, this may cause a performance hit if you were planning to > share a connection between different users. > > You could tweak your connection manager to remember the authenticated > user for each connection and try to find an already authenticated one or > hand out a new one if you can't. > > I would actually consider this a security issue in the connection > managers: It may hand out an already authenticated connection to an > unsuspecting client. We should add fields to HttpConnection that keep > track of the credentials for connection oriented AuthSchemes. So > connection managers can take this into account. Also the connection > managers lack a parameter in the getConnection methods that carries > authentication information for connection based auth schemes. > > Ortwin > > > Pankaj Arora wrote: >> Thanks, That worked for me. Only thing that worries me is that >> connections don't persist now. It might be a performance issue. Only >> thing which I would like to know from you( as I am bit novice here)- >> what is the right behavior, my client not authenticating second time >> as connection is already authenticated or closing the connections to >> force authentication repeatedly. >> >> Thanks, Pankaj Arora. > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jan 12 23:12:54 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77409 invoked from network); 12 Jan 2009 23:12:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jan 2009 23:12:54 -0000 Received: (qmail 15066 invoked by uid 500); 12 Jan 2009 23:12:53 -0000 Delivered-To: [email protected] Received: (qmail 15032 invoked by uid 500); 12 Jan 2009 23:12:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 15020 invoked by uid 99); 12 Jan 2009 23:12:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jan 2009 15:12:53 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wf-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jan 2009 23:12:45 +0000 Received: by wf-out-1314.google.com with SMTP id 29so12335676wff.10 for <[email protected]>; Mon, 12 Jan 2009 15:12:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=WeOuC4YRxFjdcv/YLDg9i7jCsQ8lv4MQpPgn0WW30uI=; b=DjH5pgzmdX63aLN5AxMHwuR9XgQl3CKE6AO9ZZkQ9kqss7hnqwHxNS9VVmeQ2d+eOk wbXnkSy+39swOzc+eGCbOFLW/is5JuX7PyBhpnEVynQD882VPURNfEnP5Lu9eUTCPLNR BdHXPuCQjRGXNxSiaUF7W2B8T4IPqAn7KOajw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=jqAEho5djy+5IBmDCzz/QcmUQrvcB56AdUOB3XeuSjnIe/guL148ls97H4jjoxBXQG MteWKc1gjcYipz1VljAtINu3ix0hozihmtGBiAB02RfYdQT85Zoop2IXAmQUF0anm6I2 1PE1dhsSyLx6yDbN5D6hHqrm1pVaTeDzdsSPU= Received: by 161.129.204.104 with SMTP id v14mr12579757wfv.166.1231801944033; Mon, 12 Jan 2009 15:12:24 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 12 Jan 2009 15:12:24 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 12 Jan 2009 18:12:24 -0500 From: "Sam Berlin" <[email protected]> To: "HttpComponents Project" <[email protected]> Subject: Credentials & Connection-Close MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi All, Is there a preferred way of adding a "Connection: Close" header into an exchange you expect (and want) to use credentials with? I would expect if the initial request had a failure due to unauthorized credentials that the Connection: Close would kill the connection instead of continuing the exchange of the credentials. If this is the case, is there a way to add Connection: Close to the request only after credentials are added? Thanks. Sam --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jan 13 13:57:33 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15510 invoked from network); 13 Jan 2009 13:57:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Jan 2009 13:57:32 -0000 Received: (qmail 25164 invoked by uid 500); 13 Jan 2009 13:57:32 -0000 Delivered-To: [email protected] Received: (qmail 25140 invoked by uid 500); 13 Jan 2009 13:57:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 25129 invoked by uid 99); 13 Jan 2009 13:57:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2009 05:57:31 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2009 13:57:30 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 821A2234C48B for <[email protected]>; Tue, 13 Jan 2009 05:57:10 -0800 (PST) Message-ID: <1420438737.1231855030531.JavaMail.jira@brutus> Date: Tue, 13 Jan 2009 05:57:10 -0800 (PST) From: "Tushar (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (HTTPCORE-179) documentation : quick start : jar dependencies needed for samples like ClientFormLogin.java in org.apache.http.examples.client MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org documentation : quick start : jar dependencies needed for samples like ClientFormLogin.java in org.apache.http.examples.client ------------------------------------------------------------------------------------------------------------------------------ Key: HTTPCORE-179 URL: https://issues.apache.org/jira/browse/HTTPCORE-179 Project: HttpComponents HttpCore Issue Type: Improvement Components: Examples, HttpCore Affects Versions: 4.0-beta3 Environment: any/ windows. linux dos Reporter: Tushar Priority: Blocker cannot determine the required jar files to compile samples/ own files example org.apache.http.examples.client.ClientFormLogin used set CLASSPATH=P:\j\samples\httpClient\examples;j:\j\j5\h;P:\j\e\mysql.jar;P:\j\e\commons-logging-api-1.1.1.jar;P:\j\e\commons-logging-1.1.1.jar;P:\j\e\4\httpmime-4.0-beta2.jar;P:\j\e\4\httpclient-4.0-beta2.jar;P:\j\e\4\h\e\4\httpcore-4.0-beta3.jar;P:\j\e\4\httpcore-nio-4.0-beta3.jar but still needs org.apache.http.*; ... where are these jars? a quick start guide / link to all jars for one version would help - only known workaround - go back to old version 3.1 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jan 13 13:59:35 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16214 invoked from network); 13 Jan 2009 13:59:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Jan 2009 13:59:35 -0000 Received: (qmail 26747 invoked by uid 500); 13 Jan 2009 13:59:35 -0000 Delivered-To: [email protected] Received: (qmail 26718 invoked by uid 500); 13 Jan 2009 13:59:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 26702 invoked by uid 99); 13 Jan 2009 13:59:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2009 05:59:35 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2009 13:59:33 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 41D36234C4AD for <[email protected]>; Tue, 13 Jan 2009 05:59:12 -0800 (PST) Message-ID: <251-554-7837.1231855152268.JavaMail.jira@brutus> Date: Tue, 13 Jan 2009 05:59:12 -0800 (PST) From: "Tushar (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HTTPCORE-179) documentation : quick start : jar dependencies needed for samples like ClientFormLogin.java in org.apache.http.examples.client In-Reply-To: <1420438737.1231855030531.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCORE-179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tushar updated HTTPCORE-179: ---------------------------- Remaining Estimate: 2h Original Estimate: 2h > documentation : quick start : jar dependencies needed for samples like ClientFormLogin.java in org.apache.http.examples.client > ------------------------------------------------------------------------------------------------------------------------------ > > Key: HTTPCORE-179 > URL: https://issues.apache.org/jira/browse/HTTPCORE-179 > Project: HttpComponents HttpCore > Issue Type: Improvement > Components: Examples, HttpCore > Affects Versions: 4.0-beta3 > Environment: any/ windows. linux dos > Reporter: Tushar > Priority: Blocker > Original Estimate: 2h > Remaining Estimate: 2h > > cannot determine the required jar files to compile samples/ own files > example org.apache.http.examples.client.ClientFormLogin > used > set CLASSPATH=P:\j\samples\httpClient\examples;j:\j\j5\h;P:\j\e\mysql.jar;P:\j\e\commons-logging-api-1.1.1.jar;P:\j\e\commons-logging-1.1.1.jar;P:\j\e\4\httpmime-4.0-beta2.jar;P:\j\e\4\httpclient-4.0-beta2.jar;P:\j\e\4\h\e\4\httpcore-4.0-beta3.jar;P:\j\e\4\httpcore-nio-4.0-beta3.jar > but still needs org.apache.http.*; ... where are these jars? a quick start guide / link to all jars for one version would help > - only known workaround - go back to old version 3.1 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jan 13 19:29:28 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63999 invoked from network); 13 Jan 2009 19:29:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Jan 2009 19:29:27 -0000 Received: (qmail 49843 invoked by uid 500); 13 Jan 2009 19:29:26 -0000 Delivered-To: [email protected] Received: (qmail 49812 invoked by uid 500); 13 Jan 2009 19:29:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 49559 invoked by uid 99); 13 Jan 2009 19:29:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2009 11:29:25 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2009 19:29:23 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 7AFCF234C4B0 for <[email protected]>; Tue, 13 Jan 2009 11:29:02 -0800 (PST) Message-ID: <1671038402.1231874942502.JavaMail.jira@brutus> Date: Tue, 13 Jan 2009 11:29:02 -0800 (PST) From: "Oleg Kalnichevski (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (HTTPCLIENT-814) MultiThreadedHttpConnectionManager deadlocks when reusing socket connections In-Reply-To: <1846388584.1231513559598.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski resolved HTTPCLIENT-814. ------------------------------------------ Resolution: Invalid I see no evidence of this being a bug in HttpClient. Feel free to reopen the issue if you have more details about the problem. Oleg > MultiThreadedHttpConnectionManager deadlocks when reusing socket connections > ---------------------------------------------------------------------------- > > Key: HTTPCLIENT-814 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-814 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient > Affects Versions: 3.1 Final > Environment: Tomcat 6.18 running on a Windows 2003 server > Reporter: Will Franco > Fix For: Future > > > During our Load Testing we encountered that the MultiThreadedHttpConnectionManager deadlocks when reusing socket connections. These socket connections remain in the pool in a CLOSE_WAIT state, and the pool is unable to reuse them or create new ones because the maximum number of connection has already been reached, thus deadlocking. > Let me explain briefly how this library is being used and the temporary work around that we are using. However, the correct solution would be to use the connection pool. > Usage: > 1) The HttPClient is being used to handle connections to another server from our Web Application. So far, for every request our Web App processes we have to make at least one request to another server using the HttpClient. > 2) Our load tester, loads our web app with thousands of requests within the first 30 seconds, and maintains such high volume of requests for at least 24 hours > Work Around: > The current work around we implemented is to have different HttpClient instances per request, and we shutdown the Connection Manager once we complete the transaction with the other server. > The next work around we will be trying is to call the closeIdleConnections, this solution will remove the connections that can potentially deadlock the connection manager allowing it to allocate new ones. > Please email me to [email protected] if you need any further information regarding this issue. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jan 13 19:31:26 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64398 invoked from network); 13 Jan 2009 19:31:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Jan 2009 19:31:25 -0000 Received: (qmail 50418 invoked by uid 500); 13 Jan 2009 19:31:24 -0000 Delivered-To: [email protected] Received: (qmail 50375 invoked by uid 500); 13 Jan 2009 19:31:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 50363 invoked by uid 99); 13 Jan 2009 19:31:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2009 11:31:24 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2009 19:31:23 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D6330234C4BE for <[email protected]>; Tue, 13 Jan 2009 11:31:02 -0800 (PST) Message-ID: <333530051.1231875062876.JavaMail.jira@brutus> Date: Tue, 13 Jan 2009 11:31:02 -0800 (PST) From: "Oleg Kalnichevski (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (HTTPCORE-179) documentation : quick start : jar dependencies needed for samples like ClientFormLogin.java in org.apache.http.examples.client In-Reply-To: <1420438737.1231855030531.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCORE-179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski resolved HTTPCORE-179. ---------------------------------------- Resolution: Invalid There is a binary package available at the download page containing all requisite jars. This is a local class loader problem that has nothing to do with HttpClient. Oleg > documentation : quick start : jar dependencies needed for samples like ClientFormLogin.java in org.apache.http.examples.client > ------------------------------------------------------------------------------------------------------------------------------ > > Key: HTTPCORE-179 > URL: https://issues.apache.org/jira/browse/HTTPCORE-179 > Project: HttpComponents HttpCore > Issue Type: Improvement > Components: Examples, HttpCore > Affects Versions: 4.0-beta3 > Environment: any/ windows. linux dos > Reporter: Tushar > Priority: Blocker > Original Estimate: 2h > Remaining Estimate: 2h > > cannot determine the required jar files to compile samples/ own files > example org.apache.http.examples.client.ClientFormLogin > used > set CLASSPATH=P:\j\samples\httpClient\examples;j:\j\j5\h;P:\j\e\mysql.jar;P:\j\e\commons-logging-api-1.1.1.jar;P:\j\e\commons-logging-1.1.1.jar;P:\j\e\4\httpmime-4.0-beta2.jar;P:\j\e\4\httpclient-4.0-beta2.jar;P:\j\e\4\h\e\4\httpcore-4.0-beta3.jar;P:\j\e\4\httpcore-nio-4.0-beta3.jar > but still needs org.apache.http.*; ... where are these jars? a quick start guide / link to all jars for one version would help > - only known workaround - go back to old version 3.1 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jan 13 19:34:40 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65224 invoked from network); 13 Jan 2009 19:34:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Jan 2009 19:34:40 -0000 Received: (qmail 52993 invoked by uid 500); 13 Jan 2009 19:34:39 -0000 Delivered-To: [email protected] Received: (qmail 52955 invoked by uid 500); 13 Jan 2009 19:34:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 52944 invoked by uid 99); 13 Jan 2009 19:34:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2009 11:34:39 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2consulting.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2009 19:34:30 +0000 Received: by ok2consulting.nine.ch (Postfix, from userid 1002) id 9DE59198560; Tue, 13 Jan 2009 20:34:08 +0100 (CET) Received: from [161.129.204.104] 251-554-7837.dclient.hispeed.ch [161.129.204.104]) by ok2consulting.nine.ch (Postfix) with ESMTP id BF39019855C for <[email protected]>; Tue, 13 Jan 2009 20:34:07 +0100 (CET) Message-ID: <[email protected]> Date: Tue, 13 Jan 2009 20:33:51 +0100 From: Oleg Kalnichevski <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20081209) MIME-Version: 1.0 To: HttpComponents Project <[email protected]> Subject: Re: Credentials & Connection-Close References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on ok2consulting.nine.ch X-Spam-Level: X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.3 Sam Berlin wrote: > Hi All, > > Is there a preferred way of adding a "Connection: Close" header into > an exchange you expect (and want) to use credentials with? I would > expect if the initial request had a failure due to unauthorized > credentials that the Connection: Close would kill the connection > instead of continuing the exchange of the credentials. If this is the > case, is there a way to add Connection: Close to the request only > after credentials are added? > Hi Sam I am not sure I understand the problem entirely. Are you talking about client-side or server-side processing? Anyways, a simple protocol interceptor should do the job quite easily. Oleg > Thanks. > > Sam > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jan 13 21:09:24 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88822 invoked from network); 13 Jan 2009 21:09:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Jan 2009 21:09:23 -0000 Received: (qmail 76349 invoked by uid 500); 13 Jan 2009 21:09:23 -0000 Delivered-To: [email protected] Received: (qmail 76322 invoked by uid 500); 13 Jan 2009 21:09:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 76311 invoked by uid 99); 13 Jan 2009 21:09:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2009 13:09:23 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wf-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2009 21:09:15 +0000 Received: by wf-out-1314.google.com with SMTP id 29so193268wff.10 for <[email protected]>; Tue, 13 Jan 2009 13:08:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=r73aAIR99DtYBtLxHgjMVt53jnqF0bTwZR54aMoZbrs=; b=xVOrONrTLrpfeVpdwOLyNPxBKZ6HlR8te/5YqMCiHk9BFABu8ZfgoD3g1OtoZ3eoN/ Uk6C3KXIJp3uXrI5OgBSc6X1K91wOSTkoYK/smaDoDkKL83KLgX3OaM3M0zWDpLPr9ej LJW7PLGha7I9C5gSNMkoNrHpP/YZ4WHPJKauE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=onDQ9QxmFVGOx4WIpsoVL3FW/JhjgiZedNPYyLC9F8aZ0EToFzzVT6KDNqXoYkv1G2 ZS2K523NXXuJSspTMRHYOeNpDI7mhusRRk1YLDetQOlSbWZbjxVq1sRj1+/A/05siN4l zFB/h9LEBdXX0LBgkdy64EFzYekTg6WKGMhnw= Received: by 161.129.204.104 with SMTP id r11mr13030514wfr.95.1231880933966; Tue, 13 Jan 2009 13:08:53 -0800 (PST) Received: by 161.129.204.104 with HTTP; Tue, 13 Jan 2009 13:08:53 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 13 Jan 2009 16:08:53 -0500 From: "Sam Berlin" <[email protected]> To: "HttpComponents Project" <[email protected]> Subject: Re: Credentials & Connection-Close In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Sorry, I had a bit of troubling grasping the question in my head, so it didn't come out too clearly. On the client side, I'd like to send a request that I know will require credentials. So I get the HttpClient's credentialsProvider & set some credentials in it. I'd also like to open a GET request with a 'Connection: Close' header, but I know the GET is going to have the interim credentials exchange. Will the 'Connection: Close' that's added to the outgoing GET cause a server to close the connection before the authentication finishes? (This question is mostly a 'server behavior' question, but I'm not sure what the correct behavior should be.) If a properly behaved (or typically behaved) server will close the connection before the auth finishes, then the next question is: How do I add the Connection: Close into the subsequent GET that's performed internally by HttpClient after the auth finishes? What trick would I use in an interceptor in order to get the subsequent GET? Thanks! Sam On Tue, Jan 13, 2009 at 2:33 PM, Oleg Kalnichevski <[email protected]> wrote: > Sam Berlin wrote: >> >> Hi All, >> >> Is there a preferred way of adding a "Connection: Close" header into >> an exchange you expect (and want) to use credentials with? I would >> expect if the initial request had a failure due to unauthorized >> credentials that the Connection: Close would kill the connection >> instead of continuing the exchange of the credentials. If this is the >> case, is there a way to add Connection: Close to the request only >> after credentials are added? >> > > Hi Sam > > I am not sure I understand the problem entirely. Are you talking about > client-side or server-side processing? Anyways, a simple protocol > interceptor should do the job quite easily. > > Oleg > > >> Thanks. >> >> Sam >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jan 13 22:30:14 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24710 invoked from network); 13 Jan 2009 22:30:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Jan 2009 22:30:14 -0000 Received: (qmail 89012 invoked by uid 500); 13 Jan 2009 22:30:13 -0000 Delivered-To: [email protected] Received: (qmail 88983 invoked by uid 500); 13 Jan 2009 22:30:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 88972 invoked by uid 99); 13 Jan 2009 22:30:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2009 14:30:13 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2consulting.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2009 22:30:04 +0000 Received: by ok2consulting.nine.ch (Postfix, from userid 1002) id C8F1C198560; Tue, 13 Jan 2009 23:29:42 +0100 (CET) Received: from [161.129.204.104] 251-554-7837.dclient.hispeed.ch [161.129.204.104]) by ok2consulting.nine.ch (Postfix) with ESMTP id 9717419855C for <[email protected]>; Tue, 13 Jan 2009 23:29:41 +0100 (CET) Message-ID: <[email protected]> Date: Tue, 13 Jan 2009 23:29:30 +0100 From: Oleg Kalnichevski <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20081209) MIME-Version: 1.0 To: HttpComponents Project <[email protected]> Subject: Re: Credentials & Connection-Close References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on ok2consulting.nine.ch X-Spam-Level: X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.3 Sam Berlin wrote: > Sorry, I had a bit of troubling grasping the question in my head, so > it didn't come out too clearly. > > On the client side, I'd like to send a request that I know will > require credentials. So I get the HttpClient's credentialsProvider & > set some credentials in it. I'd also like to open a GET request with > a 'Connection: Close' header, but I know the GET is going to have the > interim credentials exchange. > > Will the 'Connection: Close' that's added to the outgoing GET cause a > server to close the connection before the authentication finishes? > (This question is mostly a 'server behavior' question, but I'm not > sure what the correct behavior should be.) > I believe so. > If a properly behaved (or typically behaved) server will close the > connection before the auth finishes, then the next question is: How do > I add the Connection: Close into the subsequent GET that's performed > internally by HttpClient after the auth finishes? What trick would I > use in an interceptor in order to get the subsequent GET? > What for do you need that GET? Why do not you just close the connection if you do not want to keep it alive? Am I still missing something? Can you describe what kind of HTTP messages would you expect HttpClient to generate? Oleg > Thanks! > > Sam > > > > On Tue, Jan 13, 2009 at 2:33 PM, Oleg Kalnichevski <[email protected]> wrote: >> Sam Berlin wrote: >>> Hi All, >>> >>> Is there a preferred way of adding a "Connection: Close" header into >>> an exchange you expect (and want) to use credentials with? I would >>> expect if the initial request had a failure due to unauthorized >>> credentials that the Connection: Close would kill the connection >>> instead of continuing the exchange of the credentials. If this is the >>> case, is there a way to add Connection: Close to the request only >>> after credentials are added? >>> >> Hi Sam >> >> I am not sure I understand the problem entirely. Are you talking about >> client-side or server-side processing? Anyways, a simple protocol >> interceptor should do the job quite easily. >> >> Oleg >> >> >>> Thanks. >>> >>> Sam >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jan 13 22:35:23 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26903 invoked from network); 13 Jan 2009 22:35:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Jan 2009 22:35:23 -0000 Received: (qmail 94299 invoked by uid 500); 13 Jan 2009 22:35:22 -0000 Delivered-To: [email protected] Received: (qmail 94272 invoked by uid 500); 13 Jan 2009 22:35:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 94261 invoked by uid 99); 13 Jan 2009 22:35:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2009 14:35:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2009 22:35:20 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C5211234C4AF for <[email protected]>; Tue, 13 Jan 2009 14:34:59 -0800 (PST) Message-ID: <553665797.1231886099806.JavaMail.jira@brutus> Date: Tue, 13 Jan 2009 14:34:59 -0800 (PST) From: "Tushar (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HTTPCORE-179) documentation : quick start : jar dependencies needed for samples like ClientFormLogin.java in org.apache.http.examples.client In-Reply-To: <1420438737.1231855030531.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCORE-179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tushar updated HTTPCORE-179: ---------------------------- then can you add a page pointing to it - i downloaded all the binaries from http://hc.apache.org/downloads.cgi did not work out a quick start guide in the samples docs or better yet in the wiki would really help > documentation : quick start : jar dependencies needed for samples like ClientFormLogin.java in org.apache.http.examples.client > ------------------------------------------------------------------------------------------------------------------------------ > > Key: HTTPCORE-179 > URL: https://issues.apache.org/jira/browse/HTTPCORE-179 > Project: HttpComponents HttpCore > Issue Type: Improvement > Components: Examples, HttpCore > Affects Versions: 4.0-beta3 > Environment: any/ windows. linux dos > Reporter: Tushar > Priority: Blocker > Original Estimate: 2h > Remaining Estimate: 2h > > cannot determine the required jar files to compile samples/ own files > example org.apache.http.examples.client.ClientFormLogin > used > set CLASSPATH=P:\j\samples\httpClient\examples;j:\j\j5\h;P:\j\e\mysql.jar;P:\j\e\commons-logging-api-1.1.1.jar;P:\j\e\commons-logging-1.1.1.jar;P:\j\e\4\httpmime-4.0-beta2.jar;P:\j\e\4\httpclient-4.0-beta2.jar;P:\j\e\4\h\e\4\httpcore-4.0-beta3.jar;P:\j\e\4\httpcore-nio-4.0-beta3.jar > but still needs org.apache.http.*; ... where are these jars? a quick start guide / link to all jars for one version would help > - only known workaround - go back to old version 3.1 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jan 13 22:39:24 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27998 invoked from network); 13 Jan 2009 22:39:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Jan 2009 22:39:23 -0000 Received: (qmail 98532 invoked by uid 500); 13 Jan 2009 22:39:23 -0000 Delivered-To: [email protected] Received: (qmail 98487 invoked by uid 500); 13 Jan 2009 22:39:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 98471 invoked by uid 99); 13 Jan 2009 22:39:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2009 14:39:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2009 22:39:21 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id EFB49234C48B for <[email protected]>; Tue, 13 Jan 2009 14:38:59 -0800 (PST) Message-ID: <1322069187.1231886339980.JavaMail.jira@brutus> Date: Tue, 13 Jan 2009 14:38:59 -0800 (PST) From: "Tushar (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HTTPCORE-179) documentation : quick start : jar dependencies needed for samples like ClientFormLogin.java in org.apache.http.examples.client In-Reply-To: <1420438737.1231855030531.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCORE-179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tushar updated HTTPCORE-179: ---------------------------- or at lesat give the exact URL so we can download and use - run the example :- org.apache.http.examples.client.ClientFormLogin > documentation : quick start : jar dependencies needed for samples like ClientFormLogin.java in org.apache.http.examples.client > ------------------------------------------------------------------------------------------------------------------------------ > > Key: HTTPCORE-179 > URL: https://issues.apache.org/jira/browse/HTTPCORE-179 > Project: HttpComponents HttpCore > Issue Type: Improvement > Components: Examples, HttpCore > Affects Versions: 4.0-beta3 > Environment: any/ windows. linux dos > Reporter: Tushar > Priority: Blocker > Original Estimate: 2h > Remaining Estimate: 2h > > cannot determine the required jar files to compile samples/ own files > example org.apache.http.examples.client.ClientFormLogin > used > set CLASSPATH=P:\j\samples\httpClient\examples;j:\j\j5\h;P:\j\e\mysql.jar;P:\j\e\commons-logging-api-1.1.1.jar;P:\j\e\commons-logging-1.1.1.jar;P:\j\e\4\httpmime-4.0-beta2.jar;P:\j\e\4\httpclient-4.0-beta2.jar;P:\j\e\4\h\e\4\httpcore-4.0-beta3.jar;P:\j\e\4\httpcore-nio-4.0-beta3.jar > but still needs org.apache.http.*; ... where are these jars? a quick start guide / link to all jars for one version would help > - only known workaround - go back to old version 3.1 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jan 13 22:55:03 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31234 invoked from network); 13 Jan 2009 22:55:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Jan 2009 22:55:03 -0000 Received: (qmail 7943 invoked by uid 500); 13 Jan 2009 22:55:02 -0000 Delivered-To: [email protected] Received: (qmail 7916 invoked by uid 500); 13 Jan 2009 22:55:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 688 invoked by uid 99); 13 Jan 2009 22:45:21 -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 [email protected] designates 161.129.204.104 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=fvNFAk9ZPe7mqUj1iqQlvS4nWrBTgiaJxTQGYYEHB90=; b=Yw+ABaGXnXCKFXKXfFtIf1LGu2KJgG61HXJyIitKzrVhKtpRDSMVYaYM7V4BH0KW6v I5pcZsNHhicBG5IYW7RZHo9SMXmCVI9oJ7Kk7jA3sIZ8pG0RD3fLGIlPPDLTN84SJzXa amo032Xb32W/bgtzVA8m5dq+I4irV/UQnqTVg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=mZ3SNHcKM2vOXg6XnY8TaM1NX7C+vvlYlureBnsdQBtWd1Jhtc7KYCiiqgjQ0qWD+W yUXnRnUCoLZKdxyPA0O3QuIGH51195pAq+mILRCtBlUmwmeriG5UPXFn2kHSD8Kbygow FkgFI3+7/7GvMBHauys945VJsIJlwqOK7v9Dc= Message-ID: <[email protected]> Date: Tue, 13 Jan 2009 14:44:52 -0800 From: "Chas Williams" <[email protected]> To: [email protected] Subject: "I/O dispatch worker terminated abnormally" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_323670_8622933.1231886692844" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_323670_8622933.1231886692844 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, I'm running a high throughput nio http client (essentially a small webcrawler) through the apache HttpCore NIO extensions -- my code is based largely off the sample client at http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-nio/src/examples/org/apache/http/examples/nio/NHttpClient.java. I'm repeatedly getting the following error: "I/O dispatch worker terminated abnormally"; it's an IOException thrown from the 'ioReactor.execute' part of the sample code mentioned above. I get it when requesting high volumes of URLs -- it sometimes occours very quickly, or other times won't happen for up to 10 minutes or so. Here's the printStackTrack output for the 'getCause()' method on the IOexception: java.lang.NullPointerException at org.apache.http.nio.protocol.AsyncNHttpClientHandler.closed(AsyncNHttpClientHandler.java:115) at org.apache.http.nio.protocol.BufferingHttpClientHandler.closed(BufferingHttpClientHandler.java:98) at org.apache.http.impl.nio.DefaultClientIOEventDispatch.disconnected(DefaultClientIOEventDispatch.java:93) at org.apache.http.impl.nio.reactor.BaseIOReactor.sessionClosed(BaseIOReactor.java:222) at org.apache.http.impl.nio.reactor.AbstractIOReactor.processClosedSessions(AbstractIOReactor.java:277) at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:150) at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:70) at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:362) at java.lang.Thread.run(Thread.java:619) Even though the error seems to stem from the httpcore library, I've commented out all of my code to see if it fixes the problem -- it doesn't. I tried upgrading from the 4.0-beta2 to the 4.0-beta3 release -- this also does not solve the problem. Anyone have any ideas what this could be? Thanks much, Chas Williams [email protected] ------=_Part_323670_8622933.1231886692844-- From [email protected] Tue Jan 13 23:11:02 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36794 invoked from network); 13 Jan 2009 23:11:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Jan 2009 23:11:02 -0000 Received: (qmail 33345 invoked by uid 500); 13 Jan 2009 23:11:01 -0000 Delivered-To: [email protected] Received: (qmail 33312 invoked by uid 500); 13 Jan 2009 23:11:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 33301 invoked by uid 99); 13 Jan 2009 23:11:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2009 15:11:01 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2consulting.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2009 23:10:52 +0000 Received: by ok2consulting.nine.ch (Postfix, from userid 1002) id 1808C198560; Wed, 14 Jan 2009 00:10:30 +0100 (CET) Received: from [161.129.204.104] 251-554-7837.dclient.hispeed.ch [161.129.204.104]) by ok2consulting.nine.ch (Postfix) with ESMTP id 8C30A19855C; Wed, 14 Jan 2009 00:10:27 +0100 (CET) Message-ID: <[email protected]> Date: Wed, 14 Jan 2009 00:10:17 +0100 From: Oleg Kalnichevski <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20081209) MIME-Version: 1.0 To: HttpComponents Project <[email protected]> Cc: [email protected] Subject: Re: "I/O dispatch worker terminated abnormally" References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on ok2consulting.nine.ch X-Spam-Level: X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.3 Chas Williams wrote: > Hello, > > I'm running a high throughput nio http client (essentially a small > webcrawler) through the apache HttpCore NIO extensions -- my code is based > largely off the sample client at > http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-nio/src/examples/org/apache/http/examples/nio/NHttpClient.java. > > > > I'm repeatedly getting the following error: "I/O dispatch worker > terminated abnormally"; it's an IOException thrown from the > 'ioReactor.execute' part of the sample code mentioned above. I get it when > requesting high volumes of URLs -- it sometimes occours very quickly, or > other times won't happen for up to 10 minutes or so. > > Here's the printStackTrack output for the 'getCause()' method on the > IOexception: > > java.lang.NullPointerException > at > org.apache.http.nio.protocol.AsyncNHttpClientHandler.closed(AsyncNHttpClientHandler.java:115) > at > org.apache.http.nio.protocol.BufferingHttpClientHandler.closed(BufferingHttpClientHandler.java:98) > at > org.apache.http.impl.nio.DefaultClientIOEventDispatch.disconnected(DefaultClientIOEventDispatch.java:93) > at > org.apache.http.impl.nio.reactor.BaseIOReactor.sessionClosed(BaseIOReactor.java:222) > at > org.apache.http.impl.nio.reactor.AbstractIOReactor.processClosedSessions(AbstractIOReactor.java:277) > at > org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:150) > at > org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:70) > at > org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:362) > at java.lang.Thread.run(Thread.java:619) > > > Even though the error seems to stem from the httpcore library, I've > commented out all of my code to see if it fixes the problem -- it doesn't. I > tried upgrading from the 4.0-beta2 to the 4.0-beta3 release -- this also > does not solve the problem. > > Anyone have any ideas what this could be? > > > Thanks much, > > Chas Williams Chas, This looks like a bug in HttpCore. Could you please open an issue for it in JIRA? https://issues.apache.org/jira/browse/HTTPCORE It would also be great if could you try to reproduce the problem with a test case, something I could run locally and get the same exception. Oleg > [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jan 13 23:19:23 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38040 invoked from network); 13 Jan 2009 23:19:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Jan 2009 23:19:23 -0000 Received: (qmail 39642 invoked by uid 500); 13 Jan 2009 23:19:23 -0000 Delivered-To: [email protected] Received: (qmail 39610 invoked by uid 500); 13 Jan 2009 23:19:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 39598 invoked by uid 99); 13 Jan 2009 23:19:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2009 15:19:23 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2009 23:19:21 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C0D7F234C48B for <[email protected]>; Tue, 13 Jan 2009 15:18:59 -0800 (PST) Message-ID: <765703948.1231888739788.JavaMail.jira@brutus> Date: Tue, 13 Jan 2009 15:18:59 -0800 (PST) From: "Oleg Kalnichevski (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (HTTPCORE-179) documentation : quick start : jar dependencies needed for samples like ClientFormLogin.java in org.apache.http.examples.client In-Reply-To: <1420438737.1231855030531.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCORE-179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12663531#action_12663531 ] Oleg Kalnichevski commented on HTTPCORE-179: -------------------------------------------- http://www.apache.org/dist/httpcomponents/httpclient/binary/httpcomponents-client-4.0-beta2-bin-with-dependencies.zip Oleg > documentation : quick start : jar dependencies needed for samples like ClientFormLogin.java in org.apache.http.examples.client > ------------------------------------------------------------------------------------------------------------------------------ > > Key: HTTPCORE-179 > URL: https://issues.apache.org/jira/browse/HTTPCORE-179 > Project: HttpComponents HttpCore > Issue Type: Improvement > Components: Examples, HttpCore > Affects Versions: 4.0-beta3 > Environment: any/ windows. linux dos > Reporter: Tushar > Priority: Blocker > Original Estimate: 2h > Remaining Estimate: 2h > > cannot determine the required jar files to compile samples/ own files > example org.apache.http.examples.client.ClientFormLogin > used > set CLASSPATH=P:\j\samples\httpClient\examples;j:\j\j5\h;P:\j\e\mysql.jar;P:\j\e\commons-logging-api-1.1.1.jar;P:\j\e\commons-logging-1.1.1.jar;P:\j\e\4\httpmime-4.0-beta2.jar;P:\j\e\4\httpclient-4.0-beta2.jar;P:\j\e\4\h\e\4\httpcore-4.0-beta3.jar;P:\j\e\4\httpcore-nio-4.0-beta3.jar > but still needs org.apache.http.*; ... where are these jars? a quick start guide / link to all jars for one version would help > - only known workaround - go back to old version 3.1 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jan 13 23:24:57 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38772 invoked from network); 13 Jan 2009 23:24:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Jan 2009 23:24:57 -0000 Received: (qmail 42252 invoked by uid 500); 13 Jan 2009 23:24:57 -0000 Delivered-To: [email protected] Received: (qmail 42221 invoked by uid 500); 13 Jan 2009 23:24:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 42210 invoked by uid 99); 13 Jan 2009 23:24:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2009 15:24:57 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wf-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2009 23:24:50 +0000 Received: by wf-out-1314.google.com with SMTP id 29so249320wff.10 for <[email protected]>; Tue, 13 Jan 2009 15:24:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=WyNc3JC3EWjke5Ie/CacRpxPRJzfEmAX8pa05K5N6W4=; b=pxyH0MolSXC+CG3F0kFa7S5XsNUGR/3mP6KKy528B6s7kfejfUDThe/OEUQKrXltNC JuWg26g/AUwCXVz5Z/3hQSr4TITMqF6mCIEoZ6tyVMZ9h98yez850buqlLP7Chm7j/Wj SFZomFiAXgY9r5yaeGVq/nYfqkaWt5aiE4F6g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Ymhjrk/eqMrhjobgSP2a41QAbFim5TSmLFWd2Ysmt9zmnRHVUdjv6nW/NYpfYa2y3I lQjqX/dTkuI4FsgwSoGA21InSU1C7L6JkqClAyuXeE8080DSZ1yn0W9oXDU9cDydxVIJ CH/PQZh7hQCr3OZJ/BC6PTI8i0zRh7AQ4knuM= Received: by 161.129.204.104 with SMTP id s6mr9210064wfe.58.1231889070337; Tue, 13 Jan 2009 15:24:30 -0800 (PST) Received: by 161.129.204.104 with HTTP; Tue, 13 Jan 2009 15:24:30 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 13 Jan 2009 18:24:30 -0500 From: "Sam Berlin" <[email protected]> To: "HttpComponents Project" <[email protected]> Subject: Re: Credentials & Connection-Close In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org I guess the client can just forcibly call HttpGet.abort() which should kill the connection. I was wondering if there was a way to do it without the abort, so the server can know the connection is going to close. In my ideal world, the exchange would be something like: --> GET /resource --> Connection: Keep-Alive <-- 4xx - Requires Authentication --> GET /resource --> Auth-Header: auth-value --> Connection: Close <-- 2xx <-- <resource> <connection close> Sorry if this is a bad use-case -- the abort should work just fine. Sam On Tue, Jan 13, 2009 at 5:29 PM, Oleg Kalnichevski <[email protected]> wrote: > Sam Berlin wrote: >> >> Sorry, I had a bit of troubling grasping the question in my head, so >> it didn't come out too clearly. >> >> On the client side, I'd like to send a request that I know will >> require credentials. So I get the HttpClient's credentialsProvider & >> set some credentials in it. I'd also like to open a GET request with >> a 'Connection: Close' header, but I know the GET is going to have the >> interim credentials exchange. >> >> Will the 'Connection: Close' that's added to the outgoing GET cause a >> server to close the connection before the authentication finishes? >> (This question is mostly a 'server behavior' question, but I'm not >> sure what the correct behavior should be.) >> > > I believe so. > >> If a properly behaved (or typically behaved) server will close the >> connection before the auth finishes, then the next question is: How do >> I add the Connection: Close into the subsequent GET that's performed >> internally by HttpClient after the auth finishes? What trick would I >> use in an interceptor in order to get the subsequent GET? >> > > What for do you need that GET? Why do not you just close the connection if > you do not want to keep it alive? > > Am I still missing something? > > Can you describe what kind of HTTP messages would you expect HttpClient to > generate? > > Oleg > > >> Thanks! >> >> Sam >> >> >> >> On Tue, Jan 13, 2009 at 2:33 PM, Oleg Kalnichevski <[email protected]> >> wrote: >>> >>> Sam Berlin wrote: >>>> >>>> Hi All, >>>> >>>> Is there a preferred way of adding a "Connection: Close" header into >>>> an exchange you expect (and want) to use credentials with? I would >>>> expect if the initial request had a failure due to unauthorized >>>> credentials that the Connection: Close would kill the connection >>>> instead of continuing the exchange of the credentials. If this is the >>>> case, is there a way to add Connection: Close to the request only >>>> after credentials are added? >>>> >>> Hi Sam >>> >>> I am not sure I understand the problem entirely. Are you talking about >>> client-side or server-side processing? Anyways, a simple protocol >>> interceptor should do the job quite easily. >>> >>> Oleg >>> >>> >>>> Thanks. >>>> >>>> Sam >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [email protected] >>>> For additional commands, e-mail: [email protected] >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jan 14 01:27:29 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97541 invoked from network); 14 Jan 2009 01:27:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jan 2009 01:27:29 -0000 Received: (qmail 28760 invoked by uid 500); 14 Jan 2009 01:27:28 -0000 Delivered-To: [email protected] Received: (qmail 28738 invoked by uid 500); 14 Jan 2009 01:27:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 28727 invoked by uid 99); 14 Jan 2009 01:27:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2009 17:27:28 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jan 2009 01:27:20 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E7616234C4B8 for <[email protected]>; Tue, 13 Jan 2009 17:26:59 -0800 (PST) Message-ID: <806726196.1231896419946.JavaMail.jira@brutus> Date: Tue, 13 Jan 2009 17:26:59 -0800 (PST) From: "Tushar (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HTTPCORE-179) documentation : quick start : jar dependencies needed for samples like ClientFormLogin.java in org.apache.http.examples.client In-Reply-To: <1420438737.1231855030531.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCORE-179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tushar updated HTTPCORE-179: ---------------------------- thank you much for that. was missing apache-mime4j-0.5.jar now it compiles. would be awesome if you can add this to the samples folder in a read me or / and wiki will save time when someone else tries this. i at least had a work around as had a copy working with 3.1 Tushar Kapila http://sel2in.com www.worldcommunitygrid.org Volunteer computer Cancer cures www.thehungersite.com , and www.bhookh.com feed hungry , its free. www.ecologyfund.com Please add these to your start-up how to: http://tusharkapila.blogspot.com/2008/05/s.html > documentation : quick start : jar dependencies needed for samples like ClientFormLogin.java in org.apache.http.examples.client > ------------------------------------------------------------------------------------------------------------------------------ > > Key: HTTPCORE-179 > URL: https://issues.apache.org/jira/browse/HTTPCORE-179 > Project: HttpComponents HttpCore > Issue Type: Improvement > Components: Examples, HttpCore > Affects Versions: 4.0-beta3 > Environment: any/ windows. linux dos > Reporter: Tushar > Priority: Blocker > Original Estimate: 2h > Remaining Estimate: 2h > > cannot determine the required jar files to compile samples/ own files > example org.apache.http.examples.client.ClientFormLogin > used > set CLASSPATH=P:\j\samples\httpClient\examples;j:\j\j5\h;P:\j\e\mysql.jar;P:\j\e\commons-logging-api-1.1.1.jar;P:\j\e\commons-logging-1.1.1.jar;P:\j\e\4\httpmime-4.0-beta2.jar;P:\j\e\4\httpclient-4.0-beta2.jar;P:\j\e\4\h\e\4\httpcore-4.0-beta3.jar;P:\j\e\4\httpcore-nio-4.0-beta3.jar > but still needs org.apache.http.*; ... where are these jars? a quick start guide / link to all jars for one version would help > - only known workaround - go back to old version 3.1 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jan 14 14:15:26 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73252 invoked from network); 14 Jan 2009 14:15:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jan 2009 14:15:26 -0000 Received: (qmail 37792 invoked by uid 500); 14 Jan 2009 14:15:25 -0000 Delivered-To: [email protected] Received: (qmail 37756 invoked by uid 500); 14 Jan 2009 14:15:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 37745 invoked by uid 99); 14 Jan 2009 14:15:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jan 2009 06:15:25 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jan 2009 14:15:24 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E0BE2234C4AE for <[email protected]>; Wed, 14 Jan 2009 06:15:03 -0800 (PST) Message-ID: <154819624.1231942503899.JavaMail.jira@brutus> Date: Wed, 14 Jan 2009 06:15:03 -0800 (PST) From: "Oleg Kalnichevski (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Moved: (HTTPCLIENT-815) documentation : quick start : jar dependencies needed for samples like ClientFormLogin.java in org.apache.http.examples.client In-Reply-To: <1420438737.1231855030531.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski moved HTTPCORE-179 to HTTPCLIENT-815: ------------------------------------------------------- Component/s: (was: Examples) (was: HttpCore) Examples Affects Version/s: (was: 4.0-beta3) Key: HTTPCLIENT-815 (was: HTTPCORE-179) Project: HttpComponents HttpClient (was: HttpComponents HttpCore) > documentation : quick start : jar dependencies needed for samples like ClientFormLogin.java in org.apache.http.examples.client > ------------------------------------------------------------------------------------------------------------------------------ > > Key: HTTPCLIENT-815 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-815 > Project: HttpComponents HttpClient > Issue Type: Improvement > Components: Examples > Environment: any/ windows. linux dos > Reporter: Tushar > Priority: Blocker > Original Estimate: 2h > Remaining Estimate: 2h > > cannot determine the required jar files to compile samples/ own files > example org.apache.http.examples.client.ClientFormLogin > used > set CLASSPATH=P:\j\samples\httpClient\examples;j:\j\j5\h;P:\j\e\mysql.jar;P:\j\e\commons-logging-api-1.1.1.jar;P:\j\e\commons-logging-1.1.1.jar;P:\j\e\4\httpmime-4.0-beta2.jar;P:\j\e\4\httpclient-4.0-beta2.jar;P:\j\e\4\h\e\4\httpcore-4.0-beta3.jar;P:\j\e\4\httpcore-nio-4.0-beta3.jar > but still needs org.apache.http.*; ... where are these jars? a quick start guide / link to all jars for one version would help > - only known workaround - go back to old version 3.1 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jan 14 14:18:22 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74504 invoked from network); 14 Jan 2009 14:18:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jan 2009 14:18:22 -0000 Received: (qmail 42905 invoked by uid 500); 14 Jan 2009 14:18:22 -0000 Delivered-To: [email protected] Received: (qmail 42694 invoked by uid 500); 14 Jan 2009 14:18:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 42679 invoked by uid 99); 14 Jan 2009 14:18:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jan 2009 06:18:21 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jan 2009 14:18:20 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 9C858234C4C0 for <[email protected]>; Wed, 14 Jan 2009 06:18:00 -0800 (PST) Message-ID: <1159947045.1231942680639.JavaMail.jira@brutus> Date: Wed, 14 Jan 2009 06:18:00 -0800 (PST) From: "Oleg Kalnichevski (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Reopened: (HTTPCLIENT-815) Quick Start guide for HttpClient 4.0 In-Reply-To: <1420438737.1231855030531.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski reopened HTTPCLIENT-815: ------------------------------------------ Fair enough. A 'Getting Started' guide for HttpClient 4.0 would indeed be nice. BTW, feel free to contribute Oleg > Quick Start guide for HttpClient 4.0 > ------------------------------------ > > Key: HTTPCLIENT-815 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-815 > Project: HttpComponents HttpClient > Issue Type: Improvement > Components: Examples > Environment: any/ windows. linux dos > Reporter: Tushar > Fix For: 4.0 Final > > Original Estimate: 2h > Remaining Estimate: 2h > > cannot determine the required jar files to compile samples/ own files > example org.apache.http.examples.client.ClientFormLogin > used > set CLASSPATH=P:\j\samples\httpClient\examples;j:\j\j5\h;P:\j\e\mysql.jar;P:\j\e\commons-logging-api-1.1.1.jar;P:\j\e\commons-logging-1.1.1.jar;P:\j\e\4\httpmime-4.0-beta2.jar;P:\j\e\4\httpclient-4.0-beta2.jar;P:\j\e\4\h\e\4\httpcore-4.0-beta3.jar;P:\j\e\4\httpcore-nio-4.0-beta3.jar > but still needs org.apache.http.*; ... where are these jars? a quick start guide / link to all jars for one version would help > - only known workaround - go back to old version 3.1 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jan 14 14:18:26 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74638 invoked from network); 14 Jan 2009 14:18:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jan 2009 14:18:26 -0000 Received: (qmail 43384 invoked by uid 500); 14 Jan 2009 14:18:24 -0000 Delivered-To: [email protected] Received: (qmail 43349 invoked by uid 500); 14 Jan 2009 14:18:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 43302 invoked by uid 99); 14 Jan 2009 14:18:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jan 2009 06:18:23 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jan 2009 14:18:21 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 44CA8234C4B1 for <[email protected]>; Wed, 14 Jan 2009 06:18:00 -0800 (PST) Message-ID: <1873169068.1231942680280.JavaMail.jira@brutus> Date: Wed, 14 Jan 2009 06:18:00 -0800 (PST) From: "Oleg Kalnichevski (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HTTPCLIENT-815) Quick Start guide for HttpClient 4.0 In-Reply-To: <1420438737.1231855030531.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski updated HTTPCLIENT-815: ----------------------------------------- Priority: Major (was: Blocker) Fix Version/s: 4.0 Final Summary: Quick Start guide for HttpClient 4.0 (was: documentation : quick start : jar dependencies needed for samples like ClientFormLogin.java in org.apache.http.examples.client) > Quick Start guide for HttpClient 4.0 > ------------------------------------ > > Key: HTTPCLIENT-815 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-815 > Project: HttpComponents HttpClient > Issue Type: Improvement > Components: Examples > Environment: any/ windows. linux dos > Reporter: Tushar > Fix For: 4.0 Final > > Original Estimate: 2h > Remaining Estimate: 2h > > cannot determine the required jar files to compile samples/ own files > example org.apache.http.examples.client.ClientFormLogin > used > set CLASSPATH=P:\j\samples\httpClient\examples;j:\j\j5\h;P:\j\e\mysql.jar;P:\j\e\commons-logging-api-1.1.1.jar;P:\j\e\commons-logging-1.1.1.jar;P:\j\e\4\httpmime-4.0-beta2.jar;P:\j\e\4\httpclient-4.0-beta2.jar;P:\j\e\4\h\e\4\httpcore-4.0-beta3.jar;P:\j\e\4\httpcore-nio-4.0-beta3.jar > but still needs org.apache.http.*; ... where are these jars? a quick start guide / link to all jars for one version would help > - only known workaround - go back to old version 3.1 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jan 14 19:54:08 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62286 invoked from network); 14 Jan 2009 19:54:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jan 2009 19:54:08 -0000 Received: (qmail 67871 invoked by uid 500); 14 Jan 2009 19:54:08 -0000 Delivered-To: [email protected] Received: (qmail 67657 invoked by uid 500); 14 Jan 2009 19:54:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 67593 invoked by uid 99); 14 Jan 2009 19:54:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jan 2009 11:54:07 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2consulting.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jan 2009 19:53:57 +0000 Received: by ok2consulting.nine.ch (Postfix, from userid 1002) id D09DC198563; Wed, 14 Jan 2009 20:53:36 +0100 (CET) Received: from [161.129.204.104] 251-554-7837.dclient.hispeed.ch [161.129.204.104]) by ok2consulting.nine.ch (Postfix) with ESMTP id C983E19855C for <[email protected]>; Wed, 14 Jan 2009 20:53:35 +0100 (CET) Message-ID: <[email protected]> Date: Wed, 14 Jan 2009 20:53:24 +0100 From: Oleg Kalnichevski <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20081209) MIME-Version: 1.0 To: HttpComponents Project <[email protected]> Subject: Re: Credentials & Connection-Close References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on ok2consulting.nine.ch X-Spam-Level: X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.3 On Tue, 2009-01-13 at 18:24 -0500, Sam Berlin wrote: > I guess the client can just forcibly call HttpGet.abort() which should > kill the connection. I was wondering if there was a way to do it > without the abort, so the server can know the connection is going to > close. In my ideal world, the exchange would be something like: > > --> GET /resource > --> Connection: Keep-Alive > > <-- 4xx - Requires Authentication > > --> GET /resource > --> Auth-Header: auth-value > --> Connection: Close > > <-- 2xx > <-- <resource> > <connection close> > > Sorry if this is a bad use-case -- the abort should work just fine. > > Sam > > Hi Sam Please note that this approach may not work as desired with pooling connection managers where the authentication process can take place on one connection but the subsequent GET /resource may be executed using a completely different physical connection. Anyways, you can detect an authentication failure using the following interceptor and make use of information stored in the execution context to add "Connection: close" to the subsequent GET request. Hope this helps Oleg ---- DefaultHttpClient httpclient = new DefaultHttpClient(); httpclient.addResponseInterceptor(new HttpResponseInterceptor() { public void process( final HttpResponse response, final HttpContext context) throws HttpException, IOException { AuthState authState = (AuthState) context.getAttribute( ClientContext.TARGET_AUTH_STATE); if (authState.isValid()) { int code = response.getStatusLine().getStatusCode(); if (code == HttpStatus.SC_UNAUTHORIZED) { context.setAttribute("flag", Boolean.TRUE); } } } }); HttpContext localContext = new BasicHttpContext(); HttpGet httpget = new HttpGet("http://www.whatever.com/"); HttpResponse response = httpclient.execute(httpget, localContext); HttpEntity entity = response.getEntity(); System.out.println(response.getStatusLine()); entity.consumeContent(); System.out.println(localContext.getAttribute("flag")); ---- > On Tue, Jan 13, 2009 at 5:29 PM, Oleg Kalnichevski <[email protected] <mailto:[email protected]>> wrote: > > Sam Berlin wrote: > >> > >> Sorry, I had a bit of troubling grasping the question in my head, so > >> it didn't come out too clearly. > >> > >> On the client side, I'd like to send a request that I know will > >> require credentials. So I get the HttpClient's credentialsProvider & > >> set some credentials in it. I'd also like to open a GET request with > >> a 'Connection: Close' header, but I know the GET is going to have the > >> interim credentials exchange. > >> > >> Will the 'Connection: Close' that's added to the outgoing GET cause a > >> server to close the connection before the authentication finishes? > >> (This question is mostly a 'server behavior' question, but I'm not > >> sure what the correct behavior should be.) > >> > > > > I believe so. > > > >> If a properly behaved (or typically behaved) server will close the > >> connection before the auth finishes, then the next question is: How do > >> I add the Connection: Close into the subsequent GET that's performed > >> internally by HttpClient after the auth finishes? What trick would I > >> use in an interceptor in order to get the subsequent GET? > >> > > > > What for do you need that GET? Why do not you just close the connection if > > you do not want to keep it alive? > > > > Am I still missing something? > > > > Can you describe what kind of HTTP messages would you expect HttpClient to > > generate? > > > > Oleg > > > > > >> Thanks! > >> > >> Sam > >> > >> > >> > >> On Tue, Jan 13, 2009 at 2:33 PM, Oleg Kalnichevski <[email protected] <mailto:[email protected]>> > >> wrote: > >>> > >>> Sam Berlin wrote: > >>>> > >>>> Hi All, > >>>> > >>>> Is there a preferred way of adding a "Connection: Close" header into > >>>> an exchange you expect (and want) to use credentials with? I would > >>>> expect if the initial request had a failure due to unauthorized > >>>> credentials that the Connection: Close would kill the connection > >>>> instead of continuing the exchange of the credentials. If this is the > >>>> case, is there a way to add Connection: Close to the request only > >>>> after credentials are added? > >>>> > >>> Hi Sam > >>> > >>> I am not sure I understand the problem entirely. Are you talking about > >>> client-side or server-side processing? Anyways, a simple protocol > >>> interceptor should do the job quite easily. > >>> > >>> Oleg > >>> > >>> > >>>> Thanks. > >>>> > >>>> Sam > >>>> > >>>> --------------------------------------------------------------------- > >>>> To unsubscribe, e-mail: [email protected] <mailto:[email protected]> > >>>> For additional commands, e-mail: [email protected] <mailto:[email protected]> > >>>> > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: [email protected] <mailto:[email protected]> > >>> For additional commands, e-mail: [email protected] <mailto:[email protected]> > >>> > >>> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] <mailto:[email protected]> > >> For additional commands, e-mail: [email protected] <mailto:[email protected]> > >> > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] <mailto:[email protected]> > > For additional commands, e-mail: [email protected] <mailto:[email protected]> > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] <mailto:[email protected]> > For additional commands, e-mail: [email protected] <mailto:[email protected]> > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Jan 15 00:33:24 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86397 invoked from network); 15 Jan 2009 00:33:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Jan 2009 00:33:24 -0000 Received: (qmail 29890 invoked by uid 500); 15 Jan 2009 00:33:21 -0000 Delivered-To: [email protected] Received: (qmail 29784 invoked by uid 500); 15 Jan 2009 00:33:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 29737 invoked by uid 99); 15 Jan 2009 00:33:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jan 2009 16:33:20 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jan 2009 00:33:19 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 96E2F234C48B for <[email protected]>; Wed, 14 Jan 2009 16:32:59 -0800 (PST) Message-ID: <1276938706.1231979579616.JavaMail.jira@brutus> Date: Wed, 14 Jan 2009 16:32:59 -0800 (PST) From: "Chas W (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (HTTPCORE-180) "I/O dispatch worker terminated abnormally" casued by NPE with extremely low timeout settings MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org "I/O dispatch worker terminated abnormally" casued by NPE with extremely low timeout settings --------------------------------------------------------------------------------------------- Key: HTTPCORE-180 URL: https://issues.apache.org/jira/browse/HTTPCORE-180 Project: HttpComponents HttpCore Issue Type: Bug Components: HttpCore NIO Affects Versions: 4.0-beta3, 4.0-beta2 Environment: java version "1.6.0_10" Java(TM) SE Runtime Environment (build 1.6.0_10-b33) Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode) Reporter: Chas W Priority: Minor I'm running a high throughput nio http client (essentially a small webcrawler) through the apache HttpCore NIO extensions -- my code is based largely off the sample client at http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-nio/src/examples/org/apache/http/examples/nio/NHttpClient.java. I've manually set both the 'connection timeout' and 'socket timeout' limits to 1ms, in order to force timeouts to test a portion of my code. After doing so, I repeatedly get the following error: "I/O dispatch worker terminated abnormally"; it's an IOException thrown from the 'ioReactor.execute' part of the sample code mentioned above. I get it when requesting high volumes of URLs -- it sometimes occours very quickly, or other times won't happen for up to 10 minutes or so. Here's the printStackTrack output for the 'getCause()' method on the IOexception: java.lang.NullPointerException at org.apache.http.nio.protocol.AsyncNHttpClientHandler.closed(AsyncNHttpClientHandler.java:115) at org.apache.http.nio.protocol.BufferingHttpClientHandler.closed(BufferingHttpClientHandler.java:98) at org.apache.http.impl.nio.DefaultClientIOEventDispatch.disconnected(DefaultClientIOEventDispatch.java:93) at org.apache.http.impl.nio.reactor.BaseIOReactor.sessionClosed(BaseIOReactor.java:222) at org.apache.http.impl.nio.reactor.AbstractIOReactor.processClosedSessions(AbstractIOReactor.java:277) at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:150) at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:70) at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:362) at java.lang.Thread.run(Thread.java:619) Even though the error seems to stem from the httpcore library, I've commented out all of my code to see if it fixes the problem -- it doesn't. I tried upgrading from the 4.0-beta2 to the 4.0-beta3 release -- this also does not solve the problem. Again, this problem only occours when connection timeout and socket timeout are set extremely low (1ms), and does not seem to occour with normal timeout values. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Jan 15 00:37:04 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87852 invoked from network); 15 Jan 2009 00:37:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Jan 2009 00:37:04 -0000 Received: (qmail 39624 invoked by uid 500); 15 Jan 2009 00:37:04 -0000 Delivered-To: [email protected] Received: (qmail 39419 invoked by uid 500); 15 Jan 2009 00:37:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 33475 invoked by uid 99); 15 Jan 2009 00:33:55 -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 [email protected] designates 161.129.204.104 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=T3wngk1j1xjRpML0EmxBKaPg3ONViu3wkNROxswq46M=; b=Z/Ixi16rx9sufT8T870gW5Y+BkaA/tQ8EEvgsoHBz0+2BWSghzztuVOma8AwLd+lWI ZGS7xAbSdaibLJrTZtgWgzG4w9SL9DJP9AsEdNyH7Io9G/sDtpvAyGoD95pXx/xYXLNY WAnU/dLUPaTtpzYYODLEblmB6OCyczWM8RFNc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=KhWvjiNzOUk04Xeru2MsORBHV1kkOj8JdvGAsHt42HkWzPNuqdfCIV5LSdky44f/3W Q4v+z8Rm055Sou5Oam9J9716pva8pO9pU0L53tkOyGkc7/hGeLyMld5ZcX2Z+TMK5frj WACkstTY4D08XKA0AuPljnikAn0lHjxQEv8Kk= Message-ID: <[email protected]> Date: Wed, 14 Jan 2009 16:33:26 -0800 From: "Chas Williams" <[email protected]> To: "Oleg Kalnichevski" <[email protected]> Subject: Re: "I/O dispatch worker terminated abnormally" Cc: "HttpComponents Project" <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_668_13689380.1231979606622" References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_668_13689380.1231979606622 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Oleg, I realized that I had set my connection timeout and socket timeout settings to 1ms in order to force timeouts so I could test another part of my code. When changed to reasonable values, this error no longer occurs. I've added this note to the problem description, and filed a bug for it in JIRA here: https://issues.apache.org/jira/browse/HTTPCORE-180. Thanks, Chas On Tue, Jan 13, 2009 at 3:10 PM, Oleg Kalnichevski <[email protected]> wrote: > Chas Williams wrote: > >> Hello, >> >> I'm running a high throughput nio http client (essentially a small >> webcrawler) through the apache HttpCore NIO extensions -- my code is based >> largely off the sample client at >> >> http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-nio/src/examples/org/apache/http/examples/nio/NHttpClient.java >> . >> >> >> >> I'm repeatedly getting the following error: "I/O dispatch worker >> terminated abnormally"; it's an IOException thrown from the >> 'ioReactor.execute' part of the sample code mentioned above. I get it when >> requesting high volumes of URLs -- it sometimes occours very quickly, or >> other times won't happen for up to 10 minutes or so. >> >> Here's the printStackTrack output for the 'getCause()' method on the >> IOexception: >> >> java.lang.NullPointerException >> at >> >> org.apache.http.nio.protocol.AsyncNHttpClientHandler.closed(AsyncNHttpClientHandler.java:115) >> at >> >> org.apache.http.nio.protocol.BufferingHttpClientHandler.closed(BufferingHttpClientHandler.java:98) >> at >> >> org.apache.http.impl.nio.DefaultClientIOEventDispatch.disconnected(DefaultClientIOEventDispatch.java:93) >> at >> >> org.apache.http.impl.nio.reactor.BaseIOReactor.sessionClosed(BaseIOReactor.java:222) >> at >> >> org.apache.http.impl.nio.reactor.AbstractIOReactor.processClosedSessions(AbstractIOReactor.java:277) >> at >> >> org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:150) >> at >> >> org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:70) >> at >> >> org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:362) >> at java.lang.Thread.run(Thread.java:619) >> >> >> Even though the error seems to stem from the httpcore library, I've >> commented out all of my code to see if it fixes the problem -- it doesn't. >> I >> tried upgrading from the 4.0-beta2 to the 4.0-beta3 release -- this also >> does not solve the problem. >> >> Anyone have any ideas what this could be? >> >> >> Thanks much, >> >> Chas Williams >> > > Chas, > > This looks like a bug in HttpCore. Could you please open an issue for it in > JIRA? > > https://issues.apache.org/jira/browse/HTTPCORE > > It would also be great if could you try to reproduce the problem with a > test case, something I could run locally and get the same exception. > > Oleg > > [email protected] >> >> > ------=_Part_668_13689380.1231979606622-- From [email protected] Thu Jan 15 01:22:51 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99202 invoked from network); 15 Jan 2009 01:22:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Jan 2009 01:22:51 -0000 Received: (qmail 72610 invoked by uid 500); 15 Jan 2009 01:22:51 -0000 Delivered-To: [email protected] Received: (qmail 72584 invoked by uid 500); 15 Jan 2009 01:22:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 72573 invoked by uid 99); 15 Jan 2009 01:22:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jan 2009 17:22:51 -0800 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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f20.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jan 2009 01:22:43 +0000 Received: by bwz13 with SMTP id 13so1578523bwz.22 for <[email protected]>; Wed, 14 Jan 2009 17:22:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=xJCj+a3c/FKwzsahMRIUgiuvFvUcloMpvrfoljutuu8=; b=h+Uko3gQsLwUPvx0kwSDFXjfbCntlUhw4KTH3Lc/f8KZjQPQ5qrjy3w8DJNXphyGTo t4Xivnx+rRABeNW2Oua32GUFNN7jK+pcPWdPXwh5M0OhJedeJFJXwmtnio0Z04YKQPRR +2LMLFra1PNc6veADVK7+WA/vbUqw4AA6SWD4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=skWuJqCuzPlOj/uk6X0vHf9LgndpfZUGwz8My5GFGclB3t978aILo+1k0IR3FiUh9Y rNBxb9JBySw171P2TNYuqcMP3t4AC6dChslbum56Wcm4LmTBZjSUvU+BZnPyK+ATEJPk t591dghqROGl7yH6nbcqNhVBfZ19rDt41bivo= Received: by 161.129.204.104 with SMTP id j3mr380826mup.107.1231982542420; Wed, 14 Jan 2009 17:22:22 -0800 (PST) Received: by 161.129.204.104 with HTTP; Wed, 14 Jan 2009 17:22:22 -0800 (PST) Message-ID: <[email protected]> Date: Wed, 14 Jan 2009 17:22:22 -0800 From: "Chas Williams" <[email protected]> To: "HttpComponents Project" <[email protected]> Subject: HttpCore NIO extensions -- SessionRequestCallback vs. EventListener? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_941_29580151.1231982542412" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_941_29580151.1231982542412 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, I'm running a high throughput nio http client (essentially a small webcrawler) through the apache HttpCore NIO extensions -- my code is based largely off the sample client at http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-nio/src/examples/org/apache/http/examples/nio/NHttpClient.java . I'm modeling my work flow using 'work object' attachments that are passed around by threads, or sometimes placed in queues (or requested from the web by the httpcore nio extensions). I need to very precisely react to each different kind of request failure a single time -- but I'm having a difficult time understanding the difference between SessionRequestCallback and EventListener. I've looked through the JavaDoc, but can't find guarantees anywhere of which callback methods are used, when, and why. For example, in my EventListener object, I've seen calls for connectionTimeout followed by calls to fatalIOException. Is this intended behavior? Is there somewhere I can look for a more detailed description of these classes? Thanks much, Chas Williams [email protected] ------=_Part_941_29580151.1231982542412-- From [email protected] Thu Jan 15 19:17:59 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83665 invoked from network); 15 Jan 2009 19:17:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Jan 2009 19:17:57 -0000 Received: (qmail 83201 invoked by uid 500); 15 Jan 2009 19:17:56 -0000 Delivered-To: [email protected] Received: (qmail 83162 invoked by uid 500); 15 Jan 2009 19:17:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 83151 invoked by uid 99); 15 Jan 2009 19:17:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jan 2009 11:17:56 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2consulting.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jan 2009 19:17:47 +0000 Received: by ok2consulting.nine.ch (Postfix, from userid 1002) id AE475198563; Thu, 15 Jan 2009 20:17:25 +0100 (CET) Received: from [161.129.204.104] 251-554-7837.dclient.hispeed.ch [161.129.204.104]) by ok2consulting.nine.ch (Postfix) with ESMTP id CE96B19855C for <[email protected]>; Thu, 15 Jan 2009 20:17:22 +0100 (CET) Message-ID: <[email protected]> Date: Thu, 15 Jan 2009 20:17:06 +0100 From: Oleg Kalnichevski <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20081209) MIME-Version: 1.0 To: HttpComponents Project <[email protected]> Subject: Re: HttpCore NIO extensions -- SessionRequestCallback vs. EventListener? References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on ok2consulting.nine.ch X-Spam-Level: X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.3 Chas Williams wrote: > Hello, > > I'm running a high throughput nio http client (essentially a > small webcrawler) through the apache HttpCore NIO extensions -- my code is > based largely off the sample client at > http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-nio/src/examples/org/apache/http/examples/nio/NHttpClient.java > . > > I'm modeling my work flow using 'work object' attachments that > are passed around by threads, or sometimes placed in queues (or requested > from the web by the httpcore nio extensions). > > I need to very precisely react to each different kind of > request failure a single time -- but I'm having a difficult time > understanding the difference between SessionRequestCallback and > EventListener. I've looked through the JavaDoc, but can't find guarantees > anywhere of which callback methods are used, when, and why. For example, in > my EventListener object, I've seen calls for connectionTimeout followed by > calls to fatalIOException. Is this intended behavior? Is there somewhere I > can look for a more detailed description of these classes? > > Thanks much, > Hi Chas I have been working on improving Javadocs of HttpCore for the past few weeks. The documentation should have improved considerably since the last official release. Please pull the latest code from the project SVN repository. You may also want to take a look at the HttpCore tutorial (it is still a draft but it already gives a complete coverage of the API). Both interfaces should be adequately documented in the tutorial. http://wiki.apache.org/HttpComponents/HttpCoreTutorial If you need further details, just let me know. Cheers Oleg > Chas Williams > [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Jan 15 19:23:23 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85378 invoked from network); 15 Jan 2009 19:23:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Jan 2009 19:23:23 -0000 Received: (qmail 85456 invoked by uid 500); 15 Jan 2009 19:23:23 -0000 Delivered-To: [email protected] Received: (qmail 85428 invoked by uid 500); 15 Jan 2009 19:23:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 85417 invoked by uid 99); 15 Jan 2009 19:23:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jan 2009 11:23:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jan 2009 19:23:20 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 97F4E234C48B for <[email protected]>; Thu, 15 Jan 2009 11:22:59 -0800 (PST) Message-ID: <1181823478.1232047379621.JavaMail.jira@brutus> Date: Thu, 15 Jan 2009 11:22:59 -0800 (PST) From: "Oleg Kalnichevski (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HTTPCORE-180) "I/O dispatch worker terminated abnormally" casued by NPE with extremely low timeout settings In-Reply-To: <1276938706.1231979579616.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCORE-180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski updated HTTPCORE-180: --------------------------------------- Fix Version/s: 4.0-beta4 > Again, this problem only occours when connection timeout and socket timeout are set extremely low (1ms), > and does not seem to occour with normal timeout values. That pretty much explains it. The only possible way the NPE could be thrown at that point is when the session got terminated before IOEventDispatch#connected was fired, which can happen only in extremely rare cases. I am working on a fix. Oleg > "I/O dispatch worker terminated abnormally" casued by NPE with extremely low timeout settings > --------------------------------------------------------------------------------------------- > > Key: HTTPCORE-180 > URL: https://issues.apache.org/jira/browse/HTTPCORE-180 > Project: HttpComponents HttpCore > Issue Type: Bug > Components: HttpCore NIO > Affects Versions: 4.0-beta2, 4.0-beta3 > Environment: java version "1.6.0_10" > Java(TM) SE Runtime Environment (build 1.6.0_10-b33) > Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode) > Reporter: Chas W > Priority: Minor > Fix For: 4.0-beta4 > > > I'm running a high throughput nio http client (essentially a small webcrawler) through the apache HttpCore NIO extensions -- my code is based largely off the sample client at http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-nio/src/examples/org/apache/http/examples/nio/NHttpClient.java. > I've manually set both the 'connection timeout' and 'socket timeout' limits to 1ms, in order to force timeouts to test a portion of my code. > After doing so, I repeatedly get the following error: "I/O dispatch worker terminated abnormally"; it's an IOException thrown from the 'ioReactor.execute' part of the sample code mentioned above. I get it when requesting high volumes of URLs -- it sometimes occours very quickly, or other times won't happen for up to 10 minutes or so. > Here's the printStackTrack output for the 'getCause()' method on the IOexception: > java.lang.NullPointerException > at org.apache.http.nio.protocol.AsyncNHttpClientHandler.closed(AsyncNHttpClientHandler.java:115) > at org.apache.http.nio.protocol.BufferingHttpClientHandler.closed(BufferingHttpClientHandler.java:98) > at org.apache.http.impl.nio.DefaultClientIOEventDispatch.disconnected(DefaultClientIOEventDispatch.java:93) > at org.apache.http.impl.nio.reactor.BaseIOReactor.sessionClosed(BaseIOReactor.java:222) > at org.apache.http.impl.nio.reactor.AbstractIOReactor.processClosedSessions(AbstractIOReactor.java:277) > at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:150) > at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:70) > at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:362) > at java.lang.Thread.run(Thread.java:619) > Even though the error seems to stem from the httpcore library, I've commented out all of my code to see if it fixes the problem -- it doesn't. I tried upgrading from the 4.0-beta2 to the 4.0-beta3 release -- this also does not solve the problem. > Again, this problem only occours when connection timeout and socket timeout are set extremely low (1ms), and does not seem to occour with normal timeout values. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Jan 15 20:17:24 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15093 invoked from network); 15 Jan 2009 20:17:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Jan 2009 20:17:23 -0000 Received: (qmail 69467 invoked by uid 500); 15 Jan 2009 20:17:23 -0000 Delivered-To: [email protected] Received: (qmail 69436 invoked by uid 500); 15 Jan 2009 20:17:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 69425 invoked by uid 99); 15 Jan 2009 20:17:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jan 2009 12:17:23 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jan 2009 20:17:20 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B0A05234C48C for <[email protected]>; Thu, 15 Jan 2009 12:16:59 -0800 (PST) Message-ID: <653403444.1232050619721.JavaMail.jira@brutus> Date: Thu, 15 Jan 2009 12:16:59 -0800 (PST) From: "Lawrence M. Bates (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (HTTPCORE-181) Please add recording of time elapsed between http request sent and http response first byte(s) received to HttpConnectionMetrics. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Please add recording of time elapsed between http request sent and http response first byte(s) received to HttpConnectionMetrics. --------------------------------------------------------------------------------------------------------------------------------- Key: HTTPCORE-181 URL: https://issues.apache.org/jira/browse/HTTPCORE-181 Project: HttpComponents HttpCore Issue Type: Wish Components: HttpCore Affects Versions: 4.0-beta3 Environment: N/A Reporter: Lawrence M. Bates Priority: Minor We would like to add to the HttpConnectionMetrics classes the recording of the elapsed time between when the http request was sent and when the first byte(s) was/were received. In other words, we would like to know how long it is taking a business partner of ours to start streaming data back to us after we have sent them an http request for data. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Jan 15 23:39:28 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30309 invoked from network); 15 Jan 2009 23:39:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Jan 2009 23:39:28 -0000 Received: (qmail 46361 invoked by uid 500); 15 Jan 2009 23:39:28 -0000 Delivered-To: [email protected] Received: (qmail 46154 invoked by uid 500); 15 Jan 2009 23:39:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 46143 invoked by uid 99); 15 Jan 2009 23:39:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jan 2009 15:39:27 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO sushi.ironhide.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jan 2009 23:39:19 +0000 Received: from hq-exch-01.castiron.corp (unknown [161.129.204.104]) by sushi.ironhide.com (Postfix) with ESMTP id 36726AE2F6 for <[email protected]>; Fri, 16 Jan 2009 00:48:58 +0000 (UTC) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: FW: HttpClient authentication problem. Date: Thu, 15 Jan 2009 15:38:54 -0800 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FW: HttpClient authentication problem. Thread-Index: AclzKB9Vu4GSETf3QG6XfyJFce2j9AEQWZCA References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: "Pankaj Arora" <[email protected]> To: "HttpComponents Project" <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi Oleg, Thanks for your reply. I have started porting the Api to 4.x and it looks like many of classes = namely org.apache.http.Header, = org.apache.http.message.AbstractHttpMessage etc are not part of the Http = Components Client but are part of Http Core. So to move to 4.x I need to = have both Http Core libraries and Http Components Client libraries? Is that the case? Please verify. Thanks, Pankaj Arora -----Original Message----- From: Oleg Kalnichevski [mailto:[email protected]]=20 Sent: Saturday, January 10, 2009 5:33 AM To: HttpComponents Project Subject: Re: FW: HttpClient authentication problem. Pankaj Arora wrote: > Hi, > I am using HttpClient 3.x till now. It looks like 4.x is completely = overhauled and there are major API changes that happened. I thought = solution to this problem lied in having authentication info available to = connection managers so the stateful connection is not reused. I was = [email protected] Api docs = http://hc.apache.org/httpcomponents-client/httpclient/apidocs/index.html > And I don't see any MultiThreaded Connection Manager. http://hc.apache.org/httpcomponents-client/examples.html http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-cl= ient/src/examples/org/apache/http/examples/client/ClientMultiThreadedExec= ution.java > In fact looks like everything has moved to org.apache.http.* packages = from org.apache.commons.*.=20 > If that's the case,=20 Yes, this is the case, because 4.0 is a complete rewrite of the old code = line. can you tell me if there is some guide that can tell me how I can make=20 my existing product compatible with 4.x release? You need to port it to the new API. > Second how the existing bug we are talking about can be resolved in = new design. >=20 HTTP connection managers in 4.0 are now aware that connections can be=20 stateful. They can take the connection state into consideration when=20 serving a request for a persistent connection. Standard connection=20 managers automatically take user identity into consideration when=20 managing NTLM authenticated connections. Please make sure to read this, though http://hc.apache.org/httpcomponents-client/ntlm.html Oleg > I am sorry as I am bit confused as I wasn't following 4.x development = from scratch. >=20 > Thanks, > Pankaj Arora >=20 > -----Original Message----- > From: Pankaj Arora [mailto:[email protected]]=20 > Sent: Tuesday, January 06, 2009 3:21 PM > To: HttpComponents Project > Subject: RE: FW: HttpClient authentication problem. >=20 > Hi Odi and Roland, > Was curious to know if this feature finally made to 4.0. Moreover when = final 4.0 verison for commons is expected? >=20 > Thanks, > Pankaj Arora >=20 >=20 > Hi Odi, >=20 >> I would actually consider this a security issue in the connection >> managers: It may hand out an already authenticated connection to an=20 >> unsuspecting client. We should add fields to HttpConnection that keep = >> track of the credentials for connection oriented AuthSchemes. So=20 >> connection managers can take this into account. Also the connection=20 >> managers lack a parameter in the getConnection methods that carries=20 >> authentication information for connection based auth schemes. >=20 > It's on my list for 4.0, though it won't make it into client alpha1: > http://wiki.apache.org/jakarta-httpclient/ConnectionManagementDesign > It's not urgent since we won't have NTLM support for a while. >=20 > I don't think we can or should squeeze this into 3.x anymore. >=20 > cheers, > Roland >=20 > -----Original Message----- > From: Ortwin Gl=FCck [mailto:[email protected]]=20 > Sent: Friday, May 18, 2007 5:41 AM > To: HttpComponents Project > Subject: Re: FW: HttpClient authentication problem. >=20 > Pankaj, >=20 > NTLM is designed to authenticate a connection. AFAIK it does not = support=20 > a "logout" in the middle of a connection, nor does it support = preemptive=20 > authentication. So the only way to force a new authentication is to=20 > close the connection. (e.g. try and clear the authentication to a = mapped=20 > network drive in Windows. Probably the same issue there.) >=20 > Thus it's not possible to share a connection between users when using=20 > NTLM auth. Yes, this may cause a performance hit if you were planning = to=20 > share a connection between different users. >=20 > You could tweak your connection manager to remember the authenticated=20 > user for each connection and try to find an already authenticated one = or=20 > hand out a new one if you can't. >=20 > I would actually consider this a security issue in the connection=20 > managers: It may hand out an already authenticated connection to an=20 > unsuspecting client. We should add fields to HttpConnection that keep=20 > track of the credentials for connection oriented AuthSchemes. So=20 > connection managers can take this into account. Also the connection=20 > managers lack a parameter in the getConnection methods that carries=20 > authentication information for connection based auth schemes. >=20 > Ortwin >=20 >=20 > Pankaj Arora wrote: >> Thanks, That worked for me. Only thing that worries me is that >> connections don't persist now. It might be a performance issue. Only >> thing which I would like to know from you( as I am bit novice here)- >> what is the right behavior, my client not authenticating second time >> as connection is already authenticated or closing the connections to >> force authentication repeatedly. >> >> Thanks, Pankaj Arora. >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 16 17:08:29 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70223 invoked from network); 16 Jan 2009 17:08:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Jan 2009 17:08:29 -0000 Received: (qmail 34591 invoked by uid 500); 16 Jan 2009 17:08:29 -0000 Delivered-To: [email protected] Received: (qmail 34545 invoked by uid 500); 16 Jan 2009 17:08:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 34534 invoked by uid 99); 16 Jan 2009 17:08:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2009 09:08:28 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2009 17:08:26 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id 0F5D011150 for <[email protected]>; Fri, 16 Jan 2009 17:08:05 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Fri, 16 Jan 2009 17:08:04 -0000 Message-ID: <[email protected]> Subject: [Httpcomponents Wiki] Update of "QuickStart" by TusharKapila X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Httpcomponents Wiki" for change notification. The following page has been changed by TusharKapila: http://wiki.apache.org/HttpComponents/QuickStart The comment on the change is: New page: ## Please edit system and help pages ONLY in the moinmaster wiki! For more ## information, please see MoinMaster:MoinPagesEditorGroup. ##master-page:Unknown-Page ##master-date:Unknown-Date ##acl MoinPagesEditorGroup:read,write,delete,revert All:read #format wiki #language en == Quick Start == To quickly begin with the beta you need 4 jar files that can be downloaded from [http://www.apache.org/dist/httpcomponents/httpclient/binary/httpcomponents-client-4.0-beta2-bin-with-dependencies.zip] A good place to learn how to use the API quickly is to see the code in action. Can see good samples that have several everyday tasks automated. They are included in the jars at download page [http://hc.apache.org/downloads.cgi] . Good starter material is also at [http://wiki.apache.org/HttpComponents/GuidedTourOfHttpCore] Remember Http Components are not a complete browser. Importantly it lacks parsers, layout engine, UI, cache, renderer and a JavaScript engine. To learn the scope of these components see [http://hc.apache.org/httpcomponents-client/primer.html] {{{ Note: this guide is not complete and contributions are welcome. To contribute write to [email protected] (first subscribe by sending a short email to dev-subscribe a t hc dot apache.org }}} === Example === {{{ package org.apache.http.examples.client; import java.util.ArrayList; import java.util.List; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.NameValuePair; import org.apache.http.client.entity.UrlEncodedFormEntity; import org.apache.http.client.methods.HttpGet; import org.apache.http.client.methods.HttpPost; import org.apache.http.cookie.Cookie; import org.apache.http.impl.client.DefaultHttpClient; import org.apache.http.message.BasicNameValuePair; import org.apache.http.protocol.HTTP; /** * A example that demonstrates how HttpClient APIs can be used to perform * form-based logon. * based on 2008-2009 version 4 API http://hc.apache.org/ */ public class ClientFormLogin { public static void main(String[] args) throws Exception { DefaultHttpClient httpclient = new DefaultHttpClient(); HttpGet httpget = new HttpGet("https://portal.sun.com/portal/dt"); HttpResponse response = httpclient.execute(httpget); HttpEntity entity = response.getEntity(); System.out.println("Login form get: " + response.getStatusLine()); if (entity != null) { entity.consumeContent(); } System.out.println("Initial set of cookies:"); List<Cookie> cookies = httpclient.getCookieStore().getCookies(); if (cookies.isEmpty()) { System.out.println("None"); } else { for (int i = 0; i < cookies.size(); i++) { System.out.println("- " + cookies.get(i).toString()); } } HttpPost httpost = new HttpPost("https://portal.sun.com/amserver/UI/Login?" + "org=self_registered_users&" + "goto=/portal/dt&" + "gotoOnFail=/portal/dt?error=true"); List <NameValuePair> nvps = new ArrayList <NameValuePair>(); nvps.add(new BasicNameValuePair("IDToken1", "username")); nvps.add(new BasicNameValuePair("IDToken2", "password")); httpost.setEntity(new UrlEncodedFormEntity(nvps, HTTP.UTF_8)); response = httpclient.execute(httpost); entity = response.getEntity(); System.out.println("Login form get: " + response.getStatusLine()); if (entity != null) { entity.consumeContent(); } System.out.println("Post logon cookies:"); cookies = httpclient.getCookieStore().getCookies(); if (cookies.isEmpty()) { System.out.println("None"); } else { for (int i = 0; i < cookies.size(); i++) { System.out.println("- " + cookies.get(i).toString()); } } } } }}} === Where to go from here === [http://wiki.apache.org/HttpComponents/FrequentlyAskedApplicationDesignQuestions] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 16 17:15:00 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 72161 invoked from network); 16 Jan 2009 17:15:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Jan 2009 17:15:00 -0000 Received: (qmail 42529 invoked by uid 500); 16 Jan 2009 17:14:59 -0000 Delivered-To: [email protected] Received: (qmail 42489 invoked by uid 500); 16 Jan 2009 17:14:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 42472 invoked by uid 99); 16 Jan 2009 17:14:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2009 09:14:59 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2009 17:14:57 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id 4AF1511150 for <[email protected]>; Fri, 16 Jan 2009 17:14:36 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Fri, 16 Jan 2009 17:14:36 -0000 Message-ID: <[email protected]> Subject: [Httpcomponents Wiki] Update of "FrontPage" by TusharKapila X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Httpcomponents Wiki" for change notification. The following page has been changed by TusharKapila: http://wiki.apache.org/HttpComponents/FrontPage The comment on the change is: Added link to QuickStart page ------------------------------------------------------------------------------ For starters, we have a list of HttpClientPowered applications that use !HttpClient. Then there is documentation and several FAQs in this list: + 1. [QuickStart QuickStart]] 1. [wiki:Self:HttpCoreTutorial HttpCore Tutorial] - Tutorial for !HttpComponents Core 1. [wiki:Self:GuidedTourOfHttpCore Guided Tour of HttpCore] - Overview documentation for !HttpComponents Core 1. [wiki:Self:FrequentlyAskedApplicationDesignQuestions Application Design FAQ] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 16 17:16:36 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 72390 invoked from network); 16 Jan 2009 17:16:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Jan 2009 17:16:35 -0000 Received: (qmail 43333 invoked by uid 500); 16 Jan 2009 17:16:35 -0000 Delivered-To: [email protected] Received: (qmail 43298 invoked by uid 500); 16 Jan 2009 17:16:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 43287 invoked by uid 99); 16 Jan 2009 17:16:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2009 09:16:35 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2009 17:16:34 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id 7937D11150 for <[email protected]>; Fri, 16 Jan 2009 17:16:14 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Fri, 16 Jan 2009 17:16:14 -0000 Message-ID: <[email protected]> Subject: [Httpcomponents Wiki] Trivial Update of "FrontPage" by TusharKapila X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Httpcomponents Wiki" for change notification. The following page has been changed by TusharKapila: http://wiki.apache.org/HttpComponents/FrontPage ------------------------------------------------------------------------------ For starters, we have a list of HttpClientPowered applications that use !HttpClient. Then there is documentation and several FAQs in this list: - 1. [QuickStart QuickStart]] + 1. [wiki:Self:QuickStart QuickStart] 1. [wiki:Self:HttpCoreTutorial HttpCore Tutorial] - Tutorial for !HttpComponents Core 1. [wiki:Self:GuidedTourOfHttpCore Guided Tour of HttpCore] - Overview documentation for !HttpComponents Core 1. [wiki:Self:FrequentlyAskedApplicationDesignQuestions Application Design FAQ] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 16 17:18:14 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73939 invoked from network); 16 Jan 2009 17:18:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Jan 2009 17:18:12 -0000 Received: (qmail 44121 invoked by uid 500); 16 Jan 2009 17:18:11 -0000 Delivered-To: [email protected] Received: (qmail 44105 invoked by uid 500); 16 Jan 2009 17:18:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 44094 invoked by uid 99); 16 Jan 2009 17:18:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2009 09:18:11 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO yx-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2009 17:18:03 +0000 Received: by yx-out-1718.google.com with SMTP id 6so672532yxn.88 for <[email protected]>; Fri, 16 Jan 2009 09:17:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:references :subject:date:mime-version:content-type:content-transfer-encoding :x-priority:x-msmail-priority:x-mailer:x-mimeole; bh=HY42xXttw7P5b/ne/s6Ysw1X+7AoY49gA0zfYtiaJlQ=; b=XibfRbhjVqLteAoE7XMw1H+rmtD4futIV/wsn5Jt81TAIvm6w5b3kXOLl1YQhqKgxm j47Efs5yZ33LWY9wi8538ABEg5rN0WeRvVw9T321NHTNj9cdYHsqJ9q7yLYnoPdxM9kq xeXtd0+i2Oxcna7SNYnnEqZdlo/CUyWpeWwZw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:references:subject:date:mime-version :content-type:content-transfer-encoding:x-priority:x-msmail-priority :x-mailer:x-mimeole; b=gW1O+O6BgKjFbjS/Iv0R/4YSgWaltTxnUmSjW3PnVgwpwEFiZC0tvEWRBsxVOQju4k nZmajFG6N1oirSiFTa+N495s8uE5ylNQWFcXzHIdVmV5PHJS/KYZ9pROIXJ4b0tQBweM pEglZ3Ex+oAKGkZiQrlCtTPgvII2k+PhT0+Vg= Received: by 161.129.204.104 with SMTP id z5mr1114554wfe.240.1232126262483; Fri, 16 Jan 2009 09:17:42 -0800 (PST) Received: from tgk3 ([161.129.204.104]) by mx.google.com with ESMTPS id 20sm2349636wfi.27.2161.129.204.104.17.38 (version=SSLv3 cipher=RC4-MD5); Fri, 16 Jan 2009 09:17:41 -0800 (PST) Message-ID: <C1842C3508F74ECFB6A26F8976C11F64@tgk3> From: "Tushar Kapila" <[email protected]> To: "HttpComponents Project" <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Subject: Re: FW: HttpClient authentication problem. Date: Fri, 16 Jan 2009 22:47:35 +0530 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Virus-Checked: Checked by ClamAV on apache.org Pankaj https://issues.apache.org/jira/browse/HTTPCORE-179 if you download the samples you can see a reference implementation and their are 4 jars to be included in classpath from http://www.apache.org/dist/httpcomponents/httpclient/binary/httpcomponents-client-4.0-beta2-bin-with-dependencies.zip Oleg I made a sample quick start guide - will need to edit it for reqiored jars until the API, release file name patterns and locations stabalizes. See it at http://wiki.apache.org/HttpComponents/QuickStart Regards Tushar Kapila ----- Original Message ----- From: "Pankaj Arora" <[email protected]> To: "HttpComponents Project" <[email protected]> Sent: Friday, January 16, 2009 5:08 AM Subject: RE: FW: HttpClient authentication problem. Hi Oleg, Thanks for your reply. I have started porting the Api to 4.x and it looks like many of classes namely org.apache.http.Header, org.apache.http.message.AbstractHttpMessage etc are not part of the Http Components Client but are part of Http Core. So to move to 4.x I need to have both Http Core libraries and Http Components Client libraries? Is that the case? Please verify. Thanks, Pankaj Arora -----Original Message----- From: Oleg Kalnichevski [mailto:[email protected]] Sent: Saturday, January 10, 2009 5:33 AM To: HttpComponents Project Subject: Re: FW: HttpClient authentication problem. Pankaj Arora wrote: > Hi, > I am using HttpClient 3.x till now. It looks like 4.x is completely > overhauled and there are major API changes that happened. I thought > solution to this problem lied in having authentication info available to > connection managers so the stateful connection is not reused. I was > [email protected] Api docs > http://hc.apache.org/httpcomponents-client/httpclient/apidocs/index.html > And I don't see any MultiThreaded Connection Manager. http://hc.apache.org/httpcomponents-client/examples.html http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientMultiThreadedExecution.java > In fact looks like everything has moved to org.apache.http.* packages from > org.apache.commons.*. > If that's the case, Yes, this is the case, because 4.0 is a complete rewrite of the old code line. can you tell me if there is some guide that can tell me how I can make my existing product compatible with 4.x release? You need to port it to the new API. > Second how the existing bug we are talking about can be resolved in new > design. > HTTP connection managers in 4.0 are now aware that connections can be stateful. They can take the connection state into consideration when serving a request for a persistent connection. Standard connection managers automatically take user identity into consideration when managing NTLM authenticated connections. Please make sure to read this, though http://hc.apache.org/httpcomponents-client/ntlm.html Oleg > I am sorry as I am bit confused as I wasn't following 4.x development from > scratch. > > Thanks, > Pankaj Arora > > -----Original Message----- > From: Pankaj Arora [mailto:[email protected]] > Sent: Tuesday, January 06, 2009 3:21 PM > To: HttpComponents Project > Subject: RE: FW: HttpClient authentication problem. > > Hi Odi and Roland, > Was curious to know if this feature finally made to 4.0. Moreover when > final 4.0 verison for commons is expected? > > Thanks, > Pankaj Arora > > > Hi Odi, > >> I would actually consider this a security issue in the connection >> managers: It may hand out an already authenticated connection to an >> unsuspecting client. We should add fields to HttpConnection that keep >> track of the credentials for connection oriented AuthSchemes. So >> connection managers can take this into account. Also the connection >> managers lack a parameter in the getConnection methods that carries >> authentication information for connection based auth schemes. > > It's on my list for 4.0, though it won't make it into client alpha1: > http://wiki.apache.org/jakarta-httpclient/ConnectionManagementDesign > It's not urgent since we won't have NTLM support for a while. > > I don't think we can or should squeeze this into 3.x anymore. > > cheers, > Roland > > -----Original Message----- > From: Ortwin Glück [mailto:[email protected]] > Sent: Friday, May 18, 2007 5:41 AM > To: HttpComponents Project > Subject: Re: FW: HttpClient authentication problem. > > Pankaj, > > NTLM is designed to authenticate a connection. AFAIK it does not support > a "logout" in the middle of a connection, nor does it support preemptive > authentication. So the only way to force a new authentication is to > close the connection. (e.g. try and clear the authentication to a mapped > network drive in Windows. Probably the same issue there.) > > Thus it's not possible to share a connection between users when using > NTLM auth. Yes, this may cause a performance hit if you were planning to > share a connection between different users. > > You could tweak your connection manager to remember the authenticated > user for each connection and try to find an already authenticated one or > hand out a new one if you can't. > > I would actually consider this a security issue in the connection > managers: It may hand out an already authenticated connection to an > unsuspecting client. We should add fields to HttpConnection that keep > track of the credentials for connection oriented AuthSchemes. So > connection managers can take this into account. Also the connection > managers lack a parameter in the getConnection methods that carries > authentication information for connection based auth schemes. > > Ortwin > > > Pankaj Arora wrote: >> Thanks, That worked for me. Only thing that worries me is that >> connections don't persist now. It might be a performance issue. Only >> thing which I would like to know from you( as I am bit novice here)- >> what is the right behavior, my client not authenticating second time >> as connection is already authenticated or closing the connections to >> force authentication repeatedly. >> >> Thanks, Pankaj Arora. > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 16 17:25:50 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76050 invoked from network); 16 Jan 2009 17:25:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Jan 2009 17:25:50 -0000 Received: (qmail 49138 invoked by uid 500); 16 Jan 2009 17:25:50 -0000 Delivered-To: [email protected] Received: (qmail 48983 invoked by uid 500); 16 Jan 2009 17:25:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 48972 invoked by uid 99); 16 Jan 2009 17:25:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2009 09:25:49 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2009 17:25:47 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id AEB8011150 for <[email protected]>; Fri, 16 Jan 2009 17:25:26 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Fri, 16 Jan 2009 17:25:26 -0000 Message-ID: <[email protected]> Subject: [Httpcomponents Wiki] Trivial Update of "QuickStart" by TusharKapila X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Httpcomponents Wiki" for change notification. The following page has been changed by TusharKapila: http://wiki.apache.org/HttpComponents/QuickStart The comment on the change is: four files to 6 ------------------------------------------------------------------------------ #language en == Quick Start == - To quickly begin with the beta you need 4 jar files that can be downloaded from [http://www.apache.org/dist/httpcomponents/httpclient/binary/httpcomponents-client-4.0-beta2-bin-with-dependencies.zip] + To quickly begin with the beta you need six jar files that can be downloaded from [http://www.apache.org/dist/httpcomponents/httpclient/binary/httpcomponents-client-4.0-beta2-bin-with-dependencies.zip] A good place to learn how to use the API quickly is to see the code in action. Can see good samples that have several everyday tasks automated. They are included in the jars at download page [http://hc.apache.org/downloads.cgi] . Good starter material is also at [http://wiki.apache.org/HttpComponents/GuidedTourOfHttpCore] Remember Http Components are not a complete browser. Importantly it lacks parsers, layout engine, UI, cache, renderer and a JavaScript engine. To learn the scope of these components see [http://hc.apache.org/httpcomponents-client/primer.html] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 16 17:29:29 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78922 invoked from network); 16 Jan 2009 17:29:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Jan 2009 17:29:29 -0000 Received: (qmail 55824 invoked by uid 500); 16 Jan 2009 17:29:29 -0000 Delivered-To: [email protected] Received: (qmail 55792 invoked by uid 500); 16 Jan 2009 17:29:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 55781 invoked by uid 99); 16 Jan 2009 17:29:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2009 09:29:28 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2009 17:29:20 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 9C7CA234C48B for <[email protected]>; Fri, 16 Jan 2009 09:28:59 -0800 (PST) Message-ID: <1032437730.1232126939639.JavaMail.jira@brutus> Date: Fri, 16 Jan 2009 09:28:59 -0800 (PST) From: "Tushar (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HTTPCLIENT-815) Quick Start guide for HttpClient 4.0 In-Reply-To: <1420438737.1231855030531.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tushar updated HTTPCLIENT-815: ------------------------------ I added a page at http://wiki.apache.org/HttpComponents/ called quick start though I think this para could be in the downloads page or a link to a seperate page on the home page would be better attached is short html for this - can add to it later but this would be invaluable at this time see page at http://sel2in.com/pages/prog/java/apache/hc/QuickStart.html > Quick Start guide for HttpClient 4.0 > ------------------------------------ > > Key: HTTPCLIENT-815 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-815 > Project: HttpComponents HttpClient > Issue Type: Improvement > Components: Examples > Environment: any/ windows. linux dos > Reporter: Tushar > Fix For: 4.0 Final > > Original Estimate: 2h > Remaining Estimate: 2h > > cannot determine the required jar files to compile samples/ own files > example org.apache.http.examples.client.ClientFormLogin > used > set CLASSPATH=P:\j\samples\httpClient\examples;j:\j\j5\h;P:\j\e\mysql.jar;P:\j\e\commons-logging-api-1.1.1.jar;P:\j\e\commons-logging-1.1.1.jar;P:\j\e\4\httpmime-4.0-beta2.jar;P:\j\e\4\httpclient-4.0-beta2.jar;P:\j\e\4\h\e\4\httpcore-4.0-beta3.jar;P:\j\e\4\httpcore-nio-4.0-beta3.jar > but still needs org.apache.http.*; ... where are these jars? a quick start guide / link to all jars for one version would help > - only known workaround - go back to old version 3.1 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 16 17:31:21 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79982 invoked from network); 16 Jan 2009 17:31:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Jan 2009 17:31:21 -0000 Received: (qmail 59763 invoked by uid 500); 16 Jan 2009 17:31:20 -0000 Delivered-To: [email protected] Received: (qmail 59727 invoked by uid 500); 16 Jan 2009 17:31:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 59716 invoked by uid 99); 16 Jan 2009 17:31:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2009 09:31:20 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2009 17:31:19 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B84FC234C48B for <[email protected]>; Fri, 16 Jan 2009 09:30:59 -0800 (PST) Message-ID: <1730582950.1232127059753.JavaMail.jira@brutus> Date: Fri, 16 Jan 2009 09:30:59 -0800 (PST) From: "Tushar (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HTTPCLIENT-815) Quick Start guide for HttpClient 4.0 In-Reply-To: <1420438737.1231855030531.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tushar updated HTTPCLIENT-815: ------------------------------ Attachment: QuickStart.html Quick Start for http://hc.apache.org/ add under nav Documentation > Quick Start guide for HttpClient 4.0 > ------------------------------------ > > Key: HTTPCLIENT-815 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-815 > Project: HttpComponents HttpClient > Issue Type: Improvement > Components: Examples > Environment: any/ windows. linux dos > Reporter: Tushar > Fix For: 4.0 Final > > Attachments: QuickStart.html > > Original Estimate: 2h > Remaining Estimate: 2h > > cannot determine the required jar files to compile samples/ own files > example org.apache.http.examples.client.ClientFormLogin > used > set CLASSPATH=P:\j\samples\httpClient\examples;j:\j\j5\h;P:\j\e\mysql.jar;P:\j\e\commons-logging-api-1.1.1.jar;P:\j\e\commons-logging-1.1.1.jar;P:\j\e\4\httpmime-4.0-beta2.jar;P:\j\e\4\httpclient-4.0-beta2.jar;P:\j\e\4\h\e\4\httpcore-4.0-beta3.jar;P:\j\e\4\httpcore-nio-4.0-beta3.jar > but still needs org.apache.http.*; ... where are these jars? a quick start guide / link to all jars for one version would help > - only known workaround - go back to old version 3.1 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 16 18:35:51 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29317 invoked from network); 16 Jan 2009 18:35:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Jan 2009 18:35:51 -0000 Received: (qmail 56157 invoked by uid 500); 16 Jan 2009 18:35:50 -0000 Delivered-To: [email protected] Received: (qmail 56135 invoked by uid 500); 16 Jan 2009 18:35:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 56117 invoked by uid 99); 16 Jan 2009 18:35:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2009 10:35:50 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO sushi.ironhide.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2009 18:35:42 +0000 Received: from hq-exch-01.castiron.corp (unknown [161.129.204.104]) by sushi.ironhide.com (Postfix) with ESMTP id CD050AE2F6 for <[email protected]>; Fri, 16 Jan 2009 19:45:21 +0000 (UTC) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: FW: HttpClient authentication problem. Date: Fri, 16 Jan 2009 10:35:19 -0800 Message-ID: <[email protected]> In-Reply-To: <C1842C3508F74ECFB6A26F8976C11F64@tgk3> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FW: HttpClient authentication problem. Thread-Index: Acl3/nuyhN7G17RnTuyqMug604rmmAACmhIg References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <C1842C3508F74ECFB6A26F8976C11F64@tgk3> From: "Pankaj Arora" <[email protected]> To: "HttpComponents Project" <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi Tushar,Oleg, Can you please provide an OSGI bundle for = httpcomponents-client-4.0-beta2-bin-with-dependencies.zip as you have = for core and client separately? Thanks, Pankaj Arora -----Original Message----- From: Tushar Kapila [mailto:[email protected]]=20 Sent: Friday, January 16, 2009 9:18 AM To: HttpComponents Project Subject: Re: FW: HttpClient authentication problem. Pankaj https://issues.apache.org/jira/browse/HTTPCORE-179 if you download the samples you can see a reference implementation and = their=20 are 4 jars to be included in classpath from=20 http://www.apache.org/dist/httpcomponents/httpclient/binary/httpcomponent= s-client-4.0-beta2-bin-with-dependencies.zip Oleg I made a sample quick start guide - will need to edit it for reqiored = jars=20 until the API, release file name patterns and locations stabalizes. See it at http://wiki.apache.org/HttpComponents/QuickStart Regards Tushar Kapila ----- Original Message -----=20 From: "Pankaj Arora" <[email protected]> To: "HttpComponents Project" <[email protected]> Sent: Friday, January 16, 2009 5:08 AM Subject: RE: FW: HttpClient authentication problem. Hi Oleg, Thanks for your reply. I have started porting the Api to 4.x and it looks like many of classes=20 namely org.apache.http.Header, = org.apache.http.message.AbstractHttpMessage=20 etc are not part of the Http Components Client but are part of Http = Core. So=20 to move to 4.x I need to have both Http Core libraries and Http = Components=20 Client libraries? Is that the case? Please verify. Thanks, Pankaj Arora -----Original Message----- From: Oleg Kalnichevski [mailto:[email protected]] Sent: Saturday, January 10, 2009 5:33 AM To: HttpComponents Project Subject: Re: FW: HttpClient authentication problem. Pankaj Arora wrote: > Hi, > I am using HttpClient 3.x till now. It looks like 4.x is completely=20 > overhauled and there are major API changes that happened. I thought=20 > solution to this problem lied in having authentication info available = to=20 > connection managers so the stateful connection is not reused. I was=20 > [email protected] Api docs=20 > = http://hc.apache.org/httpcomponents-client/httpclient/apidocs/index.html > And I don't see any MultiThreaded Connection Manager. http://hc.apache.org/httpcomponents-client/examples.html http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-cl= ient/src/examples/org/apache/http/examples/client/ClientMultiThreadedExec= ution.java > In fact looks like everything has moved to org.apache.http.* packages = from=20 > org.apache.commons.*. > If that's the case, Yes, this is the case, because 4.0 is a complete rewrite of the old code line. can you tell me if there is some guide that can tell me how I can make my existing product compatible with 4.x release? You need to port it to the new API. > Second how the existing bug we are talking about can be resolved in = new=20 > design. > HTTP connection managers in 4.0 are now aware that connections can be stateful. They can take the connection state into consideration when serving a request for a persistent connection. Standard connection managers automatically take user identity into consideration when managing NTLM authenticated connections. Please make sure to read this, though http://hc.apache.org/httpcomponents-client/ntlm.html Oleg > I am sorry as I am bit confused as I wasn't following 4.x development = from=20 > scratch. > > Thanks, > Pankaj Arora > > -----Original Message----- > From: Pankaj Arora [mailto:[email protected]] > Sent: Tuesday, January 06, 2009 3:21 PM > To: HttpComponents Project > Subject: RE: FW: HttpClient authentication problem. > > Hi Odi and Roland, > Was curious to know if this feature finally made to 4.0. Moreover when = > final 4.0 verison for commons is expected? > > Thanks, > Pankaj Arora > > > Hi Odi, > >> I would actually consider this a security issue in the connection >> managers: It may hand out an already authenticated connection to an >> unsuspecting client. We should add fields to HttpConnection that keep >> track of the credentials for connection oriented AuthSchemes. So >> connection managers can take this into account. Also the connection >> managers lack a parameter in the getConnection methods that carries >> authentication information for connection based auth schemes. > > It's on my list for 4.0, though it won't make it into client alpha1: > http://wiki.apache.org/jakarta-httpclient/ConnectionManagementDesign > It's not urgent since we won't have NTLM support for a while. > > I don't think we can or should squeeze this into 3.x anymore. > > cheers, > Roland > > -----Original Message----- > From: Ortwin Gl=FCck [mailto:[email protected]] > Sent: Friday, May 18, 2007 5:41 AM > To: HttpComponents Project > Subject: Re: FW: HttpClient authentication problem. > > Pankaj, > > NTLM is designed to authenticate a connection. AFAIK it does not = support > a "logout" in the middle of a connection, nor does it support = preemptive > authentication. So the only way to force a new authentication is to > close the connection. (e.g. try and clear the authentication to a = mapped > network drive in Windows. Probably the same issue there.) > > Thus it's not possible to share a connection between users when using > NTLM auth. Yes, this may cause a performance hit if you were planning = to > share a connection between different users. > > You could tweak your connection manager to remember the authenticated > user for each connection and try to find an already authenticated one = or > hand out a new one if you can't. > > I would actually consider this a security issue in the connection > managers: It may hand out an already authenticated connection to an > unsuspecting client. We should add fields to HttpConnection that keep > track of the credentials for connection oriented AuthSchemes. So > connection managers can take this into account. Also the connection > managers lack a parameter in the getConnection methods that carries > authentication information for connection based auth schemes. > > Ortwin > > > Pankaj Arora wrote: >> Thanks, That worked for me. Only thing that worries me is that >> connections don't persist now. It might be a performance issue. Only >> thing which I would like to know from you( as I am bit novice here)- >> what is the right behavior, my client not authenticating second time >> as connection is already authenticated or closing the connections to >> force authentication repeatedly. >> >> Thanks, Pankaj Arora. > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Jan 18 13:49:24 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44093 invoked from network); 18 Jan 2009 13:49:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Jan 2009 13:49:23 -0000 Received: (qmail 32345 invoked by uid 500); 18 Jan 2009 13:49:23 -0000 Delivered-To: [email protected] Received: (qmail 32322 invoked by uid 500); 18 Jan 2009 13:49:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 32311 invoked by uid 99); 18 Jan 2009 13:49:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Jan 2009 05:49:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Jan 2009 13:49:20 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 984CB234C48B for <[email protected]>; Sun, 18 Jan 2009 05:48:59 -0800 (PST) Message-ID: <1999496525.1232286539622.JavaMail.jira@brutus> Date: Sun, 18 Jan 2009 05:48:59 -0800 (PST) From: "Oleg Kalnichevski (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HTTPCORE-181) Please add recording of time elapsed between http request sent and http response first byte(s) received to HttpConnectionMetrics. In-Reply-To: <653403444.1232050619721.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCORE-181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski updated HTTPCORE-181: --------------------------------------- Fix Version/s: 4.1 Lawrence, I am not sure the connection level is the right place to collect such data. Besides, exactly what kind of data HttpConnectionMetrics to record: the elapsed time of the LAST request / response pair, average time, the elapsed time of ALL request / response pairs? Feel free to submit a patch with the changes you would like incorporated into the library. However, I tend to think the protocol level (protocol interceptors) should be a better place for collecting such data. Oleg > Please add recording of time elapsed between http request sent and http response first byte(s) received to HttpConnectionMetrics. > --------------------------------------------------------------------------------------------------------------------------------- > > Key: HTTPCORE-181 > URL: https://issues.apache.org/jira/browse/HTTPCORE-181 > Project: HttpComponents HttpCore > Issue Type: Wish > Components: HttpCore > Affects Versions: 4.0-beta3 > Environment: N/A > Reporter: Lawrence M. Bates > Priority: Minor > Fix For: 4.1 > > Original Estimate: 4h > Remaining Estimate: 4h > > We would like to add to the HttpConnectionMetrics classes the recording of the elapsed time between when the http request was sent and when the first byte(s) was/were received. In other words, we would like to know how long it is taking a business partner of ours to start streaming data back to us after we have sent them an http request for data. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Jan 18 13:55:23 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46403 invoked from network); 18 Jan 2009 13:55:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Jan 2009 13:55:23 -0000 Received: (qmail 36912 invoked by uid 500); 18 Jan 2009 13:55:23 -0000 Delivered-To: [email protected] Received: (qmail 36878 invoked by uid 500); 18 Jan 2009 13:55:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 36867 invoked by uid 99); 18 Jan 2009 13:55:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Jan 2009 05:55:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Jan 2009 13:55:22 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id EC1C0234C48B for <[email protected]>; Sun, 18 Jan 2009 05:55:01 -0800 (PST) Message-ID: <554237575.1232286901965.JavaMail.jira@brutus> Date: Sun, 18 Jan 2009 05:55:01 -0800 (PST) From: "Oleg Kalnichevski (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (HTTPCLIENT-815) Quick Start guide for HttpClient 4.0 In-Reply-To: <1420438737.1231855030531.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664964#action_12664964 ] Oleg Kalnichevski commented on HTTPCLIENT-815: ---------------------------------------------- Tushar, Many thanks for this contribution! I'll move the content from Wiki to the main project site by the time HttpClient 4.0 goes final. Oleg > Quick Start guide for HttpClient 4.0 > ------------------------------------ > > Key: HTTPCLIENT-815 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-815 > Project: HttpComponents HttpClient > Issue Type: Improvement > Components: Examples > Environment: any/ windows. linux dos > Reporter: Tushar > Fix For: 4.0 Final > > Attachments: QuickStart.html > > Original Estimate: 2h > Remaining Estimate: 2h > > cannot determine the required jar files to compile samples/ own files > example org.apache.http.examples.client.ClientFormLogin > used > set CLASSPATH=P:\j\samples\httpClient\examples;j:\j\j5\h;P:\j\e\mysql.jar;P:\j\e\commons-logging-api-1.1.1.jar;P:\j\e\commons-logging-1.1.1.jar;P:\j\e\4\httpmime-4.0-beta2.jar;P:\j\e\4\httpclient-4.0-beta2.jar;P:\j\e\4\h\e\4\httpcore-4.0-beta3.jar;P:\j\e\4\httpcore-nio-4.0-beta3.jar > but still needs org.apache.http.*; ... where are these jars? a quick start guide / link to all jars for one version would help > - only known workaround - go back to old version 3.1 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jan 19 21:05:25 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84123 invoked from network); 19 Jan 2009 21:05:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jan 2009 21:05:23 -0000 Received: (qmail 70243 invoked by uid 500); 19 Jan 2009 21:05:23 -0000 Delivered-To: [email protected] Received: (qmail 70222 invoked by uid 500); 19 Jan 2009 21:05:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 70211 invoked by uid 99); 19 Jan 2009 21:05:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Jan 2009 13:05:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Jan 2009 21:05:20 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id AAF7C234C48C for <[email protected]>; Mon, 19 Jan 2009 13:04:59 -0800 (PST) Message-ID: <907760826.1232399099699.JavaMail.jira@brutus> Date: Mon, 19 Jan 2009 13:04:59 -0800 (PST) From: "Oleg Kalnichevski (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (HTTPCORE-180) "I/O dispatch worker terminated abnormally" casued by NPE with extremely low timeout settings In-Reply-To: <1276938706.1231979579616.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCORE-180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski resolved HTTPCORE-180. ---------------------------------------- Resolution: Fixed I committed a fix for NPE in standard I/O even dispatchers. I am still not entirely sure how it is possible that IOEventDispatch#disconnected fires before IOEventDispatch#connected was called, though. Oleg > "I/O dispatch worker terminated abnormally" casued by NPE with extremely low timeout settings > --------------------------------------------------------------------------------------------- > > Key: HTTPCORE-180 > URL: https://issues.apache.org/jira/browse/HTTPCORE-180 > Project: HttpComponents HttpCore > Issue Type: Bug > Components: HttpCore NIO > Affects Versions: 4.0-beta2, 4.0-beta3 > Environment: java version "1.6.0_10" > Java(TM) SE Runtime Environment (build 1.6.0_10-b33) > Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode) > Reporter: Chas W > Priority: Minor > Fix For: 4.0-beta4 > > > I'm running a high throughput nio http client (essentially a small webcrawler) through the apache HttpCore NIO extensions -- my code is based largely off the sample client at http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-nio/src/examples/org/apache/http/examples/nio/NHttpClient.java. > I've manually set both the 'connection timeout' and 'socket timeout' limits to 1ms, in order to force timeouts to test a portion of my code. > After doing so, I repeatedly get the following error: "I/O dispatch worker terminated abnormally"; it's an IOException thrown from the 'ioReactor.execute' part of the sample code mentioned above. I get it when requesting high volumes of URLs -- it sometimes occours very quickly, or other times won't happen for up to 10 minutes or so. > Here's the printStackTrack output for the 'getCause()' method on the IOexception: > java.lang.NullPointerException > at org.apache.http.nio.protocol.AsyncNHttpClientHandler.closed(AsyncNHttpClientHandler.java:115) > at org.apache.http.nio.protocol.BufferingHttpClientHandler.closed(BufferingHttpClientHandler.java:98) > at org.apache.http.impl.nio.DefaultClientIOEventDispatch.disconnected(DefaultClientIOEventDispatch.java:93) > at org.apache.http.impl.nio.reactor.BaseIOReactor.sessionClosed(BaseIOReactor.java:222) > at org.apache.http.impl.nio.reactor.AbstractIOReactor.processClosedSessions(AbstractIOReactor.java:277) > at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:150) > at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:70) > at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:362) > at java.lang.Thread.run(Thread.java:619) > Even though the error seems to stem from the httpcore library, I've commented out all of my code to see if it fixes the problem -- it doesn't. I tried upgrading from the 4.0-beta2 to the 4.0-beta3 release -- this also does not solve the problem. > Again, this problem only occours when connection timeout and socket timeout are set extremely low (1ms), and does not seem to occour with normal timeout values. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jan 20 01:01:23 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94305 invoked from network); 20 Jan 2009 01:01:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Jan 2009 01:01:23 -0000 Received: (qmail 94900 invoked by uid 500); 20 Jan 2009 01:01:22 -0000 Delivered-To: [email protected] Received: (qmail 94867 invoked by uid 500); 20 Jan 2009 01:01:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 94856 invoked by uid 99); 20 Jan 2009 01:01:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Jan 2009 17:01:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jan 2009 01:01:20 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A2C10234C48D for <[email protected]>; Mon, 19 Jan 2009 17:00:59 -0800 (PST) Message-ID: <1160503195.1232413259665.JavaMail.jira@brutus> Date: Mon, 19 Jan 2009 17:00:59 -0800 (PST) From: "James Abley (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (HTTPCLIENT-816) HttClient should support Accept-Encoding: gzip out of the box MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org HttClient should support Accept-Encoding: gzip out of the box ------------------------------------------------------------- Key: HTTPCLIENT-816 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-816 Project: HttpComponents HttpClient Issue Type: New Feature Components: HttpClient Affects Versions: 3.1.1 Environment: Any Reporter: James Abley Priority: Minor Fix For: 3.1.1 I think HttpClient really ought to support Accept-Encoding: gzip without requiring any effort from the client developer. Allowing Content-Encoding: gzip responses can be a great bandwidth saver. But it also needs to cater for developers that have coded their own solution to this issue. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jan 20 01:03:21 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94795 invoked from network); 20 Jan 2009 01:03:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Jan 2009 01:03:20 -0000 Received: (qmail 96240 invoked by uid 500); 20 Jan 2009 01:03:20 -0000 Delivered-To: [email protected] Received: (qmail 96202 invoked by uid 500); 20 Jan 2009 01:03:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 96191 invoked by uid 99); 20 Jan 2009 01:03:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Jan 2009 17:03:20 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jan 2009 01:03:19 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 8F76C234C48D for <[email protected]>; Mon, 19 Jan 2009 17:02:59 -0800 (PST) Message-ID: <1988385700.1232413379586.JavaMail.jira@brutus> Date: Mon, 19 Jan 2009 17:02:59 -0800 (PST) From: "James Abley (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HTTPCLIENT-816) HttClient should support Accept-Encoding: gzip out of the box In-Reply-To: <1160503195.1232413259665.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Abley updated HTTPCLIENT-816: ----------------------------------- Attachment: accept-encoding.patch Sample patch containing tests and showing how the change could work. $ svn info Path: . URL: http://svn.apache.org/repos/asf/httpcomponents/oac.hc3x/trunk Repository Root: http://svn.apache.org/repos/asf Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68 Revision: 735818 Node Kind: directory Schedule: normal Last Changed Author: olegk Last Changed Rev: 705886 Last Changed Date: 2008-10-18 15:29:36 +0100 (Sat, 18 Oct 2008) > HttClient should support Accept-Encoding: gzip out of the box > ------------------------------------------------------------- > > Key: HTTPCLIENT-816 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-816 > Project: HttpComponents HttpClient > Issue Type: New Feature > Components: HttpClient > Affects Versions: 3.1.1 > Environment: Any > Reporter: James Abley > Priority: Minor > Fix For: 3.1.1 > > Attachments: accept-encoding.patch > > Original Estimate: 1h > Remaining Estimate: 1h > > I think HttpClient really ought to support Accept-Encoding: gzip without requiring any effort from the client developer. Allowing Content-Encoding: gzip responses can be a great bandwidth saver. > But it also needs to cater for developers that have coded their own solution to this issue. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jan 20 23:17:00 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51884 invoked from network); 20 Jan 2009 23:17:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Jan 2009 23:17:00 -0000 Received: (qmail 53116 invoked by uid 500); 20 Jan 2009 23:17:00 -0000 Delivered-To: [email protected] Received: (qmail 53083 invoked by uid 500); 20 Jan 2009 23:16:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 53072 invoked by uid 99); 20 Jan 2009 23:16:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jan 2009 15:16:59 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO sushi.ironhide.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jan 2009 23:16:51 +0000 Received: from hq-exch-01.castiron.corp (unknown [161.129.204.104]) by sushi.ironhide.com (Postfix) with ESMTP id D5156AE2E3 for <[email protected]>; Wed, 21 Jan 2009 00:29:00 +0000 (UTC) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: FW: HttpClient authentication problem. Date: Tue, 20 Jan 2009 15:16:28 -0800 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FW: HttpClient authentication problem. Thread-Index: Acl3/nuyhN7G17RnTuyqMug604rmmAACmhIgANLzi4A= References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <C1842C3508F74ECFB6A26F8976C11F64@tgk3> <[email protected]> From: "Pankaj Arora" <[email protected]> To: "HttpComponents Project" <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi, We in our product support Kerberos auth scheme and while using 3.x = version of HttpClient we did that by registering Kerberos scheme with = the AuthPolicy class. In 4.x Api I see no way to register the schemes we might want to = implement and support. It looks like other than Basic,Digest and NTLM we = cannot support any other auth scheme. Is that right? Thanks, Pankaj Arora -----Original Message----- From: Pankaj Arora [mailto:[email protected]]=20 Sent: Friday, January 16, 2009 10:35 AM To: HttpComponents Project Subject: RE: FW: HttpClient authentication problem. Hi Tushar,Oleg, Can you please provide an OSGI bundle for = httpcomponents-client-4.0-beta2-bin-with-dependencies.zip as you have = for core and client separately? Thanks, Pankaj Arora -----Original Message----- From: Tushar Kapila [mailto:[email protected]]=20 Sent: Friday, January 16, 2009 9:18 AM To: HttpComponents Project Subject: Re: FW: HttpClient authentication problem. Pankaj https://issues.apache.org/jira/browse/HTTPCORE-179 if you download the samples you can see a reference implementation and = their=20 are 4 jars to be included in classpath from=20 http://www.apache.org/dist/httpcomponents/httpclient/binary/httpcomponent= s-client-4.0-beta2-bin-with-dependencies.zip Oleg I made a sample quick start guide - will need to edit it for reqiored = jars=20 until the API, release file name patterns and locations stabalizes. See it at http://wiki.apache.org/HttpComponents/QuickStart Regards Tushar Kapila ----- Original Message -----=20 From: "Pankaj Arora" <[email protected]> To: "HttpComponents Project" <[email protected]> Sent: Friday, January 16, 2009 5:08 AM Subject: RE: FW: HttpClient authentication problem. Hi Oleg, Thanks for your reply. I have started porting the Api to 4.x and it looks like many of classes=20 namely org.apache.http.Header, = org.apache.http.message.AbstractHttpMessage=20 etc are not part of the Http Components Client but are part of Http = Core. So=20 to move to 4.x I need to have both Http Core libraries and Http = Components=20 Client libraries? Is that the case? Please verify. Thanks, Pankaj Arora -----Original Message----- From: Oleg Kalnichevski [mailto:[email protected]] Sent: Saturday, January 10, 2009 5:33 AM To: HttpComponents Project Subject: Re: FW: HttpClient authentication problem. Pankaj Arora wrote: > Hi, > I am using HttpClient 3.x till now. It looks like 4.x is completely=20 > overhauled and there are major API changes that happened. I thought=20 > solution to this problem lied in having authentication info available = to=20 > connection managers so the stateful connection is not reused. I was=20 > [email protected] Api docs=20 > = http://hc.apache.org/httpcomponents-client/httpclient/apidocs/index.html > And I don't see any MultiThreaded Connection Manager. http://hc.apache.org/httpcomponents-client/examples.html http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-cl= ient/src/examples/org/apache/http/examples/client/ClientMultiThreadedExec= ution.java > In fact looks like everything has moved to org.apache.http.* packages = from=20 > org.apache.commons.*. > If that's the case, Yes, this is the case, because 4.0 is a complete rewrite of the old code line. can you tell me if there is some guide that can tell me how I can make my existing product compatible with 4.x release? You need to port it to the new API. > Second how the existing bug we are talking about can be resolved in = new=20 > design. > HTTP connection managers in 4.0 are now aware that connections can be stateful. They can take the connection state into consideration when serving a request for a persistent connection. Standard connection managers automatically take user identity into consideration when managing NTLM authenticated connections. Please make sure to read this, though http://hc.apache.org/httpcomponents-client/ntlm.html Oleg > I am sorry as I am bit confused as I wasn't following 4.x development = from=20 > scratch. > > Thanks, > Pankaj Arora > > -----Original Message----- > From: Pankaj Arora [mailto:[email protected]] > Sent: Tuesday, January 06, 2009 3:21 PM > To: HttpComponents Project > Subject: RE: FW: HttpClient authentication problem. > > Hi Odi and Roland, > Was curious to know if this feature finally made to 4.0. Moreover when = > final 4.0 verison for commons is expected? > > Thanks, > Pankaj Arora > > > Hi Odi, > >> I would actually consider this a security issue in the connection >> managers: It may hand out an already authenticated connection to an >> unsuspecting client. We should add fields to HttpConnection that keep >> track of the credentials for connection oriented AuthSchemes. So >> connection managers can take this into account. Also the connection >> managers lack a parameter in the getConnection methods that carries >> authentication information for connection based auth schemes. > > It's on my list for 4.0, though it won't make it into client alpha1: > http://wiki.apache.org/jakarta-httpclient/ConnectionManagementDesign > It's not urgent since we won't have NTLM support for a while. > > I don't think we can or should squeeze this into 3.x anymore. > > cheers, > Roland > > -----Original Message----- > From: Ortwin Gl=FCck [mailto:[email protected]] > Sent: Friday, May 18, 2007 5:41 AM > To: HttpComponents Project > Subject: Re: FW: HttpClient authentication problem. > > Pankaj, > > NTLM is designed to authenticate a connection. AFAIK it does not = support > a "logout" in the middle of a connection, nor does it support = preemptive > authentication. So the only way to force a new authentication is to > close the connection. (e.g. try and clear the authentication to a = mapped > network drive in Windows. Probably the same issue there.) > > Thus it's not possible to share a connection between users when using > NTLM auth. Yes, this may cause a performance hit if you were planning = to > share a connection between different users. > > You could tweak your connection manager to remember the authenticated > user for each connection and try to find an already authenticated one = or > hand out a new one if you can't. > > I would actually consider this a security issue in the connection > managers: It may hand out an already authenticated connection to an > unsuspecting client. We should add fields to HttpConnection that keep > track of the credentials for connection oriented AuthSchemes. So > connection managers can take this into account. Also the connection > managers lack a parameter in the getConnection methods that carries > authentication information for connection based auth schemes. > > Ortwin > > > Pankaj Arora wrote: >> Thanks, That worked for me. Only thing that worries me is that >> connections don't persist now. It might be a performance issue. Only >> thing which I would like to know from you( as I am bit novice here)- >> what is the right behavior, my client not authenticating second time >> as connection is already authenticated or closing the connections to >> force authentication repeatedly. >> >> Thanks, Pankaj Arora. > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jan 21 08:45:57 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74940 invoked from network); 21 Jan 2009 08:45:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Jan 2009 08:45:57 -0000 Received: (qmail 88446 invoked by uid 500); 21 Jan 2009 08:45:57 -0000 Delivered-To: [email protected] Received: (qmail 88240 invoked by uid 500); 21 Jan 2009 08:45:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 59280 invoked by uid 99); 21 Jan 2009 08:19:09 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: unknown (athena.apache.org: error in processing during lookup of [email protected]) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Subject: HttpClient 3.1.x and HttpClient 4.0 in same ClassLoader? Date: Wed, 21 Jan 2009 09:19:01 +0100 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: HttpClient 3.1.x and HttpClient 4.0 in same ClassLoader? Thread-Index: Acl7oOqKndrXAN2sTRe12WHWzdSEXA== From: "Hubert, Eric" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 21 Jan 2009 08:19:02.0484 (UTC) FILETIME=[EB06B940:01C97BA0] X-Virus-Checked: Checked by ClamAV on apache.org SGkgZGV2cywNCg0KZnJvbSB0aW1lIHRvIHRpbWUgSSdtIGZvbGxvd2luZyB0aGUgbGlzdCBhbmQg cmVhZCBhIGxvdCBvZiBwb3N0cyB3aGVyZSBPbGVnIG1lbnRpb25lZCB0aGF0IDMuMSBoYXMgZW50 ZXJlZCBhIGtpbmQgb2YgZW5kIG9mIGxpZmUgcGhhc2UgYW5kIGFsbCB1c2VycyBhcmUgc3Ryb25n bHkgZW5jb3VyYWdlZCB0byBzd2l0Y2ggdG8gNC4wLg0KQWNjb3JkaW5nIHRvIG15IHVuZGVyc3Rh bmRpbmcgYW5kIGFzIHRoZSBtYWpvciB2ZXJzaW9uIGNoYW5nZSBpbmRpY2F0ZXMgNC4wIGludm9s dmVzIGluY29tcGF0aWJsZSBBUEkgY2hhbmdlcy4gSW4gZmFjdCBhcyBmYXIgYXMgSSBrbm93IGl0 IHdhcyBhIG1ham9yIHJld3JpdGUuDQoNClRoZSBpbnRlcmVzdGluZyBxdWVzdGlvbiB3aGljaCBv YnZpb3VzbHkgcG9wcGVkIHVwIHdhczogSG93IHRvIHVwZGF0ZS9taWdyYXRlPyBJJ20gbm90IHdv cnJpZWQgYWJvdXQgb3VyIG93biBjb2RlIHVzaW5nIEh0dHBDbGllbnQgMy4xIEFQSS4gV2Ugd291 bGQgbmVlZCB0byBpbnZlc3Qgc29tZSB0aW1lIHRvIGNoYW5nZSBvdXIgY29kZSB0byBtYWtlIHVz ZSBvZiB0aGUgbmV3IEFQSSBhbmQgYXJlIGRvbmUuIEknbSBtdWNoIG1vcmUgY29uY2VybmVkIGFi b3V0IHRoZSBncmVhdCBudW1iZXIgb2YgdGhpcmQgcGFydHkgbGlicmFyaWVzIHdlIGFyZSB1c2lu ZyBkZXBlbmRpbmcgb24gSHR0cENsaWVudCAzLjEsIHdoZXJlIHdlIGhhdmUgbm8gaW5mbHVlbmNl IG9uLiBTbyB0aGUgbmV4dCBtb3JlIG9yIGxlc3Mgb2J2aW91cyBxdWVzdGlvbiBpczogQXJlIHRo ZSByZXdyaXRlcyB0aGF0ICJkcmFzdGljIiAoYWxzbyBpbiB0ZXJtcyBvZiBwYWNrYWdlIGFuZCBj bGFzcyByZW5hbWluZykgdGhhdCBIdHRwQ2xpZW50IDMuMSBhbmQgSHR0cENsaWVudCA0LjAgYXJl IHR3byBkaXN0aW5jdCBzZXQgb2YgY2xhc3NlcyB3aGljaCBjYW4gaGFwcGlseSBjb2V4aXN0IGlu IHRoZSBzYW1lIGNsYXNzIGxvYWRlcj8NCg0KDQpSZWdhcmRzLA0KICAgRXJpYw0K From [email protected] Wed Jan 21 08:50:28 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83021 invoked from network); 21 Jan 2009 08:50:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Jan 2009 08:50:27 -0000 Received: (qmail 94876 invoked by uid 500); 21 Jan 2009 08:50:27 -0000 Delivered-To: [email protected] Received: (qmail 94667 invoked by uid 500); 21 Jan 2009 08:50:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 94656 invoked by uid 99); 21 Jan 2009 08:50:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jan 2009 00:50:26 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: unknown ipv4:161.129.204.104/27 (nike.apache.org: encountered unrecognized mechanism during SPF processing of domain of [email protected]) Received: from [161.129.204.104] (HELO viefep12-int.chello.at) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jan 2009 08:50:16 +0000 Received: from edge03.upc.biz ([161.129.204.104]) by viefep12-int.chello.at (InterMail vM.161.129.204.104 201-2219-108-20080618) with ESMTP id <[email protected]> for <[email protected]>; Wed, 21 Jan 2009 09:49:55 +0100 Received: from gollum.odi.ch ([161.129.204.104]) by edge03.upc.biz with edge id 68pt1b0371Jb14D038pvXs; Wed, 21 Jan 2009 09:49:55 +0100 X-SourceIP: 161.129.204.104 Received: from [161.129.204.104] (cvs.logobject.ch [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gollum.odi.ch (Postfix) with ESMTPSA id 83136217104 for <[email protected]>; Wed, 21 Jan 2009 09:49:53 +0100 (CET) Message-ID: <[email protected]> Date: Wed, 21 Jan 2009 09:49:48 +0100 From: =?UTF-8?B?T3J0d2luIEdsw7xjaw==?= <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20081209) MIME-Version: 1.0 To: HttpComponents Project <[email protected]> Subject: Re: HttpClient 3.1.x and HttpClient 4.0 in same ClassLoader? References: <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Eric, Yes, 3.x and 4.0 can easily coexist within the same classloader. Because they use different package names: 3.x: org.apache.commons.httpclient 4.0: org.apache.http Cheers, Ortwin Hubert, Eric wrote: > Hi devs, > > from time to time I'm following the list and read a lot of posts where Oleg mentioned that 3.1 has entered a kind of end of life phase and all users are strongly encouraged to switch to 4.0. > According to my understanding and as the major version change indicates 4.0 involves incompatible API changes. In fact as far as I know it was a major rewrite. > > The interesting question which obviously popped up was: How to update/migrate? I'm not worried about our own code using HttpClient 3.1 API. We would need to invest some time to change our code to make use of the new API and are done. I'm much more concerned about the great number of third party libraries we are using depending on HttpClient 3.1, where we have no influence on. So the next more or less obvious question is: Are the rewrites that "drastic" (also in terms of package and class renaming) that HttpClient 3.1 and HttpClient 4.0 are two distinct set of classes which can happily coexist in the same class loader? > > > Regards, > Eric -- [web] http://www.odi.ch/ [blog] http://www.odi.ch/weblog/ [pgp] key 0x81CF3416 finger print F2B1 B21F F056 D53E 5D79 A5AF 02BE 70F5 81CF 3416 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jan 21 11:11:42 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49472 invoked from network); 21 Jan 2009 11:11:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Jan 2009 11:11:39 -0000 Received: (qmail 70636 invoked by uid 500); 21 Jan 2009 11:11:39 -0000 Delivered-To: [email protected] Received: (qmail 70606 invoked by uid 500); 21 Jan 2009 11:11:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 38117 invoked by uid 99); 21 Jan 2009 10:53:25 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: unknown (nike.apache.org: error in processing during lookup of [email protected]) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Subject: RE: HttpClient 3.1.x and HttpClient 4.0 in same ClassLoader? Date: Wed, 21 Jan 2009 11:53:17 +0100 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: HttpClient 3.1.x and HttpClient 4.0 in same ClassLoader? Thread-Index: Acl7pV0aQ4tmL65iTI+zQ9/ck1IgAgAEFQ0w References: <[email protected]> <[email protected]> From: "Hubert, Eric" <[email protected]> To: "HttpComponents Project" <[email protected]> X-OriginalArrivalTime: 21 Jan 2009 10:53:17.0994 (UTC) FILETIME=[77BD78A0:01C97BB6] X-Virus-Checked: Checked by ClamAV on apache.org SGksDQoNCj4gWWVzLCAzLnggYW5kIDQuMCBjYW4gZWFzaWx5IGNvZXhpc3Qgd2l0aGluIHRoZSBz YW1lIGNsYXNzbG9hZGVyLiBCZWNhdXNlDQo+IHRoZXkgdXNlIGRpZmZlcmVudCBwYWNrYWdlIG5h bWVzOg0KPiANCj4gMy54OiBvcmcuYXBhY2hlLmNvbW1vbnMuaHR0cGNsaWVudA0KPiA0LjA6IG9y Zy5hcGFjaGUuaHR0cA0KDQpUaGFua3MgZm9yIHRoZSBxdWljayByZXBseSBPcnR3aW4hIEknbSBo YXBweSB0byBoZWFyIHRoaXMuIEdvb2QgY2hvaWNlISBUaGVuIHdlIGNhbiBtb3ZlIGZvcndhcmQg YW5kIHN0YXJ0IHBsYXlpbmcgd2l0aCB0aGUgQmV0YSB0byBiZSBwcmVwYXJlZCB0byBzd2l0Y2gg b25jZSBIdHRwQ2xpZW50IGhhcyBiZWVuIHJlbGVhc2VkLg0KDQpSZWdhcmRzLA0KICBFcmljDQo= From [email protected] Sat Jan 24 01:02:26 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23890 invoked from network); 24 Jan 2009 01:02:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jan 2009 01:02:26 -0000 Received: (qmail 59052 invoked by uid 500); 24 Jan 2009 01:02:24 -0000 Delivered-To: [email protected] Received: (qmail 58680 invoked by uid 500); 24 Jan 2009 01:02:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 58630 invoked by uid 99); 24 Jan 2009 01:02:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jan 2009 17:02:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Jan 2009 01:02:20 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id BA93F234C4A9 for <[email protected]>; Fri, 23 Jan 2009 17:01:59 -0800 (PST) Message-ID: <820304343.1232758919762.JavaMail.jira@brutus> Date: Fri, 23 Jan 2009 17:01:59 -0800 (PST) From: "Yuan Wang (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (HTTPCLIENT-817) Singleton ReflectionSocketFactory will not be usable once some exception happens MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Singleton ReflectionSocketFactory will not be usable once some exception happens -------------------------------------------------------------------------------- Key: HTTPCLIENT-817 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-817 Project: HttpComponents HttpClient Issue Type: Bug Components: HttpClient Affects Versions: 3.1 Final Environment: Tomcat 6.0 with jdk1.6 on linux redhat 2.5 Reporter: Yuan Wang Fix For: 3.1.1 Our environment uses httpclient-3.x to implement a connection pool between servers. However, we experienced an problem when some extreme cases happened. When our server has very high traffice, the tomcat on the linux box will maxed out its file descriptors. At this moment, the org.apache.commons.httpclient.protocol.createSocket will fail due to the following problem: The org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket and throws exception (it's a java.net.UnknownHostException) and the flag REFLECTION_FAILED will be set to true. After this point, the ReflectionSocketFactory will never be usable even when the system resources get back to normal. Due to this problem, a conner issue of the tomcat classloader will be triggered and our system will not be able to server any new request unless restart. Proposed fix is to check the ReflectionSocketFactory.REFLECTION_FAILED, once it's set to false, it should not be unusable forever. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Jan 24 01:16:24 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35010 invoked from network); 24 Jan 2009 01:16:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jan 2009 01:16:24 -0000 Received: (qmail 67485 invoked by uid 500); 24 Jan 2009 01:16:23 -0000 Delivered-To: [email protected] Received: (qmail 67452 invoked by uid 500); 24 Jan 2009 01:16:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 67438 invoked by uid 99); 24 Jan 2009 01:16:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jan 2009 17:16:23 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Jan 2009 01:16:20 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A60DC234C4A9 for <[email protected]>; Fri, 23 Jan 2009 17:15:59 -0800 (PST) Message-ID: <1736343341.1232759759678.JavaMail.jira@brutus> Date: Fri, 23 Jan 2009 17:15:59 -0800 (PST) From: "Yuan Wang (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HTTPCLIENT-817) Singleton ReflectionSocketFactory will not be usable once some exception happens In-Reply-To: <820304343.1232758919762.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuan Wang updated HTTPCLIENT-817: --------------------------------- Description: Our environment uses httpclient-3.x to implement a connection pool between servers. However, we experienced a problem when the following case happened. When our server has very high traffic (tomcat on a linux box), the file descriptors will be maxed out (because the upper bound is set too low). At this moment, the org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket will fail due to the following problem: The org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket throws an exception (eg. java.net.UnknownHostException) and the flag REFLECTION_FAILED will be set to true. After this point, the ReflectionSocketFactory will never be usable even when the system resources gets back to normal. Due to this problem, a conner issue of the tomcat classloader will be triggered so that the singleton class org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory will fail to loaded in the subsequence calls. And then, our system will be trapped and can not make any new connections with the connection manager (We are using org.apache.commons.httpclient.MultiThreadedHttpConnectionManager). Looks like the implementation of ReflectionSocketFactory with the static flag REFLECTION_FAILED is problematic. This class is a singleton and the fact that a single exception can completely disable the instance just doesn't seem correct. was: Our environment uses httpclient-3.x to implement a connection pool between servers. However, we experienced an problem when some extreme cases happened. When our server has very high traffice, the tomcat on the linux box will maxed out its file descriptors. At this moment, the org.apache.commons.httpclient.protocol.createSocket will fail due to the following problem: The org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket and throws exception (it's a java.net.UnknownHostException) and the flag REFLECTION_FAILED will be set to true. After this point, the ReflectionSocketFactory will never be usable even when the system resources get back to normal. Due to this problem, a conner issue of the tomcat classloader will be triggered and our system will not be able to server any new request unless restart. Proposed fix is to check the ReflectionSocketFactory.REFLECTION_FAILED, once it's set to false, it should not be unusable forever. > Singleton ReflectionSocketFactory will not be usable once some exception happens > -------------------------------------------------------------------------------- > > Key: HTTPCLIENT-817 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-817 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient > Affects Versions: 3.1 Final > Environment: Tomcat 6.0 with jdk1.6 on linux redhat 2.5 > Reporter: Yuan Wang > Fix For: 3.1.1 > > > Our environment uses httpclient-3.x to implement a connection pool between servers. However, we experienced a problem when the following case happened. > When our server has very high traffic (tomcat on a linux box), the file descriptors will be maxed out (because the upper bound is set too low). > At this moment, the org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket will fail due to the following problem: > The org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket throws an exception (eg. java.net.UnknownHostException) and the flag REFLECTION_FAILED will be set to true. After this point, the ReflectionSocketFactory will never be usable even when the system resources gets back to normal. Due to this problem, a conner issue of the tomcat classloader will be triggered so that the singleton class org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory will fail to loaded in the subsequence calls. And then, our system will be trapped and can not make any new connections with the connection manager (We are using org.apache.commons.httpclient.MultiThreadedHttpConnectionManager). > Looks like the implementation of ReflectionSocketFactory with the static flag REFLECTION_FAILED is problematic. This class is a singleton and the fact that a single exception can completely disable the instance just doesn't seem correct. > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Jan 24 01:18:21 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35585 invoked from network); 24 Jan 2009 01:18:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jan 2009 01:18:21 -0000 Received: (qmail 68068 invoked by uid 500); 24 Jan 2009 01:18:21 -0000 Delivered-To: [email protected] Received: (qmail 68039 invoked by uid 500); 24 Jan 2009 01:18:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 68028 invoked by uid 99); 24 Jan 2009 01:18:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jan 2009 17:18:20 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Jan 2009 01:18:20 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D8089234C4A9 for <[email protected]>; Fri, 23 Jan 2009 17:17:59 -0800 (PST) Message-ID: <658094478.1232759879883.JavaMail.jira@brutus> Date: Fri, 23 Jan 2009 17:17:59 -0800 (PST) From: "Yuan Wang (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HTTPCLIENT-817) Singleton ReflectionSocketFactory will not be usable once some exception happens In-Reply-To: <820304343.1232758919762.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuan Wang updated HTTPCLIENT-817: --------------------------------- Description: Our environment uses httpclient-3.x to implement a connection pool between servers. However, we experienced a problem when the following case happened. When our server has very high traffic (tomcat on a linux box), the file descriptors will be maxed out (because the upper bound is set too low). At this moment, the org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket will fail due to the following problem: The org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket throws an exception (eg. java.net.UnknownHostException) and the flag REFLECTION_FAILED will be set to true. After this point, the ReflectionSocketFactory will never be usable even when the system resources gets back to normal. Due to this problem, a conner issue of the tomcat classloader will be triggered so that the singleton class org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory will fail to loaded in the subsequent calls. And then, our system will be trapped and can not make any new connections with the connection manager (We are using org.apache.commons.httpclient.MultiThreadedHttpConnectionManager). Looks like the implementation of ReflectionSocketFactory with the static flag REFLECTION_FAILED is problematic. This class is a singleton and the fact that a single exception can completely disable the instance just doesn't seem correct. was: Our environment uses httpclient-3.x to implement a connection pool between servers. However, we experienced a problem when the following case happened. When our server has very high traffic (tomcat on a linux box), the file descriptors will be maxed out (because the upper bound is set too low). At this moment, the org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket will fail due to the following problem: The org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket throws an exception (eg. java.net.UnknownHostException) and the flag REFLECTION_FAILED will be set to true. After this point, the ReflectionSocketFactory will never be usable even when the system resources gets back to normal. Due to this problem, a conner issue of the tomcat classloader will be triggered so that the singleton class org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory will fail to loaded in the subsequence calls. And then, our system will be trapped and can not make any new connections with the connection manager (We are using org.apache.commons.httpclient.MultiThreadedHttpConnectionManager). Looks like the implementation of ReflectionSocketFactory with the static flag REFLECTION_FAILED is problematic. This class is a singleton and the fact that a single exception can completely disable the instance just doesn't seem correct. > Singleton ReflectionSocketFactory will not be usable once some exception happens > -------------------------------------------------------------------------------- > > Key: HTTPCLIENT-817 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-817 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient > Affects Versions: 3.1 Final > Environment: Tomcat 6.0 with jdk1.6 on linux redhat 2.5 > Reporter: Yuan Wang > Fix For: 3.1.1 > > > Our environment uses httpclient-3.x to implement a connection pool between servers. However, we experienced a problem when the following case happened. > When our server has very high traffic (tomcat on a linux box), the file descriptors will be maxed out (because the upper bound is set too low). > At this moment, the org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket will fail due to the following problem: > The org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket throws an exception (eg. java.net.UnknownHostException) and the flag REFLECTION_FAILED will be set to true. After this point, the ReflectionSocketFactory will never be usable even when the system resources gets back to normal. Due to this problem, a conner issue of the tomcat classloader will be triggered so that the singleton class org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory will fail to loaded in the subsequent calls. And then, our system will be trapped and can not make any new connections with the connection manager (We are using org.apache.commons.httpclient.MultiThreadedHttpConnectionManager). > Looks like the implementation of ReflectionSocketFactory with the static flag REFLECTION_FAILED is problematic. This class is a singleton and the fact that a single exception can completely disable the instance just doesn't seem correct. > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Jan 24 11:50:27 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 72481 invoked from network); 24 Jan 2009 11:50:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jan 2009 11:50:27 -0000 Received: (qmail 95185 invoked by uid 500); 24 Jan 2009 11:50:25 -0000 Delivered-To: [email protected] Received: (qmail 95012 invoked by uid 500); 24 Jan 2009 11:50:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 94844 invoked by uid 99); 24 Jan 2009 11:50:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Jan 2009 03:50:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Jan 2009 11:50:20 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id AA523234C4A9 for <[email protected]>; Sat, 24 Jan 2009 03:49:59 -0800 (PST) Message-ID: <1234983980.1232797799696.JavaMail.jira@brutus> Date: Sat, 24 Jan 2009 03:49:59 -0800 (PST) From: "Oleg Kalnichevski (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (HTTPCLIENT-816) HttClient should support Accept-Encoding: gzip out of the box In-Reply-To: <1160503195.1232413259665.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski resolved HTTPCLIENT-816. ------------------------------------------ Resolution: Won't Fix Fix Version/s: (was: 3.1.1) James, There is no point fixing this issue in HttpClient 3.x, because it is on its way to end of life. One can easily add support for GZIP compression in HttpClient 4.0 with a custom protocol interceptor: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientGZipContentCompression.java Oleg > HttClient should support Accept-Encoding: gzip out of the box > ------------------------------------------------------------- > > Key: HTTPCLIENT-816 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-816 > Project: HttpComponents HttpClient > Issue Type: New Feature > Components: HttpClient > Affects Versions: 3.1.1 > Environment: Any > Reporter: James Abley > Priority: Minor > Attachments: accept-encoding.patch > > Original Estimate: 1h > Remaining Estimate: 1h > > I think HttpClient really ought to support Accept-Encoding: gzip without requiring any effort from the client developer. Allowing Content-Encoding: gzip responses can be a great bandwidth saver. > But it also needs to cater for developers that have coded their own solution to this issue. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Jan 24 11:58:23 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76225 invoked from network); 24 Jan 2009 11:58:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jan 2009 11:58:23 -0000 Received: (qmail 98951 invoked by uid 500); 24 Jan 2009 11:58:23 -0000 Delivered-To: [email protected] Received: (qmail 98919 invoked by uid 500); 24 Jan 2009 11:58:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 98908 invoked by uid 99); 24 Jan 2009 11:58:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Jan 2009 03:58:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Jan 2009 11:58:20 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 9678D234C4AB for <[email protected]>; Sat, 24 Jan 2009 03:57:59 -0800 (PST) Message-ID: <140065970.1232798279615.JavaMail.jira@brutus> Date: Sat, 24 Jan 2009 03:57:59 -0800 (PST) From: "Oleg Kalnichevski (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (HTTPCLIENT-817) Singleton ReflectionSocketFactory will not be usable once some exception happens In-Reply-To: <820304343.1232758919762.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski resolved HTTPCLIENT-817. ------------------------------------------ Resolution: Won't Fix Fix Version/s: (was: 3.1.1) Yuan, I see no point fixing ReflectionSocketFactory. It exists solely because of 1.2.2 compatibility requirement for HttpClient 3.1. This will no longer be relevant as HttpClient 4.0 requires 1.5 JRE as a base. Simply create a custom protocol socket factory that does not use reflection. The first thing that I _personally_ do when using HttpClient 3.x is replacing default protocol socket factories. Oleg > Singleton ReflectionSocketFactory will not be usable once some exception happens > -------------------------------------------------------------------------------- > > Key: HTTPCLIENT-817 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-817 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient > Affects Versions: 3.1 Final > Environment: Tomcat 6.0 with jdk1.6 on linux redhat 2.5 > Reporter: Yuan Wang > > Our environment uses httpclient-3.x to implement a connection pool between servers. However, we experienced a problem when the following case happened. > When our server has very high traffic (tomcat on a linux box), the file descriptors will be maxed out (because the upper bound is set too low). > At this moment, the org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket will fail due to the following problem: > The org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket throws an exception (eg. java.net.UnknownHostException) and the flag REFLECTION_FAILED will be set to true. After this point, the ReflectionSocketFactory will never be usable even when the system resources gets back to normal. Due to this problem, a conner issue of the tomcat classloader will be triggered so that the singleton class org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory will fail to loaded in the subsequent calls. And then, our system will be trapped and can not make any new connections with the connection manager (We are using org.apache.commons.httpclient.MultiThreadedHttpConnectionManager). > Looks like the implementation of ReflectionSocketFactory with the static flag REFLECTION_FAILED is problematic. This class is a singleton and the fact that a single exception can completely disable the instance just doesn't seem correct. > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Jan 24 12:03:07 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77237 invoked from network); 24 Jan 2009 12:03:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jan 2009 12:03:07 -0000 Received: (qmail 1898 invoked by uid 500); 24 Jan 2009 12:03:06 -0000 Delivered-To: [email protected] Received: (qmail 1874 invoked by uid 500); 24 Jan 2009 12:03:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 1857 invoked by uid 99); 24 Jan 2009 12:03:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Jan 2009 04:03:05 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO fg-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Jan 2009 12:02:58 +0000 Received: by fg-out-1718.google.com with SMTP id d23so2783704fga.32 for <multiple recipients>; Sat, 24 Jan 2009 04:02:36 -0800 (PST) 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 :content-transfer-encoding; bh=7dIHVpBwaW5x+HBhjEwwOU95gJEjGTcDunUewFeRWqg=; b=bS9M1JmgsAYg5vap2f22HYstT1WAct/rkV9TR7QeF0r67YXUJUJ7E9n+1sJMd/O0z9 KMgNdHAfr4jBcSmbZ/d8Y0/hbH+5GIt9oknODrVRFiZg1Zu95Ttqxs6rFk0lDkk4Rtau vBoLzgzBkgV2ndcGeYifSqDEEXGhkw+tD2q8M= 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:content-transfer-encoding; b=X/FkBXRang0H845H0cC1isVB8QoWEQEt+cBJ0lzi6jJYjoBUg6f64IV4da2w9tLvGG VU2BaF930HJmpSXzu86EzxzKgjh8ImP+sogeO+w3PBNSmciLlyiuNny3RUKa91jQ9Pi3 sUFVcbf3qWRgZr5bo/T3Ua1gveul4aqQUBBZY= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id q17mr429959fgb.8.1232798556720; Sat, 24 Jan 2009 04:02:36 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> Date: Sat, 24 Jan 2009 12:02:36 +0000 Message-ID: <[email protected]> Subject: [Travel Assistance] Applications for ApacheCon EU 2009 - Now Open From: sebb <[email protected]> To: HttpClient User Discussion <[email protected]>, HttpComponents Project <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org ---------- Forwarded message ---------- From: Tony Stevenson <[email protected]> Date: 23 Jan 2009 13:28 Subject: [Travel Assistance] Applications for ApacheCon EU 2009 - Now Open To: [email protected] The Travel Assistance Committee is now accepting applications for those wanting to attend ApacheCon EU 2009 between the 23rd and 27th March 2009 in Amsterdam. The Travel Assistance Committee is looking for people who would like to be able to attend ApacheCon EU 2009 who need some financial support in order to get there. There are very few places available and the criteria is high, that aside applications are open to all open source developers who feel that their attendance would benefit themselves, their project(s), the ASF or open source in general. Financial assistance is available for travel, accommodation and entrance fees either in full or in part, depending on circumstances. It is intended that all our ApacheCon events are covered, so it may be prudent for those in the United States or Asia to wait until an event closer to them comes up - you are all welcome to apply for ApacheCon EU of course, but there must be compelling reasons for you to attend an event further away that your home location for your application to be considered above those closer to the event location. More information can be found on the main Apache website at http://www.apache.org/travel/index.html - where you will also find a link to the online application form. Time is very tight for this event, so applications are open now and will end on the 4th February 2009 - to give enough time for travel arrangements to be made. Good luck to all those that apply. Regards, The Travel Assistance Committee -- ------------------------------------------------------------------ Tony Stevenson [email protected] // [email protected] // [email protected] http://blog.pc-tony.com/ 1024D/51047D66 ECAF DC55 C608 5E82 0B5E 3359 C9C7 924E 5104 7D66 ------------------------------------------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Jan 24 12:06:58 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77945 invoked from network); 24 Jan 2009 12:06:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jan 2009 12:06:58 -0000 Received: (qmail 5111 invoked by uid 500); 24 Jan 2009 12:06:57 -0000 Delivered-To: [email protected] Received: (qmail 5077 invoked by uid 500); 24 Jan 2009 12:06:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 5066 invoked by uid 99); 24 Jan 2009 12:06:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Jan 2009 04:06:57 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2consulting.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Jan 2009 12:06:48 +0000 Received: by ok2consulting.nine.ch (Postfix, from userid 1002) id EAFEB198567; Sat, 24 Jan 2009 13:06:25 +0100 (CET) Received: from [161.129.204.104] 251-554-7837.dclient.hispeed.ch [161.129.204.104]) by ok2consulting.nine.ch (Postfix) with ESMTP id 86A8D19855D for <[email protected]>; Sat, 24 Jan 2009 13:06:25 +0100 (CET) Message-ID: <[email protected]> Date: Sat, 24 Jan 2009 13:06:21 +0100 From: Oleg Kalnichevski <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20081209) MIME-Version: 1.0 To: HttpComponents Project <[email protected]> Subject: Re: FW: HttpClient authentication problem. References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <C1842C3508F74ECFB6A26F8976C11F64@tgk3> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on ok2consulting.nine.ch X-Spam-Level: X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.3 Pankaj Arora wrote: > Hi, > We in our product support Kerberos auth scheme and while using 3.x version of HttpClient we did that by registering Kerberos scheme with the AuthPolicy class. > In 4.x Api I see no way to register the schemes we might want to implement and support. It looks like other than Basic,Digest and NTLM we cannot support any other auth scheme. > > Is that right? > Pankaj, SPNEGO scheme is also unsupported in HttpClient 3.x. There exists an unofficial implementation contributed by a third party developer who is no longer there to support it [1]. This is the reason why it was not included in HttpClient 4.0. There is simply no one around both capable and willing to support SPNEGO. Feel free to port it to the 4.0 API, if you have a need for it. Oleg [1] http://svn.apache.org/repos/asf/httpcomponents/oac.hc3x/trunk/src/contrib/org/apache/commons/httpclient/contrib/auth/ > Thanks, > Pankaj Arora > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Jan 24 17:17:24 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77981 invoked from network); 24 Jan 2009 17:17:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jan 2009 17:17:23 -0000 Received: (qmail 98612 invoked by uid 500); 24 Jan 2009 17:17:23 -0000 Delivered-To: [email protected] Received: (qmail 98575 invoked by uid 500); 24 Jan 2009 17:17:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 98564 invoked by uid 99); 24 Jan 2009 17:17:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Jan 2009 09:17:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Jan 2009 17:17:20 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 9EBFA234C48B for <[email protected]>; Sat, 24 Jan 2009 09:16:59 -0800 (PST) Message-ID: <954893769.1232817419649.JavaMail.jira@brutus> Date: Sat, 24 Jan 2009 09:16:59 -0800 (PST) From: "Oleg Kalnichevski (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (HTTPCORE-2) JavaDocs can be improved MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCORE-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski resolved HTTPCORE-2. -------------------------------------- Resolution: Fixed I am very, very happy to close this one. Oleg > JavaDocs can be improved > ------------------------ > > Key: HTTPCORE-2 > URL: https://issues.apache.org/jira/browse/HTTPCORE-2 > Project: HttpComponents HttpCore > Issue Type: Improvement > Components: HttpCore > Affects Versions: 4.0-alpha1, 4.0-alpha2 > Environment: Operating System: other > Platform: Other > Reporter: Roland Weber > Priority: Minor > Fix For: 4.0-rc1 > > Attachments: 2k6-02-10-core-jdoc-patch.txt, 2k6-04-02-core-packagehtml-1.txt > > > The JavaDocs in http-core can be improved. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Jan 25 04:33:51 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7522 invoked from network); 25 Jan 2009 04:33:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jan 2009 04:33:50 -0000 Received: (qmail 83725 invoked by uid 500); 25 Jan 2009 04:33:50 -0000 Delivered-To: [email protected] Received: (qmail 83713 invoked by uid 500); 25 Jan 2009 04:33:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 83702 invoked by uid 99); 25 Jan 2009 04:33:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Jan 2009 20:33:50 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wf-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Jan 2009 04:33:41 +0000 Received: by wf-out-1314.google.com with SMTP id 29so6336749wff.10 for <[email protected]>; Sat, 24 Jan 2009 20:33:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:references :subject:date:mime-version:content-type:content-transfer-encoding :x-priority:x-msmail-priority:x-mailer:x-mimeole; bh=mzcl9IdY4IzxXxZLva/oqRvtxfTmy90ZnhLm9GwKkWc=; b=d/+rSP2g8DF1BYdpfbsyPnw1aO8zH9XBMrSQ0RSGhwaiwVke8HuBUhHoFWMQhfHZ9x nqbSwXg/zsiXatauMxCoOih1E8J0y9ufmczayvmtrn1ntBDYFrNYC2v+QKQYUManXRLb m51ggCo0MaSY7Am8Nu3fA1Kz6NbthelvRdc+A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:references:subject:date:mime-version :content-type:content-transfer-encoding:x-priority:x-msmail-priority :x-mailer:x-mimeole; b=MW/VZLaRCnWgM7nXrXt2tvwDzAaPBev8vV9kPNcxrklIzcqZDrg3NCuuRG09idZ1Tq 2bQ7LStH1FiVCgyaNDbNOh0t3g3mQsh8BmkZvqVPmKoz0mO/s05VKOIT5baBn7vagMps MKzKc+8Ac9OxLOJwTajGAXDHjp+9j10aoeqL4= Received: by 161.129.204.104 with SMTP id q2mr2749349wfa.274.1232857999941; Sat, 24 Jan 2009 20:33:19 -0800 (PST) Received: from tgk3 ([161.129.204.104]) by mx.google.com with ESMTPS id 32sm14804647wfa.0.2161.129.204.104.33.17 (version=SSLv3 cipher=RC4-MD5); Sat, 24 Jan 2009 20:33:18 -0800 (PST) Message-ID: <05CC72EB742D4E49A5E490E60A68B91D@tgk3> From: "Tushar Kapila" <[email protected]> To: "HttpComponents Project" <[email protected]> References: <1234983980.1232797799696.JavaMail.jira@brutus> Subject: Re: [jira] Resolved: (HTTPCLIENT-816) HttClient should support Accept-Encoding: gzip out of the box Date: Sun, 25 Jan 2009 10:03:18 +0530 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Virus-Checked: Checked by ClamAV on apache.org Well this will be great to have out of the box so if anyone does implement it - try to share it. Quicker HTTPCLIENTs == happier users. please can you put it on the HTTPCLIENT4 wish list --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Jan 25 09:58:23 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47049 invoked from network); 25 Jan 2009 09:58:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jan 2009 09:58:23 -0000 Received: (qmail 70610 invoked by uid 500); 25 Jan 2009 09:58:22 -0000 Delivered-To: [email protected] Received: (qmail 70574 invoked by uid 500); 25 Jan 2009 09:58:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 70563 invoked by uid 99); 25 Jan 2009 09:58:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Jan 2009 01:58:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Jan 2009 09:58:20 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A61C8234C4AA for <[email protected]>; Sun, 25 Jan 2009 01:57:59 -0800 (PST) Message-ID: <251-554-7837.1232877479679.JavaMail.jira@brutus> Date: Sun, 25 Jan 2009 01:57:59 -0800 (PST) From: "James Abley (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (HTTPCLIENT-816) HttClient should support Accept-Encoding: gzip out of the box In-Reply-To: <1160503195.1232413259665.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12667065#action_12667065 ] James Abley commented on HTTPCLIENT-816: ---------------------------------------- Not patching HttpClient 3.x due to end-of-lifing, I can accept. Requiring the client to configure a custom protocol interceptor in HttpClient 4.0 - FAIL. > HttClient should support Accept-Encoding: gzip out of the box > ------------------------------------------------------------- > > Key: HTTPCLIENT-816 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-816 > Project: HttpComponents HttpClient > Issue Type: New Feature > Components: HttpClient > Affects Versions: 3.1.1 > Environment: Any > Reporter: James Abley > Priority: Minor > Attachments: accept-encoding.patch > > Original Estimate: 1h > Remaining Estimate: 1h > > I think HttpClient really ought to support Accept-Encoding: gzip without requiring any effort from the client developer. Allowing Content-Encoding: gzip responses can be a great bandwidth saver. > But it also needs to cater for developers that have coded their own solution to this issue. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Jan 25 12:46:24 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45447 invoked from network); 25 Jan 2009 12:46:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jan 2009 12:46:24 -0000 Received: (qmail 40623 invoked by uid 500); 25 Jan 2009 12:46:23 -0000 Delivered-To: [email protected] Received: (qmail 40589 invoked by uid 500); 25 Jan 2009 12:46:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 40578 invoked by uid 99); 25 Jan 2009 12:46:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Jan 2009 04:46:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Jan 2009 12:46:20 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C4692234C4A9 for <[email protected]>; Sun, 25 Jan 2009 04:45:59 -0800 (PST) Message-ID: <1719153393.1232887559803.JavaMail.jira@brutus> Date: Sun, 25 Jan 2009 04:45:59 -0800 (PST) From: "Oleg Kalnichevski (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (HTTPCLIENT-816) HttClient should support Accept-Encoding: gzip out of the box In-Reply-To: <1160503195.1232413259665.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12667079#action_12667079 ] Oleg Kalnichevski commented on HTTPCLIENT-816: ---------------------------------------------- No need to talk to me like I owe you. I do not. The reason why GZip compression is not supported is because HttpClient is meant to be content agnostic by the project charter. Any kind of content transformation is out of scope. Having said that the project charter can be changed and exceptions can be made given enough interest from the community. However, if we add support for GZip content coding we should also support other content codings defined in the HTTP spec: compress, deflate and identity. So, if you are willing to contribute full support for standard content codecs in HttpClient 4.0 including a reasonable test coverage for new code, feel free to re-open the issue, subscribe to the [email protected] list and start a discussion about making amendments to the project charter. Oleg > HttClient should support Accept-Encoding: gzip out of the box > ------------------------------------------------------------- > > Key: HTTPCLIENT-816 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-816 > Project: HttpComponents HttpClient > Issue Type: New Feature > Components: HttpClient > Affects Versions: 3.1.1 > Environment: Any > Reporter: James Abley > Priority: Minor > Attachments: accept-encoding.patch > > Original Estimate: 1h > Remaining Estimate: 1h > > I think HttpClient really ought to support Accept-Encoding: gzip without requiring any effort from the client developer. Allowing Content-Encoding: gzip responses can be a great bandwidth saver. > But it also needs to cater for developers that have coded their own solution to this issue. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jan 28 00:19:58 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43660 invoked from network); 28 Jan 2009 00:19:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Jan 2009 00:19:58 -0000 Received: (qmail 38848 invoked by uid 500); 28 Jan 2009 00:19:57 -0000 Delivered-To: [email protected] Received: (qmail 38813 invoked by uid 500); 28 Jan 2009 00:19:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 38801 invoked by uid 99); 28 Jan 2009 00:19:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jan 2009 16:19:57 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO sushi.ironhide.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jan 2009 00:19:50 +0000 Received: from hq-exch-01.castiron.corp (unknown [161.129.204.104]) by sushi.ironhide.com (Postfix) with ESMTP id BBEE8AE2E7 for <[email protected]>; Wed, 28 Jan 2009 01:32:00 +0000 (UTC) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: FW: HttpClient authentication problem. Date: Tue, 27 Jan 2009 16:19:26 -0800 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FW: HttpClient authentication problem. Thread-Index: Acl+HEKzMTbopZj1S+Cd5T2Bo3VsfQCwHnOA References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <C1842C3508F74ECFB6A26F8976C11F64@tgk3> <[email protected]> <[email protected]> <[email protected]> From: "Pankaj Arora" <[email protected]> To: "HttpComponents Project" <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Oleg, I contributed some code myself to make Kerberos work https://issues.apache.org/jira/browse/HTTPCLIENT-523 I have no issues porting it. Issue is that now AuthPolicy does not support API to register any other auth scheme like it did before. http://hc.apache.org/httpcomponents-client/httpclient/apidocs/index.html in 4.0 b2. In 3.x -- http://hc.apache.org/httpclient-3.x/apidocs/index.html You gave an option to register another schema and that way at least let developers write their authenticate method for that scheme. Now that extensibility is lost. Please correct me if I am wrong. Thanks, Pankaj Arora p.s: Will be more than happy to contribute in helping out with Kerberos and we are using Kerberos successfully in our product using Http Client. -----Original Message----- From: Oleg Kalnichevski [mailto:[email protected]]=20 Sent: Saturday, January 24, 2009 4:06 AM To: HttpComponents Project Subject: Re: FW: HttpClient authentication problem. Pankaj Arora wrote: > Hi, > We in our product support Kerberos auth scheme and while using 3.x version of HttpClient we did that by registering Kerberos scheme with the AuthPolicy class. > In 4.x Api I see no way to register the schemes we might want to implement and support. It looks like other than Basic,Digest and NTLM we cannot support any other auth scheme. >=20 > Is that right? >=20 Pankaj, SPNEGO scheme is also unsupported in HttpClient 3.x. There exists an=20 unofficial implementation contributed by a third party developer who is=20 no longer there to support it [1]. This is the reason why it was not=20 included in HttpClient 4.0. There is simply no one around both capable=20 and willing to support SPNEGO. Feel free to port it to the 4.0 API, if you have a need for it. Oleg [1]=20 http://svn.apache.org/repos/asf/httpcomponents/oac.hc3x/trunk/src/contri b/org/apache/commons/httpclient/contrib/auth/ > Thanks, > Pankaj Arora >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jan 28 11:06:37 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21031 invoked from network); 28 Jan 2009 11:06:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Jan 2009 11:06:37 -0000 Received: (qmail 65755 invoked by uid 500); 28 Jan 2009 11:06:36 -0000 Delivered-To: [email protected] Received: (qmail 65729 invoked by uid 500); 28 Jan 2009 11:06:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 65718 invoked by uid 99); 28 Jan 2009 11:06:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jan 2009 03:06:36 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2consulting.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jan 2009 11:06:28 +0000 Received: by ok2consulting.nine.ch (Postfix, from userid 1002) id CC150198566; Wed, 28 Jan 2009 12:06:04 +0100 (CET) Received: from Macintosh.local 251-554-7837.dclient.hispeed.ch [161.129.204.104]) by ok2consulting.nine.ch (Postfix) with ESMTP id A1DF719855D for <[email protected]>; Wed, 28 Jan 2009 12:06:02 +0100 (CET) Message-ID: <[email protected]> Date: Wed, 28 Jan 2009 12:05:58 +0100 From: Oleg Kalnichevski <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Macintosh/20081209) MIME-Version: 1.0 To: HttpComponents Project <[email protected]> Subject: Re: FW: HttpClient authentication problem. References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <C1842C3508F74ECFB6A26F8976C11F64@tgk3> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on ok2consulting.nine.ch X-Spam-Level: X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.3 Pankaj Arora wrote: > Oleg, > I contributed some code myself to make Kerberos work > https://issues.apache.org/jira/browse/HTTPCLIENT-523 > I have no issues porting it. Issue is that now AuthPolicy does not > support API to register any other auth scheme like it did before. > http://hc.apache.org/httpcomponents-client/httpclient/apidocs/index.html > in 4.0 b2. > In 3.x -- http://hc.apache.org/httpclient-3.x/apidocs/index.html > You gave an option to register another schema and that way at least let > developers write their authenticate method for that scheme. Now that > extensibility is lost. > No, it is not. > Please correct me if I am wrong. > Please take a closer look at the AbstractHttpClient class and the AuthSchemeRegistry interface. http://hc.apache.org/httpcomponents-client/httpclient/apidocs/org/apache/http/impl/client/AbstractHttpClient.html#getAuthSchemes() http://hc.apache.org/httpcomponents-client/httpclient/apidocs/org/apache/http/auth/AuthSchemeRegistry.html Oleg > Thanks, > Pankaj Arora > p.s: Will be more than happy to contribute in helping out with Kerberos > and we are using Kerberos successfully in our product using Http Client. > > > -----Original Message----- > From: Oleg Kalnichevski [mailto:[email protected]] > Sent: Saturday, January 24, 2009 4:06 AM > To: HttpComponents Project > Subject: Re: FW: HttpClient authentication problem. > > Pankaj Arora wrote: >> Hi, >> We in our product support Kerberos auth scheme and while using 3.x > version of HttpClient we did that by registering Kerberos scheme with > the AuthPolicy class. >> In 4.x Api I see no way to register the schemes we might want to > implement and support. It looks like other than Basic,Digest and NTLM we > cannot support any other auth scheme. >> Is that right? >> > > Pankaj, > > SPNEGO scheme is also unsupported in HttpClient 3.x. There exists an > unofficial implementation contributed by a third party developer who is > no longer there to support it [1]. This is the reason why it was not > included in HttpClient 4.0. There is simply no one around both capable > and willing to support SPNEGO. > > Feel free to port it to the 4.0 API, if you have a need for it. > > Oleg > > [1] > http://svn.apache.org/repos/asf/httpcomponents/oac.hc3x/trunk/src/contri > b/org/apache/commons/httpclient/contrib/auth/ > > > > >> Thanks, >> Pankaj Arora >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jan 28 14:11:21 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86600 invoked from network); 28 Jan 2009 14:11:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Jan 2009 14:11:21 -0000 Received: (qmail 31163 invoked by uid 500); 28 Jan 2009 14:11:18 -0000 Delivered-To: [email protected] Received: (qmail 31065 invoked by uid 500); 28 Jan 2009 14:11:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 30977 invoked by uid 99); 28 Jan 2009 14:11:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jan 2009 06:11:17 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f21.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jan 2009 14:11:07 +0000 Received: by ewy14 with SMTP id 14so3128465ewy.22 for <multiple recipients>; Wed, 28 Jan 2009 06:10:46 -0800 (PST) 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 :content-transfer-encoding; bh=Qb4KkgUuOUstb7h8xCfeN36As7vqQ6SkImfZKcgbpNc=; b=CoGXGGUm5X5oU5YFW2j39xtQXYKtYyMuUmLFLCYYVRbB5+uCYc2iwbF2jjg1+OphUc xO8IvVe/K/E+djcn2BX/4Fn1Jdn3nrvt7nLT8jT8loy8+8JaZfFVUHhjpu6yvbV7QQOT GvqOeIAxiJGnponEP12qqAWK0uAD4qBCqtLoM= 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:content-transfer-encoding; b=mVWIQUk+opaw30LCW3Nrx1xhGYdPT0zhUWH42U1rf/Vq1x2AgrbY/SJf0VjiEm9hDD RPspWvx2eqmnCrHyfjvPXopFy8xeYW62LNfDHQ0iFvsETdq+uQaf88og/NLlDvIlTLsV WCZUjc6v5xPvtQkdViDR2NPY/aiV2id+1CXPs= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id u15mr538093fga.1.1233151846228; Wed, 28 Jan 2009 06:10:46 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Wed, 28 Jan 2009 14:10:46 +0000 Message-ID: <[email protected]> Subject: Fwd: [ANN-pmcs] Registration for ApacheCon Europe 2009 is now open! From: sebb <[email protected]> To: HttpClient User Discussion <[email protected]>, HttpComponents Project <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org ApacheCon EU 2009 registration is now open! 23-27 March -- M=F6venpick Hotel, Amsterdam, Netherlands http://www.eu.apachecon.com/ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D Registration for ApacheCon Europe 2009 is now open - act before early bird prices expire 6 February. Remember to book a room at the M=F6venpic= k and use the Registration Code: Special package attendees for the conference registration, and get 150 Euros off your full conference registration. Lower Costs - Thanks to new VAT tax laws, our prices this year are 19% lower than last year in Europe! We've also negotiated a M=F6venpick rate of a maximum of 155 Euros per night for attendees in our room block. Quick Links: http://xrl.us/aceu09sp See the schedule http://xrl.us/aceu09hp Get your hotel room http://xrl.us/aceu09rp Register for the conference Other important notes: - Geeks for Geeks is a new mini-track where we can feature advanced technical content from project committers. And our Hackathon on Monday and Tuesday is open to all attendees - be sure to check it off in your registration. - The Call for Papers for ApacheCon US 2009, held 2-6 November 2009 in Oakland, CA, is open through 28 February, so get your submissions in now. This ApacheCon will feature special events with some of the ASF's original founders in celebration of the 10th anniversary of The Apache Software Foundation. http://www.us.apachecon.com/c/acus2009/ - Interested in sponsoring the ApacheCon conferences? There are plenty of sponsor packages available - please contact Delia Frees at [email protected] for further information. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D ApacheCon EU 2008: A week of Open Source at it's best! Hackathon - open to all! | Geeks for Geeks | Lunchtime Sessions In-Depth Trainings | Multi-Track Sessions | BOFs | Business Panel Lightning Talks | Receptions | Fast Feather Track | Expo... and more! - Shane Curcuru, on behalf of Noirin Shirley, Conference Lead, and the whole ApacheCon Europe 2009 Team http://www.eu.apachecon.com/ 23-27 March -- Amsterdam, Netherlands --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 30 12:18:23 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42894 invoked from network); 30 Jan 2009 12:18:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Jan 2009 12:18:23 -0000 Received: (qmail 59296 invoked by uid 500); 30 Jan 2009 12:18:23 -0000 Delivered-To: [email protected] Received: (qmail 59253 invoked by uid 500); 30 Jan 2009 12:18:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 59242 invoked by uid 99); 30 Jan 2009 12:18:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jan 2009 04:18:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jan 2009 12:18:20 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A735C234C4AD for <[email protected]>; Fri, 30 Jan 2009 04:17:59 -0800 (PST) Message-ID: <48952580.1233317879683.JavaMail.jira@brutus> Date: Fri, 30 Jan 2009 04:17:59 -0800 (PST) From: "Jeffrey Yasskin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (HTTPCLIENT-818) No documentation on how to use CookieSpec MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org No documentation on how to use CookieSpec ----------------------------------------- Key: HTTPCLIENT-818 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-818 Project: HttpComponents HttpClient Issue Type: Bug Components: Documentation Affects Versions: 4.0 Beta 2 Environment: Android Reporter: Jeffrey Yasskin None of http://hc.apache.org/httpcomponents-client/httpclient/apidocs/org/apache/http/cookie/CookieSpec.html, http://hc.apache.org/httpcomponents-client/httpclient/apidocs/org/apache/http/cookie/CookieSpecFactory.html, http://hc.apache.org/httpcomponents-client/httpclient/apidocs/org/apache/http/cookie/CookieSpecRegistry.html, or http://hc.apache.org/httpcomponents-client/httpclient/apidocs/org/apache/http/impl/client/DefaultHttpClient.html explain how to set the CookieSpec that the HttpClient actually uses. It looks like CookieSpecRegistry might be it, but it doesn't document what the "names" mean, so I don't know what to pick to make a factory actually get used. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 30 12:30:23 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50881 invoked from network); 30 Jan 2009 12:30:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Jan 2009 12:30:23 -0000 Received: (qmail 86093 invoked by uid 500); 30 Jan 2009 12:30:23 -0000 Delivered-To: [email protected] Received: (qmail 86060 invoked by uid 500); 30 Jan 2009 12:30:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 86044 invoked by uid 99); 30 Jan 2009 12:30:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jan 2009 04:30:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jan 2009 12:30:20 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D0A00234C4B6 for <[email protected]>; Fri, 30 Jan 2009 04:29:59 -0800 (PST) Message-ID: <907885000.1233318599853.JavaMail.jira@brutus> Date: Fri, 30 Jan 2009 04:29:59 -0800 (PST) From: "Jeffrey Yasskin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (HTTPCLIENT-819) HttpParams doesn't document its key values MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org HttpParams doesn't document its key values ------------------------------------------ Key: HTTPCLIENT-819 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-819 Project: HttpComponents HttpClient Issue Type: Bug Components: Documentation Affects Versions: 4.0 Beta 2 Environment: Android Reporter: Jeffrey Yasskin Priority: Minor http://hc.apache.org/httpcomponents-core/httpcore/apidocs/org/apache/http/params/HttpParams.html should either list the meaningful parameter names with the meanings of their values, or should link to the other classes like HttpClientParams and AuthParams that make it usable. Probably, each class that uses HttpParams should also describe the meaningful values so that human readers find the descriptions however we look for them. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 30 16:41:24 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42304 invoked from network); 30 Jan 2009 16:41:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Jan 2009 16:41:24 -0000 Received: (qmail 57610 invoked by uid 500); 30 Jan 2009 16:41:23 -0000 Delivered-To: [email protected] Received: (qmail 57572 invoked by uid 500); 30 Jan 2009 16:41:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.hc.apache.org> Reply-To: "HttpComponents Project" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 57561 invoked by uid 99); 30 Jan 2009 16:41:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jan 2009 08:41:23 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jan 2009 16:41:20 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B0B75234C4AD for <[email protected]>; Fri, 30 Jan 2009 08:40:59 -0800 (PST) Message-ID: <1560419400.1233333659722.JavaMail.jira@brutus> Date: Fri, 30 Jan 2009 08:40:59 -0800 (PST) From: "Jeffrey Yasskin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (HTTPCLIENT-820) AbstractHttpClient.addRequestInterceptor should document in what order the interceptors run MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org AbstractHttpClient.addRequestInterceptor should document in what order the interceptors run ------------------------------------------------------------------------------------------- Key: HTTPCLIENT-820 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-820 Project: HttpComponents HttpClient Issue Type: Bug Components: Documentation Affects Versions: 4.0 Beta 2 Reporter: Jeffrey Yasskin Priority: Minor http://hc.apache.org/httpcomponents-client/httpclient/apidocs/org/apache/http/impl/client/AbstractHttpClient.html#addRequestInterceptor(org.apache.http.HttpRequestInterceptor) has no documentation. It should at least say what order new interceptors run in. Presumably they run in order by index, but does the lowest or highest index run first? This class or DefaultHttpClient should also say what interceptors are added by default. That is, what would I be getting rid of by calling clearResponseInterceptors()? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Thu Feb 24 03:51:29 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56940 invoked from network); 24 Feb 2005 03:51:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 24 Feb 2005 03:51:29 -0000 Received: (qmail 48169 invoked by uid 500); 24 Feb 2005 03:51:28 -0000 Delivered-To: [email protected] Received: (qmail 48136 invoked by uid 500); 24 Feb 2005 03:51:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 48122 invoked by uid 99); 24 Feb 2005 03:51:27 -0000 X-ASF-Spam-Status: No, hits=1.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from outgoing6.borland.com (HELO ussvs-mta3.amer.borl.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 23 Feb 2005 19:51:27 -0800 Received: from USSVS-MAIL04.amer.borl.net ([161.129.204.104]) by ussvs-mta3.amer.borl.net with Microsoft SMTPSVC(6.0.3790.211); Wed, 23 Feb 2005 19:51:25 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Borland Together Support Request Date: Wed, 23 Feb 2005 19:51:25 -0800 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Mail Delivery (failure [email protected]) Thread-Index: AcUaJBytySQsIE2QTLWMYhlDeRwUJgAAAAAc From: "Borland Support for Together Products" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 24 Feb 2005 03:51:25.0357 (UTC) FILETIME=[1CC255D0:01C51A24] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Dear Borland Customer,=20 =20 Thank you for your recent e-mail to [email protected]. =20 [email protected] <mailto:[email protected]> is no longer an active e-mail address to contact Borland Technical Support. Please contact us via the web at http://support.borland.com.=20 =20 Note that login credentials are required in order to log a new support case. To be added as an authorized support contact on an active maintenance contract, please contact [email protected]@borland.com with your contact and contract information.=20 =20 If you are experiencing installation or registration problems with your Together product, please go to http://support.borland.com, and click the Installation or Registration links to proceed with a free web case. =20 If your installation or registration issue concerns Together 6.0 products, please go to: http://info.borland.com/tg_license/together/index.htm. =20 If you are looking to upgrade your current Together product to the most recent version, please go to: http://connect.borland.com/togetherupgrade/. =20 If you have sales related inquiries, please call Corporate Sales at +1-413-210-8791. =20 You may also contact Borland Technical Support via telephone; the U.S. toll-free number is +1-413-210-8791. =20 Thank you for your loyalty to Borland. We look forward to our next opportunity to serve you. =20 The Borland Technical Support Team =20 =20 =20 =20
From [email protected] Mon Jan 04 16:29:47 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73451 invoked from network); 4 Jan 2010 16:29:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Jan 2010 16:29:47 -0000 Received: (qmail 32983 invoked by uid 500); 4 Jan 2010 16:29:47 -0000 Delivered-To: [email protected] Received: (qmail 32949 invoked by uid 500); 4 Jan 2010 16:29:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.velocity.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32933 invoked by uid 99); 4 Jan 2010 16:29:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2010 16:29:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2010 16:29:46 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A7F9323888D1; Mon, 4 Jan 2010 16:29:26 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r895683 - /velocity/engine/branches/1.6.x/src/java/org/apache/velocity/runtime/RuntimeInstance.java Date: Mon, 04 Jan 2010 16:29:24 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: nbubna Date: Mon Jan 4 16:29:21 2010 New Revision: 895683 URL: http://svn.apache.org/viewvc?rev=895683&view=rev Log: VELOCITY-750 fix RuntimeInstance lazy-init() double-checked locking under Java 1.5+ Modified: velocity/engine/branches/1.6.x/src/java/org/apache/velocity/runtime/RuntimeInstance.java Modified: velocity/engine/branches/1.6.x/src/java/org/apache/velocity/runtime/RuntimeInstance.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/1.6.x/src/java/org/apache/velocity/runtime/RuntimeInstance.java?rev=895683&r1=895682&r2=895683&view=diff ============================================================================== --- velocity/engine/branches/1.6.x/src/java/org/apache/velocity/runtime/RuntimeInstance.java (original) +++ velocity/engine/branches/1.6.x/src/java/org/apache/velocity/runtime/RuntimeInstance.java Mon Jan 4 16:29:21 2010 @@ -141,7 +141,7 @@ /** * Indicate whether the Runtime has been fully initialized. */ - private boolean initialized = false; + private volatile boolean initialized = false; /** * These are the properties that are laid down over top From [email protected] Mon Jan 04 16:46:36 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77338 invoked from network); 4 Jan 2010 16:46:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Jan 2010 16:46:36 -0000 Received: (qmail 56274 invoked by uid 500); 4 Jan 2010 16:46:36 -0000 Delivered-To: [email protected] Received: (qmail 56242 invoked by uid 500); 4 Jan 2010 16:46:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.velocity.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 56233 invoked by uid 99); 4 Jan 2010 16:46:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2010 16:46:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2010 16:46:34 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B2B6E238898B; Mon, 4 Jan 2010 16:46:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r895692 - /velocity/engine/branches/1.6.x/src/changes/changes.xml Date: Mon, 04 Jan 2010 16:46:09 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: nbubna Date: Mon Jan 4 16:46:03 2010 New Revision: 895692 URL: http://svn.apache.org/viewvc?rev=895692&view=rev Log: update changelog Modified: velocity/engine/branches/1.6.x/src/changes/changes.xml Modified: velocity/engine/branches/1.6.x/src/changes/changes.xml URL: http://svn.apache.org/viewvc/velocity/engine/branches/1.6.x/src/changes/changes.xml?rev=895692&r1=895691&r2=895692&view=diff ============================================================================== --- velocity/engine/branches/1.6.x/src/changes/changes.xml (original) +++ velocity/engine/branches/1.6.x/src/changes/changes.xml Mon Jan 4 16:46:03 2010 @@ -25,6 +25,21 @@ </properties> <body> + <release version="1.6.4" date="In Subversion"> + <action type="fix" dev="nbubna" issue="VELOCITY-750"> + Fix double-checked locking in RuntimeInstance's optional lazy-init + for Java 1.5+. Users of older JREs in multi-threaded environments + MUST manually call init() on any thread-shared Velocity singleton or + VelocityEngine instances to avoid race conditions. New auto-init + feature is only supported on Java 1.5+. + </action> + <action type="fix" dev="nbubna" issue="VELOCITY-718"> + Fix 100% CPU loop hang under simultaneous HashMap calls in ClassMap + due to classic bug in Sun's implementation. Now uses + ConcurrentHashMap when available and Hashtable otherwise. + </action> + </release> + <release version="1.6.3" date="2009-12-16"> <action type="fix" dev="nbubna" issue="VELOCITY-731" due-to="Jorgen Rydenius"> Add directive.if.tostring.nullcheck config switch to match From [email protected] Mon Jan 04 16:47:00 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77409 invoked from network); 4 Jan 2010 16:47:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Jan 2010 16:47:00 -0000 Received: (qmail 56387 invoked by uid 500); 4 Jan 2010 16:47:00 -0000 Delivered-To: [email protected] Received: (qmail 56352 invoked by uid 500); 4 Jan 2010 16:47:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.velocity.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 56343 invoked by uid 99); 4 Jan 2010 16:47:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2010 16:47:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2010 16:47:00 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id F039A23888D1; Mon, 4 Jan 2010 16:46:39 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r895693 - /velocity/engine/trunk/src/changes/changes.xml Date: Mon, 04 Jan 2010 16:46:36 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: nbubna Date: Mon Jan 4 16:46:31 2010 New Revision: 895693 URL: http://svn.apache.org/viewvc?rev=895693&view=rev Log: update changelog Modified: velocity/engine/trunk/src/changes/changes.xml Modified: velocity/engine/trunk/src/changes/changes.xml URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/changes/changes.xml?rev=895693&r1=895692&r2=895693&view=diff ============================================================================== --- velocity/engine/trunk/src/changes/changes.xml (original) +++ velocity/engine/trunk/src/changes/changes.xml Mon Jan 4 16:46:31 2010 @@ -191,6 +191,29 @@ </release> + <release version="1.6.4" date="In Subversion"> + <action type="fix" dev="nbubna" issue="VELOCITY-750"> + Fix double-checked locking in RuntimeInstance's optional lazy-init + for Java 1.5+. Users of older JREs in multi-threaded environments + MUST manually call init() on any thread-shared Velocity singleton or + VelocityEngine instances to avoid race conditions. New auto-init + feature is only supported on Java 1.5+. + </action> + <action type="fix" dev="nbubna" issue="VELOCITY-718"> + Fix 100% CPU loop hang under simultaneous HashMap calls in ClassMap + due to classic bug in Sun's implementation. Now uses + ConcurrentHashMap when available and Hashtable otherwise. + </action> + </release> + + <release version="1.6.3" date="2009-12-16"> + <action type="fix" dev="nbubna" issue="VELOCITY-731" due-to="Jorgen Rydenius"> + Add directive.if.tostring.nullcheck config switch to match + past performance for those who do not need to check whether + $foo.toString() returns null when doing #if( $foo ). + </action> + </release> + <release version="1.6.2" date="In Subversion"> <action type="fix" dev="nbubna" issue="VELOCITY-702"> From [email protected] Mon Jan 04 16:47:37 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77629 invoked from network); 4 Jan 2010 16:47:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Jan 2010 16:47:37 -0000 Received: (qmail 56565 invoked by uid 500); 4 Jan 2010 16:47:37 -0000 Delivered-To: [email protected] Received: (qmail 56535 invoked by uid 500); 4 Jan 2010 16:47:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.velocity.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 56526 invoked by uid 99); 4 Jan 2010 16:47:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2010 16:47:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2010 16:47:35 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 39E2823889D7; Mon, 4 Jan 2010 16:47:14 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r895694 - /velocity/engine/branches/2.0_Exp/src/changes/changes.xml Date: Mon, 04 Jan 2010 16:47:09 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: nbubna Date: Mon Jan 4 16:47:04 2010 New Revision: 895694 URL: http://svn.apache.org/viewvc?rev=895694&view=rev Log: update changelog Modified: velocity/engine/branches/2.0_Exp/src/changes/changes.xml Modified: velocity/engine/branches/2.0_Exp/src/changes/changes.xml URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/changes/changes.xml?rev=895694&r1=895693&r2=895694&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/changes/changes.xml (original) +++ velocity/engine/branches/2.0_Exp/src/changes/changes.xml Mon Jan 4 16:47:04 2010 @@ -228,6 +228,29 @@ </release> + <release version="1.6.4" date="In Subversion"> + <action type="fix" dev="nbubna" issue="VELOCITY-750"> + Fix double-checked locking in RuntimeInstance's optional lazy-init + for Java 1.5+. Users of older JREs in multi-threaded environments + MUST manually call init() on any thread-shared Velocity singleton or + VelocityEngine instances to avoid race conditions. New auto-init + feature is only supported on Java 1.5+. + </action> + <action type="fix" dev="nbubna" issue="VELOCITY-718"> + Fix 100% CPU loop hang under simultaneous HashMap calls in ClassMap + due to classic bug in Sun's implementation. Now uses + ConcurrentHashMap when available and Hashtable otherwise. + </action> + </release> + + <release version="1.6.3" date="2009-12-16"> + <action type="fix" dev="nbubna" issue="VELOCITY-731" due-to="Jorgen Rydenius"> + Add directive.if.tostring.nullcheck config switch to match + past performance for those who do not need to check whether + $foo.toString() returns null when doing #if( $foo ). + </action> + </release> + <release version="1.6.2" date="In Subversion"> <action type="fix" dev="nbubna" issue="VELOCITY-702"> From [email protected] Mon Jan 04 16:49:34 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78863 invoked from network); 4 Jan 2010 16:49:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Jan 2010 16:49:34 -0000 Received: (qmail 58360 invoked by uid 500); 4 Jan 2010 16:49:34 -0000 Delivered-To: [email protected] Received: (qmail 58326 invoked by uid 500); 4 Jan 2010 16:49:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.velocity.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58317 invoked by uid 99); 4 Jan 2010 16:49:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2010 16:49:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2010 16:49:33 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 45F9223889B9; Mon, 4 Jan 2010 16:49:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r895696 - /velocity/engine/branches/2.0_Exp/src/changes/changes.xml Date: Mon, 04 Jan 2010 16:49:07 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: nbubna Date: Mon Jan 4 16:49:03 2010 New Revision: 895696 URL: http://svn.apache.org/viewvc?rev=895696&view=rev Log: update changelog (2.0 doesn't support pre-1.5) Modified: velocity/engine/branches/2.0_Exp/src/changes/changes.xml Modified: velocity/engine/branches/2.0_Exp/src/changes/changes.xml URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/changes/changes.xml?rev=895696&r1=895695&r2=895696&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/changes/changes.xml (original) +++ velocity/engine/branches/2.0_Exp/src/changes/changes.xml Mon Jan 4 16:49:03 2010 @@ -230,11 +230,7 @@ <release version="1.6.4" date="In Subversion"> <action type="fix" dev="nbubna" issue="VELOCITY-750"> - Fix double-checked locking in RuntimeInstance's optional lazy-init - for Java 1.5+. Users of older JREs in multi-threaded environments - MUST manually call init() on any thread-shared Velocity singleton or - VelocityEngine instances to avoid race conditions. New auto-init - feature is only supported on Java 1.5+. + Fix double-checked locking in RuntimeInstance's optional lazy-init. </action> <action type="fix" dev="nbubna" issue="VELOCITY-718"> Fix 100% CPU loop hang under simultaneous HashMap calls in ClassMap From [email protected] Tue Jan 05 16:00:10 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86967 invoked from network); 5 Jan 2010 16:00:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Jan 2010 16:00:09 -0000 Received: (qmail 26044 invoked by uid 500); 5 Jan 2010 16:00:09 -0000 Delivered-To: [email protected] Received: (qmail 26024 invoked by uid 500); 5 Jan 2010 16:00:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.velocity.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26015 invoked by uid 99); 5 Jan 2010 16:00:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jan 2010 16:00:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jan 2010 16:00:09 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id DFB01238898B; Tue, 5 Jan 2010 15:59:48 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r896109 - /velocity/engine/branches/1.6.x/src/java/org/apache/velocity/runtime/RuntimeInstance.java Date: Tue, 05 Jan 2010 15:59:48 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: nbubna Date: Tue Jan 5 15:59:48 2010 New Revision: 896109 URL: http://svn.apache.org/viewvc?rev=896109&view=rev Log: VELOCITY-750 remove errant initializing variable Modified: velocity/engine/branches/1.6.x/src/java/org/apache/velocity/runtime/RuntimeInstance.java Modified: velocity/engine/branches/1.6.x/src/java/org/apache/velocity/runtime/RuntimeInstance.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/1.6.x/src/java/org/apache/velocity/runtime/RuntimeInstance.java?rev=896109&r1=896108&r2=896109&view=diff ============================================================================== --- velocity/engine/branches/1.6.x/src/java/org/apache/velocity/runtime/RuntimeInstance.java (original) +++ velocity/engine/branches/1.6.x/src/java/org/apache/velocity/runtime/RuntimeInstance.java Tue Jan 5 15:59:48 2010 @@ -282,7 +282,7 @@ */ private void requireInitialization() { - if (!initialized && !initializing) + if (!initialized) { log.debug("Velocity was not initialized! Calling init()..."); try From [email protected] Mon Jan 11 19:36:55 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 725 invoked from network); 11 Jan 2010 19:36:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Jan 2010 19:36:55 -0000 Received: (qmail 53792 invoked by uid 500); 11 Jan 2010 19:36:55 -0000 Delivered-To: [email protected] Received: (qmail 53753 invoked by uid 500); 11 Jan 2010 19:36:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.velocity.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 53742 invoked by uid 99); 11 Jan 2010 19:36:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2010 19:36:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2010 19:36:53 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 241A823888EC; Mon, 11 Jan 2010 19:36:32 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r898028 - in /velocity/engine/trunk: pom.xml src/java/org/apache/velocity/convert/WebMacro.java xdocs/docs/developer-guide.xml Date: Mon, 11 Jan 2010 19:36:32 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: nbubna Date: Mon Jan 11 19:36:31 2010 New Revision: 898028 URL: http://svn.apache.org/viewvc?rev=898028&view=rev Log: VELOCITY-617 deprecate WebMacro and mark ORO optional Modified: velocity/engine/trunk/pom.xml velocity/engine/trunk/src/java/org/apache/velocity/convert/WebMacro.java velocity/engine/trunk/xdocs/docs/developer-guide.xml Modified: velocity/engine/trunk/pom.xml URL: http://svn.apache.org/viewvc/velocity/engine/trunk/pom.xml?rev=898028&r1=898027&r2=898028&view=diff ============================================================================== --- velocity/engine/trunk/pom.xml (original) +++ velocity/engine/trunk/pom.xml Mon Jan 11 19:36:31 2010 @@ -156,6 +156,7 @@ <groupId>oro</groupId> <artifactId>oro</artifactId> <version>2.0.8</version> + <optional>true</optional> </dependency> <dependency> <groupId>jdom</groupId> Modified: velocity/engine/trunk/src/java/org/apache/velocity/convert/WebMacro.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/convert/WebMacro.java?rev=898028&r1=898027&r2=898028&view=diff ============================================================================== --- velocity/engine/trunk/src/java/org/apache/velocity/convert/WebMacro.java (original) +++ velocity/engine/trunk/src/java/org/apache/velocity/convert/WebMacro.java Mon Jan 11 19:36:31 2010 @@ -28,16 +28,12 @@ import org.apache.tools.ant.DirectoryScanner; /** - * This class will convert a WebMacro template to - * a Velocity template. Uses the ORO Regexp package to do the - * rewrites. Note, it isn't 100% perfect, but will definitely get - * you about 99.99% of the way to a converted system. Please - * see the website documentation for more information on how to use - * this class. + * This is deprecated without replacement. * * @author <a href="mailto:[email protected]">Jason van Zyl</a> * @author <a href="mailto:[email protected]">Daniel Rall</a> * @version $Id$ + * @deprecated Obsolete and outdated. */ public class WebMacro { Modified: velocity/engine/trunk/xdocs/docs/developer-guide.xml URL: http://svn.apache.org/viewvc/velocity/engine/trunk/xdocs/docs/developer-guide.xml?rev=898028&r1=898027&r2=898028&view=diff ============================================================================== --- velocity/engine/trunk/xdocs/docs/developer-guide.xml (original) +++ velocity/engine/trunk/xdocs/docs/developer-guide.xml Mon Jan 11 19:36:31 2010 @@ -213,7 +213,8 @@ <a href="http://jakarta.apache.org/oro/index.html"><b>Jakarta ORO</b></a> - optional. Needed when using the <code>org.apache.velocity.convert.WebMacro</code> template conversion - utility. + utility or <code>org.apache.velocity.app.event.implement.EscapeReference</code> + ReferenceInsertionEventHandler. </li> </ul> From [email protected] Mon Jan 11 19:37:28 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 856 invoked from network); 11 Jan 2010 19:37:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Jan 2010 19:37:28 -0000 Received: (qmail 53947 invoked by uid 500); 11 Jan 2010 19:37:28 -0000 Delivered-To: [email protected] Received: (qmail 53915 invoked by uid 500); 11 Jan 2010 19:37:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.velocity.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 53906 invoked by uid 99); 11 Jan 2010 19:37:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2010 19:37:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2010 19:37:26 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A4F1923889B1; Mon, 11 Jan 2010 19:37:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r898029 - in /velocity/engine/branches/2.0_Exp: pom.xml xdocs/docs/developer-guide.xml Date: Mon, 11 Jan 2010 19:37:05 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: nbubna Date: Mon Jan 11 19:37:05 2010 New Revision: 898029 URL: http://svn.apache.org/viewvc?rev=898029&view=rev Log: VELOCITY-617 deprecate WebMacro and mark ORO optional Modified: velocity/engine/branches/2.0_Exp/pom.xml velocity/engine/branches/2.0_Exp/xdocs/docs/developer-guide.xml Modified: velocity/engine/branches/2.0_Exp/pom.xml URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/pom.xml?rev=898029&r1=898028&r2=898029&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/pom.xml (original) +++ velocity/engine/branches/2.0_Exp/pom.xml Mon Jan 11 19:37:05 2010 @@ -164,6 +164,7 @@ <groupId>oro</groupId> <artifactId>oro</artifactId> <version>2.0.8</version> + <optional>true</optional> </dependency> <dependency> <groupId>jdom</groupId> Modified: velocity/engine/branches/2.0_Exp/xdocs/docs/developer-guide.xml URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/xdocs/docs/developer-guide.xml?rev=898029&r1=898028&r2=898029&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/xdocs/docs/developer-guide.xml (original) +++ velocity/engine/branches/2.0_Exp/xdocs/docs/developer-guide.xml Mon Jan 11 19:37:05 2010 @@ -213,7 +213,8 @@ <a href="http://jakarta.apache.org/oro/index.html"><b>Jakarta ORO</b></a> - optional. Needed when using the <code>org.apache.velocity.convert.WebMacro</code> template conversion - utility. + utility or <code>org.apache.velocity.app.event.implement.EscapeReference</code> + ReferenceInsertionEventHandler. </li> </ul> From [email protected] Mon Jan 11 19:51:35 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4710 invoked from network); 11 Jan 2010 19:51:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Jan 2010 19:51:35 -0000 Received: (qmail 84255 invoked by uid 500); 11 Jan 2010 19:51:35 -0000 Delivered-To: [email protected] Received: (qmail 84217 invoked by uid 500); 11 Jan 2010 19:51:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.velocity.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84208 invoked by uid 99); 11 Jan 2010 19:51:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2010 19:51:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2010 19:51:25 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 9CC3023889EC; Mon, 11 Jan 2010 19:51:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r898032 [1/2] - in /velocity/engine/trunk/src: java/org/apache/velocity/ java/org/apache/velocity/context/ java/org/apache/velocity/exception/ java/org/apache/velocity/runtime/directive/ java/org/apache/velocity/runtime/parser/node/ java/or... Date: Mon, 11 Jan 2010 19:51:04 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: nbubna Date: Mon Jan 11 19:51:03 2010 New Revision: 898032 URL: http://svn.apache.org/viewvc?rev=898032&view=rev Log: VELOCITY-674 remove unused imports, add serialVersionUIDs and other things Eclipse complains about (thanks to Jarkko Viinamaki who really needs to finish getting his commit perms) Modified: velocity/engine/trunk/src/java/org/apache/velocity/VelocityContext.java velocity/engine/trunk/src/java/org/apache/velocity/context/ChainedInternalContextAdapter.java velocity/engine/trunk/src/java/org/apache/velocity/context/EvaluateContext.java velocity/engine/trunk/src/java/org/apache/velocity/context/ProxyVMContext.java velocity/engine/trunk/src/java/org/apache/velocity/exception/MathException.java velocity/engine/trunk/src/java/org/apache/velocity/exception/MethodInvocationException.java velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/Block.java velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/BlockMacro.java velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/Evaluate.java velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/Stop.java velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/StopCommand.java velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/VelocimacroProxy.java velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTIndex.java velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTMethod.java velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTStringLiteral.java velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/ResourceCacheImpl.java velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/loader/ResourceLoaderFactory.java velocity/engine/trunk/src/java/org/apache/velocity/util/ClassUtils.java velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/IntrospectorCacheImpl.java velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/LinkingUberspector.java velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/MethodMap.java velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/UberspectImpl.java velocity/engine/trunk/src/test/org/apache/velocity/test/AbsoluteFileResourceLoaderTestCase.java velocity/engine/trunk/src/test/org/apache/velocity/test/BaseTestCase.java velocity/engine/trunk/src/test/org/apache/velocity/test/DefineTestCase.java velocity/engine/trunk/src/test/org/apache/velocity/test/ForeachTestCase.java velocity/engine/trunk/src/test/org/apache/velocity/test/IncludeEventHandlingTestCase.java velocity/engine/trunk/src/test/org/apache/velocity/test/ScopeTestCase.java velocity/engine/trunk/src/test/org/apache/velocity/test/StaticUtilityMethodsTestCase.java velocity/engine/trunk/src/test/org/apache/velocity/test/StrictCompareTestCase.java velocity/engine/trunk/src/test/org/apache/velocity/test/StrictEscapeTestCase.java velocity/engine/trunk/src/test/org/apache/velocity/test/StrictForeachTestCase.java velocity/engine/trunk/src/test/org/apache/velocity/test/StrictMathTestCase.java velocity/engine/trunk/src/test/org/apache/velocity/test/StrictReferenceTestCase.java velocity/engine/trunk/src/test/org/apache/velocity/test/StringConcatenationTestCase.java velocity/engine/trunk/src/test/org/apache/velocity/test/StringResourceLoaderRepositoryTestCase.java velocity/engine/trunk/src/test/org/apache/velocity/test/TextblockTestCase.java velocity/engine/trunk/src/test/org/apache/velocity/test/VarargMethodsTestCase.java velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity537TestCase.java velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity615TestCase.java velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity625TestCase.java velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity629TestCase.java velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity62TestCase.java velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity630TestCase.java velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity631TestCase.java velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity667TestCase.java velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity689TestCase.java velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity701TestCase.java velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity702TestCase.java velocity/engine/trunk/src/test/org/apache/velocity/test/sql/BaseSQLTest.java velocity/engine/trunk/src/test/org/apache/velocity/test/sql/DataSourceResourceLoaderTestCase.java Modified: velocity/engine/trunk/src/java/org/apache/velocity/VelocityContext.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/VelocityContext.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/java/org/apache/velocity/VelocityContext.java (original) +++ velocity/engine/trunk/src/java/org/apache/velocity/VelocityContext.java Mon Jan 11 19:51:03 2010 @@ -20,12 +20,10 @@ */ import java.util.HashMap; -import java.util.Iterator; import java.util.Map; import org.apache.velocity.context.AbstractContext; import org.apache.velocity.context.Context; -import org.apache.velocity.runtime.RuntimeServices; /** * General purpose implemention of the application Context Modified: velocity/engine/trunk/src/java/org/apache/velocity/context/ChainedInternalContextAdapter.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/context/ChainedInternalContextAdapter.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/java/org/apache/velocity/context/ChainedInternalContextAdapter.java (original) +++ velocity/engine/trunk/src/java/org/apache/velocity/context/ChainedInternalContextAdapter.java Mon Jan 11 19:51:03 2010 @@ -19,16 +19,10 @@ * under the License. */ -import java.util.HashSet; -import java.util.Set; import java.util.List; -import org.apache.velocity.VelocityContext; import org.apache.velocity.app.event.EventCartridge; -import org.apache.velocity.runtime.RuntimeConstants; -import org.apache.velocity.runtime.RuntimeServices; import org.apache.velocity.runtime.resource.Resource; -import org.apache.velocity.util.ClassUtils; import org.apache.velocity.util.introspection.IntrospectionCacheData; /** Modified: velocity/engine/trunk/src/java/org/apache/velocity/context/EvaluateContext.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/context/EvaluateContext.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/java/org/apache/velocity/context/EvaluateContext.java (original) +++ velocity/engine/trunk/src/java/org/apache/velocity/context/EvaluateContext.java Mon Jan 11 19:51:03 2010 @@ -21,15 +21,11 @@ import java.util.HashSet; import java.util.Set; -import java.util.List; import org.apache.velocity.VelocityContext; -import org.apache.velocity.app.event.EventCartridge; import org.apache.velocity.runtime.RuntimeConstants; import org.apache.velocity.runtime.RuntimeServices; -import org.apache.velocity.runtime.resource.Resource; import org.apache.velocity.util.ClassUtils; -import org.apache.velocity.util.introspection.IntrospectionCacheData; /** * This is a special, internal-use-only context implementation to be Modified: velocity/engine/trunk/src/java/org/apache/velocity/context/ProxyVMContext.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/context/ProxyVMContext.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/java/org/apache/velocity/context/ProxyVMContext.java (original) +++ velocity/engine/trunk/src/java/org/apache/velocity/context/ProxyVMContext.java Mon Jan 11 19:51:03 2010 @@ -22,10 +22,8 @@ import java.io.StringWriter; import java.util.HashMap; import java.util.HashSet; -import java.util.List; import java.util.Map; -import org.apache.velocity.app.event.EventCartridge; import org.apache.velocity.exception.MethodInvocationException; import org.apache.velocity.exception.VelocityException; import org.apache.velocity.runtime.Renderable; @@ -33,9 +31,6 @@ import org.apache.velocity.runtime.parser.ParserTreeConstants; import org.apache.velocity.runtime.parser.node.ASTReference; import org.apache.velocity.runtime.parser.node.Node; -import org.apache.velocity.runtime.parser.node.ASTBlock; -import org.apache.velocity.runtime.resource.Resource; -import org.apache.velocity.util.introspection.IntrospectionCacheData; /** * Context for Velocity macro arguments. Modified: velocity/engine/trunk/src/java/org/apache/velocity/exception/MathException.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/exception/MathException.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/java/org/apache/velocity/exception/MathException.java (original) +++ velocity/engine/trunk/src/java/org/apache/velocity/exception/MathException.java Mon Jan 11 19:51:03 2010 @@ -28,6 +28,8 @@ */ public class MathException extends VelocityException { + private static final long serialVersionUID = -7966507088645215583L; + public MathException(final String exceptionMessage) { super(exceptionMessage); Modified: velocity/engine/trunk/src/java/org/apache/velocity/exception/MethodInvocationException.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/exception/MethodInvocationException.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/java/org/apache/velocity/exception/MethodInvocationException.java (original) +++ velocity/engine/trunk/src/java/org/apache/velocity/exception/MethodInvocationException.java Mon Jan 11 19:51:03 2010 @@ -1,6 +1,5 @@ package org.apache.velocity.exception; -import org.apache.commons.lang.StringUtils; import org.apache.velocity.runtime.log.Log; /* Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/Block.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/Block.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/Block.java (original) +++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/Block.java Mon Jan 11 19:51:03 2010 @@ -1,178 +1,177 @@ -package org.apache.velocity.runtime.directive; - -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import java.io.Writer; -import java.io.IOException; -import java.io.StringWriter; - -import org.apache.commons.lang.text.StrBuilder; -import org.apache.velocity.context.InternalContextAdapter; -import org.apache.velocity.exception.TemplateInitException; -import org.apache.velocity.exception.VelocityException; -import org.apache.velocity.runtime.Renderable; -import org.apache.velocity.runtime.RuntimeServices; -import org.apache.velocity.runtime.log.Log; -import org.apache.velocity.runtime.parser.node.Node; - -/** - * Directive that puts an unrendered AST block in the context - * under the specified key, postponing rendering until the - * reference is used and rendered. - * - * @author Andrew Tetlaw - * @author Nathan Bubna - * @author <a href="mailto:[email protected]">Jarkko Viinamaki</a> - * @since 1.7 - * @version $Id: Block.java 686842 2008-08-18 18:29:31Z nbubna $ - */ -public abstract class Block extends Directive -{ - protected Node block; - protected Log log; - protected int maxDepth; - protected String key; - - /** - * Return type of this directive. - */ - public int getType() - { - return BLOCK; - } - - /** - * simple init - get the key - */ - public void init(RuntimeServices rs, InternalContextAdapter context, Node node) - throws TemplateInitException - { - super.init(rs, context, node); - - log = rs.getLog(); - - /** - * No checking is done. We just grab the last child node and assume - * that it's the block! - */ - block = node.jjtGetChild(node.jjtGetNumChildren() - 1); - } - - public boolean render(InternalContextAdapter context, Writer writer) - { - preRender(context); - try - { - return block.render(context, writer); - } - catch (IOException e) - { - String msg = "Failed to render " + id(context) + " to writer " - + " at " + Log.formatFileString(this); - - log.error(msg, e); - throw new RuntimeException(msg, e); - } - catch (StopCommand stop) - { - if (!stop.isFor(this)) - { - throw stop; - } - return true; - } - finally - { - postRender(context); - } - } - - /** - * Creates a string identifying the source and location of the block - * definition, and the current template being rendered if that is - * different. - */ - protected String id(InternalContextAdapter context) - { - StrBuilder str = new StrBuilder(100) - .append("block $").append(key); - if (!context.getCurrentTemplateName().equals(getTemplateName())) - { - str.append(" used in ").append(context.getCurrentTemplateName()); - } - return str.toString(); - } - - /** - * actual class placed in the context, holds the context - * being used for the render, as well as the parent (which already holds - * everything else we need). - */ - public static class Reference implements Renderable - { - private InternalContextAdapter context; - private Block parent; - private int depth; - - public Reference(InternalContextAdapter context, Block parent) - { - this.context = context; - this.parent = parent; - } - - /** - * Render the AST of this block into the writer using the context. - */ - public boolean render(InternalContextAdapter context, Writer writer) - { - depth++; - if (depth > parent.maxDepth) - { - /* this is only a debug message, as recursion can - * happen in quasi-innocent situations and is relatively - * harmless due to how we handle it here. - * this is more to help anyone nuts enough to intentionally - * use recursive block definitions and having problems - * pulling it off properly. - */ - parent.log.debug("Max recursion depth reached for " + parent.id(context) - + " at " + Log.formatFileString(parent)); - depth--; - return false; - } - else - { - parent.render(context, writer); - depth--; - return true; - } - } - - public String toString() - { - Writer writer = new StringWriter(); - if (render(context, writer)) - { - return writer.toString(); - } - return null; - } - } -} +package org.apache.velocity.runtime.directive; + +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import java.io.IOException; +import java.io.StringWriter; +import java.io.Writer; + +import org.apache.commons.lang.text.StrBuilder; +import org.apache.velocity.context.InternalContextAdapter; +import org.apache.velocity.exception.TemplateInitException; +import org.apache.velocity.runtime.Renderable; +import org.apache.velocity.runtime.RuntimeServices; +import org.apache.velocity.runtime.log.Log; +import org.apache.velocity.runtime.parser.node.Node; + +/** + * Directive that puts an unrendered AST block in the context + * under the specified key, postponing rendering until the + * reference is used and rendered. + * + * @author Andrew Tetlaw + * @author Nathan Bubna + * @author <a href="mailto:[email protected]">Jarkko Viinamaki</a> + * @since 1.7 + * @version $Id: Block.java 686842 2008-08-18 18:29:31Z nbubna $ + */ +public abstract class Block extends Directive +{ + protected Node block; + protected Log log; + protected int maxDepth; + protected String key; + + /** + * Return type of this directive. + */ + public int getType() + { + return BLOCK; + } + + /** + * simple init - get the key + */ + public void init(RuntimeServices rs, InternalContextAdapter context, Node node) + throws TemplateInitException + { + super.init(rs, context, node); + + log = rs.getLog(); + + /** + * No checking is done. We just grab the last child node and assume + * that it's the block! + */ + block = node.jjtGetChild(node.jjtGetNumChildren() - 1); + } + + public boolean render(InternalContextAdapter context, Writer writer) + { + preRender(context); + try + { + return block.render(context, writer); + } + catch (IOException e) + { + String msg = "Failed to render " + id(context) + " to writer " + + " at " + Log.formatFileString(this); + + log.error(msg, e); + throw new RuntimeException(msg, e); + } + catch (StopCommand stop) + { + if (!stop.isFor(this)) + { + throw stop; + } + return true; + } + finally + { + postRender(context); + } + } + + /** + * Creates a string identifying the source and location of the block + * definition, and the current template being rendered if that is + * different. + */ + protected String id(InternalContextAdapter context) + { + StrBuilder str = new StrBuilder(100) + .append("block $").append(key); + if (!context.getCurrentTemplateName().equals(getTemplateName())) + { + str.append(" used in ").append(context.getCurrentTemplateName()); + } + return str.toString(); + } + + /** + * actual class placed in the context, holds the context + * being used for the render, as well as the parent (which already holds + * everything else we need). + */ + public static class Reference implements Renderable + { + private InternalContextAdapter context; + private Block parent; + private int depth; + + public Reference(InternalContextAdapter context, Block parent) + { + this.context = context; + this.parent = parent; + } + + /** + * Render the AST of this block into the writer using the context. + */ + public boolean render(InternalContextAdapter context, Writer writer) + { + depth++; + if (depth > parent.maxDepth) + { + /* this is only a debug message, as recursion can + * happen in quasi-innocent situations and is relatively + * harmless due to how we handle it here. + * this is more to help anyone nuts enough to intentionally + * use recursive block definitions and having problems + * pulling it off properly. + */ + parent.log.debug("Max recursion depth reached for " + parent.id(context) + + " at " + Log.formatFileString(parent)); + depth--; + return false; + } + else + { + parent.render(context, writer); + depth--; + return true; + } + } + + public String toString() + { + Writer writer = new StringWriter(); + if (render(context, writer)) + { + return writer.toString(); + } + return null; + } + } +} Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/BlockMacro.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/BlockMacro.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/BlockMacro.java (original) +++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/BlockMacro.java Mon Jan 11 19:51:03 2010 @@ -21,9 +21,9 @@ import java.io.IOException; import java.io.Writer; + import org.apache.velocity.context.InternalContextAdapter; import org.apache.velocity.exception.TemplateInitException; -import org.apache.velocity.runtime.Renderable; import org.apache.velocity.runtime.RuntimeConstants; import org.apache.velocity.runtime.RuntimeServices; import org.apache.velocity.runtime.parser.node.Node; Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/Evaluate.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/Evaluate.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/Evaluate.java (original) +++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/Evaluate.java Mon Jan 11 19:51:03 2010 @@ -25,7 +25,6 @@ import org.apache.velocity.context.EvaluateContext; import org.apache.velocity.context.InternalContextAdapter; -import org.apache.velocity.context.InternalContextAdapterImpl; import org.apache.velocity.exception.MethodInvocationException; import org.apache.velocity.exception.ParseErrorException; import org.apache.velocity.exception.ResourceNotFoundException; Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/Stop.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/Stop.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/Stop.java (original) +++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/Stop.java Mon Jan 11 19:51:03 2010 @@ -20,9 +20,9 @@ */ import java.io.Writer; + import org.apache.velocity.context.InternalContextAdapter; import org.apache.velocity.exception.VelocityException; -import org.apache.velocity.runtime.RuntimeInstance; import org.apache.velocity.runtime.RuntimeServices; import org.apache.velocity.runtime.log.Log; import org.apache.velocity.runtime.parser.node.Node; Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/StopCommand.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/StopCommand.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/StopCommand.java (original) +++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/StopCommand.java Mon Jan 11 19:51:03 2010 @@ -1,89 +1,90 @@ -package org.apache.velocity.runtime.directive; - -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import org.apache.velocity.Template; -import org.apache.velocity.runtime.RuntimeInstance; -import org.apache.velocity.runtime.directive.Evaluate; - -/** - * Stop command for directive Control objects. In an ideal JDK, - * this would be able to extend a RuntimeThrowable class, but we - * don't have that. So to avoid the interface changes needed by - * extending Throwable and the potential errant catches were we - * to extend RuntimeException, we'll have to extend Error, - * despite the fact that this is never an error. - * - * @author Nathan Bubna - * @version $Id$ - */ -public class StopCommand extends Error -{ - private Object stopMe; - private boolean nearest = false; - - public StopCommand() - { - this.nearest = true; - } - - public StopCommand(String message) - { - super(message); - } - - public StopCommand(Object stopMe) - { - this.stopMe = stopMe; - } - - public String getMessage() - { - if (stopMe != null) - { - // only create a useful message if requested (which is unlikely) - return "StopCommand: "+stopMe; - } - else - { - return "StopCommand: "+super.getMessage(); - } - } - - public boolean isFor(Object that) - { - if (nearest) // if we're stopping at the first chance - { - // save that for message - stopMe = that; - return true; - } - else if (stopMe != null) // if we have a specified stopping point - { - return (that == stopMe); - } - else // only stop for the top :) - { - return (that instanceof Template || - that instanceof RuntimeInstance || - that instanceof Evaluate); - } - } -} +package org.apache.velocity.runtime.directive; + +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import org.apache.velocity.Template; +import org.apache.velocity.runtime.RuntimeInstance; +import org.apache.velocity.runtime.directive.Evaluate; + +/** + * Stop command for directive Control objects. In an ideal JDK, + * this would be able to extend a RuntimeThrowable class, but we + * don't have that. So to avoid the interface changes needed by + * extending Throwable and the potential errant catches were we + * to extend RuntimeException, we'll have to extend Error, + * despite the fact that this is never an error. + * + * @author Nathan Bubna + * @version $Id$ + */ +public class StopCommand extends Error +{ + private static final long serialVersionUID = 2577683435802825964L; + private Object stopMe; + private boolean nearest = false; + + public StopCommand() + { + this.nearest = true; + } + + public StopCommand(String message) + { + super(message); + } + + public StopCommand(Object stopMe) + { + this.stopMe = stopMe; + } + + public String getMessage() + { + if (stopMe != null) + { + // only create a useful message if requested (which is unlikely) + return "StopCommand: "+stopMe; + } + else + { + return "StopCommand: "+super.getMessage(); + } + } + + public boolean isFor(Object that) + { + if (nearest) // if we're stopping at the first chance + { + // save that for message + stopMe = that; + return true; + } + else if (stopMe != null) // if we have a specified stopping point + { + return (that == stopMe); + } + else // only stop for the top :) + { + return (that instanceof Template || + that instanceof RuntimeInstance || + that instanceof Evaluate); + } + } +} Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/VelocimacroProxy.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/VelocimacroProxy.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/VelocimacroProxy.java (original) +++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/VelocimacroProxy.java Mon Jan 11 19:51:03 2010 @@ -22,7 +22,6 @@ import java.io.IOException; import java.io.Writer; -import org.apache.commons.lang.StringUtils; import org.apache.velocity.context.InternalContextAdapter; import org.apache.velocity.context.ProxyVMContext; import org.apache.velocity.exception.MacroOverflowException; @@ -33,8 +32,6 @@ import org.apache.velocity.runtime.RuntimeConstants; import org.apache.velocity.runtime.RuntimeServices; import org.apache.velocity.runtime.log.Log; -import org.apache.velocity.runtime.parser.ParserTreeConstants; -import org.apache.velocity.runtime.parser.node.ASTDirective; import org.apache.velocity.runtime.parser.node.Node; import org.apache.velocity.runtime.parser.node.SimpleNode; @@ -186,7 +183,6 @@ */ if (maxCallDepth > 0 && maxCallDepth == vmc.getCurrentMacroCallDepth()) { - String templateName = vmc.getCurrentTemplateName(); Object[] stack = vmc.getMacroNameStack(); StringBuffer out = new StringBuffer(100) Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTIndex.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTIndex.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTIndex.java (original) +++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTIndex.java Mon Jan 11 19:51:03 2010 @@ -7,10 +7,7 @@ import org.apache.velocity.runtime.RuntimeConstants; import org.apache.velocity.runtime.log.Log; import org.apache.velocity.runtime.parser.Parser; -import org.apache.velocity.runtime.parser.node.ASTMethod.MethodCacheKey; import org.apache.velocity.util.ClassUtils; -import org.apache.velocity.util.introspection.Info; -import org.apache.velocity.util.introspection.IntrospectionCacheData; import org.apache.velocity.util.introspection.VelMethod; /* Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTMethod.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTMethod.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTMethod.java (original) +++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTMethod.java Mon Jan 11 19:51:03 2010 @@ -33,7 +33,6 @@ import org.apache.velocity.runtime.parser.Parser; import org.apache.velocity.util.ClassUtils; import org.apache.velocity.util.introspection.Info; -import org.apache.velocity.util.introspection.IntrospectionCacheData; import org.apache.velocity.util.introspection.VelMethod; /** Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTStringLiteral.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTStringLiteral.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTStringLiteral.java (original) +++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTStringLiteral.java Mon Jan 11 19:51:03 2010 @@ -23,9 +23,6 @@ import org.apache.commons.lang.text.StrBuilder; import org.apache.velocity.context.InternalContextAdapter; -import org.apache.velocity.exception.MethodInvocationException; -import org.apache.velocity.exception.ParseErrorException; -import org.apache.velocity.exception.ResourceNotFoundException; import org.apache.velocity.exception.TemplateInitException; import org.apache.velocity.exception.VelocityException; import org.apache.velocity.runtime.RuntimeConstants; @@ -33,7 +30,6 @@ import org.apache.velocity.runtime.parser.ParseException; import org.apache.velocity.runtime.parser.Parser; import org.apache.velocity.runtime.parser.Token; -import org.apache.velocity.runtime.visitor.BaseVisitor; /** * ASTStringLiteral support. Will interpolate! Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/ResourceCacheImpl.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/ResourceCacheImpl.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/ResourceCacheImpl.java (original) +++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/ResourceCacheImpl.java Mon Jan 11 19:51:03 2010 @@ -20,10 +20,8 @@ */ import java.util.Collections; -import java.util.HashMap; -import java.util.Hashtable; -import java.util.Map; import java.util.Iterator; +import java.util.Map; import org.apache.commons.collections.map.LRUMap; import org.apache.velocity.runtime.RuntimeConstants; Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/loader/ResourceLoaderFactory.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/loader/ResourceLoaderFactory.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/loader/ResourceLoaderFactory.java (original) +++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/loader/ResourceLoaderFactory.java Mon Jan 11 19:51:03 2010 @@ -22,7 +22,6 @@ import org.apache.velocity.exception.VelocityException; import org.apache.velocity.runtime.RuntimeServices; import org.apache.velocity.util.ClassUtils; -import org.apache.velocity.util.StringUtils; /** * Factory to grab a template loader. Modified: velocity/engine/trunk/src/java/org/apache/velocity/util/ClassUtils.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/util/ClassUtils.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/java/org/apache/velocity/util/ClassUtils.java (original) +++ velocity/engine/trunk/src/java/org/apache/velocity/util/ClassUtils.java Mon Jan 11 19:51:03 2010 @@ -24,7 +24,6 @@ import org.apache.velocity.context.InternalContextAdapter; import org.apache.velocity.exception.MethodInvocationException; import org.apache.velocity.exception.VelocityException; -import org.apache.velocity.runtime.RuntimeServices; import org.apache.velocity.runtime.parser.node.SimpleNode; import org.apache.velocity.runtime.parser.node.ASTMethod.MethodCacheKey; import org.apache.velocity.util.introspection.Info; Modified: velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/IntrospectorCacheImpl.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/IntrospectorCacheImpl.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/IntrospectorCacheImpl.java (original) +++ velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/IntrospectorCacheImpl.java Mon Jan 11 19:51:03 2010 @@ -21,7 +21,6 @@ import java.util.HashMap; import java.util.HashSet; -import java.util.Iterator; import java.util.Map; import java.util.Set; Modified: velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/LinkingUberspector.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/LinkingUberspector.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/LinkingUberspector.java (original) +++ velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/LinkingUberspector.java Mon Jan 11 19:51:03 2010 @@ -21,9 +21,6 @@ import java.util.Iterator; -import org.apache.velocity.runtime.RuntimeServices; -import org.apache.velocity.util.RuntimeServicesAware; - /** * <p> * When the runtime.introspection.uberspect configuration property contains several Modified: velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/MethodMap.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/MethodMap.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/MethodMap.java (original) +++ velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/MethodMap.java Mon Jan 11 19:51:03 2010 @@ -21,11 +21,10 @@ import java.lang.reflect.Method; import java.util.ArrayList; -import java.util.HashMap; import java.util.Iterator; -import java.util.LinkedList; import java.util.List; import java.util.Map; + import org.apache.velocity.util.MapFactory; /** Modified: velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/UberspectImpl.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/UberspectImpl.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/UberspectImpl.java (original) +++ velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/UberspectImpl.java Mon Jan 11 19:51:03 2010 @@ -20,7 +20,6 @@ */ import java.lang.reflect.Array; -import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.Collection; import java.util.Enumeration; Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/AbsoluteFileResourceLoaderTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/AbsoluteFileResourceLoaderTestCase.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/test/org/apache/velocity/test/AbsoluteFileResourceLoaderTestCase.java (original) +++ velocity/engine/trunk/src/test/org/apache/velocity/test/AbsoluteFileResourceLoaderTestCase.java Mon Jan 11 19:51:03 2010 @@ -28,10 +28,8 @@ import org.apache.velocity.Template; import org.apache.velocity.VelocityContext; -import org.apache.velocity.app.Velocity; import org.apache.velocity.app.VelocityEngine; import org.apache.velocity.runtime.RuntimeConstants; -import org.apache.velocity.runtime.RuntimeSingleton; import org.apache.velocity.test.misc.TestLogChute; /** Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/BaseTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/BaseTestCase.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/test/org/apache/velocity/test/BaseTestCase.java (original) +++ velocity/engine/trunk/src/test/org/apache/velocity/test/BaseTestCase.java Mon Jan 11 19:51:03 2010 @@ -22,19 +22,18 @@ import java.io.File; import java.io.IOException; import java.io.StringWriter; -import java.util.ArrayList; -import java.util.Iterator; -import java.util.List; + import junit.framework.TestCase; + import org.apache.oro.text.perl.Perl5Util; import org.apache.velocity.VelocityContext; import org.apache.velocity.app.Velocity; import org.apache.velocity.app.VelocityEngine; -import org.apache.velocity.util.StringUtils; import org.apache.velocity.runtime.RuntimeConstants; -import org.apache.velocity.test.misc.TestLogChute; import org.apache.velocity.runtime.resource.loader.StringResourceLoader; import org.apache.velocity.runtime.resource.util.StringResourceRepository; +import org.apache.velocity.test.misc.TestLogChute; +import org.apache.velocity.util.StringUtils; /** * Base test case that provides utility methods for Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/DefineTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/DefineTestCase.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/test/org/apache/velocity/test/DefineTestCase.java (original) +++ velocity/engine/trunk/src/test/org/apache/velocity/test/DefineTestCase.java Mon Jan 11 19:51:03 2010 @@ -19,7 +19,6 @@ * under the License. */ -import org.apache.velocity.VelocityContext; /** * This class tests the #define directive Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/ForeachTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/ForeachTestCase.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/test/org/apache/velocity/test/ForeachTestCase.java (original) +++ velocity/engine/trunk/src/test/org/apache/velocity/test/ForeachTestCase.java Mon Jan 11 19:51:03 2010 @@ -19,17 +19,11 @@ * under the License. */ -import java.io.StringWriter; import java.util.ArrayList; import java.util.Iterator; import java.util.List; -import junit.framework.TestCase; - -import org.apache.velocity.VelocityContext; -import org.apache.velocity.app.Velocity; import org.apache.velocity.runtime.RuntimeConstants; -import org.apache.velocity.test.misc.TestLogChute; import org.apache.velocity.test.provider.ForeachMethodCallHelper; /** Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/IncludeEventHandlingTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/IncludeEventHandlingTestCase.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/test/org/apache/velocity/test/IncludeEventHandlingTestCase.java (original) +++ velocity/engine/trunk/src/test/org/apache/velocity/test/IncludeEventHandlingTestCase.java Mon Jan 11 19:51:03 2010 @@ -23,8 +23,6 @@ import java.io.FileOutputStream; import java.io.OutputStreamWriter; import java.io.Writer; -import java.util.ArrayList; -import java.util.List; import junit.framework.Test; import junit.framework.TestSuite; Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/ScopeTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/ScopeTestCase.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/test/org/apache/velocity/test/ScopeTestCase.java (original) +++ velocity/engine/trunk/src/test/org/apache/velocity/test/ScopeTestCase.java Mon Jan 11 19:51:03 2010 @@ -1,327 +1,326 @@ -package org.apache.velocity.test; - -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import java.util.HashMap; -import org.apache.velocity.VelocityContext; -import org.apache.velocity.app.VelocityEngine; -import org.apache.velocity.runtime.RuntimeConstants; -import org.apache.velocity.runtime.directive.Scope; - -/** - * This class tests the directive scope controls - */ -public class ScopeTestCase extends BaseTestCase -{ - public ScopeTestCase(String name) - { - super(name); - } - - protected void setUpEngine(VelocityEngine engine) - { - engine.setProperty("a.provide.scope.control", "true"); - engine.setProperty("define.provide.scope.control", "true"); - engine.setProperty("evaluate.provide.scope.control", "true"); - engine.setProperty("foo.provide.scope.control", "true"); - engine.setProperty("macro.provide.scope.control", "true"); - engine.setProperty("template.provide.scope.control", "true"); - engine.setProperty("vm.provide.scope.control", "true"); - engine.setProperty(RuntimeConstants.SET_NULL_ALLOWED, Boolean.TRUE); - } - - public void testScopeGetLeakIntoInner() - { - addTemplate("foo", "#foreach($i in [1..1])#set($foreach.a=$i)"+ - "#foreach($j in [2..2])$foreach.a#set($foreach.a=$j)"+ - "#foreach($k in [3..3])$foreach.a#end#end$foreach.a#end"); - assertTmplEquals("121", "foo"); - } - - public void testScopeGetLeakDoesntHideNullset() - { - addTemplate("a", "#macro(a)#set($macro.a='a')#b()$macro.a#end"+ - "#macro(b)$macro.a#set($macro.a=$null)$!macro.a#end"+ - "#a()"); - assertTmplEquals("aa", "a"); - } - - public void testRootTemplateMergeScope() - { - addTemplate("foo", "foo#break($template)bar"); - assertTmplEquals("foo", "foo"); - assertNull(context.get("template")); - } - - public void testParseScope() - { - addTemplate("test", "$template.depth"+ - "$!parse.parent.depth"+ - "#set( $template.foo = 'bar' )"+ - "$template.foo"+ - "#break($template)"+ - "woogie"); - assertEvalEquals("1bar", "#parse( 'test' )"); - assertNull(context.get("template")); - } - - public void testNestedParseScope() - { - HashMap grab = new HashMap(); - context.put("grab", grab); - - addTemplate("inner", "Inner depth: $template.depth"+ - "#set( $template.foo = '?' )"+ - "$!grab.put('inner',$template)"+ - "#break($template)$template.foo"); - addTemplate("outer", "#set( $template.foo = '!' )"+ - "Outer depth: $template.depth "+ - "#parse('inner')"+ - "$!grab.put('outer', $template)"+ - "$template.foo"); - assertEvalEquals("Outer depth: 1 Inner depth: 2!", "#parse('outer')"); - // make extra sure that the outer control was restored after the stop - assertFalse(grab.get("inner") == grab.get("outer")); - // make sure the outer control was cleaned up - assertNull(context.get("template")); - - addTemplate("3", "$template.topmost.foo#set( $template.topmost.foo = 'bar' )"); - addTemplate("2", "#parse( '3' )$!parse.foo"); - addTemplate("1", "#set( $template.foo = 'foo' )#parse('2')$template.foo"); - assertEvalEquals("foobar", "#parse('1')$!parse"); - // make sure the top control was cleaned up - assertNull(context.get("template")); - } - - public void testForeachScope() - { - String template = "#foreach( $i in [0..2] )"+ - "#if( $i > 1 )#break($foreach)#end"+ - "$foreach.index:$foreach.count:$foreach.hasNext,"+ - "#end"; - assertEvalEquals("0:1:true,1:2:true,", template); - assertNull(context.get("foreach")); - } - - public void testNestedForeachScope() - { - String template = "#foreach( $i in [1..5] )"+ - "#foreach( $j in [1..2] )"+ - "#if ( $i > $foreach.count + $foreach.index + $foreach.depth )#break($foreach.topmost)#end"+ - "#end"+ - "$i"+ - "#end"; - assertEvalEquals("123", template); - assertNull(context.get("foreach")); - } - - public void testMacroScope() - { - String template = "#macro( foo $i )"+ - "#if($i > 2 )#break($macro)#end"+ - "$i#end"+ - "#foo( 0 )#foo( 1 )#foo( 2 )"; - assertEvalEquals("012", template); - assertNull(context.get("macro")); - } - - public void testRecursiveMacroScope() - { - String template = "#macro( foo )$macro.depth"+ - "#if($macro.depth > 2 )#break($macro.topmost)#end"+ - "#foo()#end#foo()"; - assertEvalEquals("123", template); - assertNull(context.get("macro")); - } - - public void testNestedMacroScope() - { - String template = "#macro( a )$macro.depth#set($macro.c = 'a')$macro.c#end"+ - "#macro( b )#set($macro.c = 'b' )#a()$macro.c#end"+ - "#b()"; - assertEvalEquals("2ab", template); - assertNull(context.get("macro")); - } - - public void testBodyMacroScope() - { - String template = "#macro( foo $bar )$bodyContent$macro.bar#end"+ - "#@foo( 'bar' )#set( $macro.bar = 'foo'+$bar )"+ - "#set( $foo.d = $foo.depth )$foo.d #end"; - assertEvalEquals("1 foobar", template); - assertNull(context.get("foo")); - assertNull(context.get("macro")); - } - - public void testRecursiveBodyMacroScope() - { - engine.setProperty(RuntimeConstants.VM_MAX_DEPTH, "5"); - String template = "#macro( foo )$bodyContent$macro.i#end"+ - "#@foo()#set( $macro.i = \"$!macro.i$foo.depth,\" )"+ - "$!bodyContent#end"; - assertEvalEquals("1,2,3,4,5,", template); - assertNull(context.get("foo")); - assertNull(context.get("macro")); - } - - public void testDefineScope() - { - String template = "#define( $foo )#set( $define.bar = 'bar'+$define.depth )$define.bar#end$foo"; - assertEvalEquals("bar1", template); - assertNull(context.get("define")); - } - - public void testNestedDefineScope() - { - String template = "#define($a)$b c#end"+ - "#define($b)$define.depth#break($define.topmost)#end"+ - "$a"; - assertEvalEquals("2", template); - assertNull(context.get("define")); - } - - public void testRecursiveDefineScope() - { - engine.setProperty(RuntimeConstants.DEFINE_DIRECTIVE_MAXDEPTH, "10"); - String template = "#define($a)$define.depth"+ - "#if($define.depth == 5)#break($define)#end,$a#end$a"; - assertEvalEquals("1,2,3,4,5", template); - assertNull(context.get("define")); - } - - public void testRootEvaluateScope() - { - assertEvalEquals("1", "$evaluate.depth"); - assertEvalEquals("foo", "foo#break($evaluate)bar"); - assertNull(context.get("evaluate")); - } - - public void testEvaluateScope() - { - context.put("h", "#"); - context.put("d", "$"); - String template = "${h}set( ${d}evaluate.foo = 'bar' )"+ - "${d}evaluate.foo ${d}evaluate.depth"; - addTemplate("eval", "#evaluate(\""+template+"\")"); - assertTmplEquals("bar 1", "eval"); - assertNull(context.get("evaluate")); - assertNull(context.get("template")); - } - - public void testNestedEvaluateScope() - { - context.put("h", "#"); - context.put("d", "$"); - addTemplate("e", "#evaluate(\"${h}evaluate( '${d}evaluate.depth${h}stop(${d}evaluate) blah' )\")"); - assertTmplEquals("2", "e"); - assertNull(context.get("evaluate")); - assertNull(context.get("template")); - } - - public void testTurningOffTemplateScope() - { - engine.setProperty("template."+RuntimeConstants.PROVIDE_SCOPE_CONTROL, "false"); - // root - addTemplate("test", "$template.depth"); - assertTmplEquals("$template.depth", "test"); - // #parse - assertEvalEquals("$template.depth", "#parse('test')"); - } - - public void testTurningOffEvaluateScope() - { - engine.setProperty("evaluate."+RuntimeConstants.PROVIDE_SCOPE_CONTROL, "false"); - // root - assertSchmoo("$evaluate.depth"); - // #evaluate - assertEvalEquals("$evaluate.depth", "#evaluate( '$evaluate.depth' )"); - } - - public void testTurningOffMacroScope() - { - engine.setProperty("macro."+RuntimeConstants.PROVIDE_SCOPE_CONTROL, "false"); - engine.setProperty("foo."+RuntimeConstants.PROVIDE_SCOPE_CONTROL, "false"); - // macro definition - assertEvalEquals("$macro", "#macro(a)$macro#end#a()"); - // macro body - assertEvalEquals("$macro $foo", "#macro(foo)$bodyContent#end#@foo()$macro $foo#end"); - } - - public void testTurningOffDefineScope() - { - engine.setProperty("define."+RuntimeConstants.PROVIDE_SCOPE_CONTROL, "false"); - assertEvalEquals("$define", "#define($a)$define#end$a"); - } - - public void testTurningOffForeachScope() - { - engine.setProperty("foreach."+RuntimeConstants.PROVIDE_SCOPE_CONTROL, "false"); - assertEvalEquals("$foreach$foreach", "#foreach($i in [0..1])$foreach#end"); - } - - public void testTemplateReplaced() - { - context.put("template", "foo"); - addTemplate("test", "$template.replaced"); - assertTmplEquals("foo", "test"); - assertEvalEquals("foo", "#parse('test')"); - assertContextValue("template", "foo"); - } - - public void testEvaluateReplaced() - { - context.put("evaluate","foo"); - assertEvalEquals("foo", "$evaluate.replaced"); - assertEvalEquals("foo", "#evaluate('$evaluate.replaced')"); - assertContextValue("evaluate", "foo"); - } - - public void testMacroReplaced() - { - context.put("macro", "foo"); - assertEvalEquals("foo foo foo", "$macro #macro(a)$macro.replaced#end#a() $macro"); - assertContextValue("macro", "foo"); - } - - public void testForeachReplaced() - { - context.put("foreach", "foo"); - assertEvalEquals("foofoofoo", "$foreach#foreach($i in [1..1])$foreach.replaced#end$foreach"); - assertEquals("foo", context.get("foreach")); - context.put("foreach", "a"); - assertEvalEquals("a", "#foreach($i in [1..1])#foreach($j in [1..1])$foreach.replaced#end#end"); - assertContextValue("foreach", "a"); - } - - public void testDefineReplaced() - { - context.put("define", "a"); - assertEvalEquals("a", "#define($a)$define.replaced#end$a"); - assertContextValue("define", "a"); - } - - public void testBodyContentReplaced() - { - context.put("vm", "a"); - assertEvalEquals("a", "#macro(vm)$bodyContent#end#@vm()$vm.replaced#end"); - assertContextValue("vm", "a"); - } - -} +package org.apache.velocity.test; + +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import java.util.HashMap; + +import org.apache.velocity.app.VelocityEngine; +import org.apache.velocity.runtime.RuntimeConstants; + +/** + * This class tests the directive scope controls + */ +public class ScopeTestCase extends BaseTestCase +{ + public ScopeTestCase(String name) + { + super(name); + } + + protected void setUpEngine(VelocityEngine engine) + { + engine.setProperty("a.provide.scope.control", "true"); + engine.setProperty("define.provide.scope.control", "true"); + engine.setProperty("evaluate.provide.scope.control", "true"); + engine.setProperty("foo.provide.scope.control", "true"); + engine.setProperty("macro.provide.scope.control", "true"); + engine.setProperty("template.provide.scope.control", "true"); + engine.setProperty("vm.provide.scope.control", "true"); + engine.setProperty(RuntimeConstants.SET_NULL_ALLOWED, Boolean.TRUE); + } + + public void testScopeGetLeakIntoInner() + { + addTemplate("foo", "#foreach($i in [1..1])#set($foreach.a=$i)"+ + "#foreach($j in [2..2])$foreach.a#set($foreach.a=$j)"+ + "#foreach($k in [3..3])$foreach.a#end#end$foreach.a#end"); + assertTmplEquals("121", "foo"); + } + + public void testScopeGetLeakDoesntHideNullset() + { + addTemplate("a", "#macro(a)#set($macro.a='a')#b()$macro.a#end"+ + "#macro(b)$macro.a#set($macro.a=$null)$!macro.a#end"+ + "#a()"); + assertTmplEquals("aa", "a"); + } + + public void testRootTemplateMergeScope() + { + addTemplate("foo", "foo#break($template)bar"); + assertTmplEquals("foo", "foo"); + assertNull(context.get("template")); + } + + public void testParseScope() + { + addTemplate("test", "$template.depth"+ + "$!parse.parent.depth"+ + "#set( $template.foo = 'bar' )"+ + "$template.foo"+ + "#break($template)"+ + "woogie"); + assertEvalEquals("1bar", "#parse( 'test' )"); + assertNull(context.get("template")); + } + + public void testNestedParseScope() + { + HashMap grab = new HashMap(); + context.put("grab", grab); + + addTemplate("inner", "Inner depth: $template.depth"+ + "#set( $template.foo = '?' )"+ + "$!grab.put('inner',$template)"+ + "#break($template)$template.foo"); + addTemplate("outer", "#set( $template.foo = '!' )"+ + "Outer depth: $template.depth "+ + "#parse('inner')"+ + "$!grab.put('outer', $template)"+ + "$template.foo"); + assertEvalEquals("Outer depth: 1 Inner depth: 2!", "#parse('outer')"); + // make extra sure that the outer control was restored after the stop + assertFalse(grab.get("inner") == grab.get("outer")); + // make sure the outer control was cleaned up + assertNull(context.get("template")); + + addTemplate("3", "$template.topmost.foo#set( $template.topmost.foo = 'bar' )"); + addTemplate("2", "#parse( '3' )$!parse.foo"); + addTemplate("1", "#set( $template.foo = 'foo' )#parse('2')$template.foo"); + assertEvalEquals("foobar", "#parse('1')$!parse"); + // make sure the top control was cleaned up + assertNull(context.get("template")); + } + + public void testForeachScope() + { + String template = "#foreach( $i in [0..2] )"+ + "#if( $i > 1 )#break($foreach)#end"+ + "$foreach.index:$foreach.count:$foreach.hasNext,"+ + "#end"; + assertEvalEquals("0:1:true,1:2:true,", template); + assertNull(context.get("foreach")); + } + + public void testNestedForeachScope() + { + String template = "#foreach( $i in [1..5] )"+ + "#foreach( $j in [1..2] )"+ + "#if ( $i > $foreach.count + $foreach.index + $foreach.depth )#break($foreach.topmost)#end"+ + "#end"+ + "$i"+ + "#end"; + assertEvalEquals("123", template); + assertNull(context.get("foreach")); + } + + public void testMacroScope() + { + String template = "#macro( foo $i )"+ + "#if($i > 2 )#break($macro)#end"+ + "$i#end"+ + "#foo( 0 )#foo( 1 )#foo( 2 )"; + assertEvalEquals("012", template); + assertNull(context.get("macro")); + } + + public void testRecursiveMacroScope() + { + String template = "#macro( foo )$macro.depth"+ + "#if($macro.depth > 2 )#break($macro.topmost)#end"+ + "#foo()#end#foo()"; + assertEvalEquals("123", template); + assertNull(context.get("macro")); + } + + public void testNestedMacroScope() + { + String template = "#macro( a )$macro.depth#set($macro.c = 'a')$macro.c#end"+ + "#macro( b )#set($macro.c = 'b' )#a()$macro.c#end"+ + "#b()"; + assertEvalEquals("2ab", template); + assertNull(context.get("macro")); + } + + public void testBodyMacroScope() + { + String template = "#macro( foo $bar )$bodyContent$macro.bar#end"+ + "#@foo( 'bar' )#set( $macro.bar = 'foo'+$bar )"+ + "#set( $foo.d = $foo.depth )$foo.d #end"; + assertEvalEquals("1 foobar", template); + assertNull(context.get("foo")); + assertNull(context.get("macro")); + } + + public void testRecursiveBodyMacroScope() + { + engine.setProperty(RuntimeConstants.VM_MAX_DEPTH, "5"); + String template = "#macro( foo )$bodyContent$macro.i#end"+ + "#@foo()#set( $macro.i = \"$!macro.i$foo.depth,\" )"+ + "$!bodyContent#end"; + assertEvalEquals("1,2,3,4,5,", template); + assertNull(context.get("foo")); + assertNull(context.get("macro")); + } + + public void testDefineScope() + { + String template = "#define( $foo )#set( $define.bar = 'bar'+$define.depth )$define.bar#end$foo"; + assertEvalEquals("bar1", template); + assertNull(context.get("define")); + } + + public void testNestedDefineScope() + { + String template = "#define($a)$b c#end"+ + "#define($b)$define.depth#break($define.topmost)#end"+ + "$a"; + assertEvalEquals("2", template); + assertNull(context.get("define")); + } + + public void testRecursiveDefineScope() + { + engine.setProperty(RuntimeConstants.DEFINE_DIRECTIVE_MAXDEPTH, "10"); + String template = "#define($a)$define.depth"+ + "#if($define.depth == 5)#break($define)#end,$a#end$a"; + assertEvalEquals("1,2,3,4,5", template); + assertNull(context.get("define")); + } + + public void testRootEvaluateScope() + { + assertEvalEquals("1", "$evaluate.depth"); + assertEvalEquals("foo", "foo#break($evaluate)bar"); + assertNull(context.get("evaluate")); + } + + public void testEvaluateScope() + { + context.put("h", "#"); + context.put("d", "$"); + String template = "${h}set( ${d}evaluate.foo = 'bar' )"+ + "${d}evaluate.foo ${d}evaluate.depth"; + addTemplate("eval", "#evaluate(\""+template+"\")"); + assertTmplEquals("bar 1", "eval"); + assertNull(context.get("evaluate")); + assertNull(context.get("template")); + } + + public void testNestedEvaluateScope() + { + context.put("h", "#"); + context.put("d", "$"); + addTemplate("e", "#evaluate(\"${h}evaluate( '${d}evaluate.depth${h}stop(${d}evaluate) blah' )\")"); + assertTmplEquals("2", "e"); + assertNull(context.get("evaluate")); + assertNull(context.get("template")); + } + + public void testTurningOffTemplateScope() + { + engine.setProperty("template."+RuntimeConstants.PROVIDE_SCOPE_CONTROL, "false"); + // root + addTemplate("test", "$template.depth"); + assertTmplEquals("$template.depth", "test"); + // #parse + assertEvalEquals("$template.depth", "#parse('test')"); + } + + public void testTurningOffEvaluateScope() + { + engine.setProperty("evaluate."+RuntimeConstants.PROVIDE_SCOPE_CONTROL, "false"); + // root + assertSchmoo("$evaluate.depth"); + // #evaluate + assertEvalEquals("$evaluate.depth", "#evaluate( '$evaluate.depth' )"); + } + + public void testTurningOffMacroScope() + { + engine.setProperty("macro."+RuntimeConstants.PROVIDE_SCOPE_CONTROL, "false"); + engine.setProperty("foo."+RuntimeConstants.PROVIDE_SCOPE_CONTROL, "false"); + // macro definition + assertEvalEquals("$macro", "#macro(a)$macro#end#a()"); + // macro body + assertEvalEquals("$macro $foo", "#macro(foo)$bodyContent#end#@foo()$macro $foo#end"); + } + + public void testTurningOffDefineScope() + { + engine.setProperty("define."+RuntimeConstants.PROVIDE_SCOPE_CONTROL, "false"); + assertEvalEquals("$define", "#define($a)$define#end$a"); + } + + public void testTurningOffForeachScope() + { + engine.setProperty("foreach."+RuntimeConstants.PROVIDE_SCOPE_CONTROL, "false"); + assertEvalEquals("$foreach$foreach", "#foreach($i in [0..1])$foreach#end"); + } + + public void testTemplateReplaced() + { + context.put("template", "foo"); + addTemplate("test", "$template.replaced"); + assertTmplEquals("foo", "test"); + assertEvalEquals("foo", "#parse('test')"); + assertContextValue("template", "foo"); + } + + public void testEvaluateReplaced() + { + context.put("evaluate","foo"); + assertEvalEquals("foo", "$evaluate.replaced"); + assertEvalEquals("foo", "#evaluate('$evaluate.replaced')"); + assertContextValue("evaluate", "foo"); + } + + public void testMacroReplaced() + { + context.put("macro", "foo"); + assertEvalEquals("foo foo foo", "$macro #macro(a)$macro.replaced#end#a() $macro"); + assertContextValue("macro", "foo"); + } + + public void testForeachReplaced() + { + context.put("foreach", "foo"); + assertEvalEquals("foofoofoo", "$foreach#foreach($i in [1..1])$foreach.replaced#end$foreach"); + assertEquals("foo", context.get("foreach")); + context.put("foreach", "a"); + assertEvalEquals("a", "#foreach($i in [1..1])#foreach($j in [1..1])$foreach.replaced#end#end"); + assertContextValue("foreach", "a"); + } + + public void testDefineReplaced() + { + context.put("define", "a"); + assertEvalEquals("a", "#define($a)$define.replaced#end$a"); + assertContextValue("define", "a"); + } + + public void testBodyContentReplaced() + { + context.put("vm", "a"); + assertEvalEquals("a", "#macro(vm)$bodyContent#end#@vm()$vm.replaced#end"); + assertContextValue("vm", "a"); + } + +} Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/StaticUtilityMethodsTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/StaticUtilityMethodsTestCase.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/test/org/apache/velocity/test/StaticUtilityMethodsTestCase.java (original) +++ velocity/engine/trunk/src/test/org/apache/velocity/test/StaticUtilityMethodsTestCase.java Mon Jan 11 19:51:03 2010 @@ -19,7 +19,6 @@ * under the License. */ -import org.apache.velocity.VelocityContext; /** * This class tests support for putting static utility classes Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/StrictCompareTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/StrictCompareTestCase.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/test/org/apache/velocity/test/StrictCompareTestCase.java (original) +++ velocity/engine/trunk/src/test/org/apache/velocity/test/StrictCompareTestCase.java Mon Jan 11 19:51:03 2010 @@ -19,9 +19,7 @@ * under the License. */ -import org.apache.velocity.exception.MethodInvocationException; import org.apache.velocity.exception.VelocityException; -import org.apache.velocity.exception.ParseErrorException; import org.apache.velocity.runtime.RuntimeConstants; /** Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/StrictEscapeTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/StrictEscapeTestCase.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/test/org/apache/velocity/test/StrictEscapeTestCase.java (original) +++ velocity/engine/trunk/src/test/org/apache/velocity/test/StrictEscapeTestCase.java Mon Jan 11 19:51:03 2010 @@ -17,8 +17,6 @@ * specific language governing permissions and limitations * under the License. */ -import org.apache.velocity.exception.MethodInvocationException; -import org.apache.velocity.exception.ParseErrorException; import org.apache.velocity.runtime.RuntimeConstants; Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/StrictForeachTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/StrictForeachTestCase.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/test/org/apache/velocity/test/StrictForeachTestCase.java (original) +++ velocity/engine/trunk/src/test/org/apache/velocity/test/StrictForeachTestCase.java Mon Jan 11 19:51:03 2010 @@ -21,7 +21,7 @@ import java.util.ArrayList; import java.util.Iterator; -import org.apache.velocity.VelocityContext; + import org.apache.velocity.exception.VelocityException; import org.apache.velocity.runtime.RuntimeConstants; Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/StrictMathTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/StrictMathTestCase.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/test/org/apache/velocity/test/StrictMathTestCase.java (original) +++ velocity/engine/trunk/src/test/org/apache/velocity/test/StrictMathTestCase.java Mon Jan 11 19:51:03 2010 @@ -19,7 +19,6 @@ * under the License. */ -import org.apache.velocity.VelocityContext; import org.apache.velocity.exception.MathException; import org.apache.velocity.runtime.RuntimeConstants; Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/StrictReferenceTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/StrictReferenceTestCase.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/test/org/apache/velocity/test/StrictReferenceTestCase.java (original) +++ velocity/engine/trunk/src/test/org/apache/velocity/test/StrictReferenceTestCase.java Mon Jan 11 19:51:03 2010 @@ -228,7 +228,7 @@ public void setProp(String val) { - this.prop = prop; + this.prop = val; } public String getNullVal() Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/StringConcatenationTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/StringConcatenationTestCase.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/test/org/apache/velocity/test/StringConcatenationTestCase.java (original) +++ velocity/engine/trunk/src/test/org/apache/velocity/test/StringConcatenationTestCase.java Mon Jan 11 19:51:03 2010 @@ -19,9 +19,6 @@ * under the License. */ -import org.apache.velocity.VelocityContext; -import org.apache.velocity.exception.MathException; -import org.apache.velocity.runtime.RuntimeConstants; /** * This class tests support for string concatenation. Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/StringResourceLoaderRepositoryTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/StringResourceLoaderRepositoryTestCase.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/test/org/apache/velocity/test/StringResourceLoaderRepositoryTestCase.java (original) +++ velocity/engine/trunk/src/test/org/apache/velocity/test/StringResourceLoaderRepositoryTestCase.java Mon Jan 11 19:51:03 2010 @@ -20,9 +20,9 @@ */ import java.io.StringWriter; -import junit.framework.Test; -import junit.framework.TestSuite; + import junit.framework.TestCase; + import org.apache.velocity.Template; import org.apache.velocity.VelocityContext; import org.apache.velocity.app.Velocity; Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/TextblockTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/TextblockTestCase.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/test/org/apache/velocity/test/TextblockTestCase.java (original) +++ velocity/engine/trunk/src/test/org/apache/velocity/test/TextblockTestCase.java Mon Jan 11 19:51:03 2010 @@ -19,8 +19,7 @@ * under the License. */ -import org.apache.velocity.runtime.RuntimeConstants; -import org.apache.velocity.runtime.parser.node.ASTTextblock; +import org.apache.velocity.runtime.parser.node.ASTTextblock; /** * This class tests the Textblock directive. Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/VarargMethodsTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/VarargMethodsTestCase.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/test/org/apache/velocity/test/VarargMethodsTestCase.java (original) +++ velocity/engine/trunk/src/test/org/apache/velocity/test/VarargMethodsTestCase.java Mon Jan 11 19:51:03 2010 @@ -19,7 +19,6 @@ * under the License. */ -import java.util.Arrays; import org.apache.velocity.VelocityContext; /** Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity537TestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity537TestCase.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity537TestCase.java (original) +++ velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity537TestCase.java Mon Jan 11 19:51:03 2010 @@ -23,9 +23,8 @@ import org.apache.velocity.VelocityContext; import org.apache.velocity.app.Velocity; import org.apache.velocity.app.VelocityEngine; -import org.apache.velocity.runtime.RuntimeSingleton; -import org.apache.velocity.test.misc.TestLogChute; import org.apache.velocity.test.BaseTestCase; +import org.apache.velocity.test.misc.TestLogChute; /** * Test Case for <a href="https://issues.apache.org/jira/browse/VELOCITY-537">Velocity Issue 537</a>. Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity615TestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity615TestCase.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity615TestCase.java (original) +++ velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity615TestCase.java Mon Jan 11 19:51:03 2010 @@ -20,8 +20,6 @@ */ import org.apache.velocity.test.BaseTestCase; -import org.apache.velocity.VelocityContext; -import org.apache.velocity.runtime.RuntimeConstants; /** * This class tests VELOCITY-615. Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity625TestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity625TestCase.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity625TestCase.java (original) +++ velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity625TestCase.java Mon Jan 11 19:51:03 2010 @@ -20,8 +20,6 @@ */ import org.apache.velocity.test.BaseTestCase; -import org.apache.velocity.VelocityContext; -import org.apache.velocity.runtime.RuntimeConstants; /** * This class tests VELOCITY-625. Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity629TestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity629TestCase.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity629TestCase.java (original) +++ velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity629TestCase.java Mon Jan 11 19:51:03 2010 @@ -20,7 +20,6 @@ */ import org.apache.velocity.test.BaseTestCase; -import org.apache.velocity.runtime.RuntimeConstants; /** * This class tests VELOCITY-629. Make sure string literals Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity62TestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity62TestCase.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity62TestCase.java (original) +++ velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity62TestCase.java Mon Jan 11 19:51:03 2010 @@ -19,9 +19,8 @@ * under the License. */ -import org.apache.velocity.test.BaseTestCase; -import org.apache.velocity.VelocityContext; import org.apache.velocity.runtime.RuntimeConstants; +import org.apache.velocity.test.BaseTestCase; /** * This class tests VELOCITY-62. Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity630TestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity630TestCase.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity630TestCase.java (original) +++ velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity630TestCase.java Mon Jan 11 19:51:03 2010 @@ -20,7 +20,6 @@ */ import org.apache.velocity.test.BaseTestCase; -import org.apache.velocity.runtime.RuntimeConstants; /** * This class tests VELOCITY-630. Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity631TestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity631TestCase.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity631TestCase.java (original) +++ velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity631TestCase.java Mon Jan 11 19:51:03 2010 @@ -20,7 +20,6 @@ */ import org.apache.velocity.test.BaseTestCase; -import org.apache.velocity.runtime.RuntimeConstants; /** * This class tests VELOCITY-631. Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity667TestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity667TestCase.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity667TestCase.java (original) +++ velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity667TestCase.java Mon Jan 11 19:51:03 2010 @@ -20,7 +20,6 @@ */ import org.apache.velocity.test.BaseTestCase; -import org.apache.velocity.runtime.RuntimeConstants; /** * This class tests VELOCITY-667. Make "#macro" throws a parse exception From [email protected] Mon Jan 11 19:51:41 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4763 invoked from network); 11 Jan 2010 19:51:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Jan 2010 19:51:41 -0000 Received: (qmail 84316 invoked by uid 500); 11 Jan 2010 19:51:41 -0000 Delivered-To: [email protected] Received: (qmail 84284 invoked by uid 500); 11 Jan 2010 19:51:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.velocity.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84273 invoked by uid 99); 11 Jan 2010 19:51:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2010 19:51:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2010 19:51:27 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A109F2388A2C; Mon, 11 Jan 2010 19:51:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r898032 [2/2] - in /velocity/engine/trunk/src: java/org/apache/velocity/ java/org/apache/velocity/context/ java/org/apache/velocity/exception/ java/org/apache/velocity/runtime/directive/ java/org/apache/velocity/runtime/parser/node/ java/or... Date: Mon, 11 Jan 2010 19:51:04 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity689TestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity689TestCase.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity689TestCase.java (original) +++ velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity689TestCase.java Mon Jan 11 19:51:03 2010 @@ -1,76 +1,75 @@ -package org.apache.velocity.test.issues; - -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import org.apache.velocity.test.BaseTestCase; -import org.apache.velocity.VelocityContext; -import org.apache.velocity.runtime.RuntimeConstants; - -/** - * This class tests VELOCITY-689. - */ -public class Velocity689TestCase extends BaseTestCase -{ - public Velocity689TestCase(String name) - { - super(name); - //DEBUG = true; - } - - public void setUpContext(VelocityContext ctx) - { - ctx.put("foo", new Foo()); - } - - public void testIt() - { - String template = "$foo.baz, $foo.bar"; - assertEvalEquals("baz, bar", template); - } - - public static interface HasMethod - { - String getBar(); - } - - public static interface HasOtherMethod extends HasMethod - { - String getBaz(); - } - - public static interface NoMethod extends HasOtherMethod - { - // nada! - } - - private static class Foo implements NoMethod - { - public String getBar() - { - return "bar"; - } - - public String getBaz() - { - return "baz"; - } - } - -} +package org.apache.velocity.test.issues; + +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import org.apache.velocity.VelocityContext; +import org.apache.velocity.test.BaseTestCase; + +/** + * This class tests VELOCITY-689. + */ +public class Velocity689TestCase extends BaseTestCase +{ + public Velocity689TestCase(String name) + { + super(name); + //DEBUG = true; + } + + public void setUpContext(VelocityContext ctx) + { + ctx.put("foo", new Foo()); + } + + public void testIt() + { + String template = "$foo.baz, $foo.bar"; + assertEvalEquals("baz, bar", template); + } + + public static interface HasMethod + { + String getBar(); + } + + public static interface HasOtherMethod extends HasMethod + { + String getBaz(); + } + + public static interface NoMethod extends HasOtherMethod + { + // nada! + } + + private static class Foo implements NoMethod + { + public String getBar() + { + return "bar"; + } + + public String getBaz() + { + return "baz"; + } + } + +} Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity701TestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity701TestCase.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity701TestCase.java (original) +++ velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity701TestCase.java Mon Jan 11 19:51:03 2010 @@ -1,74 +1,71 @@ -package org.apache.velocity.test.issues; - -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import java.lang.reflect.Modifier; -import org.apache.velocity.test.BaseTestCase; -import org.apache.velocity.runtime.RuntimeConstants; -import org.apache.velocity.test.misc.TestLogChute; - -/** - * This class tests VELOCITY-701. - */ -public class Velocity701TestCase extends BaseTestCase -{ - public Velocity701TestCase(String name) - { - super(name); - //DEBUG = true; - } - - public void testAbstractClass() - { - context.put("foo", new Foo() { - public String getBar() { - return "bar"; - } - }); - assertEvalEquals("bar", "$foo.bar"); - } - - public static abstract class Foo { - - public abstract String getBar(); - - } - - /* TODO: uncomment for jdk 1.5+ - public void testEnum() - { - context.put("bar", Bar.ONE); - assertEvalEquals("foo", "$bar.foo"); - } - - public static enum Bar { - - ONE(){ - public String getFoo() { - return "foo"; - } - }; - - //This was an abstract method, but Velocity 1.6 quit working with it. - public abstract String getFoo(); - - }*/ - -} +package org.apache.velocity.test.issues; + +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import org.apache.velocity.test.BaseTestCase; + +/** + * This class tests VELOCITY-701. + */ +public class Velocity701TestCase extends BaseTestCase +{ + public Velocity701TestCase(String name) + { + super(name); + //DEBUG = true; + } + + public void testAbstractClass() + { + context.put("foo", new Foo() { + public String getBar() { + return "bar"; + } + }); + assertEvalEquals("bar", "$foo.bar"); + } + + public static abstract class Foo { + + public abstract String getBar(); + + } + + /* TODO: uncomment for jdk 1.5+ + public void testEnum() + { + context.put("bar", Bar.ONE); + assertEvalEquals("foo", "$bar.foo"); + } + + public static enum Bar { + + ONE(){ + public String getFoo() { + return "foo"; + } + }; + + //This was an abstract method, but Velocity 1.6 quit working with it. + public abstract String getFoo(); + + }*/ + +} Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity702TestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity702TestCase.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity702TestCase.java (original) +++ velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity702TestCase.java Mon Jan 11 19:51:03 2010 @@ -1,99 +1,98 @@ -package org.apache.velocity.test.issues; - -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import org.apache.velocity.test.BaseTestCase; -import org.apache.velocity.runtime.RuntimeConstants; -import org.apache.velocity.test.misc.TestLogChute; -import org.apache.velocity.app.VelocityEngine; -import org.apache.velocity.runtime.resource.loader.StringResourceLoader; -import org.apache.velocity.runtime.resource.util.StringResourceRepository; - -/** - * This class tests VELOCITY-702. - */ -public class Velocity702TestCase extends BaseTestCase -{ - public Velocity702TestCase(String name) - { - super(name); - } - - public void setUpEngine(VelocityEngine engine) - { - engine.setProperty(RuntimeConstants.RESOURCE_LOADER, "high,low"); - engine.addProperty("high.resource.loader.class", StringResourceLoader.class.getName()); - engine.addProperty("high.resource.loader.cache", "false"); - engine.addProperty("high.resource.loader.repository.name", "high"); - engine.addProperty("high.resource.loader.repository.static", "false"); - engine.addProperty("high.resource.loader.modificationCheckInterval", "1"); - engine.addProperty("low.resource.loader.class", StringResourceLoader.class.getName()); - engine.addProperty("low.resource.loader.cache", "true"); - engine.addProperty("low.resource.loader.repository.name", "low"); - engine.addProperty("low.resource.loader.repository.static", "false"); - engine.addProperty("low.resource.loader.modificationCheckInterval", "1"); - engine.init(); - } - - public void testIt() throws Exception - { - addToHigh("foo", "foo"); - addToLow("foo", "bar"); - assertTmplEquals("foo", "foo"); - - removeFromHigh("foo"); - assertTmplEquals("bar", "foo"); - - Thread.sleep(1500); - addToHigh("foo", "woogie"); - assertTmplEquals("woogie", "foo"); - } - - private void addToHigh(String name, String content) - { - getHighRepo().putStringResource(name, content); - } - - private void removeFromHigh(String name) - { - getHighRepo().removeStringResource(name); - } - - private StringResourceRepository getHighRepo() - { - return (StringResourceRepository)engine.getApplicationAttribute("high"); - } - - private void addToLow(String name, String content) - { - getLowRepo().putStringResource(name, content); - } - - private void removeFromLow(String name) - { - getLowRepo().removeStringResource(name); - } - - private StringResourceRepository getLowRepo() - { - return (StringResourceRepository)engine.getApplicationAttribute("low"); - } - -} +package org.apache.velocity.test.issues; + +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import org.apache.velocity.app.VelocityEngine; +import org.apache.velocity.runtime.RuntimeConstants; +import org.apache.velocity.runtime.resource.loader.StringResourceLoader; +import org.apache.velocity.runtime.resource.util.StringResourceRepository; +import org.apache.velocity.test.BaseTestCase; + +/** + * This class tests VELOCITY-702. + */ +public class Velocity702TestCase extends BaseTestCase +{ + public Velocity702TestCase(String name) + { + super(name); + } + + public void setUpEngine(VelocityEngine engine) + { + engine.setProperty(RuntimeConstants.RESOURCE_LOADER, "high,low"); + engine.addProperty("high.resource.loader.class", StringResourceLoader.class.getName()); + engine.addProperty("high.resource.loader.cache", "false"); + engine.addProperty("high.resource.loader.repository.name", "high"); + engine.addProperty("high.resource.loader.repository.static", "false"); + engine.addProperty("high.resource.loader.modificationCheckInterval", "1"); + engine.addProperty("low.resource.loader.class", StringResourceLoader.class.getName()); + engine.addProperty("low.resource.loader.cache", "true"); + engine.addProperty("low.resource.loader.repository.name", "low"); + engine.addProperty("low.resource.loader.repository.static", "false"); + engine.addProperty("low.resource.loader.modificationCheckInterval", "1"); + engine.init(); + } + + public void testIt() throws Exception + { + addToHigh("foo", "foo"); + addToLow("foo", "bar"); + assertTmplEquals("foo", "foo"); + + removeFromHigh("foo"); + assertTmplEquals("bar", "foo"); + + Thread.sleep(1500); + addToHigh("foo", "woogie"); + assertTmplEquals("woogie", "foo"); + } + + private void addToHigh(String name, String content) + { + getHighRepo().putStringResource(name, content); + } + + private void removeFromHigh(String name) + { + getHighRepo().removeStringResource(name); + } + + private StringResourceRepository getHighRepo() + { + return (StringResourceRepository)engine.getApplicationAttribute("high"); + } + + private void addToLow(String name, String content) + { + getLowRepo().putStringResource(name, content); + } + + private void removeFromLow(String name) + { + getLowRepo().removeStringResource(name); + } + + private StringResourceRepository getLowRepo() + { + return (StringResourceRepository)engine.getApplicationAttribute("low"); + } + +} Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/sql/BaseSQLTest.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/sql/BaseSQLTest.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/test/org/apache/velocity/test/sql/BaseSQLTest.java (original) +++ velocity/engine/trunk/src/test/org/apache/velocity/test/sql/BaseSQLTest.java Mon Jan 11 19:51:03 2010 @@ -23,8 +23,6 @@ import java.sql.SQLException; import java.sql.Statement; -import javax.sql.DataSource; - import org.apache.velocity.test.BaseTestCase; /** Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/sql/DataSourceResourceLoaderTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/sql/DataSourceResourceLoaderTestCase.java?rev=898032&r1=898031&r2=898032&view=diff ============================================================================== --- velocity/engine/trunk/src/test/org/apache/velocity/test/sql/DataSourceResourceLoaderTestCase.java (original) +++ velocity/engine/trunk/src/test/org/apache/velocity/test/sql/DataSourceResourceLoaderTestCase.java Mon Jan 11 19:51:03 2010 @@ -35,7 +35,6 @@ import org.apache.velocity.app.Velocity; import org.apache.velocity.app.VelocityEngine; import org.apache.velocity.runtime.RuntimeConstants; -import org.apache.velocity.runtime.RuntimeSingleton; import org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader; import org.apache.velocity.test.misc.TestLogChute; From [email protected] Mon Jan 11 20:11:44 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14624 invoked from network); 11 Jan 2010 20:11:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Jan 2010 20:11:44 -0000 Received: (qmail 26120 invoked by uid 500); 11 Jan 2010 20:11:44 -0000 Delivered-To: [email protected] Received: (qmail 26089 invoked by uid 500); 11 Jan 2010 20:11:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.velocity.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26080 invoked by uid 99); 11 Jan 2010 20:11:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2010 20:11:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2010 20:11:28 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 8F40623888E4; Mon, 11 Jan 2010 20:11:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r898045 - in /velocity/engine/branches/2.0_Exp/src: java/org/apache/velocity/ java/org/apache/velocity/exception/ java/org/apache/velocity/runtime/directive/ java/org/apache/velocity/runtime/parser/node/ java/org/apache/velocity/runtime/res... Date: Mon, 11 Jan 2010 20:11:04 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: nbubna Date: Mon Jan 11 20:11:02 2010 New Revision: 898045 URL: http://svn.apache.org/viewvc?rev=898045&view=rev Log: VELOCITY-674 merge Jarkko's patch for the trunk to fix Eclipse warnings Modified: velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/VelocityContext.java velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/exception/MathException.java velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/exception/MethodInvocationException.java velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/directive/Block.java velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/directive/BlockMacro.java velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/directive/Evaluate.java velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/directive/StopCommand.java velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/parser/node/ASTIndex.java velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/parser/node/ASTMethod.java velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/parser/node/ASTStringLiteral.java velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/resource/ResourceCacheImpl.java velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/resource/loader/ResourceLoaderFactory.java velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/util/ClassUtils.java velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/util/introspection/IntrospectorCacheImpl.java velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/util/introspection/LinkingUberspector.java velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/util/introspection/MethodMap.java velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/util/introspection/UberspectImpl.java velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/BaseTestCase.java velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/DefineTestCase.java velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/ForeachTestCase.java velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/ScopeTestCase.java velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StaticUtilityMethodsTestCase.java velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StrictCompareTestCase.java velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StrictEscapeTestCase.java velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StrictForeachTestCase.java velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StrictMathTestCase.java velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StrictReferenceTestCase.java velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StringConcatenationTestCase.java velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StringResourceLoaderRepositoryTestCase.java velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/TextblockTestCase.java velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/VarargMethodsTestCase.java velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity537TestCase.java velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity615TestCase.java velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity625TestCase.java velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity629TestCase.java velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity62TestCase.java velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity631TestCase.java velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity667TestCase.java velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity689TestCase.java velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity701TestCase.java velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity702TestCase.java velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/sql/BaseSQLTest.java velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/sql/DataSourceResourceLoaderTestCase.java Modified: velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/VelocityContext.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/VelocityContext.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/VelocityContext.java (original) +++ velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/VelocityContext.java Mon Jan 11 20:11:02 2010 @@ -20,12 +20,10 @@ */ import java.util.HashMap; -import java.util.Iterator; import java.util.Map; import org.apache.velocity.context.AbstractContext; import org.apache.velocity.context.Context; -import org.apache.velocity.runtime.RuntimeServices; /** * General purpose implemention of the application Context Modified: velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/exception/MathException.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/exception/MathException.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/exception/MathException.java (original) +++ velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/exception/MathException.java Mon Jan 11 20:11:02 2010 @@ -28,6 +28,8 @@ */ public class MathException extends VelocityException { + private static final long serialVersionUID = -7966507088645215583L; + public MathException(final String exceptionMessage) { super(exceptionMessage); Modified: velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/exception/MethodInvocationException.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/exception/MethodInvocationException.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/exception/MethodInvocationException.java (original) +++ velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/exception/MethodInvocationException.java Mon Jan 11 20:11:02 2010 @@ -1,6 +1,5 @@ package org.apache.velocity.exception; -import org.apache.commons.lang.StringUtils; import org.apache.velocity.runtime.log.Log; /* Modified: velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/directive/Block.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/directive/Block.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/directive/Block.java (original) +++ velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/directive/Block.java Mon Jan 11 20:11:02 2010 @@ -1,178 +1,177 @@ -package org.apache.velocity.runtime.directive; - -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import java.io.Writer; -import java.io.IOException; -import java.io.StringWriter; - -import org.apache.commons.lang.text.StrBuilder; -import org.apache.velocity.context.InternalContextAdapter; -import org.apache.velocity.exception.TemplateInitException; -import org.apache.velocity.exception.VelocityException; -import org.apache.velocity.runtime.Renderable; -import org.apache.velocity.runtime.RuntimeServices; -import org.apache.velocity.runtime.log.Log; -import org.apache.velocity.runtime.parser.node.Node; - -/** - * Directive that puts an unrendered AST block in the context - * under the specified key, postponing rendering until the - * reference is used and rendered. - * - * @author Andrew Tetlaw - * @author Nathan Bubna - * @author <a href="mailto:[email protected]">Jarkko Viinamaki</a> - * @since 1.7 - * @version $Id: Block.java 686842 2008-08-18 18:29:31Z nbubna $ - */ -public abstract class Block extends Directive -{ - protected Node block; - protected Log log; - protected int maxDepth; - protected String key; - - /** - * Return type of this directive. - */ - public int getType() - { - return BLOCK; - } - - /** - * simple init - get the key - */ - public void init(RuntimeServices rs, InternalContextAdapter context, Node node) - throws TemplateInitException - { - super.init(rs, context, node); - - log = rs.getLog(); - - /** - * No checking is done. We just grab the last child node and assume - * that it's the block! - */ - block = node.jjtGetChild(node.jjtGetNumChildren() - 1); - } - - public boolean render(InternalContextAdapter context, Writer writer) - { - preRender(context); - try - { - return block.render(context, writer); - } - catch (IOException e) - { - String msg = "Failed to render " + id(context) + " to writer " - + " at " + Log.formatFileString(this); - - log.error(msg, e); - throw new RuntimeException(msg, e); - } - catch (StopCommand stop) - { - if (!stop.isFor(this)) - { - throw stop; - } - return true; - } - finally - { - postRender(context); - } - } - - /** - * Creates a string identifying the source and location of the block - * definition, and the current template being rendered if that is - * different. - */ - protected String id(InternalContextAdapter context) - { - StrBuilder str = new StrBuilder(100) - .append("block $").append(key); - if (!context.getCurrentTemplateName().equals(getTemplateName())) - { - str.append(" used in ").append(context.getCurrentTemplateName()); - } - return str.toString(); - } - - /** - * actual class placed in the context, holds the context - * being used for the render, as well as the parent (which already holds - * everything else we need). - */ - public static class Reference implements Renderable - { - private InternalContextAdapter context; - private Block parent; - private int depth; - - public Reference(InternalContextAdapter context, Block parent) - { - this.context = context; - this.parent = parent; - } - - /** - * Render the AST of this block into the writer using the context. - */ - public boolean render(InternalContextAdapter context, Writer writer) - { - depth++; - if (depth > parent.maxDepth) - { - /* this is only a debug message, as recursion can - * happen in quasi-innocent situations and is relatively - * harmless due to how we handle it here. - * this is more to help anyone nuts enough to intentionally - * use recursive block definitions and having problems - * pulling it off properly. - */ - parent.log.debug("Max recursion depth reached for " + parent.id(context) - + " at " + Log.formatFileString(parent)); - depth--; - return false; - } - else - { - parent.render(context, writer); - depth--; - return true; - } - } - - public String toString() - { - Writer writer = new StringWriter(); - if (render(context, writer)) - { - return writer.toString(); - } - return null; - } - } -} +package org.apache.velocity.runtime.directive; + +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import java.io.IOException; +import java.io.StringWriter; +import java.io.Writer; + +import org.apache.commons.lang.text.StrBuilder; +import org.apache.velocity.context.InternalContextAdapter; +import org.apache.velocity.exception.TemplateInitException; +import org.apache.velocity.runtime.Renderable; +import org.apache.velocity.runtime.RuntimeServices; +import org.apache.velocity.runtime.log.Log; +import org.apache.velocity.runtime.parser.node.Node; + +/** + * Directive that puts an unrendered AST block in the context + * under the specified key, postponing rendering until the + * reference is used and rendered. + * + * @author Andrew Tetlaw + * @author Nathan Bubna + * @author <a href="mailto:[email protected]">Jarkko Viinamaki</a> + * @since 1.7 + * @version $Id: Block.java 686842 2008-08-18 18:29:31Z nbubna $ + */ +public abstract class Block extends Directive +{ + protected Node block; + protected Log log; + protected int maxDepth; + protected String key; + + /** + * Return type of this directive. + */ + public int getType() + { + return BLOCK; + } + + /** + * simple init - get the key + */ + public void init(RuntimeServices rs, InternalContextAdapter context, Node node) + throws TemplateInitException + { + super.init(rs, context, node); + + log = rs.getLog(); + + /** + * No checking is done. We just grab the last child node and assume + * that it's the block! + */ + block = node.jjtGetChild(node.jjtGetNumChildren() - 1); + } + + public boolean render(InternalContextAdapter context, Writer writer) + { + preRender(context); + try + { + return block.render(context, writer); + } + catch (IOException e) + { + String msg = "Failed to render " + id(context) + " to writer " + + " at " + Log.formatFileString(this); + + log.error(msg, e); + throw new RuntimeException(msg, e); + } + catch (StopCommand stop) + { + if (!stop.isFor(this)) + { + throw stop; + } + return true; + } + finally + { + postRender(context); + } + } + + /** + * Creates a string identifying the source and location of the block + * definition, and the current template being rendered if that is + * different. + */ + protected String id(InternalContextAdapter context) + { + StrBuilder str = new StrBuilder(100) + .append("block $").append(key); + if (!context.getCurrentTemplateName().equals(getTemplateName())) + { + str.append(" used in ").append(context.getCurrentTemplateName()); + } + return str.toString(); + } + + /** + * actual class placed in the context, holds the context + * being used for the render, as well as the parent (which already holds + * everything else we need). + */ + public static class Reference implements Renderable + { + private InternalContextAdapter context; + private Block parent; + private int depth; + + public Reference(InternalContextAdapter context, Block parent) + { + this.context = context; + this.parent = parent; + } + + /** + * Render the AST of this block into the writer using the context. + */ + public boolean render(InternalContextAdapter context, Writer writer) + { + depth++; + if (depth > parent.maxDepth) + { + /* this is only a debug message, as recursion can + * happen in quasi-innocent situations and is relatively + * harmless due to how we handle it here. + * this is more to help anyone nuts enough to intentionally + * use recursive block definitions and having problems + * pulling it off properly. + */ + parent.log.debug("Max recursion depth reached for " + parent.id(context) + + " at " + Log.formatFileString(parent)); + depth--; + return false; + } + else + { + parent.render(context, writer); + depth--; + return true; + } + } + + public String toString() + { + Writer writer = new StringWriter(); + if (render(context, writer)) + { + return writer.toString(); + } + return null; + } + } +} Modified: velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/directive/BlockMacro.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/directive/BlockMacro.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/directive/BlockMacro.java (original) +++ velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/directive/BlockMacro.java Mon Jan 11 20:11:02 2010 @@ -21,9 +21,9 @@ import java.io.IOException; import java.io.Writer; + import org.apache.velocity.context.InternalContextAdapter; import org.apache.velocity.exception.TemplateInitException; -import org.apache.velocity.runtime.Renderable; import org.apache.velocity.runtime.RuntimeConstants; import org.apache.velocity.runtime.RuntimeServices; import org.apache.velocity.runtime.parser.node.Node; Modified: velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/directive/Evaluate.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/directive/Evaluate.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/directive/Evaluate.java (original) +++ velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/directive/Evaluate.java Mon Jan 11 20:11:02 2010 @@ -23,7 +23,6 @@ import java.io.StringReader; import java.io.Writer; import org.apache.velocity.context.InternalContextAdapter; -import org.apache.velocity.context.InternalContextAdapterImpl; import org.apache.velocity.exception.MethodInvocationException; import org.apache.velocity.exception.ParseErrorException; import org.apache.velocity.exception.ResourceNotFoundException; Modified: velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/directive/StopCommand.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/directive/StopCommand.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/directive/StopCommand.java (original) +++ velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/directive/StopCommand.java Mon Jan 11 20:11:02 2010 @@ -35,6 +35,7 @@ */ public class StopCommand extends Error { + private static final long serialVersionUID = 2577683435802825964L; private Object stopMe; private boolean nearest = false; Modified: velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/parser/node/ASTIndex.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/parser/node/ASTIndex.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/parser/node/ASTIndex.java (original) +++ velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/parser/node/ASTIndex.java Mon Jan 11 20:11:02 2010 @@ -7,10 +7,7 @@ import org.apache.velocity.runtime.RuntimeConstants; import org.apache.velocity.runtime.log.Log; import org.apache.velocity.runtime.parser.Parser; -import org.apache.velocity.runtime.parser.node.ASTMethod.MethodCacheKey; import org.apache.velocity.util.ClassUtils; -import org.apache.velocity.util.introspection.Info; -import org.apache.velocity.util.introspection.IntrospectionCacheData; import org.apache.velocity.util.introspection.VelMethod; /* Modified: velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/parser/node/ASTMethod.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/parser/node/ASTMethod.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/parser/node/ASTMethod.java (original) +++ velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/parser/node/ASTMethod.java Mon Jan 11 20:11:02 2010 @@ -33,7 +33,6 @@ import org.apache.velocity.runtime.parser.Parser; import org.apache.velocity.util.ClassUtils; import org.apache.velocity.util.introspection.Info; -import org.apache.velocity.util.introspection.IntrospectionCacheData; import org.apache.velocity.util.introspection.VelMethod; /** Modified: velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/parser/node/ASTStringLiteral.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/parser/node/ASTStringLiteral.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/parser/node/ASTStringLiteral.java (original) +++ velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/parser/node/ASTStringLiteral.java Mon Jan 11 20:11:02 2010 @@ -23,9 +23,6 @@ import org.apache.commons.lang.text.StrBuilder; import org.apache.velocity.context.InternalContextAdapter; -import org.apache.velocity.exception.MethodInvocationException; -import org.apache.velocity.exception.ParseErrorException; -import org.apache.velocity.exception.ResourceNotFoundException; import org.apache.velocity.exception.TemplateInitException; import org.apache.velocity.exception.VelocityException; import org.apache.velocity.runtime.RuntimeConstants; @@ -33,7 +30,6 @@ import org.apache.velocity.runtime.parser.ParseException; import org.apache.velocity.runtime.parser.Parser; import org.apache.velocity.runtime.parser.Token; -import org.apache.velocity.runtime.visitor.BaseVisitor; /** * ASTStringLiteral support. Will interpolate! Modified: velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/resource/ResourceCacheImpl.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/resource/ResourceCacheImpl.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/resource/ResourceCacheImpl.java (original) +++ velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/resource/ResourceCacheImpl.java Mon Jan 11 20:11:02 2010 @@ -20,10 +20,8 @@ */ import java.util.Collections; -import java.util.HashMap; -import java.util.Hashtable; -import java.util.Map; import java.util.Iterator; +import java.util.Map; import org.apache.commons.collections.map.LRUMap; import org.apache.velocity.runtime.RuntimeConstants; Modified: velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/resource/loader/ResourceLoaderFactory.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/resource/loader/ResourceLoaderFactory.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/resource/loader/ResourceLoaderFactory.java (original) +++ velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/resource/loader/ResourceLoaderFactory.java Mon Jan 11 20:11:02 2010 @@ -22,7 +22,6 @@ import org.apache.velocity.exception.VelocityException; import org.apache.velocity.runtime.RuntimeServices; import org.apache.velocity.util.ClassUtils; -import org.apache.velocity.util.StringUtils; /** * Factory to grab a template loader. Modified: velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/util/ClassUtils.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/util/ClassUtils.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/util/ClassUtils.java (original) +++ velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/util/ClassUtils.java Mon Jan 11 20:11:02 2010 @@ -24,7 +24,6 @@ import org.apache.velocity.context.InternalContextAdapter; import org.apache.velocity.exception.MethodInvocationException; import org.apache.velocity.exception.VelocityException; -import org.apache.velocity.runtime.RuntimeServices; import org.apache.velocity.runtime.parser.node.SimpleNode; import org.apache.velocity.runtime.parser.node.ASTMethod.MethodCacheKey; import org.apache.velocity.util.introspection.Info; Modified: velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/util/introspection/IntrospectorCacheImpl.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/util/introspection/IntrospectorCacheImpl.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/util/introspection/IntrospectorCacheImpl.java (original) +++ velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/util/introspection/IntrospectorCacheImpl.java Mon Jan 11 20:11:02 2010 @@ -21,7 +21,6 @@ import java.util.HashMap; import java.util.HashSet; -import java.util.Iterator; import java.util.Map; import java.util.Set; Modified: velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/util/introspection/LinkingUberspector.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/util/introspection/LinkingUberspector.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/util/introspection/LinkingUberspector.java (original) +++ velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/util/introspection/LinkingUberspector.java Mon Jan 11 20:11:02 2010 @@ -21,9 +21,6 @@ import java.util.Iterator; -import org.apache.velocity.runtime.RuntimeServices; -import org.apache.velocity.util.RuntimeServicesAware; - /** * <p> * When the runtime.introspection.uberspect configuration property contains several Modified: velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/util/introspection/MethodMap.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/util/introspection/MethodMap.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/util/introspection/MethodMap.java (original) +++ velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/util/introspection/MethodMap.java Mon Jan 11 20:11:02 2010 @@ -22,7 +22,6 @@ import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Iterator; -import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; Modified: velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/util/introspection/UberspectImpl.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/util/introspection/UberspectImpl.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/util/introspection/UberspectImpl.java (original) +++ velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/util/introspection/UberspectImpl.java Mon Jan 11 20:11:02 2010 @@ -20,7 +20,6 @@ */ import java.lang.reflect.Array; -import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.Collection; import java.util.Enumeration; Modified: velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/BaseTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/BaseTestCase.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/BaseTestCase.java (original) +++ velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/BaseTestCase.java Mon Jan 11 20:11:02 2010 @@ -22,18 +22,16 @@ import java.io.File; import java.io.IOException; import java.io.StringWriter; -import java.util.ArrayList; -import java.util.Iterator; -import java.util.List; + import junit.framework.TestCase; import org.apache.velocity.VelocityContext; import org.apache.velocity.app.Velocity; import org.apache.velocity.app.VelocityEngine; -import org.apache.velocity.util.StringUtils; import org.apache.velocity.runtime.RuntimeConstants; -import org.apache.velocity.test.misc.TestLogChute; import org.apache.velocity.runtime.resource.loader.StringResourceLoader; import org.apache.velocity.runtime.resource.util.StringResourceRepository; +import org.apache.velocity.test.misc.TestLogChute; +import org.apache.velocity.util.StringUtils; /** * Base test case that provides utility methods for Modified: velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/DefineTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/DefineTestCase.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/DefineTestCase.java (original) +++ velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/DefineTestCase.java Mon Jan 11 20:11:02 2010 @@ -19,7 +19,6 @@ * under the License. */ -import org.apache.velocity.VelocityContext; /** * This class tests the #define directive Modified: velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/ForeachTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/ForeachTestCase.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/ForeachTestCase.java (original) +++ velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/ForeachTestCase.java Mon Jan 11 20:11:02 2010 @@ -19,17 +19,11 @@ * under the License. */ -import java.io.StringWriter; import java.util.ArrayList; import java.util.Iterator; import java.util.List; -import junit.framework.TestCase; - -import org.apache.velocity.VelocityContext; -import org.apache.velocity.app.Velocity; import org.apache.velocity.runtime.RuntimeConstants; -import org.apache.velocity.test.misc.TestLogChute; import org.apache.velocity.test.provider.ForeachMethodCallHelper; /** Modified: velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/ScopeTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/ScopeTestCase.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/ScopeTestCase.java (original) +++ velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/ScopeTestCase.java Mon Jan 11 20:11:02 2010 @@ -20,10 +20,9 @@ */ import java.util.HashMap; -import org.apache.velocity.VelocityContext; import org.apache.velocity.app.VelocityEngine; import org.apache.velocity.runtime.RuntimeConstants; -import org.apache.velocity.runtime.directive.Scope; + /** * This class tests the directive scope controls Modified: velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StaticUtilityMethodsTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StaticUtilityMethodsTestCase.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StaticUtilityMethodsTestCase.java (original) +++ velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StaticUtilityMethodsTestCase.java Mon Jan 11 20:11:02 2010 @@ -19,7 +19,6 @@ * under the License. */ -import org.apache.velocity.VelocityContext; /** * This class tests support for putting static utility classes Modified: velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StrictCompareTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StrictCompareTestCase.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StrictCompareTestCase.java (original) +++ velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StrictCompareTestCase.java Mon Jan 11 20:11:02 2010 @@ -19,9 +19,7 @@ * under the License. */ -import org.apache.velocity.exception.MethodInvocationException; import org.apache.velocity.exception.VelocityException; -import org.apache.velocity.exception.ParseErrorException; import org.apache.velocity.runtime.RuntimeConstants; /** Modified: velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StrictEscapeTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StrictEscapeTestCase.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StrictEscapeTestCase.java (original) +++ velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StrictEscapeTestCase.java Mon Jan 11 20:11:02 2010 @@ -17,8 +17,6 @@ * specific language governing permissions and limitations * under the License. */ -import org.apache.velocity.exception.MethodInvocationException; -import org.apache.velocity.exception.ParseErrorException; import org.apache.velocity.runtime.RuntimeConstants; Modified: velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StrictForeachTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StrictForeachTestCase.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StrictForeachTestCase.java (original) +++ velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StrictForeachTestCase.java Mon Jan 11 20:11:02 2010 @@ -21,7 +21,7 @@ import java.util.ArrayList; import java.util.Iterator; -import org.apache.velocity.VelocityContext; + import org.apache.velocity.exception.VelocityException; import org.apache.velocity.runtime.RuntimeConstants; Modified: velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StrictMathTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StrictMathTestCase.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StrictMathTestCase.java (original) +++ velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StrictMathTestCase.java Mon Jan 11 20:11:02 2010 @@ -19,7 +19,6 @@ * under the License. */ -import org.apache.velocity.VelocityContext; import org.apache.velocity.exception.MathException; import org.apache.velocity.runtime.RuntimeConstants; Modified: velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StrictReferenceTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StrictReferenceTestCase.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StrictReferenceTestCase.java (original) +++ velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StrictReferenceTestCase.java Mon Jan 11 20:11:02 2010 @@ -228,7 +228,7 @@ public void setProp(String val) { - this.prop = prop; + this.prop = val; } public String getNullVal() Modified: velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StringConcatenationTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StringConcatenationTestCase.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StringConcatenationTestCase.java (original) +++ velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StringConcatenationTestCase.java Mon Jan 11 20:11:02 2010 @@ -19,9 +19,6 @@ * under the License. */ -import org.apache.velocity.VelocityContext; -import org.apache.velocity.exception.MathException; -import org.apache.velocity.runtime.RuntimeConstants; /** * This class tests support for string concatenation. Modified: velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StringResourceLoaderRepositoryTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StringResourceLoaderRepositoryTestCase.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StringResourceLoaderRepositoryTestCase.java (original) +++ velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/StringResourceLoaderRepositoryTestCase.java Mon Jan 11 20:11:02 2010 @@ -20,9 +20,9 @@ */ import java.io.StringWriter; -import junit.framework.Test; -import junit.framework.TestSuite; + import junit.framework.TestCase; + import org.apache.velocity.Template; import org.apache.velocity.VelocityContext; import org.apache.velocity.app.Velocity; Modified: velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/TextblockTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/TextblockTestCase.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/TextblockTestCase.java (original) +++ velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/TextblockTestCase.java Mon Jan 11 20:11:02 2010 @@ -19,8 +19,7 @@ * under the License. */ -import org.apache.velocity.runtime.RuntimeConstants; -import org.apache.velocity.runtime.parser.node.ASTTextblock; +import org.apache.velocity.runtime.parser.node.ASTTextblock; /** * This class tests the Textblock directive. Modified: velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/VarargMethodsTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/VarargMethodsTestCase.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/VarargMethodsTestCase.java (original) +++ velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/VarargMethodsTestCase.java Mon Jan 11 20:11:02 2010 @@ -19,7 +19,6 @@ * under the License. */ -import java.util.Arrays; import org.apache.velocity.VelocityContext; /** Modified: velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity537TestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity537TestCase.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity537TestCase.java (original) +++ velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity537TestCase.java Mon Jan 11 20:11:02 2010 @@ -23,9 +23,8 @@ import org.apache.velocity.VelocityContext; import org.apache.velocity.app.Velocity; import org.apache.velocity.app.VelocityEngine; -import org.apache.velocity.runtime.RuntimeSingleton; -import org.apache.velocity.test.misc.TestLogChute; import org.apache.velocity.test.BaseTestCase; +import org.apache.velocity.test.misc.TestLogChute; /** * Test Case for <a href="https://issues.apache.org/jira/browse/VELOCITY-537">Velocity Issue 537</a>. Modified: velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity615TestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity615TestCase.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity615TestCase.java (original) +++ velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity615TestCase.java Mon Jan 11 20:11:02 2010 @@ -20,8 +20,6 @@ */ import org.apache.velocity.test.BaseTestCase; -import org.apache.velocity.VelocityContext; -import org.apache.velocity.runtime.RuntimeConstants; /** * This class tests VELOCITY-615. Modified: velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity625TestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity625TestCase.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity625TestCase.java (original) +++ velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity625TestCase.java Mon Jan 11 20:11:02 2010 @@ -20,8 +20,6 @@ */ import org.apache.velocity.test.BaseTestCase; -import org.apache.velocity.VelocityContext; -import org.apache.velocity.runtime.RuntimeConstants; /** * This class tests VELOCITY-625. Modified: velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity629TestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity629TestCase.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity629TestCase.java (original) +++ velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity629TestCase.java Mon Jan 11 20:11:02 2010 @@ -20,7 +20,6 @@ */ import org.apache.velocity.test.BaseTestCase; -import org.apache.velocity.runtime.RuntimeConstants; /** * This class tests VELOCITY-629. Make sure string literals Modified: velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity62TestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity62TestCase.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity62TestCase.java (original) +++ velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity62TestCase.java Mon Jan 11 20:11:02 2010 @@ -19,9 +19,8 @@ * under the License. */ -import org.apache.velocity.test.BaseTestCase; -import org.apache.velocity.VelocityContext; import org.apache.velocity.runtime.RuntimeConstants; +import org.apache.velocity.test.BaseTestCase; /** * This class tests VELOCITY-62. Modified: velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity631TestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity631TestCase.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity631TestCase.java (original) +++ velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity631TestCase.java Mon Jan 11 20:11:02 2010 @@ -20,7 +20,6 @@ */ import org.apache.velocity.test.BaseTestCase; -import org.apache.velocity.runtime.RuntimeConstants; /** * This class tests VELOCITY-631. Modified: velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity667TestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity667TestCase.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity667TestCase.java (original) +++ velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity667TestCase.java Mon Jan 11 20:11:02 2010 @@ -20,7 +20,6 @@ */ import org.apache.velocity.test.BaseTestCase; -import org.apache.velocity.runtime.RuntimeConstants; /** * This class tests VELOCITY-667. Make "#macro" throws a parse exception Modified: velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity689TestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity689TestCase.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity689TestCase.java (original) +++ velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity689TestCase.java Mon Jan 11 20:11:02 2010 @@ -1,76 +1,75 @@ -package org.apache.velocity.test.issues; - -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import org.apache.velocity.test.BaseTestCase; -import org.apache.velocity.VelocityContext; -import org.apache.velocity.runtime.RuntimeConstants; - -/** - * This class tests VELOCITY-689. - */ -public class Velocity689TestCase extends BaseTestCase -{ - public Velocity689TestCase(String name) - { - super(name); - //DEBUG = true; - } - - public void setUpContext(VelocityContext ctx) - { - ctx.put("foo", new Foo()); - } - - public void testIt() - { - String template = "$foo.baz, $foo.bar"; - assertEvalEquals("baz, bar", template); - } - - public static interface HasMethod - { - String getBar(); - } - - public static interface HasOtherMethod extends HasMethod - { - String getBaz(); - } - - public static interface NoMethod extends HasOtherMethod - { - // nada! - } - - private static class Foo implements NoMethod - { - public String getBar() - { - return "bar"; - } - - public String getBaz() - { - return "baz"; - } - } - -} +package org.apache.velocity.test.issues; + +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import org.apache.velocity.VelocityContext; +import org.apache.velocity.test.BaseTestCase; + +/** + * This class tests VELOCITY-689. + */ +public class Velocity689TestCase extends BaseTestCase +{ + public Velocity689TestCase(String name) + { + super(name); + //DEBUG = true; + } + + public void setUpContext(VelocityContext ctx) + { + ctx.put("foo", new Foo()); + } + + public void testIt() + { + String template = "$foo.baz, $foo.bar"; + assertEvalEquals("baz, bar", template); + } + + public static interface HasMethod + { + String getBar(); + } + + public static interface HasOtherMethod extends HasMethod + { + String getBaz(); + } + + public static interface NoMethod extends HasOtherMethod + { + // nada! + } + + private static class Foo implements NoMethod + { + public String getBar() + { + return "bar"; + } + + public String getBaz() + { + return "baz"; + } + } + +} Modified: velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity701TestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity701TestCase.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity701TestCase.java (original) +++ velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity701TestCase.java Mon Jan 11 20:11:02 2010 @@ -19,10 +19,7 @@ * under the License. */ -import java.lang.reflect.Modifier; import org.apache.velocity.test.BaseTestCase; -import org.apache.velocity.runtime.RuntimeConstants; -import org.apache.velocity.test.misc.TestLogChute; /** * This class tests VELOCITY-701. Modified: velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity702TestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity702TestCase.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity702TestCase.java (original) +++ velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/issues/Velocity702TestCase.java Mon Jan 11 20:11:02 2010 @@ -1,99 +1,98 @@ -package org.apache.velocity.test.issues; - -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import org.apache.velocity.test.BaseTestCase; -import org.apache.velocity.runtime.RuntimeConstants; -import org.apache.velocity.test.misc.TestLogChute; -import org.apache.velocity.app.VelocityEngine; -import org.apache.velocity.runtime.resource.loader.StringResourceLoader; -import org.apache.velocity.runtime.resource.util.StringResourceRepository; - -/** - * This class tests VELOCITY-702. - */ -public class Velocity702TestCase extends BaseTestCase -{ - public Velocity702TestCase(String name) - { - super(name); - } - - public void setUpEngine(VelocityEngine engine) - { - engine.setProperty(RuntimeConstants.RESOURCE_LOADER, "high,low"); - engine.addProperty("high.resource.loader.class", StringResourceLoader.class.getName()); - engine.addProperty("high.resource.loader.cache", "false"); - engine.addProperty("high.resource.loader.repository.name", "high"); - engine.addProperty("high.resource.loader.repository.static", "false"); - engine.addProperty("high.resource.loader.modificationCheckInterval", "1"); - engine.addProperty("low.resource.loader.class", StringResourceLoader.class.getName()); - engine.addProperty("low.resource.loader.cache", "true"); - engine.addProperty("low.resource.loader.repository.name", "low"); - engine.addProperty("low.resource.loader.repository.static", "false"); - engine.addProperty("low.resource.loader.modificationCheckInterval", "1"); - engine.init(); - } - - public void testIt() throws Exception - { - addToHigh("foo", "foo"); - addToLow("foo", "bar"); - assertTmplEquals("foo", "foo"); - - removeFromHigh("foo"); - assertTmplEquals("bar", "foo"); - - Thread.sleep(1500); - addToHigh("foo", "woogie"); - assertTmplEquals("woogie", "foo"); - } - - private void addToHigh(String name, String content) - { - getHighRepo().putStringResource(name, content); - } - - private void removeFromHigh(String name) - { - getHighRepo().removeStringResource(name); - } - - private StringResourceRepository getHighRepo() - { - return (StringResourceRepository)engine.getApplicationAttribute("high"); - } - - private void addToLow(String name, String content) - { - getLowRepo().putStringResource(name, content); - } - - private void removeFromLow(String name) - { - getLowRepo().removeStringResource(name); - } - - private StringResourceRepository getLowRepo() - { - return (StringResourceRepository)engine.getApplicationAttribute("low"); - } - -} +package org.apache.velocity.test.issues; + +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import org.apache.velocity.app.VelocityEngine; +import org.apache.velocity.runtime.RuntimeConstants; +import org.apache.velocity.runtime.resource.loader.StringResourceLoader; +import org.apache.velocity.runtime.resource.util.StringResourceRepository; +import org.apache.velocity.test.BaseTestCase; + +/** + * This class tests VELOCITY-702. + */ +public class Velocity702TestCase extends BaseTestCase +{ + public Velocity702TestCase(String name) + { + super(name); + } + + public void setUpEngine(VelocityEngine engine) + { + engine.setProperty(RuntimeConstants.RESOURCE_LOADER, "high,low"); + engine.addProperty("high.resource.loader.class", StringResourceLoader.class.getName()); + engine.addProperty("high.resource.loader.cache", "false"); + engine.addProperty("high.resource.loader.repository.name", "high"); + engine.addProperty("high.resource.loader.repository.static", "false"); + engine.addProperty("high.resource.loader.modificationCheckInterval", "1"); + engine.addProperty("low.resource.loader.class", StringResourceLoader.class.getName()); + engine.addProperty("low.resource.loader.cache", "true"); + engine.addProperty("low.resource.loader.repository.name", "low"); + engine.addProperty("low.resource.loader.repository.static", "false"); + engine.addProperty("low.resource.loader.modificationCheckInterval", "1"); + engine.init(); + } + + public void testIt() throws Exception + { + addToHigh("foo", "foo"); + addToLow("foo", "bar"); + assertTmplEquals("foo", "foo"); + + removeFromHigh("foo"); + assertTmplEquals("bar", "foo"); + + Thread.sleep(1500); + addToHigh("foo", "woogie"); + assertTmplEquals("woogie", "foo"); + } + + private void addToHigh(String name, String content) + { + getHighRepo().putStringResource(name, content); + } + + private void removeFromHigh(String name) + { + getHighRepo().removeStringResource(name); + } + + private StringResourceRepository getHighRepo() + { + return (StringResourceRepository)engine.getApplicationAttribute("high"); + } + + private void addToLow(String name, String content) + { + getLowRepo().putStringResource(name, content); + } + + private void removeFromLow(String name) + { + getLowRepo().removeStringResource(name); + } + + private StringResourceRepository getLowRepo() + { + return (StringResourceRepository)engine.getApplicationAttribute("low"); + } + +} Modified: velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/sql/BaseSQLTest.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/sql/BaseSQLTest.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/sql/BaseSQLTest.java (original) +++ velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/sql/BaseSQLTest.java Mon Jan 11 20:11:02 2010 @@ -23,8 +23,6 @@ import java.sql.SQLException; import java.sql.Statement; -import javax.sql.DataSource; - import org.apache.velocity.test.BaseTestCase; /** Modified: velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/sql/DataSourceResourceLoaderTestCase.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/sql/DataSourceResourceLoaderTestCase.java?rev=898045&r1=898044&r2=898045&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/sql/DataSourceResourceLoaderTestCase.java (original) +++ velocity/engine/branches/2.0_Exp/src/test/org/apache/velocity/test/sql/DataSourceResourceLoaderTestCase.java Mon Jan 11 20:11:02 2010 @@ -33,8 +33,8 @@ import org.apache.velocity.Template; import org.apache.velocity.VelocityContext; import org.apache.velocity.app.Velocity; -import org.apache.velocity.runtime.RuntimeSingleton; import org.apache.velocity.test.misc.TestLogChute; +import org.apache.velocity.runtime.RuntimeSingleton; import org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader; From [email protected] Mon Jan 11 20:15:57 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15882 invoked from network); 11 Jan 2010 20:15:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Jan 2010 20:15:57 -0000 Received: (qmail 37145 invoked by uid 500); 11 Jan 2010 20:15:57 -0000 Delivered-To: [email protected] Received: (qmail 37113 invoked by uid 500); 11 Jan 2010 20:15:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.velocity.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 37093 invoked by uid 99); 11 Jan 2010 20:15:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2010 20:15:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2010 20:15:54 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 655DE23888E2; Mon, 11 Jan 2010 20:15:32 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r898050 - in /velocity/engine/trunk/src/java/org/apache/velocity: app/Velocity.java runtime/RuntimeInstance.java runtime/RuntimeServices.java runtime/RuntimeSingleton.java runtime/resource/ResourceManager.java Date: Mon, 11 Jan 2010 20:15:32 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: nbubna Date: Mon Jan 11 20:15:31 2010 New Revision: 898050 URL: http://svn.apache.org/viewvc?rev=898050&view=rev Log: VELOCITY-751 fix incorrect 'throws Exception' stuff (thanks to Jarkko Viinamaki) Modified: velocity/engine/trunk/src/java/org/apache/velocity/app/Velocity.java velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeInstance.java velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeServices.java velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeSingleton.java velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/ResourceManager.java Modified: velocity/engine/trunk/src/java/org/apache/velocity/app/Velocity.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/app/Velocity.java?rev=898050&r1=898049&r2=898050&view=diff ============================================================================== --- velocity/engine/trunk/src/java/org/apache/velocity/app/Velocity.java (original) +++ velocity/engine/trunk/src/java/org/apache/velocity/app/Velocity.java Mon Jan 11 20:15:31 2010 @@ -91,8 +91,6 @@ * plus the properties in the passed in java.util.Properties object * * @param p Properties object containing initialization properties - * @throws Exception When an error during initialization occurs. - * */ public static void init( Properties p ) { @@ -297,7 +295,6 @@ * @throws ParseErrorException The template could not be parsed. * @throws MethodInvocationException A method on a context object could not be invoked. * @throws ResourceNotFoundException A referenced resource could not be loaded. - * @throws Exception Any other exception. */ public static boolean mergeTemplate( String templateName, Context context, Writer writer ) @@ -321,7 +318,6 @@ * @throws ParseErrorException The template could not be parsed. * @throws MethodInvocationException A method on a context object could not be invoked. * @throws ResourceNotFoundException A referenced resource could not be loaded. - * @throws Exception Any other exception. * * @since Velocity v1.1 */ @@ -355,7 +351,6 @@ * from any available source. * @throws ParseErrorException if template cannot be parsed due * to syntax (or other) error. - * @throws Exception if an error occurs in template initialization */ public static Template getTemplate(String name) throws ResourceNotFoundException, ParseErrorException @@ -374,7 +369,6 @@ * from any available source. * @throws ParseErrorException if template cannot be parsed due * to syntax (or other) error. - * @throws Exception if an error occurs in template initialization * * @since Velocity v1.1 */ Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeInstance.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeInstance.java?rev=898050&r1=898049&r2=898050&view=diff ============================================================================== --- velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeInstance.java (original) +++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeInstance.java Mon Jan 11 20:15:31 2010 @@ -246,7 +246,6 @@ * <li>Static Content Include System</li> * <li>Velocimacro System</li> * </ul> - * @throws Exception When an error occured during initialization. */ public synchronized void init() { @@ -639,8 +638,7 @@ * Initialize the Velocity Runtime with a Properties * object. * - * @param p - * @throws Exception When an error occurs during initialization. + * @param p Velocity properties for initialization */ public void init(Properties p) { Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeServices.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeServices.java?rev=898050&r1=898049&r2=898050&view=diff ============================================================================== --- velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeServices.java (original) +++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeServices.java Mon Jan 11 20:15:31 2010 @@ -67,9 +67,8 @@ * <li>Static Content Include System</li> * <li>Velocimacro System</li> * </ul> - * @throws Exception */ - public void init() throws Exception; + public void init(); /** * Allows an external system to set a property in @@ -136,18 +135,16 @@ * object. * * @param p - * @throws Exception */ - public void init(Properties p) throws Exception; + public void init(Properties p); /** * Initialize the Velocity Runtime with the name of * ExtendedProperties object. * * @param configurationFile - * @throws Exception */ - public void init(String configurationFile) throws Exception; + public void init(String configurationFile); /** * Wraps the String in a StringReader and passes it off to @@ -292,7 +289,6 @@ * @throws ResourceNotFoundException if template not found * from any available source. * @throws ParseErrorException - * @throws Exception */ public ContentResource getContent(String name) throws ResourceNotFoundException, ParseErrorException; @@ -307,7 +303,6 @@ * @throws ResourceNotFoundException if template not found * from any available source. * @throws ParseErrorException - * @throws Exception */ public ContentResource getContent( String name, String encoding ) throws ResourceNotFoundException, ParseErrorException; Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeSingleton.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeSingleton.java?rev=898050&r1=898049&r2=898050&view=diff ============================================================================== --- velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeSingleton.java (original) +++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeSingleton.java Mon Jan 11 20:15:31 2010 @@ -309,8 +309,6 @@ * from any available source. * @throws ParseErrorException if template cannot be parsed due * to syntax (or other) error. - * @throws Exception if an error occurs in template initialization - * @throws ParseErrorException When the template could not be parsed. * @see RuntimeInstance#getTemplate(String, String) */ public static Template getTemplate(String name, String encoding) Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/ResourceManager.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/ResourceManager.java?rev=898050&r1=898049&r2=898050&view=diff ============================================================================== --- velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/ResourceManager.java (original) +++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/ResourceManager.java Mon Jan 11 20:15:31 2010 @@ -64,7 +64,6 @@ * from any available source. * @throws ParseErrorException if template cannot be parsed due * to syntax (or other) error. - * @throws Exception if a problem in parse */ public Resource getResource(String resourceName, int resourceType, String encoding ) throws ResourceNotFoundException, ParseErrorException; From [email protected] Mon Jan 11 20:19:42 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16875 invoked from network); 11 Jan 2010 20:19:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Jan 2010 20:19:42 -0000 Received: (qmail 46748 invoked by uid 500); 11 Jan 2010 20:19:41 -0000 Delivered-To: [email protected] Received: (qmail 46712 invoked by uid 500); 11 Jan 2010 20:19:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.velocity.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 46703 invoked by uid 99); 11 Jan 2010 20:19:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2010 20:19:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2010 20:19:40 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E2C4A23888E2; Mon, 11 Jan 2010 20:19:20 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r898052 - in /velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity: app/Velocity.java runtime/RuntimeInstance.java runtime/RuntimeServices.java runtime/RuntimeSingleton.java runtime/resource/ResourceManager.java Date: Mon, 11 Jan 2010 20:19:20 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: nbubna Date: Mon Jan 11 20:19:20 2010 New Revision: 898052 URL: http://svn.apache.org/viewvc?rev=898052&view=rev Log: VELOCITY-751 fix incorrect 'throws Exception' stuff (thanks to Jarkko Viinamaki) Modified: velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/app/Velocity.java velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/RuntimeInstance.java velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/RuntimeServices.java velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/RuntimeSingleton.java velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/resource/ResourceManager.java Modified: velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/app/Velocity.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/app/Velocity.java?rev=898052&r1=898051&r2=898052&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/app/Velocity.java (original) +++ velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/app/Velocity.java Mon Jan 11 20:19:20 2010 @@ -91,8 +91,6 @@ * plus the properties in the passed in java.util.Properties object * * @param p Properties object containing initialization properties - * @throws Exception When an error during initialization occurs. - * */ public static void init( Properties p ) { @@ -234,7 +232,7 @@ } /** - * merges a template and puts the rendered stream into the writer + * Merges a template and puts the rendered stream into the writer * * @param templateName name of template to be used in merge * @param encoding encoding used in template @@ -247,7 +245,6 @@ * @throws ParseErrorException The template could not be parsed. * @throws MethodInvocationException A method on a context object could not be invoked. * @throws ResourceNotFoundException A referenced resource could not be loaded. - * @throws Exception Any other exception. * * @since Velocity v1.1 */ @@ -281,7 +278,6 @@ * from any available source. * @throws ParseErrorException if template cannot be parsed due * to syntax (or other) error. - * @throws Exception if an error occurs in template initialization */ public static Template getTemplate(String name) throws ResourceNotFoundException, ParseErrorException @@ -300,7 +296,6 @@ * from any available source. * @throws ParseErrorException if template cannot be parsed due * to syntax (or other) error. - * @throws Exception if an error occurs in template initialization * * @since Velocity v1.1 */ Modified: velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/RuntimeInstance.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/RuntimeInstance.java?rev=898052&r1=898051&r2=898052&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/RuntimeInstance.java (original) +++ velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/RuntimeInstance.java Mon Jan 11 20:19:20 2010 @@ -248,7 +248,6 @@ * <li>Static Content Include System</li> * <li>Velocimacro System</li> * </ul> - * @throws Exception When an error occured during initialization. */ public synchronized void init() { @@ -641,8 +640,7 @@ * Initialize the Velocity Runtime with a Properties * object. * - * @param p - * @throws Exception When an error occurs during initialization. + * @param p Velocity properties for initialization */ public void init(Properties p) { Modified: velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/RuntimeServices.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/RuntimeServices.java?rev=898052&r1=898051&r2=898052&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/RuntimeServices.java (original) +++ velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/RuntimeServices.java Mon Jan 11 20:19:20 2010 @@ -70,9 +70,8 @@ * <li>Static Content Include System</li> * <li>Velocimacro System</li> * </ul> - * @throws Exception */ - public void init() throws Exception; + public void init(); /** * Allows an external system to set a property in @@ -139,18 +138,16 @@ * object. * * @param p - * @throws Exception */ - public void init(Properties p) throws Exception; + public void init(Properties p); /** * Initialize the Velocity Runtime with the name of * ExtendedProperties object. * * @param configurationFile - * @throws Exception */ - public void init(String configurationFile) throws Exception; + public void init(String configurationFile); /** * Wraps the String in a StringReader and passes it off to @@ -295,7 +292,6 @@ * @throws ResourceNotFoundException if template not found * from any available source. * @throws ParseErrorException - * @throws Exception */ public ContentResource getContent(String name) throws ResourceNotFoundException, ParseErrorException; @@ -310,7 +306,6 @@ * @throws ResourceNotFoundException if template not found * from any available source. * @throws ParseErrorException - * @throws Exception */ public ContentResource getContent( String name, String encoding ) throws ResourceNotFoundException, ParseErrorException; Modified: velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/RuntimeSingleton.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/RuntimeSingleton.java?rev=898052&r1=898051&r2=898052&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/RuntimeSingleton.java (original) +++ velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/RuntimeSingleton.java Mon Jan 11 20:19:20 2010 @@ -311,8 +311,6 @@ * from any available source. * @throws ParseErrorException if template cannot be parsed due * to syntax (or other) error. - * @throws Exception if an error occurs in template initialization - * @throws ParseErrorException When the template could not be parsed. * @see RuntimeInstance#getTemplate(String, String) */ public static Template getTemplate(String name, String encoding) Modified: velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/resource/ResourceManager.java URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/resource/ResourceManager.java?rev=898052&r1=898051&r2=898052&view=diff ============================================================================== --- velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/resource/ResourceManager.java (original) +++ velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/resource/ResourceManager.java Mon Jan 11 20:19:20 2010 @@ -64,7 +64,6 @@ * from any available source. * @throws ParseErrorException if template cannot be parsed due * to syntax (or other) error. - * @throws Exception if a problem in parse */ public Resource getResource(String resourceName, int resourceType, String encoding ) throws ResourceNotFoundException, ParseErrorException;
From [email protected] Tue Jan 04 10:54:09 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94178 invoked from network); 4 Jan 2011 10:54:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Jan 2011 10:54:09 -0000 Received: (qmail 10449 invoked by uid 500); 4 Jan 2011 10:54:09 -0000 Delivered-To: [email protected] Received: (qmail 10214 invoked by uid 500); 4 Jan 2011 10:54:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 10196 invoked by uid 99); 4 Jan 2011 10:54:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jan 2011 10:54:06 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iw0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jan 2011 10:53:58 +0000 Received: by iwn2 with SMTP id 2so13916844iwn.30 for <[email protected]>; Tue, 04 Jan 2011 02:53:37 -0800 (PST) Received: by 161.129.204.104 with SMTP id kx6mr22127545icb.360.1294138417238; Tue, 04 Jan 2011 02:53:37 -0800 (PST) Received: from [161.129.204.104] (AMarseille-552-1-135-102.w92-150.abo.wanadoo.fr [161.129.204.104]) by mx.google.com with ESMTPS id k38sm18526024ick.9.2161.129.204.104.53.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 04 Jan 2011 02:53:36 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 04 Jan 2011 11:53:37 +0100 From: Gilles Gaillard <[email protected]> Reply-To: Gilles Gaillard <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:161.129.204.104) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: [Avro C] Interoperability with Java Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, we'd like to use Avro for inter process communication between C and Java using regular sockets and we noted that there is not yet an implementation ready for RPC with Avro-C. Our requirements do not include to have a full 'block-mode' RPC and therefore we would be happy with an asynchronous mode where no return value is expected when a message is sent. So using the IDL, that's equivalent to defining messages as methods with a void return value. With the current implementation of Avro-C, we see the following questions and would like to know if anybody has answers or has already thought about a solution - or even better code that is ready to go ;-) - On August 25, there were commits reverted in preparation for 1.4.0 branch (949400, 947962, 947389, 947385, and 947299) for AVRO-441, AVRO-464, AVRO-466, AVRO-549, and AVRO-552. Do you plan to plan to incorporate them back in a near future - since the branch for 1.4.x now exists ? Specifically: AVRO-551 / 552 - Build for Win32 AVRO-549 - Route memory management through an allocator interface - We would like to avoid any unnecessary data copies when transferring byte arrays (defined with "type" : "bytes" in the schema). In java the binary encoder takes care of encoding the messages in a list of buffers - this is called 'Message Framing' in the Avro specification - which can then be transferred as such on the wire. For arrays of bytes this often mean they're simply passed through and sent separately which means they're nicely read from the wire and processed at no cost when decoding. My understanding is that such framing does not exists in Avro-C. Has anybody already written this or have stub for it (and similar for decoding) ? Using this message framing would then allow to use the avro_reader_memory (a modified version of it). Another way to go would be to write an avro_socket_reader (to be added in the avro_io_type_t enum) Any hint, what's the best way to go ? Thanks, -- Gilles From [email protected] Tue Jan 04 19:18:54 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29302 invoked from network); 4 Jan 2011 19:18:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Jan 2011 19:18:54 -0000 Received: (qmail 2138 invoked by uid 500); 4 Jan 2011 19:18:53 -0000 Delivered-To: [email protected] Received: (qmail 2075 invoked by uid 500); 4 Jan 2011 19:18:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 2067 invoked by uid 99); 4 Jan 2011 19:18:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jan 2011 19:18:52 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 04 Jan 2011 19:18:52 +0000 Received: (qmail 29237 invoked by uid 99); 4 Jan 2011 19:18:31 -0000 Received: from localhost.apache.org (HELO [161.129.204.104]) (161.129.204.104) (smtp-auth username cutting, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jan 2011 19:18:31 +0000 Message-ID: <[email protected]> Date: Tue, 04 Jan 2011 11:18:30 -0800 From: Doug Cutting <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:161.129.204.104) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: [Avro C] Interoperability with Java References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 01/04/2011 02:53 AM, Gilles Gaillard wrote: > Our requirements do not include to have a full 'block-mode' RPC and > therefore we would be happy with an asynchronous mode where no return > value is expected when a message is sent. So using the IDL, that's > equivalent to defining messages as methods with a void return value. For fire-and-forget semantics, in addition to returning void and declaring no errors, you should add '"one-way": true' to message declarations. A handshake request is still required before the first request on a connection. The simplest handshake implementation would always send the client's protocol (clientProtocol!=null). The server should then respond with either match=BOTH or match=NONE. If you'll never receive responses, you can ignore the rest of the handshake response. After the handshake, if all messages are one-way, the server will never write any more data over the connection. http://avro.apache.org/docs/current/spec.html#handshake Also, implementing the anonymous SASL mechanism is easy and future-proofs your wire format should you ever wish to add authentication or encryption: http://avro.apache.org/docs/current/sasl.html#anonymous > - On August 25, there were commits reverted in preparation for 1.4.0 > branch (949400, 947962, 947389, 947385, and 947299) for AVRO-441, > AVRO-464, AVRO-466, AVRO-549, and AVRO-552. Do you plan to plan to > incorporate them back in a near future - since the branch for 1.4.x > now exists ? > Specifically: > AVRO-551 / 552 - Build for Win32 > AVRO-549 - Route memory management through an allocator interface Bruce told me then that these changes were incomplete and not ready for release. We're now preparing for a 1.5 release. Bruce, should we re-introduce these changes now? > My understanding is that such framing does not exists in Avro-C. Has > anybody already written this or have stub for it (and similar for > decoding) ? Not to my knowledge. Bruce? Matt? Doug From [email protected] Tue Jan 04 19:24:55 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31686 invoked from network); 4 Jan 2011 19:24:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Jan 2011 19:24:55 -0000 Received: (qmail 10150 invoked by uid 500); 4 Jan 2011 19:24:55 -0000 Delivered-To: [email protected] Received: (qmail 10120 invoked by uid 500); 4 Jan 2011 19:24:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 10112 invoked by uid 99); 4 Jan 2011 19:24:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jan 2011 19:24:55 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 04 Jan 2011 19:24:53 +0000 Received: (qmail 31490 invoked by uid 99); 4 Jan 2011 19:24:32 -0000 Received: from localhost.apache.org (HELO [161.129.204.104]) (161.129.204.104) (smtp-auth username cutting, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jan 2011 19:24:32 +0000 Message-ID: <[email protected]> Date: Tue, 04 Jan 2011 11:24:31 -0800 From: Doug Cutting <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:161.129.204.104) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: GenericData.Array doesn't support set(index, object) References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 12/20/2010 02:30 PM, Chase Bradford wrote: > I get an UnsupportedOperationException when trying to use set() on a > GenericData.Array backed list. Is this by design or can I submit a > patch that implements it? A patch would be welcome. Thanks, Doug From [email protected] Sat Jan 08 08:35:46 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3816 invoked from network); 8 Jan 2011 08:35:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Jan 2011 08:35:45 -0000 Received: (qmail 25833 invoked by uid 500); 8 Jan 2011 08:35:45 -0000 Delivered-To: [email protected] Received: (qmail 25589 invoked by uid 500); 8 Jan 2011 08:35:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 25581 invoked by uid 99); 8 Jan 2011 08:35:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Jan 2011 08:35:42 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yw0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Jan 2011 08:35:36 +0000 Received: by yws5 with SMTP id 5so6921073yws.30 for <[email protected]>; Sat, 08 Jan 2011 00:35:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=5Z3VivaiaFBak4/hx5d1NWj02z8Vm5/r6A7pzzwqX+s=; b=q+m+wu9IHi0FxMKNqCf4H/Jbb8qmLn87QBYJ4VsyOKv0oGu0Y360icS6cr27/ebNek 8HtUTCJjvov6VbvZrGJ+XXN1QAzJqG6ToXAUmlBinRAn39dORCBHNlEhB6YrbYdczQgR y6h5kVwtDPex2AH+jP/McY4wslSif7qkgQkJY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=QCzvuSg3yTdvE44szF0hjntCyrMElcmnuUYUPTDzyvfcY+VFvNONgRwKowDZuuiwlm 2zcNiINsYBudyzn5lX5aueEGsTBAJkIJJNQB0Yodmqav3Hz4QZy88EIL15Js/parQ+nV mqeAmlCnHxCckyzTgCVCdNNouyfNdYbqrYBS4= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id r11mr6562581yhg.95.1294475715399; Sat, 08 Jan 2011 00:35:15 -0800 (PST) Received: by 161.129.204.104 with HTTP; Sat, 8 Jan 2011 00:35:15 -0800 (PST) Date: Sat, 8 Jan 2011 17:35:15 +0900 Message-ID: <[email protected]> Subject: reading avro data file on HDFS From: Tatsuya Mori <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Hi, I am trying to read avro data file on HDFS. The following code gives the error attached at the bottom, even though I use SpecificDatumReader. The Weather class is taken from test of org.apache.avro.mapred. Any comments/suggestions are highly appreciated. Thanks. Tatsuya [code] String input = "hdfs:/user/mori/weather.avro"; Path inPath = new Path(input); FileSystem fs = FileSystem.get(URI.create(input), new Configuration()); BufferedInputStream inStream = new BufferedInputStream(fs.open(inPath)); DatumReader<Weather> reader = new SpecificDatumReader<Weather>(Weather.class); DataFileStream<Weather> fileReader = new DataFileStream<Weather>(inStream, reader); while (fileReader.hasNext()) { Weather w = (Weather) FileReader.next(); System.out.printf("%s\n", w.station); } [error] Exception in thread "main" java.lang.ClassCastException: org.apache.avro.generic.GenericData$Record cannot be cast to test.Weather at TestWeather.main(TestWeather.java:103) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.hadoop.util.RunJar.main(RunJar.java:156) From [email protected] Mon Jan 10 04:39:54 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33403 invoked from network); 10 Jan 2011 04:39:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Jan 2011 04:39:54 -0000 Received: (qmail 46961 invoked by uid 500); 10 Jan 2011 04:39:54 -0000 Delivered-To: [email protected] Received: (qmail 46709 invoked by uid 500); 10 Jan 2011 04:39:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 46698 invoked by uid 99); 10 Jan 2011 04:39:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jan 2011 04:39:50 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ww0-f49.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jan 2011 04:39:44 +0000 Received: by wwb17 with SMTP id 17so19724215wwb.30 for <[email protected]>; Sun, 09 Jan 2011 20:39:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=MJeI9d/tup5RNjENTw8Pybwod9zZF3Vha6lIdjjrSZo=; b=oHaaCY+HwsNlD37SAfd/Vqz5MTJy7SR2webpu+5FHOvLWheyLw/i9dW7Tnez7Dtl+L uUbb7AsnU/DLZPS8N4TealMaUt8hVtC8vEZOxceFAtnY+qjFUOru5HIYwjEQsgr7NI7U ow8XxRdDtnr/shKH39EOid0iCglClDsSAY28o= 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:content-transfer-encoding; b=PbxImQmvkG3umWPkw19e2F3ukiRfj8GYi6zogCN95LhApui1ckv5DNgVYoeimnrZA4 4RZZSBpikn4pylXag2NlcBC/28XmGGtFnzufIz/4c+wzeo0CAKDItbu0QY+fAimLxt9s ScRhlTFOUtsQdnSv1bZYoIvWbK9BFd4LBvcTQ= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id l45mr1333857wel.79.1294634362755; Sun, 09 Jan 2011 20:39:22 -0800 (PST) Received: by 161.129.204.104 with HTTP; Sun, 9 Jan 2011 20:39:22 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Sun, 9 Jan 2011 20:39:22 -0800 Message-ID: <[email protected]> Subject: Re: GenericData.Array doesn't support set(index, object) From: Chase Bradford <[email protected]> To: [email protected] Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Great. I opened AVRO-730 and have attached a patch implementing set(int, T) and remove(). Thanks, Chase On Tue, Jan 4, 2011 at 11:24 AM, Doug Cutting <[email protected]> wrote: > On 12/20/2010 02:30 PM, Chase Bradford wrote: >> >> I get an UnsupportedOperationException when trying to use set() on a >> GenericData.Array backed list. =A0Is this by design or can I submit a >> patch that implements it? > > A patch would be welcome. > > Thanks, > > Doug > --=20 Chase Bradford =93If in physics there's something you don't understand, you can always hide behind the uncharted depths of nature. But if your program doesn't work, there is no obstinate nature. If it doesn't work, you've messed up.=94 - Edsger Dijkstra From [email protected] Mon Jan 10 19:27:37 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62804 invoked from network); 10 Jan 2011 19:27:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Jan 2011 19:27:37 -0000 Received: (qmail 13061 invoked by uid 500); 10 Jan 2011 19:27:37 -0000 Delivered-To: [email protected] Received: (qmail 12997 invoked by uid 500); 10 Jan 2011 19:27:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 12989 invoked by uid 99); 10 Jan 2011 19:27:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jan 2011 19:27:35 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 10 Jan 2011 19:27:34 +0000 Received: (qmail 62758 invoked by uid 99); 10 Jan 2011 19:27:12 -0000 Received: from localhost.apache.org (HELO [161.129.204.104]) (161.129.204.104) (smtp-auth username cutting, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jan 2011 19:27:12 +0000 Message-ID: <[email protected]> Date: Mon, 10 Jan 2011 11:27:10 -0800 From: Doug Cutting <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:161.129.204.104) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: Some questions for Avro References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 12/07/2010 03:06 AM, Xingen Wang wrote: > I just want my rpc framework be able to transport any objects through > network without any modification in the existing schema definition. > > Can I achieve this objective with Avro Perhaps. A way to do this is to define a general schema. If, for example, your objects were named records whose named fields could be null, boolean, long, double, string or a nested record value, then your schema might be something like: {"name":"data", "type":"record", "fields":[ {"name":"value", "type": ["null", "boolean", "long", "double" "string", {"name":"record", "type":"record", "fields":[ {"name":"fields", "type": {"type":"array", "items": {"name":"field", "type":"record", "fields":[ {"name":"name", "type":"string"}, {"name":"value", "type":"data"} ]} } }]} ]} Note that this is almost a schema for the JSON data model. Doug > On Tue, Dec 7, 2010 at 9:12 AM, Jeff Hammerbacher <[email protected] > <mailto:[email protected]>> wrote: > > Hey Xingen, > > 1. Does the json schema support extends? e.g. First, I define an > general-purpose json schema named "Object", and in other json > schema, try to extends this "Object". > > > Avro IDL supports includes: > http://avro.apache.org/docs/current/idl.html#imports. It does not > support extensions, to the best of my knowledge. Perhaps you could > file a feature request at https://issues.apache.org/jira/browse/AVRO? > > 2. In the primitive types, I can't find one type that can > represent any objects. I tried "record", but you have to specify > "name" and "fields" for it. > > > You could make a union of all of the primitive types? I'm not sure > exactly what you're trying to accomplish with this question though. > > Thanks, > Jeff > > > > > -- > Xingen Wang From [email protected] Mon Jan 10 20:34:55 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14415 invoked from network); 10 Jan 2011 20:34:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Jan 2011 20:34:55 -0000 Received: (qmail 30170 invoked by uid 500); 10 Jan 2011 20:34:55 -0000 Delivered-To: [email protected] Received: (qmail 30091 invoked by uid 500); 10 Jan 2011 20:34:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30083 invoked by uid 99); 10 Jan 2011 20:34:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jan 2011 20:34:54 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 10 Jan 2011 20:34:52 +0000 Received: (qmail 14318 invoked by uid 99); 10 Jan 2011 20:34:31 -0000 Received: from localhost.apache.org (HELO [161.129.204.104]) (161.129.204.104) (smtp-auth username cutting, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jan 2011 20:34:31 +0000 Message-ID: <[email protected]> Date: Mon, 10 Jan 2011 12:34:30 -0800 From: Doug Cutting <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:161.129.204.104) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: reading avro data file on HDFS References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Tatsuya, Are you sure that the schema in weather.avro file is named "test.Weather"? In trunk, if SpecificDatumReader cannot find the class named in a schema, it will use GenericData$Record. What version of Avro are you using? Doug On 01/08/2011 12:35 AM, Tatsuya Mori wrote: > Hi, > > I am trying to read avro data file on HDFS. The following code gives > the error attached at the bottom, even though I use > SpecificDatumReader. The Weather class is taken from test of > org.apache.avro.mapred. > Any comments/suggestions are highly appreciated. Thanks. > > Tatsuya > > [code] > String input = "hdfs:/user/mori/weather.avro"; > Path inPath = new Path(input); > > FileSystem fs = FileSystem.get(URI.create(input), > new Configuration()); > BufferedInputStream inStream = > new BufferedInputStream(fs.open(inPath)); > > DatumReader<Weather> reader = > new SpecificDatumReader<Weather>(Weather.class); > DataFileStream<Weather> fileReader = > new DataFileStream<Weather>(inStream, reader); > > while (fileReader.hasNext()) { > Weather w = (Weather) FileReader.next(); > System.out.printf("%s\n", w.station); > } > > [error] > Exception in thread "main" java.lang.ClassCastException: > org.apache.avro.generic.GenericData$Record cannot be cast to > test.Weather > at TestWeather.main(TestWeather.java:103) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at org.apache.hadoop.util.RunJar.main(RunJar.java:156) From [email protected] Tue Jan 11 04:17:52 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84167 invoked from network); 11 Jan 2011 04:17:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Jan 2011 04:17:52 -0000 Received: (qmail 20418 invoked by uid 500); 11 Jan 2011 04:17:52 -0000 Delivered-To: [email protected] Received: (qmail 20165 invoked by uid 500); 11 Jan 2011 04:17:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 20157 invoked by uid 99); 11 Jan 2011 04:17:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jan 2011 04:17:51 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iw0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jan 2011 04:17:44 +0000 Received: by iwn2 with SMTP id 2so19483897iwn.30 for <[email protected]>; Mon, 10 Jan 2011 20:17:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=bsG7FW223we0PoVX9CLGmUfCUaaavEicdCvNRWFOKBU=; b=JWFzA/lO0h4uIJ7nzFeRgSOnPIvYxpn/XEx7dVmmo7YWjG262RiYPdyrX3gYx1jrT1 wz4iPfLN0QzB0BhnCsGtQ+mAdDbab1lhOwIS2ynu/6pv27BMBDXnB6OD7GodJkwiAHk8 IOCFzbN0IzyJsFDFqJED/CTZ6sSWSq+fOgcsY= 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=vBFfn1QNYcxAvx9bUZvQ4ZidZPdhArnItGirnu73mY2PPrYgDn4uaqbeu+yNhJ7Wtd bf4dCuHB3slFUP7L8KntR8hjX6WVEShV3idhJ7Ozbn5uudY5PVR91uDxzyEapECRQowW f8kN/po0BfUo2VYQht8f4umJ+dD+7BCRC5MEc= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id f12mr13622662ibe.126.1294719443038; Mon, 10 Jan 2011 20:17:23 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 10 Jan 2011 20:17:22 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Tue, 11 Jan 2011 12:17:22 +0800 Message-ID: <[email protected]> Subject: Re: Some questions for Avro From: Xingen Wang <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00032557335a7c727e04998a5c5f X-Virus-Checked: Checked by ClamAV on apache.org --00032557335a7c727e04998a5c5f Content-Type: text/plain; charset=ISO-8859-1 Thanks, Doug, I will try it in my project. On Tue, Jan 11, 2011 at 3:27 AM, Doug Cutting <[email protected]> wrote: > On 12/07/2010 03:06 AM, Xingen Wang wrote: > >> I just want my rpc framework be able to transport any objects through >> network without any modification in the existing schema definition. >> >> Can I achieve this objective with Avro >> > > Perhaps. A way to do this is to define a general schema. If, for example, > your objects were named records whose named fields could be null, boolean, > long, double, string or a nested record value, then your schema might be > something like: > > {"name":"data", "type":"record", "fields":[ > {"name":"value", "type": > ["null", > "boolean", > "long", > "double" > "string", > {"name":"record", "type":"record", "fields":[ > {"name":"fields", "type": > {"type":"array", "items": > {"name":"field", "type":"record", "fields":[ > {"name":"name", "type":"string"}, > {"name":"value", "type":"data"} > ]} > } > }]} > ]} > > Note that this is almost a schema for the JSON data model. > > Doug > > On Tue, Dec 7, 2010 at 9:12 AM, Jeff Hammerbacher <[email protected] >> <mailto:[email protected]>> wrote: >> >> Hey Xingen, >> >> 1. Does the json schema support extends? e.g. First, I define an >> general-purpose json schema named "Object", and in other json >> schema, try to extends this "Object". >> >> >> Avro IDL supports includes: >> http://avro.apache.org/docs/current/idl.html#imports. It does not >> support extensions, to the best of my knowledge. Perhaps you could >> file a feature request at https://issues.apache.org/jira/browse/AVRO? >> >> 2. In the primitive types, I can't find one type that can >> represent any objects. I tried "record", but you have to specify >> "name" and "fields" for it. >> >> >> You could make a union of all of the primitive types? I'm not sure >> exactly what you're trying to accomplish with this question though. >> >> Thanks, >> Jeff >> >> >> >> >> -- >> Xingen Wang >> > -- Xingen Wang --00032557335a7c727e04998a5c5f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks, Doug,<div><br></div><div>I will try it in my project.<br><br><div c= lass=3D"gmail_quote">On Tue, Jan 11, 2011 at 3:27 AM, Doug Cutting <span di= r=3D"ltr">&lt;<a href=3D"mailto:[email protected]">[email protected]</a>&= gt;</span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex;"><div class=3D"im">On 12/07/2010 03:06 AM, X= ingen Wang wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> =A0I just want my rpc framework be able to transport any objects through<b= r> network without any modification in the existing schema definition.<br> <br> Can I achieve this objective with Avro<br> </blockquote> <br></div> Perhaps. =A0A way to do this is to define a general schema. =A0If, for exam= ple, your objects were named records whose named fields could be null, bool= ean, long, double, string or a nested record value, then your schema might = be something like:<br> <br> {&quot;name&quot;:&quot;data&quot;, &quot;type&quot;:&quot;record&quot;, &q= uot;fields&quot;:[<br> =A0{&quot;name&quot;:&quot;value&quot;, &quot;type&quot;:<br> =A0 =A0[&quot;null&quot;,<br> =A0 =A0 &quot;boolean&quot;,<br> =A0 =A0 &quot;long&quot;,<br> =A0 =A0 &quot;double&quot;<br> =A0 =A0 &quot;string&quot;,<br> =A0 =A0 {&quot;name&quot;:&quot;record&quot;, &quot;type&quot;:&quot;recor= d&quot;, &quot;fields&quot;:[<br> =A0 =A0 =A0 {&quot;name&quot;:&quot;fields&quot;, &quot;type&quot;:<br> =A0 =A0 =A0 =A0 {&quot;type&quot;:&quot;array&quot;, &quot;items&quot;:<br= > =A0 =A0 =A0 =A0 =A0 {&quot;name&quot;:&quot;field&quot;, &quot;type&quot;:= &quot;record&quot;, &quot;fields&quot;:[<br> =A0 =A0 =A0 =A0 =A0 =A0 {&quot;name&quot;:&quot;name&quot;, &quot;type&quo= t;:&quot;string&quot;},<br> =A0 =A0 =A0 =A0 =A0 =A0 {&quot;name&quot;:&quot;value&quot;, &quot;type&qu= ot;:&quot;data&quot;}<br> =A0 =A0 =A0 =A0 =A0 ]}<br> =A0 =A0 =A0 =A0 }<br> =A0 =A0 =A0 }]}<br> ]}<br> <br> Note that this is almost a schema for the JSON data model.<br><font color= =3D"#888888"> <br> Doug<br> <br> </font><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-= left:1px #ccc solid;padding-left:1ex"><div class=3D"im"> On Tue, Dec 7, 2010 at 9:12 AM, Jeff Hammerbacher &lt;<a href=3D"mailto:ham= [email protected]" target=3D"_blank">[email protected]</a><br></div><div c= lass=3D"im"> &lt;mailto:<a href=3D"mailto:[email protected]" target=3D"_blank">hammer@= cloudera.com</a>&gt;&gt; wrote:<br> <br> =A0 =A0Hey Xingen,<br> <br> =A0 =A0 =A0 =A01. Does the json schema support extends? e.g. First, I defi= ne an<br> =A0 =A0 =A0 =A0general-purpose json schema named &quot;Object&quot;, and i= n other json<br> =A0 =A0 =A0 =A0schema, try to extends this &quot;Object&quot;.<br> <br> <br> =A0 =A0Avro IDL supports includes:<br> =A0 =A0<a href=3D"http://avro.apache.org/docs/current/idl.html#imports" ta= rget=3D"_blank">http://avro.apache.org/docs/current/idl.html#imports</a>. I= t does not<br> =A0 =A0support extensions, to the best of my knowledge. Perhaps you could<= br> =A0 =A0file a feature request at <a href=3D"https://issues.apache.org/jira= /browse/AVRO" target=3D"_blank">https://issues.apache.org/jira/browse/AVRO<= /a>?<br> <br> =A0 =A0 =A0 =A02. In the primitive types, I can&#39;t find one type that c= an<br> =A0 =A0 =A0 =A0represent any objects. I tried &quot;record&quot;, but you = have to specify<br> =A0 =A0 =A0 =A0&quot;name&quot; and &quot;fields&quot; for it.<br> <br> <br> =A0 =A0You could make a union of all of the primitive types? I&#39;m not s= ure<br> =A0 =A0exactly what you&#39;re trying to accomplish with this question tho= ugh.<br> <br> =A0 =A0Thanks,<br> =A0 =A0Jeff<br> <br> <br> <br> <br> --<br> Xingen Wang<br> </div></blockquote> </blockquote></div><br><br clear=3D"all"><br>-- <br>Xingen Wang<br> </div> --00032557335a7c727e04998a5c5f-- From [email protected] Tue Jan 11 08:38:01 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86767 invoked from network); 11 Jan 2011 08:38:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Jan 2011 08:38:01 -0000 Received: (qmail 21783 invoked by uid 500); 11 Jan 2011 08:38:00 -0000 Delivered-To: [email protected] Received: (qmail 21527 invoked by uid 500); 11 Jan 2011 08:37:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 21519 invoked by uid 99); 11 Jan 2011 08:37:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jan 2011 08:37:57 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-gw0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jan 2011 08:37:51 +0000 Received: by gwb17 with SMTP id 17so8871075gwb.30 for <[email protected]>; Tue, 11 Jan 2011 00:37:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=NbRaL9PnCZNCzu57BD8RZswS0TW4EM5M6BZi5B2J3UY=; b=UwVR6n3i2UIkF1tCbKVJi72UskpeWQX8SRoIeRvCosbh+5vIingOKpklVVDbQeCn9P nAL2lAFyOSMce2f/egGRSi1TTYfszUBlVr3MUYNVGHQygRyYd5O/QFV8dtRMTvkgcaM8 xM+q3KrZmJJ53a8bbZ9rKdYKRuSBlVHu6e6TI= 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:content-transfer-encoding; b=R17pF/p2srdsiJN6/n3C0C6lZCV8OtB6bS65J7qDzxMoobFvtvD0PZGwLt6g1gbtaJ v4UgiFycvu40DazC5ELglYBd8RVhpGjQBrlpQKvRJmiF1BLPMlTXN2NuKgasHxqNYzi5 UrapNPizVxcbn5Ynsy1bSne3F5uwiu1uwsfdM= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id v17mr3984270yhg.4.1294735050180; Tue, 11 Jan 2011 00:37:30 -0800 (PST) Received: by 161.129.204.104 with HTTP; Tue, 11 Jan 2011 00:37:30 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Tue, 11 Jan 2011 17:37:30 +0900 Message-ID: <[email protected]> Subject: Re: reading avro data file on HDFS From: Tatsuya Mori <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Doug, Thanks for your reply. The avro version I use is 1.4.1. I checked the schema of avro file and found the name is "Weather" with the namespace "test". So, I changed the name of schema to "Weather" without namespace and made it consistent among all the related files. However, I still see the same errors. Please see the below. Tatsuya [1: schema of avro file] java -jar /usr/lib/hadoop/lib/avro-tools-1.4.1.jar getschema weather.avro { "type" : "record", "name" : "Weather", "fields" : [ { "name" : "station", "type" : "string" }, { "name" : "time", "type" : "int" }, { "name" : "temp", "type" : "int" } ] } [2: put the avro file to hdfs] hadoop fs -put weather.avro /user/mori/ [3: the jason file I use] {"type": "record", "name": "Weather", "doc": "A weather reading.", "fields": [ {"name": "station", "type": "string", "order": "ignore"}, {"name": "time", "type": "int"}, {"name": "temp", "type": "int"} ] } [4: compile avsc to Java class (Weather.java)] java -jar lib/avro-tools-1.4.1.jar compile schema weather.avsc src [5: part of Weather.java] public class Weather extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord { public static final org.apache.avro.Schema SCHEMA$ =3D org.apache.avro.Schema.parse("{\"type\":\"record\",\"name\":\"Weather\",\"f= ields\":[{\"name\":\"station\",\"type\":\"string\",\"order\":\"ignore\"},{\= "name\":\"time\",\"type\":\"int\"},{\"name\":\"temp\",\"type\":\"int\"}]}")= ; [6: compile all the classes] javac -d classes -cp lib/avro-1.4.1.jar:lib/avro-tools-1.4.1.jar:$HADOOP_HOME/hadoop-0.20.1+169.= 113/hadoop-0.20.1+169.113-*.jar src/TestWeather.java src/Weather.java [7: execute the hadoop job] =3D> same errors hadoop jar TestWeather.jar TestWeather Exception in thread "main" java.lang.ClassCastException: org.apache.avro.generic.GenericData$Record cannot be cast to Weather at TestWeather.main(TestWeather.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja= va:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso= rImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.hadoop.util.RunJar.main(RunJar.java:156) On Tue, Jan 11, 2011 at 5:34 AM, Doug Cutting <[email protected]> wrote: > Tatsuya, > > Are you sure that the schema in weather.avro file is named "test.Weather"= ? > =A0In trunk, if SpecificDatumReader cannot find the class named in a sche= ma, > it will use GenericData$Record. =A0What version of Avro are you using? > > Doug > > On 01/08/2011 12:35 AM, Tatsuya Mori wrote: >> >> Hi, >> >> I am trying to read avro data file on HDFS. The following code gives >> the error attached at the bottom, even though I use >> SpecificDatumReader. The Weather class is taken from test of >> org.apache.avro.mapred. >> Any comments/suggestions are highly appreciated. Thanks. >> >> Tatsuya >> >> [code] >> =A0 =A0 =A0 =A0 String input =3D "hdfs:/user/mori/weather.avro"; >> =A0 =A0 =A0 =A0 Path inPath =3D new Path(input); >> >> =A0 =A0 =A0 =A0 FileSystem fs =3D FileSystem.get(URI.create(input), >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0new Configuration()); >> =A0 =A0 =A0 =A0 BufferedInputStream inStream =3D >> =A0 =A0 =A0 =A0 =A0 =A0 new BufferedInputStream(fs.open(inPath)); >> >> =A0 =A0 =A0 =A0 DatumReader<Weather> =A0reader =3D >> =A0 =A0 =A0 =A0 =A0 =A0 new SpecificDatumReader<Weather>(Weather.class); >> =A0 =A0 =A0 =A0 DataFileStream<Weather> =A0fileReader =3D >> =A0 =A0 =A0 =A0 =A0 =A0 new DataFileStream<Weather>(inStream, reader); >> >> =A0 =A0 =A0 =A0 while (fileReader.hasNext()) { >> =A0 =A0 =A0 =A0 =A0 =A0 Weather w =3D (Weather) FileReader.next(); >> =A0 =A0 =A0 =A0 =A0 =A0 System.out.printf("%s\n", w.station); >> =A0 =A0 =A0 =A0 } >> >> [error] >> Exception in thread "main" java.lang.ClassCastException: >> org.apache.avro.generic.GenericData$Record cannot be cast to >> test.Weather >> =A0 =A0 =A0 =A0at TestWeather.main(TestWeather.java:103) >> =A0 =A0 =A0 =A0at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Me= thod) >> =A0 =A0 =A0 =A0at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav= a:57) >> =A0 =A0 =A0 =A0at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor= Impl.java:43) >> =A0 =A0 =A0 =A0at java.lang.reflect.Method.invoke(Method.java:616) >> =A0 =A0 =A0 =A0at org.apache.hadoop.util.RunJar.main(RunJar.java:156) > From [email protected] Mon Jan 17 12:54:27 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52067 invoked from network); 17 Jan 2011 12:54:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jan 2011 12:54:27 -0000 Received: (qmail 122 invoked by uid 500); 17 Jan 2011 12:54:26 -0000 Delivered-To: [email protected] Received: (qmail 99762 invoked by uid 500); 17 Jan 2011 12:54:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99754 invoked by uid 99); 17 Jan 2011 12:54:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jan 2011 12:54:22 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-qy0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jan 2011 12:54:14 +0000 Received: by qyk32 with SMTP id 32so1467434qyk.9 for <[email protected]>; Mon, 17 Jan 2011 04:53:53 -0800 (PST) Received: by 161.129.204.104 with SMTP id e4mr3791044qaf.296.1295268833552; Mon, 17 Jan 2011 04:53:53 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Mon, 17 Jan 2011 04:53:33 -0800 (PST) From: Devajyoti Sarkar <[email protected]> Date: Mon, 17 Jan 2011 18:23:33 +0530 Message-ID: <[email protected]> Subject: Setting bytes in Java To: [email protected] Content-Type: multipart/alternative; boundary=0015175cba1cb66a4b049a0a4678 X-Virus-Checked: Checked by ClamAV on apache.org --0015175cba1cb66a4b049a0a4678 Content-Type: text/plain; charset=ISO-8859-1 Hi, I am just beginning to use Avro, so I apologize if this is a silly question. I would like to set a field of type "bytes" in Java. I am assuming that all I need to do is wrap a byte[] in a ByteBuffer to set the value. Unfortunately that does not seem to work. I am using a BinaryEncoder and looking at its output, it has not written any the bytes that were in the array. The first four values of the array are 0, -128, -128, -128. Is it because Java uses 8-bit signed bytes while the Avro spec calls for 8-bit unsigned bytes in a field of type "bytes"? If so, how does one convert Java bytes to the kind accepted by Avro? Thanks in advance. Dev --0015175cba1cb66a4b049a0a4678 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,<div><br></div><div>I am just beginning to use Avro, so I apologize if t= his is a silly question.</div><div><br></div><div>I would like to set a fie= ld of type &quot;bytes&quot; in Java. I am assuming that all I need to do i= s wrap a byte[] in a ByteBuffer to set the value. Unfortunately that does n= ot seem to work. I am using a BinaryEncoder and looking at its output, it h= as not written any the bytes that were in the array. The first four values = of the array are 0, -128, -128, -128.</div> <div><br></div><div>Is it because Java uses 8-bit signed bytes while the Av= ro spec calls for 8-bit unsigned bytes in a field of type &quot;bytes&quot;= ? If so, how does one convert Java bytes to the kind accepted by Avro?</div= > <div><br></div><div>Thanks in advance.</div><div><br></div><div>Dev</div> --0015175cba1cb66a4b049a0a4678-- From [email protected] Mon Jan 17 18:46:22 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62572 invoked from network); 17 Jan 2011 18:46:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jan 2011 18:46:22 -0000 Received: (qmail 43022 invoked by uid 500); 17 Jan 2011 18:46:22 -0000 Delivered-To: [email protected] Received: (qmail 42802 invoked by uid 500); 17 Jan 2011 18:46:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 42794 invoked by uid 99); 17 Jan 2011 18:46:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jan 2011 18:46:21 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 17 Jan 2011 18:46:19 +0000 Received: (qmail 62523 invoked by uid 99); 17 Jan 2011 18:45:57 -0000 Received: from localhost.apache.org (HELO [161.129.204.104]) (161.129.204.104) (smtp-auth username cutting, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jan 2011 18:45:57 +0000 Message-ID: <[email protected]> Date: Mon, 17 Jan 2011 10:45:55 -0800 From: Doug Cutting <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:161.129.204.104) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: Setting bytes in Java References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Dev, What you describe should work. Can you perhaps provide a simple code example to illustrate the problem you are having? Thanks, Doug On 01/17/2011 04:53 AM, Devajyoti Sarkar wrote: > Hi, > > I am just beginning to use Avro, so I apologize if this is a silly question. > > I would like to set a field of type "bytes" in Java. I am assuming that > all I need to do is wrap a byte[] in a ByteBuffer to set the value. > Unfortunately that does not seem to work. I am using a BinaryEncoder and > looking at its output, it has not written any the bytes that were in the > array. The first four values of the array are 0, -128, -128, -128. > > Is it because Java uses 8-bit signed bytes while the Avro spec calls for > 8-bit unsigned bytes in a field of type "bytes"? If so, how does one > convert Java bytes to the kind accepted by Avro? > > Thanks in advance. > > Dev From [email protected] Mon Jan 17 22:42:31 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99760 invoked from network); 17 Jan 2011 22:42:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jan 2011 22:42:31 -0000 Received: (qmail 45805 invoked by uid 500); 17 Jan 2011 22:42:31 -0000 Delivered-To: [email protected] Received: (qmail 45744 invoked by uid 500); 17 Jan 2011 22:42:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 45736 invoked by uid 99); 17 Jan 2011 22:42:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jan 2011 22:42:30 +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: local policy) Received: from [161.129.204.104] (HELO EXHUB018-2.exch018.msoutlookonline.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jan 2011 22:42:24 +0000 Received: from EXVMBX018-1.exch018.msoutlookonline.net ([161.129.204.104]) by EXHUB018-2.exch018.msoutlookonline.net ([161.129.204.104]) with mapi; Mon, 17 Jan 2011 14:42:03 -0800 From: Scott Carey <[email protected]> To: "[email protected]" <[email protected]> Date: Mon, 17 Jan 2011 14:44:10 -0800 Subject: Re: Setting bytes in Java Thread-Topic: Setting bytes in Java Thread-Index: Acu2l8LG7wRFNnP8SXym17U1u/CVYQ== Message-ID: <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/161.129.204.104115 acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_C95A05F619C7Bscottrichrelevancecom_" MIME-Version: 1.0 --_000_C95A05F619C7Bscottrichrelevancecom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable BinaryEncoder buffers data, you may have to call flush() to see it in the o= utput stream. On 1/17/11 4:53 AM, "Devajyoti Sarkar" <[email protected]<mailto:dsarkar@q-k= k.com>> wrote: Hi, I am just beginning to use Avro, so I apologize if this is a silly question= . I would like to set a field of type "bytes" in Java. I am assuming that all= I need to do is wrap a byte[] in a ByteBuffer to set the value. Unfortunat= ely that does not seem to work. I am using a BinaryEncoder and looking at i= ts output, it has not written any the bytes that were in the array. The fir= st four values of the array are 0, -128, -128, -128. Is it because Java uses 8-bit signed bytes while the Avro spec calls for 8-= bit unsigned bytes in a field of type "bytes"? If so, how does one convert = Java bytes to the kind accepted by Avro? Thanks in advance. Dev --_000_C95A05F619C7Bscottrichrelevancecom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode:= space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-si= ze: 14px; font-family: Calibri, sans-serif; "><div>BinaryEncoder buffers da= ta, you may have to call flush() to see it in the output stream.</div><div>= <br></div><div><br></div><span id=3D"OLK_SRC_BODY_SECTION"><div><div>On 1/1= 7/11 4:53 AM, "Devajyoti Sarkar" &lt;<a href=3D"mailto:[email protected]">ds= [email protected]</a>&gt; wrote:</div></div><div><br></div><blockquote id=3D"M= AC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEFT: #b5c4df 5 solid; P= ADDING:0 0 0 5; MARGIN:0 0 0 5;">Hi,<div><br></div><div>I am just beginning= to use Avro, so I apologize if this is a silly question.</div><div><br></d= iv><div>I would like to set a field of type "bytes" in Java. I am assuming = that all I need to do is wrap a byte[] in a ByteBuffer to set the value. Un= fortunately that does not seem to work. I am using a BinaryEncoder and look= ing at its output, it has not written any the bytes that were in the array.= The first four values of the array are 0, -128, -128, -128.</div><div><br>= </div><div>Is it because Java uses 8-bit signed bytes while the Avro spec c= alls for 8-bit unsigned bytes in a field of type "bytes"? If so, how does o= ne convert Java bytes to the kind accepted by Avro?</div><div><br></div><di= v>Thanks in advance.</div><div><br></div><div>Dev</div></blockquote></span>= </body></html> --_000_C95A05F619C7Bscottrichrelevancecom_-- From [email protected] Tue Jan 18 01:54:56 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75478 invoked from network); 18 Jan 2011 01:54:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Jan 2011 01:54:56 -0000 Received: (qmail 15294 invoked by uid 500); 18 Jan 2011 01:54:55 -0000 Delivered-To: [email protected] Received: (qmail 15223 invoked by uid 500); 18 Jan 2011 01:54:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 15215 invoked by uid 99); 18 Jan 2011 01:54:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 01:54:55 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-pz0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 01:54:47 +0000 Received: by pzk28 with SMTP id 28so981419pzk.30 for <[email protected]>; Mon, 17 Jan 2011 17:54:26 -0800 (PST) Received: by 161.129.204.104 with SMTP id y3mr4475487wff.36.1295315666778; Mon, 17 Jan 2011 17:54:26 -0800 (PST) Received: from [161.129.204.104] (c-24-130-211-127.hsd1.ca.comcast.net [161.129.204.104]) by mx.google.com with ESMTPS id x18sm7343033wfa.23.2161.129.204.104.54.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 17 Jan 2011 17:54:25 -0800 (PST) User-Agent: Microsoft-MacOutlook/161.129.204.104115 Date: Mon, 17 Jan 2011 17:54:19 -0800 Subject: Feature for Date/Time Data Types in Avro? From: Ron Bodkin <[email protected]> To: <[email protected]> Message-ID: <[email protected]> Thread-Topic: Feature for Date/Time Data Types in Avro? Mime-version: 1.0 Content-type: multipart/alternative; boundary="B_(812)538-8617_3203046" > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_(812)538-8617_3203046 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Has anyone discussed the possibility of having built-in support for a date/time stamp data type in Avro? I think it'd be helpful, since dates and timestamps are often used as keys in processing map/reduce data (and in RPC systems). It's unpleasant to have to write code that converts longs or strings into dates or timestamps. Minimally, it would be useful to allow generating date/time stamps from long timestamps in the client APIs various language code and to have support for working with Dates in the Java reflection API. I'd like to get feedback from others if they'd also like to see support for date/time data types in Avro. It seems like a generally useful feature that would be worth adding with a patch. Thanks, Ron Ron Bodkin CEO Think Big Analytics m: (812)538-8617 --B_(812)538-8617_3203046 Content-type: text/html; charset="US-ASCII" Content-transfer-encoding: quoted-printable <html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s= pace; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size:= 14px; font-family: Calibri, sans-serif; "><div><div><div>Has anyone discuss= ed the possibility of having built-in support for a date/time stamp data typ= e in Avro? I think it'd be helpful, since dates and timestamps are often use= d as keys in processing map/reduce data (and in RPC systems). It's unpleasan= t to have to write code that converts longs or strings into dates or timesta= mps. Minimally, it would be useful to allow generating date/time stamps from= long timestamps in the client APIs various language code and to have suppor= t for working with Dates in the Java reflection API.</div><div><br></div><di= v>I'd like to get feedback from others if they'd also like to see support fo= r date/time data types in Avro. It seems like a generally useful feature tha= t would be worth adding with a patch.</div><div><br></div><div>Thanks,</div>= <div>Ron</div><div><br></div><div><span class=3D"Apple-style-span" style=3D"font= -family: Helvetica; font-size: medium; "><div style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><fon= t class=3D"Apple-style-span" color=3D"#6D6D6D"><font class=3D"Apple-style-span" si= ze=3D"2"><span class=3D"Apple-style-span" style=3D"font-size: 10px;">Ron Bodkin</s= pan></font></font></div><div><font class=3D"Apple-style-span" color=3D"#6D6D6D">= <font class=3D"Apple-style-span" size=3D"2"><span class=3D"Apple-style-span" style= =3D"font-size: 10px;">CEO</span></font></font></div><div><font class=3D"Apple-st= yle-span" color=3D"#6D6D6D"><font class=3D"Apple-style-span" size=3D"2"><span clas= s=3D"Apple-style-span" style=3D"font-size: 10px;">Think Big Analytics</span></fo= nt></font></div><div><font class=3D"Apple-style-span" color=3D"#6D6D6D"><font cl= ass=3D"Apple-style-span" size=3D"2"><span class=3D"Apple-style-span" style=3D"font-s= ize: 10px;">m: (812)538-8617</span></font></font></div><div><br></div></= div></span><br class=3D"Apple-interchange-newline"></div></div></div></body></= html> --B_(812)538-8617_3203046-- From [email protected] Tue Jan 18 05:05:44 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44448 invoked from network); 18 Jan 2011 05:05:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Jan 2011 05:05:44 -0000 Received: (qmail 19394 invoked by uid 500); 18 Jan 2011 05:05:44 -0000 Delivered-To: [email protected] Received: (qmail 19174 invoked by uid 500); 18 Jan 2011 05:05:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 19166 invoked by uid 99); 18 Jan 2011 05:05:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 05:05:40 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-iy0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 05:05:35 +0000 Received: by iyj21 with SMTP id 21so5456383iyj.30 for <[email protected]>; Mon, 17 Jan 2011 21:05:14 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id ho6mr5657144icb.12.1295327114335; Mon, 17 Jan 2011 21:05:14 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 17 Jan 2011 21:05:14 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> Date: Mon, 17 Jan 2011 21:05:14 -0800 Message-ID: <[email protected]> Subject: Re: Feature for Date/Time Data Types in Avro? From: Jeff Hammerbacher <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=20cf3054a045849a75049a17d818 --20cf3054a045849a75049a17d818 Content-Type: text/plain; charset=ISO-8859-1 Hey Ron, Sounds like a good discussion to have. Could you open a JIRA? Thanks, Jeff On Mon, Jan 17, 2011 at 5:54 PM, Ron Bodkin <[email protected]>wrote: > Has anyone discussed the possibility of having built-in support for a > date/time stamp data type in Avro? I think it'd be helpful, since dates and > timestamps are often used as keys in processing map/reduce data (and in RPC > systems). It's unpleasant to have to write code that converts longs or > strings into dates or timestamps. Minimally, it would be useful to allow > generating date/time stamps from long timestamps in the client APIs various > language code and to have support for working with Dates in the Java > reflection API. > > I'd like to get feedback from others if they'd also like to see support for > date/time data types in Avro. It seems like a generally useful feature that > would be worth adding with a patch. > > Thanks, > Ron > > Ron Bodkin > CEO > Think Big Analytics > m: (812)538-8617 > > > --20cf3054a045849a75049a17d818 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hey Ron,<div><br></div><div>Sounds like a good discussion to have. Could yo= u open a JIRA?</div><div><br></div><div>Thanks,</div><div>Jeff</div><div><b= r><div class=3D"gmail_quote">On Mon, Jan 17, 2011 at 5:54 PM, Ron Bodkin <s= pan dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]">rbodki= [email protected]</a>&gt;</span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex;"><div style=3D"word-wrap:break-word;color:rg= b(0, 0, 0);font-size:14px;font-family:Calibri, sans-serif"><div><div><div>H= as anyone discussed the possibility of having built-in support for a date/t= ime stamp data type in Avro? I think it&#39;d be helpful, since dates and t= imestamps are often used as keys in processing map/reduce data (and in RPC = systems). It&#39;s unpleasant to have to write code that converts longs or = strings into dates or timestamps. Minimally, it would be useful to allow ge= nerating date/time stamps from long timestamps in the client APIs various l= anguage code and to have support for working with Dates in the Java reflect= ion API.</div> <div><br></div><div>I&#39;d like to get feedback from others if they&#39;d = also like to see support for date/time data types in Avro. It seems like a = generally useful feature that would be worth adding with a patch.</div> <div><br></div><div>Thanks,</div><div>Ron</div><div><br></div><div><span st= yle=3D"font-family:Helvetica;font-size:medium"><div style=3D"word-wrap:brea= k-word"><div><font color=3D"#6D6D6D"><font size=3D"2"><span style=3D"font-s= ize:10px">Ron Bodkin</span></font></font></div> <div><font color=3D"#6D6D6D"><font size=3D"2"><span style=3D"font-size:10px= ">CEO</span></font></font></div><div><font color=3D"#6D6D6D"><font size=3D"= 2"><span style=3D"font-size:10px">Think Big Analytics</span></font></font><= /div><div> <font color=3D"#6D6D6D"><font size=3D"2"><span style=3D"font-size:10px">m: = (812)538-8617</span></font></font></div><div><br></div></div></span><br= ></div></div></div></div> </blockquote></div><br></div> --20cf3054a045849a75049a17d818-- From [email protected] Tue Jan 18 08:17:59 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35581 invoked from network); 18 Jan 2011 08:17:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Jan 2011 08:17:59 -0000 Received: (qmail 6385 invoked by uid 500); 18 Jan 2011 08:17:59 -0000 Delivered-To: [email protected] Received: (qmail 6131 invoked by uid 500); 18 Jan 2011 08:17:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6122 invoked by uid 99); 18 Jan 2011 08:17:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 08:17:54 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-qw0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 08:17:50 +0000 Received: by qwk3 with SMTP id 3so5369477qwk.30 for <[email protected]>; Tue, 18 Jan 2011 00:17:28 -0800 (PST) Received: by 161.129.204.104 with SMTP id q20mr4810165qai.246.1295338648786; Tue, 18 Jan 2011 00:17:28 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Tue, 18 Jan 2011 00:17:08 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> From: Devajyoti Sarkar <[email protected]> Date: Tue, 18 Jan 2011 13:47:08 +0530 Message-ID: <[email protected]> Subject: Re: Setting bytes in Java To: [email protected] Content-Type: multipart/alternative; boundary=0015175cd1340656cc049a1a880b --0015175cd1340656cc049a1a880b Content-Type: text/plain; charset=ISO-8859-1 Let me first give some context, I would like to store a datum serialized with a BinaryEncoder without having to place a schema with it (as the DataFileWriter does). Instead I have created a container record that stores a unique id for the schema version and a payload field of type "bytes". This allows me to have a self-describing data object (for example, to place in a cell in HBase) without the overhead of a schema per object. (Perhaps there is a better way to do this, if so please let me know). The code looks something like this: GenericRecord container = new GenericData.Record(containerSchema); writer.setSchema(containerSchema); container.put(CONTAINER_SCHEMA_ID_FIELD, datum.getSchema().getProp(SCHEMA_ID_PROPERTY)); container.put(CONTAINER_PAYLOAD_FIELD, ByteBuffer.wrap(datumBits.toByteArray())); ByteArrayOutputStream containerBits = new ByteArrayOutputStream(); encoder.init(containerBits); writer.write(container, encoder); encoder.flush(); containerBits.flush(); containerBits.close(); I am trying to reuse an encoder by calling init() to re-initialize it. Perhaps this is what creates the problem. If I create a new encoder each time everything works fine. However, if I just use init, then the OutputStream for the encoder is reset but the OutputStream for the SimpleByteWriter within the encoder is not. This seems to be causing the problem because when the encoder is flushed, it does not write the bytes in the ByteWriter. Perhaps the init() method is not supposed to be used this way. But it would be nice to not have to create a new encoder each time. Can you please let me know if the above looks right and advise me as to what is the best way to do the serialization. Thanks, Dev On Tue, Jan 18, 2011 at 4:14 AM, Scott Carey <[email protected]>wrote: > BinaryEncoder buffers data, you may have to call flush() to see it in the > output stream. > > > On 1/17/11 4:53 AM, "Devajyoti Sarkar" <[email protected]> wrote: > > Hi, > > I am just beginning to use Avro, so I apologize if this is a silly > question. > > I would like to set a field of type "bytes" in Java. I am assuming that all > I need to do is wrap a byte[] in a ByteBuffer to set the value. > Unfortunately that does not seem to work. I am using a BinaryEncoder and > looking at its output, it has not written any the bytes that were in the > array. The first four values of the array are 0, -128, -128, -128. > > Is it because Java uses 8-bit signed bytes while the Avro spec calls for > 8-bit unsigned bytes in a field of type "bytes"? If so, how does one convert > Java bytes to the kind accepted by Avro? > > Thanks in advance. > > Dev > > --0015175cd1340656cc049a1a880b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Let me first give some context, I would like to store a datum serialized wi= th a BinaryEncoder without having to place a schema with it (as the DataFil= eWriter does). Instead I have created a container record that stores a uniq= ue id for the schema version and a payload field of type &quot;bytes&quot;.= This allows me to have a self-describing data object (for example, to plac= e in a cell in HBase) without the overhead of a schema per object. (Perhaps= there is a better way to do this, if so please let me know).<div> <br></div><div>The code looks something like this:</div><div><br></div><div= ><div><span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span> =A0= =A0GenericRecord container =3D new GenericData.Record(containerSchema);</d= iv><div> <span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span> =A0 =A0wr= iter.setSchema(containerSchema);</div><div><div><span class=3D"Apple-tab-sp= an" style=3D"white-space:pre"> </span> =A0 =A0container.put(CONTAINER_SCHEM= A_ID_FIELD, datum.getSchema().getProp(SCHEMA_ID_PROPERTY));</div> <div><span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span> =A0 = =A0container.put(CONTAINER_PAYLOAD_FIELD, ByteBuffer.wrap(datumBits.toByteA= rray()));</div></div><div><div><span class=3D"Apple-tab-span" style=3D"whit= e-space:pre"> </span> =A0 =A0ByteArrayOutputStream containerBits =3D new By= teArrayOutputStream();</div> </div><div><div><span class=3D"Apple-tab-span" style=3D"white-space:pre"> <= /span> =A0 =A0encoder.init(containerBits);</div><div><span class=3D"Apple-t= ab-span" style=3D"white-space:pre"> </span> =A0 =A0writer.write(container, = encoder);</div> <div><span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span> =A0 = =A0encoder.flush();</div><div><span class=3D"Apple-tab-span" style=3D"white= -space:pre"> </span> =A0 =A0containerBits.flush();</div><div><span class=3D= "Apple-tab-span" style=3D"white-space:pre"> </span> =A0 =A0containerBits.cl= ose();</div> </div><div><br></div><div>I am trying to reuse an encoder by calling init()= to re-initialize it. Perhaps this is what creates the problem. If I create= a new encoder each time everything works fine. However, if I just use init= , then the OutputStream for the encoder is reset but the OutputStream for t= he SimpleByteWriter within the encoder is not. This seems to be causing the= problem because when the encoder is flushed, it does not write the bytes i= n the ByteWriter. Perhaps the init() method is not supposed to be used this= way. But it would be nice to not have to create a new encoder each time.</= div> <div><br></div><div>Can you please let me know if the above looks right and= advise me as to what is the best way to do the serialization.</div><div><b= r></div><div>Thanks,</div><div>Dev</div><div><br></div><div><br><br><div cl= ass=3D"gmail_quote"> On Tue, Jan 18, 2011 at 4:14 AM, Scott Carey <span dir=3D"ltr">&lt;<a href= =3D"mailto:[email protected]">[email protected]</a>&gt;</span> = wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord= er-left:1px #ccc solid;padding-left:1ex;"> <div style=3D"word-wrap:break-word;color:rgb(0, 0, 0);font-size:14px;font-f= amily:Calibri, sans-serif"><div>BinaryEncoder buffers data, you may have to= call flush() to see it in the output stream.</div><div><div></div><div cla= ss=3D"h5"> <div><br></div><div><br></div><span><div><div>On 1/17/11 4:53 AM, &quot;Dev= ajyoti Sarkar&quot; &lt;<a href=3D"mailto:[email protected]" target=3D"_blan= k">[email protected]</a>&gt; wrote:</div></div><div><br></div><blockquote st= yle=3D"border-left:#b5c4df 5 solid;padding:0 0 0 5;margin:0 0 0 5"> Hi,<div><br></div><div>I am just beginning to use Avro, so I apologize if t= his is a silly question.</div><div><br></div><div>I would like to set a fie= ld of type &quot;bytes&quot; in Java. I am assuming that all I need to do i= s wrap a byte[] in a ByteBuffer to set the value. Unfortunately that does n= ot seem to work. I am using a BinaryEncoder and looking at its output, it h= as not written any the bytes that were in the array. The first four values = of the array are 0, -128, -128, -128.</div> <div><br></div><div>Is it because Java uses 8-bit signed bytes while the Av= ro spec calls for 8-bit unsigned bytes in a field of type &quot;bytes&quot;= ? If so, how does one convert Java bytes to the kind accepted by Avro?</div= > <div><br></div><div>Thanks in advance.</div><div><br></div><div>Dev</div></= blockquote></span></div></div></div> </blockquote></div><br></div></div> --0015175cd1340656cc049a1a880b-- From [email protected] Tue Jan 18 11:00:14 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18680 invoked from network); 18 Jan 2011 11:00:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Jan 2011 11:00:04 -0000 Received: (qmail 6835 invoked by uid 500); 18 Jan 2011 11:00:00 -0000 Delivered-To: [email protected] Received: (qmail 6024 invoked by uid 500); 18 Jan 2011 10:59:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6001 invoked by uid 99); 18 Jan 2011 10:59:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 10:59:54 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qy0-f178.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 10:59:46 +0000 Received: by qyk33 with SMTP id 33so5836040qyk.9 for <[email protected]>; Tue, 18 Jan 2011 02:59:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=tDJgmxFIReEgMOXtVBu3iAF72jMqZLlXiKwOFgJB7P0=; b=ja65+i3XaGH0Qje0yMg0X73TBswHp6GnXaHd7jAVL35rvUBBjLuFJKjXa/erFHulus A0KZAk1oW2Inua5EVh59FFam0b7tr/NGNHlztEtahB5r4bImnjOsAlcON+9q00jKLZkp 3mBFxQipYvghvg43cTIc40Qt/9FNFY9jzlB3M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=P/Bsws9wRAb+1QMRwQdMSRvcVAvDJh5qEv3hhYDR+HhKdsRycOAfYI3jq/4TzNuTZN q+ZcvZFt8lN+0d9ZG0dAu+lzwLIc2YHG8CtW5Iar2vH+2r2D/43iuCLGUVcvcESi74H1 kddJnukfZlTbrAds8VCmtw84WGvX4sZ5TOrI8= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id dq21mr4728383qcb.57.1295348364691; Tue, 18 Jan 2011 02:59:24 -0800 (PST) Received: by 161.129.204.104 with HTTP; Tue, 18 Jan 2011 02:59:24 -0800 (PST) Date: Tue, 18 Jan 2011 12:59:24 +0200 Message-ID: <[email protected]> Subject: 1.5 release From: Julia Spassova <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016363b83c02348a8049a1ccb13 X-Virus-Checked: Checked by ClamAV on apache.org --0016363b83c02348a8049a1ccb13 Content-Type: text/plain; charset=ISO-8859-1 Do you have any idea when will you release the next version, I'm interested in the C++ one, do you have any preliminary plan for the updates and the new features which it will include, because surely I will have to upgrade my 1.4.1 ? Thx --0016363b83c02348a8049a1ccb13 Content-Type: text/html; charset=ISO-8859-1 Do you have any idea when will you release the next version, I&#39;m interested in the C++ one, do you have any preliminary plan for the updates and the new features which it will include, because surely I will have to upgrade my 1.4.1 ?<div> <br></div><div>Thx</div> --0016363b83c02348a8049a1ccb13-- From [email protected] Tue Jan 18 16:43:16 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3149 invoked from network); 18 Jan 2011 16:43:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Jan 2011 16:43:15 -0000 Received: (qmail 9599 invoked by uid 500); 18 Jan 2011 16:43:15 -0000 Delivered-To: [email protected] Received: (qmail 9346 invoked by uid 500); 18 Jan 2011 16:43:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 9338 invoked by uid 99); 18 Jan 2011 16:43:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 16:43:12 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 18 Jan 2011 16:43:11 +0000 Received: (qmail 2994 invoked by uid 99); 18 Jan 2011 16:42:51 -0000 Received: from localhost.apache.org (HELO [161.129.204.104]) (161.129.204.104) (smtp-auth username cutting, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 16:42:51 +0000 Message-ID: <[email protected]> Date: Tue, 18 Jan 2011 08:42:49 -0800 From: Doug Cutting <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:161.129.204.104) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: Feature for Date/Time Data Types in Avro? References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit The way that I have imagined doing this is to specify a standard schema for dates, then implementations can optionally map this to a native date type. The schema could be a record containing a long, e.g.: {"type": "record", "name":"org.apache.avro.lib.Date", "fields" : [ {"name": "time", "type": "long"} ] } Java could read this into a java.util.Date, Python to a datetime, etc. Such conventions could be added to the Avro specification. Does this sound like a reasonable approach? Doug On 01/17/2011 05:54 PM, Ron Bodkin wrote: > Has anyone discussed the possibility of having built-in support for a > date/time stamp data type in Avro? I think it'd be helpful, since dates > and timestamps are often used as keys in processing map/reduce data (and > in RPC systems). It's unpleasant to have to write code that converts > longs or strings into dates or timestamps. Minimally, it would be useful > to allow generating date/time stamps from long timestamps in the client > APIs various language code and to have support for working with Dates in > the Java reflection API. > > I'd like to get feedback from others if they'd also like to see support > for date/time data types in Avro. It seems like a generally useful > feature that would be worth adding with a patch. > > Thanks, > Ron > > Ron Bodkin > CEO > Think Big Analytics > m: (812)538-8617 > > From [email protected] Tue Jan 18 17:23:26 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31559 invoked from network); 18 Jan 2011 17:23:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Jan 2011 17:23:26 -0000 Received: (qmail 2791 invoked by uid 500); 18 Jan 2011 17:23:26 -0000 Delivered-To: [email protected] Received: (qmail 1913 invoked by uid 500); 18 Jan 2011 17:23:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 1723 invoked by uid 99); 18 Jan 2011 17:23:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 17:23:23 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ww0-f49.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 17:23:17 +0000 Received: by wwb17 with SMTP id 17so6503441wwb.30 for <[email protected]>; Tue, 18 Jan 2011 09:22:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=WbBekEdNdOHdMbbHCQ4dNlxJ9nre3BjMriFH8aMxEBc=; b=XB+Uyf8F2gQD6Gwl6V7w4Q4lVfQXWdunvH15haH2HqGmCqx8PUeJG7hZcV82AjuCjG I2lZwaSdYI35RZ5sQ8O8xsn+BU+awjmSeIF+9qoMKYQdRb1SM7wu9qRFftKFRyZeQgBx sIKzQ7Ht0KK2ALWs0MIs0U69gTqBdebCXVfJ8= 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:content-transfer-encoding; b=lAxOWfzuoo+JMAYBb5xh6kX1AKSl1uDTMsdYylsxmsqKZ6LS8+lplJ9geJwLVrkSfD 2XSdXurASqk+Oj5CG3ZOFhXNDYdiUSY7b9IrWmxgW0XTYmN6pInZhnU0nq/HSZ5QlOsE IZylUNwCcQHkRWJWNIAnr4PSj7itIak6IPR0c= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id v5mr5978457wbw.10.1295371173836; Tue, 18 Jan 2011 09:19:33 -0800 (PST) Received: by 161.129.204.104 with HTTP; Tue, 18 Jan 2011 09:19:30 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Tue, 18 Jan 2011 11:19:30 -0600 Message-ID: <[email protected]> Subject: Re: Feature for Date/Time Data Types in Avro? From: Jeremy Custenborder <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I agree with storing it as a long. How would you handle this in code generation and serialization? Would you envision hooks during code generation that would generate a member that is the native date time for the language? Does the serializer handle a date object that is native to the language? I really like the idea of having a standard datetime as a supported type of avro. It's a problem that everyone has to solve on their own. On Tue, Jan 18, 2011 at 10:42 AM, Doug Cutting <[email protected]> wrote: > The way that I have imagined doing this is to specify a standard schema f= or > dates, then implementations can optionally map this to a native date type= . > > The schema could be a record containing a long, e.g.: > > {"type": "record", "name":"org.apache.avro.lib.Date", "fields" : [ > =A0{"name": "time", "type": "long"} > =A0] > } > > Java could read this into a java.util.Date, Python to a datetime, etc. Su= ch > conventions could be added to the Avro specification. > > Does this sound like a reasonable approach? > > Doug > > On 01/17/2011 05:54 PM, Ron Bodkin wrote: >> >> Has anyone discussed the possibility of having built-in support for a >> date/time stamp data type in Avro? I think it'd be helpful, since dates >> and timestamps are often used as keys in processing map/reduce data (and >> in RPC systems). It's unpleasant to have to write code that converts >> longs or strings into dates or timestamps. Minimally, it would be useful >> to allow generating date/time stamps from long timestamps in the client >> APIs various language code and to have support for working with Dates in >> the Java reflection API. >> >> I'd like to get feedback from others if they'd also like to see support >> for date/time data types in Avro. It seems like a generally useful >> feature that would be worth adding with a patch. >> >> Thanks, >> Ron >> >> Ron Bodkin >> CEO >> Think Big Analytics >> m: (812)538-8617 >> >> > From [email protected] Tue Jan 18 17:31:27 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35060 invoked from network); 18 Jan 2011 17:31:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Jan 2011 17:31:27 -0000 Received: (qmail 26204 invoked by uid 500); 18 Jan 2011 17:31:27 -0000 Delivered-To: [email protected] Received: (qmail 25958 invoked by uid 500); 18 Jan 2011 17:31:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 25932 invoked by uid 99); 18 Jan 2011 17:31:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 17:31:25 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 18 Jan 2011 17:31:23 +0000 Received: (qmail 34961 invoked by uid 99); 18 Jan 2011 17:31:01 -0000 Received: from localhost.apache.org (HELO [161.129.204.104]) (161.129.204.104) (smtp-auth username cutting, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 17:31:01 +0000 Message-ID: <[email protected]> Date: Tue, 18 Jan 2011 09:30:59 -0800 From: Doug Cutting <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:161.129.204.104) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: Feature for Date/Time Data Types in Avro? References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 01/18/2011 09:19 AM, Jeremy Custenborder wrote: > I agree with storing it as a long. How would you handle this in code > generation and serialization? Would you envision hooks during code > generation that would generate a member that is the native date time > for the language? Yes. Just as "bytes" is represented in Java by java.nio.ByteBuffer, "org.apache.avro.lib.Date" could be represented by java.util.Date. > Does the serializer handle a date object that is > native to the language? Yes, serializers and deserializers would need to implement this mapping. Does this sound like a reasonable approach? > I really like the idea of having a standard > datetime as a supported type of avro. It's a problem that everyone has > to solve on their own. Care to file a Jira issue? I won't have time to work on it for at least a few weeks, but someone else could, or I can work on it later. Doug From [email protected] Tue Jan 18 18:03:43 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49457 invoked from network); 18 Jan 2011 18:03:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Jan 2011 18:03:42 -0000 Received: (qmail 91865 invoked by uid 500); 18 Jan 2011 18:03:42 -0000 Delivered-To: [email protected] Received: (qmail 91617 invoked by uid 500); 18 Jan 2011 18:03:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 91609 invoked by uid 99); 18 Jan 2011 18:03:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 18:03:40 +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: local policy) Received: from [161.129.204.104] (HELO EXHUB018-4.exch018.msoutlookonline.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 18:03:31 +0000 Received: from EXVMBX018-1.exch018.msoutlookonline.net ([161.129.204.104]) by EXHUB018-4.exch018.msoutlookonline.net ([161.129.204.104]) with mapi; Tue, 18 Jan 2011 10:03:09 -0800 From: Scott Carey <[email protected]> To: "[email protected]" <[email protected]> Date: Tue, 18 Jan 2011 10:05:16 -0800 Subject: Re: 1.5 release Thread-Topic: 1.5 release Thread-Index: Acu3OfbtLcEzPWGxR8qCRV/VHSfUqQ== Message-ID: <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/161.129.204.104115 acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_C95B12B119D4Bscottrichrelevancecom_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_C95B12B119D4Bscottrichrelevancecom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I can't speak to the details of the C++ side other than what is here (other= s will have more info): 1.5 release https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=3Dtrue&&pid= =3D12310911&fixfor=3D12315282&sorter/field=3Dpriority&sorter/order=3DDESC&s= orter/field=3Dcomponents&sorter/order=3DASC c++ JIRA https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=3Dtrue&&pid= =3D12310911&component=3D12312882&sorter/field=3Dpriority&sorter/order=3DDES= C&sorter/field=3Dcomponents&sorter/order=3DASC&sorter/field=3Dissuekey&sort= er/order=3DDESC 1.5.0 does not appear to be much of a change for c++. Not every language c= hanges with every release. If there are bugs or features you would like to= see, please file JIRA tickets about them. -Scott On 1/18/11 2:59 AM, "Julia Spassova" <[email protected]<mailto:julia= [email protected]>> wrote: Do you have any idea when will you release the next version, I'm interested= in the C++ one, do you have any preliminary plan for the updates and the n= ew features which it will include, because surely I will have to upgrade my= 1.4.1 ? Thx --_000_C95B12B119D4Bscottrichrelevancecom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode:= space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-si= ze: 14px; font-family: Calibri, sans-serif; "><div>I can't speak to the det= ails of the C++ side other than what is here (others will have more info):<= /div><div><br></div><div>1.5 release</div><div><a href=3D"https://issues.ap= ache.org/jira/secure/IssueNavigator.jspa?reset=3Dtrue&amp;&amp;pid=3D123109= 11&amp;fixfor=3D12315282&amp;sorter/field=3Dpriority&amp;sorter/order=3DDES= C&amp;sorter/field=3Dcomponents&amp;sorter/order=3DASC">https://issues.apac= he.org/jira/secure/IssueNavigator.jspa?reset=3Dtrue&amp;&amp;pid=3D12310911= &amp;fixfor=3D12315282&amp;sorter/field=3Dpriority&amp;sorter/order=3DDESC&= amp;sorter/field=3Dcomponents&amp;sorter/order=3DASC</a></div><div><br></di= v><div>c++ JIRA</div><div><a href=3D"https://issues.apache.org/jira/secure/= IssueNavigator.jspa?reset=3Dtrue&amp;&amp;pid=3D12310911&amp;component=3D12= 312882&amp;sorter/field=3Dpriority&amp;sorter/order=3DDESC&amp;sorter/field= =3Dcomponents&amp;sorter/order=3DASC&amp;sorter/field=3Dissuekey&amp;sorter= /order=3DDESC">https://issues.apache.org/jira/secure/IssueNavigator.jspa?re= set=3Dtrue&amp;&amp;pid=3D12310911&amp;component=3D12312882&amp;sorter/fiel= d=3Dpriority&amp;sorter/order=3DDESC&amp;sorter/field=3Dcomponents&amp;sort= er/order=3DASC&amp;sorter/field=3Dissuekey&amp;sorter/order=3DDESC</a></div= ><div><br></div><div><br></div><div>1.5.0 does not appear to be much of a c= hange for c++. &nbsp;Not every language changes with every release. &nbsp;I= f there are bugs or features you would like to see, please file JIRA ticket= s about them.</div><div><br></div><div>-Scott</div><div><br></div><span id= =3D"OLK_SRC_BODY_SECTION"><div><div>On 1/18/11 2:59 AM, "Julia Spassova" &l= t;<a href=3D"mailto:[email protected]">[email protected]</a>&= gt; wrote:</div></div><div><br></div><blockquote id=3D"MAC_OUTLOOK_ATTRIBUT= ION_BLOCKQUOTE" style=3D"BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MAR= GIN:0 0 0 5;">Do you have any idea when will you release the next version, = I'm interested in the C++ one, do you have any preliminary plan for the upd= ates and the new features which it will include, because surely I will have= to upgrade my 1.4.1 ?<div><br></div><div>Thx</div></blockquote></span></bo= dy></html> --_000_C95B12B119D4Bscottrichrelevancecom_-- From [email protected] Tue Jan 18 18:09:30 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59221 invoked from network); 18 Jan 2011 18:09:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Jan 2011 18:09:30 -0000 Received: (qmail 99126 invoked by uid 500); 18 Jan 2011 18:09:29 -0000 Delivered-To: [email protected] Received: (qmail 98959 invoked by uid 500); 18 Jan 2011 18:09:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 98937 invoked by uid 99); 18 Jan 2011 18:09:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 18:09:27 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO homiemail-a37.g.dreamhost.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 18:09:21 +0000 Received: from homiemail-a37.g.dreamhost.com (localhost [161.129.204.104]) by homiemail-a37.g.dreamhost.com (Postfix) with ESMTP id 0232220806A for <[email protected]>; Tue, 18 Jan 2011 10:08:59 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=darose.net; h=message-id:date :from:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=darose.net; b= CkTUz90z+PB9at9w/lFq3o6G9cMPZJ6LpJDLESZLydvx2u6BJL8hbxXtLFAbhlBT 7c8kTG1OrfK8Q5wCwg1CNgWt8N4dP99eW3XDmTAap2O6hnzsqKVaP/pmMd5MuHyN PXu6j+1xpXydS9QUMk3shurVQb8WaOBOzDHVFDGfm0s= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=darose.net; h=message-id :date:from:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; s=darose.net; bh=pUtOyJ Ahp4pfxTyvdgzBCY5RQJ8=; b=JCKNFZkOwe/dS6p/Vo0smPKLzIyKqKoVZwFhcM JNR5Zy5EMm2g/8RSAXR3ODveBvCcHRx6mKZPu/9J9dUxqbiCm/aC59DVnsHzHMf4 nqNfw4SJEG/d20dZUvgPBy6BuMTEgMamt+2EiL1vcZJdPCzN4KuU7lsoRQPkDor2 fhRqY= Received: from darsys12 (cpe-66-108-142-190.nyc.res.rr.com [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: [email protected]) by homiemail-a37.g.dreamhost.com (Postfix) with ESMTPSA id C3209208060 for <[email protected]>; Tue, 18 Jan 2011 10:08:58 -0800 (PST) Received: from [161.129.204.104] by darsys12 with esmtp (Exim 4.73) (envelope-from <[email protected]>) id 1PfFzF-0006fT-J6 for [email protected]; Tue, 18 Jan 2011 13:08:57 -0500 Message-ID: <[email protected]> Date: Tue, 18 Jan 2011 13:08:57 -0500 From: David Rosenstrauch <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:161.129.204.104) Gecko/20101230 Lanikai/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: Setting bytes in Java References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I've also found this to be the case, and was wondering about it. I also had thought that I could just re-init an existing BinaryEncoder, but found that I had to create a new one each time. I didn't really think much of it at the time, but in retrospect it does sound like it might be a bug. Perhaps one of the devs can comment more. (And/or perhaps you might want to open a bug report about this.) DR On 01/18/2011 03:17 AM, Devajyoti Sarkar wrote: > Let me first give some context, I would like to store a datum serialized > with a BinaryEncoder without having to place a schema with it (as the > DataFileWriter does). Instead I have created a container record that stores > a unique id for the schema version and a payload field of type "bytes". This > allows me to have a self-describing data object (for example, to place in a > cell in HBase) without the overhead of a schema per object. (Perhaps there > is a better way to do this, if so please let me know). > > The code looks something like this: > > GenericRecord container = new GenericData.Record(containerSchema); > writer.setSchema(containerSchema); > container.put(CONTAINER_SCHEMA_ID_FIELD, > datum.getSchema().getProp(SCHEMA_ID_PROPERTY)); > container.put(CONTAINER_PAYLOAD_FIELD, > ByteBuffer.wrap(datumBits.toByteArray())); > ByteArrayOutputStream containerBits = new ByteArrayOutputStream(); > encoder.init(containerBits); > writer.write(container, encoder); > encoder.flush(); > containerBits.flush(); > containerBits.close(); > > I am trying to reuse an encoder by calling init() to re-initialize it. > Perhaps this is what creates the problem. If I create a new encoder each > time everything works fine. However, if I just use init, then the > OutputStream for the encoder is reset but the OutputStream for the > SimpleByteWriter within the encoder is not. This seems to be causing the > problem because when the encoder is flushed, it does not write the bytes in > the ByteWriter. Perhaps the init() method is not supposed to be used this > way. But it would be nice to not have to create a new encoder each time. > > Can you please let me know if the above looks right and advise me as to what > is the best way to do the serialization. > > Thanks, > Dev > > > > On Tue, Jan 18, 2011 at 4:14 AM, Scott Carey<[email protected]>wrote: > >> BinaryEncoder buffers data, you may have to call flush() to see it in the >> output stream. >> >> >> On 1/17/11 4:53 AM, "Devajyoti Sarkar"<[email protected]> wrote: >> >> Hi, >> >> I am just beginning to use Avro, so I apologize if this is a silly >> question. >> >> I would like to set a field of type "bytes" in Java. I am assuming that all >> I need to do is wrap a byte[] in a ByteBuffer to set the value. >> Unfortunately that does not seem to work. I am using a BinaryEncoder and >> looking at its output, it has not written any the bytes that were in the >> array. The first four values of the array are 0, -128, -128, -128. >> >> Is it because Java uses 8-bit signed bytes while the Avro spec calls for >> 8-bit unsigned bytes in a field of type "bytes"? If so, how does one convert >> Java bytes to the kind accepted by Avro? >> >> Thanks in advance. >> >> Dev >> >> > From [email protected] Tue Jan 18 18:18:29 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62992 invoked from network); 18 Jan 2011 18:18:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Jan 2011 18:18:28 -0000 Received: (qmail 13556 invoked by uid 500); 18 Jan 2011 18:18:28 -0000 Delivered-To: [email protected] Received: (qmail 13334 invoked by uid 500); 18 Jan 2011 18:18:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13326 invoked by uid 99); 18 Jan 2011 18:18:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 18:18:26 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO EXHUB018-2.exch018.msoutlookonline.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 18:18:18 +0000 Received: from EXVMBX018-1.exch018.msoutlookonline.net ([161.129.204.104]) by EXHUB018-2.exch018.msoutlookonline.net ([161.129.204.104]) with mapi; Tue, 18 Jan 2011 10:17:57 -0800 From: Scott Carey <[email protected]> To: "[email protected]" <[email protected]> Date: Tue, 18 Jan 2011 10:20:03 -0800 Subject: Re: Feature for Date/Time Data Types in Avro? Thread-Topic: Feature for Date/Time Data Types in Avro? Thread-Index: Acu3PAfVukYlH/mqSpSNWLnGugGiZQ== Message-ID: <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/161.129.204.104115 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org On 1/18/11 9:30 AM, "Doug Cutting" <[email protected]> wrote: >On 01/18/2011 09:19 AM, Jeremy Custenborder wrote: >> I agree with storing it as a long. How would you handle this in code >> generation and serialization? Would you envision hooks during code >> generation that would generate a member that is the native date time >> for the language? > >Yes. Just as "bytes" is represented in Java by java.nio.ByteBuffer, >"org.apache.avro.lib.Date" could be represented by java.util.Date. > >> Does the serializer handle a date object that is >> native to the language? > >Yes, serializers and deserializers would need to implement this mapping. > >Does this sound like a reasonable approach? That works. There are several other data types that might fall into a similar bucket in the future. We should reserve 'org.apache.avro.lib' or some other namespace as permanently reserved for this purpose. > >> I really like the idea of having a standard >> datetime as a supported type of avro. It's a problem that everyone has >> to solve on their own. > >Care to file a Jira issue? I won't have time to work on it for at least >a few weeks, but someone else could, or I can work on it later. We definitely need a JIRA ticket for this, there are several details better discussed there. > >Doug From [email protected] Tue Jan 18 18:29:03 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73726 invoked from network); 18 Jan 2011 18:29:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Jan 2011 18:29:02 -0000 Received: (qmail 27716 invoked by uid 500); 18 Jan 2011 18:29:02 -0000 Delivered-To: [email protected] Received: (qmail 26907 invoked by uid 500); 18 Jan 2011 18:29:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26893 invoked by uid 99); 18 Jan 2011 18:28:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 18:28:59 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO EXHUB018-4.exch018.msoutlookonline.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 18:28:53 +0000 Received: from EXVMBX018-1.exch018.msoutlookonline.net ([161.129.204.104]) by EXHUB018-4.exch018.msoutlookonline.net ([161.129.204.104]) with mapi; Tue, 18 Jan 2011 10:28:31 -0800 From: Scott Carey <[email protected]> To: "[email protected]" <[email protected]> Date: Tue, 18 Jan 2011 10:30:40 -0800 Subject: Re: Setting bytes in Java Thread-Topic: Setting bytes in Java Thread-Index: Acu3PYJpeE02wydRT363NjXmLjykag== Message-ID: <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/161.129.204.104115 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Please open a bug report in JIRA. I don't have time to look at this now, but someone else might. On the topic of per record versioning and how to design a system that does not store schemas per record, there have been useful topics on this mailing list in the past: http://search-hadoop.com/m/66jvQoopYw/HAvroBase&subj=3DRe+question+about+co= mp letely+untagged+data+ http://search-hadoop.com/m/q7lLU1GVhHd2/HAvroBase&subj=3DRe+Versioning+of+a= n+ array+of+a+record On 1/18/11 10:08 AM, "David Rosenstrauch" <[email protected]> wrote: >I've also found this to be the case, and was wondering about it. I also >had thought that I could just re-init an existing BinaryEncoder, but >found that I had to create a new one each time. I didn't really think >much of it at the time, but in retrospect it does sound like it might be >a bug. Perhaps one of the devs can comment more. (And/or perhaps you >might want to open a bug report about this.) > >DR > >On 01/18/2011 03:17 AM, Devajyoti Sarkar wrote: >> Let me first give some context, I would like to store a datum serialized >> with a BinaryEncoder without having to place a schema with it (as the >> DataFileWriter does). Instead I have created a container record that >>stores >> a unique id for the schema version and a payload field of type "bytes". >>This >> allows me to have a self-describing data object (for example, to place >>in a >> cell in HBase) without the overhead of a schema per object. (Perhaps >>there >> is a better way to do this, if so please let me know). >> >> The code looks something like this: >> >> GenericRecord container =3D new GenericData.Record(containerSchema)= ; >> writer.setSchema(containerSchema); >> container.put(CONTAINER_SCHEMA_ID_FIELD, >> datum.getSchema().getProp(SCHEMA_ID_PROPERTY)); >> container.put(CONTAINER_PAYLOAD_FIELD, >> ByteBuffer.wrap(datumBits.toByteArray())); >> ByteArrayOutputStream containerBits =3D new ByteArrayOutputStream()= ; >> encoder.init(containerBits); >> writer.write(container, encoder); >> encoder.flush(); >> containerBits.flush(); >> containerBits.close(); >> >> I am trying to reuse an encoder by calling init() to re-initialize it. >> Perhaps this is what creates the problem. If I create a new encoder each >> time everything works fine. However, if I just use init, then the >> OutputStream for the encoder is reset but the OutputStream for the >> SimpleByteWriter within the encoder is not. This seems to be causing the >> problem because when the encoder is flushed, it does not write the >>bytes in >> the ByteWriter. Perhaps the init() method is not supposed to be used >>this >> way. But it would be nice to not have to create a new encoder each time. >> >> Can you please let me know if the above looks right and advise me as to >>what >> is the best way to do the serialization. >> >> Thanks, >> Dev >> >> >> >> On Tue, Jan 18, 2011 at 4:14 AM, Scott >>Carey<[email protected]>wrote: >> >>> BinaryEncoder buffers data, you may have to call flush() to see it in >>>the >>> output stream. >>> >>> >>> On 1/17/11 4:53 AM, "Devajyoti Sarkar"<[email protected]> wrote: >>> >>> Hi, >>> >>> I am just beginning to use Avro, so I apologize if this is a silly >>> question. >>> >>> I would like to set a field of type "bytes" in Java. I am assuming >>>that all >>> I need to do is wrap a byte[] in a ByteBuffer to set the value. >>> Unfortunately that does not seem to work. I am using a BinaryEncoder >>>and >>> looking at its output, it has not written any the bytes that were in >>>the >>> array. The first four values of the array are 0, -128, -128, -128. >>> >>> Is it because Java uses 8-bit signed bytes while the Avro spec calls >>>for >>> 8-bit unsigned bytes in a field of type "bytes"? If so, how does one >>>convert >>> Java bytes to the kind accepted by Avro? >>> >>> Thanks in advance. >>> >>> Dev >>> >>> >> > From [email protected] Tue Jan 18 18:39:21 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77873 invoked from network); 18 Jan 2011 18:39:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Jan 2011 18:39:21 -0000 Received: (qmail 52906 invoked by uid 500); 18 Jan 2011 18:39:21 -0000 Delivered-To: [email protected] Received: (qmail 52643 invoked by uid 500); 18 Jan 2011 18:39:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 52635 invoked by uid 99); 18 Jan 2011 18:39:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 18:39:17 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-vw0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 18:39:08 +0000 Received: by vws17 with SMTP id 17so2520850vws.30 for <[email protected]>; Tue, 18 Jan 2011 10:38:47 -0800 (PST) Received: by 161.129.204.104 with SMTP id ct3mr1790244vcb.57.1295375926913; Tue, 18 Jan 2011 10:38:46 -0800 (PST) Received: from [161.129.204.104] ([161.129.204.104]) by mx.google.com with ESMTPS id b6sm1797392vci.24.2161.129.204.104.38.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 18 Jan 2011 10:38:45 -0800 (PST) User-Agent: Microsoft-MacOutlook/161.129.204.104115 Date: Tue, 18 Jan 2011 10:38:44 -0800 Subject: Re: Feature for Date/Time Data Types in Avro? From: Ron Bodkin <[email protected]> To: <[email protected]> Message-ID: <[email protected]> Thread-Topic: Feature for Date/Time Data Types in Avro? In-Reply-To: <[email protected]> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Overall, yes. A couple of points worth addressing in a design: 1) Do we want to allow encoding time zone data in the records? Storing a raw timestamp is sometimes not ideal. It's worth looking at how SQL allows timestamps with and without time zones. Is that simpler, or is it actually more complex? 2) Do we want to allow dates (for storing a day, without a timestamp)? 3) It would be nice to allow some flexibility in the implementation classes for dates, e.g., letting Java users use Joda time classes as well as java.util.Date Ron Ron Bodkin CEO Think Big Analytics m: (812)538-8617 On 1/18/11 8:42 AM, "Doug Cutting" <[email protected]> wrote: >The way that I have imagined doing this is to specify a standard schema >for dates, then implementations can optionally map this to a native date >type. > >The schema could be a record containing a long, e.g.: > >{"type": "record", "name":"org.apache.avro.lib.Date", "fields" : [ > {"name": "time", "type": "long"} > ] >} > >Java could read this into a java.util.Date, Python to a datetime, etc. >Such conventions could be added to the Avro specification. > >Does this sound like a reasonable approach? > >Doug > >On 01/17/2011 05:54 PM, Ron Bodkin wrote: >> Has anyone discussed the possibility of having built-in support for a >> date/time stamp data type in Avro? I think it'd be helpful, since dates >> and timestamps are often used as keys in processing map/reduce data (and >> in RPC systems). It's unpleasant to have to write code that converts >> longs or strings into dates or timestamps. Minimally, it would be useful >> to allow generating date/time stamps from long timestamps in the client >> APIs various language code and to have support for working with Dates in >> the Java reflection API. >> >> I'd like to get feedback from others if they'd also like to see support >> for date/time data types in Avro. It seems like a generally useful >> feature that would be worth adding with a patch. >> >> Thanks, >> Ron >> >> Ron Bodkin >> CEO >> Think Big Analytics >> m: (812)538-8617 >> >> From [email protected] Tue Jan 18 19:48:09 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17055 invoked from network); 18 Jan 2011 19:48:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Jan 2011 19:48:09 -0000 Received: (qmail 41263 invoked by uid 500); 18 Jan 2011 19:48:09 -0000 Delivered-To: [email protected] Received: (qmail 41144 invoked by uid 500); 18 Jan 2011 19:48:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 41136 invoked by uid 99); 18 Jan 2011 19:48:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 19:48:08 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO EXHUB018-4.exch018.msoutlookonline.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 19:48:01 +0000 Received: from EXVMBX018-1.exch018.msoutlookonline.net ([161.129.204.104]) by EXHUB018-4.exch018.msoutlookonline.net ([161.129.204.104]) with mapi; Tue, 18 Jan 2011 11:47:41 -0800 From: Scott Carey <[email protected]> To: "[email protected]" <[email protected]> Date: Tue, 18 Jan 2011 11:49:49 -0800 Subject: Re: Feature for Date/Time Data Types in Avro? Thread-Topic: Feature for Date/Time Data Types in Avro? Thread-Index: Acu3SJEbB6A2E3BWSAW4HpNeXseOww== Message-ID: <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/161.129.204.104115 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 We should get this discussion into JIRA soon. On 1/18/11 10:38 AM, "Ron Bodkin" <[email protected]> wrote: >Overall, yes. A couple of points worth addressing in a design: > >1) Do we want to allow encoding time zone data in the records? Storing a >raw timestamp is sometimes not ideal. It's worth looking at how SQL allows >timestamps with and without time zones. Is that simpler, or is it actually >more complex? It is generally 100000x simpler to serialize only in UTC and let libraries support what they support W.R.T timezone. Painful memories of design mistakes past. SQL does a lot of TZ work because they support user input and output formatting. In the back-end most databases store in only a limited way. >2) Do we want to allow dates (for storing a day, without a timestamp)? Days introduce timezone complexity if you want to find out what day a timestamp is in. So if we support day, or hour, then that is a significant increase in complexity. Furthermore, the timezone may not even be the same per row. We could leave that up to the user and support a day type that is merely the number of days since some origin point and leaves the timezone interpretation (and thus conversion to 'day' from 'datetime') in the user's hands, perhaps with metadata support. >3) It would be nice to allow some flexibility in the implementation >classes for dates, e.g., letting Java users use Joda time classes as well >as java.util.Date Absolutely. This is a per-language feature though, so it may not require much of the spec. For example, in Java it could simply be a configuration parameter passed to the DatumReader/Writers. It doesn't make a lot of sense to store metadata on the data that says "this is a Joda object, not java.util.Date" -- that is a user choice and not intrinsic to describing the data. There are other questions too -- what are the timestamp units (milliseconds? configurable?), what is the origin (1970? 2010? configurable?) -- these decisions affect the serialization size. I have a manual serialization of timestamps that is a long, in tenths of a second since 2008, for example. I have another that is a duration measured in tenths of a millisecond. Both were done to reduce the number of bytes per value for a specific problem domain. Although I could use such flexibility, I'm not sure that is enough of a motivator to put that into Avro. I'm not very bothered with converting from long to a human readable datetime myself. > >Ron > > >Ron Bodkin >CEO >Think Big Analytics >m: (812)538-8617 > > > > > > > > >On 1/18/11 8:42 AM, "Doug Cutting" <[email protected]> wrote: > >>The way that I have imagined doing this is to specify a standard schema >>for dates, then implementations can optionally map this to a native date >>type. >> >>The schema could be a record containing a long, e.g.: >> >>{"type": "record", "name":"org.apache.avro.lib.Date", "fields" : [ >> {"name": "time", "type": "long"} >> ] >>} >> >>Java could read this into a java.util.Date, Python to a datetime, etc. >>Such conventions could be added to the Avro specification. >> >>Does this sound like a reasonable approach? >> >>Doug >> >>On 01/17/2011 05:54 PM, Ron Bodkin wrote: >>> Has anyone discussed the possibility of having built-in support for a >>> date/time stamp data type in Avro? I think it'd be helpful, since dates >>> and timestamps are often used as keys in processing map/reduce data >>>(and >>> in RPC systems). It's unpleasant to have to write code that converts >>> longs or strings into dates or timestamps. Minimally, it would be >>>useful >>> to allow generating date/time stamps from long timestamps in the client >>> APIs various language code and to have support for working with Dates >>>in >>> the Java reflection API. >>> >>> I'd like to get feedback from others if they'd also like to see support >>> for date/time data types in Avro. It seems like a generally useful >>> feature that would be worth adding with a patch. >>> >>> Thanks, >>> Ron >>> >>> Ron Bodkin >>> CEO >>> Think Big Analytics >>> m: (812)538-8617 >>> >>> > > From [email protected] Wed Jan 19 07:19:26 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94197 invoked from network); 19 Jan 2011 07:19:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jan 2011 07:19:26 -0000 Received: (qmail 25572 invoked by uid 500); 19 Jan 2011 07:19:26 -0000 Delivered-To: [email protected] Received: (qmail 25345 invoked by uid 500); 19 Jan 2011 07:19:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 25337 invoked by uid 99); 19 Jan 2011 07:19:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 07:19:22 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-qw0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 07:19:18 +0000 Received: by qwk3 with SMTP id 3so510400qwk.30 for <[email protected]>; Tue, 18 Jan 2011 23:18:56 -0800 (PST) Received: by 161.129.204.104 with SMTP id kw13mr318685qcb.172.1295421536638; Tue, 18 Jan 2011 23:18:56 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Tue, 18 Jan 2011 23:18:36 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> From: Devajyoti Sarkar <[email protected]> Date: Wed, 19 Jan 2011 12:48:36 +0530 Message-ID: <[email protected]> Subject: Re: Setting bytes in Java To: [email protected] Content-Type: multipart/alternative; boundary=0016e68b68b28698f7049a2dd403 --0016e68b68b28698f7049a2dd403 Content-Type: text/plain; charset=ISO-8859-1 It has been filed as AVRO-738. Thanks for the links. Dev On Wed, Jan 19, 2011 at 12:00 AM, Scott Carey <[email protected]>wrote: > Please open a bug report in JIRA. I don't have time to look at this now, > but someone else might. > > > On the topic of per record versioning and how to design a system that does > not store schemas per record, there have been useful topics on this > mailing list in the past: > > > http://search-hadoop.com/m/66jvQoopYw/HAvroBase&subj=Re+question+about+comp > letely+untagged+data+ > > http://search-hadoop.com/m/q7lLU1GVhHd2/HAvroBase&subj=Re+Versioning+of+an+ > array+of+a+record > > On 1/18/11 10:08 AM, "David Rosenstrauch" <[email protected]> wrote: > > >I've also found this to be the case, and was wondering about it. I also > >had thought that I could just re-init an existing BinaryEncoder, but > >found that I had to create a new one each time. I didn't really think > >much of it at the time, but in retrospect it does sound like it might be > >a bug. Perhaps one of the devs can comment more. (And/or perhaps you > >might want to open a bug report about this.) > > > >DR > > > >On 01/18/2011 03:17 AM, Devajyoti Sarkar wrote: > >> Let me first give some context, I would like to store a datum serialized > >> with a BinaryEncoder without having to place a schema with it (as the > >> DataFileWriter does). Instead I have created a container record that > >>stores > >> a unique id for the schema version and a payload field of type "bytes". > >>This > >> allows me to have a self-describing data object (for example, to place > >>in a > >> cell in HBase) without the overhead of a schema per object. (Perhaps > >>there > >> is a better way to do this, if so please let me know). > >> > >> The code looks something like this: > >> > >> GenericRecord container = new GenericData.Record(containerSchema); > >> writer.setSchema(containerSchema); > >> container.put(CONTAINER_SCHEMA_ID_FIELD, > >> datum.getSchema().getProp(SCHEMA_ID_PROPERTY)); > >> container.put(CONTAINER_PAYLOAD_FIELD, > >> ByteBuffer.wrap(datumBits.toByteArray())); > >> ByteArrayOutputStream containerBits = new ByteArrayOutputStream(); > >> encoder.init(containerBits); > >> writer.write(container, encoder); > >> encoder.flush(); > >> containerBits.flush(); > >> containerBits.close(); > >> > >> I am trying to reuse an encoder by calling init() to re-initialize it. > >> Perhaps this is what creates the problem. If I create a new encoder each > >> time everything works fine. However, if I just use init, then the > >> OutputStream for the encoder is reset but the OutputStream for the > >> SimpleByteWriter within the encoder is not. This seems to be causing the > >> problem because when the encoder is flushed, it does not write the > >>bytes in > >> the ByteWriter. Perhaps the init() method is not supposed to be used > >>this > >> way. But it would be nice to not have to create a new encoder each time. > >> > >> Can you please let me know if the above looks right and advise me as to > >>what > >> is the best way to do the serialization. > >> > >> Thanks, > >> Dev > >> > >> > >> > >> On Tue, Jan 18, 2011 at 4:14 AM, Scott > >>Carey<[email protected]>wrote: > >> > >>> BinaryEncoder buffers data, you may have to call flush() to see it in > >>>the > >>> output stream. > >>> > >>> > >>> On 1/17/11 4:53 AM, "Devajyoti Sarkar"<[email protected]> wrote: > >>> > >>> Hi, > >>> > >>> I am just beginning to use Avro, so I apologize if this is a silly > >>> question. > >>> > >>> I would like to set a field of type "bytes" in Java. I am assuming > >>>that all > >>> I need to do is wrap a byte[] in a ByteBuffer to set the value. > >>> Unfortunately that does not seem to work. I am using a BinaryEncoder > >>>and > >>> looking at its output, it has not written any the bytes that were in > >>>the > >>> array. The first four values of the array are 0, -128, -128, -128. > >>> > >>> Is it because Java uses 8-bit signed bytes while the Avro spec calls > >>>for > >>> 8-bit unsigned bytes in a field of type "bytes"? If so, how does one > >>>convert > >>> Java bytes to the kind accepted by Avro? > >>> > >>> Thanks in advance. > >>> > >>> Dev > >>> > >>> > >> > > > > --0016e68b68b28698f7049a2dd403 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable It has been filed as AVRO-738.<div><br></div><div>Thanks for the links.</di= v><div><br></div><div>Dev<br><br><div class=3D"gmail_quote">On Wed, Jan 19,= 2011 at 12:00 AM, Scott Carey <span dir=3D"ltr">&lt;<a href=3D"mailto:scot= [email protected]">[email protected]</a>&gt;</span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex;">Please open a bug report in JIRA. =A0I don&= #39;t have time to look at this now,<br> but someone else might.<br> <br> <br> On the topic of per record versioning and how to design a system that does<= br> not store schemas per record, there have been useful topics on this<br> mailing list in the past:<br> <br> <br> <a href=3D"http://search-hadoop.com/m/66jvQoopYw/HAvroBase&amp;subj=3DRe+qu= estion+about+comp" target=3D"_blank">http://search-hadoop.com/m/66jvQoopYw/= HAvroBase&amp;subj=3DRe+question+about+comp</a><br> letely+untagged+data+<br> <br> <a href=3D"http://search-hadoop.com/m/q7lLU1GVhHd2/HAvroBase&amp;subj=3DRe+= Versioning+of+an+" target=3D"_blank">http://search-hadoop.com/m/q7lLU1GVhHd= 2/HAvroBase&amp;subj=3DRe+Versioning+of+an+</a><br> array+of+a+record<br> <div><div></div><div class=3D"h5"><br> On 1/18/11 10:08 AM, &quot;David Rosenstrauch&quot; &lt;<a href=3D"mailto:d= [email protected]">[email protected]</a>&gt; wrote:<br> <br> &gt;I&#39;ve also found this to be the case, and was wondering about it. = =A0I also<br> &gt;had thought that I could just re-init an existing BinaryEncoder, but<br= > &gt;found that I had to create a new one each time. =A0I didn&#39;t really = think<br> &gt;much of it at the time, but in retrospect it does sound like it might b= e<br> &gt;a bug. =A0Perhaps one of the devs can comment more. =A0(And/or perhaps = you<br> &gt;might want to open a bug report about this.)<br> &gt;<br> &gt;DR<br> &gt;<br> &gt;On 01/18/2011 03:17 AM, Devajyoti Sarkar wrote:<br> &gt;&gt; Let me first give some context, I would like to store a datum seri= alized<br> &gt;&gt; with a BinaryEncoder without having to place a schema with it (as = the<br> &gt;&gt; DataFileWriter does). Instead I have created a container record th= at<br> &gt;&gt;stores<br> &gt;&gt; a unique id for the schema version and a payload field of type &qu= ot;bytes&quot;.<br> &gt;&gt;This<br> &gt;&gt; allows me to have a self-describing data object (for example, to p= lace<br> &gt;&gt;in a<br> &gt;&gt; cell in HBase) without the overhead of a schema per object. (Perha= ps<br> &gt;&gt;there<br> &gt;&gt; is a better way to do this, if so please let me know).<br> &gt;&gt;<br> &gt;&gt; The code looks something like this:<br> &gt;&gt;<br> &gt;&gt; =A0 =A0 =A0GenericRecord container =3D new GenericData.Record(cont= ainerSchema);<br> &gt;&gt; =A0 =A0 =A0writer.setSchema(containerSchema);<br> &gt;&gt; =A0 =A0 =A0container.put(CONTAINER_SCHEMA_ID_FIELD,<br> &gt;&gt; datum.getSchema().getProp(SCHEMA_ID_PROPERTY));<br> &gt;&gt; =A0 =A0 =A0container.put(CONTAINER_PAYLOAD_FIELD,<br> &gt;&gt; ByteBuffer.wrap(datumBits.toByteArray()));<br> &gt;&gt; =A0 =A0 =A0ByteArrayOutputStream containerBits =3D new ByteArrayOu= tputStream();<br> &gt;&gt; =A0 =A0 =A0encoder.init(containerBits);<br> &gt;&gt; =A0 =A0 =A0writer.write(container, encoder);<br> &gt;&gt; =A0 =A0 =A0encoder.flush();<br> &gt;&gt; =A0 =A0 =A0containerBits.flush();<br> &gt;&gt; =A0 =A0 =A0containerBits.close();<br> &gt;&gt;<br> &gt;&gt; I am trying to reuse an encoder by calling init() to re-initialize= it.<br> &gt;&gt; Perhaps this is what creates the problem. If I create a new encode= r each<br> &gt;&gt; time everything works fine. However, if I just use init, then the<= br> &gt;&gt; OutputStream for the encoder is reset but the OutputStream for the= <br> &gt;&gt; SimpleByteWriter within the encoder is not. This seems to be causi= ng the<br> &gt;&gt; problem because when the encoder is flushed, it does not write the= <br> &gt;&gt;bytes in<br> &gt;&gt; the ByteWriter. Perhaps the init() method is not supposed to be us= ed<br> &gt;&gt;this<br> &gt;&gt; way. But it would be nice to not have to create a new encoder each= time.<br> &gt;&gt;<br> &gt;&gt; Can you please let me know if the above looks right and advise me = as to<br> &gt;&gt;what<br> &gt;&gt; is the best way to do the serialization.<br> &gt;&gt;<br> &gt;&gt; Thanks,<br> &gt;&gt; Dev<br> &gt;&gt;<br> &gt;&gt;<br> &gt;&gt;<br> &gt;&gt; On Tue, Jan 18, 2011 at 4:14 AM, Scott<br> &gt;&gt;Carey&lt;<a href=3D"mailto:[email protected]">scott@richrelev= ance.com</a>&gt;wrote:<br> &gt;&gt;<br> &gt;&gt;&gt; BinaryEncoder buffers data, you may have to call flush() to se= e it in<br> &gt;&gt;&gt;the<br> &gt;&gt;&gt; output stream.<br> &gt;&gt;&gt;<br> &gt;&gt;&gt;<br> &gt;&gt;&gt; On 1/17/11 4:53 AM, &quot;Devajyoti Sarkar&quot;&lt;<a href=3D= "mailto:[email protected]">[email protected]</a>&gt; =A0wrote:<br> &gt;&gt;&gt;<br> &gt;&gt;&gt; Hi,<br> &gt;&gt;&gt;<br> &gt;&gt;&gt; I am just beginning to use Avro, so I apologize if this is a s= illy<br> &gt;&gt;&gt; question.<br> &gt;&gt;&gt;<br> &gt;&gt;&gt; I would like to set a field of type &quot;bytes&quot; in Java.= I am assuming<br> &gt;&gt;&gt;that all<br> &gt;&gt;&gt; I need to do is wrap a byte[] in a ByteBuffer to set the value= .<br> &gt;&gt;&gt; Unfortunately that does not seem to work. I am using a BinaryE= ncoder<br> &gt;&gt;&gt;and<br> &gt;&gt;&gt; looking at its output, it has not written any the bytes that w= ere in<br> &gt;&gt;&gt;the<br> &gt;&gt;&gt; array. The first four values of the array are 0, -128, -128, -= 128.<br> &gt;&gt;&gt;<br> &gt;&gt;&gt; Is it because Java uses 8-bit signed bytes while the Avro spec= calls<br> &gt;&gt;&gt;for<br> &gt;&gt;&gt; 8-bit unsigned bytes in a field of type &quot;bytes&quot;? If = so, how does one<br> &gt;&gt;&gt;convert<br> &gt;&gt;&gt; Java bytes to the kind accepted by Avro?<br> &gt;&gt;&gt;<br> &gt;&gt;&gt; Thanks in advance.<br> &gt;&gt;&gt;<br> &gt;&gt;&gt; Dev<br> &gt;&gt;&gt;<br> &gt;&gt;&gt;<br> &gt;&gt;<br> &gt;<br> <br> </div></div></blockquote></div><br></div> --0016e68b68b28698f7049a2dd403-- From [email protected] Thu Jan 20 01:31:32 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1319 invoked from network); 20 Jan 2011 01:31:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Jan 2011 01:31:32 -0000 Received: (qmail 23670 invoked by uid 500); 20 Jan 2011 01:31:32 -0000 Delivered-To: [email protected] Received: (qmail 23563 invoked by uid 500); 20 Jan 2011 01:31:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23555 invoked by uid 99); 20 Jan 2011 01:31:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jan 2011 01:31:31 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-iy0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jan 2011 01:31:24 +0000 Received: by iyj21 with SMTP id 21so47184iyj.30 for <[email protected]>; Wed, 19 Jan 2011 17:31:03 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id j6mr1814803icz.140.1295487063012; Wed, 19 Jan 2011 17:31:03 -0800 (PST) Received: by 161.129.204.104 with HTTP; Wed, 19 Jan 2011 17:31:02 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Wed, 19 Jan 2011 17:31:02 -0800 Message-ID: <[email protected]> Subject: Re: Feature for Date/Time Data Types in Avro? From: Jeff Hammerbacher <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=90e6ba6e8fa233b5ae049a3d16fd X-Virus-Checked: Checked by ClamAV on apache.org --90e6ba6e8fa233b5ae049a3d16fd Content-Type: text/plain; charset=ISO-8859-1 https://issues.apache.org/jira/browse/AVRO-739 On Tue, Jan 18, 2011 at 11:49 AM, Scott Carey <[email protected]>wrote: > We should get this discussion into JIRA soon. > > On 1/18/11 10:38 AM, "Ron Bodkin" <[email protected]> wrote: > > >Overall, yes. A couple of points worth addressing in a design: > > > >1) Do we want to allow encoding time zone data in the records? Storing a > >raw timestamp is sometimes not ideal. It's worth looking at how SQL allows > >timestamps with and without time zones. Is that simpler, or is it actually > >more complex? > > It is generally 100000x simpler to serialize only in UTC and let libraries > support what they support W.R.T timezone. Painful memories of design > mistakes past. > SQL does a lot of TZ work because they support user input and output > formatting. In the back-end most databases store in only a limited way. > > >2) Do we want to allow dates (for storing a day, without a timestamp)? > Days introduce timezone complexity if you want to find out what day a > timestamp is in. > So if we support day, or hour, then that is a significant increase in > complexity. Furthermore, the timezone may not even be the same per row. > We could leave that up to the user and support a day type that is merely > the number of days since some origin point and leaves the timezone > interpretation (and thus conversion to 'day' from 'datetime') in the > user's hands, perhaps with metadata support. > > > >3) It would be nice to allow some flexibility in the implementation > >classes for dates, e.g., letting Java users use Joda time classes as well > >as java.util.Date > > Absolutely. This is a per-language feature though, so it may not require > much of the spec. For example, in Java it could simply be a configuration > parameter passed to the DatumReader/Writers. It doesn't make a lot of > sense to store metadata on the data that says "this is a Joda object, not > java.util.Date" -- that is a user choice and not intrinsic to describing > the data. > > There are other questions too -- what are the timestamp units > (milliseconds? configurable?), what is the origin (1970? 2010? > configurable?) -- these decisions affect the serialization size. > I have a manual serialization of timestamps that is a long, in tenths of a > second since 2008, for example. I have another that is a duration > measured in tenths of a millisecond. Both were done to reduce the number > of bytes per value for a specific problem domain. > Although I could use such flexibility, I'm not sure that is enough of a > motivator to put that into Avro. I'm not very bothered with converting > from long to a human readable datetime myself. > > > > >Ron > > > > > >Ron Bodkin > >CEO > >Think Big Analytics > >m: (812)538-8617 > > > > > > > > > > > > > > > > > >On 1/18/11 8:42 AM, "Doug Cutting" <[email protected]> wrote: > > > >>The way that I have imagined doing this is to specify a standard schema > >>for dates, then implementations can optionally map this to a native date > >>type. > >> > >>The schema could be a record containing a long, e.g.: > >> > >>{"type": "record", "name":"org.apache.avro.lib.Date", "fields" : [ > >> {"name": "time", "type": "long"} > >> ] > >>} > >> > >>Java could read this into a java.util.Date, Python to a datetime, etc. > >>Such conventions could be added to the Avro specification. > >> > >>Does this sound like a reasonable approach? > >> > >>Doug > >> > >>On 01/17/2011 05:54 PM, Ron Bodkin wrote: > >>> Has anyone discussed the possibility of having built-in support for a > >>> date/time stamp data type in Avro? I think it'd be helpful, since dates > >>> and timestamps are often used as keys in processing map/reduce data > >>>(and > >>> in RPC systems). It's unpleasant to have to write code that converts > >>> longs or strings into dates or timestamps. Minimally, it would be > >>>useful > >>> to allow generating date/time stamps from long timestamps in the client > >>> APIs various language code and to have support for working with Dates > >>>in > >>> the Java reflection API. > >>> > >>> I'd like to get feedback from others if they'd also like to see support > >>> for date/time data types in Avro. It seems like a generally useful > >>> feature that would be worth adding with a patch. > >>> > >>> Thanks, > >>> Ron > >>> > >>> Ron Bodkin > >>> CEO > >>> Think Big Analytics > >>> m: (812)538-8617 > >>> > >>> > > > > > > --90e6ba6e8fa233b5ae049a3d16fd Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <a href=3D"https://issues.apache.org/jira/browse/AVRO-739">https://issues.a= pache.org/jira/browse/AVRO-739</a><br><br><div class=3D"gmail_quote">On Tue= , Jan 18, 2011 at 11:49 AM, Scott Carey <span dir=3D"ltr">&lt;<a href=3D"ma= ilto:[email protected]">[email protected]</a>&gt;</span> wrote:= <br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex;">We should get this discussion into JIRA soo= n.<br> <div class=3D"im"><br> On 1/18/11 10:38 AM, &quot;Ron Bodkin&quot; &lt;<a href=3D"mailto:rbodkin@t= hinkbiganalytics.com">[email protected]</a>&gt; wrote:<br> <br> &gt;Overall, yes. A couple of points worth addressing in a design:<br> &gt;<br> &gt;1) Do we want to allow encoding time zone data in the records? Storing = a<br> &gt;raw timestamp is sometimes not ideal. It&#39;s worth looking at how SQL= allows<br> &gt;timestamps with and without time zones. Is that simpler, or is it actua= lly<br> &gt;more complex?<br> <br> </div>It is generally 100000x simpler to serialize only in UTC and let libr= aries<br> support what they support W.R.T timezone. =A0Painful memories of design<br> mistakes past.<br> SQL does a lot of TZ work because they support user input and output<br> formatting. =A0In the back-end most databases store in only a limited way.<= br> <div class=3D"im"><br> &gt;2) Do we want to allow dates (for storing a day, without a timestamp)?<= br> </div>Days introduce timezone complexity if you want to find out what day a= <br> timestamp is in.<br> So if we support day, or hour, then that is a significant increase in<br> complexity. =A0Furthermore, the timezone may =A0not even be the same per ro= w.<br> =A0We could leave that up to the user and support a day type that is merely= <br> the number of days since some origin point and leaves the timezone<br> interpretation (and thus conversion to &#39;day&#39; from &#39;datetime&#39= ;) in the<br> user&#39;s hands, perhaps with metadata support.<br> <div class=3D"im"><br> <br> &gt;3) It would be nice to allow some flexibility in the implementation<br> &gt;classes for dates, e.g., letting Java users use Joda time classes as we= ll<br> &gt;as java.util.Date<br> <br> </div>Absolutely. =A0This is a per-language feature though, so it may not r= equire<br> much of the spec. =A0For example, in Java it could simply be a configuratio= n<br> parameter passed to the DatumReader/Writers. =A0It doesn&#39;t make a lot o= f<br> sense to store metadata on the data that says &quot;this is a Joda object, = not<br> java.util.Date&quot; -- that is a user choice and not intrinsic to describi= ng<br> the data.<br> <br> There are other questions too -- what are the timestamp units<br> (milliseconds? configurable?), what is the origin (1970? 2010?<br> configurable?) -- these decisions affect the serialization size.<br> I have a manual serialization of timestamps that is a long, in tenths of a<= br> second since 2008, for example. =A0I have another that is a duration<br> measured in tenths of a millisecond. =A0Both were done to reduce the number= <br> of bytes per value for a specific problem domain.<br> Although I could use such flexibility, I&#39;m not sure that is enough of a= <br> motivator to put that into Avro. =A0I&#39;m not very bothered with converti= ng<br> from long to a human readable datetime myself.<br> <div><div></div><div class=3D"h5"><br> &gt;<br> &gt;Ron<br> &gt;<br> &gt;<br> &gt;Ron Bodkin<br> &gt;CEO<br> &gt;Think Big Analytics<br> &gt;m: (812)538-8617<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;On 1/18/11 8:42 AM, &quot;Doug Cutting&quot; &lt;<a href=3D"mailto:cutt= [email protected]">[email protected]</a>&gt; wrote:<br> &gt;<br> &gt;&gt;The way that I have imagined doing this is to specify a standard sc= hema<br> &gt;&gt;for dates, then implementations can optionally map this to a native= date<br> &gt;&gt;type.<br> &gt;&gt;<br> &gt;&gt;The schema could be a record containing a long, e.g.:<br> &gt;&gt;<br> &gt;&gt;{&quot;type&quot;: &quot;record&quot;, &quot;name&quot;:&quot;org.a= pache.avro.lib.Date&quot;, &quot;fields&quot; : [<br> &gt;&gt; =A0 {&quot;name&quot;: &quot;time&quot;, &quot;type&quot;: &quot;l= ong&quot;}<br> &gt;&gt; =A0]<br> &gt;&gt;}<br> &gt;&gt;<br> &gt;&gt;Java could read this into a java.util.Date, Python to a datetime, e= tc.<br> &gt;&gt;Such conventions could be added to the Avro specification.<br> &gt;&gt;<br> &gt;&gt;Does this sound like a reasonable approach?<br> &gt;&gt;<br> &gt;&gt;Doug<br> &gt;&gt;<br> &gt;&gt;On 01/17/2011 05:54 PM, Ron Bodkin wrote:<br> &gt;&gt;&gt; Has anyone discussed the possibility of having built-in suppor= t for a<br> &gt;&gt;&gt; date/time stamp data type in Avro? I think it&#39;d be helpful= , since dates<br> &gt;&gt;&gt; and timestamps are often used as keys in processing map/reduce= data<br> &gt;&gt;&gt;(and<br> &gt;&gt;&gt; in RPC systems). It&#39;s unpleasant to have to write code tha= t converts<br> &gt;&gt;&gt; longs or strings into dates or timestamps. Minimally, it would= be<br> &gt;&gt;&gt;useful<br> &gt;&gt;&gt; to allow generating date/time stamps from long timestamps in t= he client<br> &gt;&gt;&gt; APIs various language code and to have support for working wit= h Dates<br> &gt;&gt;&gt;in<br> &gt;&gt;&gt; the Java reflection API.<br> &gt;&gt;&gt;<br> &gt;&gt;&gt; I&#39;d like to get feedback from others if they&#39;d also li= ke to see support<br> &gt;&gt;&gt; for date/time data types in Avro. It seems like a generally us= eful<br> &gt;&gt;&gt; feature that would be worth adding with a patch.<br> &gt;&gt;&gt;<br> &gt;&gt;&gt; Thanks,<br> &gt;&gt;&gt; Ron<br> &gt;&gt;&gt;<br> &gt;&gt;&gt; Ron Bodkin<br> &gt;&gt;&gt; CEO<br> &gt;&gt;&gt; Think Big Analytics<br> &gt;&gt;&gt; m: (812)538-8617<br> &gt;&gt;&gt;<br> &gt;&gt;&gt;<br> &gt;<br> &gt;<br> <br> </div></div></blockquote></div><br> --90e6ba6e8fa233b5ae049a3d16fd-- From [email protected] Sat Jan 22 15:55:59 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25019 invoked from network); 22 Jan 2011 15:55:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Jan 2011 15:55:59 -0000 Received: (qmail 8315 invoked by uid 500); 22 Jan 2011 15:55:59 -0000 Delivered-To: [email protected] Received: (qmail 8067 invoked by uid 500); 22 Jan 2011 15:55:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 8057 invoked by uid 99); 22 Jan 2011 15:55:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Jan 2011 15:55:56 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iy0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Jan 2011 15:55:49 +0000 Received: by iyj21 with SMTP id 21so2756527iyj.30 for <[email protected]>; Sat, 22 Jan 2011 07:55:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=Oiq77068b1AKHe/IirilbfNAqsHY5VwG3KwJyowC3lc=; b=FfLDM4Tvj10RUHtUQaNjq4Nj+15vjwL8yVPfeYExqSpW6zseFJUar2qsln/VfeGQv4 N9zHw3m1kI9G7pAu8SWDTt6h6x/0WJQp3WivSixtrcmPc08yccHoHR/9VLkN5k56C6+v FenHLkU0AtgjDZYT1gkFI2hM+Cka9pjcV7rPM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=sF7G4QDKJ9xNOFIBqwa0ZdAQaUUta1JLW3WGdURcqRC7/kF+PaKGNQ1gneUftXvBsl z/U9EHVeW0mG4EAmTNv2L60pVtdOHKgjK9WuTKO2ReP1l4zoFmJy/OhTB2heKZTVqUzd nh2De5kZFMT3TnEyb9vn6DINhvGWCZ1HrG4Fw= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id jb10mr2352201icb.475.1295711728734; Sat, 22 Jan 2011 07:55:28 -0800 (PST) Received: by 161.129.204.104 with HTTP; Sat, 22 Jan 2011 07:55:28 -0800 (PST) Date: Sun, 23 Jan 2011 00:55:28 +0900 Message-ID: <[email protected]> Subject: a question on C API From: Tatsuya Mori <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Hi, I have a trouble in using Avro C API for processing a large data set. I started by testing the example code below using Avro 1.4.1 (release). http://avro.apache.org/docs/1.4.1/api/c/index.html#_examples The code compiles and runs without any problems. After changing the data appending part (please see the snippet below), I found the data reading function is terminated with an error, which is associated with the avro_file_reader_read(). The function returns byte sequence error (EILSEQ). This error may indicate that the size of sync is wrongly recorded in the avro file reader. But, I have not been able to understand how this could happen. Is there any way to fix this? Or am I misusing the API? I would appreciate your comments. Thanks! Tatsuya [changed part] /* Add people to the database for 6000 times */ int j; for (j=1; j<=1000; j++) { add_person(db, "Dante", "Hicks", "(555) 123-4567", j); add_person(db, "Randal", "Graves", "(555) 123-5678", j); add_person(db, "Veronica", "Loughran", "(555) 123-0987", j); add_person(db, "Caitlin", "Bree", "(555) 123-2323", j); add_person(db, "Bob", "Silent", "(555) 123-6422", j); add_person(db, "Jay", "???", "(555) 123-9182", j); } [part of output] Successfully added Hicks, Dante id=1 Successfully added Graves, Randal id=2 Successfully added Loughran, Veronica id=3 Successfully added Bree, Caitlin id=4 ... Successfully added Bree, Caitlin id=5998 Successfully added Silent, Bob id=5999 Successfully added ???, Jay id=6000 Now let's read all the records back out 1 | Dante | Hicks | (555) 123-4567 | 1 2 | Randal | Graves | (555) 123-5678 | 1 3 | Veronica | Loughran | (555) 123-0987 | 1 4 | Caitlin | Bree | (555) 123-2323 | 1 ... 527 | Bob | Silent | (555) 123-6422 | 88 528 | Jay | ??? | (555) 123-9182 | 88 529 | Dante | Hicks | (555) 123-4567 | 89 530 | Randal | Graves | (555) 123-5678 | 89 Error printing person From [email protected] Mon Jan 24 21:12:05 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95809 invoked from network); 24 Jan 2011 21:12:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jan 2011 21:12:05 -0000 Received: (qmail 31263 invoked by uid 500); 24 Jan 2011 21:12:04 -0000 Delivered-To: [email protected] Received: (qmail 31168 invoked by uid 500); 24 Jan 2011 21:12:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31160 invoked by uid 99); 24 Jan 2011 21:12:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jan 2011 21:12:03 +0000 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qw0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jan 2011 21:11:57 +0000 Received: by qwk3 with SMTP id 3so4335065qwk.30 for <[email protected]>; Mon, 24 Jan 2011 13:11:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=6+aSo81zZNXszOes4bS/ZIMOu9rmfGOIWSxLqlWz7Yw=; b=aFcdJcwJvd2mv3SBME8nAq/keDSZ+6V8EkZKJ+BCC9S2e/8T5io0PBQB8M1uHCtB28 SvgP1e3RiJE0ZAWbIMFLMKtcUkPEkXdfOre23AOdCQLl9TcJu9H7nSh/QXk9ZfSp70Jx xkU46OiKoRQJOlRqiD+nHQGQskHR12uCmKaSU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=eh7OmNP85qZ83xWdBF6xSMQF5hodnakji9JIfxmPXLKa8SJ3pvML12MNoJJQfZ/a9w rG0c+QOAI6ASkKPPNoAPQy2NGtXoBRcuwnLrX/1rDgANFXJ/bFFI+MevDTK5Q8PVLmvK XNL0zSKF03IVhVfUY8vdn/dXCmwKkaLvcUepY= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id l5mr4546525qac.354.1295903496545; Mon, 24 Jan 2011 13:11:36 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 24 Jan 2011 13:11:36 -0800 (PST) Date: Mon, 24 Jan 2011 13:11:36 -0800 Message-ID: <[email protected]> Subject: java.lang.NoSuchMethodError: org.codehaus.jackson.JsonFactory.enable From: felix gao <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0015175caa8293262b049a9e0b43 --0015175caa8293262b049a9e0b43 Content-Type: text/plain; charset=ISO-8859-1 Hi Guys, I am testing out AVRO in our cluster and having java.lang.NoSuchMethodError: org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonParser$Feature;)Lorg/codehaus/jackson/JsonFactory; when running a simple pig script. after took a look at AVRO-493 I uploaded the new jackson jar to replace the CDH2's jackson 1.0.1 jars. The pigscipt looks like below REGISTER /home/pig/jars/avro-1.4.1.jar REGISTER /home/pig/jars/json_simple-1.1.jar REGISTER /home/pig/jars/piggybank.jar REGISTER /usr/lib/hadoop/lib/jackson-core-asl-1.5.5.jar REGISTER /usr/lib/hadoop/lib/jackson-mapper-asl-1.5.5.jar log_load = LOAD '/user/felix/avro_input/*.avro' USING org.apache.pig.piggybank.storage.avro.AvroStorage() ; dump log_load jackson jars are copied to each slaves and master The full stacktrace: ERROR 2998: Unhandled internal error. org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonParser$Feature;)Lorg/codehaus/jackson/JsonFactory; java.lang.NoSuchMethodError: org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonParser$Feature;)Lorg/codehaus/jackson/JsonFactory; at org.apache.avro.Schema.<clinit>(Schema.java:82) at org.apache.pig.piggybank.storage.avro.ASCommons.<clinit>(ASCommons.java:44) at org.apache.pig.piggybank.storage.avro.AvroStorage.getSchema(AvroStorage.java:177) at org.apache.pig.piggybank.storage.avro.AvroStorage.getAvroSchema(AvroStorage.java:133) at org.apache.pig.piggybank.storage.avro.AvroStorage.getAvroSchema(AvroStorage.java:108) at org.apache.pig.piggybank.storage.avro.AvroStorage.getSchema(AvroStorage.java:233) at org.apache.pig.impl.logicalLayer.LOLoad.determineSchema(LOLoad.java:169) at org.apache.pig.impl.logicalLayer.LOLoad.getSchema(LOLoad.java:150) at org.apache.pig.impl.logicalLayer.parser.QueryParser.Parse(QueryParser.java:843) at org.apache.pig.impl.logicalLayer.LogicalPlanBuilder.parse(LogicalPlanBuilder.java:63) at org.apache.pig.PigServer$Graph.parseQuery(PigServer.java:1164) at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1114) at org.apache.pig.PigServer.registerQuery(PigServer.java:425) at org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:737) at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:324) at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:162) at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:138) at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:75) at org.apache.pig.Main.main(Main.java:357) I am wondering if I need to restart tasktracker and jobtracker in order for the jackson jars to be picked up? --0015175caa8293262b049a9e0b43 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Guys,<br><br>I am testing out AVRO in our cluster and having java.lang.N= oSuchMethodError: org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jac= kson/JsonParser$Feature;)Lorg/codehaus/jackson/JsonFactory; when running a = simple pig script.<br> after took a look at <span class=3D"Apple-style-span" style=3D"border-colla= pse: separate; color: rgb(0, 0, 0); font-family: arial,sans-serif; font-sty= le: normal; font-variant: normal; font-weight: normal; letter-spacing: norm= al; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none= ; white-space: normal; widows: 2; word-spacing: 0px; font-size: small;"><sp= an class=3D"Apple-style-span" style=3D"line-height: 19px; font-size: medium= ;">AVRO-493 I=A0 uploaded the new jackson jar to replace the CDH2&#39;s jac= kson 1.0.1 jars. <br> <br><br></span></span>The pigscipt looks like below<br>REGISTER /home/pig/j= ars/avro-1.4.1.jar<br>REGISTER /home/pig/jars/json_simple-1.1.jar<br>REGIST= ER /home/pig/jars/piggybank.jar<br>REGISTER /usr/lib/hadoop/lib/jackson-cor= e-asl-1.5.5.jar<br> REGISTER /usr/lib/hadoop/lib/jackson-mapper-asl-1.5.5.jar<br><br>log_load = =3D LOAD &#39;/user/felix/avro_input/*.avro&#39; USING org.apache.pig.piggy= bank.storage.avro.AvroStorage() ;<br><br>dump log_load<br><br><br>jackson j= ars are copied to each slaves and master<br> <br>The full stacktrace:<br>ERROR 2998: Unhandled internal error. org.codeh= aus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonParser$Feature;)Lo= rg/codehaus/jackson/JsonFactory;<br><br>java.lang.NoSuchMethodError: org.co= dehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonParser$Feature;= )Lorg/codehaus/jackson/JsonFactory;<br> [email protected].&lt;clinit&gt;(Schema.java:= 82)<br>[email protected]= mons.&lt;clinit&gt;(ASCommons.java:44)<br>[email protected]= he.pig.piggybank.storage.avro.AvroStorage.getSchema(AvroStorage.java:177)<b= r> [email protected].= getAvroSchema(AvroStorage.java:133)<br>[email protected].= pig.piggybank.storage.avro.AvroStorage.getAvroSchema(AvroStorage.java:108)<= br>[email protected]= ge.getSchema(AvroStorage.java:233)<br> [email protected]= chema(LOLoad.java:169)<br>[email protected]= calLayer.LOLoad.getSchema(LOLoad.java:150)<br>[email protected].= apache.pig.impl.logicalLayer.parser.QueryParser.Parse(QueryParser.java:843)= <br> [email protected]= r.parse(LogicalPlanBuilder.java:63)<br>[email protected].= pig.PigServer$Graph.parseQuery(PigServer.java:1164)<br>=A0=A0=A0=A0=A0=A0= [email protected]$Graph.registerQuery(PigServer.java:1114)<br= > [email protected](PigServer.j= ava:425)<br>[email protected]= .processPig(GruntParser.java:737)<br>[email protected]= g.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:324)<br= > [email protected]= Error(GruntParser.java:162)<br>[email protected]= s.grunt.GruntParser.parseStopOnError(GruntParser.java:138)<br>=A0=A0=A0=A0= [email protected](Grunt.java:75)<br> [email protected](Main.java:357)<br><br>I a= m wondering if I need to restart tasktracker and jobtracker in order for th= e jackson jars to be picked up?<br><br><br><br><br><br><br><br> --0015175caa8293262b049a9e0b43-- From [email protected] Mon Jan 24 21:19:04 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2411 invoked from network); 24 Jan 2011 21:19:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jan 2011 21:19:04 -0000 Received: (qmail 99982 invoked by uid 500); 24 Jan 2011 21:18:54 -0000 Delivered-To: [email protected] Received: (qmail 99571 invoked by uid 500); 24 Jan 2011 21:18:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99493 invoked by uid 99); 24 Jan 2011 21:18:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jan 2011 21:18:53 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-wy0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jan 2011 21:18:47 +0000 Received: by wyb38 with SMTP id 38so4674857wyb.30 for <[email protected]>; Mon, 24 Jan 2011 13:18:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=o88qfuHgWdYpyMtsXrcrqPv8cVVUSluXIwt5u0wncRg=; b=rSYx2tz7bCgFFBFI5LOSYM19IauqVntfMzbIzDBbMGdluBgm8Fc+Vmft3LwFmpIo2G 4edUsVU/WFCGuhrXcaMS8gNE7F9xyuIqqTjqEYTQQc/eLFczRqT7rtSvTekjPAldHHOt PaQwoQv4zoc4Efc9xiDg0XBJLaJILjh8aPEQw= 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:content-transfer-encoding; b=Ffm9S7zakIy5NAMzDypEWjCW15Wz8wdbRUPnFxqtNbOyrRTvN5dvIZncJEbrPBjRHe 5NF4moVBABa/8/LUheaHOacGC0O5Z4+niHngq9uR5PcmCdtmrz2E2iNY4Do44pQylaFb uxR1NRU1WRX+KtAZp42aMYwNTSPqiJqg8bynY= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id j58mr2895112wea.64.1295903905579; Mon, 24 Jan 2011 13:18:25 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 24 Jan 2011 13:18:25 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> Date: Mon, 24 Jan 2011 13:18:25 -0800 Message-ID: <[email protected]> Subject: Re: java.lang.NoSuchMethodError: org.codehaus.jackson.JsonFactory.enable From: Chase Bradford <[email protected]> To: [email protected] Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Yes, you will need to restart them. The child tasks inherit the TT's classpath, which will list only the 1.0.1 jars until you restart the daemon. On Mon, Jan 24, 2011 at 1:11 PM, felix gao <[email protected]> wrote: > Hi Guys, > > I am testing out AVRO in our cluster and having java.lang.NoSuchMethodErr= or: > org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonParser$= Feature;)Lorg/codehaus/jackson/JsonFactory; > when running a simple pig script. > after took a look at AVRO-493 I=A0 uploaded the new jackson jar to replac= e the > CDH2's jackson 1.0.1 jars. > > > The pigscipt looks like below > REGISTER /home/pig/jars/avro-1.4.1.jar > REGISTER /home/pig/jars/json_simple-1.1.jar > REGISTER /home/pig/jars/piggybank.jar > REGISTER /usr/lib/hadoop/lib/jackson-core-asl-1.5.5.jar > REGISTER /usr/lib/hadoop/lib/jackson-mapper-asl-1.5.5.jar > > log_load =3D LOAD '/user/felix/avro_input/*.avro' USING > org.apache.pig.piggybank.storage.avro.AvroStorage() ; > > dump log_load > > > jackson jars are copied to each slaves and master > > The full stacktrace: > ERROR 2998: Unhandled internal error. > org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonParser$= Feature;)Lorg/codehaus/jackson/JsonFactory; > > java.lang.NoSuchMethodError: > org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonParser$= Feature;)Lorg/codehaus/jackson/JsonFactory; > [email protected].<clinit>(Schema.java:82) > =A0=A0=A0=A0=A0=A0=A0 at > org.apache.pig.piggybank.storage.avro.ASCommons.<clinit>(ASCommons.java:4= 4) > =A0=A0=A0=A0=A0=A0=A0 at > org.apache.pig.piggybank.storage.avro.AvroStorage.getSchema(AvroStorage.j= ava:177) > =A0=A0=A0=A0=A0=A0=A0 at > org.apache.pig.piggybank.storage.avro.AvroStorage.getAvroSchema(AvroStora= ge.java:133) > =A0=A0=A0=A0=A0=A0=A0 at > org.apache.pig.piggybank.storage.avro.AvroStorage.getAvroSchema(AvroStora= ge.java:108) > =A0=A0=A0=A0=A0=A0=A0 at > org.apache.pig.piggybank.storage.avro.AvroStorage.getSchema(AvroStorage.j= ava:233) > =A0=A0=A0=A0=A0=A0=A0 at > org.apache.pig.impl.logicalLayer.LOLoad.determineSchema(LOLoad.java:169) > =A0=A0=A0=A0=A0=A0=A0 at > org.apache.pig.impl.logicalLayer.LOLoad.getSchema(LOLoad.java:150) > =A0=A0=A0=A0=A0=A0=A0 at > org.apache.pig.impl.logicalLayer.parser.QueryParser.Parse(QueryParser.jav= a:843) > =A0=A0=A0=A0=A0=A0=A0 at > org.apache.pig.impl.logicalLayer.LogicalPlanBuilder.parse(LogicalPlanBuil= der.java:63) > [email protected]$Graph.parseQuery(PigSer= ver.java:1164) > [email protected]$Graph.registerQuery(Pig= Server.java:1114) > [email protected](PigServer= .java:425) > =A0=A0=A0=A0=A0=A0=A0 at > org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:737) > =A0=A0=A0=A0=A0=A0=A0 at > org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptPars= er.java:324) > =A0=A0=A0=A0=A0=A0=A0 at > org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:= 162) > =A0=A0=A0=A0=A0=A0=A0 at > org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:= 138) > [email protected](Grunt.java:= 75) > [email protected](Main.java:357) > > I am wondering if I need to restart tasktracker and jobtracker in order f= or > the jackson jars to be picked up? > > > > > > > > --=20 Chase Bradford =93If in physics there's something you don't understand, you can always hide behind the uncharted depths of nature. But if your program doesn't work, there is no obstinate nature. If it doesn't work, you've messed up.=94 - Edsger Dijkstra From [email protected] Mon Jan 24 22:10:25 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29093 invoked from network); 24 Jan 2011 22:10:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jan 2011 22:10:25 -0000 Received: (qmail 90914 invoked by uid 500); 24 Jan 2011 22:10:24 -0000 Delivered-To: [email protected] Received: (qmail 90541 invoked by uid 500); 24 Jan 2011 22:10:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 90418 invoked by uid 99); 24 Jan 2011 22:10:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jan 2011 22:10:23 +0000 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qy0-f178.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jan 2011 22:10:14 +0000 Received: by qyk33 with SMTP id 33so4450459qyk.9 for <[email protected]>; Mon, 24 Jan 2011 14:09:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=jBs8tFv2LRN35Qyhu2CdGXMrRTjCZ8dtHk0wJVeUUTk=; b=t2rGhiitQgmavDFNIUn9mjKLLXq4AZXF/Mk9YBl8QkAEN7Qe2yUfHR0SrkQ5kNkDAq W/Yilya72wOwvWHdPoXDzf7carwE4LvbiXZDj9e8DCwsiqC8M+xikBGQJUxD6hLvNhL/ yiePZHdxmVc24DUhM9MqkGfPuYNL70X8DKquM= 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=VZz6D+yxAsILm1AGjHw/O5WaNdgUCbbCsuXMZiwzIyNnLW1RPdUNYSlnF7lzXa0LhW arZYyHoEQy71ysT8rzBybEu0z8qXHLPEC6ll3ayvGVJEu4UN93iYRraTeDemWMf5t5yN s413OVVOuYRfs7qq3kA+3stxlBEiqSCCVyrPI= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id r17mr4594935qar.304.1295906993445; Mon, 24 Jan 2011 14:09:53 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 24 Jan 2011 14:09:53 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Mon, 24 Jan 2011 14:09:53 -0800 Message-ID: <[email protected]> Subject: Re: java.lang.NoSuchMethodError: org.codehaus.jackson.JsonFactory.enable From: felix gao <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0015175cba62019b7d049a9edcf0 X-Virus-Checked: Checked by ClamAV on apache.org --0015175cba62019b7d049a9edcf0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Chase, I tried to ran it on my local box with a standalone version of hadoop installed and I still got the same error. /usr/local/pig-0.7.0/bin/pig avro.pig 11/01/24 14:01:29 INFO pig.Main: Logging error messages to: /Users/felix/Documents/pig/pig_1295906489023.log 2011-01-24 14:01:29,328 [main] INFO org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: file:/// 2011-01-24 14:01:30,277 [main] INFO org.apache.hadoop.metrics.jvm.JvmMetrics - Initializing JVM Metrics with processName=3DJobTracker, sessionId=3D 2011-01-24 14:01:30,537 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2998: Unhandled internal error. org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonParser$Fe= ature;)Lorg/codehaus/jackson/JsonFactory; Any ideas why? Thanks, Felix On Mon, Jan 24, 2011 at 1:18 PM, Chase Bradford <[email protected]>w= rote: > Yes, you will need to restart them. The child tasks inherit the TT's > classpath, which will list only the 1.0.1 jars until you restart the > daemon. > > On Mon, Jan 24, 2011 at 1:11 PM, felix gao <[email protected]> wrote: > > Hi Guys, > > > > I am testing out AVRO in our cluster and having > java.lang.NoSuchMethodError: > > > org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonParser$= Feature;)Lorg/codehaus/jackson/JsonFactory; > > when running a simple pig script. > > after took a look at AVRO-493 I uploaded the new jackson jar to replac= e > the > > CDH2's jackson 1.0.1 jars. > > > > > > The pigscipt looks like below > > REGISTER /home/pig/jars/avro-1.4.1.jar > > REGISTER /home/pig/jars/json_simple-1.1.jar > > REGISTER /home/pig/jars/piggybank.jar > > REGISTER /usr/lib/hadoop/lib/jackson-core-asl-1.5.5.jar > > REGISTER /usr/lib/hadoop/lib/jackson-mapper-asl-1.5.5.jar > > > > log_load =3D LOAD '/user/felix/avro_input/*.avro' USING > > org.apache.pig.piggybank.storage.avro.AvroStorage() ; > > > > dump log_load > > > > > > jackson jars are copied to each slaves and master > > > > The full stacktrace: > > ERROR 2998: Unhandled internal error. > > > org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonParser$= Feature;)Lorg/codehaus/jackson/JsonFactory; > > > > java.lang.NoSuchMethodError: > > > org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonParser$= Feature;)Lorg/codehaus/jackson/JsonFactory; > > at org.apache.avro.Schema.<clinit>(Schema.java:82) > > at > > > org.apache.pig.piggybank.storage.avro.ASCommons.<clinit>(ASCommons.java:4= 4) > > at > > > org.apache.pig.piggybank.storage.avro.AvroStorage.getSchema(AvroStorage.j= ava:177) > > at > > > org.apache.pig.piggybank.storage.avro.AvroStorage.getAvroSchema(AvroStora= ge.java:133) > > at > > > org.apache.pig.piggybank.storage.avro.AvroStorage.getAvroSchema(AvroStora= ge.java:108) > > at > > > org.apache.pig.piggybank.storage.avro.AvroStorage.getSchema(AvroStorage.j= ava:233) > > at > > org.apache.pig.impl.logicalLayer.LOLoad.determineSchema(LOLoad.java:169= ) > > at > > org.apache.pig.impl.logicalLayer.LOLoad.getSchema(LOLoad.java:150) > > at > > > org.apache.pig.impl.logicalLayer.parser.QueryParser.Parse(QueryParser.jav= a:843) > > at > > > org.apache.pig.impl.logicalLayer.LogicalPlanBuilder.parse(LogicalPlanBuil= der.java:63) > > at org.apache.pig.PigServer$Graph.parseQuery(PigServer.java:116= 4) > > at > org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1114) > > at org.apache.pig.PigServer.registerQuery(PigServer.java:425) > > at > > org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:737) > > at > > > org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptPars= er.java:324) > > at > > > org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:= 162) > > at > > > org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:= 138) > > at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:75) > > at org.apache.pig.Main.main(Main.java:357) > > > > I am wondering if I need to restart tasktracker and jobtracker in order > for > > the jackson jars to be picked up? > > > > > > > > > > > > > > > > > > > > -- > Chase Bradford > > > =93If in physics there's something you don't understand, you can always > hide behind the uncharted depths of nature. But if your program > doesn't work, there is no obstinate nature. If it doesn't work, you've > messed up.=94 > > - Edsger Dijkstra > --0015175cba62019b7d049a9edcf0 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Chase,<br><br>I tried to ran it on my local box with a standalone version o= f hadoop installed and I still got the same error.<br>/usr/local/pig-0.7.0/= bin/pig avro.pig <br>11/01/24 14:01:29 INFO pig.Main: Logging error message= s to: /Users/felix/Documents/pig/pig_1295906489023.log<br> 2011-01-24 14:01:29,328 [main] INFO=A0 org.apache.pig.backend.hadoop.execut= ionengine.HExecutionEngine - Connecting to hadoop file system at: file:///<= br>2011-01-24 14:01:30,277 [main] INFO=A0 org.apache.hadoop.metrics.jvm.Jvm= Metrics - Initializing JVM Metrics with processName=3DJobTracker, sessionId= =3D<br> 2011-01-24 14:01:30,537 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERR= OR 2998: Unhandled internal error. org.codehaus.jackson.JsonFactory.enable(= Lorg/codehaus/jackson/JsonParser$Feature;)Lorg/codehaus/jackson/JsonFactory= ;<br> <br>Any ideas why?<br><br>Thanks,<br><br>Felix<br><br><br><br><div class=3D= "gmail_quote">On Mon, Jan 24, 2011 at 1:18 PM, Chase Bradford <span dir=3D"= ltr">&lt;<a href=3D"mailto:[email protected]">[email protected]= om</a>&gt;</span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, = 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Yes, you will nee= d to restart them. =A0The child tasks inherit the TT&#39;s<br> classpath, which will list only the 1.0.1 jars until you restart the<br> daemon.<br> <div><div></div><div class=3D"h5"><br> On Mon, Jan 24, 2011 at 1:11 PM, felix gao &lt;<a href=3D"mailto:gre1600@gm= ail.com">[email protected]</a>&gt; wrote:<br> &gt; Hi Guys,<br> &gt;<br> &gt; I am testing out AVRO in our cluster and having java.lang.NoSuchMethod= Error:<br> &gt; org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonPars= er$Feature;)Lorg/codehaus/jackson/JsonFactory;<br> &gt; when running a simple pig script.<br> &gt; after took a look at AVRO-493 I=A0 uploaded the new jackson jar to rep= lace the<br> &gt; CDH2&#39;s jackson 1.0.1 jars.<br> &gt;<br> &gt;<br> &gt; The pigscipt looks like below<br> &gt; REGISTER /home/pig/jars/avro-1.4.1.jar<br> &gt; REGISTER /home/pig/jars/json_simple-1.1.jar<br> &gt; REGISTER /home/pig/jars/piggybank.jar<br> &gt; REGISTER /usr/lib/hadoop/lib/jackson-core-asl-1.5.5.jar<br> &gt; REGISTER /usr/lib/hadoop/lib/jackson-mapper-asl-1.5.5.jar<br> &gt;<br> &gt; log_load =3D LOAD &#39;/user/felix/avro_input/*.avro&#39; USING<br> &gt; org.apache.pig.piggybank.storage.avro.AvroStorage() ;<br> &gt;<br> &gt; dump log_load<br> &gt;<br> &gt;<br> &gt; jackson jars are copied to each slaves and master<br> &gt;<br> &gt; The full stacktrace:<br> &gt; ERROR 2998: Unhandled internal error.<br> &gt; org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonPars= er$Feature;)Lorg/codehaus/jackson/JsonFactory;<br> &gt;<br> &gt; java.lang.NoSuchMethodError:<br> &gt; org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonPars= er$Feature;)Lorg/codehaus/jackson/JsonFactory;<br> &gt; [email protected].&lt;clinit&gt;(Schema.= java:82)<br> &gt; =A0=A0=A0=A0=A0=A0=A0 at<br> &gt; org.apache.pig.piggybank.storage.avro.ASCommons.&lt;clinit&gt;(ASCommo= ns.java:44)<br> &gt; =A0=A0=A0=A0=A0=A0=A0 at<br> &gt; org.apache.pig.piggybank.storage.avro.AvroStorage.getSchema(AvroStorag= e.java:177)<br> &gt; =A0=A0=A0=A0=A0=A0=A0 at<br> &gt; org.apache.pig.piggybank.storage.avro.AvroStorage.getAvroSchema(AvroSt= orage.java:133)<br> &gt; =A0=A0=A0=A0=A0=A0=A0 at<br> &gt; org.apache.pig.piggybank.storage.avro.AvroStorage.getAvroSchema(AvroSt= orage.java:108)<br> &gt; =A0=A0=A0=A0=A0=A0=A0 at<br> &gt; org.apache.pig.piggybank.storage.avro.AvroStorage.getSchema(AvroStorag= e.java:233)<br> &gt; =A0=A0=A0=A0=A0=A0=A0 at<br> &gt; org.apache.pig.impl.logicalLayer.LOLoad.determineSchema(LOLoad.java:16= 9)<br> &gt; =A0=A0=A0=A0=A0=A0=A0 at<br> &gt; org.apache.pig.impl.logicalLayer.LOLoad.getSchema(LOLoad.java:150)<br> &gt; =A0=A0=A0=A0=A0=A0=A0 at<br> &gt; org.apache.pig.impl.logicalLayer.parser.QueryParser.Parse(QueryParser.= java:843)<br> &gt; =A0=A0=A0=A0=A0=A0=A0 at<br> &gt; org.apache.pig.impl.logicalLayer.LogicalPlanBuilder.parse(LogicalPlanB= uilder.java:63)<br> &gt; [email protected]$Graph.parseQuery(Pig= Server.java:1164)<br> &gt; [email protected]$Graph.registerQuery(= PigServer.java:1114)<br> &gt; [email protected](PigSer= ver.java:425)<br> &gt; =A0=A0=A0=A0=A0=A0=A0 at<br> &gt; org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:737= )<br> &gt; =A0=A0=A0=A0=A0=A0=A0 at<br> &gt; org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptP= arser.java:324)<br> &gt; =A0=A0=A0=A0=A0=A0=A0 at<br> &gt; org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.ja= va:162)<br> &gt; =A0=A0=A0=A0=A0=A0=A0 at<br> &gt; org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.ja= va:138)<br> &gt; [email protected](Grunt.ja= va:75)<br> &gt; [email protected](Main.java:357)<br> &gt;<br> &gt; I am wondering if I need to restart tasktracker and jobtracker in orde= r for<br> &gt; the jackson jars to be picked up?<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> <br> <br> <br> </div></div>--<br> Chase Bradford<br> <br> <br> =93If in physics there&#39;s something you don&#39;t understand, you can al= ways<br> hide behind the uncharted depths of nature. But if your program<br> doesn&#39;t work, there is no obstinate nature. If it doesn&#39;t work, you= &#39;ve<br> messed up.=94<br> <br> - Edsger Dijkstra<br> </blockquote></div><br> --0015175cba62019b7d049a9edcf0-- From [email protected] Mon Jan 24 22:41:06 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97345 invoked from network); 24 Jan 2011 22:41:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jan 2011 22:41:05 -0000 Received: (qmail 36420 invoked by uid 500); 24 Jan 2011 22:41:05 -0000 Delivered-To: [email protected] Received: (qmail 35943 invoked by uid 500); 24 Jan 2011 22:41:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 35773 invoked by uid 99); 24 Jan 2011 22:41:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jan 2011 22:41:04 +0000 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qy0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jan 2011 22:40:56 +0000 Received: by qyk32 with SMTP id 32so3230863qyk.9 for <[email protected]>; Mon, 24 Jan 2011 14:40:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=HHzl98X1WBzyP0Xt9FbyHRITNhFXOAurzDIDdy7SXw0=; b=KU99gxvSs4eMZ4zG5kJ1/WYYbgdwv4exZI5+VTS3CeeUx55dNREEuzgJAKqE6oyBEB 16PaB1S7u8EBYhIsM5LpR73KDHbadhGfkSEhueT8Pumoomfhyu9CMDTH0Lf6KywNRXOw b24lLvGU7xCsma8z9KU1omFvCl+lAt0Pix8wA= 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=QqlfmbhzwobUyE532zYHIt09OGShmw0i4qi1ca4N8GCG1bmLHLoR8dQkYw2CIxqEx3 rioxXYTE5ABeuSIzApu6+pG2BMln3109WbsNXERDd04h8UOqt3kbzy71V4NnQdGvGzI9 Dw+YUkXz1CJhKzecX8f0e30rAkmy9Wj4yY6r4= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id l5mr4620290qac.354.1295908834840; Mon, 24 Jan 2011 14:40:34 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 24 Jan 2011 14:40:34 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Mon, 24 Jan 2011 14:40:34 -0800 Message-ID: <[email protected]> Subject: Re: java.lang.NoSuchMethodError: org.codehaus.jackson.JsonFactory.enable From: felix gao <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0015175caa82c30f73049a9f492f X-Virus-Checked: Checked by ClamAV on apache.org --0015175caa82c30f73049a9f492f Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable sorry for the spamming, but I forgot to include the TaskTracker's process information. root 20368 1 0 17:31 pts/0 00:00:00 su mapred -s /usr/java/default/bin/java -- -Dproc_tasktracker -Xmx1000m -Dhadoop.log.dir=3D/usr/lib/hadoop-0.20/logs -Dhadoop.log.file=3Dhadoop-hadoop-tasktracker-ip-10-212-86-214.log -Dhadoop.home.dir=3D/usr/lib/hadoop-0.20 -Dhadoop.id.str=3Dhadoop -Dhadoop.root.logger=3DINFO,DRFA -Djava.library.path=3D/usr/lib/hadoop-0.20/lib/native/Linux-amd64-64:/usr/l= ib/hadoop-0.20/lib/native/Linux-amd64-64 -Dhadoop.policy.file=3Dhadoop-policy.xml -classpath /etc/hadoop-0.20/conf:/usr/java/default/lib/tools.jar:/usr/lib/hadoop-0.20:= /usr/lib/hadoop-0.20/hadoop-core-0.20.2+737.jar:/usr/lib/hadoop-0.20/lib/as= pectjrt-1.6.5.jar:/usr/lib/hadoop-0.20/lib/aspectjtools-1.6.5.jar:/usr/lib/= hadoop-0.20/lib/commons-cli-1.2.jar:/usr/lib/hadoop-0.20/lib/commons-codec-= 1.4.jar:/usr/lib/hadoop-0.20/lib/commons-daemon-1.0.1.jar:/usr/lib/hadoop-0= .20/lib/commons-el-1.0.jar:/usr/lib/hadoop-0.20/lib/commons-httpclient-3.0.= 1.jar:/usr/lib/hadoop-0.20/lib/commons-logging-1.0.4.jar:/usr/lib/hadoop-0.= 20/lib/commons-logging-api-1.0.4.jar:/usr/lib/hadoop-0.20/lib/commons-net-1= .4.1.jar:/usr/lib/hadoop-0.20/lib/core-3.1.1.jar:/usr/lib/hadoop-0.20/lib/h= adoop-fairscheduler-0.20.2+737.jar:/usr/lib/hadoop-0.20/lib/hadoop-lzo-0.4.= 6.jar:/usr/lib/hadoop-0.20/lib/hadoop-thriftfs-0.20.2+737.jar:/usr/lib/hado= op-0.20/lib/hsqldb-161.129.204.104.jar: /usr/lib/hadoop-0.20/lib/jackson-core-asl-1.5.5.jar:/usr/lib/hadoop-0.20/li= b/jackson-mapper-asl-1.5.5.jar:/usr/lib/hadoop-0.20/lib/jasper-compiler-5.5= .12.jar:/usr/lib/hadoop-0.20/lib/jasper-runtime-5.5.12.jar:/usr/lib/hadoop-= 0.20/lib/jets3t-0.6.1.jar:/usr/lib/hadoop-0.20/lib/jetty-6.1.14.jar:/usr/li= b/hadoop-0.20/lib/jetty-util-6.1.14.jar:/usr/lib/hadoop-0.20/lib/junit-4.5.= jar:/usr/lib/hadoop-0.20/lib/kfs-0.2.2.jar:/usr/lib/hadoop-0.20/lib/log4j-1= .2.15.jar:/usr/lib/hadoop-0.20/lib/mockito-all-1.8.2.jar:/usr/lib/hadoop-0.= 20/lib/mysql-connector-java-5.0.8-bin.jar:/usr/lib/hadoop-0.20/lib/oro-2.0.= 8.jar:/usr/lib/hadoop-0.20/lib/servlet-api-2.5-6.1.14.jar:/usr/lib/hadoop-0= .20/lib/slf4j-api-1.4.3.jar:/usr/lib/hadoop-0.20/lib/slf4j-log4j12-1.4.3.ja= r:/usr/lib/hadoop-0.20/lib/xmlenc-0.52.jar:/usr/lib/hadoop-0.20/lib/jsp-2.1= /jsp-2.1.jar:/usr/lib/hadoop-0.20/lib/jsp-2.1/jsp-api-2.1.jar:/usr/lib/hado= op-0.20/lib/hadoop-lzo.0.4.4.jar org.apache.hadoop.mapred.TaskTracker as you can see the correct version of jackson library is in the classpath. On Mon, Jan 24, 2011 at 2:09 PM, felix gao <[email protected]> wrote: > Chase, > > I tried to ran it on my local box with a standalone version of hadoop > installed and I still got the same error. > /usr/local/pig-0.7.0/bin/pig avro.pig > 11/01/24 14:01:29 INFO pig.Main: Logging error messages to: > /Users/felix/Documents/pig/pig_1295906489023.log > 2011-01-24 14:01:29,328 [main] INFO > org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecti= ng > to hadoop file system at: file:/// > 2011-01-24 14:01:30,277 [main] INFO > org.apache.hadoop.metrics.jvm.JvmMetrics - Initializing JVM Metrics with > processName=3DJobTracker, sessionId=3D > 2011-01-24 14:01:30,537 [main] ERROR org.apache.pig.tools.grunt.Grunt - > ERROR 2998: Unhandled internal error. > org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonParser$= Feature;)Lorg/codehaus/jackson/JsonFactory; > > Any ideas why? > > Thanks, > > Felix > > > > > On Mon, Jan 24, 2011 at 1:18 PM, Chase Bradford <[email protected]= >wrote: > >> Yes, you will need to restart them. The child tasks inherit the TT's >> classpath, which will list only the 1.0.1 jars until you restart the >> daemon. >> >> On Mon, Jan 24, 2011 at 1:11 PM, felix gao <[email protected]> wrote: >> > Hi Guys, >> > >> > I am testing out AVRO in our cluster and having >> java.lang.NoSuchMethodError: >> > >> org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonParser= $Feature;)Lorg/codehaus/jackson/JsonFactory; >> > when running a simple pig script. >> > after took a look at AVRO-493 I uploaded the new jackson jar to repla= ce >> the >> > CDH2's jackson 1.0.1 jars. >> > >> > >> > The pigscipt looks like below >> > REGISTER /home/pig/jars/avro-1.4.1.jar >> > REGISTER /home/pig/jars/json_simple-1.1.jar >> > REGISTER /home/pig/jars/piggybank.jar >> > REGISTER /usr/lib/hadoop/lib/jackson-core-asl-1.5.5.jar >> > REGISTER /usr/lib/hadoop/lib/jackson-mapper-asl-1.5.5.jar >> > >> > log_load =3D LOAD '/user/felix/avro_input/*.avro' USING >> > org.apache.pig.piggybank.storage.avro.AvroStorage() ; >> > >> > dump log_load >> > >> > >> > jackson jars are copied to each slaves and master >> > >> > The full stacktrace: >> > ERROR 2998: Unhandled internal error. >> > >> org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonParser= $Feature;)Lorg/codehaus/jackson/JsonFactory; >> > >> > java.lang.NoSuchMethodError: >> > >> org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonParser= $Feature;)Lorg/codehaus/jackson/JsonFactory; >> > at org.apache.avro.Schema.<clinit>(Schema.java:82) >> > at >> > >> org.apache.pig.piggybank.storage.avro.ASCommons.<clinit>(ASCommons.java:= 44) >> > at >> > >> org.apache.pig.piggybank.storage.avro.AvroStorage.getSchema(AvroStorage.= java:177) >> > at >> > >> org.apache.pig.piggybank.storage.avro.AvroStorage.getAvroSchema(AvroStor= age.java:133) >> > at >> > >> org.apache.pig.piggybank.storage.avro.AvroStorage.getAvroSchema(AvroStor= age.java:108) >> > at >> > >> org.apache.pig.piggybank.storage.avro.AvroStorage.getSchema(AvroStorage.= java:233) >> > at >> > org.apache.pig.impl.logicalLayer.LOLoad.determineSchema(LOLoad.java:16= 9) >> > at >> > org.apache.pig.impl.logicalLayer.LOLoad.getSchema(LOLoad.java:150) >> > at >> > >> org.apache.pig.impl.logicalLayer.parser.QueryParser.Parse(QueryParser.ja= va:843) >> > at >> > >> org.apache.pig.impl.logicalLayer.LogicalPlanBuilder.parse(LogicalPlanBui= lder.java:63) >> > at >> org.apache.pig.PigServer$Graph.parseQuery(PigServer.java:1164) >> > at >> org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1114) >> > at org.apache.pig.PigServer.registerQuery(PigServer.java:425) >> > at >> > org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:737= ) >> > at >> > >> org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptPar= ser.java:324) >> > at >> > >> org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java= :162) >> > at >> > >> org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java= :138) >> > at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:75) >> > at org.apache.pig.Main.main(Main.java:357) >> > >> > I am wondering if I need to restart tasktracker and jobtracker in orde= r >> for >> > the jackson jars to be picked up? >> > >> > >> > >> > >> > >> > >> > >> > >> >> >> >> -- >> Chase Bradford >> >> >> =93If in physics there's something you don't understand, you can always >> hide behind the uncharted depths of nature. But if your program >> doesn't work, there is no obstinate nature. If it doesn't work, you've >> messed up.=94 >> >> - Edsger Dijkstra >> > > --0015175caa82c30f73049a9f492f Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable sorry for the spamming, but I forgot to include the TaskTracker&#39;s proce= ss information.<br><br>root=A0=A0=A0=A0 20368=A0=A0=A0=A0 1=A0 0 17:31 pts/= 0=A0=A0=A0 00:00:00 su mapred -s /usr/java/default/bin/java -- -Dproc_taskt= racker -Xmx1000m -Dhadoop.log.dir=3D/usr/lib/hadoop-0.20/logs -Dhadoop.log.= file=3Dhadoop-hadoop-tasktracker-ip-10-212-86-214.log -Dhadoop.home.dir=3D/= usr/lib/hadoop-0.20 -Dhadoop.id.str=3Dhadoop -Dhadoop.root.logger=3DINFO,DR= FA -Djava.library.path=3D/usr/lib/hadoop-0.20/lib/native/Linux-amd64-64:/us= r/lib/hadoop-0.20/lib/native/Linux-amd64-64 -Dhadoop.policy.file=3Dhadoop-p= olicy.xml -classpath /etc/hadoop-0.20/conf:/usr/java/default/lib/tools.jar:= /usr/lib/hadoop-0.20:/usr/lib/hadoop-0.20/hadoop-core-0.20.2+737.jar:/usr/l= ib/hadoop-0.20/lib/aspectjrt-1.6.5.jar:/usr/lib/hadoop-0.20/lib/aspectjtool= s-1.6.5.jar:/usr/lib/hadoop-0.20/lib/commons-cli-1.2.jar:/usr/lib/hadoop-0.= 20/lib/commons-codec-1.4.jar:/usr/lib/hadoop-0.20/lib/commons-daemon-1.0.1.= jar:/usr/lib/hadoop-0.20/lib/commons-el-1.0.jar:/usr/lib/hadoop-0.20/lib/co= mmons-httpclient-3.0.1.jar:/usr/lib/hadoop-0.20/lib/commons-logging-1.0.4.j= ar:/usr/lib/hadoop-0.20/lib/commons-logging-api-1.0.4.jar:/usr/lib/hadoop-0= .20/lib/commons-net-1.4.1.jar:/usr/lib/hadoop-0.20/lib/core-3.1.1.jar:/usr/= lib/hadoop-0.20/lib/hadoop-fairscheduler-0.20.2+737.jar:/usr/lib/hadoop-0.2= 0/lib/hadoop-lzo-0.4.6.jar:/usr/lib/hadoop-0.20/lib/hadoop-thriftfs-0.20.2+= 737.jar:/usr/lib/hadoop-0.20/lib/hsqldb-161.129.204.104.jar:<span style=3D"backgro= und-color: rgb(255, 255, 102);">/usr/lib/hadoop-0.20/lib/jackson-core-asl-1= .5.5.jar:/usr/lib/hadoop-0.20/lib/jackson-mapper-asl-1.5.5.jar</span>:/usr/= lib/hadoop-0.20/lib/jasper-compiler-5.5.12.jar:/usr/lib/hadoop-0.20/lib/jas= per-runtime-5.5.12.jar:/usr/lib/hadoop-0.20/lib/jets3t-0.6.1.jar:/usr/lib/h= adoop-0.20/lib/jetty-6.1.14.jar:/usr/lib/hadoop-0.20/lib/jetty-util-6.1.14.= jar:/usr/lib/hadoop-0.20/lib/junit-4.5.jar:/usr/lib/hadoop-0.20/lib/kfs-0.2= .2.jar:/usr/lib/hadoop-0.20/lib/log4j-1.2.15.jar:/usr/lib/hadoop-0.20/lib/m= ockito-all-1.8.2.jar:/usr/lib/hadoop-0.20/lib/mysql-connector-java-5.0.8-bi= n.jar:/usr/lib/hadoop-0.20/lib/oro-2.0.8.jar:/usr/lib/hadoop-0.20/lib/servl= et-api-2.5-6.1.14.jar:/usr/lib/hadoop-0.20/lib/slf4j-api-1.4.3.jar:/usr/lib= /hadoop-0.20/lib/slf4j-log4j12-1.4.3.jar:/usr/lib/hadoop-0.20/lib/xmlenc-0.= 52.jar:/usr/lib/hadoop-0.20/lib/jsp-2.1/jsp-2.1.jar:/usr/lib/hadoop-0.20/li= b/jsp-2.1/jsp-api-2.1.jar:/usr/lib/hadoop-0.20/lib/hadoop-lzo.0.4.4.jar org= .apache.hadoop.mapred.TaskTracker<br> <br>as you can see the correct version of jackson library is in the classpa= th.=A0 <br><br><br><div class=3D"gmail_quote">On Mon, Jan 24, 2011 at 2:09 = PM, felix gao <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]">gr= [email protected]</a>&gt;</span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, = 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Chase,<br><br>I t= ried to ran it on my local box with a standalone version of hadoop installe= d and I still got the same error.<br> /usr/local/pig-0.7.0/bin/pig avro.pig <br>11/01/24 14:01:29 INFO pig.Main: = Logging error messages to: /Users/felix/Documents/pig/pig_1295906489023.log= <br> 2011-01-24 14:01:29,328 [main] INFO=A0 org.apache.pig.backend.hadoop.execut= ionengine.HExecutionEngine - Connecting to hadoop file system at: file:///<= br>2011-01-24 14:01:30,277 [main] INFO=A0 org.apache.hadoop.metrics.jvm.Jvm= Metrics - Initializing JVM Metrics with processName=3DJobTracker, sessionId= =3D<br> 2011-01-24 14:01:30,537 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERR= OR 2998: Unhandled internal error. org.codehaus.jackson.JsonFactory.enable(= Lorg/codehaus/jackson/JsonParser$Feature;)Lorg/codehaus/jackson/JsonFactory= ;<br> <br>Any ideas why?<br><br>Thanks,<br><font color=3D"#888888"><br>Felix</fon= t><div><div></div><div class=3D"h5"><br><br><br><br><div class=3D"gmail_quo= te">On Mon, Jan 24, 2011 at 1:18 PM, Chase Bradford <span dir=3D"ltr">&lt;<= a href=3D"mailto:[email protected]" target=3D"_blank">chase.bradford= @gmail.com</a>&gt;</span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, = 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Yes, you will nee= d to restart them. =A0The child tasks inherit the TT&#39;s<br> classpath, which will list only the 1.0.1 jars until you restart the<br> daemon.<br> <div><div></div><div><br> On Mon, Jan 24, 2011 at 1:11 PM, felix gao &lt;<a href=3D"mailto:gre1600@gm= ail.com" target=3D"_blank">[email protected]</a>&gt; wrote:<br> &gt; Hi Guys,<br> &gt;<br> &gt; I am testing out AVRO in our cluster and having java.lang.NoSuchMethod= Error:<br> &gt; org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonPars= er$Feature;)Lorg/codehaus/jackson/JsonFactory;<br> &gt; when running a simple pig script.<br> &gt; after took a look at AVRO-493 I=A0 uploaded the new jackson jar to rep= lace the<br> &gt; CDH2&#39;s jackson 1.0.1 jars.<br> &gt;<br> &gt;<br> &gt; The pigscipt looks like below<br> &gt; REGISTER /home/pig/jars/avro-1.4.1.jar<br> &gt; REGISTER /home/pig/jars/json_simple-1.1.jar<br> &gt; REGISTER /home/pig/jars/piggybank.jar<br> &gt; REGISTER /usr/lib/hadoop/lib/jackson-core-asl-1.5.5.jar<br> &gt; REGISTER /usr/lib/hadoop/lib/jackson-mapper-asl-1.5.5.jar<br> &gt;<br> &gt; log_load =3D LOAD &#39;/user/felix/avro_input/*.avro&#39; USING<br> &gt; org.apache.pig.piggybank.storage.avro.AvroStorage() ;<br> &gt;<br> &gt; dump log_load<br> &gt;<br> &gt;<br> &gt; jackson jars are copied to each slaves and master<br> &gt;<br> &gt; The full stacktrace:<br> &gt; ERROR 2998: Unhandled internal error.<br> &gt; org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonPars= er$Feature;)Lorg/codehaus/jackson/JsonFactory;<br> &gt;<br> &gt; java.lang.NoSuchMethodError:<br> &gt; org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonPars= er$Feature;)Lorg/codehaus/jackson/JsonFactory;<br> &gt; [email protected].&lt;clinit&gt;(Schema.= java:82)<br> &gt; =A0=A0=A0=A0=A0=A0=A0 at<br> &gt; org.apache.pig.piggybank.storage.avro.ASCommons.&lt;clinit&gt;(ASCommo= ns.java:44)<br> &gt; =A0=A0=A0=A0=A0=A0=A0 at<br> &gt; org.apache.pig.piggybank.storage.avro.AvroStorage.getSchema(AvroStorag= e.java:177)<br> &gt; =A0=A0=A0=A0=A0=A0=A0 at<br> &gt; org.apache.pig.piggybank.storage.avro.AvroStorage.getAvroSchema(AvroSt= orage.java:133)<br> &gt; =A0=A0=A0=A0=A0=A0=A0 at<br> &gt; org.apache.pig.piggybank.storage.avro.AvroStorage.getAvroSchema(AvroSt= orage.java:108)<br> &gt; =A0=A0=A0=A0=A0=A0=A0 at<br> &gt; org.apache.pig.piggybank.storage.avro.AvroStorage.getSchema(AvroStorag= e.java:233)<br> &gt; =A0=A0=A0=A0=A0=A0=A0 at<br> &gt; org.apache.pig.impl.logicalLayer.LOLoad.determineSchema(LOLoad.java:16= 9)<br> &gt; =A0=A0=A0=A0=A0=A0=A0 at<br> &gt; org.apache.pig.impl.logicalLayer.LOLoad.getSchema(LOLoad.java:150)<br> &gt; =A0=A0=A0=A0=A0=A0=A0 at<br> &gt; org.apache.pig.impl.logicalLayer.parser.QueryParser.Parse(QueryParser.= java:843)<br> &gt; =A0=A0=A0=A0=A0=A0=A0 at<br> &gt; org.apache.pig.impl.logicalLayer.LogicalPlanBuilder.parse(LogicalPlanB= uilder.java:63)<br> &gt; [email protected]$Graph.parseQuery(Pig= Server.java:1164)<br> &gt; [email protected]$Graph.registerQuery(= PigServer.java:1114)<br> &gt; [email protected](PigSer= ver.java:425)<br> &gt; =A0=A0=A0=A0=A0=A0=A0 at<br> &gt; org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:737= )<br> &gt; =A0=A0=A0=A0=A0=A0=A0 at<br> &gt; org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptP= arser.java:324)<br> &gt; =A0=A0=A0=A0=A0=A0=A0 at<br> &gt; org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.ja= va:162)<br> &gt; =A0=A0=A0=A0=A0=A0=A0 at<br> &gt; org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.ja= va:138)<br> &gt; [email protected](Grunt.ja= va:75)<br> &gt; [email protected](Main.java:357)<br> &gt;<br> &gt; I am wondering if I need to restart tasktracker and jobtracker in orde= r for<br> &gt; the jackson jars to be picked up?<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> <br> <br> <br> </div></div>--<br> Chase Bradford<br> <br> <br> =93If in physics there&#39;s something you don&#39;t understand, you can al= ways<br> hide behind the uncharted depths of nature. But if your program<br> doesn&#39;t work, there is no obstinate nature. If it doesn&#39;t work, you= &#39;ve<br> messed up.=94<br> <br> - Edsger Dijkstra<br> </blockquote></div><br> </div></div></blockquote></div><br> --0015175caa82c30f73049a9f492f-- From [email protected] Mon Jan 24 22:53:03 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1133 invoked from network); 24 Jan 2011 22:53:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jan 2011 22:53:03 -0000 Received: (qmail 51939 invoked by uid 500); 24 Jan 2011 22:53:03 -0000 Delivered-To: [email protected] Received: (qmail 51864 invoked by uid 500); 24 Jan 2011 22:53:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51856 invoked by uid 99); 24 Jan 2011 22:53:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jan 2011 22:53:02 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-vw0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jan 2011 22:52:52 +0000 Received: by vws17 with SMTP id 17so2010402vws.30 for <[email protected]>; Mon, 24 Jan 2011 14:52:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:references:in-reply-to:mime-version :content-transfer-encoding:content-type:message-id:cc:x-mailer:from :subject:date:to; bh=Q1bQFQdHTMdwLGw6G9eS4fyM39C2IuRH7M/8QGe39HA=; b=ZSxTsre6Oazb9n/ohtmLoDNvt8os8uoFZuzwbA+Rg5gDxlDBvjciKlqzHfpz3eEC8V GpxfuXL9pEAKNzjLkszzefQvmWMXc6ENWsUxxsuNMCVngZvDGxwclDk7ByES3xFbW+sX APs2AOJbB8hHTzByqFNOjCqLz3dzyZ+U8T1s8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to; b=xMJsTHatcEoENlja279Y6sCms2RmSt7m44GRd8LBYF++a0mBpskNTt9UdsOqHxv0Ix McUYaTQ4PCXf/F5qJG0CXQU1ktF9eqfHOB42okN9o4LlhiQCm3CNQOgCSEgCHsEk/OQ/ PH2CWXCSCU9omxJ6As4dKTkNcZO+0m5jNQ1pc= Received: by 161.129.204.104 with SMTP id fg6mr1406190vcb.117.1295909551774; Mon, 24 Jan 2011 14:52:31 -0800 (PST) Received: from [161.129.204.104] ([161.129.204.104]) by mx.google.com with ESMTPS id b6sm4337640vci.0.2161.129.204.104.52.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 24 Jan 2011 14:52:30 -0800 (PST) References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Mime-Version: 1.0 (iPhone Mail 8A400) Content-Transfer-Encoding: 7bit Content-Type: multipart/alternative; boundary=Apple-Mail-(812)538-8617 Message-Id: <[email protected]> Cc: "[email protected]" <[email protected]> X-Mailer: iPhone Mail (8A400) From: Chase Bradford <[email protected]> Subject: Re: java.lang.NoSuchMethodError: org.codehaus.jackson.JsonFactory.enable Date: Mon, 24 Jan 2011 14:52:31 -0800 To: "[email protected]" <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-(812)538-8617 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Does the pig client have the right classpath? Sent from phnoe On Jan 24, 2011, at 2:09 PM, felix gao <[email protected]> wrote: > Chase, >=20 > I tried to ran it on my local box with a standalone version of hadoop inst= alled and I still got the same error. > /usr/local/pig-0.7.0/bin/pig avro.pig=20 > 11/01/24 14:01:29 INFO pig.Main: Logging error messages to: /Users/felix/D= ocuments/pig/pig_1295906489023.log > 2011-01-24 14:01:29,328 [main] INFO org.apache.pig.backend.hadoop.executi= onengine.HExecutionEngine - Connecting to hadoop file system at: file:/// > 2011-01-24 14:01:30,277 [main] INFO org.apache.hadoop.metrics.jvm.JvmMetr= ics - Initializing JVM Metrics with processName=3DJobTracker, sessionId=3D > 2011-01-24 14:01:30,537 [main] ERROR org.apache.pig.tools.grunt.Grunt - ER= ROR 2998: Unhandled internal error. org.codehaus.jackson.JsonFactory.enable(= Lorg/codehaus/jackson/JsonParser$Feature;)Lorg/codehaus/jackson/JsonFactory;= >=20 > Any ideas why? >=20 > Thanks, >=20 > Felix >=20 >=20 >=20 > On Mon, Jan 24, 2011 at 1:18 PM, Chase Bradford <[email protected]>= wrote: > Yes, you will need to restart them. The child tasks inherit the TT's > classpath, which will list only the 1.0.1 jars until you restart the > daemon. >=20 > On Mon, Jan 24, 2011 at 1:11 PM, felix gao <[email protected]> wrote: > > Hi Guys, > > > > I am testing out AVRO in our cluster and having java.lang.NoSuchMethodEr= ror: > > org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonParser= $Feature;)Lorg/codehaus/jackson/JsonFactory; > > when running a simple pig script. > > after took a look at AVRO-493 I uploaded the new jackson jar to replace= the > > CDH2's jackson 1.0.1 jars. > > > > > > The pigscipt looks like below > > REGISTER /home/pig/jars/avro-1.4.1.jar > > REGISTER /home/pig/jars/json_simple-1.1.jar > > REGISTER /home/pig/jars/piggybank.jar > > REGISTER /usr/lib/hadoop/lib/jackson-core-asl-1.5.5.jar > > REGISTER /usr/lib/hadoop/lib/jackson-mapper-asl-1.5.5.jar > > > > log_load =3D LOAD '/user/felix/avro_input/*.avro' USING > > org.apache.pig.piggybank.storage.avro.AvroStorage() ; > > > > dump log_load > > > > > > jackson jars are copied to each slaves and master > > > > The full stacktrace: > > ERROR 2998: Unhandled internal error. > > org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonParser= $Feature;)Lorg/codehaus/jackson/JsonFactory; > > > > java.lang.NoSuchMethodError: > > org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonParser= $Feature;)Lorg/codehaus/jackson/JsonFactory; > > at org.apache.avro.Schema.<clinit>(Schema.java:82) > > at > > org.apache.pig.piggybank.storage.avro.ASCommons.<clinit>(ASCommons.java:= 44) > > at > > org.apache.pig.piggybank.storage.avro.AvroStorage.getSchema(AvroStorage.= java:177) > > at > > org.apache.pig.piggybank.storage.avro.AvroStorage.getAvroSchema(AvroStor= age.java:133) > > at > > org.apache.pig.piggybank.storage.avro.AvroStorage.getAvroSchema(AvroStor= age.java:108) > > at > > org.apache.pig.piggybank.storage.avro.AvroStorage.getSchema(AvroStorage.= java:233) > > at > > org.apache.pig.impl.logicalLayer.LOLoad.determineSchema(LOLoad.java:169)= > > at > > org.apache.pig.impl.logicalLayer.LOLoad.getSchema(LOLoad.java:150) > > at > > org.apache.pig.impl.logicalLayer.parser.QueryParser.Parse(QueryParser.ja= va:843) > > at > > org.apache.pig.impl.logicalLayer.LogicalPlanBuilder.parse(LogicalPlanBui= lder.java:63) > > at org.apache.pig.PigServer$Graph.parseQuery(PigServer.java:1164= ) > > at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1= 114) > > at org.apache.pig.PigServer.registerQuery(PigServer.java:425) > > at > > org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:737) > > at > > org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptPar= ser.java:324) > > at > > org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java= :162) > > at > > org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java= :138) > > at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:75) > > at org.apache.pig.Main.main(Main.java:357) > > > > I am wondering if I need to restart tasktracker and jobtracker in order f= or > > the jackson jars to be picked up? > > > > > > > > > > > > > > > > >=20 >=20 >=20 > -- > Chase Bradford >=20 >=20 > =E2=80=9CIf in physics there's something you don't understand, you can alw= ays > hide behind the uncharted depths of nature. But if your program > doesn't work, there is no obstinate nature. If it doesn't work, you've > messed up.=E2=80=9D >=20 > - Edsger Dijkstra >=20 --Apple-Mail-(812)538-8617 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=utf-8 <html><body bgcolor="#FFFFFF"><div>Does the pig client have the right classpath?<br><br>Sent from p<span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); ">hnoe</span></div><div><br>On Jan 24, 2011, at 2:09 PM, felix gao &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div>Chase,<br><br>I tried to ran it on my local box with a standalone version of hadoop installed and I still got the same error.<br>/usr/local/pig-0.7.0/bin/pig avro.pig <br>11/01/24 14:01:29 INFO pig.Main: Logging error messages to: /Users/felix/Documents/pig/pig_1295906489023.log<br> 2011-01-24 14:01:29,328 [main] INFO&nbsp; org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: file:///<br>2011-01-24 14:01:30,277 [main] INFO&nbsp; org.apache.hadoop.metrics.jvm.JvmMetrics - Initializing JVM Metrics with processName=JobTracker, sessionId=<br> 2011-01-24 14:01:30,537 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2998: Unhandled internal error. org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonParser$Feature;)Lorg/codehaus/jackson/JsonFactory;<br> <br>Any ideas why?<br><br>Thanks,<br><br>Felix<br><br><br><br><div class="gmail_quote">On Mon, Jan 24, 2011 at 1:18 PM, Chase Bradford <span dir="ltr">&lt;<a href="mailto:[email protected]"><a href="mailto:[email protected]">[email protected]</a></a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Yes, you will need to restart them. &nbsp;The child tasks inherit the TT's<br> classpath, which will list only the 1.0.1 jars until you restart the<br> daemon.<br> <div><div></div><div class="h5"><br> On Mon, Jan 24, 2011 at 1:11 PM, felix gao &lt;<a href="mailto:[email protected]"><a href="mailto:[email protected]">[email protected]</a></a>&gt; wrote:<br> &gt; Hi Guys,<br> &gt;<br> &gt; I am testing out AVRO in our cluster and having java.lang.NoSuchMethodError:<br> &gt; org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonParser$Feature;)Lorg/codehaus/jackson/JsonFactory;<br> &gt; when running a simple pig script.<br> &gt; after took a look at AVRO-493 I&nbsp; uploaded the new jackson jar to replace the<br> &gt; CDH2's jackson 1.0.1 jars.<br> &gt;<br> &gt;<br> &gt; The pigscipt looks like below<br> &gt; REGISTER /home/pig/jars/avro-1.4.1.jar<br> &gt; REGISTER /home/pig/jars/json_simple-1.1.jar<br> &gt; REGISTER /home/pig/jars/piggybank.jar<br> &gt; REGISTER /usr/lib/hadoop/lib/jackson-core-asl-1.5.5.jar<br> &gt; REGISTER /usr/lib/hadoop/lib/jackson-mapper-asl-1.5.5.jar<br> &gt;<br> &gt; log_load = LOAD '/user/felix/avro_input/*.avro' USING<br> &gt; org.apache.pig.piggybank.storage.avro.AvroStorage() ;<br> &gt;<br> &gt; dump log_load<br> &gt;<br> &gt;<br> &gt; jackson jars are copied to each slaves and master<br> &gt;<br> &gt; The full stacktrace:<br> &gt; ERROR 2998: Unhandled internal error.<br> &gt; org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonParser$Feature;)Lorg/codehaus/jackson/JsonFactory;<br> &gt;<br> &gt; java.lang.NoSuchMethodError:<br> &gt; org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonParser$Feature;)Lorg/codehaus/jackson/JsonFactory;<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.avro.Schema.&lt;clinit&gt;(Schema.java:82)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<br> &gt; org.apache.pig.piggybank.storage.avro.ASCommons.&lt;clinit&gt;(ASCommons.java:44)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<br> &gt; org.apache.pig.piggybank.storage.avro.AvroStorage.getSchema(AvroStorage.java:177)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<br> &gt; org.apache.pig.piggybank.storage.avro.AvroStorage.getAvroSchema(AvroStorage.java:133)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<br> &gt; org.apache.pig.piggybank.storage.avro.AvroStorage.getAvroSchema(AvroStorage.java:108)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<br> &gt; org.apache.pig.piggybank.storage.avro.AvroStorage.getSchema(AvroStorage.java:233)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<br> &gt; org.apache.pig.impl.logicalLayer.LOLoad.determineSchema(LOLoad.java:169)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<br> &gt; org.apache.pig.impl.logicalLayer.LOLoad.getSchema(LOLoad.java:150)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<br> &gt; org.apache.pig.impl.logicalLayer.parser.QueryParser.Parse(QueryParser.java:843)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<br> &gt; org.apache.pig.impl.logicalLayer.LogicalPlanBuilder.parse(LogicalPlanBuilder.java:63)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.pig.PigServer$Graph.parseQuery(PigServer.java:1164)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1114)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.pig.PigServer.registerQuery(PigServer.java:425)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<br> &gt; org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:737)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<br> &gt; org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:324)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<br> &gt; org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:162)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<br> &gt; org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:138)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:75)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.pig.Main.main(Main.java:357)<br> &gt;<br> &gt; I am wondering if I need to restart tasktracker and jobtracker in order for<br> &gt; the jackson jars to be picked up?<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> <br> <br> <br> </div></div>--<br> Chase Bradford<br> <br> <br> "If in physics there's something you don't understand, you can always<br> hide behind the uncharted depths of nature. But if your program<br> doesn't work, there is no obstinate nature. If it doesn't work, you've<br> messed up."<br> <br> - Edsger Dijkstra<br> </blockquote></div><br> </div></blockquote></body></html> --Apple-Mail-(812)538-8617-- From [email protected] Mon Jan 24 23:11:34 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17338 invoked from network); 24 Jan 2011 23:11:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jan 2011 23:11:34 -0000 Received: (qmail 76214 invoked by uid 500); 24 Jan 2011 23:11:34 -0000 Delivered-To: [email protected] Received: (qmail 76135 invoked by uid 500); 24 Jan 2011 23:11:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 76126 invoked by uid 99); 24 Jan 2011 23:11:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jan 2011 23:11:33 +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: local policy) Received: from [161.129.204.104] (HELO EXHUB018-1.exch018.msoutlookonline.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jan 2011 23:11:23 +0000 Received: from EXVMBX018-1.exch018.msoutlookonline.net ([161.129.204.104]) by EXHUB018-1.exch018.msoutlookonline.net ([161.129.204.104]) with mapi; Mon, 24 Jan 2011 15:11:01 -0800 From: Scott Carey <[email protected]> To: "[email protected]" <[email protected]> Date: Mon, 24 Jan 2011 15:13:13 -0800 Subject: Re: java.lang.NoSuchMethodError: org.codehaus.jackson.JsonFactory.enable Thread-Topic: java.lang.NoSuchMethodError: org.codehaus.jackson.JsonFactory.enable Thread-Index: Acu8G/dhYC3pnZi4TZSR/0vnFUevVg== Message-ID: <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/161.129.204.104115 acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_C96341EA1BC8Dscottrichrelevancecom_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_C96341EA1BC8Dscottrichrelevancecom_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable That is confusing. Can you capture the classpath of an actual task process= , not just the TT? They shouldn't differ much, but it is worth checking. Jackson 1.3 (or was it 1.2?) and above have all been backwards compatible w= ith each other I believe. And the error you are getting is definitely cau= sed by accessing the enable() methods that were added after 1.0.1. I can change the Avro dependency on Jackson to 1.5.5, 1.7.1, or 1.3, and un= it tests pass. If I change it to 1.2, 1.1, or 1.0.1 they break. -Scott On 1/24/11 2:40 PM, "felix gao" <[email protected]<mailto:[email protected]= >> wrote: sorry for the spamming, but I forgot to include the TaskTracker's process i= nformation. root 20368 1 0 17:31 pts/0 00:00:00 su mapred -s /usr/java/defa= ult/bin/java -- -Dproc_tasktracker -Xmx1000m -Dhadoop.log.dir=3D/usr/lib/ha= doop-0.20/logs -Dhadoop.log.file=3Dhadoop-hadoop-tasktracker-ip-10-212-86-2= 14.log -Dhadoop.home.dir=3D/usr/lib/hadoop-0.20 -Dhadoop.id.str=3Dhadoop -D= hadoop.root.logger=3DINFO,DRFA -Djava.library.path=3D/usr/lib/hadoop-0.20/l= ib/native/Linux-amd64-64:/usr/lib/hadoop-0.20/lib/native/Linux-amd64-64 -Dh= adoop.policy.file=3Dhadoop-policy.xml -classpath /etc/hadoop-0.20/conf:/usr= /java/default/lib/tools.jar:/usr/lib/hadoop-0.20:/usr/lib/hadoop-0.20/hadoo= p-core-0.20.2+737.jar:/usr/lib/hadoop-0.20/lib/aspectjrt-1.6.5.jar:/usr/lib= /hadoop-0.20/lib/aspectjtools-1.6.5.jar:/usr/lib/hadoop-0.20/lib/commons-cl= i-1.2.jar:/usr/lib/hadoop-0.20/lib/commons-codec-1.4.jar:/usr/lib/hadoop-0.= 20/lib/commons-daemon-1.0.1.jar:/usr/lib/hadoop-0.20/lib/commons-el-1.0.jar= :/usr/lib/hadoop-0.20/lib/commons-httpclient-3.0.1.jar:/usr/lib/hadoop-0.20= /lib/commons-logging-1.0.4.jar:/usr/lib/hadoop-0.20/lib/commons-logging-api= -1.0.4.jar:/usr/lib/hadoop-0.20/lib/commons-net-1.4.1.jar:/usr/lib/hadoop-0= .20/lib/core-3.1.1.jar:/usr/lib/hadoop-0.20/lib/hadoop-fairscheduler-0.20.2= +737.jar:/usr/lib/hadoop-0.20/lib/hadoop-lzo-0.4.6.jar:/usr/lib/hadoop-0.20= /lib/hadoop-thriftfs-0.20.2+737.jar:/usr/lib/hadoop-0.20/lib/hsqldb-161.129.204.104= 0.jar:/usr/lib/hadoop-0.20/lib/jackson-core-asl-1.5.5.jar:/usr/lib/hadoop-0= .20/lib/jackson-mapper-asl-1.5.5.jar:/usr/lib/hadoop-0.20/lib/jasper-compil= er-5.5.12.jar:/usr/lib/hadoop-0.20/lib/jasper-runtime-5.5.12.jar:/usr/lib/h= adoop-0.20/lib/jets3t-0.6.1.jar:/usr/lib/hadoop-0.20/lib/jetty-6.1.14.jar:/= usr/lib/hadoop-0.20/lib/jetty-util-6.1.14.jar:/usr/lib/hadoop-0.20/lib/juni= t-4.5.jar:/usr/lib/hadoop-0.20/lib/kfs-0.2.2.jar:/usr/lib/hadoop-0.20/lib/l= og4j-1.2.15.jar:/usr/lib/hadoop-0.20/lib/mockito-all-1.8.2.jar:/usr/lib/had= oop-0.20/lib/mysql-connector-java-5.0.8-bin.jar:/usr/lib/hadoop-0.20/lib/or= o-2.0.8.jar:/usr/lib/hadoop-0.20/lib/servlet-api-2.5-6.1.14.jar:/usr/lib/ha= doop-0.20/lib/slf4j-api-1.4.3.jar:/usr/lib/hadoop-0.20/lib/slf4j-log4j12-1.= 4.3.jar:/usr/lib/hadoop-0.20/lib/xmlenc-0.52.jar:/usr/lib/hadoop-0.20/lib/j= sp-2.1/jsp-2.1.jar:/usr/lib/hadoop-0.20/lib/jsp-2.1/jsp-api-2.1.jar:/usr/li= b/hadoop-0.20/lib/hadoop-lzo.0.4.4.jar org.apache.hadoop.mapred.TaskTracker as you can see the correct version of jackson library is in the classpath. On Mon, Jan 24, 2011 at 2:09 PM, felix gao <[email protected]<mailto:gre160= [email protected]>> wrote: Chase, I tried to ran it on my local box with a standalone version of hadoop insta= lled and I still got the same error. /usr/local/pig-0.7.0/bin/pig avro.pig 11/01/24 14:01:29 INFO pig.Main: Logging error messages to: /Users/felix/Do= cuments/pig/pig_1295906489023.log 2011-01-24 14:01:29,328 [main] INFO org.apache.pig.backend.hadoop.executio= nengine.HExecutionEngine - Connecting to hadoop file system at: file:/// 2011-01-24 14:01:30,277 [main] INFO org.apache.hadoop.metrics.jvm.JvmMetri= cs - Initializing JVM Metrics with processName=3DJobTracker, sessionId=3D 2011-01-24 14:01:30,537 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERR= OR 2998: Unhandled internal error. org.codehaus.jackson.JsonFactory.enable(= Lorg/codehaus/jackson/JsonParser$Feature;)Lorg/codehaus/jackson/JsonFactory= ; Any ideas why? Thanks, Felix On Mon, Jan 24, 2011 at 1:18 PM, Chase Bradford <[email protected]<m= ailto:[email protected]>> wrote: Yes, you will need to restart them. The child tasks inherit the TT's classpath, which will list only the 1.0.1 jars until you restart the daemon. On Mon, Jan 24, 2011 at 1:11 PM, felix gao <[email protected]<mailto:gre160= [email protected]>> wrote: > Hi Guys, > > I am testing out AVRO in our cluster and having java.lang.NoSuchMethodErr= or: > org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonParser$= Feature;)Lorg/codehaus/jackson/JsonFactory; > when running a simple pig script. > after took a look at AVRO-493 I uploaded the new jackson jar to replace = the > CDH2's jackson 1.0.1 jars. > > > The pigscipt looks like below > REGISTER /home/pig/jars/avro-1.4.1.jar > REGISTER /home/pig/jars/json_simple-1.1.jar > REGISTER /home/pig/jars/piggybank.jar > REGISTER /usr/lib/hadoop/lib/jackson-core-asl-1.5.5.jar > REGISTER /usr/lib/hadoop/lib/jackson-mapper-asl-1.5.5.jar > > log_load =3D LOAD '/user/felix/avro_input/*.avro' USING > org.apache.pig.piggybank.storage.avro.AvroStorage() ; > > dump log_load > > > jackson jars are copied to each slaves and master > > The full stacktrace: > ERROR 2998: Unhandled internal error. > org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonParser$= Feature;)Lorg/codehaus/jackson/JsonFactory; > > java.lang.NoSuchMethodError: > org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonParser$= Feature;)Lorg/codehaus/jackson/JsonFactory; > at org.apache.avro.Schema.<clinit>(Schema.java:82) > at > org.apache.pig.piggybank.storage.avro.ASCommons.<clinit>(ASCommons.java:4= 4) > at > org.apache.pig.piggybank.storage.avro.AvroStorage.getSchema(AvroStorage.j= ava:177) > at > org.apache.pig.piggybank.storage.avro.AvroStorage.getAvroSchema(AvroStora= ge.java:133) > at > org.apache.pig.piggybank.storage.avro.AvroStorage.getAvroSchema(AvroStora= ge.java:108) > at > org.apache.pig.piggybank.storage.avro.AvroStorage.getSchema(AvroStorage.j= ava:233) > at > org.apache.pig.impl.logicalLayer.LOLoad.determineSchema(LOLoad.java:169) > at > org.apache.pig.impl.logicalLayer.LOLoad.getSchema(LOLoad.java:150) > at > org.apache.pig.impl.logicalLayer.parser.QueryParser.Parse(QueryParser.jav= a:843) > at > org.apache.pig.impl.logicalLayer.LogicalPlanBuilder.parse(LogicalPlanBuil= der.java:63) > at org.apache.pig.PigServer$Graph.parseQuery(PigServer.java:1164) > at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:11= 14) > at org.apache.pig.PigServer.registerQuery(PigServer.java:425) > at > org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:737) > at > org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptPars= er.java:324) > at > org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:= 162) > at > org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:= 138) > at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:75) > at org.apache.pig.Main.main(Main.java:357) > > I am wondering if I need to restart tasktracker and jobtracker in order f= or > the jackson jars to be picked up? > > > > > > > > -- Chase Bradford =93If in physics there's something you don't understand, you can always hide behind the uncharted depths of nature. But if your program doesn't work, there is no obstinate nature. If it doesn't work, you've messed up.=94 - Edsger Dijkstra --_000_C96341EA1BC8Dscottrichrelevancecom_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable <html><head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1= 252"></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space;= -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14p= x; font-family: Calibri, sans-serif; "><div>That is confusing. &nbsp;Can yo= u capture the classpath of an actual task process, not just the TT? &nbsp;T= hey shouldn't differ much, but it is worth checking.</div><div><br></div><d= iv>Jackson 1.3 (or was it 1.2?) and above have all been backwards compatibl= e with each other I believe. &nbsp; And the error you are getting is defini= tely caused by accessing the enable() methods that were added after 1.0.1. = &nbsp;&nbsp;</div><div>I can change the Avro dependency on Jackson to 1.5.5= , 1.7.1, or 1.3, and unit tests pass. &nbsp;If I change it to 1.2, 1.1, or = 1.0.1 they break.</div><div><br></div><div>-Scott</div><div><br></div><span= id=3D"OLK_SRC_BODY_SECTION"><div><div>On 1/24/11 2:40 PM, &quot;felix gao&= quot; &lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt; wr= ote:</div></div><div><br></div><blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BL= OCKQUOTE" style=3D"BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 = 0 0 5;">sorry for the spamming, but I forgot to include the TaskTracker's p= rocess information.<br><br>root&nbsp;&nbsp;&nbsp;&nbsp; 20368&nbsp;&nbsp;&n= bsp;&nbsp; 1&nbsp; 0 17:31 pts/0&nbsp;&nbsp;&nbsp; 00:00:00 su mapred -s /u= sr/java/default/bin/java -- -Dproc_tasktracker -Xmx1000m -Dhadoop.log.dir= =3D/usr/lib/hadoop-0.20/logs -Dhadoop.log.file=3Dhadoop-hadoop-tasktracker-= ip-10-212-86-214.log -Dhadoop.home.dir=3D/usr/lib/hadoop-0.20 -Dhadoop.id.s= tr=3Dhadoop -Dhadoop.root.logger=3DINFO,DRFA -Djava.library.path=3D/usr/lib= /hadoop-0.20/lib/native/Linux-amd64-64:/usr/lib/hadoop-0.20/lib/native/Linu= x-amd64-64 -Dhadoop.policy.file=3Dhadoop-policy.xml -classpath /etc/hadoop-= 0.20/conf:/usr/java/default/lib/tools.jar:/usr/lib/hadoop-0.20:/usr/lib/had= oop-0.20/hadoop-core-0.20.2&#43;737.jar:/usr/lib/hadoop-0.20/lib/aspectjrt-= 1.6.5.jar:/usr/lib/hadoop-0.20/lib/aspectjtools-1.6.5.jar:/usr/lib/hadoop-0= .20/lib/commons-cli-1.2.jar:/usr/lib/hadoop-0.20/lib/commons-codec-1.4.jar:= /usr/lib/hadoop-0.20/lib/commons-daemon-1.0.1.jar:/usr/lib/hadoop-0.20/lib/= commons-el-1.0.jar:/usr/lib/hadoop-0.20/lib/commons-httpclient-3.0.1.jar:/u= sr/lib/hadoop-0.20/lib/commons-logging-1.0.4.jar:/usr/lib/hadoop-0.20/lib/c= ommons-logging-api-1.0.4.jar:/usr/lib/hadoop-0.20/lib/commons-net-1.4.1.jar= :/usr/lib/hadoop-0.20/lib/core-3.1.1.jar:/usr/lib/hadoop-0.20/lib/hadoop-fa= irscheduler-0.20.2&#43;737.jar:/usr/lib/hadoop-0.20/lib/hadoop-lzo-0.4.6.ja= r:/usr/lib/hadoop-0.20/lib/hadoop-thriftfs-0.20.2&#43;737.jar:/usr/lib/hado= op-0.20/lib/hsqldb-161.129.204.104.jar:<span style=3D"background-color: rgb(255, 2= 55, 102);">/usr/lib/hadoop-0.20/lib/jackson-core-asl-1.5.5.jar:/usr/lib/had= oop-0.20/lib/jackson-mapper-asl-1.5.5.jar</span>:/usr/lib/hadoop-0.20/lib/j= asper-compiler-5.5.12.jar:/usr/lib/hadoop-0.20/lib/jasper-runtime-5.5.12.ja= r:/usr/lib/hadoop-0.20/lib/jets3t-0.6.1.jar:/usr/lib/hadoop-0.20/lib/jetty-= 6.1.14.jar:/usr/lib/hadoop-0.20/lib/jetty-util-6.1.14.jar:/usr/lib/hadoop-0= .20/lib/junit-4.5.jar:/usr/lib/hadoop-0.20/lib/kfs-0.2.2.jar:/usr/lib/hadoo= p-0.20/lib/log4j-1.2.15.jar:/usr/lib/hadoop-0.20/lib/mockito-all-1.8.2.jar:= /usr/lib/hadoop-0.20/lib/mysql-connector-java-5.0.8-bin.jar:/usr/lib/hadoop= -0.20/lib/oro-2.0.8.jar:/usr/lib/hadoop-0.20/lib/servlet-api-2.5-6.1.14.jar= :/usr/lib/hadoop-0.20/lib/slf4j-api-1.4.3.jar:/usr/lib/hadoop-0.20/lib/slf4= j-log4j12-1.4.3.jar:/usr/lib/hadoop-0.20/lib/xmlenc-0.52.jar:/usr/lib/hadoo= p-0.20/lib/jsp-2.1/jsp-2.1.jar:/usr/lib/hadoop-0.20/lib/jsp-2.1/jsp-api-2.1= .jar:/usr/lib/hadoop-0.20/lib/hadoop-lzo.0.4.4.jar org.apache.hadoop.mapred= .TaskTracker<br><br>as you can see the correct version of jackson library i= s in the classpath.&nbsp; <br><br><br><div class=3D"gmail_quote">On Mon, Ja= n 24, 2011 at 2:09 PM, felix gao <span dir=3D"ltr">&lt;<a href=3D"mailto:gr= [email protected]">[email protected]</a>&gt;</span> wrote:<br><blockquote cla= ss=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); marg= in: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Chase,<br><br>I tried to ran it = on my local box with a standalone version of hadoop installed and I still g= ot the same error.<br> /usr/local/pig-0.7.0/bin/pig avro.pig <br>11/01/24 14:01:29 INFO pig.Main: = Logging error messages to: /Users/felix/Documents/pig/pig_1295906489023.log= <br> 2011-01-24 14:01:29,328 [main] INFO&nbsp; org.apache.pig.backend.hadoop.exe= cutionengine.HExecutionEngine - Connecting to hadoop file system at: file:/= //<br>2011-01-24 14:01:30,277 [main] INFO&nbsp; org.apache.hadoop.metrics.j= vm.JvmMetrics - Initializing JVM Metrics with processName=3DJobTracker, ses= sionId=3D<br> 2011-01-24 14:01:30,537 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERR= OR 2998: Unhandled internal error. org.codehaus.jackson.JsonFactory.enable(= Lorg/codehaus/jackson/JsonParser$Feature;)Lorg/codehaus/jackson/JsonFactory= ;<br><br>Any ideas why?<br><br>Thanks,<br><font color=3D"#888888"><br>Felix= </font><div><div></div><div class=3D"h5"><br><br><br><br><div class=3D"gmai= l_quote">On Mon, Jan 24, 2011 at 1:18 PM, Chase Bradford <span dir=3D"ltr">= &lt;<a href=3D"mailto:[email protected]" target=3D"_blank">chase.bra= [email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" = style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8= ex; padding-left: 1ex;">Yes, you will need to restart them. &nbsp;The child= tasks inherit the TT's<br> classpath, which will list only the 1.0.1 jars until you restart the<br> daemon.<br><div><div></div><div><br> On Mon, Jan 24, 2011 at 1:11 PM, felix gao &lt;<a href=3D"mailto:gre1600@gm= ail.com" target=3D"_blank">[email protected]</a>&gt; wrote:<br> &gt; Hi Guys,<br> &gt;<br> &gt; I am testing out AVRO in our cluster and having java.lang.NoSuchMethod= Error:<br> &gt; org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonPars= er$Feature;)Lorg/codehaus/jackson/JsonFactory;<br> &gt; when running a simple pig script.<br> &gt; after took a look at AVRO-493 I&nbsp; uploaded the new jackson jar to = replace the<br> &gt; CDH2's jackson 1.0.1 jars.<br> &gt;<br> &gt;<br> &gt; The pigscipt looks like below<br> &gt; REGISTER /home/pig/jars/avro-1.4.1.jar<br> &gt; REGISTER /home/pig/jars/json_simple-1.1.jar<br> &gt; REGISTER /home/pig/jars/piggybank.jar<br> &gt; REGISTER /usr/lib/hadoop/lib/jackson-core-asl-1.5.5.jar<br> &gt; REGISTER /usr/lib/hadoop/lib/jackson-mapper-asl-1.5.5.jar<br> &gt;<br> &gt; log_load =3D LOAD '/user/felix/avro_input/*.avro' USING<br> &gt; org.apache.pig.piggybank.storage.avro.AvroStorage() ;<br> &gt;<br> &gt; dump log_load<br> &gt;<br> &gt;<br> &gt; jackson jars are copied to each slaves and master<br> &gt;<br> &gt; The full stacktrace:<br> &gt; ERROR 2998: Unhandled internal error.<br> &gt; org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonPars= er$Feature;)Lorg/codehaus/jackson/JsonFactory;<br> &gt;<br> &gt; java.lang.NoSuchMethodError:<br> &gt; org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonPars= er$Feature;)Lorg/codehaus/jackson/JsonFactory;<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.avro.Schema.&= lt;clinit&gt;(Schema.java:82)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<br> &gt; org.apache.pig.piggybank.storage.avro.ASCommons.&lt;clinit&gt;(ASCommo= ns.java:44)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<br> &gt; org.apache.pig.piggybank.storage.avro.AvroStorage.getSchema(AvroStorag= e.java:177)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<br> &gt; org.apache.pig.piggybank.storage.avro.AvroStorage.getAvroSchema(AvroSt= orage.java:133)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<br> &gt; org.apache.pig.piggybank.storage.avro.AvroStorage.getAvroSchema(AvroSt= orage.java:108)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<br> &gt; org.apache.pig.piggybank.storage.avro.AvroStorage.getSchema(AvroStorag= e.java:233)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<br> &gt; org.apache.pig.impl.logicalLayer.LOLoad.determineSchema(LOLoad.java:16= 9)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<br> &gt; org.apache.pig.impl.logicalLayer.LOLoad.getSchema(LOLoad.java:150)<br>= &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<br> &gt; org.apache.pig.impl.logicalLayer.parser.QueryParser.Parse(QueryParser.= java:843)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<br> &gt; org.apache.pig.impl.logicalLayer.LogicalPlanBuilder.parse(LogicalPlanB= uilder.java:63)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.pig.PigServer= $Graph.parseQuery(PigServer.java:1164)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.pig.PigServer= $Graph.registerQuery(PigServer.java:1114)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.pig.PigServer= .registerQuery(PigServer.java:425)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<br> &gt; org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:737= )<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<br> &gt; org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptP= arser.java:324)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<br> &gt; org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.ja= va:162)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<br> &gt; org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.ja= va:138)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.pig.tools.gru= nt.Grunt.run(Grunt.java:75)<br> &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.pig.Main.main= (Main.java:357)<br> &gt;<br> &gt; I am wondering if I need to restart tasktracker and jobtracker in orde= r for<br> &gt; the jackson jars to be picked up?<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br><br><br><br></div></div>--<br> Chase Bradford<br><br><br> =93If in physics there's something you don't understand, you can always<br> hide behind the uncharted depths of nature. But if your program<br> doesn't work, there is no obstinate nature. If it doesn't work, you've<br> messed up.=94<br><br> - Edsger Dijkstra<br></blockquote></div><br></div></div></blockquote></div>= <br></blockquote></span></body></html> --_000_C96341EA1BC8Dscottrichrelevancecom_-- From [email protected] Mon Jan 24 23:45:16 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34414 invoked from network); 24 Jan 2011 23:45:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jan 2011 23:45:16 -0000 Received: (qmail 15384 invoked by uid 500); 24 Jan 2011 23:45:15 -0000 Delivered-To: [email protected] Received: (qmail 15310 invoked by uid 500); 24 Jan 2011 23:45:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 15302 invoked by uid 99); 24 Jan 2011 23:45:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jan 2011 23:45:15 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jan 2011 23:45:10 +0000 Received: by ewy22 with SMTP id 22so3135233ewy.30 for <[email protected]>; Mon, 24 Jan 2011 15:44:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=5DrHiiNMYdmY4o5tV/JeoLuz5EqPL18I2+ugLDyBCKg=; b=mQNk+Wi+x+QStM1AVqLllKwy7jH4eAja8KB6v9ax31KXPDa162K+hfyuTFPmwxI4ql qvvJUxbexGYvQNi7PuAUKDHyXbZnYoly6Ggxzuksueq8+YSWpd3VFZXyePLijhPDDuCd 59W6Nl0N5LjbhvBUrkWF+5NpCzt+fe71GbRWA= 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:content-transfer-encoding; b=IhVkb5V5EIGg/0cfhoIdB9Fwzd3kWnfWj+1c3UtOHjAyp2XI6CMCHnCaRh5g/Lygxz ybDlMuoj3nW3Tw9pn69ZwqTUdqqrPLFLiDCu3v6RRdXTG0NgG+AnxUyyycuN89CUsUx6 jnh/6llnAYLqXf+9eRGddddTJZ8MnYndRdqXc= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id f42mr5088459eec.3.1295912682867; Mon, 24 Jan 2011 15:44:42 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 24 Jan 2011 15:44:42 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Mon, 24 Jan 2011 15:44:42 -0800 Message-ID: <[email protected]> Subject: Re: java.lang.NoSuchMethodError: org.codehaus.jackson.JsonFactory.enable From: Tatu Saloranta <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Mon, Jan 24, 2011 at 3:13 PM, Scott Carey <[email protected]> wrot= e: > That is confusing. =A0Can you capture the classpath of an actual task pro= cess, > not just the TT? =A0They shouldn't differ much, but it is worth checking. > Jackson 1.3 (or was it 1.2?) and above have all been backwards compatible > with each other I believe. =A0 And the error you are getting is definitel= y > caused by accessing the enable() methods that were added after 1.0.1. > I can change the Avro dependency on Jackson to 1.5.5, 1.7.1, or 1.3, and > unit tests pass. =A0If I change it to 1.2, 1.1, or 1.0.1 they break. Just in case anyone is interested, this is due to change in 1.3.0 which changed return type of configuration method from 'void' to ObjectMapper, to allow fluent-style chaining of configuration. This is source compatible, but unfortunately binary incompatible change. On plus side, it is the only known such problem, which makes it easier to recognize. -+ Tatu +- From [email protected] Tue Jan 25 00:06:40 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50912 invoked from network); 25 Jan 2011 00:06:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jan 2011 00:06:39 -0000 Received: (qmail 44147 invoked by uid 500); 25 Jan 2011 00:06:39 -0000 Delivered-To: [email protected] Received: (qmail 43912 invoked by uid 500); 25 Jan 2011 00:06:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 43904 invoked by uid 99); 25 Jan 2011 00:06:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 00:06:38 +0000 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qy0-f178.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 00:06:31 +0000 Received: by qyk33 with SMTP id 33so4544598qyk.9 for <[email protected]>; Mon, 24 Jan 2011 16:06:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=zxJ/RFhogjqfAhf64RmjJG9M04Nch0NbAC0XgvauN3k=; b=umABOCsIjOdXc3M75zgLPY06NWJ9hNegcCiLc0hB0y0USLdVNN2svu0BOeo54e8hpj oMqr5g/5OWy6ANuLlDo3wLUBHSxXYx1DDwWFQJxgFr2rcRMjC6LV3ma3nh9UrZCLR4RB 7SjfaYL0k+dhJKcu2l95vPqzKF6EvjdaWm4AY= 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=iekWZS9Bm/BWkL33SoMzXYnPeN4nO8jrKmbd5ltE2ZaoiGswkA5CefKBedVSI0xszD awiHb9Db7zTll1Ws3/5IphFq4ySi2I7S/MuUgcFhhqoDvApE3GR46p0LKrh8+hTAy4NG 0MRyc6xLSATxhdoPEzdopd8m+x0xdausUT/kc= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id l5mr4684399qac.354.1295913970222; Mon, 24 Jan 2011 16:06:10 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 24 Jan 2011 16:06:10 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Mon, 24 Jan 2011 16:06:10 -0800 Message-ID: <[email protected]> Subject: Re: java.lang.NoSuchMethodError: org.codehaus.jackson.JsonFactory.enable From: felix gao <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0015175caa82dac7a4049aa07bc5 X-Virus-Checked: Checked by ClamAV on apache.org --0015175caa82dac7a4049aa07bc5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable here is the actual process that is running the pig script, I hope this helps. root 20820 19838 66 18:57 pts/0 00:00:00 /usr/java/default/bin/java -Xmx1000m -Djava.library.path=3D/usr/lib/hadoop-0.20/lib/native/Linux-amd64= -64 -Djavax.xml.parsers.DocumentBuilderFactory=3Dcom.sun.org.apache.xerces.inte= rnal.jaxp.DocumentBuilderFactoryImpl -Dpig.log.dir=3D/usr/lib/pig/bin/../logs -Dpig.log.file=3Dpig.log -Dpig.home.dir=3D/usr/lib/pig/bin/.. -Dpig.root.logger=3DINFO,console,DRFA -classpath /usr/lib/pig/bin/../conf:/usr/java/default/lib/tools.jar:/usr/lib/pig/bin/.= ./pig-0.7.0+16-core.jar:/usr/lib/pig/bin/../pig-0.7.0+16.jar:/usr/lib/pig/b= in/../build/pig-*-core.jar:/usr/lib/pig/bin/../lib/automaton.jar:/usr/lib/p= ig/bin/../lib/hbase-0.20.0-test.jar:/usr/lib/pig/bin/../lib/hbase-0.20.0.ja= r:/usr/lib/pig/bin/../lib/zookeeper-hbase-1329.jar:/usr/lib/pig/bin/../buil= d/ivy/lib/Pig/*.jar:/usr/lib/hadoop-0.20/hadoop-core-0.20.2+737.jar:/usr/li= b/hadoop-0.20/lib/aspectjrt-1.6.5.jar:/usr/lib/hadoop-0.20/lib/aspectjtools= -1.6.5.jar:/usr/lib/hadoop-0.20/lib/commons-cli-1.2.jar:/usr/lib/hadoop-0.2= 0/lib/commons-codec-1.4.jar:/usr/lib/hadoop-0.20/lib/commons-daemon-1.0.1.j= ar:/usr/lib/hadoop-0.20/lib/commons-el-1.0.jar:/usr/lib/hadoop-0.20/lib/com= mons-httpclient-3.0.1.jar:/usr/lib/hadoop-0.20/lib/commons-logging-1.0.4.ja= r:/usr/lib/hadoop-0.20/lib/commons-logging-api-1.0.4.jar:/usr/lib/hadoop-0.= 20/lib/commons-net-1.4.1.jar:/usr/lib/hadoop-0.20/lib/core-3.1.1.jar:/usr/l= ib/hadoop-0.20/lib/hadoop-fairscheduler-0.20.2+737.jar:/usr/lib/hadoop-0.20= /lib/hadoop-lzo-0.4.6.jar:/usr/lib/hadoop-0.20/lib/hadoop-thriftfs-0.20.2+7= 37.jar:/usr/lib/hadoop-0.20/lib/hsqldb-161.129.204.104.LICENSE.txt:/usr/lib/hadoop= -0.20/lib/hsqldb-161.129.204.104.jar: /usr/lib/hadoop-0.20/lib/jackson-core-asl-1.5.5.jar:/usr/lib/hadoop-0.20/li= b/jackson-mapper-asl-1.5.5.jar:/usr/lib/hadoop-0.20/lib/jasper-compiler-5.5= .12.jar:/usr/lib/hadoop-0.20/lib/jasper-runtime-5.5.12.jar:/usr/lib/hadoop-= 0.20/lib/jdiff:/usr/lib/hadoop-0.20/lib/jets3t-0.6.1.jar:/usr/lib/hadoop-0.= 20/lib/jetty-6.1.14.jar:/usr/lib/hadoop-0.20/lib/jetty-util-6.1.14.jar:/usr= /lib/hadoop-0.20/lib/jsp-2.1:/usr/lib/hadoop-0.20/lib/junit-4.5.jar:/usr/li= b/hadoop-0.20/lib/kfs-0.2.2.jar:/usr/lib/hadoop-0.20/lib/kfs-0.2.LICENSE.tx= t:/usr/lib/hadoop-0.20/lib/log4j-1.2.15.jar:/usr/lib/hadoop-0.20/lib/mockit= o-all-1.8.2.jar:/usr/lib/hadoop-0.20/lib/mysql-connector-java-5.0.8-bin.jar= :/usr/lib/hadoop-0.20/lib/native:/usr/lib/hadoop-0.20/lib/native_libs.tar:/= usr/lib/hadoop-0.20/lib/oro-2.0.8.jar:/usr/lib/hadoop-0.20/lib/servlet-api-= 2.5-6.1.14.jar:/usr/lib/hadoop-0.20/lib/slf4j-api-1.4.3.jar:/usr/lib/hadoop= -0.20/lib/slf4j-log4j12-1.4.3.jar:/usr/lib/hadoop-0.20/lib/xmlenc-0.52.jar:= /usr/lib/hadoop-0.20/lib/hadoop-lzo.0.4.4.jar:/usr/lib/hadoop-0.20/conacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b/h= ome/felix/hadoop-lzo.jar:/home/felix/elephant-bird.jar:/home/felix/elephant= -bird/lib/* org.apache.pig.Main avro.pig pig -secretDebugCmd dry run: /usr/java/default/bin/java -Xmx1000m -Djava.library.path=3D/usr/lib/hadoop-0.20/lib/native/Linux-amd64-64 -Djavax.xml.parsers.DocumentBuilderFactory=3Dcom.sun.org.apache.xerces.inte= rnal.jaxp.DocumentBuilderFactoryImpl -Dpig.log.dir=3D/usr/lib/pig/bin/../logs -Dpig.log.file=3Dpig.log -Dpig.home.dir=3D/usr/lib/pig/bin/.. -Dpig.root.logger=3DINFO,console,DRFA -classpath /usr/lib/pig/bin/../conf:/usr/java/default/lib/tools.jar:/usr/lib/pig/bin/.= ./pig-0.7.0+16-core.jar:/usr/lib/pig/bin/../pig-0.7.0+16.jar:/usr/lib/pig/b= in/../build/pig-*-core.jar:/usr/lib/pig/bin/../lib/automaton.jar:/usr/lib/p= ig/bin/../lib/hbase-0.20.0-test.jar:/usr/lib/pig/bin/../lib/hbase-0.20.0.ja= r:/usr/lib/pig/bin/../lib/zookeeper-hbase-1329.jar:/usr/lib/pig/bin/../buil= d/ivy/lib/Pig/*.jar:/usr/lib/hadoop-0.20/hadoop-core-0.20.2+737.jar:/usr/li= b/hadoop-0.20/lib/aspectjrt-1.6.5.jar:/usr/lib/hadoop-0.20/lib/aspectjtools= -1.6.5.jar:/usr/lib/hadoop-0.20/lib/commons-cli-1.2.jar:/usr/lib/hadoop-0.2= 0/lib/commons-codec-1.4.jar:/usr/lib/hadoop-0.20/lib/commons-daemon-1.0.1.j= ar:/usr/lib/hadoop-0.20/lib/commons-el-1.0.jar:/usr/lib/hadoop-0.20/lib/com= mons-httpclient-3.0.1.jar:/usr/lib/hadoop-0.20/lib/commons-logging-1.0.4.ja= r:/usr/lib/hadoop-0.20/lib/commons-logging-api-1.0.4.jar:/usr/lib/hadoop-0.= 20/lib/commons-net-1.4.1.jar:/usr/lib/hadoop-0.20/lib/core-3.1.1.jar:/usr/l= ib/hadoop-0.20/lib/hadoop-fairscheduler-0.20.2+737.jar:/usr/lib/hadoop-0.20= /lib/hadoop-lzo-0.4.6.jar:/usr/lib/hadoop-0.20/lib/hadoop-thriftfs-0.20.2+7= 37.jar:/usr/lib/hadoop-0.20/lib/hsqldb-161.129.204.104.LICENSE.txt:/usr/lib/hadoop= -0.20/lib/hsqldb-161.129.204.104.jar :/usr/lib/hadoop-0.20/lib/jackson-core-asl-1.5.5.jar:/usr/lib/hadoop-0.20/l= ib/jackson-mapper-asl-1.5.5.jar:/usr/lib/hadoop-0.20/lib/jasper-compiler-5.= 5.12.jar:/usr/lib/hadoop-0.20/lib/jasper-runtime-5.5.12.jar:/usr/lib/hadoop= -0.20/lib/jdiff:/usr/lib/hadoop-0.20/lib/jets3t-0.6.1.jar:/usr/lib/hadoop-0= .20/lib/jetty-6.1.14.jar:/usr/lib/hadoop-0.20/lib/jetty-util-6.1.14.jar:/us= r/lib/hadoop-0.20/lib/jsp-2.1:/usr/lib/hadoop-0.20/lib/junit-4.5.jar:/usr/l= ib/hadoop-0.20/lib/kfs-0.2.2.jar:/usr/lib/hadoop-0.20/lib/kfs-0.2.LICENSE.t= xt:/usr/lib/hadoop-0.20/lib/log4j-1.2.15.jar:/usr/lib/hadoop-0.20/lib/mocki= to-all-1.8.2.jar:/usr/lib/hadoop-0.20/lib/mysql-connector-java-5.0.8-bin.ja= r:/usr/lib/hadoop-0.20/lib/native:/usr/lib/hadoop-0.20/lib/native_libs.tar:= /usr/lib/hadoop-0.20/lib/oro-2.0.8.jar:/usr/lib/hadoop-0.20/lib/servlet-api= -2.5-6.1.14.jar:/usr/lib/hadoop-0.20/lib/slf4j-api-1.4.3.jar:/usr/lib/hadoo= p-0.20/lib/slf4j-log4j12-1.4.3.jar:/usr/lib/hadoop-0.20/lib/xmlenc-0.52.jar= :/usr/lib/hadoop-0.20/lib/hadoop-lzo.0.4.4.jar:/usr/lib/hadoop-0.20/conacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b/= home/felix/hadoop-lzo.jar:/home/felix/elephant-bird.jar:/home/felix/elephan= t-bird/lib/* org.apache.pig.Main seems the jackson 1.5.5 is on the classpath of the pig as well as tasktracker and the actual job. Felix On Mon, Jan 24, 2011 at 3:44 PM, Tatu Saloranta <[email protected]>wrote= : > On Mon, Jan 24, 2011 at 3:13 PM, Scott Carey <[email protected]> > wrote: > > That is confusing. Can you capture the classpath of an actual task > process, > > not just the TT? They shouldn't differ much, but it is worth checking. > > Jackson 1.3 (or was it 1.2?) and above have all been backwards compatib= le > > with each other I believe. And the error you are getting is definitel= y > > caused by accessing the enable() methods that were added after 1.0.1. > > I can change the Avro dependency on Jackson to 1.5.5, 1.7.1, or 1.3, an= d > > unit tests pass. If I change it to 1.2, 1.1, or 1.0.1 they break. > > Just in case anyone is interested, this is due to change in 1.3.0 > which changed return type of configuration method from 'void' to > ObjectMapper, to allow fluent-style chaining of configuration. This is > source compatible, but unfortunately binary incompatible change. On > plus side, it is the only known such problem, which makes it easier to > recognize. > > -+ Tatu +- > --0015175caa82dac7a4049aa07bc5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable here is the actual process that is running the pig script, I hope this help= s.<br><br>root=A0=A0=A0=A0 20820 19838 66 18:57 pts/0=A0=A0=A0 00:00:00 /us= r/java/default/bin/java -Xmx1000m -Djava.library.path=3D/usr/lib/hadoop-0.2= 0/lib/native/Linux-amd64-64 -Djavax.xml.parsers.DocumentBuilderFactory=3Dco= m.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl -Dpig.log.= dir=3D/usr/lib/pig/bin/../logs -Dpig.log.file=3Dpig.log -Dpig.home.dir=3D/u= sr/lib/pig/bin/.. -Dpig.root.logger=3DINFO,console,DRFA -classpath /usr/lib= /pig/bin/../conf:/usr/java/default/lib/tools.jar:/usr/lib/pig/bin/../pig-0.= 7.0+16-core.jar:/usr/lib/pig/bin/../pig-0.7.0+16.jar:/usr/lib/pig/bin/../bu= ild/pig-*-core.jar:/usr/lib/pig/bin/../lib/automaton.jar:/usr/lib/pig/bin/.= ./lib/hbase-0.20.0-test.jar:/usr/lib/pig/bin/../lib/hbase-0.20.0.jar:/usr/l= ib/pig/bin/../lib/zookeeper-hbase-1329.jar:/usr/lib/pig/bin/../build/ivy/li= b/Pig/*.jar:/usr/lib/hadoop-0.20/hadoop-core-0.20.2+737.jar:/usr/lib/hadoop= -0.20/lib/aspectjrt-1.6.5.jar:/usr/lib/hadoop-0.20/lib/aspectjtools-1.6.5.j= ar:/usr/lib/hadoop-0.20/lib/commons-cli-1.2.jar:/usr/lib/hadoop-0.20/lib/co= mmons-codec-1.4.jar:/usr/lib/hadoop-0.20/lib/commons-daemon-1.0.1.jar:/usr/= lib/hadoop-0.20/lib/commons-el-1.0.jar:/usr/lib/hadoop-0.20/lib/commons-htt= pclient-3.0.1.jar:/usr/lib/hadoop-0.20/lib/commons-logging-1.0.4.jar:/usr/l= ib/hadoop-0.20/lib/commons-logging-api-1.0.4.jar:/usr/lib/hadoop-0.20/lib/c= ommons-net-1.4.1.jar:/usr/lib/hadoop-0.20/lib/core-3.1.1.jar:/usr/lib/hadoo= p-0.20/lib/hadoop-fairscheduler-0.20.2+737.jar:/usr/lib/hadoop-0.20/lib/had= oop-lzo-0.4.6.jar:/usr/lib/hadoop-0.20/lib/hadoop-thriftfs-0.20.2+737.jar:/= usr/lib/hadoop-0.20/lib/hsqldb-161.129.204.104.LICENSE.txt:/usr/lib/hadoop-0.20/li= b/hsqldb-161.129.204.104.jar:<span style=3D"background-color: rgb(255, 255, 102);"= >/usr/lib/hadoop-0.20/lib/jackson-core-asl-1.5.5.jar:/usr/lib/hadoop-0.20/l= ib/jackson-mapper-asl-1.5.5.jar</span>:/usr/lib/hadoop-0.20/lib/jasper-comp= iler-5.5.12.jar:/usr/lib/hadoop-0.20/lib/jasper-runtime-5.5.12.jar:/usr/lib= /hadoop-0.20/lib/jdiff:/usr/lib/hadoop-0.20/lib/jets3t-0.6.1.jar:/usr/lib/h= adoop-0.20/lib/jetty-6.1.14.jar:/usr/lib/hadoop-0.20/lib/jetty-util-6.1.14.= jar:/usr/lib/hadoop-0.20/lib/jsp-2.1:/usr/lib/hadoop-0.20/lib/junit-4.5.jar= :/usr/lib/hadoop-0.20/lib/kfs-0.2.2.jar:/usr/lib/hadoop-0.20/lib/kfs-0.2.LI= CENSE.txt:/usr/lib/hadoop-0.20/lib/log4j-1.2.15.jar:/usr/lib/hadoop-0.20/li= b/mockito-all-1.8.2.jar:/usr/lib/hadoop-0.20/lib/mysql-connector-java-5.0.8= -bin.jar:/usr/lib/hadoop-0.20/lib/native:/usr/lib/hadoop-0.20/lib/native_li= bs.tar:/usr/lib/hadoop-0.20/lib/oro-2.0.8.jar:/usr/lib/hadoop-0.20/lib/serv= let-api-2.5-6.1.14.jar:/usr/lib/hadoop-0.20/lib/slf4j-api-1.4.3.jar:/usr/li= b/hadoop-0.20/lib/slf4j-log4j12-1.4.3.jar:/usr/lib/hadoop-0.20/lib/xmlenc-0= .52.jar:/usr/lib/hadoop-0.20/lib/hadoop-lzo.0.4.4.jar:/usr/lib/hadoop-0.20/= conacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b/home/felix/hadoop-lzo.jar:/home/felix/elephant-bird.jar:/home/felix/= elephant-bird/lib/* org.apache.pig.Main avro.pig<br> <br><br>pig -secretDebugCmd<br>dry run:<br>/usr/java/default/bin/java -Xmx1= 000m -Djava.library.path=3D/usr/lib/hadoop-0.20/lib/native/Linux-amd64-64 -= Djavax.xml.parsers.DocumentBuilderFactory=3Dcom.sun.org.apache.xerces.inter= nal.jaxp.DocumentBuilderFactoryImpl -Dpig.log.dir=3D/usr/lib/pig/bin/../log= s -Dpig.log.file=3Dpig.log -Dpig.home.dir=3D/usr/lib/pig/bin/.. -Dpig.root.= logger=3DINFO,console,DRFA -classpath /usr/lib/pig/bin/../conf:/usr/java/de= fault/lib/tools.jar:/usr/lib/pig/bin/../pig-0.7.0+16-core.jar:/usr/lib/pig/= bin/../pig-0.7.0+16.jar:/usr/lib/pig/bin/../build/pig-*-core.jar:/usr/lib/p= ig/bin/../lib/automaton.jar:/usr/lib/pig/bin/../lib/hbase-0.20.0-test.jar:/= usr/lib/pig/bin/../lib/hbase-0.20.0.jar:/usr/lib/pig/bin/../lib/zookeeper-h= base-1329.jar:/usr/lib/pig/bin/../build/ivy/lib/Pig/*.jar:/usr/lib/hadoop-0= .20/hadoop-core-0.20.2+737.jar:/usr/lib/hadoop-0.20/lib/aspectjrt-1.6.5.jar= :/usr/lib/hadoop-0.20/lib/aspectjtools-1.6.5.jar:/usr/lib/hadoop-0.20/lib/c= ommons-cli-1.2.jar:/usr/lib/hadoop-0.20/lib/commons-codec-1.4.jar:/usr/lib/= hadoop-0.20/lib/commons-daemon-1.0.1.jar:/usr/lib/hadoop-0.20/lib/commons-e= l-1.0.jar:/usr/lib/hadoop-0.20/lib/commons-httpclient-3.0.1.jar:/usr/lib/ha= doop-0.20/lib/commons-logging-1.0.4.jar:/usr/lib/hadoop-0.20/lib/commons-lo= gging-api-1.0.4.jar:/usr/lib/hadoop-0.20/lib/commons-net-1.4.1.jar:/usr/lib= /hadoop-0.20/lib/core-3.1.1.jar:/usr/lib/hadoop-0.20/lib/hadoop-fairschedul= er-0.20.2+737.jar:/usr/lib/hadoop-0.20/lib/hadoop-lzo-0.4.6.jar:/usr/lib/ha= doop-0.20/lib/hadoop-thriftfs-0.20.2+737.jar:/usr/lib/hadoop-0.20/lib/hsqld= b-161.129.204.104.LICENSE.txt:/usr/lib/hadoop-0.20/lib/hsqldb-161.129.204.104.jar<span st= yle=3D"background-color: rgb(255, 255, 51);">:/usr/lib/hadoop-0.20/lib/jack= son-core-asl-1.5.5.jar:/usr/lib/hadoop-0.20/lib/jackson-mapper-asl-1.5.5.ja= r</span>:/usr/lib/hadoop-0.20/lib/jasper-compiler-5.5.12.jar:/usr/lib/hadoo= p-0.20/lib/jasper-runtime-5.5.12.jar:/usr/lib/hadoop-0.20/lib/jdiff:/usr/li= b/hadoop-0.20/lib/jets3t-0.6.1.jar:/usr/lib/hadoop-0.20/lib/jetty-6.1.14.ja= r:/usr/lib/hadoop-0.20/lib/jetty-util-6.1.14.jar:/usr/lib/hadoop-0.20/lib/j= sp-2.1:/usr/lib/hadoop-0.20/lib/junit-4.5.jar:/usr/lib/hadoop-0.20/lib/kfs-= 0.2.2.jar:/usr/lib/hadoop-0.20/lib/kfs-0.2.LICENSE.txt:/usr/lib/hadoop-0.20= /lib/log4j-1.2.15.jar:/usr/lib/hadoop-0.20/lib/mockito-all-1.8.2.jar:/usr/l= ib/hadoop-0.20/lib/mysql-connector-java-5.0.8-bin.jar:/usr/lib/hadoop-0.20/= lib/native:/usr/lib/hadoop-0.20/lib/native_libs.tar:/usr/lib/hadoop-0.20/li= b/oro-2.0.8.jar:/usr/lib/hadoop-0.20/lib/servlet-api-2.5-6.1.14.jar:/usr/li= b/hadoop-0.20/lib/slf4j-api-1.4.3.jar:/usr/lib/hadoop-0.20/lib/slf4j-log4j1= 2-1.4.3.jar:/usr/lib/hadoop-0.20/lib/xmlenc-0.52.jar:/usr/lib/hadoop-0.20/l= ib/hadoop-lzo.0.4.4.jar:/usr/lib/hadoop-0.20/conacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b/home/felix/hadoop-lzo.j= ar:/home/felix/elephant-bird.jar:/home/felix/elephant-bird/lib/* org.apache= .pig.Main<br> <br><br>seems the jackson 1.5.5 is on the classpath of the pig as well as t= asktracker and the actual job.<br><br>Felix<br><br><br><div class=3D"gmail_= quote">On Mon, Jan 24, 2011 at 3:44 PM, Tatu Saloranta <span dir=3D"ltr">&l= t;<a href=3D"mailto:[email protected]">[email protected]</a>&gt;</spa= n> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, = 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class=3D"im"= >On Mon, Jan 24, 2011 at 3:13 PM, Scott Carey &lt;<a href=3D"mailto:scott@r= ichrelevance.com">[email protected]</a>&gt; wrote:<br> &gt; That is confusing. =A0Can you capture the classpath of an actual task = process,<br> &gt; not just the TT? =A0They shouldn&#39;t differ much, but it is worth ch= ecking.<br> &gt; Jackson 1.3 (or was it 1.2?) and above have all been backwards compati= ble<br> &gt; with each other I believe. =A0 And the error you are getting is defini= tely<br> &gt; caused by accessing the enable() methods that were added after 1.0.1.<= br> &gt; I can change the Avro dependency on Jackson to 1.5.5, 1.7.1, or 1.3, a= nd<br> &gt; unit tests pass. =A0If I change it to 1.2, 1.1, or 1.0.1 they break.<b= r> <br> </div>Just in case anyone is interested, this is due to change in 1.3.0<br> which changed return type of configuration method from &#39;void&#39; to<br= > ObjectMapper, to allow fluent-style chaining of configuration. This is<br> source compatible, but unfortunately binary incompatible change. On<br> plus side, it is the only known such problem, which makes it easier to<br> recognize.<br> <font color=3D"#888888"><br> -+ Tatu +-<br> </font></blockquote></div><br> --0015175caa82dac7a4049aa07bc5-- From [email protected] Tue Jan 25 00:24:13 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59737 invoked from network); 25 Jan 2011 00:24:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jan 2011 00:24:13 -0000 Received: (qmail 61379 invoked by uid 500); 25 Jan 2011 00:24:13 -0000 Delivered-To: [email protected] Received: (qmail 61292 invoked by uid 500); 25 Jan 2011 00:24:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 61284 invoked by uid 99); 25 Jan 2011 00:24:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 00:24:12 +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: local policy) Received: from [161.129.204.104] (HELO EXHUB018-4.exch018.msoutlookonline.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 00:24:04 +0000 Received: from EXVMBX018-1.exch018.msoutlookonline.net ([161.129.204.104]) by EXHUB018-4.exch018.msoutlookonline.net ([161.129.204.104]) with mapi; Mon, 24 Jan 2011 16:23:42 -0800 From: Scott Carey <[email protected]> To: "[email protected]" <[email protected]> Date: Mon, 24 Jan 2011 16:25:54 -0800 Subject: Re: java.lang.NoSuchMethodError: org.codehaus.jackson.JsonFactory.enable Thread-Topic: java.lang.NoSuchMethodError: org.codehaus.jackson.JsonFactory.enable Thread-Index: Acu8Jh70BqRV7HMKQZWECjcgTAjkXA== Message-ID: <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/161.129.204.104115 acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_C963573F1BDCAscottrichrelevancecom_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_C963573F1BDCAscottrichrelevancecom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable A jar prior to the jackson jar contains an earlier version of jackson insid= e of it. Pig's jar typically contains all its dependencies (there is 'pig-withouthad= oop.jar' instead). So my guess is that one of these (look at a listing of jar contents) has ja= ckson in it: /usr/lib/pig/bin/../pig-0.7.0+16-core.jar /usr/lib/pig/bin/../pig-0.7.0+16.jar /usr/lib/pig/bin/../build/pig-*-core.jar: /usr/lib/pig/bin/../build/ivy/lib/Pig/*.jar On 1/24/11 4:06 PM, "felix gao" <[email protected]<mailto:[email protected]= >> wrote: here is the actual process that is running the pig script, I hope this help= s. root 20820 19838 66 18:57 pts/0 00:00:00 /usr/java/default/bin/java = -Xmx1000m -Djava.library.path=3D/usr/lib/hadoop-0.20/lib/native/Linux-amd64= -64 -Djavax.xml.parsers.DocumentBuilderFactory=3Dcom.sun.org.apache.xerces.= internal.jaxp.DocumentBuilderFactoryImpl -Dpig.log.dir=3D/usr/lib/pig/bin/.= ./logs -Dpig.log.file=3Dpig.log -Dpig.home.dir=3D/usr/lib/pig/bin/.. -Dpig.= root.logger=3DINFO,console,DRFA -classpath /usr/lib/pig/bin/../conf:/usr/ja= va/default/lib/tools.jar:/usr/lib/pig/bin/../pig-0.7.0+16-core.jar:/usr/lib= /pig/bin/../pig-0.7.0+16.jar:/usr/lib/pig/bin/../build/pig-*-core.jar:/usr/= lib/pig/bin/../lib/automaton.jar:/usr/lib/pig/bin/../lib/hbase-0.20.0-test.= jar:/usr/lib/pig/bin/../lib/hbase-0.20.0.jar:/usr/lib/pig/bin/../lib/zookee= per-hbase-1329.jar:/usr/lib/pig/bin/../build/ivy/lib/Pig/*.jar:/usr/lib/had= oop-0.20/hadoop-core-0.20.2+737.jar:/usr/lib/hadoop-0.20/lib/aspectjrt-1.6.= 5.jar:/usr/lib/hadoop-0.20/lib/aspectjtools-1.6.5.jar:/usr/lib/hadoop-0.20/= lib/commons-cli-1.2.jar:/usr/lib/hadoop-0.20/lib/commons-codec-1.4.jar:/usr= /lib/hadoop-0.20/lib/commons-daemon-1.0.1.jar:/usr/lib/hadoop-0.20/lib/comm= ons-el-1.0.jar:/usr/lib/hadoop-0.20/lib/commons-httpclient-3.0.1.jar:/usr/l= ib/hadoop-0.20/lib/commons-logging-1.0.4.jar:/usr/lib/hadoop-0.20/lib/commo= ns-logging-api-1.0.4.jar:/usr/lib/hadoop-0.20/lib/commons-net-1.4.1.jar:/us= r/lib/hadoop-0.20/lib/core-3.1.1.jar:/usr/lib/hadoop-0.20/lib/hadoop-fairsc= heduler-0.20.2+737.jar:/usr/lib/hadoop-0.20/lib/hadoop-lzo-0.4.6.jar:/usr/l= ib/hadoop-0.20/lib/hadoop-thriftfs-0.20.2+737.jar:/usr/lib/hadoop-0.20/lib/= hsqldb-161.129.204.104.LICENSE.txt:/usr/lib/hadoop-0.20/lib/hsqldb-161.129.204.104.jar:/u= sr/lib/hadoop-0.20/lib/jackson-core-asl-1.5.5.jar:/usr/lib/hadoop-0.20/lib/= jackson-mapper-asl-1.5.5.jar:/usr/lib/hadoop-0.20/lib/jasper-compiler-5.5.1= 2.jar:/usr/lib/hadoop-0.20/lib/jasper-runtime-5.5.12.jar:/usr/lib/hadoop-0.= 20/lib/jdiff:/usr/lib/hadoop-0.20/lib/jets3t-0.6.1.jar:/usr/lib/hadoop-0.20= /lib/jetty-6.1.14.jar:/usr/lib/hadoop-0.20/lib/jetty-util-6.1.14.jar:/usr/l= ib/hadoop-0.20/lib/jsp-2.1:/usr/lib/hadoop-0.20/lib/junit-4.5.jar:/usr/lib/= hadoop-0.20/lib/kfs-0.2.2.jar:/usr/lib/hadoop-0.20/lib/kfs-0.2.LICENSE.txt:= /usr/lib/hadoop-0.20/lib/log4j-1.2.15.jar:/usr/lib/hadoop-0.20/lib/mockito-= all-1.8.2.jar:/usr/lib/hadoop-0.20/lib/mysql-connector-java-5.0.8-bin.jar:/= usr/lib/hadoop-0.20/lib/native:/usr/lib/hadoop-0.20/lib/native_libs.tar:/us= r/lib/hadoop-0.20/lib/oro-2.0.8.jar:/usr/lib/hadoop-0.20/lib/servlet-api-2.= 5-6.1.14.jar:/usr/lib/hadoop-0.20/lib/slf4j-api-1.4.3.jar:/usr/lib/hadoop-0= .20/lib/slf4j-log4j12-1.4.3.jar:/usr/lib/hadoop-0.20/lib/xmlenc-0.52.jar:/u= sr/lib/hadoop-0.20/lib/hadoop-lzo.0.4.4.jar:/usr/lib/hadoop-0.20/conacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b/hom= e/felix/hadoop-lzo.jar:/home/felix/elephant-bird.jar:/home/felix/elephant-b= ird/lib/* org.apache.pig.Main avro.pig pig -secretDebugCmd dry run: /usr/java/default/bin/java -Xmx1000m -Djava.library.path=3D/usr/lib/hadoop-= 0.20/lib/native/Linux-amd64-64 -Djavax.xml.parsers.DocumentBuilderFactory= =3Dcom.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl -Dpig= .log.dir=3D/usr/lib/pig/bin/../logs -Dpig.log.file=3Dpig.log -Dpig.home.dir= =3D/usr/lib/pig/bin/.. -Dpig.root.logger=3DINFO,console,DRFA -classpath /us= r/lib/pig/bin/../conf:/usr/java/default/lib/tools.jar:/usr/lib/pig/bin/../p= ig-0.7.0+16-core.jar:/usr/lib/pig/bin/../pig-0.7.0+16.jar:/usr/lib/pig/bin/= ../build/pig-*-core.jar:/usr/lib/pig/bin/../lib/automaton.jar:/usr/lib/pig/= bin/../lib/hbase-0.20.0-test.jar:/usr/lib/pig/bin/../lib/hbase-0.20.0.jar:/= usr/lib/pig/bin/../lib/zookeeper-hbase-1329.jar:/usr/lib/pig/bin/../build/i= vy/lib/Pig/*.jar:/usr/lib/hadoop-0.20/hadoop-core-0.20.2+737.jar:/usr/lib/h= adoop-0.20/lib/aspectjrt-1.6.5.jar:/usr/lib/hadoop-0.20/lib/aspectjtools-1.= 6.5.jar:/usr/lib/hadoop-0.20/lib/commons-cli-1.2.jar:/usr/lib/hadoop-0.20/l= ib/commons-codec-1.4.jar:/usr/lib/hadoop-0.20/lib/commons-daemon-1.0.1.jar:= /usr/lib/hadoop-0.20/lib/commons-el-1.0.jar:/usr/lib/hadoop-0.20/lib/common= s-httpclient-3.0.1.jar:/usr/lib/hadoop-0.20/lib/commons-logging-1.0.4.jar:/= usr/lib/hadoop-0.20/lib/commons-logging-api-1.0.4.jar:/usr/lib/hadoop-0.20/= lib/commons-net-1.4.1.jar:/usr/lib/hadoop-0.20/lib/core-3.1.1.jar:/usr/lib/= hadoop-0.20/lib/hadoop-fairscheduler-0.20.2+737.jar:/usr/lib/hadoop-0.20/li= b/hadoop-lzo-0.4.6.jar:/usr/lib/hadoop-0.20/lib/hadoop-thriftfs-0.20.2+737.= jar:/usr/lib/hadoop-0.20/lib/hsqldb-161.129.204.104.LICENSE.txt:/usr/lib/hadoop-0.= 20/lib/hsqldb-161.129.204.104.jar:/usr/lib/hadoop-0.20/lib/jackson-core-asl-1.5.5.= jar:/usr/lib/hadoop-0.20/lib/jackson-mapper-asl-1.5.5.jar:/usr/lib/hadoop-0= .20/lib/jasper-compiler-5.5.12.jar:/usr/lib/hadoop-0.20/lib/jasper-runtime-= 5.5.12.jar:/usr/lib/hadoop-0.20/lib/jdiff:/usr/lib/hadoop-0.20/lib/jets3t-0= .6.1.jar:/usr/lib/hadoop-0.20/lib/jetty-6.1.14.jar:/usr/lib/hadoop-0.20/lib= /jetty-util-6.1.14.jar:/usr/lib/hadoop-0.20/lib/jsp-2.1:/usr/lib/hadoop-0.2= 0/lib/junit-4.5.jar:/usr/lib/hadoop-0.20/lib/kfs-0.2.2.jar:/usr/lib/hadoop-= 0.20/lib/kfs-0.2.LICENSE.txt:/usr/lib/hadoop-0.20/lib/log4j-1.2.15.jar:/usr= /lib/hadoop-0.20/lib/mockito-all-1.8.2.jar:/usr/lib/hadoop-0.20/lib/mysql-c= onnector-java-5.0.8-bin.jar:/usr/lib/hadoop-0.20/lib/native:/usr/lib/hadoop= -0.20/lib/native_libs.tar:/usr/lib/hadoop-0.20/lib/oro-2.0.8.jar:/usr/lib/h= adoop-0.20/lib/servlet-api-2.5-6.1.14.jar:/usr/lib/hadoop-0.20/lib/slf4j-ap= i-1.4.3.jar:/usr/lib/hadoop-0.20/lib/slf4j-log4j12-1.4.3.jar:/usr/lib/hadoo= p-0.20/lib/xmlenc-0.52.jar:/usr/lib/hadoop-0.20/lib/hadoop-lzo.0.4.4.jar:/u= sr/lib/hadoop-0.20/conacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b/home/felix/hadoop-lzo.jar:/home/felix/elephant-bi= rd.jar:/home/felix/elephant-bird/lib/* org.apache.pig.Main seems the jackson 1.5.5 is on the classpath of the pig as well as tasktrack= er and the actual job. Felix On Mon, Jan 24, 2011 at 3:44 PM, Tatu Saloranta <[email protected]<mailt= o:[email protected]>> wrote: On Mon, Jan 24, 2011 at 3:13 PM, Scott Carey <[email protected]<mailt= o:[email protected]>> wrote: > That is confusing. Can you capture the classpath of an actual task proce= ss, > not just the TT? They shouldn't differ much, but it is worth checking. > Jackson 1.3 (or was it 1.2?) and above have all been backwards compatible > with each other I believe. And the error you are getting is definitely > caused by accessing the enable() methods that were added after 1.0.1. > I can change the Avro dependency on Jackson to 1.5.5, 1.7.1, or 1.3, and > unit tests pass. If I change it to 1.2, 1.1, or 1.0.1 they break. Just in case anyone is interested, this is due to change in 1.3.0 which changed return type of configuration method from 'void' to ObjectMapper, to allow fluent-style chaining of configuration. This is source compatible, but unfortunately binary incompatible change. On plus side, it is the only known such problem, which makes it easier to recognize. -+ Tatu +- --_000_C963573F1BDCAscottrichrelevancecom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode:= space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-si= ze: 14px; font-family: Calibri, sans-serif; "><div>A jar prior to the jacks= on jar contains an earlier version of jackson inside of it.</div><div><br><= /div><div>Pig's jar typically contains all its dependencies (there is 'pig-= withouthadoop.jar' instead).</div><div><br></div><div>So my guess is that o= ne of these (look at a listing of jar contents) has jackson in it:</div><di= v><br></div><div>/usr/lib/pig/bin/../pig-0.7.0+16-core.jar</div><div>/usr/l= ib/pig/bin/../pig-0.7.0+16.jar</div><div>/usr/lib/pig/bin/../build/pig-*-co= re.jar:</div><div><span class=3D"Apple-style-span" style=3D"font-family: Ca= libri; font-size: medium; ">/usr/lib/pig/bin/../build/ivy/lib/Pig/*.jar</sp= an></div><div><span class=3D"Apple-style-span" style=3D"font-family: Calibr= i; font-size: medium; "><br></span></div><div><span class=3D"Apple-style-sp= an" style=3D"font-family: Calibri; font-size: medium; "><br></span></div><s= pan id=3D"OLK_SRC_BODY_SECTION"><div><div>On 1/24/11 4:06 PM, "felix gao" &= lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt; wrote:</d= iv></div><div><br></div><blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOT= E" style=3D"BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"= >here is the actual process that is running the pig script, I hope this hel= ps.<br><br>root&nbsp;&nbsp;&nbsp;&nbsp; 20820 19838 66 18:57 pts/0&nbsp;&nb= sp;&nbsp; 00:00:00 /usr/java/default/bin/java -Xmx1000m -Djava.library.path= =3D/usr/lib/hadoop-0.20/lib/native/Linux-amd64-64 -Djavax.xml.parsers.Docum= entBuilderFactory=3Dcom.sun.org.apache.xerces.internal.jaxp.DocumentBuilder= FactoryImpl -Dpig.log.dir=3D/usr/lib/pig/bin/../logs -Dpig.log.file=3Dpig.l= og -Dpig.home.dir=3D/usr/lib/pig/bin/.. -Dpig.root.logger=3DINFO,console,DR= FA -classpath /usr/lib/pig/bin/../conf:/usr/java/default/lib/tools.jar:/usr= /lib/pig/bin/../pig-0.7.0+16-core.jar:/usr/lib/pig/bin/../pig-0.7.0+16.jar:= /usr/lib/pig/bin/../build/pig-*-core.jar:/usr/lib/pig/bin/../lib/automaton.= jar:/usr/lib/pig/bin/../lib/hbase-0.20.0-test.jar:/usr/lib/pig/bin/../lib/h= base-0.20.0.jar:/usr/lib/pig/bin/../lib/zookeeper-hbase-1329.jar:/usr/lib/p= ig/bin/../build/ivy/lib/Pig/*.jar:/usr/lib/hadoop-0.20/hadoop-core-0.20.2+7= 37.jar:/usr/lib/hadoop-0.20/lib/aspectjrt-1.6.5.jar:/usr/lib/hadoop-0.20/li= b/aspectjtools-1.6.5.jar:/usr/lib/hadoop-0.20/lib/commons-cli-1.2.jar:/usr/= lib/hadoop-0.20/lib/commons-codec-1.4.jar:/usr/lib/hadoop-0.20/lib/commons-= daemon-1.0.1.jar:/usr/lib/hadoop-0.20/lib/commons-el-1.0.jar:/usr/lib/hadoo= p-0.20/lib/commons-httpclient-3.0.1.jar:/usr/lib/hadoop-0.20/lib/commons-lo= gging-1.0.4.jar:/usr/lib/hadoop-0.20/lib/commons-logging-api-1.0.4.jar:/usr= /lib/hadoop-0.20/lib/commons-net-1.4.1.jar:/usr/lib/hadoop-0.20/lib/core-3.= 1.1.jar:/usr/lib/hadoop-0.20/lib/hadoop-fairscheduler-0.20.2+737.jar:/usr/l= ib/hadoop-0.20/lib/hadoop-lzo-0.4.6.jar:/usr/lib/hadoop-0.20/lib/hadoop-thr= iftfs-0.20.2+737.jar:/usr/lib/hadoop-0.20/lib/hsqldb-161.129.204.104.LICENSE.txt:/= usr/lib/hadoop-0.20/lib/hsqldb-161.129.204.104.jar:<span style=3D"background-color= : rgb(255, 255, 102);">/usr/lib/hadoop-0.20/lib/jackson-core-asl-1.5.5.jar:= /usr/lib/hadoop-0.20/lib/jackson-mapper-asl-1.5.5.jar</span>:/usr/lib/hadoo= p-0.20/lib/jasper-compiler-5.5.12.jar:/usr/lib/hadoop-0.20/lib/jasper-runti= me-5.5.12.jar:/usr/lib/hadoop-0.20/lib/jdiff:/usr/lib/hadoop-0.20/lib/jets3= t-0.6.1.jar:/usr/lib/hadoop-0.20/lib/jetty-6.1.14.jar:/usr/lib/hadoop-0.20/= lib/jetty-util-6.1.14.jar:/usr/lib/hadoop-0.20/lib/jsp-2.1:/usr/lib/hadoop-= 0.20/lib/junit-4.5.jar:/usr/lib/hadoop-0.20/lib/kfs-0.2.2.jar:/usr/lib/hado= op-0.20/lib/kfs-0.2.LICENSE.txt:/usr/lib/hadoop-0.20/lib/log4j-1.2.15.jar:/= usr/lib/hadoop-0.20/lib/mockito-all-1.8.2.jar:/usr/lib/hadoop-0.20/lib/mysq= l-connector-java-5.0.8-bin.jar:/usr/lib/hadoop-0.20/lib/native:/usr/lib/had= oop-0.20/lib/native_libs.tar:/usr/lib/hadoop-0.20/lib/oro-2.0.8.jar:/usr/li= b/hadoop-0.20/lib/servlet-api-2.5-6.1.14.jar:/usr/lib/hadoop-0.20/lib/slf4j= -api-1.4.3.jar:/usr/lib/hadoop-0.20/lib/slf4j-log4j12-1.4.3.jar:/usr/lib/ha= doop-0.20/lib/xmlenc-0.52.jar:/usr/lib/hadoop-0.20/lib/hadoop-lzo.0.4.4.jar= :/usr/lib/hadoop-0.20/conacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b/home/felix/hadoop-lzo.jar:/home/felix/elephant= -bird.jar:/home/felix/elephant-bird/lib/* org.apache.pig.Main avro.pig<br><= br><br>pig -secretDebugCmd<br>dry run:<br>/usr/java/default/bin/java -Xmx10= 00m -Djava.library.path=3D/usr/lib/hadoop-0.20/lib/native/Linux-amd64-64 -D= javax.xml.parsers.DocumentBuilderFactory=3Dcom.sun.org.apache.xerces.intern= al.jaxp.DocumentBuilderFactoryImpl -Dpig.log.dir=3D/usr/lib/pig/bin/../logs= -Dpig.log.file=3Dpig.log -Dpig.home.dir=3D/usr/lib/pig/bin/.. -Dpig.root.l= ogger=3DINFO,console,DRFA -classpath /usr/lib/pig/bin/../conf:/usr/java/def= ault/lib/tools.jar:/usr/lib/pig/bin/../pig-0.7.0+16-core.jar:/usr/lib/pig/b= in/../pig-0.7.0+16.jar:/usr/lib/pig/bin/../build/pig-*-core.jar:/usr/lib/pi= g/bin/../lib/automaton.jar:/usr/lib/pig/bin/../lib/hbase-0.20.0-test.jar:/u= sr/lib/pig/bin/../lib/hbase-0.20.0.jar:/usr/lib/pig/bin/../lib/zookeeper-hb= ase-1329.jar:/usr/lib/pig/bin/../build/ivy/lib/Pig/*.jar:/usr/lib/hadoop-0.= 20/hadoop-core-0.20.2+737.jar:/usr/lib/hadoop-0.20/lib/aspectjrt-1.6.5.jar:= /usr/lib/hadoop-0.20/lib/aspectjtools-1.6.5.jar:/usr/lib/hadoop-0.20/lib/co= mmons-cli-1.2.jar:/usr/lib/hadoop-0.20/lib/commons-codec-1.4.jar:/usr/lib/h= adoop-0.20/lib/commons-daemon-1.0.1.jar:/usr/lib/hadoop-0.20/lib/commons-el= -1.0.jar:/usr/lib/hadoop-0.20/lib/commons-httpclient-3.0.1.jar:/usr/lib/had= oop-0.20/lib/commons-logging-1.0.4.jar:/usr/lib/hadoop-0.20/lib/commons-log= ging-api-1.0.4.jar:/usr/lib/hadoop-0.20/lib/commons-net-1.4.1.jar:/usr/lib/= hadoop-0.20/lib/core-3.1.1.jar:/usr/lib/hadoop-0.20/lib/hadoop-fairschedule= r-0.20.2+737.jar:/usr/lib/hadoop-0.20/lib/hadoop-lzo-0.4.6.jar:/usr/lib/had= oop-0.20/lib/hadoop-thriftfs-0.20.2+737.jar:/usr/lib/hadoop-0.20/lib/hsqldb= -161.129.204.104.LICENSE.txt:/usr/lib/hadoop-0.20/lib/hsqldb-161.129.204.104.jar<span sty= le=3D"background-color: rgb(255, 255, 51);">:/usr/lib/hadoop-0.20/lib/jacks= on-core-asl-1.5.5.jar:/usr/lib/hadoop-0.20/lib/jackson-mapper-asl-1.5.5.jar= </span>:/usr/lib/hadoop-0.20/lib/jasper-compiler-5.5.12.jar:/usr/lib/hadoop= -0.20/lib/jasper-runtime-5.5.12.jar:/usr/lib/hadoop-0.20/lib/jdiff:/usr/lib= /hadoop-0.20/lib/jets3t-0.6.1.jar:/usr/lib/hadoop-0.20/lib/jetty-6.1.14.jar= :/usr/lib/hadoop-0.20/lib/jetty-util-6.1.14.jar:/usr/lib/hadoop-0.20/lib/js= p-2.1:/usr/lib/hadoop-0.20/lib/junit-4.5.jar:/usr/lib/hadoop-0.20/lib/kfs-0= .2.2.jar:/usr/lib/hadoop-0.20/lib/kfs-0.2.LICENSE.txt:/usr/lib/hadoop-0.20/= lib/log4j-1.2.15.jar:/usr/lib/hadoop-0.20/lib/mockito-all-1.8.2.jar:/usr/li= b/hadoop-0.20/lib/mysql-connector-java-5.0.8-bin.jar:/usr/lib/hadoop-0.20/l= ib/native:/usr/lib/hadoop-0.20/lib/native_libs.tar:/usr/lib/hadoop-0.20/lib= /oro-2.0.8.jar:/usr/lib/hadoop-0.20/lib/servlet-api-2.5-6.1.14.jar:/usr/lib= /hadoop-0.20/lib/slf4j-api-1.4.3.jar:/usr/lib/hadoop-0.20/lib/slf4j-log4j12= -1.4.3.jar:/usr/lib/hadoop-0.20/lib/xmlenc-0.52.jar:/usr/lib/hadoop-0.20/li= b/hadoop-lzo.0.4.4.jar:/usr/lib/hadoop-0.20/conacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b/home/felix/hadoop-lzo.ja= r:/home/felix/elephant-bird.jar:/home/felix/elephant-bird/lib/* org.apache.= pig.Main<br><br><br>seems the jackson 1.5.5 is on the classpath of the pig = as well as tasktracker and the actual job.<br><br>Felix<br><br><br><div cla= ss=3D"gmail_quote">On Mon, Jan 24, 2011 at 3:44 PM, Tatu Saloranta <span di= r=3D"ltr">&lt;<a href=3D"mailto:[email protected]">[email protected]<= /a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"border-= left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left= : 1ex;"><div class=3D"im">On Mon, Jan 24, 2011 at 3:13 PM, Scott Carey &lt;= <a href=3D"mailto:[email protected]">[email protected]</a>&gt; = wrote:<br> &gt; That is confusing. &nbsp;Can you capture the classpath of an actual ta= sk process,<br> &gt; not just the TT? &nbsp;They shouldn't differ much, but it is worth che= cking.<br> &gt; Jackson 1.3 (or was it 1.2?) and above have all been backwards compati= ble<br> &gt; with each other I believe. &nbsp; And the error you are getting is def= initely<br> &gt; caused by accessing the enable() methods that were added after 1.0.1.<= br> &gt; I can change the Avro dependency on Jackson to 1.5.5, 1.7.1, or 1.3, a= nd<br> &gt; unit tests pass. &nbsp;If I change it to 1.2, 1.1, or 1.0.1 they break= .<br><br></div>Just in case anyone is interested, this is due to change in = 1.3.0<br> which changed return type of configuration method from 'void' to<br> ObjectMapper, to allow fluent-style chaining of configuration. This is<br> source compatible, but unfortunately binary incompatible change. On<br> plus side, it is the only known such problem, which makes it easier to<br> recognize.<br><font color=3D"#888888"><br> -+ Tatu +-<br></font></blockquote></div><br></blockquote></span></body></ht= ml> --_000_C963573F1BDCAscottrichrelevancecom_-- From [email protected] Tue Jan 25 02:14:41 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9312 invoked from network); 25 Jan 2011 02:14:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jan 2011 02:14:41 -0000 Received: (qmail 71987 invoked by uid 500); 25 Jan 2011 02:14:41 -0000 Delivered-To: [email protected] Received: (qmail 71752 invoked by uid 500); 25 Jan 2011 02:14:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71744 invoked by uid 99); 25 Jan 2011 02:14:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 02:14:40 +0000 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qw0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 02:14:32 +0000 Received: by qwk3 with SMTP id 3so4562856qwk.30 for <[email protected]>; Mon, 24 Jan 2011 18:14:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=jEffOKK/ziPK8c4ClHCvd8MDngMhZQ8187EOe1e+w88=; b=DN1lCBbt/JQBzHA5L7IADwgKysF3S3pHyXca2d0NCEWumrF6X2CMcge1qPj1BFMEJG LSYJMP4kL8/p785mvjRJ2Cf/eM9lfhOkdCP2iGEBsQGCB6oheLBOKNhRuEUzAtSlBz5C UgS2kw8E76bgQqRRn1rtowB50E5bGN2YX6q0g= 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=cdQwXEA9KP+yy7pILu8jBHrBFj4G4CtfPXNcweb4e9ejNa+1KuK7nTCm94utybzpG6 mkUpxWHgOsCMiksg3ZpKsBG/6ZP1k5r5l/RGaDxgrVZIKcapVQvqe0+qk2zM9pOSvdqA zIIb2bMNxN8bbwno5Qisgx8Bz1e5tcW4LjbC8= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id kh9mr4187734qcb.240.1295921651654; Mon, 24 Jan 2011 18:14:11 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 24 Jan 2011 18:14:02 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Mon, 24 Jan 2011 18:14:02 -0800 Message-ID: <[email protected]> Subject: Re: java.lang.NoSuchMethodError: org.codehaus.jackson.JsonFactory.enable From: felix gao <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016e65dc160b421d2049aa2458a X-Virus-Checked: Checked by ClamAV on apache.org --0016e65dc160b421d2049aa2458a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks for the info. I have not compiled a new version of pig and it works when I load a single avro file. But it failed when I do wildcard filename matching. log_load =3D LOAD '/user/felix/avro/access_log.test.avro' USING org.apache.pig.piggybank.storage.avro.AvroStorage(); <--- works fine but log_load =3D LOAD '/user/felix/avro/*.avro' USING org.apache.pig.piggybank.storage.avro.AvroStorage(); ERROR 1018: Problem determining schema during load org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1000: Error durin= g parsing. Problem determining schema during load at org.apache.pig.PigServer$Graph.parseQuery(PigServer.java:1342) at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1286) at org.apache.pig.PigServer.registerQuery(PigServer.java:460) at org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:738) at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser= .java:324) at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:16= 3) at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:13= 9) at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:89) at org.apache.pig.Main.main(Main.java:414) Caused by: org.apache.pig.impl.logicalLayer.parser.ParseException: Problem determining schema during load at org.apache.pig.impl.logicalLayer.parser.QueryParser.Parse(QueryParser.java:= 752) at org.apache.pig.impl.logicalLayer.LogicalPlanBuilder.parse(LogicalPlanBuilde= r.java:63) at org.apache.pig.PigServer$Graph.parseQuery(PigServer.java:1336) ... 8 more Caused by: org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1018: Problem determining schema during load at org.apache.pig.impl.logicalLayer.LOLoad.getSchema(LOLoad.java:156) at org.apache.pig.impl.logicalLayer.parser.QueryParser.Parse(QueryParser.java:= 750) ... 10 more Caused by: java.io.FileNotFoundException: File does not exist: /user/felix/avro/*.avro at org.apache.hadoop.hdfs.DFSClient$DFSInputStream.openInfo(DFSClient.java:158= 6) at org.apache.hadoop.hdfs.DFSClient$DFSInputStream.<init>(DFSClient.java:1577) at org.apache.hadoop.hdfs.DFSClient.open(DFSClient.java:428) at org.apache.hadoop.hdfs.DistributedFileSystem.open(DistributedFileSystem.jav= a:185) at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:431) at org.apache.pig.piggybank.storage.avro.AvroStorage.getSchema(AvroStorage.jav= a:181) at org.apache.pig.piggybank.storage.avro.AvroStorage.getAvroSchema(AvroStorage= .java:133) at org.apache.pig.piggybank.storage.avro.AvroStorage.getAvroSchema(AvroStorage= .java:108) at org.apache.pig.piggybank.storage.avro.AvroStorage.getSchema(AvroStorage.jav= a:233) at org.apache.pig.impl.logicalLayer.LOLoad.determineSchema(LOLoad.java:169) at org.apache.pig.impl.logicalLayer.LOLoad.getSchema(LOLoad.java:150) ... 11 more How do I load multiple avro files with the load function. Felix On Mon, Jan 24, 2011 at 4:25 PM, Scott Carey <[email protected]>wrote= : > A jar prior to the jackson jar contains an earlier version of jackson > inside of it. > > Pig's jar typically contains all its dependencies (there is > 'pig-withouthadoop.jar' instead). > > So my guess is that one of these (look at a listing of jar contents) has > jackson in it: > > /usr/lib/pig/bin/../pig-0.7.0+16-core.jar > /usr/lib/pig/bin/../pig-0.7.0+16.jar > /usr/lib/pig/bin/../build/pig-*-core.jar: > /usr/lib/pig/bin/../build/ivy/lib/Pig/*.jar > > > On 1/24/11 4:06 PM, "felix gao" <[email protected]> wrote: > > here is the actual process that is running the pig script, I hope this > helps. > > root 20820 19838 66 18:57 pts/0 00:00:00 /usr/java/default/bin/jav= a > -Xmx1000m -Djava.library.path=3D/usr/lib/hadoop-0.20/lib/native/Linux-amd= 64-64 > -Djavax.xml.parsers.DocumentBuilderFactory=3Dcom.sun.org.apache.xerces.in= ternal.jaxp.DocumentBuilderFactoryImpl > -Dpig.log.dir=3D/usr/lib/pig/bin/../logs -Dpig.log.file=3Dpig.log > -Dpig.home.dir=3D/usr/lib/pig/bin/.. -Dpig.root.logger=3DINFO,console,DRF= A > -classpath > /usr/lib/pig/bin/../conf:/usr/java/default/lib/tools.jar:/usr/lib/pig/bin= /../pig-0.7.0+16-core.jar:/usr/lib/pig/bin/../pig-0.7.0+16.jar:/usr/lib/pig= /bin/../build/pig-*-core.jar:/usr/lib/pig/bin/../lib/automaton.jar:/usr/lib= /pig/bin/../lib/hbase-0.20.0-test.jar:/usr/lib/pig/bin/../lib/hbase-0.20.0.= jar:/usr/lib/pig/bin/../lib/zookeeper-hbase-1329.jar:/usr/lib/pig/bin/../bu= ild/ivy/lib/Pig/*.jar:/usr/lib/hadoop-0.20/hadoop-core-0.20.2+737.jar:/usr/= lib/hadoop-0.20/lib/aspectjrt-1.6.5.jar:/usr/lib/hadoop-0.20/lib/aspectjtoo= ls-1.6.5.jar:/usr/lib/hadoop-0.20/lib/commons-cli-1.2.jar:/usr/lib/hadoop-0= .20/lib/commons-codec-1.4.jar:/usr/lib/hadoop-0.20/lib/commons-daemon-1.0.1= .jar:/usr/lib/hadoop-0.20/lib/commons-el-1.0.jar:/usr/lib/hadoop-0.20/lib/c= ommons-httpclient-3.0.1.jar:/usr/lib/hadoop-0.20/lib/commons-logging-1.0.4.= jar:/usr/lib/hadoop-0.20/lib/commons-logging-api-1.0.4.jar:/usr/lib/hadoop-= 0.20/lib/commons-net-1.4.1.jar:/usr/lib/hadoop-0.20/lib/core-3.1.1.jar:/usr= /lib/hadoop-0.20/lib/hadoop-fairscheduler-0.20.2+737.jar:/usr/lib/hadoop-0.= 20/lib/hadoop-lzo-0.4.6.jar:/usr/lib/hadoop-0.20/lib/hadoop-thriftfs-0.20.2= +737.jar:/usr/lib/hadoop-0.20/lib/hsqldb-161.129.204.104.LICENSE.txt:/usr/lib/hado= op-0.20/lib/hsqldb-161.129.204.104.jar: > /usr/lib/hadoop-0.20/lib/jackson-core-asl-1.5.5.jar:/usr/lib/hadoop-0.20/= lib/jackson-mapper-asl-1.5.5.jar:/usr/lib/hadoop-0.20/lib/jasper-compiler-5= .5.12.jar:/usr/lib/hadoop-0.20/lib/jasper-runtime-5.5.12.jar:/usr/lib/hadoo= p-0.20/lib/jdiff:/usr/lib/hadoop-0.20/lib/jets3t-0.6.1.jar:/usr/lib/hadoop-= 0.20/lib/jetty-6.1.14.jar:/usr/lib/hadoop-0.20/lib/jetty-util-6.1.14.jar:/u= sr/lib/hadoop-0.20/lib/jsp-2.1:/usr/lib/hadoop-0.20/lib/junit-4.5.jar:/usr/= lib/hadoop-0.20/lib/kfs-0.2.2.jar:/usr/lib/hadoop-0.20/lib/kfs-0.2.LICENSE.= txt:/usr/lib/hadoop-0.20/lib/log4j-1.2.15.jar:/usr/lib/hadoop-0.20/lib/mock= ito-all-1.8.2.jar:/usr/lib/hadoop-0.20/lib/mysql-connector-java-5.0.8-bin.j= ar:/usr/lib/hadoop-0.20/lib/native:/usr/lib/hadoop-0.20/lib/native_libs.tar= :/usr/lib/hadoop-0.20/lib/oro-2.0.8.jar:/usr/lib/hadoop-0.20/lib/servlet-ap= i-2.5-6.1.14.jar:/usr/lib/hadoop-0.20/lib/slf4j-api-1.4.3.jar:/usr/lib/hado= op-0.20/lib/slf4j-log4j12-1.4.3.jar:/usr/lib/hadoop-0.20/lib/xmlenc-0.52.ja= r:/usr/lib/hadoop-0.20/lib/hadoop-lzo.0.4.4.jar:/usr/lib/hadoop-0.20/conacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b= /home/felix/hadoop-lzo.jar:/home/felix/elephant-bird.jar:/home/felix/elepha= nt-bird/lib/* > org.apache.pig.Main avro.pig > > > pig -secretDebugCmd > dry run: > /usr/java/default/bin/java -Xmx1000m > -Djava.library.path=3D/usr/lib/hadoop-0.20/lib/native/Linux-amd64-64 > -Djavax.xml.parsers.DocumentBuilderFactory=3Dcom.sun.org.apache.xerces.in= ternal.jaxp.DocumentBuilderFactoryImpl > -Dpig.log.dir=3D/usr/lib/pig/bin/../logs -Dpig.log.file=3Dpig.log > -Dpig.home.dir=3D/usr/lib/pig/bin/.. -Dpig.root.logger=3DINFO,console,DRF= A > -classpath > /usr/lib/pig/bin/../conf:/usr/java/default/lib/tools.jar:/usr/lib/pig/bin= /../pig-0.7.0+16-core.jar:/usr/lib/pig/bin/../pig-0.7.0+16.jar:/usr/lib/pig= /bin/../build/pig-*-core.jar:/usr/lib/pig/bin/../lib/automaton.jar:/usr/lib= /pig/bin/../lib/hbase-0.20.0-test.jar:/usr/lib/pig/bin/../lib/hbase-0.20.0.= jar:/usr/lib/pig/bin/../lib/zookeeper-hbase-1329.jar:/usr/lib/pig/bin/../bu= ild/ivy/lib/Pig/*.jar:/usr/lib/hadoop-0.20/hadoop-core-0.20.2+737.jar:/usr/= lib/hadoop-0.20/lib/aspectjrt-1.6.5.jar:/usr/lib/hadoop-0.20/lib/aspectjtoo= ls-1.6.5.jar:/usr/lib/hadoop-0.20/lib/commons-cli-1.2.jar:/usr/lib/hadoop-0= .20/lib/commons-codec-1.4.jar:/usr/lib/hadoop-0.20/lib/commons-daemon-1.0.1= .jar:/usr/lib/hadoop-0.20/lib/commons-el-1.0.jar:/usr/lib/hadoop-0.20/lib/c= ommons-httpclient-3.0.1.jar:/usr/lib/hadoop-0.20/lib/commons-logging-1.0.4.= jar:/usr/lib/hadoop-0.20/lib/commons-logging-api-1.0.4.jar:/usr/lib/hadoop-= 0.20/lib/commons-net-1.4.1.jar:/usr/lib/hadoop-0.20/lib/core-3.1.1.jar:/usr= /lib/hadoop-0.20/lib/hadoop-fairscheduler-0.20.2+737.jar:/usr/lib/hadoop-0.= 20/lib/hadoop-lzo-0.4.6.jar:/usr/lib/hadoop-0.20/lib/hadoop-thriftfs-0.20.2= +737.jar:/usr/lib/hadoop-0.20/lib/hsqldb-161.129.204.104.LICENSE.txt:/usr/lib/hado= op-0.20/lib/hsqldb-161.129.204.104.jar > :/usr/lib/hadoop-0.20/lib/jackson-core-asl-1.5.5.jar:/usr/lib/hadoop-0.20= /lib/jackson-mapper-asl-1.5.5.jar:/usr/lib/hadoop-0.20/lib/jasper-compiler-= 5.5.12.jar:/usr/lib/hadoop-0.20/lib/jasper-runtime-5.5.12.jar:/usr/lib/hado= op-0.20/lib/jdiff:/usr/lib/hadoop-0.20/lib/jets3t-0.6.1.jar:/usr/lib/hadoop= -0.20/lib/jetty-6.1.14.jar:/usr/lib/hadoop-0.20/lib/jetty-util-6.1.14.jar:/= usr/lib/hadoop-0.20/lib/jsp-2.1:/usr/lib/hadoop-0.20/lib/junit-4.5.jar:/usr= /lib/hadoop-0.20/lib/kfs-0.2.2.jar:/usr/lib/hadoop-0.20/lib/kfs-0.2.LICENSE= .txt:/usr/lib/hadoop-0.20/lib/log4j-1.2.15.jar:/usr/lib/hadoop-0.20/lib/moc= kito-all-1.8.2.jar:/usr/lib/hadoop-0.20/lib/mysql-connector-java-5.0.8-bin.= jar:/usr/lib/hadoop-0.20/lib/native:/usr/lib/hadoop-0.20/lib/native_libs.ta= r:/usr/lib/hadoop-0.20/lib/oro-2.0.8.jar:/usr/lib/hadoop-0.20/lib/servlet-a= pi-2.5-6.1.14.jar:/usr/lib/hadoop-0.20/lib/slf4j-api-1.4.3.jar:/usr/lib/had= oop-0.20/lib/slf4j-log4j12-1.4.3.jar:/usr/lib/hadoop-0.20/lib/xmlenc-0.52.j= ar:/usr/lib/hadoop-0.20/lib/hadoop-lzo.0.4.4.jar:/usr/lib/hadoop-0.20/conf:= :/home/felix/hadoop-lzo.jar:/home/felix/elephant-bird.jar:/home/felix/eleph= ant-bird/lib/* > org.apache.pig.Main > > > seems the jackson 1.5.5 is on the classpath of the pig as well as > tasktracker and the actual job. > > Felix > > > On Mon, Jan 24, 2011 at 3:44 PM, Tatu Saloranta <[email protected]>wro= te: > >> On Mon, Jan 24, 2011 at 3:13 PM, Scott Carey <[email protected]> >> wrote: >> > That is confusing. Can you capture the classpath of an actual task >> process, >> > not just the TT? They shouldn't differ much, but it is worth checking= . >> > Jackson 1.3 (or was it 1.2?) and above have all been backwards >> compatible >> > with each other I believe. And the error you are getting is definite= ly >> > caused by accessing the enable() methods that were added after 1.0.1. >> > I can change the Avro dependency on Jackson to 1.5.5, 1.7.1, or 1.3, a= nd >> > unit tests pass. If I change it to 1.2, 1.1, or 1.0.1 they break. >> >> Just in case anyone is interested, this is due to change in 1.3.0 >> which changed return type of configuration method from 'void' to >> ObjectMapper, to allow fluent-style chaining of configuration. This is >> source compatible, but unfortunately binary incompatible change. On >> plus side, it is the only known such problem, which makes it easier to >> recognize. >> >> -+ Tatu +- >> > > --0016e65dc160b421d2049aa2458a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks for the info. I have not compiled a new version of pig and it works = when I load a single avro file. But it failed when I do wildcard filename m= atching. <br>log_load =3D LOAD &#39;/user/felix/avro/access_log.test.avro&#= 39; USING org.apache.pig.piggybank.storage.avro.AvroStorage();=A0=A0 &lt;--= - works fine<br> but<br>log_load =3D LOAD &#39;/user/felix/avro/*.avro&#39; USING org.apache= .pig.piggybank.storage.avro.AvroStorage(); <br><br>ERROR 1018: Problem dete= rmining schema during load<br><br>org.apache.pig.impl.logicalLayer.Frontend= Exception: ERROR 1000: Error during parsing. Problem determining schema dur= ing load<br> [email protected]$Graph.parseQuery(PigServer.java:1342)= <br>[email protected]$Graph.registerQuery(PigServer.jav= a:1286)<br>[email protected](PigServer.ja= va:460)<br>[email protected](G= runtParser.java:738)<br> [email protected](Pi= gScriptParser.java:324)<br>[email protected]= ser.parseStopOnError(GruntParser.java:163)<br>[email protected]= ools.grunt.GruntParser.parseStopOnError(GruntParser.java:139)<br> [email protected](Grunt.java:89)<br>=A0=A0= [email protected](Main.java:414)<br>Caused by: org.apache.pig= .impl.logicalLayer.parser.ParseException: Problem determining schema during= load<br> [email protected](Quer= yParser.java:752)<br>[email protected]= lanBuilder.parse(LogicalPlanBuilder.java:63)<br>[email protected]= .PigServer$Graph.parseQuery(PigServer.java:1336)<br> =A0=A0=A0 ... 8 more<br>Caused by: org.apache.pig.impl.logicalLayer.Fronten= dException: ERROR 1018: Problem determining schema during load<br>=A0=A0=A0= at org.apache.pig.impl.logicalLayer.LOLoad.getSchema(LOLoad.java:156)<br>= [email protected](Quer= yParser.java:750)<br> =A0=A0=A0 ... 10 more<br>Caused by: java.io.FileNotFoundException: File doe= s not exist: /user/felix/avro/*.avro<br>[email protected]= .DFSClient$DFSInputStream.openInfo(DFSClient.java:1586)<br>=A0=A0=A0 at org= .apache.hadoop.hdfs.DFSClient$DFSInputStream.&lt;init&gt;(DFSClient.java:15= 77)<br> [email protected](DFSClient.java:428)<br>= [email protected](DistributedF= ileSystem.java:185)<br>[email protected](Fi= leSystem.java:431)<br> [email protected](Av= roStorage.java:181)<br>[email protected]= vroStorage.getAvroSchema(AvroStorage.java:133)<br>[email protected]= ig.piggybank.storage.avro.AvroStorage.getAvroSchema(AvroStorage.java:108)<b= r> [email protected](Av= roStorage.java:233)<br>[email protected]= .determineSchema(LOLoad.java:169)<br>[email protected]= alLayer.LOLoad.getSchema(LOLoad.java:150)<br> =A0=A0=A0 ... 11 more<br><br><br>How do I load multiple avro files with the= load function.<br><br>Felix<br><br><br><div class=3D"gmail_quote">On Mon, = Jan 24, 2011 at 4:25 PM, Scott Carey <span dir=3D"ltr">&lt;<a href=3D"mailt= o:[email protected]">[email protected]</a>&gt;</span> wrote:<br= > <blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, = 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style=3D"wor= d-wrap: break-word; color: rgb(0, 0, 0); font-size: 14px; font-family: Cali= bri,sans-serif;"> <div>A jar prior to the jackson jar contains an earlier version of jackson = inside of it.</div><div><br></div><div>Pig&#39;s jar typically contains all= its dependencies (there is &#39;pig-withouthadoop.jar&#39; instead).</div> <div><br></div><div>So my guess is that one of these (look at a listing of = jar contents) has jackson in it:</div><div class=3D"im"><div><br></div><div= >/usr/lib/pig/bin/../pig-0.7.0+16-core.jar</div><div>/usr/lib/pig/bin/../pi= g-0.7.0+16.jar</div> <div>/usr/lib/pig/bin/../build/pig-*-core.jar:</div></div><div class=3D"im"= ><div><span style=3D"font-family: Calibri; font-size: medium;">/usr/lib/pig= /bin/../build/ivy/lib/Pig/*.jar</span></div><div><span style=3D"font-family= : Calibri; font-size: medium;"><br> </span></div><div><span style=3D"font-family: Calibri; font-size: medium;">= <br></span></div></div><div><div></div><div class=3D"h5"><span><div><div>On= 1/24/11 4:06 PM, &quot;felix gao&quot; &lt;<a href=3D"mailto:gre1600@gmail= .com" target=3D"_blank">[email protected]</a>&gt; wrote:</div> </div><div><br></div><blockquote style=3D"">here is the actual process that= is running the pig script, I hope this helps.<br><br>root=A0=A0=A0=A0 2082= 0 19838 66 18:57 pts/0=A0=A0=A0 00:00:00 /usr/java/default/bin/java -Xmx100= 0m -Djava.library.path=3D/usr/lib/hadoop-0.20/lib/native/Linux-amd64-64 -Dj= avax.xml.parsers.DocumentBuilderFactory=3Dcom.sun.org.apache.xerces.interna= l.jaxp.DocumentBuilderFactoryImpl -Dpig.log.dir=3D/usr/lib/pig/bin/../logs = -Dpig.log.file=3Dpig.log -Dpig.home.dir=3D/usr/lib/pig/bin/.. -Dpig.root.lo= gger=3DINFO,console,DRFA -classpath /usr/lib/pig/bin/../conf:/usr/java/defa= ult/lib/tools.jar:/usr/lib/pig/bin/../pig-0.7.0+16-core.jar:/usr/lib/pig/bi= n/../pig-0.7.0+16.jar:/usr/lib/pig/bin/../build/pig-*-core.jar:/usr/lib/pig= /bin/../lib/automaton.jar:/usr/lib/pig/bin/../lib/hbase-0.20.0-test.jar:/us= r/lib/pig/bin/../lib/hbase-0.20.0.jar:/usr/lib/pig/bin/../lib/zookeeper-hba= se-1329.jar:/usr/lib/pig/bin/../build/ivy/lib/Pig/*.jar:/usr/lib/hadoop-0.2= 0/hadoop-core-0.20.2+737.jar:/usr/lib/hadoop-0.20/lib/aspectjrt-1.6.5.jar:/= usr/lib/hadoop-0.20/lib/aspectjtools-1.6.5.jar:/usr/lib/hadoop-0.20/lib/com= mons-cli-1.2.jar:/usr/lib/hadoop-0.20/lib/commons-codec-1.4.jar:/usr/lib/ha= doop-0.20/lib/commons-daemon-1.0.1.jar:/usr/lib/hadoop-0.20/lib/commons-el-= 1.0.jar:/usr/lib/hadoop-0.20/lib/commons-httpclient-3.0.1.jar:/usr/lib/hado= op-0.20/lib/commons-logging-1.0.4.jar:/usr/lib/hadoop-0.20/lib/commons-logg= ing-api-1.0.4.jar:/usr/lib/hadoop-0.20/lib/commons-net-1.4.1.jar:/usr/lib/h= adoop-0.20/lib/core-3.1.1.jar:/usr/lib/hadoop-0.20/lib/hadoop-fairscheduler= -0.20.2+737.jar:/usr/lib/hadoop-0.20/lib/hadoop-lzo-0.4.6.jar:/usr/lib/hado= op-0.20/lib/hadoop-thriftfs-0.20.2+737.jar:/usr/lib/hadoop-0.20/lib/hsqldb-= 161.129.204.104.LICENSE.txt:/usr/lib/hadoop-0.20/lib/hsqldb-161.129.204.104.jar:<span sty= le=3D"background-color: rgb(255, 255, 102);">/usr/lib/hadoop-0.20/lib/jacks= on-core-asl-1.5.5.jar:/usr/lib/hadoop-0.20/lib/jackson-mapper-asl-1.5.5.jar= </span>:/usr/lib/hadoop-0.20/lib/jasper-compiler-5.5.12.jar:/usr/lib/hadoop= -0.20/lib/jasper-runtime-5.5.12.jar:/usr/lib/hadoop-0.20/lib/jdiff:/usr/lib= /hadoop-0.20/lib/jets3t-0.6.1.jar:/usr/lib/hadoop-0.20/lib/jetty-6.1.14.jar= :/usr/lib/hadoop-0.20/lib/jetty-util-6.1.14.jar:/usr/lib/hadoop-0.20/lib/js= p-2.1:/usr/lib/hadoop-0.20/lib/junit-4.5.jar:/usr/lib/hadoop-0.20/lib/kfs-0= .2.2.jar:/usr/lib/hadoop-0.20/lib/kfs-0.2.LICENSE.txt:/usr/lib/hadoop-0.20/= lib/log4j-1.2.15.jar:/usr/lib/hadoop-0.20/lib/mockito-all-1.8.2.jar:/usr/li= b/hadoop-0.20/lib/mysql-connector-java-5.0.8-bin.jar:/usr/lib/hadoop-0.20/l= ib/native:/usr/lib/hadoop-0.20/lib/native_libs.tar:/usr/lib/hadoop-0.20/lib= /oro-2.0.8.jar:/usr/lib/hadoop-0.20/lib/servlet-api-2.5-6.1.14.jar:/usr/lib= /hadoop-0.20/lib/slf4j-api-1.4.3.jar:/usr/lib/hadoop-0.20/lib/slf4j-log4j12= -1.4.3.jar:/usr/lib/hadoop-0.20/lib/xmlenc-0.52.jar:/usr/lib/hadoop-0.20/li= b/hadoop-lzo.0.4.4.jar:/usr/lib/hadoop-0.20/conacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b/home/felix/hadoop-lzo.ja= r:/home/felix/elephant-bird.jar:/home/felix/elephant-bird/lib/* org.apache.= pig.Main avro.pig<br> <br><br>pig -secretDebugCmd<br>dry run:<br>/usr/java/default/bin/java -Xmx1= 000m -Djava.library.path=3D/usr/lib/hadoop-0.20/lib/native/Linux-amd64-64 -= Djavax.xml.parsers.DocumentBuilderFactory=3Dcom.sun.org.apache.xerces.inter= nal.jaxp.DocumentBuilderFactoryImpl -Dpig.log.dir=3D/usr/lib/pig/bin/../log= s -Dpig.log.file=3Dpig.log -Dpig.home.dir=3D/usr/lib/pig/bin/.. -Dpig.root.= logger=3DINFO,console,DRFA -classpath /usr/lib/pig/bin/../conf:/usr/java/de= fault/lib/tools.jar:/usr/lib/pig/bin/../pig-0.7.0+16-core.jar:/usr/lib/pig/= bin/../pig-0.7.0+16.jar:/usr/lib/pig/bin/../build/pig-*-core.jar:/usr/lib/p= ig/bin/../lib/automaton.jar:/usr/lib/pig/bin/../lib/hbase-0.20.0-test.jar:/= usr/lib/pig/bin/../lib/hbase-0.20.0.jar:/usr/lib/pig/bin/../lib/zookeeper-h= base-1329.jar:/usr/lib/pig/bin/../build/ivy/lib/Pig/*.jar:/usr/lib/hadoop-0= .20/hadoop-core-0.20.2+737.jar:/usr/lib/hadoop-0.20/lib/aspectjrt-1.6.5.jar= :/usr/lib/hadoop-0.20/lib/aspectjtools-1.6.5.jar:/usr/lib/hadoop-0.20/lib/c= ommons-cli-1.2.jar:/usr/lib/hadoop-0.20/lib/commons-codec-1.4.jar:/usr/lib/= hadoop-0.20/lib/commons-daemon-1.0.1.jar:/usr/lib/hadoop-0.20/lib/commons-e= l-1.0.jar:/usr/lib/hadoop-0.20/lib/commons-httpclient-3.0.1.jar:/usr/lib/ha= doop-0.20/lib/commons-logging-1.0.4.jar:/usr/lib/hadoop-0.20/lib/commons-lo= gging-api-1.0.4.jar:/usr/lib/hadoop-0.20/lib/commons-net-1.4.1.jar:/usr/lib= /hadoop-0.20/lib/core-3.1.1.jar:/usr/lib/hadoop-0.20/lib/hadoop-fairschedul= er-0.20.2+737.jar:/usr/lib/hadoop-0.20/lib/hadoop-lzo-0.4.6.jar:/usr/lib/ha= doop-0.20/lib/hadoop-thriftfs-0.20.2+737.jar:/usr/lib/hadoop-0.20/lib/hsqld= b-161.129.204.104.LICENSE.txt:/usr/lib/hadoop-0.20/lib/hsqldb-161.129.204.104.jar<span st= yle=3D"background-color: rgb(255, 255, 51);">:/usr/lib/hadoop-0.20/lib/jack= son-core-asl-1.5.5.jar:/usr/lib/hadoop-0.20/lib/jackson-mapper-asl-1.5.5.ja= r</span>:/usr/lib/hadoop-0.20/lib/jasper-compiler-5.5.12.jar:/usr/lib/hadoo= p-0.20/lib/jasper-runtime-5.5.12.jar:/usr/lib/hadoop-0.20/lib/jdiff:/usr/li= b/hadoop-0.20/lib/jets3t-0.6.1.jar:/usr/lib/hadoop-0.20/lib/jetty-6.1.14.ja= r:/usr/lib/hadoop-0.20/lib/jetty-util-6.1.14.jar:/usr/lib/hadoop-0.20/lib/j= sp-2.1:/usr/lib/hadoop-0.20/lib/junit-4.5.jar:/usr/lib/hadoop-0.20/lib/kfs-= 0.2.2.jar:/usr/lib/hadoop-0.20/lib/kfs-0.2.LICENSE.txt:/usr/lib/hadoop-0.20= /lib/log4j-1.2.15.jar:/usr/lib/hadoop-0.20/lib/mockito-all-1.8.2.jar:/usr/l= ib/hadoop-0.20/lib/mysql-connector-java-5.0.8-bin.jar:/usr/lib/hadoop-0.20/= lib/native:/usr/lib/hadoop-0.20/lib/native_libs.tar:/usr/lib/hadoop-0.20/li= b/oro-2.0.8.jar:/usr/lib/hadoop-0.20/lib/servlet-api-2.5-6.1.14.jar:/usr/li= b/hadoop-0.20/lib/slf4j-api-1.4.3.jar:/usr/lib/hadoop-0.20/lib/slf4j-log4j1= 2-1.4.3.jar:/usr/lib/hadoop-0.20/lib/xmlenc-0.52.jar:/usr/lib/hadoop-0.20/l= ib/hadoop-lzo.0.4.4.jar:/usr/lib/hadoop-0.20/conacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b/home/felix/hadoop-lzo.j= ar:/home/felix/elephant-bird.jar:/home/felix/elephant-bird/lib/* org.apache= .pig.Main<br> <br><br>seems the jackson 1.5.5 is on the classpath of the pig as well as t= asktracker and the actual job.<br><br>Felix<br><br><br><div class=3D"gmail_= quote">On Mon, Jan 24, 2011 at 3:44 PM, Tatu Saloranta <span dir=3D"ltr">&l= t;<a href=3D"mailto:[email protected]" target=3D"_blank">tsaloranta@gmai= l.com</a>&gt;</span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, = 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>On Mon, Jan = 24, 2011 at 3:13 PM, Scott Carey &lt;<a href=3D"mailto:[email protected].= com" target=3D"_blank">[email protected]</a>&gt; wrote:<br> &gt; That is confusing. =A0Can you capture the classpath of an actual task = process,<br> &gt; not just the TT? =A0They shouldn&#39;t differ much, but it is worth ch= ecking.<br> &gt; Jackson 1.3 (or was it 1.2?) and above have all been backwards compati= ble<br> &gt; with each other I believe. =A0 And the error you are getting is defini= tely<br> &gt; caused by accessing the enable() methods that were added after 1.0.1.<= br> &gt; I can change the Avro dependency on Jackson to 1.5.5, 1.7.1, or 1.3, a= nd<br> &gt; unit tests pass. =A0If I change it to 1.2, 1.1, or 1.0.1 they break.<b= r><br></div>Just in case anyone is interested, this is due to change in 1.3= .0<br> which changed return type of configuration method from &#39;void&#39; to<br= > ObjectMapper, to allow fluent-style chaining of configuration. This is<br> source compatible, but unfortunately binary incompatible change. On<br> plus side, it is the only known such problem, which makes it easier to<br> recognize.<br><font color=3D"#888888"><br> -+ Tatu +-<br></font></blockquote></div><br></blockquote></span></div></div= ></div> </blockquote></div><br> --0016e65dc160b421d2049aa2458a-- From [email protected] Tue Jan 25 02:43:27 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14320 invoked from network); 25 Jan 2011 02:43:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jan 2011 02:43:27 -0000 Received: (qmail 87178 invoked by uid 500); 25 Jan 2011 02:43:27 -0000 Delivered-To: [email protected] Received: (qmail 86948 invoked by uid 500); 25 Jan 2011 02:43:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 86936 invoked by uid 99); 25 Jan 2011 02:43:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 02:43:25 +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: local policy) Received: from [161.129.204.104] (HELO EXHUB018-4.exch018.msoutlookonline.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 02:43:19 +0000 Received: from EXVMBX018-1.exch018.msoutlookonline.net ([161.129.204.104]) by EXHUB018-4.exch018.msoutlookonline.net ([161.129.204.104]) with mapi; Mon, 24 Jan 2011 18:42:59 -0800 From: Scott Carey <[email protected]> To: "[email protected]" <[email protected]> Date: Mon, 24 Jan 2011 18:45:11 -0800 Subject: Re: java.lang.NoSuchMethodError: org.codehaus.jackson.JsonFactory.enable Thread-Topic: java.lang.NoSuchMethodError: org.codehaus.jackson.JsonFactory.enable Thread-Index: Acu8OZPzrsAvXIdXQJKM6TV1jWSsFQ== Message-ID: <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/161.129.204.104115 acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_C96375CE1C006scottrichrelevancecom_" MIME-Version: 1.0 --_000_C96375CE1C006scottrichrelevancecom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable That looks like a bug in org.apache.pig.piggybank.storage.avro.AvroStorage(= ) It is not using Hadoop's wildcard/glob matching. You'll want to file a bu= g against that (it is part of piggybank, not Avro). If the schema is being dynamically read from the files, it needs to use Had= oop's globbing to resolve one of the files in order to read it and inspect = the schema, and not take the passed in string literally. At this point, you'll need help from those that contributed that to piggyba= nk. The pig JIRA related to it is: https://issues.apache.org/jira/browse/PIG-1748 But that may not be the best place for this usability question. On 1/24/11 6:14 PM, "felix gao" <[email protected]<mailto:[email protected]= >> wrote: Thanks for the info. I have not compiled a new version of pig and it works = when I load a single avro file. But it failed when I do wildcard filename m= atching. log_load =3D LOAD '/user/felix/avro/access_log.test.avro' USING org.apache.= pig.piggybank.storage.avro.AvroStorage(); <--- works fine but log_load =3D LOAD '/user/felix/avro/*.avro' USING org.apache.pig.piggybank.= storage.avro.AvroStorage(); ERROR 1018: Problem determining schema during load org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1000: Error durin= g parsing. Problem determining schema during load at org.apache.pig.PigServer$Graph.parseQuery(PigServer.java:1342) at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1286) at org.apache.pig.PigServer.registerQuery(PigServer.java:460) at org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:7= 38) at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScrip= tParser.java:324) at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.= java:163) at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.= java:139) at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:89) at org.apache.pig.Main.main(Main.java:414) Caused by: org.apache.pig.impl.logicalLayer.parser.ParseException: Problem = determining schema during load at org.apache.pig.impl.logicalLayer.parser.QueryParser.Parse(QueryParse= r.java:752) at org.apache.pig.impl.logicalLayer.LogicalPlanBuilder.parse(LogicalPla= nBuilder.java:63) at org.apache.pig.PigServer$Graph.parseQuery(PigServer.java:1336) ... 8 more Caused by: org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1018: = Problem determining schema during load at org.apache.pig.impl.logicalLayer.LOLoad.getSchema(LOLoad.java:156) at org.apache.pig.impl.logicalLayer.parser.QueryParser.Parse(QueryParse= r.java:750) ... 10 more Caused by: java.io.FileNotFoundException: File does not exist: /user/felix/= avro/*.avro at org.apache.hadoop.hdfs.DFSClient$DFSInputStream.openInfo(DFSClient.j= ava:1586) at org.apache.hadoop.hdfs.DFSClient$DFSInputStream.<init>(DFSClient.jav= a:1577) at org.apache.hadoop.hdfs.DFSClient.open(DFSClient.java:428) at org.apache.hadoop.hdfs.DistributedFileSystem.open(DistributedFileSys= tem.java:185) at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:431) at org.apache.pig.piggybank.storage.avro.AvroStorage.getSchema(AvroStor= age.java:181) at org.apache.pig.piggybank.storage.avro.AvroStorage.getAvroSchema(Avro= Storage.java:133) at org.apache.pig.piggybank.storage.avro.AvroStorage.getAvroSchema(Avro= Storage.java:108) at org.apache.pig.piggybank.storage.avro.AvroStorage.getSchema(AvroStor= age.java:233) at org.apache.pig.impl.logicalLayer.LOLoad.determineSchema(LOLoad.java:= 169) at org.apache.pig.impl.logicalLayer.LOLoad.getSchema(LOLoad.java:150) ... 11 more How do I load multiple avro files with the load function. Felix On Mon, Jan 24, 2011 at 4:25 PM, Scott Carey <[email protected]<mailt= o:[email protected]>> wrote: A jar prior to the jackson jar contains an earlier version of jackson insid= e of it. Pig's jar typically contains all its dependencies (there is 'pig-withouthad= oop.jar' instead). So my guess is that one of these (look at a listing of jar contents) has ja= ckson in it: /usr/lib/pig/bin/../pig-0.7.0+16-core.jar /usr/lib/pig/bin/../pig-0.7.0+16.jar /usr/lib/pig/bin/../build/pig-*-core.jar: /usr/lib/pig/bin/../build/ivy/lib/Pig/*.jar On 1/24/11 4:06 PM, "felix gao" <[email protected]<mailto:[email protected]= >> wrote: here is the actual process that is running the pig script, I hope this help= s. root 20820 19838 66 18:57 pts/0 00:00:00 /usr/java/default/bin/java = -Xmx1000m -Djava.library.path=3D/usr/lib/hadoop-0.20/lib/native/Linux-amd64= -64 -Djavax.xml.parsers.DocumentBuilderFactory=3Dcom.sun.org.apache.xerces.= internal.jaxp.DocumentBuilderFactoryImpl -Dpig.log.dir=3D/usr/lib/pig/bin/.= ./logs -Dpig.log.file=3Dpig.log -Dpig.home.dir=3D/usr/lib/pig/bin/.. -Dpig.= root.logger=3DINFO,console,DRFA -classpath /usr/lib/pig/bin/../conf:/usr/ja= va/default/lib/tools.jar:/usr/lib/pig/bin/../pig-0.7.0+16-core.jar:/usr/lib= /pig/bin/../pig-0.7.0+16.jar:/usr/lib/pig/bin/../build/pig-*-core.jar:/usr/= lib/pig/bin/../lib/automaton.jar:/usr/lib/pig/bin/../lib/hbase-0.20.0-test.= jar:/usr/lib/pig/bin/../lib/hbase-0.20.0.jar:/usr/lib/pig/bin/../lib/zookee= per-hbase-1329.jar:/usr/lib/pig/bin/../build/ivy/lib/Pig/*.jar:/usr/lib/had= oop-0.20/hadoop-core-0.20.2+737.jar:/usr/lib/hadoop-0.20/lib/aspectjrt-1.6.= 5.jar:/usr/lib/hadoop-0.20/lib/aspectjtools-1.6.5.jar:/usr/lib/hadoop-0.20/= lib/commons-cli-1.2.jar:/usr/lib/hadoop-0.20/lib/commons-codec-1.4.jar:/usr= /lib/hadoop-0.20/lib/commons-daemon-1.0.1.jar:/usr/lib/hadoop-0.20/lib/comm= ons-el-1.0.jar:/usr/lib/hadoop-0.20/lib/commons-httpclient-3.0.1.jar:/usr/l= ib/hadoop-0.20/lib/commons-logging-1.0.4.jar:/usr/lib/hadoop-0.20/lib/commo= ns-logging-api-1.0.4.jar:/usr/lib/hadoop-0.20/lib/commons-net-1.4.1.jar:/us= r/lib/hadoop-0.20/lib/core-3.1.1.jar:/usr/lib/hadoop-0.20/lib/hadoop-fairsc= heduler-0.20.2+737.jar:/usr/lib/hadoop-0.20/lib/hadoop-lzo-0.4.6.jar:/usr/l= ib/hadoop-0.20/lib/hadoop-thriftfs-0.20.2+737.jar:/usr/lib/hadoop-0.20/lib/= hsqldb-161.129.204.104.LICENSE.txt:/usr/lib/hadoop-0.20/lib/hsqldb-161.129.204.104.jar:/u= sr/lib/hadoop-0.20/lib/jackson-core-asl-1.5.5.jar:/usr/lib/hadoop-0.20/lib/= jackson-mapper-asl-1.5.5.jar:/usr/lib/hadoop-0.20/lib/jasper-compiler-5.5.1= 2.jar:/usr/lib/hadoop-0.20/lib/jasper-runtime-5.5.12.jar:/usr/lib/hadoop-0.= 20/lib/jdiff:/usr/lib/hadoop-0.20/lib/jets3t-0.6.1.jar:/usr/lib/hadoop-0.20= /lib/jetty-6.1.14.jar:/usr/lib/hadoop-0.20/lib/jetty-util-6.1.14.jar:/usr/l= ib/hadoop-0.20/lib/jsp-2.1:/usr/lib/hadoop-0.20/lib/junit-4.5.jar:/usr/lib/= hadoop-0.20/lib/kfs-0.2.2.jar:/usr/lib/hadoop-0.20/lib/kfs-0.2.LICENSE.txt:= /usr/lib/hadoop-0.20/lib/log4j-1.2.15.jar:/usr/lib/hadoop-0.20/lib/mockito-= all-1.8.2.jar:/usr/lib/hadoop-0.20/lib/mysql-connector-java-5.0.8-bin.jar:/= usr/lib/hadoop-0.20/lib/native:/usr/lib/hadoop-0.20/lib/native_libs.tar:/us= r/lib/hadoop-0.20/lib/oro-2.0.8.jar:/usr/lib/hadoop-0.20/lib/servlet-api-2.= 5-6.1.14.jar:/usr/lib/hadoop-0.20/lib/slf4j-api-1.4.3.jar:/usr/lib/hadoop-0= .20/lib/slf4j-log4j12-1.4.3.jar:/usr/lib/hadoop-0.20/lib/xmlenc-0.52.jar:/u= sr/lib/hadoop-0.20/lib/hadoop-lzo.0.4.4.jar:/usr/lib/hadoop-0.20/conacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b/hom= e/felix/hadoop-lzo.jar:/home/felix/elephant-bird.jar:/home/felix/elephant-b= ird/lib/* org.apache.pig.Main avro.pig pig -secretDebugCmd dry run: /usr/java/default/bin/java -Xmx1000m -Djava.library.path=3D/usr/lib/hadoop-= 0.20/lib/native/Linux-amd64-64 -Djavax.xml.parsers.DocumentBuilderFactory= =3Dcom.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl -Dpig= .log.dir=3D/usr/lib/pig/bin/../logs -Dpig.log.file=3Dpig.log -Dpig.home.dir= =3D/usr/lib/pig/bin/.. -Dpig.root.logger=3DINFO,console,DRFA -classpath /us= r/lib/pig/bin/../conf:/usr/java/default/lib/tools.jar:/usr/lib/pig/bin/../p= ig-0.7.0+16-core.jar:/usr/lib/pig/bin/../pig-0.7.0+16.jar:/usr/lib/pig/bin/= ../build/pig-*-core.jar:/usr/lib/pig/bin/../lib/automaton.jar:/usr/lib/pig/= bin/../lib/hbase-0.20.0-test.jar:/usr/lib/pig/bin/../lib/hbase-0.20.0.jar:/= usr/lib/pig/bin/../lib/zookeeper-hbase-1329.jar:/usr/lib/pig/bin/../build/i= vy/lib/Pig/*.jar:/usr/lib/hadoop-0.20/hadoop-core-0.20.2+737.jar:/usr/lib/h= adoop-0.20/lib/aspectjrt-1.6.5.jar:/usr/lib/hadoop-0.20/lib/aspectjtools-1.= 6.5.jar:/usr/lib/hadoop-0.20/lib/commons-cli-1.2.jar:/usr/lib/hadoop-0.20/l= ib/commons-codec-1.4.jar:/usr/lib/hadoop-0.20/lib/commons-daemon-1.0.1.jar:= /usr/lib/hadoop-0.20/lib/commons-el-1.0.jar:/usr/lib/hadoop-0.20/lib/common= s-httpclient-3.0.1.jar:/usr/lib/hadoop-0.20/lib/commons-logging-1.0.4.jar:/= usr/lib/hadoop-0.20/lib/commons-logging-api-1.0.4.jar:/usr/lib/hadoop-0.20/= lib/commons-net-1.4.1.jar:/usr/lib/hadoop-0.20/lib/core-3.1.1.jar:/usr/lib/= hadoop-0.20/lib/hadoop-fairscheduler-0.20.2+737.jar:/usr/lib/hadoop-0.20/li= b/hadoop-lzo-0.4.6.jar:/usr/lib/hadoop-0.20/lib/hadoop-thriftfs-0.20.2+737.= jar:/usr/lib/hadoop-0.20/lib/hsqldb-161.129.204.104.LICENSE.txt:/usr/lib/hadoop-0.= 20/lib/hsqldb-161.129.204.104.jar:/usr/lib/hadoop-0.20/lib/jackson-core-asl-1.5.5.= jar:/usr/lib/hadoop-0.20/lib/jackson-mapper-asl-1.5.5.jar:/usr/lib/hadoop-0= .20/lib/jasper-compiler-5.5.12.jar:/usr/lib/hadoop-0.20/lib/jasper-runtime-= 5.5.12.jar:/usr/lib/hadoop-0.20/lib/jdiff:/usr/lib/hadoop-0.20/lib/jets3t-0= .6.1.jar:/usr/lib/hadoop-0.20/lib/jetty-6.1.14.jar:/usr/lib/hadoop-0.20/lib= /jetty-util-6.1.14.jar:/usr/lib/hadoop-0.20/lib/jsp-2.1:/usr/lib/hadoop-0.2= 0/lib/junit-4.5.jar:/usr/lib/hadoop-0.20/lib/kfs-0.2.2.jar:/usr/lib/hadoop-= 0.20/lib/kfs-0.2.LICENSE.txt:/usr/lib/hadoop-0.20/lib/log4j-1.2.15.jar:/usr= /lib/hadoop-0.20/lib/mockito-all-1.8.2.jar:/usr/lib/hadoop-0.20/lib/mysql-c= onnector-java-5.0.8-bin.jar:/usr/lib/hadoop-0.20/lib/native:/usr/lib/hadoop= -0.20/lib/native_libs.tar:/usr/lib/hadoop-0.20/lib/oro-2.0.8.jar:/usr/lib/h= adoop-0.20/lib/servlet-api-2.5-6.1.14.jar:/usr/lib/hadoop-0.20/lib/slf4j-ap= i-1.4.3.jar:/usr/lib/hadoop-0.20/lib/slf4j-log4j12-1.4.3.jar:/usr/lib/hadoo= p-0.20/lib/xmlenc-0.52.jar:/usr/lib/hadoop-0.20/lib/hadoop-lzo.0.4.4.jar:/u= sr/lib/hadoop-0.20/conacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b/home/felix/hadoop-lzo.jar:/home/felix/elephant-bi= rd.jar:/home/felix/elephant-bird/lib/* org.apache.pig.Main seems the jackson 1.5.5 is on the classpath of the pig as well as tasktrack= er and the actual job. Felix On Mon, Jan 24, 2011 at 3:44 PM, Tatu Saloranta <[email protected]<mailt= o:[email protected]>> wrote: On Mon, Jan 24, 2011 at 3:13 PM, Scott Carey <[email protected]<mailt= o:[email protected]>> wrote: > That is confusing. Can you capture the classpath of an actual task proce= ss, > not just the TT? They shouldn't differ much, but it is worth checking. > Jackson 1.3 (or was it 1.2?) and above have all been backwards compatible > with each other I believe. And the error you are getting is definitely > caused by accessing the enable() methods that were added after 1.0.1. > I can change the Avro dependency on Jackson to 1.5.5, 1.7.1, or 1.3, and > unit tests pass. If I change it to 1.2, 1.1, or 1.0.1 they break. Just in case anyone is interested, this is due to change in 1.3.0 which changed return type of configuration method from 'void' to ObjectMapper, to allow fluent-style chaining of configuration. This is source compatible, but unfortunately binary incompatible change. On plus side, it is the only known such problem, which makes it easier to recognize. -+ Tatu +- --_000_C96375CE1C006scottrichrelevancecom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode:= space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-si= ze: 14px; font-family: Calibri, sans-serif; "><div>That looks like a bug in= &nbsp;<span class=3D"Apple-style-span" style=3D"font-family: Calibri; font-= size: medium; ">org.apache.pig.piggybank.storage.avro.AvroStorage() &nbsp;&= nbsp;</span></div><div><span class=3D"Apple-style-span" style=3D"font-famil= y: Calibri; font-size: medium; ">It is not using Hadoop's wildcard/glob mat= ching. &nbsp; You'll want to file a bug against that (it is part of piggyba= nk, not Avro). &nbsp;</span></div><div><span class=3D"Apple-style-span" sty= le=3D"font-family: Calibri; font-size: medium; "><br></span></div><div><spa= n class=3D"Apple-style-span" style=3D"font-family: Calibri; font-size: medi= um; ">If the schema is being dynamically read from the files, it needs to u= se Hadoop's globbing to resolve one of the files in order to read it and in= spect the schema, and not take the passed in string literally.</span></div>= <div><span class=3D"Apple-style-span" style=3D"font-family: Calibri; font-s= ize: medium; "><br></span></div><div><span class=3D"Apple-style-span" style= =3D"font-family: Calibri; font-size: medium; ">At this point, you'll need h= elp from those that contributed that to piggybank. &nbsp;The pig JIRA relat= ed to it is:</span></div><div><span class=3D"Apple-style-span" style=3D"fon= t-family: Calibri; font-size: medium; "><a href=3D"https://issues.apache.or= g/jira/browse/PIG-1748">https://issues.apache.org/jira/browse/PIG-1748</a><= /span></div><div><span class=3D"Apple-style-span" style=3D"font-family: Cal= ibri; font-size: medium; ">But that may not be the best place for this usab= ility question.</span></div><div><span class=3D"Apple-style-span" style=3D"= font-family: Calibri; font-size: medium; "><br></span></div><div><span clas= s=3D"Apple-style-span" style=3D"font-family: Calibri; font-size: medium; ">= <br></span></div><div><br></div><span id=3D"OLK_SRC_BODY_SECTION"><div><div= >On 1/24/11 6:14 PM, "felix gao" &lt;<a href=3D"mailto:[email protected]">g= [email protected]</a>&gt; wrote:</div></div><div><br></div><blockquote id=3D= "MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEFT: #b5c4df 5 solid;= PADDING:0 0 0 5; MARGIN:0 0 0 5;">Thanks for the info. I have not compiled= a new version of pig and it works when I load a single avro file. But it f= ailed when I do wildcard filename matching. <br>log_load =3D LOAD '/user/fe= lix/avro/access_log.test.avro' USING org.apache.pig.piggybank.storage.avro.= AvroStorage();&nbsp;&nbsp; &lt;--- works fine<br> but<br>log_load =3D LOAD '/user/felix/avro/*.avro' USING org.apache.pig.pig= gybank.storage.avro.AvroStorage(); <br><br>ERROR 1018: Problem determining = schema during load<br><br>org.apache.pig.impl.logicalLayer.FrontendExceptio= n: ERROR 1000: Error during parsing. Problem determining schema during load= <br> &nbsp;&nbsp;&nbsp; at org.apache.pig.PigServer$Graph.parseQuery(PigServer.j= ava:1342)<br>&nbsp;&nbsp;&nbsp; at org.apache.pig.PigServer$Graph.registerQ= uery(PigServer.java:1286)<br>&nbsp;&nbsp;&nbsp; at org.apache.pig.PigServer= .registerQuery(PigServer.java:460)<br>&nbsp;&nbsp;&nbsp; at org.apache.pig.= tools.grunt.GruntParser.processPig(GruntParser.java:738)<br> &nbsp;&nbsp;&nbsp; at org.apache.pig.tools.pigscript.parser.PigScriptParser= .parse(PigScriptParser.java:324)<br>&nbsp;&nbsp;&nbsp; at org.apache.pig.to= ols.grunt.GruntParser.parseStopOnError(GruntParser.java:163)<br>&nbsp;&nbsp= ;&nbsp; at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntPar= ser.java:139)<br> &nbsp;&nbsp;&nbsp; at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:89)<= br>&nbsp;&nbsp;&nbsp; at org.apache.pig.Main.main(Main.java:414)<br>Caused = by: org.apache.pig.impl.logicalLayer.parser.ParseException: Problem determi= ning schema during load<br> &nbsp;&nbsp;&nbsp; at org.apache.pig.impl.logicalLayer.parser.QueryParser.P= arse(QueryParser.java:752)<br>&nbsp;&nbsp;&nbsp; at org.apache.pig.impl.log= icalLayer.LogicalPlanBuilder.parse(LogicalPlanBuilder.java:63)<br>&nbsp;&nb= sp;&nbsp; at org.apache.pig.PigServer$Graph.parseQuery(PigServer.java:1336)= <br> &nbsp;&nbsp;&nbsp; ... 8 more<br>Caused by: org.apache.pig.impl.logicalLaye= r.FrontendException: ERROR 1018: Problem determining schema during load<br>= &nbsp;&nbsp;&nbsp; at org.apache.pig.impl.logicalLayer.LOLoad.getSchema(LOL= oad.java:156)<br>&nbsp;&nbsp;&nbsp; at org.apache.pig.impl.logicalLayer.par= ser.QueryParser.Parse(QueryParser.java:750)<br> &nbsp;&nbsp;&nbsp; ... 10 more<br>Caused by: java.io.FileNotFoundException:= File does not exist: /user/felix/avro/*.avro<br>&nbsp;&nbsp;&nbsp; at org.= apache.hadoop.hdfs.DFSClient$DFSInputStream.openInfo(DFSClient.java:1586)<b= r>&nbsp;&nbsp;&nbsp; at org.apache.hadoop.hdfs.DFSClient$DFSInputStream.&lt= ;init&gt;(DFSClient.java:1577)<br> &nbsp;&nbsp;&nbsp; at org.apache.hadoop.hdfs.DFSClient.open(DFSClient.java:= 428)<br>&nbsp;&nbsp;&nbsp; at org.apache.hadoop.hdfs.DistributedFileSystem.= open(DistributedFileSystem.java:185)<br>&nbsp;&nbsp;&nbsp; at org.apache.ha= doop.fs.FileSystem.open(FileSystem.java:431)<br> &nbsp;&nbsp;&nbsp; at org.apache.pig.piggybank.storage.avro.AvroStorage.get= Schema(AvroStorage.java:181)<br>&nbsp;&nbsp;&nbsp; at org.apache.pig.piggyb= ank.storage.avro.AvroStorage.getAvroSchema(AvroStorage.java:133)<br>&nbsp;&= nbsp;&nbsp; at org.apache.pig.piggybank.storage.avro.AvroStorage.getAvroSch= ema(AvroStorage.java:108)<br> &nbsp;&nbsp;&nbsp; at org.apache.pig.piggybank.storage.avro.AvroStorage.get= Schema(AvroStorage.java:233)<br>&nbsp;&nbsp;&nbsp; at org.apache.pig.impl.l= ogicalLayer.LOLoad.determineSchema(LOLoad.java:169)<br>&nbsp;&nbsp;&nbsp; a= t org.apache.pig.impl.logicalLayer.LOLoad.getSchema(LOLoad.java:150)<br> &nbsp;&nbsp;&nbsp; ... 11 more<br><br><br>How do I load multiple avro files= with the load function.<br><br>Felix<br><br><br><div class=3D"gmail_quote"= >On Mon, Jan 24, 2011 at 4:25 PM, Scott Carey <span dir=3D"ltr">&lt;<a href= =3D"mailto:[email protected]">[email protected]</a>&gt;</span> = wrote:<br><blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid= rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div st= yle=3D"word-wrap: break-word; color: rgb(0, 0, 0); font-size: 14px; font-fa= mily: Calibri,sans-serif;"><div>A jar prior to the jackson jar contains an = earlier version of jackson inside of it.</div><div><br></div><div>Pig's jar= typically contains all its dependencies (there is 'pig-withouthadoop.jar' = instead).</div><div><br></div><div>So my guess is that one of these (look a= t a listing of jar contents) has jackson in it:</div><div class=3D"im"><div= ><br></div><div>/usr/lib/pig/bin/../pig-0.7.0+16-core.jar</div><div>/usr/li= b/pig/bin/../pig-0.7.0+16.jar</div><div>/usr/lib/pig/bin/../build/pig-*-cor= e.jar:</div></div><div class=3D"im"><div><span style=3D"font-family: Calibr= i; font-size: medium;">/usr/lib/pig/bin/../build/ivy/lib/Pig/*.jar</span></= div><div><span style=3D"font-family: Calibri; font-size: medium;"><br></spa= n></div><div><span style=3D"font-family: Calibri; font-size: medium;"><br><= /span></div></div><div><div></div><div class=3D"h5"><span><div><div>On 1/24= /11 4:06 PM, "felix gao" &lt;<a href=3D"mailto:[email protected]" target=3D= "_blank">[email protected]</a>&gt; wrote:</div></div><div><br></div><blockq= uote style=3D"">here is the actual process that is running the pig script, = I hope this helps.<br><br>root&nbsp;&nbsp;&nbsp;&nbsp; 20820 19838 66 18:57= pts/0&nbsp;&nbsp;&nbsp; 00:00:00 /usr/java/default/bin/java -Xmx1000m -Dja= va.library.path=3D/usr/lib/hadoop-0.20/lib/native/Linux-amd64-64 -Djavax.xm= l.parsers.DocumentBuilderFactory=3Dcom.sun.org.apache.xerces.internal.jaxp.= DocumentBuilderFactoryImpl -Dpig.log.dir=3D/usr/lib/pig/bin/../logs -Dpig.l= og.file=3Dpig.log -Dpig.home.dir=3D/usr/lib/pig/bin/.. -Dpig.root.logger=3D= INFO,console,DRFA -classpath /usr/lib/pig/bin/../conf:/usr/java/default/lib= /tools.jar:/usr/lib/pig/bin/../pig-0.7.0+16-core.jar:/usr/lib/pig/bin/../pi= g-0.7.0+16.jar:/usr/lib/pig/bin/../build/pig-*-core.jar:/usr/lib/pig/bin/..= /lib/automaton.jar:/usr/lib/pig/bin/../lib/hbase-0.20.0-test.jar:/usr/lib/p= ig/bin/../lib/hbase-0.20.0.jar:/usr/lib/pig/bin/../lib/zookeeper-hbase-1329= .jar:/usr/lib/pig/bin/../build/ivy/lib/Pig/*.jar:/usr/lib/hadoop-0.20/hadoo= p-core-0.20.2+737.jar:/usr/lib/hadoop-0.20/lib/aspectjrt-1.6.5.jar:/usr/lib= /hadoop-0.20/lib/aspectjtools-1.6.5.jar:/usr/lib/hadoop-0.20/lib/commons-cl= i-1.2.jar:/usr/lib/hadoop-0.20/lib/commons-codec-1.4.jar:/usr/lib/hadoop-0.= 20/lib/commons-daemon-1.0.1.jar:/usr/lib/hadoop-0.20/lib/commons-el-1.0.jar= :/usr/lib/hadoop-0.20/lib/commons-httpclient-3.0.1.jar:/usr/lib/hadoop-0.20= /lib/commons-logging-1.0.4.jar:/usr/lib/hadoop-0.20/lib/commons-logging-api= -1.0.4.jar:/usr/lib/hadoop-0.20/lib/commons-net-1.4.1.jar:/usr/lib/hadoop-0= .20/lib/core-3.1.1.jar:/usr/lib/hadoop-0.20/lib/hadoop-fairscheduler-0.20.2= +737.jar:/usr/lib/hadoop-0.20/lib/hadoop-lzo-0.4.6.jar:/usr/lib/hadoop-0.20= /lib/hadoop-thriftfs-0.20.2+737.jar:/usr/lib/hadoop-0.20/lib/hsqldb-161.129.204.104= 0.LICENSE.txt:/usr/lib/hadoop-0.20/lib/hsqldb-161.129.204.104.jar:<span style=3D"b= ackground-color: rgb(255, 255, 102);">/usr/lib/hadoop-0.20/lib/jackson-core= -asl-1.5.5.jar:/usr/lib/hadoop-0.20/lib/jackson-mapper-asl-1.5.5.jar</span>= :/usr/lib/hadoop-0.20/lib/jasper-compiler-5.5.12.jar:/usr/lib/hadoop-0.20/l= ib/jasper-runtime-5.5.12.jar:/usr/lib/hadoop-0.20/lib/jdiff:/usr/lib/hadoop= -0.20/lib/jets3t-0.6.1.jar:/usr/lib/hadoop-0.20/lib/jetty-6.1.14.jar:/usr/l= ib/hadoop-0.20/lib/jetty-util-6.1.14.jar:/usr/lib/hadoop-0.20/lib/jsp-2.1:/= usr/lib/hadoop-0.20/lib/junit-4.5.jar:/usr/lib/hadoop-0.20/lib/kfs-0.2.2.ja= r:/usr/lib/hadoop-0.20/lib/kfs-0.2.LICENSE.txt:/usr/lib/hadoop-0.20/lib/log= 4j-1.2.15.jar:/usr/lib/hadoop-0.20/lib/mockito-all-1.8.2.jar:/usr/lib/hadoo= p-0.20/lib/mysql-connector-java-5.0.8-bin.jar:/usr/lib/hadoop-0.20/lib/nati= ve:/usr/lib/hadoop-0.20/lib/native_libs.tar:/usr/lib/hadoop-0.20/lib/oro-2.= 0.8.jar:/usr/lib/hadoop-0.20/lib/servlet-api-2.5-6.1.14.jar:/usr/lib/hadoop= -0.20/lib/slf4j-api-1.4.3.jar:/usr/lib/hadoop-0.20/lib/slf4j-log4j12-1.4.3.= jar:/usr/lib/hadoop-0.20/lib/xmlenc-0.52.jar:/usr/lib/hadoop-0.20/lib/hadoo= p-lzo.0.4.4.jar:/usr/lib/hadoop-0.20/conacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b/home/felix/hadoop-lzo.jar:/home= /felix/elephant-bird.jar:/home/felix/elephant-bird/lib/* org.apache.pig.Mai= n avro.pig<br><br><br>pig -secretDebugCmd<br>dry run:<br>/usr/java/default/= bin/java -Xmx1000m -Djava.library.path=3D/usr/lib/hadoop-0.20/lib/native/Li= nux-amd64-64 -Djavax.xml.parsers.DocumentBuilderFactory=3Dcom.sun.org.apach= e.xerces.internal.jaxp.DocumentBuilderFactoryImpl -Dpig.log.dir=3D/usr/lib/= pig/bin/../logs -Dpig.log.file=3Dpig.log -Dpig.home.dir=3D/usr/lib/pig/bin/= .. -Dpig.root.logger=3DINFO,console,DRFA -classpath /usr/lib/pig/bin/../con= f:/usr/java/default/lib/tools.jar:/usr/lib/pig/bin/../pig-0.7.0+16-core.jar= :/usr/lib/pig/bin/../pig-0.7.0+16.jar:/usr/lib/pig/bin/../build/pig-*-core.= jar:/usr/lib/pig/bin/../lib/automaton.jar:/usr/lib/pig/bin/../lib/hbase-0.2= 0.0-test.jar:/usr/lib/pig/bin/../lib/hbase-0.20.0.jar:/usr/lib/pig/bin/../l= ib/zookeeper-hbase-1329.jar:/usr/lib/pig/bin/../build/ivy/lib/Pig/*.jar:/us= r/lib/hadoop-0.20/hadoop-core-0.20.2+737.jar:/usr/lib/hadoop-0.20/lib/aspec= tjrt-1.6.5.jar:/usr/lib/hadoop-0.20/lib/aspectjtools-1.6.5.jar:/usr/lib/had= oop-0.20/lib/commons-cli-1.2.jar:/usr/lib/hadoop-0.20/lib/commons-codec-1.4= .jar:/usr/lib/hadoop-0.20/lib/commons-daemon-1.0.1.jar:/usr/lib/hadoop-0.20= /lib/commons-el-1.0.jar:/usr/lib/hadoop-0.20/lib/commons-httpclient-3.0.1.j= ar:/usr/lib/hadoop-0.20/lib/commons-logging-1.0.4.jar:/usr/lib/hadoop-0.20/= lib/commons-logging-api-1.0.4.jar:/usr/lib/hadoop-0.20/lib/commons-net-1.4.= 1.jar:/usr/lib/hadoop-0.20/lib/core-3.1.1.jar:/usr/lib/hadoop-0.20/lib/hado= op-fairscheduler-0.20.2+737.jar:/usr/lib/hadoop-0.20/lib/hadoop-lzo-0.4.6.j= ar:/usr/lib/hadoop-0.20/lib/hadoop-thriftfs-0.20.2+737.jar:/usr/lib/hadoop-= 0.20/lib/hsqldb-161.129.204.104.LICENSE.txt:/usr/lib/hadoop-0.20/lib/hsqldb-1.8.0.= 10.jar<span style=3D"background-color: rgb(255, 255, 51);">:/usr/lib/hadoop= -0.20/lib/jackson-core-asl-1.5.5.jar:/usr/lib/hadoop-0.20/lib/jackson-mappe= r-asl-1.5.5.jar</span>:/usr/lib/hadoop-0.20/lib/jasper-compiler-5.5.12.jar:= /usr/lib/hadoop-0.20/lib/jasper-runtime-5.5.12.jar:/usr/lib/hadoop-0.20/lib= /jdiff:/usr/lib/hadoop-0.20/lib/jets3t-0.6.1.jar:/usr/lib/hadoop-0.20/lib/j= etty-6.1.14.jar:/usr/lib/hadoop-0.20/lib/jetty-util-6.1.14.jar:/usr/lib/had= oop-0.20/lib/jsp-2.1:/usr/lib/hadoop-0.20/lib/junit-4.5.jar:/usr/lib/hadoop= -0.20/lib/kfs-0.2.2.jar:/usr/lib/hadoop-0.20/lib/kfs-0.2.LICENSE.txt:/usr/l= ib/hadoop-0.20/lib/log4j-1.2.15.jar:/usr/lib/hadoop-0.20/lib/mockito-all-1.= 8.2.jar:/usr/lib/hadoop-0.20/lib/mysql-connector-java-5.0.8-bin.jar:/usr/li= b/hadoop-0.20/lib/native:/usr/lib/hadoop-0.20/lib/native_libs.tar:/usr/lib/= hadoop-0.20/lib/oro-2.0.8.jar:/usr/lib/hadoop-0.20/lib/servlet-api-2.5-6.1.= 14.jar:/usr/lib/hadoop-0.20/lib/slf4j-api-1.4.3.jar:/usr/lib/hadoop-0.20/li= b/slf4j-log4j12-1.4.3.jar:/usr/lib/hadoop-0.20/lib/xmlenc-0.52.jar:/usr/lib= /hadoop-0.20/lib/hadoop-lzo.0.4.4.jar:/usr/lib/hadoop-0.20/conacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b/home/feli= x/hadoop-lzo.jar:/home/felix/elephant-bird.jar:/home/felix/elephant-bird/li= b/* org.apache.pig.Main<br><br><br>seems the jackson 1.5.5 is on the classp= ath of the pig as well as tasktracker and the actual job.<br><br>Felix<br><= br><br><div class=3D"gmail_quote">On Mon, Jan 24, 2011 at 3:44 PM, Tatu Sal= oranta <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target= =3D"_blank">[email protected]</a>&gt;</span> wrote:<br><blockquote class= =3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin= : 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>On Mon, Jan 24, 2011 at 3:13 = PM, Scott Carey &lt;<a href=3D"mailto:[email protected]" target=3D"_b= lank">[email protected]</a>&gt; wrote:<br> &gt; That is confusing. &nbsp;Can you capture the classpath of an actual ta= sk process,<br> &gt; not just the TT? &nbsp;They shouldn't differ much, but it is worth che= cking.<br> &gt; Jackson 1.3 (or was it 1.2?) and above have all been backwards compati= ble<br> &gt; with each other I believe. &nbsp; And the error you are getting is def= initely<br> &gt; caused by accessing the enable() methods that were added after 1.0.1.<= br> &gt; I can change the Avro dependency on Jackson to 1.5.5, 1.7.1, or 1.3, a= nd<br> &gt; unit tests pass. &nbsp;If I change it to 1.2, 1.1, or 1.0.1 they break= .<br><br></div>Just in case anyone is interested, this is due to change in = 1.3.0<br> which changed return type of configuration method from 'void' to<br> ObjectMapper, to allow fluent-style chaining of configuration. This is<br> source compatible, but unfortunately binary incompatible change. On<br> plus side, it is the only known such problem, which makes it easier to<br> recognize.<br><font color=3D"#888888"><br> -+ Tatu +-<br></font></blockquote></div><br></blockquote></span></div></div= ></div></blockquote></div><br></blockquote></span></body></html> --_000_C96375CE1C006scottrichrelevancecom_-- From [email protected] Tue Jan 25 15:14:56 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34378 invoked from network); 25 Jan 2011 15:14:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jan 2011 15:14:56 -0000 Received: (qmail 98304 invoked by uid 500); 25 Jan 2011 15:14:56 -0000 Delivered-To: [email protected] Received: (qmail 98060 invoked by uid 500); 25 Jan 2011 15:14:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 98046 invoked by uid 99); 25 Jan 2011 15:14:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 15:14:53 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO homiemail-a62.g.dreamhost.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 15:14:45 +0000 Received: from homiemail-a62.g.dreamhost.com (localhost [161.129.204.104]) by homiemail-a62.g.dreamhost.com (Postfix) with ESMTP id CA1A2634073 for <[email protected]>; Tue, 25 Jan 2011 07:14:23 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=darose.net; h=message-id:date :from:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=darose.net; b= Xm6+wO/EmGfdGtVDjC+6SLVR8D5ea74uzv4Nd4EPEXdxh3/zwwE0oxuP8Gu5VpXL 3f+56Ae4nJm4mcIEA1U6IXKJhOQ4elVCR7Ge4TAmtakXcXSs/ZXJzvOQozygtESt ARpmnwMD2Hw6UPwcBsDGfn2Phavtq6bOUDfc/a36RKk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=darose.net; h=message-id :date:from:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; s=darose.net; bh=Shd5SS AI9PUDBc8JrgbRFKf97ao=; b=HvPphncLOEb3YZSaDIgG4lewIpJ39pC2UYSYHk NJg9IP5Gcdt1mZrC3FQWvimmRKPgNBgCLbf9ZO8HA/WOsCbgFpH2ra72OdUOupNi up+0erPr+2fvkvY4PeRgdqu+2wjIjP9xVn5S42BqmTn9k27cP2vSEVJ0AfRML2Gg UcsBE= Received: from darsys12 (cpe-66-108-142-190.nyc.res.rr.com [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: [email protected]) by homiemail-a62.g.dreamhost.com (Postfix) with ESMTPSA id B117663406E for <[email protected]>; Tue, 25 Jan 2011 07:14:23 -0800 (PST) Received: from [161.129.204.104] by darsys12 with esmtp (Exim 4.73) (envelope-from <[email protected]>) id 1Phkb8-0006kM-Da for [email protected]; Tue, 25 Jan 2011 10:14:22 -0500 Message-ID: <[email protected]> Date: Tue, 25 Jan 2011 10:14:21 -0500 From: David Rosenstrauch <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:161.129.204.104) Gecko/20101230 Lanikai/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: java.lang.NoSuchMethodError: org.codehaus.jackson.JsonFactory.enable References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org I solved this issue by ssh'ing into each node on the cluster, renaming=20 each jackson.jar (e.g., to jackson.jar.disabled) and then restarting the=20 daemons on the node. This is a total hack, obviously - and also only=20 feasible if you have a small cluster. HTH, DR On 01/24/2011 05:09 PM, felix gao wrote: > Chase, > > I tried to ran it on my local box with a standalone version of hadoop > installed and I still got the same error. > /usr/local/pig-0.7.0/bin/pig avro.pig > 11/01/24 14:01:29 INFO pig.Main: Logging error messages to: > /Users/felix/Documents/pig/pig_1295906489023.log > 2011-01-24 14:01:29,328 [main] INFO > org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connec= ting > to hadoop file system at: file:/// > 2011-01-24 14:01:30,277 [main] INFO > org.apache.hadoop.metrics.jvm.JvmMetrics - Initializing JVM Metrics wit= h > processName=3DJobTracker, sessionId=3D > 2011-01-24 14:01:30,537 [main] ERROR org.apache.pig.tools.grunt.Grunt - > ERROR 2998: Unhandled internal error. > org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonParse= r$Feature;)Lorg/codehaus/jackson/JsonFactory; > > Any ideas why? > > Thanks, > > Felix > > > > On Mon, Jan 24, 2011 at 1:18 PM, Chase Bradford<[email protected]= m>wrote: > >> Yes, you will need to restart them. The child tasks inherit the TT's >> classpath, which will list only the 1.0.1 jars until you restart the >> daemon. >> >> On Mon, Jan 24, 2011 at 1:11 PM, felix gao<[email protected]> wrote: >>> Hi Guys, >>> >>> I am testing out AVRO in our cluster and having >> java.lang.NoSuchMethodError: >>> >> org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonPars= er$Feature;)Lorg/codehaus/jackson/JsonFactory; >>> when running a simple pig script. >>> after took a look at AVRO-493 I uploaded the new jackson jar to repl= ace >> the >>> CDH2's jackson 1.0.1 jars. >>> >>> >>> The pigscipt looks like below >>> REGISTER /home/pig/jars/avro-1.4.1.jar >>> REGISTER /home/pig/jars/json_simple-1.1.jar >>> REGISTER /home/pig/jars/piggybank.jar >>> REGISTER /usr/lib/hadoop/lib/jackson-core-asl-1.5.5.jar >>> REGISTER /usr/lib/hadoop/lib/jackson-mapper-asl-1.5.5.jar >>> >>> log_load =3D LOAD '/user/felix/avro_input/*.avro' USING >>> org.apache.pig.piggybank.storage.avro.AvroStorage() ; >>> >>> dump log_load >>> >>> >>> jackson jars are copied to each slaves and master >>> >>> The full stacktrace: >>> ERROR 2998: Unhandled internal error. >>> >> org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonPars= er$Feature;)Lorg/codehaus/jackson/JsonFactory; >>> >>> java.lang.NoSuchMethodError: >>> >> org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonPars= er$Feature;)Lorg/codehaus/jackson/JsonFactory; >>> at org.apache.avro.Schema.<clinit>(Schema.java:82) >>> at >>> >> org.apache.pig.piggybank.storage.avro.ASCommons.<clinit>(ASCommons.jav= a:44) >>> at >>> >> org.apache.pig.piggybank.storage.avro.AvroStorage.getSchema(AvroStorag= e.java:177) >>> at >>> >> org.apache.pig.piggybank.storage.avro.AvroStorage.getAvroSchema(AvroSt= orage.java:133) >>> at >>> >> org.apache.pig.piggybank.storage.avro.AvroStorage.getAvroSchema(AvroSt= orage.java:108) >>> at >>> >> org.apache.pig.piggybank.storage.avro.AvroStorage.getSchema(AvroStorag= e.java:233) >>> at >>> org.apache.pig.impl.logicalLayer.LOLoad.determineSchema(LOLoad.java:1= 69) >>> at >>> org.apache.pig.impl.logicalLayer.LOLoad.getSchema(LOLoad.java:150) >>> at >>> >> org.apache.pig.impl.logicalLayer.parser.QueryParser.Parse(QueryParser.= java:843) >>> at >>> >> org.apache.pig.impl.logicalLayer.LogicalPlanBuilder.parse(LogicalPlanB= uilder.java:63) >>> at org.apache.pig.PigServer$Graph.parseQuery(PigServer.java:= 1164) >>> at >> org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1114) >>> at org.apache.pig.PigServer.registerQuery(PigServer.java:425= ) >>> at >>> org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:73= 7) >>> at >>> >> org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptP= arser.java:324) >>> at >>> >> org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.ja= va:162) >>> at >>> >> org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.ja= va:138) >>> at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:75) >>> at org.apache.pig.Main.main(Main.java:357) >>> >>> I am wondering if I need to restart tasktracker and jobtracker in ord= er >> for >>> the jackson jars to be picked up? >>> >>> >>> >>> >>> >>> >>> >>> >> >> >> >> -- >> Chase Bradford >> >> >> =E2=80=9CIf in physics there's something you don't understand, you can= always >> hide behind the uncharted depths of nature. But if your program >> doesn't work, there is no obstinate nature. If it doesn't work, you've >> messed up.=E2=80=9D >> >> - Edsger Dijkstra >> > From [email protected] Wed Jan 26 10:50:55 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26973 invoked from network); 26 Jan 2011 10:50:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Jan 2011 10:50:55 -0000 Received: (qmail 76414 invoked by uid 500); 26 Jan 2011 10:50:55 -0000 Delivered-To: [email protected] Received: (qmail 76167 invoked by uid 500); 26 Jan 2011 10:50:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 76154 invoked by uid 99); 26 Jan 2011 10:50:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jan 2011 10:50:51 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qw0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jan 2011 10:50:46 +0000 Received: by qwk3 with SMTP id 3so752656qwk.30 for <[email protected]>; Wed, 26 Jan 2011 02:50:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=AGhyFzumDtqM2klx3PIeSyBWCmS3Avd8Rt/3pYgaIOo=; b=oK5y0BFy482Mvx22KAFyIUYMTZNwm8tjckUeYneG1Qol1hlOwgEIBDnxW6PGFXldgB iyUo9mEBSIlKaOF6P5i3OY9re/iHqTaHsueoWLkFvnzWUVePtgADnxkq08FNhV/cdlNJ 5llWHtnoxAkdRMia6v0fNucbsiSAfche7nStQ= 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=i6ma+CZ8VSxaJjfX/KrdJvtoFtlHdwA68MIwxl+QJSADrKyLCZ1ME/2PazlDjqk1OD t9E030hQ3ou/l0M7pgphRB9XtEUYdvasy40mbrzo20uv8k34FDVfqlqTUrgQKEQDyCFw QThIuJuFw4CeoiwzhB1jtXsGt8c4mfyDpr7W0= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id d20mr307012qaf.210.1296039025710; Wed, 26 Jan 2011 02:50:25 -0800 (PST) Received: by 161.129.204.104 with HTTP; Wed, 26 Jan 2011 02:50:25 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Wed, 26 Jan 2011 12:50:25 +0200 Message-ID: <[email protected]> Subject: Re: 1.5 release From: Julia Spassova <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0015175cdefabe15f5049abd9954 --0015175cdefabe15f5049abd9954 Content-Type: text/plain; charset=ISO-8859-1 I'm thinking mainly about some functionality concerning the possible inheritance, or the representation of ANY object (with which we may solve the point with inheritance and polymorphism). And also for example the "aliases" implementation, I believe currently it's taken into account only in the java version. If you think that those ideas (mostly the "ANY object" ) are not contradictory with the Avro's ideas, yes, I will easily file JIRA thicket, add details and concrete propositions. But in case in general you are against such "cultivation" for Avro, then there's no need to lose our time with those concepts. Thanks, Yuliya On Tue, Jan 18, 2011 at 8:05 PM, Scott Carey <[email protected]>wrote: > I can't speak to the details of the C++ side other than what is here > (others will have more info): > > 1.5 release > > https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&&pid=12310911&fixfor=12315282&sorter/field=priority&sorter/order=DESC&sorter/field=components&sorter/order=ASC > > c++ JIRA > > https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&&pid=12310911&component=12312882&sorter/field=priority&sorter/order=DESC&sorter/field=components&sorter/order=ASC&sorter/field=issuekey&sorter/order=DESC > > > 1.5.0 does not appear to be much of a change for c++. Not every language > changes with every release. If there are bugs or features you would like to > see, please file JIRA tickets about them. > > -Scott > > On 1/18/11 2:59 AM, "Julia Spassova" <[email protected]> wrote: > > Do you have any idea when will you release the next version, I'm interested > in the C++ one, do you have any preliminary plan for the updates and the new > features which it will include, because surely I will have to upgrade my > 1.4.1 ? > > Thx > > --0015175cdefabe15f5049abd9954 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I&#39;m =A0thinking mainly about some functionality concerning the possible= inheritance, or the representation of ANY object (with which we may solve = the point with inheritance and polymorphism).<div>And also for example the = &quot;aliases&quot; implementation, I believe currently it&#39;s taken into= account only in the java version.</div> <div><br></div><div>If you think that those ideas (mostly the &quot;ANY obj= ect&quot; ) are not contradictory with the Avro&#39;s ideas, yes, I will ea= sily file JIRA thicket, add details and concrete propositions.</div><div> But in case in general you are against such &quot;cultivation&quot; for Avr= o, then there&#39;s no need to lose our time with those concepts.</div><div= ><br></div><div>Thanks,</div><div>Yuliya=A0<br><br></div><div><br><div clas= s=3D"gmail_quote"> On Tue, Jan 18, 2011 at 8:05 PM, Scott Carey <span dir=3D"ltr">&lt;<a href= =3D"mailto:[email protected]">[email protected]</a>&gt;</span> = wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord= er-left:1px #ccc solid;padding-left:1ex;"> <div style=3D"word-wrap:break-word;color:rgb(0, 0, 0);font-size:14px;font-f= amily:Calibri, sans-serif"><div>I can&#39;t speak to the details of the C++= side other than what is here (others will have more info):</div><div><br> </div><div>1.5 release</div><div><a href=3D"https://issues.apache.org/jira/= secure/IssueNavigator.jspa?reset=3Dtrue&amp;&amp;pid=3D12310911&amp;fixfor= =3D12315282&amp;sorter/field=3Dpriority&amp;sorter/order=3DDESC&amp;sorter/= field=3Dcomponents&amp;sorter/order=3DASC" target=3D"_blank">https://issues= .apache.org/jira/secure/IssueNavigator.jspa?reset=3Dtrue&amp;&amp;pid=3D123= 10911&amp;fixfor=3D12315282&amp;sorter/field=3Dpriority&amp;sorter/order=3D= DESC&amp;sorter/field=3Dcomponents&amp;sorter/order=3DASC</a></div> <div><br></div><div>c++ JIRA</div><div><a href=3D"https://issues.apache.org= /jira/secure/IssueNavigator.jspa?reset=3Dtrue&amp;&amp;pid=3D12310911&amp;c= omponent=3D12312882&amp;sorter/field=3Dpriority&amp;sorter/order=3DDESC&amp= ;sorter/field=3Dcomponents&amp;sorter/order=3DASC&amp;sorter/field=3Dissuek= ey&amp;sorter/order=3DDESC" target=3D"_blank">https://issues.apache.org/jir= a/secure/IssueNavigator.jspa?reset=3Dtrue&amp;&amp;pid=3D12310911&amp;compo= nent=3D12312882&amp;sorter/field=3Dpriority&amp;sorter/order=3DDESC&amp;sor= ter/field=3Dcomponents&amp;sorter/order=3DASC&amp;sorter/field=3Dissuekey&a= mp;sorter/order=3DDESC</a></div> <div><br></div><div><br></div><div>1.5.0 does not appear to be much of a ch= ange for c++. =A0Not every language changes with every release. =A0If there= are bugs or features you would like to see, please file JIRA tickets about= them.</div> <div><br></div><font color=3D"#888888"><div>-Scott</div></font><div class= =3D"im"><div><br></div><span><div><div>On 1/18/11 2:59 AM, &quot;Julia Spas= sova&quot; &lt;<a href=3D"mailto:[email protected]" target=3D"_blank= ">[email protected]</a>&gt; wrote:</div> </div><div><br></div><blockquote style=3D"border-left:#b5c4df 5 solid;paddi= ng:0 0 0 5;margin:0 0 0 5">Do you have any idea when will you release the n= ext version, I&#39;m interested in the C++ one, do you have any preliminary= plan for the updates and the new features which it will include, because s= urely I will have to upgrade my 1.4.1 ?<div> <br></div><div>Thx</div></blockquote></span></div></div> </blockquote></div><br></div> --0015175cdefabe15f5049abd9954-- From [email protected] Thu Jan 27 03:38:55 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59078 invoked from network); 27 Jan 2011 03:38:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jan 2011 03:38:55 -0000 Received: (qmail 9120 invoked by uid 500); 27 Jan 2011 03:38:54 -0000 Delivered-To: [email protected] Received: (qmail 8866 invoked by uid 500); 27 Jan 2011 03:38:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 8853 invoked by uid 99); 27 Jan 2011 03:38:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jan 2011 03:38:50 +0000 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO EXHUB017-1.exch017.msoutlookonline.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jan 2011 03:38:41 +0000 Received: from EXVMBX017-1.exch017.msoutlookonline.net ([161.129.204.104]) by EXHUB017-1.exch017.msoutlookonline.net ([161.129.204.104]) with mapi; Wed, 26 Jan 2011 19:38:20 -0800 From: Anand Padmanaban <[email protected]> To: "[email protected]" <[email protected]> Date: Wed, 26 Jan 2011 19:38:24 -0800 Subject: writing to socket in python Thread-Topic: writing to socket in python Thread-Index: Acu90rjLiiYfMas8R9KhgBWw8qPAEQ== Message-ID: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_79A1E64A36D5D64A86E9A06BC82806800197E461F8EXVMBX0171exc_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_79A1E64A36D5D64A86E9A06BC82806800197E461F8EXVMBX0171exc_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Writing avro to a file is easy in python, just use avro.datafile.DataFileWr= iter. Is there an equivalent to write over the wire? Specifically flume w= ill be listening on the other end. Thanks, Anand. --_000_79A1E64A36D5D64A86E9A06BC82806800197E461F8EXVMBX0171exc_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"><head><meta http-equiv=3DContent-Type content= =3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"Micros= oft Word 14 (filtered medium)"><style><!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} .MsoChpDefault {mso-style-type:export-only; font-family:"Calibri","sans-serif";} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue vli= nk=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal>Writing avro to = a file is easy in python, just use avro.datafile.DataFileWriter.&nbsp; Is t= here an equivalent to write over the wire?&nbsp; Specifically flume will be= listening on the other end.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;= </o:p></p><p class=3DMsoNormal>Thanks,<o:p></o:p></p><p class=3DMsoNormal>A= nand.<o:p></o:p></p></div></body></html>= --_000_79A1E64A36D5D64A86E9A06BC82806800197E461F8EXVMBX0171exc_-- From [email protected] Thu Jan 27 03:43:24 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59729 invoked from network); 27 Jan 2011 03:43:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jan 2011 03:43:24 -0000 Received: (qmail 11866 invoked by uid 500); 27 Jan 2011 03:43:24 -0000 Delivered-To: [email protected] Received: (qmail 11658 invoked by uid 500); 27 Jan 2011 03:43:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 11650 invoked by uid 99); 27 Jan 2011 03:43:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jan 2011 03:43:21 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO starfish.geekisp.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jan 2011 03:43:21 +0000 Received: (qmail 5907 invoked by uid 1003); 27 Jan 2011 03:42:59 -0000 Received: from unknown (HELO kiwi.local) ([email protected]@161.129.204.104) by mail.geekisp.com with (DHE-RSA-AES256-SHA encrypted) SMTP; 27 Jan 2011 03:42:59 -0000 Date: Wed, 26 Jan 2011 19:42:56 -0800 From: "R. Tyler Croy" <[email protected]> To: [email protected] Subject: Re: writing to socket in python Message-ID: <[email protected]> References: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="b8GWCKCLzrXbuNet" Content-Disposition: inline In-Reply-To: <[email protected]> User-Agent: Mutt/1.5.20 (2009-06-14) --b8GWCKCLzrXbuNet Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, 26 Jan 2011, Anand Padmanaban wrote: > Writing avro to a file is easy in python, just use avro.datafile.DataFileWriter. Is there an equivalent to write over the wire? Specifically flume will be listening on the other end. IIRC DataFileWriter won't work over a socket because it needs .seek(). You should look into Avro RPC support with Python, which uses HTTP as a transport, for writing messages over a wire. I've got some code on doing so with eventlet here: <http://unethicalblogger.com/posts/2010/05/howto_using_avro_eventlet> - R. Tyler Croy -------------------------------------- Code: http://github.com/rtyler Chatter: http://twitter.com/agentdero http://identi.ca/dero --b8GWCKCLzrXbuNet Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAk1A6b8ACgkQFCbH3D9R4W9PpACbBiytkm3/naYpuq2JrA11dune +p0An0AV1mqIg3RpUuis4d7V+ZkZM8lV =suzY -----END PGP SIGNATURE----- --b8GWCKCLzrXbuNet-- From [email protected] Thu Jan 27 14:27:59 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58575 invoked from network); 27 Jan 2011 14:27:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jan 2011 14:27:59 -0000 Received: (qmail 81222 invoked by uid 500); 27 Jan 2011 14:27:59 -0000 Delivered-To: [email protected] Received: (qmail 79571 invoked by uid 500); 27 Jan 2011 14:27:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78750 invoked by uid 99); 27 Jan 2011 14:27:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jan 2011 14:27:55 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO EXHUB017-1.exch017.msoutlookonline.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jan 2011 14:27:50 +0000 Received: from EXVMBX017-1.exch017.msoutlookonline.net ([161.129.204.104]) by EXHUB017-1.exch017.msoutlookonline.net ([161.129.204.104]) with mapi; Thu, 27 Jan 2011 06:27:29 -0800 From: Anand Padmanaban <[email protected]> To: "[email protected]" <[email protected]> Date: Thu, 27 Jan 2011 06:27:33 -0800 Subject: RE: writing to socket in python Thread-Topic: writing to socket in python Thread-Index: Acu91FpzL+W7ateSQS+5ctBjWiuZXAAWNtag Message-ID: <[email protected]> References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 That wouldn't work for me. The avroSource that flume will be listening on = does not take http. Thanks, Anand. > -----Original Message----- > From: R. Tyler Croy [mailto:[email protected]] > Sent: Wednesday, January 26, 2011 7:43 PM > To: [email protected] > Subject: Re: writing to socket in python >=20 >=20 > On Wed, 26 Jan 2011, Anand Padmanaban wrote: >=20 > > Writing avro to a file is easy in python, just use avro.datafile.DataFi= leWriter. Is there an equivalent to write over the wire? > Specifically flume will be listening on the other end. >=20 > IIRC DataFileWriter won't work over a socket because it needs .seek(). >=20 > You should look into Avro RPC support with Python, which uses HTTP as a > transport, for writing messages over a wire. >=20 > I've got some code on doing so with eventlet here: > <http://unethicalblogger.com/posts/2010/05/howto_using_avro_eventlet> >=20 >=20 > - R. Tyler Croy > -------------------------------------- > Code: http://github.com/rtyler > Chatter: http://twitter.com/agentdero > http://identi.ca/dero From [email protected] Fri Jan 28 20:04:37 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 221 invoked from network); 28 Jan 2011 20:04:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Jan 2011 20:04:37 -0000 Received: (qmail 38534 invoked by uid 500); 28 Jan 2011 20:04:36 -0000 Delivered-To: [email protected] Received: (qmail 38388 invoked by uid 500); 28 Jan 2011 20:04:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 38380 invoked by uid 99); 28 Jan 2011 20:04:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jan 2011 20:04:35 +0000 X-ASF-Spam-Status: No, hits=3.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qy0-f178.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jan 2011 20:04:29 +0000 Received: by qyk33 with SMTP id 33so3644133qyk.9 for <[email protected]>; Fri, 28 Jan 2011 12:04:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=0GZZK49PqlQALE5ZLgS4TRg/swTaB+tDqVYqHDCmyuo=; b=bXIWvfkwJCDRR+iREEO7YNGc8rQ6MMrGTrSAvpA/gyqX4oAzsA8UEl3WmtCu4bPwmH iBssHckuFoBn49yULITPQLCg03BxWJByfHrPpfS1xYiEf+izmYP4DM650gTgEKti5qbN hPugHwvHP5V7YdxW3n2riEQY8aAfwo3KZ/bdM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=WJMps+cmhU1GbDDdZhYuP9L2qk8WZEPC6pDhWzHNWNDI6+NDBdZbe50VO5t7eLg1+f BXY6xDxrGi7k6R3+9nAZgelVaOQbH/YJfCbjhbWg2jqe8enCDv6Bx+CS3aNAbdR6Rw6v VZpHdn6D1i9hAKvPfW1TlPvgvu89rf8HZ7bAQ= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id ip9mr1247420qcb.202.1296245048349; Fri, 28 Jan 2011 12:04:08 -0800 (PST) Received: by 161.129.204.104 with HTTP; Fri, 28 Jan 2011 12:04:08 -0800 (PST) Date: Fri, 28 Jan 2011 12:04:08 -0800 Message-ID: <[email protected]> Subject: How to get started with examples on avro From: felix gao <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016363b85c4a6161b049aed910f --0016363b85c4a6161b049aed910f Content-Type: text/plain; charset=ISO-8859-1 Hi all, I am trying to convert a lot of our existing logs into avro format in hadoop. I am not sure if there are any examples to follow. Thanks, Felix --0016363b85c4a6161b049aed910f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi all,<div><br></div><div>I am trying to convert a lot of our existing log= s into avro format in hadoop. =A0I am not sure if there are any examples to= follow.</div><div><br></div><div>Thanks,</div><div><br></div><div>Felix</d= iv> --0016363b85c4a6161b049aed910f-- From [email protected] Fri Jan 28 20:22:56 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15224 invoked from network); 28 Jan 2011 20:22:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Jan 2011 20:22:55 -0000 Received: (qmail 74574 invoked by uid 500); 28 Jan 2011 20:22:55 -0000 Delivered-To: [email protected] Received: (qmail 74076 invoked by uid 500); 28 Jan 2011 20:22:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 73947 invoked by uid 99); 28 Jan 2011 20:22:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jan 2011 20:22:54 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jan 2011 20:22:50 +0000 Received: by fxm18 with SMTP id 18so3683730fxm.30 for <[email protected]>; Fri, 28 Jan 2011 12:22:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=Cs8GrijGXYpUnomRNm27pnEnEtn+i/fvqwOrc1qcOIo=; b=jUQviH2blIixvGc9XiwqeFPNZNlwd6THrZLmOsrORCqDiEkIH3i7soVv8z7lFtm56Z x8hzVioFe2WAV4pD9bHIOCwRgighDBIekq9bhxq+mPasmCXhkaLtyunOPESfUWTP6QGE dE2W0YuHsOYzYN6X9TZi3SCzzWGsSHxPcvmlc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=Ow4E7Imf/DSccIgQMurfbw/3YcqVWoWnTTQ4XY98lfAbcNAMGIcbsUaaDqf6+OVftO Em1yUosRf8+3M4x6LyRbcjX61W8GlF27YRPwgf94eyfQ7i1rJ3SZ0r2zixZ8oYFAgWxj iyMbpo88F9/66yaCB3SQnnqF1Opl/0vUCOgIw= Received: by 161.129.204.104 with SMTP id k1mr2828313faq.51.1296246148532; Fri, 28 Jan 2011 12:22:28 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Fri, 28 Jan 2011 12:22:08 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> From: Harsh J <[email protected]> Date: Sat, 29 Jan 2011 01:52:08 +0530 Message-ID: <[email protected]> Subject: Re: How to get started with examples on avro To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Based on the language you're targeting, have a look at its test-cases available on the in the project's version control: http://svn.apache.org/repos/asf/avro/trunk/lang/ [You can check it out via SVN, or via Git mirrors] Another good resource on the ends of Avro (Data and RPC) is by phunt at http://github.com/phunt/avro-rpc-quickstart#readme I had written a python data-file centric snippet for Avro a while ago at my blog; it may help if you're looking to get started with Python (although it does not cover all aspects, which the functions in the available test cases for lang/python do): http://www.harshj.com/2010/04/25/writing-and-reading-avro-data-files-using-= python/ On Sat, Jan 29, 2011 at 1:34 AM, felix gao <[email protected]> wrote: > Hi all, > I am trying to convert a lot of our existing logs into avro format in > hadoop. =A0I am not sure if there are any examples to follow. > Thanks, > Felix --=20 Harsh J www.harshj.com From [email protected] Fri Jan 28 20:29:59 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18013 invoked from network); 28 Jan 2011 20:29:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Jan 2011 20:29:59 -0000 Received: (qmail 84960 invoked by uid 500); 28 Jan 2011 20:29:59 -0000 Delivered-To: [email protected] Received: (qmail 84902 invoked by uid 500); 28 Jan 2011 20:29:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84894 invoked by uid 99); 28 Jan 2011 20:29:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jan 2011 20:29:58 +0000 X-ASF-Spam-Status: No, hits=3.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qy0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jan 2011 20:29:54 +0000 Received: by qyk32 with SMTP id 32so1166970qyk.9 for <[email protected]>; Fri, 28 Jan 2011 12:29:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=2M96wo5nGrfnIP+Iom9MCvvxPv6yTycPCB8q1gkkQ9c=; b=Z36PyuHrNZQtrKiEuVlYsq7RzOYUC8mcqp8kxhbwXnD3GbrOAnjngH0/ppqaVnsgqd Ggs2/0ScbqXkV2IGl6H8uQ28OEzv/3QKmtFQwhmbkwMgd4hbL7A1d+dLaDX4KTrVyy9O yeLE1HzRmIGjh3ALmOHKf8cF1N2L3Qe74TQcA= 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=fKQ3vdoQgTWQZ9RyKi8/QSOBNmnAQTpgPAenclLZUGo0LYawxFu02X1Jvn/2hb7e7x Vzt+gSyFAXnxg5IQp1Dws4BD2Lvk+ifVFcJPI9MAxe4SY50tRKc+c5VTSzuAf45c3L9U hRyX3sdhuF1gQb4SNSnRq3vWaiZIg8YzGm8vY= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id l16mr3264618qac.204.1296246573463; Fri, 28 Jan 2011 12:29:33 -0800 (PST) Received: by 161.129.204.104 with HTTP; Fri, 28 Jan 2011 12:29:33 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Fri, 28 Jan 2011 12:29:33 -0800 Message-ID: <[email protected]> Subject: Re: How to get started with examples on avro From: felix gao <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0015175cba7a8d790f049aedeca3 --0015175cba7a8d790f049aedeca3 Content-Type: text/plain; charset=ISO-8859-1 Thanks for the quick reply. I am interested in doing this through the java implementation and I would like to do it in parallel that utilizes the mapreduce framework. On Fri, Jan 28, 2011 at 12:22 PM, Harsh J <[email protected]> wrote: > Based on the language you're targeting, have a look at its test-cases > available on the in the project's version control: > http://svn.apache.org/repos/asf/avro/trunk/lang/ [You can check it out > via SVN, or via Git mirrors] > > Another good resource on the ends of Avro (Data and RPC) is by phunt > at http://github.com/phunt/avro-rpc-quickstart#readme > > I had written a python data-file centric snippet for Avro a while ago > at my blog; it may help if you're looking to get started with Python > (although it does not cover all aspects, which the functions in the > available test cases for lang/python do): > > http://www.harshj.com/2010/04/25/writing-and-reading-avro-data-files-using-python/ > > On Sat, Jan 29, 2011 at 1:34 AM, felix gao <[email protected]> wrote: > > Hi all, > > I am trying to convert a lot of our existing logs into avro format in > > hadoop. I am not sure if there are any examples to follow. > > Thanks, > > Felix > > > > -- > Harsh J > www.harshj.com > --0015175cba7a8d790f049aedeca3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks for the quick reply. =A0I am interested in doing this through the ja= va implementation and I would like to do it in=A0parallel=A0that utilizes t= he mapreduce framework. =A0<br><br><div class=3D"gmail_quote">On Fri, Jan 2= 8, 2011 at 12:22 PM, Harsh J <span dir=3D"ltr">&lt;<a href=3D"mailto:qwerty= [email protected]">[email protected]</a>&gt;</span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex;">Based on the language you&#39;re targeting,= have a look at its test-cases<br> available on the in the project&#39;s version control:<br> <a href=3D"http://svn.apache.org/repos/asf/avro/trunk/lang/" target=3D"_bla= nk">http://svn.apache.org/repos/asf/avro/trunk/lang/</a> [You can check it = out<br> via SVN, or via Git mirrors]<br> <br> Another good resource on the ends of Avro (Data and RPC) is by phunt<br> at <a href=3D"http://github.com/phunt/avro-rpc-quickstart#readme" target=3D= "_blank">http://github.com/phunt/avro-rpc-quickstart#readme</a><br> <br> I had written a python data-file centric snippet for Avro a while ago<br> at my blog; it may help if you&#39;re looking to get started with Python<br= > (although it does not cover all aspects, which the functions in the<br> available test cases for lang/python do):<br> <a href=3D"http://www.harshj.com/2010/04/25/writing-and-reading-avro-data-f= iles-using-python/" target=3D"_blank">http://www.harshj.com/2010/04/25/writ= ing-and-reading-avro-data-files-using-python/</a><br> <div><div></div><div class=3D"h5"><br> On Sat, Jan 29, 2011 at 1:34 AM, felix gao &lt;<a href=3D"mailto:gre1600@gm= ail.com">[email protected]</a>&gt; wrote:<br> &gt; Hi all,<br> &gt; I am trying to convert a lot of our existing logs into avro format in<= br> &gt; hadoop. =A0I am not sure if there are any examples to follow.<br> &gt; Thanks,<br> &gt; Felix<br> <br> <br> <br> </div></div><font color=3D"#888888">--<br> Harsh J<br> <a href=3D"http://www.harshj.com" target=3D"_blank">www.harshj.com</a><br> </font></blockquote></div><br> --0015175cba7a8d790f049aedeca3-- From [email protected] Fri Jan 28 21:02:28 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33086 invoked from network); 28 Jan 2011 21:02:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Jan 2011 21:02:28 -0000 Received: (qmail 51957 invoked by uid 500); 28 Jan 2011 21:02:28 -0000 Delivered-To: [email protected] Received: (qmail 51887 invoked by uid 500); 28 Jan 2011 21:02:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51879 invoked by uid 99); 28 Jan 2011 21:02:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jan 2011 21:02:27 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO EXHUB017-1.exch017.msoutlookonline.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jan 2011 21:02:22 +0000 Received: from EXVMBX017-1.exch017.msoutlookonline.net ([161.129.204.104]) by EXHUB017-1.exch017.msoutlookonline.net ([161.129.204.104]) with mapi; Fri, 28 Jan 2011 13:02:01 -0800 From: Anand Padmanaban <[email protected]> To: "[email protected]" <[email protected]> Date: Fri, 28 Jan 2011 13:02:05 -0800 Subject: RE: How to get started with examples on avro Thread-Topic: How to get started with examples on avro Thread-Index: Acu/KiOMpnk2vVAnTL+9LrjUdHA/6wAA0Ifw Message-ID: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Meta question. I see avro is the means, what is the end goal? What do you= want to do with the data after converting it to avro? > -----Original Message----- > From: felix gao [mailto:[email protected]] > Sent: Friday, January 28, 2011 12:30 PM > To: [email protected] > Subject: Re: How to get started with examples on avro >=20 > Thanks for the quick reply. I am interested in doing this through the ja= va implementation and I would like to do it in parallel that > utilizes the mapreduce framework. >=20 >=20 > On Fri, Jan 28, 2011 at 12:22 PM, Harsh J <[email protected]> wrote: >=20 >=20 > Based on the language you're targeting, have a look at its test-cases > available on the in the project's version control: > http://svn.apache.org/repos/asf/avro/trunk/lang/ [You can check it out > via SVN, or via Git mirrors] >=20 > Another good resource on the ends of Avro (Data and RPC) is by phunt > at http://github.com/phunt/avro-rpc-quickstart#readme >=20 > I had written a python data-file centric snippet for Avro a while ago > at my blog; it may help if you're looking to get started with Python > (although it does not cover all aspects, which the functions in the > available test cases for lang/python do): > http://www.harshj.com/2010/04/25/writing-and-reading-avro-data-files-usi= ng-python/ >=20 >=20 > On Sat, Jan 29, 2011 at 1:34 AM, felix gao <[email protected]> wrote: > > Hi all, > > I am trying to convert a lot of our existing logs into avro format in > > hadoop. I am not sure if there are any examples to follow. > > Thanks, > > Felix >=20 >=20 >=20 >=20 > -- > Harsh J > www.harshj.com >=20 >=20 From [email protected] Fri Jan 28 21:32:02 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56869 invoked from network); 28 Jan 2011 21:32:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Jan 2011 21:32:01 -0000 Received: (qmail 28013 invoked by uid 500); 28 Jan 2011 21:32:01 -0000 Delivered-To: [email protected] Received: (qmail 27928 invoked by uid 500); 28 Jan 2011 21:32:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 27920 invoked by uid 99); 28 Jan 2011 21:32:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jan 2011 21:32:00 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jan 2011 21:31:55 +0000 Received: by fxm18 with SMTP id 18so3744198fxm.30 for <[email protected]>; Fri, 28 Jan 2011 13:31:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=LnZw7idEHPFInhEDeIF0jhPOng45nFGEvCkQJbw4gS8=; b=O9NF9Nbh19gfK6qoEEq9ZH2z7V/zrTgNYlAWAxl8I1Yh0HCQ2oj59dZZ6/LWaHFrM5 82XfH4LUT/1HVuPQcATE0/CBhLl00Y+7o2EmMF5rOGLax5smlW7mbOOg/nkpdjLR7V31 9NXx5evXAwvkBqOt/Xsi5iFGDJ2dR+XIX0nrg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=v2IUpphz71UvSB9EEC5TC8lcznunXPyRlm7b1NwCTpxPBg954HKkeqEMU+Kqk0UMke UxsG1AZw03jEaidS3SpYXSBUsSLeqnQkVsHAo3z9WAnCXhcUWMnM3jVpMXZiL2HuzMKk dSX/0Krl9ZlJPpRRWuZfdQ8I+wFtcpZLHDVbA= Received: by 161.129.204.104 with SMTP id s7mr2882263fal.70.1296250294486; Fri, 28 Jan 2011 13:31:34 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Fri, 28 Jan 2011 13:31:14 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> From: Harsh J <[email protected]> Date: Sat, 29 Jan 2011 03:01:14 +0530 Message-ID: <[email protected]> Subject: Re: How to get started with examples on avro To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Sat, Jan 29, 2011 at 1:59 AM, felix gao <[email protected]> wrote: > Thanks for the quick reply. =A0I am interested in doing this through the = java > implementation and I would like to do it in=A0parallel=A0that utilizes th= e > mapreduce framework. That operation is pretty similar to writing a normal output data file. You can use the MapReduce API of Avro (that provides an Input/Output Format class to use, given a Schema) to do so, or write your own custom record writing classes that do it by converting your input format's record representation to Avro serialized records and writing those out to an open DataFile for a given schema. Alternatively, you can also write avro serialized data bytes into SequenceFiles. I believe the Hadoop MapReduce trunk may have some good code on Avro serialization classes and uses of that in MapReduce. > On Fri, Jan 28, 2011 at 12:22 PM, Harsh J <[email protected]> wrote: >> >> Based on the language you're targeting, have a look at its test-cases >> available on the in the project's version control: >> http://svn.apache.org/repos/asf/avro/trunk/lang/ [You can check it out >> via SVN, or via Git mirrors] >> >> Another good resource on the ends of Avro (Data and RPC) is by phunt >> at http://github.com/phunt/avro-rpc-quickstart#readme >> >> I had written a python data-file centric snippet for Avro a while ago >> at my blog; it may help if you're looking to get started with Python >> (although it does not cover all aspects, which the functions in the >> available test cases for lang/python do): >> >> http://www.harshj.com/2010/04/25/writing-and-reading-avro-data-files-usi= ng-python/ >> >> On Sat, Jan 29, 2011 at 1:34 AM, felix gao <[email protected]> wrote: >> > Hi all, >> > I am trying to convert a lot of our existing logs into avro format in >> > hadoop. =A0I am not sure if there are any examples to follow. >> > Thanks, >> > Felix >> >> >> >> -- >> Harsh J >> www.harshj.com > > --=20 Harsh J www.harshj.com From [email protected] Fri Jan 28 21:54:04 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66556 invoked from network); 28 Jan 2011 21:54:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Jan 2011 21:54:04 -0000 Received: (qmail 59174 invoked by uid 500); 28 Jan 2011 21:54:04 -0000 Delivered-To: [email protected] Received: (qmail 58990 invoked by uid 500); 28 Jan 2011 21:54:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58982 invoked by uid 99); 28 Jan 2011 21:54:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jan 2011 21:54:03 +0000 X-ASF-Spam-Status: No, hits=3.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qw0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jan 2011 21:53:59 +0000 Received: by qwk3 with SMTP id 3so3676594qwk.30 for <[email protected]>; Fri, 28 Jan 2011 13:53:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=Z8PMWnnkcrI6TM60hkdtSxhhP3JLNxaS6D4z0zSyXwE=; b=hsoW4ZFlYYyhyQIUNBMpsN5tUeTq81ZiNJKY1mUAvjBTJndVnDBgyTdkBaiI5IYfY9 GxQMIr6n6eHF/+GDFjAx0XO3tRqG5VusPzSogKqTdcrASoAx8I4dwIYRW9+RyNqzofRE 1ueYAqaa1feE/cx9/4xXamcVollpJcCiWSRkA= 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=ig4zog0m1PEbJXyhF065oPvy7fr46Ek5fFpr4HsoqWvdcnXK50hhX3or5sLKsAjumv dO0VpQCFsvAd4wHjSSMhJS58cSjNfnj2MtQ2ExP0qN8+FQn8cevbUT7F1KNhnKXsHOEZ 6p3sFDBMaYIOzynQ/uxxJxPgfeWfzPMZ+cqQQ= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id l16mr3338188qac.204.1296251618206; Fri, 28 Jan 2011 13:53:38 -0800 (PST) Received: by 161.129.204.104 with HTTP; Fri, 28 Jan 2011 13:53:38 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Fri, 28 Jan 2011 13:53:38 -0800 Message-ID: <[email protected]> Subject: Re: How to get started with examples on avro From: felix gao <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0015175cba7a3e2312049aef1913 --0015175cba7a3e2312049aef1913 Content-Type: text/plain; charset=ISO-8859-1 The goal to convert to avro is for us to use the splittable property so we can have some type of compressed data for huge log files so we can save some hdfs disk spaces. On Fri, Jan 28, 2011 at 1:02 PM, Anand Padmanaban <[email protected]>wrote: > Meta question. I see avro is the means, what is the end goal? What do you > want to do with the data after converting it to avro? > > > -----Original Message----- > > From: felix gao [mailto:[email protected]] > > Sent: Friday, January 28, 2011 12:30 PM > > To: [email protected] > > Subject: Re: How to get started with examples on avro > > > > Thanks for the quick reply. I am interested in doing this through the > java implementation and I would like to do it in parallel that > > utilizes the mapreduce framework. > > > > > > On Fri, Jan 28, 2011 at 12:22 PM, Harsh J <[email protected]> > wrote: > > > > > > Based on the language you're targeting, have a look at its > test-cases > > available on the in the project's version control: > > http://svn.apache.org/repos/asf/avro/trunk/lang/ [You can check it > out > > via SVN, or via Git mirrors] > > > > Another good resource on the ends of Avro (Data and RPC) is by > phunt > > at http://github.com/phunt/avro-rpc-quickstart#readme > > > > I had written a python data-file centric snippet for Avro a while > ago > > at my blog; it may help if you're looking to get started with > Python > > (although it does not cover all aspects, which the functions in the > > available test cases for lang/python do): > > > http://www.harshj.com/2010/04/25/writing-and-reading-avro-data-files-using-python/ > > > > > > On Sat, Jan 29, 2011 at 1:34 AM, felix gao <[email protected]> > wrote: > > > Hi all, > > > I am trying to convert a lot of our existing logs into avro > format in > > > hadoop. I am not sure if there are any examples to follow. > > > Thanks, > > > Felix > > > > > > > > > > -- > > Harsh J > > www.harshj.com > > > > > > --0015175cba7a3e2312049aef1913 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable The goal to convert to avro is for us to use the splittable property so we = can have some type of =A0compressed data for huge log files so we can save = some hdfs disk spaces. =A0<br><br><div class=3D"gmail_quote">On Fri, Jan 28= , 2011 at 1:02 PM, Anand Padmanaban <span dir=3D"ltr">&lt;<a href=3D"mailto= :[email protected]">[email protected]</a>&gt;</span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex;">Meta question. =A0I see avro is the means, = what is the end goal? =A0What do you want to do with the data after convert= ing it to avro?<br> <div><div></div><div class=3D"h5"><br> &gt; -----Original Message-----<br> &gt; From: felix gao [mailto:<a href=3D"mailto:[email protected]">gre1600@g= mail.com</a>]<br> &gt; Sent: Friday, January 28, 2011 12:30 PM<br> &gt; To: <a href=3D"mailto:[email protected]">[email protected]</a><b= r> &gt; Subject: Re: How to get started with examples on avro<br> &gt;<br> &gt; Thanks for the quick reply. =A0I am interested in doing this through t= he java implementation and I would like to do it in parallel that<br> &gt; utilizes the mapreduce framework.<br> &gt;<br> &gt;<br> &gt; On Fri, Jan 28, 2011 at 12:22 PM, Harsh J &lt;<a href=3D"mailto:qwerty= [email protected]">[email protected]</a>&gt; wrote:<br> &gt;<br> &gt;<br> &gt; =A0 =A0 =A0 Based on the language you&#39;re targeting, have a look at= its test-cases<br> &gt; =A0 =A0 =A0 available on the in the project&#39;s version control:<br> &gt; =A0 =A0 =A0 <a href=3D"http://svn.apache.org/repos/asf/avro/trunk/lang= /" target=3D"_blank">http://svn.apache.org/repos/asf/avro/trunk/lang/</a> [= You can check it out<br> &gt; =A0 =A0 =A0 via SVN, or via Git mirrors]<br> &gt;<br> &gt; =A0 =A0 =A0 Another good resource on the ends of Avro (Data and RPC) i= s by phunt<br> &gt; =A0 =A0 =A0 at <a href=3D"http://github.com/phunt/avro-rpc-quickstart#= readme" target=3D"_blank">http://github.com/phunt/avro-rpc-quickstart#readm= e</a><br> &gt;<br> &gt; =A0 =A0 =A0 I had written a python data-file centric snippet for Avro = a while ago<br> &gt; =A0 =A0 =A0 at my blog; it may help if you&#39;re looking to get start= ed with Python<br> &gt; =A0 =A0 =A0 (although it does not cover all aspects, which the functio= ns in the<br> &gt; =A0 =A0 =A0 available test cases for lang/python do):<br> &gt; =A0 =A0 =A0 <a href=3D"http://www.harshj.com/2010/04/25/writing-and-re= ading-avro-data-files-using-python/" target=3D"_blank">http://www.harshj.co= m/2010/04/25/writing-and-reading-avro-data-files-using-python/</a><br> &gt;<br> &gt;<br> &gt; =A0 =A0 =A0 On Sat, Jan 29, 2011 at 1:34 AM, felix gao &lt;<a href=3D"= mailto:[email protected]">[email protected]</a>&gt; wrote:<br> &gt; =A0 =A0 =A0 &gt; Hi all,<br> &gt; =A0 =A0 =A0 &gt; I am trying to convert a lot of our existing logs int= o avro format in<br> &gt; =A0 =A0 =A0 &gt; hadoop. =A0I am not sure if there are any examples to= follow.<br> &gt; =A0 =A0 =A0 &gt; Thanks,<br> &gt; =A0 =A0 =A0 &gt; Felix<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt; =A0 =A0 =A0 --<br> &gt; =A0 =A0 =A0 Harsh J<br> &gt; =A0 =A0 =A0 <a href=3D"http://www.harshj.com" target=3D"_blank">www.ha= rshj.com</a><br> &gt;<br> &gt;<br> <br> </div></div></blockquote></div><br> --0015175cba7a3e2312049aef1913-- From [email protected] Fri Jan 28 21:55:17 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67184 invoked from network); 28 Jan 2011 21:55:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Jan 2011 21:55:17 -0000 Received: (qmail 62069 invoked by uid 500); 28 Jan 2011 21:55:16 -0000 Delivered-To: [email protected] Received: (qmail 61937 invoked by uid 500); 28 Jan 2011 21:55:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 61929 invoked by uid 99); 28 Jan 2011 21:55:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jan 2011 21:55:16 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ww0-f49.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jan 2011 21:55:11 +0000 Received: by wwb17 with SMTP id 17so3928426wwb.30 for <[email protected]>; Fri, 28 Jan 2011 13:54:50 -0800 (PST) Received: by 161.129.204.104 with SMTP id r5mr4217455wel.91.1296251689936; Fri, 28 Jan 2011 13:54:49 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Fri, 28 Jan 2011 13:44:42 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> From: Philip Zeyliger <[email protected]> Date: Fri, 28 Jan 2011 13:44:42 -0800 Message-ID: <[email protected]> Subject: Re: How to get started with examples on avro To: [email protected] Content-Type: multipart/alternative; boundary=0016e65a0c7c8778b8049aef1dee --0016e65a0c7c8778b8049aef1dee Content-Type: text/plain; charset=ISO-8859-1 Felix, After you've figured out how to work it for your application, I do encourage you to contribute (https://cwiki.apache.org/AVRO/how-to-contribute.html) examples to the open source project. We'll find a place for them! -- Philip On Fri, Jan 28, 2011 at 12:29 PM, felix gao <[email protected]> wrote: > Thanks for the quick reply. I am interested in doing this through the java > implementation and I would like to do it in parallel that utilizes the > mapreduce framework. > > > On Fri, Jan 28, 2011 at 12:22 PM, Harsh J <[email protected]> wrote: > >> Based on the language you're targeting, have a look at its test-cases >> available on the in the project's version control: >> http://svn.apache.org/repos/asf/avro/trunk/lang/ [You can check it out >> via SVN, or via Git mirrors] >> >> Another good resource on the ends of Avro (Data and RPC) is by phunt >> at http://github.com/phunt/avro-rpc-quickstart#readme >> >> I had written a python data-file centric snippet for Avro a while ago >> at my blog; it may help if you're looking to get started with Python >> (although it does not cover all aspects, which the functions in the >> available test cases for lang/python do): >> >> http://www.harshj.com/2010/04/25/writing-and-reading-avro-data-files-using-python/ >> >> On Sat, Jan 29, 2011 at 1:34 AM, felix gao <[email protected]> wrote: >> > Hi all, >> > I am trying to convert a lot of our existing logs into avro format in >> > hadoop. I am not sure if there are any examples to follow. >> > Thanks, >> > Felix >> >> >> >> -- >> Harsh J >> www.harshj.com >> > > --0016e65a0c7c8778b8049aef1dee Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Felix,<div><br></div><div>After you&#39;ve figured out how to work it for y= our application, I do encourage you to contribute (<a href=3D"https://cwiki= .apache.org/AVRO/how-to-contribute.html">https://cwiki.apache.org/AVRO/how-= to-contribute.html</a>)=A0examples to the open source project. =A0We&#39;ll= find a place for them!</div> <meta http-equiv=3D"content-type" content=3D"text/html; charset=3Dutf-8"><d= iv><br></div><div>-- Philip<br><br><div class=3D"gmail_quote">On Fri, Jan 2= 8, 2011 at 12:29 PM, felix gao <span dir=3D"ltr">&lt;<a href=3D"mailto:gre1= [email protected]">[email protected]</a>&gt;</span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex;">Thanks for the quick reply. =A0I am interes= ted in doing this through the java implementation and I would like to do it= in=A0parallel=A0that utilizes the mapreduce framework. =A0<div> <div></div><div class=3D"h5"><br><br><div class=3D"gmail_quote">On Fri, Jan= 28, 2011 at 12:22 PM, Harsh J <span dir=3D"ltr">&lt;<a href=3D"mailto:qwer= [email protected]" target=3D"_blank">[email protected]</a>&gt;</span>= wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex">Based on the language you&#39;re targeting, = have a look at its test-cases<br> available on the in the project&#39;s version control:<br> <a href=3D"http://svn.apache.org/repos/asf/avro/trunk/lang/" target=3D"_bla= nk">http://svn.apache.org/repos/asf/avro/trunk/lang/</a> [You can check it = out<br> via SVN, or via Git mirrors]<br> <br> Another good resource on the ends of Avro (Data and RPC) is by phunt<br> at <a href=3D"http://github.com/phunt/avro-rpc-quickstart#readme" target=3D= "_blank">http://github.com/phunt/avro-rpc-quickstart#readme</a><br> <br> I had written a python data-file centric snippet for Avro a while ago<br> at my blog; it may help if you&#39;re looking to get started with Python<br= > (although it does not cover all aspects, which the functions in the<br> available test cases for lang/python do):<br> <a href=3D"http://www.harshj.com/2010/04/25/writing-and-reading-avro-data-f= iles-using-python/" target=3D"_blank">http://www.harshj.com/2010/04/25/writ= ing-and-reading-avro-data-files-using-python/</a><br> <div><div></div><div><br> On Sat, Jan 29, 2011 at 1:34 AM, felix gao &lt;<a href=3D"mailto:gre1600@gm= ail.com" target=3D"_blank">[email protected]</a>&gt; wrote:<br> &gt; Hi all,<br> &gt; I am trying to convert a lot of our existing logs into avro format in<= br> &gt; hadoop. =A0I am not sure if there are any examples to follow.<br> &gt; Thanks,<br> &gt; Felix<br> <br> <br> <br> </div></div><font color=3D"#888888">--<br> Harsh J<br> <a href=3D"http://www.harshj.com" target=3D"_blank">www.harshj.com</a><br> </font></blockquote></div><br> </div></div></blockquote></div><br></div> --0016e65a0c7c8778b8049aef1dee-- From [email protected] Fri Jan 28 23:44:01 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19493 invoked from network); 28 Jan 2011 23:44:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Jan 2011 23:44:01 -0000 Received: (qmail 5452 invoked by uid 500); 28 Jan 2011 23:44:00 -0000 Delivered-To: [email protected] Received: (qmail 5398 invoked by uid 500); 28 Jan 2011 23:44:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.avro.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 5390 invoked by uid 99); 28 Jan 2011 23:44:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jan 2011 23:44:00 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-gy0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jan 2011 23:43:53 +0000 Received: by gyg13 with SMTP id 13so1303474gyg.30 for <[email protected]>; Fri, 28 Jan 2011 15:43:31 -0800 (PST) Received: by 161.129.204.104 with SMTP id j14mr4906817ybf.149.1296258211345; Fri, 28 Jan 2011 15:43:31 -0800 (PST) Received: from [161.129.204.104] ([161.129.204.104]) by mx.google.com with ESMTPS id w24sm429089ybk.21.2161.129.204.104.43.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 28 Jan 2011 15:43:30 -0800 (PST) User-Agent: Microsoft-MacOutlook/161.129.204.104115 Date: Fri, 28 Jan 2011 15:43:22 -0800 Subject: Re: How to get started with examples on avro From: Ron Bodkin <[email protected]> To: <[email protected]> Message-ID: <[email protected]> Thread-Topic: How to get started with examples on avro In-Reply-To: <[email protected]> Mime-version: 1.0 Content-type: multipart/alternative; boundary="B_(812)538-8617_11698809" X-Virus-Checked: Checked by ClamAV on apache.org > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_(812)538-8617_11698809 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit The Colossal Pipe (https://github.com/ThinkBigAnalytics/colossal-pipe) framework also supports working with Avro as its native format for Java map-reduce, but it also lets you read in JSON or text files as input to mappers, making it fairly easy to use for this kind of conversion job. E.g., the heart of the program would be just this: ColFile inlogs = ColFile.at("/dfs/logs/json/"+hr /*2011/01/28/03*/).of(LogFormat.class).jsonFormat(); ColFile outlogs = ColFile.at("/dfs/logs/avro/"+hr).of(Log.class); ColPhase copy = new ColPhase().reads(inlogs).writes(outlogs).map(IdentityMapper.class). groupBy("timestamp").reduce(IdentityReducer.class); ColPipe conversion = new ColPipe(getClass()).named("log conversion"); Conversion.produces(outlogs); You'd currently define an identity mapper and reducer (soon it will default to those): public static class IdentitMapper extends BaseMapper<Log, Log> { @Override public void map(Log in, Log out, ColContext<Log> context) { super.map(in, out, context); } } public static class IdentityReducer extends BaseReducer<Log, Log> { @Override public void reduce(Iterable<Log> in, Log out, ColContext<Log> context) { super.reduce(in, out, context); } } Ron Ron Bodkin CEO Think Big Analytics m: (812)538-8617 From: Philip Zeyliger <[email protected]> Reply-To: <[email protected]> Date: Fri, 28 Jan 2011 13:44:42 -0800 To: <[email protected]> Subject: Re: How to get started with examples on avro Felix, After you've figured out how to work it for your application, I do encourage you to contribute (https://cwiki.apache.org/AVRO/how-to-contribute.html) examples to the open source project. We'll find a place for them! -- Philip On Fri, Jan 28, 2011 at 12:29 PM, felix gao <[email protected]> wrote: > Thanks for the quick reply. I am interested in doing this through the java > implementation and I would like to do it in parallel that utilizes the > mapreduce framework. > > > On Fri, Jan 28, 2011 at 12:22 PM, Harsh J <[email protected]> wrote: >> Based on the language you're targeting, have a look at its test-cases >> available on the in the project's version control: >> http://svn.apache.org/repos/asf/avro/trunk/lang/ [You can check it out >> via SVN, or via Git mirrors] >> >> Another good resource on the ends of Avro (Data and RPC) is by phunt >> at http://github.com/phunt/avro-rpc-quickstart#readme >> >> I had written a python data-file centric snippet for Avro a while ago >> at my blog; it may help if you're looking to get started with Python >> (although it does not cover all aspects, which the functions in the >> available test cases for lang/python do): >> http://www.harshj.com/2010/04/25/writing-and-reading-avro-data-files-using-py >> thon/ >> >> On Sat, Jan 29, 2011 at 1:34 AM, felix gao <[email protected]> wrote: >>> > Hi all, >>> > I am trying to convert a lot of our existing logs into avro format in >>> > hadoop. I am not sure if there are any examples to follow. >>> > Thanks, >>> > Felix >> >> >> >> -- >> Harsh J >> www.harshj.com <http://www.harshj.com> > --B_(812)538-8617_11698809 Content-type: text/html; charset="US-ASCII" Content-transfer-encoding: quoted-printable <html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3Dutf= -8"></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -we= bkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; fo= nt-family: Calibri, sans-serif; "><div><div><div>The Colossal Pipe (<a href=3D= "https://github.com/ThinkBigAnalytics/colossal-pipe">https://github.com/Thin= kBigAnalytics/colossal-pipe</a>) framework also supports working with Avro a= s its native format for Java map-reduce, but it also lets you read in JSON o= r text files as input to mappers, making it fairly easy to use for this kind= of conversion job. E.g., the heart of the program would be just this:</div>= <div><br></div><div><span style=3D"font-family: Monaco; "><font class=3D"Apple-s= tyle-span" size=3D"3"><span class=3D"Apple-style-span" style=3D"font-size: 11px;">= ColFile inlogs =3D ColFile.at("/dfs/logs/json/"+hr /*2011/01/28/03*/).of(LogFo= rmat.class).jsonFormat();</span></font></span></div><div><span style=3D"font-f= amily: Monaco; "><font class=3D"Apple-style-span" size=3D"3"><span class=3D"Apple-= style-span" style=3D"font-size: 11px;">ColFile outlogs =3D&nbsp;ColFile.at("/dfs= /logs/avro/"+hr).of(Log.class);</span></font></span></div><div><span style=3D"= font-family: Monaco; "><font class=3D"Apple-style-span" size=3D"3"><span class=3D"= Apple-style-span" style=3D"font-size: 11px;">ColPhase copy =3D new ColPhase().re= ads(inlogs).writes(outlogs).map(IdentityMapper.class).</span></font></span><= /div><div><span style=3D"font-family: Monaco; "><font class=3D"Apple-style-span"= size=3D"3"><span class=3D"Apple-style-span" style=3D"font-size: 11px;">&nbsp;&nbs= p; groupBy("timestamp").reduce(IdentityReducer.class);</span></font></span><= /div><div><br></div><div><p style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 11= .0px Monaco">ColPipe conversion =3D <span style=3D"color: #971965">new</span> Co= lPipe(getClass()).named(<span style=3D"color: #413af6">"log conversion"</span>= );</p><p style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco">Conver= sion.produces(outlogs);</p><p style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: = 11.0px Monaco"><br></p><p style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0= px Monaco"><br></p></div><div>You'd currently define an identity mapper and = reducer (soon it will default to those):</div><div><br></div><div><p style=3D"= margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco"><span style=3D"color: #9= 71965">public</span> <span style=3D"color: #971965">static</span> <span style=3D= "color: #971965">class</span>&nbsp;IdentitMapper <span style=3D"color: #971965= ">extends</span> BaseMapper&lt;Log, Log&gt; {</p><p style=3D"margin-top: 0px; = margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal= normal 11px/normal Monaco; color: rgb(119, 119, 119); ">&nbsp;&nbsp;@Overri= de</p><p style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; marg= in-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(119,= 119, 119); "><span class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 0); "><= span style=3D"color: rgb(151, 25, 101); ">&nbsp;&nbsp;public</span></span><spa= n class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 0); ">&nbsp;</span><span = class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 0); "><span style=3D"color: r= gb(151, 25, 101); ">void</span></span><span class=3D"Apple-style-span" style=3D"= color: rgb(0, 0, 0); ">&nbsp;map(Log in, Log out, ColContext&lt;Log&gt; cont= ext) {</span></p><p style=3D"margin-top: 0px; margin-right: 0px; margin-bottom= : 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">&n= bsp;&nbsp; &nbsp;super.map(in, out, context);</p><p style=3D"margin-top: 0px; = margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal= normal 11px/normal Monaco; ">&nbsp;&nbsp;}</p><p style=3D"margin: 0.0px 0.0px= 0.0px 0.0px; font: 11.0px Monaco">}</p><p style=3D"margin: 0.0px 0.0px 0.0px = 0.0px; font: 11.0px Monaco"><br></p><p style=3D"margin: 0.0px 0.0px 0.0px 0.0p= x; font: 11.0px Monaco"><span style=3D"color: #971965">public</span> <span sty= le=3D"color: #971965">static</span> <span style=3D"color: #971965">class</span>&= nbsp;IdentityReducer&nbsp;<span style=3D"color: #971965">extends</span> BaseRe= ducer&lt;Log,&nbsp;Log&gt; {</p> <p style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #777= 777">&nbsp;&nbsp;@Override</p><p style=3D"margin: 0.0px 0.0px 0.0px 0.0px; fon= t: 11.0px Monaco; color: #777777"><span class=3D"Apple-style-span" style=3D"colo= r: rgb(0, 0, 0); "><span style=3D"color: #971965">&nbsp;&nbsp;public</span></s= pan><span class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 0); "> </span><sp= an class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 0); "><span style=3D"color= : #971965">void</span></span><span class=3D"Apple-style-span" style=3D"color: rg= b(0, 0, 0); "> reduce(Iterable&lt;Log&gt; in, Log out, ColContext&lt;Log&gt;= context) {</span></p><p style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0p= x Monaco">&nbsp;&nbsp; &nbsp;super.reduce(in, out, context);</p><p style=3D"ma= rgin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco">&nbsp;&nbsp;}</p><p styl= e=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco">}</p></div><div>&nb= sp;&nbsp;&nbsp;</div><div>Ron</div><div><br></div><div><div style=3D"word-wrap= : break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-spac= e; font-family: Helvetica; font-size: medium; "><div><font class=3D"Apple-styl= e-span" color=3D"#6D6D6D"><font class=3D"Apple-style-span" size=3D"2"><span class=3D= "Apple-style-span" style=3D"font-size: 10px; ">Ron Bodkin</span></font></font>= </div><div><font class=3D"Apple-style-span" color=3D"#6D6D6D"><font class=3D"Apple= -style-span" size=3D"2"><span class=3D"Apple-style-span" style=3D"font-size: 10px;= ">CEO</span></font></font></div><div><font class=3D"Apple-style-span" color=3D"#= 6D6D6D"><font class=3D"Apple-style-span" size=3D"2"><span class=3D"Apple-style-spa= n" style=3D"font-size: 10px;">Think Big Analytics</span></font></font></div><d= iv><font class=3D"Apple-style-span" color=3D"#6D6D6D"><font class=3D"Apple-style-s= pan" size=3D"2"><span class=3D"Apple-style-span" style=3D"font-size: 10px;">m: +1 = (812)538-8617</span></font></font></div><div><br></div></div><br class=3D"App= le-interchange-newline"></div></div></div><div><br></div><span id=3D"OLK_SRC_B= ODY_SECTION"><div style=3D"font-family:Calibri; font-size:11pt; text-align:lef= t; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDIN= G-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1p= t solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style=3D"font-weig= ht:bold">From: </span> Philip Zeyliger &lt;<a href=3D"mailto:[email protected]= om">[email protected]</a>&gt;<br><span style=3D"font-weight:bold">Reply-To: = </span> &lt;<a href=3D"mailto:[email protected]">[email protected]</a>&g= t;<br><span style=3D"font-weight:bold">Date: </span> Fri, 28 Jan 2011 13:44:42= -0800<br><span style=3D"font-weight:bold">To: </span> &lt;<a href=3D"mailto:use= [email protected]">[email protected]</a>&gt;<br><span style=3D"font-weight:= bold">Subject: </span> Re: How to get started with examples on avro<br></div= ><div><br></div>Felix,<div><br></div><div>After you've figured out how to wo= rk it for your application, I do encourage you to contribute (<a href=3D"https= ://cwiki.apache.org/AVRO/how-to-contribute.html">https://cwiki.apache.org/AV= RO/how-to-contribute.html</a>)&nbsp;examples to the open source project. &nb= sp;We'll find a place for them!</div><div><br></div><div>-- Philip<br><br><d= iv class=3D"gmail_quote">On Fri, Jan 28, 2011 at 12:29 PM, felix gao <span dir= =3D"ltr">&lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt;</spa= n> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border= -left:1px #ccc solid;padding-left:1ex;">Thanks for the quick reply. &nbsp;I = am interested in doing this through the java implementation and I would like= to do it in&nbsp;parallel&nbsp;that utilizes the mapreduce framework. &nbsp= ;<div><div></div><div class=3D"h5"><br><br><div class=3D"gmail_quote">On Fri, Ja= n 28, 2011 at 12:22 PM, Harsh J <span dir=3D"ltr">&lt;<a href=3D"mailto:qwertyma= [email protected]" target=3D"_blank">[email protected]</a>&gt;</span> wrote:= <br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">Based on the language you're targeting, have a= look at its test-cases<br> available on the in the project's version control:<br><a href=3D"http://svn.a= pache.org/repos/asf/avro/trunk/lang/" target=3D"_blank">http://svn.apache.org/= repos/asf/avro/trunk/lang/</a> [You can check it out<br> via SVN, or via Git mirrors]<br><br> Another good resource on the ends of Avro (Data and RPC) is by phunt<br> at <a href=3D"http://github.com/phunt/avro-rpc-quickstart#readme" target=3D"_bl= ank">http://github.com/phunt/avro-rpc-quickstart#readme</a><br><br> I had written a python data-file centric snippet for Avro a while ago<br> at my blog; it may help if you're looking to get started with Python<br> (although it does not cover all aspects, which the functions in the<br> available test cases for lang/python do):<br><a href=3D"http://www.harshj.com= /2010/04/25/writing-and-reading-avro-data-files-using-python/" target=3D"_blan= k">http://www.harshj.com/2010/04/25/writing-and-reading-avro-data-files-usin= g-python/</a><br><div><div></div><div><br> On Sat, Jan 29, 2011 at 1:34 AM, felix gao &lt;<a href=3D"mailto:gre1600@gmai= l.com" target=3D"_blank">[email protected]</a>&gt; wrote:<br> &gt; Hi all,<br> &gt; I am trying to convert a lot of our existing logs into avro format in<= br> &gt; hadoop. &nbsp;I am not sure if there are any examples to follow.<br> &gt; Thanks,<br> &gt; Felix<br><br><br><br></div></div><font color=3D"#888888">--<br> Harsh J<br><a href=3D"http://www.harshj.com" target=3D"_blank">www.harshj.com</= a><br></font></blockquote></div><br></div></div></blockquote></div><br></div= ></span></body></html> --B_(812)538-8617_11698809--
From [email protected] Tue Apr 26 02:17:22 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 231F21AE3 for <[email protected]>; Tue, 26 Apr 2011 02:17:22 +0000 (UTC) Received: (qmail 50387 invoked by uid 500); 26 Apr 2011 02:17:22 -0000 Delivered-To: [email protected] Received: (qmail 50295 invoked by uid 500); 26 Apr 2011 02:17:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4PHP User" <[email protected]> List-Id: <log4php-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 50281 invoked by uid 99); 26 Apr 2011 02:17:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Apr 2011 02:17:21 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-pv0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Apr 2011 02:17:13 +0000 Received: by pvc30 with SMTP id 30so206704pvc.34 for <multiple recipients>; Mon, 25 Apr 2011 19:16:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to:cc :content-type; bh=GyVn+6QpcZApTZkFnOJXIMcOWVY4kNXW5NArBJYtheo=; b=RVRjZLiV2OXiCtMwioHa6xyl4qTnPJaHuRgOKFEDlcS0rzOxEDJm/GQdwYCjDJ7rGG Lv92RL3y0un9UGGh0wrDzMOOp0GPJqWwiuZgu5Lp/mBKUiuA1XwVTE5bnYwSfjgDoIDx XepfJM92U1uZoIDot+aKN+qPVIVsoh9qr9brU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=gTrx8IzQcK8/DTQpwOEDZxD+fweH8DqatyRWPGoOZtrOJkATc1iqEH4Ul2pG3MLRWK 6Cjz3/plfohR93PVtyRHhEZKWv/XwSC1fNBkLmdBLNQbtD2IEpFsH5q4zQXJcK+ZWLtT lsiXvrx7ti4nGQ+Z5t8YlKG5f6uoos+Tn4Clo= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id p5mr274274pbn.259.1303784211616; Mon, 25 Apr 2011 19:16:51 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 25 Apr 2011 19:16:51 -0700 (PDT) Date: Tue, 26 Apr 2011 10:16:51 +0800 Message-ID: <[email protected]> Subject: Help, log4php logging to different files seperately, occur errors From: gao <[email protected]> To: [email protected] Cc: [email protected] Content-Type: multipart/alternative; boundary=bcaec52e5f87cc14a604a1c8eacf X-Virus-Checked: Checked by ClamAV on apache.org --bcaec52e5f87cc14a604a1c8eacf Content-Type: text/plain; charset=ISO-8859-1 Dear developers, I am using log4php in my projects, but I encounter some problems when I want to logging to two different file seperately. I hope you to show me the right method to logging to two different file seperately, I need a solution urgently, thank you very much ! For Example I write my proerties file(appender_file1. properties) as below: log4php.appender.A0 = LoggerAppenderDailyFile log4php.appender.A0.datePattern = Ymd log4php.appender.A0.file = Logs/0.%s.log log4php.appender.A0.layout = LoggerLayoutPattern log4php.appender.A0.layout.ConversionPattern = "%m%n" log4php.appender.A1 = LoggerAppenderDailyFile log4php.appender.A1.datePattern = Ymd log4php.appender.A1.file = Logs/1.%s.log log4php.appender.A1.layout = LoggerLayoutPattern log4php.appender.A1.layout.ConversionPattern = "%m%n" log4php.logger.A0logger = DEBUG, A0 log4php.logger.A1logger = DEBUG, A1 when I using getLogger in my php file Loggeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bonfigure('./phpconf/appender_file1.properties'); $logger0 = Loggeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLogger("A0logger'); $logger1 = Loggeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLogger('A1logger'); I will get such errors! PHP Warning: mkdir(): No such file or directory in xxx/log4php/appenders/LoggerAppenderFile.php on line 73 Warning: mkdir(): No such file or directory in xxx/log4php/appenders/LoggerAppenderFile.php on line 73 PHP Warning: fopen(): Filename cannot be empty in xxx/log4php/appenders/LoggerAppenderFile.php on line 77 Warning: fopen(): Filename cannot be empty in xxx/log4php/appenders/LoggerAppenderFile.php on line 77 Thank you very much! Best Regards! --bcaec52e5f87cc14a604a1c8eacf Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Dear developers,<br>=A0=A0=A0 I am using <span class=3D"il">log4php</span> = in my projects, but I encounter some problems when I want to logging to two= different file seperately.<br>=A0=A0=A0<span style=3D"color: rgb(255, 0, 0= );"> I hope you to show me the right method to logging to two different=20 file seperately, I need a solution urgently, thank you very much !</span><b= r> <br>=A0=A0=A0 For Example <br>=A0=A0=A0 I write my proerties file(appender_= file1.<div id=3D":2a">properties) as below:<br>=A0=A0=A0 <span class=3D"il"= >log4php</span>.appender.A0 =3D LoggerAppenderDailyFile<br><span class=3D"i= l">log4php</span>.appender.A0.datePattern =3D Ymd<br> <span class=3D"il">log4php</span>.appender.A0.file =3D Logs/0.%s.log<br> <span class=3D"il">log4php</span>.appender.A0.layout =3D LoggerLayoutPatter= n<br><span class=3D"il">log4php</span>.appender.A0.layout.ConversionPattern= =3D &quot;%m%n&quot;<br><br><span class=3D"il">log4php</span>.appender.A1 = =3D LoggerAppenderDailyFile<br> <span class=3D"il">log4php</span>.appender.A1.datePattern =3D Ymd<br><span = class=3D"il">log4php</span>.appender.A1.file =3D Logs/1.%s.log<br> <span class=3D"il">log4php</span>.appender.A1.layout =3D LoggerLayoutPatter= n<br><span class=3D"il">log4php</span>.appender.A1.layout.ConversionPattern= =3D &quot;%m%n&quot;<br><span class=3D"il">log4php</span>.logger.A0logger = =3D DEBUG, A0<br> <span class=3D"il">log4php</span>.logger.A1logger =3D DEBUG, A1<br><br><br>= when I using getLogger in my php file<br> Loggeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bonfigure(&#39;./phpconf/appender_file1.properties&#39;);<br>$logge= r0 =3D Loggeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLogger(&quot;A0logger&#39;);<br>$logger1 =3D Loggeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetL= ogger(&#39;A1logger&#39;);<br><br>I will get such errors!<br>PHP Warning:= =A0 mkdir(): No such file or directory in xxx/<span class=3D"il">log4php</s= pan>/appenders/LoggerAppenderFile.php on line 73<br> <br>Warning: mkdir(): No such file or directory in xxx/<span class=3D"il">l= og4php</span>/appenders/LoggerAppenderFile.php on line 73<br>PHP Warning:= =A0 fopen(): Filename cannot be empty in xxx/<span class=3D"il">log4php</sp= an>/appenders/LoggerAppenderFile.php on line 77<br> <br> Warning: fopen(): Filename cannot be empty in xxx/<span class=3D"il">log4ph= p</span>/appenders/LoggerAppenderFile.php on line 77<br><br><br>Thank you v= ery much!<br><br>Best Regards!</div> --bcaec52e5f87cc14a604a1c8eacf--
From [email protected] Fri Jan 12 03:12:51 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63714 invoked from network); 12 Jan 2007 03:12:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jan 2007 03:12:51 -0000 Received: (qmail 89833 invoked by uid 500); 12 Jan 2007 03:12:57 -0000 Delivered-To: [email protected] Received: (qmail 89808 invoked by uid 500); 12 Jan 2007 03:12:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <python-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 89797 invoked by uid 99); 12 Jan 2007 03:12:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jan 2007 19:12:56 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO tomts5-srv.bellnexxia.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jan 2007 19:12:46 -0800 Received: from [161.129.204.104] ([161.129.204.104]) by tomts5-srv.bellnexxia.net (InterMail vM.161.129.204.104 201-253-122-130-113-20050324) with ESMTP id <20070112031224.LGVF5067.tomts5-srv.bellnexxia.net@[161.129.204.104]> for <[email protected]>; Thu, 11 Jan 2007 22:12:24 -0500 Message-ID: <[email protected]> Date: Thu, 11 Jan 2007 22:18:58 -0500 From: Jim Gallacher <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20070104) MIME-Version: 1.0 To: python-dev list <[email protected]> Subject: Are we ready for 3.3.1? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org We don't seem to be getting any more feedback on 3.3.0b (+1's across the board), so how does everyone feel about rolling out 3.3.1 this weekend? Or should we wait another week? 3.3.0b test result summary: +1 FreeBSD 6.1, Apache 2.2.3 (mpm-prefork), Python 2.4.3,1 +1 Linux Debian 3.1 Sarge, Apache 2.0.54 (mpm-prefork), Python 2.3.5 +1 Linux Debian Sid, Apache 2.2.3 (mpm-worker), Python 2.3.5 +1 Linux Debian Sid, Apache 2.2.3 (mpm-worker), Python 2.4.4 +1 Linux Debian Sid, Apache 2.2.3 (mpm-worker), Python 2.5 +1 Linux Fedora Core 2 (OpenVPS) i386, Apache 2.0.51 (mpm-prefork), Python 2.3.3 +1 Linux Fedora Core 4 i386, Apache 2.0.54 (mpm-prefork), Python 2.5 +1 Linux Fedora Core 5 i386, Apache 2.2.2 (mpm-prefork), Python 2.4.3 +1 Linux Fedora Core 5 i386, Apache 2.2.2 (mpm-prefork), Python 2.4.3 +1 Linux Fedora Core 6, Apache 2.2.3 (mpm-prefork), Python 2.4.4 +1 Linux Fedora Core 6 i386, Apache 2.2.3 (mpm-prefork), Python 2.4.4 +1 Linux Fedora Core 6 x86_64, Apache 2.2.3 (mpm-prefork), Python 2.4.4 +1 Linux Slackware 10.2, Apache 2.2.3 (mpm-prefork), Python 2.4.1 +1 Linux Ubuntu 6.0.6, Apache 2.0.55 (mpm-worker), Python 2.4.3 +1 Linux Ubuntu 6.10, Apache 2.0.55 (mpm-prefork), Python 2.4.4c1 +1 Mac OS 10.4.8 (Intel), Apache 2.0.59 (mpm-prefork), Python 2.5 +1 Mac OS X (Darwin 8.8.1, Intel), Apache 2.2.3 (mpm-prefork), Python 2.4.2 +1 Mac OS X (PowerPC), Apache 2.0.55 (mpm-worker), Python 2.3.5 (OS Supplied Version) +1 Mac OS X (PowerPC), Apache 2.2.1 (mpm-worker), Python 2.3.5 (OS Supplied Version) +1 Microsoft Windows XP, Apache 2.0.58 (mpm_winnt), Python 2.4 +1 Microsoft Windows XP, Apache 2.0.58 (mpm_winnt), Python 2.5 +1 Microsoft Windows XP, Apache 2.2.2 (mpm_winnt), Python 2.4 +1 Microsoft Windows XP, Apache 2.2.2 (mpm_winnt), Python 2.5 +1 Solaris 10 (Sparc), Apache 2.0.59 (mpm-prefork), Python 2.5 Jim From [email protected] Fri Jan 12 05:43:19 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93515 invoked from network); 12 Jan 2007 05:43:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jan 2007 05:43:19 -0000 Received: (qmail 34120 invoked by uid 500); 12 Jan 2007 05:43:25 -0000 Delivered-To: [email protected] Received: (qmail 34106 invoked by uid 500); 12 Jan 2007 05:43:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <python-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 34095 invoked by uid 99); 12 Jan 2007 05:43:25 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jan 2007 21:43:25 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO dscpl.user.openhosting.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jan 2007 21:43:16 -0800 Received: from dscpl.user.openhosting.com (localhost.ispol.com [161.129.204.104] (may be forged)) by dscpl.user.openhosting.com (161.129.204.10460308/8.12.11) with ESMTP id l0C5gt3Z008943 for <[email protected]>; Fri, 12 Jan 2007 00:42:55 -0500 Received: (from grahamd@localhost) by dscpl.user.openhosting.com (161.129.204.10460308/8.12.11/Submit) id l0C5gsff008942; Fri, 12 Jan 2007 00:42:54 -0500 Date: Fri, 12 Jan 2007 00:42:54 -0500 X-Authentication-Warning: dscpl.user.openhosting.com: grahamd set sender to [email protected] using -f From: "Graham Dumpleton" <[email protected]> Subject: Memory leak in req.readlines() ???? To: <[email protected]> Cc: X-Originating-IP: 161.129.204.104 X-Mailer: Usermin 1.160 Reply-To: "Graham Dumpleton" <[email protected]> Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org This code in req.readlines() looks a bit fishy to me and possibly leaks memory. The code in question is: rlargs = PyTuple_New(0); if (result == NULL) return PyErr_NoMemory(); line = req_readline(self, rlargs); while (line && ((linesize=PyString_Size(line))>0)) { PyList_Append(result, line); size += linesize; if ((sizehint != -1) && (size >= sizehint)) break; Py_DECREF(line); line = req_readline(self, args); } Py_XDECREF(line); The thing that looks wrong is 'rlargs'. This is created, used in a sub call to req_readline() but then never destroyed. Thus, possibly a memory leak. Next thing is that on the first read of a line, ie., call to req_readline(), there will be no limit on size, as rlargs (empty tuple) is used. On subsequent calls to req_readline() it passed the args from the caller instead of rlargs. Depending on how req_readline() is implemented, this may not work how want might think it might. Will need to investigate further. Graham From [email protected] Fri Jan 12 14:05:12 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57303 invoked from network); 12 Jan 2007 14:05:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jan 2007 14:05:11 -0000 Received: (qmail 65538 invoked by uid 500); 12 Jan 2007 14:05:18 -0000 Delivered-To: [email protected] Received: (qmail 65502 invoked by uid 500); 12 Jan 2007 14:05:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <python-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 65489 invoked by uid 99); 12 Jan 2007 14:05:17 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jan 2007 06:05:17 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.websiteproject.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jan 2007 06:05:05 -0800 Received: from [161.129.204.104] (c-68-83-133-74.hsd1.pa.comcast.net [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.websiteproject.net (Postfix) with ESMTP id 1C9BAF00B7; Fri, 12 Jan 2007 09:04:42 -0500 (EST) Message-ID: <[email protected]> Date: Fri, 12 Jan 2007 09:04:37 -0500 From: Jorey Bump <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20061025) MIME-Version: 1.0 To: Jim Gallacher <[email protected]> CC: python-dev list <[email protected]> Subject: Re: Are we ready for 3.3.1? References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org It might be prudent to test against Apache 2.2.4, which was released two days ago. I'll try to do this over the weekend and submit the results. Jim Gallacher wrote: > We don't seem to be getting any more feedback on 3.3.0b (+1's across the > board), so how does everyone feel about rolling out 3.3.1 this weekend? > Or should we wait another week? > > 3.3.0b test result summary: > > +1 FreeBSD 6.1, Apache 2.2.3 (mpm-prefork), Python 2.4.3,1 > +1 Linux Debian 3.1 Sarge, Apache 2.0.54 (mpm-prefork), Python 2.3.5 > +1 Linux Debian Sid, Apache 2.2.3 (mpm-worker), Python 2.3.5 > +1 Linux Debian Sid, Apache 2.2.3 (mpm-worker), Python 2.4.4 > +1 Linux Debian Sid, Apache 2.2.3 (mpm-worker), Python 2.5 > +1 Linux Fedora Core 2 (OpenVPS) i386, Apache 2.0.51 (mpm-prefork), > Python 2.3.3 > +1 Linux Fedora Core 4 i386, Apache 2.0.54 (mpm-prefork), Python 2.5 > +1 Linux Fedora Core 5 i386, Apache 2.2.2 (mpm-prefork), Python 2.4.3 > +1 Linux Fedora Core 5 i386, Apache 2.2.2 (mpm-prefork), Python 2.4.3 > +1 Linux Fedora Core 6, Apache 2.2.3 (mpm-prefork), Python 2.4.4 > +1 Linux Fedora Core 6 i386, Apache 2.2.3 (mpm-prefork), Python 2.4.4 > +1 Linux Fedora Core 6 x86_64, Apache 2.2.3 (mpm-prefork), Python 2.4.4 > +1 Linux Slackware 10.2, Apache 2.2.3 (mpm-prefork), Python 2.4.1 > +1 Linux Ubuntu 6.0.6, Apache 2.0.55 (mpm-worker), Python 2.4.3 > +1 Linux Ubuntu 6.10, Apache 2.0.55 (mpm-prefork), Python 2.4.4c1 > +1 Mac OS 10.4.8 (Intel), Apache 2.0.59 (mpm-prefork), Python 2.5 > +1 Mac OS X (Darwin 8.8.1, Intel), Apache 2.2.3 (mpm-prefork), Python 2.4.2 > +1 Mac OS X (PowerPC), Apache 2.0.55 (mpm-worker), Python 2.3.5 (OS > Supplied Version) > +1 Mac OS X (PowerPC), Apache 2.2.1 (mpm-worker), Python 2.3.5 (OS > Supplied Version) > +1 Microsoft Windows XP, Apache 2.0.58 (mpm_winnt), Python 2.4 > +1 Microsoft Windows XP, Apache 2.0.58 (mpm_winnt), Python 2.5 > +1 Microsoft Windows XP, Apache 2.2.2 (mpm_winnt), Python 2.4 > +1 Microsoft Windows XP, Apache 2.2.2 (mpm_winnt), Python 2.5 > +1 Solaris 10 (Sparc), Apache 2.0.59 (mpm-prefork), Python 2.5 > > Jim From [email protected] Sun Jan 14 03:57:49 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69641 invoked from network); 14 Jan 2007 03:57:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jan 2007 03:57:48 -0000 Received: (qmail 30171 invoked by uid 500); 14 Jan 2007 03:57:55 -0000 Delivered-To: [email protected] Received: (qmail 30134 invoked by uid 500); 14 Jan 2007 03:57:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <python-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 30122 invoked by uid 99); 14 Jan 2007 03:57:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Jan 2007 19:57:54 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Jan 2007 19:57:47 -0800 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 7ECE37142F4 for <[email protected]>; Sat, 13 Jan 2007 19:57:27 -0800 (PST) Message-ID: <12086937.1168747047489.JavaMail.jira@brutus> Date: Sat, 13 Jan 2007 19:57:27 -0800 (PST) From: "Graham Dumpleton (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (MODPYTHON-210) FieldStorage wrongly assumes boundary is last attribute in Content-Type headers value. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org FieldStorage wrongly assumes boundary is last attribute in Content-Type headers value. -------------------------------------------------------------------------------------- Key: MODPYTHON-210 URL: https://issues.apache.org/jira/browse/MODPYTHON-210 Project: mod_python Issue Type: Bug Components: core Affects Versions: 3.2.10, 3.3 Reporter: Graham Dumpleton Mozilla can generate multipart content that looks like: Content-Length: 522 Content-Type: multipart/related; boundary=---------------------------13592280651221337293469391600; type="application/xml"; start="<[email protected] >" Cookie: lang=1 This highlights an issue with util.FieldStorage in that it assumes that the boundary attribute of the Content-Type header will always be the last thing in the value. Ie., the code in FieldStorage is: # figure out boundary try: i = ctype.lower().rindex("boundary=") boundary = ctype[i+9:] if len(boundary) >= 2 and boundary[0] == boundary[-1] == '"': boundary = boundary[1:-1] boundary = re.compile("--" + re.escape(boundary) + "(--)?\r?\n") The FieldStorage code should correctly split out all attributes from the line and then deal with list the boundary attribute by itself and not make assumptions about the order of attributes on the line. The code is also questionable depending on whether it is guaranteed by Apache that trailing space is striped from the value of headers. If there is trailing white space it will interfere with the check for whether the boundary is surrounded by quotes. Finally, does the specification for HTTP headers always entail the use of a double quote as this is the only thing that is checked for? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sun Jan 14 04:03:48 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70333 invoked from network); 14 Jan 2007 04:03:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jan 2007 04:03:48 -0000 Received: (qmail 33456 invoked by uid 500); 14 Jan 2007 04:03:55 -0000 Delivered-To: [email protected] Received: (qmail 33436 invoked by uid 500); 14 Jan 2007 04:03:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <python-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 33425 invoked by uid 99); 14 Jan 2007 04:03:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Jan 2007 20:03:54 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Jan 2007 20:03:47 -0800 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 7CB057142F4 for <[email protected]>; Sat, 13 Jan 2007 20:03:27 -0800 (PST) Message-ID: <5875159.1168747407492.JavaMail.jira@brutus> Date: Sat, 13 Jan 2007 20:03:27 -0800 (PST) From: "Graham Dumpleton (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (MODPYTHON-211) Potential memory leak in req.readlines(). MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Potential memory leak in req.readlines(). ----------------------------------------- Key: MODPYTHON-211 URL: https://issues.apache.org/jira/browse/MODPYTHON-211 Project: mod_python Issue Type: Bug Components: core Affects Versions: 3.2.10, 3.3 Reporter: Graham Dumpleton This code in req.readlines() looks a bit fishy to me and possibly leaks memory. The code in question is: rlargs = PyTuple_New(0); if (result == NULL) return PyErr_NoMemory(); line = req_readline(self, rlargs); while (line && ((linesize=PyString_Size(line))>0)) { PyList_Append(result, line); size += linesize; if ((sizehint != -1) && (size >= sizehint)) break; Py_DECREF(line); line = req_readline(self, args); } Py_XDECREF(line); The thing that looks wrong is 'rlargs'. This is created, used in a sub call to req_readline() but then never destroyed. Thus, possibly a memory leak. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sun Jan 14 04:18:48 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71630 invoked from network); 14 Jan 2007 04:18:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jan 2007 04:18:48 -0000 Received: (qmail 36594 invoked by uid 500); 14 Jan 2007 04:18:55 -0000 Delivered-To: [email protected] Received: (qmail 36574 invoked by uid 500); 14 Jan 2007 04:18:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <python-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 36563 invoked by uid 99); 14 Jan 2007 04:18:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Jan 2007 20:18:54 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Jan 2007 20:18:47 -0800 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 7F5377142F4 for <[email protected]>; Sat, 13 Jan 2007 20:18:27 -0800 (PST) Message-ID: <18556414.1168748307494.JavaMail.jira@brutus> Date: Sat, 13 Jan 2007 20:18:27 -0800 (PST) From: "Graham Dumpleton (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (MODPYTHON-212) req.read() with no arguments doesn't return all data where input filter inserts extra data in input stream. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org req.read() with no arguments doesn't return all data where input filter inserts extra data in input stream. ----------------------------------------------------------------------------------------------------------- Key: MODPYTHON-212 URL: https://issues.apache.org/jira/browse/MODPYTHON-212 Project: mod_python Issue Type: Bug Components: core Affects Versions: 3.2.10, 3.3 Reporter: Graham Dumpleton The req.read() function when supplied with no arguments is supposed to return all available data from the request body input stream. To do this it uses req.remaining as the amount of data still to be read and will only read up to that amount of data. The problem with this is that req.remaining is originally set to be the value of the Content-Length header of the request. This however may not actually be how much data there is to read as input filters may actually remove or add data to the input stream. This will not cause a problem when an input filter removes data as the amount it thinks there is to read will still be more than what is actually available after the input filter has removed data. In the case of an input filter that inserts additional data, the amount of data to be read will actually exceed the value of req.remaining and as a consequence req.read() will not return all the available data. Even subsequent calls to req.read() with no arguments will not return all the data as req.remaining by then is zero and it will think it has read all the available data. The only way to get all the data is to make successive calls to req.read() but supply some size as argument. Calls should be made to req.read() with the argument until req.read() returns an empty string. Only when it returns an empty string are you sure all data has been returned. This problem will also affect req.readline() as it uses req.remaining in a similar way. The req.readlines() function is also possibly indirectly affected as it calls req.readline() to read individual lines and so it may not be able to access any additional lines beyond the original content length specified in the request. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sun Jan 14 04:31:49 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 72494 invoked from network); 14 Jan 2007 04:31:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jan 2007 04:31:48 -0000 Received: (qmail 39607 invoked by uid 500); 14 Jan 2007 04:31:55 -0000 Delivered-To: [email protected] Received: (qmail 39580 invoked by uid 500); 14 Jan 2007 04:31:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <python-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 39569 invoked by uid 99); 14 Jan 2007 04:31:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Jan 2007 20:31:55 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Jan 2007 20:31:47 -0800 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 7F52C7142F4 for <[email protected]>; Sat, 13 Jan 2007 20:31:27 -0800 (PST) Message-ID: <24595351.1168749087491.JavaMail.jira@brutus> Date: Sat, 13 Jan 2007 20:31:27 -0800 (PST) From: "Graham Dumpleton (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (MODPYTHON-213) Investigate being able to create sessions as 'secure' or 'httponly'. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Investigate being able to create sessions as 'secure' or 'httponly'. -------------------------------------------------------------------- Key: MODPYTHON-213 URL: https://issues.apache.org/jira/browse/MODPYTHON-213 Project: mod_python Issue Type: Task Components: session Reporter: Graham Dumpleton Priority: Minor As per original request: http://www.modpython.org/pipermail/mod_python/2006-December/022803.html and subsequent discussion, investigate whether sessions should be able to be created such that the underlying cookie is using either the 'httponly' or 'secure' cookie attributes. Note that the thread in the mailing list archive doesn't join together properly so you need to look for the similar subject lines in the thread index. At the end of the discussion it wasn't completely clear how things would behave if these attributes were used and thus what the outcome would be so it wasn't pursued further. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sun Jan 14 04:36:49 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 72765 invoked from network); 14 Jan 2007 04:36:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jan 2007 04:36:48 -0000 Received: (qmail 40161 invoked by uid 500); 14 Jan 2007 04:36:55 -0000 Delivered-To: [email protected] Received: (qmail 40138 invoked by uid 500); 14 Jan 2007 04:36:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <python-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 40126 invoked by uid 99); 14 Jan 2007 04:36:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Jan 2007 20:36:54 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Jan 2007 20:36:47 -0800 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 8079E7142F4 for <[email protected]>; Sat, 13 Jan 2007 20:36:27 -0800 (PST) Message-ID: <22372339.1168749387496.JavaMail.jira@brutus> Date: Sat, 13 Jan 2007 20:36:27 -0800 (PST) From: "Graham Dumpleton (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (MODPYTHON-214) Look more into Win32 compiler warnings. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Look more into Win32 compiler warnings. --------------------------------------- Key: MODPYTHON-214 URL: https://issues.apache.org/jira/browse/MODPYTHON-214 Project: mod_python Issue Type: Task Reporter: Graham Dumpleton Priority: Minor Compilation on Win32 using VisualStudio project file throws up a lot of warnings still with 3.3. This was highlighted by Jeff Robins. http://mail-archives.apache.org/[email protected]%3e The errors from the post are: ------ Build started: Project: mod_python, Configuration: Release Win32 ------ Compiling... finfoobject.c c:\Python25\include\pyconfig.h(309) : warning C4005: 'PLATFORM' : macro redefinition c:\Program Files\Apache Software Foundation\Apache2.2\include\os.h(41) : see previous definition of 'PLATFORM' finfoobject.c(129) : warning C4047: 'function' : 'long' differs in levels of indirection from 'apr_uid_t' finfoobject.c(137) : warning C4047: 'function' : 'long' differs in levels of indirection from 'apr_gid_t' finfoobject.c(145) : warning C4244: 'function' : conversion from 'apr_ino_t' to 'long', possible loss of data finfoobject.c(173) : warning C4244: 'function' : conversion from 'apr_off_t' to 'long', possible loss of data finfoobject.c(183) : warning C4244: 'function' : conversion from 'double' to 'long', possible loss of data finfoobject.c(191) : warning C4244: 'function' : conversion from 'double' to 'long', possible loss of data finfoobject.c(199) : warning C4244: 'function' : conversion from 'double' to 'long', possible loss of data util.c util.c(122) : warning C4244: 'function' : conversion from 'apr_ino_t' to 'long', possible loss of data util.c(140) : warning C4047: 'function' : 'long' differs in levels of indirection from 'apr_uid_t' util.c(146) : warning C4047: 'function' : 'long' differs in levels of indirection from 'apr_gid_t' util.c(152) : warning C4244: 'function' : conversion from 'apr_off_t' to 'long', possible loss of data util.c(158) : warning C4244: 'function' : conversion from 'double' to 'long', possible loss of data util.c(164) : warning C4244: 'function' : conversion from 'double' to 'long', possible loss of data util.c(170) : warning C4244: 'function' : conversion from 'double' to 'long', possible loss of data tableobject.c serverobject.c requestobject.c requestobject.c(886) : warning C4244: '=' : conversion from 'apr_off_t' to 'long', possible loss of data requestobject.c(986) : warning C4244: '=' : conversion from 'apr_off_t' to 'long', possible loss of data requestobject.c(1434) : warning C4244: '=' : conversion from 'apr_off_t' to 'apr_size_t', possible loss of data requestobject.c(1609) : warning C4244: 'initializing' : conversion from 'apr_off_t' to 'long', possible loss of data mod_python.c mod_python.c(429) : warning C4101: 'mutex_dir' : unreferenced local variable mod_python.c(1985) : warning C4244: 'function' : conversion from 'apr_off_t' to 'apr_size_t', possible loss of data mod_python.c(2028) : warning C4101: 'tmp_buck' : unreferenced local variable hlistobject.c hlist.c filterobject.c filterobject.c(234) : warning C4018: '>' : signed/unsigned mismatch filterobject.c(243) : warning C4018: '<' : signed/unsigned mismatch connobject.c connobject.c(155) : warning C4018: '>' : signed/unsigned mismatch _apachemodule.c Compiling resources... Linking... Creating library .\Release/mod_python.lib and object .\Release/mod_python.exp Build log was saved at "file://c:\work\mod_python-3.3.0-dev-20061109\src\Release\BuildLog.htm" mod_python - 0 error(s), 25 warning(s) Compiling with -Wall on UNIX systems when using gcc might help as default options on gcc may not be showing these, that or it comes down to different type definitions on Win32. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sun Jan 14 07:58:49 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92398 invoked from network); 14 Jan 2007 07:58:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jan 2007 07:58:48 -0000 Received: (qmail 97602 invoked by uid 500); 14 Jan 2007 07:58:55 -0000 Delivered-To: [email protected] Received: (qmail 97574 invoked by uid 500); 14 Jan 2007 07:58:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <python-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 97563 invoked by uid 99); 14 Jan 2007 07:58:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Jan 2007 23:58:54 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Jan 2007 23:58:47 -0800 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 804DA7142F4 for <[email protected]>; Sat, 13 Jan 2007 23:58:27 -0800 (PST) Message-ID: <10045655.1168761507495.JavaMail.jira@brutus> Date: Sat, 13 Jan 2007 23:58:27 -0800 (PST) From: "Graham Dumpleton (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (MODPYTHON-215) Using compression on request content and FieldStorage can cause problems. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Using compression on request content and FieldStorage can cause problems. ------------------------------------------------------------------------- Key: MODPYTHON-215 URL: https://issues.apache.org/jira/browse/MODPYTHON-215 Project: mod_python Issue Type: Bug Components: core Affects Versions: 3.2.10, 3.3 Reporter: Graham Dumpleton The problems occur when a client uses 'Content-Encoding' of 'gzip', ie., it compresses the content of a POST request and Apache is configured to decompress it. The first issue is that the original content length header will be the length of data in the body before it is decompressed. If the content type is "application/x-www-form-urlencoded" this will result in not all the decompressed data (which would normally be greater in size) being read in and used as it uses the original value of the content length header explicitly when doing the read. if ctype.startswith("application/x-www-form-urlencoded"): pairs = parse_qsl(req.read(clen), keep_blank_values) Note that the change in content size is not a problem with "multipart/*" POST requests as it reads data in blocks until req.read() returns an empty string to indicate end of data and doesn't consult content [email protected]. The second issue is if Apache 2.2 is being used and the mod_filter FilterProtocol directive is used to correctly indicate that input filters are being used which will change the size of the content, then it will actually zap the content length header, removing it from the set of input headers. If this is done it will cause FieldStorage to wrongly flag the request as not having a content length specified in the first place. try: clen = int(req.headers_in["content-length"]) except (KeyError, ValueError): # absent content-length is not acceptable raise apache.SERVER_RETURN, apache.HTTP_LENGTH_REQUIRED What should be done to fix this later issue is for FieldStorage to rely on the fact that req.read() internally performs a check on first read to ensure that the content length header was set. It would just need to be checked that this check is before mod_filter zaps the content length header on determining that a input filter which actually change the length. As to the attempt to use the content length header when it is "application/x-www-form-urlencoded", it perhaps can do blocked reads as well until it accumulates all the content, join it back together and then use it. Note that it can't just use req.read() with no arguments because of MODPYTHON-212. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Tue Jan 16 07:54:37 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56929 invoked from network); 16 Jan 2007 07:54:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Jan 2007 07:54:37 -0000 Received: (qmail 58488 invoked by uid 500); 16 Jan 2007 07:54:43 -0000 Delivered-To: [email protected] Received: (qmail 58458 invoked by uid 500); 16 Jan 2007 07:54:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <python-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 58447 invoked by uid 99); 16 Jan 2007 07:54:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jan 2007 23:54:43 -0800 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO relay.iol.cz) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jan 2007 23:54:32 -0800 Received: from [161.129.204.104] (ip-85-160-67-73.eurotel.cz [161.129.204.104]) by relay.iol.cz (Postfix) with ESMTP id 2857535E80 for <[email protected]>; Tue, 16 Jan 2007 08:54:10 +0100 (CET) From: [email protected] To: [email protected] Date: Tue, 16 Jan 2007 08:54:00 +0100 MIME-Version: 1.0 Subject: Memory leak - bug or common feature? Reply-to: [email protected] Message-ID: <[email protected]> Priority: normal X-mailer: Pegasus Mail for Windows (4.31) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Virus-Checked: Checked by ClamAV on apache.org I have this, very simple input filter def inputfilter(filter): if filter.req.method != 'POST': filter.pass_on() return filter.req.log_error('first read') s = filter.read() while s: filter.req.log_error('writing (%s)' % len(s)) filter.write(s) #filter.flush() s = filter.read() if s is None: filter.req.log_error('closing') filter.close() I would like to use an input filter for uploading large files. I would expect that after each writing/reading, filter releases memory.But instead memory increases during reading/writing and no memory is released after each reading/writing. Is it a common feature that the filter during reading/writing does NOT release memory and memory increases until the whole file is uploaded? Or is my presumption correct that the memory should be released during each reading/writing in the filter? Thank you for help and reply. Lad. From [email protected] Tue Jan 16 10:16:44 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16180 invoked from network); 16 Jan 2007 10:16:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Jan 2007 10:16:44 -0000 Received: (qmail 27043 invoked by uid 500); 16 Jan 2007 10:16:50 -0000 Delivered-To: [email protected] Received: (qmail 27018 invoked by uid 500); 16 Jan 2007 10:16:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <python-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 27007 invoked by uid 99); 16 Jan 2007 10:16:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jan 2007 02:16:50 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO ipmail02.adl2.internode.on.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jan 2007 02:16:41 -0800 Received: from ppp4-54.lns1.syd7.internode.on.net (HELO [161.129.204.104]) ([161.129.204.104]) by ipmail02.adl2.internode.on.net with ESMTP; 16 Jan 2007 20:46:06 +1030 X-IronPort-AV: i="4.13,194,1167571800"; d="scan'208"; a="72204631:sNHT23773631203" In-Reply-To: <[email protected]> References: <[email protected]> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <[email protected]> Cc: [email protected] Content-Transfer-Encoding: 7bit From: Graham Dumpleton <[email protected]> Subject: Re: Memory leak - bug or common feature? Date: Tue, 16 Jan 2007 21:16:02 +1100 To: [email protected] X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org On 16/01/2007, at 6:54 PM, [email protected] wrote: > I have this, very simple input filter > > def inputfilter(filter): > if filter.req.method != 'POST': > filter.pass_on() > return > filter.req.log_error('first read') > s = filter.read() > while s: > filter.req.log_error('writing (%s)' % len(s)) > filter.write(s) > #filter.flush() > s = filter.read() > if s is None: > filter.req.log_error('closing') > filter.close() > > I would like to use an input filter for uploading large files. > I would expect that after each writing/reading, filter releases > memory.But instead memory > increases during reading/writing and no memory is released after > each reading/writing. > Is it a common feature that the filter during reading/writing does > NOT release memory and > memory increases until the whole file is uploaded? > Or is my presumption correct that the memory should be released > during each > reading/writing in the filter? > Thank you for help and reply. Since I don't recollect you saying what version of mod_python you are using, I would suggest you upgrade to mod_python 3.3.0b if you aren't using it already. Once you have confirmed that you still have the problem with that version let us know. Also state which versions of Apache and Python you are using at the same time. For 3.3.0b see: http://httpd.apache.org/modules/python-download.cgi http://nicolas.lehuen.com/download/mod_python/ The latter has Windows binaries for various Apache/Python combos. Graham From [email protected] Wed Jan 17 09:55:29 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23075 invoked from network); 17 Jan 2007 09:55:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jan 2007 09:55:29 -0000 Received: (qmail 30301 invoked by uid 500); 17 Jan 2007 09:55:35 -0000 Delivered-To: [email protected] Received: (qmail 30283 invoked by uid 500); 17 Jan 2007 09:55:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <python-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 30267 invoked by uid 99); 17 Jan 2007 09:55:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jan 2007 01:55:35 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=HTML_MESSAGE,MIME_HTML_ONLY,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO relay.iol.cz) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jan 2007 01:55:25 -0800 Received: from [161.129.204.104] (ip-85-160-79-220.eurotel.cz [161.129.204.104]) by relay.iol.cz (Postfix) with ESMTP id E845137324; Wed, 17 Jan 2007 10:54:55 +0100 (CET) From: [email protected] To: Graham Dumpleton <[email protected]>, [email protected] Date: Wed, 17 Jan 2007 10:54:26 +0100 MIME-Version: 1.0 Subject: Mod_python: Memory leak - bug or common feature? Reply-to: [email protected] Message-ID: <[email protected]> Priority: normal In-reply-to: <[email protected]> References: <[email protected]> X-mailer: Pegasus Mail for Windows (4.31) Content-type: text/html; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Virus-Checked: Checked by ClamAV on apache.org <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head> <title></title> <meta http-equiv="content-type" content="text/html;charset=utf-8"/> <meta http-equiv="Content-Style-Type" content="text/css"/> </head> <body> <div align="left"><font face="Arial" size="2"><span style="font-size:10pt"><br /> </span></font></div> <div align="left"><font face="Arial" size="2"><span style="font-size:10pt">Thank you for your reply.</span></font></div> <div align="left"><font face="Arial" size="2"><span style="font-size:10pt">Now I use</span></font></div> <div align="left"><font face="Arial" size="2"><span style="font-size:10pt"> Apache 2.2.4</span></font></div> <div align="left"><font face="Arial" size="2"><span style="font-size:10pt">Mod_python 3.3.0.b</span></font></div> <div align="left"><font face="Arial" size="2"><span style="font-size:10pt">Python 2.3.5</span></font></div> <div align="left"><font face="Arial" size="2"><span style="font-size:10pt">The results are more or less the same when I used </span></font></div> <div align="left"><font face="Arial" size="2"><span style="font-size:10pt">Apache 2.0</span></font></div> <div align="left"><font face="Arial" size="2"><span style="font-size:10pt">and mod_python 3.1.3-1</span></font></div> <div align="left"><font face="Arial" size="2"><span style="font-size:10pt">Python 2.3.4</span></font></div> <div align="left"><font face="Arial" size="2"><span style="font-size:10pt"><br /> </span></font></div> <div align="left"><font face="Arial" size="2"><span style="font-size:10pt">Memory increases when I read&#160; (</span></font><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">filter.read()) </span></font><font face="Arial" size="2"><span style="font-size:10pt">or write(</span></font><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt"> filter.write(s).</span></font></div> <div align="left"><font face="Arial" size="2"><span style="font-size:10pt">In otherwords, memory is not released after&#160; I wrote data to a file( before next reading).</span></font></div> <div align="left"><font face="Arial" size="2"><span style="font-size:10pt"><br /> </span></font></div> <div align="left"><font face="Arial" size="2"><span style="font-size:10pt">Is&#160; my presumption correct that the memory should be released&#160; </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt"> during each</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt"> reading/writing in the filter?</span></font></div> <div align="left"><font face="Arial" size="2"><span style="font-size:10pt">Or do I make a mistake somewhere?</span></font></div> <div align="left"><font face="Arial" size="2"><span style="font-size:10pt">Thank you for help</span></font></div> <div align="left"><font face="Arial" size="2"><span style="font-size:10pt"><br /> </span></font></div> <div align="left"><font face="Arial" size="2"><span style="font-size:10pt">Regards,</span></font></div> <div align="left"><font face="Arial" size="2"><span style="font-size:10pt">Lad.</span></font></div> <div align="left"><font face="Arial" size="2"><span style="font-size:10pt"><br /> </span></font></div> <div align="left"><font face="Arial" size="2"><span style="font-size:10pt"><br /> </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; On 16/01/2007, at 6:54 PM, [email protected] wrote:</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; &gt; I have this, very simple input filter</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; &gt;</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; &gt; def inputfilter(filter):</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; &gt;&#160;&#160;&#160;&#160; if filter.req.method != 'POST':</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; &gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; filter.pass_on()</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; &gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; return</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; &gt;&#160;&#160;&#160;&#160; filter.req.log_error('first read')</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; &gt;&#160;&#160;&#160;&#160; s = filter.read()</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; &gt;&#160;&#160;&#160;&#160; while s:</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; &gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; filter.req.log_error('writing (%s)' % len(s))</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; &gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; filter.write(s)</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; &gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; #filter.flush()</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; &gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; s = filter.read()</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; &gt;&#160;&#160;&#160;&#160; if s is None:</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; &gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; filter.req.log_error('closing')</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; &gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; filter.close()</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; &gt;</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; &gt; I would like to use an input filter&#160; for uploading large files.</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; &gt; I would expect that after each writing/reading, filter releases&#160; </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; &gt; memory.But instead memory</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; &gt; increases during reading/writing&#160; and no memory is released after&#160; each</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; &gt; reading/writing. Is it a common feature that the filter during</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; &gt; reading/writing does&#160; NOT release memory and memory increases until the</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; &gt; whole file is uploaded? Or is&#160; my presumption correct that the memory</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; &gt; should be released&#160; during each reading/writing in the filter? Thank you</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; &gt; for help and reply.</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; Since I don't recollect you saying what version of mod_python you are</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; using, I would suggest you upgrade to mod_python 3.3.0b if you aren't</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; using it already. Once you have confirmed that you still have the&#160; problem</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; with that version let us know. Also state which versions of Apache and</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; Python you are using at the same time.</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; For 3.3.0b see:</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;&#160;&#160;&#160; http://httpd.apache.org/modules/python-download.cgi</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;&#160;&#160;&#160; http://nicolas.lehuen.com/download/mod_python/</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; The latter has Windows binaries for various Apache/Python combos.</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt; Graham</span></font></div> <div align="left"></div> </body> </html> From [email protected] Wed Jan 17 10:08:17 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26032 invoked from network); 17 Jan 2007 10:08:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jan 2007 10:08:16 -0000 Received: (qmail 59898 invoked by uid 500); 17 Jan 2007 10:08:22 -0000 Delivered-To: [email protected] Received: (qmail 59873 invoked by uid 500); 17 Jan 2007 10:08:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <python-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 59862 invoked by uid 99); 17 Jan 2007 10:08:22 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jan 2007 02:08:22 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO ipmail02.adl2.internode.on.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jan 2007 02:08:13 -0800 Received: from ppp4-54.lns1.syd7.internode.on.net (HELO [161.129.204.104]) ([161.129.204.104]) by ipmail02.adl2.internode.on.net with ESMTP; 17 Jan 2007 20:37:47 +1030 X-IronPort-AV: i="4.13,199,1167571800"; d="scan'208,217"; a="72692166:sNHT50799672" In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: multipart/alternative; boundary=Apple-Mail-1--404780348 Message-Id: <[email protected]> Cc: [email protected] From: Graham Dumpleton <[email protected]> Subject: Re: Mod_python: Memory leak - bug or common feature? Date: Wed, 17 Jan 2007 21:07:43 +1100 To: [email protected] X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-1--404780348 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On 17/01/2007, at 8:54 PM, [email protected] wrote: > > Thank you for your reply. > Now I use > Apache 2.2.4 > Mod_python 3.3.0.b > Python 2.3.5 > The results are more or less the same when I used > Apache 2.0 > and mod_python 3.1.3-1 > Python 2.3.4 > > Memory increases when I read (filter.read()) or write( filter.write > (s). > In otherwords, memory is not released after I wrote data to a file > ( before next reading). > > Is my presumption correct that the memory should be released > during each > reading/writing in the filter? > Or do I make a mistake somewhere? You are giving conflicting information. Previously you said you were running out of resources which suggested runaway memory use. Ie., process size just kept growing and growing until machine memory exhausted. Is that what is happening or were you more echoing your concerns rather than what was happening. What you will probably see after having restarted Apache and then doing an initial upload is that memory use by Apache will grow as it reads in more and more of the file. Once the complete request has been serviced, Apache will continue to use at least as much memory as it allocated by that point. You will not see the Apache process size shrink as once the Apache process has allocated memory, it notionally does not give it back to the operating system until the process has quit. This doesn't mean it is lost though as it is put on a free list within the Apache process itself and when a subsequent upload of same file for example occurs, it will just use that free memory. Thus, process size will grow on the first request but if you keep doing the same request, the process size should stay reasonably stable. Note that how much the Apache process grows to initially can depend a bit on how a handler deals with a file upload. If the response handler does a req.read() and then processes it all in one go, it will have to hold the whole file in memory and so if it is a big file it will use a lot. If instead the response handler read in the file in small blocks at a time using req.read (blocksize) and process each block and then discarded it, the memory use by Apache will be less as it doesn't have to hold the whole file in memory but more or less just what it is processing. It is hard to tell if you do have a problem with a memory leak or whether you just understand how memory allocation works for processes. What are you using to monitor memory use? Does memory use keep growing continually after every request or does it plateau after the initial increases with the firs requests? Graham > Thank you for help > > Regards, > Lad. > > > > On 16/01/2007, at 6:54 PM, [email protected] wrote: > > > > > I have this, very simple input filter > > > > > > def inputfilter(filter): > > > if filter.req.method != 'POST': > > > filter.pass_on() > > > return > > > filter.req.log_error('first read') > > > s = filter.read() > > > while s: > > > filter.req.log_error('writing (%s)' % len(s)) > > > filter.write(s) > > > #filter.flush() > > > s = filter.read() > > > if s is None: > > > filter.req.log_error('closing') > > > filter.close() > > > > > > I would like to use an input filter for uploading large files. > > > I would expect that after each writing/reading, filter releases > > > memory.But instead memory > > > increases during reading/writing and no memory is released > after each > > > reading/writing. Is it a common feature that the filter during > > > reading/writing does NOT release memory and memory increases > until the > > > whole file is uploaded? Or is my presumption correct that the > memory > > > should be released during each reading/writing in the filter? > Thank you > > > for help and reply. > > > > Since I don't recollect you saying what version of mod_python you > are > > using, I would suggest you upgrade to mod_python 3.3.0b if you > aren't > > using it already. Once you have confirmed that you still have > the problem > > with that version let us know. Also state which versions of > Apache and > > Python you are using at the same time. > > > > For 3.3.0b see: > > > > http://httpd.apache.org/modules/python-download.cgi > > http://nicolas.lehuen.com/download/mod_python/ > > > > The latter has Windows binaries for various Apache/Python combos. > > > > Graham --Apple-Mail-1--404780348 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 <HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; = -khtml-line-break: after-white-space; "><BR><DIV><DIV>On 17/01/2007, at = 8:54 PM, <A href=3D"mailto:[email protected]">[email protected]</A> = wrote:</DIV><BR class=3D"Apple-interchange-newline"><BLOCKQUOTE = type=3D"cite"> <DIV align=3D"left"><FONT face=3D"Arial" size=3D"2"><SPAN = style=3D"font-size:10pt"><BR> </SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" size=3D"2"><SPAN = style=3D"font-size:10pt">Thank you for your reply.</SPAN></FONT></DIV> = <DIV align=3D"left"><FONT face=3D"Arial" size=3D"2"><SPAN = style=3D"font-size:10pt">Now I use</SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" size=3D"2"><SPAN = style=3D"font-size:10pt"> Apache 2.2.4</SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" size=3D"2"><SPAN = style=3D"font-size:10pt">Mod_python 3.3.0.b</SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" size=3D"2"><SPAN = style=3D"font-size:10pt">Python 2.3.5</SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" size=3D"2"><SPAN = style=3D"font-size:10pt">The results are more or less the same when I = used </SPAN></FONT></DIV> <DIV align=3D"left"><FONT face=3D"Arial" = size=3D"2"><SPAN style=3D"font-size:10pt">Apache 2.0</SPAN></FONT></DIV> = <DIV align=3D"left"><FONT face=3D"Arial" size=3D"2"><SPAN = style=3D"font-size:10pt">and mod_python 3.1.3-1</SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" size=3D"2"><SPAN = style=3D"font-size:10pt">Python 2.3.4</SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" size=3D"2"><SPAN = style=3D"font-size:10pt"><BR> </SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" size=3D"2"><SPAN = style=3D"font-size:10pt">Memory increases when I read=A0 = (</SPAN></FONT><FONT face=3D"Arial" color=3D"#7f0000" size=3D"2"><SPAN = style=3D"font-size:10pt">filter.read()) </SPAN></FONT><FONT face=3D"Arial"= size=3D"2"><SPAN style=3D"font-size:10pt">or write(</SPAN></FONT><FONT = face=3D"Arial" color=3D"#7f0000" size=3D"2"><SPAN = style=3D"font-size:10pt"> filter.write(s).</SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" size=3D"2"><SPAN = style=3D"font-size:10pt">In otherwords, memory is not released after=A0 = I wrote data to a file( before next reading).</SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" size=3D"2"><SPAN = style=3D"font-size:10pt"><BR> </SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" size=3D"2"><SPAN = style=3D"font-size:10pt">Is=A0 my presumption correct that the memory = should be released=A0 </SPAN></FONT></DIV> <DIV align=3D"left"><FONT = face=3D"Arial" color=3D"#7f0000" size=3D"2"><SPAN = style=3D"font-size:10pt"> during each</SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" color=3D"#7f0000" size=3D"2"><SPAN = style=3D"font-size:10pt"> reading/writing in the = filter?</SPAN></FONT></DIV> <DIV align=3D"left"><FONT face=3D"Arial" = size=3D"2"><SPAN style=3D"font-size:10pt">Or do I make a mistake = somewhere?</SPAN></FONT></DIV></BLOCKQUOTE><DIV><BR = class=3D"khtml-block-placeholder"></DIV><DIV>You are giving conflicting = information. Previously you said you were running</DIV><DIV>out of = resources which suggested runaway memory use. Ie., process = size</DIV><DIV>just kept growing and growing until machine memory = exhausted. Is that what</DIV><DIV>is happening or were you more echoing = your concerns rather than what was</DIV><DIV>happening.</DIV><DIV><BR = class=3D"khtml-block-placeholder"></DIV><DIV>What you will probably see = after having restarted Apache and then doing an</DIV><DIV>initial upload = is that memory use by Apache will grow as it reads in more = and</DIV><DIV>more of the file. Once the complete request has been = serviced, Apache will</DIV><DIV>continue to use at least as much memory = as it allocated by that point. You</DIV><DIV>will not see the Apache = process size shrink as once the Apache process</DIV><DIV>has allocated = memory, it notionally does not give it back to the operating = system</DIV><DIV>until the process has quit. This doesn't mean it is = lost though as it is put on</DIV><DIV>a free list within the Apache = process itself and when a subsequent upload of</DIV><DIV>same file for = example occurs, it will just use that free memory. Thus, = process</DIV><DIV>size will grow on the first request but if you keep = doing the same request, the</DIV><DIV>process size should stay = reasonably stable.</DIV><DIV><BR = class=3D"khtml-block-placeholder"></DIV><DIV>Note that how much the = Apache process grows to initially can depend a bit</DIV><DIV>on how a = handler deals with a file upload. If the response handler does = a</DIV><DIV>req.read() and=A0then processes it all in one go, it will = have to hold the whole</DIV><DIV>file in memory and so if it is a big = file it will use a lot. If instead the response</DIV><DIV>handler read = in the file in small blocks at a time using = req.read(blocksize)</DIV><DIV>and process each block and then discarded = it, the memory use by Apache</DIV><DIV>will be less as it doesn't have = to hold the whole file in memory but more or</DIV><DIV>less just what it = is processing.</DIV><DIV><BR = class=3D"khtml-block-placeholder"></DIV><DIV>It is hard to tell if you = do have a problem with a memory leak or whether you</DIV><DIV>just = understand how=A0memory allocation works for processes.</DIV><DIV><BR = class=3D"khtml-block-placeholder"></DIV><DIV>What are you using to = monitor memory use? Does memory use keep growing</DIV><DIV>continually = after every request or does it plateau after the initial = increases</DIV><DIV>with the firs requests?</DIV><DIV><BR = class=3D"khtml-block-placeholder"></DIV><DIV>Graham</DIV><BR><BLOCKQUOTE = type=3D"cite"> <DIV align=3D"left"><FONT face=3D"Arial" size=3D"2"><SPAN = style=3D"font-size:10pt">Thank you for help</SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" size=3D"2"><SPAN = style=3D"font-size:10pt"><BR> </SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" size=3D"2"><SPAN = style=3D"font-size:10pt">Regards,</SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" size=3D"2"><SPAN = style=3D"font-size:10pt">Lad.</SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" size=3D"2"><SPAN = style=3D"font-size:10pt"><BR> </SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" size=3D"2"><SPAN = style=3D"font-size:10pt"><BR> </SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" color=3D"#7f0000" size=3D"2"><SPAN = style=3D"font-size:10pt">&gt; On 16/01/2007, at 6:54 PM, <A = href=3D"mailto:[email protected]">[email protected]</A> = wrote:</SPAN></FONT></DIV> <DIV align=3D"left"><FONT face=3D"Arial" = color=3D"#7f0000" size=3D"2"><SPAN style=3D"font-size:10pt">&gt; = </SPAN></FONT></DIV> <DIV align=3D"left"><FONT face=3D"Arial" = color=3D"#7f0000" size=3D"2"><SPAN style=3D"font-size:10pt">&gt; &gt; I = have this, very simple input filter</SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" color=3D"#7f0000" size=3D"2"><SPAN = style=3D"font-size:10pt">&gt; &gt;</SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" color=3D"#7f0000" size=3D"2"><SPAN = style=3D"font-size:10pt">&gt; &gt; def = inputfilter(filter):</SPAN></FONT></DIV> <DIV align=3D"left"><FONT = face=3D"Arial" color=3D"#7f0000" size=3D"2"><SPAN = style=3D"font-size:10pt">&gt; &gt;=A0=A0=A0=A0 if filter.req.method !=3D = 'POST':</SPAN></FONT></DIV> <DIV align=3D"left"><FONT face=3D"Arial" = color=3D"#7f0000" size=3D"2"><SPAN style=3D"font-size:10pt">&gt; = &gt;=A0=A0=A0=A0=A0=A0=A0=A0 filter.pass_on()</SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" color=3D"#7f0000" size=3D"2"><SPAN = style=3D"font-size:10pt">&gt; &gt;=A0=A0=A0=A0=A0=A0=A0=A0 = return</SPAN></FONT></DIV> <DIV align=3D"left"><FONT face=3D"Arial" = color=3D"#7f0000" size=3D"2"><SPAN style=3D"font-size:10pt">&gt; = &gt;=A0=A0=A0=A0 filter.req.log_error('first read')</SPAN></FONT></DIV> = <DIV align=3D"left"><FONT face=3D"Arial" color=3D"#7f0000" = size=3D"2"><SPAN style=3D"font-size:10pt">&gt; &gt;=A0=A0=A0=A0 s =3D = filter.read()</SPAN></FONT></DIV> <DIV align=3D"left"><FONT face=3D"Arial"= color=3D"#7f0000" size=3D"2"><SPAN style=3D"font-size:10pt">&gt; = &gt;=A0=A0=A0=A0 while s:</SPAN></FONT></DIV> <DIV align=3D"left"><FONT = face=3D"Arial" color=3D"#7f0000" size=3D"2"><SPAN = style=3D"font-size:10pt">&gt; &gt;=A0=A0=A0=A0=A0=A0=A0=A0 = filter.req.log_error('writing (%s)' % len(s))</SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" color=3D"#7f0000" size=3D"2"><SPAN = style=3D"font-size:10pt">&gt; &gt;=A0=A0=A0=A0=A0=A0=A0=A0 = filter.write(s)</SPAN></FONT></DIV> <DIV align=3D"left"><FONT = face=3D"Arial" color=3D"#7f0000" size=3D"2"><SPAN = style=3D"font-size:10pt">&gt; &gt;=A0=A0=A0=A0=A0=A0=A0=A0 = #filter.flush()</SPAN></FONT></DIV> <DIV align=3D"left"><FONT = face=3D"Arial" color=3D"#7f0000" size=3D"2"><SPAN = style=3D"font-size:10pt">&gt; &gt;=A0=A0=A0=A0=A0=A0=A0=A0 s =3D = filter.read()</SPAN></FONT></DIV> <DIV align=3D"left"><FONT face=3D"Arial"= color=3D"#7f0000" size=3D"2"><SPAN style=3D"font-size:10pt">&gt; = &gt;=A0=A0=A0=A0 if s is None:</SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" color=3D"#7f0000" size=3D"2"><SPAN = style=3D"font-size:10pt">&gt; &gt;=A0=A0=A0=A0=A0=A0=A0=A0 = filter.req.log_error('closing')</SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" color=3D"#7f0000" size=3D"2"><SPAN = style=3D"font-size:10pt">&gt; &gt;=A0=A0=A0=A0=A0=A0=A0=A0 = filter.close()</SPAN></FONT></DIV> <DIV align=3D"left"><FONT = face=3D"Arial" color=3D"#7f0000" size=3D"2"><SPAN = style=3D"font-size:10pt">&gt; &gt;</SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" color=3D"#7f0000" size=3D"2"><SPAN = style=3D"font-size:10pt">&gt; &gt; I would like to use an input filter=A0 = for uploading large files.</SPAN></FONT></DIV> <DIV align=3D"left"><FONT = face=3D"Arial" color=3D"#7f0000" size=3D"2"><SPAN = style=3D"font-size:10pt">&gt; &gt; I would expect that after each = writing/reading, filter releases=A0 </SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" color=3D"#7f0000" size=3D"2"><SPAN = style=3D"font-size:10pt">&gt; &gt; memory.But instead = memory</SPAN></FONT></DIV> <DIV align=3D"left"><FONT face=3D"Arial" = color=3D"#7f0000" size=3D"2"><SPAN style=3D"font-size:10pt">&gt; &gt; = increases during reading/writing=A0 and no memory is released after=A0 = each</SPAN></FONT></DIV> <DIV align=3D"left"><FONT face=3D"Arial" = color=3D"#7f0000" size=3D"2"><SPAN style=3D"font-size:10pt">&gt; &gt; = reading/writing. Is it a common feature that the filter = during</SPAN></FONT></DIV> <DIV align=3D"left"><FONT face=3D"Arial" = color=3D"#7f0000" size=3D"2"><SPAN style=3D"font-size:10pt">&gt; &gt; = reading/writing does=A0 NOT release memory and memory increases until = the</SPAN></FONT></DIV> <DIV align=3D"left"><FONT face=3D"Arial" = color=3D"#7f0000" size=3D"2"><SPAN style=3D"font-size:10pt">&gt; &gt; = whole file is uploaded? Or is=A0 my presumption correct that the = memory</SPAN></FONT></DIV> <DIV align=3D"left"><FONT face=3D"Arial" = color=3D"#7f0000" size=3D"2"><SPAN style=3D"font-size:10pt">&gt; &gt; = should be released=A0 during each reading/writing in the filter? Thank = you</SPAN></FONT></DIV> <DIV align=3D"left"><FONT face=3D"Arial" = color=3D"#7f0000" size=3D"2"><SPAN style=3D"font-size:10pt">&gt; &gt; = for help and reply.</SPAN></FONT></DIV> <DIV align=3D"left"><FONT = face=3D"Arial" color=3D"#7f0000" size=3D"2"><SPAN = style=3D"font-size:10pt">&gt; </SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" color=3D"#7f0000" size=3D"2"><SPAN = style=3D"font-size:10pt">&gt; Since I don't recollect you saying what = version of mod_python you are</SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" color=3D"#7f0000" size=3D"2"><SPAN = style=3D"font-size:10pt">&gt; using, I would suggest you upgrade to = mod_python 3.3.0b if you aren't</SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" color=3D"#7f0000" size=3D"2"><SPAN = style=3D"font-size:10pt">&gt; using it already. Once you have confirmed = that you still have the=A0 problem</SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" color=3D"#7f0000" size=3D"2"><SPAN = style=3D"font-size:10pt">&gt; with that version let us know. Also state = which versions of Apache and</SPAN></FONT></DIV> <DIV align=3D"left"><FONT= face=3D"Arial" color=3D"#7f0000" size=3D"2"><SPAN = style=3D"font-size:10pt">&gt; Python you are using at the same = time.</SPAN></FONT></DIV> <DIV align=3D"left"><FONT face=3D"Arial" = color=3D"#7f0000" size=3D"2"><SPAN style=3D"font-size:10pt">&gt; = </SPAN></FONT></DIV> <DIV align=3D"left"><FONT face=3D"Arial" = color=3D"#7f0000" size=3D"2"><SPAN style=3D"font-size:10pt">&gt; For = 3.3.0b see:</SPAN></FONT></DIV> <DIV align=3D"left"><FONT face=3D"Arial" = color=3D"#7f0000" size=3D"2"><SPAN style=3D"font-size:10pt">&gt; = </SPAN></FONT></DIV> <DIV align=3D"left"><FONT face=3D"Arial" = color=3D"#7f0000" size=3D"2"><SPAN style=3D"font-size:10pt">&gt;=A0=A0=A0 = <A = href=3D"http://httpd.apache.org/modules/python-download.cgi">http://httpd.= apache.org/modules/python-download.cgi</A></SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" color=3D"#7f0000" size=3D"2"><SPAN = style=3D"font-size:10pt">&gt;=A0=A0=A0 <A = href=3D"http://nicolas.lehuen.com/download/mod_python/">http://nicolas.leh= uen.com/download/mod_python/</A></SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" color=3D"#7f0000" size=3D"2"><SPAN = style=3D"font-size:10pt">&gt; </SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" color=3D"#7f0000" size=3D"2"><SPAN = style=3D"font-size:10pt">&gt; The latter has Windows binaries for = various Apache/Python combos.</SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" color=3D"#7f0000" size=3D"2"><SPAN = style=3D"font-size:10pt">&gt; </SPAN></FONT></DIV> <DIV = align=3D"left"><FONT face=3D"Arial" color=3D"#7f0000" size=3D"2"><SPAN = style=3D"font-size:10pt">&gt; Graham</SPAN></FONT></DIV> <DIV = align=3D"left"></DIV> </BLOCKQUOTE></DIV><BR></BODY></HTML>= --Apple-Mail-1--404780348-- From [email protected] Wed Jan 17 20:59:22 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87813 invoked from network); 17 Jan 2007 20:59:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jan 2007 20:59:21 -0000 Received: (qmail 35402 invoked by uid 500); 17 Jan 2007 20:59:28 -0000 Delivered-To: [email protected] Received: (qmail 35381 invoked by uid 500); 17 Jan 2007 20:59:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <python-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 35370 invoked by uid 99); 17 Jan 2007 20:59:27 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jan 2007 12:59:27 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO dscpl.user.openhosting.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jan 2007 12:59:19 -0800 Received: from dscpl.user.openhosting.com (localhost.ispol.com [161.129.204.104] (may be forged)) by dscpl.user.openhosting.com (161.129.204.10460308/8.12.11) with ESMTP id l0HKwuZg024002; Wed, 17 Jan 2007 15:58:56 -0500 Received: (from grahamd@localhost) by dscpl.user.openhosting.com (161.129.204.10460308/8.12.11/Submit) id l0HKwuYb024001; Wed, 17 Jan 2007 15:58:56 -0500 Date: Wed, 17 Jan 2007 15:58:56 -0500 X-Authentication-Warning: dscpl.user.openhosting.com: grahamd set sender to [email protected] using -f From: "Graham Dumpleton" <[email protected]> Subject: Re: Mod_python: Memory leak - bug or common feature? To: [email protected] Cc: <[email protected]> X-Originating-IP: 161.129.204.104 X-Mailer: Usermin 1.160 Reply-To: "Graham Dumpleton" <[email protected]> Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org [email protected] wrote .. > > > Graham, > Thank you for your reply. > > Previously you said you were running > > out of resources which suggested runaway memory use. Ie., process size > > just kept growing and growing until machine memory exhausted. > When I used previously my program with django handler ( handler supplied > with Django), > it was the case. > Now when I use my own handler the memory increases, as I described before, > but possibly it > is as wrote and it could be acceptable. > But is there any advantage in using input filter if memory still increases? > Or would be the situation the same ( in memory using) if I use ONLY my > own handler? In certain cases using an input filter to intercept large file uploads can be beneficial, however, the FieldStorage class in newer versions of mod_python has the ability to provide callback hooks to control where uploaded files are placed when using FieldStorage. If you are writing your own handler, FieldStorage may thus be sufficient. Check out the mod_python documentation for FieldStorage. You might also check out Tramline. It is a system for dealing with large file uploads when Apache is just a front end for some back end application to which it proxies requests. It probably will not do exactly what you want, but you might learn from it. Tramline can be found at: http://www.infrae.com/products/tramline BTW, please keep discussion on the mailing list. Graham > Thank you for reply > Lad > > > > > > On 17/01/2007, at 8:54 PM, [email protected] wrote: > > > > > > > > Thank you for your reply. > > > Now I use > > > Apache 2.2.4 > > > Mod_python 3.3.0.b > > > Python 2.3.5 > > > The results are more or less the same when I used > > > Apache 2.0 > > > and mod_python 3.1.3-1 > > > Python 2.3.4 > > > > > > Memory increases when I read (filter.read()) or write( filter.write > > > (s). > > > In otherwords, memory is not released after I wrote data to a file > > > ( before next reading). > > > > > > Is my presumption correct that the memory should be released > > > during each > > > reading/writing in the filter? > > > Or do I make a mistake somewhere? > > > > You are giving conflicting information. Previously you said you were > > running > > out of resources which suggested runaway memory use. Ie., process size > > just kept growing and growing until machine memory exhausted. Is that > > what > > is happening or were you more echoing your concerns rather than what > was > > happening. > > > > What you will probably see after having restarted Apache and then > > doing an > > initial upload is that memory use by Apache will grow as it reads in > > more and > > more of the file. Once the complete request has been serviced, Apache > > will > > continue to use at least as much memory as it allocated by that > > point. You > > will not see the Apache process size shrink as once the Apache process > > has allocated memory, it notionally does not give it back to the > > operating system > > until the process has quit. This doesn't mean it is lost though as it > > is put on > > a free list within the Apache process itself and when a subsequent > > upload of > > same file for example occurs, it will just use that free memory. > > Thus, process > > size will grow on the first request but if you keep doing the same > > request, the > > process size should stay reasonably stable. > > > > Note that how much the Apache process grows to initially can depend a > > bit > > on how a handler deals with a file upload. If the response handler > > does a > > req.read() and then processes it all in one go, it will have to hold > > the whole > > file in memory and so if it is a big file it will use a lot. If > > instead the response > > handler read in the file in small blocks at a time using req.read > > (blocksize) > > and process each block and then discarded it, the memory use by Apache > > will be less as it doesn't have to hold the whole file in memory but > > more or > > less just what it is processing. > > > > It is hard to tell if you do have a problem with a memory leak or > > whether you > > just understand how memory allocation works for processes. > > > > What are you using to monitor memory use? Does memory use keep growing > > continually after every request or does it plateau after the initial > > increases > > with the firs requests? > > > > Graham > > > > > Thank you for help > > > > > > Regards, > > > Lad. > > > > > > > > > > On 16/01/2007, at 6:54 PM, [email protected] wrote: > > > > > > > > > I have this, very simple input filter > > > > > > > > > > def inputfilter(filter): > > > > > if filter.req.method != 'POST': > > > > > filter.pass_on() > > > > > return > > > > > filter.req.log_error('first read') > > > > > s = filter.read() > > > > > while s: > > > > > filter.req.log_error('writing (%s)' % len(s)) > > > > > filter.write(s) > > > > > #filter.flush() > > > > > s = filter.read() > > > > > if s is None: > > > > > filter.req.log_error('closing') > > > > > filter.close() > > > > > > > > > > I would like to use an input filter for uploading large files. > > > > > I would expect that after each writing/reading, filter releases > > > > > memory.But instead memory > > > > > increases during reading/writing and no memory is released > > > after each > > > > > reading/writing. Is it a common feature that the filter during > > > > > reading/writing does NOT release memory and memory increases > > > until the > > > > > whole file is uploaded? Or is my presumption correct that the > > > memory > > > > > should be released during each reading/writing in the filter? > > > Thank you > > > > > for help and reply. > > > > > > > > Since I don't recollect you saying what version of mod_python you > > > are > > > > using, I would suggest you upgrade to mod_python 3.3.0b if you > > > aren't > > > > using it already. Once you have confirmed that you still have > > > the problem > > > > with that version let us know. Also state which versions of > > > Apache and > > > > Python you are using at the same time. > > > > > > > > For 3.3.0b see: > > > > > > > > http://httpd.apache.org/modules/python-download.cgi > > > > http://nicolas.lehuen.com/download/mod_python/ > > > > > > > > The latter has Windows binaries for various Apache/Python combos. > > > > > > > > Graham > > > > > > > ------- End of forwarded message ------- From [email protected] Fri Jan 19 02:09:52 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40560 invoked from network); 19 Jan 2007 02:09:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jan 2007 02:09:52 -0000 Received: (qmail 56831 invoked by uid 500); 19 Jan 2007 02:09:58 -0000 Delivered-To: [email protected] Received: (qmail 56805 invoked by uid 500); 19 Jan 2007 02:09:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <python-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 56778 invoked by uid 99); 19 Jan 2007 02:09:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jan 2007 18:09:57 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jan 2007 18:09:50 -0800 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 05AA17141D1 for <[email protected]>; Thu, 18 Jan 2007 18:09:30 -0800 (PST) Message-ID: <9214300.1169172569983.JavaMail.jira@brutus> Date: Thu, 18 Jan 2007 18:09:29 -0800 (PST) From: "Graham Dumpleton (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (MODPYTHON-211) Potential memory leak in req.readlines(). In-Reply-To: <5875159.1168747407492.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MODPYTHON-211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465940 ] Graham Dumpleton commented on MODPYTHON-211: -------------------------------------------- The req.readlines() function also leaks memory when invalid arguments are supplied to the function. This is because of the code: PyObject *result = PyList_New(0); ... if (! PyArg_ParseTuple(args, "|l", &sizehint)) return NULL; That is, it allocates a result array but doesn't destroy it when arguments couldn't be decoded. The result object isn't destroyed in a couple of other failure cases as well, such as when rlargs can't be created or req.readline() sets an exception. > Potential memory leak in req.readlines(). > ----------------------------------------- > > Key: MODPYTHON-211 > URL: https://issues.apache.org/jira/browse/MODPYTHON-211 > Project: mod_python > Issue Type: Bug > Components: core > Affects Versions: 3.3, 3.2.10 > Reporter: Graham Dumpleton > > This code in req.readlines() looks a bit fishy to me and possibly leaks memory. The code in question is: > rlargs = PyTuple_New(0); > if (result == NULL) > return PyErr_NoMemory(); > line = req_readline(self, rlargs); > while (line && ((linesize=PyString_Size(line))>0)) { > PyList_Append(result, line); > size += linesize; > if ((sizehint != -1) && (size >= sizehint)) > break; > Py_DECREF(line); > line = req_readline(self, args); > } > Py_XDECREF(line); > The thing that looks wrong is 'rlargs'. This is created, used in a sub call to req_readline() but then never destroyed. Thus, possibly a memory leak. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Tue Jan 23 23:23:40 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45515 invoked from network); 23 Jan 2007 23:23:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Jan 2007 23:23:39 -0000 Received: (qmail 74752 invoked by uid 500); 23 Jan 2007 23:23:45 -0000 Delivered-To: [email protected] Received: (qmail 74722 invoked by uid 500); 23 Jan 2007 23:23:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <python-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 74711 invoked by uid 99); 23 Jan 2007 23:23:45 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jan 2007 15:23:45 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.comfortechassist.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jan 2007 15:23:34 -0800 Received: by mail.comfortechassist.com (Postfix, from userid 509) id 790A211A0066; Tue, 23 Jan 2007 16:23:13 -0700 (MST) Received: from [161.129.204.104] (unknown [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.comfortechassist.com (Postfix) with ESMTP id 3579E11A0044; Tue, 23 Jan 2007 16:23:08 -0700 (MST) Message-ID: <[email protected]> Date: Tue, 23 Jan 2007 16:23:08 -0700 From: Eric Brunson <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20061219) MIME-Version: 1.0 To: Jorey Bump <[email protected]> CC: Jim Gallacher <[email protected]>, python-dev list <[email protected]> Subject: Re: Are we ready for 3.3.1? References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 161.129.204.104 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.6 (2005-12-07) on s4.comfortechassist.com X-Spam-Level: X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham version=3.0.6 Switched production platforms, here's one more for you with the latest httpd: +1 Solaris 10 (x86), Apache 2.2.4 (mpm-prefork), Python 2.5 Jorey Bump wrote: > It might be prudent to test against Apache 2.2.4, which was released > two days ago. I'll try to do this over the weekend and submit the > results. > > Jim Gallacher wrote: >> We don't seem to be getting any more feedback on 3.3.0b (+1's across >> the board), so how does everyone feel about rolling out 3.3.1 this >> weekend? Or should we wait another week? >> >> 3.3.0b test result summary: >> >> +1 FreeBSD 6.1, Apache 2.2.3 (mpm-prefork), Python 2.4.3,1 >> +1 Linux Debian 3.1 Sarge, Apache 2.0.54 (mpm-prefork), Python 2.3.5 >> +1 Linux Debian Sid, Apache 2.2.3 (mpm-worker), Python 2.3.5 >> +1 Linux Debian Sid, Apache 2.2.3 (mpm-worker), Python 2.4.4 >> +1 Linux Debian Sid, Apache 2.2.3 (mpm-worker), Python 2.5 >> +1 Linux Fedora Core 2 (OpenVPS) i386, Apache 2.0.51 (mpm-prefork), >> Python 2.3.3 >> +1 Linux Fedora Core 4 i386, Apache 2.0.54 (mpm-prefork), Python 2.5 >> +1 Linux Fedora Core 5 i386, Apache 2.2.2 (mpm-prefork), Python 2.4.3 >> +1 Linux Fedora Core 5 i386, Apache 2.2.2 (mpm-prefork), Python 2.4.3 >> +1 Linux Fedora Core 6, Apache 2.2.3 (mpm-prefork), Python 2.4.4 >> +1 Linux Fedora Core 6 i386, Apache 2.2.3 (mpm-prefork), Python 2.4.4 >> +1 Linux Fedora Core 6 x86_64, Apache 2.2.3 (mpm-prefork), Python 2.4.4 >> +1 Linux Slackware 10.2, Apache 2.2.3 (mpm-prefork), Python 2.4.1 >> +1 Linux Ubuntu 6.0.6, Apache 2.0.55 (mpm-worker), Python 2.4.3 >> +1 Linux Ubuntu 6.10, Apache 2.0.55 (mpm-prefork), Python 2.4.4c1 >> +1 Mac OS 10.4.8 (Intel), Apache 2.0.59 (mpm-prefork), Python 2.5 >> +1 Mac OS X (Darwin 8.8.1, Intel), Apache 2.2.3 (mpm-prefork), Python >> 2.4.2 >> +1 Mac OS X (PowerPC), Apache 2.0.55 (mpm-worker), Python 2.3.5 (OS >> Supplied Version) >> +1 Mac OS X (PowerPC), Apache 2.2.1 (mpm-worker), Python 2.3.5 (OS >> Supplied Version) >> +1 Microsoft Windows XP, Apache 2.0.58 (mpm_winnt), Python 2.4 >> +1 Microsoft Windows XP, Apache 2.0.58 (mpm_winnt), Python 2.5 >> +1 Microsoft Windows XP, Apache 2.2.2 (mpm_winnt), Python 2.4 >> +1 Microsoft Windows XP, Apache 2.2.2 (mpm_winnt), Python 2.5 >> +1 Solaris 10 (Sparc), Apache 2.0.59 (mpm-prefork), Python 2.5 >> >> Jim > From [email protected] Wed Jan 24 22:11:11 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3504 invoked from network); 24 Jan 2007 22:11:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jan 2007 22:11:10 -0000 Received: (qmail 50077 invoked by uid 500); 24 Jan 2007 22:11:16 -0000 Delivered-To: [email protected] Received: (qmail 50048 invoked by uid 500); 24 Jan 2007 22:11:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <python-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 50035 invoked by uid 99); 24 Jan 2007 22:11:16 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jan 2007 14:11:16 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jan 2007 14:11:09 -0800 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 16A077141A3 for <[email protected]>; Wed, 24 Jan 2007 14:10:49 -0800 (PST) Message-ID: <2825232.1169676649087.JavaMail.jira@brutus> Date: Wed, 24 Jan 2007 14:10:49 -0800 (PST) From: "Graham Dumpleton (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (MODPYTHON-210) FieldStorage wrongly assumes boundary is last attribute in Content-Type headers value. In-Reply-To: <12086937.1168747047489.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MODPYTHON-210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12467170 ] Graham Dumpleton commented on MODPYTHON-210: -------------------------------------------- Emiliano posts this patch: http://www.modpython.org/pipermail/mod_python/2007-January/023092.html It does however use Python "set" which can't be used as only newer versions of Python support it. > FieldStorage wrongly assumes boundary is last attribute in Content-Type headers value. > -------------------------------------------------------------------------------------- > > Key: MODPYTHON-210 > URL: https://issues.apache.org/jira/browse/MODPYTHON-210 > Project: mod_python > Issue Type: Bug > Components: core > Affects Versions: 3.3, 3.2.10 > Reporter: Graham Dumpleton > > Mozilla can generate multipart content that looks like: > Content-Length: 522 > Content-Type: multipart/related; boundary=---------------------------13592280651221337293469391600; type="application/xml"; start="<[email protected] >" > Cookie: lang=1 > > This highlights an issue with util.FieldStorage in that it assumes that the boundary attribute of the Content-Type header will always be the last thing in the value. Ie., the code in FieldStorage is: > # figure out boundary > try: > i = ctype.lower().rindex("boundary=") > boundary = ctype[i+9:] > if len(boundary) >= 2 and boundary[0] == boundary[-1] == '"': > boundary = boundary[1:-1] > boundary = re.compile("--" + re.escape(boundary) + "(--)?\r?\n") > The FieldStorage code should correctly split out all attributes from the line and then deal with list the boundary attribute by itself and not make assumptions about the order of attributes on the line. The code is also questionable depending on whether it is guaranteed by Apache that trailing space is striped from the value of headers. If there is trailing white space it will interfere with the check for whether the boundary is surrounded by quotes. Finally, does the specification for HTTP headers always entail the use of a double quote as this is the only thing that is checked for? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jan 26 23:42:14 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39238 invoked from network); 26 Jan 2007 23:42:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Jan 2007 23:42:12 -0000 Received: (qmail 31312 invoked by uid 500); 26 Jan 2007 23:42:17 -0000 Delivered-To: [email protected] Received: (qmail 31254 invoked by uid 500); 26 Jan 2007 23:42:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <python-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 31182 invoked by uid 99); 26 Jan 2007 23:42:17 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jan 2007 15:42:17 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jan 2007 15:42:09 -0800 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 7ADB47142D6 for <[email protected]>; Fri, 26 Jan 2007 15:41:49 -0800 (PST) Message-ID: <9268500.1169854909499.JavaMail.jira@brutus> Date: Fri, 26 Jan 2007 15:41:49 -0800 (PST) From: "Graham Dumpleton (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (MODPYTHON-216) Code for deriving base URL/directory for request using wrong value??? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Code for deriving base URL/directory for request using wrong value??? --------------------------------------------------------------------- Key: MODPYTHON-216 URL: https://issues.apache.org/jira/browse/MODPYTHON-216 Project: mod_python Issue Type: Bug Components: core Affects Versions: 3.3 Reporter: Graham Dumpleton Priority: Minor In determine_context() of src/mod_python.c, the code pertaining to Directory has: if (!strcmp(directory, "~")) { directory = ap_getword_conf(p, &arg); d_regex = ap_pregcomp(p, cmd->path, AP_REG_EXTENDED|USE_ICASE); } else if (ap_is_matchexp(directory)) { d_is_fnmatch = 1; } and that for Location has: if (!strcmp(location, "~")) { location = ap_getword_conf(p, &arg); l_regex = ap_pregcomp(p, cmd->path, AP_REG_EXTENDED|USE_ICASE); } else if (ap_is_matchexp(location)) { l_is_fnmatch = 1; } In both cases, the pattern used to compile the regular expression is the value of cmd->path. These perhaps should be 'directory' and 'location' respectively, but then cmd->path may be the same thing anyway. No actual problems have been see with code because of this, but should be verified anyway. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Jan 27 15:48:28 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68935 invoked from network); 27 Jan 2007 15:48:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jan 2007 15:48:16 -0000 Received: (qmail 93233 invoked by uid 500); 27 Jan 2007 15:48:22 -0000 Delivered-To: [email protected] Received: (qmail 93215 invoked by uid 500); 27 Jan 2007 15:48:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <python-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 93204 invoked by uid 99); 27 Jan 2007 15:48:21 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Jan 2007 07:48:21 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO tomts36-srv.bellnexxia.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Jan 2007 07:48:11 -0800 Received: from [161.129.204.104] ([161.129.204.104]) by tomts36-srv.bellnexxia.net (InterMail vM.161.129.204.104 201-253-122-130-113-20050324) with ESMTP id <20070127154749.JMPG1862.tomts36-srv.bellnexxia.net@[161.129.204.104]> for <[email protected]>; Sat, 27 Jan 2007 10:47:49 -0500 Message-ID: <[email protected]> Date: Sat, 27 Jan 2007 10:48:00 -0500 From: Jim Gallacher <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20070104) MIME-Version: 1.0 To: [email protected] Subject: Time for 3.3.1? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Howdy All, I think it's time to push 3.3.1 out. Unless there are any objections I'll roll the tarball tomorrow, which is to say Sunday, or Monday as the case may be for our antipodal friends. :) ). Since we haven't made any changes in the code base it should be just a matter of a few people testing the tarball to make sure I haven't done anything stupid, followed quite quickly by a core vote for an official release. I'm also assuming we'll have a 3.3.x branch this time around as well, since that seemed to work nicely for 3.2.x. Jim From [email protected] Sat Jan 27 23:10:41 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70678 invoked from network); 27 Jan 2007 23:10:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jan 2007 23:10:40 -0000 Received: (qmail 64672 invoked by uid 500); 27 Jan 2007 23:10:46 -0000 Delivered-To: [email protected] Received: (qmail 64646 invoked by uid 500); 27 Jan 2007 23:10:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <python-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 64635 invoked by uid 99); 27 Jan 2007 23:10:46 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Jan 2007 15:10:46 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO ipmail03.adl2.internode.on.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Jan 2007 15:10:37 -0800 Received: from ppp23-217.lns2.syd7.internode.on.net (HELO [161.129.204.104]) ([161.129.204.104]) by ipmail03.adl2.internode.on.net with ESMTP; 28 Jan 2007 09:40:14 +1030 X-IronPort-AV: i="4.13,246,1167571800"; d="scan'208"; a="40842403:sNHT21906794" In-Reply-To: <[email protected]> References: <[email protected]> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <[email protected]> Cc: [email protected] Content-Transfer-Encoding: 7bit From: Graham Dumpleton <[email protected]> Subject: Re: Time for 3.3.1? Date: Sun, 28 Jan 2007 10:10:11 +1100 To: Jim Gallacher <[email protected]> X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org On 28/01/2007, at 2:48 AM, Jim Gallacher wrote: > Howdy All, > > I think it's time to push 3.3.1 out. Unless there are any > objections I'll roll the tarball tomorrow, which is to say Sunday, > or Monday as the case may be for our antipodal friends. :) ). > > Since we haven't made any changes in the code base it should be > just a matter of a few people testing the tarball to make sure I > haven't done anything stupid, followed quite quickly by a core vote > for an official release. > > I'm also assuming we'll have a 3.3.x branch this time around as > well, since that seemed to work nicely for 3.2.x. I'd potentially hold off on the branch just yet as personally not expecting to be doing any significant changes to code base in near future. If do anything, it will just be some minor bug fixes to req.readlines() code as I recently created issues for. Thus, a branch at this point will just make it a pain as will have to merge stuff into it as well. So, leave branch until we decide we want to start making more significant changes. Graham From [email protected] Mon Jan 29 14:32:09 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54483 invoked from network); 29 Jan 2007 14:32:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Jan 2007 14:32:09 -0000 Received: (qmail 20709 invoked by uid 500); 29 Jan 2007 14:32:14 -0000 Delivered-To: [email protected] Received: (qmail 20691 invoked by uid 500); 29 Jan 2007 14:32:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <python-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 20679 invoked by uid 99); 29 Jan 2007 14:32:14 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jan 2007 06:32:14 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO tomts40-srv.bellnexxia.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jan 2007 06:32:04 -0800 Received: from [161.129.204.104] ([161.129.204.104]) by tomts40-srv.bellnexxia.net (InterMail vM.161.129.204.104 201-253-122-130-113-20050324) with ESMTP id <20070129143142.WBPL1750.tomts40-srv.bellnexxia.net@[161.129.204.104]> for <[email protected]>; Mon, 29 Jan 2007 09:31:42 -0500 Message-ID: <[email protected]> Date: Mon, 29 Jan 2007 09:32:36 -0500 From: Jim Gallacher <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20070104) MIME-Version: 1.0 To: python-dev list <[email protected]> Subject: mod_python 3.3.1 available for testing Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org The mod_python 3.3.1 tarball is available for testing. Hopefully Nicolas will have a chance to create Windows installers for testing in the next couple of days. There have been no changes in the code since the 3.3.0 beta. Indeed the only thing that has changed is the version strings so we don't need extensive testing this time around - just a few people to check that I haven't done something stupid in creating the tarball. Once we have a handful of +1's I'll call for a vote from the core committers. Here are the rules: In order for a file to be officially announced, it has to be tested by developers on the dev list. Anyone subscribed to this list can (and should feel obligated to :-) ) test it, and provide feedback *to _this_ list*! (Not the [email protected] list, and preferably not me personally). The files are (temporarily) available here: http://people.apache.org/~jgallacher/mod_python/dist/mod_python-3.3.1.tgz http://people.apache.org/~jgallacher/mod_python/dist/mod_python-3.3.1.md5 Please download it, then do the usual $ ./configure --with-apxs=/wherever/it/is $ make $ (su) # make install Then (as non-root user!) $ make check Or for you Windows folks $ cd test $ python test.py And see if any tests fail. If they pass, send a +1 to the list, if they fail, send the details (the versions of OS, Apache, Apache-mpm, Python, the test output, and suggestions, if any). Please present your test results in the following format: +1 OS version, Apache version (apache mpm), Python Version For example: +1 Linux Debian Sid, Apache 2.0.55 (mpm-worker), Python 2.3.5 Presenting your information in a consistent format will help in tabulating the results. You can include additional information in each section, just don't use extra commas. There is no need to include the mod_python version in this string as that information is available in the email subject. Who knows, one day I may actually write a script to extract this information automatically. :) Thank you for your assistance, Jim Gallacher From [email protected] Mon Jan 29 16:29:05 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92339 invoked from network); 29 Jan 2007 16:29:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Jan 2007 16:29:05 -0000 Received: (qmail 56837 invoked by uid 500); 29 Jan 2007 16:29:11 -0000 Delivered-To: [email protected] Received: (qmail 56702 invoked by uid 500); 29 Jan 2007 16:29:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <python-dev.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 56691 invoked by uid 99); 29 Jan 2007 16:29:10 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jan 2007 08:29:10 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO tomts25-srv.bellnexxia.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jan 2007 08:29:01 -0800 Received: from [161.129.204.104] ([161.129.204.104]) by tomts25-srv.bellnexxia.net (InterMail vM.161.129.204.104 201-253-122-130-113-20050324) with ESMTP id <20070129162839.RPTZ6280.tomts25-srv.bellnexxia.net@[161.129.204.104]>; Mon, 29 Jan 2007 11:28:39 -0500 Message-ID: <[email protected]> Date: Mon, 29 Jan 2007 11:30:24 -0500 From: Jim Gallacher <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20070104) MIME-Version: 1.0 To: Detmar Meurers <[email protected]> CC: python-dev list <[email protected]> Subject: Re: mod_python 3.3.1 available for testing References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Thanks Detmar. There was a typo in the original email. Oops. The md5 file is mod_python-3.3.1.tgz.md5. http://people.apache.org/~jgallacher/mod_python/dist/mod_python-3.3.1.tgz.md5 Jim Detmar Meurers wrote: > Hi Jim, > > for the md5 file you mention, I get a '404 Not Found' error. > > Best, > Detmar > > > > > On Mon, Jan 29, 2007 at 09:32:36AM -0500, Jim Gallacher wrote: > The mod_python 3.3.1 tarball is available for testing. Hopefully > Nicolas will have a chance to create Windows installers for testing in > the next couple of days. > > There have been no changes in the code since the 3.3.0 beta. Indeed the > only thing that has changed is the version strings so we don't need > extensive testing this time around - just a few people to check that I > haven't done something stupid in creating the tarball. Once we have a > handful of +1's I'll call for a vote from the core committers. > > Here are the rules: > > In order for a file to be officially announced, it has to be tested by > developers on the dev list. Anyone subscribed to this list can (and > should feel obligated to :-) ) test it, and provide feedback *to > _this_ list*! (Not the [email protected] list, and preferably not > me personally). > > The files are (temporarily) available here: > > http://people.apache.org/~jgallacher/mod_python/dist/mod_python-3.3.1.tgz > http://people.apache.org/~jgallacher/mod_python/dist/mod_python-3.3.1.md5 > > Please download it, then do the usual > > $ ./configure --with-apxs=/wherever/it/is > $ make > $ (su) > # make install > > Then (as non-root user!) > > $ make check > > Or for you Windows folks > > $ cd test > $ python test.py > > And see if any tests fail. If they pass, send a +1 to the list, if they > fail, send the details (the versions of OS, Apache, Apache-mpm, Python, > the test output, and suggestions, if any). > > Please present your test results in the following format: > +1 OS version, Apache version (apache mpm), Python Version > > For example: > +1 Linux Debian Sid, Apache 2.0.55 (mpm-worker), Python 2.3.5 > > Presenting your information in a consistent format will help in > tabulating the results. You can include additional information in each > section, just don't use extra commas. There is no need to include the > mod_python version in this string as that information is available in > the email subject. Who knows, one day I may actually write a script to > extract this information automatically. :) > > Thank you for your assistance, > Jim Gallacher > >
From [email protected] Mon Jun 07 20:00:29 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4275 invoked from network); 7 Jun 2010 20:00:29 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 7 Jun 2010 20:00:29 -0000 Received: (qmail 48995 invoked by uid 500); 7 Jun 2010 20:00:29 -0000 Delivered-To: [email protected] Received: (qmail 48884 invoked by uid 500); 7 Jun 2010 20:00:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48876 invoked by uid 99); 7 Jun 2010 20:00:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jun 2010 20:00:28 +0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=AWL,FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iw0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jun 2010 20:00:22 +0000 Received: by iwn6 with SMTP id 6so1773431iwn.6 for <[email protected]>; Mon, 07 Jun 2010 13:00:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=CqAOsA75ZVQuwFG9kAXj51J1qz8J3IieFOKO4TYwXXk=; b=WvDglrVPad7VJNrt+V7XbYLcpnbO1YqXtNgafrGfGiNU76TTpLNB6CT77qVOzxG72e xROS4EvmD2aSncapGimZah5Or0RERB2F08EKYDTDAycfPxIZux51VREkfElD+lNqUHLh Dl3zsFH5KnzmZHQWj4MJgkFgRQuY+O1LhszVc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=grueYiLd8wa5o9L6V2XE3VTpPZAq6CfgrZZHteaSRzL2tZFhY9rBooZVUMsWwzLJUV qAAojJULfYUBs9p/OX8UFsQ53QfQLLq5+43oRbPoR7WOUgSYe0KuFBP/Y0MucpBosr6H VCT9AXgQVL1NFz+X61Er7p3yjYwhbxMHQiK8w= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id y38mr413621ibq.135.1275940801697; Mon, 07 Jun 2010 13:00:01 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 7 Jun 2010 13:00:01 -0700 (PDT) Date: Mon, 7 Jun 2010 15:00:01 -0500 Message-ID: <[email protected]> Subject: Pregel article From: Mark Kerzner <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00163692034d3d58a60488761e58 --00163692034d3d58a60488761e58 Content-Type: text/plain; charset=ISO-8859-1 Hi, anybody has read it? Thank you, Mark --00163692034d3d58a60488761e58-- From [email protected] Thu Jun 24 13:11:07 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17479 invoked from network); 24 Jun 2010 13:11:07 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Jun 2010 13:11:07 -0000 Received: (qmail 63274 invoked by uid 500); 24 Jun 2010 13:11:07 -0000 Delivered-To: [email protected] Received: (qmail 63175 invoked by uid 500); 24 Jun 2010 13:11:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 36700 invoked by uid 99); 24 Jun 2010 12:48:53 -0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=pvAul0rioB0dxWu589WrQEi8nlrCreB7YAGrBuPfY/s=; b=sMWLD3yT4d4cm033ZOd0GDFAtGc2tEooVvZKQVVw+KYomqx+3oHVpVj+K60sRLMoWZ d1iXFdFWMM5lbFumPR2e+KAWO/fwfNC5nd+GAv1QhG96eQ226Y1gq1Vuxwazolgs9OZ/ FX0MfPUjcEg3qjoMz9x0i39snAxARmiyhj5Jo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=WyFJ5hcfr8Mgx2Fo0A5678e1HFh3H+kEdynw2Xll5meNtKeRGLVc7prT8fEN135HOD uqq2jc5ZL7VbSGJ5gSx5unT8blxPxuDo+Tl3aEZgYBQ+zW6tohF53/hqFGHD7TsFCX0f l9CZC82xpE/0ifENUCFP8F9wslRaCq3As1Xn0= MIME-Version: 1.0 Date: Thu, 24 Jun 2010 18:18:25 +0530 Message-ID: <[email protected]> Subject: Problem running examples in hama From: Peeyush Kumar <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00163630fa2d075e940489c612da --00163630fa2d075e940489c612da Content-Type: text/plain; charset=ISO-8859-1 Hi, I compiled the latest hama-trunk version with the newest version of hbase(0.20.4) and zookeeper lib files and when I run the examples $hama-home/bin/hama examples rand 20 20 20% tmp I got class not found exception Exception in thread "main" java.lang. NoClassDefFoundError: examples Caused by: java.lang.ClassNotFoundException: examples at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) Could not find the main class: examples. Program will exit. Could you please help me on this. I am using hbase and hama for the first time. Thanks Peeyush --00163630fa2d075e940489c612da-- From [email protected] Thu Jun 24 20:30:56 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47150 invoked from network); 24 Jun 2010 20:30:56 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Jun 2010 20:30:56 -0000 Received: (qmail 18558 invoked by uid 500); 24 Jun 2010 20:30:56 -0000 Delivered-To: [email protected] Received: (qmail 18446 invoked by uid 500); 24 Jun 2010 20:30:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 18438 invoked by uid 99); 24 Jun 2010 20:30:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jun 2010 20:30:55 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-gx0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jun 2010 20:30:47 +0000 Received: by gxk19 with SMTP id 19so3718720gxk.6 for <[email protected]>; Thu, 24 Jun 2010 13:30:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=G4Wcthd0MSuKPhHi6so6ZNvPVWI9AWzmabcYV7IpSz0=; b=TaWhlhpCf0CR81z5/kqTHEgGugcGeU1E/jiydMhj2VV5c1paHeDizmOFOCnVXgalvE B6fVHNyt55AQNat6dWb3WdKNMGoDcgV3H48XRNMoZHMfB2iS3k7FaJ2zJLkDW0yBx0eW V/C2u58i/pKHJTUxTDv25F/+MPiV2zdPsAVaw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=MF5KzSC+ApNy+0hp29TFGrztZ4WXO6NSgsr6zaLRg6k++6NgrYZ+pLPaw8+7yUkpQP ZiqF3vYcioz13TEKxqQqS7WEkt4/HrfhPMzc7xjTyTWElPtJl0ODO3COj9eWUqCOKinR 6w846MWRNaf8ULKyqHfyT/HgZnxCSuW/uXkLo= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id c6mr8482244anq.234.1277411424396; Thu, 24 Jun 2010 13:30:24 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 24 Jun 2010 13:30:24 -0700 (PDT) Date: Thu, 24 Jun 2010 16:30:24 -0400 Message-ID: <[email protected]> Subject: Download and installation From: Erik Test <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016e68deb062ee8c70489cc8655 X-Virus-Checked: Checked by ClamAV on apache.org --0016e68deb062ee8c70489cc8655 Content-Type: text/plain; charset=UTF-8 Hi, I'm looking for where I can download Hama. I couldn't find a link to download Hama from Apache and I'm searching on Google with no luck so far. Can anyone send me a link where I can find Hama to download? Erik --0016e68deb062ee8c70489cc8655-- From [email protected] Thu Jun 24 22:41:50 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83322 invoked from network); 24 Jun 2010 22:41:50 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Jun 2010 22:41:50 -0000 Received: (qmail 75770 invoked by uid 500); 24 Jun 2010 22:41:50 -0000 Delivered-To: [email protected] Received: (qmail 75721 invoked by uid 500); 24 Jun 2010 22:41:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 75713 invoked by uid 99); 24 Jun 2010 22:41:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jun 2010 22:41:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 24 Jun 2010 22:41:47 +0000 Received: (qmail 83235 invoked by uid 99); 24 Jun 2010 22:41:25 -0000 Received: from localhost.apache.org (HELO mail-iw0-f175.google.com) (161.129.204.104) (smtp-auth username edwardyoon, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jun 2010 22:41:25 +0000 Received: by iwn42 with SMTP id 42so4099844iwn.6 for <[email protected]>; Thu, 24 Jun 2010 15:41:23 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id v2mr11881419ibw.107.1277419282582; Thu, 24 Jun 2010 15:41:22 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 24 Jun 2010 15:41:22 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Fri, 25 Jun 2010 07:41:22 +0900 Message-ID: <[email protected]> Subject: Re: Download and installation From: "Edward J. Yoon" <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Hello, Currently we are working towards first official release, and there is no release yet, but there is already some working code in the SVN repository. See http://incubator.apache.org/hama/developers.html HAMA 0.2 (including BSP) will be ready soon. Thanks! On Fri, Jun 25, 2010 at 5:30 AM, Erik Test <[email protected]> wrote: > Hi, > > I'm looking for where I can download Hama. I couldn't find a link to > download Hama from Apache and I'm searching on Google with no luck so far. > > Can anyone send me a link where I can find Hama to download? > Erik > -- Best Regards, Edward J. Yoon [email protected] http://blog.udanax.org From [email protected] Thu Jun 24 22:54:46 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86014 invoked from network); 24 Jun 2010 22:54:45 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Jun 2010 22:54:45 -0000 Received: (qmail 84628 invoked by uid 500); 24 Jun 2010 22:54:45 -0000 Delivered-To: [email protected] Received: (qmail 84526 invoked by uid 500); 24 Jun 2010 22:54:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84518 invoked by uid 99); 24 Jun 2010 22:54:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jun 2010 22:54:45 +0000 X-ASF-Spam-Status: No, hits=-1453.4 required=10.0 tests=ALL_TRUSTED,AWL,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 24 Jun 2010 22:54:42 +0000 Received: (qmail 85969 invoked by uid 99); 24 Jun 2010 22:54:21 -0000 Received: from localhost.apache.org (HELO mail-iw0-f175.google.com) (161.129.204.104) (smtp-auth username edwardyoon, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jun 2010 22:54:21 +0000 Received: by iwn42 with SMTP id 42so4110175iwn.6 for <[email protected]>; Thu, 24 Jun 2010 15:54:19 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id bd8mr11688019ibb.0.1277420056695; Thu, 24 Jun 2010 15:54:16 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 24 Jun 2010 15:54:16 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Fri, 25 Jun 2010 07:54:16 +0900 Message-ID: <[email protected]> Subject: Re: Problem running examples in hama From: "Edward J. Yoon" <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, Please try to run the following command: # bin/hama org.apache.hama.examples.ExampleDriver I'll add example launcher command to run script soon. Thanks! On Thu, Jun 24, 2010 at 9:48 PM, Peeyush Kumar <[email protected]> wrote: > Hi, > > =C2=A0 =C2=A0 =C2=A0I compiled the latest hama-trunk version with the new= est version of > hbase(0.20.4) and zookeeper lib files and when I run the examples > $hama-home/bin/hama examples rand 20 20 20% tmp I got class not found > exception > Exception in thread "main" java.lang. > NoClassDefFoundError: examples > Caused by: java.lang.ClassNotFoundException: examples > =C2=A0 =C2=A0 [email protected]$1.run(URLClassLoader.java= :202) > =C2=A0 =C2=A0 [email protected](Nativ= e Method) > =C2=A0 =C2=A0 [email protected](URLClassLoader.= java:190) > =C2=A0 =C2=A0 [email protected](ClassLoader.java:= 307) > =C2=A0 =C2=A0 [email protected]$AppClassLoader.loadClass(Launch= er.java:301) > =C2=A0 =C2=A0 [email protected](ClassLoader.java:= 248) > Could not find the main class: examples. =C2=A0Program will exit. > > Could you please help me on this. I am using hbase and hama for the first > time. > > Thanks > Peeyush > --=20 Best Regards, Edward J. Yoon [email protected] http://blog.udanax.org From [email protected] Thu Jun 24 23:52:41 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97791 invoked from network); 24 Jun 2010 23:52:41 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Jun 2010 23:52:41 -0000 Received: (qmail 13851 invoked by uid 500); 24 Jun 2010 23:52:41 -0000 Delivered-To: [email protected] Received: (qmail 13771 invoked by uid 500); 24 Jun 2010 23:52:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13758 invoked by uid 99); 24 Jun 2010 23:52:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jun 2010 23:52:40 +0000 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SBL,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO blu0-omc3-s33.blu0.hotmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jun 2010 23:52:30 +0000 Received: from BLU0-SMTP49 ([161.129.204.104]) by blu0-omc3-s33.blu0.hotmail.com with Microsoft SMTPSVC+1-918-431-1913); Thu, 24 Jun 2010 16:52:09 -0700 X-Originating-IP: [161.129.204.104] X-Originating-Email: [[email protected]] Message-ID: <[email protected]> Received: from [161.129.204.104] ([161.129.204.104]) by BLU0-SMTP49.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC+1-918-431-1913); Thu, 24 Jun 2010 16:52:08 -0700 From: Mari <[email protected]> To: "[email protected]" <[email protected]> In-Reply-To: <[email protected]> X-Mailer: iPod Mail (7D11) Subject: Re: hama-user Digest 24 Jun 2010 20:30:56 -0000 Issue 68 References: <[email protected]> Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (iPod Mail 7D11) Date: Thu, 24 Jun 2010 20:51:41 -0300 Cc: "[email protected]" <[email protected]> X-OriginalArrivalTime: 24 Jun 2010 23:52:08.0900 (UTC) FILETIME=[41EC1840:01CB13F8] X-Virus-Checked: Checked by ClamAV on apache.org Enviado. El 24/06/2010, a las 17:30, [email protected] =20= escribi=C3=B3: > > hama-user Digest 24 Jun 2010 20:30:56 -0000 Issue 68 > > Topics (messages 189 through 190): > > Problem running examples in hama > 189 by: Peeyush Kumar > > Download and installation > 190 by: Erik Test > > Administrivia: > > --------------------------------------------------------------------- > To post to the list, e-mail: [email protected] > To unsubscribe, e-mail: = [email protected] > For additional commands, e-mail: = [email protected] > > ---------------------------------------------------------------------- > > <hama-user_189.ezm> > <hama-user_190.ezm> From [email protected] Thu Jun 24 23:52:53 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97813 invoked from network); 24 Jun 2010 23:52:52 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Jun 2010 23:52:52 -0000 Received: (qmail 13957 invoked by uid 500); 24 Jun 2010 23:52:52 -0000 Delivered-To: [email protected] Received: (qmail 13899 invoked by uid 500); 24 Jun 2010 23:52:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13886 invoked by uid 99); 24 Jun 2010 23:52:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jun 2010 23:52:52 +0000 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SBL,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO blu0-omc3-s28.blu0.hotmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jun 2010 23:52:42 +0000 Received: from BLU0-SMTP49 ([161.129.204.104]) by blu0-omc3-s28.blu0.hotmail.com with Microsoft SMTPSVC+1-918-431-1913); Thu, 24 Jun 2010 16:52:21 -0700 X-Originating-IP: [161.129.204.104] X-Originating-Email: [[email protected]] Message-ID: <[email protected]> Received: from [161.129.204.104] ([161.129.204.104]) by BLU0-SMTP49.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC+1-918-431-1913); Thu, 24 Jun 2010 16:52:19 -0700 From: Mari <[email protected]> To: "[email protected]" <[email protected]> In-Reply-To: <[email protected]> X-Mailer: iPod Mail (7D11) Subject: Re: hama-user Digest 24 Jun 2010 20:30:56 -0000 Issue 68 References: <[email protected]> Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (iPod Mail 7D11) Date: Thu, 24 Jun 2010 20:51:52 -0300 Cc: "[email protected]" <[email protected]> X-OriginalArrivalTime: 24 Jun 2010 23:52:20.0602 (UTC) FILETIME=[48E5ADA0:01CB13F8] X-Virus-Checked: Checked by ClamAV on apache.org Enviado. El 24/06/2010, a las 17:30, [email protected] =20= escribi=C3=B3: > > hama-user Digest 24 Jun 2010 20:30:56 -0000 Issue 68 > > Topics (messages 189 through 190): > > Problem running examples in hama > 189 by: Peeyush Kumar > > Download and installation > 190 by: Erik Test > > Administrivia: > > --------------------------------------------------------------------- > To post to the list, e-mail: [email protected] > To unsubscribe, e-mail: = [email protected] > For additional commands, e-mail: = [email protected] > > ---------------------------------------------------------------------- > > <hama-user_189.ezm> > <hama-user_190.ezm> From [email protected] Fri Jun 25 14:40:26 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67990 invoked from network); 25 Jun 2010 14:40:26 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Jun 2010 14:40:26 -0000 Received: (qmail 18106 invoked by uid 500); 25 Jun 2010 14:40:26 -0000 Delivered-To: [email protected] Received: (qmail 18003 invoked by uid 500); 25 Jun 2010 14:40:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 11810 invoked by uid 99); 25 Jun 2010 13:47:16 -0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=AWL,FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=xmtf6WjDOOpcqag+/gd5aFg+Ks4AUglJBkyH+kQlL5M=; b=aHcfZayzrUnT/La1+k6LeOoe7E4LthSJtoF8SM2Os0h2s6jDtDXesHH3Bi4gYRq4w/ VICXg9JFDzXCXrnwTG5AMpmY/4bx0dzCZpYfrPsTnojA/rdWgIPbtVQxlpHqfnIMAmwH 1Qc8EFG4WnXSh9uc8C+VL/zWHZpBVMldCpprk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=wt32C6jJyqYww/2OU4LHQlsREojlUBkFv1o0xXcJPLh4AECS8N49+eu5Gwt4LNmgdL Ttu/s6MAW8A9GRnvPdvjOciP5S1zuzntHrQEHGVFR2zYxezqOdCrlq5IS7nASLvRKOEW lpEJl9Dd4OVuvL6e3SCr+Pv/n+q7aMtE1wyJo= MIME-Version: 1.0 Date: Fri, 25 Jun 2010 19:16:48 +0530 Message-ID: <[email protected]> Subject: documentation on hama core Java API From: Peeyush Kumar <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00163630f3dba30b830489db007c --00163630f3dba30b830489db007c Content-Type: text/plain; charset=ISO-8859-1 Hi, Thanks Edward I am able to run the example classes now. To use the hama Java APIs for various matrix computation is there any documentation, etc which contains the description of hama-core java classes and methods. Thanks Peeyush --00163630f3dba30b830489db007c-- From [email protected] Fri Jun 25 15:13:13 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80876 invoked from network); 25 Jun 2010 15:13:13 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Jun 2010 15:13:13 -0000 Received: (qmail 70100 invoked by uid 500); 25 Jun 2010 15:13:13 -0000 Delivered-To: [email protected] Received: (qmail 70053 invoked by uid 500); 25 Jun 2010 15:13:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 70045 invoked by uid 99); 25 Jun 2010 15:13:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jun 2010 15:13:12 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yx0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jun 2010 15:13:06 +0000 Received: by yxk30 with SMTP id 30so831948yxk.6 for <[email protected]>; Fri, 25 Jun 2010 08:12:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=I7SdQJLSnELva4Iclh6OtMl6a+ziK8l1dSw8K+G+NSc=; b=IuJi3VYeV78AwpO5dde5atGuK44C+T44QWIzz+S4Cy9CSddUh1zfzo5dZrDEYODKCb PFxo34KOEOVcckam/l8Jah+GbeIT3R7L0J/vp6kLXRppDX5VQ1ze8uIJyCqQKA1IFjqV iiVQYyc+i0BA9N/AhK50GNAASyQzAEW0T3bPk= 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=VX9y8xRVnowjtC9YZ+iimjhkf+PcmVHCDMc8y9F0DweEn6ryJufbgrlSxIllS2CKB9 MNOa2g2jGA4Z1r4NFYsUisA7ZKmWbQ9RhkuVDg6jVnqdccP9avu2h4Z9399FxkLCWR81 o3jnBoWvIto20/94lHkvarbq/k7k0z8Bw06KA= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id f38mr1042347ani.90.1277478763756; Fri, 25 Jun 2010 08:12:43 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 25 Jun 2010 08:12:43 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Fri, 25 Jun 2010 11:12:43 -0400 Message-ID: <[email protected]> Subject: Re: Download and installation From: Erik Test <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016368e2ac8ec04f40489dc339f X-Virus-Checked: Checked by ClamAV on apache.org --0016368e2ac8ec04f40489dc339f Content-Type: text/plain; charset=UTF-8 Thanks. I've downloaded the working code on all nodes and I found a message on the thread that has instructions to get an example running. http://[email protected]/msg00114.html However, the example doesn't run for me. Here is what I see. [root@slave2 ~]# hama-trunk/bin/hama examples rand 20 20 20% tmp Exception in thread "main" java.lang.NoClassDefFoundError: examples Caused by: java.lang.ClassNotFoundException: examples at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) Could not find the main class: examples. Program will exit. I found the examples directory and saw that there were no class files in the directory and tried to build the class files simply using javac *.java but got many errors saying symbols couldn't be found and packages didn't exist. How should I go about getting an example to run using hama? Thanks for your time Erik On 24 June 2010 18:41, Edward J. Yoon <[email protected]> wrote: > Hello, > > Currently we are working towards first official release, and there is > no release yet, but there is already some working code in the SVN > repository. > > See http://incubator.apache.org/hama/developers.html > > HAMA 0.2 (including BSP) will be ready soon. > > Thanks! > > On Fri, Jun 25, 2010 at 5:30 AM, Erik Test <[email protected]> wrote: > > Hi, > > > > I'm looking for where I can download Hama. I couldn't find a link to > > download Hama from Apache and I'm searching on Google with no luck so > far. > > > > Can anyone send me a link where I can find Hama to download? > > Erik > > > > > > -- > Best Regards, Edward J. Yoon > [email protected] > http://blog.udanax.org > --0016368e2ac8ec04f40489dc339f-- From [email protected] Sat Jun 26 02:07:15 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51009 invoked from network); 26 Jun 2010 02:07:15 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Jun 2010 02:07:15 -0000 Received: (qmail 20845 invoked by uid 500); 26 Jun 2010 02:07:15 -0000 Delivered-To: [email protected] Received: (qmail 20801 invoked by uid 500); 26 Jun 2010 02:07:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 20793 invoked by uid 99); 26 Jun 2010 02:07:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jun 2010 02:07:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 26 Jun 2010 02:07:11 +0000 Received: (qmail 50985 invoked by uid 99); 26 Jun 2010 02:06:49 -0000 Received: from localhost.apache.org (HELO mail-iw0-f175.google.com) (161.129.204.104) (smtp-auth username edwardyoon, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jun 2010 02:06:49 +0000 Received: by iwn42 with SMTP id 42so5376109iwn.6 for <[email protected]>; Fri, 25 Jun 2010 19:06:48 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id z3mr1589400iby.48.1277518008863; Fri, 25 Jun 2010 19:06:48 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 25 Jun 2010 19:06:48 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Sat, 26 Jun 2010 11:06:48 +0900 Message-ID: <[email protected]> Subject: Re: Download and installation From: "Edward J. Yoon" <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Please try to run the following command: # bin/hama org.apache.hama.examples.ExampleDriver I'll add example launcher command to run script soon. Thanks. On Sat, Jun 26, 2010 at 12:12 AM, Erik Test <[email protected]> wrote: > Thanks. > I've downloaded the working code on all nodes and I found a message on th= e > thread that has instructions to get an example running. > > http://[email protected]/msg00114.html > > However, the example doesn't run for me. Here is what I see. > > [root@slave2 ~]# hama-trunk/bin/hama examples rand 20 20 20% tmp > Exception in thread "main" java.lang.NoClassDefFoundError: examples > Caused by: java.lang.ClassNotFoundException: examples > =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.net.URLClassLoader$1.run(URLClassLoade= r.java:202) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.security.AccessController.doPrivileged= (Native Method) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.net.URLClassLoader.findClass(URLClassL= oader.java:190) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.ClassLoader.loadClass(ClassLoader= .java:307) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at sun.misc.Launcher$AppClassLoader.loadClass(= Launcher.java:301) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.ClassLoader.loadClass(ClassLoader= .java:248) > Could not find the main class: examples. =C2=A0Program will exit. > > I found the examples directory and saw that there were no class files in = the > directory and tried to build the class files simply using javac *.java bu= t > got many errors saying symbols couldn't be found and packages didn't exis= t. > > How should I go about getting an example to run using hama? > > Thanks for your time > Erik > > > On 24 June 2010 18:41, Edward J. Yoon <[email protected]> wrote: > >> Hello, >> >> Currently we are working towards first official release, and there is >> no release yet, but there is already some working code in the SVN >> repository. >> >> See http://incubator.apache.org/hama/developers.html >> >> HAMA 0.2 (including BSP) will be ready soon. >> >> Thanks! >> >> On Fri, Jun 25, 2010 at 5:30 AM, Erik Test <[email protected]> wrote= : >> > Hi, >> > >> > I'm looking for where I can download Hama. I couldn't find a link to >> > download Hama from Apache and I'm searching on Google with no luck so >> far. >> > >> > Can anyone send me a link where I can find Hama to download? >> > Erik >> > >> >> >> >> -- >> Best Regards, Edward J. Yoon >> [email protected] >> http://blog.udanax.org >> > --=20 Best Regards, Edward J. Yoon [email protected] http://blog.udanax.org From [email protected] Sat Jun 26 08:19:30 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13548 invoked from network); 26 Jun 2010 08:19:29 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Jun 2010 08:19:29 -0000 Received: (qmail 31033 invoked by uid 500); 26 Jun 2010 08:19:29 -0000 Delivered-To: [email protected] Received: (qmail 30922 invoked by uid 500); 26 Jun 2010 08:19:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30914 invoked by uid 99); 26 Jun 2010 08:19:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jun 2010 08:19:26 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qy0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jun 2010 08:19:18 +0000 Received: by qyk30 with SMTP id 30so194511qyk.6 for <[email protected]>; Sat, 26 Jun 2010 01:18:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=mLJiVGEWN088rr/+c4rOc70+vCf4jb1Z266k5kt+9P8=; b=GjfBX8mhZCZxJc3FSPGa6c9H1xRpYECE+bUZE0PUFy1rJWIy6kQyFZVcdaQKKjnNJn Vl1RSfNV492eZY4nieJ12Vmv/HEQrmVwZikZr8L2tuqdbpS/NprWo7FEmNgT57ptRip5 Q9VJ26MfZEkMChNu7KKQ17N99/nhvbjw5DWns= 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=nr8HcZC0ilqAalQ+EbPWp6CmQAYXXd4IS9KiOm6Ig+fBTUK5CuYxMagiaKFjQ4nVtg AZCb+gYiAWcqHj/2Mqc5RZVPV00J++AZ9u1vh1DMGi525yUtcefaQYnWGXlfPkOKIEi5 i4KamutypVNBN+AtQfd4szvLmH4TrL+x1NLB4= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id k7mr1416199qai.257.1277540337175; Sat, 26 Jun 2010 01:18:57 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sat, 26 Jun 2010 01:18:57 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Sat, 26 Jun 2010 13:48:57 +0530 Message-ID: <[email protected]> Subject: Re: documentation on hama core Java API From: Peeyush Kumar <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00163613a385fbcc310489ea890d X-Virus-Checked: Checked by ClamAV on apache.org --00163613a385fbcc310489ea890d Content-Type: text/plain; charset=ISO-8859-1 More Specifically I want to load 2 symmetric matrices (2mil*2mil) onto the HBase Shell, multiply them and calculate eigenvector and eigenvalues of the resultant matrix. How do I load my data into the matrix using HAMA java api or do I have to do the same using hbase java api directly (and load the data and metadata in the same format as the random matrix generator example load the data/metadata into the hbase database). Thanks Peeyush On Fri, Jun 25, 2010 at 7:16 PM, Peeyush Kumar <[email protected]> wrote: > Hi, > > Thanks Edward I am able to run the example classes now. > To use the hama Java APIs for various matrix computation is there any > documentation, etc which contains the description of hama-core java classes > and methods. > > Thanks > Peeyush > --00163613a385fbcc310489ea890d-- From [email protected] Sun Jun 27 13:28:15 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74894 invoked from network); 27 Jun 2010 13:28:15 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 27 Jun 2010 13:28:15 -0000 Received: (qmail 45987 invoked by uid 500); 27 Jun 2010 13:28:15 -0000 Delivered-To: [email protected] Received: (qmail 45800 invoked by uid 500); 27 Jun 2010 13:28:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 45783 invoked by uid 99); 27 Jun 2010 13:28:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jun 2010 13:28:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 27 Jun 2010 13:28:08 +0000 Received: (qmail 74873 invoked by uid 99); 27 Jun 2010 13:27:46 -0000 Received: from localhost.apache.org (HELO mail-iw0-f175.google.com) (161.129.204.104) (smtp-auth username edwardyoon, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jun 2010 13:27:46 +0000 Received: by iwn9 with SMTP id 9so205406iwn.6 for <multiple recipients>; Sun, 27 Jun 2010 06:27:46 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id o16mr3852652ibl.182.1277645266015; Sun, 27 Jun 2010 06:27:46 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sun, 27 Jun 2010 06:27:45 -0700 (PDT) Date: Sun, 27 Jun 2010 22:27:45 +0900 Message-ID: <[email protected]> Subject: Local BSP Job is now available. From: "Edward J. Yoon" <[email protected]> To: [email protected], [email protected] Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Hi, Today, I committed the LocalJobRunner and Pi estimation example. Now, you can test by typing the following command: 1) starting bspd and zookeeper. # bin/start-bspd.sh 2) run Pi estimation example # bin/hama org.apache.hama.examples.PiEstimator Enjoy! P.S. The distributed BSP job is not ready yet, but will be done soon. and If you have any feedback about current status/plans, Pls let me know. Thanks. -- Best Regards, Edward J. Yoon [email protected] http://blog.udanax.org From [email protected] Mon Jun 28 13:27:23 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80675 invoked from network); 28 Jun 2010 13:27:23 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 28 Jun 2010 13:27:23 -0000 Received: (qmail 85515 invoked by uid 500); 28 Jun 2010 13:27:23 -0000 Delivered-To: [email protected] Received: (qmail 85410 invoked by uid 500); 28 Jun 2010 13:27:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 85401 invoked by uid 99); 28 Jun 2010 13:27:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jun 2010 13:27:19 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-gw0-f47.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jun 2010 13:27:13 +0000 Received: by gwaa12 with SMTP id a12so1392796gwa.6 for <[email protected]>; Mon, 28 Jun 2010 06:26:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=JtwerlEt/GwTeZfQSfXxF7sY256tnEHEEzTKWe11lWk=; b=WGxBc38tWkQqM0SNx3hRkkKomTgcSlJxd3K3FraALQ+GfmgQjWOXayiA8yvymhGxUC xl8EOaL1KyDfba6bhsBX0ccWTPNc/B/mIZzZ8MmWpVneERYEA8c9Szb82CcfLj3CzzuN 0NL3c/Y5zhOJU+ypcNd0/XB8GcwCj/dzoo63Q= 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=VxP6chix2aKsBWduRIMijpS+5uLDspA59Z5ixYi51dYZa1MvwydZIQp7wiV7FTkXgj COFZYQq3rXCCMv2jyKExiCRcggDx1uqFDxZwPw+eoSS2/pNXKb6NyrSTQIgc3I0M3/2T YV2epRxceMiMpLqKIDpEvhGXbf3VvYN7q5WLQ= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id a23mr6482833anq.231.1277731611913; Mon, 28 Jun 2010 06:26:51 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 28 Jun 2010 06:26:51 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Mon, 28 Jun 2010 09:26:51 -0400 Message-ID: <[email protected]> Subject: Re: Download and installation From: Erik Test <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016e68ed774d8af51048a1712d4 X-Virus-Checked: Checked by ClamAV on apache.org --0016e68ed774d8af51048a1712d4 Content-Type: text/plain; charset=UTF-8 Thanks Edward! It runs now. Erik On 25 June 2010 22:06, Edward J. Yoon <[email protected]> wrote: > Please try to run the following command: # bin/hama > org.apache.hama.examples.ExampleDriver > > I'll add example launcher command to run script soon. > > Thanks. > > On Sat, Jun 26, 2010 at 12:12 AM, Erik Test <[email protected]> wrote: > > Thanks. > > I've downloaded the working code on all nodes and I found a message on > the > > thread that has instructions to get an example running. > > > > http://[email protected]/msg00114.html > > > > However, the example doesn't run for me. Here is what I see. > > > > [root@slave2 ~]# hama-trunk/bin/hama examples rand 20 20 20% tmp > > Exception in thread "main" java.lang.NoClassDefFoundError: examples > > Caused by: java.lang.ClassNotFoundException: examples > > at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > > at java.security.AccessController.doPrivileged(Native Method) > > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:307) > > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:248) > > Could not find the main class: examples. Program will exit. > > > > I found the examples directory and saw that there were no class files in > the > > directory and tried to build the class files simply using javac *.java > but > > got many errors saying symbols couldn't be found and packages didn't > exist. > > > > How should I go about getting an example to run using hama? > > > > Thanks for your time > > Erik > > > > > > On 24 June 2010 18:41, Edward J. Yoon <[email protected]> wrote: > > > >> Hello, > >> > >> Currently we are working towards first official release, and there is > >> no release yet, but there is already some working code in the SVN > >> repository. > >> > >> See http://incubator.apache.org/hama/developers.html > >> > >> HAMA 0.2 (including BSP) will be ready soon. > >> > >> Thanks! > >> > >> On Fri, Jun 25, 2010 at 5:30 AM, Erik Test <[email protected]> > wrote: > >> > Hi, > >> > > >> > I'm looking for where I can download Hama. I couldn't find a link to > >> > download Hama from Apache and I'm searching on Google with no luck so > >> far. > >> > > >> > Can anyone send me a link where I can find Hama to download? > >> > Erik > >> > > >> > >> > >> > >> -- > >> Best Regards, Edward J. Yoon > >> [email protected] > >> http://blog.udanax.org > >> > > > > > > -- > Best Regards, Edward J. Yoon > [email protected] > http://blog.udanax.org > --0016e68ed774d8af51048a1712d4-- From [email protected] Tue Jun 29 06:22:37 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33863 invoked from network); 29 Jun 2010 06:22:36 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 29 Jun 2010 06:22:36 -0000 Received: (qmail 30607 invoked by uid 500); 29 Jun 2010 06:22:36 -0000 Delivered-To: [email protected] Received: (qmail 30502 invoked by uid 500); 29 Jun 2010 06:22:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30494 invoked by uid 99); 29 Jun 2010 06:22:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jun 2010 06:22:33 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-vw0-f47.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jun 2010 06:22:27 +0000 Received: by vws12 with SMTP id 12so3254855vws.6 for <[email protected]>; Mon, 28 Jun 2010 23:22:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=VAaleRtkSyehcqO/ib/XCR7DTvd6reJsT3g7hlt3qk0=; b=Ts/MBl6dZTcWWUVvUHjVvswj8o3clpj/7JBNoiiDtpSekvUTH9DCqYODV77De8LEkI 4d0g8g+GPagqE19nJL673haPTUDsNju9LasKUUbM3zOLLyyVMI0wsuHUrtseukpR4Xez BrV8R/9CSxdlyU78W2t5WXMNRqAXU6EJqfcQM= 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=jqxtdngk5aoFGvl69Qwfv6DnvhjOJlZL23RQRg0v01wNTcktpwmODa5Ok93lpPtQWF V45bwzYGWElRHkyn1LsJrfbJG08ZP+g7Exm5agP5vYDHlPl+2kOFpBMnHCh19Vb6rxOJ aHC+W6Ohwucr40AxN3XF/kVETDS36mfQo8Vsc= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id v32mr3605519vcr.178.1277792526072; Mon, 28 Jun 2010 23:22:06 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 28 Jun 2010 23:22:06 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Tue, 29 Jun 2010 11:52:06 +0530 Message-ID: <[email protected]> Subject: Re: Local BSP Job is now available. From: prasenjit mukherjee <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016e68e9a549cfc3f048a2541c7 X-Virus-Checked: Checked by ClamAV on apache.org --0016e68e9a549cfc3f048a2541c7 Content-Type: text/plain; charset=ISO-8859-1 Does BSP depend upon hbase as well ? On Sun, Jun 27, 2010 at 6:57 PM, Edward J. Yoon <[email protected]>wrote: > Hi, > > Today, I committed the LocalJobRunner and Pi estimation example. Now, > you can test by typing the following command: > > 1) starting bspd and zookeeper. > # bin/start-bspd.sh > > 2) run Pi estimation example > # bin/hama org.apache.hama.examples.PiEstimator > > Enjoy! > > P.S. The distributed BSP job is not ready yet, but will be done soon. > and If you have any feedback about current status/plans, Pls let me > know. Thanks. > -- > Best Regards, Edward J. Yoon > [email protected] > http://blog.udanax.org > --0016e68e9a549cfc3f048a2541c7-- From [email protected] Tue Jun 29 08:00:35 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62411 invoked from network); 29 Jun 2010 08:00:35 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 29 Jun 2010 08:00:35 -0000 Received: (qmail 20028 invoked by uid 500); 29 Jun 2010 08:00:35 -0000 Delivered-To: [email protected] Received: (qmail 19906 invoked by uid 500); 29 Jun 2010 08:00:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 19897 invoked by uid 99); 29 Jun 2010 08:00:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jun 2010 08:00:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 29 Jun 2010 08:00:29 +0000 Received: (qmail 62297 invoked by uid 99); 29 Jun 2010 08:00:07 -0000 Received: from localhost.apache.org (HELO mail-iw0-f175.google.com) (161.129.204.104) (smtp-auth username edwardyoon, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jun 2010 08:00:07 +0000 Received: by iwn34 with SMTP id 34so828003iwn.6 for <[email protected]>; Tue, 29 Jun 2010 01:00:06 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id d11mr5845812iba.131.1277798405669; Tue, 29 Jun 2010 01:00:05 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 29 Jun 2010 01:00:05 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Tue, 29 Jun 2010 17:00:05 +0900 Message-ID: <[email protected]> Subject: Re: Local BSP Job is now available. From: "Edward J. Yoon" <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Since BSP is a computing engine, it does not require HBast to run. Thanks. On Tue, Jun 29, 2010 at 3:22 PM, prasenjit mukherjee <[email protected]> wrote: > Does BSP depend upon hbase as well ? > > On Sun, Jun 27, 2010 at 6:57 PM, Edward J. Yoon <[email protected]>wrote: > >> Hi, >> >> Today, I committed the LocalJobRunner and Pi estimation example. Now, >> you can test by typing the following command: >> >> 1) starting bspd and zookeeper. >> # bin/start-bspd.sh >> >> 2) run Pi estimation example >> # bin/hama org.apache.hama.examples.PiEstimator >> >> Enjoy! >> >> P.S. The distributed BSP job is not ready yet, but will be done soon. >> and If you have any feedback about current status/plans, Pls let me >> know. Thanks. >> -- >> Best Regards, Edward J. Yoon >> [email protected] >> http://blog.udanax.org >> > -- Best Regards, Edward J. Yoon [email protected] http://blog.udanax.org
From [email protected] Fri Mar 05 16:00:36 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83590 invoked from network); 5 Mar 2010 16:00:35 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 5 Mar 2010 16:00:35 -0000 Received: (qmail 38906 invoked by uid 500); 5 Mar 2010 16:00:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 38898 invoked by uid 99); 5 Mar 2010 16:00:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Mar 2010 16:00:21 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO a.mail.sonic.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Mar 2010 16:00:12 +0000 Received: from webmail.sonic.net (b.webmail.sonic.net [161.129.204.104]) by a.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with ESMTP id o25Fxo1Q029603; Fri, 5 Mar 2010 07:59:50 -0800 Received: from 161.129.204.104 (SquirrelMail authenticated user mcaisse) by webmail.sonic.net with HTTP; Fri, 5 Mar 2010 07:59:50 -0800 Message-ID: <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Fri, 5 Mar 2010 07:59:50 -0800 Subject: JDO TCK Conference Call Friday, Mar 5, 9 am PDT From: [email protected] To: [email protected] Cc: "JDO Expert Group" <[email protected]> User-Agent: SquirrelMail/1.4.19 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org Hi, We will have our regular meeting Friday, February 26 at 9 am PDT to discuss JDO TCK issues and status. Dial-in numbers are: Domestic (toll-free): 307-845-0453 International (caller-paid): 307-845-0453 Access code : 294-0479# Agenda: 1. Other issues Action Items from weeks past: -- Michelle From [email protected] Fri Mar 05 17:22:00 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4567 invoked from network); 5 Mar 2010 17:22:00 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 5 Mar 2010 17:22:00 -0000 Received: (qmail 5984 invoked by uid 500); 5 Mar 2010 17:21:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 5890 invoked by uid 99); 5 Mar 2010 17:21:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Mar 2010 17:21:45 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO sca-es-mail-1.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Mar 2010 17:21:36 +0000 Received: from fe-sfbay-10.sun.com ([161.129.204.104]) by sca-es-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o25HLAun018983 for <[email protected]>; Fri, 5 Mar 2010 09:21:10 -0800 (PST) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; delsp=yes; format=flowed Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) id <[email protected]> for [email protected]; Fri, 05 Mar 2010 09:21:10 -0800 (PST) Received: from [161.129.204.104] ([unknown] [161.129.204.104]) by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) with ESMTPSA id <[email protected]> for [email protected]; Fri, 05 Mar 2010 09:21:10 -0800 (PST) Date: Fri, 05 Mar 2010 09:21:08 -0800 Sun-Java-System-SMTP-Warning: Lines longer than SMTP allows found and truncated. From: Craig L Russell <[email protected]> Subject: Minutes: JDO TCK Conference Call Friday, Mar 5, 9 am PST In-reply-to: <[email protected]> Sender: [email protected] To: [email protected] Cc: JDO Expert Group <[email protected]> Message-id: <[email protected]> X-Mailer: Apple Mail (2.936) X-Priority: 3 (Normal) References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Attendees: Michelle Caisse, Michael Bouschen, Craig Russell NOTE: With the acquisition of Sun by Oracle, the conference call numbers that we use for conference calls will change. Please watch for the change. Agenda: 1. Other issues The spec update is underway. I expect to have sections to review by next week. We will look at the metadata tests to read some of the .jdo metadata files using an xml parser and compare the contents with the metadata that is available from the metadata api. AI Craig update the JIRA Michelle will try to have some code to review next week for the getPersistenceManagerFactory(Map, Map) test. Craig L Russell Architect, Sun Java Enterprise System http://db.apache.org/jdo 307-845-0453 mailto:[email protected] P.S. A good JDO? O, Gasp! From [email protected] Mon Mar 08 03:34:13 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 72728 invoked from network); 8 Mar 2010 03:34:13 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 8 Mar 2010 03:34:13 -0000 Received: (qmail 9771 invoked by uid 500); 8 Mar 2010 03:33:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 9762 invoked by uid 99); 8 Mar 2010 03:33:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Mar 2010 03:33:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Mar 2010 03:33:47 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 6AAC8234C1EF for <[email protected]>; Mon, 8 Mar 2010 03:33:27 +0000 (UTC) Message-ID: <[email protected]> Date: Mon, 8 Mar 2010 03:33:27 +0000 (UTC) From: "Michelle Caisse (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (JDO-557) Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map) In-Reply-To: <2217727.1196453383015.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JDO-557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12842527#action_12842527 ] Michelle Caisse commented on JDO-557: ------------------------------------- I'm not clear how we can use a dynamic proxy here.When JDOHelper() invokes the implementation's PMF's static getPMF method, it does so by reflection on the pmf class. Providing an instance that delegates to an invocation handler won't work. Also, I'm not sure that we could provide an implementation of a static method with a dynamic proxy. Do we need to provide our own implemetation of PMF, with stubs for most methods? > Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map) > --------------------------------------------------------------------------------------------------------------- > > Key: JDO-557 > URL: https://issues.apache.org/jira/browse/JDO-557 > Project: JDO > Issue Type: Task > Components: api2, api2-legacy > Affects Versions: JDO 2 maintenance release 1 > Reporter: Matthew T. Adams > Assignee: Michelle Caisse > Fix For: JDO 2 maintenance release 3 > > > The code paths that lead to calling the JDO implementation's PersistenceManagerFactory class's static method getPersistenceManagerFactory(Map,Map) need to be tested. In order to avoid a dependency on a real implementation, a stub PMF implementation class should be used. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Mar 08 11:43:36 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12224 invoked from network); 8 Mar 2010 11:43:36 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 8 Mar 2010 11:43:36 -0000 Received: (qmail 8599 invoked by uid 500); 8 Mar 2010 11:43:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 8586 invoked by uid 99); 8 Mar 2010 11:43:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Mar 2010 11:43:12 +0000 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=MISSING_HEADERS,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mxout12.netvision.net.il) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Mar 2010 11:43:03 +0000 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from [161.129.204.104] ([161.129.204.104]) by mxout12.netvision.net.il (Sun Java(tm) System Messaging Server 6.3-9.01 (built Oct 22 2009; 32bit)) with ESMTPA id <[email protected]> for [email protected]; Mon, 08 Mar 2010 13:42:35 +0200 (IST) Message-id: <[email protected]> Date: Mon, 08 Mar 2010 13:42:38 +0200 From: Ilan Kirsh <[email protected]> Reply-to: [email protected] User-Agent: Thunderbird 161.129.204.104 (Windows/20090812) Cc: [email protected], JDO Expert Group <[email protected]> Subject: Running JDO TCK on Eclipse References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-reply-to: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am looking for instructions on how to run the JDO TCK 2.2 on Eclipse. Particularly I am having difficulties in running the org.apache.jdo.tck.mapping tests (because unlike most other tests they do not run without the conf files). Any help will be appreciated. Thanks, Ilan Kirsh From [email protected] Thu Mar 11 11:54:20 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22054 invoked from network); 11 Mar 2010 11:54:20 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 11 Mar 2010 11:54:20 -0000 Received: (qmail 50597 invoked by uid 500); 11 Mar 2010 11:53:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 50589 invoked by uid 99); 11 Mar 2010 11:53:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Mar 2010 11:53:46 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO relay.pcl-ipout02.plus.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Mar 2010 11:53:38 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAC9omEvUnw4R/2dsb2JhbACaWXO7cIR6BA Received: from pih-relay04.plus.net ([161.129.204.104]) by relay.pcl-ipout02.plus.net with ESMTP; 11 Mar 2010 11:53:17 +0000 Received: from [161.129.204.104] (helo=rookie.persistability.co.uk) by pih-relay04.plus.net with esmtp (Exim) id 1Npgx3-0005Ra-6c for [email protected]; Thu, 11 Mar 2010 11:53:17 +0000 From: Andy Jefferson <[email protected]> To: Apache JDO project <[email protected]> Subject: TCK tests : QueryCancel Date: Thu, 11 Mar 2010 11:53:16 +0000 User-Agent: KMail/1.12.2 (Linux/161.129.204.104-desktop-1mnb; KDE/4.3.2; i686; ; ) Organization: DataNucleus MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> X-Plusnet-Relay: 65aa5fe5500f0638ae0f0bb596329134 X-Virus-Checked: Checked by ClamAV on apache.org Hi, Finally got around to running these tests with an implementation of JDOQL that supports cancellation. I logged the point of calls to Query.cancel, Query.execute etc. 11:48:59,211 (main) INFO [DataNucleus.General] - >> testCancel : creating query 11:48:59,240 (main) DEBUG [DataNucleus.Query] - JDOQL Single-String with "select avg (this.x + point2.y) from PCPoint where this.y >= 0 && point2.x >= 0 variables PCPoint2 point2 import org.apache.jdo.tck.pc.mylib.PCPoint; import org.apache.jdo.tck.pc.mylib.PCPoint2; " 11:48:59,248 (main) INFO [DataNucleus.General] - >> testCancel : calling query.cancel() from main thread 11:48:59,248 (Query Executor) DEBUG [DataNucleus.Transaction] - Transaction created [DataNucleus Transaction, ID=Xid= , enlisted resources=[]] 11:48:59,248 (main) INFO [DataNucleus.General] - >> Query.cancelThread thread=21 numTasks=0 11:48:59,249 (Query Executor) DEBUG [DataNucleus.Transaction] - Transaction begun for ObjectManager org.datanucleus.ObjectManagerImpl@9b6220 (optimistic=false) 11:48:59,249 (Query Executor) INFO [DataNucleus.General] - >> testCancel : Calling query.execute from thread 11:48:59,249 (Query Executor) DEBUG [DataNucleus.Query] - JDOQL Query : Compiling "SELECT avg (this.x + point2.y) FROM org.apache.jdo.tck.pc.mylib.PCPoint WHERE this.y >= 0 && point2.x >= 0 VARIABLES PCPoint2 point2 import org.apache.jdo.tck.pc.mylib.PCPoint;import org.apache.jdo.tck.pc.mylib.PCPoint2;" so the conclusion is that the test cancels (or tries to cancel) the query that it hasn't yet started! What is the expected behaviour of Query.cancel(Thread) when there are no queries running in that thread ? noop makes sense to me. That's what DataNucleus does; the test doesn't cater for that situation. Suggest that the test needs to allow the query to get to execute() before it cancels it Regards -- Andy DataNucleus (http://www.datanucleus.org) From [email protected] Thu Mar 11 16:30:43 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66663 invoked from network); 11 Mar 2010 16:30:43 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 11 Mar 2010 16:30:43 -0000 Received: (qmail 84872 invoked by uid 500); 11 Mar 2010 16:30:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84862 invoked by uid 99); 11 Mar 2010 16:30:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Mar 2010 16:30:09 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO sca-es-mail-2.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Mar 2010 16:30:01 +0000 Received: from fe-sfbay-09.sun.com ([161.129.204.104]) by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o2BGTdc9014797 for <[email protected]>; Thu, 11 Mar 2010 08:29:39 -0800 (PST) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; delsp=yes; format=flowed Received: from conversion-daemon.fe-sfbay-09.sun.com by fe-sfbay-09.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) id <[email protected]> for [email protected]; Thu, 11 Mar 2010 08:29:39 -0800 (PST) Received: from [161.129.204.104] ([unknown] [161.129.204.104]) by fe-sfbay-09.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) with ESMTPSA id <[email protected]> for [email protected]; Thu, 11 Mar 2010 08:29:37 -0800 (PST) Date: Thu, 11 Mar 2010 08:29:32 -0800 From: Craig L Russell <[email protected]> Subject: Re: TCK tests : QueryCancel In-reply-to: <[email protected]> Sender: [email protected] To: [email protected] Message-id: <[email protected]> X-Mailer: Apple Mail (2.936) References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi Andy, Sounds like some more sophisticated thread synchronization is needed in the test cases. Craig On Mar 11, 2010, at 3:53 AM, Andy Jefferson wrote: > Hi, > > Finally got around to running these tests with an implementation of > JDOQL that > supports cancellation. I logged the point of calls to Query.cancel, > Query.execute etc. > > 11:48:59,211 (main) INFO [DataNucleus.General] - >> testCancel : > creating > query > 11:48:59,240 (main) DEBUG [DataNucleus.Query] - JDOQL Single-String > with > "select avg (this.x + point2.y) from PCPoint where this.y >= 0 && > point2.x >= > 0 variables PCPoint2 point2 import > org.apache.jdo.tck.pc.mylib.PCPoint; import > org.apache.jdo.tck.pc.mylib.PCPoint2; " > 11:48:59,248 (main) INFO [DataNucleus.General] - >> testCancel : > calling > query.cancel() from main thread > 11:48:59,248 (Query Executor) DEBUG [DataNucleus.Transaction] - > Transaction > created [DataNucleus Transaction, ID=Xid= > , enlisted resources=[]] > 11:48:59,248 (main) INFO [DataNucleus.General] - >> > Query.cancelThread > thread=21 numTasks=0 > 11:48:59,249 (Query Executor) DEBUG [DataNucleus.Transaction] - > Transaction > begun for ObjectManager org.datanucleus.ObjectManagerImpl@9b6220 > (optimistic=false) > 11:48:59,249 (Query Executor) INFO [DataNucleus.General] - >> > testCancel : > Calling query.execute from thread > 11:48:59,249 (Query Executor) DEBUG [DataNucleus.Query] - JDOQL > Query : > Compiling "SELECT avg (this.x + point2.y) FROM > org.apache.jdo.tck.pc.mylib.PCPoint WHERE this.y >= 0 && point2.x >= 0 > VARIABLES PCPoint2 point2 import > org.apache.jdo.tck.pc.mylib.PCPoint;import > org.apache.jdo.tck.pc.mylib.PCPoint2;" > > so the conclusion is that the test cancels (or tries to cancel) the > query that > it hasn't yet started! > > What is the expected behaviour of Query.cancel(Thread) when there > are no > queries running in that thread ? noop makes sense to me. That's what > DataNucleus does; the test doesn't cater for that situation. > Suggest that the test needs to allow the query to get to execute() > before it > cancels it > > > > Regards > -- > Andy > DataNucleus (http://www.datanucleus.org) Craig L Russell Architect, Sun Java Enterprise System http://db.apache.org/jdo 307-845-0453 mailto:[email protected] P.S. A good JDO? O, Gasp! From [email protected] Thu Mar 11 17:05:13 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9369 invoked from network); 11 Mar 2010 17:05:12 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 11 Mar 2010 17:05:12 -0000 Received: (qmail 59756 invoked by uid 500); 11 Mar 2010 17:04:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 90769 invoked by uid 99); 11 Mar 2010 16:34:19 -0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1268325233; bh=/Slt9v3qB1uPyTaboEn/mFTc7so=; h=MIME-Version:From:Date:Message-ID:Subject:To:Content-Type; b=Be9Li41xx8T8TN6l3OymKwEqbVZ9wbvQJYKl3C24yEsGimXh+Frimi9XxoNcrmMyO 3AHoAuPLmaqMM4hcxLO4w== DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:from:date:message-id:subject:to:content-type:x-system-of-record; b=hKPOpY+70fSdRb658rIQHvirz3wUBMk1ufEtaRLZMqowwmjTz9UUNpw3PsRCWJ3gO WqfJEwkTKDko3KepGgKGg== MIME-Version: 1.0 From: Eric Ayers <[email protected]> Date: Thu, 11 Mar 2010 11:33:31 -0500 Message-ID: <[email protected]> Subject: Typo on JDOQL documentation page To: [email protected] Content-Type: multipart/alternative; boundary=000e0cd72266e844c0048188fab8 X-System-Of-Record: true --000e0cd72266e844c0048188fab8 Content-Type: text/plain; charset=ISO-8859-1 I think there is a typo on: http://db.apache.org/jdo/jdoql.html Equality ("==") ("=!") should read: Equality ("==") ("!=") -- Eric Z. Ayers Google Web Toolkit, Atlanta, GA USA Sign up now for Google I/O 2010: May 19-20, http://code.google.com/io --000e0cd72266e844c0048188fab8-- From [email protected] Fri Mar 12 01:47:55 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9033 invoked from network); 12 Mar 2010 01:47:55 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 12 Mar 2010 01:47:55 -0000 Received: (qmail 66174 invoked by uid 500); 12 Mar 2010 01:47:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 66166 invoked by uid 99); 12 Mar 2010 01:47:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 01:47:20 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO sca-es-mail-1.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 01:47:16 +0000 Received: from fe-sfbay-10.sun.com ([161.129.204.104]) by sca-es-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o2C1ks7I015211 for <[email protected]>; Thu, 11 Mar 2010 17:46:54 -0800 (PST) MIME-version: 1.0 Content-type: text/plain; delsp=yes; format=flowed; charset=WINDOWS-1252 Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) id <[email protected]> for [email protected]; Thu, 11 Mar 2010 17:46:54 -0800 (PST) Received: from [161.129.204.104] ([unknown] [161.129.204.104]) by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) with ESMTPSA id <[email protected]> for [email protected]; Thu, 11 Mar 2010 17:46:49 -0800 (PST) Date: Thu, 11 Mar 2010 17:46:47 -0800 From: Craig L Russell <[email protected]> Subject: Spec updates for 2.3 Sender: [email protected] To: JDO Expert Group <[email protected]>, Apache JDO project <[email protected]> Message-id: <[email protected]> X-Mailer: Apple Mail (2.936) Content-transfer-encoding: QUOTED-PRINTABLE Here is a somewhat readable version of the changes in the =20 specification for 2.3 for datastore timeout, exact class =20 getObjectById, and the enhancer. Please review and comment. 11.1: Datastore Timeout Some datastore operations can exceed the expected or desired time to = =20 execute, due to conditions that might not be influenced by the =20 application directly. In order to allow the application to gracefully= =20 recover from these conditions, the application can specify timeouts t= o =20 be applied separately to read and write datastore operations. DatastoreReadTimeoutMillis: the number of milliseconds allowed for = =20 read operations to complete. Read operations include retrieving =20 instances from the datastore, loading fields, and executing queries = =20 that do not change the datastore. DatastoreWriteTimeoutMillis: the number of milliseconds allowed for = =20 write operations to complete. Write operations include flushing =20 changes and deleting instances by query. Timeouts can be specified at three locations: the =20 PersistenceManagerFactory, the PersistenceManager, and the Query. = =20 Timeouts specified at the PersistenceManagerFactory are the defaults = =20 for timeouts of the PersistenceManager. Timeous specified at the = =20 PersistenceManager are the defaults for Query. Timeouts specified at = =20 the Query apply only to that specific query. If a timeout is specified, the implementation will use the supplied = =20 value as a timeout for operations where the underlying datastore = =20 supports it. The timeouts are in milliseconds. If it is not specified= =20 then there is no timeout. 11.1.1: "javax.jdo.option.DatastoreReadTimeoutMillis" "javax.jdo.option.DatastoreWriteTimeoutMillis" 11.1.4: <!DOCTYPE jdoconfig PUBLIC =93-//Sun Microsystems, Inc.//DTD Java Data Objects =20 Configuration 2.3//EN=94 =93http://java.sun.com/dtd/jdoconfig_2_3.dtd=94> --> <!ELEMENT jdoconfig (persistence-manager-factory+)> <!ELEMENT persistence-manager-factory (property*, instance-lifecycle-= =20 listener*)> <!ATTLIST persistence-manager-factory class CDATA #IMPLIED> <!ATTLIST persistence-manager-factory name CDATA #IMPLIED> <!ATTLIST persistence-manager-factory persistence-unit-name CDATA = =20 #IMPLIED> <!ATTLIST persistence-manager-factory optimistic (true|false) CDATA = =20 #IMPLIED> <!ATTLIST persistence-manager-factory readonly (true|false) CDATA = =20 =91false=92> <!ATTLIST persistence-manager-factory retain-values (true|false) CDAT= A =20 #IMPLIED> <!ATTLIST persistence-manager-factory restore-values (true|false) = =20 CDATA #IMPLIED> <!ATTLIST persistence-manager-factory ignore-cache (true|false) CDATA= =20 #IMPLIED> <!ATTLIST persistence-manager-factory nontransactional-read (true|= =20 false) CDATA #IMPLIED> <!ATTLIST persistence-manager-factory nontransactional-write (true|= =20 false) CDATA #IMPLIED> <!ATTLIST persistence-manager-factory multithreaded (true|false) CDAT= A =20 #IMPLIED> <!ATTLIST persistence-manager-factory transaction-isolation-level = =20 CDATA #IMPLIED> <!ATTLIST persistence-manager-factory connection-driver-name CDATA = =20 #IMPLIED> <!ATTLIST persistence-manager-factory connection-user-name CDATA = =20 #IMPLIED> <!ATTLIST persistence-manager-factory connection-password CDATA =20 #IMPLIED> <!ATTLIST persistence-manager-factory connection-url CDATA #IMPLIED> <!ATTLIST persistence-manager-factory connection-factory-name CDATA = =20 #IMPLIED> <!ATTLIST persistence-manager-factory connection-factory2-name CDATA = =20 #IMPLIED> <!ATTLIST persistence-manager-factory mapping CDATA #IMPLIED> <!ATTLIST persistence-manager-factory detach-all-on-commit (true|= =20 false) CDATA #IMPLIED> <!ATTLIST persistence-manager-factory server-time-zone-id CDATA =20 #IMPLIED> <!ATTLIST persistence-manager-factory datastore-read-timeout-millis = =20 CDATA #IMPLIED> <!ATTLIST persistence-manager-factory datastore-write-timeout-millis = =20 CDATA #IMPLIED> <!ELEMENT property EMPTY> <!ATTLIST property name CDATA #REQUIRED> <!ATTLIST property value CDATA #IMPLIED> <!ELEMENT instance-lifecycle-listener EMPTY> <!ATTLIST instance-lifecycle-listener listener CDATA #REQUIRED> <!ATTLIST instance-lifecycle-listener classes CDATA #IMPLIED> 11.6: javax.jdo.option.QueryCancel The JDO implementation supports canceling a running query. The =20 underlying datastore must also support canceling a running query. The= =20 cancel support in the datastore must at least free the client thread = =20 executing the query. The server cancel behavior is not specified. javax.jdo.option.DatastoreTimeout The JDO implementation supports datastore timeouts. The underlying = =20 datastore must also support datastore timeouts. The server timeout = =20 behavior is not specified. 11.10: Metadata Access Metadata can be specified via annotations, xml, or API. These methods= =20 provide access to metadata managed by the PersistenceManagerFactory. void registerMetadata(JDOMetadata metadata); Register metadata with this PersistenceManagerFactory. Metadata can b= e =20 created using the newMetadata method. JDOMetadata newMetadata(); Return a new JDO metadata object that can be subsequently modified an= d =20 registered with this PersistenceManagerFactory. ComponentMetadata getMetadata(String className); Return the class or interface metadata object for the specified class= =20 or interface, if there is metadata defined for that class or interfac= e. 12.6.3: void setDatastoreReadTimeoutMillis(Integer milliseconds); Integer getDatastoreReadTimeoutMillis(); These methods set and get the datastore read timeout value in =20 milliseconds. The value might have been set in the =20 PersistenceManagerFactory via API or properties. Setting the value to= =20 null will use the value specified in PersistenceManagerFactory. =20 Setting the timeout to a non-null value will override the value =20 specified in PersistenceManagerFactory. void setDatastoreWriteTimeoutMillis(Integer milliseconds); Integer getDatastoreWriteTimeoutMillis(); These methods set and get the datastore write timeout value in =20 milliseconds. The value might have been set in the =20 PersistenceManagerFactory via API or properties. Setting the value to= =20 null will use the value specified in PersistenceManagerFactory. =20 Setting the timeout to a non-null value will override the value =20 specified in PersistenceManagerFactory. 12.6.5: If the validate flag is false, the user asserts that the instance = =20 exists and the object id represents the exact class of the persistent= =20 instance (specifically not a subclass or an interface): A12.6.5-2 [If the object id represents an interface or abstract class= , =20 JDOUserException is thrown.] A12.5.6-2 [If there is already an instance in the cache with the same= =20 JDO identity as the oid parameter, then this method returns it.] = =20 A12.5.6-3 [There is no change made to the state of the returned =20 instance.] A12.5.6-4 [If there is not an instance already in the cache with the = =20 same JDO identity as the oid parameter, then this method creates an = =20 instance with the specified JDO identity and returns it. If there is = =20 no transaction in progress, the returned instance will be hollow or = =20 persistent-nontransactional, at the choice of the implementation.] A12.5.6-5 [If there is a transaction in progress, the returned =20 instance will be hollow, persistent-nontransactional, or persistent-= =20 clean, at the choice of the implementation.] A12.6.5-2 [The implementation must not access the datastore to =20 determine the exact class. If the class is not the exact class, then = =20 an exception must be thrown subsequently if any field other than the = =20 identity field is accessed. ] A12.6.5-1 [If the instance does not exist in the datastore, then this= =20 method will not fail. But A12.5.6-6 [a subsequent access of the field= s =20 of the instance will throw a JDOObjectNotFoundException if the =20 instance does not exist at that time.] Further, if a relationship is = =20 established to this instance, and the instance does not exist when th= e =20 instance is flushed to the datastore, then the transaction in which = =20 the association was made will fail. If the validate flag is true: A12.5.6-7 [If there is already a transactional instance in the cache = =20 with the same jdo identity as the oid parameter, then this method = =20 returns it. There is no change made to the state of the returned = =20 instance.] A12.5.6-8 [If there is an instance already in the cache with the same= =20 jdo identity as the oid parameter, the instance is not transactional,= =20 and the instance does not exist in the datastore, then a =20 JDOObjectNotFoundException is thrown.] A12.5.6-9 [If there is not an instance already in the cache with the = =20 same jdo identity as the oid parameter, then this method creates an = =20 instance with the specified jdo identity, verifies that it exists in = =20 the datastore, and returns it. A12.6.5-2 [The class in the object id = =20 might be the exact class or an abstract or concrete superclass of the= =20 actual instance.] A12.6.5-2 [If the instance does not exist in the = =20 datastore, then a JDOObjectNotFoundException is thrown.] If the fetch= =20 plan has been changed from its original value, the fetch plan governs= =20 which fields are fetched from the datastore and which related objects= =20 are also fetched with them. =09If there is no transaction in progress, the returned instance will= be =20 hollow or persistent-nontransactional, at the choice of the =20 implementation. =09If there is a datastore transaction in progress, the returned = =20 instance will be persistent-clean. =09If there is an optimistic transaction in progress, the returned = =20 instance will be persistent-nontransactional.] 14.6.1: Query Timeout Queries may have timeouts associated with them. The timeout values = =20 might be set in the PersistenceManagerFactory, in the =20 PersistenceManager, or in the Query instance. Integer getDatastoreReadTimeoutMillis(); Integer getDatastoreWriteTimeoutMillis(); A value of null indicates that there is no timeout set for this query= . =20 A non-null value indicates that the timeout was set by this query, or= =20 the value was obtained by the default value set in the =20 PersistenceManager or the PersistenceManagerFactory. A timeout value = =20 of 0 indicates that there is no timeout for this query. void setDatastoreReadTimeoutMillis(Integer timeoutMillis); void setDatastoreWriteTimeoutMillis(Integer timeoutMillis); A14.6.1-7 [If a non-null timeout value is specified, a running query = =20 will be interrupted if it exceeds the execution time of the timeout = =20 value. The thread executing the query will throw =20 JDODatastoreException. Specifying a timeout value of 0 indicates that= =20 there is no timeout for this query (a setting of 0 overrides the = =20 default specified in the PersistenceManager or the =20 PersistenceManagerFactory).] If the timeout value is specified as null, then the timeout is =20 obtained from the PersistenceManager or the PersistenceManagerFactory= . =20 If there is no timeout specified in any of the Query, the =20 PersistenceManager or the PersistenceManagerFactory, there is no = =20 timeout for the query. Query Cancel Queries might be canceled by a different thread from the thread =20 currently executing the query. There is no requirement that the =20 Multithreaded flag be set in order to invoke the cancel operation fro= m =20 a different thread. void cancelAll(); void cancel(Thread thread); A14.6.1-8 [These methods cancel a running query (or queries). The = =20 thread that has its query canceled will throw a =20 JDOQueryInterruptedException. If cancel is not supported (most likely due to the underlying =20 implementation not supporting cancel) then =20 JDOUnsupportedOptionException is thrown to the caller. ] 19.2.2 JDO Metadata JDOMetadata represents the root of the metadata. /** * Represents the top-level JDO metadata. * @since 2.3 */ public interface JDOMetadata extends Metadata { /** * Method to set the catalog (ORM) to apply to all classes in th= is * JDO Metadata. * * @param catalog Catalog name */ JDOMetadata setCatalog(String catalog); /** * Accessor for the catalog (ORM) that all classes in this JDO = =20 Metadata * default to. * * @return The catalog */ String getCatalog(); /** * Method to set the schema (ORM) to apply to all classes in thi= s =20 JDO * Metadata. * * @param schema Schema name */ JDOMetadata setSchema(String schema); /** * Accessor for the schema (ORM) that all classes in this JDO = =20 Metadata * default to. * * @return The schema */ String getSchema(); /** * Accessor for all packages defined on the JDO Metadata. * * @return The packages */ PackageMetadata[] getPackages(); /** * Add a new package to this JDO Metadata. * * @param pkgName Name of the package * @return The PackageMetadata */ PackageMetadata newPackageMetadata(String pkgName); /** * Add a new package to this JDO Metadata. * * @param pkg The package * @return The PackageMetadata */ PackageMetadata newPackageMetadata(Package pkg); /** * Accessor for the number of packages defined in this JDO =20 Metadata. * * @return The number of packages. */ int getNumberOfPackages(); /** * Add a new class to this JDO Metadata. * Adds its package also if not yet existing. * * @param cls Class to add * @return The ClassMetadata */ ClassMetadata newClassMetadata(Class cls); /** * Add a new interface to this JDO Metadata. * Adds its package also if not yet existing. * * @param cls Class to add * @return The InterfaceMetadata */ InterfaceMetadata newInterfaceMetadata(Class cls); /** * Accessor for any named queries defined on the JDO Metadata. * * @return The queries */ QueryMetadata[] getQueries(); /** * Add a new named query to this JDO Metadata. * * @param name Name of the query * @return The QueryMetadata */ QueryMetadata newQueryMetadata(String name); /** * Accessor for the number of named queries defined in this JDO = =20 Metadata. * * @return The number of queries. */ int getNumberOfQueries(); /** * Accessor for any fetch plans defined on the JDO Metadata. * * @return The fetch plans */ FetchPlanMetadata[] getFetchPlans(); /** * Add a new fetch plan to this JDO Metadata. * * @param name Name of the query * @return The FetchPlanMetadata */ FetchPlanMetadata newFetchPlanMetadata(String name); /** * Accessor for the number of fetch plans defined in this JDO = =20 Metadata. * * @return The number of fetch plans. */ int getNumberOfFetchPlans(); } Package Metadata PackageMetadata represents the collection of metadata that share the = =20 same package. /** * Represents a package within a JDOMetadata. * @since 2.3 */ public interface PackageMetadata extends Metadata { /** * Accessor for the name of this package (set on construction). * * @return The name */ String getName(); /** * Method to set the catalog (ORM) to apply to all classes in = =20 this package. * * @param catalog Catalog name */ PackageMetadata setCatalog(String catalog); /** * Accessor for the catalog (ORM) that all classes in this =20 package default * to. * * @return The catalog */ String getCatalog(); /** * Method to set the schema (ORM) to apply to all classes in thi= s =20 package. * * @param schema Schema name */ PackageMetadata setSchema(String schema); /** * Accessor for the schema (ORM) that all classes in this packag= e =20 default to. * * @return The schema */ String getSchema(); /** * Accessor for all classes defined in this package. * * @return The classes */ ClassMetadata[] getClasses(); /** * Add a new class to this package. * * @param name Name of the class * @return The ClassMetadata */ ClassMetadata newClassMetadata(String name); /** * Add a new class to this package. * * @param cls The class * @return The ClassMetadata */ ClassMetadata newClassMetadata(Class cls); /** * Accessor for the number of classes defined in this package. * * @return The number of classes. */ int getNumberOfClasses(); /** * Accessor for all interfaces defined in this package. * * @return The interfaces */ InterfaceMetadata[] getInterfaces(); /** * Add a new interface to this package. * * @param name The interface name * @return The InterfaceMetadata */ InterfaceMetadata newInterfaceMetadata(String name); /** * Add a new interface to this package. * * @param cls The class * @return The ClassMetadata */ InterfaceMetadata newInterfaceMetadata(Class cls); /** * Accessor for the number of interfaces defined in this package= . * * @return The number of interfaces. */ int getNumberOfInterfaces(); /** * Accessor for any sequences defined on the package. * * @return The sequences */ SequenceMetadata[] getSequences(); /** * Add a new sequence to this package. * * @param name Name of the sequence * @param strategy Strategy for the sequence * @return The SequenceMetadata */ SequenceMetadata newSequenceMetadata(String name, SequenceStrategy strategy); /** * Accessor for the number of sequences defined for this package= . * * @return The number of sequences. */ int getNumberOfSequences(); } Component Metadata ComponentMetadata represents the metadata for classes and interfaces. /** * Represents a class or interface. Extended for the specifics of = =20 those cases. * @since 2.3 */ public interface ComponentMetadata extends Metadata { /** * Accessor for the name of this component (set on construction)= . * * @return The name */ String getName(); /** * Method to define the identity type to use. * * @param id identity type */ ComponentMetadata setIdentityType(IdentityType id); /** * Accessor for the identity type to use. * * @return identity type */ IdentityType getIdentityType(); /** * Method to set the object-id (PK) class. * * @param idclass Object-id class */ ComponentMetadata setObjectIdClass(String idclass); /** * Accessor for the object-id class (if defined). * * @return The object-id class */ String getObjectIdClass(); /** * Method to set whether the component requires an extent. * * @param extent Requires extent? */ ComponentMetadata setRequiresExtent(boolean extent); /** * Accessor for whether the component requires an extent. * * @return Requires extent? */ boolean getRequiresExtent(); /** * Method to set whether this is detachable * * @param detachable Detachable? */ ComponentMetadata setDetachable(boolean detachable); /** * Accessor for whether this is detachable. * * @return Detachable? */ boolean getDetachable(); /** * Method to set whether this is cacheable * * @param cacheable Cacheable? */ ComponentMetadata setCacheable(boolean cacheable); /** * Accessor for whether this is cacheable. * * @return Cacheable? */ boolean getCacheable(); /** * Method to set whether this is serializeRead * * @param serializeRead serializeRead? */ ComponentMetadata setSerializeRead(boolean serializeRead); /** * Accessor for whether this is serializeRead. * * @return serializeRead? */ boolean getSerializeRead(); /** * Method to set whether it is stored only as embedded in other = =20 objects. * * @param embedded Whether it is only stored embedded */ ComponentMetadata setEmbeddedOnly(boolean embedded); /** * Accessor for whether this is embedded only. * * @return Only stored as embedded */ Boolean getEmbeddedOnly(); /** * Method to set the catalog (ORM) for this component * * @param catalog Catalog name */ ComponentMetadata setCatalog(String catalog); /** * Accessor for the catalog (ORM) for this component * * @return The catalog */ String getCatalog(); /** * Method to set the schema (ORM) for this component * * @param schema Schema name */ ComponentMetadata setSchema(String schema); /** * Accessor for the schema (ORM) for this component * * @return The schema */ String getSchema(); /** * Method to set the table name. * * @param table Table name */ ComponentMetadata setTable(String table); /** * Accessor for the name of the table. * * @return The name */ String getTable(); /** * Method to define the inheritance metadata. * * @return The InheritanceMetadata */ InheritanceMetadata newInheritanceMetadata(); /** * Accessor for the inheritance (if any). * * @return inheritance */ InheritanceMetadata getInheritanceMetadata(); /** * Method to define the version metadata. * * @return The VersionMetadata */ VersionMetadata newVersionMetadata(); /** * Accessor for the version (if any). * * @return version */ VersionMetadata getVersionMetadata(); /** * Method to define the datastore identity metadata details. * * @return The DatastoreIdentityMetadata */ DatastoreIdentityMetadata newDatastoreIdentityMetadata(); /** * Accessor for the datastore identity details. * * @return datastore identity details */ DatastoreIdentityMetadata getDatastoreIdentityMetadata(); /** * Method to define the primary key details. * * @return The PrimaryKeyMetadata */ PrimaryKeyMetadata newPrimaryKeyMetadata(); /** * Accessor for the primary key (if any). * * @return primary key details */ PrimaryKeyMetadata getPrimaryKeyMetadata(); /** * Accessor for all joins(s) defined on the component. * * @return The join(s) */ JoinMetadata[] getJoins(); /** * Add a join for this component. * * @return The JoinMetadata */ JoinMetadata newJoinMetadata(); /** * Accessor for the number of join(s) defined for this component= . * * @return The number of join(s) */ int getNumberOfJoins(); /** * Accessor for all fk(s) defined on the component. * * @return The fk(s) */ ForeignKeyMetadata[] getForeignKeys(); /** * Add a new FK for this component. * * @return The ForeignKeyMetadata */ ForeignKeyMetadata newForeignKeyMetadata(); /** * Accessor for the number of FKs defined for this component. * * @return The number of FKs */ int getNumberOfForeignKeys(); /** * Accessor for all index(s) defined on the component. * * @return The index(s) */ IndexMetadata[] getIndices(); /** * Add a new index for this component. * * @return The IndexMetadata */ IndexMetadata newIndexMetadata(); /** * Accessor for the number of indices defined for this component= . * * @return The number of indices */ int getNumberOfIndices(); /** * Accessor for all unique constraints defined on the component. * * @return The unique constraints */ UniqueMetadata[] getUniques(); /** * Add a new unique constraint for this component. * * @return The UniqueMetadata */ UniqueMetadata newUniqueMetadata(); /** * Accessor for the number of unique constraints defined for thi= s =20 component. * * @return The number of unique constraints */ int getNumberOfUniques(); /** * Accessor for all fields/properties defined on the component. * * @return The members */ MemberMetadata[] getMembers(); /** * Accessor for the number of fields/properties defined for this= =20 component. * * @return The number of members */ int getNumberOfMembers(); /** * Add a new property for this component. * * @param name Name of the property * @return The PropertyMetadata */ PropertyMetadata newPropertyMetadata(String name); /** * Add a new property for this component. * * @param method Java bean getter/setter method * @return The PropertyMetadata */ PropertyMetadata newPropertyMetadata(Method method); /** * Accessor for all named queries defined on the component. * * @return The queries */ QueryMetadata[] getQueries(); /** * Add a new query for this component. * * @param name * Name of the query to add * @return The QueryMetadata */ QueryMetadata newQueryMetadata(String name); /** * Accessor for the number of named queries defined for this = =20 component. * * @return The number of named queries */ int getNumberOfQueries(); /** * Accessor for all FetchGroup defined on the component. * * @return The FetchGroups */ FetchGroupMetadata[] getFetchGroups(); /** * Add a new FetchGroup for this component. * * @param name Name of the FetchGroup * @return The FetchGroupMetadata */ FetchGroupMetadata newFetchGroupMetadata(String name); /** * Accessor for the number of fetchGroups defined for this =20 component. * * @return The number of fetch groups */ int getNumberOfFetchGroups(); /** * Accessor for all column(s) defined on the join. * * @return The column(s) */ ColumnMetadata[] getColumns(); /** * Add a new column for this join. * * @return The ColumnMetadata */ ColumnMetadata newColumnMetadata(); /** * Accessor for the number of columns defined for this join. * * @return The number of columns */ int getNumberOfColumns(); } Class Metadata ClassMetadata represents metadata for a specific persistence-capable = =20 class. /** * Represents a class. * @since 2.3 */ public interface ClassMetadata extends ComponentMetadata { /** * Method to define the persistence modifier. * @param mod persistence modifier */ ClassMetadata setPersistenceModifier(ClassPersistenceModifier mo= d); /** * Accessor for the persistence modifier. * @return persistence modifier */ ClassPersistenceModifier getPersistenceModifier(); /** * Add a new field to this class. * @param name Name of the field * @return The FieldMetadata */ FieldMetadata newFieldMetadata(String name); /** * Add a new field to this class. * @param fld The field * @return The FieldMetadata */ FieldMetadata newFieldMetadata(Field fld); } Interface Metadata InterfaceMetadata represents metadata for a specific persistence-= =20 capable interface. /** * Represents a persistent-interface. * @since 2.3 */ public interface InterfaceMetadata extends ComponentMetadata { } Field Metadata FieldMetadata represents metadata for persistent fields. /** * Represents a field in a class. * @since 2.3 */ public interface FieldMetadata extends MemberMetadata { } Property Metadata PropertyMetadata represents metadata for persistent properties. /** * Represents a property in a class/persistent-interface. * @since 2.3 */ public interface PropertyMetadata extends MemberMetadata { /** * Method to set the field name (persistent interfaces) * * @param name field name */ PropertyMetadata setFieldName(String name); /** * Accessor for the field name * * @return Field name */ String getFieldName(); } Query Metadata QueryMetadata represents metadata for queries. /** * Represents a named query. * @since 2.3 */ public interface QueryMetadata extends Metadata { /** * Accessor for the name of the query (set on construction). * * @return The name */ String getName(); /** * Method to set the language of the query. * * @param lang Query language */ QueryMetadata setLanguage(String lang); /** * Accessor for the query language. * * @return The language */ String getLanguage(); /** * Method to set the single-string query. * * @param query The query */ QueryMetadata setQuery(String query); /** * Accessor for the single-string query. * * @return The query */ String getQuery(); /** * Method to set the result class name for the query * * @param clsName Result class name */ QueryMetadata setResultClass(String clsName); /** * Accessor for the result class name for the query. * * @return The result class name */ String getResultClass(); /** * Method to set if the query results are unique * * @param unique Whether they are unique */ QueryMetadata setUnique(boolean unique); /** * Accessor for whether results from the query are unique * * @return Results are unique? */ Boolean getUnique(); /** * Method to set the query as not being modifiable from now. */ QueryMetadata setUnmodifiable(); /** * Accessor for whether the query is unmodifiable. * * @return Can=92t be changed? */ boolean getUnmodifiable(); /** * Method to set the FetchPlan to use for this named query. * * @param fetchPlanName name of the FetchPlan */ QueryMetadata setFetchPlan(String fetchPlanName); /** * Accessor for the name of a fetch plan to use (if any). * * @return The fetch plan name */ String getFetchPlan(); } 23.1 Standard Enhancement The enhancement process consists of two distinct functions: analyzing= =20 user input as to how and what to enhance; and performing the =20 enhancement of the persistent classes. A Java main program is =20 distributed as part of the java specification jar. Plugins for =20 Interactive Development Environments are anticipated by the =20 architecture but not provided by the JDO specification jar itself. = =20 Enhancing the persistent classes is the function of a JDO =20 implementation, and in particular, the Reference Implementation. The = =20 Enhancer main program calls a standard enhancer by using the services= =20 locator architecture. Thus, the Enhancer main program can call any = =20 enhancer provided by a JDO implementation and made available on the = =20 class path. The name of the class that implements the JDOEnhancer API must be in = =20 the class path in the file called META-INF/services/=20 javax.jdo.JDOEnhancer. The enhancer operates on the byte code representation of persistent = =20 classes, and creates new byte code representations of the classes. Th= e =20 input byte code representations can come from four sources: a byte array such as might be created by a dynamic class generator; a file that contains the byte codes as generated by the javac compile= r; a jar file containing multiple classes and metadata files; a resource loaded from a class loader that contains the byte codes as= =20 generated by the javac compiler The output byte code representations can be written to one of three = =20 destinations: the same file as was provided as input; the same jar file as was provided as input, in which case all content= s =20 of the jar file that are not enhanced are preserved intact; a directory that contains package names as directory names with =20 identical semantics to the javac compiler's output directive. Restrictions: if a resource is used as input, then the only output = =20 possible is a directory. If a class file or jar file is used as input= , =20 the file must be read/write. If a byte array is used as input, then = =20 the enhanced byte array is available via a separate method call and i= s =20 not written to output. Enhancer Main The Enhancer main class is intended to be run from an interactive = =20 shell (command line). It analyzes arguments and delegates to an =20 implementation. The implementation must be identified via an entry in= =20 the class loader's resource file META-INF/services/=20 javax.jdo.JDOEnhancer. If multiple such files exist, the Enhancer mai= n =20 uses the first file containing the name of a class that can be loaded= =20 by the Class.forName method, containing a public no-args constructor,= =20 that returns an instance that implements javax.jdo.JDOEnhancer. The enhancer is invoked with the following command line: java -cp <classpath> javax.jdo.Enhancer <options> <directory, class, = =20 jdo, or jar file names> <classpath> must contain the jdo specification jar, the implementatio= n =20 jar and any implementation dependencies, the statically-compiled = =20 classes, and the jdo metadata files loadable as resources <options> include: -pu <persistence-unit-name> : the name of a persistence unit -d <target directory> : write the enhanced classes to the specified = =20 directory -checkonly : just check the classes for enhancement status -v : verbose output -r : recurse through directories to find all classes and metadata = =20 files to enhance -cp <enhancer class loader path> : if not already included in the jav= a =20 class loader, this parameter must contain the statically-compiled = =20 classes, and the jdo metadata files loadable as resources <directory, file, or resource names> Each entry following the options must be a directory, a file, or a = =20 resource name. The enhancer main program processes the command line and passes the = =20 parameters to the enhancer found via services lookup. Parameters are processed until the first non-option parameter is = =20 found. All subsequent parameters are treated as directory, file, or = =20 resource names. Parameters beginning with "-" are considered to be = =20 options. If an option is not a standard option, it is added to the no= n-=20 standard options list. If a non-standard option is not recognized, th= e =20 enhancer program exits with error code 3 (ENHANCER_USAGE_ERROR). Parameters are processed as follows: -cp <enhancer class loader path>: If this option is present, a new = =20 class loader is constructed, parented with the context class loader, = =20 to which the urls in the <enhancer class loader path> are added. The = =20 format of <enhancer class loader path> is the same as the -cp option = =20 of the java command. The class loader is passed to the enhancer via = =20 the setClassLoader method. -pu <persistence-unit-name>: If this option is present, each =20 persistence-unit-name is passed to the enhancer via the =20 addPersistenceUnit method. -d <target directory>: If this option is present, the target director= y =20 is passed to the enhancer via the setOutputDirectory method. -v: If this option is present, the verbose flag is set via the =20 setVerbose method. -r: If this option is present, directories are recursively searched = =20 for files. -checkonly: If this option is present, the files are not enhanced, bu= t =20 verified via the validate method. If this option is absent, the files= =20 are enhanced via the enhance method. Parameters that follow the last option are passed to the enhancer. Th= e =20 enhancer handles the files as follows: For a .class file, the file must contain the byte codes of a =20 persistent class consistent with the file name. Metadata is found = =20 using the algorithm detailed in Chapter 18, using the path specified = =20 for the .class file and recursing through parent directories in the = =20 file system. All class file names are passed to the enhancer via the = =20 addClasses method. For a .jdo file, the file must be a valid metadata file and the =20 classes described in the file are treated as described (persistence-= =20 capable, persistence-aware, or not persistent). Metadata is found = =20 using the algorithm detailed in Chapter 18. All file names are passed= =20 to the enhancer via the addFiles method. For a .jar file, the file may contain .class files and .jdo metadata = =20 files. Each jar file name is passed to the enhancer via the addJar = =20 method. For a directory, the contents of the directory are analyzed =20 for .class, .jdo, and .jar files which are then treated as if they = =20 were passed directly, as directory/*.class directory/*.jdo or =20 directory/*.jar. If the -r option is specified, each subdirectory of = =20 the directory is treated as if it were itself the directory parameter= , =20 recursively. Thus, every .class file, .jdo file, and .jar file in the= =20 directory are included as files for enhancement. Files that are not recognized as above are silently ignored. 23.22 Enhancer API /** * Interface for a JDO Enhancer. * @since 2.3 */ public interface JDOEnhancer extends ClassFileTransformer { /** * Return non-configurable properties of this JDOEnhancer. * Properties with keys =93VendorName=94 and =93VersionNumber= =94 are =20 required. * Other keys are optional. * @return the non-configurable properties of this JDOEnhancer. */ Properties getProperties(); /** * Whether to provide verbose output * @param flag Verbose? * @return The enhancer */ JDOEnhancer setVerbose(boolean flag); /** * Mutator to set the location where enhanced classes are writte= n. * Mutator to set the location where enhanced classes are writte= n. * If this method is not called, classes will be enhanced in pla= ce, * overwriting the existing classes. If overwriting classes in a= =20 jar file, * the existing files in the jar file will be written unchanged = =20 except * for the enhanced classes. The directory name can be absolute = =20 or relative. * @param dirName Name of the directory * @return The enhancer */ JDOEnhancer setOutputDirectory(String dirName); /** * Mutator to set the class loader to use for loading classes. * @param loader ClassLoader to use * @return The enhancer */ JDOEnhancer setClassLoader(ClassLoader loader); /** * Add a persistence-unit to the items to be enhanced. * @param persistenceUnit Name of the persistence unit * @return The enhancer */ JDOEnhancer addPersistenceUnit(String persistenceUnit); /** * Add an in-memory class to the items to be enhanced. * The class name should be of the form =93mydomain.MyClass=94. * @param className Name of the class * @param bytes The bytes of the class * @return The enhancer */ JDOEnhancer addClass(String className, byte[] bytes); /** * Add class(es) to the items to be enhanced. * The class names can be absolute file names, relative file = =20 names, or * names of CLASSPATH resources. * @param classNames Names of the classes * @return The enhancer */ JDOEnhancer addClasses(String... classNames); /** * Add metadata file(s) to the items to be enhanced. * The metadata file names can be absolute file names, relative = =20 file names, or * names of CLASSPATH resources. They should be JDO XML metadata= =20 files. * @param metadataFiles Names of the files * @return The enhancer */ JDOEnhancer addFiles(String... metadataFiles); /** * Add a jar file to the items to be enhanced. * The jar file name can be absolute, or relative or a CLASSPATH= =20 resource. * @param jarFileName Name of the jar file * @return The enhancer */ JDOEnhancer addJar(String jarFileName); /** * Method to enhance the items specified using addJar, addFiles,= =20 addClasses, addClass, * addPersistenceUnit. * @return Number of classes enhanced * @throws JDOEnhanceException if an error occurs during =20 enhancement. If multiple * errors occur then the nested exceptions provides this detail. */ int enhance(); /** * Method to validate the items specified using addJar, addFiles= , =20 addClasses, addClass, * addPersistenceUnit. * @return Number of classes validated * @throws JDOEnhanceException if an error occurs during =20 validation. If multiple * errors occur then the nested exceptions provides this detail. */ int validate(); /** * Method to retrieve the (enhanced) bytes of the specified clas= s. * Only applies to the classes enhanced in the most recent =20 enhance() call. * If no enhance has yet been performed will throw a =20 JDOEnhanceException. * If the specified class hasn=92t been enhanced then will throw= a =20 JDOEnhanceException. * @param className Name of the class (of the form =20 =93mydomain.MyClass=94) * @return Enhanced bytes */ byte[] getEnhancedBytes(String className); /** * Method to register metadata with the enhancement process = =20 managed by this * <code>JDOEnhancer</code>. * Metadata can be created using the method {@link #newMetadata}= . * If there is already metadata registered for a class contained= =20 in this metadata * object then a JDOUserException will be thrown. * @param metadata The Metadata to register. * @since 2.3 */ void registerMetadata(JDOMetadata metadata); /** * Method to return a new metadata object that can be =20 subsequently modified * and registered with the enhancement process using the method = =20 {@link #registerMetadata}. * @return The metadata * @since 2.3 */ JDOMetadata newMetadata(); } Craig L Russell Architect, Sun Java Enterprise System http://db.apache.org/jdo 307-845-0453 mailto:[email protected] P.S. A good JDO? O, Gasp! From [email protected] Fri Mar 12 03:23:39 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29290 invoked from network); 12 Mar 2010 03:23:38 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 12 Mar 2010 03:23:38 -0000 Received: (qmail 22324 invoked by uid 500); 12 Mar 2010 03:23:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 22316 invoked by uid 99); 12 Mar 2010 03:23:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 03:23:02 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO a.mail.sonic.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 03:22:57 +0000 Received: from [161.129.204.104] (97-124-36-18.phnx.qwest.net [161.129.204.104]) (authenticated bits=0) by a.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with ESMTP id o2C3MZ8U007176; Thu, 11 Mar 2010 19:22:35 -0800 Message-ID: <[email protected]> Date: Thu, 11 Mar 2010 20:22:35 -0700 From: Michelle Caisse <[email protected]> Reply-To: [email protected] User-Agent: Thunderbird 161.129.204.104 (X11/20090817) MIME-Version: 1.0 To: [email protected] CC: JDO Expert Group <[email protected]> Subject: JDO TCK Conference Call Friday, Mar 12, 9 am PDT References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, We will have our regular meeting Friday, March 12 at 9 am PDT to discuss JDO TCK issues and status. Dial-in numbers are: Domestic (toll-free): 307-845-0453 International (caller-paid): 307-845-0453 Access code : 294-0479# Agenda: 1. Query Cancel TCK tests 2. Tests in api2 for ... getPersistenceManagerFactory(Map,Map) https://issues.apache.org/jira/browse/JDO-557 3. Spec updates 4. Other issues Action Items from weeks past: -- Michelle From [email protected] Fri Mar 12 16:44:48 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38443 invoked from network); 12 Mar 2010 16:44:48 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 12 Mar 2010 16:44:48 -0000 Received: (qmail 42992 invoked by uid 500); 12 Mar 2010 16:44:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 42984 invoked by uid 99); 12 Mar 2010 16:44:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 16:44:11 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-qy0-f189.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 16:44:03 +0000 Received: by qyk27 with SMTP id 27so1451052qyk.3 for <[email protected]>; Fri, 12 Mar 2010 08:43:42 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id e6mr1318162vcm.51.1268412221978; Fri, 12 Mar 2010 08:43:41 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> Date: Fri, 12 Mar 2010 08:43:41 -0800 Message-ID: <[email protected]> Subject: Re: Spec updates for 2.3 From: Matthew Adams <[email protected]> To: [email protected] Cc: JDO Expert Group <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I have a question about the following assertion regarding getting an object by exact class with no validation. <craig> 12.6.5: If the validate flag is false, the user asserts that the instance exists and the object id represents the exact class of the persistent instance (specifically not a subclass or an interface): A12.6.5-2 [If the object id represents an interface or abstract class, JDOUserException is thrown.] A12.5.6-2 [If there is already an instance in the cache with the same JDO identity as the oid parameter, then this method returns it.] A12.5.6-3 [There is no change made to the state of the returned instance.] A12.5.6-4 [If there is not an instance already in the cache with the same JDO identity as the oid parameter, then this method creates an instance with the specified JDO identity and returns it. If there is no transaction in progress, the returned instance will be hollow or persistent-nontransactional, at the choice of the implementation.] A12.5.6-5 [If there is a transaction in progress, the returned instance will be hollow, persistent-nontransactional, or persistent-clean, at the choice of the implementation.] </craig> Can you please tell me the state of the returned instance if there is already an instance in the cache with the same JDO identity as the oid parameter and the existing instance is not in any of the states hollow, persistent-nontransactional, or persistent-clean? A12.5.6-5 appears to me to state that the instance must be in one of these three states. It's not clear to me that A12.5.6-2 necessarily takes precedence over A12.5.6-5. The way it reads to me, it's almost as though the presence of a transaction or not would cause the loss of changes in the existing instance. Maybe I'm off base, but I'd recommend the following. <matthew> A12.5.6-5 [If there is a transaction in progress, the returned instance will be hollow, persistent-nontransactional, or persistent-clean, at the choice of the implementation, unless there was a transactional instance in the cache with the same JDO identity as the oid parameter, in which case the there is no change made to the state of the returned instance.] </matthew> WDYT? -matthew On Thu, Mar 11, 2010 at 5:46 PM, Craig L Russell <[email protected]> wrote: [snip] From [email protected] Fri Mar 12 16:59:43 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43714 invoked from network); 12 Mar 2010 16:59:43 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 12 Mar 2010 16:59:43 -0000 Received: (qmail 68825 invoked by uid 500); 12 Mar 2010 16:59:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 68817 invoked by uid 99); 12 Mar 2010 16:59:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 16:59:06 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO gc3.gru.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 16:58:57 +0000 Received: from localhost (localhost [161.129.204.104]) by gc3.gru.net (Postfix) with ESMTP id 0B12B37EB; Fri, 12 Mar 2010 11:58:35 -0500 (EST) X-Virus-Scanned: [email protected] X-Spam-Score: -1.44 X-Spam-Level: Received: from gc3.gru.net ([161.129.204.104]) by localhost (gc3.gru.net [161.129.204.104]) (amavisd-new, port 10024) with ESMTP id TwsSKl4nW+QA; Fri, 12 Mar 2010 11:58:34 -0500 (EST) Received: from dhcp-umpk15-120-21.SFBay.Sun.COM (sca-ea-fw-1.Sun.COM [161.129.204.104]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by gc3.gru.net (Postfix) with ESMTPSA id 2682B3338; Fri, 12 Mar 2010 11:58:33 -0500 (EST) From: Craig L Russell <[email protected]> To: Matthew Adams <[email protected]> In-Reply-To: <[email protected]> Subject: Re: Spec updates for 2.3 References: <[email protected]> <[email protected]> Message-Id: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Fri, 12 Mar 2010 08:58:30 -0800 Cc: [email protected], JDO Expert Group <[email protected]> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Flag: NO X-Old-Spam-Status: No, score=-1.44 tagged_above=-99 required=7 tests=[ALL_TRUSTED=-1.44] Hi Matthew, I agree the section needs to be rewritten. If there is an instance in the cache already, it might be in any [email protected]. It's only the case where an instance needs to be created that the specification should say what the state should be. Thanks for reading! Craig On Mar 12, 2010, at 8:43 AM, Matthew Adams wrote: > Hi all, > > I have a question about the following assertion regarding getting an > object by exact class with no validation. > > <craig> > 12.6.5: > If the validate flag is false, the user asserts that the instance > exists and the object id represents the exact class of the persistent > instance (specifically not a subclass or an interface): > A12.6.5-2 [If the object id represents an interface or abstract class, > JDOUserException is thrown.] > A12.5.6-2 [If there is already an instance in the cache with the same > JDO identity as the oid parameter, then this method returns it.] > A12.5.6-3 [There is no change made to the state of the returned > instance.] > A12.5.6-4 [If there is not an instance already in the cache with the > same JDO identity as the oid parameter, then this method creates an > instance with the specified JDO identity and returns it. If there is > no transaction in progress, the returned instance will be hollow or > persistent-nontransactional, at the choice of the implementation.] > A12.5.6-5 [If there is a transaction in progress, the returned > instance will be hollow, persistent-nontransactional, or > persistent-clean, at the choice of the implementation.] > </craig> > > Can you please tell me the state of the returned instance if there is > already an instance in the cache with the same JDO identity as the oid > parameter and the existing instance is not in any of the states > hollow, persistent-nontransactional, or persistent-clean? A12.5.6-5 > appears to me to state that the instance must be in one of these three > states. It's not clear to me that A12.5.6-2 necessarily takes > precedence over A12.5.6-5. The way it reads to me, it's almost as > though the presence of a transaction or not would cause the loss of > changes in the existing instance. Maybe I'm off base, but I'd > recommend the following. > > <matthew> > A12.5.6-5 [If there is a transaction in progress, the returned > instance will be hollow, persistent-nontransactional, or > persistent-clean, at the choice of the implementation, unless there > was a transactional instance in the cache with the same JDO identity > as the oid parameter, in which case the there is no change made to the > state of the returned instance.] > </matthew> > > WDYT? > > -matthew > > On Thu, Mar 11, 2010 at 5:46 PM, Craig L Russell <[email protected] > > wrote: > [snip] Craig L Russell Architect, Sun Java Enterprise System http://db.apache.org/jdo 307-845-0453 mailto:[email protected] P.S. A good JDO? O, Gasp! From [email protected] Fri Mar 12 17:05:26 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45546 invoked from network); 12 Mar 2010 17:05:26 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 12 Mar 2010 17:05:26 -0000 Received: (qmail 79002 invoked by uid 500); 12 Mar 2010 17:04:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78993 invoked by uid 99); 12 Mar 2010 17:04:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 17:04:49 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mailgateway.akquinet.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 17:04:46 +0000 Received: from hh-owa1.akquinet.de ([161.129.204.104]:30507 helo=mail.akquinet.de) by mailgateway.akquinet.de with esmtp (Exim 4.69) (envelope-from <[email protected]>) id 1Nq8He-0002IO-0f for [email protected]; Fri, 12 Mar 2010 18:04:22 +0100 Received: from smpts.akquinet.de ([161.129.204.104]) by mail.akquinet.de with Microsoft SMTPSVC307-845-0453); Fri, 12 Mar 2010 18:04:21 +0100 Received: from [161.129.204.104] ([161.129.204.104]) by smpts.akquinet.de over TLS secured channel with Microsoft SMTPSVC307-845-0453); Fri, 12 Mar 2010 18:04:21 +0100 Message-ID: <[email protected]> Date: Fri, 12 Mar 2010 18:04:23 +0100 From: Michael Bouschen <[email protected]> Organization: akquinet tech@spree GmbH User-Agent: Thunderbird 161.129.204.104 (Windows/20090812) MIME-Version: 1.0 To: "[email protected]" <[email protected]> Subject: Re: JDO TCK Conference Call Friday, Mar 12, 9 am PDT References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 12 Mar 2010 17:04:21.0655 (UTC) FILETIME=[0F58CA70:01CAC206] Hi, I'm not able to dial in, it says "my access code is not recogniszed". Is there a new phone number and/or a new access code? Regards Michael > Hi, > > We will have our regular meeting Friday, March 12 at 9 am PDT to > discuss JDO TCK issues and status. > > Dial-in numbers are: > Domestic (toll-free): 307-845-0453 > International (caller-paid): 307-845-0453 > Access code : 294-0479# > > Agenda: > > 1. Query Cancel TCK tests > 2. Tests in api2 for ... getPersistenceManagerFactory(Map,Map) https://issues.apache.org/jira/browse/JDO-557 > 3. Spec updates > 4. Other issues > > Action Items from weeks past: > > -- Michelle > > > > > > > -- *Michael Bouschen* *Prokurist* akquinet tech@spree GmbH Bülowstr. 66, D-10783 Berlin Fon: 307-845-0453 Fax: 307-845-0453 Email: [email protected] Url: www.akquinet.de <http://www.akquinet.de> akquinet tech@spree GmbH, Berlin Geschäftsführung: Martin Weber, Prof. Dr. Christian Roth Amtsgericht Berlin-Charlottenburg HRB 86780 B USt.-Id. Nr.: DE 225 964 680 From [email protected] Fri Mar 12 17:57:37 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64220 invoked from network); 12 Mar 2010 17:57:37 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 12 Mar 2010 17:57:37 -0000 Received: (qmail 74662 invoked by uid 500); 12 Mar 2010 17:56:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74654 invoked by uid 99); 12 Mar 2010 17:56:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 17:56:59 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO qw-out-2122.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 17:56:53 +0000 Received: by qw-out-2122.google.com with SMTP id 5so472615qwd.13 for <[email protected]>; Fri, 12 Mar 2010 09:56:32 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id i41mr1385333vcr.86.1268416248835; Fri, 12 Mar 2010 09:50:48 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Fri, 12 Mar 2010 09:50:48 -0800 Message-ID: <[email protected]> Subject: Re: Spec updates for 2.3 From: Matthew Adams <[email protected]> To: Craig L Russell <[email protected]> Cc: [email protected], JDO Expert Group <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org No problem. Wish I could be making the conf calls, but I've had daily 9 am scra (plural of scrum?) for the last year! :( On Fri, Mar 12, 2010 at 8:58 AM, Craig L Russell <[email protected]> wr= ote: > Hi Matthew, > > I agree the section needs to be rewritten. If there is an instance in the > cache already, it might be in any [email protected]. > > It's only the case where an instance needs to be created that the > specification should say what the state should be. > > Thanks for reading! > > Craig > > On Mar 12, 2010, at 8:43 AM, Matthew Adams wrote: > >> Hi all, >> >> I have a question about the following assertion regarding getting an >> object by exact class with no validation. >> >> <craig> >> 12.6.5: >> If the validate flag is false, the user asserts that the instance >> exists and the object id represents the exact class of the persistent >> instance (specifically not a subclass or an interface): >> A12.6.5-2 [If the object id represents an interface or abstract class, >> JDOUserException is thrown.] >> A12.5.6-2 [If there is already an instance in the cache with the same >> JDO identity as the oid parameter, then this method returns it.] >> A12.5.6-3 [There is no change made to the state of the returned >> instance.] >> A12.5.6-4 [If there is not an instance already in the cache with the >> same JDO identity as the oid parameter, then this method creates an >> instance with the specified JDO identity and returns it. If there is >> no transaction in progress, the returned instance will be hollow or >> persistent-nontransactional, at the choice of the implementation.] >> A12.5.6-5 [If there is a transaction in progress, the returned >> instance will be hollow, persistent-nontransactional, or >> persistent-clean, at the choice of the implementation.] >> </craig> >> >> Can you please tell me the state of the returned instance if there is >> already an instance in the cache with the same JDO identity as the oid >> parameter and the existing instance is not in any of the states >> hollow, persistent-nontransactional, or persistent-clean? =A0A12.5.6-5 >> appears to me to state that the instance must be in one of these three >> states. =A0It's not clear to me that A12.5.6-2 necessarily takes >> precedence over A12.5.6-5. =A0The way it reads to me, it's almost as >> though the presence of a transaction or not would cause the loss of >> changes in the existing instance. =A0Maybe I'm off base, but I'd >> recommend the following. >> >> <matthew> >> A12.5.6-5 [If there is a transaction in progress, the returned >> instance will be hollow, persistent-nontransactional, or >> persistent-clean, at the choice of the implementation, unless there >> was a transactional instance in the cache with the same JDO identity >> as the oid parameter, in which case the there is no change made to the >> state of the returned instance.] >> </matthew> >> >> WDYT? >> >> -matthew >> >> On Thu, Mar 11, 2010 at 5:46 PM, Craig L Russell <[email protected]> >> wrote: >> [snip] > > Craig L Russell > Architect, Sun Java Enterprise System http://db.apache.org/jdo > 307-845-0453 mailto:[email protected] > P.S. A good JDO? O, Gasp! > > --=20 mailto:[email protected] skype:matthewadams12 yahoo:matthewadams aol:matthewadams12 google-talk:[email protected] msn:[email protected] http://matthewadams.me http://www.linkedin.com/in/matthewadams From [email protected] Fri Mar 12 18:18:01 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69616 invoked from network); 12 Mar 2010 18:18:00 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 12 Mar 2010 18:18:00 -0000 Received: (qmail 95435 invoked by uid 500); 12 Mar 2010 18:17:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 95137 invoked by uid 99); 12 Mar 2010 18:17:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 18:17:22 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO gc4.gru.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 18:17:13 +0000 Received: from localhost (localhost [161.129.204.104]) by gc4.gru.net (Postfix) with ESMTP id 1F9B82CCD7; Fri, 12 Mar 2010 13:16:52 -0500 (EST) X-Virus-Scanned: [email protected] X-Spam-Score: -1.44 X-Spam-Level: Received: from gc4.gru.net ([161.129.204.104]) by localhost (gc4.gru.net [161.129.204.104]) (amavisd-new, port 10024) with ESMTP id FxPf1+kdG4av; Fri, 12 Mar 2010 13:16:51 -0500 (EST) Received: from dhcp-umpk15-120-21.SFBay.Sun.COM (sca-ea-fw-1.Sun.COM [161.129.204.104]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by gc4.gru.net (Postfix) with ESMTPSA id 3E2804647; Fri, 12 Mar 2010 13:16:51 -0500 (EST) From: Craig L Russell <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Subject: Minutes: JDO TCK Conference Call Friday, Mar 12, 9 am PST References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Message-Id: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Fri, 12 Mar 2010 10:16:47 -0800 Cc: [email protected], JDO Expert Group <[email protected]> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Flag: NO X-Old-Spam-Status: No, score=-1.44 tagged_above=-99 required=7 tests=[ALL_TRUSTED=-1.44] Attendees: Michelle Caisse, Michael Bouschen, Craig Russell Special meeting time for next week only: 11:00 AM Pacific Daylight Time Agenda: 1. Query Cancel TCK tests Andy raised a question that the test case doesn't work for implementations that support query cancel. The main thread doesn't sleep before canceling the query thread, which probably hasn't started executing. We should put a sleep into the main thread after starting the thread and before canceling the query. Depending on how this works out, we might also need to implement a barrier to make sure that both threads are running before the cancel executes. AI Michael update the test case. A second issue is what the scope of the cancel. It might be that the user has finished executing the query and has a result that is iterating. In this case, the cancel might be useful to cancel the execution of the result set iteration. But it's not clear whether the underlying implementation can cancel a statement that has finished executing. In this case, for both JDO and the underlying implementation, the Query (or Statement) is no longer executing. So if the Query has given back a result, it can no longer be canceled. The user should use a datastore timeout to control iteration of the result. The question is still whether the caller of cancel should be able to know whether the cancel had any effect. It's not obvious that it's possible to know with any certainty. The only indication from Statement.cancel() is an exception if the Statement has been closed. The behavior if the Statement has returned a result doesn't appear to be documented. So probably the best we can do is to cancel any Statement that we know is being executed, which satisfies the main reason for this API. AI Craig update the specification. 2. Tests in api2 for ... getPersistenceManagerFactory(Map,Map) https://issues.apache.org/jira/browse/JDO-557 The class that needs to be created for the test just needs to implement the static method, and not necessarily the PMF interface, but it can return a proxy for PMF. 3. Spec updates. Matthew Adams commented that the changed spec seems to require a specific state of the instance even if there is an existing instance in the cache. AI Craig clarify the spec in this case. 4. Other issues The behead script that removes the first several lines from annotations and enums doesn't work for regular classes and interfaces. It would be nice if the script could also support classes and interfaces. Craig L Russell Architect, Sun Java Enterprise System http://db.apache.org/jdo 307-845-0453 mailto:[email protected] P.S. A good JDO? O, Gasp! From [email protected] Fri Mar 12 22:57:14 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41187 invoked from network); 12 Mar 2010 22:57:14 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 12 Mar 2010 22:57:14 -0000 Received: (qmail 14155 invoked by uid 500); 12 Mar 2010 22:56:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 14147 invoked by uid 99); 12 Mar 2010 22:56:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 22:56:36 +0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=FSL_HELO_NON_FQDN_1,HELO_NO_DOMAIN,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO webservices) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 22:56:29 +0000 Received: from [161.129.204.104] (helo=[161.129.204.104]) by webservices with esmtp (Exim 4.69) (envelope-from <[email protected]>) id 1NqDm3-0005ov-Rp for [email protected]; Fri, 12 Mar 2010 23:56:08 +0100 Message-ID: <[email protected]> Date: Fri, 12 Mar 2010 23:55:57 +0100 From: Michael Bouschen <[email protected]> Organization: akquinet tech@spree GmbH User-Agent: Thunderbird 161.129.204.104 (Windows/20090812) MIME-Version: 1.0 To: "[email protected]" <[email protected]> Subject: Re: TCK tests : QueryCancel References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Andy, I added a Thread.sleep(1000) to the main thread in order to give the other thread a chance to start the query before the main thread cancels it. Could you please give it a try? I agree that Query.cancel should be a noop, if query execution hasn't been started or is already terminated. Regards Michael > Hi, > > Finally got around to running these tests with an implementation of JDOQL that > supports cancellation. I logged the point of calls to Query.cancel, > Query.execute etc. > > 11:48:59,211 (main) INFO [DataNucleus.General] - >> testCancel : creating > query > 11:48:59,240 (main) DEBUG [DataNucleus.Query] - JDOQL Single-String with > "select avg (this.x + point2.y) from PCPoint where this.y >= 0 && point2.x >= > 0 variables PCPoint2 point2 import org.apache.jdo.tck.pc.mylib.PCPoint; import > org.apache.jdo.tck.pc.mylib.PCPoint2; " > 11:48:59,248 (main) INFO [DataNucleus.General] - >> testCancel : calling > query.cancel() from main thread > 11:48:59,248 (Query Executor) DEBUG [DataNucleus.Transaction] - Transaction > created [DataNucleus Transaction, ID=Xid= > , enlisted resources=[]] > 11:48:59,248 (main) INFO [DataNucleus.General] - >> Query.cancelThread > thread=21 numTasks=0 > 11:48:59,249 (Query Executor) DEBUG [DataNucleus.Transaction] - Transaction > begun for ObjectManager org.datanucleus.ObjectManagerImpl@9b6220 > (optimistic=false) > 11:48:59,249 (Query Executor) INFO [DataNucleus.General] - >> testCancel : > Calling query.execute from thread > 11:48:59,249 (Query Executor) DEBUG [DataNucleus.Query] - JDOQL Query : > Compiling "SELECT avg (this.x + point2.y) FROM > org.apache.jdo.tck.pc.mylib.PCPoint WHERE this.y >= 0 && point2.x >= 0 > VARIABLES PCPoint2 point2 import org.apache.jdo.tck.pc.mylib.PCPoint;import > org.apache.jdo.tck.pc.mylib.PCPoint2;" > > so the conclusion is that the test cancels (or tries to cancel) the query that > it hasn't yet started! > > What is the expected behaviour of Query.cancel(Thread) when there are no > queries running in that thread ? noop makes sense to me. That's what > DataNucleus does; the test doesn't cater for that situation. > Suggest that the test needs to allow the query to get to execute() before it > cancels it > > > > Regards > -- *Michael Bouschen* *Prokurist* akquinet tech@spree GmbH Bülowstr. 66, D-10783 Berlin Fon: 307-845-0453 Fax: 307-845-0453 Email: [email protected] Url: www.akquinet.de <http://www.akquinet.de> akquinet tech@spree GmbH, Berlin Geschäftsführung: Martin Weber, Prof. Dr. Christian Roth Amtsgericht Berlin-Charlottenburg HRB 86780 B USt.-Id. Nr.: DE 225 964 680 From [email protected] Sat Mar 13 11:30:15 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81812 invoked from network); 13 Mar 2010 11:30:15 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 13 Mar 2010 11:30:15 -0000 Received: (qmail 65686 invoked by uid 500); 13 Mar 2010 11:29:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 65678 invoked by uid 99); 13 Mar 2010 11:29:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Mar 2010 11:29:35 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO relay.ptn-ipout02.plus.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Mar 2010 11:29:27 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAI8Fm0tUXebq/2dsb2JhbACab3OqRwiNIIJjCIIQBA Received: from relay07.plus.net ([161.129.204.104]) by relay.ptn-ipout02.plus.net with ESMTP; 13 Mar 2010 11:29:06 +0000 Received: from [161.129.204.104] (helo=rookie.persistability.co.uk) by relay07.plus.net with esmtp (Exim) id 1NqPWk-00043O-4h for [email protected]; Sat, 13 Mar 2010 11:29:06 +0000 From: Andy Jefferson <[email protected]> To: [email protected] Subject: Re: TCK tests : QueryCancel Date: Sat, 13 Mar 2010 11:29:05 +0000 User-Agent: KMail/1.12.2 (Linux/161.129.204.104-desktop-1mnb; KDE/4.3.2; i686; ; ) References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Organization: DataNucleus MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> X-Plusnet-Relay: 672472a56cffe60beb43891bae0ea499 X-Virus-Checked: Checked by ClamAV on apache.org Hi Michael, > I added a Thread.sleep(1000) to the main thread in order to give the > other thread a chance to start the query before the main thread cancels > it. Could you please give it a try? Giving something a second to get started seems excessive, I know Derby is slow but ... ;-) I tried with a value more like 80 or 100 (millis) and managed **on occasions** to get a JDOQueryInterruptedException (and pass the test). Other times the cancel still got in first. I also added a query.compile() before starting the threads hence less for the query execute to do before starting, but still intermittent. The intermittency will also be affected by the machine being used, hence the number is arbitrary. The query execution time (in the datastore) is anywhere between 60ms and 2ms on my machine. Depends what the cancel is allowing cancel over; to be consistent with the timeout I assume it is cancel the datastore operation (as opposed to the whole query execute process ... compile, generate PreparedStatement, populate parameter values, execute in the datastore, return results), and so DataNucleus only starts the execution in a separate thread and maintains the handle on that thread for cancellation purposes. If this execution thread is either not yet created, or is now finished then the test will fail, always. Shouldn't the test also take into account if the query does actually return the results before the cancel can be called ? Regards -- Andy DataNucleus (http://www.datanucleus.org) From [email protected] Sat Mar 13 18:15:38 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54916 invoked from network); 13 Mar 2010 18:15:38 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 13 Mar 2010 18:15:38 -0000 Received: (qmail 6185 invoked by uid 500); 13 Mar 2010 18:14:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6177 invoked by uid 99); 13 Mar 2010 18:14:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Mar 2010 18:14:57 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO gc4.gru.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Mar 2010 18:14:55 +0000 Received: from localhost (localhost [161.129.204.104]) by gc4.gru.net (Postfix) with ESMTP id 40DEE376E; Sat, 13 Mar 2010 13:14:32 -0500 (EST) X-Virus-Scanned: [email protected] X-Spam-Score: -1.44 X-Spam-Level: Received: from gc4.gru.net ([161.129.204.104]) by localhost (gc4.gru.net [161.129.204.104]) (amavisd-new, port 10024) with ESMTP id jFJOIBVrCsrn; Sat, 13 Mar 2010 13:14:31 -0500 (EST) Received: from [161.129.204.104] (c-24-23-181-209.hsd1.ca.comcast.net [161.129.204.104]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by gc4.gru.net (Postfix) with ESMTPSA id 5A3113429; Sat, 13 Mar 2010 13:14:31 -0500 (EST) Message-Id: <[email protected]> From: Craig L Russell <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Subject: Re: TCK tests : QueryCancel Mime-Version: 1.0 (Apple Message framework v936) Date: Sat, 13 Mar 2010 10:14:29 -0800 References: <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.936) X-Old-Spam-Flag: NO X-Old-Spam-Status: No, score=-1.44 tagged_above=-99 required=7 tests=[ALL_TRUSTED=-1.44] Hi Andy, On Mar 13, 2010, at 3:29 AM, Andy Jefferson wrote: > Hi Michael, > >> I added a Thread.sleep(1000) to the main thread in order to give the >> other thread a chance to start the query before the main thread >> cancels >> it. Could you please give it a try? > > Giving something a second to get started seems excessive, I know > Derby is slow > but ... ;-) > I tried with a value more like 80 or 100 (millis) and managed **on > occasions** > to get a JDOQueryInterruptedException (and pass the test). Other > times the > cancel still got in first. I also added a query.compile() before > starting the > threads hence less for the query execute to do before starting, but > still > intermittent. The intermittency will also be affected by the machine > being > used, hence the number is arbitrary. The query execution time (in the > datastore) is anywhere between 60ms and 2ms on my machine. This test will always be somewhat sensitive to timing, but we should be able to minimize the timing effects. The query itself should be long enough to allow the cancel to have an effect. The query execution time of 60 ms to 2 ms. [sic] doesn't sound long enough. Maybe we need to make the query more complex. But still, as machines get faster the query execution times will get smaller. The other thing we discussed earlier was the possibility of needing a barrier so we could guarantee that the two threads were synchronized at some point. The main thread calling start doesn't quite guarantee synchronization, while a barrier of size two should do it. Still, assuming that the query is compiled before the barrier, and the main thread yields to the query thread (sleep should do this just fine) we should be able to get the query to start and the cancel to interrupt it. > > Depends what the cancel is allowing cancel over; to be consistent > with the > timeout I assume it is cancel the datastore operation (as opposed to > the whole > query execute process ... compile, generate PreparedStatement, > populate > parameter values, execute in the datastore, return results), and so > DataNucleus only starts the execution in a separate thread and > maintains the > handle on that thread for cancellation purposes. If this execution > thread is > either not yet created, or is now finished then the test will fail, > always. Another good high level discussion. Since we have the datastore read timeout, the purpose of the cancel is to stop query execution before the timeout expires. Since we assume that the main thread and the query thread have ways of communicating as long as the query thread is not stuck in a datastore wait, we are only concerned about getting the query thread unstuck. So if the query has already returned results, the purpose for cancel doesn't exist. There still may be a timing issue in real life where the main thread sees that the query thread is stuck, but by the time it gets around to canceling the query, the query thread is no longer stuck. So it doesn't really matter whether the cancel worked or not. That's why I agree that a reasonable behavior is having the cancel be a no-op in case it can't find anything to do. But we still want a test case. Do we need the test case to perform some timing tests to see how long queries take and adjust the wait time accordingly? Do we want to try different values and require that at least one value succeed? Start with a value of 1 ms and raise by increments until the cancel works? > > Shouldn't the test also take into account if the query does actually > return > the results before the cancel can be called ? This could be part of the heuristics as noted above. Much better if we can figure out a good barrier/sleep strategy that at least works for now. Craig > > > > Regards > -- > Andy > DataNucleus (http://www.datanucleus.org) Craig L Russell Architect, Oracle http://db.apache.org/jdo 307-845-0453 mailto:[email protected] P.S. A good JDO? O, Gasp! From [email protected] Sun Mar 14 01:28:18 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91125 invoked from network); 14 Mar 2010 01:28:18 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 14 Mar 2010 01:28:18 -0000 Received: (qmail 52195 invoked by uid 500); 14 Mar 2010 01:27:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 52187 invoked by uid 99); 14 Mar 2010 01:27:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Mar 2010 01:27:36 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO b.mail.sonic.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Mar 2010 01:27:35 +0000 Received: from [161.129.204.104] 307-845-0453.phnx.qwest.net [161.129.204.104]) (authenticated bits=0) by b.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with ESMTP id o2E1RDAk012979; Sat, 13 Mar 2010 17:27:13 -0800 Message-ID: <[email protected]> Date: Sat, 13 Mar 2010 18:27:12 -0700 From: Michelle Caisse <[email protected]> Reply-To: [email protected] User-Agent: Thunderbird 161.129.204.104 (X11/20090817) MIME-Version: 1.0 To: [email protected] CC: [email protected], JDO Expert Group <[email protected]> Subject: Re: Minutes: JDO TCK Conference Call Friday, Mar 12, 9 am PST References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Craig L Russell wrote: > > The behead script that removes the first several lines from > annotations and enums doesn't work for regular classes and interfaces. > It would be nice if the script could also support classes and interfaces. I've checked in a new version that supports any .java file with a "public class" or "public interface" declaration. I had trouble with a couple of files for which the output was one line short. The first line (declaration) was missing. Making a no-change edit to the file and resaving fixed the issue. Apparently there is something funny about the last line in these files. The ones I found were Enhancer.java JDOEnhancer.java and JDOReadOnlyException.java. -- Michelle From [email protected] Sun Mar 14 03:14:52 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9988 invoked from network); 14 Mar 2010 03:14:52 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 14 Mar 2010 03:14:52 -0000 Received: (qmail 13376 invoked by uid 500); 14 Mar 2010 03:14:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13368 invoked by uid 99); 14 Mar 2010 03:14:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Mar 2010 03:14:09 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO gc2.gru.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Mar 2010 03:14:07 +0000 Received: from localhost (localhost [161.129.204.104]) by gc2.gru.net (Postfix) with ESMTP id 129872CC46; Sat, 13 Mar 2010 22:13:46 -0500 (EST) X-Virus-Scanned: [email protected] X-Spam-Score: -1.44 X-Spam-Level: Received: from gc2.gru.net ([161.129.204.104]) by localhost (gc2.gru.net [161.129.204.104]) (amavisd-new, port 10024) with ESMTP id DuZXjBqs5DzO; Sat, 13 Mar 2010 22:13:45 -0500 (EST) Received: from [161.129.204.104] (c-24-23-181-209.hsd1.ca.comcast.net [161.129.204.104]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by gc2.gru.net (Postfix) with ESMTPSA id 14FB19985; Sat, 13 Mar 2010 22:13:44 -0500 (EST) From: Craig L Russell <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Subject: Re: Minutes: JDO TCK Conference Call Friday, Mar 12, 9 am PST References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Message-Id: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Sat, 13 Mar 2010 19:13:43 -0800 Cc: [email protected], JDO Expert Group <[email protected]> X-Mailer: Apple Mail (2.936) X-Old-Spam-Flag: NO X-Old-Spam-Status: No, score=-1.44 tagged_above=-99 required=7 tests=[ALL_TRUSTED=-1.44] Hi Michelle, That's great. Thanks, Craig On Mar 13, 2010, at 5:27 PM, Michelle Caisse wrote: > Craig L Russell wrote: >> >> The behead script that removes the first several lines from >> annotations and enums doesn't work for regular classes and >> interfaces. It would be nice if the script could also support >> classes and interfaces. > I've checked in a new version that supports any .java file with a > "public class" or "public interface" declaration. I had trouble with > a couple of files for which the output was one line short. The first > line (declaration) was missing. Making a no-change edit to the file > and resaving fixed the issue. Apparently there is something funny > about the last line in these files. The ones I found were > Enhancer.java JDOEnhancer.java and JDOReadOnlyException.java. > > -- Michelle Craig L Russell Architect, Oracle http://db.apache.org/jdo 307-845-0453 mailto:[email protected] P.S. A good JDO? O, Gasp! From [email protected] Sun Mar 14 18:52:14 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16722 invoked from network); 14 Mar 2010 18:52:14 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 14 Mar 2010 18:52:14 -0000 Received: (qmail 51177 invoked by uid 500); 14 Mar 2010 18:51:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51169 invoked by uid 99); 14 Mar 2010 18:51:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Mar 2010 18:51:29 +0000 X-ASF-Spam-Status: No, hits=-1.6 required=10.0 tests=AWL,FSL_HELO_NON_FQDN_1,HELO_NO_DOMAIN,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO webservices) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Mar 2010 18:51:24 +0000 Received: from [161.129.204.104] (helo=[161.129.204.104]) by webservices with esmtp (Exim 4.69) (envelope-from <[email protected]>) id 1Nqstw-0008DP-Up for [email protected]; Sun, 14 Mar 2010 19:51:01 +0100 Message-ID: <[email protected]> Date: Sun, 14 Mar 2010 19:50:52 +0100 From: Michael Bouschen <[email protected]> Organization: akquinet tech@spree GmbH User-Agent: Thunderbird 161.129.204.104 (Windows/20090812) MIME-Version: 1.0 To: "[email protected]" <[email protected]> Subject: Re: TCK tests : QueryCancel References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: multipart/mixed; boundary="------------040500070201020807030107" --------------040500070201020807030107 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Hi Andy, hi Craig, I'm surprised about the query execution time of 60 ms to 2 ms. Andy, your hardware seems to be much faster than mine :-). I agree we should change the test such that the query takes longer to execute. I propose to create more test instances, then the join (as part of the query) becomes more expensive. Attached you find a patch with the following changes of the test class: - it creates 5000 PCPoint and PCPoint2 instances (instead of 1000) - uses a barrier to synchronize the threads - compiles the query before staring the thread Regards Michael > Hi Andy, > > On Mar 13, 2010, at 3:29 AM, Andy Jefferson wrote: > > >> Hi Michael, >> >> >>> I added a Thread.sleep(1000) to the main thread in order to give the >>> other thread a chance to start the query before the main thread >>> cancels >>> it. Could you please give it a try? >>> >> Giving something a second to get started seems excessive, I know >> Derby is slow >> but ... ;-) >> I tried with a value more like 80 or 100 (millis) and managed **on >> occasions** >> to get a JDOQueryInterruptedException (and pass the test). Other >> times the >> cancel still got in first. I also added a query.compile() before >> starting the >> threads hence less for the query execute to do before starting, but >> still >> intermittent. The intermittency will also be affected by the machine >> being >> used, hence the number is arbitrary. The query execution time (in the >> datastore) is anywhere between 60ms and 2ms on my machine. >> > > This test will always be somewhat sensitive to timing, but we should > be able to minimize the timing effects. > > The query itself should be long enough to allow the cancel to have an > effect. The query execution time of 60 ms to 2 ms. [sic] doesn't sound > long enough. Maybe we need to make the query more complex. But still, > as machines get faster the query execution times will get smaller. > > The other thing we discussed earlier was the possibility of needing a > barrier so we could guarantee that the two threads were synchronized > at some point. The main thread calling start doesn't quite guarantee > synchronization, while a barrier of size two should do it. Still, > assuming that the query is compiled before the barrier, and the main > thread yields to the query thread (sleep should do this just fine) we > should be able to get the query to start and the cancel to interrupt it. > >> Depends what the cancel is allowing cancel over; to be consistent >> with the >> timeout I assume it is cancel the datastore operation (as opposed to >> the whole >> query execute process ... compile, generate PreparedStatement, >> populate >> parameter values, execute in the datastore, return results), and so >> DataNucleus only starts the execution in a separate thread and >> maintains the >> handle on that thread for cancellation purposes. If this execution >> thread is >> either not yet created, or is now finished then the test will fail, >> always. >> > > Another good high level discussion. Since we have the datastore read > timeout, the purpose of the cancel is to stop query execution before > the timeout expires. Since we assume that the main thread and the > query thread have ways of communicating as long as the query thread is > not stuck in a datastore wait, we are only concerned about getting the > query thread unstuck. > > So if the query has already returned results, the purpose for cancel > doesn't exist. There still may be a timing issue in real life where > the main thread sees that the query thread is stuck, but by the time > it gets around to canceling the query, the query thread is no longer > stuck. So it doesn't really matter whether the cancel worked or not. > That's why I agree that a reasonable behavior is having the cancel be > a no-op in case it can't find anything to do. > > But we still want a test case. Do we need the test case to perform > some timing tests to see how long queries take and adjust the wait > time accordingly? Do we want to try different values and require that > at least one value succeed? Start with a value of 1 ms and raise by > increments until the cancel works? > >> Shouldn't the test also take into account if the query does actually >> return >> the results before the cancel can be called ? >> > > This could be part of the heuristics as noted above. Much better if we > can figure out a good barrier/sleep strategy that at least works for > now. > > Craig > >> >> Regards >> -- >> Andy >> DataNucleus (http://www.datanucleus.org) >> > > Craig L Russell > Architect, Oracle > http://db.apache.org/jdo > 307-845-0453 mailto:[email protected] > P.S. A good JDO? O, Gasp! > > -- *Michael Bouschen* *Prokurist* akquinet tech@spree GmbH Bülowstr. 66, D-10783 Berlin Fon: 307-845-0453 Fax: 307-845-0453 Email: [email protected] Url: www.akquinet.de <http://www.akquinet.de> akquinet tech@spree GmbH, Berlin Geschäftsführung: Martin Weber, Prof. Dr. Christian Roth Amtsgericht Berlin-Charlottenburg HRB 86780 B USt.-Id. Nr.: DE 225 964 680 --------------040500070201020807030107 Content-Type: text/plain; name="QueryCancel.patch" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="QueryCancel.patch" SW5kZXg6IHNyYy9qYXZhL29yZy9hcGFjaGUvamRvL3Rjay9xdWVyeS9hcGkvUXVlcnlDYW5j ZWwuamF2YQ0KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PQ0KLS0tIHNyYy9qYXZhL29yZy9hcGFjaGUvamRvL3Rj ay9xdWVyeS9hcGkvUXVlcnlDYW5jZWwuamF2YQkoUmV2aXNpb24gOTIyNDQ1KQ0KKysrIHNy Yy9qYXZhL29yZy9hcGFjaGUvamRvL3Rjay9xdWVyeS9hcGkvUXVlcnlDYW5jZWwuamF2YQko QXJiZWl0c2tvcGllKQ0KQEAgLTE3LDYgKzE3LDggQEANCiAKIHBhY2thZ2Ugb3JnLmFwYWNo ZS5qZG8udGNrLnF1ZXJ5LmFwaTsKIAoraW1wb3J0IGphdmEudXRpbC5jb25jdXJyZW50LkN5 Y2xpY0JhcnJpZXI7CisKIGltcG9ydCBqdW5pdC5mcmFtZXdvcmsuQXNzZXJ0aW9uRmFpbGVk RXJyb3I7CiAKIGltcG9ydCBqYXZheC5qZG8uSkRPRmF0YWxFeGNlcHRpb247CkBAIC01MCw4 ICs1MiwxMSBAQA0KIHB1YmxpYyBjbGFzcyBRdWVyeUNhbmNlbCBleHRlbmRzIFF1ZXJ5VGVz dCB7CiAKICAgICAvKiogVGltZSBmb3IgdGhlIG1haW4gdGhyZWFkIHRvIHNsZWVwIGFmdGVy IHN0YXJ0aW5nIGEgcGFyYWxsZWwgdGhyZWFkLiAqLwotICAgIHByaXZhdGUgc3RhdGljIGlu dCBNQUlOX1NMRUVQX01JTExJUyA9IDEwMDA7CisgICAgcHJpdmF0ZSBzdGF0aWMgaW50IE1B SU5fU0xFRVBfTUlMTElTID0gMjA7CiAKKyAgICAvKiogTnVtYmVyIG9mIGluc3RhbmNlcyB0 byBiZSBjcmVhdGVkLiAqLworICAgIHByaXZhdGUgc3RhdGljIGludCBOT19PRl9JTlNUQU5D RVMgPSA1MDAwOworCiAgICAgLyoqICovCiAgICAgcHJpdmF0ZSBzdGF0aWMgZmluYWwgU3Ry aW5nIEFTU0VSVElPTl9GQUlMRUQgPSAKICAgICAgICAgIkFzc2VydGlvbiBBMTQuNi4xLTgg KFF1ZXJ5Q2FuY2VsKSBmYWlsZWQ6ICI7CkBAIC03NywxOCArODIsMjQgQEANCiAgICAgLyoq ICovCiAgICAgcHVibGljIHZvaWQgdGVzdENhbmNlbCgpIHRocm93cyBFeGNlcHRpb24gewog ICAgICAgICBQZXJzaXN0ZW5jZU1hbmFnZXIgcG0gPSBnZXRQTSgpOworICAgICAgICAvLyBU ZXN0IHF1ZXJ5IAogICAgICAgICBRdWVyeSBxdWVyeSA9IHBtLm5ld1F1ZXJ5KFNTSkRPUUwp OworICAgICAgICBxdWVyeS5jb21waWxlKCk7CiAKICAgICAgICAgLy8gVGhyZWFkIGV4ZWN1 dGluZyB0aGUgcXVlcnkKKyAgICAgICAgQ3ljbGljQmFycmllciBiYXJyaWVyID0gbmV3IEN5 Y2xpY0JhcnJpZXIoMik7CiAgICAgICAgIFRocmVhZEV4Y2VwdGlvbkhhbmRsZXIgZ3JvdXAg PSBuZXcgVGhyZWFkRXhjZXB0aW9uSGFuZGxlcigpOwotICAgICAgICBRdWVyeUV4ZWN1dG9y IHJ1bm5hYmxlID0gbmV3IFF1ZXJ5RXhlY3V0b3IocG0sIHF1ZXJ5KTsKKyAgICAgICAgUXVl cnlFeGVjdXRvciBydW5uYWJsZSA9IG5ldyBRdWVyeUV4ZWN1dG9yKHBtLCBxdWVyeSwgYmFy cmllcik7CiAgICAgICAgIFRocmVhZCB0ID0gbmV3IFRocmVhZChncm91cCwgcnVubmFibGUs ICJRdWVyeSBFeGVjdXRvciIpOwogICAgICAgICB0LnN0YXJ0KCk7CiAKLSAgICAgICAgLy8g V2FpdCBmb3IgYSBzZWNvbmQgc3VjaCB0aGF0IHRoZSBvdGhlciB0aHJlYWQgY2FuIGV4ZWN1 dGUgdGhlIHF1ZXJ5Ci0gICAgICAgIFRocmVhZC5zbGVlcChNQUlOX1NMRUVQX01JTExJUyk7 CisgICAgICAgIHRyeSB7CisgICAgICAgICAgICAvLyBXYWl0IGZvciB0aGUgb3RoZXIgdGhy ZWFkCisgICAgICAgICAgICBiYXJyaWVyLmF3YWl0KCk7CiAKLSAgICAgICAgdHJ5IHsKKyAg ICAgICAgICAgIC8vIFdhaXQgYSBjb3VwbGUgb2YgbWlsbGlzIHN1Y2ggdGhhdCB0aGUgb3Ro ZXIgdGhyZWFkIGNhbiBzdGFydCBxdWVyeSBleGVjdXRpb24KKyAgICAgICAgICAgIFRocmVh ZC5zbGVlcChNQUlOX1NMRUVQX01JTExJUyk7CisKICAgICAgICAgICAgIC8vIGNhbmNlbCBx dWVyeSAKICAgICAgICAgICAgIHF1ZXJ5LmNhbmNlbCh0KTsKICAgICAgICAgICAgIGlmICgh aXNRdWVyeUNhbmNlbFN1cHBvcnRlZCgpKSB7CkBAIC0xMTksMTkgKzEzMCwyNSBAQA0KICAg ICAvKiogKi8KICAgICBwdWJsaWMgdm9pZCB0ZXN0Q2FuY2VsQWxsKCkgdGhyb3dzIEV4Y2Vw dGlvbiB7CiAgICAgICAgIFBlcnNpc3RlbmNlTWFuYWdlciBwbSA9IGdldFBNKCk7CisgICAg ICAgIC8vIFRlc3QgcXVlcnkKICAgICAgICAgUXVlcnkgcXVlcnkgPSBwbS5uZXdRdWVyeShT U0pET1FMKTsKKyAgICAgICAgcXVlcnkuY29tcGlsZSgpOwogCiAgICAgICAgIC8vIFRocmVh ZCBleGVjdXRpbmcgdGhlIHF1ZXJ5CisgICAgICAgIEN5Y2xpY0JhcnJpZXIgYmFycmllciA9 IG5ldyBDeWNsaWNCYXJyaWVyKDIpOwogICAgICAgICBUaHJlYWRFeGNlcHRpb25IYW5kbGVy IGdyb3VwID0gbmV3IFRocmVhZEV4Y2VwdGlvbkhhbmRsZXIoKTsKLSAgICAgICAgUXVlcnlF eGVjdXRvciBydW5uYWJsZSA9IG5ldyBRdWVyeUV4ZWN1dG9yKHBtLCBxdWVyeSk7CisgICAg ICAgIFF1ZXJ5RXhlY3V0b3IgcnVubmFibGUgPSBuZXcgUXVlcnlFeGVjdXRvcihwbSwgcXVl cnksIGJhcnJpZXIpOwogICAgICAgICBUaHJlYWQgdCA9IG5ldyBUaHJlYWQoZ3JvdXAsIHJ1 bm5hYmxlLCAiUXVlcnkgRXhlY3V0b3IiKTsKICAgICAgICAgdC5zdGFydCgpOwogCi0gICAg ICAgIC8vIFdhaXQgZm9yIGEgc2Vjb25kIHN1Y2ggdGhhdCB0aGUgb3RoZXIgdGhyZWFkIGNh biBleGVjdXRlIHRoZSBxdWVyeQotICAgICAgICBUaHJlYWQuc2xlZXAoTUFJTl9TTEVFUF9N SUxMSVMpOwotCiAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAvLyBjYW5jZWwgcXVlcnkg CisgICAgICAgICAgICAvLyBXYWl0IGZvciB0aGUgb3RoZXIgdGhyZWFkCisgICAgICAgICAg ICBiYXJyaWVyLmF3YWl0KCk7CisKKyAgICAgICAgICAgIC8vIFdhaXQgYSBjb3VwbGUgb2Yg bWlsbGlzIHN1Y2ggdGhhdCB0aGUgb3RoZXIgdGhyZWFkIGNhbiBzdGFydCBxdWVyeSBleGVj dXRpb24KKyAgICAgICAgICAgIFRocmVhZC5zbGVlcChNQUlOX1NMRUVQX01JTExJUyk7CisK ICAgICAgICAgICAgIHF1ZXJ5LmNhbmNlbEFsbCgpOwogICAgICAgICAgICAgaWYgKCFpc1F1 ZXJ5Q2FuY2VsU3VwcG9ydGVkKCkpIHsKICAgICAgICAgICAgICAgICBmYWlsKEFTU0VSVElP Tl9GQUlMRUQsCkBAIC0xNjIsMTcgKzE3OSwyMyBAQA0KICAgICBjbGFzcyBRdWVyeUV4ZWN1 dG9yIGltcGxlbWVudHMgUnVubmFibGUgewogCiAgICAgICAgIFBlcnNpc3RlbmNlTWFuYWdl ciBwbTsKKyAgICAgICAgQ3ljbGljQmFycmllciBiYXJyaWVyOwogICAgICAgICBRdWVyeSBx dWVyeTsKICAgICAgICAgCi0gICAgICAgIFF1ZXJ5RXhlY3V0b3IoUGVyc2lzdGVuY2VNYW5h Z2VyIHBtLCBRdWVyeSBxdWVyeSkgeworICAgICAgICBRdWVyeUV4ZWN1dG9yKFBlcnNpc3Rl bmNlTWFuYWdlciBwbSwgUXVlcnkgcXVlcnksIEN5Y2xpY0JhcnJpZXIgYmFycmllcikgewog ICAgICAgICAgICAgdGhpcy5wbSA9IHBtOwogICAgICAgICAgICAgdGhpcy5xdWVyeSA9IHF1 ZXJ5OworICAgICAgICAgICAgdGhpcy5iYXJyaWVyID0gYmFycmllcjsKICAgICAgICAgfQog CiAgICAgICAgIHB1YmxpYyB2b2lkIHJ1bigpIHsKICAgICAgICAgICAgIFRyYW5zYWN0aW9u IHR4ID0gcG0uY3VycmVudFRyYW5zYWN0aW9uKCk7CiAgICAgICAgICAgICB0cnkgewogICAg ICAgICAgICAgICAgIHR4LmJlZ2luKCk7CisKKyAgICAgICAgICAgICAgICAvLyB3YWl0IGZv ciB0aGUgb3RoZXIgdGhyZWFkCisgICAgICAgICAgICAgICAgYmFycmllci5hd2FpdCgpOwor CiAgICAgICAgICAgICAgICAgT2JqZWN0IHJlc3VsdCA9IHF1ZXJ5LmV4ZWN1dGUoKTsKICAg ICAgICAgICAgICAgICB0eC5jb21taXQoKTsKICAgICAgICAgICAgICAgICB0eCA9IG51bGw7 CkBAIC0xODksNiArMjEyLDkgQEANCiAgICAgICAgICAgICAgICAgICAgICAgICAgImlmIHF1 ZXJ5IGNhbmNlbGluZyBpcyBub3Qgc3VwcG9ydGVkLiIpOwogICAgICAgICAgICAgICAgIH0K ICAgICAgICAgICAgIH0KKyAgICAgICAgICAgIGNhdGNoIChFeGNlcHRpb24gZXgpIHsKKyAg ICAgICAgICAgICAgICB0aHJvdyBuZXcgUnVudGltZUV4Y2VwdGlvbihleCk7CisgICAgICAg ICAgICB9CiAgICAgICAgICAgICBmaW5hbGx5IHsKICAgICAgICAgICAgICAgICBpZiAoKHR4 ICE9IG51bGwpICYmIHR4LmlzQWN0aXZlKCkpCiAgICAgICAgICAgICAgICAgICAgIHR4LnJv bGxiYWNrKCk7CkBAIC0yMDgsMTEgKzIzNCwxMSBAQA0KICAgICAgICAgVHJhbnNhY3Rpb24g dHggPSBwbS5jdXJyZW50VHJhbnNhY3Rpb24oKTsKICAgICAgICAgdHJ5IHsKICAgICAgICAg ICAgIHR4LmJlZ2luKCk7Ci0gICAgICAgICAgICBmb3IgKGludCBpID0gMDsgaSA8IDEwMDA7 IGkrKykgeworICAgICAgICAgICAgZm9yIChpbnQgaSA9IDA7IGkgPCBOT19PRl9JTlNUQU5D RVM7IGkrKykgewogICAgICAgICAgICAgICAgIFBDUG9pbnQgb2JqID0gbmV3IFBDUG9pbnQo aSwgaSk7CiAgICAgICAgICAgICAgICAgcG0ubWFrZVBlcnNpc3RlbnQob2JqKTsKICAgICAg ICAgICAgIH0KLSAgICAgICAgICAgIGZvciAoaW50IGkgPSAwOyBpIDwgMTAwMDsgaSsrKSB7 CisgICAgICAgICAgICBmb3IgKGludCBpID0gMDsgaSA8IE5PX09GX0lOU1RBTkNFUzsgaSsr KSB7CiAgICAgICAgICAgICAgICAgUENQb2ludDIgb2JqID0gbmV3IFBDUG9pbnQyKGksIGkp OwogICAgICAgICAgICAgICAgIHBtLm1ha2VQZXJzaXN0ZW50KG9iaik7CiAgICAgICAgICAg ICB9Cg== --------------040500070201020807030107-- From [email protected] Sun Mar 14 21:04:54 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43518 invoked from network); 14 Mar 2010 21:04:54 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 14 Mar 2010 21:04:54 -0000 Received: (qmail 27234 invoked by uid 500); 14 Mar 2010 21:04:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 27226 invoked by uid 99); 14 Mar 2010 21:04:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Mar 2010 21:04:10 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=AWL,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-yw0-f179.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Mar 2010 21:04:04 +0000 Received: by ywh9 with SMTP id 9so1264039ywh.23 for <[email protected]>; Sun, 14 Mar 2010 14:03:43 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id u16mr2180233agn.11.1268600612141; Sun, 14 Mar 2010 14:03:32 -0700 (PDT) X-Originating-IP: [161.129.204.104] In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Sun, 14 Mar 2010 22:03:32 +0100 Message-ID: <[email protected]> Subject: Re: TCK tests : QueryCancel From: Erik Bengtson <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable If you provide a query parameter and lock the parameter object in your thread, you might be able to have the other thread waiting you to unlock, so you can execute the cancel. On Sun, Mar 14, 2010 at 7:50 PM, Michael Bouschen <[email protected]> wrote= : > Hi Andy, hi Craig, > > I'm surprised about the query execution time of 60 ms to 2 ms. Andy, your > hardware seems to be much faster than mine :-). > > I agree we should change the test such that the query takes longer to > execute. I propose to create more test instances, then the join (as part = of > the query) becomes more expensive. > > Attached you find a patch with the following changes of the test class: > - it creates 5000 PCPoint and PCPoint2 instances (instead of 1000) > - uses a barrier to synchronize the threads > - compiles the query before staring the thread > > Regards Michael > >> Hi Andy, >> >> On Mar 13, 2010, at 3:29 AM, Andy Jefferson wrote: >> >> >>> >>> Hi Michael, >>> >>> >>>> >>>> I added a Thread.sleep(1000) to the main thread in order to give the >>>> other thread a chance to start the query before the main thread =A0can= cels >>>> it. Could you please give it a try? >>>> >>> >>> Giving something a second to get started seems excessive, I know =A0Der= by >>> is slow >>> but ... ;-) >>> I tried with a value more like 80 or 100 (millis) and managed **on >>> =A0occasions** >>> to get a JDOQueryInterruptedException (and pass the test). Other =A0tim= es >>> the >>> cancel still got in first. I also added a query.compile() before >>> =A0starting the >>> threads hence less for the query execute to do before starting, but >>> =A0still >>> intermittent. The intermittency will also be affected by the machine >>> =A0being >>> used, hence the number is arbitrary. The query execution time (in the >>> datastore) is anywhere between 60ms and 2ms on my machine. >>> >> >> This test will always be somewhat sensitive to timing, but we should =A0= be >> able to minimize the timing effects. >> >> The query itself should be long enough to allow the cancel to have an >> =A0effect. The query execution time of 60 ms to 2 ms. [sic] doesn't soun= d >> =A0long enough. Maybe we need to make the query more complex. But still,= =A0as >> machines get faster the query execution times will get smaller. >> >> The other thing we discussed earlier was the possibility of needing a >> =A0barrier so we could guarantee that the two threads were synchronized = =A0at >> some point. The main thread calling start doesn't quite guarantee >> =A0synchronization, while a barrier of size two should do it. Still, =A0= assuming >> that the query is compiled before the barrier, and the main =A0thread yi= elds >> to the query thread (sleep should do this just fine) we =A0should be abl= e to >> get the query to start and the cancel to interrupt it. >> >>> >>> Depends what the cancel is allowing cancel over; to be consistent =A0wi= th >>> the >>> timeout I assume it is cancel the datastore operation (as opposed to = =A0the >>> whole >>> query execute process ... compile, generate PreparedStatement, =A0popul= ate >>> parameter values, execute in the datastore, return results), and so >>> DataNucleus only starts the execution in a separate thread and =A0maint= ains >>> the >>> handle on that thread for cancellation purposes. If this execution >>> =A0thread is >>> either not yet created, or is now finished then the test will fail, >>> =A0always. >>> >> >> Another good high level discussion. Since we have the datastore read >> =A0timeout, the purpose of the cancel is to stop query execution before = =A0the >> timeout expires. Since we assume that the main thread and the =A0query t= hread >> have ways of communicating as long as the query thread is =A0not stuck i= n a >> datastore wait, we are only concerned about getting the =A0query thread >> unstuck. >> >> So if the query has already returned results, the purpose for cancel >> =A0doesn't exist. There still may be a timing issue in real life where = =A0the >> main thread sees that the query thread is stuck, but by the time =A0it g= ets >> around to canceling the query, the query thread is no longer =A0stuck. S= o it >> doesn't really matter whether the cancel worked or not. =A0That's why I = agree >> that a reasonable behavior is having the cancel be =A0a no-op in case it= can't >> find anything to do. >> >> But we still want a test case. Do we need the test case to perform =A0so= me >> timing tests to see how long queries take and adjust the wait =A0time >> accordingly? Do we want to try different values and require that =A0at l= east >> one value succeed? Start with a value of 1 ms and raise by =A0increments= until >> the cancel works? >> >>> >>> Shouldn't the test also take into account if the query does actually >>> =A0return >>> the results before the cancel can be called ? >>> >> >> This could be part of the heuristics as noted above. Much better if we >> =A0can figure out a good barrier/sleep strategy that at least works for = =A0now. >> >> Craig >> >>> >>> Regards >>> -- >>> Andy >>> DataNucleus (http://www.datanucleus.org) >>> >> >> Craig L Russell >> Architect, Oracle >> http://db.apache.org/jdo >> 307-845-0453 mailto:[email protected] >> P.S. A good JDO? O, Gasp! >> >> > > > -- > *Michael Bouschen* > *Prokurist* > > akquinet tech@spree GmbH > B=FClowstr. 66, D-10783 Berlin > > Fon: =A0 307-845-0453 > Fax: =A0 307-845-0453 > Email: [email protected] > Url: =A0 =A0www.akquinet.de <http://www.akquinet.de> > > akquinet tech@spree GmbH, Berlin > Gesch=E4ftsf=FChrung: Martin Weber, Prof. Dr. Christian Roth > Amtsgericht Berlin-Charlottenburg HRB 86780 B > USt.-Id. Nr.: DE 225 964 680 > > Index: src/java/org/apache/jdo/tck/query/api/QueryCancel.java > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- src/java/org/apache/jdo/tck/query/api/QueryCancel.java =A0 =A0 =A0(Re= vision > 922445) > +++ src/java/org/apache/jdo/tck/query/api/QueryCancel.java > =A0(Arbeitskopie) > @@ -17,6 +17,8 @@ > > =A0package org.apache.jdo.tck.query.api; > > +import java.util.concurrent.CyclicBarrier; > + > =A0import junit.framework.AssertionFailedError; > > =A0import javax.jdo.JDOFatalException; > @@ -50,8 +52,11 @@ > =A0public class QueryCancel extends QueryTest { > > =A0 =A0 /** Time for the main thread to sleep after starting a parallel t= hread. > */ > - =A0 =A0private static int MAIN_SLEEP_MILLIS =3D 1000; > + =A0 =A0private static int MAIN_SLEEP_MILLIS =3D 20; > > + =A0 =A0/** Number of instances to be created. */ > + =A0 =A0private static int NO_OF_INSTANCES =3D 5000; > + > =A0 =A0 /** */ > =A0 =A0 private static final String ASSERTION_FAILED =3D > =A0 =A0 =A0 =A0 "Assertion A14.6.1-8 (QueryCancel) failed: "; > @@ -77,18 +82,24 @@ > =A0 =A0 /** */ > =A0 =A0 public void testCancel() throws Exception { > =A0 =A0 =A0 =A0 PersistenceManager pm =3D getPM(); > + =A0 =A0 =A0 =A0// Test query > =A0 =A0 =A0 =A0 Query query =3D pm.newQuery(SSJDOQL); > + =A0 =A0 =A0 =A0query.compile(); > > =A0 =A0 =A0 =A0 // Thread executing the query > + =A0 =A0 =A0 =A0CyclicBarrier barrier =3D new CyclicBarrier(2); > =A0 =A0 =A0 =A0 ThreadExceptionHandler group =3D new ThreadExceptionHandl= er(); > - =A0 =A0 =A0 =A0QueryExecutor runnable =3D new QueryExecutor(pm, query); > + =A0 =A0 =A0 =A0QueryExecutor runnable =3D new QueryExecutor(pm, query, = barrier); > =A0 =A0 =A0 =A0 Thread t =3D new Thread(group, runnable, "Query Executor"= ); > =A0 =A0 =A0 =A0 t.start(); > > - =A0 =A0 =A0 =A0// Wait for a second such that the other thread can exec= ute the > query > - =A0 =A0 =A0 =A0Thread.sleep(MAIN_SLEEP_MILLIS); > + =A0 =A0 =A0 =A0try { > + =A0 =A0 =A0 =A0 =A0 =A0// Wait for the other thread > + =A0 =A0 =A0 =A0 =A0 =A0barrier.await(); > > - =A0 =A0 =A0 =A0try { > + =A0 =A0 =A0 =A0 =A0 =A0// Wait a couple of millis such that the other t= hread can start > query execution > + =A0 =A0 =A0 =A0 =A0 =A0Thread.sleep(MAIN_SLEEP_MILLIS); > + > =A0 =A0 =A0 =A0 =A0 =A0 // cancel query > =A0 =A0 =A0 =A0 =A0 =A0 query.cancel(t); > =A0 =A0 =A0 =A0 =A0 =A0 if (!isQueryCancelSupported()) { > @@ -119,19 +130,25 @@ > =A0 =A0 /** */ > =A0 =A0 public void testCancelAll() throws Exception { > =A0 =A0 =A0 =A0 PersistenceManager pm =3D getPM(); > + =A0 =A0 =A0 =A0// Test query > =A0 =A0 =A0 =A0 Query query =3D pm.newQuery(SSJDOQL); > + =A0 =A0 =A0 =A0query.compile(); > > =A0 =A0 =A0 =A0 // Thread executing the query > + =A0 =A0 =A0 =A0CyclicBarrier barrier =3D new CyclicBarrier(2); > =A0 =A0 =A0 =A0 ThreadExceptionHandler group =3D new ThreadExceptionHandl= er(); > - =A0 =A0 =A0 =A0QueryExecutor runnable =3D new QueryExecutor(pm, query); > + =A0 =A0 =A0 =A0QueryExecutor runnable =3D new QueryExecutor(pm, query, = barrier); > =A0 =A0 =A0 =A0 Thread t =3D new Thread(group, runnable, "Query Executor"= ); > =A0 =A0 =A0 =A0 t.start(); > > - =A0 =A0 =A0 =A0// Wait for a second such that the other thread can exec= ute the > query > - =A0 =A0 =A0 =A0Thread.sleep(MAIN_SLEEP_MILLIS); > - > =A0 =A0 =A0 =A0 try { > =A0 =A0 =A0 =A0 =A0 =A0 // cancel query > + =A0 =A0 =A0 =A0 =A0 =A0// Wait for the other thread > + =A0 =A0 =A0 =A0 =A0 =A0barrier.await(); > + > + =A0 =A0 =A0 =A0 =A0 =A0// Wait a couple of millis such that the other t= hread can start > query execution > + =A0 =A0 =A0 =A0 =A0 =A0Thread.sleep(MAIN_SLEEP_MILLIS); > + > =A0 =A0 =A0 =A0 =A0 =A0 query.cancelAll(); > =A0 =A0 =A0 =A0 =A0 =A0 if (!isQueryCancelSupported()) { > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 fail(ASSERTION_FAILED, > @@ -162,17 +179,23 @@ > =A0 =A0 class QueryExecutor implements Runnable { > > =A0 =A0 =A0 =A0 PersistenceManager pm; > + =A0 =A0 =A0 =A0CyclicBarrier barrier; > =A0 =A0 =A0 =A0 Query query; > > - =A0 =A0 =A0 =A0QueryExecutor(PersistenceManager pm, Query query) { > + =A0 =A0 =A0 =A0QueryExecutor(PersistenceManager pm, Query query, Cyclic= Barrier > barrier) { > =A0 =A0 =A0 =A0 =A0 =A0 this.pm =3D pm; > =A0 =A0 =A0 =A0 =A0 =A0 this.query =3D query; > + =A0 =A0 =A0 =A0 =A0 =A0this.barrier =3D barrier; > =A0 =A0 =A0 =A0 } > > =A0 =A0 =A0 =A0 public void run() { > =A0 =A0 =A0 =A0 =A0 =A0 Transaction tx =3D pm.currentTransaction(); > =A0 =A0 =A0 =A0 =A0 =A0 try { > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 tx.begin(); > + > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0// wait for the other thread > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0barrier.await(); > + > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Object result =3D query.execute(); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 tx.commit(); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 tx =3D null; > @@ -189,6 +212,9 @@ > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0"if query canceling is= not supported."); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } > =A0 =A0 =A0 =A0 =A0 =A0 } > + =A0 =A0 =A0 =A0 =A0 =A0catch (Exception ex) { > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0throw new RuntimeException(ex); > + =A0 =A0 =A0 =A0 =A0 =A0} > =A0 =A0 =A0 =A0 =A0 =A0 finally { > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 if ((tx !=3D null) && tx.isActive()) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 tx.rollback(); > @@ -208,11 +234,11 @@ > =A0 =A0 =A0 =A0 Transaction tx =3D pm.currentTransaction(); > =A0 =A0 =A0 =A0 try { > =A0 =A0 =A0 =A0 =A0 =A0 tx.begin(); > - =A0 =A0 =A0 =A0 =A0 =A0for (int i =3D 0; i < 1000; i++) { > + =A0 =A0 =A0 =A0 =A0 =A0for (int i =3D 0; i < NO_OF_INSTANCES; i++) { > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 PCPoint obj =3D new PCPoint(i, i); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 pm.makePersistent(obj); > =A0 =A0 =A0 =A0 =A0 =A0 } > - =A0 =A0 =A0 =A0 =A0 =A0for (int i =3D 0; i < 1000; i++) { > + =A0 =A0 =A0 =A0 =A0 =A0for (int i =3D 0; i < NO_OF_INSTANCES; i++) { > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 PCPoint2 obj =3D new PCPoint2(i, i); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 pm.makePersistent(obj); > =A0 =A0 =A0 =A0 =A0 =A0 } > > From [email protected] Mon Mar 15 10:21:21 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20249 invoked from network); 15 Mar 2010 10:21:20 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 15 Mar 2010 10:21:20 -0000 Received: (qmail 72484 invoked by uid 500); 15 Mar 2010 10:20:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 72473 invoked by uid 99); 15 Mar 2010 10:20:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Mar 2010 10:20:32 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO relay.pcl-ipout01.plus.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Mar 2010 10:20:24 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAPWmnUtUXebq/2dsb2JhbACab3O2CYR7BA Received: from relay07.plus.net ([161.129.204.104]) by relay.pcl-ipout01.plus.net with ESMTP; 15 Mar 2010 10:20:03 +0000 Received: from [161.129.204.104] (helo=rookie.persistability.co.uk) by relay07.plus.net with esmtp (Exim) id 1Nr7P1-0005Hv-H2 for [email protected]; Mon, 15 Mar 2010 10:20:03 +0000 From: Andy Jefferson <[email protected]> To: [email protected] Subject: Re: TCK tests : QueryCancel Date: Mon, 15 Mar 2010 10:20:02 +0000 User-Agent: KMail/1.12.2 (Linux/161.129.204.104-desktop-1mnb; KDE/4.3.2; i686; ; ) References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Organization: DataNucleus MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> X-Plusnet-Relay: bc711d013a102637a7f6922ccf80e7bf X-Virus-Checked: Checked by ClamAV on apache.org Same logic applies to the DatastoreTimeout test(s). The timeout only applies to the datastore operation, yet will be imposed against the overall call to the JDO API (query execution). Consequently the results are currently unreliable. DataNucleus 2.0 passes since the JDOQL implementation in use in that version doesn't support timeouts or cancelling. The one that will be in DataNucleus 2.1 will support them. -- Andy DataNucleus (http://www.datanucleus.org) From [email protected] Thu Mar 18 20:31:13 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91189 invoked from network); 18 Mar 2010 20:31:13 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 18 Mar 2010 20:31:13 -0000 Received: (qmail 51184 invoked by uid 500); 18 Mar 2010 20:31:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51176 invoked by uid 99); 18 Mar 2010 20:31:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Mar 2010 20:31:12 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO sca-es-mail-2.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Mar 2010 20:31:01 +0000 Received: from fe-sfbay-10.sun.com ([161.129.204.104]) by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o2IKUca5022107 for <[email protected]>; Thu, 18 Mar 2010 13:30:40 -0700 (PDT) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; delsp=yes; format=flowed Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) id <[email protected]> for [email protected]; Thu, 18 Mar 2010 13:30:38 -0700 (PDT) Received: from [161.129.204.104] ([unknown] [161.129.204.104]) by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) with ESMTPSA id <[email protected]>; Thu, 18 Mar 2010 13:30:30 -0700 (PDT) Date: Thu, 18 Mar 2010 13:30:25 -0700 From: Craig L Russell <[email protected]> Subject: Re: Spec updates for 2.3 In-reply-to: <[email protected]> Sender: [email protected] To: Matthew Adams <[email protected]> Cc: [email protected], JDO Expert Group <[email protected]> Message-id: <[email protected]> X-Mailer: Apple Mail (2.936) References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi Matthew, On Mar 12, 2010, at 8:43 AM, Matthew Adams wrote: > Hi all, > > I have a question about the following assertion regarding getting an > object by exact class with no validation. > > <craig> > 12.6.5: > If the validate flag is false, the user asserts that the instance > exists and the object id represents the exact class of the persistent > instance (specifically not a subclass or an interface): > A12.6.5-2 [If the object id represents an interface or abstract class, > JDOUserException is thrown.] > A12.5.6-2 [If there is already an instance in the cache with the same > JDO identity as the oid parameter, then this method returns it.] > A12.5.6-3 [There is no change made to the state of the returned > instance.] > A12.5.6-4 [If there is not an instance already in the cache with the > same JDO identity as the oid parameter, then this method creates an > instance with the specified JDO identity and returns it. If there is > no transaction in progress, the returned instance will be hollow or > persistent-nontransactional, at the choice of the implementation.] > A12.5.6-5 [If there is a transaction in progress, the returned > instance will be hollow, persistent-nontransactional, or > persistent-clean, at the choice of the implementation.] > </craig> > > Can you please tell me the state of the returned instance if there is > already an instance in the cache with the same JDO identity as the oid > parameter and the existing instance is not in any of the states > hollow, persistent-nontransactional, or persistent-clean? Whatever it is currently. The relevant bit is right at the top. > A12.5.6-2 [If there is already an instance in the cache with the same > JDO identity as the oid parameter, then this method returns it.] > A12.5.6-3 [There is no change made to the state of the returned > instance.] Stop reading here. Because the next sentence begins: A12.5.6-4 [If there is not an instance already in the cache with the same JDO identity as the oid parameter, ... So that's the delimiter between "already in the cache" and "not already in the cache". Anyway, I've changed the indentation of the text to make it a bit more obvious that the bullets "If there is [not] a transaction in progress" belong to "If there is not an instance already in the cache". WDYT? Craig > A12.5.6-5 > appears to me to state that the instance must be in one of these three > states. It's not clear to me that A12.5.6-2 necessarily takes > precedence over A12.5.6-5. The way it reads to me, it's almost as > though the presence of a transaction or not would cause the loss of > changes in the existing instance. Maybe I'm off base, but I'd > recommend the following. > > <matthew> > A12.5.6-5 [If there is a transaction in progress, the returned > instance will be hollow, persistent-nontransactional, or > persistent-clean, at the choice of the implementation, unless there > was a transactional instance in the cache with the same JDO identity > as the oid parameter, in which case the there is no change made to the > state of the returned instance.] > </matthew> > > WDYT? > > -matthew > > On Thu, Mar 11, 2010 at 5:46 PM, Craig L Russell <[email protected] > > wrote: > [snip] Craig L Russell Architect, Oracle http://db.apache.org/jdo 307-845-0453 mailto:[email protected] P.S. A good JDO? O, Gasp! From [email protected] Thu Mar 18 20:48:06 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96161 invoked from network); 18 Mar 2010 20:48:06 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 18 Mar 2010 20:48:06 -0000 Received: (qmail 74559 invoked by uid 500); 18 Mar 2010 20:48:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74551 invoked by uid 99); 18 Mar 2010 20:48:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Mar 2010 20:48:05 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO sca-es-mail-2.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Mar 2010 20:47:56 +0000 Received: from fe-sfbay-10.sun.com ([161.129.204.104]) by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o2IKla1Q025864 for <[email protected]>; Thu, 18 Mar 2010 13:47:36 -0700 (PDT) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; delsp=yes; format=flowed Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) id <[email protected]> for [email protected]; Thu, 18 Mar 2010 13:47:36 -0700 (PDT) Received: from [161.129.204.104] ([unknown] [161.129.204.104]) by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) with ESMTPSA id <[email protected]> for [email protected]; Thu, 18 Mar 2010 13:47:36 -0700 (PDT) Date: Thu, 18 Mar 2010 13:47:31 -0700 Sun-Java-System-SMTP-Warning: Lines longer than SMTP allows found and truncated. From: Craig L Russell <[email protected]> Subject: Re: Running JDO TCK on Eclipse In-reply-to: <[email protected]> Sender: [email protected] To: [email protected] Cc: JDO Expert Group <[email protected]> Message-id: <[email protected]> X-Mailer: Apple Mail (2.936) References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Hi Ilan, The 2.2 TCK (still) uses maven 1. I found a plugin for Netbeans to support projects with maven 1 format but haven't found one for Eclipse. So I use Eclipse (or Netbeans) as an editor and use the command line to actually execute the tests. So I don't know how to help you without rewriting the tck in maven 2, which is on the list but not being implemented due to a lack of volunteers. Best regards, Craig On Mar 8, 2010, at 3:42 AM, Ilan Kirsh wrote: > Hi, > > I am looking for instructions on how to run the JDO TCK 2.2 on > Eclipse. > Particularly I am having difficulties in running the > org.apache.jdo.tck.mapping tests (because unlike most other tests > they do not run without the conf files). > > Any help will be appreciated. > > Thanks, > Ilan Kirsh Craig L Russell Architect, Oracle http://db.apache.org/jdo 307-845-0453 mailto:[email protected] P.S. A good JDO? O, Gasp! From [email protected] Fri Mar 19 03:43:51 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8968 invoked from network); 19 Mar 2010 03:43:51 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 19 Mar 2010 03:43:51 -0000 Received: (qmail 2390 invoked by uid 500); 19 Mar 2010 03:43:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 2376 invoked by uid 99); 19 Mar 2010 03:43:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Mar 2010 03:43:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Mar 2010 03:43:48 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 3A54A234C1F2 for <[email protected]>; Fri, 19 Mar 2010 03:43:27 +0000 (UTC) Message-ID: <[email protected]> Date: Fri, 19 Mar 2010 03:43:27 +0000 (UTC) From: "Michelle Caisse (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (JDO-557) Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map) In-Reply-To: <2217727.1196453383015.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JDO-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michelle Caisse updated JDO-557: -------------------------------- Attachment: jdo-557.patch Attached draft work for this issue containing three new files, along with error message that is currently output. Error text is appended to end of patch. > Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map) > --------------------------------------------------------------------------------------------------------------- > > Key: JDO-557 > URL: https://issues.apache.org/jira/browse/JDO-557 > Project: JDO > Issue Type: Task > Components: api2, api2-legacy > Affects Versions: JDO 2 maintenance release 1 > Reporter: Matthew T. Adams > Assignee: Michelle Caisse > Fix For: JDO 2 maintenance release 3 > > Attachments: jdo-557.patch > > > The code paths that lead to calling the JDO implementation's PersistenceManagerFactory class's static method getPersistenceManagerFactory(Map,Map) need to be tested. In order to avoid a dependency on a real implementation, a stub PMF implementation class should be used. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Mar 19 03:45:52 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9243 invoked from network); 19 Mar 2010 03:45:52 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 19 Mar 2010 03:45:52 -0000 Received: (qmail 2864 invoked by uid 500); 19 Mar 2010 03:45:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 2855 invoked by uid 99); 19 Mar 2010 03:45:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Mar 2010 03:45:51 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO a.mail.sonic.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Mar 2010 03:45:42 +0000 Received: from [161.129.204.104] 307-845-0453.phnx.qwest.net [161.129.204.104]) (authenticated bits=0) by a.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with ESMTP id o2J3jLUY009850; Thu, 18 Mar 2010 20:45:21 -0700 Message-ID: <[email protected]> Date: Thu, 18 Mar 2010 20:45:20 -0700 From: Michelle Caisse <[email protected]> Reply-To: [email protected] User-Agent: Thunderbird 161.129.204.104 (X11/20090817) MIME-Version: 1.0 To: [email protected] CC: JDO Expert Group <[email protected]> Subject: NOTE TIME CHANGE: JDO TCK Conference Call Friday, Mar 12, 11 am PDT References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, Please note : - This week's meeting is temporarily at a different time AND - The U.S. has switched to Daylight Saving Time.. We will have our regular meeting Friday, March 12 at 11 am PDT to discuss JDO TCK issues and status. Dial-in numbers are: Domestic (toll-free): 307-845-0453 International (caller-paid): 307-845-0453 Access code : 294-0479# Agenda: 1. Query Cancel TCK tests 2. Tests in api2 for ... getPersistenceManagerFactory(Map,Map) https://issues.apache.org/jira/browse/JDO-557 3. Spec updates 4. Other issues Action Items from weeks past: -- Michelle From [email protected] Fri Mar 19 15:46:20 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11884 invoked from network); 19 Mar 2010 15:46:20 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 19 Mar 2010 15:46:20 -0000 Received: (qmail 39630 invoked by uid 500); 19 Mar 2010 15:46:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 39622 invoked by uid 99); 19 Mar 2010 15:46:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Mar 2010 15:46:20 +0000 X-ASF-Spam-Status: No, hits=-0.9 required=10.0 tests=AWL,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-vw0-f44.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Mar 2010 15:46:12 +0000 Received: by vws19 with SMTP id 19so539289vws.31 for <[email protected]>; Fri, 19 Mar 2010 08:45:51 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id i10mr1278979vcs.84.1269013551422; Fri, 19 Mar 2010 08:45:51 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Fri, 19 Mar 2010 08:45:51 -0700 Message-ID: <[email protected]> Subject: Re: Spec updates for 2.3 From: Matthew Adams <[email protected]> To: Craig L Russell <[email protected]> Cc: [email protected], JDO Expert Group <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 On Thu, Mar 18, 2010 at 1:30 PM, Craig L Russell <[email protected]> wrote: > Hi Matthew, > Stop reading here. Because the next sentence begins: > A12.5.6-4 [If there is not an instance already in the cache with the same > JDO identity as the oid parameter, ... > > So that's the delimiter between "already in the cache" and "not already in > the cache". > > Anyway, I've changed the indentation of the text to make it a bit more > obvious that the bullets "If there is [not] a transaction in progress" > belong to "If there is not an instance already in the cache". > > WDYT? If indentation is sufficient to impart the meaning, then I'm fine with it. -matthew From [email protected] Fri Mar 19 18:08:50 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64274 invoked from network); 19 Mar 2010 18:08:50 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 19 Mar 2010 18:08:50 -0000 Received: (qmail 53052 invoked by uid 500); 19 Mar 2010 18:08:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 52918 invoked by uid 99); 19 Mar 2010 18:08:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Mar 2010 18:08:49 +0000 X-ASF-Spam-Status: No, hits=-1071.1 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Mar 2010 18:08:48 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 66B22234C4BE for <[email protected]>; Fri, 19 Mar 2010 18:08:27 +0000 (UTC) Message-ID: <[email protected]> Date: Fri, 19 Mar 2010 18:08:27 +0000 (UTC) From: "Andy Jefferson (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (JDO-573) RI creates bad SQL for navigational queries In-Reply-To: <23756707.1201906508701.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JDO-573?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1284748= 6#action_12847486 ]=20 Andy Jefferson commented on JDO-573: ------------------------------------ For reference, DataNucleus 2.1.x passes this test, using the replacement JD= OQL implementation.=20 Since DN 2.1 is not yet released this can wait until after JDO2.3 release f= or enabling of these excluded tests. > RI creates bad SQL for navigational queries > ------------------------------------------- > > Key: JDO-573 > URL: https://issues.apache.org/jira/browse/JDO-573 > Project: JDO > Issue Type: Bug > Components: tck2, tck2-legacy > Affects Versions: JDO 2 maintenance release 1, JDO 2 maintenance relea= se 2 > Reporter: Craig L Russell > Assignee: Andy Jefferson > > The test org.apache.jdo.tck.query.result.VariableInResultNavigation fails= with incorrect SQL generated. > [java] 1) testNavigationWithThisAndCompany(org.apache.jdo.tck.query.r= esult.VariableInResultNavigation)javax.jdo.JDOException: JDOException throw= n while executing query: > [java] SELECT this, e, p FROM org.apache.jdo.tck.pc.company.Company W= HERE name =3D=3D "Sun Microsystems, Inc." && departments.contains(d) && d.e= mployees.contains(e) && e.projects.contains(p) VARIABLES Department d; Empl= oyee e; Project p=20 > [java] =09at org.apache.jdo.tck.query.QueryTest.execute(QueryTest.jav= a:1314) > [java] =09at org.apache.jdo.tck.query.QueryTest.execute(QueryTest.jav= a:1135) > [java] =09at org.apache.jdo.tck.query.QueryTest.executeAPIQuery(Query= Test.java:1071) > [java] =09at org.apache.jdo.tck.query.QueryTest.executeAPIQuery(Query= Test.java:1051) > [java] =09at org.apache.jdo.tck.query.result.VariableInResultNavigati= on.testNavigationWithThisAndCompany(VariableInResultNavigation.java:251) > [java] =09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Meth= od) > [java] =09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethod= AccessorImpl.java:39) > [java] =09at sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegati= ngMethodAccessorImpl.java:25) > [java] =09at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:254) > [java] =09at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestR= unner.java:108) > [java] =09at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestR= unner.java:148) > [java] =09at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRu= nner.java:123) > [java] NestedThrowablesStackTrace: > [java] javax.jdo.JDODataStoreException: [JPOX-042007] Error executing= JDOQL query "SELECT THIS.DATASTORE_IDENTITY,UNBOUND_E.DATASTORE_IDENTITY,U= NBOUND_P.DATASTORE_IDENTITY FROM datastoreidentity0.COMPANIES THIS , datast= oreidentity0.PERSONS UNBOUND_E , datastoreidentity0.PROJECTS UNBOUND_P WHER= E EXISTS (SELECT 1 FROM datastoreidentity0.DEPARTMENTS THIS_DEPARTMENTS_D W= HERE EXISTS (SELECT 1 FROM datastoreidentity0.PERSONS THIS_DEPARTMENTS_D_EM= PLOYEES_E WHERE THIS_DEPARTMENTS_D_EMPLOYEES_E.DEPARTMENT =3D THIS_DEPARTME= NTS_D.DATASTORE_IDENTITY AND THIS_DEPARTMENTS_D.COMPANYID =3D THIS.DATASTOR= E_IDENTITY AND THIS."NAME" =3D ?)) AND EXISTS (SELECT 1 FROM datastoreident= ity0.PROJECT_MEMBER THIS_DEPARTMENTS_D_EMPLOYEES_E_PROJECTS_P WHERE THIS_DE= PARTMENTS_D_EMPLOYEES_E_PROJECTS_P."MEMBER" =3D THIS_DEPARTMENTS_D_EMPLOYEE= S_E.DATASTORE_IDENTITY AND UNBOUND_P.DATASTORE_IDENTITY =3D THIS_DEPARTMENT= S_D_EMPLOYEES_E_PROJECTS_P.PROJID)" : Column 'THIS_DEPARTMENTS_D_EMPLOYEES_= E.DATASTORE_IDENTITY' is either not in any table in the FROM list or appear= s within a join specification and is outside the scope of the join specific= ation or appears in a HAVING clause and is not in the GROUP BY list. If thi= s is a CREATE or ALTER TABLE statement then 'THIS_DEPARTMENTS_D_EMPLOYEES_= E.DATASTORE_IDENTITY' is not a column in the target table.. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Mar 19 20:04:28 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5654 invoked from network); 19 Mar 2010 20:04:28 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 19 Mar 2010 20:04:28 -0000 Received: (qmail 55802 invoked by uid 500); 19 Mar 2010 20:04:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55794 invoked by uid 99); 19 Mar 2010 20:04:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Mar 2010 20:04:25 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO sca-es-mail-1.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Mar 2010 20:04:14 +0000 Received: from fe-sfbay-09.sun.com ([161.129.204.104]) by sca-es-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o2JK3rna000516 for <[email protected]>; Fri, 19 Mar 2010 13:03:53 -0700 (PDT) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; delsp=yes; format=flowed Received: from conversion-daemon.fe-sfbay-09.sun.com by fe-sfbay-09.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) id <[email protected]> for [email protected]; Fri, 19 Mar 2010 13:03:53 -0700 (PDT) Received: from dhcp-umpk15-121-58.SFBay.Sun.COM ([unknown] [161.129.204.104]) by fe-sfbay-09.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) with ESMTPSA id <[email protected]> for [email protected]; Fri, 19 Mar 2010 13:03:51 -0700 (PDT) Date: Fri, 19 Mar 2010 13:03:43 -0700 From: Craig L Russell <[email protected]> Subject: Re: [jira] Commented: (JDO-573) RI creates bad SQL for navigational queries In-reply-to: <[email protected]> Sender: [email protected] To: [email protected] Message-id: <[email protected]> X-Mailer: Apple Mail (2.936) References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi Andy, This is good news. Congratulations. Craig On Mar 19, 2010, at 11:08 AM, Andy Jefferson (JIRA) wrote: > > [ https://issues.apache.org/jira/browse/JDO-573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847486 > #action_12847486 ] > > Andy Jefferson commented on JDO-573: > ------------------------------------ > > For reference, DataNucleus 2.1.x passes this test, using the > replacement JDOQL implementation. > Since DN 2.1 is not yet released this can wait until after JDO2.3 > release for enabling of these excluded tests. > >> RI creates bad SQL for navigational queries >> ------------------------------------------- >> >> Key: JDO-573 >> URL: https://issues.apache.org/jira/browse/JDO-573 >> Project: JDO >> Issue Type: Bug >> Components: tck2, tck2-legacy >> Affects Versions: JDO 2 maintenance release 1, JDO 2 maintenance >> release 2 >> Reporter: Craig L Russell >> Assignee: Andy Jefferson >> >> The test org.apache.jdo.tck.query.result.VariableInResultNavigation >> fails with incorrect SQL generated. >> [java] 1) >> testNavigationWithThisAndCompany >> (org >> .apache >> .jdo >> .tck >> .query.result.VariableInResultNavigation)javax.jdo.JDOException: >> JDOException thrown while executing query: >> [java] SELECT this, e, p FROM >> org.apache.jdo.tck.pc.company.Company WHERE name == "Sun >> Microsystems, Inc." && departments.contains(d) && >> d.employees.contains(e) && e.projects.contains(p) VARIABLES >> Department d; Employee e; Project p >> [java] at >> org.apache.jdo.tck.query.QueryTest.execute(QueryTest.java:1314) >> [java] at >> org.apache.jdo.tck.query.QueryTest.execute(QueryTest.java:1135) >> [java] at >> org.apache.jdo.tck.query.QueryTest.executeAPIQuery(QueryTest.java: >> 1071) >> [java] at >> org.apache.jdo.tck.query.QueryTest.executeAPIQuery(QueryTest.java: >> 1051) >> [java] at >> org >> .apache >> .jdo >> .tck >> .query >> .result >> .VariableInResultNavigation >> .testNavigationWithThisAndCompany(VariableInResultNavigation.java: >> 251) >> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native >> Method) >> [java] at >> sun >> .reflect >> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> [java] at >> sun >> .reflect >> .DelegatingMethodAccessorImpl >> .invoke(DelegatingMethodAccessorImpl.java:25) >> [java] at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:254) >> [java] at >> org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java: >> 108) >> [java] at >> org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java: >> 148) >> [java] at >> org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java: >> 123) >> [java] NestedThrowablesStackTrace: >> [java] javax.jdo.JDODataStoreException: [JPOX-042007] Error >> executing JDOQL query "SELECT >> THIS >> .DATASTORE_IDENTITY >> ,UNBOUND_E.DATASTORE_IDENTITY,UNBOUND_P.DATASTORE_IDENTITY FROM >> datastoreidentity0.COMPANIES THIS , datastoreidentity0.PERSONS >> UNBOUND_E , datastoreidentity0.PROJECTS UNBOUND_P WHERE EXISTS >> (SELECT 1 FROM datastoreidentity0.DEPARTMENTS THIS_DEPARTMENTS_D >> WHERE EXISTS (SELECT 1 FROM datastoreidentity0.PERSONS >> THIS_DEPARTMENTS_D_EMPLOYEES_E WHERE >> THIS_DEPARTMENTS_D_EMPLOYEES_E.DEPARTMENT = >> THIS_DEPARTMENTS_D.DATASTORE_IDENTITY AND >> THIS_DEPARTMENTS_D.COMPANYID = THIS.DATASTORE_IDENTITY AND >> THIS."NAME" = ?)) AND EXISTS (SELECT 1 FROM >> datastoreidentity0.PROJECT_MEMBER >> THIS_DEPARTMENTS_D_EMPLOYEES_E_PROJECTS_P WHERE >> THIS_DEPARTMENTS_D_EMPLOYEES_E_PROJECTS_P."MEMBER" = >> THIS_DEPARTMENTS_D_EMPLOYEES_E.DATASTORE_IDENTITY AND >> UNBOUND_P.DATASTORE_IDENTITY = >> THIS_DEPARTMENTS_D_EMPLOYEES_E_PROJECTS_P.PROJID)" : Column >> 'THIS_DEPARTMENTS_D_EMPLOYEES_E.DATASTORE_IDENTITY' is either not >> in any table in the FROM list or appears within a join >> specification and is outside the scope of the join specification or >> appears in a HAVING clause and is not in the GROUP BY list. If this >> is a CREATE or ALTER TABLE statement then >> 'THIS_DEPARTMENTS_D_EMPLOYEES_E.DATASTORE_IDENTITY' is not a column >> in the target table.. > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > Craig L Russell Architect, Oracle http://db.apache.org/jdo 307-845-0453 mailto:[email protected] P.S. A good JDO? O, Gasp! From [email protected] Sat Mar 20 21:06:48 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79566 invoked from network); 20 Mar 2010 21:06:48 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 20 Mar 2010 21:06:48 -0000 Received: (qmail 65047 invoked by uid 500); 20 Mar 2010 21:06:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 65039 invoked by uid 99); 20 Mar 2010 21:06:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Mar 2010 21:06:48 +0000 X-ASF-Spam-Status: No, hits=-1081.1 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Mar 2010 21:06:47 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 2B7AF234C052 for <[email protected]>; Sat, 20 Mar 2010 21:06:27 +0000 (UTC) Message-ID: <[email protected]> Date: Sat, 20 Mar 2010 21:06:27 +0000 (UTC) From: "Michael Bouschen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Reopened: (JDO-623) Query cancel and timeout support In-Reply-To: <1847040061.1233949139537.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JDO-623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Bouschen reopened JDO-623: ---------------------------------- Assignee: Andy Jefferson (was: Michael Bouschen) According to Andy the QueryCancel class tries to cancel the query that it hasn't yet started. I changed the test class: - It creates 5000 PCPoint and PCPoint2 instances (instead of 1000). This should make the join (as part of the query) more expensive such that the query takes longer to execute. - It uses a barrier to synchronize the threads - It compiles the query before staring the thread Andy, could you please rerun the test class with the above changes? Thanks! > Query cancel and timeout support > -------------------------------- > > Key: JDO-623 > URL: https://issues.apache.org/jira/browse/JDO-623 > Project: JDO > Issue Type: New Feature > Components: api2, tck2 > Reporter: Andy Jefferson > Assignee: Andy Jefferson > Fix For: JDO 2 maintenance release 3 > > Attachments: JDO-623-mbo.patch, JDO-623-tck2-mbo.patch, JDO-623-testcase.patch, JDO-623-ZeroTimeoutTestcase.patch, jdo623.patch, jdo623.patch, pmf_option.patch, query.patch, query_timeout.patch > > > JDO doesn't have a mechanism to stop queries from overrunning. JPA2 now allows > a persistence property to allow timing them out, and most JDO implementations > have allowed this as an extension since JDO1. It would make sense for JDO > (2.3) to have the same or a variation. I propose having the following > Simple PMF property "javax.jdo.option.queryTimeout" to specify the number of millisecs (or secs) before any query is timed out. Throw a QueryTimeoutException (extends JDOException) when the timeout happens. > Add methods Query.setTimeout(int), Query.getTimeout() to allow setting/retrieving the timeout interval on a per-query basis. > Add method Query.cancel() to cancel any running query. If an implementation doesn't support cancelling of queries then it should throw a JDOUnsupportedOptionException. Any query execute() that is cancelled will throw a QueryInterruptedException (extends JDOUserException). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Mar 22 16:09:06 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30245 invoked from network); 22 Mar 2010 16:09:05 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 22 Mar 2010 16:09:05 -0000 Received: (qmail 56754 invoked by uid 500); 22 Mar 2010 16:09:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 56746 invoked by uid 99); 22 Mar 2010 16:09:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Mar 2010 16:09:04 +0000 X-ASF-Spam-Status: No, hits=-1.2 required=10.0 tests=AWL,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO sca-es-mail-2.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Mar 2010 16:08:55 +0000 Received: from fe-sfbay-10.sun.com ([161.129.204.104]) by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o2MG8YRY024230 for <[email protected]>; Mon, 22 Mar 2010 09:08:34 -0700 (PDT) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; delsp=yes; format=flowed Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) id <[email protected]> for [email protected]; Mon, 22 Mar 2010 09:08:34 -0700 (PDT) Received: from [161.129.204.104] (c-69-181-138-81.hsd1.ca.comcast.net [161.129.204.104]) by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) with ESMTPSA id <[email protected]> for [email protected]; Mon, 22 Mar 2010 09:08:34 -0700 (PDT) Date: Mon, 22 Mar 2010 09:08:32 -0700 From: Craig L Russell <[email protected]> Subject: Minutes: JDO TCK Conference Call Friday, Mar 19, 11 am PDT In-reply-to: <[email protected]> Sender: [email protected] To: Apache JDO project <[email protected]> Cc: JDO Expert Group <[email protected]> Message-id: <[email protected]> X-Mailer: Apple Mail (2.936) References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Attendees: Michael Bouschen, Michelle Caisse, Craig Russell Agenda: 1. Query Cancel TCK tests New tests were checked in. AI run the patched tests with the latest DataNucleus code. Other comments? 2. Tests in api2 for ... getPersistenceManagerFactory(Map,Map) https://issues.apache.org/jira/browse/JDO-557 Progress... 3. Spec updates Craig sent an updated spec to Michelle for printing. AI Craig check the assertions for DatastoreTimeout and send mail with the assertion numbers. Query cancel assertion is 14.6.1-8: is this correct? AI Craig check the number. Changes for 2.3: AI Craig make sure that the changes are identified. 4. Other issues: Metadata API still needs test case. Craig L Russell Assistant Secretary, Apache Software Foundation Chair, OpenJPA PMC [email protected] http://db.apache.org/jdo From [email protected] Mon Mar 22 23:48:58 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15015 invoked from network); 22 Mar 2010 23:48:58 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 22 Mar 2010 23:48:58 -0000 Received: (qmail 32191 invoked by uid 500); 22 Mar 2010 23:48:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32183 invoked by uid 99); 22 Mar 2010 23:48:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Mar 2010 23:48:57 +0000 X-ASF-Spam-Status: No, hits=-1.4 required=10.0 tests=AWL,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO sca-es-mail-2.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Mar 2010 23:48:48 +0000 Received: from fe-sfbay-10.sun.com ([161.129.204.104]) by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o2MNmRNe001882 for <[email protected]>; Mon, 22 Mar 2010 16:48:27 -0700 (PDT) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; delsp=yes; format=flowed Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) id <[email protected]> for [email protected]; Mon, 22 Mar 2010 16:48:27 -0700 (PDT) Received: from [161.129.204.104] (c-69-181-138-81.hsd1.ca.comcast.net [161.129.204.104]) by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) with ESMTPSA id <[email protected]> for [email protected]; Mon, 22 Mar 2010 16:48:27 -0700 (PDT) Date: Mon, 22 Mar 2010 16:48:26 -0700 From: Craig L Russell <[email protected]> Subject: What does getParent return? Sender: [email protected] To: JDO Expert Group <[email protected]>, Apache JDO project <[email protected]> Message-id: <[email protected]> X-Mailer: Apple Mail (2.936) Hi, I'm (finally) writing some test code for the metadata feature and have run into a problem. Here's the code: /** test getMetadata with abstract class name*/ public void testAbstractClassName() { pm = getPM(); String className = "org.apache.jdo.tck.pc.company.Employee"; TypeMetadata metadata = pmf.getMetadata(className); assertNotNull(ASSERTION_FAILED + "metadata must not be null for abstract class" + className, metadata); dump(metadata); Metadata parent = metadata.getParent(); assertNotNull(ASSERTION_FAILED + "parent metadata must not be null for abstract class" + className, parent); String name = metadata.getName(); String packageName = ((PackageMetadata) metadata.getParent()).getName(); assertEquals(ASSERTION_FAILED + "metadata name and class name must match", className, packageName + "." + name); } The parent metadata is the issue. For a TypeMetadata the parent should be a PackageMetadata. But it looks like getParent() returns null for a ClassMetadata. Before I file a JIRA I thought I'd double check... Craig Craig L Russell Architect, Oracle http://db.apache.org/jdo 307-845-0453 mailto:[email protected] P.S. A good JDO? O, Gasp! From [email protected] Tue Mar 23 03:03:41 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69285 invoked from network); 23 Mar 2010 03:03:41 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Mar 2010 03:03:41 -0000 Received: (qmail 64516 invoked by uid 500); 23 Mar 2010 03:03:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 64508 invoked by uid 99); 23 Mar 2010 03:03:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 03:03:39 +0000 X-ASF-Spam-Status: No, hits=-1.5 required=10.0 tests=AWL,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO sca-es-mail-2.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 03:03:30 +0000 Received: from fe-sfbay-10.sun.com ([161.129.204.104]) by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o2N33AQU019603 for <[email protected]>; Mon, 22 Mar 2010 20:03:10 -0700 (PDT) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; delsp=yes; format=flowed Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) id <[email protected]> for [email protected]; Mon, 22 Mar 2010 20:03:09 -0700 (PDT) Received: from [161.129.204.104] (c-69-181-138-81.hsd1.ca.comcast.net [161.129.204.104]) by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) with ESMTPSA id <[email protected]> for [email protected]; Mon, 22 Mar 2010 20:03:09 -0700 (PDT) Date: Mon, 22 Mar 2010 20:03:08 -0700 From: Craig L Russell <[email protected]> Subject: Re: What does getParent return? In-reply-to: <[email protected]> Sender: [email protected] To: [email protected] Cc: JDO Expert Group <[email protected]> Message-id: <[email protected]> X-Mailer: Apple Mail (2.936) References: <[email protected]> And I also assume that every xml element has a parent that is the element which contains it. So PackageMetadata has a parent JDOMetadata. And each element in metadata that is contained in another has a parent. Except JDOMetadata that has no parent. Craig On Mar 22, 2010, at 4:48 PM, Craig L Russell wrote: > Hi, > > I'm (finally) writing some test code for the metadata feature and > have run into a problem. > > Here's the code: > > /** test getMetadata with abstract class name*/ > public void testAbstractClassName() { > pm = getPM(); > String className = "org.apache.jdo.tck.pc.company.Employee"; > TypeMetadata metadata = pmf.getMetadata(className); > assertNotNull(ASSERTION_FAILED > + "metadata must not be null for abstract class" + > className, metadata); > dump(metadata); > Metadata parent = metadata.getParent(); > assertNotNull(ASSERTION_FAILED > + "parent metadata must not be null for abstract > class" + className, parent); > String name = metadata.getName(); > String packageName = ((PackageMetadata) > metadata.getParent()).getName(); > assertEquals(ASSERTION_FAILED > + "metadata name and class name must match", > className, packageName + "." + name); > } > > The parent metadata is the issue. For a TypeMetadata the parent > should be a PackageMetadata. But it looks like getParent() returns > null for a ClassMetadata. > > Before I file a JIRA I thought I'd double check... > > Craig > > Craig L Russell > Architect, Oracle > http://db.apache.org/jdo > 307-845-0453 mailto:[email protected] > P.S. A good JDO? O, Gasp! > Craig L Russell Architect, Oracle http://db.apache.org/jdo 307-845-0453 mailto:[email protected] P.S. A good JDO? O, Gasp! From [email protected] Tue Mar 23 17:24:51 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59354 invoked from network); 23 Mar 2010 17:24:51 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Mar 2010 17:24:51 -0000 Received: (qmail 29310 invoked by uid 500); 23 Mar 2010 17:24:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 29180 invoked by uid 99); 23 Mar 2010 17:24:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 17:24:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 17:24:48 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 32BC5234C1EE for <[email protected]>; Tue, 23 Mar 2010 17:24:27 +0000 (UTC) Message-ID: <[email protected]> Date: Tue, 23 Mar 2010 17:24:27 +0000 (UTC) From: "Andy Jefferson (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (JDO-623) Query cancel and timeout support In-Reply-To: <1847040061.1233949139537.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JDO-623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andy Jefferson updated JDO-623: ------------------------------- Assignee: (was: Andy Jefferson) > Query cancel and timeout support > -------------------------------- > > Key: JDO-623 > URL: https://issues.apache.org/jira/browse/JDO-623 > Project: JDO > Issue Type: New Feature > Components: api2, tck2 > Reporter: Andy Jefferson > Fix For: JDO 2 maintenance release 3 > > Attachments: JDO-623-mbo.patch, JDO-623-tck2-mbo.patch, JDO-623-testcase.patch, JDO-623-ZeroTimeoutTestcase.patch, jdo623.patch, jdo623.patch, pmf_option.patch, query.patch, query_timeout.patch > > > JDO doesn't have a mechanism to stop queries from overrunning. JPA2 now allows > a persistence property to allow timing them out, and most JDO implementations > have allowed this as an extension since JDO1. It would make sense for JDO > (2.3) to have the same or a variation. I propose having the following > Simple PMF property "javax.jdo.option.queryTimeout" to specify the number of millisecs (or secs) before any query is timed out. Throw a QueryTimeoutException (extends JDOException) when the timeout happens. > Add methods Query.setTimeout(int), Query.getTimeout() to allow setting/retrieving the timeout interval on a per-query basis. > Add method Query.cancel() to cancel any running query. If an implementation doesn't support cancelling of queries then it should throw a JDOUnsupportedOptionException. Any query execute() that is cancelled will throw a QueryInterruptedException (extends JDOUserException). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Mar 23 18:10:49 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69050 invoked from network); 23 Mar 2010 18:10:49 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Mar 2010 18:10:49 -0000 Received: (qmail 74090 invoked by uid 500); 23 Mar 2010 18:10:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74077 invoked by uid 99); 23 Mar 2010 18:10:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 18:10:48 +0000 X-ASF-Spam-Status: No, hits=-1109.5 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 18:10:47 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 3473A234C4AD for <[email protected]>; Tue, 23 Mar 2010 18:10:27 +0000 (UTC) Message-ID: <[email protected]> Date: Tue, 23 Mar 2010 18:10:27 +0000 (UTC) From: "Andy Jefferson (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (JDO-623) Query cancel and timeout support In-Reply-To: <1847040061.1233949139537.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JDO-623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12848828#action_12848828 ] Andy Jefferson commented on JDO-623: ------------------------------------ Rerun test. Still fails. SELECT AVG((A0.X + VAR_POINT2.Y)) FROM DATASTOREIDENTITY0.PCPOINT A0,DATASTOREIDENTITY0.PCPOINT2 VAR_POINT2 WHERE A0.Y >= 0 AND VAR_POINT2.X >= 0 Execution Time = 44 ms If you want to try it yourself, use DN nightly jars 2.1.0-m1-SNAPSHOT of "datanucleus-core" and "datanucleus-rdbms". PS. Derby does some weird stuff in the JDBC call ResultSet.next() which hangs for 10seconds or so on this query. Presumably it evaluates the AVG of that query at that point, so hence the actual query execution is "fast", and hence a timeout is pointless. > Query cancel and timeout support > -------------------------------- > > Key: JDO-623 > URL: https://issues.apache.org/jira/browse/JDO-623 > Project: JDO > Issue Type: New Feature > Components: api2, tck2 > Reporter: Andy Jefferson > Fix For: JDO 2 maintenance release 3 > > Attachments: JDO-623-mbo.patch, JDO-623-tck2-mbo.patch, JDO-623-testcase.patch, JDO-623-ZeroTimeoutTestcase.patch, jdo623.patch, jdo623.patch, pmf_option.patch, query.patch, query_timeout.patch > > > JDO doesn't have a mechanism to stop queries from overrunning. JPA2 now allows > a persistence property to allow timing them out, and most JDO implementations > have allowed this as an extension since JDO1. It would make sense for JDO > (2.3) to have the same or a variation. I propose having the following > Simple PMF property "javax.jdo.option.queryTimeout" to specify the number of millisecs (or secs) before any query is timed out. Throw a QueryTimeoutException (extends JDOException) when the timeout happens. > Add methods Query.setTimeout(int), Query.getTimeout() to allow setting/retrieving the timeout interval on a per-query basis. > Add method Query.cancel() to cancel any running query. If an implementation doesn't support cancelling of queries then it should throw a JDOUnsupportedOptionException. Any query execute() that is cancelled will throw a QueryInterruptedException (extends JDOUserException). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Mar 25 16:37:41 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15563 invoked from network); 25 Mar 2010 16:37:38 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Mar 2010 16:37:38 -0000 Received: (qmail 55129 invoked by uid 500); 25 Mar 2010 16:37:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55121 invoked by uid 99); 25 Mar 2010 16:37:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Mar 2010 16:37:37 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=AWL,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-vw0-f44.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Mar 2010 16:37:33 +0000 Received: by vws12 with SMTP id 12so1444639vws.31 for <[email protected]>; Thu, 25 Mar 2010 09:37:11 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id z28mr3853038vco.220.1269535031708; Thu, 25 Mar 2010 09:37:11 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Thu, 25 Mar 2010 09:37:11 -0700 Message-ID: <[email protected]> Subject: Re: Minutes: JDO TCK Conference Call Friday, Mar 19, 11 am PDT From: Matthew Adams <[email protected]> To: [email protected], JDO Expert Group <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 I think the second coming is getting close... http://www.sfjava.org/messages/boards/thread/8463961?thread=8463961 I'm hearing about more and more people interested in the NoSQL (http://en.wikipedia.org/wiki/NoSQL) movement. Interestingly, there is not a single mention of JDO or DataNucleus on that page. -matthew From [email protected] Thu Mar 25 16:52:57 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20517 invoked from network); 25 Mar 2010 16:52:56 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Mar 2010 16:52:56 -0000 Received: (qmail 73603 invoked by uid 500); 25 Mar 2010 16:52:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 73595 invoked by uid 99); 25 Mar 2010 16:52:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Mar 2010 16:52:56 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=AWL,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO relay.pcl-ipout02.plus.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Mar 2010 16:52:49 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAAwyq0tUXebq/2dsb2JhbACbJXO/UIR9BA Received: from relay07.plus.net ([161.129.204.104]) by relay.pcl-ipout02.plus.net with ESMTP; 25 Mar 2010 16:52:27 +0000 Received: from [161.129.204.104] (helo=rookie.persistability.co.uk) by relay07.plus.net with esmtp (Exim) id 1NuqIF-0004VB-Do for [email protected]; Thu, 25 Mar 2010 16:52:27 +0000 From: Andy Jefferson <[email protected]> To: [email protected] Subject: Re: What does getParent return? Date: Thu, 25 Mar 2010 16:52:26 +0000 User-Agent: KMail/1.12.2 (Linux/161.129.204.104-desktop-1mnb; KDE/4.3.2; i686; ; ) References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Organization: DataNucleus MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> X-Plusnet-Relay: 26b1b14edc9a411953faa989a965957f > > The parent metadata is the issue. For a TypeMetadata the parent > > should be a PackageMetadata. But it looks like getParent() returns > > null for a ClassMetadata. FYI. DN SVN trunk and SVN branches/2.0 (aka 2.1.0-m1-SNAPSHOT and 2.0.3- SNAPSHOT in nightly builds) return a valid parent. -- Andy DataNucleus (http://www.datanucleus.org) From [email protected] Thu Mar 25 17:12:51 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28810 invoked from network); 25 Mar 2010 17:12:51 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Mar 2010 17:12:51 -0000 Received: (qmail 20408 invoked by uid 500); 25 Mar 2010 17:12:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 20400 invoked by uid 99); 25 Mar 2010 17:12:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Mar 2010 17:12:51 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO sca-es-mail-2.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Mar 2010 17:12:43 +0000 Received: from fe-sfbay-10.sun.com ([161.129.204.104]) by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o2PHCKgw029885 for <[email protected]>; Thu, 25 Mar 2010 10:12:20 -0700 (PDT) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; delsp=yes; format=flowed Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) id <[email protected]> for [email protected]; Thu, 25 Mar 2010 10:12:20 -0700 (PDT) Received: from dhcp-umpk15-120-21.SFBay.Sun.COM ([unknown] [161.129.204.104]) by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) with ESMTPSA id <[email protected]> for [email protected]; Thu, 25 Mar 2010 10:12:18 -0700 (PDT) Date: Thu, 25 Mar 2010 10:12:15 -0700 From: Craig L Russell <[email protected]> Subject: Re: What does getParent return? In-reply-to: <[email protected]> Sender: [email protected] To: [email protected] Message-id: <[email protected]> X-Mailer: Apple Mail (2.936) References: <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Thanks, I'll take a look. Craig On Mar 25, 2010, at 9:52 AM, Andy Jefferson wrote: >>> The parent metadata is the issue. For a TypeMetadata the parent >>> should be a PackageMetadata. But it looks like getParent() returns >>> null for a ClassMetadata. > > FYI. DN SVN trunk and SVN branches/2.0 (aka 2.1.0-m1-SNAPSHOT and > 2.0.3- > SNAPSHOT in nightly builds) return a valid parent. > > -- > Andy > DataNucleus (http://www.datanucleus.org) Craig L Russell Architect, Oracle http://db.apache.org/jdo 307-845-0453 mailto:[email protected] P.S. A good JDO? O, Gasp! From [email protected] Thu Mar 25 17:29:49 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36196 invoked from network); 25 Mar 2010 17:29:48 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Mar 2010 17:29:48 -0000 Received: (qmail 51076 invoked by uid 500); 25 Mar 2010 17:29:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51059 invoked by uid 99); 25 Mar 2010 17:29:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Mar 2010 17:29:48 +0000 X-ASF-Spam-Status: No, hits=-1134.5 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Mar 2010 17:29:47 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 963F8234C4EF for <[email protected]>; Thu, 25 Mar 2010 17:29:27 +0000 (UTC) Message-ID: <[email protected]> Date: Thu, 25 Mar 2010 17:29:27 +0000 (UTC) From: "Matthew T. Adams (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (JDO-651) Modify specification to address NoSQL datastores In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JDO-651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthew T. Adams updated JDO-651: --------------------------------- Summary: Modify specification to address NoSQL datastores (was: Modify specification to provide for NoSQL datastores) > Modify specification to address NoSQL datastores > ------------------------------------------------ > > Key: JDO-651 > URL: https://issues.apache.org/jira/browse/JDO-651 > Project: JDO > Issue Type: New Feature > Components: api2, specification, tck2 > Reporter: Matthew T. Adams > > There is increasing interest in NoSQL datastores (Google BigTable, Apache HBase, VMWare Redis, etc), which not only do not support SQL, but also do not necessarily provide support for traditional consistency or queriability features or guarantees, instead offering features like eventual consistency, key-value storage mechanisms, etc. > This request is to modify the JDO specification (and TCK & RI) so that it relaxes certain portions of the specification, perhaps in the form of profiles similar to JavaEE 6 profiles, to allow datastores that may not support queries in general, do not support the ACID requirements, or that support key-value-based storage mechanisms to be JDO-compliant. Additions to the specification may also be needed in order to directly address NoSQL-type datastores, in a manner similar to its treatment of relational persistence mechanisms. > Additionally, this request would serve to better support persistence on micro platforms where consistency, queriability, etc, may not be supported. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Mar 25 17:29:49 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36198 invoked from network); 25 Mar 2010 17:29:48 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Mar 2010 17:29:48 -0000 Received: (qmail 51078 invoked by uid 500); 25 Mar 2010 17:29:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51058 invoked by uid 99); 25 Mar 2010 17:29:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Mar 2010 17:29:48 +0000 X-ASF-Spam-Status: No, hits=-1134.5 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Mar 2010 17:29:47 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 906F9234C4ED for <[email protected]>; Thu, 25 Mar 2010 17:29:27 +0000 (UTC) Message-ID: <[email protected]> Date: Thu, 25 Mar 2010 17:29:27 +0000 (UTC) From: "Matthew T. Adams (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (JDO-651) Modify specification to provide for NoSQL datastores In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JDO-651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthew T. Adams updated JDO-651: --------------------------------- Issue Type: New Feature (was: Wish) > Modify specification to provide for NoSQL datastores > ---------------------------------------------------- > > Key: JDO-651 > URL: https://issues.apache.org/jira/browse/JDO-651 > Project: JDO > Issue Type: New Feature > Components: api2, specification, tck2 > Reporter: Matthew T. Adams > > There is increasing interest in NoSQL datastores (Google BigTable, Apache HBase, VMWare Redis, etc), which not only do not support SQL, but also do not necessarily provide support for traditional consistency or queriability features or guarantees, instead offering features like eventual consistency, key-value storage mechanisms, etc. > This request is to modify the JDO specification (and TCK & RI) so that it relaxes certain portions of the specification, perhaps in the form of profiles similar to JavaEE 6 profiles, to allow datastores that may not support queries in general, do not support the ACID requirements, or that support key-value-based storage mechanisms to be JDO-compliant. Additions to the specification may also be needed in order to directly address NoSQL-type datastores, in a manner similar to its treatment of relational persistence mechanisms. > Additionally, this request would serve to better support persistence on micro platforms where consistency, queriability, etc, may not be supported. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Mar 25 17:29:51 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36218 invoked from network); 25 Mar 2010 17:29:51 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Mar 2010 17:29:51 -0000 Received: (qmail 51228 invoked by uid 500); 25 Mar 2010 17:29:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51220 invoked by uid 99); 25 Mar 2010 17:29:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Mar 2010 17:29:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Mar 2010 17:29:48 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 846D6234C4B4 for <[email protected]>; Thu, 25 Mar 2010 17:29:27 +0000 (UTC) Message-ID: <[email protected]> Date: Thu, 25 Mar 2010 17:29:27 +0000 (UTC) From: "Matthew T. Adams (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (JDO-651) Modify specification to provide for NoSQL datastores MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Modify specification to provide for NoSQL datastores ---------------------------------------------------- Key: JDO-651 URL: https://issues.apache.org/jira/browse/JDO-651 Project: JDO Issue Type: Wish Components: api2, specification, tck2 Reporter: Matthew T. Adams There is increasing interest in NoSQL datastores (Google BigTable, Apache HBase, VMWare Redis, etc), which not only do not support SQL, but also do not necessarily provide support for traditional consistency or queriability features or guarantees, instead offering features like eventual consistency, key-value storage mechanisms, etc. This request is to modify the JDO specification (and TCK & RI) so that it relaxes certain portions of the specification, perhaps in the form of profiles similar to JavaEE 6 profiles, to allow datastores that may not support queries in general, do not support the ACID requirements, or that support key-value-based storage mechanisms to be JDO-compliant. Additions to the specification may also be needed in order to directly address NoSQL-type datastores, in a manner similar to its treatment of relational persistence mechanisms. Additionally, this request would serve to better support persistence on micro platforms where consistency, queriability, etc, may not be supported. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Mar 25 22:12:23 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6107 invoked from network); 25 Mar 2010 22:12:23 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Mar 2010 22:12:23 -0000 Received: (qmail 351 invoked by uid 500); 25 Mar 2010 22:12:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 339 invoked by uid 99); 25 Mar 2010 22:12:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Mar 2010 22:12:23 +0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=ASF_LIST_SERVER_DEV_A,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO fmailhost02.isp.att.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Mar 2010 22:12:16 +0000 Received: from [161.129.204.104] (adsl-065-013-157-128.sip.rdu.bellsouth.net[161.129.204.104]) by isp.att.net (frfwmhc02) with SMTP id <20100325221154H0200nod5le>; Thu, 25 Mar 2010 22:11:54 +0000 X-Originating-IP: [161.129.204.104] Cc: [email protected], JDO Expert Group <[email protected]> Message-Id: <[email protected]> From: David Jordan <[email protected]> To: Matthew Adams <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: Minutes: JDO TCK Conference Call Friday, Mar 19, 11 am PDT Date: Thu, 25 Mar 2010 18:11:53 -0400 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org It would be good to get some new JDO articles written. I think it would be valuable to have articles that compare JDO with JPA and Hibernate, to show the simplicity of the code and queries, etc. People think JDO went away largely because JPA came along with the full backing of Sun, Oracle, IBM, the EJB community. It has seemed to me that Hibernate is the primary technology people seem to be using in my area, many have not moved to JPA. They also say they think JDO no longer exists, I point out that the committee is still actively refining the standard, etc. It would be good to get some JDO success stories published by those that are deploying systems with it... And having an article showing use of the JDO API, with an underlying non-SQL backend, would be useful to get the non-SQL camp interested in giving it a second look... On Mar 25, 2010, at 12:37 PM, Matthew Adams wrote: > I think the second coming is getting close... > > http://www.sfjava.org/messages/boards/thread/8463961?thread=8463961 > > I'm hearing about more and more people interested in the NoSQL > (http://en.wikipedia.org/wiki/NoSQL) movement. Interestingly, there > is not a single mention of JDO or DataNucleus on that page. > > -matthew From [email protected] Thu Mar 25 22:53:29 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21690 invoked from network); 25 Mar 2010 22:53:29 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Mar 2010 22:53:29 -0000 Received: (qmail 38710 invoked by uid 500); 25 Mar 2010 22:53:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 38702 invoked by uid 99); 25 Mar 2010 22:53:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Mar 2010 22:53:29 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-pz0-f183.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Mar 2010 22:53:24 +0000 Received: by pzk13 with SMTP id 13so2685856pzk.13 for <[email protected]>; Thu, 25 Mar 2010 15:53:04 -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:cc:content-type; bh=G0cyxOumwK3xCU2JQJPNbS2Owgj7LCvsZobwmhQZli0=; b=l75NzWw+Vs4cbq/dDh57CShlJnNBVTk35GPFDzzk+HP1Ax6s0EIFo0Vr0tcZR+qicc AxDtG2oBHpucZEmGUE6GJ6/baQNR8M2o4cGumH3K92Pq0Uc7VWGv1RA6iFlO9PejYVmL 3je3ZozUQDk2dc/p/LpxJrAsNDnzB4FkUac9I= 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 :cc:content-type; b=ZL/VZFmB8MaqW9PVTDglASPjqTAxcwHaPjDsiMc071RNtyvai8zpqN89il15qwUaHA uoQ7gKdZCYa0x2xnQxBbJgJhrHU/y7ADI16n5cEEYefP4nbvX3nQVGIKpIRzSyPCEzao o7NDuO7d8hmrMTWOcfWT7V9Sjv0LS0iVDs/CQ= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id l14mr4465866wan.184.1269557584120; Thu, 25 Mar 2010 15:53:04 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Thu, 25 Mar 2010 18:53:04 -0400 Message-ID: <[email protected]> Subject: Re: Minutes: JDO TCK Conference Call Friday, Mar 19, 11 am PDT From: Awais Bajwa <[email protected]> To: David Jordan <[email protected]> Cc: Matthew Adams <[email protected]>, [email protected], JDO Expert Group <[email protected]> Content-Type: multipart/alternative; boundary=0016e64be190d2cc8c0482a7e869 --0016e64be190d2cc8c0482a7e869 Content-Type: text/plain; charset=ISO-8859-1 I fully support the idea of David - it is needed. Craig : you might be the best person to publish that article. I would be happy to work with you on this. Thanks Awais Bajwa On Thu, Mar 25, 2010 at 6:11 PM, David Jordan <[email protected]>wrote: > > It would be good to get some new JDO articles written. I think it would be > valuable to have articles that compare JDO with JPA and Hibernate, to show > the simplicity of the code and queries, etc. People think JDO went away > largely because JPA came along with the full backing of Sun, Oracle, IBM, > the EJB community. It has seemed to me that Hibernate is the primary > technology people seem to be using in my area, many have not moved to JPA. > They also say they think JDO no longer exists, I point out that the > committee is still actively refining the standard, etc. It would be good to > get some JDO success stories published by those that are deploying systems > with it... > > And having an article showing use of the JDO API, with an underlying > non-SQL backend, would be useful to get the non-SQL camp interested in > giving it a second look... > > > On Mar 25, 2010, at 12:37 PM, Matthew Adams wrote: > > I think the second coming is getting close... >> >> http://www.sfjava.org/messages/boards/thread/8463961?thread=8463961 >> >> I'm hearing about more and more people interested in the NoSQL >> (http://en.wikipedia.org/wiki/NoSQL) movement. Interestingly, there >> is not a single mention of JDO or DataNucleus on that page. >> >> -matthew >> > > -- Awais Bajwa 307-845-0453 http://www.linkedin.com/pub/awais-bajwa/4/82a/2b9 --0016e64be190d2cc8c0482a7e869-- From [email protected] Fri Mar 26 03:31:49 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57972 invoked from network); 26 Mar 2010 03:31:49 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Mar 2010 03:31:49 -0000 Received: (qmail 66797 invoked by uid 500); 26 Mar 2010 03:31:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 66789 invoked by uid 99); 26 Mar 2010 03:31:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Mar 2010 03:31:48 +0000 X-ASF-Spam-Status: No, hits=-1139.5 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Mar 2010 03:31:47 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 2F4C5234C4B2 for <[email protected]>; Fri, 26 Mar 2010 03:31:27 +0000 (UTC) Message-ID: <[email protected]> Date: Fri, 26 Mar 2010 03:31:27 +0000 (UTC) From: "Michelle Caisse (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (JDO-557) Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map) In-Reply-To: <2217727.1196453383015.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JDO-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michelle Caisse updated JDO-557: -------------------------------- Attachment: jdo-557.patch New draft patch for review. > Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map) > --------------------------------------------------------------------------------------------------------------- > > Key: JDO-557 > URL: https://issues.apache.org/jira/browse/JDO-557 > Project: JDO > Issue Type: Task > Components: api2, api2-legacy > Affects Versions: JDO 2 maintenance release 1 > Reporter: Matthew T. Adams > Assignee: Michelle Caisse > Fix For: JDO 2 maintenance release 3 > > Attachments: jdo-557.patch > > > The code paths that lead to calling the JDO implementation's PersistenceManagerFactory class's static method getPersistenceManagerFactory(Map,Map) need to be tested. In order to avoid a dependency on a real implementation, a stub PMF implementation class should be used. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Mar 26 03:31:51 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57983 invoked from network); 26 Mar 2010 03:31:51 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Mar 2010 03:31:51 -0000 Received: (qmail 66879 invoked by uid 500); 26 Mar 2010 03:31:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 66871 invoked by uid 99); 26 Mar 2010 03:31:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Mar 2010 03:31:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Mar 2010 03:31:48 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 44303234C4ED for <[email protected]>; Fri, 26 Mar 2010 03:31:27 +0000 (UTC) Message-ID: <[email protected]> Date: Fri, 26 Mar 2010 03:31:27 +0000 (UTC) From: "Michelle Caisse (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (JDO-557) Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map) In-Reply-To: <2217727.1196453383015.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JDO-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michelle Caisse updated JDO-557: -------------------------------- Attachment: (was: jdo-557.patch) > Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map) > --------------------------------------------------------------------------------------------------------------- > > Key: JDO-557 > URL: https://issues.apache.org/jira/browse/JDO-557 > Project: JDO > Issue Type: Task > Components: api2, api2-legacy > Affects Versions: JDO 2 maintenance release 1 > Reporter: Matthew T. Adams > Assignee: Michelle Caisse > Fix For: JDO 2 maintenance release 3 > > Attachments: jdo-557.patch > > > The code paths that lead to calling the JDO implementation's PersistenceManagerFactory class's static method getPersistenceManagerFactory(Map,Map) need to be tested. In order to avoid a dependency on a real implementation, a stub PMF implementation class should be used. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Mar 26 03:34:32 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58447 invoked from network); 26 Mar 2010 03:34:32 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Mar 2010 03:34:32 -0000 Received: (qmail 67347 invoked by uid 500); 26 Mar 2010 03:34:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 67338 invoked by uid 99); 26 Mar 2010 03:34:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Mar 2010 03:34:31 +0000 X-ASF-Spam-Status: No, hits=-0.6 required=10.0 tests=AWL,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO b.mail.sonic.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Mar 2010 03:34:23 +0000 Received: from [161.129.204.104] 307-845-0453.phnx.qwest.net [161.129.204.104]) (authenticated bits=0) by b.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with ESMTP id o2Q3Y2Qc012607; Thu, 25 Mar 2010 20:34:02 -0700 Message-ID: <[email protected]> Date: Thu, 25 Mar 2010 20:34:01 -0700 From: Michelle Caisse <[email protected]> Reply-To: [email protected] User-Agent: Thunderbird 161.129.204.104 (X11/20100317) MIME-Version: 1.0 To: [email protected] CC: JDO Expert Group <[email protected]> Subject: JDO TCK Conference Call Friday, Mar 26, 9 am PDT References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, Please note : - The U.S. has switched to Daylight Saving Time.. We will have our regular meeting Friday, March 26 at 9 am PDT to discuss JDO TCK issues and status. Dial-in numbers are: Domestic (toll-free): 307-845-0453 International (caller-paid): 307-845-0453 Access code : 294-0479# Agenda: 1. Query Cancel TCK tests 2. Tests in api2 for ... getPersistenceManagerFactory(Map,Map) https://issues.apache.org/jira/browse/JDO-557 3. Metadata tests 4. Spec updates 5. Other issues Action Items from weeks past: -- Michelle From [email protected] Fri Mar 26 03:55:17 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61688 invoked from network); 26 Mar 2010 03:55:17 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Mar 2010 03:55:17 -0000 Received: (qmail 89528 invoked by uid 500); 26 Mar 2010 03:55:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 89517 invoked by uid 99); 26 Mar 2010 03:55:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Mar 2010 03:55:15 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-vw0-f44.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Mar 2010 03:55:10 +0000 Received: by vws12 with SMTP id 12so1803781vws.31 for <[email protected]>; Thu, 25 Mar 2010 20:54:48 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Thu, 25 Mar 2010 20:54:47 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Thu, 25 Mar 2010 20:54:47 -0700 Received: by 161.129.204.104 with SMTP id h20mr281776vcr.134.1269575687882; Thu, 25 Mar 2010 20:54:47 -0700 (PDT) Message-ID: <[email protected]> Subject: Re: JDO TCK Conference Call Friday, Mar 26, 9 am PDT From: Matthew Adams <[email protected]> To: [email protected], [email protected] Cc: JDO Expert Group <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Once again, I won't be able to make this call. Perhaps, however, you could add a discussion of JDO-651 to the agenda. I'm thinking that it would be a JDO 2.4 thing at the earliest. -matthew On Thu, Mar 25, 2010 at 8:34 PM, Michelle Caisse <[email protected]> wrote: > Hi, > > Please note : > - The U.S. has switched to Daylight Saving Time.. > > We will have our regular meeting Friday, March 26 at 9 am PDT to > discuss JDO TCK issues and status. > > Dial-in numbers are: > Domestic (toll-free): =A0866 230-6968 > International (caller-paid): =A0307-845-0453 > Access code : =A0294-0479# > > Agenda: > > 1. Query Cancel TCK tests > 2. Tests in api2 for ... getPersistenceManagerFactory(Map,Map) > https://issues.apache.org/jira/browse/JDO-557 > 3. Metadata tests > 4. Spec updates > 5. Other issues > > Action Items from weeks past: > > -- Michelle > > > > > > > > > > > --=20 mailto:[email protected] skype:matthewadams12 yahoo:matthewadams aol:matthewadams12 google-talk:[email protected] msn:[email protected] http://matthewadams.me http://www.linkedin.com/in/matthewadams From [email protected] Fri Mar 26 16:50:49 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3822 invoked from network); 26 Mar 2010 16:50:49 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Mar 2010 16:50:49 -0000 Received: (qmail 52200 invoked by uid 500); 26 Mar 2010 16:50:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 52192 invoked by uid 99); 26 Mar 2010 16:50:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Mar 2010 16:50:48 +0000 X-ASF-Spam-Status: No, hits=-1144.8 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Mar 2010 16:50:47 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 7AC10234C4F6 for <[email protected]>; Fri, 26 Mar 2010 16:50:27 +0000 (UTC) Message-ID: <[email protected]> Date: Fri, 26 Mar 2010 16:50:27 +0000 (UTC) From: "Craig L Russell (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (JDO-651) Modify specification to address NoSQL datastores In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JDO-651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Craig L Russell reassigned JDO-651: ----------------------------------- Assignee: Matthew T. Adams JDO was designed to support non-SQL datastores. In fact, the first RI was a distinctly non-SQL implementation, essentially a key-value store. What needs to be done for NoSQL in general is to go through the specification in detail and highlight those parts that cannot now be implemented reasonably by a key-value store, or a non-transactional datastore. NoSQL is probably too big a description of the kinds of datastores that makes sense for JDO to support. Part of the exercise should be to categorize the NoSQL datastores to focus on those categories that make sense for JDO. > Modify specification to address NoSQL datastores > ------------------------------------------------ > > Key: JDO-651 > URL: https://issues.apache.org/jira/browse/JDO-651 > Project: JDO > Issue Type: New Feature > Components: api2, specification, tck2 > Reporter: Matthew T. Adams > Assignee: Matthew T. Adams > > There is increasing interest in NoSQL datastores (Google BigTable, Apache HBase, VMWare Redis, etc), which not only do not support SQL, but also do not necessarily provide support for traditional consistency or queriability features or guarantees, instead offering features like eventual consistency, key-value storage mechanisms, etc. > This request is to modify the JDO specification (and TCK & RI) so that it relaxes certain portions of the specification, perhaps in the form of profiles similar to JavaEE 6 profiles, to allow datastores that may not support queries in general, do not support the ACID requirements, or that support key-value-based storage mechanisms to be JDO-compliant. Additions to the specification may also be needed in order to directly address NoSQL-type datastores, in a manner similar to its treatment of relational persistence mechanisms. > Additionally, this request would serve to better support persistence on micro platforms where consistency, queriability, etc, may not be supported. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Mar 26 16:58:17 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5133 invoked from network); 26 Mar 2010 16:58:17 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Mar 2010 16:58:17 -0000 Received: (qmail 58629 invoked by uid 500); 26 Mar 2010 16:58:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58621 invoked by uid 99); 26 Mar 2010 16:58:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Mar 2010 16:58:17 +0000 X-ASF-Spam-Status: No, hits=-4.1 required=10.0 tests=AWL,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO sca-es-mail-2.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Mar 2010 16:58:09 +0000 Received: from fe-sfbay-10.sun.com ([161.129.204.104]) by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o2QGvmN7014154 for <[email protected]>; Fri, 26 Mar 2010 09:57:48 -0700 (PDT) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; delsp=yes; format=flowed Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) id <[email protected]> for [email protected]; Fri, 26 Mar 2010 09:57:48 -0700 (PDT) Received: from dhcp-umpk12-51-56.SFBay.Sun.COM ([unknown] [161.129.204.104]) by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) with ESMTPSA id <[email protected]>; Fri, 26 Mar 2010 09:57:46 -0700 (PDT) Date: Fri, 26 Mar 2010 09:57:43 -0700 From: Craig L Russell <[email protected]> Subject: Minutes: JDO TCK Conference Call Friday, Mar 26, 9 am PDT In-reply-to: <[email protected]> Sender: [email protected] To: [email protected] Cc: [email protected], JDO Expert Group <[email protected]> Message-id: <[email protected]> X-Mailer: Apple Mail (2.936) References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Attendees: Michelle Caisse, Michael Bouschen, Craig Russell Agenda: 1. Query Cancel TCK tests With the latest tests it seems that the big job in query is during ResultSet.next() instead of Statement.execute(). Next try to write lock some instances and see if that affects the behavior. 2. Tests in api2 for ... getPersistenceManagerFactory(Map,Map) https://issues.apache.org/jira/browse/JDO-557 Making progress; a bit of reorganization and testing is still needed. 3. Metadata tests Andy says that the latest snapshots of DataNucleus contain a fix for the getParent() returning nothing. AI Craig test with the SNAPSHOT version. 4. Spec updates No changes since last week. 5. Other issues NoSQL might be a good way to improve JDO's visibility. https://issues.apache.org/jira/browse/JDO-651 JDO was designed to support non-SQL datastores. In fact, the first RI was a distinctly non-SQL implementation, essentially a key-value store. What needs to be done for NoSQL in general is to go through the specification in detail and highlight those parts that cannot now be implemented reasonably by a key-value store, or a non-transactional datastore. NoSQL is probably too big a description of the kinds of datastores that makes sense for JDO to support. Part of the exercise should be to categorize the NoSQL datastores to focus on those categories that make sense for JDO. Craig L Russell Architect, Oracle http://db.apache.org/jdo 307-845-0453 mailto:[email protected] P.S. A good JDO? O, Gasp! From [email protected] Sun Mar 28 13:37:51 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37319 invoked from network); 28 Mar 2010 13:37:51 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 28 Mar 2010 13:37:51 -0000 Received: (qmail 7670 invoked by uid 500); 28 Mar 2010 13:37:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7661 invoked by uid 99); 28 Mar 2010 13:37:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Mar 2010 13:37:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Mar 2010 13:37:48 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 2C307234C495 for <[email protected]>; Sun, 28 Mar 2010 13:37:27 +0000 (UTC) Message-ID: <[email protected]> Date: Sun, 28 Mar 2010 13:37:27 +0000 (UTC) From: "Michael Bouschen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (JDO-623) Query cancel and timeout support In-Reply-To: <1847040061.1233949139537.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JDO-623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Bouschen reassigned JDO-623: ------------------------------------ Assignee: Michael Bouschen > Query cancel and timeout support > -------------------------------- > > Key: JDO-623 > URL: https://issues.apache.org/jira/browse/JDO-623 > Project: JDO > Issue Type: New Feature > Components: api2, tck2 > Reporter: Andy Jefferson > Assignee: Michael Bouschen > Fix For: JDO 2 maintenance release 3 > > Attachments: JDO-623-mbo.patch, JDO-623-tck2-mbo.patch, JDO-623-testcase.patch, JDO-623-ZeroTimeoutTestcase.patch, jdo623.patch, jdo623.patch, pmf_option.patch, query.patch, query_timeout.patch > > > JDO doesn't have a mechanism to stop queries from overrunning. JPA2 now allows > a persistence property to allow timing them out, and most JDO implementations > have allowed this as an extension since JDO1. It would make sense for JDO > (2.3) to have the same or a variation. I propose having the following > Simple PMF property "javax.jdo.option.queryTimeout" to specify the number of millisecs (or secs) before any query is timed out. Throw a QueryTimeoutException (extends JDOException) when the timeout happens. > Add methods Query.setTimeout(int), Query.getTimeout() to allow setting/retrieving the timeout interval on a per-query basis. > Add method Query.cancel() to cancel any running query. If an implementation doesn't support cancelling of queries then it should throw a JDOUnsupportedOptionException. Any query execute() that is cancelled will throw a QueryInterruptedException (extends JDOUserException). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
From [email protected] Wed Dec 1 00:02:18 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 34652 invoked by uid 99); 1 Dec 2004 00:02:18 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mx5.kent.ac.uk (HELO mx5.kent.ac.uk) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 30 Nov 2004 16:02:17 -0800 Received: from apophis.ukc.ac.uk ([161.129.204.104]) by mx5.kent.ac.uk with esmtp (Exim 4.42) id 1CZHwg-0002C6-Jw for [email protected]; Wed, 01 Dec 2004 00:02:10 +0000 Received: from raptor.ukc.ac.uk ([161.129.204.104] ident=exim) by apophis.ukc.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.42) id 1CZHwg-00043Y-Hd for [email protected]; Wed, 01 Dec 2004 00:02:10 +0000 Received: from stue61a.kent.ac.uk ([161.129.204.104] helo=[161.129.204.104]) by raptor.ukc.ac.uk with esmtp (Exim 4.42) id 1CZHwg-0005J3-AS for [email protected]; Wed, 01 Dec 2004 00:02:10 +0000 Message-ID: <[email protected]> Date: Wed, 01 Dec 2004 00:02:52 +0000 From: Cumbers <[email protected]> User-Agent: Mozilla Thunderbird 0.9 (X11/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Cactus Users List <[email protected]> Subject: Re: Errors that don't make sense... References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-UKC-Mail-System: No virus detected X-UKC-SpamCheck: X-UKC-MailScanner-From: [email protected] X-Virus-Checked: Checked Could you give us the test case code that is failing? [email protected] wrote: > I keep running my tests, and keep getting failures like this: > > expected:<987654321> but was:<987654321> > > junit.framework.AssertionFailedError: expected:<987654321> but > was:<987654321> at com.wf.bd.ice.business.BusinessValidatorFormTest.testSetGetBankAccount_1(BusinessValidatorFormTest.java:670) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > This does not make sense as the 2 values are java.lang.Long()'s and match as stated above.... > > > > > -------------------- > Mick Knutson > Wells Fargo Business Direct Information Systems > +1-505-472-7563 > > "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation." > -------------------- > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > From [email protected] Wed Dec 1 00:06:12 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 42519 invoked by uid 99); 1 Dec 2004 00:06:12 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from Unknown (HELO mail.bisinfo.com.au) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 30 Nov 2004 16:06:10 -0800 Received: from Cygnet ([161.129.204.104]) by mail.bisinfo.com.au (8.10.2/8.10.2) with SMTP id iB1028123522 for <[email protected]>; Wed, 1 Dec 2004 11:02:08 +1100 Reply-To: <[email protected]> From: "Andrew Swan" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: Errors that don't make sense... Date: Wed, 1 Dec 2004 11:08:46 +1100 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_006B_01C4D796.2117CA50" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal X-MS-TNEF-Correlator: 00000000FB0FA53D33769647B1FF5AE28A4112BC84274F00 X-Virus-Checked: Checked ------=_NextPart_000_006B_01C4D796.2117CA50 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit If you're using assertSame(Object, Object), then the assertion will fail if the two objects are different objects on the heap, even if they are both Longs that have the same longValue(), or more generally, the same toString() output, which is what JUnit shows you between the angle brackets <>. Hope this helps? Andrew -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: Wednesday, 1 December 2004 10:53 AM To: [email protected] Subject: Errors that don't make sense... I keep running my tests, and keep getting failures like this: expected:<987654321> but was:<987654321> junit.framework.AssertionFailedError: expected:<987654321> but was:<987654321> at com.wf.bd.ice.business.BusinessValidatorFormTest.testSetGetBankAccount_1(Bus inessValidatorFormTest.java:670) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) This does not make sense as the 2 values are java.lang.Long()'s and match as stated above.... -------------------- Mick Knutson Wells Fargo Business Direct Information Systems +1-505-472-7563 "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation." -------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] ------=_NextPart_000_006B_01C4D796.2117CA50-- From [email protected] Wed Dec 1 00:11:34 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 50151 invoked by uid 99); 1 Dec 2004 00:11:34 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from yarnek.wellsfargo.com (HELO yarnek.wellsfargo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 30 Nov 2004 16:11:33 -0800 Received: from sonoran.wellsfargo.com (sonoran.wellsfargo.com [161.129.204.104]) by yarnek.wellsfargo.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id iB10A3xV022526 for <[email protected]>; Tue, 30 Nov 2004 16:10:03 -0800 (PST) Received: from sonoran.wellsfargo.com (localhost [161.129.204.104]) by sonoran.wellsfargo.com (Switch-3.1.5/Switch-3.1.0) with ESMTP id iB10BUOU026440 for <[email protected]>; Tue, 30 Nov 2004 17:11:30 -0700 (MST) Received: from MSGSPSMNMSP05.ent.wfb.bank.corp (msgspsmnmsp05.wellsfargo.com [161.129.204.104]) by sonoran.wellsfargo.com (Switch-3.1.5/Switch-3.1.0) with ESMTP id iB10BTrH026429 for <[email protected]>; Tue, 30 Nov 2004 17:11:30 -0700 (MST) Received: from MSGSWBMNMSP19.ent.wfb.bank.corp ([161.129.204.104]) by MSGSPSMNMSP05.ent.wfb.bank.corp with Microsoft SMTPSVC(5.0.2195.6713); Tue, 30 Nov 2004 18:11:29 -0600 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6556.0 Subject: RE: Errors that don't make sense... Date: Tue, 30 Nov 2004 18:11:29 -0600 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Errors that don't make sense... Thread-Index: AcTXOQvw8wKkCObWRTiM+g6sfnRINQAAQ49g From: <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 01 Dec 2004 00:11:29.0757 (UTC) FILETIME=[4E74D0D0:01C4D73A] X-Virus-Checked: Checked I basically have a method that returns a Long(987654321), and I make an = assert like this: assertEqual( new Long(987654321), methodReturningLoing987654321() ); -------------------- Mick Knutson Wells Fargo Business Direct +1-505-472-7563 "This message may contain confidential and/or privileged information. If = you are not the addressee or authorized to receive this for the = addressee, you must not use, copy, disclose, or take any action based on = this message or any information herein. If you have received this = message in error, please advise the sender immediately by reply e-mail = and delete this message. Thank you for your cooperation." -------------------- -----Original Message----- From: Cumbers [mailto:[email protected]] Sent: Tuesday, November 30, 2004 4:03 PM To: Cactus Users List Subject: Re: Errors that don't make sense... Could you give us the test case code that is failing? [email protected] wrote: > I keep running my tests, and keep getting failures like this: >=20 > expected:<987654321> but was:<987654321> >=20 > junit.framework.AssertionFailedError: expected:<987654321> but > was:<987654321> at = com.wf.bd.ice.business.BusinessValidatorFormTest.testSetGetBankAccount_1(= BusinessValidatorFormTest.java:670) at = sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > = sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java= :39) at = sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI= mpl.java:25) >=20 > This does not make sense as the 2 values are java.lang.Long()'s and = match as stated above.... >=20 >=20 >=20 >=20 > -------------------- > Mick Knutson > Wells Fargo Business Direct Information Systems > +1-505-472-7563 >=20 > "This message may contain confidential and/or privileged information. = If you are not the addressee or authorized to receive this for the = addressee, you must not use, copy, disclose, or take any action based on = this message or any information herein. If you have received this = message in error, please advise the sender immediately by reply e-mail = and delete this message. Thank you for your cooperation." > -------------------- >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Dec 1 08:44:18 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 25094 invoked by uid 99); 1 Dec 2004 08:44:18 -0000 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_50_60,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from web52203.mail.yahoo.com (HELO web52203.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 01 Dec 2004 00:44:17 -0800 Received: (qmail 6564 invoked by uid 60001); 1 Dec 2004 08:44:14 -0000 Message-ID: <[email protected]> Received: from [161.129.204.104] by web52203.mail.yahoo.com via HTTP; Wed, 01 Dec 2004 19:44:14 EST Date: Wed, 1 Dec 2004 19:44:14 +1100 (EST) From: hossein rahmani <[email protected]> Reply-To: [email protected] Subject: CactusTestCase + ant To: cactus mailist <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-476161314-1101890654=:6494" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked --0-476161314-1101890654=:6494 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Dear All Hi,if anyboy knows the good sample which uses CactusTestCase and ant as builder , plesae tell me. bye --------------------------------- Find local movie times and trailers on Yahoo! Movies. --0-476161314-1101890654=:6494-- From [email protected] Wed Dec 1 08:44:38 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 26113 invoked by uid 99); 1 Dec 2004 08:44:38 -0000 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_40_50,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from web52201.mail.yahoo.com (HELO web52201.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 01 Dec 2004 00:44:37 -0800 Received: (qmail 37352 invoked by uid 60001); 1 Dec 2004 08:44:34 -0000 Message-ID: <[email protected]> Received: from [161.129.204.104] by web52201.mail.yahoo.com via HTTP; Wed, 01 Dec 2004 19:44:34 EST Date: Wed, 1 Dec 2004 19:44:34 +1100 (EST) From: hossein rahmani <[email protected]> Reply-To: [email protected] Subject: CactusStrutsTestCase + ant To: cactus mailist <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-838954645-1101890674=:36725" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked --0-838954645-1101890674=:36725 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Dear All Hi,if anyboy knows the good sample which uses CactusStrutsTestCase for struts testing and ant as builder , plesae tell me. bye --------------------------------- Find local movie times and trailers on Yahoo! Movies. --0-838954645-1101890674=:36725-- From [email protected] Wed Dec 1 10:01:49 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 80358 invoked by uid 99); 1 Dec 2004 10:01:49 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mx5.kent.ac.uk (HELO mx5.kent.ac.uk) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 01 Dec 2004 02:01:48 -0800 Received: from hathor.ukc.ac.uk ([161.129.204.104]) by mx5.kent.ac.uk with esmtp (Exim 4.42) id 1CZRIk-0004sB-Qf for [email protected]; Wed, 01 Dec 2004 10:01:35 +0000 Received: from raptor.ukc.ac.uk ([161.129.204.104] ident=exim) by hathor.ukc.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.42) id 1CZRIB-0006kP-Lq for [email protected]; Wed, 01 Dec 2004 10:00:59 +0000 Received: from stue61a.kent.ac.uk ([161.129.204.104] helo=[161.129.204.104]) by raptor.ukc.ac.uk with esmtp (Exim 4.42) id 1CZRIB-0002l4-Fv for [email protected]; Wed, 01 Dec 2004 10:00:59 +0000 Message-ID: <[email protected]> Date: Wed, 01 Dec 2004 10:01:47 +0000 From: Cumbers <[email protected]> User-Agent: Mozilla Thunderbird 0.9 (X11/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Cactus Users List <[email protected]> Subject: Re: CactusTestCase + ant References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-UKC-Mail-System: No virus detected X-UKC-SpamCheck: X-UKC-MailScanner-From: [email protected] X-Virus-Checked: Checked Cactus comes with some samples, and contained in those samples are build files that demonstrate how to do it. Here is a sample walkthru: http://jakarta.apache.org/cactus/integration/ant/howto_ant_cactus.html Use google ;) its your friend! Cheers Rich hossein rahmani wrote: > Dear All > Hi,if anyboy knows the good sample which uses CactusTestCase and ant as builder , plesae tell me. > bye > > > > --------------------------------- > Find local movie times and trailers on Yahoo! Movies. > From [email protected] Wed Dec 1 10:49:30 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 77234 invoked by uid 99); 1 Dec 2004 10:49:30 -0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_20_30,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from web52201.mail.yahoo.com (HELO web52201.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 01 Dec 2004 02:49:28 -0800 Received: (qmail 69951 invoked by uid 60001); 1 Dec 2004 10:49:22 -0000 Message-ID: <[email protected]> Received: from [161.129.204.104] by web52201.mail.yahoo.com via HTTP; Wed, 01 Dec 2004 21:49:22 EST Date: Wed, 1 Dec 2004 21:49:22 +1100 (EST) From: hossein rahmani <[email protected]> Reply-To: [email protected] Subject: CactusStrutsTesetCase error To: cactus mailist <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-99334653-1101898162=:66056" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked --0-99334653-1101898162=:66056 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit i write very simple cactusstrutstestcase which the name of the class is testFlightaction and the name of mehod is testsearchFligtht but i encounter to this error Testcase: testSearchFlight(actions.FlightActions.TestFlightAction): Caused an ERROR Error finding class [actions.FlightActions.TestFlightAction] using both the Context classloader and the webapp classloader. Possible causes include: - Your webapp does not include your test classes, - The cactus.jar is not located in your WEB-INF/lib directory and your Container has not set the Context classloader to point to the webapp one javax.servlet.ServletException: Error finding class [actions.FlightActions.TestFlightAction] using both the Context classloader and the webapp classloader. Possible causes include: - Your webapp does not include your test classes, - The cactus.jar is not located in your WEB-INF/lib directory and your Container has not set the Context classloader to point to the webapp one at org.apache.cactus.internal.server.AbstractWebTestCaller.getTestClassClass(AbstractWebTestCaller.java:501) at org.apache.cactus.internal.server.AbstractWebTestCaller.getTestClassInstance(AbstractWebTestCaller.java:384) at org.apache.cactus.internal.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.java:109) at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody0(AbstractWebTestController.java:93) at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody1$advice(AbstractWebTestController.java:117) i do my best <copy the test classes to the web-inf classes directory and also copy cactus.jar to the lib directory of web-inf> but nothing changed help me. bye --------------------------------- Find local movie times and trailers on Yahoo! Movies. --0-99334653-1101898162=:66056-- From [email protected] Wed Dec 1 16:19:09 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 77158 invoked by uid 99); 1 Dec 2004 16:19:09 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=HTML_40_50,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from firewall1779.fiserv.com (HELO Mail1.Fiserv.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 01 Dec 2004 08:19:07 -0800 Received: from des10ms01.fais.com ([161.129.204.104]) by Mail1.Fiserv.com (Switch-3.1.2/Switch-3.1.2) with ESMTP id WB1G1I0Y30000144C for <[email protected]>; Wed, 01 Dec 2004 10:18:37 -0600 Received: by DES10MS01 with Internet Mail Service (5.5.2653.19) id <YBCPDPAW>; Wed, 1 Dec 2004 10:17:06 -0600 Message-ID: <0205C50D41B7D611AEA50002A537CEC20165A57B@DES10MS01> From: "Korver, Aaron" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: Errors that don't make sense... Date: Wed, 1 Dec 2004 10:17:05 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4D7C1.32D004D0" X-Virus-Checked: Checked ------_=_NextPart_001_01C4D7C1.32D004D0 Content-Type: text/plain; charset="iso-8859-1" assertSame doesn't test for equality. It tests to see if the objects are pointing to the same reference. Hence if you have two Long objects (Long A = new Long(), Long B = new Long()) and they have the same VALUES then.... assertSame(A,B) is false as they are different objects assertEquals(A,B) is true as the VALUES are the same. Instead, lets assume it was coded like this... Long A = new Long(); Long B = A; In this case assertSame(A,B) is true as A and B both point to the same object reference. assertEquals(A,B) is true as the values of A and B are the same. Hope this helps. > -----Original Message----- > From: Andrew Swan [mailto:[email protected]] > Sent: Tuesday, November 30, 2004 6:09 PM > To: 'Cactus Users List' > Subject: RE: Errors that don't make sense... > > > If you're using assertSame(Object, Object), then the > assertion will fail if > the two objects are different objects on the heap, even if > they are both > Longs that have the same longValue(), or more generally, the > same toString() > output, which is what JUnit shows you between the angle brackets <>. > > Hope this helps? > > Andrew > > -----Original Message----- > From: [email protected] [mailto:[email protected]] > Sent: Wednesday, 1 December 2004 10:53 AM > To: [email protected] > Subject: Errors that don't make sense... > > > I keep running my tests, and keep getting failures like this: > > expected:<987654321> but was:<987654321> > > junit.framework.AssertionFailedError: expected:<987654321> but > was:<987654321> at > com.wf.bd.ice.business.BusinessValidatorFormTest.testSetGetBan > kAccount_1(Bus > inessValidatorFormTest.java:670) at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess > orImpl.java:39 > ) at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth > odAccessorImpl > .java:25) > > This does not make sense as the 2 values are > java.lang.Long()'s and match as > stated above.... > > > > > -------------------- > Mick Knutson > Wells Fargo Business Direct Information Systems > +1-505-472-7563 > > "This message may contain confidential and/or privileged > information. If you > are not the addressee or authorized to receive this for the > addressee, you > must not use, copy, disclose, or take any action based on > this message or > any information herein. If you have received this message in > error, please > advise the sender immediately by reply e-mail and delete this > message. Thank > you for your cooperation." > -------------------- > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > ------_=_NextPart_001_01C4D7C1.32D004D0-- From [email protected] Wed Dec 1 22:40:01 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 3360 invoked by uid 99); 1 Dec 2004 22:40:01 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 01 Dec 2004 14:40:00 -0800 Received: by wproxy.gmail.com with SMTP id 55so870443wri for <[email protected]>; Wed, 01 Dec 2004 14:39:58 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=On9b5RRt9OQ/EHEXL7dgTuHSzMrya/bQCA3uvIRYhhnvfteqLAxslH7bhla/L5iq5aWGb766mEShwSf7wc2wo1x3i9x4nCWTYkaPwRX+HBWokybJtujPYLK3bF+slfwyB0FkRAKuLWWGBfuAj/hw6BDVKFuAn7oZezxsftNTHTU= Received: by 161.129.204.104 with SMTP id b77mr921047wrb; Wed, 01 Dec 2004 14:39:57 -0800 (PST) Received: by 161.129.204.104 with HTTP; Wed, 1 Dec 2004 14:39:57 -0800 (PST) Message-ID: <[email protected]> Date: Wed, 1 Dec 2004 14:39:57 -0800 From: Roberto Nucera <[email protected]> Reply-To: Roberto Nucera <[email protected]> To: Cactus Users List <[email protected]> Subject: log4j problems(?) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked Hi all, I am getting the following messages when running a cactus test: "log4j:WARN No appenders could be found for logger (org.apache.cactus.internal.server.ServerTestCaseCaller)." "log4j:WARN Please initialize the log4j system properly." This happens if I use log4j-1.2.9 (for instance). This is the only console output I see. However, I don't get it with log4j-1.1.3. For example with 1.1.3 I get the usual (I hope) Jetty messages. Now with either one I can't get catctus to create a log file! No matter what I do I can't see a log file. This is done while running (in debug mode) from Eclipse. Here is my log4j.properties. It is in the application path. log4j.appender.cactus = org.apache.log4j.FileAppender log4j.appender.cactus.File = cactus.log log4j.appender.cactus.Append = false log4j.appender.cactus.layout = org.apache.log4j.PatternLayout log4j.appender.cactus.layout.ConversionPattern = %d{ABSOLUTE} [%t] %-5p %-30.30c{2} %x - %m %n # Any application log which uses Log4J will be logged to the Cactus log file log4j.rootCategory=DEBUG, cactus log4j.category.org.apache.cactus = WARN, cactus log4j.additivity.org.apache.cactus=false # Don't show debug logs for HttpClient log4j.category.org.apache.commons.httpclient = WARN, cactus log4j.additivity.org.apache.commons.httpclient=false log4j.category.httpclient = WARN, cactus log4j.additivity.httpclient=false Anyone ran into this? Thanks, roberto From [email protected] Wed Dec 1 22:44:33 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 11009 invoked by uid 99); 1 Dec 2004 22:44:33 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=HTML_40_50,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from firewall1779.fiserv.com (HELO Mail1.Fiserv.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 01 Dec 2004 14:44:32 -0800 Received: from des10ms01.fais.com ([161.129.204.104]) by Mail1.Fiserv.com (Switch-3.1.2/Switch-3.1.2) with ESMTP id WB1M285Y300001EFC for <[email protected]>; Wed, 01 Dec 2004 16:44:05 -0600 Received: by DES10MS01 with Internet Mail Service (5.5.2653.19) id <YBCPDQYT>; Wed, 1 Dec 2004 16:42:35 -0600 Message-ID: <0205C50D41B7D611AEA50002A537CEC20165A57E@DES10MS01> From: "Korver, Aaron" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: log4j problems(?) Date: Wed, 1 Dec 2004 16:42:33 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4D7F7.0C803800" X-Virus-Checked: Checked ------_=_NextPart_001_01C4D7F7.0C803800 Content-Type: text/plain; charset="iso-8859-1" A) is the log4j.properties file on the classpath? double and triple check this. Then check it again. B) one little known trick is you can specifiy the configuration at runtime if you want. Simple add a -Dlog4j.configuration=full/path/to/log4j.properties to your start up arguments. > -----Original Message----- > From: Roberto Nucera [mailto:[email protected]] > Sent: Wednesday, December 01, 2004 4:40 PM > To: Cactus Users List > Subject: log4j problems(?) > > > Hi all, > > I am getting the following messages when running a cactus test: > > "log4j:WARN No appenders could be found for logger > (org.apache.cactus.internal.server.ServerTestCaseCaller)." > "log4j:WARN Please initialize the log4j system properly." > > This happens if I use log4j-1.2.9 (for instance). This is the only > console output I see. > > However, I don't get it with log4j-1.1.3. For example with 1.1.3 I > get the usual (I hope) Jetty messages. > > Now with either one I can't get catctus to create a log file! No > matter what I do I can't see a log file. This is done while running > (in debug mode) from Eclipse. > > Here is my log4j.properties. It is in the application path. > > log4j.appender.cactus = org.apache.log4j.FileAppender > log4j.appender.cactus.File = cactus.log > log4j.appender.cactus.Append = false > log4j.appender.cactus.layout = org.apache.log4j.PatternLayout > log4j.appender.cactus.layout.ConversionPattern = %d{ABSOLUTE} [%t] > %-5p %-30.30c{2} %x - %m %n > > # Any application log which uses Log4J will be logged to the > Cactus log file > log4j.rootCategory=DEBUG, cactus > > log4j.category.org.apache.cactus = WARN, cactus > log4j.additivity.org.apache.cactus=false > > # Don't show debug logs for HttpClient > log4j.category.org.apache.commons.httpclient = WARN, cactus > log4j.additivity.org.apache.commons.httpclient=false > log4j.category.httpclient = WARN, cactus > log4j.additivity.httpclient=false > > Anyone ran into this? > > Thanks, > > roberto > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > ------_=_NextPart_001_01C4D7F7.0C803800-- From [email protected] Thu Dec 2 07:14:57 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 85759 invoked by uid 99); 2 Dec 2004 07:14:57 -0000 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_40_50,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from web52205.mail.yahoo.com (HELO web52205.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 01 Dec 2004 23:14:55 -0800 Received: (qmail 82862 invoked by uid 60001); 2 Dec 2004 07:14:53 -0000 Message-ID: <[email protected]> Received: from [161.129.204.104] by web52205.mail.yahoo.com via HTTP; Thu, 02 Dec 2004 18:14:53 EST Date: Thu, 2 Dec 2004 18:14:53 +1100 (EST) From: hossein rahmani <[email protected]> Reply-To: [email protected] Subject: method not found error To: cactus mailist <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-43477584-1101971693=:82822" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked --0-43477584-1101971693=:82822 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Dear all I write very simple test code which extends cactusStrutstestCase but i do not know why encounter the below error !!!<the name of method is testAdminLogin which setrequestPath , then fill actionForm and finally call actionForm> ERROR : Method "testAdminLogin" not found junit.framework.AssertionFailedError: Method "testAdminLogin" not found Please help me bye --------------------------------- Find local movie times and trailers on Yahoo! Movies. --0-43477584-1101971693=:82822-- From [email protected] Thu Dec 2 07:50:33 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 39827 invoked by uid 99); 2 Dec 2004 07:50:33 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF [email protected]) Received: from smtp102.mail.sc5.yahoo.com (HELO smtp102.mail.sc5.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 01 Dec 2004 23:50:31 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp102.mail.sc5.yahoo.com with SMTP; 2 Dec 2004 07:50:27 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: log4j problems(?) Date: Thu, 2 Dec 2004 08:50:24 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcTX9rMam6FJHjfXRRyTgJ0/eLEMWAATJ1sQ X-Virus-Checked: Checked Hi Roberto, Cactus is not using log4j... it's using commons-logging. It can be a bit complex to set up so I highly suggest you read the documentation on http://jakarta.apache.org/cactus/integration/manual/howto_config.html#log= gin g Cheers, -Vincent > -----Original Message----- > From: Roberto Nucera [mailto:[email protected]] > Sent: mercredi 1 d=E9cembre 2004 23:40 > To: Cactus Users List > Subject: log4j problems(?) >=20 > Hi all, >=20 > I am getting the following messages when running a cactus test: >=20 > "log4j:WARN No appenders could be found for logger > (org.apache.cactus.internal.server.ServerTestCaseCaller)." > "log4j:WARN Please initialize the log4j system properly." >=20 > This happens if I use log4j-1.2.9 (for instance). This is the only > console output I see. >=20 > However, I don't get it with log4j-1.1.3. For example with 1.1.3 I > get the usual (I hope) Jetty messages. >=20 > Now with either one I can't get catctus to create a log file! No > matter what I do I can't see a log file. This is done while running > (in debug mode) from Eclipse. >=20 > Here is my log4j.properties. It is in the application path. >=20 > log4j.appender.cactus =3D org.apache.log4j.FileAppender > log4j.appender.cactus.File =3D cactus.log > log4j.appender.cactus.Append =3D false > log4j.appender.cactus.layout =3D org.apache.log4j.PatternLayout > log4j.appender.cactus.layout.ConversionPattern =3D %d{ABSOLUTE} [%t] > %-5p %-30.30c{2} %x - %m %n >=20 > # Any application log which uses Log4J will be logged to the Cactus = log > file > log4j.rootCategory=3DDEBUG, cactus >=20 > log4j.category.org.apache.cactus =3D WARN, cactus > log4j.additivity.org.apache.cactus=3Dfalse >=20 > # Don't show debug logs for HttpClient > log4j.category.org.apache.commons.httpclient =3D WARN, cactus > log4j.additivity.org.apache.commons.httpclient=3Dfalse > log4j.category.httpclient =3D WARN, cactus > log4j.additivity.httpclient=3Dfalse >=20 > Anyone ran into this? >=20 > Thanks, >=20 > roberto >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] From [email protected] Thu Dec 2 07:52:10 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 44672 invoked by uid 99); 2 Dec 2004 07:52:10 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF [email protected]) Received: from smtp107.mail.sc5.yahoo.com (HELO smtp107.mail.sc5.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 01 Dec 2004 23:52:08 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp107.mail.sc5.yahoo.com with SMTP; 2 Dec 2004 07:52:06 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: method not found error Date: Thu, 2 Dec 2004 08:52:03 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcTYPqH1iz1mJ22VTkS+Ix7THPYY2QABQBWQ X-Virus-Checked: Checked Hi Hossein, FYI, we don't support StrutsTestCase. You may find people happy to help = you from time to time on StrutsTestCase but it is really a separate project = with its own mailing list, etc. -Vincent > -----Original Message----- > From: hossein rahmani [mailto:[email protected]] > Sent: jeudi 2 d=E9cembre 2004 08:15 > To: cactus mailist > Subject: method not found error >=20 > Dear all > I write very simple test code which extends cactusStrutstestCase > but i do not know why encounter the below error !!!<the name of = method is > testAdminLogin which setrequestPath , then fill actionForm and finally > call > actionForm> >=20 > ERROR : > Method "testAdminLogin" not found > junit.framework.AssertionFailedError: Method "testAdminLogin" not = found >=20 >=20 > Please help me >=20 > bye >=20 >=20 >=20 > --------------------------------- > Find local movie times and trailers on Yahoo! Movies. From [email protected] Thu Dec 2 13:19:36 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 14019 invoked by uid 99); 2 Dec 2004 13:19:36 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=HTML_90_100,HTML_MESSAGE,MIME_HTML_NO_CHARSET X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from ppd70050.deutschepost.de (HELO ppd70050.deutschepost.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 02 Dec 2004 05:19:28 -0800 Received: from DDAGP115.mimesweeper.intra (unknown [161.129.204.104]) by ppd70050.deutschepost.de (Postfix) with ESMTP id EE43A3A4B for <[email protected]>; Thu, 2 Dec 2004 14:19:14 +0100 (MET) Received: from ddaah014.DeutschePost.de (unverified) by DDAGP115.mimesweeper.intra (Content Technologies SMTPRS 4.3.17) with ESMTP id <[email protected]> for <[email protected]>; Thu, 2 Dec 2004 14:20:07 +0100 Received: by DDAAH014.DeutschePost.de with Internet Mail Service (5.5.2657.72) id <XTBKC89V>; Thu, 2 Dec 2004 14:18:54 +0100 Message-ID: <[email protected]> From: "Felgenhauer, Florian / DPEE extern" <[email protected]> To: "'[email protected]'" <[email protected]> Subject: Parsing of web.xml deployment descriptor failed Date: Thu, 2 Dec 2004 14:17:03 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4D871.36964BA0" X-Virus-Checked: Checked ------_=_NextPart_001_01C4D871.36964BA0 Content-Type: text/plain Even with this simple descriptor <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> </web-app> I got Parsing of web.xml deployment descriptor failed Thanks in advance for any help ------_=_NextPart_001_01C4D871.36964BA0-- From [email protected] Thu Dec 2 14:03:18 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 34858 invoked by uid 99); 2 Dec 2004 14:03:18 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtp014.mail.yahoo.com (HELO smtp014.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 02 Dec 2004 06:03:16 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp014.mail.yahoo.com with SMTP; 2 Dec 2004 14:03:03 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: Parsing of web.xml deployment descriptor failed Date: Thu, 2 Dec 2004 15:02:58 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcTYcaEpKOJ3RZtrQjyHjpCsSZQkIwABemRw X-Virus-Checked: Checked Hi Florian, Any stack trace? -Vincent > -----Original Message----- > From: Felgenhauer, Florian / DPEE extern > [mailto:[email protected]] > Sent: jeudi 2 d=E9cembre 2004 14:17 > To: '[email protected]' > Subject: Parsing of web.xml deployment descriptor failed >=20 > Even with this simple descriptor >=20 > <?xml version=3D"1.0" encoding=3D"ISO-8859-1"?> > <!DOCTYPE web-app > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > "http://java.sun.com/dtd/web-app_2_3.dtd"> >=20 > <web-app> > </web-app> >=20 > I got >=20 > Parsing of web.xml deployment descriptor failed >=20 > Thanks in advance for any help From [email protected] Thu Dec 2 14:18:11 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 81370 invoked by uid 99); 2 Dec 2004 14:18:11 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.mipz.de (HELO mail.mipz.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 02 Dec 2004 06:18:10 -0800 Received: from mipz.de (localhost [161.129.204.104]) by mail.mipz.de (8.11.7p1+Sun/8.11.6) with ESMTP id iB2EI7J15747 for <[email protected]>; Thu, 2 Dec 2004 15:18:07 +0100 (MET) X-MessageWall-Score: 0 (mipz.de) Received: from [161.129.204.104] by mipz.de (MessageWall 1.0.8) with SMTP; 2 Dec 2004 14:18:6 -0000 From: Marc Lustig <[email protected]> Organization: Information Desire GmbH To: [email protected] Subject: missing dep while integrating Cactus into Eclipse 3.01 Date: Thu, 2 Dec 2004 15:19:18 +0100 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <[email protected]> X-Virus-Checked: Checked Hi, I tried to integrate Cactus into Eclipse by following steps as mentioned on Cactus site (checking out from CVS, importing the plugins). Project org.apache.cactus.eclipse.webapp can be built successfully, but cactus.integration.eclipse.runner has missing dep org.eclipse.core.boot.BootLoader in class org.apache.cactus.eclipse.runner.containers.ant.AntContainerManager The package org.eclipse.core.boot (3.0.0) has been imported successfully, but there is not any class in [email protected]. How can I fix this to support the 3.0.0-version of org.eclipse.core.boot package? Regards Marc From [email protected] Thu Dec 2 14:22:52 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 96792 invoked by uid 99); 2 Dec 2004 14:22:52 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtp015.mail.yahoo.com (HELO smtp015.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 02 Dec 2004 06:22:50 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp015.mail.yahoo.com with SMTP; 2 Dec 2004 14:22:44 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: missing dep while integrating Cactus into Eclipse 3.01 Date: Thu, 2 Dec 2004 15:22:42 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcTYecYiX3Bg9jRLTB2sjt5gkgTSJwAAB4lw X-Virus-Checked: Checked Hi Marc, You mention following the steps on the Cactus site. Have you read the following part: "The Eclipse plugin is a work in progress. In the past it was working, = but since we moved to the new Ant integration it has been broken. This = requires a rewrite of the plugin code to fix. In the meantime, we have removed = the plugin download. Sorry about that. Any help will be much welcome." This means it is NOT working and that we need someone to fix the code... = :-) Is this what you are doing? If so, I cannot help you unfortunately. Last time I built it Eclipse was at its 2.1 release... I'm sure it doesn't build/run OOB with Eclipse 3.x Thanks -Vincent > -----Original Message----- > From: Marc Lustig [mailto:[email protected]] > Sent: jeudi 2 d=E9cembre 2004 15:19 > To: [email protected] > Subject: missing dep while integrating Cactus into Eclipse 3.01 >=20 > Hi, >=20 > I tried to integrate Cactus into Eclipse by following steps as = mentioned > on > Cactus site (checking out from CVS, importing the plugins). >=20 > Project org.apache.cactus.eclipse.webapp can be built successfully, > but cactus.integration.eclipse.runner has missing dep > org.eclipse.core.boot.BootLoader in class > org.apache.cactus.eclipse.runner.containers.ant.AntContainerManager >=20 > The package org.eclipse.core.boot (3.0.0) has been imported = successfully, > but > there is not any class in [email protected]. >=20 > How can I fix this to support the 3.0.0-version of = org.eclipse.core.boot > package? >=20 > Regards > Marc >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] From [email protected] Thu Dec 2 14:56:26 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 87293 invoked by uid 99); 2 Dec 2004 14:56:26 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.mipz.de (HELO mail.mipz.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 02 Dec 2004 06:56:25 -0800 Received: from mipz.de (localhost [161.129.204.104]) by mail.mipz.de (8.11.7p1+Sun/8.11.6) with ESMTP id iB2EuDJ17423 for <[email protected]>; Thu, 2 Dec 2004 15:56:15 +0100 (MET) X-MessageWall-Score: 0 (mipz.de) Received: from [161.129.204.104] by mipz.de (MessageWall 1.0.8) with SMTP; 2 Dec 2004 14:56:12 -0000 From: Marc Lustig <[email protected]> Organization: Information Desire GmbH To: "Cactus Users List" <[email protected]> Subject: Re: missing dep while integrating Cactus into Eclipse 3.01 Date: Thu, 2 Dec 2004 15:57:23 +0100 User-Agent: KMail/1.5.4 References: <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <[email protected]> X-Virus-Checked: Checked Yeah, I saw this too. But somehow I found another page that explained anoth= er=20 way to install it, but I can't find this page anymore. Anyway, if it won't work out with Eclipse 3 I quit this now. Sorry I'm really a cactus novice and can't help much adapting the code to=20 support Eclipse 3 ... Thanks. Marc Am Donnerstag, 2. Dezember 2004 15:22 schrieb Vincent Massol: > Hi Marc, > > You mention following the steps on the Cactus site. Have you read the > following part: > > "The Eclipse plugin is a work in progress. In the past it was working, but > since we moved to the new Ant integration it has been broken. This requir= es > a rewrite of the plugin code to fix. In the meantime, we have removed the > plugin download. Sorry about that. Any help will be much welcome." > > This means it is NOT working and that we need someone to fix the code... > :-) > > Is this what you are doing? If so, I cannot help you unfortunately. Last > time I built it Eclipse was at its 2.1 release... I'm sure it doesn't > build/run OOB with Eclipse 3.x > > Thanks > -Vincent > > > -----Original Message----- > > From: Marc Lustig [mailto:[email protected]] > > Sent: jeudi 2 d=E9cembre 2004 15:19 > > To: [email protected] > > Subject: missing dep while integrating Cactus into Eclipse 3.01 > > > > Hi, > > > > I tried to integrate Cactus into Eclipse by following steps as mentioned > > on > > Cactus site (checking out from CVS, importing the plugins). > > > > Project org.apache.cactus.eclipse.webapp can be built successfully, > > but cactus.integration.eclipse.runner has missing dep > > org.eclipse.core.boot.BootLoader in class > > org.apache.cactus.eclipse.runner.containers.ant.AntContainerManager > > > > The package org.eclipse.core.boot (3.0.0) has been imported successfull= y, > > but > > there is not any class in [email protected]. > > > > How can I fix this to support the 3.0.0-version of org.eclipse.core.boot > > package? > > > > Regards > > Marc > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] =2D-=20 Mit freundlichen Gr=FC=DFen aus Mainz Information Desire Software GmbH Marc Lustig =2D--------------------------------------------------------------- Information Desire, Hersteller von "Projectile", der webbasierten Projektmanagementl=F6sung f=FCr Dienstleister [ TEL: 0 61 31 / 6 27 68 - 0 ] [ FAX: 0 61 31 / 6 27 68 - 68 ] [ WWW: =A0 www.infodesire.com ] [ EMAIL: [email protected] ] =2D--------------------------------------------------------------- From [email protected] Thu Dec 2 14:59:48 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 97424 invoked by uid 99); 2 Dec 2004 14:59:48 -0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_20_30,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from web52207.mail.yahoo.com (HELO web52207.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 02 Dec 2004 06:59:46 -0800 Received: (qmail 29225 invoked by uid 60001); 2 Dec 2004 14:59:42 -0000 Message-ID: <[email protected]> Received: from [161.129.204.104] by web52207.mail.yahoo.com via HTTP; Fri, 03 Dec 2004 01:59:42 EST Date: Fri, 3 Dec 2004 01:59:42 +1100 (EST) From: hossein rahmani <[email protected]> Reply-To: [email protected] Subject: cactus+ struts+ejb To: cactus mailist <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1945198052-1101999582=:28622" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked --0-1945198052-1101999582=:28622 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Dear All ,HI, All the cactus samples .i have seen , they just test the web tier <i.e struts> alone , without testing the web tier and its intraction with ejb tier, most of the samples try to avoid testing the intraction between struts and ejb tiers by inserting some hard code to the struts code < for example for loginAction they just hardcode and check for the pre-specified username and password >,but dose anyone has sample that test the struts and ejb together , and ideally use Ant as build tool. bye. --------------------------------- Find local movie times and trailers on Yahoo! Movies. --0-1945198052-1101999582=:28622-- From [email protected] Thu Dec 2 15:22:06 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 75697 invoked by uid 99); 2 Dec 2004 15:22:06 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=HTML_40_50,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from firewall1779.fiserv.com (HELO Mail1.Fiserv.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 02 Dec 2004 07:22:06 -0800 Received: from des10ms01.fais.com ([161.129.204.104]) by Mail1.Fiserv.com (Switch-3.1.2/Switch-3.1.2) with ESMTP id WB2F0LUY300002CE8 for <[email protected]>; Thu, 02 Dec 2004 09:21:30 -0600 Received: by DES10MS01 with Internet Mail Service (5.5.2653.19) id <YD1MRTZ0>; Thu, 2 Dec 2004 09:19:59 -0600 Message-ID: <0205C50D41B7D611AEA50002A537CEC20165A581@DES10MS01> From: "Korver, Aaron" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: cactus+ struts+ejb Date: Thu, 2 Dec 2004 09:19:58 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4D882.6290A050" X-Virus-Checked: Checked ------_=_NextPart_001_01C4D882.6290A050 Content-Type: text/plain; charset="iso-8859-1" One thing to remember is that the web tier can almost always "see" up into the ejb tier. Because of this, you can place your tests right next to your beans and the web tier (ServletTestCase) can access them. This is how we test our EJBs. I don't use struts so I can't help you there. > -----Original Message----- > From: hossein rahmani [mailto:[email protected]] > Sent: Thursday, December 02, 2004 9:00 AM > To: cactus mailist > Subject: cactus+ struts+ejb > > > Dear All ,HI, > All the cactus samples .i have seen , they just test > the web tier <i.e struts> alone , without testing the web > tier and its intraction with ejb tier, > most of the samples try to avoid testing the intraction > between struts and ejb tiers by inserting some hard code to > the struts code < for example for loginAction they just > hardcode and check for the pre-specified username and > password >,but dose anyone has sample that test the struts > and ejb together , and ideally use Ant as build tool. > > bye. > > > > --------------------------------- > Find local movie times and trailers on Yahoo! Movies. > ------_=_NextPart_001_01C4D882.6290A050-- From [email protected] Thu Dec 2 17:17:24 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 18259 invoked by uid 99); 2 Dec 2004 17:17:24 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtp013.mail.yahoo.com (HELO smtp013.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 02 Dec 2004 09:17:23 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp013.mail.yahoo.com with SMTP; 2 Dec 2004 17:17:19 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: cactus+ struts+ejb Date: Thu, 2 Dec 2004 18:17:19 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcTYf6X1lkWdSMqvRp6XZag03e1K8gAEwFcg X-Virus-Checked: Checked > -----Original Message----- > From: hossein rahmani [mailto:[email protected]] > Sent: jeudi 2 d=E9cembre 2004 16:00 > To: cactus mailist > Subject: cactus+ struts+ejb >=20 > Dear All ,HI, > All the cactus samples .i have seen , they just test the web = tier > <i.e struts> alone , without testing the web tier and its intraction = with > ejb tier, Please check the samples distributed with Cactus. You'll see there is an = EJB example. They have nothing to do with struts though. [snip] -Vincent From [email protected] Fri Dec 3 13:35:34 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 73036 invoked by uid 99); 3 Dec 2004 13:35:34 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from MX-A.GICM.NET (HELO mx-a.gicm.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 03 Dec 2004 05:35:34 -0800 Received: from sas-a.gicm.net ([161.129.204.104]) by mx-a.gicm.net (8.12.8/8.12.8/GICM-20020102) with ESMTP id iB3DZUAG030912 for <[email protected]>; Fri, 3 Dec 2004 14:35:30 +0100 Received: from dns-platine-2.platine.federalservice.fr (localhost.localdomain [161.129.204.104]) by sas-a.gicm.net (8.12.9/8.12.9/GICM/SAS-A) with ESMTP id iB3DZT1G026201 for <[email protected]>; Fri, 3 Dec 2004 14:35:29 +0100 Received: from [161.129.204.104] by dns-platine-2.platine.federalservice.fr (8.9.1b+Sun/8.9.1) with ESMTP id OAA04187 for <[email protected]>; Fri, 3 Dec 2004 14:35:28 +0100 (MET) Subject: Failed to start the container From: =?ISO-8859-1?Q?Lo=EFc_Qu=E9ran?= <[email protected]> To: Cactus user <[email protected]> Content-Type: text/plain; charset=UTF-8 Message-Id: <[email protected]> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Date: 03 Dec 2004 14:34:34 +0100 Content-Transfer-Encoding: 8bit X-GICM-Archive-out: 20041203143530.40168 X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang) X-Virus-Checked: Checked Hi, With Maven-1.0.1, cactus-maven-1.6.1, jakarta-tomcat-5.5.1, I get the following error : [cactus] [DEBUG] Execute:Java13CommandLauncher: Executing '/usr/java/j2sdk-1.4.2/jre/bin/java' with arguments: '-Dcactus.contextURL=http://localhost:8080/justevaleur-cactus' '-Dcatalina.home=/home/loic/personnel/jakarta-tomcat-5.5.1' '-Dcatalina.base=/tmp/cactus/tomcat5x' '-classpath' '/home/loic/personnel/jakarta-tomcat-5.5.1/bin/bootstrap.jar:/usr/java/j2sdk-1.4.2/lib/tools.jar' 'org.apache.catalina.startup.Bootstrap' 'start' The ' characters around the executable and arguments are not part of the command. [cactus] [DEBUG] Checking if server is up ... [cactus] [DEBUG] Failed to connect to http://localhost:8080/justevaleur-cactus/ServletRedirector?Cactus_Service=RUN_TEST (Connection refused) which is explained by this : /usr/java/j2sdk-1.4.2/jre/bin/java -Dcactus.contextURL=http://localhost:8080/justevaleur-cactus -Dcatalina.home=/home/loic/personnel/jakarta-tomcat-5.5.1 -Dcatalina.base=/tmp/cactus/tomcat5x -classpath /home/loic/personnel/jakarta-tomcat-5.5.1/bin/bootstrap.jar:/usr/java/j2sdk-1.4.2/lib/tools.jar org.apache.catalina.startup.Bootstrap start Created MBeanServer with ID: 30e280:1009914a6d7:-8000:localhost.localdomain:1 Dec 3, 2004 2:18:15 PM org.apache.tomcat.util.digester.Digester startElement SEVERE: Begin event threw exception java.lang.ClassNotFoundException: org.apache.coyote.tomcat5.CoyoteConnector Is the bootstrap.jar supposed to be enough to find other tomacat 5.5.1 jars ? How could I fix this ? What is more, my cactified war does not appear in my tomcat webapp dir, which seems strange. My maven build.properties for cactus contains just one line : cactus.home.tomcat5x=/home/loic/personnel/jakarta-tomcat-5.5.1 Any help would be appreciated. Thanks in advance. Loïc From [email protected] Fri Dec 3 14:06:39 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 57784 invoked by uid 99); 3 Dec 2004 14:06:39 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 03 Dec 2004 06:06:27 -0800 Received: by wproxy.gmail.com with SMTP id 71so2028914wra for <[email protected]>; Fri, 03 Dec 2004 06:06:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=X1PQQiNQWEa9Yx98wKfAOwMyMwSJUJ/9KSz3DKkTBZO+wHJNHtesdeW8RukamM1lcpbClo/ReeEhRxwh4oTLwhhdv5selwrP4Y2F9yLuzSkDf2lVAYxIN97We2CI3/CfiVfT+CsckzhoBrDQoYEJK3At9VQDMOcKmpUB+INvJEo= Received: by 161.129.204.104 with SMTP id n22mr1918563wrn; Fri, 03 Dec 2004 06:06:10 -0800 (PST) Received: by 161.129.204.104 with HTTP; Fri, 3 Dec 2004 06:06:09 -0800 (PST) Message-ID: <[email protected]> Date: Fri, 3 Dec 2004 15:06:09 +0100 From: Nicolas Chalumeau <[email protected]> Reply-To: Nicolas Chalumeau <[email protected]> To: Cactus Users List <[email protected]> Subject: Re: Failed to start the container In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable References: <[email protected]> X-Virus-Checked: Checked Cactus as Cargot doesn't support tomcat-5.5.X http://cargo.codehaus.org/Tomcat+5.x Nicolas On 03 Dec 2004 14:34:34 +0100, Lo=EFc Qu=E9ran <[email protected]> wrote: > Hi, >=20 > With Maven-1.0.1, cactus-maven-1.6.1, jakarta-tomcat-5.5.1, I get the > following error : >=20 > [cactus] [DEBUG] Execute:Java13CommandLauncher: Executing > '/usr/java/j2sdk-1.4.2/jre/bin/java' with arguments: > '-Dcactus.contextURL=3Dhttp://localhost:8080/justevaleur-cactus' > '-Dcatalina.home=3D/home/loic/personnel/jakarta-tomcat-5.5.1' > '-Dcatalina.base=3D/tmp/cactus/tomcat5x' > '-classpath' > '/home/loic/personnel/jakarta-tomcat-5.5.1/bin/bootstrap.jar:/usr/java/j2= sdk-1.4.2/lib/tools.jar' > 'org.apache.catalina.startup.Bootstrap' > 'start' >=20 > The ' characters around the executable and arguments are > not part of the command. >=20 > [cactus] [DEBUG] Checking if server is up ... > [cactus] [DEBUG] Failed to connect to > http://localhost:8080/justevaleur-cactus/ServletRedirector?Cactus_Service= =3DRUN_TEST (Connection refused) >=20 > which is explained by this : >=20 > /usr/java/j2sdk-1.4.2/jre/bin/java > -Dcactus.contextURL=3Dhttp://localhost:8080/justevaleur-cactus > -Dcatalina.home=3D/home/loic/personnel/jakarta-tomcat-5.5.1 > -Dcatalina.base=3D/tmp/cactus/tomcat5x -classpath > /home/loic/personnel/jakarta-tomcat-5.5.1/bin/bootstrap.jar:/usr/java/j2s= dk-1.4.2/lib/tools.jar org.apache.catalina.startup.Bootstrap start > Created MBeanServer with ID: > 30e280:1009914a6d7:-8000:localhost.localdomain:1 > Dec 3, 2004 2:18:15 PM org.apache.tomcat.util.digester.Digester > startElement > SEVERE: Begin event threw exception > java.lang.ClassNotFoundException: > org.apache.coyote.tomcat5.CoyoteConnector >=20 > Is the bootstrap.jar supposed to be enough to find other tomacat 5.5.1 > jars ? How could I fix this ? >=20 > What is more, my cactified war does not appear in my tomcat webapp dir, > which seems strange. My maven build.properties for cactus contains just > one line : >=20 > cactus.home.tomcat5x=3D/home/loic/personnel/jakarta-tomcat-5.5.1 >=20 > Any help would be appreciated. >=20 > Thanks in advance. >=20 > Lo=EFc >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >=20 > From [email protected] Fri Dec 3 14:59:07 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 21630 invoked by uid 99); 3 Dec 2004 14:59:07 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from ppd70050.deutschepost.de (HELO ppd70050.deutschepost.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 03 Dec 2004 06:59:05 -0800 Received: from DDAGP114.mimesweeper.intra (unknown [161.129.204.104]) by ppd70050.deutschepost.de (Postfix) with ESMTP id F1C903E3D for <[email protected]>; Fri, 3 Dec 2004 15:59:01 +0100 (MET) Received: from ddaah014.DeutschePost.de (unverified) by DDAGP114.mimesweeper.intra (Content Technologies SMTPRS 4.3.17) with ESMTP id <[email protected]> for <[email protected]>; Fri, 3 Dec 2004 15:58:15 +0100 Received: by DDAAH014.DeutschePost.de with Internet Mail Service (5.5.2657.72) id <YD53A2R5>; Fri, 3 Dec 2004 15:58:46 +0100 Message-ID: <[email protected]> From: "Felgenhauer, Florian / DPEE extern" <[email protected]> To: 'Cactus Users List' <[email protected]> Subject: RE: Parsing of web.xml deployment descriptor failed Date: Fri, 3 Dec 2004 15:58:43 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain X-Virus-Checked: Checked Just started from beginning with trying the servlet example and ant from within eclipse. First there was a problem with missing jar files for ant and missing jar file in my build.xml. Second there was a problem with eclipse java.home configuration. On Windows I had to add a directory C:/Program Files/Java/lib and put tools.jar into it. On Mac OS X this was not necessary. The example is working! Right now testing my application the tomcat does not come up correctly, I think. Got debug messages like [cactus] Checking if server is up ... [cactus] Failed to connect to http://localhost:8080/dpst-cactified/ServletRedirector?Cactus_Service=RUN_TE ST (null) and a bind exception [cactus] ----------------------------------------------------------------- [cactus] Running tests against Tomcat 5.0.28 [cactus] ----------------------------------------------------------------- [cactus] Deleting 765 files from C:\DOCUME~1\DPEE105\LOCALS~1\Temp\cactus\tomcat5x [cactus] Deleted 125 directories from C:\DOCUME~1\DPEE105\LOCALS~1\Temp\cactus\tomcat5x [cactus] log4j:WARN No appenders could be found for logger (org.apache.catalina.startup.Embedded). [cactus] log4j:WARN Please initialize the log4j system properly. [cactus] StandardServer.await: create[8005]: java.net.BindException: Address already in use: JVM_Bind [cactus] java.net.BindException: Address already in use: JVM_Bind [cactus] at java.net.PlainSocketImpl.socketBind(Native Method) [cactus] at java.net.PlainSocketImpl.bind(Unknown Source) [cactus] at java.net.ServerSocket.bind(Unknown Source) [cactus] at java.net.ServerSocket.<init>(Unknown Source) [cactus] at org.apache.catalina.core.StandardServer.await(StandardServer.java:496) [cactus] at org.apache.catalina.startup.Catalina.await(Catalina.java:619) [cactus] at org.apache.catalina.startup.Catalina.start(Catalina.java:579) [cactus] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [cactus] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [cactus] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [cactus] at java.lang.reflect.Method.invoke(Unknown Source) [cactus] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287) [cactus] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425) -----Original Message----- From: Felgenhauer, Florian / DPEE extern [mailto:[email protected]] Sent: Thursday, December 02, 2004 2:17 PM To: '[email protected]' Subject: Parsing of web.xml deployment descriptor failed Even with this simple descriptor <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> </web-app> I got Parsing of web.xml deployment descriptor failed Thanks in advance for any help From [email protected] Fri Dec 3 15:58:16 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 95856 invoked by uid 99); 3 Dec 2004 15:58:16 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from ppd70050.deutschepost.de (HELO ppd70050.deutschepost.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 03 Dec 2004 07:58:14 -0800 Received: from DDAGP114.mimesweeper.intra (unknown [161.129.204.104]) by ppd70050.deutschepost.de (Postfix) with ESMTP id 32CD73FC6 for <[email protected]>; Fri, 3 Dec 2004 16:58:11 +0100 (MET) Received: from ddaah014.DeutschePost.de (unverified) by DDAGP114.mimesweeper.intra (Content Technologies SMTPRS 4.3.17) with ESMTP id <[email protected]> for <[email protected]>; Fri, 3 Dec 2004 16:57:23 +0100 Received: by DDAAH014.DeutschePost.de with Internet Mail Service (5.5.2657.72) id <YD53AKRV>; Fri, 3 Dec 2004 16:57:19 +0100 Message-ID: <[email protected]> From: "Felgenhauer, Florian / DPEE extern" <[email protected]> To: 'Cactus Users List' <[email protected]> Subject: RE: Parsing of web.xml deployment descriptor failed Date: Fri, 3 Dec 2004 16:57:17 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain X-Virus-Checked: Checked Ok used a custom server.xml with a logger. I forgot that I need to set a variable. How can I tell cactus to start tomcat with this -Dcom.dhl.dpst.env=dev -----Original Message----- From: Felgenhauer, Florian / DPEE extern [mailto:[email protected]] Sent: Friday, December 03, 2004 3:59 PM To: 'Cactus Users List' Subject: RE: Parsing of web.xml deployment descriptor failed Just started from beginning with trying the servlet example and ant from within eclipse. First there was a problem with missing jar files for ant and missing jar file in my build.xml. Second there was a problem with eclipse java.home configuration. On Windows I had to add a directory C:/Program Files/Java/lib and put tools.jar into it. On Mac OS X this was not necessary. The example is working! Right now testing my application the tomcat does not come up correctly, I think. Got debug messages like [cactus] Checking if server is up ... [cactus] Failed to connect to http://localhost:8080/dpst-cactified/ServletRedirector?Cactus_Service=RUN_TE ST (null) and a bind exception [cactus] ----------------------------------------------------------------- [cactus] Running tests against Tomcat 5.0.28 [cactus] ----------------------------------------------------------------- [cactus] Deleting 765 files from C:\DOCUME~1\DPEE105\LOCALS~1\Temp\cactus\tomcat5x [cactus] Deleted 125 directories from C:\DOCUME~1\DPEE105\LOCALS~1\Temp\cactus\tomcat5x [cactus] log4j:WARN No appenders could be found for logger (org.apache.catalina.startup.Embedded). [cactus] log4j:WARN Please initialize the log4j system properly. [cactus] StandardServer.await: create[8005]: java.net.BindException: Address already in use: JVM_Bind [cactus] java.net.BindException: Address already in use: JVM_Bind [cactus] at java.net.PlainSocketImpl.socketBind(Native Method) [cactus] at java.net.PlainSocketImpl.bind(Unknown Source) [cactus] at java.net.ServerSocket.bind(Unknown Source) [cactus] at java.net.ServerSocket.<init>(Unknown Source) [cactus] at org.apache.catalina.core.StandardServer.await(StandardServer.java:496) [cactus] at org.apache.catalina.startup.Catalina.await(Catalina.java:619) [cactus] at org.apache.catalina.startup.Catalina.start(Catalina.java:579) [cactus] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [cactus] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [cactus] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [cactus] at java.lang.reflect.Method.invoke(Unknown Source) [cactus] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287) [cactus] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425) -----Original Message----- From: Felgenhauer, Florian / DPEE extern [mailto:[email protected]] Sent: Thursday, December 02, 2004 2:17 PM To: '[email protected]' Subject: Parsing of web.xml deployment descriptor failed Even with this simple descriptor <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> </web-app> I got Parsing of web.xml deployment descriptor failed Thanks in advance for any help --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Dec 3 19:47:11 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 64711 invoked by uid 99); 3 Dec 2004 19:47:11 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF [email protected]) Received: from smtp108.mail.sc5.yahoo.com (HELO smtp108.mail.sc5.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 03 Dec 2004 11:47:08 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp108.mail.sc5.yahoo.com with SMTP; 3 Dec 2004 19:47:05 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]>, "'Nicolas Chalumeau'" <[email protected]> Subject: RE: Failed to start the container Date: Fri, 3 Dec 2004 20:47:02 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: <[email protected]> Thread-Index: AcTZQVjaMfmTEM95Tq6Mue2T6pz+pgAL3Pcw X-Virus-Checked: Checked Hi Nicolas, Cargo *does* support Tomcat 5.5.x -Vincent > -----Original Message----- > From: Nicolas Chalumeau [mailto:[email protected]] > Sent: vendredi 3 d=E9cembre 2004 15:06 > To: Cactus Users List > Subject: Re: Failed to start the container >=20 > Cactus as Cargot doesn't support tomcat-5.5.X > http://cargo.codehaus.org/Tomcat+5.x >=20 > Nicolas >=20 >=20 > On 03 Dec 2004 14:34:34 +0100, Lo=EFc Qu=E9ran <[email protected]> = wrote: > > Hi, > > > > With Maven-1.0.1, cactus-maven-1.6.1, jakarta-tomcat-5.5.1, I get = the > > following error : > > > > [cactus] [DEBUG] Execute:Java13CommandLauncher: Executing > > '/usr/java/j2sdk-1.4.2/jre/bin/java' with arguments: > > '-Dcactus.contextURL=3Dhttp://localhost:8080/justevaleur-cactus' > > '-Dcatalina.home=3D/home/loic/personnel/jakarta-tomcat-5.5.1' > > '-Dcatalina.base=3D/tmp/cactus/tomcat5x' > > '-classpath' > > '/home/loic/personnel/jakarta-tomcat- > 5.5.1/bin/bootstrap.jar:/usr/java/j2sdk-1.4.2/lib/tools.jar' > > 'org.apache.catalina.startup.Bootstrap' > > 'start' > > > > The ' characters around the executable and arguments are > > not part of the command. > > > > [cactus] [DEBUG] Checking if server is up ... > > [cactus] [DEBUG] Failed to connect to > > http://localhost:8080/justevaleur- > cactus/ServletRedirector?Cactus_Service=3DRUN_TEST (Connection = refused) > > > > which is explained by this : > > > > /usr/java/j2sdk-1.4.2/jre/bin/java > > -Dcactus.contextURL=3Dhttp://localhost:8080/justevaleur-cactus > > -Dcatalina.home=3D/home/loic/personnel/jakarta-tomcat-5.5.1 > > -Dcatalina.base=3D/tmp/cactus/tomcat5x -classpath > > /home/loic/personnel/jakarta-tomcat- > 5.5.1/bin/bootstrap.jar:/usr/java/j2sdk-1.4.2/lib/tools.jar > org.apache.catalina.startup.Bootstrap start > > Created MBeanServer with ID: > > 30e280:1009914a6d7:-8000:localhost.localdomain:1 > > Dec 3, 2004 2:18:15 PM org.apache.tomcat.util.digester.Digester > > startElement > > SEVERE: Begin event threw exception > > java.lang.ClassNotFoundException: > > org.apache.coyote.tomcat5.CoyoteConnector > > > > Is the bootstrap.jar supposed to be enough to find other tomacat = 5.5.1 > > jars ? How could I fix this ? > > > > What is more, my cactified war does not appear in my tomcat webapp = dir, > > which seems strange. My maven build.properties for cactus contains = just > > one line : > > > > cactus.home.tomcat5x=3D/home/loic/personnel/jakarta-tomcat-5.5.1 > > > > Any help would be appreciated. > > > > Thanks in advance. > > > > Lo=EFc > > > > = --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] From [email protected] Fri Dec 3 20:04:41 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 15120 invoked by uid 99); 3 Dec 2004 20:04:41 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF [email protected]) Received: from smtp103.mail.sc5.yahoo.com (HELO smtp103.mail.sc5.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 03 Dec 2004 12:04:40 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp103.mail.sc5.yahoo.com with SMTP; 3 Dec 2004 20:04:34 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: Parsing of web.xml deployment descriptor failed Date: Fri, 3 Dec 2004 21:04:30 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: <[email protected]> Thread-Index: AcTZSK00XUiH1JKxQKiHr9TePnyKwQAKm3mA X-Virus-Checked: Checked > -----Original Message----- > From: Felgenhauer, Florian / DPEE extern > [mailto:[email protected]] > Sent: vendredi 3 d=E9cembre 2004 15:59 > To: 'Cactus Users List' > Subject: RE: Parsing of web.xml deployment descriptor failed [snip] > [cactus] StandardServer.await: create[8005]: = java.net.BindException: > Address already in use: JVM_Bind It means a server is already running on port 8005. -Vincent From [email protected] Fri Dec 3 20:09:53 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 37809 invoked by uid 99); 3 Dec 2004 20:09:53 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF [email protected]) Received: from smtp102.mail.sc5.yahoo.com (HELO smtp102.mail.sc5.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 03 Dec 2004 12:09:52 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp102.mail.sc5.yahoo.com with SMTP; 3 Dec 2004 20:09:32 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: Parsing of web.xml deployment descriptor failed Date: Fri, 3 Dec 2004 21:09:30 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: <[email protected]> Thread-Index: AcTZUOoE9sDRdHJOQSehE01iHlMH/QAIkdbw X-Virus-Checked: Checked Hi, See http://jakarta.apache.org/cactus/integration/ant/task_cactus.html=20 As mentioned the Cactus task extends the JUnit task so you can use the sysproperty element. See also http://ant.apache.org/manual Thanks -Vincent > -----Original Message----- > From: Felgenhauer, Florian / DPEE extern > [mailto:[email protected]] > Sent: vendredi 3 d=E9cembre 2004 16:57 > To: 'Cactus Users List' > Subject: RE: Parsing of web.xml deployment descriptor failed >=20 > Ok used a custom server.xml with a logger. >=20 > I forgot that I need to set a variable. >=20 > How can I tell cactus to start tomcat with this >=20 > -Dcom.dhl.dpst.env=3Ddev >=20 > -----Original Message----- > From: Felgenhauer, Florian / DPEE extern > [mailto:[email protected]] > Sent: Friday, December 03, 2004 3:59 PM > To: 'Cactus Users List' > Subject: RE: Parsing of web.xml deployment descriptor failed >=20 > Just started from beginning with trying the servlet example and ant = from > within eclipse. >=20 > First there was a problem with missing jar files for ant and missing = jar > file in my build.xml. >=20 > Second there was a problem with eclipse java.home configuration. On > Windows > I had > to add a directory C:/Program Files/Java/lib and put tools.jar into = it. On > Mac OS X this > was not necessary. >=20 > The example is working! >=20 > Right now testing my application the tomcat does not come up = correctly, I > think. Got debug messages like >=20 > [cactus] Checking if server is up ... > [cactus] Failed to connect to > http://localhost:8080/dpst- > cactified/ServletRedirector?Cactus_Service=3DRUN_TE > ST (null) >=20 > and a bind exception >=20 > [cactus] = ----------------------------------------------------------------- > [cactus] Running tests against Tomcat 5.0.28 > [cactus] > ----------------------------------------------------------------- > [cactus] Deleting 765 files from > C:\DOCUME~1\DPEE105\LOCALS~1\Temp\cactus\tomcat5x > [cactus] Deleted 125 directories from > C:\DOCUME~1\DPEE105\LOCALS~1\Temp\cactus\tomcat5x > [cactus] log4j:WARN No appenders could be found for logger > (org.apache.catalina.startup.Embedded). > [cactus] log4j:WARN Please initialize the log4j system properly. > [cactus] StandardServer.await: create[8005]: = java.net.BindException: > Address already in use: JVM_Bind > [cactus] java.net.BindException: Address already in use: JVM_Bind > [cactus] at java.net.PlainSocketImpl.socketBind(Native Method) > [cactus] at java.net.PlainSocketImpl.bind(Unknown Source) > [cactus] at java.net.ServerSocket.bind(Unknown Source) > [cactus] at java.net.ServerSocket.<init>(Unknown Source) > [cactus] at > org.apache.catalina.core.StandardServer.await(StandardServer.java:496) > [cactus] at > org.apache.catalina.startup.Catalina.await(Catalina.java:619) > [cactus] at > org.apache.catalina.startup.Catalina.start(Catalina.java:579) > [cactus] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native = Method) > [cactus] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown = Source) > [cactus] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown > Source) > [cactus] at java.lang.reflect.Method.invoke(Unknown Source) > [cactus] at > org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287) > [cactus] at > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425) >=20 > -----Original Message----- > From: Felgenhauer, Florian / DPEE extern > [mailto:[email protected]] > Sent: Thursday, December 02, 2004 2:17 PM > To: '[email protected]' > Subject: Parsing of web.xml deployment descriptor failed >=20 > Even with this simple descriptor >=20 > <?xml version=3D"1.0" encoding=3D"ISO-8859-1"?> > <!DOCTYPE web-app > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > "http://java.sun.com/dtd/web-app_2_3.dtd"> >=20 > <web-app> > </web-app> >=20 > I got >=20 > Parsing of web.xml deployment descriptor failed >=20 > Thanks in advance for any help >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] From [email protected] Fri Dec 3 20:38:31 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 26488 invoked by uid 99); 3 Dec 2004 20:38:31 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 03 Dec 2004 12:38:28 -0800 Received: by wproxy.gmail.com with SMTP id 68so279900wri for <[email protected]>; Fri, 03 Dec 2004 12:38:26 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=W1XHJtnS4lEK/kuIjQgU6XVee5ah502WsYuXukERLMiYaZcadQxKfxq91gByYHxjkq23dQs1p/vHmlClKNflXPX0AGT0jrdXDMvZJwPPyNvYhQjbySTbUXeznF8iWxNJmh/UzBY5gcQpFnC4qtR0kVRYb5Z+i/ToURlTeQa58Ek= Received: by 161.129.204.104 with SMTP id z42mr2098684wrz; Fri, 03 Dec 2004 12:38:26 -0800 (PST) Received: by 161.129.204.104 with HTTP; Fri, 3 Dec 2004 12:38:26 -0800 (PST) Message-ID: <[email protected]> Date: Fri, 3 Dec 2004 21:38:26 +0100 From: Nicolas Chalumeau <[email protected]> Reply-To: Nicolas Chalumeau <[email protected]> To: Cactus Users List <[email protected]> Subject: Re: Failed to start the container In-Reply-To: <8889406032338487481@unknownmsgid> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable References: <[email protected]> <8889406032338487481@unknownmsgid> X-Virus-Checked: Checked But it is not in the doc ;-) On Fri, 3 Dec 2004 20:47:02 +0100, Vincent Massol <[email protected]> wro= te: >=20 >=20 > Hi Nicolas, >=20 > Cargo *does* support Tomcat 5.5.x >=20 > -Vincent >=20 > > -----Original Message----- > > From: Nicolas Chalumeau [mailto:[email protected]] > > Sent: vendredi 3 d=E9cembre 2004 15:06 > > To: Cactus Users List > > Subject: Re: Failed to start the container > > > > Cactus as Cargot doesn't support tomcat-5.5.X > > http://cargo.codehaus.org/Tomcat+5.x > > > > Nicolas > > > > > > On 03 Dec 2004 14:34:34 +0100, Lo=EFc Qu=E9ran <[email protected]> wr= ote: > > > Hi, > > > > > > With Maven-1.0.1, cactus-maven-1.6.1, jakarta-tomcat-5.5.1, I get the > > > following error : > > > > > > [cactus] [DEBUG] Execute:Java13CommandLauncher: Executing > > > '/usr/java/j2sdk-1.4.2/jre/bin/java' with arguments: > > > '-Dcactus.contextURL=3Dhttp://localhost:8080/justevaleur-cactus' > > > '-Dcatalina.home=3D/home/loic/personnel/jakarta-tomcat-5.5.1' > > > '-Dcatalina.base=3D/tmp/cactus/tomcat5x' > > > '-classpath' > > > '/home/loic/personnel/jakarta-tomcat- > > 5.5.1/bin/bootstrap.jar:/usr/java/j2sdk-1.4.2/lib/tools.jar' > > > 'org.apache.catalina.startup.Bootstrap' > > > 'start' > > > > > > The ' characters around the executable and arguments are > > > not part of the command. > > > > > > [cactus] [DEBUG] Checking if server is up ... > > > [cactus] [DEBUG] Failed to connect to > > > http://localhost:8080/justevaleur- > > cactus/ServletRedirector?Cactus_Service=3DRUN_TEST (Connection refused) > > > > > > which is explained by this : > > > > > > /usr/java/j2sdk-1.4.2/jre/bin/java > > > -Dcactus.contextURL=3Dhttp://localhost:8080/justevaleur-cactus > > > -Dcatalina.home=3D/home/loic/personnel/jakarta-tomcat-5.5.1 > > > -Dcatalina.base=3D/tmp/cactus/tomcat5x -classpath > > > /home/loic/personnel/jakarta-tomcat- > > 5.5.1/bin/bootstrap.jar:/usr/java/j2sdk-1.4.2/lib/tools.jar > > org.apache.catalina.startup.Bootstrap start > > > Created MBeanServer with ID: > > > 30e280:1009914a6d7:-8000:localhost.localdomain:1 > > > Dec 3, 2004 2:18:15 PM org.apache.tomcat.util.digester.Digester > > > startElement > > > SEVERE: Begin event threw exception > > > java.lang.ClassNotFoundException: > > > org.apache.coyote.tomcat5.CoyoteConnector > > > > > > Is the bootstrap.jar supposed to be enough to find other tomacat 5.5.= 1 > > > jars ? How could I fix this ? > > > > > > What is more, my cactified war does not appear in my tomcat webapp di= r, > > > which seems strange. My maven build.properties for cactus contains ju= st > > > one line : > > > > > > cactus.home.tomcat5x=3D/home/loic/personnel/jakarta-tomcat-5.5.1 > > > > > > Any help would be appreciated. > > > > > > Thanks in advance. > > > > > > Lo=EFc > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [email protected] > > > For additional commands, e-mail: [email protected] > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >=20 > From [email protected] Fri Dec 3 20:58:21 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 61000 invoked by uid 99); 3 Dec 2004 20:58:21 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 03 Dec 2004 12:58:18 -0800 Received: by wproxy.gmail.com with SMTP id 68so282284wri for <[email protected]>; Fri, 03 Dec 2004 12:58:14 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=gJiKKZ5MnLWuY70NFlTx2NK4HdtD6PR3SEyFekEdEIA+wtu17WkW3qjcqHrL0QV5M2caNlFV8ymmWcNS5sI5JSyxJbaGp7eXGyMf7KyPoKx7y6CdlDTyP4fWxKL5qEeaTegJGqxpcSsLjqwGqpdkJ562MOEdiZBvWC9N0/9E5wc= Received: by 161.129.204.104 with SMTP id g66mr901161wrg; Fri, 03 Dec 2004 12:58:14 -0800 (PST) Received: by 161.129.204.104 with HTTP; Fri, 3 Dec 2004 12:58:14 -0800 (PST) Message-ID: <[email protected]> Date: Fri, 3 Dec 2004 21:58:14 +0100 From: Nicolas Chalumeau <[email protected]> Reply-To: Nicolas Chalumeau <[email protected]> To: Cactus Users List <[email protected]> Subject: Re: Failed to start the container In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable References: <[email protected]> <8889406032338487481@unknownmsgid> <[email protected]> X-Virus-Checked: Checked Sorry Vincent : it is now in the doc. But loic, I verify and Cactus doesn't suport tomcat 5.5.X as the maven plugin don't use Cargo at the moment (except if Vincent do the migration before my message was post !) Nicolas >=20 >=20 > On Fri, 3 Dec 2004 20:47:02 +0100, Vincent Massol <[email protected]> w= rote: > > > > > > Hi Nicolas, > > > > Cargo *does* support Tomcat 5.5.x > > > > -Vincent > > > > > -----Original Message----- > > > From: Nicolas Chalumeau [mailto:[email protected]] > > > Sent: vendredi 3 d=E9cembre 2004 15:06 > > > To: Cactus Users List > > > Subject: Re: Failed to start the container > > > > > > Cactus as Cargot doesn't support tomcat-5.5.X > > > http://cargo.codehaus.org/Tomcat+5.x > > > > > > Nicolas > > > > > > > > > On 03 Dec 2004 14:34:34 +0100, Lo=EFc Qu=E9ran <[email protected]> = wrote: > > > > Hi, > > > > > > > > With Maven-1.0.1, cactus-maven-1.6.1, jakarta-tomcat-5.5.1, I get t= he > > > > following error : > > > > > > > > [cactus] [DEBUG] Execute:Java13CommandLauncher: Executing > > > > '/usr/java/j2sdk-1.4.2/jre/bin/java' with arguments: > > > > '-Dcactus.contextURL=3Dhttp://localhost:8080/justevaleur-cactus' > > > > '-Dcatalina.home=3D/home/loic/personnel/jakarta-tomcat-5.5.1' > > > > '-Dcatalina.base=3D/tmp/cactus/tomcat5x' > > > > '-classpath' > > > > '/home/loic/personnel/jakarta-tomcat- > > > 5.5.1/bin/bootstrap.jar:/usr/java/j2sdk-1.4.2/lib/tools.jar' > > > > 'org.apache.catalina.startup.Bootstrap' > > > > 'start' > > > > > > > > The ' characters around the executable and arguments are > > > > not part of the command. > > > > > > > > [cactus] [DEBUG] Checking if server is up ... > > > > [cactus] [DEBUG] Failed to connect to > > > > http://localhost:8080/justevaleur- > > > cactus/ServletRedirector?Cactus_Service=3DRUN_TEST (Connection refuse= d) > > > > > > > > which is explained by this : > > > > > > > > /usr/java/j2sdk-1.4.2/jre/bin/java > > > > -Dcactus.contextURL=3Dhttp://localhost:8080/justevaleur-cactus > > > > -Dcatalina.home=3D/home/loic/personnel/jakarta-tomcat-5.5.1 > > > > -Dcatalina.base=3D/tmp/cactus/tomcat5x -classpath > > > > /home/loic/personnel/jakarta-tomcat- > > > 5.5.1/bin/bootstrap.jar:/usr/java/j2sdk-1.4.2/lib/tools.jar > > > org.apache.catalina.startup.Bootstrap start > > > > Created MBeanServer with ID: > > > > 30e280:1009914a6d7:-8000:localhost.localdomain:1 > > > > Dec 3, 2004 2:18:15 PM org.apache.tomcat.util.digester.Digester > > > > startElement > > > > SEVERE: Begin event threw exception > > > > java.lang.ClassNotFoundException: > > > > org.apache.coyote.tomcat5.CoyoteConnector > > > > > > > > Is the bootstrap.jar supposed to be enough to find other tomacat 5.= 5.1 > > > > jars ? How could I fix this ? > > > > > > > > What is more, my cactified war does not appear in my tomcat webapp = dir, > > > > which seems strange. My maven build.properties for cactus contains = just > > > > one line : > > > > > > > > cactus.home.tomcat5x=3D/home/loic/personnel/jakarta-tomcat-5.5.1 > > > > > > > > Any help would be appreciated. > > > > > > > > Thanks in advance. > > > > > > > > Lo=EFc > > > > > > > > -------------------------------------------------------------------= -- > > > > To unsubscribe, e-mail: [email protected] > > > > For additional commands, e-mail: [email protected]= g > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [email protected] > > > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > From [email protected] Fri Dec 3 21:06:00 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 72681 invoked by uid 99); 3 Dec 2004 21:06:00 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtp016.mail.yahoo.com (HELO smtp016.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 03 Dec 2004 13:05:59 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp016.mail.yahoo.com with SMTP; 3 Dec 2004 21:05:55 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: Failed to start the container Date: Fri, 3 Dec 2004 22:05:53 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: <[email protected]> Thread-Index: AcTZetLa9PUWToHaQ/iobuET0WUW5wAAFA3Q X-Virus-Checked: Checked > -----Original Message----- > From: Nicolas Chalumeau [mailto:[email protected]] > Sent: vendredi 3 d=E9cembre 2004 21:58 > To: Cactus Users List > Subject: Re: Failed to start the container >=20 > Sorry Vincent : it is now in the doc. >=20 > But loic, I verify and Cactus doesn't suport tomcat 5.5.X as the maven > plugin don't use Cargo at the moment (except if Vincent do the > migration before my message was post !) True! ;-)=20 Cactus doesn't support Tomcat 5.5.x yet and the plan is indeed to move Cactus to use Cargo (http://cargo.codehaus.org). I don't have much time right now but I shall be able to do this refactoring around the very end = of this year. Thanks -Vincent >=20 > Nicolas >=20 > > > > > > On Fri, 3 Dec 2004 20:47:02 +0100, Vincent Massol = <[email protected]> > wrote: > > > > > > > > > Hi Nicolas, > > > > > > Cargo *does* support Tomcat 5.5.x > > > > > > -Vincent > > > > > > > -----Original Message----- > > > > From: Nicolas Chalumeau [mailto:[email protected]] > > > > Sent: vendredi 3 d=E9cembre 2004 15:06 > > > > To: Cactus Users List > > > > Subject: Re: Failed to start the container > > > > > > > > Cactus as Cargot doesn't support tomcat-5.5.X > > > > http://cargo.codehaus.org/Tomcat+5.x > > > > > > > > Nicolas > > > > > > > > > > > > On 03 Dec 2004 14:34:34 +0100, Lo=EFc Qu=E9ran = <[email protected]> > wrote: > > > > > Hi, > > > > > > > > > > With Maven-1.0.1, cactus-maven-1.6.1, jakarta-tomcat-5.5.1, I = get > the > > > > > following error : > > > > > > > > > > [cactus] [DEBUG] Execute:Java13CommandLauncher: Executing > > > > > '/usr/java/j2sdk-1.4.2/jre/bin/java' with arguments: > > > > > = '-Dcactus.contextURL=3Dhttp://localhost:8080/justevaleur-cactus' > > > > > '-Dcatalina.home=3D/home/loic/personnel/jakarta-tomcat-5.5.1' > > > > > '-Dcatalina.base=3D/tmp/cactus/tomcat5x' > > > > > '-classpath' > > > > > '/home/loic/personnel/jakarta-tomcat- > > > > 5.5.1/bin/bootstrap.jar:/usr/java/j2sdk-1.4.2/lib/tools.jar' > > > > > 'org.apache.catalina.startup.Bootstrap' > > > > > 'start' > > > > > > > > > > The ' characters around the executable and arguments are > > > > > not part of the command. > > > > > > > > > > [cactus] [DEBUG] Checking if server is up ... > > > > > [cactus] [DEBUG] Failed to connect to > > > > > http://localhost:8080/justevaleur- > > > > cactus/ServletRedirector?Cactus_Service=3DRUN_TEST (Connection > refused) > > > > > > > > > > which is explained by this : > > > > > > > > > > /usr/java/j2sdk-1.4.2/jre/bin/java > > > > > -Dcactus.contextURL=3Dhttp://localhost:8080/justevaleur-cactus > > > > > -Dcatalina.home=3D/home/loic/personnel/jakarta-tomcat-5.5.1 > > > > > -Dcatalina.base=3D/tmp/cactus/tomcat5x -classpath > > > > > /home/loic/personnel/jakarta-tomcat- > > > > 5.5.1/bin/bootstrap.jar:/usr/java/j2sdk-1.4.2/lib/tools.jar > > > > org.apache.catalina.startup.Bootstrap start > > > > > Created MBeanServer with ID: > > > > > 30e280:1009914a6d7:-8000:localhost.localdomain:1 > > > > > Dec 3, 2004 2:18:15 PM = org.apache.tomcat.util.digester.Digester > > > > > startElement > > > > > SEVERE: Begin event threw exception > > > > > java.lang.ClassNotFoundException: > > > > > org.apache.coyote.tomcat5.CoyoteConnector > > > > > > > > > > Is the bootstrap.jar supposed to be enough to find other = tomacat > 5.5.1 > > > > > jars ? How could I fix this ? > > > > > > > > > > What is more, my cactified war does not appear in my tomcat = webapp > dir, > > > > > which seems strange. My maven build.properties for cactus = contains > just > > > > > one line : > > > > > > > > > > = cactus.home.tomcat5x=3D/home/loic/personnel/jakarta-tomcat-5.5.1 > > > > > > > > > > Any help would be appreciated. > > > > > > > > > > Thanks in advance. > > > > > > > > > > Lo=EFc > > > > > > > > > > = ------------------------------------------------------------------ > --- > > > > > To unsubscribe, e-mail: = [email protected] > > > > > For additional commands, e-mail: cactus-user- > [email protected] > > > > > > > > > > > > > > > > > > = -------------------------------------------------------------------- > - > > > > To unsubscribe, e-mail: = [email protected] > > > > For additional commands, e-mail: = [email protected] > > > > > > = --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [email protected] > > > For additional commands, e-mail: = [email protected] > > > > > > > > >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] From [email protected] Sun Dec 5 14:59:45 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 58575 invoked by uid 99); 5 Dec 2004 14:59:45 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from omr2.netsolmail.com (HELO omr2.netsolmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 05 Dec 2004 06:59:43 -0800 Received: from ms2.netsolmail.com (IDENT:mirapoint@[161.129.204.104]) by omr2.netsolmail.com (8.12.10/8.12.10) with ESMTP id iB5ExbG6015360 for <[email protected]>; Sun, 5 Dec 2004 09:59:41 -0500 (EST) Received: from AJAMESHOME (adsl-63-202-172-67.dsl.snfc21.pacbell.net [161.129.204.104]) by ms2.netsolmail.com (Mirapoint Messaging Server MOS 3.2.2-GA) with SMTP id CUT13374; Sun, 5 Dec 2004 09:58:56 -0500 (EST) From: "Arthur James" <[email protected]> To: <[email protected]> Subject: <cactus> ant task does not detect running JBoss server Date: Sun, 5 Dec 2004 07:00:36 -0800 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked Hi, I am running JBoss 3.2.6 with jakarta-cactus-13-1.6.1. The cactus tests are run from ant with the <cactus> task. It works fine when JBoss is not running by launching JBoss, running the tests and shutting down JBoss after the tests are run. However, if JBoss is already running, it does not detect it and tries launch a new version. Has anyone else faced this problem ? Thanks Arthur From [email protected] Sun Dec 5 15:47:54 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 33374 invoked by uid 99); 5 Dec 2004 15:47:54 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF [email protected]) Received: from smtp110.mail.sc5.yahoo.com (HELO smtp110.mail.sc5.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sun, 05 Dec 2004 07:47:53 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp110.mail.sc5.yahoo.com with SMTP; 5 Dec 2004 15:47:50 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: <cactus> ant task does not detect running JBoss server Date: Sun, 5 Dec 2004 16:47:46 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcTa2w+9EYrViL2ASL2D9mPSMN3JZgABlsVA X-Virus-Checked: Checked Hi Arthur, That's probably because of the algorithm used by the <cactus> task. It = tries to call the following URL: http://localhost:[port]/[context]/[servletredirectormapping]?Cactus_Servi= ce=3D RUN_TEST where [context] is the web context of the war you're deploying. If this URL does not return an HTTP response code between 200 and 300 it = is considered that JBoss is not running. Does this answer your question? Thanks -Vincent > -----Original Message----- > From: Arthur James [mailto:[email protected]] > Sent: dimanche 5 d=E9cembre 2004 16:01 > To: [email protected] > Subject: <cactus> ant task does not detect running JBoss server >=20 > Hi, >=20 > I am running JBoss 3.2.6 with jakarta-cactus-13-1.6.1. The cactus = tests > are > run from ant with the <cactus> task. It works fine when JBoss is not > running > by launching JBoss, running the tests and shutting down JBoss after = the > tests are run. However, if JBoss is already running, it does not = detect it > and tries launch a new version. Has anyone else faced this problem ? >=20 > Thanks >=20 > Arthur >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] From [email protected] Sun Dec 5 16:27:48 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 71879 invoked by uid 99); 5 Dec 2004 16:27:48 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from omr1.netsolmail.com (HELO omr1.netsolmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 05 Dec 2004 08:27:46 -0800 Received: from ms2.netsolmail.com (IDENT:mirapoint@[161.129.204.104]) by omr1.netsolmail.com (8.12.10/8.12.10) with ESMTP id iB5GRiTh007201 for <[email protected]>; Sun, 5 Dec 2004 11:27:44 -0500 (EST) Received: from AJAMESHOME (adsl-63-205-185-160.dsl.snfc21.pacbell.net [161.129.204.104]) by ms2.netsolmail.com (Mirapoint Messaging Server MOS 3.2.2-GA) with SMTP id CUT26731; Sun, 5 Dec 2004 11:27:43 -0500 (EST) From: "Arthur James" <[email protected]> To: "Cactus Users List" <[email protected]> Subject: RE: <cactus> ant task does not detect running JBoss server Date: Sun, 5 Dec 2004 08:29:22 -0800 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 In-Reply-To: <[email protected]> X-Virus-Checked: Checked Hi Vincent, I experimented some more and found that if I specify a "startUpWait" it runs the tests correctly when JBoss is already running. However, it still shuts down the server after the tests are run. I noticed some earlier emails on this topic but did not come across a solution. Thanks Arthur -----Original Message----- From: Vincent Massol [mailto:[email protected]] Sent: Sunday, December 05, 2004 7:48 AM To: 'Cactus Users List' Subject: RE: <cactus> ant task does not detect running JBoss server Hi Arthur, That's probably because of the algorithm used by the <cactus> task. It tries to call the following URL: http://localhost:[port]/[context]/[servletredirectormapping]?Cactus_Service= RUN_TEST where [context] is the web context of the war you're deploying. If this URL does not return an HTTP response code between 200 and 300 it is considered that JBoss is not running. Does this answer your question? Thanks -Vincent > -----Original Message----- > From: Arthur James [mailto:[email protected]] > Sent: dimanche 5 décembre 2004 16:01 > To: [email protected] > Subject: <cactus> ant task does not detect running JBoss server > > Hi, > > I am running JBoss 3.2.6 with jakarta-cactus-13-1.6.1. The cactus tests > are > run from ant with the <cactus> task. It works fine when JBoss is not > running > by launching JBoss, running the tests and shutting down JBoss after the > tests are run. However, if JBoss is already running, it does not detect it > and tries launch a new version. Has anyone else faced this problem ? > > Thanks > > Arthur > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Dec 5 16:47:56 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 93961 invoked by uid 99); 5 Dec 2004 16:47:56 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF [email protected]) Received: from smtp101.mail.sc5.yahoo.com (HELO smtp101.mail.sc5.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sun, 05 Dec 2004 08:47:55 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp101.mail.sc5.yahoo.com with SMTP; 5 Dec 2004 16:47:51 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: <cactus> ant task does not detect running JBoss server Date: Sun, 5 Dec 2004 17:47:48 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcTa513YOeXyOaz9SpSJEGE++jlrcwAAjpVQ X-Virus-Checked: Checked > -----Original Message----- > From: Arthur James [mailto:[email protected]] > Sent: dimanche 5 d=E9cembre 2004 17:29 > To: Cactus Users List > Subject: RE: <cactus> ant task does not detect running JBoss server >=20 > Hi Vincent, >=20 > I experimented some more and found that if I specify a "startUpWait" = it > runs > the tests correctly when JBoss is already running.=20 Looking at the source code, there does not seem to be any relationship = with startupWait and detection of a running container. > However, it still shuts > down the server after the tests are run. I noticed some earlier emails = on > this topic but did not come across a solution. The container will be shut down *only* if it wasn't running prior to the cactus tests being executed. Thanks -Vincent >=20 > Thanks >=20 > Arthur >=20 > -----Original Message----- > From: Vincent Massol [mailto:[email protected]] > Sent: Sunday, December 05, 2004 7:48 AM > To: 'Cactus Users List' > Subject: RE: <cactus> ant task does not detect running JBoss server >=20 >=20 > Hi Arthur, >=20 > That's probably because of the algorithm used by the <cactus> task. It > tries > to call the following URL: >=20 > = http://localhost:[port]/[context]/[servletredirectormapping]?Cactus_Servi= c > e=3D > RUN_TEST >=20 > where [context] is the web context of the war you're deploying. >=20 > If this URL does not return an HTTP response code between 200 and 300 = it > is > considered that JBoss is not running. >=20 > Does this answer your question? >=20 > Thanks > -Vincent >=20 > > -----Original Message----- > > From: Arthur James [mailto:[email protected]] > > Sent: dimanche 5 d=E9cembre 2004 16:01 > > To: [email protected] > > Subject: <cactus> ant task does not detect running JBoss server > > > > Hi, > > > > I am running JBoss 3.2.6 with jakarta-cactus-13-1.6.1. The cactus = tests > > are > > run from ant with the <cactus> task. It works fine when JBoss is not > > running > > by launching JBoss, running the tests and shutting down JBoss after = the > > tests are run. However, if JBoss is already running, it does not = detect > it > > and tries launch a new version. Has anyone else faced this problem ? > > > > Thanks > > > > Arthur > > > > > > = --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] From [email protected] Sun Dec 5 18:32:16 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 41241 invoked by uid 99); 5 Dec 2004 18:32:16 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from omr2.netsolmail.com (HELO omr2.netsolmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 05 Dec 2004 10:32:15 -0800 Received: from ms2.netsolmail.com (IDENT:mirapoint@[161.129.204.104]) by omr2.netsolmail.com (8.12.10/8.12.10) with ESMTP id iB5IWAG6011958 for <[email protected]>; Sun, 5 Dec 2004 13:32:10 -0500 (EST) Received: from AJAMESHOME (adsl-68-120-154-176.dsl.snfc21.pacbell.net [161.129.204.104]) by ms2.netsolmail.com (Mirapoint Messaging Server MOS 3.2.2-GA) with SMTP id CUT46384; Sun, 5 Dec 2004 13:32:08 -0500 (EST) From: "Arthur James" <[email protected]> To: "Cactus Users List" <[email protected]> Subject: RE: <cactus> ant task does not detect running JBoss server Date: Sun, 5 Dec 2004 10:33:48 -0800 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 In-Reply-To: <[email protected]> X-Virus-Checked: Checked Vincent, The JBoss server is up and running initially with nothing deployed. Then the tests are run using the <cactus> task. At the end of this scenario, it still shuts down the server. Is this expected behavior ? Thanks Arthur -----Original Message----- From: Vincent Massol [mailto:[email protected]] Sent: Sunday, December 05, 2004 8:48 AM To: 'Cactus Users List' Subject: RE: <cactus> ant task does not detect running JBoss server > -----Original Message----- > From: Arthur James [mailto:[email protected]] > Sent: dimanche 5 décembre 2004 17:29 > To: Cactus Users List > Subject: RE: <cactus> ant task does not detect running JBoss server > > Hi Vincent, > > I experimented some more and found that if I specify a "startUpWait" it > runs > the tests correctly when JBoss is already running. Looking at the source code, there does not seem to be any relationship with startupWait and detection of a running container. > However, it still shuts > down the server after the tests are run. I noticed some earlier emails on > this topic but did not come across a solution. The container will be shut down *only* if it wasn't running prior to the cactus tests being executed. Thanks -Vincent > > Thanks > > Arthur > > -----Original Message----- > From: Vincent Massol [mailto:[email protected]] > Sent: Sunday, December 05, 2004 7:48 AM > To: 'Cactus Users List' > Subject: RE: <cactus> ant task does not detect running JBoss server > > > Hi Arthur, > > That's probably because of the algorithm used by the <cactus> task. It > tries > to call the following URL: > > http://localhost:[port]/[context]/[servletredirectormapping]?Cactus_Servic > e= > RUN_TEST > > where [context] is the web context of the war you're deploying. > > If this URL does not return an HTTP response code between 200 and 300 it > is > considered that JBoss is not running. > > Does this answer your question? > > Thanks > -Vincent > > > -----Original Message----- > > From: Arthur James [mailto:[email protected]] > > Sent: dimanche 5 décembre 2004 16:01 > > To: [email protected] > > Subject: <cactus> ant task does not detect running JBoss server > > > > Hi, > > > > I am running JBoss 3.2.6 with jakarta-cactus-13-1.6.1. The cactus tests > > are > > run from ant with the <cactus> task. It works fine when JBoss is not > > running > > by launching JBoss, running the tests and shutting down JBoss after the > > tests are run. However, if JBoss is already running, it does not detect > it > > and tries launch a new version. Has anyone else faced this problem ? > > > > Thanks > > > > Arthur > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Dec 5 19:02:53 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 76751 invoked by uid 99); 5 Dec 2004 19:02:53 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF [email protected]) Received: from smtp108.mail.sc5.yahoo.com (HELO smtp108.mail.sc5.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sun, 05 Dec 2004 11:02:52 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp108.mail.sc5.yahoo.com with SMTP; 5 Dec 2004 19:02:48 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: <cactus> ant task does not detect running JBoss server Date: Sun, 5 Dec 2004 20:02:44 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcTa+MVLsc3jJSKlTNCoH4ucMs3GuAAA8J9Q X-Virus-Checked: Checked Arthur, > -----Original Message----- > From: Arthur James [mailto:[email protected]] > Sent: dimanche 5 d=E9cembre 2004 19:34 > To: Cactus Users List > Subject: RE: <cactus> ant task does not detect running JBoss server >=20 > Vincent, >=20 > The JBoss server is up and running initially with nothing deployed.=20 As I mentioned in a previous answer to your email, this scenario is not supported with the <cactus> task as it would check for a specific URL = (which I mentioned in the mail). If nothing is deployed this URL will fail and Cactus will think JBoss is not deployed.=20 You have to realize that <cactus> does not support hot deployment of WAR = so if JBoss is up but without your cactified WAR, then it won't work. In the future, we plan to support this by using Cargo (http://cargo.codehaus.org which will soon support hot deployments). > Then > the > tests are run using the <cactus> task. At the end of this scenario, it > still > shuts down the server. Is this expected behavior ? >=20 [snip] Thanks -Vincent From [email protected] Mon Dec 6 14:35:12 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 72938 invoked by uid 99); 6 Dec 2004 14:35:12 -0000 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_40_50,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from web52204.mail.yahoo.com (HELO web52204.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 06 Dec 2004 06:35:11 -0800 Received: (qmail 99884 invoked by uid 60001); 6 Dec 2004 14:35:08 -0000 Message-ID: <[email protected]> Received: from [161.129.204.104] by web52204.mail.yahoo.com via HTTP; Tue, 07 Dec 2004 01:35:08 EST Date: Tue, 7 Dec 2004 01:35:08 +1100 (EST) From: hossein rahmani <[email protected]> Reply-To: [email protected] Subject: cactus+ear To: cactus mailist <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1200023886-1102343708=:99147" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked --0-1200023886-1102343708=:99147 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit I want to create an ear file. Is there a CactifyEar ? Or can I use something like this? <cactifywar srcfile="${target.dir}/${project.name.file}.ear" destfile="${target.dir}/test.ear" mergewebxml="${src.webapp.dir}/WEB-INF/cactus-web.xml"> --------------------------------- Find local movie times and trailers on Yahoo! Movies. --0-1200023886-1102343708=:99147-- From [email protected] Mon Dec 6 14:44:34 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 95579 invoked by uid 99); 6 Dec 2004 14:44:34 -0000 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_30_40,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from web52207.mail.yahoo.com (HELO web52207.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 06 Dec 2004 06:44:34 -0800 Received: (qmail 52277 invoked by uid 60001); 6 Dec 2004 14:44:31 -0000 Message-ID: <[email protected]> Received: from [161.129.204.104] by web52207.mail.yahoo.com via HTTP; Tue, 07 Dec 2004 01:44:30 EST Date: Tue, 7 Dec 2004 01:44:30 +1100 (EST) From: hossein rahmani <[email protected]> Reply-To: [email protected] Subject: cactus+ejb+hibernate To: cactus mailist <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-2067163697-1102344270=:52168" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked --0-2067163697-1102344270=:52168 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Dear all I have no problem when i test the modules <i mean web module , ejb module and service module which is hiberbate here> indepently , But how i can test all of them together in the one module which is called ear . Everybody who has ant builder ,or can help me in making ear file and pass that ear file as argument to the 'cactus ant task' ,Please help me , Thanks --------------------------------- Find local movie times and trailers on Yahoo! Movies. --0-2067163697-1102344270=:52168-- From [email protected] Mon Dec 6 14:46:30 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 3890 invoked by uid 99); 6 Dec 2004 14:46:30 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF [email protected]) Received: from smtp105.mail.sc5.yahoo.com (HELO smtp105.mail.sc5.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 06 Dec 2004 06:46:22 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp105.mail.sc5.yahoo.com with SMTP; 6 Dec 2004 14:45:33 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: cactus+ear Date: Mon, 6 Dec 2004 15:45:02 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcTboM/BUkG5Mm/LRQ6b4icCGnzs6wAAPXsw X-Virus-Checked: Checked There is no cactifyear available you have to use cactifywar and then = create your EAR. That said if you're using Maven there is a cactify ear goal. What you've written below won't work. -Vincent > -----Original Message----- > From: hossein rahmani [mailto:[email protected]] > Sent: lundi 6 d=E9cembre 2004 15:35 > To: cactus mailist > Subject: cactus+ear >=20 > I want to create an ear file. > Is there a CactifyEar ? > Or can I use something like this? >=20 > <cactifywar srcfile=3D"${target.dir}/${project.name.file}.ear" > destfile=3D"${target.dir}/test.ear" > mergewebxml=3D"${src.webapp.dir}/WEB-INF/cactus-web.xml"> >=20 >=20 >=20 > --------------------------------- > Find local movie times and trailers on Yahoo! Movies. From [email protected] Mon Dec 6 15:12:04 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 82222 invoked by uid 99); 6 Dec 2004 15:12:04 -0000 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_40_50,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from web52209.mail.yahoo.com (HELO web52209.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 06 Dec 2004 07:12:03 -0800 Received: (qmail 54849 invoked by uid 60001); 6 Dec 2004 15:12:01 -0000 Message-ID: <[email protected]> Received: from [161.129.204.104] by web52209.mail.yahoo.com via HTTP; Tue, 07 Dec 2004 02:12:01 EST Date: Tue, 7 Dec 2004 02:12:01 +1100 (EST) From: hossein rahmani <[email protected]> Reply-To: [email protected] Subject: cactus+ejb+hibernate To: cactus mailist <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1479627132-1102345921=:54818" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked --0-1479627132-1102345921=:54818 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit hi, can we cactify a war file , then copy it in the ear file ,which include jar file <for ejb module> and sar file <for hibernate module> and then pass the address of ear file to the cactus ant task for example <cactus earfile="${target.dir}/hospital-cactified.ear" fork="yes" failureproperty="tests.failed" haltonerror="false" > bye --------------------------------- Find local movie times and trailers on Yahoo! Movies. --0-1479627132-1102345921=:54818-- From [email protected] Mon Dec 6 15:16:41 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 95332 invoked by uid 99); 6 Dec 2004 15:16:41 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=MIME_QP_LONG_LINE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail2.cbc-companies.com (HELO mail2.cbc-companies.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 06 Dec 2004 07:16:40 -0800 Received: from emailsurf (avenue.cbc-companies.com [161.129.204.104]) by mail2.cbc-companies.com (8.12.10/8.12.6) with ESMTP id iB6FGb5E018009 for <[email protected]>; Mon, 6 Dec 2004 10:16:37 -0500 Received: from Unknown [161.129.204.104] by emailsurf - SurfControl E-mail Filter (4.7); Mon, 06 Dec 2004 10:21:34 -0500 Message-ID: <[email protected]> From: "Mark Lybarger" <[email protected]> To: "Cactus Users List" <[email protected]> Date: Mon, 6 Dec 2004 10:16:35 -0500 Subject: RE: cactus+ejb+hibernate MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 X-MS-Has-Attach: X-MS-TNEF-Correlator: content-class: urn:content-classes:message Thread-Topic: cactus+ejb+hibernate Thread-Index: AcTbpfTtdBOhHrmbSsOrPaOxx4gbXQAAG/gw X-Virus-Checked: Checked hossein, we only test ejb's with cactus. we use cactus within an ear as such: 1. create ejb-jar file. 2. create cactified war file. 3. create ear with ejb-jar and cactified war. =20 4. use ant integration or browser integration to call cactified war to test= beans. for ant integration, we use the following: <cactus fork=3D"yes" earfile=3D"${basedir.ejb.build}/ejb.ear" printsummary=3D= "yes" failureproperty=3D"tests.failed"> =2E.. </cactus> > -----Original Message----- > From: hossein rahmani [mailto:[email protected]] > Sent: Monday, December 06, 2004 10:12 AM > To: cactus mailist > Subject: cactus+ejb+hibernate >=20 >=20 > hi, > can we cactify a war file , then copy it in the ear file=20 > ,which include jar file <for ejb module> and sar file <for=20 > hibernate module> > and then pass the address of ear file to the cactus ant task=20 > =20 > for example=20 > <cactus earfile=3D"${target.dir}/hospital-cactified.ear" > fork=3D"yes" failureproperty=3D"tests.failed"=20 > haltonerror=3D"false" > > =20 > bye >=20 >=20 >=20 > --------------------------------- > Find local movie times and trailers on Yahoo! Movies. >=20 From [email protected] Tue Dec 7 11:35:42 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 91900 invoked by uid 99); 7 Dec 2004 11:35:42 -0000 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_60_70,HTML_MESSAGE,URIBL_SC_SURBL X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from web52207.mail.yahoo.com (HELO web52207.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 07 Dec 2004 03:35:41 -0800 Received: (qmail 31659 invoked by uid 60001); 7 Dec 2004 11:35:37 -0000 Message-ID: <[email protected]> Received: from [161.129.204.104] by web52207.mail.yahoo.com via HTTP; Tue, 07 Dec 2004 22:35:37 EST Date: Tue, 7 Dec 2004 22:35:37 +1100 (EST) From: hossein rahmani <[email protected]> Reply-To: [email protected] Subject: is There anyone>? To: cactus mailist <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1665971351-1102419337=:28696" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked --0-1665971351-1102419337=:28696 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit --------------------------------- Find local movie times and trailers on Yahoo! Movies. --0-1665971351-1102419337=:28696-- From [email protected] Tue Dec 7 11:35:43 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 91907 invoked by uid 99); 7 Dec 2004 11:35:43 -0000 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_60_70,HTML_MESSAGE,URIBL_SC_SURBL X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from web52208.mail.yahoo.com (HELO web52208.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 07 Dec 2004 03:35:40 -0800 Received: (qmail 68188 invoked by uid 60001); 7 Dec 2004 11:35:38 -0000 Message-ID: <[email protected]> Received: from [161.129.204.104] by web52208.mail.yahoo.com via HTTP; Tue, 07 Dec 2004 22:35:38 EST Date: Tue, 7 Dec 2004 22:35:38 +1100 (EST) From: hossein rahmani <[email protected]> Reply-To: [email protected] Subject: is There anyone>? To: cactus mailist <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1024236887-1102419338=:66463" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked --0-1024236887-1102419338=:66463 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit --------------------------------- Find local movie times and trailers on Yahoo! Movies. --0-1024236887-1102419338=:66463-- From [email protected] Tue Dec 7 11:37:31 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 97350 invoked by uid 99); 7 Dec 2004 11:37:31 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from eucrwmsw.cpships.com (HELO eucrwmsw.cpships.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Dec 2004 03:37:29 -0800 Received: from CRWEXFE02.ad.cpships.corp (unverified) by eucrwmsw.cpships.com (Content Technologies SMTPRS 4.3.14) with ESMTP id <[email protected]>; Tue, 7 Dec 2004 11:40:59 +0000 Received: from CRWEXBE01.ad.cpships.corp ([161.129.204.104]) by CRWEXFE02.ad.cpships.corp with Microsoft SMTPSVC (6.0.3790.0); Tue, 7 Dec 2004 11:38:23 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: is There anyone>? Date: Tue, 7 Dec 2004 11:37:29 -0000 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: is There anyone>? Thread-Index: AcTcUPATW05GY9qfTTKFjq96cIOzmQAAChtQ From: "Sharma, Indushekhar" <[email protected]> To: "Cactus Users List" <[email protected]>, <[email protected]> X-OriginalArrivalTime: 07 Dec 2004 11:38:23.0515 (UTC) FILETIME=[423FB6B0:01C4DC51] X-Virus-Checked: Checked why -----Original Message----- From: hossein rahmani [mailto:[email protected]] Sent: Tuesday, December 07, 2004 5:06 PM To: cactus mailist Subject: is There anyone>? =20 --------------------------------- Find local movie times and trailers on Yahoo! Movies. "This email and any files transmitted with it are confidential and are inte= nded solely for the use of the individual or entity to whom they are addres= sed. This communication represents the originator's personal views and opin= ions, which do not necessarily reflect those of CP Ships. If you are not th= e intended recipient or the person responsible for delivering the email to = the intended recipient, be advised that you have received this email in err= or, and that any use, dissemination, forward, printing, or copying of this = email is strictly prohibited. If you received this email in error, please i= mmediately notify the CP Ships Help Desk on +1-505-472-7563 if dialling from= Europe, or +1-505-472-7563 from US and Canada. Any personal data attached to or included in this email is being treated in= accordance with the provisions of the CP Ships Personal Data Protection Po= licy, a copy of which is available upon request from the sender. The recip= ient must comply with the provisions of any data protection legislation in = force, in particular the requirement that they take appropriate technical a= nd organisational measures against unauthorised or unlawful processing of t= his data." From [email protected] Tue Dec 7 11:40:07 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 444 invoked by uid 99); 7 Dec 2004 11:40:07 -0000 X-ASF-Spam-Status: No, hits=4.2 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_30_40,HTML_MESSAGE,URIBL_SC_SURBL X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from web52207.mail.yahoo.com (HELO web52207.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 07 Dec 2004 03:40:07 -0800 Received: (qmail 32700 invoked by uid 60001); 7 Dec 2004 11:40:05 -0000 Message-ID: <[email protected]> Received: from [161.129.204.104] by web52207.mail.yahoo.com via HTTP; Tue, 07 Dec 2004 22:40:05 EST Date: Tue, 7 Dec 2004 22:40:05 +1100 (EST) From: hossein rahmani <[email protected]> Reply-To: [email protected] Subject: anyone? To: cactus mailist <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-2097892207-1102419605=:31912" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked --0-2097892207-1102419605=:31912 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi all, I wanna to know if there is somebody ,who uses CactusStrutsTestCase for testing the struts framework and in the struts ,it has interactions with ejb tier ? The problem is that :when we make the cactus to come up and deploy my jboss , we must also force it to deploy other modules ,such as ejb modules and hibernate modules,!!!! I search all the Internet and in all of them i just see hardCode in the struts code,There were no interaction with other tiers!!!!JUST HARD CODE SAMPLE IS AVAILABLE IN INTERNET!!!!! bye --------------------------------- Find local movie times and trailers on Yahoo! Movies. --0-2097892207-1102419605=:31912-- From [email protected] Tue Dec 7 12:39:19 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 14103 invoked by uid 99); 7 Dec 2004 12:39:19 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtp015.mail.yahoo.com (HELO smtp015.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 07 Dec 2004 04:39:16 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp015.mail.yahoo.com with SMTP; 7 Dec 2004 12:38:52 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: anyone? Date: Tue, 7 Dec 2004 13:36:11 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <[email protected]> thread-index: AcTcUYJQbk1BeVRiQ5m/naChOjRXFgAB2MiA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked I have already answered to you on this point but you don't seem to care about my answers... Please stay polite (no need to shout) and help = yourself. If you wish to have some custom support, please consider hiring services from someone. We're all a bunch of volunteers here working our free time. If Cactus is just too complex for you, don't use it, nobody is forcing = you to use it... Thanks -Vincent > -----Original Message----- > From: hossein rahmani [mailto:[email protected]] > Sent: mardi 7 d=E9cembre 2004 12:40 > To: cactus mailist > Subject: anyone? >=20 > Hi all, > I wanna to know if there is somebody ,who uses = CactusStrutsTestCase > for testing the struts framework and in the struts ,it has = interactions > with ejb tier ? > The problem is that :when we make the cactus to come up and deploy = my > jboss , we must also force it to deploy other modules ,such as ejb = modules > and hibernate modules,!!!! > I search all the Internet and in all of them i just see hardCode in = the > struts code,There were no interaction with other tiers!!!!JUST HARD = CODE > SAMPLE IS AVAILABLE IN INTERNET!!!!! >=20 > bye >=20 >=20 >=20 > --------------------------------- > Find local movie times and trailers on Yahoo! Movies. From [email protected] Tue Dec 7 14:11:00 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 42974 invoked by uid 99); 7 Dec 2004 14:11:00 -0000 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_FONT_BIG,HTML_MESSAGE,MIME_HTML_NO_CHARSET X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from param.aztec.soft.net (HELO param.aztec.soft.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Dec 2004 06:10:58 -0800 Received: from maya.aztec.soft.net (maya.aztec.soft.net [161.129.204.104]) by param.aztec.soft.net (8.12.8/) with ESMTP id iB7Dx682027843 for <[email protected]>; Tue, 7 Dec 2004 19:33:21 +0530 Received: by maya.aztec.soft.net with Internet Mail Service (5.5.2653.19) id <YJPPJ0CG>; Tue, 7 Dec 2004 17:15:14 +0530 Message-ID: <[email protected]> From: Venu Sunil Boyireddy <[email protected]> To: [email protected] Subject: Help bundling Servlet Test cases Date: Tue, 7 Dec 2004 17:15:14 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4DC52.37408220" X-Virus-Checked: Checked ------_=_NextPart_001_01C4DC52.37408220 Content-Type: text/plain Hi, I'm using Cactus to test servlets and JSPs in my applicaiton. I have done with samples and sample suites. It works fine. Now I wanted to bundle all the test cases, or I need to come out with frame work where the testcases takes parameters from external files. please suggest me how to do this. Thanks in advance. Sunil ------_=_NextPart_001_01C4DC52.37408220-- From [email protected] Tue Dec 7 14:15:52 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 62153 invoked by uid 99); 7 Dec 2004 14:15:52 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail2.cbc-companies.com (HELO mail2.cbc-companies.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Dec 2004 06:15:49 -0800 Received: from emailsurf (avenue.cbc-companies.com [161.129.204.104]) by mail2.cbc-companies.com (8.12.10/8.12.6) with ESMTP id iB7EFf5E023319 for <[email protected]>; Tue, 7 Dec 2004 09:15:41 -0500 Received: from Unknown [161.129.204.104] by emailsurf - SurfControl E-mail Filter (4.7); Tue, 07 Dec 2004 09:20:40 -0500 Message-ID: <[email protected]> From: "Mark Lybarger" <[email protected]> To: "Cactus Users List" <[email protected]> Date: Tue, 7 Dec 2004 09:18:00 -0500 Subject: RE: Help bundling Servlet Test cases MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 X-MS-Has-Attach: X-MS-TNEF-Correlator: content-class: urn:content-classes:message Thread-Topic: Help bundling Servlet Test cases Thread-Index: AcTcZwjZIEnu5DpmR7Sfdo44xE2XqAAACs+w X-Virus-Checked: Checked what type of external parameters do your tests require? how many of them? = you have a couple of options with the java framework. we use system properties to run our http unit tests. this can over ride th= e location of the server, port number and such to run the tests against. i= t also allows us to set login user/password parameters that are needed to a= ccess the application. we keep these to a minimum. you can also use a properties file to load properties for running your test= s.=20 hth. > -----Original Message----- > From: Venu Sunil Boyireddy [mailto:[email protected]] > Sent: Tuesday, December 07, 2004 6:45 AM > To: [email protected] > Subject: Help bundling Servlet Test cases >=20 >=20 > Hi, >=20 > =20 >=20 > I'm using Cactus to test servlets and JSPs in my applicaiton.=20 > I have done > with samples and sample suites. It works fine. >=20 > =20 >=20 > Now I wanted to bundle all the test cases, or I need to come=20 > out with frame > work where the testcases takes parameters from external files. >=20 > =20 >=20 > please suggest me how to do this. >=20 > =20 >=20 > Thanks in advance. >=20 > =20 >=20 > Sunil >=20 >=20 From [email protected] Tue Dec 7 14:16:28 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 63603 invoked by uid 99); 7 Dec 2004 14:16:28 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mx5.kent.ac.uk (HELO mx5.kent.ac.uk) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Dec 2004 06:16:27 -0800 Received: from apophis.ukc.ac.uk ([161.129.204.104]) by mx5.kent.ac.uk with esmtp (Exim 4.42) id 1Cbg8V-0005qa-AX for [email protected]; Tue, 07 Dec 2004 14:16:15 +0000 Received: from raptor.ukc.ac.uk ([161.129.204.104] ident=exim) by apophis.ukc.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.42) id 1Cbg8V-00049P-8F for [email protected]; Tue, 07 Dec 2004 14:16:15 +0000 Received: from stue61a.kent.ac.uk ([161.129.204.104] helo=[161.129.204.104]) by raptor.ukc.ac.uk with esmtp (Exim 4.42) id 1Cbg8U-0000qT-Vy for [email protected]; Tue, 07 Dec 2004 14:16:15 +0000 Message-ID: <[email protected]> Date: Tue, 07 Dec 2004 14:18:16 +0000 From: Cumbers <[email protected]> User-Agent: Mozilla Thunderbird 0.9 (X11/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Cactus Users List <[email protected]> Subject: Re: Help bundling Servlet Test cases References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-UKC-Mail-System: No virus detected X-UKC-SpamCheck: X-UKC-MailScanner-From: [email protected] X-Virus-Checked: Checked bundle all the test cases? What does this mean? Is it me or is this request for help very unclear? Hint: If people want help, write out in full what the problem is, include information that is relevant. Maybe then other members of the list will answer your quesions in a satisfactory manner to you. Cheers Rich > > Now I wanted to bundle all the test cases, or I need to come out with frame > work where the testcases takes parameters from external files. > From [email protected] Tue Dec 7 18:38:06 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 55918 invoked by uid 99); 7 Dec 2004 18:38:06 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from llsa379-a01.servidoresdns.net (HELO smtp-01.servidoresdns.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Dec 2004 10:38:04 -0800 Received: from pedro1 (unknown [161.129.204.104]) by smtp-01.servidoresdns.net (Postfix) with ESMTP id 3BD9B39E340 for <[email protected]>; Tue, 7 Dec 2004 19:38:00 +0100 (CET) From: "Pedro Nevado" <[email protected]> To: "Cactus Users List" <[email protected]> Subject: RE: anyone? Date: Tue, 7 Dec 2004 19:38:47 +0100 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <[email protected]> Importance: Normal X-Virus-Checked: Checked Hi there, Hossein, I am using Struts, Hibernate and Cactus. Frankly, I do not understand your problem, perhaps because I did not pay much attention until the last one of your mails. As a container, I began to use JBoss/Tomcat, but to simplify the architecture, at least in the first stage of the project, I am using now Tomcat 5.0.28. No problem at all with testing Struts (only with plain Cactus) and Hibernate. I can be more specific, if you are. Regards, Pedro Nevado -----Mensaje original----- De: Vincent Massol [mailto:[email protected]] Enviado el: martes, 07 de diciembre de 2004 13:36 Para: 'Cactus Users List' Asunto: RE: anyone? I have already answered to you on this point but you don't seem to care about my answers... Please stay polite (no need to shout) and help yourself. If you wish to have some custom support, please consider hiring services from someone. We're all a bunch of volunteers here working our free time. If Cactus is just too complex for you, don't use it, nobody is forcing you to use it... Thanks -Vincent > -----Original Message----- > From: hossein rahmani [mailto:[email protected]] > Sent: mardi 7 décembre 2004 12:40 > To: cactus mailist > Subject: anyone? > > Hi all, > I wanna to know if there is somebody ,who uses CactusStrutsTestCase > for testing the struts framework and in the struts ,it has interactions > with ejb tier ? > The problem is that :when we make the cactus to come up and deploy my > jboss , we must also force it to deploy other modules ,such as ejb modules > and hibernate modules,!!!! > I search all the Internet and in all of them i just see hardCode in the > struts code,There were no interaction with other tiers!!!!JUST HARD CODE > SAMPLE IS AVAILABLE IN INTERNET!!!!! > > bye > > > > --------------------------------- > Find local movie times and trailers on Yahoo! Movies. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Dec 7 18:39:38 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 60728 invoked by uid 99); 7 Dec 2004 18:39:38 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Dec 2004 10:39:36 -0800 Received: by wproxy.gmail.com with SMTP id 58so264310wri for <[email protected]>; Tue, 07 Dec 2004 10:39:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=m7XmC64vwp9nCA2uXwywf+0g153iB71CePBRsGPOhoYhPFe81+EnHGdx9VFKRt2zRe9A9+vwe5XZ9wC9QfGXn6gZss495+zIkk9+c5uOKX0nFsEX03A16C2eNi+06bhVPJpNjbEi0HsUUPT/pkuoOFyL0ISTvxkehyRPxpePvJ0= Received: by 161.129.204.104 with SMTP id m9mr643512wrm; Tue, 07 Dec 2004 10:38:41 -0800 (PST) Received: by 161.129.204.104 with HTTP; Tue, 7 Dec 2004 10:38:40 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 7 Dec 2004 10:38:40 -0800 From: Kaushal Zagade <[email protected]> Reply-To: Kaushal Zagade <[email protected]> To: [email protected] Subject: cactus and webphere - urgent please Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked Hello Sheldon, I need some help on Jakarta Cactus with wsad 5.1.2 and RAD 6.0. I have to test some EJBs with wsad 5.1.2 ( on was 5.1 test environment) and RAD 6.0 (on WAS 6.0 Test Environment). I found a tutorial written by Sheldon Wosnick http://www-106.ibm.com/developerworks/websphere/techjournal/0206_wosnick/wosnick.html#cactus on cactus and WSAD which is very helpful and easy to understand. After building the three projects as you have mentioned in your tutorial viz. (EJB, Client, Web) and changing the web.xml and adding the cactus.properties file I ran the test on WAS 5.1 and WAS 6.0 server (Test Enviroment - port 9080). Started the Server in non-debug mode. Selected the EJBServletTestCase.java file. Run => JUnit/Java Application. the error it gave was: testHelloWorld3(test.EJBServletTestCase): org.apache.commons.httpclient.HttpRecoverableException:Error in parsing the status line from the response:unable to find the line starting with "HTTP". same for the other two test cases..... the cactus binaries that i have downloaded are: aspectjrt-1.1.1.jar cactus-1.6.jar cactus-ant-1.6.jar commons-httpclient-2.0.jar commons-logging-1.0.3.jar httpunit-1.5.4.jar junit-3.8.1.jar log4j-1.2.9.jar - (i downloaded it seperately as it did not come in the zip file for the cactus binaries.) nekohtml-0.7.4.jar servletrapi-2.3.jar I would really appreciate any help as to what might be going wrong on my side. Thank you. Kaushal From [email protected] Tue Dec 7 18:52:47 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 97440 invoked by uid 99); 7 Dec 2004 18:52:47 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from Unknown (HELO snoopy.mg.unitech.com.br) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Dec 2004 10:52:46 -0800 Received: from vandersantiago ([161.129.204.104]) by snoopy.mg.unitech.com.br (8.12.8/8.12.8) with SMTP id iB7J5n3F003168; Tue, 7 Dec 2004 17:05:51 -0200 Message-ID: <[email protected]> From: "vandersantiago" <[email protected]> To: "Cactus Users List" <[email protected]> Cc: "Cactus Users List" <[email protected]> References: <[email protected]> Subject: Re: cactus and webphere - urgent please Date: Tue, 7 Dec 2004 16:56:52 -0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Checked: Checked hi friends, Im use cactus with browser, and i need to send email automatic to person who write the code with error´. Vander. ----- Original Message ----- From: "Kaushal Zagade" <[email protected]> To: <[email protected]> Sent: Tuesday, December 07, 2004 3:38 PM Subject: cactus and webphere - urgent please > Hello Sheldon, > > I need some help on Jakarta Cactus with wsad 5.1.2 and RAD 6.0. > > I have to test some EJBs with wsad 5.1.2 ( on was 5.1 test > environment) and RAD 6.0 (on WAS 6.0 Test Environment). I found a > tutorial written by Sheldon Wosnick > > http://www-106.ibm.com/developerworks/websphere/techjournal/0206_wosnick/wos nick.html#cactus > > on cactus and WSAD which is very helpful and easy to understand. > After building the three projects as you have mentioned in your > tutorial viz. (EJB, Client, Web) and changing the web.xml and adding > the cactus.properties file I ran the test on WAS 5.1 and WAS 6.0 > server (Test Enviroment - port 9080). > > Started the Server in non-debug mode. > Selected the EJBServletTestCase.java file. > Run => JUnit/Java Application. > > the error it gave was: > > testHelloWorld3(test.EJBServletTestCase): > org.apache.commons.httpclient.HttpRecoverableException:Error in > parsing the status line from the response:unable to find the line > starting with "HTTP". > > same for the other two test cases..... > > > the cactus binaries that i have downloaded are: > > aspectjrt-1.1.1.jar > cactus-1.6.jar > cactus-ant-1.6.jar > commons-httpclient-2.0.jar > commons-logging-1.0.3.jar > httpunit-1.5.4.jar > junit-3.8.1.jar > log4j-1.2.9.jar - (i downloaded it seperately as it did not come in > the zip file for the cactus binaries.) > nekohtml-0.7.4.jar > servletrapi-2.3.jar > > I would really appreciate any help as to what might be going wrong on my side. > > Thank you. > > Kaushal > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] From [email protected] Tue Dec 7 19:09:18 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 39032 invoked by uid 99); 7 Dec 2004 19:09:18 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=HTML_40_50,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from firewall1779.fiserv.com (HELO Mail1.Fiserv.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Dec 2004 11:09:16 -0800 Received: from des10ms01.fais.com ([161.129.204.104]) by Mail1.Fiserv.com (Switch-3.1.2/Switch-3.1.2) with ESMTP id WB7J18E6G00001D34 for <[email protected]>; Tue, 07 Dec 2004 13:08:51 -0600 Received: by DES10MS01 with Internet Mail Service (5.5.2653.19) id <YNN0WL2C>; Tue, 7 Dec 2004 13:07:13 -0600 Message-ID: <0205C50D41B7D611AEA50002A537CEC20165A5AB@DES10MS01> From: "Korver, Aaron" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: cactus and webphere - urgent please Date: Tue, 7 Dec 2004 13:07:13 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4DC8F.F57DC170" X-Virus-Checked: Checked ------_=_NextPart_001_01C4DC8F.F57DC170 Content-Type: text/plain; charset="iso-8859-1" I don't think that the author is on this list. With that said, it looks like the tutorial is going against an old version of Websphere. With that said, I would first look at your console to make sure your servlet is starting. Something like this: [12/7/04 12:32:14:468 CST] 24b524b5 WebGroup I SRVE0180I: [CactusWeb] [/cactus_test] [Servlet.LOG]: JSP 1.2 Processor: init [12/7/04 12:32:14:531 CST] 24b524b5 WebGroup I SRVE0180I: [CactusWeb] [/cactus_test] [Servlet.LOG]: SimpleFileServlet: init [12/7/04 12:32:14:562 CST] 24b524b5 WebGroup I SRVE0180I: [CactusWeb] [/cactus_test] [Servlet.LOG]: InvokerServlet: init [12/7/04 12:32:15:031 CST] 24b524b5 WebGroup I SRVE0180I: [CactusWeb] [/cactus_test] [Servlet.LOG]: ServletRedirector: init [12/7/04 12:32:15:093 CST] 24b524b5 WebGroup I SRVE0180I: [CactusWeb] [/cactus_test] [Servlet.LOG]: ServletTestRunner: init Then I would look to see if it is hitting the correct port. This is setup in your cactus.properties file. Mine looks like: cactus.contextURL = http://localhost:8080/cactus_test So I need to make sure that port 8080 is open. I verify this by looking at my console. It shows: [12/7/04 12:32:22:343 CST] 24b524b5 HttpTransport A SRVE0171I: Transport http is listening on port 80. [12/7/04 12:32:22:359 CST] 24b524b5 HttpTransport A SRVE0171I: Transport http is listening on port 8,080. [12/7/04 12:32:22:375 CST] 24b524b5 HttpTransport A SRVE0171I: Transport http is listening on port 9,090. [12/7/04 12:32:22:437 CST] 24b524b5 HttpTransport A SRVE0171I: Transport https is listening on port 9,043. One final note is that you don't need to duplicate the Test in the War and the EJB. Since Websphere's classloader is setup so that the web tier can view the ejb tier, the only thing you need in the web tier is the servlet. This makes it simpler, and by being simpler, makes more people use it. > -----Original Message----- > From: Kaushal Zagade [mailto:[email protected]] > Sent: Tuesday, December 07, 2004 12:39 PM > To: [email protected] > Subject: cactus and webphere - urgent please > > > Hello Sheldon, > > I need some help on Jakarta Cactus with wsad 5.1.2 and RAD 6.0. > > I have to test some EJBs with wsad 5.1.2 ( on was 5.1 test > environment) and RAD 6.0 (on WAS 6.0 Test Environment). I found a > tutorial written by Sheldon Wosnick > > http://www-106.ibm.com/developerworks/websphere/techjournal/02 > 06_wosnick/wosnick.html#cactus > > on cactus and WSAD which is very helpful and easy to understand. > After building the three projects as you have mentioned in your > tutorial viz. (EJB, Client, Web) and changing the web.xml and adding > the cactus.properties file I ran the test on WAS 5.1 and WAS 6.0 > server (Test Enviroment - port 9080). > > Started the Server in non-debug mode. > Selected the EJBServletTestCase.java file. > Run => JUnit/Java Application. > > the error it gave was: > > testHelloWorld3(test.EJBServletTestCase): > org.apache.commons.httpclient.HttpRecoverableException:Error in > parsing the status line from the response:unable to find the line > starting with "HTTP". > > same for the other two test cases..... > > > the cactus binaries that i have downloaded are: > > aspectjrt-1.1.1.jar > cactus-1.6.jar > cactus-ant-1.6.jar > commons-httpclient-2.0.jar > commons-logging-1.0.3.jar > httpunit-1.5.4.jar > junit-3.8.1.jar > log4j-1.2.9.jar - (i downloaded it seperately as it did not come in > the zip file for the cactus binaries.) > nekohtml-0.7.4.jar > servletrapi-2.3.jar > > I would really appreciate any help as to what might be going > wrong on my side. > > Thank you. > > Kaushal > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > ------_=_NextPart_001_01C4DC8F.F57DC170-- From [email protected] Tue Dec 7 20:11:27 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 76750 invoked by uid 99); 7 Dec 2004 20:11:27 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_60_70,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from firewall1779.fiserv.com (HELO Mail1.Fiserv.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Dec 2004 12:11:26 -0800 Received: from des10ms01.fais.com ([161.129.204.104]) by Mail1.Fiserv.com (Switch-3.1.2/Switch-3.1.2) with ESMTP id WB7K1AM6G0000118C for <[email protected]>; Tue, 07 Dec 2004 14:10:59 -0600 Received: by DES10MS01 with Internet Mail Service (5.5.2653.19) id <YNN0WLRB>; Tue, 7 Dec 2004 14:09:21 -0600 Message-ID: <0205C50D41B7D611AEA50002A537CEC20165A5AE@DES10MS01> From: "Korver, Aaron" <[email protected]> To: "'[email protected]'" <[email protected]> Subject: TestSetup wrapper? Date: Tue, 7 Dec 2004 14:09:20 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4DC98.A313CCA0" X-Virus-Checked: Checked ------_=_NextPart_001_01C4DC98.A313CCA0 Content-Type: text/plain; charset="iso-8859-1" Has anyone tried to use the TestSetup decorator with cactus or without for that matter. I'm trying to do some setup 1 per Test class and it doesn't seem to be working. I could just use a static block, but was wondering if anyone on the list had any thoughts first. Note that this is just the skeleton. See suite() method below. public static Test suite() { TestSuite suite = new TestSuite(XXXX.class); TestSetup wrapper = new TestSetup(suite) { protected void setup() { oneTimeSetup(); } protected void tearDown() { oneTimeTearDown(); } }; return wrapper; } public static void oneTimeSetup() { //do stuff only once } public static void oneTimeTearDown() { //do stuff only once } ------_=_NextPart_001_01C4DC98.A313CCA0-- From [email protected] Tue Dec 7 20:13:27 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 81026 invoked by uid 99); 7 Dec 2004 20:13:27 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail2.cbc-companies.com (HELO mail2.cbc-companies.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Dec 2004 12:13:26 -0800 Received: from emailsurf (avenue.cbc-companies.com [161.129.204.104]) by mail2.cbc-companies.com (8.12.10/8.12.6) with ESMTP id iB7KDN5E007951 for <[email protected]>; Tue, 7 Dec 2004 15:13:23 -0500 Received: from Unknown [161.129.204.104] by emailsurf - SurfControl E-mail Filter (4.7); Tue, 07 Dec 2004 15:18:23 -0500 Message-ID: <[email protected]> From: "Mark Lybarger" <[email protected]> To: "Cactus Users List" <[email protected]> Date: Tue, 7 Dec 2004 15:15:37 -0500 Subject: RE: cactus and webphere - urgent please MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 X-MS-Has-Attach: X-MS-TNEF-Correlator: content-class: urn:content-classes:message Thread-Topic: cactus and webphere - urgent please Thread-Index: AcTcjlgWcTKN177/QqWRcGwzHm9WpwACxkgA X-Virus-Checked: Checked we're using cruisecontrol and ant integration of cactus to notify every one= when a cactus test fails. =20 > -----Original Message----- > From: vandersantiago [mailto:[email protected]] > Sent: Tuesday, December 07, 2004 2:57 PM > To: Cactus Users List > Cc: Cactus Users List > Subject: Re: cactus and webphere - urgent please >=20 >=20 > hi friends, > Im use cactus with browser, and i need to send email=20 > automatic to person who > write the code with error=B4. >=20 > Vander. > ----- Original Message ----- > From: "Kaushal Zagade" <[email protected]> > To: <[email protected]> > Sent: Tuesday, December 07, 2004 3:38 PM > Subject: cactus and webphere - urgent please >=20 >=20 > > Hello Sheldon, > > > > I need some help on Jakarta Cactus with wsad 5.1.2 and RAD 6.0. > > > > I have to test some EJBs with wsad 5.1.2 ( on was 5.1 test > > environment) and RAD 6.0 (on WAS 6.0 Test Environment). I found a > > tutorial written by Sheldon Wosnick > > > > > http://www-106.ibm.com/developerworks/websphere/techjournal/02 > 06_wosnick/wos > nick.html#cactus > > > > on cactus and WSAD which is very helpful and easy to understand. > > After building the three projects as you have mentioned in your > > tutorial viz. (EJB, Client, Web) and changing the web.xml and adding > > the cactus.properties file I ran the test on WAS 5.1 and WAS 6.0 > > server (Test Enviroment - port 9080). > > > > Started the Server in non-debug mode. > > Selected the EJBServletTestCase.java file. > > Run =3D> JUnit/Java Application. > > > > the error it gave was: > > > > testHelloWorld3(test.EJBServletTestCase): > > org.apache.commons.httpclient.HttpRecoverableException:Error in > > parsing the status line from the response:unable to find the line > > starting with "HTTP". > > > > same for the other two test cases..... > > > > > > the cactus binaries that i have downloaded are: > > > > aspectjrt-1.1.1.jar > > cactus-1.6.jar > > cactus-ant-1.6.jar > > commons-httpclient-2.0.jar > > commons-logging-1.0.3.jar > > httpunit-1.5.4.jar > > junit-3.8.1.jar > > log4j-1.2.9.jar - (i downloaded it seperately as it did not come in > > the zip file for the cactus binaries.) > > nekohtml-0.7.4.jar > > servletrapi-2.3.jar > > > > I would really appreciate any help as to what might be=20 > going wrong on my > side. > > > > Thank you. > > > > Kaushal > > > >=20 > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >=20 >=20 >=20 From [email protected] Tue Dec 7 21:40:50 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 62945 invoked by uid 99); 7 Dec 2004 21:40:50 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtp017.mail.yahoo.com (HELO smtp017.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 07 Dec 2004 13:40:48 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp017.mail.yahoo.com with SMTP; 7 Dec 2004 21:40:45 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: TestSetup wrapper? Date: Tue, 7 Dec 2004 22:40:41 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <0205C50D41B7D611AEA50002A537CEC20165A5AE@DES10MS01> thread-index: AcTcmPn1bsvXtebWRn2qyqP+bYqf4AAC1nlg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked Hi Aaron, AFAIR, in our current implementation, the suite method is called on the client side only by the JUnit test runner. On the server side, we are simply instantiating a Cactus TestCase and calling the testXXX method = (we support setUp()/tearDown()). So the test suite will definitely work on the client side but not on the server side. The implementation class is called ServerTestCaseCaller if you're = interested to check the code. It might be possible to add support for this but we haven't thought = about it. Thanks -Vincent > -----Original Message----- > From: Korver, Aaron [mailto:[email protected]] > Sent: mardi 7 d=E9cembre 2004 21:09 > To: '[email protected]' > Subject: TestSetup wrapper? >=20 > Has anyone tried to use the TestSetup decorator with cactus or without = for > that matter. I'm trying to do some setup 1 per Test class and it = doesn't > seem to be working. I could just use a static block, but was = wondering if > anyone on the list had any thoughts first. Note that this is just the > skeleton. >=20 > See suite() method below. >=20 > public static Test suite() { >=20 > TestSuite suite =3D new TestSuite(XXXX.class); > TestSetup wrapper =3D new TestSetup(suite) { > protected void setup() { > oneTimeSetup(); > } > protected void tearDown() { > oneTimeTearDown(); > } > }; > return wrapper; > } >=20 > public static void oneTimeSetup() { > //do stuff only once > } >=20 > public static void oneTimeTearDown() { > //do stuff only once > } From [email protected] Tue Dec 7 21:57:23 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 95925 invoked by uid 99); 7 Dec 2004 21:57:23 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_60_70,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from firewall1779.fiserv.com (HELO Mail1.Fiserv.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Dec 2004 13:57:22 -0800 Received: from des10ms01.fais.com ([161.129.204.104]) by Mail1.Fiserv.com (Switch-3.1.2/Switch-3.1.2) with ESMTP id WB7L3KI6G0000105C for <[email protected]>; Tue, 07 Dec 2004 15:56:55 -0600 Received: by DES10MS01 with Internet Mail Service (5.5.2653.19) id <YNN0WMBV>; Tue, 7 Dec 2004 15:55:17 -0600 Message-ID: <0205C50D41B7D611AEA50002A537CEC20165A5B0@DES10MS01> From: "Korver, Aaron" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: Wiki? Date: Tue, 7 Dec 2004 15:55:16 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4DCA7.6FA43C60" X-Virus-Checked: Checked ------_=_NextPart_001_01C4DCA7.6FA43C60 Content-Type: text/plain; charset="iso-8859-1" Are all of the Wiki pages Immutable? How is one supposed to update it with helpful information if this is the case? Doesn't this defeat the purpose of a Wiki? ------_=_NextPart_001_01C4DCA7.6FA43C60-- From [email protected] Wed Dec 8 00:16:07 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 76157 invoked by uid 99); 8 Dec 2004 00:16:07 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Dec 2004 16:16:07 -0800 Received: by wproxy.gmail.com with SMTP id 58so315648wri for <[email protected]>; Tue, 07 Dec 2004 16:16:05 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=efsKgMsiQjMXeAfw68JZXPebkPtHYSh3YUrbI10gbK2XO7LxJHsxtBRo4+xze3/AcTv9fCZSQDmQXwPkRtmxZ/z7Oe0VCtcP45BMH278E04L8xoX4uruo+204/2N3NqSs0YyhTVO3oYt4V6wUcQznC3q0VQSFIiRwtf9Eo0EATY= Received: by 161.129.204.104 with SMTP id b19mr673799wrb; Tue, 07 Dec 2004 16:16:05 -0800 (PST) Received: by 161.129.204.104 with HTTP; Tue, 7 Dec 2004 16:16:05 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 7 Dec 2004 16:16:05 -0800 From: Kaushal Zagade <[email protected]> Reply-To: Kaushal Zagade <[email protected]> To: Cactus Users List <[email protected]> Subject: Re: cactus and webphere - urgent please In-Reply-To: <0205C50D41B7D611AEA50002A537CEC20165A5AB@DES10MS01> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <0205C50D41B7D611AEA50002A537CEC20165A5AB@DES10MS01> X-Virus-Checked: Checked Thanks Aaron, yes the author is not on the list and his tutorial was using wsad4.0. i am a little new to this so don't mind if my questions are a little basic. about the port, as i am running the project on WSAD5.1.2 (and on RAD 6.0) the port to which the server listens is 9080 - http://localhost:9080/cactus_test. so i have modified the cactus.properties file to look like this - cactus.contextURL = http://localhost:9080/cactus_test cactus.servletRedirectorName = ServletRedirector cactus.enableLogging = true is this correct ? and the web.xml is <servlet> <servlet-name>ServletRedirector</servlet-name> <servlet-class>org.apache.cactus.server.ServletTestRedirector</servlet-class> </servlet> <servlet-mapping> <servlet-name>ServletRedirector</servlet-name> <url-pattern>/ServletRedirector</url-pattern> </servlet-mapping> there is nothing coming on my console after the server has started other than this after running the EJBServletTestCase as a Java Application: ===== Dec 7, 2004 2:57:38 PM org.apache.commons.httpclient.HttpMethodBase INFO: Recoverable exception caught when processing request Dec 7, 2004 2:57:42 PM org.apache.commons.httpclient.HttpMethodBase WARNING: Recoverable exception caught but MethodRetryHandler.retryMethod() returned false, rethrowing exception ===== and this is what i get on the JUnit dialog box that pops up: ===== testHelloWorld3(test.EJBServletTestCase): org.apache.commons.httpclient.HttpRecoverableException:Error in parsing the status line from the response:unable to find the line starting with "HTTP". ===== i am really not able to understand why the test is failing. is there anything you can think i am doing wrong ? Kaushal From [email protected] Wed Dec 8 06:11:20 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 65603 invoked by uid 99); 8 Dec 2004 06:11:20 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF [email protected]) Received: from smtp105.mail.sc5.yahoo.com (HELO smtp105.mail.sc5.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 07 Dec 2004 22:11:19 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp105.mail.sc5.yahoo.com with SMTP; 8 Dec 2004 06:11:16 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: Wiki? Date: Wed, 8 Dec 2004 07:11:14 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <0205C50D41B7D611AEA50002A537CEC20165A5B0@DES10MS01> thread-index: AcTcp7xMtHWfdgQLQbW9cHqz8xW+NgARJUFA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked > -----Original Message----- > From: Korver, Aaron [mailto:[email protected]] > Sent: mardi 7 d=E9cembre 2004 22:55 > To: 'Cactus Users List' > Subject: Wiki? >=20 > Are all of the Wiki pages Immutable? No > How is one supposed to update it > with > helpful information if this is the case? Doesn't this defeat the = purpose > of > a Wiki? It would if it were immutable... but it's not... :-) You need to log-in in order to edit pages (click on UserPreferences and = fill the form). Thanks -Vincent From [email protected] Wed Dec 8 15:19:47 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 20618 invoked by uid 99); 8 Dec 2004 15:19:47 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_50_60,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from firewall1779.fiserv.com (HELO Mail1.Fiserv.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 08 Dec 2004 07:19:45 -0800 Received: from des10ms01.fais.com ([161.129.204.104]) by Mail1.Fiserv.com (Switch-3.1.2/Switch-3.1.2) with ESMTP id WB8F0JI6G00002B94 for <[email protected]>; Wed, 08 Dec 2004 09:19:18 -0600 Received: by DES10MS01 with Internet Mail Service (5.5.2653.19) id <YPP7ZAKV>; Wed, 8 Dec 2004 09:17:39 -0600 Message-ID: <0205C50D41B7D611AEA50002A537CEC20165A5B3@DES10MS01> From: "Korver, Aaron" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: Wiki? Date: Wed, 8 Dec 2004 09:17:39 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4DD39.0E4231B0" X-Virus-Checked: Checked ------_=_NextPart_001_01C4DD39.0E4231B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Ah-ha! Well, that would explain why I couldn't edit...you have to = login! Doh!!! Sorry about that. =20 Thanks, Aaron > -----Original Message----- > From: Vincent Massol [mailto:[email protected]] > Sent: Wednesday, December 08, 2004 12:11 AM > To: 'Cactus Users List' > Subject: RE: Wiki? >=20 >=20 >=20 >=20 > > -----Original Message----- > > From: Korver, Aaron [mailto:[email protected]] > > Sent: mardi 7 d=E9cembre 2004 22:55 > > To: 'Cactus Users List' > > Subject: Wiki? > >=20 > > Are all of the Wiki pages Immutable? >=20 > No >=20 > > How is one supposed to update it > > with > > helpful information if this is the case? Doesn't this=20 > defeat the purpose > > of > > a Wiki? >=20 > It would if it were immutable... but it's not... :-) >=20 > You need to log-in in order to edit pages (click on=20 > UserPreferences and fill > the form). >=20 > Thanks > -Vincent >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >=20 ------_=_NextPart_001_01C4DD39.0E4231B0-- From [email protected] Wed Dec 8 15:23:07 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 27544 invoked by uid 99); 8 Dec 2004 15:23:07 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_60_70,HTML_MESSAGE,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from firewall1779.fiserv.com (HELO Mail1.Fiserv.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 08 Dec 2004 07:23:06 -0800 Received: from des10ms01.fais.com ([161.129.204.104]) by Mail1.Fiserv.com (Switch-3.1.2/Switch-3.1.2) with ESMTP id WB8F1M56G000009D4 for <[email protected]>; Wed, 08 Dec 2004 09:22:42 -0600 Received: by DES10MS01 with Internet Mail Service (5.5.2653.19) id <YPP7ZALD>; Wed, 8 Dec 2004 09:21:03 -0600 Message-ID: <0205C50D41B7D611AEA50002A537CEC20165A5B4@DES10MS01> From: "Korver, Aaron" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: cactus and webphere - urgent please Date: Wed, 8 Dec 2004 09:21:02 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4DD39.8718F290" X-Virus-Checked: Checked ------_=_NextPart_001_01C4DD39.8718F290 Content-Type: text/plain; charset="iso-8859-1" 1) Did you add the web project as a module to your EAR? The servlet has to start up for you to be able to execute the cactus test. Here is my web.xml for reference. Note that I load two servlets, the first is the redirector needed for the Junit Runner, the second is the TestRunner for running through html. The second is optional, the first is not. <display-name>CactusWeb</display-name> <servlet> <servlet-name>ServletRedirector</servlet-name> <display-name>ServletRedirector</display-name> <servlet-class>org.apache.cactus.server.ServletTestRedirector</servlet-class > <load-on-startup>1</load-on-startup> </servlet> <servlet> <servlet-name>ServletTestRunner</servlet-name> <display-name>ServletTestRunner</display-name> <servlet-class>org.apache.cactus.server.runner.ServletTestRunner</servlet-cl ass> <init-param> <param-name>xsl-stylesheet</param-name> <param-value>styles/cactus-report.xsl</param-value> </init-param> <load-on-startup>2</load-on-startup> </servlet> <servlet-mapping> <servlet-name>ServletRedirector</servlet-name> <url-pattern>/ServletRedirector</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>ServletTestRunner</servlet-name> <url-pattern>/ServletTestRunner</url-pattern> </servlet-mapping> Also, would it be possible to post your console from when you start up your server? Thanks, Aaron > -----Original Message----- > From: Kaushal Zagade [mailto:[email protected]] > Sent: Tuesday, December 07, 2004 6:16 PM > To: Cactus Users List > Subject: Re: cactus and webphere - urgent please > > > Thanks Aaron, > > yes the author is not on the list and his tutorial was using wsad4.0. > > i am a little new to this so don't mind if my questions are a > little basic. > > about the port, as i am running the project on WSAD5.1.2 (and on RAD > 6.0) the port to which the server listens is 9080 - > http://localhost:9080/cactus_test. > so i have modified the cactus.properties file to look like this - > > cactus.contextURL = http://localhost:9080/cactus_test > cactus.servletRedirectorName = ServletRedirector > cactus.enableLogging = true > > is this correct ? > and > the web.xml is > > <servlet> > <servlet-name>ServletRedirector</servlet-name> > <servlet-class>org.apache.cactus.server.ServletTestRedirector< > /servlet-class> > </servlet> > > <servlet-mapping> > <servlet-name>ServletRedirector</servlet-name> > <url-pattern>/ServletRedirector</url-pattern> > </servlet-mapping> > > > there is nothing coming on my console after the server has > started other than > this after running the EJBServletTestCase as a Java Application: > > ===== > > Dec 7, 2004 2:57:38 PM org.apache.commons.httpclient.HttpMethodBase > INFO: Recoverable exception caught when processing request > Dec 7, 2004 2:57:42 PM org.apache.commons.httpclient.HttpMethodBase > WARNING: Recoverable exception caught but > MethodRetryHandler.retryMethod() returned false, rethrowing exception > > ===== > > and this is what i get on the JUnit dialog box that pops up: > > ===== > > testHelloWorld3(test.EJBServletTestCase): > org.apache.commons.httpclient.HttpRecoverableException:Error in > parsing the status line from the response:unable to find the line > starting with "HTTP". > > ===== > > i am really not able to understand why the test is failing. is there > anything you can think i am doing wrong ? > > > Kaushal > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > ------_=_NextPart_001_01C4DD39.8718F290-- From [email protected] Thu Dec 9 07:54:03 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 56278 invoked by uid 99); 9 Dec 2004 07:54:03 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_60_70,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from llsa509-a01.servidoresdns.net (HELO smtp-01.servidoresdns.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 08 Dec 2004 23:54:01 -0800 Received: from pedro1 (80-28-149-95.adsl.nuria.telefonica-data.net [161.129.204.104]) by smtp-01.servidoresdns.net (Postfix) with ESMTP id B937E3E6372 for <[email protected]>; Thu, 9 Dec 2004 08:53:56 +0100 (CET) From: "Pedro Nevado" <[email protected]> To: "Cactus Users List" <[email protected]> Subject: RE: cactus+hibernate+ejb Date: Thu, 9 Dec 2004 08:54:43 +0100 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_003A_01C4DDCC.B9EAB490" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <[email protected]> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Checked: Checked ------=_NextPart_000_003A_01C4DDCC.B9EAB490 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hossein, I can not mail you my project. However, I can send you a couple of samples of tests (a Struts action, a Hibernate dao object), if you want. I insist that my architecture does not contemplate JBoss as the application server, just plain Tomcat. Regards. -----Mensaje original----- De: hossein rahmani [mailto:[email protected]] Enviado el: jueves, 09 de diciembre de 2004 6:39 Para: [email protected] Asunto: cactus+hibernate+ejb Dear pedro Hi,I will be so happy if you be more specific , and if possible please mail me your project,and if you wanna i can mail you the whole project. Thanks Inadvane. Regards. Bye ---------------------------------------------------------------------------- -- Find local movie times and trailers on Yahoo! Movies. ------=_NextPart_000_003A_01C4DDCC.B9EAB490-- From [email protected] Thu Dec 9 07:58:07 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 63856 invoked by uid 99); 9 Dec 2004 07:58:07 -0000 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_30_40,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from web52209.mail.yahoo.com (HELO web52209.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 08 Dec 2004 23:58:06 -0800 Received: (qmail 1582 invoked by uid 60001); 9 Dec 2004 07:58:03 -0000 Message-ID: <[email protected]> Received: from [161.129.204.104] by web52209.mail.yahoo.com via HTTP; Thu, 09 Dec 2004 18:58:03 EST Date: Thu, 9 Dec 2004 18:58:03 +1100 (EST) From: hossein rahmani <[email protected]> Reply-To: [email protected] Subject: RE: cactus+hibernate+ejb To: Cactus Users List <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1153298327-1102579083=:137" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked --0-1153298327-1102579083=:137 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Pedro, Ok,plz mail me those samples if possible. bye Pedro Nevado <[email protected]> wrote: Hossein, I can not mail you my project. However, I can send you a couple of samples of tests (a Struts action, a Hibernate dao object), if you want. I insist that my architecture does not contemplate JBoss as the application server, just plain Tomcat. Regards. -----Mensaje original----- De: hossein rahmani [mailto:[email protected]] Enviado el: jueves, 09 de diciembre de 2004 6:39 Para: [email protected] Asunto: cactus+hibernate+ejb Dear pedro Hi,I will be so happy if you be more specific , and if possible please mail me your project,and if you wanna i can mail you the whole project. Thanks Inadvane. Regards. Bye ---------------------------------------------------------------------------- -- Find local movie times and trailers on Yahoo! Movies. --------------------------------- Find local movie times and trailers on Yahoo! Movies. --0-1153298327-1102579083=:137-- From [email protected] Thu Dec 9 09:01:30 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 75469 invoked by uid 99); 9 Dec 2004 09:01:30 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=HTML_90_100,HTML_MESSAGE,MIME_HTML_NO_CHARSET X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from ppd70050.deutschepost.de (HELO ppd70050.deutschepost.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 09 Dec 2004 01:01:25 -0800 Received: from DDAGP114.mimesweeper.intra (unknown [161.129.204.104]) by ppd70050.deutschepost.de (Postfix) with ESMTP id 8B0AD3111 for <[email protected]>; Thu, 9 Dec 2004 10:01:06 +0100 (MET) Received: from ddaah015.deutschepost.de (unverified) by DDAGP114.mimesweeper.intra (Content Technologies SMTPRS 4.3.17) with ESMTP id <[email protected]> for <[email protected]>; Thu, 9 Dec 2004 10:00:18 +0100 Received: by DDAAH015.DeutschePost.de with Internet Mail Service (5.5.2657.72) id <YD5VX61Y>; Thu, 9 Dec 2004 10:00:11 +0100 Message-ID: <[email protected]> From: "Felgenhauer, Florian / DPEE extern" <[email protected]> To: "'[email protected]'" <[email protected]> Subject: HTTP Status 400 - Invalid path Date: Thu, 9 Dec 2004 10:00:05 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4DDCD.798C5290" X-Virus-Checked: Checked ------_=_NextPart_001_01C4DDCD.798C5290 Content-Type: text/plain Hi, I am doing a request in my test (JspTestCase) like this getRequestDispatcher("/dpst-cactified/generic.do "); and I got a HTTP Status 400 - Invalid path /dpst-cactified/generic was requested When the Tomcat comes up for start I do the same request with a browser and this request is processed as expected. Cheers Florian ------_=_NextPart_001_01C4DDCD.798C5290-- From [email protected] Thu Dec 9 10:44:59 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 87669 invoked by uid 99); 9 Dec 2004 10:44:59 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=LINES_OF_YELLING X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from llsa730-a01.servidoresdns.net (HELO smtp-01.servidoresdns.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 09 Dec 2004 02:44:57 -0800 Received: from pedro1 (80-28-149-95.adsl.nuria.telefonica-data.net [161.129.204.104]) by smtp-01.servidoresdns.net (Postfix) with ESMTP id 7ECD138D490 for <[email protected]>; Thu, 9 Dec 2004 11:44:51 +0100 (CET) From: "Pedro Nevado" <[email protected]> To: "Cactus Users List" <[email protected]> Subject: RE: Action test with Hibernate Dao. Date: Thu, 9 Dec 2004 11:45:38 +0100 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <[email protected]> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Checked: Checked Hosein, I enclose a code sample. As you see, I favour convenience over orthodoxy. The crucial point testing Struts is the instantiation of the action with all its "armour", specially in actions with validation (Struts is not an example of inversion of control). You can find different solutions to that problem: at least a couple of specific frameworks freely available or your own ad-hoc solution. I opt for the simplest one: I instantiate an action in my container letting Struts take charge of all the complexities. This solution does not forbid you to test quite a lot of things: the validation of the parameteres of the form, the integration of your action with your model classes, the messages you get with the different parameters set and the internals of your action. Two ingredients are also necessary: the logic of your action must be simple, so that you can control the invisible corners with java 1.4 assertions inside the code of your action; the testing of your model classes must be done separately, so the only thing you test here is the integration of the different parts. Regards. public class SubscriptAlDiaActionTest extends ServletTestCase { // Dispatcher. private static RequestDispatcher dispatcher; // Usuario. protected Usuario usuario; // WebSites. protected WebSite web1; // Servicio. protected Servicio servicio1; // ...................... MÉTODOS DE INICIALIZACIÓN ................................................. public void begin(WebRequest request) { request.addParameter("password", "hola", WebRequest.POST_METHOD); request.addParameter("password2", "hola2", WebRequest.POST_METHOD); request.addParameter("recuerdoPassword", "saludo", WebRequest.POST_METHOD); request.addParameter("nombre1", "name", WebRequest.POST_METHOD); request.addParameter("nombre2", "name2", WebRequest.POST_METHOD); request.addParameter("nombre3", "name3", WebRequest.POST_METHOD); request.addParameter("periodo", "99", WebRequest.POST_METHOD); int[] idWebSites = new int[]{1, 2}; request.addParameter("idWebSites", String.valueOf(idWebSites[0]), WebRequest.POST_METHOD); request.addParameter("idWebSites", String.valueOf(idWebSites[1]), WebRequest.POST_METHOD); request.setAutomaticSession(false); } protected void setUp() throws IOException, ServletException { // Creación de usuario. String usuarioStr = TestConstants.USUARIO_NAME_1; String password = "password"; Set subscripciones = new HashSet(); usuario = new Usuario(usuarioStr, password); usuario.setSubscripciones(subscripciones); usuario.setEmail(new Email(new StringBuffer().append(TestConstants.USUARIO_NAME_1).append("@javato.com").to String())); assert usuario.getIdUsuario() == 0 : "idUsuario = 0;"; // Creación de webSites. web1 = new WebSite(); web1.setIdWebSite(1); // Creación de servicios servicio1 = new Servicio(TestConstants.ID_SERVICIO_1); // RequestDispatcher. dispatcher = request.getRequestDispatcher(TestConstants.SUBSCRPIPTFORM_ALDIA_SUBMIT); assert dispatcher != null : "dispatcher should not be null"; } protected void tearDown() throws HibernateException, IllegalAccessException, InstantiationException, ClassNotFoundException, DaoException { TestUtils.deleteUsuarioTest(TestConstants.USUARIO_NAME_1); } // ............................... TEST CHECK USUARIO Y EMAIL - one ...................................... public void beginCheckUsuarioYmail_1(WebRequest request) { request.addParameter("usuario", TestConstants.USUARIO_NAME_1, WebRequest.POST_METHOD); request.addParameter("eMailAddress", "[email protected]", WebRequest.POST_METHOD); } public void testCheckUsuarioYmail_1() throws IllegalAccessException, ClassNotFoundException, InstantiationException, DaoException, IOException, ServletException { // Nueva subscripción, con mismo usuario y email que figura en el parámetro del request. Subscripcion subscripcionNew = TestUtils.doSubscripcion(usuario, new WebSite[]{web1}, servicio1, null); usuario.addNewSubscripcion(subscripcionNew); SubscripcionDaoIf subscripcionDao = SubscripcionDaoFactory.SUBSCRIPCION_FACTORY_INST.getInstance(); boolean isSubscribed = subscripcionDao.subscribe(usuario); assertTrue("isSubscribed is true", isSubscribed); dispatcher.forward(request, response); boolean isMessage = TestUtils.checkMessage(request, Constants.USUARIO_DUPLICADO_MSG, null); assertTrue("Usuario duplicado", isMessage); } public void endCheckUsuarioYmail_1(WebResponse response) { String jspText = response.getText(); assertTrue("Reenvío a alDia_subscript.jsp", jspText.indexOf(TestConstants.ALDIA_SUBCRIPT_TEXT) >= 0); } -----Mensaje original----- De: hossein rahmani [mailto:[email protected]] Enviado el: jueves, 09 de diciembre de 2004 8:58 Para: Cactus Users List Asunto: RE: cactus+hibernate+ejb Pedro, Ok,plz mail me those samples if possible. bye Pedro Nevado <[email protected]> wrote: Hossein, I can not mail you my project. However, I can send you a couple of samples of tests (a Struts action, a Hibernate dao object), if you want. I insist that my architecture does not contemplate JBoss as the application server, just plain Tomcat. Regards. -----Mensaje original----- De: hossein rahmani [mailto:[email protected]] Enviado el: jueves, 09 de diciembre de 2004 6:39 Para: [email protected] Asunto: cactus+hibernate+ejb Dear pedro Hi,I will be so happy if you be more specific , and if possible please mail me your project,and if you wanna i can mail you the whole project. Thanks Inadvane. Regards. Bye ---------------------------------------------------------------------------- -- Find local movie times and trailers on Yahoo! Movies. --------------------------------- Find local movie times and trailers on Yahoo! Movies. From [email protected] Thu Dec 9 11:26:52 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 2168 invoked by uid 99); 9 Dec 2004 11:26:52 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from Unknown (HELO snoopy.mg.unitech.com.br) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 09 Dec 2004 03:26:49 -0800 Received: from vandersantiago ([161.129.204.104]) by snoopy.mg.unitech.com.br (8.12.8/8.12.8) with SMTP id iB9Bdl3F015762 for <[email protected]>; Thu, 9 Dec 2004 09:39:49 -0200 Message-ID: <[email protected]> From: "vandersantiago" <[email protected]> To: "Cactus Users List" <[email protected]> References: <[email protected]> <[email protected]> Subject: Save Html with cactus Date: Thu, 9 Dec 2004 09:30:53 -0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Checked: Checked Im my aplication cactus generate the html with errors in aplication, i need to save this html or xml automatic. when i run the cactus test, ServletTestRunner, i need to save this page automatis. Can you help me. ----- Original Message ----- From: "vandersantiago" <[email protected]> To: "Cactus Users List" <[email protected]> Cc: "Cactus Users List" <[email protected]> Sent: Tuesday, December 07, 2004 4:56 PM Subject: Re: cactus and webphere - urgent please > hi friends, > Im use cactus with browser, and i need to send email automatic to person who > write the code with error´. > > Vander. > ----- Original Message ----- > From: "Kaushal Zagade" <[email protected]> > To: <[email protected]> > Sent: Tuesday, December 07, 2004 3:38 PM > Subject: cactus and webphere - urgent please > > > > Hello Sheldon, > > > > I need some help on Jakarta Cactus with wsad 5.1.2 and RAD 6.0. > > > > I have to test some EJBs with wsad 5.1.2 ( on was 5.1 test > > environment) and RAD 6.0 (on WAS 6.0 Test Environment). I found a > > tutorial written by Sheldon Wosnick > > > > > http://www-106.ibm.com/developerworks/websphere/techjournal/0206_wosnick/wos > nick.html#cactus > > > > on cactus and WSAD which is very helpful and easy to understand. > > After building the three projects as you have mentioned in your > > tutorial viz. (EJB, Client, Web) and changing the web.xml and adding > > the cactus.properties file I ran the test on WAS 5.1 and WAS 6.0 > > server (Test Enviroment - port 9080). > > > > Started the Server in non-debug mode. > > Selected the EJBServletTestCase.java file. > > Run => JUnit/Java Application. > > > > the error it gave was: > > > > testHelloWorld3(test.EJBServletTestCase): > > org.apache.commons.httpclient.HttpRecoverableException:Error in > > parsing the status line from the response:unable to find the line > > starting with "HTTP". > > > > same for the other two test cases..... > > > > > > the cactus binaries that i have downloaded are: > > > > aspectjrt-1.1.1.jar > > cactus-1.6.jar > > cactus-ant-1.6.jar > > commons-httpclient-2.0.jar > > commons-logging-1.0.3.jar > > httpunit-1.5.4.jar > > junit-3.8.1.jar > > log4j-1.2.9.jar - (i downloaded it seperately as it did not come in > > the zip file for the cactus binaries.) > > nekohtml-0.7.4.jar > > servletrapi-2.3.jar > > > > I would really appreciate any help as to what might be going wrong on my > side. > > > > Thank you. > > > > Kaushal > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] From [email protected] Thu Dec 9 12:31:48 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 27345 invoked by uid 99); 9 Dec 2004 12:31:48 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from ppd70050.deutschepost.de (HELO ppd70050.deutschepost.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 09 Dec 2004 04:31:46 -0800 Received: from DDAGP115.mimesweeper.intra (unknown [161.129.204.104]) by ppd70050.deutschepost.de (Postfix) with ESMTP id 40797438B for <[email protected]>; Thu, 9 Dec 2004 13:31:43 +0100 (MET) Received: from ddaah014.DeutschePost.de (unverified) by DDAGP115.mimesweeper.intra (Content Technologies SMTPRS 4.3.17) with ESMTP id <[email protected]> for <[email protected]>; Thu, 9 Dec 2004 13:32:44 +0100 Received: by DDAAH014.DeutschePost.de with Internet Mail Service (5.5.2657.72) id <YD53HVZT>; Thu, 9 Dec 2004 13:31:04 +0100 Message-ID: <[email protected]> From: "Felgenhauer, Florian / DPEE extern" <[email protected]> To: 'Cactus Users List' <[email protected]> Subject: RE: HTTP Status 400 - Invalid path Date: Thu, 9 Dec 2004 13:27:57 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain X-Virus-Checked: Checked cactus.contextURL = http://localhost:8080/dpst-cactified was missing in cactus.properties file and getRequestDispatcher("/generic.do "); was the correct request! -----Original Message----- From: Felgenhauer, Florian / DPEE extern [mailto:[email protected]] Sent: Thursday, December 09, 2004 10:00 AM To: '[email protected]' Subject: HTTP Status 400 - Invalid path Hi, I am doing a request in my test (JspTestCase) like this getRequestDispatcher("/dpst-cactified/generic.do "); and I got a HTTP Status 400 - Invalid path /dpst-cactified/generic was requested When the Tomcat comes up for start I do the same request with a browser and this request is processed as expected. Cheers Florian From [email protected] Thu Dec 9 17:31:03 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 69745 invoked by uid 99); 9 Dec 2004 17:31:03 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 09 Dec 2004 09:31:01 -0800 Received: by wproxy.gmail.com with SMTP id 36so229050wra for <[email protected]>; Thu, 09 Dec 2004 09:30:58 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=XySthrsU4a3ZNEor7pTuOJ49FHIcl+Afmf+rdJVQvxoHR7Y8JkZxVEgMdkaj62syHYJmk3yQl9vV5mg8e5j+m1qIQrjGE6o4yiW/sPXlR5torYlMIu6jOcjkdLS0bHXtJ//XV27qMUs6QQaeagdvoby6MWuL4BwBo/xvnMlpHis= Received: by 161.129.204.104 with SMTP id t57mr216747wrt; Thu, 09 Dec 2004 09:30:43 -0800 (PST) Received: by 161.129.204.104 with HTTP; Thu, 9 Dec 2004 09:30:43 -0800 (PST) Message-ID: <[email protected]> Date: Thu, 9 Dec 2004 09:30:43 -0800 From: Kaushal Zagade <[email protected]> Reply-To: Kaushal Zagade <[email protected]> To: Cactus Users List <[email protected]> Subject: Re: cactus and webphere - urgent please In-Reply-To: <0205C50D41B7D611AEA50002A537CEC20165A5B4@DES10MS01> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <0205C50D41B7D611AEA50002A537CEC20165A5B4@DES10MS01> X-Virus-Checked: Checked Hi Aaron, thanks for your help i got it working yesterday. i truely appreciate it. i just have one more question. can we test JSF(Java Server Faces) with cactus ? thanks once again. Kaushal On Wed, 8 Dec 2004 09:21:02 -0600, Korver, Aaron <[email protected]> wrote: > 1) Did you add the web project as a module to your EAR? The servlet has to > start up for you to be able to execute the cactus test. > > Here is my web.xml for reference. Note that I load two servlets, the first > is the redirector needed for the Junit Runner, the second is the TestRunner > for running through html. The second is optional, the first is not. > > <display-name>CactusWeb</display-name> > <servlet> > <servlet-name>ServletRedirector</servlet-name> > <display-name>ServletRedirector</display-name> > > <servlet-class>org.apache.cactus.server.ServletTestRedirector</servlet-class > > > <load-on-startup>1</load-on-startup> > </servlet> > <servlet> > <servlet-name>ServletTestRunner</servlet-name> > <display-name>ServletTestRunner</display-name> > > <servlet-class>org.apache.cactus.server.runner.ServletTestRunner</servlet-cl > ass> > <init-param> > <param-name>xsl-stylesheet</param-name> > <param-value>styles/cactus-report.xsl</param-value> > </init-param> > <load-on-startup>2</load-on-startup> > </servlet> > <servlet-mapping> > <servlet-name>ServletRedirector</servlet-name> > <url-pattern>/ServletRedirector</url-pattern> > </servlet-mapping> > <servlet-mapping> > <servlet-name>ServletTestRunner</servlet-name> > <url-pattern>/ServletTestRunner</url-pattern> > </servlet-mapping> > > Also, would it be possible to post your console from when you start up your > server? > > Thanks, > Aaron > > > > > > -----Original Message----- > > From: Kaushal Zagade [mailto:[email protected]] > > Sent: Tuesday, December 07, 2004 6:16 PM > > To: Cactus Users List > > Subject: Re: cactus and webphere - urgent please > > > > > > Thanks Aaron, > > > > yes the author is not on the list and his tutorial was using wsad4.0. > > > > i am a little new to this so don't mind if my questions are a > > little basic. > > > > about the port, as i am running the project on WSAD5.1.2 (and on RAD > > 6.0) the port to which the server listens is 9080 - > > http://localhost:9080/cactus_test. > > so i have modified the cactus.properties file to look like this - > > > > cactus.contextURL = http://localhost:9080/cactus_test > > cactus.servletRedirectorName = ServletRedirector > > cactus.enableLogging = true > > > > is this correct ? > > and > > the web.xml is > > > > <servlet> > > <servlet-name>ServletRedirector</servlet-name> > > <servlet-class>org.apache.cactus.server.ServletTestRedirector< > > /servlet-class> > > </servlet> > > > > <servlet-mapping> > > <servlet-name>ServletRedirector</servlet-name> > > <url-pattern>/ServletRedirector</url-pattern> > > </servlet-mapping> > > > > > > there is nothing coming on my console after the server has > > started other than > > this after running the EJBServletTestCase as a Java Application: > > > > ===== > > > > Dec 7, 2004 2:57:38 PM org.apache.commons.httpclient.HttpMethodBase > > INFO: Recoverable exception caught when processing request > > Dec 7, 2004 2:57:42 PM org.apache.commons.httpclient.HttpMethodBase > > WARNING: Recoverable exception caught but > > MethodRetryHandler.retryMethod() returned false, rethrowing exception > > > > ===== > > > > and this is what i get on the JUnit dialog box that pops up: > > > > ===== > > > > testHelloWorld3(test.EJBServletTestCase): > > org.apache.commons.httpclient.HttpRecoverableException:Error in > > parsing the status line from the response:unable to find the line > > starting with "HTTP". > > > > ===== > > > > i am really not able to understand why the test is failing. is there > > anything you can think i am doing wrong ? > > > > > > Kaushal > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > From [email protected] Thu Dec 9 17:33:21 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 77236 invoked by uid 99); 9 Dec 2004 17:33:21 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_60_70,HTML_MESSAGE,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from firewall1779.fiserv.com (HELO Mail1.Fiserv.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 09 Dec 2004 09:33:18 -0800 Received: from des10ms01.fais.com ([161.129.204.104]) by Mail1.Fiserv.com (Switch-3.1.2/Switch-3.1.2) with ESMTP id WB9H1W76G000019A8 for <[email protected]>; Thu, 09 Dec 2004 11:32:46 -0600 Received: by DES10MS01 with Internet Mail Service (5.5.2653.19) id <YRR5M5SM>; Thu, 9 Dec 2004 11:31:03 -0600 Message-ID: <0205C50D41B7D611AEA50002A537CEC20165A5CC@DES10MS01> From: "Korver, Aaron" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: cactus and webphere - urgent please Date: Thu, 9 Dec 2004 11:31:03 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4DE14.DB1EAF70" X-Virus-Checked: Checked ------_=_NextPart_001_01C4DE14.DB1EAF70 Content-Type: text/plain; charset="iso-8859-1" I'm not sure as we don't use JSF. Our app is a Swing GUI to an EJB backend. Glad you got it working though. Aaron > -----Original Message----- > From: Kaushal Zagade [mailto:[email protected]] > Sent: Thursday, December 09, 2004 11:31 AM > To: Cactus Users List > Subject: Re: cactus and webphere - urgent please > > > Hi Aaron, > > thanks for your help i got it working yesterday. i truely appreciate > it. i just have one more question. can we test JSF(Java Server Faces) > with cactus ? > > thanks once again. > > Kaushal > > > On Wed, 8 Dec 2004 09:21:02 -0600, Korver, Aaron > <[email protected]> wrote: > > 1) Did you add the web project as a module to your EAR? > The servlet has to > > start up for you to be able to execute the cactus test. > > > > Here is my web.xml for reference. Note that I load two > servlets, the first > > is the redirector needed for the Junit Runner, the second > is the TestRunner > > for running through html. The second is optional, the first is not. > > > > <display-name>CactusWeb</display-name> > > <servlet> > > <servlet-name>ServletRedirector</servlet-name> > > <display-name>ServletRedirector</display-name> > > > > > <servlet-class>org.apache.cactus.server.ServletTestRedirector< > /servlet-class > > > > > <load-on-startup>1</load-on-startup> > > </servlet> > > <servlet> > > <servlet-name>ServletTestRunner</servlet-name> > > <display-name>ServletTestRunner</display-name> > > > > > <servlet-class>org.apache.cactus.server.runner.ServletTestRunn > er</servlet-cl > > ass> > > <init-param> > > <param-name>xsl-stylesheet</param-name> > > > <param-value>styles/cactus-report.xsl</param-value> > > </init-param> > > <load-on-startup>2</load-on-startup> > > </servlet> > > <servlet-mapping> > > <servlet-name>ServletRedirector</servlet-name> > > <url-pattern>/ServletRedirector</url-pattern> > > </servlet-mapping> > > <servlet-mapping> > > <servlet-name>ServletTestRunner</servlet-name> > > <url-pattern>/ServletTestRunner</url-pattern> > > </servlet-mapping> > > > > Also, would it be possible to post your console from when > you start up your > > server? > > > > Thanks, > > Aaron > > > > > > > > > > > -----Original Message----- > > > From: Kaushal Zagade [mailto:[email protected]] > > > Sent: Tuesday, December 07, 2004 6:16 PM > > > To: Cactus Users List > > > Subject: Re: cactus and webphere - urgent please > > > > > > > > > Thanks Aaron, > > > > > > yes the author is not on the list and his tutorial was > using wsad4.0. > > > > > > i am a little new to this so don't mind if my questions are a > > > little basic. > > > > > > about the port, as i am running the project on WSAD5.1.2 > (and on RAD > > > 6.0) the port to which the server listens is 9080 - > > > http://localhost:9080/cactus_test. > > > so i have modified the cactus.properties file to look like this - > > > > > > cactus.contextURL = http://localhost:9080/cactus_test > > > cactus.servletRedirectorName = ServletRedirector > > > cactus.enableLogging = true > > > > > > is this correct ? > > > and > > > the web.xml is > > > > > > <servlet> > > > <servlet-name>ServletRedirector</servlet-name> > > > <servlet-class>org.apache.cactus.server.ServletTestRedirector< > > > /servlet-class> > > > </servlet> > > > > > > <servlet-mapping> > > > <servlet-name>ServletRedirector</servlet-name> > > > <url-pattern>/ServletRedirector</url-pattern> > > > </servlet-mapping> > > > > > > > > > there is nothing coming on my console after the server has > > > started other than > > > this after running the EJBServletTestCase as a Java Application: > > > > > > ===== > > > > > > Dec 7, 2004 2:57:38 PM > org.apache.commons.httpclient.HttpMethodBase > > > INFO: Recoverable exception caught when processing request > > > Dec 7, 2004 2:57:42 PM > org.apache.commons.httpclient.HttpMethodBase > > > WARNING: Recoverable exception caught but > > > MethodRetryHandler.retryMethod() returned false, > rethrowing exception > > > > > > ===== > > > > > > and this is what i get on the JUnit dialog box that pops up: > > > > > > ===== > > > > > > testHelloWorld3(test.EJBServletTestCase): > > > org.apache.commons.httpclient.HttpRecoverableException:Error in > > > parsing the status line from the response:unable to find the line > > > starting with "HTTP". > > > > > > ===== > > > > > > i am really not able to understand why the test is > failing. is there > > > anything you can think i am doing wrong ? > > > > > > > > > Kaushal > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [email protected] > > > For additional commands, e-mail: > [email protected] > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > ------_=_NextPart_001_01C4DE14.DB1EAF70-- From [email protected] Thu Dec 9 21:54:18 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 20927 invoked by uid 99); 9 Dec 2004 21:54:18 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF [email protected]) Received: from smtp106.mail.sc5.yahoo.com (HELO smtp106.mail.sc5.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 09 Dec 2004 13:54:17 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp106.mail.sc5.yahoo.com with SMTP; 9 Dec 2004 21:54:13 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: HTTP Status 400 - Invalid path Date: Thu, 9 Dec 2004 22:54:09 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcTd6w7iL/VdXGyTR5Sbdn2+zCE8TQATmcLw In-Reply-To: <[email protected]> X-Virus-Checked: Checked Thanks Florian for posting back! Much appreciated. -Vincent > -----Original Message----- > From: Felgenhauer, Florian / DPEE extern > [mailto:[email protected]] > Sent: jeudi 9 d=E9cembre 2004 13:28 > To: 'Cactus Users List' > Subject: RE: HTTP Status 400 - Invalid path >=20 > cactus.contextURL =3D http://localhost:8080/dpst-cactified >=20 > was missing in cactus.properties file >=20 > and >=20 > getRequestDispatcher("/generic.do "); >=20 > was the correct request! >=20 > -----Original Message----- > From: Felgenhauer, Florian / DPEE extern > [mailto:[email protected]] > Sent: Thursday, December 09, 2004 10:00 AM > To: '[email protected]' > Subject: HTTP Status 400 - Invalid path >=20 > Hi, >=20 > I am doing a request in my test (JspTestCase) like this >=20 > getRequestDispatcher("/dpst-cactified/generic.do "); >=20 > and I got a >=20 > HTTP Status 400 - Invalid path /dpst-cactified/generic was requested >=20 > When the Tomcat comes up for start I do the same request with a = browser > and this request is processed as expected. >=20 > Cheers >=20 > Florian >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] From [email protected] Fri Dec 10 09:30:52 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 82015 invoked by uid 99); 10 Dec 2004 09:30:52 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF [email protected]) Received: from smtp101.mail.sc5.yahoo.com (HELO smtp101.mail.sc5.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 10 Dec 2004 01:30:50 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp101.mail.sc5.yahoo.com with SMTP; 10 Dec 2004 09:30:46 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: Save Html with cactus Date: Fri, 10 Dec 2004 10:30:45 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcTd4fywrYrhC8xbTRmRxYXMy4D0gQAuKCEQ In-Reply-To: <[email protected]> X-Virus-Checked: Checked > -----Original Message----- > From: vandersantiago [mailto:[email protected]] > Sent: jeudi 9 d=E9cembre 2004 13:31 > To: Cactus Users List > Subject: Save Html with cactus >=20 > Im my aplication cactus generate the html with errors in aplication, i > need > to save this html or xml automatic. > when i run the cactus test, ServletTestRunner, i need to save this = page > automatis. > Can you help me. Yes, we can! :-) Simply do not use the ServletTestRunner. It is meant to be manual. If = you wish automation you should use an Ant or Maven build script. This will = get the XML/HTML saved automatically. See http://jakarta.apache.org/cactus/integration/ant/index.html and http://jakarta.apache.org/cactus/integration/maven/index.html All that said, there is another solution for you, which is simply to use = an Ant <get> tag (see the Ant manual) to call your URL and save the results = on disk. -Vincent >=20 > ----- Original Message ----- > From: "vandersantiago" <[email protected]> > To: "Cactus Users List" <[email protected]> > Cc: "Cactus Users List" <[email protected]> > Sent: Tuesday, December 07, 2004 4:56 PM > Subject: Re: cactus and webphere - urgent please >=20 >=20 > > hi friends, > > Im use cactus with browser, and i need to send email automatic to = person > who > > write the code with error=B4. > > > > Vander. > > ----- Original Message ----- > > From: "Kaushal Zagade" <[email protected]> > > To: <[email protected]> > > Sent: Tuesday, December 07, 2004 3:38 PM > > Subject: cactus and webphere - urgent please > > > > > > > Hello Sheldon, > > > > > > I need some help on Jakarta Cactus with wsad 5.1.2 and RAD 6.0. > > > > > > I have to test some EJBs with wsad 5.1.2 ( on was 5.1 test > > > environment) and RAD 6.0 (on WAS 6.0 Test Environment). I found a > > > tutorial written by Sheldon Wosnick > > > > > > > > > http://www- > 106.ibm.com/developerworks/websphere/techjournal/0206_wosnick/wos > > nick.html#cactus > > > > > > on cactus and WSAD which is very helpful and easy to understand. > > > After building the three projects as you have mentioned in your > > > tutorial viz. (EJB, Client, Web) and changing the web.xml and = adding > > > the cactus.properties file I ran the test on WAS 5.1 and WAS 6.0 > > > server (Test Enviroment - port 9080). > > > > > > Started the Server in non-debug mode. > > > Selected the EJBServletTestCase.java file. > > > Run =3D> JUnit/Java Application. > > > > > > the error it gave was: > > > > > > testHelloWorld3(test.EJBServletTestCase): > > > org.apache.commons.httpclient.HttpRecoverableException:Error in > > > parsing the status line from the response:unable to find the line > > > starting with "HTTP". > > > > > > same for the other two test cases..... > > > > > > > > > the cactus binaries that i have downloaded are: > > > > > > aspectjrt-1.1.1.jar > > > cactus-1.6.jar > > > cactus-ant-1.6.jar > > > commons-httpclient-2.0.jar > > > commons-logging-1.0.3.jar > > > httpunit-1.5.4.jar > > > junit-3.8.1.jar > > > log4j-1.2.9.jar - (i downloaded it seperately as it did not come = in > > > the zip file for the cactus binaries.) > > > nekohtml-0.7.4.jar > > > servletrapi-2.3.jar > > > > > > I would really appreciate any help as to what might be going wrong = on > my > > side. > > > > > > Thank you. > > > > > > Kaushal > > > > > > = --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [email protected] > > > For additional commands, e-mail: = [email protected] > > > > > > = --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] From [email protected] Fri Dec 10 10:01:03 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 34508 invoked by uid 99); 10 Dec 2004 10:01:03 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from Unknown (HELO snoopy.mg.unitech.com.br) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 10 Dec 2004 02:01:01 -0800 Received: from vandersantiago ([161.129.204.104]) by snoopy.mg.unitech.com.br (8.12.8/8.12.8) with SMTP id iBAAEK3F000547 for <[email protected]>; Fri, 10 Dec 2004 08:14:20 -0200 Message-ID: <[email protected]> From: "vandersantiago" <[email protected]> To: "Cactus Users List" <[email protected]> References: <[email protected]> Subject: Re: Save Html with cactus Date: Fri, 10 Dec 2004 08:05:18 -0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Checked: Checked Thanks Vicent. ----- Original Message ----- From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Sent: Friday, December 10, 2004 6:30 AM Subject: RE: Save Html with cactus > > > > -----Original Message----- > > From: vandersantiago [mailto:[email protected]] > > Sent: jeudi 9 décembre 2004 13:31 > > To: Cactus Users List > > Subject: Save Html with cactus > > > > Im my aplication cactus generate the html with errors in aplication, i > > need > > to save this html or xml automatic. > > when i run the cactus test, ServletTestRunner, i need to save this page > > automatis. > > Can you help me. > > Yes, we can! :-) > > Simply do not use the ServletTestRunner. It is meant to be manual. If you > wish automation you should use an Ant or Maven build script. This will get > the XML/HTML saved automatically. > > See http://jakarta.apache.org/cactus/integration/ant/index.html and > http://jakarta.apache.org/cactus/integration/maven/index.html > > All that said, there is another solution for you, which is simply to use an > Ant <get> tag (see the Ant manual) to call your URL and save the results on > disk. > > -Vincent > > > > > ----- Original Message ----- > > From: "vandersantiago" <[email protected]> > > To: "Cactus Users List" <[email protected]> > > Cc: "Cactus Users List" <[email protected]> > > Sent: Tuesday, December 07, 2004 4:56 PM > > Subject: Re: cactus and webphere - urgent please > > > > > > > hi friends, > > > Im use cactus with browser, and i need to send email automatic to person > > who > > > write the code with error´. > > > > > > Vander. > > > ----- Original Message ----- > > > From: "Kaushal Zagade" <[email protected]> > > > To: <[email protected]> > > > Sent: Tuesday, December 07, 2004 3:38 PM > > > Subject: cactus and webphere - urgent please > > > > > > > > > > Hello Sheldon, > > > > > > > > I need some help on Jakarta Cactus with wsad 5.1.2 and RAD 6.0. > > > > > > > > I have to test some EJBs with wsad 5.1.2 ( on was 5.1 test > > > > environment) and RAD 6.0 (on WAS 6.0 Test Environment). I found a > > > > tutorial written by Sheldon Wosnick > > > > > > > > > > > > > http://www- > > 106.ibm.com/developerworks/websphere/techjournal/0206_wosnick/wos > > > nick.html#cactus > > > > > > > > on cactus and WSAD which is very helpful and easy to understand. > > > > After building the three projects as you have mentioned in your > > > > tutorial viz. (EJB, Client, Web) and changing the web.xml and adding > > > > the cactus.properties file I ran the test on WAS 5.1 and WAS 6.0 > > > > server (Test Enviroment - port 9080). > > > > > > > > Started the Server in non-debug mode. > > > > Selected the EJBServletTestCase.java file. > > > > Run => JUnit/Java Application. > > > > > > > > the error it gave was: > > > > > > > > testHelloWorld3(test.EJBServletTestCase): > > > > org.apache.commons.httpclient.HttpRecoverableException:Error in > > > > parsing the status line from the response:unable to find the line > > > > starting with "HTTP". > > > > > > > > same for the other two test cases..... > > > > > > > > > > > > the cactus binaries that i have downloaded are: > > > > > > > > aspectjrt-1.1.1.jar > > > > cactus-1.6.jar > > > > cactus-ant-1.6.jar > > > > commons-httpclient-2.0.jar > > > > commons-logging-1.0.3.jar > > > > httpunit-1.5.4.jar > > > > junit-3.8.1.jar > > > > log4j-1.2.9.jar - (i downloaded it seperately as it did not come in > > > > the zip file for the cactus binaries.) > > > > nekohtml-0.7.4.jar > > > > servletrapi-2.3.jar > > > > > > > > I would really appreciate any help as to what might be going wrong on > > my > > > side. > > > > > > > > Thank you. > > > > > > > > Kaushal > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [email protected] > > > > For additional commands, e-mail: [email protected] > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [email protected] > > > For additional commands, e-mail: [email protected] > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > From [email protected] Mon Dec 13 06:24:00 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 46756 invoked by uid 99); 13 Dec 2004 06:24:00 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from satyaki.pacific.net.in (HELO satyaki.pacific.net.in) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 12 Dec 2004 22:23:56 -0800 Received: from mail2.bgr.ionidea.com (sixz0035.bgr.ionidea.com [161.129.204.104] (may be forged)) by satyaki.pacific.net.in with SMTP id LAA05126 for <[email protected]>; Mon, 13 Dec 2004 11:53:45 +0530 (IST) Received: from cfmvinpro2 ([161.129.204.104]) by mail2.bgr.ionidea.com (8.13.1/8.12.2) with SMTP id iBD6NpX6008946 for <[email protected]>; Mon, 13 Dec 2004 11:53:51 +0530 Message-ID: <002d01c4e0dc$724f19b0$2b015b0a@cfmvinpro2> From: "praveen" <[email protected]> To: <[email protected]> Subject: new user Date: Mon, 13 Dec 2004 11:54:48 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_002A_01C4E10A.8BFB6ED0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked ------=_NextPart_000_002A_01C4E10A.8BFB6ED0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hai all, I want to write test cases for servlets.I need some basics. where can i get frame work of cactus(cactus.jar) source . Thanx &&Regards raja ------=_NextPart_000_002A_01C4E10A.8BFB6ED0-- From [email protected] Mon Dec 13 06:28:38 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 55845 invoked by uid 99); 13 Dec 2004 06:28:38 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from eucrwmsw.cpships.com (HELO eucrwmsw.cpships.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 12 Dec 2004 22:28:35 -0800 Received: from CRWEXFE01.ad.cpships.corp (unverified) by eucrwmsw.cpships.com (Content Technologies SMTPRS 4.3.14) with ESMTP id <[email protected]> for <[email protected]>; Mon, 13 Dec 2004 06:32:09 +0000 Received: from CRWEXBE01.ad.cpships.corp ([161.129.204.104]) by CRWEXFE01.ad.cpships.corp with Microsoft SMTPSVC (6.0.3790.0); Mon, 13 Dec 2004 06:29:01 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: new user Date: Mon, 13 Dec 2004 06:28:38 -0000 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: new user Thread-Index: AcTg3HX/fgPHLHmlSl6ATqsD2f4E2QAAGmcg From: "Sharma, Indushekhar" <[email protected]> To: "Cactus Users List" <[email protected]> X-OriginalArrivalTime: 13 Dec 2004 06:29:01.0546 (UTC) FILETIME=[08EE84A0:01C4E0DD] X-Virus-Checked: Checked http://jakarta.apache.org/cactus/ http://jakarta.apache.org/cactus/downloads.html -----Original Message----- From: praveen [mailto:[email protected]] Sent: Monday, December 13, 2004 11:55 AM To: [email protected] Subject: new user Hai all, I want to write test cases for servlets.I need some basics. where can i get frame work of cactus(cactus.jar) source . Thanx &&Regards raja "This email and any files transmitted with it are confidential and are inte= nded solely for the use of the individual or entity to whom they are addres= sed. This communication represents the originator's personal views and opin= ions, which do not necessarily reflect those of CP Ships. If you are not th= e intended recipient or the person responsible for delivering the email to = the intended recipient, be advised that you have received this email in err= or, and that any use, dissemination, forward, printing, or copying of this = email is strictly prohibited. If you received this email in error, please i= mmediately notify the CP Ships Help Desk on +1-505-472-7563 if dialling from= Europe, or +1-505-472-7563 from US and Canada. Any personal data attached to or included in this email is being treated in= accordance with the provisions of the CP Ships Personal Data Protection Po= licy, a copy of which is available upon request from the sender. The recip= ient must comply with the provisions of any data protection legislation in = force, in particular the requirement that they take appropriate technical a= nd organisational measures against unauthorised or unlawful processing of t= his data." From [email protected] Mon Dec 13 11:57:43 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 43416 invoked by uid 99); 13 Dec 2004 11:57:43 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from satyaki.pacific.net.in (HELO satyaki.pacific.net.in) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 13 Dec 2004 03:57:39 -0800 Received: from mail2.bgr.ionidea.com (sixz0035.bgr.ionidea.com [161.129.204.104] (may be forged)) by satyaki.pacific.net.in with SMTP id RAA10691 for <[email protected]>; Mon, 13 Dec 2004 17:27:27 +0530 (IST) Received: from cfmvinpro2 ([161.129.204.104]) by mail2.bgr.ionidea.com (8.13.1/8.12.2) with SMTP id iBDBvWMT021477 for <[email protected]>; Mon, 13 Dec 2004 17:27:32 +0530 Message-ID: <002201c4e10b$146e2870$2b015b0a@cfmvinpro2> From: "praveen" <[email protected]> To: <[email protected]> Subject: org.apache.cactus.extension.jsp.JspTagLifecycle; Date: Mon, 13 Dec 2004 17:28:37 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001F_01C4E139.2DF457F0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked ------=_NextPart_000_001F_01C4E139.2DF457F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hai=20 why i am unable to import this package. Where can i find this package. Thanx&&Regards raja ------=_NextPart_000_001F_01C4E139.2DF457F0-- From [email protected] Mon Dec 13 12:00:14 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 47190 invoked by uid 99); 13 Dec 2004 12:00:14 -0000 X-ASF-Spam-Status: No, hits=2.3 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,FROM_ENDS_IN_NUMS,HTML_50_60,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from web8506.mail.in.yahoo.com (HELO web8506.mail.in.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 13 Dec 2004 04:00:09 -0800 Received: (qmail 71869 invoked by uid 60001); 13 Dec 2004 12:00:06 -0000 Message-ID: <[email protected]> Received: from [161.129.204.104] by web8506.mail.in.yahoo.com via HTTP; Mon, 13 Dec 2004 12:00:05 GMT Date: Mon, 13 Dec 2004 12:00:05 +0000 (GMT) From: g d <[email protected]> Subject: Packages for AssertUtil and HttpURLConnection To: [email protected] MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1638067210-1102939205=:66518" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked --0-1638067210-1102939205=:66518 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit hi all, We are using testDoGet() method in our test program and in that we used AssertUtil and HttpURLConnection. While compiling this class we are getting the error as AssertUtil cannot resolve symbol Please help me to solve this problem Regards Mougli Yahoo! India Matrimony: Find your life partneronline. --0-1638067210-1102939205=:66518-- From [email protected] Mon Dec 13 13:47:36 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 53116 invoked by uid 99); 13 Dec 2004 13:47:36 -0000 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_50_60,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from web52207.mail.yahoo.com (HELO web52207.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 13 Dec 2004 05:47:31 -0800 Received: (qmail 28573 invoked by uid 60001); 13 Dec 2004 13:47:27 -0000 Message-ID: <[email protected]> Received: from [161.129.204.104] by web52207.mail.yahoo.com via HTTP; Tue, 14 Dec 2004 00:47:27 EST Date: Tue, 14 Dec 2004 00:47:27 +1100 (EST) From: hossein rahmani <[email protected]> Reply-To: [email protected] Subject: hi To: cactus mailist <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1122738527-1102945647=:27925" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked --0-1122738527-1102945647=:27925 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi all, How we can test the hibernate?is there any framework?cactus can help us to test hibernate? bye --------------------------------- Find local movie times and trailers on Yahoo! Movies. --0-1122738527-1102945647=:27925-- From [email protected] Mon Dec 13 13:51:15 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 60474 invoked by uid 99); 13 Dec 2004 13:51:15 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail2.cbc-companies.com (HELO mail2.cbc-companies.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 13 Dec 2004 05:51:12 -0800 Received: from emailsurf (avenue.cbc-companies.com [161.129.204.104]) by mail2.cbc-companies.com (8.12.10/8.12.6) with ESMTP id iBDDp55E005521 for <[email protected]>; Mon, 13 Dec 2004 08:51:05 -0500 Received: from Unknown [161.129.204.104] by emailsurf - SurfControl E-mail Filter (4.7); Mon, 13 Dec 2004 08:56:12 -0500 Message-ID: <[email protected]> From: "Mark Lybarger" <[email protected]> To: "Cactus Users List" <[email protected]> Date: Mon, 13 Dec 2004 08:53:25 -0500 Subject: RE: hi MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 X-MS-Has-Attach: X-MS-TNEF-Correlator: content-class: urn:content-classes:message Thread-Topic: hi Thread-Index: AcThGq5AjV6m1qNLQw6EY10Mp+JbZAAAElCA X-Virus-Checked: Checked i don't think cactus is the right tool for testing hibernate per se. you m= ight check the hibernate forums etc for help on testing hibernate.=20 we use an axion database for testing our data access layer using junit test= s. cactus is for testing j2ee interfaces (currently beans and servlets/jsp afa= ik) in an operational environment (a running 'production' type container). = =20 > -----Original Message----- > From: hossein rahmani [mailto:[email protected]] > Sent: Monday, December 13, 2004 8:47 AM > To: cactus mailist > Subject: hi >=20 >=20 > Hi all, > How we can test the hibernate?is there any=20 > framework?cactus can help us to test hibernate? > bye >=20 >=20 >=20 > --------------------------------- > Find local movie times and trailers on Yahoo! Movies. >=20 From [email protected] Mon Dec 13 14:34:25 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 92102 invoked by uid 99); 13 Dec 2004 14:34:25 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mx5.kent.ac.uk (HELO mx5.kent.ac.uk) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 13 Dec 2004 06:34:20 -0800 Received: from hathor.ukc.ac.uk ([161.129.204.104]) by mx5.kent.ac.uk with esmtp (Exim 4.42) id 1CdrGs-0002CD-7i for [email protected]; Mon, 13 Dec 2004 14:33:54 +0000 Received: from raptor.ukc.ac.uk ([161.129.204.104] ident=exim) by hathor.ukc.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.42) id 1CdrGs-0002je-5r for [email protected]; Mon, 13 Dec 2004 14:33:54 +0000 Received: from stue61a.kent.ac.uk ([161.129.204.104] helo=[161.129.204.104]) by raptor.ukc.ac.uk with esmtp (Exim 4.42) id 1CdrGr-0006rC-Uw for [email protected]; Mon, 13 Dec 2004 14:33:54 +0000 Message-ID: <[email protected]> Date: Mon, 13 Dec 2004 14:37:08 +0000 From: Cumbers <[email protected]> User-Agent: Mozilla Thunderbird 0.9 (X11/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Cactus Users List <[email protected]> Subject: cactus not deploying war Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-UKC-Mail-System: No virus detected X-UKC-SpamCheck: X-UKC-MailScanner-From: [email protected] X-Virus-Checked: Checked Hey guys I am trying to use ant with cactus to deploy my app to Tomcat and then test. I can run the ant tasks on the examples, i tested the servlet example that comes with the cactus download and it creates its own Tomcat instance, puts the cactified war file under the webapps dir and, most importantly, it unpacks the war file. cactus then runs the tests. Currently with my app the same temporary instance of Tomcat is created, the cactified war file is placed under webapps, but the dam thing is not unpacking the war file, giving me errors like: java.lang.IllegalArgumentException: Document base /tmp/cactus/tomcat5x/webapps/rms-dev does not exist or is not a readable directory Now I know this is not available because the war file is not unpacked. Is there a school boy error I am making? Can anyone help?! I am very new to this cactus game, go easy ;) I can give more information if required! Cheers Rich From [email protected] Mon Dec 13 14:50:08 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 41933 invoked by uid 99); 13 Dec 2004 14:50:08 -0000 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_50_60,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from web52204.mail.yahoo.com (HELO web52204.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 13 Dec 2004 06:50:03 -0800 Received: (qmail 23864 invoked by uid 60001); 13 Dec 2004 14:49:53 -0000 Message-ID: <[email protected]> Received: from [161.129.204.104] by web52204.mail.yahoo.com via HTTP; Tue, 14 Dec 2004 01:49:53 EST Date: Tue, 14 Dec 2004 01:49:53 +1100 (EST) From: hossein rahmani <[email protected]> Reply-To: [email protected] Subject: hi To: cactus mailist <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1869468926-1102949393=:22880" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked --0-1869468926-1102949393=:22880 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi all, How we can test the hibernate?is there any framework?cactus can help us to test hibernate? bye --------------------------------- Find local movie times and trailers on Yahoo! Movies. --0-1869468926-1102949393=:22880-- From [email protected] Mon Dec 13 18:46:05 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 73185 invoked by uid 99); 13 Dec 2004 18:46:05 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mx5.kent.ac.uk (HELO mx5.kent.ac.uk) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 13 Dec 2004 10:46:01 -0800 Received: from hathor.ukc.ac.uk ([161.129.204.104]) by mx5.kent.ac.uk with esmtp (Exim 4.42) id 1CdvCi-0000Tk-2f for [email protected]; Mon, 13 Dec 2004 18:45:52 +0000 Received: from raptor.ukc.ac.uk ([161.129.204.104] ident=exim) by hathor.ukc.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.42) id 1CdvCh-0000Uy-W9 for [email protected]; Mon, 13 Dec 2004 18:45:52 +0000 Received: from stue61a.kent.ac.uk ([161.129.204.104] helo=[161.129.204.104]) by raptor.ukc.ac.uk with esmtp (Exim 4.42) id 1CdvCh-0005zl-QG for [email protected]; Mon, 13 Dec 2004 18:45:51 +0000 Message-ID: <[email protected]> Date: Mon, 13 Dec 2004 18:49:08 +0000 From: Cumbers <[email protected]> User-Agent: Mozilla Thunderbird 0.9 (X11/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Cactus Users List <[email protected]> Subject: Strange web.xml Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-UKC-Mail-System: No virus detected X-UKC-SpamCheck: X-UKC-MailScanner-From: [email protected] X-Virus-Checked: Checked Hey guys I am trying to get cactus to work with ant. My earlier post has been solved, it was a content.xml file that was the problem. My current Problem is this: I am using the following to ant target to create the cactified war file: <target name="development.test.prepare" depends="development-create-war, compile.cactus"> <!-- Cactify the war file --> <cactifywar srcfile="${target.dir}/rms_dev.war" destFile="${target.dir}/rms-dev-cactified.war"> <classes dir="${target.classes.cactus.dir}"/> <lib file="${httpunit.jar}"/> </cactifywar> <mkdir dir="${target.testreports.dir}"/> <mkdir dir="${target.testreports.dir}/tomcat5x"/> </target> This will work if I do not have any reference to ServletRedirector in my web.xml. However in the logs that the running of this cactified war target generates I see the following: 13-Dec-2004 18:18:28 org.apache.catalina.startup.ContextConfig applicationConfig SEVERE: Parse error in application web.xml java.lang.IllegalArgumentException: Servlet mapping specifies an unknown servlet name ServletRedirector at org.apache.commons.digester.Digester.createSAXException(Digester.java:2540) at org.apache.commons.digester.Digester.createSAXException(Digester.java:2566) at org.apache.commons.digester.Digester.endElement(Digester.java:1061) Which I take to mean that the web.xml is not formed correctly, i take a look at the web.xml file that is deployed from the cactified war file and here it is: <web-app> <servlet> <servlet-name>JspRedirector</servlet-name> <jsp-file>/jspRedirector.jsp</jsp-file> </servlet> <servlet-mapping> <servlet-name>ServletRedirector</servlet-name> <url-pattern>/ServletRedirector</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>JspRedirector</servlet-name> <url-pattern>/JspRedirector</url-pattern> </servlet-mapping> <session-config> <session-timeout>30</session-timeout> </session-config> <filter> <filter-name>FilterRedirector</filter-name> <filter-class>org.apache.cactus.server.FilterTestRedirector</filter-class> </filter> <filter-mapping> <filter-name>FilterRedirector</filter-name> <url-pattern>/FilterRedirector</url-pattern> </filter-mapping> <servlet> <servlet-name>rmsDispatcher</servlet-name> <servlet-class>com.sun.rms.tracking.RMSDispatcher</servlet-class> </servlet> <servlet> <servlet-name>ServletRedirector</servlet-name> <servlet-class>org.apache.cactus.server.ServletTestRedirector</servlet-class> </servlet> <servlet-mapping> <servlet-name>rmsDispatcher</servlet-name> <url-pattern>/RMSDispatcher/*</url-pattern> </servlet-mapping> <welcome-file-list> <welcome-file>index.jsp</welcome-file> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> </welcome-file-list> <resource-ref> <description>postgreSQL Datasource example</description> <res-ref-name>jdbc/postgres</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref> </web-app> Notice that the ServletRedirector is declared, but only AFTER the <servlet-mapping> tag that corresponds with the ServletRedirector. Should the <Servlet> declaration be declared before the <servlet-mapping> tags. If so, why is cactus and ant getting it so wrong! I have been working on this problem all day and it is slowly removing my will to live, any help is much appreciated! Cheers Rich From [email protected] Mon Dec 13 18:50:43 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 82667 invoked by uid 99); 13 Dec 2004 18:50:43 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_60_70,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from firewall1779.fiserv.com (HELO Mail1.Fiserv.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 13 Dec 2004 10:50:36 -0800 Received: from des10ms01.fais.com ([161.129.204.104]) by Mail1.Fiserv.com (Switch-3.1.2/Switch-3.1.2) with ESMTP id WBDI2E96G00002900 for <[email protected]>; Mon, 13 Dec 2004 12:50:10 -0600 Received: by DES10MS01 with Internet Mail Service (5.5.2653.19) id <YZZPS61L>; Mon, 13 Dec 2004 12:48:24 -0600 Message-ID: <0205C50D41B7D611AEA50002A537CEC20328E7AB@DES10MS01> From: "Korver, Aaron" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: Strange web.xml Date: Mon, 13 Dec 2004 12:48:24 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4E144.530FB2E0" X-Virus-Checked: Checked ------_=_NextPart_001_01C4E144.530FB2E0 Content-Type: text/plain; charset="iso-8859-1" Here is my deployment descriptor which works fine with Ant. Notice that the <servlet> tags are all before the <servlet-mapping> tags. <web-app id="WebApp"> <display-name>CactusWeb</display-name> <servlet> <servlet-name>ServletRedirector</servlet-name> <display-name>ServletRedirector</display-name> <servlet-class>org.apache.cactus.server.ServletTestRedirector</servlet-class > <load-on-startup>1</load-on-startup> </servlet> <servlet> <servlet-name>ServletTestRunner</servlet-name> <display-name>ServletTestRunner</display-name> <servlet-class>org.apache.cactus.server.runner.ServletTestRunner</servlet-cl ass> <init-param> <param-name>xsl-stylesheet</param-name> <param-value>styles/cactus-report.xsl</param-value> </init-param> <load-on-startup>2</load-on-startup> </servlet> <servlet-mapping> <servlet-name>ServletRedirector</servlet-name> <url-pattern>/ServletRedirector</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>ServletTestRunner</servlet-name> <url-pattern>/ServletTestRunner</url-pattern> </servlet-mapping> </web-app> > -----Original Message----- > From: Cumbers [mailto:[email protected]] > Sent: Monday, December 13, 2004 12:49 PM > To: Cactus Users List > Subject: Strange web.xml > > > Hey guys > > I am trying to get cactus to work with ant. My earlier post has been > solved, it was a content.xml file that was the problem. > > My current Problem is this: > > I am using the following to ant target to create the > cactified war file: > > <target name="development.test.prepare" > depends="development-create-war, compile.cactus"> > <!-- Cactify the war file --> > <cactifywar srcfile="${target.dir}/rms_dev.war" > destFile="${target.dir}/rms-dev-cactified.war"> > <classes dir="${target.classes.cactus.dir}"/> > <lib file="${httpunit.jar}"/> > </cactifywar> > <mkdir dir="${target.testreports.dir}"/> > <mkdir dir="${target.testreports.dir}/tomcat5x"/> > </target> > > This will work if I do not have any reference to > ServletRedirector in my > web.xml. However in the logs that the running of this cactified war > target generates I see the following: > > 13-Dec-2004 18:18:28 org.apache.catalina.startup.ContextConfig > applicationConfig > SEVERE: Parse error in application web.xml > java.lang.IllegalArgumentException: Servlet mapping specifies > an unknown > servlet name ServletRedirector > at > org.apache.commons.digester.Digester.createSAXException(Digest > er.java:2540) > at > org.apache.commons.digester.Digester.createSAXException(Digest > er.java:2566) > at > org.apache.commons.digester.Digester.endElement(Digester.java:1061) > > Which I take to mean that the web.xml is not formed > correctly, i take a > look at the web.xml file that is deployed from the cactified war file > and here it is: > > <web-app> > <servlet> > <servlet-name>JspRedirector</servlet-name> > <jsp-file>/jspRedirector.jsp</jsp-file> > </servlet> > <servlet-mapping> > <servlet-name>ServletRedirector</servlet-name> > <url-pattern>/ServletRedirector</url-pattern> > </servlet-mapping> > <servlet-mapping> > <servlet-name>JspRedirector</servlet-name> > <url-pattern>/JspRedirector</url-pattern> > </servlet-mapping> > <session-config> > <session-timeout>30</session-timeout> > </session-config> > <filter> > <filter-name>FilterRedirector</filter-name> > > <filter-class>org.apache.cactus.server.FilterTestRedirector</f ilter-class> > </filter> > <filter-mapping> > <filter-name>FilterRedirector</filter-name> > <url-pattern>/FilterRedirector</url-pattern> > </filter-mapping> > <servlet> > <servlet-name>rmsDispatcher</servlet-name> > > <servlet-class>com.sun.rms.tracking.RMSDispatcher</servlet-class> > </servlet> > <servlet> > <servlet-name>ServletRedirector</servlet-name> > <servlet-class>org.apache.cactus.server.ServletTestRedirector< /servlet-class> > </servlet> > <servlet-mapping> > <servlet-name>rmsDispatcher</servlet-name> > <url-pattern>/RMSDispatcher/*</url-pattern> > </servlet-mapping> > <welcome-file-list> > <welcome-file>index.jsp</welcome-file> > <welcome-file>index.html</welcome-file> > <welcome-file>index.htm</welcome-file> > </welcome-file-list> > <resource-ref> > <description>postgreSQL Datasource example</description> > <res-ref-name>jdbc/postgres</res-ref-name> > <res-type>javax.sql.DataSource</res-type> > <res-auth>Container</res-auth> > </resource-ref> > </web-app> > > Notice that the ServletRedirector is declared, but only AFTER the > <servlet-mapping> tag that corresponds with the ServletRedirector. > Should the <Servlet> declaration be declared before the > <servlet-mapping> tags. If so, why is cactus and ant getting > it so wrong! > > I have been working on this problem all day and it is slowly > removing my > will to live, any help is much appreciated! > > Cheers > > Rich > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > ------_=_NextPart_001_01C4E144.530FB2E0-- From [email protected] Mon Dec 13 20:37:14 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 13080 invoked by uid 99); 13 Dec 2004 20:37:14 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from llsa379-a01.servidoresdns.net (HELO smtp-01.servidoresdns.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 13 Dec 2004 12:37:10 -0800 Received: from pedro1 (80-28-153-53.adsl.nuria.telefonica-data.net [161.129.204.104]) by smtp-01.servidoresdns.net (Postfix) with ESMTP id C94CD3A17B5; Mon, 13 Dec 2004 21:37:05 +0100 (CET) From: "Pedro Nevado" <[email protected]> To: "Cactus Users List" <[email protected]>, <[email protected]> Subject: RE: hi Date: Mon, 13 Dec 2004 21:37:51 +0100 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <[email protected]> Importance: Normal X-Virus-Checked: Checked Hi there, You can test Hibernate directly, without an application server, just a pure JUnit test with your database, jdbc driver and Hibernate. Regards, Pedro -----Mensaje original----- De: hossein rahmani [mailto:[email protected]] Enviado el: lunes, 13 de diciembre de 2004 14:47 Para: cactus mailist Asunto: hi Hi all, How we can test the hibernate?is there any framework?cactus can help us to test hibernate? bye --------------------------------- Find local movie times and trailers on Yahoo! Movies. From [email protected] Mon Dec 13 23:24:25 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 52666 invoked by uid 99); 13 Dec 2004 23:24:25 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from yonada.wellsfargo.com (HELO yonada.wellsfargo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 13 Dec 2004 15:24:22 -0800 Received: from whitesands.wellsfargo.com (whitesands.wellsfargo.com [161.129.204.104]) by yonada.wellsfargo.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id iBDNI5gx009211; Mon, 13 Dec 2004 15:18:06 -0800 (PST) Received: from whitesands.wellsfargo.com (localhost [161.129.204.104]) by whitesands.wellsfargo.com (Switch-3.1.5/Switch-3.1.0) with ESMTP id iBDNODI2016240; Mon, 13 Dec 2004 16:24:20 -0700 (MST) Received: from MSGSPSMNMSP05.ent.wfb.bank.corp (msgspsmnmsp05.wellsfargo.com [161.129.204.104]) by whitesands.wellsfargo.com (Switch-3.1.5/Switch-3.1.0) with ESMTP id iBDNK7SW014727; Mon, 13 Dec 2004 16:20:08 -0700 (MST) Received: from MSGSWBMNMSP19.ent.wfb.bank.corp ([161.129.204.104]) by MSGSPSMNMSP05.ent.wfb.bank.corp with Microsoft SMTPSVC(5.0.2195.6713); Mon, 13 Dec 2004 17:20:07 -0600 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6556.0 Subject: Error in CactusStrutsTestCase Date: Mon, 13 Dec 2004 17:20:07 -0600 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Error in CactusStrutsTestCase Thread-Index: AcThakirVBWsOsBOT4yWOjxal0FcrQ== From: <[email protected]> To: <[email protected]>, <[email protected]> X-OriginalArrivalTime: 13 Dec 2004 23:20:07.0869 (UTC) FILETIME=[48E0C6D0:01C4E16A] X-Virus-Checked: Checked I have the following method that keeps failing and I don't know why. The = method should really only set a NavigationBean into session, then = forward to a page based on the action parameter. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D public void testProductSelection() throws Exception { // JUnitDoclet begin method productSelection NavigationBean navigationBean =3D null; java.lang.String[] productSelectionRequired =3D { "requiredif.productSelectionRequired" }; java.lang.String[] reqParamNames =3D { "action", "businessLineSelected", "businessCardSelected", =20 "businessSecuredCardSelected", "equipmentExpressSelected" }; java.lang.String[] reqParamValue0 =3D { "nextPage", "true", "false", "false", "false", Constants.BUSINESS_FWD }; java.lang.String[] reqParamValue1 =3D { "nextPage", "false", "true", "false", "false", Constants.BUSINESS_FWD }; java.lang.String[] reqParamValue2 =3D { "nextPage", "false", "false", "true", "false", Constants.BUSINESS_FWD }; java.lang.String[] reqParamValue3 =3D { "nextPage", "false", "false", "false", "true", Constants.BUSINESS_FWD }; java.lang.String[] reqParamValue4 =3D { "nextPage", "true", "true", "false", "false", Constants.BUSINESS_FWD }; java.lang.String[] reqParamValue5 =3D { "nextPage", "true", "false", "true", "false", Constants.BUSINESS_FWD }; java.lang.String[] reqParamValue6 =3D { "nextPage", "true", "false", "false", "true", Constants.BUSINESS_FWD }; java.lang.String[] reqParamValue7 =3D { "nextPage", "false", "true", "true", "false", Constants.BUSINESS_FWD }; java.lang.String[] reqParamValue8 =3D { "nextPage", "false", "true", "false", "true", Constants.BUSINESS_FWD }; java.lang.String[] reqParamValue9 =3D { "nextPage", "false", "false", "true", "true", Constants.BUSINESS_FWD }; java.lang.String[] reqParamValue10 =3D { "business", "true", "true", "true", "true", Constants.BUSINESS_FWD }; java.lang.String[] reqParamValue11 =3D { "firstOwner", "true", "true", "true", "true", Constants.FIRSTOWNER_FWD }; java.lang.String[] reqParamValue12 =3D { "secondOwner", "true", "true", "true", "true", Constants.SECONDOWNER_FWD }; java.lang.String[] reqParamValue13 =3D { "businessLine", "true", "true", "true", "true", "prepareBusinessLine" }; java.lang.String[] reqParamValue14 =3D { "businessCard", "true", "true", "true", "true", "prepareBusinessCard" }; java.lang.String[] reqParamValue15 =3D { "securedCard", "true", "true", "true", "true", "prepareSecuredCard" }; java.lang.String[] reqParamValue16 =3D { "equipmentExpress", "true", "true", "true", "true", "prepareEquipmentExpress" }; java.lang.String[] reqParamValue17 =3D { "conclude", "true", "true", "true", "true", Constants.BUSINESS_FWD }; java.lang.Object[] reqParamValues =3D { reqParamValue0, reqParamValue1, reqParamValue2, reqParamValue3, reqParamValue4, reqParamValue5, reqParamValue6, reqParamValue7, reqParamValue8, reqParamValue9, reqParamValue10, reqParamValue11, reqParamValue12, reqParamValue13, reqParamValue14, reqParamValue15, reqParamValue16, reqParamValue17 }; //----- NO Products ---------------------------------------------------------// setRequestPathInfo("/productSelection"); addRequestParameter("action", "nextPage"); addRequestParameter("businessLineSelected", "false"); addRequestParameter("businessCardSelected", "false"); addRequestParameter("businessSecuredCardSelected", "false"); addRequestParameter("equipmentExpressSelected", "false"); actionPerform(); verifyActionErrors( productSelectionRequired ); verifyForward( Constants.ERROR_FWD ); //----- Various Products ----------------------------------------------------// setRequestPathInfo("/productSelection"); for( int i=3D0; i<reqParamValues.length; i++ ){ String[] reqParamValue =3D (String[])reqParamValues[i]; log.info( "//----------------------------------------------------------------------= --//" ); log.info( "reqParamValue " + i + " name is " + reqParamValues[i].getClass().getName().toString() ); log.info( "setRequestPathInfo( /productSelection )" ); addRequestParameter( reqParamNames[0], reqParamValue[0] ); addRequestParameter( reqParamNames[1], reqParamValue[1] ); addRequestParameter( reqParamNames[2], reqParamValue[2] ); addRequestParameter( reqParamNames[3], reqParamValue[3] ); addRequestParameter( reqParamNames[4], reqParamValue[4] ); log.info( "------------------------------------------------------------------------= ----" ); log.info( "reqParamNames[0]: " + reqParamNames[0].toString() ); log.info( "reqParamNames[1]: " + reqParamNames[1].toString() ); log.info( "reqParamNames[2]: " + reqParamNames[2].toString() ); log.info( "reqParamNames[3]: " + reqParamNames[3].toString() ); log.info( "reqParamNames[4]: " + reqParamNames[4].toString() ); log.info( "------------------------------------------------------------------------= ----" ); log.info( "reqParamValue[0]: " + reqParamValue[0].toString() ); log.info( "reqParamValue[1]: " + reqParamValue[1].toString() ); log.info( "reqParamValue[2]: " + reqParamValue[2].toString() ); log.info( "reqParamValue[3]: " + reqParamValue[3].toString() ); log.info( "reqParamValue[4]: " + reqParamValue[4].toString() ); log.info( "------------------------------------------------------------------------= ----" ); try{ actionPerform(); } catch( Exception e ){ log.error(e.getMessage() ); e.printStackTrace(); } verifyNoActionErrors(); log.info( "actionForwards: " + reqParamValue[5].toString() ); log.info( "getActualForward: " + getActualForward() ); verifyForward( reqParamValue[5] ); navigationBean =3D (NavigationBean) = getSession().getAttribute( Constants.NAVIGATION_BEAN ); assertTrue( "NavigationBean is null", navigationBean !=3D null ); log.info( "//----------------------------------------------------------------------= --//" ); } //----- END... --------------------------------------------------------------// // JUnitDoclet end method productSelection } I get this error on the 14th iteration: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D java.lang.IllegalStateException: response already committed at = weblogic.servlet.internal.ServletResponseImpl.sendRedirect(ServletRespons= eImpl.java:584) at = servletunit.struts.StrutsResponseWrapper.sendRedirect(StrutsResponseWrapp= er.java:154) at = org.apache.struts.action.RequestProcessor.processForwardConfig(RequestPro= cessor.java:385) at = org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesR= equestProcessor.java:316) at = org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:2= 31) at = org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415) at = servletunit.struts.CactusStrutsTestCase.actionPerform(CactusStrutsTestCas= e.java:537) at = com.wf.bd.ice.creditapplication.CreditApplicationActionsTest.testProductS= election(CreditApplicationActionsTest.java:195) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at = sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java= :39) at = sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI= mpl.java:25) at = org.apache.cactus.internal.AbstractCactusTestCase.runBareServer(AbstractC= actusTestCase.java:153) at = org.apache.cactus.internal.server.AbstractWebTestCaller.doTest(AbstractWe= bTestCaller.java:119) at = org.apache.cactus.internal.server.AbstractWebTestController.handleRequest= _aroundBody0(AbstractWebTestController.java:93) at = org.apache.cactus.internal.server.AbstractWebTestController.handleRequest= _aroundBody1$advice(AbstractWebTestController.java:124) at = org.apache.cactus.internal.server.AbstractWebTestController.handleRequest= (AbstractWebTestController.java) at = org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody2(Servlet= TestRedirector.java:101) at = org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody3$advice(= ServletTestRedirector.java:124) at = org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirect= or.java) at = org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody0(ServletT= estRedirector.java:72) at = org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody1$advice(S= ervletTestRedirector.java:124) at = org.apache.cactus.server.ServletTestRedirector.doGet(ServletTestRedirecto= r.java) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at = weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Ser= vletStubImpl.java:971) at = weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.j= ava:402) at = weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.j= ava:305) at = weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.ru= n(WebAppServletContext.java:6350) at = weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSub= ject.java:317) at = weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)= at = weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServle= tContext.java:3635) at = weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.j= ava:2585) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170) -------------------- Mick Knutson Wells Fargo Business Direct Information Systems +1-505-472-7563 "This message may contain confidential and/or privileged information. If = you are not the addressee or authorized to receive this for the = addressee, you must not use, copy, disclose, or take any action based on = this message or any information herein. If you have received this = message in error, please advise the sender immediately by reply e-mail = and delete this message. Thank you for your cooperation." -------------------- From [email protected] Tue Dec 14 04:24:35 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 45832 invoked by uid 99); 14 Dec 2004 04:24:35 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from satyaki.pacific.net.in (HELO satyaki.pacific.net.in) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 13 Dec 2004 20:24:30 -0800 Received: from mail2.bgr.ionidea.com (sixz0035.bgr.ionidea.com [161.129.204.104] (may be forged)) by satyaki.pacific.net.in with SMTP id JAA06724 for <[email protected]>; Tue, 14 Dec 2004 09:54:18 +0530 (IST) Received: from cfmvinpro2 ([161.129.204.104]) by mail2.bgr.ionidea.com (8.13.1/8.12.2) with SMTP id iBE4OMlv025596 for <[email protected]>; Tue, 14 Dec 2004 09:54:23 +0530 Message-ID: <00b301c4e194$ec3e1ec0$2b015b0a@cfmvinpro2> From: "praveen" <[email protected]> To: "Cactus Users List" <[email protected]> Subject: import org.apache.cactus.extension.jsp.JspTagLifecycle; Date: Tue, 14 Dec 2004 09:55:20 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00B0_01C4E1C3.05F19FD0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked ------=_NextPart_000_00B0_01C4E1C3.05F19FD0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am new for cactus. Why i am unable to improt this statement. i am = using cactus-1.7dev20040523.jar this jar file. thanx&&regars praveen. ------=_NextPart_000_00B0_01C4E1C3.05F19FD0-- From [email protected] Mon Dec 13 16:47:41 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 6186 invoked by uid 99); 13 Dec 2004 16:47:41 -0000 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_30_40,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from web20228.mail.yahoo.com (HELO web20228.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 13 Dec 2004 08:47:37 -0800 Received: (qmail 8448 invoked by uid 60001); 13 Dec 2004 16:47:33 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=vPm4nFCfNFosZLEWlNrXlf9A2yMmTqWnnrIbNAvdTXpNB2JFnqGw82ZzSTuXRrU3Sm/TMrvbWTh2qCi+byqe8EV8KwgVWLzG2Egy/VnZuIbvSEeOB/PB5o/iA4YWOCftmmZNVYJ8rS42SCQ2hTvWD2x51DnLjg7U3YFrFbbWMK8= ; Message-ID: <[email protected]> Received: from [161.129.204.104] by web20228.mail.yahoo.com via HTTP; Mon, 13 Dec 2004 08:47:33 PST Date: Mon, 13 Dec 2004 08:47:33 -0800 (PST) From: l z <[email protected]> Subject: how to use cactus in maven to do test on websphere application server To: [email protected] MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1623050343-1102956453=:6515" X-Virus-Checked: Checked --0-1623050343-1102956453=:6515 Content-Type: text/plain; charset=us-ascii Hi All the Maven! cactus maven plugin doesn't support websphere application server, how to use generic container to do cactus on websphere? would anybody give some sample code? Thanks a lot! Lincoln Zheng --------------------------------- Do you Yahoo!? Jazz up your holiday email with celebrity designs. Learn more. --0-1623050343-1102956453=:6515-- From [email protected] Tue Dec 14 09:26:21 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 81673 invoked by uid 99); 14 Dec 2004 09:26:21 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from satyaki.pacific.net.in (HELO satyaki.pacific.net.in) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 14 Dec 2004 01:26:17 -0800 Received: from mail2.bgr.ionidea.com (sixz0035.bgr.ionidea.com [161.129.204.104] (may be forged)) by satyaki.pacific.net.in with SMTP id OAA11681 for <[email protected]>; Tue, 14 Dec 2004 14:56:03 +0530 (IST) Received: from cfmvinpro2 ([161.129.204.104]) by mail2.bgr.ionidea.com (8.13.1/8.12.2) with SMTP id iBE9QAZs003681 for <[email protected]>; Tue, 14 Dec 2004 14:56:10 +0530 Message-ID: <000c01c4e1be$d406ae60$2b015b0a@cfmvinpro2> From: "praveen" <[email protected]> To: "Cactus Users List" <[email protected]> Subject: run time exception while i am running appliction Date: Tue, 14 Dec 2004 14:55:18 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0009_01C4E1EC.EDB7E580" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked ------=_NextPart_000_0009_01C4E1EC.EDB7E580 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hai why i am getting this runtime exceiptom How can i slove this. Plz let me know for this. org.apache.cactus.util.ChainedRuntimeException: Failed to get the test = results at [http://localhost:7001/WebModule1/ServletRedirector] Thanx&&Regards praveen. ------=_NextPart_000_0009_01C4E1EC.EDB7E580-- From [email protected] Tue Dec 14 11:46:48 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 13310 invoked by uid 99); 14 Dec 2004 11:46:48 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mx5.kent.ac.uk (HELO mx5.kent.ac.uk) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 14 Dec 2004 03:46:43 -0800 Received: from apophis.ukc.ac.uk ([161.129.204.104]) by mx5.kent.ac.uk with esmtp (Exim 4.42) id 1CeB8N-0007AS-FP for [email protected]; Tue, 14 Dec 2004 11:46:27 +0000 Received: from raptor.ukc.ac.uk ([161.129.204.104] ident=exim) by apophis.ukc.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.42) id 1CeB8N-0000gG-D9 for [email protected]; Tue, 14 Dec 2004 11:46:27 +0000 Received: from stue61a.kent.ac.uk ([161.129.204.104] helo=[161.129.204.104]) by raptor.ukc.ac.uk with esmtp (Exim 4.42) id 1CeB8N-0001vD-7j for [email protected]; Tue, 14 Dec 2004 11:46:27 +0000 Message-ID: <[email protected]> Date: Tue, 14 Dec 2004 11:49:52 +0000 From: Cumbers <[email protected]> User-Agent: Mozilla Thunderbird 0.9 (X11/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Cactus Users List <[email protected]> Subject: Log4J problems Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-UKC-Mail-System: No virus detected X-UKC-SpamCheck: X-UKC-MailScanner-From: [email protected] X-Virus-Checked: Checked Hello Firstly my problem from yesterday was that my web.xml did not conform to the dtd and cactus fails silently, scrambling the web.xml tags. This is a known bug within the cactus project. Now however I have another issue, this time with Log4J. I use Log4J within my web application, with no [email protected]. However when I try and test using cactus, it fails on creation of a class that uses Log4J, with the following error message: Caused ERROR org/apache/log4j/Priority java.lang.NoClassDefFoundError: org/apache/log4j/Priority Now I have put in the cactus.classpath in the ant file a reference to the log4j jar file and have also put it as an argument for ant itself. Any ideas what is going wrong? Cheers Rich From [email protected] Tue Dec 14 13:03:05 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 88985 invoked by uid 99); 14 Dec 2004 13:03:05 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from satyaki.pacific.net.in (HELO satyaki.pacific.net.in) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 14 Dec 2004 05:03:00 -0800 Received: from mail2.bgr.ionidea.com (sixz0035.bgr.ionidea.com [161.129.204.104] (may be forged)) by satyaki.pacific.net.in with SMTP id SAA15309 for <[email protected]>; Tue, 14 Dec 2004 18:32:45 +0530 (IST) Received: from cfmvinpro2 ([161.129.204.104]) by mail2.bgr.ionidea.com (8.13.1/8.12.2) with SMTP id iBED2qqV010838 for <[email protected]>; Tue, 14 Dec 2004 18:32:52 +0530 Message-ID: <000a01c4e1dd$5f28d4f0$2b015b0a@cfmvinpro2> From: "praveen" <[email protected]> To: "Cactus Users List" <[email protected]> Subject: exception Date: Tue, 14 Dec 2004 18:33:57 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01C4E20B.78D04810" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked ------=_NextPart_000_0007_01C4E20B.78D04810 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hai i am getting this exception plz send solution if you know. org.apache.cactus.util.ChainedRuntimeException: Failed to get the test = results at [http://cfm-vin-pro2:7001/WebModule1/JspRedirector] Thanx&&Regards praveen ------=_NextPart_000_0007_01C4E20B.78D04810-- From [email protected] Tue Dec 14 22:15:08 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 35527 invoked by uid 99); 14 Dec 2004 22:15:08 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO,NO_REAL_NAME,X_PRIORITY_HIGH X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from lokai.wellsfargo.com (HELO lokai.wellsfargo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 14 Dec 2004 14:15:05 -0800 Received: from thar.wellsfargo.com (thar.wellsfargo.com [161.129.204.104]) by lokai.wellsfargo.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id iBEMF3Wv022457; Tue, 14 Dec 2004 15:15:03 -0700 (MST) Received: from thar.wellsfargo.com (localhost [161.129.204.104]) by thar.wellsfargo.com (Switch-3.1.5/Switch-3.1.0) with ESMTP id iBEMF1Fw019445; Tue, 14 Dec 2004 16:15:01 -0600 (CST) Received: from MSGSPSMNMSP05.ent.wfb.bank.corp (msgspsmnmsp05.wellsfargo.com [161.129.204.104]) by thar.wellsfargo.com (Switch-3.1.5/Switch-3.1.0) with ESMTP id iBEMF1Uq019438; Tue, 14 Dec 2004 16:15:01 -0600 (CST) Received: from MSGSWBMNMSP19.ent.wfb.bank.corp ([161.129.204.104]) by MSGSPSMNMSP05.ent.wfb.bank.corp with Microsoft SMTPSVC(5.0.2195.6713); Tue, 14 Dec 2004 16:15:01 -0600 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6556.0 Subject: Tips on testing pages with multiple potential paths? Date: Tue, 14 Dec 2004 16:15:01 -0600 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Tips on testing pages with multiple potential paths? Thread-Index: AcTiKlqavSXhNiB9QqC4cLoxTPgtqA== X-Priority: 1 Priority: Urgent Importance: high From: <[email protected]> To: <[email protected]>, <[email protected]> X-OriginalArrivalTime: 14 Dec 2004 22:15:01.0467 (UTC) FILETIME=[5AE4E2B0:01C4E22A] X-Virus-Checked: Checked We have an application where each page has about 8 different paths = depending upon the DTO in session, and the values passed in the request. I have only started on the 1st page right now, and feel overwhelmed with = the limitless possibilities I have to test for. I am hoping someone can give me some tips to be able make my test = writing easier, and potentially re-usable. The generic examples just don't address trying to do complex multi-path = scenarios. I am using CactusStrutsTestCase currently. -------------------- Mick Knutson Wells Fargo Business Direct Information Systems +1-505-472-7563 "This message may contain confidential and/or privileged information. If = you are not the addressee or authorized to receive this for the = addressee, you must not use, copy, disclose, or take any action based on = this message or any information herein. If you have received this = message in error, please advise the sender immediately by reply e-mail = and delete this message. Thank you for your cooperation." -------------------- From [email protected] Tue Dec 14 22:22:01 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 62031 invoked by uid 99); 14 Dec 2004 22:22:01 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from sdexch.transcore.com (HELO sdexch.tcore.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Dec 2004 14:21:58 -0800 X-MIMEOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: cactus plugin for Eclipse Date: Tue, 14 Dec 2004 14:21:56 -0800 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: cactus plugin for Eclipse Thread-Index: AcTiK1J7Gd05SAf/QuOkEqh7d08KcA== From: "Lehman, Ileana" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked Hello: I need a cactus plug-in for Eclipse. Can anyone point a location that = would have the plug-in? Thanks, Ileana From [email protected] Tue Dec 14 22:43:18 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 22545 invoked by uid 99); 14 Dec 2004 22:43:18 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from sdexch.transcore.com (HELO sdexch.tcore.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Dec 2004 14:43:14 -0800 X-MIMEOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: java.lang.ClassFormatError Date: Tue, 14 Dec 2004 14:43:12 -0800 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: java.lang.ClassFormatError Thread-Index: AcTiLkq+F3NiqKQSTvS8dZ3t38UmiQ== From: "Lehman, Ileana" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked Hello: I am trying to run the sample/test application from: http://jakarta.apache.org/cactus/integration/howto_tomcat.html=20 and I am getting ClassFormatError when invoking = ServletTestRunner?suite=3DTestSampleServlet environment info: jakarta-cactus-12-1.6.1=20 IBM J2EE 1.2 jdk 1.4 Tomcat 5.5 Thank you, Ileana java.lang.ClassFormatError: Invalid index 0 in LocalVariableTable in = class file org/apache/cactus/util/log/LogAspect java.lang.ClassLoader.defineClass1(Native Method) java.lang.ClassLoader.defineClass(Unknown Source) java.security.SecureClassLoader.defineClass(Unknown Source) java.net.URLClassLoader.defineClass(Unknown Source) java.net.URLClassLoader.access$100(Unknown Source) java.net.URLClassLoader$1.run(Unknown Source) java.security.AccessController.doPrivileged(Native Method) java.net.URLClassLoader.findClass(Unknown Source) java.lang.ClassLoader.loadClass(Unknown Source) java.lang.ClassLoader.loadClass(Unknown Source) java.lang.ClassLoader.loadClassInternal(Unknown Source) = org.apache.cactus.server.runner.ServletTestRunner.doGet(ServletTestRunner= .java) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) From [email protected] Tue Dec 14 23:02:56 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 79703 invoked by uid 99); 14 Dec 2004 23:02:56 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 14 Dec 2004 15:02:53 -0800 Received: by wproxy.gmail.com with SMTP id 70so151747wra for <[email protected]>; Tue, 14 Dec 2004 15:02:47 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=YvIfUKNiX+btxBfmWRSDwAY43yi9lRcEd3oLz1iXV/0LURd60vXTwEfCiy/2V83ct/5tEN17tCELH3HlBIklL4yfmMnlZwcELcf8MXGHXVaaBhpPhARhCmaxNwzcQ6UUSeC1R+6iof5iy+3J5MCQIC0VnIk96JYJOhmO/9sLP98= Received: by 161.129.204.104 with SMTP id g33mr1352191wrg; Tue, 14 Dec 2004 15:02:44 -0800 (PST) Received: by 161.129.204.104 with HTTP; Tue, 14 Dec 2004 15:02:44 -0800 (PST) Message-ID: <[email protected]> Date: Wed, 15 Dec 2004 00:02:44 +0100 From: Nicolas Chalumeau <[email protected]> Reply-To: Nicolas Chalumeau <[email protected]> To: Cactus Users List <[email protected]> Subject: Re: cactus plugin for Eclipse In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <[email protected]> X-Virus-Checked: Checked The cactus integration for eclipse actually don't work but here is the pointer to this part of the project : http://jakarta.apache.org/cactus/integration/eclipse/index.html Nicolas, On Tue, 14 Dec 2004 14:21:56 -0800, Lehman, Ileana <[email protected]> wrote: > Hello: > > I need a cactus plug-in for Eclipse. Can anyone point a location that would have the plug-in? > > Thanks, > Ileana > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > From [email protected] Tue Dec 14 23:06:48 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 96384 invoked by uid 99); 14 Dec 2004 23:06:48 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from sdexch.transcore.com (HELO sdexch.tcore.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Dec 2004 15:06:44 -0800 X-MIMEOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: cactus plugin for Eclipse Date: Tue, 14 Dec 2004 15:06:40 -0800 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: cactus plugin for Eclipse Thread-Index: AcTiMR5pOAB9oJQcSRGDR2WJza33sQAAE1gQ From: "Lehman, Ileana" <[email protected]> To: "Cactus Users List" <[email protected]>, "Nicolas Chalumeau" <[email protected]> X-Virus-Checked: Checked Thank you. I got that far - and yes I noticed that the plugin was = removed. I hoped there might be other site that would have a Cactus = plugin for Eclipse. Thanks, Ileana -----Original Message----- From: Nicolas Chalumeau [mailto:[email protected]] Sent: Tuesday, December 14, 2004 3:03 PM To: Cactus Users List Subject: Re: cactus plugin for Eclipse The cactus integration for eclipse actually don't work but here is the pointer to this part of the project : http://jakarta.apache.org/cactus/integration/eclipse/index.html Nicolas, On Tue, 14 Dec 2004 14:21:56 -0800, Lehman, Ileana <[email protected]> wrote: > Hello: >=20 > I need a cactus plug-in for Eclipse. Can anyone point a location that = would have the plug-in? >=20 > Thanks, > Ileana >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >=20 > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Dec 14 23:51:57 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 21087 invoked by uid 99); 14 Dec 2004 23:51:57 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from yarnek.wellsfargo.com (HELO yarnek.wellsfargo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 14 Dec 2004 15:51:54 -0800 Received: from catskills.wellsfargo.com (catskills.wellsfargo.com [161.129.204.104]) by yarnek.wellsfargo.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id iBENoGWF007584 for <[email protected]>; Tue, 14 Dec 2004 15:50:16 -0800 (PST) Received: from catskills.wellsfargo.com (localhost [161.129.204.104]) by catskills.wellsfargo.com (Switch-3.1.5/Switch-3.1.0) with ESMTP id iBENppH3023395 for <[email protected]>; Tue, 14 Dec 2004 16:51:52 -0700 (MST) Received: from MSGSPSMNMSP05.ent.wfb.bank.corp (msgspsmnmsp05.wellsfargo.com [161.129.204.104]) by catskills.wellsfargo.com (Switch-3.1.5/Switch-3.1.0) with ESMTP id iBENppNH023389 for <[email protected]>; Tue, 14 Dec 2004 16:51:51 -0700 (MST) Received: from MSGSWBMNMSP19.ent.wfb.bank.corp ([161.129.204.104]) by MSGSPSMNMSP05.ent.wfb.bank.corp with Microsoft SMTPSVC(5.0.2195.6713); Tue, 14 Dec 2004 17:51:51 -0600 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6556.0 Subject: FW: Error in CactusStrutsTestCase Date: Tue, 14 Dec 2004 17:51:51 -0600 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Error in CactusStrutsTestCase Thread-Index: AcThakirVBWsOsBOT4yWOjxal0FcrQAAPxOAAACS6rAAAA5LIAAlMGIAAAGu7cAAC6Sx8A== From: <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 14 Dec 2004 23:51:51.0289 (UTC) FILETIME=[E1D15E90:01C4E237] X-Virus-Checked: Checked > -----Original Message----- > From: [email protected] [mailto:[email protected]] > Sent: Tuesday, December 14, 2004 10:40 AM > To: [email protected] > Subject: RE: Error in CactusStrutsTestCase > Importance: High >=20 >=20 > Here is what I want to do. > I want to loop through various scenarios. > 1. add the parameters to each given scenario > 2. execute the scenario > 3. assert the outcome > 4. start again from scratch. >=20 > Now when I put the setUp() and tearDown() around the whole=20 > method, I get an ActionError thrown the very first iteration=20 > that I KNOW 100% is not true as when I remove them, I get 14=20 > iterations done without error. >=20 > So what to do without creating a new test method for each=20 > scenario as there are too many scenarios. Hmmmmm.... Okay... assuming that the failing test actually works when = you do it by hand, these are the possibilities I can think of: 1) You're screaming through the list to fast. This makes no sense, = except that I'm not familiar enough with Cactus to know how it works. = If it's doing something funky with the requests then this could be a = problem. Try putting a Thread.sleep(1000) or longer see if that helps. 2) Cactus is doing something odd with your requests in the setup you = have. Basically what's happening is either the Action or the JSP is = trying to write something to the reponse stream after it's been closed, = and apparently from what you're saying only under Cactus. Since Cactus = inserts itself into the request/response process, I'm thinking that = maybe it's actually Cactus that's doing something weird in you setup. = Might be worthwhile to check the cactus list and see what they say. =20 >=20 > -------------------- > Mick Knutson > Wells Fargo Business Direct > +1-505-472-7563 >=20 > "This message may contain confidential and/or privileged=20 > information. If you are not the addressee or authorized to=20 > receive this for the addressee, you must not use, copy,=20 > disclose, or take any action based on this message or any=20 > information herein. If you have received this message in=20 > error, please advise the sender immediately by reply e-mail=20 > and delete this message. Thank you for your cooperation." > -------------------- >=20 >=20 >=20 > -----Original Message----- > From: Jim Barrows [mailto:[email protected]] > Sent: Monday, December 13, 2004 3:48 PM > To: Struts Users Mailing List > Subject: RE: Error in CactusStrutsTestCase >=20 >=20 > > -----Original Message----- > > From: [email protected]=20 > [mailto:[email protected]] > > Sent: Monday, December 13, 2004 4:44 PM > > To: [email protected] > > Subject: RE: Error in CactusStrutsTestCase > >=20 > >=20 > >=20 > > This one is a real pain because there is no real failure in=20 > > my logs. Just > > the error I posted which came from my testcase page only. > >=20 > > The closest thing I can figure, is this is where the error is=20 > > happening: > > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > if( > > Constants.TRUE.equals( > > =20 > request.getParameter(Constants.BUS_CARD_SELECTED) > > ) > > ) { > > navigationBean.setHasBusinessCard(true); > > } else { > > =20 > > request.getSession().removeAttribute(Constants.BUSINESSCARD_FORM); >=20 > This is the only place you're writing anything, and it's not=20 > to the request. So, I don't think it's here, I think it's=20 > when you actually write to the request. THat's what the=20 > error message says. >=20 > > navigationBean.setHasBusinessCard(false); > > } > >=20 > >=20 > > Note that there are 17 iterations, and there are only 4 that=20 > > have an if() > > for them. 1 for each of our 4 products. This is the second=20 > product in > > the list. So one of the products (businessLine), was already=20 > > executed in > > this test before the businessCard which is where it fails. >=20 >=20 > Move this one last, and see if the other three work..... >=20 >=20 > >=20 > >=20 > >=20 > > -------------------- > > Mick Knutson > > Wells Fargo Business Direct > > +1-505-472-7563 > >=20 > > "This message may contain confidential and/or privileged=20 > > information. If you are not the addressee or authorized to=20 > > receive this for the addressee, you must not use, copy,=20 > > disclose, or take any action based on this message or any=20 > > information herein. If you have received this message in=20 > > error, please advise the sender immediately by reply e-mail=20 > > and delete this message. Thank you for your cooperation." > > -------------------- > >=20 > >=20 > >=20 > > -----Original Message----- > > From: Jim Barrows [mailto:[email protected]] > > Sent: Monday, December 13, 2004 3:33 PM > > To: Struts Users Mailing List > > Subject: RE: Error in CactusStrutsTestCase > >=20 > >=20 > >=20 > >=20 > > > -----Original Message----- > > > From: [email protected]=20 > > [mailto:[email protected]] > > > Sent: Monday, December 13, 2004 4:20 PM > > > To: [email protected]; [email protected] > > > Subject: Error in CactusStrutsTestCase > > >=20 > > >=20 > > > I have the following method that keeps failing and I don't=20 > > > know why. The method should really only set a NavigationBean=20 > > > into session, then forward to a page based on the action=20 > parameter. > > > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > >=20 > > > public void testProductSelection() throws Exception { > > > // JUnitDoclet begin method productSelection > > >=20 > > > NavigationBean navigationBean =3D null; > >=20 > >=20 > > ummmm... where is the code in the action that is failing?=20 > >=20 > > <snip/> > >=20 > > The exception indicates that you are trying to write to a=20 > > response that's been committed, but your test harness=20 > > doesn't help much in figuring out why. Your test harnes is=20 > > working, since it works 13 times before failing. > >=20 > >=20 > > > I get this error on the 14th iteration: > > > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > >=20 > > >=20 > > >=20 > > > java.lang.IllegalStateException: response already committed > > > at=20 > > > weblogic.servlet.internal.ServletResponseImpl.sendRedirect(Ser > > > vletResponseImpl.java:584) > > > at=20 > > > servletunit.struts.StrutsResponseWrapper.sendRedirect(StrutsRe > > > sponseWrapper.java:154) > > > at=20 > > > org.apache.struts.action.RequestProcessor.processForwardConfig > > > (RequestProcessor.java:385) > > > at=20 > > > org.apache.struts.tiles.TilesRequestProcessor.processForwardCo > > > nfig(TilesRequestProcessor.java:316) > > > at=20 > > > org.apache.struts.action.RequestProcessor.process(RequestProce > > > ssor.java:231) > > > at=20 > > > org.apache.struts.action.ActionServlet.process(ActionServlet.j > > > ava:1164) > > > at=20 > > >=20 > >=20 > org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415) > > > at=20 > > > servletunit.struts.CactusStrutsTestCase.actionPerform(CactusSt > > > rutsTestCase.java:537) > > > at=20 > > > com.wf.bd.ice.creditapplication.CreditApplicationActionsTest.t > > > estProductSelection(CreditApplicationActionsTest.java:195) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at=20 > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess > > > orImpl.java:39) > > > at=20 > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth > > > odAccessorImpl.java:25) > > > at=20 > > > org.apache.cactus.internal.AbstractCactusTestCase.runBareServe > > > r(AbstractCactusTestCase.java:153) > > > at=20 > > > org.apache.cactus.internal.server.AbstractWebTestCaller.doTest > > > (AbstractWebTestCaller.java:119) > > > at=20 > > > org.apache.cactus.internal.server.AbstractWebTestController.ha > > > ndleRequest_aroundBody0(AbstractWebTestController.java:93) > > > at=20 > > > org.apache.cactus.internal.server.AbstractWebTestController.ha > > > ndleRequest_aroundBody1$advice(AbstractWebTestController.java:124) > > > at=20 > > > org.apache.cactus.internal.server.AbstractWebTestController.ha > > > ndleRequest(AbstractWebTestController.java) > > > at=20 > > > org.apache.cactus.server.ServletTestRedirector.doPost_aroundBo > > > dy2(ServletTestRedirector.java:101) > > > at=20 > > > org.apache.cactus.server.ServletTestRedirector.doPost_aroundBo > > > dy3$advice(ServletTestRedirector.java:124) > > > at=20 > > > org.apache.cactus.server.ServletTestRedirector.doPost(ServletT > > > estRedirector.java) > > > at=20 > > > org.apache.cactus.server.ServletTestRedirector.doGet_aroundBod > > > y0(ServletTestRedirector.java:72) > > > at=20 > > > org.apache.cactus.server.ServletTestRedirector.doGet_aroundBod > > > y1$advice(ServletTestRedirector.java:124) > > > at=20 > > > org.apache.cactus.server.ServletTestRedirector.doGet(ServletTe > > > stRedirector.java) > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > > at=20 > > > weblogic.servlet.internal.ServletStubImpl$ServletInvocationAct > > > ion.run(ServletStubImpl.java:971) > > > at=20 > > > weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servle > > > tStubImpl.java:402) > > > at=20 > > > weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servle > > > tStubImpl.java:305) > > > at=20 > > > weblogic.servlet.internal.WebAppServletContext$ServletInvocati > > > onAction.run(WebAppServletContext.java:6350) > > > at=20 > > > weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authe > > > nticatedSubject.java:317) > > > at=20 > > > weblogic.security.service.SecurityManager.runAs(SecurityManage > > > r.java:118) > > > at=20 > > > weblogic.servlet.internal.WebAppServletContext.invokeServlet(W > > > ebAppServletContext.java:3635) > > > at=20 > > > weblogic.servlet.internal.ServletRequestImpl.execute(ServletRe > > > questImpl.java:2585) > > > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197) > > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170) > > >=20 > > >=20 > > >=20 > > > -------------------- > > > Mick Knutson > > > Wells Fargo Business Direct Information Systems > > > +1-505-472-7563 > > >=20 > > > "This message may contain confidential and/or privileged=20 > > > information. If you are not the addressee or authorized to=20 > > > receive this for the addressee, you must not use, copy,=20 > > > disclose, or take any action based on this message or any=20 > > > information herein. If you have received this message in=20 > > > error, please advise the sender immediately by reply e-mail=20 > > > and delete this message. Thank you for your cooperation." > > > -------------------- > > >=20 > > >=20 > > >=20 > > >=20 > >=20 > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [email protected] > > > For additional commands, e-mail: [email protected] > > >=20 > > >=20 > >=20 > >=20 > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > >=20 > >=20 > >=20 > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > >=20 > >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Dec 15 09:23:44 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 95930 invoked by uid 99); 15 Dec 2004 09:23:44 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from web50203.mail.yahoo.com (HELO web50203.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 15 Dec 2004 01:23:39 -0800 Received: (qmail 55873 invoked by uid 60001); 15 Dec 2004 09:23:33 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=P9G+sAGRIiTKgpdxAmhYHYZNH5krRzGh4vct8ZpofwABRdqMQUNvqZO9kHPS76gmLYvhB4V4bOoL0Eh8NMLAihaGYflZAYaCz71w3NWaAtPVdti6CZuxDLCAQpSuC3PyIosxUstQ1Nmv+S63bTKlU6gMOEvWVFTPR7+OlkCmupU= ; Message-ID: <[email protected]> Received: from [161.129.204.104] by web50203.mail.yahoo.com via HTTP; Wed, 15 Dec 2004 01:23:33 PST Date: Wed, 15 Dec 2004 01:23:33 -0800 (PST) From: "Bole, Roland Y." <[email protected]> Subject: Problems with the <taskdef> tag To: [email protected] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked Hi Everyone, I have a problem trying to automate my cactus in container tests with the cactus ant integration. In order to use the ant cactus tags i included the following taskdef in my build file. <taskdef resource="cactus.tasks" classpathref="cactus.classpath"/> I get a warning/error saying: a class needed by org.apache.cactus.integration.ant.CactusTask cannot be found: junit/framework/Test. I actually have junit.jar in my cactus classpath as shown below <path id="cactus.classpath"> <path refid="classpath.base"/> <pathelement location="${aspectjrt.jar}"/> <pathelement location="${cactus.jar}"/> <pathelement location="${cactus.ant.jar}"/> <pathelement location="${httpclient.jar}"/> <pathelement location="${junit.jar}"/> <pathelement location="${httpunit.jar}"/> <pathelement location="${commons.logging.jar}"/> <pathelement location="${nekohtml.jar}"/> </path> my cactify war looks as follows <target name="cactifywartask" depends="war,cactus.compile"> <cactifywar srcfile="${dest}/kita.war}" destfile="${dest}/kitatest.war}"> <classes dir="${dest.classes.cactus.dir}"/> </cactifywar> </target> Thanks for any help. PS. Is there anyone who has used cactus with OC4J? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From [email protected] Wed Dec 15 10:39:44 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 21286 invoked by uid 99); 15 Dec 2004 10:39:44 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=HTML_40_50,HTML_MESSAGE,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from satyaki.pacific.net.in (HELO satyaki.pacific.net.in) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 15 Dec 2004 02:39:40 -0800 Received: from mail2.bgr.ionidea.com (sixz0035.bgr.ionidea.com [161.129.204.104] (may be forged)) by satyaki.pacific.net.in with SMTP id QAA14218 for <[email protected]>; Wed, 15 Dec 2004 16:09:22 +0530 (IST) Received: from cfmvinpro2 ([161.129.204.104]) by mail2.bgr.ionidea.com (8.13.1/8.12.2) with SMTP id iBFAdScE020365 for <[email protected]>; Wed, 15 Dec 2004 16:09:28 +0530 Message-ID: <001901c4e292$7cd20de0$2b015b0a@cfmvinpro2> From: "praveen" <[email protected]> To: "Cactus Users List" <[email protected]> Subject: exception servlet redirector Date: Wed, 15 Dec 2004 16:10:25 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0016_01C4E2C0.967C1910" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked ------=_NextPart_000_0016_01C4E2C0.967C1910 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hai any body help me in this issue. I am unable to get the jsprediredcor its throws any exception of=20 org.apache.cactus.util.ChainedRuntimeException: Failed to get the test = results at [http://cfm-vin-pro2:7001/web/JspRedirector] i hope that i will get reply soon. org.apache.cactus.util.ChainedRuntimeException: Failed to get the test = results at [http://cfm-vin-pro2:7001/web/JspRedirector] here it it my cactus.properteis file # Configuration file for Cactus. # Each project using Cactus need to have such a file put in the client = side # CLASSPATH (Meaning the directory containgin this file should be in the = client # side CLASSPATH, not the file itself of course ... :) ) # Defines the URLs that will be used by Cactus to call it's redirectors. # You need to specify in these URLs the webapp context that you use for = your # application. In the example below, the context is "test". cactus.jspRedirectorURL=3Dhttp://cfm-vin-pro2:7001/web/jspRedirector # Web app Context under which our application to test runs cactus.contextURL=3Dhttp://cfm-vin-pro2:7001/web # Default Servlet Redirector Name. Used by ServletTestCase test cases. cactus.servletRedirectorName =3D ServletRedirector # Default JSP Redirector Name. Used by JspTestCase test cases. cactus.jspRedirectorName =3D JspRedirector # NOTE: Some servlet 2.3 containers need to map the filter to a valid # resource (Orion 1.5.2 for example). Others, like Tomcat, are happy # with just any mapping. # # For example, the following would work with Tomcat (and this is what I = would # have expected !) : # cactus.filterRedirectorName =3D FilterRedirector cactus.filterRedirectorName=3DFilterRedirector # Enable Cactus internal logging cactus.enableLogging=3Dtrue ------=_NextPart_000_0016_01C4E2C0.967C1910-- From [email protected] Wed Dec 15 12:26:18 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 73439 invoked by uid 99); 15 Dec 2004 12:26:18 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail2.cbc-companies.com (HELO mail2.cbc-companies.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 15 Dec 2004 04:26:15 -0800 Received: from emailsurf (avenue.cbc-companies.com [161.129.204.104]) by mail2.cbc-companies.com (8.12.10/8.12.6) with ESMTP id iBFCQB5E029771 for <[email protected]>; Wed, 15 Dec 2004 07:26:11 -0500 Received: from Unknown [161.129.204.104] by emailsurf - SurfControl E-mail Filter (4.7); Wed, 15 Dec 2004 07:31:21 -0500 Message-ID: <[email protected]> From: "Mark Lybarger" <[email protected]> To: "Cactus Users List" <[email protected]> Date: Wed, 15 Dec 2004 07:28:31 -0500 Subject: RE: cactus plugin for Eclipse MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 X-MS-Has-Attach: X-MS-TNEF-Correlator: content-class: urn:content-classes:message Thread-Topic: cactus plugin for Eclipse Thread-Index: AcTiMR5pOAB9oJQcSRGDR2WJza33sQAAE1gQABvFOLA= X-Virus-Checked: Checked The plugin is available in cvs I think. =20 The plugin only works for eclipse 2.0.1 (maybe others in the 2.x series). = Some have reported to have gotten the source and made it to work with eclip= se 3.x, but I don't think anything has been committed to cvs. =20 IMO, the plugin is buggy. For me, it would sometimes start servers and if = there was an error with something (i forget exactly), it wouldn't shut them= down. The plugin needs to be re-written to take advantage of cactus java = api, or Vincent's generic container interface. Ultimately, we've found the ant/browser integration to work quite nicely fo= r our testing needs. > -----Original Message----- > From: Lehman, Ileana [mailto:[email protected]] > Sent: Tuesday, December 14, 2004 6:07 PM > To: Cactus Users List; Nicolas Chalumeau > Subject: RE: cactus plugin for Eclipse >=20 >=20 > Thank you. I got that far - and yes I noticed that the plugin=20 > was removed. I hoped there might be other site that would=20 > have a Cactus plugin for Eclipse. >=20 > Thanks, > Ileana >=20 >=20 > -----Original Message----- > From: Nicolas Chalumeau [mailto:[email protected]] > Sent: Tuesday, December 14, 2004 3:03 PM > To: Cactus Users List > Subject: Re: cactus plugin for Eclipse >=20 >=20 > The cactus integration for eclipse actually don't work but here is the > pointer to this part of the project : > http://jakarta.apache.org/cactus/integration/eclipse/index.html >=20 > Nicolas, >=20 >=20 > On Tue, 14 Dec 2004 14:21:56 -0800, Lehman, Ileana > <[email protected]> wrote: > > Hello: > >=20 > > I need a cactus plug-in for Eclipse. Can anyone point a=20 > location that would have the plug-in? > >=20 > > Thanks, > > Ileana > >=20 > >=20 > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > >=20 > > >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >=20 >=20 >=20 From [email protected] Wed Dec 15 13:16:45 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 49301 invoked by uid 99); 15 Dec 2004 13:16:45 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO,RCVD_BY_IP X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.shs.siemens.com (HELO mail.shs.siemens.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 15 Dec 2004 05:16:38 -0800 Received: from mlvv9m1x.shs.siemens.com (unknown [161.129.204.104]) by mail.shs.siemens.com (Postfix) with ESMTP id EBE43395E2 for <[email protected]>; Wed, 15 Dec 2004 08:16:24 -0500 (EST) Received: from MLVV9MBA.ww005.siemens.net (mlvv9mba.smshsc.net [161.129.204.104]) by mlvv9m1x.shs.siemens.com (8.12.11/8.12.10) with ESMTP id iBFDGPGm005989 for <[email protected]>; Wed, 15 Dec 2004 08:16:25 -0500 Received: from mlvexc01.smshsc.net ([161.129.204.104]) by 161.129.204.104 with InterScan Messaging Security Suite; Wed, 15 Dec 2004 08:13:46 -0500 Received: by MLVEXC01 with Internet Mail Service (5.5.2657.72) id <YPW58GJT>; Wed, 15 Dec 2004 08:18:05 -0500 Message-ID: <[email protected]> From: Lobello Jeffrey <[email protected]> To: "'Cactus Users List'" <[email protected]>, Nicolas Chalumeau <[email protected]> Subject: RE: cactus plugin for Eclipse Date: Wed, 15 Dec 2004 08:16:19 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" X-Virus-Checked: Checked I just wanted to point out that as long as you setup cactus for your web application per the instructions, that you can use any jUnit test runner to run your cactus tests. I use WSAD & the jUnit test runner in it works fine with cactus. -- Jeff -----Original Message----- From: Lehman, Ileana [mailto:[email protected]] Sent: Tuesday, December 14, 2004 6:07 PM To: Cactus Users List; Nicolas Chalumeau Subject: RE: cactus plugin for Eclipse Thank you. I got that far - and yes I noticed that the plugin was removed. I hoped there might be other site that would have a Cactus plugin for Eclipse. Thanks, Ileana -----Original Message----- From: Nicolas Chalumeau [mailto:[email protected]] Sent: Tuesday, December 14, 2004 3:03 PM To: Cactus Users List Subject: Re: cactus plugin for Eclipse The cactus integration for eclipse actually don't work but here is the pointer to this part of the project : http://jakarta.apache.org/cactus/integration/eclipse/index.html Nicolas, On Tue, 14 Dec 2004 14:21:56 -0800, Lehman, Ileana <[email protected]> wrote: > Hello: > > I need a cactus plug-in for Eclipse. Can anyone point a location that would have the plug-in? > > Thanks, > Ileana > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] ------------------------------------------------------------------------------- This message and any included attachments are from Siemens Medical Solutions USA, Inc. and are intended only for the addressee(s). The information contained herein may include trade secrets or privileged or otherwise confidential information. Unauthorized review, forwarding, printing, copying, distributing, or using such information is strictly prohibited and may be unlawful. If you received this message in error, or have reason to believe you are not authorized to receive it, please promptly delete this message and notify the sender by e-mail with a copy to [email protected] Thank you From [email protected] Wed Dec 15 18:06:12 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 19399 invoked by uid 99); 15 Dec 2004 18:06:12 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from sdexch.transcore.com (HELO sdexch.tcore.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 15 Dec 2004 10:05:10 -0800 X-MIMEOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: cactus plugin for Eclipse Date: Wed, 15 Dec 2004 10:04:46 -0800 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: cactus plugin for Eclipse Thread-Index: AcTiqtqJDLi65uWITXWT666Pxa4EJwAJZnAg From: "Lehman, Ileana" <[email protected]> To: "Cactus Users List" <[email protected]> X-Virus-Checked: Checked I just got it running with WSAD and JUnit. Thanks! Ileana -----Original Message----- From: Lobello Jeffrey [mailto:[email protected]] Sent: Wednesday, December 15, 2004 5:16 AM To: 'Cactus Users List'; Nicolas Chalumeau Subject: RE: cactus plugin for Eclipse I just wanted to point out that as long as you setup cactus for your web application per the instructions, that you can use any jUnit test runner = to run your cactus tests. I use WSAD & the jUnit test runner in it works = fine with cactus. -- Jeff -----Original Message----- From: Lehman, Ileana [mailto:[email protected]] Sent: Tuesday, December 14, 2004 6:07 PM To: Cactus Users List; Nicolas Chalumeau Subject: RE: cactus plugin for Eclipse Thank you. I got that far - and yes I noticed that the plugin was = removed. I hoped there might be other site that would have a Cactus plugin for = Eclipse. Thanks, Ileana -----Original Message----- From: Nicolas Chalumeau [mailto:[email protected]] Sent: Tuesday, December 14, 2004 3:03 PM To: Cactus Users List Subject: Re: cactus plugin for Eclipse The cactus integration for eclipse actually don't work but here is the pointer to this part of the project : http://jakarta.apache.org/cactus/integration/eclipse/index.html Nicolas, On Tue, 14 Dec 2004 14:21:56 -0800, Lehman, Ileana <[email protected]> wrote: > Hello: >=20 > I need a cactus plug-in for Eclipse. Can anyone point a location that would have the plug-in? >=20 > Thanks, > Ileana >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >=20 > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] -------------------------------------------------------------------------= ------ This message and any included attachments are from Siemens Medical = Solutions=20 USA, Inc. and are intended only for the addressee(s). =20 The information contained herein may include trade secrets or privileged = or=20 otherwise confidential information. Unauthorized review, forwarding, = printing,=20 copying, distributing, or using such information is strictly prohibited = and may=20 be unlawful. If you received this message in error, or have reason to = believe=20 you are not authorized to receive it, please promptly delete this = message and=20 notify the sender by e-mail with a copy to = [email protected]=20 Thank you --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Dec 15 18:12:48 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 43982 invoked by uid 99); 15 Dec 2004 18:12:48 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_50_60,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from firewall1779.fiserv.com (HELO Mail1.Fiserv.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 15 Dec 2004 10:11:44 -0800 Received: from des10ms01.fais.com ([161.129.204.104]) by Mail1.Fiserv.com (Switch-3.1.2/Switch-3.1.2) with ESMTP id WBFI1AM6G00001FF8 for <[email protected]>; Wed, 15 Dec 2004 12:10:59 -0600 Received: by DES10MS01 with Internet Mail Service (5.5.2653.19) id <Y9WZPGDS>; Wed, 15 Dec 2004 12:09:06 -0600 Message-ID: <0205C50D41B7D611AEA50002A537CEC20328E7C0@DES10MS01> From: "Korver, Aaron" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: Problems with the <taskdef> tag Date: Wed, 15 Dec 2004 12:09:05 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4E2D1.29CDEC60" X-Virus-Checked: Checked ------_=_NextPart_001_01C4E2D1.29CDEC60 Content-Type: text/plain; charset="iso-8859-1" What does ${junit.jar} point to? > -----Original Message----- > From: Bole, Roland Y. [mailto:[email protected]] > Sent: Wednesday, December 15, 2004 3:24 AM > To: [email protected] > Subject: Problems with the <taskdef> tag > > > Hi Everyone, > I have a problem trying to automate my cactus in > container tests with the cactus ant integration. In order > to use the ant cactus tags i included the following taskdef > in my build file. > <taskdef resource="cactus.tasks" > classpathref="cactus.classpath"/> > > I get a warning/error saying: a class needed by > org.apache.cactus.integration.ant.CactusTask cannot be > found: junit/framework/Test. I actually have junit.jar in > my cactus classpath as shown below > > <path id="cactus.classpath"> > <path refid="classpath.base"/> > <pathelement location="${aspectjrt.jar}"/> > <pathelement location="${cactus.jar}"/> > <pathelement location="${cactus.ant.jar}"/> > <pathelement location="${httpclient.jar}"/> > <pathelement location="${junit.jar}"/> > <pathelement location="${httpunit.jar}"/> > <pathelement location="${commons.logging.jar}"/> > <pathelement location="${nekohtml.jar}"/> > </path> > > my cactify war looks as follows > > <target name="cactifywartask" depends="war,cactus.compile"> > <cactifywar srcfile="${dest}/kita.war}" > > destfile="${dest}/kitatest.war}"> > <classes dir="${dest.classes.cactus.dir}"/> > </cactifywar> > </target> > > Thanks for any help. > > PS. Is there anyone who has used cactus with OC4J? > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > ------_=_NextPart_001_01C4E2D1.29CDEC60-- From [email protected] Thu Dec 16 06:38:42 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 41171 invoked by uid 99); 16 Dec 2004 06:38:42 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_FONT_BIG,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from param.aztec.soft.net (HELO param.aztec.soft.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 15 Dec 2004 22:38:25 -0800 Received: from maya.aztec.soft.net (maya.aztec.soft.net [161.129.204.104]) by param.aztec.soft.net (8.12.8/) with ESMTP id iBG6U16p025839 for <[email protected]>; Thu, 16 Dec 2004 12:00:13 +0530 Received: by maya.aztec.soft.net with Internet Mail Service (5.5.2653.19) id <YQKB3SQT>; Thu, 16 Dec 2004 12:06:39 +0530 Message-ID: <[email protected]> From: Venu Sunil Boyireddy <[email protected]> To: [email protected] Subject: Help bundling Servlet Test cases Date: Thu, 16 Dec 2004 12:06:34 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4E339.966E7980" X-Virus-Checked: Checked ------_=_NextPart_001_01C4E339.966E7980 Content-Type: text/plain Hi, I'm using Cactus to test servlets and JSPs. As of now I'm writing a separate test cases for each Servlet and bundling them in Suite. Instead of writing a separate test case for each and every Servlet/JSP, I wanted to write a application which takes inputs(Servlet name, path, params etc.) from properties file and runs the test case. Is there any way where I can write test application. Any Help is very much grateful. Thanks in advance. Sunil ------_=_NextPart_001_01C4E339.966E7980-- From [email protected] Thu Dec 16 09:15:13 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 16545 invoked by uid 99); 16 Dec 2004 09:15:13 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from web50209.mail.yahoo.com (HELO web50209.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 16 Dec 2004 01:13:16 -0800 Received: (qmail 74508 invoked by uid 60001); 16 Dec 2004 09:06:09 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=206FKloVk8TNQf7BT3F/RepGKXRKgGyNtXrYw/cETwuAXe1n/e0YWgbxMgHRNa0v1dw4DLZ4Z2EW4u027nx1uzyNmaMzX5bAJpklsKIHDLm5Fv/0cF/lklxULyvfWUw12KegM+z1T8v40Ts4cNOoYHwXa0ipGVHGTS6oedejq/g= ; Message-ID: <[email protected]> Received: from [161.129.204.104] by web50209.mail.yahoo.com via HTTP; Thu, 16 Dec 2004 01:06:09 PST Date: Thu, 16 Dec 2004 01:06:09 -0800 (PST) From: "Bole, Roland Y." <[email protected]> Subject: RE: Problems with the <taskdef> tag To: Cactus Users List <[email protected]> In-Reply-To: <0205C50D41B7D611AEA50002A537CEC20328E7C0@DES10MS01> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked hi, ${junit.jar} points to the junit jar file in my ant home. <property name="junit.jar" location="${ant.library.dir}/junit-3.8.1.jar"/> thanks. __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com From [email protected] Fri Dec 17 09:38:50 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 16435 invoked by uid 99); 17 Dec 2004 09:38:50 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from satyaki.pacific.net.in (HELO satyaki.pacific.net.in) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 17 Dec 2004 01:36:55 -0800 Received: from mail2.bgr.ionidea.com (sixz0035.bgr.ionidea.com [161.129.204.104] (may be forged)) by satyaki.pacific.net.in with SMTP id OAA11128 for <[email protected]>; Fri, 17 Dec 2004 14:49:40 +0530 (IST) Received: from cfmvinpro2 ([161.129.204.104]) by mail2.bgr.ionidea.com (8.13.1/8.12.2) with SMTP id iBH9JlMT017970 for <[email protected]>; Fri, 17 Dec 2004 14:49:47 +0530 Message-ID: <001701c4e419$ac1ca410$2b015b0a@cfmvinpro2> From: "praveen" <[email protected]> To: "Cactus Users List" <[email protected]> Subject: jsf custom tag libs Date: Fri, 17 Dec 2004 14:50:38 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0014_01C4E447.C5CB4320" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked ------=_NextPart_000_0014_01C4E447.C5CB4320 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hai all, I need help in writing testcases for jsf(java server faceses) custom = tag libs.Is there any article found in writing test cases for jsf custom = tag libs plz send that link or any example . =20 Thanx&&Regards praveen. ------=_NextPart_000_0014_01C4E447.C5CB4320-- From [email protected] Fri Dec 17 18:51:22 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 10779 invoked by uid 99); 17 Dec 2004 18:51:22 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 17 Dec 2004 10:50:23 -0800 Received: by wproxy.gmail.com with SMTP id 37so203285wra for <[email protected]>; Fri, 17 Dec 2004 10:50:05 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=qsro+gGQ1T4AffvvKwPKM4gwzbnkdwsSvR/zhJXPneFKJhZWR48mn5XWdPQDhgSsikOgKuvsTRjULZvmtvNYZRWQ5E1j43ez4kKMt8QB6/10SZ7mmA/caMpSy+opKUne6tSYsbwC74DJGObZ3UPFWESnpoAzTRTO+lYDSleBDN0= Received: by 161.129.204.104 with SMTP id 73mr413506wry; Fri, 17 Dec 2004 10:43:25 -0800 (PST) Received: by 161.129.204.104 with HTTP; Fri, 17 Dec 2004 10:43:25 -0800 (PST) Message-ID: <[email protected]> Date: Fri, 17 Dec 2004 10:43:25 -0800 From: Kaushal Zagade <[email protected]> Reply-To: Kaushal Zagade <[email protected]> To: Cactus Users List <[email protected]> Subject: Re: jsf custom tag libs In-Reply-To: <001701c4e419$ac1ca410$2b015b0a@cfmvinpro2> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <001701c4e419$ac1ca410$2b015b0a@cfmvinpro2> X-Virus-Checked: Checked hi praveen, i want to test a very simple JSF(Java Server Faces) file with cactus. i have the environment set up(all the jar files and wsad). can you suggest me how to do it. i know the basics about cactus beacause i have test a EJB with it. i just want to test a JSF, a very simple one. fast response is appreciated. thanks alot. Kaushal On Fri, 17 Dec 2004 14:50:38 +0530, praveen <[email protected]> wrote: > hai all, > > I need help in writing testcases for jsf(java server faceses) custom tag libs.Is there any article found in writing test cases for jsf custom tag libs plz send that link or any example . > > Thanx&&Regards > praveen. > > From [email protected] Fri Dec 17 22:20:57 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 77718 invoked by uid 99); 17 Dec 2004 22:20:57 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF [email protected]) Received: from smtp111.mail.sc5.yahoo.com (HELO smtp111.mail.sc5.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 17 Dec 2004 14:19:52 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp111.mail.sc5.yahoo.com with SMTP; 17 Dec 2004 22:19:35 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: Help bundling Servlet Test cases Date: Fri, 17 Dec 2004 23:19:07 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcTjOePvgQTvbanGTWmqqsrxGPPcTABNucBA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: <[email protected]> X-Virus-Checked: Checked Hi Sunil, Unfortunately Cactus does not currently support Data-driven testing = because of a limitation in our implementation. In short, for each test to = execute on the server side the cactus client side passes the name of the test class/test method to execute to the cactus redirector on the server = side. The redirector then instantiates your test class inside the container = using introspection. It does this by calling either the default constructor or = the constructor accepting a string as parameter. It cannot currently call a constructor that would accept input parameters. We've discussed this in = the past and we've agreed that one solution to support this would be to let = the client side instantiate the test and pass it as a serialized object to = the server side. But that remains to be implemented... I don't remember if there's a JIRA issue for this so you may with to raise one if you're interested. All that said, here's the good news! You can probably make it work by = doing the following: - pass the location of a properties file to the server side by adding it = as an HTTP parameter to the HTTP request (in your beginXXX() method). Alternatively pass different HTTP parameters, one for each property you = wish to use in your generic test methid - in your generic test method, read the properties file/paremeters (get = them from the request object) - in order not to have all test methods named identically in your JUnit report, ensure you override the JUnit getName() method. Hope it helps, -Vincent > -----Original Message----- > From: Venu Sunil Boyireddy [mailto:[email protected]] > Sent: jeudi 16 d=E9cembre 2004 07:37 > To: [email protected] > Subject: Help bundling Servlet Test cases >=20 > Hi, >=20 > I'm using Cactus to test servlets and JSPs. As of now I'm writing a > separate > test cases for each Servlet and bundling them in Suite. >=20 >=20 >=20 > Instead of writing a separate test case for each and every = Servlet/JSP, I > wanted to write a application which takes inputs(Servlet name, path, > params > etc.) from properties file and runs the test case. >=20 >=20 >=20 > Is there any way where I can write test application. >=20 >=20 >=20 >=20 >=20 > Any Help is very much grateful. >=20 >=20 >=20 > Thanks in advance. >=20 >=20 >=20 > Sunil From [email protected] Sat Dec 18 08:12:03 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 45124 invoked by uid 99); 18 Dec 2004 08:12:03 -0000 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=FORGED_RCVD_HELO,HTML_60_70,HTML_MESSAGE,HTML_SHORT_COMMENT,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from smtpout.opentext.com (HELO opentext.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 18 Dec 2004 00:12:00 -0800 Received: from graham.wl.opentext.com (graham.wl.opentext.com [161.129.204.104]) by opentext.com (8.12.8/8.12.8) with ESMTP id iBI8BwYU006907 for <[email protected]>; Sat, 18 Dec 2004 03:11:58 -0500 Received: from vectorsvc.wl.opentext.com (ava.wl.opentext.com [161.129.204.104]) by graham.wl.opentext.com (8.12.8/8.12.8) with ESMTP id iBI8BuAX027368 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for <[email protected]>; Sat, 18 Dec 2004 03:11:56 -0500 Received: from OTWATMX01.opentext.net (fox.wl.opentext.com [161.129.204.104]) by vectorsvc.wl.opentext.com (8.12.8/8.12.8) with ESMTP id iBI8BulH006904 for <[email protected]>; Sat, 18 Dec 2004 03:11:56 -0500 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4E4D9.37C100C1" X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Subject: Out of Office AutoReply: Test Date: Sat, 18 Dec 2004 03:11:46 -0500 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Test Thread-Index: AcTk2TdcmFPl+/faTWK6cZ/meoVQvwAAABmx From: "Daniel Rabe" <[email protected]> To: <[email protected]> X-Archived: [email protected] X-Virus-Checked: Checked ------_=_NextPart_001_01C4E4D9.37C100C1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 SSBhbSBvbiB2YWNhdGlvbiB1bnRpbCBEZWNlbWJlciAyOS4gSSB3aWxsIGJlIGNoZWNraW5nIGVt YWlsIHBlcmlvZGljYWxseSBkdXJpbmcgdGhhdCB0aW1lLCBhbmQgd2lsbCByZXNwb25kIHRvIHlv dXIgZW1haWwgYXMgc29vbiBhcyBJIGNhbi4NCg== ------_=_NextPart_001_01C4E4D9.37C100C1-- From [email protected] Mon Dec 20 17:29:40 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 36876 invoked by uid 99); 20 Dec 2004 17:29:40 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 20 Dec 2004 09:29:37 -0800 Received: by wproxy.gmail.com with SMTP id 37so196710wra for <[email protected]>; Mon, 20 Dec 2004 09:29:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=JgmPyNlg6Bh4jYTZ119QOeNbOoRBbyiNdG45aFWHBGZtAS5Vv/B1E/kkkvChh1oXeHXhemOkfRBd6ijYXU4tjsJchNjp74U671TQcC8YE6N/9gD6tiIcb9/9ILsrIbkOZrB8zros94sQNyvpG9a7bT7d0GcEq5vXK8EthSVNq6k= Received: by 161.129.204.104 with SMTP id b65mr251065wrb; Mon, 20 Dec 2004 09:29:34 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 20 Dec 2004 09:29:34 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 20 Dec 2004 09:29:34 -0800 From: Kaushal Zagade <[email protected]> Reply-To: Kaushal Zagade <[email protected]> To: Cactus Users List <[email protected]> Subject: JSF and Cactus.....URGENT PLEASE Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked hi, i want to test a very simple JSF(Java Server Faces) file with cactus. i have the environment set up(all the jar files and wsad). can anyone suggest me how to do it ? know the basics about cactus beacause i have test a EJB with it. i just want to test a JSF, a very simple one. thanks alot. Kaushal From [email protected] Mon Dec 20 18:05:15 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 26280 invoked by uid 99); 20 Dec 2004 18:05:15 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 20 Dec 2004 10:05:11 -0800 Received: by wproxy.gmail.com with SMTP id 58so49006wri for <[email protected]>; Mon, 20 Dec 2004 10:05:09 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=l16aHSIh/uAoqrXHP3RhisSXCEcxvlq0M4R77Bzu70sukRtVGMzGgW20vZWCZWIqzG3yyQdYwmBsSCSilGuNLMVHtVRGMc3eXC1FfNm+c5sc+FC70hq+E3seJalfBFGFPPXVbZ4NPbmS/EG9D1QJiHOP5y0Brk/PIdYxQcDpdAc= Received: by 161.129.204.104 with SMTP id 68mr654557wrb; Mon, 20 Dec 2004 10:05:08 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 20 Dec 2004 10:05:08 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 20 Dec 2004 10:05:08 -0800 From: Kaushal Zagade <[email protected]> Reply-To: Kaushal Zagade <[email protected]> To: Cactus Users List <[email protected]> Subject: HTTPClient program on the cactus website Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked hi, i am having a problem running the program from the HTTPCient tutorial on the cactus website at this link: http://jakarta.apache.org/commons/httpclient/3.0/tutorial.html i have downloaded the commons-logging-api.jar and the commons-httpclient-3.0.alpha2.jar and put them in the lib directory and the classpath of my java project as mentioned. it is giving me this error: Exception in thread "main" java.lang.NoClassDefFoundError: [email protected].<init>(HttpMethodBase.java:216) at org.apache.commons.httpclient.methods.GetMethod.<init>(GetMethod.java:88) at test.HTTPClientTutorial.main(HTTPClientTutorial.java:18) ========= i have not changed the code even a single bit. kaushal From [email protected] Mon Dec 20 18:20:12 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 58455 invoked by uid 99); 20 Dec 2004 18:20:12 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 20 Dec 2004 10:20:09 -0800 Received: by wproxy.gmail.com with SMTP id 58so51098wri for <[email protected]>; Mon, 20 Dec 2004 10:20:06 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=mMdLNC16rZjRjFRFtzsAv+z8e+71nkjVXw16RlVr45ypCktMrKv8XE29VvXwoZVObFFJdtk5gPzAfEzM0hGLx3II0rKMj7vfW2YC6uaTakdfJDhcYKuGwiW7prBOpC5Sxat4LFWevijtWXbw2gEwmhcGjoU6vi7vGJX906CHymw= Received: by 161.129.204.104 with SMTP id 37mr77580wra; Mon, 20 Dec 2004 10:20:06 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 20 Dec 2004 10:20:06 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 20 Dec 2004 10:20:06 -0800 From: Kaushal Zagade <[email protected]> Reply-To: Kaushal Zagade <[email protected]> To: Cactus Users List <[email protected]> Subject: testing Cactus and JSF - updated question with more information about the problem Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked hi, i am having a problem running the program from the HTTPCient tutorial on the cactus website at this link: http://jakarta.apache.org/commons/httpclient/3.0/tutorial.html i have downloaded the commons-logging-api.jar and the commons-httpclient-3.0.alpha2.jar and put them in the lib directory and the classpath of my java project as mentioned. it is giving me this error: Exception in thread "main" java.lang.NoClassDefFoundError: [email protected].<init>(HttpMethodBase.java:216) at org.apache.commons.httpclient.methods.GetMethod.<init>(GetMethod.java:88) at test.HTTPClientTutorial.main(HTTPClientTutorial.java:18) ========= the log file systemerr.log shows this message: [12/17/04 11:02:04:967 PST] 00000040 SystemErr R org.xml.sax.SAXException: FWK005 parse may not be called while parsing. at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at com.ibm.wsspi.PluginParser.parsePlugin(PluginParser.java:379) at com.ibm.wsspi.RegistryLoader.parseRegistry(RegistryLoader.java:224) at com.ibm.wsspi.RegistryLoader.loadRegistry(RegistryLoader.java:79) at com.ibm.ws.console.core.action.LogonAction.execute(LogonAction.java:126) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:275) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1486) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:528) at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220) at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934) at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332) ========= i have not changed the code even a single bit. kaushal From [email protected] Mon Dec 20 18:29:02 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 77318 invoked by uid 99); 20 Dec 2004 18:29:02 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from hm171.locaweb.com.br (HELO hm171.locaweb.com.br) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 20 Dec 2004 10:28:55 -0800 Received: (qmail 85404 invoked by uid 0); 20 Dec 2004 18:28:46 -0000 Received: from unknown (161.129.204.104) by hm171.locaweb.com.br with QMTP; 20 Dec 2004 18:28:46 -0000 Received: (qmail 29887 invoked from network); 20 Dec 2004 18:28:12 -0000 Received: from unknown (HELO ?161.129.204.104?) ([email protected]@161.129.204.104) by hm101.locaweb.com.br with SMTP; 20 Dec 2004 18:28:13 -0000 Subject: Re: HTTPClient program on the cactus website From: Felipe Leme <[email protected]> To: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain Organization: Falcon Informática Message-Id: <1103567436.4706.8.camel@homer> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Mon, 20 Dec 2004 16:30:37 -0200 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked Kaushal, Cactus uses httpclient 2.0; please try that version instead. -- Felipe On Mon, 2004-12-20 at 16:05, Kaushal Zagade wrote: > i have downloaded the commons-logging-api.jar and the > commons-httpclient-3.0.alpha2.jar and put them in the lib directory > and the classpath of my java project as mentioned. From [email protected] Mon Dec 20 21:43:10 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 11851 invoked by uid 99); 20 Dec 2004 21:43:10 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 20 Dec 2004 13:43:06 -0800 Received: by wproxy.gmail.com with SMTP id 37so259983wra for <[email protected]>; Mon, 20 Dec 2004 13:43:03 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=YRxakfCGZs8Ns0w674bsmZMvwwxQ6b/zmHrD6OvrGyUYG5BS34Fy9S+rdr1xWyvZFV5uDC1txHxHSrCXQSrHrGqg3K3LUcUHDxGPmNV0RZDYDFp+go/EGK/fbOiVw0Pqz8Zdl+3Je57eZ46ZnDOQsz4ubOnvyKihwyO1pugjBZ4= Received: by 161.129.204.104 with SMTP id 44mr102226wrb; Mon, 20 Dec 2004 13:43:03 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 20 Dec 2004 13:43:03 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 20 Dec 2004 13:43:03 -0800 From: Kaushal Zagade <[email protected]> Reply-To: Kaushal Zagade <[email protected]> To: Cactus Users List <[email protected]> Subject: Re: HTTPClient program on the cactus website In-Reply-To: <1103567436.4706.8.camel@homer> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <[email protected]> <1103567436.4706.8.camel@homer> X-Virus-Checked: Checked thanks felipe, i have got it running. but i had to comment out the following lines: import org.apache.commons.httpclient.params.HttpMethodParams; // this package was not resolved method.getParams().setParameter(HttpMethodParams.RETRY_HANDLER, new DefaultHttpMethodRetryHandler(3, false)); and getParams() was in that class do you know why this is happening. i have the commons-httpclient2.0-alpha2.jar as you told me to download. kaushal On Mon, 20 Dec 2004 16:30:37 -0200, Felipe Leme <[email protected]> wrote: > Kaushal, > > Cactus uses httpclient 2.0; please try that version instead. > > -- Felipe > > > On Mon, 2004-12-20 at 16:05, Kaushal Zagade wrote: > > > i have downloaded the commons-logging-api.jar and the > > commons-httpclient-3.0.alpha2.jar and put them in the lib directory > > and the classpath of my java project as mentioned. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > From [email protected] Tue Dec 21 09:28:55 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 69977 invoked by uid 99); 21 Dec 2004 09:28:55 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtp014.mail.yahoo.com (HELO smtp014.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 21 Dec 2004 01:28:52 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp014.mail.yahoo.com with SMTP; 21 Dec 2004 09:28:27 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]>, "'Kaushal Zagade'" <[email protected]> Subject: RE: HTTPClient program on the cactus website Date: Tue, 21 Dec 2004 10:20:41 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: <[email protected]> Thread-Index: AcTm3Oc9H9c7Z6jZSwKg+KP5p7d+XAAXUoEA X-Virus-Checked: Checked Hi Kaushal, Don't download anything. Everything is bundled in the Cactus = distribution. Just use the version from there and everything should be alright. Thanks -Vincent > -----Original Message----- > From: Kaushal Zagade [mailto:[email protected]] > Sent: lundi 20 d=E9cembre 2004 22:43 > To: Cactus Users List > Subject: Re: HTTPClient program on the cactus website >=20 > thanks felipe, >=20 > i have got it running. but i had to comment out the following lines: >=20 > import org.apache.commons.httpclient.params.HttpMethodParams; > // this package was not resolved >=20 > method.getParams().setParameter(HttpMethodParams.RETRY_HANDLER, > new DefaultHttpMethodRetryHandler(3, false)); >=20 > and getParams() was in that class >=20 > do you know why this is happening. i have the > commons-httpclient2.0-alpha2.jar as you told me to download. >=20 > kaushal >=20 >=20 > On Mon, 20 Dec 2004 16:30:37 -0200, Felipe Leme <[email protected]> > wrote: > > Kaushal, > > > > Cactus uses httpclient 2.0; please try that version instead. > > > > -- Felipe > > > > > > On Mon, 2004-12-20 at 16:05, Kaushal Zagade wrote: > > > > > i have downloaded the commons-logging-api.jar and the > > > commons-httpclient-3.0.alpha2.jar and put them in the lib = directory > > > and the classpath of my java project as mentioned. > > > > > > = --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] From [email protected] Tue Dec 21 18:53:24 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 80573 invoked by uid 99); 21 Dec 2004 18:53:24 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 21 Dec 2004 10:53:20 -0800 Received: by wproxy.gmail.com with SMTP id 71so410409wra for <[email protected]>; Tue, 21 Dec 2004 10:53:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=Kwww98+b/TCCHU5Tx3U23vdeKq+NVeIbNOtMYR8wbi4N6/VQt3yMlFGdywSaxOlYsu9IiEnKhxu+I86lGRZZBtCxEf2ZjZaOCOB5GsWzppdE/nZEvPZVvgPfj1XLn+0EC/Waowv6icsFYTDAoWkAWF9K8btGx8jxoz+K7K3trPE= Received: by 161.129.204.104 with SMTP id l66mr74105wrl; Tue, 21 Dec 2004 10:53:15 -0800 (PST) Received: by 161.129.204.104 with HTTP; Tue, 21 Dec 2004 10:53:15 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 21 Dec 2004 13:53:15 -0500 From: Govind Deshpande <[email protected]> Reply-To: Govind Deshpande <[email protected]> To: [email protected] Subject: Cannot create JDBC driver of class with Tomcat 4.1.27 and Cactus Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked Hi! all, I am running into a problem where I get a "Cannot create JDBC driver of class" error. Pardon me if this problem has already been adressed on the mailing list. I am running my Cactus tests via ANT. The cactified war is created. Then ANT runs the tests on tomcat 4x container. I specify the server.xml that I would like my cactus tests to use. My container definition is as follows. <tomcat4x if="Tomcat.home" dir="${Tomcat.home}" port="${cactus.port}" serverxml="C:/Projects/build/server.xml" output="testOutput/tomcat4x.out-${to.tstamp}" todir="testOutput/tomcat4x-${to.tstamp}"/> My context in the specified server.xml is as follows. This configuration creates the correct datasource when I run the application on tomcat without using Cactus. I just can find the datasource only through cactus. This server.xml is correctly copied into the temp directory cactus uses to run the tests. <Context path="/abcrm" docBase="abcrm-cactified.war" debug="0" reloadable="true" crossContext="true"> <Resource name="jdbc/abcrmDataSource" auth="Container" type="javax.sql.DataSource" /> <ResourceParams name="jdbc/abcrmDataSource"> <parameter> <name>factory</name> <value>org.apache.commons.dbcp.BasicDataSourceFactory</value> </parameter> <parameter> <name>maxActive</name> <value>20</value> </parameter> <parameter> <name>maxIdle</name> <value>30</value> </parameter> <parameter> <name>maxWait</name> <value>10000</value> </parameter> <parameter> <name>username</name> <value>sa</value> </parameter> <parameter> <name>password</name> <value>visualdb</value> </parameter> <parameter> <name>driverClassName</name> <value>com.microsoft.jdbc.sqlserver.SQLServerDriver</value> </parameter> <parameter> <name>url</name> <value>jdbc:microsoft:sqlserver://161.129.204.104:1433;DatabaseName=ABC_CRM_Dev;selectMethod=cursor</value> </parameter> </ResourceParams> </Context> My JUnit class is as follows: public class TestLogin extends TestCase { public static Test suite() { ServletTestSuite suite = new ServletTestSuite(); suite.addTestSuite(TestLogin.class); return suite; } public void setUp() { } public void testTemplate() { UserLogic userLogic = null; User user = null; try { userLogic = (UserLogic) BusinessManager.getInstance().getObject( UserLogic.class); user = userLogic.authenticateUser("gdeshpande"); assertNull("User should not have been null", user); } catch (UserAuthenticationException e) { e.printStackTrace(); } catch (CRMApplicationException e) { e.printStackTrace(); } } public void tearDown() {} } The application log stack trace I get is as follows. org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause: java.lang.NullPointerException at java.lang.String.regionMatches(String.java:950) at com.microsoft.jdbc.base.BaseURLParser.parse(Unknown Source) at com.microsoft.jdbc.base.BaseDriver.acceptsURL(Unknown Source) at java.sql.DriverManager.getDriver(DriverManager.java:232) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:743) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:518) at com.smconsulting.dao.impl.JNDIDataSourceManager.requestConnection(JNDIDataSourceManager.java:181) at com.amerisourcebergen.crm.daoImpl.security.GlobalDAOImpl.getAllGlobals(GlobalDAOImpl.java:70) at com.amerisourcebergen.crm.daoImpl.security.GlobalDAOImpl.getAll(GlobalDAOImpl.java:51) at com.amerisourcebergen.crm.businessImpl.security.GlobalLogicClass.getGlobals(GlobalLogicClass.java:51) at com.amerisourcebergen.crm.webui.startup.LifeCycleListener.contextInitialized(LifeCycleListener.java:57) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3270) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3599) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:307) at org.apache.catalina.core.StandardHost.install(StandardHost.java:772) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:492) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:400) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:358) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196) at org.apache.catalina.core.StandardHost.start(StandardHost.java:738) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347) at org.apache.catalina.core.StandardService.start(StandardService.java:497) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190) at org.apache.catalina.startup.Catalina.start(Catalina.java:512) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) 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:324) I get the following from the cactus console output. [cactus] Testsuite: unitTests.com.amerisourcebergen.crm.webui.actions.TestLogin [cactus] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.829 sec [cactus] Testcase: testTemplate(org.apache.cactus.ServletTestCase): FAILED [cactus] setUp() has been called [cactus] junit.framework.AssertionFailedError: setUp() has been called [cactus] at unitTests.com.amerisourcebergen.crm.webui.actions.TestLogin.setUp(TestLogin.java:80) [cactus] at org.apache.cactus.internal.AbstractCactusTestCase.runBareServer(AbstractCactusTestCase.java:149) [cactus] at org.apache.cactus.internal.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.java:119) [cactus] at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody0(AbstractWebTestController.java:93) [cactus] at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody1$advice(AbstractWebTestController.java:117) [cactus] at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest(AbstractWebTestController.java) [cactus] at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody2(ServletTestRedirector.java:101) [cactus] at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody3$advice(ServletTestRedirector.java:117) [cactus] at org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirector.java) [cactus] at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody0(ServletTestRedirector.java:72) [cactus] at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody1$advice(ServletTestRedirector.java:117) [cactus] at org.apache.cactus.server.ServletTestRedirector.doGet(ServletTestRedirector.java) [cactus] at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) [cactus] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) [cactus] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) [cactus] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) [cactus] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) [cactus] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) [cactus] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) [cactus] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) [cactus] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [cactus] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) [cactus] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) [cactus] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) [cactus] at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416) [cactus] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) [cactus] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) [cactus] at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) [cactus] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) [cactus] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) [cactus] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) [cactus] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) [cactus] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) [cactus] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) [cactus] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) [cactus] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) [cactus] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) [cactus] at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) [cactus] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601) [cactus] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392) [cactus] at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565) [cactus] at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) [cactus] at java.lang.Thread.run(Thread.java:534) [cactus] Test unitTests.com.amerisourcebergen.crm.webui.actions.TestLogin FAILED Sorry for the long post. I greatly appreciate any help I can get. thanks, govind -- Govind Deshpande [email protected] From [email protected] Tue Dec 21 21:48:56 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 71964 invoked by uid 99); 21 Dec 2004 21:48:56 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 21 Dec 2004 13:48:53 -0800 Received: by wproxy.gmail.com with SMTP id 67so23863wri for <[email protected]>; Tue, 21 Dec 2004 13:48:49 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=Wh8o7psxWvtfNm3TpidqOchui8VxLYw4wiufL/A4fo/iN3hY6gmHlXgJitf64YQyO6KgxYqX/58mTRyoWgZxqpjlbw1gxT1amfOH5j1+bkRYvnoXmes+igEzbYcdAn3wrF579zsIVhBmXmWW8eOtqX8bf8UHOlx5Av9G9gfZbn8= Received: by 161.129.204.104 with SMTP id u62mr20508wru; Tue, 21 Dec 2004 13:44:57 -0800 (PST) Received: by 161.129.204.104 with HTTP; Tue, 21 Dec 2004 13:44:43 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 21 Dec 2004 13:44:43 -0800 From: Kaushal Zagade <[email protected]> Reply-To: Kaushal Zagade <[email protected]> To: Cactus Users List <[email protected]> Subject: Cactus and JSP Testing Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked hello guys, i am testing an JSP with cactus. some where i had read that while testing an EJB with cactus we need to create a client project, web project and the EJB project. but for the JSP i just want to make a simple test case. do i need to create a client project ? or can i just run the JSP directly ? i have a java bean written which has all the cactus methods in it (setup, testXXX etc) . the test case just sets a name in the setName method and which is displayed i the JSP. is this correct ? thank you. Kaushal From [email protected] Tue Dec 21 21:50:50 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 76078 invoked by uid 99); 21 Dec 2004 21:50:50 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 21 Dec 2004 13:50:46 -0800 Received: by wproxy.gmail.com with SMTP id 67so24222wri for <[email protected]>; Tue, 21 Dec 2004 13:50:43 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=cQcwdSSjptp+fNUbv040V30URxNGF5sX7GKo6lVRFCLguRw9i/oMCnXzuzht+o9AeTnKSUjIYIKHiZippf7o6o8Rd3sM0vmNXBz3vG28B0mbCqo9U23LDQbXDuHXpaLAaeyq74Fd37MKy+CQkyl4BrzEf6Ig2jCln+gsa5mnAJw= Received: by 161.129.204.104 with SMTP id 67mr30093wry; Tue, 21 Dec 2004 13:45:19 -0800 (PST) Received: by 161.129.204.104 with HTTP; Tue, 21 Dec 2004 13:44:43 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 21 Dec 2004 13:44:43 -0800 From: Kaushal Zagade <[email protected]> Reply-To: Kaushal Zagade <[email protected]> To: Cactus Users List <[email protected]> Subject: Cactus and JSP Testing Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked hello guys, i am testing an JSP with cactus. some where i had read that while testing an EJB with cactus we need to create a client project, web project and the EJB project. but for the JSP i just want to make a simple test case. do i need to create a client project ? or can i just run the JSP directly ? i have a java bean written which has all the cactus methods in it (setup, testXXX etc) . the test case just sets a name in the setName method and which is displayed i the JSP. is this correct ? thank you. Kaushal From [email protected] Wed Dec 22 02:45:09 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 38051 invoked by uid 99); 22 Dec 2004 02:45:09 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 21 Dec 2004 18:45:06 -0800 Received: by wproxy.gmail.com with SMTP id 67so6519wri for <[email protected]>; Tue, 21 Dec 2004 18:45:02 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=Nf66iAN3dlMlQyQOJjhS0QEGvYRa09o8SjBNGYzj8DQAAKxAGRfBKdMdn72K3KSFb5aC7AtY5zed4wdAH9W1qCwESKNf06kO6ojXIWt8CsbrlSzo3DipGz2sk1J6NfKU/1BUjFu9ObGwSPhnVV3l5EIMFp7L0fSZxgXYIJdvsfA= Received: by 161.129.204.104 with SMTP id 54mr85377wrf; Tue, 21 Dec 2004 18:45:02 -0800 (PST) Received: by 161.129.204.104 with HTTP; Tue, 21 Dec 2004 18:45:02 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 21 Dec 2004 18:45:02 -0800 From: Kaushal Zagade <[email protected]> Reply-To: Kaushal Zagade <[email protected]> To: Cactus Users List <[email protected]> Subject: JSP with Cactus Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked hi, i am really stuck on this issue. i am wanting to test a simple JSP with cactus. i am getting the following error: org.apache.cactus.util.ChainedRuntimeException: Failed to get the test results at [http://localhost:9080/CactusJSP/JspRedirector] i have tested this EJB with ServletRedirector. but now i want to test a simple JSP. so i am using JspRedirector. i have copied it into my root web app folder. my web.xml looks like ===== <servlet> <servlet-name>JspRedirector</servlet-name> <jsp-file>/jspRedirector.jsp</jsp-file> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>JspRedirector</servlet-name> <url-pattern>/JspRedirector</url-pattern> </servlet-mapping> ===== can anybody suggest how a JSP can be tested. i do not want to test JSP tag libs, just plain JSP.....set and get property methods. what testcases should be in the client project ? i am really confused. please help as this is very urgent for me. Kaushal From [email protected] Wed Dec 22 07:41:30 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 31659 invoked by uid 99); 22 Dec 2004 07:41:30 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtp012.mail.yahoo.com (HELO smtp012.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 21 Dec 2004 23:41:26 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp012.mail.yahoo.com with SMTP; 22 Dec 2004 07:41:23 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: Cactus and JSP Testing Date: Wed, 22 Dec 2004 08:41:21 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: <[email protected]> Thread-Index: AcTnpuB7XEWzutUmSsSbqJfAuseOTQAUg75w X-Virus-Checked: Checked Hi Kaushal, Have you read this page: http://jakarta.apache.org/cactus/writing/howto_jsp.html? If the answer is yes, let me know what you have not understood so that = we can improve it. Thanks -Vincent > -----Original Message----- > From: Kaushal Zagade [mailto:[email protected]] > Sent: mardi 21 d=E9cembre 2004 22:45 > To: Cactus Users List > Subject: Cactus and JSP Testing >=20 > hello guys, >=20 > i am testing an JSP with cactus. some where i had read that while > testing an EJB with cactus we need to create a client project, web > project and the EJB project. >=20 > but for the JSP i just want to make a simple test case. do i need to > create a client project ? or can i just run the JSP directly ? i have > a java bean written which has all the cactus methods in it (setup, > testXXX etc) . the test case just sets a name in the setName method > and which is displayed i the JSP. is this correct ? >=20 > thank you. >=20 > Kaushal >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] From [email protected] Wed Dec 22 07:44:46 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 38879 invoked by uid 99); 22 Dec 2004 07:44:46 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF [email protected]) Received: from smtp107.mail.sc5.yahoo.com (HELO smtp107.mail.sc5.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 21 Dec 2004 23:44:42 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp107.mail.sc5.yahoo.com with SMTP; 22 Dec 2004 07:44:37 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: JSP with Cactus Date: Wed, 22 Dec 2004 08:44:32 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: <[email protected]> Thread-Index: AcTn0EFrcT38FPDtRUmyi1GnQjHhcQAKPAtQ X-Virus-Checked: Checked Hi, > -----Original Message----- > From: Kaushal Zagade [mailto:[email protected]] > Sent: mercredi 22 d=E9cembre 2004 03:45 > To: Cactus Users List > Subject: JSP with Cactus >=20 > hi, >=20 > i am really stuck on this issue. i am wanting to test a simple JSP = with > cactus. >=20 > i am getting the following error: >=20 > org.apache.cactus.util.ChainedRuntimeException: Failed to get the test > results at [http://localhost:9080/CactusJSP/JspRedirector] >=20 > i have tested this EJB with ServletRedirector.=20 What EJB? I don't see any EJB in your email. I thought you were trying = to test JSP... [snip] =20 > can anybody suggest how a JSP can be tested. i do not want to test JSP > tag libs, just plain JSP..... I suggest you read the doc that we have painstakingly written... ;-) Let = us know if it's not good enough and what can be improved (http://jakarta.apache.org/cactus/writing/howto_jsp.html). > set and get property methods. AFAIK a JSP does *not* have get and set methods. Are you sure you wish = to test a JSP? >=20 > what testcases should be in the client project ? i am really confused. I don't know what you call a client project. I'd suggest you start reading all the doc on the Cactus web site and let = us know what and where it is not clear so that we can improve it. >=20 > please help as this is very urgent for me. Mentioning it's urgent doesn't help. Sorry. Cheers, -Vincent PS: Please do not send several times the same email. You won't get an = answer faster. I can tell you there's nothing more irritating than someone = saying that his question is urgent and sending several times the same email. = All the people here are NOT paid for answering your emails and they do this = on their free time. From [email protected] Wed Dec 22 07:47:51 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 44917 invoked by uid 99); 22 Dec 2004 07:47:51 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF [email protected]) Received: from smtp111.mail.sc5.yahoo.com (HELO smtp111.mail.sc5.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 21 Dec 2004 23:47:48 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp111.mail.sc5.yahoo.com with SMTP; 22 Dec 2004 07:47:42 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: JSP with Cactus Date: Wed, 22 Dec 2004 08:47:41 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: Thread-Index: AcTn0EFrcT38FPDtRUmyi1GnQjHhcQAKPAtQAAA/aCA= X-Virus-Checked: Checked Oh, I forgot to say that you've overspent your quota of questions! ;-) = (7 question emails or so in 3 days). What would be nice would be to set up some quota system (say allow 3 questions to be asked) and then to be able to ask again you'll have to answer some other questions asked on the list... That would be cool ;-) -Vincent PS: Sorry for my bad temper but I really got annoyed by your "urgent" questions the fact that you're posting several times the same question = and by the fact that you have obviously not taken the time to read any doc before starting asking questions... > -----Original Message----- > From: Vincent Massol [mailto:[email protected]] > Sent: mercredi 22 d=E9cembre 2004 08:45 > To: 'Cactus Users List' > Subject: RE: JSP with Cactus >=20 > Hi, >=20 > > -----Original Message----- > > From: Kaushal Zagade [mailto:[email protected]] > > Sent: mercredi 22 d=E9cembre 2004 03:45 > > To: Cactus Users List > > Subject: JSP with Cactus > > > > hi, > > > > i am really stuck on this issue. i am wanting to test a simple JSP = with > > cactus. > > > > i am getting the following error: > > > > org.apache.cactus.util.ChainedRuntimeException: Failed to get the = test > > results at [http://localhost:9080/CactusJSP/JspRedirector] > > > > i have tested this EJB with ServletRedirector. >=20 > What EJB? I don't see any EJB in your email. I thought you were trying = to > test JSP... >=20 > [snip] >=20 > > can anybody suggest how a JSP can be tested. i do not want to test = JSP > > tag libs, just plain JSP..... >=20 > I suggest you read the doc that we have painstakingly written... ;-) = Let > us > know if it's not good enough and what can be improved > (http://jakarta.apache.org/cactus/writing/howto_jsp.html). >=20 > > set and get property methods. >=20 > AFAIK a JSP does *not* have get and set methods. Are you sure you wish = to > test a JSP? >=20 > > > > what testcases should be in the client project ? i am really = confused. >=20 > I don't know what you call a client project. >=20 > I'd suggest you start reading all the doc on the Cactus web site and = let > us > know what and where it is not clear so that we can improve it. >=20 > > > > please help as this is very urgent for me. >=20 > Mentioning it's urgent doesn't help. Sorry. >=20 > Cheers, > -Vincent >=20 > PS: Please do not send several times the same email. You won't get an > answer > faster. I can tell you there's nothing more irritating than someone = saying > that his question is urgent and sending several times the same email. = All > the people here are NOT paid for answering your emails and they do = this on > their free time. >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] From [email protected] Wed Dec 22 20:00:33 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 7256 invoked by uid 99); 22 Dec 2004 20:00:33 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 22 Dec 2004 12:00:29 -0800 Received: by wproxy.gmail.com with SMTP id 37so6689wra for <[email protected]>; Wed, 22 Dec 2004 12:00:27 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=O528JyTh2K9uuQ/r1reDHCaP90DpnYxVHoIqgJNn75K+jpuN4W+1EOnpEeJXv/XrC0QfBPM7giJuhv/1pDiI7B4as0o1o9iQM2nQq2d5fZHV3Tf+iAMrUEW/ssLIT4QpJQJEcwBlZYyoQ0z/dpUwy+qdvK5OuJOkB9wJFJXkIw4= Received: by 161.129.204.104 with SMTP id r61mr165115wrr; Wed, 22 Dec 2004 12:00:27 -0800 (PST) Received: by 161.129.204.104 with HTTP; Wed, 22 Dec 2004 12:00:27 -0800 (PST) Message-ID: <[email protected]> Date: Wed, 22 Dec 2004 12:00:27 -0800 From: Kaushal Zagade <[email protected]> Reply-To: Kaushal Zagade <[email protected]> To: Cactus Users List <[email protected]> Subject: Re: JSP with Cactus In-Reply-To: <-3926504876609523639@unknownmsgid> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable References: <-3926504876609523639@unknownmsgid> X-Virus-Checked: Checked hi vincent, i apologise for my second e-mail and thank you for trying to help me. i have read the document you mentioned carefully before writing my previous mail. about the EJB, i mentioned it because, i have tested a EJB with cactus in a prior project. so i wanted to tell you that i know the basics of cactus. but for this new project i am testing a simple JSP. i am using WSAD 5.1.2. i have a web project, which has my JSP. i have a TestCase.Java which extend= s=20 JspTestCase. in this class i want have a method, testXXX(), but here is the problem. what should be the XXX ? there is no method in the JSP. so i wrote a bean. which set a "name" variable. this variable is displayed in the JSP. so my test case looks like: public void testSetName() { PageBean bean =3D new PageBean(); bean.setName("kevin"); request.setAttribute("pageBean", bean); pageContext.forward("/test.jsp"); } =3D=3D=3D=3D=3D my bean has a method, setName(). is this right ? how do i run the cactus test here ? i have all the jar files in place and the cactus.properties file. i right click on the java file(TestCase.java) and select java app or junit. it says Failed to get the test results at the server URL. Kaushal =20 On Wed, 22 Dec 2004 08:47:41 +0100, Vincent Massol <[email protected]> wr= ote: > Oh, I forgot to say that you've overspent your quota of questions! ;-) (7 > question emails or so in 3 days). >=20 > What would be nice would be to set up some quota system (say allow 3 > questions to be asked) and then to be able to ask again you'll have to > answer some other questions asked on the list... That would be cool ;-) >=20 > -Vincent >=20 > PS: Sorry for my bad temper but I really got annoyed by your "urgent" > questions the fact that you're posting several times the same question an= d > by the fact that you have obviously not taken the time to read any doc > before starting asking questions... >=20 > > -----Original Message----- > > From: Vincent Massol [mailto:[email protected]] > > Sent: mercredi 22 d=E9cembre 2004 08:45 > > To: 'Cactus Users List' > > Subject: RE: JSP with Cactus > > > > Hi, > > > > > -----Original Message----- > > > From: Kaushal Zagade [mailto:[email protected]] > > > Sent: mercredi 22 d=E9cembre 2004 03:45 > > > To: Cactus Users List > > > Subject: JSP with Cactus > > > > > > hi, > > > > > > i am really stuck on this issue. i am wanting to test a simple JSP wi= th > > > cactus. > > > > > > i am getting the following error: > > > > > > org.apache.cactus.util.ChainedRuntimeException: Failed to get the tes= t > > > results at [http://localhost:9080/CactusJSP/JspRedirector] > > > > > > i have tested this EJB with ServletRedirector. > > > > What EJB? I don't see any EJB in your email. I thought you were trying = to > > test JSP... > > > > [snip] > > > > > can anybody suggest how a JSP can be tested. i do not want to test JS= P > > > tag libs, just plain JSP..... > > > > I suggest you read the doc that we have painstakingly written... ;-) Le= t > > us > > know if it's not good enough and what can be improved > > (http://jakarta.apache.org/cactus/writing/howto_jsp.html). > > > > > set and get property methods. > > > > AFAIK a JSP does *not* have get and set methods. Are you sure you wish = to > > test a JSP? > > > > > > > > what testcases should be in the client project ? i am really confused= . > > > > I don't know what you call a client project. > > > > I'd suggest you start reading all the doc on the Cactus web site and le= t > > us > > know what and where it is not clear so that we can improve it. > > > > > > > > please help as this is very urgent for me. > > > > Mentioning it's urgent doesn't help. Sorry. > > > > Cheers, > > -Vincent > > > > PS: Please do not send several times the same email. You won't get an > > answer > > faster. I can tell you there's nothing more irritating than someone say= ing > > that his question is urgent and sending several times the same email. A= ll > > the people here are NOT paid for answering your emails and they do this= on > > their free time. > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >=20 > From [email protected] Wed Dec 22 20:31:50 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 94329 invoked by uid 99); 22 Dec 2004 20:31:50 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.mi8.com (HELO mail.Mi8.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 22 Dec 2004 12:31:47 -0800 Received: from 161.129.204.104 by mail.Mi8.com with ESMTP (- GW06 Welcome to Mi8 Corporation www.Mi8.com); Wed, 22 Dec 2004 15:31:31 -0500 X-Server-Uuid: 9E438C5A-6388-4898-B0A1-D4C823600DD7 Received: from MI8NYCMAIL01.Mi8.com ([161.129.204.104]) by D01SMTP01.Mi8.com with Microsoft SMTPSVC(6.0.3790.211); Wed, 22 Dec 2004 15:31:30 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: Passing argument to Cactus using servlet Date: Wed, 22 Dec 2004 15:31:26 -0500 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Passing argument to Cactus using servlet Thread-Index: AcToZTWrcgwSs4AeRvCSX1bK498euQ== From: "Sanket Desai" <[email protected]> To: [email protected] X-OriginalArrivalTime: 22 Dec 2004 20:31:30.0727 (UTC) FILETIME=[384F2B70:01C4E865] X-WSS-ID: 6DD706FD1O8417539-10-01 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4E865.37350238" X-Virus-Checked: Checked ------_=_NextPart_001_01C4E865.37350238 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Hi there, =20 I'm calling onto cactus using JMeter.=20 =20 Basically calling "ServletTestRunner" servlet while passing=20 1) suite=3D"Fully_Qualified_TestSuiteName" 2) myArg=3DmyValue =20 =20 I see that the test gets called but I need to access my passed argument (myArg) in my test class that I passed from JMeter. Unfortunately that parameter is not available.I guess the "request" parameter that we have using "getRequest()" method of "CactusStrutsTestCase" or "public request variable" of ServletTestCase is actually provided by Cactus itself. =20 Does anyone know a way of retrieving the passed request parameter to cactus in the test class? =20 I really apreciate any help / pointers in this scenario. =20 Thanking you in advance. =20 Regards, =20 Sanket Desai =20 ------_=_NextPart_001_01C4E865.37350238-- From [email protected] Wed Dec 22 21:12:24 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 19793 invoked by uid 99); 22 Dec 2004 21:12:24 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtp012.mail.yahoo.com (HELO smtp012.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 22 Dec 2004 13:12:20 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp012.mail.yahoo.com with SMTP; 22 Dec 2004 21:12:17 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: Passing argument to Cactus using servlet Date: Wed, 22 Dec 2004 22:12:19 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <[email protected]> Thread-Index: AcToZTWrcgwSs4AeRvCSX1bK498euQABUzgQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked Hi Sankeet, > -----Original Message----- > From: Sanket Desai [mailto:[email protected]] > Sent: mercredi 22 d=E9cembre 2004 21:31 > To: [email protected] > Subject: Passing argument to Cactus using servlet >=20 > Hi there, >=20 > I'm calling onto cactus using JMeter. >=20 > Basically calling "ServletTestRunner" servlet while passing > 1) suite=3D"Fully_Qualified_TestSuiteName" > 2) myArg=3DmyValue >=20 >=20 > I see that the test gets called but I need to access my passed = argument > (myArg) in my test class that I passed from JMeter. Unfortunately that > parameter is not available.I guess the "request" parameter that we = have > using "getRequest()" method of "CactusStrutsTestCase" or "public = request > variable" of ServletTestCase is actually provided by Cactus itself. >=20 No, that should work fine. The "request" object that you're getting is = the real request object. To my knowledge, we have several tests in the = Cactus test suite that pass HTTP parameters to the server side. Ah, I can think of only possible reason why it wouldn't work: maybe StrutsTestCase does not pass the original request? I have never used strutstestcase so I don't know but try without strutstestcase as a test = and it should work fine. You can ask on the strutstestcase mailing list. = Maybe they'll be able to help? > Does anyone know a way of retrieving the passed request parameter to > cactus in the test class? >=20 > I really apreciate any help / pointers in this scenario. >=20 > Thanking you in advance. >=20 > Regards, >=20 > Sanket Desai >=20 From [email protected] Wed Dec 22 21:20:45 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 45040 invoked by uid 99); 22 Dec 2004 21:20:45 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF [email protected]) Received: from smtp104.mail.sc5.yahoo.com (HELO smtp104.mail.sc5.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 22 Dec 2004 13:20:42 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp104.mail.sc5.yahoo.com with SMTP; 22 Dec 2004 21:20:40 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: JSP with Cactus Date: Wed, 22 Dec 2004 22:20:41 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <[email protected]> Thread-Index: AcToYOdmAYJk7npXRfWLiZx34PyWEAACiYkQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked Hi Kaushal, > -----Original Message----- > From: Kaushal Zagade [mailto:[email protected]] > Sent: mercredi 22 d=E9cembre 2004 21:00 > To: Cactus Users List > Subject: Re: JSP with Cactus >=20 > hi vincent, >=20 > i apologise for my second e-mail and thank you for trying to help me. >=20 > i have read the document you mentioned carefully before writing my > previous mail. about the EJB, i mentioned it because, i have tested a > EJB with cactus in a prior project. so i wanted to tell you that i > know the basics of cactus. >=20 > but for this new project i am testing a simple JSP. i am using WSAD = 5.1.2. > i have a web project, which has my JSP. i have a TestCase.Java which > extends > JspTestCase. in this class i want have a method, testXXX(), but here > is the problem. what should be the XXX ? there is no method in the > JSP. so i wrote a bean. which set a "name" variable. this variable is > displayed in the JSP. >=20 > so my test case looks like: > public void testSetName() > { > PageBean bean =3D new PageBean(); > bean.setName("kevin"); > request.setAttribute("pageBean", bean); > pageContext.forward("/test.jsp"); > } Err? If you read http://jakarta.apache.org/cactus/writing/howto_jsp.html = you'll see that there are 3 different types of tests that you may perform using cactus for testing your JSP page. You have to decide by yourself what you wish to test. If it's type 1 = then use the example from that page... I've just noticed that your example uses the type 3 from that page. Are = you sure you wish to test your JSP in isolation? Is this your goal? From = what you're saying it seems to me it's not what you wish to do but you've = grabbed the example from the page without understanding what it is doing... [snip] -Vincent From [email protected] Wed Dec 22 23:27:31 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 72360 invoked by uid 99); 22 Dec 2004 23:27:31 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from nycgw05.mi8.com (HELO mail.Mi8.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 22 Dec 2004 15:27:28 -0800 Received: from 161.129.204.104 by mail.Mi8.com with ESMTP (- GW05 Welcome to Mi8 Corporation www.Mi8.com); Wed, 22 Dec 2004 18:27:17 -0500 X-Server-Uuid: 207DEFF5-0775-49F0-B9B8-D79108DC01FB Received: from MI8NYCMAIL01.Mi8.com ([161.129.204.104]) by D01SMTP02.Mi8.com with Microsoft SMTPSVC(6.0.3790.211); Wed, 22 Dec 2004 18:27:19 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: Passing argument to Cactus using servlet Date: Wed, 22 Dec 2004 18:27:17 -0500 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Passing argument to Cactus using servlet Thread-Index: AcToZTWrcgwSs4AeRvCSX1bK498euQABUzgQAAMwsUA= From: "Sanket Desai" <[email protected]> To: "Cactus Users List" <[email protected]> X-OriginalArrivalTime: 22 Dec 2004 23:27:19.0229 (UTC) FILETIME=[C7B4D6D0:01C4E87D] X-WSS-ID: 6DD4DD5F1MC2079123-01-01 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked Hi Vincent, Thanks for the reply. Nice to know that Cactus by itself passes on "real request". I checked the source code of CactusStrutsTestCase & saw that it = initialized a new request & passes that one to the caller. Little weird = but does not help me. So I wrote a small servlet that extends "ServletTestRunner" & override = doGet() method, get the request parameter (set in the = System.setProperty() as they do for some cactus property) & then call = super.doGet(). So my Cactus Test class now calls System.getProperty() to retrieve the = parameter passed to the servlet by Jmeter. I know this is not an elegant = solution but hey, it works for me. Thanks vincent again for the help. Have a great day. Regards, =20 Sanket Desai -----Original Message----- From: Vincent Massol [mailto:[email protected]]=20 Sent: Wednesday, December 22, 2004 4:12 PM To: 'Cactus Users List' Subject: RE: Passing argument to Cactus using servlet Hi Sankeet, > -----Original Message----- > From: Sanket Desai [mailto:[email protected]] > Sent: mercredi 22 d=E9cembre 2004 21:31 > To: [email protected] > Subject: Passing argument to Cactus using servlet >=20 > Hi there, >=20 > I'm calling onto cactus using JMeter. >=20 > Basically calling "ServletTestRunner" servlet while passing > 1) suite=3D"Fully_Qualified_TestSuiteName" > 2) myArg=3DmyValue >=20 >=20 > I see that the test gets called but I need to access my passed=20 > argument > (myArg) in my test class that I passed from JMeter. Unfortunately that = > parameter is not available.I guess the "request" parameter that we=20 > have using "getRequest()" method of "CactusStrutsTestCase" or "public=20 > request variable" of ServletTestCase is actually provided by Cactus = itself. >=20 No, that should work fine. The "request" object that you're getting is = the real request object. To my knowledge, we have several tests in the = Cactus test suite that pass HTTP parameters to the server side. Ah, I can think of only possible reason why it wouldn't work: maybe = StrutsTestCase does not pass the original request? I have never used = strutstestcase so I don't know but try without strutstestcase as a test = and it should work fine. You can ask on the strutstestcase mailing list. = Maybe they'll be able to help? > Does anyone know a way of retrieving the passed request parameter to=20 > cactus in the test class? >=20 > I really apreciate any help / pointers in this scenario. >=20 > Thanking you in advance. >=20 > Regards, >=20 > Sanket Desai >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Dec 23 13:24:40 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 935 invoked by uid 99); 23 Dec 2004 13:24:40 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF [email protected]) Received: from smtp110.mail.sc5.yahoo.com (HELO smtp110.mail.sc5.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 23 Dec 2004 05:24:36 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp110.mail.sc5.yahoo.com with SMTP; 23 Dec 2004 13:24:33 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: cactus not deploying war Date: Thu, 23 Dec 2004 14:24:11 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <[email protected]> Thread-Index: AcThIOm+8WS6rMnKQGq3pkKnFOOy1wHwLkpg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked Hi Rich, You need to provide more information on how you run your cactus tests. = Are you using the <cactus> task and the nested <tomcat5x> element? Or are = you setting up tomcat yourself? Do you modify in any manner the default = tomcat configuration as provided by the <cactus> task? Thanks -Vincent > -----Original Message----- > From: Cumbers [mailto:[email protected]] > Sent: lundi 13 d=E9cembre 2004 15:37 > To: Cactus Users List > Subject: cactus not deploying war >=20 > Hey guys >=20 > I am trying to use ant with cactus to deploy my app to Tomcat and then > test. I can run the ant tasks on the examples, i tested the servlet > example that comes with the cactus download and it creates its own > Tomcat instance, puts the cactified war file under the webapps dir = and, > most importantly, it unpacks the war file. cactus then runs the tests. >=20 > Currently with my app the same temporary instance of Tomcat is = created, > the cactified war file is placed under webapps, but the dam thing is = not > unpacking the war file, giving me errors like: >=20 > java.lang.IllegalArgumentException: Document base > /tmp/cactus/tomcat5x/webapps/rms-dev does not exist or is not a = readable > directory >=20 > Now I know this is not available because the war file is not unpacked. > Is there a school boy error I am making? Can anyone help?! >=20 > I am very new to this cactus game, go easy ;) >=20 > I can give more information if required! >=20 > Cheers >=20 > Rich >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] From [email protected] Thu Dec 23 13:24:41 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 979 invoked by uid 99); 23 Dec 2004 13:24:41 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF [email protected]) Received: from smtp110.mail.sc5.yahoo.com (HELO smtp110.mail.sc5.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 23 Dec 2004 05:24:38 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp110.mail.sc5.yahoo.com with SMTP; 23 Dec 2004 13:24:35 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: Log4J problems Date: Thu, 23 Dec 2004 14:24:11 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <[email protected]> Thread-Index: AcTh0rULTj/WIyfESQqJ3cDtutpwhwHDivmQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked Hi Rich, > -----Original Message----- > From: Cumbers [mailto:[email protected]] > Sent: mardi 14 d=E9cembre 2004 12:50 > To: Cactus Users List > Subject: Log4J problems >=20 > Hello >=20 > Firstly my problem from yesterday was that my web.xml did not conform = to > the dtd and cactus fails silently, scrambling the web.xml tags. This = is > a known bug within the cactus project. I'd say it's a limitation rather than a bug... ;-) >=20 > Now however I have another issue, this time with Log4J. I use Log4J > within my web application, with no [email protected]. However when I try > and test using cactus, it fails on creation of a class that uses = Log4J, > with the following error message: >=20 > Caused ERROR org/apache/log4j/Priority > java.lang.NoClassDefFoundError: org/apache/log4j/Priority >=20 > Now I have put in the cactus.classpath in the ant file a reference to > the log4j jar file and have also put it as an argument for ant itself. >=20 > Any ideas what is going wrong? There are 2 JVMs in which you cactus tests run: the client side one and = the server side one. Are you sure you have log4j in both? Thanks -Vincent From [email protected] Thu Dec 23 13:24:46 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 1299 invoked by uid 99); 23 Dec 2004 13:24:46 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF [email protected]) Received: from smtp110.mail.sc5.yahoo.com (HELO smtp110.mail.sc5.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 23 Dec 2004 05:24:42 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp110.mail.sc5.yahoo.com with SMTP; 23 Dec 2004 13:24:39 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: Packages for AssertUtil and HttpURLConnection Date: Thu, 23 Dec 2004 14:24:11 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <[email protected]> Thread-Index: AcThC2w88Y3uxVZPRdK3fnNL4CFyUAH1QMig X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked Hi Mougli, Where would AssertUtil come from? It's not a Cactus class AFAIK (it may = have been - I don't recall - but it no longer is). -Vincent > -----Original Message----- > From: g d [mailto:[email protected]] > Sent: lundi 13 d=E9cembre 2004 13:00 > To: [email protected] > Subject: Packages for AssertUtil and HttpURLConnection >=20 > hi all, >=20 > We are using testDoGet() method in our test program and in that we > used AssertUtil and HttpURLConnection. >=20 > While compiling this class we are getting the error as >=20 > AssertUtil cannot resolve symbol >=20 > Please help me to solve this problem >=20 > Regards > Mougli >=20 >=20 > Yahoo! India Matrimony: Find your life partneronline. From [email protected] Thu Dec 23 13:24:48 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 1419 invoked by uid 99); 23 Dec 2004 13:24:48 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF [email protected]) Received: from smtp110.mail.sc5.yahoo.com (HELO smtp110.mail.sc5.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 23 Dec 2004 05:24:45 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp110.mail.sc5.yahoo.com with SMTP; 23 Dec 2004 13:24:41 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: how to use cactus in maven to do test on websphere application server Date: Thu, 23 Dec 2004 14:24:11 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <[email protected]> Thread-Index: AcTht/4B854ZVFmHQdW7USyZzovumQHKCIvQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked Hi Lincoln, The Cactus Maven plugin does not currently support using the generic container. You should directly call the <cactus> task from your = maven.xml. -Vincent > -----Original Message----- > From: l z [mailto:[email protected]] > Sent: lundi 13 d=E9cembre 2004 17:48 > To: [email protected] > Subject: how to use cactus in maven to do test on websphere = application > server >=20 > Hi All the Maven! > cactus maven plugin doesn't support websphere application server, how = to > use generic container to do cactus on websphere? > would anybody give some sample code? > Thanks a lot! > Lincoln Zheng >=20 >=20 > --------------------------------- > Do you Yahoo!? > Jazz up your holiday email with celebrity designs. Learn more. From [email protected] Thu Dec 23 13:24:51 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 1523 invoked by uid 99); 23 Dec 2004 13:24:51 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF [email protected]) Received: from smtp110.mail.sc5.yahoo.com (HELO smtp110.mail.sc5.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 23 Dec 2004 05:24:47 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp110.mail.sc5.yahoo.com with SMTP; 23 Dec 2004 13:24:43 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: import org.apache.cactus.extension.jsp.JspTagLifecycle; Date: Thu, 23 Dec 2004 14:24:11 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <00b301c4e194$ec3e1ec0$2b015b0a@cfmvinpro2> Thread-Index: AcThlNIgqGeg+d3NS0SKBvAY7prgUAHSyoGw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked ... because you need Cactus 1.3 and not Cactus 1.2 -Vincent > -----Original Message----- > From: praveen [mailto:[email protected]] > Sent: mardi 14 d=E9cembre 2004 05:25 > To: Cactus Users List > Subject: import org.apache.cactus.extension.jsp.JspTagLifecycle; >=20 > I am new for cactus. Why i am unable to improt this statement. i am = using > cactus-1.7dev20040523.jar this jar file. >=20 > thanx&&regars > praveen. From [email protected] Thu Dec 23 13:24:55 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 1636 invoked by uid 99); 23 Dec 2004 13:24:55 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF [email protected]) Received: from smtp110.mail.sc5.yahoo.com (HELO smtp110.mail.sc5.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 23 Dec 2004 05:24:50 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp110.mail.sc5.yahoo.com with SMTP; 23 Dec 2004 13:24:46 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: exception servlet redirector Date: Thu, 23 Dec 2004 14:24:11 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <001901c4e292$7cd20de0$2b015b0a@cfmvinpro2> Thread-Index: AcTilkCZwW0ZjsaKTPqs5HNwSicazgGQUeJg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked Hi Praveen, In order to diagnose this, please look at the FAQ on the Cactus web = site. This is probably the most asked question by far (the "Failed to get the = test results[...]" one). Actually we really need to find some way to provide more context = information along with this exception... -Vincent > -----Original Message----- > From: praveen [mailto:[email protected]] > Sent: mercredi 15 d=E9cembre 2004 11:40 > To: Cactus Users List > Subject: exception servlet redirector >=20 > Hai any body help me in this issue. >=20 > I am unable to get the jsprediredcor its throws any exception of > org.apache.cactus.util.ChainedRuntimeException: Failed to get the test > results at [http://cfm-vin-pro2:7001/web/JspRedirector] >=20 > i hope that i will get reply soon. >=20 > org.apache.cactus.util.ChainedRuntimeException: Failed to get the test > results at [http://cfm-vin-pro2:7001/web/JspRedirector] >=20 > here it it my cactus.properteis file >=20 > # Configuration file for Cactus. >=20 > # Each project using Cactus need to have such a file put in the client > side > # CLASSPATH (Meaning the directory containgin this file should be in = the > client > # side CLASSPATH, not the file itself of course ... :) ) >=20 > # Defines the URLs that will be used by Cactus to call it's = redirectors. > # You need to specify in these URLs the webapp context that you use = for > your > # application. In the example below, the context is "test". > cactus.jspRedirectorURL=3Dhttp://cfm-vin-pro2:7001/web/jspRedirector >=20 > # Web app Context under which our application to test runs > cactus.contextURL=3Dhttp://cfm-vin-pro2:7001/web >=20 > # Default Servlet Redirector Name. Used by ServletTestCase test cases. > cactus.servletRedirectorName =3D ServletRedirector >=20 > # Default JSP Redirector Name. Used by JspTestCase test cases. > cactus.jspRedirectorName =3D JspRedirector >=20 > # NOTE: Some servlet 2.3 containers need to map the filter to a valid > # resource (Orion 1.5.2 for example). Others, like Tomcat, are happy > # with just any mapping. > # > # For example, the following would work with Tomcat (and this is what = I > would > # have expected !) : > # cactus.filterRedirectorName =3D FilterRedirector >=20 > cactus.filterRedirectorName=3DFilterRedirector >=20 > # Enable Cactus internal logging > cactus.enableLogging=3Dtrue From [email protected] Thu Dec 23 13:24:52 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 1576 invoked by uid 99); 23 Dec 2004 13:24:52 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF [email protected]) Received: from smtp110.mail.sc5.yahoo.com (HELO smtp110.mail.sc5.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 23 Dec 2004 05:24:49 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp110.mail.sc5.yahoo.com with SMTP; 23 Dec 2004 13:24:44 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: java.lang.ClassFormatError Date: Thu, 23 Dec 2004 14:24:11 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <[email protected]> Thread-Index: AcTiLkq+F3NiqKQSTvS8dZ3t38UmiQGsJM7Q X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked Hi Ileana, I have 2 questions: 1/ Are you using the aspectj jar found in the lib/ directory of the = Cactus distribution? 2/ Have you compiled your tests with a previous cactus version and = you're now trying to run them (without recompiling them) with a newer version = of Cactus? Thanks -Vincent > -----Original Message----- > From: Lehman, Ileana [mailto:[email protected]] > Sent: mardi 14 d=E9cembre 2004 23:43 > To: [email protected] > Subject: java.lang.ClassFormatError >=20 > Hello: >=20 > I am trying to run the sample/test application from: > http://jakarta.apache.org/cactus/integration/howto_tomcat.html > and I am getting ClassFormatError when invoking > ServletTestRunner?suite=3DTestSampleServlet >=20 > environment info: > jakarta-cactus-12-1.6.1 > IBM J2EE 1.2 > jdk 1.4 > Tomcat 5.5 >=20 > Thank you, > Ileana >=20 > java.lang.ClassFormatError: Invalid index 0 in LocalVariableTable in = class > file org/apache/cactus/util/log/LogAspect > java.lang.ClassLoader.defineClass1(Native Method) > java.lang.ClassLoader.defineClass(Unknown Source) > java.security.SecureClassLoader.defineClass(Unknown Source) > java.net.URLClassLoader.defineClass(Unknown Source) > java.net.URLClassLoader.access$100(Unknown Source) > java.net.URLClassLoader$1.run(Unknown Source) > java.security.AccessController.doPrivileged(Native Method) > java.net.URLClassLoader.findClass(Unknown Source) > java.lang.ClassLoader.loadClass(Unknown Source) > java.lang.ClassLoader.loadClass(Unknown Source) > java.lang.ClassLoader.loadClassInternal(Unknown Source) > org.apache.cactus.server.runner.ServletTestRunner.doGet(ServletTestR > unner.java) > javax.servlet.http.HttpServlet.service(HttpServlet.java:689) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] From [email protected] Thu Dec 23 13:25:00 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 1885 invoked by uid 99); 23 Dec 2004 13:25:00 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF [email protected]) Received: from smtp110.mail.sc5.yahoo.com (HELO smtp110.mail.sc5.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 23 Dec 2004 05:24:56 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp110.mail.sc5.yahoo.com with SMTP; 23 Dec 2004 13:24:50 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: jsf custom tag libs Date: Thu, 23 Dec 2004 14:24:11 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <001701c4e419$ac1ca410$2b015b0a@cfmvinpro2> Thread-Index: AcTkHDhrSgMx019USPel7k5jmP40kwEurF0A X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked Hi Praveen, <plug>You can find detailed information in my "JUnit in Action" = book</plug>. Also, if you're ok with only the source code you can get it from http://junitbook.sf.net (look at the "pages" project). -Vincent > -----Original Message----- > From: praveen [mailto:[email protected]] > Sent: vendredi 17 d=E9cembre 2004 10:21 > To: Cactus Users List > Subject: jsf custom tag libs >=20 > hai all, >=20 > I need help in writing testcases for jsf(java server faceses) = custom > tag libs.Is there any article found in writing test cases for jsf = custom > tag libs plz send that link or any example . >=20 >=20 >=20 >=20 > Thanx&&Regards > praveen. >=20 >=20 From [email protected] Thu Dec 23 13:25:04 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 2062 invoked by uid 99); 23 Dec 2004 13:25:04 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF [email protected]) Received: from smtp110.mail.sc5.yahoo.com (HELO smtp110.mail.sc5.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 23 Dec 2004 05:24:59 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp110.mail.sc5.yahoo.com with SMTP; 23 Dec 2004 13:24:53 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: jsf custom tag libs Date: Thu, 23 Dec 2004 14:24:11 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <[email protected]> Thread-Index: AcTkawDXtj9ie2LzQE2kc4Bl1Cdp7gEa11Cw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked Kaushal, You need to be more specific in your questions if you wish us to help = you to the best extent. You say "I just want to test a JSF[...]". What is a = JSF? As far as I know JSF is a technology and it doesn't represent any physical thing. Is the JSF code that you wish to test a Servlet? Is it a JSP page? Is it = a tag lib? Is it something else? Please bear in mind that I have never = used JSF and I do not know what it's made of. Cheers, -Vincent > -----Original Message----- > From: Kaushal Zagade [mailto:[email protected]] > Sent: vendredi 17 d=E9cembre 2004 19:43 > To: Cactus Users List > Subject: Re: jsf custom tag libs >=20 > hi praveen, >=20 > i want to test a very simple JSF(Java Server Faces) file with cactus. > i have the environment set up(all the jar files and wsad). can you > suggest me how to do it. i know the basics about cactus beacause i > have test a EJB with it. i just want to test a JSF, a very simple one. > fast response is appreciated. thanks alot. >=20 > Kaushal >=20 >=20 >=20 >=20 >=20 >=20 > On Fri, 17 Dec 2004 14:50:38 +0530, praveen = <[email protected]> > wrote: > > hai all, > > > > I need help in writing testcases for jsf(java server faceses) = custom > tag libs.Is there any article found in writing test cases for jsf = custom > tag libs plz send that link or any example . > > > > Thanx&&Regards > > praveen. > > > > >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] From [email protected] Thu Dec 23 13:25:11 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 2354 invoked by uid 99); 23 Dec 2004 13:25:11 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF [email protected]) Received: from smtp110.mail.sc5.yahoo.com (HELO smtp110.mail.sc5.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 23 Dec 2004 05:25:03 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp110.mail.sc5.yahoo.com with SMTP; 23 Dec 2004 13:24:57 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Cc: "'Govind Deshpande'" <[email protected]> Subject: RE: Cannot create JDBC driver of class with Tomcat 4.1.27 and Cactus Date: Thu, 23 Dec 2004 14:24:11 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <[email protected]> Thread-Index: AcTnjlpTg3Cuh9xoTO2KvjX5kHdoQgBRoGUg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked Hi Govind, I don't know what's wrong. Do you need a file other than server.xml to = make your config work? Also, the Cactus console says: > [cactus] setUp() has been called > [cactus] junit.framework.AssertionFailedError: setUp() has been = called > [cactus] at > = unitTests.com.amerisourcebergen.crm.webui.actions.TestLogin.setUp(TestLog= i > n.java:80) But in your TestLogin code I don't see any assert in setUp() that would print this... I would suggest you look at line 80 and check what you = have there. -Vincent > -----Original Message----- > From: Govind Deshpande [mailto:[email protected]] > Sent: mardi 21 d=E9cembre 2004 19:53 > To: [email protected] > Subject: Cannot create JDBC driver of class with Tomcat 4.1.27 and = Cactus >=20 > Hi! all, > I am running into a problem where I get a "Cannot create JDBC driver > of class" error. > Pardon me if this problem has already been adressed on the mailing > list. I am running > my Cactus tests via ANT. The cactified war is created. Then ANT runs = the > tests on tomcat 4x container. I specify the server.xml that I would > like my cactus > tests to use. My container definition is as follows. >=20 > <tomcat4x if=3D"Tomcat.home" > dir=3D"${Tomcat.home}" port=3D"${cactus.port}" > serverxml=3D"C:/Projects/build/server.xml" > output=3D"testOutput/tomcat4x.out-${to.tstamp}" > todir=3D"testOutput/tomcat4x-${to.tstamp}"/> >=20 > My context in the specified server.xml is as follows. This > configuration creates the correct > datasource when I run the application on tomcat without using Cactus. > I just can find > the datasource only through cactus. This server.xml is correctly > copied into the temp > directory cactus uses to run the tests. >=20 > <Context path=3D"/abcrm" > docBase=3D"abcrm-cactified.war" > debug=3D"0" > reloadable=3D"true" crossContext=3D"true"> > <Resource name=3D"jdbc/abcrmDataSource" > auth=3D"Container" > type=3D"javax.sql.DataSource" /> > <ResourceParams name=3D"jdbc/abcrmDataSource"> > <parameter> > <name>factory</name> >=20 > <value>org.apache.commons.dbcp.BasicDataSourceFactory</value> > </parameter> >=20 > <parameter> > <name>maxActive</name> > <value>20</value> > </parameter> >=20 > <parameter> > <name>maxIdle</name> > <value>30</value> > </parameter> >=20 > <parameter> > <name>maxWait</name> > <value>10000</value> > </parameter> >=20 > <parameter> > <name>username</name> > <value>sa</value> > </parameter> > <parameter> > <name>password</name> > <value>visualdb</value> > </parameter> >=20 > <parameter> > <name>driverClassName</name> > = <value>com.microsoft.jdbc.sqlserver.SQLServerDriver</value> > </parameter> >=20 > <parameter> > <name>url</name> >=20 > = <value>jdbc:microsoft:sqlserver://161.129.204.104:1433;DatabaseName=3DABC_CRM= _De > v;selectMethod=3Dcursor</value> > </parameter> >=20 > </ResourceParams> > </Context> >=20 >=20 > My JUnit class is as follows: >=20 > public class TestLogin extends TestCase { > public static Test suite() { > ServletTestSuite suite =3D new ServletTestSuite(); > suite.addTestSuite(TestLogin.class); > return suite; > } > public void setUp() > { } > public void testTemplate() { > UserLogic userLogic =3D null; > User user =3D null; > try { > userLogic =3D (UserLogic) > BusinessManager.getInstance().getObject( > UserLogic.class); > user =3D userLogic.authenticateUser("gdeshpande"); > assertNull("User should not have been null", user); > } catch (UserAuthenticationException e) { > e.printStackTrace(); > } catch (CRMApplicationException e) { > e.printStackTrace(); > } > } > public void tearDown() > {} > } >=20 >=20 > The application log stack trace I get is as follows. >=20 > org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver > of class '' for connect URL 'null', cause: > java.lang.NullPointerException > at java.lang.String.regionMatches(String.java:950) > at com.microsoft.jdbc.base.BaseURLParser.parse(Unknown Source) > at com.microsoft.jdbc.base.BaseDriver.acceptsURL(Unknown Source) > at java.sql.DriverManager.getDriver(DriverManager.java:232) > at [snip] >=20 > I get the following from the cactus console output. > [cactus] Testsuite: > unitTests.com.amerisourcebergen.crm.webui.actions.TestLogin > [cactus] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.829 = sec > [cactus] Testcase: testTemplate(org.apache.cactus.ServletTestCase): > FAILED > [cactus] setUp() has been called > [cactus] junit.framework.AssertionFailedError: setUp() has been = called > [cactus] at > = unitTests.com.amerisourcebergen.crm.webui.actions.TestLogin.setUp(TestLog= i > n.java:80) [snip] =20 > Sorry for the long post. I greatly appreciate any help I can get. > thanks, > govind > -- > Govind Deshpande > [email protected] From [email protected] Thu Dec 23 13:41:06 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 37792 invoked by uid 99); 23 Dec 2004 13:41:06 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from satyaki.pacific.net.in (HELO satyaki.pacific.net.in) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 23 Dec 2004 05:41:01 -0800 Received: from mail2.bgr.ionidea.com (sixz0035.bgr.ionidea.com [161.129.204.104] (may be forged)) by satyaki.pacific.net.in with SMTP id TAA18261 for <[email protected]>; Thu, 23 Dec 2004 19:10:42 +0530 (IST) Received: from cfmvinpro2 ([161.129.204.104]) by mail2.bgr.ionidea.com (8.13.1/8.12.2) with SMTP id iBNDeprS026198 for <[email protected]>; Thu, 23 Dec 2004 19:10:51 +0530 Message-ID: <001301c4e8f5$1a7e68a0$2b015b0a@cfmvinpro2> From: "praveen" <[email protected]> To: "Cactus Users List" <[email protected]> References: <[email protected]> Subject: Re: jsf custom tag libs Date: Thu, 23 Dec 2004 19:11:28 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked Thanx Vincent for your reply. Here i am facing a problem while testing the custom tagligs for jsf. I tried that exaples which was given in junit book and also there is no frame work given for to test jsf custom tag libs. In jsp cutomtag ligs for to test we are extends jsptestcase.But in jsf what we need to extends...If i use that frame work in that there is no startTag some thing alike that. we have a customtaglib aphanumericvalidator(anv) it is calling Validator createValidator() which is internally calling validate(FacesContext context, UIComponent component, Object toValidate) this method. My questing is how can i pass value to that method. here FacesContext is an abstract class. Vincent i am waiting for your reply. Thanx&&Regards praveen. ----- Original Message ----- From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Sent: Thursday, December 23, 2004 6:54 PM Subject: RE: jsf custom tag libs Hi Praveen, <plug>You can find detailed information in my "JUnit in Action" book</plug>. Also, if you're ok with only the source code you can get it from http://junitbook.sf.net (look at the "pages" project). -Vincent > -----Original Message----- > From: praveen [mailto:[email protected]] > Sent: vendredi 17 décembre 2004 10:21 > To: Cactus Users List > Subject: jsf custom tag libs > > hai all, > > I need help in writing testcases for jsf(java server faceses) custom > tag libs.Is there any article found in writing test cases for jsf custom > tag libs plz send that link or any example . > > > > > Thanx&&Regards > praveen. > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Dec 23 14:47:15 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 87417 invoked by uid 99); 23 Dec 2004 14:47:15 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtp.nildram.co.uk (HELO smtp.nildram.co.uk) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 23 Dec 2004 06:47:12 -0800 Received: from [161.129.204.104] (81-6-219-114.dyn.gotadsl.co.uk [161.129.204.104]) by smtp.nildram.co.uk (Postfix) with ESMTP id D20D8253C2F for <[email protected]>; Thu, 23 Dec 2004 14:47:04 +0000 (GMT) Message-ID: <[email protected]> Date: Thu, 23 Dec 2004 14:52:19 +0000 From: Cumbers <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Cactus Users List <[email protected]> Subject: Re: Log4J problems References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked Hey I can't remember how I fixed this but ultimately I did, thanks for following up anyway! Have a good christmas break everyone!! Cheers Rich Vincent Massol wrote: > Hi Rich, > > >>-----Original Message----- >>From: Cumbers [mailto:[email protected]] >>Sent: mardi 14 décembre 2004 12:50 >>To: Cactus Users List >>Subject: Log4J problems >> >>Hello >> >>Firstly my problem from yesterday was that my web.xml did not conform to >>the dtd and cactus fails silently, scrambling the web.xml tags. This is >>a known bug within the cactus project. > > > I'd say it's a limitation rather than a bug... ;-) > > >>Now however I have another issue, this time with Log4J. I use Log4J >>within my web application, with no [email protected]. However when I try >>and test using cactus, it fails on creation of a class that uses Log4J, >>with the following error message: >> >>Caused ERROR org/apache/log4j/Priority >>java.lang.NoClassDefFoundError: org/apache/log4j/Priority >> >>Now I have put in the cactus.classpath in the ant file a reference to >>the log4j jar file and have also put it as an argument for ant itself. >> >>Any ideas what is going wrong? > > > There are 2 JVMs in which you cactus tests run: the client side one and the > server side one. Are you sure you have log4j in both? > > Thanks > -Vincent > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > From [email protected] Thu Dec 23 14:48:21 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 89707 invoked by uid 99); 23 Dec 2004 14:48:21 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_60_70,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from firewall1779.fiserv.com (HELO Mail1.Fiserv.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 23 Dec 2004 06:48:18 -0800 Received: from des10ms01.fais.com ([161.129.204.104]) by Mail1.Fiserv.com (Switch-3.1.2/Switch-3.1.2) with ESMTP id WBNE3BF6G000005C4 for <[email protected]>; Thu, 23 Dec 2004 08:47:51 -0600 Received: by DES10MS01 with Internet Mail Service (5.5.2653.19) id <Z3VMT73A>; Thu, 23 Dec 2004 08:45:48 -0600 Message-ID: <0205C50D41B7D611AEA50002A537CEC20328E819@DES10MS01> From: "Korver, Aaron" <[email protected]> To: "'[email protected]'" <[email protected]> Subject: Vincent was busy last night Date: Thu, 23 Dec 2004 08:45:48 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4E8FE.171A3FF0" X-Virus-Checked: Checked ------_=_NextPart_001_01C4E8FE.171A3FF0 Content-Type: text/plain; charset="iso-8859-1" Wow Vincent, Impressive string of responses on the list. I'm going to step up for the list and say a big Thanks! for your time responding to people's questions. Happy Holidays! Aaron ------_=_NextPart_001_01C4E8FE.171A3FF0-- From [email protected] Thu Dec 23 15:19:24 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 60184 invoked by uid 99); 23 Dec 2004 15:19:24 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF [email protected]) Received: from smtp106.mail.sc5.yahoo.com (HELO smtp106.mail.sc5.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 23 Dec 2004 07:19:20 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp106.mail.sc5.yahoo.com with SMTP; 23 Dec 2004 15:19:14 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: Vincent was busy last night Date: Thu, 23 Dec 2004 16:19:17 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <0205C50D41B7D611AEA50002A537CEC20328E819@DES10MS01> Thread-Index: AcTo/nVEA9UcNnldStSTUROPh7wX3QAA/E7g X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked Thanks Aaron. Actually I wish I was as responsive as I used to be, i.e. immediate answer as messages are posted... Unfortunately I've been = working on other stuff in my free time for a while now (Cargo, Maven, etc). From time to time I try to answer as much as I can on the cactus list which = is when you see the string of responses ;-) Happy new year to all -Vincent > -----Original Message----- > From: Korver, Aaron [mailto:[email protected]] > Sent: jeudi 23 d=E9cembre 2004 15:46 > To: '[email protected]' > Subject: Vincent was busy last night >=20 > Wow Vincent, > Impressive string of responses on the list. I'm going to step up for = the > list and say a big Thanks! for your time responding to people's = questions. >=20 > Happy Holidays! >=20 > Aaron From [email protected] Thu Dec 23 20:07:30 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 35285 invoked by uid 99); 23 Dec 2004 20:07:30 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.mi8.com (HELO mail.Mi8.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 23 Dec 2004 12:07:26 -0800 Received: from 161.129.204.104 by mail.Mi8.com with ESMTP (- GW06 Welcome to Mi8 Corporation www.Mi8.com); Thu, 23 Dec 2004 15:07:16 -0500 X-Server-Uuid: 9E438C5A-6388-4898-B0A1-D4C823600DD7 Received: from MI8NYCMAIL01.Mi8.com ([161.129.204.104]) by D01SMTP02.Mi8.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 23 Dec 2004 15:07:15 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: Passing argument to Cactus using servlet Date: Thu, 23 Dec 2004 15:07:15 -0500 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Passing argument to Cactus using servlet Thread-Index: AcToZTWrcgwSs4AeRvCSX1bK498euQABUzgQAC/14LA= From: "Sanket Desai" <[email protected]> To: "Cactus Users List" <[email protected]> X-OriginalArrivalTime: 23 Dec 2004 20:07:15.0703 (UTC) FILETIME=[FF75E070:01C4E92A] X-WSS-ID: 6DD5FAFE1WK156653-01-01 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked Vincent, Now that I've resolved parameter issue with the servlet, I've another = issue. When I try & call Cactus servlet 1st time, it works fine. But when I = call it the 2nd tim e (again thru Jmeter), I get NullPointerException acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:389) at = weblogic.servlet.internal.WebAppServletContext.setAttribute(WebAppServlet= Context.java:669) at = org.apache.cactus.server.AbstractServletContextWrapper.dispatch69_setAttr= ibute(AbstractServletContextWrapper.java;org/apache/cactus/util/log/LogAs= pect.aj(1k):126) at = org.apache.cactus.server.AbstractServletContextWrapper.around69_setAttrib= ute(AbstractServletContextWrapper.java;org/apache/cactus/util/log/LogAspe= ct.aj(1k):1156) at = org.apache.cactus.server.AbstractServletContextWrapper.setAttribute(Abstr= actServletContextWrapper.java;org/apache/cactus/util/log/LogAspect.aj(1k)= :124) at = org.apache.cactus.server.AbstractServletContextWrapper.dispatch69_setAttr= ibute(AbstractServletContextWrapper.java;org/apache/cactus/util/log/LogAs= pect.aj(1k):126) at = org.apache.cactus.server.AbstractServletContextWrapper.around69_setAttrib= ute(AbstractServletContextWrapper.java;org/apache/cactus/util/log/LogAspe= ct.aj(1k):1156) at = org.apache.cactus.server.AbstractServletContextWrapper.setAttribute(Abstr= actServletContextWrapper.java;org/apache/cactus/util/log/LogAspect.aj(1k)= :124) at = org.apache.cactus.server.AbstractServletContextWrapper.dispatch69_setAttr= ibute(AbstractServletContextWrapper.java;org/apache/cactus/util/log/LogAs= pect.aj(1k):126) at = org.apache.cactus.server.AbstractServletContextWrapper.around69_setAttrib= ute(AbstractServletContextWrapper.java;org/apache/cactus/util/log/LogAspe= ct.aj(1k):1156) at = org.apache.cactus.server.AbstractServletContextWrapper.setAttribute(Abstr= actServletContextWrapper.java;org/apache/cactus/util/log/LogAspect.aj(1k)= :124) at = servletunit.struts.CactusStrutsTestCase.getActionServlet(CactusStrutsTest= Case.java:400)=20 Looking at the exception above it appears to me that the context didn't = get initialized or may be I'm missing something in the tearDown(). Here are my setup() & tearDown() methodsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b public void tearDown() throws Exception { System.out.println("\n\n ******* Inside tearDown() method of = RunQueryActionTest.before calling super.tearDown()"); super.tearDown(); } public void setUp() throws Exception { System.out.println("\n\n ******* Inside setUp() method of = RunQueryActionTest before calling super.setUp()"); super.setUp(); setInitParameter("config", "query/config/struts-config.xml"); setInitParameter("application", "AppResources"); } Any clues as to what I might be missing? Any help / pointers is appreciated. Regards, =20 Sanket Desai -----Original Message----- From: Vincent Massol [mailto:[email protected]]=20 Sent: Wednesday, December 22, 2004 4:12 PM To: 'Cactus Users List' Subject: RE: Passing argument to Cactus using servlet Hi Sankeet, > -----Original Message----- > From: Sanket Desai [mailto:[email protected]] > Sent: mercredi 22 d=E9cembre 2004 21:31 > To: [email protected] > Subject: Passing argument to Cactus using servlet >=20 > Hi there, >=20 > I'm calling onto cactus using JMeter. >=20 > Basically calling "ServletTestRunner" servlet while passing > 1) suite=3D"Fully_Qualified_TestSuiteName" > 2) myArg=3DmyValue >=20 >=20 > I see that the test gets called but I need to access my passed=20 > argument > (myArg) in my test class that I passed from JMeter. Unfortunately that = > parameter is not available.I guess the "request" parameter that we=20 > have using "getRequest()" method of "CactusStrutsTestCase" or "public=20 > request variable" of ServletTestCase is actually provided by Cactus = itself. >=20 No, that should work fine. The "request" object that you're getting is = the real request object. To my knowledge, we have several tests in the = Cactus test suite that pass HTTP parameters to the server side. Ah, I can think of only possible reason why it wouldn't work: maybe = StrutsTestCase does not pass the original request? I have never used = strutstestcase so I don't know but try without strutstestcase as a test = and it should work fine. You can ask on the strutstestcase mailing list. = Maybe they'll be able to help? > Does anyone know a way of retrieving the passed request parameter to=20 > cactus in the test class? >=20 > I really apreciate any help / pointers in this scenario. >=20 > Thanking you in advance. >=20 > Regards, >=20 > Sanket Desai >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Dec 23 20:24:51 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 69322 invoked by uid 99); 23 Dec 2004 20:24:51 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF [email protected]) Received: from smtp101.mail.sc5.yahoo.com (HELO smtp101.mail.sc5.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 23 Dec 2004 12:24:47 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp101.mail.sc5.yahoo.com with SMTP; 23 Dec 2004 20:24:43 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: Passing argument to Cactus using servlet Date: Thu, 23 Dec 2004 21:24:46 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcToZTWrcgwSs4AeRvCSX1bK498euQABUzgQAC/14LAAAKhuIA== X-Virus-Checked: Checked I don't know.=20 Sounds more like a strutstestcase issue to me (maybe it's doing = something in teardown() or setUp() that causes this pb). I've never heard of any such problem with Cactus. -Vincent > -----Original Message----- > From: Sanket Desai [mailto:[email protected]] > Sent: jeudi 23 d=E9cembre 2004 21:07 > To: Cactus Users List > Subject: RE: Passing argument to Cactus using servlet >=20 > Vincent, >=20 > Now that I've resolved parameter issue with the servlet, I've another > issue. >=20 > When I try & call Cactus servlet 1st time, it works fine. But when I = call > it the 2nd tim e (again thru Jmeter), I get NullPointerException acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b >=20 > java.lang.NullPointerException > at java.util.Hashtable.put(Hashtable.java:389) > at > = weblogic.servlet.internal.WebAppServletContext.setAttribute(WebAppServlet= C > ontext.java:669) > at > = org.apache.cactus.server.AbstractServletContextWrapper.dispatch69_setAttr= i > = bute(AbstractServletContextWrapper.java;org/apache/cactus/util/log/LogAsp= e > ct.aj(1k):126) > at > = org.apache.cactus.server.AbstractServletContextWrapper.around69_setAttrib= u > = te(AbstractServletContextWrapper.java;org/apache/cactus/util/log/LogAspec= t > .aj(1k):1156) > at > = org.apache.cactus.server.AbstractServletContextWrapper.setAttribute(Abstr= a > = ctServletContextWrapper.java;org/apache/cactus/util/log/LogAspect.aj(1k):= 1 > 24) > at > = org.apache.cactus.server.AbstractServletContextWrapper.dispatch69_setAttr= i > = bute(AbstractServletContextWrapper.java;org/apache/cactus/util/log/LogAsp= e > ct.aj(1k):126) > at > = org.apache.cactus.server.AbstractServletContextWrapper.around69_setAttrib= u > = te(AbstractServletContextWrapper.java;org/apache/cactus/util/log/LogAspec= t > .aj(1k):1156) > at > = org.apache.cactus.server.AbstractServletContextWrapper.setAttribute(Abstr= a > = ctServletContextWrapper.java;org/apache/cactus/util/log/LogAspect.aj(1k):= 1 > 24) > at > = org.apache.cactus.server.AbstractServletContextWrapper.dispatch69_setAttr= i > = bute(AbstractServletContextWrapper.java;org/apache/cactus/util/log/LogAsp= e > ct.aj(1k):126) > at > = org.apache.cactus.server.AbstractServletContextWrapper.around69_setAttrib= u > = te(AbstractServletContextWrapper.java;org/apache/cactus/util/log/LogAspec= t > .aj(1k):1156) > at > = org.apache.cactus.server.AbstractServletContextWrapper.setAttribute(Abstr= a > = ctServletContextWrapper.java;org/apache/cactus/util/log/LogAspect.aj(1k):= 1 > 24) > at > = servletunit.struts.CactusStrutsTestCase.getActionServlet(CactusStrutsTest= C > ase.java:400) >=20 >=20 >=20 > Looking at the exception above it appears to me that the context = didn't > get initialized or may be I'm missing something in the tearDown(). >=20 > Here are my setup() & tearDown() methodsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b >=20 > public void tearDown() throws Exception { > System.out.println("\n\n ******* Inside tearDown() method of > RunQueryActionTest.before calling super.tearDown()"); > super.tearDown(); > } >=20 > public void setUp() throws Exception { > System.out.println("\n\n ******* Inside setUp() method of > RunQueryActionTest before calling super.setUp()"); > super.setUp(); >=20 > setInitParameter("config", "query/config/struts-config.xml"); > setInitParameter("application", "AppResources"); > } >=20 >=20 > Any clues as to what I might be missing? >=20 > Any help / pointers is appreciated. >=20 > Regards, >=20 > Sanket Desai >=20 > -----Original Message----- > From: Vincent Massol [mailto:[email protected]] > Sent: Wednesday, December 22, 2004 4:12 PM > To: 'Cactus Users List' > Subject: RE: Passing argument to Cactus using servlet >=20 > Hi Sankeet, >=20 > > -----Original Message----- > > From: Sanket Desai [mailto:[email protected]] > > Sent: mercredi 22 d=E9cembre 2004 21:31 > > To: [email protected] > > Subject: Passing argument to Cactus using servlet > > > > Hi there, > > > > I'm calling onto cactus using JMeter. > > > > Basically calling "ServletTestRunner" servlet while passing > > 1) suite=3D"Fully_Qualified_TestSuiteName" > > 2) myArg=3DmyValue > > > > > > I see that the test gets called but I need to access my passed > > argument > > (myArg) in my test class that I passed from JMeter. Unfortunately = that > > parameter is not available.I guess the "request" parameter that we > > have using "getRequest()" method of "CactusStrutsTestCase" or = "public > > request variable" of ServletTestCase is actually provided by Cactus > itself. > > >=20 > No, that should work fine. The "request" object that you're getting is = the > real request object. To my knowledge, we have several tests in the = Cactus > test suite that pass HTTP parameters to the server side. >=20 > Ah, I can think of only possible reason why it wouldn't work: maybe > StrutsTestCase does not pass the original request? I have never used > strutstestcase so I don't know but try without strutstestcase as a = test > and it should work fine. You can ask on the strutstestcase mailing = list. > Maybe they'll be able to help? >=20 > > Does anyone know a way of retrieving the passed request parameter to > > cactus in the test class? > > > > I really apreciate any help / pointers in this scenario. > > > > Thanking you in advance. > > > > Regards, > > > > Sanket Desai > > >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >=20 >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] From [email protected] Thu Dec 23 20:26:49 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 75523 invoked by uid 99); 23 Dec 2004 20:26:49 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.mi8.com (HELO mail.Mi8.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 23 Dec 2004 12:26:46 -0800 Received: from 161.129.204.104 by mail.Mi8.com with ESMTP (- GW01 Welcome to Mi8 Corporation www.Mi8.com); Thu, 23 Dec 2004 15:26:36 -0500 X-Server-Uuid: 5277BDAF-53F5-40D3-B0CE-9F655C8970F8 Received: from MI8NYCMAIL01.Mi8.com ([161.129.204.104]) by D01SMTP02.Mi8.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 23 Dec 2004 15:26:36 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: Passing argument to Cactus using servlet Date: Thu, 23 Dec 2004 15:26:35 -0500 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Passing argument to Cactus using servlet Thread-Index: AcToZTWrcgwSs4AeRvCSX1bK498euQABUzgQAC/14LAAAKhuIAAAKADg From: "Sanket Desai" <[email protected]> To: "Cactus Users List" <[email protected]> X-OriginalArrivalTime: 23 Dec 2004 20:26:36.0191 (UTC) FILETIME=[B32A4AF0:01C4E92D] X-WSS-ID: 6DD5F6761J82784257-01-01 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked No probs vincent. I googled & found that I needed latest binary of cactus. I downloaded & that problem disappeared. Thanks anyways for help.=20 Regards, =20 Sanket Desai -----Original Message----- From: Vincent Massol [mailto:[email protected]]=20 Sent: Thursday, December 23, 2004 3:25 PM To: 'Cactus Users List' Subject: RE: Passing argument to Cactus using servlet I don't know.=20 Sounds more like a strutstestcase issue to me (maybe it's doing = something in teardown() or setUp() that causes this pb). I've never heard of any such = problem with Cactus. -Vincent > -----Original Message----- > From: Sanket Desai [mailto:[email protected]] > Sent: jeudi 23 d=E9cembre 2004 21:07 > To: Cactus Users List > Subject: RE: Passing argument to Cactus using servlet >=20 > Vincent, >=20 > Now that I've resolved parameter issue with the servlet, I've another=20 > issue. >=20 > When I try & call Cactus servlet 1st time, it works fine. But when I=20 > call it the 2nd tim e (again thru Jmeter), I get NullPointerException = acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b >=20 > java.lang.NullPointerException > at java.util.Hashtable.put(Hashtable.java:389) > at > weblogic.servlet.internal.WebAppServletContext.setAttribute(WebAppServ > letC > ontext.java:669) > at > org.apache.cactus.server.AbstractServletContextWrapper.dispatch69_setA > ttri=20 > bute(AbstractServletContextWrapper.java;org/apache/cactus/util/log/Log > Aspe > ct.aj(1k):126) > at > org.apache.cactus.server.AbstractServletContextWrapper.around69_setAtt > ribu=20 > te(AbstractServletContextWrapper.java;org/apache/cactus/util/log/LogAs > pect > .aj(1k):1156) > at > org.apache.cactus.server.AbstractServletContextWrapper.setAttribute(Ab > stra > ctServletContextWrapper.java;org/apache/cactus/util/log/LogAspect.aj(1 > k):1 > 24) > at > org.apache.cactus.server.AbstractServletContextWrapper.dispatch69_setA > ttri=20 > bute(AbstractServletContextWrapper.java;org/apache/cactus/util/log/Log > Aspe > ct.aj(1k):126) > at > org.apache.cactus.server.AbstractServletContextWrapper.around69_setAtt > ribu=20 > te(AbstractServletContextWrapper.java;org/apache/cactus/util/log/LogAs > pect > .aj(1k):1156) > at > org.apache.cactus.server.AbstractServletContextWrapper.setAttribute(Ab > stra > ctServletContextWrapper.java;org/apache/cactus/util/log/LogAspect.aj(1 > k):1 > 24) > at > org.apache.cactus.server.AbstractServletContextWrapper.dispatch69_setA > ttri=20 > bute(AbstractServletContextWrapper.java;org/apache/cactus/util/log/Log > Aspe > ct.aj(1k):126) > at > org.apache.cactus.server.AbstractServletContextWrapper.around69_setAtt > ribu=20 > te(AbstractServletContextWrapper.java;org/apache/cactus/util/log/LogAs > pect > .aj(1k):1156) > at > org.apache.cactus.server.AbstractServletContextWrapper.setAttribute(Ab > stra > ctServletContextWrapper.java;org/apache/cactus/util/log/LogAspect.aj(1 > k):1 > 24) > at > servletunit.struts.CactusStrutsTestCase.getActionServlet(CactusStrutsT > estC > ase.java:400) >=20 >=20 >=20 > Looking at the exception above it appears to me that the context=20 > didn't get initialized or may be I'm missing something in the = tearDown(). >=20 > Here are my setup() & tearDown() methodsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b >=20 > public void tearDown() throws Exception { > System.out.println("\n\n ******* Inside tearDown() method of=20 > RunQueryActionTest.before calling super.tearDown()"); > super.tearDown(); > } >=20 > public void setUp() throws Exception { > System.out.println("\n\n ******* Inside setUp() method of=20 > RunQueryActionTest before calling super.setUp()"); > super.setUp(); >=20 > setInitParameter("config", "query/config/struts-config.xml"); > setInitParameter("application", "AppResources"); > } >=20 >=20 > Any clues as to what I might be missing? >=20 > Any help / pointers is appreciated. >=20 > Regards, >=20 > Sanket Desai >=20 > -----Original Message----- > From: Vincent Massol [mailto:[email protected]] > Sent: Wednesday, December 22, 2004 4:12 PM > To: 'Cactus Users List' > Subject: RE: Passing argument to Cactus using servlet >=20 > Hi Sankeet, >=20 > > -----Original Message----- > > From: Sanket Desai [mailto:[email protected]] > > Sent: mercredi 22 d=E9cembre 2004 21:31 > > To: [email protected] > > Subject: Passing argument to Cactus using servlet > > > > Hi there, > > > > I'm calling onto cactus using JMeter. > > > > Basically calling "ServletTestRunner" servlet while passing > > 1) suite=3D"Fully_Qualified_TestSuiteName" > > 2) myArg=3DmyValue > > > > > > I see that the test gets called but I need to access my passed=20 > > argument > > (myArg) in my test class that I passed from JMeter. Unfortunately=20 > > that parameter is not available.I guess the "request" parameter that = > > we have using "getRequest()" method of "CactusStrutsTestCase" or=20 > > "public request variable" of ServletTestCase is actually provided by = > > Cactus > itself. > > >=20 > No, that should work fine. The "request" object that you're getting is = > the real request object. To my knowledge, we have several tests in the = > Cactus test suite that pass HTTP parameters to the server side. >=20 > Ah, I can think of only possible reason why it wouldn't work: maybe=20 > StrutsTestCase does not pass the original request? I have never used=20 > strutstestcase so I don't know but try without strutstestcase as a=20 > test and it should work fine. You can ask on the strutstestcase = mailing list. > Maybe they'll be able to help? >=20 > > Does anyone know a way of retrieving the passed request parameter to = > > cactus in the test class? > > > > I really apreciate any help / pointers in this scenario. > > > > Thanking you in advance. > > > > Regards, > > > > Sanket Desai > > >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >=20 >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Dec 23 20:27:27 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 76718 invoked by uid 99); 23 Dec 2004 20:27:27 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF [email protected]) Received: from smtp111.mail.sc5.yahoo.com (HELO smtp111.mail.sc5.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 23 Dec 2004 12:27:24 -0800 Received: from unknown (HELO vma) ([email protected] with login) by smtp111.mail.sc5.yahoo.com with SMTP; 23 Dec 2004 20:27:22 -0000 From: "Vincent Massol" <[email protected]> To: "'Cactus Users List'" <[email protected]> Subject: RE: jsf custom tag libs Date: Thu, 23 Dec 2004 21:27:25 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <001301c4e8f5$1a7e68a0$2b015b0a@cfmvinpro2> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcTo9Q5uHSy8ML5xR2Co8Q22C0v9XAAOG+jA X-Virus-Checked: Checked > -----Original Message----- > From: praveen [mailto:[email protected]] > Sent: jeudi 23 d=E9cembre 2004 14:41 > To: Cactus Users List > Subject: Re: jsf custom tag libs >=20 > Thanx Vincent for your reply. > Here i am facing a problem while testing the custom tagligs for jsf. I > tried > that exaples which was given in junit book and also there is no frame = work > given for to test jsf custom tag libs. What do you mean by "framework"? The book explains how to unit test tag libs. What more are you looking for? >=20 > In jsp cutomtag ligs for to test we are extends > jsptestcase.But in jsf what we need to extends...If i use that frame = work > in > that there is no startTag some thing alike that. I don't know JSF. You're the one who knows... >=20 > we have a customtaglib aphanumericvalidator(anv) > it is calling Validator createValidator() which is internally > calling > validate(FacesContext context, UIComponent component, > Object toValidate) this method. >=20 > My questing is how can i pass value to that method. here FacesContext = is > an > abstract class. > Vincent i am waiting for your reply. I don't know. I don't think I can help you more at this point. I think = it goes beyond the scope of Cactus. Maybe some others have used JSF and = will understand what you mean and what you're looking for. -Vincent > ----- Original Message ----- > From: "Vincent Massol" <[email protected]> > To: "'Cactus Users List'" <[email protected]> > Sent: Thursday, December 23, 2004 6:54 PM > Subject: RE: jsf custom tag libs >=20 >=20 > Hi Praveen, >=20 > <plug>You can find detailed information in my "JUnit in Action" > book</plug>. > Also, if you're ok with only the source code you can get it from > http://junitbook.sf.net (look at the "pages" project). >=20 > -Vincent >=20 > > -----Original Message----- > > From: praveen [mailto:[email protected]] > > Sent: vendredi 17 d=E9cembre 2004 10:21 > > To: Cactus Users List > > Subject: jsf custom tag libs > > > > hai all, > > > > I need help in writing testcases for jsf(java server faceses) = custom > > tag libs.Is there any article found in writing test cases for jsf = custom > > tag libs plz send that link or any example . > > > > > > > > > > Thanx&&Regards > > praveen. > > > > >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] From [email protected] Wed Dec 29 16:18:53 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 25673 invoked by uid 99); 29 Dec 2004 16:18:53 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.jmmx.de (HELO mail.juwimm.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 29 Dec 2004 08:18:50 -0800 Received: from localhost (gigastore.juwimm.local [161.129.204.104]) by mail.juwimm.de (Juwimm Mail-Exchanger) with ESMTP id E1E911684D5 for <[email protected]>; Wed, 29 Dec 2004 17:18:47 +0100 (CET) Received: from mail.juwimm.de ([161.129.204.104]) by localhost (mailscanner.juwimm.local [161.129.204.104]) (amavisd-new, port 10024) with ESMTP id 28482-04 for <[email protected]>; Wed, 29 Dec 2004 17:24:24 +0100 (CET) Received: from [161.129.204.104] (unknown [161.129.204.104]) by mail.juwimm.de (Juwimm Mail-Exchanger) with ESMTP id C8E971684D4 for <[email protected]>; Wed, 29 Dec 2004 17:18:47 +0100 (CET) Message-ID: <[email protected]> Date: Wed, 29 Dec 2004 17:19:02 +0100 From: Claudius Spellmann <[email protected]> User-Agent: Thunderbird 0.6 (Windows/20040502) X-Accept-Language: de-de, de-at, de, en-us, en MIME-Version: 1.0 To: [email protected] Subject: using the catcus maven plugin.... Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at juwimm.com X-Virus-Checked: Checked Hi, I've got a problem when I try to do automated unit test using cactus as a maven plugin. Everything works fine when i let the test run as war but it doesn't quite work as ear. my current maven/cactus configuration looks like this: The properties file: ---------------------------------------------------------------------------------------------------------------- maven.repo.remote=http://www.ibiblio.org/maven cactus.home.jboss3x=C:\jboss-3.2.5 cactus.port=80 cactus.jboss3x.config.name=xxxMyProjectNamexxx cactus.halt.on.error=true cactus.halt.on.failure=true cactus.is.ear=true ---------------------------------------------------------------------------------------------------------------- and in the project xml I added a report entry for cactus: ---------------------------------------------------------------------------------------------------------------- <reports> <report>maven-cactus-plugin</report> <report>maven-checkstyle-plugin</report> <report>maven-multiproject-plugin</report> <report>maven-faq-plugin</report> <report>maven-junit-report-plugin</report> <report>maven-pmd-plugin</report> <report>maven-tasklist-plugin</report> <report>maven-jxr-plugin</report> <report>maven-changelog-plugin</report> <report>maven-javadoc-plugin</report> </reports> <dependency> <groupId>cactus</groupId> <artifactId>cactus-maven</artifactId> <version>1.6.1</version> <type>plugin</type> </dependency> </dependencies> ---------------------------------------------------------------------------------------------------------------- This is the maven output I'll get when running the buildfile (surprisingly cactus can't find any testfiles to run but as said before when using *.war everything works fine) ---------------------------------------------------------------------------------------------------------------- test:prepare-filesystem: test:test-resources: test:compile: [echo] No test source files to compile. test:test: [echo] No tests to run. ejb:ejb: [echo] Building ejb novartis-leponex-ejb-1.0-SNAPSHOT [jar] Building jar: C:\svnroot\novartis-leponex\ejb\target\novartis-leponex-ejb-1.0-SNAPSHOT.jar ear:load: [ear] Building ear: C:\svnroot\novartis-leponex\ejb\target\novartis-leponex-ejb-cactus.ear cactus:test-ear: [cactus] ----------------------------------------------------------------- [cactus] Running tests against JBoss 3.2.5 [cactus] ----------------------------------------------------------------- [cactus] Shutdown message has been posted to the server. [cactus] Server shutdown may take a while - check logfiles for completion [echo] Generating the Checkstyle... --------------------------------------------------------------------------------------------------------------- Any ideas ??? thanks in advance Claudius From [email protected] Fri Dec 31 23:06:05 2004 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 30730 invoked by uid 99); 31 Dec 2004 23:06:05 -0000 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_POST,MSGID_FROM_MTA_HEADER,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from bay21-f23.bay21.hotmail.com (HELO hotmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 31 Dec 2004 15:06:02 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 31 Dec 2004 15:06:00 -0800 Message-ID: <[email protected]> Received: from 161.129.204.104 by by21fd.bay21.hotmail.msn.com with HTTP; Fri, 31 Dec 2004 23:05:58 GMT X-Originating-IP: [161.129.204.104] X-Originating-Email: [[email protected]] X-Sender: [email protected] From: "lincoln zheng" <[email protected]> To: [email protected] Bcc: Subject: who has used maven cactus plugin on websphere applicaiton server Date: Fri, 31 Dec 2004 23:05:58 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 31 Dec 2004 23:06:00.0554 (UTC) FILETIME=[4B4644A0:01C4EF8D] X-Virus-Checked: Checked Hi all the gurus, is an some body who has used maven cactus plugin on websphere application server. Would you tell it it is working? Thanks! Lincoln Zheng
From [email protected] Mon Dec 01 04:19:30 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2352 invoked from network); 1 Dec 2008 04:19:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Dec 2008 04:19:30 -0000 Received: (qmail 89484 invoked by uid 500); 1 Dec 2008 04:19:40 -0000 Delivered-To: [email protected] Received: (qmail 89460 invoked by uid 500); 1 Dec 2008 04:19:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 89448 invoked by uid 99); 1 Dec 2008 04:19:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Nov 2008 20:19:40 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO QMTA09.emeryville.ca.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 04:18:10 +0000 Received: from OMTA05.emeryville.ca.mail.comcast.net ([161.129.204.104]) by QMTA09.emeryville.ca.mail.comcast.net with comcast id ld7X1a0010vp7WLA9gJwvE; Mon, 01 Dec 2008 04:18:56 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by OMTA05.emeryville.ca.mail.comcast.net with comcast id lgJv1a00D2BKKcw8RgJwd5; Mon, 01 Dec 2008 04:18:56 +0000 X-Authority-Analysis: v=1.0 c=1 a=gHRresa7PZoA:10 a=8tU9y9WP864A:10 a=VD52k8rMhIfRX3Vuwc8A:9 a=Cd-9ALlpoLyTnKPDy4hSsQItYKUA:4 a=birkmQ2h4YEA:10 Message-ID: <[email protected]> Date: Sun, 30 Nov 2008 22:23:57 -0600 From: Jacob Kjome <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b1pre) Gecko/20081031 Eudora/3.0a3 MIME-Version: 1.0 To: Log4J Users List <[email protected]> Subject: Re: log4j ignoring log4j.properties and only showing INFO messages References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 0.96a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Relayed-By: GPGrelay Version 0.959 (Win32) X-Virus-Checked: Checked by ClamAV on apache.org Is System.out and/or System.err being redirected to a file by the main program? Jake On 11/30/2008 10:55 AM, Farrukh Najmi wrote: > > I see no output from log4j when I specify this option. When I specify this > option to another project I do see expected log4j debug output. What could > cause no such output to be emitted? Thanks Jake. > > > Jacob Kjome wrote: >> Try using -Dlog4j.debug=true to see how Log4j is being configured. Maybe >> someone >> is performing manual configuration shortly after auto-configuration takes >> place? >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Dec 01 09:27:34 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 32482 invoked from network); 1 Dec 2008 09:27:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Dec 2008 09:27:34 -0000 Received: (qmail 35949 invoked by uid 500); 1 Dec 2008 09:27:43 -0000 Delivered-To: [email protected] Received: (qmail 35933 invoked by uid 500); 1 Dec 2008 09:27:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 35922 invoked by uid 99); 1 Dec 2008 09:27:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 01:27:43 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 09:26:13 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1L753T-0004Km-MP for [email protected]; Mon, 01 Dec 2008 01:26:59 -0800 Message-ID: <[email protected]> Date: Mon, 1 Dec 2008 01:26:59 -0800 (PST) From: Dipocse <[email protected]> To: [email protected] Subject: Re: initialize the log4j system properly In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org I'm still stacked. Please would anyone help me to solve the issue? Dipocse wrote: > > Hi All > I've a database (PRJ) and I'm trying to connect from Asterisk server to > that database. In the shell script i used a log4j-1.2.11.jar with all > others jar files. > > The shell script for runagi.sh is : > > #!/bin/sh > > JARS="curtin.jar:/lib/log4j-1.2.11.jar:/lib/jta.jar:/lib/antlr-2.7.6rc1.jar:/lib/ehcache-1.1.jar:/lib/cglib-2.1.3.jar:/lib/dom4j-1.6.1.jar:/lib/mail.jar:/lib/commons-lang-1.0.1.jar:/lib/mysql-connector-java-3.1.10-bin.jar:/lib/asm-attrs.jar:/lib/commons-logging-1.0.4.jar:/lib/commons-collections-2.1.1.jar:/lib/mailet_1_0.jar:/lib/asterisk-java-0.2.jar:/lib/jdom.jar:/lib/rome-0.7.jar:/lib/asm.jar:/lib/hibernate3.jar:/lib/activation.jar:/lib/c3p0-0.9.0.jar" > > > RUNCLASS="curtin.control.VAEAGIServer" > > > export VAECONFIG="/vad/VAE.conf" > > > echo "Script: Removing old log files" > > rm -f ./logs/VAEServer.log > rm -f ./logs/ChannelSessionManager.log > rm -f ./logs/ThreadManager.log > > echo "Script: Deleting old dynamic audio files" > rm -f /var/lib/asterisk/sounds/TMP*.gsm > > > java -cp $JARS $RUNCLASS NOWAVE > > > > > when i run the above shell script (./runagi.sh). It shows me the following > warnings........ > > > Warning: > > > > log4j:WARN No appenders could be found for logger > =(net.sf.hibernate.cfg.Environment) > > > > log4j:WARN Please initialize the log4j system properly > > would anyone tell me how can i solve it? > -- View this message in context: http://www.nabble.com/initialize-the-log4j-system-properly-tp20712837p20768650.html Sent from the Log4j - Users mailing list [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Dec 01 12:36:39 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13454 invoked from network); 1 Dec 2008 12:36:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Dec 2008 12:36:39 -0000 Received: (qmail 79515 invoked by uid 500); 1 Dec 2008 12:36:47 -0000 Delivered-To: [email protected] Received: (qmail 79445 invoked by uid 500); 1 Dec 2008 12:36:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 79424 invoked by uid 99); 1 Dec 2008 12:36:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 04:36:47 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail.qos.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 12:35:18 +0000 Received: by mail.qos.ch (Postfix, from userid 1006) id 4B0C5169673; Mon, 1 Dec 2008 13:43:42 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.4-gr0 (2008-01-01) on torino X-Spam-Level: Received: from [161.129.204.104] (unknown [161.129.204.104]) by mail.qos.ch (Postfix) with ESMTP id 0126A169615 for <[email protected]>; Mon, 1 Dec 2008 13:43:40 +0100 (CET) Message-ID: <[email protected]> Date: Mon, 01 Dec 2008 13:36:08 +0100 From: Ceki Gulcu <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20081105) MIME-Version: 1.0 To: Log4J Users List <[email protected]> Subject: log4j adopting SLF4J? [Was: Repository selectors, useful?] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-4.4 required=5.5 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.4-gr0 Jacob Kjome wrote: > Ceki Gulcu wrote: >> It should not be difficult to write a SLF4J binding for log4j which >> supports repository selectors. >> > ...which would require Log4j to directly implement the SLF4J interfaces, no? > Doubtful for 1.2.xx. If there is support for this idea, it can be implemented with relative ease. The log4j version can be called 1.3, 1.4 or even 2.0. The difficult part is reaching agreement among the log4j committers. I think if log4j implemented SLF4J, this would have a very positive unifying effect on logging in the Java world. Obviously, I am willing to do the work. As you are probably aware, more and more projects are adopting the SLF4J API. I would venture say that SLF4J's adoption rate is roughly equivalent to that of log4j itself. Recently, Jspwiki decided to adopt the SLF4J API for its logging. See https://issues.apache.org/jira/browse/JSPWIKI-376 Harry Metske synthesized various logging paths in JSPWiki https://issues.apache.org/jira/secure/attachment/12394188/jspwiki-log.odp I was taken aback by the picture he paints. I think we owe it to Java developers to propose a saner logging model. Obviously, the adoption of the SLF4J API by log4j will be break 100% compatibility. More precisely, logging statements passing objects as messages will need to be converted to strings. Given that there are comparatively very few log statements using Object instead of String, in my experience, it takes half an hour to convert even the largest projects. The choice is between preserving 100% compatibility but force projects to deal with several logging libraries or to break 100% compatibility for but offer a saner and more unified model. -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Dec 01 13:08:44 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21110 invoked from network); 1 Dec 2008 13:08:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Dec 2008 13:08:44 -0000 Received: (qmail 26982 invoked by uid 500); 1 Dec 2008 13:08:49 -0000 Delivered-To: [email protected] Received: (qmail 26953 invoked by uid 500); 1 Dec 2008 13:08:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 26942 invoked by uid 99); 1 Dec 2008 13:08:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 05:08:49 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail.qos.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 13:07:20 +0000 Received: by mail.qos.ch (Postfix, from userid 1006) id 9E961169678; Mon, 1 Dec 2008 14:15:14 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.4-gr0 (2008-01-01) on torino X-Spam-Level: Received: from [161.129.204.104] (unknown [161.129.204.104]) by mail.qos.ch (Postfix) with ESMTP id 4FA7D1695C3 for <[email protected]>; Mon, 1 Dec 2008 14:15:13 +0100 (CET) Message-ID: <[email protected]> Date: Mon, 01 Dec 2008 14:07:40 +0100 From: Ceki Gulcu <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20081105) MIME-Version: 1.0 To: Log4J Users List <[email protected]> Subject: Re: Repository selectors, useful? References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-4.4 required=5.5 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.4-gr0 Jacob Kjome wrote: > How so? Of course the libraries must use non-static loggers, but what else > prevents shared libraries from participating in a logger context where the logging > implementation exists in the same (or parent) classloader? Most libraries use static loggers. It would be nice if they used non-static loggers but they don't. When loggers are non-static, then loggers need to be serializable which is not the case in all frameworks, e.g. log4j. My main point is that repository selectors offer a fragile solution to a very complex problem. Today, many applications embed a copy of the logging framework of their choice, which seems to work overall. IMHO, using repository selectors requires too much expertise. > You still haven't detailed your alternative solution the logger separation > problem. If you have one, please detail. Saying over and over that there other > other ways to separate application logging without the repository selector > concept, but never describing what they are, is not particularily convincing. If > there really are alternate, and better, ways of separating logging I'm prepared to > drop repository selectors in a heartbeat. But forgive me if I remain skeptical. Skeptical is OK. The approach has been fleetingly mentioned on the logback-user mailing list in the "Context selectors useful?" thread [1]. However, I'll let you know when we have a concrete solution. [1] http://www.qos.ch/pipermail/logback-user/2008-November/date.html > Jake -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Dec 02 04:52:11 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99989 invoked from network); 2 Dec 2008 04:52:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Dec 2008 04:52:11 -0000 Received: (qmail 90556 invoked by uid 500); 2 Dec 2008 04:52:17 -0000 Delivered-To: [email protected] Received: (qmail 90525 invoked by uid 500); 2 Dec 2008 04:52:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 90514 invoked by uid 99); 2 Dec 2008 04:52:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 20:52:17 -0800 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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO QMTA06.emeryville.ca.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Dec 2008 04:50:47 +0000 Received: from OMTA11.emeryville.ca.mail.comcast.net ([161.129.204.104]) by QMTA06.emeryville.ca.mail.comcast.net with comcast id lqSf1a00H0mlR8UA64rafq; Tue, 02 Dec 2008 04:51:34 +0000 Received: from sleeman ([161.129.204.104]) by OMTA11.emeryville.ca.mail.comcast.net with comcast id m4rR1a00126PxKU8X4rTFp; Tue, 02 Dec 2008 04:51:32 +0000 X-Authority-Analysis: v=1.0 c=1 a=r2IbRZfLj-0A:10 a=_d7TThBTdSQA:10 a=rITDv7nW5hcA:10 a=hRQn1khViW7-HrrGiC8A:9 a=nhyGSLU5dcuS7pghIfYTjVsL2gYA:4 a=CWfAmLVWKswA:10 a=GstW2JROiaUfQbUcff4A:9 a=1-1TNLKAX1OCG4-tTN0A:7 a=r4bcga_qp31K4DwJAIWlVsNKNrwA:4 a=AfD3MYMu9mQA:10 Message-ID: <[email protected]> Reply-To: "AJ Weber" <[email protected]> From: "AJ Weber" <[email protected]> To: <[email protected]> Subject: SocketHubAppender can not bind on Solaris? Date: Mon, 1 Dec 2008 23:51:23 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0040_01C9540F.B749A7B0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_0040_01C9540F.B749A7B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'm trying to startup a SocketHubAppender on Solaris 9. All my other, = local/file logging works great. I check if a port is in-use, and find an open one -- take 12001 for = example. So I configure my appender and port, then try starting my java = application. But it almost immediately comes back with a = java.net.BindException: Address already in use! But it wasn't a second = ago! Is this a Solaris-specific problem anyone has seen before? I = think the host may be using NIS+, could that be blocking my binding to = it? Thanks in advance for any info/help! -AJ ------=_NextPart_000_0040_01C9540F.B749A7B0-- From [email protected] Tue Dec 02 10:34:19 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53688 invoked from network); 2 Dec 2008 10:34:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Dec 2008 10:34:19 -0000 Received: (qmail 92731 invoked by uid 500); 2 Dec 2008 10:34:27 -0000 Delivered-To: [email protected] Received: (qmail 92708 invoked by uid 500); 2 Dec 2008 10:34:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 92697 invoked by uid 99); 2 Dec 2008 10:34:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Dec 2008 02:34:27 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nf-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Dec 2008 10:32:57 +0000 Received: by nf-out-0910.google.com with SMTP id k4so1741956nfd.0 for <[email protected]>; Tue, 02 Dec 2008 02:33:44 -0800 (PST) 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=pSC8m9ErhI84NS+TaaLO6l4Cbw8zE0sWz2oTF2wZPHk=; b=hrb2gJJ5rzO2RhPr1+zqALnDUQwTwaQMLrjwqbqzqE/kxqlG0D+8ILNu3JMBFOXKdr nzeEOyNae2mOFgs/NtpXKbYEMnn7SNRggV4J9qV72hAANQxWEaVUphyC7qs9rYSvbrox SyMHaprPISD59Irt7xHGWFALVMfKl+lTuwM/Q= 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=tQo4Od6wVprUTZJJFWrDdDWjgdLkocC5JCERgSP2zaEU5hxQ5iC4WJOI1YRE6eyOpq I3sA+FbEVQJfhLcg1LDmh5sgdri7Hk1EPz698CybZh6hW+w2ca84MctA0bWXvfuy9Qd7 VhB3l+hBBVrq0IQwaZ0lMM6B6sViQ9Rzycs1w= Received: by 161.129.204.104 with SMTP id k19mr13825039ebb.109.1228214023987; Tue, 02 Dec 2008 02:33:43 -0800 (PST) Received: from ?161.129.204.104? ([161.129.204.104]) by mx.google.com with ESMTPS id 20sm8502130eyk.59.2161.129.204.104.33.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 02 Dec 2008 02:33:43 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 02 Dec 2008 11:33:41 +0100 From: =?ISO-8859-1?Q?Thorbj=F8rn_Ravn_Andersen?= <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20081105) MIME-Version: 1.0 To: Log4J Users List <[email protected]> Subject: Re: SocketHubAppender can not bind on Solaris? References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org AJ Weber skrev den 02-12-2008 05:51: > I'm trying to startup a SocketHubAppender on Solaris 9. All my other, local/file logging works great. > > I check if a port is in-use, and find an open one -- take 12001 for example. > > How do you find an open one? I can recommend running nmap against the machine. > So I configure my appender and port, then try starting my java application. But it almost immediately comes back with a java.net.BindException: Address already in use! But it wasn't a second ago! Is this a Solaris-specific problem anyone has seen before? I think the host may be using NIS+, could that be blocking my binding to it? > Perhaps you should learn to use the Solaris version of netstat as it can tell you who sits on the port. It might also be a permission problem? -- Thorbjørn Ravn Andersen "...plus... Tubular Bells!" --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Dec 02 13:09:52 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24486 invoked from network); 2 Dec 2008 13:09:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Dec 2008 13:09:52 -0000 Received: (qmail 95250 invoked by uid 500); 2 Dec 2008 13:10:01 -0000 Delivered-To: [email protected] Received: (qmail 95224 invoked by uid 500); 2 Dec 2008 13:10:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 95212 invoked by uid 99); 2 Dec 2008 13:10:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Dec 2008 05:10:01 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO QMTA06.westchester.pa.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Dec 2008 13:08:31 +0000 Received: from OMTA02.westchester.pa.mail.comcast.net ([161.129.204.104]) by QMTA06.westchester.pa.mail.comcast.net with comcast id m9zX1a0070QuhwU56D9AJ1; Tue, 02 Dec 2008 13:09:10 +0000 Received: from sleeman ([161.129.204.104]) by OMTA02.westchester.pa.mail.comcast.net with comcast id mD8p1a00P26PxKU3ND8u2o; Tue, 02 Dec 2008 13:09:04 +0000 X-Authority-Analysis: v=1.0 c=1 a=kUeqWQF9fA4A:10 a=YUdZj-lksqUA:10 a=rITDv7nW5hcA:10 a=rdOqFxFymuIbFzZJgl4A:9 a=XLbM0sI3IFkYzCBlcQEA:7 a=4P0Yn2DCbhBKSRPJvwk3Hbe-a8QA:4 a=DF8Tq5FewZsA:10 a=MSl-tDqOz04A:10 a=gi0PWCVxevcA:10 Message-ID: <[email protected]> Reply-To: "AJ Weber" <[email protected]> From: "AJ Weber" <[email protected]> To: "Log4J Users List" <[email protected]> References: <[email protected]> <[email protected]> Subject: Re: SocketHubAppender can not bind on Solaris? Date: Tue, 2 Dec 2008 08:08:47 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Virus-Checked: Checked by ClamAV on apache.org I used netstat to check if the port was in-use. Then I attempted to connect to that port via telnet (with the port number). No response. But when I start the SocketHubAppender it gets the address already in use error. -AJ ----- Original Message ----- From: "Thorbjørn Ravn Andersen" <[email protected]> To: "Log4J Users List" <[email protected]> Sent: Tuesday, December 02, 2008 5:33 AM Subject: Re: SocketHubAppender can not bind on Solaris? > AJ Weber skrev den 02-12-2008 05:51: >> I'm trying to startup a SocketHubAppender on Solaris 9. All my other, >> local/file logging works great. >> >> I check if a port is in-use, and find an open one -- take 12001 for >> example. >> >> > How do you find an open one? > > I can recommend running nmap against the machine. > >> So I configure my appender and port, then try starting my java >> application. But it almost immediately comes back with a >> java.net.BindException: Address already in use! But it wasn't a second >> ago! Is this a Solaris-specific problem anyone has seen before? I think >> the host may be using NIS+, could that be blocking my binding to it? >> > Perhaps you should learn to use the Solaris version of netstat as it can > tell you who sits on the port. It might also be a permission problem? > -- > Thorbjørn Ravn Andersen "...plus... Tubular Bells!" > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Dec 02 13:39:58 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43285 invoked from network); 2 Dec 2008 13:39:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Dec 2008 13:39:58 -0000 Received: (qmail 32350 invoked by uid 500); 2 Dec 2008 13:40:03 -0000 Delivered-To: [email protected] Received: (qmail 32326 invoked by uid 500); 2 Dec 2008 13:40:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 32315 invoked by uid 99); 2 Dec 2008 13:40:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Dec 2008 05:40:03 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nf-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Dec 2008 13:38:35 +0000 Received: by nf-out-0910.google.com with SMTP id k4so1814125nfd.0 for <[email protected]>; Tue, 02 Dec 2008 05:39:12 -0800 (PST) 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=0XhrzKSqDKGmdaakPVnfauUNcBMeaiNBm7hs1dFAPnw=; b=dSAPhLM9kEhdyd3Xm3gKq72jfvE5VFWOi+fmGsJSrGIo+FDL1oB6aBDd3WtZfux+om oHsm9cFQfmVuUz3v48SmuFmsBuofnOjw1JiO5rl2alS5dIsWn2ZX/dQRnvIYxQhjtD+L VbR3kpHv0qFNML34se92tjlye77M22JV+hKS4= 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=bHISs3cGdKFteKTVjJS/zfy12mDgJn5RufNp6pLlEe09W7/dA+cjt9eF6MrCplHVnQ i01nhpOAKC0yEO9pnzdXVpM4kpkv2XcY9jbbNI3/hkRm+idZLFnTPqwAkn2GSkNJVnrx kZV58ld29hdA2Nwz2gTsVsUqKkJ688a0YO5N4= Received: by 161.129.204.104 with SMTP id l6mr13979988eba.185.1228225152228; Tue, 02 Dec 2008 05:39:12 -0800 (PST) Received: from ?161.129.204.104? ([161.129.204.104]) by mx.google.com with ESMTPS id 20sm8533534eyk.59.2161.129.204.104.39.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 02 Dec 2008 05:39:11 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 02 Dec 2008 14:39:10 +0100 From: =?ISO-8859-1?Q?Thorbj=F8rn_Ravn_Andersen?= <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20081105) MIME-Version: 1.0 To: Log4J Users List <[email protected]> Subject: Re: SocketHubAppender can not bind on Solaris? References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org AJ Weber skrev den 02-12-2008 14:08: > I used netstat to check if the port was in-use. Then I attempted to > connect to that port via telnet (with the port number). No response. > But when I start the SocketHubAppender it gets the address already in > use error. What exactly does "No response" mean? To ensure stuff works you need a "Connection refused" response to the telnet. -- Thorbjørn Ravn Andersen "...plus... Tubular Bells!" --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Dec 03 19:13:32 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8656 invoked from network); 3 Dec 2008 19:13:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Dec 2008 19:13:32 -0000 Received: (qmail 38692 invoked by uid 500); 3 Dec 2008 19:13:38 -0000 Delivered-To: [email protected] Received: (qmail 38664 invoked by uid 500); 3 Dec 2008 19:13:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 38653 invoked by uid 99); 3 Dec 2008 19:13:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2008 11:13:38 -0800 X-ASF-Spam-Status: No, hits=-1.8 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mailgw3.ericsson.se) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2008 19:12:07 +0000 Received: from mailgw3.ericsson.se (unknown [161.129.204.104]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id 6AB4E20629 for <[email protected]>; Wed, 3 Dec 2008 20:12:23 +0100 (CET) X-AuditID: c1b4fb3c-abf5abb00000304c-d6-4936da170fe6 Received: from esealmw129.eemea.ericsson.se (unknown [161.129.204.104]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id 4217520474 for <[email protected]>; Wed, 3 Dec 2008 20:12:23 +0100 (CET) Received: from EITRMMW021.eemea.ericsson.se ([161.129.204.104]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC+1-218-282-5572); Wed, 3 Dec 2008 20:12:22 +0100 x-mimeole: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C9557B.119195BA" Subject: SMTPAppender Date: Wed, 3 Dec 2008 20:12:21 +0100 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: SMTPAppender Thread-Index: AclVegQfTHtvJsIvS2uqNvn0NedsoAAAQQpw From: "Massimo Quagliani" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 03 Dec 2008 19:12:22.0958 (UTC) FILETIME=[12169CE0:01C9557B] X-Brightmail-Tracker: AAAAAA== X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C9557B.119195BA Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable > Hi,=20 > I have the following problem using SMTPAppender, > Actually the email does not arrive to the mailbox and I got the > following error: >=20 > log4j:ERROR Error occured while sending e-mail notification. > javax.mail.MessagingException: Could not connect to SMTP host: > smtp.gmail.com, port: 25; > nested exception is: > java.net.ConnectException: Connection timed out: connect >=20 > The log4j.properties contains: >=20 > log4j.rootCategory=3Dinfo, dest1, dest3, email >=20 > # Email appender > log4j.appender.email=3Dorg.apache.log4j.net.SMTPAppender > log4j.appender.email.BufferSize=3D25 > log4j.appender.email.SMTPHost=3Dsmtp.gmail.com > log4j.appender.email.SMTPUsername=3D<valid_username> > log4j.appender.email.SMTPPassword=3D<valid_password> > [email protected] > [email protected] > log4j.appender.email.Subject=3DError > log4j.appender.email.layout=3Dorg.apache.log4j.PatternLayout > log4j.appender.email.layout.ConversionPattern=3D %d{DATE} %-5p %m - > %c{3} [%t] [%r ms]%n%n > log4j.appender.email.threshold=3DERROR >=20 >=20 > I am using eclipse on my PC for this try.=20 > Please could you help me to find the solution to this nasty problem? > Thanks in advance, below is the complete stack trace >=20 >=20 > 2008-12-03 18:23:38,296 ERROR [http-8080-1] : This is a > try! > log4j:ERROR Error occured while sending e-mail notification. > javax.mail.MessagingException: Could not connect to SMTP host: > smtp.gmail.com, port: 25; > nested exception is: > java.net.ConnectException: Connection timed out: connect > at > com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391) > at > com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:412 > ) > at javax.mail.Service.connect(Service.java:310) > at javax.mail.Service.connect(Service.java:169) > at javax.mail.Service.connect(Service.java:118) > at javax.mail.Transport.send0(Transport.java:188) > at javax.mail.Transport.send(Transport.java:118) > at > org.apache.log4j.net.SMTPAppender.sendBuffer(SMTPAppender.java:330) > at > org.apache.log4j.net.SMTPAppender.append(SMTPAppender.java:215) > at > org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251) > at > org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders( > AppenderAttachableImpl.java:66) > at org.apache.log4j.Category.callAppenders(Category.java:206) > at org.apache.log4j.Category.forcedLog(Category.java:391) > at org.apache.log4j.Category.error(Category.java:305) > at servlet.Log4jServlet.doGet(Log4jServlet.java:80) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli > cationFilterChain.java:290) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi > lterChain.java:206) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa > lve.java:233) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa > lve.java:175) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja > va:128) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja > va:102) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv > e.java:109) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java > :286) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: > 844) > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces > s(Http11Protocol.java:583) > at > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447 > ) > at java.lang.Thread.run(Unknown Source) > Caused by: java.net.ConnectException: Connection timed out: connect > at java.net.PlainSocketImpl.socketConnect(Native Method) > at java.net.PlainSocketImpl.doConnect(Unknown Source) > at java.net.PlainSocketImpl.connectToAddress(Unknown Source) > at java.net.PlainSocketImpl.connect(Unknown Source) > at java.net.SocksSocketImpl.connect(Unknown Source) > at java.net.Socket.connect(Unknown Source) > at java.net.Socket.connect(Unknown Source) > at > com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:233) > at > com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189) > at > com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1359) > ... 28 more ------_=_NextPart_001_01C9557B.119195BA-- From [email protected] Wed Dec 03 19:27:16 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13365 invoked from network); 3 Dec 2008 19:27:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Dec 2008 19:27:16 -0000 Received: (qmail 64412 invoked by uid 500); 3 Dec 2008 19:27:25 -0000 Delivered-To: [email protected] Received: (qmail 64394 invoked by uid 500); 3 Dec 2008 19:27:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 64383 invoked by uid 99); 3 Dec 2008 19:27:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2008 11:27:25 -0800 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO outbound-mail-102.bluehost.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 03 Dec 2008 19:25:54 +0000 Received: (qmail 4111 invoked by uid 0); 3 Dec 2008 19:25:38 -0000 Received: from unknown (HELO host111.hostmonster.com) (161.129.204.104) by outboundproxy3.bluehost.com with SMTP; 3 Dec 2008 19:25:38 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=asidejob.com; h=Received:Received:Message-ID:Date:From:To:Subject:References:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:User-Agent:X-Identified-User; b=RIzHfF2faEsgZUQzcS5eB+XsDG85RV/Lkz4bMDmAu0nbXHxV06FEDVnSLR62EaO0oTAt09225rfZss+Y1JkJjR8uZ6vlTURo7eUM2qGUdfAwULOzCMA5NgKZT17Qmlr2; Received: from localhost ([161.129.204.104]) by host111.hostmonster.com with esmtpa (Exim 4.69) (envelope-from <[email protected]>) id 1L7xLt-0007Bw-UC for [email protected]; Wed, 03 Dec 2008 12:25:37 -0700 Received: from 161.129.204.104 ([161.129.204.104]) by asidejob.com (Horde MIME library) with HTTP; Wed, 03 Dec 2008 11:25:37 -0800 Message-ID: <[email protected]> Date: Wed, 03 Dec 2008 11:25:37 -0800 From: Joe White <[email protected]> To: [email protected] Subject: Re: SMTPAppender References: <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_4weyu3jpjpkh" Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.6) X-Identified-User: {0:host111.hostmonster.com:root:host111.hostmonster.com} {sentby:program running on server} X-Virus-Checked: Checked by ClamAV on apache.org --=_4weyu3jpjpkh Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Description: Plaintext Version of Message Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Gmail SMTP server requires TLS and it does not use the default port of 25= . According to this link: http://mail.google.com/support/bin/answer.py?hl=3Den&answer=3D13287 You must use port 456 or 587 for SMTP. However, port is not an option YET in the latest release. (unless =20 1.2.16 has been release) Here is what Curt replied with. " log4j.appender.YOURAPPENDERNAME.smtpUsername=3DUSERNAME log4j.appender.YOURAPPENDERNAME.smtpPassword=3DPASSWORD log4j.appender.YOURAPPENDERNAME.smtpPort=3DPORT Port is in the current source, but not in the last release.=A0 We need =20 to cut a log4j 1.2.16 soon. " Quoting Massimo Quagliani <[email protected]>: >> Hi, >> I have the following problem using SMTPAppender, >> Actually the email does not arrive to the mailbox and I got the >> following error: >> >> log4j:ERROR Error occured while sending e-mail notification. >> javax.mail.MessagingException: Could not connect to SMTP host: >> smtp.gmail.com, port: 25; >> =A0 =A0nested exception is: >> =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: connect >> >> The log4j.properties contains: >> >> log4j.rootCategory=3Dinfo, dest1, dest3, email >> >> # Email appender >> log4j.appender.email=3Dorg.apache.log4j.net.SMTPAppender >> log4j.appender.email.BufferSize=3D25 >> log4j.appender.email.SMTPHost=3Dsmtp.gmail.com >> log4j.appender.email.SMTPUsername=3D<valid_username> >> log4j.appender.email.SMTPPassword=3D<valid_password> >> [email protected] >> [email protected] >> log4j.appender.email.Subject=3DError >> log4j.appender.email.layout=3Dorg.apache.log4j.PatternLayout >> log4j.appender.email.layout.ConversionPattern=3D=A0 =A0 %d{DATE} %-5p %m = - >> %c{3} [%t] [%r ms]%n%n >> log4j.appender.email.threshold=3DERROR >> >> >> I am using eclipse on my PC for this try. >> Please could you help me to find the solution to this nasty problem? >> Thanks in advance, below is the complete stack trace >> >> >> 2008-12-03 18:23:38,296 ERROR [http-8080-1]=A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 : This is a >> try! >> log4j:ERROR Error occured while sending e-mail notification. >> javax.mail.MessagingException: Could not connect to SMTP host: >> smtp.gmail.com, port: 25; >> =A0 =A0nested exception is: >> =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: connect >> =A0 =A0 =A0 =A0 at >> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391) >> =A0 =A0 =A0 =A0 at >> com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:412 >> ) >> =A0 =A0 =A0 [email protected](Service.java:310) >> =A0 =A0 =A0 [email protected](Service.java:169) >> =A0 =A0 =A0 [email protected](Service.java:118) >> =A0 =A0 =A0 [email protected](Transport.java:188) >> =A0 =A0 =A0 [email protected](Transport.java:118) >> =A0 =A0 =A0 =A0 at >> org.apache.log4j.net.SMTPAppender.sendBuffer(SMTPAppender.java:330) >> =A0 =A0 =A0 =A0 at >> org.apache.log4j.net.SMTPAppender.append(SMTPAppender.java:215) >> =A0 =A0 =A0 =A0 at >> org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251) >> =A0 =A0 =A0 =A0 at >> org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders( >> AppenderAttachableImpl.java:66) >> =A0 =A0 =A0 [email protected](Category.java:= 206) >> =A0 =A0 =A0 [email protected](Category.java:391) >> =A0 =A0 =A0 [email protected](Category.java:305) >> =A0 =A0 =A0 [email protected](Log4jServlet.java:80) >> =A0 =A0 =A0 [email protected](HttpServlet.jav= a:690) >> =A0 =A0 =A0 [email protected](HttpServlet.jav= a:803) >> =A0 =A0 =A0 =A0 at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli >> cationFilterChain.java:290) >> =A0 =A0 =A0 =A0 at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi >> lterChain.java:206) >> =A0 =A0 =A0 =A0 at >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa >> lve.java:233) >> =A0 =A0 =A0 =A0 at >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa >> lve.java:175) >> =A0 =A0 =A0 =A0 at >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja >> va:128) >> =A0 =A0 =A0 =A0 at >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja >> va:102) >> =A0 =A0 =A0 =A0 at >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv >> e.java:109) >> =A0 =A0 =A0 =A0 at >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java >> :286) >> =A0 =A0 =A0 =A0 at >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: >> 844) >> =A0 =A0 =A0 =A0 at >> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces >> s(Http11Protocol.java:583) >> =A0 =A0 =A0 =A0 at >> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447 >> ) >> =A0 =A0 =A0 [email protected](Unknown Source) >> Caused by: java.net.ConnectException: Connection timed out: connect >> =A0 =A0 =A0 [email protected](Native Method) >> =A0 =A0 =A0 [email protected](Unknown Source) >> =A0 =A0 =A0 [email protected](Unknown Sour= ce) >> =A0 =A0 =A0 [email protected](Unknown Source) >> =A0 =A0 =A0 [email protected](Unknown Source) >> =A0 =A0 =A0 [email protected](Unknown Source) >> =A0 =A0 =A0 [email protected](Unknown Source) >> =A0 =A0 =A0 =A0 at >> com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:233) >> =A0 =A0 =A0 =A0 at >> com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189) >> =A0 =A0 =A0 =A0 at >> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1359) >> =A0 =A0 =A0 =A0 ... 28 more > -- "We are what we repeatedly do. Excellence, then, is not an act, but a habit.= " Aristotle --=_4weyu3jpjpkh-- From [email protected] Thu Dec 04 10:09:45 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95813 invoked from network); 4 Dec 2008 10:09:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Dec 2008 10:09:45 -0000 Received: (qmail 82292 invoked by uid 500); 4 Dec 2008 10:09:50 -0000 Delivered-To: [email protected] Received: (qmail 82263 invoked by uid 500); 4 Dec 2008 10:09:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 82252 invoked by uid 99); 4 Dec 2008 10:09:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 02:09:50 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mailgw4.ericsson.se) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 10:08:19 +0000 Received: from mailgw4.ericsson.se (unknown [161.129.204.104]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id 6669C22835 for <[email protected]>; Thu, 4 Dec 2008 11:09:05 +0100 (CET) X-AuditID: c1b4fb3e-aaf7ebb00000537b-ec-4937ac418bfe Received: from esealmw129.eemea.ericsson.se (unknown [161.129.204.104]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id 211EF22847 for <[email protected]>; Thu, 4 Dec 2008 11:09:05 +0100 (CET) Received: from EITRMMW021.eemea.ericsson.se ([161.129.204.104]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC+1-218-282-5572); Thu, 4 Dec 2008 11:09:04 +0100 x-mimeole: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: SMTPAppender Date: Thu, 4 Dec 2008 11:09:01 +0100 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: SMTPAppender Thread-Index: AclVfSidBTELeHuvR5628VEynY1FWQAbNBfw References: <[email protected]> <[email protected]> From: "Massimo Quagliani" <[email protected]> To: "Log4J Users List" <[email protected]> X-OriginalArrivalTime: 04 Dec 2008 10:09:04.0279 (UTC) FILETIME=[562CB270:01C955F8] X-Brightmail-Tracker: AAAAAA== X-Virus-Checked: Checked by ClamAV on apache.org Thanks, But I changed my log4j.properties file using another SMTP host,=20 which, according to this link=20 http://www.velociraptus.com/internet/articoli_d.php?particoloID=3D27 uses port 25 for SMTP (it is in italian but in the table it is clear the = port is 25). The error is still there... Please help!! /Massimo # Email appender log4j.appender.email=3Dorg.apache.log4j.net.SMTPAppender log4j.appender.email.BufferSize=3D25 log4j.appender.email.SMTPHost=3Dmail.libero.it log4j.appender.email.SMTPUsername=3D<valid_username> log4j.appender.email.SMTPPassword=3D<valid_password> [email protected] [email protected] log4j.appender.email.Subject=3DError log4j.appender.email.layout=3Dorg.apache.log4j.PatternLayout log4j.appender.email.layout.ConversionPattern=3D %d{DATE} %-5p %m - = %c{3} [%t] [%r ms]%n%n log4j.appender.email.threshold=3DERROR The stack trace is the same... 2008-12-04 09:28:17,515 ERROR [http-8080-2] : This is a = try! log4j:ERROR Error occured while sending e-mail notification. javax.mail.MessagingException: Could not connect to SMTP host: = mail.libero.it, port: 25; nested exception is: java.net.ConnectException: Connection timed out: connect at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391) at = com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:412) at javax.mail.Service.connect(Service.java:310) at javax.mail.Service.connect(Service.java:169) at javax.mail.Service.connect(Service.java:118) at javax.mail.Transport.send0(Transport.java:188) at javax.mail.Transport.send(Transport.java:118) at org.apache.log4j.net.SMTPAppender.sendBuffer(SMTPAppender.java:330) at org.apache.log4j.net.SMTPAppender.append(SMTPAppender.java:215) at = org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251) at = org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(App= enderAttachableImpl.java:66) at org.apache.log4j.Category.callAppenders(Category.java:206) at org.apache.log4j.Category.forcedLog(Category.java:391) at org.apache.log4j.Category.error(Category.java:305) at servlet.Log4jServlet.doGet(Log4jServlet.java:80) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at = org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat= ionFilterChain.java:290) at = org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte= rChain.java:206) at = org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve= .java:233) at = org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve= .java:175) at = org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:= 128) at = org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:= 102) at = org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.j= ava:109) at = org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:28= 6) at = org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844= ) at = org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(H= ttp11Protocol.java:583) at = org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Unknown Source) Caused by: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:233) at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189) at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1359) ... 28 more -----Original Message----- From: Joe White [mailto:[email protected]]=20 Sent: mercoled=EC 3 dicembre 2008 20.26 To: [email protected] Subject: Re: SMTPAppender Gmail SMTP server requires TLS and it does not use the default port = of 25. According to this link: http://mail.google.com/support/bin/answer.py?hl=3Den&answer=3D13287 You must use port 456 or 587 for SMTP. However, port is not an option YET in the latest release. (unless 1.2.16 has been release) Here is what Curt replied with. " log4j.appender.YOURAPPENDERNAME.smtpUsername=3DUSERNAME log4j.appender.YOURAPPENDERNAME.smtpPassword=3DPASSWORD log4j.appender.YOURAPPENDERNAME.smtpPort=3DPORT Port is in the current source, but not in the last release.=A0 We need = to cut a log4j 1.2.16 soon. " Quoting Massimo Quagliani <[email protected]>: >> Hi, >> I have the following problem using SMTPAppender, Actually the email=20 >> does not arrive to the mailbox and I got the following error: >> >> log4j:ERROR Error occured while sending e-mail notification. >> javax.mail.MessagingException: Could not connect to SMTP host: >> smtp.gmail.com, port: 25; >> =A0 =A0nested exception is: >> =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: = connect >> >> The log4j.properties contains: >> >> log4j.rootCategory=3Dinfo, dest1, dest3, email >> >> # Email appender >> log4j.appender.email=3Dorg.apache.log4j.net.SMTPAppender >> log4j.appender.email.BufferSize=3D25 >> log4j.appender.email.SMTPHost=3Dsmtp.gmail.com >> log4j.appender.email.SMTPUsername=3D<valid_username> >> log4j.appender.email.SMTPPassword=3D<valid_password> >> [email protected] >> [email protected] >> log4j.appender.email.Subject=3DError >> log4j.appender.email.layout=3Dorg.apache.log4j.PatternLayout >> log4j.appender.email.layout.ConversionPattern=3D=A0 =A0 %d{DATE} %-5p = %m -=20 >> %c{3} [%t] [%r ms]%n%n log4j.appender.email.threshold=3DERROR >> >> >> I am using eclipse on my PC for this try. >> Please could you help me to find the solution to this nasty problem? >> Thanks in advance, below is the complete stack trace >> >> >> 2008-12-03 18:23:38,296 ERROR [http-8080-1]=A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 : This is=20 >> a try! >> log4j:ERROR Error occured while sending e-mail notification. >> javax.mail.MessagingException: Could not connect to SMTP host: >> smtp.gmail.com, port: 25; >> =A0 =A0nested exception is: >> =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: = connect >> =A0 =A0 =A0 =A0 at >> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391) >> =A0 =A0 =A0 =A0 at >> com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:41 >> 2 >> ) >> =A0 =A0 =A0 [email protected](Service.java:310) >> =A0 =A0 =A0 [email protected](Service.java:169) >> =A0 =A0 =A0 [email protected](Service.java:118) >> =A0 =A0 =A0 [email protected](Transport.java:188) >> =A0 =A0 =A0 [email protected](Transport.java:118) >> =A0 =A0 =A0 =A0 at >> org.apache.log4j.net.SMTPAppender.sendBuffer(SMTPAppender.java:330) >> =A0 =A0 =A0 =A0 at >> org.apache.log4j.net.SMTPAppender.append(SMTPAppender.java:215) >> =A0 =A0 =A0 =A0 at >> org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251) >> =A0 =A0 =A0 =A0 at >> org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders >> ( >> AppenderAttachableImpl.java:66) >> =A0 =A0 =A0 =A0 at = org.apache.log4j.Category.callAppenders(Category.java:206) >> =A0 =A0 =A0 =A0 at = org.apache.log4j.Category.forcedLog(Category.java:391) >> =A0 =A0 =A0 [email protected](Category.java:305) >> =A0 =A0 =A0 [email protected](Log4jServlet.java:80) >> =A0 =A0 =A0 =A0 at=20 >> javax.servlet.http.HttpServlet.service(HttpServlet.java:690) >> =A0 =A0 =A0 =A0 at=20 >> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) >> =A0 =A0 =A0 =A0 at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl >> i >> cationFilterChain.java:290) >> =A0 =A0 =A0 =A0 at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF >> i >> lterChain.java:206) >> =A0 =A0 =A0 =A0 at >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV >> a >> lve.java:233) >> =A0 =A0 =A0 =A0 at >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextV >> a >> lve.java:175) >> =A0 =A0 =A0 =A0 at >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j >> a >> va:128) >> =A0 =A0 =A0 =A0 at >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j >> a >> va:102) >> =A0 =A0 =A0 =A0 at >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal >> v >> e.java:109) >> =A0 =A0 =A0 =A0 at >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav >> a >> :286) >> =A0 =A0 =A0 =A0 at >> = org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: >> 844) >> =A0 =A0 =A0 =A0 at >> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce >> s >> s(Http11Protocol.java:583) >> =A0 =A0 =A0 =A0 at >> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 >> 7 >> ) >> =A0 =A0 =A0 [email protected](Unknown Source) Caused by:=20 >> java.net.ConnectException: Connection timed out: connect >> =A0 =A0 =A0 [email protected](Native = Method) >> =A0 =A0 =A0 [email protected](Unknown Source) >> =A0 =A0 =A0 [email protected](Unknown = Source) >> =A0 =A0 =A0 [email protected](Unknown Source) >> =A0 =A0 =A0 [email protected](Unknown Source) >> =A0 =A0 =A0 [email protected](Unknown Source) >> =A0 =A0 =A0 [email protected](Unknown Source) >> =A0 =A0 =A0 =A0 at >> com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:233) >> =A0 =A0 =A0 =A0 at >> com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189) >> =A0 =A0 =A0 =A0 at >> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1359) >> =A0 =A0 =A0 =A0 ... 28 more > -- "We are what we repeatedly do. Excellence, then, is not an act, but a = habit." Aristotle --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Dec 04 15:53:21 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97637 invoked from network); 4 Dec 2008 15:53:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Dec 2008 15:53:21 -0000 Received: (qmail 87436 invoked by uid 500); 4 Dec 2008 15:53:30 -0000 Delivered-To: [email protected] Received: (qmail 87417 invoked by uid 500); 4 Dec 2008 15:53:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 87406 invoked by uid 99); 4 Dec 2008 15:53:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 07:53:29 -0800 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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO fg-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 15:52:00 +0000 Received: by fg-out-1718.google.com with SMTP id d23so3627612fga.14 for <[email protected]>; Thu, 04 Dec 2008 07:52:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=tdR5tiKfgg7TH+e5doHeasdURO2WQGFV2jW+hTQ8W0A=; b=ASNkPxbx2pH0ZKB0M4sIgBMcmQ1Ayp5HXylaf5EHnDL6l3h2LW8q2zEy+BxWkbpjWz RBVQnqC/k8Q6J6ZC60GUF9jAZ5JqV8tXG6y00rY0F/PV3ievovZl5bW3e1wigcBpgFW2 BYLEwmpgkag7+L3sW+SeOfKdTrJoGmXzYdMMc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=aELzjrsKA4Rwp/RIQy3+DroqxW4ZI3ndcYmr+V5DqStsr7tLliGpB56FwIIDZT6hXi WHCQ+2QB7+BVveAMzzI9o0nrtG7NI0oKW8wQyS6FOuLReX83IgrIPsTGG6jmQJ5x8Xw0 XsK6LnD/V1GNbSCbIGTQybav2eQBVcvWHrkig= Received: by 161.129.204.104 with SMTP id n7mr5077206bki.50.1228405956821; Thu, 04 Dec 2008 07:52:36 -0800 (PST) Received: by 161.129.204.104 with HTTP; Thu, 4 Dec 2008 07:52:36 -0800 (PST) Message-ID: <[email protected]> Date: Thu, 4 Dec 2008 16:52:36 +0100 From: "Maarten Bosteels" <[email protected]> To: "Log4J Users List" <[email protected]> Subject: Re: log4j adopting SLF4J? [Was: Repository selectors, useful?] In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_28745_29428082.1228405956804" References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_28745_29428082.1228405956804 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Content-Disposition: inline KzEgZm9yIGxvZzRqIGFkb3B0aW5nIFNMRjRKIEFQSQoKTWFhcnRlbgoKT24gTW9uLCBEZWMgMSwg MjAwOCBhdCAxOjM2IFBNLCBDZWtpIEd1bGN1IDxjZWtpQHFvcy5jaD4gd3JvdGU6Cgo+Cj4KPiBK YWNvYiBLam9tZSB3cm90ZToKPgo+ID4gQ2VraSBHdWxjdSB3cm90ZToKPiA+PiBJdCBzaG91bGQg bm90IGJlIGRpZmZpY3VsdCB0byB3cml0ZSBhIFNMRjRKIGJpbmRpbmcgZm9yIGxvZzRqIHdoaWNo Cj4gPj4gc3VwcG9ydHMgcmVwb3NpdG9yeSBzZWxlY3RvcnMuCj4gPj4KPiA+IC4uLndoaWNoIHdv dWxkIHJlcXVpcmUgTG9nNGogdG8gZGlyZWN0bHkgaW1wbGVtZW50IHRoZSBTTEY0SiBpbnRlcmZh Y2VzLAo+IG5vPwo+ID4gRG91YnRmdWwgZm9yIDEuMi54eC4KPgo+IElmIHRoZXJlIGlzIHN1cHBv cnQgZm9yIHRoaXMgaWRlYSwgaXQgY2FuIGJlIGltcGxlbWVudGVkIHdpdGggcmVsYXRpdmUKPiBl YXNlLiBUaGUgbG9nNGogdmVyc2lvbiBjYW4gYmUgY2FsbGVkIDEuMywgMS40IG9yIGV2ZW4gMi4w LiBUaGUKPiBkaWZmaWN1bHQgcGFydCBpcyByZWFjaGluZyBhZ3JlZW1lbnQgYW1vbmcgdGhlIGxv ZzRqIGNvbW1pdHRlcnMuIEkKPiB0aGluayBpZiBsb2c0aiBpbXBsZW1lbnRlZCBTTEY0SiwgdGhp cyB3b3VsZCBoYXZlIGEgdmVyeSBwb3NpdGl2ZQo+IHVuaWZ5aW5nIGVmZmVjdCBvbiBsb2dnaW5n IGluIHRoZSBKYXZhIHdvcmxkLiBPYnZpb3VzbHksIEkgYW0gd2lsbGluZwo+IHRvIGRvIHRoZSB3 b3JrLgo+Cj4gQXMgeW91IGFyZSBwcm9iYWJseSBhd2FyZSwgbW9yZSBhbmQgbW9yZSBwcm9qZWN0 cyBhcmUgYWRvcHRpbmcgdGhlCj4gU0xGNEogQVBJLiAgSSB3b3VsZCB2ZW50dXJlIHNheSB0aGF0 IFNMRjRKJ3MgYWRvcHRpb24gcmF0ZSBpcyByb3VnaGx5Cj4gZXF1aXZhbGVudCB0byB0aGF0IG9m IGxvZzRqIGl0c2VsZi4KPgo+IFJlY2VudGx5LCBKc3B3aWtpIGRlY2lkZWQgdG8gYWRvcHQgdGhl IFNMRjRKIEFQSSBmb3IgaXRzIGxvZ2dpbmcuIFNlZQo+Cj4gIGh0dHBzOi8vaXNzdWVzLmFwYWNo ZS5vcmcvamlyYS9icm93c2UvSlNQV0lLSS0zNzYKPgo+IEhhcnJ5IE1ldHNrZSBzeW50aGVzaXpl ZCB2YXJpb3VzIGxvZ2dpbmcgcGF0aHMgaW4gSlNQV2lraQo+Cj4gIGh0dHBzOi8vaXNzdWVzLmFw YWNoZS5vcmcvamlyYS9zZWN1cmUvYXR0YWNobWVudC8xMjM5NDE4OC9qc3B3aWtpLWxvZy5vZHAK Pgo+IEkgd2FzIHRha2VuIGFiYWNrIGJ5IHRoZSBwaWN0dXJlIGhlIHBhaW50cy4gSSB0aGluayB3 ZSBvd2UgaXQgdG8KPiBKYXZhIGRldmVsb3BlcnMgdG8gcHJvcG9zZSBhIHNhbmVyIGxvZ2dpbmcg bW9kZWwuCj4KPiBPYnZpb3VzbHksIHRoZSBhZG9wdGlvbiBvZiB0aGUgU0xGNEogQVBJIGJ5IGxv ZzRqIHdpbGwgYmUgYnJlYWsgMTAwJQo+IGNvbXBhdGliaWxpdHkuIE1vcmUgcHJlY2lzZWx5LCBs b2dnaW5nIHN0YXRlbWVudHMgcGFzc2luZyBvYmplY3RzIGFzCj4gbWVzc2FnZXMgd2lsbCBuZWVk IHRvIGJlIGNvbnZlcnRlZCB0byBzdHJpbmdzLiBHaXZlbiB0aGF0IHRoZXJlIGFyZQo+IGNvbXBh cmF0aXZlbHkgdmVyeSBmZXcgbG9nIHN0YXRlbWVudHMgdXNpbmcgT2JqZWN0IGluc3RlYWQgb2Yg U3RyaW5nLAo+IGluIG15IGV4cGVyaWVuY2UsIGl0IHRha2VzIGhhbGYgYW4gaG91ciB0byBjb252 ZXJ0IGV2ZW4gdGhlIGxhcmdlc3QKPiBwcm9qZWN0cy4KPgo+IFRoZSBjaG9pY2UgaXMgYmV0d2Vl biBwcmVzZXJ2aW5nIDEwMCUgY29tcGF0aWJpbGl0eSBidXQgZm9yY2UgcHJvamVjdHMKPiB0byBk ZWFsIHdpdGggc2V2ZXJhbCBsb2dnaW5nIGxpYnJhcmllcyBvciB0byBicmVhayAxMDAlIGNvbXBh dGliaWxpdHkKPiBmb3IgYnV0IG9mZmVyIGEgc2FuZXIgYW5kICBtb3JlIHVuaWZpZWQgbW9kZWwu Cj4KPgo+IC0tCj4gQ2VraSBHw7xsY8O8Cj4gTG9nYmFjazogVGhlIHJlbGlhYmxlLCBnZW5lcmlj LCBmYXN0IGFuZCBmbGV4aWJsZSBsb2dnaW5nIGZyYW1ld29yayBmb3IKPiBKYXZhLgo+IGh0dHA6 Ly9sb2diYWNrLnFvcy5jaAo+Cj4gLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tCj4gVG8gdW5zdWJzY3JpYmUsIGUtbWFp bDogbG9nNGotdXNlci11bnN1YnNjcmliZUBsb2dnaW5nLmFwYWNoZS5vcmcKPiBGb3IgYWRkaXRp b25hbCBjb21tYW5kcywgZS1tYWlsOiBsb2c0ai11c2VyLWhlbHBAbG9nZ2luZy5hcGFjaGUub3Jn Cj4KPgo= ------=_Part_28745_29428082.1228405956804-- From [email protected] Thu Dec 04 16:09:58 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8648 invoked from network); 4 Dec 2008 16:09:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Dec 2008 16:09:58 -0000 Received: (qmail 23824 invoked by uid 500); 4 Dec 2008 16:10:08 -0000 Delivered-To: [email protected] Received: (qmail 23647 invoked by uid 500); 4 Dec 2008 16:10:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 23636 invoked by uid 99); 4 Dec 2008 16:10:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 08:10:07 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO kirsi1.inet.fi) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 16:08:36 +0000 Received: from ichaos.ichaos-int (161.129.204.104) by kirsi1.inet.fi (8.5.014) id 48FC5AC9021194E3 for [email protected]; Thu, 4 Dec 2008 18:06:12 +0200 Received: from [161.129.204.104] (chaos.ichaos-int [161.129.204.104]) by ichaos.ichaos-int (Postfix) with ESMTP id 254C8687D for <[email protected]>; Thu, 4 Dec 2008 18:06:12 +0200 (EET) Message-ID: <[email protected]> Date: Thu, 04 Dec 2008 18:06:12 +0200 From: Juha Laiho <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:161.129.204.104) Gecko/20080914 Thunderbird/161.129.204.104 Mnenhy/161.129.204.1046 MIME-Version: 1.0 To: Log4J Users List <[email protected]> Subject: Re: initialize the log4j system properly References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 081203-0, 03.12.2008), Outbound message X-Antivirus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org Dipocse wrote: > I've a database (PRJ) and I'm trying to connect from Asterisk server to that > database. In the shell script i used a log4j-1.2.11.jar with all others jar > files. ... > when i run the above shell script (./runagi.sh). It shows me the following > warnings........ > > > Warning: > > > > log4j:WARN No appenders could be found for logger > =(net.sf.hibernate.cfg.Environment) > > > > log4j:WARN Please initialize the log4j system properly > > would anyone tell me how can i solve it? Log4j cannot find its configuration file anywhere on the provided classpath. Create a configuration file, and either explicitly tell Log4j about it (via log4j.configuration system property), or place it in a directory contained in the classpath. Details in the docs: http://logging.apache.org/log4j/1.2/manual.html -- ..Juha --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Dec 04 16:46:27 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28543 invoked from network); 4 Dec 2008 16:46:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Dec 2008 16:46:27 -0000 Received: (qmail 96357 invoked by uid 500); 4 Dec 2008 16:46:37 -0000 Delivered-To: [email protected] Received: (qmail 96108 invoked by uid 500); 4 Dec 2008 16:46:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 96097 invoked by uid 99); 4 Dec 2008 16:46:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 08:46:36 -0800 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO outbound-mail-307.bluehost.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 04 Dec 2008 16:45:05 +0000 Received: (qmail 10327 invoked by uid 0); 4 Dec 2008 16:43:23 -0000 Received: from unknown (HELO host111.hostmonster.com) (161.129.204.104) by outboundproxy6.bluehost.com with SMTP; 4 Dec 2008 16:43:23 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=asidejob.com; h=Received:Received:Message-ID:Date:From:To:Subject:References:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:User-Agent:X-Identified-User; b=o/yXrmtcdysDc0kst/Nhqh/tmpeY7OzhgTBqdRAGyBEqPUrk61xhTH+oKLPsqdHrwgBaHw93lrBeyl7gjMJoFmC/7zit0jGni7RnUl7p6HopSk0Zc29xl9f6s21zbp+o; Received: from localhost ([161.129.204.104]) by host111.hostmonster.com with esmtpa (Exim 4.69) (envelope-from <[email protected]>) id 1L8HJq-0003BG-Np for [email protected]; Thu, 04 Dec 2008 09:44:50 -0700 Received: from 161.129.204.104 ([161.129.204.104]) by asidejob.com (Horde MIME library) with HTTP; Thu, 04 Dec 2008 08:44:50 -0800 Message-ID: <[email protected]> Date: Thu, 04 Dec 2008 08:44:50 -0800 From: Joe White <[email protected]> To: [email protected] Subject: RE: SMTPAppender References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_2xl68o1x74si" Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.6) X-Identified-User: {0:host111.hostmonster.com:root:host111.hostmonster.com} {sentby:program running on server} X-Virus-Checked: Checked by ClamAV on apache.org --=_2xl68o1x74si Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Description: Plaintext Version of Message Content-Disposition: inline Content-Transfer-Encoding: quoted-printable The error is clear in the stacktrace. =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: connect =A0 =A0 =A0 [email protected](SMTPTransport.= java:1391) I do not think it's log4j related.. Can you make the connection on your box via telnet or some other =20 type of email program ? Quoting Massimo Quagliani <[email protected]>: > Thanks, > > But I changed my log4j.properties file using another SMTP host, > which, according to this link > http://www.velociraptus.com/internet/articoli_d.php?particoloID=3D27 > uses port 25 for SMTP (it is in italian but in the table it is =20 > clear=A0 the port is 25). > The error is still there... > Please help!! > > /Massimo > > > # Email appender > log4j.appender.email=3Dorg.apache.log4j.net.SMTPAppender > log4j.appender.email.BufferSize=3D25 > log4j.appender.email.SMTPHost=3Dmail.libero.it > log4j.appender.email.SMTPUsername=3D<valid_username> > log4j.appender.email.SMTPPassword=3D<valid_password> > [email protected] > [email protected] > log4j.appender.email.Subject=3DError > log4j.appender.email.layout=3Dorg.apache.log4j.PatternLayout > log4j.appender.email.layout.ConversionPattern=3D=A0 =A0 %d{DATE} %-5p %m = =20 > -=A0 %c{3} [%t] [%r ms]%n%n > log4j.appender.email.threshold=3DERROR > > > The stack trace is the same... > > 2008-12-04 09:28:17,515 ERROR [http-8080-2]=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= : This is a try! > log4j:ERROR Error occured while sending e-mail notification. > javax.mail.MessagingException: Could not connect to SMTP host:=A0 =20 > mail.libero.it, port: 25; > =A0 =A0nested exception is: > =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: connect > =A0 =A0 =A0 =A0 at =20 > com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391) > =A0 =A0 =A0 =A0 at =20 > com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:412) > =A0 =A0 =A0 [email protected](Service.java:310) > =A0 =A0 =A0 [email protected](Service.java:169) > =A0 =A0 =A0 [email protected](Service.java:118) > =A0 =A0 =A0 [email protected](Transport.java:188) > =A0 =A0 =A0 [email protected](Transport.java:118) > =A0 =A0 =A0 =A0 at =20 > org.apache.log4j.net.SMTPAppender.sendBuffer(SMTPAppender.java:330) > =A0 =A0 =A0 [email protected](SMTPAppender.j= ava:215) > =A0 =A0 =A0 =A0 at =20 > org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251) > =A0 =A0 =A0 =A0 at=A0 =20 > org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(Appe= nderAttachableImpl.java:66) > =A0 =A0 =A0 [email protected](Category.java:2= 06) > =A0 =A0 =A0 [email protected](Category.java:391) > =A0 =A0 =A0 [email protected](Category.java:305) > =A0 =A0 =A0 [email protected](Log4jServlet.java:80) > =A0 =A0 =A0 [email protected](HttpServlet.java= :690) > =A0 =A0 =A0 [email protected](HttpServlet.java= :803) > =A0 =A0 =A0 =A0 at=A0 =20 > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati= onFilterChain.java:290) > =A0 =A0 =A0 =A0 at=A0 =20 > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter= Chain.java:206) > =A0 =A0 =A0 =A0 at=A0 =20 > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.= java:233) > =A0 =A0 =A0 =A0 at=A0 =20 > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.= java:175) > =A0 =A0 =A0 =A0 at=A0 =20 > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1= 28) > =A0 =A0 =A0 =A0 at=A0 =20 > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1= 02) > =A0 =A0 =A0 =A0 at=A0 =20 > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.ja= va:109) > =A0 =A0 =A0 =A0 at=A0 =20 > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286= ) > =A0 =A0 =A0 =A0 at=A0 =20 > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) > =A0 =A0 =A0 =A0 at=A0 =20 > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Ht= tp11Protocol.java:583) > =A0 =A0 =A0 =A0 at =20 > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) > =A0 =A0 =A0 [email protected](Unknown Source) > Caused by: java.net.ConnectException: Connection timed out: connect > =A0 =A0 =A0 [email protected](Native Method) > =A0 =A0 =A0 [email protected](Unknown Source) > =A0 =A0 =A0 [email protected](Unknown Sourc= e) > =A0 =A0 =A0 [email protected](Unknown Source) > =A0 =A0 =A0 [email protected](Unknown Source) > =A0 =A0 =A0 [email protected](Unknown Source) > =A0 =A0 =A0 [email protected](Unknown Source) > =A0 =A0 =A0 =A0 at =20 > com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:233) > =A0 =A0 =A0 [email protected](SocketFetcher= .java:189) > =A0 =A0 =A0 =A0 at =20 > com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1359) > =A0 =A0 =A0 =A0 ... 28 more > > > -----Original Message----- > From: Joe White [mailto:[email protected]] > Sent: mercoled=EC 3 dicembre 2008 20.26 > To: [email protected] > Subject: Re: SMTPAppender > > > > =A0 =A0 Gmail SMTP server requires TLS and it does not use the default =20 > port of 25. > > =A0 =A0 According to this link: > > =A0 =A0 http://mail.google.com/support/bin/answer.py?hl=3Den&answer=3D1328= 7 > > =A0 =A0 You must use port 456 or 587 for SMTP. > > =A0 =A0 However, port is not an option YET in the latest release. (unless > 1.2.16 has been release) > > =A0 =A0 Here is what Curt replied with. > > =A0 =A0 " > > =A0 =A0 log4j.appender.YOURAPPENDERNAME.smtpUsername=3DUSERNAME > log4j.appender.YOURAPPENDERNAME.smtpPassword=3DPASSWORD > log4j.appender.YOURAPPENDERNAME.smtpPort=3DPORT > > Port is in the current source, but not in the last release.=A0 We =20 > need=A0 to cut a log4j > 1.2.16 soon. > > =A0 =A0 " > > =A0 =A0 Quoting Massimo Quagliani <[email protected]>: > >>> Hi, >>> I have the following problem using SMTPAppender, Actually the email >>> does not arrive to the mailbox and I got the following error: >>> >>> log4j:ERROR Error occured while sending e-mail notification. >>> javax.mail.MessagingException: Could not connect to SMTP host: >>> smtp.gmail.com, port: 25; >>> =A0 =A0nested exception is: >>> =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: connect >>> >>> The log4j.properties contains: >>> >>> log4j.rootCategory=3Dinfo, dest1, dest3, email >>> >>> # Email appender >>> log4j.appender.email=3Dorg.apache.log4j.net.SMTPAppender >>> log4j.appender.email.BufferSize=3D25 >>> log4j.appender.email.SMTPHost=3Dsmtp.gmail.com >>> log4j.appender.email.SMTPUsername=3D<valid_username> >>> log4j.appender.email.SMTPPassword=3D<valid_password> >>> [email protected] >>> [email protected] >>> log4j.appender.email.Subject=3DError >>> log4j.appender.email.layout=3Dorg.apache.log4j.PatternLayout >>> log4j.appender.email.layout.ConversionPattern=3D=A0 =A0 %d{DATE} %-5p %m= - >>> %c{3} [%t] [%r ms]%n%n log4j.appender.email.threshold=3DERROR >>> >>> >>> I am using eclipse on my PC for this try. >>> Please could you help me to find the solution to this nasty problem? >>> Thanks in advance, below is the complete stack trace >>> >>> >>> 2008-12-03 18:23:38,296 ERROR [http-8080-1]=A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 : This is >>> a try! >>> log4j:ERROR Error occured while sending e-mail notification. >>> javax.mail.MessagingException: Could not connect to SMTP host: >>> smtp.gmail.com, port: 25; >>> =A0 =A0nested exception is: >>> =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: connect >>> =A0 =A0 =A0 =A0 at >>> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391) >>> =A0 =A0 =A0 =A0 at >>> com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:41 >>> 2 >>> ) >>> =A0 =A0 =A0 [email protected](Service.java:310) >>> =A0 =A0 =A0 [email protected](Service.java:169) >>> =A0 =A0 =A0 [email protected](Service.java:118) >>> =A0 =A0 =A0 [email protected](Transport.java:188) >>> =A0 =A0 =A0 [email protected](Transport.java:118) >>> =A0 =A0 =A0 =A0 at >>> org.apache.log4j.net.SMTPAppender.sendBuffer(SMTPAppender.java:330) >>> =A0 =A0 =A0 =A0 at >>> org.apache.log4j.net.SMTPAppender.append(SMTPAppender.java:215) >>> =A0 =A0 =A0 =A0 at >>> org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251) >>> =A0 =A0 =A0 =A0 at >>> org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders >>> ( >>> AppenderAttachableImpl.java:66) >>> =A0 =A0 =A0 [email protected](Category.java= :206) >>> =A0 =A0 =A0 [email protected](Category.java:391= ) >>> =A0 =A0 =A0 [email protected](Category.java:305) >>> =A0 =A0 =A0 [email protected](Log4jServlet.java:80) >>> =A0 =A0 =A0 =A0 at >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:690) >>> =A0 =A0 =A0 =A0 at >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl >>> i >>> cationFilterChain.java:290) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF >>> i >>> lterChain.java:206) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV >>> a >>> lve.java:233) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextV >>> a >>> lve.java:175) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j >>> a >>> va:128) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j >>> a >>> va:102) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal >>> v >>> e.java:109) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav >>> a >>> :286) >>> =A0 =A0 =A0 =A0 at >>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: >>> 844) >>> =A0 =A0 =A0 =A0 at >>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce >>> s >>> s(Http11Protocol.java:583) >>> =A0 =A0 =A0 =A0 at >>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 >>> 7 >>> ) >>> =A0 =A0 =A0 [email protected](Unknown Source) Caused by: >>> java.net.ConnectException: Connection timed out: connect >>> =A0 =A0 =A0 [email protected](Native Method) >>> =A0 =A0 =A0 [email protected](Unknown Source) >>> =A0 =A0 =A0 [email protected](Unknown Sou= rce) >>> =A0 =A0 =A0 [email protected](Unknown Source) >>> =A0 =A0 =A0 [email protected](Unknown Source) >>> =A0 =A0 =A0 [email protected](Unknown Source) >>> =A0 =A0 =A0 [email protected](Unknown Source) >>> =A0 =A0 =A0 =A0 at >>> com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:233) >>> =A0 =A0 =A0 =A0 at >>> com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189) >>> =A0 =A0 =A0 =A0 at >>> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1359) >>> =A0 =A0 =A0 =A0 ... 28 more >> > > =A0 =A0 -- > "We are what we repeatedly do. Excellence, then, is not an act, but a habi= t." > Aristotle > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- "We are what we repeatedly do. Excellence, then, is not an act, but a habit.= " Aristotle --=_2xl68o1x74si-- From [email protected] Thu Dec 04 17:02:52 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36000 invoked from network); 4 Dec 2008 17:02:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Dec 2008 17:02:52 -0000 Received: (qmail 23910 invoked by uid 500); 4 Dec 2008 17:03:03 -0000 Delivered-To: [email protected] Received: (qmail 23326 invoked by uid 500); 4 Dec 2008 17:03:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 23315 invoked by uid 99); 4 Dec 2008 17:03:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 09:03:01 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mailgw3.ericsson.se) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 17:01:29 +0000 Received: from mailgw3.ericsson.se (unknown [161.129.204.104]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id C63CB20896 for <[email protected]>; Thu, 4 Dec 2008 18:01:45 +0100 (CET) X-AuditID: c1b4fb3c-acf5cbb00000304c-a2-49380cf90312 Received: from esealmw129.eemea.ericsson.se (unknown [161.129.204.104]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id A5B9A20577 for <[email protected]>; Thu, 4 Dec 2008 18:01:45 +0100 (CET) Received: from EITRMMW021.eemea.ericsson.se ([161.129.204.104]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC+1-218-282-5572); Thu, 4 Dec 2008 18:01:45 +0100 x-mimeole: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: SMTPAppender Date: Thu, 4 Dec 2008 18:01:44 +0100 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: SMTPAppender Thread-Index: AclWL9up+dLSgQ+KQaebGM+sndAFxgAAXIfg References: <[email protected]><[email protected]><[email protected]> <[email protected]> From: "Massimo Quagliani" <[email protected]> To: "Log4J Users List" <[email protected]> X-OriginalArrivalTime: 04 Dec 2008 17:01:45.0280 (UTC) FILETIME=[FCE19C00:01C95631] X-Brightmail-Tracker: AAAAAA== X-Virus-Checked: Checked by ClamAV on apache.org Please,=20 could you explain in detail what you would do in this situation?=20 I didn't figure out your suggestion. /Max -----Original Message----- From: Joe White [mailto:[email protected]]=20 Sent: gioved=EC 4 dicembre 2008 17.45 To: [email protected] Subject: RE: SMTPAppender The error is clear in the stacktrace. =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: connect =A0 =A0 =A0 =A0 at = com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391) I do not think it's log4j related.. Can you make the connection on your box via telnet or some other type = of email program ? Quoting Massimo Quagliani <[email protected]>: > Thanks, > > But I changed my log4j.properties file using another SMTP host, which, = > according to this link > http://www.velociraptus.com/internet/articoli_d.php?particoloID=3D27 > uses port 25 for SMTP (it is in italian but in the table it is = clear=A0=20 > the port is 25). > The error is still there... > Please help!! > > /Massimo > > > # Email appender > log4j.appender.email=3Dorg.apache.log4j.net.SMTPAppender > log4j.appender.email.BufferSize=3D25 > log4j.appender.email.SMTPHost=3Dmail.libero.it > log4j.appender.email.SMTPUsername=3D<valid_username> > log4j.appender.email.SMTPPassword=3D<valid_password> > [email protected] > [email protected] > log4j.appender.email.Subject=3DError > log4j.appender.email.layout=3Dorg.apache.log4j.PatternLayout > log4j.appender.email.layout.ConversionPattern=3D=A0 =A0 %d{DATE} %-5p = %m > -=A0 %c{3} [%t] [%r ms]%n%n > log4j.appender.email.threshold=3DERROR > > > The stack trace is the same... > > 2008-12-04 09:28:17,515 ERROR [http-8080-2]=A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 : This is a try! > log4j:ERROR Error occured while sending e-mail notification. > javax.mail.MessagingException: Could not connect to SMTP host:=A0 =20 > mail.libero.it, port: 25; > =A0 =A0nested exception is: > =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: = connect > =A0 =A0 =A0 =A0 at =20 > com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391) > =A0 =A0 =A0 =A0 at =20 > = com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:412) > =A0 =A0 =A0 [email protected](Service.java:310) > =A0 =A0 =A0 [email protected](Service.java:169) > =A0 =A0 =A0 [email protected](Service.java:118) > =A0 =A0 =A0 [email protected](Transport.java:188) > =A0 =A0 =A0 [email protected](Transport.java:118) > =A0 =A0 =A0 =A0 at =20 > org.apache.log4j.net.SMTPAppender.sendBuffer(SMTPAppender.java:330) > =A0 =A0 =A0 =A0 at = org.apache.log4j.net.SMTPAppender.append(SMTPAppender.java:215) > =A0 =A0 =A0 =A0 at =20 > org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251) > =A0 =A0 =A0 =A0 at=A0 =20 > = org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(App= enderAttachableImpl.java:66) > =A0 =A0 =A0 =A0 at = org.apache.log4j.Category.callAppenders(Category.java:206) > =A0 =A0 =A0 =A0 at = org.apache.log4j.Category.forcedLog(Category.java:391) > =A0 =A0 =A0 [email protected](Category.java:305) > =A0 =A0 =A0 [email protected](Log4jServlet.java:80) > =A0 =A0 =A0 =A0 at = javax.servlet.http.HttpServlet.service(HttpServlet.java:690) > =A0 =A0 =A0 =A0 at = javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > =A0 =A0 =A0 =A0 at=A0 =20 > = org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat= ionFilterChain.java:290) > =A0 =A0 =A0 =A0 at=A0 =20 > = org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte= rChain.java:206) > =A0 =A0 =A0 =A0 at=A0 =20 > = org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve= .java:233) > =A0 =A0 =A0 =A0 at=A0 =20 > = org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve= .java:175) > =A0 =A0 =A0 =A0 at=A0 =20 > = org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:= 128) > =A0 =A0 =A0 =A0 at=A0 =20 > = org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:= 102) > =A0 =A0 =A0 =A0 at=A0 =20 > = org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.j= ava:109) > =A0 =A0 =A0 =A0 at=A0 =20 > = org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:28= 6) > =A0 =A0 =A0 =A0 at=A0 =20 > = org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844= ) > =A0 =A0 =A0 =A0 at=A0 =20 > = org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(H= ttp11Protocol.java:583) > =A0 =A0 =A0 =A0 at =20 > = org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) > =A0 =A0 =A0 [email protected](Unknown Source) > Caused by: java.net.ConnectException: Connection timed out: connect > =A0 =A0 =A0 [email protected](Native = Method) > =A0 =A0 =A0 [email protected](Unknown Source) > =A0 =A0 =A0 [email protected](Unknown = Source) > =A0 =A0 =A0 [email protected](Unknown Source) > =A0 =A0 =A0 [email protected](Unknown Source) > =A0 =A0 =A0 [email protected](Unknown Source) > =A0 =A0 =A0 [email protected](Unknown Source) > =A0 =A0 =A0 =A0 at =20 > com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:233) > =A0 =A0 =A0 =A0 at = com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189) > =A0 =A0 =A0 =A0 at =20 > com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1359) > =A0 =A0 =A0 =A0 ... 28 more > > > -----Original Message----- > From: Joe White [mailto:[email protected]] > Sent: mercoled=EC 3 dicembre 2008 20.26 > To: [email protected] > Subject: Re: SMTPAppender > > > > =A0 =A0 Gmail SMTP server requires TLS and it does not use the default = =20 > port of 25. > > =A0 =A0 According to this link: > > =A0 =A0 = http://mail.google.com/support/bin/answer.py?hl=3Den&answer=3D13287 > > =A0 =A0 You must use port 456 or 587 for SMTP. > > =A0 =A0 However, port is not an option YET in the latest release. = (unless > 1.2.16 has been release) > > =A0 =A0 Here is what Curt replied with. > > =A0 =A0 " > > =A0 =A0 log4j.appender.YOURAPPENDERNAME.smtpUsername=3DUSERNAME > log4j.appender.YOURAPPENDERNAME.smtpPassword=3DPASSWORD > log4j.appender.YOURAPPENDERNAME.smtpPort=3DPORT > > Port is in the current source, but not in the last release.=A0 We =20 > need=A0 to cut a log4j > 1.2.16 soon. > > =A0 =A0 " > > =A0 =A0 Quoting Massimo Quagliani <[email protected]>: > >>> Hi, >>> I have the following problem using SMTPAppender, Actually the email >>> does not arrive to the mailbox and I got the following error: >>> >>> log4j:ERROR Error occured while sending e-mail notification. >>> javax.mail.MessagingException: Could not connect to SMTP host: >>> smtp.gmail.com, port: 25; >>> =A0 =A0nested exception is: >>> =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: = connect >>> >>> The log4j.properties contains: >>> >>> log4j.rootCategory=3Dinfo, dest1, dest3, email >>> >>> # Email appender >>> log4j.appender.email=3Dorg.apache.log4j.net.SMTPAppender >>> log4j.appender.email.BufferSize=3D25 >>> log4j.appender.email.SMTPHost=3Dsmtp.gmail.com >>> log4j.appender.email.SMTPUsername=3D<valid_username> >>> log4j.appender.email.SMTPPassword=3D<valid_password> >>> [email protected] >>> [email protected] >>> log4j.appender.email.Subject=3DError >>> log4j.appender.email.layout=3Dorg.apache.log4j.PatternLayout >>> log4j.appender.email.layout.ConversionPattern=3D=A0 =A0 %d{DATE} = %-5p %m - >>> %c{3} [%t] [%r ms]%n%n log4j.appender.email.threshold=3DERROR >>> >>> >>> I am using eclipse on my PC for this try. >>> Please could you help me to find the solution to this nasty problem? >>> Thanks in advance, below is the complete stack trace >>> >>> >>> 2008-12-03 18:23:38,296 ERROR [http-8080-1]=A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 : This is >>> a try! >>> log4j:ERROR Error occured while sending e-mail notification. >>> javax.mail.MessagingException: Could not connect to SMTP host: >>> smtp.gmail.com, port: 25; >>> =A0 =A0nested exception is: >>> =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: = connect >>> =A0 =A0 =A0 =A0 at >>> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391) >>> =A0 =A0 =A0 =A0 at >>> = com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:41 >>> 2 >>> ) >>> =A0 =A0 =A0 [email protected](Service.java:310) >>> =A0 =A0 =A0 [email protected](Service.java:169) >>> =A0 =A0 =A0 [email protected](Service.java:118) >>> =A0 =A0 =A0 [email protected](Transport.java:188) >>> =A0 =A0 =A0 [email protected](Transport.java:118) >>> =A0 =A0 =A0 =A0 at >>> org.apache.log4j.net.SMTPAppender.sendBuffer(SMTPAppender.java:330) >>> =A0 =A0 =A0 =A0 at >>> org.apache.log4j.net.SMTPAppender.append(SMTPAppender.java:215) >>> =A0 =A0 =A0 =A0 at >>> = org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251) >>> =A0 =A0 =A0 =A0 at >>> = org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders >>> ( >>> AppenderAttachableImpl.java:66) >>> =A0 =A0 =A0 =A0 at = org.apache.log4j.Category.callAppenders(Category.java:206) >>> =A0 =A0 =A0 =A0 at = org.apache.log4j.Category.forcedLog(Category.java:391) >>> =A0 =A0 =A0 =A0 at = org.apache.log4j.Category.error(Category.java:305) >>> =A0 =A0 =A0 [email protected](Log4jServlet.java:80) >>> =A0 =A0 =A0 =A0 at >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:690) >>> =A0 =A0 =A0 =A0 at >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) >>> =A0 =A0 =A0 =A0 at >>> = org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl >>> i >>> cationFilterChain.java:290) >>> =A0 =A0 =A0 =A0 at >>> = org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF >>> i >>> lterChain.java:206) >>> =A0 =A0 =A0 =A0 at >>> = org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV >>> a >>> lve.java:233) >>> =A0 =A0 =A0 =A0 at >>> = org.apache.catalina.core.StandardContextValve.invoke(StandardContextV >>> a >>> lve.java:175) >>> =A0 =A0 =A0 =A0 at >>> = org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j >>> a >>> va:128) >>> =A0 =A0 =A0 =A0 at >>> = org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j >>> a >>> va:102) >>> =A0 =A0 =A0 =A0 at >>> = org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal >>> v >>> e.java:109) >>> =A0 =A0 =A0 =A0 at >>> = org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav >>> a >>> :286) >>> =A0 =A0 =A0 =A0 at >>> = org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: >>> 844) >>> =A0 =A0 =A0 =A0 at >>> = org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce >>> s >>> s(Http11Protocol.java:583) >>> =A0 =A0 =A0 =A0 at >>> = org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 >>> 7 >>> ) >>> =A0 =A0 =A0 [email protected](Unknown Source) Caused by: >>> java.net.ConnectException: Connection timed out: connect >>> =A0 =A0 =A0 [email protected](Native = Method) >>> =A0 =A0 =A0 [email protected](Unknown = Source) >>> =A0 =A0 =A0 [email protected](Unknown = Source) >>> =A0 =A0 =A0 [email protected](Unknown Source) >>> =A0 =A0 =A0 [email protected](Unknown Source) >>> =A0 =A0 =A0 [email protected](Unknown Source) >>> =A0 =A0 =A0 [email protected](Unknown Source) >>> =A0 =A0 =A0 =A0 at >>> com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:233) >>> =A0 =A0 =A0 =A0 at >>> com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189) >>> =A0 =A0 =A0 =A0 at >>> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1359) >>> =A0 =A0 =A0 =A0 ... 28 more >> > > =A0 =A0 -- > "We are what we repeatedly do. Excellence, then, is not an act, but a = habit." > Aristotle > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- "We are what we repeatedly do. Excellence, then, is not an act, but a = habit." Aristotle --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Dec 04 18:12:12 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96962 invoked from network); 4 Dec 2008 18:12:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Dec 2008 18:12:11 -0000 Received: (qmail 50346 invoked by uid 500); 4 Dec 2008 18:12:20 -0000 Delivered-To: [email protected] Received: (qmail 50312 invoked by uid 500); 4 Dec 2008 18:12:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 50301 invoked by uid 99); 4 Dec 2008 18:12:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 10:12:20 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.ergonomics.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 18:10:48 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: SMTPAppender Date: Thu, 4 Dec 2008 19:11:11 +0100 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: SMTPAppender thread-index: AclWL9up+dLSgQ+KQaebGM+sndAFxgAAXIfgAAJHqkA= From: "Bender Heri" <[email protected]> To: "Log4J Users List" <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Try a standalone tool in order to open this socket. E.g. castalia = socktest (free download), or even telnet in your command prompt: Telnet host port heri -----Urspr=FCngliche Nachricht----- Von: Massimo Quagliani [mailto:[email protected]]=20 Gesendet: Donnerstag, 4. Dezember 2008 18:02 An: Log4J Users List Betreff: RE: SMTPAppender Please, could you explain in detail what you would do in this situation?=20 I didn't figure out your suggestion. /Max -----Original Message----- From: Joe White [mailto:[email protected]] Sent: gioved=EC 4 dicembre 2008 17.45 To: [email protected] Subject: RE: SMTPAppender The error is clear in the stacktrace. =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: connect =A0 =A0 =A0 =A0 at = com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391) I do not think it's log4j related.. Can you make the connection on your box via telnet or some other type = of email program ? Quoting Massimo Quagliani <[email protected]>: > Thanks, > > But I changed my log4j.properties file using another SMTP host, which, = > according to this link > http://www.velociraptus.com/internet/articoli_d.php?particoloID=3D27 > uses port 25 for SMTP (it is in italian but in the table it is = clear=A0=20 > the port is 25). > The error is still there... > Please help!! > > /Massimo > > > # Email appender > log4j.appender.email=3Dorg.apache.log4j.net.SMTPAppender > log4j.appender.email.BufferSize=3D25 > log4j.appender.email.SMTPHost=3Dmail.libero.it > log4j.appender.email.SMTPUsername=3D<valid_username> > log4j.appender.email.SMTPPassword=3D<valid_password> > [email protected] > [email protected] > log4j.appender.email.Subject=3DError > log4j.appender.email.layout=3Dorg.apache.log4j.PatternLayout > log4j.appender.email.layout.ConversionPattern=3D=A0 =A0 %d{DATE} %-5p = %m > -=A0 %c{3} [%t] [%r ms]%n%n > log4j.appender.email.threshold=3DERROR > > > The stack trace is the same... > > 2008-12-04 09:28:17,515 ERROR [http-8080-2]=A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 : This is a try! > log4j:ERROR Error occured while sending e-mail notification. > javax.mail.MessagingException: Could not connect to SMTP host:=A0 =20 > mail.libero.it, port: 25; > =A0 =A0nested exception is: > =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: = connect > =A0 =A0 =A0 =A0 at =20 > com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391) > =A0 =A0 =A0 =A0 at =20 > = com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:412) > =A0 =A0 =A0 [email protected](Service.java:310) > =A0 =A0 =A0 [email protected](Service.java:169) > =A0 =A0 =A0 [email protected](Service.java:118) > =A0 =A0 =A0 [email protected](Transport.java:188) > =A0 =A0 =A0 [email protected](Transport.java:118) > =A0 =A0 =A0 =A0 at =20 > org.apache.log4j.net.SMTPAppender.sendBuffer(SMTPAppender.java:330) > =A0 =A0 =A0 =A0 at = org.apache.log4j.net.SMTPAppender.append(SMTPAppender.java:215) > =A0 =A0 =A0 =A0 at =20 > org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251) > =A0 =A0 =A0 =A0 at=A0 =20 > = org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(App= enderAttachableImpl.java:66) > =A0 =A0 =A0 =A0 at = org.apache.log4j.Category.callAppenders(Category.java:206) > =A0 =A0 =A0 =A0 at = org.apache.log4j.Category.forcedLog(Category.java:391) > =A0 =A0 =A0 [email protected](Category.java:305) > =A0 =A0 =A0 [email protected](Log4jServlet.java:80) > =A0 =A0 =A0 =A0 at = javax.servlet.http.HttpServlet.service(HttpServlet.java:690) > =A0 =A0 =A0 =A0 at = javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > =A0 =A0 =A0 =A0 at=A0 =20 > = org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat= ionFilterChain.java:290) > =A0 =A0 =A0 =A0 at=A0 =20 > = org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte= rChain.java:206) > =A0 =A0 =A0 =A0 at=A0 =20 > = org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve= .java:233) > =A0 =A0 =A0 =A0 at=A0 =20 > = org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve= .java:175) > =A0 =A0 =A0 =A0 at=A0 =20 > = org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:= 128) > =A0 =A0 =A0 =A0 at=A0 =20 > = org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:= 102) > =A0 =A0 =A0 =A0 at=A0 =20 > = org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.j= ava:109) > =A0 =A0 =A0 =A0 at=A0 =20 > = org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:28= 6) > =A0 =A0 =A0 =A0 at=A0 =20 > = org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844= ) > =A0 =A0 =A0 =A0 at=A0 =20 > = org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(H= ttp11Protocol.java:583) > =A0 =A0 =A0 =A0 at =20 > = org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) > =A0 =A0 =A0 [email protected](Unknown Source) > Caused by: java.net.ConnectException: Connection timed out: connect > =A0 =A0 =A0 [email protected](Native = Method) > =A0 =A0 =A0 [email protected](Unknown Source) > =A0 =A0 =A0 [email protected](Unknown = Source) > =A0 =A0 =A0 [email protected](Unknown Source) > =A0 =A0 =A0 [email protected](Unknown Source) > =A0 =A0 =A0 [email protected](Unknown Source) > =A0 =A0 =A0 [email protected](Unknown Source) > =A0 =A0 =A0 =A0 at =20 > com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:233) > =A0 =A0 =A0 =A0 at = com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189) > =A0 =A0 =A0 =A0 at =20 > com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1359) > =A0 =A0 =A0 =A0 ... 28 more > > > -----Original Message----- > From: Joe White [mailto:[email protected]] > Sent: mercoled=EC 3 dicembre 2008 20.26 > To: [email protected] > Subject: Re: SMTPAppender > > > > =A0 =A0 Gmail SMTP server requires TLS and it does not use the default = =20 > port of 25. > > =A0 =A0 According to this link: > > =A0 =A0 = http://mail.google.com/support/bin/answer.py?hl=3Den&answer=3D13287 > > =A0 =A0 You must use port 456 or 587 for SMTP. > > =A0 =A0 However, port is not an option YET in the latest release. = (unless > 1.2.16 has been release) > > =A0 =A0 Here is what Curt replied with. > > =A0 =A0 " > > =A0 =A0 log4j.appender.YOURAPPENDERNAME.smtpUsername=3DUSERNAME > log4j.appender.YOURAPPENDERNAME.smtpPassword=3DPASSWORD > log4j.appender.YOURAPPENDERNAME.smtpPort=3DPORT > > Port is in the current source, but not in the last release.=A0 We =20 > need=A0 to cut a log4j > 1.2.16 soon. > > =A0 =A0 " > > =A0 =A0 Quoting Massimo Quagliani <[email protected]>: > >>> Hi, >>> I have the following problem using SMTPAppender, Actually the email >>> does not arrive to the mailbox and I got the following error: >>> >>> log4j:ERROR Error occured while sending e-mail notification. >>> javax.mail.MessagingException: Could not connect to SMTP host: >>> smtp.gmail.com, port: 25; >>> =A0 =A0nested exception is: >>> =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: = connect >>> >>> The log4j.properties contains: >>> >>> log4j.rootCategory=3Dinfo, dest1, dest3, email >>> >>> # Email appender >>> log4j.appender.email=3Dorg.apache.log4j.net.SMTPAppender >>> log4j.appender.email.BufferSize=3D25 >>> log4j.appender.email.SMTPHost=3Dsmtp.gmail.com >>> log4j.appender.email.SMTPUsername=3D<valid_username> >>> log4j.appender.email.SMTPPassword=3D<valid_password> >>> [email protected] >>> [email protected] >>> log4j.appender.email.Subject=3DError >>> log4j.appender.email.layout=3Dorg.apache.log4j.PatternLayout >>> log4j.appender.email.layout.ConversionPattern=3D=A0 =A0 %d{DATE} = %-5p %m - >>> %c{3} [%t] [%r ms]%n%n log4j.appender.email.threshold=3DERROR >>> >>> >>> I am using eclipse on my PC for this try. >>> Please could you help me to find the solution to this nasty problem? >>> Thanks in advance, below is the complete stack trace >>> >>> >>> 2008-12-03 18:23:38,296 ERROR [http-8080-1]=A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 : This is >>> a try! >>> log4j:ERROR Error occured while sending e-mail notification. >>> javax.mail.MessagingException: Could not connect to SMTP host: >>> smtp.gmail.com, port: 25; >>> =A0 =A0nested exception is: >>> =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: = connect >>> =A0 =A0 =A0 =A0 at >>> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391) >>> =A0 =A0 =A0 =A0 at >>> = com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:41 >>> 2 >>> ) >>> =A0 =A0 =A0 [email protected](Service.java:310) >>> =A0 =A0 =A0 [email protected](Service.java:169) >>> =A0 =A0 =A0 [email protected](Service.java:118) >>> =A0 =A0 =A0 [email protected](Transport.java:188) >>> =A0 =A0 =A0 [email protected](Transport.java:118) >>> =A0 =A0 =A0 =A0 at >>> org.apache.log4j.net.SMTPAppender.sendBuffer(SMTPAppender.java:330) >>> =A0 =A0 =A0 =A0 at >>> org.apache.log4j.net.SMTPAppender.append(SMTPAppender.java:215) >>> =A0 =A0 =A0 =A0 at >>> = org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251) >>> =A0 =A0 =A0 =A0 at >>> = org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders >>> ( >>> AppenderAttachableImpl.java:66) >>> =A0 =A0 =A0 =A0 at = org.apache.log4j.Category.callAppenders(Category.java:206) >>> =A0 =A0 =A0 =A0 at = org.apache.log4j.Category.forcedLog(Category.java:391) >>> =A0 =A0 =A0 =A0 at = org.apache.log4j.Category.error(Category.java:305) >>> =A0 =A0 =A0 [email protected](Log4jServlet.java:80) >>> =A0 =A0 =A0 =A0 at >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:690) >>> =A0 =A0 =A0 =A0 at >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) >>> =A0 =A0 =A0 =A0 at >>> = org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl >>> i >>> cationFilterChain.java:290) >>> =A0 =A0 =A0 =A0 at >>> = org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF >>> i >>> lterChain.java:206) >>> =A0 =A0 =A0 =A0 at >>> = org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV >>> a >>> lve.java:233) >>> =A0 =A0 =A0 =A0 at >>> = org.apache.catalina.core.StandardContextValve.invoke(StandardContextV >>> a >>> lve.java:175) >>> =A0 =A0 =A0 =A0 at >>> = org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j >>> a >>> va:128) >>> =A0 =A0 =A0 =A0 at >>> = org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j >>> a >>> va:102) >>> =A0 =A0 =A0 =A0 at >>> = org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal >>> v >>> e.java:109) >>> =A0 =A0 =A0 =A0 at >>> = org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav >>> a >>> :286) >>> =A0 =A0 =A0 =A0 at >>> = org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: >>> 844) >>> =A0 =A0 =A0 =A0 at >>> = org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce >>> s >>> s(Http11Protocol.java:583) >>> =A0 =A0 =A0 =A0 at >>> = org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 >>> 7 >>> ) >>> =A0 =A0 =A0 [email protected](Unknown Source) Caused by: >>> java.net.ConnectException: Connection timed out: connect >>> =A0 =A0 =A0 [email protected](Native = Method) >>> =A0 =A0 =A0 [email protected](Unknown = Source) >>> =A0 =A0 =A0 [email protected](Unknown = Source) >>> =A0 =A0 =A0 [email protected](Unknown Source) >>> =A0 =A0 =A0 [email protected](Unknown Source) >>> =A0 =A0 =A0 [email protected](Unknown Source) >>> =A0 =A0 =A0 [email protected](Unknown Source) >>> =A0 =A0 =A0 =A0 at >>> com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:233) >>> =A0 =A0 =A0 =A0 at >>> com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189) >>> =A0 =A0 =A0 =A0 at >>> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1359) >>> =A0 =A0 =A0 =A0 ... 28 more >> > > =A0 =A0 -- > "We are what we repeatedly do. Excellence, then, is not an act, but a = habit." > Aristotle > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- "We are what we repeatedly do. Excellence, then, is not an act, but a = habit." Aristotle --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Dec 04 18:35:47 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20253 invoked from network); 4 Dec 2008 18:35:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Dec 2008 18:35:47 -0000 Received: (qmail 3134 invoked by uid 500); 4 Dec 2008 18:35:51 -0000 Delivered-To: [email protected] Received: (qmail 3098 invoked by uid 500); 4 Dec 2008 18:35:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 3066 invoked by uid 99); 4 Dec 2008 18:35:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 10:35:51 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mailgw3.ericsson.se) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 18:34:19 +0000 Received: from mailgw3.ericsson.se (unknown [161.129.204.104]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id A6F6820A3C for <[email protected]>; Thu, 4 Dec 2008 19:34:35 +0100 (CET) X-AuditID: c1b4fb3c-aff62bb00000304c-8e-493822bbbd6e Received: from esealmw129.eemea.ericsson.se (unknown [161.129.204.104]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id 7DE8B2070C for <[email protected]>; Thu, 4 Dec 2008 19:34:35 +0100 (CET) Received: from EITRMMW021.eemea.ericsson.se ([161.129.204.104]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC+1-218-282-5572); Thu, 4 Dec 2008 19:34:35 +0100 x-mimeole: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: SMTPAppender Date: Thu, 4 Dec 2008 19:34:33 +0100 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: SMTPAppender Thread-Index: AclWL9up+dLSgQ+KQaebGM+sndAFxgAAXIfgAAJHqkAAAN+jYA== References: <[email protected]> From: "Massimo Quagliani" <[email protected]> To: "Log4J Users List" <[email protected]> X-OriginalArrivalTime: 04 Dec 2008 18:34:35.0178 (UTC) FILETIME=[F4CC98A0:01C9563E] X-Brightmail-Tracker: AAAAAA== X-Virus-Checked: Checked by ClamAV on apache.org I tried: telnet mail.libero.it 25 Trying 161.129.204.104... telnet: Unable to connect to remote host: Connection timed out=20 But I have a stupid question, using telnet my client is expected to find = a telnet server on the port 25, while there should be an smtp server. Am I wrong? /MAx -----Original Message----- From: Bender Heri [mailto:[email protected]]=20 Sent: gioved=EC 4 dicembre 2008 19.11 To: Log4J Users List Subject: AW: SMTPAppender Try a standalone tool in order to open this socket. E.g. castalia = socktest (free download), or even telnet in your command prompt: Telnet host port heri -----Urspr=FCngliche Nachricht----- Von: Massimo Quagliani [mailto:[email protected]] Gesendet: Donnerstag, 4. Dezember 2008 18:02 An: Log4J Users List Betreff: RE: SMTPAppender Please, could you explain in detail what you would do in this situation?=20 I didn't figure out your suggestion. /Max -----Original Message----- From: Joe White [mailto:[email protected]] Sent: gioved=EC 4 dicembre 2008 17.45 To: [email protected] Subject: RE: SMTPAppender The error is clear in the stacktrace. =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: connect =A0 =A0 =A0 =A0 at = com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391) I do not think it's log4j related.. Can you make the connection on your box via telnet or some other type = of email program ? Quoting Massimo Quagliani <[email protected]>: > Thanks, > > But I changed my log4j.properties file using another SMTP host, which, = > according to this link > http://www.velociraptus.com/internet/articoli_d.php?particoloID=3D27 > uses port 25 for SMTP (it is in italian but in the table it is clear=20 > the port is 25). > The error is still there... > Please help!! > > /Massimo > > > # Email appender > log4j.appender.email=3Dorg.apache.log4j.net.SMTPAppender > log4j.appender.email.BufferSize=3D25 > log4j.appender.email.SMTPHost=3Dmail.libero.it > log4j.appender.email.SMTPUsername=3D<valid_username> > log4j.appender.email.SMTPPassword=3D<valid_password> > [email protected] > [email protected] > log4j.appender.email.Subject=3DError > log4j.appender.email.layout=3Dorg.apache.log4j.PatternLayout > log4j.appender.email.layout.ConversionPattern=3D=A0 =A0 %d{DATE} %-5p = %m > -=A0 %c{3} [%t] [%r ms]%n%n > log4j.appender.email.threshold=3DERROR > > > The stack trace is the same... > > 2008-12-04 09:28:17,515 ERROR [http-8080-2]=A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 : This is a try! > log4j:ERROR Error occured while sending e-mail notification. > javax.mail.MessagingException: Could not connect to SMTP host:=20 > mail.libero.it, port: 25; > =A0 =A0nested exception is: > =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: = connect > =A0 =A0 =A0 =A0 at > com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391) > =A0 =A0 =A0 =A0 at > com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:412 > ) > =A0 =A0 =A0 [email protected](Service.java:310) > =A0 =A0 =A0 [email protected](Service.java:169) > =A0 =A0 =A0 [email protected](Service.java:118) > =A0 =A0 =A0 [email protected](Transport.java:188) > =A0 =A0 =A0 [email protected](Transport.java:118) > =A0 =A0 =A0 =A0 at > org.apache.log4j.net.SMTPAppender.sendBuffer(SMTPAppender.java:330) > =A0 =A0 =A0 =A0 at=20 > org.apache.log4j.net.SMTPAppender.append(SMTPAppender.java:215) > =A0 =A0 =A0 =A0 at > org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251) > =A0 =A0 =A0 =A0 at > org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders( > AppenderAttachableImpl.java:66) > =A0 =A0 =A0 =A0 at = org.apache.log4j.Category.callAppenders(Category.java:206) > =A0 =A0 =A0 =A0 at = org.apache.log4j.Category.forcedLog(Category.java:391) > =A0 =A0 =A0 [email protected](Category.java:305) > =A0 =A0 =A0 [email protected](Log4jServlet.java:80) > =A0 =A0 =A0 =A0 at=20 > javax.servlet.http.HttpServlet.service(HttpServlet.java:690) > =A0 =A0 =A0 =A0 at=20 > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > =A0 =A0 =A0 =A0 at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli > cationFilterChain.java:290) > =A0 =A0 =A0 =A0 at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi > lterChain.java:206) > =A0 =A0 =A0 =A0 at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa > lve.java:233) > =A0 =A0 =A0 =A0 at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa > lve.java:175) > =A0 =A0 =A0 =A0 at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja > va:128) > =A0 =A0 =A0 =A0 at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja > va:102) > =A0 =A0 =A0 =A0 at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv > e.java:109) > =A0 =A0 =A0 =A0 at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java > :286) > =A0 =A0 =A0 =A0 at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: > 844) > =A0 =A0 =A0 =A0 at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces > s(Http11Protocol.java:583) > =A0 =A0 =A0 =A0 at > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447 > ) > =A0 =A0 =A0 [email protected](Unknown Source) Caused by:=20 > java.net.ConnectException: Connection timed out: connect > =A0 =A0 =A0 [email protected](Native = Method) > =A0 =A0 =A0 [email protected](Unknown Source) > =A0 =A0 =A0 [email protected](Unknown = Source) > =A0 =A0 =A0 [email protected](Unknown Source) > =A0 =A0 =A0 [email protected](Unknown Source) > =A0 =A0 =A0 [email protected](Unknown Source) > =A0 =A0 =A0 [email protected](Unknown Source) > =A0 =A0 =A0 =A0 at > com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:233) > =A0 =A0 =A0 =A0 at=20 > com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189) > =A0 =A0 =A0 =A0 at > com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1359) > =A0 =A0 =A0 =A0 ... 28 more > > > -----Original Message----- > From: Joe White [mailto:[email protected]] > Sent: mercoled=EC 3 dicembre 2008 20.26 > To: [email protected] > Subject: Re: SMTPAppender > > > > =A0 =A0 Gmail SMTP server requires TLS and it does not use the default = > port of 25. > > =A0 =A0 According to this link: > > =A0 =A0 = http://mail.google.com/support/bin/answer.py?hl=3Den&answer=3D13287 > > =A0 =A0 You must use port 456 or 587 for SMTP. > > =A0 =A0 However, port is not an option YET in the latest release. = (unless > 1.2.16 has been release) > > =A0 =A0 Here is what Curt replied with. > > =A0 =A0 " > > =A0 =A0 log4j.appender.YOURAPPENDERNAME.smtpUsername=3DUSERNAME > log4j.appender.YOURAPPENDERNAME.smtpPassword=3DPASSWORD > log4j.appender.YOURAPPENDERNAME.smtpPort=3DPORT > > Port is in the current source, but not in the last release.=A0 We = need=A0=20 > to cut a log4j > 1.2.16 soon. > > =A0 =A0 " > > =A0 =A0 Quoting Massimo Quagliani <[email protected]>: > >>> Hi, >>> I have the following problem using SMTPAppender, Actually the email=20 >>> does not arrive to the mailbox and I got the following error: >>> >>> log4j:ERROR Error occured while sending e-mail notification. >>> javax.mail.MessagingException: Could not connect to SMTP host: >>> smtp.gmail.com, port: 25; >>> =A0 =A0nested exception is: >>> =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: = connect >>> >>> The log4j.properties contains: >>> >>> log4j.rootCategory=3Dinfo, dest1, dest3, email >>> >>> # Email appender >>> log4j.appender.email=3Dorg.apache.log4j.net.SMTPAppender >>> log4j.appender.email.BufferSize=3D25 >>> log4j.appender.email.SMTPHost=3Dsmtp.gmail.com >>> log4j.appender.email.SMTPUsername=3D<valid_username> >>> log4j.appender.email.SMTPPassword=3D<valid_password> >>> [email protected] >>> [email protected] >>> log4j.appender.email.Subject=3DError >>> log4j.appender.email.layout=3Dorg.apache.log4j.PatternLayout >>> log4j.appender.email.layout.ConversionPattern=3D=A0 =A0 %d{DATE} = %-5p %m -=20 >>> %c{3} [%t] [%r ms]%n%n log4j.appender.email.threshold=3DERROR >>> >>> >>> I am using eclipse on my PC for this try. >>> Please could you help me to find the solution to this nasty problem? >>> Thanks in advance, below is the complete stack trace >>> >>> >>> 2008-12-03 18:23:38,296 ERROR [http-8080-1]=A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 : This is=20 >>> a try! >>> log4j:ERROR Error occured while sending e-mail notification. >>> javax.mail.MessagingException: Could not connect to SMTP host: >>> smtp.gmail.com, port: 25; >>> =A0 =A0nested exception is: >>> =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: = connect >>> =A0 =A0 =A0 =A0 at >>> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391) >>> =A0 =A0 =A0 =A0 at >>> com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:4 >>> 1 >>> 2 >>> ) >>> =A0 =A0 =A0 [email protected](Service.java:310) >>> =A0 =A0 =A0 [email protected](Service.java:169) >>> =A0 =A0 =A0 [email protected](Service.java:118) >>> =A0 =A0 =A0 [email protected](Transport.java:188) >>> =A0 =A0 =A0 [email protected](Transport.java:118) >>> =A0 =A0 =A0 =A0 at >>> org.apache.log4j.net.SMTPAppender.sendBuffer(SMTPAppender.java:330) >>> =A0 =A0 =A0 =A0 at >>> org.apache.log4j.net.SMTPAppender.append(SMTPAppender.java:215) >>> =A0 =A0 =A0 =A0 at >>> org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251 >>> ) >>> =A0 =A0 =A0 =A0 at >>> org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppender >>> s >>> ( >>> AppenderAttachableImpl.java:66) >>> =A0 =A0 =A0 =A0 at=20 >>> org.apache.log4j.Category.callAppenders(Category.java:206) >>> =A0 =A0 =A0 =A0 at = org.apache.log4j.Category.forcedLog(Category.java:391) >>> =A0 =A0 =A0 =A0 at = org.apache.log4j.Category.error(Category.java:305) >>> =A0 =A0 =A0 [email protected](Log4jServlet.java:80) >>> =A0 =A0 =A0 =A0 at >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:690) >>> =A0 =A0 =A0 =A0 at >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App >>> l >>> i >>> cationFilterChain.java:290) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(Application >>> F >>> i >>> lterChain.java:206) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapper >>> V >>> a >>> lve.java:233) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.core.StandardContextValve.invoke(StandardContext >>> V >>> a >>> lve.java:175) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve. >>> j >>> a >>> va:128) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve. >>> j >>> a >>> va:102) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVa >>> l >>> v >>> e.java:109) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.ja >>> v >>> a >>> :286) >>> =A0 =A0 =A0 =A0 at >>> = org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: >>> 844) >>> =A0 =A0 =A0 =A0 at >>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proc >>> e >>> s >>> s(Http11Protocol.java:583) >>> =A0 =A0 =A0 =A0 at >>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:4 >>> 4 >>> 7 >>> ) >>> =A0 =A0 =A0 [email protected](Unknown Source) Caused by: >>> java.net.ConnectException: Connection timed out: connect >>> =A0 =A0 =A0 [email protected](Native = Method) >>> =A0 =A0 =A0 [email protected](Unknown = Source) >>> =A0 =A0 =A0 [email protected](Unknown = Source) >>> =A0 =A0 =A0 [email protected](Unknown Source) >>> =A0 =A0 =A0 [email protected](Unknown Source) >>> =A0 =A0 =A0 [email protected](Unknown Source) >>> =A0 =A0 =A0 [email protected](Unknown Source) >>> =A0 =A0 =A0 =A0 at >>> com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:233) >>> =A0 =A0 =A0 =A0 at >>> com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189) >>> =A0 =A0 =A0 =A0 at >>> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1359) >>> =A0 =A0 =A0 =A0 ... 28 more >> > > =A0 =A0 -- > "We are what we repeatedly do. Excellence, then, is not an act, but a = habit." > Aristotle > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- "We are what we repeatedly do. Excellence, then, is not an act, but a = habit." Aristotle --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Dec 04 18:44:47 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24681 invoked from network); 4 Dec 2008 18:44:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Dec 2008 18:44:47 -0000 Received: (qmail 13921 invoked by uid 500); 4 Dec 2008 18:44:56 -0000 Delivered-To: [email protected] Received: (qmail 13902 invoked by uid 500); 4 Dec 2008 18:44:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 13891 invoked by uid 99); 4 Dec 2008 18:44:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 10:44:56 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.ergonomics.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 18:43:25 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: [SPAM (Keyword Checking)] - RE: SMTPAppender - Found word(s) list error in the Text body Date: Thu, 4 Dec 2008 19:44:12 +0100 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [SPAM (Keyword Checking)] - RE: SMTPAppender - Found word(s) list error in the Text body thread-index: AclWL9up+dLSgQ+KQaebGM+sndAFxgAAXIfgAAJHqkAAAN+jYAAAhiVA From: "Bender Heri" <[email protected]> To: "Log4J Users List" <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org As far as I know this command just opens a socket: Host:port. No = protocol is anticipated. If your machine cannot open this socket connection then something might = be wrong with your network, firewall, gateway, etc. This is shurly not = related to log4j. Heri=20 -----Urspr=FCngliche Nachricht----- Von: Massimo Quagliani [mailto:[email protected]]=20 Gesendet: Donnerstag, 4. Dezember 2008 19:35 An: Log4J Users List Betreff: [SPAM (Keyword Checking)] - RE: SMTPAppender - Found word(s) = list error in the Text body I tried: telnet mail.libero.it 25 Trying 161.129.204.104... telnet: Unable to connect to remote host: Connection timed out=20 But I have a stupid question, using telnet my client is expected to find = a telnet server on the port 25, while there should be an smtp server. Am I wrong? /MAx -----Original Message----- From: Bender Heri [mailto:[email protected]] Sent: gioved=EC 4 dicembre 2008 19.11 To: Log4J Users List Subject: AW: SMTPAppender Try a standalone tool in order to open this socket. E.g. castalia = socktest (free download), or even telnet in your command prompt: Telnet host port heri -----Urspr=FCngliche Nachricht----- Von: Massimo Quagliani [mailto:[email protected]] Gesendet: Donnerstag, 4. Dezember 2008 18:02 An: Log4J Users List Betreff: RE: SMTPAppender Please, could you explain in detail what you would do in this situation?=20 I didn't figure out your suggestion. /Max -----Original Message----- From: Joe White [mailto:[email protected]] Sent: gioved=EC 4 dicembre 2008 17.45 To: [email protected] Subject: RE: SMTPAppender The error is clear in the stacktrace. =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: connect =A0 =A0 =A0 =A0 at = com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391) I do not think it's log4j related.. Can you make the connection on your box via telnet or some other type = of email program ? Quoting Massimo Quagliani <[email protected]>: > Thanks, > > But I changed my log4j.properties file using another SMTP host, which, = > according to this link > http://www.velociraptus.com/internet/articoli_d.php?particoloID=3D27 > uses port 25 for SMTP (it is in italian but in the table it is clear=20 > the port is 25). > The error is still there... > Please help!! > > /Massimo > > > # Email appender > log4j.appender.email=3Dorg.apache.log4j.net.SMTPAppender > log4j.appender.email.BufferSize=3D25 > log4j.appender.email.SMTPHost=3Dmail.libero.it > log4j.appender.email.SMTPUsername=3D<valid_username> > log4j.appender.email.SMTPPassword=3D<valid_password> > [email protected] > [email protected] > log4j.appender.email.Subject=3DError > log4j.appender.email.layout=3Dorg.apache.log4j.PatternLayout > log4j.appender.email.layout.ConversionPattern=3D=A0 =A0 %d{DATE} %-5p = %m > -=A0 %c{3} [%t] [%r ms]%n%n > log4j.appender.email.threshold=3DERROR > > > The stack trace is the same... > > 2008-12-04 09:28:17,515 ERROR [http-8080-2]=A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 : This is a try! > log4j:ERROR Error occured while sending e-mail notification. > javax.mail.MessagingException: Could not connect to SMTP host:=20 > mail.libero.it, port: 25; > =A0 =A0nested exception is: > =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: = connect > =A0 =A0 =A0 =A0 at > com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391) > =A0 =A0 =A0 =A0 at > com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:412 > ) > =A0 =A0 =A0 [email protected](Service.java:310) > =A0 =A0 =A0 [email protected](Service.java:169) > =A0 =A0 =A0 [email protected](Service.java:118) > =A0 =A0 =A0 [email protected](Transport.java:188) > =A0 =A0 =A0 [email protected](Transport.java:118) > =A0 =A0 =A0 =A0 at > org.apache.log4j.net.SMTPAppender.sendBuffer(SMTPAppender.java:330) > =A0 =A0 =A0 =A0 at > org.apache.log4j.net.SMTPAppender.append(SMTPAppender.java:215) > =A0 =A0 =A0 =A0 at > org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251) > =A0 =A0 =A0 =A0 at > org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders( > AppenderAttachableImpl.java:66) > =A0 =A0 =A0 =A0 at = org.apache.log4j.Category.callAppenders(Category.java:206) > =A0 =A0 =A0 =A0 at = org.apache.log4j.Category.forcedLog(Category.java:391) > =A0 =A0 =A0 [email protected](Category.java:305) > =A0 =A0 =A0 [email protected](Log4jServlet.java:80) > =A0 =A0 =A0 =A0 at > javax.servlet.http.HttpServlet.service(HttpServlet.java:690) > =A0 =A0 =A0 =A0 at > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > =A0 =A0 =A0 =A0 at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli > cationFilterChain.java:290) > =A0 =A0 =A0 =A0 at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi > lterChain.java:206) > =A0 =A0 =A0 =A0 at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa > lve.java:233) > =A0 =A0 =A0 =A0 at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa > lve.java:175) > =A0 =A0 =A0 =A0 at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja > va:128) > =A0 =A0 =A0 =A0 at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja > va:102) > =A0 =A0 =A0 =A0 at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv > e.java:109) > =A0 =A0 =A0 =A0 at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java > :286) > =A0 =A0 =A0 =A0 at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: > 844) > =A0 =A0 =A0 =A0 at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces > s(Http11Protocol.java:583) > =A0 =A0 =A0 =A0 at > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447 > ) > =A0 =A0 =A0 [email protected](Unknown Source) Caused by:=20 > java.net.ConnectException: Connection timed out: connect > =A0 =A0 =A0 [email protected](Native = Method) > =A0 =A0 =A0 [email protected](Unknown Source) > =A0 =A0 =A0 [email protected](Unknown = Source) > =A0 =A0 =A0 [email protected](Unknown Source) > =A0 =A0 =A0 [email protected](Unknown Source) > =A0 =A0 =A0 [email protected](Unknown Source) > =A0 =A0 =A0 [email protected](Unknown Source) > =A0 =A0 =A0 =A0 at > com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:233) > =A0 =A0 =A0 =A0 at > com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189) > =A0 =A0 =A0 =A0 at > com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1359) > =A0 =A0 =A0 =A0 ... 28 more > > > -----Original Message----- > From: Joe White [mailto:[email protected]] > Sent: mercoled=EC 3 dicembre 2008 20.26 > To: [email protected] > Subject: Re: SMTPAppender > > > > =A0 =A0 Gmail SMTP server requires TLS and it does not use the default = > port of 25. > > =A0 =A0 According to this link: > > =A0 =A0 = http://mail.google.com/support/bin/answer.py?hl=3Den&answer=3D13287 > > =A0 =A0 You must use port 456 or 587 for SMTP. > > =A0 =A0 However, port is not an option YET in the latest release. = (unless > 1.2.16 has been release) > > =A0 =A0 Here is what Curt replied with. > > =A0 =A0 " > > =A0 =A0 log4j.appender.YOURAPPENDERNAME.smtpUsername=3DUSERNAME > log4j.appender.YOURAPPENDERNAME.smtpPassword=3DPASSWORD > log4j.appender.YOURAPPENDERNAME.smtpPort=3DPORT > > Port is in the current source, but not in the last release.=A0 We need = > to cut a log4j > 1.2.16 soon. > > =A0 =A0 " > > =A0 =A0 Quoting Massimo Quagliani <[email protected]>: > >>> Hi, >>> I have the following problem using SMTPAppender, Actually the email=20 >>> does not arrive to the mailbox and I got the following error: >>> >>> log4j:ERROR Error occured while sending e-mail notification. >>> javax.mail.MessagingException: Could not connect to SMTP host: >>> smtp.gmail.com, port: 25; >>> =A0 =A0nested exception is: >>> =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: = connect >>> >>> The log4j.properties contains: >>> >>> log4j.rootCategory=3Dinfo, dest1, dest3, email >>> >>> # Email appender >>> log4j.appender.email=3Dorg.apache.log4j.net.SMTPAppender >>> log4j.appender.email.BufferSize=3D25 >>> log4j.appender.email.SMTPHost=3Dsmtp.gmail.com >>> log4j.appender.email.SMTPUsername=3D<valid_username> >>> log4j.appender.email.SMTPPassword=3D<valid_password> >>> [email protected] >>> [email protected] >>> log4j.appender.email.Subject=3DError >>> log4j.appender.email.layout=3Dorg.apache.log4j.PatternLayout >>> log4j.appender.email.layout.ConversionPattern=3D=A0 =A0 %d{DATE} = %-5p %m -=20 >>> %c{3} [%t] [%r ms]%n%n log4j.appender.email.threshold=3DERROR >>> >>> >>> I am using eclipse on my PC for this try. >>> Please could you help me to find the solution to this nasty problem? >>> Thanks in advance, below is the complete stack trace >>> >>> >>> 2008-12-03 18:23:38,296 ERROR [http-8080-1]=A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 : This is=20 >>> a try! >>> log4j:ERROR Error occured while sending e-mail notification. >>> javax.mail.MessagingException: Could not connect to SMTP host: >>> smtp.gmail.com, port: 25; >>> =A0 =A0nested exception is: >>> =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: = connect >>> =A0 =A0 =A0 =A0 at >>> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391) >>> =A0 =A0 =A0 =A0 at >>> com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:4 >>> 1 >>> 2 >>> ) >>> =A0 =A0 =A0 [email protected](Service.java:310) >>> =A0 =A0 =A0 [email protected](Service.java:169) >>> =A0 =A0 =A0 [email protected](Service.java:118) >>> =A0 =A0 =A0 [email protected](Transport.java:188) >>> =A0 =A0 =A0 [email protected](Transport.java:118) >>> =A0 =A0 =A0 =A0 at >>> org.apache.log4j.net.SMTPAppender.sendBuffer(SMTPAppender.java:330) >>> =A0 =A0 =A0 =A0 at >>> org.apache.log4j.net.SMTPAppender.append(SMTPAppender.java:215) >>> =A0 =A0 =A0 =A0 at >>> org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251 >>> ) >>> =A0 =A0 =A0 =A0 at >>> org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppender >>> s >>> ( >>> AppenderAttachableImpl.java:66) >>> =A0 =A0 =A0 =A0 at >>> org.apache.log4j.Category.callAppenders(Category.java:206) >>> =A0 =A0 =A0 =A0 at = org.apache.log4j.Category.forcedLog(Category.java:391) >>> =A0 =A0 =A0 =A0 at = org.apache.log4j.Category.error(Category.java:305) >>> =A0 =A0 =A0 [email protected](Log4jServlet.java:80) >>> =A0 =A0 =A0 =A0 at >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:690) >>> =A0 =A0 =A0 =A0 at >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App >>> l >>> i >>> cationFilterChain.java:290) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(Application >>> F >>> i >>> lterChain.java:206) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapper >>> V >>> a >>> lve.java:233) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.core.StandardContextValve.invoke(StandardContext >>> V >>> a >>> lve.java:175) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve. >>> j >>> a >>> va:128) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve. >>> j >>> a >>> va:102) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVa >>> l >>> v >>> e.java:109) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.ja >>> v >>> a >>> :286) >>> =A0 =A0 =A0 =A0 at >>> = org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: >>> 844) >>> =A0 =A0 =A0 =A0 at >>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proc >>> e >>> s >>> s(Http11Protocol.java:583) >>> =A0 =A0 =A0 =A0 at >>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:4 >>> 4 >>> 7 >>> ) >>> =A0 =A0 =A0 [email protected](Unknown Source) Caused by: >>> java.net.ConnectException: Connection timed out: connect >>> =A0 =A0 =A0 [email protected](Native = Method) >>> =A0 =A0 =A0 [email protected](Unknown = Source) >>> =A0 =A0 =A0 [email protected](Unknown = Source) >>> =A0 =A0 =A0 [email protected](Unknown Source) >>> =A0 =A0 =A0 [email protected](Unknown Source) >>> =A0 =A0 =A0 [email protected](Unknown Source) >>> =A0 =A0 =A0 [email protected](Unknown Source) >>> =A0 =A0 =A0 =A0 at >>> com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:233) >>> =A0 =A0 =A0 =A0 at >>> com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189) >>> =A0 =A0 =A0 =A0 at >>> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1359) >>> =A0 =A0 =A0 =A0 ... 28 more >> > > =A0 =A0 -- > "We are what we repeatedly do. Excellence, then, is not an act, but a = habit." > Aristotle > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- "We are what we repeatedly do. Excellence, then, is not an act, but a = habit." Aristotle --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Dec 04 18:48:01 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26685 invoked from network); 4 Dec 2008 18:48:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Dec 2008 18:48:01 -0000 Received: (qmail 25517 invoked by uid 500); 4 Dec 2008 18:48:10 -0000 Delivered-To: [email protected] Received: (qmail 25496 invoked by uid 500); 4 Dec 2008 18:48:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 25485 invoked by uid 99); 4 Dec 2008 18:48:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 10:48:10 -0800 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO outbound-mail-123.bluehost.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 04 Dec 2008 18:46:38 +0000 Received: (qmail 28691 invoked by uid 0); 4 Dec 2008 18:46:23 -0000 Received: from unknown (HELO host111.hostmonster.com) (161.129.204.104) by outboundproxy4.bluehost.com with SMTP; 4 Dec 2008 18:46:23 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=asidejob.com; h=Received:Received:Message-ID:Date:From:To:Subject:References:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:User-Agent:X-Identified-User; b=fyKNzQD5fuNWvblcqIUdx9BSwSGhNAo5kpNrG+0F4dgJvVVMk3tvzeJ8aIzgNbYN1/d3EUfHXxsBUerIEqA9Mmwl1/Jcy2PNt3HIpNMkJKWv/PbfCD8tRmWAlkyp/44w; Received: from localhost ([161.129.204.104]) by host111.hostmonster.com with esmtpa (Exim 4.69) (envelope-from <[email protected]>) id 1L8JDT-0007Iq-GI for [email protected]; Thu, 04 Dec 2008 11:46:23 -0700 Received: from 161.129.204.104 ([161.129.204.104]) by asidejob.com (Horde MIME library) with HTTP; Thu, 04 Dec 2008 10:46:23 -0800 Message-ID: <[email protected]> Date: Thu, 04 Dec 2008 10:46:23 -0800 From: Joe White <[email protected]> To: [email protected] Subject: RE: SMTPAppender References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_1aeph69t1v9b" Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.6) X-Identified-User: {0:host111.hostmonster.com:root:host111.hostmonster.com} {sentby:program running on server} X-Virus-Checked: Checked by ClamAV on apache.org --=_1aeph69t1v9b Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Description: Plaintext Version of Message Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Yes, you are wrong. It is possible to connect to a SMTP server via =20 Telnet on port 25. If you know the proper commands, you can even send email that way. Quoting Massimo Quagliani <[email protected]>: > I tried: > > telnet mail.libero.it 25 > Trying 161.129.204.104... > telnet: Unable to connect to remote host: Connection timed out > > But I have a stupid question, using telnet my client is expected to=A0 =20 > find a telnet server on the port 25, while there should be an smtp=A0 =20 > server. > Am I wrong? > > /MAx > > -----Original Message----- > From: Bender Heri [mailto:[email protected]] > Sent: gioved=EC 4 dicembre 2008 19.11 > To: Log4J Users List > Subject: AW: SMTPAppender > > Try a standalone tool in order to open this socket.=A0 E.g. castalia=A0 = =20 > socktest (free download), or even telnet in your command prompt: > > Telnet host port > > heri > > -----Urspr=FCngliche Nachricht----- > Von: Massimo Quagliani [mailto:[email protected]] > Gesendet: Donnerstag, 4. Dezember 2008 18:02 > An: Log4J Users List > Betreff: RE: SMTPAppender > > Please, > could you explain in detail what you would do in this situation? > I didn't figure out your suggestion. > > /Max > > -----Original Message----- > From: Joe White [mailto:[email protected]] > Sent: gioved=EC 4 dicembre 2008 17.45 > To: [email protected] > Subject: RE: SMTPAppender > > > > =A0 =A0 The error is clear in the stacktrace. > > =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: connect > =A0 =A0 =A0 =A0 at=A0 =20 > com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391) > > =A0 =A0 I do not think it's log4j related.. > > =A0 =A0 Can you make the connection on your box via telnet or some =20 > other=A0 type of email program ? > > =A0 =A0 Quoting Massimo Quagliani <[email protected]>: > >> Thanks, >> >> But I changed my log4j.properties file using another SMTP host, which, >> according to this link >> http://www.velociraptus.com/internet/articoli_d.php?particoloID=3D27 >> uses port 25 for SMTP (it is in italian but in the table it is clear >> the port is 25). >> The error is still there... >> Please help!! >> >> /Massimo >> >> >> # Email appender >> log4j.appender.email=3Dorg.apache.log4j.net.SMTPAppender >> log4j.appender.email.BufferSize=3D25 >> log4j.appender.email.SMTPHost=3Dmail.libero.it >> log4j.appender.email.SMTPUsername=3D<valid_username> >> log4j.appender.email.SMTPPassword=3D<valid_password> >> [email protected] >> [email protected] >> log4j.appender.email.Subject=3DError >> log4j.appender.email.layout=3Dorg.apache.log4j.PatternLayout >> log4j.appender.email.layout.ConversionPattern=3D=A0 =A0 %d{DATE} %-5p %m >> -=A0 %c{3} [%t] [%r ms]%n%n >> log4j.appender.email.threshold=3DERROR >> >> >> The stack trace is the same... >> >> 2008-12-04 09:28:17,515 ERROR [http-8080-2]=A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 : This is a try! >> log4j:ERROR Error occured while sending e-mail notification. >> javax.mail.MessagingException: Could not connect to SMTP host: >> mail.libero.it, port: 25; >> =A0 =A0nested exception is: >> =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: connect >> =A0 =A0 =A0 =A0 at >> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391) >> =A0 =A0 =A0 =A0 at >> com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:412 >> ) >> =A0 =A0 =A0 [email protected](Service.java:310) >> =A0 =A0 =A0 [email protected](Service.java:169) >> =A0 =A0 =A0 [email protected](Service.java:118) >> =A0 =A0 =A0 [email protected](Transport.java:188) >> =A0 =A0 =A0 [email protected](Transport.java:118) >> =A0 =A0 =A0 =A0 at >> org.apache.log4j.net.SMTPAppender.sendBuffer(SMTPAppender.java:330) >> =A0 =A0 =A0 =A0 at >> org.apache.log4j.net.SMTPAppender.append(SMTPAppender.java:215) >> =A0 =A0 =A0 =A0 at >> org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251) >> =A0 =A0 =A0 =A0 at >> org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders( >> AppenderAttachableImpl.java:66) >> =A0 =A0 =A0 [email protected](Category.java:= 206) >> =A0 =A0 =A0 [email protected](Category.java:391) >> =A0 =A0 =A0 [email protected](Category.java:305) >> =A0 =A0 =A0 [email protected](Log4jServlet.java:80) >> =A0 =A0 =A0 =A0 at >> javax.servlet.http.HttpServlet.service(HttpServlet.java:690) >> =A0 =A0 =A0 =A0 at >> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) >> =A0 =A0 =A0 =A0 at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli >> cationFilterChain.java:290) >> =A0 =A0 =A0 =A0 at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi >> lterChain.java:206) >> =A0 =A0 =A0 =A0 at >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa >> lve.java:233) >> =A0 =A0 =A0 =A0 at >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa >> lve.java:175) >> =A0 =A0 =A0 =A0 at >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja >> va:128) >> =A0 =A0 =A0 =A0 at >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja >> va:102) >> =A0 =A0 =A0 =A0 at >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv >> e.java:109) >> =A0 =A0 =A0 =A0 at >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java >> :286) >> =A0 =A0 =A0 =A0 at >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: >> 844) >> =A0 =A0 =A0 =A0 at >> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces >> s(Http11Protocol.java:583) >> =A0 =A0 =A0 =A0 at >> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447 >> ) >> =A0 =A0 =A0 [email protected](Unknown Source) Caused by: >> java.net.ConnectException: Connection timed out: connect >> =A0 =A0 =A0 [email protected](Native Method) >> =A0 =A0 =A0 [email protected](Unknown Source) >> =A0 =A0 =A0 [email protected](Unknown Sour= ce) >> =A0 =A0 =A0 [email protected](Unknown Source) >> =A0 =A0 =A0 [email protected](Unknown Source) >> =A0 =A0 =A0 [email protected](Unknown Source) >> =A0 =A0 =A0 [email protected](Unknown Source) >> =A0 =A0 =A0 =A0 at >> com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:233) >> =A0 =A0 =A0 =A0 at >> com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189) >> =A0 =A0 =A0 =A0 at >> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1359) >> =A0 =A0 =A0 =A0 ... 28 more >> >> >> -----Original Message----- >> From: Joe White [mailto:[email protected]] >> Sent: mercoled=EC 3 dicembre 2008 20.26 >> To: [email protected] >> Subject: Re: SMTPAppender >> >> >> >> =A0 =A0 Gmail SMTP server requires TLS and it does not use the default >> port of 25. >> >> =A0 =A0 According to this link: >> >> =A0 =A0 http://mail.google.com/support/bin/answer.py?hl=3Den&answer=3D132= 87 >> >> =A0 =A0 You must use port 456 or 587 for SMTP. >> >> =A0 =A0 However, port is not an option YET in the latest release. (unless >> 1.2.16 has been release) >> >> =A0 =A0 Here is what Curt replied with. >> >> =A0 =A0 " >> >> =A0 =A0 log4j.appender.YOURAPPENDERNAME.smtpUsername=3DUSERNAME >> log4j.appender.YOURAPPENDERNAME.smtpPassword=3DPASSWORD >> log4j.appender.YOURAPPENDERNAME.smtpPort=3DPORT >> >> Port is in the current source, but not in the last release.=A0 We need=A0 >> to cut a log4j >> 1.2.16 soon. >> >> =A0 =A0 " >> >> =A0 =A0 Quoting Massimo Quagliani <[email protected]>: >> >>>> Hi, >>>> I have the following problem using SMTPAppender, Actually the email >>>> does not arrive to the mailbox and I got the following error: >>>> >>>> log4j:ERROR Error occured while sending e-mail notification. >>>> javax.mail.MessagingException: Could not connect to SMTP host: >>>> smtp.gmail.com, port: 25; >>>> =A0 =A0nested exception is: >>>> =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: connec= t >>>> >>>> The log4j.properties contains: >>>> >>>> log4j.rootCategory=3Dinfo, dest1, dest3, email >>>> >>>> # Email appender >>>> log4j.appender.email=3Dorg.apache.log4j.net.SMTPAppender >>>> log4j.appender.email.BufferSize=3D25 >>>> log4j.appender.email.SMTPHost=3Dsmtp.gmail.com >>>> log4j.appender.email.SMTPUsername=3D<valid_username> >>>> log4j.appender.email.SMTPPassword=3D<valid_password> >>>> [email protected] >>>> [email protected] >>>> log4j.appender.email.Subject=3DError >>>> log4j.appender.email.layout=3Dorg.apache.log4j.PatternLayout >>>> log4j.appender.email.layout.ConversionPattern=3D=A0 =A0 %d{DATE} %-5p %= m - >>>> %c{3} [%t] [%r ms]%n%n log4j.appender.email.threshold=3DERROR >>>> >>>> >>>> I am using eclipse on my PC for this try. >>>> Please could you help me to find the solution to this nasty problem? >>>> Thanks in advance, below is the complete stack trace >>>> >>>> >>>> 2008-12-03 18:23:38,296 ERROR [http-8080-1]=A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 : This is >>>> a try! >>>> log4j:ERROR Error occured while sending e-mail notification. >>>> javax.mail.MessagingException: Could not connect to SMTP host: >>>> smtp.gmail.com, port: 25; >>>> =A0 =A0nested exception is: >>>> =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: connec= t >>>> =A0 =A0 =A0 =A0 at >>>> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391) >>>> =A0 =A0 =A0 =A0 at >>>> com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:4 >>>> 1 >>>> 2 >>>> ) >>>> =A0 =A0 =A0 [email protected](Service.java:310) >>>> =A0 =A0 =A0 [email protected](Service.java:169) >>>> =A0 =A0 =A0 [email protected](Service.java:118) >>>> =A0 =A0 =A0 [email protected](Transport.java:188) >>>> =A0 =A0 =A0 [email protected](Transport.java:118) >>>> =A0 =A0 =A0 =A0 at >>>> org.apache.log4j.net.SMTPAppender.sendBuffer(SMTPAppender.java:330) >>>> =A0 =A0 =A0 =A0 at >>>> org.apache.log4j.net.SMTPAppender.append(SMTPAppender.java:215) >>>> =A0 =A0 =A0 =A0 at >>>> org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251 >>>> ) >>>> =A0 =A0 =A0 =A0 at >>>> org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppender >>>> s >>>> ( >>>> AppenderAttachableImpl.java:66) >>>> =A0 =A0 =A0 =A0 at >>>> org.apache.log4j.Category.callAppenders(Category.java:206) >>>> =A0 =A0 =A0 [email protected](Category.java:39= 1) >>>> =A0 =A0 =A0 [email protected](Category.java:305) >>>> =A0 =A0 =A0 [email protected](Log4jServlet.java:80) >>>> =A0 =A0 =A0 =A0 at >>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:690) >>>> =A0 =A0 =A0 =A0 at >>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) >>>> =A0 =A0 =A0 =A0 at >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App >>>> l >>>> i >>>> cationFilterChain.java:290) >>>> =A0 =A0 =A0 =A0 at >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(Application >>>> F >>>> i >>>> lterChain.java:206) >>>> =A0 =A0 =A0 =A0 at >>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapper >>>> V >>>> a >>>> lve.java:233) >>>> =A0 =A0 =A0 =A0 at >>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContext >>>> V >>>> a >>>> lve.java:175) >>>> =A0 =A0 =A0 =A0 at >>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve. >>>> j >>>> a >>>> va:128) >>>> =A0 =A0 =A0 =A0 at >>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve. >>>> j >>>> a >>>> va:102) >>>> =A0 =A0 =A0 =A0 at >>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVa >>>> l >>>> v >>>> e.java:109) >>>> =A0 =A0 =A0 =A0 at >>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.ja >>>> v >>>> a >>>> :286) >>>> =A0 =A0 =A0 =A0 at >>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: >>>> 844) >>>> =A0 =A0 =A0 =A0 at >>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proc >>>> e >>>> s >>>> s(Http11Protocol.java:583) >>>> =A0 =A0 =A0 =A0 at >>>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:4 >>>> 4 >>>> 7 >>>> ) >>>> =A0 =A0 =A0 [email protected](Unknown Source) Caused by: >>>> java.net.ConnectException: Connection timed out: connect >>>> =A0 =A0 =A0 [email protected](Native Method= ) >>>> =A0 =A0 =A0 [email protected](Unknown Source) >>>> =A0 =A0 =A0 [email protected](Unknown So= urce) >>>> =A0 =A0 =A0 [email protected](Unknown Source) >>>> =A0 =A0 =A0 [email protected](Unknown Source) >>>> =A0 =A0 =A0 [email protected](Unknown Source) >>>> =A0 =A0 =A0 [email protected](Unknown Source) >>>> =A0 =A0 =A0 =A0 at >>>> com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:233) >>>> =A0 =A0 =A0 =A0 at >>>> com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189) >>>> =A0 =A0 =A0 =A0 at >>>> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1359) >>>> =A0 =A0 =A0 =A0 ... 28 more >>> >> >> =A0 =A0 -- >> "We are what we repeatedly do. Excellence, then, is not an act, =20 >> but=A0 a habit." >> Aristotle >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > =A0 =A0 -- > "We are what we repeatedly do. Excellence, then, is not an act, but a habi= t." > Aristotle > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- "We are what we repeatedly do. Excellence, then, is not an act, but a habit.= " Aristotle --=_1aeph69t1v9b-- From [email protected] Thu Dec 04 18:55:09 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29276 invoked from network); 4 Dec 2008 18:55:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Dec 2008 18:55:09 -0000 Received: (qmail 38076 invoked by uid 500); 4 Dec 2008 18:55:17 -0000 Delivered-To: [email protected] Received: (qmail 38055 invoked by uid 500); 4 Dec 2008 18:55:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 38044 invoked by uid 99); 4 Dec 2008 18:55:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 10:55:17 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO rms.vectorsgi.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 18:53:45 +0000 Received: from prdsvc05.VECTORsgi.com ([161.129.204.104]) by rms.vectorsgi.com with Microsoft SMTPSVC+1-218-282-5572); Thu, 4 Dec 2008 12:55:41 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: SMTPAppender Date: Thu, 4 Dec 2008 12:54:12 -0600 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: SMTPAppender Thread-Index: AclWL9up+dLSgQ+KQaebGM+sndAFxgAAXIfgAAJHqkAAAN+jYAAA3+GQ References: <[email protected]> <[email protected]> From: "Steve Ash" <[email protected]> To: "Log4J Users List" <[email protected]> X-OriginalArrivalTime: 04 Dec 2008 18:55:41.0828 (UTC) FILETIME=[E7C80C40:01C95641] X-Virus-Checked: Checked by ClamAV on apache.org You can't connect so you have a firewall, networking, or server/service = issue. Telnetting to a socket and port, just tries to establish a = simple socket connection. If you cannot even make the simple socket = connection, then there is a problem between your machine (all the way = down the tcp/ip stack) to that machine/application service (all the way = up the tcp/ip stack). The problem exists somewhere between those = endpoints- none of which includes log4j since you confirmed that a = separate application cannot connect as well. Thanks, Steve Ash Metavante Image Solutions Software Developer [email protected] -----Original Message----- From: Massimo Quagliani [mailto:[email protected]]=20 Sent: Thursday, December 04, 2008 12:35 PM To: Log4J Users List Subject: RE: SMTPAppender I tried: telnet mail.libero.it 25 Trying 161.129.204.104... telnet: Unable to connect to remote host: Connection timed out=20 But I have a stupid question, using telnet my client is expected to find = a telnet server on the port 25, while there should be an smtp server. Am I wrong? /MAx -----Original Message----- From: Bender Heri [mailto:[email protected]]=20 Sent: gioved=EC 4 dicembre 2008 19.11 To: Log4J Users List Subject: AW: SMTPAppender Try a standalone tool in order to open this socket. E.g. castalia = socktest (free download), or even telnet in your command prompt: Telnet host port heri -----Urspr=FCngliche Nachricht----- Von: Massimo Quagliani [mailto:[email protected]] Gesendet: Donnerstag, 4. Dezember 2008 18:02 An: Log4J Users List Betreff: RE: SMTPAppender Please, could you explain in detail what you would do in this situation?=20 I didn't figure out your suggestion. /Max -----Original Message----- From: Joe White [mailto:[email protected]] Sent: gioved=EC 4 dicembre 2008 17.45 To: [email protected] Subject: RE: SMTPAppender The error is clear in the stacktrace. =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: connect =A0 =A0 =A0 =A0 at = com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391) I do not think it's log4j related.. Can you make the connection on your box via telnet or some other type = of email program ? Quoting Massimo Quagliani <[email protected]>: > Thanks, > > But I changed my log4j.properties file using another SMTP host, which, = > according to this link > http://www.velociraptus.com/internet/articoli_d.php?particoloID=3D27 > uses port 25 for SMTP (it is in italian but in the table it is clear=20 > the port is 25). > The error is still there... > Please help!! > > /Massimo > > > # Email appender > log4j.appender.email=3Dorg.apache.log4j.net.SMTPAppender > log4j.appender.email.BufferSize=3D25 > log4j.appender.email.SMTPHost=3Dmail.libero.it > log4j.appender.email.SMTPUsername=3D<valid_username> > log4j.appender.email.SMTPPassword=3D<valid_password> > [email protected] > [email protected] > log4j.appender.email.Subject=3DError > log4j.appender.email.layout=3Dorg.apache.log4j.PatternLayout > log4j.appender.email.layout.ConversionPattern=3D=A0 =A0 %d{DATE} %-5p = %m > -=A0 %c{3} [%t] [%r ms]%n%n > log4j.appender.email.threshold=3DERROR > > > The stack trace is the same... > > 2008-12-04 09:28:17,515 ERROR [http-8080-2]=A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 : This is a try! > log4j:ERROR Error occured while sending e-mail notification. > javax.mail.MessagingException: Could not connect to SMTP host:=20 > mail.libero.it, port: 25; > =A0 =A0nested exception is: > =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: = connect > =A0 =A0 =A0 =A0 at > com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391) > =A0 =A0 =A0 =A0 at > com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:412 > ) > =A0 =A0 =A0 [email protected](Service.java:310) > =A0 =A0 =A0 [email protected](Service.java:169) > =A0 =A0 =A0 [email protected](Service.java:118) > =A0 =A0 =A0 [email protected](Transport.java:188) > =A0 =A0 =A0 [email protected](Transport.java:118) > =A0 =A0 =A0 =A0 at > org.apache.log4j.net.SMTPAppender.sendBuffer(SMTPAppender.java:330) > =A0 =A0 =A0 =A0 at=20 > org.apache.log4j.net.SMTPAppender.append(SMTPAppender.java:215) > =A0 =A0 =A0 =A0 at > org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251) > =A0 =A0 =A0 =A0 at > org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders( > AppenderAttachableImpl.java:66) > =A0 =A0 =A0 =A0 at = org.apache.log4j.Category.callAppenders(Category.java:206) > =A0 =A0 =A0 =A0 at = org.apache.log4j.Category.forcedLog(Category.java:391) > =A0 =A0 =A0 [email protected](Category.java:305) > =A0 =A0 =A0 [email protected](Log4jServlet.java:80) > =A0 =A0 =A0 =A0 at=20 > javax.servlet.http.HttpServlet.service(HttpServlet.java:690) > =A0 =A0 =A0 =A0 at=20 > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > =A0 =A0 =A0 =A0 at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli > cationFilterChain.java:290) > =A0 =A0 =A0 =A0 at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi > lterChain.java:206) > =A0 =A0 =A0 =A0 at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa > lve.java:233) > =A0 =A0 =A0 =A0 at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa > lve.java:175) > =A0 =A0 =A0 =A0 at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja > va:128) > =A0 =A0 =A0 =A0 at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja > va:102) > =A0 =A0 =A0 =A0 at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv > e.java:109) > =A0 =A0 =A0 =A0 at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java > :286) > =A0 =A0 =A0 =A0 at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: > 844) > =A0 =A0 =A0 =A0 at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces > s(Http11Protocol.java:583) > =A0 =A0 =A0 =A0 at > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447 > ) > =A0 =A0 =A0 [email protected](Unknown Source) Caused by:=20 > java.net.ConnectException: Connection timed out: connect > =A0 =A0 =A0 [email protected](Native = Method) > =A0 =A0 =A0 [email protected](Unknown Source) > =A0 =A0 =A0 [email protected](Unknown = Source) > =A0 =A0 =A0 [email protected](Unknown Source) > =A0 =A0 =A0 [email protected](Unknown Source) > =A0 =A0 =A0 [email protected](Unknown Source) > =A0 =A0 =A0 [email protected](Unknown Source) > =A0 =A0 =A0 =A0 at > com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:233) > =A0 =A0 =A0 =A0 at=20 > com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189) > =A0 =A0 =A0 =A0 at > com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1359) > =A0 =A0 =A0 =A0 ... 28 more > > > -----Original Message----- > From: Joe White [mailto:[email protected]] > Sent: mercoled=EC 3 dicembre 2008 20.26 > To: [email protected] > Subject: Re: SMTPAppender > > > > =A0 =A0 Gmail SMTP server requires TLS and it does not use the default = > port of 25. > > =A0 =A0 According to this link: > > =A0 =A0 = http://mail.google.com/support/bin/answer.py?hl=3Den&answer=3D13287 > > =A0 =A0 You must use port 456 or 587 for SMTP. > > =A0 =A0 However, port is not an option YET in the latest release. = (unless > 1.2.16 has been release) > > =A0 =A0 Here is what Curt replied with. > > =A0 =A0 " > > =A0 =A0 log4j.appender.YOURAPPENDERNAME.smtpUsername=3DUSERNAME > log4j.appender.YOURAPPENDERNAME.smtpPassword=3DPASSWORD > log4j.appender.YOURAPPENDERNAME.smtpPort=3DPORT > > Port is in the current source, but not in the last release.=A0 We = need=A0=20 > to cut a log4j > 1.2.16 soon. > > =A0 =A0 " > > =A0 =A0 Quoting Massimo Quagliani <[email protected]>: > >>> Hi, >>> I have the following problem using SMTPAppender, Actually the email=20 >>> does not arrive to the mailbox and I got the following error: >>> >>> log4j:ERROR Error occured while sending e-mail notification. >>> javax.mail.MessagingException: Could not connect to SMTP host: >>> smtp.gmail.com, port: 25; >>> =A0 =A0nested exception is: >>> =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: = connect >>> >>> The log4j.properties contains: >>> >>> log4j.rootCategory=3Dinfo, dest1, dest3, email >>> >>> # Email appender >>> log4j.appender.email=3Dorg.apache.log4j.net.SMTPAppender >>> log4j.appender.email.BufferSize=3D25 >>> log4j.appender.email.SMTPHost=3Dsmtp.gmail.com >>> log4j.appender.email.SMTPUsername=3D<valid_username> >>> log4j.appender.email.SMTPPassword=3D<valid_password> >>> [email protected] >>> [email protected] >>> log4j.appender.email.Subject=3DError >>> log4j.appender.email.layout=3Dorg.apache.log4j.PatternLayout >>> log4j.appender.email.layout.ConversionPattern=3D=A0 =A0 %d{DATE} = %-5p %m -=20 >>> %c{3} [%t] [%r ms]%n%n log4j.appender.email.threshold=3DERROR >>> >>> >>> I am using eclipse on my PC for this try. >>> Please could you help me to find the solution to this nasty problem? >>> Thanks in advance, below is the complete stack trace >>> >>> >>> 2008-12-03 18:23:38,296 ERROR [http-8080-1]=A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 : This is=20 >>> a try! >>> log4j:ERROR Error occured while sending e-mail notification. >>> javax.mail.MessagingException: Could not connect to SMTP host: >>> smtp.gmail.com, port: 25; >>> =A0 =A0nested exception is: >>> =A0 =A0 =A0 =A0 java.net.ConnectException: Connection timed out: = connect >>> =A0 =A0 =A0 =A0 at >>> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391) >>> =A0 =A0 =A0 =A0 at >>> com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:4 >>> 1 >>> 2 >>> ) >>> =A0 =A0 =A0 [email protected](Service.java:310) >>> =A0 =A0 =A0 [email protected](Service.java:169) >>> =A0 =A0 =A0 [email protected](Service.java:118) >>> =A0 =A0 =A0 [email protected](Transport.java:188) >>> =A0 =A0 =A0 [email protected](Transport.java:118) >>> =A0 =A0 =A0 =A0 at >>> org.apache.log4j.net.SMTPAppender.sendBuffer(SMTPAppender.java:330) >>> =A0 =A0 =A0 =A0 at >>> org.apache.log4j.net.SMTPAppender.append(SMTPAppender.java:215) >>> =A0 =A0 =A0 =A0 at >>> org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251 >>> ) >>> =A0 =A0 =A0 =A0 at >>> org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppender >>> s >>> ( >>> AppenderAttachableImpl.java:66) >>> =A0 =A0 =A0 =A0 at=20 >>> org.apache.log4j.Category.callAppenders(Category.java:206) >>> =A0 =A0 =A0 =A0 at = org.apache.log4j.Category.forcedLog(Category.java:391) >>> =A0 =A0 =A0 =A0 at = org.apache.log4j.Category.error(Category.java:305) >>> =A0 =A0 =A0 [email protected](Log4jServlet.java:80) >>> =A0 =A0 =A0 =A0 at >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:690) >>> =A0 =A0 =A0 =A0 at >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App >>> l >>> i >>> cationFilterChain.java:290) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(Application >>> F >>> i >>> lterChain.java:206) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapper >>> V >>> a >>> lve.java:233) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.core.StandardContextValve.invoke(StandardContext >>> V >>> a >>> lve.java:175) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve. >>> j >>> a >>> va:128) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve. >>> j >>> a >>> va:102) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVa >>> l >>> v >>> e.java:109) >>> =A0 =A0 =A0 =A0 at >>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.ja >>> v >>> a >>> :286) >>> =A0 =A0 =A0 =A0 at >>> = org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: >>> 844) >>> =A0 =A0 =A0 =A0 at >>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proc >>> e >>> s >>> s(Http11Protocol.java:583) >>> =A0 =A0 =A0 =A0 at >>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:4 >>> 4 >>> 7 >>> ) >>> =A0 =A0 =A0 [email protected](Unknown Source) Caused by: >>> java.net.ConnectException: Connection timed out: connect >>> =A0 =A0 =A0 [email protected](Native = Method) >>> =A0 =A0 =A0 [email protected](Unknown = Source) >>> =A0 =A0 =A0 [email protected](Unknown = Source) >>> =A0 =A0 =A0 [email protected](Unknown Source) >>> =A0 =A0 =A0 [email protected](Unknown Source) >>> =A0 =A0 =A0 [email protected](Unknown Source) >>> =A0 =A0 =A0 [email protected](Unknown Source) >>> =A0 =A0 =A0 =A0 at >>> com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:233) >>> =A0 =A0 =A0 =A0 at >>> com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189) >>> =A0 =A0 =A0 =A0 at >>> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1359) >>> =A0 =A0 =A0 =A0 ... 28 more >> > > =A0 =A0 -- > "We are what we repeatedly do. Excellence, then, is not an act, but a = habit." > Aristotle > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- "We are what we repeatedly do. Excellence, then, is not an act, but a = habit." Aristotle --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Dec 05 19:21:41 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47496 invoked from network); 5 Dec 2008 19:21:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Dec 2008 19:21:41 -0000 Received: (qmail 28739 invoked by uid 500); 5 Dec 2008 19:21:51 -0000 Delivered-To: [email protected] Received: (qmail 28703 invoked by uid 500); 5 Dec 2008 19:21:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 28692 invoked by uid 99); 5 Dec 2008 19:21:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2008 11:21:50 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO QMTA08.westchester.pa.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2008 19:20:19 +0000 Received: from OMTA07.westchester.pa.mail.comcast.net ([161.129.204.104]) by QMTA08.westchester.pa.mail.comcast.net with comcast id nX891a05q1GhbT858XM0Qa; Fri, 05 Dec 2008 19:21:00 +0000 Received: from sleeman ([161.129.204.104]) by OMTA07.westchester.pa.mail.comcast.net with comcast id nXLg1a00D26PxKU3TXLlTA; Fri, 05 Dec 2008 19:20:55 +0000 X-Authority-Analysis: v=1.0 c=1 a=rITDv7nW5hcA:10 a=1XWaLZrsAAAA:8 a=B-tcywWLYci04OcmceYA:9 a=tX9i2uu3a86TQ8QhUB8A:7 a=S5dg6_XU1iFzDvnDIMqMy_fQQF4A:4 a=Buq7wirbyEgA:10 a=ABoMKGSWU3sA:10 a=f7GxY0FH8QIA:10 a=MSl-tDqOz04A:10 a=oqs56FR1YJwA:10 Message-ID: <[email protected]> Reply-To: "AJ Weber" <[email protected]> From: "AJ Weber" <[email protected]> To: "Log4J Users List" <[email protected]> References: <[email protected]> <[email protected]> Subject: Re: SMTPAppender Date: Fri, 5 Dec 2008 14:20:39 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Virus-Checked: Checked by ClamAV on apache.org Sorry, I searched and searched, now I'm going to ask here... Is there a way to "bunch" a configured number of log-entries together before triggering the email to send? I would think this would be a feature someone asked for a long time ago, instead of receiving 1000's of emails about one problem, etc? Also, would it make sense, since this is probably a very low-performing appender, to put an option to make it ASYNC? I know you can wrap it with an AsyncAppender, but that requires me to move from my log4j.properties to xml, and I'm not ready to do all that just yet. Seems like a very common thing for people to do, so much so, that an option to "wrap itself" in an async appender would be a good idea? Thanks, AJ ----- Original Message ----- From: "Joe White" <[email protected]> To: <[email protected]> Sent: Wednesday, December 03, 2008 2:25 PM Subject: Re: SMTPAppender Gmail SMTP server requires TLS and it does not use the default port of 25. According to this link: http://mail.google.com/support/bin/answer.py?hl=en&answer=13287 You must use port 456 or 587 for SMTP. However, port is not an option YET in the latest release. (unless 1.2.16 has been release) Here is what Curt replied with. " log4j.appender.YOURAPPENDERNAME.smtpUsername=USERNAME log4j.appender.YOURAPPENDERNAME.smtpPassword=PASSWORD log4j.appender.YOURAPPENDERNAME.smtpPort=PORT Port is in the current source, but not in the last release. We need to cut a log4j 1.2.16 soon. " Quoting Massimo Quagliani <[email protected]>: >> Hi, >> I have the following problem using SMTPAppender, >> Actually the email does not arrive to the mailbox and I got the >> following error: >> >> log4j:ERROR Error occured while sending e-mail notification. >> javax.mail.MessagingException: Could not connect to SMTP host: >> smtp.gmail.com, port: 25; >> nested exception is: >> java.net.ConnectException: Connection timed out: connect >> >> The log4j.properties contains: >> >> log4j.rootCategory=info, dest1, dest3, email >> >> # Email appender >> log4j.appender.email=org.apache.log4j.net.SMTPAppender >> log4j.appender.email.BufferSize=25 >> log4j.appender.email.SMTPHost=smtp.gmail.com >> log4j.appender.email.SMTPUsername=<valid_username> >> log4j.appender.email.SMTPPassword=<valid_password> >> [email protected] >> [email protected] >> log4j.appender.email.Subject=Error >> log4j.appender.email.layout=org.apache.log4j.PatternLayout >> log4j.appender.email.layout.ConversionPattern= %d{DATE} %-5p %m - >> %c{3} [%t] [%r ms]%n%n >> log4j.appender.email.threshold=ERROR >> >> >> I am using eclipse on my PC for this try. >> Please could you help me to find the solution to this nasty problem? >> Thanks in advance, below is the complete stack trace >> >> >> 2008-12-03 18:23:38,296 ERROR [http-8080-1] : This is a >> try! >> log4j:ERROR Error occured while sending e-mail notification. >> javax.mail.MessagingException: Could not connect to SMTP host: >> smtp.gmail.com, port: 25; >> nested exception is: >> java.net.ConnectException: Connection timed out: connect >> at >> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391) >> at >> com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:412 >> ) >> at javax.mail.Service.connect(Service.java:310) >> at javax.mail.Service.connect(Service.java:169) >> at javax.mail.Service.connect(Service.java:118) >> at javax.mail.Transport.send0(Transport.java:188) >> at javax.mail.Transport.send(Transport.java:118) >> at >> org.apache.log4j.net.SMTPAppender.sendBuffer(SMTPAppender.java:330) >> at >> org.apache.log4j.net.SMTPAppender.append(SMTPAppender.java:215) >> at >> org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251) >> at >> org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders( >> AppenderAttachableImpl.java:66) >> at org.apache.log4j.Category.callAppenders(Category.java:206) >> at org.apache.log4j.Category.forcedLog(Category.java:391) >> at org.apache.log4j.Category.error(Category.java:305) >> at servlet.Log4jServlet.doGet(Log4jServlet.java:80) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli >> cationFilterChain.java:290) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi >> lterChain.java:206) >> at >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa >> lve.java:233) >> at >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa >> lve.java:175) >> at >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja >> va:128) >> at >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja >> va:102) >> at >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv >> e.java:109) >> at >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java >> :286) >> at >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: >> 844) >> at >> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces >> s(Http11Protocol.java:583) >> at >> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447 >> ) >> at java.lang.Thread.run(Unknown Source) >> Caused by: java.net.ConnectException: Connection timed out: connect >> at java.net.PlainSocketImpl.socketConnect(Native Method) >> at java.net.PlainSocketImpl.doConnect(Unknown Source) >> at java.net.PlainSocketImpl.connectToAddress(Unknown Source) >> at java.net.PlainSocketImpl.connect(Unknown Source) >> at java.net.SocksSocketImpl.connect(Unknown Source) >> at java.net.Socket.connect(Unknown Source) >> at java.net.Socket.connect(Unknown Source) >> at >> com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:233) >> at >> com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189) >> at >> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1359) >> ... 28 more > -- "We are what we repeatedly do. Excellence, then, is not an act, but a habit." Aristotle --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Dec 08 10:05:54 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11316 invoked from network); 8 Dec 2008 10:05:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Dec 2008 10:05:54 -0000 Received: (qmail 11418 invoked by uid 500); 8 Dec 2008 10:06:04 -0000 Delivered-To: [email protected] Received: (qmail 11396 invoked by uid 500); 8 Dec 2008 10:06:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 11385 invoked by uid 99); 8 Dec 2008 10:06:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Dec 2008 02:06:04 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Dec 2008 10:04:33 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1L9czQ-0005Hv-W9 for [email protected]; Mon, 08 Dec 2008 02:05:20 -0800 Message-ID: <[email protected]> Date: Mon, 8 Dec 2008 02:05:20 -0800 (PST) From: Alex Hill <[email protected]> To: [email protected] Subject: LogLog recursion? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org Hi, This doesn't happen often but twice in production I have had a service hang due to this issue. I have written an appender which publishes messages out over tibco rendezvous. Occasionally there will be a Tibrv problem and this will throw an exception. In this case I try to use LogLog to log the error. I believe this shouldn't be calling any appenders but twice it seems to have done so. LogLog seems to be calling my own appender which results in recursion and the logging below. This quickly kills my app. Note that most of the time when there is a Tibrv error this doesn't happen. Some kind of weird threading/timing issue? Any ideas? ========================================= 2008-12-06 17:17:42,329 ERROR [STDERR:London-Receiver] log4j:ERROR TibcoRvLogger.print: cannot send message: TibrvException[error=21,message=Not connected to daemon] 2008-12-06 17:17:42,329 ERROR [STDERR:London-Receiver] log4j:ERROR TibcoRvLogger.print: cannot send message: TibrvException[error=21,message=Not connected to daemon]log4j:ERROR TibcoRvLogger.print: cannot send message: TibrvException[error=21,message=Not connected to daemon] 2008-12-06 17:17:42,329 ERROR [STDERR:London-Receiver] log4j:ERROR TibcoRvLogger.print: cannot send message: TibrvException[error=21,message=Not connected to daemon]log4j:ERROR TibcoRvLogger.print: cannot send message: TibrvException[error=21,message=Not connected to daemon]log4j:ERROR TibcoRvLogger.print: cannot send message: TibrvException[error=21,message=Not connected to daemon] .... -- View this message in context: http://www.nabble.com/LogLog-recursion--tp20892498p20892498.html Sent from the Log4j - Users mailing list [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Dec 08 10:18:55 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19810 invoked from network); 8 Dec 2008 10:18:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Dec 2008 10:18:55 -0000 Received: (qmail 23383 invoked by uid 500); 8 Dec 2008 10:19:01 -0000 Delivered-To: [email protected] Received: (qmail 23353 invoked by uid 500); 8 Dec 2008 10:19:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 23342 invoked by uid 99); 8 Dec 2008 10:19:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Dec 2008 02:19:01 -0800 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: local policy) Received: from [161.129.204.104] (HELO web54504.mail.re2.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 08 Dec 2008 10:18:46 +0000 Received: (qmail 63367 invoked by uid 60001); 8 Dec 2008 10:18:25 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=SLVhGagJ79WYgJh3hKsAjeZtQOBZJypqgVLbGLBBKWwfIJGI81HFFDx0vRVsDFfVrxx+zM5PZeZUe0gNtJ2DWNt7BaFiS+z9OFQY7+36Du42vcVjlFkEBDMaV5xXr9POm3ycIuyCwUlHXzy0giQnrww5GAXaGRJSQdi5dGLsxbI=; X-YMail-OSG: OcDAZ0YVM1nyB_tc67ITemjBTspykRCs_rM8mBllpgROifQWNzEGyS4vOP39Vtl_7PyRnemlcucpLP9II58AH12Re4v72WnPlV5H5R5dudDG49yx3d5ggTFNDAaxFJo8_UKQmWCBjNdp4Uq.oYk4cykWuFL.GP8vE5sUv6Y- Received: from [161.129.204.104] by web54504.mail.re2.yahoo.com via HTTP; Mon, 08 Dec 2008 02:18:25 PST X-Mailer: YahooMailRC/1155.32 YahooMailWebService/0.7.260.1 Date: Mon, 8 Dec 2008 02:18:25 -0800 (PST) From: [email protected] Subject: Custom LoggerFactory To: [email protected] MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1002400685-1228731505=:62089" Message-ID: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org --0-1002400685-1228731505=:62089 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi all,=0A=0AI'm probably being blind but I have a customer Logger implemen= tation (MyLogger extends Logger) and a custom LoggerFactory (MyLoggerFactor= y implements LoggerFactory). =0A=0A=0AProperties props =3D new Properties(= );=0Aprops.put(PropertyConfigurator.LOGGER_FACTORY_KEY, "com.xxx.MyLoggerFa= ctory");=0Aprops.put("log4j.rootLogger", "OFF");=0Aprops.put("log4j.appende= r.A1", "org.apache.log4j.ConsoleAppender");=0Aprops.put("log4j.appender.A1.= layout", "org.apache.log4j.PatternLayout");=0Aprops.put("log4j.appender.A1.= layout.ConversionPattern", "%5p [%t] %c - %m%n");=0Aprops.put("log4j.logger= .com.xxxx.MyClass, "DEBUG, A1");=0APropertyConfigurator.configure(props);= =0ALogger log =3D Logger.getLogger(MyClass.class);=0A=0AIf I set =0A=0A=0Ap= rops.put("log4j.logger.com.xxxx.MyClass, "DEBUG, A1"); =0A=0Awith the full = class name for MyClass, the log variable is an instance of MyLogger. Howev= er, if I make the configuration more generic (e.g. package wide) with =0A= =0A=0Aprops.put("log4j.logger.com.xxxx, "DEBUG, A1");=0A=0AI get an instanc= e of the standard log4j Logger class. =0A=0AI've run through the log4j code= in the debugger and I can see what it's doing, i.e. it's creating a MyLogg= er for com.xxxx and adding it to the hashtable but then when I call Logger.= getLogger(MyClass.class) it uses the default factory and returns a standard= Logger.=0A=0AAm I missing something here? I want all sub-packages / class= es of com.xxxx to return a MyLogger instance.=0A=0AUsing log4j version 1.2.= 12.=0A=0AMany thanks,=0A=0ADave=0A=0A=0A --0-1002400685-1228731505=:62089-- From [email protected] Mon Dec 08 13:59:30 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99648 invoked from network); 8 Dec 2008 13:59:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Dec 2008 13:59:30 -0000 Received: (qmail 95044 invoked by uid 500); 8 Dec 2008 13:59:40 -0000 Delivered-To: [email protected] Received: (qmail 94818 invoked by uid 500); 8 Dec 2008 13:59:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 94807 invoked by uid 99); 8 Dec 2008 13:59:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Dec 2008 05:59:39 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO spike.ebi.ac.uk) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Dec 2008 13:58:09 +0000 Received: from poderosaiii.windows.ebi.ac.uk (eyre.ebi.ac.uk [161.129.204.104]) by spike.ebi.ac.uk (8.13.1/8.12.11) with ESMTP id mB8DwqAM022036 for <[email protected]>; Mon, 8 Dec 2008 13:58:52 GMT Message-ID: <[email protected]> Date: Mon, 08 Dec 2008 13:58:52 +0000 From: Zak Mc Kracken <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:161.129.204.104) Gecko/20061029 SeaMonkey/1.0.6 Mnenhy/161.129.204.104 MIME-Version: 1.0 To: [email protected] Subject: Overriding properties read from file Content-Type: multipart/mixed; boundary="------------050208070205080204060404" X-Virus-Checked: Checked by ClamAV on apache.org --------------050208070205080204060404 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi all, I am writing a line command tool and I'd like to add an option like --log-file path that allow to specify where the command execution log is stored. I want to keep all the other log parameters in a .properties file, which is loaded from the URL passed via log4j.configuration, as per Default Initialization Procedure. This means that I'd like to be able to override one of the properties loaded from the config file (i.e.: something like log4j.appender.FileApp.File) with the value passed via the command line option. I wonder if something like that is already available in Log4J, or if I have to implement it on my own. If that is the case, I've written the attached class, but I am not sure it is the best way to do it. Thanks in advance for any help. Marco. --------------050208070205080204060404 Content-Type: text/x-java; name="OverridablePropertyConfigurator.java" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="OverridablePropertyConfigurator.java" import java.io.FileInputStream; import java.io.IOException; import java.net.URL; import java.util.Properties; import org.apache.log4j.PropertyConfigurator; import org.apache.log4j.helpers.LogLog; import org.apache.log4j.spi.LoggerRepository; /** * An extension of {@link PropertyConfigurator} that allows to programmatically override the properties that are * loaded from a file or a URL. * * */ public class OverridablePropertyConfigurator extends PropertyConfigurator { private static Properties properties = new Properties (); public static void setProperty ( String key, String value ) { properties.setProperty ( key, value ); } public static void setProperties ( Properties properties ) { properties.putAll ( properties ); } @Override /** Reads the config properties from the file and overrides them with the ones overridden in this configurator */ public void doConfigure ( String configFileName, LoggerRepository hierarchy ) { // Code copied from the original log4j configurator Properties props = new Properties(); try { FileInputStream istream = new FileInputStream(configFileName); props.load(istream); istream.close(); } catch (IOException e) { LogLog.error("Could not read configuration file ["+configFileName+"].", e); LogLog.error("Ignoring configuration file [" + configFileName+"]."); return; } // If we reach here, then the config file is alright. // Adds up our properties props.putAll ( properties ); doConfigure(props, hierarchy); } @Override /** Reads the config properties from the file and overrides them with the ones overridden in this configurator */ public void doConfigure ( URL configURL, LoggerRepository hierarchy ) { // Code copied from the original log4j configurator Properties props = new Properties(); LogLog.debug("Reading configuration from URL " + configURL); try { props.load(configURL.openStream()); } catch (java.io.IOException e) { LogLog.error("Could not read configuration file from URL [" + configURL + "].", e); LogLog.error("Ignoring configuration file [" + configURL +"]."); return; } // Adds up our properties props.putAll ( properties ); doConfigure (props, hierarchy); } } --------------050208070205080204060404 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------050208070205080204060404-- From [email protected] Tue Dec 09 02:50:10 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95629 invoked from network); 9 Dec 2008 02:50:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Dec 2008 02:50:10 -0000 Received: (qmail 63344 invoked by uid 500); 9 Dec 2008 02:50:17 -0000 Delivered-To: [email protected] Received: (qmail 63323 invoked by uid 500); 9 Dec 2008 02:50:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 63310 invoked by uid 99); 9 Dec 2008 02:50:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Dec 2008 18:50:16 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO wex.seven.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Dec 2008 02:48:46 +0000 Received: from wex.seven.com ([161.129.204.104]) by wex.seven.com with Microsoft SMTPSVC+1-218-282-5572); Mon, 8 Dec 2008 18:49:12 -0800 Content-class: urn:content-classes:message Subject: How to config a Epoch fomat time stamp? MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 8 Dec 2008 18:49:12 -0800 Message-ID: <[email protected]> X-MimeOLE: Produced By Microsoft Exchange V6.5 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to config a Epoch fomat time stamp? Thread-Index: AclWL9up+dLSgQ+KQaebGM+sndAFxgAAXIfgAAJHqkAAAN+jYADajIng References: <[email protected]> <[email protected]> From: "Dong Zhang" <[email protected]> To: "Log4J Users List" <[email protected]> X-OriginalArrivalTime: 09 Dec 2008 02:49:12.0557 (UTC) FILETIME=[B78C41D0:01C959A8] X-Virus-Checked: Checked by ClamAV on apache.org Hi All, Is it possible to configure an Epoch time format stamp in org.apache.log4j.PatternLayout? Thanks. Best Regards, Dong --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Dec 10 19:39:14 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90482 invoked from network); 10 Dec 2008 19:39:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Dec 2008 19:39:14 -0000 Received: (qmail 191 invoked by uid 500); 10 Dec 2008 19:39:24 -0000 Delivered-To: [email protected] Received: (qmail 173 invoked by uid 500); 10 Dec 2008 19:39:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 162 invoked by uid 99); 10 Dec 2008 19:39:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Dec 2008 11:39:23 -0800 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: local policy) Received: from [161.129.204.104] (HELO qdcxa0587.questdiagnostics.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Dec 2008 19:39:05 +0000 Received: from ([161.129.204.104]) by qdcxa0587.questdiagnostics.com with ESMTP with TLS id 5502699.20764491; Wed, 10 Dec 2008 14:43:19 -0500 Received: from qdcws0934.us.qdx.com (161.129.204.104) by QDCWS0925.us.qdx.com (161.129.204.104) with Microsoft SMTP Server id 8.1.291.1; Wed, 10 Dec 2008 14:37:00 -0500 Received: from QDCWS0277.us.qdx.com ([161.129.204.104]) by qdcws0934.us.qdx.com with Microsoft SMTPSVC+1-218-282-5572); Wed, 10 Dec 2008 14:36:46 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-Class: urn:content-classes:message MIME-Version: 1.0 Subject: I/O blocking? buffering? Date: Wed, 10 Dec 2008 14:37:05 -0500 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: I/O blocking? buffering? Thread-Index: Acla/qwsfsCbMYzVSWuDxDXQcvLL/w== From: "Prastein, Rebeccah H" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 10 Dec 2008 19:36:46.0330 (UTC) FILETIME=[A337B5A0:01C95AFE] Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C95AFE.A2C87311" X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C95AFE.A2C87311 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I have a web application with two servlets, a Spring MVC-based=0D=0AWebCalc= ulatorController servlet and a servlet named Log4JServlet that I=0D=0Ause t= o change the logging level dynamically=2E I configure log4j=0D=0Aprogramma= tically in the Log4JServlet (no properties file or xml file)=2E=0D=0AThe Lo= g4JServlet is configured to load first on startup, in web=2Exml=2E I=0D=0A= have two log files, one for debug and one to log web calculator request=0D= =0Ainput and output=2E I'm using Spring 2=2E5, which includes log4j 1=2E2= =2E14=2E=0D=0A =0D=0AThe problem is that my requestLogger log messages are = not getting=0D=0Awritten out, usually until I call the initialize() method = in my=0D=0ALog4JServlet or I restart the web application=2E What both scen= arios have=0D=0Ain common is that I removeAllAppenders() from the requestLo= gger=2E I=0D=0Athink from a previous session of experimenting and testing = (I've been=0D=0Astruggling with this for over a week), that if I made a bun= ch of calls=0D=0Ato the web calculator, eventually all of the backlogged me= ssages would=0D=0Aget written, but it wasn't consistent as to the number of= requests or=0D=0Athe length of time it took to call them=2E I also have s= ome issues with=0D=0Athe debug log messages occasionally not getting writte= n, but this is=0D=0Amuch less frequently a problem, and definitely frees up= with additional=0D=0Aweb calculator requests=2E I don't remember for sure= about the=0D=0ArequestLogger messages=2E The debug log is currently more = verbose than=0D=0Athe request log, so maybe it's a buffering thing=2E=0D=0A= =0D=0AI can't figure out what I am doing wrong=2E I'm using=0D=0ARollingF= ileAppenders to write to the log files=2E The are supposed to=0D=0Adefault= to flush their writers at the end of each line, but I tried both=0D=0Asett= ing buffer size to something small and explicitly setting=0D=0AimmediateFlu= sh to true anyway, and it made no difference=2E I don't have=0D=0Aany sync= hronization code involved that I can think of or see, and the=0D=0Amethods = that produce the strings I'm logging don't themselves call=0D=0Alog4j=2E T= he test log messages that I write within my initialize() method=0D=0Aand my= init() method in Log4JServlet write out just fine=2E It's only the=0D=0Ao= nes in the WebCalculatorController servlet getting held up=2E=0D=0A =0D=0AI= do use Spring dependency injection to configure log4j (to determine=0D=0Aw= hether to use RollingFileAppenders or DailyRollingFileAppenders,=0D=0AmaxBa= ckupIndex, maxFileSize, and the log level to use at startup); don't=0D=0Akn= ow whether or not that has any bearing on the problem=2E =0D=0A =0D=0AI've= written a little utility to write out all of the current appenders=0D=0Ath= at I call after my web calculator logging call, and I don't seem to=0D=0Aha= ve any duplicate appenders (that I can see, anyway)=2E Could there be=0D= =0Aduplicates that I *can't* see by enumerating all of the LogManager's=0D= =0ALoggers and each Logger's Appenders?=0D=0A =0D=0AMy web application cont= ainer is Tomcat 5=2E5, running as a service on a=0D=0Atest machine=2E I'm = probably going to need to run it locally as a=0D=0Astandalone, so I can set= the debug flag=2E Any other suggestions how to=0D=0Afigure out wtf is goi= ng on?=0D=0A =0D=0AThanks,=0D=0A =0D=0ARebeccah=0D=0A =0D=0A =0D=0Apackage = com=2Equest=2Enichols=2Egenetics_rd=2Elog4j;=0D=0A =0D=0Aimport java=2Eio= =2E*;=0D=0Aimport java=2Eutil=2EEnumeration;=0D=0Aimport javax=2Eservlet=2E= *;=0D=0Aimport javax=2Eservlet=2Ehttp=2E*;=0D=0A =0D=0Aimport org=2Eapache= =2Elog4j=2E*;=0D=0Aimport org=2Espringframework=2Eweb=2Econtext=2EWebApplic= ationContext;=0D=0Aimport=0D=0Aorg=2Espringframework=2Eweb=2Econtext=2Esupp= ort=2EWebApplicationContextUtils;=0D=0A=0D=0A/**=0D=0A * <p>Title: MSS Inst= ant Risk Web Calculator</p>=0D=0A * <p>Description: Calculate revised first= trimester DS and Tri18 risks=0D=0Aafter NT</p>=0D=0A * <p>Copyright: Copyr= ight (c) 2008</p>=0D=0A * <p>Company: Quest Diagnostics</p>=0D=0A * @author= Rebeccah H=2E Prastein=0D=0A * @version 1=2E0=0D=0A */=0D=0Apublic class L= og4JServlet=0D=0A extends HttpServlet=0D=0A{=0D=0A public static fina= l String REQUEST_LOG =3D "requestLogger";=0D=0A protected final Logger L= OGGER =3D=0D=0ALogger=2EgetLogger(Log4JServlet=2Eclass);=0D=0A =0D=0A pr= ivate static Log4JConfig config =3D null;=0D=0A private static String de= bugLogFilename =3D "logs" + File=2Eseparator + =0D=0A "webcalculator= " + File=2Eseparator + "webcalculator_debug=2Elog";=0D=0A private static= String requestLogFilename =3D "logs" + File=2Eseparator +=0D=0A=0D=0A = "webcalculator" + File=2Eseparator + "webcalculator_requests=2Elog";=0D= =0A =0D=0A private static final String CONTENT_TYPE =3D "text/html";= =0D=0A =0D=0A public static final String RESET_PARAM =3D "reset";=0D=0A = public static final String LOGGER_PARAM =3D "logger";=0D=0A public st= atic final String LOGGER2_PARAM =3D "logger2";=0D=0A public static final= String LEVEL_PARAM =3D "level";=0D=0A public static final String CONSOL= E_PARAM =3D "console";=0D=0A =0D=0A public static final String TRUE =3D = "true";=0D=0A public static final String FALSE =3D "false";=0D=0A pub= lic static final String ROOTLOGGER =3D "rootLogger";=0D=0A public static= final String REQUESTLOGGER =3D "requestLogger";=0D=0A public static fin= al String NOLOGGER =3D "noLogger";=0D=0A public static final String OFF = =3D "off";=0D=0A public static final String FATAL =3D "fatal";=0D=0A = public static final String ERROR =3D "error";=0D=0A public static final = String WARN =3D "warn";=0D=0A public static final String INFO =3D "info"= ;=0D=0A public static final String DEBUG =3D "debug";=0D=0A public st= atic final String TRACE =3D "trace";=0D=0A public static final String AL= L =3D "all";=0D=0A =0D=0A //Initialize global variables=2E=0D=0A //No= te: This overrides log4j=2Eproperties!!!=0D=0A //10/27/08 call to initi= alize() MOVED to Log4JServletDefaultStartup,=0D=0A=0D=0A //so that wheth= er or not to use the hard-coded configuration can be =0D=0A //configured= in web=2Exml=2E=0D=0A //11/18/08: Since any use of the Log4J servlet t= o reset would go=0D=0Aback=0D=0A //to the settings configured in the cod= e, these are no longer=0D=0Ahard-coded=2E=0D=0A //Instead, it's configur= ed using Spring dependency injection in =0D=0A //applicationContext=2Exm= l=2E Log4JServletDefaultStartup is gone=2E=0D=0A //So now, the only rea= son to use the log4j=2Eproperties is if the=0D=0ALog4JServlet=0D=0A //is= completely disabled (not loaded at startup, and no servlet=0D=0Amapping = =0D=0A //points to it)=2E=0D=0A public void init() throws ServletExce= ption=0D=0A {=0D=0A =0D=0A WebApplicationContext ctx =3D = =0D=0A =0D=0AWebApplicationContextUtils=2EgetRequiredWebApplicationContext(= =0D=0A this=2EgetServletContext());=0D=0A config =3D = (Log4JConfig)ctx=2EgetBean("log4j");=0D=0A =0D=0A //The Log4J initia= lization can done in some=0D=0A //Listener class definition,=0D=0A = //if that is what is loaded first=2E=0D=0A =0D=0A initialize()= ;=0D=0A =0D=0A getRequestLogger()=2Einfo("Done with init");=0D=0A = getRootLogger()=2Einfo("Done with init");=0D=0A }=0D=0A =0D=0A /= **=0D=0A * initialize=0D=0A * This replaces the init() method, so t= hat it can be called from=0D=0A * some Listener class, instead of at se= rvlet startup, in case the=0D=0A * Listener is initialized before this = servlet is loaded=2E=0D=0A *=0D=0A * @throws ServletException=0D=0A= */=0D=0A public void initialize()=0D=0A {=0D=0A //Initial= ize the debug log file appender=0D=0A try=0D=0A {=0D=0A = if (getRootLogger()=2EgetAllAppenders()=2EhasMoreElements())=0D=0A = {=0D=0A System=2Eout=2Eprintln("Initializing -- rem= oving all=0D=0ArootLogger appenders");=0D=0A getRootLogger()= =2EremoveAllAppenders();=0D=0A }=0D=0A =0D=0A Pattern= Layout patternLayout =3D new PatternLayout(=0D=0A = "%d{yyyy-MM-dd HH:mm:ss z} [%p] (%c) %m%n");=0D=0A =0D=0A Dail= yRollingFileAppender fileAppender =3D new=0D=0A DailyRol= lingFileAppender(patternLayout, =0D=0A debugLogFilename,= "'=2E'yyyy-MM-dd-HH");=0D=0A fileAppender=2EsetBufferSize(confi= g=2EgetBufferSize());=0D=0A fileAppender=2EsetImmediateFlush(tru= e);=0D=0A fileAppender=2EsetName("rootLoggerDailyRollingFileAppe= nder");=0D=0A =0D=0A RollingFileAppender fileAppender2 =3D new = =0D=0A RollingFileAppender(patternLayout,=0D=0AdebugLogF= ilename);=0D=0A fileAppender2=2EsetMaxFileSize(config=2EgetMaxFi= leSize());=0D=0A fileAppender2=2EsetMaxBackupIndex(config=2EgetM= axBackupIndex());=0D=0A fileAppender2=2EsetBufferSize(config=2Eg= etBufferSize());=0D=0A fileAppender2=2EsetImmediateFlush(true);= =0D=0A fileAppender2=2EsetName("rootLoggerRollingFileAppender");= =0D=0A =0D=0A if (config=2EgetRollingLogType()=2EequalsIgnoreCas= e("daily"))=0D=0A {=0D=0A fileAppender=2Eactivate= Options();=0D=0A BasicConfigurator=2Econfigure(fileAppender)= ;=0D=0A }=0D=0A else if=0D=0A(config=2EgetRollingLogT= ype()=2EequalsIgnoreCase("size"))=0D=0A {=0D=0A f= ileAppender2=2EactivateOptions();=0D=0A BasicConfigurator=2E= configure(fileAppender2);=0D=0A }=0D=0A else=0D=0A = {=0D=0A throw new RuntimeException("Unable to initi= alize log4j:=0D=0A" +=0D=0A "rollingLogType must be = daily or size");=0D=0A }=0D=0A System=2Eout=2Eprintln= ("Log4J rootLogger initialized\n");=0D=0A }=0D=0A catch (IOEx= ception ex1)=0D=0A {=0D=0A System=2Eout=2Eprintln("Error = adding debug log fileAppender " +=0D=0A "- Log4J could n= ot be initialized");=0D=0A ex1=2EprintStackTrace();=0D=0A = }=0D=0A =0D=0ALogger=2EgetRootLogger()=2EsetLevel(Level=2EtoLevel(config= =2EgetStartupLogLevel(=0D=0A)));=0D=0A =0D=0A //Initialize the reque= st log file appender=0D=0A try=0D=0A {=0D=0A if (g= etRequestLogger()=2EgetAllAppenders()=2EhasMoreElements())=0D=0A = {=0D=0A System=2Eout=2Eprintln("Initializing -- removing al= l=0D=0ArequestLogger appenders");=0D=0A getRequestLogger= ()=2EremoveAllAppenders();=0D=0A }=0D=0A else=0D=0A = {=0D=0A System=2Eout=2Eprintln("requestLogger has = no appenders=0D=0Ayet=2E");=0D=0A }=0D=0A =0D=0A Patt= ernLayout patternLayout =3D new=0D=0ACalculatorCSVPatternLayout(=0D=0A = "%d{MMM dd, yyyy HH:mm:ss z},%m%n");=0D=0A =0D=0A = if (config=2EgetRollingLogType()=2EequalsIgnoreCase("daily"))=0D= =0A {=0D=0A getRootLogger()=2Einfo("About to inst= antiate appender for=0D=0ArequestLogger");=0D=0A DailyRollin= gFileAppender fileAppender =3D new=0D=0A DailyRollin= gFileAppender(patternLayout, =0D=0A requestLogFilena= me, "'=2E'yyyy-MM-dd-HH");=0D=0A getRootLogger()=2Einfo("App= ender for requestLogger=0D=0Ainstantiated");=0D=0A fileAppen= der=2EsetBufferSize(config=2EgetBufferSize());=0D=0A fileApp= ender=2EsetImmediateFlush(true);=0D=0A =0D=0AfileAppender=2EsetName("reques= tLoggerDailyRollingFileAppender");=0D=0A getRootLogger()=2Ei= nfo("Options set for appender for=0D=0ArequestLogger");=0D=0A = getRequestLogger()=2EaddAppender(fileAppender);=0D=0A getR= equestLogger()=2Einfo("Just added daily rolling file=0D=0Aappender to reque= stLogger");=0D=0A fileAppender=2EactivateOptions();=0D=0A = getRequestLogger()=2Einfo("Appender options activated");=0D=0A= }=0D=0A else if=0D=0A(config=2EgetRollingLogType()= =2EequalsIgnoreCase("size"))=0D=0A {=0D=0A getRoo= tLogger()=2Einfo("About to instantiate appender2 for=0D=0ArequestLogger");= =0D=0A RollingFileAppender fileAppender2 =3D new =0D=0A = RollingFileAppender(patternLayout, =0D=0A = requestLogFilename);=0D=0A getRootLogger()=2Einfo("= Appender2 for requestLogger=0D=0Ainstantiated");=0D=0A fileA= ppender2=2EsetMaxFileSize(config=2EgetMaxFileSize());=0D=0A =0D=0AfileAppen= der2=2EsetMaxBackupIndex(config=2EgetMaxBackupIndex());=0D=0A = fileAppender2=2EsetBufferSize(config=2EgetBufferSize());=0D=0A = fileAppender2=2EsetImmediateFlush(true);=0D=0A =0D=0AfileAppender2=2Es= etName("requestLoggerRollingFileAppender");=0D=0A getRootLog= ger()=2Einfo("Options set for appender2 for=0D=0ArequestLogger");=0D=0A = getRequestLogger()=2EaddAppender(fileAppender2);=0D=0A = getRequestLogger()=2Einfo("Just added rolling file=0D=0Aappender to = requestLogger");=0D=0A fileAppender2=2EactivateOptions();=0D= =0A getRequestLogger()=2Einfo("Appender options activated");= =0D=0A }=0D=0A else=0D=0A {=0D=0A = throw new RuntimeException("Unable to initialize log4j:=0D=0A" +=0D= =0A "rollingLogType must be daily or size");=0D=0A = }=0D=0A getRootLogger()=2Einfo("About to set requestLo= gger additivity=0D=0Ato false=2E");=0D=0A getRequestLogger()=2Es= etAdditivity(false);=0D=0A System=2Eout=2Eprintln("Log4J request= Logger initialized\n");=0D=0A }=0D=0A catch (IOException ex)= =0D=0A {=0D=0A //If the log file can't be accessed, don't= just write to the=0D=0Adebug log --=0D=0A //Throw an exception = and notify the sysadmin by printing to=0D=0Athe console=2E=0D=0A = ex=2EprintStackTrace();=0D=0A //REQUEST_LOGGER =3D null;=0D=0A = throw new Error("Unable to add fileAppender to request=0D=0ALogg= er",ex);=0D=0A }=0D=0A =0D=0AgetRequestLogger()=2EsetLevel(Level=2Et= oLevel(config=2EgetStartupLogLevel()));=0D=0A getRequestLogger()=2Ei= nfo("Level has been set to " +=0D=0Aconfig=2EgetStartupLogLevel());=0D=0A = System=2Eout=2Eprintln("Done initializing=2E=2E=2E");=0D=0A Sy= stem=2Eout=2Eprintln("Exiting initialize()=2E");=0D=0A }=0D=0A =0D=0A = /**=0D=0A * doGet=0D=0A * Process the HTTP Get request=2E=0D=0A = *=0D=0A * @param request HttpServletRequest=0D=0A * @param respon= se HttpServletResponse=0D=0A * @throws ServletException=0D=0A * @th= rows IOException=0D=0A */=0D=0A public void doGet(HttpServletRequest= request, HttpServletResponse=0D=0Aresponse)=0D=0A throws Servle= tException, IOException=0D=0A {=0D=0A response=2EsetContentType(C= ONTENT_TYPE);=0D=0A =0D=0A PrintWriter out =3D response=2EgetWriter(= );=0D=0A String reset =3D request=2EgetParameter(RESET_PARAM);=0D=0A= String logger =3D request=2EgetParameter(LOGGER_PARAM);=0D=0A = String logger2 =3D request=2EgetParameter(LOGGER2_PARAM);=0D=0A St= ring level =3D request=2EgetParameter(LEVEL_PARAM);=0D=0A String con= sole =3D request=2EgetParameter(CONSOLE_PARAM);=0D=0A =0D=0A if (res= et !=3D null)=0D=0A {=0D=0A if (reset=2EequalsIgnoreCase(= TRUE))=0D=0A {=0D=0A BasicConfigurator=2EresetCon= figuration();=0D=0A initialize();=0D=0A LOGGE= R=2Einfo("All logging has been reset to the default=0D=0A(INFO)<br/>\n");= =0D=0A out=2Eprintln("All logging has been reset to the defa= ult=0D=0A(INFO)<br/>\n");=0D=0A }=0D=0A }=0D=0A =0D=0A = Logger pkgLogger =3D null;=0D=0A =0D=0A if (logger !=3D null &&= logger=2Eequals(ROOTLOGGER))=0D=0A {=0D=0A pkgLogger =3D= Logger=2EgetRootLogger();=0D=0A }=0D=0A else=0D=0A {= =0D=0A if (logger =3D=3D null || logger=2Eequals(""))=0D=0A = {=0D=0A if (logger2 =3D=3D null || logger2=2Eequals("= "))=0D=0A {=0D=0A logger =3D NOLOGGER;=0D= =0A LOGGER=2Einfo("No Logger specified<br/>\n");=0D=0A = out=2Eprintln("No Logger specified<br/>\n");=0D=0A = }=0D=0A else=0D=0A {=0D=0A = logger =3D logger2;=0D=0A }=0D=0A }=0D= =0A =0D=0A pkgLogger =3D Logger=2EgetLogger(logger);=0D=0A = }=0D=0A =0D=0A if (pkgLogger !=3D Logger=2EgetLogger(NOLOGGER))=0D= =0A {=0D=0A if (console !=3D null)=0D=0A {=0D= =0A if (console=2EequalsIgnoreCase(TRUE))=0D=0A = {=0D=0A /*=0D=0A BasicConfigurator= =2Econfigure(new ConsoleAppender(new=0D=0APatternLayout(=0D=0A = "<%d{MMM dd, yyyy HH:mm:ss z}> [%p] (%c)=0D=0A%m%n")));=0D= =0A LOGGER=2Einfo("rootLogger has been set to output to= =0D=0Aconsole<br/>\n");=0D=0A out=2Eprintln("rootLogger = has been set to output to=0D=0Aconsole<br/>\n");=0D=0A *= /=0D=0A PatternLayout patternLayout =3D new PatternLayou= t(=0D=0A "<%d{MMM dd, yyyy HH:mm:ss z}> [%p] (%c= )=0D=0A%m%n");=0D=0A ConsoleAppender appender =3D new=0D= =0AConsoleAppender(patternLayout);=0D=0A appender=2EsetN= ame("console");=0D=0A pkgLogger=2EaddAppender(appender);= =0D=0A LOGGER=2Einfo(logger + " has been set to output t= o=0D=0Aconsole<br/>\n");=0D=0A out=2Eprintln(logger + " = has been set to output to=0D=0Aconsole<br/>\n");=0D=0A }=0D= =0A if (console=2EequalsIgnoreCase(FALSE))=0D=0A = {=0D=0A pkgLogger=2EremoveAppender("console");=0D=0A= LOGGER=2Einfo(logger + " has been reset to NOT output= =0D=0Ato console<br/>\n");=0D=0A out=2Eprintln(logger + = " has been reset to NOT output=0D=0Ato console<br/>\n");=0D=0A = }=0D=0A }=0D=0A =0D=0A if (level !=3D null)=0D=0A = {=0D=0A if (level=2EequalsIgnoreCase(OFF))=0D=0A = {=0D=0A pkgLogger=2EsetLevel(Level=2EOFF)= ;=0D=0A LOGGER=2Einfo(logger + " has been set to OFF<br/= >\n");=0D=0A out=2Eprintln(logger + " has been set to OF= F<br/>\n");=0D=0A }=0D=0A if (level=2EequalsI= gnoreCase(FATAL))=0D=0A {=0D=0A pkgLogger= =2EsetLevel(Level=2EFATAL);=0D=0A LOGGER=2Einfo(logger += " has been set to=0D=0AFATAL<br/>\n");=0D=0A out=2Eprin= tln(logger + " has been set to=0D=0AFATAL<br/>\n");=0D=0A }= =0D=0A if (level=2EequalsIgnoreCase(ERROR))=0D=0A = {=0D=0A pkgLogger=2EsetLevel(Level=2EERROR);=0D=0A = LOGGER=2Einfo(logger + " has been set to=0D=0AERROR<br/>= \n");=0D=0A out=2Eprintln(logger + " has been set to=0D= =0AERROR<br/>\n");=0D=0A }=0D=0A if (level=2E= equalsIgnoreCase(WARN))=0D=0A {=0D=0A pkg= Logger=2EsetLevel(Level=2EWARN);=0D=0A LOGGER=2Einfo(log= ger + " has been set to=0D=0AWARN<br/>\n");=0D=0A out=2E= println(logger + " has been set to=0D=0AWARN<br/>\n");=0D=0A = }=0D=0A if (level=2EequalsIgnoreCase(INFO))=0D=0A = {=0D=0A pkgLogger=2EsetLevel(Level=2EINFO);=0D=0A = LOGGER=2Einfo(logger + " has been set to=0D=0AINFO<br/>\= n");=0D=0A out=2Eprintln(logger + " has been set to=0D= =0AINFO<br/>\n");=0D=0A }=0D=0A if (level=2Ee= qualsIgnoreCase(DEBUG))=0D=0A {=0D=0A pkg= Logger=2EsetLevel(Level=2EDEBUG);=0D=0A LOGGER=2Einfo(lo= gger + " has been set to=0D=0ADEBUG<br/>\n");=0D=0A out= =2Eprintln(logger + " has been set to=0D=0ADEBUG<br/>\n");=0D=0A = }=0D=0A if (level=2EequalsIgnoreCase(TRACE))=0D=0A = {=0D=0A pkgLogger=2EsetLevel(Level=2ETRACE);= =0D=0A LOGGER=2Einfo(logger + " has been set to=0D=0ATRA= CE<br/>\n");=0D=0A out=2Eprintln(logger + " has been set= to=0D=0ATRACE<br/>\n");=0D=0A }=0D=0A if (le= vel=2EequalsIgnoreCase(ALL))=0D=0A {=0D=0A = pkgLogger=2EsetLevel(Level=2EALL);=0D=0A LOGGER=2Einfo= (logger + " has been set to ALL<br/>\n");=0D=0A out=2Epr= intln(logger + " has been set to ALL<br/>\n");=0D=0A }=0D=0A= System=2Eout=2Eprintln("pkgLogger: " + pkgLogger + ", name:= =0D=0A" + =0D=0A pkgLogger=2EgetName() + ", level: "= +=0D=0ApkgLogger=2EgetLevel());=0D=0A pkgLogger=2Efatal("FA= TAL test for logger " + logger);=0D=0A pkgLogger=2Eerror("ER= ROR test for logger " + logger);=0D=0A pkgLogger=2Ewarn("WAR= N test for logger " + logger);=0D=0A pkgLogger=2Einfo("INFO = test for logger " + logger);=0D=0A pkgLogger=2Edebug("DEBUG = test for logger " + logger);=0D=0A pkgLogger=2Etrace("TRACE = test for logger " + logger);=0D=0A }=0D=0A }=0D=0A }= =0D=0A =0D=0A /**=0D=0A * doPost=0D=0A * Process the HTTP Post r= equest=2E=0D=0A *=0D=0A * @param request HttpServletRequest=0D=0A = * @param response HttpServletResponse=0D=0A * @throws ServletExcepti= on=0D=0A * @throws IOException=0D=0A */=0D=0A public void doPost= (HttpServletRequest request, HttpServletResponse=0D=0Aresponse)=0D=0A = throws ServletException, IOException=0D=0A {=0D=0A doGet(re= quest, response);=0D=0A }=0D=0A =0D=0A /**=0D=0A * doPut=0D=0A = * Process the HTTP Put request=2E=0D=0A *=0D=0A * @param request = HttpServletRequest=0D=0A * @param response HttpServletResponse=0D=0A = * @throws ServletException=0D=0A * @throws IOException=0D=0A */= =0D=0A public void doPut(HttpServletRequest request, HttpServletResponse= =0D=0Aresponse)=0D=0A throws ServletException, IOException=0D=0A= {=0D=0A doGet(request, response);=0D=0A }=0D=0A =0D=0A /**= =0D=0A * destroy=0D=0A * Clean up resources=2E=0D=0A */=0D=0A = public void destroy()=0D=0A {=0D=0A /*=0D=0A if (getRequ= estLogger()=2EgetAllAppenders()=2EhasMoreElements())=0D=0A {=0D=0A = getRequestLogger()=2EremoveAllAppenders();=0D=0A Syste= m=2Eout=2Eprintln("Log4J servlet destroy: " +=0D=0A "all= Log4J requestLogger appenders have been=0D=0Aremoved=2E");=0D=0A }= =0D=0A else=0D=0A {=0D=0A System=2Eout=2Eprintln("= Log4JServlet destroy: " +=0D=0A "No requestLogger append= ers to remove=2E");=0D=0A }=0D=0A =0D=0A if (getRootLogger()= =2EgetAllAppenders()=2EhasMoreElements())=0D=0A {=0D=0A g= etRootLogger()=2EremoveAllAppenders();=0D=0A System=2Eout=2Eprin= tln("Log4J servlet destroy: " +=0D=0A "all Log4J rootLog= ger appenders have been=0D=0Aremoved=2E");=0D=0A }=0D=0A else= =0D=0A {=0D=0A System=2Eout=2Eprintln("Log4JServlet destr= oy: " +=0D=0A "No rootLogger appenders to remove=2E");= =0D=0A }=0D=0A =0D=0A BasicConfigurator=2EresetConfiguration(= );=0D=0A System=2Eout=2Eprintln("Log4J servlet destroy: all Log4J ap= penders=0D=0Ahave been reset=2E");=0D=0A */=0D=0A LogManager= =2Eshutdown();=0D=0A System=2Eout=2Eprintln("Log4J servlet destroyed= : log4j has been=0D=0Ashutdown=2E");=0D=0A System=2Eout=2Eprintln("C= hecking for dangling rootLogger=0D=0Aappenders=2E=2E=2E");=0D=0A Enu= meration rootAppenders =3D getRootLogger()=2EgetAllAppenders();=0D=0A = while (rootAppenders=2EhasMoreElements())=0D=0A {=0D=0A = Appender nextAppender =3D=0D=0A(Appender)rootAppenders=2EnextElement();=0D= =0A System=2Eout=2Eprintln("\tAppender: " + nextAppender + ", na= me=3D"=0D=0A+=0D=0A nextAppender=2EgetName());=0D=0A = if=0D=0A(FileAppender=2Eclass=2EisAssignableFrom(nextAppender=2Eget= Class()))=0D=0A {=0D=0A System=2Eout=2Eprintln("\= t\tfilename: " +=0D=0A((FileAppender)nextAppender)=2EgetFile());=0D=0A = }=0D=0A if=0D=0A(WriterAppender=2Eclass=2EisAssignableFro= m(nextAppender=2EgetClass()))=0D=0A {=0D=0A Write= rAppenderQWriterAccessor viewer =3D =0D=0A new=0D=0A= WriterAppenderQWriterAccessor((WriterAppender)nextAppender);=0D=0A = System=2Eout=2Eprintln("\t\tClosing QuietWriter: " +=0D=0Aviewer=2Eg= etWriter());=0D=0A try=0D=0A {=0D=0A = viewer=2EgetWriter()=2Eclose();=0D=0A }=0D=0A = catch (IOException ioe)=0D=0A {=0D=0A = System=2Eout=2Eprintln("\t\tException closing rootLogger=0D=0AQuie= tWriter");=0D=0A }=0D=0A System=2Eout=2Eprint= ln("\t\tQuietWriter closed=2E");=0D=0A }=0D=0A }=0D=0A = System=2Eout=2Eprintln("=2E=2E=2Edone=2E\n");=0D=0A }=0D=0A =0D=0A = /**=0D=0A * getLogger=0D=0A * Access to the underlying log4j=2EL= ogger class=2E=0D=0A *=0D=0A * @param clazz Class=0D=0A * @retu= rn Logger=0D=0A */=0D=0A public static Logger getLogger(Class clazz)= =0D=0A {=0D=0A return Logger=2EgetLogger(clazz);=0D=0A }=0D=0A= =0D=0A /**=0D=0A * getLogger=0D=0A * Access to the underlying l= og4j=2ELogger class=2E=0D=0A *=0D=0A * @param loggerName String=0D= =0A * @return Logger=0D=0A */=0D=0A public static Logger getLogg= er (String loggerName)=0D=0A {=0D=0A return Logger=2EgetLogger(lo= ggerName);=0D=0A }=0D=0A public static Logger getRootLogger()=0D=0A = {=0D=0A return Logger=2EgetRootLogger();=0D=0A }=0D=0A =0D=0A = public static Logger getRequestLogger()=0D=0A {=0D=0A return Lo= gger=2EgetLogger(REQUEST_LOG);=0D=0A }=0D=0A =0D=0A public static = void listAllAppenders(Logger logger)=0D=0A {=0D=0A //Check if the= logger's hierarchy is the default hierarchy=0D=0A System=2Eout=2Epr= intln("is the current LoggerRepository the default=0D=0ALoggerRepository? "= );=0D=0A System=2Eout=2Eprintln(LogManager=2EgetLoggerRepository() = =3D=3D =0D=0A logger=2EgetLoggerRepository());=0D=0A = =0D=0A System=2Eout=2Eprintln("All of the appenders: ");=0D=0A = Logger rootLogger =3D logger=2EgetRootLogger();=0D=0A Enumeration = rootLoggerAppenders =3D rootLogger=2EgetAllAppenders();=0D=0A System= =2Eout=2Eprintln("rootLogger: " + rootLogger + ", name=3D" + =0D=0A = rootLogger=2EgetName() + ", level =3D" +=0D=0ArootLogger=2EgetLevel= ());=0D=0A while (rootLoggerAppenders=2EhasMoreElements())=0D=0A = {=0D=0A Appender nextAppender =3D=0D=0A(Appender)rootLoggerA= ppenders=2EnextElement();=0D=0A System=2Eout=2Eprintln("\tAppend= er: " + nextAppender + ", name=3D"=0D=0A+=0D=0A nextAppe= nder=2EgetName());=0D=0A if=0D=0A(WriterAppender=2Eclass=2EisAss= ignableFrom(nextAppender=2EgetClass()))=0D=0A {=0D=0A = WriterAppenderQWriterAccessor viewer =3D =0D=0A = new=0D=0AWriterAppenderQWriterAccessor((WriterAppender)nextAppender);=0D= =0A System=2Eout=2Eprintln("\t\tquietWriter: " +=0D=0Aviewer= =2EgetWriter());=0D=0A }=0D=0A if=0D=0A(FileAppender= =2Eclass=2EisAssignableFrom(nextAppender=2EgetClass()))=0D=0A {= =0D=0A System=2Eout=2Eprintln("\t\tfilename: " +=0D=0A((File= Appender)nextAppender)=2EgetFile());=0D=0A }=0D=0A }=0D= =0A Enumeration loggers =3D=0D=0Alogger=2EgetLoggerRepository()=2Ege= tCurrentLoggers();=0D=0A while (loggers=2EhasMoreElements())=0D=0A = {=0D=0A Logger nextLogger =3D (Logger)loggers=2EnextElemen= t();=0D=0A System=2Eout=2Eprintln("Logger: " + nextLogger + ", n= ame=3D" + =0D=0A nextLogger=2EgetName() + ", level =3D" = +=0D=0AnextLogger=2EgetLevel());=0D=0A Enumeration appenders =3D= nextLogger=2EgetAllAppenders();=0D=0A while (appenders=2EhasMor= eElements())=0D=0A {=0D=0A Appender nextAppender = =3D=0D=0A(Appender)appenders=2EnextElement();=0D=0A System= =2Eout=2Eprintln("\tAppender: " + nextAppender + ",=0D=0Aname=3D" +=0D=0A = nextAppender=2EgetName());=0D=0A if=0D= =0A(WriterAppender=2Eclass=2EisAssignableFrom(nextAppender=2EgetClass()))= =0D=0A {=0D=0A WriterAppenderQWriterAcces= sor viewer =3D =0D=0A new=0D=0AWriterAppenderQWr= iterAccessor((WriterAppender)nextAppender);=0D=0A System= =2Eout=2Eprintln("\t\tquietWriter: " +=0D=0Aviewer=2EgetWriter());=0D=0A = }=0D=0A if=0D=0A(FileAppender=2Eclass=2EisAssig= nableFrom(nextAppender=2EgetClass()))=0D=0A {=0D=0A = System=2Eout=2Eprintln("\t\tfilename: " +=0D=0A((FileAppender)ne= xtAppender)=2EgetFile());=0D=0A }=0D=0A }=0D=0A = }=0D=0A }=0D=0A}=0D=0A =0D=0A-------------------------------------= -----------------------------------=0D=0A---------------------------------= =0D=0AExtract of the the code whose log messages are getting blocked or=0D= =0Abuffered:=0D=0A =0D=0Apackage com=2Equest=2Enichols=2Egenetics_rd=2Ekais= er=2Econtroller;=0D=0A=2E=0D=0A=2E=0D=0A=2E=0D=0Aimport com=2Equest=2Enicho= ls=2Egenetics_rd=2Ekaiser=2Ecalculator=2E*;=0D=0Aimport com=2Equest=2Enicho= ls=2Egenetics_rd=2Ekaiser=2Emodel=2E*;=0D=0Aimport com=2Equest=2Enichols=2E= genetics_rd=2Ekaiser=2Evalidator=2E*;=0D=0Aimport=0D=0Acom=2Equest=2Enichol= s=2Egenetics_rd=2Ekaiser=2Evalidator=2EInputDataBean=2ERace;=0D=0Aimport co= m=2Equest=2Enichols=2Egenetics_rd=2Ekaiser=2Evalidator=2EInputValidator;=0D= =0Aimport com=2Equest=2Enichols=2Egenetics_rd=2Elog4j=2ECalculatorCSVPatter= nLayout;=0D=0Aimport com=2Equest=2Enichols=2Egenetics_rd=2Elog4j=2ELog4JSer= vlet;=0D=0Aimport=0D=0Acom=2Equest=2Enichols=2Egenetics_rd=2Eutilities=2EPe= rformanceMonitoringUtilities;=0D=0A =0D=0A/**=0D=0A *=0D=0A * @author rebec= cah=2Eh=2Eprastein=0D=0A */=0D=0Apublic class WebCalculatorController exten= ds SimpleFormController=0D=0A{=0D=0A /** Logger for this class and subcl= asses */=0D=0A protected final Logger LOGGER =3D Logger=2EgetLogger(getC= lass());=0D=0A protected final Logger REQUEST_LOGGER =3D=0D=0ALog4JServl= et=2EgetRequestLogger();=0D=0A private static DateFormat dateFormat =3D = new=0D=0ASimpleDateFormat("MM/dd/yyyy");=0D=0A =0D=0A private Reloada= bleResourceBundleMessageSource messageSource;=0D=0A private String callQ= uestView;=0D=0A private String macielErrorView;=0D=0A private ConfigD= ata configData;=0D=0A=2E=0D=0A=2E=0D=0A=2E=0D=0A @Override=0D=0A publ= ic ModelAndView onSubmit(Object obj, BindException errors)=0D=0A {=0D= =0A InputDataBean givenData =3D (InputDataBean)obj;=0D=0A =0D=0A = //The givenData object now contains the successfully validated=0D=0Adat= a from =0D=0A //the form, so can be written to a database, or whatev= er=2E=0D=0A =0D=0A LOGGER=2Einfo("Form data successfully submitted")= ;=0D=0A=2E=0D=0A=2E=0D=0A=2E=0D=0A if (successful)=0D=0A = {=0D=0A=2E=0D=0A=2E=0D=0A=2E=0D=0A successful =3D valida= tor=2EisSuccessful(errors2);=0D=0A System=2Eout=2Eprintln("S= hould be logging successful Maciel=0D=0Aquery to requestLogger");=0D=0A = LOGGER=2Einfo(", should be logging successful Maciel query=0D= =0Ato requestLogger");=0D=0A REQUEST_LOGGER=2Einfo("," +=0D= =0ACalculatorCSVPatternLayout=2EtoCsvRecord(patient));=0D=0A = Log4JServlet=2EgetRequestLogger()=2Einfo("Successful Maciel=0D=0Aquery to = newly re-accessed requestLogger");=0D=0A =0D=0ALog4JServlet=2ElistAllAppend= ers(Log4JServlet=2EgetRootLogger());=0D=0A PerformanceMonito= ringUtilities=2EdumpVmInfo();=0D=0A }=0D=0A=2E=0D=0A=2E=0D=0A=2E= =0D=0A }=0D=0A=2E=0D=0A=2E=0D=0A=2E=0D=0A}=0D=0A=0D=0A=0D=0A=0D=0A------= ------------------------------------=0D=0AThe contents of this message, tog= ether with any attachments, are=0Aintended only for the use of the person(s= ) to which they are=0Aaddressed and may contain confidential and/or privile= ged=0Ainformation=2E Further, any medical information herein is=0Aconfident= ial and protected by law=2E It is unlawful for unauthorized=0Apersons to us= e, review, copy, disclose, or disseminate confidential=0Amedical informatio= n=2E If you are not the intended recipient,=0Aimmediately advise the sender= and delete this message and any=0Aattachments=2E Any distribution, or copy= ing of this message, or any=0Aattachment, is prohibited=2E ------_=_NextPart_001_01C95AFE.A2C87311-- From [email protected] Thu Dec 11 18:19:38 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58146 invoked from network); 11 Dec 2008 07:12:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Dec 2008 07:12:58 -0000 Received: (qmail 92196 invoked by uid 500); 11 Dec 2008 07:13:08 -0000 Delivered-To: [email protected] Received: (qmail 92165 invoked by uid 500); 11 Dec 2008 07:13:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 92154 invoked by uid 99); 11 Dec 2008 07:13:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Dec 2008 23:13:08 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qy0-f20.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Dec 2008 07:12:47 +0000 Received: by qyk13 with SMTP id 13so1922596qyk.22 for <[email protected]>; Wed, 10 Dec 2008 23:12:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=6lTrORuj6jPkpS4ql3/XaWL1frThj76s5d2H7cHnmgI=; b=m+9II2IAM6BvidQtpEhggLgpWJV8N/IWk9RHEVRDagcndD7FFIJwNOSyAmmhQ0p8cv CCZyoZkl+u0561OGyUs7tWcxSLReQaVB4rGTLK7kd/y1npfXW0vXYP7P+m7s+uyyyLhL xbk92n93s2X2qxbBdHecwbYdzrEXIPozoHUWg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=pH0QBiuCXpungAaTyr5HlOJuJIUcbM41ZNE5W6wQ0A5P5ujhW/lrRj6Qhvef0sXTYa M91bJRmimJZsP9akvTHiPKuQ0PtqzOBxfHFpYHAxpeBSxIdu+x/aFZEgBSVUHUM3wahi OPkKqp/gmA9xDYLPBSOlz68CFusGImtAT34ts= Received: by 161.129.204.104 with SMTP id t14mr3181414qaj.338.1228979546333; Wed, 10 Dec 2008 23:12:26 -0800 (PST) Received: by 161.129.204.104 with HTTP; Wed, 10 Dec 2008 23:12:26 -0800 (PST) Message-ID: <[email protected]> Date: Thu, 11 Dec 2008 12:42:26 +0530 From: "Ravi Roy" <[email protected]> To: [email protected] Subject: Project containing multiple packages : Log4j does not write to log file. MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi All, I am new to Log4j, so forgive me in case I am asking too trivial quesion. The follwing code works fine, when I create a new project in Eclipse and run that code, it creates log file under c:\Temp, but when same file I copy to a existing project having multiple packages, it does not work and log file gets created under c:\Temp but nothing is written in that. Can some body tell me where I am wrong please ? Regards Ravi. import java.io.File; import java.io.IOException; import org.apache.log4j.Logger; import org.apache.log4j.Category; import org.apache.log4j.ConsoleAppender; import org.apache.log4j.FileAppender; import org.apache.log4j.PatternLayout; import org.apache.log4j.RollingFileAppender; import org.apache.log4j.Category; import org.apache.log4j.Level; /** * Logging Sample. * @author Ravi * */ public class TestLogging { public static final Logger aLogger = Logger.getLogger(TestLogging.class); String aLogFile; public void doLogging () { aLogger.info("test log"); } public static void main (String[] args) { TestLogging testLogging = new TestLogging(); testLogging.startLogging(); testLogging.doLogging(); } public void startLogging () { PatternLayout layout = new PatternLayout("%d [%p] %c %m%n"); String logFolder = "C:\\Temp"; aLogFile = logFolder + "\\" + "TestLogging" + ".log"; ConsoleAppender con = new ConsoleAppender(layout); con.setName("ConsoleLog"); con.setThreshold(Level.INFO); aLogger.addAppender(con); try { File aFile = new File(logFolder); aFile.mkdirs(); RollingFileAppender file = new RollingFileAppender(layout, aLogFile); file.setName("FileLog"); file.setMaxFileSize("1MB"); file.setThreshold(Level.INFO); aLogger.addAppender(file); } catch (IOException ex) { aLogger.warn("Failed to create file appender", ex); } } } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Dec 12 00:47:24 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28223 invoked from network); 12 Dec 2008 00:47:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Dec 2008 00:47:24 -0000 Received: (qmail 30361 invoked by uid 500); 12 Dec 2008 00:47:34 -0000 Delivered-To: [email protected] Received: (qmail 30337 invoked by uid 500); 12 Dec 2008 00:47:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 30326 invoked by uid 99); 12 Dec 2008 00:47:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Dec 2008 16:47:33 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f17.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Dec 2008 00:47:13 +0000 Received: by bwz10 with SMTP id 10so3503137bwz.22 for <[email protected]>; Thu, 11 Dec 2008 16:46:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=JDu6f9e2soXYR2KnR4p9wpV+kdD7krc2N3yPInG6Qks=; b=TKoEZCEMtVbI8mJ9QrFG2VyPHL8Pi1o90W8xupeRHNHZPDGp3N1YbJ7NLbxm8nDss8 qYh6CAzzRwoit+9MxbaHTuop1mT+Yu6PelqS/mJv/v3mS+ys2K45FQ/8OsQvsLz1QQCc o1me06dyYjjDkNJsrXhaU8HFzMgtl1hHu8Kdk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=c0ZA6MEVt1mz01u4xome/mIzlP1adLNz47248LYqyL9gYMkUiFJIndnzheTQeBg8hB qh8R0Zd6rOGQdRQ/pwk8UjYB/b7Ck5y8ByiYaNEX0PkDQ/IBjkldeuv4xrZTeyfzJSq2 I+DkRC8g4cwcIWIAmdR91SjajC/El9w++GbjY= Received: by 161.129.204.104 with SMTP id k18mr3662112faq.104.1229042740969; Thu, 11 Dec 2008 16:45:40 -0800 (PST) Received: by 161.129.204.104 with HTTP; Thu, 11 Dec 2008 16:45:40 -0800 (PST) Message-ID: <[email protected]> Date: Thu, 11 Dec 2008 16:45:40 -0800 From: "Jakob Homan" <[email protected]> To: [email protected] Subject: Setting arbitrary substitution values in log4j.xml? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org I'm converting our project's log4j.properties to the log4j.xml in order to take advantage of the automatic rolling compression. Previously, we had lines such as: ourapp.log.dir=. ourapp.log.file= ourapp.log Which were then substituted later on in such lines as log4j.appender.DRFA.File=${ourapp.log.dir}/${ourapp.log.file} This allowed us to use the default values defined in the log4j.properties file or to redefine them at run time. My question is: how do I accomplish this within the log4j.xml? I can't find anywhere in the DTD for defining arbitrary values. It seems to work defining them as params within the root element, but it generates the following warning: log4j:WARN No such property [ourapp.log.dir] in org.apache.log4j.spi.RootLogger. log4j:WARN No such property [ourapp.log.file] in org.apache.log4j.spi.RootLogger. Can I find out if this is the correct way of doing this, and if so, how I can turn off that warning, or can I find the correct way to do this within log4j.xml? Thanks, Jakob Homan --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Dec 12 08:24:56 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25786 invoked from network); 12 Dec 2008 08:24:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Dec 2008 08:24:56 -0000 Received: (qmail 27996 invoked by uid 500); 12 Dec 2008 08:25:06 -0000 Delivered-To: [email protected] Received: (qmail 27963 invoked by uid 500); 12 Dec 2008 08:25:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 27952 invoked by uid 99); 12 Dec 2008 08:25:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Dec 2008 00:25:06 -0800 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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO fk-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Dec 2008 08:24:44 +0000 Received: by fk-out-0910.google.com with SMTP id z22so908043fkz.6 for <[email protected]>; Fri, 12 Dec 2008 00:24:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=0pOhzuczfTC2F4jep9BMjm6JoaqMR75uvF1y0mNlQHY=; b=ewDcvPD2ruOLgTghKja2asQVxT3zZqsF+RvIuyS3+Sc1GMi1ZHhNoHthWtLrvlPLQP +QSt9NAleDfniqESML2zUzhP8vILZ8NJtShoURZxdYk+cog6+RFxTUY88AfZNaJtAmdH HZ5qfUYMFjsrIE0QcpmdWHYxPNXkyyVp47264= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=L/xz8aEHKB/jMnC70kX8kTteID8wOoXhtNjzQmVvC83C5/aY4XE6cP55/ds60cnWTe W0mvc/vR4dVGlrcCdSD4KQYrz1envmh0XV8/8ho1vYxb7isvbrVZIL0MWg6djat2DmkE UhK5RX2J8hJVgk4FDw5MgkW3lrHRc6TcRmRlE= Received: by 161.129.204.104 with SMTP id y15mr1197840bkq.121.1229070263185; Fri, 12 Dec 2008 00:24:23 -0800 (PST) Received: by 161.129.204.104 with HTTP; Fri, 12 Dec 2008 00:24:23 -0800 (PST) Message-ID: <[email protected]> Date: Fri, 12 Dec 2008 09:24:23 +0100 From: "Maarten Bosteels" <[email protected]> To: "Log4J Users List" <[email protected]> Subject: Re: Setting arbitrary substitution values in log4j.xml? In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2956_32370940.1229070263161" References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_2956_32370940.1229070263161 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello Jakob, I had the same question 10 months ago and found a workaround : http://markmail.org/message/tevhpgptgesqvrgu Maybe it's time to file an enhancement request. Maarten On Fri, Dec 12, 2008 at 1:45 AM, Jakob Homan <[email protected]> wrote: > I'm converting our project's log4j.properties to the log4j.xml in > order to take advantage of the automatic rolling compression. > Previously, we had lines such as: > > ourapp.log.dir=. > ourapp.log.file= ourapp.log > > Which were then substituted later on in such lines as > log4j.appender.DRFA.File=${ourapp.log.dir}/${ourapp.log.file} > > This allowed us to use the default values defined in the > log4j.properties file or to redefine them at run time. > > My question is: how do I accomplish this within the log4j.xml? I > can't find anywhere in the DTD for defining arbitrary values. It > seems to work defining them as params within the root element, but it > generates the following warning: > log4j:WARN No such property [ourapp.log.dir] in > org.apache.log4j.spi.RootLogger. > log4j:WARN No such property [ourapp.log.file] in > org.apache.log4j.spi.RootLogger. > > Can I find out if this is the correct way of doing this, and if so, > how I can turn off that warning, or can I find the correct way to do > this within log4j.xml? > > Thanks, > Jakob Homan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > ------=_Part_2956_32370940.1229070263161-- From [email protected] Fri Dec 12 22:10:02 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95335 invoked from network); 12 Dec 2008 22:10:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Dec 2008 22:10:02 -0000 Received: (qmail 66186 invoked by uid 500); 12 Dec 2008 22:10:14 -0000 Delivered-To: [email protected] Received: (qmail 65509 invoked by uid 500); 12 Dec 2008 22:10:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 65498 invoked by uid 99); 12 Dec 2008 22:10:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Dec 2008 14:10:12 -0800 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO smtp.ufl.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Dec 2008 22:09:57 +0000 Received: from [161.129.204.104] ([161.129.204.104]) (authenticated bits=0) by smtp.ufl.edu (8.14.0/8.14.0/3.0.0) with ESMTP id mBCM9YX8022764; Fri, 12 Dec 2008 17:09:35 -0500 Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <[email protected]> Cc: S K <[email protected]> Content-Transfer-Encoding: 7bit From: S K <[email protected]> Subject: Re: Problem in using SMTPAppender with gmail Date: Fri, 12 Dec 2008 17:09:32 -0500 To: [email protected] X-Mailer: Apple Mail (2.753.1) X-Virus-Scanned: ClamAV 0.92/8750/Fri Dec 12 14:17:14 2008 on mailfilter05.cns.ufl.edu X-Virus-Status: Clean X-UFL-Spam-Status: hits=-3, required=5, tests=ALL_TRUSTED X-Scanned-By: CNS Open Systems Group (http://open-systems.ufl.edu/services/smtp-relay/) X-UFL-Scanned-By: CNS Open Systems Group (http://open-systems.ufl.edu/services/smtp-relay/) X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: hits=-3, required=5, tests=ALL_TRUSTED Hello All, I am trying out a simple application to test log4j to send out email through gmail. I have followed the instructions by VMMM. So this is how my code looks: public class LogCheck { private static Logger log; public static void main(String args[]) { System.setProperty("mail.smtps.host", "smtp.gmail.com"); System.setProperty("mail.smtps.auth", "true"); System.setProperty("mail.debug", "true"); log = Logger.getLogger(LogCheck.class); log.info("This is an info log "); log.error("This is an error log "); System.out.println("Done!"); } } The contents of my log4j properties file: log4j.rootCategory=DEBUG, R, M log4j.logger.org.apache=OFF, R, M log4j.appender.M=org.apache.log4j.net.SMTPAppender log4j.appender.M.Threshold=INFO log4j.appender.M.SMTPHost=smtp.gmail.com log4j.appender.mail.SMTPUsername=**** log4j.appender.mail.SMTPPassword=**** log4j.appender.M.Subject=Log4j error [email protected] [email protected] log4j.appender.M.layout=org.apache.log4j.PatternLayout log4j.appender.M.layout.ConversionPattern=Date : %d{DATE}%n\ Level : %p%nThread: %t%nClass : %c%nLine : %l%n\ Message: %m%n%n Contents of the javamail.address.map file: rfc822=smtps When I run the code I get the following error: DEBUG: JavaMail version 1.4.1 DEBUG: not loading file: /local/.../jre/lib/javamail.providers DEBUG: java.io.FileNotFoundException: /local/.../jre/lib/ javamail.providers (No such file or directory) DEBUG: !anyLoaded DEBUG: not loading resource: /META-INF/javamail.providers DEBUG: successfully loaded resource: /META-INF/ javamail.default.providers DEBUG: Tables of loaded providers DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider [TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider [TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider [STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider [STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider [STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider [STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]} DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider [STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider [TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.Provider [STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], pop3s=javax.mail.Provider [STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], smtp=javax.mail.Provider [TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]} DEBUG: successfully loaded resource: /META-INF/ javamail.default.address.map DEBUG: !anyLoaded DEBUG: not loading resource: /META-INF/javamail.address.map DEBUG: successfully loaded file: /local/.../jre/lib/javamail.address.map DEBUG: getProvider() returning javax.mail.Provider [TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc] DEBUG SMTP: useEhlo true, useAuth true log4j:ERROR Error occured while sending e-mail notification. javax.mail.AuthenticationFailedException at javax.mail.Service.connect(Service.java:319) at javax.mail.Service.connect(Service.java:169) at javax.mail.Service.connect(Service.java:118) at javax.mail.Transport.send0(Transport.java:188) at javax.mail.Transport.send(Transport.java:118) at org.apache.log4j.net.SMTPAppender.sendBuffer (SMTPAppender.java:330) at org.apache.log4j.net.SMTPAppender.append (SMTPAppender.java:215) at org.apache.log4j.AppenderSkeleton.doAppend (AppenderSkeleton.java:251) at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders (AppenderAttachableImpl.java:66) at org.apache.log4j.Category.callAppenders(Category.java:206) at org.apache.log4j.Category.forcedLog(Category.java:391) at org.apache.log4j.Category.error(Category.java:305) at LogCheck.main(LogCheck.java:18) Done! It would be great if any of you could provide me with any clues on what could be happening here. I am sure the authentication information is correct, since I have checked that out many times. Thank you. -SK --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Dec 12 22:41:17 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14051 invoked from network); 12 Dec 2008 22:41:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Dec 2008 22:41:17 -0000 Received: (qmail 93069 invoked by uid 500); 12 Dec 2008 22:41:24 -0000 Delivered-To: [email protected] Received: (qmail 93048 invoked by uid 500); 12 Dec 2008 22:41:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 93037 invoked by uid 99); 12 Dec 2008 22:41:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Dec 2008 14:41:23 -0800 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO outbound-mail-112.bluehost.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 12 Dec 2008 22:41:06 +0000 Received: (qmail 2549 invoked by uid 0); 12 Dec 2008 22:40:44 -0000 Received: from unknown (HELO host111.hostmonster.com) (161.129.204.104) by outboundproxy3.bluehost.com with SMTP; 12 Dec 2008 22:40:44 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=asidejob.com; h=Received:Received:Message-ID:Date:From:To:Subject:References:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:User-Agent:X-Identified-User; b=hSXKPpeGXBpyyNJvnTFLkzwCT18xLBDRAFOlliBA/BLsiwS5aD/jJ0kJk9/HhJzyrKaE1B5g07l7dpBDaQzvM6FFRL/TpdwZq+fbYr89gPF2ERHCX7LuVJpa0jr1cbZE; Received: from localhost ([161.129.204.104]) by host111.hostmonster.com with esmtpa (Exim 4.69) (envelope-from <[email protected]>) id 1LBGge-0002mB-5V for [email protected]; Fri, 12 Dec 2008 15:40:44 -0700 Received: from 161.129.204.104 ([161.129.204.104]) by asidejob.com (Horde MIME library) with HTTP; Fri, 12 Dec 2008 14:40:43 -0800 Message-ID: <[email protected]> Date: Fri, 12 Dec 2008 14:40:43 -0800 From: Joe White <[email protected]> To: [email protected] Subject: Re: Problem in using SMTPAppender with gmail References: <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_6p982nv9gp63" Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.6) X-Identified-User: {0:host111.hostmonster.com:root:host111.hostmonster.com} {sentby:program running on server} X-Virus-Checked: Checked by ClamAV on apache.org --=_6p982nv9gp63 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Description: Plaintext Version of Message Content-Disposition: inline Content-Transfer-Encoding: quoted-printable According to the stack trace, authentication failed. javax.mail.AuthenticationFailedException =A0 =A0 =A0 =A0 =A0at javax.mail.Service.connect(Service.java:319) =A0 =A0 =A0 =A0 =A0at javax.mail.Service.connect(Service.java:169) =A0 =A0 =A0 =A0 =A0at javax.mail.Service.connect(Service.java:118) =A0 =A0 =A0 =A0 =A0at javax.mail.Transport.send0(Transport.java:188) =A0 =A0 =A0 =A0 =A0at javax.mail.Transport.send(Transport.java:118) =A0 =A0 =A0 =A0 =A0at org.apache.log4j.net.SMTPAppender.sendBuffer I'm not sure if I'm reading this correctly, but it appears that you =20 need to specify a port other then 25. http://mail.google.com/support/bin/answer.py?hl=3Den&answer=3D13287 I also noticed that you have mail.smtps.*. I'm doing the same thing you are, minus gmail and I have this which works= . =A0=A0 =A0 =A0 =A0 =A0 props.put("mail.transport.protocol"=A0=A0=A0 , "sm= tp"); =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 props.put("mail.smtp.host", SMTP_HOST_NAME); =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 props.put("mail.smtp.port",SMTP_PORT); =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 props.put("mail.smtp.auth", "true"); Good luck , Quoting S K <[email protected]>: > Hello All, > > I am trying out a simple application to test log4j to send out email > through gmail. I have followed the instructions by VMMM. So this is > how my code looks: > > public class LogCheck { > > =A0 =A0 =A0 private static Logger log; > =A0 =A0 =A0 public static void main(String args[]) { > =A0 =A0 =A0 =A0 =A0System.setProperty("mail.smtps.host", "smtp.gmail.com")= ; > =A0 =A0 =A0 =A0 =A0System.setProperty("mail.smtps.auth", "true"); > =A0 =A0 =A0 =A0 =A0System.setProperty("mail.debug", "true"); > > =A0 =A0 =A0 =A0 =A0log =3D Logger.getLogger(LogCheck.class); > =A0 =A0 =A0 =A0 =A0log.info("This is an info log "); > =A0 =A0 =A0 =A0 =A0log.error("This is an error log "); > =A0 =A0 =A0 =A0 =A0System.out.println("Done!"); > =A0 =A0 =A0 } > } > > The contents of my log4j properties file: > > log4j.rootCategory=3DDEBUG, R, M > log4j.logger.org.apache=3DOFF, R, M > > log4j.appender.M=3Dorg.apache.log4j.net.SMTPAppender > log4j.appender.M.Threshold=3DINFO > log4j.appender.M.SMTPHost=3Dsmtp.gmail.com > log4j.appender.mail.SMTPUsername=3D**** > log4j.appender.mail.SMTPPassword=3D**** > log4j.appender.M.Subject=3DLog4j error > [email protected] > [email protected] > log4j.appender.M.layout=3Dorg.apache.log4j.PatternLayout > log4j.appender.M.layout.ConversionPattern=3DDate=A0 : %d{DATE}%n\ > Level : %p%nThread: %t%nClass : %c%nLine=A0 : %l%n\ > Message: %m%n%n > > Contents of the javamail.address.map file: > rfc822=3Dsmtps > > When I run the code I get the following error: > > DEBUG: JavaMail version 1.4.1 > DEBUG: not loading file: /local/.../jre/lib/javamail.providers > DEBUG: java.io.FileNotFoundException: /local/.../jre/lib/ > javamail.providers (No such file or directory) > DEBUG: !anyLoaded > DEBUG: not loading resource: /META-INF/javamail.providers > DEBUG: successfully loaded resource: /META-INF/ > javamail.default.providers > DEBUG: Tables of loaded providers > DEBUG: Providers Listed By Class Name: > {com.sun.mail.smtp.SMTPSSLTransport=3Djavax.mail.Provider > [TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, > Inc], com.sun.mail.smtp.SMTPTransport=3Djavax.mail.Provider > [TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, > Inc], com.sun.mail.imap.IMAPSSLStore=3Djavax.mail.Provider > [STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], > com.sun.mail.pop3.POP3SSLStore=3Djavax.mail.Provider > [STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], > com.sun.mail.imap.IMAPStore=3Djavax.mail.Provider > [STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], > com.sun.mail.pop3.POP3Store=3Djavax.mail.Provider > [STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]} > DEBUG: Providers Listed By Protocol: {imaps=3Djavax.mail.Provider > [STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], > imap=3Djavax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun > Microsystems, Inc], smtps=3Djavax.mail.Provider > [TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, > Inc], pop3=3Djavax.mail.Provider > [STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], > pop3s=3Djavax.mail.Provider > [STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], > smtp=3Djavax.mail.Provider > [TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]} > DEBUG: successfully loaded resource: /META-INF/ > javamail.default.address.map > DEBUG: !anyLoaded > DEBUG: not loading resource: /META-INF/javamail.address.map > DEBUG: successfully loaded file: /local/.../jre/lib/javamail.address.map > DEBUG: getProvider() returning javax.mail.Provider > [TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, > Inc] > DEBUG SMTP: useEhlo true, useAuth true > log4j:ERROR Error occured while sending e-mail notification. > javax.mail.AuthenticationFailedException > =A0 =A0 =A0 =A0 [email protected](Service.java:319) > =A0 =A0 =A0 =A0 [email protected](Service.java:169) > =A0 =A0 =A0 =A0 [email protected](Service.java:118) > =A0 =A0 =A0 =A0 [email protected](Transport.java:188) > =A0 =A0 =A0 =A0 [email protected](Transport.java:118) > =A0 =A0 =A0 =A0 [email protected] > (SMTPAppender.java:330) > =A0 =A0 =A0 =A0 [email protected] > (SMTPAppender.java:215) > =A0 =A0 =A0 =A0 [email protected] > (AppenderSkeleton.java:251) > =A0 =A0 =A0 =A0 =A0 at > org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders > (AppenderAttachableImpl.java:66) > =A0 =A0 =A0 =A0 [email protected](Category.ja= va:206) > =A0 =A0 =A0 =A0 [email protected](Category.java:3= 91) > =A0 =A0 =A0 =A0 [email protected](Category.java:305) > =A0 =A0 =A0 =A0 [email protected](LogCheck.java:18) > Done! > > It would be great if any of you could provide me with any clues on > what could be happening here. > > I am sure the authentication information is correct, since I have > checked that out many times. > > Thank you. > > -SK > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] -- "We are what we repeatedly do. Excellence, then, is not an act, but a habit.= " Aristotle --=_6p982nv9gp63-- From [email protected] Tue Dec 16 06:44:25 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66354 invoked from network); 16 Dec 2008 06:44:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Dec 2008 06:44:25 -0000 Received: (qmail 55622 invoked by uid 500); 16 Dec 2008 06:44:31 -0000 Delivered-To: [email protected] Received: (qmail 55586 invoked by uid 500); 16 Dec 2008 06:44:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 55575 invoked by uid 99); 16 Dec 2008 06:44:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Dec 2008 22:44:30 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Dec 2008 06:44:10 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1LCTen-0006Q9-9b for [email protected]; Mon, 15 Dec 2008 22:43:49 -0800 Message-ID: <[email protected]> Date: Mon, 15 Dec 2008 22:43:49 -0800 (PST) From: manish_goyal <[email protected]> To: [email protected] Subject: How to add current date with file name for RollingFileAppender MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am using RollingfileAppender for logging data into file in log4j.properties file. I want to add current system date with file name. I have tried adding using System.currentTimeMillis(). but it's not working. log4j.appender.searchLogger.file=Search_${System.currentTimeMillis()}.log There is options to getting user.timezone(system properties). Any idea about system properties that give current dateTime? Can any one please give some pointer to this. Thanks. Regards, Manish -- View this message in context: http://www.nabble.com/How-to-add-current-date-with-file-name-for-RollingFileAppender-tp21028085p21028085.html Sent from the Log4j - Users mailing list [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Dec 17 11:20:27 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9368 invoked from network); 17 Dec 2008 11:20:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Dec 2008 11:20:27 -0000 Received: (qmail 78062 invoked by uid 500); 17 Dec 2008 11:20:29 -0000 Delivered-To: [email protected] Received: (qmail 77992 invoked by uid 500); 17 Dec 2008 11:20:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 77969 invoked by uid 99); 17 Dec 2008 11:20:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Dec 2008 03:20:29 -0800 X-ASF-Spam-Status: No, hits=-1.8 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO inmumg02.tcs.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Dec 2008 11:20:11 +0000 X-IronPort-AV: E=Sophos;i="4.36,236,1228069800"; d="scan'208";a="10207087" Received: from unknown (HELO inmumm13.tcs.com) ([161.129.204.104]) by inmumg02.tcs.com with ESMTP; 17 Dec 2008 16:49:46 +0530 To: [email protected] Subject: Chainsaw issue MIME-Version: 1.0 X-Mailer: Lotus Notes Release 8.0.1 February 07, 2008 From: Amol Fuke <[email protected]> Message-ID: <[email protected]> Date: Wed, 17 Dec 2008 16:49:39 +0530 X-MIMETrack: Serialize by Router on InMumM13/TCS(Release 6.5.5FP2HF415 | June 20, 2007) at 12/17/2008 16:49:46, Serialize complete at 12/17/2008 16:49:46 Content-Type: multipart/alternative; boundary="=_alternative 003DA20A65257522_=" X-Virus-Checked: Checked by ClamAV on apache.org --=_alternative 003DA20A65257522_= Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" Hi , I an using chainsaw for seeing the jboss logs.In my application , when we try to login by putting wrong password , ldap throws one exception which has a null value in it. While looking into the chainsaw logs , it shows some logs with nulls , but after some appearances it just gives up and does not show up anything. Do you know why this happense ? any known issue ? or any alternative tool to chainsaw ? Let me know. Thanks, Amol =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you --=_alternative 003DA20A65257522_=-- From [email protected] Wed Dec 17 15:14:14 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71006 invoked from network); 17 Dec 2008 15:14:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Dec 2008 15:14:14 -0000 Received: (qmail 37660 invoked by uid 500); 17 Dec 2008 15:14:25 -0000 Delivered-To: [email protected] Received: (qmail 37631 invoked by uid 500); 17 Dec 2008 15:14:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 37620 invoked by uid 99); 17 Dec 2008 15:14:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Dec 2008 07:14:24 -0800 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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mu-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Dec 2008 15:14:09 +0000 Received: by mu-out-0910.google.com with SMTP id w9so2707370mue.0 for <[email protected]>; Wed, 17 Dec 2008 07:13:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=4ZdeGcLD/aX1fqcjS43O8oTMYtPJlynfRQbPkPioGPg=; b=cRVtdKWaHWu1e1pJKmlpOyKOiHnVXB5sMy++U2EakEtlDKcgjHq0VEsd+COt1udBxM JqhKMoD6V4BzKgepnMr6TwaZsol9MSQuVAew6QZiEdZLvedUIX+dKN7sg3bEiT5TDL8s aZj39XIOedJ0sfnmvle4kWJ0WJW7+0j/3kCio= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=Ht+W12QuadMU9DmrWRpthHaE+20MS4Nwb44UFJFXxQEds7cijMVnGg2cTjPdaszOH3 CSKe+TnJSqXu/5nMpMc3NChNc+U1NzvrEp0rFBTwZFUsi82ZI4iAKTyMdfeO7f/XvPiM 2BMgHVnAIQvKv0jN6kPUU0t44i2u13ugxoiKs= Received: by 161.129.204.104 with SMTP id b17mr300766muj.112.1229526829011; Wed, 17 Dec 2008 07:13:49 -0800 (PST) Received: by 161.129.204.104 with HTTP; Wed, 17 Dec 2008 07:13:48 -0800 (PST) Message-ID: <[email protected]> Date: Wed, 17 Dec 2008 17:13:48 +0200 From: Dima <[email protected]> To: "Log4J Users List" <[email protected]> Subject: Re: Chainsaw issue In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6853_33397124.1229526829013" References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_6853_33397124.1229526829013 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Not sure about this particular issue, but you can try logFaces which does similar things as ChainSaw. Check out http://www.moonlit-software.com Regards, Dima. On Wed, Dec 17, 2008 at 1:19 PM, Amol Fuke <[email protected]> wrote: > Hi , > > I an using chainsaw for seeing the jboss logs.In my application , when we > try to login by putting wrong password , ldap throws one exception which > has a null value in it. > While looking into the chainsaw logs , it shows some logs with nulls , but > after some appearances it just gives up and does not show up anything. > > Do you know why this happense ? any known issue ? or any alternative tool > to chainsaw ? > > Let me know. > > Thanks, > Amol > =====-----=====-----===== > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. Thank you > > > ------=_Part_6853_33397124.1229526829013-- From [email protected] Wed Dec 17 16:42:10 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11432 invoked from network); 17 Dec 2008 16:42:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Dec 2008 16:42:09 -0000 Received: (qmail 80095 invoked by uid 500); 17 Dec 2008 16:42:16 -0000 Delivered-To: [email protected] Received: (qmail 80067 invoked by uid 500); 17 Dec 2008 16:42:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 80056 invoked by uid 99); 17 Dec 2008 16:42:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Dec 2008 08:42:16 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.comotivsystems.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Dec 2008 16:41:55 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C96066.5294F093" X-MimeOLE: Produced By Microsoft Exchange V6.5 Subject: RE: Chainsaw issue Date: Wed, 17 Dec 2008 08:38:38 -0800 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: <[email protected]> Thread-Topic: Chainsaw issue Thread-Index: AclgOXXa060utNCsS7m+6zdOQeClXAALHQXU References: <[email protected]> From: "Scott Deboy" <[email protected]> To: "Log4J Users List" <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C96066.5294F093 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable By default, Chainsaw stores events in each tab in a cyclic buffer (5000 = entries). If you're getting events really fast, they could drop out of = the cyclic buffer.=20 I don't know of another reason (other than an out of memory error) that = would cause this. Look in the chainsaw-log tab for errors. Also, enable your java console = (or run Chainsaw from the bundle download) to see if you're getting an = uncaught exception. If so, please submit a bug. Thanks Scott Deboy COMOTIV SYSTEMS 111 SW Columbia Street Ste. 950 Portland, OR 97201 Telephone: +1-218-282-5572 Cell: +1-218-282-5572 Fax: +1-218-282-5572 [email protected] www.comotivsystems.com -----Original Message----- From: Amol Fuke [mailto:[email protected]] Sent: Wed 12/17/2008 3:19 AM To: [email protected] Subject: Chainsaw issue =20 Hi ,=20 I an using chainsaw for seeing the jboss logs.In my application , when = we=20 try to login by putting wrong password , ldap throws one exception which = has a null value in it. While looking into the chainsaw logs , it shows some logs with nulls , = but=20 after some appearances it just gives up and does not show up anything. Do you know why this happense ? any known issue ? or any alternative = tool=20 to chainsaw ? Let me know. Thanks, Amol =3D=3D=3D=3D=3D-----=3D=3D=3D=3D=3D-----=3D=3D=3D=3D=3D Notice: The information contained in this e-mail message and/or attachments to it may contain=20 confidential or privileged information. If you are=20 not the intended recipient, any dissemination, use,=20 review, distribution, printing or copying of the=20 information contained in this e-mail message=20 and/or attachments to it are strictly prohibited. If=20 you have received this communication in error,=20 please notify us by reply e-mail or telephone and=20 immediately and permanently delete the message=20 and any attachments. Thank you ------_=_NextPart_001_01C96066.5294F093 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] ------_=_NextPart_001_01C96066.5294F093-- From [email protected] Thu Dec 18 21:06:24 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93611 invoked from network); 18 Dec 2008 21:06:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Dec 2008 21:06:24 -0000 Received: (qmail 80379 invoked by uid 500); 18 Dec 2008 21:06:34 -0000 Delivered-To: [email protected] Received: (qmail 80352 invoked by uid 500); 18 Dec 2008 21:06:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 80341 invoked by uid 99); 18 Dec 2008 21:06:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Dec 2008 13:06:33 -0800 X-ASF-Spam-Status: No, hits=-1.8 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO ahmler6.mail.eds.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Dec 2008 21:06:11 +0000 Received: from ahmlir5.mail.eds.com (ahmlir5-2.mail.eds.com [161.129.204.104]) by ahmler6.mail.eds.com (8.14.2/8.13.8) with ESMTP id mBIL5odU023658 for <[email protected]>; Thu, 18 Dec 2008 16:05:50 -0500 Received: from ahmlir5.mail.eds.com (usahsdlp303.amer.corp.eds.com [161.129.204.104] (may be forged)) by ahmlir5.mail.eds.com (8.13.8/8.12.10) with ESMTP id mBIL5n8a028928 for <[email protected]>; Thu, 18 Dec 2008 16:05:50 -0500 Received: from ahmlir5.mail.eds.com (localhost [161.129.204.104]) by ahmlir5.mail.eds.com (8.13.8/8.12.10) with ESMTP id mBIL5jRw028625 for <[email protected]>; Thu, 18 Dec 2008 16:05:45 -0500 Received: from usahm017.amer.corp.eds.com ([161.129.204.104]) by ahmlir5.mail.eds.com (8.13.8/8.12.10) with ESMTP id mBIL5jLU028620 for <[email protected]>; Thu, 18 Dec 2008 16:05:45 -0500 X-EDSINT-Source-Ip: 161.129.204.104 Received: from usahm211.amer.corp.eds.com ([161.129.204.104]) by usahm017.amer.corp.eds.com with Microsoft SMTPSVC+1-218-282-5572); Thu, 18 Dec 2008 16:05:45 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C96154.650108D8" Subject: Is log4j 1.2.15 compatible with Java 1.5 and 1.6? Date: Thu, 18 Dec 2008 16:05:45 -0500 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Is log4j 1.2.15 compatible with Java 1.5 and 1.6? Thread-Index: AclhVGTGx5dA2UTRRCGXnkJvwZN5Mw== From: "Pocius, Pete" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 18 Dec 2008 21:05:45.0804 (UTC) FILETIME=[6518C8C0:01C96154] X-CFilter-Loop: Reflected X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C96154.650108D8 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, We currently use log4j 1.2.8, and want to make sure log4j 1.2.15 is compatible with Java 1.5 and Java 1.6 before upgrading to that release. Thank you, Pete Pocius=20 ------_=_NextPart_001_01C96154.650108D8-- From [email protected] Thu Dec 18 21:12:37 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94559 invoked from network); 18 Dec 2008 21:12:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Dec 2008 21:12:36 -0000 Received: (qmail 86633 invoked by uid 500); 18 Dec 2008 21:12:47 -0000 Delivered-To: [email protected] Received: (qmail 86500 invoked by uid 500); 18 Dec 2008 21:12:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 86489 invoked by uid 99); 18 Dec 2008 21:12:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Dec 2008 13:12:46 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO QMTA01.westchester.pa.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Dec 2008 21:12:24 +0000 Received: from OMTA08.westchester.pa.mail.comcast.net ([161.129.204.104]) by QMTA01.westchester.pa.mail.comcast.net with comcast id se9n1a05t0Fqzac51lC3f3; Thu, 18 Dec 2008 21:12:03 +0000 Received: from sleeman ([161.129.204.104]) by OMTA08.westchester.pa.mail.comcast.net with comcast id slBi1a01G26PxKU3UlBoy9; Thu, 18 Dec 2008 21:11:58 +0000 Message-ID: <[email protected]> Reply-To: "AJ Weber" <[email protected]> From: "AJ Weber" <[email protected]> To: "Log4J Users List" <[email protected]> References: <[email protected]> Subject: Re: Is log4j 1.2.15 compatible with Java 1.5 and 1.6? Date: Thu, 18 Dec 2008 16:11:28 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Virus-Checked: Checked by ClamAV on apache.org 1.5 for sure. Haven't tried Java1.6 yet. ----- Original Message ----- From: "Pocius, Pete" <[email protected]> To: <[email protected]> Sent: Thursday, December 18, 2008 4:05 PM Subject: Is log4j 1.2.15 compatible with Java 1.5 and 1.6? Hello, We currently use log4j 1.2.8, and want to make sure log4j 1.2.15 is compatible with Java 1.5 and Java 1.6 before upgrading to that release. Thank you, Pete Pocius --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Dec 18 21:39:43 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9992 invoked from network); 18 Dec 2008 21:39:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Dec 2008 21:39:43 -0000 Received: (qmail 24710 invoked by uid 500); 18 Dec 2008 21:39:49 -0000 Delivered-To: [email protected] Received: (qmail 24686 invoked by uid 500); 18 Dec 2008 21:39:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 24675 invoked by uid 99); 18 Dec 2008 21:39:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Dec 2008 13:39:49 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO ahmler1.mail.eds.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Dec 2008 21:39:27 +0000 Received: from ahmlir2.mail.eds.com (ahmlir2-2.mail.eds.com [161.129.204.104]) by ahmler1.mail.eds.com (8.14.2/8.13.8) with ESMTP id mBILd3ri028684; Thu, 18 Dec 2008 16:39:03 -0500 Received: from ahmlir2.mail.eds.com ([161.129.204.104]) by ahmlir2.mail.eds.com (8.13.8/8.12.10) with ESMTP id mBILd3TY008923; Thu, 18 Dec 2008 16:39:03 -0500 Received: from ahmlir2.mail.eds.com (localhost [161.129.204.104]) by ahmlir2.mail.eds.com (8.13.8/8.12.10) with ESMTP id mBILcwxL008556; Thu, 18 Dec 2008 16:38:58 -0500 Received: from usahm017.amer.corp.eds.com ([161.129.204.104]) by ahmlir2.mail.eds.com (8.13.8/8.12.10) with ESMTP id mBILcwXU008551; Thu, 18 Dec 2008 16:38:58 -0500 X-EDSINT-Source-Ip: 161.129.204.104 Received: from usahm211.amer.corp.eds.com ([161.129.204.104]) by usahm017.amer.corp.eds.com with Microsoft SMTPSVC+1-218-282-5572); Thu, 18 Dec 2008 16:38:58 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Is log4j 1.2.15 compatible with Java 1.5 and 1.6? Date: Thu, 18 Dec 2008 16:38:58 -0500 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Is log4j 1.2.15 compatible with Java 1.5 and 1.6? Thread-Index: AclhVW4LnPS2lZBhQSqvxDs1E1BtmAAA5MDA References: <[email protected]> <[email protected]> From: "Pocius, Pete" <[email protected]> To: "Log4J Users List" <[email protected]>, "AJ Weber" <[email protected]> X-OriginalArrivalTime: 18 Dec 2008 21:38:58.0760 (UTC) FILETIME=[08FDBC80:01C96159] X-CFilter-Loop: Reflected X-Virus-Checked: Checked by ClamAV on apache.org Thanks!!!=20 Pete Pocius=20 Consultant=20 EDS, an HP Company=20 Consulting Services=20 975 Eastwind Drive=20 Suite 115=20 Westerville, OH 43081=20 Tel: +1-218-282-5572=20 E-mail: [email protected]=20 We deliver on our commitments=20 so you can deliver on yours.=20 The information contained in this message may be privileged and confidential and protected from disclosure pursuant to the Freedom of Information Act/Privacy Act (5 U.S.C. 552/552a). If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to the message and destroying the materials. -----Original Message----- From: AJ Weber [mailto:[email protected]]=20 Sent: Thursday, December 18, 2008 4:11 PM To: Log4J Users List Subject: Re: Is log4j 1.2.15 compatible with Java 1.5 and 1.6? 1.5 for sure. Haven't tried Java1.6 yet. ----- Original Message ----- From: "Pocius, Pete" <[email protected]> To: <[email protected]> Sent: Thursday, December 18, 2008 4:05 PM Subject: Is log4j 1.2.15 compatible with Java 1.5 and 1.6? Hello, We currently use log4j 1.2.8, and want to make sure log4j 1.2.15 is compatible with Java 1.5 and Java 1.6 before upgrading to that release. Thank you, Pete Pocius=20 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Dec 19 09:40:42 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59732 invoked from network); 19 Dec 2008 09:40:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Dec 2008 09:40:41 -0000 Received: (qmail 96794 invoked by uid 500); 19 Dec 2008 09:40:51 -0000 Delivered-To: [email protected] Received: (qmail 96774 invoked by uid 500); 19 Dec 2008 09:40:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 96763 invoked by uid 99); 19 Dec 2008 09:40:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Dec 2008 01:40:51 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Dec 2008 09:40:31 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1LDbq6-0005ij-T4 for [email protected]; Fri, 19 Dec 2008 01:40:10 -0800 Message-ID: <[email protected]> Date: Fri, 19 Dec 2008 01:40:10 -0800 (PST) From: MortenHattesen <[email protected]> To: [email protected] Subject: Re: How to add current date with file name for RollingFileAppender In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org The RollingFileAppender does not support naming the file using todays date. You should download and use an alternate appender, such as... * TimedRollingFileAppender, see http://www.nabble.com/contribution%3A-TimedRollingFileAppender-td21076298.html * DatedFileAppender, see http://logging.apache.org/catalog.html manish_goyal wrote: > > Hi, > > I am using RollingfileAppender for logging data into file in > log4j.properties file. > I want to add current system date with file name. > I have tried adding using System.currentTimeMillis(). but it's not > working. > > log4j.appender.searchLogger.file=Search_${System.currentTimeMillis()}.log > > There is options to getting user.timezone(system properties). Any idea > about system properties that give current dateTime? > > Can any one please give some pointer to this. > > Thanks. > > Regards, > Manish > -- View this message in context: http://www.nabble.com/How-to-add-current-date-with-file-name-for-RollingFileAppender-tp21028085p21088410.html Sent from the Log4j - Users mailing list [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Dec 19 15:29:35 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54498 invoked from network); 19 Dec 2008 15:29:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Dec 2008 15:29:34 -0000 Received: (qmail 66644 invoked by uid 500); 19 Dec 2008 15:29:41 -0000 Delivered-To: [email protected] Received: (qmail 66615 invoked by uid 500); 19 Dec 2008 15:29:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 66604 invoked by uid 99); 19 Dec 2008 15:29:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Dec 2008 07:29:40 -0800 X-ASF-Spam-Status: No, hits=4.9 required=10.0 tests=HTML_MESSAGE,SPF_PASS,TRACKER_ID X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF [email protected]) Received: from [161.129.204.104] (HELO web26303.mail.ukl.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 19 Dec 2008 15:29:17 +0000 Received: (qmail 40391 invoked by uid 60001); 19 Dec 2008 15:28:55 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=QcVg2QXlwmQhNN7qeW7V+rZh40ePrOOtEkh14kYfMzSUZJQG3h4sUOMuxOYtZB0RuBFND1AHCzMnYrS5RvwLOmd/QiZEwRX3ozNiQ0kHhKFmF1z29Jkb6kKmv1KZhUiJdxDMZ8ABHN7IlduZxhPUjB+Nf8yxGUPqEyggp/RkSew=; X-YMail-OSG: y66SzbIVM1mplSCB2fq17mLAYyV44WWLbFu6eT19VZf5xm_Sh04Nl5TUgJAQE4vU2uEgZU4My_37f5DkvQxO9BU24U0.XoYkNxDzQsq0UhQwDP9H1EJM9ZRSsTEmges72Xv_6UM1oRGOOPZpPSyiDhZDoif4Lg4UlVbqC3ScknmXv3QOsb4q6N4DGuGyPmqoZTp5hAqzGgwbHiDoRs61zqG2Mjk- Received: from [161.129.204.104] by web26303.mail.ukl.yahoo.com via HTTP; Fri, 19 Dec 2008 15:28:55 GMT X-Mailer: YahooMailRC/1155.45 YahooMailWebService/0.7.260.1 Date: Fri, 19 Dec 2008 15:28:55 +0000 (GMT) From: Simon Park <[email protected]> Subject: TimeAndSizeRollingAppender To: [email protected] MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-934128461-1229700535=:40313" Message-ID: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org --0-934128461-1229700535=:40313 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi,=0A=0AI contributed a TimeAndSizeRollingAppender last year that some peo= ple have been using. I have fixed a couple of bugs that users pointed out = and made the new code available at http://www.simonsite.org.uk/.=0A=0AThe a= ppender rolls by time, as well as by size, also cleaning up older log files= using a separate thread. It's compatible with Log4J 1.2.9 - 1.2.15.=0A=0A= Hopefully this is useful.=0A=0ASimon=0A=0A=0A --0-934128461-1229700535=:40313-- From [email protected] Mon Dec 22 21:34:45 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69314 invoked from network); 22 Dec 2008 21:34:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Dec 2008 21:34:45 -0000 Received: (qmail 17701 invoked by uid 500); 22 Dec 2008 21:34:38 -0000 Delivered-To: [email protected] Received: (qmail 17671 invoked by uid 500); 22 Dec 2008 21:34:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 17660 invoked by uid 99); 22 Dec 2008 21:34:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Dec 2008 13:34:38 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO QMTA03.emeryville.ca.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Dec 2008 21:34:28 +0000 Received: from OMTA08.emeryville.ca.mail.comcast.net ([161.129.204.104]) by QMTA03.emeryville.ca.mail.comcast.net with comcast id uHzr1a0010FhH24A3MZxpK; Mon, 22 Dec 2008 21:33:57 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by OMTA08.emeryville.ca.mail.comcast.net with comcast id uMZa1a00n0BBgh68UMZwXy; Mon, 22 Dec 2008 21:33:57 +0000 Message-Id: <[email protected]> From: Curt Arnold <[email protected]> To: Log4J Developers List <[email protected]>, Log4CXX Dev <[email protected]>, Log4J Users List <[email protected]>, Log4CXX User <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Wedding plans Date: Mon, 22 Dec 2008 15:33:34 -0600 X-Mailer: Apple Mail (2.929.2) X-Virus-Checked: Checked by ClamAV on apache.org Sorry about being a little slow to respond recently, but I've been working on wedding plans. Julie Ferguson and I are marrying in New Braunfels, TX on December 27th. Julie and I have known each other a little over 6 years as friends and we kept in touch infrequently after she moved away from Houston. I dropped her my bi-annual "how are you doing email" a few months ago and it snowballed in to longer and longer emails, then phone calls and then face to face. Things have gone too well for it to be either of our doing. I do not expect to be checking the mailing lists frequently until January 4th or so. We would appreciate your prayers as we build our marriage. Our blog: http://curtandjulie.blogspot.com Registered at Amazon (http://tinyurl.com/curtjulie) and Sur La Table (http://giftreg.surlatable.com ). --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Dec 23 16:23:30 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6612 invoked from network); 23 Dec 2008 16:23:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Dec 2008 16:23:30 -0000 Received: (qmail 75414 invoked by uid 500); 23 Dec 2008 16:23:26 -0000 Delivered-To: [email protected] Received: (qmail 75381 invoked by uid 500); 23 Dec 2008 16:23:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 75370 invoked by uid 99); 23 Dec 2008 16:23:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Dec 2008 08:23:26 -0800 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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO qw-out-1920.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Dec 2008 16:23:19 +0000 Received: by qw-out-1920.google.com with SMTP id 9so9330674qwj.40 for <[email protected]>; Tue, 23 Dec 2008 08:22:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=LKjtITI2ilz6aSlhjlESEgIdCY41AGE603igU8KDkhs=; b=ppn/oVEIvfp4n1pBrciT9ZGkSkU0qokrUzY0OzHcOH+18k6G1UlRrzg2oV3zczpDvU dPcOokK2BR649hQxd2A8EZIOsI0kHePwexx7/Z9jkRfjLieQIDU3qq1DGO/9nbJkumkj oSrEEDwB5om7n/wfWnKzQmqfbUDI5oYne0590= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=qDKmPXcg9SX2Od+ZXSzDYnbZbU6ip6PUn5usJf46bbxPn4z50bvgbLIomHHpkPXeCO SUWEcFdkz6tnwu9Cd3JoaZ6jnTGbvp0SvBCzUJqgbYmYYD+Vk3MWp9nZlSNTqt79WRtt geyl0wPnYWHr6khMN4Jeob5mhD9zpjERhdKlc= Received: by 161.129.204.104 with SMTP id a4mr7703706qab.118.1230049378996; Tue, 23 Dec 2008 08:22:58 -0800 (PST) Received: by 161.129.204.104 with HTTP; Tue, 23 Dec 2008 08:22:58 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 23 Dec 2008 11:22:58 -0500 From: "Ashish Kulkarni" <[email protected]> To: "Log4J Users List" <[email protected]> Subject: View Log4J xml log files MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_82732_19063576.1230049378994" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_82732_19063576.1230049378994 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline HiI have been using ChainSaw to view XML log files created by log4j, is there any other way of view XML logs, this application is a bit pain, it does not automatically update log files, also when i open second log files, it simply appends the logs instead of closing the first log file and opening the second log file ------=_Part_82732_19063576.1230049378994-- From [email protected] Fri Dec 26 14:29:25 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83949 invoked from network); 26 Dec 2008 14:29:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Dec 2008 14:29:25 -0000 Received: (qmail 15380 invoked by uid 500); 26 Dec 2008 14:29:18 -0000 Delivered-To: [email protected] Received: (qmail 15343 invoked by uid 500); 26 Dec 2008 14:29:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 15332 invoked by uid 99); 26 Dec 2008 14:29:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Dec 2008 06:29:18 -0800 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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO rv-out-0708.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Dec 2008 14:29:10 +0000 Received: by rv-out-0708.google.com with SMTP id c5so4531508rvf.10 for <[email protected]>; Fri, 26 Dec 2008 06:28:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=dU5juKHLbIAvpaj3ElF1u/6eA7ElojSdF8AmsVLsPWI=; b=PZ8Byq1D6qJulYU6G6+68sZG95JfKRcZL+rS4KUV+Uaq80CRRCeZvNxAJCCyh1Ofke UzvLQ9w4HBfnTCLBTQUDi+KaP0JsEw/B7NAbaPiRazHCw+VLI2KInz8GQZrimMxiuPHx GzCGKyt0ABoEifUMQezM6YCFv3IM1pouxtayI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=KMVQAUAi/nOSvIwbyvHjjtVfnOlVOMDCi1EFVXqTAVk/5IGojyOU0LUxL7OZfYZf1I mtmn/5+AJCz0P9McHIp9t0MQBllTT2qj+dyvNvmv+Q66hHMVCqCwVWW/IQKd3+8yduu5 HgbhuCn0NMDdHvSfUH2A4YTqdQ8m09m6QMDAA= Received: by 161.129.204.104 with SMTP id x14mr5288523rvf.191.1230301729031; Fri, 26 Dec 2008 06:28:49 -0800 (PST) Received: by 161.129.204.104 with HTTP; Fri, 26 Dec 2008 06:28:48 -0800 (PST) Message-ID: <[email protected]> Date: Fri, 26 Dec 2008 09:28:48 -0500 From: Ariel <[email protected]> To: [email protected] Subject: I need to make logging in a complete application MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_105139_12805037.1230301729025" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_105139_12805037.1230301729025 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi everybody: I am newbie with log4j, I have made a distributed and multithreaded application where all the logging is made displaying de mesagges in the console using System.out.println. Now I want to redirect those messages to a file to have a trace of all the messages. Is there anyway to telling log4j that all the System.out messages write them into a file ??? Please could you help me ? Regards Ariel ------=_Part_105139_12805037.1230301729025-- From [email protected] Mon Dec 29 14:59:00 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45845 invoked from network); 29 Dec 2008 14:59:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Dec 2008 14:59:00 -0000 Received: (qmail 72816 invoked by uid 500); 29 Dec 2008 14:59:00 -0000 Delivered-To: [email protected] Received: (qmail 72130 invoked by uid 500); 29 Dec 2008 14:58:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 72119 invoked by uid 99); 29 Dec 2008 14:58:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Dec 2008 06:58:58 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mx.log-out.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Dec 2008 14:58:50 +0000 Received: from localhost (localhost [161.129.204.104]) by mx.log-out.net (Postfix) with ESMTP id 0CF2E210005 for <[email protected]>; Mon, 29 Dec 2008 15:58:29 +0100 (CET) X-Virus-Scanned: amavisd-new at X-Spam-Score: -2.536 X-Spam-Level: Received: from mx.log-out.net ([161.129.204.104]) by localhost (mx.log-out.net [161.129.204.104]) (amavisd-new, port 10024) with ESMTP id FX2tg-7Rtuep for <[email protected]>; Mon, 29 Dec 2008 15:58:27 +0100 (CET) Received: from [161.129.204.104] (dialbs-213-023-229-178.static.arcor-ip.net [161.129.204.104]) by mx.log-out.net (Postfix) with ESMTP id BDF4F210004 for <[email protected]>; Mon, 29 Dec 2008 15:58:26 +0100 (CET) Message-ID: <[email protected]> Date: Mon, 29 Dec 2008 15:58:26 +0100 From: Thoralf Rickert <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20081105) MIME-Version: 1.0 To: [email protected] Subject: Strange NPEs after redeploy Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Flag: NO X-Old-Spam-Status: No, score=-2.536 tagged_above=-10 required=6.6 tests=[AWL=0.063, BAYES_00=-2.599] Hi all, I'm note sure, if this is a log4j issue but maybe you can give me a clue where to look. Actually I want to update from Velocity 1.4 to 1.6. This means I have to update some other libraries too including commons-logging. I'm using now log4j 1.2.15 and commons-logging-1.1.1. After resolving all other dependencies (commons-digester-1.8) I have a problem restarting my tomcat. If I start the tomcat everything is ok. But when I redeploy an application the underlying libaries (commons-digester, commons-httpclient and so on) are working strange and the servlet is marked as unavailable. I tracked it down to a NullPointerException in org.apache.log4j.Category.isEnabledFor():749 or Category.log() line 852. On both places the method tries to call a method on the variable repository. And that's what I don't understand. After reploying I got log messages from my own code via log4j in my log file as expected. But during this redeployment I call (just as an example) a Apache HTTP client new GetMethod() to retrieve some informations from another server. And that throws a NPE. For me it seems that the HTTP client or the digester is using an uninitialized logging system - but I do log messages to the same system all the time. Do you know any circumstance which can explain my exceptions? java.lang.NullPointerException at org.apache.log4j.Category.log(Category.java:852) at org.apache.commons.logging.impl.Log4JLogger. trace(Log4JLogger.java:152) at org.apache.commons.httpclient.methods.GetMethod. <init>(GetMethod.java:89) at com.cadooz.framework.io.HTTPClient.get(HTTPClient.java:170) or 15:30:04.417 ERROR ache.commons.digester.Digester End event threw exception java.lang.NullPointerException at org.apache.log4j.Category.isEnabledFor(Category.java:749) at org.apache.commons.logging.impl.Log4JLogger. isTraceEnabled(Log4JLogger.java:333) at org.apache.commons.beanutils.MethodUtils. getMatchingAccessibleMethod(MethodUtils.java:521) at org.apache.commons.beanutils.MethodUtils. invokeMethod(MethodUtils.java:209) at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:217) at org.apache.commons.digester.Rule.end(Rule.java:253) at org.apache.commons.digester.Digester.endElement(Digester.java:1222) at org.apache.xerces.parsers.AbstractSAXParser.endElement() at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl. scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl $FragmentContentDispatcher.dispatch() I'm relativly sure that there is no configuration problem or dependency problem because the tomcat is starting normal and the application is working as expected. But after redeploying the WAR file the application crashes. I'm not sure if this is a log4j, a commons-logging, a Tomcat, a commons digester or whatever problem. But all this worked a couple of hours ago before updating the libraries. I'd not find any useful information at Google & Co. Thanks Thoralf --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Dec 29 15:20:04 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52435 invoked from network); 29 Dec 2008 15:20:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Dec 2008 15:20:04 -0000 Received: (qmail 5999 invoked by uid 500); 29 Dec 2008 15:20:01 -0000 Delivered-To: [email protected] Received: (qmail 5977 invoked by uid 500); 29 Dec 2008 15:20:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 5966 invoked by uid 99); 29 Dec 2008 15:20:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Dec 2008 07:20:01 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail.qos.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Dec 2008 15:19:53 +0000 Received: by mail.qos.ch (Postfix, from userid 1006) id 3081F16A066; Mon, 29 Dec 2008 17:28:39 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.4-gr0 (2008-01-01) on torino X-Spam-Level: Received: from [161.129.204.104] (unknown [161.129.204.104]) by mail.qos.ch (Postfix) with ESMTP id 8776B16A057 for <[email protected]>; Mon, 29 Dec 2008 17:28:37 +0100 (CET) Message-ID: <[email protected]> Date: Mon, 29 Dec 2008 16:19:33 +0100 From: Ceki Gulcu <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20081105) MIME-Version: 1.0 To: Log4J Users List <[email protected]> Subject: Re: Strange NPEs after redeploy References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-4.4 required=5.5 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.4-gr0 Hello Thoralf, The problem you are facing is probably related to the clean up code Tomcat invokes when it redeploys web-apps. Replace commons-logging.jar with jcl-over-slf4j.jar and your problem will go away. You need to add slf4j-api.jar and slf4j-log4j.jar to you class path (in addition to log4j.jar and commons-loggig.jar). See http://www.slf4j.org/ for more details. Please report back to confirm that the above solved the problem you are facing. HTH, Thoralf Rickert wrote: > Hi all, > > I'm note sure, if this is a log4j issue but maybe you can give me a clue > where to look. Actually I want to update from Velocity 1.4 to 1.6. This > means I have to update some other libraries too including > commons-logging. I'm using now log4j 1.2.15 and commons-logging-1.1.1. > After resolving all other dependencies (commons-digester-1.8) I have a > problem restarting my tomcat. If I start the tomcat everything is ok. > But when I redeploy an application the underlying libaries > (commons-digester, commons-httpclient and so on) are working strange and > the servlet is marked as unavailable. I tracked it down to a > NullPointerException in org.apache.log4j.Category.isEnabledFor():749 or > Category.log() line 852. > > On both places the method tries to call a method on the variable > repository. And that's what I don't understand. After reploying I got > log messages from my own code via log4j in my log file as expected. But > during this redeployment I call (just as an example) a Apache HTTP > client new GetMethod() to retrieve some informations from another > server. And that throws a NPE. For me it seems that the HTTP client or > the digester is using an uninitialized logging system - but I do log > messages to the same system all the time. Do you know any circumstance > which can explain my exceptions? > > java.lang.NullPointerException > at org.apache.log4j.Category.log(Category.java:852) > at org.apache.commons.logging.impl.Log4JLogger. > trace(Log4JLogger.java:152) > at org.apache.commons.httpclient.methods.GetMethod. > <init>(GetMethod.java:89) > at com.cadooz.framework.io.HTTPClient.get(HTTPClient.java:170) > > > or > > 15:30:04.417 ERROR ache.commons.digester.Digester End event threw exception > java.lang.NullPointerException > at org.apache.log4j.Category.isEnabledFor(Category.java:749) > at org.apache.commons.logging.impl.Log4JLogger. > isTraceEnabled(Log4JLogger.java:333) > at org.apache.commons.beanutils.MethodUtils. > getMatchingAccessibleMethod(MethodUtils.java:521) > at org.apache.commons.beanutils.MethodUtils. > invokeMethod(MethodUtils.java:209) > at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:217) > at org.apache.commons.digester.Rule.end(Rule.java:253) > at org.apache.commons.digester.Digester.endElement(Digester.java:1222) > at org.apache.xerces.parsers.AbstractSAXParser.endElement() > at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl. > scanEndElement(Unknown Source) > at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl > $FragmentContentDispatcher.dispatch() > > I'm relativly sure that there is no configuration problem or dependency > problem because the tomcat is starting normal and the application is > working as expected. But after redeploying the WAR file the application > crashes. I'm not sure if this is a log4j, a commons-logging, a Tomcat, a > commons digester or whatever problem. But all this worked a couple of > hours ago before updating the libraries. I'd not find any useful > information at Google & Co. > > Thanks > Thoralf > -- Ceki Gülcü --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Dec 29 15:56:31 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58954 invoked from network); 29 Dec 2008 15:56:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Dec 2008 15:56:31 -0000 Received: (qmail 37964 invoked by uid 500); 29 Dec 2008 15:56:25 -0000 Delivered-To: [email protected] Received: (qmail 37934 invoked by uid 500); 29 Dec 2008 15:56:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 37923 invoked by uid 99); 29 Dec 2008 15:56:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Dec 2008 07:56:25 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mx.log-out.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Dec 2008 15:56:15 +0000 Received: from localhost (localhost [161.129.204.104]) by mx.log-out.net (Postfix) with ESMTP id 2B5A34B5E9F for <[email protected]>; Mon, 29 Dec 2008 16:55:54 +0100 (CET) X-Virus-Scanned: amavisd-new at X-Spam-Score: -2.56 X-Spam-Level: Received: from mx.log-out.net ([161.129.204.104]) by localhost (mx.log-out.net [161.129.204.104]) (amavisd-new, port 10024) with ESMTP id eyE8gvQj40-q for <[email protected]>; Mon, 29 Dec 2008 16:55:52 +0100 (CET) Received: from [161.129.204.104] (dialbs-213-023-229-178.static.arcor-ip.net [161.129.204.104]) by mx.log-out.net (Postfix) with ESMTP id 5D2144B5913 for <[email protected]>; Mon, 29 Dec 2008 16:55:52 +0100 (CET) Message-ID: <[email protected]> Date: Mon, 29 Dec 2008 16:55:49 +0100 From: Thoralf Rickert <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20081105) MIME-Version: 1.0 To: Log4J Users List <[email protected]> Subject: Re: Strange NPEs after redeploy References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Flag: NO X-Old-Spam-Status: No, score=-2.56 tagged_above=-10 required=6.6 tests=[AWL=0.039, BAYES_00=-2.599] Hi, yes, that works. Great - thanks! bye Thoralf Ceki Gulcu schrieb: > Hello Thoralf, > > The problem you are facing is probably related to the clean up code > Tomcat invokes when it redeploys web-apps. Replace commons-logging.jar > with jcl-over-slf4j.jar and your problem will go away. You need to add > slf4j-api.jar and slf4j-log4j.jar to you class path (in addition to > log4j.jar and commons-loggig.jar). See http://www.slf4j.org/ for more > details. > > Please report back to confirm that the above solved the problem you > are facing. > > HTH, > > > Thoralf Rickert wrote: >> Hi all, >> >> I'm note sure, if this is a log4j issue but maybe you can give me a clue >> where to look. Actually I want to update from Velocity 1.4 to 1.6. This >> means I have to update some other libraries too including >> commons-logging. I'm using now log4j 1.2.15 and commons-logging-1.1.1. >> After resolving all other dependencies (commons-digester-1.8) I have a >> problem restarting my tomcat. If I start the tomcat everything is ok. >> But when I redeploy an application the underlying libaries >> (commons-digester, commons-httpclient and so on) are working strange and >> the servlet is marked as unavailable. I tracked it down to a >> NullPointerException in org.apache.log4j.Category.isEnabledFor():749 or >> Category.log() line 852. >> >> On both places the method tries to call a method on the variable >> repository. And that's what I don't understand. After reploying I got >> log messages from my own code via log4j in my log file as expected. But >> during this redeployment I call (just as an example) a Apache HTTP >> client new GetMethod() to retrieve some informations from another >> server. And that throws a NPE. For me it seems that the HTTP client or >> the digester is using an uninitialized logging system - but I do log >> messages to the same system all the time. Do you know any circumstance >> which can explain my exceptions? >> >> java.lang.NullPointerException >> at org.apache.log4j.Category.log(Category.java:852) >> at org.apache.commons.logging.impl.Log4JLogger. >> trace(Log4JLogger.java:152) >> at org.apache.commons.httpclient.methods.GetMethod. >> <init>(GetMethod.java:89) >> at com.cadooz.framework.io.HTTPClient.get(HTTPClient.java:170) >> >> >> or >> >> 15:30:04.417 ERROR ache.commons.digester.Digester End event threw >> exception >> java.lang.NullPointerException >> at org.apache.log4j.Category.isEnabledFor(Category.java:749) >> at org.apache.commons.logging.impl.Log4JLogger. >> isTraceEnabled(Log4JLogger.java:333) >> at org.apache.commons.beanutils.MethodUtils. >> getMatchingAccessibleMethod(MethodUtils.java:521) >> at org.apache.commons.beanutils.MethodUtils. >> invokeMethod(MethodUtils.java:209) >> at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:217) >> at org.apache.commons.digester.Rule.end(Rule.java:253) >> at org.apache.commons.digester.Digester.endElement(Digester.java:1222) >> at org.apache.xerces.parsers.AbstractSAXParser.endElement() >> at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl. >> scanEndElement(Unknown Source) >> at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl >> $FragmentContentDispatcher.dispatch() >> >> I'm relativly sure that there is no configuration problem or dependency >> problem because the tomcat is starting normal and the application is >> working as expected. But after redeploying the WAR file the application >> crashes. I'm not sure if this is a log4j, a commons-logging, a Tomcat, a >> commons digester or whatever problem. But all this worked a couple of >> hours ago before updating the libraries. I'd not find any useful >> information at Google & Co. >> >> Thanks >> Thoralf >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Wed Jun 02 04:24:37 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85279 invoked from network); 2 Jun 2010 04:24:37 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Jun 2010 04:24:37 -0000 Received: (qmail 95327 invoked by uid 500); 2 Jun 2010 04:24:37 -0000 Delivered-To: [email protected] Received: (qmail 95285 invoked by uid 500); 2 Jun 2010 04:24:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <photark-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 95277 invoked by uid 99); 2 Jun 2010 04:24:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jun 2010 04:24:35 +0000 X-ASF-Spam-Status: No, hits=-1940.3 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jun 2010 04:24:35 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1828B2388980; Wed, 2 Jun 2010 04:24:15 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r950364 - /incubator/photark/contrib/photark-ui-admin/ Date: Wed, 02 Jun 2010 04:24:15 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: lresende Date: Wed Jun 2 04:24:14 2010 New Revision: 950364 URL: http://svn.apache.org/viewvc?rev=950364&view=rev Log: Remove obsolet admin ui module Removed: incubator/photark/contrib/photark-ui-admin/ From [email protected] Thu Jun 03 04:48:16 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85822 invoked from network); 3 Jun 2010 04:48:16 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 3 Jun 2010 04:48:16 -0000 Received: (qmail 61057 invoked by uid 500); 3 Jun 2010 04:48:16 -0000 Delivered-To: [email protected] Received: (qmail 61030 invoked by uid 500); 3 Jun 2010 04:48:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <photark-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 61022 invoked by uid 99); 3 Jun 2010 04:48:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jun 2010 04:48:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jun 2010 04:48:10 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 744EF23888EA; Thu, 3 Jun 2010 04:47:48 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r950875 - in /incubator/photark/sandbox/lresende/photark-rest: ./ src/main/java/org/apache/photark/ src/main/java/org/apache/photark/services/ src/test/java/org/apache/photark/services/ Date: Thu, 03 Jun 2010 04:47:48 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: lresende Date: Thu Jun 3 04:47:47 2010 New Revision: 950875 URL: http://svn.apache.org/viewvc?rev=950875&view=rev Log: Enhancments to REST API, adding full CRUD operations to Gallery service. Still need to flush more details based on scenarios being collected at https://cwiki.apache.org/confluence/display/PHOTARKxWIKI/PhotArk+REST+API Added: incubator/photark/sandbox/lresende/photark-rest/src/main/java/org/apache/photark/AlbumList.java (with props) incubator/photark/sandbox/lresende/photark-rest/src/main/java/org/apache/photark/ImageRef.java (with props) Removed: incubator/photark/sandbox/lresende/photark-rest/src/main/java/org/apache/photark/Gallery.java Modified: incubator/photark/sandbox/lresende/photark-rest/pom.xml incubator/photark/sandbox/lresende/photark-rest/src/main/java/org/apache/photark/services/GalleryService.java incubator/photark/sandbox/lresende/photark-rest/src/main/java/org/apache/photark/services/GalleryServiceImpl.java incubator/photark/sandbox/lresende/photark-rest/src/test/java/org/apache/photark/services/GalleryServiceTestCase.java Modified: incubator/photark/sandbox/lresende/photark-rest/pom.xml URL: http://svn.apache.org/viewvc/incubator/photark/sandbox/lresende/photark-rest/pom.xml?rev=950875&r1=950874&r2=950875&view=diff ============================================================================== --- incubator/photark/sandbox/lresende/photark-rest/pom.xml (original) +++ incubator/photark/sandbox/lresende/photark-rest/pom.xml Thu Jun 3 04:47:47 2010 @@ -95,6 +95,12 @@ <scope>test</scope> </dependency> + <dependency> + <groupId>httpunit</groupId> + <artifactId>httpunit</artifactId> + <version>1.7</version> + <scope>test</scope> + </dependency> </dependencies> <build> Added: incubator/photark/sandbox/lresende/photark-rest/src/main/java/org/apache/photark/AlbumList.java URL: http://svn.apache.org/viewvc/incubator/photark/sandbox/lresende/photark-rest/src/main/java/org/apache/photark/AlbumList.java?rev=950875&view=auto ============================================================================== --- incubator/photark/sandbox/lresende/photark-rest/src/main/java/org/apache/photark/AlbumList.java (added) +++ incubator/photark/sandbox/lresende/photark-rest/src/main/java/org/apache/photark/AlbumList.java Thu Jun 3 04:47:47 2010 @@ -0,0 +1,31 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.photark; + +import java.util.ArrayList; +import java.util.List; + +public class AlbumList { + private List<AlbumRef> albumRefs = new ArrayList<AlbumRef>(); + + public List<AlbumRef> getAlbums() { + return this.albumRefs; + } +} Propchange: incubator/photark/sandbox/lresende/photark-rest/src/main/java/org/apache/photark/AlbumList.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/sandbox/lresende/photark-rest/src/main/java/org/apache/photark/AlbumList.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: incubator/photark/sandbox/lresende/photark-rest/src/main/java/org/apache/photark/ImageRef.java URL: http://svn.apache.org/viewvc/incubator/photark/sandbox/lresende/photark-rest/src/main/java/org/apache/photark/ImageRef.java?rev=950875&view=auto ============================================================================== --- incubator/photark/sandbox/lresende/photark-rest/src/main/java/org/apache/photark/ImageRef.java (added) +++ incubator/photark/sandbox/lresende/photark-rest/src/main/java/org/apache/photark/ImageRef.java Thu Jun 3 04:47:47 2010 @@ -0,0 +1,72 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.photark; + +public class ImageRef { + private String name; + private String title; + + private String url; + private String urlThumb; + + private String imageRef; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getTitle() { + return title; + } + + public void setTitle(String title) { + this.title = title; + } + + public String getLocation() { + return url; + } + + public void setLocation(String location) { + this.url = location; + } + + public String getThumbnailLocation() { + return urlThumb; + } + + public void setThumbnailLocation(String thumbnailLocation) { + this.urlThumb = thumbnailLocation; + } + + public String getImageRef() { + return imageRef; + } + + public void setImageRef(String imageRef) { + this.imageRef = imageRef; + } + + +} Propchange: incubator/photark/sandbox/lresende/photark-rest/src/main/java/org/apache/photark/ImageRef.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/sandbox/lresende/photark-rest/src/main/java/org/apache/photark/ImageRef.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Modified: incubator/photark/sandbox/lresende/photark-rest/src/main/java/org/apache/photark/services/GalleryService.java URL: http://svn.apache.org/viewvc/incubator/photark/sandbox/lresende/photark-rest/src/main/java/org/apache/photark/services/GalleryService.java?rev=950875&r1=950874&r2=950875&view=diff ============================================================================== --- incubator/photark/sandbox/lresende/photark-rest/src/main/java/org/apache/photark/services/GalleryService.java (original) +++ incubator/photark/sandbox/lresende/photark-rest/src/main/java/org/apache/photark/services/GalleryService.java Thu Jun 3 04:47:47 2010 @@ -19,12 +19,17 @@ package org.apache.photark.services; +import javax.ws.rs.DELETE; import javax.ws.rs.GET; +import javax.ws.rs.POST; +import javax.ws.rs.PUT; import javax.ws.rs.Path; +import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; -import org.apache.photark.Gallery; +import org.apache.photark.Album; +import org.apache.photark.AlbumList; import org.oasisopen.sca.annotation.Remotable; @Remotable @@ -35,17 +40,21 @@ public interface GalleryService { * @return */ @GET - @Path("albums") @Produces(MediaType.APPLICATION_JSON) - Gallery getAlbums(); + AlbumList getAlbums(); - /** - * Retrieve a list of recent updated Albums - * @return - */ @GET - @Path("newalbums") @Produces(MediaType.APPLICATION_JSON) - Gallery getUpdatedAlbums(); + @Path("{id}") + Album getAlbum(@PathParam("id") String albumId); + + @POST + void addAlbum(Album newAlbum); + + @PUT + void updateAlbum(Album album); + + @DELETE + void removeAlbum(String albumId); } Modified: incubator/photark/sandbox/lresende/photark-rest/src/main/java/org/apache/photark/services/GalleryServiceImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/sandbox/lresende/photark-rest/src/main/java/org/apache/photark/services/GalleryServiceImpl.java?rev=950875&r1=950874&r2=950875&view=diff ============================================================================== --- incubator/photark/sandbox/lresende/photark-rest/src/main/java/org/apache/photark/services/GalleryServiceImpl.java (original) +++ incubator/photark/sandbox/lresende/photark-rest/src/main/java/org/apache/photark/services/GalleryServiceImpl.java Thu Jun 3 04:47:47 2010 @@ -19,48 +19,99 @@ package org.apache.photark.services; +import java.security.InvalidParameterException; +import java.util.HashMap; +import java.util.Iterator; +import java.util.Map; +import java.util.Map.Entry; + +import javax.ws.rs.PathParam; + import org.apache.photark.Album; +import org.apache.photark.AlbumList; import org.apache.photark.AlbumRef; -import org.apache.photark.Gallery; import org.oasisopen.sca.annotation.Init; import org.oasisopen.sca.annotation.Scope; +@Scope("COMPOSITE") public class GalleryServiceImpl implements GalleryService { - private Gallery gallery = new Gallery(); + private Map<String, Album> albums = new HashMap<String, Album>(); @Init public void init() { Album album; - AlbumRef albumRef; album = new Album(); - album.setName("Album 1"); + album.setName("Boston"); album.setDescription("Album Description"); - album.setLocation("http://localhost:8080/gallery/album1"); + album.setLocation("http://localhost:8080/gallery/boston"); - - albumRef = AlbumRef.createAlbumRef(album); - gallery.getAlbums().add(albumRef); + albums.put(album.getName(), album); album = new Album(); - album.setName("Album 2"); + album.setName("RioDeJaneiro"); album.setDescription("Album Description"); - album.setLocation("http://localhost:8080/gallery/album2"); + album.setLocation("http://localhost:8080/gallery/rio"); + albums.put(album.getName(), album); + } + + + public AlbumList getAlbums() { + AlbumList albumList = new AlbumList(); - albumRef = AlbumRef.createAlbumRef(album); - gallery.getAlbums().add(albumRef); + Iterator<Entry<String, Album>> albumIterator = albums.entrySet().iterator(); + while(albumIterator.hasNext()) { + Album album = (Album) albumIterator.next().getValue(); + albumList.getAlbums().add(AlbumRef.createAlbumRef(album)); + } + return albumList; } - - public Gallery getAlbums() { - return gallery; + public Album getAlbum(@PathParam("id") String albumId) { + if(albumId == null || albumId.isEmpty()) { + throw new InvalidParameterException("Invalid/Empty album id"); + } + + if(! albums.containsKey(albumId)) { + throw new InvalidParameterException("Album '" + albumId + "' not found"); + } + + return albums.get(albumId); } - public Gallery getUpdatedAlbums() { - return gallery; + public void addAlbum(Album newAlbum) { + if(newAlbum.getName() == null || newAlbum.getName().isEmpty()) { + throw new InvalidParameterException("Album has no name"); + } + this.albums.put(newAlbum.getName(), newAlbum); + } + + public void updateAlbum(Album album) { + if(album.getName() == null || album.getName().isEmpty()) { + throw new InvalidParameterException("Album has no name"); + } + + if(! albums.containsKey(album.getName())) { + throw new InvalidParameterException("Album '" + album.getName() + "' not found"); + } + albums.put(album.getName(), album); } + + public void removeAlbum(String albumId) { + if(albumId == null || albumId.isEmpty()) { + throw new InvalidParameterException("Invalid/Empty album id"); + } + + if(! albums.containsKey(albumId)) { + throw new InvalidParameterException("Album '" + albumId + "' not found"); + } + + albums.remove(albumId); + } + + } Modified: incubator/photark/sandbox/lresende/photark-rest/src/test/java/org/apache/photark/services/GalleryServiceTestCase.java URL: http://svn.apache.org/viewvc/incubator/photark/sandbox/lresende/photark-rest/src/test/java/org/apache/photark/services/GalleryServiceTestCase.java?rev=950875&r1=950874&r2=950875&view=diff ============================================================================== --- incubator/photark/sandbox/lresende/photark-rest/src/test/java/org/apache/photark/services/GalleryServiceTestCase.java (original) +++ incubator/photark/sandbox/lresende/photark-rest/src/test/java/org/apache/photark/services/GalleryServiceTestCase.java Thu Jun 3 04:47:47 2010 @@ -19,8 +19,12 @@ package org.apache.photark.services; +import java.io.ByteArrayInputStream; +import java.io.IOException; import java.net.Socket; +import junit.framework.Assert; + import org.apache.tuscany.sca.node.Contribution; import org.apache.tuscany.sca.node.ContributionLocationHelper; import org.apache.tuscany.sca.node.Node; @@ -28,8 +32,21 @@ import org.apache.tuscany.sca.node.NodeF import org.junit.BeforeClass; import org.junit.Test; +import com.meterware.httpunit.GetMethodWebRequest; +import com.meterware.httpunit.PostMethodWebRequest; +import com.meterware.httpunit.WebConversation; +import com.meterware.httpunit.WebRequest; +import com.meterware.httpunit.WebResponse; + public class GalleryServiceTestCase { + private static final String SERVICE_URL = "http://localhost:8085/gallery"; + + private static final String ALBUM = "{\"description\":\"Fremont Album Description\",\"name\":\"Fremont\",\"images\":[]}"; + + private static Node node; + + @BeforeClass public static void BeforeClass() { @@ -43,10 +60,54 @@ public class GalleryServiceTestCase { } } + + @Test + public void testAddAlbum() throws Exception { + //Add new item to catalog + Assert.assertEquals(204, addAlbum("Fremont")); + + //read new results and expect to get new item back in the response + Assert.assertEquals(200, getAlbum("Fremont")); + } + + public void testUpdateAlbum() throws Exception { + if(getAlbum("Fremont") != 200) { + addAlbum("Fremont"); + } + + + } + @Test public void testPing() throws Exception { new Socket("161.129.204.104", 8085); System.in.read(); } + + + private static int addAlbum(String albumId) throws IOException { + final String albumPayload = "{\"description\":\"Fremont Album Description\",\"name\":\"" + albumId + "\",\"images\":[]}"; + + WebConversation wc = new WebConversation(); + WebRequest request = new PostMethodWebRequest(SERVICE_URL, new ByteArrayInputStream(albumPayload.getBytes("UTF-8")),"application/json"); + request.setHeaderField("Content-Type", "application/json"); + WebResponse response = wc.getResource(request); + + //for debug purposes + //System.out.println(">>>" + response.getText()); + + return response.getResponseCode(); + } + + private static int getAlbum(String albumId) throws IOException { + WebConversation wc = new WebConversation(); + WebRequest request = new GetMethodWebRequest(SERVICE_URL+"/"+albumId); + WebResponse response = wc.getResource(request); + + //for debug purposes + //System.out.println(">>>" + response.getText()); + + return response.getResponseCode(); + } } From [email protected] Sun Jun 06 07:45:48 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1683 invoked from network); 6 Jun 2010 07:45:48 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 6 Jun 2010 07:45:48 -0000 Received: (qmail 29425 invoked by uid 500); 6 Jun 2010 07:45:48 -0000 Delivered-To: [email protected] Received: (qmail 29389 invoked by uid 500); 6 Jun 2010 07:45:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <photark-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 29381 invoked by uid 99); 6 Jun 2010 07:45:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jun 2010 07:45:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jun 2010 07:45:45 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 6179323889B2; Sun, 6 Jun 2010 07:45:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r951838 - /incubator/photark/trunk/photark-security/src/main/resources/openid.properties Date: Sun, 06 Jun 2010 07:45:25 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: suho Date: Sun Jun 6 07:45:25 2010 New Revision: 951838 URL: http://svn.apache.org/viewvc?rev=951838&view=rev Log: removing openid.properties this is not necessary for PhotArk operations Submitted by suho Removed: incubator/photark/trunk/photark-security/src/main/resources/openid.properties From [email protected] Sun Jun 06 09:09:33 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17007 invoked from network); 6 Jun 2010 09:09:33 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 6 Jun 2010 09:09:33 -0000 Received: (qmail 48394 invoked by uid 500); 6 Jun 2010 09:09:33 -0000 Delivered-To: [email protected] Received: (qmail 48360 invoked by uid 500); 6 Jun 2010 09:09:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <photark-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48352 invoked by uid 99); 6 Jun 2010 09:09:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jun 2010 09:09:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jun 2010 09:09:30 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0EEE623888E8; Sun, 6 Jun 2010 09:09:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r951844 - in /incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization: Permission.java Role.java User.java UserInfo.java Date: Sun, 06 Jun 2010 09:09:09 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: avd Date: Sun Jun 6 09:09:09 2010 New Revision: 951844 URL: http://svn.apache.org/viewvc?rev=951844&view=rev Log: PHOTARK-20 Adding Model Objects which will be required for Authorization. Added: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/Permission.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/Role.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/User.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/UserInfo.java Added: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/Permission.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/Permission.java?rev=951844&view=auto ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/Permission.java (added) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/Permission.java Sun Jun 6 09:09:09 2010 @@ -0,0 +1,63 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.photark.security.authorization; + +/** + * Model representing a Permission + */ +public class Permission { + public String permission; + private String desc; + + /** + * + * @param permission String + */ + public Permission(String permission){ + this.permission = permission; + } + + + /** + * + * @param description String + */ + public void setDescription(String description){ + this.desc = description; + } + + + /** + * + * @return String + */ + public String getPermission(){ + return permission; + } + + + /** + * + * @return String + */ + public String getPermissionDesc(){ + return desc; + } +} Added: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/Role.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/Role.java?rev=951844&view=auto ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/Role.java (added) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/Role.java Sun Jun 6 09:09:09 2010 @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.photark.security.authorization; + +import java.util.ArrayList; +import java.util.List; + +/** + * Model representing a Role + */ +public class Role { + public String roleName; + public List<Permission> permissions = new ArrayList<Permission>(); + + /** + * + * @param roleName String + */ + public Role(String roleName){ + this.roleName = roleName; + } + + /** + * + * @param permission Permission + */ + public void setPermission(Permission permission){ + this.permissions.add(permission); + } + + + /** + * + * @return List<Permission> + */ + public List<Permission> getPermissions(){ + return permissions; + } +} Added: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/User.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/User.java?rev=951844&view=auto ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/User.java (added) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/User.java Sun Jun 6 09:09:09 2010 @@ -0,0 +1,64 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.photark.security.authorization; + + +/** + * Model representing an User of Gallery + */ +public class User { + private String userId; + private UserInfo userinfo; + + /** + * + * @param userId String + */ + public User(String userId){ + this.userId = userId; + } + + + /** + * + * @param userInfo UserInfo + */ + public void setUserInfo(UserInfo userInfo){ + this.userinfo = userInfo; + } + + + /** + * + * @return String + */ + public String getUserId(){ + return userId; + } + + + /** + * + * @return UserInfo + */ + public UserInfo getUserInfo(){ + return userinfo; + } +} Added: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/UserInfo.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/UserInfo.java?rev=951844&view=auto ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/UserInfo.java (added) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/UserInfo.java Sun Jun 6 09:09:09 2010 @@ -0,0 +1,57 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.photark.security.authorization; + +/** + * Model representing Information of an User of Gallery + */ +public class UserInfo { + private String displayName; + private String email; + private String realName; + private String website; + + + public UserInfo(String email){ + this.email = email; + } + + public String getDisplayName(){ + return displayName; + } + + + public void setDiplayName(String displayName){ + this.displayName = displayName; + } + + public String getEmail(){ + return email; + } + + + public String getRealName(){ + return realName; + } + + public String getWebsite(){ + return website; + } +} From [email protected] Sun Jun 06 17:39:07 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27344 invoked from network); 6 Jun 2010 17:39:07 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 6 Jun 2010 17:39:07 -0000 Received: (qmail 93756 invoked by uid 500); 6 Jun 2010 17:39:07 -0000 Delivered-To: [email protected] Received: (qmail 93730 invoked by uid 500); 6 Jun 2010 17:39:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <photark-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 93722 invoked by uid 99); 6 Jun 2010 17:39:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jun 2010 17:39:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jun 2010 17:39:04 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D3C0923888CB; Sun, 6 Jun 2010 17:38:43 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r951910 - /incubator/photark/branches/photark-rest/ Date: Sun, 06 Jun 2010 17:38:43 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: lresende Date: Sun Jun 6 17:38:43 2010 New Revision: 951910 URL: http://svn.apache.org/viewvc?rev=951910&view=rev Log: Branch to apply rest style apis without breaking trunk stability Added: incubator/photark/branches/photark-rest/ - copied from r951909, incubator/photark/trunk/ From [email protected] Sun Jun 06 18:48:20 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47361 invoked from network); 6 Jun 2010 18:48:20 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 6 Jun 2010 18:48:20 -0000 Received: (qmail 32380 invoked by uid 500); 6 Jun 2010 18:48:20 -0000 Delivered-To: [email protected] Received: (qmail 32353 invoked by uid 500); 6 Jun 2010 18:48:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <photark-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32345 invoked by uid 99); 6 Jun 2010 18:48:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jun 2010 18:48:19 +0000 X-ASF-Spam-Status: No, hits=-1943.0 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jun 2010 18:48:19 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 72286238898B; Sun, 6 Jun 2010 18:47:59 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r951927 - /incubator/photark/trunk/photark-security/ Date: Sun, 06 Jun 2010 18:47:59 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: lresende Date: Sun Jun 6 18:47:59 2010 New Revision: 951927 URL: http://svn.apache.org/viewvc?rev=951927&view=rev Log: svn propset svn:ignore Modified: incubator/photark/trunk/photark-security/ (props changed) Propchange: incubator/photark/trunk/photark-security/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Sun Jun 6 18:47:59 2010 @@ -0,0 +1,20 @@ +target +work +dojo +*.iws +*.ipr +*.iml +derby.log +maven.log +maven-eclipse.xml +build.xml +build-dependency.xml +velocity.log* +junit*.properties +surefire*.properties +.project +.classpath +.settings +.deployables +.wtpmodules +.externalToolBuilders From [email protected] Tue Jun 08 04:19:01 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49595 invoked from network); 8 Jun 2010 04:19:01 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 8 Jun 2010 04:19:01 -0000 Received: (qmail 31389 invoked by uid 500); 8 Jun 2010 04:19:01 -0000 Delivered-To: [email protected] Received: (qmail 31362 invoked by uid 500); 8 Jun 2010 04:19:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <photark-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31354 invoked by uid 99); 8 Jun 2010 04:18:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jun 2010 04:18:59 +0000 X-ASF-Spam-Status: No, hits=-1943.7 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jun 2010 04:18:58 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1E9A523889C5; Tue, 8 Jun 2010 04:18:38 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r952530 - in /incubator/photark/branches/photark-rest: ./ photark-appengine-webapp/war/META-INF/ photark-filesystem/src/main/resources/ photark-jcr/src/main/java/org/apache/photark/jcr/services/ photark-jcr/src/main/resources/META-INF/ phot... Date: Tue, 08 Jun 2010 04:18:37 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: lresende Date: Tue Jun 8 04:18:37 2010 New Revision: 952530 URL: http://svn.apache.org/viewvc?rev=952530&view=rev Log: Moving tuscany dependency to latest 2.0 trunk snapshots Modified: incubator/photark/branches/photark-rest/photark-appengine-webapp/war/META-INF/photo-gallery.composite incubator/photark/branches/photark-rest/photark-appengine-webapp/war/META-INF/sca-contribution.xml incubator/photark/branches/photark-rest/photark-filesystem/src/main/resources/sca-contribution.xml incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRImageUploadServiceImpl.java incubator/photark/branches/photark-rest/photark-jcr/src/main/resources/META-INF/sca-contribution.xml incubator/photark/branches/photark-rest/photark-webapp/pom.xml incubator/photark/branches/photark-rest/photark-webapp/src/main/webapp/META-INF/sca-contribution.xml incubator/photark/branches/photark-rest/photark-webapp/src/main/webapp/WEB-INF/web.composite incubator/photark/branches/photark-rest/photark/src/main/resources/META-INF/sca-contribution.xml incubator/photark/branches/photark-rest/pom.xml Modified: incubator/photark/branches/photark-rest/photark-appengine-webapp/war/META-INF/photo-gallery.composite URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-appengine-webapp/war/META-INF/photo-gallery.composite?rev=952530&r1=952529&r2=952530&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark-appengine-webapp/war/META-INF/photo-gallery.composite (original) +++ incubator/photark/branches/photark-rest/photark-appengine-webapp/war/META-INF/photo-gallery.composite Tue Jun 8 04:18:37 2010 @@ -17,7 +17,7 @@ * specific language governing permissions and limitations * under the License. --> -<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" +<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1" targetNamespace="http://org.apache.photoark" name="photo-gallery"> Modified: incubator/photark/branches/photark-rest/photark-appengine-webapp/war/META-INF/sca-contribution.xml URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-appengine-webapp/war/META-INF/sca-contribution.xml?rev=952530&r1=952529&r2=952530&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark-appengine-webapp/war/META-INF/sca-contribution.xml (original) +++ incubator/photark/branches/photark-rest/photark-appengine-webapp/war/META-INF/sca-contribution.xml Tue Jun 8 04:18:37 2010 @@ -17,7 +17,7 @@ * specific language governing permissions and limitations * under the License. --> -<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" +<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:photark="http://org.apache.photoark"> <deployable composite="photark:photo-gallery"/> Modified: incubator/photark/branches/photark-rest/photark-filesystem/src/main/resources/sca-contribution.xml URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-filesystem/src/main/resources/sca-contribution.xml?rev=952530&r1=952529&r2=952530&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark-filesystem/src/main/resources/sca-contribution.xml (original) +++ incubator/photark/branches/photark-rest/photark-filesystem/src/main/resources/sca-contribution.xml Tue Jun 8 04:18:37 2010 @@ -17,7 +17,7 @@ * specific language governing permissions and limitations * under the License. --> -<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" +<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:photark="http://org.apache.photoark"> <export.java package="org.apache.photark.filesystem.services"/> </contribution> Modified: incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRImageUploadServiceImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRImageUploadServiceImpl.java?rev=952530&r1=952529&r2=952530&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRImageUploadServiceImpl.java (original) +++ incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRImageUploadServiceImpl.java Tue Jun 8 04:18:37 2010 @@ -106,7 +106,7 @@ public class JCRImageUploadServiceImpl e @SuppressWarnings("unchecked") @Override public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException { - response.setContentType("text/html"); + response.setContentType("text/html;charset=UTF-8"); boolean isMultipartContent = ServletFileUpload.isMultipartContent(request); if (!isMultipartContent) { Modified: incubator/photark/branches/photark-rest/photark-jcr/src/main/resources/META-INF/sca-contribution.xml URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-jcr/src/main/resources/META-INF/sca-contribution.xml?rev=952530&r1=952529&r2=952530&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark-jcr/src/main/resources/META-INF/sca-contribution.xml (original) +++ incubator/photark/branches/photark-rest/photark-jcr/src/main/resources/META-INF/sca-contribution.xml Tue Jun 8 04:18:37 2010 @@ -17,7 +17,7 @@ * specific language governing permissions and limitations * under the License. --> -<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" +<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:photark="http://org.apache.photoark"> <export.java package="org.apache.photark.jcr.services"/> </contribution> Modified: incubator/photark/branches/photark-rest/photark-webapp/pom.xml URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-webapp/pom.xml?rev=952530&r1=952529&r2=952530&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark-webapp/pom.xml (original) +++ incubator/photark/branches/photark-rest/photark-webapp/pom.xml Tue Jun 8 04:18:37 2010 @@ -153,13 +153,13 @@ <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> - <version>1.5.3</version> + <version>1.5.11</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> - <version>1.5.3</version> + <version>1.5.11</version> </dependency> <dependency> Modified: incubator/photark/branches/photark-rest/photark-webapp/src/main/webapp/META-INF/sca-contribution.xml URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-webapp/src/main/webapp/META-INF/sca-contribution.xml?rev=952530&r1=952529&r2=952530&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark-webapp/src/main/webapp/META-INF/sca-contribution.xml (original) +++ incubator/photark/branches/photark-rest/photark-webapp/src/main/webapp/META-INF/sca-contribution.xml Tue Jun 8 04:18:37 2010 @@ -17,7 +17,7 @@ * specific language governing permissions and limitations * under the License. --> -<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" +<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:photark="http://org.apache.photoark"> <deployable composite="photark:photo-gallery-jcr"/> Modified: incubator/photark/branches/photark-rest/photark-webapp/src/main/webapp/WEB-INF/web.composite URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-webapp/src/main/webapp/WEB-INF/web.composite?rev=952530&r1=952529&r2=952530&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark-webapp/src/main/webapp/WEB-INF/web.composite (original) +++ incubator/photark/branches/photark-rest/photark-webapp/src/main/webapp/WEB-INF/web.composite Tue Jun 8 04:18:37 2010 @@ -17,7 +17,7 @@ * specific language governing permissions and limitations * under the License. --> -<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" +<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1" targetNamespace="http://org.apache.photoark" name="photo-gallery-jcr"> Modified: incubator/photark/branches/photark-rest/photark/src/main/resources/META-INF/sca-contribution.xml URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark/src/main/resources/META-INF/sca-contribution.xml?rev=952530&r1=952529&r2=952530&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark/src/main/resources/META-INF/sca-contribution.xml (original) +++ incubator/photark/branches/photark-rest/photark/src/main/resources/META-INF/sca-contribution.xml Tue Jun 8 04:18:37 2010 @@ -17,7 +17,7 @@ * specific language governing permissions and limitations * under the License. --> -<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" +<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:photark="http://org.apache.photoark"> <export.java package="org.apache.photark.services.album"/> <export.java package="org.apache.photark.services.gallery"/> Modified: incubator/photark/branches/photark-rest/pom.xml URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/pom.xml?rev=952530&r1=952529&r2=952530&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/pom.xml (original) +++ incubator/photark/branches/photark-rest/pom.xml Tue Jun 8 04:18:37 2010 @@ -89,7 +89,7 @@ <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> - <tuscany.version>2.0-M4</tuscany.version> + <tuscany.version>2.0-SNAPSHOT</tuscany.version> </properties> From [email protected] Tue Jun 08 04:21:05 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49734 invoked from network); 8 Jun 2010 04:21:05 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 8 Jun 2010 04:21:05 -0000 Received: (qmail 31847 invoked by uid 500); 8 Jun 2010 04:21:05 -0000 Delivered-To: [email protected] Received: (qmail 31821 invoked by uid 500); 8 Jun 2010 04:21:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <photark-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31809 invoked by uid 99); 8 Jun 2010 04:21:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jun 2010 04:21:03 +0000 X-ASF-Spam-Status: No, hits=-1943.7 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jun 2010 04:21:00 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 7397C23889B3; Tue, 8 Jun 2010 04:20:40 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r952532 - in /incubator/photark/branches/photark-rest: photark-filesystem/ photark-filesystem/src/main/java/org/apache/photark/filesystem/services/ photark-filesystem/src/main/java/org/apache/photark/services/ photark-filesystem/src/main/ja... Date: Tue, 08 Jun 2010 04:20:40 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: lresende Date: Tue Jun 8 04:20:39 2010 New Revision: 952532 URL: http://svn.apache.org/viewvc?rev=952532&view=rev Log: Initial support for adding domain objects for the gallery related atifacts and providing initial set of rest services Added: incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/ incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/ incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemGallery.java (with props) incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemImageFilter.java - copied, changed from r952530, incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/album/ImageFilter.java incubator/photark/branches/photark-rest/photark-filesystem/src/test/java/org/apache/photark/services/ incubator/photark/branches/photark-rest/photark-filesystem/src/test/java/org/apache/photark/services/filesystem/ incubator/photark/branches/photark-rest/photark-filesystem/src/test/java/org/apache/photark/services/filesystem/FileSystemGalleryTestCase.java (with props) incubator/photark/branches/photark-rest/photark-filesystem/src/test/resources/gallery-root/ incubator/photark/branches/photark-rest/photark-filesystem/src/test/resources/gallery-root/album-1/ incubator/photark/branches/photark-rest/photark-filesystem/src/test/resources/gallery-root/album-1/IMG_0735.jpg (contents, props changed) - copied, changed from r952530, incubator/photark/branches/photark-rest/photark-filesystem/src/test/resources/gallery-home/album-1/IMG_0735.jpg incubator/photark/branches/photark-rest/photark-filesystem/src/test/resources/gallery-root/album-2/ incubator/photark/branches/photark-rest/photark-filesystem/src/test/resources/gallery-root/album-2/IMG_0735.jpg (contents, props changed) - copied, changed from r952530, incubator/photark/branches/photark-rest/photark-filesystem/src/test/resources/gallery-home/album-2/IMG_0735.jpg incubator/photark/branches/photark-rest/photark-filesystem/src/test/resources/gallery.composite - copied, changed from r952530, incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/ImageUploadService.java incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Album.java (with props) incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumList.java (contents, props changed) - copied, changed from r952530, incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/album/ImageFilter.java incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumRef.java (with props) incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageRef.java (with props) incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/GalleryService.java (with props) Removed: incubator/photark/branches/photark-rest/photark-filesystem/src/test/java/org/apache/photark/filesystem/services/FileSystemGalleryTestCase.java incubator/photark/branches/photark-rest/photark-filesystem/src/test/resources/gallery-home/album-1/IMG_0735.jpg incubator/photark/branches/photark-rest/photark-filesystem/src/test/resources/gallery-home/album-2/IMG_0735.jpg incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/album/ImageFilter.java Modified: incubator/photark/branches/photark-rest/photark-filesystem/pom.xml incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/filesystem/services/FileSystemAlbumImpl.java incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRAlbumImpl.java incubator/photark/branches/photark-rest/photark/pom.xml incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Image.java incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageMetadata.java incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/ImageCollection.java incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/ImageUploadService.java incubator/photark/branches/photark-rest/photark/src/test/java/org/apache/photark/services/gallery/filesystem/ImageMetadataScannerTestCase.java Modified: incubator/photark/branches/photark-rest/photark-filesystem/pom.xml URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-filesystem/pom.xml?rev=952532&r1=952531&r2=952532&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark-filesystem/pom.xml (original) +++ incubator/photark/branches/photark-rest/photark-filesystem/pom.xml Tue Jun 8 04:20:39 2010 @@ -41,6 +41,12 @@ <version>1.0-incubating-SNAPSHOT</version> </dependency> + <dependency> + <groupId>javax.ws.rs</groupId> + <artifactId>jsr311-api</artifactId> + <version>1.1</version> + </dependency> + <!-- marking dependency as provided to exclude from war file --> <dependency> <groupId>javax.servlet</groupId> @@ -49,12 +55,34 @@ <scope>provided</scope> </dependency> + + <dependency> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-node-impl</artifactId> + <version>${tuscany.version}</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-host-jetty</artifactId> + <version>${tuscany.version}</version> + <scope>test</scope> + </dependency> + <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.8.1</version> <scope>test</scope> </dependency> + + <dependency> + <groupId>httpunit</groupId> + <artifactId>httpunit</artifactId> + <version>1.7</version> + <scope>test</scope> + </dependency> </dependencies> <build> Modified: incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/filesystem/services/FileSystemAlbumImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/filesystem/services/FileSystemAlbumImpl.java?rev=952532&r1=952531&r2=952532&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/filesystem/services/FileSystemAlbumImpl.java (original) +++ incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/filesystem/services/FileSystemAlbumImpl.java Tue Jun 8 04:20:39 2010 @@ -25,7 +25,6 @@ import java.util.List; import org.apache.photark.Image; import org.apache.photark.services.album.Album; -import org.apache.photark.services.album.ImageFilter; import org.oasisopen.sca.annotation.Init; import org.oasisopen.sca.annotation.Property; @@ -49,7 +48,7 @@ public class FileSystemAlbumImpl impleme if(location != null) { java.io.File album = new java.io.File(location); if (album.isDirectory() && album.exists()) { - String[] listPictures = album.list(new org.apache.photark.services.album.ImageFilter(".jpg")); + String[] listPictures = album.list(new org.apache.photark.services.filesystem.FileSystemImageFilter(".jpg")); for(String image : listPictures) { pictures.add(image); } Added: incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemGallery.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemGallery.java?rev=952532&view=auto ============================================================================== --- incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemGallery.java (added) +++ incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemGallery.java Tue Jun 8 04:20:39 2010 @@ -0,0 +1,164 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.photark.services.filesystem; + +import java.io.File; +import java.security.InvalidParameterException; +import java.util.HashMap; +import java.util.Iterator; +import java.util.Map; +import java.util.Map.Entry; + +import javax.ws.rs.PathParam; + +import org.apache.photark.Album; +import org.apache.photark.AlbumList; +import org.apache.photark.AlbumRef; +import org.apache.photark.Image; +import org.apache.photark.services.GalleryService; +import org.oasisopen.sca.annotation.Init; +import org.oasisopen.sca.annotation.Property; + +/** + * File system based gallery + */ +public class FileSystemGallery implements GalleryService { + private String galleryRoot; + private Map<String, Album> albums = new HashMap<String, Album>(); + + + public FileSystemGallery(@Property(name="galleryRoot") String galleryRoot) { + this.galleryRoot = galleryRoot; + } + + @Init + public void init() { + try { + + java.net.URL galleryURL = this.getClass().getClassLoader().getResource(galleryRoot); + if(galleryURL == null) { + // Accomodate for J2EE classpath that starts in WEB-INF\classes + galleryURL = this.getClass().getClassLoader().getResource("../../" + galleryRoot); + } + if(galleryURL == null) { + // Workaroud for Google apps Engine + String galleryDir = System.getProperty("user.dir") + "/" + galleryRoot; + galleryURL = new java.net.URL("file://" + galleryDir); + } + + + if(galleryRoot != null) { + java.io.File galleryDirectory = new java.io.File(galleryURL.toURI()); + if (galleryDirectory.isDirectory() && galleryDirectory.exists()) { + java.io.File[] albumDirectoryList = galleryDirectory.listFiles(); + for(java.io.File albumDirectory : albumDirectoryList) { + if(! albumDirectory.getName().startsWith(".")) { + if(albumDirectory.isDirectory() && albumDirectory.exists()) { + Album album = createAlbum(albumDirectory); + albums.put(album.getName(), album); + } + } + } + } + } + } catch (Exception e) { + // FIXME: ignore for now + e.printStackTrace(); + } + } + + + public AlbumList getAlbums() { + AlbumList albumList = new AlbumList(); + + Iterator<Entry<String, Album>> albumIterator = albums.entrySet().iterator(); + while(albumIterator.hasNext()) { + Album album = (Album) albumIterator.next().getValue(); + albumList.getAlbums().add(AlbumRef.createAlbumRef(album)); + } + + return albumList; + } + + public Album getAlbum(@PathParam("id") String albumId) { + if(albumId == null || albumId.isEmpty()) { + throw new InvalidParameterException("Invalid/Empty album id"); + } + + if(! albums.containsKey(albumId)) { + throw new InvalidParameterException("Album '" + albumId + "' not found"); + } + + return albums.get(albumId); + } + + public void addAlbum(Album newAlbum) { + if(newAlbum.getName() == null || newAlbum.getName().isEmpty()) { + throw new InvalidParameterException("Album has no name"); + } + this.albums.put(newAlbum.getName(), newAlbum); + } + + public void updateAlbum(Album album) { + if(album.getName() == null || album.getName().isEmpty()) { + throw new InvalidParameterException("Album has no name"); + } + + if(! albums.containsKey(album.getName())) { + throw new InvalidParameterException("Album '" + album.getName() + "' not found"); + } + + albums.put(album.getName(), album); + } + + public void removeAlbum(String albumId) { + if(albumId == null || albumId.isEmpty()) { + throw new InvalidParameterException("Invalid/Empty album id"); + } + + if(! albums.containsKey(albumId)) { + throw new InvalidParameterException("Album '" + albumId + "' not found"); + } + + albums.remove(albumId); + } + + /** + * Process a Album folder and return a Album model + * @return the album model representing the album folder + */ + private Album createAlbum(File albumDirectory) { + + Album album = new Album(); + album.setName(albumDirectory.getName()); + + String[] listPictures = albumDirectory.list(new FileSystemImageFilter(".jpg")); + for(String image : listPictures) { + String imageLocation = "http://localhost:8085/gallery/" + album.getName() + "/" + image; + + Image albumImage = new Image(); + albumImage.setLocation(imageLocation); + + album.getImages().add(albumImage); + } + + return album; + } +} Propchange: incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemGallery.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemGallery.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Copied: incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemImageFilter.java (from r952530, incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/album/ImageFilter.java) URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemImageFilter.java?p2=incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemImageFilter.java&p1=incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/album/ImageFilter.java&r1=952530&r2=952532&rev=952532&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/album/ImageFilter.java (original) +++ incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemImageFilter.java Tue Jun 8 04:20:39 2010 @@ -17,7 +17,7 @@ * under the License. */ -package org.apache.photark.services.album; +package org.apache.photark.services.filesystem; import java.io.File; import java.io.FilenameFilter; @@ -25,9 +25,9 @@ import java.io.FilenameFilter; /** * Inner fileFilter class */ -public class ImageFilter implements FilenameFilter { +public class FileSystemImageFilter implements FilenameFilter { String afn; - public ImageFilter(String afn) { this.afn = afn; } + public FileSystemImageFilter(String afn) { this.afn = afn; } public boolean accept(File dir, String name) { // Strip path information: String f = new File(name).getName(); Added: incubator/photark/branches/photark-rest/photark-filesystem/src/test/java/org/apache/photark/services/filesystem/FileSystemGalleryTestCase.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-filesystem/src/test/java/org/apache/photark/services/filesystem/FileSystemGalleryTestCase.java?rev=952532&view=auto ============================================================================== --- incubator/photark/branches/photark-rest/photark-filesystem/src/test/java/org/apache/photark/services/filesystem/FileSystemGalleryTestCase.java (added) +++ incubator/photark/branches/photark-rest/photark-filesystem/src/test/java/org/apache/photark/services/filesystem/FileSystemGalleryTestCase.java Tue Jun 8 04:20:39 2010 @@ -0,0 +1,82 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.photark.services.filesystem; + +import java.io.IOException; + +import org.apache.tuscany.sca.node.Contribution; +import org.apache.tuscany.sca.node.ContributionLocationHelper; +import org.apache.tuscany.sca.node.Node; +import org.apache.tuscany.sca.node.NodeFactory; +import org.json.JSONException; +import org.json.JSONObject; +import org.junit.AfterClass; +import org.junit.BeforeClass; +import org.junit.Test; + +import com.meterware.httpunit.GetMethodWebRequest; +import com.meterware.httpunit.WebConversation; +import com.meterware.httpunit.WebRequest; +import com.meterware.httpunit.WebResponse; + +public class FileSystemGalleryTestCase { + private static final String GALLERY_SERVICE_URL = "http://localhost:8085/gallery"; + + private static Node node; + + @BeforeClass + public static void BeforeClass() { + try { + String contribution = ContributionLocationHelper.getContributionLocation("gallery.composite"); + node = NodeFactory.newInstance().createNode("gallery.composite", new Contribution("gallery", contribution)); + node.start(); + } catch (Exception e) { + e.printStackTrace(); + } + } + + @AfterClass + public static void AfterClass() { + node.stop(); + } + + @Test + public void testGetAlbums() throws IOException, JSONException { + WebConversation wc = new WebConversation(); + WebRequest request = new GetMethodWebRequest(GALLERY_SERVICE_URL); + WebResponse response = wc.getResource(request); + + JSONObject json = new JSONObject(response.getText()); + + //for debug purposes + System.out.println(">>>" + json.toString()); + } + + + /* + @Test + public void testDiscoverAlbums() { + AlbumList albumList = gallery.getAlbums(); + + Assert.assertEquals(2, albumList.getAlbums().size()); + Assert.assertTrue(albumList.getAlbums().get(0).getName().startsWith("album-")); + Assert.assertTrue(albumList.getAlbums().get(0).getName().startsWith("album-")); + }*/ +} Propchange: incubator/photark/branches/photark-rest/photark-filesystem/src/test/java/org/apache/photark/services/filesystem/FileSystemGalleryTestCase.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/branches/photark-rest/photark-filesystem/src/test/java/org/apache/photark/services/filesystem/FileSystemGalleryTestCase.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Copied: incubator/photark/branches/photark-rest/photark-filesystem/src/test/resources/gallery-root/album-1/IMG_0735.jpg (from r952530, incubator/photark/branches/photark-rest/photark-filesystem/src/test/resources/gallery-home/album-1/IMG_0735.jpg) URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-filesystem/src/test/resources/gallery-root/album-1/IMG_0735.jpg?p2=incubator/photark/branches/photark-rest/photark-filesystem/src/test/resources/gallery-root/album-1/IMG_0735.jpg&p1=incubator/photark/branches/photark-rest/photark-filesystem/src/test/resources/gallery-home/album-1/IMG_0735.jpg&r1=952530&r2=952532&rev=952532&view=diff ============================================================================== Binary files - no diff available. Propchange: incubator/photark/branches/photark-rest/photark-filesystem/src/test/resources/gallery-root/album-1/IMG_0735.jpg ------------------------------------------------------------------------------ svn:mime-type = image/jpeg Copied: incubator/photark/branches/photark-rest/photark-filesystem/src/test/resources/gallery-root/album-2/IMG_0735.jpg (from r952530, incubator/photark/branches/photark-rest/photark-filesystem/src/test/resources/gallery-home/album-2/IMG_0735.jpg) URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-filesystem/src/test/resources/gallery-root/album-2/IMG_0735.jpg?p2=incubator/photark/branches/photark-rest/photark-filesystem/src/test/resources/gallery-root/album-2/IMG_0735.jpg&p1=incubator/photark/branches/photark-rest/photark-filesystem/src/test/resources/gallery-home/album-2/IMG_0735.jpg&r1=952530&r2=952532&rev=952532&view=diff ============================================================================== Binary files - no diff available. Propchange: incubator/photark/branches/photark-rest/photark-filesystem/src/test/resources/gallery-root/album-2/IMG_0735.jpg ------------------------------------------------------------------------------ svn:mime-type = image/jpeg Copied: incubator/photark/branches/photark-rest/photark-filesystem/src/test/resources/gallery.composite (from r952530, incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/ImageUploadService.java) URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-filesystem/src/test/resources/gallery.composite?p2=incubator/photark/branches/photark-rest/photark-filesystem/src/test/resources/gallery.composite&p1=incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/ImageUploadService.java&r1=952530&r2=952532&rev=952532&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/ImageUploadService.java (original) +++ incubator/photark/branches/photark-rest/photark-filesystem/src/test/resources/gallery.composite Tue Jun 8 04:20:39 2010 @@ -1,4 +1,5 @@ -/* +<?xml version="1.0" encoding="UTF-8"?> +<!-- * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -15,15 +16,19 @@ * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - */ - -package org.apache.photark.services; - -import javax.servlet.Servlet; - -import org.oasisopen.sca.annotation.Remotable; - -@Remotable -public interface ImageUploadService extends Servlet { - -} +--> +<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" + xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1" + targetNamespace="http://photark" + name="gallery"> + + <component name="Gallery"> + <implementation.java class="org.apache.photark.services.filesystem.FileSystemGallery"/> + <property name="galleryRoot">gallery-root</property> + <service name="GalleryService"> + <tuscany:binding.rest uri="http://localhost:8085/gallery"> + <tuscany:operationSelector.jaxrs /> + </tuscany:binding.rest> + </service> + </component> +</composite> Modified: incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRAlbumImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRAlbumImpl.java?rev=952532&r1=952531&r2=952532&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRAlbumImpl.java (original) +++ incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRAlbumImpl.java Tue Jun 8 04:20:39 2010 @@ -35,9 +35,9 @@ import javax.jcr.RepositoryException; import javax.jcr.Session; import org.apache.photark.Image; +import org.apache.photark.filesystem.services.ImageFilter; import org.apache.photark.jcr.JCRRepositoryManager; import org.apache.photark.services.album.Album; -import org.apache.photark.services.album.ImageFilter; import org.oasisopen.sca.annotation.Destroy; import org.oasisopen.sca.annotation.Init; import org.oasisopen.sca.annotation.Property; Modified: incubator/photark/branches/photark-rest/photark/pom.xml URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark/pom.xml?rev=952532&r1=952531&r2=952532&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark/pom.xml (original) +++ incubator/photark/branches/photark-rest/photark/pom.xml Tue Jun 8 04:20:39 2010 @@ -45,20 +45,22 @@ <groupId>org.apache.tuscany.sca</groupId> <artifactId>tuscany-implementation-java-runtime</artifactId> <version>${tuscany.version}</version> - <scope>runtime</scope> - <exclusions> - <exclusion> - <groupId>asm</groupId> - <artifactId>asm</artifactId> - </exclusion> - <exclusion> - <groupId>cglib</groupId> - <artifactId>cglib</artifactId> - </exclusion> - </exclusions> + <scope>runtime</scope> </dependency> <dependency> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-binding-rest-runtime</artifactId> + <version>${tuscany.version}</version> + </dependency> + + <dependency> + <groupId>javax.ws.rs</groupId> + <artifactId>jsr311-api</artifactId> + <version>1.1</version> + </dependency> + + <dependency> <groupId>org.apache.sanselan</groupId> <artifactId>sanselan</artifactId> <version>0.97-incubator</version> @@ -70,7 +72,21 @@ <artifactId>servlet-api</artifactId> <version>2.5</version> <scope>provided</scope> - </dependency> + </dependency> + + <dependency> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-node-impl</artifactId> + <version>2.0-SNAPSHOT</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-host-jetty</artifactId> + <version>2.0-SNAPSHOT</version> + <scope>test</scope> + </dependency> <dependency> <groupId>junit</groupId> @@ -79,6 +95,12 @@ <scope>test</scope> </dependency> + <dependency> + <groupId>httpunit</groupId> + <artifactId>httpunit</artifactId> + <version>1.7</version> + <scope>test</scope> + </dependency> </dependencies> <build> Added: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Album.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Album.java?rev=952532&view=auto ============================================================================== --- incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Album.java (added) +++ incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Album.java Tue Jun 8 04:20:39 2010 @@ -0,0 +1,103 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.photark; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +/** + * Model representing a gallery album + * + * @version $Rev$ $Date$ + */ +public class Album { + private String name; + private String description; + private String location; + private Date dateCreated; + private Date dateUpdated; + private int size; + + private List<Image> images = new ArrayList<Image>(); + + /** + * Default constructor + */ + public Album() { + + } + + /** + * Get album name + * @return album name + */ + public String getName() { + return name; + } + + /** + * Set album name + * @param name album name + */ + public void setName(String name) { + this.name = name; + } + + /** + * Get album description + * @return album description + */ + public String getDescription() { + return description; + } + + /** + * Set album description + * @param description album description + */ + public void setDescription(String description) { + this.description = description; + } + + /** + * Get album location URL + * @return the album location URL + */ + public String getLocation() { + return this.location; + } + + /** + * Set album location URL + * @param location album location url + */ + public void setLocation(String location) { + this.location = location; + } + + /** + * List of album images + * @return the list of album images + */ + public List<Image> getImages() { + return images; + } +} Propchange: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Album.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Album.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Copied: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumList.java (from r952530, incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/album/ImageFilter.java) URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumList.java?p2=incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumList.java&p1=incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/album/ImageFilter.java&r1=952530&r2=952532&rev=952532&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/album/ImageFilter.java (original) +++ incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumList.java Tue Jun 8 04:20:39 2010 @@ -17,20 +17,27 @@ * under the License. */ -package org.apache.photark.services.album; +package org.apache.photark; -import java.io.File; -import java.io.FilenameFilter; +import java.util.ArrayList; +import java.util.List; /** - * Inner fileFilter class + * Aggregate a list of album references, + * useful to produce the proper json/xml output + * for gallery set of albums, without the full + * details of the album model object itself + * + * @version $Rev$ $Date$ */ -public class ImageFilter implements FilenameFilter { - String afn; - public ImageFilter(String afn) { this.afn = afn; } - public boolean accept(File dir, String name) { - // Strip path information: - String f = new File(name).getName(); - return f.indexOf(afn) != -1; +public class AlbumList { + private List<AlbumRef> albumRefs = new ArrayList<AlbumRef>(); + + /** + * Retrieve a list of albums + * @return the list of album references + */ + public List<AlbumRef> getAlbums() { + return this.albumRefs; } -} \ No newline at end of file +} Propchange: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumList.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumList.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumRef.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumRef.java?rev=952532&view=auto ============================================================================== --- incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumRef.java (added) +++ incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumRef.java Tue Jun 8 04:20:39 2010 @@ -0,0 +1,105 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.photark; + +/** + * A Album Rerefence model object + * Useful to provide summary set of album + * information over the wire + * + * @version $Rev$ $Date$ + */ +public class AlbumRef { + private String albumName; + private String coverImageRef; + private String albumRef; + + /** + * Default constructor + */ + public AlbumRef() { + + } + + /** + * Get Album name + * @return the album name + */ + public String getName() { + return albumName; + } + + /** + * Set Album name + * @param name the album name + */ + public void setName(String name) { + this.albumName = name; + } + + /** + * Get cover image reference + * @return the cover image url reference + */ + public String getCoverImageRef() { + return coverImageRef; + } + + /** + * Set cover image reference + * @param coverImageRef the cover image url reference + */ + public void setCoverImageRef(String coverImageRef) { + this.coverImageRef = coverImageRef; + } + + /** + * Get album ref + * @return album ref + */ + public String getRef() { + return albumRef; + } + + /** + * Set album ref + * @param albumRef album ref + */ + public void setRef(String albumRef) { + this.albumRef = albumRef; + } + + /** + * Utility method to create a AlbumRef from a Album + * @param album + * @return + */ + public static AlbumRef createAlbumRef(Album album) { + AlbumRef albumRef = new AlbumRef(); + + albumRef.setName(album.getName()); + if(! album.getImages().isEmpty()) { + albumRef.setCoverImageRef(album.getImages().get(0).getLocation()); + } + albumRef.setRef(album.getLocation()); + + return albumRef; + } +} Propchange: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumRef.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumRef.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Modified: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Image.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Image.java?rev=952532&r1=952531&r2=952532&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Image.java (original) +++ incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Image.java Tue Jun 8 04:20:39 2010 @@ -19,37 +19,32 @@ package org.apache.photark; -import java.io.File; -import java.io.FileInputStream; -import java.io.InputStream; +import java.util.ArrayList; import java.util.Date; import java.util.List; -import org.apache.photark.util.ImageMetadataScanner; - /** * Model representing an album image + * + * @version $Rev$ $Date$ */ public class Image { - private String imageName; + private String name; + private String title; private Date datePosted; - private InputStream imageStream; - - private List<ImageMetadata> imageAttributes; + + private String url; + private String urlThumb; + + private List<ImageMetadata> imageAttributes = new ArrayList<ImageMetadata>(); /** * Constructor * @param imageFile a File representing the image * @param datePosted Date when image is being added */ - public Image(File imageFile, Date datePosted) { - this.imageName = imageFile.getName(); - this.datePosted = datePosted; - try { - this.imageStream = new FileInputStream(imageFile); - } catch(Exception fnf) { - fnf.printStackTrace(); - } + public Image() { + } /** @@ -58,10 +53,10 @@ public class Image { * @param datePosted Date when image is being added * @param imageStream Image stream content */ - public Image(String name, Date datePosted, InputStream imageStream) { - this.imageName = name; + public Image(String name, String title, Date datePosted) { + this.name = name; + this.title = title; this.datePosted = datePosted; - this.imageStream = imageStream; } /** @@ -69,23 +64,71 @@ public class Image { * @return image file name */ public String getName() { - return imageName; + return name; + } + + /** + * Set image file name + * @param name image file name + */ + public void setName(String name) { + this.name = name; } /** + * Get image title + * @return image title + */ + public String getTitle() { + return title; + } + + /** + * Set image title + * @param title image title + */ + public void setTitle(String title) { + this.title = title; + } + + /** * Get date when image was posted * @return date posted */ public Date getDatePosted() { return datePosted; } + + /** + * Get Image URL + * @return the image URL + */ + public String getLocation() { + return url; + } + + /** + * Set Image URL + * @param url Image URL + */ + public void setLocation(String location) { + this.url = location; + } + + /** + * Get URL for the thumbnail version of the image + * @return URL for the thumbnail + */ + public String getThumbnailLocation() { + return urlThumb; + } /** - * Return image content as stream - * @return image stream + * Set URL for the thumbnail version of the image + * @param urlThumb URL for the thumbnail */ - public InputStream getImageAsStream() { - return imageStream; + public void setThumbnailLocation(String thumbnailLocation) { + this.urlThumb = thumbnailLocation; } /** @@ -93,9 +136,6 @@ public class Image { * @return list of image metadata attributes */ public List<ImageMetadata> getImageMetadata() { - if(imageAttributes == null) { - imageAttributes = ImageMetadataScanner.scanImageMetadata(imageName, imageStream); - } return imageAttributes; } Modified: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageMetadata.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageMetadata.java?rev=952532&r1=952531&r2=952532&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageMetadata.java (original) +++ incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageMetadata.java Tue Jun 8 04:20:39 2010 @@ -24,15 +24,25 @@ import org.apache.sanselan.formats.tiff. /** * Represent a EXIF Metatada attribute/value from * It implements the ExifTagConstants from Sanselan to leverage it's sxit field contants + * + * @version $Rev$ $Date$ */ public class ImageMetadata implements ExifTagConstants { private String key; private String value; + /** + * Default constructor + */ public ImageMetadata() { } + /** + * Constructor that initializes name/value pair for metadata + * @param key + * @param value + */ public ImageMetadata(String key, String value) { this.key = key; this.value = value; Added: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageRef.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageRef.java?rev=952532&view=auto ============================================================================== --- incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageRef.java (added) +++ incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageRef.java Tue Jun 8 04:20:39 2010 @@ -0,0 +1,76 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.photark; + +/** + * + * @version $Rev$ $Date$ + */ +public class ImageRef { + private String name; + private String title; + + private String url; + private String urlThumb; + + private String imageRef; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getTitle() { + return title; + } + + public void setTitle(String title) { + this.title = title; + } + + public String getLocation() { + return url; + } + + public void setLocation(String location) { + this.url = location; + } + + public String getThumbnailLocation() { + return urlThumb; + } + + public void setThumbnailLocation(String thumbnailLocation) { + this.urlThumb = thumbnailLocation; + } + + public String getImageRef() { + return imageRef; + } + + public void setImageRef(String imageRef) { + this.imageRef = imageRef; + } + + +} Propchange: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageRef.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageRef.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/GalleryService.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/GalleryService.java?rev=952532&view=auto ============================================================================== --- incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/GalleryService.java (added) +++ incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/GalleryService.java Tue Jun 8 04:20:39 2010 @@ -0,0 +1,65 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.photark.services; + +import javax.ws.rs.DELETE; +import javax.ws.rs.GET; +import javax.ws.rs.POST; +import javax.ws.rs.PUT; +import javax.ws.rs.Path; +import javax.ws.rs.PathParam; +import javax.ws.rs.Produces; +import javax.ws.rs.core.MediaType; + +import org.apache.photark.Album; +import org.apache.photark.AlbumList; +import org.oasisopen.sca.annotation.Remotable; + +/** + * Gallery facade service + * + * @version $Rev$ $Date$ + */ +@Remotable +public interface GalleryService { + + /** + * Retrieve a list of all Albums from the Gallery + * @return + */ + @GET + @Produces(MediaType.APPLICATION_JSON) + AlbumList getAlbums(); + + @GET + @Produces(MediaType.APPLICATION_JSON) + @Path("{id}") + Album getAlbum(@PathParam("id") String albumId); + + @POST + void addAlbum(Album newAlbum); + + @PUT + void updateAlbum(Album album); + + @DELETE + void removeAlbum(String albumId); + +} Propchange: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/GalleryService.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/GalleryService.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Modified: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/ImageCollection.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/ImageCollection.java?rev=952532&r1=952531&r2=952532&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/ImageCollection.java (original) +++ incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/ImageCollection.java Tue Jun 8 04:20:39 2010 @@ -26,6 +26,7 @@ import org.oasisopen.sca.annotation.Remo /** * Image collection component + * @version $Rev$ $Date$ */ @Remotable public interface ImageCollection extends Collection<String, InputStream> { Modified: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/ImageUploadService.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/ImageUploadService.java?rev=952532&r1=952531&r2=952532&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/ImageUploadService.java (original) +++ incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/ImageUploadService.java Tue Jun 8 04:20:39 2010 @@ -23,6 +23,9 @@ import javax.servlet.Servlet; import org.oasisopen.sca.annotation.Remotable; +/** + * @version $Rev$ $Date$ + */ @Remotable public interface ImageUploadService extends Servlet { Modified: incubator/photark/branches/photark-rest/photark/src/test/java/org/apache/photark/services/gallery/filesystem/ImageMetadataScannerTestCase.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark/src/test/java/org/apache/photark/services/gallery/filesystem/ImageMetadataScannerTestCase.java?rev=952532&r1=952531&r2=952532&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark/src/test/java/org/apache/photark/services/gallery/filesystem/ImageMetadataScannerTestCase.java (original) +++ incubator/photark/branches/photark-rest/photark/src/test/java/org/apache/photark/services/gallery/filesystem/ImageMetadataScannerTestCase.java Tue Jun 8 04:20:39 2010 @@ -19,22 +19,22 @@ package org.apache.photark.services.gallery.filesystem; -import java.io.File; import java.net.URISyntaxException; -import java.util.Date; -import org.apache.photark.Image; -import org.junit.Assert; +import org.junit.Ignore; import org.junit.Test; +@Ignore public class ImageMetadataScannerTestCase { @Test public void testMetadataScanner() throws URISyntaxException { + /* File imageFile = new File(ImageMetadataScannerTestCase.class.getClassLoader().getResource("gallery-home/album-1/IMG_0735.jpg").toURI()); Image image = new Image(imageFile, new Date()); Assert.assertNotNull(image.getImageMetadata()); Assert.assertTrue(image.getImageMetadata().size() > 0); + */ /* for debug purpose for(ImageMetadata metadata : image.getImageMetadata()) { System.out.println(">>" + metadata.getKey() + "\t" + metadata.getValue()); From [email protected] Tue Jun 08 04:31:11 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50518 invoked from network); 8 Jun 2010 04:31:11 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 8 Jun 2010 04:31:11 -0000 Received: (qmail 37640 invoked by uid 500); 8 Jun 2010 04:31:11 -0000 Delivered-To: [email protected] Received: (qmail 37615 invoked by uid 500); 8 Jun 2010 04:31:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <photark-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 37607 invoked by uid 99); 8 Jun 2010 04:31:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jun 2010 04:31:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jun 2010 04:31:07 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 622AF23889B6; Tue, 8 Jun 2010 04:30:45 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r952534 - in /incubator/photark/branches/photark-rest: photark-filesystem/src/test/java/org/apache/photark/services/filesystem/ photark/src/main/java/org/apache/photark/ Date: Tue, 08 Jun 2010 04:30:45 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: lresende Date: Tue Jun 8 04:30:44 2010 New Revision: 952534 URL: http://svn.apache.org/viewvc?rev=952534&view=rev Log: Java doc additions and minor clean up Modified: incubator/photark/branches/photark-rest/photark-filesystem/src/test/java/org/apache/photark/services/filesystem/FileSystemGalleryTestCase.java incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumRef.java incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Image.java incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageMetadata.java incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageRef.java Modified: incubator/photark/branches/photark-rest/photark-filesystem/src/test/java/org/apache/photark/services/filesystem/FileSystemGalleryTestCase.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-filesystem/src/test/java/org/apache/photark/services/filesystem/FileSystemGalleryTestCase.java?rev=952534&r1=952533&r2=952534&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark-filesystem/src/test/java/org/apache/photark/services/filesystem/FileSystemGalleryTestCase.java (original) +++ incubator/photark/branches/photark-rest/photark-filesystem/src/test/java/org/apache/photark/services/filesystem/FileSystemGalleryTestCase.java Tue Jun 8 04:30:44 2010 @@ -21,6 +21,8 @@ package org.apache.photark.services.file import java.io.IOException; +import junit.framework.Assert; + import org.apache.tuscany.sca.node.Contribution; import org.apache.tuscany.sca.node.ContributionLocationHelper; import org.apache.tuscany.sca.node.Node; @@ -63,10 +65,12 @@ public class FileSystemGalleryTestCase { WebRequest request = new GetMethodWebRequest(GALLERY_SERVICE_URL); WebResponse response = wc.getResource(request); - JSONObject json = new JSONObject(response.getText()); + JSONObject jsonResponde = new JSONObject(response.getText()); + + Assert.assertNotNull(jsonResponde); //for debug purposes - System.out.println(">>>" + json.toString()); + System.out.println(">>>" + jsonResponde.toString()); } Modified: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumRef.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumRef.java?rev=952534&r1=952533&r2=952534&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumRef.java (original) +++ incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumRef.java Tue Jun 8 04:30:44 2010 @@ -37,7 +37,7 @@ public class AlbumRef { public AlbumRef() { } - + /** * Get Album name * @return the album name @@ -53,7 +53,7 @@ public class AlbumRef { public void setName(String name) { this.albumName = name; } - + /** * Get cover image reference * @return the cover image url reference @@ -61,7 +61,7 @@ public class AlbumRef { public String getCoverImageRef() { return coverImageRef; } - + /** * Set cover image reference * @param coverImageRef the cover image url reference @@ -77,7 +77,7 @@ public class AlbumRef { public String getRef() { return albumRef; } - + /** * Set album ref * @param albumRef album ref @@ -85,7 +85,7 @@ public class AlbumRef { public void setRef(String albumRef) { this.albumRef = albumRef; } - + /** * Utility method to create a AlbumRef from a Album * @param album @@ -93,13 +93,13 @@ public class AlbumRef { */ public static AlbumRef createAlbumRef(Album album) { AlbumRef albumRef = new AlbumRef(); - + albumRef.setName(album.getName()); if(! album.getImages().isEmpty()) { albumRef.setCoverImageRef(album.getImages().get(0).getLocation()); } albumRef.setRef(album.getLocation()); - + return albumRef; } } Modified: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Image.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Image.java?rev=952534&r1=952533&r2=952534&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Image.java (original) +++ incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Image.java Tue Jun 8 04:30:44 2010 @@ -32,10 +32,10 @@ public class Image { private String name; private String title; private Date datePosted; - + private String url; private String urlThumb; - + private List<ImageMetadata> imageAttributes = new ArrayList<ImageMetadata>(); /** @@ -46,7 +46,7 @@ public class Image { public Image() { } - + /** * Constructor * @param name Image name @@ -66,7 +66,7 @@ public class Image { public String getName() { return name; } - + /** * Set image file name * @param name image file name @@ -82,7 +82,7 @@ public class Image { public String getTitle() { return title; } - + /** * Set image title * @param title image title @@ -90,7 +90,7 @@ public class Image { public void setTitle(String title) { this.title = title; } - + /** * Get date when image was posted * @return date posted @@ -98,7 +98,7 @@ public class Image { public Date getDatePosted() { return datePosted; } - + /** * Get Image URL * @return the image URL @@ -130,7 +130,7 @@ public class Image { public void setThumbnailLocation(String thumbnailLocation) { this.urlThumb = thumbnailLocation; } - + /** * Return image metadata retrieved from EXIF properties * @return list of image metadata attributes Modified: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageMetadata.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageMetadata.java?rev=952534&r1=952533&r2=952534&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageMetadata.java (original) +++ incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageMetadata.java Tue Jun 8 04:30:44 2010 @@ -30,14 +30,14 @@ import org.apache.sanselan.formats.tiff. public class ImageMetadata implements ExifTagConstants { private String key; private String value; - + /** * Default constructor */ public ImageMetadata() { - + } - + /** * Constructor that initializes name/value pair for metadata * @param key @@ -47,7 +47,7 @@ public class ImageMetadata implements Ex this.key = key; this.value = value; } - + /** * Return EXIF Metadata attribute name * @return @@ -55,7 +55,7 @@ public class ImageMetadata implements Ex public String getKey() { return key; } - + /** * Set EXIF Metadata attribute name * @param key @@ -63,7 +63,7 @@ public class ImageMetadata implements Ex public void setKey(String key) { this.key = key; } - + /** * Get EXIF Metadata attribute value * @return @@ -71,7 +71,7 @@ public class ImageMetadata implements Ex public String getValue() { return value; } - + /** * Set EXIF Metadata attribute value * @param value Modified: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageRef.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageRef.java?rev=952534&r1=952533&r2=952534&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageRef.java (original) +++ incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageRef.java Tue Jun 8 04:30:44 2010 @@ -20,57 +20,95 @@ package org.apache.photark; /** - * + * Summary info for Images * @version $Rev$ $Date$ */ public class ImageRef { private String name; private String title; - + private String url; private String urlThumb; private String imageRef; + /** + * Get image name + * @return image name + */ public String getName() { return name; } + /** + * Set image name + * @param name image name + */ public void setName(String name) { this.name = name; } + /** + * Get image title + * @return image title + */ public String getTitle() { return title; } + /** + * Set image title + * @param title image title + */ public void setTitle(String title) { this.title = title; } + /** + * Get image location + * @return image location + */ public String getLocation() { return url; } + /** + * Set image location + * @param location image location + */ public void setLocation(String location) { this.url = location; } + /** + * Get thumbnail image location + * @return thumbnail image location + */ public String getThumbnailLocation() { return urlThumb; } + /** + * Set thumbnail image location + * @param thumbnailLocation thumbnail image location + */ public void setThumbnailLocation(String thumbnailLocation) { this.urlThumb = thumbnailLocation; } + /** + * Get image reference + * @return image reference + */ public String getImageRef() { return imageRef; } + /** + * Set image reference + * @param imageRef image reference + */ public void setImageRef(String imageRef) { this.imageRef = imageRef; } - - } From [email protected] Tue Jun 08 08:04:10 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16433 invoked from network); 8 Jun 2010 08:04:10 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 8 Jun 2010 08:04:10 -0000 Received: (qmail 18249 invoked by uid 500); 8 Jun 2010 08:04:10 -0000 Delivered-To: [email protected] Received: (qmail 18215 invoked by uid 500); 8 Jun 2010 08:04:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <photark-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 18203 invoked by uid 99); 8 Jun 2010 08:04:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jun 2010 08:04:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,T_FILL_THIS_FORM_SHORT X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jun 2010 08:04:01 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id F399B23888EA; Tue, 8 Jun 2010 08:03:35 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r952563 - in /incubator/photark/trunk: ./ photark-jcr/ photark-security/ photark-security/src/main/webapp/ photark-ui-security/ photark-ui-security/src/ photark-ui-security/src/main/ photark-ui-security/src/main/webapp/ photark-ui-security/... Date: Tue, 08 Jun 2010 08:03:35 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: avd Date: Tue Jun 8 08:03:34 2010 New Revision: 952563 URL: http://svn.apache.org/viewvc?rev=952563&view=rev Log: refactored photark-security module and created a new photark-ui-security module which holds the security UI. Added: incubator/photark/trunk/photark-security/DISCLAIMER incubator/photark/trunk/photark-security/LICENSE incubator/photark/trunk/photark-security/NOTICE incubator/photark/trunk/photark-ui-security/ incubator/photark/trunk/photark-ui-security/DISCLAIMER incubator/photark/trunk/photark-ui-security/LICENSE incubator/photark/trunk/photark-ui-security/NOTICE incubator/photark/trunk/photark-ui-security/pom.xml incubator/photark/trunk/photark-ui-security/src/ incubator/photark/trunk/photark-ui-security/src/main/ incubator/photark/trunk/photark-ui-security/src/main/webapp/ incubator/photark/trunk/photark-ui-security/src/main/webapp/WEB-INF/ incubator/photark/trunk/photark-ui-security/src/main/webapp/WEB-INF/web.xml incubator/photark/trunk/photark-ui-security/src/main/webapp/admin/ incubator/photark/trunk/photark-ui-security/src/main/webapp/admin/error.html incubator/photark/trunk/photark-ui-security/src/main/webapp/admin/login.html incubator/photark/trunk/photark-ui-security/src/main/webapp/home/ incubator/photark/trunk/photark-ui-security/src/main/webapp/home/error.html incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/ incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/aol.ico (with props) incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/blogger.ico (with props) incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/claimid.ico (with props) incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/flickr.ico (with props) incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/google.ico (with props) incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/lj.ico (with props) incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/myopenid.ico (with props) incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/openid.ico (with props) incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/technorati.ico (with props) incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/verisign.ico (with props) incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/vidoop.ico (with props) incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/vox.ico (with props) incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/yahoo.ico (with props) incubator/photark/trunk/photark-ui-security/src/main/webapp/home/js/ incubator/photark/trunk/photark-ui-security/src/main/webapp/home/js/login.js incubator/photark/trunk/photark-ui-security/src/main/webapp/home/login.html Removed: incubator/photark/trunk/photark-security/src/main/webapp/ Modified: incubator/photark/trunk/photark-jcr/pom.xml incubator/photark/trunk/photark-security/pom.xml incubator/photark/trunk/photark-webapp/pom.xml incubator/photark/trunk/pom.xml Modified: incubator/photark/trunk/photark-jcr/pom.xml URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-jcr/pom.xml?rev=952563&r1=952562&r2=952563&view=diff ============================================================================== --- incubator/photark/trunk/photark-jcr/pom.xml (original) +++ incubator/photark/trunk/photark-jcr/pom.xml Tue Jun 8 08:03:34 2010 @@ -34,6 +34,11 @@ <artifactId>photark</artifactId> <version>1.0-incubating-SNAPSHOT</version> </dependency> + <dependency> + <groupId>org.apache.photark</groupId> + <artifactId>photark-security</artifactId> + <version>1.0-incubating-SNAPSHOT</version> + </dependency> <!-- Tuscany Dependencies --> <dependency> Added: incubator/photark/trunk/photark-security/DISCLAIMER URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/DISCLAIMER?rev=952563&view=auto ============================================================================== --- incubator/photark/trunk/photark-security/DISCLAIMER (added) +++ incubator/photark/trunk/photark-security/DISCLAIMER Tue Jun 8 08:03:34 2010 @@ -0,0 +1,7 @@ +Apache PhotArk is an effort undergoing incubation at The Apache Software +Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is +required of all newly accepted projects until a further review indicates that +the infrastructure, communications, and decision making process have stabilized +in a manner consistent with other successful ASF projects. While incubation +status is not necessarily a reflection of the completeness or stability of the +code, it does indicate that the project has yet to be fully endorsed by the ASF. \ No newline at end of file Added: incubator/photark/trunk/photark-security/LICENSE URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/LICENSE?rev=952563&view=auto ============================================================================== --- incubator/photark/trunk/photark-security/LICENSE (added) +++ incubator/photark/trunk/photark-security/LICENSE Tue Jun 8 08:03:34 2010 @@ -0,0 +1,205 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + + Added: incubator/photark/trunk/photark-security/NOTICE URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/NOTICE?rev=952563&view=auto ============================================================================== --- incubator/photark/trunk/photark-security/NOTICE (added) +++ incubator/photark/trunk/photark-security/NOTICE Tue Jun 8 08:03:34 2010 @@ -0,0 +1,6 @@ +${pom.name} +Copyright (c) 2008 - 2009 The Apache Software Foundation + +This product includes software developed by +The Apache Software Foundation (http://www.apache.org/). + Modified: incubator/photark/trunk/photark-security/pom.xml URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/pom.xml?rev=952563&r1=952562&r2=952563&view=diff ============================================================================== --- incubator/photark/trunk/photark-security/pom.xml (original) +++ incubator/photark/trunk/photark-security/pom.xml Tue Jun 8 08:03:34 2010 @@ -26,8 +26,8 @@ <relativePath>../pom.xml</relativePath> </parent> <artifactId>photark-security</artifactId> - <packaging>war</packaging> - <name>Apache PhotArk Security</name> + <packaging>jar</packaging> + <name>Apache PhotArk Security Services</name> <dependencies> <dependency> Added: incubator/photark/trunk/photark-ui-security/DISCLAIMER URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/DISCLAIMER?rev=952563&view=auto ============================================================================== --- incubator/photark/trunk/photark-ui-security/DISCLAIMER (added) +++ incubator/photark/trunk/photark-ui-security/DISCLAIMER Tue Jun 8 08:03:34 2010 @@ -0,0 +1,7 @@ +Apache PhotArk is an effort undergoing incubation at The Apache Software +Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is +required of all newly accepted projects until a further review indicates that +the infrastructure, communications, and decision making process have stabilized +in a manner consistent with other successful ASF projects. While incubation +status is not necessarily a reflection of the completeness or stability of the +code, it does indicate that the project has yet to be fully endorsed by the ASF. \ No newline at end of file Added: incubator/photark/trunk/photark-ui-security/LICENSE URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/LICENSE?rev=952563&view=auto ============================================================================== --- incubator/photark/trunk/photark-ui-security/LICENSE (added) +++ incubator/photark/trunk/photark-ui-security/LICENSE Tue Jun 8 08:03:34 2010 @@ -0,0 +1,205 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + + Added: incubator/photark/trunk/photark-ui-security/NOTICE URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/NOTICE?rev=952563&view=auto ============================================================================== --- incubator/photark/trunk/photark-ui-security/NOTICE (added) +++ incubator/photark/trunk/photark-ui-security/NOTICE Tue Jun 8 08:03:34 2010 @@ -0,0 +1,6 @@ +${pom.name} +Copyright (c) 2008 - 2009 The Apache Software Foundation + +This product includes software developed by +The Apache Software Foundation (http://www.apache.org/). + Added: incubator/photark/trunk/photark-ui-security/pom.xml URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/pom.xml?rev=952563&view=auto ============================================================================== --- incubator/photark/trunk/photark-ui-security/pom.xml (added) +++ incubator/photark/trunk/photark-ui-security/pom.xml Tue Jun 8 08:03:34 2010 @@ -0,0 +1,36 @@ +<?xml version="1.0"?> +<!-- + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +--> +<project> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.apache.photark</groupId> + <artifactId>photark-parent</artifactId> + <version>1.0-incubating-SNAPSHOT</version> + <relativePath>../pom.xml</relativePath> + </parent> + <artifactId>photark-ui-security</artifactId> + <packaging>war</packaging> + <name>Apache PhotArk Security UI</name> + + <build> + <finalName>${artifactId}</finalName> + </build> + +</project> Added: incubator/photark/trunk/photark-ui-security/src/main/webapp/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/src/main/webapp/WEB-INF/web.xml?rev=952563&view=auto ============================================================================== --- incubator/photark/trunk/photark-ui-security/src/main/webapp/WEB-INF/web.xml (added) +++ incubator/photark/trunk/photark-ui-security/src/main/webapp/WEB-INF/web.xml Tue Jun 8 08:03:34 2010 @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +--> + +<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns="http://java.sun.com/xml/ns/javaee" + xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" + id="WebApp_ID" version="2.5"> + + <display-name>PhotArk photo gallery web application security resources</display-name> + +</web-app> Added: incubator/photark/trunk/photark-ui-security/src/main/webapp/admin/error.html URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/src/main/webapp/admin/error.html?rev=952563&view=auto ============================================================================== --- incubator/photark/trunk/photark-ui-security/src/main/webapp/admin/error.html (added) +++ incubator/photark/trunk/photark-ui-security/src/main/webapp/admin/error.html Tue Jun 8 08:03:34 2010 @@ -0,0 +1,54 @@ +<!-- + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +--> +<!DOCTYPE html> +<html> + <head> + <title>Super Admin Login</title> + <style type="text/css"> + #container { + padding: 1em; + } + </style> + </head> + <body> + <div id="container"> + <div style="float:right;width:50%;font-size:0.8em;text-align:right;"> + <div><span><a href="../">Gallery</a></span></div> + </div> + <div style="clear:both"></div> + <div style="color:red;font-size:1.4em">&nbsp; The username or password you entered is incorrect. </div> + <p>Login as <span style="color:green">Super Admin</span></p> + <form method="post" action="j_security_check"> + <table cellspacing="3"> + <tr> + <th align="right">Username:</th> + <td align="left"><input type="text" name="j_username"/></td> + </tr> + <tr> + <th align="right">Password:</th> + <td align="left"><input type="password" name="j_password"/></td> + </tr> + <tr> + <th align="right">&nbsp;</th> + <td align="left"><input type="submit" value="Log In"/></td> + </tr> + </table> + </form> + </body> +</html> \ No newline at end of file Added: incubator/photark/trunk/photark-ui-security/src/main/webapp/admin/login.html URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/src/main/webapp/admin/login.html?rev=952563&view=auto ============================================================================== --- incubator/photark/trunk/photark-ui-security/src/main/webapp/admin/login.html (added) +++ incubator/photark/trunk/photark-ui-security/src/main/webapp/admin/login.html Tue Jun 8 08:03:34 2010 @@ -0,0 +1,53 @@ +<!-- + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +--> +<!DOCTYPE html> +<html> + <head> + <title>Super Admin Login</title> +<style type="text/css"> + #container { + padding: 1em; + } +</style> +</head> +<body> +<div id="container"> + <div style="float:right;width:50%;font-size:0.8em;text-align:right;"> + <div><span><a href="../">Gallery</a></span></div> + </div> + <div style="clear:both"></div> + <p>Login as <span style="color:green">Super Admin</span></p> + <form method="post" action="j_security_check"> + <table cellspacing="3"> + <tr> + <th align="right">Username:</th> + <td align="left"><input type="text" name="j_username"/></td> + </tr> + <tr> + <th align="right">Password:</th> + <td align="left"><input type="password" name="j_password"/></td> + </tr> + <tr> + <th align="right">&nbsp;</th> + <td align="left"><input type="submit" value="Log In"/></td> + </tr> + </table> + </form> + </body> +</html> \ No newline at end of file Added: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/error.html URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/src/main/webapp/home/error.html?rev=952563&view=auto ============================================================================== --- incubator/photark/trunk/photark-ui-security/src/main/webapp/home/error.html (added) +++ incubator/photark/trunk/photark-ui-security/src/main/webapp/home/error.html Tue Jun 8 08:03:34 2010 @@ -0,0 +1,70 @@ + <!-- + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +--> +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> +<title>Login</title> + + <script type="text/javascript" src="js/login.js"></script> + +<style type="text/css"> + #container { + padding: 1em; + } + + #container p { + font-size: 1.2em; + font-family: Tahoma,Verdana; + } + + #openid_identifier { + background-image: url(images/openid.ico); + background-position: 3px 2px; + background-repeat: no-repeat; + margin: 0; + padding: 0.2em 0.2em 0.2em 20px; + vertical-align: middle; + width: 400px; + } +</style> +</head> +<body onload="initOpenIDPage();"> +<div id="container"> + <div style="float:right;width:50%;font-size:0.8em;text-align:right;"> + <div><span><a href="../">Gallery</a></span></div> + </div> + <div style="clear:both"></div> + <div style="color:red;font-size:1.4em">&nbsp; Your openid could not be resolved.</div> + <p>Login with your <span style="color:orange">openid</span></p> + <form method="POST"> + <input id="openid_identifier" name="openid_identifier" type="text" size=80/> + <input class="btn" type="submit" value="send"/> + </form> + <br> + <div style="float:left;font-size:0.8em;text-align:left;"> + <div id="provider_space" style="width:430px"></div> + + <!-- <p><span style="color:green;font-size:1em">https://www.google.com/accounts/o8/id</span><span> for google accounts</span></p> + <p>or enter <span style="color:green;font-size:1em">[email protected]</span></p> --> + </div> + + </div> +</body> +</html> + \ No newline at end of file Added: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/aol.ico URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/aol.ico?rev=952563&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/aol.ico ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/blogger.ico URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/blogger.ico?rev=952563&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/blogger.ico ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/claimid.ico URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/claimid.ico?rev=952563&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/claimid.ico ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/flickr.ico URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/flickr.ico?rev=952563&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/flickr.ico ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/google.ico URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/google.ico?rev=952563&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/google.ico ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/lj.ico URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/lj.ico?rev=952563&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/lj.ico ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/myopenid.ico URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/myopenid.ico?rev=952563&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/myopenid.ico ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/openid.ico URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/openid.ico?rev=952563&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/openid.ico ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/technorati.ico URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/technorati.ico?rev=952563&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/technorati.ico ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/verisign.ico URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/verisign.ico?rev=952563&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/verisign.ico ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/vidoop.ico URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/vidoop.ico?rev=952563&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/vidoop.ico ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/vox.ico URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/vox.ico?rev=952563&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/vox.ico ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/yahoo.ico URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/yahoo.ico?rev=952563&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/images/yahoo.ico ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/js/login.js URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/src/main/webapp/home/js/login.js?rev=952563&view=auto ============================================================================== --- incubator/photark/trunk/photark-ui-security/src/main/webapp/home/js/login.js (added) +++ incubator/photark/trunk/photark-ui-security/src/main/webapp/home/js/login.js Tue Jun 8 08:03:34 2010 @@ -0,0 +1,117 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + + + +var provider= [ [["Google","google",,,"https://www.google.com/accounts/o8/id",""],["Yahoo!","yahoo",,,"http://yahoo.com/",""],["AOL","aol","http://openid.aol.com/",,,"America Online/AIM screenname:"]], + [["Blogger","blogger","http://",".blogspot.com/",,"Google Blogger blog name:"],["Flickr","flickr",,,"http://www.flickr.com/",""],["Livejournal","lj","http://",".livejournal.com/",,"Livejournal username:"]], + [["myOpenID","myopenid","http://",".myopenid.com/",,"myOpenID username:"],["Verisign","verisign","http://",".pip.verisignlabs.com/",,"Verisign PIP username:"],["Vidoop","vidoop","http://",".myvidoop.com/",,"Vidoop username:"]], + [["claimID","claimid","http://claimid.com/",,,"claimID username:"],["Technorati","technorati","http://technorati.com/people/technorati/",,,"Technorati username:"],["Vox","vox","http://",".vox.com/",,"Vox username:"]], + [["Other OpenID","openid",,,"http://",]] + ]; + +var bgcolor = "#ffffff"; +var change_color = "#A4D1AA" +var active_color= "#42A44F"; + +var active_cell=null; +var active_cell_row=null; +var active_cell_col=null; +var username="username"; +var openid_input=null; +var input_info=""; + +function initOpenIDPage(){ +openid_input=document.getElementById("openid_identifier"); +providerSpace=document.getElementById("provider_space"); +username_input="<span style=\"color:green;font-size:1em\">Sign in using;</span><br><div id=\"input_space\" style=\"float: right;\">"+input_info+"<input id =\"input_field\"type=\"text\" size=\"20\" style=\"vertical-align: middle; padding: 2px 2px 2px 20px; background-repeat: no-repeat; background-position: 2px 2px; background-image: url(&quot;images/"+provider[4][0][1]+".ico&quot;);\" onchange=\"enter_username(this);\"onkeyup=\"enter_username(this);\" value=\"username\"></input></div><br>"; +provider_table= "<table border=\"0\" style=\"background-color: rgb(224,238,238); width: 100%; border: 0 solid rgb(110, 145, 175);\">"; +for(var i =0; i<4;i++){ +provider_table+="<tr>"; +for(var j =0; j<3;j++){ +provider_table+="<td style=\"background-color: rgb(255,255,255);font-weight: bold; padding: 4px; vertical-align: middle; cursor: pointer;\" onclick=\"click(this,"+i+","+j+")\" onmouseover=\"mover(this);\" onmouseout=\"mout(this);\"><img src=\"images/"+provider[i][j][1]+".ico\" style=\"width: 16px; height: 16px; vertical-align: middle;\">"+provider[i][j][0]+"</td>"; +} +provider_table+="</tr>"; +} +provider_table+="<tr>\ + <td colspan=\"3\" style=\"background-color: rgb(255,255,255);font-weight: bold; padding: 4px; vertical-align: middle; cursor: pointer;\" onclick=\"click(this,"+4+","+0+")\" onmouseover=\"mover(this);\" onmouseout=\"mout(this);\"><img src=\"images/"+provider[4][0][1]+".ico\" style=\"width: 16px; height: 16px; vertical-align: middle;\">"+provider[4][0][0]+"</td>\ + </tr>\ + </table>"; + +providerSpace.innerHTML=username_input+provider_table; +document.getElementById("input_space").style.display = "none"; +}; + +function click(cell,row,col) { + active_cell_row=row; + active_cell_col=col; + + if (active_cell!==null){ + active_cell.style.backgroundColor = bgcolor; + } + + cell.style.backgroundColor = active_color; + active_cell=cell; + +document.getElementById("input_space").innerHTML=provider[active_cell_row][active_cell_col][5]+"<input id =\"input_field\" type=\"text\" size=\"20\" style=\"vertical-align: middle; padding: 2px 2px 2px 20px; background-repeat: no-repeat; background-position: 2px 2px; background-image: url(&quot;images/"+provider[active_cell_row][active_cell_col][1]+".ico&quot;);\" onchange=\"enter_username(this);\"onkeyup=\"enter_username(this);\" value="+username+"></input>"; + if(provider[row][col][4]!=undefined){ + openid_input.value=provider[row][col][4]; + document.getElementById("input_space").style.display = "none"; + document.getElementById("openid_identifier").focus(); + }else { + formet_input_name(row,col); + document.getElementById("input_space").style.display = ""; + document.getElementById("input_field").focus(); + document.getElementById("input_field").select(); + } + + + +}; + +function formet_input_name(row,col){ + if(provider[row][col][2]!=undefined){ + openid_input.value=provider[row][col][2]; + } + if(username!=""){ + openid_input.value+=username; + }else { + openid_input.value+="username"; + } + if(provider[row][col][3]!=undefined){ + openid_input.value+=provider[row][col][3]; + } +}; + +function mover(cell) { + if(cell!==active_cell){ + cell.style.backgroundColor = change_color; + } +}; + +function mout(cell) { + if(cell!==active_cell){ + cell.style.backgroundColor = bgcolor; + } +}; + +function enter_username(cell){ + username=cell.value; + formet_input_name(active_cell_row,active_cell_col); +}; \ No newline at end of file Added: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/login.html URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/src/main/webapp/home/login.html?rev=952563&view=auto ============================================================================== --- incubator/photark/trunk/photark-ui-security/src/main/webapp/home/login.html (added) +++ incubator/photark/trunk/photark-ui-security/src/main/webapp/home/login.html Tue Jun 8 08:03:34 2010 @@ -0,0 +1,69 @@ +<!-- + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +--> +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> +<title>Login</title> + + <script type="text/javascript" src="js/login.js"></script> + +<style type="text/css"> + #container { + padding: 1em; + } + + #container p { + font-size: 1.2em; + font-family: Tahoma,Verdana; + } + + #openid_identifier { + background-image: url(images/openid.ico); + background-position: 3px 2px; + background-repeat: no-repeat; + margin: 0; + padding: 0.2em 0.2em 0.2em 20px; + vertical-align: middle; + width: 400px; + } +</style> +</head> +<body onload="initOpenIDPage();"> +<div id="container"> + <div style="float:right;width:50%;font-size:0.8em;text-align:right;"> + <div><span><a href="../">Gallery</a></span></div> + </div> + <div style="clear:both"></div> + <!-- <div style="color:red;font-size:1.4em">&nbsp; Your openid could not be resolved.</div>--> + <p>Login with your <span style="color:orange">openid</span></p> + <form method="POST"> + <input id="openid_identifier" name="openid_identifier" type="text" size=80/> + <input class="btn" type="submit" value="send"/> + </form> + <br> + <div style="float:left;font-size:0.8em;text-align:left;"> + <div id="provider_space" style="width:430px"></div> + + <!-- <p><span style="color:green;font-size:1em">https://www.google.com/accounts/o8/id</span><span> for google accounts</span></p> + <p>or enter <span style="color:green;font-size:1em">[email protected]</span></p> --> + </div> + + </div> +</body> +</html> Modified: incubator/photark/trunk/photark-webapp/pom.xml URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-webapp/pom.xml?rev=952563&r1=952562&r2=952563&view=diff ============================================================================== --- incubator/photark/trunk/photark-webapp/pom.xml (original) +++ incubator/photark/trunk/photark-webapp/pom.xml Tue Jun 8 08:03:34 2010 @@ -66,7 +66,7 @@ <dependency> <groupId>org.apache.photark</groupId> - <artifactId>photark-security</artifactId> + <artifactId>photark-ui-security</artifactId> <version>1.0-incubating-SNAPSHOT</version> <type>war</type> </dependency> Modified: incubator/photark/trunk/pom.xml URL: http://svn.apache.org/viewvc/incubator/photark/trunk/pom.xml?rev=952563&r1=952562&r2=952563&view=diff ============================================================================== --- incubator/photark/trunk/pom.xml (original) +++ incubator/photark/trunk/pom.xml Tue Jun 8 08:03:34 2010 @@ -192,11 +192,12 @@ </activation> <modules> <module>photark</module> + <module>photark-security</module> <module>photark-filesystem</module> <module>photark-jcr</module> - <module>photark-security</module> <module>photark-ui</module> <module>photark-ui-admin</module> + <module>photark-ui-security</module> <module>photark-appengine-webapp</module> <module>photark-webapp</module> </modules> @@ -210,11 +211,12 @@ <modules> <module>distribution</module> <module>photark</module> + <module>photark-security</module> <module>photark-filesystem</module> <module>photark-jcr</module> - <module>photark-security</module> <module>photark-ui</module> <module>photark-ui-admin</module> + <module>photark-ui-security</module> <module>photark-appengine-webapp</module> <module>photark-webapp</module> </modules> @@ -228,11 +230,12 @@ <modules> <module>distribution</module> <module>photark</module> + <module>photark-security</module> <module>photark-filesystem</module> <module>photark-jcr</module> - <module>photark-security</module> <module>photark-ui</module> <module>photark-ui-admin</module> + <module>photark-ui-security</module> <module>photark-ui-test</module> <module>photark-appengine-webapp</module> <module>photark-webapp</module> From [email protected] Tue Jun 08 15:19:49 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49222 invoked from network); 8 Jun 2010 15:19:49 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 8 Jun 2010 15:19:49 -0000 Received: (qmail 77883 invoked by uid 500); 8 Jun 2010 15:19:49 -0000 Delivered-To: [email protected] Received: (qmail 77855 invoked by uid 500); 8 Jun 2010 15:19:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <photark-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 77847 invoked by uid 99); 8 Jun 2010 15:19:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jun 2010 15:19:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jun 2010 15:19:41 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 80609238897A; Tue, 8 Jun 2010 15:19:19 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r952680 - in /incubator/photark/trunk: photark-jcr/src/main/java/org/apache/photark/jcr/security/ photark-jcr/src/main/java/org/apache/photark/jcr/security/authorization/ photark-security/src/main/java/org/apache/photark/security/authentica... Date: Tue, 08 Jun 2010 15:19:18 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: avd Date: Tue Jun 8 15:19:18 2010 New Revision: 952680 URL: http://svn.apache.org/viewvc?rev=952680&view=rev Log: Refactored photark-security module further and now security module declare AccessManager as a service.Added its JCR based implementation in photark-jcr module. Added: incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/ incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/authorization/ incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/authorization/JCRAccessManager.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/AccessManager.java Removed: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/AccessManager.java Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/AuthorizationFilter.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/FormAuthenticationServiceImpl.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/LogoutServiceImpl.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/OpenIDAuthenticationServiceImpl.java incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.composite Added: incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/authorization/JCRAccessManager.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/authorization/JCRAccessManager.java?rev=952680&view=auto ============================================================================== --- incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/authorization/JCRAccessManager.java (added) +++ incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/authorization/JCRAccessManager.java Tue Jun 8 15:19:18 2010 @@ -0,0 +1,47 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.photark.jcr.security.authorization; + +import org.apache.photark.jcr.JCRRepositoryManager; +import org.apache.photark.security.authorization.services.AccessManager; +import org.oasisopen.sca.annotation.Reference; +import org.oasisopen.sca.annotation.Remotable; +import org.oasisopen.sca.annotation.Scope; + +@Remotable +@Scope("COMPOSITE") +public class JCRAccessManager implements AccessManager { + private static String accessList; + private JCRRepositoryManager repositoryManager; + + public JCRAccessManager(){ + + } + + @Reference(name="repositoryManager") + protected void setRepositoryManager(JCRRepositoryManager repositoryManager) { + this.repositoryManager = repositoryManager; + } + + public synchronized String creatAccessList(String accessList) { + this.accessList = accessList; + return accessList; + } +} Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/AuthorizationFilter.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/AuthorizationFilter.java?rev=952680&r1=952679&r2=952680&view=diff ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/AuthorizationFilter.java (original) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/AuthorizationFilter.java Tue Jun 8 15:19:18 2010 @@ -31,11 +31,6 @@ import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; -import org.apache.photark.security.authorization.AccessManager; -import org.oasisopen.sca.annotation.Property; -import org.oasisopen.sca.annotation.Scope; -import org.oasisopen.sca.annotation.Service; - /** * Authorization Filter. This will only allow authenticated user * to access to upload.html and redirect others to OpenID authentication @@ -86,8 +81,6 @@ public class AuthorizationFilter impleme HttpServletRequest httpReq = (HttpServletRequest) request; HttpServletResponse httpResp = (HttpServletResponse) response; - AccessManager am = new AccessManager(); - if ((String)httpReq.getSession().getAttribute("accessList") != null && !((String)httpReq.getSession().getAttribute("accessList")).equals("")) { System.err.println( (String)httpReq.getSession().getAttribute("accessList") +" Accessing Admin page"); chain.doFilter(request, response); Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/FormAuthenticationServiceImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/FormAuthenticationServiceImpl.java?rev=952680&r1=952679&r2=952680&view=diff ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/FormAuthenticationServiceImpl.java (original) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/FormAuthenticationServiceImpl.java Tue Jun 8 15:19:18 2010 @@ -27,7 +27,8 @@ import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; -import org.apache.photark.security.authorization.AccessManager; +import org.apache.photark.security.authorization.services.AccessManager; +import org.oasisopen.sca.annotation.Reference; import org.oasisopen.sca.annotation.Scope; import org.oasisopen.sca.annotation.Service; @@ -40,8 +41,9 @@ import com.dyuproject.openid.RelyingPart */ @Service(Servlet.class) @Scope("COMPOSITE") -public class FormAuthenticationServiceImpl extends HttpServlet { +public class FormAuthenticationServiceImpl extends HttpServlet implements Servlet { + private AccessManager accessManager; /** * */ @@ -60,7 +62,7 @@ public class FormAuthenticationServiceIm @Override public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { - AccessManager am = new AccessManager(); + //check whether the Super Admin is authenticated if (request.getUserPrincipal() != null) { @@ -69,7 +71,7 @@ public class FormAuthenticationServiceIm RelyingParty.getInstance().invalidate(request, response); //Creating the accessList - String accesList=am.creatAccessList("SuperAdmin"); + String accesList=accessManager.creatAccessList("SuperAdmin"); request.getSession().setAttribute("accessList", accesList); System.err.println("Super Admin authenticated"); @@ -82,5 +84,10 @@ public class FormAuthenticationServiceIm } } - + + + @Reference(name="accessmanager") + protected void setAccessService(AccessManager accessManager) { + this.accessManager = accessManager; + } } \ No newline at end of file Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/LogoutServiceImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/LogoutServiceImpl.java?rev=952680&r1=952679&r2=952680&view=diff ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/LogoutServiceImpl.java (original) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/LogoutServiceImpl.java Tue Jun 8 15:19:18 2010 @@ -27,7 +27,6 @@ import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; -import org.apache.photark.security.authorization.AccessManager; import org.oasisopen.sca.annotation.Scope; import org.oasisopen.sca.annotation.Service; Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/OpenIDAuthenticationServiceImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/OpenIDAuthenticationServiceImpl.java?rev=952680&r1=952679&r2=952680&view=diff ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/OpenIDAuthenticationServiceImpl.java (original) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/OpenIDAuthenticationServiceImpl.java Tue Jun 8 15:19:18 2010 @@ -30,7 +30,8 @@ import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; -import org.apache.photark.security.authorization.AccessManager; +import org.apache.photark.security.authorization.services.AccessManager; +import org.oasisopen.sca.annotation.Reference; import org.oasisopen.sca.annotation.Scope; import org.oasisopen.sca.annotation.Service; @@ -49,10 +50,8 @@ import com.dyuproject.util.http.UrlEncod */ @Service(Servlet.class) @Scope("COMPOSITE") -public class OpenIDAuthenticationServiceImpl extends HttpServlet implements Servlet -{ - - private static final long serialVersionUID = -5304887357860915253L; +public class OpenIDAuthenticationServiceImpl extends HttpServlet implements Servlet { + private static AccessManager accessManager; static { @@ -82,14 +81,12 @@ public class OpenIDAuthenticationService public void onAuthenticate(OpenIdUser user, HttpServletRequest request) { System.err.println("newly authenticated user: " + user.getIdentity()); - - AccessManager am= new AccessManager(); //Invalidating the Super Admin user request.getSession().invalidate(); //Creating the accessList for the newly authenticated user //Creating the accessList - String accesList=am.creatAccessList(user.getIdentity()); + String accesList=accessManager.creatAccessList(user.getIdentity()); request.getSession().setAttribute("accessList", accesList); Map<String,String> sreg = SRegExtension.remove(user); @@ -115,6 +112,11 @@ public class OpenIDAuthenticationService RelyingParty _relyingParty = RelyingParty.getInstance(); + @Reference(name="accessmanager") + protected void setAccessService(AccessManager accessManager) { + this.accessManager = accessManager; + } + @Override public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException Added: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/AccessManager.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/AccessManager.java?rev=952680&view=auto ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/AccessManager.java (added) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/AccessManager.java Tue Jun 8 15:19:18 2010 @@ -0,0 +1,28 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.photark.security.authorization.services; + +import org.oasisopen.sca.annotation.Remotable; + +@Remotable +public interface AccessManager { + + String creatAccessList(String accessList ); +} Modified: incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.composite URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.composite?rev=952680&r1=952679&r2=952680&view=diff ============================================================================== --- incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.composite (original) +++ incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.composite Tue Jun 8 15:19:18 2010 @@ -66,7 +66,10 @@ <implementation.java class="org.apache.photark.security.authentication.services.OpenIDAuthenticationServiceImpl"/> <service name="Servlet"> <tuscany:binding.http uri="/home/authenticate"/> - </service> + </service> + <reference name="accessmanager" target="AccessManager"> + <binding.sca name="local"/> + </reference> </component> <!-- Component responsible for providing FORM Authentication for PhotArk --> @@ -74,7 +77,10 @@ <implementation.java class="org.apache.photark.security.authentication.services.FormAuthenticationServiceImpl"/> <service name="Servlet"> <tuscany:binding.http uri="/admin/authenticate"/> - </service> + </service> + <reference name="accessmanager" target="AccessManager"> + <binding.sca name="local"/> + </reference> </component> <!-- Component responsible for providing logging out from the active user--> @@ -85,17 +91,13 @@ </service> </component> - <!-- Component responsible for providing filter support for uploading --> - <!--<component name="UploadFilterAuthenticationServiceComponent"> - <implementation.java class="org.apache.photark.security.authentication.AuthorizationFilter"/> - <service name="Filter"> - <tuscany:binding.http uri="/admin/upload"/> - </service> - <property name="redirectPage">/home/authenticate</property> - </component> --> - <!-- Component responsible for providing Access Management for gallery/album --> - <component name="AccessManager"> - <implementation.java class="org.apache.photark.security.authorization.AccessManager"/> - </component> + <component name="AccessManager"> + <implementation.java class="org.apache.photark.jcr.security.authorization.JCRAccessManager"/> + <service name="AccessManager"> + <interface.java interface="org.apache.photark.security.authorization.services.AccessManager"/> + <binding.sca name="local"/> + </service> + <reference name="repositoryManager" target="RepositoryManager"/> + </component> </composite> From [email protected] Wed Jun 09 05:50:14 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39784 invoked from network); 9 Jun 2010 05:50:14 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 9 Jun 2010 05:50:14 -0000 Received: (qmail 18251 invoked by uid 500); 9 Jun 2010 05:50:14 -0000 Delivered-To: [email protected] Received: (qmail 18226 invoked by uid 500); 9 Jun 2010 05:50:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <photark-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 18218 invoked by uid 99); 9 Jun 2010 05:50:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jun 2010 05:50:13 +0000 X-ASF-Spam-Status: No, hits=-1944.3 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jun 2010 05:50:11 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0F0ED23888EA; Wed, 9 Jun 2010 05:49:51 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r952907 - in /incubator/photark/branches/photark-rest: photark-filesystem/src/main/java/org/apache/photark/filesystem/services/ photark-filesystem/src/main/java/org/apache/photark/services/filesystem/ photark-filesystem/src/test/java/org/ap... Date: Wed, 09 Jun 2010 05:49:50 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: lresende Date: Wed Jun 9 05:49:50 2010 New Revision: 952907 URL: http://svn.apache.org/viewvc?rev=952907&view=rev Log: Further enhancements to FileSystem gallery implementation based on REST Added: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/PhotarkRuntimeException.java - copied, changed from r952534, incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumList.java Removed: incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/filesystem/services/FileSystemAlbumImpl.java incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/filesystem/services/FileSystemGalleryImpl.java Modified: incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemGallery.java incubator/photark/branches/photark-rest/photark-filesystem/src/test/java/org/apache/photark/services/filesystem/FileSystemGalleryTestCase.java incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Album.java incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumList.java incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumRef.java incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Image.java incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageMetadata.java incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageRef.java incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/GalleryService.java Modified: incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemGallery.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemGallery.java?rev=952907&r1=952906&r2=952907&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemGallery.java (original) +++ incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemGallery.java Wed Jun 9 05:49:50 2010 @@ -20,6 +20,7 @@ package org.apache.photark.services.filesystem; import java.io.File; +import java.net.URL; import java.security.InvalidParameterException; import java.util.HashMap; import java.util.Iterator; @@ -33,6 +34,7 @@ import org.apache.photark.AlbumList; import org.apache.photark.AlbumRef; import org.apache.photark.Image; import org.apache.photark.services.GalleryService; +import org.apache.photark.services.PhotarkRuntimeException; import org.oasisopen.sca.annotation.Init; import org.oasisopen.sca.annotation.Property; @@ -40,7 +42,10 @@ import org.oasisopen.sca.annotation.Prop * File system based gallery */ public class FileSystemGallery implements GalleryService { - private String galleryRoot; + private String galleryRoot; + private URL galleryURL; + private File galleryDirectory; + private Map<String, Album> albums = new HashMap<String, Album>(); @@ -52,7 +57,7 @@ public class FileSystemGallery implement public void init() { try { - java.net.URL galleryURL = this.getClass().getClassLoader().getResource(galleryRoot); + galleryURL = this.getClass().getClassLoader().getResource(galleryRoot); if(galleryURL == null) { // Accomodate for J2EE classpath that starts in WEB-INF\classes galleryURL = this.getClass().getClassLoader().getResource("../../" + galleryRoot); @@ -65,7 +70,7 @@ public class FileSystemGallery implement if(galleryRoot != null) { - java.io.File galleryDirectory = new java.io.File(galleryURL.toURI()); + galleryDirectory = new java.io.File(galleryURL.toURI()); if (galleryDirectory.isDirectory() && galleryDirectory.exists()) { java.io.File[] albumDirectoryList = galleryDirectory.listFiles(); for(java.io.File albumDirectory : albumDirectoryList) { @@ -109,14 +114,21 @@ public class FileSystemGallery implement return albums.get(albumId); } - public void addAlbum(Album newAlbum) { + public void addAlbum(Album newAlbum) throws PhotarkRuntimeException { if(newAlbum.getName() == null || newAlbum.getName().isEmpty()) { throw new InvalidParameterException("Album has no name"); } + + if (galleryDirectory != null) { + File newAlbumDirectory = new File(galleryDirectory.getPath() + File.separator + newAlbum.getName()); + if ( ! newAlbumDirectory.mkdir()) { + throw new PhotarkRuntimeException("Error creating new album directory '" + newAlbumDirectory.getPath() + "'" ); + } + } this.albums.put(newAlbum.getName(), newAlbum); } - public void updateAlbum(Album album) { + public void updateAlbum(Album album) throws PhotarkRuntimeException { if(album.getName() == null || album.getName().isEmpty()) { throw new InvalidParameterException("Album has no name"); } @@ -124,20 +136,27 @@ public class FileSystemGallery implement if(! albums.containsKey(album.getName())) { throw new InvalidParameterException("Album '" + album.getName() + "' not found"); } - + albums.put(album.getName(), album); } - public void removeAlbum(String albumId) { - if(albumId == null || albumId.isEmpty()) { + public void removeAlbum(String albumName) throws PhotarkRuntimeException { + if(albumName == null || albumName.isEmpty()) { throw new InvalidParameterException("Invalid/Empty album id"); } - if(! albums.containsKey(albumId)) { - throw new InvalidParameterException("Album '" + albumId + "' not found"); + if(! albums.containsKey(albumName)) { + throw new InvalidParameterException("Album '" + albumName + "' not found"); } - albums.remove(albumId); + if (galleryDirectory != null) { + File newAlbumDirectory = new File(galleryDirectory.getPath() + File.separator + albumName); + if ( ! newAlbumDirectory.delete()) { + throw new PhotarkRuntimeException("Error removing album directory '" + albumName + "'" ); + } + } + + albums.remove(albumName); } /** Modified: incubator/photark/branches/photark-rest/photark-filesystem/src/test/java/org/apache/photark/services/filesystem/FileSystemGalleryTestCase.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-filesystem/src/test/java/org/apache/photark/services/filesystem/FileSystemGalleryTestCase.java?rev=952907&r1=952906&r2=952907&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark-filesystem/src/test/java/org/apache/photark/services/filesystem/FileSystemGalleryTestCase.java (original) +++ incubator/photark/branches/photark-rest/photark-filesystem/src/test/java/org/apache/photark/services/filesystem/FileSystemGalleryTestCase.java Wed Jun 9 05:49:50 2010 @@ -19,6 +19,7 @@ package org.apache.photark.services.filesystem; +import java.io.ByteArrayInputStream; import java.io.IOException; import junit.framework.Assert; @@ -27,6 +28,7 @@ import org.apache.tuscany.sca.node.Contr import org.apache.tuscany.sca.node.ContributionLocationHelper; import org.apache.tuscany.sca.node.Node; import org.apache.tuscany.sca.node.NodeFactory; +import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import org.junit.AfterClass; @@ -34,6 +36,7 @@ import org.junit.BeforeClass; import org.junit.Test; import com.meterware.httpunit.GetMethodWebRequest; +import com.meterware.httpunit.PostMethodWebRequest; import com.meterware.httpunit.WebConversation; import com.meterware.httpunit.WebRequest; import com.meterware.httpunit.WebResponse; @@ -61,26 +64,85 @@ public class FileSystemGalleryTestCase { @Test public void testGetAlbums() throws IOException, JSONException { + JSONArray albums = readAlbums(); + + //for debug purposes + //System.out.println(">>>" + jsonResponse.toString()); + + Assert.assertNotNull(albums); + + } + + @Test + public void testAddAlbums() throws IOException, JSONException { + JSONArray albums = readAlbums(); + int albumSize = albums.length(); + + //for debug purposes + //System.out.println(">>>" + jsonResponse.toString()); + + addAlbum(); + + albums = readAlbums(); + + //for debug purposes + //System.out.println(">>>" + jsonResponse.toString()); + + Assert.assertEquals(albumSize + 1, albums.length()); + } + + @Test + public void testRemoveAlbums() throws IOException, JSONException { + WebConversation wc = new WebConversation(); + WebRequest request = new GetMethodWebRequest(GALLERY_SERVICE_URL + "/" + getLastAlbumName()); + ((GetMethodWebRequest) request).setMethod("DELETE"); + WebResponse response = wc.getResource(request); + + Assert.assertEquals(200, response.getResponseCode()); + } + + + private JSONArray readAlbums() throws IOException, JSONException { WebConversation wc = new WebConversation(); WebRequest request = new GetMethodWebRequest(GALLERY_SERVICE_URL); WebResponse response = wc.getResource(request); - JSONObject jsonResponde = new JSONObject(response.getText()); + JSONObject jsonResponse = new JSONObject(response.getText()); + JSONArray albums = (org.json.JSONArray) jsonResponse.get("albums"); + + //for debug purposes + //System.out.println(">>>" + jsonResponse.toString()); - Assert.assertNotNull(jsonResponde); + return albums; + } + + private void addAlbum() throws IOException, JSONException { + JSONObject jsonAlbum = new JSONObject(); + jsonAlbum.put("name", getNewAlbumName()); - //for debug purposes - System.out.println(">>>" + jsonResponde.toString()); + WebConversation wc = new WebConversation(); + WebRequest request = new PostMethodWebRequest(GALLERY_SERVICE_URL, new ByteArrayInputStream(jsonAlbum.toString().getBytes("UTF-8")),"application/json"); + request.setHeaderField("Content-Type", "application/json"); + WebResponse response = wc.getResource(request); + + Assert.assertEquals(204, response.getResponseCode()); } + private String getNewAlbumName() throws IOException, JSONException { + JSONArray albums = readAlbums(); + JSONObject album = (JSONObject) albums.get(albums.length() -1); + String albumName = album.getString("name"); + String[] tokens = albumName.split("-"); + albumName = tokens[0] + "-" + (Integer.parseInt(tokens[1]) + 1); + + return albumName; + } - /* - @Test - public void testDiscoverAlbums() { - AlbumList albumList = gallery.getAlbums(); - - Assert.assertEquals(2, albumList.getAlbums().size()); - Assert.assertTrue(albumList.getAlbums().get(0).getName().startsWith("album-")); - Assert.assertTrue(albumList.getAlbums().get(0).getName().startsWith("album-")); - }*/ + private String getLastAlbumName() throws IOException, JSONException { + JSONArray albums = readAlbums(); + JSONObject album = (JSONObject) albums.get(albums.length() -1); + String albumName = album.getString("name"); + + return albumName; + } } Modified: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Album.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Album.java?rev=952907&r1=952906&r2=952907&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Album.java (original) +++ incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Album.java Wed Jun 9 05:49:50 2010 @@ -19,6 +19,7 @@ package org.apache.photark; +import java.io.Serializable; import java.util.ArrayList; import java.util.Date; import java.util.List; @@ -28,7 +29,10 @@ import java.util.List; * * @version $Rev$ $Date$ */ -public class Album { +public class Album implements Serializable { + + private static final long serialVersionUID = -6183599220015859753L; + private String name; private String description; private String location; Modified: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumList.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumList.java?rev=952907&r1=952906&r2=952907&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumList.java (original) +++ incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumList.java Wed Jun 9 05:49:50 2010 @@ -19,6 +19,7 @@ package org.apache.photark; +import java.io.Serializable; import java.util.ArrayList; import java.util.List; @@ -30,7 +31,10 @@ import java.util.List; * * @version $Rev$ $Date$ */ -public class AlbumList { +public class AlbumList implements Serializable { + + private static final long serialVersionUID = 2578709033197276816L; + private List<AlbumRef> albumRefs = new ArrayList<AlbumRef>(); /** Modified: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumRef.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumRef.java?rev=952907&r1=952906&r2=952907&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumRef.java (original) +++ incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumRef.java Wed Jun 9 05:49:50 2010 @@ -19,6 +19,8 @@ package org.apache.photark; +import java.io.Serializable; + /** * A Album Rerefence model object * Useful to provide summary set of album @@ -26,7 +28,10 @@ package org.apache.photark; * * @version $Rev$ $Date$ */ -public class AlbumRef { +public class AlbumRef implements Serializable { + + private static final long serialVersionUID = 5346908464708654247L; + private String albumName; private String coverImageRef; private String albumRef; Modified: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Image.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Image.java?rev=952907&r1=952906&r2=952907&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Image.java (original) +++ incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Image.java Wed Jun 9 05:49:50 2010 @@ -19,6 +19,7 @@ package org.apache.photark; +import java.io.Serializable; import java.util.ArrayList; import java.util.Date; import java.util.List; @@ -28,7 +29,10 @@ import java.util.List; * * @version $Rev$ $Date$ */ -public class Image { +public class Image implements Serializable { + + private static final long serialVersionUID = -2607872190168102433L; + private String name; private String title; private Date datePosted; Modified: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageMetadata.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageMetadata.java?rev=952907&r1=952906&r2=952907&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageMetadata.java (original) +++ incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageMetadata.java Wed Jun 9 05:49:50 2010 @@ -19,6 +19,8 @@ package org.apache.photark; +import java.io.Serializable; + import org.apache.sanselan.formats.tiff.constants.ExifTagConstants; /** @@ -27,7 +29,10 @@ import org.apache.sanselan.formats.tiff. * * @version $Rev$ $Date$ */ -public class ImageMetadata implements ExifTagConstants { +public class ImageMetadata implements ExifTagConstants, Serializable { + + private static final long serialVersionUID = 3921637285554039788L; + private String key; private String value; Modified: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageRef.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageRef.java?rev=952907&r1=952906&r2=952907&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageRef.java (original) +++ incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/ImageRef.java Wed Jun 9 05:49:50 2010 @@ -19,11 +19,16 @@ package org.apache.photark; +import java.io.Serializable; + /** * Summary info for Images * @version $Rev$ $Date$ */ -public class ImageRef { +public class ImageRef implements Serializable { + + private static final long serialVersionUID = -3663988501067415961L; + private String name; private String title; Modified: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/GalleryService.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/GalleryService.java?rev=952907&r1=952906&r2=952907&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/GalleryService.java (original) +++ incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/GalleryService.java Wed Jun 9 05:49:50 2010 @@ -54,12 +54,12 @@ public interface GalleryService { Album getAlbum(@PathParam("id") String albumId); @POST - void addAlbum(Album newAlbum); + void addAlbum(Album newAlbum) throws PhotarkRuntimeException; @PUT - void updateAlbum(Album album); + void updateAlbum(Album album) throws PhotarkRuntimeException; @DELETE - void removeAlbum(String albumId); + void removeAlbum(String albumId) throws PhotarkRuntimeException; } Copied: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/PhotarkRuntimeException.java (from r952534, incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumList.java) URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/PhotarkRuntimeException.java?p2=incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/PhotarkRuntimeException.java&p1=incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumList.java&r1=952534&r2=952907&rev=952907&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/AlbumList.java (original) +++ incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/PhotarkRuntimeException.java Wed Jun 9 05:49:50 2010 @@ -17,27 +17,24 @@ * under the License. */ -package org.apache.photark; +package org.apache.photark.services; -import java.util.ArrayList; -import java.util.List; +public class PhotarkRuntimeException extends Throwable { -/** - * Aggregate a list of album references, - * useful to produce the proper json/xml output - * for gallery set of albums, without the full - * details of the album model object itself - * - * @version $Rev$ $Date$ - */ -public class AlbumList { - private List<AlbumRef> albumRefs = new ArrayList<AlbumRef>(); + private static final long serialVersionUID = -7709593429900166516L; + + public PhotarkRuntimeException() { + } + + public PhotarkRuntimeException(String message) { + super(message); + } + + public PhotarkRuntimeException(Throwable cause) { + super(cause); + } - /** - * Retrieve a list of albums - * @return the list of album references - */ - public List<AlbumRef> getAlbums() { - return this.albumRefs; + public PhotarkRuntimeException(String message, Throwable cause) { + super(message, cause); } } From [email protected] Thu Jun 10 07:00:53 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24599 invoked from network); 10 Jun 2010 07:00:50 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 10 Jun 2010 07:00:50 -0000 Received: (qmail 5357 invoked by uid 500); 10 Jun 2010 07:00:50 -0000 Delivered-To: [email protected] Received: (qmail 5323 invoked by uid 500); 10 Jun 2010 07:00:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <photark-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 5311 invoked by uid 99); 10 Jun 2010 07:00:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jun 2010 07:00:49 +0000 X-ASF-Spam-Status: No, hits=-1944.8 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jun 2010 07:00:48 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 4A7392388A66; Thu, 10 Jun 2010 07:00:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r953229 - /incubator/photark/branches/photark-rest/pom.xml Date: Thu, 10 Jun 2010 07:00:06 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: lresende Date: Thu Jun 10 07:00:05 2010 New Revision: 953229 URL: http://svn.apache.org/viewvc?rev=953229&view=rev Log: Adding snapshot repositories to retrieve Tuscany SNAPSHOT Modified: incubator/photark/branches/photark-rest/pom.xml Modified: incubator/photark/branches/photark-rest/pom.xml URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/pom.xml?rev=953229&r1=953228&r2=953229&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/pom.xml (original) +++ incubator/photark/branches/photark-rest/pom.xml Thu Jun 10 07:00:05 2010 @@ -112,10 +112,28 @@ <enabled>false</enabled> </snapshots> </repository> + + <!-- Apache SNAPSHOT repository for unreleased artifacts --> + <repository> + <id>apache.snapshots</id> + <name>Apache SNAPSHOT Repository</name> + <url>http://repository.apache.org/snapshots</url> + <snapshots> + <enabled>true</enabled> + </snapshots> + </repository> + + <!-- dyuproject project repository - for openID --> <repository> <id>dyuproject-repo</id> <name>dyuproject-repo</name> <url>http://dyuproject.googlecode.com/svn/repos/maven2</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> </repository> </repositories> From [email protected] Thu Jun 10 07:01:20 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24687 invoked from network); 10 Jun 2010 07:01:17 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 10 Jun 2010 07:01:17 -0000 Received: (qmail 5494 invoked by uid 500); 10 Jun 2010 07:01:17 -0000 Delivered-To: [email protected] Received: (qmail 5458 invoked by uid 500); 10 Jun 2010 07:01:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <photark-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 5450 invoked by uid 99); 10 Jun 2010 07:01:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jun 2010 07:01:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jun 2010 07:01:11 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id BE3A323889E5; Thu, 10 Jun 2010 07:00:27 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r953230 - in /incubator/photark/branches/photark-rest: photark-filesystem/src/main/java/org/apache/photark/services/filesystem/ photark-filesystem/src/test/java/org/apache/photark/services/filesystem/ photark-jcr/src/main/java/org/apache/ph... Date: Thu, 10 Jun 2010 07:00:27 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: lresende Date: Thu Jun 10 07:00:26 2010 New Revision: 953230 URL: http://svn.apache.org/viewvc?rev=953230&view=rev Log: PHOTARK-42 - Initial implementation of REST JCR Gallery with partial patch from John Pradeep Added: incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/ incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/ incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/AlbumCollection.java - copied, changed from r953229, incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemImageFilter.java incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/JCRAlbumCollection.java (with props) incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/JCRGallery.java (with props) incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/JCRRepositoryManager.java (contents, props changed) - copied, changed from r953229, incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/JCRRepositoryManager.java incubator/photark/branches/photark-rest/photark-jcr/src/test/java/org/apache/photark/services/jcr/ incubator/photark/branches/photark-rest/photark-jcr/src/test/java/org/apache/photark/services/jcr/JCRGalleryTestCase.java (with props) incubator/photark/branches/photark-rest/photark-jcr/src/test/resources/ incubator/photark/branches/photark-rest/photark-jcr/src/test/resources/gallery.composite - copied, changed from r953229, incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/PhotarkRuntimeException.java Removed: incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/JCRRepositoryManager.java Modified: incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemGallery.java incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemImageFilter.java incubator/photark/branches/photark-rest/photark-filesystem/src/test/java/org/apache/photark/services/filesystem/FileSystemGalleryTestCase.java incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRAlbumImpl.java incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRGalleryImpl.java incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRImageCollectionImpl.java incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRImageUploadServiceImpl.java incubator/photark/branches/photark-rest/photark-jcr/src/main/resources/META-INF/sca-contribution.xml incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/PhotarkRuntimeException.java Modified: incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemGallery.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemGallery.java?rev=953230&r1=953229&r2=953230&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemGallery.java (original) +++ incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemGallery.java Thu Jun 10 07:00:26 2010 @@ -26,8 +26,8 @@ import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry; - -import javax.ws.rs.PathParam; +import java.util.logging.Level; +import java.util.logging.Logger; import org.apache.photark.Album; import org.apache.photark.AlbumList; @@ -37,11 +37,17 @@ import org.apache.photark.services.Galle import org.apache.photark.services.PhotarkRuntimeException; import org.oasisopen.sca.annotation.Init; import org.oasisopen.sca.annotation.Property; +import org.oasisopen.sca.annotation.Scope; /** * File system based gallery + * + * @version $Rev$ $Date$ */ -public class FileSystemGallery implements GalleryService { +@Scope("COMPOSITE") +public class FileSystemGallery implements GalleryService { + private static final Logger logger = Logger.getLogger(FileSystemGallery.class.getName()); + private String galleryRoot; private URL galleryURL; private File galleryDirectory; @@ -57,6 +63,10 @@ public class FileSystemGallery implement public void init() { try { + if(logger.isLoggable(Level.FINE)) { + logger.fine("Initializing FileSystem Gallery"); + } + galleryURL = this.getClass().getClassLoader().getResource(galleryRoot); if(galleryURL == null) { // Accomodate for J2EE classpath that starts in WEB-INF\classes @@ -68,8 +78,12 @@ public class FileSystemGallery implement galleryURL = new java.net.URL("file://" + galleryDir); } + if(logger.isLoggable(Level.FINE)) { + logger.fine("FileSystem Gallery root " + galleryURL); + } + - if(galleryRoot != null) { + if(galleryURL != null) { galleryDirectory = new java.io.File(galleryURL.toURI()); if (galleryDirectory.isDirectory() && galleryDirectory.exists()) { java.io.File[] albumDirectoryList = galleryDirectory.listFiles(); @@ -84,12 +98,10 @@ public class FileSystemGallery implement } } } catch (Exception e) { - // FIXME: ignore for now - e.printStackTrace(); + logger.log(Level.SEVERE, "Error initializing FileSystem gallery: " + e.getMessage(), e); } } - public AlbumList getAlbums() { AlbumList albumList = new AlbumList(); @@ -102,7 +114,7 @@ public class FileSystemGallery implement return albumList; } - public Album getAlbum(@PathParam("id") String albumId) { + public Album getAlbum(String albumId) { if(albumId == null || albumId.isEmpty()) { throw new InvalidParameterException("Invalid/Empty album id"); } Modified: incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemImageFilter.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemImageFilter.java?rev=953230&r1=953229&r2=953230&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemImageFilter.java (original) +++ incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemImageFilter.java Thu Jun 10 07:00:26 2010 @@ -24,10 +24,16 @@ import java.io.FilenameFilter; /** * Inner fileFilter class + * + * @version $Rev$ $Date$ */ public class FileSystemImageFilter implements FilenameFilter { String afn; - public FileSystemImageFilter(String afn) { this.afn = afn; } + + public FileSystemImageFilter(String afn) { + this.afn = afn; + } + public boolean accept(File dir, String name) { // Strip path information: String f = new File(name).getName(); Modified: incubator/photark/branches/photark-rest/photark-filesystem/src/test/java/org/apache/photark/services/filesystem/FileSystemGalleryTestCase.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-filesystem/src/test/java/org/apache/photark/services/filesystem/FileSystemGalleryTestCase.java?rev=953230&r1=953229&r2=953230&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark-filesystem/src/test/java/org/apache/photark/services/filesystem/FileSystemGalleryTestCase.java (original) +++ incubator/photark/branches/photark-rest/photark-filesystem/src/test/java/org/apache/photark/services/filesystem/FileSystemGalleryTestCase.java Thu Jun 10 07:00:26 2010 @@ -41,6 +41,11 @@ import com.meterware.httpunit.WebConvers import com.meterware.httpunit.WebRequest; import com.meterware.httpunit.WebResponse; +/** + * Verify various operations for the FileSystem Gallery + * + * @version $Rev$ $Date$ + */ public class FileSystemGalleryTestCase { private static final String GALLERY_SERVICE_URL = "http://localhost:8085/gallery"; Modified: incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRAlbumImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRAlbumImpl.java?rev=953230&r1=953229&r2=953230&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRAlbumImpl.java (original) +++ incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRAlbumImpl.java Thu Jun 10 07:00:26 2010 @@ -36,8 +36,8 @@ import javax.jcr.Session; import org.apache.photark.Image; import org.apache.photark.filesystem.services.ImageFilter; -import org.apache.photark.jcr.JCRRepositoryManager; import org.apache.photark.services.album.Album; +import org.apache.photark.services.jcr.JCRRepositoryManager; import org.oasisopen.sca.annotation.Destroy; import org.oasisopen.sca.annotation.Init; import org.oasisopen.sca.annotation.Property; Modified: incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRGalleryImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRGalleryImpl.java?rev=953230&r1=953229&r2=953230&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRGalleryImpl.java (original) +++ incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRGalleryImpl.java Thu Jun 10 07:00:26 2010 @@ -28,10 +28,10 @@ import javax.jcr.NodeIterator; import javax.jcr.RepositoryException; import javax.jcr.Session; -import org.apache.photark.jcr.JCRRepositoryManager; import org.apache.photark.services.album.Album; import org.apache.photark.services.gallery.BaseGalleryImpl; import org.apache.photark.services.gallery.Gallery; +import org.apache.photark.services.jcr.JCRRepositoryManager; import org.oasisopen.sca.annotation.Init; import org.oasisopen.sca.annotation.Reference; import org.oasisopen.sca.annotation.Scope; Modified: incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRImageCollectionImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRImageCollectionImpl.java?rev=953230&r1=953229&r2=953230&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRImageCollectionImpl.java (original) +++ incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRImageCollectionImpl.java Thu Jun 10 07:00:26 2010 @@ -29,8 +29,8 @@ import javax.jcr.RepositoryException; import javax.jcr.Session; import org.apache.commons.lang.StringUtils; -import org.apache.photark.jcr.JCRRepositoryManager; import org.apache.photark.services.ImageCollection; +import org.apache.photark.services.jcr.JCRRepositoryManager; import org.apache.tuscany.sca.data.collection.Entry; import org.apache.tuscany.sca.data.collection.NotFoundException; import org.oasisopen.sca.annotation.Destroy; Modified: incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRImageUploadServiceImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRImageUploadServiceImpl.java?rev=953230&r1=953229&r2=953230&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRImageUploadServiceImpl.java (original) +++ incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRImageUploadServiceImpl.java Thu Jun 10 07:00:26 2010 @@ -43,10 +43,10 @@ import org.apache.commons.fileupload.Fil import org.apache.commons.fileupload.disk.DiskFileItemFactory; import org.apache.commons.fileupload.servlet.ServletFileUpload; import org.apache.photark.Image; -import org.apache.photark.jcr.JCRRepositoryManager; import org.apache.photark.jcr.util.ArchiveFileExtractor; import org.apache.photark.services.album.Album; import org.apache.photark.services.gallery.Gallery; +import org.apache.photark.services.jcr.JCRRepositoryManager; import org.oasisopen.sca.annotation.Init; import org.oasisopen.sca.annotation.Reference; import org.oasisopen.sca.annotation.Scope; Copied: incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/AlbumCollection.java (from r953229, incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemImageFilter.java) URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/AlbumCollection.java?p2=incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/AlbumCollection.java&p1=incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemImageFilter.java&r1=953229&r2=953230&rev=953230&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark-filesystem/src/main/java/org/apache/photark/services/filesystem/FileSystemImageFilter.java (original) +++ incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/AlbumCollection.java Thu Jun 10 07:00:26 2010 @@ -17,20 +17,14 @@ * under the License. */ -package org.apache.photark.services.filesystem; +package org.apache.photark.services.jcr; -import java.io.File; -import java.io.FilenameFilter; +import org.apache.photark.Album; +import org.apache.tuscany.sca.data.collection.Collection; /** - * Inner fileFilter class + * @version $Rev$ $Date$ */ -public class FileSystemImageFilter implements FilenameFilter { - String afn; - public FileSystemImageFilter(String afn) { this.afn = afn; } - public boolean accept(File dir, String name) { - // Strip path information: - String f = new File(name).getName(); - return f.indexOf(afn) != -1; - } -} \ No newline at end of file +public interface AlbumCollection extends Collection<String, Album> { + +} Added: incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/JCRAlbumCollection.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/JCRAlbumCollection.java?rev=953230&view=auto ============================================================================== --- incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/JCRAlbumCollection.java (added) +++ incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/JCRAlbumCollection.java Thu Jun 10 07:00:26 2010 @@ -0,0 +1,125 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.photark.services.jcr; + +import java.util.ArrayList; +import java.util.List; +import java.util.logging.Level; +import java.util.logging.Logger; + +import javax.jcr.Node; +import javax.jcr.NodeIterator; +import javax.jcr.RepositoryException; +import javax.jcr.Session; + +import org.apache.photark.Album; +import org.apache.tuscany.sca.data.collection.Entry; +import org.apache.tuscany.sca.data.collection.NotFoundException; +import org.oasisopen.sca.annotation.Reference; + +/** + * Collection helper to handle JCR Albums + * + * @version $Rev$ $Date$ + */ +public class JCRAlbumCollection implements AlbumCollection { + private static final Logger logger = Logger.getLogger(JCRAlbumCollection.class.getName()); + + private JCRRepositoryManager repositoryManager; + + public JCRAlbumCollection(@Reference(name="repositoryManager") JCRRepositoryManager repositoryManager) { + this.repositoryManager = repositoryManager; + } + + public Entry<String, Album>[] getAll() { + List<Entry<String, Album>> entries = new ArrayList<Entry<String, Album>>(); + + try { + Session session = repositoryManager.getSession(); + Node rootNode = session.getRootNode(); + NodeIterator albumNodes = rootNode.getNodes(); + while (albumNodes.hasNext()) { + Node albumNode = albumNodes.nextNode(); + if(albumNode != null) { + if (albumNode.getPath().equals("/jcr:system")) { + continue; + } + + Entry<String, Album> entry = new Entry<String, Album>(albumNode.getName(), fromNode(albumNode)); + entries.add(entry); + } + } + } catch (RepositoryException e) { + logger.log(Level.WARNING, "Error retrieving list of Albums :" + e.getMessage(), e); + } + + Entry<String, Album>[] entriesArray = new Entry[entries.size()]; + entries.toArray(entriesArray); + + return entriesArray; + } + + public Album get(String albumId) throws NotFoundException { + Album album = null; + + try { + Session session = repositoryManager.getSession(); + Node root = session.getRootNode(); + Node albumNode = root.getNode(albumId); + if(albumNode != null) { + album = fromNode(albumNode); + } + + } catch (Exception e) { + logger.log(Level.WARNING, "Error retrieving album '" + albumId + "' :" + e.getMessage(), e); + } + + return album; + } + + + public String post(String arg0, Album arg1) { + // TODO Auto-generated method stub + return null; + } + + public void put(String arg0, Album arg1) throws NotFoundException { + // TODO Auto-generated method stub + + } + + public void delete(String arg0) throws NotFoundException { + // TODO Auto-generated method stub + + } + + public Entry<String, Album>[] query(String arg0) { + throw new UnsupportedOperationException("Operation not implemented"); + } + + private Album fromNode(Node albumNode) throws RepositoryException { + Album album = new Album(); + album.setName(albumNode.getName()); + album.setDescription(albumNode.getProperty("description").getString()); + + return album; + } + +} Propchange: incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/JCRAlbumCollection.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/JCRAlbumCollection.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/JCRGallery.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/JCRGallery.java?rev=953230&view=auto ============================================================================== --- incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/JCRGallery.java (added) +++ incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/JCRGallery.java Thu Jun 10 07:00:26 2010 @@ -0,0 +1,114 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.photark.services.jcr; + +import java.security.InvalidParameterException; +import java.util.logging.Level; +import java.util.logging.Logger; + +import javax.jcr.Node; +import javax.jcr.RepositoryException; +import javax.jcr.Session; + +import org.apache.photark.Album; +import org.apache.photark.AlbumList; +import org.apache.photark.AlbumRef; +import org.apache.photark.services.GalleryService; +import org.apache.photark.services.PhotarkRuntimeException; +import org.apache.tuscany.sca.data.collection.Entry; +import org.oasisopen.sca.annotation.Reference; +import org.oasisopen.sca.annotation.Scope; + +/** + * JCR based Gallery + * + * @version $Rev$ $Date$ + */ +@Scope("COMPOSITE") +public class JCRGallery implements GalleryService { + private static final Logger logger = Logger.getLogger(JCRGallery.class.getName()); + + private JCRRepositoryManager repositoryManager; + + public JCRAlbumCollection albumCollection; + + public JCRGallery(@Reference(name="repositoryManager") JCRRepositoryManager repositoryManager) { + this.repositoryManager = repositoryManager; + } + + public AlbumList getAlbums() { + //get all albums from the repository + Entry<String, Album>[] albumEntries = albumCollection.getAll(); + + AlbumList albums = new AlbumList(); + //loop trough the entries and create a albumRef for each Album + for(Entry<String, Album> albumEntry : albumEntries) { + albums.getAlbums().add(AlbumRef.createAlbumRef(albumEntry.getData())); + } + return null; + } + + public Album getAlbum(String albumId) { + if(albumId == null || albumId.isEmpty()) { + throw new InvalidParameterException("Invalid/Empty album id"); + } + + Album album = null; + try { + //find the album based on the albumId + Session session = repositoryManager.getSession(); + Node root = session.getRootNode(); + Node albumNode = root.getNode(albumId); + + //convert albumNode to a Album object + album = fromNode(albumNode); + } catch (Exception e) { + logger.log(Level.WARNING,"Error retrieving album '" + albumId + "' : " + e.getMessage(), e); + } + + return album; + } + + public void addAlbum(Album newAlbum) throws PhotarkRuntimeException { + if(newAlbum.getName() == null || newAlbum.getName().isEmpty()) { + throw new InvalidParameterException("Album has no name"); + } + } + + public void updateAlbum(Album album) throws PhotarkRuntimeException { + if(album.getName() == null || album.getName().isEmpty()) { + throw new InvalidParameterException("Album has no name"); + } + } + + public void removeAlbum(String albumName) throws PhotarkRuntimeException { + if(albumName == null || albumName.isEmpty()) { + throw new InvalidParameterException("Invalid/Empty album id"); + } + } + + private Album fromNode(Node albumNode) throws RepositoryException { + Album album = new Album(); + album.setName(albumNode.getName()); + album.setDescription(albumNode.getProperty("description").getString()); + + return album; + } +} Propchange: incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/JCRGallery.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/JCRGallery.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Copied: incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/JCRRepositoryManager.java (from r953229, incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/JCRRepositoryManager.java) URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/JCRRepositoryManager.java?p2=incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/JCRRepositoryManager.java&p1=incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/JCRRepositoryManager.java&r1=953229&r2=953230&rev=953230&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/jcr/JCRRepositoryManager.java (original) +++ incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/JCRRepositoryManager.java Thu Jun 10 07:00:26 2010 @@ -17,7 +17,7 @@ * under the License. */ -package org.apache.photark.jcr; +package org.apache.photark.services.jcr; import java.io.File; import java.io.IOException; @@ -39,7 +39,9 @@ import org.oasisopen.sca.annotation.Scop /** * A JCR Repository Manager that controls access to JCR session - * This is a singleton component controlled by the SCA Runtime via scope composite + * This is a singleton component controlled by the SCA Runtime via scope composite + * + * @version $Rev$ $Date$ */ @Scope("COMPOSITE") @EagerInit Propchange: incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/JCRRepositoryManager.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/JCRRepositoryManager.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Modified: incubator/photark/branches/photark-rest/photark-jcr/src/main/resources/META-INF/sca-contribution.xml URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-jcr/src/main/resources/META-INF/sca-contribution.xml?rev=953230&r1=953229&r2=953230&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark-jcr/src/main/resources/META-INF/sca-contribution.xml (original) +++ incubator/photark/branches/photark-rest/photark-jcr/src/main/resources/META-INF/sca-contribution.xml Thu Jun 10 07:00:26 2010 @@ -19,5 +19,5 @@ --> <contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:photark="http://org.apache.photoark"> - <export.java package="org.apache.photark.jcr.services"/> + <export.java package="org.apache.photark.services.jcr"/> </contribution> Added: incubator/photark/branches/photark-rest/photark-jcr/src/test/java/org/apache/photark/services/jcr/JCRGalleryTestCase.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-jcr/src/test/java/org/apache/photark/services/jcr/JCRGalleryTestCase.java?rev=953230&view=auto ============================================================================== --- incubator/photark/branches/photark-rest/photark-jcr/src/test/java/org/apache/photark/services/jcr/JCRGalleryTestCase.java (added) +++ incubator/photark/branches/photark-rest/photark-jcr/src/test/java/org/apache/photark/services/jcr/JCRGalleryTestCase.java Thu Jun 10 07:00:26 2010 @@ -0,0 +1,128 @@ +package org.apache.photark.services.jcr; + +import java.io.ByteArrayInputStream; +import java.io.IOException; + +import junit.framework.Assert; +import net.sf.json.JSONArray; +import net.sf.json.JSONException; +import net.sf.json.JSONObject; + +import org.apache.tuscany.sca.node.Contribution; +import org.apache.tuscany.sca.node.ContributionLocationHelper; +import org.apache.tuscany.sca.node.Node; +import org.apache.tuscany.sca.node.NodeFactory; +import org.junit.AfterClass; +import org.junit.BeforeClass; +import org.junit.Test; + +import com.meterware.httpunit.GetMethodWebRequest; +import com.meterware.httpunit.PostMethodWebRequest; +import com.meterware.httpunit.WebConversation; +import com.meterware.httpunit.WebRequest; +import com.meterware.httpunit.WebResponse; + +public class JCRGalleryTestCase { + private static final String GALLERY_SERVICE_URL = "http://localhost:8085/gallery"; + + private static Node node; + + @BeforeClass + public static void BeforeClass() { + try { + String contribution = ContributionLocationHelper + .getContributionLocation("gallery.composite"); + node = NodeFactory.newInstance().createNode("gallery.composite", + new Contribution("gallery", contribution)); + node.start(); + } catch (Exception e) { + e.printStackTrace(); + } + } + + @AfterClass + public static void AfterClass() { + node.stop(); + } + + + @Test + public void testGetAlbums() throws IOException, JSONException { + JSONArray albums = readAlbums(); + + //for debug purposes + //System.out.println(">>>" + jsonResponse.toString()); + + Assert.assertNotNull(albums); + + } + + @Test + public void testAddAlbums() throws IOException, JSONException { + JSONArray albums = readAlbums(); + int albumSize = albums.size(); + + //for debug purposes + //System.out.println(">>>" + jsonResponse.toString()); + + addAlbum(); + + albums = readAlbums(); + + //for debug purposes + //System.out.println(">>>" + jsonResponse.toString()); + + Assert.assertEquals(albumSize + 1, albums.size()); + } + + @Test + public void testRemoveAlbums() throws IOException, JSONException { + WebConversation wc = new WebConversation(); + WebRequest request = new GetMethodWebRequest(GALLERY_SERVICE_URL + "/" + getLastAlbumName()); + ((GetMethodWebRequest) request).setMethod("DELETE"); + WebResponse response = wc.getResource(request); + + Assert.assertEquals(200, response.getResponseCode()); + } + + + private JSONArray readAlbums() throws IOException, JSONException { + WebConversation wc = new WebConversation(); + WebRequest request = new GetMethodWebRequest(GALLERY_SERVICE_URL); + WebResponse response = wc.getResource(request); + JSONObject jsonResponse = new JSONObject(); + //TODO initialize josonResponse + JSONArray albums = (JSONArray) jsonResponse.get("albums"); + return albums; + } + + private void addAlbum() throws IOException, JSONException { + JSONObject jsonAlbum = new JSONObject(); + jsonAlbum.put("name", getNewAlbumName()); + + WebConversation wc = new WebConversation(); + WebRequest request = new PostMethodWebRequest(GALLERY_SERVICE_URL, new ByteArrayInputStream(jsonAlbum.toString().getBytes("UTF-8")),"application/json"); + request.setHeaderField("Content-Type", "application/json"); + WebResponse response = wc.getResource(request); + + Assert.assertEquals(204, response.getResponseCode()); + } + + private String getNewAlbumName() throws IOException, JSONException { + JSONArray albums = readAlbums(); + JSONObject album = (JSONObject) albums.get(albums.size() -1); + String albumName = album.getString("name"); + String[] tokens = albumName.split("-"); + albumName = tokens[0] + "-" + (Integer.parseInt(tokens[1]) + 1); + + return albumName; + } + + private String getLastAlbumName() throws IOException, JSONException { + JSONArray albums = readAlbums(); + JSONObject album = (JSONObject) albums.get(albums.size() -1); + String albumName = album.getString("name"); + + return albumName; + } +} Propchange: incubator/photark/branches/photark-rest/photark-jcr/src/test/java/org/apache/photark/services/jcr/JCRGalleryTestCase.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/branches/photark-rest/photark-jcr/src/test/java/org/apache/photark/services/jcr/JCRGalleryTestCase.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Copied: incubator/photark/branches/photark-rest/photark-jcr/src/test/resources/gallery.composite (from r953229, incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/PhotarkRuntimeException.java) URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-jcr/src/test/resources/gallery.composite?p2=incubator/photark/branches/photark-rest/photark-jcr/src/test/resources/gallery.composite&p1=incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/PhotarkRuntimeException.java&r1=953229&r2=953230&rev=953230&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/PhotarkRuntimeException.java (original) +++ incubator/photark/branches/photark-rest/photark-jcr/src/test/resources/gallery.composite Thu Jun 10 07:00:26 2010 @@ -1,4 +1,5 @@ -/* +<?xml version="1.0" encoding="UTF-8"?> +<!-- * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -15,26 +16,19 @@ * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - */ - -package org.apache.photark.services; - -public class PhotarkRuntimeException extends Throwable { - - private static final long serialVersionUID = -7709593429900166516L; - - public PhotarkRuntimeException() { - } - - public PhotarkRuntimeException(String message) { - super(message); - } - - public PhotarkRuntimeException(Throwable cause) { - super(cause); - } - - public PhotarkRuntimeException(String message, Throwable cause) { - super(message, cause); - } -} +--> +<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" + xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1" + targetNamespace="http://org.apache.photoark" + name="gallery"> + + <component name="Gallery"> + <implementation.java class="org.apache.photark.services.jcr.JCRGallery"/> + <property name="galleryRoot">gallery-root</property> + <service name="GalleryService"> + <tuscany:binding.rest uri="http://localhost:8085/gallery"> + <tuscany:operationSelector.jaxrs /> + </tuscany:binding.rest> + </service> + </component> +</composite> Modified: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/PhotarkRuntimeException.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/PhotarkRuntimeException.java?rev=953230&r1=953229&r2=953230&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/PhotarkRuntimeException.java (original) +++ incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/PhotarkRuntimeException.java Thu Jun 10 07:00:26 2010 @@ -19,7 +19,12 @@ package org.apache.photark.services; -public class PhotarkRuntimeException extends Throwable { +/** + * PhotArk Runtime Exception + * + * @version $Rev$ $Date$ + */ +public class PhotarkRuntimeException extends RuntimeException { private static final long serialVersionUID = -7709593429900166516L; From [email protected] Fri Jun 11 07:37:27 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25556 invoked from network); 11 Jun 2010 07:37:26 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 11 Jun 2010 07:37:26 -0000 Received: (qmail 45056 invoked by uid 500); 11 Jun 2010 07:37:26 -0000 Delivered-To: [email protected] Received: (qmail 45025 invoked by uid 500); 11 Jun 2010 07:37:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <photark-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 45009 invoked by uid 99); 11 Jun 2010 07:37:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jun 2010 07:37:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jun 2010 07:37:18 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C76EA238897D; Fri, 11 Jun 2010 07:36:33 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r953595 - in /incubator/photark/trunk: photark-jcr/src/main/java/org/apache/photark/jcr/security/ photark-jcr/src/main/java/org/apache/photark/jcr/security/authorization/ photark-security/src/main/java/org/apache/photark/security/authentica... Date: Fri, 11 Jun 2010 07:36:33 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: avd Date: Fri Jun 11 07:36:32 2010 New Revision: 953595 URL: http://svn.apache.org/viewvc?rev=953595&view=rev Log: PHOTARK-20 Applying patch from Suhothayan Sriskandarajah with some minor changes.This patch adds the functionality of users registering with PhotArk. Added: incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/JCRSecurityServiceImpl.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/RegistrationFilter.java incubator/photark/trunk/photark-ui-security/src/main/webapp/home/registration.html Modified: incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/authorization/JCRAccessManager.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/AuthorizationFilter.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/FormAuthenticationServiceImpl.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/LogoutServiceImpl.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/OpenIDAuthenticationServiceImpl.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/AccessList.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/Permission.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/Role.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/User.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/UserInfo.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/AccessManager.java incubator/photark/trunk/photark-ui/src/main/webapp/js/constants.js incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.composite incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.xml Added: incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/JCRSecurityServiceImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/JCRSecurityServiceImpl.java?rev=953595&view=auto ============================================================================== --- incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/JCRSecurityServiceImpl.java (added) +++ incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/JCRSecurityServiceImpl.java Fri Jun 11 07:36:32 2010 @@ -0,0 +1,112 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.photark.jcr.security; + +import java.io.IOException; +import java.io.PrintWriter; +import javax.servlet.Servlet; +import javax.servlet.ServletException; +import javax.servlet.http.HttpServlet; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + +import org.apache.photark.security.authorization.AccessList; +import org.apache.photark.security.authorization.User; +import org.apache.photark.security.authorization.UserInfo; +import org.apache.photark.security.authorization.services.AccessManager; +import org.oasisopen.sca.annotation.Reference; +import org.oasisopen.sca.annotation.Scope; +import org.oasisopen.sca.annotation.Service; + + +@Service(Servlet.class) +@Scope("COMPOSITE") +public class JCRSecurityServiceImpl extends HttpServlet implements Servlet /*SecurityService*/ { + + /** + * + */ + private static final long serialVersionUID = -6452934544772432330L; + private AccessManager accessManager; + + @Reference(name="accessmanager") + protected void setAccessService(AccessManager accessManager) { + this.accessManager = accessManager; + } + + @Override + protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { + response.setContentType("text/html"); + doPost( request, response); + } + + @Override + public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException { + response.setContentType("text/html"); + AccessList accessList= (AccessList)request.getSession().getAttribute("accessList"); + StringBuffer sb = new StringBuffer(); + String userId= accessList.getUserId(); + User user ; + + if("get".equalsIgnoreCase(request.getParameter("userInfo").toString())){ + + user = accessManager.getUser(userId); + UserInfo userInfo= user.getUserInfo(); + if(accessManager.isUserStoredInRole(userId, "unRegisteredUserRole")){ + + /* sb.append("userId="+ userId); + sb.append(",displayName=" + userInfo.getDisplayName()); + sb.append(",email=" + userInfo.getEmail()); + sb.append(",realName=" + userInfo.getRealName()); + sb.append(",webSite=" + userInfo.getWebsite());*/ + sb.append( "registered,"+userId+","+ userInfo.getRealName()+","+userInfo.getDisplayName()+","+ userInfo.getEmail()+","+userInfo.getWebsite()); + + }else { + /*sb.append("userId="+ userId); + sb.append(",unRegistered=false");*/ + sb.append("unRegistered,"+userId+","+ userInfo.getRealName()+","+userInfo.getDisplayName()+","+ userInfo.getEmail()+","+userInfo.getWebsite()); + } + + }else if("set".equalsIgnoreCase( request.getParameter("userInfo").toString())){ + + user = new User(userId); + UserInfo userInfo = new UserInfo(request.getParameter("displayName").toString(), + request.getParameter("email").toString(), + request.getParameter("realName").toString(), + request.getParameter("webSite").toString()); + user.setUserInfo(userInfo); + + if(accessManager.isUserStoredInRole(userId, "unRegisteredUserRole")){ + accessManager.removeUserFromRole(userId,"unRegisteredUserRole"); + } + if(!accessManager.isUserStoredInRole(userId, "registeredUserRole")){ + accessManager.addUserToRole(user,"registeredUserRole"); + } + //sb.append("userId="+ userId); + //sb.append(",unRegistered=false"); + + } + PrintWriter out = response.getWriter(); + out.write(sb.toString()); + out.flush(); + out.close(); + + } +} Modified: incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/authorization/JCRAccessManager.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/authorization/JCRAccessManager.java?rev=953595&r1=953594&r2=953595&view=diff ============================================================================== --- incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/authorization/JCRAccessManager.java (original) +++ incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/authorization/JCRAccessManager.java Fri Jun 11 07:36:32 2010 @@ -19,8 +19,20 @@ package org.apache.photark.jcr.security.authorization; +import java.util.ArrayList; + +import javax.jcr.LoginException; +import javax.jcr.Node; +import javax.jcr.RepositoryException; +import javax.jcr.Session; + import org.apache.photark.jcr.JCRRepositoryManager; +import org.apache.photark.security.authorization.AccessList; +import org.apache.photark.security.authorization.User; +import org.apache.photark.security.authorization.UserInfo; import org.apache.photark.security.authorization.services.AccessManager; +import org.oasisopen.sca.annotation.Destroy; +import org.oasisopen.sca.annotation.Init; import org.oasisopen.sca.annotation.Reference; import org.oasisopen.sca.annotation.Remotable; import org.oasisopen.sca.annotation.Scope; @@ -28,20 +40,214 @@ import org.oasisopen.sca.annotation.Scop @Remotable @Scope("COMPOSITE") public class JCRAccessManager implements AccessManager { - private static String accessList; - private JCRRepositoryManager repositoryManager; - public JCRAccessManager(){ + /** JCR Repository Manager **/ + private static JCRRepositoryManager repositoryManager; + AccessList accessList; + + public JCRAccessManager() { } - @Reference(name="repositoryManager") + @Reference(name = "repositoryManager") protected void setRepositoryManager(JCRRepositoryManager repositoryManager) { this.repositoryManager = repositoryManager; } - public synchronized String creatAccessList(String accessList) { + @Init + public void init() { + + try { + Session session = repositoryManager.getSession(); + Node root = session.getRootNode(); + + if (!root.hasNode("userStore")) { + + Node userStore = root.addNode("userStore"); + Node roles = userStore.addNode("roles"); + Node allUsers = userStore.addNode("allUsers"); + Node registeredUserRole = roles.addNode("registeredUserRole"); + Node unRegisteredUserRole = roles + .addNode("unRegisteredUserRole"); + session.save(); + } + + } catch (Exception e) { + // FIXME: ignore for now + e.printStackTrace(); + } finally { + // repositoryManager.releaseSession(); + } + } + + public synchronized void addUserToRole(User user, String node) { + init(); + try { + Session session = repositoryManager.getSession(); + Node subRoleNode = (Node) session.getItem("/userStore/roles/" + + node); + Node userNode; + UserInfo userInfo = user.getUserInfo(); + if (subRoleNode != null) { + if (subRoleNode.hasNode(toJCRFormat(user.getUserId()))) { + userNode = subRoleNode + .getNode(toJCRFormat(user.getUserId())); + } else { + userNode = subRoleNode + .addNode(toJCRFormat(user.getUserId())); + } + userNode.setProperty("displayName", toJCRFormat(userInfo + .getDisplayName())); + userNode.setProperty("email", toJCRFormat(userInfo.getEmail())); + userNode.setProperty("realName", toJCRFormat(userInfo + .getRealName())); + userNode.setProperty("webSite", toJCRFormat(userInfo + .getWebsite())); + userNode.setProperty("userId", toJCRFormat(user.getUserId())); + } + + Node allUsers = (Node) session.getItem("/userStore/allUsers"); + if (allUsers != null) { + + if (allUsers.hasNode(toJCRFormat(user.getUserId()))) { + userNode = allUsers.getNode(toJCRFormat(user.getUserId())); + } else { + userNode = allUsers.addNode(toJCRFormat(user.getUserId())); + } + userNode.setProperty("displayName", toJCRFormat(userInfo + .getDisplayName())); + userNode.setProperty("email", toJCRFormat(userInfo.getEmail())); + userNode.setProperty("realName", toJCRFormat(userInfo + .getRealName())); + userNode.setProperty("webSite", toJCRFormat(userInfo + .getWebsite())); + userNode.setProperty("userId", toJCRFormat(user.getUserId())); + } + session.save(); + } catch (Exception e) { + // FIXME: ignore for now + e.printStackTrace(); + } finally { + // repositoryManager.releaseSession(); + + } + + } + + public synchronized User getUser(String userId) { + init(); + User user = null; + try { + Session session = repositoryManager.getSession(); + Node allUsers = (Node) session.getItem("/userStore/allUsers"); + Node userNode; + + if (allUsers != null) { + + if (allUsers.hasNode(toJCRFormat(userId))) { + userNode = allUsers.getNode(toJCRFormat(userId)); + user = new User(userId); + UserInfo userInfo = new UserInfo( + toNormalFormat(userNode.getProperty("displayName").getValue().getString()), + toNormalFormat(userNode.getProperty("email").getValue().getString()), + toNormalFormat(userNode.getProperty("realName").getValue().getString()), + toNormalFormat(userNode.getProperty("webSite").getValue().getString()) + ); + user.setUserInfo(userInfo); + } + } + + } catch (Exception e) { + // FIXME: ignore for now + e.printStackTrace(); + } finally { + // repositoryManager.releaseSession(); + } + return user; + } + + @Destroy + public void destroy() { + // repositoryManager.releaseSession(); + } + + public String getCurrentUserInfo() { + + return "Works"; + } + + public boolean isUserStoredInRole(String userId, String node) { + init(); + try { + Session session = repositoryManager.getSession(); + Node subRoleNode = (Node) session.getItem("/userStore/roles/" + + node); + if (subRoleNode != null && subRoleNode.hasNode(toJCRFormat(userId))) { + return true; + } + } catch (Exception e) { + // FIXME: ignore for now + e.printStackTrace(); + } finally { + // repositoryManager.releaseSession(); + } + return false; + } + + public synchronized AccessList creatAccessList(String userId, String email) { + + User user = new User(userId); + user.setUserInfo(new UserInfo(email)); + if (!isUserStoredInRole(userId, "registeredUserRole")) { + if (!isUserStoredInRole(userId, "unRegisteredUserRole")) { + addUserToRole(user, "unRegisteredUserRole"); + } + } + AccessList accessList = new AccessList(userId, new ArrayList<String>()); this.accessList = accessList; return accessList; } + + private String toJCRFormat(String string) { + if (string != null) { + string = string.replaceAll("/", "#1"); + string = string.replaceAll(":", "#2"); + } + return string; + + } + + private String toNormalFormat(String string) { + if (string != null) { + string = string.replaceAll("\\#1", "/"); + string = string.replaceAll("\\#2", ":"); + } + return string; + + } + + public synchronized void removeUserFromRole(String userId, String node) { + Session session; + try { + session = repositoryManager.getSession(); + Node subRoleNode = (Node) session.getItem("/userStore/roles/" + + node); + + if (subRoleNode != null) { + if (subRoleNode.hasNode(toJCRFormat(userId))) { + Node userNode = subRoleNode + .getNode(toJCRFormat(userId)); + userNode.remove(); + session.save(); + } + } + } catch (LoginException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } catch (RepositoryException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + } + } Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/AuthorizationFilter.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/AuthorizationFilter.java?rev=953595&r1=953594&r2=953595&view=diff ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/AuthorizationFilter.java (original) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/AuthorizationFilter.java Fri Jun 11 07:36:32 2010 @@ -31,6 +31,8 @@ import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; +import org.apache.photark.security.authorization.AccessList; + /** * Authorization Filter. This will only allow authenticated user * to access to upload.html and redirect others to OpenID authentication @@ -38,33 +40,12 @@ import javax.servlet.http.HttpServletRes * * */ -//@Service(Filter.class) -//@Scope("COMPOSITE") public class AuthorizationFilter implements Filter { private static final Logger logger = Logger.getLogger(AuthorizationFilter.class.getName()); - /**Default Name of the Redirect Page */ - //private final String REDIRECT_PAGE_DEFAULT = "photark"; - - //@Property(name = "redirectPage", required = true) private String redirectPage; - /*@Property - public void setRedirectPage(String redirectPage) { - if (redirectPage != null && !redirectPage.equals("")) { - this.redirectPage = redirectPage; - } else { - logger.log(Level.WARNING, "Setting Default Redirect Page to Upload.html:" - + REDIRECT_PAGE_DEFAULT); - this.redirectPage = REDIRECT_PAGE_DEFAULT; - } - } - - public String getRedirectPage() { - return redirectPage; - } - */ - /** Filter should be configured with an redirect page. */ + /** Filter should be configured with an redirect page. */ public void init(FilterConfig FilterConfig) throws ServletException { if (FilterConfig != null) { redirectPage = FilterConfig.getInitParameter("redirect_page"); @@ -81,8 +62,8 @@ public class AuthorizationFilter impleme HttpServletRequest httpReq = (HttpServletRequest) request; HttpServletResponse httpResp = (HttpServletResponse) response; - if ((String)httpReq.getSession().getAttribute("accessList") != null && !((String)httpReq.getSession().getAttribute("accessList")).equals("")) { - System.err.println( (String)httpReq.getSession().getAttribute("accessList") +" Accessing Admin page"); + if (httpReq.getSession().getAttribute("accessList") != null && ! httpReq.getSession().getAttribute("accessList").equals("")) { + System.err.println(((AccessList)httpReq.getSession().getAttribute("accessList")).getUserId() +" Accessing Admin page"); chain.doFilter(request, response); } else { httpResp.sendRedirect(httpReq.getContextPath() + redirectPage); @@ -90,8 +71,4 @@ public class AuthorizationFilter impleme } - /*public void init(FilterConfig filterConfig) throws ServletException { - // TODO Auto-generated method stub - - }*/ } Added: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/RegistrationFilter.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/RegistrationFilter.java?rev=953595&view=auto ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/RegistrationFilter.java (added) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/RegistrationFilter.java Fri Jun 11 07:36:32 2010 @@ -0,0 +1,76 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.photark.security.authentication; + +import java.io.IOException; +import java.util.logging.Logger; + +import javax.servlet.Filter; +import javax.servlet.FilterChain; +import javax.servlet.FilterConfig; +import javax.servlet.ServletException; +import javax.servlet.ServletRequest; +import javax.servlet.ServletResponse; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + + +/** + * Authorization Filter. This will only allow authenticated user to access to + * upload.html and redirect others to OpenID authentication + * + * + * + */ + +public class RegistrationFilter implements Filter { + private static final Logger logger = Logger + .getLogger(RegistrationFilter.class.getName()); + + private String redirectPage; + + /** Filter should be configured with an redirect page. */ + public void init(FilterConfig FilterConfig) throws ServletException { + if (FilterConfig != null) { + redirectPage = FilterConfig.getInitParameter("redirect_page"); + } + } + + public void destroy() { + // TODO Auto-generated method stub + } + + public void doFilter(ServletRequest request, ServletResponse response, + FilterChain chain) throws ServletException, IOException { + HttpServletRequest httpReq = (HttpServletRequest) request; + HttpServletResponse httpResp = (HttpServletResponse) response; + + if (httpReq.getSession().getAttribute("toRigester") != null + && httpReq.getSession().getAttribute("toRigester").equals("true")) { + httpReq.getSession().setAttribute("toRigester", "false"); + chain.doFilter(request, response); + } else { + // httpResp.sendRedirect(httpReq.getContextPath() +"/admin/upload.html"); + httpResp.sendRedirect(httpReq.getContextPath() + redirectPage); + } + + } + +} Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/FormAuthenticationServiceImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/FormAuthenticationServiceImpl.java?rev=953595&r1=953594&r2=953595&view=diff ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/FormAuthenticationServiceImpl.java (original) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/FormAuthenticationServiceImpl.java Fri Jun 11 07:36:32 2010 @@ -27,6 +27,7 @@ import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; +import org.apache.photark.security.authorization.AccessList; import org.apache.photark.security.authorization.services.AccessManager; import org.oasisopen.sca.annotation.Reference; import org.oasisopen.sca.annotation.Scope; @@ -71,7 +72,7 @@ public class FormAuthenticationServiceIm RelyingParty.getInstance().invalidate(request, response); //Creating the accessList - String accesList=accessManager.creatAccessList("SuperAdmin"); + AccessList accesList=accessManager.creatAccessList("SuperAdmin",""); request.getSession().setAttribute("accessList", accesList); System.err.println("Super Admin authenticated"); Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/LogoutServiceImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/LogoutServiceImpl.java?rev=953595&r1=953594&r2=953595&view=diff ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/LogoutServiceImpl.java (original) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/LogoutServiceImpl.java Fri Jun 11 07:36:32 2010 @@ -27,6 +27,7 @@ import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; +import org.apache.photark.security.authorization.AccessList; import org.oasisopen.sca.annotation.Scope; import org.oasisopen.sca.annotation.Service; @@ -59,19 +60,20 @@ public class LogoutServiceImpl extends H @Override public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { - - System.err.print((String)request.getSession().getAttribute("accessList")); - // Removing the AccessList - request.getSession().setAttribute("accessList", ""); - // invalidating the Authenticated OpenID User - RelyingParty.getInstance().invalidate(request, response); - // invalidating the Authenticated Super Admin User - request.getSession().invalidate(); + if(request.getSession().getAttribute("accessList")!=null){ + System.err.print(((AccessList)request.getSession().getAttribute("accessList")).getUserId()); + } + // Removing the AccessList + request.getSession().setAttribute("accessList", ""); + // invalidating the Authenticated OpenID User + RelyingParty.getInstance().invalidate(request, response); + // invalidating the Authenticated Super Admin User + request.getSession().invalidate(); + + System.err.println(" logged out"); - System.err.println(" logged out"); - - // Redirect to Gallery - response.sendRedirect(request.getContextPath() + "/"); + // Redirect to Gallery + response.sendRedirect(request.getContextPath() + "/"); } } \ No newline at end of file Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/OpenIDAuthenticationServiceImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/OpenIDAuthenticationServiceImpl.java?rev=953595&r1=953594&r2=953595&view=diff ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/OpenIDAuthenticationServiceImpl.java (original) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/OpenIDAuthenticationServiceImpl.java Fri Jun 11 07:36:32 2010 @@ -30,6 +30,7 @@ import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; +import org.apache.photark.security.authorization.AccessList; import org.apache.photark.security.authorization.services.AccessManager; import org.oasisopen.sca.annotation.Reference; import org.oasisopen.sca.annotation.Scope; @@ -84,23 +85,34 @@ public class OpenIDAuthenticationService //Invalidating the Super Admin user request.getSession().invalidate(); - //Creating the accessList for the newly authenticated user - //Creating the accessList - String accesList=accessManager.creatAccessList(user.getIdentity()); - request.getSession().setAttribute("accessList", accesList); - + + String email=null; + Map<String,String> sreg = SRegExtension.remove(user); Map<String,String> axschema = AxSchemaExtension.remove(user); if(sreg!=null && !sreg.isEmpty()) { System.err.println("sreg: " + sreg); user.setAttribute("info", sreg); + email= sreg.get("email"); } else if(axschema!=null && !axschema.isEmpty()) { System.err.println("axschema: " + axschema); user.setAttribute("info", axschema); - } + email= axschema.get("email"); + } + //Creating the accessList for the newly authenticated user + + if (email==null){ + email=""; + } + AccessList accesList=accessManager.creatAccessList(user.getIdentity(),email); + request.getSession().setAttribute("accessList", accesList); + if(!accessManager.isUserStoredInRole(accesList.getUserId(), "registeredUserRole")){ + request.getSession().setAttribute("toRigester", "true"); + } + } public void onAccess(OpenIdUser user, HttpServletRequest request) { @@ -180,10 +192,12 @@ public class OpenIDAuthenticationService if(user.isAuthenticated()) { // user already authenticated - // request.getRequestDispatcher("/home/home.jsp").forward(request, response); + // request.getRequestDispatcher("/home/home.jsp").forward(request, response); //added by suho - response.sendRedirect(request.getContextPath() + "/admin/upload.html"); - + // the original entry + //response.sendRedirect(request.getContextPath() + "/admin/upload.html"); + // for registering purposes + response.sendRedirect(request.getContextPath() + "/home/registration.html"); return; } Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/AccessList.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/AccessList.java?rev=953595&r1=953594&r2=953595&view=diff ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/AccessList.java (original) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/AccessList.java Fri Jun 11 07:36:32 2010 @@ -19,19 +19,28 @@ package org.apache.photark.security.authorization; +import java.io.Serializable; +import java.util.ArrayList; import java.util.Collections; import java.util.List; +import org.oasisopen.sca.annotation.Remotable; + /** * Immutable AccessList Object responsible for storing permissions of the user. * */ -public class AccessList { + +public class AccessList implements Serializable { + /** + * + */ + private static final long serialVersionUID = 6849853208649971131L; /** */ - private String userId; + private String userId=""; /** */ - private List<String> permissions; + private List<String> permissions= new ArrayList<String>(); /** @@ -41,10 +50,13 @@ public class AccessList { * @param permissions List<String> */ public AccessList(String userId, List<String> permissions){ - this.permissions = Collections.unmodifiableList(permissions); + //TODO this.permissions = Collections.unmodifiableList(permissions); this.userId = userId; } + public AccessList(){ + + } /** * Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/Permission.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/Permission.java?rev=953595&r1=953594&r2=953595&view=diff ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/Permission.java (original) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/Permission.java Fri Jun 11 07:36:32 2010 @@ -19,10 +19,16 @@ package org.apache.photark.security.authorization; +import java.io.Serializable; + /** * Model representing a Permission */ -public class Permission { +public class Permission implements Serializable { + /** + * + */ + private static final long serialVersionUID = 115956810128294635L; public String permission; private String desc; Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/Role.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/Role.java?rev=953595&r1=953594&r2=953595&view=diff ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/Role.java (original) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/Role.java Fri Jun 11 07:36:32 2010 @@ -19,13 +19,18 @@ package org.apache.photark.security.authorization; +import java.io.Serializable; import java.util.ArrayList; import java.util.List; /** * Model representing a Role */ -public class Role { +public class Role implements Serializable { + /** + * + */ + private static final long serialVersionUID = -7560129536060718311L; public String roleName; public List<Permission> permissions = new ArrayList<Permission>(); Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/User.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/User.java?rev=953595&r1=953594&r2=953595&view=diff ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/User.java (original) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/User.java Fri Jun 11 07:36:32 2010 @@ -19,13 +19,21 @@ package org.apache.photark.security.authorization; +import java.io.Serializable; + /** * Model representing an User of Gallery */ -public class User { - private String userId; - private UserInfo userinfo; + +public class User implements Serializable { + /** + * + */ + private static final long serialVersionUID = 3933174647645362951L; + private String userId =""; + private UserInfo userinfo = new UserInfo(""); + /** * Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/UserInfo.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/UserInfo.java?rev=953595&r1=953594&r2=953595&view=diff ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/UserInfo.java (original) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/UserInfo.java Fri Jun 11 07:36:32 2010 @@ -19,39 +19,54 @@ package org.apache.photark.security.authorization; +import java.io.Serializable; + +import org.oasisopen.sca.annotation.Remotable; + /** * Model representing Information of an User of Gallery */ -public class UserInfo { - private String displayName; - private String email; - private String realName; - private String website; - - - public UserInfo(String email){ + +public class UserInfo implements Serializable { + /** + * + */ + private static final long serialVersionUID = 3735573328644358405L; + private String displayName = ""; + private String email = ""; + private String realName = ""; + private String website = ""; + + public UserInfo(String email) { this.email = email; } - - public String getDisplayName(){ - return displayName; + + public UserInfo(String displayName, String email, String realName, + String website) { + super(); + this.displayName = displayName; + this.email = email; + this.realName = realName; + this.website = website; } - - - public void setDiplayName(String displayName){ + + public void setDisplayName(String displayName) { this.displayName = displayName; } - - public String getEmail(){ + + public String getDisplayName() { + return displayName; + } + + public String getEmail() { return email; } - - - public String getRealName(){ + + public String getRealName() { return realName; } - - public String getWebsite(){ + + public String getWebsite() { return website; } } Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/AccessManager.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/AccessManager.java?rev=953595&r1=953594&r2=953595&view=diff ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/AccessManager.java (original) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/AccessManager.java Fri Jun 11 07:36:32 2010 @@ -19,10 +19,18 @@ package org.apache.photark.security.authorization.services; +import org.apache.photark.security.authorization.AccessList; +import org.apache.photark.security.authorization.User; import org.oasisopen.sca.annotation.Remotable; @Remotable public interface AccessManager { + + AccessList creatAccessList(String identity, String email); - String creatAccessList(String accessList ); + boolean isUserStoredInRole(String userId, String node); + User getUser(String userId); + void removeUserFromRole(String userId, String node); + void addUserToRole(User user, String node); + } Added: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/registration.html URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/src/main/webapp/home/registration.html?rev=953595&view=auto ============================================================================== --- incubator/photark/trunk/photark-ui-security/src/main/webapp/home/registration.html (added) +++ incubator/photark/trunk/photark-ui-security/src/main/webapp/home/registration.html Fri Jun 11 07:36:32 2010 @@ -0,0 +1,133 @@ +<!-- + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +--> + +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> +<title>Registration</title> + <script type="text/javascript" src="../js/constants.js"></script> + <script type="text/javascript" src="../dojo/dojo.js"></script> + +<script type="text/javascript"> + + dojo.addOnLoad(function() { + // dojo.require("dojo.rpc.JsonService"); + dojo.require("dojo._base.xhr"); + }); + + + function populateInfo() { + dojo.xhrPost({ + url:"../security", //photark.constants.SecurityEndpoint, + content:{userInfo:"get"}, + handleAs: "text", + load: function(response, ioArgs){ + setUserInfo(response); + }, + error: function(response, ioArgs){ + console.error("Error in getting user info"); + } + }); + } + + function setUserInfo(response){ + var array = new Array(); + array =response.split(','); + document.getElementById('userId').innerHTML=""+array[1]; + if(array[0]!=null && array[0]=="unRegistered"){ + document.getElementById('realName').value=array[2]; + document.getElementById('displayName').value=array[3]; + document.getElementById('email').value=array[4]; + document.getElementById('webSite').value=array[5]; + }else { + } + + } + + function init() { + try { + populateInfo(); + } catch (e) { + alert(e); + } + } + + function redirect(){ + window.location="../admin/upload.html"; + } + + function set(){ + dojo.xhrPost({ + url:"../security", //photark.constants.SecurityEndpoint, + content:{userInfo:"set", + realName:document.getElementById('realName').value, + displayName:document.getElementById('displayName').value, + email:document.getElementById('email').value, + webSite:document.getElementById('webSite').value}, + handleAs: "text", + load: function(response, ioArgs){ + redirect(); + }, + error: function(response, ioArgs){ + console.error("Error in getting user info"); + redirect(); + } + }); + } + + +</script> + +</head> + +<body onload="init()"> + +<h2>Get Registered With PhotArk</h2> + +<table border="0"> +<tr> +<td>OpenID : </td> +<td><div id="userId"></div></td> +</tr> +<tr> +<td>Real Name : </td> +<td><input id="realName" type="text" name="realName" /></td> +</tr> +<tr> +<td>Display Name : </td> +<td><input id="displayName" type="text" name="displayName" /></td> +</tr> +<tr> +<td>E-mail : </td> +<td><input id="email" type="text" name="email" /></td> +</tr> +<tr> +<td>Website :</td> +<td><input id="webSite" type="text" name="webSite" /></td> +</tr> +</tr> +<tr> +<td><button id="submit" type="button" onclick="set()">Register</button></td> +<td><button id="cancel" type="button" onclick="redirect()">Cancel</button></td> +</tr> +</table> + +</body> + +</html> Modified: incubator/photark/trunk/photark-ui/src/main/webapp/js/constants.js URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui/src/main/webapp/js/constants.js?rev=953595&r1=953594&r2=953595&view=diff ============================================================================== --- incubator/photark/trunk/photark-ui/src/main/webapp/js/constants.js (original) +++ incubator/photark/trunk/photark-ui/src/main/webapp/js/constants.js Fri Jun 11 07:36:32 2010 @@ -30,5 +30,6 @@ photark.constants.adminContextRoot = "/p photark.constants.GalleryServiceEndpoint = photark.constants.contextRoot + "GalleryService?smd"; +//photark.constants.SecurityEndpoint = photark.constants.contextRoot + "Security?smd"; photark.constants.UploadEndpoint = photark.constants.adminContextRoot + "upload"; Modified: incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.composite URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.composite?rev=953595&r1=953594&r2=953595&view=diff ============================================================================== --- incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.composite (original) +++ incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.composite Fri Jun 11 07:36:32 2010 @@ -42,6 +42,17 @@ </service> <reference name="repositoryManager" target="RepositoryManager"/> </component> + + <!-- Component responsible for providing REST access to Security Data --> + <component name="SecurityServiceComponent"> + <implementation.java class="org.apache.photark.jcr.security.JCRSecurityServiceImpl"/> + <service name="Servlet"> + <tuscany:binding.http uri="/security"/> + </service> + <reference name="accessmanager" target="AccessManager"> + <binding.sca name="local"/> + </reference> + </component> <!-- Component responsible for providing upload support for gallery/album --> <component name="ImageUploadServiceComponent"> @@ -97,6 +108,7 @@ <service name="AccessManager"> <interface.java interface="org.apache.photark.security.authorization.services.AccessManager"/> <binding.sca name="local"/> + <!--<tuscany:binding.jsonrpc uri="/Security"/> --> </service> <reference name="repositoryManager" target="RepositoryManager"/> </component> Modified: incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.xml?rev=953595&r1=953594&r2=953595&view=diff ============================================================================== --- incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.xml (original) +++ incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.xml Fri Jun 11 07:36:32 2010 @@ -73,7 +73,7 @@ </error-page> <filter> - <filter-name>login-Filter</filter-name> + <filter-name>login-filter</filter-name> <filter-class>org.apache.photark.security.authentication.AuthorizationFilter</filter-class> <description>This Filter authorizes user access to application components based upon request URI.</description> @@ -84,9 +84,24 @@ </filter> <filter-mapping> - <filter-name>login-Filter</filter-name> + <filter-name>login-filter</filter-name> <url-pattern>/admin/upload.html</url-pattern> </filter-mapping> + + <filter> + <filter-name>registration-filter</filter-name> + <filter-class>org.apache.photark.security.authentication.RegistrationFilter</filter-class> + <description>This Filter registers the unregistered user.</description> + <init-param> + <param-name>redirect_page</param-name> + <param-value>/admin/upload.html</param-value> + </init-param> + </filter> + + <filter-mapping> + <filter-name>registration-filter</filter-name> + <url-pattern>/home/registration.html</url-pattern> + </filter-mapping> <filter> <filter-name>openid-filter</filter-name> From [email protected] Fri Jun 11 21:40:08 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17599 invoked from network); 11 Jun 2010 21:40:07 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 11 Jun 2010 21:40:07 -0000 Received: (qmail 43179 invoked by uid 500); 11 Jun 2010 21:40:07 -0000 Delivered-To: [email protected] Received: (qmail 43151 invoked by uid 500); 11 Jun 2010 21:40:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <photark-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 43143 invoked by uid 99); 11 Jun 2010 21:40:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jun 2010 21:40:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jun 2010 21:40:05 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 637A723889CB; Fri, 11 Jun 2010 21:38:57 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r953882 - in /incubator/photark/trunk: photark-jcr/src/main/java/org/apache/photark/jcr/security/ photark-jcr/src/main/java/org/apache/photark/jcr/security/authorization/ photark-security/src/main/java/org/apache/photark/security/authentica... Date: Fri, 11 Jun 2010 21:38:57 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: suho Date: Fri Jun 11 21:38:56 2010 New Revision: 953882 URL: http://svn.apache.org/viewvc?rev=953882&view=rev Log: Improvements to the registration framework and I'm also adding back the openid.properties file back. this facilitate the users to get registered using their google and yahoo email addresses submitted by suho Added: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/SecurityServiceImpl.java - copied, changed from r953873, incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/JCRSecurityServiceImpl.java incubator/photark/trunk/photark-security/src/main/resources/openid.properties Removed: incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/JCRSecurityServiceImpl.java Modified: incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/authorization/JCRAccessManager.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/RegistrationFilter.java incubator/photark/trunk/photark-ui-security/src/main/webapp/admin/error.html incubator/photark/trunk/photark-ui-security/src/main/webapp/admin/login.html incubator/photark/trunk/photark-ui-security/src/main/webapp/home/error.html incubator/photark/trunk/photark-ui-security/src/main/webapp/home/login.html incubator/photark/trunk/photark-ui-security/src/main/webapp/home/registration.html incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.composite Modified: incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/authorization/JCRAccessManager.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/authorization/JCRAccessManager.java?rev=953882&r1=953881&r2=953882&view=diff ============================================================================== --- incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/authorization/JCRAccessManager.java (original) +++ incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/authorization/JCRAccessManager.java Fri Jun 11 21:38:56 2010 @@ -19,23 +19,18 @@ package org.apache.photark.jcr.security.authorization; -import java.util.ArrayList; - -import javax.jcr.LoginException; -import javax.jcr.Node; -import javax.jcr.RepositoryException; -import javax.jcr.Session; - import org.apache.photark.jcr.JCRRepositoryManager; import org.apache.photark.security.authorization.AccessList; import org.apache.photark.security.authorization.User; import org.apache.photark.security.authorization.UserInfo; import org.apache.photark.security.authorization.services.AccessManager; -import org.oasisopen.sca.annotation.Destroy; -import org.oasisopen.sca.annotation.Init; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Remotable; -import org.oasisopen.sca.annotation.Scope; +import org.oasisopen.sca.annotation.*; + +import javax.jcr.LoginException; +import javax.jcr.Node; +import javax.jcr.RepositoryException; +import javax.jcr.Session; +import java.util.ArrayList; @Remotable @Scope("COMPOSITE") @@ -139,6 +134,12 @@ public class JCRAccessManager implements User user = null; try { Session session = repositoryManager.getSession(); +// //to delete userStore +// Node root = session.getRootNode(); +// Node userStoreT= root.getNode("userStore"); +// userStoreT.remove(); +// session.save(); +// // Node allUsers = (Node) session.getItem("/userStore/allUsers"); Node userNode; Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/RegistrationFilter.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/RegistrationFilter.java?rev=953882&r1=953881&r2=953882&view=diff ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/RegistrationFilter.java (original) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/RegistrationFilter.java Fri Jun 11 21:38:56 2010 @@ -19,17 +19,11 @@ package org.apache.photark.security.authentication; -import java.io.IOException; -import java.util.logging.Logger; - -import javax.servlet.Filter; -import javax.servlet.FilterChain; -import javax.servlet.FilterConfig; -import javax.servlet.ServletException; -import javax.servlet.ServletRequest; -import javax.servlet.ServletResponse; +import javax.servlet.*; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; +import java.io.IOException; +import java.util.logging.Logger; /** @@ -64,7 +58,7 @@ public class RegistrationFilter implemen if (httpReq.getSession().getAttribute("toRigester") != null && httpReq.getSession().getAttribute("toRigester").equals("true")) { - httpReq.getSession().setAttribute("toRigester", "false"); + //httpReq.getSession().setAttribute("toRigester", "false"); chain.doFilter(request, response); } else { // httpResp.sendRedirect(httpReq.getContextPath() +"/admin/upload.html"); Copied: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/SecurityServiceImpl.java (from r953873, incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/JCRSecurityServiceImpl.java) URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/SecurityServiceImpl.java?p2=incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/SecurityServiceImpl.java&p1=incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/JCRSecurityServiceImpl.java&r1=953873&r2=953882&rev=953882&view=diff ============================================================================== --- incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/JCRSecurityServiceImpl.java (original) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/SecurityServiceImpl.java Fri Jun 11 21:38:56 2010 @@ -17,15 +17,7 @@ * under the License. */ -package org.apache.photark.jcr.security; - -import java.io.IOException; -import java.io.PrintWriter; -import javax.servlet.Servlet; -import javax.servlet.ServletException; -import javax.servlet.http.HttpServlet; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; +package org.apache.photark.security.authorization.services; import org.apache.photark.security.authorization.AccessList; import org.apache.photark.security.authorization.User; @@ -35,13 +27,21 @@ import org.oasisopen.sca.annotation.Refe import org.oasisopen.sca.annotation.Scope; import org.oasisopen.sca.annotation.Service; +import javax.servlet.Servlet; +import javax.servlet.ServletException; +import javax.servlet.http.HttpServlet; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import java.io.IOException; +import java.io.PrintWriter; + @Service(Servlet.class) @Scope("COMPOSITE") -public class JCRSecurityServiceImpl extends HttpServlet implements Servlet /*SecurityService*/ { +public class SecurityServiceImpl extends HttpServlet implements Servlet /*SecurityService*/ { /** - * + * */ private static final long serialVersionUID = -6452934544772432330L; private AccessManager accessManager; @@ -64,49 +64,50 @@ public class JCRSecurityServiceImpl ext StringBuffer sb = new StringBuffer(); String userId= accessList.getUserId(); User user ; - - if("get".equalsIgnoreCase(request.getParameter("userInfo").toString())){ - + + if("get".equalsIgnoreCase(request.getParameter("userInfo"))){ + user = accessManager.getUser(userId); UserInfo userInfo= user.getUserInfo(); - if(accessManager.isUserStoredInRole(userId, "unRegisteredUserRole")){ - + if(accessManager.isUserStoredInRole(userId, "registeredUserRole")){ + request.getSession().setAttribute("toRigester", "false"); /* sb.append("userId="+ userId); sb.append(",displayName=" + userInfo.getDisplayName()); sb.append(",email=" + userInfo.getEmail()); sb.append(",realName=" + userInfo.getRealName()); sb.append(",webSite=" + userInfo.getWebsite());*/ - sb.append( "registered,"+userId+","+ userInfo.getRealName()+","+userInfo.getDisplayName()+","+ userInfo.getEmail()+","+userInfo.getWebsite()); + sb.append("registered,").append(userId).append(",").append(userInfo.getRealName()).append(",").append(userInfo.getDisplayName()).append(",").append(userInfo.getEmail()).append(",").append(userInfo.getWebsite()); }else { /*sb.append("userId="+ userId); sb.append(",unRegistered=false");*/ - sb.append("unRegistered,"+userId+","+ userInfo.getRealName()+","+userInfo.getDisplayName()+","+ userInfo.getEmail()+","+userInfo.getWebsite()); + sb.append("unRegistered,").append(userId).append(",").append(userInfo.getRealName()).append(",").append(userInfo.getDisplayName()).append(",").append(userInfo.getEmail()).append(",").append(userInfo.getWebsite()); } - }else if("set".equalsIgnoreCase( request.getParameter("userInfo").toString())){ - - user = new User(userId); - UserInfo userInfo = new UserInfo(request.getParameter("displayName").toString(), - request.getParameter("email").toString(), - request.getParameter("realName").toString(), - request.getParameter("webSite").toString()); - user.setUserInfo(userInfo); - - if(accessManager.isUserStoredInRole(userId, "unRegisteredUserRole")){ - accessManager.removeUserFromRole(userId,"unRegisteredUserRole"); - } - if(!accessManager.isUserStoredInRole(userId, "registeredUserRole")){ - accessManager.addUserToRole(user,"registeredUserRole"); - } - //sb.append("userId="+ userId); - //sb.append(",unRegistered=false"); - + }else if("set".equalsIgnoreCase(request.getParameter("userInfo"))){ + if(request.getParameter("displayName") !=null&& !request.getParameter("displayName").trim().equals("")){ + request.getSession().setAttribute("toRigester", "false"); + user = new User(userId); + UserInfo userInfo = new UserInfo(request.getParameter("displayName"), + request.getParameter("email"), + request.getParameter("realName"), + request.getParameter("webSite")); + user.setUserInfo(userInfo); + + if(accessManager.isUserStoredInRole(userId, "unRegisteredUserRole")){ + accessManager.removeUserFromRole(userId,"unRegisteredUserRole"); + } + if(!accessManager.isUserStoredInRole(userId, "registeredUserRole")){ + accessManager.addUserToRole(user,"registeredUserRole"); + } + //sb.append("userId="+ userId); + //sb.append(",unRegistered=false"); + } } PrintWriter out = response.getWriter(); out.write(sb.toString()); out.flush(); out.close(); - + } } Added: incubator/photark/trunk/photark-security/src/main/resources/openid.properties URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/resources/openid.properties?rev=953882&view=auto ============================================================================== --- incubator/photark/trunk/photark-security/src/main/resources/openid.properties (added) +++ incubator/photark/trunk/photark-security/src/main/resources/openid.properties Fri Jun 11 21:38:56 2010 @@ -0,0 +1,37 @@ +#defaults (No extra configuration) +#openid.identifier.parameter = openid_identifier +#openid.discovery = com.dyuproject.openid.DefaultDiscovery +#openid.assocation = com.dyuproject.openid.DiffieHellmanAssociation +#openid.httpconnector = com.dyuproject.openid.SimpleHttpConnector +#openid.authredirection = com.dyuproject.openid.SimpleRedirection +#openid.user.manager = com.dyuproject.openid.manager.HttpSessionUserManager + +# when the user is redirected to his provider and he somehow navigates away from his +# provider and returns to your site ... the relying party will do an automatic redirect +# back to his provider for authentication +#openid.automatic_redirect = true + +# when the discovery fails, use the openid_identifer as the openid server/provider url. +#openid.identifier_as_server = false + +# if identifier_select.properties is found in classpath, it will be loaded to the cache +# this is especially usefull for google, yahoo where there is a generic id. +# this cache bypasses the discovery w/c will make the openid process faster. +#openid.user.cache = com.dyuproject.openid.IdentifierSelectUserCache + +#optional (comma-or-semicolon-separated values) +openid.identifier.resolvers = com.dyuproject.openid.ext.EmailResolver + +#if this is used, add dyuproject-json to the classpath and provide the required params below +#openid.user.manager = com.dyuproject.openid.manager.CookieBasedUserManager + +#then these are required: +#openid.user.manager.cookie.name = openidservlet1 +#openid.user.manager.cookie.security.secret_key = secret + +#and these are optional: +#openid.user.manager.cookie.path = / +#openid.user.manager.cookie.domain = http://www.example.com +#openid.user.manager.cookie.security_type = md5Signed (default: encrypted) +#openid.user.manager.cookie.max_age = 900 (default: 600 seconds) +#openid.user.manager.cookie.login_timeout = 90 (default: 60 seconds) Modified: incubator/photark/trunk/photark-ui-security/src/main/webapp/admin/error.html URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/src/main/webapp/admin/error.html?rev=953882&r1=953881&r2=953882&view=diff ============================================================================== --- incubator/photark/trunk/photark-ui-security/src/main/webapp/admin/error.html (original) +++ incubator/photark/trunk/photark-ui-security/src/main/webapp/admin/error.html Fri Jun 11 21:38:56 2010 @@ -28,7 +28,7 @@ </head> <body> <div id="container"> - <div style="float:right;width:50%;font-size:0.8em;text-align:right;"> + <div style="float:right;width:50%;font-size:0.7em;text-align:right;"> <div><span><a href="../">Gallery</a></span></div> </div> <div style="clear:both"></div> @@ -50,5 +50,6 @@ </tr> </table> </form> + </div> </body> </html> \ No newline at end of file Modified: incubator/photark/trunk/photark-ui-security/src/main/webapp/admin/login.html URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/src/main/webapp/admin/login.html?rev=953882&r1=953881&r2=953882&view=diff ============================================================================== --- incubator/photark/trunk/photark-ui-security/src/main/webapp/admin/login.html (original) +++ incubator/photark/trunk/photark-ui-security/src/main/webapp/admin/login.html Fri Jun 11 21:38:56 2010 @@ -28,7 +28,7 @@ </head> <body> <div id="container"> - <div style="float:right;width:50%;font-size:0.8em;text-align:right;"> + <div style="float:right;width:50%;font-size:0.7em;text-align:right;"> <div><span><a href="../">Gallery</a></span></div> </div> <div style="clear:both"></div> @@ -49,5 +49,6 @@ </tr> </table> </form> + </div> </body> </html> \ No newline at end of file Modified: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/error.html URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/src/main/webapp/home/error.html?rev=953882&r1=953881&r2=953882&view=diff ============================================================================== --- incubator/photark/trunk/photark-ui-security/src/main/webapp/home/error.html (original) +++ incubator/photark/trunk/photark-ui-security/src/main/webapp/home/error.html Fri Jun 11 21:38:56 2010 @@ -46,7 +46,7 @@ </head> <body onload="initOpenIDPage();"> <div id="container"> - <div style="float:right;width:50%;font-size:0.8em;text-align:right;"> + <div style="float:right;width:50%;font-size:0.7em;text-align:right;"> <div><span><a href="../">Gallery</a></span></div> </div> <div style="clear:both"></div> @@ -67,4 +67,4 @@ </div> </body> </html> - \ No newline at end of file + Modified: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/login.html URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/src/main/webapp/home/login.html?rev=953882&r1=953881&r2=953882&view=diff ============================================================================== --- incubator/photark/trunk/photark-ui-security/src/main/webapp/home/login.html (original) +++ incubator/photark/trunk/photark-ui-security/src/main/webapp/home/login.html Fri Jun 11 21:38:56 2010 @@ -46,7 +46,7 @@ </head> <body onload="initOpenIDPage();"> <div id="container"> - <div style="float:right;width:50%;font-size:0.8em;text-align:right;"> + <div style="float:right;width:50%;font-size:0.7em;text-align:right;"> <div><span><a href="../">Gallery</a></span></div> </div> <div style="clear:both"></div> Modified: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/registration.html URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/src/main/webapp/home/registration.html?rev=953882&r1=953881&r2=953882&view=diff ============================================================================== --- incubator/photark/trunk/photark-ui-security/src/main/webapp/home/registration.html (original) +++ incubator/photark/trunk/photark-ui-security/src/main/webapp/home/registration.html Fri Jun 11 21:38:56 2010 @@ -19,115 +19,171 @@ <html> <head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> -<title>Registration</title> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> + <title>Registration</title> <script type="text/javascript" src="../js/constants.js"></script> <script type="text/javascript" src="../dojo/dojo.js"></script> - -<script type="text/javascript"> - - dojo.addOnLoad(function() { - // dojo.require("dojo.rpc.JsonService"); - dojo.require("dojo._base.xhr"); - }); - - - function populateInfo() { - dojo.xhrPost({ - url:"../security", //photark.constants.SecurityEndpoint, - content:{userInfo:"get"}, - handleAs: "text", - load: function(response, ioArgs){ - setUserInfo(response); - }, - error: function(response, ioArgs){ - console.error("Error in getting user info"); - } - }); - } - - function setUserInfo(response){ - var array = new Array(); - array =response.split(','); - document.getElementById('userId').innerHTML=""+array[1]; - if(array[0]!=null && array[0]=="unRegistered"){ - document.getElementById('realName').value=array[2]; - document.getElementById('displayName').value=array[3]; - document.getElementById('email').value=array[4]; - document.getElementById('webSite').value=array[5]; - }else { - } - - } - - function init() { - try { - populateInfo(); - } catch (e) { - alert(e); - } - } - - function redirect(){ - window.location="../admin/upload.html"; - } - - function set(){ - dojo.xhrPost({ - url:"../security", //photark.constants.SecurityEndpoint, - content:{userInfo:"set", - realName:document.getElementById('realName').value, - displayName:document.getElementById('displayName').value, - email:document.getElementById('email').value, - webSite:document.getElementById('webSite').value}, - handleAs: "text", - load: function(response, ioArgs){ - redirect(); - }, - error: function(response, ioArgs){ - console.error("Error in getting user info"); - redirect(); - } + + <script type="text/javascript"> + + dojo.addOnLoad(function() { + // dojo.require("dojo.rpc.JsonService"); + dojo.require("dojo._base.xhr"); }); - } - -</script> + + function populateInfo() { + dojo.xhrPost({ + url:"../security", //photark.constants.SecurityEndpoint, + content:{userInfo:"get"}, + handleAs: "text", + load: function(response, ioArgs) { + setUserInfo(response); + }, + error: function(response, ioArgs) { + console.error("Error in getting user info"); + } + }); + } + + function setUserInfo(response) { + var array = new Array(); + array = response.split(','); + document.getElementById('userId').innerHTML = "" + array[1]; + if (array[0] != null && array[0] == "unRegistered") { + document.getElementById('realName').value = array[2]; + document.getElementById('displayName').value = array[3]; + document.getElementById('email').value = array[4]; + document.getElementById('webSite').value = array[5]; + } else { + window.location = "/photark/home/registration.html" + } + + } + + function init() { + try { + populateInfo(); + } catch (e) { + alert(e); + } + } + + function save() { + if (document.getElementById('displayName').value != null && trimAll(document.getElementById('displayName').value) != "") { + + set(); + } else { + document.getElementById('displayName').style.borderColor = "red"; + alert("Please enter a \"Display Name\"!"); + document.getElementById('displayName').focus(); + } + } + + function trimAll(sString) + { + while (sString.substring(0, 1) == ' ') + { + sString = sString.substring(1, sString.length); + } + while (sString.substring(sString.length - 1, sString.length) == ' ') + { + sString = sString.substring(0, sString.length - 1); + } + return sString; + } + + function set() { + dojo.xhrPost({ + url:"../security", //photark.constants.SecurityEndpoint, + content:{userInfo:"set", + realName:document.getElementById('realName').value, + displayName:document.getElementById('displayName').value, + email:document.getElementById('email').value, + webSite:document.getElementById('webSite').value}, + handleAs: "text", + load: function(response, ioArgs) { + window.location = "/photark/home/registration.html" + }, + error: function(response, ioArgs) { + console.error("Error in getting user info"); + window.location = "../logout"; + + } + }); + } + + + </script> + <style type="text/css"> + #container { + padding: 1em; + } + + #container p { + font-size: 1.2em; + font-family: Tahoma,Verdana; + } + + + </style> </head> <body onload="init()"> -<h2>Get Registered With PhotArk</h2> - -<table border="0"> -<tr> -<td>OpenID : </td> -<td><div id="userId"></div></td> -</tr> -<tr> -<td>Real Name : </td> -<td><input id="realName" type="text" name="realName" /></td> -</tr> -<tr> -<td>Display Name : </td> -<td><input id="displayName" type="text" name="displayName" /></td> -</tr> -<tr> -<td>E-mail : </td> -<td><input id="email" type="text" name="email" /></td> -</tr> -<tr> -<td>Website :</td> -<td><input id="webSite" type="text" name="webSite" /></td> -</tr> -</tr> -<tr> -<td><button id="submit" type="button" onclick="set()">Register</button></td> -<td><button id="cancel" type="button" onclick="redirect()">Cancel</button></td> -</tr> -</table> +<div id="container" style="margin-left:5px"> +<div style="float:right;width:50%;font-size:0.7em;text-align:right;"> + <div><span><a href="../">Gallery</a></span></div> +</div> + <p>Get <span style="color:orange">registered</span> with PhotArk</p> + + + <table border="0"> + <tr> + <td>OpenID :</td> + <td> + <div id="userId" style="color:green;"></div> + </td> + </tr> + <tr> + <td><span>Display Name </span><span style="color:red">*</span><span> : </span></td> + <td><label> + <input id="displayName" type="text" name="displayName" size="20"/> + </label></td> + </tr> + <tr> + <td>Real Name :</td> + <td><label> + <input id="realName" type="text" name="realName" size="35"/> + </label></td> + </tr> + <tr> + <td>E-mail :</td> + <td><label> + <input id="email" type="text" name="email" size="35"/> + </label></td> + </tr> + <tr> + <td>Website :</td> + <td><label> + <input id="webSite" type="text" name="webSite" size="35"/> + </label></td> + </tr> + <tr> + </tr> + <tr> + <td> + + </td> + <td> + <button id="submit" type="button" onclick="save()" style="margin-right:5px">Register</button> + <button id="cancel" type="button" onclick="redirect()">Cancel</button> + </td> + </tr> + </table> +</div> </body> </html> Modified: incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.composite URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.composite?rev=953882&r1=953881&r2=953882&view=diff ============================================================================== --- incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.composite (original) +++ incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.composite Fri Jun 11 21:38:56 2010 @@ -45,7 +45,7 @@ <!-- Component responsible for providing REST access to Security Data --> <component name="SecurityServiceComponent"> - <implementation.java class="org.apache.photark.jcr.security.JCRSecurityServiceImpl"/> + <implementation.java class="org.apache.photark.security.authorization.services.SecurityServiceImpl"/> <service name="Servlet"> <tuscany:binding.http uri="/security"/> </service> From [email protected] Sat Jun 12 06:21:39 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16999 invoked from network); 12 Jun 2010 06:21:39 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 12 Jun 2010 06:21:39 -0000 Received: (qmail 55349 invoked by uid 500); 12 Jun 2010 05:54:59 -0000 Delivered-To: [email protected] Received: (qmail 55322 invoked by uid 500); 12 Jun 2010 05:54:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <photark-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55314 invoked by uid 99); 12 Jun 2010 05:54:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Jun 2010 05:54:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Jun 2010 05:54:54 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 302EB2388978; Sat, 12 Jun 2010 05:54:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r953941 - in /incubator/photark/trunk: ./ photark-appengine-webapp/war/META-INF/ photark-filesystem/src/main/resources/ photark-jcr/src/main/java/org/apache/photark/jcr/services/ photark-jcr/src/main/resources/META-INF/ photark-webapp/ phot... Date: Sat, 12 Jun 2010 05:54:09 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: lresende Date: Sat Jun 12 05:54:09 2010 New Revision: 953941 URL: http://svn.apache.org/viewvc?rev=953941&view=rev Log: Moving to Tuscany 2.0-M5 Modified: incubator/photark/trunk/photark-appengine-webapp/war/META-INF/photo-gallery.composite incubator/photark/trunk/photark-appengine-webapp/war/META-INF/sca-contribution.xml incubator/photark/trunk/photark-filesystem/src/main/resources/sca-contribution.xml incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRImageUploadServiceImpl.java incubator/photark/trunk/photark-jcr/src/main/resources/META-INF/sca-contribution.xml incubator/photark/trunk/photark-webapp/pom.xml incubator/photark/trunk/photark-webapp/src/main/webapp/META-INF/sca-contribution.xml incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.composite incubator/photark/trunk/photark/src/main/resources/META-INF/sca-contribution.xml incubator/photark/trunk/pom.xml Modified: incubator/photark/trunk/photark-appengine-webapp/war/META-INF/photo-gallery.composite URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-appengine-webapp/war/META-INF/photo-gallery.composite?rev=953941&r1=953940&r2=953941&view=diff ============================================================================== --- incubator/photark/trunk/photark-appengine-webapp/war/META-INF/photo-gallery.composite (original) +++ incubator/photark/trunk/photark-appengine-webapp/war/META-INF/photo-gallery.composite Sat Jun 12 05:54:09 2010 @@ -17,7 +17,7 @@ * specific language governing permissions and limitations * under the License. --> -<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" +<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1" targetNamespace="http://org.apache.photoark" name="photo-gallery"> Modified: incubator/photark/trunk/photark-appengine-webapp/war/META-INF/sca-contribution.xml URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-appengine-webapp/war/META-INF/sca-contribution.xml?rev=953941&r1=953940&r2=953941&view=diff ============================================================================== --- incubator/photark/trunk/photark-appengine-webapp/war/META-INF/sca-contribution.xml (original) +++ incubator/photark/trunk/photark-appengine-webapp/war/META-INF/sca-contribution.xml Sat Jun 12 05:54:09 2010 @@ -17,7 +17,7 @@ * specific language governing permissions and limitations * under the License. --> -<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" +<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:photark="http://org.apache.photoark"> <deployable composite="photark:photo-gallery"/> Modified: incubator/photark/trunk/photark-filesystem/src/main/resources/sca-contribution.xml URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-filesystem/src/main/resources/sca-contribution.xml?rev=953941&r1=953940&r2=953941&view=diff ============================================================================== --- incubator/photark/trunk/photark-filesystem/src/main/resources/sca-contribution.xml (original) +++ incubator/photark/trunk/photark-filesystem/src/main/resources/sca-contribution.xml Sat Jun 12 05:54:09 2010 @@ -17,7 +17,7 @@ * specific language governing permissions and limitations * under the License. --> -<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" +<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:photark="http://org.apache.photoark"> <export.java package="org.apache.photark.filesystem.services"/> </contribution> Modified: incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRImageUploadServiceImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRImageUploadServiceImpl.java?rev=953941&r1=953940&r2=953941&view=diff ============================================================================== --- incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRImageUploadServiceImpl.java (original) +++ incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRImageUploadServiceImpl.java Sat Jun 12 05:54:09 2010 @@ -106,7 +106,7 @@ public class JCRImageUploadServiceImpl e @SuppressWarnings("unchecked") @Override public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException { - response.setContentType("text/html"); + response.setContentType("text/html;charset=UTF-8"); boolean isMultipartContent = ServletFileUpload.isMultipartContent(request); if (!isMultipartContent) { Modified: incubator/photark/trunk/photark-jcr/src/main/resources/META-INF/sca-contribution.xml URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-jcr/src/main/resources/META-INF/sca-contribution.xml?rev=953941&r1=953940&r2=953941&view=diff ============================================================================== --- incubator/photark/trunk/photark-jcr/src/main/resources/META-INF/sca-contribution.xml (original) +++ incubator/photark/trunk/photark-jcr/src/main/resources/META-INF/sca-contribution.xml Sat Jun 12 05:54:09 2010 @@ -17,7 +17,7 @@ * specific language governing permissions and limitations * under the License. --> -<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" +<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:photark="http://org.apache.photoark"> <export.java package="org.apache.photark.jcr.services"/> </contribution> Modified: incubator/photark/trunk/photark-webapp/pom.xml URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-webapp/pom.xml?rev=953941&r1=953940&r2=953941&view=diff ============================================================================== --- incubator/photark/trunk/photark-webapp/pom.xml (original) +++ incubator/photark/trunk/photark-webapp/pom.xml Sat Jun 12 05:54:09 2010 @@ -153,13 +153,13 @@ <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> - <version>1.5.3</version> + <version>1.5.11</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> - <version>1.5.3</version> + <version>1.5.11</version> </dependency> <dependency> Modified: incubator/photark/trunk/photark-webapp/src/main/webapp/META-INF/sca-contribution.xml URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-webapp/src/main/webapp/META-INF/sca-contribution.xml?rev=953941&r1=953940&r2=953941&view=diff ============================================================================== --- incubator/photark/trunk/photark-webapp/src/main/webapp/META-INF/sca-contribution.xml (original) +++ incubator/photark/trunk/photark-webapp/src/main/webapp/META-INF/sca-contribution.xml Sat Jun 12 05:54:09 2010 @@ -17,7 +17,7 @@ * specific language governing permissions and limitations * under the License. --> -<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" +<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:photark="http://org.apache.photoark"> <deployable composite="photark:photo-gallery-jcr"/> Modified: incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.composite URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.composite?rev=953941&r1=953940&r2=953941&view=diff ============================================================================== --- incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.composite (original) +++ incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.composite Sat Jun 12 05:54:09 2010 @@ -17,7 +17,7 @@ * specific language governing permissions and limitations * under the License. --> -<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" +<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1" targetNamespace="http://org.apache.photoark" name="photo-gallery-jcr"> Modified: incubator/photark/trunk/photark/src/main/resources/META-INF/sca-contribution.xml URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark/src/main/resources/META-INF/sca-contribution.xml?rev=953941&r1=953940&r2=953941&view=diff ============================================================================== --- incubator/photark/trunk/photark/src/main/resources/META-INF/sca-contribution.xml (original) +++ incubator/photark/trunk/photark/src/main/resources/META-INF/sca-contribution.xml Sat Jun 12 05:54:09 2010 @@ -17,7 +17,7 @@ * specific language governing permissions and limitations * under the License. --> -<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" +<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:photark="http://org.apache.photoark"> <export.java package="org.apache.photark.services.album"/> <export.java package="org.apache.photark.services.gallery"/> Modified: incubator/photark/trunk/pom.xml URL: http://svn.apache.org/viewvc/incubator/photark/trunk/pom.xml?rev=953941&r1=953940&r2=953941&view=diff ============================================================================== --- incubator/photark/trunk/pom.xml (original) +++ incubator/photark/trunk/pom.xml Sat Jun 12 05:54:09 2010 @@ -89,7 +89,7 @@ <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> - <tuscany.version>2.0-M4</tuscany.version> + <tuscany.version>2.0-M5</tuscany.version> </properties> From [email protected] Sun Jun 13 15:48:37 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40114 invoked from network); 13 Jun 2010 15:48:37 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 13 Jun 2010 15:48:37 -0000 Received: (qmail 24483 invoked by uid 500); 13 Jun 2010 15:21:57 -0000 Delivered-To: [email protected] Received: (qmail 24450 invoked by uid 500); 13 Jun 2010 15:21:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <photark-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 24441 invoked by uid 99); 13 Jun 2010 15:21:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Jun 2010 15:21:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Jun 2010 15:21:55 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 594562388A33; Sun, 13 Jun 2010 15:21:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r954241 - in /incubator/photark/trunk: photark-jcr/src/main/java/org/apache/photark/jcr/services/ photark-security/src/main/java/org/apache/photark/security/authentication/ photark-security/src/main/java/org/apache/photark/security/authoriz... Date: Sun, 13 Jun 2010 15:21:03 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: suho Date: Sun Jun 13 15:21:01 2010 New Revision: 954241 URL: http://svn.apache.org/viewvc?rev=954241&view=rev Log: fixing the issue 50 Adding functionality to manage login links Improvements to the registration framework submitted by suho Modified: incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRAlbumImpl.java incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRGalleryImpl.java incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRImageUploadServiceImpl.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/AuthorizationFilter.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/SecurityServiceImpl.java incubator/photark/trunk/photark-ui-admin/src/main/webapp/admin/js/admin.js incubator/photark/trunk/photark-ui-admin/src/main/webapp/admin/upload.html incubator/photark/trunk/photark-ui-security/src/main/webapp/home/registration.html incubator/photark/trunk/photark-ui/src/main/webapp/gallery.html incubator/photark/trunk/photark-ui/src/main/webapp/js/gallery.js Modified: incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRAlbumImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRAlbumImpl.java?rev=954241&r1=954240&r2=954241&view=diff ============================================================================== --- incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRAlbumImpl.java (original) +++ incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRAlbumImpl.java Sun Jun 13 15:21:01 2010 @@ -203,7 +203,7 @@ public class JCRAlbumImpl implements Alb while (nodes.hasNext()) { Node node = nodes.nextNode(); - if (node.getPath().equals("/jcr:system")) + if (node.getPath().equals("/jcr:system")||node.getPath().equals("/userStore")) continue; pictures.add(node.getProperty("location").getString()); } Modified: incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRGalleryImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRGalleryImpl.java?rev=954241&r1=954240&r2=954241&view=diff ============================================================================== --- incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRGalleryImpl.java (original) +++ incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRGalleryImpl.java Sun Jun 13 15:21:01 2010 @@ -97,7 +97,7 @@ public class JCRGalleryImpl extends Base NodeIterator albumNodes = rootNode.getNodes(); while (albumNodes.hasNext()) { Node albumNode = albumNodes.nextNode(); - if (albumNode.getPath().equals("/jcr:system")) { + if (albumNode.getPath().equals("/jcr:system")||albumNode.getPath().equals("/userStore")) { continue; } String albumName = albumNode.getName(); Modified: incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRImageUploadServiceImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRImageUploadServiceImpl.java?rev=954241&r1=954240&r2=954241&view=diff ============================================================================== --- incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRImageUploadServiceImpl.java (original) +++ incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRImageUploadServiceImpl.java Sun Jun 13 15:21:01 2010 @@ -229,8 +229,8 @@ public class JCRImageUploadServiceImpl e /** * @param albumName String - * @param picture Picture - * @param String albumDescription + * @param albumDescription Picture + * @param image albumDescription */ private void addPictureToAlbum(String albumName,String albumDescription, Image image) { gallery.addAlbum(albumName); Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/AuthorizationFilter.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/AuthorizationFilter.java?rev=954241&r1=954240&r2=954241&view=diff ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/AuthorizationFilter.java (original) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/AuthorizationFilter.java Sun Jun 13 15:21:01 2010 @@ -63,8 +63,15 @@ public class AuthorizationFilter impleme HttpServletResponse httpResp = (HttpServletResponse) response; if (httpReq.getSession().getAttribute("accessList") != null && ! httpReq.getSession().getAttribute("accessList").equals("")) { - System.err.println(((AccessList)httpReq.getSession().getAttribute("accessList")).getUserId() +" Accessing Admin page"); - chain.doFilter(request, response); + if (httpReq.getSession().getAttribute("toRigester") != null + && httpReq.getSession().getAttribute("toRigester").equals("true")) { + httpResp.sendRedirect(httpReq.getContextPath() + redirectPage); + } else{ + System.err.println(((AccessList)httpReq.getSession().getAttribute("accessList")).getUserId() +" Accessing Admin page"); + chain.doFilter(request, response); + } + + } else { httpResp.sendRedirect(httpReq.getContextPath() + redirectPage); } Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/SecurityServiceImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/SecurityServiceImpl.java?rev=954241&r1=954240&r2=954241&view=diff ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/SecurityServiceImpl.java (original) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/SecurityServiceImpl.java Sun Jun 13 15:21:01 2010 @@ -22,7 +22,6 @@ package org.apache.photark.security.auth import org.apache.photark.security.authorization.AccessList; import org.apache.photark.security.authorization.User; import org.apache.photark.security.authorization.UserInfo; -import org.apache.photark.security.authorization.services.AccessManager; import org.oasisopen.sca.annotation.Reference; import org.oasisopen.sca.annotation.Scope; import org.oasisopen.sca.annotation.Service; @@ -40,52 +39,55 @@ import java.io.PrintWriter; @Scope("COMPOSITE") public class SecurityServiceImpl extends HttpServlet implements Servlet /*SecurityService*/ { - /** - * - */ - private static final long serialVersionUID = -6452934544772432330L; - private AccessManager accessManager; - - @Reference(name="accessmanager") - protected void setAccessService(AccessManager accessManager) { - this.accessManager = accessManager; - } - - @Override - protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { - response.setContentType("text/html"); - doPost( request, response); - } - - @Override - public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException { - response.setContentType("text/html"); - AccessList accessList= (AccessList)request.getSession().getAttribute("accessList"); - StringBuffer sb = new StringBuffer(); - String userId= accessList.getUserId(); - User user ; - - if("get".equalsIgnoreCase(request.getParameter("userInfo"))){ - - user = accessManager.getUser(userId); - UserInfo userInfo= user.getUserInfo(); - if(accessManager.isUserStoredInRole(userId, "registeredUserRole")){ + /** + * + */ + private static final long serialVersionUID = -6452934544772432330L; + private AccessManager accessManager; + + @Reference(name = "accessmanager") + protected void setAccessService(AccessManager accessManager) { + this.accessManager = accessManager; + } + + @Override + protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { + response.setContentType("text/html"); + doPost(request, response); + } + + @Override + public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException { + response.setContentType("text/html"); + + StringBuffer sb = new StringBuffer(); + + if ("getUserInfo".equalsIgnoreCase(request.getParameter("request"))) { + AccessList accessList = (AccessList) request.getSession().getAttribute("accessList"); + String userId = accessList.getUserId(); + User user; + user = accessManager.getUser(userId); + UserInfo userInfo = user.getUserInfo(); + if (accessManager.isUserStoredInRole(userId, "registeredUserRole")) { request.getSession().setAttribute("toRigester", "false"); - /* sb.append("userId="+ userId); - sb.append(",displayName=" + userInfo.getDisplayName()); - sb.append(",email=" + userInfo.getEmail()); - sb.append(",realName=" + userInfo.getRealName()); - sb.append(",webSite=" + userInfo.getWebsite());*/ + /* sb.append("userId="+ userId); + sb.append(",displayName=" + userInfo.getDisplayName()); + sb.append(",email=" + userInfo.getEmail()); + sb.append(",realName=" + userInfo.getRealName()); + sb.append(",webSite=" + userInfo.getWebsite());*/ sb.append("registered,").append(userId).append(",").append(userInfo.getRealName()).append(",").append(userInfo.getDisplayName()).append(",").append(userInfo.getEmail()).append(",").append(userInfo.getWebsite()); - }else { - /*sb.append("userId="+ userId); - sb.append(",unRegistered=false");*/ + } else { + /*sb.append("userId="+ userId); + sb.append(",unRegistered=false");*/ sb.append("unRegistered,").append(userId).append(",").append(userInfo.getRealName()).append(",").append(userInfo.getDisplayName()).append(",").append(userInfo.getEmail()).append(",").append(userInfo.getWebsite()); - } + } - }else if("set".equalsIgnoreCase(request.getParameter("userInfo"))){ - if(request.getParameter("displayName") !=null&& !request.getParameter("displayName").trim().equals("")){ + } else if ("setUserInfo".equalsIgnoreCase(request.getParameter("request"))) { + AccessList accessList = (AccessList) request.getSession().getAttribute("accessList"); + String userId = accessList.getUserId(); + User user; + if (request.getParameter("displayName") != null && !request.getParameter("displayName").trim().equals("")) { request.getSession().setAttribute("toRigester", "false"); user = new User(userId); UserInfo userInfo = new UserInfo(request.getParameter("displayName"), @@ -94,20 +96,55 @@ public class SecurityServiceImpl extends request.getParameter("webSite")); user.setUserInfo(userInfo); - if(accessManager.isUserStoredInRole(userId, "unRegisteredUserRole")){ - accessManager.removeUserFromRole(userId,"unRegisteredUserRole"); + if (accessManager.isUserStoredInRole(userId, "unRegisteredUserRole")) { + accessManager.removeUserFromRole(userId, "unRegisteredUserRole"); } - if(!accessManager.isUserStoredInRole(userId, "registeredUserRole")){ - accessManager.addUserToRole(user,"registeredUserRole"); + if (!accessManager.isUserStoredInRole(userId, "registeredUserRole")) { + accessManager.addUserToRole(user, "registeredUserRole"); } //sb.append("userId="+ userId); //sb.append(",unRegistered=false"); } - } - PrintWriter out = response.getWriter(); - out.write(sb.toString()); - out.flush(); - out.close(); + } else if ("getUser".equalsIgnoreCase(request.getParameter("request"))) { + if (request.getSession().getAttribute("accessList") != null && request.getSession().getAttribute("accessList") != "") { + + AccessList accessList = (AccessList) request.getSession().getAttribute("accessList"); + + String userId = accessList.getUserId(); + if(userId.equals("SuperAdmin")){ + + sb.append("{user:{userId:'" + userId + + "',userInfo:{realName:'" + + "',displayName:'"+userId + + "',email:'" + + "',website:'" + "'}}}"); + + } else{ + User user; + user = accessManager.getUser(userId); + UserInfo userInfo = user.getUserInfo(); + + /* sb.append("userId="+ userId); + sb.append(",displayName=" + userInfo.getDisplayName()); + sb.append(",email=" + userInfo.getEmail()); + sb.append(",realName=" + userInfo.getRealName()); + sb.append(",webSite=" + userInfo.getWebsite());*/ + sb.append("{user:{userId:'" + userId + + "',userInfo:{realName:'" + userInfo.getRealName() + + "',displayName:'" + userInfo.getDisplayName() + + "',email:'" + userInfo.getEmail() + + "',website:'" + userInfo.getWebsite() + "'}}}"); + } + + + }else{ + sb.append("{user:{userId:'null'}}"); + } + } + PrintWriter out = response.getWriter(); + out.write(sb.toString()); + out.flush(); + out.close(); - } + } } Modified: incubator/photark/trunk/photark-ui-admin/src/main/webapp/admin/js/admin.js URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-admin/src/main/webapp/admin/js/admin.js?rev=954241&r1=954240&r2=954241&view=diff ============================================================================== --- incubator/photark/trunk/photark-ui-admin/src/main/webapp/admin/js/admin.js (original) +++ incubator/photark/trunk/photark-ui-admin/src/main/webapp/admin/js/admin.js Sun Jun 13 15:21:01 2010 @@ -195,7 +195,35 @@ var r; } } + +function populateUserInfo() { + dojo.xhrPost({ + url:"../security", //photark.constants.SecurityEndpoint, + content:{request:"getUser"}, + handleAs: "json", + load: function(response, ioArgs) { + displayLoginLinks(response); + }, + error: function(response, ioArgs) { + console.error("Error in getting user info"); + } + }); + } + +function displayLoginLinks (response) { + if(response!=null&&response.user.userId!="null"){ + var displayName = response.user.userInfo.displayName; + + document.getElementById("loginName").innerHTML="<b>"+displayName+"</b>" ; + } else { + document.getElementById("loginName").innerHTML=""; + } + + +} dojo.addOnLoad( function() { + dojo.addOnLoad(populateUserInfo); populateSelect(); + }); Modified: incubator/photark/trunk/photark-ui-admin/src/main/webapp/admin/upload.html URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-admin/src/main/webapp/admin/upload.html?rev=954241&r1=954240&r2=954241&view=diff ============================================================================== --- incubator/photark/trunk/photark-ui-admin/src/main/webapp/admin/upload.html (original) +++ incubator/photark/trunk/photark-ui-admin/src/main/webapp/admin/upload.html Sun Jun 13 15:21:01 2010 @@ -40,7 +40,7 @@ <fieldset id="newAlbumDetails" style="text-align:left;"> <legend>Album Details</legend> <div style="float:right;width:50%;font-size:0.8em;text-align:right;"> - <div><span><a href="../">Gallery</a></span>&nbsp;&nbsp;<span><a href="../logout/">Logout</a></span></div> + <div><span id="loginName"></span>&nbsp;&nbsp;<span><a href="../">Gallery</a></span>&nbsp;&nbsp;<span><a href="../logout/">Logout</a></span></div> </div> <div style="clear:both"></div> <ol> Modified: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/registration.html URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/src/main/webapp/home/registration.html?rev=954241&r1=954240&r2=954241&view=diff ============================================================================== --- incubator/photark/trunk/photark-ui-security/src/main/webapp/home/registration.html (original) +++ incubator/photark/trunk/photark-ui-security/src/main/webapp/home/registration.html Sun Jun 13 15:21:01 2010 @@ -35,7 +35,7 @@ function populateInfo() { dojo.xhrPost({ url:"../security", //photark.constants.SecurityEndpoint, - content:{userInfo:"get"}, + content:{request:"getUserInfo"}, handleAs: "text", load: function(response, ioArgs) { setUserInfo(response); @@ -56,7 +56,7 @@ document.getElementById('email').value = array[4]; document.getElementById('webSite').value = array[5]; } else { - window.location = "/photark/home/registration.html" + window.location = "authenticate" } } @@ -96,23 +96,25 @@ function set() { dojo.xhrPost({ url:"../security", //photark.constants.SecurityEndpoint, - content:{userInfo:"set", + content:{request:"setUserInfo", realName:document.getElementById('realName').value, displayName:document.getElementById('displayName').value, email:document.getElementById('email').value, webSite:document.getElementById('webSite').value}, handleAs: "text", load: function(response, ioArgs) { - window.location = "/photark/home/registration.html" + window.location = "authenticate" }, error: function(response, ioArgs) { console.error("Error in getting user info"); - window.location = "../logout"; + logout(); } }); } - + function logout(){ + window.location = "../logout"; + } </script> <style type="text/css"> @@ -135,7 +137,7 @@ <div id="container" style="margin-left:5px"> <div style="float:right;width:50%;font-size:0.7em;text-align:right;"> - <div><span><a href="../">Gallery</a></span></div> + <div><span><a href="../logout">Gallery</a></span></div> </div> <p>Get <span style="color:orange">registered</span> with PhotArk</p> @@ -179,7 +181,7 @@ </td> <td> <button id="submit" type="button" onclick="save()" style="margin-right:5px">Register</button> - <button id="cancel" type="button" onclick="redirect()">Cancel</button> + <button id="cancel" type="button" onclick="logout()">Cancel</button> </td> </tr> </table> Modified: incubator/photark/trunk/photark-ui/src/main/webapp/gallery.html URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui/src/main/webapp/gallery.html?rev=954241&r1=954240&r2=954241&view=diff ============================================================================== --- incubator/photark/trunk/photark-ui/src/main/webapp/gallery.html (original) +++ incubator/photark/trunk/photark-ui/src/main/webapp/gallery.html Sun Jun 13 15:21:01 2010 @@ -33,7 +33,7 @@ <body onload="initGallery()"> <div style="float:right;width:50%;font-size:1em;text-align:right;"> <div>&nbsp;</div> - <div><span><a href="./admin/authenticate"><u>Super Admin</u></a></span>&nbsp;&nbsp;<span><a href="./home/authenticate"><u>login</u></a></span>&nbsp;&nbsp;<span><a href="./logout/"><u>logout</u></a></span></div> + <div id="loginLinks"><span><a href="./admin/authenticate"><u>Super admin</u></a></span>&nbsp;&nbsp;<span><a href="./home/authenticate"><u>Login</u></a></span>&nbsp;&nbsp;<span><a href="./logout/"><u>Logout</u></a></span></div> </div> <div style="clear:both"></div> <div> Modified: incubator/photark/trunk/photark-ui/src/main/webapp/js/gallery.js URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui/src/main/webapp/js/gallery.js?rev=954241&r1=954240&r2=954241&view=diff ============================================================================== --- incubator/photark/trunk/photark-ui/src/main/webapp/js/gallery.js (original) +++ incubator/photark/trunk/photark-ui/src/main/webapp/js/gallery.js Sun Jun 13 15:21:01 2010 @@ -42,7 +42,9 @@ var slideShowSpeed=0; var timer; dojo.addOnLoad(function() { + dojo.require("dojo._base.xhr"); dojo.require("dojo.rpc.JsonService"); + dojo.addOnLoad(populateUserInfo); dojo.addOnLoad(initServices); dojo.addOnLoad(initGallery); }); @@ -62,6 +64,31 @@ function initGallery() { } } +function populateUserInfo() { + dojo.xhrPost({ + url:"security", //photark.constants.SecurityEndpoint, + content:{request:"getUser"}, + handleAs: "json", + load: function(response, ioArgs) { + displayLoginLinks(response); + }, + error: function(response, ioArgs) { + console.error("Error in getting user info"); + } + }); + } +function displayLoginLinks (response) { + if(response!=null&&response.user.userId!="null"){ + var displayName = response.user.userInfo.displayName; + + document.getElementById("loginLinks").innerHTML="Welcome <b>"+displayName+"</b> : <span><a href=\"./admin/upload.html\"><u>Admin page</u></a></span>&nbsp;&nbsp;<span><a href=\"./logout/\"><u>Logout</u></a></span>" ; + } else { + document.getElementById("loginLinks").innerHTML="<span><a href=\"./admin/authenticate\"><u>Super admin</u></a></span>&nbsp;&nbsp;<span><a href=\"./home/authenticate\"><u>Login</u></a></span>"; + } + + +} + function gallery_getAlbumsResponse(albums, exception) { if(exception) { alert(exception.msg); From [email protected] Sun Jun 13 17:13:41 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67588 invoked from network); 13 Jun 2010 17:13:41 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 13 Jun 2010 17:13:41 -0000 Received: (qmail 74700 invoked by uid 500); 13 Jun 2010 17:13:41 -0000 Delivered-To: [email protected] Received: (qmail 74666 invoked by uid 500); 13 Jun 2010 17:13:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <photark-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74658 invoked by uid 99); 13 Jun 2010 17:13:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Jun 2010 17:13:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Jun 2010 17:13:40 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id BE524238890D; Sun, 13 Jun 2010 17:12:58 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r954265 - in /incubator/photark/trunk: photark-security/src/main/java/org/apache/photark/security/authorization/services/SecurityServiceImpl.java photark-ui-security/src/main/webapp/home/registration.html Date: Sun, 13 Jun 2010 17:12:58 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: suho Date: Sun Jun 13 17:12:58 2010 New Revision: 954265 URL: http://svn.apache.org/viewvc?rev=954265&view=rev Log: Issue PHOTARK-50 fixed submitted by suho Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/SecurityServiceImpl.java incubator/photark/trunk/photark-ui-security/src/main/webapp/home/registration.html Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/SecurityServiceImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/SecurityServiceImpl.java?rev=954265&r1=954264&r2=954265&view=diff ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/SecurityServiceImpl.java (original) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/SecurityServiceImpl.java Sun Jun 13 17:12:58 2010 @@ -102,7 +102,7 @@ public class SecurityServiceImpl extends if (!accessManager.isUserStoredInRole(userId, "registeredUserRole")) { accessManager.addUserToRole(user, "registeredUserRole"); } - //sb.append("userId="+ userId); + sb.append("OK"); //sb.append(",unRegistered=false"); } } else if ("getUser".equalsIgnoreCase(request.getParameter("request"))) { Modified: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/registration.html URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/src/main/webapp/home/registration.html?rev=954265&r1=954264&r2=954265&view=diff ============================================================================== --- incubator/photark/trunk/photark-ui-security/src/main/webapp/home/registration.html (original) +++ incubator/photark/trunk/photark-ui-security/src/main/webapp/home/registration.html Sun Jun 13 17:12:58 2010 @@ -56,7 +56,7 @@ document.getElementById('email').value = array[4]; document.getElementById('webSite').value = array[5]; } else { - window.location = "authenticate" + window.location = "/photark/admin/upload.html"; } } @@ -103,7 +103,9 @@ webSite:document.getElementById('webSite').value}, handleAs: "text", load: function(response, ioArgs) { - window.location = "authenticate" + if(response=="OK"){ + window.location = "/photark/admin/upload.html" + } }, error: function(response, ioArgs) { console.error("Error in getting user info"); From [email protected] Tue Jun 15 05:06:18 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19078 invoked from network); 15 Jun 2010 05:06:18 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 15 Jun 2010 05:06:18 -0000 Received: (qmail 25501 invoked by uid 500); 15 Jun 2010 04:39:37 -0000 Delivered-To: [email protected] Received: (qmail 25474 invoked by uid 500); 15 Jun 2010 04:39:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <photark-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 25460 invoked by uid 99); 15 Jun 2010 04:39:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jun 2010 04:39:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jun 2010 04:39:30 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E69E423889B2; Tue, 15 Jun 2010 04:38:42 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r954703 - in /incubator/photark/trunk: photark-security/src/main/java/org/apache/photark/security/authentication/ photark-security/src/main/java/org/apache/photark/security/authentication/services/ photark-security/src/main/java/org/apache/... Date: Tue, 15 Jun 2010 04:38:42 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: suho Date: Tue Jun 15 04:38:42 2010 New Revision: 954703 URL: http://svn.apache.org/viewvc?rev=954703&view=rev Log: improving code and fixing issue https://issues.apache.org/jira/browse/PHOTARK-50 Removed: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/RegistrationFilter.java Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/AuthorizationFilter.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/LogoutServiceImpl.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/OpenIDAuthenticationServiceImpl.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/SecurityServiceImpl.java incubator/photark/trunk/photark-ui-security/src/main/webapp/home/error.html incubator/photark/trunk/photark-ui-security/src/main/webapp/home/login.html incubator/photark/trunk/photark-ui-security/src/main/webapp/home/registration.html incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.xml Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/AuthorizationFilter.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/AuthorizationFilter.java?rev=954703&r1=954702&r2=954703&view=diff ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/AuthorizationFilter.java (original) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/AuthorizationFilter.java Tue Jun 15 04:38:42 2010 @@ -6,43 +6,37 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations - * under the License. + * under the License. */ package org.apache.photark.security.authentication; -import java.io.IOException; -import java.util.logging.Logger; +import org.apache.photark.security.authorization.AccessList; -import javax.servlet.Filter; -import javax.servlet.FilterChain; -import javax.servlet.FilterConfig; -import javax.servlet.ServletException; -import javax.servlet.ServletRequest; -import javax.servlet.ServletResponse; +import javax.servlet.*; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; - -import org.apache.photark.security.authorization.AccessList; +import java.io.IOException; +import java.util.logging.Logger; /** - * Authorization Filter. This will only allow authenticated user + * Authorization Filter. This will only allow authenticated user * to access to upload.html and redirect others to OpenID authentication + * * - * - * + * */ public class AuthorizationFilter implements Filter { private static final Logger logger = Logger.getLogger(AuthorizationFilter.class.getName()); - + private String redirectPage; /** Filter should be configured with an redirect page. */ @@ -51,24 +45,24 @@ public class AuthorizationFilter impleme redirectPage = FilterConfig.getInitParameter("redirect_page"); } } - + + public void destroy() { // TODO Auto-generated method stub } - + public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws ServletException, IOException { - + HttpServletRequest httpReq = (HttpServletRequest) request; HttpServletResponse httpResp = (HttpServletResponse) response; - if (httpReq.getSession().getAttribute("accessList") != null && ! httpReq.getSession().getAttribute("accessList").equals("")) { if (httpReq.getSession().getAttribute("toRigester") != null && httpReq.getSession().getAttribute("toRigester").equals("true")) { httpResp.sendRedirect(httpReq.getContextPath() + redirectPage); } else{ System.err.println(((AccessList)httpReq.getSession().getAttribute("accessList")).getUserId() +" Accessing Admin page"); - chain.doFilter(request, response); + chain.doFilter(request, response); } Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/LogoutServiceImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/LogoutServiceImpl.java?rev=954703&r1=954702&r2=954703&view=diff ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/LogoutServiceImpl.java (original) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/LogoutServiceImpl.java Tue Jun 15 04:38:42 2010 @@ -63,9 +63,10 @@ public class LogoutServiceImpl extends H if(request.getSession().getAttribute("accessList")!=null){ System.err.print(((AccessList)request.getSession().getAttribute("accessList")).getUserId()); } - // Removing the AccessList - request.getSession().setAttribute("accessList", ""); - // invalidating the Authenticated OpenID User + // Removing the AccessList + request.getSession().setAttribute("accessList", ""); + request.getSession().setAttribute("toRigester", "false"); + // invalidating the Authenticated OpenID User RelyingParty.getInstance().invalidate(request, response); // invalidating the Authenticated Super Admin User request.getSession().invalidate(); @@ -76,4 +77,4 @@ public class LogoutServiceImpl extends H response.sendRedirect(request.getContextPath() + "/"); } -} \ No newline at end of file +} Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/OpenIDAuthenticationServiceImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/OpenIDAuthenticationServiceImpl.java?rev=954703&r1=954702&r2=954703&view=diff ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/OpenIDAuthenticationServiceImpl.java (original) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/OpenIDAuthenticationServiceImpl.java Tue Jun 15 04:38:42 2010 @@ -19,23 +19,6 @@ package org.apache.photark.security.authentication.services; -import java.io.FileNotFoundException; -import java.io.IOException; -import java.net.UnknownHostException; -import java.util.Map; - -import javax.servlet.Servlet; -import javax.servlet.ServletException; -import javax.servlet.http.HttpServlet; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; - -import org.apache.photark.security.authorization.AccessList; -import org.apache.photark.security.authorization.services.AccessManager; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Scope; -import org.oasisopen.sca.annotation.Service; - import com.dyuproject.openid.OpenIdServletFilter; import com.dyuproject.openid.OpenIdUser; import com.dyuproject.openid.RelyingParty; @@ -43,6 +26,21 @@ import com.dyuproject.openid.YadisDiscov import com.dyuproject.openid.ext.AxSchemaExtension; import com.dyuproject.openid.ext.SRegExtension; import com.dyuproject.util.http.UrlEncodedParameterMap; +import org.apache.photark.security.authorization.AccessList; +import org.apache.photark.security.authorization.services.AccessManager; +import org.oasisopen.sca.annotation.Reference; +import org.oasisopen.sca.annotation.Scope; +import org.oasisopen.sca.annotation.Service; + +import javax.servlet.Servlet; +import javax.servlet.ServletException; +import javax.servlet.http.HttpServlet; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.net.UnknownHostException; +import java.util.Map; /** * OpenID Authentication Service Impl. If authenticated, goes to the home page. If not, goes to the login page. @@ -179,11 +177,12 @@ public class OpenIDAuthenticationService // set error msg if the openid_identifier is not resolved. if(request.getParameter(_relyingParty.getIdentifierParameter())!=null){ request.setAttribute(OpenIdServletFilter.ERROR_MSG_ATTR, errorMsg);//TODO error pages, massage not passed to front end - request.getRequestDispatcher("/home/error.html").forward(request, response); + // request.getRequestDispatcher("/home/error.html").forward(request, response); + response.sendRedirect(request.getContextPath() + "/home/error.html"); }else{ // new user - request.getRequestDispatcher("/home/login.html").forward(request, response); - //response.sendRedirect(request.getContextPath() + "/home/login.html"); + //request.getRequestDispatcher("/home/login.html").forward(request, response); + response.sendRedirect(request.getContextPath() + "/home/login.html"); } } return; @@ -193,11 +192,17 @@ public class OpenIDAuthenticationService { // user already authenticated // request.getRequestDispatcher("/home/home.jsp").forward(request, response); - //added by suho - // the original entry - //response.sendRedirect(request.getContextPath() + "/admin/upload.html"); - // for registering purposes - response.sendRedirect(request.getContextPath() + "/home/registration.html"); + //added by suho + // the original entry + if (request.getSession().getAttribute("toRigester") != null + && request.getSession().getAttribute("toRigester").equals("true")) { + // for registering purposes + // request.getRequestDispatcher("/home/registration.html").forward(request, response); + response.sendRedirect(request.getContextPath() + "/home/registration.html"); + } else { + response.sendRedirect(request.getContextPath() + "/admin/upload.html"); + } + return; } @@ -209,13 +214,15 @@ public class OpenIDAuthenticationService // authenticated // redirect to home to remove the query params instead of doing: // request.getRequestDispatcher("/home.jsp").forward(request, response); + // send to the authorization filter to loop back response.sendRedirect(request.getContextPath() + "/home/authenticate"); } else { // failed verification //request.getRequestDispatcher("/home/login.jsp").forward(request, response); - request.getRequestDispatcher("/home/error.html").forward(request, response); + // request.getRequestDispatcher("/home/error.html").forward(request, response); + response.sendRedirect(request.getContextPath() + "/home/error.html"); } return; } @@ -248,7 +255,8 @@ public class OpenIDAuthenticationService errorMsg = OpenIdServletFilter.DEFAULT_ERROR_MSG;//TODO error pages, massage not passed to front end } request.setAttribute(OpenIdServletFilter.ERROR_MSG_ATTR, errorMsg);//TODO error pages, massage not passed to front end - request.getRequestDispatcher("/home/login.html").forward(request, response); + //request.getRequestDispatcher("/home/login.html").forward(request, response); + response.sendRedirect(request.getContextPath() + "/home/login.html"); } } Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/SecurityServiceImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/SecurityServiceImpl.java?rev=954703&r1=954702&r2=954703&view=diff ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/SecurityServiceImpl.java (original) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/SecurityServiceImpl.java Tue Jun 15 04:38:42 2010 @@ -59,30 +59,23 @@ public class SecurityServiceImpl extends @Override public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException { response.setContentType("text/html"); - + PrintWriter out = response.getWriter(); StringBuffer sb = new StringBuffer(); - if ("getUserInfo".equalsIgnoreCase(request.getParameter("request"))) { + if ("getUserInfo".equalsIgnoreCase(request.getParameter("request")) && (request.getSession().getAttribute("accessList") != null && !request.getSession().getAttribute("accessList").equals(""))) { AccessList accessList = (AccessList) request.getSession().getAttribute("accessList"); String userId = accessList.getUserId(); - User user; - user = accessManager.getUser(userId); - UserInfo userInfo = user.getUserInfo(); + StringBuffer ssb = createJSONUser(request); if (accessManager.isUserStoredInRole(userId, "registeredUserRole")) { request.getSession().setAttribute("toRigester", "false"); - /* sb.append("userId="+ userId); - sb.append(",displayName=" + userInfo.getDisplayName()); - sb.append(",email=" + userInfo.getEmail()); - sb.append(",realName=" + userInfo.getRealName()); - sb.append(",webSite=" + userInfo.getWebsite());*/ - sb.append("registered,").append(userId).append(",").append(userInfo.getRealName()).append(",").append(userInfo.getDisplayName()).append(",").append(userInfo.getEmail()).append(",").append(userInfo.getWebsite()); + sb.append("{registered:'true'," + ssb + "}"); + // response.sendRedirect(request.getContextPath() + "/admin/upload.html"); } else { - /*sb.append("userId="+ userId); - sb.append(",unRegistered=false");*/ - sb.append("unRegistered,").append(userId).append(",").append(userInfo.getRealName()).append(",").append(userInfo.getDisplayName()).append(",").append(userInfo.getEmail()).append(",").append(userInfo.getWebsite()); - } + sb.append("{registered:'false'," + ssb + "}"); + } + send(out, sb); } else if ("setUserInfo".equalsIgnoreCase(request.getParameter("request"))) { AccessList accessList = (AccessList) request.getSession().getAttribute("accessList"); String userId = accessList.getUserId(); @@ -105,46 +98,55 @@ public class SecurityServiceImpl extends sb.append("OK"); //sb.append(",unRegistered=false"); } + send(out, sb); } else if ("getUser".equalsIgnoreCase(request.getParameter("request"))) { - if (request.getSession().getAttribute("accessList") != null && request.getSession().getAttribute("accessList") != "") { + sb.append("{" + createJSONUser(request) + "}"); + send(out, sb); + } else { + response.sendRedirect(request.getContextPath() + "/home/authenticate"); + } + + + } + + private void send(PrintWriter out, StringBuffer sb) { + out.write(sb.toString()); + out.flush(); + out.close(); + } - AccessList accessList = (AccessList) request.getSession().getAttribute("accessList"); + private StringBuffer createJSONUser(HttpServletRequest request) { + StringBuffer sb = new StringBuffer(); + if (request.getSession().getAttribute("accessList") != null && request.getSession().getAttribute("accessList") != "") { + + AccessList accessList = (AccessList) request.getSession().getAttribute("accessList"); - String userId = accessList.getUserId(); - if(userId.equals("SuperAdmin")){ + String userId = accessList.getUserId(); + if (userId.equals("SuperAdmin")) { - sb.append("{user:{userId:'" + userId + + sb.append("user:{userId:'" + userId + "',userInfo:{realName:'" + - "',displayName:'"+userId + + "',displayName:'" + userId + "',email:'" + - "',website:'" + "'}}}"); + "',website:'" + "'}}"); - } else{ - User user; + } else { + User user; user = accessManager.getUser(userId); UserInfo userInfo = user.getUserInfo(); - /* sb.append("userId="+ userId); - sb.append(",displayName=" + userInfo.getDisplayName()); - sb.append(",email=" + userInfo.getEmail()); - sb.append(",realName=" + userInfo.getRealName()); - sb.append(",webSite=" + userInfo.getWebsite());*/ - sb.append("{user:{userId:'" + userId + + + sb.append("user:{userId:'" + userId + "',userInfo:{realName:'" + userInfo.getRealName() + "',displayName:'" + userInfo.getDisplayName() + "',email:'" + userInfo.getEmail() + - "',website:'" + userInfo.getWebsite() + "'}}}"); - } + "',website:'" + userInfo.getWebsite() + "'}}"); + } - }else{ - sb.append("{user:{userId:'null'}}"); - } + } else { + sb.append("user:{userId:'null'}"); } - PrintWriter out = response.getWriter(); - out.write(sb.toString()); - out.flush(); - out.close(); - + return sb; } } Modified: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/error.html URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/src/main/webapp/home/error.html?rev=954703&r1=954702&r2=954703&view=diff ============================================================================== --- incubator/photark/trunk/photark-ui-security/src/main/webapp/home/error.html (original) +++ incubator/photark/trunk/photark-ui-security/src/main/webapp/home/error.html Tue Jun 15 04:38:42 2010 @@ -52,7 +52,7 @@ <div style="clear:both"></div> <div style="color:red;font-size:1.4em">&nbsp; Your openid could not be resolved.</div> <p>Login with your <span style="color:orange">openid</span></p> - <form method="POST"> + <form method="POST" action="authenticate"> <input id="openid_identifier" name="openid_identifier" type="text" size=80/> <input class="btn" type="submit" value="send"/> </form> Modified: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/login.html URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/src/main/webapp/home/login.html?rev=954703&r1=954702&r2=954703&view=diff ============================================================================== --- incubator/photark/trunk/photark-ui-security/src/main/webapp/home/login.html (original) +++ incubator/photark/trunk/photark-ui-security/src/main/webapp/home/login.html Tue Jun 15 04:38:42 2010 @@ -52,7 +52,7 @@ <div style="clear:both"></div> <!-- <div style="color:red;font-size:1.4em">&nbsp; Your openid could not be resolved.</div>--> <p>Login with your <span style="color:orange">openid</span></p> - <form method="POST"> + <form method="POST" action="authenticate"> <input id="openid_identifier" name="openid_identifier" type="text" size=80/> <input class="btn" type="submit" value="send"/> </form> Modified: incubator/photark/trunk/photark-ui-security/src/main/webapp/home/registration.html URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui-security/src/main/webapp/home/registration.html?rev=954703&r1=954702&r2=954703&view=diff ============================================================================== --- incubator/photark/trunk/photark-ui-security/src/main/webapp/home/registration.html (original) +++ incubator/photark/trunk/photark-ui-security/src/main/webapp/home/registration.html Tue Jun 15 04:38:42 2010 @@ -26,44 +26,38 @@ <script type="text/javascript"> - dojo.addOnLoad(function() { - // dojo.require("dojo.rpc.JsonService"); - dojo.require("dojo._base.xhr"); - }); - function populateInfo() { dojo.xhrPost({ url:"../security", //photark.constants.SecurityEndpoint, content:{request:"getUserInfo"}, - handleAs: "text", + sync:true, + handleAs: "json", load: function(response, ioArgs) { - setUserInfo(response); + if (response.registered == "false" && response.user.userId != "null" && response.user.userId != "SuperAdmin") { + document.getElementById('userId').innerHTML = "" + response.user.userId; + document.getElementById('realName').value = response.user.userInfo.realName; + document.getElementById('displayName').value = response.user.userInfo.displayName; + document.getElementById('email').value = response.user.userInfo.email; + document.getElementById('webSite').value = response.user.userInfo.website; + } else { + window.location = "/photark/home/authenticate"; + } }, error: function(response, ioArgs) { console.error("Error in getting user info"); + logout(); } }); } - function setUserInfo(response) { - var array = new Array(); - array = response.split(','); - document.getElementById('userId').innerHTML = "" + array[1]; - if (array[0] != null && array[0] == "unRegistered") { - document.getElementById('realName').value = array[2]; - document.getElementById('displayName').value = array[3]; - document.getElementById('email').value = array[4]; - document.getElementById('webSite').value = array[5]; - } else { - window.location = "/photark/admin/upload.html"; - } - - } - function init() { try { - populateInfo(); + dojo.addOnLoad(function() { + dojo.require("dojo._base.xhr"); + populateInfo(); + }); + } catch (e) { alert(e); } @@ -80,14 +74,11 @@ } } - function trimAll(sString) - { - while (sString.substring(0, 1) == ' ') - { + function trimAll(sString) { + while (sString.substring(0, 1) == ' ') { sString = sString.substring(1, sString.length); } - while (sString.substring(sString.length - 1, sString.length) == ' ') - { + while (sString.substring(sString.length - 1, sString.length) == ' ') { sString = sString.substring(0, sString.length - 1); } return sString; @@ -103,31 +94,31 @@ webSite:document.getElementById('webSite').value}, handleAs: "text", load: function(response, ioArgs) { - if(response=="OK"){ - window.location = "/photark/admin/upload.html" - } + if (response == "OK") { + window.location = "/photark/home/authenticate" + } }, error: function(response, ioArgs) { console.error("Error in getting user info"); - logout(); + logout(); } }); } - function logout(){ - window.location = "../logout"; + function logout() { + window.location = "../logout"; } </script> <style type="text/css"> - #container { - padding: 1em; - } - - #container p { - font-size: 1.2em; - font-family: Tahoma,Verdana; - } + #container { + padding: 1em; + } + + #container p { + font-size: 1.2em; + font-family: Tahoma, Verdana; + } </style> @@ -138,9 +129,9 @@ <div id="container" style="margin-left:5px"> -<div style="float:right;width:50%;font-size:0.7em;text-align:right;"> - <div><span><a href="../logout">Gallery</a></span></div> -</div> + <div style="float:right;width:50%;font-size:0.7em;text-align:right;"> + <div><span><a href="../logout">Gallery</a></span></div> + </div> <p>Get <span style="color:orange">registered</span> with PhotArk</p> @@ -175,14 +166,14 @@ <input id="webSite" type="text" name="webSite" size="35"/> </label></td> </tr> - <tr> + <tr> </tr> <tr> <td> </td> <td> - <button id="submit" type="button" onclick="save()" style="margin-right:5px">Register</button> + <button id="submit" type="button" onclick="save()" style="margin-right:5px">Register</button> <button id="cancel" type="button" onclick="logout()">Cancel</button> </td> </tr> Modified: incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.xml?rev=954703&r1=954702&r2=954703&view=diff ============================================================================== --- incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.xml (original) +++ incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.xml Tue Jun 15 04:38:42 2010 @@ -73,7 +73,7 @@ </error-page> <filter> - <filter-name>login-filter</filter-name> + <filter-name>authorization-filter</filter-name> <filter-class>org.apache.photark.security.authentication.AuthorizationFilter</filter-class> <description>This Filter authorizes user access to application components based upon request URI.</description> @@ -84,39 +84,8 @@ </filter> <filter-mapping> - <filter-name>login-filter</filter-name> + <filter-name>authorization-filter</filter-name> <url-pattern>/admin/upload.html</url-pattern> </filter-mapping> - - <filter> - <filter-name>registration-filter</filter-name> - <filter-class>org.apache.photark.security.authentication.RegistrationFilter</filter-class> - <description>This Filter registers the unregistered user.</description> - <init-param> - <param-name>redirect_page</param-name> - <param-value>/admin/upload.html</param-value> - </init-param> - </filter> - - <filter-mapping> - <filter-name>registration-filter</filter-name> - <url-pattern>/home/registration.html</url-pattern> - </filter-mapping> - - <filter> - <filter-name>openid-filter</filter-name> - <filter-class>com.dyuproject.openid.OpenIdServletFilter</filter-class> - <load-on-startup>1</load-on-startup> - <init-param> - <param-name>forwardUri</param-name> - <param-value>/login.html</param-value> - </init-param> - </filter> - - <filter-mapping> - <filter-name>openid-filter</filter-name> - <url-pattern>/home/login.html</url-pattern> - <url-pattern>/home/error.html</url-pattern> - </filter-mapping> </web-app> From [email protected] Sun Jun 27 02:39:28 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20461 invoked from network); 27 Jun 2010 02:39:28 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 27 Jun 2010 02:39:28 -0000 Received: (qmail 64867 invoked by uid 500); 27 Jun 2010 02:39:28 -0000 Delivered-To: [email protected] Received: (qmail 64840 invoked by uid 500); 27 Jun 2010 02:39:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <photark-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 64832 invoked by uid 99); 27 Jun 2010 02:39:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jun 2010 02:39:26 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jun 2010 02:39:13 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 58B46238890A; Sun, 27 Jun 2010 02:38:20 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r958317 - in /incubator/photark/trunk: ./ photark-jcr/src/main/java/org/apache/photark/jcr/ photark-jcr/src/main/java/org/apache/photark/jcr/services/ photark-search/ photark-search/src/ photark-search/src/main/ photark-search/src/main/java... Date: Sun, 27 Jun 2010 02:38:20 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: lresende Date: Sun Jun 27 02:38:18 2010 New Revision: 958317 URL: http://svn.apache.org/viewvc?rev=958317&view=rev Log: PHOTARK-28 - Applying three patches from Phillipe Ramalho as part of GSoC project Added: incubator/photark/trunk/photark-search/ incubator/photark/trunk/photark-search/DISCLAIMER (with props) incubator/photark/trunk/photark-search/LICENSE (with props) incubator/photark/trunk/photark-search/NOTICE (with props) incubator/photark/trunk/photark-search/pom.xml (with props) incubator/photark/trunk/photark-search/src/ incubator/photark/trunk/photark-search/src/main/ incubator/photark/trunk/photark-search/src/main/java/ incubator/photark/trunk/photark-search/src/main/java/org/ incubator/photark/trunk/photark-search/src/main/java/org/apache/ incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/ incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/ incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/services/ incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/services/SearchService.java (with props) incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/services/impl/ incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/services/impl/SearchServiceImpl.java (with props) incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/services/impl/TagAnalyzer.java (with props) incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/services/impl/TagTokenizer.java (with props) incubator/photark/trunk/photark-search/src/main/resources/ incubator/photark/trunk/photark-search/src/main/resources/META-INF/ incubator/photark/trunk/photark-search/src/main/resources/META-INF/sca-contribution.xml (with props) incubator/photark/trunk/photark/src/main/java/org/apache/photark/services/gallery/GalleryListener.java (with props) Modified: incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/JCRRepositoryManager.java incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRGalleryImpl.java incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRImageUploadServiceImpl.java incubator/photark/trunk/photark-ui/src/main/webapp/gallery.html incubator/photark/trunk/photark-ui/src/main/webapp/js/constants.js incubator/photark/trunk/photark-ui/src/main/webapp/js/gallery.js incubator/photark/trunk/photark-webapp/pom.xml incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.composite incubator/photark/trunk/photark/src/main/java/org/apache/photark/Image.java incubator/photark/trunk/photark/src/main/java/org/apache/photark/ImageMetadata.java incubator/photark/trunk/photark/src/main/java/org/apache/photark/services/gallery/BaseGalleryImpl.java incubator/photark/trunk/photark/src/main/java/org/apache/photark/services/gallery/Gallery.java incubator/photark/trunk/pom.xml Modified: incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/JCRRepositoryManager.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/JCRRepositoryManager.java?rev=958317&r1=958316&r2=958317&view=diff ============================================================================== --- incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/JCRRepositoryManager.java (original) +++ incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/JCRRepositoryManager.java Sun Jun 27 02:38:18 2010 @@ -49,7 +49,6 @@ public class JCRRepositoryManager { /**Default Name of the repository home directory */ private final String REPO_HOME_DEFAULT = "photark"; - @Property(name="repositoryHome", required=true) private String repositoryHome; /** JCR Repository **/ private static Repository repository; @@ -82,7 +81,11 @@ public class JCRRepositoryManager { @Destroy public void destroy() { logger.log(Level.INFO,"Shutting down JCR repository"); - session.logout(); + + if (session != null) { + session.logout(); + } + session = null; repository = null; } Modified: incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRGalleryImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRGalleryImpl.java?rev=958317&r1=958316&r2=958317&view=diff ============================================================================== --- incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRGalleryImpl.java (original) +++ incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRGalleryImpl.java Sun Jun 27 02:38:18 2010 @@ -21,6 +21,7 @@ package org.apache.photark.jcr.services; import java.io.File; import java.net.URL; +import java.util.GregorianCalendar; import java.util.logging.Logger; import javax.jcr.Node; @@ -28,6 +29,7 @@ import javax.jcr.NodeIterator; import javax.jcr.RepositoryException; import javax.jcr.Session; +import org.apache.photark.Image; import org.apache.photark.jcr.JCRRepositoryManager; import org.apache.photark.services.album.Album; import org.apache.photark.services.gallery.BaseGalleryImpl; @@ -88,6 +90,18 @@ public class JCRGalleryImpl extends Base } initialized = true; + Album[] albums = getAlbums(); + + for (Album album : albums) { + String[] pictures = album.getPictures(); + + + for (String picture : pictures) { + imageAdded(album.getName(), new Image(picture, new GregorianCalendar().getTime(), null)); + } + + } + } private void getAlbumsFromJcrRepository() { Modified: incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRImageUploadServiceImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRImageUploadServiceImpl.java?rev=958317&r1=958316&r2=958317&view=diff ============================================================================== --- incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRImageUploadServiceImpl.java (original) +++ incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRImageUploadServiceImpl.java Sun Jun 27 02:38:18 2010 @@ -237,6 +237,9 @@ public class JCRImageUploadServiceImpl e Album album = new JCRAlbumImpl(repositoryManager, albumName); album.addPicture(image); album.setDescription(albumDescription); + + this.gallery.imageAdded(albumName, image); + } /** Added: incubator/photark/trunk/photark-search/DISCLAIMER URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-search/DISCLAIMER?rev=958317&view=auto ============================================================================== --- incubator/photark/trunk/photark-search/DISCLAIMER (added) +++ incubator/photark/trunk/photark-search/DISCLAIMER Sun Jun 27 02:38:18 2010 @@ -0,0 +1,7 @@ +Apache PhotArk is an effort undergoing incubation at The Apache Software +Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is +required of all newly accepted projects until a further review indicates that +the infrastructure, communications, and decision making process have stabilized +in a manner consistent with other successful ASF projects. While incubation +status is not necessarily a reflection of the completeness or stability of the +code, it does indicate that the project has yet to be fully endorsed by the ASF. \ No newline at end of file Propchange: incubator/photark/trunk/photark-search/DISCLAIMER ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/trunk/photark-search/DISCLAIMER ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: incubator/photark/trunk/photark-search/LICENSE URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-search/LICENSE?rev=958317&view=auto ============================================================================== --- incubator/photark/trunk/photark-search/LICENSE (added) +++ incubator/photark/trunk/photark-search/LICENSE Sun Jun 27 02:38:18 2010 @@ -0,0 +1,205 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + + Propchange: incubator/photark/trunk/photark-search/LICENSE ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/trunk/photark-search/LICENSE ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: incubator/photark/trunk/photark-search/NOTICE URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-search/NOTICE?rev=958317&view=auto ============================================================================== --- incubator/photark/trunk/photark-search/NOTICE (added) +++ incubator/photark/trunk/photark-search/NOTICE Sun Jun 27 02:38:18 2010 @@ -0,0 +1,6 @@ +${pom.name} +Copyright (c) 2008 - 2009 The Apache Software Foundation + +This product includes software developed by +The Apache Software Foundation (http://www.apache.org/). + Propchange: incubator/photark/trunk/photark-search/NOTICE ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/trunk/photark-search/NOTICE ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: incubator/photark/trunk/photark-search/pom.xml URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-search/pom.xml?rev=958317&view=auto ============================================================================== --- incubator/photark/trunk/photark-search/pom.xml (added) +++ incubator/photark/trunk/photark-search/pom.xml Sun Jun 27 02:38:18 2010 @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="UTF-8"?> + <!-- + * Licensed to the Apache Software Foundation (ASF) under one * or more + contributor license agreements. See the NOTICE file * distributed with + this work for additional information * regarding copyright ownership. + The ASF licenses this file * to you under the Apache License, Version + 2.0 (the * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * * + http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by + applicable law or agreed to in writing, * software distributed under + the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES + OR CONDITIONS OF ANY * KIND, either express or implied. See the + License for the * specific language governing permissions and + limitations * under the License. + --> +<project> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.apache.photark</groupId> + <artifactId>photark-parent</artifactId> + <version>1.0-incubating-SNAPSHOT</version> + <relativePath>../pom.xml</relativePath> + </parent> + <artifactId>photark-search</artifactId> + <name>Apache PhotArk Search Services</name> + + <dependencies> + <dependency> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-sca-api</artifactId> + <version>${tuscany.version}</version> + </dependency> + + <dependency> + <groupId>org.apache.photark</groupId> + <artifactId>photark</artifactId> + <version>1.0-incubating-SNAPSHOT</version> + </dependency> + + <dependency> + <groupId>org.apache.lucene</groupId> + <artifactId>lucene-core</artifactId> + <version>2.4.1</version> + + </dependency> + + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.8.1</version> + <scope>test</scope> + </dependency> + + </dependencies> + + <build> + <finalName>${artifactId}</finalName> + </build> + +</project> Propchange: incubator/photark/trunk/photark-search/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/trunk/photark-search/pom.xml ------------------------------------------------------------------------------ svn:keywords = Rev Date Propchange: incubator/photark/trunk/photark-search/pom.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/services/SearchService.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/services/SearchService.java?rev=958317&view=auto ============================================================================== --- incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/services/SearchService.java (added) +++ incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/services/SearchService.java Sun Jun 27 02:38:18 2010 @@ -0,0 +1,13 @@ +package org.apache.photark.search.services; + +import org.apache.photark.services.gallery.GalleryListener; +import org.oasisopen.sca.annotation.Remotable; + +@Remotable +public interface SearchService extends GalleryListener { + + void clear(); + + String[] search(String queryString); + +} Propchange: incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/services/SearchService.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/services/SearchService.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/services/impl/SearchServiceImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/services/impl/SearchServiceImpl.java?rev=958317&view=auto ============================================================================== --- incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/services/impl/SearchServiceImpl.java (added) +++ incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/services/impl/SearchServiceImpl.java Sun Jun 27 02:38:18 2010 @@ -0,0 +1,200 @@ +package org.apache.photark.search.services.impl; + +import java.io.File; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashSet; +import java.util.Set; + +import org.apache.lucene.analysis.Analyzer; +import org.apache.lucene.document.DateTools; +import org.apache.lucene.document.Document; +import org.apache.lucene.document.Field; +import org.apache.lucene.document.DateTools.Resolution; +import org.apache.lucene.document.Field.Index; +import org.apache.lucene.document.Field.Store; +import org.apache.lucene.index.IndexWriter; +import org.apache.lucene.index.Term; +import org.apache.lucene.index.IndexWriter.MaxFieldLength; +import org.apache.lucene.queryParser.ParseException; +import org.apache.lucene.queryParser.QueryParser; +import org.apache.lucene.search.IndexSearcher; +import org.apache.lucene.search.MatchAllDocsQuery; +import org.apache.lucene.search.Query; +import org.apache.lucene.search.ScoreDoc; +import org.apache.lucene.search.TopDocs; +import org.apache.lucene.store.FSDirectory; +import org.apache.photark.Image; +import org.apache.photark.ImageMetadata; +import org.apache.photark.search.services.SearchService; +import org.oasisopen.sca.annotation.AllowsPassByReference; +import org.oasisopen.sca.annotation.Destroy; +import org.oasisopen.sca.annotation.Init; +import org.oasisopen.sca.annotation.Property; +import org.oasisopen.sca.annotation.Scope; + +// TODO: review actions when index is corrupted +public class SearchServiceImpl implements SearchService { + + // TODO: a more dynamic way to specify field configuration should be + // implemented + // later + final static public String IMAGE_NAME_FIELD = "name"; + + final static public String IMAGE_ALBUM_FIELD = "album"; + + final static public String IMAGE_DATE_POSTED_FIELD = "date_posted"; + + final static private Set<String> INDEXED_METADATA = new HashSet<String>(); + + static { + Collections.addAll(INDEXED_METADATA, + "XResolution", + "YResolution", + "Date Time", + "Date Time Original", + "GPS Latitude Ref", + "GPS Latitude", + "GPS Longitude Ref", + "GPS Longitude"); + } + + final private Analyzer defaultAnalyzer = new TagAnalyzer(); + + private IndexWriter indexWriter; + + private IndexSearcher indexSearcher; + + private QueryParser queryParser = new QueryParser("tag", this.defaultAnalyzer); + { + this.queryParser.setAllowLeadingWildcard(true); + } + + @Property + public String indexDirectoryPath; + + @Init + public void init() throws IOException { + FSDirectory dir = FSDirectory.getDirectory(new File(this.indexDirectoryPath)); + this.indexWriter = new IndexWriter(dir, this.defaultAnalyzer, MaxFieldLength.UNLIMITED); + this.indexSearcher = new IndexSearcher(dir); + + } + + public void clear() { + + try { + this.indexWriter.deleteDocuments(new MatchAllDocsQuery()); + + } catch (IOException e) { + // create a new exception type for this + throw new RuntimeException(e); + } + + } + + public String[] search(String queryString) { + + try { + Query query = this.queryParser.parse(queryString); + TopDocs topDocs = this.indexSearcher.search(query, 100); + + if (topDocs.scoreDocs.length > 0) { + ArrayList<String> pictureNames = new ArrayList<String>(topDocs.scoreDocs.length); + + for (ScoreDoc scoreDoc : topDocs.scoreDocs) { + Document doc = this.indexSearcher.doc(scoreDoc.doc); + pictureNames.add(doc.get(IMAGE_ALBUM_FIELD) + '/' + doc.get(IMAGE_NAME_FIELD)); + } + + return pictureNames.toArray(new String[0]); + + } + + } catch (ParseException e) { + throw new RuntimeException("could not parse query: " + queryString, e); + + } catch (IOException e) { + throw new RuntimeException(e); + } + + return new String[0]; + + } + + @AllowsPassByReference + public void imageAdded(String albumName, Image image) { + + try { + Term idTerm = getImageIDTerm(albumName, image); + Document doc = createDocument(idTerm, albumName, image); + this.indexWriter.updateDocument(idTerm, doc); + + this.indexWriter.commit(); + + } catch (Exception e) { + // create a new exception type for this + throw new RuntimeException(e); + } + + } + + private Document createDocument(Term id, String albumName, Image image) { + Document doc = new Document(); + + doc.add(new Field(id.field(), id.text(), Store.YES, Index.NOT_ANALYZED)); + doc.add(new Field(IMAGE_ALBUM_FIELD, albumName, Store.YES, Index.ANALYZED)); + doc.add(new Field(IMAGE_NAME_FIELD, image.getName(), Store.YES, Index.ANALYZED)); + doc.add(new Field(IMAGE_DATE_POSTED_FIELD, DateTools.timeToString(image.getDatePosted().getTime(), + Resolution.MINUTE), Store.YES, + Index.NOT_ANALYZED)); + +// for (ImageMetadata metadata : image.getImageMetadata()) { +// +// if (INDEXED_METADATA.contains(metadata.getKey())) { +// +// // TODO: the field should be extracted from a configuration map +// // instead of using the original metadata key +// doc.add(new Field(metadata.getKey().replace(" ", "_"), metadata.getValue(), Store.YES, +// Index.NOT_ANALYZED)); +// +// } +// +// } + + return doc; + + } + + @AllowsPassByReference + public void imageRemoved(String albumName, Image image) { + try { + this.indexWriter.deleteDocuments(getImageIDTerm(albumName, image)); + + } catch (Exception e) { + // TODO: create a new exception type for this + throw new RuntimeException(e); + } + } + + @Destroy + public void destroy() { + + try { + this.indexSearcher.close(); + } catch (IOException e) { + } + + try { + this.indexWriter.close(); + } catch (Exception e) { + } + + } + + private static Term getImageIDTerm(String albumName, Image image) { + return new Term("id", albumName + '/' + image.getName()); + } + +} Propchange: incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/services/impl/SearchServiceImpl.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/services/impl/SearchServiceImpl.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/services/impl/TagAnalyzer.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/services/impl/TagAnalyzer.java?rev=958317&view=auto ============================================================================== --- incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/services/impl/TagAnalyzer.java (added) +++ incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/services/impl/TagAnalyzer.java Sun Jun 27 02:38:18 2010 @@ -0,0 +1,47 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.photark.search.services.impl; + +import java.io.IOException; +import java.io.Reader; + +import org.apache.lucene.analysis.Analyzer; +import org.apache.lucene.analysis.TokenStream; +import org.apache.lucene.analysis.Tokenizer; + +/** + * @version $Rev$ $Date$ + */ +public class TagAnalyzer extends Analyzer { + + public TokenStream tokenStream(String fieldName, Reader reader) { + return new TagTokenizer(reader); + } + + public TokenStream reusableTokenStream(String fieldName, Reader reader) throws IOException { + Tokenizer tokenizer = (Tokenizer)getPreviousTokenStream(); + if (tokenizer == null) { + tokenizer = new TagTokenizer(reader); + setPreviousTokenStream(tokenizer); + } else + tokenizer.reset(reader); + return tokenizer; + } + +} Propchange: incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/services/impl/TagAnalyzer.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/services/impl/TagAnalyzer.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/services/impl/TagTokenizer.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/services/impl/TagTokenizer.java?rev=958317&view=auto ============================================================================== --- incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/services/impl/TagTokenizer.java (added) +++ incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/services/impl/TagTokenizer.java Sun Jun 27 02:38:18 2010 @@ -0,0 +1,149 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.photark.search.services.impl; + +import java.io.IOException; +import java.io.Reader; + +import org.apache.lucene.analysis.Token; +import org.apache.lucene.analysis.Tokenizer; + +/** + * @version $Rev$ $Date$ + */ +public class TagTokenizer extends Tokenizer { + + private int offset = 0, bufferIndex = 0, dataLen = 0; + private static final int MAX_WORD_LEN = 255; + private static final int IO_BUFFER_SIZE = 4096; + private final char[] ioBuffer = new char[IO_BUFFER_SIZE]; + + public TagTokenizer(Reader reader) { + super(reader); + } + + @Override + public Token next(Token reusableToken) throws IOException { + reusableToken.clear(); + + int length = 0; + int start = bufferIndex; + char[] buffer = reusableToken.termBuffer(); + + boolean lowercaseCharFound = false; + boolean digitFound = false; + + while (true) { + + if (bufferIndex >= dataLen) { + offset += dataLen; + int incr; + + if (lowercaseCharFound || length == 0) { + incr = 0; + + } else { + incr = 2; + ioBuffer[0] = ioBuffer[bufferIndex - 1]; + ioBuffer[1] = ioBuffer[bufferIndex]; + + } + + dataLen = input.read(ioBuffer, incr, ioBuffer.length - incr); + if (dataLen == -1) { + if (length > 0) + break; + else + return null; + } + bufferIndex = incr; + dataLen += incr; + + } + + final char c = ioBuffer[bufferIndex++]; + boolean breakChar = true; + + if (Character.isDigit(c)) { + + if (digitFound || length == 0) { + breakChar = false; + digitFound = true; + + } else { + bufferIndex--; + } + + // TODO: normalize accent, it does not index accents for now + } else if (c >= 65 && c <= 90 || c >= 97 && c <= 122) { + + if (digitFound) { + bufferIndex--; + + } else if (Character.isLowerCase(c)) { + + if (!(lowercaseCharFound || length <= 1)) { + length--; + bufferIndex -= 2; + + } else { + lowercaseCharFound = true; + breakChar = false; + + } + + } else if (!lowercaseCharFound) { // && uppercase + breakChar = false; + + } else { + bufferIndex--; + } + + } + + if (!breakChar) { + + if (length == 0) // start of token + start = offset + bufferIndex - 1; + else if (length == buffer.length) + buffer = reusableToken.resizeTermBuffer(1 + length); + + buffer[length++] = Character.toLowerCase(c); // buffer it, + // normalized + + if (length == MAX_WORD_LEN) // buffer overflow! + break; + + } else if (length > 0) {// at non-Letter w/ chars + + break; // return 'em + + } + + } + + reusableToken.setTermLength(length); + reusableToken.setStartOffset(start); + reusableToken.setEndOffset(start + length); + + return reusableToken; + + } + +} Propchange: incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/services/impl/TagTokenizer.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/trunk/photark-search/src/main/java/org/apache/photark/search/services/impl/TagTokenizer.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: incubator/photark/trunk/photark-search/src/main/resources/META-INF/sca-contribution.xml URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-search/src/main/resources/META-INF/sca-contribution.xml?rev=958317&view=auto ============================================================================== --- incubator/photark/trunk/photark-search/src/main/resources/META-INF/sca-contribution.xml (added) +++ incubator/photark/trunk/photark-search/src/main/resources/META-INF/sca-contribution.xml Sun Jun 27 02:38:18 2010 @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +--> +<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" + xmlns:photark="http://org.apache.photoark"> + <export.java package="org.apache.photark.search.services"/> +</contribution> Propchange: incubator/photark/trunk/photark-search/src/main/resources/META-INF/sca-contribution.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/trunk/photark-search/src/main/resources/META-INF/sca-contribution.xml ------------------------------------------------------------------------------ svn:keywords = Rev Date Propchange: incubator/photark/trunk/photark-search/src/main/resources/META-INF/sca-contribution.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Modified: incubator/photark/trunk/photark-ui/src/main/webapp/gallery.html URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui/src/main/webapp/gallery.html?rev=958317&r1=958316&r2=958317&view=diff ============================================================================== --- incubator/photark/trunk/photark-ui/src/main/webapp/gallery.html (original) +++ incubator/photark/trunk/photark-ui/src/main/webapp/gallery.html Sun Jun 27 02:38:18 2010 @@ -33,6 +33,7 @@ <body onload="initGallery()"> <div style="float:right;width:50%;font-size:1em;text-align:right;"> <div>&nbsp;</div> + <span><input id="search-input" type="text" value="" size="20" alt="search"/><input type="button" onclick="search();" value="Search"/></span> <div id="loginLinks"><span><a href="./admin/authenticate"><u>Super admin</u></a></span>&nbsp;&nbsp;<span><a href="./home/authenticate"><u>Login</u></a></span>&nbsp;&nbsp;<span><a href="./logout/"><u>Logout</u></a></span></div> </div> <div style="clear:both"></div> @@ -47,6 +48,12 @@ cellspacing="0" cellpadding="1"> </table> </div> + + <div id="search" style="display:none;visibility:hidden;"> + <table id='tableSearch' style="margin-left:auto; margin-right:auto;width:720px;" border="0" + cellspacing="0" cellpadding="1"> + </table> + </div> <div id="album" style="display:none;visibility:hidden;"> <table style="margin-left:auto; margin-right:auto; height:54px;" cellspacing="0" cellpadding="0" border="0"> Modified: incubator/photark/trunk/photark-ui/src/main/webapp/js/constants.js URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui/src/main/webapp/js/constants.js?rev=958317&r1=958316&r2=958317&view=diff ============================================================================== --- incubator/photark/trunk/photark-ui/src/main/webapp/js/constants.js (original) +++ incubator/photark/trunk/photark-ui/src/main/webapp/js/constants.js Sun Jun 27 02:38:18 2010 @@ -30,6 +30,7 @@ photark.constants.adminContextRoot = "/p photark.constants.GalleryServiceEndpoint = photark.constants.contextRoot + "GalleryService?smd"; +photark.constants.SearchServiceEndpoint = photark.constants.contextRoot + "SearchService?smd"; //photark.constants.SecurityEndpoint = photark.constants.contextRoot + "Security?smd"; photark.constants.UploadEndpoint = photark.constants.adminContextRoot + "upload"; Modified: incubator/photark/trunk/photark-ui/src/main/webapp/js/gallery.js URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-ui/src/main/webapp/js/gallery.js?rev=958317&r1=958316&r2=958317&view=diff ============================================================================== --- incubator/photark/trunk/photark-ui/src/main/webapp/js/gallery.js (original) +++ incubator/photark/trunk/photark-ui/src/main/webapp/js/gallery.js Sun Jun 27 02:38:18 2010 @@ -31,6 +31,7 @@ var show_slide_slow = new Image(31,31); var show_slide_slow_on = new Image(31,31); show_slide_slow_on.src = "images/show_slide_slow_on.gif"; var gallery; +var searchService; var galleryName; var galleryAlbums; var albumCovers = new Array(); @@ -50,14 +51,12 @@ dojo.addOnLoad(function() { }); function initServices(){ + searchService = new dojo.rpc.JsonService( photark.constants.SearchServiceEndpoint ); gallery = new dojo.rpc.JsonService( photark.constants.GalleryServiceEndpoint ); } function initGallery() { try { - if( !gallery) { - gallery = new dojo.rpc.JsonService( photark.constants.GalleryServiceEndpoint ); - } gallery.getAlbums().addCallback(gallery_getAlbumsResponse); } catch(exception) { alert(exception); @@ -117,6 +116,43 @@ function gallery_getAlbumCoverResponse(c } } +function searchResponse(items, exception){ + + if(exception) { + alert(exception.msg); + return; + } + + var table=document.getElementById('tableSearch'); + deleteTableRows(table); + var lastRow = 0;//table.rows.length; + for (i = 0; i < items.length; i++) { + var row = table.insertRow(lastRow++); + var column = row.insertCell(0); + + var img = document.createElement("img"); + img.src = ""; + //img.class = "slideImage"; + img.alt = items[i]; + var a = document.createElement("a"); + a.href = window.location.href + "gallery/" + items[i]; + a.appendChild(img); + column.appendChild(a); + row = table.insertRow(lastRow++); + column = row.insertCell(0) + column.innerHTML = "<img src=\"images/space.gif\" class=\"slideImage\" width=\"10\" height=\"10\" ondragstart=\"return false\" onselectstart=\"return false\" oncontextmenu=\"return false\" galleryimg=\"no\" usemap=\"#imagemap\" alt=\"\">"; + } + + displaySearchResults(); + +} + +function deleteTableRows(table) { + while (table.rows.length > 0) { + table.deleteRow(0); + } +} + function initializeGallery() { var table=document.getElementById('tableGallery'); var lastRow = table.rows.length; @@ -150,6 +186,13 @@ function initializeGallery() { function displayGallery() { setVisibility('gallery',true); setVisibility('album',false); + setVisibility('search',false); +} + +function displaySearchResults() { + setVisibility('search',true); + setVisibility('gallery',false); + setVisibility('album',false); } function initializeAlbum(albumName) { @@ -182,6 +225,7 @@ function showAlbum() { function displayAlbum() { setVisibility('gallery',false); setVisibility('album',true); + setVisibility('search',false); } function showImage(albumPos) { @@ -260,6 +304,11 @@ function beforeClick(){ document.show.src=slide_before_start.src; } +function search(){ + var query = document.getElementById("search-input").value; + searchService.search(query).addCallback(searchResponse); +} + function onSlideShow(){ if(slideShowSpeed==0){ document.show.src=show_slide_slow_on.src; Modified: incubator/photark/trunk/photark-webapp/pom.xml URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-webapp/pom.xml?rev=958317&r1=958316&r2=958317&view=diff ============================================================================== --- incubator/photark/trunk/photark-webapp/pom.xml (original) +++ incubator/photark/trunk/photark-webapp/pom.xml Sun Jun 27 02:38:18 2010 @@ -38,6 +38,12 @@ <dependency> <groupId>org.apache.photark</groupId> + <artifactId>photark-search</artifactId> + <version>1.0-incubating-SNAPSHOT</version> + </dependency> + + <dependency> + <groupId>org.apache.photark</groupId> <artifactId>photark-jcr</artifactId> <version>1.0-incubating-SNAPSHOT</version> <!-- Modified: incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.composite URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.composite?rev=958317&r1=958316&r2=958317&view=diff ============================================================================== --- incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.composite (original) +++ incubator/photark/trunk/photark-webapp/src/main/webapp/WEB-INF/web.composite Sun Jun 27 02:38:18 2010 @@ -32,6 +32,7 @@ <tuscany:binding.jsonrpc uri="/GalleryService"/> </service> <reference name="repositoryManager" target="RepositoryManager"/> + <reference name="listeners" target="SearchService"/> </component> <!-- Component responsible for providing REST access to images --> @@ -112,4 +113,18 @@ </service> <reference name="repositoryManager" target="RepositoryManager"/> </component> + + <!-- Component responsible for indexing and searching images --> + <component name="SearchService"> + <implementation.java class="org.apache.photark.search.services.impl.SearchServiceImpl"/> + <property name="indexDirectoryPath">search-index</property> + + <service name="SearchService"> + <interface.java interface="org.apache.photark.search.services.SearchService"/> + <binding.sca name="local"/> + <tuscany:binding.jsonrpc uri="/SearchService"/> + </service> + + </component> + </composite> Modified: incubator/photark/trunk/photark/src/main/java/org/apache/photark/Image.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark/src/main/java/org/apache/photark/Image.java?rev=958317&r1=958316&r2=958317&view=diff ============================================================================== --- incubator/photark/trunk/photark/src/main/java/org/apache/photark/Image.java (original) +++ incubator/photark/trunk/photark/src/main/java/org/apache/photark/Image.java Sun Jun 27 02:38:18 2010 @@ -22,6 +22,7 @@ package org.apache.photark; import java.io.File; import java.io.FileInputStream; import java.io.InputStream; +import java.io.Serializable; import java.util.Date; import java.util.List; @@ -30,12 +31,19 @@ import org.apache.photark.util.ImageMeta /** * Model representing an album image */ -public class Image { +public class Image implements Serializable { + + private static final long serialVersionUID = 2681872730283844321L; + private String imageName; private Date datePosted; - private InputStream imageStream; + private transient InputStream imageStream; private List<ImageMetadata> imageAttributes; + + public Image() { + + } /** * Constructor Modified: incubator/photark/trunk/photark/src/main/java/org/apache/photark/ImageMetadata.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark/src/main/java/org/apache/photark/ImageMetadata.java?rev=958317&r1=958316&r2=958317&view=diff ============================================================================== --- incubator/photark/trunk/photark/src/main/java/org/apache/photark/ImageMetadata.java (original) +++ incubator/photark/trunk/photark/src/main/java/org/apache/photark/ImageMetadata.java Sun Jun 27 02:38:18 2010 @@ -19,13 +19,18 @@ package org.apache.photark; +import java.io.Serializable; + import org.apache.sanselan.formats.tiff.constants.ExifTagConstants; /** * Represent a EXIF Metatada attribute/value from * It implements the ExifTagConstants from Sanselan to leverage it's sxit field contants */ -public class ImageMetadata implements ExifTagConstants { +public class ImageMetadata implements ExifTagConstants, Serializable { + + private static final long serialVersionUID = 3921637285554039788L; + private String key; private String value; Modified: incubator/photark/trunk/photark/src/main/java/org/apache/photark/services/gallery/BaseGalleryImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark/src/main/java/org/apache/photark/services/gallery/BaseGalleryImpl.java?rev=958317&r1=958316&r2=958317&view=diff ============================================================================== --- incubator/photark/trunk/photark/src/main/java/org/apache/photark/services/gallery/BaseGalleryImpl.java (original) +++ incubator/photark/trunk/photark/src/main/java/org/apache/photark/services/gallery/BaseGalleryImpl.java Sun Jun 27 02:38:18 2010 @@ -23,12 +23,18 @@ import java.util.ArrayList; import java.util.List; import java.util.logging.Logger; +import org.apache.photark.Image; import org.apache.photark.services.album.Album; +import org.oasisopen.sca.annotation.AllowsPassByReference; import org.oasisopen.sca.annotation.Property; +import org.oasisopen.sca.annotation.Reference; public abstract class BaseGalleryImpl { private static final Logger logger = Logger.getLogger(BaseGalleryImpl.class.getName()); - + + @Reference(required = false) + public GalleryListener listeners; + protected String name; private String location; protected boolean initialized; @@ -53,9 +59,9 @@ public abstract class BaseGalleryImpl { this.name = name; } - //public void addAlbum(Album album) { + // public void addAlbum(Album album) { // - //} + // } public Album[] getAlbums() { if (!initialized) { @@ -111,4 +117,33 @@ public abstract class BaseGalleryImpl { private String getLocation() { return location; } + + @AllowsPassByReference + public void imageAdded(String albumName, Image image) { + + if (this.listeners != null) { + +// for (GalleryListener listener : listeners) { +// listener.imageAdded(image); +// } + listeners.imageAdded(albumName, image); + + } + + } + + @AllowsPassByReference + public void imageRemoved(String albumName, Image image) { + + if (this.listeners != null) { + +// for (GalleryListener listener : listeners) { +// listener.imageRemoved(image); +// } + listeners.imageRemoved(albumName, image); + + } + + } + } Modified: incubator/photark/trunk/photark/src/main/java/org/apache/photark/services/gallery/Gallery.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark/src/main/java/org/apache/photark/services/gallery/Gallery.java?rev=958317&r1=958316&r2=958317&view=diff ============================================================================== --- incubator/photark/trunk/photark/src/main/java/org/apache/photark/services/gallery/Gallery.java (original) +++ incubator/photark/trunk/photark/src/main/java/org/apache/photark/services/gallery/Gallery.java Sun Jun 27 02:38:18 2010 @@ -22,7 +22,7 @@ import org.apache.photark.services.album import org.oasisopen.sca.annotation.Remotable; @Remotable -public interface Gallery { +public interface Gallery extends GalleryListener { String getName(); Added: incubator/photark/trunk/photark/src/main/java/org/apache/photark/services/gallery/GalleryListener.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark/src/main/java/org/apache/photark/services/gallery/GalleryListener.java?rev=958317&view=auto ============================================================================== --- incubator/photark/trunk/photark/src/main/java/org/apache/photark/services/gallery/GalleryListener.java (added) +++ incubator/photark/trunk/photark/src/main/java/org/apache/photark/services/gallery/GalleryListener.java Sun Jun 27 02:38:18 2010 @@ -0,0 +1,13 @@ +package org.apache.photark.services.gallery; + +import org.apache.photark.Image; +import org.oasisopen.sca.annotation.Remotable; + +@Remotable +public interface GalleryListener { + + void imageAdded(String albumName, Image image); + + void imageRemoved(String albumName, Image image); + +} Propchange: incubator/photark/trunk/photark/src/main/java/org/apache/photark/services/gallery/GalleryListener.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/trunk/photark/src/main/java/org/apache/photark/services/gallery/GalleryListener.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Modified: incubator/photark/trunk/pom.xml URL: http://svn.apache.org/viewvc/incubator/photark/trunk/pom.xml?rev=958317&r1=958316&r2=958317&view=diff ============================================================================== --- incubator/photark/trunk/pom.xml (original) +++ incubator/photark/trunk/pom.xml Sun Jun 27 02:38:18 2010 @@ -195,6 +195,7 @@ <module>photark-security</module> <module>photark-filesystem</module> <module>photark-jcr</module> + <module>photark-search</module> <module>photark-ui</module> <module>photark-ui-admin</module> <module>photark-ui-security</module> @@ -214,6 +215,7 @@ <module>photark-security</module> <module>photark-filesystem</module> <module>photark-jcr</module> + <module>photark-search</module> <module>photark-ui</module> <module>photark-ui-admin</module> <module>photark-ui-security</module> @@ -233,6 +235,7 @@ <module>photark-security</module> <module>photark-filesystem</module> <module>photark-jcr</module> + <module>photark-search</module> <module>photark-ui</module> <module>photark-ui-admin</module> <module>photark-ui-security</module> From [email protected] Tue Jun 29 03:00:17 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89327 invoked from network); 29 Jun 2010 03:00:17 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 29 Jun 2010 03:00:17 -0000 Received: (qmail 16993 invoked by uid 500); 29 Jun 2010 03:00:17 -0000 Delivered-To: [email protected] Received: (qmail 16964 invoked by uid 500); 29 Jun 2010 03:00:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <photark-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 16956 invoked by uid 99); 29 Jun 2010 03:00:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jun 2010 03:00:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jun 2010 03:00:10 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A0511238897A; Tue, 29 Jun 2010 02:58:46 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r958807 - in /incubator/photark/branches/photark-rest: ./ photark-flickr/ photark-flickr/src/ photark-flickr/src/main/ photark-flickr/src/main/java/ photark-flickr/src/main/java/org/ photark-flickr/src/main/java/org/apache/ photark-flickr/s... Date: Tue, 29 Jun 2010 02:58:46 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: lresende Date: Tue Jun 29 02:58:45 2010 New Revision: 958807 URL: http://svn.apache.org/viewvc?rev=958807&view=rev Log: PHOTARK-19 - Applying patch from Luis Fernando that provides initial support for Flickr album subscriptions Added: incubator/photark/branches/photark-rest/photark-flickr/ incubator/photark/branches/photark-rest/photark-flickr/DISCLAIMER (with props) incubator/photark/branches/photark-rest/photark-flickr/LICENSE (with props) incubator/photark/branches/photark-rest/photark-flickr/NOTICE (with props) incubator/photark/branches/photark-rest/photark-flickr/pom.xml (with props) incubator/photark/branches/photark-rest/photark-flickr/src/ incubator/photark/branches/photark-rest/photark-flickr/src/main/ incubator/photark/branches/photark-rest/photark-flickr/src/main/java/ incubator/photark/branches/photark-rest/photark-flickr/src/main/java/org/ incubator/photark/branches/photark-rest/photark-flickr/src/main/java/org/apache/ incubator/photark/branches/photark-rest/photark-flickr/src/main/java/org/apache/photark/ incubator/photark/branches/photark-rest/photark-flickr/src/main/java/org/apache/photark/album/ incubator/photark/branches/photark-rest/photark-flickr/src/main/java/org/apache/photark/album/flickr/ incubator/photark/branches/photark-rest/photark-flickr/src/main/java/org/apache/photark/album/flickr/FlickrAlbumImpl.java (with props) incubator/photark/branches/photark-rest/photark-flickr/src/main/java/org/apache/photark/album/flickr/FlickrPhotoStream.java (with props) incubator/photark/branches/photark-rest/photark-flickr/src/main/resources/ incubator/photark/branches/photark-rest/photark-flickr/src/main/resources/META-INF/ incubator/photark/branches/photark-rest/photark-flickr/src/main/resources/META-INF/sca-contribution.xml (with props) incubator/photark/branches/photark-rest/photark-flickr/src/test/ incubator/photark/branches/photark-rest/photark-flickr/src/test/java/ incubator/photark/branches/photark-rest/photark-flickr/src/test/java/org/ incubator/photark/branches/photark-rest/photark-flickr/src/test/java/org/apache/ incubator/photark/branches/photark-rest/photark-flickr/src/test/java/org/apache/photark/ incubator/photark/branches/photark-rest/photark-flickr/src/test/java/org/apache/photark/album/ incubator/photark/branches/photark-rest/photark-flickr/src/test/java/org/apache/photark/album/flickr/ incubator/photark/branches/photark-rest/photark-flickr/src/test/java/org/apache/photark/album/flickr/FlickrSubscriptionTestCase.java (with props) incubator/photark/branches/photark-rest/photark-flickr/src/test/resources/ Modified: incubator/photark/branches/photark-rest/pom.xml Added: incubator/photark/branches/photark-rest/photark-flickr/DISCLAIMER URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-flickr/DISCLAIMER?rev=958807&view=auto ============================================================================== --- incubator/photark/branches/photark-rest/photark-flickr/DISCLAIMER (added) +++ incubator/photark/branches/photark-rest/photark-flickr/DISCLAIMER Tue Jun 29 02:58:45 2010 @@ -0,0 +1,7 @@ +Apache PhotArk is an effort undergoing incubation at The Apache Software +Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is +required of all newly accepted projects until a further review indicates that +the infrastructure, communications, and decision making process have stabilized +in a manner consistent with other successful ASF projects. While incubation +status is not necessarily a reflection of the completeness or stability of the +code, it does indicate that the project has yet to be fully endorsed by the ASF. \ No newline at end of file Propchange: incubator/photark/branches/photark-rest/photark-flickr/DISCLAIMER ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/branches/photark-rest/photark-flickr/DISCLAIMER ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: incubator/photark/branches/photark-rest/photark-flickr/LICENSE URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-flickr/LICENSE?rev=958807&view=auto ============================================================================== --- incubator/photark/branches/photark-rest/photark-flickr/LICENSE (added) +++ incubator/photark/branches/photark-rest/photark-flickr/LICENSE Tue Jun 29 02:58:45 2010 @@ -0,0 +1,205 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + + Propchange: incubator/photark/branches/photark-rest/photark-flickr/LICENSE ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/branches/photark-rest/photark-flickr/LICENSE ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: incubator/photark/branches/photark-rest/photark-flickr/NOTICE URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-flickr/NOTICE?rev=958807&view=auto ============================================================================== --- incubator/photark/branches/photark-rest/photark-flickr/NOTICE (added) +++ incubator/photark/branches/photark-rest/photark-flickr/NOTICE Tue Jun 29 02:58:45 2010 @@ -0,0 +1,6 @@ +${pom.name} +Copyright (c) 2008 - 2009 The Apache Software Foundation + +This product includes software developed by +The Apache Software Foundation (http://www.apache.org/). + Propchange: incubator/photark/branches/photark-rest/photark-flickr/NOTICE ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/branches/photark-rest/photark-flickr/NOTICE ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: incubator/photark/branches/photark-rest/photark-flickr/pom.xml URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-flickr/pom.xml?rev=958807&view=auto ============================================================================== --- incubator/photark/branches/photark-rest/photark-flickr/pom.xml (added) +++ incubator/photark/branches/photark-rest/photark-flickr/pom.xml Tue Jun 29 02:58:45 2010 @@ -0,0 +1,115 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +--> +<project> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.apache.photark</groupId> + <artifactId>photark-parent</artifactId> + <version>1.0-incubating-SNAPSHOT</version> + <relativePath>../pom.xml</relativePath> + </parent> + <artifactId>photark-flickr</artifactId> + <name>Apache PhotArk Flickr Photo Album Subscription</name> + + <dependencies> + <dependency> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-sca-api</artifactId> + <version>${tuscany.version}</version> + </dependency> + + <dependency> + <groupId>org.apache.photark</groupId> + <artifactId>photark</artifactId> + <version>1.0-incubating-SNAPSHOT</version> + </dependency> + + <dependency> + <groupId>org.apache.abdera</groupId> + <artifactId>abdera-core</artifactId> + <version>1.0</version> + <exclusions> + <exclusion> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-activation_1.0.2_spec</artifactId> + </exclusion> + </exclusions> + </dependency> + + <dependency> + <groupId>org.apache.abdera</groupId> + <artifactId>abdera-parser</artifactId> + <version>1.0</version> + <!-- exclusions> + <exclusion> + <groupId>stax</groupId> + <artifactId>stax-api</artifactId> + </exclusion> + <exclusion> + <groupId>xom</groupId> + <artifactId>xom</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.ws.commons.axiom</groupId> + <artifactId>axiom-impl</artifactId> + </exclusion> + </exclusions--> + </dependency> + + <dependency> + <groupId>org.apache.abdera</groupId> + <artifactId>abdera-client</artifactId> + <version>1.0</version> + </dependency> + + <dependency> + <groupId>org.apache.abdera</groupId> + <artifactId>abdera-extensions-main</artifactId> + <version>1.0</version> + </dependency> + + <dependency> + <groupId>org.apache.abdera</groupId> + <artifactId>abdera-extensions-json</artifactId> + <version>1.0</version> + </dependency> + + <!-- marking dependency as provided to exclude from war file --> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>servlet-api</artifactId> + <version>2.5</version> + <scope>provided</scope> + </dependency> + + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.8.1</version> + <scope>test</scope> + </dependency> + + </dependencies> + + <build> + <finalName>${artifactId}</finalName> + </build> + +</project> Propchange: incubator/photark/branches/photark-rest/photark-flickr/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/branches/photark-rest/photark-flickr/pom.xml ------------------------------------------------------------------------------ svn:keywords = Rev Date Propchange: incubator/photark/branches/photark-rest/photark-flickr/pom.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: incubator/photark/branches/photark-rest/photark-flickr/src/main/java/org/apache/photark/album/flickr/FlickrAlbumImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-flickr/src/main/java/org/apache/photark/album/flickr/FlickrAlbumImpl.java?rev=958807&view=auto ============================================================================== --- incubator/photark/branches/photark-rest/photark-flickr/src/main/java/org/apache/photark/album/flickr/FlickrAlbumImpl.java (added) +++ incubator/photark/branches/photark-rest/photark-flickr/src/main/java/org/apache/photark/album/flickr/FlickrAlbumImpl.java Tue Jun 29 02:58:45 2010 @@ -0,0 +1,81 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.photark.album.flickr; + +import java.io.File; +import java.util.ArrayList; +import java.util.List; + +import org.apache.photark.Image; +import org.apache.photark.services.album.Album; +import org.apache.photark.services.album.ImageFilter; +import org.oasisopen.sca.annotation.Init; +import org.oasisopen.sca.annotation.Property; + +public class FlickrAlbumImpl implements org.apache.photark.services.album.Album { + + public void addPicture(Image picture) { + throw new UnsupportedOperationException("Can't upload image to Album subscription"); + } + + public void deletePicture(Image picture) { + throw new UnsupportedOperationException("Can't upload image to Album subscription"); + } + + public void deletePicture(String picture) { + throw new UnsupportedOperationException("Can't upload image to Album subscription"); + } + + public String getDescription() { + // TODO Auto-generated method stub + return null; + } + + public String getLocation() { + // TODO Auto-generated method stub + return null; + } + + public String getName() { + // TODO Auto-generated method stub + return null; + } + + public String[] getPictures() { + // TODO Auto-generated method stub + return null; + } + + public void setDescription(String description) { + // TODO Auto-generated method stub + + } + + public void setLocation(String location) { + // TODO Auto-generated method stub + + } + + public void setName(String name) { + // TODO Auto-generated method stub + + } + +} Propchange: incubator/photark/branches/photark-rest/photark-flickr/src/main/java/org/apache/photark/album/flickr/FlickrAlbumImpl.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/branches/photark-rest/photark-flickr/src/main/java/org/apache/photark/album/flickr/FlickrAlbumImpl.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: incubator/photark/branches/photark-rest/photark-flickr/src/main/java/org/apache/photark/album/flickr/FlickrPhotoStream.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-flickr/src/main/java/org/apache/photark/album/flickr/FlickrPhotoStream.java?rev=958807&view=auto ============================================================================== --- incubator/photark/branches/photark-rest/photark-flickr/src/main/java/org/apache/photark/album/flickr/FlickrPhotoStream.java (added) +++ incubator/photark/branches/photark-rest/photark-flickr/src/main/java/org/apache/photark/album/flickr/FlickrPhotoStream.java Tue Jun 29 02:58:45 2010 @@ -0,0 +1,104 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.photark.album.flickr; + +import java.io.IOException; +import java.io.InputStreamReader; + +import javax.xml.ws.http.HTTPException; + +import org.apache.abdera.Abdera; +import org.apache.abdera.factory.Factory; +import org.apache.abdera.model.Document; +import org.apache.abdera.parser.Parser; +import org.apache.commons.httpclient.HttpClient; +import org.apache.commons.httpclient.HttpConnectionManager; +import org.apache.commons.httpclient.MultiThreadedHttpConnectionManager; +import org.apache.commons.httpclient.methods.GetMethod; +import org.apache.photark.Image; +import org.apache.tuscany.sca.data.collection.Collection; +import org.apache.tuscany.sca.data.collection.Entry; +import org.apache.tuscany.sca.data.collection.NotFoundException; + +public class FlickrPhotoStream implements Collection<String, Image> { + private static final Factory abderaFactory = Abdera.getNewFactory(); + private static final Parser abderaParser = Abdera.getNewParser(); + + private HttpClient httpClient; + private String feedURI; + + public FlickrPhotoStream(String feedURI) { + this.feedURI = feedURI; + + // Create an HTTP client + HttpConnectionManager connectionManager = new MultiThreadedHttpConnectionManager(); + connectionManager.getParams().setDefaultMaxConnectionsPerHost(10); + connectionManager.getParams().setConnectionTimeout(60000); + httpClient = new HttpClient(connectionManager); + + } + + public Entry<String, Image>[] getAll() { + GetMethod getMethod = new GetMethod(feedURI); + + try { + httpClient.executeMethod(getMethod); + int status = getMethod.getStatusCode(); + + // Read the Atom entry + if (status == 200) { + Document<org.apache.abdera.model.Entry> doc = abderaParser.parse(new InputStreamReader(getMethod.getResponseBodyAsStream())); + org.apache.abdera.model.Entry feedEntry = doc.getRoot(); + } else if (status == 404) { + // handle not found + } else { + // handle error + } + } catch (IOException ioe) { + ioe.printStackTrace(); + } catch (HTTPException he) { + he.printStackTrace(); + } + + return null; + } + + public Image get(String key) throws NotFoundException { + return null; + } + + + public String post(String arg0, Image arg1) { + throw new java.lang.UnsupportedOperationException("Operation not supported in Remote Subscriptions"); + } + + public void put(String arg0, Image arg1) throws NotFoundException { + throw new java.lang.UnsupportedOperationException("Operation not supported in Remote Subscriptions"); + } + + public void delete(String arg0) throws NotFoundException { + throw new java.lang.UnsupportedOperationException("Operation not supported in Remote Subscriptions"); + } + + public Entry<String, Image>[] query(String arg0) { + throw new java.lang.UnsupportedOperationException("Operation not supported in Remote Subscriptions"); + } + +} Propchange: incubator/photark/branches/photark-rest/photark-flickr/src/main/java/org/apache/photark/album/flickr/FlickrPhotoStream.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/branches/photark-rest/photark-flickr/src/main/java/org/apache/photark/album/flickr/FlickrPhotoStream.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: incubator/photark/branches/photark-rest/photark-flickr/src/main/resources/META-INF/sca-contribution.xml URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-flickr/src/main/resources/META-INF/sca-contribution.xml?rev=958807&view=auto ============================================================================== --- incubator/photark/branches/photark-rest/photark-flickr/src/main/resources/META-INF/sca-contribution.xml (added) +++ incubator/photark/branches/photark-rest/photark-flickr/src/main/resources/META-INF/sca-contribution.xml Tue Jun 29 02:58:45 2010 @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +--> +<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" + xmlns:photark="http://org.apache.photoark"> + <export.java package="org.apache.photark.services.album"/> + <export.java package="org.apache.photark.services.gallery"/> +</contribution> \ No newline at end of file Propchange: incubator/photark/branches/photark-rest/photark-flickr/src/main/resources/META-INF/sca-contribution.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/branches/photark-rest/photark-flickr/src/main/resources/META-INF/sca-contribution.xml ------------------------------------------------------------------------------ svn:keywords = Rev Date Propchange: incubator/photark/branches/photark-rest/photark-flickr/src/main/resources/META-INF/sca-contribution.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: incubator/photark/branches/photark-rest/photark-flickr/src/test/java/org/apache/photark/album/flickr/FlickrSubscriptionTestCase.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-flickr/src/test/java/org/apache/photark/album/flickr/FlickrSubscriptionTestCase.java?rev=958807&view=auto ============================================================================== --- incubator/photark/branches/photark-rest/photark-flickr/src/test/java/org/apache/photark/album/flickr/FlickrSubscriptionTestCase.java (added) +++ incubator/photark/branches/photark-rest/photark-flickr/src/test/java/org/apache/photark/album/flickr/FlickrSubscriptionTestCase.java Tue Jun 29 02:58:45 2010 @@ -0,0 +1,43 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.photark.album.flickr; + +import org.apache.photark.Image; +import org.apache.tuscany.sca.data.collection.Entry; +import org.junit.BeforeClass; +import org.junit.Test; + +public class FlickrSubscriptionTestCase { + private static FlickrPhotoStream photoStream; + + @BeforeClass + public static void BeforeClass() { + photoStream = new FlickrPhotoStream("http://api.flickr.com/services/feeds/photos_public.gne?id=24662369@N07&lang=en-us&format=atom"); + } + + @Test + public void testDiscoverAlbums() { + Entry<String, Image>[] images = photoStream.getAll(); + + for(Entry<String, Image> image : images) { + System.out.println(">>>" + image.getData().getName()); + } + } +} Propchange: incubator/photark/branches/photark-rest/photark-flickr/src/test/java/org/apache/photark/album/flickr/FlickrSubscriptionTestCase.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/branches/photark-rest/photark-flickr/src/test/java/org/apache/photark/album/flickr/FlickrSubscriptionTestCase.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Modified: incubator/photark/branches/photark-rest/pom.xml URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/pom.xml?rev=958807&r1=958806&r2=958807&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/pom.xml (original) +++ incubator/photark/branches/photark-rest/pom.xml Tue Jun 29 02:58:45 2010 @@ -89,7 +89,7 @@ <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> - <tuscany.version>2.0-SNAPSHOT</tuscany.version> + <tuscany.version>2.0-M5</tuscany.version> </properties> @@ -210,7 +210,8 @@ </activation> <modules> <module>photark</module> - <module>photark-filesystem</module> + <module>photark-filesystem</module> + <module>photark-flickr</module> <module>photark-jcr</module> <module>photark-security</module> <module>photark-ui</module> From [email protected] Tue Jun 29 03:02:16 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90389 invoked from network); 29 Jun 2010 03:02:16 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 29 Jun 2010 03:02:16 -0000 Received: (qmail 18659 invoked by uid 500); 29 Jun 2010 03:02:16 -0000 Delivered-To: [email protected] Received: (qmail 18635 invoked by uid 500); 29 Jun 2010 03:02:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <photark-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 18625 invoked by uid 99); 29 Jun 2010 03:02:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jun 2010 03:02:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jun 2010 03:02:11 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A8121238897A; Tue, 29 Jun 2010 03:00:47 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r958808 - in /incubator/photark/branches/photark-rest: photark-jcr/ photark-jcr/src/main/java/org/apache/photark/services/jcr/ photark-jcr/src/test/java/org/apache/photark/services/jcr/ photark-jcr/src/test/resources/ photark/ photark/src/m... Date: Tue, 29 Jun 2010 03:00:47 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: lresende Date: Tue Jun 29 03:00:47 2010 New Revision: 958808 URL: http://svn.apache.org/viewvc?rev=958808&view=rev Log: PHOTARK-51 - Applying patch from Luis Fernando that provides support for managing album subscriptions and it's storage within the JCR repository Added: incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/JCRSubscriptionCollection.java (with props) incubator/photark/branches/photark-rest/photark-jcr/src/test/java/org/apache/photark/services/jcr/JCRSubscriptionCollectionTestCase.java (with props) incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Subscription.java (with props) incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/SubscriptionCollection.java (with props) Modified: incubator/photark/branches/photark-rest/photark-jcr/pom.xml incubator/photark/branches/photark-rest/photark-jcr/src/test/resources/gallery.composite incubator/photark/branches/photark-rest/photark/pom.xml Modified: incubator/photark/branches/photark-rest/photark-jcr/pom.xml URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-jcr/pom.xml?rev=958808&r1=958807&r2=958808&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark-jcr/pom.xml (original) +++ incubator/photark/branches/photark-rest/photark-jcr/pom.xml Tue Jun 29 03:00:47 2010 @@ -110,7 +110,21 @@ <version>2.5</version> <scope>provided</scope> </dependency> - + + <dependency> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-node-api</artifactId> + <version>${tuscany.version}</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-node-impl</artifactId> + <version>${tuscany.version}</version> + <scope>test</scope> + </dependency> + <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> Added: incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/JCRSubscriptionCollection.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/JCRSubscriptionCollection.java?rev=958808&view=auto ============================================================================== --- incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/JCRSubscriptionCollection.java (added) +++ incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/JCRSubscriptionCollection.java Tue Jun 29 03:00:47 2010 @@ -0,0 +1,237 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.photark.services.jcr; + +import java.util.HashMap; +import java.util.Map; +import java.util.UUID; +import java.util.logging.Level; +import java.util.logging.Logger; + +import javax.jcr.Node; +import javax.jcr.NodeIterator; +import javax.jcr.RepositoryException; +import javax.jcr.Session; + +import org.apache.photark.Subscription; +import org.apache.photark.services.SubscriptionCollection; +import org.apache.tuscany.sca.data.collection.Entry; +import org.apache.tuscany.sca.data.collection.NotFoundException; +import org.oasisopen.sca.annotation.Destroy; +import org.oasisopen.sca.annotation.Init; +import org.oasisopen.sca.annotation.Reference; +import org.oasisopen.sca.annotation.Scope; +import org.oasisopen.sca.annotation.Service; + +/** + * Collection representing all subscriptions either local (e.g fileSystem) or remote (e.g Flickr, Picasa, etc) + * This also serves as a intermediary cache, as it removes the requirement to read from the repository every single time + * + * @version $Rev$ $Date$ + */ +@Scope("COMPOSITE") +@Service(SubscriptionCollection.class) +public class JCRSubscriptionCollection implements SubscriptionCollection { + private static final Logger logger = Logger.getLogger(JCRSubscriptionCollection.class.getName()); + + private JCRRepositoryManager repositoryManager; + + private Map<String, Subscription> subscriptions = new HashMap<String, Subscription>(); + + public JCRSubscriptionCollection() { + + } + + @Reference(name="repositoryManager") + protected void setRepositoryManager(JCRRepositoryManager repositoryManager) { + this.repositoryManager = repositoryManager; + } + + @Init + public void init() { + try { + Session session = repositoryManager.getSession(); + Node rootNode = getSubscriptionRootNode(session); + NodeIterator subscriptionNodes = rootNode.getNodes(); + while (subscriptionNodes.hasNext()) { + Node subscriptionNode = subscriptionNodes.nextNode(); + if (subscriptionNode.getPath().equals("/jcr:system")) { + continue; + } + + Subscription subscription = fromNode(subscriptionNode); + if (!subscriptions.containsKey(subscription.getTitle())) { + subscriptions.put(subscription.getTitle(),subscription); + } + } + + } catch (Exception e) { + logger.log(Level.FINE,"Error initializing Subscription Collection: " + e.getMessage(), e); + e.printStackTrace(); + } + } + + @Destroy + public void destroy() { + + } + + public Entry<String, Subscription>[] getAll() { + Entry<String, Subscription>[] entries = new Entry[subscriptions.size()]; + int i = 0; + for (Map.Entry<String, Subscription> e: subscriptions.entrySet()) { + entries[i++] = new Entry<String, Subscription>(e.getKey(), e.getValue()); + } + return entries; + } + + public Subscription get(String key) throws NotFoundException { + Subscription subscription = subscriptions.get(key); + if (subscription == null) { + throw new NotFoundException(key); + } else { + return subscription; + } + + } + + public String post(String key, Subscription subscription) { + if (subscription.getTitle() == null && subscription.getTitle().length() == 0) { + key = "subscription-" + UUID.randomUUID().toString(); + subscription.setTitle(key); + } + + try { + Session session = repositoryManager.getSession(); + Node rootNode = getSubscriptionRootNode(session); + if (rootNode.hasNode(key)) { + logger.info("This subscription is already in gallery"); + return key; + } + + // save the new subscription to the jcr + Node subscriptionNode = rootNode.addNode(key); + fromSubscription(subscriptionNode, subscription); + session.save(); + + // add the new subscription to the subscription Map + subscriptions.put(key, subscription); + } catch (RepositoryException e) { + logger.log(Level.FINE,"Error adding new subscription : " + e.getMessage(), e); + e.printStackTrace(); + } + + return key; + } + + public void put(String key, Subscription subscription) throws NotFoundException { + try { + Session session = repositoryManager.getSession(); + Node rootNode = getSubscriptionRootNode(session); + if (! rootNode.hasNode(key)) { + throw new NotFoundException("Subscription not found:" + key); + } + + // save the subscription to the jcr + Node subscriptionNode = rootNode.getNode(key); + fromSubscription(subscriptionNode, subscription); + session.save(); + + // update the new subscription to the subscription Map + subscriptions.put(key, subscription); + } catch (RepositoryException e) { + logger.log(Level.FINE,"Error updating new subscription : " + e.getMessage(), e); + e.printStackTrace(); + } + } + + public void delete(String key) throws NotFoundException { + try { + Session session = repositoryManager.getSession(); + Node rootNode = getSubscriptionRootNode(session); + if (! rootNode.hasNode(key)) { + throw new NotFoundException("Subscription not found:" + key); + } + + // remove the subscription from the jcr + Node subscriptionNode = rootNode.getNode(key); + subscriptionNode.remove(); + session.save(); + + subscriptions.remove(key); + + } catch (RepositoryException e) { + logger.log(Level.FINE,"Error removing new subscription : " + e.getMessage(), e); + e.printStackTrace(); + } + } + + public Entry<String, Subscription>[] query(String query) { + throw new UnsupportedOperationException("Not implemented"); + } + + + /** + * Utility methods + */ + + + + /** + * + * @return + * @throws RepositoryException + */ + private Node getSubscriptionRootNode(Session session) throws RepositoryException { + Node rootNode = null; + try { + rootNode = session.getRootNode().getNode("subscriptions"); + } catch (javax.jcr.PathNotFoundException pnf) { + rootNode = session.getRootNode().addNode("subscriptions"); + } + + return rootNode; + } + + private Subscription fromNode(Node subscriptionNode) { + Subscription subscription = null; + try { + subscription = new Subscription(); + subscription.setTitle(subscriptionNode.getProperty("title").getValue().toString()); + subscription.setType(subscriptionNode.getProperty("type").getValue().toString()); + subscription.setUrl(subscriptionNode.getProperty("url").getValue().toString()); + } catch(Exception e) { + logger.log(Level.WARNING, "Can't read subscription node :" + e.getMessage(), e); + } + + return subscription; + } + + private void fromSubscription(Node subscriptionNode, Subscription subscription) { + try { + subscriptionNode.setProperty("title", subscription.getTitle()); + subscriptionNode.setProperty("type", subscription.getType()); + subscriptionNode.setProperty("url", subscription.getUrl()); + } catch(Exception e) { + logger.log(Level.WARNING, "Can't save subscription node :" + e.getMessage(), e); + } + } + +} Propchange: incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/JCRSubscriptionCollection.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/branches/photark-rest/photark-jcr/src/main/java/org/apache/photark/services/jcr/JCRSubscriptionCollection.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: incubator/photark/branches/photark-rest/photark-jcr/src/test/java/org/apache/photark/services/jcr/JCRSubscriptionCollectionTestCase.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-jcr/src/test/java/org/apache/photark/services/jcr/JCRSubscriptionCollectionTestCase.java?rev=958808&view=auto ============================================================================== --- incubator/photark/branches/photark-rest/photark-jcr/src/test/java/org/apache/photark/services/jcr/JCRSubscriptionCollectionTestCase.java (added) +++ incubator/photark/branches/photark-rest/photark-jcr/src/test/java/org/apache/photark/services/jcr/JCRSubscriptionCollectionTestCase.java Tue Jun 29 03:00:47 2010 @@ -0,0 +1,92 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.photark.services.jcr; + +import junit.framework.Assert; + +import org.apache.photark.Subscription; +import org.apache.photark.services.SubscriptionCollection; +import org.apache.tuscany.sca.data.collection.NotFoundException; +import org.apache.tuscany.sca.node.Contribution; +import org.apache.tuscany.sca.node.ContributionLocationHelper; +import org.apache.tuscany.sca.node.Node; +import org.apache.tuscany.sca.node.NodeFactory; +import org.junit.AfterClass; +import org.junit.BeforeClass; +import org.junit.Test; + +public class JCRSubscriptionCollectionTestCase { + private static Node node; + private static SubscriptionCollection subscriptions; + + @BeforeClass + public static void BeforeClass() { + try { + String contribution = ContributionLocationHelper.getContributionLocation("gallery.composite"); + node = NodeFactory.newInstance().createNode("gallery.composite", new Contribution("gallery", contribution)); + node.start(); + + subscriptions = node.getService(SubscriptionCollection.class, "SubscriptionComponent"); + } catch (Exception e) { + e.printStackTrace(); + } + } + + @AfterClass + public static void AfterClass() { + node.stop(); + } + + @Test + public void testAddSubscription() throws Exception { + Subscription subscription = new Subscription(); + subscription.setTitle("Test 01"); + subscription.setType("flickr"); + subscription.setUrl("http://api.flickr.com/services/feeds/photos_public.gne?id=24662369@N07&lang=en-us&format=atom"); + + subscriptions.post(subscription.getTitle(), subscription); + + subscriptions.getAll(); + } + + @Test + public void testUpdateSubscription() throws Exception { + Subscription subscription = new Subscription(); + subscription.setTitle("Test 02"); + subscription.setType("flickr"); + subscription.setUrl("http://localhost/xxx"); + + try { + subscriptions.get(subscription.getTitle()); + } catch(NotFoundException nf) { + subscriptions.delete(subscription.getTitle()); + } + + subscriptions.post(subscription.getTitle(), subscription); + + subscription.setUrl("http://api.flickr.com/services/feeds/photos_public.gne?id=24662369@N07&lang=en-us&format=atom"); + + subscriptions.post(subscription.getTitle(), subscription); + + Subscription subscritionRead = subscriptions.get(subscription.getTitle()); + + Assert.assertEquals(subscription.getTitle(), subscritionRead.getTitle()); + } +} Propchange: incubator/photark/branches/photark-rest/photark-jcr/src/test/java/org/apache/photark/services/jcr/JCRSubscriptionCollectionTestCase.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/branches/photark-rest/photark-jcr/src/test/java/org/apache/photark/services/jcr/JCRSubscriptionCollectionTestCase.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Modified: incubator/photark/branches/photark-rest/photark-jcr/src/test/resources/gallery.composite URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-jcr/src/test/resources/gallery.composite?rev=958808&r1=958807&r2=958808&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark-jcr/src/test/resources/gallery.composite (original) +++ incubator/photark/branches/photark-rest/photark-jcr/src/test/resources/gallery.composite Tue Jun 29 03:00:47 2010 @@ -21,8 +21,20 @@ xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1" targetNamespace="http://org.apache.photoark" name="gallery"> - - <component name="Gallery"> + + <!-- Component responsible for providing JCR Management Support --> + <component name="RepositoryManager"> + <implementation.java class="org.apache.photark.services.jcr.JCRRepositoryManager"/> + <property name="repositoryHome">photark</property> + </component> + + <component name="SubscriptionComponent"> + <implementation.java class="org.apache.photark.services.jcr.JCRSubscriptionCollection"/> + <reference name="repositoryManager" target="RepositoryManager"/> + </component> + + <!-- + <component name="GalleryComponent"> <implementation.java class="org.apache.photark.services.jcr.JCRGallery"/> <property name="galleryRoot">gallery-root</property> <service name="GalleryService"> @@ -31,4 +43,5 @@ </tuscany:binding.rest> </service> </component> + --> </composite> Modified: incubator/photark/branches/photark-rest/photark/pom.xml URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark/pom.xml?rev=958808&r1=958807&r2=958808&view=diff ============================================================================== --- incubator/photark/branches/photark-rest/photark/pom.xml (original) +++ incubator/photark/branches/photark-rest/photark/pom.xml Tue Jun 29 03:00:47 2010 @@ -77,14 +77,14 @@ <dependency> <groupId>org.apache.tuscany.sca</groupId> <artifactId>tuscany-node-impl</artifactId> - <version>2.0-SNAPSHOT</version> + <version>${tuscany.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.tuscany.sca</groupId> <artifactId>tuscany-host-jetty</artifactId> - <version>2.0-SNAPSHOT</version> + <version>${tuscany.version}</version> <scope>test</scope> </dependency> Added: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Subscription.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Subscription.java?rev=958808&view=auto ============================================================================== --- incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Subscription.java (added) +++ incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Subscription.java Tue Jun 29 03:00:47 2010 @@ -0,0 +1,93 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.photark; + +/** + * Model representing a subscription where images are loded from + * Subscriptions can be local (e.g fileSystem) or remote (e.g Flickr, Picasa, etc) + * + * @version $Rev$ $Date$ + */ +public class Subscription { + private String title; + private String type; + private String url; + + /** + * Get subscription title + * + * @return the subscription title + */ + public String getTitle() { + return title; + } + + /** + * Set subscription title + * + * @param title the subscription title + */ + public void setTitle(String title) { + this.title = title; + } + + /** + * Get subscription type + * + * @return the subscription title + */ + public String getType() { + return type; + } + + /** + * Set subscription type + * + * @param type the subscription type + */ + public void setType(String type) { + this.type = type; + } + + /** + * Get subscription url (e.g Local filesystem or remote Flickr Album) + * + * @return the subscription url + */ + public String getUrl() { + return url; + } + + /** + * Set subscription url (e.g Local filesystem or remote Flickr Album) + * + * @param url the subscription url + */ + public void setUrl(String url) { + this.url = url; + } + + @Override + public String toString() { + return "Subscription [title=" + title + ", type=" + type + ", url=" + url + "]"; + } + + +} Propchange: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Subscription.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/Subscription.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/SubscriptionCollection.java URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/SubscriptionCollection.java?rev=958808&view=auto ============================================================================== --- incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/SubscriptionCollection.java (added) +++ incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/SubscriptionCollection.java Tue Jun 29 03:00:47 2010 @@ -0,0 +1,27 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.photark.services; + +import org.apache.photark.Subscription; +import org.apache.tuscany.sca.data.collection.Collection; + +public interface SubscriptionCollection extends Collection<String, Subscription>{ + +} Propchange: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/SubscriptionCollection.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/photark/branches/photark-rest/photark/src/main/java/org/apache/photark/services/SubscriptionCollection.java ------------------------------------------------------------------------------ svn:keywords = Rev Date From [email protected] Tue Jun 29 03:09:34 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95218 invoked from network); 29 Jun 2010 03:09:34 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 29 Jun 2010 03:09:34 -0000 Received: (qmail 20756 invoked by uid 500); 29 Jun 2010 03:09:34 -0000 Delivered-To: [email protected] Received: (qmail 20730 invoked by uid 500); 29 Jun 2010 03:09:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <photark-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 20721 invoked by uid 99); 29 Jun 2010 03:09:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jun 2010 03:09:33 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jun 2010 03:09:31 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 20687238888F; Tue, 29 Jun 2010 03:08:38 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r958810 - /incubator/photark/branches/photark-rest/photark-security/ Date: Tue, 29 Jun 2010 03:08:38 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: lresende Date: Tue Jun 29 03:08:37 2010 New Revision: 958810 URL: http://svn.apache.org/viewvc?rev=958810&view=rev Log: svn propset svn:ignore Modified: incubator/photark/branches/photark-rest/photark-security/ (props changed) Propchange: incubator/photark/branches/photark-rest/photark-security/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Tue Jun 29 03:08:37 2010 @@ -0,0 +1,20 @@ +target +work +dojo +*.iws +*.ipr +*.iml +derby.log +maven.log +maven-eclipse.xml +build.xml +build-dependency.xml +velocity.log* +junit*.properties +surefire*.properties +.project +.classpath +.settings +.deployables +.wtpmodules +.externalToolBuilders From [email protected] Wed Jun 30 02:37:49 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9495 invoked from network); 30 Jun 2010 02:37:49 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 30 Jun 2010 02:37:49 -0000 Received: (qmail 36557 invoked by uid 500); 30 Jun 2010 02:37:49 -0000 Delivered-To: [email protected] Received: (qmail 36533 invoked by uid 500); 30 Jun 2010 02:37:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <photark-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 36525 invoked by uid 99); 30 Jun 2010 02:37:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jun 2010 02:37:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jun 2010 02:37:43 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1BBDB2388994; Wed, 30 Jun 2010 02:36:49 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r959170 - in /incubator/photark/trunk: photark-jcr/ photark-jcr/src/main/java/org/apache/photark/jcr/security/authorization/ photark-security/src/main/java/org/apache/photark/security/authentication/services/ photark-security/src/main/java/... Date: Wed, 30 Jun 2010 02:36:48 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: avd Date: Wed Jun 30 02:36:48 2010 New Revision: 959170 URL: http://svn.apache.org/viewvc?rev=959170&view=rev Log: PHOTARK-20 Applying patch from Suhothayan Sriskandarajah that provides the initial code for authorization. Modified: incubator/photark/trunk/photark-jcr/pom.xml incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/authorization/JCRAccessManager.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/FormAuthenticationServiceImpl.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/OpenIDAuthenticationServiceImpl.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/AccessList.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/Permission.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/Role.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/AccessManager.java incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/SecurityServiceImpl.java Modified: incubator/photark/trunk/photark-jcr/pom.xml URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-jcr/pom.xml?rev=959170&r1=959169&r2=959170&view=diff ============================================================================== --- incubator/photark/trunk/photark-jcr/pom.xml (original) +++ incubator/photark/trunk/photark-jcr/pom.xml Wed Jun 30 02:36:48 2010 @@ -29,17 +29,17 @@ <name>Apache PhotArk JCR based Implementation</name> <dependencies> - <dependency> + <dependency> + <groupId>org.apache.photark</groupId> + <artifactId>photark-security</artifactId> + <version>1.0-incubating-SNAPSHOT</version> + </dependency> + <dependency> <groupId>org.apache.photark</groupId> <artifactId>photark</artifactId> <version>1.0-incubating-SNAPSHOT</version> </dependency> - <dependency> - <groupId>org.apache.photark</groupId> - <artifactId>photark-security</artifactId> - <version>1.0-incubating-SNAPSHOT</version> - </dependency> - + <!-- Tuscany Dependencies --> <dependency> <groupId>org.apache.tuscany.sca</groupId> Modified: incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/authorization/JCRAccessManager.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/authorization/JCRAccessManager.java?rev=959170&r1=959169&r2=959170&view=diff ============================================================================== --- incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/authorization/JCRAccessManager.java (original) +++ incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/security/authorization/JCRAccessManager.java Wed Jun 30 02:36:48 2010 @@ -21,16 +21,15 @@ package org.apache.photark.jcr.security. import org.apache.photark.jcr.JCRRepositoryManager; import org.apache.photark.security.authorization.AccessList; +import org.apache.photark.security.authorization.Permission; import org.apache.photark.security.authorization.User; import org.apache.photark.security.authorization.UserInfo; import org.apache.photark.security.authorization.services.AccessManager; import org.oasisopen.sca.annotation.*; -import javax.jcr.LoginException; -import javax.jcr.Node; -import javax.jcr.RepositoryException; -import javax.jcr.Session; -import java.util.ArrayList; +import javax.jcr.*; +import javax.jcr.Property; +import java.util.*; @Remotable @Scope("COMPOSITE") @@ -38,7 +37,7 @@ public class JCRAccessManager implements /** JCR Repository Manager **/ private static JCRRepositoryManager repositoryManager; - AccessList accessList; + //AccessList accessList; public JCRAccessManager() { @@ -46,49 +45,138 @@ public class JCRAccessManager implements @Reference(name = "repositoryManager") protected void setRepositoryManager(JCRRepositoryManager repositoryManager) { - this.repositoryManager = repositoryManager; + JCRAccessManager.repositoryManager = repositoryManager; } @Init - public void init() { + public synchronized void init() { try { Session session = repositoryManager.getSession(); Node root = session.getRootNode(); - if (!root.hasNode("userStore")) { + // List<Set<String>> mutuallyExclusiveList = new ArrayList<Set<String>>(); - Node userStore = root.addNode("userStore"); - Node roles = userStore.addNode("roles"); - Node allUsers = userStore.addNode("allUsers"); - Node registeredUserRole = roles.addNode("registeredUserRole"); - Node unRegisteredUserRole = roles - .addNode("unRegisteredUserRole"); - session.save(); + Set<String> Default = new HashSet<String>(); + Default.add("superAdminRole"); + Default.add("registeredUserRole"); + Default.add("unRegisteredUserRole"); + Default.add("blockedUserRole"); + + // mutuallyExclusiveList.add(Default); + + if (!root.hasNode("userStore")) { + + Node userStore = root.addNode("userStore"); + + Node mutuallyExclusiveRoles = userStore.addNode("mutuallyExclusiveRoles"); + mutuallyExclusiveRoles.setProperty("_default", new String[]{"superAdminRole", "registeredUserRole", "unRegisteredUserRole", "blockedUserRole"}) ; + + userStore.addNode("allUsers"); + + Node roles = userStore.addNode("roles"); + + Node blockedUserRole = roles.addNode("blockedUserRole"); + blockedUserRole.addNode("users"); + blockedUserRole.addNode("permissions"); + blockedUserRole.setProperty("parents", new String[]{}); + + Node unRegisteredUserRole = roles.addNode("unRegisteredUserRole"); + unRegisteredUserRole.addNode("users"); + Node unRegisteredUserRolePermissions = unRegisteredUserRole.addNode("permissions"); + unRegisteredUserRole.setProperty("parents", new String[]{"blockedUserRole"}); + + Node registeredUserRole = roles.addNode("registeredUserRole"); + registeredUserRole.addNode("users"); + Node registeredUserRolePermissions = registeredUserRole.addNode("permissions"); + registeredUserRole.setProperty("parents", new String[]{"unRegisteredUserRole"}); + + Node superAdminRole = roles.addNode("superAdminRole"); + Node superAdminRoleUsers = superAdminRole.addNode("users"); + Node superAdminRolePermissions = superAdminRole.addNode("permissions"); + superAdminRole.setProperty("parents", new String[]{"registeredUserRole"}); + + Node userNode= superAdminRoleUsers.addNode("SuperAdmin"); + userNode.setProperty("displayName","SuperAdmin"); + userNode.setProperty("email", ""); + userNode.setProperty("realName", ""); + userNode.setProperty("webSite", ""); + userNode.setProperty("userId","SuperAdmin"); + + + unRegisteredUserRolePermissions.addNode("boston").setProperty("permissions", new String[]{"viewImages"}); + // unRegisteredUserRolePermissions.addNode("vegas").setProperty("permissions",new String[]{"view"}); + + //registeredUserRolePermissions.addNode("boston").setProperty("permissions", new String[]{"view"}); + registeredUserRolePermissions.addNode("vegas").setProperty("permissions", new String[]{"viewImages"}); + +// superAdminRolePermissions.addNode("boston").setProperty("permissions", new String[]{"viewImages", "addImages", "deleteImages", "deleteAlbum", "editAlbumDescription"}); +// superAdminRolePermissions.addNode("vegas").setProperty("permissions", new String[]{"viewImages", "addImages", "deleteImages", "deleteAlbum", "editAlbumDescription"}); + + registeredUserRolePermissions.setProperty("permissions", new String[]{"createAlbum", "deleteOwnAlbum" + , "createGroupRole", "deleteOwnGroupRole", "manageOwnGroupRole" + , "viewImagesOnOwnAlbum", "addOwnImagesToOwnAlbum", "deleteImagesFromOwnAlbum", "editOwnAlbumDescription"}); + + superAdminRolePermissions.setProperty("permissions", new String[]{"createAlbum", "deleteOwnAlbum", "deleteOtherAlbum" + , "createGroupRole", "deleteOwnGroupRole", "deleteOthersGroupRole", "manageOwnGroupRole", "manageOthersGroupRole", "manageMainRoles" + , "viewImagesOnOwnAlbum", "addOwnImagesToOwnAlbum", "deleteImagesFromOwnAlbum", "editOwnAlbumDescription" + , "viewImagesOnOthersAlbum", "addOwnImagesToOthersAlbum", "deleteImagesFromOthersAlbum", "editOthersAlbumDescription"}); + + Node allPermissions = userStore.addNode("allPermissions"); + + allPermissions.addNode("createAlbum").setProperty("desc", "Allow the users to crete a new Albums"); + + allPermissions.addNode("deleteOwnAlbum").setProperty("desc", "Allow the users to delete the Albums they own"); + allPermissions.addNode("deleteOtherAlbum").setProperty("desc", "Allow the users to delete the Albums they dont own"); + + allPermissions.addNode("createGroupRole").setProperty("desc", "Allow the users to create Groups"); + allPermissions.addNode("deleteOwnGroupRole").setProperty("desc", "Allow the users to delete the Groups they own"); + allPermissions.addNode("deleteOthersGroupRole").setProperty("desc", "Allow the users to delete the Groups they dont own"); + allPermissions.addNode("manageOwnGroupRole").setProperty("desc", "Allow the users to change the users and permissions of the Groups they own"); + allPermissions.addNode("manageOthersGroupRole").setProperty("desc", "Allow the users to change the users and permissions of the Groups they dont own"); + + allPermissions.addNode("manageMainRoles").setProperty("desc", "Allow the users to change the users and permissions of the Main roles (superAdminRole, registeredUserRole, unRegisteredUserRole, blockedUserRole)"); + + allPermissions.addNode("viewImagesOnOwnAlbum").setProperty("desc", "Allow the users to view their album images"); + allPermissions.addNode("addOwnImagesToOwnAlbum").setProperty("desc", "Allow the users to add new images to their album"); + allPermissions.addNode("deleteImagesFromOwnAlbum").setProperty("desc", "Allow the users to delete images from their album"); + allPermissions.addNode("editOwnAlbumDescription").setProperty("desc", "Allow the users to edit their Album description"); + + allPermissions.addNode("viewImagesOnOthersAlbum").setProperty("desc", "Allow the users to view Others album images"); + allPermissions.addNode("addOwnImagesToOthersAlbum").setProperty("desc", "Allow the users to add new images to Others album"); + allPermissions.addNode("deleteImagesFromOthersAlbum").setProperty("desc", "Allow the users to delete images from Others album"); + allPermissions.addNode("editOthersAlbumDescription").setProperty("desc", "Allow the users to edit Others Album description"); + + //per Album permissions + allPermissions.addNode("viewImages").setProperty("desc", "Allow the users to view the album images"); + allPermissions.addNode("addImages").setProperty("desc", "Allow the users to add new images to the album"); + allPermissions.addNode("deleteImages").setProperty("desc", "Allow the users to delete images from the album"); + allPermissions.addNode("editAlbumDescription").setProperty("desc", "Allow the users to edit Album description"); + + session.save(); } } catch (Exception e) { // FIXME: ignore for now e.printStackTrace(); - } finally { - // repositoryManager.releaseSession(); } - } + } - public synchronized void addUserToRole(User user, String node) { + public synchronized void addUserToRole(User user, String roleName) { init(); try { Session session = repositoryManager.getSession(); - Node subRoleNode = (Node) session.getItem("/userStore/roles/" - + node); + deleteMutuallyExclusiveRoles(user.getUserId(), roleName); + + Node subRoleNodeUsers = (Node) session.getItem("/userStore/roles/" + roleName+"/users"); Node userNode; UserInfo userInfo = user.getUserInfo(); - if (subRoleNode != null) { - if (subRoleNode.hasNode(toJCRFormat(user.getUserId()))) { - userNode = subRoleNode + if (subRoleNodeUsers != null) { + if (subRoleNodeUsers.hasNode(toJCRFormat(user.getUserId()))) { + userNode = subRoleNodeUsers .getNode(toJCRFormat(user.getUserId())); } else { - userNode = subRoleNode + userNode = subRoleNodeUsers .addNode(toJCRFormat(user.getUserId())); } userNode.setProperty("displayName", toJCRFormat(userInfo @@ -100,36 +188,75 @@ public class JCRAccessManager implements .getWebsite())); userNode.setProperty("userId", toJCRFormat(user.getUserId())); } + session.save(); + addToAllUsers(user); - Node allUsers = (Node) session.getItem("/userStore/allUsers"); - if (allUsers != null) { - - if (allUsers.hasNode(toJCRFormat(user.getUserId()))) { - userNode = allUsers.getNode(toJCRFormat(user.getUserId())); - } else { - userNode = allUsers.addNode(toJCRFormat(user.getUserId())); - } - userNode.setProperty("displayName", toJCRFormat(userInfo - .getDisplayName())); - userNode.setProperty("email", toJCRFormat(userInfo.getEmail())); - userNode.setProperty("realName", toJCRFormat(userInfo - .getRealName())); - userNode.setProperty("webSite", toJCRFormat(userInfo - .getWebsite())); - userNode.setProperty("userId", toJCRFormat(user.getUserId())); - } - session.save(); } catch (Exception e) { // FIXME: ignore for now e.printStackTrace(); - } finally { - // repositoryManager.releaseSession(); - } - } + } - public synchronized User getUser(String userId) { + private synchronized void addToAllUsers(User user) throws RepositoryException { + Session session =repositoryManager.getSession(); + UserInfo userInfo =user.getUserInfo() ; + Node userNode; + Node allUsers = (Node) session.getItem("/userStore/allUsers"); + if (allUsers != null) { + + if (allUsers.hasNode(toJCRFormat(user.getUserId()))) { + userNode = allUsers.getNode(toJCRFormat(user.getUserId())); + } else { + userNode = allUsers.addNode(toJCRFormat(user.getUserId())); + } + userNode.setProperty("displayName", toJCRFormat(userInfo + .getDisplayName())); + userNode.setProperty("email", toJCRFormat(userInfo.getEmail())); + userNode.setProperty("realName", toJCRFormat(userInfo + .getRealName())); + userNode.setProperty("webSite", toJCRFormat(userInfo + .getWebsite())); + userNode.setProperty("userId", toJCRFormat(user.getUserId())); + } + session.save(); + } + + private synchronized void deleteMutuallyExclusiveRoles(String userId, String roleName) { + + + try { + Session session = repositoryManager.getSession(); + Node allMutuallyExclusiveRoles = (Node) session.getItem("/userStore/mutuallyExclusiveRoles"); + for (PropertyIterator pi = allMutuallyExclusiveRoles.getProperties(); pi.hasNext();) { + Property p = pi.nextProperty(); + + if (!p.getName().equals("jcr:primaryType")) { + ArrayList<String> list =new ArrayList<String>(); + for(Value v :p.getValues()){ + list.add(v.getString()); + } + + if (list.contains(roleName)) { + for (Object aList : list) { + String role = (String) aList; + if (!role.equals(roleName)) { + removeUserFromRole(userId, role); + } + } + } + } + + + } + session.save(); + } catch (PathNotFoundException e) { + e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates. + } catch (RepositoryException e) { + e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates. + } + } + public synchronized User getUser(String userId) { init(); User user = null; try { @@ -142,10 +269,7 @@ public class JCRAccessManager implements // // Node allUsers = (Node) session.getItem("/userStore/allUsers"); Node userNode; - - if (allUsers != null) { - - if (allUsers.hasNode(toJCRFormat(userId))) { + if (allUsers != null&& allUsers.hasNode(toJCRFormat(userId))) { userNode = allUsers.getNode(toJCRFormat(userId)); user = new User(userId); UserInfo userInfo = new UserInfo( @@ -156,15 +280,11 @@ public class JCRAccessManager implements ); user.setUserInfo(userInfo); } - } - } catch (Exception e) { // FIXME: ignore for now e.printStackTrace(); - } finally { - // repositoryManager.releaseSession(); } - return user; + return user; } @Destroy @@ -172,44 +292,188 @@ public class JCRAccessManager implements // repositoryManager.releaseSession(); } - public String getCurrentUserInfo() { - - return "Works"; - } - - public boolean isUserStoredInRole(String userId, String node) { + public synchronized boolean isUserStoredInRole(String userId, String roleName) { init(); try { Session session = repositoryManager.getSession(); - Node subRoleNode = (Node) session.getItem("/userStore/roles/" - + node); - if (subRoleNode != null && subRoleNode.hasNode(toJCRFormat(userId))) { + Node subRoleNodeUsers = (Node) session.getItem("/userStore/roles/" + + roleName+"/users"); + if (subRoleNodeUsers != null && subRoleNodeUsers.hasNode(toJCRFormat(userId))) { return true; } } catch (Exception e) { // FIXME: ignore for now e.printStackTrace(); - } finally { - // repositoryManager.releaseSession(); } - return false; + return false; } - public synchronized AccessList creatAccessList(String userId, String email) { + public synchronized AccessList createAccessList(String userId, String email) { + boolean newUser = true; + User user = new User(userId); + user.setUserInfo(new UserInfo(email)); + Session session = null; + try { + session = repositoryManager.getSession(); + for (Value mutuallyExclusiveRole : ((Node) session.getItem("/userStore/mutuallyExclusiveRoles")).getProperty("_default").getValues()) { + if ((!"unRegisteredUserRole".equals(mutuallyExclusiveRole.getString())) && (isUserStoredInRole(userId, mutuallyExclusiveRole.getString()))) { + newUser = false; + break; + } + } + if (newUser) { + + addUserToRole(user, "unRegisteredUserRole"); + + } + + } catch (RepositoryException e) { + e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates. + } + + Map<String, List<Permission>> permissions= getPermissions(userId); +// AccessList accessList = new AccessList(userId, permissions); +// //this.accessList = accessList; +// return accessList; + + return new AccessList(userId, permissions); + } + + private synchronized Map<String, List<Permission>> getPermissions(String userId) { + + List<String> list = new ArrayList<String>(); + try { + Session session = repositoryManager.getSession(); + Node RolesNode = (Node) session.getItem("/userStore/roles"); + + for (NodeIterator ni = RolesNode.getNodes(); ni.hasNext();) { + Node n = ni.nextNode(); + if (isUserStoredInRole(userId, n.getName())) { + list.add(n.getName()); + } + } + return getPermissionsForUserInRoles(list); + + } catch (LoginException e) { + e.printStackTrace(); + } catch (PathNotFoundException e) { + e.printStackTrace(); + } catch (RepositoryException e) { + e.printStackTrace(); + } + return getPermissionsForUserInRoles(list); + } + + private synchronized Map<String, List<Permission>> getPermissionsForUserInRoles(List<String> roles) { + Map<String, List<Permission>> permissions = new HashMap<String, List<Permission>>(); + List<String> addedRoles = new ArrayList<String>(); + Session session; + try { + session = repositoryManager.getSession(); + for (int i=0 ; i<roles.size();i++ ) { + // for (String role : roles) { + String role=roles.get(i); + if (!addedRoles.contains(role)) { + Node aRolePermissions = (Node) session.getItem("/userStore/roles/" + role + "/permissions"); + Node aRole = (Node) session.getItem("/userStore/roles/" + role); + //get the role based permissions + if (aRolePermissions.hasProperty("permissions")) { + if (!permissions.containsKey("_default")) { + // Value[] permissionValues = aRolePermissions.getProperty("permissions").getValues(); + Set<Permission> permissionSet = new HashSet<Permission>(); + for (Value permissionValue : aRolePermissions.getProperty("permissions").getValues()) { + permissionSet.add(getPermissionObject(permissionValue.getString())); + } + permissions.put("_default", new ArrayList<Permission>(permissionSet)); + } else { + Set<Permission> permissionSet = new HashSet<Permission>(); + for (Value permissionValue : aRolePermissions.getProperty("permissions").getValues()) { + permissionSet.add(getPermissionObject(permissionValue.getString())); + } + permissionSet.addAll(permissions.get("_default")); + permissions.remove("_default"); + permissions.put("_default", new ArrayList<Permission>(permissionSet)); + + } + } + //get the resource based permissions + for (NodeIterator ni = aRolePermissions.getNodes(); ni.hasNext();) { + Node n = ni.nextNode(); + // for (PropertyIterator pi = n.getProperties(); pi.hasNext();) { + Property p = n.getProperty("permissions"); + // if (p.getName().startsWith("_")) { + if (!permissions.containsKey(n.getName())) { + Set<Permission> permissionSet = new HashSet<Permission>(); + + for (Value permissionValue : p.getValues()) { + permissionSet.add(getPermissionObject(permissionValue.getString())); + } + permissions.put(n.getName(), new ArrayList<Permission>(permissionSet)); + // permissions.put(p.getName(), new HashSet<Value>(Arrays.asList(p.getValues()))); + } else { + Set<Permission> permissionSet = new HashSet<Permission>(); + for (Value permissionValue : p.getValues()) { + permissionSet.add(getPermissionObject(permissionValue.getString())); + } + permissionSet.addAll(permissions.get(n.getName())); + permissions.remove(n.getName()); + permissions.put(n.getName(), new ArrayList<Permission>(permissionSet)); + // permissions.get(p.getName()).addAll(Arrays.asList(p.getValues())); + } +// } +// } + } + + + + addedRoles.add(aRole.getName()); + if (aRole.hasProperty("parents")) { + Value[] values = aRole.getProperty("parents").getValues(); + for (Value value : values) { + if (!addedRoles.contains(value.getString())) { + roles.add(value.getString()); + } + + } + + } + } + } + + + + } catch (LoginException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } catch (RepositoryException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + + return permissions; + } + + private synchronized Permission getPermissionObject(String permissionName) { + Session session; + try { + session = repositoryManager.getSession(); + Node allPermissions = (Node) session.getItem("/userStore/allPermissions"); + if (allPermissions.hasNode(permissionName)) { + return new Permission(allPermissions.getNode(permissionName).getName(), allPermissions.getNode(permissionName).getProperty("desc").getString()); + } + } catch (ValueFormatException e) { + e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates. + } catch (LoginException e) { + e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates. + } catch (PathNotFoundException e) { + e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates. + } catch (RepositoryException e) { + e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates. + } + return null; //To change body of created methods use File | Settings | File Templates. + } - User user = new User(userId); - user.setUserInfo(new UserInfo(email)); - if (!isUserStoredInRole(userId, "registeredUserRole")) { - if (!isUserStoredInRole(userId, "unRegisteredUserRole")) { - addUserToRole(user, "unRegisteredUserRole"); - } - } - AccessList accessList = new AccessList(userId, new ArrayList<String>()); - this.accessList = accessList; - return accessList; - } - - private String toJCRFormat(String string) { + private String toJCRFormat(String string) { if (string != null) { string = string.replaceAll("/", "#1"); string = string.replaceAll(":", "#2"); @@ -231,16 +495,16 @@ public class JCRAccessManager implements Session session; try { session = repositoryManager.getSession(); - Node subRoleNode = (Node) session.getItem("/userStore/roles/" - + node); - - if (subRoleNode != null) { - if (subRoleNode.hasNode(toJCRFormat(userId))) { - Node userNode = subRoleNode + Node subRoleNodeUsers = (Node) session.getItem("/userStore/roles/" + + node+"/users"); + + if (subRoleNodeUsers != null) { + if (subRoleNodeUsers.hasNode(toJCRFormat(userId))) { + Node userNode = subRoleNodeUsers .getNode(toJCRFormat(userId)); userNode.remove(); session.save(); - } + } } } catch (LoginException e) { // TODO Auto-generated catch block Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/FormAuthenticationServiceImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/FormAuthenticationServiceImpl.java?rev=959170&r1=959169&r2=959170&view=diff ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/FormAuthenticationServiceImpl.java (original) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/FormAuthenticationServiceImpl.java Wed Jun 30 02:36:48 2010 @@ -72,8 +72,8 @@ public class FormAuthenticationServiceIm RelyingParty.getInstance().invalidate(request, response); //Creating the accessList - AccessList accesList=accessManager.creatAccessList("SuperAdmin",""); - request.getSession().setAttribute("accessList", accesList); + AccessList accessList=accessManager.createAccessList("SuperAdmin",""); + request.getSession().setAttribute("accessList", accessList); System.err.println("Super Admin authenticated"); response.sendRedirect(request.getContextPath() + "/admin/upload.html"); Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/OpenIDAuthenticationServiceImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/OpenIDAuthenticationServiceImpl.java?rev=959170&r1=959169&r2=959170&view=diff ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/OpenIDAuthenticationServiceImpl.java (original) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authentication/services/OpenIDAuthenticationServiceImpl.java Wed Jun 30 02:36:48 2010 @@ -105,9 +105,9 @@ public class OpenIDAuthenticationService if (email==null){ email=""; } - AccessList accesList=accessManager.creatAccessList(user.getIdentity(),email); - request.getSession().setAttribute("accessList", accesList); - if(!accessManager.isUserStoredInRole(accesList.getUserId(), "registeredUserRole")){ + AccessList accessList=accessManager.createAccessList(user.getIdentity(),email); + request.getSession().setAttribute("accessList", accessList); + if(!accessManager.isUserStoredInRole(accessList.getUserId(), "registeredUserRole")){ request.getSession().setAttribute("toRigester", "true"); } Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/AccessList.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/AccessList.java?rev=959170&r1=959169&r2=959170&view=diff ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/AccessList.java (original) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/AccessList.java Wed Jun 30 02:36:48 2010 @@ -20,11 +20,7 @@ package org.apache.photark.security.authorization; import java.io.Serializable; -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -import org.oasisopen.sca.annotation.Remotable; +import java.util.*; /** @@ -40,7 +36,7 @@ public class AccessList implements Seria /** */ private String userId=""; /** */ - private List<String> permissions= new ArrayList<String>(); + private Map<String, List<Permission>> permissions= new HashMap<String, List<Permission>>(); /** @@ -49,8 +45,8 @@ public class AccessList implements Seria * * @param permissions List<String> */ - public AccessList(String userId, List<String> permissions){ - //TODO this.permissions = Collections.unmodifiableList(permissions); + public AccessList(String userId, Map<String, List<Permission>> permissions){ + this.permissions = Collections.unmodifiableMap(permissions); this.userId = userId; } @@ -62,7 +58,7 @@ public class AccessList implements Seria * * @return List<String> */ - public List<String> getPermissions(){ + public Map<String, List<Permission>> getPermissions(){ return permissions; } @@ -84,11 +80,9 @@ public class AccessList implements Seria return false; AccessList accessList = (AccessList)obj; - if(accessList.userId.equals(userId) && isPermissionsEqual(accessList.permissions)) - return true; - - return false; - } + return accessList.userId.equals(userId) && isPermissionsEqual(accessList.permissions); + + } /** @@ -96,32 +90,38 @@ public class AccessList implements Seria * @param permissionList List<String> * * @return boolean - */ - private boolean isPermissionsEqual(List<String> permissionList){ - if(permissionList != null && permissions != null){ - if(permissionList.size() == permissions.size()){ - for(String permission : permissionList){ - if(!permissions.contains(permission)) - return false; - } - return true; - } - else - return false; - } - return false; - } + */ + private boolean isPermissionsEqual(Map<String, List<Permission>> permissionList) { + if (permissionList != null && permissions != null) { + if (permissionList.size() == permissions.size()) { + for (String permission : permissionList.keySet()) { + if (!permissions.keySet().contains(permission)) + return false; + for (Permission aPermission : permissionList.get(permission)) { + if (permissions.get(permission).contains(aPermission)) + return false; + } + } + return true; + } else + return false; + } + return false; + } /** * */ - public int hashCode(){ - int hash = 1; - hash = hash * 7 + userId == null ? 0 : userId.hashCode(); - for(String permission : permissions){ - hash = hash * 7 + (permission == null ? 0 : permission.hashCode()); - } - return hash; - } + public int hashCode() { + int hash = 1; + hash = hash * 7 + (userId.equals("") ? 0 : userId.hashCode()); + for (String permission : permissions.keySet()) { + hash = hash * 7 + (permission == null ? 0 : permission.hashCode()); + for (Permission aPermission : permissions.get(permission)) { + hash = hash * 7 + (aPermission == null ? 0 : aPermission.hashCode()); + } + } + return hash; + } } \ No newline at end of file Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/Permission.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/Permission.java?rev=959170&r1=959169&r2=959170&view=diff ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/Permission.java (original) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/Permission.java Wed Jun 30 02:36:48 2010 @@ -31,6 +31,11 @@ public class Permission implements Seria private static final long serialVersionUID = 115956810128294635L; public String permission; private String desc; + + public Permission(String permission,String description){ + this.permission = permission; + this.desc = description; + } /** * Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/Role.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/Role.java?rev=959170&r1=959169&r2=959170&view=diff ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/Role.java (original) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/Role.java Wed Jun 30 02:36:48 2010 @@ -27,35 +27,46 @@ import java.util.List; * Model representing a Role */ public class Role implements Serializable { - /** - * - */ - private static final long serialVersionUID = -7560129536060718311L; - public String roleName; - public List<Permission> permissions = new ArrayList<Permission>(); - - /** - * - * @param roleName String - */ - public Role(String roleName){ - this.roleName = roleName; - } - - /** - * - * @param permission Permission - */ - public void setPermission(Permission permission){ - this.permissions.add(permission); - } - - - /** - * - * @return List<Permission> - */ - public List<Permission> getPermissions(){ - return permissions; + /** + * + */ + private static final long serialVersionUID = -7560129536060718311L; + private String roleName; + private List<Permission> permissions = new ArrayList<Permission>(); + private List<Role> parents = new ArrayList<Role>(); + + + public String getRoleName() { + return roleName; + } + + public List<Role> getParents() { + return parents; + } + + public void setParent(Role parent) { + this.parents.add(parent); + } + + /** + * @param roleName String + */ + public Role(String roleName) { + this.roleName = roleName; + } + + /** + * @param permission Permission + */ + public void setPermission(Permission permission) { + this.permissions.add(permission); + } + + + /** + * @return List<Permission> + */ + public List<Permission> getPermissions() { + return permissions; } } Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/AccessManager.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/AccessManager.java?rev=959170&r1=959169&r2=959170&view=diff ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/AccessManager.java (original) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/AccessManager.java Wed Jun 30 02:36:48 2010 @@ -26,11 +26,14 @@ import org.oasisopen.sca.annotation.Remo @Remotable public interface AccessManager { - AccessList creatAccessList(String identity, String email); - - boolean isUserStoredInRole(String userId, String node); - User getUser(String userId); - void removeUserFromRole(String userId, String node); - void addUserToRole(User user, String node); - + AccessList createAccessList(String identity, String email); + + boolean isUserStoredInRole(String userId, String node); + + User getUser(String userId); + + void removeUserFromRole(String userId, String node); + + void addUserToRole(User user, String node); + } Modified: incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/SecurityServiceImpl.java URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/SecurityServiceImpl.java?rev=959170&r1=959169&r2=959170&view=diff ============================================================================== --- incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/SecurityServiceImpl.java (original) +++ incubator/photark/trunk/photark-security/src/main/java/org/apache/photark/security/authorization/services/SecurityServiceImpl.java Wed Jun 30 02:36:48 2010 @@ -99,6 +99,9 @@ public class SecurityServiceImpl extends //sb.append(",unRegistered=false"); } send(out, sb); + accessList=accessManager.createAccessList(userId,request.getParameter("email")); + request.getSession().removeAttribute("accessList"); + request.getSession().setAttribute("accessList", accessList); } else if ("getUser".equalsIgnoreCase(request.getParameter("request"))) { sb.append("{" + createJSONUser(request) + "}"); send(out, sb);
From [email protected] Fri Jun 17 23:34:13 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8351 invoked from network); 17 Jun 2005 23:34:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jun 2005 23:34:13 -0000 Received: (qmail 10693 invoked by uid 500); 17 Jun 2005 23:34:12 -0000 Delivered-To: [email protected] Received: (qmail 10678 invoked by uid 500); 17 Jun 2005 23:34:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: <[email protected]> List-Id: <advocacy.perl.apache.org> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 36735 invoked by uid 99); 17 Jun 2005 10:28:11 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=FORGED_RCVD_HELO,FROM_ENDS_IN_NUMS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Message-ID: <[email protected]> Date: Fri, 17 Jun 2005 12:18:12 +0300 (EEST) From: Nick *** <[email protected]> To: [email protected] Subject: Re: draft of press release Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 8bit X-Mailer: AbvMail 1.0 X-Originating-IP: 161.129.204.104 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N >Perrin Harkins wrote: >> On Mon, 2005-05-23 at 14:20 -0400, Stas Bekman wrote: >> >>>Philip M. Gollucci wrote: >>> >>>>Perrin Harkins wrote: >>>> >>>> >>>>>Are you talking about separate pools of interpreters perl vhost? Is >>>>>that really working? >>>>> >>>>> >>>> >>>>I donn't think is works yet as this need will use the perlchild MPM which >>>>isn't finished and isn't currently being actively developed by httpd. >>> >>>Not quite. It does "work" even with the prefork mpm. But there are issues. >> >> >> If I say something like "Improved isolation of servers for easier use in >> ISPs" is that overstating it? My concern is that an ISP would ask us >> about this after seeing the release and we'd look foolish saying, "well, >> it doesn't really work well enough to use yet." >Separate pools of interpreters per vhost work, but it has no relation to >the ISPs whose problem is a secure separation between users. But perchild >(and its equivalents) aren't there yet, though it has nothing to do with >mod_perl (it's on the apache playground). Though I've heard that metux >mpm[1] is used by some people in production. I haven't tried it, so I >can't tell if it works under mod_perl. >[1] http://www.metux.de/mpm/en/?patpage= There's also Peruser MPM http://www.telana.com/peruser.php It's an alpha, but the development going on. Peruser seems to be more suitable for MP2 than Metux, because it uses precesses instead of threads. That's all I know. I haven't tested it yet. ----------------------------------------------------------------- http://izbori2005.netinfo.bg - Èçáîðè 2005 - Ñàìî íàé-âàæíîòî. Âèæ, ÷óé, ïðî÷åòè è èçáåðè! --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Tue May 25 02:03:42 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55973 invoked from network); 25 May 2010 02:03:42 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 May 2010 02:03:42 -0000 Received: (qmail 22014 invoked by uid 500); 25 May 2010 02:03:42 -0000 Delivered-To: [email protected] Received: (qmail 22005 invoked by uid 500); 25 May 2010 02:03:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.portals.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 21996 invoked by uid 99); 25 May 2010 02:03:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 May 2010 02:03:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hudson.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 May 2010 02:03:39 +0000 Received: from hudson.zones.apache.org (localhost [161.129.204.104]) by hudson.zones.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4P23Hjl028437 for <[email protected]>; Mon, 24 May 2010 22:03:17 -0400 (EDT) Date: Tue, 25 May 2010 02:03:16 +0000 (UTC) From: Apache Hudson Server <[email protected]> To: [email protected] Message-ID: <[email protected]> Subject: Hudson build is back to normal : portals-pluto-trunk #9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org See <http://hudson.zones.apache.org/hudson/job/portals-pluto-trunk/9/>
From [email protected] Fri Feb 08 08:42:00 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74995 invoked from network); 8 Feb 2008 08:42:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Feb 2008 08:42:00 -0000 Received: (qmail 5245 invoked by uid 500); 8 Feb 2008 08:41:52 -0000 Delivered-To: [email protected] Received: (qmail 5208 invoked by uid 500); 8 Feb 2008 08:41:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 5197 invoked by uid 99); 8 Feb 2008 08:41:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Feb 2008 00:41:52 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ciao.gmane.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Feb 2008 08:41:36 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JNOnY-00032X-Pv for [email protected]; Fri, 08 Feb 2008 08:41:28 +0000 Received: from gatekeeper.bergauer.ch ([161.129.204.104]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <[email protected]>; Fri, 08 Feb 2008 08:41:28 +0000 Received: from andreas.grob by gatekeeper.bergauer.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <[email protected]>; Fri, 08 Feb 2008 08:41:28 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: [email protected] From: Andreas Grob <[email protected]> Subject: Problem building log4cxx using apr Date: Fri, 8 Feb 2008 08:41:22 +0000 (UTC) Lines: 49 Message-ID: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: [email protected] X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 161.129.204.104 (Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:161.129.204.104) Gecko/20071128 SeaMonkey/1.1.7) Sender: news <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi, Since the change from CPPUNIT to LOGUNIT I have problems compiling the trunk. I work under win2k, vs8/sp1. When I compile as ever I got following error: C:\work\log4cxx\log4cxx-trunk\src\ant\find-apr.xml:150: Unable to locate apr base directory. The INSTALL file says: Connection to internet - or - apr files in the lib path So far I preferred to use the internet. But in build.xml:121 I found an interesting hint. So I tried next: c:\programme\apache\apache-ant-1.7.0\bin\ant -Dwith-apr=c:\programme\apache\apr-1.2.12 -Dwith-apr-util=c:\programme\apache\apr-util-1.2.12 Now some files were compiled but still the build failed: find-apr: [echo] apr-find: [echo] apr.dir=c:\programme\apache\apr-1.2.12 [echo] apr.include.dir=c:\programme\apache\apr-1.2.12/include [echo] apr.src.dir=c:\programme\apache\apr-1.2.12 [echo] apr.lib.file=${apr.lib.file} [echo] apr.lib.file.dir=${apr.lib.file.dir} [echo] apr.lib.dir=${apr.lib.dir} [echo] apr.lib.prefix=${apr.lib.prefix} [echo] apr.lib.suffix=${apr.lib.suffix} [echo] apr.lib.type=${apr.lib.type} BUILD FAILED C:\work\log4cxx\log4cxx-trunk\build.xml:348: The following error occurred while executing this line: C:\work\log4cxx\log4cxx-trunk\src\ant\apr-build.xml:111: project doesn't support the nested "comment" element. I'm not familiar with ant, apr, ... So, I don't know what to do next. Can please anybody help me? Cheers ~ Andreas From [email protected] Fri Feb 08 09:24:09 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90649 invoked from network); 8 Feb 2008 09:24:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Feb 2008 09:24:09 -0000 Received: (qmail 32656 invoked by uid 500); 8 Feb 2008 09:24:01 -0000 Delivered-To: [email protected] Received: (qmail 32638 invoked by uid 500); 8 Feb 2008 09:24:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 32627 invoked by uid 99); 8 Feb 2008 09:24:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Feb 2008 01:24:01 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO QMTA06.westchester.pa.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Feb 2008 09:23:29 +0000 Received: from OMTA04.westchester.pa.mail.comcast.net ([161.129.204.104]) by QMTA06.westchester.pa.mail.comcast.net with comcast id mx541Y0010ldTLk5601J00; Fri, 08 Feb 2008 09:23:27 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by OMTA04.westchester.pa.mail.comcast.net with comcast id mxPG1Y0090WxPNA3Q00000; Fri, 08 Feb 2008 09:23:36 +0000 X-Authority-Analysis: v=1.0 c=1 a=GAqs2Sx309UA:10 a=ydrlk1UcXaGKXC6NQckA:9 a=4v_ejHgLTm7j8SRMgaYA:7 a=SNup7CmlezWMX2-nM9CrffZ_Ju0A:4 a=WuK_CZDBSqoA:10 Message-Id: <[email protected]> From: Curt Arnold <[email protected]> To: "Log4CXX User" <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Subject: Re: Problem building log4cxx using apr Date: Fri, 8 Feb 2008 03:23:16 -0600 References: <[email protected]> X-Mailer: Apple Mail (2.915) X-Virus-Checked: Checked by ClamAV on apache.org On Feb 8, 2008, at 2:41 AM, Andreas Grob wrote: > Hi, > ... > > > I'm not familiar with ant, apr, ... So, I don't know what to do > next. Can please > anybody help me? > > Cheers > ~ Andreas > > Sorry, trying to get the release candidate out and things are flying pretty furious. The ultimate answer will be in new build pages on the web site that will document all the changes that have occurred. Unfortunately, that means at the moment things are subject to change minute by minute. First, update your cpptasks to the current SVN HEAD. Second, the build.xml no longer attempts to download APR or APR-Util, but expects to find them or have their location explicitly specified. On Windows, the easiest way is to either untar or unzip releases of apr and apr-util in the same directory that has log4cxx or to check out versions to those directories, so you end up with something like: $ dir c:\ [apr] [apr-util] [log4cxx] $ cd log4cxx $ ant Basically, it follows the same scheme as the VC6 builds for APR which requires that apr, apr-util and apr-iconv be children of the same parent directory. The find logic essentially checks /usr/lib, /usr/local/lib and ../apr in that order. If you want to explicitly specify a location, use - Dwith-apr=PATH. From [email protected] Fri Feb 08 16:51:57 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26095 invoked from network); 8 Feb 2008 16:51:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Feb 2008 16:51:57 -0000 Received: (qmail 22374 invoked by uid 500); 8 Feb 2008 16:51:49 -0000 Delivered-To: [email protected] Received: (qmail 22357 invoked by uid 500); 8 Feb 2008 16:51:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 22346 invoked by uid 99); 8 Feb 2008 16:51:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Feb 2008 08:51:48 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ciao.gmane.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Feb 2008 16:51:32 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JNWRc-0002Mk-9s for [email protected]; Fri, 08 Feb 2008 16:51:20 +0000 Received: from gatekeeper.bergauer.ch ([161.129.204.104]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <[email protected]>; Fri, 08 Feb 2008 16:51:20 +0000 Received: from andreas.grob by gatekeeper.bergauer.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <[email protected]>; Fri, 08 Feb 2008 16:51:20 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: [email protected] From: Andreas Grob <[email protected]> Subject: Re: Problem building log4cxx using apr Date: Fri, 8 Feb 2008 16:51:09 +0000 (UTC) Lines: 24 Message-ID: <[email protected]> References: <[email protected]> <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: [email protected] X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 161.129.204.104 (Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:161.129.204.104) Gecko/20080201 SeaMonkey/1.1.8) Sender: news <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Curt Arnold <carnold <at> apache.org> writes: > > Sorry, trying to get the release candidate out and things are flying > pretty furious. > > The ultimate answer will be in new build pages on the web site that > will document all the changes that have occurred. Unfortunately, that > means at the moment things are subject to change minute by minute. > > First, update your cpptasks to the current SVN HEAD. > > ............ Very thank you for the fast response. To hear you trying to get out a release candidate makes me happy, too! To update cpptasks was the point. :-) Cheers ~ Andreas From [email protected] Mon Feb 11 08:52:02 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27802 invoked from network); 11 Feb 2008 08:52:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Feb 2008 08:52:02 -0000 Received: (qmail 69617 invoked by uid 500); 11 Feb 2008 08:51:55 -0000 Delivered-To: [email protected] Received: (qmail 69584 invoked by uid 500); 11 Feb 2008 08:51:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 69573 invoked by uid 99); 11 Feb 2008 08:51:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2008 00:51:55 -0800 X-ASF-Spam-Status: No, hits=4.7 required=10.0 tests=HTML_IMAGE_ONLY_16,HTML_MESSAGE,HTML_SHORT_LINK_IMG_2,SPF_HELO_PASS,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO rediffmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 11 Feb 2008 08:51:21 +0000 Received: (qmail 13251 invoked by uid 510); 11 Feb 2008 08:48:36 -0000 Date: 11 Feb 2008 08:48:36 -0000 MIME-Version: 1.0 To: <[email protected]> Received: from unknown 161.129.204.104 by rediffmail.com via HTTP; 11 Feb 2008 08:48:36 -0000 Message-ID: <[email protected]> Subject: Re :Re: getAllAppenders() function throws exception From: "Jenica Mehta" <[email protected]> Content-Type: multipart/alternative; boundary="=_58359db5cbc0aee8a60c3c4ca1dfff20" X-Virus-Checked: Checked by ClamAV on apache.org --=_58359db5cbc0aee8a60c3c4ca1dfff20 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Thanks Curt. I tried to build both Log4CXX and my application with same project settings. And it works fine. Regards,JenicaOn Wed, 30 Jan 2008 03:55:08 -0600 "Log4CXX User" wroteActually, I'm surprised you were able to build. You may be getting bit by the issue reported in LOGCXX-219 (https://issues.apache.org/jira/browse/LOGCXX-219 ). There is the potential for disaster when log4cxx and the client code both instantiate the same template, but have different settings. But, It is still never a healthy thing to mix and match C run time libraries within an application. Rev 616702 should build. If you find yourself getting a copy prior to that, try again using https instead of http. --=_58359db5cbc0aee8a60c3c4ca1dfff20 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Thanks Curt. I tried to build both Log4CXX and my application with same pro= ject settings. <br />And it works fine. <br /><br />Regards,<br />Jenica<br= /><br />On Wed, 30 Jan 2008 03:55:08 -0600 "Log4CXX User" wrote<br />Actua= lly, I'm surprised you were able to build. You may be getting <br />bit by = the issue reported in LOGCXX-219 (https://issues.apache.org/jira/browse/LOG= CXX-219 <br />). There is the potential for disaster when log4cxx and the c= lient <br />code both instantiate the same template, but have different set= tings. <br />But, It is still never a healthy thing to mix and match C run = time <br />libraries within an application. Rev 616702 should build. If you= <br />find yourself getting a copy prior to that, try again using https <b= r />instead of http.<br /><br /><br /><br><Table border=3D0 Width=3D644 Hei= ght=3D57 cellspacing=3D0 cellpadding=3D0 style=3D'font-family:Verdana;font-= size:11px;line-height:15px;'><TR><td><a href=3D'http://adworks.rediff.com/c= gi-bin/AdWorks/click.cgi/www.rediff.com/signature-home.htm/1050715198@Middl= e5/2016579_2009445/2043622/1?PARTNER=3D3&OAS_QUERY=3Dnull' target=3Dnew ><i= mg src =3D'http://imadworks.rediff.com/cgi-bin/AdWorks/adimage.cgi/2016579_= 2009445/creative_2043622.jpg' alt=3D'Simply Marry Shopping' border=3D0></= a></td></TR></Table> --=_58359db5cbc0aee8a60c3c4ca1dfff20-- From [email protected] Tue Feb 12 18:17:07 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6533 invoked from network); 12 Feb 2008 18:17:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Feb 2008 18:17:07 -0000 Received: (qmail 49583 invoked by uid 500); 12 Feb 2008 18:16:59 -0000 Delivered-To: [email protected] Received: (qmail 49567 invoked by uid 500); 12 Feb 2008 18:16:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 49556 invoked by uid 99); 12 Feb 2008 18:16:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Feb 2008 10:16:59 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO outbound-mail-104.bluehost.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 12 Feb 2008 18:16:27 +0000 Received: (qmail 30500 invoked by uid 0); 12 Feb 2008 18:16:34 -0000 Received: from unknown (HELO box307.bluehost.com) (161.129.204.104) by xmail.bluehost.com with SMTP; 12 Feb 2008 18:16:34 -0000 Received: from box307.bluehost.com ([161.129.204.104] helo=email.prager.ws) by box307.bluehost.com with esmtpa (Exim 4.68) (envelope-from <[email protected]>) id 1JOzgI-0003d9-88 for [email protected]; Tue, 12 Feb 2008 11:16:34 -0700 MIME-Version: 1.0 Date: Tue, 12 Feb 2008 11:16:34 -0700 From: Bernd Prager <[email protected]> To: [email protected] Subject: declaration of fwide is missing Message-ID: <[email protected]> X-Sender: [email protected] User-Agent: RoundCube Webmail/0.1-rc1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Identified-User: {1020:box307.bluehost.com:pragerws:prager.ws} {sentby:smtp auth 161.129.204.104 authed with [email protected]} X-Virus-Checked: Checked by ClamAV on apache.org Hi, Trying to compile revision 620889 with g++ (GCC) 4.2.3 on cygwin CYGWIN_NT-5.1 1.5.25(0.156/4/2) gives me the error message: systemerrwriter.cpp: In static member function 'static bool log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bhelpersacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bSystemErrWriteracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bisWide()': systemerrwriter.cpp:55: error: 'fwide' was not declared in this scope Any suggestions or chance to fix it? Thanks a lot, -- Bernd Prager From [email protected] Wed Feb 13 00:06:18 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63155 invoked from network); 13 Feb 2008 00:06:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Feb 2008 00:06:18 -0000 Received: (qmail 20585 invoked by uid 500); 13 Feb 2008 00:06:11 -0000 Delivered-To: [email protected] Received: (qmail 20566 invoked by uid 500); 13 Feb 2008 00:06:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 20555 invoked by uid 99); 13 Feb 2008 00:06:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Feb 2008 16:06:10 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO QMTA02.westchester.pa.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2008 00:05:39 +0000 Received: from OMTA10.westchester.pa.mail.comcast.net ([161.129.204.104]) by QMTA02.westchester.pa.mail.comcast.net with comcast id omzV1Y00Z0cZkys5208e00; Wed, 13 Feb 2008 00:05:32 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by OMTA10.westchester.pa.mail.comcast.net with comcast id oo501Y00D0WxPNA3W00000; Wed, 13 Feb 2008 00:05:09 +0000 X-Authority-Analysis: v=1.0 c=1 a=XIv7op+KNpQsUHFVE1sQkw==:17 a=caZUitjqxht1qju1yAsA:9 a=-qzLjUePsPshY6BR--V3SrQwuEEA:4 a=WuK_CZDBSqoA:10 Message-Id: <[email protected]> From: Curt Arnold <[email protected]> To: "Log4CXX User" <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: declaration of fwide is missing Date: Tue, 12 Feb 2008 18:05:00 -0600 References: <[email protected]> X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org On Feb 12, 2008, at 12:16 PM, Bernd Prager wrote: > Hi, > > Trying to compile revision 620889 with g++ (GCC) 4.2.3 on cygwin > CYGWIN_NT-5.1 1.5.25(0.156/4/2) gives me the error message: > > systemerrwriter.cpp: In static member function 'static bool > log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bhelpersacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bSystemErrWriteracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bisWide()': > systemerrwriter.cpp:55: error: 'fwide' was not declared in this scope > > > Any suggestions or chance to fix it? > > Thanks a lot, > -- Bernd Prager > Update to rev 627193 and see if that fixes the problems. I added a test in configure.in to check for the presence of fwide() and appropriately stubbed parts of asyncappender and condition if APR_HAS_THREADS is 0. Was able to do "make" and "make check" without complaint with Cygwin using the autotools build after making those changes. Haven't tried Ant build yet. From [email protected] Thu Feb 14 16:06:09 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28717 invoked from network); 14 Feb 2008 16:06:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Feb 2008 16:06:09 -0000 Received: (qmail 2199 invoked by uid 500); 14 Feb 2008 16:06:02 -0000 Delivered-To: [email protected] Received: (qmail 2177 invoked by uid 500); 14 Feb 2008 16:06:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 2166 invoked by uid 99); 14 Feb 2008 16:06:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2008 08:06:02 -0800 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 (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.hitachisoft.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2008 16:05:18 +0000 Received: from stevepc (unknown [161.129.204.104]) by mail.hitachisoft.de (Postfix) with ESMTP id 03F874E670 for <[email protected]>; Thu, 14 Feb 2008 17:01:46 +0100 (CET) From: "Steve Brand" <[email protected]> To: <[email protected]> Subject: Double byte character support Date: Thu, 14 Feb 2008 16:04:17 -0000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0008_01C86F23.405C04D0" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AchvI0AuhTi9+AWSTl+NG2QxjEIGGw== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------=_NextPart_000_0008_01C86F23.405C04D0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, I am using log4cxx with wchar_t* strings as the filename for my fileappender, however when passing wchar_t* or stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bwstring to the LOG4CXX_DECODE_WCHAR macro it simply converts the double byte characters in the string to ?? symbols. And the file appender does not create correctly. Has anyone got experience with this or does log4cxx not support double byte characters for filenames at the moment? Thanks Steve Brand ------=_NextPart_000_0008_01C86F23.405C04D0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"MS Mincho"; panose-1:(562)509-4935;} @font-face {font-family:"\@MS Mincho"; panose-1:(562)509-4935;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:Arial; color:windowtext;} @page Section1 {size:595.3pt 841.9pt; margin:72.0pt 90.0pt 72.0pt 90.0pt;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-GB link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier = New"'>Hi,<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New"'>I am using log4cxx = with wchar_t* strings as the filename for my fileappender, however when = passing wchar_t* or stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bwstring to the LOG4CXX_DECODE_WCHAR macro it simply = converts the double byte characters in the string to ?? symbols. And the file = appender does not create correctly.<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New"'>Has anyone got = experience with this or does log4cxx not support double byte characters for = filenames at the moment?<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier = New"'>Thanks<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt; font-family:"Courier New"'>Steve Brand</span></font><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p= > </div> </body> </html> ------=_NextPart_000_0008_01C86F23.405C04D0-- From [email protected] Thu Feb 14 17:15:27 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51999 invoked from network); 14 Feb 2008 17:15:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Feb 2008 17:15:27 -0000 Received: (qmail 50671 invoked by uid 500); 14 Feb 2008 17:15:21 -0000 Delivered-To: [email protected] Received: (qmail 50392 invoked by uid 500); 14 Feb 2008 17:15:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 50381 invoked by uid 99); 14 Feb 2008 17:15:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2008 09:15:20 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO QMTA06.emeryville.ca.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2008 17:14:47 +0000 Received: from OMTA08.emeryville.ca.mail.comcast.net ([161.129.204.104]) by QMTA06.emeryville.ca.mail.comcast.net with comcast id pUrW1Y0040FhH24A602o00; Thu, 14 Feb 2008 17:14:39 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by OMTA08.emeryville.ca.mail.comcast.net with comcast id pVEk1Y0080WxPNA8U00000; Thu, 14 Feb 2008 17:14:54 +0000 X-Authority-Analysis: v=1.0 c=1 a=AXjNuZ1voMNrOcRvuegA:9 a=mN6FUp3iI9V5gxsnhEse7DhPyNcA:4 a=WuK_CZDBSqoA:10 Message-Id: <[email protected]> From: Curt Arnold <[email protected]> To: "Log4CXX User" <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: Double byte character support Date: Thu, 14 Feb 2008 11:14:44 -0600 References: <[email protected]> X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org On Feb 14, 2008, at 10:04 AM, Steve Brand wrote: > Hi, > > I am using log4cxx with wchar_t* strings as the filename for my > fileappender, however when passing wchar_t* or stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bwstring to the > LOG4CXX_DECODE_WCHAR macro it simply converts the double byte > characters in the string to ?? symbols. And the file appender does > not create correctly. > > Has anyone got experience with this or does log4cxx not support > double byte characters for filenames at the moment? > > Thanks > > Steve Brand I've been meaning to add at least one test around that since it appears to be a good intention that hasn't been checked. The APR docs aren't very clear what encoding they expect the file name to be in. The behavior could very well be platform specific. What platform are you running on and what is you current code page or encoding (type locale on Unix or Control Panel/Regional Settings on Windows)? Are you getting the expected content in your log files? There are unit tests around wide character log file content in the unit tests, so if your content is also messed up, that would suggest that log4cxx's CharsetEncoder and CharsetDecoder doesn't properly adjust to your platform. If those are good, then it is something specific to File and its interaction with APR. From [email protected] Thu Feb 14 17:27:47 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57392 invoked from network); 14 Feb 2008 17:27:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Feb 2008 17:27:46 -0000 Received: (qmail 73387 invoked by uid 500); 14 Feb 2008 17:27:40 -0000 Delivered-To: [email protected] Received: (qmail 73370 invoked by uid 500); 14 Feb 2008 17:27:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 73359 invoked by uid 99); 14 Feb 2008 17:27:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2008 09:27:40 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.hitachisoft.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2008 17:27:09 +0000 Received: from stevepc (unknown [161.129.204.104]) by mail.hitachisoft.de (Postfix) with ESMTP id 4AC654E5F3 for <[email protected]>; Thu, 14 Feb 2008 18:23:22 +0100 (CET) From: "Steve Brand" <[email protected]> To: "'Log4CXX User'" <[email protected]> Subject: RE: Double byte character support Date: Thu, 14 Feb 2008 17:25:54 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AchvLKZWtEhd+vpsRDupp1jVeFr1ywAAI54w X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 In-Reply-To: <[email protected]> Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org I am running on linux and windows but I'm primarily debugging on Windows so that's the platform I've seen this issue on. My encoding is English United kingdom (with may of the codepage conversion table options clicked. I send my log file content using wstring too e.g logTrace(wstring) and I've not been having problems. Its puzzling! To say the least. -----Original Message----- From: Curt Arnold [mailto:[email protected]] Sent: 14 February 2008 17:15 To: Log4CXX User Subject: Re: Double byte character support On Feb 14, 2008, at 10:04 AM, Steve Brand wrote: > Hi, > > I am using log4cxx with wchar_t* strings as the filename for my > fileappender, however when passing wchar_t* or stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bwstring to the > LOG4CXX_DECODE_WCHAR macro it simply converts the double byte > characters in the string to ?? symbols. And the file appender does > not create correctly. > > Has anyone got experience with this or does log4cxx not support > double byte characters for filenames at the moment? > > Thanks > > Steve Brand I've been meaning to add at least one test around that since it appears to be a good intention that hasn't been checked. The APR docs aren't very clear what encoding they expect the file name to be in. The behavior could very well be platform specific. What platform are you running on and what is you current code page or encoding (type locale on Unix or Control Panel/Regional Settings on Windows)? Are you getting the expected content in your log files? There are unit tests around wide character log file content in the unit tests, so if your content is also messed up, that would suggest that log4cxx's CharsetEncoder and CharsetDecoder doesn't properly adjust to your platform. If those are good, then it is something specific to File and its interaction with APR. From [email protected] Fri Feb 15 10:39:21 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35641 invoked from network); 15 Feb 2008 10:39:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Feb 2008 10:39:20 -0000 Received: (qmail 19113 invoked by uid 500); 15 Feb 2008 10:39:14 -0000 Delivered-To: [email protected] Received: (qmail 19085 invoked by uid 500); 15 Feb 2008 10:39:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 19074 invoked by uid 99); 15 Feb 2008 10:39:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Feb 2008 02:39:14 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO QMTA02.emeryville.ca.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Feb 2008 10:38:28 +0000 Received: from OMTA05.emeryville.ca.mail.comcast.net ([161.129.204.104]) by QMTA02.emeryville.ca.mail.comcast.net with comcast id pmDp1Y0070vp7WLA202000; Fri, 15 Feb 2008 10:38:34 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by OMTA05.emeryville.ca.mail.comcast.net with comcast id pmef1Y0010WxPNA8R00000; Fri, 15 Feb 2008 10:38:47 +0000 X-Authority-Analysis: v=1.0 c=1 a=QrQvw_fAOnFg99pCpwYA:9 a=p1fZYm8p5wwIf0X33TwLJFN8oDIA:4 a=9XSpoOj3B7kA:10 Message-Id: <[email protected]> From: Curt Arnold <[email protected]> To: "Log4CXX User" <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: Double byte character support Date: Fri, 15 Feb 2008 04:38:38 -0600 References: <[email protected]> X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org As of rev 627996, non-ascii file names seem to be working on Mac OS/X and Windows, however Ubuntu 7.01 still has the ? characters. After running the unit tests, src/test/resources should contain dom +superscript 3 and dom+ideographic 4. The ideograph displays on my Mac, but I just get a box on Windows, guess I don't have the asian fonts loaded. Feedback would good. If you want to analyze what is going on on Linux, that would be great. You could set a break point on Filacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetPath(Pool) which would be the entry point to encode the file path prior to an APR call. Likely, the call apr_os_locale_encoding() in charsetencoder.cpp is returning "C" which indicates that the current charset is just 7-bit ASCII and the proper response to that is to translate unrecognized characters as "?". From [email protected] Fri Feb 15 17:19:33 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70905 invoked from network); 15 Feb 2008 17:19:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Feb 2008 17:19:33 -0000 Received: (qmail 51231 invoked by uid 500); 15 Feb 2008 17:19:26 -0000 Delivered-To: [email protected] Received: (qmail 51126 invoked by uid 500); 15 Feb 2008 17:19:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 51076 invoked by uid 99); 15 Feb 2008 17:19:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Feb 2008 09:19:26 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Feb 2008 17:18:40 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1JQ4DF-0002iE-F7 for [email protected]; Fri, 15 Feb 2008 09:19:01 -0800 Message-ID: <[email protected]> Date: Fri, 15 Feb 2008 09:19:01 -0800 (PST) From: Vladimir Eremeev <[email protected]> To: [email protected] Subject: Where can I find examples of usage Log4cpp 1.0? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org Hi all. I would like to use Log4cpp in my application. I have downloaded the version 1.0 from http://log4cpp.sf.net The disribution has compiled and installed just fine, without errors. Then I have found this link, showing the basic usage of this facility. http://www.nabble.com/Wrapper-around-Log4cxx-td14951408.html However, this distribution doesn't contain any macros denoted in the examples. The file logger.h is also absent. What am I missing? -- View this message in context: http://www.nabble.com/Where-can-I-find-examples-of-usage-Log4cpp-1.0--tp15503958p15503958.html Sent from the Log4cxx - Users mailing list [email protected]. From [email protected] Fri Feb 15 17:45:49 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79915 invoked from network); 15 Feb 2008 17:45:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Feb 2008 17:45:49 -0000 Received: (qmail 33441 invoked by uid 500); 15 Feb 2008 17:45:42 -0000 Delivered-To: [email protected] Received: (qmail 33424 invoked by uid 500); 15 Feb 2008 17:45:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 33413 invoked by uid 99); 15 Feb 2008 17:45:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Feb 2008 09:45:42 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO pluto.phpwebhosting.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 15 Feb 2008 17:44:54 +0000 Received: (qmail 29331 invoked from network); 15 Feb 2008 17:30:26 -0000 Received: from unknown (HELO OCTOBER) (161.129.204.104) by pluto.phpwebhosting.com with SMTP; Fri, 15 Feb 2008 12:30:26 -0500 Reply-To: <[email protected]> From: "Stephen Bartnikowski" <[email protected]> To: "'Log4CXX User'" <[email protected]> References: <[email protected]> Subject: RE: Where can I find examples of usage Log4cpp 1.0? Date: Fri, 15 Feb 2008 11:48:02 -0600 Organization: Barking Lizards Technologies Message-ID: <000301c86ffa$e98e1890$97dea8c0@OCTOBER> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Thread-Index: Achv9N2QvRH4k5I1QAW1xWXJLRi4QQABa1zw X-Virus-Checked: Checked by ClamAV on apache.org > -----Original Message----- > From: Vladimir Eremeev [mailto:[email protected]] > Sent: Friday, February 15, 2008 11:19 AM > To: [email protected] > Subject: Where can I find examples of usage Log4cpp 1.0? > > > Hi all. > I would like to use Log4cpp in my application. > I have downloaded the version 1.0 from http://log4cpp.sf.net > > The disribution has compiled and installed just fine, without errors. > > Then I have found this link, showing the basic usage of this facility. > > http://www.nabble.com/Wrapper-around-Log4cxx-td14951408.html > > However, this distribution doesn't contain any macros denoted > in the examples. > The file logger.h is also absent. > > What am I missing? > -- > View this message in context: > http://www.nabble.com/Where-can-I-find-examples-of-usage-Log4c pp-1.0--tp15503958p15503958.html > Sent from the Log4cxx - Users mailing list [email protected]. > > Hello, I think you may have the wrong mailing list. This list is for log4cxx, which is not related to log4cpp. Does the log4cpp project have a mailing list that you can post your question to? Or maybe they have example code for their project? - Stephen From [email protected] Mon Feb 18 12:54:01 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77122 invoked from network); 18 Feb 2008 12:54:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Feb 2008 12:54:01 -0000 Received: (qmail 91804 invoked by uid 500); 18 Feb 2008 12:53:55 -0000 Delivered-To: [email protected] Received: (qmail 91778 invoked by uid 500); 18 Feb 2008 12:53:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 91767 invoked by uid 99); 18 Feb 2008 12:53:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2008 04:53:54 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.envox-lab.hr) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2008 12:53:22 +0000 Received: from [161.129.204.104] (helo=[161.129.204.104]) by mail.envox-lab.hr with esmtp (Exim 3.36 #1 (Debian)) id 1JR5Ul-0004PQ-00 for <[email protected]>; Mon, 18 Feb 2008 13:53:19 +0100 Message-ID: <[email protected]> Date: Mon, 18 Feb 2008 13:53:19 +0100 From: =?UTF-8?B?VG9taXNsYXYgUGV0cm92acSH?= <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:161.129.204.104) Gecko/20071031 Thunderbird/161.129.204.104 Mnenhy/161.129.204.1046 MIME-Version: 1.0 To: [email protected] Subject: log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bLoggerPtr becoming NULL Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I'm fresh user of log4cxx. Recently one of the larger projects in firm landed into my lap which uses log4cxx extensively, and crashes on customer site (our internal testing newer caught this :() due to following: I have a class which has private log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bLoggerPtr. In constructor it is initialized like: MyClass() : logger(log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bLoggeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLogger("someName")) { ... } Then it is used extensively in some other parts of code and in destructor it is set to NULL. Program crashes because at some point logger becomes NULL, actually operator-> method called on logger returns NULL. Since LOG4CXX_DEBUG macro does logger->isDebugEnabled() this crashes due to NULL pointer exception. My question is which method called external to my class can make logger (actually its underlying pointer) become NULL? I hope I managed to explain my problem, any help is appreciated. Thanks in advance, -- Tomy <[email protected]> From [email protected] Mon Feb 18 16:48:23 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48782 invoked from network); 18 Feb 2008 16:48:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Feb 2008 16:48:23 -0000 Received: (qmail 67852 invoked by uid 500); 18 Feb 2008 16:48:16 -0000 Delivered-To: [email protected] Received: (qmail 67831 invoked by uid 500); 18 Feb 2008 16:48:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 67820 invoked by uid 99); 18 Feb 2008 16:48:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2008 08:48:16 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO QMTA07.emeryville.ca.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2008 16:47:29 +0000 Received: from OMTA08.emeryville.ca.mail.comcast.net ([161.129.204.104]) by QMTA07.emeryville.ca.mail.comcast.net with comcast id r3Zd1Y05r0FhH24A702b00; Mon, 18 Feb 2008 16:47:26 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by OMTA08.emeryville.ca.mail.comcast.net with comcast id r4ne1Y00K0WxPNA8U00000; Mon, 18 Feb 2008 16:47:47 +0000 X-Authority-Analysis: v=1.0 c=1 a=fdE9t-a7y0D4RipEk6sA:9 a=Wrqk-Uj_99y0CyM7EFMT1m6bJtkA:4 a=WuK_CZDBSqoA:10 Message-Id: <[email protected]> From: Curt Arnold <[email protected]> To: "Log4CXX User" <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bLoggerPtr becoming NULL Date: Mon, 18 Feb 2008 10:47:37 -0600 References: <[email protected]> X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org On Feb 18, 2008, at 6:53 AM, Tomislav Petrovi=C4=87 wrote: > I'm fresh user of log4cxx. Recently one of the larger projects > in firm landed into my lap which uses log4cxx extensively, and > crashes on customer site (our internal testing newer caught this :() > due to following: > > I have a class which has private log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bLoggerPtr. > In constructor it is initialized like: > MyClass() > : logger(log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bLoggeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLogger("someName")) > { > ... > } > > Then it is used extensively in some other parts of code and in > destructor it is set to NULL. > > Program crashes because at some point logger becomes NULL, actually > operator-> method called on logger returns NULL. Since LOG4CXX_DEBUG > macro does logger->isDebugEnabled() this crashes due to NULL pointer =20= > exception. > > My question is which method called external to my class can make =20 > logger (actually its underlying pointer) become NULL? > That should not happen unless other code intentionally bypasses the =20 enforcement of the private visibility. log4cxx does not maintain any =20= list of LoggerPtr's or push changes out to them. The only way that a =20= LoggerPtr should become null would be if some code outside of log4cxx =20= set it or if the LoggerPtr was destructed. > I hope I managed to explain my problem, any help is appreciated. I think it is more likely that an instance of MyClass is used after =20 destruction. Something like: MyClass* instance =3D new MyClass(); delete instance; instance->doSomething(); could trigger the issue. If you are running on Linux, I'd suggest running your application =20 under Valgrind and see if it reports anything suspicious. If other =20 platforms, then something like Purify or BoundsChecker might help =20 identify the problem.= From [email protected] Tue Feb 19 08:08:05 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 452 invoked from network); 19 Feb 2008 08:08:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Feb 2008 08:08:05 -0000 Received: (qmail 62316 invoked by uid 500); 19 Feb 2008 08:07:59 -0000 Delivered-To: [email protected] Received: (qmail 62293 invoked by uid 500); 19 Feb 2008 08:07:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 62282 invoked by uid 99); 19 Feb 2008 08:07:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2008 00:07:59 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.envox-lab.hr) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2008 08:07:26 +0000 Received: from [161.129.204.104] (helo=[161.129.204.104]) by mail.envox-lab.hr with esmtp (Exim 3.36 #1 (Debian)) id 1JRNVk-0001jA-00 for <[email protected]>; Tue, 19 Feb 2008 09:07:32 +0100 Message-ID: <[email protected]> Date: Tue, 19 Feb 2008 09:07:32 +0100 From: =?UTF-8?B?VG9taXNsYXYgUGV0cm92acSH?= <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:161.129.204.104) Gecko/20071031 Thunderbird/161.129.204.104 Mnenhy/161.129.204.1046 MIME-Version: 1.0 To: Log4CXX User <[email protected]> Subject: Re: log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bLoggerPtr becoming NULL References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Curt Arnold said on 18.2.2008 17:47: > > That should not happen unless other code intentionally bypasses the > enforcement of the private visibility. log4cxx does not maintain any > list of LoggerPtr's or push changes out to them. The only way that a > LoggerPtr should become null would be if some code outside of log4cxx > set it or if the LoggerPtr was destructed. OK, thanks for the info. > I think it is more likely that an instance of MyClass is used after > destruction. Something like: > > MyClass* instance = new MyClass(); > delete instance; > instance->doSomething(); > > could trigger the issue. Unfortunately it is not that simple :). MyClass instance is very much alive :(. Inside one of the MyClass methods, for example I have code like this: LOG4CXX_DEBUG(logger, "log something") simple statement (or few statements) which does not do anything with logger LOG4CXX_DEBUG(logger, "log something else") And during its execution first LOG4CXX_DEBUG passes ok, and second one crashes. After examining crash dump and the dissasembly around statements when it crashed this happens (roughly speaking). Method operator-> is called on logger, it returns NULL and isDebugEnabled is called on this NULL and this crashes. As I said above what puzzles me is that first call to function with identical code (just the string logged is different) passes ok. Has anything similar been reported before against log4cxx since we are using older SVN trunk version (i think is it revision 47476)??? A bit more info is that this doesn't happen on any of our testing systems but happens on customer production machine. The only thing this machine has and our testing machines don't is 8 (16 virtual ones) processors (our testing ones have two at the most - 4 virtual). > > If you are running on Linux, I'd suggest running your application under > Valgrind and see if it reports anything suspicious. If other platforms, > then something like Purify or BoundsChecker might help identify the > problem. > I'm on Windows, we have tried BoundsChecker, nothing suspicious except one memory leak has been discovered. :( -- Tomy <[email protected]> From [email protected] Tue Feb 19 08:32:50 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9697 invoked from network); 19 Feb 2008 08:32:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Feb 2008 08:32:49 -0000 Received: (qmail 92890 invoked by uid 500); 19 Feb 2008 08:32:44 -0000 Delivered-To: [email protected] Received: (qmail 92868 invoked by uid 500); 19 Feb 2008 08:32:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 92857 invoked by uid 99); 19 Feb 2008 08:32:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2008 00:32:43 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.envox-lab.hr) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2008 08:32:11 +0000 Received: from [161.129.204.104] (helo=[161.129.204.104]) by mail.envox-lab.hr with esmtp (Exim 3.36 #1 (Debian)) id 1JRNtg-0001rO-00 for <[email protected]>; Tue, 19 Feb 2008 09:32:16 +0100 Message-ID: <[email protected]> Date: Tue, 19 Feb 2008 09:32:16 +0100 From: =?UTF-8?B?VG9taXNsYXYgUGV0cm92acSH?= <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:161.129.204.104) Gecko/20071031 Thunderbird/161.129.204.104 Mnenhy/161.129.204.1046 MIME-Version: 1.0 To: Log4CXX User <[email protected]> Subject: Re: log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bLoggerPtr becoming NULL References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Curt Arnold said on 18.2.2008 17:47: > > That should not happen unless other code intentionally bypasses the > enforcement of the private visibility. log4cxx does not maintain any > list of LoggerPtr's or push changes out to them. The only way that a > LoggerPtr should become null would be if some code outside of log4cxx > set it or if the LoggerPtr was destructed. > OK, a bit more info. MyClass instances are being created and their method executed by many simultaneous threads. So effectively we might have log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bLoggeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLogger("identicalName") from many threads simultaneously. Can the behavior we are experiencing be somehow related to the problems described in https://issues.apache.org/jira/browse/LOGCXX-132 ??? When were issues described there fixed, we still might have them since we are using relatively old version (1+ year old :( - company policy not to update anything unless proven there is a problem in old version which is fixed in new one). -- Tomy <[email protected]> From [email protected] Tue Feb 19 09:16:05 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30353 invoked from network); 19 Feb 2008 09:16:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Feb 2008 09:16:05 -0000 Received: (qmail 55526 invoked by uid 500); 19 Feb 2008 09:15:59 -0000 Delivered-To: [email protected] Received: (qmail 55504 invoked by uid 500); 19 Feb 2008 09:15:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 55493 invoked by uid 99); 19 Feb 2008 09:15:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2008 01:15:59 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO QMTA05.westchester.pa.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2008 09:15:25 +0000 Received: from OMTA13.westchester.pa.mail.comcast.net ([161.129.204.104]) by QMTA05.westchester.pa.mail.comcast.net with comcast id rM8Q1Y00717dt5G5501600; Tue, 19 Feb 2008 09:15:05 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by OMTA13.westchester.pa.mail.comcast.net with comcast id rMFN1Y0040WxPNA3Z00000; Tue, 19 Feb 2008 09:15:32 +0000 X-Authority-Analysis: v=1.0 c=1 a=_7yzs6zmHxS-2Ft9lqgA:9 a=KODR4Cmi8_4CQ6AFaZkA:7 a=JSqWsc8D4Y601BzSWpDJt1sa2lAA:4 a=WuK_CZDBSqoA:10 Message-Id: <[email protected]> From: Curt Arnold <[email protected]> To: "Log4CXX User" <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bLoggerPtr becoming NULL Date: Tue, 19 Feb 2008 03:15:22 -0600 References: <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org On Feb 19, 2008, at 2:07 AM, Tomislav Petrovi=C4=87 wrote: > Curt Arnold said on 18.2.2008 17:47: >> That should not happen unless other code intentionally bypasses the =20= >> enforcement of the private visibility. log4cxx does not maintain =20 >> any list of LoggerPtr's or push changes out to them. The only way =20= >> that a LoggerPtr should become null would be if some code outside =20 >> of log4cxx set it or if the LoggerPtr was destructed. > > OK, thanks for the info. > >> I think it is more likely that an instance of MyClass is used after =20= >> destruction. Something like: >> MyClass* instance =3D new MyClass(); >> delete instance; >> instance->doSomething(); >> could trigger the issue. > > Unfortunately it is not that simple :). MyClass instance is very much > alive :(. > Inside one of the MyClass methods, for example I have code like this: > > LOG4CXX_DEBUG(logger, "log something") > simple statement (or few statements) which does not do anything with =20= > logger > LOG4CXX_DEBUG(logger, "log something else") Is "logger" a static class member, class member, or an local =20 variable? You said in your other message that would might be calling =20= Loggeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLogger() from many threads which would not be the case if =20 you were using a static class member. > > > And during its execution first LOG4CXX_DEBUG passes ok, and second =20 > one crashes. After examining crash dump and the dissasembly around =20 > statements when it crashed this happens (roughly speaking). > Method operator-> is called on logger, it returns NULL and =20 > isDebugEnabled is called on this NULL and this crashes. > > As I said above what puzzles me is that first call to function with =20= > identical code (just the string logged is different) passes ok. > > Has anything similar been reported before against log4cxx since we =20 > are using older SVN trunk version (i think is it revision 47476)??? > > A bit more info is that this doesn't happen on any of our testing =20 > systems but happens on customer production machine. The only thing =20 > this machine has and our testing machines don't is 8 (16 virtual =20 > ones) processors (our testing ones have two at the most - 4 virtual). > >> If you are running on Linux, I'd suggest running your application =20 >> under Valgrind and see if it reports anything suspicious. If other =20= >> platforms, then something like Purify or BoundsChecker might help =20 >> identify the problem. > > I'm on Windows, we have tried BoundsChecker, nothing suspicious =20 > except one memory leak has been discovered. :( > Don't know how cooperative your client is, but having someone being =20 able to reproduce the problem is key to figuring out how to avoid it. =20= Some possible experiments would be: 1. Attempt to substantially reduce or eliminate calls to =20 Loggeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLogger() on non-main threads and see if the problem goes =20 away. 2. Update to SVN HEAD and see if the problem goes away. 3. Fabricate a test case that mimics the logging behavior of the =20 application and attach to a bug report. If the code can run or easily =20= be ported to Linux, I could run it under helgrind to check for =20 synchronization issues. It would also be be useful to know: does the =20= code fail on the client's machine with your snapshot of log4cxx and =20 does it fail when built with the current head.= From [email protected] Tue Feb 19 09:36:30 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42709 invoked from network); 19 Feb 2008 09:36:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Feb 2008 09:36:30 -0000 Received: (qmail 77700 invoked by uid 500); 19 Feb 2008 09:36:24 -0000 Delivered-To: [email protected] Received: (qmail 77679 invoked by uid 500); 19 Feb 2008 09:36:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 77666 invoked by uid 99); 19 Feb 2008 09:36:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2008 01:36:24 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.envox-lab.hr) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2008 09:35:51 +0000 Received: from [161.129.204.104] (helo=[161.129.204.104]) by mail.envox-lab.hr with esmtp (Exim 3.36 #1 (Debian)) id 1JROtJ-0002Kn-00 for <[email protected]>; Tue, 19 Feb 2008 10:35:57 +0100 Message-ID: <[email protected]> Date: Tue, 19 Feb 2008 10:35:57 +0100 From: =?UTF-8?B?VG9taXNsYXYgUGV0cm92acSH?= <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:161.129.204.104) Gecko/20071031 Thunderbird/161.129.204.104 Mnenhy/161.129.204.1046 MIME-Version: 1.0 To: Log4CXX User <[email protected]> Subject: When will log4cxx 0.10 be released? References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org When will next version (I guess 0.10) of log4cxx be released? -- Tomy <[email protected]> From [email protected] Tue Feb 19 11:09:03 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83741 invoked from network); 19 Feb 2008 11:09:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Feb 2008 11:09:03 -0000 Received: (qmail 14827 invoked by uid 500); 19 Feb 2008 11:08:57 -0000 Delivered-To: [email protected] Received: (qmail 14564 invoked by uid 500); 19 Feb 2008 11:08:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 14552 invoked by uid 99); 19 Feb 2008 11:08:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2008 03:08:56 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.envox-lab.hr) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2008 11:08:11 +0000 Received: from [161.129.204.104] (helo=[161.129.204.104]) by mail.envox-lab.hr with esmtp (Exim 3.36 #1 (Debian)) id 1JRQKt-00031b-00 for <[email protected]>; Tue, 19 Feb 2008 12:08:31 +0100 Message-ID: <[email protected]> Date: Tue, 19 Feb 2008 12:08:31 +0100 From: =?UTF-8?B?VG9taXNsYXYgUGV0cm92acSH?= <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:161.129.204.104) Gecko/20071031 Thunderbird/161.129.204.104 Mnenhy/161.129.204.1046 MIME-Version: 1.0 To: Log4CXX User <[email protected]> Subject: Re: log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bLoggerPtr becoming NULL References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Curt Arnold said on 19.2.2008 10:15: > First of all, many many thanks for your prompt responses. > On Feb 19, 2008, at 2:07 AM, Tomislav Petrović wrote: >> Unfortunately it is not that simple :). MyClass instance is very much >> alive :(. >> Inside one of the MyClass methods, for example I have code like this: >> >> LOG4CXX_DEBUG(logger, "log something") >> simple statement (or few statements) which does not do anything with >> logger >> LOG4CXX_DEBUG(logger, "log something else") > > > Is "logger" a static class member, class member, or an local variable? > You said in your other message that would might be calling > Loggeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLogger() from many threads which would not be the case if you > were using a static class member. logger is a class member being initialized with Loggeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLogger() in some initialization method of class, this initialization method is called for each class instance once in separate thread so there is possibility that two instances have their initialization methods called simultaneously. So since we are using revision 474761 (sorry missed last 1 in first post), is it possible this is related to https://issues.apache.org/jira/browse/LOGCXX-132? In which revision where problems described there fixed? > > Don't know how cooperative your client is, but having someone being able > to reproduce the problem is key to figuring out how to avoid it. Some > possible experiments would be: > > 1. Attempt to substantially reduce or eliminate calls to > Loggeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLogger() on non-main threads and see if the problem goes away. > 2. Update to SVN HEAD and see if the problem goes away. > 3. Fabricate a test case that mimics the logging behavior of the > application and attach to a bug report. If the code can run or easily > be ported to Linux, I could run it under helgrind to check for > synchronization issues. It would also be be useful to know: does the > code fail on the client's machine with your snapshot of log4cxx and does > it fail when built with the current head. > Code fails on client machine with our snapshot (revision 474761). I'll think about all of those possibilities and see which I can try with the client, thanks. -- Tomy <[email protected]> From [email protected] Tue Feb 19 15:51:52 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74679 invoked from network); 19 Feb 2008 15:51:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Feb 2008 15:51:52 -0000 Received: (qmail 88153 invoked by uid 500); 19 Feb 2008 15:51:45 -0000 Delivered-To: [email protected] Received: (qmail 88129 invoked by uid 500); 19 Feb 2008 15:51:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 88118 invoked by uid 99); 19 Feb 2008 15:51:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2008 07:51:45 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO QMTA05.emeryville.ca.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2008 15:51:11 +0000 Received: from OMTA09.emeryville.ca.mail.comcast.net ([161.129.204.104]) by QMTA05.emeryville.ca.mail.comcast.net with comcast id rTLy1Y0020S2fkCA501q00; Tue, 19 Feb 2008 15:50:36 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by OMTA09.emeryville.ca.mail.comcast.net with comcast id rTqT1Y00C0WxPNA8V00000; Tue, 19 Feb 2008 15:51:10 +0000 X-Authority-Analysis: v=1.0 c=1 a=2FuauVN1CP57BqdQiA8A:9 a=gj33BE1Pj3JBuJBSCGo3R6CHpi4A:4 a=WuK_CZDBSqoA:10 Message-Id: <[email protected]> From: Curt Arnold <[email protected]> To: "Log4CXX User" <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: When will log4cxx 0.10 be released? Date: Tue, 19 Feb 2008 09:50:26 -0600 References: <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org On Feb 19, 2008, at 3:35 AM, Tomislav Petrovi=C4=87 wrote: > When will next version (I guess 0.10) of log4cxx be released? > I am hoping to get an initial release candidate out today. I'd expect =20= to come out with a second release candidate in a week or so after =20 having done a release for cpptasks, and polishing up some of the =20 documentation and fixing any minor issues that come out in testing. =20 At that point, I'd expect to call for a vote to accept one of the =20 release candidates as 0.10.0.= From [email protected] Tue Feb 19 17:03:16 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15096 invoked from network); 19 Feb 2008 17:03:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Feb 2008 17:03:16 -0000 Received: (qmail 49182 invoked by uid 500); 19 Feb 2008 17:03:10 -0000 Delivered-To: [email protected] Received: (qmail 49157 invoked by uid 500); 19 Feb 2008 17:03:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 49146 invoked by uid 99); 19 Feb 2008 17:03:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2008 09:03:10 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.converteam.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2008 17:02:38 +0000 Subject: Where to find cpptasks 1.0b5 ? To: [email protected] X-Mailer: Lotus Notes Release 7.0.2 September 26, 2006 Message-ID: <[email protected]> From: [email protected] Date: Tue, 19 Feb 2008 18:01:19 +0100 X-MIMETrack: Serialize by Router on G-WWH20/SRV/ALSTOM(Release 7.0.2|September 26, 2006) at 19/02/2008 18:10:14 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hello ! It seems that cpptasks version 1.0b5 is necessary to compile log4cxx. Where can I find it ? Sourceforge seems to have only version 1.0b4 Thanks in advance, Fran=E7ois Vandewalle :.________________ VERTRAULICHKEIT: Dieses e-mail und alle angeh=E4ngten Dateien sind vertraulich und privilegiert. Sollten Sie nicht als namentlicher Empf=E4= nger aufgef=FChrt sein, informieren Sie unverz=FCglich den Absender und mach= en Sie den Inhalt nicht f=FCr Dritte zug=E4nglich, noch darf dieser gedruckt o= der f=FCr andere Zwecke verwendet, kopiert oder auf irgend einem Medium gespeiche= rt werden. CONFIDENTIALITY : This e-mail and any attachments are confidential a= nd may be privileged. If you are not a named recipient, please notify the= sender immediately and do not disclose the contents to another person, = use it for any purpose or store or copy the information in any medium. Converteam GmbH; Sitz der Gesellschaft: Berlin; Registergericht: Amtsgericht Berlin-Charlottenburg, HRB 98787; USt.-IdNr.: DE 814488407;= Gesch=E4ftsf=FChrung: Joachim R=F6ski, Alfred Stobbe; Aufsichtsratsvors= itzender: Pierre Bastid; Niederlassung Wien registriert beim Handelsgericht Wien:= FN 273852z Converteam GmbH; Registered Office: Berlin; Court of Registry: Amtsgeri= cht Berlin-Charlottenburg; HRB 98787; VAT-IdNo.: DE 814488407; Management Board: Joachim R=F6ski, Alfred Stobbe; Chairman of Supervisory Board: P= ierre Bastid; Vienna Office registered at Vienna Commercial Court: FN 273852z= = From [email protected] Tue Feb 19 17:43:07 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35759 invoked from network); 19 Feb 2008 17:43:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Feb 2008 17:43:05 -0000 Received: (qmail 21384 invoked by uid 500); 19 Feb 2008 17:42:59 -0000 Delivered-To: [email protected] Received: (qmail 21366 invoked by uid 500); 19 Feb 2008 17:42:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 21355 invoked by uid 99); 19 Feb 2008 17:42:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2008 09:42:59 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO QMTA02.westchester.pa.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2008 17:42:12 +0000 Received: from OMTA01.westchester.pa.mail.comcast.net ([161.129.204.104]) by QMTA02.westchester.pa.mail.comcast.net with comcast id rVfG1Y0280EZKEL5200400; Tue, 19 Feb 2008 17:42:09 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by OMTA01.westchester.pa.mail.comcast.net with comcast id rViK1Y00L0WxPNA3M00000; Tue, 19 Feb 2008 17:42:28 +0000 X-Authority-Analysis: v=1.0 c=1 a=v_v1z2ZNMHKIUqSA7rkA:9 a=Qkea3no7FRP_coyaaIg56s1x71YA:4 a=vNbNCmB08gIA:10 a=WuK_CZDBSqoA:10 Message-Id: <[email protected]> From: Curt Arnold <[email protected]> To: "Log4CXX User" <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: Where to find cpptasks 1.0b5 ? Date: Tue, 19 Feb 2008 11:42:19 -0600 References: <[email protected]> X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org On Feb 19, 2008, at 11:01 AM, [email protected] wrote: > Hello ! > > It seems that cpptasks version 1.0b5 is necessary to compile log4cxx. > Where can I find it ? > Sourceforge seems to have only version 1.0b4 > > > Thanks in advance, > > Fran=E7ois Vandewalle > I'm pushing both toward release as a log4cxx release needs unreleased =20= features in cpptasks. At the moment, you need to build cpptasks from =20= the SVN HEAD. I'm going to get a release candidate out for log4cxx =20 0.10.0 and then get a release out for cpptasks before a vote on a =20 log4cxx release.= From [email protected] Tue Feb 19 17:49:05 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38581 invoked from network); 19 Feb 2008 17:49:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Feb 2008 17:49:05 -0000 Received: (qmail 29284 invoked by uid 500); 19 Feb 2008 17:48:59 -0000 Delivered-To: [email protected] Received: (qmail 29266 invoked by uid 500); 19 Feb 2008 17:48:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 29255 invoked by uid 99); 19 Feb 2008 17:48:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2008 09:48:59 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO QMTA06.westchester.pa.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2008 17:48:12 +0000 Received: from OMTA07.westchester.pa.mail.comcast.net ([161.129.204.104]) by QMTA06.westchester.pa.mail.comcast.net with comcast id rVmG1Y0061GhbT85600Q00; Tue, 19 Feb 2008 17:48:10 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by OMTA07.westchester.pa.mail.comcast.net with comcast id rVoM1Y00N0WxPNA3T00000; Tue, 19 Feb 2008 17:48:31 +0000 X-Authority-Analysis: v=1.0 c=1 a=mV9VRH-2AAAA:8 a=jynW9pBPj4rmeg81cIwA:9 a=udeCBQgj67C5OOpviSuBvzlxaeEA:4 a=WuK_CZDBSqoA:10 Message-Id: <[email protected]> From: Curt Arnold <[email protected]> To: "Log4CXX User" <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bLoggerPtr becoming NULL Date: Tue, 19 Feb 2008 11:48:21 -0600 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org On Feb 19, 2008, at 5:08 AM, Tomislav Petrovi=C4=87 wrote: > Curt Arnold said on 19.2.2008 10:15: > > First of all, many many thanks for your prompt responses. > >> On Feb 19, 2008, at 2:07 AM, Tomislav Petrovi=C4=87 wrote: >>> Unfortunately it is not that simple :). MyClass instance is very =20 >>> much >>> alive :(. >>> Inside one of the MyClass methods, for example I have code like =20 >>> this: >>> >>> LOG4CXX_DEBUG(logger, "log something") >>> simple statement (or few statements) which does not do anything =20 >>> with logger >>> LOG4CXX_DEBUG(logger, "log something else") >> Is "logger" a static class member, class member, or an local =20 >> variable? You said in your other message that would might be =20 >> calling Loggeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLogger() from many threads which would not be =20 >> the case if you were using a static class member. > > logger is a class member being initialized with Loggeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLogger() =20= > in some initialization method of class, this initialization method =20 > is called for each class instance once in separate thread so there =20 > is possibility that two instances have their initialization methods =20= > called > simultaneously. > I don't see a mechanism for a fault in Loggeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLogger() to affect =20 an already initialized LoggerPtr. If you are initializing logger in =20 an initialization method per instance, then there is the possibility =20 that the initialization method has been skipped. You could move the =20 initialization back into the object constructor to make sure there is =20= not a path to attempt to use logger before it is initialized, though =20 it would be better to push it back even further and make it a static =20 member. > So since we are using revision 474761 (sorry missed last 1 in first =20= > post), is it possible this is related to = https://issues.apache.org/jira/browse/LOGCXX-132?=20 > In which revision where problems described there fixed? According to the Subversion Commits page on the bug, the last commit =20 against the bug was rev 407850. So it looks like you have all the =20 LOGCXX-132 fixes. > > > >> Don't know how cooperative your client is, but having someone being =20= >> able to reproduce the problem is key to figuring out how to avoid =20 >> it. Some possible experiments would be: >> 1. Attempt to substantially reduce or eliminate calls to =20 >> Loggeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLogger() on non-main threads and see if the problem goes =20= >> away. >> 2. Update to SVN HEAD and see if the problem goes away. >> 3. Fabricate a test case that mimics the logging behavior of the =20 >> application and attach to a bug report. If the code can run or =20 >> easily be ported to Linux, I could run it under helgrind to check =20 >> for synchronization issues. It would also be be useful to know: =20 >> does the code fail on the client's machine with your snapshot of =20 >> log4cxx and does it fail when built with the current head. > > Code fails on client machine with our snapshot (revision 474761). > > I'll think about all of those possibilities and see which I can try =20= > with the client, thanks. > Another possibility would be to change the definitions of the =20 LOG4CXX_level macros in logger.h et al to check for null-ness before =20 checked isEnabledFor. That is a design inherited from log4j and log4j =20= would throw a NPE if you attempted to log on a null logger. You'd =20 lose logging, if it was only a log4cxx issue, then that might be =20 acceptible. If you are seeing in one straight code path the logger go from non-=20 null to null, perhaps another thread has deleted you in the interim. =20= I'd expect that if that happened, if you got past the logging =20 statement something else would quickly blow up From [email protected] Tue Feb 19 19:54:32 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13748 invoked from network); 19 Feb 2008 19:54:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Feb 2008 19:54:32 -0000 Received: (qmail 13981 invoked by uid 500); 19 Feb 2008 19:54:27 -0000 Delivered-To: [email protected] Received: (qmail 13692 invoked by uid 500); 19 Feb 2008 19:54:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 13681 invoked by uid 99); 19 Feb 2008 19:54:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2008 11:54:26 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO xmrc0101.northgrum.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2008 19:53:37 +0000 Received: from xbhc0001.northgrum.com ([161.129.204.104]) by xmrc0101.northgrum.com with InterScan Message Security Suite; Tue, 19 Feb 2008 12:05:38 -0800 Received: from XBHTX102.northgrum.com ([161.129.204.104]) by xbhc0001.northgrum.com over TLS secured channel with Microsoft SMTPSVC(562)509-4935); Tue, 19 Feb 2008 11:53:55 -0800 Received: from XMBTX123.northgrum.com ([161.129.204.104]) by XBHTX102.northgrum.com over TLS secured channel with Microsoft SMTPSVC(562)509-4935); Tue, 19 Feb 2008 13:53:41 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Log4cxx - Illegal argument exception from charsetencoder.cpp:74 Date: Tue, 19 Feb 2008 13:53:40 -0600 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Log4cxx - Illegal argument exception from charsetencoder.cpp:74 Thread-Index: AchT2540Nuig2PX2SbS+fwGDT4NUMgN/Rz8gBFWWq8A= References: <[email protected]> <[email protected]> <[email protected]> From: "Wilfong, Paul" <[email protected]> To: "Log4CXX User" <[email protected]> X-OriginalArrivalTime: 19 Feb 2008 19:53:41.0376 (UTC) FILETIME=[205F3000:01C87331] X-Virus-Checked: Checked by ClamAV on apache.org Ok - We finally found out that the problem with this was our Sun setup. At some point in the distant past, someone installed Subversion on this Sun, either as part of the Eclipse/Subclipse installation, or an aborted attempt to do a direct Subversion install. Part of this resulted in the population of "usr/local/*" folders with a bunch of GNU stuff. For instance, an "iconv.h" file is in our "/usr/local/include" folder, and there is another one in our "/usr/include" folder, and they are not the same. The former has "lib" in front of a lot of things that the latter does not, for example. When a program is built it seems to look at "/usr/local/*" first, so that the iconv.h from "/usr/local/include" was being used for our builds. In particular, the ./configure for APR-UTIL was using this iconv.h file, then failing on an iconv test, leading to "apu.h" setting APR_HAS_XLATE to 0, with the final result of our log4cxx build getting the "APRCharsetDecoder has not been declared" message. Our solution is to do "export CFLAGS=3D-isystem/usr/include" and "export CPPFLAGS=3D-isystem/usr/include" which forces the builds to ignore the "/usr/local" path. Then we do ./configure and make for APR-UTIL, and the subsequent log4cxx build, and the problem goes away. - Paul W -----Original Message----- From: Wilfong, Paul [mailto:[email protected]]=20 Sent: Monday, January 28, 2008 10:16 AM To: Log4CXX User Subject: RE: Log4cxx - Illegal argument exception from charsetencoder.cpp:74 Hi, I obtained the latest log4cxx.tar.gz from http://littletux.homelinux.org/log4cxx/ and also the latest versions of apr and apr-util (1.2.12). I rebuilt apr and apr-util using the normal "configure-make-make install" cycle. Now when I do ./configure and make for log4cxx I see the following output at the point where charsetdecoder.cpp is being compiled: "error: "APRCharsetDecoder" has not been declared". I plan to next try the "configure-make-make install" cycle for apr-util, this time defining --with-iconv, where I hope to find an iconv library for the "xxx" on the Sun I am using for this work. Any ideas would be greatly appreciated. - Paul W -----Original Message----- From: Curt Arnold [mailto:[email protected]] Sent: Thursday, January 10, 2008 2:52 PM To: Log4CXX User Subject: Re: Log4cxx - Illegal argument exception from charsetencoder.cpp:74 On Jan 10, 2008, at 4:13 PM, Wilfong, Paul wrote: > Hi, > > I have tried to build log4cxx as an "so" library on a Sun computer=20 > (Sun OS 5.10). Everyting seems to build Ok (as described below). > > This computer is a standalone - my company won't let it be connected=20 > to the internet. > > Now I have written a program that builds, but when run, a=20 > log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bhelpersacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bIllegalArgumentException is thrown from=20 > charsetencoder.cpp:74. The constructor of APRCharsetEncoder uses > apr_xlate_open() with arguments of frompage=3D"UTF-8" and=20 > topage=3DAPR_LOCALE_CHARSET. The latter is a specially handled value > (defined to be 0x01), meant to return the system's locale charset. =20 > This call to apr_xlate_open() is failing. The exact output is: > > terminate called after throwing an instance of=20 > 'log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bhelpersacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bIllegalArgumentException' > what(): APR_LOCALE_CHARSET > > Here are the build details (some "--with" paths are not shown): > 1. Build apr: > extract apr-1.2.9.tar > configure > make (actually, use gmake not make!) 2. Build apr-iconv: > extract apr-iconv-1.2.1.tar > configure --with-apr > make > 3. Build apr-util: > extract apr-util-1.2.8.tar > configure --with apr -- with-iconv > make > 4. Build log4cxx: > extract log4cxx.0.10.tar > configure --with-apr --with-apr-util > edit log4cxx.10.10.0/libtool > < postdeps=3D"-lstdc++ -lm -R/usr/sfw/lib -lgcc_s -R/usr/sfw/ = lib > -lgcc_s" > < posteps=3D"-lm -R/usr/sfw/lib -lgcc_s -R/usr/sfw/lib -lgcc_s" > make LDFLAGS=3D/path/to/libapriconv-1.so 5. Build the application = > and try to execute it. At this point the failure described above=20 > occurs. > > When apr-util (1.2.8) is not configured to use apr-iconv (1.2.1) then=20 > CharsetDecoderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8breateDefaultDecoder() #errors out during compilation, > complaining that no charset decoder is available. > > When apr-util is configured to use apr-iconv, APRCharsetDecoder throws > a log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bhelpersacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bIllegalArgumentException at runtime (from=20 > charsetencoder.cpp:74). This happens because apr_xlate_open() calls=20 > apr_iconv_open(), which returns an error value of 22. A comment on=20 > APR_CharsetDecoder says it "requires real iconv implementation, apr-=20 > iconv will crash in use." Maybe that's what's happening. > > Any assistance would be greatly appreciated. > APR_LOCALE_CHARSET is not used in the current implementation of charsetencoder. Also, the #error has been removed. Could you update to the current log4cxx code and see if you still have the same issue? From [email protected] Fri Feb 22 01:10:54 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81495 invoked from network); 22 Feb 2008 01:10:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Feb 2008 01:10:53 -0000 Received: (qmail 71486 invoked by uid 500); 22 Feb 2008 01:10:47 -0000 Delivered-To: [email protected] Received: (qmail 71468 invoked by uid 500); 22 Feb 2008 01:10:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 71457 invoked by uid 99); 22 Feb 2008 01:10:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2008 17:10:46 -0800 X-ASF-Spam-Status: No, hits=-1.8 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO xmrc0101.northgrum.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Feb 2008 01:10:10 +0000 Received: from xbhc0001.northgrum.com ([161.129.204.104]) by xmrc0101.northgrum.com with InterScan Message Security Suite; Thu, 21 Feb 2008 17:22:02 -0800 Received: from XBHTX102.northgrum.com ([161.129.204.104]) by xbhc0001.northgrum.com over TLS secured channel with Microsoft SMTPSVC(562)509-4935); Thu, 21 Feb 2008 17:10:17 -0800 Received: from XMBTX123.northgrum.com ([161.129.204.104]) by XBHTX102.northgrum.com over TLS secured channel with Microsoft SMTPSVC(562)509-4935); Thu, 21 Feb 2008 19:10:16 -0600 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C874EF.AF39C9B9" Subject: Log4cxx - use of "location" X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Thu, 21 Feb 2008 19:10:14 -0600 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Log4cxx - use of "location" Thread-Index: Ach0762/wUat+uYyQ0+VXDWrqfu7iA== From: "Wilfong, Paul" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 22 Feb 2008 01:10:16.0716 (UTC) FILETIME=[AF4D8CC0:01C874EF] X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C874EF.AF39C9B9 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I can't seem to be able to get the "location" functionality right. I'm running a C++ program with log4cxx, using the XMLAppender to write to a socket. The log4cxx properties file has the "locationInformation" property set to true for this appender. On the receiving machine I have SimpleSocketReceiver running with the XML plugin, and appending to LogFactor5. On the LogFactor5 display the "location" column shows "?.?(?:?)". I have tried to use spiacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bLocationInfo to set the three arguments as seen in "http://www.nabble.com/PatternLayouts-td13849523.html", but no luck. Any assistance will be greatly appreciated. ------_=_NextPart_001_01C874EF.AF39C9B9 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 6.5.7652.24"> <TITLE>Log4cxx - use of &quot;location&quot;</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P><FONT SIZE=3D2 FACE=3D"Arial">I can't seem to be able to get the = &quot;location&quot; functionality right.</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial">I'm running a C++ program with log4cxx, = using the XMLAppender to write to a socket.&nbsp; The log4cxx properties = file has the &quot;locationInformation&quot; property set to true for = this appender.</FONT></P> <P><FONT SIZE=3D2 FACE=3D"Arial">On the receiving machine I have = SimpleSocketReceiver running with the XML plugin, and appending to = LogFactor5.</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial">On the LogFactor5 display the = &quot;location&quot; column shows &quot;?.?(?:?)&quot;.</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial">I have tried to use spiacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bLocationInfo = to set the three arguments as seen in &quot;</FONT><A = HREF=3D"http://www.nabble.com/PatternLayouts-td13849523.html"><U><FONT = COLOR=3D"#0000FF" SIZE=3D2 = FACE=3D"Arial">http://www.nabble.com/PatternLayouts-td13849523.html</FONT= ></U></A><FONT SIZE=3D2 FACE=3D"Arial">&quot;, but no luck.</FONT></P> <P><FONT SIZE=3D2 FACE=3D"Arial">Any assistance will be greatly = appreciated.</FONT> </P> <BR> </BODY> </HTML> ------_=_NextPart_001_01C874EF.AF39C9B9-- From [email protected] Fri Feb 22 03:51:44 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41924 invoked from network); 22 Feb 2008 03:51:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Feb 2008 03:51:44 -0000 Received: (qmail 88728 invoked by uid 500); 22 Feb 2008 03:51:38 -0000 Delivered-To: [email protected] Received: (qmail 88444 invoked by uid 500); 22 Feb 2008 03:51:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 88433 invoked by uid 99); 22 Feb 2008 03:51:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2008 19:51:37 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO QMTA03.westchester.pa.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Feb 2008 03:51:02 +0000 Received: from OMTA07.westchester.pa.mail.comcast.net ([161.129.204.104]) by QMTA03.westchester.pa.mail.comcast.net with comcast id sRjR1Y02X1GhbT85304p00; Fri, 22 Feb 2008 03:50:41 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by OMTA07.westchester.pa.mail.comcast.net with comcast id sTr01Y0060WxPNA3T00000; Fri, 22 Feb 2008 03:51:10 +0000 X-Authority-Analysis: v=1.0 c=1 a=9I5xiGouAAAA:8 a=1gP64iJPi2stwWV7vhcA:9 a=5S-Pm4R5BMeK_5MgmEIA:7 a=u7bPtQXvJ9Xj7qb8igqBnb_aypcA:4 a=WuK_CZDBSqoA:10 Message-Id: <[email protected]> From: Curt Arnold <[email protected]> To: "Log4CXX User" <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: Log4cxx - use of "location" Date: Thu, 21 Feb 2008 21:50:59 -0600 References: <[email protected]> X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org On Feb 21, 2008, at 7:10 PM, Wilfong, Paul wrote: > I can't seem to be able to get the "location" functionality right. > > I'm running a C++ program with log4cxx, using the XMLAppender to > write to a socket. The log4cxx properties file has the > "locationInformation" property set to true for this appender. > > On the receiving machine I have SimpleSocketReceiver running with > the XML plugin, and appending to LogFactor5. > > On the LogFactor5 display the "location" column shows "?.?(?:?)". > > I have tried to use spiacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bLocationInfo to set the three arguments as > seen in "http://www.nabble.com/PatternLayouts-td13849523.html", but > no luck. > > Any assistance will be greatly appreciated. > > Have no clue with LogFactor 5. Maybe some of Chainsaw's history might help. Chainsaw previously used log4j 1.3 (now abandoned) which had an incompatible serialization format for events. Chainsaw would then see locations from log4j 1.3 apps, but not from log4j 1.2 apps. Chainsaw has been migrated back to being based on log4j 1.2 + companions which contain backports of log4j 1.3 features that it used, but it has not been pushed for release (on my list after log4cxx and cpptasks) which will now receive location from log4j 1.2 and log4cxx apps, but will lose the location from log4j 1.3 apps. I'm guessing that your LogFactor 5 might be based on log4j 1.3. Sorry I can't help more than that. Can your LogFactor 5 see events from a log4j 1.2 app? Also, are you using the LOG4CXX_INFO et al macros. If you are just doing logger->info("Hello, World"), no location information is available and there is no (at least no portable way) to get it from the context. From [email protected] Fri Feb 22 16:01:33 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49095 invoked from network); 22 Feb 2008 16:01:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Feb 2008 16:01:33 -0000 Received: (qmail 83052 invoked by uid 500); 22 Feb 2008 16:01:21 -0000 Delivered-To: [email protected] Received: (qmail 82980 invoked by uid 500); 22 Feb 2008 16:01:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 82707 invoked by uid 99); 22 Feb 2008 16:01:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Feb 2008 08:01:20 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=FM_FAKE_HELO_VERIZON,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO vms042pub.verizon.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Feb 2008 16:00:34 +0000 Received: from black ([161.129.204.104]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <[email protected]> for [email protected]; Fri, 22 Feb 2008 09:53:01 -0600 (CST) Received: from bob by black with local (Exim 4.67) (envelope-from <[email protected]>) id 1JSaCq-0007qN-A4 for [email protected]; Fri, 22 Feb 2008 10:53:00 -0500 Date: Fri, 22 Feb 2008 10:53:00 -0500 From: Bob Rossi <[email protected]> Subject: releasing 0.10.0 To: [email protected] Mail-followup-to: [email protected] Message-id: <[email protected]> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline User-Agent: Mutt/1.5.15+20070412 (2007-04-11) X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm not sure what your release process is, but I would like to ensure that log4cxx still builds on mingw/msys before it's official. Are you going to put a release candidate up at some point? Thanks, Bob Rossi From [email protected] Fri Feb 22 16:32:51 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62527 invoked from network); 22 Feb 2008 16:32:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Feb 2008 16:32:50 -0000 Received: (qmail 51511 invoked by uid 500); 22 Feb 2008 16:32:44 -0000 Delivered-To: [email protected] Received: (qmail 51488 invoked by uid 500); 22 Feb 2008 16:32:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 51477 invoked by uid 99); 22 Feb 2008 16:32:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Feb 2008 08:32:43 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO pluto.phpwebhosting.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 22 Feb 2008 16:31:57 +0000 Received: (qmail 9822 invoked from network); 22 Feb 2008 16:16:32 -0000 Received: from unknown (HELO OCTOBER) (161.129.204.104) by pluto.phpwebhosting.com with SMTP; Fri, 22 Feb 2008 11:16:32 -0500 Reply-To: <[email protected]> From: "Stephen Bartnikowski" <[email protected]> To: "'Log4CXX User'" <[email protected]> References: <[email protected]> Subject: RE: releasing 0.10.0 Date: Fri, 22 Feb 2008 10:32:16 -0600 Organization: Barking Lizards Technologies Message-ID: <000401c87570$7cdd3d40$97dea8c0@OCTOBER> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Thread-Index: Ach1af77qkltOmQYSiKAdKIzlsB4KQABhPEg In-Reply-To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org > -----Original Message----- > From: Bob Rossi [mailto:[email protected]] > Sent: Friday, February 22, 2008 9:53 AM > To: [email protected] > Subject: releasing 0.10.0 > > Hi, > > I'm not sure what your release process is, but I would like > to ensure that log4cxx still builds on mingw/msys before it's > official. Are you going to put a release candidate up at some point? > > Thanks, > Bob Rossi Not that I can speak for Curt, but it sounded like at least two RCs were going to made available and that a voting process would be required to make an RC the ... uh ... gold master ... not that anything's getting burned. So yeah, I would hope the users list would get an opportunity to say yea or nea on the candidate. - Stephen From [email protected] Fri Feb 22 16:39:55 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67818 invoked from network); 22 Feb 2008 16:39:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Feb 2008 16:39:54 -0000 Received: (qmail 64099 invoked by uid 500); 22 Feb 2008 16:39:49 -0000 Delivered-To: [email protected] Received: (qmail 64061 invoked by uid 500); 22 Feb 2008 16:39:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 64050 invoked by uid 99); 22 Feb 2008 16:39:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Feb 2008 08:39:49 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO QMTA06.emeryville.ca.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Feb 2008 16:39:14 +0000 Received: from OMTA09.emeryville.ca.mail.comcast.net ([161.129.204.104]) by QMTA06.emeryville.ca.mail.comcast.net with comcast id sbXd1Y0040S2fkCA60QA00; Fri, 22 Feb 2008 16:38:59 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by OMTA09.emeryville.ca.mail.comcast.net with comcast id sgfC1Y00J0WxPNA8V00000; Fri, 22 Feb 2008 16:39:22 +0000 X-Authority-Analysis: v=1.0 c=1 a=mV9VRH-2AAAA:8 a=ZXr448B1hG9-de142RcA:9 a=s4EwLhetmsjSDt7QQVIA:7 a=edzi5_xC4GxYHqM6NxbGw5EfAjIA:4 a=WuK_CZDBSqoA:10 Message-Id: <[email protected]> From: Curt Arnold <[email protected]> To: "Log4CXX User" <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: releasing 0.10.0 Date: Fri, 22 Feb 2008 10:39:12 -0600 References: <[email protected]> X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org On Feb 22, 2008, at 9:53 AM, Bob Rossi wrote: > Hi, > > I'm not sure what your release process is, but I would like to ensure > that log4cxx still builds on mingw/msys before it's official. Are you > going to put a release candidate up at some point? > > Thanks, > Bob Rossi It does build, but two unit tests fail on that platform that work everyplace else. I'm not set up for MinGW debugging and am willing to release with that as a platform note, but if you'd be able to kill them off that would be even better. However, it would need to be in the next hour or so to make the first release candidate. Here is the bug report: https://issues.apache.org/jira/browse/LOGCXX-244 autotools build instructions are in src/site/apr/building/autotools.apt If you are willing to dive in, please give an immediate heads up. From [email protected] Fri Feb 22 16:49:03 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74857 invoked from network); 22 Feb 2008 16:49:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Feb 2008 16:49:03 -0000 Received: (qmail 84388 invoked by uid 500); 22 Feb 2008 16:48:50 -0000 Delivered-To: [email protected] Received: (qmail 84373 invoked by uid 500); 22 Feb 2008 16:48:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 84354 invoked by uid 99); 22 Feb 2008 16:48:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Feb 2008 08:48:50 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=FM_FAKE_HELO_VERIZON,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO vms042pub.verizon.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Feb 2008 16:48:16 +0000 Received: from black ([161.129.204.104]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <[email protected]> for [email protected]; Fri, 22 Feb 2008 10:42:26 -0600 (CST) Received: from bob by black with local (Exim 4.67) (envelope-from <[email protected]>) id 1JSayg-0008Ld-8g for [email protected]; Fri, 22 Feb 2008 11:42:26 -0500 Date: Fri, 22 Feb 2008 11:42:26 -0500 From: Bob Rossi <[email protected]> Subject: Re: releasing 0.10.0 In-reply-to: <[email protected]> To: Log4CXX User <[email protected]> Mail-followup-to: Log4CXX User <[email protected]> Message-id: <[email protected]> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline References: <[email protected]> <[email protected]> User-Agent: Mutt/1.5.15+20070412 (2007-04-11) X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Feb 22, 2008 at 10:39:12AM -0600, Curt Arnold wrote: > > On Feb 22, 2008, at 9:53 AM, Bob Rossi wrote: > >> Hi, >> >> I'm not sure what your release process is, but I would like to ensure >> that log4cxx still builds on mingw/msys before it's official. Are you >> going to put a release candidate up at some point? >> >> Thanks, >> Bob Rossi > > It does build, but two unit tests fail on that platform that work > everyplace else. I'm not set up for MinGW debugging and am willing to > release with that as a platform note, but if you'd be able to kill them off > that would be even better. However, it would need to be in the next hour > or so to make the first release candidate. > > Here is the bug report: https://issues.apache.org/jira/browse/LOGCXX-244 > > autotools build instructions are in src/site/apr/building/autotools.apt > > If you are willing to dive in, please give an immediate heads up. Nope, can't provide immediate support. Sorry. I just wanted to make sure things build and run reasonably well. Seems like you have this automated? I'm actually using the gcc-4.x release series that mingw has now. Bob Rossi From [email protected] Sat Feb 23 09:36:49 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31555 invoked from network); 23 Feb 2008 09:36:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Feb 2008 09:36:49 -0000 Received: (qmail 7494 invoked by uid 500); 23 Feb 2008 09:36:43 -0000 Delivered-To: [email protected] Received: (qmail 7468 invoked by uid 500); 23 Feb 2008 09:36:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 7265 invoked by uid 99); 23 Feb 2008 09:36:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Feb 2008 01:36:42 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO QMTA09.westchester.pa.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Feb 2008 09:35:53 +0000 Received: from OMTA03.westchester.pa.mail.comcast.net ([161.129.204.104]) by QMTA09.westchester.pa.mail.comcast.net with comcast id sxY11Y0040bG4ec5900C00; Sat, 23 Feb 2008 09:35:23 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by OMTA03.westchester.pa.mail.comcast.net with comcast id sxc41Y0010WxPNA3P00000; Sat, 23 Feb 2008 09:36:13 +0000 X-Authority-Analysis: v=1.0 c=1 a=mV9VRH-2AAAA:8 a=fxJcL_dCAAAA:8 a=eQdhNDXQ2Q4ZFEEyKyoA:9 a=QyLLp5WSp_lhwZY2oZoA:7 a=yWRV9xrMp21LebNlkjU0GOlOdy8A:4 a=y3xH-nyP6ssA:10 Message-Id: <[email protected]> From: Curt Arnold <[email protected]> To: Log4CXX Dev <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: [VOTE] log4cxx 0.10.0 release candidate Date: Sat, 23 Feb 2008 03:36:03 -0600 Cc: Log4CXX User <[email protected]>, Logging General <[email protected]> X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org log4cxx 0.10.0 RC2 is now available for review for release on the unofficial builds area. This release candidate is strictly provided for consideration for release, may be withdrawn and will be removed from the publication location at the conclusion of the voting period. RC2 is currently available at: http://people.apache.org/builds/logging/log4cxx/0.10.0/apache-log4cxx-0.10.0-rc2.tar.gz MD5(apache-log4cxx-0.10.0-rc2.tar.gz)= e50730742e18d3a72aa17ae1c2c673ce http://people.apache.org/builds/logging/log4cxx/0.10.0/apache-log4cxx-0.10.0-rc2.zip MD5(apache-log4cxx-0.10.0-rc2.zip)= f8b4f9855a2088aa14654885cd9535f0 The corresponding web content can be viewed directly from the staging SVN: http://svn.apache.org/repos/asf/logging/site/trunk/docs/log4cxx/index.html The corresponding source is available at: svn co http://svn.apache.org/repos/asf/logging/log4cxx/tags/v0_10_0-rc2 log4cxx 0.10.0 RC1 was withdrawn before publication. I believe that the release candidate is viable for release with two condition, the publication of a corresponding 1.0b5 of cpptasks and the conclusion of a vote by February 29th. Rev 158 of cpptasks was used in the preparation of the release candidate and the generated project files should not change. I'm a project admin of cpptasks and intend to have that release out by mid-week next week. The change log has a prospective release date of 2008-02-29, if procedural issues make that date unobtainable then a rebuild to change the date will be necessary. The download links in the staged and embedded web content point to the anticipated location after the release is completed. The mirrors link will bring up a list of mirrors, but they won't have the file yet. The mirrors page will not be displayed with Safari due to an known issue with Safari. Unzipping the .tar.gz may result in a warning message that a lone zero [email protected]. That is a known issue with Maven (and previously with Ant) and does not affect the usability of the archive. The release candidate was prepared using the following software (listed in order of impact on contents of the release): doxygen 1.4.6 cpptasks rev 158 installed as 1.0b5. Apache Maven 2.0.8 APR 1.2.11 source unzipped as a sibling to the log4cxx directory. APR-Util 1.2.10 source unzipped as a sibling. Ubuntu 6.06.1-desktop-i386 (using VM from http://isv-image.ubuntu.com/vmware/) gcc 4.0.3 Sun Java 1.6.0-b105 Attempting to build the release image from a non-Unix platform should produce flawed Xcode projects. However, any Unix derived OS would be expected to product relatively close approximations of the release candidate. The following steps can be used to prepare local builds of the release candidate for comparison: tar -xvzf apr-1.2.11.tar.gz mv apr-1.2.11 apr tar -xvzf apr-util-1.2.10.tar.gz mv apr-util-1.2.10 apr-util export PATH=~/apache-maven-2.0.8/bin:$PATH svn co http://svn.apache.org/repos/asf/logging/log4cxx/tags/v0_10_0- rc2 log4cxx cd log4cxx mvn site assembly:assembly The contents of the src directory should be identical to the src directory of the SVN tag. The contents of the root directory should be identical to the SVN tag except that it does not contain doap- log4cxx.rdf which provides the description of the log4cxx project for http://projects.apache.org . The site directory is generated by Maven and the projects directory is generated by cpptasks the raw output of both which are tweaked by the Ant script during assembly preparation. mvn rat:check can be used from the root directory to generate a report on the presence of Apache License Headers, NOTICE and LICENSE files. The report will be produced in target/rat.txt. The only source files without License Headers are in src/test/resources/witness and are reference log files used during the unit test and should fall under the exclusions of the ASF Source License Header Policy. The release candidate has no internal markings that it is not an official release. If accepted, the archive files will simply be renamed and placed in the main distribution directory for synchronization to the mirrors and a digital signature will be prepared. Release will require at least 3 +1 votes from Logging Service PMC members. However, votes from other parties and any feedback or experiences with the release candidate are greatly desired. Given the current makeup of the project, I would expect the PMC members would verify the procedural and legal issues themselves (which is their major responsibility on a release review) but would rely on community feedback the content of the release. It would be helpful if you would report any observations, particularly successes or failures building from the release candidate (compiler vendor and version, platform, etc) along with your +1, 0 or -1. PMC members should identify their votes as binding. I'd expect that PMC members would hold their votes until there is some feedback from the user community. This will be a combined PMC and log4cxx-dev vote, a separate PMC vote will not be called. Unless the candidate is withdrawn, voting should be open until 06:00 GMT 2008-02-29. All discussion should occur on [email protected] . For background on Apache voting, release procedures, etc: http://www.apache.org/dev/release.html http://www.apache.org/legal/src-headers.html http://www.apache.org/foundation/voting.html From [email protected] Sun Feb 24 14:55:36 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43624 invoked from network); 24 Feb 2008 14:55:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Feb 2008 14:55:36 -0000 Received: (qmail 79032 invoked by uid 500); 24 Feb 2008 14:55:30 -0000 Delivered-To: [email protected] Received: (qmail 78997 invoked by uid 500); 24 Feb 2008 14:55:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 78975 invoked by uid 99); 24 Feb 2008 14:55:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Feb 2008 06:55:29 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO rubixinfotech.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Feb 2008 14:54:54 +0000 In-Reply-To: <[email protected]> Subject: Re: [VOTE] log4cxx 0.10.0 release candidate To: "Log4CXX User" <[email protected]>, Log4CXX Dev <[email protected]> Message-ID: <[email protected]> Date: Sun, 24 Feb 2008 09:56:15 -0500 From: [email protected] MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Found a couple of issues on Solaris 8 with Sun One Studio: Issue 1. The "ant" build doesn't work =========================== It gives errors about nested comments in the project element. I also noticed that ant thinks we're trying to build on Windows. The command I used was: ant -Dapr.dir=/export/home/renny/apr-1.2.12 -Dapr-util.dir=/export/home/renny/apr-util-1.2.12 -Dcompiler=CC -Ddebug=true This is with the latest ant. So... I switched to the autoconf/automake build... Issue 2. Most of the headers that use LOG4CXX_PTR_DEF have a semicolon (;) following the invocation of that macro. ========================================================================================= Unfortunately, Sun Studio sees this as an error, and stops. I fixed it by running the following command, which removed the semi-colon following the invocation of the macro. I also noticed that some files already had the correct usage. find . -name \*.h|xargs grep -l "PTR_DEF.*;$"| xargs -i -t perl -i -p -e "s/(PTR_DEF[^;]*);$/\1/" {} The only one that was missed was smtpappender.h, which apparently has lots of spaces after the invokation, thereby causing my search/replace to fail on it (I had not antcipated that). So I manually edited the file: src/main/include/log4cxx/net/smtpappender.h Status: ===== Right now I'm stuck on some locale issues... will keep posting updates as I have them. Renny Koshy President & CEO -------------------------------------------- RUBIX Information Technologies, Inc. www.rubixinfotech.com Curt Arnold <[email protected] rg> To Log4CXX Dev 02/23/2008 04:36 <[email protected]> AM cc Log4CXX User <[email protected]>, Please respond to Logging General "Log4CXX User" <[email protected]> <log4cxx-user@log Subject ging.apache.org> [VOTE] log4cxx 0.10.0 release candidate log4cxx 0.10.0 RC2 is now available for review for release on the unofficial builds area. This release candidate is strictly provided for consideration for release, may be withdrawn and will be removed from the publication location at the conclusion of the voting period. RC2 is currently available at: http://people.apache.org/builds/logging/log4cxx/0.10.0 /apache-log4cxx-0.10.0-rc2.tar.gz MD5(apache-log4cxx-0.10.0-rc2.tar.gz)= e50730742e18d3a72aa17ae1c2c673ce http://people.apache.org/builds/logging/log4cxx/0.10.0 /apache-log4cxx-0.10.0-rc2.zip MD5(apache-log4cxx-0.10.0-rc2.zip)= f8b4f9855a2088aa14654885cd9535f0 The corresponding web content can be viewed directly from the staging SVN: http://svn.apache.org/repos/asf/logging/site/trunk/docs/log4cxx/index.html The corresponding source is available at: svn co http://svn.apache.org/repos/asf/logging/log4cxx/tags/v0_10_0-rc2 log4cxx 0.10.0 RC1 was withdrawn before publication. I believe that the release candidate is viable for release with two condition, the publication of a corresponding 1.0b5 of cpptasks and the conclusion of a vote by February 29th. Rev 158 of cpptasks was used in the preparation of the release candidate and the generated project files should not change. I'm a project admin of cpptasks and intend to have that release out by mid-week next week. The change log has a prospective release date of 2008-02-29, if procedural issues make that date unobtainable then a rebuild to change the date will be necessary. The download links in the staged and embedded web content point to the anticipated location after the release is completed. The mirrors link will bring up a list of mirrors, but they won't have the file yet. The mirrors page will not be displayed with Safari due to an known issue with Safari. Unzipping the .tar.gz may result in a warning message that a lone zero [email protected]. That is a known issue with Maven (and previously with Ant) and does not affect the usability of the archive. The release candidate was prepared using the following software (listed in order of impact on contents of the release): doxygen 1.4.6 cpptasks rev 158 installed as 1.0b5. Apache Maven 2.0.8 APR 1.2.11 source unzipped as a sibling to the log4cxx directory. APR-Util 1.2.10 source unzipped as a sibling. Ubuntu 6.06.1-desktop-i386 (using VM from http://isv-image.ubuntu.com/vmware/) gcc 4.0.3 Sun Java 1.6.0-b105 Attempting to build the release image from a non-Unix platform should produce flawed Xcode projects. However, any Unix derived OS would be expected to product relatively close approximations of the release candidate. The following steps can be used to prepare local builds of the release candidate for comparison: tar -xvzf apr-1.2.11.tar.gz mv apr-1.2.11 apr tar -xvzf apr-util-1.2.10.tar.gz mv apr-util-1.2.10 apr-util export PATH=~/apache-maven-2.0.8/bin:$PATH svn co http://svn.apache.org/repos/asf/logging/log4cxx/tags/v0_10_0- rc2 log4cxx cd log4cxx mvn site assembly:assembly The contents of the src directory should be identical to the src directory of the SVN tag. The contents of the root directory should be identical to the SVN tag except that it does not contain doap- log4cxx.rdf which provides the description of the log4cxx project for http://projects.apache.org . The site directory is generated by Maven and the projects directory is generated by cpptasks the raw output of both which are tweaked by the Ant script during assembly preparation. mvn rat:check can be used from the root directory to generate a report on the presence of Apache License Headers, NOTICE and LICENSE files. The report will be produced in target/rat.txt. The only source files without License Headers are in src/test/resources/witness and are reference log files used during the unit test and should fall under the exclusions of the ASF Source License Header Policy. The release candidate has no internal markings that it is not an official release. If accepted, the archive files will simply be renamed and placed in the main distribution directory for synchronization to the mirrors and a digital signature will be prepared. Release will require at least 3 +1 votes from Logging Service PMC members. However, votes from other parties and any feedback or experiences with the release candidate are greatly desired. Given the current makeup of the project, I would expect the PMC members would verify the procedural and legal issues themselves (which is their major responsibility on a release review) but would rely on community feedback the content of the release. It would be helpful if you would report any observations, particularly successes or failures building from the release candidate (compiler vendor and version, platform, etc) along with your +1, 0 or -1. PMC members should identify their votes as binding. I'd expect that PMC members would hold their votes until there is some feedback from the user community. This will be a combined PMC and log4cxx-dev vote, a separate PMC vote will not be called. Unless the candidate is withdrawn, voting should be open until 06:00 GMT 2008-02-29. All discussion should occur on [email protected] . For background on Apache voting, release procedures, etc: http://www.apache.org/dev/release.html http://www.apache.org/legal/src-headers.html http://www.apache.org/foundation/voting.html From [email protected] Tue Feb 26 18:04:47 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13528 invoked from network); 26 Feb 2008 18:04:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2008 18:04:47 -0000 Received: (qmail 67239 invoked by uid 500); 26 Feb 2008 18:04:42 -0000 Delivered-To: [email protected] Received: (qmail 66952 invoked by uid 500); 26 Feb 2008 18:04:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 66941 invoked by uid 99); 26 Feb 2008 18:04:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2008 10:04:41 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtp-gsi.geckosoftware.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2008 18:04:05 +0000 Received: from [161.129.204.104] (gecko.geckosoftware.com [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by detroit.geckosoftware.com (Postfix) with ESMTP id 9BD203000A5 for <[email protected]>; Tue, 26 Feb 2008 11:04:14 -0700 (MST) Message-ID: <[email protected]> Date: Tue, 26 Feb 2008 11:04:30 -0700 From: "Jacob L. Anawalt" <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20071031) MIME-Version: 1.0 To: [email protected] Subject: Seeking documentation Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello, I'm starting to try log4cxx in a C++ program developed on Debian 4.0 (etch). I read the short introduction [1] and then adapted information from there into my program. It has been pleasant to have everything so far 'just work'. I think I am now to the point where I understand everything in the introduction, but am not familiar enough with log4cxx, or even log4j, to make the jump from the introduction to the doxygen reference. After reading the brief FAQ on the wiki, trying for a couple of weeks to hit links to the mailing lists and other places pointing to the unresponsive nagoya.apache.org [2,3,4,5], and reading log4j articles I feel only slightly closer to my current questions and others that loom on the horizon. Are there any other suggested places to read about implementing, configuring and using log4cxx? Should all the nagaya references be replaced with service names like mail-archives or issues? [6] [1] http://logging.apache.org/log4cxx/manual.html [2] http://wiki.apache.org/logging-log4cxx/ (link to search user mailing list archives) [3] http://marc.info/?l=log4cxx-user&m=114413383713402&w=2 [4] http://www.apache.org/dev/machines.html#nagoya [5] http://monitoring.apache.org/status/ [6] http://[email protected]%3E -- Jacob Anawalt Gecko Software, Inc. [email protected] (562)509-4935 From [email protected] Tue Feb 26 18:39:48 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38818 invoked from network); 26 Feb 2008 18:39:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2008 18:39:47 -0000 Received: (qmail 45503 invoked by uid 500); 26 Feb 2008 18:39:40 -0000 Delivered-To: [email protected] Received: (qmail 45469 invoked by uid 500); 26 Feb 2008 18:39:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 45405 invoked by uid 99); 26 Feb 2008 18:39:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2008 10:39:40 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO rubixinfotech.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2008 18:39:04 +0000 In-Reply-To: <[email protected]> Subject: Re: Seeking documentation To: "Log4CXX User" <[email protected]> Message-ID: <[email protected]> Date: Tue, 26 Feb 2008 13:40:17 -0500 From: [email protected] MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Jacob - Try this link -- it's a good tutorial on Log4J -- the concepts apply to Log4CXX directly: http://www.vipan.com/htdocs/log4jhelp.html Renny Koshy President & CEO -------------------------------------------- RUBIX Information Technologies, Inc. www.rubixinfotech.com "Jacob L. Anawalt" <janawalt@geckoso To ftware.com> [email protected] cc 02/26/2008 01:04 PM Subject Seeking documentation Please respond to "Log4CXX User" <log4cxx-user@log ging.apache.org> Hello, I'm starting to try log4cxx in a C++ program developed on Debian 4.0 (etch). I read the short introduction [1] and then adapted information from there into my program. It has been pleasant to have everything so far 'just work'. I think I am now to the point where I understand everything in the introduction, but am not familiar enough with log4cxx, or even log4j, to make the jump from the introduction to the doxygen reference. After reading the brief FAQ on the wiki, trying for a couple of weeks to hit links to the mailing lists and other places pointing to the unresponsive nagoya.apache.org [2,3,4,5], and reading log4j articles I feel only slightly closer to my current questions and others that loom on the horizon. Are there any other suggested places to read about implementing, configuring and using log4cxx? Should all the nagaya references be replaced with service names like mail-archives or issues? [6] [1] http://logging.apache.org/log4cxx/manual.html [2] http://wiki.apache.org/logging-log4cxx/ (link to search user mailing list archives) [3] http://marc.info/?l=log4cxx-user&m=114413383713402&w=2 [4] http://www.apache.org/dev/machines.html#nagoya [5] http://monitoring.apache.org/status/ [6] http://[email protected]%3E -- Jacob Anawalt Gecko Software, Inc. [email protected] (562)509-4935 From [email protected] Tue Feb 26 19:22:07 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58452 invoked from network); 26 Feb 2008 19:22:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2008 19:22:07 -0000 Received: (qmail 65753 invoked by uid 500); 26 Feb 2008 19:22:01 -0000 Delivered-To: [email protected] Received: (qmail 65735 invoked by uid 500); 26 Feb 2008 19:22:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 65712 invoked by uid 99); 26 Feb 2008 19:22:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2008 11:22:01 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-in-04.arcor-online.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2008 19:21:24 +0000 Received: from mail-in-04-z2.arcor-online.net (mail-in-04-z2.arcor-online.net [161.129.204.104]) by mail-in-04.arcor-online.net (Postfix) with ESMTP id ADB121873F7; Tue, 26 Feb 2008 20:21:30 +0100 (CET) Received: from mail-in-16.arcor-online.net (mail-in-16.arcor-online.net [161.129.204.104]) by mail-in-04-z2.arcor-online.net (Postfix) with ESMTP id 99FBAABE87; Tue, 26 Feb 2008 20:21:30 +0100 (CET) Received: from [161.129.204.104] (dslb-084-057-244-161.pools.arcor-ip.net [161.129.204.104]) by mail-in-16.arcor-online.net (Postfix) with ESMTP id 54C44236E43; Tue, 26 Feb 2008 20:21:30 +0100 (CET) Message-ID: <[email protected]> Date: Tue, 26 Feb 2008 20:21:30 +0100 From: Andreas Fester <[email protected]> User-Agent: Mozilla-Thunderbird 161.129.204.104 (X11/20071008) MIME-Version: 1.0 To: Log4CXX Dev <[email protected]> CC: Log4CXX User <[email protected]> Subject: Re: [VOTE] log4cxx 0.10.0 release candidate References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.92.1/6003/Tue Feb 26 12:34:31 2008 on mail-in-16.arcor-online.net X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org Hi Curt, I dont currently have much time to work on log4cxx, but a quick review of the .tar.gz file at least showed that the UNIX configure script is missing. This results in a dependency on the GNU autotools to generate the configure script and the Makefile.in's before building, instead of the straightforward ./configure; ./make; ./make install. For me, this is a must have to get the new version into the Debian distribution. Using the ant build system would add a build dependency on Java, which looks a littlebit heavy for me. Since you are using ubuntu to build the source package anyway, would it be possible to create the dist tarball with the GNU autotools approach? Or, if the "officially defined" way to create the package is the maven/ant approach, at least, I would like to have the necessary autotools files available in SVN. These are basically the Makefile.in's and a bunch of other generated files, like aclocal.m4, config.guess, configure etc. Any thoughts? Thanks, Andreas Curt Arnold wrote: > log4cxx 0.10.0 RC2 is now available for review for release on the > unofficial builds area. This release candidate is strictly provided > for consideration for release, may be withdrawn and will be removed > from the publication location at the conclusion of the voting period. > RC2 is currently available at: > > http://people.apache.org/builds/logging/log4cxx/0.10.0/apache-log4cxx-0.10.0-rc2.tar.gz > > MD5(apache-log4cxx-0.10.0-rc2.tar.gz)= e50730742e18d3a72aa17ae1c2c673ce > > http://people.apache.org/builds/logging/log4cxx/0.10.0/apache-log4cxx-0.10.0-rc2.zip > > MD5(apache-log4cxx-0.10.0-rc2.zip)= f8b4f9855a2088aa14654885cd9535f0 > > The corresponding web content can be viewed directly from the staging > SVN: > http://svn.apache.org/repos/asf/logging/site/trunk/docs/log4cxx/index.html > > > The corresponding source is available at: > svn co http://svn.apache.org/repos/asf/logging/log4cxx/tags/v0_10_0-rc2 > > log4cxx 0.10.0 RC1 was withdrawn before publication. > > I believe that the release candidate is viable for release with two > condition, the publication of a corresponding 1.0b5 of cpptasks and > the conclusion of a vote by February 29th. Rev 158 of cpptasks was > used in the preparation of the release candidate and the generated > project files should not change. I'm a project admin of cpptasks and > intend to have that release out by mid-week next week. > > The change log has a prospective release date of 2008-02-29, if > procedural issues make that date unobtainable then a rebuild to change > the date will be necessary. > > The download links in the staged and embedded web content point to the > anticipated location after the release is completed. The mirrors link > will bring up a list of mirrors, but they won't have the file yet. > The mirrors page will not be displayed with Safari due to an known > issue with Safari. > > Unzipping the .tar.gz may result in a warning message that a lone zero > [email protected]. That is a known issue with Maven (and previously with > Ant) and does not affect the usability of the archive. > > The release candidate was prepared using the following software > (listed in order of impact on contents of the release): > > doxygen 1.4.6 > cpptasks rev 158 installed as 1.0b5. > Apache Maven 2.0.8 > APR 1.2.11 source unzipped as a sibling to the log4cxx directory. > APR-Util 1.2.10 source unzipped as a sibling. > Ubuntu 6.06.1-desktop-i386 (using VM from > http://isv-image.ubuntu.com/vmware/) > gcc 4.0.3 > Sun Java 1.6.0-b105 > > Attempting to build the release image from a non-Unix platform should > produce flawed Xcode projects. However, any Unix derived OS would be > expected to product relatively close approximations of the release > candidate. The following steps can be used to prepare local builds of > the release candidate for comparison: > > tar -xvzf apr-1.2.11.tar.gz > mv apr-1.2.11 apr > tar -xvzf apr-util-1.2.10.tar.gz > mv apr-util-1.2.10 apr-util > export PATH=~/apache-maven-2.0.8/bin:$PATH > svn co > http://svn.apache.org/repos/asf/logging/log4cxx/tags/v0_10_0-rc2 log4cxx > cd log4cxx > mvn site assembly:assembly > > > The contents of the src directory should be identical to the src > directory of the SVN tag. The contents of the root directory should > be identical to the SVN tag except that it does not contain > doap-log4cxx.rdf which provides the description of the log4cxx project > for http://projects.apache.org. > > The site directory is generated by Maven and the projects directory is > generated by cpptasks the raw output of both which are tweaked by the > Ant script during assembly preparation. > > mvn rat:check can be used from the root directory to generate a report > on the presence of Apache License Headers, NOTICE and LICENSE files. > The report will be produced in target/rat.txt. The only source files > without License Headers are in src/test/resources/witness and are > reference log files used during the unit test and should fall under > the exclusions of the ASF Source License Header Policy. > > The release candidate has no internal markings that it is not an > official release. If accepted, the archive files will simply be > renamed and placed in the main distribution directory for > synchronization to the mirrors and a digital signature will be prepared. > > Release will require at least 3 +1 votes from Logging Service PMC > members. However, votes from other parties and any feedback or > experiences with the release candidate are greatly desired. Given the > current makeup of the project, I would expect the PMC members would > verify the procedural and legal issues themselves (which is their > major responsibility on a release review) but would rely on community > feedback the content of the release. It would be helpful if you would > report any observations, particularly successes or failures building > from the release candidate (compiler vendor and version, platform, > etc) along with your +1, 0 or -1. PMC members should identify their > votes as binding. I'd expect that PMC members would hold their votes > until there is some feedback from the user community. This will be a > combined PMC and log4cxx-dev vote, a separate PMC vote will not be > called. > > Unless the candidate is withdrawn, voting should be open until 06:00 > GMT 2008-02-29. All discussion should occur on > [email protected]. > > For background on Apache voting, release procedures, etc: > > http://www.apache.org/dev/release.html > http://www.apache.org/legal/src-headers.html > http://www.apache.org/foundation/voting.html From [email protected] Tue Feb 26 19:56:07 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 72442 invoked from network); 26 Feb 2008 19:56:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2008 19:56:07 -0000 Received: (qmail 14881 invoked by uid 500); 26 Feb 2008 19:56:02 -0000 Delivered-To: [email protected] Received: (qmail 14653 invoked by uid 500); 26 Feb 2008 19:56:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 14638 invoked by uid 99); 26 Feb 2008 19:56:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2008 11:56:01 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtp-gsi.geckosoftware.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2008 19:55:25 +0000 Received: from [161.129.204.104] (gecko.geckosoftware.com [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by detroit.geckosoftware.com (Postfix) with ESMTP id D17393000A6 for <[email protected]>; Tue, 26 Feb 2008 12:55:34 -0700 (MST) Message-ID: <[email protected]> Date: Tue, 26 Feb 2008 12:55:52 -0700 From: "Jacob L. Anawalt" <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20071031) MIME-Version: 1.0 To: Log4CXX User <[email protected]> Subject: Re: Seeking documentation References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [email protected] wrote: > Try this link -- it's a good tutorial on Log4J -- the concepts apply to > Log4CXX directly: > > http://www.vipan.com/htdocs/log4jhelp.html > Thank you. It was nice to have a list of some of the Appender's PropertyConfigurator options. I am interested in using a SyslogAppender. While wandering though the Doxygen output reference I found that the ApenderSkeleton class reference seems to be a reasonable place to get the list of appenders available in my version of the log4cxx API. Among the classes inheriting from it is SyslogAppender. What is the fully.qualified.name.of.appender.class? The intro shows org.apache.log4j.PatternLayout while the log4cxx documentation for Appender shows just SyslogAppender or RollingFileAppender. Is just the last part of the name parsed? (I suspect that is the reason for bug LOGCXX-102 [1]) [1] http://issues.apache.org/jira/browse/LOGCXX-102 I see all the methods. Where do I look to see what setFacility for example looks like in a PropertyConfigurator file? The Appender documentation shows SyslogHost being set. Is everything with a get/set method pair a valid option for PropertyConfigurator (and possibly the setOption function)? Where do I learn how to use the DOMConfigurator? The Doxygen output says there are sample XML files included in the package but I can't find them (possibly a Debian package issue if they really were available and should have been in the -doc package, or the files really weren't part of the package.) The DTD link [2] in the online log4j 1.2 JavaDoc output for the DOMConfigurator [3] is broken. [2] http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/xml/log4j.dtd [3] http://logging.apache.org/log4j/1.2/apidocs/index.html -- Jacob Anawalt Gecko Software, Inc. [email protected] (562)509-4935 From [email protected] Tue Feb 26 22:04:09 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52054 invoked from network); 26 Feb 2008 22:04:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2008 22:04:09 -0000 Received: (qmail 72875 invoked by uid 500); 26 Feb 2008 22:04:03 -0000 Delivered-To: [email protected] Received: (qmail 72854 invoked by uid 500); 26 Feb 2008 22:04:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 72835 invoked by uid 99); 26 Feb 2008 22:04:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2008 14:04:03 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO orac.acorntoolworks.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2008 22:03:29 +0000 Received: from orac.acorntoolworks.com (localhost [161.129.204.104]) by orac.acorntoolworks.com (8.13.3/8.12.11) with ESMTP id m1QM43Fx000840; Tue, 26 Feb 2008 14:04:03 -0800 (PST) Received: (from jtc@localhost) by orac.acorntoolworks.com (8.13.3/8.12.11) id m1QM3xud021991; Tue, 26 Feb 2008 14:03:59 -0800 (PST) X-Authentication-Warning: orac.acorntoolworks.com: jtc set sender to [email protected] using -f To: "Log4CXX User" <[email protected]> Cc: Log4CXX Dev <[email protected]> Subject: Re: [VOTE] log4cxx 0.10.0 release candidate Reply-To: [email protected] References: <[email protected]> <[email protected]> From: [email protected] (J.T. Conklin) Date: Tue, 26 Feb 2008 14:03:59 -0800 In-Reply-To: <[email protected]> (Andreas Fester's message of "Tue, 26 Feb 2008 20:21:30 +0100") Message-ID: <[email protected]> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org Andreas Fester <[email protected]> writes: > I dont currently have much time to work on log4cxx, > but a quick review of the .tar.gz file at least showed that the > UNIX configure script is missing. This results in a dependency > on the GNU autotools to generate the configure script and the Makefile.in's > before building, instead of the straightforward ./configure; ./make; > ./make install. I think this is a reasonably big deal. I tried a quick "autoreconf -ivf" which failed because the APR_FIND_APR macro was not distributed with lib4cxx and find_apr.m4 isn't installed in /usr/pkg/share/aclocal as part of NetBSD's apr package. > Using the ant build system would add a build dependency on Java, > which looks a littlebit heavy for me. Using ant isn't even an option for systems where Java is not available. I'll see what I can do to jump this hurdle so I can report whether there are any other problems beyond configure. --jtc -- J.T. Conklin From [email protected] Tue Feb 26 22:26:35 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63786 invoked from network); 26 Feb 2008 22:26:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2008 22:26:35 -0000 Received: (qmail 4408 invoked by uid 500); 26 Feb 2008 22:26:29 -0000 Delivered-To: [email protected] Received: (qmail 4376 invoked by uid 500); 26 Feb 2008 22:26:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 4355 invoked by uid 99); 26 Feb 2008 22:26:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2008 14:26:29 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO rubixinfotech.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2008 22:25:42 +0000 In-Reply-To: <[email protected]> Subject: Re: [VOTE] log4cxx 0.10.0 release candidate To: "Log4CXX User" <[email protected]> Cc: Log4CXX Dev <[email protected]> Message-ID: <[email protected]> Date: Tue, 26 Feb 2008 17:27:07 -0500 From: [email protected] MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org I found out the hard way that you should use the shell-script (autogen) that is provided to do the autoconfig.... Renny Koshy President & CEO -------------------------------------------- RUBIX Information Technologies, Inc. www.rubixinfotech.com jtc@acorntoolwork s.com (J.T. Conklin) To "Log4CXX User" 02/26/2008 05:03 <[email protected]> PM cc Log4CXX Dev <[email protected]> Please respond to Subject "Log4CXX User" Re: [VOTE] log4cxx 0.10.0 release <log4cxx-user@log candidate ging.apache.org> Andreas Fester <[email protected]> writes: > I dont currently have much time to work on log4cxx, > but a quick review of the .tar.gz file at least showed that the > UNIX configure script is missing. This results in a dependency > on the GNU autotools to generate the configure script and the Makefile.in's > before building, instead of the straightforward ./configure; ./make; > ./make install. I think this is a reasonably big deal. I tried a quick "autoreconf -ivf" which failed because the APR_FIND_APR macro was not distributed with lib4cxx and find_apr.m4 isn't installed in /usr/pkg/share/aclocal as part of NetBSD's apr package. > Using the ant build system would add a build dependency on Java, > which looks a littlebit heavy for me. Using ant isn't even an option for systems where Java is not available. I'll see what I can do to jump this hurdle so I can report whether there are any other problems beyond configure. --jtc -- J.T. Conklin From [email protected] Tue Feb 26 23:43:32 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94538 invoked from network); 26 Feb 2008 23:43:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2008 23:43:31 -0000 Received: (qmail 12294 invoked by uid 500); 26 Feb 2008 23:43:26 -0000 Delivered-To: [email protected] Received: (qmail 12274 invoked by uid 500); 26 Feb 2008 23:43:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 12263 invoked by uid 99); 26 Feb 2008 23:43:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2008 15:43:26 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO pluto.phpwebhosting.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 26 Feb 2008 23:42:49 +0000 Received: (qmail 19942 invoked from network); 26 Feb 2008 23:26:35 -0000 Received: from unknown (HELO OCTOBER) (161.129.204.104) by pluto.phpwebhosting.com with SMTP; Tue, 26 Feb 2008 18:26:35 -0500 Reply-To: <[email protected]> From: "Stephen Bartnikowski" <[email protected]> To: "'Log4CXX User'" <[email protected]> References: <[email protected]> Subject: RE: [VOTE] log4cxx 0.10.0 release candidate Date: Tue, 26 Feb 2008 17:42:54 -0600 Organization: Barking Lizards Technologies Message-ID: <000001c878d1$4f5cd100$97dea8c0@OCTOBER> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <[email protected]> Thread-Index: Ach1/Wav/AnJCXJUT+aiOEw4IuNu/wCz7XOg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Virus-Checked: Checked by ClamAV on apache.org Hi Curt, My usage for Log4cxx in the near term currently involves three platforms, Mac OS X Server, FreeBSD, and SUSE (both open and enterprise). The idea for my product is to refer my end-users to log4cxx for installation, rather than including the lib and headers in my distribution. So I'll describe my experiences installing them using the latest build instructions. On Mac OS X Server, I noticed the instructions assume the user has 10.5 / Leopard. I feel this assumption should be stated for the folks like me who haven't upgraded from 10.4 / Tiger yet. Fortunately, I already know how to build on Tiger, thanks to your help. It's my intent to simply take Log4cxx and dump it into a Framework so the end-user of my product doesn't have to deal with extra work or the so-called DLL-hell. On both FreeBSD and SUSE, I started out giving the autotools instructions a shot. But neither platforms have apt-get. Many platforms have different package managers, so it seems deficient to use only one platform's manager in the example. I would rather see a link to the apr and aprutil project download pages. (autogen.sh being referred to as autoconf.sh has already been mentioned.) On FreeBSD, autogen.sh doesn't get very far: libtoolize: not found aclocal: not found autoconf: not found automake: not found So I fell back to the ant build. The ant instructions no longer mention the shared / static options for each of the libraries, but that's fine. By default, it builds the liblog4cxx.so just fine. I think this is satisfactory for what I need. If I have to distribute Log4cxx with my product, however, this isn't so great. If I do the ant build for a liblog4cxx.so that sucks its dependencies in staticly, then ant will complain and not complete. For example, specifying -Dapr.lib.type=static and -Dapr-util.lib.type=static will result in an error message telling me they must both be the static, even though that's what I asked for. But again, I can let this slide. I honestly really haven't given RC2 on SUSE a fair shot yet, but having more generic instructions on how to get apr and aprutil would have helped. Finally, an install target would be immensely helpful...something that would take the right headers and libs and dump them in the appropriate platform location. But this is not a show-stopper. Overall, I think the release could use some real nice-to-haves, but I don't think there's anything I couldn't work around. - Stephen > -----Original Message----- > From: Curt Arnold [mailto:[email protected]] > Sent: Saturday, February 23, 2008 3:36 AM > To: Log4CXX Dev > Cc: Log4CXX User; Logging General > Subject: [VOTE] log4cxx 0.10.0 release candidate > > log4cxx 0.10.0 RC2 is now available for review for release on > the unofficial builds area. This release candidate is > strictly provided for consideration for release, may be > withdrawn and will be removed > from the publication location at the conclusion of the voting > period. > RC2 is currently available at: > > http://people.apache.org/builds/logging/log4cxx/0.10.0/apache- > log4cxx-0.10.0-rc2.tar.gz > MD5(apache-log4cxx-0.10.0-rc2.tar.gz)= > e50730742e18d3a72aa17ae1c2c673ce > > http://people.apache.org/builds/logging/log4cxx/0.10.0/apache- > log4cxx-0.10.0-rc2.zip > MD5(apache-log4cxx-0.10.0-rc2.zip)= f8b4f9855a2088aa14654885cd9535f0 > > The corresponding web content can be viewed directly from the staging > SVN: > http://svn.apache.org/repos/asf/logging/site/trunk/docs/log4cx > x/index.html > > The corresponding source is available at: > svn co > http://svn.apache.org/repos/asf/logging/log4cxx/tags/v0_10_0-rc2 > > log4cxx 0.10.0 RC1 was withdrawn before publication. > > I believe that the release candidate is viable for release > with two condition, the publication of a corresponding 1.0b5 > of cpptasks and the conclusion of a vote by February 29th. > Rev 158 of cpptasks was used in the preparation of the > release candidate and the generated project files should not > change. I'm a project admin of cpptasks and intend to have > that release out by mid-week next week. > > The change log has a prospective release date of 2008-02-29, > if procedural issues make that date unobtainable then a > rebuild to change the date will be necessary. > > The download links in the staged and embedded web content > point to the anticipated location after the release is > completed. The mirrors link > will bring up a list of mirrors, but they won't have the file yet. > The mirrors page will not be displayed with Safari due to an > known issue with Safari. > > Unzipping the .tar.gz may result in a warning message that a > lone zero [email protected]. That is a known issue with Maven > (and previously with > Ant) and does not affect the usability of the archive. > > The release candidate was prepared using the following > software (listed in order of impact on contents of the release): > > doxygen 1.4.6 > cpptasks rev 158 installed as 1.0b5. > Apache Maven 2.0.8 > APR 1.2.11 source unzipped as a sibling to the log4cxx directory. > APR-Util 1.2.10 source unzipped as a sibling. > Ubuntu 6.06.1-desktop-i386 (using VM from > http://isv-image.ubuntu.com/vmware/) > gcc 4.0.3 > Sun Java 1.6.0-b105 > > Attempting to build the release image from a non-Unix > platform should > produce flawed Xcode projects. However, any Unix derived OS > would be > expected to product relatively close approximations of the > release candidate. The following steps can be used to > prepare local builds of the release candidate for comparison: > > tar -xvzf apr-1.2.11.tar.gz > mv apr-1.2.11 apr > tar -xvzf apr-util-1.2.10.tar.gz > mv apr-util-1.2.10 apr-util > export PATH=~/apache-maven-2.0.8/bin:$PATH > svn co http://svn.apache.org/repos/asf/logging/log4cxx/tags/v0_10_0- > rc2 log4cxx > cd log4cxx > mvn site assembly:assembly > > > The contents of the src directory should be identical to the src > directory of the SVN tag. The contents of the root directory should > be identical to the SVN tag except that it does not contain doap- > log4cxx.rdf which provides the description of the log4cxx > project for http://projects.apache.org > . > > The site directory is generated by Maven and the projects > directory is > generated by cpptasks the raw output of both which are > tweaked by the > Ant script during assembly preparation. > > mvn rat:check can be used from the root directory to generate > a report > on the presence of Apache License Headers, NOTICE and LICENSE > files. > The report will be produced in target/rat.txt. The only > source files > without License Headers are in src/test/resources/witness and are > reference log files used during the unit test and should fall under > the exclusions of the ASF Source License Header Policy. > > The release candidate has no internal markings that it is not an > official release. If accepted, the archive files will simply be > renamed and placed in the main distribution directory for > synchronization to the mirrors and a digital signature will > be prepared. > > Release will require at least 3 +1 votes from Logging Service PMC > members. However, votes from other parties and any feedback or > experiences with the release candidate are greatly desired. > Given the > current makeup of the project, I would expect the PMC members would > verify the procedural and legal issues themselves (which is their > major responsibility on a release review) but would rely on > community > feedback the content of the release. It would be helpful if > you would > report any observations, particularly successes or failures building > from the release candidate (compiler vendor and version, platform, > etc) along with your +1, 0 or -1. PMC members should identify their > votes as binding. I'd expect that PMC members would hold > their votes > until there is some feedback from the user community. This > will be a > combined PMC and log4cxx-dev vote, a separate PMC vote will not be > called. > > Unless the candidate is withdrawn, voting should be open until 06:00 > GMT 2008-02-29. All discussion should occur on > [email protected] > . > > For background on Apache voting, release procedures, etc: > > http://www.apache.org/dev/release.html > http://www.apache.org/legal/src-headers.html > http://www.apache.org/foundation/voting.html > From [email protected] Tue Feb 26 23:46:17 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95110 invoked from network); 26 Feb 2008 23:46:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2008 23:46:17 -0000 Received: (qmail 17019 invoked by uid 500); 26 Feb 2008 23:46:12 -0000 Delivered-To: [email protected] Received: (qmail 16997 invoked by uid 500); 26 Feb 2008 23:46:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 16986 invoked by uid 99); 26 Feb 2008 23:46:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2008 15:46:12 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO QMTA04.westchester.pa.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2008 23:45:36 +0000 Received: from OMTA13.westchester.pa.mail.comcast.net ([161.129.204.104]) by QMTA04.westchester.pa.mail.comcast.net with comcast id uKAE1Y00R17dt5G540NM00; Tue, 26 Feb 2008 23:45:10 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by OMTA13.westchester.pa.mail.comcast.net with comcast id uPlZ1Y0022k8juj3Z00000; Tue, 26 Feb 2008 23:45:42 +0000 X-Authority-Analysis: v=1.0 c=1 a=m0-dzrmEExNx_0EMAogA:9 a=knb8ERzFnfPGY_3R9bo2iGsrrWgA:4 a=WuK_CZDBSqoA:10 Message-Id: <[email protected]> From: Curt Arnold <[email protected]> To: "Log4CXX User" <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: [VOTE] log4cxx 0.10.0 release candidate Date: Tue, 26 Feb 2008 17:45:31 -0600 References: <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org On Feb 26, 2008, at 1:21 PM, Andreas Fester wrote: > Hi Curt, > > I dont currently have much time to work on log4cxx, > but a quick review of the .tar.gz file at least showed that the > UNIX configure script is missing. This results in a dependency > on the GNU autotools to generate the configure script and the > Makefile.in's > before building, instead of the straightforward ./configure; ./make; > ./make install. > For me, this is a must have to get the new version into the Debian > distribution. > Using the ant build system would add a build dependency on Java, > which looks > a littlebit heavy for me. > Since you are using ubuntu to build the source package anyway, would > it be > possible to create the dist tarball with the GNU autotools approach? > Or, if the "officially defined" way to create the package is the > maven/ant approach, > at least, I would like to have the necessary autotools files available > in SVN. > These are basically the Makefile.in's and a bunch of other generated > files, like > aclocal.m4, config.guess, configure etc. > > Any thoughts? > > Thanks, > > Andreas > Maven is generating the user documentation, cpptasks is generating the Visual Studio and Xcode project files, so the full release packaging is going to be Java centric. However, that should not put any mandate on the user to have Java, etc, unless they want to rebuild the distribution. I had omitted the configure and supporting files since I thought that there might be some IP issue, but I checked and apparently other than being careful what version of libtool etc is being used, it would be okay to include those with the distribution. From [email protected] Wed Feb 27 00:12:54 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4729 invoked from network); 27 Feb 2008 00:12:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2008 00:12:54 -0000 Received: (qmail 54130 invoked by uid 500); 27 Feb 2008 00:12:48 -0000 Delivered-To: [email protected] Received: (qmail 54114 invoked by uid 500); 27 Feb 2008 00:12:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 54103 invoked by uid 99); 27 Feb 2008 00:12:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2008 16:12:48 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO QMTA04.westchester.pa.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2008 00:12:14 +0000 Received: from OMTA13.westchester.pa.mail.comcast.net ([161.129.204.104]) by QMTA04.westchester.pa.mail.comcast.net with comcast id uJUT1Y00417dt5G540W500; Wed, 27 Feb 2008 00:11:48 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by OMTA13.westchester.pa.mail.comcast.net with comcast id uQCC1Y00W2k8juj3Z00000; Wed, 27 Feb 2008 00:12:19 +0000 X-Authority-Analysis: v=1.0 c=1 a=1Ckj6pXh8_SVj_HVXFIA:9 a=B2hnb6XwQnkLttBORlkA:7 a=KMbVyEkoD0VnUdw_870168F_PVkA:4 a=WuK_CZDBSqoA:10 Message-Id: <[email protected]> From: Curt Arnold <[email protected]> To: "Log4CXX User" <[email protected]> In-Reply-To: <000001c878d1$4f5cd100$97dea8c0@OCTOBER> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: [VOTE] log4cxx 0.10.0 release candidate Date: Tue, 26 Feb 2008 18:12:12 -0600 References: <[email protected]> <000001c878d1$4f5cd100$97dea8c0@OCTOBER> X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org On Feb 26, 2008, at 5:42 PM, Stephen Bartnikowski wrote: > Hi Curt, > > My usage for Log4cxx in the near term currently involves three > platforms, > Mac OS X Server, FreeBSD, and SUSE (both open and enterprise). The > idea for > my product is to refer my end-users to log4cxx for installation, > rather than > including the lib and headers in my distribution. So I'll describe my > experiences installing them using the latest build instructions. > > On Mac OS X Server, I noticed the instructions assume the user has > 10.5 / > Leopard. I feel this assumption should be stated for the folks like > me who > haven't upgraded from 10.4 / Tiger yet. Fortunately, I already know > how to > build on Tiger, thanks to your help. It's my intent to simply take > Log4cxx > and dump it into a Framework so the end-user of my product doesn't > have to > deal with extra work or the so-called DLL-hell. I've got some uncommitted changes that tries to clarify that a bit. You would prefer an Xcode project that assumes 10.4 and builds APR and APR-Util with instructions on how to switch it to use the APR and APR- Util provided with the 10.5 SDK? > > On both FreeBSD and SUSE, I started out giving the autotools > instructions a > shot. But neither platforms have apt-get. Many platforms have > different > package managers, so it seems deficient to use only one platform's > manager > in the example. I would rather see a link to the apr and aprutil > project > download pages. I thought that command would give the intent (install APR and APR-Util using your package manager of choice) and that the user would be able to translate that to there distribution. In earlier revs, I had "# or your platform's equivalent)" but that resulted in text that flowed outside the text box so I removed it. The APR and APR-Util sites do not have a maintained description of installation on different platforms. > > > (autogen.sh being referred to as autoconf.sh has already been > mentioned.) > > On FreeBSD, autogen.sh doesn't get very far: > libtoolize: not found > aclocal: not found > autoconf: not found > automake: not found Okay, so a RC should include the generated configure files and should be checked against FreeBSD. > > So I fell back to the ant build. The ant instructions no longer > mention the > shared / static options for each of the libraries, but that's fine. By > default, it builds the liblog4cxx.so just fine. I think this is > satisfactory > for what I need. I'll check and remedy that. > > > If I have to distribute Log4cxx with my product, however, this isn't > so > great. If I do the ant build for a liblog4cxx.so that sucks its > dependencies > in staticly, then ant will complain and not complete. For example, > specifying -Dapr.lib.type=static and -Dapr-util.lib.type=static will > result > in an error message telling me they must both be the static, even > though > that's what I asked for. But again, I can let this slide. > > > I honestly really haven't given RC2 on SUSE a fair shot yet, but > having more > generic instructions on how to get apr and aprutil would have helped. > > Finally, an install target would be immensely helpful...something > that would > take the right headers and libs and dump them in the appropriate > platform > location. But this is not a show-stopper. > If you could contribute one, that would be very helpful. It isn't something that I could do without effort. > Overall, I think the release could use some real nice-to-haves, but > I don't > think there's anything I couldn't work around. > > - Stephen From [email protected] Wed Feb 27 03:36:34 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89027 invoked from network); 27 Feb 2008 03:36:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2008 03:36:34 -0000 Received: (qmail 58069 invoked by uid 500); 27 Feb 2008 03:36:28 -0000 Delivered-To: [email protected] Received: (qmail 58053 invoked by uid 500); 27 Feb 2008 03:36:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 58034 invoked by uid 99); 27 Feb 2008 03:36:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2008 19:36:28 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO pd2mo1so.prod.shaw.ca) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2008 03:35:42 +0000 Received: from pd2mr6so.prod.shaw.ca (pd2mr6so-qfe3.prod.shaw.ca [161.129.204.104]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JWV006XMONJU310@l-daemon>; Tue, 26 Feb 2008 20:35:43 -0700 (MST) Received: from pn2ml8so.prod.shaw.ca ([161.129.204.104]) by pd2mr6so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <[email protected]>; Tue, 26 Feb 2008 20:35:43 -0700 (MST) Received: from [161.129.204.104] ([161.129.204.104]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JWV00JXSONI2020@l-daemon>; Tue, 26 Feb 2008 20:35:42 -0700 (MST) Date: Tue, 26 Feb 2008 19:35:30 -0800 From: Ross Wightman <[email protected]> Subject: Re: [VOTE] log4cxx 0.10.0 release candidate In-reply-to: <[email protected]> To: Log4CXX User <[email protected]> Cc: Log4CXX Dev <[email protected]> Message-id: <[email protected]> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit References: <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20071031) X-Virus-Checked: Checked by ClamAV on apache.org There appears to be a minor issue with the Visual Studio projects. The log4cxx and testsuite project have include directories that are at odds with the workspace/solution project directories and the recommended build preparation (where the apr and apr-util folders have their version numbers stripped and are placed at the same directory level as the log4cxx folder ... build_path\log4cxx, build_path\apr and build_path\apr-util). The include directories should be: ..\src\main\include;"..\..\apr\include";"..\..\apr-util\include" instead of ..\src\main\include,..\..\..\..\apr-1.2.11\include,..\..\..\..\apr-util-1.2.10\include Other than that, the VS projects built fine for me with VS 2005 SP1 + apr-1.2.12 + apr-util-1.2.12. The resulting DLL worked with my existing application which uses log4cxx via RollingFileAppenders extensively. I also created an x64 configuration for log4cxx and that also builds and runs. I was unable to complete a run of the testsuite since I'm lacking an impl of sed. I'll try that shortly. Regards, Ross Curt Arnold wrote: > <div class="moz-text-flowed" style="font-family: -moz-fixed">log4cxx > 0.10.0 RC2 is now available for review for release on the unofficial > builds area. This release candidate is strictly provided for > consideration for release, may be withdrawn and will be removed from > the publication location at the conclusion of the voting period. RC2 > is currently available at: > > http://people.apache.org/builds/logging/log4cxx/0.10.0/apache-log4cxx-0.10.0-rc2.tar.gz > > MD5(apache-log4cxx-0.10.0-rc2.tar.gz)= e50730742e18d3a72aa17ae1c2c673ce > > http://people.apache.org/builds/logging/log4cxx/0.10.0/apache-log4cxx-0.10.0-rc2.zip > > MD5(apache-log4cxx-0.10.0-rc2.zip)= f8b4f9855a2088aa14654885cd9535f0 > > The corresponding web content can be viewed directly from the staging > SVN: > http://svn.apache.org/repos/asf/logging/site/trunk/docs/log4cxx/index.html > > > The corresponding source is available at: > svn co http://svn.apache.org/repos/asf/logging/log4cxx/tags/v0_10_0-rc2 > From [email protected] Wed Feb 27 07:31:31 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42825 invoked from network); 27 Feb 2008 07:31:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2008 07:31:31 -0000 Received: (qmail 85025 invoked by uid 500); 27 Feb 2008 07:31:26 -0000 Delivered-To: [email protected] Received: (qmail 84756 invoked by uid 500); 27 Feb 2008 07:31:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 84745 invoked by uid 99); 27 Feb 2008 07:31:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2008 23:31:25 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO QMTA08.emeryville.ca.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2008 07:30:38 +0000 Received: from OMTA03.emeryville.ca.mail.comcast.net ([161.129.204.104]) by QMTA08.emeryville.ca.mail.comcast.net with comcast id uXRj1Y0020b6N64A800S00; Wed, 27 Feb 2008 07:30:32 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by OMTA03.emeryville.ca.mail.comcast.net with comcast id uXWo1Y00134ghu98P00000; Wed, 27 Feb 2008 07:30:55 +0000 X-Authority-Analysis: v=1.0 c=1 a=zLQ3P2c3LrwA:10 a=mV9VRH-2AAAA:8 a=FP58Ms26AAAA:8 a=NNK8rp_IZJ6KKWaOTuAA:9 a=-Gsb2MCnpPeZ4DiClGwQjyaogxoA:4 a=WuK_CZDBSqoA:10 Message-Id: <[email protected]> From: Curt Arnold <[email protected]> To: "Log4CXX User" <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: [VOTE] log4cxx 0.10.0 release candidate Date: Wed, 27 Feb 2008 01:30:46 -0600 References: <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org On Feb 26, 2008, at 9:35 PM, Ross Wightman wrote: > There appears to be a minor issue with the Visual Studio projects. The > log4cxx and testsuite project have include directories that are at > odds > with the workspace/solution project directories and the recommended > build preparation (where the apr and apr-util folders have their > version > numbers stripped and are placed at the same directory level as the > log4cxx folder ... build_path\log4cxx, build_path\apr and > build_path\apr-util). > > The include directories should be: > ..\src\main\include;"..\..\apr\include";"..\..\apr-util\include" > > instead of > > ..\src\main\include,..\..\..\..\apr-1.2.11\include,..\..\..\..\apr- > util-1.2.10\include > > Other than that, the VS projects built fine for me with VS 2005 SP1 + > apr-1.2.12 + apr-util-1.2.12. The resulting DLL worked with my > existing > application which uses log4cxx via RollingFileAppenders extensively. I > also created an x64 configuration for log4cxx and that also builds and > runs. I was unable to complete a run of the testsuite since I'm > lacking > an impl of sed. I'll try that shortly. > > Regards, > > Ross > Thanks for the feedback. The Visual Studio issue was introduced in late in release preparation (also very late at night) and was previously reported at https://issues.apache.org/jira/browse/ LOGCXX-247. Sorry that you had to run into it again. I've tweaked the build pages at bit and mention that you can download sed, gzip and zip for Windows at http://gnuwin32.sourceforge.net. There will be another release candidate in a few days. From [email protected] Wed Feb 27 07:56:15 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53817 invoked from network); 27 Feb 2008 07:56:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2008 07:56:15 -0000 Received: (qmail 13215 invoked by uid 500); 27 Feb 2008 07:56:10 -0000 Delivered-To: [email protected] Received: (qmail 13052 invoked by uid 500); 27 Feb 2008 07:56:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 13041 invoked by uid 99); 27 Feb 2008 07:56:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2008 23:56:09 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO QMTA08.emeryville.ca.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2008 07:55:22 +0000 Received: from OMTA06.emeryville.ca.mail.comcast.net ([161.129.204.104]) by QMTA08.emeryville.ca.mail.comcast.net with comcast id uXod1Y00516AWCUA800D00; Wed, 27 Feb 2008 07:55:17 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by OMTA06.emeryville.ca.mail.comcast.net with comcast id uXvT1Y00234ghu98S00000; Wed, 27 Feb 2008 07:55:40 +0000 X-Authority-Analysis: v=1.0 c=1 a=ClnjNxxJQSlWiN_ZcC4A:9 a=H3-R-iUhl3_rzMpckr5NEYY6NEgA:4 a=fUzIcyR-ki4A:10 Message-Id: <[email protected]> From: Curt Arnold <[email protected]> To: Log4CXX Dev <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: [VOTE][RECALL] log4cxx 0.10.0-rc2 Date: Wed, 27 Feb 2008 01:55:27 -0600 Cc: Log4CXX User <[email protected]>, Logging General <[email protected]> X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org Based on the feedback from the mailing lists, as release manager, I'm recalling log4cxx-0.10.0-rc2 from consideration and expect to prepare another release candidate in a few days. Additional feedback on the release candidate is still desired. This is a quick list of items that should be resolved in the next RC: Extra semi-colons on expansion of LOG4CXX_PTR_DEF causes compile error on Sun Studio 8 (fixed in SVN) Broken include directories for APR and APR-Util in Visual Studio projects (LOGCXX-247). XCode project file assumes Mac OS/X 10.5. Release should include configure and supporting files produced by autogen.sh. I will review the new comments on LOGCXX-231. The most recent comments looked a new bug unrelated to the original and didn't have enough information to diagnose. I'd like to consider adding an DllRegisterServer and DllUnregisterServer entry point for NTEventLogAppender to register the message resource for the Event Log viewer. Currently the resources are attempted to be added on a logging request if they keys are not present. However, that can be a privileged operation that should be done at install time which the user may have agreed to elevated privileges. Makes sense for a log4cxx.dll, but don't think it makes sense during a static library. Probably have static members in NTEventLogAppender for the registration and unregistration and have the standard entry points just delegate to those methods. From [email protected] Wed Feb 27 08:12:15 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60771 invoked from network); 27 Feb 2008 08:12:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2008 08:12:15 -0000 Received: (qmail 42381 invoked by uid 500); 27 Feb 2008 08:12:09 -0000 Delivered-To: [email protected] Received: (qmail 42356 invoked by uid 500); 27 Feb 2008 08:12:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 42345 invoked by uid 99); 27 Feb 2008 08:12:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2008 00:12:09 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO QMTA02.emeryville.ca.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2008 08:11:21 +0000 Received: from OMTA10.emeryville.ca.mail.comcast.net ([161.129.204.104]) by QMTA02.emeryville.ca.mail.comcast.net with comcast id uY8V1Y0050cQ2SLA200C00; Wed, 27 Feb 2008 08:11:12 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by OMTA10.emeryville.ca.mail.comcast.net with comcast id uYBY1Y00234ghu98W00000; Wed, 27 Feb 2008 08:11:39 +0000 X-Authority-Analysis: v=1.0 c=1 a=p8iqNX010S9-2jQtd94A:9 a=S14ZPwzHLK9C0dPugvEA:7 a=EXfVPccxdaR6jqmXZAtvlLwwtJ4A:4 a=WuK_CZDBSqoA:10 Message-Id: <[email protected]> From: Curt Arnold <[email protected]> To: "Log4CXX User" <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: Seeking documentation Date: Wed, 27 Feb 2008 02:11:32 -0600 References: <[email protected]> X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org On Feb 26, 2008, at 12:04 PM, Jacob L. Anawalt wrote: > Hello, > > I'm starting to try log4cxx in a C++ program developed on Debian 4.0 > (etch). I read the short introduction [1] and then adapted > information from there into my program. It has been pleasant to have > everything so far 'just work'. > > I think I am now to the point where I understand everything in the > introduction, but am not familiar enough with log4cxx, or even > log4j, to make the jump from the introduction to the doxygen > reference. After reading the brief FAQ on the wiki, trying for a > couple of weeks to hit links to the mailing lists and other places > pointing to the unresponsive nagoya.apache.org [2,3,4,5], and > reading log4j articles I feel only slightly closer to my current > questions and others that loom on the horizon. > The Wiki is publicly writable and I've had minimal personal involvement other than the occasional removal of defacement. After the upcoming log4cxx 0.10.0 release, it would be good to go through the Wiki and flag articles that might be outdated. > Are there any other suggested places to read about implementing, > configuring and using log4cxx? log4cxx has minimal independent documentation since it attempts to mimic log4j. Unfortunately, log4j also has a gap between the freely available intro and the freely available source code. There are two commercial log4j books but they are not products of the Apache Software Foundation. The priority on log4j would be to move on the log4j 2.0 and document it during development instead of documenting log4j 1.2 5 years or so after initial release. > > Should all the nagaya references be replaced with service names like > mail-archives or issues? [6] > nagoya should be replaced by issues when it refers to JIRA. Please feel free to change those on the Wiki. From [email protected] Wed Feb 27 10:02:12 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3185 invoked from network); 27 Feb 2008 10:02:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2008 10:02:12 -0000 Received: (qmail 10553 invoked by uid 500); 27 Feb 2008 10:02:07 -0000 Delivered-To: [email protected] Received: (qmail 10530 invoked by uid 500); 27 Feb 2008 10:02:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 10519 invoked by uid 99); 27 Feb 2008 10:02:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2008 02:02:06 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO paralaus.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2008 10:01:31 +0000 Received: from [161.129.204.104] by paralaus.com (MDaemon PRO v9.6.3) with ESMTP id md50000337348.msg for <[email protected]>; Wed, 27 Feb 2008 12:01:18 +0200 Message-ID: <[email protected]> Date: Wed, 27 Feb 2008 12:01:29 +0200 From: Ufuk Kayserilioglu <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20071031) MIME-Version: 1.0 To: Log4CXX User <[email protected]> Subject: Re: [VOTE][RECALL] log4cxx 0.10.0-rc2 References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: [email protected] X-HashCash: 1:18:080227:md5000033acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b94dNKReqIIVIFeN0:00002SrT X-Spam-Processed: paralaus.com, Wed, 27 Feb 2008 12:01:18 +0200 (not processed: message from trusted or authenticated source) X-Return-Path: [email protected] X-Envelope-From: [email protected] X-MDaemon-Deliver-To: [email protected] X-MDAV-Processed: paralaus.com, Wed, 27 Feb 2008 12:01:19 +0200 X-Virus-Checked: Checked by ClamAV on apache.org Curt Arnold wrote: > Based on the feedback from the mailing lists, as release manager, I'm > recalling log4cxx-0.10.0-rc2 from consideration and expect to prepare > another release candidate in a few days. Additional feedback on the > release candidate is still desired. > > This is a quick list of items that should be resolved in the next RC: > > Extra semi-colons on expansion of LOG4CXX_PTR_DEF causes compile error > on Sun Studio 8 (fixed in SVN) > Broken include directories for APR and APR-Util in Visual Studio > projects (LOGCXX-247). > XCode project file assumes Mac OS/X 10.5. > Release should include configure and supporting files produced by > autogen.sh. > > I will review the new comments on LOGCXX-231. The most recent > comments looked a new bug unrelated to the original and didn't have > enough information to diagnose. > > I'd like to consider adding an DllRegisterServer and > DllUnregisterServer entry point for NTEventLogAppender to register the > message resource for the Event Log viewer. Currently the resources > are attempted to be added on a logging request if they keys are not > present. However, that can be a privileged operation that should be > done at install time which the user may have agreed to elevated > privileges. Makes sense for a log4cxx.dll, but don't think it makes > sense during a static library. Probably have static members in > NTEventLogAppender for the registration and unregistration and have > the standard entry points just delegate to those methods. Thank you for all your efforts in trying to get a 0.10 release out of the door; it was much needed. There is, however, still one issue that we see as very critical on Windows platforms that results in an application hang because of a config reload and has been reported twice to the Dev list and as LOGCXX-246 <https://issues.apache.org/jira/browse/LOGCXX-246>. The problem stems from a wrong assumption about Thracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstop() method call and the fix, as we have gone about doing it, is very simple to implement. Could you please consider it for the next RC as well? Many thanks, Ufuk Kayserilioglu From [email protected] Wed Feb 27 14:04:05 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34554 invoked from network); 27 Feb 2008 14:04:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2008 14:04:05 -0000 Received: (qmail 95113 invoked by uid 500); 27 Feb 2008 14:03:59 -0000 Delivered-To: [email protected] Received: (qmail 95072 invoked by uid 500); 27 Feb 2008 14:03:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 95050 invoked by uid 99); 27 Feb 2008 14:03:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2008 06:03:59 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO rubixinfotech.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2008 14:03:23 +0000 In-Reply-To: <[email protected]> Subject: Re: [VOTE][RECALL] log4cxx 0.10.0-rc2 To: "Log4CXX Dev" <[email protected]> Cc: Log4CXX User <[email protected]> Message-ID: <[email protected]> Date: Wed, 27 Feb 2008 09:04:27 -0500 From: [email protected] MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Curt There were two more issues with patches that I had provided for the Sun One Studio (related to facets) against LOG4CXX-62.. Here is a copy of the comments: Additional fixes needed for Solaris + Sun One Studio... since the STL implementation has issues returning the template param for has_facet and use_facet: diff -r apache-log4cxx-0.10.0/src/main/cpp/simpledateformat.cpp /export/home/renny/apache-log4cxx-0.10.0 /src/main/cpp/simpledateformat.cpp 45a46 > #ifndef _RWSTD_NO_TEMPLATE_ON_RETURN_TYPE 47a49,52 > #else > #define HAS_FACET(locale, type) stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bhas_facet(locale,(type *)0) > #define USE_FACET(locale, type) stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8buse_facet(locale,(type *)0) > #endif diff -r apache-log4cxx-0.10.0 /src/test/cpp/helpers/datetimedateformattestcase.cpp /export/home/renny/apache-log4cxx-0.10.0/src/test/cpp/helpers/dat etimedateformattestcase.cpp 187a188 > #ifndef _RWSTD_NO_TEMPLATE_ON_RETURN_TYPE 189a191,194 > #else > stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8buse_facet(locale,(stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8btime_put<logchar> *)0) > .put(buffer, buffer, buffer.fill(), &date, fmt.c_str(), fmt.c_str() + fmt.length()); > #endif Renny Koshy President & CEO -------------------------------------------- RUBIX Information Technologies, Inc. www.rubixinfotech.com Curt Arnold <[email protected] rg> To Log4CXX Dev 02/27/2008 02:55 <[email protected]> AM cc Log4CXX User <[email protected]>, Please respond to Logging General "Log4CXX Dev" <[email protected]> <log4cxx-dev@logg Subject ing.apache.org> [VOTE][RECALL] log4cxx 0.10.0-rc2 Based on the feedback from the mailing lists, as release manager, I'm recalling log4cxx-0.10.0-rc2 from consideration and expect to prepare another release candidate in a few days. Additional feedback on the release candidate is still desired. This is a quick list of items that should be resolved in the next RC: Extra semi-colons on expansion of LOG4CXX_PTR_DEF causes compile error on Sun Studio 8 (fixed in SVN) Broken include directories for APR and APR-Util in Visual Studio projects (LOGCXX-247). XCode project file assumes Mac OS/X 10.5. Release should include configure and supporting files produced by autogen.sh. I will review the new comments on LOGCXX-231. The most recent comments looked a new bug unrelated to the original and didn't have enough information to diagnose. I'd like to consider adding an DllRegisterServer and DllUnregisterServer entry point for NTEventLogAppender to register the message resource for the Event Log viewer. Currently the resources are attempted to be added on a logging request if they keys are not present. However, that can be a privileged operation that should be done at install time which the user may have agreed to elevated privileges. Makes sense for a log4cxx.dll, but don't think it makes sense during a static library. Probably have static members in NTEventLogAppender for the registration and unregistration and have the standard entry points just delegate to those methods. From [email protected] Wed Feb 27 16:58:52 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30479 invoked from network); 27 Feb 2008 16:58:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2008 16:58:52 -0000 Received: (qmail 41710 invoked by uid 500); 27 Feb 2008 16:58:47 -0000 Delivered-To: [email protected] Received: (qmail 41487 invoked by uid 500); 27 Feb 2008 16:58:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 41476 invoked by uid 99); 27 Feb 2008 16:58:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2008 08:58:46 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtp-gsi.geckosoftware.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2008 16:58:12 +0000 Received: from [161.129.204.104] (gecko.geckosoftware.com [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by detroit.geckosoftware.com (Postfix) with ESMTP id 597803000A3 for <[email protected]>; Wed, 27 Feb 2008 09:58:21 -0700 (MST) Message-ID: <[email protected]> Date: Wed, 27 Feb 2008 09:58:40 -0700 From: "Jacob L. Anawalt" <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20080213) MIME-Version: 1.0 To: Log4CXX User <[email protected]> Subject: Re: Seeking documentation References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Curt Arnold wrote: > log4cxx has minimal independent documentation since it attempts to mimic > log4j. Unfortunately, log4j also has a gap between the freely available > intro and the freely available source code. There are two commercial > log4j books but they are not products of the Apache Software > Foundation. The priority on log4j would be to move on the log4j 2.0 and > document it during development instead of documenting log4j 1.2 5 years > or so after initial release. I am planning on getting the book as a reference and to help other developers who may work on my project get up to speed, but I wanted to get slightly deeper proof of concept code going before we commit to it. I wasn't expecting anything new to be written for the older code, just hoping others knew of some additional handy resources. I was also wondering if I just "didn't get it" when using the Wiki. When I search I often get results like 7 results of 704 pages doing a full text search for "log4cxx" but the title index is only 20 pages so I wondered if somehow I was missing something. Maybe it's just all the wiki help pages in lots of languages. At this point I think I'll ask individual questions here when I don't find the answer in the archives, and update the wiki when I think I have a nice summary to add. > nagoya should be replaced by issues when it refers to JIRA. Please feel > free to change those on the Wiki. I couldn't find eyebrowse anywhere. Maybe it's been replaced by mod_mbox like the project mailing lists page links to? If so then I think I have the mailing list links set up correctly on the wiki. -- Jacob Anawalt Gecko Software, Inc. [email protected] (562)509-4935 From [email protected] Wed Feb 27 18:20:10 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73938 invoked from network); 27 Feb 2008 18:20:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2008 18:20:10 -0000 Received: (qmail 11104 invoked by uid 500); 27 Feb 2008 18:20:05 -0000 Delivered-To: [email protected] Received: (qmail 11088 invoked by uid 500); 27 Feb 2008 18:20:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 11077 invoked by uid 99); 27 Feb 2008 18:20:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2008 10:20:04 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO QMTA03.emeryville.ca.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2008 18:19:29 +0000 Received: from OMTA01.emeryville.ca.mail.comcast.net ([161.129.204.104]) by QMTA03.emeryville.ca.mail.comcast.net with comcast id uc7T1Y0040EPchoA30VC00; Wed, 27 Feb 2008 18:18:44 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by OMTA01.emeryville.ca.mail.comcast.net with comcast id uiKU1Y00R2k8juj8M00000; Wed, 27 Feb 2008 18:19:35 +0000 X-Authority-Analysis: v=1.0 c=1 a=mV9VRH-2AAAA:8 a=2cBgdLCyAzrsuFoQgjUA:9 a=8vh0unz_-vO-fMwwGT9o0hOe0qEA:4 a=WuK_CZDBSqoA:10 Message-Id: <[email protected]> From: Curt Arnold <[email protected]> To: "Log4CXX User" <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: [VOTE][RECALL] log4cxx 0.10.0-rc2 Date: Wed, 27 Feb 2008 12:19:27 -0600 References: <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org On Feb 27, 2008, at 4:01 AM, Ufuk Kayserilioglu wrote: > Thank you for all your efforts in trying to get a 0.10 release out of > the door; it was much needed. > > There is, however, still one issue that we see as very critical on > Windows platforms that results in an application hang because of a > config reload and has been reported twice to the Dev list and as > LOGCXX-246 <https://issues.apache.org/jira/browse/LOGCXX-246>. The > problem stems from a wrong assumption about Thracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstop() method call > and the fix, as we have gone about doing it, is very simple to > implement. > > Could you please consider it for the next RC as well? > > Many thanks, > > Ufuk Kayserilioglu > > Sorry to leave it off the list. I was writing at the end of a long day. I did see the bug report minutes after posting RC2. I haven't had a chance to look at the issue. My process would be to check: How similar is the log4j and log4cxx implementations? If they are similar is it a flaw in both implementations, or is it a flaw in the emulation of java.lang.Thread? How to write a test case that would identify the issue? I won't be able to look at it for a few more days, so if anyone wants to take a shot at answering those questions, add them as comments to the bug report. From [email protected] Wed Feb 27 22:13:58 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78957 invoked from network); 27 Feb 2008 22:13:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2008 22:13:58 -0000 Received: (qmail 50512 invoked by uid 500); 27 Feb 2008 22:13:53 -0000 Delivered-To: [email protected] Received: (qmail 50486 invoked by uid 500); 27 Feb 2008 22:13:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 50475 invoked by uid 99); 27 Feb 2008 22:13:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2008 14:13:53 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtp-gsi.geckosoftware.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2008 22:13:06 +0000 Received: from [161.129.204.104] (gecko.geckosoftware.com [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by detroit.geckosoftware.com (Postfix) with ESMTP id 1583330011F for <[email protected]>; Wed, 27 Feb 2008 15:13:25 -0700 (MST) Message-ID: <[email protected]> Date: Wed, 27 Feb 2008 15:13:39 -0700 From: "Jacob L. Anawalt" <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20080213) MIME-Version: 1.0 To: Log4CXX User <[email protected]> Subject: Appender filtering Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello, I want errors >= WARN to go to syslog and nothing else that happens to get inserted into the log stream so I attempted to use the Threshold option in AppenderSkeleton (which my docs show SyslogAppender inheriting from) mentioned in FAQ 2.9 [1]. #PropertyConfigurator file log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender log4j.appender.SYSLOG=org.apache.log4j.SyslogAppender log4j.appender.SYSLOG.Threshold=WARN #layout lines omitted log4j.rootLogger=WARN, SYSLOG log4j.logger.MyApp=DEBUG, CONSOLE log4j.logger.MyApp.MyClass=INFO I am getting info and debug messages in my system logs. Any suggestions? (I can't find examples/sort4.lcf mentioned in the FAQ in either the Debian 4.0 sources for the package or the svn checkout I just did.) [1] http://logging.apache.org/log4cxx/faq.html#2.9 -- Jacob Anawalt Gecko Software, Inc. [email protected] (562)509-4935 From [email protected] Thu Feb 28 22:58:48 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92357 invoked from network); 28 Feb 2008 22:58:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Feb 2008 22:58:48 -0000 Received: (qmail 90846 invoked by uid 500); 28 Feb 2008 22:58:41 -0000 Delivered-To: [email protected] Received: (qmail 90821 invoked by uid 500); 28 Feb 2008 22:58:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 90808 invoked by uid 99); 28 Feb 2008 22:58:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2008 14:58:41 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtp-gsi.geckosoftware.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2008 22:58:06 +0000 Received: from [161.129.204.104] (gecko.geckosoftware.com [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by detroit.geckosoftware.com (Postfix) with ESMTP id 47F573000A7 for <[email protected]>; Thu, 28 Feb 2008 15:58:16 -0700 (MST) Message-ID: <[email protected]> Date: Thu, 28 Feb 2008 15:58:20 -0700 From: "Jacob L. Anawalt" <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20080213) MIME-Version: 1.0 To: Log4CXX User <[email protected]> Subject: CategoryApiDocs on Wiki Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello, I've added some pages to the wiki with most of them linked to CategoryApiDocs [1]. I would appreciate feedback or corrections (direct to the wiki would be nice) from the more experienced log4cxx users. If it seems to be going in an OK direction I'll link to the category page from the FrontPage. [1] http://wiki.apache.org/logging-log4cxx/CategoryApiDocs -- Jacob Anawalt Gecko Software, Inc. [email protected] (562)509-4935 From [email protected] Fri Feb 29 10:07:17 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90576 invoked from network); 29 Feb 2008 10:07:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Feb 2008 10:07:17 -0000 Received: (qmail 43776 invoked by uid 500); 29 Feb 2008 10:07:11 -0000 Delivered-To: [email protected] Received: (qmail 43751 invoked by uid 500); 29 Feb 2008 10:07:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 43740 invoked by uid 99); 29 Feb 2008 10:07:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Feb 2008 02:07:11 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO paralaus.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Feb 2008 10:06:25 +0000 Received: from [161.129.204.104] by paralaus.com (MDaemon PRO v9.6.3) with ESMTP id md50000338938.msg for <[email protected]>; Fri, 29 Feb 2008 12:06:20 +0200 Message-ID: <[email protected]> Date: Fri, 29 Feb 2008 12:07:06 +0200 From: Ufuk Kayserilioglu <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20080213) MIME-Version: 1.0 To: Log4CXX User <[email protected]> Subject: Re: [VOTE][RECALL] log4cxx 0.10.0-rc2 References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: [email protected] X-HashCash: 1:18:080229:md5000033acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bSRvAOAPWTuPyO178:00001K8n X-Spam-Processed: paralaus.com, Fri, 29 Feb 2008 12:06:20 +0200 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 161.129.204.104 X-Return-Path: [email protected] X-Envelope-From: [email protected] X-MDaemon-Deliver-To: [email protected] X-MDAV-Processed: paralaus.com, Fri, 29 Feb 2008 12:06:22 +0200 X-Virus-Checked: Checked by ClamAV on apache.org Curt Arnold wrote: > > On Feb 27, 2008, at 4:01 AM, Ufuk Kayserilioglu wrote: >> Thank you for all your efforts in trying to get a 0.10 release out of >> the door; it was much needed. >> >> There is, however, still one issue that we see as very critical on >> Windows platforms that results in an application hang because of a >> config reload and has been reported twice to the Dev list and as >> LOGCXX-246 <https://issues.apache.org/jira/browse/LOGCXX-246>. The >> problem stems from a wrong assumption about Thracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstop() method call >> and the fix, as we have gone about doing it, is very simple to >> implement. >> >> Could you please consider it for the next RC as well? >> >> Many thanks, >> >> Ufuk Kayserilioglu >> >> > > > Sorry to leave it off the list. I was writing at the end of a long > day. I did see the bug report minutes after posting RC2. I haven't > had a chance to look at the issue. > > My process would be to check: > > How similar is the log4j and log4cxx implementations? > If they are similar is it a flaw in both implementations, or is it a > flaw in the emulation of java.lang.Thread? > How to write a test case that would identify the issue? > > I won't be able to look at it for a few more days, so if anyone wants > to take a shot at answering those questions, add them as comments to > the bug report. I have just answered these questions in a comment to the bug report. You can access it here <https://issues.apache.org/jira/browse/LOGCXX-246?focusedCommentId=12573657#action_12573657>. Best regards, Ufuk Kayserilioglu From [email protected] Fri Feb 29 18:34:47 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73786 invoked from network); 29 Feb 2008 18:34:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Feb 2008 18:34:46 -0000 Received: (qmail 81910 invoked by uid 500); 29 Feb 2008 18:34:41 -0000 Delivered-To: [email protected] Received: (qmail 81884 invoked by uid 500); 29 Feb 2008 18:34:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 81873 invoked by uid 99); 29 Feb 2008 18:34:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Feb 2008 10:34:41 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO pluto.phpwebhosting.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 29 Feb 2008 18:33:52 +0000 Received: (qmail 13067 invoked from network); 29 Feb 2008 18:17:28 -0000 Received: from unknown (HELO OCTOBER) (161.129.204.104) by pluto.phpwebhosting.com with SMTP; Fri, 29 Feb 2008 13:17:28 -0500 Reply-To: <[email protected]> From: "Stephen Bartnikowski" <[email protected]> To: "'Log4CXX User'" <[email protected]> References: <[email protected]> <000001c878d1$4f5cd100$97dea8c0@OCTOBER> <[email protected]> Subject: RE: [VOTE] log4cxx 0.10.0 release candidate Date: Fri, 29 Feb 2008 12:34:10 -0600 Organization: Barking Lizards Technologies Message-ID: <000301c87b01$ad42d080$97dea8c0@OCTOBER> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <[email protected]> Thread-Index: Ach40zmbZ5ebgnuAR5qF/dWL7TjJ5wCJmyug X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Virus-Checked: Checked by ClamAV on apache.org > -----Original Message----- > From: Curt Arnold [mailto:[email protected]] > Sent: Tuesday, February 26, 2008 6:12 PM > To: Log4CXX User > Subject: Re: [VOTE] log4cxx 0.10.0 release candidate > > > On Feb 26, 2008, at 5:42 PM, Stephen Bartnikowski wrote: > > > Hi Curt, > > > > My usage for Log4cxx in the near term currently involves three > > platforms, Mac OS X Server, FreeBSD, and SUSE (both open and > > enterprise). The idea for my product is to refer my end-users to > > log4cxx for installation, rather than including the lib and > headers in > > my distribution. So I'll describe my experiences installing > them using > > the latest build instructions. > > > > On Mac OS X Server, I noticed the instructions assume the user has > > 10.5 / > > Leopard. I feel this assumption should be stated for the > folks like me > > who haven't upgraded from 10.4 / Tiger yet. Fortunately, I already > > know how to build on Tiger, thanks to your help. It's my intent to > > simply take Log4cxx and dump it into a Framework so the > end-user of my > > product doesn't have to deal with extra work or the so-called > > DLL-hell. > > I've got some uncommitted changes that tries to clarify that a bit. > You would prefer an Xcode project that assumes 10.4 and > builds APR and APR-Util with instructions on how to switch it > to use the APR and APR- Util provided with the 10.5 SDK? Maybe just some extra documentation on how to cook up 10.4 XCode project files. Yeah, an Xcode project for 10.4 is helpful, but you can't please everyone. It might not be worth the effort to go the extra mile in this case. > > > > On both FreeBSD and SUSE, I started out giving the autotools > > instructions a shot. But neither platforms have apt-get. Many > > platforms have different package managers, so it seems deficient to > > use only one platform's manager in the example. I would > rather see a > > link to the apr and aprutil project download pages. > > I thought that command would give the intent (install APR and > APR-Util using your package manager of choice) and that the > user would be able to translate that to there distribution. > In earlier revs, I had "# or your platform's equivalent)" but > that resulted in text that flowed outside the text box so I > removed it. The APR and APR-Util sites do not have a > maintained description of installation on different platforms. I'd be fine with just a second line or an otherwise reformatting of "# or your platform's equivalent". That or a reference to the APR and APR-Util project sites for downloading and installing. I'm just saying that a newish guy to the unix/lunix field might not have heard of apt, or Debian for that matter, and get confused. Now, take that with a grain of salt, because I'm also a little biased against the Unix and Linux package managers, especially after being on both ends of them. In creating a package or installing one, I tend run into errors more often then not. And half the time, the package isn't found and I have to download it from the project page anyway. > > (autogen.sh being referred to as autoconf.sh has already been > > mentioned.) > > > > On FreeBSD, autogen.sh doesn't get very far: > > libtoolize: not found > > aclocal: not found > > autoconf: not found > > automake: not found > > > Okay, so a RC should include the generated configure files > and should be checked against FreeBSD. That'd be great! > > So I fell back to the ant build. The ant instructions no longer > > mention the shared / static options for each of the libraries, but > > that's fine. By default, it builds the liblog4cxx.so just fine. I > > think this is satisfactory for what I need. > > I'll check and remedy that. Cool. > > If I have to distribute Log4cxx with my product, however, > this isn't > > so great. If I do the ant build for a liblog4cxx.so that sucks its > > dependencies in staticly, then ant will complain and not > complete. For > > example, specifying -Dapr.lib.type=static and > > -Dapr-util.lib.type=static will result in an error message > telling me > > they must both be the static, even though that's what I > asked for. But > > again, I can let this slide. > > > > > > I honestly really haven't given RC2 on SUSE a fair shot yet, but > > having more generic instructions on how to get apr and > aprutil would > > have helped. > > > > Finally, an install target would be immensely > helpful...something that > > would take the right headers and libs and dump them in the > appropriate > > platform location. But this is not a show-stopper. > > > > If you could contribute one, that would be very helpful. It > isn't something that I could do without effort. Yup, I understand. Unfortunately, since I don't know Ant or autotools well, the best thing I could turn out for you reliably would be a shell script that copied the lib and headers to the appropriate install locations. And that's not really ideal. I'll let you know if the time to figure that out lands in my lap. Thanks again Curt! - Stephen From [email protected] Fri Feb 29 23:11:07 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89244 invoked from network); 29 Feb 2008 23:11:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Feb 2008 23:11:07 -0000 Received: (qmail 24663 invoked by uid 500); 29 Feb 2008 23:11:02 -0000 Delivered-To: [email protected] Received: (qmail 24384 invoked by uid 500); 29 Feb 2008 23:11:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> List-Id: <log4cxx-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 24373 invoked by uid 99); 29 Feb 2008 23:11:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Feb 2008 15:11:01 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtp-gsi.geckosoftware.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Feb 2008 23:10:26 +0000 Received: from [161.129.204.104] (gecko.geckosoftware.com [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by detroit.geckosoftware.com (Postfix) with ESMTP id F3A1A3000A5 for <[email protected]>; Fri, 29 Feb 2008 16:10:35 -0700 (MST) Message-ID: <[email protected]> Date: Fri, 29 Feb 2008 16:10:40 -0700 From: "Jacob L. Anawalt" <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20080213) MIME-Version: 1.0 To: Log4CXX User <[email protected]> Subject: Re: Appender filtering References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: multipart/mixed; boundary="------------000900060101060701040100" X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. --------------000900060101060701040100 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Jacob L. Anawalt wrote: > I am getting info and debug messages in my system logs. I have purchased the log4j manual and it looks like I have the appender threshold settings correct. Here is the output of the attached program and configuration file. 2008-02-29 23:07:12 DEBUG root - 1 2008-02-29 23:07:12 DEBUG MyApp - 2 2008-02-29 23:07:12 WARN root - 3 2008-02-29 23:07:12 WARN MyApp - 4 -- Jacob Anawalt Gecko Software, Inc. [email protected] (562)509-4935 --------------000900060101060701040100 Content-Type: text/plain; name="appender_threshold.cpp" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="appender_threshold.cpp" #include <log4cxx/logger.h> #include <log4cxx/propertyconfigurator.h> int main(void) { log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bPropertyConfiguratoracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bonfigure("log4cxx.properties"); log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bLoggerPtr loggerRoot = log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bLoggeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetRootLogger(); log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bLoggerPtr loggerApp = log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bLoggeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLogger("MyApp"); LOG4CXX_DEBUG(loggerRoot,"1"); LOG4CXX_DEBUG(loggerApp,"2"); LOG4CXX_WARN(loggerRoot,"3"); LOG4CXX_WARN(loggerApp,"4"); return EXIT_SUCCESS; } --------------000900060101060701040100 Content-Type: text/plain; name="log4cxx.properties" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="log4cxx.properties" # A1 is set to be a ConsoleAppender. log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender # A1 uses PatternLayout. log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout log4j.appender.CONSOLE.layout.ConversionPattern=%d{%Y-%m-%d %H:%M:%S} %-5p %c %x - %m%n log4j.appender.CONSOLE.Threshold=WARN; log4j.rootLogger=ALL, CONSOLE --------------000900060101060701040100--
From [email protected] Sun Jul 02 13:14:16 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24151 invoked from network); 2 Jul 2006 13:14:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Jul 2006 13:14:15 -0000 Received: (qmail 66719 invoked by uid 500); 2 Jul 2006 13:14:14 -0000 Delivered-To: [email protected] Received: (qmail 66690 invoked by uid 500); 2 Jul 2006 13:14:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 66679 invoked by uid 500); 2 Jul 2006 13:14:13 -0000 Delivered-To: [email protected] Received: (qmail 66676 invoked by uid 99); 2 Jul 2006 13:14:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jul 2006 06:14:13 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jul 2006 06:14:12 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 9B17D410383 for <[email protected]>; Sun, 2 Jul 2006 13:12:30 +0000 (GMT) Message-ID: <22683430.1151845950632.JavaMail.jira@brutus> Date: Sun, 2 Jul 2006 13:12:30 +0000 (GMT+00:00) From: "Ate Douma (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Reopened: (JS2-550) A new Two-way password encoding service allowing decoding of encoded passwords In-Reply-To: <13355417.1151614229854.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-550?page=all ] Ate Douma reopened JS2-550: --------------------------- I'm also going to provide an extension to the PasswordEncodingService interface as well as an implementation, which will one to (lazy) upgrade from one PasswordCredentialEncoder to a new one. More specifically, from using MessageDigestCredentialPasswordEncoder to PBEPasswordService. This allows existing system which cannot upgrade the stored passwords directly because they are created using a one-way encryption, to gradually migrate to a two-way encryption solution (if you really need it, it *is* less secure of course). First of all, I'll provide a new interface AlgorithmUpgradePasswordEncodingService which defines a boolean usesOldEncodingAlgorithm(PasswordCredential) method. This method can be used to check if a selected PasswordCredential are has its password encoding upgraded. Furthermore, I'll provide an AlgorithmUpgradeCredentialPasswordEncoder interface extending CredentialPasswordEncoder allowing to recode a password from the old encoding to the new encoding during user authentication when the user has provided a (validated) clear text password value. Finally, as implementation, I'll provide a AlgorithmUpgradePBEPasswordService class extending the PBEPasswordService and implementing the above interfaces. For this class to be able to distinguish between "old" not yet recoded passwords and already PBEPassword encoded passwords, it evaluates several timestamp properties from the InternalCredential (or PasswordCredential), and for this, it needs to be configured with the date when the switch is made between the "old" CredentialPasswordEncoder and the PBEPasswordService encoding. And, to be able to authenticate not-yet recoded passwords, it needs an instance of the "old" CredentialPasswordEncoder. And example configuration of this AlgorithmUpgradeCredentialPasswordEncoder (in security-spi-atn.xml): <!-- A Two-way encoding password service which also implements CredentialPasswordEncoder Furthermore, this extension of the PBEPasswordService supports lazy upgrading from an old CredentialPasswordEncoder like the default provided MessageDigestCredentialPasswordEncoder --> <bean id="org.apache.jetspeed.security.PasswordEncodingService" name="org.apache.jetspeed.security.spi.CredentialPasswordEncoder" class="org.apache.jetspeed.security.spi.impl.AlgorithmUpgradePBEPasswordService"> <constructor-arg index="0"> <!-- secret PBE key password --> <value>********</value> </constructor-arg> <constructor-arg index="1"> <!-- old MessageDigestCredentialPasswordEncoder to be upgrading from, using SHA-1 --> <bean class="org.apache.jetspeed.security.spi.impl.MessageDigestCredentialPasswordEncoder"> <constructor-arg index="0"><value>SHA-1</value></constructor-arg> </bean> </constructor-arg> <constructor-arg index="2"> <!-- startPBEPasswordEncodingService: date before which old encoded passwords need to be recoded (on authentication) (SimpleDateFormat) format: yyyy-MM-dd HH:mm:ss --> <value>2006-07-02 15:00:00</value> </constructor-arg> </bean> To make sure the AlgoritmUpgradePBEPasswordService can reliably know if an encoded password needs to be upgraded, I've also improved some of the InternalCredential modifying (and querying) methods as in some situations, the ModifiedDate, PreviousAuthenticationDate and LastAuthenticationDate were not set/updated as needed. These changes should have no effect on current/other usages as these fields weren't used much (yet). > A new Two-way password encoding service allowing decoding of encoded passwords > ------------------------------------------------------------------------------ > > Key: JS2-550 > URL: http://issues.apache.org/jira/browse/JS2-550 > Project: Jetspeed 2 > Type: New Feature > Components: Security > Versions: 2.1, 2.1-dev > Reporter: Ate Douma > Assignee: Ate Douma > Fix For: 2.1, 2.1-dev > > For password encoding Jetspeed currently only provides the MessageDigestCredentialPasswordEncoder in the security component. > While highly secure, this encoding solution cannot be used when you would like to be able to recover lost passwords, like providing the clear text value back to the user to a know/trusted email address. Or for an trusted administrator to be able to do the same manually. > Therefore, I'll provide a new two-way encoding solution based on PKCS #5 PBE (Password Based Encryption), which uses a cipher generated from a secure password to encode user passwords. For this solution I'll provide a service which both implements the security component SPI CredentialPasswordEncoder as well as a decode method to retrieve the clear text value of an encoded password. > Thus, I'll add a new PasswordEncodingService interface to the jetspeed-api and a PBEPasswordService implementation in the security component. > The PBEPasswordService both extends a POJO PBEPasswordTool class, which also can be used standalone through a main method, as well as the CredentialPasswordEncoder. > This way, this new service can both be made available as a portlet service through the Jetspeed Spring configuration for usage from specialized Portlet Applications, as well be used as a replacement for the default MessageDigestCredentialPasswordEncoder. > Example Jetspeed Spring configuration how to make use of the new service could be as follows. > In security-spi-atn.xml: > <!-- A Two-way encoding password service which also implements CredentialPasswordEncoder > this Service can be used instead of for example the default provided MessageDigestCredentialPasswordEncoder --> > <bean id="org.apache.jetspeed.security.PasswordEncodingService" name="org.apache.jetspeed.security.spi.CredentialPasswordEncoder" class="org.apache.jetspeed.security.spi.impl.PBEPasswordService"> > <constructor-arg index="0"> > <!-- secret PBE key password --> > <value>********</value> > </constructor-arg> > </bean> > In jetspeed-services.xml: > <bean id="PortalServices" class="org.apache.jetspeed.services.JetspeedPortletServices"> > <constructor-arg> > <map> > <entry key="PortletRegistryComponent"> > <ref bean="org.apache.jetspeed.components.portletregistry.PortletRegistry" /> > </entry> > ... > <entry key="PasswordEncodingService"> > <ref bean="org.apache.jetspeed.security.PasswordEncodingService" /> > </entry> > ... > <map> > <constructor-arg> > </bean> > Using the PBEPasswordTool standalone is possible as follows. > Running the following command > java -cp jetspeed-api-2.1-dev.jar:jetspeed-security-2.1-dev.jar:commons-codec-1.3.jar org.apache.jetspeed.security.util.PBEPasswordTool > gives the following output: > Encode/Decode a user password using Password Based Encryption > Usage: PBEPasswordTool <encode|decode> <encoding-password> <username> <password> > encode|decode : specify if to encode or decode the provided password > encoding-password: the password to be used for encoding and decoding > username : the name of the user to which the provided password belongs > password : the cleartext password to encode, or the encoded password to decode -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Jul 02 15:07:02 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53547 invoked from network); 2 Jul 2006 15:07:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Jul 2006 15:07:02 -0000 Received: (qmail 45666 invoked by uid 500); 2 Jul 2006 15:07:01 -0000 Delivered-To: [email protected] Received: (qmail 45646 invoked by uid 500); 2 Jul 2006 15:07:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 45635 invoked by uid 99); 2 Jul 2006 15:07:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jul 2006 08:07:00 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jul 2006 08:06:59 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id A5AE01A983A; Sun, 2 Jul 2006 08:06:39 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r418603 - /portals/jetspeed-2/trunk/components/security/src/test/org/apache/jetspeed/security/TestPermissionManager.java Date: Sun, 02 Jul 2006 15:06:39 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: ate Date: Sun Jul 2 08:06:38 2006 New Revision: 418603 URL: http://svn.apache.org/viewvc?rev=418603&view=rev Log: Cannot reliably test unordered lists values using index based comparisions. Added sorting to make sure it works allways. Modified: portals/jetspeed-2/trunk/components/security/src/test/org/apache/jetspeed/security/TestPermissionManager.java Modified: portals/jetspeed-2/trunk/components/security/src/test/org/apache/jetspeed/security/TestPermissionManager.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/security/src/test/org/apache/jetspeed/security/TestPermissionManager.java?rev=418603&r1=418602&r2=418603&view=diff ============================================================================== --- portals/jetspeed-2/trunk/components/security/src/test/org/apache/jetspeed/security/TestPermissionManager.java (original) +++ portals/jetspeed-2/trunk/components/security/src/test/org/apache/jetspeed/security/TestPermissionManager.java Sun Jul 2 08:06:38 2006 @@ -19,8 +19,10 @@ import java.security.Permissions; import java.security.Principal; import java.util.ArrayList; +import java.util.Arrays; import java.util.Collection; import java.util.Collections; +import java.util.Comparator; import java.util.Enumeration; import java.util.HashSet; import java.util.Set; @@ -44,6 +46,14 @@ */ public class TestPermissionManager extends AbstractSecurityTestcase { + private static final Comparator principalComparator = new Comparator() + { + + public int compare(Object arg0, Object arg1) + { + return ((Principal)arg0).getName().compareTo(((Principal)arg1).getName()); + } + }; /** * @see junit.framework.TestCase#setUp() @@ -778,6 +788,7 @@ Collection principals = pms.getPrincipals(perm1); assertTrue("principal count should be 2 ", principals.size() == 2); Object [] array = (Object[])principals.toArray(); + Arrays.sort(array, principalComparator); assertTrue("element is Principal ", array[0] instanceof Principal); assertTrue("first element not found ", ((Principal)array[0]).getName().equals("role1")); assertTrue("second element not found ", ((Principal)array[1]).getName().equals("role2")); @@ -799,7 +810,8 @@ principals = pms.getPrincipals(perm1); assertTrue("principal count should be 3 ", principals.size() == 3); array = (Object[])principals.toArray(); - assertTrue("first element not found ", ((Principal)array[0]).getName().equals("role1")); + Arrays.sort(array, principalComparator); + assertTrue("first element should be [role1] but found ["+((Principal)array[0]).getName()+"]", ((Principal)array[0]).getName().equals("role1")); assertTrue("second element not found ", ((Principal)array[1]).getName().equals("role3")); assertTrue("third element not found ", ((Principal)array[2]).getName().equals("role4")); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Jul 02 15:10:43 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53781 invoked from network); 2 Jul 2006 15:10:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Jul 2006 15:10:43 -0000 Received: (qmail 46540 invoked by uid 500); 2 Jul 2006 15:10:41 -0000 Delivered-To: [email protected] Received: (qmail 46507 invoked by uid 500); 2 Jul 2006 15:10:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 46496 invoked by uid 99); 2 Jul 2006 15:10:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jul 2006 08:10:41 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jul 2006 08:10:40 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 69E021A983A; Sun, 2 Jul 2006 08:10:20 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r418604 - in /portals/jetspeed-2/trunk: components/portal/src/java/org/apache/jetspeed/security/impl/ components/security/src/java/org/apache/jetspeed/security/spi/ components/security/src/java/org/apache/jetspeed/security/spi/impl/ jetspee... Date: Sun, 02 Jul 2006 15:10:19 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: ate Date: Sun Jul 2 08:10:18 2006 New Revision: 418604 URL: http://svn.apache.org/viewvc?rev=418604&view=rev Log: JS2-550: A new Two-way password encoding service allowing decoding of encoded passwords This set of changes provides a further enhancement providing a way to lazy upgrade from one encoding scheme to another. Furthermore, a few improvements in handling of InternalCredential timestamp properties. See: http://issues.apache.org/jira/browse/JS2-550#action_12418846 Added: portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/AlgorithmUpgradeCredentialPasswordEncoder.java portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/impl/AlgorithmUpgradePBEPasswordService.java portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/security/AlgorithmUpgradePasswordEncodingService.java Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/security/impl/PasswordCredentialValveImpl.java portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/impl/DefaultCredentialHandler.java portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/security-spi-atn.xml Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/security/impl/PasswordCredentialValveImpl.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/security/impl/PasswordCredentialValveImpl.java?rev=418604&r1=418603&r2=418604&view=diff ============================================================================== --- portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/security/impl/PasswordCredentialValveImpl.java (original) +++ portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/security/impl/PasswordCredentialValveImpl.java Sun Jul 2 08:10:18 2006 @@ -102,6 +102,7 @@ { request.setSessionAttribute(CHECKED_KEY,Boolean.TRUE); if ( pwdCredential.getPreviousAuthenticationDate() != null && + pwdCredential.getLastAuthenticationDate() != null && pwdCredential.getExpirationDate() != null ) { long expirationTime = pwdCredential.getExpirationDate().getTime(); Added: portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/AlgorithmUpgradeCredentialPasswordEncoder.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/AlgorithmUpgradeCredentialPasswordEncoder.java?rev=418604&view=auto ============================================================================== --- portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/AlgorithmUpgradeCredentialPasswordEncoder.java (added) +++ portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/AlgorithmUpgradeCredentialPasswordEncoder.java Sun Jul 2 08:10:18 2006 @@ -0,0 +1,42 @@ +/* Copyright 2004 Apache Software Foundation +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +package org.apache.jetspeed.security.spi; + +import org.apache.jetspeed.security.PasswordCredential; +import org.apache.jetspeed.security.SecurityException; +import org.apache.jetspeed.security.om.InternalCredential; + +/** + * <p> + * AlgorithmUpgradeCredentialPasswordEncoder which is provided with the InternalCredential as well + * to allow for migrating between two different encoding schemes. + * </p> + * <p> + * The extended encode method is *only* called in the context of validating an existing (old) password, + * and not used for creating or updating to a new password directl! + * </p> + * <p> + * After successfull authentication, the recodeIfNeeded method will be called allowing to migrate to the new encryption scheme. + * </p> + * + * @author <a href="mailto:[email protected]">Ate Douma</a> + * @version $Id$ + */ +public interface AlgorithmUpgradeCredentialPasswordEncoder extends CredentialPasswordEncoder +{ + String encode(String userName, String clearTextPassword, InternalCredential credential) throws SecurityException; + void recodeIfNeeded(String userName, String clearTextPassword, InternalCredential credential) throws SecurityException; + boolean usesOldEncodingAlgorithm(PasswordCredential credential); +} Added: portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/impl/AlgorithmUpgradePBEPasswordService.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/impl/AlgorithmUpgradePBEPasswordService.java?rev=418604&view=auto ============================================================================== --- portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/impl/AlgorithmUpgradePBEPasswordService.java (added) +++ portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/impl/AlgorithmUpgradePBEPasswordService.java Sun Jul 2 08:10:18 2006 @@ -0,0 +1,112 @@ +/* Copyright 2004 Apache Software Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.jetspeed.security.spi.impl; + +import java.security.NoSuchAlgorithmException; +import java.security.spec.InvalidKeySpecException; +import java.sql.Timestamp; +import java.text.ParseException; +import java.text.SimpleDateFormat; +import java.util.Date; + +import org.apache.jetspeed.security.AlgorithmUpgradePasswordEncodingService; +import org.apache.jetspeed.security.PasswordCredential; +import org.apache.jetspeed.security.SecurityException; +import org.apache.jetspeed.security.om.InternalCredential; +import org.apache.jetspeed.security.spi.AlgorithmUpgradeCredentialPasswordEncoder; +import org.apache.jetspeed.security.spi.CredentialPasswordEncoder; + +/** + * <p> + * MessageDigestToPBEPasswordUpgradeService allows for migrating from a MessageDigestCredentialPasswordEncoder + * to the PBEPasswordService + * </p> + * + * @author <a href="mailto:[email protected]">Ate Douma</a> + * @version $Id:$ + */ +public class AlgorithmUpgradePBEPasswordService extends PBEPasswordService implements AlgorithmUpgradeCredentialPasswordEncoder, AlgorithmUpgradePasswordEncodingService +{ + private CredentialPasswordEncoder oldEncoder; + private Timestamp startPBEPasswordEncoding; + + public AlgorithmUpgradePBEPasswordService(String pbePassword, CredentialPasswordEncoder oldEncoder, String startPBEPasswordEncoding) throws InvalidKeySpecException, + NoSuchAlgorithmException, ParseException + { + super(pbePassword); + this.oldEncoder = oldEncoder; + SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); + this.startPBEPasswordEncoding = new Timestamp(df.parse(startPBEPasswordEncoding).getTime()); + } + + /* (non-Javadoc) + * @see org.apache.jetspeed.security.AlgorithmUpgradePasswordEncodingService#usesOldEncodingAlgorithm(org.apache.jetspeed.security.PasswordCredential) + */ + public boolean usesOldEncodingAlgorithm(PasswordCredential credential) + { + return usesOldEncodingAlgorithm(credential.isEnabled(), credential.getLastAuthenticationDate(), credential.getPreviousAuthenticationDate()); + } + + /* (non-Javadoc) + * @see org.apache.jetspeed.security.spi.AlgorithmUpgradeCredentialPasswordEncoder#encode(java.lang.String, java.lang.String, org.apache.jetspeed.security.om.InternalCredential) + */ + public String encode(String userName, String clearTextPassword, InternalCredential credential) throws SecurityException + { + if ( usesOldEncodingAlgorithm(credential.isEnabled(), credential.getLastAuthenticationDate(), credential.getPreviousAuthenticationDate())) + { + return oldEncoder.encode(userName, clearTextPassword); + } + else + { + return encode(userName, clearTextPassword); + } + } + + /* (non-Javadoc) + * @see org.apache.jetspeed.security.spi.AlgorithmUpgradeCredentialPasswordEncoder#recodeIfNeeded(java.lang.String, java.lang.String, org.apache.jetspeed.security.om.InternalCredential) + */ + public void recodeIfNeeded(String userName, String clearTextPassword, InternalCredential credential) throws SecurityException + { + if ( usesOldEncodingAlgorithm(credential.isEnabled(), credential.getLastAuthenticationDate(), credential.getPreviousAuthenticationDate())) + { + credential.setValue(encode(userName, clearTextPassword)); + } + } + + private boolean usesOldEncodingAlgorithm(boolean encoded, Timestamp lastAuthDate, Timestamp prevAuthDate ) + { + if ( encoded ) + { + if ( lastAuthDate != null ) + { + return lastAuthDate.before(startPBEPasswordEncoding); + } + else if ( prevAuthDate != null ) + { + // password was created, but the user is not authenticated yet + return prevAuthDate.before(startPBEPasswordEncoding); + } + else + { + // not yet upgraded encoded password + return true; + } + } + else + { + return false; + } + } +} Modified: portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/impl/DefaultCredentialHandler.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/impl/DefaultCredentialHandler.java?rev=418604&r1=418603&r2=418604&view=diff ============================================================================== --- portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/impl/DefaultCredentialHandler.java (original) +++ portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/impl/DefaultCredentialHandler.java Sun Jul 2 08:10:18 2006 @@ -32,6 +32,7 @@ import org.apache.jetspeed.security.om.InternalUserPrincipal; import org.apache.jetspeed.security.om.impl.InternalCredentialImpl; import org.apache.jetspeed.security.spi.CredentialHandler; +import org.apache.jetspeed.security.spi.AlgorithmUpgradeCredentialPasswordEncoder; import org.apache.jetspeed.security.spi.InternalPasswordCredentialInterceptor; import org.apache.jetspeed.security.spi.PasswordCredentialProvider; import org.apache.jetspeed.security.spi.SecurityAccess; @@ -157,7 +158,14 @@ credential.isEncoded() && pcProvider.getEncoder() != null ) { - oldPassword = pcProvider.getEncoder().encode(userName, oldPassword); + if ( pcProvider.getEncoder() instanceof AlgorithmUpgradeCredentialPasswordEncoder ) + { + oldPassword = ((AlgorithmUpgradeCredentialPasswordEncoder)pcProvider.getEncoder()).encode(userName,oldPassword, credential); + } + else + { + oldPassword = pcProvider.getEncoder().encode(userName,oldPassword); + } } } @@ -219,6 +227,7 @@ ipcInterceptor.beforeSetPassword(internalUser, credentials, userName, credential, newPassword, oldPassword != null ); } } + if (!create) { credential.setValue(newPassword); @@ -226,7 +235,27 @@ credential.setUpdateRequired(false); } - internalUser.setModifiedDate(new Timestamp(new Date().getTime())); + long time = new Date().getTime(); + + if ( oldPassword == null ) + { + // non-user (admin) modified the password + + // set current time in previous auth date, and clear last authentication date + // !!! While this might be a bit strange logic, it is *required* for the AlgorithmUpgradePBEPasswordEncodingService + // to be able to distinguise password changes from other changes + credential.setPreviousAuthenticationDate(new Timestamp(new Date().getTime())); + credential.setLastAuthenticationDate(null); + } + else + { + // authenticated password change (by user itself) + credential.setPreviousAuthenticationDate(credential.getLastAuthenticationDate()); + credential.setLastAuthenticationDate(new Timestamp(time)); + } + + credential.setModifiedDate(new Timestamp(time)); + internalUser.setModifiedDate(new Timestamp(time)); internalUser.setCredentials(credentials); // Set the user with the new credentials. securityAccess.setInternalUserPrincipal(internalUser, false); @@ -244,9 +273,11 @@ InternalCredential credential = getPasswordCredential(internalUser, userName ); if ( credential != null && !credential.isExpired() && credential.isEnabled() != enabled ) { + long time = new Date().getTime(); credential.setEnabled(enabled); credential.setAuthenticationFailures(0); - internalUser.setModifiedDate(new Timestamp(new Date().getTime())); + credential.setModifiedDate(new Timestamp(time)); + internalUser.setModifiedDate(new Timestamp(time)); securityAccess.setInternalUserPrincipal(internalUser, false); } } @@ -280,6 +311,7 @@ // The current InternalPasswordCredentialStateHandlingInterceptor.afterLoad() // logic will only set it (back) to true if both prev and last auth. date is null credential.setPreviousAuthenticationDate(new Timestamp(time)); + credential.setModifiedDate(new Timestamp(time)); internalUser.setModifiedDate(new Timestamp(time)); securityAccess.setInternalUserPrincipal(internalUser, false); } @@ -335,12 +367,20 @@ InternalCredential credential = getPasswordCredential(internalUser, userName ); if ( credential != null && credential.isEnabled() && !credential.isExpired()) { + String encodedPassword = password; if ( pcProvider.getEncoder() != null && credential.isEncoded()) { - password = pcProvider.getEncoder().encode(userName,password); + if ( pcProvider.getEncoder() instanceof AlgorithmUpgradeCredentialPasswordEncoder ) + { + encodedPassword = ((AlgorithmUpgradeCredentialPasswordEncoder)pcProvider.getEncoder()).encode(userName,password, credential); + } + else + { + encodedPassword = pcProvider.getEncoder().encode(userName,password); + } } - authenticated = credential.getValue().equals(password); + authenticated = credential.getValue().equals(encodedPassword); boolean update = false; if ( ipcInterceptor != null ) @@ -351,17 +391,26 @@ authenticated = false; } } + long time = new Date().getTime(); + if ( authenticated ) { credential.setAuthenticationFailures(0); + + if ( pcProvider.getEncoder() != null && pcProvider.getEncoder() instanceof AlgorithmUpgradeCredentialPasswordEncoder) + { + ((AlgorithmUpgradeCredentialPasswordEncoder)pcProvider.getEncoder()).recodeIfNeeded(userName,password,credential); + } + credential.setPreviousAuthenticationDate(credential.getLastAuthenticationDate()); - credential.setLastAuthenticationDate(new Timestamp(System.currentTimeMillis())); + credential.setLastAuthenticationDate(new Timestamp(time)); update = true; } if ( update ) { - internalUser.setModifiedDate(new Timestamp(System.currentTimeMillis())); + credential.setModifiedDate(new Timestamp(time)); + internalUser.setModifiedDate(new Timestamp(time)); securityAccess.setInternalUserPrincipal(internalUser, false); } } Added: portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/security/AlgorithmUpgradePasswordEncodingService.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/security/AlgorithmUpgradePasswordEncodingService.java?rev=418604&view=auto ============================================================================== --- portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/security/AlgorithmUpgradePasswordEncodingService.java (added) +++ portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/security/AlgorithmUpgradePasswordEncodingService.java Sun Jul 2 08:10:18 2006 @@ -0,0 +1,30 @@ +/* Copyright 2004 Apache Software Foundation +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +package org.apache.jetspeed.security; + +/** + * <p> + * AlgorithmUpgradePasswordEncodingService allows checking a specific PasswordCredential if it uses the provided Encoding Algorithm. + * </p> + * <p> + * This service can be used for gradually migrating from a one-way encoding to a two-way encoding algoritmn. + * </p> + * @author <a href="mailto:[email protected]">Ate Douma</a> + * @version $Id$ + */ +public interface AlgorithmUpgradePasswordEncodingService extends PasswordEncodingService +{ + boolean usesOldEncodingAlgorithm(PasswordCredential passwordCredential); +} Modified: portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/security-spi-atn.xml URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/security-spi-atn.xml?rev=418604&r1=418603&r2=418604&view=diff ============================================================================== --- portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/security-spi-atn.xml (original) +++ portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/security-spi-atn.xml Sun Jul 2 08:10:18 2006 @@ -47,6 +47,32 @@ </bean> --> + <!-- A Two-way encoding password service which also implements CredentialPasswordEncoder + Furthermore, this extension of the PBEPasswordService supports lazy upgrading from an old CredentialPasswordEncoder + like the default provided MessageDigestCredentialPasswordEncoder + -> + <bean id="org.apache.jetspeed.security.PasswordEncodingService" + name="org.apache.jetspeed.security.spi.CredentialPasswordEncoder" + class="org.apache.jetspeed.security.spi.impl.AlgorithmUpgradePBEPasswordService"> + <constructor-arg index="0"> + <!- secret PBE key password -> + <value>********</value> + </constructor-arg> + <constructor-arg index="1"> + <!- old MessageDigestCredentialPasswordEncoder to be upgrading from, using SHA-1 -> + <bean class="org.apache.jetspeed.security.spi.impl.MessageDigestCredentialPasswordEncoder"> + <constructor-arg index="0"><value>SHA-1</value></constructor-arg> + </bean> + </constructor-arg> + <constructor-arg index="2"> + <!- startPBEPasswordEncodingService: date before which old encoded passwords need to be recoded (on authentication) + (SimpleDateFormat) format: yyyy-MM-dd HH:mm:ss + -> + <value>2006-07-02 15:00:00</value> + </constructor-arg> + </bean> +--> + <!-- allow multiple InternalPasswordCredentialInterceptors to be used for DefaultCredentialHandler --> <bean id="org.apache.jetspeed.security.spi.InternalPasswordCredentialInterceptor" class="org.apache.jetspeed.security.spi.impl.InternalPasswordCredentialInterceptorsProxy"> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Jul 02 15:11:43 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53923 invoked from network); 2 Jul 2006 15:11:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Jul 2006 15:11:42 -0000 Received: (qmail 47067 invoked by uid 500); 2 Jul 2006 15:11:41 -0000 Delivered-To: [email protected] Received: (qmail 47039 invoked by uid 500); 2 Jul 2006 15:11:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 47028 invoked by uid 99); 2 Jul 2006 15:11:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jul 2006 08:11:41 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jul 2006 08:11:40 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id AEBDE1A983E; Sun, 2 Jul 2006 08:11:20 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r418605 - /portals/jetspeed-2/trunk/components/webapp-logging/ Date: Sun, 02 Jul 2006 15:11:20 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: ate Date: Sun Jul 2 08:11:20 2006 New Revision: 418605 URL: http://svn.apache.org/viewvc?rev=418605&view=rev Log: svn ignore Modified: portals/jetspeed-2/trunk/components/webapp-logging/ (props changed) Propchange: portals/jetspeed-2/trunk/components/webapp-logging/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Sun Jul 2 08:11:20 2006 @@ -1,2 +1,3 @@ target +jcoverage.ser --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Jul 02 15:16:17 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54486 invoked from network); 2 Jul 2006 15:16:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Jul 2006 15:16:16 -0000 Received: (qmail 50099 invoked by uid 500); 2 Jul 2006 15:16:16 -0000 Delivered-To: [email protected] Received: (qmail 49701 invoked by uid 500); 2 Jul 2006 15:16:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 49690 invoked by uid 500); 2 Jul 2006 15:16:15 -0000 Delivered-To: [email protected] Received: (qmail 49687 invoked by uid 99); 2 Jul 2006 15:16:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jul 2006 08:16:14 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jul 2006 08:16:13 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A04EA7141F9 for <[email protected]>; Sun, 2 Jul 2006 15:14:31 +0000 (GMT) Message-ID: <24188026.1151853271653.JavaMail.jira@brutus> Date: Sun, 2 Jul 2006 15:14:31 +0000 (GMT+00:00) From: "Ate Douma (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (JS2-550) A new Two-way password encoding service allowing decoding of encoded passwords In-Reply-To: <13355417.1151614229854.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-550?page=all ] Ate Douma resolved JS2-550: --------------------------- Resolution: Fixed Algorithm upgrade support committed > A new Two-way password encoding service allowing decoding of encoded passwords > ------------------------------------------------------------------------------ > > Key: JS2-550 > URL: http://issues.apache.org/jira/browse/JS2-550 > Project: Jetspeed 2 > Type: New Feature > Components: Security > Versions: 2.1, 2.1-dev > Reporter: Ate Douma > Assignee: Ate Douma > Fix For: 2.1, 2.1-dev > > For password encoding Jetspeed currently only provides the MessageDigestCredentialPasswordEncoder in the security component. > While highly secure, this encoding solution cannot be used when you would like to be able to recover lost passwords, like providing the clear text value back to the user to a know/trusted email address. Or for an trusted administrator to be able to do the same manually. > Therefore, I'll provide a new two-way encoding solution based on PKCS #5 PBE (Password Based Encryption), which uses a cipher generated from a secure password to encode user passwords. For this solution I'll provide a service which both implements the security component SPI CredentialPasswordEncoder as well as a decode method to retrieve the clear text value of an encoded password. > Thus, I'll add a new PasswordEncodingService interface to the jetspeed-api and a PBEPasswordService implementation in the security component. > The PBEPasswordService both extends a POJO PBEPasswordTool class, which also can be used standalone through a main method, as well as the CredentialPasswordEncoder. > This way, this new service can both be made available as a portlet service through the Jetspeed Spring configuration for usage from specialized Portlet Applications, as well be used as a replacement for the default MessageDigestCredentialPasswordEncoder. > Example Jetspeed Spring configuration how to make use of the new service could be as follows. > In security-spi-atn.xml: > <!-- A Two-way encoding password service which also implements CredentialPasswordEncoder > this Service can be used instead of for example the default provided MessageDigestCredentialPasswordEncoder --> > <bean id="org.apache.jetspeed.security.PasswordEncodingService" name="org.apache.jetspeed.security.spi.CredentialPasswordEncoder" class="org.apache.jetspeed.security.spi.impl.PBEPasswordService"> > <constructor-arg index="0"> > <!-- secret PBE key password --> > <value>********</value> > </constructor-arg> > </bean> > In jetspeed-services.xml: > <bean id="PortalServices" class="org.apache.jetspeed.services.JetspeedPortletServices"> > <constructor-arg> > <map> > <entry key="PortletRegistryComponent"> > <ref bean="org.apache.jetspeed.components.portletregistry.PortletRegistry" /> > </entry> > ... > <entry key="PasswordEncodingService"> > <ref bean="org.apache.jetspeed.security.PasswordEncodingService" /> > </entry> > ... > <map> > <constructor-arg> > </bean> > Using the PBEPasswordTool standalone is possible as follows. > Running the following command > java -cp jetspeed-api-2.1-dev.jar:jetspeed-security-2.1-dev.jar:commons-codec-1.3.jar org.apache.jetspeed.security.util.PBEPasswordTool > gives the following output: > Encode/Decode a user password using Password Based Encryption > Usage: PBEPasswordTool <encode|decode> <encoding-password> <username> <password> > encode|decode : specify if to encode or decode the provided password > encoding-password: the password to be used for encoding and decoding > username : the name of the user to which the provided password belongs > password : the cleartext password to encode, or the encoded password to decode -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Jul 02 20:56:08 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53173 invoked from network); 2 Jul 2006 20:56:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Jul 2006 20:56:08 -0000 Received: (qmail 46895 invoked by uid 500); 2 Jul 2006 20:56:07 -0000 Delivered-To: [email protected] Received: (qmail 46855 invoked by uid 500); 2 Jul 2006 20:56:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 46835 invoked by uid 500); 2 Jul 2006 20:56:06 -0000 Delivered-To: [email protected] Received: (qmail 46832 invoked by uid 99); 2 Jul 2006 20:56:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jul 2006 13:56:06 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO relay01a.ntr.oleane.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jul 2006 13:56:05 -0700 Received: from [161.129.204.104] ([161.129.204.104]) by relay01a.ntr.oleane.net with ESMTP id k62KtWwi010847 for <[email protected]>; Sun, 2 Jul 2006 22:55:36 +0200 Message-ID: <[email protected]> Date: Sun, 02 Jul 2006 13:55:28 -0700 From: David Sean Taylor <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jetspeed Developers List <[email protected]> Subject: [vote] new committer Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I would like to propose a new committer to the Jetspeed team. His name is Steve Milek. He has been working very hard on the Jetspeed Desktop since April. His contributions speak for themselves. If you have not tried out the Jetspeed Desktop, load up Jetspeed in Tomcat, and point your browser at http://localhost:8080/jetspeed/desktop Recently, he contributed a drag and drop portlet selector (right click on the tab menus). We still have a lot of work to do on the desktop features. Having Steve contributing fulltime will be a very valuable addition to the Apache Portals team Here is a list of his contributions to date: j2o Desktop - javascript model (pages, portlets, menus, etc.) - portlet UI - tab UI - menu UI - layout UI - portlet aggregator - portlet selector permissions portlet - editor table ui +1 -- David Sean Taylor Bluesunrise Software [email protected] [office] +01 707 773-4646 [mobile] +01 707 529 9194 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Jul 02 21:02:53 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54155 invoked from network); 2 Jul 2006 21:02:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Jul 2006 21:02:52 -0000 Received: (qmail 49924 invoked by uid 500); 2 Jul 2006 21:02:51 -0000 Delivered-To: [email protected] Received: (qmail 49906 invoked by uid 500); 2 Jul 2006 21:02:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 49893 invoked by uid 99); 2 Jul 2006 21:02:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jul 2006 14:02:51 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO web84015.mail.dcn.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 02 Jul 2006 14:02:50 -0700 Received: (qmail 47152 invoked by uid 60001); 2 Jul 2006 21:02:29 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=bBRlqwhksf1jG4TLMLJGoKGT/xU/Yeb8IOmC+/ha55uaevjycDciiYgRgadfjBgG9kI6gR8GaZlWAJDiKJGeCPX+YavzwM7R6sccYQOWuNsvRHAKl4qcKG1MuaLmHTgA44FyGKPjZdNpjnBawUv9NEW8OiY0Ysx5SDeZS3BYyIc= ; Message-ID: <[email protected]> Received: from [161.129.204.104] by web84015.mail.dcn.yahoo.com via HTTP; Sun, 02 Jul 2006 14:02:29 PDT Date: Sun, 2 Jul 2006 14:02:29 -0700 (PDT) From: David Le Strat <[email protected]> Reply-To: David Le Strat <[email protected]> Subject: Re: [vote] new committer To: Jetspeed Developers List <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N +1. ________________________David Le Strat Blogging @ http://dlsthoughts.blogspot.com ----- Original Message ---- From: David Sean Taylor <[email protected]> To: Jetspeed Developers List <[email protected]> Sent: Sunday, July 2, 2006 4:55:28 PM Subject: [vote] new committer I would like to propose a new committer to the Jetspeed team. His name is Steve Milek. He has been working very hard on the Jetspeed Desktop since April. His contributions speak for themselves. If you have not tried out the Jetspeed Desktop, load up Jetspeed in Tomcat, and point your browser at http://localhost:8080/jetspeed/desktop Recently, he contributed a drag and drop portlet selector (right click on the tab menus). We still have a lot of work to do on the desktop features. Having Steve contributing fulltime will be a very valuable addition to the Apache Portals team Here is a list of his contributions to date: j2o Desktop - javascript model (pages, portlets, menus, etc.) - portlet UI - tab UI - menu UI - layout UI - portlet aggregator - portlet selector permissions portlet - editor table ui +1 -- David Sean Taylor Bluesunrise Software [email protected] [office] +01 707 773-4646 [mobile] +01 707 529 9194 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Jul 02 21:08:03 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55042 invoked from network); 2 Jul 2006 21:08:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Jul 2006 21:08:02 -0000 Received: (qmail 54322 invoked by uid 500); 2 Jul 2006 21:08:01 -0000 Delivered-To: [email protected] Received: (qmail 54275 invoked by uid 500); 2 Jul 2006 21:08:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 54263 invoked by uid 99); 2 Jul 2006 21:08:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jul 2006 14:08:01 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO relay01a.ntr.oleane.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jul 2006 14:08:00 -0700 Received: from [161.129.204.104] ([161.129.204.104]) by relay01a.ntr.oleane.net with ESMTP id k62L7XOp012366 for <[email protected]>; Sun, 2 Jul 2006 23:07:36 +0200 Message-ID: <[email protected]> Date: Sun, 02 Jul 2006 14:07:25 -0700 From: David Sean Taylor <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jetspeed Developers List <[email protected]> Subject: Re: Questions : how to make one portlet processAction() get called before others References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N david zhuang wrote: > Hi, > I am developing a portal site now, I encounter the following problem: > One page has 2 portlet A and B. > 1. Portlet A will check whether this user is registered user and do auto login, show this user's name. > 2. Portlet B will add this user's ID into some generated URL link. > > How can I always let portlet A function processAction() get called first and populate the result to portlet B? > > Thanks for the help! > -David > THe processAction is guaranteed to be called first. Its up to you how to pass the user name to the second portlet If they are in the same app, you could use the Portlet Session's application scope. There are also a few portlet messaging solutions that have been discussed on this list and the jetspeed-user list. The next spec will more formerly address portlet intercommunication --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Jul 02 21:18:26 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56563 invoked from network); 2 Jul 2006 21:18:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Jul 2006 21:18:25 -0000 Received: (qmail 58686 invoked by uid 500); 2 Jul 2006 21:18:24 -0000 Delivered-To: [email protected] Received: (qmail 58666 invoked by uid 500); 2 Jul 2006 21:18:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 58654 invoked by uid 99); 2 Jul 2006 21:18:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jul 2006 14:18:24 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_POST X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO smtp17.mail.bbt.yahoo.co.jp) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 02 Jul 2006 14:18:23 -0700 Received: (qmail 25452 invoked by alias); 2 Jul 2006 21:18:00 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20050223; d=yahoo.co.jp; b=MiOffmhw4IcrBP7QZz9cquxGt8Ti/d/i4NDtqjK+X2taXX9MWo/jrN5U3mkYyxbi3pC69IniTlQi+Ik289Y/mCIsCcwmO0IGLpY9OwfK80rXx01jSB9WSeydJzS57dEK ; Received: from unknown (HELO ?161.129.204.104?) ([email protected] with plain) by smtp17.mail.bbt.yahoo.co.jp with SMTP; 2 Jul 2006 21:18:00 -0000 X-Apparently-From: <[email protected]> Message-ID: <[email protected]> Date: Mon, 03 Jul 2006 06:18:56 +0900 From: Shinsuke SUGAYA <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20060516) MIME-Version: 1.0 To: Jetspeed Developers List <[email protected]> Subject: Re: [vote] new committer References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N +1 Thanks, shinsuke David Sean Taylor wrote: > I would like to propose a new committer to the Jetspeed team. > His name is Steve Milek. He has been working very hard on the Jetspeed > Desktop since April. His contributions speak for themselves. If you have > not tried out the Jetspeed Desktop, load up Jetspeed in Tomcat, and > point your browser at http://localhost:8080/jetspeed/desktop > > Recently, he contributed a drag and drop portlet selector (right click > on the tab menus). We still have a lot of work to do on the desktop > features. Having Steve contributing fulltime will be a very valuable > addition to the Apache Portals team > > Here is a list of his contributions to date: > > j2o Desktop > - javascript model (pages, portlets, menus, etc.) > - portlet UI > - tab UI > - menu UI > - layout UI > - portlet aggregator > - portlet selector > > permissions portlet > - editor table ui > > > +1 > -------------------------------------- Let's start Yahoo! Auction - Free Campaign Now! http://pr.mail.yahoo.co.jp/auction/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Jul 02 21:35:38 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61197 invoked from network); 2 Jul 2006 21:35:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Jul 2006 21:35:38 -0000 Received: (qmail 71002 invoked by uid 500); 2 Jul 2006 21:35:37 -0000 Delivered-To: [email protected] Received: (qmail 70990 invoked by uid 500); 2 Jul 2006 21:35:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 70979 invoked by uid 99); 2 Jul 2006 21:35:37 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jul 2006 14:35:37 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jul 2006 14:35:36 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 674331A983A; Sun, 2 Jul 2006 14:35:16 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r418650 - /portals/jetspeed-2/trunk/xdocs/guides/guide-decorators.xml Date: Sun, 02 Jul 2006 21:35:16 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: shinsuke Date: Sun Jul 2 14:35:15 2006 New Revision: 418650 URL: http://svn.apache.org/viewvc?rev=418650&view=rev Log: fixed typo Modified: portals/jetspeed-2/trunk/xdocs/guides/guide-decorators.xml Modified: portals/jetspeed-2/trunk/xdocs/guides/guide-decorators.xml URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/xdocs/guides/guide-decorators.xml?rev=418650&r1=418649&r2=418650&view=diff ============================================================================== --- portals/jetspeed-2/trunk/xdocs/guides/guide-decorators.xml (original) +++ portals/jetspeed-2/trunk/xdocs/guides/guide-decorators.xml Sun Jul 2 14:35:15 2006 @@ -52,7 +52,7 @@ All decorations are stored in a directory directly off of the web applications root called <code>decrorations</code>. The two primary directories under the here are <code>layout</code> for layout decorations and <code>portlet</code> - for portlet decorations. Individual decoartions are housed in thier own directories + for portlet decorations. Individual decoartions are housed in their own directories underneath these two directories. The name of the directory you create for under either <code>layout</code> or <code>portlet</code> is how Jetspeed will locate your decoration. We will go into further detail on how this works later on in this guide. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Jul 02 22:28:25 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68398 invoked from network); 2 Jul 2006 22:28:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Jul 2006 22:28:25 -0000 Received: (qmail 9425 invoked by uid 500); 2 Jul 2006 22:28:24 -0000 Delivered-To: [email protected] Received: (qmail 9027 invoked by uid 500); 2 Jul 2006 22:28:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 9016 invoked by uid 99); 2 Jul 2006 22:28:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jul 2006 15:28:23 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO secure.wispertel.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 02 Jul 2006 15:28:22 -0700 Received: (qmail 20804 invoked from network); 2 Jul 2006 22:27:58 -0000 Received: from unknown (HELO ?161.129.204.104?) (161.129.204.104) by secure.wispertel.net with SMTP; 2 Jul 2006 22:27:58 -0000 Subject: Re: [vote] new committer From: Randy Watler <[email protected]> To: Jetspeed Developers List <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Content-Type: text/plain Date: Sun, 02 Jul 2006 16:29:26 -0600 Message-Id: <[email protected]> Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 (2.6.2-1.fc5.5) Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N +1 Randy > I would like to propose a new committer to the Jetspeed team. > His name is Steve Milek. He has been working very hard on the Jetspeed > Desktop since April. His contributions speak for themselves. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 03 00:49:06 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2075 invoked from network); 3 Jul 2006 00:49:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Jul 2006 00:49:06 -0000 Received: (qmail 46779 invoked by uid 500); 3 Jul 2006 00:49:05 -0000 Delivered-To: [email protected] Received: (qmail 46388 invoked by uid 500); 3 Jul 2006 00:49:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 46377 invoked by uid 99); 3 Jul 2006 00:49:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jul 2006 17:49:04 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jul 2006 17:49:04 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id DB56A1A983A; Sun, 2 Jul 2006 17:48:43 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r418667 - /portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/CommonPortletServices.java Date: Mon, 03 Jul 2006 00:48:43 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: taylor Date: Sun Jul 2 17:48:43 2006 New Revision: 418667 URL: http://svn.apache.org/viewvc?rev=418667&view=rev Log: testing out the two-way encoder making the service wellknown Modified: portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/CommonPortletServices.java Modified: portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/CommonPortletServices.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/CommonPortletServices.java?rev=418667&r1=418666&r2=418667&view=diff ============================================================================== --- portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/CommonPortletServices.java (original) +++ portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/CommonPortletServices.java Sun Jul 2 17:48:43 2006 @@ -43,5 +43,6 @@ public final static String CPS_PORTAL_STATISTICS = "cps:PortalStatistics"; public final static String CPS_PORTAL_ADMINISTRATION = "cps:PortalAdministration"; public final static String CPS_PREFERENCES_PROVIDER = "cps:PreferencesProvider"; - public final static String CPS_DECORATION_FACTORY = "cps:DecorationFactory"; + public final static String CPS_DECORATION_FACTORY = "cps:DecorationFactory"; + public final static String CPS_PASSWORD_ENCODER_COMPONENT = "cps:PasswordEncodingService"; } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 03 06:16:06 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61057 invoked from network); 3 Jul 2006 06:16:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Jul 2006 06:16:06 -0000 Received: (qmail 21945 invoked by uid 500); 3 Jul 2006 06:16:04 -0000 Delivered-To: [email protected] Received: (qmail 21906 invoked by uid 500); 3 Jul 2006 06:16:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 21895 invoked by uid 99); 3 Jul 2006 06:16:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jul 2006 23:16:04 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO post-22.mail.nl.demon.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jul 2006 23:16:03 -0700 Received: from adouma.demon.nl ([161.129.204.104]:35546 helo=[161.129.204.104]) by post-22.mail.nl.demon.net with esmtp (Exim 4.51) id 1FxHie-000HcF-Hx for [email protected]; Mon, 03 Jul 2006 06:15:40 +0000 Message-ID: <[email protected]> Date: Mon, 03 Jul 2006 08:15:38 +0200 From: Ate Douma <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20060612) MIME-Version: 1.0 To: Jetspeed Developers List <[email protected]> Subject: Re: [vote] new committer References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N +1 Ate David Sean Taylor wrote: > I would like to propose a new committer to the Jetspeed team. > His name is Steve Milek. He has been working very hard on the Jetspeed > Desktop since April. His contributions speak for themselves. If you have > not tried out the Jetspeed Desktop, load up Jetspeed in Tomcat, and > point your browser at http://localhost:8080/jetspeed/desktop > > Recently, he contributed a drag and drop portlet selector (right click > on the tab menus). We still have a lot of work to do on the desktop > features. Having Steve contributing fulltime will be a very valuable > addition to the Apache Portals team > > Here is a list of his contributions to date: > > j2o Desktop > - javascript model (pages, portlets, menus, etc.) > - portlet UI > - tab UI > - menu UI > - layout UI > - portlet aggregator > - portlet selector > > permissions portlet > - editor table ui > > > +1 > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 03 16:40:21 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88836 invoked from network); 3 Jul 2006 16:40:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Jul 2006 16:40:20 -0000 Received: (qmail 16636 invoked by uid 500); 3 Jul 2006 16:40:17 -0000 Delivered-To: [email protected] Received: (qmail 16479 invoked by uid 500); 3 Jul 2006 16:40:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 16184 invoked by uid 500); 3 Jul 2006 16:40:15 -0000 Delivered-To: [email protected] Received: (qmail 16085 invoked by uid 99); 3 Jul 2006 16:40:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jul 2006 09:40:15 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jul 2006 09:40:14 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B1D744103A5 for <[email protected]>; Mon, 3 Jul 2006 16:38:30 +0000 (GMT) Message-ID: <24397778.1151944710725.JavaMail.jira@brutus> Date: Mon, 3 Jul 2006 16:38:30 +0000 (GMT+00:00) From: "Toshiaki Kikuchi (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (JS2-551) Response page of default-page.psml by JMeter. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Response page of default-page.psml by JMeter. --------------------------------------------- Key: JS2-551 URL: http://issues.apache.org/jira/browse/JS2-551 Project: Jetspeed 2 Type: Bug Versions: 2.0-FINAL Environment: I confirmed both of derby binary version and MultiDB (using PostgreSQL) binary version. Reporter: Toshiaki Kikuchi This bug can be reproduced using JMeter. 1: JMeter Test Plan - Add [Thread Group]. set [Thread Properties]: [Number of Threads] is 20, [Loop Count] is 300. - Add [Sampler] - [Http Request]. set [Path] /jetspeed/portal/default-page.psml. other settig depend on you\r environment - Add [Post Processors] - [Save Responses to a file] 2: Run JMeter It took about 20 minutes in my PC. 3: Check that file sizes of all response page are same using ls command with option of file size sort. ls -lS *.html | less My result is following: (Top) -rw-r--r-- 1 root root 27670 Jul 4 00:40 1130.html -rw-r--r-- 1 root root 27670 Jul 4 00:42 1858.html -rw-r--r-- 1 root root 27645 Jul 4 00:48 3764.html -rw-r--r-- 1 root root 27645 Jul 4 00:54 5459.html -rw-r--r-- 1 root root 27645 Jul 4 00:55 5969.html -rw-r--r-- 1 root root 27255 Jul 4 00:40 1132.html ... -rw-r--r-- 1 root root 23252 Jul 4 00:43 1983.html -rw-r--r-- 1 root root 22764 Jul 4 00:45 2550.html -rw-r--r-- 1 root root 22757 Jul 4 00:37 536.html -rw-r--r-- 1 root root 22542 Jul 4 00:44 2427.html -rw-r--r-- 1 root root 22542 Jul 4 00:50 4216.html (End) Some response page has two UserRegistrationPortlet or no UserRegistrationPortlet. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jul 04 14:21:31 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43206 invoked from network); 4 Jul 2006 14:21:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Jul 2006 14:21:30 -0000 Received: (qmail 47815 invoked by uid 500); 4 Jul 2006 14:21:29 -0000 Delivered-To: [email protected] Received: (qmail 47410 invoked by uid 500); 4 Jul 2006 14:21:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 47398 invoked by uid 99); 4 Jul 2006 14:21:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jul 2006 07:21:27 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jul 2006 07:21:27 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id EB7D31A983A; Tue, 4 Jul 2006 07:21:06 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r419015 - in /portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/impl: DefaultCredentialHandler.java EncodePasswordOnFirstLoadInterceptor.java Date: Tue, 04 Jul 2006 14:21:06 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: ate Date: Tue Jul 4 07:21:06 2006 New Revision: 419015 URL: http://svn.apache.org/viewvc?rev=419015&view=rev Log: Further improvement and a small fix for JS2-550: A new Two-way password encoding service allowing decoding of encoded passwords See: http://issues.apache.org/jira/browse/JS2-550#action_12418846 - make sure old non-encoded passwords which are encoded on first load, are recognized as using the new encoding scheme Modified: portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/impl/DefaultCredentialHandler.java portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/impl/EncodePasswordOnFirstLoadInterceptor.java Modified: portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/impl/DefaultCredentialHandler.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/impl/DefaultCredentialHandler.java?rev=419015&r1=419014&r2=419015&view=diff ============================================================================== --- portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/impl/DefaultCredentialHandler.java (original) +++ portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/impl/DefaultCredentialHandler.java Tue Jul 4 07:21:06 2006 @@ -24,6 +24,7 @@ import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; +import org.apache.jetspeed.security.AlgorithmUpgradePasswordEncodingService; import org.apache.jetspeed.security.InvalidNewPasswordException; import org.apache.jetspeed.security.InvalidPasswordException; import org.apache.jetspeed.security.PasswordAlreadyUsedException; @@ -241,11 +242,14 @@ { // non-user (admin) modified the password - // set current time in previous auth date, and clear last authentication date - // !!! While this might be a bit strange logic, it is *required* for the AlgorithmUpgradePBEPasswordEncodingService - // to be able to distinguise password changes from other changes - credential.setPreviousAuthenticationDate(new Timestamp(new Date().getTime())); - credential.setLastAuthenticationDate(null); + if ( encoded && pcProvider.getEncoder() instanceof AlgorithmUpgradePasswordEncodingService ) + { + // set current time in previous auth date, and clear last authentication date + // !!! While this might be a bit strange logic, it is *required* for the AlgorithmUpgradePBEPasswordEncodingService + // to be able to distinguise password changes from other changes + credential.setPreviousAuthenticationDate(new Timestamp(new Date().getTime())); + credential.setLastAuthenticationDate(null); + } } else { Modified: portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/impl/EncodePasswordOnFirstLoadInterceptor.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/impl/EncodePasswordOnFirstLoadInterceptor.java?rev=419015&r1=419014&r2=419015&view=diff ============================================================================== --- portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/impl/EncodePasswordOnFirstLoadInterceptor.java (original) +++ portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/impl/EncodePasswordOnFirstLoadInterceptor.java Tue Jul 4 07:21:06 2006 @@ -14,6 +14,10 @@ */ package org.apache.jetspeed.security.spi.impl; +import java.sql.Timestamp; +import java.util.Date; + +import org.apache.jetspeed.security.AlgorithmUpgradePasswordEncodingService; import org.apache.jetspeed.security.SecurityException; import org.apache.jetspeed.security.om.InternalCredential; import org.apache.jetspeed.security.spi.PasswordCredentialProvider; @@ -43,6 +47,17 @@ { credential.setValue(pcProvider.getEncoder().encode(userName,credential.getValue())); credential.setEncoded(true); + + if ( pcProvider.getEncoder() instanceof AlgorithmUpgradePasswordEncodingService) + { + // For the AlgorithmUpgradePBEPasswordService to be able to distinguise between + // old and new encoded passwords, it evaluates the last and previous authentication timestamps. + // With an automatic encoding (using the new encoding schema) the last authentication must be + // set to null (as the user hasn't been authenticated yet again, which leaves the previous + // authentication timestamp for indicating when the (new) encoding took place. + credential.setPreviousAuthenticationDate(new Timestamp(new Date().getTime())); + credential.setLastAuthenticationDate(null); + } updated = true; } return updated; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jul 05 17:14:55 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5726 invoked from network); 5 Jul 2006 17:14:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Jul 2006 17:14:55 -0000 Received: (qmail 81470 invoked by uid 500); 5 Jul 2006 17:14:54 -0000 Delivered-To: [email protected] Received: (qmail 81438 invoked by uid 500); 5 Jul 2006 17:14:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 81427 invoked by uid 500); 5 Jul 2006 17:14:53 -0000 Delivered-To: [email protected] Received: (qmail 81424 invoked by uid 99); 5 Jul 2006 17:14:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jul 2006 10:14:53 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO gotthard.wemove.lan) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jul 2006 10:14:52 -0700 Received: from [161.129.204.104] (unknown [161.129.204.104]) by gotthard.wemove.lan (Postfix) with ESMTP id 0F1B057B89 for <[email protected]>; Wed, 5 Jul 2006 19:14:15 +0200 (CEST) Message-ID: <[email protected]> Date: Wed, 05 Jul 2006 19:14:25 +0200 From: =?ISO-8859-1?Q?Joachim_M=FCller?= <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20060516) MIME-Version: 1.0 To: [email protected] Subject: remove J1 sample site X-Enigmail-Version: 161.129.204.104 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi. Unfortunatelly the demo site http://www.geoportal.bund.de/ on the J1 project page must be removed. the application was implemented in J1 but is not anymore. It's made with goverment sitebuilder now and much worse than the J1 implemented site. ;-) Thanx, Joachim --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jul 05 22:33:55 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21528 invoked from network); 5 Jul 2006 22:33:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Jul 2006 22:33:55 -0000 Received: (qmail 92901 invoked by uid 500); 5 Jul 2006 22:33:54 -0000 Delivered-To: [email protected] Received: (qmail 92863 invoked by uid 500); 5 Jul 2006 22:33:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 92847 invoked by uid 99); 5 Jul 2006 22:33:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jul 2006 15:33:53 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jul 2006 15:33:52 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id BA4241A981F; Wed, 5 Jul 2006 15:33:32 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r419369 - /portals/jetspeed-2/trunk/src/webapp/WEB-INF/pages/Administrative/folder.metadata Date: Wed, 05 Jul 2006 22:33:32 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: shinsuke Date: Wed Jul 5 15:33:32 2006 New Revision: 419369 URL: http://svn.apache.org/viewvc?rev=419369&view=rev Log: fixed broken characters Modified: portals/jetspeed-2/trunk/src/webapp/WEB-INF/pages/Administrative/folder.metadata Modified: portals/jetspeed-2/trunk/src/webapp/WEB-INF/pages/Administrative/folder.metadata URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/WEB-INF/pages/Administrative/folder.metadata?rev=419369&r1=419368&r2=419369&view=diff ============================================================================== --- portals/jetspeed-2/trunk/src/webapp/WEB-INF/pages/Administrative/folder.metadata (original) +++ portals/jetspeed-2/trunk/src/webapp/WEB-INF/pages/Administrative/folder.metadata Wed Jul 5 15:33:32 2006 @@ -2,14 +2,14 @@ <folder> <title >Jetspeed Administrative Portlets</title> <metadata name="title" xml:lang="fr">Jetspeed Portlets Administratif</metadata> - <metadata name="title" xml:lang="ja">Jetspeed 管ç?†ãƒ?ートレット</metadata> + <metadata name="title" xml:lang="ja">Jetspeed 管理ポートレット</metadata> <metadata name="title" xml:lang="es">Administración de Jetspeed</metadata> - <metadata name="title" xml:lang="zh">Jetspeed 管ç?†Portlets</metadata> + <metadata name="title" xml:lang="zh">Jetspeed 管理Portlets</metadata> <document-order>user-mgt.psml</document-order> <document-order>role-mgt.psml</document-order> <document-order>group-mgt.psml</document-order> - <document-order>security-permissions.psml</document-order> + <document-order>security-permissions.psml</document-order> <document-order>pam.psml</document-order> <document-order>sso-admin.psml</document-order> <document-order>site.psml</document-order> @@ -19,10 +19,10 @@ <menu name="page-navigations"> <separator> <text>Users Admin Pages</text> - <metadata name="text" xml:lang="ja">ユーザー管ç?†ãƒšãƒ¼ã'¸</metadata> + <metadata name="text" xml:lang="ja">ユーザー管理ページ</metadata> <metadata name="text" xml:lang="es">Administración de usuarios</metadata> - <metadata name="text" xml:lang="zh">用户管ç?†é¡µ</metadata> - <metadata name="text" xml:lang="zh-TW">用戶管ç?†é ?</metadata> + <metadata name="text" xml:lang="zh">用户管理页</metadata> + <metadata name="text" xml:lang="zh-TW">用戶管理頁</metadata> </separator> <options>/Administrative/user-mgt.psml</options> <options>/Administrative/users-jsf.psml</options> @@ -31,15 +31,15 @@ <metadata name="text" xml:lang="ja">プロファイルページ</metadata> <metadata name="text" xml:lang="es">Su perfil...</metadata> <metadata name="text" xml:lang="zh">Profiled页</metadata> - <metadata name="text" xml:lang="zh-TW">Profiledé ?</metadata> + <metadata name="text" xml:lang="zh-TW">Profiled頁</metadata> </separator> <options regexp="true">/p[0-9][0-9][0-9].psml</options> <separator> <text>Non Java Pages</text> <metadata name="text" xml:lang="ja">Non-Javaページ</metadata> <metadata name="text" xml:lang="es">Páginas sin java</metadata> - <metadata name="text" xml:lang="zh">�Java Portlets页</metadata> - <metadata name="text" xml:lang="zh-TW">�Java Portlets�</metadata> + <metadata name="text" xml:lang="zh">非Java Portlets页</metadata> + <metadata name="text" xml:lang="zh-TW">非Java Portlets頁</metadata> </separator> <options>/non-java</options> </menu> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Jul 09 21:32:51 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22798 invoked from network); 9 Jul 2006 21:32:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jul 2006 21:32:51 -0000 Received: (qmail 98361 invoked by uid 500); 9 Jul 2006 21:32:49 -0000 Delivered-To: [email protected] Received: (qmail 98274 invoked by uid 500); 9 Jul 2006 21:32:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 98263 invoked by uid 99); 9 Jul 2006 21:32:48 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO marlow.intranet.hisitech.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Jul 2006 14:32:41 -0700 Received: from localhost (localhost [161.129.204.104]) by marlow.intranet.hisitech.com (Postfix) with ESMTP id 3FE58374137; Sun, 9 Jul 2006 23:31:49 +0200 (CEST) Subject: Re: [vote] new committer From: Santiago Gala <[email protected]> To: jetspeed-dev <[email protected]> Cc: Steve Milek <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-AfWEPuqvtsHwZM0I6mwS" Organization: Apache Software Foundation Date: Sun, 09 Jul 2006 23:30:12 +0200 Message-Id: <1152480612.19373.14.camel@marlow> Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --=-AfWEPuqvtsHwZM0I6mwS Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable El dom, 02-07-2006 a las 14:02 -0700, David Le Strat escribi=C3=B3: > +1.=20 > =20 > ________________________David Le Strat > Blogging @ http://dlsthoughts.blogspot.com >=20 > ----- Original Message ---- > From: David Sean Taylor <[email protected]> > To: Jetspeed Developers List <[email protected]> > Sent: Sunday, July 2, 2006 4:55:28 PM > Subject: [vote] new committer >=20 > I would like to propose a new committer to the Jetspeed team. > His name is Steve Milek. He has been working very hard on the Jetspeed=20 Welcome to portals, Steve, and sorry for the delay. If you read the FAQ in http://www.apache.org/dev/pmc.html#newcommitter , you need to fill in and fax/send a CLA. Once the CLA is acknowledged by the secretary I'll request your account to infrastructure. I am accidentally blocked from subversion right now, so I can't see if your CLA has been received yet, but I hope this will change soon. Regards, Santiago > Desktop since April. His contributions speak for themselves. If you have=20 > not tried out the Jetspeed Desktop, load up Jetspeed in Tomcat, and=20 > point your browser at http://localhost:8080/jetspeed/desktop >=20 > Recently, he contributed a drag and drop portlet selector (right click=20 > on the tab menus). We still have a lot of work to do on the desktop=20 > features. Having Steve contributing fulltime will be a very valuable=20 > addition to the Apache Portals team >=20 > Here is a list of his contributions to date: >=20 > j2o Desktop > - javascript model (pages, portlets, menus, etc.) > - portlet UI > - tab UI > - menu UI > - layout UI > - portlet aggregator > - portlet selector >=20 > permissions portlet > - editor table ui >=20 >=20 > +1 >=20 --=20 VP and Chair, Apache Portals (http://portals.apache.org) Apache Software Foundation --=-AfWEPuqvtsHwZM0I6mwS Content-Type: application/pgp-signature; name=signature.asc Content-Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) iD8DBQBEsXVkZAeG2a2/nhoRAiFCAKDNcIHIz7RkRmYr+Hg7Rm5gbvr/EACfVdN1 gHiVEgFjbSLLJcXlzuK8rt8= =3n8Q -----END PGP SIGNATURE----- --=-AfWEPuqvtsHwZM0I6mwS-- From [email protected] Mon Jul 10 14:05:38 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99949 invoked from network); 10 Jul 2006 14:05:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Jul 2006 14:05:38 -0000 Received: (qmail 6782 invoked by uid 500); 10 Jul 2006 14:05:36 -0000 Delivered-To: [email protected] Received: (qmail 6745 invoked by uid 500); 10 Jul 2006 14:05:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 6734 invoked by uid 99); 10 Jul 2006 14:05:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jul 2006 07:05:35 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO py-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jul 2006 07:05:35 -0700 Received: by py-out-1112.google.com with SMTP id o67so1282626pye for <[email protected]>; Mon, 10 Jul 2006 07:05:12 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=DIzWEkV19N/j4XrySdvrtCAbVRm9ufpRWJm7OdO6HFkIlccODTVUFEi9x75kRI0DZX72LMKgtVTCyodUD49OP41j9lI7ftmm0RDHUBaTkL3T8BMsXnYdaD6KoF1MF9WhZMv3QJeUrlnRqN03yrgaroK3nruaWcrUwb8nCqTuv28= Received: by 161.129.204.104 with SMTP id o14mr5052389pym; Mon, 10 Jul 2006 07:05:11 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 10 Jul 2006 07:05:09 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 10 Jul 2006 10:05:10 -0400 From: "John Campbell" <[email protected]> To: [email protected] Subject: beginner build from source problem: Failed to initialize prefs api. MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I'm trying to get a build from source install running, and I'm stuck by an initialize prefs error. Based on other messages, this seems to be related to DB or jndi problem. I was hoping someone could check my assumptions and possibly provide some help. 1. If you're going to use derby, you don't have to set any org.apache.jetspeed.production.database.* setting in your build.properties file. 2. Derby runs embedded to jetspeed, you don't have to start the database. 3. There are no special config settings for tomcat you need to set for jetspeed to run. 4. There are no special setting to configure jndi. Any help would be greatly appreciated. Server: Apache Tomcat/5.5.14 JVM: 1.5.0_06-b05 (sun) OS:Windows XP 2006-07-10 09:35:18,146 [Thread-1] FATAL org.apache.jetspeed.engine.JetspeedServlet - Jetspeed: init() failed: org.apache.jetspeed.exception.JetspeedException: Jetspeed Initialization [email protected](JetspeedEngine.java:131) at org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:153) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3915) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4176) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:603) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'java.util.prefs.PreferencesFactory' defined in ServletContext resource [/WEB-INF/assembly/prefs.xml]: Initialization of bean failed; nested exception is org.apache.jetspeed.prefs.PreferencesException: Failed to initialize prefs api. [email protected](AbstractAutowireCapableBeanFactory.java:356) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:260) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:221) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:317) at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:131) at org.apache.jetspeed.components.SpringComponentManager.start(SpringComponentManager.java:217) at org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java:114) ... 27 more Caused by: org.apache.jetspeed.prefs.PreferencesException: Failed to initialize prefs api. [email protected](PreferencesFactoryImpl.java:74) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1106) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1076) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:343) ... 35 more 2006-07-10 09:35:18,146 [Thread-1] INFO org.apache.jetspeed.engine.JetspeedServlet - Jetspeed Initialization complete, Ready to service requests. 2006-07-10 09:35:18,598 [Thread-1] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'DecorationLocator' 2006-07-10 09:35:18,608 [Thread-1] INFO org.apache.jetspeed.locator.JetspeedTemplateLocator - Locator application root C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\jetspeed 2006-07-10 09:36:25,661 [http-8080-Processor25] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jetspeed].[jetspeed] - Servlet.service() for servlet jetspeed threw exception org.apache.jetspeed.exception.JetspeedException: Jetspeed Initialization [email protected](JetspeedEngine.java:131) at org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:153) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3915) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4176) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:603) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'java.util.prefs.PreferencesFactory' defined in ServletContext resource [/WEB-INF/assembly/prefs.xml]: Initialization of bean failed; nested exception is org.apache.jetspeed.prefs.PreferencesException: Failed to initialize prefs api. [email protected](AbstractAutowireCapableBeanFactory.java:356) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:260) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:221) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:317) at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:131) at org.apache.jetspeed.components.SpringComponentManager.start(SpringComponentManager.java:217) at org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java:114) ... 27 more Caused by: org.apache.jetspeed.prefs.PreferencesException: Failed to initialize prefs api. [email protected](PreferencesFactoryImpl.java:74) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1106) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1076) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:343) ... 35 more 2006-07-10 09:36:25,671 [http-8080-Processor25] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jetspeed].[jsp] - Servlet.service() for servlet jsp threw exception org.apache.jetspeed.exception.JetspeedException: Jetspeed Initialization [email protected](JetspeedEngine.java:131) at org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:153) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3915) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4176) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:603) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'java.util.prefs.PreferencesFactory' defined in ServletContext resource [/WEB-INF/assembly/prefs.xml]: Initialization of bean failed; nested exception is org.apache.jetspeed.prefs.PreferencesException: Failed to initialize prefs api. [email protected](AbstractAutowireCapableBeanFactory.java:356) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:260) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:221) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:317) at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:131) at org.apache.jetspeed.components.SpringComponentManager.start(SpringComponentManager.java:217) at org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java:114) ... 27 more Caused by: org.apache.jetspeed.prefs.PreferencesException: Failed to initialize prefs api. [email protected](PreferencesFactoryImpl.java:74) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1106) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1076) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:343) ... 35 more --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jul 11 20:04:30 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41552 invoked from network); 11 Jul 2006 20:04:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Jul 2006 20:04:29 -0000 Received: (qmail 73606 invoked by uid 500); 11 Jul 2006 20:04:27 -0000 Delivered-To: [email protected] Received: (qmail 73566 invoked by uid 500); 11 Jul 2006 20:04:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 73555 invoked by uid 500); 11 Jul 2006 20:04:27 -0000 Delivered-To: [email protected] Received: (qmail 73552 invoked by uid 99); 11 Jul 2006 20:04:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jul 2006 13:04:27 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jul 2006 13:04:26 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D1A457141ED for <[email protected]>; Tue, 11 Jul 2006 20:02:29 +0000 (GMT) Message-ID: <28622513.1152648149855.JavaMail.jira@brutus> Date: Tue, 11 Jul 2006 20:02:29 +0000 (GMT+00:00) From: "Tod Matola (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (JS2-552) DB2 configuration not included MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DB2 configuration not included ------------------------------ Key: JS2-552 URL: http://issues.apache.org/jira/browse/JS2-552 Project: Jetspeed 2 Type: Improvement Components: Persistence and DAO Versions: 2.0-FINAL Reporter: Tod Matola Decriptive information about the portal describe DB2 as an option, but the installer and the source bundles do not support DB2 sql generation. There are no instructions included that describe the process of using DB2 (although it claims to have been tested). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jul 12 21:52:03 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27891 invoked from network); 12 Jul 2006 21:52:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jul 2006 21:52:03 -0000 Received: (qmail 98353 invoked by uid 500); 12 Jul 2006 21:52:02 -0000 Delivered-To: [email protected] Received: (qmail 97962 invoked by uid 500); 12 Jul 2006 21:52:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 97939 invoked by uid 99); 12 Jul 2006 21:52:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2006 14:52:01 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2006 14:52:01 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 037161A981D; Wed, 12 Jul 2006 14:51:41 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r421428 - /portals/jetspeed-2/trunk/maven-plugin/maven.xml Date: Wed, 12 Jul 2006 21:51:40 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: shinsuke Date: Wed Jul 12 14:51:40 2006 New Revision: 421428 URL: http://svn.apache.org/viewvc?rev=421428&view=rev Log: unzip dojo.zip in initMavenPlugin goal Modified: portals/jetspeed-2/trunk/maven-plugin/maven.xml Modified: portals/jetspeed-2/trunk/maven-plugin/maven.xml URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/maven-plugin/maven.xml?rev=421428&r1=421427&r2=421428&view=diff ============================================================================== --- portals/jetspeed-2/trunk/maven-plugin/maven.xml (original) +++ portals/jetspeed-2/trunk/maven-plugin/maven.xml Wed Jul 12 14:51:40 2006 @@ -40,6 +40,8 @@ <copy todir="${basedir}/target/classes/plugin-resources/webapp" overwrite="true" failonerror="true"> <fileset dir="${basedir}/../src/webapp"/> </copy> + + <unzip src="${basedir}/../src/javascript/dojo/dojo.zip" dest="${basedir}/target/classes/plugin-resources/webapp/javascript/dojo/"/> <copy file="${basedir}/../core-build.xml" todir="${basedir}/target/classes/plugin-resources/" overwrite="true" failonerror="true"/> <copy file="${basedir}/../jetspeed-components.xml" todir="${basedir}/target/classes/plugin-resources/" overwrite="true" failonerror="true"/> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Jul 13 01:59:32 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89302 invoked from network); 13 Jul 2006 01:59:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Jul 2006 01:59:31 -0000 Received: (qmail 17350 invoked by uid 500); 13 Jul 2006 01:59:29 -0000 Delivered-To: [email protected] Received: (qmail 17313 invoked by uid 500); 13 Jul 2006 01:59:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 17302 invoked by uid 500); 13 Jul 2006 01:59:29 -0000 Delivered-To: [email protected] Received: (qmail 17299 invoked by uid 99); 13 Jul 2006 01:59:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2006 18:59:29 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2006 18:59:28 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C30214104FE for <[email protected]>; Thu, 13 Jul 2006 01:57:29 +0000 (GMT) Message-ID: <33139375.1152755849768.JavaMail.jira@brutus> Date: Thu, 13 Jul 2006 01:57:29 +0000 (GMT+00:00) From: "Philip Mark Donaghy (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (JS2-553) Replace reference to jar in maven repository with one in tomcat MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Replace reference to jar in maven repository with one in tomcat --------------------------------------------------------------- Key: JS2-553 URL: http://issues.apache.org/jira/browse/JS2-553 Project: Jetspeed 2 Type: Improvement Components: Site Documentation Versions: 2.1, 2.1-dev Environment: Web browser Reporter: Philip Mark Donaghy Most users of this guide don't build jetspeed so they won't find the portlet-api jar in any maven repository. The portlet-api jar in tomcat is a more appropriate reference. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Jul 13 02:01:31 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89825 invoked from network); 13 Jul 2006 02:01:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Jul 2006 02:01:31 -0000 Received: (qmail 19093 invoked by uid 500); 13 Jul 2006 02:01:30 -0000 Delivered-To: [email protected] Received: (qmail 18703 invoked by uid 500); 13 Jul 2006 02:01:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 18692 invoked by uid 500); 13 Jul 2006 02:01:29 -0000 Delivered-To: [email protected] Received: (qmail 18689 invoked by uid 99); 13 Jul 2006 02:01:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2006 19:01:29 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2006 19:01:29 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 2DFF14104FF for <[email protected]>; Thu, 13 Jul 2006 01:59:30 +0000 (GMT) Message-ID: <3829279.1152755970185.JavaMail.jira@brutus> Date: Thu, 13 Jul 2006 01:59:30 +0000 (GMT+00:00) From: "Philip Mark Donaghy (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (JS2-553) Replace reference to jar in maven repository with one in tomcat In-Reply-To: <33139375.1152755849768.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-553?page=all ] Philip Mark Donaghy updated JS2-553: ------------------------------------ Attachment: patch.txt The guide makes reference to ~/.maven/repository/org.apache.portals.jetspeed/jars/portlet-api-1.0.jar This patch changes that to $CATALINA_HOME/share/lib/portlet-api-1.0.jar > Replace reference to jar in maven repository with one in tomcat > --------------------------------------------------------------- > > Key: JS2-553 > URL: http://issues.apache.org/jira/browse/JS2-553 > Project: Jetspeed 2 > Type: Improvement > Components: Site Documentation > Versions: 2.1, 2.1-dev > Environment: Web browser > Reporter: Philip Mark Donaghy > Attachments: patch.txt > > Most users of this guide don't build jetspeed so they won't find the portlet-api jar in any maven repository. The portlet-api jar in tomcat is a more appropriate reference. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Jul 13 07:45:37 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2496 invoked from network); 13 Jul 2006 07:45:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Jul 2006 07:45:36 -0000 Received: (qmail 13814 invoked by uid 500); 13 Jul 2006 07:45:35 -0000 Delivered-To: [email protected] Received: (qmail 13774 invoked by uid 500); 13 Jul 2006 07:45:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 13760 invoked by uid 500); 13 Jul 2006 07:45:34 -0000 Delivered-To: [email protected] Received: (qmail 13757 invoked by uid 99); 13 Jul 2006 07:45:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jul 2006 00:45:34 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jul 2006 00:45:33 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E3B7D410503 for <[email protected]>; Thu, 13 Jul 2006 07:43:33 +0000 (GMT) Message-ID: <24073464.1152776613929.JavaMail.jira@brutus> Date: Thu, 13 Jul 2006 07:43:33 +0000 (GMT+00:00) From: "Jukka Zitting (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (JS2-554) Upload Jetspeed jars to Ibiblio MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Upload Jetspeed jars to Ibiblio ------------------------------- Key: JS2-554 URL: http://issues.apache.org/jira/browse/JS2-554 Project: Jetspeed 2 Type: Wish Reporter: Jukka Zitting Priority: Minor Projects like the incubating Graffito depend on Jetspeed, but currently need to use custom Maven repositories for the dependencies since the Jetspeed jars are not available on Ibiblio. See http://issues.apache.org/jira/browse/GRFT-13 for a related issue. The jars will be automatically uploaded to Ibiblio if you deploy them within the Maven 1 repository /www/www.apache.org/dist/java-repository on people.apache.org. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Jul 13 09:40:32 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53291 invoked from network); 13 Jul 2006 09:40:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Jul 2006 09:40:32 -0000 Received: (qmail 13349 invoked by uid 500); 13 Jul 2006 09:40:30 -0000 Delivered-To: [email protected] Received: (qmail 13304 invoked by uid 500); 13 Jul 2006 09:40:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 13291 invoked by uid 500); 13 Jul 2006 09:40:30 -0000 Delivered-To: [email protected] Received: (qmail 13288 invoked by uid 99); 13 Jul 2006 09:40:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jul 2006 02:40:30 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jul 2006 02:40:29 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E02CB410503 for <[email protected]>; Thu, 13 Jul 2006 09:38:29 +0000 (GMT) Message-ID: <20136398.1152783509915.JavaMail.jira@brutus> Date: Thu, 13 Jul 2006 09:38:29 +0000 (GMT+00:00) From: "Thorsten Berger (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (JS2-555) Unable to use Unicode (UTF-8) in user names and passwords MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Unable to use Unicode (UTF-8) in user names and passwords --------------------------------------------------------- Key: JS2-555 URL: http://issues.apache.org/jira/browse/JS2-555 Project: Jetspeed 2 Type: Bug Components: Security Versions: 2.1-dev Reporter: Thorsten Berger Currently, it's not possible to use utf-8 characters in usernames and passwords. In my case, some of our users reported problems with their passwords as they used some very common german characters. I will attach a patch for Jetspeed2 on Tomcat 5.0 and 5.5. However, I could not verify the behaviour with Tomcat 5.0. The patch is working fine with Tomcat 5.5. The patch solves the problem by: - setting UTF-8 as character encoding in LoginProxyServlet (let me know if you'd prefer looking up the character encoding in the MediaType of the Agent's CapabilityMap) - setting UTF-8 as character encoding in tomcat's FormAuthenticator valve (configured in jetspeed's context.xml) It would be great if this patch could find its way into the next 2.1 release ;) Regards, Thorsten -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Jul 13 09:48:33 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55120 invoked from network); 13 Jul 2006 09:48:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Jul 2006 09:48:33 -0000 Received: (qmail 24697 invoked by uid 500); 13 Jul 2006 09:48:30 -0000 Delivered-To: [email protected] Received: (qmail 24668 invoked by uid 500); 13 Jul 2006 09:48:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 24654 invoked by uid 500); 13 Jul 2006 09:48:30 -0000 Delivered-To: [email protected] Received: (qmail 24651 invoked by uid 99); 13 Jul 2006 09:48:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jul 2006 02:48:30 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jul 2006 02:48:30 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id AB018410503 for <[email protected]>; Thu, 13 Jul 2006 09:46:30 +0000 (GMT) Message-ID: <26736668.1152783990697.JavaMail.jira@brutus> Date: Thu, 13 Jul 2006 09:46:30 +0000 (GMT+00:00) From: "Thorsten Berger (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (JS2-555) Unable to use Unicode (UTF-8) in user names and passwords In-Reply-To: <20136398.1152783509915.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-555?page=all ] Thorsten Berger updated JS2-555: -------------------------------- Attachment: patch-utf8-in-username-password(js2-555).txt > Unable to use Unicode (UTF-8) in user names and passwords > --------------------------------------------------------- > > Key: JS2-555 > URL: http://issues.apache.org/jira/browse/JS2-555 > Project: Jetspeed 2 > Type: Bug > Components: Security > Versions: 2.1-dev > Reporter: Thorsten Berger > Attachments: patch-utf8-in-username-password(js2-555).txt > > Currently, it's not possible to use utf-8 characters in usernames and passwords. > In my case, some of our users reported problems with their passwords as they used some very common german characters. > I will attach a patch for Jetspeed2 on Tomcat 5.0 and 5.5. However, I could not verify the behaviour with Tomcat 5.0. The patch is working fine with Tomcat 5.5. > The patch solves the problem by: > - setting UTF-8 as character encoding in LoginProxyServlet (let me know if you'd prefer looking up the character encoding in the MediaType of the Agent's CapabilityMap) > - setting UTF-8 as character encoding in tomcat's FormAuthenticator valve (configured in jetspeed's context.xml) > It would be great if this patch could find its way into the next 2.1 release ;) > Regards, Thorsten -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Jul 13 12:17:32 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12543 invoked from network); 13 Jul 2006 12:17:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Jul 2006 12:17:32 -0000 Received: (qmail 42322 invoked by uid 500); 13 Jul 2006 12:17:31 -0000 Delivered-To: [email protected] Received: (qmail 42285 invoked by uid 500); 13 Jul 2006 12:17:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 42274 invoked by uid 500); 13 Jul 2006 12:17:31 -0000 Delivered-To: [email protected] Received: (qmail 42271 invoked by uid 99); 13 Jul 2006 12:17:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jul 2006 05:17:31 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jul 2006 05:17:30 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 9F359410009 for <[email protected]>; Thu, 13 Jul 2006 12:15:30 +0000 (GMT) Message-ID: <14427144.1152792930649.JavaMail.jira@brutus> Date: Thu, 13 Jul 2006 12:15:30 +0000 (GMT+00:00) From: "Thorsten Berger (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (JS2-555) Unable to use Unicode (UTF-8) in user names and passwords In-Reply-To: <20136398.1152783509915.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-555?page=all ] Thorsten Berger updated JS2-555: -------------------------------- Attachment: 2nd_patch-utf8-in-username-password(js2-555)--Tomcat55.txt Unfortunately, Tomcat 5.0 doesn't support setting the character encoding in the FormAuthenticator Valve. So please forget the first patch. The 2nd now only supports Tomcat 5.5. Fixing tomcat 5.x would require decoding the username/password Strings in the corresponding callback handlers. > Unable to use Unicode (UTF-8) in user names and passwords > --------------------------------------------------------- > > Key: JS2-555 > URL: http://issues.apache.org/jira/browse/JS2-555 > Project: Jetspeed 2 > Type: Bug > Components: Security > Versions: 2.1-dev > Reporter: Thorsten Berger > Attachments: 2nd_patch-utf8-in-username-password(js2-555)--Tomcat55.txt, patch-utf8-in-username-password(js2-555).txt > > Currently, it's not possible to use utf-8 characters in usernames and passwords. > In my case, some of our users reported problems with their passwords as they used some very common german characters. > I will attach a patch for Jetspeed2 on Tomcat 5.0 and 5.5. However, I could not verify the behaviour with Tomcat 5.0. The patch is working fine with Tomcat 5.5. > The patch solves the problem by: > - setting UTF-8 as character encoding in LoginProxyServlet (let me know if you'd prefer looking up the character encoding in the MediaType of the Agent's CapabilityMap) > - setting UTF-8 as character encoding in tomcat's FormAuthenticator valve (configured in jetspeed's context.xml) > It would be great if this patch could find its way into the next 2.1 release ;) > Regards, Thorsten -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 17 19:10:25 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31685 invoked from network); 17 Jul 2006 19:10:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jul 2006 19:10:24 -0000 Received: (qmail 19777 invoked by uid 500); 17 Jul 2006 19:10:22 -0000 Delivered-To: [email protected] Received: (qmail 19748 invoked by uid 500); 17 Jul 2006 19:10:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 19720 invoked by uid 500); 17 Jul 2006 19:10:21 -0000 Delivered-To: [email protected] Received: (qmail 19717 invoked by uid 99); 17 Jul 2006 19:10:21 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jul 2006 12:10:21 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jul 2006 12:10:20 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 01B8271428E for <[email protected]>; Mon, 17 Jul 2006 19:08:14 +0000 (GMT) Message-ID: <27134776.1153163294004.JavaMail.jira@brutus> Date: Mon, 17 Jul 2006 12:08:14 -0700 (PDT) From: "Jacek Wislicki (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (JS2-556) decorator.vm in portlet decorators not overriden MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N decorator.vm in portlet decorators not overriden ------------------------------------------------ Key: JS2-556 URL: http://issues.apache.org/jira/browse/JS2-556 Project: Jetspeed 2 Issue Type: Bug Components: Layout Affects Versions: 2.1, 2.1-dev, 2.0-dev/cvs Environment: any Reporter: Jacek Wislicki I cannot override the default decorator.vm in my portlet decorator. Although the file is created in my decorator's home, the default one is still used for rendering portlets. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jul 18 12:38:10 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9354 invoked from network); 18 Jul 2006 12:38:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Jul 2006 12:38:10 -0000 Received: (qmail 48996 invoked by uid 500); 18 Jul 2006 12:38:08 -0000 Delivered-To: [email protected] Received: (qmail 48787 invoked by uid 500); 18 Jul 2006 12:38:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 48765 invoked by uid 99); 18 Jul 2006 12:38:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jul 2006 05:38:07 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO py-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jul 2006 05:38:06 -0700 Received: by py-out-1112.google.com with SMTP id f25so359281pyf for <[email protected]>; Tue, 18 Jul 2006 05:37:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=PKJ5vS8XAlQ+2LbOJ/RkJtBSkO6WeAzDNXOf/hf1rjBpwXnWNFuGa2IhOlY4YfQxGGZEKIIfChBdkFY40YWoi3tnoZaeOjaG3P6DtBIby5ON8t12BU4i9AZrNrbtCIwx2IMvUU7ut35E1rVf0BTEnACtqJE9nVfqMjtiJFq//68= Received: by 161.129.204.104 with SMTP id p13mr5437585pyj; Tue, 18 Jul 2006 05:37:45 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 18 Jul 2006 05:37:45 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 18 Jul 2006 08:37:45 -0400 From: "Aaron Evans" <[email protected]> To: [email protected] Subject: User specific Preferences (JS2-449) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N As requested, I'm starting a thread on the dev list for the user specific preferences isssue that David mentions below. I am one of those users that has been vocal about this issue, so I'd like to show my support! Ideally, I'd like preferences to work in this manner: 1. Preferences default to the values specified in portlet.xml. But, if they are not read-only, they can be overriden by: 2. Preferences specified in a PSML fragment. These in turn can be overriden by: 3. User specific preferences that the user can edit themselves. A user ought to be able to edit their preferences via the page-manager (I think that is the place). However, in addition, I would expect that when I invoke the API calls: PortletPreferences.setValue(prefName,prefValue); PortletPreferences.store(); I would expect that the value (prefValue) for the preference 'prefName' would be stored as a user preference and remain specific to that user. This would allow a portlet to provide its own preference editor interface (most likely in EDIT mode) that remains JSR-168 compliant and portable accross containers. One question: If the chain of precedence works as described above, suppose I have the following situation: 1. A value, S, for preference A for portlet X is specified in portlet.xml. 2. No value for preference A for portlet X is specified in the psml fragment. 3. It is the first time a user is using portlet X (thus there would be no user specific value). If I make the API call: PortletPreferences.getValue(A,R); Should it return R or the value specified in portlet.xml. My interpretation would be to return S, the default value specified in portlet.xml. R would only be returned if there were no value specified for A in any of portlet.xml, PSML fragment or user specific value. Comments/Suggestions/Differences of Opinion? -aaron On 7/17/06, David Sean Taylor <[email protected]> wrote: > I want to apologize if people have sent me messages on the user list and > I didn't respond, or if I have neglected a particular JIRA issue. > > I have this bad habit of taking on too many projects at once and sort of > drowned in June. > > If I didn't respond to a direct question to me, or a question in my > particular area of expertise, please resend it. > > This week I plan to address some important database issues: > > 1. normalizing the principal table. A number of users have complained > about the principal tables not being normalized with the principal name > in its own column, as well as the principal type in its own column. > There are always needs to join to the user tables, and without > normalized columns, its difficult. Please start a thread on the dev > list to discuss this in further detail > > 2. finally fixing the preference issues with entities per user/page > instead of entities per page (in the database). Please start a thread on > the dev list to discuss this in further detail, or visit the JIRA issue: > http://issues.apache.org/jira/browse/JS2-449 > > 3. I have also seen requests for additional columns on the principal > tables. Normally I recommend joining for these columns, or putting them > in the user attributes. However if someone wants to make a case for why > we could have a few generic columns on the user table, start a new email > discussion on the dev list > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jul 18 17:56:20 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49646 invoked from network); 18 Jul 2006 17:56:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Jul 2006 17:56:20 -0000 Received: (qmail 19548 invoked by uid 500); 18 Jul 2006 17:56:18 -0000 Delivered-To: [email protected] Received: (qmail 19510 invoked by uid 500); 18 Jul 2006 17:56:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 19499 invoked by uid 99); 18 Jul 2006 17:56:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jul 2006 10:56:18 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO mx.scriptall.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jul 2006 10:56:17 -0700 Received: (qmail 29736 invoked by uid 512); 18 Jul 2006 13:56:05 -0400 Received: from [email protected] by edison by uid 509 with qmail-scanner-1.22-st-qms (spamassassin: 2.63. Clear:RC:1(161.129.204.104):. Processed in 0.029109 secs); 18 Jul 2006 17:56:05 -0000 X-Antivirus-MYDOMAIN-Mail-From: [email protected] via edison X-Antivirus-MYDOMAIN: 1.22-st-qms (Clear:RC:1(161.129.204.104):. Processed in 0.029109 secs Process 29732) Received: from h-64-105-95-102.snvacaid.covad.net (HELO [161.129.204.104]) ([email protected]@161.129.204.104) by mx.scriptall.com with SMTP; Tue, 18 Jul 2006 13:56:05 -0400 Message-ID: <[email protected]> Date: Tue, 18 Jul 2006 10:55:56 -0700 From: David Sean Taylor <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jetspeed Developers List <[email protected]> Subject: Re: User specific Preferences (JS2-449) References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Aaron Evans wrote: > As requested, I'm starting a thread on the dev list for the user > specific preferences isssue that David mentions below. I am one of > those users that has been vocal about this issue, so I'd like to show > my support! > > Ideally, I'd like preferences to work in this manner: > > 1. Preferences default to the values specified in portlet.xml. But, > if they are not read-only, they can be overriden by: > > 2. Preferences specified in a PSML fragment. These in turn can be > overriden by: > > 3. User specific preferences that the user can edit themselves. +1, the user specific prefs should always override everything > > A user ought to be able to edit their preferences via the page-manager > (I think that is the place). However, in addition, I would expect > that when I invoke the API calls: > > PortletPreferences.setValue(prefName,prefValue); > PortletPreferences.store(); > > I would expect that the value (prefValue) for the preference > 'prefName' would be stored as a user preference and remain specific to > that user. > > This would allow a portlet to provide its own preference editor > interface (most likely in EDIT mode) that remains JSR-168 compliant > and portable accross containers. > > One question: If the chain of precedence works as described above, > suppose I have the following situation: > > 1. A value, S, for preference A for portlet X is specified in portlet.xml. > 2. No value for preference A for portlet X is specified in the psml > fragment. > 3. It is the first time a user is using portlet X (thus there would be > no user specific value). > > If I make the API call: > > PortletPreferences.getValue(A,R); > > Should it return R or the value specified in portlet.xml. My > interpretation would be to return S, the default value specified in > portlet.xml. R would only be returned if there were no value > specified for A in any of portlet.xml, PSML fragment or user specific > value. > i agree > Comments/Suggestions/Differences of Opinion? > > -aaron > In order to get user-specific prefs instead of page-specific prefs, we need to change the database schema and the queries to retrieve prefs Hopefully it will go smoothly... --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jul 18 18:43:32 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73862 invoked from network); 18 Jul 2006 18:43:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Jul 2006 18:43:32 -0000 Received: (qmail 9451 invoked by uid 500); 18 Jul 2006 18:43:30 -0000 Delivered-To: [email protected] Received: (qmail 9417 invoked by uid 500); 18 Jul 2006 18:43:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 9405 invoked by uid 99); 18 Jul 2006 18:43:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jul 2006 11:43:30 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jul 2006 11:43:29 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 2C6461A981A; Tue, 18 Jul 2006 11:43:09 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r423190 - /portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/pipeline/valve/impl/PropertyLoaderValve.java Date: Tue, 18 Jul 2006 18:43:08 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: taylor Date: Tue Jul 18 11:43:07 2006 New Revision: 423190 URL: http://svn.apache.org/viewvc?rev=423190&view=rev Log: contribution from David Gurney: http://issues.apache.org/jira/browse/JS2-557 This is the property loader valve that we discussed yesterday. It provides a convenient way to make information within a property file available for the rendering of the decorators or portlets. The concept is that this object is loaded via Spring. There are three different constructors. In each case the key is used as the name of an attribute on the request. The value associated with this key is an instance of org.apache.commons.configuration.PropertiesConfiguration Constructors =============== 1. Key name and property configuration object The property configuration object would need to be constructed and provided to the constructor. This is easily accomplished with Spring 2. Key name and full path to the properties file The properties file is loaded into a property configuration object 3. Key name The key name is used as both the key and the name of an environment variable that should contain the full path to the property file. The initialize method must be called at the time of creation so that the property configuration object can be properly loaded. An example of a Spring config is shown below: <bean id="propertyLoaderValve" class="com.fmr.portal.pipeline.impl.PropertyLoaderValve" init-method="initialize"> <constructor-arg index="0"> <value>php.props</value> </constructor-arg> </bean> The motivation for this valve was to externalize the configuration of a properties file. This becomes important when an application is installed in different locations that require differently property values. Our operations group is able to modify the path of the properties file within Websphere without having to edit any spring configuration files. Added: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/pipeline/valve/impl/PropertyLoaderValve.java Added: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/pipeline/valve/impl/PropertyLoaderValve.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/pipeline/valve/impl/PropertyLoaderValve.java?rev=423190&view=auto ============================================================================== --- portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/pipeline/valve/impl/PropertyLoaderValve.java (added) +++ portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/pipeline/valve/impl/PropertyLoaderValve.java Tue Jul 18 11:43:07 2006 @@ -0,0 +1,149 @@ +/* + * Copyright 2000-2004 The Apache Software Foundation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.jetspeed.pipeline.valve.impl; + +import org.apache.commons.configuration.ConfigurationException; +import org.apache.commons.configuration.PropertiesConfiguration; +import org.apache.jetspeed.pipeline.PipelineException; +import org.apache.jetspeed.pipeline.valve.Valve; +import org.apache.jetspeed.pipeline.valve.ValveContext; +import org.apache.jetspeed.request.RequestContext; + +/** + * The purpose of this valve is to load a property file and make the information + * available on the request as an attribute. The name of the attribute is the + * key that is passed into the constructor. + * + * There are 3 different ways to use this object: 1. Provide a key and a + * PropertiesConfiguration object 2. Provide a key and a path to a properties + * file 3. Provide a string which is used for both the key and as an environment + * lookup to find the path to a properties file. + * + * The PropertiesConfiguration object is put on the request and can be consumed + * by anyone downstream of this valve + * + * Multiple valves can be configured via Spring and put into the pipeline if + * more than one property file is needed. + * + * Spring configuration samples are shown below: <bean + * id="ProductionConfiguration" + * class="org.apache.commons.configuration.PropertiesConfiguration"> + * <constructor-arg> <value>/apps/jetspeed/etc/jetspeed-production.properties</value> + * </constructor-arg> </bean> + * + * <bean id="propertyLoaderValve_1" + * class="com.fmr.portal.pipeline.impl.PropertyLoaderValve" + * init-method="initialize"> <constructor-arg index="0"> <value>php-properties</value> + * </constructor-arg> <constructor-arg index="1" + * type="org.apache.commons.configuration.PropertiesConfiguration"> <ref + * bean="ProductionConfiguration"/> </constructor-arg> </bean> + * + * <bean id="propertyLoaderValve_2" + * class="com.fmr.portal.pipeline.impl.PropertyLoaderValve" + * init-method="initialize"> <constructor-arg index="0"> <value>php-properties</value> + * </constructor-arg> + * + * <constructor-arg index="1"> + * <value>/apps/jetspeed/etc/jetspeed-production.properties</value> + * </constructor-arg> </bean> + * + * <bean id="propertyLoaderValve_3" + * class="com.fmr.portal.pipeline.impl.PropertyLoaderValve" + * init-method="initialize"> <constructor-arg index="0"> <value>app.props</value> + * </constructor-arg> </bean> + * + * For this last one, an environment variable with the name "app.props" would + * contain the file path to the properties file. + * + * + * @author David Gurney + * + */ +public class PropertyLoaderValve implements Valve +{ + protected String m_sKey = null; + + protected PropertiesConfiguration m_oPropertiesConfiguration = null; + + protected String m_sPropertyFilePath = null; + + public PropertyLoaderValve(String p_sKey, + PropertiesConfiguration p_oPropertiesConfiguration) + { + m_sKey = p_sKey; + m_oPropertiesConfiguration = p_oPropertiesConfiguration; + } + + public PropertyLoaderValve(String p_sKey, String p_sPropertyFilePath) + { + m_sKey = p_sKey; + m_sPropertyFilePath = p_sPropertyFilePath; + } + + /** + * + * @param p_sEnvironmentKey - + * This value will be used both as the storage key and as the + * name to use when looking up an environment variable. The + * environment variable should contain the file path of the + * properties file to be loaded + */ + public PropertyLoaderValve(String p_sEnvironmentKey) + { + m_sKey = p_sEnvironmentKey; + } + + public void initialize() throws PipelineException + { + // Get the property file path if necessary + if (m_sPropertyFilePath == null && m_oPropertiesConfiguration == null) + { + m_sPropertyFilePath = System.getProperty(m_sKey); + } + + // Load the file if the path is provided + if (m_sPropertyFilePath != null && m_oPropertiesConfiguration == null) + { + try + { + m_oPropertiesConfiguration = new PropertiesConfiguration( + m_sPropertyFilePath); + } catch (ConfigurationException e) + { + throw new PipelineException(e); + } + } + + // If we still have a null, create an empty properties configuration + // anyway + if (m_oPropertiesConfiguration == null) + { + m_oPropertiesConfiguration = new PropertiesConfiguration(); + } + } + + public void invoke(RequestContext p_oRequest, ValveContext p_oContext) + throws PipelineException + { + p_oRequest.getRequest() + .setAttribute(m_sKey, m_oPropertiesConfiguration); + + if (p_oContext != null) + { + p_oContext.invokeNext(p_oRequest); + } + } +} \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jul 18 18:44:25 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74112 invoked from network); 18 Jul 2006 18:44:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Jul 2006 18:44:24 -0000 Received: (qmail 10603 invoked by uid 500); 18 Jul 2006 18:44:24 -0000 Delivered-To: [email protected] Received: (qmail 10189 invoked by uid 500); 18 Jul 2006 18:44:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 10178 invoked by uid 500); 18 Jul 2006 18:44:23 -0000 Delivered-To: [email protected] Received: (qmail 10175 invoked by uid 99); 18 Jul 2006 18:44:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jul 2006 11:44:23 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jul 2006 11:44:22 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E55DC41001A for <[email protected]>; Tue, 18 Jul 2006 18:42:13 +0000 (GMT) Message-ID: <28205165.1153248133936.JavaMail.jira@brutus> Date: Tue, 18 Jul 2006 11:42:13 -0700 (PDT) From: "David Sean Taylor (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (JS2-557) Property Loader Valve MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Property Loader Valve --------------------- Key: JS2-557 URL: http://issues.apache.org/jira/browse/JS2-557 Project: Jetspeed 2 Issue Type: New Feature Components: Assembly/Configuration Affects Versions: 2.1-dev Reporter: David Sean Taylor Assigned To: David Sean Taylor Priority: Minor Fix For: 2.1-dev This is the property loader valve that we discussed yesterday. It provides a convenient way to make information within a property file available for the rendering of the decorators or portlets. The concept is that this object is loaded via Spring. There are three different constructors. In each case the key is used as the name of an attribute on the request. The value associated with this key is an instance of org.apache.commons.configuration.PropertiesConfiguration Constructors =============== 1. Key name and property configuration object The property configuration object would need to be constructed and provided to the constructor. This is easily accomplished with Spring 2. Key name and full path to the properties file The properties file is loaded into a property configuration object 3. Key name The key name is used as both the key and the name of an environment variable that should contain the full path to the property file. The initialize method must be called at the time of creation so that the property configuration object can be properly loaded. An example of a Spring config is shown below: <bean id="propertyLoaderValve" class="com.fmr.portal.pipeline.impl.PropertyLoaderValve" init-method="initialize"> <constructor-arg index="0"> <value>php.props</value> </constructor-arg> </bean> The motivation for this valve was to externalize the configuration of a properties file. This becomes important when an application is installed in different locations that require differently property values. Our operations group is able to modify the path of the properties file within Websphere without having to edit any spring configuration files. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jul 18 18:44:26 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74201 invoked from network); 18 Jul 2006 18:44:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Jul 2006 18:44:26 -0000 Received: (qmail 10673 invoked by uid 500); 18 Jul 2006 18:44:25 -0000 Delivered-To: [email protected] Received: (qmail 10636 invoked by uid 500); 18 Jul 2006 18:44:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 10625 invoked by uid 500); 18 Jul 2006 18:44:24 -0000 Delivered-To: [email protected] Received: (qmail 10622 invoked by uid 99); 18 Jul 2006 18:44:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jul 2006 11:44:24 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jul 2006 11:44:23 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 0136741001D for <[email protected]>; Tue, 18 Jul 2006 18:42:15 +0000 (GMT) Message-ID: <8768613.1153248135002.JavaMail.jira@brutus> Date: Tue, 18 Jul 2006 11:42:15 -0700 (PDT) From: "David Sean Taylor (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (JS2-557) Property Loader Valve In-Reply-To: <28205165.1153248133936.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-557?page=all ] David Sean Taylor resolved JS2-557. ----------------------------------- Resolution: Fixed contribution from David Gurney > Property Loader Valve > --------------------- > > Key: JS2-557 > URL: http://issues.apache.org/jira/browse/JS2-557 > Project: Jetspeed 2 > Issue Type: New Feature > Components: Assembly/Configuration > Affects Versions: 2.1-dev > Reporter: David Sean Taylor > Assigned To: David Sean Taylor > Priority: Minor > Fix For: 2.1-dev > > > This is the property loader valve that we discussed yesterday. It > provides a convenient way to make information within a property file > available for the rendering of the decorators or portlets. > The concept is that this object is loaded via Spring. There are three > different constructors. In each case the key is used as the name of an > attribute on the request. The value associated with this key is an > instance of org.apache.commons.configuration.PropertiesConfiguration > Constructors > =============== > 1. Key name and property configuration object > The property configuration object would need to be constructed and > provided to the constructor. This is easily accomplished with Spring > 2. Key name and full path to the properties file > The properties file is loaded into a property configuration object > 3. Key name > The key name is used as both the key and the name of an environment > variable that should contain the full path to the property file. > The initialize method must be called at the time of creation so that the > property configuration object can be properly loaded. An example of a > Spring config is shown below: > <bean id="propertyLoaderValve" > class="com.fmr.portal.pipeline.impl.PropertyLoaderValve" > init-method="initialize"> > <constructor-arg index="0"> > <value>php.props</value> > </constructor-arg> > </bean> > The motivation for this valve was to externalize the configuration of a > properties file. This becomes important when an application is > installed in different locations that require differently property > values. Our operations group is able to modify the path of the > properties file within Websphere without having to edit any spring > configuration files. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jul 18 18:47:38 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75238 invoked from network); 18 Jul 2006 18:47:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Jul 2006 18:47:37 -0000 Received: (qmail 15828 invoked by uid 500); 18 Jul 2006 18:47:36 -0000 Delivered-To: [email protected] Received: (qmail 15800 invoked by uid 500); 18 Jul 2006 18:47:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 15789 invoked by uid 99); 18 Jul 2006 18:47:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jul 2006 11:47:36 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jul 2006 11:47:35 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id DEF061A981A; Tue, 18 Jul 2006 11:47:14 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r423192 - /portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/alternate/extended-pipelines.xml Date: Tue, 18 Jul 2006 18:47:14 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: taylor Date: Tue Jul 18 11:47:14 2006 New Revision: 423192 URL: http://svn.apache.org/viewvc?rev=423192&view=rev Log: contribution from David Gurney: http://issues.apache.org/jira/browse/JS2-557 This is the property loader valve that we discussed yesterday. It provides a convenient way to make information within a property file available for the rendering of the decorators or portlets. The concept is that this object is loaded via Spring. There are three different constructors. In each case the key is used as the name of an attribute on the request. The value associated with this key is an instance of org.apache.commons.configuration.PropertiesConfiguration Constructors =============== 1. Key name and property configuration object The property configuration object would need to be constructed and provided to the constructor. This is easily accomplished with Spring 2. Key name and full path to the properties file The properties file is loaded into a property configuration object 3. Key name The key name is used as both the key and the name of an environment variable that should contain the full path to the property file. The initialize method must be called at the time of creation so that the property configuration object can be properly loaded. An example of a Spring config is shown below: <bean id="propertyLoaderValve" class="com.fmr.portal.pipeline.impl.PropertyLoaderValve" init-method="initialize"> <constructor-arg index="0"> <value>php.props</value> </constructor-arg> </bean> The motivation for this valve was to externalize the configuration of a properties file. This becomes important when an application is installed in different locations that require differently property values. Our operations group is able to modify the path of the properties file within Websphere without having to edit any spring configuration files. Added: portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/alternate/extended-pipelines.xml Added: portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/alternate/extended-pipelines.xml URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/alternate/extended-pipelines.xml?rev=423192&view=auto ============================================================================== --- portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/alternate/extended-pipelines.xml (added) +++ portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/alternate/extended-pipelines.xml Tue Jul 18 11:47:14 2006 @@ -0,0 +1,52 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> +<!-- +Copyright 2004 The Apache Software Foundation + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +--> + +<!-- the three beans below are examples only --> +<beans> + <bean id="propertyLoaderValve_1" + class="com.fmr.portal.pipeline.impl.PropertyLoaderValve" + init-method="initialize"> + <constructor-arg index="0"> + <value>php-properties</value> + </constructor-arg> + <constructor-arg index="1" + type="org.apache.commons.configuration.PropertiesConfiguration"> + <ref bean="ProductionConfiguration"/> + </constructor-arg> + </bean> + + <bean id="propertyLoaderValve_2" + class="com.fmr.portal.pipeline.impl.PropertyLoaderValve" + init-method="initialize"> + <constructor-arg index="0"> + <value>php-properties</value> + </constructor-arg> + <constructor-arg index="1"> + <value>/apps/jetspeed/etc/jetspeed-production.properties</value> + </constructor-arg> + </bean> + + <bean id="propertyLoaderValve_3" + class="com.fmr.portal.pipeline.impl.PropertyLoaderValve" + init-method="initialize"> + <constructor-arg index="0"> + <value>app.props</value> + </constructor-arg> + </bean> + +</beans> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jul 18 23:06:56 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86242 invoked from network); 18 Jul 2006 23:06:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Jul 2006 23:06:56 -0000 Received: (qmail 1520 invoked by uid 500); 18 Jul 2006 23:06:54 -0000 Delivered-To: [email protected] Received: (qmail 1508 invoked by uid 500); 18 Jul 2006 23:06:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 1497 invoked by uid 99); 18 Jul 2006 23:06:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jul 2006 16:06:54 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jul 2006 16:06:54 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 038261A981C; Tue, 18 Jul 2006 16:06:34 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r423286 - /portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/pipeline/valve/impl/ActionValveImpl.java Date: Tue, 18 Jul 2006 23:06:33 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: taylor Date: Tue Jul 18 16:06:33 2006 New Revision: 423286 URL: http://svn.apache.org/viewvc?rev=423286&view=rev Log: dont let any action exceptions pass up the stack Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/pipeline/valve/impl/ActionValveImpl.java Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/pipeline/valve/impl/ActionValveImpl.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/pipeline/valve/impl/ActionValveImpl.java?rev=423286&r1=423285&r2=423286&view=diff ============================================================================== --- portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/pipeline/valve/impl/ActionValveImpl.java (original) +++ portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/pipeline/valve/impl/ActionValveImpl.java Tue Jul 18 16:06:33 2006 @@ -133,6 +133,10 @@ log.error("Illegal State Exception. Response was written to in Action Phase", e); responseCommitted = true; } + catch (Throwable t) + { + log.error("Unknown exception processing Action", t); + } finally { // Check if an action was processed and if its response has been committed --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jul 19 09:20:29 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88039 invoked from network); 19 Jul 2006 09:20:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jul 2006 09:20:28 -0000 Received: (qmail 8276 invoked by uid 500); 19 Jul 2006 09:20:27 -0000 Delivered-To: [email protected] Received: (qmail 7908 invoked by uid 500); 19 Jul 2006 09:20:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 7237 invoked by uid 500); 19 Jul 2006 09:20:24 -0000 Delivered-To: [email protected] Received: (qmail 7234 invoked by uid 99); 19 Jul 2006 09:20:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 02:20:24 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 02:20:23 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 575C8410012 for <[email protected]>; Wed, 19 Jul 2006 09:18:14 +0000 (GMT) Message-ID: <12249183.1153300694353.JavaMail.jira@brutus> Date: Wed, 19 Jul 2006 02:18:14 -0700 (PDT) From: "Eivinn Hustveit (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (JS2-558) Only "NULL" is shown in browser at what seems to be random intervals. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Only "NULL" is shown in browser at what seems to be random intervals. --------------------------------------------------------------------- Key: JS2-558 URL: http://issues.apache.org/jira/browse/JS2-558 Project: Jetspeed 2 Issue Type: Bug Affects Versions: 2.0-FINAL Environment: Apache/2.0.52 (CentOS) with Apache Tomcat 5.5.17 running in jdk1.5.0_03. Jetspeed 2.0 Final. Reporter: Eivinn Hustveit Priority: Blocker Everything works fine in the portal most of the time, but at random intervals "NULL" is the only text rendered by the browser. I have looked at the jetspeed.log and found out that it prints out a stacktrace which seems to come from the rendering of the layout portlet. I will try to upload this as an attachement. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jul 19 09:22:28 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88795 invoked from network); 19 Jul 2006 09:22:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jul 2006 09:22:27 -0000 Received: (qmail 11096 invoked by uid 500); 19 Jul 2006 09:22:26 -0000 Delivered-To: [email protected] Received: (qmail 10847 invoked by uid 500); 19 Jul 2006 09:22:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 10836 invoked by uid 500); 19 Jul 2006 09:22:25 -0000 Delivered-To: [email protected] Received: (qmail 10833 invoked by uid 99); 19 Jul 2006 09:22:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 02:22:25 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 02:22:24 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 7A9BE41000E for <[email protected]>; Wed, 19 Jul 2006 09:20:15 +0000 (GMT) Message-ID: <11432796.1153300815499.JavaMail.jira@brutus> Date: Wed, 19 Jul 2006 02:20:15 -0700 (PDT) From: "Eivinn Hustveit (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (JS2-558) Only "NULL" is shown in browser at what seems to be random intervals. In-Reply-To: <12249183.1153300694353.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-558?page=all ] Eivinn Hustveit updated JS2-558: -------------------------------- Attachment: Jetspeed_stacktrace.txt This is the error element from the file jetspeed.log. > Only "NULL" is shown in browser at what seems to be random intervals. > --------------------------------------------------------------------- > > Key: JS2-558 > URL: http://issues.apache.org/jira/browse/JS2-558 > Project: Jetspeed 2 > Issue Type: Bug > Affects Versions: 2.0-FINAL > Environment: Apache/2.0.52 (CentOS) with Apache Tomcat 5.5.17 running in jdk1.5.0_03. Jetspeed 2.0 Final. > Reporter: Eivinn Hustveit > Priority: Blocker > Attachments: Jetspeed_stacktrace.txt > > > Everything works fine in the portal most of the time, but at random intervals "NULL" is the only text rendered by the browser. I have looked at the jetspeed.log and found out that it prints out a stacktrace which seems to come from the rendering of the layout portlet. I will try to upload this as an attachement. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jul 19 09:24:33 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89411 invoked from network); 19 Jul 2006 09:24:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jul 2006 09:24:32 -0000 Received: (qmail 18349 invoked by uid 500); 19 Jul 2006 09:24:24 -0000 Delivered-To: [email protected] Received: (qmail 18317 invoked by uid 500); 19 Jul 2006 09:24:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 18304 invoked by uid 500); 19 Jul 2006 09:24:24 -0000 Delivered-To: [email protected] Received: (qmail 18300 invoked by uid 99); 19 Jul 2006 09:24:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 02:24:24 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 02:24:24 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id BD8FC41000E for <[email protected]>; Wed, 19 Jul 2006 09:22:14 +0000 (GMT) Message-ID: <7018101.1153300934773.JavaMail.jira@brutus> Date: Wed, 19 Jul 2006 02:22:14 -0700 (PDT) From: "Eivinn Hustveit (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (JS2-558) Only "NULL" is shown in browser at what seems to be random intervals. In-Reply-To: <12249183.1153300694353.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-558?page=comments#action_12422066 ] Eivinn Hustveit commented on JS2-558: ------------------------------------- The only text in view page source is also "NULL". > Only "NULL" is shown in browser at what seems to be random intervals. > --------------------------------------------------------------------- > > Key: JS2-558 > URL: http://issues.apache.org/jira/browse/JS2-558 > Project: Jetspeed 2 > Issue Type: Bug > Affects Versions: 2.0-FINAL > Environment: Apache/2.0.52 (CentOS) with Apache Tomcat 5.5.17 running in jdk1.5.0_03. Jetspeed 2.0 Final. > Reporter: Eivinn Hustveit > Priority: Blocker > Attachments: Jetspeed_stacktrace.txt > > > Everything works fine in the portal most of the time, but at random intervals "NULL" is the only text rendered by the browser. I have looked at the jetspeed.log and found out that it prints out a stacktrace which seems to come from the rendering of the layout portlet. I will try to upload this as an attachement. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jul 19 09:32:27 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91684 invoked from network); 19 Jul 2006 09:32:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jul 2006 09:32:27 -0000 Received: (qmail 28821 invoked by uid 500); 19 Jul 2006 09:32:25 -0000 Delivered-To: [email protected] Received: (qmail 28741 invoked by uid 500); 19 Jul 2006 09:32:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 28663 invoked by uid 500); 19 Jul 2006 09:32:25 -0000 Delivered-To: [email protected] Received: (qmail 28654 invoked by uid 99); 19 Jul 2006 09:32:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 02:32:25 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 02:32:24 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id DD30E41000D for <[email protected]>; Wed, 19 Jul 2006 09:30:14 +0000 (GMT) Message-ID: <22253984.1153301414903.JavaMail.jira@brutus> Date: Wed, 19 Jul 2006 02:30:14 -0700 (PDT) From: "Eivinn Hustveit (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (JS2-558) Only "NULL" is shown in browser at what seems to be random intervals. In-Reply-To: <12249183.1153300694353.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-558?page=comments#action_12422070 ] Eivinn Hustveit commented on JS2-558: ------------------------------------- Our default-page.psml is presented below. Don't know wether the properties referencing TwoColumns does have anything to do with it, but the page won't show without them. <page> <defaults skin="orange" layout-decorator="mobiletech" portlet-decorator="mobiletech" /> <title>publish</title> <metadata name="title" xml:lang="nb">publish</metadata> <fragment id="dp-1" type="layout" name="jetspeed-layoutsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bVelocityOneColumn"> <fragment id="dp-12" type="portlet" name="j2-adminacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bLoginPortlet"> <property layout="TwoColumns" name="row" value="0" /> <property layout="TwoColumns" name="column" value="0" /> </fragment> <fragment id="mcms" type="portlet" name="mcmsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bmcmsP"> <property layout="TwoColumns" name="row" value="1" /> <property layout="TwoColumns" name="column" value="0" /> </fragment> <fragment id="dp-3" type="portlet" name="j2-adminacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bLocaleSelector"> <property layout="TwoColumns" name="row" value="2" /> <property layout="TwoColumns" name="column" value="0" /> </fragment> </fragment> <security-constraints> <security-constraints-ref>public-view</security-constraints-ref> </security-constraints> </page> > Only "NULL" is shown in browser at what seems to be random intervals. > --------------------------------------------------------------------- > > Key: JS2-558 > URL: http://issues.apache.org/jira/browse/JS2-558 > Project: Jetspeed 2 > Issue Type: Bug > Affects Versions: 2.0-FINAL > Environment: Apache/2.0.52 (CentOS) with Apache Tomcat 5.5.17 running in jdk1.5.0_03. Jetspeed 2.0 Final. > Reporter: Eivinn Hustveit > Priority: Blocker > Attachments: Jetspeed_stacktrace.txt > > > Everything works fine in the portal most of the time, but at random intervals "NULL" is the only text rendered by the browser. I have looked at the jetspeed.log and found out that it prints out a stacktrace which seems to come from the rendering of the layout portlet. I will try to upload this as an attachement. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jul 19 16:55:29 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94990 invoked from network); 19 Jul 2006 16:55:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jul 2006 16:55:29 -0000 Received: (qmail 52513 invoked by uid 500); 19 Jul 2006 16:55:27 -0000 Delivered-To: [email protected] Received: (qmail 52486 invoked by uid 500); 19 Jul 2006 16:55:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 52474 invoked by uid 99); 19 Jul 2006 16:55:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 09:55:27 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 09:55:26 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 46B571A981A; Wed, 19 Jul 2006 09:55:06 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r423524 - /portals/jetspeed-2/trunk/src/webapp/javascript/desktop/core/compatibility.js Date: Wed, 19 Jul 2006 16:55:05 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: taylor Date: Wed Jul 19 09:55:05 2006 New Revision: 423524 URL: http://svn.apache.org/viewvc?rev=423524&view=rev Log: patch from Steve Milek for dojo compatibility Modified: portals/jetspeed-2/trunk/src/webapp/javascript/desktop/core/compatibility.js Modified: portals/jetspeed-2/trunk/src/webapp/javascript/desktop/core/compatibility.js URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/javascript/desktop/core/compatibility.js?rev=423524&r1=423523&r2=423524&view=diff ============================================================================== --- portals/jetspeed-2/trunk/src/webapp/javascript/desktop/core/compatibility.js (original) +++ portals/jetspeed-2/trunk/src/webapp/javascript/desktop/core/compatibility.js Wed Jul 19 09:55:05 2006 @@ -18,60 +18,128 @@ if ( window.dojo ) { - dojo.provide("jetspeed.desktop.compatibility"); + dojo.provide( "jetspeed.desktop.compatibility" ); } -// ... jetspeed base objects +// ... jetspeed base object if ( ! window.jetspeed ) - jetspeed = {} ; + jetspeed = {}; -jetspeed.addOnLoad = function( adviceFnc ) +if ( ! window.dojo ) { - if ( dojo.hostenv.post_load_ ) + jetspeed.no_dojo_load_notifying = false; + jetspeed.no_dojo_post_load = false; + jetspeed.pageLoadedListeners = []; + + window.onload = function() + { + if ( ! window.dojo ) + { + jetspeed.no_dojo_load_notifying = true; + jetspeed.no_dojo_post_load = true; + var pll = jetspeed.pageLoadedListeners; + for( var x=0; x < pll.length; x++ ) + { + pll[x](); + } + jetspeed.pageLoadedListeners = []; + } + }; +}; + +/* +Call styles: + jetspeed.addOnLoad( functionPointer ) + jetspeed.addOnLoad( object, "functionName" ) +*/ +jetspeed.addOnLoad = function( obj, fcnName ) +{ + if ( window.dojo ) { - adviceFnc.call( this ); + if ( arguments.length == 1 ) + dojo.addOnLoad( obj ); + else + dojo.addOnLoad( obj, fcnName ); } else { - dojo.event.connect( dojo, "loaded", adviceFnc ); + if ( arguments.length == 1 ) + { + jetspeed.pageLoadedListeners.push(obj); + } + else if( arguments.length > 1 ) + { + jetspeed.pageLoadedListeners.push( function() + { + obj[fcnName](); + } ); + } + if ( jetspeed.no_dojo_post_load && ! jetspeed.no_dojo_load_notifying ) + { + jetspeed.callPageLoaded(); + } } }; +jetspeed.callPageLoaded = function() +{ + if( typeof setTimeout == "object" ) // IE + { + setTimeout( "jetspeed.pageLoaded();", 0 ); + } + else + { + jetspeed.pageLoaded(); + } +}; + jetspeed.printobj = function( obj ) { var props = []; - for(var prop in obj){ - try { - props.push(prop + ': ' + obj[prop]); - } catch(E) { - props.push(prop + ': ERROR - ' + E.message); + for( var prop in obj ) + { + try + { + props.push( prop + ': ' + obj[prop] ); + } + catch(E) + { + props.push( prop + ': ERROR - ' + E.message ); } } props.sort(); - var buff = "" ; - for(var i = 0; i < props.length; i++) { + var buff = ""; + for( var i = 0; i < props.length; i++ ) + { if ( buff.length > 0 ) - buff += "\r\n" ; - buff += props[i] ; + buff += "\r\n"; + buff += props[i]; } - return buff ; + return buff; }; jetspeed.println = function( line ) { - try { - var console = document.getElementById("debug_container"); - if(!console) { console = document.getElementsByTagName("body")[0] || document.body; } - - var div = document.createElement("div"); - div.appendChild(document.createTextNode(line)); - console.appendChild(div); - } catch (e) { - try{ - // safari needs the output wrapped in an element for some reason + try + { + var console = document.getElementById( "debug_container" ); + if( !console ) + { + console = document.getElementsByTagName( "body" )[0] || document.body; + } + var div = document.createElement( "div" ); + div.appendChild( document.createTextNode( line ) ); + console.appendChild( div ); + } + catch (e) + { + try + { // safari needs the output wrapped in an element for some reason document.write("<div>" + line + "</div>"); - }catch(e2){ + } + catch(e2) + { window.status = line; } } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jul 19 21:10:29 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2875 invoked from network); 19 Jul 2006 21:10:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jul 2006 21:10:29 -0000 Received: (qmail 36598 invoked by uid 500); 19 Jul 2006 21:10:27 -0000 Delivered-To: [email protected] Received: (qmail 36564 invoked by uid 500); 19 Jul 2006 21:10:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 36553 invoked by uid 500); 19 Jul 2006 21:10:26 -0000 Delivered-To: [email protected] Received: (qmail 36539 invoked by uid 99); 19 Jul 2006 21:10:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 14:10:25 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 14:10:25 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C13AF7141F1 for <[email protected]>; Wed, 19 Jul 2006 21:08:14 +0000 (GMT) Message-ID: <15591059.1153343294788.JavaMail.jira@brutus> Date: Wed, 19 Jul 2006 14:08:14 -0700 (PDT) From: "David Sean Taylor (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (JS2-495) OJB + Spring Transactions broken In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-495?page=all ] David Sean Taylor resolved JS2-495. ----------------------------------- Resolution: Fixed We've done a lot of testing on this issue over the last 6 months. I have no outstanding bugs on client bug tracking systems, so I will also resolve it here. > OJB + Spring Transactions broken > -------------------------------- > > Key: JS2-495 > URL: http://issues.apache.org/jira/browse/JS2-495 > Project: Jetspeed 2 > Issue Type: Bug > Components: Persistence and DAO > Affects Versions: 2.1-dev > Reporter: David Sean Taylor > Assigned To: David Sean Taylor > Priority: Critical > Fix For: 2.1-dev > > Attachments: Chatty.zip > > > I tried writing a unit test to test OJB + Spring transactions. > To my suprise, transactions are not starting. > In fact, Im seeing some surprising results in mysql.log > (yes Im using InnoDB), note no transactions, and the forced autocommit > 118 Query SET autocommit=1 > 117 Prepare [1] INSERT INTO FOLDER... > 117 Execute [1] INSERT INTO FOLDER... > 117 Query SET autocommit=1 > It appears that OJB repeatedly sets autocommit=1 > and > it never starts any transactions > Here is my unit test, which tests out a new 'fake' API addPage to the PageManager. This API is temporary to test transactional behavior: > public void testTx() throws Exception > { > Folder root = pageManager.newFolder("/"); > pageManager.updateFolder(root); > Page[] pages = new Page[3]; > pages[0] = pageManager.newPage("/test1.psml"); > pages[1] = pageManager.newPage("/test2.psml"); > pages[2] = pageManager.newPage("/test3.psml"); > try > { > pageManager.addPages(pages); > } > In addPages, I try to force a rollback: > public int addPages(Page[] pages) > throws JetspeedException > { > System.out.println("Adding first page"); > this.updatePage(pages[0]); > System.out.println("Adding second page"); > this.updatePage(pages[1]); > System.out.println("About to throw ex"); > throw new JetspeedException("Its gonna blow captain!"); > } > Finally, add pages is enabled for a Spring tx: > <prop key="addPages*">PROPAGATION_REQUIRED,-org.apache.jetspeed.exception.JetspeedException</prop> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jul 19 21:18:26 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5026 invoked from network); 19 Jul 2006 21:18:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jul 2006 21:18:26 -0000 Received: (qmail 48257 invoked by uid 500); 19 Jul 2006 21:18:24 -0000 Delivered-To: [email protected] Received: (qmail 48233 invoked by uid 500); 19 Jul 2006 21:18:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 48222 invoked by uid 500); 19 Jul 2006 21:18:24 -0000 Delivered-To: [email protected] Received: (qmail 48219 invoked by uid 99); 19 Jul 2006 21:18:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 14:18:24 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 14:18:24 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E0CB37141F1 for <[email protected]>; Wed, 19 Jul 2006 21:16:13 +0000 (GMT) Message-ID: <20912766.1153343773917.JavaMail.jira@brutus> Date: Wed, 19 Jul 2006 14:16:13 -0700 (PDT) From: "David Sean Taylor (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (JS2-559) Place portlets in decorators MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Place portlets in decorators ---------------------------- Key: JS2-559 URL: http://issues.apache.org/jira/browse/JS2-559 Project: Jetspeed 2 Issue Type: New Feature Components: Aggregation Affects Versions: 2.1-dev Reporter: David Sean Taylor Assigned To: David Sean Taylor Priority: Minor Fix For: 2.1-dev Portlets are usually aggregated from the PSML file. This feature will allow you to place portlets in the decorator templates as well. The trick here is to get user preferences to work with it, since the portlet will not be associated with a page. This feature will be implemented at the same time as JS2-449. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jul 19 21:24:27 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7175 invoked from network); 19 Jul 2006 21:24:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jul 2006 21:24:26 -0000 Received: (qmail 61642 invoked by uid 500); 19 Jul 2006 21:24:25 -0000 Delivered-To: [email protected] Received: (qmail 61599 invoked by uid 500); 19 Jul 2006 21:24:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 61588 invoked by uid 500); 19 Jul 2006 21:24:25 -0000 Delivered-To: [email protected] Received: (qmail 61585 invoked by uid 99); 19 Jul 2006 21:24:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 14:24:25 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 14:24:24 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 890867141F1 for <[email protected]>; Wed, 19 Jul 2006 21:22:14 +0000 (GMT) Message-ID: <28222661.1153344134558.JavaMail.jira@brutus> Date: Wed, 19 Jul 2006 14:22:14 -0700 (PDT) From: "David Sean Taylor (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (JS2-560) Normalize Principal table MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Normalize Principal table ------------------------- Key: JS2-560 URL: http://issues.apache.org/jira/browse/JS2-560 Project: Jetspeed 2 Issue Type: Improvement Components: Security Affects Versions: 2.1-dev Reporter: David Sean Taylor Assigned To: David Sean Taylor Fix For: 2.1-dev The SECURITY_PRINCIPAL table is not in normalized form. A number of users have complained about the principal tables not being normalized with the principal name in its own column, as well as the principal type in its own column. There are always needs to join to the user tables, and without normalized columns, it makes simple joins difficult for integrators. I have also seen requests for additional columns on the principal tables. Normally I recommend joining for these columns, or putting them in the user attributes. However I will consider doing so. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jul 19 22:11:00 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27259 invoked from network); 19 Jul 2006 22:10:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jul 2006 22:10:59 -0000 Received: (qmail 49843 invoked by uid 500); 19 Jul 2006 22:10:57 -0000 Delivered-To: [email protected] Received: (qmail 49817 invoked by uid 500); 19 Jul 2006 22:10:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 49806 invoked by uid 99); 19 Jul 2006 22:10:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 15:10:56 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 15:10:56 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 38CA21A981A; Wed, 19 Jul 2006 15:10:36 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r423631 - /portals/jetspeed-2/trunk/maven-archetypes/application/ Date: Wed, 19 Jul 2006 22:10:35 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: taylor Date: Wed Jul 19 15:10:35 2006 New Revision: 423631 URL: http://svn.apache.org/viewvc?rev=423631&view=rev Log: update prop Modified: portals/jetspeed-2/trunk/maven-archetypes/application/ (props changed) Propchange: portals/jetspeed-2/trunk/maven-archetypes/application/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Wed Jul 19 15:10:35 2006 @@ -0,0 +1 @@ +target --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jul 19 22:12:20 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27412 invoked from network); 19 Jul 2006 22:12:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jul 2006 22:12:20 -0000 Received: (qmail 50914 invoked by uid 500); 19 Jul 2006 22:12:19 -0000 Delivered-To: [email protected] Received: (qmail 50653 invoked by uid 500); 19 Jul 2006 22:12:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 50642 invoked by uid 99); 19 Jul 2006 22:12:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 15:12:18 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 15:12:18 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 438351A981A; Wed, 19 Jul 2006 15:11:58 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r423632 - in /portals/jetspeed-2/trunk: layout-portlets/ maven-archetypes/component/ maven-archetypes/portal-component/ maven-archetypes/portal-resources/ maven-archetypes/portal/ maven-archetypes/shared-component/ Date: Wed, 19 Jul 2006 22:11:57 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: taylor Date: Wed Jul 19 15:11:56 2006 New Revision: 423632 URL: http://svn.apache.org/viewvc?rev=423632&view=rev Log: update prop Modified: portals/jetspeed-2/trunk/layout-portlets/ (props changed) portals/jetspeed-2/trunk/maven-archetypes/component/ (props changed) portals/jetspeed-2/trunk/maven-archetypes/portal/ (props changed) portals/jetspeed-2/trunk/maven-archetypes/portal-component/ (props changed) portals/jetspeed-2/trunk/maven-archetypes/portal-resources/ (props changed) portals/jetspeed-2/trunk/maven-archetypes/shared-component/ (props changed) Propchange: portals/jetspeed-2/trunk/layout-portlets/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Wed Jul 19 15:11:56 2006 @@ -1,3 +1,5 @@ -target -*.log -jcoverage.ser +target +*.log +jcoverage.ser +layout-portlets-jar +layout-portlets-war Propchange: portals/jetspeed-2/trunk/maven-archetypes/component/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Wed Jul 19 15:11:56 2006 @@ -0,0 +1 @@ +target Propchange: portals/jetspeed-2/trunk/maven-archetypes/portal/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Wed Jul 19 15:11:56 2006 @@ -0,0 +1 @@ +target Propchange: portals/jetspeed-2/trunk/maven-archetypes/portal-component/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Wed Jul 19 15:11:56 2006 @@ -0,0 +1 @@ +target Propchange: portals/jetspeed-2/trunk/maven-archetypes/portal-resources/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Wed Jul 19 15:11:56 2006 @@ -0,0 +1 @@ +target Propchange: portals/jetspeed-2/trunk/maven-archetypes/shared-component/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Wed Jul 19 15:11:56 2006 @@ -0,0 +1 @@ +target --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jul 19 22:13:55 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28902 invoked from network); 19 Jul 2006 22:13:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jul 2006 22:13:55 -0000 Received: (qmail 57634 invoked by uid 500); 19 Jul 2006 22:13:54 -0000 Delivered-To: [email protected] Received: (qmail 57250 invoked by uid 500); 19 Jul 2006 22:13:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 57239 invoked by uid 99); 19 Jul 2006 22:13:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 15:13:54 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 15:13:53 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 902C91A981A; Wed, 19 Jul 2006 15:13:33 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r423633 - in /portals/jetspeed-2/trunk/layout-portlets: ./ layout-portlets-jar/ layout-portlets-war/ Date: Wed, 19 Jul 2006 22:13:32 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: taylor Date: Wed Jul 19 15:13:32 2006 New Revision: 423633 URL: http://svn.apache.org/viewvc?rev=423633&view=rev Log: update prop Modified: portals/jetspeed-2/trunk/layout-portlets/ (props changed) portals/jetspeed-2/trunk/layout-portlets/layout-portlets-jar/ (props changed) portals/jetspeed-2/trunk/layout-portlets/layout-portlets-war/ (props changed) Propchange: portals/jetspeed-2/trunk/layout-portlets/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Wed Jul 19 15:13:32 2006 @@ -1,5 +1,3 @@ target *.log jcoverage.ser -layout-portlets-jar -layout-portlets-war Propchange: portals/jetspeed-2/trunk/layout-portlets/layout-portlets-jar/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Wed Jul 19 15:13:32 2006 @@ -0,0 +1 @@ +target Propchange: portals/jetspeed-2/trunk/layout-portlets/layout-portlets-war/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Wed Jul 19 15:13:32 2006 @@ -0,0 +1 @@ +target --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jul 19 22:14:30 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29531 invoked from network); 19 Jul 2006 22:14:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jul 2006 22:14:29 -0000 Received: (qmail 58960 invoked by uid 500); 19 Jul 2006 22:14:27 -0000 Delivered-To: [email protected] Received: (qmail 58930 invoked by uid 500); 19 Jul 2006 22:14:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 58901 invoked by uid 99); 19 Jul 2006 22:14:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 15:14:27 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 15:14:25 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id AEB531A981A; Wed, 19 Jul 2006 15:14:05 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r423635 - /portals/jetspeed-2/trunk/portal/ Date: Wed, 19 Jul 2006 22:14:05 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: taylor Date: Wed Jul 19 15:14:04 2006 New Revision: 423635 URL: http://svn.apache.org/viewvc?rev=423635&view=rev Log: update prop Modified: portals/jetspeed-2/trunk/portal/ (props changed) Propchange: portals/jetspeed-2/trunk/portal/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Wed Jul 19 15:14:04 2006 @@ -0,0 +1 @@ +target --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jul 19 22:15:01 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30823 invoked from network); 19 Jul 2006 22:15:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jul 2006 22:15:00 -0000 Received: (qmail 61710 invoked by uid 500); 19 Jul 2006 22:14:57 -0000 Delivered-To: [email protected] Received: (qmail 61676 invoked by uid 500); 19 Jul 2006 22:14:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 61665 invoked by uid 99); 19 Jul 2006 22:14:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 15:14:57 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 15:14:55 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id D683F1A981A; Wed, 19 Jul 2006 15:14:35 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r423636 - /portals/jetspeed-2/trunk/etc/ Date: Wed, 19 Jul 2006 22:14:35 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: taylor Date: Wed Jul 19 15:14:34 2006 New Revision: 423636 URL: http://svn.apache.org/viewvc?rev=423636&view=rev Log: update prop Modified: portals/jetspeed-2/trunk/etc/ (props changed) Propchange: portals/jetspeed-2/trunk/etc/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Wed Jul 19 15:14:34 2006 @@ -0,0 +1 @@ +target --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jul 19 22:15:28 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31108 invoked from network); 19 Jul 2006 22:15:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jul 2006 22:15:27 -0000 Received: (qmail 62901 invoked by uid 500); 19 Jul 2006 22:15:25 -0000 Delivered-To: [email protected] Received: (qmail 62886 invoked by uid 500); 19 Jul 2006 22:15:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 62875 invoked by uid 99); 19 Jul 2006 22:15:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 15:15:25 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 15:15:25 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 2BDB81A981C; Wed, 19 Jul 2006 15:15:05 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r423637 - /portals/jetspeed-2/trunk/ant-tasks/ Date: Wed, 19 Jul 2006 22:15:04 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: taylor Date: Wed Jul 19 15:15:04 2006 New Revision: 423637 URL: http://svn.apache.org/viewvc?rev=423637&view=rev Log: update prop Modified: portals/jetspeed-2/trunk/ant-tasks/ (props changed) Propchange: portals/jetspeed-2/trunk/ant-tasks/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Wed Jul 19 15:15:04 2006 @@ -0,0 +1 @@ +target --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Jul 20 19:26:11 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8473 invoked from network); 20 Jul 2006 19:26:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Jul 2006 19:26:10 -0000 Received: (qmail 45698 invoked by uid 500); 20 Jul 2006 15:33:43 -0000 Delivered-To: [email protected] Received: (qmail 45673 invoked by uid 500); 20 Jul 2006 15:33:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 45645 invoked by uid 99); 20 Jul 2006 15:33:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jul 2006 08:33:43 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO gw-col004.proxy.uk.fid-intl.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jul 2006 08:33:42 -0700 Received: from mail82.uk.fid-intl.com (mail82.uk.fid-intl.com [161.129.204.104]) by gw-col004.proxy.uk.fid-intl.com (8.13.6/8.13.6) with ESMTP id k6KFXIte024427 for <[email protected]>; Thu, 20 Jul 2006 16:33:20 +0100 (BST) Received: from ukhil718nts.uk.fid-intl.com (ukhil718nts.uk.fid-intl.com [161.129.204.104]) by mail82.uk.fid-intl.com (8.11.7p1+Sun/8.11.7) with ESMTP id k6KFXIj13715 for <[email protected]>; Thu, 20 Jul 2006 16:33:18 +0100 (BST) Received: by ukhil718nts.uk.fid-intl.com with Internet Mail Service (5.5.2653.19) id <PC0YYAW4>; Thu, 20 Jul 2006 16:37:22 +0100 Message-ID: <[email protected]> From: "Sahu, Santosh" <[email protected]> To: "'Jetspeed Developers List'" <[email protected]> Subject: Passing variables to a PSML page Date: Thu, 20 Jul 2006 16:31:36 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C6AC11.5E9FDA56" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C6AC11.5E9FDA56 Content-Type: text/plain Folks, How can I pass the variables to a PSML page? I wanto do Response.sendRedirect("/jetspeed/portal/document.psml?var1="test"); And then I want to read that from one of the portlets on that page? Thanks in advance. Regards, Santosh ------_=_NextPart_001_01C6AC11.5E9FDA56-- From [email protected] Thu Jul 20 20:12:02 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68214 invoked from network); 20 Jul 2006 20:12:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Jul 2006 20:12:01 -0000 Received: (qmail 89560 invoked by uid 500); 20 Jul 2006 19:45:26 -0000 Delivered-To: [email protected] Received: (qmail 89520 invoked by uid 500); 20 Jul 2006 19:45:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 89498 invoked by uid 500); 20 Jul 2006 19:45:26 -0000 Delivered-To: [email protected] Received: (qmail 89495 invoked by uid 99); 20 Jul 2006 19:45:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jul 2006 12:45:26 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jul 2006 12:45:25 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id DF9CC41000B for <[email protected]>; Thu, 20 Jul 2006 19:43:13 +0000 (GMT) Message-ID: <2617598.1153424593912.JavaMail.jira@brutus> Date: Thu, 20 Jul 2006 12:43:13 -0700 (PDT) From: "Ethan Adams (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (JS2-561) SessionNavigationalState is storing render parameters in session MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N SessionNavigationalState is storing render parameters in session ---------------------------------------------------------------- Key: JS2-561 URL: http://issues.apache.org/jira/browse/JS2-561 Project: Jetspeed 2 Issue Type: Bug Affects Versions: 2.1-dev Environment: Java 1.5, Oracle, Tomcat .5.5.17 Reporter: Ethan Adams Changed NavigationalState implementation from org.apache.jetspeed.container.state.impl.SessionFullNavigationalState to org.apache.jetspeed.container.state.impl.SessionNavigationalState, but the render parameters are still stored in session. This used to work as expected in 2.0 final. ie. only portletwindow state (window state and portlet mode) are saved in the session, parameters are encoded on the url. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Jul 20 21:35:06 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18936 invoked from network); 20 Jul 2006 21:35:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Jul 2006 21:35:06 -0000 Received: (qmail 38818 invoked by uid 500); 20 Jul 2006 21:35:05 -0000 Delivered-To: [email protected] Received: (qmail 38626 invoked by uid 500); 20 Jul 2006 21:35:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 38615 invoked by uid 99); 20 Jul 2006 21:35:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jul 2006 14:35:04 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO py-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jul 2006 14:35:03 -0700 Received: by py-out-1112.google.com with SMTP id f25so1358899pyf for <[email protected]>; Thu, 20 Jul 2006 14:34:42 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sYF7VCgdm5ny/aj5qCp2j55gblTozjveifOJoEJKpatJn5ErLGjn3OfmiI6jZfu9uUDWS65xPuWvP8PylHhBr7pyrR7ZPoUO5JC6xrBHOdFkB0a9/aXpNiWj9jRJMJu8dsOC8ylAR0QxwiBLEAhOacFZo5FZUXOjjzBPEO/aq4w= Received: by 161.129.204.104 with SMTP id y9mr1779447pym; Thu, 20 Jul 2006 14:34:42 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 20 Jul 2006 14:34:42 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 20 Jul 2006 17:34:42 -0400 From: "Aaron Evans" <[email protected]> To: "Jetspeed Developers List" <[email protected]> Subject: Re: Passing variables to a PSML page In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I believe the value "test" will be present as a request parameter named var1 to all portlets in the page. You can append the query string to the portal page URL just as you have done. On 7/20/06, Sahu, Santosh <[email protected]> wrote: > Folks, > > How can I pass the variables to a PSML page? > > I wanto do > > Response.sendRedirect("/jetspeed/portal/document.psml?var1="test"); > > And then I want to read that from one of the portlets on that page? > > Thanks in advance. > > Regards, > Santosh > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jul 21 10:39:31 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81067 invoked from network); 21 Jul 2006 10:39:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Jul 2006 10:39:31 -0000 Received: (qmail 44671 invoked by uid 500); 21 Jul 2006 10:39:29 -0000 Delivered-To: [email protected] Received: (qmail 44641 invoked by uid 500); 21 Jul 2006 10:39:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 44607 invoked by uid 500); 21 Jul 2006 10:39:29 -0000 Delivered-To: [email protected] Received: (qmail 44509 invoked by uid 99); 21 Jul 2006 10:39:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jul 2006 03:39:28 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jul 2006 03:39:27 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id F299741000C for <[email protected]>; Fri, 21 Jul 2006 10:37:14 +0000 (GMT) Message-ID: <6368.1153478234990.JavaMail.jira@brutus> Date: Fri, 21 Jul 2006 03:37:14 -0700 (PDT) From: "Michael Kearns (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (JS2-562) LDAP attribute name comparison should be case-insensitive MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N LDAP attribute name comparison should be case-insensitive --------------------------------------------------------- Key: JS2-562 URL: http://issues.apache.org/jira/browse/JS2-562 Project: Jetspeed 2 Issue Type: Bug Components: Security Affects Versions: 2.0-FINAL Environment: Windows 2000 SP4, JDK1.5, Apache-DS Reporter: Michael Kearns When trying to authenticate against an LDAP server (in this case, Apache-DS from a seperate installation), the authentication failed because the userPassword attribute was not found. The attribute exists within LDAP, but the case is different (userpassword). While the schema suggests the specified ID (userPassword) is correct, I believe LDAP is supposedly case-insensitive, and so ideally the attribute comparison should also be. The change required is to the getAttribute method within org.apache.jetspeed.security.spi.impl.ldap.LdapUserCredentialDaoImpl, replacing the equals() method with equalsIgnoreCase(). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jul 21 10:55:18 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85447 invoked from network); 21 Jul 2006 10:55:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Jul 2006 10:55:17 -0000 Received: (qmail 71611 invoked by uid 500); 21 Jul 2006 10:55:16 -0000 Delivered-To: [email protected] Received: (qmail 71581 invoked by uid 500); 21 Jul 2006 10:55:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 71558 invoked by uid 99); 21 Jul 2006 10:55:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jul 2006 03:55:16 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO lincl285.quiter.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jul 2006 03:55:14 -0700 Received: (qmail 10037 invoked by uid 0); 21 Jul 2006 10:49:06 -0000 Received: from 161.129.204.104 by lincl285 (envelope-from <[email protected]>, uid 1001) with qmail-scanner-1.25 (f-prot: 4.6.5/3.16.13. spamassassin: 3.0.3. perlscan: 1.25st. Clear:RC:0(161.129.204.104):SA:0(0.0/4.0):. Processed in 4.656166 secs); 21 Jul 2006 10:49:06 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on lincl285.quiter.com X-Spam-Level: X-Envelope-From: [email protected] Received: from unknown (HELO [161.129.204.104]) (emansilla@[161.129.204.104]) (envelope-sender <[email protected]>) by pop3.quiter.com (qmail-ldap-1.03) with SMTP for <[email protected]>; 21 Jul 2006 10:49:01 -0000 Message-ID: <[email protected]> Date: Fri, 21 Jul 2006 12:54:33 +0200 From: Ernesto Mansilla <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20060516) MIME-Version: 1.0 To: [email protected] Subject: Cannot create Portlet instance Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=failed version=3.1.3 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I have an error when executing the jetspeed 2 and to show the information of HelloWorld, very basic. as is the solution ??????? the error message is Cannot create Portlet instance net.wehrens.portlets.HelloWorld for Portlet Application HelloWorld I am working with this: - portlet-api-1.0.jar - JetSpeed 2 - Tomcat 5.5 - Eclipse 3.2 for generated .war My code and files are : - default--page.psml <fragment id="dp-19" type="portlet" name="helloworlacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bhelloworld"> <property layout="TwoColumns" name="row" value="3" /> <property layout="TwoColumns" name="column" value="2" /> </fragment> - HelloWorld.java package net.wehrens.portlets; import java.io.IOException; import java.io.PrintWriter; import javax.portlet.GenericPortlet; import javax.portlet.PortletException; import javax.portlet.RenderRequest; import javax.portlet.RenderResponse; /** * a simple HelloWorld Portlet */ public class HelloWorld extends GenericPortlet { public void doView(RenderRequest request, RenderResponse response) throws PortletException, IOException { response.setContentType("text/html"); PrintWriter out = response.getWriter(); out.println("<h1>Hello World</h1>"); } } - portlet.xml <?xml version="1.0" encoding="UTF-8"?> <portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" version="1.0"> <portlet> <description xml:lang="en">Hello World</description> <portlet-name>helloworld</portlet-name> <display-name xml:lang="en">HelloWorld</display-name> <portlet-class>net.wehrens.portlets.HelloWorld</portlet-class> <expiration-cache>60</expiration-cache> <supports> <mime-type>text/html</mime-type> <portlet-mode>view</portlet-mode> </supports> <supported-locale>en</supported-locale> <portlet-info> <title>Hello World</title> <short-title>Hello</short-title> <keywords>Hello World</keywords> </portlet-info> </portlet> <user-attribute> <description xml:lang="en">User Name</description> <name>user.name</name> </user-attribute> <user-attribute> <description xml:lang="en">User Full Name</description> <name>user.name.full</name> </user-attribute> <user-attribute> <description xml:lang="en">User E-Mail</description> <name>user.email</name> </user-attribute> <user-attribute> <description xml:lang="en">User Organization</description> <name>user.organization</name> </user-attribute> <user-attribute> <description xml:lang="en">User Timezone</description> <name>user.timezone</name> </user-attribute> <user-attribute> <description xml:lang="en">User Preferred Locale</description> <name>user.locale</name> </user-attribute> </portlet-app> web.xml <?xml version="1.0"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <display-name>Hello World Example</display-name> <servlet> <servlet-name>helloworld</servlet-name> <display-name>Hello World</display-name> <description>Simple Hello World</description> <servlet-class>net.wehrens.portlets.HelloWorld</servlet-class> </servlet> <servlet-mapping> <servlet-name>helloworld</servlet-name> <url-pattern>/helloworld/*</url-pattern> </servlet-mapping> </web-app> Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jul 21 12:09:32 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10072 invoked from network); 21 Jul 2006 12:09:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Jul 2006 12:09:32 -0000 Received: (qmail 85122 invoked by uid 500); 21 Jul 2006 12:09:30 -0000 Delivered-To: [email protected] Received: (qmail 85089 invoked by uid 500); 21 Jul 2006 12:09:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 85072 invoked by uid 500); 21 Jul 2006 12:09:30 -0000 Delivered-To: [email protected] Received: (qmail 85056 invoked by uid 99); 21 Jul 2006 12:09:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jul 2006 05:09:29 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jul 2006 05:09:28 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 31C6A41000D for <[email protected]>; Fri, 21 Jul 2006 12:07:15 +0000 (GMT) Message-ID: <30419334.1153483635201.JavaMail.jira@brutus> Date: Fri, 21 Jul 2006 05:07:15 -0700 (PDT) From: "Ethan Adams (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (JS2-561) SessionNavigationalState is storing render parameters in session In-Reply-To: <2617598.1153424593912.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-561?page=comments#action_12422626 ] Ethan Adams commented on JS2-561: --------------------------------- This can be closed. This works as it should. My mistake. > SessionNavigationalState is storing render parameters in session > ---------------------------------------------------------------- > > Key: JS2-561 > URL: http://issues.apache.org/jira/browse/JS2-561 > Project: Jetspeed 2 > Issue Type: Bug > Affects Versions: 2.1-dev > Environment: Java 1.5, Oracle, Tomcat .5.5.17 > Reporter: Ethan Adams > > Changed NavigationalState implementation from org.apache.jetspeed.container.state.impl.SessionFullNavigationalState to org.apache.jetspeed.container.state.impl.SessionNavigationalState, but the render parameters are still stored in session. This used to work as expected in 2.0 final. ie. only portletwindow state (window state and portlet mode) are saved in the session, parameters are encoded on the url. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jul 21 12:12:21 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10625 invoked from network); 21 Jul 2006 12:12:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Jul 2006 12:12:21 -0000 Received: (qmail 89047 invoked by uid 500); 21 Jul 2006 12:12:20 -0000 Delivered-To: [email protected] Received: (qmail 88651 invoked by uid 500); 21 Jul 2006 12:12:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 88624 invoked by uid 99); 21 Jul 2006 12:12:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jul 2006 05:12:19 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nf-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jul 2006 05:12:17 -0700 Received: by nf-out-0910.google.com with SMTP id h2so903827nfe for <[email protected]>; Fri, 21 Jul 2006 05:11:56 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=anglnENbwwn090v9espFGT9p0sPw7dwHGnuB2rvjQbusneCGocdI7F0koGmy1zH5TBohaIS0vkAwpPCZPiYrZ+THNQoLff7P5SP505jCnlyalaZvbLx69U+1pG50qFghJ7TybOdKxjmyD/QxJQnLP3K57qvnD6NT8icOti1Ojng= Received: by 161.129.204.104 with SMTP id m13mr305768hue; Fri, 21 Jul 2006 05:11:55 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 21 Jul 2006 05:11:55 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 21 Jul 2006 14:11:55 +0200 From: "Philip Mark Donaghy" <[email protected]> To: "Jetspeed Developers List" <[email protected]> Subject: Re: Cannot create Portlet instance In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Ernesto, I suggest trying to extend your portlet with GenericServletPortlet. There is some simple documention on running servlet portlet here, http://wiki.apache.org/portals/Jetspeed2/QuickstartForTheImpatient/CreateYourOwnSimpleServletPortlet Philip On 7/21/06, Ernesto Mansilla <[email protected]> wrote: > I have an error when executing the jetspeed 2 and to show the > information of HelloWorld, very basic. > > as is the solution ??????? > > the error message is > > Cannot create Portlet instance net.wehrens.portlets.HelloWorld for > Portlet Application HelloWorld > > I am working with this: > > - portlet-api-1.0.jar > > - JetSpeed 2 > > - Tomcat 5.5 > > - Eclipse 3.2 for generated .war > > > > > My code and files are : > > - default--page.psml > > <fragment id="dp-19" type="portlet" name="helloworlacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bhelloworld"> > <property layout="TwoColumns" name="row" value="3" /> > <property layout="TwoColumns" name="column" value="2" /> > </fragment> > > > > - HelloWorld.java > > package net.wehrens.portlets; > import java.io.IOException; > import java.io.PrintWriter; > > import javax.portlet.GenericPortlet; > import javax.portlet.PortletException; > import javax.portlet.RenderRequest; > import javax.portlet.RenderResponse; > > > /** * a simple HelloWorld Portlet */ public class HelloWorld extends > GenericPortlet > { > public void doView(RenderRequest request, RenderResponse response) > throws PortletException, IOException > { > response.setContentType("text/html"); > > PrintWriter out = response.getWriter(); > out.println("<h1>Hello World</h1>"); > } > } > > > > - portlet.xml > > <?xml version="1.0" encoding="UTF-8"?> > <portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd > http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" > version="1.0"> > <portlet> > <description xml:lang="en">Hello World</description> > <portlet-name>helloworld</portlet-name> > <display-name xml:lang="en">HelloWorld</display-name> > <portlet-class>net.wehrens.portlets.HelloWorld</portlet-class> > <expiration-cache>60</expiration-cache> > <supports> > <mime-type>text/html</mime-type> > <portlet-mode>view</portlet-mode> > </supports> > <supported-locale>en</supported-locale> > <portlet-info> > <title>Hello World</title> > <short-title>Hello</short-title> > <keywords>Hello World</keywords> > </portlet-info> > </portlet> > <user-attribute> > <description xml:lang="en">User Name</description> > <name>user.name</name> > </user-attribute> > <user-attribute> > <description xml:lang="en">User Full Name</description> > <name>user.name.full</name> > </user-attribute> > <user-attribute> > <description xml:lang="en">User E-Mail</description> > <name>user.email</name> > </user-attribute> > <user-attribute> > <description xml:lang="en">User Organization</description> > <name>user.organization</name> > </user-attribute> > <user-attribute> > <description xml:lang="en">User Timezone</description> > <name>user.timezone</name> > </user-attribute> > <user-attribute> > <description xml:lang="en">User Preferred Locale</description> > <name>user.locale</name> > </user-attribute> > </portlet-app> > > > > web.xml > > > <?xml version="1.0"?> > <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application > 2.3//EN" > "http://java.sun.com/dtd/web-app_2_3.dtd"> > <web-app> > <display-name>Hello World Example</display-name> > <servlet> > <servlet-name>helloworld</servlet-name> > <display-name>Hello World</display-name> > <description>Simple Hello World</description> > <servlet-class>net.wehrens.portlets.HelloWorld</servlet-class> > </servlet> > <servlet-mapping> > <servlet-name>helloworld</servlet-name> > <url-pattern>/helloworld/*</url-pattern> > </servlet-mapping> > </web-app> > > > Thanks > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Philip Donaghy donaghy.blogspot.com del.icio.us/donaghy/philip Skype: philipmarkdonaghy Office: 203.381.7290 Mobile: 203.381.7290 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jul 21 17:11:11 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48286 invoked from network); 21 Jul 2006 17:11:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Jul 2006 17:11:11 -0000 Received: (qmail 52105 invoked by uid 500); 21 Jul 2006 17:11:09 -0000 Delivered-To: [email protected] Received: (qmail 52078 invoked by uid 500); 21 Jul 2006 17:11:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 52067 invoked by uid 99); 21 Jul 2006 17:11:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jul 2006 10:11:09 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO mx.scriptall.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jul 2006 10:11:07 -0700 Received: (qmail 31201 invoked by uid 512); 21 Jul 2006 13:10:47 -0400 Received: from [email protected] by edison by uid 509 with qmail-scanner-1.22-st-qms (spamassassin: 2.63. Clear:RC:1(161.129.204.104):. Processed in 0.028049 secs); 21 Jul 2006 17:10:47 -0000 X-Antivirus-MYDOMAIN-Mail-From: [email protected] via edison X-Antivirus-MYDOMAIN: 1.22-st-qms (Clear:RC:1(161.129.204.104):. Processed in 0.028049 secs Process 31197) Received: from h-64-105-95-102.snvacaid.covad.net (HELO [161.129.204.104]) ([email protected]@161.129.204.104) by mx.scriptall.com with SMTP; Fri, 21 Jul 2006 13:10:47 -0400 Message-ID: <[email protected]> Date: Fri, 21 Jul 2006 10:10:34 -0700 From: David Sean Taylor <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jetspeed Developers List <[email protected]> Subject: Re: Cannot create Portlet instance References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Ernesto Mansilla wrote: > I have an error when executing the jetspeed 2 and to show the > information of HelloWorld, very basic. > > as is the solution ??????? > > the error message is > > Cannot create Portlet instance net.wehrens.portlets.HelloWorld for > Portlet Application HelloWorld make sure that your HelloWorld class file is located under WEB-INF/classes or in a jar file under WEB-INF/lib Make sure you do not put the portlet-api-1.0.jar in your war distribution --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jul 21 17:44:31 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62196 invoked from network); 21 Jul 2006 17:44:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Jul 2006 17:44:31 -0000 Received: (qmail 17763 invoked by uid 500); 21 Jul 2006 17:44:29 -0000 Delivered-To: [email protected] Received: (qmail 17741 invoked by uid 500); 21 Jul 2006 17:44:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 17730 invoked by uid 99); 21 Jul 2006 17:44:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jul 2006 10:44:29 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jul 2006 10:44:28 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id C3EFC1A981F; Fri, 21 Jul 2006 10:44:08 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r424401 - /portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/page/document/psml/CastorFileSystemDocumentHandler.java Date: Fri, 21 Jul 2006 17:44:08 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: taylor Date: Fri Jul 21 10:44:08 2006 New Revision: 424401 URL: http://svn.apache.org/viewvc?rev=424401&view=rev Log: better display error message for xml syntax errors patch from Steve Milek Modified: portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/page/document/psml/CastorFileSystemDocumentHandler.java Modified: portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/page/document/psml/CastorFileSystemDocumentHandler.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/page/document/psml/CastorFileSystemDocumentHandler.java?rev=424401&r1=424400&r2=424401&view=diff ============================================================================== --- portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/page/document/psml/CastorFileSystemDocumentHandler.java (original) +++ portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/page/document/psml/CastorFileSystemDocumentHandler.java Fri Jul 21 10:44:08 2006 @@ -472,28 +472,34 @@ } catch (IOException e) { + log.error("Could not load the file " + f.getAbsolutePath(), e); throw new PageNotFoundException("Could not load the file " + f.getAbsolutePath(), e); } catch (MarshalException e) { + log.error("Could not unmarshal the file " + f.getAbsolutePath(), e); throw new PageNotFoundException("Could not unmarshal the file " + f.getAbsolutePath(), e); } catch (MappingException e) { + log.error("Could not unmarshal the file " + f.getAbsolutePath(), e); throw new PageNotFoundException("Could not unmarshal the file " + f.getAbsolutePath(), e); } catch (ValidationException e) { + log.error("Document " + f.getAbsolutePath() + " is not valid", e); throw new DocumentNotFoundException("Document " + f.getAbsolutePath() + " is not valid", e); } catch (SAXException e) - { + { + log.error("Could not unmarshal the file " + f.getAbsolutePath(), e); throw new PageNotFoundException("Could not unmarshal the file " + f.getAbsolutePath(), e); - } + } catch (ParserConfigurationException e) - { + { + log.error("Could not unmarshal the file " + f.getAbsolutePath(), e); throw new PageNotFoundException("Could not unmarshal the file " + f.getAbsolutePath(), e); - } + } if (document == null) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jul 21 23:34:31 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64358 invoked from network); 21 Jul 2006 23:34:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Jul 2006 23:34:30 -0000 Received: (qmail 28326 invoked by uid 500); 21 Jul 2006 23:34:29 -0000 Delivered-To: [email protected] Received: (qmail 28288 invoked by uid 500); 21 Jul 2006 23:34:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 28277 invoked by uid 500); 21 Jul 2006 23:34:28 -0000 Delivered-To: [email protected] Received: (qmail 28274 invoked by uid 99); 21 Jul 2006 23:34:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jul 2006 16:34:28 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jul 2006 16:34:28 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 5707341000A for <[email protected]>; Fri, 21 Jul 2006 23:32:14 +0000 (GMT) Message-ID: <15077590.1153524734326.JavaMail.jira@brutus> Date: Fri, 21 Jul 2006 16:32:14 -0700 (PDT) From: "David Sean Taylor (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (JS2-561) SessionNavigationalState is storing render parameters in session In-Reply-To: <2617598.1153424593912.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-561?page=all ] David Sean Taylor closed JS2-561. --------------------------------- Resolution: Fixed closed per reporter's request > SessionNavigationalState is storing render parameters in session > ---------------------------------------------------------------- > > Key: JS2-561 > URL: http://issues.apache.org/jira/browse/JS2-561 > Project: Jetspeed 2 > Issue Type: Bug > Affects Versions: 2.1-dev > Environment: Java 1.5, Oracle, Tomcat .5.5.17 > Reporter: Ethan Adams > > Changed NavigationalState implementation from org.apache.jetspeed.container.state.impl.SessionFullNavigationalState to org.apache.jetspeed.container.state.impl.SessionNavigationalState, but the render parameters are still stored in session. This used to work as expected in 2.0 final. ie. only portletwindow state (window state and portlet mode) are saved in the session, parameters are encoded on the url. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 06:58:38 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88958 invoked from network); 24 Jul 2006 06:58:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 06:58:37 -0000 Received: (qmail 9047 invoked by uid 500); 24 Jul 2006 06:58:36 -0000 Delivered-To: [email protected] Received: (qmail 8654 invoked by uid 500); 24 Jul 2006 06:58:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 8643 invoked by uid 99); 24 Jul 2006 06:58:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Jul 2006 23:58:35 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO lincl285.quiter.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Jul 2006 23:58:34 -0700 Received: (qmail 12725 invoked by uid 0); 24 Jul 2006 06:52:21 -0000 Received: from 161.129.204.104 by lincl285 (envelope-from <[email protected]>, uid 1001) with qmail-scanner-1.25 (f-prot: 4.6.5/3.16.13. spamassassin: 3.0.3. perlscan: 1.25st. Clear:RC:0(161.129.204.104):SA:0(0.0/4.0):. Processed in 1.941665 secs); 24 Jul 2006 06:52:21 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on lincl285.quiter.com X-Spam-Level: X-Envelope-From: [email protected] Received: from unknown (HELO [161.129.204.104]) (emansilla@[161.129.204.104]) (envelope-sender <[email protected]>) by pop3.quiter.com (qmail-ldap-1.03) with SMTP for <[email protected]>; 24 Jul 2006 06:52:19 -0000 Message-ID: <[email protected]> Date: Mon, 24 Jul 2006 08:57:59 +0200 From: Ernesto Mansilla <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20060516) MIME-Version: 1.0 To: Jetspeed Developers List <[email protected]> Subject: Re: Cannot create Portlet instance References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=failed version=3.1.3 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I have the portlet portlet-api-1.0.jar in WEB-INF/lib . David Sean Taylor escribió: > Ernesto Mansilla wrote: >> I have an error when executing the jetspeed 2 and to show the >> information of HelloWorld, very basic. >> >> as is the solution ??????? >> >> the error message is >> >> Cannot create Portlet instance net.wehrens.portlets.HelloWorld for >> Portlet Application HelloWorld > > make sure that your HelloWorld class file is located under > WEB-INF/classes or in a jar file under WEB-INF/lib > > Make sure you do not put the portlet-api-1.0.jar in your war distribution > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 12:36:42 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17806 invoked from network); 24 Jul 2006 12:36:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 12:36:41 -0000 Received: (qmail 73505 invoked by uid 500); 24 Jul 2006 12:36:40 -0000 Delivered-To: [email protected] Received: (qmail 73114 invoked by uid 500); 24 Jul 2006 12:36:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 73103 invoked by uid 99); 24 Jul 2006 12:36:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 05:36:39 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO py-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 05:36:39 -0700 Received: by py-out-1112.google.com with SMTP id i49so1890958pyi for <[email protected]>; Mon, 24 Jul 2006 05:36:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TO4OCn9IUdYd0LrWiQbbF+1K2R9/mMTx7NpMpARtKduM9gMSZKiRtMRGYBxt1SHDRReYib9U8cSjs33l1rP+DveZp4fWXkPXQl8njNWPXQVIr5J7aoz3UG2Rm17s5uuALYKYmsaTbdEQwxX83j5semzUhAFtcSqnsRRq2ph6VGg= Received: by 161.129.204.104 with SMTP id t12mr7646070pyj; Mon, 24 Jul 2006 05:36:18 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 24 Jul 2006 05:36:18 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 24 Jul 2006 08:36:18 -0400 From: "Aaron Evans" <[email protected]> To: "Jetspeed Developers List" <[email protected]> Subject: Re: Cannot create Portlet instance In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 7/24/06, Ernesto Mansilla <[email protected]> wrote: > I have the portlet portlet-api-1.0.jar in WEB-INF/lib . > Right, so take it out of there! Do NOT include it as part of your war distribution. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 14:20:22 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57885 invoked from network); 24 Jul 2006 14:20:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 14:20:21 -0000 Received: (qmail 96145 invoked by uid 500); 24 Jul 2006 14:20:20 -0000 Delivered-To: [email protected] Received: (qmail 95992 invoked by uid 500); 24 Jul 2006 14:20:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 95981 invoked by uid 99); 24 Jul 2006 14:20:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 07:20:19 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy includes SPF [email protected]) Received: from [161.129.204.104] (HELO web25810.mail.ukl.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 24 Jul 2006 07:20:18 -0700 Received: (qmail 99883 invoked by uid 60001); 24 Jul 2006 14:19:56 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.es; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=gBO39CjGD5PcbFIYwLlIOazTHR+tWXP+a7iFSYmWFY84TQh+hSbWlGrK6RHaqlDnDkZxXUNGxflHjOTdTZcMkBPaK5ieDIZ673OVdodPd1h2/DhZJiPex/HEXxn/R5e9+/xCaBDzfhLwDglximRu79qrGYev3wZkg9WOrrd+veE= ; Message-ID: <[email protected]> Received: from [161.129.204.104] by web25810.mail.ukl.yahoo.com via HTTP; Mon, 24 Jul 2006 16:19:53 CEST Date: Mon, 24 Jul 2006 16:19:53 +0200 (CEST) From: Ernesto Mansilla <[email protected]> Subject: Re: Cannot create Portlet instance To: [email protected] MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1980157826-1153750793=:91475" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --0-1980157826-1153750793=:91475 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit ok, thanks. that was, as soon as extractions of war portlet-api, works. thanks Aaron Evans escribió: On 7/24/06, Ernesto Mansilla <[email protected]> wrote: I have the portlet portlet-api-1.0.jar in WEB-INF/lib . Right, so take it out of there! Do NOT include it as part of your war distribution. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------- LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com --0-1980157826-1153750793=:91475-- From [email protected] Mon Jul 24 16:35:39 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20147 invoked from network); 24 Jul 2006 16:35:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 16:35:37 -0000 Received: (qmail 16226 invoked by uid 500); 24 Jul 2006 16:35:34 -0000 Delivered-To: [email protected] Received: (qmail 16136 invoked by uid 500); 24 Jul 2006 16:35:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 16099 invoked by uid 500); 24 Jul 2006 16:35:33 -0000 Delivered-To: [email protected] Received: (qmail 16079 invoked by uid 99); 24 Jul 2006 16:35:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 09:35:33 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 09:35:33 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C9D197141F0 for <[email protected]>; Mon, 24 Jul 2006 16:33:14 +0000 (GMT) Message-ID: <6812521.1153758794824.JavaMail.jira@brutus> Date: Mon, 24 Jul 2006 09:33:14 -0700 (PDT) From: "David Sean Taylor (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (JS2-562) LDAP attribute name comparison should be case-insensitive In-Reply-To: <6368.1153478234990.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-562?page=all ] David Sean Taylor reassigned JS2-562: ------------------------------------- Assignee: David Sean Taylor > LDAP attribute name comparison should be case-insensitive > --------------------------------------------------------- > > Key: JS2-562 > URL: http://issues.apache.org/jira/browse/JS2-562 > Project: Jetspeed 2 > Issue Type: Bug > Components: Security > Affects Versions: 2.0-FINAL > Environment: Windows 2000 SP4, JDK1.5, Apache-DS > Reporter: Michael Kearns > Assigned To: David Sean Taylor > > When trying to authenticate against an LDAP server (in this case, Apache-DS from a seperate installation), the authentication failed because the userPassword attribute was not found. > The attribute exists within LDAP, but the case is different (userpassword). While the schema suggests the specified ID (userPassword) is correct, I believe LDAP is supposedly case-insensitive, and so ideally the attribute comparison should also be. > The change required is to the getAttribute method within org.apache.jetspeed.security.spi.impl.ldap.LdapUserCredentialDaoImpl, replacing the equals() method with equalsIgnoreCase(). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 16:36:02 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20491 invoked from network); 24 Jul 2006 16:36:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 16:36:02 -0000 Received: (qmail 17189 invoked by uid 500); 24 Jul 2006 16:36:00 -0000 Delivered-To: [email protected] Received: (qmail 17080 invoked by uid 500); 24 Jul 2006 16:36:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 17069 invoked by uid 99); 24 Jul 2006 16:36:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 09:36:00 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 09:35:59 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id AAAFF1A981A; Mon, 24 Jul 2006 09:35:39 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r425115 - /portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/impl/ldap/LdapUserCredentialDaoImpl.java Date: Mon, 24 Jul 2006 16:35:39 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: taylor Date: Mon Jul 24 09:35:38 2006 New Revision: 425115 URL: http://svn.apache.org/viewvc?rev=425115&view=rev Log: http://issues.apache.org/jira/browse/JS2-562 patch from Michael Kearns, LDAP case-insensitive credentials Modified: portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/impl/ldap/LdapUserCredentialDaoImpl.java Modified: portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/impl/ldap/LdapUserCredentialDaoImpl.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/impl/ldap/LdapUserCredentialDaoImpl.java?rev=425115&r1=425114&r2=425115&view=diff ============================================================================== --- portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/impl/ldap/LdapUserCredentialDaoImpl.java (original) +++ portals/jetspeed-2/trunk/components/security/src/java/org/apache/jetspeed/security/spi/impl/ldap/LdapUserCredentialDaoImpl.java Mon Jul 24 09:35:38 2006 @@ -206,7 +206,7 @@ { Attribute attr = (Attribute) ae.next(); - if (attr.getID().equals(attributeName)) + if (attr.getID().equalsIgnoreCase(attributeName)) { return attr; } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 16:37:35 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20847 invoked from network); 24 Jul 2006 16:37:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 16:37:35 -0000 Received: (qmail 21410 invoked by uid 500); 24 Jul 2006 16:37:33 -0000 Delivered-To: [email protected] Received: (qmail 21355 invoked by uid 500); 24 Jul 2006 16:37:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 21344 invoked by uid 500); 24 Jul 2006 16:37:33 -0000 Delivered-To: [email protected] Received: (qmail 21341 invoked by uid 99); 24 Jul 2006 16:37:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 09:37:33 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 09:37:32 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id BB51B7141F0 for <[email protected]>; Mon, 24 Jul 2006 16:35:14 +0000 (GMT) Message-ID: <15317209.1153758914764.JavaMail.jira@brutus> Date: Mon, 24 Jul 2006 09:35:14 -0700 (PDT) From: "David Sean Taylor (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (JS2-562) LDAP attribute name comparison should be case-insensitive In-Reply-To: <6368.1153478234990.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-562?page=all ] David Sean Taylor resolved JS2-562. ----------------------------------- Fix Version/s: 2.1-dev Resolution: Fixed Michael, applied your patch, thanks. > LDAP attribute name comparison should be case-insensitive > --------------------------------------------------------- > > Key: JS2-562 > URL: http://issues.apache.org/jira/browse/JS2-562 > Project: Jetspeed 2 > Issue Type: Bug > Components: Security > Affects Versions: 2.0-FINAL > Environment: Windows 2000 SP4, JDK1.5, Apache-DS > Reporter: Michael Kearns > Assigned To: David Sean Taylor > Fix For: 2.1-dev > > > When trying to authenticate against an LDAP server (in this case, Apache-DS from a seperate installation), the authentication failed because the userPassword attribute was not found. > The attribute exists within LDAP, but the case is different (userpassword). While the schema suggests the specified ID (userPassword) is correct, I believe LDAP is supposedly case-insensitive, and so ideally the attribute comparison should also be. > The change required is to the getAttribute method within org.apache.jetspeed.security.spi.impl.ldap.LdapUserCredentialDaoImpl, replacing the equals() method with equalsIgnoreCase(). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 16:46:37 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25656 invoked from network); 24 Jul 2006 16:46:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 16:46:36 -0000 Received: (qmail 36936 invoked by uid 500); 24 Jul 2006 16:46:33 -0000 Delivered-To: [email protected] Received: (qmail 36895 invoked by uid 500); 24 Jul 2006 16:46:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 36884 invoked by uid 500); 24 Jul 2006 16:46:33 -0000 Delivered-To: [email protected] Received: (qmail 36878 invoked by uid 99); 24 Jul 2006 16:46:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 09:46:33 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 09:46:33 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id DD2627141F0 for <[email protected]>; Mon, 24 Jul 2006 16:44:14 +0000 (GMT) Message-ID: <30948972.1153759454903.JavaMail.jira@brutus> Date: Mon, 24 Jul 2006 09:44:14 -0700 (PDT) From: "David Sean Taylor (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (JS2-558) Only "NULL" is shown in browser at what seems to be random intervals. In-Reply-To: <12249183.1153300694353.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-558?page=all ] David Sean Taylor reassigned JS2-558: ------------------------------------- Assignee: David Sean Taylor > Only "NULL" is shown in browser at what seems to be random intervals. > --------------------------------------------------------------------- > > Key: JS2-558 > URL: http://issues.apache.org/jira/browse/JS2-558 > Project: Jetspeed 2 > Issue Type: Bug > Affects Versions: 2.0-FINAL > Environment: Apache/2.0.52 (CentOS) with Apache Tomcat 5.5.17 running in jdk1.5.0_03. Jetspeed 2.0 Final. > Reporter: Eivinn Hustveit > Assigned To: David Sean Taylor > Priority: Blocker > Attachments: Jetspeed_stacktrace.txt > > > Everything works fine in the portal most of the time, but at random intervals "NULL" is the only text rendered by the browser. I have looked at the jetspeed.log and found out that it prints out a stacktrace which seems to come from the rendering of the layout portlet. I will try to upload this as an attachement. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 16:57:38 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28727 invoked from network); 24 Jul 2006 16:57:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 16:57:38 -0000 Received: (qmail 50534 invoked by uid 500); 24 Jul 2006 16:57:36 -0000 Delivered-To: [email protected] Received: (qmail 50501 invoked by uid 500); 24 Jul 2006 16:57:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 50490 invoked by uid 500); 24 Jul 2006 16:57:35 -0000 Delivered-To: [email protected] Received: (qmail 50487 invoked by uid 99); 24 Jul 2006 16:57:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 09:57:35 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 09:57:35 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 172CC41000A for <[email protected]>; Mon, 24 Jul 2006 16:55:17 +0000 (GMT) Message-ID: <7555754.1153760117092.JavaMail.jira@brutus> Date: Mon, 24 Jul 2006 09:55:17 -0700 (PDT) From: "David Sean Taylor (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (JS2-558) Only "NULL" is shown in browser at what seems to be random intervals. In-Reply-To: <12249183.1153300694353.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-558?page=comments#action_12423097 ] David Sean Taylor commented on JS2-558: --------------------------------------- [email protected] final source, line 196 in LayoutPortlet.java: absViewPage = jpt.getTemplate(viewPage + "/" + JetspeedPowerTool.LAYOUT_TEMPLATE_TYPE + ".vm", JetspeedPowerTool.LAYOUT_TEMPLATE_TYPE).getAppRelativePath(); One of the parameters in the statement above must be null. Ensure that: 1. viewPage is not null. viewPage comes from either a preference or init parameter 2. jpt.getTemplate could be returning null. Although in reviewing the code, I don't see how this could happen > Only "NULL" is shown in browser at what seems to be random intervals. > --------------------------------------------------------------------- > > Key: JS2-558 > URL: http://issues.apache.org/jira/browse/JS2-558 > Project: Jetspeed 2 > Issue Type: Bug > Affects Versions: 2.0-FINAL > Environment: Apache/2.0.52 (CentOS) with Apache Tomcat 5.5.17 running in jdk1.5.0_03. Jetspeed 2.0 Final. > Reporter: Eivinn Hustveit > Assigned To: David Sean Taylor > Priority: Blocker > Attachments: Jetspeed_stacktrace.txt > > > Everything works fine in the portal most of the time, but at random intervals "NULL" is the only text rendered by the browser. I have looked at the jetspeed.log and found out that it prints out a stacktrace which seems to come from the rendering of the layout portlet. I will try to upload this as an attachement. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 17:24:36 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40634 invoked from network); 24 Jul 2006 17:24:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 17:24:36 -0000 Received: (qmail 8868 invoked by uid 500); 24 Jul 2006 17:24:35 -0000 Delivered-To: [email protected] Received: (qmail 8571 invoked by uid 500); 24 Jul 2006 17:24:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 8560 invoked by uid 500); 24 Jul 2006 17:24:33 -0000 Delivered-To: [email protected] Received: (qmail 8553 invoked by uid 99); 24 Jul 2006 17:24:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 10:24:33 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 10:24:33 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C74B371428D for <[email protected]>; Mon, 24 Jul 2006 17:22:14 +0000 (GMT) Message-ID: <26010862.1153761734813.JavaMail.jira@brutus> Date: Mon, 24 Jul 2006 10:22:14 -0700 (PDT) From: "David Sean Taylor (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (JS2-556) decorator.vm in portlet decorators not overriden In-Reply-To: <27134776.1153163294004.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-556?page=all ] David Sean Taylor reassigned JS2-556: ------------------------------------- Assignee: David Sean Taylor > decorator.vm in portlet decorators not overriden > ------------------------------------------------ > > Key: JS2-556 > URL: http://issues.apache.org/jira/browse/JS2-556 > Project: Jetspeed 2 > Issue Type: Bug > Components: Layout > Affects Versions: 2.0-dev/cvs, 2.1, 2.1-dev > Environment: any > Reporter: Jacek Wislicki > Assigned To: David Sean Taylor > > I cannot override the default decorator.vm in my portlet decorator. Although the file is created in my decorator's home, the default one is still used for rendering portlets. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 17:24:38 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40722 invoked from network); 24 Jul 2006 17:24:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 17:24:37 -0000 Received: (qmail 9003 invoked by uid 500); 24 Jul 2006 17:24:35 -0000 Delivered-To: [email protected] Received: (qmail 8956 invoked by uid 500); 24 Jul 2006 17:24:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 8928 invoked by uid 500); 24 Jul 2006 17:24:35 -0000 Delivered-To: [email protected] Received: (qmail 8923 invoked by uid 99); 24 Jul 2006 17:24:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 10:24:35 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 10:24:34 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 3FCE2714293 for <[email protected]>; Mon, 24 Jul 2006 17:22:16 +0000 (GMT) Message-ID: <19714307.1153761736259.JavaMail.jira@brutus> Date: Mon, 24 Jul 2006 10:22:16 -0700 (PDT) From: "David Sean Taylor (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (JS2-556) decorator.vm in portlet decorators not overriden In-Reply-To: <27134776.1153163294004.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-556?page=comments#action_12423099 ] David Sean Taylor commented on JS2-556: --------------------------------------- Try naming your resource header.vm, not decorator.vm That should work > decorator.vm in portlet decorators not overriden > ------------------------------------------------ > > Key: JS2-556 > URL: http://issues.apache.org/jira/browse/JS2-556 > Project: Jetspeed 2 > Issue Type: Bug > Components: Layout > Affects Versions: 2.0-dev/cvs, 2.1, 2.1-dev > Environment: any > Reporter: Jacek Wislicki > Assigned To: David Sean Taylor > > I cannot override the default decorator.vm in my portlet decorator. Although the file is created in my decorator's home, the default one is still used for rendering portlets. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 17:30:40 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42122 invoked from network); 24 Jul 2006 17:30:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 17:30:40 -0000 Received: (qmail 22039 invoked by uid 500); 24 Jul 2006 17:30:39 -0000 Delivered-To: [email protected] Received: (qmail 21644 invoked by uid 500); 24 Jul 2006 17:30:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 21624 invoked by uid 500); 24 Jul 2006 17:30:38 -0000 Delivered-To: [email protected] Received: (qmail 21620 invoked by uid 99); 24 Jul 2006 17:30:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 10:30:38 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 10:30:38 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B81AE71428D for <[email protected]>; Mon, 24 Jul 2006 17:28:14 +0000 (GMT) Message-ID: <27185387.1153762094751.JavaMail.jira@brutus> Date: Mon, 24 Jul 2006 10:28:14 -0700 (PDT) From: "David Sean Taylor (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (JS2-555) Unable to use Unicode (UTF-8) in user names and passwords In-Reply-To: <20136398.1152783509915.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-555?page=all ] David Sean Taylor reassigned JS2-555: ------------------------------------- Assignee: David Sean Taylor > Unable to use Unicode (UTF-8) in user names and passwords > --------------------------------------------------------- > > Key: JS2-555 > URL: http://issues.apache.org/jira/browse/JS2-555 > Project: Jetspeed 2 > Issue Type: Bug > Components: Security > Affects Versions: 2.1-dev > Reporter: Thorsten Berger > Assigned To: David Sean Taylor > Attachments: 2nd_patch-utf8-in-username-password(js2-555)--Tomcat55.txt, patch-utf8-in-username-password(js2-555).txt > > > Currently, it's not possible to use utf-8 characters in usernames and passwords. > In my case, some of our users reported problems with their passwords as they used some very common german characters. > I will attach a patch for Jetspeed2 on Tomcat 5.0 and 5.5. However, I could not verify the behaviour with Tomcat 5.0. The patch is working fine with Tomcat 5.5. > The patch solves the problem by: > - setting UTF-8 as character encoding in LoginProxyServlet (let me know if you'd prefer looking up the character encoding in the MediaType of the Agent's CapabilityMap) > - setting UTF-8 as character encoding in tomcat's FormAuthenticator valve (configured in jetspeed's context.xml) > It would be great if this patch could find its way into the next 2.1 release ;) > Regards, Thorsten -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 17:36:37 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44498 invoked from network); 24 Jul 2006 17:36:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 17:36:37 -0000 Received: (qmail 34807 invoked by uid 500); 24 Jul 2006 17:36:35 -0000 Delivered-To: [email protected] Received: (qmail 34763 invoked by uid 500); 24 Jul 2006 17:36:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 34733 invoked by uid 500); 24 Jul 2006 17:36:35 -0000 Delivered-To: [email protected] Received: (qmail 34730 invoked by uid 99); 24 Jul 2006 17:36:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 10:36:35 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 10:36:34 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 53BC971428D for <[email protected]>; Mon, 24 Jul 2006 17:34:16 +0000 (GMT) Message-ID: <19191065.1153762456340.JavaMail.jira@brutus> Date: Mon, 24 Jul 2006 10:34:16 -0700 (PDT) From: "David Sean Taylor (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (JS2-554) Upload Jetspeed jars to Ibiblio In-Reply-To: <24073464.1152776613929.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-554?page=all ] David Sean Taylor reassigned JS2-554: ------------------------------------- Assignee: David Sean Taylor > Upload Jetspeed jars to Ibiblio > ------------------------------- > > Key: JS2-554 > URL: http://issues.apache.org/jira/browse/JS2-554 > Project: Jetspeed 2 > Issue Type: Wish > Reporter: Jukka Zitting > Assigned To: David Sean Taylor > Priority: Minor > > Projects like the incubating Graffito depend on Jetspeed, but currently need to use custom Maven repositories for the dependencies since the Jetspeed jars are not available on Ibiblio. See http://issues.apache.org/jira/browse/GRFT-13 for a related issue. > The jars will be automatically uploaded to Ibiblio if you deploy them within the Maven 1 repository /www/www.apache.org/dist/java-repository on people.apache.org. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 17:45:35 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47450 invoked from network); 24 Jul 2006 17:45:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 17:45:35 -0000 Received: (qmail 59336 invoked by uid 500); 24 Jul 2006 17:45:33 -0000 Delivered-To: [email protected] Received: (qmail 59311 invoked by uid 500); 24 Jul 2006 17:45:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 59300 invoked by uid 500); 24 Jul 2006 17:45:33 -0000 Delivered-To: [email protected] Received: (qmail 59297 invoked by uid 99); 24 Jul 2006 17:45:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 10:45:33 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 10:45:33 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id BB3017141F0 for <[email protected]>; Mon, 24 Jul 2006 17:43:14 +0000 (GMT) Message-ID: <22951189.1153762994764.JavaMail.jira@brutus> Date: Mon, 24 Jul 2006 10:43:14 -0700 (PDT) From: "David Sean Taylor (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (JS2-554) Upload Jetspeed jars to Ibiblio In-Reply-To: <24073464.1152776613929.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-554?page=all ] David Sean Taylor resolved JS2-554. ----------------------------------- Fix Version/s: 2.1-dev Resolution: Fixed jars copied out to /x1/www/people.apache.org/repo/m1-ibiblio-rsync-repository/org.apache.portals.bridges/jars > Upload Jetspeed jars to Ibiblio > ------------------------------- > > Key: JS2-554 > URL: http://issues.apache.org/jira/browse/JS2-554 > Project: Jetspeed 2 > Issue Type: Wish > Reporter: Jukka Zitting > Assigned To: David Sean Taylor > Priority: Minor > Fix For: 2.1-dev > > > Projects like the incubating Graffito depend on Jetspeed, but currently need to use custom Maven repositories for the dependencies since the Jetspeed jars are not available on Ibiblio. See http://issues.apache.org/jira/browse/GRFT-13 for a related issue. > The jars will be automatically uploaded to Ibiblio if you deploy them within the Maven 1 repository /www/www.apache.org/dist/java-repository on people.apache.org. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 17:48:40 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48178 invoked from network); 24 Jul 2006 17:48:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 17:48:40 -0000 Received: (qmail 64389 invoked by uid 500); 24 Jul 2006 17:48:38 -0000 Delivered-To: [email protected] Received: (qmail 64348 invoked by uid 500); 24 Jul 2006 17:48:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 64337 invoked by uid 500); 24 Jul 2006 17:48:38 -0000 Delivered-To: [email protected] Received: (qmail 64334 invoked by uid 99); 24 Jul 2006 17:48:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 10:48:38 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 10:48:38 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id BDEEC7141F0 for <[email protected]>; Mon, 24 Jul 2006 17:46:14 +0000 (GMT) Message-ID: <30379788.1153763174775.JavaMail.jira@brutus> Date: Mon, 24 Jul 2006 10:46:14 -0700 (PDT) From: "David Sean Taylor (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (JS2-553) Replace reference to jar in maven repository with one in tomcat In-Reply-To: <33139375.1152755849768.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-553?page=all ] David Sean Taylor reassigned JS2-553: ------------------------------------- Assignee: David Sean Taylor > Replace reference to jar in maven repository with one in tomcat > --------------------------------------------------------------- > > Key: JS2-553 > URL: http://issues.apache.org/jira/browse/JS2-553 > Project: Jetspeed 2 > Issue Type: Improvement > Components: Site Documentation > Affects Versions: 2.1, 2.1-dev > Environment: Web browser > Reporter: Philip Mark Donaghy > Assigned To: David Sean Taylor > Attachments: patch.txt > > > Most users of this guide don't build jetspeed so they won't find the portlet-api jar in any maven repository. The portlet-api jar in tomcat is a more appropriate reference. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 17:50:35 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48773 invoked from network); 24 Jul 2006 17:50:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 17:50:35 -0000 Received: (qmail 68671 invoked by uid 500); 24 Jul 2006 17:50:34 -0000 Delivered-To: [email protected] Received: (qmail 68278 invoked by uid 500); 24 Jul 2006 17:50:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 68267 invoked by uid 500); 24 Jul 2006 17:50:33 -0000 Delivered-To: [email protected] Received: (qmail 68264 invoked by uid 99); 24 Jul 2006 17:50:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 10:50:33 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 10:50:33 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C1DCD7141F0 for <[email protected]>; Mon, 24 Jul 2006 17:48:14 +0000 (GMT) Message-ID: <7600352.1153763294791.JavaMail.jira@brutus> Date: Mon, 24 Jul 2006 10:48:14 -0700 (PDT) From: "David Sean Taylor (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (JS2-553) Replace reference to jar in maven repository with one in tomcat In-Reply-To: <33139375.1152755849768.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-553?page=all ] David Sean Taylor resolved JS2-553. ----------------------------------- Resolution: Fixed patch applied. I will deploy the html to the site with a few more docs Ive been working by tomorrow > Replace reference to jar in maven repository with one in tomcat > --------------------------------------------------------------- > > Key: JS2-553 > URL: http://issues.apache.org/jira/browse/JS2-553 > Project: Jetspeed 2 > Issue Type: Improvement > Components: Site Documentation > Affects Versions: 2.1, 2.1-dev > Environment: Web browser > Reporter: Philip Mark Donaghy > Assigned To: David Sean Taylor > Attachments: patch.txt > > > Most users of this guide don't build jetspeed so they won't find the portlet-api jar in any maven repository. The portlet-api jar in tomcat is a more appropriate reference. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 17:52:36 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49997 invoked from network); 24 Jul 2006 17:52:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 17:52:35 -0000 Received: (qmail 77333 invoked by uid 500); 24 Jul 2006 17:52:33 -0000 Delivered-To: [email protected] Received: (qmail 77298 invoked by uid 500); 24 Jul 2006 17:52:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 77287 invoked by uid 500); 24 Jul 2006 17:52:33 -0000 Delivered-To: [email protected] Received: (qmail 77284 invoked by uid 99); 24 Jul 2006 17:52:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 10:52:33 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 10:52:33 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id BB9107141F0 for <[email protected]>; Mon, 24 Jul 2006 17:50:14 +0000 (GMT) Message-ID: <19619702.1153763414765.JavaMail.jira@brutus> Date: Mon, 24 Jul 2006 10:50:14 -0700 (PDT) From: "David Sean Taylor (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (JS2-552) DB2 configuration not included In-Reply-To: <28622513.1152648149855.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-552?page=all ] David Sean Taylor reassigned JS2-552: ------------------------------------- Assignee: David Sean Taylor > DB2 configuration not included > ------------------------------ > > Key: JS2-552 > URL: http://issues.apache.org/jira/browse/JS2-552 > Project: Jetspeed 2 > Issue Type: Improvement > Components: Persistence and DAO > Affects Versions: 2.0-FINAL > Reporter: Tod Matola > Assigned To: David Sean Taylor > > Decriptive information about the portal describe DB2 as an option, but the installer and the source bundles do not support DB2 sql generation. > There are no instructions included that describe the process of using DB2 (although it claims to have been tested). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 17:54:56 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50724 invoked from network); 24 Jul 2006 17:54:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 17:54:56 -0000 Received: (qmail 84355 invoked by uid 500); 24 Jul 2006 17:54:34 -0000 Delivered-To: [email protected] Received: (qmail 84334 invoked by uid 500); 24 Jul 2006 17:54:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 84321 invoked by uid 500); 24 Jul 2006 17:54:34 -0000 Delivered-To: [email protected] Received: (qmail 84309 invoked by uid 99); 24 Jul 2006 17:54:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 10:54:34 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 10:54:33 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B85FE7141F0 for <[email protected]>; Mon, 24 Jul 2006 17:52:14 +0000 (GMT) Message-ID: <482205.1153763534752.JavaMail.jira@brutus> Date: Mon, 24 Jul 2006 10:52:14 -0700 (PDT) From: "David Sean Taylor (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (JS2-549) Simple documentation for using the JSF bridge in Jetspeed In-Reply-To: <12843530.1151315309794.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-549?page=all ] David Sean Taylor reassigned JS2-549: ------------------------------------- Assignee: David Sean Taylor > Simple documentation for using the JSF bridge in Jetspeed > --------------------------------------------------------- > > Key: JS2-549 > URL: http://issues.apache.org/jira/browse/JS2-549 > Project: Jetspeed 2 > Issue Type: Improvement > Components: Site Documentation > Affects Versions: 2.1, 2.1-dev > Environment: Web site > Reporter: Philip Mark Donaghy > Assigned To: David Sean Taylor > Attachments: guide-simple-jsf-portlet.xml > > > The JSF bridge itself is pretty simple but the JSF / Portlet / Jetspeed combination represents a steep learning curve. This document guides one through the minimum building blocks required to create a jsf portlet in Jetspeed. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 17:58:04 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51410 invoked from network); 24 Jul 2006 17:58:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 17:58:04 -0000 Received: (qmail 91713 invoked by uid 500); 24 Jul 2006 17:58:02 -0000 Delivered-To: [email protected] Received: (qmail 91679 invoked by uid 500); 24 Jul 2006 17:58:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 91666 invoked by uid 99); 24 Jul 2006 17:58:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 10:58:02 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 10:58:01 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 40B5F1A981A; Mon, 24 Jul 2006 10:57:41 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r425135 - in /portals/jetspeed-2/trunk: components/portal/src/java/org/apache/jetspeed/login/LoginProxyServlet.java etc/conf/tomcat/jetspeed-tomcat-5.5.xml Date: Mon, 24 Jul 2006 17:57:40 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: taylor Date: Mon Jul 24 10:57:40 2006 New Revision: 425135 URL: http://svn.apache.org/viewvc?rev=425135&view=rev Log: http://issues.apache.org/jira/browse/JS2-555 properly encode credentials with Tomcat 5.5 Patch from Thorsten Berger tested with 5.5 and 5.0.30, login worked fine here Please test on your environment... Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/login/LoginProxyServlet.java portals/jetspeed-2/trunk/etc/conf/tomcat/jetspeed-tomcat-5.5.xml Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/login/LoginProxyServlet.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/login/LoginProxyServlet.java?rev=425135&r1=425134&r2=425135&view=diff ============================================================================== --- portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/login/LoginProxyServlet.java (original) +++ portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/login/LoginProxyServlet.java Mon Jul 24 10:57:40 2006 @@ -39,6 +39,8 @@ { String parameter; + request.setCharacterEncoding( "UTF-8" ); + HttpSession session = request.getSession(true); parameter = request.getParameter(LoginConstants.DESTINATION); Modified: portals/jetspeed-2/trunk/etc/conf/tomcat/jetspeed-tomcat-5.5.xml URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/etc/conf/tomcat/jetspeed-tomcat-5.5.xml?rev=425135&r1=425134&r2=425135&view=diff ============================================================================== --- portals/jetspeed-2/trunk/etc/conf/tomcat/jetspeed-tomcat-5.5.xml (original) +++ portals/jetspeed-2/trunk/etc/conf/tomcat/jetspeed-tomcat-5.5.xml Mon Jul 24 10:57:40 2006 @@ -29,4 +29,6 @@ driverClassName="@DRIVER@" url="@URL@" maxActive="100" maxIdle="30" maxWait="10000"/> + <Valve className="org.apache.catalina.authenticator.FormAuthenticator" characterEncoding="UTF-8"/> + </Context> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 17:58:35 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51525 invoked from network); 24 Jul 2006 17:58:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 17:58:35 -0000 Received: (qmail 92688 invoked by uid 500); 24 Jul 2006 17:58:35 -0000 Delivered-To: [email protected] Received: (qmail 92307 invoked by uid 500); 24 Jul 2006 17:58:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 92296 invoked by uid 500); 24 Jul 2006 17:58:34 -0000 Delivered-To: [email protected] Received: (qmail 92293 invoked by uid 99); 24 Jul 2006 17:58:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 10:58:33 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 10:58:33 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id BA8397141F0 for <[email protected]>; Mon, 24 Jul 2006 17:56:14 +0000 (GMT) Message-ID: <28018989.1153763774761.JavaMail.jira@brutus> Date: Mon, 24 Jul 2006 10:56:14 -0700 (PDT) From: "David Sean Taylor (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (JS2-555) Unable to use Unicode (UTF-8) in user names and passwords In-Reply-To: <20136398.1152783509915.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-555?page=all ] David Sean Taylor resolved JS2-555. ----------------------------------- Resolution: Fixed patched applied and tested with 5.5 and 5.0.30 > Unable to use Unicode (UTF-8) in user names and passwords > --------------------------------------------------------- > > Key: JS2-555 > URL: http://issues.apache.org/jira/browse/JS2-555 > Project: Jetspeed 2 > Issue Type: Bug > Components: Security > Affects Versions: 2.1-dev > Reporter: Thorsten Berger > Assigned To: David Sean Taylor > Attachments: 2nd_patch-utf8-in-username-password(js2-555)--Tomcat55.txt, patch-utf8-in-username-password(js2-555).txt > > > Currently, it's not possible to use utf-8 characters in usernames and passwords. > In my case, some of our users reported problems with their passwords as they used some very common german characters. > I will attach a patch for Jetspeed2 on Tomcat 5.0 and 5.5. However, I could not verify the behaviour with Tomcat 5.0. The patch is working fine with Tomcat 5.5. > The patch solves the problem by: > - setting UTF-8 as character encoding in LoginProxyServlet (let me know if you'd prefer looking up the character encoding in the MediaType of the Agent's CapabilityMap) > - setting UTF-8 as character encoding in tomcat's FormAuthenticator valve (configured in jetspeed's context.xml) > It would be great if this patch could find its way into the next 2.1 release ;) > Regards, Thorsten -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 18:00:35 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51878 invoked from network); 24 Jul 2006 18:00:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 18:00:35 -0000 Received: (qmail 97800 invoked by uid 500); 24 Jul 2006 18:00:34 -0000 Delivered-To: [email protected] Received: (qmail 97693 invoked by uid 500); 24 Jul 2006 18:00:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 97682 invoked by uid 500); 24 Jul 2006 18:00:33 -0000 Delivered-To: [email protected] Received: (qmail 97679 invoked by uid 99); 24 Jul 2006 18:00:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 11:00:33 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 11:00:33 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id BDEF57141F0 for <[email protected]>; Mon, 24 Jul 2006 17:58:14 +0000 (GMT) Message-ID: <23230902.1153763894775.JavaMail.jira@brutus> Date: Mon, 24 Jul 2006 10:58:14 -0700 (PDT) From: "David Sean Taylor (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (JS2-485) admin portlets profiler admin In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-485?page=all ] David Sean Taylor closed JS2-485. --------------------------------- Fix Version/s: 2.1-dev Resolution: Duplicate this is a duplicate of JS2-486 > admin portlets profiler admin > ----------------------------- > > Key: JS2-485 > URL: http://issues.apache.org/jira/browse/JS2-485 > Project: Jetspeed 2 > Issue Type: Bug > Environment: W2K, VM 5.0, Tomcat 5.5.12, MySQL 4.1 > Reporter: Michael Gustav Simon > Assigned To: David Sean Taylor > Fix For: 2.1-dev > > > If I add a new rule criteria the table rule creteria will not be updated. > I have to reload the portlet to see the new rule. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 18:06:44 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53436 invoked from network); 24 Jul 2006 18:06:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 18:06:44 -0000 Received: (qmail 17571 invoked by uid 500); 24 Jul 2006 18:06:42 -0000 Delivered-To: [email protected] Received: (qmail 17544 invoked by uid 500); 24 Jul 2006 18:06:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 17533 invoked by uid 99); 24 Jul 2006 18:06:42 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 11:06:42 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 11:06:41 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id D35941A981A; Mon, 24 Jul 2006 11:06:21 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r425137 - /portals/jetspeed-2/trunk/xdocs/guides/guide-simple-portlet.xml Date: Mon, 24 Jul 2006 18:06:21 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: taylor Date: Mon Jul 24 11:06:21 2006 New Revision: 425137 URL: http://svn.apache.org/viewvc?rev=425137&view=rev Log: documentation patch from Philip Mark Donaghy http://issues.apache.org/jira/browse/JS2-553 Modified: portals/jetspeed-2/trunk/xdocs/guides/guide-simple-portlet.xml Modified: portals/jetspeed-2/trunk/xdocs/guides/guide-simple-portlet.xml URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/xdocs/guides/guide-simple-portlet.xml?rev=425137&r1=425136&r2=425137&view=diff ============================================================================== --- portals/jetspeed-2/trunk/xdocs/guides/guide-simple-portlet.xml (original) +++ portals/jetspeed-2/trunk/xdocs/guides/guide-simple-portlet.xml Mon Jul 24 11:06:21 2006 @@ -49,7 +49,7 @@ <p> Compile the class using the command, <source> -javac -cp ~/.maven/repository/org.apache.portals.jetspeed-2/jars/portlet-api-1.0.jar Simplest.java +javac -cp $CATALINA_HOME/shared/lib/portlet-api-1.0.jar Simplest.java </source> </p> </subsection> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 18:09:40 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54236 invoked from network); 24 Jul 2006 18:09:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 18:09:40 -0000 Received: (qmail 21813 invoked by uid 500); 24 Jul 2006 18:09:39 -0000 Delivered-To: [email protected] Received: (qmail 21551 invoked by uid 500); 24 Jul 2006 18:09:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 21540 invoked by uid 500); 24 Jul 2006 18:09:38 -0000 Delivered-To: [email protected] Received: (qmail 21537 invoked by uid 99); 24 Jul 2006 18:09:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 11:09:38 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 11:09:38 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B412F7141F0 for <[email protected]>; Mon, 24 Jul 2006 18:07:14 +0000 (GMT) Message-ID: <23037988.1153764434735.JavaMail.jira@brutus> Date: Mon, 24 Jul 2006 11:07:14 -0700 (PDT) From: "David Sean Taylor (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (JS2-545) Simple Velocity Portlet Documentation In-Reply-To: <29345334.1150292609767.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-545?page=all ] David Sean Taylor reassigned JS2-545: ------------------------------------- Assignee: David Sean Taylor > Simple Velocity Portlet Documentation > ------------------------------------- > > Key: JS2-545 > URL: http://issues.apache.org/jira/browse/JS2-545 > Project: Jetspeed 2 > Issue Type: Improvement > Components: Site Documentation > Affects Versions: 2.1, 2.1-dev > Environment: All browsers > Reporter: Philip Mark Donaghy > Assigned To: David Sean Taylor > Attachments: guide-simple-velocity-portlet.xml, guide-simple-velocity-portlet.xml, patch.txt, xdocs-guides-index.txt > > > A guide to creating a simple Velocity portlet. Guides one through the creation of the java class, the portlet.xml, the web.xml, the velocity template, building the war with dependencies, deployment, and the portlet chooser. Target audience is new Jetspeed portlet developers. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 18:14:50 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55494 invoked from network); 24 Jul 2006 18:14:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 18:14:50 -0000 Received: (qmail 32290 invoked by uid 500); 24 Jul 2006 18:14:48 -0000 Delivered-To: [email protected] Received: (qmail 32264 invoked by uid 500); 24 Jul 2006 18:14:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 32253 invoked by uid 99); 24 Jul 2006 18:14:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 11:14:47 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 11:14:46 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id B79271A981A; Mon, 24 Jul 2006 11:14:26 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r425139 - in /portals/jetspeed-2/trunk/xdocs/guides: guide-simple-jsf-portlet.xml guide-simple-velocity-portlet.xml index.xml Date: Mon, 24 Jul 2006 18:14:26 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: taylor Date: Mon Jul 24 11:14:25 2006 New Revision: 425139 URL: http://svn.apache.org/viewvc?rev=425139&view=rev Log: documentation guides for velocity and jsf development provided by Philip Mark Donaghy http://issues.apache.org/jira/browse/JS2-549 http://issues.apache.org/jira/browse/JS2-545 Added: portals/jetspeed-2/trunk/xdocs/guides/guide-simple-jsf-portlet.xml portals/jetspeed-2/trunk/xdocs/guides/guide-simple-velocity-portlet.xml Modified: portals/jetspeed-2/trunk/xdocs/guides/index.xml Added: portals/jetspeed-2/trunk/xdocs/guides/guide-simple-jsf-portlet.xml URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/xdocs/guides/guide-simple-jsf-portlet.xml?rev=425139&view=auto ============================================================================== --- portals/jetspeed-2/trunk/xdocs/guides/guide-simple-jsf-portlet.xml (added) +++ portals/jetspeed-2/trunk/xdocs/guides/guide-simple-jsf-portlet.xml Mon Jul 24 11:14:25 2006 @@ -0,0 +1,201 @@ +<?xml version="1.0"?> +<!-- + Copyright 2006 The Apache Software Foundation + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<document> + <properties> + <title>Jetspeed Simple JSF Portlet Guide</title> + <subtitle>Documentation for Creating a Simple JSF Portlet</subtitle> + <authors> + <person name="David Le Strat" email="[email protected]" /> + <person name="Philip Mark Donaghy" email="[email protected]" /> + </authors> + </properties> + <body> + <section name="Jetspeed Simple JSF Portlet Guide"> + <p> + This guide provides a tutorial for creating a very + simple JSF portlet with one template in the portlet view mode. + </p> + <subsection name="1. The Portlet Class"> + <p> + Create the file JSFSimplest.java in a directory called + jsf-simplest/WEB-INF/classes: + <source> +public class JSFSimplest extends org.apache.portals.bridges.jsf.FacesPortlet +{ + + public void doView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) + throws javax.portlet.PortletException, java.io.IOException + { + super.doView(request, response); + } +} + </source> + </p> + <p> + Compile the class in the jsf-simplest/WEB-INF/classes directory using the command, + <source> +javac -cp portlet-api-1.0.jar:portals-bridges-jsf-1.0.jar:portals-bridges-common-1.0.jar JSFSimplest.java + </source> + </p> + </subsection> + <subsection name="2. The portlet.xml"> + <p> + Create the file portlet.xml in the jsf-simplest/WEB-INF directory. + <source><![CDATA[ +<?xml version="1.0" encoding="UTF-8"?> +<portlet-app id="jsfsimplest" version="1.0"> + <portlet id="JSFSimplest"> + <portlet-name>JSFSimplestPortlet</portlet-name> + <display-name>JSF Simplest Display Name</display-name> + <portlet-class>JSFSimplest</portlet-class> + <init-param> + <name>ViewPage</name> + <value>/WEB-INF/view/view.jsp</value> + </init-param> + <supports> + <mime-type>text/html</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <supported-locale>en</supported-locale> + <supported-locale>fr</supported-locale> + <portlet-info> + <title>JSF Simplest Title</title> + <short-title>JSF Simplest Short Title</short-title> + </portlet-info> + </portlet> +</portlet-app>]]> + </source> + </p> + </subsection> + <subsection name="3. The web.xml"> + <p> + Create the file web.xml in the jsf-simplest/WEB-INF directory. + <source><![CDATA[ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" + "http://java.sun.com/dtd/web-app_2_3.dtd"> +<web-app> + <display-name>JSF Simplest</display-name> + <description>The world's simplest JSF portlet</description> + + <!-- Faces Config --> + <context-param> + <param-name>javax.faces.application.CONFIG_FILES</param-name> + <param-value>/WEB-INF/faces-config.xml</param-value> + </context-param> + + <!-- Faces Servlet --> + <servlet> + <servlet-name>Faces Servlet</servlet-name> + <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> + </servlet> + + <!-- Faces extension mapping --> + <servlet-mapping> + <servlet-name>Faces Servlet</servlet-name> + <url-pattern>*.jsf</url-pattern> + </servlet-mapping> +</web-app>]]> + </source> + </p> + </subsection> + <subsection name="4. The View"> + <p> + Create the view.jsp file in the jsf-simplest/WEB-INF/view directory. +<source><![CDATA[ +<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> +<%@ taglib uri="/WEB-INF/tld/portlet.tld" prefix='portlet'%> +<portlet:defineObjects/> +<f:view> + <h2>A JSF Portlet</h2> + Hello + <% if ( renderRequest.getUserPrincipal() == null ) { %> + guest + <% } else { %> + <%=renderRequest.getUserPrincipal().getName()%> + <% } %>! +</f:view>]]> +</source> + </p> + </subsection> + <subsection name="5. The faces-config.xml"> + <p> + Create a faces-config.xml file in the jsf-simplest/WEB-INF directory. +<source><![CDATA[ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE faces-config PUBLIC + "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" + "http://java.sun.com/dtd/web-facesconfig_1_1.dtd"> + +<faces-config> + + <application> + <locale-config> + <default-locale>en</default-locale> + <supported-locale>fr</supported-locale> + </locale-config> + </application> + +</faces-config>]]> +</source> + </p> + </subsection> + <subsection name="6. The Dependency JARs"> + <p> + Copy the dependencies to the WEB-INF/lib directory. + These jars should be in your Maven repository. If so executing these commands in the lib + directory will set up the dependencies for you. +<source> +ln -s ~/.maven/repository/commons-beanutils/jars/commons-beanutils-1.7.0.jar +ln -s ~/.maven/repository/commons-collections/jars/commons-collections-3.1.jar +ln -s ~/.maven/repository/commons-digester/jars/commons-digester-1.7.jar +ln -s ~/.maven/repository/myfaces/jars/myfaces-api-1.1.0.jar +ln -s ~/.maven/repository/myfaces/jars/myfaces-impl-1.1.0.jar +ln -s ~/.maven/repository/myfaces/jars/tomahawk-1.1.0.jar +ln -s ~/.maven/repository/org.apache.portals.bridges/jars/portals-bridges-jsf-1.0.jar +ln -s ~/.maven/repository/xerces/jars/xerces-2.4.0.jar +ln -s ~/.maven/repository/xml-apis/jars/xml-apis-2.0.2.jar +</source> + </p> + </subsection> + <subsection name="7. The WAR file"> + <p> + From the directory jsf-simplest combine the files above into a war file using the command, + <source> +jar cvf ../jsfsimplest.war . + </source> + </p> + </subsection> + <subsection name="8. Deploy the WAR file"> + <p> + Copy the war file to <code>$CATALINA_HOME/webapps/jetspeed/WEB-INF/deploy</code>. + Jetspeed-2 will deploy the webapp. + </p> + </subsection> + <subsection name="9. The PSML"> + <p> + Create the PSML page using the Jetspeed portlet chooser. Login and click on the + edit page icon. Click on the add portlet icon. + Checkbox and add the JSFSimplestPortlet to your page. + Your user must have the permission to edit pages. The user <code>admin</code> + password + <code>admin</code> has permission to edit all pages. + </p> + </subsection> + </section> + </body> +</document> Added: portals/jetspeed-2/trunk/xdocs/guides/guide-simple-velocity-portlet.xml URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/xdocs/guides/guide-simple-velocity-portlet.xml?rev=425139&view=auto ============================================================================== --- portals/jetspeed-2/trunk/xdocs/guides/guide-simple-velocity-portlet.xml (added) +++ portals/jetspeed-2/trunk/xdocs/guides/guide-simple-velocity-portlet.xml Mon Jul 24 11:14:25 2006 @@ -0,0 +1,174 @@ +<?xml version="1.0"?> +<!-- + Copyright 2006 The Apache Software Foundation + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<document> + <properties> + <title>Jetspeed Simple Velocity Portlet Guide</title> + <subtitle>Documentation for Creating a Simple Velocity Portlet</subtitle> + <authors> + <person name="David Le Strat" email="[email protected]" /> + <person name="Philip Mark Donaghy" email="[email protected]" /> + </authors> + </properties> + <body> + <section name="Jetspeed Simple Velocity Portlet Guide"> + <p> + This guide provides a tutorial for creating a very + simple Velocity portlet with one template in the portlet view mode. + </p> + <subsection name="1. The Portlet Class"> + <p> + Create the file VelocitySimplest.java in a directory called + velocity-simplest/WEB-INF/classes: + <source> +public class VelocitySimplest extends org.apache.portals.bridges.velocity.GenericVelocityPortlet +{ + + public void doView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) + throws javax.portlet.PortletException, java.io.IOException + { + super.doView(request, response); + } +} + </source> + </p> + <p> + Compile the class in the velocity-simplest/WEB-INF/classes directory using the command, + <source> +javac -cp portlet-api-1.0.jar:portals-bridges-velocity-1.0.jar:portals-bridges-common-1.0.jar VelocitySimplest.java + </source> + </p> + </subsection> + <subsection name="2. The portlet.xml"> + <p> + Create the file portlet.xml in the velocity-simplest/WEB-INF directory. + <source><![CDATA[ +<?xml version="1.0" encoding="UTF-8"?> +<portlet-app id="velocitysimplest" version="1.0"> + <portlet id="VelocitySimplest"> + <portlet-name>VelocitySimplest</portlet-name> + <display-name>Velocity Simplest Display Name</display-name> + <portlet-class>VelocitySimplest</portlet-class> + <init-param> + <name>ViewPage</name> + <value>/WEB-INF/view/world.vm</value> + </init-param> + <supports> + <mime-type>text/html</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <supported-locale>en</supported-locale> + <portlet-info> + <title>Velocity Simplest Title</title> + <short-title>Velocity Simplest Short Title</short-title> + </portlet-info> + </portlet> +</portlet-app>]]> + </source> + </p> + </subsection> + <subsection name="3. The web.xml"> + <p> + Create the file web.xml in the velocity-simplest/WEB-INF directory. + <source><![CDATA[ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" + "http://java.sun.com/dtd/web-app_2_3.dtd"> +<web-app> + <display-name>Velocity Simplest</display-name> + <description>The world's simplest Velocity portlet</description> + + <!-- Define Velocity Servlet --> + <servlet> + <servlet-name>velocity</servlet-name> + <servlet-class>org.apache.portals.bridges.velocity.BridgesVelocityViewServlet</servlet-class> + </servlet> + + <!-- Map *.vm files to Velocity --> + <servlet-mapping> + <servlet-name>velocity</servlet-name> + <url-pattern>*.vm</url-pattern> + </servlet-mapping> + +</web-app>]]> + </source> + </p> + </subsection> + <subsection name="4. The View"> + <p> + Create the world.vm file in the velocity-simplest/WEB-INF/view directory. Put + whatever content + you desire in it. Notice that the template file is defined in the portlet init + parameter <code> + ViewPage</code>. The objects <a href="http://portals.apache.org/pluto/multiproject/portlet-api/apidocs/javax/portlet/PortletConfig.html">PortletConfig</a>, <a href="http://portals.apache.org/pluto/multiproject/portlet-api/apidocs/javax/portlet/RenderRequest.html">RenderRequest</a>, and <a href="http://portals.apache.org/pluto/multiproject/portlet-api/apidocs/javax/portlet/RenderResponse.html">RenderResponse</a> + are automatically + placed in the Velocity context for use in Velocity templates. Here is a sample + template showing a few of these objects methods and properties. +<source> +$portletConfig.portletName +$portletConfig.portletContext.serverInfo +#set ($MESSAGES = $portletConfig.getResourceBundle($renderRequest.Locale)) +$renderRequest.portletMode +$renderResponse.namespace +</source> + </p> + </subsection> + <subsection name="5. The Dependency JARs"> + <p> + Copy the commons-beanutils-1.7.0.jar, commons-collections-3.1.jar, + commons-digester-1.7.jar, portals-bridges-velocity-1.0.jar, + velocity-1.4.jar, and velocity-tools-1.1.jar to the velocity-simplest/WEB-INF/lib + directory. IMPORTANT: + Do NOT put the portlet-api-1.0.jar in the war file. If you have already built + Jetspeed these + jars should be in your Maven repository. If so executing these commands in the lib + directory will set up the dependencies for you. +<source> +ln -s ~/.maven/repository/commons-beanutils/jars/commons-beanutils-1.7.0.jar +ln -s ~/.maven/repository/commons-collections/jars/commons-collections-3.1.jar +ln -s ~/.maven/repository/commons-digester/jars/commons-digester-1.7.jar +ln -s ~/.maven/repository/org.apache.portals.bridges/jars/portals-bridges-velocity-1.0.jar +ln -s ~/.maven/repository/velocity/jars/velocity-1.4.jar +ln -s ~/.maven/repository/velocity-tools/jars/velocity-tools-1.1.jar +</source> + </p> + </subsection> + <subsection name="6. The WAR file"> + <p> + From the directory velocity-simplest combine the files above into a war file using the command, + <source> +jar cvf ../velocitysimplest.war . + </source> + </p> + </subsection> + <subsection name="7. Deploy the WAR file"> + <p> + Copy the war file to <code>$CATALINA_HOME/webapps/jetspeed/WEB-INF/deploy</code>. + Jetspeed-2 will deploy the webapp. + </p> + </subsection> + <subsection name="8. The PSML"> + <p> + Create the PSML page using the Jetspeed portlet chooser. Login and click on the + edit page icon. + Your user must have the permission to edit pages. The user <code>admin</code> + password + <code>admin</code> has permission to edit all pages. + </p> + </subsection> + </section> + </body> +</document> Modified: portals/jetspeed-2/trunk/xdocs/guides/index.xml URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/xdocs/guides/index.xml?rev=425139&r1=425138&r2=425139&view=diff ============================================================================== --- portals/jetspeed-2/trunk/xdocs/guides/index.xml (original) +++ portals/jetspeed-2/trunk/xdocs/guides/index.xml Mon Jul 24 11:14:25 2006 @@ -61,6 +61,8 @@ <li><a href="guide-l10n.html">Guide to localization with Jetspeed-2</a></li> <li><a href="guide-ajax-api.html">Guide to Jetspeed-2 AJAX API</a></li> <li><a href="guide-simple-portlet.html">Guide to a very simple portlet with Jetspeed-2</a></li> + <li><a href="guide-simple-velocity-portlet.html">Guide to a very simple velocity portlet with Jetspeed-2</a></li> + <li><a href="guide-simple-jsf-portlet.html">Guide to a very simple jsf portlet with Jetspeed-2</a></li> <li><a href="guide-portlet-bridges.html">Guide to portlet bridges</a></li> </ul> </subsection> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 18:23:35 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57924 invoked from network); 24 Jul 2006 18:23:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 18:23:35 -0000 Received: (qmail 49080 invoked by uid 500); 24 Jul 2006 18:23:34 -0000 Delivered-To: [email protected] Received: (qmail 48682 invoked by uid 500); 24 Jul 2006 18:23:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 48671 invoked by uid 500); 24 Jul 2006 18:23:33 -0000 Delivered-To: [email protected] Received: (qmail 48668 invoked by uid 99); 24 Jul 2006 18:23:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 11:23:33 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 11:23:33 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E2D207141F0 for <[email protected]>; Mon, 24 Jul 2006 18:21:14 +0000 (GMT) Message-ID: <23441334.1153765274926.JavaMail.jira@brutus> Date: Mon, 24 Jul 2006 11:21:14 -0700 (PDT) From: "David Sean Taylor (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (JS2-545) Simple Velocity Portlet Documentation In-Reply-To: <29345334.1150292609767.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-545?page=all ] David Sean Taylor resolved JS2-545. ----------------------------------- Resolution: Fixed patches applied and tested > Simple Velocity Portlet Documentation > ------------------------------------- > > Key: JS2-545 > URL: http://issues.apache.org/jira/browse/JS2-545 > Project: Jetspeed 2 > Issue Type: Improvement > Components: Site Documentation > Affects Versions: 2.1, 2.1-dev > Environment: All browsers > Reporter: Philip Mark Donaghy > Assigned To: David Sean Taylor > Attachments: guide-simple-velocity-portlet.xml, guide-simple-velocity-portlet.xml, patch.txt, xdocs-guides-index.txt > > > A guide to creating a simple Velocity portlet. Guides one through the creation of the java class, the portlet.xml, the web.xml, the velocity template, building the war with dependencies, deployment, and the portlet chooser. Target audience is new Jetspeed portlet developers. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 18:23:40 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58110 invoked from network); 24 Jul 2006 18:23:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 18:23:40 -0000 Received: (qmail 49574 invoked by uid 500); 24 Jul 2006 18:23:37 -0000 Delivered-To: [email protected] Received: (qmail 49551 invoked by uid 500); 24 Jul 2006 18:23:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 49540 invoked by uid 500); 24 Jul 2006 18:23:37 -0000 Delivered-To: [email protected] Received: (qmail 49529 invoked by uid 99); 24 Jul 2006 18:23:37 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 11:23:37 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 11:23:36 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D4D9A71428E for <[email protected]>; Mon, 24 Jul 2006 18:21:17 +0000 (GMT) Message-ID: <31340692.1153765277869.JavaMail.jira@brutus> Date: Mon, 24 Jul 2006 11:21:17 -0700 (PDT) From: "David Sean Taylor (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (JS2-549) Simple documentation for using the JSF bridge in Jetspeed In-Reply-To: <12843530.1151315309794.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-549?page=all ] David Sean Taylor resolved JS2-549. ----------------------------------- Fix Version/s: 2.1-dev Resolution: Fixed <menu name="JSF Bridge"> <item name="Summary" href="index.html"/> <item name="Guide" href="guide.html"/> </menu> > Simple documentation for using the JSF bridge in Jetspeed > --------------------------------------------------------- > > Key: JS2-549 > URL: http://issues.apache.org/jira/browse/JS2-549 > Project: Jetspeed 2 > Issue Type: Improvement > Components: Site Documentation > Affects Versions: 2.1, 2.1-dev > Environment: Web site > Reporter: Philip Mark Donaghy > Assigned To: David Sean Taylor > Fix For: 2.1-dev > > Attachments: guide-simple-jsf-portlet.xml > > > The JSF bridge itself is pretty simple but the JSF / Portlet / Jetspeed combination represents a steep learning curve. This document guides one through the minimum building blocks required to create a jsf portlet in Jetspeed. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 18:23:40 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58121 invoked from network); 24 Jul 2006 18:23:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 18:23:40 -0000 Received: (qmail 49606 invoked by uid 500); 24 Jul 2006 18:23:37 -0000 Delivered-To: [email protected] Received: (qmail 49126 invoked by uid 500); 24 Jul 2006 18:23:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 49110 invoked by uid 500); 24 Jul 2006 18:23:35 -0000 Delivered-To: [email protected] Received: (qmail 49107 invoked by uid 99); 24 Jul 2006 18:23:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 11:23:35 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 11:23:34 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 6674D714283 for <[email protected]>; Mon, 24 Jul 2006 18:21:16 +0000 (GMT) Message-ID: <25642970.1153765276417.JavaMail.jira@brutus> Date: Mon, 24 Jul 2006 11:21:16 -0700 (PDT) From: "David Sean Taylor (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (JS2-549) Simple documentation for using the JSF bridge in Jetspeed In-Reply-To: <12843530.1151315309794.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-549?page=comments#action_12423112 ] David Sean Taylor commented on JS2-549: --------------------------------------- patches applied and tested > Simple documentation for using the JSF bridge in Jetspeed > --------------------------------------------------------- > > Key: JS2-549 > URL: http://issues.apache.org/jira/browse/JS2-549 > Project: Jetspeed 2 > Issue Type: Improvement > Components: Site Documentation > Affects Versions: 2.1, 2.1-dev > Environment: Web site > Reporter: Philip Mark Donaghy > Assigned To: David Sean Taylor > Fix For: 2.1-dev > > Attachments: guide-simple-jsf-portlet.xml > > > The JSF bridge itself is pretty simple but the JSF / Portlet / Jetspeed combination represents a steep learning curve. This document guides one through the minimum building blocks required to create a jsf portlet in Jetspeed. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 18:43:05 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65737 invoked from network); 24 Jul 2006 18:43:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 18:43:04 -0000 Received: (qmail 95180 invoked by uid 500); 24 Jul 2006 18:43:04 -0000 Delivered-To: [email protected] Received: (qmail 94793 invoked by uid 500); 24 Jul 2006 18:43:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 94782 invoked by uid 99); 24 Jul 2006 18:43:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 11:43:03 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 11:43:02 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id CC2761A981A; Mon, 24 Jul 2006 11:42:42 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r425144 - in /portals/jetspeed-2/trunk/applications/rss: rss-jar/ rss-war/ Date: Mon, 24 Jul 2006 18:42:42 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: taylor Date: Mon Jul 24 11:42:41 2006 New Revision: 425144 URL: http://svn.apache.org/viewvc?rev=425144&view=rev Log: svn:ignore target Modified: portals/jetspeed-2/trunk/applications/rss/rss-jar/ (props changed) portals/jetspeed-2/trunk/applications/rss/rss-war/ (props changed) Propchange: portals/jetspeed-2/trunk/applications/rss/rss-jar/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Mon Jul 24 11:42:41 2006 @@ -0,0 +1 @@ +target Propchange: portals/jetspeed-2/trunk/applications/rss/rss-war/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Mon Jul 24 11:42:41 2006 @@ -0,0 +1 @@ +target --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 19:04:43 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76112 invoked from network); 24 Jul 2006 19:04:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 19:04:42 -0000 Received: (qmail 43099 invoked by uid 500); 24 Jul 2006 19:04:41 -0000 Delivered-To: [email protected] Received: (qmail 43068 invoked by uid 500); 24 Jul 2006 19:04:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 43054 invoked by uid 99); 24 Jul 2006 19:04:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 12:04:41 -0700 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=HTML_10_20,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nf-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 12:04:40 -0700 Received: by nf-out-0910.google.com with SMTP id i2so1450nfe for <[email protected]>; Mon, 24 Jul 2006 12:04:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Ha279sT4MD2THOJYeDS4WZ85tQNr/uxkXoOU3DFuhoS9x23/4+ew3dcGSfydufPHl0ajQqksZJm/UDjfmV2WqsKlHVG8+0DwMTw3B9TNouOaXF9z3xUJukmsSImRMQQI906+aHydwYjGHg7EBByXqkhgC0vWn51kT847HO1Jqhc= Received: by 161.129.204.104 with SMTP id s17mr1860094hue; Mon, 24 Jul 2006 12:04:18 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 24 Jul 2006 12:04:18 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 24 Jul 2006 21:04:18 +0200 From: "Michael Boss" <[email protected]> To: [email protected] Subject: Multiple different config of the same portlet MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_195344_25497501.1153767858811" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_195344_25497501.1153767858811 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi I have developed a Portlet and sucessfully deployed this as its own web app. I know that can be configured differently on instanciation. What I want to do is boot up multiple instances of this portlet (all configured differently) without having to create them as seperate web apps Is this possible? Many thanks Baron ------=_Part_195344_25497501.1153767858811-- From [email protected] Mon Jul 24 19:13:50 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79169 invoked from network); 24 Jul 2006 19:13:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 19:13:50 -0000 Received: (qmail 66829 invoked by uid 500); 24 Jul 2006 19:13:49 -0000 Delivered-To: [email protected] Received: (qmail 66582 invoked by uid 500); 24 Jul 2006 19:13:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 66570 invoked by uid 99); 24 Jul 2006 19:13:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 12:13:47 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 12:13:47 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id C52E21A981A; Mon, 24 Jul 2006 12:13:26 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r425149 - in /portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity: JetspeedPowerTool.java JetspeedPowerToolFactory.java JetspeedPowerToolImpl.java Date: Mon, 24 Jul 2006 19:13:26 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: taylor Date: Mon Jul 24 12:13:25 2006 New Revision: 425149 URL: http://svn.apache.org/viewvc?rev=425149&view=rev Log: http://issues.apache.org/jira/browse/JS2-559 Portlets are usually aggregated from the PSML file. This feature will allow you to place portlets in the decorator templates as well. The trick here is to get user preferences to work with it, since the portlet will not be associated with a page. Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerTool.java portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerToolFactory.java portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerToolImpl.java Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerTool.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerTool.java?rev=425149&r1=425148&r2=425149&view=diff ============================================================================== --- portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerTool.java (original) +++ portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerTool.java Mon Jul 24 12:13:25 2006 @@ -255,4 +255,7 @@ * @param velocityContext */ void setVelocityContext(Context velocityContext); + + + String renderPortletEntity(String entityId, String portletId); } Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerToolFactory.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerToolFactory.java?rev=425149&r1=425148&r2=425149&view=diff ============================================================================== --- portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerToolFactory.java (original) +++ portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerToolFactory.java Mon Jul 24 12:13:25 2006 @@ -19,6 +19,7 @@ import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; +import org.apache.jetspeed.aggregator.PortletRenderer; import org.apache.jetspeed.request.RequestContext; import org.apache.jetspeed.services.title.DynamicTitleService; @@ -32,23 +33,30 @@ private DynamicTitleService titleService; - public JetspeedPowerToolFactory(String jptClassName, DynamicTitleService titleService) + /* Allows us to render portlets and other fragments */ + private PortletRenderer renderer; + + public JetspeedPowerToolFactory(String jptClassName, DynamicTitleService titleService, PortletRenderer renderer) throws ClassNotFoundException, NoSuchMethodException { this.jptClassName = jptClassName; jptClass = Thread.currentThread().getContextClassLoader().loadClass(jptClassName); constructor = jptClass.getConstructor( - new Class[] {RequestContext.class, DynamicTitleService.class}); + new Class[] {RequestContext.class, DynamicTitleService.class, PortletRenderer.class}); this.titleService = titleService; + this.renderer = renderer; } + + + public JetspeedPowerTool getJetspeedPowerTool(RequestContext requestContext) throws PortletException { try { - Object[] initArgs = { requestContext, this.titleService }; + Object [] initArgs = { requestContext, this.titleService, this.renderer }; return (JetspeedPowerTool)constructor.newInstance(initArgs); } catch (Exception e) Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerToolImpl.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerToolImpl.java?rev=425149&r1=425148&r2=425149&view=diff ============================================================================== --- portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerToolImpl.java (original) +++ portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerToolImpl.java Mon Jul 24 12:13:25 2006 @@ -18,6 +18,7 @@ import java.io.PrintWriter; import java.io.Writer; import java.security.Principal; +import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Locale; @@ -37,6 +38,10 @@ import org.apache.commons.logging.LogFactory; import org.apache.jetspeed.Jetspeed; import org.apache.jetspeed.PortalReservedParameters; +import org.apache.jetspeed.aggregator.ContentDispatcher; +import org.apache.jetspeed.aggregator.PortletRenderer; +import org.apache.jetspeed.aggregator.impl.PortletAggregatorFragmentImpl; +import org.apache.jetspeed.aggregator.impl.PortletRendererImpl; import org.apache.jetspeed.capabilities.CapabilityMap; import org.apache.jetspeed.components.portletentity.PortletEntityAccessComponent; import org.apache.jetspeed.components.portletentity.PortletEntityNotGeneratedException; @@ -50,6 +55,8 @@ import org.apache.jetspeed.locator.TemplateLocator; import org.apache.jetspeed.locator.TemplateLocatorException; import org.apache.jetspeed.om.page.ContentFragment; +import org.apache.jetspeed.om.page.ContentFragmentImpl; +import org.apache.jetspeed.om.page.Fragment; import org.apache.jetspeed.om.page.Page; import org.apache.jetspeed.request.RequestContext; import org.apache.jetspeed.services.title.DynamicTitleService; @@ -128,8 +135,10 @@ private DynamicTitleService titleService; private BasePortalURL baseUrlAccess; + + private PortletRenderer renderer; - public JetspeedPowerToolImpl(RequestContext requestContext, DynamicTitleService titleService) throws Exception + public JetspeedPowerToolImpl(RequestContext requestContext, DynamicTitleService titleService,PortletRenderer renderer) throws Exception { HttpServletRequest request = requestContext.getRequest(); this.requestContext = requestContext; @@ -165,6 +174,8 @@ decorationLocatorDescriptor.setMediaType(capabilityMap.getPreferredMediaType().getName()); decorationLocatorDescriptor.setCountry(locale.getCountry()); decorationLocatorDescriptor.setLanguage(locale.getLanguage()); + + this.renderer = renderer; } /** @@ -843,6 +854,22 @@ { velocityContext.put(name, object); } + } + + public String renderPortletEntity(String entityId, String portletId) + { + + RequestContext context = getRequestContext(); + + PortletAggregatorFragmentImpl fragment = new PortletAggregatorFragmentImpl( + entityId); + fragment.setType(Fragment.PORTLET); + fragment.setName(portletId); + ContentFragment contentFragment = new ContentFragmentImpl(fragment, + new HashMap()); + //renderer.renderNow(contentFragment, context); + renderer.render(contentFragment, context); + return contentFragment.getRenderedContent(); } } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 19:14:34 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79323 invoked from network); 24 Jul 2006 19:14:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 19:14:33 -0000 Received: (qmail 67288 invoked by uid 500); 24 Jul 2006 19:14:32 -0000 Delivered-To: [email protected] Received: (qmail 67258 invoked by uid 500); 24 Jul 2006 19:14:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 67247 invoked by uid 99); 24 Jul 2006 19:14:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 12:14:32 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 12:14:31 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 70FFB1A981D; Mon, 24 Jul 2006 12:14:11 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r425150 - /portals/jetspeed-2/trunk/src/webapp/WEB-INF/jetspeed_macros.vm Date: Mon, 24 Jul 2006 19:14:11 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: taylor Date: Mon Jul 24 12:14:10 2006 New Revision: 425150 URL: http://svn.apache.org/viewvc?rev=425150&view=rev Log: example of using portlet in a decorator Modified: portals/jetspeed-2/trunk/src/webapp/WEB-INF/jetspeed_macros.vm Modified: portals/jetspeed-2/trunk/src/webapp/WEB-INF/jetspeed_macros.vm URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/WEB-INF/jetspeed_macros.vm?rev=425150&r1=425149&r2=425150&view=diff ============================================================================== --- portals/jetspeed-2/trunk/src/webapp/WEB-INF/jetspeed_macros.vm (original) +++ portals/jetspeed-2/trunk/src/webapp/WEB-INF/jetspeed_macros.vm Mon Jul 24 12:14:10 2006 @@ -96,15 +96,14 @@ *# #macro (PageActionBar) #set($_actions = $layoutDecoration.actions) - - #if($_actions.size() >0) <div id="portal-page-actions" > - #foreach ($_action in $_actions) - - <a href="${_action.Action}" title="${_action.Name}" class="action pageAction" ><img src="${_action.Link}" alt="${_action.Alt}" border="0" /></a> - #end + $jetspeed.renderPortletEntity("theClock", "j2-adminacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bteTimePortlet") + #if($_actions.size() >0) + #foreach ($_action in $_actions) + <a href="${_action.Action}" title="${_action.Name}" class="action pageAction" ><img src="${_action.Link}" alt="${_action.Alt}" border="0" /></a> + #end + #end </div> - #end #end #macro(PortletActionBar $_decoration) @@ -116,6 +115,7 @@ #end </div> #end + #macro(PagesMenu) #set($_pages = $site.getMenu("pages").elements) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 19:15:09 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79534 invoked from network); 24 Jul 2006 19:15:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 19:15:08 -0000 Received: (qmail 67968 invoked by uid 500); 24 Jul 2006 19:15:07 -0000 Delivered-To: [email protected] Received: (qmail 67934 invoked by uid 500); 24 Jul 2006 19:15:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 67922 invoked by uid 99); 24 Jul 2006 19:15:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 12:15:07 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 12:15:06 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 6FEB01A981A; Mon, 24 Jul 2006 12:14:46 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r425151 - /portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/jetspeed-spring.xml Date: Mon, 24 Jul 2006 19:14:46 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: taylor Date: Mon Jul 24 12:14:45 2006 New Revision: 425151 URL: http://svn.apache.org/viewvc?rev=425151&view=rev Log: JPT factory requires the PortletRenderer during constructor injection Modified: portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/jetspeed-spring.xml Modified: portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/jetspeed-spring.xml URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/jetspeed-spring.xml?rev=425151&r1=425150&r2=425151&view=diff ============================================================================== --- portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/jetspeed-spring.xml (original) +++ portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/jetspeed-spring.xml Mon Jul 24 12:14:45 2006 @@ -51,11 +51,15 @@ </bean> <bean id="Powertools" class="org.apache.jetspeed.velocity.JetspeedPowerToolFactory"> - <constructor-arg> + <constructor-arg index="0"> <value>org.apache.jetspeed.velocity.JetspeedPowerToolImpl</value> </constructor-arg> - <constructor-arg> + <constructor-arg index="1"> <ref bean="DynamicTitleService" /> + </constructor-arg> + <!-- Added so we can render portlets in JPT --> + <constructor-arg index="2"> + <ref bean="org.apache.jetspeed.aggregator.PortletRenderer" /> </constructor-arg> </bean> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 19:15:40 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79800 invoked from network); 24 Jul 2006 19:15:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 19:15:39 -0000 Received: (qmail 69208 invoked by uid 500); 24 Jul 2006 19:15:37 -0000 Delivered-To: [email protected] Received: (qmail 69177 invoked by uid 500); 24 Jul 2006 19:15:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 69166 invoked by uid 99); 24 Jul 2006 19:15:37 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 12:15:37 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 12:15:37 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 294F21A981F; Mon, 24 Jul 2006 12:15:17 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r425152 - in /portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF: portlet.xml view/datetime.jsp Date: Mon, 24 Jul 2006 19:15:16 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: taylor Date: Mon Jul 24 12:15:16 2006 New Revision: 425152 URL: http://svn.apache.org/viewvc?rev=425152&view=rev Log: example of putting a portlet in a decorator Added: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/datetime.jsp Modified: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/portlet.xml Modified: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/portlet.xml URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/portlet.xml?rev=425152&r1=425151&r2=425152&view=diff ============================================================================== --- portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/portlet.xml (original) +++ portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/portlet.xml Mon Jul 24 12:15:16 2006 @@ -1201,6 +1201,26 @@ <short-title>Permissions</short-title> </portlet-info> </portlet> - + + <portlet id="DateTimePortlet"> + <init-param> + <name>ViewPage</name> + <value>/WEB-INF/view/datetime.jsp</value> + </init-param> + <portlet-name>DateTimePortlet</portlet-name> + <display-name>Date Time Portlet</display-name> + <portlet-class>org.apache.portals.bridges.common.GenericServletPortlet</portlet-class> + <expiration-cache>-1</expiration-cache> + <supports> + <mime-type>text/html</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <supported-locale>en</supported-locale> + <portlet-info> + <title>Date Time</title> + <short-title>Time</short-title> + </portlet-info> + </portlet> + </portlet-app> Added: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/datetime.jsp URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/datetime.jsp?rev=425152&view=auto ============================================================================== --- portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/datetime.jsp (added) +++ portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/datetime.jsp Mon Jul 24 12:15:16 2006 @@ -0,0 +1 @@ +<%= new java.util.Date() %> \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 24 19:17:35 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80056 invoked from network); 24 Jul 2006 19:17:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2006 19:17:35 -0000 Received: (qmail 70863 invoked by uid 500); 24 Jul 2006 19:17:34 -0000 Delivered-To: [email protected] Received: (qmail 70473 invoked by uid 500); 24 Jul 2006 19:17:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 70462 invoked by uid 500); 24 Jul 2006 19:17:33 -0000 Delivered-To: [email protected] Received: (qmail 70459 invoked by uid 99); 24 Jul 2006 19:17:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 12:17:33 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 12:17:33 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B69E77141F0 for <[email protected]>; Mon, 24 Jul 2006 19:15:14 +0000 (GMT) Message-ID: <14465060.1153768514745.JavaMail.jira@brutus> Date: Mon, 24 Jul 2006 12:15:14 -0700 (PDT) From: "David Sean Taylor (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (JS2-559) Place portlets in decorators In-Reply-To: <20912766.1153343773917.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-559?page=all ] David Sean Taylor resolved JS2-559. ----------------------------------- Resolution: Fixed implemented. > Place portlets in decorators > ---------------------------- > > Key: JS2-559 > URL: http://issues.apache.org/jira/browse/JS2-559 > Project: Jetspeed 2 > Issue Type: New Feature > Components: Aggregation > Affects Versions: 2.1-dev > Reporter: David Sean Taylor > Assigned To: David Sean Taylor > Priority: Minor > Fix For: 2.1-dev > > > Portlets are usually aggregated from the PSML file. > This feature will allow you to place portlets in the decorator templates as well. > The trick here is to get user preferences to work with it, since the portlet will not be associated with a page. > This feature will be implemented at the same time as JS2-449. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jul 25 12:45:55 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80173 invoked from network); 25 Jul 2006 12:45:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jul 2006 12:45:55 -0000 Received: (qmail 74731 invoked by uid 500); 25 Jul 2006 12:45:53 -0000 Delivered-To: [email protected] Received: (qmail 74709 invoked by uid 500); 25 Jul 2006 12:45:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 74698 invoked by uid 99); 25 Jul 2006 12:45:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jul 2006 05:45:52 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO py-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jul 2006 05:45:52 -0700 Received: by py-out-1112.google.com with SMTP id i49so2290153pyi for <[email protected]>; Tue, 25 Jul 2006 05:45:27 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QTb8IXZ0iXgQ93eBveQ1kp6X0d+Y8Au8y3+fVE/7fuogBKfbiIEaDm+dm8flpIKL/HdSBh3fZpP5vlGPOhRuTm8c0fTvpFXMPDW1vYFcryrTK1qd8Q0cPCx04iSRMno1bdKmpqvbtCUfRp2Y7K80qUVJP4vb9AJBq+VuVuaO6Ow= Received: by 161.129.204.104 with SMTP id a10mr9437884pyn; Tue, 25 Jul 2006 05:45:27 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 25 Jul 2006 05:45:27 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 25 Jul 2006 08:45:27 -0400 From: "Aaron Evans" <[email protected]> To: "Jetspeed Developers List" <[email protected]> Subject: Re: Multiple different config of the same portlet In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N There are a few of ways to accomplish this. Firstly, you can have multiple portlet entries in your portlet.xml that all use the same Portlet Class but have different init-param and/or preference values. Secondly, if all of your portlets config was via preferences, then you could have a single entry in your portlet.xml but do the preference configuration in PSML pages. HTH, aaron On 7/24/06, Michael Boss <[email protected]> wrote: > Hi I have developed a Portlet and sucessfully deployed this as its own web > app. > > I know that can be configured differently on instanciation. What I want to > do is boot up multiple instances of this portlet (all configured > differently) without having to create them as seperate web apps > > Is this possible? > > Many thanks > > Baron > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jul 26 07:05:38 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34113 invoked from network); 26 Jul 2006 07:05:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Jul 2006 07:05:38 -0000 Received: (qmail 57290 invoked by uid 500); 26 Jul 2006 07:05:37 -0000 Delivered-To: [email protected] Received: (qmail 57257 invoked by uid 500); 26 Jul 2006 07:05:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 57246 invoked by uid 500); 26 Jul 2006 07:05:36 -0000 Delivered-To: [email protected] Received: (qmail 57243 invoked by uid 99); 26 Jul 2006 07:05:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jul 2006 00:05:36 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jul 2006 00:05:36 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 1E4CD41000A for <[email protected]>; Wed, 26 Jul 2006 07:03:15 +0000 (GMT) Message-ID: <4308285.1153897395121.JavaMail.jira@brutus> Date: Wed, 26 Jul 2006 00:03:15 -0700 (PDT) From: "Nils-Helge Garli (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (JS2-563) Request attribute "leak" between web applications? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Request attribute "leak" between web applications? -------------------------------------------------- Key: JS2-563 URL: http://issues.apache.org/jira/browse/JS2-563 Project: Jetspeed 2 Issue Type: Bug Components: Container Affects Versions: 2.0-FINAL Reporter: Nils-Helge Garli Two portlets in separate war files, deployed and placed on the same page. Both portlets dispatch to a servlet in the render phase. The second portlet on the pages can "see" the request attributes set by the servlet in the first portlet application. For instance, if the first portlet dispatches to the servlet, and set a request attribute "foo", the servlet in the second portlet application can do a request.getAttribute("foo") and get hold of the same attribute as the first one set. See http://jira.opensymphony.com/browse/WW-1318 for a more detailed description, and portlets to reproduce the problem. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jul 26 19:46:35 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7038 invoked from network); 26 Jul 2006 19:46:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Jul 2006 19:46:35 -0000 Received: (qmail 41881 invoked by uid 500); 26 Jul 2006 19:46:34 -0000 Delivered-To: [email protected] Received: (qmail 41542 invoked by uid 500); 26 Jul 2006 19:46:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 41531 invoked by uid 99); 26 Jul 2006 19:46:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jul 2006 12:46:33 -0700 X-ASF-Spam-Status: No, hits=-8.6 required=10.0 tests=ALL_TRUSTED,INFO_TLD,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jul 2006 12:46:32 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 6F23D1A981A; Wed, 26 Jul 2006 12:46:12 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r425816 - in /portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout: ajax-xml/psml.vm impl/Constants.java impl/GetPageAction.java Date: Wed, 26 Jul 2006 19:46:11 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: taylor Date: Wed Jul 26 12:46:11 2006 New Revision: 425816 URL: http://svn.apache.org/viewvc?rev=425816&view=rev Log: To support client-side aggregation in desktop, the "sizes" property for a layout fragment will be retrieved from the layout-portlet init-parameters when it is not explicitly specified is the psml. This means that layout fragments in the GetPageAction psml response will contain a "sizes" property regardless of whether it is defined in the actual psml. from Steve Milek Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/ajax-xml/psml.vm portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/impl/Constants.java portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/impl/GetPageAction.java Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/ajax-xml/psml.vm URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/ajax-xml/psml.vm?rev=425816&r1=425815&r2=425816&view=diff ============================================================================== --- portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/ajax-xml/psml.vm (original) +++ portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/ajax-xml/psml.vm Wed Jul 26 12:46:11 2006 @@ -1,8 +1,15 @@ #macro (traverseFragments $f) <fragment id="$f.Id" type="$f.Type" name="$f.Name" decorator="$!f.Decorator"> + #set($hasSizesProperty=false) #foreach ($prop in $f.getProperties().entrySet()) <property name="$prop.Key" value="$prop.Value" /> + #if($prop.Key == "sizes") + #set($hasSizesProperty=true) + #end #end + #if($f.Type == "layout" && ! $hasSizesProperty && $sizes.get($f.Id)) + <property name="sizes" value="$sizes.get($f.Id)" /> + #end #foreach ($pref in $f.Preferences) <preference name="$pref.Name" readOnly='$pref.isReadOnly()'> #foreach ($value in $pref.ValueList) Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/impl/Constants.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/impl/Constants.java?rev=425816&r1=425815&r2=425816&view=diff ============================================================================== --- portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/impl/Constants.java (original) +++ portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/impl/Constants.java Wed Jul 26 12:46:11 2006 @@ -55,6 +55,7 @@ public static final String PAGES = "pages"; public static final String PAGE = "page"; public static final String FOLDER = "folder"; + public static final String SIZES = "sizes"; public static final String STANDARD_MENUS = "standardMenus"; public static final String CUSTOM_MENUS = "customMenus"; Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/impl/GetPageAction.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/impl/GetPageAction.java?rev=425816&r1=425815&r2=425816&view=diff ============================================================================== --- portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/impl/GetPageAction.java (original) +++ portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/impl/GetPageAction.java Wed Jul 26 12:46:11 2006 @@ -16,16 +16,24 @@ package org.apache.jetspeed.layout.impl; import java.util.Map; +import java.util.HashMap; +import java.util.List; +import java.util.Iterator; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.jetspeed.JetspeedActions; import org.apache.jetspeed.ajax.AjaxAction; import org.apache.jetspeed.ajax.AjaxBuilder; +import org.apache.jetspeed.components.portletregistry.PortletRegistry; import org.apache.jetspeed.layout.PortletActionSecurityBehavior; import org.apache.jetspeed.om.page.Page; +import org.apache.jetspeed.om.page.Fragment; import org.apache.jetspeed.page.PageManager; import org.apache.jetspeed.request.RequestContext; +import org.apache.pluto.om.portlet.PortletDefinition; +import org.apache.pluto.om.common.ParameterSet; +import org.apache.pluto.om.common.Parameter; /** * Get Page retrieves a page from the Page Manager store and PSML format @@ -42,12 +50,16 @@ { protected Log log = LogFactory.getLog(GetPageAction.class); + private PortletRegistry registry; + public GetPageAction(String template, String errorTemplate, PageManager pageManager, - PortletActionSecurityBehavior securityBehavior) + PortletActionSecurityBehavior securityBehavior, + PortletRegistry registry) { super(template, errorTemplate, pageManager, securityBehavior); + this.registry = registry; } public boolean run(RequestContext requestContext, Map resultMap) @@ -67,6 +79,9 @@ Page page = requestContext.getPage(); resultMap.put(STATUS, status); resultMap.put(PAGE, page); + Map fragSizes = new HashMap(); + retrieveLayoutFragmentSizes( page.getRootFragment(), fragSizes ); + resultMap.put( SIZES, fragSizes ); } catch (Exception e) { @@ -80,5 +95,67 @@ return success; } - + protected void retrieveLayoutFragmentSizes( Fragment frag, Map fragSizes ) + { + if ( frag != null && "layout".equals( frag.getType() ) ) + { + String sizesVal = frag.getProperty( "sizes" ); + if ( sizesVal == null || sizesVal.length() == 0 ) + { + String layoutName = frag.getName(); + if ( layoutName != null && layoutName.length() > 0 ) + { + // logic below is copied from org.apache.jetspeed.portlets.MultiColumnPortlet + PortletDefinition portletDef = registry.getPortletDefinitionByUniqueName(frag.getName()); + ParameterSet paramSet = portletDef.getInitParameterSet(); + Parameter sizesParam = paramSet.get( "sizes" ); + String sizesParamVal = ( sizesParam == null ) ? null : sizesParam.getValue(); + if ( sizesParamVal != null && sizesParamVal.length() > 0 ) + { + fragSizes.put( frag.getId(), sizesParamVal ); + //log.info( "GetPageAction settings sizes for " + frag.getId() + " to " + sizesParamVal); + } + else + { + Parameter colsParam = paramSet.get( "columns" ); + String colsParamVal = ( colsParam == null ) ? null : colsParam.getValue(); + if ( colsParamVal != null && colsParamVal.length() > 0 ) + { + int cols = 0; + try + { + cols = Integer.parseInt( colsParamVal ); + } + catch ( NumberFormatException ex ) + { + } + if ( cols < 1 ) + { + cols = 2; + } + switch (cols) + { + case 1: sizesParamVal = "100%"; break; + case 2: sizesParamVal = "50%,50%"; break; + case 3: sizesParamVal = "34%,33%,33%"; break; + default: sizesParamVal = "50%,50%"; break; + } + fragSizes.put( frag.getId(), sizesParamVal ); + //log.info( "GetPageAction defaulting sizes for " + frag.getId() + " to " + sizesParamVal); + } + } + } + } + List childFragments = frag.getFragments(); + if ( childFragments != null ) + { + Iterator childFragIter = childFragments.iterator(); + while ( childFragIter.hasNext() ) + { + Fragment childFrag = (Fragment)childFragIter.next(); + retrieveLayoutFragmentSizes( childFrag, fragSizes ); + } + } + } + } } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jul 26 19:47:03 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7199 invoked from network); 26 Jul 2006 19:47:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Jul 2006 19:47:03 -0000 Received: (qmail 42477 invoked by uid 500); 26 Jul 2006 19:47:02 -0000 Delivered-To: [email protected] Received: (qmail 42080 invoked by uid 500); 26 Jul 2006 19:47:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 42068 invoked by uid 99); 26 Jul 2006 19:47:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jul 2006 12:47:01 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jul 2006 12:47:00 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id D2EDA1A981A; Wed, 26 Jul 2006 12:46:40 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r425817 - /portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/ajax-layout.xml Date: Wed, 26 Jul 2006 19:46:40 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: taylor Date: Wed Jul 26 12:46:40 2006 New Revision: 425817 URL: http://svn.apache.org/viewvc?rev=425817&view=rev Log: To support client-side aggregation in desktop, the "sizes" property for a layout fragment will be retrieved from the layout-portlet init-parameters when it is not explicitly specified is the psml. This means that layout fragments in the GetPageAction psml response will contain a "sizes" property regardless of whether it is defined in the actual psml. from Steve Milek Modified: portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/ajax-layout.xml Modified: portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/ajax-layout.xml URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/ajax-layout.xml?rev=425817&r1=425816&r2=425817&view=diff ============================================================================== --- portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/ajax-layout.xml (original) +++ portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/ajax-layout.xml Wed Jul 26 12:46:40 2006 @@ -217,7 +217,10 @@ </constructor-arg> <constructor-arg index='3'> <ref bean="PortletActionSecurityBehavior"/> - </constructor-arg> + </constructor-arg> + <constructor-arg index='4'> + <ref bean="org.apache.jetspeed.components.portletregistry.PortletRegistry"/> + </constructor-arg> </bean> <bean id="AjaxGetPages" --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Jul 27 07:46:20 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83959 invoked from network); 27 Jul 2006 07:46:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jul 2006 07:46:19 -0000 Received: (qmail 99468 invoked by uid 500); 27 Jul 2006 07:46:18 -0000 Delivered-To: [email protected] Received: (qmail 99432 invoked by uid 500); 27 Jul 2006 07:46:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 99421 invoked by uid 99); 27 Jul 2006 07:46:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jul 2006 00:46:17 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy includes SPF [email protected]) Received: from [161.129.204.104] (HELO web25802.mail.ukl.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 27 Jul 2006 00:46:16 -0700 Received: (qmail 99289 invoked by uid 60001); 27 Jul 2006 07:45:55 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.es; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=uOYQAoeBU2LfiHVZgTqQHFOpv20GFPV+ACiyGPRFlB1i1i+qKhZSkABdDHOfou+tmqAdOeAmEmC1UxZBDPq4bYDGnxaTFTBhdadSOfdVn+e8RULT1Lwqx/pt9jLA0Yf+cy+YWzlKpjIyObLxv3x9GlEhnTFrsNtyGArnNwegJTg= ; Message-ID: <[email protected]> Received: from [161.129.204.104] by web25802.mail.ukl.yahoo.com via HTTP; Thu, 27 Jul 2006 09:45:55 CEST Date: Thu, 27 Jul 2006 09:45:55 +0200 (CEST) From: Ernesto Mansilla <[email protected]> Subject: Documentation in Spanish To: [email protected] MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-640379520-1153986355=:97550" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --0-640379520-1153986355=:97550 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit I need documentation in Spanish, i like to find information by means of tutorial or links me to pages Web. Thanks in advance. --------------------------------- LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com --0-640379520-1153986355=:97550-- From [email protected] Thu Jul 27 16:48:57 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64973 invoked from network); 27 Jul 2006 16:48:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jul 2006 16:48:57 -0000 Received: (qmail 88328 invoked by uid 500); 27 Jul 2006 16:48:55 -0000 Delivered-To: [email protected] Received: (qmail 88153 invoked by uid 500); 27 Jul 2006 16:48:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 88142 invoked by uid 99); 27 Jul 2006 16:48:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jul 2006 09:48:55 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nf-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jul 2006 09:48:54 -0700 Received: by nf-out-0910.google.com with SMTP id i2so245238nfe for <[email protected]>; Thu, 27 Jul 2006 09:48:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Ei0mzR/i9gQOLG5MNTtvJXZkGCG4/tNnzvif01SASp5f/b15JN1/k9MIm89crCCAR0Vp+EAvPxgYH0ACHd1NOwb/d7TVBMsvcmp3sh+RQh1t+rqvJ69nZOeXqjACB0khr+0jUqI4m64KBic8vUSP5iTugFwbRX//Scv6z0Jru54= Received: by 161.129.204.104 with SMTP id n16mr4291297hue; Thu, 27 Jul 2006 09:48:32 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 27 Jul 2006 09:48:31 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 27 Jul 2006 18:48:31 +0200 From: "Michael Boss" <[email protected]> To: "Jetspeed Developers List" <[email protected]> Subject: Re: Multiple different config of the same portlet In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_22919_29715047.1154018911918" References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_22919_29715047.1154018911918 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: base64 Content-Disposition: inline SW4gaGF2ZSBhIHBvcnRsZXQgbGlrZSBJRlJBTUUtcG9ydGxldC4gUG9ydGFsLUFkbWluaXN0cmF0 b3IgY3JlYXRlcyBpdAphbmQgY29uZmlndXJlcwplYWNoIGluc3RhbmNlIG9mIHBvcnRsZXQsIGku ZS4gYSBxdWFudGl0eSBvZCBpbnN0YW5jZXMgb2YgdGhlIHNhbWUgUG9ydGxldApjYW4gYmUgaW5m aW5pdGUuIEkgd2FudCB0byBzZXQgdGhlIHByZWZlcmVuY2VzIGZvciBlYWNoIGluc3RhbmNlIHRo cm91Z2gKc29tZSBhZG1pbmlzdHJhdGl2ZSBpbnRlcmZhY2UuIEkgZG9uJ3Qgd2FudCB1c2VycyB0 byBiZSBhYmxlIHRvIGNoYW5nZSB0aGUKcHJlZmVyZW5jZXMuIEFuZCB0aGUgdXNlciBoYXMgYW4g b3Bwb3J0dW5pdHkgdGhlc2UgaW5zdGFuY2VzIHRvIHVzZS4KCklmIEkgYW0gbm90IG1pc3Rha2Vu LCB0aGUgZmlyc3Qgd2F5IChtdWx0aXBsZSBwb3J0bGV0IGVudHJpZXMgaW4gcG9ydGxldC54bWwp Cml0IHRvIG1ha2UgaXQgd2lsbCBub3QgdHVybiBvdXQuIEFuZCB0aGUgc2Vjb25kIEkgbm90IGFi c29sdXRlbHkga25vdyBhcy4K8291bGQgeW91IG1lIGhlbHAgYW5kIGdpdmUgbWUgcGFpciBleGFt cGxlcz8KCk1hbnkgdGhhbmtzCgoyMDA2LzcvMjUsIEFhcm9uIEV2YW5zIDwgYWFyb25tZXZhbnNA Z21haWwuY29tPjoKPgo+IFRoZXJlIGFyZSBhIGZldyBvZiB3YXlzIHRvIGFjY29tcGxpc2ggdGhp cy4KPgo+IEZpcnN0bHksIHlvdSBjYW4gaGF2ZSBtdWx0aXBsZSBwb3J0bGV0IGVudHJpZXMgaW4g eW91ciBwb3J0bGV0LnhtbAo+IHRoYXQgYWxsIHVzZSB0aGUgc2FtZSBQb3J0bGV0IENsYXNzIGJ1 dCBoYXZlIGRpZmZlcmVudCBpbml0LXBhcmFtCj4gYW5kL29yIHByZWZlcmVuY2UgdmFsdWVzLgo+ Cj4gU2Vjb25kbHksIGlmIGFsbCBvZiB5b3VyIHBvcnRsZXRzIGNvbmZpZyB3YXMgdmlhIHByZWZl cmVuY2VzLCB0aGVuIHlvdQo+IGNvdWxkIGhhdmUgYSBzaW5nbGUgZW50cnkgaW4geW91ciBwb3J0 bGV0LnhtbCBidXQgZG8gdGhlIHByZWZlcmVuY2UKPiBjb25maWd1cmF0aW9uIGluIFBTTUwgcGFn ZXMuCj4KPiBIVEgsCj4gYWFyb24KPgo+IE9uIDcvMjQvMDYsIE1pY2hhZWwgQm9zcyA8YmFyb24u bXVlbmhhdXNlbkBnb29nbGVtYWlsLmNvbT4gd3JvdGU6Cj4gPiBIaSBJIGhhdmUgZGV2ZWxvcGVk IGEgUG9ydGxldCBhbmQgc3VjZXNzZnVsbHkgZGVwbG95ZWQgdGhpcyBhcyBpdHMgb3duCj4gd2Vi Cj4gPiBhcHAuCj4gPgo+ID4gSSBrbm93IHRoYXQgY2FuIGJlIGNvbmZpZ3VyZWQgZGlmZmVyZW50 bHkgb24gaW5zdGFuY2lhdGlvbi4gV2hhdCBJIHdhbnQKPiB0bwo+ID4gZG8gaXMgYm9vdCB1cCBt dWx0aXBsZSBpbnN0YW5jZXMgb2YgdGhpcyBwb3J0bGV0IChhbGwgY29uZmlndXJlZAo+ID4gZGlm ZmVyZW50bHkpIHdpdGhvdXQgaGF2aW5nIHRvIGNyZWF0ZSB0aGVtIGFzIHNlcGVyYXRlIHdlYiBh cHBzCj4gPgo+ID4gSXMgdGhpcyBwb3NzaWJsZT8KPiA+Cj4gPiBNYW55IHRoYW5rcwo+ID4KPiA+ IEJhcm9uCj4gPgo+ID4KPgo+IC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQo+IFRvIHVuc3Vic2NyaWJlLCBlLW1haWw6 IGpldHNwZWVkLWRldi11bnN1YnNjcmliZUBwb3J0YWxzLmFwYWNoZS5vcmcKPiBGb3IgYWRkaXRp b25hbCBjb21tYW5kcywgZS1tYWlsOiBqZXRzcGVlZC1kZXYtaGVscEBwb3J0YWxzLmFwYWNoZS5v cmcKPgo+Cg== ------=_Part_22919_29715047.1154018911918-- From [email protected] Thu Jul 27 18:08:33 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93207 invoked from network); 27 Jul 2006 18:08:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jul 2006 18:08:32 -0000 Received: (qmail 70451 invoked by uid 500); 27 Jul 2006 18:08:31 -0000 Delivered-To: [email protected] Received: (qmail 70393 invoked by uid 500); 27 Jul 2006 18:08:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 70380 invoked by uid 99); 27 Jul 2006 18:08:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jul 2006 11:08:30 -0700 X-ASF-Spam-Status: No, hits=-8.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_75_100 X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jul 2006 11:08:29 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id B20861A981A; Thu, 27 Jul 2006 11:08:09 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r426175 - /portals/jetspeed-1/trunk/src/sql/external/turbine-db2.sql Date: Thu, 27 Jul 2006 18:08:09 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: taylor Date: Thu Jul 27 11:08:08 2006 New Revision: 426175 URL: http://svn.apache.org/viewvc?rev=426175&view=rev Log: tweaking db2 ddl testing against DB2 AS/400 with JTOpen JS4000 driver Modified: portals/jetspeed-1/trunk/src/sql/external/turbine-db2.sql Modified: portals/jetspeed-1/trunk/src/sql/external/turbine-db2.sql URL: http://svn.apache.org/viewvc/portals/jetspeed-1/trunk/src/sql/external/turbine-db2.sql?rev=426175&r1=426174&r2=426175&view=diff ============================================================================== --- portals/jetspeed-1/trunk/src/sql/external/turbine-db2.sql (original) +++ portals/jetspeed-1/trunk/src/sql/external/turbine-db2.sql Thu Jul 27 11:08:08 2006 @@ -21,19 +21,19 @@ CREATE TABLE TURBINE_USER ( - USER_ID INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY, - LOGIN_NAME VARCHAR (32) NOT NULL, - PASSWORD_VALUE VARCHAR (32) NOT NULL, - FIRST_NAME VARCHAR (99) NOT NULL, - LAST_NAME VARCHAR (99) NOT NULL, - EMAIL VARCHAR (99), - CONFIRM_VALUE VARCHAR (99), - MODIFIED TIMESTAMP, - CREATED TIMESTAMP, - LAST_LOGIN TIMESTAMP, - DISABLED VARCHAR (1), - OBJECTDATA CHAR(1) FOR BIT DATA CHAR(n) FOR BIT DATA, - PASSWORD_CHANGED TIMESTAMP, + USER_ID INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY, + LOGIN_NAME VARCHAR (32) NOT NULL, + PASSWORD_VALUE VARCHAR (32) NOT NULL, + FIRST_NAME VARCHAR (99) NOT NULL, + LAST_NAME VARCHAR (99) NOT NULL, + EMAIL VARCHAR (99), + CONFIRM_VALUE VARCHAR (99), + MODIFIED TIMESTAMP, + CREATED TIMESTAMP, + LAST_LOGIN TIMESTAMP, + DISABLED VARCHAR (1), + OBJECTDATA BLOB, + PASSWORD_CHANGED TIMESTAMP, UNIQUE (LOGIN_NAME) ); @@ -41,8 +41,6 @@ ADD PRIMARY KEY (USER_ID); - - ----------------------------------------------------------------------------- -- TURBINE_ROLE ----------------------------------------------------------------------------- @@ -50,9 +48,9 @@ CREATE TABLE TURBINE_ROLE ( - ROLE_ID INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY, - ROLE_NAME VARCHAR (99) NOT NULL, - OBJECTDATA CHAR(99) FOR BIT DATA CHAR(n) FOR BIT DATA, + ROLE_ID INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY, + ROLE_NAME VARCHAR (99) NOT NULL, + OBJECTDATA BLOB, UNIQUE (ROLE_NAME) ); @@ -69,10 +67,10 @@ CREATE TABLE TURBINE_GROUP ( - GROUP_ID INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY, - GROUP_NAME VARCHAR (99) NOT NULL, - OBJECTDATA CHAR(99) FOR BIT DATA CHAR(n) FOR BIT DATA, - UNIQUE (GROUP_NAME) + GROUP_ID INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY, + GROUP_NAME VARCHAR (99) NOT NULL, + OBJECTDATA BLOB, + UNIQUE (GROUP_NAME) ); ALTER TABLE TURBINE_GROUP @@ -88,9 +86,9 @@ CREATE TABLE TURBINE_PERMISSION ( - PERMISSION_ID INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY, - PERMISSION_NAME VARCHAR (99) NOT NULL, - OBJECTDATA CHAR(99) FOR BIT DATA CHAR(n) FOR BIT DATA, + PERMISSION_ID INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY, + PERMISSION_NAME VARCHAR (99) NOT NULL, + OBJECTDATA BLOB, UNIQUE (PERMISSION_NAME) ); @@ -107,8 +105,8 @@ CREATE TABLE TURBINE_ROLE_PERMISSION ( - ROLE_ID INTEGER NOT NULL, - PERMISSION_ID INTEGER NOT NULL + ROLE_ID INTEGER NOT NULL, + PERMISSION_ID INTEGER NOT NULL ); ALTER TABLE TURBINE_ROLE_PERMISSION @@ -132,9 +130,9 @@ CREATE TABLE TURBINE_USER_GROUP_ROLE ( - USER_ID INTEGER NOT NULL, - GROUP_ID INTEGER NOT NULL, - ROLE_ID INTEGER NOT NULL + USER_ID INTEGER NOT NULL, + GROUP_ID INTEGER NOT NULL, + ROLE_ID INTEGER NOT NULL ); ALTER TABLE TURBINE_USER_GROUP_ROLE @@ -160,22 +158,19 @@ CREATE TABLE JETSPEED_USER_PROFILE ( - PSML_ID INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY, - USER_NAME VARCHAR (32) NOT NULL, - MEDIA_TYPE VARCHAR (99), - LANGUAGE VARCHAR (2), - COUNTRY VARCHAR (2), - PAGE VARCHAR (99), - PROFILE CHAR(99) FOR BIT DATA CHAR(n) FOR BIT DATA, + PSML_ID INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY, + USER_NAME VARCHAR (32) NOT NULL, + MEDIA_TYPE VARCHAR (99), + LANGUAGE VARCHAR (2), + COUNTRY VARCHAR (2), + PAGE VARCHAR (99), + PROFILE BLOB, UNIQUE (USER_NAME, MEDIA_TYPE, LANGUAGE, COUNTRY, PAGE) ); ALTER TABLE JETSPEED_USER_PROFILE ADD PRIMARY KEY (PSML_ID); - - - ----------------------------------------------------------------------------- -- JETSPEED_GROUP_PROFILE ----------------------------------------------------------------------------- @@ -183,22 +178,19 @@ CREATE TABLE JETSPEED_GROUP_PROFILE ( - PSML_ID INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY, - GROUP_NAME VARCHAR (99) NOT NULL, - MEDIA_TYPE VARCHAR (99), - LANGUAGE VARCHAR (2), - COUNTRY VARCHAR (2), - PAGE VARCHAR (99), - PROFILE CHAR(99) FOR BIT DATA CHAR(n) FOR BIT DATA, + PSML_ID INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY, + GROUP_NAME VARCHAR (99) NOT NULL, + MEDIA_TYPE VARCHAR (99), + LANGUAGE VARCHAR (2), + COUNTRY VARCHAR (2), + PAGE VARCHAR (99), + PROFILE BLOB, UNIQUE (GROUP_NAME, MEDIA_TYPE, LANGUAGE, COUNTRY, PAGE) ); ALTER TABLE JETSPEED_GROUP_PROFILE ADD PRIMARY KEY (PSML_ID); - - - ----------------------------------------------------------------------------- -- JETSPEED_ROLE_PROFILE ----------------------------------------------------------------------------- @@ -206,13 +198,13 @@ CREATE TABLE JETSPEED_ROLE_PROFILE ( - PSML_ID INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY, - ROLE_NAME VARCHAR (99) NOT NULL, - MEDIA_TYPE VARCHAR (99), - LANGUAGE VARCHAR (2), - COUNTRY VARCHAR (2), - PAGE VARCHAR (99), - PROFILE CHAR(99) FOR BIT DATA CHAR(n) FOR BIT DATA, + PSML_ID INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY, + ROLE_NAME VARCHAR (99) NOT NULL, + MEDIA_TYPE VARCHAR (99), + LANGUAGE VARCHAR (2), + COUNTRY VARCHAR (2), + PAGE VARCHAR (99), + PROFILE BLOB, UNIQUE (ROLE_NAME, MEDIA_TYPE, LANGUAGE, COUNTRY, PAGE) ); @@ -227,12 +219,12 @@ CREATE TABLE COFFEES ( - COFFEE_ID INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY, - COFFEE_NAME VARCHAR (50), - SUPPLIER_ID INTEGER, - PRICE FLOAT, - SALES INTEGER, - TOTAL INTEGER + COFFEE_ID INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY, + COFFEE_NAME VARCHAR (50), + SUPPLIER_ID INTEGER, + PRICE FLOAT, + SALES INTEGER, + TOTAL INTEGER ); ALTER TABLE COFFEES @@ -247,11 +239,11 @@ drop table EMAIL_INBOX; CREATE TABLE EMAIL_INBOX ( - EMAIL_INBOX_ID INTEGER(11) NOT NULL AUTO_INCREMENT, + EMAIL_INBOX_ID INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY, MESSAGE_ID VARCHAR(255), FILENAME VARCHAR(255), ATTACHMENT BLOB, - READFLAG INTEGER(11) + READFLAG INTEGER ); ALTER TABLE EMAIL_INBOX --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Jul 27 19:32:42 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23936 invoked from network); 27 Jul 2006 19:32:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jul 2006 19:32:41 -0000 Received: (qmail 21536 invoked by uid 500); 27 Jul 2006 19:32:40 -0000 Delivered-To: [email protected] Received: (qmail 21300 invoked by uid 500); 27 Jul 2006 19:32:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 21289 invoked by uid 99); 27 Jul 2006 19:32:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jul 2006 12:32:39 -0700 X-ASF-Spam-Status: No, hits=-8.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_75_100 X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jul 2006 12:32:38 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 33BD61A981D; Thu, 27 Jul 2006 12:32:18 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r426208 - /portals/jetspeed-1/trunk/src/sql/external/populate-db2.sql Date: Thu, 27 Jul 2006 19:32:17 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: taylor Date: Thu Jul 27 12:32:17 2006 New Revision: 426208 URL: http://svn.apache.org/viewvc?rev=426208&view=rev Log: tweaking db2 dml testing against DB2 AS/400 with JTOpen JS4000 driver Modified: portals/jetspeed-1/trunk/src/sql/external/populate-db2.sql Modified: portals/jetspeed-1/trunk/src/sql/external/populate-db2.sql URL: http://svn.apache.org/viewvc/portals/jetspeed-1/trunk/src/sql/external/populate-db2.sql?rev=426208&r1=426207&r2=426208&view=diff ============================================================================== --- portals/jetspeed-1/trunk/src/sql/external/populate-db2.sql (original) +++ portals/jetspeed-1/trunk/src/sql/external/populate-db2.sql Thu Jul 27 12:32:17 2006 @@ -1,47 +1,47 @@ -INSERT INTO TURBINE_PERMISSION VALUES(1,'view',NULL); -INSERT INTO TURBINE_PERMISSION VALUES(2,'customize',NULL); -INSERT INTO TURBINE_PERMISSION VALUES(3,'maximize',NULL); -INSERT INTO TURBINE_PERMISSION VALUES(4,'minimize',NULL); -INSERT INTO TURBINE_PERMISSION VALUES(5,'personalize',NULL); -INSERT INTO TURBINE_PERMISSION VALUES(6,'info',NULL); -INSERT INTO TURBINE_PERMISSION VALUES(7,'close',NULL); -INSERT INTO TURBINE_PERMISSION VALUES(8,'detach',NULL); -INSERT INTO TURBINE_ROLE VALUES(1,'user',NULL); -INSERT INTO TURBINE_ROLE VALUES(2,'admin',NULL); -INSERT INTO TURBINE_ROLE VALUES(3,'guest',NULL); -INSERT INTO TURBINE_GROUP VALUES(1,'Jetspeed',NULL); -INSERT INTO TURBINE_GROUP VALUES(2,'apache',NULL); -INSERT INTO TURBINE_USER VALUES(1,'admin','jetspeed','Jetspeed','Admin','[email protected]','CONFIRMED',NULL,NULL,'2002-10-15 18:45:41.671','F',NULL, NULL); -INSERT INTO TURBINE_USER VALUES(2,'turbine','turbine','Tommy','Turbine','[email protected]','CONFIRMED',NULL,NULL,'2002-10-15 18:45:41.671','F',NULL, NULL); -INSERT INTO TURBINE_USER VALUES(3,'anon','anon','Anonymous','User','[email protected]','CONFIRMED',NULL,NULL,'2002-10-15 18:45:41.671','F',NULL, NULL); -INSERT INTO TURBINE_ROLE_PERMISSION VALUES(1,1); -INSERT INTO TURBINE_ROLE_PERMISSION VALUES(1,2); -INSERT INTO TURBINE_ROLE_PERMISSION VALUES(1,3); -INSERT INTO TURBINE_ROLE_PERMISSION VALUES(1,4); -INSERT INTO TURBINE_ROLE_PERMISSION VALUES(1,5); -INSERT INTO TURBINE_ROLE_PERMISSION VALUES(1,6); -INSERT INTO TURBINE_ROLE_PERMISSION VALUES(2,1); -INSERT INTO TURBINE_ROLE_PERMISSION VALUES(2,2); -INSERT INTO TURBINE_ROLE_PERMISSION VALUES(2,3); -INSERT INTO TURBINE_ROLE_PERMISSION VALUES(2,4); -INSERT INTO TURBINE_ROLE_PERMISSION VALUES(2,5); -INSERT INTO TURBINE_ROLE_PERMISSION VALUES(2,6); -INSERT INTO TURBINE_ROLE_PERMISSION VALUES(2,7); -INSERT INTO TURBINE_ROLE_PERMISSION VALUES(3,1); -INSERT INTO TURBINE_ROLE_PERMISSION VALUES(3,6); -INSERT INTO TURBINE_USER_GROUP_ROLE VALUES(2,1,1); -INSERT INTO TURBINE_USER_GROUP_ROLE VALUES(1,1,1); -INSERT INTO TURBINE_USER_GROUP_ROLE VALUES(1,1,2); -INSERT INTO TURBINE_USER_GROUP_ROLE VALUES(3,1,3); -INSERT INTO COFFEES VALUES(1,'ColombianGrade',5,7.99,1,2); -INSERT INTO COFFEES VALUES(2,'KonaGrade',6,7.99,1,2); -INSERT INTO COFFEES VALUES(3,'FrenchRoastGrade',7,7.99,1,2); -INSERT INTO COFFEES VALUES(4,'HazelNutGrade',8,7.99,1,2); -INSERT INTO COFFEES VALUES(5,'VanillaGrade',9,7.99,1,2); -INSERT INTO COFFEES VALUES(6,'JavaGrade',10,7.99,1,2); -INSERT INTO COFFEES VALUES(7,'IndonesianGrade',11,7.99,1,2); -INSERT INTO COFFEES VALUES(8,'OotyGrade',1,7.99,1,2); -INSERT INTO COFFEES VALUES(9,'KenyanGrade',2,7.99,1,2); -INSERT INTO COFFEES VALUES(10,'JoeGrade',3,7.99,1,2); -INSERT INTO COFFEES VALUES(11,'CantThinkOfAnymoreGrade',4,7.99,1,2); +INSERT INTO TURBINE_PERMISSION VALUES(DEFAULT,'view',NULL); +INSERT INTO TURBINE_PERMISSION VALUES(DEFAULT,'customize',NULL); +INSERT INTO TURBINE_PERMISSION VALUES(DEFAULT,'maximize',NULL); +INSERT INTO TURBINE_PERMISSION VALUES(DEFAULT,'minimize',NULL); +INSERT INTO TURBINE_PERMISSION VALUES(DEFAULT,'personalize',NULL); +INSERT INTO TURBINE_PERMISSION VALUES(DEFAULT,'info',NULL); +INSERT INTO TURBINE_PERMISSION VALUES(DEFAULT,'close',NULL); +INSERT INTO TURBINE_PERMISSION VALUES(DEFAULT,'detach',NULL); +INSERT INTO TURBINE_ROLE VALUES(DEFAULT,'user',NULL); +INSERT INTO TURBINE_ROLE VALUES(DEFAULT,'admin',NULL); +INSERT INTO TURBINE_ROLE VALUES(DEFAULT,'guest',NULL); +INSERT INTO TURBINE_GROUP VALUES(DEFAULT,'Jetspeed',NULL); +INSERT INTO TURBINE_GROUP VALUES(DEFAULT,'apache',NULL); +INSERT INTO TURBINE_USER VALUES(DEFAULT,'admin','jetspeed','Jetspeed','Admin','[email protected]','CONFIRMED',NULL,NULL,'2002-10-15 18:45:41.671','F',NULL, NULL); +INSERT INTO TURBINE_USER VALUES(DEFAULT,'turbine','turbine','Tommy','Turbine','[email protected]','CONFIRMED',NULL,NULL,'2002-10-15 18:45:41.671','F',NULL, NULL); +INSERT INTO TURBINE_USER VALUES(DEFAULT,'anon','anon','Anonymous','User','[email protected]','CONFIRMED',NULL,NULL,'2002-10-15 18:45:41.671','F',NULL, NULL); +INSERT INTO TURBINE_ROLE_PERMISSION VALUES((SELECT ROLE_ID FROM TURBINE_ROLE WHERE ROLE_NAME = 'user'),(SELECT PERMISSION_ID FROM TURBINE_PERMISSION WHERE PERMISSION_NAME = 'view')); +INSERT INTO TURBINE_ROLE_PERMISSION VALUES((SELECT ROLE_ID FROM TURBINE_ROLE WHERE ROLE_NAME = 'user'),(SELECT PERMISSION_ID FROM TURBINE_PERMISSION WHERE PERMISSION_NAME = 'customize')); +INSERT INTO TURBINE_ROLE_PERMISSION VALUES((SELECT ROLE_ID FROM TURBINE_ROLE WHERE ROLE_NAME = 'user'),(SELECT PERMISSION_ID FROM TURBINE_PERMISSION WHERE PERMISSION_NAME = 'maximize')); +INSERT INTO TURBINE_ROLE_PERMISSION VALUES((SELECT ROLE_ID FROM TURBINE_ROLE WHERE ROLE_NAME = 'user'),(SELECT PERMISSION_ID FROM TURBINE_PERMISSION WHERE PERMISSION_NAME = 'minimize')); +INSERT INTO TURBINE_ROLE_PERMISSION VALUES((SELECT ROLE_ID FROM TURBINE_ROLE WHERE ROLE_NAME = 'user'),(SELECT PERMISSION_ID FROM TURBINE_PERMISSION WHERE PERMISSION_NAME = 'personalize')); +INSERT INTO TURBINE_ROLE_PERMISSION VALUES((SELECT ROLE_ID FROM TURBINE_ROLE WHERE ROLE_NAME = 'user'),(SELECT PERMISSION_ID FROM TURBINE_PERMISSION WHERE PERMISSION_NAME = 'info')); +INSERT INTO TURBINE_ROLE_PERMISSION VALUES((SELECT ROLE_ID FROM TURBINE_ROLE WHERE ROLE_NAME = 'admin'),(SELECT PERMISSION_ID FROM TURBINE_PERMISSION WHERE PERMISSION_NAME = 'view')); +INSERT INTO TURBINE_ROLE_PERMISSION VALUES((SELECT ROLE_ID FROM TURBINE_ROLE WHERE ROLE_NAME = 'admin'),(SELECT PERMISSION_ID FROM TURBINE_PERMISSION WHERE PERMISSION_NAME = 'customize')); +INSERT INTO TURBINE_ROLE_PERMISSION VALUES((SELECT ROLE_ID FROM TURBINE_ROLE WHERE ROLE_NAME = 'admin'),(SELECT PERMISSION_ID FROM TURBINE_PERMISSION WHERE PERMISSION_NAME = 'maximize')); +INSERT INTO TURBINE_ROLE_PERMISSION VALUES((SELECT ROLE_ID FROM TURBINE_ROLE WHERE ROLE_NAME = 'admin'),(SELECT PERMISSION_ID FROM TURBINE_PERMISSION WHERE PERMISSION_NAME = 'minimize')); +INSERT INTO TURBINE_ROLE_PERMISSION VALUES((SELECT ROLE_ID FROM TURBINE_ROLE WHERE ROLE_NAME = 'admin'),(SELECT PERMISSION_ID FROM TURBINE_PERMISSION WHERE PERMISSION_NAME = 'personalize')); +INSERT INTO TURBINE_ROLE_PERMISSION VALUES((SELECT ROLE_ID FROM TURBINE_ROLE WHERE ROLE_NAME = 'admin'),(SELECT PERMISSION_ID FROM TURBINE_PERMISSION WHERE PERMISSION_NAME = 'info')); +INSERT INTO TURBINE_ROLE_PERMISSION VALUES((SELECT ROLE_ID FROM TURBINE_ROLE WHERE ROLE_NAME = 'admin'),(SELECT PERMISSION_ID FROM TURBINE_PERMISSION WHERE PERMISSION_NAME = 'close')); +INSERT INTO TURBINE_ROLE_PERMISSION VALUES((SELECT ROLE_ID FROM TURBINE_ROLE WHERE ROLE_NAME = 'guest'),(SELECT PERMISSION_ID FROM TURBINE_PERMISSION WHERE PERMISSION_NAME = 'view')); +INSERT INTO TURBINE_ROLE_PERMISSION VALUES((SELECT ROLE_ID FROM TURBINE_ROLE WHERE ROLE_NAME = 'guest'),(SELECT PERMISSION_ID FROM TURBINE_PERMISSION WHERE PERMISSION_NAME = 'info')); +INSERT INTO TURBINE_USER_GROUP_ROLE VALUES((SELECT USER_ID FROM TURBINE_USER WHERE LOGIN_NAME = 'turbine'),(SELECT GROUP_ID FROM TURBINE_GROUP WHERE GROUP_NAME = 'Jetspeed'),(SELECT ROLE_ID FROM TURBINE_ROLE WHERE ROLE_NAME = 'user')); +INSERT INTO TURBINE_USER_GROUP_ROLE VALUES((SELECT USER_ID FROM TURBINE_USER WHERE LOGIN_NAME = 'admin'),(SELECT GROUP_ID FROM TURBINE_GROUP WHERE GROUP_NAME = 'Jetspeed'),(SELECT ROLE_ID FROM TURBINE_ROLE WHERE ROLE_NAME = 'user')); +INSERT INTO TURBINE_USER_GROUP_ROLE VALUES((SELECT USER_ID FROM TURBINE_USER WHERE LOGIN_NAME = 'admin'),(SELECT GROUP_ID FROM TURBINE_GROUP WHERE GROUP_NAME = 'Jetspeed'),(SELECT ROLE_ID FROM TURBINE_ROLE WHERE ROLE_NAME = 'admin')); +INSERT INTO TURBINE_USER_GROUP_ROLE VALUES((SELECT USER_ID FROM TURBINE_USER WHERE LOGIN_NAME = 'anon'),(SELECT GROUP_ID FROM TURBINE_GROUP WHERE GROUP_NAME = 'Jetspeed'),(SELECT ROLE_ID FROM TURBINE_ROLE WHERE ROLE_NAME = 'guest')); +INSERT INTO COFFEES VALUES(DEFAULT,'ColombianGrade',5,7.99,1,2); +INSERT INTO COFFEES VALUES(DEFAULT,'KonaGrade',6,7.99,1,2); +INSERT INTO COFFEES VALUES(DEFAULT,'FrenchRoastGrade',7,7.99,1,2); +INSERT INTO COFFEES VALUES(DEFAULT,'HazelNutGrade',8,7.99,1,2); +INSERT INTO COFFEES VALUES(DEFAULT,'VanillaGrade',9,7.99,1,2); +INSERT INTO COFFEES VALUES(DEFAULT,'JavaGrade',10,7.99,1,2); +INSERT INTO COFFEES VALUES(DEFAULT,'IndonesianGrade',11,7.99,1,2); +INSERT INTO COFFEES VALUES(DEFAULT,'OotyGrade',1,7.99,1,2); +INSERT INTO COFFEES VALUES(DEFAULT,'KenyanGrade',2,7.99,1,2); +INSERT INTO COFFEES VALUES(DEFAULT,'JoeGrade',3,7.99,1,2); +INSERT INTO COFFEES VALUES(DEFAULT,'CantThinkOfAnymoreGrade',4,7.99,1,2); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jul 28 12:29:43 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25407 invoked from network); 28 Jul 2006 12:29:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Jul 2006 12:29:43 -0000 Received: (qmail 80826 invoked by uid 500); 28 Jul 2006 12:29:42 -0000 Delivered-To: [email protected] Received: (qmail 80587 invoked by uid 500); 28 Jul 2006 12:29:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 80569 invoked by uid 500); 28 Jul 2006 12:29:41 -0000 Delivered-To: [email protected] Received: (qmail 80566 invoked by uid 99); 28 Jul 2006 12:29:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2006 05:29:41 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2006 05:29:40 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 1959D41000B for <[email protected]>; Fri, 28 Jul 2006 12:27:16 +0000 (GMT) Message-ID: <1765220.1154089636101.JavaMail.jira@brutus> Date: Fri, 28 Jul 2006 05:27:16 -0700 (PDT) From: "Aaron Evans (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (JS2-491) Enhance J2 LDAP Security Documentation In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-491?page=comments#action_12424082 ] Aaron Evans commented on JS2-491: --------------------------------- I agree that folks usually have an existing LDAP installation and want to use their existing schema and it needs to be somewhat configurable, or at the very least, some documentation showing how to adapt the SPI components to a custom schema. In my case, I created new ATN and ATZ SPI components for using my custom OpenLDAP schema, so I am not using any of the LDAP components provided by J2. The second thing that ought to be easily configurable is the hashing algorithm that is employed for passwords and any prefix/suffix string that should be used. For example, for SunDS, you might want your hashing algorithm to be SHA-1 and for the {SHA} prefix to be pre-pended to the password string for LDAP storage. > Enhance J2 LDAP Security Documentation > -------------------------------------- > > Key: JS2-491 > URL: http://issues.apache.org/jira/browse/JS2-491 > Project: Jetspeed 2 > Issue Type: Improvement > Components: Security > Affects Versions: 2.1-dev > Reporter: David Le Strat > Fix For: 2.1-dev > > > From Davy De Waele email to the list: > Judging from the recent activity on the mailing list I noticed some > interest in using LDAP & Jetspeed > Some thoughts come to mind: > 1. The instructions located at > http://portals.apache.org/jetspeed-2/multiproject/jetspeed-security/ldap > .html are really only applicable for people who are building jetspeed > from source. > Due to the fact that the security-spi-ldap*.xml files shown there are > coming from SVN (interface changes, additional objects in the > configuration files that are not in the 2.0 binary release), users who > have installed jetspeed2 via the installer attempting to follow these > instructions will run into configuration issues. > What would be the best way to address this? > I think we should make a difference between users who are familiar with > Maven, SVN, compiling/building/deploying, and users who just want to > get > the thing up & running using the installer. > Shouldn't we put this information into perspective by: > a) Clearly indicating that this is only intended for people building > from source > b) Provide an additional manual on what needs to be done starting from > a > binary release (2.0 version) > > The user would have to > * copy the security-spi-ldap*.xml files (we provide > downloadable spring XML files acting as examples) > * remove their default security-spi-atn.xml > * restart tomcat > * preparing their LDAP server > As far as LDAP support goes, we should provide instructions on how > existing LDAP servers can be used with jetspeed. We can also provide > downloadable schema files & LDIF sample data for all major vendors + > documentation) > I could provide such manuals for OpenLDAP,SunDS and ApacheDS. > 2. The major problem that users will be facing today is that encrypted > passwords are not supported in the jetspeed2.0 release. Given that this > functionality has been committed to the codebase, how do you feel > towards providing a downloadable JAR file to users that would act as a > replacement for their current jetspeed-security-2.0.jar - doesn't have > to be anything official, could be included as a link in the > documentation) > The user would have to > * replace his jetspeed-security-2.0.jar > * restart tomcat > The user would have support for encrypted passwords and group/role > membership via LDAP. > 3. OpenLDAP schema file > I had to add groupOfUniqueNames as a parent to the jetspeed-2-group and > jetspeed-2-role objectClasses in order for the group/role assignment to > work in OpenLDAP. > ApacheDS doesn't really care when objects are created in the LDAP tree > containing attributes that aren't defined in the LDAP schema. OpenLDAP > does :) I've attached the new jetspeed.schema file. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jul 28 12:36:48 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27389 invoked from network); 28 Jul 2006 12:36:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Jul 2006 12:36:47 -0000 Received: (qmail 88871 invoked by uid 500); 28 Jul 2006 12:36:46 -0000 Delivered-To: [email protected] Received: (qmail 88830 invoked by uid 500); 28 Jul 2006 12:36:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 88819 invoked by uid 99); 28 Jul 2006 12:36:46 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2006 05:36:46 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO py-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2006 05:36:44 -0700 Received: by py-out-1112.google.com with SMTP id i49so514823pyi for <[email protected]>; Fri, 28 Jul 2006 05:36:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=H8KzDUOExeWaY15MzNj7TtFAFgqvVdQIaxW/3ymZ/Hcuq58Xe8685qy/M0Fpv7z9LO0p0L/P081xzEFeqZy7I+gRJTHnbI3KCEob4ILghvxZtGKIY34ESod0DDetW3OEGyhFNjCtsjW61rwoSEnt8diOi9FwTaQnmUihnlndT1I= Received: by 161.129.204.104 with SMTP id t10mr14414999pyl; Fri, 28 Jul 2006 05:36:23 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 28 Jul 2006 05:36:23 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 28 Jul 2006 08:36:23 -0400 From: "Aaron Evans" <[email protected]> To: "Jetspeed Developers List" <[email protected]> Subject: Re: Multiple different config of the same portlet In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: base64 Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N SSBkbyBhbGwgbXkgc3R1ZmYgYnkgZWRpdGluZyBQU01MIGJ5IGhhbmQuICBIb3dldmVyLCBpZiBJ J20gbm90Cm1pc3Rha2VuLCBJIHRoaW5rIHdoYXQgeW91IGNvdWxkIGRvIGlzIG1ha2UgUFNNTCBw YWdlcyB0aGF0IGFyZQplZGl0YWJsZSBieSB0aGUgYWRtaW4sIGFuZCB2aWV3YWJsZSBidXQgbm90 IGVkaXRhYmxlIGJ5IGFsbCBvdGhlcgpyb2xlcy4KCkluIHRoYXQgd2F5LCB0aGUgYWRtaW4gc2hv dWxkIGJlIGFibGUgdG8gc2V0IHRoZSBwcmVmZXJlbmNlIHRoYXQKY29udHJvbHMgd2hhdCBjb250 ZW50IGlzIHN1Y2tlZCBpbnRvIHlvdXIgaWZyYW1lIHBvcnRsZXQgIGJ5IGVkaXRpbmcgYQpwcmVm ZXJlbmNlLCBidXQgeW91ciB1c2VycyBzaG91bGQgbm90IGJlIGFibGUgdG8gY2hhbmdlIHRoYXQu CgpQZXJoYXBzIHNvbWVvbmUgZWxzZSB3aWxsIGNoaW1lIGluIHRoYXQgaGFzIG1vcmUgZXhwZXJ0 aXNlIGluIHRoaXMgYXJlYS4uLgoKT24gNy8yNy8wNiwgTWljaGFlbCBCb3NzIDxiYXJvbi5tdWVu aGF1c2VuQGdvb2dsZW1haWwuY29tPiB3cm90ZToKPiBJbiBoYXZlIGEgcG9ydGxldCBsaWtlIElG UkFNRS1wb3J0bGV0LiBQb3J0YWwtQWRtaW5pc3RyYXRvciBjcmVhdGVzIGl0Cj4gYW5kIGNvbmZp Z3VyZXMKPiBlYWNoIGluc3RhbmNlIG9mIHBvcnRsZXQsIGkuZS4gYSBxdWFudGl0eSBvZCBpbnN0 YW5jZXMgb2YgdGhlIHNhbWUgUG9ydGxldAo+IGNhbiBiZSBpbmZpbml0ZS4gSSB3YW50IHRvIHNl dCB0aGUgcHJlZmVyZW5jZXMgZm9yIGVhY2ggaW5zdGFuY2UgdGhyb3VnaAo+IHNvbWUgYWRtaW5p c3RyYXRpdmUgaW50ZXJmYWNlLiBJIGRvbid0IHdhbnQgdXNlcnMgdG8gYmUgYWJsZSB0byBjaGFu Z2UgdGhlCj4gcHJlZmVyZW5jZXMuIEFuZCB0aGUgdXNlciBoYXMgYW4gb3Bwb3J0dW5pdHkgdGhl c2UgaW5zdGFuY2VzIHRvIHVzZS4KPgo+IElmIEkgYW0gbm90IG1pc3Rha2VuLCB0aGUgZmlyc3Qg d2F5IChtdWx0aXBsZSBwb3J0bGV0IGVudHJpZXMgaW4gcG9ydGxldC54bWwpCj4gaXQgdG8gbWFr ZSBpdCB3aWxsIG5vdCB0dXJuIG91dC4gQW5kIHRoZSBzZWNvbmQgSSBub3QgYWJzb2x1dGVseSBr bm93IGFzLgo+IPNvdWxkIHlvdSBtZSBoZWxwIGFuZCBnaXZlIG1lIHBhaXIgZXhhbXBsZXM/Cj4K PiBNYW55IHRoYW5rcwo+Cj4gMjAwNi83LzI1LCBBYXJvbiBFdmFucyA8IGFhcm9ubWV2YW5zQGdt YWlsLmNvbT46Cj4gPgo+ID4gVGhlcmUgYXJlIGEgZmV3IG9mIHdheXMgdG8gYWNjb21wbGlzaCB0 aGlzLgo+ID4KPiA+IEZpcnN0bHksIHlvdSBjYW4gaGF2ZSBtdWx0aXBsZSBwb3J0bGV0IGVudHJp ZXMgaW4geW91ciBwb3J0bGV0LnhtbAo+ID4gdGhhdCBhbGwgdXNlIHRoZSBzYW1lIFBvcnRsZXQg Q2xhc3MgYnV0IGhhdmUgZGlmZmVyZW50IGluaXQtcGFyYW0KPiA+IGFuZC9vciBwcmVmZXJlbmNl IHZhbHVlcy4KPiA+Cj4gPiBTZWNvbmRseSwgaWYgYWxsIG9mIHlvdXIgcG9ydGxldHMgY29uZmln IHdhcyB2aWEgcHJlZmVyZW5jZXMsIHRoZW4geW91Cj4gPiBjb3VsZCBoYXZlIGEgc2luZ2xlIGVu dHJ5IGluIHlvdXIgcG9ydGxldC54bWwgYnV0IGRvIHRoZSBwcmVmZXJlbmNlCj4gPiBjb25maWd1 cmF0aW9uIGluIFBTTUwgcGFnZXMuCj4gPgo+ID4gSFRILAo+ID4gYWFyb24KPiA+Cj4gPiBPbiA3 LzI0LzA2LCBNaWNoYWVsIEJvc3MgPGJhcm9uLm11ZW5oYXVzZW5AZ29vZ2xlbWFpbC5jb20+IHdy b3RlOgo+ID4gPiBIaSBJIGhhdmUgZGV2ZWxvcGVkIGEgUG9ydGxldCBhbmQgc3VjZXNzZnVsbHkg ZGVwbG95ZWQgdGhpcyBhcyBpdHMgb3duCj4gPiB3ZWIKPiA+ID4gYXBwLgo+ID4gPgo+ID4gPiBJ IGtub3cgdGhhdCBjYW4gYmUgY29uZmlndXJlZCBkaWZmZXJlbnRseSBvbiBpbnN0YW5jaWF0aW9u LiBXaGF0IEkgd2FudAo+ID4gdG8KPiA+ID4gZG8gaXMgYm9vdCB1cCBtdWx0aXBsZSBpbnN0YW5j ZXMgb2YgdGhpcyBwb3J0bGV0IChhbGwgY29uZmlndXJlZAo+ID4gPiBkaWZmZXJlbnRseSkgd2l0 aG91dCBoYXZpbmcgdG8gY3JlYXRlIHRoZW0gYXMgc2VwZXJhdGUgd2ViIGFwcHMKPiA+ID4KPiA+ ID4gSXMgdGhpcyBwb3NzaWJsZT8KPiA+ID4KPiA+ID4gTWFueSB0aGFua3MKPiA+ID4KPiA+ID4g QmFyb24KPiA+ID4KPiA+ID4KPiA+Cj4gPiAtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0KPiA+IFRvIHVuc3Vic2NyaWJl LCBlLW1haWw6IGpldHNwZWVkLWRldi11bnN1YnNjcmliZUBwb3J0YWxzLmFwYWNoZS5vcmcKPiA+ IEZvciBhZGRpdGlvbmFsIGNvbW1hbmRzLCBlLW1haWw6IGpldHNwZWVkLWRldi1oZWxwQHBvcnRh bHMuYXBhY2hlLm9yZwo+ID4KPiA+Cj4K From [email protected] Fri Jul 28 13:07:41 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37952 invoked from network); 28 Jul 2006 13:07:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Jul 2006 13:07:41 -0000 Received: (qmail 34420 invoked by uid 500); 28 Jul 2006 13:07:39 -0000 Delivered-To: [email protected] Received: (qmail 34394 invoked by uid 500); 28 Jul 2006 13:07:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 34381 invoked by uid 500); 28 Jul 2006 13:07:39 -0000 Delivered-To: [email protected] Received: (qmail 34376 invoked by uid 99); 28 Jul 2006 13:07:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2006 06:07:39 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2006 06:07:38 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 18BD541000D for <[email protected]>; Fri, 28 Jul 2006 13:05:14 +0000 (GMT) Message-ID: <136534.1154091914098.JavaMail.jira@brutus> Date: Fri, 28 Jul 2006 06:05:14 -0700 (PDT) From: "cardinis solutions spa (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (JS2-564) wrong italian localization strings MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N wrong italian localization strings ---------------------------------- Key: JS2-564 URL: http://issues.apache.org/jira/browse/JS2-564 Project: Jetspeed 2 Issue Type: Bug Components: Other Affects Versions: 2.1 Reporter: cardinis solutions spa When italian localized strings are used on alert or confirm pages, they should not contain the ' character, because localized strings are enclosed between ' and '. Putting another ' inside localized string causes a javascript error, and window is not displayed. In example, on SSO Detail Portlet, deleting a remote user becomes impossible, because the Confirm window does not appear. Two wrong localized strings have been found: - j2-admin/WEB-INF/classes/org/apache/jetspeed/portlets/security/resources/SSODetailsResources_it.properties key = confirmToDeleteRemote value = Conferma l' eliminazione Remota proposed: rimuovere utente remoto (to remove remote user) j2-admin/WEB-INF/classes/org/apache/jetspeed/portlets/security/resources/SSOResources_it.properties key = confirmtodeletesite value = Conferma l' eliminazione del sito proposed: Eliminare il sito (to remove site) Two are the ways to resolve this bug: 1) instead of ' you can use ", but all javascript calls should be changed 2) change localized string, maybe using those we proposed -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jul 28 19:48:16 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88380 invoked from network); 28 Jul 2006 19:48:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Jul 2006 19:48:16 -0000 Received: (qmail 55206 invoked by uid 500); 28 Jul 2006 19:48:15 -0000 Delivered-To: [email protected] Received: (qmail 55172 invoked by uid 500); 28 Jul 2006 19:48:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 55161 invoked by uid 99); 28 Jul 2006 19:48:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2006 12:48:14 -0700 X-ASF-Spam-Status: No, hits=-8.9 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_50_75 X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2006 12:48:14 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id CC11F1A981A; Fri, 28 Jul 2006 12:47:53 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r426654 - /portals/jetspeed-1/trunk/src/sql/external/turbine-db2.sql Date: Fri, 28 Jul 2006 19:47:53 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: taylor Date: Fri Jul 28 12:47:53 2006 New Revision: 426654 URL: http://svn.apache.org/viewvc?rev=426654&view=rev Log: db2 supports declarative cascading deletes, might as well use em Modified: portals/jetspeed-1/trunk/src/sql/external/turbine-db2.sql Modified: portals/jetspeed-1/trunk/src/sql/external/turbine-db2.sql URL: http://svn.apache.org/viewvc/portals/jetspeed-1/trunk/src/sql/external/turbine-db2.sql?rev=426654&r1=426653&r2=426654&view=diff ============================================================================== --- portals/jetspeed-1/trunk/src/sql/external/turbine-db2.sql (original) +++ portals/jetspeed-1/trunk/src/sql/external/turbine-db2.sql Fri Jul 28 12:47:53 2006 @@ -114,14 +114,10 @@ ALTER TABLE TURBINE_ROLE_PERMISSION ADD CONSTRAINT TURBINE_ROLE__FK_1 FOREIGN KEY (ROLE_ID) - REFERENCES TURBINE_ROLE (ROLE_ID) -; + REFERENCES TURBINE_ROLE (ROLE_ID) ON DELETE CASCADE; ALTER TABLE TURBINE_ROLE_PERMISSION ADD CONSTRAINT TURBINE_ROLE__FK_2 FOREIGN KEY (PERMISSION_ID) - REFERENCES TURBINE_PERMISSION (PERMISSION_ID) -; - - + REFERENCES TURBINE_PERMISSION (PERMISSION_ID) ON DELETE CASCADE; ----------------------------------------------------------------------------- -- TURBINE_USER_GROUP_ROLE @@ -140,16 +136,13 @@ ALTER TABLE TURBINE_USER_GROUP_ROLE ADD CONSTRAINT TURBINE_USER__FK_1 FOREIGN KEY (USER_ID) - REFERENCES TURBINE_USER (USER_ID) -; + REFERENCES TURBINE_USER (USER_ID) ON DELETE CASCADE; ALTER TABLE TURBINE_USER_GROUP_ROLE ADD CONSTRAINT TURBINE_USER__FK_2 FOREIGN KEY (GROUP_ID) - REFERENCES TURBINE_GROUP (GROUP_ID) -; + REFERENCES TURBINE_GROUP (GROUP_ID) ON DELETE CASCADE; ALTER TABLE TURBINE_USER_GROUP_ROLE ADD CONSTRAINT TURBINE_USER__FK_3 FOREIGN KEY (ROLE_ID) - REFERENCES TURBINE_ROLE (ROLE_ID) -; + REFERENCES TURBINE_ROLE (ROLE_ID) ON DELETE CASCADE; ----------------------------------------------------------------------------- -- JETSPEED_USER_PROFILE --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jul 28 19:49:31 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88713 invoked from network); 28 Jul 2006 19:49:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Jul 2006 19:49:31 -0000 Received: (qmail 56820 invoked by uid 500); 28 Jul 2006 19:49:29 -0000 Delivered-To: [email protected] Received: (qmail 56782 invoked by uid 500); 28 Jul 2006 19:49:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 56771 invoked by uid 99); 28 Jul 2006 19:49:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2006 12:49:29 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2006 12:49:28 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id A02BF1A981A; Fri, 28 Jul 2006 12:49:08 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r426655 - /portals/jetspeed-1/trunk/src/java/org/apache/jetspeed/services/profiler/JetspeedProfilerService.java Date: Fri, 28 Jul 2006 19:49:08 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: taylor Date: Fri Jul 28 12:49:07 2006 New Revision: 426655 URL: http://svn.apache.org/viewvc?rev=426655&view=rev Log: try to not display the confusing 'profiler error' when db connection is bad Modified: portals/jetspeed-1/trunk/src/java/org/apache/jetspeed/services/profiler/JetspeedProfilerService.java Modified: portals/jetspeed-1/trunk/src/java/org/apache/jetspeed/services/profiler/JetspeedProfilerService.java URL: http://svn.apache.org/viewvc/portals/jetspeed-1/trunk/src/java/org/apache/jetspeed/services/profiler/JetspeedProfilerService.java?rev=426655&r1=426654&r2=426655&view=diff ============================================================================== --- portals/jetspeed-1/trunk/src/java/org/apache/jetspeed/services/profiler/JetspeedProfilerService.java (original) +++ portals/jetspeed-1/trunk/src/java/org/apache/jetspeed/services/profiler/JetspeedProfilerService.java Fri Jul 28 12:49:07 2006 @@ -782,10 +782,18 @@ } else { - profile.setAnonymous( - user.getUserName().equals( - JetspeedSecurity.getAnonymousUserName())); - profile.setUser(user); + if (user == null) + { + profile.setAnonymous(true); + user = JetspeedSecurity.getAnonymousUser(); + } + else + { + profile.setAnonymous( + user.getUserName().equals( + JetspeedSecurity.getAnonymousUserName())); + profile.setUser(user); + } } } } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jul 28 22:36:30 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37319 invoked from network); 28 Jul 2006 22:36:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Jul 2006 22:36:29 -0000 Received: (qmail 93384 invoked by uid 500); 28 Jul 2006 22:36:27 -0000 Delivered-To: [email protected] Received: (qmail 93359 invoked by uid 500); 28 Jul 2006 22:36:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 93348 invoked by uid 99); 28 Jul 2006 22:36:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2006 15:36:27 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nf-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2006 15:36:26 -0700 Received: by nf-out-0910.google.com with SMTP id i2so328036nfe for <[email protected]>; Fri, 28 Jul 2006 15:36:05 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QMk52mZ7/V24itSsUd/3ui9VHROpsIyLcMztMvCSof6w/hdKyma1huVbfcs6XsJYy1MbL3qrW0IbYnogsw/r29VeIh6ypuN/1poUPUWTAJmVRimwtBOY15/6N1N53hLXhtcflZgkxgLAZgNxz+jTsbDQ3vNZqift+of8ILvEjxU= Received: by 161.129.204.104 with SMTP id o7mr312385hue; Fri, 28 Jul 2006 15:36:05 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 28 Jul 2006 15:36:04 -0700 (PDT) Message-ID: <[email protected]> Date: Sat, 29 Jul 2006 00:36:05 +0200 From: "Michael Boss" <[email protected]> To: "Jetspeed Developers List" <[email protected]> Subject: Re: Multiple different config of the same portlet In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: base64 Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N PiBJIHRoaW5rIHdoYXQgeW91IGNvdWxkIGRvIGlzIG1ha2UgUFNNTCBwYWdlcyB0aGF0IGFyZQo+ IGVkaXRhYmxlIGJ5IHRoZSBhZG1pbiwgYW5kIHZpZXdhYmxlIGJ1dCBub3QgZWRpdGFibGUgYnkg YWxsIG90aGVyCj4gcm9sZXMuCkkgZG9udCBhYnNvbHV0ZWx5IGtub3cgaG93IGl0IHRvIG1ha2Uu CgpJbiBhIEpldHNwZWVkMi1Qb3J0YWwgaXMgYSAiUG9ydGxldCBBcHBsaWNhdGlvbiBNYW5hZ2Vy IiAoQWRtaW4gPj4KSmV0c3BlZWQgQWRtaW5pc3RyYXRpdmUgUG9ydGxldHMgPj4gUG9ydGxldCBB cHBsaWNhdGlvbiBNYW5hZ2VyKSB3aGljaAphbGxvd3MgdG8gY2hvc2VuIHBvcnRsZXQgd2l0aCAi UG9ydGxldCBFbnRpdHkgQnJvd3NlciIgdG8gYWRkIGFuIG5ldwplbnRpdHkuIFdoYXQgbWVhbnMg ZW50aXR5IGluIHRoaXMgY2FzZT8gSXMgbWVhbnQgYW4gaW5zdGFuY2Ugb2YgYQpwb3J0bGV0PwoK CjI4LjA3LjA2LCBBYXJvbiBFdmFuczxhYXJvbm1ldmFuc0BnbWFpbC5jb20+IM7B0MnTwcwowSk6 Cj4gSSBkbyBhbGwgbXkgc3R1ZmYgYnkgZWRpdGluZyBQU01MIGJ5IGhhbmQuICBIb3dldmVyLCBp ZiBJJ20gbm90Cj4gbWlzdGFrZW4sIEkgdGhpbmsgd2hhdCB5b3UgY291bGQgZG8gaXMgbWFrZSBQ U01MIHBhZ2VzIHRoYXQgYXJlCj4gZWRpdGFibGUgYnkgdGhlIGFkbWluLCBhbmQgdmlld2FibGUg YnV0IG5vdCBlZGl0YWJsZSBieSBhbGwgb3RoZXIKPiByb2xlcy4KPgo+IEluIHRoYXQgd2F5LCB0 aGUgYWRtaW4gc2hvdWxkIGJlIGFibGUgdG8gc2V0IHRoZSBwcmVmZXJlbmNlIHRoYXQKPiBjb250 cm9scyB3aGF0IGNvbnRlbnQgaXMgc3Vja2VkIGludG8geW91ciBpZnJhbWUgcG9ydGxldCAgYnkg ZWRpdGluZyBhCj4gcHJlZmVyZW5jZSwgYnV0IHlvdXIgdXNlcnMgc2hvdWxkIG5vdCBiZSBhYmxl IHRvIGNoYW5nZSB0aGF0Lgo+Cj4gUGVyaGFwcyBzb21lb25lIGVsc2Ugd2lsbCBjaGltZSBpbiB0 aGF0IGhhcyBtb3JlIGV4cGVydGlzZSBpbiB0aGlzIGFyZWEuLi4KPgo+IE9uIDcvMjcvMDYsIE1p Y2hhZWwgQm9zcyA8YmFyb24ubXVlbmhhdXNlbkBnb29nbGVtYWlsLmNvbT4gd3JvdGU6Cj4gPiBJ biBoYXZlIGEgcG9ydGxldCBsaWtlIElGUkFNRS1wb3J0bGV0LiBQb3J0YWwtQWRtaW5pc3RyYXRv ciBjcmVhdGVzIGl0Cj4gPiBhbmQgY29uZmlndXJlcwo+ID4gZWFjaCBpbnN0YW5jZSBvZiBwb3J0 bGV0LCBpLmUuIGEgcXVhbnRpdHkgb2QgaW5zdGFuY2VzIG9mIHRoZSBzYW1lIFBvcnRsZXQKPiA+ IGNhbiBiZSBpbmZpbml0ZS4gSSB3YW50IHRvIHNldCB0aGUgcHJlZmVyZW5jZXMgZm9yIGVhY2gg aW5zdGFuY2UgdGhyb3VnaAo+ID4gc29tZSBhZG1pbmlzdHJhdGl2ZSBpbnRlcmZhY2UuIEkgZG9u J3Qgd2FudCB1c2VycyB0byBiZSBhYmxlIHRvIGNoYW5nZSB0aGUKPiA+IHByZWZlcmVuY2VzLiBB bmQgdGhlIHVzZXIgaGFzIGFuIG9wcG9ydHVuaXR5IHRoZXNlIGluc3RhbmNlcyB0byB1c2UuCj4g Pgo+ID4gSWYgSSBhbSBub3QgbWlzdGFrZW4sIHRoZSBmaXJzdCB3YXkgKG11bHRpcGxlIHBvcnRs ZXQgZW50cmllcyBpbiBwb3J0bGV0LnhtbCkKPiA+IGl0IHRvIG1ha2UgaXQgd2lsbCBub3QgdHVy biBvdXQuIEFuZCB0aGUgc2Vjb25kIEkgbm90IGFic29sdXRlbHkga25vdyBhcy4KPiA+IPNvdWxk IHlvdSBtZSBoZWxwIGFuZCBnaXZlIG1lIHBhaXIgZXhhbXBsZXM/Cj4gPgo+ID4gTWFueSB0aGFu a3MKPiA+Cj4gPiAyMDA2LzcvMjUsIEFhcm9uIEV2YW5zIDwgYWFyb25tZXZhbnNAZ21haWwuY29t PjoKPiA+ID4KPiA+ID4gVGhlcmUgYXJlIGEgZmV3IG9mIHdheXMgdG8gYWNjb21wbGlzaCB0aGlz Lgo+ID4gPgo+ID4gPiBGaXJzdGx5LCB5b3UgY2FuIGhhdmUgbXVsdGlwbGUgcG9ydGxldCBlbnRy aWVzIGluIHlvdXIgcG9ydGxldC54bWwKPiA+ID4gdGhhdCBhbGwgdXNlIHRoZSBzYW1lIFBvcnRs ZXQgQ2xhc3MgYnV0IGhhdmUgZGlmZmVyZW50IGluaXQtcGFyYW0KPiA+ID4gYW5kL29yIHByZWZl cmVuY2UgdmFsdWVzLgo+ID4gPgo+ID4gPiBTZWNvbmRseSwgaWYgYWxsIG9mIHlvdXIgcG9ydGxl dHMgY29uZmlnIHdhcyB2aWEgcHJlZmVyZW5jZXMsIHRoZW4geW91Cj4gPiA+IGNvdWxkIGhhdmUg YSBzaW5nbGUgZW50cnkgaW4geW91ciBwb3J0bGV0LnhtbCBidXQgZG8gdGhlIHByZWZlcmVuY2UK PiA+ID4gY29uZmlndXJhdGlvbiBpbiBQU01MIHBhZ2VzLgo+ID4gPgo+ID4gPiBIVEgsCj4gPiA+ IGFhcm9uCj4gPiA+Cj4gPiA+IE9uIDcvMjQvMDYsIE1pY2hhZWwgQm9zcyA8YmFyb24ubXVlbmhh dXNlbkBnb29nbGVtYWlsLmNvbT4gd3JvdGU6Cj4gPiA+ID4gSGkgSSBoYXZlIGRldmVsb3BlZCBh IFBvcnRsZXQgYW5kIHN1Y2Vzc2Z1bGx5IGRlcGxveWVkIHRoaXMgYXMgaXRzIG93bgo+ID4gPiB3 ZWIKPiA+ID4gPiBhcHAuCj4gPiA+ID4KPiA+ID4gPiBJIGtub3cgdGhhdCBjYW4gYmUgY29uZmln dXJlZCBkaWZmZXJlbnRseSBvbiBpbnN0YW5jaWF0aW9uLiBXaGF0IEkgd2FudAo+ID4gPiB0bwo+ ID4gPiA+IGRvIGlzIGJvb3QgdXAgbXVsdGlwbGUgaW5zdGFuY2VzIG9mIHRoaXMgcG9ydGxldCAo YWxsIGNvbmZpZ3VyZWQKPiA+ID4gPiBkaWZmZXJlbnRseSkgd2l0aG91dCBoYXZpbmcgdG8gY3Jl YXRlIHRoZW0gYXMgc2VwZXJhdGUgd2ViIGFwcHMKPiA+ID4gPgo+ID4gPiA+IElzIHRoaXMgcG9z c2libGU/Cj4gPiA+ID4KPiA+ID4gPiBNYW55IHRoYW5rcwo+ID4gPiA+Cj4gPiA+ID4gQmFyb24K PiA+ID4gPgo+ID4gPiA+Cj4gPiA+Cj4gPiA+IC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQo+ID4gPiBUbyB1bnN1YnNj cmliZSwgZS1tYWlsOiBqZXRzcGVlZC1kZXYtdW5zdWJzY3JpYmVAcG9ydGFscy5hcGFjaGUub3Jn Cj4gPiA+IEZvciBhZGRpdGlvbmFsIGNvbW1hbmRzLCBlLW1haWw6IGpldHNwZWVkLWRldi1oZWxw QHBvcnRhbHMuYXBhY2hlLm9yZwo+ID4gPgo+ID4gPgo+ID4KPgo= From [email protected] Sat Jul 29 01:20:50 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75580 invoked from network); 29 Jul 2006 01:20:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Jul 2006 01:20:50 -0000 Received: (qmail 58091 invoked by uid 500); 29 Jul 2006 01:20:41 -0000 Delivered-To: [email protected] Received: (qmail 58003 invoked by uid 500); 29 Jul 2006 01:20:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 57966 invoked by uid 500); 29 Jul 2006 01:20:41 -0000 Delivered-To: [email protected] Received: (qmail 57959 invoked by uid 99); 29 Jul 2006 01:20:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2006 18:20:41 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2006 18:20:39 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E3B0F41000A for <[email protected]>; Sat, 29 Jul 2006 01:18:13 +0000 (GMT) Message-ID: <24913576.1154135893929.JavaMail.jira@brutus> Date: Fri, 28 Jul 2006 18:18:13 -0700 (PDT) From: "Jacek Wislicki (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (JS2-565) Who Uses J2 (again) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Who Uses J2 (again) ------------------- Key: JS2-565 URL: http://issues.apache.org/jira/browse/JS2-565 Project: Jetspeed 2 Issue Type: Sub-task Affects Versions: 2.0-FINAL Reporter: Jacek Wislicki Assigned To: David Le Strat Fix For: 2.0-FINAL Provide list of who uses J2 (who-uses-j2.xml) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Jul 29 01:25:42 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77344 invoked from network); 29 Jul 2006 01:25:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Jul 2006 01:25:42 -0000 Received: (qmail 64103 invoked by uid 500); 29 Jul 2006 01:25:40 -0000 Delivered-To: [email protected] Received: (qmail 64072 invoked by uid 500); 29 Jul 2006 01:25:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 64060 invoked by uid 500); 29 Jul 2006 01:25:40 -0000 Delivered-To: [email protected] Received: (qmail 64057 invoked by uid 99); 29 Jul 2006 01:25:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2006 18:25:40 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2006 18:25:40 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C2DC741000A for <[email protected]>; Sat, 29 Jul 2006 01:23:14 +0000 (GMT) Message-ID: <21677715.1154136194795.JavaMail.jira@brutus> Date: Fri, 28 Jul 2006 18:23:14 -0700 (PDT) From: "Jacek Wislicki (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (JS2-565) Who Uses J2 (again) In-Reply-To: <24913576.1154135893929.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-565?page=comments#action_12424253 ] Jacek Wislicki commented on JS2-565: ------------------------------------ A list of sites based on Jetspeed is growing as the interest in the project does. I think that some interface for submitting new projects (with a short description/summary) would be a good thing. > Who Uses J2 (again) > ------------------- > > Key: JS2-565 > URL: http://issues.apache.org/jira/browse/JS2-565 > Project: Jetspeed 2 > Issue Type: Sub-task > Affects Versions: 2.0-FINAL > Reporter: Jacek Wislicki > Assigned To: David Le Strat > Fix For: 2.0-FINAL > > > Provide list of who uses J2 (who-uses-j2.xml) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Jul 30 00:16:20 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14196 invoked from network); 30 Jul 2006 00:16:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Jul 2006 00:16:20 -0000 Received: (qmail 80972 invoked by uid 500); 30 Jul 2006 00:16:19 -0000 Delivered-To: [email protected] Received: (qmail 80928 invoked by uid 500); 30 Jul 2006 00:16:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 80916 invoked by uid 99); 30 Jul 2006 00:16:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Jul 2006 17:16:18 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Jul 2006 17:16:17 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id BB8B51A981A; Sat, 29 Jul 2006 17:15:57 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r426855 - in /portals/jetspeed-2/trunk: components/portal/src/java/org/apache/jetspeed/desktop/impl/ jetspeed-api/src/java/org/apache/jetspeed/desktop/ Date: Sun, 30 Jul 2006 00:15:56 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: shinsuke Date: Sat Jul 29 17:15:56 2006 New Revision: 426855 URL: http://svn.apache.org/viewvc?rev=426855&view=rev Log: l10n support. you can put properties file to desktop-theme/theme/resources and specify resource.file in theme.properties. Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/desktop/impl/JetspeedDesktopContextImpl.java portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/desktop/impl/JetspeedDesktopImpl.java portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/desktop/JetspeedDesktop.java portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/desktop/JetspeedDesktopContext.java Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/desktop/impl/JetspeedDesktopContextImpl.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/desktop/impl/JetspeedDesktopContextImpl.java?rev=426855&r1=426854&r2=426855&view=diff ============================================================================== --- portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/desktop/impl/JetspeedDesktopContextImpl.java (original) +++ portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/desktop/impl/JetspeedDesktopContextImpl.java Sat Jul 29 17:15:56 2006 @@ -15,6 +15,14 @@ */ package org.apache.jetspeed.desktop.impl; +import java.io.File; +import java.net.MalformedURLException; +import java.net.URL; +import java.net.URLClassLoader; +import java.util.Locale; +import java.util.MissingResourceException; +import java.util.ResourceBundle; + import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @@ -37,13 +45,15 @@ private BasePortalURL baseUrlAccess = null; private String themeRootPath = null; private String theme = null; + private String resourceName = null; - public JetspeedDesktopContextImpl(RequestContext context, BasePortalURL baseUrlAccess, String theme, String themeRootPath ) + public JetspeedDesktopContextImpl(RequestContext context, BasePortalURL baseUrlAccess, String theme, String themeRootPath, String resourceName) { this.context = context; this.baseUrlAccess = baseUrlAccess; this.theme = theme; this.themeRootPath = themeRootPath; + this.resourceName = resourceName; } public String getPortalResourceUrl(String relativePath) @@ -104,17 +114,58 @@ public String getDesktopThemeResourceUrl(String relativePath) { - if ( relativePath.startsWith( "/" ) ) - return getPortalResourceUrl(themeRootPath + relativePath); + return getPortalResourceUrl(getDesktopThemeResource(relativePath)); + } + + public String getDesktopThemeResource(String relativePath) + { + if (relativePath.startsWith("/")) + { + return themeRootPath + relativePath; + } else - return getPortalResourceUrl(themeRootPath + "/" + relativePath); + { + return themeRootPath + "/" + relativePath; + } } + public String getDesktopThemeRootUrl() { return getPortalResourceUrl(themeRootPath); } + public String getDesktopTheme() { return theme; + } + + public ResourceBundle getResourceBundle(Locale locale) + { + String resourceDirName = context.getConfig().getServletContext() + .getRealPath(getDesktopThemeResource(RESOURCES_DIRECTORY_NAME)); + File resourceDir = new File(resourceDirName); + if (resourceName == null) + { + throw new NullPointerException("The resource file is null."); + } + if (!resourceDir.isDirectory()) + { + throw new MissingResourceException( + "Can't find the resource directory: " + resourceDirName, + resourceName + "_" + locale, ""); + } + URL[] urls = new URL[1]; + try + { + urls[0] = resourceDir.toURL(); + } + catch (MalformedURLException e) + { + throw new MissingResourceException( + "The resource directory cannot be parsed as a URL: " + + resourceDirName, resourceName + "_" + locale, ""); + } + return ResourceBundle.getBundle(resourceName, locale, + new URLClassLoader(urls)); } } Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/desktop/impl/JetspeedDesktopImpl.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/desktop/impl/JetspeedDesktopImpl.java?rev=426855&r1=426854&r2=426855&view=diff ============================================================================== --- portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/desktop/impl/JetspeedDesktopImpl.java (original) +++ portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/desktop/impl/JetspeedDesktopImpl.java Sat Jul 29 17:15:56 2006 @@ -41,6 +41,12 @@ */ public class JetspeedDesktopImpl implements JetspeedDesktop, ServletContextAware { + private static final String TEMPLATE_EXTENSION_ATTR = "template.extension"; + + private static final String ID_ATTR = "id"; + + private static final String RESOURCE_FILE_ATTR = "resource.file"; + private static final Log log = LogFactory.getLog( JetspeedDesktopImpl.class ); /** the webapp relative root of all themes */ @@ -86,7 +92,9 @@ try { RequestDispatcher dispatcher = request.getRequest().getRequestDispatcher(path); - JetspeedDesktopContext desktopContext = new JetspeedDesktopContextImpl(request, this.baseUrlAccess, theme, getThemeRootPath( theme ) ); + JetspeedDesktopContext desktopContext = new JetspeedDesktopContextImpl( + request, this.baseUrlAccess, theme, + getThemeRootPath(theme), getResourceName(theme)); request.getRequest().setAttribute(JetspeedDesktopContext.DESKTOP_ATTRIBUTE, desktopContext); dispatcher.include(request.getRequest(), request.getResponse()); } @@ -121,6 +129,16 @@ return this.themesRoot + "/" + theme + "/" + JetspeedDesktop.CONFIG_FILE_NAME; } + protected String getResourceName(String theme) + { + Properties themeConfiguration = (Properties)themesProperties.get(theme); + if (themeConfiguration == null) + { + themeConfiguration = getConfiguration(theme); + } + return themeConfiguration.getProperty(RESOURCE_FILE_ATTR); + } + protected String getThemePath(String theme) { Properties themeConfiguration = (Properties)themesProperties.get(theme); @@ -128,10 +146,10 @@ { themeConfiguration = getConfiguration(theme); } - String id = themeConfiguration.getProperty("id"); + String id = themeConfiguration.getProperty(ID_ATTR); if (id == null) id = theme; - String ext = themeConfiguration.getProperty("template.extension"); + String ext = themeConfiguration.getProperty(TEMPLATE_EXTENSION_ATTR); if (ext == null) ext = this.defaultExtension; return getThemeRootPath(theme) + "/" + id + ext; @@ -167,14 +185,14 @@ log.warn("Could not locate the theme.properties configuration file for theme \"" + theme + "\". This theme may not exist."); - props.setProperty("id", theme); + props.setProperty(ID_ATTR, theme); props.setProperty("extension", this.defaultExtension); } } catch (Exception e) { log.warn("Failed to load theme configuration.", e); - props.setProperty("id", theme); + props.setProperty(ID_ATTR, theme); } finally { Modified: portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/desktop/JetspeedDesktop.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/desktop/JetspeedDesktop.java?rev=426855&r1=426854&r2=426855&view=diff ============================================================================== --- portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/desktop/JetspeedDesktop.java (original) +++ portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/desktop/JetspeedDesktop.java Sat Jul 29 17:15:56 2006 @@ -15,9 +15,6 @@ */ package org.apache.jetspeed.desktop; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; - import org.apache.jetspeed.request.RequestContext; /** @@ -29,7 +26,7 @@ public interface JetspeedDesktop { String CONFIG_FILE_NAME = "theme.properties"; - + /** * Render a desktop theme. * Modified: portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/desktop/JetspeedDesktopContext.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/desktop/JetspeedDesktopContext.java?rev=426855&r1=426854&r2=426855&view=diff ============================================================================== --- portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/desktop/JetspeedDesktopContext.java (original) +++ portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/desktop/JetspeedDesktopContext.java Sat Jul 29 17:15:56 2006 @@ -15,6 +15,9 @@ */ package org.apache.jetspeed.desktop; +import java.util.Locale; +import java.util.ResourceBundle; + /** * Jetspeed Desktop * @@ -25,6 +28,8 @@ { String DESKTOP_ATTRIBUTE = "jetspeedDesktop"; + String RESOURCES_DIRECTORY_NAME = "resources"; + /** * Get an absolute portal from a relative URL. * This request adds in the servlet path such as "/desktop" @@ -64,4 +69,5 @@ */ String getDesktopThemeResourceUrl(String relativePath); + public ResourceBundle getResourceBundle(Locale locale); } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Jul 30 15:01:50 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20726 invoked from network); 30 Jul 2006 15:01:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Jul 2006 15:01:50 -0000 Received: (qmail 94859 invoked by uid 500); 30 Jul 2006 15:01:49 -0000 Delivered-To: [email protected] Received: (qmail 94828 invoked by uid 500); 30 Jul 2006 15:01:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 94817 invoked by uid 99); 30 Jul 2006 15:01:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Jul 2006 08:01:48 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nf-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Jul 2006 08:01:46 -0700 Received: by nf-out-0910.google.com with SMTP id i2so286246nfe for <[email protected]>; Sun, 30 Jul 2006 08:01:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=JpbjBFkP4IGpTxTXiBxn12XHd7TmHnp2wbfdp7TO43ilvp0Gz05Xac/6b3g7YNuh0sjegwplO2Ahfz6Cj1UHlEQjIpYVGBYr0Oiv2qYTX5kNLiQ1OrTLyMaHyuaayHwhVIZye9PkRjEP4zBfn+Y8gpDsUkk/xSBJ+L3zpkO51bs= Received: by 161.129.204.104 with SMTP id y15mr294628hud; Sun, 30 Jul 2006 08:01:23 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sun, 30 Jul 2006 08:01:23 -0700 (PDT) Message-ID: <[email protected]> Date: Sun, 30 Jul 2006 17:01:23 +0200 From: "Michael Boss" <[email protected]> To: "Jetspeed Developers List" <[email protected]> Subject: Re: Multiple different config of the same portlet In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_45010_18336163.1154271683459" References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_45010_18336163.1154271683459 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: base64 Content-Disposition: inline SW4gdGhlIHNwZWNpZmljYXRpb24gb2YgcG9ydGxldHMgaXQgaXMgd3JpdHRlbgooaHR0cDovL3dp a2kuamF2YS5uZXQvYmluL3ZpZXcvUG9ydGxldC9KU1IxNjhGQVEKKToKIk11bHRpcGxlIGluc3Rh bmNlcyBvZiBhIHNpbmdsZSBwb3J0bGV0IGNhbiBiZSBwbGFjZWQgb250byB0aGUgc2FtZSBwYWdl LgouLi4KVGhlIHBvcnRsZXQgc3BlYyBkb2VzIG5vdCBtYW5kYXRlIGFueSBvcmRlciBpbiB3aGlj aCB0aGUgZG9WaWV3KCkgKG9yIGZvcgp0aGF0IG1hdHRlciBkb0VkaXQoKSBvciBkb0hlbHAoKSkg YmUgY2FsbGVkIGZvciBtdWx0aXBsZSBwb3J0bGV0cyBvbiB0aGUKc2FtZSBwb3J0YWwgcGFnZS4g VGhpcyBtZWFucyBpZiB5b3Ugd2VyZSB0byBzZXQgYW4gYXR0cmlidXRlIGluIHRoZQpkb1ZpZXco KW1ldGhvZCBvZgpDaXR5UG9ydGxldCB5b3UgbWF5IG9yIG1heSBub3QgZ2V0IHRoZSBhdHRyaWJ1 dGUgaW4gdGhlIGRvVmlldygpIG9mCldlYXRoZXJQb3J0bGV0IChkZXBlbmRpbmcgb24gdGhlIHBv cnRhbCBzZXJ2ZXIgYW5kIHBlcmhhcHMgdGhlIGxheW91dCB0aGF0CnlvdSBhcmUgdXNpbmcpLiBU aGUgc3BlYywgaG93ZXZlciwgZG9lcyBtYW5kYXRlcyB0aGF0IHRoZSBwcm9jZXNzQWN0aW9uKCkg YmUKY2FsbGVkIGJlZm9yZSBhbnkgcmVuZGVyaW5nIG1ldGhvZCBpcyBjYWxsZWQuIFRoZXJlZm9y ZSB5b3UgbmVlZCB0byBlbnN1cmUKdGhhdCBhbnkgc3RhdGUgY2hhbmdlIHRoYXQgbmVlZHMgdG8g YmUgcHJvcGFnYXRlZCBhY3Jvc3MgbXVsdGlwbGUgcG9ydGxldHMKaW4gdGhlIHNhbWUgcG9ydGxl dCBhcHBsaWNhdGlvbiBpcyBjb25maW5lZCB0byB0aGUgcHJvY2Vzc0FjdGlvbigpIG1ldGhvZC4i CgpIZW5jZSBpdCBmb2xsb3dzIHRoYXQgd2l0aCB0aGUgbXVsdGlwbGUgaW5zdGFuY2VzIG9mIHRo ZSBzYW1lIHBvcnRsZXQgdGhlcmUKd2lsbCBiZSB0aGUgcHJvYmxlbXMuIEkgZG8gbm90IGtub3cs IGlzIGl0IHBvc3NpYmxlIHRvIGJ5cGFzcyB0IGhlbS4KSSB3YW50IHRvIG1ha2UgYXMgZm9sbG93 czoKSWBsbCBleHRlbmQgYWRtaW5pc3RyYXRpdmUgcG9ydGxldCBzbywgdGhhdCBpdCB3aWxsIGNv cHkgYSBwb3J0bGV0Cndhci1maWxlICh0aGF0IHBvcnRsZXQgd2hpY2ggc2hvdWxkIGhhdmUgIm1h bnkgaW5zdGFuY2VzIikgdG8gZGlwbG95CmRpcmVjdG9yeSBvZiBKZXRzcGVlZDIuIFRoZSBwb3J0 YWwgd2lsbCBhdXRvbWF0aWNhbGx5IGRlcGxveSB0aGlzIHBvcnRsZXQuCkFkbWluaXN0cmF0aXZl IHBvcnRsZXQgc2hvd3MgbWUgYWxsIGRlcGxveWVkIHBvcnRsZXRzLiBJIGNob29zZSB0aGF0LAp3 aGljaCBoYXMganVzdCBkZXBsb3llZCBhbmQgZWRpdCBpdHMgcHJlZmVyZW5jZXMuClRodXMgSSBo YXZlIG9uZSBwb3J0bGV0IGFuZCBpdHMgb25lIGluc3RhbmNlLCBhbmQgbm90IGFzIGVhcmxpZXIg SQp3YW50ZWQgdGhlcmUgYXJlIG11bHRpcGxlIGluc3RhbmNlcyBvZiB0aGUgc2FtZSBwb3J0bGV0 LgpJIGFtIHJpZ2h0PyAgV2hhdCBkbyB5b3UgdGhpbmsgb2YgaXQ/CgpNYW55IHRoYW5rcwoKCjI5 LjA3LjA2LCBNaWNoYWVsIEJvc3MgPGJhcm9uLm11ZW5oYXVzZW5AZ29vZ2xlbWFpbC5jb20gPiDO wdDJ08HMKMEpOgo+Cj4gPiBJIHRoaW5rIHdoYXQgeW91IGNvdWxkIGRvIGlzIG1ha2UgUFNNTCBw YWdlcyB0aGF0IGFyZQo+ID4gZWRpdGFibGUgYnkgdGhlIGFkbWluLCBhbmQgdmlld2FibGUgYnV0 IG5vdCBlZGl0YWJsZSBieSBhbGwgb3RoZXIKPiA+IHJvbGVzLgo+IEkgZG9udCBhYnNvbHV0ZWx5 IGtub3cgaG93IGl0IHRvIG1ha2UuCj4KPiBJbiBhIEpldHNwZWVkMi1Qb3J0YWwgaXMgYSAiUG9y dGxldCBBcHBsaWNhdGlvbiBNYW5hZ2VyIiAoQWRtaW4gPj4KPiBKZXRzcGVlZCBBZG1pbmlzdHJh dGl2ZSBQb3J0bGV0cyA+PiBQb3J0bGV0IEFwcGxpY2F0aW9uIE1hbmFnZXIpIHdoaWNoCj4gYWxs b3dzIHRvIGNob3NlbiBwb3J0bGV0IHdpdGggIlBvcnRsZXQgRW50aXR5IEJyb3dzZXIiIHRvIGFk ZCBhbiBuZXcKPiBlbnRpdHkuIFdoYXQgbWVhbnMgZW50aXR5IGluIHRoaXMgY2FzZT8gSXMgbWVh bnQgYW4gaW5zdGFuY2Ugb2YgYQo+IHBvcnRsZXQ/Cj4KPgo+IDI4LjA3LjA2LCBBYXJvbiBFdmFu czwgYWFyb25tZXZhbnNAZ21haWwuY29tPiDOwdDJ08HMKMEpOgo+ID4gSSBkbyBhbGwgbXkgc3R1 ZmYgYnkgZWRpdGluZyBQU01MIGJ5IGhhbmQuICBIb3dldmVyLCBpZiBJJ20gbm90Cj4gPiBtaXN0 YWtlbiwgSSB0aGluayB3aGF0IHlvdSBjb3VsZCBkbyBpcyBtYWtlIFBTTUwgcGFnZXMgdGhhdCBh cmUKPiA+IGVkaXRhYmxlIGJ5IHRoZSBhZG1pbiwgYW5kIHZpZXdhYmxlIGJ1dCBub3QgZWRpdGFi bGUgYnkgYWxsIG90aGVyCj4gPiByb2xlcy4KPiA+Cj4gPiBJbiB0aGF0IHdheSwgdGhlIGFkbWlu IHNob3VsZCBiZSBhYmxlIHRvIHNldCB0aGUgcHJlZmVyZW5jZSB0aGF0Cj4gPiBjb250cm9scyB3 aGF0IGNvbnRlbnQgaXMgc3Vja2VkIGludG8geW91ciBpZnJhbWUgcG9ydGxldCAgYnkgZWRpdGlu ZyBhCj4gPiBwcmVmZXJlbmNlLCBidXQgeW91ciB1c2VycyBzaG91bGQgbm90IGJlIGFibGUgdG8g Y2hhbmdlIHRoYXQuCj4gPgo+ID4gUGVyaGFwcyBzb21lb25lIGVsc2Ugd2lsbCBjaGltZSBpbiB0 aGF0IGhhcyBtb3JlIGV4cGVydGlzZSBpbiB0aGlzCj4gYXJlYS4uLgo+ID4KPiA+IE9uIDcvMjcv MDYsIE1pY2hhZWwgQm9zcyA8IGJhcm9uLm11ZW5oYXVzZW5AZ29vZ2xlbWFpbC5jb20gPiB3cm90 ZToKPiA+ID4gSW4gaGF2ZSBhIHBvcnRsZXQgbGlrZSBJRlJBTUUtcG9ydGxldC4gUG9ydGFsLUFk bWluaXN0cmF0b3IgY3JlYXRlcyBpdAo+ID4gPiBhbmQgY29uZmlndXJlcwo+ID4gPiBlYWNoIGlu c3RhbmNlIG9mIHBvcnRsZXQsIGkuZS4gYSBxdWFudGl0eSBvZCBpbnN0YW5jZXMgb2YgdGhlIHNh bWUKPiBQb3J0bGV0Cj4gPiA+IGNhbiBiZSBpbmZpbml0ZS4gSSB3YW50IHRvIHNldCB0aGUgcHJl ZmVyZW5jZXMgZm9yIGVhY2ggaW5zdGFuY2UKPiB0aHJvdWdoCj4gPiA+IHNvbWUgYWRtaW5pc3Ry YXRpdmUgaW50ZXJmYWNlLiBJIGRvbid0IHdhbnQgdXNlcnMgdG8gYmUgYWJsZSB0byBjaGFuZ2UK PiB0aGUKPiA+ID4gcHJlZmVyZW5jZXMuIEFuZCB0aGUgdXNlciBoYXMgYW4gb3Bwb3J0dW5pdHkg dGhlc2UgaW5zdGFuY2VzIHRvIHVzZS4KPiA+ID4KPiA+ID4gSWYgSSBhbSBub3QgbWlzdGFrZW4s IHRoZSBmaXJzdCB3YXkgKG11bHRpcGxlIHBvcnRsZXQgZW50cmllcyBpbgo+IHBvcnRsZXQueG1s KQo+ID4gPiBpdCB0byBtYWtlIGl0IHdpbGwgbm90IHR1cm4gb3V0LiBBbmQgdGhlIHNlY29uZCBJ IG5vdCBhYnNvbHV0ZWx5IGtub3cKPiBhcy4KPiA+ID4g8291bGQgeW91IG1lIGhlbHAgYW5kIGdp dmUgbWUgcGFpciBleGFtcGxlcz8KPiA+ID4KPiA+ID4gTWFueSB0aGFua3MKPiA+ID4KPiA+ID4g MjAwNi83LzI1LCBBYXJvbiBFdmFucyA8IGFhcm9ubWV2YW5zQGdtYWlsLmNvbSA+Ogo+ID4gPiA+ Cj4gPiA+ID4gVGhlcmUgYXJlIGEgZmV3IG9mIHdheXMgdG8gYWNjb21wbGlzaCB0aGlzLgo+ID4g PiA+Cj4gPiA+ID4gRmlyc3RseSwgeW91IGNhbiBoYXZlIG11bHRpcGxlIHBvcnRsZXQgZW50cmll cyBpbiB5b3VyIHBvcnRsZXQueG1sCj4gPiA+ID4gdGhhdCBhbGwgdXNlIHRoZSBzYW1lIFBvcnRs ZXQgQ2xhc3MgYnV0IGhhdmUgZGlmZmVyZW50IGluaXQtcGFyYW0KPiA+ID4gPiBhbmQvb3IgcHJl ZmVyZW5jZSB2YWx1ZXMuCj4gPiA+ID4KPiA+ID4gPiBTZWNvbmRseSwgaWYgYWxsIG9mIHlvdXIg cG9ydGxldHMgY29uZmlnIHdhcyB2aWEgcHJlZmVyZW5jZXMsIHRoZW4KPiB5b3UKPiA+ID4gPiBj b3VsZCBoYXZlIGEgc2luZ2xlIGVudHJ5IGluIHlvdXIgcG9ydGxldC54bWwgYnV0IGRvIHRoZSBw cmVmZXJlbmNlCj4gPiA+ID4gY29uZmlndXJhdGlvbiBpbiBQU01MIHBhZ2VzLgo+ID4gPiA+Cj4g PiA+ID4gSFRILAo+ID4gPiA+IGFhcm9uCj4gPiA+ID4KPiA+ID4gPiBPbiA3LzI0LzA2LCBNaWNo YWVsIEJvc3MgPCBiYXJvbi5tdWVuaGF1c2VuQGdvb2dsZW1haWwuY29tPiB3cm90ZToKPiA+ID4g PiA+IEhpIEkgaGF2ZSBkZXZlbG9wZWQgYSBQb3J0bGV0IGFuZCBzdWNlc3NmdWxseSBkZXBsb3ll ZCB0aGlzIGFzIGl0cwo+IG93bgo+ID4gPiA+IHdlYgo+ID4gPiA+ID4gYXBwLgo+ID4gPiA+ID4K PiA+ID4gPiA+IEkga25vdyB0aGF0IGNhbiBiZSBjb25maWd1cmVkIGRpZmZlcmVudGx5IG9uIGlu c3RhbmNpYXRpb24uIFdoYXQgSQo+IHdhbnQKPiA+ID4gPiB0bwo+ID4gPiA+ID4gZG8gaXMgYm9v dCB1cCBtdWx0aXBsZSBpbnN0YW5jZXMgb2YgdGhpcyBwb3J0bGV0IChhbGwgY29uZmlndXJlZAo+ ID4gPiA+ID4gZGlmZmVyZW50bHkpIHdpdGhvdXQgaGF2aW5nIHRvIGNyZWF0ZSB0aGVtIGFzIHNl cGVyYXRlIHdlYiBhcHBzCj4gPiA+ID4gPgo+ID4gPiA+ID4gSXMgdGhpcyBwb3NzaWJsZT8KPiA+ ID4gPiA+Cj4gPiA+ID4gPiBNYW55IHRoYW5rcwo+ID4gPiA+ID4KPiA+ID4gPiA+IEJhcm9uCj4g PiA+ID4gPgo+ID4gPiA+ID4KPiA+ID4gPgo+ID4gPiA+Cj4gLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tCj4gPiA+ID4g VG8gdW5zdWJzY3JpYmUsIGUtbWFpbDogamV0c3BlZWQtZGV2LXVuc3Vic2NyaWJlQHBvcnRhbHMu YXBhY2hlLm9yZwo+ID4gPiA+IEZvciBhZGRpdGlvbmFsIGNvbW1hbmRzLCBlLW1haWw6IGpldHNw ZWVkLWRldi1oZWxwQHBvcnRhbHMuYXBhY2hlLm9yZwo+Cj4gPiA+ID4KPiA+ID4gPgo+ID4gPgo+ ID4KPgo= ------=_Part_45010_18336163.1154271683459-- From [email protected] Sun Jul 30 22:44:51 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97323 invoked from network); 30 Jul 2006 22:44:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Jul 2006 22:44:50 -0000 Received: (qmail 7176 invoked by uid 500); 30 Jul 2006 22:44:49 -0000 Delivered-To: [email protected] Received: (qmail 7148 invoked by uid 500); 30 Jul 2006 22:44:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 7137 invoked by uid 500); 30 Jul 2006 22:44:49 -0000 Delivered-To: [email protected] Received: (qmail 7134 invoked by uid 99); 30 Jul 2006 22:44:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Jul 2006 15:44:49 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Jul 2006 15:44:48 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E931B41000C for <[email protected]>; Sun, 30 Jul 2006 22:42:14 +0000 (GMT) Message-ID: <3502048.1154299334952.JavaMail.jira@brutus> Date: Sun, 30 Jul 2006 15:42:14 -0700 (PDT) From: =?utf-8?Q?Jacek_Wi=C5=9Blicki_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Commented: (JS2-556) decorator.vm in portlet decorators not overriden In-Reply-To: <27134776.1153163294004.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-556?page=3Dcomments#action_1= 2424449 ]=20 =20 Jacek Wi=C5=9Blicki commented on JS2-556: ------------------------------------ In case of a plotle (not layout)t decorator? It doesn't work, anyway :( The= comment in the default decorator.vm states: This is the default template to be used for rendering decorations. If you= =20 find you cannot accomplish your design requirements by defining a custom style sheet for your decoration, you can define your own decorator.vm in=20 the root of your decortaion. This will be used instead of the default. > decorator.vm in portlet decorators not overriden > ------------------------------------------------ > > Key: JS2-556 > URL: http://issues.apache.org/jira/browse/JS2-556 > Project: Jetspeed 2 > Issue Type: Bug > Components: Layout > Affects Versions: 2.0-dev/cvs, 2.1, 2.1-dev > Environment: any > Reporter: Jacek Wi=C5=9Blicki > Assigned To: David Sean Taylor > > I cannot override the default decorator.vm in my portlet decorator. Altho= ugh the file is created in my decorator's home, the default one is still us= ed for rendering portlets. --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= p://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Jul 30 22:54:45 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1347 invoked from network); 30 Jul 2006 22:54:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Jul 2006 22:54:45 -0000 Received: (qmail 12160 invoked by uid 500); 30 Jul 2006 22:54:44 -0000 Delivered-To: [email protected] Received: (qmail 12126 invoked by uid 500); 30 Jul 2006 22:54:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 12115 invoked by uid 500); 30 Jul 2006 22:54:43 -0000 Delivered-To: [email protected] Received: (qmail 12112 invoked by uid 99); 30 Jul 2006 22:54:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Jul 2006 15:54:43 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Jul 2006 15:54:43 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id BA3D641000C for <[email protected]>; Sun, 30 Jul 2006 22:52:14 +0000 (GMT) Message-ID: <29880808.1154299934760.JavaMail.jira@brutus> Date: Sun, 30 Jul 2006 15:52:14 -0700 (PDT) From: =?utf-8?Q?Jacek_Wi=C5=9Blicki_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Commented: (JS2-556) decorator.vm in portlet decorators not overriden In-Reply-To: <27134776.1153163294004.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-556?page=3Dcomments#action_1= 2424451 ]=20 =20 Jacek Wi=C5=9Blicki commented on JS2-556: ------------------------------------ It should be: "In case of a portlet (not layout) decorator"...=20 > decorator.vm in portlet decorators not overriden > ------------------------------------------------ > > Key: JS2-556 > URL: http://issues.apache.org/jira/browse/JS2-556 > Project: Jetspeed 2 > Issue Type: Bug > Components: Layout > Affects Versions: 2.0-dev/cvs, 2.1, 2.1-dev > Environment: any > Reporter: Jacek Wi=C5=9Blicki > Assigned To: David Sean Taylor > > I cannot override the default decorator.vm in my portlet decorator. Altho= ugh the file is created in my decorator's home, the default one is still us= ed for rendering portlets. --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= p://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 31 13:57:41 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52919 invoked from network); 31 Jul 2006 13:57:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jul 2006 13:57:40 -0000 Received: (qmail 81802 invoked by uid 500); 31 Jul 2006 13:57:39 -0000 Delivered-To: [email protected] Received: (qmail 81760 invoked by uid 500); 31 Jul 2006 13:57:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 81749 invoked by uid 99); 31 Jul 2006 13:57:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jul 2006 06:57:38 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nf-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jul 2006 06:57:36 -0700 Received: by nf-out-0910.google.com with SMTP id i2so554368nfe for <[email protected]>; Mon, 31 Jul 2006 06:57:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ot2cNrsulpHYJx/TUhllno1XYohzqsfrgHbXJqKYr9c2IomdMOKpvlWAvg+YbHz4TwJuzWFJ+Sne+X22yq10EH4Bug2EglgiZjmEiXCvvlJ3IR2yk6HeNFXBwYraWFHGODT2uw42SZXrrLZO0aEHI9tkPOer5Ys13YKbEO7syxI= Received: by 161.129.204.104 with SMTP id l10mr2051271nfi; Mon, 31 Jul 2006 06:57:13 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 31 Jul 2006 06:57:13 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 31 Jul 2006 09:57:13 -0400 From: "Aaron Evans" <[email protected]> To: "Jetspeed Developers List" <[email protected]> Subject: Re: Multiple different config of the same portlet In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: base64 Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N T24gNy8zMC8wNiwgTWljaGFlbCBCb3NzIDxiYXJvbi5tdWVuaGF1c2VuQGdvb2dsZW1haWwuY29t PiB3cm90ZToKPiBJbiB0aGUgc3BlY2lmaWNhdGlvbiBvZiBwb3J0bGV0cyBpdCBpcyB3cml0dGVu Cj4gKGh0dHA6Ly93aWtpLmphdmEubmV0L2Jpbi92aWV3L1BvcnRsZXQvSlNSMTY4RkFRCj4gKToK PiAiTXVsdGlwbGUgaW5zdGFuY2VzIG9mIGEgc2luZ2xlIHBvcnRsZXQgY2FuIGJlIHBsYWNlZCBv bnRvIHRoZSBzYW1lIHBhZ2UuCj4gLi4uCj4gVGhlIHBvcnRsZXQgc3BlYyBkb2VzIG5vdCBtYW5k YXRlIGFueSBvcmRlciBpbiB3aGljaCB0aGUgZG9WaWV3KCkgKG9yIGZvcgo+IHRoYXQgbWF0dGVy IGRvRWRpdCgpIG9yIGRvSGVscCgpKSBiZSBjYWxsZWQgZm9yIG11bHRpcGxlIHBvcnRsZXRzIG9u IHRoZQo+IHNhbWUgcG9ydGFsIHBhZ2UuIFRoaXMgbWVhbnMgaWYgeW91IHdlcmUgdG8gc2V0IGFu IGF0dHJpYnV0ZSBpbiB0aGUKPiBkb1ZpZXcoKW1ldGhvZCBvZgo+IENpdHlQb3J0bGV0IHlvdSBt YXkgb3IgbWF5IG5vdCBnZXQgdGhlIGF0dHJpYnV0ZSBpbiB0aGUgZG9WaWV3KCkgb2YKPiBXZWF0 aGVyUG9ydGxldCAoZGVwZW5kaW5nIG9uIHRoZSBwb3J0YWwgc2VydmVyIGFuZCBwZXJoYXBzIHRo ZSBsYXlvdXQgdGhhdAo+IHlvdSBhcmUgdXNpbmcpLiBUaGUgc3BlYywgaG93ZXZlciwgZG9lcyBt YW5kYXRlcyB0aGF0IHRoZSBwcm9jZXNzQWN0aW9uKCkgYmUKPiBjYWxsZWQgYmVmb3JlIGFueSBy ZW5kZXJpbmcgbWV0aG9kIGlzIGNhbGxlZC4gVGhlcmVmb3JlIHlvdSBuZWVkIHRvIGVuc3VyZQo+ IHRoYXQgYW55IHN0YXRlIGNoYW5nZSB0aGF0IG5lZWRzIHRvIGJlIHByb3BhZ2F0ZWQgYWNyb3Nz IG11bHRpcGxlIHBvcnRsZXRzCj4gaW4gdGhlIHNhbWUgcG9ydGxldCBhcHBsaWNhdGlvbiBpcyBj b25maW5lZCB0byB0aGUgcHJvY2Vzc0FjdGlvbigpIG1ldGhvZC4iCj4KPiBIZW5jZSBpdCBmb2xs b3dzIHRoYXQgd2l0aCB0aGUgbXVsdGlwbGUgaW5zdGFuY2VzIG9mIHRoZSBzYW1lIHBvcnRsZXQg dGhlcmUKPiB3aWxsIGJlIHRoZSBwcm9ibGVtcy4gSSBkbyBub3Qga25vdywgaXMgaXQgcG9zc2li bGUgdG8gYnlwYXNzIHQgaGVtLgoKTm8sIG5vIHByb2JsZW1zIHJlYWxseS4gIFR3byBpbnN0YW5j ZXMgb2YgdGhlIHNhbWUgcG9ydGxldCBvbiBhIHBhZ2UKY2FuIGFjdCBpbmRlcGVuZGVudGx5IG9m IGVhY2ggb3RoZXIuICBUaGUgcG9pbnQgYWJvdmUgaXMganVzdCB0aGF0IGlmCnlvdSBuZWVkIHR3 byBpbnN0YW5jZXMgb2YgYSBwb3J0bGV0IG9uIHRoZSBzYW1lIHBhZ2UgdG8gYm90aCByZWZsZWN0 IGEKY2hhbmdlIHRvIHNheSBhIHVzZXIgc2Vzc2lvbiBhdHRyaWJ1dGUgaW4gdGhlIFBPUlRMRVRf QVBQTElDQVRJT04Kc2NvcGUsIHRoZW4geW91IG5lZWQgdG8gdGFrZSBjYXJlIG9mIHRoYXQgaW4g dGhlIGFjdGlvbiBwaGFzZS4KCj4gSSB3YW50IHRvIG1ha2UgYXMgZm9sbG93czoKPiBJYGxsIGV4 dGVuZCBhZG1pbmlzdHJhdGl2ZSBwb3J0bGV0IHNvLCB0aGF0IGl0IHdpbGwgY29weSBhIHBvcnRs ZXQKPiB3YXItZmlsZSAodGhhdCBwb3J0bGV0IHdoaWNoIHNob3VsZCBoYXZlICJtYW55IGluc3Rh bmNlcyIpIHRvIGRpcGxveQo+IGRpcmVjdG9yeSBvZiBKZXRzcGVlZDIuIFRoZSBwb3J0YWwgd2ls bCBhdXRvbWF0aWNhbGx5IGRlcGxveSB0aGlzIHBvcnRsZXQuCj4gQWRtaW5pc3RyYXRpdmUgcG9y dGxldCBzaG93cyBtZSBhbGwgZGVwbG95ZWQgcG9ydGxldHMuIEkgY2hvb3NlIHRoYXQsCj4gd2hp Y2ggaGFzIGp1c3QgZGVwbG95ZWQgYW5kIGVkaXQgaXRzIHByZWZlcmVuY2VzLgo+IFRodXMgSSBo YXZlIG9uZSBwb3J0bGV0IGFuZCBpdHMgb25lIGluc3RhbmNlLCBhbmQgbm90IGFzIGVhcmxpZXIg SQo+IHdhbnRlZCB0aGVyZSBhcmUgbXVsdGlwbGUgaW5zdGFuY2VzIG9mIHRoZSBzYW1lIHBvcnRs ZXQuCj4gSSBhbSByaWdodD8gIFdoYXQgZG8geW91IHRoaW5rIG9mIGl0Pwo+CgpJZiB5b3UgZ28g aW50byB0aGUgUG9ydGFsIFNpdGUgTWFuYWdlciBhbmQgY3JlYXRlIGEgbmV3IHBhZ2UuICBUaGVu CmJyb3dzZSB0byB0aGF0IHBhZ2UsIHVzZSB0aGUgcGFnZSBlZGl0IG1vZGUgYW5kIGFkZCB5b3Vy IHBvcnRsZXQgdG8KaXQuICBZb3Ugbm93IGhhdmUgYSBzZXBhcmF0ZSBpbnN0YW5jZSBvZiB0aGUg cG9ydGxldCBvbiBhIG5ldyBwYWdlLgoKVW5mb3J0dW5hdGVseSwgaXQgbG9va3MgYXMgdGhvdWdo IHlvdSBjYW4ndCBlZGl0IGl0cyBwcmVmZXJlbmNlcyBpbgp0aGlzIHdheSBzbyB1bmxlc3MgeW91 ciBwb3J0bGV0IGhhcyBhbiBlZGl0IG1vZGUgZm9yIGVkaXRpbmcgdGhlCnByZWZlcmVuY2VzLCB0 aGUgYWx0ZXJuYXRpdmUgaXMgdG8gbWFrZSB0aGUgUFNNTCBwYWdlcyBieSBoYW5kIGluIGFuCmVk aXRvciBhbmQgZGVwbG95IHRoZW0gdG8gamV0c3BlZWQvV0VCLUlORi9wYWdlcy4KCm4gZWFjaCBQ U01MIHBhZ2UsIGluY2x1ZGUgeW91ciBwb3J0bGV0IGFzIGEgcG9ydGxldCBmcmFnbWVudCBhbmQg bWFrZQpzdXJlIHlvdSB1c2UgZGlzdGluY3QgZnJhZ21lbnQgSURzIGFuZCB0aGVuIGN1c3RvbWl6 ZSB0aGUgcHJlZmVyZW5jZXMKYXMgbmVjZXNzYXJ5LiAgRXhhbXBsZSBvZiBhIHBvcnRsZXQgZnJh Z21lbnQ6Cgo8ZnJhZ21lbnQgaWQ9Im15LXBvcnRsZXQtMiIgdHlwZT0icG9ydGxldCIKbmFtZT0i bXktcG9ydGxldC1hcHA6Ok15UG9ydGxldE5hbWUiPgoJCTx0aXRsZT5XZWxjb21lPC90aXRsZT4K CQk8cHJlZmVyZW5jZSBuYW1lPSJjb250ZW50UHJmZXJlbmNlIiByZWFkT25seT0idHJ1ZSI+CiAg ICAJCTx2YWx1ZT4vV0VCLUlORi9jb250ZW50L3dlbGNvbWUuaHRtbDwvdmFsdWU+CgkJPC9wcmVm ZXJlbmNlPgoJPC9mcmFnbWVudD4KCj4gTWFueSB0aGFua3MKPgo+Cj4gMjkuMDcuMDYsIE1pY2hh ZWwgQm9zcyA8YmFyb24ubXVlbmhhdXNlbkBnb29nbGVtYWlsLmNvbSA+IM7B0MnTwcwowSk6Cj4g Pgo+ID4gPiBJIHRoaW5rIHdoYXQgeW91IGNvdWxkIGRvIGlzIG1ha2UgUFNNTCBwYWdlcyB0aGF0 IGFyZQo+ID4gPiBlZGl0YWJsZSBieSB0aGUgYWRtaW4sIGFuZCB2aWV3YWJsZSBidXQgbm90IGVk aXRhYmxlIGJ5IGFsbCBvdGhlcgo+ID4gPiByb2xlcy4KPiA+IEkgZG9udCBhYnNvbHV0ZWx5IGtu b3cgaG93IGl0IHRvIG1ha2UuCj4gPgo+ID4gSW4gYSBKZXRzcGVlZDItUG9ydGFsIGlzIGEgIlBv cnRsZXQgQXBwbGljYXRpb24gTWFuYWdlciIgKEFkbWluID4+Cj4gPiBKZXRzcGVlZCBBZG1pbmlz dHJhdGl2ZSBQb3J0bGV0cyA+PiBQb3J0bGV0IEFwcGxpY2F0aW9uIE1hbmFnZXIpIHdoaWNoCj4g PiBhbGxvd3MgdG8gY2hvc2VuIHBvcnRsZXQgd2l0aCAiUG9ydGxldCBFbnRpdHkgQnJvd3NlciIg dG8gYWRkIGFuIG5ldwo+ID4gZW50aXR5LiBXaGF0IG1lYW5zIGVudGl0eSBpbiB0aGlzIGNhc2U/ IElzIG1lYW50IGFuIGluc3RhbmNlIG9mIGEKPiA+IHBvcnRsZXQ/Cj4gPgo+ID4KPiA+IDI4LjA3 LjA2LCBBYXJvbiBFdmFuczwgYWFyb25tZXZhbnNAZ21haWwuY29tPiDOwdDJ08HMKMEpOgo+ID4g PiBJIGRvIGFsbCBteSBzdHVmZiBieSBlZGl0aW5nIFBTTUwgYnkgaGFuZC4gIEhvd2V2ZXIsIGlm IEknbSBub3QKPiA+ID4gbWlzdGFrZW4sIEkgdGhpbmsgd2hhdCB5b3UgY291bGQgZG8gaXMgbWFr ZSBQU01MIHBhZ2VzIHRoYXQgYXJlCj4gPiA+IGVkaXRhYmxlIGJ5IHRoZSBhZG1pbiwgYW5kIHZp ZXdhYmxlIGJ1dCBub3QgZWRpdGFibGUgYnkgYWxsIG90aGVyCj4gPiA+IHJvbGVzLgo+ID4gPgo+ ID4gPiBJbiB0aGF0IHdheSwgdGhlIGFkbWluIHNob3VsZCBiZSBhYmxlIHRvIHNldCB0aGUgcHJl ZmVyZW5jZSB0aGF0Cj4gPiA+IGNvbnRyb2xzIHdoYXQgY29udGVudCBpcyBzdWNrZWQgaW50byB5 b3VyIGlmcmFtZSBwb3J0bGV0ICBieSBlZGl0aW5nIGEKPiA+ID4gcHJlZmVyZW5jZSwgYnV0IHlv dXIgdXNlcnMgc2hvdWxkIG5vdCBiZSBhYmxlIHRvIGNoYW5nZSB0aGF0Lgo+ID4gPgo+ID4gPiBQ ZXJoYXBzIHNvbWVvbmUgZWxzZSB3aWxsIGNoaW1lIGluIHRoYXQgaGFzIG1vcmUgZXhwZXJ0aXNl IGluIHRoaXMKPiA+IGFyZWEuLi4KPiA+ID4KPiA+ID4gT24gNy8yNy8wNiwgTWljaGFlbCBCb3Nz IDwgYmFyb24ubXVlbmhhdXNlbkBnb29nbGVtYWlsLmNvbSA+IHdyb3RlOgo+ID4gPiA+IEluIGhh dmUgYSBwb3J0bGV0IGxpa2UgSUZSQU1FLXBvcnRsZXQuIFBvcnRhbC1BZG1pbmlzdHJhdG9yIGNy ZWF0ZXMgaXQKPiA+ID4gPiBhbmQgY29uZmlndXJlcwo+ID4gPiA+IGVhY2ggaW5zdGFuY2Ugb2Yg cG9ydGxldCwgaS5lLiBhIHF1YW50aXR5IG9kIGluc3RhbmNlcyBvZiB0aGUgc2FtZQo+ID4gUG9y dGxldAo+ID4gPiA+IGNhbiBiZSBpbmZpbml0ZS4gSSB3YW50IHRvIHNldCB0aGUgcHJlZmVyZW5j ZXMgZm9yIGVhY2ggaW5zdGFuY2UKPiA+IHRocm91Z2gKPiA+ID4gPiBzb21lIGFkbWluaXN0cmF0 aXZlIGludGVyZmFjZS4gSSBkb24ndCB3YW50IHVzZXJzIHRvIGJlIGFibGUgdG8gY2hhbmdlCj4g PiB0aGUKPiA+ID4gPiBwcmVmZXJlbmNlcy4gQW5kIHRoZSB1c2VyIGhhcyBhbiBvcHBvcnR1bml0 eSB0aGVzZSBpbnN0YW5jZXMgdG8gdXNlLgo+ID4gPiA+Cj4gPiA+ID4gSWYgSSBhbSBub3QgbWlz dGFrZW4sIHRoZSBmaXJzdCB3YXkgKG11bHRpcGxlIHBvcnRsZXQgZW50cmllcyBpbgo+ID4gcG9y dGxldC54bWwpCj4gPiA+ID4gaXQgdG8gbWFrZSBpdCB3aWxsIG5vdCB0dXJuIG91dC4gQW5kIHRo ZSBzZWNvbmQgSSBub3QgYWJzb2x1dGVseSBrbm93Cj4gPiBhcy4KPiA+ID4gPiDzb3VsZCB5b3Ug bWUgaGVscCBhbmQgZ2l2ZSBtZSBwYWlyIGV4YW1wbGVzPwo+ID4gPiA+Cj4gPiA+ID4gTWFueSB0 aGFua3MKPiA+ID4gPgo+ID4gPiA+IDIwMDYvNy8yNSwgQWFyb24gRXZhbnMgPCBhYXJvbm1ldmFu c0BnbWFpbC5jb20gPjoKPiA+ID4gPiA+Cj4gPiA+ID4gPiBUaGVyZSBhcmUgYSBmZXcgb2Ygd2F5 cyB0byBhY2NvbXBsaXNoIHRoaXMuCj4gPiA+ID4gPgo+ID4gPiA+ID4gRmlyc3RseSwgeW91IGNh biBoYXZlIG11bHRpcGxlIHBvcnRsZXQgZW50cmllcyBpbiB5b3VyIHBvcnRsZXQueG1sCj4gPiA+ ID4gPiB0aGF0IGFsbCB1c2UgdGhlIHNhbWUgUG9ydGxldCBDbGFzcyBidXQgaGF2ZSBkaWZmZXJl bnQgaW5pdC1wYXJhbQo+ID4gPiA+ID4gYW5kL29yIHByZWZlcmVuY2UgdmFsdWVzLgo+ID4gPiA+ ID4KPiA+ID4gPiA+IFNlY29uZGx5LCBpZiBhbGwgb2YgeW91ciBwb3J0bGV0cyBjb25maWcgd2Fz IHZpYSBwcmVmZXJlbmNlcywgdGhlbgo+ID4geW91Cj4gPiA+ID4gPiBjb3VsZCBoYXZlIGEgc2lu Z2xlIGVudHJ5IGluIHlvdXIgcG9ydGxldC54bWwgYnV0IGRvIHRoZSBwcmVmZXJlbmNlCj4gPiA+ ID4gPiBjb25maWd1cmF0aW9uIGluIFBTTUwgcGFnZXMuCj4gPiA+ID4gPgo+ID4gPiA+ID4gSFRI LAo+ID4gPiA+ID4gYWFyb24KPiA+ID4gPiA+Cj4gPiA+ID4gPiBPbiA3LzI0LzA2LCBNaWNoYWVs IEJvc3MgPCBiYXJvbi5tdWVuaGF1c2VuQGdvb2dsZW1haWwuY29tPiB3cm90ZToKPiA+ID4gPiA+ ID4gSGkgSSBoYXZlIGRldmVsb3BlZCBhIFBvcnRsZXQgYW5kIHN1Y2Vzc2Z1bGx5IGRlcGxveWVk IHRoaXMgYXMgaXRzCj4gPiBvd24KPiA+ID4gPiA+IHdlYgo+ID4gPiA+ID4gPiBhcHAuCj4gPiA+ ID4gPiA+Cj4gPiA+ID4gPiA+IEkga25vdyB0aGF0IGNhbiBiZSBjb25maWd1cmVkIGRpZmZlcmVu dGx5IG9uIGluc3RhbmNpYXRpb24uIFdoYXQgSQo+ID4gd2FudAo+ID4gPiA+ID4gdG8KPiA+ID4g PiA+ID4gZG8gaXMgYm9vdCB1cCBtdWx0aXBsZSBpbnN0YW5jZXMgb2YgdGhpcyBwb3J0bGV0IChh bGwgY29uZmlndXJlZAo+ID4gPiA+ID4gPiBkaWZmZXJlbnRseSkgd2l0aG91dCBoYXZpbmcgdG8g Y3JlYXRlIHRoZW0gYXMgc2VwZXJhdGUgd2ViIGFwcHMKPiA+ID4gPiA+ID4KPiA+ID4gPiA+ID4g SXMgdGhpcyBwb3NzaWJsZT8KPiA+ID4gPiA+ID4KPiA+ID4gPiA+ID4gTWFueSB0aGFua3MKPiA+ ID4gPiA+ID4KPiA+ID4gPiA+ID4gQmFyb24KPiA+ID4gPiA+ID4KPiA+ID4gPiA+ID4KPiA+ID4g PiA+Cj4gPiA+ID4gPgo+ID4gLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tCj4gPiA+ID4gPiBUbyB1bnN1YnNjcmliZSwg ZS1tYWlsOiBqZXRzcGVlZC1kZXYtdW5zdWJzY3JpYmVAcG9ydGFscy5hcGFjaGUub3JnCj4gPiA+ ID4gPiBGb3IgYWRkaXRpb25hbCBjb21tYW5kcywgZS1tYWlsOiBqZXRzcGVlZC1kZXYtaGVscEBw b3J0YWxzLmFwYWNoZS5vcmcKPiA+Cj4gPiA+ID4gPgo+ID4gPiA+ID4KPiA+ID4gPgo+ID4gPgo+ ID4KPgo= From [email protected] Tue Aug 01 06:49:53 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 382 invoked from network); 1 Aug 2006 06:49:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Aug 2006 06:49:53 -0000 Received: (qmail 45762 invoked by uid 500); 1 Aug 2006 06:49:52 -0000 Delivered-To: [email protected] Received: (qmail 45581 invoked by uid 500); 1 Aug 2006 06:49:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jetspeed-dev.portals.apache.org> Reply-To: "Jetspeed Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 45569 invoked by uid 500); 1 Aug 2006 06:49:50 -0000 Delivered-To: [email protected] Received: (qmail 45562 invoked by uid 99); 1 Aug 2006 06:49:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jul 2006 23:49:50 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jul 2006 23:49:49 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 81520410011 for <[email protected]>; Tue, 1 Aug 2006 06:47:18 +0000 (GMT) Message-ID: <8619070.1154414838527.JavaMail.jira@brutus> Date: Mon, 31 Jul 2006 23:47:18 -0700 (PDT) From: "David Sean Taylor (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (JS2-556) decorator.vm in portlet decorators not overriden In-Reply-To: <27134776.1153163294004.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-556?page=3Dcomments#action_1= 2424763 ]=20 =20 David Sean Taylor commented on JS2-556: --------------------------------------- With layout decorators, use header.vm With portlet decorators, use decorator.vm I tested this again tonight, still can't reproduce the bug Im sorry but it WFM on svn trunk > decorator.vm in portlet decorators not overriden > ------------------------------------------------ > > Key: JS2-556 > URL: http://issues.apache.org/jira/browse/JS2-556 > Project: Jetspeed 2 > Issue Type: Bug > Components: Layout > Affects Versions: 2.0-dev/cvs, 2.1, 2.1-dev > Environment: any > Reporter: Jacek Wi=C5=9Blicki > Assigned To: David Sean Taylor > > I cannot override the default decorator.vm in my portlet decorator. Altho= ugh the file is created in my decorator's home, the default one is still us= ed for rendering portlets. --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= p://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Wed Mar 06 13:31:51 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15135 invoked from network); 6 Mar 2002 13:31:51 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 6 Mar 2002 13:31:51 -0000 Received: (qmail 4696 invoked by uid 97); 6 Mar 2002 13:31:51 -0000 Delivered-To: [email protected] Received: (qmail 4657 invoked by uid 97); 6 Mar 2002 13:31:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J CVS List" <log4j-cvs.jakarta.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 4646 invoked from network); 6 Mar 2002 13:31:49 -0000 Date: 6 Mar 2002 13:31:48 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-log4j/src/xdocs download.xml index.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ceki 02/03/06 05:31:48 Modified: src/xdocs download.xml index.xml Log: Changed category refereces to logger on the introduction page. Also changed the indentation. Revision Changes Path 1.48 +6 -6 jakarta-log4j/src/xdocs/download.xml Index: download.xml =================================================================== RCS file: /home/cvs/jakarta-log4j/src/xdocs/download.xml,v retrieving revision 1.47 retrieving revision 1.48 diff -u -r1.47 -r1.48 --- download.xml 18 Feb 2002 23:40:38 -0000 1.47 +++ download.xml 6 Mar 2002 13:31:48 -0000 1.48 @@ -54,16 +54,16 @@ </section> - <section name="log4j version 1.2 beta3"> - <p>log4j 1.2 beta 3 is now available in <a - href="../jakarta-log4j-1.2beta3.tar.gz"><b>TAR.GZ</b></a> + <section name="log4j version 1.2 beta4"> + <p>log4j 1.2 beta 4 is now available in <a + href="../jakarta-log4j-1.2beta4.tar.gz"><b>TAR.GZ</b></a> format or in <a - href="../jakarta-log4j-1.2beta3.zip"><b>ZIP</b></a> format. + href="../jakarta-log4j-1.2beta4.zip"><b>ZIP</b></a> format. </p> <p>In addition to many performance improvements, bug fixes, and - other small enhancements, log4j 1.2 beta3 adds JMX support, + other small enhancements, log4j 1.2 beta4 adds JMX support, Mapped Diagnostic Contexts, and buffered IO capability. One important change is the replacement of the Category class with Logger class and the Priority with the Level in order to @@ -71,7 +71,7 @@ </p> <p>All changes except the removal of deprecated methods are backward - compatible such that log4j 1.2beta3 can be considered a drop in + compatible such that log4j 1.2beta4 can be considered a drop in replacement for log4j 1.1.3. </p> </section> 1.8 +56 -53 jakarta-log4j/src/xdocs/index.xml Index: index.xml =================================================================== RCS file: /home/cvs/jakarta-log4j/src/xdocs/index.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- index.xml 8 Feb 2002 13:23:30 -0000 1.7 +++ index.xml 6 Mar 2002 13:31:48 -0000 1.8 @@ -10,60 +10,63 @@ <body> + <section name="Introduction"> + <p>Inserting log statements into your code is a low-tech method + for debugging it. It may also be the only way because + debuggers are not always available or applicable. This is + often the case for distributed applications.</p> + + <p>On the other hand, some people argue that log statements + pollute source code and decrease legibility. (We believe that + the contrary is true). In the Java language where a + preprocessor is not available, log statements increase the + size of the code and reduce its speed, even when logging is + turned off. Given that a reasonably sized application may + contain thousands of log statements, speed is of particular + importance.</p> + + + <p>With log4j it is possible to enable logging at runtime + without modifying the application binary. The log4j package is + designed so that these statements can remain in shipped code + without incurring a heavy performance cost. Logging behavior + can be controlled by editing a configuration file, without + touching the application binary.</p> + + <p>Logging equips the developer with <i>detailed context</i> for + application failures. On the other hand, testing provides + quality assurance and confidence in the application. Logging + and testing should not be confused. They are + complementary. When logging is wisely used, it can prove to be + an essential tool.</p> + + <p>One of the distinctive features of log4j is the notion of + <i>inheritance</i> in loggers. Using a logger + <em>hierarchy</em> it is possible to control which log + statements are output at arbitrarily fine granularity but also + great ease. This helps reduce the volume of logged output and + minimize the cost of logging.</p> + + <p>The target of the log output can be a file, an + <code>OutputStream</code>, a <code>java.io.Writer</code>, a + remote log4j server, a remote Unix Syslog daemon, or even a NT + Event logger among many other output targets.</p> + + <p>On a 233 MHz ThinkPad running JDK 1.1.7B, it costs about 46 + nanoseconds to determine if that statement should be logged or + not. Actual logging is also quite fast, ranging from 79 + microseconds using the SimpleLayout, 164 microseconds using + the TTCCLayout and around a millisecond when printing + exceptions. The performance of the PatternLayout is almost as + good as the dedicated layouts, except that it is a lot more + flexible.</p> + + <p>The package is being constantly improved thanks to input from + users and code contributed by authors in the community. + </p> - -<section name="Introduction"> - -<p>Inserting log statements into your code is a low-tech method for -debugging it. It may also be the only way because debuggers are not -always available or applicable. This is often the case for -distributed applications.</p> - -<p>On the other hand, some people argue that log statements pollute -source code and decrease legibility. (We believe that the contrary is -true). In the Java language where a preprocessor is not available, -log statements increase the size of the code and reduce its speed, -even when logging is turned off. Given that a reasonably sized -application may contain thousands of log statements, speed is of -particular importance.</p> - - -<p>With log4j it is possible to enable logging at runtime without -modifying the application binary. The log4j package is designed so -that these statements can remain in shipped code without incurring a -heavy performance cost. Logging behavior can be controlled by editing -a configuration file, without touching the application binary.</p> - -<p>Logging equips the developer with <i>detailed context</i> for -application failures. On the other hand, testing provides quality -assurance and confidence in the application. Logging and testing -should not be confused. They are complementary. When logging is wisely -used, it can prove to be an essential tool.</p> - -<p>One of the distinctive features of log4j is the notion of -<i>inheritance</i> in categories. Using a category <em>hierarchy</em> -it is possible to control which log statements are output at -arbitrarily fine granularity but also great ease. This helps reduce -the volume of logged output and minimize the cost of logging.</p> - -<p>The target of the log output can be a file, an -<code>OutputStream</code>, a <code>java.io.Writer</code>, a remote -log4j server, a remote Unix Syslog daemon or even a NT Event logger.</p> - -<p>On a 233 MHz ThinkPad running JDK 1.1.7B, it costs about 46 -nanoseconds to determine if that statement should be logged or -not. Actual logging is also quite fast, ranging from 79 microseconds -using the SimpleLayout, 164 microseconds using the TTCCLayout and -around a millisecond when printing exceptions. The performance of the -PatternLayout is almost as good as the dedicated layouts, except that -it is a lot more flexible.</p> - -<p>The package is being constantly improved thanks to input from users -and code contributed by authors in the community.</p> - -</section> - -</body> + </section> + </body> </document> -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Mon Mar 11 23:43:49 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31179 invoked from network); 11 Mar 2002 23:43:48 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 11 Mar 2002 23:43:48 -0000 Received: (qmail 1738 invoked by uid 97); 11 Mar 2002 23:43:54 -0000 Delivered-To: [email protected] Received: (qmail 1686 invoked by uid 97); 11 Mar 2002 23:43:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J CVS List" <log4j-cvs.jakarta.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 1675 invoked from network); 11 Mar 2002 23:43:53 -0000 Date: 11 Mar 2002 23:43:46 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-log4j/tests/src/java/org/apache/log4j/customLogger XLogger.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ceki 02/03/11 15:43:46 Modified: . build.xml docs HISTORY src/java/org/apache/log4j Category.java src/java/org/apache/log4j/net SocketNode.java tests/src/java/org/apache/log4j LoggerTestCase.java tests/src/java/org/apache/log4j/customLogger XLogger.java Log: - In the Category class, the .getChainedPriority method has been replaced with getEffectiveLevel method. [*] Revision Changes Path 1.21 +1 -1 jakarta-log4j/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-log4j/build.xml,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- build.xml 18 Feb 2002 21:46:45 -0000 1.20 +++ build.xml 11 Mar 2002 23:43:45 -0000 1.21 @@ -14,7 +14,7 @@ <!-- prefixed with "env". --> <property environment="env"/> - <property name="version" value="1.2beta3"/> + <property name="version" value="1.2beta5"/> <!-- The base directory relative to which most targets are built --> <property name="base" value="."/> 1.85 +18 -4 jakarta-log4j/docs/HISTORY Index: HISTORY =================================================================== RCS file: /home/cvs/jakarta-log4j/docs/HISTORY,v retrieving revision 1.84 retrieving revision 1.85 diff -u -r1.84 -r1.85 --- HISTORY 22 Feb 2002 10:39:55 -0000 1.84 +++ HISTORY 11 Mar 2002 23:43:45 -0000 1.85 @@ -9,18 +9,32 @@ - Release of version 1.2 + (beta5) + + - In the Category class, the .getChainedPriority method has been + replaced with getEffectiveLevel method. [*] (beta4) - - Replaced the custom class loading based on he thread context class - loader with a simple Class.forName() call. Thanks to Dave Herman - on explaining the issues involved. See + - Replaced the custom class loading based on the thread context class + loader with a simple Class.forName() call. This solves two allied + but distinct problems encountered when using Ant with JUnit + although the bug is more general. In one instance of the + problem, log4j would throw java.lang.NoClassDefFoundError for + org/apache/log4j/AppenderSkeleton where log4j.jar and related + classes were clearly available to the Ant classloader. In another + incarnation, log4j would reject a custom appender claiming that it is + not assignable to a org.apache.log4j.Appender variable. This would + occur when log4j.jar was available to both the Ant classloader and the + system classloader. + + Thanks to Dave Herman for providing detailed scenarios exposing + the issues involved. See http://forum.java.sun.com/thread.jsp?forum=38&thread=70946 http://forum.java.sun.com/thread.jsp?forum=38&thread=70946#479697 http://marc.theaimsgroup.com/?l=ant-user&m=101139178705895&w=2 for more details. [*] -Class.forName(clazz); (beta3) 1.63 +33 -19 jakarta-log4j/src/java/org/apache/log4j/Category.java Index: Category.java =================================================================== RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/Category.java,v retrieving revision 1.62 retrieving revision 1.63 diff -u -r1.62 -r1.63 --- Category.java 11 Feb 2002 22:20:30 -0000 1.62 +++ Category.java 11 Mar 2002 23:43:45 -0000 1.63 @@ -249,7 +249,7 @@ void debug(Object message) { if(repository.isDisabled(Level.DEBUG_INT)) return; - if(Level.DEBUG.isGreaterOrEqual(this.getChainedLevel())) { + if(Level.DEBUG.isGreaterOrEqual(this.getEffectiveLevel())) { forcedLog(FQCN, Level.DEBUG, message, null); } } @@ -268,7 +268,7 @@ void debug(Object message, Throwable t) { if(repository.isDisabled(Level.DEBUG_INT)) return; - if(Level.DEBUG.isGreaterOrEqual(this.getChainedLevel())) + if(Level.DEBUG.isGreaterOrEqual(this.getEffectiveLevel())) forcedLog(FQCN, Level.DEBUG, message, t); } @@ -303,7 +303,7 @@ void error(Object message) { if(repository.isDisabled(Level.ERROR_INT)) return; - if(Level.ERROR.isGreaterOrEqual(this.getChainedLevel())) + if(Level.ERROR.isGreaterOrEqual(this.getEffectiveLevel())) forcedLog(FQCN, Level.ERROR, message, null); } @@ -320,7 +320,7 @@ void error(Object message, Throwable t) { if(repository.isDisabled(Level.ERROR_INT)) return; - if(Level.ERROR.isGreaterOrEqual(this.getChainedLevel())) + if(Level.ERROR.isGreaterOrEqual(this.getEffectiveLevel())) forcedLog(FQCN, Level.ERROR, message, t); } @@ -362,7 +362,7 @@ void fatal(Object message) { if(repository.isDisabled(Level.FATAL_INT)) return; - if(Level.FATAL.isGreaterOrEqual(this.getChainedLevel())) + if(Level.FATAL.isGreaterOrEqual(this.getEffectiveLevel())) forcedLog(FQCN, Level.FATAL, message, null); } @@ -379,7 +379,7 @@ void fatal(Object message, Throwable t) { if(repository.isDisabled(Level.FATAL_INT)) return; - if(Level.FATAL.isGreaterOrEqual(this.getChainedLevel())) + if(Level.FATAL.isGreaterOrEqual(this.getEffectiveLevel())) forcedLog(FQCN, Level.FATAL, message, t); } @@ -439,7 +439,7 @@ quickly as possible. */ public - Level getChainedLevel() { + Level getEffectiveLevel() { for(Category c = this; c != null; c=c.parent) { if(c.level != null) return c.level; @@ -448,6 +448,20 @@ } /** + + @deprecated Has been replaced by the {@link #getEffectiveLevel} + method. */ + public + Priority getChainedPriority() { + for(Category c = this; c != null; c=c.parent) { + if(c.level != null) + return c.level; + } + return null; // If reached will cause an NullPointerException. + } + + + /** Returns all the currently defined categories in the default hierarchy as an {@link java.util.Enumeration Enumeration}. @@ -676,7 +690,7 @@ void info(Object message) { if(repository.isDisabled(Level.INFO_INT)) return; - if(Level.INFO.isGreaterOrEqual(this.getChainedLevel())) + if(Level.INFO.isGreaterOrEqual(this.getEffectiveLevel())) forcedLog(FQCN, Level.INFO, message, null); } @@ -693,7 +707,7 @@ void info(Object message, Throwable t) { if(repository.isDisabled(Level.INFO_INT)) return; - if(Level.INFO.isGreaterOrEqual(this.getChainedLevel())) + if(Level.INFO.isGreaterOrEqual(this.getEffectiveLevel())) forcedLog(FQCN, Level.INFO, message, t); } @@ -747,7 +761,7 @@ boolean isDebugEnabled() { if(repository.isDisabled( Level.DEBUG_INT)) return false; - return Level.DEBUG.isGreaterOrEqual(this.getChainedLevel()); + return Level.DEBUG.isGreaterOrEqual(this.getEffectiveLevel()); } /** @@ -762,7 +776,7 @@ boolean isEnabledFor(Priority level) { if(repository.isDisabled(level.level)) return false; - return level.isGreaterOrEqual(this.getChainedLevel()); + return level.isGreaterOrEqual(this.getEffectiveLevel()); } /** @@ -776,7 +790,7 @@ boolean isInfoEnabled() { if(repository.isDisabled(Level.INFO_INT)) return false; - return Level.INFO.isGreaterOrEqual(this.getChainedLevel()); + return Level.INFO.isGreaterOrEqual(this.getEffectiveLevel()); } @@ -793,7 +807,7 @@ if(repository.isDisabled(priority.level)) { return; } - if(priority.isGreaterOrEqual(this.getChainedLevel())) { + if(priority.isGreaterOrEqual(this.getEffectiveLevel())) { String msg = getResourceBundleString(key); // if message corresponding to 'key' could not be found in the // resource bundle, then default to 'key'. @@ -817,7 +831,7 @@ if(repository.isDisabled(priority.level)) { return; } - if(priority.isGreaterOrEqual(this.getChainedLevel())) { + if(priority.isGreaterOrEqual(this.getEffectiveLevel())) { String pattern = getResourceBundleString(key); String msg; if(pattern == null) @@ -836,7 +850,7 @@ if(repository.isDisabled(priority.level)) { return; } - if(priority.isGreaterOrEqual(this.getChainedLevel())) + if(priority.isGreaterOrEqual(this.getEffectiveLevel())) forcedLog(FQCN, priority, message, t); } @@ -848,7 +862,7 @@ if(repository.isDisabled(priority.level)) { return; } - if(priority.isGreaterOrEqual(this.getChainedLevel())) + if(priority.isGreaterOrEqual(this.getEffectiveLevel())) forcedLog(FQCN, priority, message, null); } @@ -866,7 +880,7 @@ if(repository.isDisabled(level.level)) { return; } - if(level.isGreaterOrEqual(this.getChainedLevel())) { + if(level.isGreaterOrEqual(this.getEffectiveLevel())) { forcedLog(callerFQCN, level, message, t); } } @@ -1020,7 +1034,7 @@ if(repository.isDisabled( Level.WARN_INT)) return; - if(Level.WARN.isGreaterOrEqual(this.getChainedLevel())) + if(Level.WARN.isGreaterOrEqual(this.getEffectiveLevel())) forcedLog(FQCN, Level.WARN, message, null); } @@ -1037,7 +1051,7 @@ void warn(Object message, Throwable t) { if(repository.isDisabled(Level.WARN_INT)) return; - if(Level.WARN.isGreaterOrEqual(this.getChainedLevel())) + if(Level.WARN.isGreaterOrEqual(this.getEffectiveLevel())) forcedLog(FQCN, Level.WARN, message, t); } } 1.16 +1 -1 jakarta-log4j/src/java/org/apache/log4j/net/SocketNode.java Index: SocketNode.java =================================================================== RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/net/SocketNode.java,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- SocketNode.java 11 Feb 2002 12:22:53 -0000 1.15 +++ SocketNode.java 11 Mar 2002 23:43:45 -0000 1.16 @@ -68,7 +68,7 @@ event = (LoggingEvent) ois.readObject(); remoteLogger = hierarchy.getLogger(event.categoryName); event.logger = remoteLogger; - if(event.level.isGreaterOrEqual(remoteLogger.getChainedLevel())) { + if(event.level.isGreaterOrEqual(remoteLogger.getEffectiveLevel())) { remoteLogger.callAppenders(event); } } 1.2 +1 -1 jakarta-log4j/tests/src/java/org/apache/log4j/LoggerTestCase.java Index: LoggerTestCase.java =================================================================== RCS file: /home/cvs/jakarta-log4j/tests/src/java/org/apache/log4j/LoggerTestCase.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- LoggerTestCase.java 18 Feb 2002 21:43:32 -0000 1.1 +++ LoggerTestCase.java 11 Mar 2002 23:43:46 -0000 1.2 @@ -313,7 +313,7 @@ Logger a0 = h.getLogger("a"); assertEquals("a", a0.getName()); assertNull(a0.getLevel()); - assertSame(Level.ERROR, a0.getChainedLevel()); + assertSame(Level.ERROR, a0.getEffectiveLevel()); Logger a1 = h.getLogger("a"); assertSame(a0, a1); 1.2 +4 -4 jakarta-log4j/tests/src/java/org/apache/log4j/customLogger/XLogger.java Index: XLogger.java =================================================================== RCS file: /home/cvs/jakarta-log4j/tests/src/java/org/apache/log4j/customLogger/XLogger.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- XLogger.java 22 Feb 2002 18:09:27 -0000 1.1 +++ XLogger.java 11 Mar 2002 23:43:46 -0000 1.2 @@ -65,7 +65,7 @@ void lethal(String message, Throwable t) { if(repository.isDisabled(XLevel.LETHAL_INT)) return; - if(XLevel.LETHAL.isGreaterOrEqual(this.getChainedLevel())) + if(XLevel.LETHAL.isGreaterOrEqual(this.getEffectiveLevel())) forcedLog(FQCN, XLevel.LETHAL, message, t); } @@ -76,7 +76,7 @@ void lethal(String message) { if(repository.isDisabled(XLevel.LETHAL_INT)) return; - if(XLevel.LETHAL.isGreaterOrEqual(this.getChainedLevel())) + if(XLevel.LETHAL.isGreaterOrEqual(this.getEffectiveLevel())) forcedLog(FQCN, XLevel.LETHAL, message, null); } @@ -110,7 +110,7 @@ void trace(String message, Throwable t) { if(repository.isDisabled(XLevel.TRACE_INT)) return; - if(XLevel.TRACE.isGreaterOrEqual(this.getChainedLevel())) + if(XLevel.TRACE.isGreaterOrEqual(this.getEffectiveLevel())) forcedLog(FQCN, XLevel.TRACE, message, t); } @@ -121,7 +121,7 @@ void trace(String message) { if(repository.isDisabled(XLevel.TRACE_INT)) return; - if(XLevel.TRACE.isGreaterOrEqual(this.getChainedLevel())) + if(XLevel.TRACE.isGreaterOrEqual(this.getEffectiveLevel())) forcedLog(FQCN, XLevel.TRACE, message, null); } -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Tue Mar 12 16:35:38 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47899 invoked from network); 12 Mar 2002 16:35:38 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 12 Mar 2002 16:35:38 -0000 Received: (qmail 1432 invoked by uid 97); 12 Mar 2002 16:35:40 -0000 Delivered-To: [email protected] Received: (qmail 1390 invoked by uid 97); 12 Mar 2002 16:35:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J CVS List" <log4j-cvs.jakarta.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 1379 invoked from network); 12 Mar 2002 16:35:39 -0000 Message-ID: <[email protected]> Date: Tue, 12 Mar 2002 08:35:39 -0800 (PST) From: Stuart Siegel <[email protected]> Subject: File:Line info not showing when using SocketAppender/SimpleSocketServer To: [email protected] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I'm using a SocketAppender in (what I think) is the simplest possible way. My config file on the client side looks like: #-------Client side configuration file----------------- log4j.rootCategory=DEBUG, A1 log4j.appender.A1=org.apache.log4j.net.SocketAppender log4j.appender.A1.Port=12345 log4j.appender.A1.RemoteHost=localhost #------------------------------------------------------ I'm starting a SimpleSocketServer with the following config file as the argument: #-------------Server side config file----------- log4j.rootLogger=DEBUG, LOG_FILE log4j.appender.LOG_FILE=org.apache.log4j.RollingFileAppender log4j.appender.LOG_FILE.layout=org.apache.log4j.PatternLayout log4j.appender.LOG_FILE.layout.ConversionPattern=%5p %d [%t] (%F:%L) - %m%n log4j.appender.LOG_FILE.File=clientLog #-------------------------------------------------- Everything seems to be working pretty much as expected except that the (%F:%L) formatting options in my conversion patterns shows as "(?:?)" in the rolling file clientLog. Using the same classes (I did compile with debugging symbols) with a local appender produces the correct file and line information. I know this is probably something trival but I could not find anything mentioning it in the archives. Thanks. ===== __________________________________________________ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Tue Mar 19 21:58:20 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42745 invoked from network); 19 Mar 2002 21:58:20 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 19 Mar 2002 21:58:20 -0000 Received: (qmail 25968 invoked by uid 97); 19 Mar 2002 21:11:48 -0000 Delivered-To: [email protected] Received: (qmail 25940 invoked by uid 97); 19 Mar 2002 21:11:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J CVS List" <log4j-cvs.jakarta.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 25907 invoked from network); 19 Mar 2002 21:11:47 -0000 Date: 19 Mar 2002 21:11:41 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-log4j/src/java/org/apache/log4j PropertyConfigurator.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ceki 02/03/19 13:11:41 Modified: src/java/org/apache/log4j PropertyConfigurator.java Log: Minor tyo correction Revision Changes Path 1.48 +4 -4 jakarta-log4j/src/java/org/apache/log4j/PropertyConfigurator.java Index: PropertyConfigurator.java =================================================================== RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/PropertyConfigurator.java,v retrieving revision 1.47 retrieving revision 1.48 diff -u -r1.47 -r1.48 --- PropertyConfigurator.java 11 Feb 2002 16:14:33 -0000 1.47 +++ PropertyConfigurator.java 19 Mar 2002 21:11:41 -0000 1.48 @@ -71,9 +71,9 @@ <p>The syntax of variable substitution is similar to that of UNIX shells. The string between an opening <b>&quot;${&quot;</b> and closing <b>&quot;}&quot;</b> is interpreted as a key. Its value is - searched in the system properties, and if not founf then in the - configuration file being parsed. The corresponding value replaces - the ${variableName} sequence. + searched in the system properties, and if not found there, it is + searched in the configuration file being parsed. The corresponding + value replaces the ${variableName} sequence. @author Ceki G&uuml;lc&uuml; @author Anders Kristensen @@ -589,7 +589,7 @@ LogLog.debug("Category " + loggerName + " set to " + logger.getLevel()); } - // Remove all existing appenders. They will be reconstructed below. + // Begin by removing all existing appenders. logger.removeAllAppenders(); Appender appender; -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Tue Mar 19 22:03:33 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46094 invoked from network); 19 Mar 2002 22:03:32 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 19 Mar 2002 22:03:32 -0000 Received: (qmail 1536 invoked by uid 97); 19 Mar 2002 21:18:43 -0000 Delivered-To: [email protected] Received: (qmail 1514 invoked by uid 97); 19 Mar 2002 21:18:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J CVS List" <log4j-cvs.jakarta.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 1500 invoked from network); 19 Mar 2002 21:18:42 -0000 Date: 19 Mar 2002 21:18:36 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-log4j/src/java/org/apache/log4j PropertyConfigurator.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ceki 02/03/19 13:18:36 Modified: src/java/org/apache/log4j PropertyConfigurator.java Log: Changes to documentation Revision Changes Path 1.49 +12 -13 jakarta-log4j/src/java/org/apache/log4j/PropertyConfigurator.java Index: PropertyConfigurator.java =================================================================== RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/PropertyConfigurator.java,v retrieving revision 1.48 retrieving revision 1.49 diff -u -r1.48 -r1.49 --- PropertyConfigurator.java 19 Mar 2002 21:11:41 -0000 1.48 +++ PropertyConfigurator.java 19 Mar 2002 21:18:36 -0000 1.49 @@ -59,21 +59,20 @@ appenders such as the {@link org.apache.log4j.AsyncAppender AsyncAppender}, etc. - <p><em>All option values admit variable substitution.</em> For - example, if <code>java.home</code> system property is set to - <code>/home/xyz</code> and the File option is set to the string - <code>${java.home}/test.log</code>, then File option will be - interpreted as the string <code>/home/xyz/test.log</code>. - - <p>The value of the substituted variable can be defined as a system - property or in the configuration file file itself. - - <p>The syntax of variable substitution is similar to that of UNIX + <p>All option <em>values</em> admit variable substitution. The + syntax of variable substitution is similar to that of Unix shells. The string between an opening <b>&quot;${&quot;</b> and - closing <b>&quot;}&quot;</b> is interpreted as a key. Its value is + closing <b>&quot;}&quot;</b> is interpreted as a key. The value of + the substituted variable can be defined as a system property or in + the configuration file itself. The value of the key is first searched in the system properties, and if not found there, it is - searched in the configuration file being parsed. The corresponding - value replaces the ${variableName} sequence. + then searched in the configuration file being parsed. The + corresponding value replaces the ${variableName} sequence. For + example, if <code>java.home</code> system property is set to + <code>/home/xyz</code>, then every occurance of the sequence + <code>${java.home}</code> will be interpreted as + <code>/home/xyz</code>. + @author Ceki G&uuml;lc&uuml; @author Anders Kristensen -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Tue Mar 19 22:10:01 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52064 invoked from network); 19 Mar 2002 22:10:01 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 19 Mar 2002 22:10:01 -0000 Received: (qmail 6759 invoked by uid 97); 19 Mar 2002 21:25:24 -0000 Delivered-To: [email protected] Received: (qmail 6741 invoked by uid 97); 19 Mar 2002 21:25:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J CVS List" <log4j-cvs.jakarta.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 6727 invoked from network); 19 Mar 2002 21:25:23 -0000 Date: 19 Mar 2002 21:25:17 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-log4j/src/java/org/apache/log4j PropertyConfigurator.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ceki 02/03/19 13:25:17 Modified: src/java/org/apache/log4j PropertyConfigurator.java Log: doc change Revision Changes Path 1.50 +1 -1 jakarta-log4j/src/java/org/apache/log4j/PropertyConfigurator.java Index: PropertyConfigurator.java =================================================================== RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/PropertyConfigurator.java,v retrieving revision 1.49 retrieving revision 1.50 diff -u -r1.49 -r1.50 --- PropertyConfigurator.java 19 Mar 2002 21:18:36 -0000 1.49 +++ PropertyConfigurator.java 19 Mar 2002 21:25:17 -0000 1.50 @@ -69,7 +69,7 @@ then searched in the configuration file being parsed. The corresponding value replaces the ${variableName} sequence. For example, if <code>java.home</code> system property is set to - <code>/home/xyz</code>, then every occurance of the sequence + <code>/home/xyz</code>, then every occurrence of the sequence <code>${java.home}</code> will be interpreted as <code>/home/xyz</code>. -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Wed Mar 20 08:36:30 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48005 invoked from network); 20 Mar 2002 08:36:30 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 20 Mar 2002 08:36:30 -0000 Received: (qmail 17658 invoked by uid 97); 20 Mar 2002 08:36:39 -0000 Delivered-To: [email protected] Received: (qmail 17629 invoked by uid 97); 20 Mar 2002 08:36:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J CVS List" <log4j-cvs.jakarta.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 14463 invoked from network); 20 Mar 2002 08:34:47 -0000 Date: 20 Mar 2002 08:34:32 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-log4j/src/java/org/apache/log4j/chainsaw - New directory X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N oburn 02/03/20 00:34:32 jakarta-log4j/src/java/org/apache/log4j/chainsaw - New directory -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Thu Mar 21 14:45:46 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47956 invoked from network); 21 Mar 2002 14:45:45 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 21 Mar 2002 14:45:45 -0000 Received: (qmail 2133 invoked by uid 97); 21 Mar 2002 14:45:31 -0000 Delivered-To: [email protected] Received: (qmail 2030 invoked by uid 97); 21 Mar 2002 14:45:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J CVS List" <log4j-cvs.jakarta.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 1998 invoked from network); 21 Mar 2002 14:45:29 -0000 Date: 21 Mar 2002 14:45:14 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-log4j/contribs/CekiGulcu AppenderTable.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ceki 02/03/21 06:45:14 Added: contribs/CekiGulcu AppenderTable.java Log: AppenderTable is my attempt to implement a JTable that can efficiently handle the insertion of great number of elements. On my machine, it takes about 4 seconds to insert a total of 100'000 elements to the table. Revision Changes Path 1.1 jakarta-log4j/contribs/CekiGulcu/AppenderTable.java Index: AppenderTable.java =================================================================== /* * Copyright (C) The Apache Software Foundation. All rights reserved. * * This software is published under the terms of the Apache Software * License version 1.1, a copy of which has been included with this * distribution in the LICENSE.txt file. */ import org.apache.log4j.helpers.CyclicBuffer; import org.apache.log4j.Level; import org.apache.log4j.Logger; import org.apache.log4j.Layout; import org.apache.log4j.PatternLayout; import org.apache.log4j.spi.LoggingEvent; import javax.swing.JFrame; import javax.swing.JButton; import javax.swing.JTable; import javax.swing.JTextArea; import javax.swing.table.AbstractTableModel; import javax.swing.table.TableCellRenderer; import javax.swing.JScrollPane; import javax.swing.BoxLayout; import java.awt.Component; import java.awt.Dimension; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import java.awt.Container; /** The AppenderTable illustrates one possible implementation of an Table possibly containing a great many number of rows. <p>In this particular example we use a fixed size buffer (CyclicBuffer) although this data structure could be easily replaced by dynamically growing one, such as a Vector. The required properties of the data structure is 1) support for indexed element access 2) support for the insertion of new elements at the end. <p>Experimentation on my 1400Mhz AMD machine show that it takes about 45 micro-seconds to insert an element in the table. This number does not depend on the size of the buffer. It takes as much (or as little) time to insert one million elements to a buffer of size 10 as to a buffer of size 10'000. It takes about 4 seconds to insert a totaal of 100'000 elements. <p>On windows NT the test will run about twice as fast if you give the focus to the window that runs "java AppenderTable" and not the window that contains the Swing JFrame. */ public class AppenderTable extends JTable { static Logger logger = Logger.getLogger(AppenderTable.class); static public void main(String[] args) { if(args.length != 2) { System.err.println( "Usage: java AppenderTable bufferSize runLength\n" +" where bufferSize is the size of the cyclic buffer in the TableModel\n" +" and runLength is the total number of elements to add to the table in\n" +" this test run."); return; } JFrame frame = new JFrame("JTableAppennder test"); Container container = frame.getContentPane(); AppenderTable tableAppender = new AppenderTable(); int bufferSize = Integer.parseInt(args[0]); AppenderTableModel model = new AppenderTableModel(bufferSize); tableAppender.setModel(model); int runLength = Integer.parseInt(args[1]); JScrollPane sp = new JScrollPane(tableAppender); sp.setPreferredSize(new Dimension(250, 80)); container.setLayout(new BoxLayout(container, BoxLayout.X_AXIS)); container.add(sp); // The "ADD" button is intended for manual testing. It will // add one new logging event to the table. JButton button = new JButton("ADD"); container.add(button); button.addActionListener(new JTableAddAction(tableAppender)); frame.setSize(new Dimension(500,300)); frame.setVisible(true); long before = System.currentTimeMillis(); int i = 0; while(i++ < runLength) { LoggingEvent event = new LoggingEvent("x", logger, Level.ERROR, "Message "+i, null); tableAppender.doAppend(event); } long after = System.currentTimeMillis(); long totalTime = (after-before); System.out.println("Total time :"+totalTime+ " milliseconds for "+ "runLength insertions."); System.out.println("Average time per insertion :" +(totalTime*1000/runLength)+ " micro-seconds."); } public AppenderTable() { this.setDefaultRenderer(Object.class, new Renderer()); } /** When asked to append we just insert directly into the model. In a real appender we would use two buffers one for accumulating events and another to accumalte events but after filtering. Only the second buffer would be displayed in the table and made visible to the user.*/ public void doAppend(LoggingEvent event) { ((AppenderTableModel)getModel()).insert(event); } /** The Renderer is required to display object in a friendlier from. This particular renderer is just a JTextArea. <p>The important point to note is that we only need *one* renderer. */ class Renderer extends JTextArea implements TableCellRenderer { PatternLayout layout; public Renderer() { layout = new PatternLayout("%r %p %c [%t] - %m"); } public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { // If its a LoggingEvent than format it using our layout. if(value instanceof LoggingEvent) { LoggingEvent event = (LoggingEvent) value; String str = layout.format(event); setText(str); } else { setText(value.toString()); } return this; } } } class AppenderTableModel extends AbstractTableModel { CyclicBuffer cb; AppenderTableModel(int size) { cb = new CyclicBuffer(size); } /** Insertion to the model always results in a fireTableDataChanged method call. Suprisingly enough this has no crippling impact on performance. */ public void insert(LoggingEvent event) { cb.add(event); fireTableDataChanged(); } /** We assume only one column. */ public int getColumnCount() { return 1; } /** The row count is given by the number of elements in the buffer. This number is guaranteed to be between 0 and the buffer size (inclusive). */ public int getRowCount() { return cb.length(); } /** Get the value in a given row and column. We suppose that there is only one colemn so we are only concerned with the row. <p>Interesting enough this method returns an object. This leaves the door open for a TableCellRenderer to render the object in a variety of ways. */ public Object getValueAt(int row, int col) { return cb.get(row); } } /** The JTableAddAction is called when the user clicks on the "ADD" button. */ class JTableAddAction implements ActionListener { AppenderTable appenderTable; Logger dummy = Logger.getLogger("x"); int counter = 0; public JTableAddAction(AppenderTable appenderTable) { this.appenderTable = appenderTable; } public void actionPerformed(ActionEvent e) { counter++; LoggingEvent event = new LoggingEvent("x", dummy, Level.DEBUG, "Message "+counter, null); appenderTable.doAppend(event); } } -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Thu Mar 21 14:46:04 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48696 invoked from network); 21 Mar 2002 14:46:03 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 21 Mar 2002 14:46:03 -0000 Received: (qmail 3998 invoked by uid 97); 21 Mar 2002 14:46:05 -0000 Delivered-To: [email protected] Received: (qmail 3961 invoked by uid 97); 21 Mar 2002 14:46:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J CVS List" <log4j-cvs.jakarta.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 3949 invoked from network); 21 Mar 2002 14:46:04 -0000 Date: 21 Mar 2002 14:45:57 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-log4j/contribs/CekiGulcu AppenderTable.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ceki 02/03/21 06:45:57 Modified: contribs/CekiGulcu AppenderTable.java Log: typo correction Revision Changes Path 1.2 +1 -1 jakarta-log4j/contribs/CekiGulcu/AppenderTable.java Index: AppenderTable.java =================================================================== RCS file: /home/cvs/jakarta-log4j/contribs/CekiGulcu/AppenderTable.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- AppenderTable.java 21 Mar 2002 14:45:14 -0000 1.1 +++ AppenderTable.java 21 Mar 2002 14:45:57 -0000 1.2 @@ -43,7 +43,7 @@ number does not depend on the size of the buffer. It takes as much (or as little) time to insert one million elements to a buffer of size 10 as to a buffer of size 10'000. It takes about 4 seconds to - insert a totaal of 100'000 elements. + insert a total of 100'000 elements into the table. <p>On windows NT the test will run about twice as fast if you give the focus to the window that runs "java AppenderTable" and not the -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Sat Mar 23 08:13:14 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70667 invoked from network); 23 Mar 2002 08:13:13 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 23 Mar 2002 08:13:13 -0000 Received: (qmail 4997 invoked by uid 97); 23 Mar 2002 08:13:26 -0000 Delivered-To: [email protected] Received: (qmail 4988 invoked by uid 97); 23 Mar 2002 08:13:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J CVS List" <log4j-cvs.jakarta.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 1781 invoked from network); 23 Mar 2002 07:53:19 -0000 Date: 23 Mar 2002 07:53:05 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-log4j build.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N oburn 02/03/22 23:53:05 Modified: . build.xml Log: Added targets to: - Run checkstyle - initially only over chainsaw - Run chainsaw Revision Changes Path 1.22 +94 -70 jakarta-log4j/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-log4j/build.xml,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- build.xml 11 Mar 2002 23:43:45 -0000 1.21 +++ build.xml 23 Mar 2002 07:53:05 -0000 1.22 @@ -15,10 +15,10 @@ <property environment="env"/> <property name="version" value="1.2beta5"/> - + <!-- The base directory relative to which most targets are built --> <property name="base" value="."/> - + <!-- The directory where source files are stored. --> <property name="java.source.dir" value="src/java/"/> @@ -37,13 +37,13 @@ <!-- Destination for documentation files generated or not --> <property name="docs" value="docs"/> - + <!-- Destination for javadoc generated files --> <property name="javadoc.dest" value="docs/api"/> <!-- Icons source directory. --> <property name="icons.source" value="icons"/> - + <!-- The stem where most log4j source code is located. --> <property name="stem" value="org/apache/log4j"/> @@ -64,20 +64,20 @@ <!-- ================================================================= --> <!-- Default target --> <!-- ================================================================= --> - + <target name="usage"> <echo> These are the targets supported by this ANT build scpript: - build - compile all project files, if a certain library is missing, + build - compile all project files, if a certain library is missing, then the compilation of its dependents are skipped. javadoc - build project javadoc files jar - build log4j-core and log4j jar files - dist - will create a complete distribution in dist/ + dist - will create a complete distribution in dist/ Setting the env variable NO_JAVADOC will build the distribution without running the javadoc target. </echo> @@ -85,15 +85,15 @@ <target name="junitCheck"> <available classname="junit.framework.TestCase" property="junit-present"/> - </target> + </target> <target name="junit" depends="junitCheck" if="junit-present"> <echo message="JUnit is present."/> </target> <target name="jaxpCheck"> - <available classname="javax.xml.parsers.DocumentBuilderFactory" + <available classname="javax.xml.parsers.DocumentBuilderFactory" property="jaxp-present"/> - </target> + </target> <target name="jaxp" depends="jaxpCheck" if="jaxp-present"> <echo message="JAXP present."/> @@ -102,7 +102,7 @@ <target name="jmxCheck"> <available classname="javax.management.MBeanInfo" property="jmx-present"/> - </target> + </target> <target name="jmx" depends="jmxCheck" if="jmx-present"> <echo message="JMX is present."/> </target> @@ -110,21 +110,21 @@ <target name="jmsCheck"> <available classname="javax.jms.Message" property="jms-present"/> - </target> + </target> <target name="jms" depends="jmsCheck" if="jms-present"> <echo message="JMS is present."/> </target> <target name="jndiCheck"> <available classname="javax.naming.Context" property="jndi-present"/> - </target> + </target> <target name="jndi" depends="jndiCheck" if="jndi-present"> <echo message="JNDI is present."/> </target> <target name="javamailCheck"> <available classname="javax.mail.Message" property="javamail-present"/> - </target> + </target> <target name="javamail" depends="javamailCheck" if="javamail-present"> <echo message="JAVAMAIL is present."/> </target> @@ -137,7 +137,7 @@ <tstamp /> </target> - <target name="build" depends="init, build.core, build.examples, build.xml, + <target name="build" depends="init, build.core, build.examples, build.xml, build.unitTests, build.javamail, build.jms, build.jmx"/> <target name="build.core" depends="init"> @@ -156,8 +156,8 @@ ${stem}/net/JMS*.java, ${stem}/jmx/*.java, ${stem}/or/jms/MessageRenderer.java, - **/pending/**" - debug="on"/> + **/pending/**" + debug="on"/> </target> <target name="build.examples" depends="build.core"> @@ -166,17 +166,17 @@ destdir="${javac.dest}" includes="examples/**/*.java" classpath="${classpath}" - excludes="misc/*" - debug="on"/> - <rmic base="${javac.dest}" + excludes="misc/*" + debug="on"/> + <rmic base="${javac.dest}" classname="examples.NumberCruncherServer" - /> + /> </target> - <target name="build.unitTests" depends="init, junit" if="junit-present"> + <target name="build.unitTests" depends="init, junit" if="junit-present"> <javac srcdir="${java.source.dir}" destdir="${javac.dest}" includes="**/UnitTest*.java" @@ -194,22 +194,22 @@ tofile="${javac.dest}/${stem}/xml/log4j.dtd" /> </target> - <target name="build.javamail" depends="init, javamail" - if="javamail-present"> + <target name="build.javamail" depends="init, javamail" + if="javamail-present"> <javac srcdir="${java.source.dir}" destdir="${javac.dest}" includes="${stem}/net/SMTPAppender.java" classpath="${classpath}"/> </target> - <target name="build.jms" depends="init, jms, jndi" if="jms-present"> + <target name="build.jms" depends="init, jms, jndi" if="jms-present"> <javac srcdir="${java.source.dir}" destdir="${javac.dest}" includes="${stem}/net/JMS*.java" classpath="${classpath}"/> </target> - <target name="build.jmx" depends="init, jmx, jndi" if="jmx-present"> + <target name="build.jmx" depends="init, jmx, jndi" if="jmx-present"> <javac srcdir="${java.source.dir}" destdir="${javac.dest}" includes="${stem}/jmx/*.java" @@ -226,17 +226,41 @@ </target> <!-- ================================================================= --> + <!-- Runs checkstyle. Available from http://checkstyle.sf.net --> + <!-- ================================================================= --> + <target name="checkstyle" depends="init"> + <taskdef resource="checkstyletask.properties" + classpath="build/lib/checkstyle-all-2.1.jar"/> + + <!-- by default checkstyle supports the Sun coding standard. --> + <checkstyle lcurlyMethod="nlow" lcurlyOther="nlow" lcurlyType="nlow"> + <fileset dir="src/java/org/apache/log4j/chainsaw" includes="**/*.java"/> + </checkstyle> + </target> + + <!-- ================================================================= --> + <!-- Runs Chainsaw --> + <!-- ================================================================= --> + + <target name="chainsaw" depends="build"> + <!-- Need to fork to avoid problems --> + <java classname="org.apache.log4j.chainsaw.Main" fork="yes" + classpath="${javac.dest}"> + </java> + </target> + + <!-- ================================================================= --> <!-- Remove the temporary manifest file, actual work is done in the --> <!-- dependencies. --> - <!-- ================================================================= --> + <!-- ================================================================= --> <target name="jar" depends="log4j.jar"> <delete file="${jar.dest}/manifest.mf"/> </target> <target name="prejar" depends="build"> - <mkdir dir="${jar.dest}"/> + <mkdir dir="${jar.dest}"/> <filter token="version" value="${version}" /> - <copy file="${manifest.src}" tofile="${jar.dest}/manifest.mf" + <copy file="${manifest.src}" tofile="${jar.dest}/manifest.mf" filtering="true"/> </target> @@ -245,27 +269,27 @@ <!-- ================================================================= --> <target name="log4j.jar" depends="prejar"> <delete> - <fileset dir="${jar.dest}"> + <fileset dir="${jar.dest}"> <include name="*.jar"/> </fileset> </delete> <jar jarfile="${jar.dest}/${jar.filename}" basedir="${javac.dest}" - includes="${stem}/*.class, ${stem}/xml/log4j.dtd, + includes="${stem}/*.class, ${stem}/xml/log4j.dtd, ${stem}/config/*.class, - ${stem}/helpers/*.class, - ${stem}/spi/*.class, + ${stem}/helpers/*.class, + ${stem}/spi/*.class, ${stem}/net/*.class, - ${stem}/varia/*.class, + ${stem}/varia/*.class, ${stem}/nt/*.class, - ${stem}/xml/*.class, - ${stem}/jmx/*.class, + ${stem}/xml/*.class, + ${stem}/jmx/*.class, ${stem}/or/*.class, ${stem}/or/sax/*.class, ${stem}/config/*.class, ${stem}/gui/TextPaneAppender.class" excludes="**/StressCategory*, **/UnitTest**" - manifest="${jar.dest}/manifest.mf" + manifest="${jar.dest}/manifest.mf" /> </target> @@ -276,9 +300,9 @@ <target name="javadoc" depends="init" unless="env.NO_JAVADOC"> <mkdir dir="${javadoc.dest}" /> - - <javadoc sourcepath="${java.source.dir}" - destdir="${javadoc.dest}" + + <javadoc sourcepath="${java.source.dir}" + destdir="${javadoc.dest}" packagenames="org.apache.log4j, org.apache.log4j.config, org.apache.log4j.helpers, @@ -295,17 +319,17 @@ version="true" protected="true" author="true" - use="true" + use="true" overview="${docs}/overview.html" doctitle="log4j version ${version}&lt;br&gt;API Specification" - windowtitle="Log4j Version ${version}" + windowtitle="Log4j Version ${version}" header="&lt;b&gt;Log4j ${version}&lt;/b&gt;" - bottom="Copyright 2000-2002 Apache Software Foundation."> - - <link offline="true" + bottom="Copyright 2000-2002 Apache Software Foundation."> + + <link offline="true" href="http://java.sun.com/products/jdk/1.2/docs/api" packageListLoc="${packaging.dir}"/> - </javadoc> + </javadoc> </target> <!-- ================================================================= --> @@ -314,7 +338,7 @@ <target name="dist" depends="init, clean, javadoc, jar"> <delete verbose="true"> - <fileset dir="."> + <fileset dir="."> <patternset> <include name="**/*.bak"/> <include name="dist/velocity.log"/> @@ -344,7 +368,7 @@ <include name="${jar.dest}/manifest.mf"/> <include name="${javac.dest}/*.class"/> </patternset> - </fileset> + </fileset> </delete> <mkdir dir="${dist.images}" /> @@ -353,22 +377,22 @@ <copy todir="${dist.tmp}/jakarta-log4j-${version}"> <fileset dir="${base}" - includes="src/java/**, - docs/**, - examples/**, + includes="src/java/**, + docs/**, + examples/**, build/*, build.bat, build.sh, build.xml, - manifest.mf, - INSTALL, - LICENSE.APL, - LICENSE.txt, - dist/lib/*.jar, - org/**, - icons/**, - dist/classes/**, + manifest.mf, + INSTALL, + LICENSE.APL, + LICENSE.txt, + dist/lib/*.jar, + org/**, + icons/**, + dist/classes/**, contribs/**" - excludes="make/make.loc, + excludes="make/make.loc, **/*.bak, **/goEnv.bat, **/Makefile, **/goEnv.bat, docs/pub-support/*, @@ -377,32 +401,32 @@ src/java/org/apache/log4j/test/serialization/T/compile, src/java/org/apache/log4j/test/serialization/**/*.class, src/java/org/apache/log4j/examples/appserver/*, - dist/classes/org/apache/log4j/examples/appserver/*.class, + dist/classes/org/apache/log4j/examples/appserver/*.class, **/.#*"/> </copy> - - <fixcrlf srcdir="${dist.tmp}/jakarta-log4j-${version}" + + <fixcrlf srcdir="${dist.tmp}/jakarta-log4j-${version}" includes="build.sh" cr="remove"/> - <fixcrlf srcdir="${dist.tmp}/jakarta-log4j-${version}" + <fixcrlf srcdir="${dist.tmp}/jakarta-log4j-${version}" includes="build.bat" cr="add"/> - <chmod dir="${dist.tmp}/jakarta-log4j-${version}" + <chmod dir="${dist.tmp}/jakarta-log4j-${version}" includes="build.sh" perm="+x"/> - <tar tarfile="${dist.images}/jakarta-log4j-${version}.tar" + <tar tarfile="${dist.images}/jakarta-log4j-${version}.tar" basedir="${dist.tmp}" includes="jakarta-log4j-${version}/**" /> - <gzip src="${dist.images}/jakarta-log4j-${version}.tar" + <gzip src="${dist.images}/jakarta-log4j-${version}.tar" zipfile="${dist.images}/jakarta-log4j-${version}.tar.gz" /> - <zip zipfile="${dist.images}/jakarta-log4j-${version}.zip" + <zip zipfile="${dist.images}/jakarta-log4j-${version}.zip" basedir="${dist.tmp}" includes="jakarta-log4j-${version}/**" /> - + <delete dir="${dist.tmp}" /> </target> - + </project> -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Sat Mar 23 08:13:21 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70759 invoked from network); 23 Mar 2002 08:13:21 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 23 Mar 2002 08:13:21 -0000 Received: (qmail 5112 invoked by uid 97); 23 Mar 2002 08:13:33 -0000 Delivered-To: [email protected] Received: (qmail 5073 invoked by uid 97); 23 Mar 2002 08:13:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J CVS List" <log4j-cvs.jakarta.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 1539 invoked from network); 23 Mar 2002 07:51:40 -0000 Date: 23 Mar 2002 07:51:26 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-log4j/src/java/org/apache/log4j/chainsaw XMLFileHandler.java MyTableModel.java Main.java LoggingReceiver.java LoadXMLAction.java ExitAction.java EventDetails.java DetailPanel.java ControlPanel.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N oburn 02/03/22 23:51:26 Added: src/java/org/apache/log4j/chainsaw XMLFileHandler.java MyTableModel.java Main.java LoggingReceiver.java LoadXMLAction.java ExitAction.java EventDetails.java DetailPanel.java ControlPanel.java Log: First version of Chainsaw based on version 1.1. The changes made were: - Change the package name - Change the license to Apache - Remove the startup sound - Remove the test generator class - Change the email address for the author. Revision Changes Path 1.1 jakarta-log4j/src/java/org/apache/log4j/chainsaw/XMLFileHandler.java Index: XMLFileHandler.java =================================================================== /* * Copyright (C) The Apache Software Foundation. All rights reserved. * * This software is published under the terms of the Apache Software * License version 1.1, a copy of which has been included with this * distribution in the LICENSE.txt file. */ package org.apache.log4j.chainsaw; import java.util.StringTokenizer; import org.apache.log4j.Priority; import org.xml.sax.Attributes; import org.xml.sax.SAXException; import org.xml.sax.helpers.DefaultHandler; /** * A content handler for document containing Log4J events logged using the * XMLLayout class. It will create events and add them to a supplied model. * * @author <a href="mailto:[email protected]">Oliver Burn</a> * @version 1.0 */ class XMLFileHandler extends DefaultHandler { /** represents the event tag **/ private static final String TAG_EVENT = "log4j:event"; /** represents the message tag **/ private static final String TAG_MESSAGE = "log4j:message"; /** represents the ndc tag **/ private static final String TAG_NDC = "log4j:NDC"; /** represents the throwable tag **/ private static final String TAG_THROWABLE = "log4j:throwable"; /** represents the location info tag **/ private static final String TAG_LOCATION_INFO = "log4j:locationInfo"; /** where to put the events **/ private final MyTableModel mModel; /** the number of events in the document **/ private int mNumEvents; /** the current element being parsed **/ private String mCurrentElement; /** the time of the event **/ private long mTimeStamp; /** the priority of the event **/ private Priority mPriority; /** the category of the event **/ private String mCategoryName; /** the NDC for the event **/ private String mNDC; /** the thread for the event **/ private String mThreadName; /** the msg for the event **/ private String mMessage; /** the throwable details the event **/ private String[] mThrowableStrRep; /** the location details for the event **/ private String mLocationDetails; /** * Creates a new <code>XMLFileHandler</code> instance. * * @param aModel where to add the events */ XMLFileHandler(MyTableModel aModel) { mModel = aModel; } /** @see DefaultHandler **/ public void startDocument() throws SAXException { mNumEvents = 0; } /** @see DefaultHandler **/ public void characters(char[] aChars, int aStart, int aLength) { if (mCurrentElement == TAG_NDC) { mNDC = new String(aChars, aStart, aLength); } else if (mCurrentElement == TAG_MESSAGE) { mMessage = new String(aChars, aStart, aLength); } else if (mCurrentElement == TAG_THROWABLE) { final StringTokenizer st = new StringTokenizer(new String(aChars, aStart, aLength), "\t"); mThrowableStrRep = new String[st.countTokens()]; if (mThrowableStrRep.length > 0) { mThrowableStrRep[0] = st.nextToken(); for (int i = 1; i < mThrowableStrRep.length; i++) { mThrowableStrRep[i] = "\t" + st.nextToken(); } } } } /** @see DefaultHandler **/ public void endElement(String aNamespaceURI, String aLocalName, String aQName) { if (TAG_EVENT.equals(aQName)) { addEvent(); resetData(); } else if (mCurrentElement != TAG_EVENT) { mCurrentElement = TAG_EVENT; // hack - but only thing I care about } } /** @see DefaultHandler **/ public void startElement(String aNamespaceURI, String aLocalName, String aQName, Attributes aAtts) { if (TAG_EVENT.equals(aQName)) { mThreadName = aAtts.getValue("thread"); mTimeStamp = Long.parseLong(aAtts.getValue("timestamp")); mCategoryName = aAtts.getValue("category"); mPriority = Priority.toPriority(aAtts.getValue("priority")); } else if (TAG_LOCATION_INFO.equals(aQName)) { mLocationDetails = aAtts.getValue("class") + "." + aAtts.getValue("method") + "(" + aAtts.getValue("file") + ":" + aAtts.getValue("line") + ")"; } else if (TAG_NDC.equals(aQName)) { mCurrentElement = TAG_NDC; } else if (TAG_MESSAGE.equals(aQName)) { mCurrentElement = TAG_MESSAGE; } else if (TAG_THROWABLE.equals(aQName)) { mCurrentElement = TAG_THROWABLE; } } /** @return the number of events in the document **/ int getNumEvents() { return mNumEvents; } //////////////////////////////////////////////////////////////////////////// // Private methods //////////////////////////////////////////////////////////////////////////// /** Add an event to the model **/ private void addEvent() { mModel.addEvent(new EventDetails(mTimeStamp, mPriority, mCategoryName, mNDC, mThreadName, mMessage, mThrowableStrRep, mLocationDetails)); mNumEvents++; } /** Reset the data for an event **/ private void resetData() { mTimeStamp = 0; mPriority = null; mCategoryName = null; mNDC = null; mThreadName = null; mMessage = null; mThrowableStrRep = null; mLocationDetails = null; } } 1.1 jakarta-log4j/src/java/org/apache/log4j/chainsaw/MyTableModel.java Index: MyTableModel.java =================================================================== /* * Copyright (C) The Apache Software Foundation. All rights reserved. * * This software is published under the terms of the Apache Software * License version 1.1, a copy of which has been included with this * distribution in the LICENSE.txt file. */ package org.apache.log4j.chainsaw; import java.text.DateFormat; import java.util.ArrayList; import java.util.Comparator; import java.util.Date; import java.util.Iterator; import java.util.List; import java.util.SortedSet; import java.util.TreeSet; import javax.swing.table.AbstractTableModel; import org.apache.log4j.Priority; import org.apache.log4j.Category; /** * Represents a list of <code>EventDetails</code> objects that are sorted on * logging time. Methods are provided to filter the events that are visible. * * @author <a href="mailto:[email protected]">Oliver Burn</a> */ class MyTableModel extends AbstractTableModel { /** used to log messages **/ private static final Category LOG = Category.getInstance(MyTableModel.class); /** use the compare logging events **/ private static final Comparator MY_COMP = new Comparator() { /** @see Comparator **/ public int compare(Object aObj1, Object aObj2) { if ((aObj1 == null) && (aObj2 == null)) { return 0; // treat as equal } else if (aObj1 == null) { return -1; // null less than everything } else if (aObj2 == null) { return 1; // think about it. :-> } // will assume only have LoggingEvent final EventDetails le1 = (EventDetails) aObj1; final EventDetails le2 = (EventDetails) aObj2; if (le1.getTimeStamp() < le2.getTimeStamp()) { return 1; } // assume not two events are logged at exactly the same time return -1; } }; /** * Helper that actually processes incoming events. * @author <a href="mailto:[email protected]">Oliver Burn</a> */ private class Processor implements Runnable { /** loops getting the events **/ public void run() { while (true) { try { Thread.sleep(1000); } catch (InterruptedException e) { // ignore } synchronized (mLock) { if (mPaused) { continue; } boolean toHead = true; // were events added to head boolean needUpdate = false; final Iterator it = mPendingEvents.iterator(); while (it.hasNext()) { final EventDetails event = (EventDetails) it.next(); mAllEvents.add(event); toHead = toHead && (event == mAllEvents.first()); needUpdate = needUpdate || matchFilter(event); } mPendingEvents.clear(); if (needUpdate) { updateFilteredEvents(toHead); } } } } } /** names of the columns in the table **/ private static final String[] COL_NAMES = { "Time", "Priority", "Trace", "Category", "NDC", "Message"}; /** definition of an empty list **/ private static final EventDetails[] EMPTY_LIST = new EventDetails[] {}; /** used to format dates **/ private static final DateFormat DATE_FORMATTER = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.MEDIUM); /** the lock to control access **/ private final Object mLock = new Object(); /** set of all logged events - not filtered **/ private final SortedSet mAllEvents = new TreeSet(MY_COMP); /** events that are visible after filtering **/ private EventDetails[] mFilteredEvents = EMPTY_LIST; /** list of events that are buffered for processing **/ private final List mPendingEvents = new ArrayList(); /** indicates whether event collection is paused to the UI **/ private boolean mPaused = false; /** filter for the thread **/ private String mThreadFilter = ""; /** filter for the message **/ private String mMessageFilter = ""; /** filter for the NDC **/ private String mNDCFilter = ""; /** filter for the category **/ private String mCategoryFilter = ""; /** filter for the priority **/ private Priority mPriorityFilter = Priority.DEBUG; /** * Creates a new <code>MyTableModel</code> instance. * */ MyTableModel() { final Thread t = new Thread(new Processor()); t.setDaemon(true); t.start(); } //////////////////////////////////////////////////////////////////////////// // Table Methods //////////////////////////////////////////////////////////////////////////// /** @see TableModel **/ public int getRowCount() { synchronized (mLock) { return mFilteredEvents.length; } } /** @see TableModel **/ public int getColumnCount() { // does not need to be synchronized return COL_NAMES.length; } /** @see TableModel **/ public String getColumnName(int aCol) { // does not need to be synchronized return COL_NAMES[aCol]; } /** @see TableModel **/ public Class getColumnClass(int aCol) { // does not need to be synchronized return (aCol == 2) ? Boolean.class : Object.class; } /** @see TableModel **/ public Object getValueAt(int aRow, int aCol) { synchronized (mLock) { final EventDetails event = mFilteredEvents[aRow]; if (aCol == 0) { return DATE_FORMATTER.format(new Date(event.getTimeStamp())); } else if (aCol == 1) { return event.getPriority(); } else if (aCol == 2) { return (event.getThrowableStrRep() == null) ? Boolean.FALSE : Boolean.TRUE; } else if (aCol == 3) { return event.getCategoryName(); } else if (aCol == 4) { return event.getNDC(); } return event.getMessage(); } } //////////////////////////////////////////////////////////////////////////// // Public Methods //////////////////////////////////////////////////////////////////////////// /** * Sets the priority to filter events on. Only events of equal or higher * property are now displayed. * * @param aPriority the priority to filter on */ public void setPriorityFilter(Priority aPriority) { synchronized (mLock) { mPriorityFilter = aPriority; updateFilteredEvents(false); } } /** * Set the filter for the thread field. * * @param aStr the string to match */ public void setThreadFilter(String aStr) { synchronized (mLock) { mThreadFilter = aStr.trim(); updateFilteredEvents(false); } } /** * Set the filter for the message field. * * @param aStr the string to match */ public void setMessageFilter(String aStr) { synchronized (mLock) { mMessageFilter = aStr.trim(); updateFilteredEvents(false); } } /** * Set the filter for the NDC field. * * @param aStr the string to match */ public void setNDCFilter(String aStr) { synchronized (mLock) { mNDCFilter = aStr.trim(); updateFilteredEvents(false); } } /** * Set the filter for the category field. * * @param aStr the string to match */ public void setCategoryFilter(String aStr) { synchronized (mLock) { mCategoryFilter = aStr.trim(); updateFilteredEvents(false); } } /** * Add an event to the list. * * @param aEvent a <code>EventDetails</code> value */ public void addEvent(EventDetails aEvent) { synchronized (mLock) { mPendingEvents.add(aEvent); } } /** * Clear the list of all events. */ public void clear() { synchronized (mLock) { mAllEvents.clear(); mFilteredEvents = new EventDetails[0]; mPendingEvents.clear(); fireTableDataChanged(); } } /** Toggle whether collecting events **/ public void toggle() { synchronized (mLock) { mPaused = !mPaused; } } /** @return whether currently paused collecting events **/ public boolean isPaused() { synchronized (mLock) { return mPaused; } } /** * Get the throwable information at a specified row in the filtered events. * * @param aRow the row index of the event * @return the throwable information */ public EventDetails getEventDetails(int aRow) { synchronized (mLock) { return mFilteredEvents[aRow]; } } //////////////////////////////////////////////////////////////////////////// // Private methods //////////////////////////////////////////////////////////////////////////// /** * Update the filtered events data structure. * @param aInsertedToFront indicates whether events were added to front of * the events. If true, then the current first event must still exist * in the list after the filter is applied. */ private void updateFilteredEvents(boolean aInsertedToFront) { final List filtered = new ArrayList(); final Iterator it = mAllEvents.iterator(); while (it.hasNext()) { final EventDetails event = (EventDetails) it.next(); if (matchFilter(event)) { filtered.add(event); } } final EventDetails lastFirst = (mFilteredEvents.length == 0) ? null : mFilteredEvents[0]; mFilteredEvents = (EventDetails[]) filtered.toArray(EMPTY_LIST); if (aInsertedToFront && (lastFirst != null)) { final int index = filtered.indexOf(lastFirst); if (index < 1) { LOG.warn("In strange state"); fireTableDataChanged(); } else { fireTableRowsInserted(0, index - 1); } } else { fireTableDataChanged(); } } /** * Returns whether an event matches the filters. * * @param aEvent the event to check for a match * @return whether the event matches */ private boolean matchFilter(EventDetails aEvent) { if (aEvent.getPriority().isGreaterOrEqual(mPriorityFilter) && (aEvent.getThreadName().indexOf(mThreadFilter) >= 0) && (aEvent.getCategoryName().indexOf(mCategoryFilter) >= 0) && ((mNDCFilter.length() == 0) || ((aEvent.getNDC() != null) && (aEvent.getNDC().indexOf(mNDCFilter) >= 0)))) { final String rm = aEvent.getMessage(); if (rm == null) { // only match if we have not filtering in place return (mMessageFilter.length() == 0); } else { return (rm.indexOf(mMessageFilter) >= 0); } } return false; // by default not match } } 1.1 jakarta-log4j/src/java/org/apache/log4j/chainsaw/Main.java Index: Main.java =================================================================== /* * Copyright (C) The Apache Software Foundation. All rights reserved. * * This software is published under the terms of the Apache Software * License version 1.1, a copy of which has been included with this * distribution in the LICENSE.txt file. */ package org.apache.log4j.chainsaw; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.io.IOException; import java.util.Properties; import javax.swing.BorderFactory; import javax.swing.JFrame; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JSplitPane; import javax.swing.JTable; import javax.swing.ListSelectionModel; import org.apache.log4j.Category; import org.apache.log4j.PropertyConfigurator; /** * The main application. * * @author <a href="mailto:[email protected]">Oliver Burn</a> */ public class Main extends JFrame { /** the default port number to listen on **/ private static final int DEFAULT_PORT = 4445; /** name of property for port name **/ public static final String PORT_PROP_NAME = "chainsaw.port"; /** use to log messages **/ private static final Category LOG = Category.getInstance(Main.class); /** * Creates a new <code>Main</code> instance. */ private Main() { super("CHAINSAW - Log4J Log Viewer"); // create the all important model final MyTableModel model = new MyTableModel(); //Create the menu bar. final JMenuBar menuBar = new JMenuBar(); setJMenuBar(menuBar); final JMenu menu = new JMenu("File"); menuBar.add(menu); try { final LoadXMLAction lxa = new LoadXMLAction(this, model); final JMenuItem loadMenuItem = new JMenuItem("Load file..."); menu.add(loadMenuItem); loadMenuItem.addActionListener(lxa); } catch (Exception e) { LOG.info("Unable to create the action to load XML files", e); JOptionPane.showMessageDialog( this, "Unable to create a XML parser - unable to load XML events.", "CHAINSAW", JOptionPane.ERROR_MESSAGE); } final JMenuItem exitMenuItem = new JMenuItem("Exit"); menu.add(exitMenuItem); exitMenuItem.addActionListener(ExitAction.INSTANCE); // Add control panel final ControlPanel cp = new ControlPanel(model); getContentPane().add(cp, BorderLayout.NORTH); // Create the table final JTable table = new JTable(model); table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); final JScrollPane scrollPane = new JScrollPane(table); scrollPane.setBorder(BorderFactory.createTitledBorder("Events: ")); scrollPane.setPreferredSize(new Dimension(900, 300)); // Create the details final JPanel details = new DetailPanel(table, model); details.setPreferredSize(new Dimension(900, 300)); // Add the table and stack trace into a splitter final JSplitPane jsp = new JSplitPane(JSplitPane.VERTICAL_SPLIT, scrollPane, details); getContentPane().add(jsp, BorderLayout.CENTER); addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent aEvent) { ExitAction.INSTANCE.actionPerformed(null); } }); pack(); setVisible(true); setupReceiver(model); } /** * Setup recieving messages. * * @param aModel a <code>MyTableModel</code> value */ private void setupReceiver(MyTableModel aModel) { int port = DEFAULT_PORT; final String strRep = System.getProperty(PORT_PROP_NAME); if (strRep != null) { try { port = Integer.parseInt(strRep); } catch (NumberFormatException nfe) { LOG.fatal("Unable to parse " + PORT_PROP_NAME + " property with value " + strRep + "."); JOptionPane.showMessageDialog( this, "Unable to parse port number from '" + strRep + "', quitting.", "CHAINSAW", JOptionPane.ERROR_MESSAGE); System.exit(1); } } try { final LoggingReceiver lr = new LoggingReceiver(aModel, port); lr.start(); } catch (IOException e) { LOG.fatal("Unable to connect to socket server, quiting", e); JOptionPane.showMessageDialog( this, "Unable to create socket on port " + port + ", quitting.", "CHAINSAW", JOptionPane.ERROR_MESSAGE); System.exit(1); } } //////////////////////////////////////////////////////////////////////////// // static methods //////////////////////////////////////////////////////////////////////////// /** initialise log4j **/ private static void initLog4J() { final Properties props = new Properties(); props.setProperty("log4j.rootCategory", "DEBUG, A1"); props.setProperty("log4j.appender.A1", "org.apache.log4j.ConsoleAppender"); props.setProperty("log4j.appender.A1.layout", "org.apache.log4j.TTCCLayout"); PropertyConfigurator.configure(props); } /** * The main method. * * @param aArgs ignored */ public static void main(String[] aArgs) { initLog4J(); new Main(); } } 1.1 jakarta-log4j/src/java/org/apache/log4j/chainsaw/LoggingReceiver.java Index: LoggingReceiver.java =================================================================== /* * Copyright (C) The Apache Software Foundation. All rights reserved. * * This software is published under the terms of the Apache Software * License version 1.1, a copy of which has been included with this * distribution in the LICENSE.txt file. */ package org.apache.log4j.chainsaw; import java.io.EOFException; import java.io.IOException; import java.io.ObjectInputStream; import java.net.ServerSocket; import java.net.Socket; import java.net.SocketException; import org.apache.log4j.Category; import org.apache.log4j.spi.LoggingEvent; /** * A daemon thread the processes connections from a * <code>org.apache.log4j.net.SocketAppender.html</code>. * * @author <a href="mailto:[email protected]">Oliver Burn</a> */ class LoggingReceiver extends Thread { /** used to log messages **/ private static final Category LOG = Category.getInstance(LoggingReceiver.class); /** * Helper that actually processes a client connection. It receives events * and adds them to the supplied model. * * @author <a href="mailto:[email protected]">Oliver Burn</a> */ private class Slurper implements Runnable { /** socket connection to read events from **/ private final Socket mClient; /** * Creates a new <code>Slurper</code> instance. * * @param aClient socket to receive events from */ Slurper(Socket aClient) { mClient = aClient; } /** loops getting the events **/ public void run() { LOG.debug("Starting to get data"); try { final ObjectInputStream ois = new ObjectInputStream(mClient.getInputStream()); while (true) { final LoggingEvent event = (LoggingEvent) ois.readObject(); mModel.addEvent(new EventDetails(event)); } } catch (EOFException e) { LOG.info("Reached EOF, closing connection"); } catch (SocketException e) { LOG.info("Caught SocketException, closing connection"); } catch (IOException e) { LOG.warn("Got IOException, closing connection", e); } catch (ClassNotFoundException e) { LOG.warn("Got ClassNotFoundException, closing connection", e); } try { mClient.close(); } catch (IOException e) { LOG.warn("Error closing connection", e); } } } /** where to put the events **/ private final MyTableModel mModel; /** server for listening for connections **/ private final ServerSocket mSvrSock; /** * Creates a new <code>LoggingReceiver</code> instance. * * @param aModel model to place put received into * @param aPort port to listen on * @throws IOException if an error occurs */ LoggingReceiver(MyTableModel aModel, int aPort) throws IOException { setDaemon(true); mModel = aModel; mSvrSock = new ServerSocket(aPort); } /** Listens for client connections **/ public void run() { LOG.info("Thread started"); try { while (true) { LOG.debug("Waiting for a connection"); final Socket client = mSvrSock.accept(); LOG.debug("Got a connection from " + client.getInetAddress().getHostName()); final Thread t = new Thread(new Slurper(client)); t.setDaemon(true); t.start(); } } catch (IOException e) { LOG.error("Error in accepting connections, stopping.", e); } } } 1.1 jakarta-log4j/src/java/org/apache/log4j/chainsaw/LoadXMLAction.java Index: LoadXMLAction.java =================================================================== /* * Copyright (C) The Apache Software Foundation. All rights reserved. * * This software is published under the terms of the Apache Software * License version 1.1, a copy of which has been included with this * distribution in the LICENSE.txt file. */ package org.apache.log4j.chainsaw; import java.awt.event.ActionEvent; import java.io.File; import java.io.IOException; import java.io.StringReader; import javax.swing.AbstractAction; import javax.swing.JFileChooser; import javax.swing.JFrame; import javax.swing.JOptionPane; import javax.xml.parsers.ParserConfigurationException; import javax.xml.parsers.SAXParserFactory; import org.apache.log4j.Category; import org.xml.sax.InputSource; import org.xml.sax.SAXException; import org.xml.sax.XMLReader; /** * Encapsulates the action to load an XML file. * * @author <a href="mailto:[email protected]">Oliver Burn</a> * @version 1.0 */ class LoadXMLAction extends AbstractAction { /** use to log messages **/ private static final Category LOG = Category.getInstance(LoadXMLAction.class); /** the parent frame **/ private final JFrame mParent; /** * the file chooser - configured to allow only the selection of a * single file. */ private final JFileChooser mChooser = new JFileChooser(); { mChooser.setMultiSelectionEnabled(false); mChooser.setFileSelectionMode(JFileChooser.FILES_ONLY); } /** parser to read XML files **/ private final XMLReader mParser; /** the content handler **/ private final XMLFileHandler mHandler; /** * Creates a new <code>LoadXMLAction</code> instance. * * @param aParent the parent frame * @param aModel the model to add events to * @exception SAXException if an error occurs * @throws ParserConfigurationException if an error occurs */ LoadXMLAction(JFrame aParent, MyTableModel aModel) throws SAXException, ParserConfigurationException { mParent = aParent; mHandler = new XMLFileHandler(aModel); mParser = SAXParserFactory.newInstance().newSAXParser().getXMLReader(); mParser.setContentHandler(mHandler); } /** * Prompts the user for a file to load events from. * @param aIgnore an <code>ActionEvent</code> value */ public void actionPerformed(ActionEvent aIgnore) { LOG.info("load file called"); if (mChooser.showOpenDialog(mParent) == JFileChooser.APPROVE_OPTION) { LOG.info("Need to load a file"); final File chosen = mChooser.getSelectedFile(); LOG.info("loading the contents of " + chosen.getAbsolutePath()); try { final int num = loadFile(chosen.getAbsolutePath()); JOptionPane.showMessageDialog( mParent, "Loaded " + num + " events.", "CHAINSAW", JOptionPane.INFORMATION_MESSAGE); } catch (Exception e) { LOG.warn("caught an exception loading the file", e); JOptionPane.showMessageDialog( mParent, "Error parsing file - " + e.getMessage(), "CHAINSAW", JOptionPane.ERROR_MESSAGE); } } } /** * Loads the contents of file into the model * * @param aFile the file to extract events from * @return the number of events loaded * @throws SAXException if an error occurs * @throws IOException if an error occurs */ private int loadFile(String aFile) throws SAXException, IOException { synchronized (mParser) { // Create a dummy document to parse the file final StringBuffer buf = new StringBuffer(); buf.append("<?xml version=\"1.0\" standalone=\"yes\"?>\n"); buf.append("<!DOCTYPE log4j:eventSet "); buf.append("[<!ENTITY data SYSTEM \"file:///"); buf.append(aFile); buf.append("\">]>\n"); buf.append("<log4j:eventSet xmlns:log4j=\"Claira\">\n"); buf.append("&data;\n"); buf.append("</log4j:eventSet>\n"); final InputSource is = new InputSource(new StringReader(buf.toString())); mParser.parse(is); return mHandler.getNumEvents(); } } } 1.1 jakarta-log4j/src/java/org/apache/log4j/chainsaw/ExitAction.java Index: ExitAction.java =================================================================== /* * Copyright (C) The Apache Software Foundation. All rights reserved. * * This software is published under the terms of the Apache Software * License version 1.1, a copy of which has been included with this * distribution in the LICENSE.txt file. */ package org.apache.log4j.chainsaw; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import org.apache.log4j.Category; /** * Encapsulates the action to exit. * * @author <a href="mailto:[email protected]">Oliver Burn</a> * @version 1.0 */ class ExitAction extends AbstractAction { /** use to log messages **/ private static final Category LOG = Category.getInstance(ExitAction.class); /** The instance to share **/ public static final ExitAction INSTANCE = new ExitAction(); /** Stop people creating instances **/ private ExitAction() {} /** * Will shutdown the application. * @param aIgnore ignored */ public void actionPerformed(ActionEvent aIgnore) { LOG.info("shutting down"); System.exit(0); } } 1.1 jakarta-log4j/src/java/org/apache/log4j/chainsaw/EventDetails.java Index: EventDetails.java =================================================================== /* * Copyright (C) The Apache Software Foundation. All rights reserved. * * This software is published under the terms of the Apache Software * License version 1.1, a copy of which has been included with this * distribution in the LICENSE.txt file. */ package org.apache.log4j.chainsaw; import org.apache.log4j.Priority; import org.apache.log4j.spi.LoggingEvent; /** * Represents the details of a logging event. It is intended to overcome the * problem that a LoggingEvent cannot be constructed with purely fake data. * * @author <a href="mailto:[email protected]">Oliver Burn</a> * @version 1.0 */ class EventDetails { /** the time of the event **/ private final long mTimeStamp; /** the priority of the event **/ private final Priority mPriority; /** the category of the event **/ private final String mCategoryName; /** the NDC for the event **/ private final String mNDC; /** the thread for the event **/ private final String mThreadName; /** the msg for the event **/ private final String mMessage; /** the throwable details the event **/ private final String[] mThrowableStrRep; /** the location details for the event **/ private final String mLocationDetails; /** * Creates a new <code>EventDetails</code> instance. * @param aTimeStamp a <code>long</code> value * @param aPriority a <code>Priority</code> value * @param aCategoryName a <code>String</code> value * @param aNDC a <code>String</code> value * @param aThreadName a <code>String</code> value * @param aMessage a <code>String</code> value * @param aThrowableStrRep a <code>String[]</code> value * @param aLocationDetails a <code>String</code> value */ EventDetails(long aTimeStamp, Priority aPriority, String aCategoryName, String aNDC, String aThreadName, String aMessage, String[] aThrowableStrRep, String aLocationDetails) { mTimeStamp = aTimeStamp; mPriority = aPriority; mCategoryName = aCategoryName; mNDC = aNDC; mThreadName = aThreadName; mMessage = aMessage; mThrowableStrRep = aThrowableStrRep; mLocationDetails = aLocationDetails; } /** * Creates a new <code>EventDetails</code> instance. * * @param aEvent a <code>LoggingEvent</code> value */ EventDetails(LoggingEvent aEvent) { this(aEvent.timeStamp, aEvent.level, aEvent.categoryName, aEvent.getNDC(), aEvent.getThreadName(), aEvent.getRenderedMessage(), aEvent.getThrowableStrRep(), (aEvent.getLocationInformation() == null) ? null : aEvent.getLocationInformation().fullInfo); } /** @see #mTimeStamp **/ long getTimeStamp() { return mTimeStamp; } /** @see #mPriority **/ Priority getPriority() { return mPriority; } /** @see #mCategoryName **/ String getCategoryName() { return mCategoryName; } /** @see #mNDC **/ String getNDC() { return mNDC; } /** @see #mThreadName **/ String getThreadName() { return mThreadName; } /** @see #mMessage **/ String getMessage() { return mMessage; } /** @see #mLocationDetails **/ String getLocationDetails(){ return mLocationDetails; } /** @see #mThrowableStrRep **/ String[] getThrowableStrRep() { return mThrowableStrRep; } } 1.1 jakarta-log4j/src/java/org/apache/log4j/chainsaw/DetailPanel.java Index: DetailPanel.java =================================================================== /* * Copyright (C) The Apache Software Foundation. All rights reserved. * * This software is published under the terms of the Apache Software * License version 1.1, a copy of which has been included with this * distribution in the LICENSE.txt file. */ package org.apache.log4j.chainsaw; import java.awt.BorderLayout; import java.text.MessageFormat; import java.util.Date; import javax.swing.BorderFactory; import javax.swing.JEditorPane; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JTable; import javax.swing.ListSelectionModel; import javax.swing.event.ListSelectionEvent; import javax.swing.event.ListSelectionListener; import org.apache.log4j.Category; /** * A panel for showing a stack trace. * * @author <a href="mailto:[email protected]">Oliver Burn</a> */ class DetailPanel extends JPanel implements ListSelectionListener { /** used to log events **/ private static final Category LOG = Category.getInstance(DetailPanel.class); /** used to format the logging event **/ private static final MessageFormat FORMATTER = new MessageFormat( "<b>Time:</b> <code>{0,time,medium}</code>" + "&nbsp;&nbsp;<b>Priority:</b> <code>{1}</code>" + "&nbsp;&nbsp;<b>Thread:</b> <code>{2}</code>" + "&nbsp;&nbsp;<b>NDC:</b> <code>{3}</code>" + "<br><b>Category:</b> <code>{4}</code>" + "<br><b>Location:</b> <code>{5}</code>" + "<br><b>Message:</b>" + "<pre>{6}</pre>" + "<b>Throwable:</b>" + "<pre>{7}</pre>"); /** the model for the data to render **/ private final MyTableModel mModel; /** pane for rendering detail **/ private final JEditorPane mDetails; /** * Creates a new <code>DetailPanel</code> instance. * * @param aTable the table to listen for selections on * @param aModel the model backing the table */ DetailPanel(JTable aTable, final MyTableModel aModel) { mModel = aModel; setLayout(new BorderLayout()); setBorder(BorderFactory.createTitledBorder("Details: ")); mDetails = new JEditorPane(); mDetails.setEditable(false); mDetails.setContentType("text/html"); add(new JScrollPane(mDetails), BorderLayout.CENTER); final ListSelectionModel rowSM = aTable.getSelectionModel(); rowSM.addListSelectionListener(this); } /** @see ListSelectionListener **/ public void valueChanged(ListSelectionEvent aEvent) { //Ignore extra messages. if (aEvent.getValueIsAdjusting()) { return; } final ListSelectionModel lsm = (ListSelectionModel) aEvent.getSource(); if (lsm.isSelectionEmpty()) { mDetails.setText("Nothing selected"); } else { final int selectedRow = lsm.getMinSelectionIndex(); final EventDetails e = mModel.getEventDetails(selectedRow); final Object[] args = { new Date(e.getTimeStamp()), e.getPriority(), escape(e.getThreadName()), escape(e.getNDC()), escape(e.getCategoryName()), escape(e.getLocationDetails()), escape(e.getMessage()), escape(getThrowableStrRep(e)) }; mDetails.setText(FORMATTER.format(args)); mDetails.setCaretPosition(0); } } //////////////////////////////////////////////////////////////////////////// // Private methods //////////////////////////////////////////////////////////////////////////// /** * Returns a string representation of a throwable. * * @param aEvent contains the throwable information * @return a <code>String</code> value */ private static String getThrowableStrRep(EventDetails aEvent) { final String[] strs = aEvent.getThrowableStrRep(); if (strs == null) { return null; } final StringBuffer sb = new StringBuffer(); for (int i = 0; i < strs.length; i++) { sb.append(strs[i]).append("\n"); } return sb.toString(); } /** * Escape &lt;, &gt; &amp; and &quot; as their entities. It is very * dumb about &amp; handling. * @param aStr the String to escape. * @return the escaped String */ private String escape(String aStr) { if (aStr == null) { return null; } final StringBuffer buf = new StringBuffer(); for (int i = 0; i < aStr.length(); i++) { char c = aStr.charAt(i); switch (c) { case '<': buf.append("&lt;"); break; case '>': buf.append("&gt;"); break; case '\"': buf.append("&quot;"); break; case '&': buf.append("&amp;"); break; default: buf.append(c); break; } } return buf.toString(); } } 1.1 jakarta-log4j/src/java/org/apache/log4j/chainsaw/ControlPanel.java Index: ControlPanel.java =================================================================== /* * Copyright (C) The Apache Software Foundation. All rights reserved. * * This software is published under the terms of the Apache Software * License version 1.1, a copy of which has been included with this * distribution in the LICENSE.txt file. */ package org.apache.log4j.chainsaw; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.BorderFactory; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTextField; import javax.swing.event.DocumentEvent; import javax.swing.event.DocumentListener; import org.apache.log4j.Category; import org.apache.log4j.Priority; /** * Represents the controls for filtering, pausing, exiting, etc. * * @author <a href="mailto:[email protected]">Oliver Burn</a> */ class ControlPanel extends JPanel { /** use the log messages **/ private static final Category LOG = Category.getInstance(ControlPanel.class); /** * Creates a new <code>ControlPanel</code> instance. * * @param aModel the model to control */ ControlPanel(final MyTableModel aModel) { setBorder(BorderFactory.createTitledBorder("Controls: ")); final GridBagLayout gridbag = new GridBagLayout(); final GridBagConstraints c = new GridBagConstraints(); setLayout(gridbag); // Pad everything c.ipadx = 5; c.ipady = 5; // Add the 1st column of labels c.gridx = 0; c.anchor = GridBagConstraints.EAST; c.gridy = 0; JLabel label = new JLabel("Filter Level:"); gridbag.setConstraints(label, c); add(label); c.gridy++; label = new JLabel("Filter Thread:"); gridbag.setConstraints(label, c); add(label); c.gridy++; label = new JLabel("Filter Category:"); gridbag.setConstraints(label, c); add(label); c.gridy++; label = new JLabel("Filter NDC:"); gridbag.setConstraints(label, c); add(label); c.gridy++; label = new JLabel("Filter Message:"); gridbag.setConstraints(label, c); add(label); // Add the 2nd column of filters c.weightx = 1; //c.weighty = 1; c.gridx = 1; c.anchor = GridBagConstraints.WEST; c.gridy = 0; final Priority[] allPriorities = Priority.getAllPossiblePriorities(); final JComboBox priorities = new JComboBox(allPriorities); final Priority lowest = allPriorities[allPriorities.length - 1]; priorities.setSelectedItem(lowest); aModel.setPriorityFilter(lowest); gridbag.setConstraints(priorities, c); add(priorities); priorities.setEditable(false); priorities.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent aEvent) { aModel.setPriorityFilter( (Priority) priorities.getSelectedItem()); } }); c.fill = GridBagConstraints.HORIZONTAL; c.gridy++; final JTextField threadField = new JTextField(""); threadField.getDocument().addDocumentListener(new DocumentListener () { public void insertUpdate(DocumentEvent aEvent) { aModel.setThreadFilter(threadField.getText()); } public void removeUpdate(DocumentEvent aEvente) { aModel.setThreadFilter(threadField.getText()); } public void changedUpdate(DocumentEvent aEvent) { aModel.setThreadFilter(threadField.getText()); } }); gridbag.setConstraints(threadField, c); add(threadField); c.gridy++; final JTextField catField = new JTextField(""); catField.getDocument().addDocumentListener(new DocumentListener () { public void insertUpdate(DocumentEvent aEvent) { aModel.setCategoryFilter(catField.getText()); } public void removeUpdate(DocumentEvent aEvent) { aModel.setCategoryFilter(catField.getText()); } public void changedUpdate(DocumentEvent aEvent) { aModel.setCategoryFilter(catField.getText()); } }); gridbag.setConstraints(catField, c); add(catField); c.gridy++; final JTextField ndcField = new JTextField(""); ndcField.getDocument().addDocumentListener(new DocumentListener () { public void insertUpdate(DocumentEvent aEvent) { aModel.setNDCFilter(ndcField.getText()); } public void removeUpdate(DocumentEvent aEvent) { aModel.setNDCFilter(ndcField.getText()); } public void changedUpdate(DocumentEvent aEvent) { aModel.setNDCFilter(ndcField.getText()); } }); gridbag.setConstraints(ndcField, c); add(ndcField); c.gridy++; final JTextField msgField = new JTextField(""); msgField.getDocument().addDocumentListener(new DocumentListener () { public void insertUpdate(DocumentEvent aEvent) { aModel.setMessageFilter(msgField.getText()); } public void removeUpdate(DocumentEvent aEvent) { aModel.setMessageFilter(msgField.getText()); } public void changedUpdate(DocumentEvent aEvent) { aModel.setMessageFilter(msgField.getText()); } }); gridbag.setConstraints(msgField, c); add(msgField); // Add the 3rd column of buttons c.weightx = 0; c.fill = GridBagConstraints.HORIZONTAL; c.anchor = GridBagConstraints.EAST; c.gridx = 2; c.gridy = 0; final JButton exitButton = new JButton("Exit"); exitButton.setMnemonic('x'); exitButton.addActionListener(ExitAction.INSTANCE); gridbag.setConstraints(exitButton, c); add(exitButton); c.gridy++; final JButton clearButton = new JButton("Clear"); clearButton.setMnemonic('c'); clearButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent aEvent) { aModel.clear(); } }); gridbag.setConstraints(clearButton, c); add(clearButton); c.gridy++; final JButton toggleButton = new JButton("Pause"); toggleButton.setMnemonic('p'); toggleButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent aEvent) { aModel.toggle(); toggleButton.setText( aModel.isPaused() ? "Resume" : "Pause"); } }); gridbag.setConstraints(toggleButton, c); add(toggleButton); } } -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Sat Mar 23 08:13:28 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70896 invoked from network); 23 Mar 2002 08:13:28 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 23 Mar 2002 08:13:28 -0000 Received: (qmail 5171 invoked by uid 97); 23 Mar 2002 08:13:40 -0000 Delivered-To: [email protected] Received: (qmail 5161 invoked by uid 97); 23 Mar 2002 08:13:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J CVS List" <log4j-cvs.jakarta.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 17779 invoked from network); 23 Mar 2002 07:15:24 -0000 Date: 23 Mar 2002 07:15:11 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-log4j/build/lib checkstyle-all-2.1.jar X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N oburn 02/03/22 23:15:11 Added: build/lib checkstyle-all-2.1.jar Log: Added so able to run checkstyle. Availble from http://checkstyle.sf.net Revision Changes Path 1.1 jakarta-log4j/build/lib/checkstyle-all-2.1.jar <<Binary file>> -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Sun Mar 24 23:37:15 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40782 invoked from network); 24 Mar 2002 23:37:14 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 24 Mar 2002 23:37:14 -0000 Received: (qmail 10259 invoked by uid 97); 24 Mar 2002 23:37:22 -0000 Delivered-To: [email protected] Received: (qmail 10221 invoked by uid 97); 24 Mar 2002 23:37:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J CVS List" <log4j-cvs.jakarta.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 10210 invoked from network); 24 Mar 2002 23:37:20 -0000 Date: 24 Mar 2002 23:37:11 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-log4j/tests/src/java/org/apache/log4j/xml CustomLevelTestCase.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ceki 02/03/24 15:37:11 Modified: . build.xml src/xdocs documentation.xml tests/src/java/org/apache/log4j/xml CustomLevelTestCase.java Log: minor changes Revision Changes Path 1.23 +2 -0 jakarta-log4j/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-log4j/build.xml,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- build.xml 23 Mar 2002 07:53:05 -0000 1.22 +++ build.xml 24 Mar 2002 23:37:11 -0000 1.23 @@ -281,6 +281,7 @@ ${stem}/spi/*.class, ${stem}/net/*.class, ${stem}/varia/*.class, + ${stem}/chainsaw/*.class, ${stem}/nt/*.class, ${stem}/xml/*.class, ${stem}/jmx/*.class, @@ -314,6 +315,7 @@ org.apache.log4j.performance, org.apache.log4j.spi, org.apache.log4j.varia, + org.apache.log4j.chainsaw, org.apache.log4j.xml, org.apache.log4j.xml.examples" version="true" 1.15 +64 -37 jakarta-log4j/src/xdocs/documentation.xml Index: documentation.xml =================================================================== RCS file: /home/cvs/jakarta-log4j/src/xdocs/documentation.xml,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- documentation.xml 21 Jan 2002 23:07:12 -0000 1.14 +++ documentation.xml 24 Mar 2002 23:37:11 -0000 1.15 @@ -8,46 +8,73 @@ <body> -<section name="log4j documentation"> + <section name="Official log4j documentation"> -<p>The following documentation is included with the standard log4j -distribution and also browsable online:</p> + <p>The following documentation is included with the standard log4j + distribution and also browsable online:</p> + + <ul> + <p> + <li><a href="manual.html"><b>short manual</b></a>, + </li> + </p> + + <p> + <li> + <a href="api/index.html"><b>javadoc documentation</b></a>, + </li> + </p> + + <p> + <li> + <a href="HISTORY"><b>project history</b></a>, + </li> + </p> + + + <p> + <li> + <a href="FAQ.html"><b>FAQ</b></a>, + </li> + </p> + + <p> + <li> + <a href="TROUBLESHOOT.html"><b>troubleshooting guide</b></a>. + </li> + </p> + + </ul> + </section> + + <section name="Articles on log4j"> + <ul> + + <li><a href="http://www.vipan.com/htdocs/log4jhelp.html">Don't Use System.out.println! + Use Log4j</a> by Vipan Singla + </li> + + <li><a href="http://builder.com.com/article.jhtml?id=u00820020124kev01.htm"> + Add logging to your Java Applications</a> by Kevin Brown + </li> + + <li><a href="http://www.entwickler.com/jm/ausgaben/2001/4/artikel/17/online.shtml"> + Computer: captains, new entry... DasJakarta Logging-System log4j</a> by Thomas Poschmann + </li> + + <li> + <a href="http://www.opensymphony.com/guidelines/logging.jsp">OpenSymphony Logging Primer</a> + </li> + </ul> + + <p>If you would like your log4j-relateed article to be listed + here, then please send a note to the <a + href="mailto:[email protected]">[email protected]</a> + list. + </p> -<ul> - <p> - <li><a href="manual.html"><b>short manual</b></a>, - </li> - </p> - - <p> - <li> - <a href="api/index.html"><b>javadoc documentation</b></a>, - </li> - </p> - - <p> - <li> - <a href="HISTORY"><b>project history</b></a>, - </li> - </p> - - - <p> - <li> - <a href="FAQ.html"><b>FAQ</b></a>, - </li> - </p> - - <p> - <li> - <a href="TROUBLESHOOT.html"><b>troubleshooting guide</b></a>. - </li> - </p> - -</ul> - -</section> + </section> </body> </document> 1.2 +8 -0 jakarta-log4j/tests/src/java/org/apache/log4j/xml/CustomLevelTestCase.java Index: CustomLevelTestCase.java =================================================================== RCS file: /home/cvs/jakarta-log4j/tests/src/java/org/apache/log4j/xml/CustomLevelTestCase.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- CustomLevelTestCase.java 18 Feb 2002 19:16:52 -0000 1.1 +++ CustomLevelTestCase.java 24 Mar 2002 23:37:11 -0000 1.2 @@ -48,6 +48,13 @@ assert(Compare.compare(TEMP, "witness/customLevel.3")); } + public void test4() throws Exception { + DOMConfigurator.configure("input/xml/customLevel4.xml"); + common(); + assert(Compare.compare(TEMP, "witness/customLevel.4")); + } + + void common() { int i = 0; logger.debug("Message " + ++i); @@ -62,6 +69,7 @@ suite.addTest(new CustomLevelTestCase("test1")); suite.addTest(new CustomLevelTestCase("test2")); suite.addTest(new CustomLevelTestCase("test3")); + suite.addTest(new CustomLevelTestCase("test4")); return suite; } -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Sun Mar 24 23:41:59 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41912 invoked from network); 24 Mar 2002 23:41:58 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 24 Mar 2002 23:41:58 -0000 Received: (qmail 11282 invoked by uid 97); 24 Mar 2002 23:42:06 -0000 Delivered-To: [email protected] Received: (qmail 11256 invoked by uid 97); 24 Mar 2002 23:42:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J CVS List" <log4j-cvs.jakarta.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 11216 invoked from network); 24 Mar 2002 23:42:05 -0000 Date: 24 Mar 2002 23:41:56 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-log4j/tests/witness customLevel.4 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ceki 02/03/24 15:41:56 Added: tests/input/xml customLevel4.xml tests/witness customLevel.4 Log: An additional test case input xml and witness files Revision Changes Path 1.1 jakarta-log4j/tests/input/xml/customLevel4.xml Index: customLevel4.xml =================================================================== <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> <log4j:configuration debug="true" xmlns:log4j='http://jakarta.apache.org/log4j/'> <appender name="TEMP" class="org.apache.log4j.FileAppender"> <param name="Append" value="false" /> <param name="File" value="output/temp" /> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%-5p %c{2} - %m\n"/> </layout> </appender> <root> <level value="TRACE#org.apache.log4j.xml.XLevel"/> <appender-ref ref="TEMP" /> </root> </log4j:configuration> 1.1 jakarta-log4j/tests/witness/customLevel.4 Index: customLevel.4 =================================================================== DEBUG xml.CustomLevelTestCase - Message 1 INFO xml.CustomLevelTestCase - Message 2 WARN xml.CustomLevelTestCase - Message 3 ERROR xml.CustomLevelTestCase - Message 4 TRACE xml.CustomLevelTestCase - Message 5 -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Mon Mar 25 21:56:40 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9892 invoked from network); 25 Mar 2002 21:56:39 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 25 Mar 2002 21:56:39 -0000 Received: (qmail 13225 invoked by uid 97); 25 Mar 2002 21:56:45 -0000 Delivered-To: [email protected] Received: (qmail 13191 invoked by uid 97); 25 Mar 2002 21:56:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J CVS List" <log4j-cvs.jakarta.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 13180 invoked from network); 25 Mar 2002 21:56:44 -0000 Date: 25 Mar 2002 21:56:36 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-log4j/src/java/org/apache/log4j/jdbc - New directory X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ceki 02/03/25 13:56:36 jakarta-log4j/src/java/org/apache/log4j/jdbc - New directory -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Mon Mar 25 21:58:01 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10446 invoked from network); 25 Mar 2002 21:58:01 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 25 Mar 2002 21:58:01 -0000 Received: (qmail 14751 invoked by uid 97); 25 Mar 2002 21:58:07 -0000 Delivered-To: [email protected] Received: (qmail 14687 invoked by uid 97); 25 Mar 2002 21:58:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J CVS List" <log4j-cvs.jakarta.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 14676 invoked from network); 25 Mar 2002 21:58:06 -0000 Date: 25 Mar 2002 21:57:58 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-log4j/src/java/org/apache/log4j/jdbc JDBCAppender.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ceki 02/03/25 13:57:58 Added: src/java/org/apache/log4j/jdbc JDBCAppender.java Log: The JDBCAppender provides for sendinhg log messages to a database. Submitted by Kevin Steppe Revision Changes Path 1.1 jakarta-log4j/src/java/org/apache/log4j/jdbc/JDBCAppender.java Index: JDBCAppender.java =================================================================== package org.apache.log4j; import org.apache.log4j.*; import org.apache.log4j.spi.*; import org.apache.log4j.PatternLayout; import org.apache.log4j.helpers.OptionConverter; import java.util.List; import java.util.ArrayList; import java.util.Iterator; import java.sql.DriverManager; import java.sql.Connection; import java.sql.Statement; import java.sql.SQLException; /** * The JDBCAppender provides for sendinhg log messages to a database. * * Each append call adds to an ArrayList buffer. When the buffer is filled * each log event is placed in a sql statement (configurable) and executed. * * BufferSize, db URL, User, & Password are configurable options in * the standard Log4J ways. * * The setSql(String sql) sets the SQL statement to be used for logging -- * this statement is sent to a PatternLayout (either created automaticly * by the appender or added by the user). Therefore by default all the * conversion patterns in PatternLayout can be used inside of the statement. * (see the test cases for examples) * * Overriding the getLogStatement method allows more explicit control of the * statement used for logging. * * For use as a base class: * * Override getConnection() to pass any connection you want. * Typically this is used to enable application wide connection pooling. * Override closeConnection(Connection con) -- if you override getConnection * make sure to implement closeConnection to handle the connection you * generated. Typically this would return the connection to the pool it * came from. * * Override getLogStatement(LoggingEvent event) to produce specialized or * dynamic statements The default uses the sql option value * * @author: Kevin Steppe (<A HREF="mailto:[email protected]">[email protected]</A>) */ public class JDBCAppender extends org.apache.log4j.AppenderSkeleton implements org.apache.log4j.Appender { /** * URL of the DB for default connection handling */ protected String databaseURL = "jdbc:odbc:myDB"; /** * User to connect as for default connection handling */ protected String databaseUser = "me"; /** * User to use for default connection handling */ protected String databasePassword = "mypassword"; /** * Connection used by default. The connection is opened the first time it * is needed and then held open until the appender is closed (usually at * garbage collection). This behavior is best modified by creating a * sub-class and overriding the <code>getConnection</code> and * <code>closeConnection</code> methods. */ protected Connection connection = null; /** * Stores the string given to the pattern layout for conversion into a SQL * statement, eg: insert into LogTable (Thread, Class, Message) values * ("%t", "%c", "%m") * * Be careful of quotes in your messages! * * Also see PatternLayout. */ protected String sqlStatement = ""; /** * size of LoggingEvent buffer before writting to the database. * Default is 1. */ protected int bufferSize = 1; /** * ArrayList holding the buffer of Logging Events. */ protected ArrayList buffer; /** * Helper object for clearing out the buffer */ protected ArrayList removes; public JDBCAppender() { super(); buffer = new ArrayList(bufferSize); removes = new ArrayList(bufferSize); } /** * Adds the event to the buffer. When full the buffer is flushed. */ public void append(LoggingEvent event) { buffer.add(event); if (buffer.size() >= bufferSize) flushBuffer(); } /** * By default getLogStatement sends the event to the required Layout object. * The layout will format the given pattern into a workable SQL string. * * Overriding this provides direct access to the LoggingEvent * when constructing the logging statement. * */ protected String getLogStatement(LoggingEvent event) { return getLayout().format(event); } /** * * Override this to provide an alertnate method of getting * connections (such as caching). One method to fix this is to open * connections at the start of flushBuffer() and close them at the * end. I use a connection pool outside of JDBCAppender which is * accessed in an override of this method. * */ protected void execute(String sql) throws SQLException { Connection con = null; Statement stmt = null; try { con = getConnection(); stmt = con.createStatement(); stmt.executeUpdate(sql); } catch (SQLException e) { if (stmt != null) stmt.close(); throw e; } stmt.close(); closeConnection(con); System.out.println("Execute: " + sql); } /** * Override this to return the connection to a pool, or to clean up the * resource. * * The default behavior holds a single connection open until the appender * is closed (typically when garbage collected). */ protected void closeConnection(Connection con) { } /** * Override this to link with your connection pooling system. * * By default this creates a single connection which is held open * until the object is garbage collected. */ protected Connection getConnection() throws SQLException { if (!DriverManager.getDrivers().hasMoreElements()) setDriver("sun.jdbc.odbc.JdbcOdbcDriver"); if (connection == null) { connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword); } return connection; } /** * Closes the appender, flushing the buffer first then closing the default * connection if it is open. */ public void close() { flushBuffer(); try { if (connection != null && !connection.isClosed()) connection.close(); } catch (SQLException e) { errorHandler.error("Error closing connection", e, ErrorCode.GENERIC_FAILURE); } this.closed = true; } /** * loops through the buffer of LoggingEvents, gets a * sql string from getLogStatement() and sends it to execute(). * Errors are sent to the errorHandler. * * If a statement fails the LoggingEvent stays in the buffer! */ public void flushBuffer() { //Do the actual logging removes.ensureCapacity(buffer.size()); for (Iterator i = buffer.iterator(); i.hasNext();) { try { LoggingEvent logEvent = (LoggingEvent)i.next(); String sql = getLogStatement(logEvent); execute(sql); removes.add(logEvent); } catch (SQLException e) { errorHandler.error("Failed to excute sql", e, ErrorCode.FLUSH_FAILURE); } } buffer.removeAll(removes); //buffer.clear(); } /** closes the appender before disposal */ public void finalize() { close(); } /** * JDBCAppender builds a layout internally if one is not provided. */ public boolean requiresLayout() { return false; } /** * */ public void setSql(String s) { sqlStatement = s; if (getLayout() == null) { this.setLayout(new PatternLayout(s)); } else { ((PatternLayout)getLayout()).setConversionPattern(s); } } /** * Returns pre-formated statement eg: insert into LogTable (msg) values ("%m") */ public String getSql() { return sqlStatement; } public void setUser(String user) { databaseUser = user; } public void setURL(String url) { databaseURL = url; } public void setPassword(String password) { databasePassword = password; } public void setBufferSize(int newBufferSize) { bufferSize = newBufferSize; buffer.ensureCapacity(bufferSize); removes.ensureCapacity(bufferSize); } public String getUser() { return databaseUser; } public String getURL() { return databaseURL; } public String getPassword() { return databasePassword; } public int getBufferSize() { return bufferSize; } /** * Ensures that the given driver class has been loaded for sql connection * creation. */ public void setDriver(String driverClass) { try { Class.forName(driverClass); } catch (Exception e) { errorHandler.error("Failed to load driver", e, ErrorCode.GENERIC_FAILURE); } } } -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Mon Mar 25 22:05:48 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19854 invoked from network); 25 Mar 2002 22:05:48 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 25 Mar 2002 22:05:48 -0000 Received: (qmail 21717 invoked by uid 97); 25 Mar 2002 22:05:45 -0000 Delivered-To: [email protected] Received: (qmail 21646 invoked by uid 97); 25 Mar 2002 22:05:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J CVS List" <log4j-cvs.jakarta.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 21586 invoked from network); 25 Mar 2002 22:05:44 -0000 Date: 25 Mar 2002 22:05:36 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-log4j/src/java/org/apache/log4j/net SocketHubAppender.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ceki 02/03/25 14:05:36 Modified: src/java/org/apache/log4j/jdbc JDBCAppender.java Added: src/java/org/apache/log4j/net SocketHubAppender.java Log: Added SocketHubAppender as supplied by Mark Womack. Renamed the package of JDBCAppender Revision Changes Path 1.2 +1 -1 jakarta-log4j/src/java/org/apache/log4j/jdbc/JDBCAppender.java Index: JDBCAppender.java =================================================================== RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/jdbc/JDBCAppender.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- JDBCAppender.java 25 Mar 2002 21:57:57 -0000 1.1 +++ JDBCAppender.java 25 Mar 2002 22:05:36 -0000 1.2 @@ -1,4 +1,4 @@ -package org.apache.log4j; +package org.apache.log4j.jdbc; import org.apache.log4j.*; import org.apache.log4j.spi.*; 1.1 jakarta-log4j/src/java/org/apache/log4j/net/SocketHubAppender.java Index: SocketHubAppender.java =================================================================== /* * Copyright (C) The Apache Software Foundation. All rights reserved. * * This software is published under the terms of the Apache Software License * version 1.1, a copy of which has been included with this distribution in * the LICENSE file. */ package org.apache.log4j.net; import java.util.Vector; import java.net.Socket; import java.net.ServerSocket; import java.net.SocketException; import java.io.ObjectOutputStream; import java.io.IOException; import java.io.InterruptedIOException; import java.net.InetAddress; import org.apache.log4j.helpers.LogLog; import org.apache.log4j.spi.LoggingEvent; import org.apache.log4j.AppenderSkeleton; /** Sends {@link LoggingEvent} objects to a set remote a log servers, usually a {@link SocketNode}. Acts just like {@link SocketAppender} except that instead of connecting to a given remote log server, SocketHubAppender accepts connections from the remote log servers as clients. It can accept more than one connection, and when a log event is handled, the event is sent to the set of currently connected remote log servers. Implemented this way it does not require any update to the configuration file to send data to another remote log server. The remote log server simple connects to the host and port the SocketHubAppender is running on. However, given the nature of accepting connections on-the-fly, it cannot be guaranteed that all events will be received while the tcp connection is in process. But once connected, it should behave the same as {@link SocketAppender}. This implementation borrows heavily from the {@link SocketAppender} implementation as an example. <p>The SocketHubAppender has the following properties: <ul> <p><li>If sent to a {@link SocketNode}, remote logging is non-intrusive as far as the log event is concerned. In other words, the event will be logged with the same time stamp, {@link org.apache.log4j.NDC}, location info as if it were logged locally by the client. <p><li>SocketHubAppenders do not use a layout. They ship a serialized {@link LoggingEvent} object to the server side. <p><li>Remote logging uses the TCP protocol. Consequently, if the server is reachable, then log events will eventually arrive at the server. <p><li>If no remote servers are attached, the logging requests are simply dropped. <p><li>Logging events are automatically <em>buffered</em> by the native TCP implementation. This means that if the link to server is slow but still faster than the rate of (log) event production by the client, the client will not be affected by the slow network connection. However, if the network connection is slower then the rate of event production, then the client can only progress at the network rate. In particular, if the network link to the the server is down, the client will be blocked. <p>On the other hand, if the network link is up, but the server is down, the client will not be blocked when making log requests but the log events will be lost due to server unavailability. <p><li>If the JVM hosting the <code>SocketHubAppender</code> exits before the <code>SocketHubAppender</code> is closed either explicitly or subsequent to garbage collection, then there might be untransmitted data in the pipe which might be lost. This is a common problem on Windows based systems. <p>To avoid lost data, it is usually sufficient to {@link #close} the <code>SocketHubAppender</code> either explicitly or by calling the {@link Category#shutdown} method before exiting the application. </ul> @author Mark Womack */ public class SocketHubAppender extends AppenderSkeleton { /** The default port number of the ServerSocket will be created on. */ static final int DEFAULT_PORT = 4560; private int port = DEFAULT_PORT; private Vector oosList = new Vector(); private ServerMonitor serverMonitor = null; private boolean locationInfo = false; public SocketHubAppender() { } /** Connects to remote server at <code>address</code> and <code>port</code>. */ public SocketHubAppender(int _port) { port = _port; startServer(); } /** Set up the socket server on the specified port. */ public void activateOptions() { startServer(); } /** Close this appender. <p>This will mark the appender as closed and call then {@link #cleanUp} method. */ synchronized public void close() { if(closed) return; LogLog.debug("closing SocketHubAppender " + getName()); this.closed = true; cleanUp(); LogLog.debug("SocketHubAppender " + getName() + " closed"); } /** Release the underlying ServerMonitor thread, and drop the connections to all connected remote servers. */ public void cleanUp() { // stop the monitor thread LogLog.debug("stopping ServerSocket"); serverMonitor.stopMonitor(); serverMonitor = null; // close all of the connections LogLog.debug("closing client connections"); while (oosList.size() != 0) { ObjectOutputStream oos = (ObjectOutputStream)oosList.get(0); if(oos != null) { try { oos.close(); } catch(IOException e) { LogLog.error("could not close oos.", e); } oosList.remove(0); } } } /** Append an event to all of current connections. */ public void append(LoggingEvent event) { // if no event or no open connections, exit now if(event == null || oosList.size() == 0) return; // set up location info if requested if (locationInfo) { event.getLocationInformation(); } // loop through the current set of open connections, appending the event to each for (int streamCount = 0; streamCount < oosList.size(); streamCount++) { ObjectOutputStream oos = null; try { oos = (ObjectOutputStream)oosList.get(streamCount); } catch (ArrayIndexOutOfBoundsException e) { // catch this, but just don't assign a value // this should not really occur as this method is // the only one that can remove oos's (besides cleanUp). } // list size changed unexpectedly? Just exit the append. if (oos == null) break; try { oos.writeObject(event); oos.flush(); // Failing to reset the object output stream every now and // then creates a serious memory leak. // right now we always reset. TODO - set up frequency counter per oos? oos.reset(); } catch(IOException e) { // there was an io exception so just drop the connection oosList.remove(streamCount); LogLog.debug("dropped connection"); // decrement to keep the counter in place (for loop always increments) streamCount--; } } } /** The SocketHubAppender does not use a layout. Hence, this method returns <code>false</code>. */ public boolean requiresLayout() { return false; } /** The <b>Port</b> option takes a positive integer representing the port where the server is waiting for connections. */ public void setPort(int _port) { port = _port; } /** Returns value of the <b>Port</b> option. */ public int getPort() { return port; } /** The <b>LocationInfo</b> option takes a boolean value. If true, the information sent to the remote host will include location information. By default no location information is sent to the server. */ public void setLocationInfo(boolean _locationInfo) { locationInfo = _locationInfo; } /** Returns value of the <b>LocationInfo</b> option. */ public boolean getLocationInfo() { return locationInfo; } /** Start the ServerMonitor thread. */ private void startServer() { serverMonitor = new ServerMonitor(port, oosList); } /** This class is used internally to monitor a ServerSocket and register new connections in a vector passed in the constructor. */ private class ServerMonitor implements Runnable { private int port; private Vector oosList; private boolean keepRunning; private Thread monitorThread; /** Create a thread and start the monitor. */ public ServerMonitor(int _port, Vector _oosList) { port = _port; oosList = _oosList; keepRunning = true; monitorThread = new Thread(this); monitorThread.setDaemon(true); monitorThread.start(); } /** Stops the monitor. This method will not return until the thread has finished executing. */ public synchronized void stopMonitor() { if (keepRunning) { LogLog.debug("server monitor thread shutting down"); keepRunning = false; try { monitorThread.join(); } catch (InterruptedException e) { // do nothing? } // release the thread monitorThread = null; LogLog.debug("server monitor thread shut down"); } } /** Method that runs, monitoring the ServerSocket and adding connections as they connect to the socket. */ public void run() { ServerSocket serverSocket = null; try { serverSocket = new ServerSocket(port); serverSocket.setSoTimeout(1000); } catch (Exception e) { LogLog.error("exception setting timeout, shutting down server socket.", e); keepRunning = false; return; } try { try { serverSocket.setSoTimeout(1000); } catch (SocketException e) { LogLog.error("exception setting timeout, shutting down server socket.", e); return; } while (keepRunning) { Socket socket = null; try { socket = serverSocket.accept(); } catch (InterruptedIOException e) { // timeout occurred, so just loop } catch (SocketException e) { LogLog.error("exception accepting socket, shutting down server socket.", e); keepRunning = false; } catch (IOException e) { LogLog.error("exception accepting socket.", e); } // if there was a socket accepted if (socket != null) { try { InetAddress remoteAddress = socket.getInetAddress(); LogLog.debug("accepting connection from " + remoteAddress.getHostName() + " (" + remoteAddress.getHostAddress() + ")"); // create an ObjectOutputStream ObjectOutputStream oos = new ObjectOutputStream(socket.getOutputStream()); // add it to the oosList. OK since Vector is synchronized. oosList.add(oos); } catch (IOException e) { LogLog.error("exception creating output stream on socket.", e); } } } } finally { // close the socket try { serverSocket.close(); } catch (IOException e) { // do nothing with it? } } } } } -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Mon Mar 25 22:37:24 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45433 invoked from network); 25 Mar 2002 22:37:24 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 25 Mar 2002 22:37:24 -0000 Received: (qmail 17274 invoked by uid 97); 25 Mar 2002 22:37:29 -0000 Delivered-To: [email protected] Received: (qmail 17257 invoked by uid 97); 25 Mar 2002 22:37:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J CVS List" <log4j-cvs.jakarta.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 17246 invoked from network); 25 Mar 2002 22:37:28 -0000 Date: 25 Mar 2002 22:37:21 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-log4j/src/java/org/apache/log4j/net SocketHubAppender.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ceki 02/03/25 14:37:21 Modified: . build.xml docs HISTORY src/java/org/apache/log4j/jdbc JDBCAppender.java src/java/org/apache/log4j/net SocketHubAppender.java Log: Doc changes. Revision Changes Path 1.24 +1 -0 jakarta-log4j/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-log4j/build.xml,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- build.xml 24 Mar 2002 23:37:11 -0000 1.23 +++ build.xml 25 Mar 2002 22:37:21 -0000 1.24 @@ -311,6 +311,7 @@ org.apache.log4j.net, org.apache.log4j.nt, org.apache.log4j.or, + org.apache.log4j.jdbc, org.apache.log4j.or.sax, org.apache.log4j.performance, org.apache.log4j.spi, 1.86 +8 -0 jakarta-log4j/docs/HISTORY Index: HISTORY =================================================================== RCS file: /home/cvs/jakarta-log4j/docs/HISTORY,v retrieving revision 1.85 retrieving revision 1.86 diff -u -r1.85 -r1.86 --- HISTORY 11 Mar 2002 23:43:45 -0000 1.85 +++ HISTORY 25 Mar 2002 22:37:21 -0000 1.86 @@ -14,6 +14,14 @@ - In the Category class, the .getChainedPriority method has been replaced with getEffectiveLevel method. [*] + - Added the org.apache.log4j.jdbc.JDBCAppender which as the name + indicates sends events to a database using the JDBC API. Thanks to + Kevin Steppe for supplying the code. [*] + + - Added SocketHubAppender class as contributed by Mark Womack. This + appender sends LoggingEvent objects to a set of remote a log + servers. [*] + (beta4) - Replaced the custom class loading based on the thread context class 1.3 +41 -33 jakarta-log4j/src/java/org/apache/log4j/jdbc/JDBCAppender.java Index: JDBCAppender.java =================================================================== RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/jdbc/JDBCAppender.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- JDBCAppender.java 25 Mar 2002 22:05:36 -0000 1.2 +++ JDBCAppender.java 25 Mar 2002 22:37:21 -0000 1.3 @@ -16,39 +16,48 @@ /** - * The JDBCAppender provides for sendinhg log messages to a database. - * - * Each append call adds to an ArrayList buffer. When the buffer is filled - * each log event is placed in a sql statement (configurable) and executed. - * - * BufferSize, db URL, User, & Password are configurable options in - * the standard Log4J ways. - * - * The setSql(String sql) sets the SQL statement to be used for logging -- - * this statement is sent to a PatternLayout (either created automaticly - * by the appender or added by the user). Therefore by default all the - * conversion patterns in PatternLayout can be used inside of the statement. - * (see the test cases for examples) - * - * Overriding the getLogStatement method allows more explicit control of the - * statement used for logging. - * - * For use as a base class: - * - * Override getConnection() to pass any connection you want. - * Typically this is used to enable application wide connection pooling. - * Override closeConnection(Connection con) -- if you override getConnection - * make sure to implement closeConnection to handle the connection you - * generated. Typically this would return the connection to the pool it - * came from. - * - * Override getLogStatement(LoggingEvent event) to produce specialized or - * dynamic statements The default uses the sql option value - * - * @author: Kevin Steppe (<A HREF="mailto:[email protected]">[email protected]</A>) -*/ - + The JDBCAppender provides for sending log events to a database. + + <p>Each append call adds to an <code>ArrayList</code> buffer. When + the buffer is filled each log event is placed in a sql statement + (configurable) and executed. + + <b>BufferSize</b>, <b>db URL</b>, <b>User</b>, & <b>Password</b> are + configurable options in the standard log4j ways. + + <p>The <code>setSql(String sql)</code> sets the SQL statement to be + used for logging -- this statement is sent to a + <code>PatternLayout</code> (either created automaticly by the + appender or added by the user). Therefore by default all the + conversion patterns in <code>PatternLayout</code> can be used + inside of the statement. (see the test cases for examples) + + <p>Overriding the {@link getLogStatement} method allows more + explicit control of the statement used for logging. + + <p>For use as a base class: + + <ul> + + <li>Override <code>getConnection()</code> to pass any connection + you want. Typically this is used to enable application wide + connection pooling. + + <li>Override <code>closeConnection(Connection con)</code> -- if + you override getConnection make sure to implement + <code>closeConnection</code> to handle the connection you + generated. Typically this would return the connection to the + pool it came from. + + <li>Override <code>getLogStatement(LoggingEvent event)</code> to + produce specialized or dynamic statements. The default uses the + sql option value. + + </ul> + + @author: Kevin Steppe (<A HREF="mailto:[email protected]">[email protected]</A>) +*/ public class JDBCAppender extends org.apache.log4j.AppenderSkeleton implements org.apache.log4j.Appender { @@ -323,6 +332,5 @@ ErrorCode.GENERIC_FAILURE); } } - } 1.2 +54 -49 jakarta-log4j/src/java/org/apache/log4j/net/SocketHubAppender.java Index: SocketHubAppender.java =================================================================== RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/net/SocketHubAppender.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- SocketHubAppender.java 25 Mar 2002 22:05:36 -0000 1.1 +++ SocketHubAppender.java 25 Mar 2002 22:37:21 -0000 1.2 @@ -1,10 +1,9 @@ /* * Copyright (C) The Apache Software Foundation. All rights reserved. * - * This software is published under the terms of the Apache Software License - * version 1.1, a copy of which has been included with this distribution in - * the LICENSE file. - */ + * This software is published under the terms of the Apache Software + * License version 1.1, a copy of which has been included with this + * distribution in the LICENSE.txt file. */ package org.apache.log4j.net; @@ -22,59 +21,63 @@ import org.apache.log4j.AppenderSkeleton; /** - Sends {@link LoggingEvent} objects to a set remote a log servers, - usually a {@link SocketNode}. + Sends {@link LoggingEvent} objects to a set of remote log servers, + usually a {@link SocketNode SocketNodes}. - Acts just like {@link SocketAppender} except that instead of - connecting to a given remote log server, SocketHubAppender - accepts connections from the remote log servers as clients. It - can accept more than one connection, and when a log event is - handled, the event is sent to the set of currently connected - remote log servers. Implemented this way it does not require any - update to the configuration file to send data to another remote - log server. The remote log server simple connects to the host and - port the SocketHubAppender is running on. - - However, given the nature of accepting connections on-the-fly, it - cannot be guaranteed that all events will be received while the - tcp connection is in process. But once connected, it should behave - the same as {@link SocketAppender}. + <p>Acts just like {@link SocketAppender} except that instead of + connecting to a given remote log server, + <code>SocketHubAppender</code> accepts connections from the remote + log servers as clients. It can accept more than one connection. + When a log event is received, the event is sent to the set of + currently connected remote log servers. Implemented this way it does + not require any update to the configuration file to send data to + another remote log server. The remote log server simply connects to + the host and port the <code>SocketHubAppender</code> is running on. + + <p>The <code>SocketHubAppender</code> does not store events such + that the remote side will events that arrived after the + establishment of its connection. Once connected, events arrive in + order as guaranteed by the TCP protocol. - This implementation borrows heavily from the {@link SocketAppender} - implementation as an example. + <p>This implementation borrows heavily from the {@link + SocketAppender}. - <p>The SocketHubAppender has the following properties: + <p>The SocketHubAppender has the following characteristics: <ul> - <p><li>If sent to a {@link SocketNode}, remote logging is - non-intrusive as far as the log event is concerned. In other - words, the event will be logged with the same time stamp, {@link - org.apache.log4j.NDC}, location info as if it were logged locally by - the client. - - <p><li>SocketHubAppenders do not use a layout. They ship a - serialized {@link LoggingEvent} object to the server side. - - <p><li>Remote logging uses the TCP protocol. Consequently, if - the server is reachable, then log events will eventually arrive - at the server. + <p><li>If sent to a {@link SocketNode}, logging is non-intrusive as + far as the log event is concerned. In other words, the event will be + logged with the same time stamp, {@link org.apache.log4j.NDC}, + location info as if it were logged locally. + + <p><li><code>SocketHubAppender</code> does not use a layout. It + ships a serialized {@link LoggingEvent} object to the remote side. + + <p><li><code>SocketHubAppender</code> relies on the TCP + protocol. Consequently, if the remote side is reachable, then log + events will eventually arrive at remote client. - <p><li>If no remote servers are attached, the logging requests are + <p><li>If no remote clients are attached, the logging requests are simply dropped. <p><li>Logging events are automatically <em>buffered</em> by the - native TCP implementation. This means that if the link to server - is slow but still faster than the rate of (log) event production - by the client, the client will not be affected by the slow - network connection. However, if the network connection is slower - then the rate of event production, then the client can only - progress at the network rate. In particular, if the network link - to the the server is down, the client will be blocked. - - <p>On the other hand, if the network link is up, but the server - is down, the client will not be blocked when making log requests - but the log events will be lost due to server unavailability. + native TCP implementation. This means that if the link to remote + client is slow but still faster than the rate of (log) event + production, the application will not be affected by the slow network + connection. However, if the network connection is slower then the + rate of event production, then the local application can only + progress at the network rate. In particular, if the network link to + the the remote client is down, the application will be blocked. + + <p>On the other hand, if the network link is up, but the remote + client is down, the client will not be blocked when making log + requests but the log events will be lost due to client + unavailability. + + <p>The single remote client case extends to multiple clients + connections. The rate of logging will be determined by the slowest + link. <p><li>If the JVM hosting the <code>SocketHubAppender</code> exits before the <code>SocketHubAppender</code> is closed either @@ -89,8 +92,9 @@ </ul> - @author Mark Womack + @author Mark Womack */ + public class SocketHubAppender extends AppenderSkeleton { /** @@ -347,7 +351,8 @@ if (socket != null) { try { InetAddress remoteAddress = socket.getInetAddress(); - LogLog.debug("accepting connection from " + remoteAddress.getHostName() + " (" + remoteAddress.getHostAddress() + ")"); + LogLog.debug("accepting connection from " + remoteAddress.getHostName() + + " (" + remoteAddress.getHostAddress() + ")"); // create an ObjectOutputStream ObjectOutputStream oos = new ObjectOutputStream(socket.getOutputStream()); -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Tue Mar 26 08:39:06 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87848 invoked from network); 26 Mar 2002 08:39:06 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 26 Mar 2002 08:39:06 -0000 Received: (qmail 28356 invoked by uid 97); 26 Mar 2002 08:39:18 -0000 Delivered-To: [email protected] Received: (qmail 28287 invoked by uid 97); 26 Mar 2002 08:39:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J CVS List" <log4j-cvs.jakarta.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 28276 invoked from network); 26 Mar 2002 08:39:17 -0000 Date: 26 Mar 2002 08:39:02 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-log4j/src/java/org/apache/log4j/xml log4j.dtd X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ceki 02/03/26 00:39:02 Modified: src/java/org/apache/log4j/spi ThrowableInformation.java src/java/org/apache/log4j/xml log4j.dtd Log: Removed param child from the root element. Tentative support for Orion's way of printing stack traces in ThrowableInformation.java Revision Changes Path 1.7 +12 -0 jakarta-log4j/src/java/org/apache/log4j/spi/ThrowableInformation.java Index: ThrowableInformation.java =================================================================== RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/spi/ThrowableInformation.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- ThrowableInformation.java 8 Feb 2002 12:24:31 -0000 1.6 +++ ThrowableInformation.java 26 Mar 2002 08:39:02 -0000 1.7 @@ -55,6 +55,18 @@ super(new NullWriter()); v = new Vector(); } + + // Support for Orion + public + void print(Object o) { + v.addElement(o.toString()); + } + + // Support for Orion + public + void print(char[] s) { + v.addElement(new String(s)); + } public void println(Object o) { 1.15 +1 -1 jakarta-log4j/src/java/org/apache/log4j/xml/log4j.dtd Index: log4j.dtd =================================================================== RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/xml/log4j.dtd,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- log4j.dtd 18 Nov 2001 12:57:26 -0000 1.14 +++ log4j.dtd 26 Mar 2002 08:39:02 -0000 1.15 @@ -106,7 +106,7 @@ <!-- If no level element is specified, then the configurator MUST not --> <!-- touch the level of the named logger. --> -<!ELEMENT logger (param*,level?,appender-ref*)> +<!ELEMENT logger (level?,appender-ref*)> <!ATTLIST logger name ID #REQUIRED additivity (true|false) "true" -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Tue Mar 26 22:23:06 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90750 invoked from network); 26 Mar 2002 22:23:05 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 26 Mar 2002 22:23:05 -0000 Received: (qmail 25672 invoked by uid 97); 26 Mar 2002 22:23:11 -0000 Delivered-To: [email protected] Received: (qmail 25605 invoked by uid 97); 26 Mar 2002 22:23:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J CVS List" <log4j-cvs.jakarta.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 25588 invoked from network); 26 Mar 2002 22:23:09 -0000 Date: 26 Mar 2002 22:22:58 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-log4j/src/java/org/apache/log4j/spi ThrowableInformation.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ceki 02/03/26 14:22:58 Modified: src/java/org/apache/log4j/chainsaw ControlPanel.java src/java/org/apache/log4j/spi ThrowableInformation.java Log: Added print(String) method in VectorWriter. Revision Changes Path 1.2 +4 -6 jakarta-log4j/src/java/org/apache/log4j/chainsaw/ControlPanel.java Index: ControlPanel.java =================================================================== RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/chainsaw/ControlPanel.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ControlPanel.java 23 Mar 2002 07:51:26 -0000 1.1 +++ ControlPanel.java 26 Mar 2002 22:22:58 -0000 1.2 @@ -26,19 +26,17 @@ * * @author <a href="mailto:[email protected]">Oliver Burn</a> */ -class ControlPanel - extends JPanel -{ +class ControlPanel extends JPanel { /** use the log messages **/ - private static final Category LOG = - Category.getInstance(ControlPanel.class); + private static final Category LOG = + Category.getInstance(ControlPanel.class); /** * Creates a new <code>ControlPanel</code> instance. * * @param aModel the model to control */ - ControlPanel(final MyTableModel aModel) { + ControlPanel(MyTableModel aModel) { setBorder(BorderFactory.createTitledBorder("Controls: ")); final GridBagLayout gridbag = new GridBagLayout(); final GridBagConstraints c = new GridBagConstraints(); 1.8 +6 -0 jakarta-log4j/src/java/org/apache/log4j/spi/ThrowableInformation.java Index: ThrowableInformation.java =================================================================== RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/spi/ThrowableInformation.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- ThrowableInformation.java 26 Mar 2002 08:39:02 -0000 1.7 +++ ThrowableInformation.java 26 Mar 2002 22:22:58 -0000 1.8 @@ -68,6 +68,12 @@ v.addElement(new String(s)); } + // Support for Orion + public + void print(String s) { + v.addElement(s); + } + public void println(Object o) { v.addElement(o.toString()); -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Tue Mar 26 23:00:43 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14358 invoked from network); 26 Mar 2002 23:00:43 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 26 Mar 2002 23:00:43 -0000 Received: (qmail 18379 invoked by uid 97); 26 Mar 2002 23:00:49 -0000 Delivered-To: [email protected] Received: (qmail 18363 invoked by uid 97); 26 Mar 2002 23:00:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J CVS List" <log4j-cvs.jakarta.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 18352 invoked from network); 26 Mar 2002 23:00:49 -0000 Date: 26 Mar 2002 23:00:40 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-log4j build.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N oburn 02/03/26 15:00:40 Modified: . build.xml Log: Defined the max length for methods and constructors Revision Changes Path 1.25 +5 -1 jakarta-log4j/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-log4j/build.xml,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- build.xml 25 Mar 2002 22:37:21 -0000 1.24 +++ build.xml 26 Mar 2002 23:00:40 -0000 1.25 @@ -233,7 +233,11 @@ classpath="build/lib/checkstyle-all-2.1.jar"/> <!-- by default checkstyle supports the Sun coding standard. --> - <checkstyle lcurlyMethod="nlow" lcurlyOther="nlow" lcurlyType="nlow"> + <checkstyle lcurlyMethod="nlow" + lcurlyOther="nlow" + lcurlyType="nlow" + maxMethodLen="500" + maxConstructorLen="500"> <fileset dir="src/java/org/apache/log4j/chainsaw" includes="**/*.java"/> </checkstyle> </target> -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Wed Mar 27 09:25:28 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48532 invoked from network); 27 Mar 2002 09:25:27 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 27 Mar 2002 09:25:27 -0000 Received: (qmail 17668 invoked by uid 97); 27 Mar 2002 09:25:39 -0000 Delivered-To: [email protected] Received: (qmail 17605 invoked by uid 97); 27 Mar 2002 09:25:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J CVS List" <log4j-cvs.jakarta.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 17594 invoked from network); 27 Mar 2002 09:25:37 -0000 Date: 27 Mar 2002 09:25:24 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-log4j/src/java/org/apache/log4j/chainsaw ControlPanel.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ceki 02/03/27 01:25:24 Modified: src/java/org/apache/log4j/chainsaw ControlPanel.java Log: I mistaken removed the final keyword from the declaration of the ControlPanel(final MyTableModel aModel) constructor. Sorry. Revision Changes Path 1.3 +1 -1 jakarta-log4j/src/java/org/apache/log4j/chainsaw/ControlPanel.java Index: ControlPanel.java =================================================================== RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/chainsaw/ControlPanel.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ControlPanel.java 26 Mar 2002 22:22:58 -0000 1.2 +++ ControlPanel.java 27 Mar 2002 09:25:24 -0000 1.3 @@ -36,7 +36,7 @@ * * @param aModel the model to control */ - ControlPanel(MyTableModel aModel) { + ControlPanel(final MyTableModel aModel) { setBorder(BorderFactory.createTitledBorder("Controls: ")); final GridBagLayout gridbag = new GridBagLayout(); final GridBagConstraints c = new GridBagConstraints(); -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Thu Mar 28 09:15:53 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97082 invoked from network); 28 Mar 2002 09:15:53 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 28 Mar 2002 09:15:53 -0000 Received: (qmail 2015 invoked by uid 97); 28 Mar 2002 09:16:06 -0000 Delivered-To: [email protected] Received: (qmail 1975 invoked by uid 97); 28 Mar 2002 09:16:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J CVS List" <log4j-cvs.jakarta.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 1964 invoked from network); 28 Mar 2002 09:16:04 -0000 Date: 28 Mar 2002 09:15:49 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-log4j/contribs/KevinSteppe CompositeRollingAppender.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ceki 02/03/28 01:15:49 Added: contribs/KevinSteppe CompositeRollingAppender.java Log: Added CompositeRollingAppender.java contributed by Kevin Steppe Revision Changes Path 1.1 jakarta-log4j/contribs/KevinSteppe/CompositeRollingAppender.java Index: CompositeRollingAppender.java =================================================================== package org.apache.log4j; /* * Copyright (C) The Apache Software Foundation. All rights reserved. * * This software is published under the terms of the Apache Software * License version 1.1, a copy of which has been included with this * distribution in the LICENSE.APL file. */ import org.apache.log4j.RollingCalendar; import org.apache.log4j.helpers.OptionConverter; import org.apache.log4j.helpers.QuietWriter; import org.apache.log4j.helpers.CountingQuietWriter; import org.apache.log4j.helpers.LogLog; import org.apache.log4j.spi.LoggingEvent; import java.util.Date; import java.io.IOException; import java.io.Writer; import java.text.SimpleDateFormat; import java.io.File; import java.io.FilenameFilter; /** * <p>CompositeRollingAppender combines RollingFileAppender and DailyRollingFileAppender<br> * It can function as either or do both at the same time (making size * based rolling files like RollingFileAppender until a data/time boundary * is crossed at which time it rolls all of those files as per the DailyRollingFileAppender) * based on the setting for <code>rollingStyle</code>.<br> * <br> * To use CompositeRollingAppender to roll log files as they reach a certain * size (like RollingFileAppender), set rollingStyle=1 (@see config.size)<br> * To use CompositeRollingAppender to roll log files at certain time intervals * (daily for example), set rollingStyle=2 and a datePattern (@see config.time)<br> * To have CompositeRollingAppender roll log files at a certain size AND rename those * according to time intervals, set rollingStyle=3 (@see config.composite)<br> * * <p>A of few additional optional features have been added:<br> * -- Attach date pattern for current log file (@see staticLogFileName)<br> * -- Backup number increments for newer files (@see countDirection)<br> * -- Infinite number of backups by file size (@see maxSizeRollBackups)<br> * <br> * <p>A few notes and warnings: For large or infinite number of backups * countDirection > 0 is highly recommended, with staticLogFileName = false if * time based rolling is also used -- this will reduce the number of file renamings * to few or none. Changing staticLogFileName or countDirection without clearing * the directory could have nasty side effects. If Date/Time based rolling * is enabled, CompositeRollingAppender will attempt to roll existing files * in the directory without a date/time tag based on the last modified date * of the base log files last modification.<br> * <br> * <p>A maximum number of backups based on date/time boundries would be nice * but is not yet implemented.<br> * * @author Kevin Steppe * @author Heinz Richter * @author Eirik Lygre * @author Ceki G&uuml;lc&uuml; */ public class CompositeRollingAppender extends org.apache.log4j.FileAppender { // The code assumes that the following 'time' constants are in a increasing // sequence. static final int TOP_OF_TROUBLE=-1; static final int TOP_OF_MINUTE = 0; static final int TOP_OF_HOUR = 1; static final int HALF_DAY = 2; static final int TOP_OF_DAY = 3; static final int TOP_OF_WEEK = 4; static final int TOP_OF_MONTH = 5; /** Style of rolling to use */ static final int BY_SIZE = 1; static final int BY_DATE = 2; static final int BY_COMPOSITE = 3; //Not currently used static final String S_BY_SIZE = "Size"; static final String S_BY_DATE = "Date"; static final String S_BY_COMPOSITE = "Composite"; /** The date pattern. By default, the pattern is set to "'.'yyyy-MM-dd" meaning daily rollover. */ private String datePattern = "'.'yyyy-MM-dd"; /** The actual formatted filename that is currently being written to or will be the file transferred to on roll over (based on staticLogFileName). */ private String scheduledFilename = null; /** The timestamp when we shall next recompute the filename. */ private long nextCheck = System.currentTimeMillis () - 1; /** Holds date of last roll over */ Date now = new Date(); SimpleDateFormat sdf; /** Helper class to determine next rollover time */ RollingCalendar rc = new RollingCalendar(); /** Current period for roll overs */ int checkPeriod = TOP_OF_TROUBLE; /** The default maximum file size is 10MB. */ protected long maxFileSize = 10*1024*1024; /** There is zero backup files by default. */ protected int maxSizeRollBackups = 0; /** How many sized based backups have been made so far */ protected int curSizeRollBackups = 0; /** not yet implemented */ protected int maxTimeRollBackups = -1; protected int curTimeRollBackups = 0; /** By default newer files have lower numbers. (countDirection < 0) * ie. log.1 is most recent, log.5 is the 5th backup, etc... * countDirection > 0 does the opposite ie. * log.1 is the first backup made, log.5 is the 5th backup made, etc. * For infinite backups use countDirection > 0 to reduce rollOver costs. */ protected int countDirection = -1; /** Style of rolling to Use. BY_SIZE (1), BY_DATE(2), BY COMPOSITE(3) */ protected int rollingStyle = BY_COMPOSITE; protected boolean rollDate = true; protected boolean rollSize = true; /** By default file.log is always the current file. Optionally * file.log.yyyy-mm-dd for current formated datePattern can by the currently * logging file (or file.log.curSizeRollBackup or even * file.log.yyyy-mm-dd.curSizeRollBackup) This will make time based roll * overs with a large number of backups much faster -- it won't have to * rename all the backups! */ protected boolean staticLogFileName = true; /** FileName provided in configuration. Used for rolling properly */ protected String baseFileName; /** The default constructor does nothing. */ public CompositeRollingAppender() { } /** Instantiate a <code>CompositeRollingAppender</code> and open the file designated by <code>filename</code>. The opened filename will become the ouput destination for this appender. */ public CompositeRollingAppender (Layout layout, String filename, String datePattern) throws IOException { this(layout, filename, datePattern, true); } /** Instantiate a CompositeRollingAppender and open the file designated by <code>filename</code>. The opened filename will become the ouput destination for this appender. <p>If the <code>append</code> parameter is true, the file will be appended to. Otherwise, the file desginated by <code>filename</code> will be truncated before being opened. */ public CompositeRollingAppender(Layout layout, String filename, boolean append) throws IOException { super(layout, filename, append); } /** Instantiate a CompositeRollingAppender and open the file designated by <code>filename</code>. The opened filename will become the ouput destination for this appender. */ public CompositeRollingAppender (Layout layout, String filename, String datePattern, boolean append) throws IOException { super(layout, filename, append); this.datePattern = datePattern; activateOptions(); } /** Instantiate a CompositeRollingAppender and open the file designated by <code>filename</code>. The opened filename will become the output destination for this appender. <p>The file will be appended to. DatePattern is default. */ public CompositeRollingAppender(Layout layout, String filename) throws IOException { super(layout, filename); } /** The <b>DatePattern</b> takes a string in the same format as expected by {@link SimpleDateFormat}. This options determines the rollover schedule. */ public void setDatePattern(String pattern) { datePattern = pattern; } /** Returns the value of the <b>DatePattern</b> option. */ public String getDatePattern() { return datePattern; } /** Returns the value of the <b>maxSizeRollBackups</b> option. */ public int getMaxSizeRollBackups() { return maxSizeRollBackups; } /** Get the maximum size that the output file is allowed to reach before being rolled over to backup files. @since 1.1 */ public long getMaximumFileSize() { return maxFileSize; } /** <p>Set the maximum number of backup files to keep around based on file size. <p>The <b>MaxSizeRollBackups</b> option determines how many backup files are kept before the oldest is erased. This option takes an integer value. If set to zero, then there will be no backup files and the log file will be truncated when it reaches <code>MaxFileSize</code>. If a negative number is supplied then no deletions will be made. Note that this could result in very slow performance as a large number of files are rolled over unless {@link #setCountDirection} up is used. <p>The maximum applys to -each- time based group of files and -not- the total. Using a daily roll the maximum total files would be (#days run) * (maxSizeRollBackups) */ public void setMaxSizeRollBackups(int maxBackups) { maxSizeRollBackups = maxBackups; } /** Set the maximum size that the output file is allowed to reach before being rolled over to backup files. <p>This method is equivalent to {@link #setMaxFileSize} except that it is required for differentiating the setter taking a <code>long</code> argument from the setter taking a <code>String</code> argument by the JavaBeans {@link java.beans.Introspector Introspector}. @see #setMaxFileSize(String) */ public void setMaxFileSize(long maxFileSize) { this.maxFileSize = maxFileSize; } /** Set the maximum size that the output file is allowed to reach before being rolled over to backup files. <p>This method is equivalent to {@link #setMaxFileSize} except that it is required for differentiating the setter taking a <code>long</code> argument from the setter taking a <code>String</code> argument by the JavaBeans {@link java.beans.Introspector Introspector}. @see #setMaxFileSize(String) */ public void setMaximumFileSize(long maxFileSize) { this.maxFileSize = maxFileSize; } /** Set the maximum size that the output file is allowed to reach before being rolled over to backup files. <p>In configuration files, the <b>MaxFileSize</b> option takes an long integer in the range 0 - 2^63. You can specify the value with the suffixes "KB", "MB" or "GB" so that the integer is interpreted being expressed respectively in kilobytes, megabytes or gigabytes. For example, the value "10KB" will be interpreted as 10240. */ public void setMaxFileSize(String value) { maxFileSize = OptionConverter.toFileSize(value, maxFileSize + 1); } protected void setQWForFiles(Writer writer) { qw = new CountingQuietWriter(writer, errorHandler); } //Taken verbatum from DailyRollingFileAppender int computeCheckPeriod() { RollingCalendar c = new RollingCalendar(); // set sate to 1970-01-01 00:00:00 GMT Date epoch = new Date(0); if(datePattern != null) { for(int i = TOP_OF_MINUTE; i <= TOP_OF_MONTH; i++) { String r0 = sdf.format(epoch); c.setType(i); Date next = new Date(c.getNextCheckMillis(epoch)); String r1 = sdf.format(next); //LogLog.debug("Type = "+i+", r0 = "+r0+", r1 = "+r1); if(r0 != null && r1 != null && !r0.equals(r1)) { return i; } } } return TOP_OF_TROUBLE; // Deliberately head for trouble... } //Now for the new stuff /** * Handles append time behavior for CompositeRollingAppender. This checks * if a roll over either by date (checked first) or time (checked second) * is need and then appends to the file last. */ protected void subAppend(LoggingEvent event) { if (rollDate) { long n = System.currentTimeMillis(); if (n >= nextCheck) { now.setTime(n); nextCheck = rc.getNextCheckMillis(now); rollOverTime(); } } if (rollSize) { if ((fileName != null) && ((CountingQuietWriter) qw).getCount() >= maxFileSize) { rollOverSize(); } } super.subAppend(event); } public void setFile(String file) { baseFileName = file.trim(); fileName = file.trim(); } /** * Creates and opens the file for logging. If <code>staticLogFileName</code> * is false then the fully qualified name is determined and used. */ public synchronized void setFile(String fileName, boolean append) throws IOException { if (!staticLogFileName) { scheduledFilename = fileName = fileName.trim() + sdf.format(now); if (countDirection > 0) { scheduledFilename = fileName = fileName + '.' + (++curSizeRollBackups); } } super.setFile(fileName, append); if(append) { File f = new File(fileName); ((CountingQuietWriter) qw).setCount(f.length()); } } public int getCountDirection() { return countDirection; } public void setCountDirection(int direction) { countDirection = direction; } public int getRollingStyle () { return rollingStyle; } public void setRollingStyle(int style) { rollingStyle = style; switch (rollingStyle) { case BY_SIZE: rollDate = false; rollSize = true; break; case BY_DATE: rollDate = true; rollSize = false; break; case BY_COMPOSITE: rollDate = true; rollSize = true; break; default: errorHandler.error("Invalid rolling Style, use 1 (by size only), 2 (by date only) or 3 (both)"); } } /* public void setRollingStyle(String style) { if (style == S_BY_SIZE) { rollingStyle = BY_SIZE; } else if (style == S_BY_DATE) { rollingStyle = BY_DATE; } else if (style == S_BY_COMPOSITE) { rollingStyle = BY_COMPOSITE; } } */ public boolean getStaticLogFileName() { return staticLogFileName; } public void setStaticLogFileName(boolean s) { staticLogFileName = s; } public void setStaticLogFileName(String value) { setStaticLogFileName(OptionConverter.toBoolean(value, true)); } /** * Initializes based on exisiting conditions at time of <code> * activateOptions</code>. The following is done:<br> * <br> * A) determine curSizeRollBackups<br> * B) determine curTimeRollBackups (not implemented)<br> * C) initiates a roll over if needed for crossing a date boundary since * the last run. */ protected void existingInit() { curSizeRollBackups = 0; curTimeRollBackups = 0; //part A starts here String filter; if (staticLogFileName || !rollDate) { filter = baseFileName + ".*"; } else { filter = scheduledFilename + ".*"; } File f = new File(baseFileName); f = f.getParentFile(); if (f == null) f = new File("."); LogLog.debug("Searching for existing files in: " + f); String[] files = f.list(); if (files != null) { for (int i = 0; i < files.length; i++) { if (!files[i].startsWith(baseFileName)) continue; int index = files[i].lastIndexOf("."); if (staticLogFileName) { int endLength = files[i].length() - index; if (baseFileName.length() + endLength != files[i].length()) { //file is probably scheduledFilename + .x so I don't care continue; } } try { int backup = Integer.parseInt(files[i].substring(index + 1, files[i].length())); LogLog.debug("From file: " + files[i] + " -> " + backup); if (backup > curSizeRollBackups) curSizeRollBackups = backup; } catch (Exception e) { //this happens when file.log -> file.log.yyyy-mm-dd which is normal //when staticLogFileName == false LogLog.debug("Encountered a backup file not ending in .x " + files[i]); } } } LogLog.debug("curSizeRollBackups starts at: " + curSizeRollBackups); //part A ends here //part B not yet implemented //part C if (staticLogFileName && rollDate) { File old = new File(baseFileName); if (old.exists()) { Date last = new Date(old.lastModified()); if (!(sdf.format(last).equals(sdf.format(now)))) { scheduledFilename = baseFileName + sdf.format(last); LogLog.debug("Initial roll over to: " + scheduledFilename); rollOverTime(); } } } LogLog.debug("curSizeRollBackups after rollOver at: " + curSizeRollBackups); //part C ends here } /** * Sets initial conditions including date/time roll over information, first check, * scheduledFilename, and calls <code>existingInit</code> to initialize * the current # of backups. */ public void activateOptions() { //REMOVE removed rollDate from boolean to enable Alex's change if(datePattern != null) { now.setTime(System.currentTimeMillis()); sdf = new SimpleDateFormat(datePattern); int type = computeCheckPeriod(); //printPeriodicity(type); rc.setType(type); //next line added as this removes the name check in rollOver nextCheck = rc.getNextCheckMillis(now); } else { if (rollDate) LogLog.error("Either DatePattern or rollingStyle options are not set for ["+ name+"]."); } existingInit(); super.activateOptions(); if (rollDate && fileName != null && scheduledFilename == null) scheduledFilename = fileName + sdf.format(now); } /** Rollover the file(s) to date/time tagged file(s). Opens the new file (through setFile) and resets curSizeRollBackups. */ protected void rollOverTime() { curTimeRollBackups++; //delete the old stuff here if (staticLogFileName) { /* Compute filename, but only if datePattern is specified */ if (datePattern == null) { errorHandler.error("Missing DatePattern option in rollOver()."); return; } //is the new file name equivalent to the 'current' one //something has gone wrong if we hit this -- we should only //roll over if the new file will be different from the old String dateFormat = sdf.format(now); if (scheduledFilename.equals(fileName + dateFormat)) { errorHandler.error("Compare " + scheduledFilename + " : " + fileName + dateFormat); return; } // close current file, and rename it to datedFilename this.closeFile(); //we may have to roll over a large number of backups here String from, to; for (int i = 1; i <= curSizeRollBackups; i++) { from = fileName + '.' + i; to = scheduledFilename + '.' + i; rollFile(from, to); } rollFile(fileName, scheduledFilename); } try { // This will also close the file. This is OK since multiple // close operations are safe. curSizeRollBackups = 0; //We're cleared out the old date and are ready for the new //new scheduled name scheduledFilename = fileName + sdf.format(now); this.setFile(baseFileName, false); } catch(IOException e) { errorHandler.error("setFile("+fileName+", false) call failed."); } } /** Renames file <code>from</code> to file <code>to</code>. It * also checks for existence of target file and deletes if it does. */ protected static void rollFile(String from, String to) { File target = new File(to); if (target.exists()) { LogLog.debug("deleting existing target file: " + target); target.delete(); } File file = new File(from); file.renameTo(target); LogLog.debug(from +" -> "+ to); } /** Delete's the specified file if it exists */ protected static void deleteFile(String fileName) { File file = new File(fileName); if (file.exists()) { file.delete(); } } /** Implements roll overs base on file size. <p>If the maximum number of size based backups is reached (<code>curSizeRollBackups == maxSizeRollBackups</code) then the oldest file is deleted -- it's index determined by the sign of countDirection.<br> If <code>countDirection</code> < 0, then files {<code>File.1</code>, ..., <code>File.curSizeRollBackups -1</code>} are renamed to {<code>File.2</code>, ..., <code>File.curSizeRollBackups</code>}. Moreover, <code>File</code> is renamed <code>File.1</code> and closed.<br> A new file is created to receive further log output. <p>If <code>maxSizeRollBackups</code> is equal to zero, then the <code>File</code> is truncated with no backup files created. <p>If <code>maxSizeRollBackups</code> < 0, then <code>File</code> is renamed if needed and no files are deleted. */ // synchronization not necessary since doAppend is alreasy synched protected void rollOverSize() { File file; this.closeFile(); // keep windows happy. LogLog.debug("rolling over count=" + ((CountingQuietWriter) qw).getCount()); LogLog.debug("maxSizeRollBackups = " + maxSizeRollBackups); LogLog.debug("curSizeRollBackups = " + curSizeRollBackups); LogLog.debug("countDirection = " + countDirection); // If maxBackups <= 0, then there is no file renaming to be done. if (maxSizeRollBackups != 0) { if (countDirection < 0) { // Delete the oldest file, to keep Windows happy. if (curSizeRollBackups == maxSizeRollBackups) { deleteFile(fileName + '.' + maxSizeRollBackups); curSizeRollBackups--; } // Map {(maxBackupIndex - 1), ..., 2, 1} to {maxBackupIndex, ..., 3, 2} for (int i = curSizeRollBackups; i >= 1; i--) { rollFile((fileName + "." + i), (fileName + '.' + (i + 1))); } curSizeRollBackups++; // Rename fileName to fileName.1 rollFile(fileName, fileName + ".1"); } //REMOVE This code branching for Alexander Cerna's request else if (countDirection == 0) { //rollFile based on date pattern curSizeRollBackups++; now.setTime(System.currentTimeMillis()); scheduledFilename = fileName + sdf.format(now); rollFile(fileName, scheduledFilename); } else { //countDirection > 0 if (curSizeRollBackups >= maxSizeRollBackups && maxSizeRollBackups > 0) { //delete the first and keep counting up. int oldestFileIndex = curSizeRollBackups - maxSizeRollBackups + 1; deleteFile(fileName + '.' + oldestFileIndex); } if (staticLogFileName) { curSizeRollBackups++; rollFile(fileName, fileName + '.' + curSizeRollBackups); } } } try { // This will also close the file. This is OK since multiple // close operations are safe. this.setFile(baseFileName, false); } catch(IOException e) { LogLog.error("setFile("+fileName+", false) call failed.", e); } } } -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Thu Mar 28 09:16:10 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98441 invoked from network); 28 Mar 2002 09:16:09 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 28 Mar 2002 09:16:09 -0000 Received: (qmail 2093 invoked by uid 97); 28 Mar 2002 09:16:22 -0000 Delivered-To: [email protected] Received: (qmail 2077 invoked by uid 97); 28 Mar 2002 09:16:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J CVS List" <log4j-cvs.jakarta.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 2066 invoked from network); 28 Mar 2002 09:16:22 -0000 Date: 28 Mar 2002 09:16:07 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-log4j/contribs/KevinSteppe mail-2002-03-27.txt X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ceki 02/03/28 01:16:07 Added: contribs/KevinSteppe mail-2002-03-27.txt Log: Added CompositeRollingAppender.java contributed by Kevin Steppe Revision Changes Path 1.1 jakarta-log4j/contribs/KevinSteppe/mail-2002-03-27.txt Index: mail-2002-03-27.txt =================================================================== Received: (qmail 12476 invoked from network); 28 Mar 2002 06:19:49 -0000 Date: Wed, 27 Mar 2002 22:28:58 -0800 From: Kevin Steppe <[email protected]> Subject: Re: RollingFileAppender and DailyRollingFileAppender To: Log4J Users List <[email protected]> Reply-To: [email protected] Message-id: <[email protected]> MIME-version: 1.0 X-Mailer: Mozilla 4.7 [en] (WinNT; I) Content-type: multipart/mixed; boundary="Boundary_(ID_TnKsnil+d0oYB9TV0P+fgA)" X-Accept-Language: en References: <[email protected]> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I wrote a CompositeRollingAppender last August to do that. I'm attaching that code and some example config files to you separately. Ceki... Could you please put these files in the log4j/contribs/KevinSteppe folder of the available releases? This seems to be coming up occasionally and it would be more convenient to just point people there. Thanks, Kevin Janusz Dalecki wrote: > Is there a way of having the mixture of both RollingFileAppender and > DailyRollingFileAppender options?. I have a requirement to log daily and > delete old files weekly. > Thanks, > Janusz > > -- > To unsubscribe, e-mail: <mailto:[email protected]> > For additional commands, e-mail: <mailto:[email protected]> #Config file for CompositeRollingAppender #This is an example config to use CompositeRollingAppender in Size based Backups only log4j.rootCategory=debug, R log4j.appender.R=org.apache.log4j.CompositeRollingAppender #How to perform rolling -- 1 = By Size #Note -- this is the only difference from RollingFileAppender! log4j.appender.R.RollingStyle=1 #file to log to log4j.appender.R.File=example.log #Size Rolling params log4j.appender.R.MaxFileSize=10MB log4j.appender.R.MaxSizeRollBackups=10 #layout options log4j.appender.R.layout=org.apache.log4j.PatternLayout log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n #Config file for CompositeRollingAppender #This is an example config to use CompositeRollingAppender in Time based Backups only log4j.rootCategory=debug, R log4j.appender.R=org.apache.log4j.CompositeRollingAppender #How to perform rolling -- 2 = By Time #Note -- this is the only difference from DailyRollingFileAppender! log4j.appender.R.RollingStyle=2 #file to log to log4j.appender.R.File=example.log #Date Rolling params log4j.appender.R.datePattern='.'yyyy-MM-dd #layout options log4j.appender.R.layout=org.apache.log4j.PatternLayout log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n #Default Config file for CompositeRollingAppender log4j.rootCategory=debug, R log4j.appender.R=org.apache.log4j.CompositeRollingAppender #How to perform rolling -- Composite is the default log4j.appender.R.RollingStyle=3 #Use same file name for all inprocess logging? log4j.appender.R.staticLogFileName=true log4j.appender.R.File=example.log #Size Rolling params log4j.appender.R.CountDirection=-1 log4j.appender.R.MaxFileSize=5KB log4j.appender.R.MaxSizeRollBackups=10 #Date Rolling params log4j.appender.R.datePattern='.'yyyy-MM-dd #layout options log4j.appender.R.layout=org.apache.log4j.PatternLayout log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Thu Mar 28 09:45:54 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17768 invoked from network); 28 Mar 2002 09:45:53 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 28 Mar 2002 09:45:53 -0000 Received: (qmail 17746 invoked by uid 97); 28 Mar 2002 09:46:04 -0000 Delivered-To: [email protected] Received: (qmail 17718 invoked by uid 97); 28 Mar 2002 09:46:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J CVS List" <log4j-cvs.jakarta.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 17668 invoked from network); 28 Mar 2002 09:46:03 -0000 Date: 28 Mar 2002 09:45:49 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-log4j/src/xdocs plan.xml plan12.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ceki 02/03/28 01:45:49 Added: src/xdocs plan.xml Removed: src/xdocs plan12.xml Log: renamed plan12 to plan. Added 1.3 features. Revision Changes Path 1.1 jakarta-log4j/src/xdocs/plan.xml Index: plan.xml =================================================================== <?xml version="1.0"?> <document> <properties> <author email="[email protected]">Ceki Gulcu</author> <title>Release plan for log4j 1.2</title> </properties> <body> <section name="Workplan for log4j 1.3"> <table border="1" cellpadding="3" cellspacing="2"> <tr> <th>Label</th> <th>Comment</th> <th>Volunteer</th> <th>Status</th> </tr> <tr bgcolor="DDDDDD"> <td>More test cases</td> <td> <p>Writing test cases is not the most sexy part of software development but it is one of the most important. Automated test cases allow us to catch bugs as early is possible. It is strongly recommended to add a new test case with each new feature or component.</p> <p> Existing <em>Perl</em> language based test cases are gradually being migrated to all-Java (junit) based test cased. The new tests are placed under the <code>tests/</code> directory. It should be thus possible for participants in the project to understand the stucture of our tests and add tests for their components. </p> </td> <td>All committers</td> <td>ongoing effort</td> </tr> <tr bgcolor="DDDDDD"> <td>Review of the configure and watch architecture in configurators</td> <td>This is a very useful feature and the current architecture is not very good. <p>Contributions have been received by Mark Womack and others.</p> <p>See <pre> http://[email protected]/msg01390.html http://[email protected]/msg00666.html http://marc.theaimsgroup.com/?t=101010070500002&amp;r=1&amp;w=2 </pre> </p> </td> <td>Mark Womack</td> <td>initial implementation</td> </tr> </table> </section> <section name="Workplan for log4j 1.2"> <p> Here is workplan for the 1.2 release. As always, there is no scheduled release date. It will be ready when it is ready. Your comments and suggestions are most welcome. </p> <table border="1" cellpadding="3" cellspacing="2"> <tr> <th>Label</th> <th>Comment</th> <th>Volunteer</th> <th>Status</th> </tr> <tr bgcolor="DDDDDD"> <td>More test cases</td> <td>We need more automated test cases to catch bugs as early is possible.It is highly recommended to add a new test case with each new feature or component.</td> <td>All committers</td> <td>ongoing effort</td> </tr> <tr> <td>Removal of deprecated methods</td> <td>Deprecated <code>setOption</code> and <code>getOption</code> methods in appender and layouts should be removed.</td> <td>Ceki</td> <td>done</td> </tr> <tr bgcolor="DDDDDD"> <td>JDBCAppender</td> <td> <p>We currently have two competing JDBCAppenders: one by Thomas Fenner and the other by Kevin Steppe.</p> <p>Kevin Steppe stood up and did it.</p> </td> <td>Kevin Steppe</td> <td>not started</td> </tr> <tr> <td>Log4j in applets</td> <td>In order to minimize network traffic, the size of log4j-core.jar needs to be reduced to at most 50KB. <p>Log4jME has been released. It's less than 20KB.</p> </td> <td>Ceki</td> <td>done</td> </tr> <tr bgcolor="DDDDDD"> <td>Improved documentation</td> <td>Log4j documentation needs to be enhanced with configuration examples and much more hand-holding.</td> <td>Ceki</td> <td>On going process</td> </tr> <tr> <td valign="top">Mapped Diagnostic Contexts</td> <td>Mapped Diagnostic Contexts are similar to the NDC except that the MDC is a string to string map instead of a stack that the user sets when entering a special context. The <code>PatternLayout</code> has to be enhanced to support this by extending the %x pattern to accept an argument. Here is an example: <pre> ConversionPattern=3D%d %p %c %x{server} %x{host} - %m%n </pre> User code: <pre> { MDC.put("server", "totoServer"); MDC.put("host", "someHost"); logger.debug("Hello"); } </pre> will print: <pre>2000-01-24 10:00:00,000 DEBUG totoServer someHost - Hello</pre> <p>To make MDCs truly user friendly <code>ThreadLocal</code> variables are required. This will allow the MDC to be inherited by child threads. <code>ThreadLocal</code> are only supported under JDK 1.2 and above. In JDK 1.1, the MDC will not work but won't harm the user application either.</p> </td> <td>Ceki</td> <td>done</td> </tr> <tr bgcolor="DDDDDD"> <td>Enhanced variable substitution support in DOMConfigurator</td> <td></td> <td>Ceki</td> <td>done</td> </tr> <tr> <td>FallbackErrorHandler</td> <td>The FallbackErrorHandler implements the ErrorHandler interface such that a secondary appender may be specified. This secondary appender takes over if the primary appender fails for whatever reason. <p>The DOMConfigurator needs to be extended to support the FallbackErrorHandler</p> </td> <td>Ceki</td> <td>implemented, requires further testing</td> </tr> <tr> <td>Ensure backward compatibility of LoggingEvent objects</td> <td>To avoid deployment problems we must ensure that LoggingEvent objects are compatible between 1.2 and 1.1.3. <p>Robert Bushman has proposed a very innovative way for solving this problem. See <a href="http://[email protected]/msg01397.html"> http://[email protected]/msg01397.html</a> for further details. </p> </td> <td>Ceki</td> <td>started, requires testing</td> </tr> </table> </section> </body> </document> -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Thu Mar 28 09:48:21 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18355 invoked from network); 28 Mar 2002 09:48:20 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 28 Mar 2002 09:48:20 -0000 Received: (qmail 20118 invoked by uid 97); 28 Mar 2002 09:48:32 -0000 Delivered-To: [email protected] Received: (qmail 20102 invoked by uid 97); 28 Mar 2002 09:48:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J CVS List" <log4j-cvs.jakarta.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 20091 invoked from network); 28 Mar 2002 09:48:31 -0000 Date: 28 Mar 2002 09:48:18 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-log4j/src/xdocs plan.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ceki 02/03/28 01:48:18 Modified: src/xdocs plan.xml Log: renamed plan12 to plan. Added 1.3 features. Revision Changes Path 1.2 +1 -2 jakarta-log4j/src/xdocs/plan.xml Index: plan.xml =================================================================== RCS file: /home/cvs/jakarta-log4j/src/xdocs/plan.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- plan.xml 28 Mar 2002 09:45:49 -0000 1.1 +++ plan.xml 28 Mar 2002 09:48:18 -0000 1.2 @@ -63,7 +63,6 @@ <td>Mark Womack</td> <td>initial implementation</td> </tr> - </table> </section> @@ -229,7 +228,7 @@ </td> <td>Ceki</td> - <td>started, requires testing</td> + <td>implemented, manually tested, requires automated test cases</td> </tr> </table> </section> -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Thu Mar 28 11:27:52 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54974 invoked from network); 28 Mar 2002 11:27:51 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 28 Mar 2002 11:27:51 -0000 Received: (qmail 18207 invoked by uid 97); 28 Mar 2002 11:28:05 -0000 Delivered-To: [email protected] Received: (qmail 18182 invoked by uid 97); 28 Mar 2002 11:28:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J CVS List" <log4j-cvs.jakarta.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 18171 invoked from network); 28 Mar 2002 11:28:04 -0000 Date: 28 Mar 2002 11:27:48 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-log4j/src/xdocs/stylesheets project.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ceki 02/03/28 03:27:47 Modified: src/xdocs plan.xml src/xdocs/stylesheets project.xml Log: Added a new link called "plan" to the project menu. Added new items to the plan. Revision Changes Path 1.3 +143 -13 jakarta-log4j/src/xdocs/plan.xml Index: plan.xml =================================================================== RCS file: /home/cvs/jakarta-log4j/src/xdocs/plan.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- plan.xml 28 Mar 2002 09:48:18 -0000 1.2 +++ plan.xml 28 Mar 2002 11:27:47 -0000 1.3 @@ -8,8 +8,36 @@ <body> + <section name="Plan? What plan?"> + + <p>The following paragragh was adapted from the <a + href="http://jakarta.apache.org/cactus/todo.html">Cactus + project's roadmap</a>. Permission to quote pending. + </p> + + <p>Our users keep inventing better ways and adding new + requirements. The downside is that our todo list keeps + growing. The upside is that there is plenty of work to go + around. If you are interested in participating, send an email + on the log4j-dev@ mailing list stating your interest. You'll + be promptly enrolled. We're always looking for help! Don't be + put off if in the "Volunteer" column already has a person + listed. Programming is fun, especially if it is done in a + group. + </p> + + <p> + + </p> + + + </section> + <section name="Workplan for log4j 1.3"> + <p>With log4j 1.2 still in beta, the workplan for log4j 1.3 is + obviously not final. It is included here to give you an idea of + the future.</p> <table border="1" cellpadding="3" cellspacing="2"> @@ -21,7 +49,7 @@ </tr> <tr bgcolor="DDDDDD"> - <td>More test cases</td> + <td><b>test cases</b></td> <td> <p>Writing test cases is not the most sexy part of @@ -30,10 +58,9 @@ as early is possible. It is strongly recommended to add a new test case with each new feature or component.</p> - <p> - Existing <em>Perl</em> language based test cases are - gradually being migrated to all-Java (junit) based test - cased. The new tests are placed under the + <p>Existing <em>Perl</em> language based test cases are + gradually being migrated to junit (all-Java)based test + cases. The new tests are placed under the <code>tests/</code> directory. It should be thus possible for participants in the project to understand the stucture of our tests and add tests for their @@ -45,8 +72,90 @@ <td>ongoing effort</td> </tr> - <tr bgcolor="DDDDDD"> - <td>Review of the configure and watch architecture in configurators</td> + <tr> + <td>Extensible XML configuration files</td> + + <td> + <p>The DOMConfigurator is complex and not very + flexible. It can only deal with elements that the + developer knew about at compilation time. This has been + an important drawback in the design of several appenders + such as the the SMTPAppender and the + RollingFileAppenders and its variants. These appenders + need to delegate certain task to sub-components which we + should be able to configure separately. + </p> + + <p>The support for extensible configuration files will be + based on the code in commons-digester authored by Craig + McClanahan and Scott Sanders. They graciously granted + permission for the modification of their code and its + inclusion in log4j.</p> + </td> + <td>Ceki</td> + <td>design board</td> + </tr> + + <tr> + <td>Log4j Domains</td> + + <td> + <p>This is a very powerful and innovative concept that + extends the notion of hierarchical loggers. It will also + allow dynamic logging with pin-point accuracy. It was + first suggested to me by Scott Stark of <a + href="http://www.jboss.org">JBoss</a> fame. + </p> + </td> + <td>Ceki</td> + <td>design board</td> + </tr> + + <tr> + <td>Multiple implementation of Logger</td> + + <td> + <p>Based on <code>RepositorySelectors</code> introduced in + log4j 1.2, the user will be able to replace the + <code>Logger</code> implementation. Several + implementations will be provided offering different + properties and functionality although none of the + implementations will add new public methods. + </p> + </td> + + + <td>?</td> + <td>vaporware</td> + </tr> + + + <tr> + <td>Strategy based rollovers</td> + + <td> + <p>Contrary to our own DailyRollingFileAppender, Avalon's + logkit has a nice and clean implementation for rolling + files. See the + <code>org.apache.log.output.io.rotate</code> package for + exact details. + </p> + + <p>Their implementation is based on strategies which are + sub-components of appender. We will be able to configure + such sub-components with the new XML configuration + scripts. + </p> + </td> + <td>?</td> + <td>not started</td> + </tr> + + + + <tr> + <td>Redesign of configure and watch architecture in + configurators</td> <td>This is a very useful feature and the current architecture is not very good. @@ -63,19 +172,40 @@ <td>Mark Womack</td> <td>initial implementation</td> </tr> + + <tr> + <td>Performance improvements to LoggingEvent serialization</td> + + <td> + <p>Ole Dalgaard has shown that by implementing the + java.io.Externalizable interface instead of + java.io.Serializable in the LoggingEvent class, the + speed of serialiazation is increased by a factor of 4 or + more. + </p> + + <p>Their implementation is based on strategies which are + sub-components of appender. We will be able to configure + such sub-components with the new XML configuration + scripts. + </p> + </td> + <td>Ole Dalgaard?</td> + <td>initial implementation</td> + </tr> + </table> </section> - <section name="Workplan for log4j 1.2"> - - <p> Here is workplan for the 1.2 release. As always, there is no - scheduled release date. It will be ready when it is - ready. Your comments and suggestions are most welcome. + scheduled release date. The lack of schedule suprises and + disturbs some people. Writing good software, like good + cooking, takes time. If we make you wait, it is to create a + better and more reliable product. </p> <table border="1" cellpadding="3" cellspacing="2"> @@ -145,7 +275,7 @@ <td>Ceki</td> - <td>On going process</td> + <td>ongoing effort</td> </tr> 1.11 +1 -0 jakarta-log4j/src/xdocs/stylesheets/project.xml Index: project.xml =================================================================== RCS file: /home/cvs/jakarta-log4j/src/xdocs/stylesheets/project.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- project.xml 8 Feb 2002 12:54:16 -0000 1.10 +++ project.xml 28 Mar 2002 11:27:47 -0000 1.11 @@ -11,6 +11,7 @@ <item name="Introduction" href="/index.html"/> <item name="Download" href="/download.html"/> <item name="Documentation" href="/documentation.html"/> + <item name="Plan" href="/plan.html"/> <item name="Contact us" href="/contactUs.html"/> <item name="Contributors" href="/contributors.html"/> <item name="History" href="/history.html"/> -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Sat Mar 30 10:33:33 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24420 invoked from network); 30 Mar 2002 10:33:33 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 30 Mar 2002 10:33:33 -0000 Received: (qmail 2695 invoked by uid 97); 30 Mar 2002 10:33:45 -0000 Delivered-To: [email protected] Received: (qmail 2647 invoked by uid 97); 30 Mar 2002 10:33:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J CVS List" <log4j-cvs.jakarta.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 2630 invoked from network); 30 Mar 2002 10:33:44 -0000 Date: 30 Mar 2002 10:33:29 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-log4j/src/java/org/apache/log4j/net JMSSink.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ceki 02/03/30 02:33:29 Modified: src/java/org/apache/log4j Category.java src/java/org/apache/log4j/chainsaw MyTableModel.java src/java/org/apache/log4j/net JMSSink.java Log: Changes the deprecation date to mid 2003. Revision Changes Path 1.64 +2 -2 jakarta-log4j/src/java/org/apache/log4j/Category.java Index: Category.java =================================================================== RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/Category.java,v retrieving revision 1.63 retrieving revision 1.64 diff -u -r1.63 -r1.64 --- Category.java 11 Mar 2002 23:43:45 -0000 1.63 +++ Category.java 30 Mar 2002 10:33:29 -0000 1.64 @@ -44,7 +44,7 @@ /** <font color="#AA2222"><b>This class has been deprecated and replaced by the {@link Logger} <em>subclass</em>.</b></font> It - will be kept around to preserve backward compatibility until early + will be kept around to preserve backward compatibility until mid 2003. <p><code>Logger</code> is a subclass of Category, i.e. it extends @@ -65,7 +65,7 @@ &nbsp;&nbsp;&nbsp;Logger logger = Logger.getLogger("foo.bar") </pre> - <p>The first tree forms are deprecated and should be avoided. + <p>The first form is deprecated and should be avoided. <p><b>There is absolutely no need for new client code to use or refer to the <code>Category</code> class.</b> Whenever possible, 1.2 +6 -0 jakarta-log4j/src/java/org/apache/log4j/chainsaw/MyTableModel.java Index: MyTableModel.java =================================================================== RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/chainsaw/MyTableModel.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- MyTableModel.java 23 Mar 2002 07:51:26 -0000 1.1 +++ MyTableModel.java 30 Mar 2002 10:33:29 -0000 1.2 @@ -319,8 +319,12 @@ * in the list after the filter is applied. */ private void updateFilteredEvents(boolean aInsertedToFront) { + long start = System.currentTimeMillis(); + final List filtered = new ArrayList(); + int size = mAllEvents.size(); final Iterator it = mAllEvents.iterator(); + while (it.hasNext()) { final EventDetails event = (EventDetails) it.next(); if (matchFilter(event)) { @@ -344,6 +348,8 @@ } else { fireTableDataChanged(); } + long end = System.currentTimeMillis(); + System.out.println("Total time [ms]: "+(end-start)+" in update, size: "+size); } /** 1.11 +2 -2 jakarta-log4j/src/java/org/apache/log4j/net/JMSSink.java Index: JMSSink.java =================================================================== RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/net/JMSSink.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- JMSSink.java 21 Jan 2002 23:07:12 -0000 1.10 +++ JMSSink.java 30 Mar 2002 10:33:29 -0000 1.11 @@ -51,14 +51,14 @@ Context ctx = new InitialContext(); TopicConnectionFactory topicConnectionFactory; topicConnectionFactory = (TopicConnectionFactory) lookup(ctx, - tcfBindingName); + tcfBindingName); TopicConnection topicConnection = topicConnectionFactory.createTopicConnection(); topicConnection.start(); TopicSession topicSession = topicConnection.createTopicSession(false, - Session.AUTO_ACKNOWLEDGE); + Session.AUTO_ACKNOWLEDGE); Topic topic = (Topic)ctx.lookup(topicBindingName); -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]>
From [email protected] Wed Sep 01 09:14:55 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12291 invoked from network); 1 Sep 2010 09:14:55 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 1 Sep 2010 09:14:55 -0000 Received: (qmail 68175 invoked by uid 500); 1 Sep 2010 09:14:55 -0000 Delivered-To: [email protected] Received: (qmail 68160 invoked by uid 500); 1 Sep 2010 09:14:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.click.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 68151 invoked by uid 99); 1 Sep 2010 09:14:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Sep 2010 09:14:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Sep 2010 09:14:52 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 5710923889E2; Wed, 1 Sep 2010 09:13:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r991484 - /click/trunk/click/extras/test/org/apache/click/extras/control/DoubleFieldTest.java Date: Wed, 01 Sep 2010 09:13:34 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: sabob Date: Wed Sep 1 09:13:34 2010 New Revision: 991484 URL: http://svn.apache.org/viewvc?rev=991484&view=rev Log: cleanup Modified: click/trunk/click/extras/test/org/apache/click/extras/control/DoubleFieldTest.java Modified: click/trunk/click/extras/test/org/apache/click/extras/control/DoubleFieldTest.java URL: http://svn.apache.org/viewvc/click/trunk/click/extras/test/org/apache/click/extras/control/DoubleFieldTest.java?rev=991484&r1=991483&r2=991484&view=diff ============================================================================== --- click/trunk/click/extras/test/org/apache/click/extras/control/DoubleFieldTest.java (original) +++ click/trunk/click/extras/test/org/apache/click/extras/control/DoubleFieldTest.java Wed Sep 1 09:13:34 2010 @@ -180,22 +180,22 @@ public class DoubleFieldTest extends Tes Form form = new Form("form"); - DoubleField field = new DoubleField("numfield"); - form.add(field); - - field.setValue("0.1"); - + DoubleField decimalField = new DoubleField("decimalField"); + String decimalValue = "0.1"; + decimalField.setValue(decimalValue); + form.add(decimalField); + MyObj obj = new MyObj(); form.copyTo(obj); - assertEquals("0.1", obj.numfield.toString()); + assertEquals(decimalValue, obj.decimalField.toString()); } public static class MyObj { - public BigDecimal numfield; + public BigDecimal decimalField; - public void setNumfield(BigDecimal value) { - this.numfield = value; + public void setDecimalField(BigDecimal value) { + this.decimalField = value; } } } From [email protected] Thu Sep 02 07:28:31 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1803 invoked from network); 2 Sep 2010 07:28:31 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Sep 2010 07:28:31 -0000 Received: (qmail 33421 invoked by uid 500); 2 Sep 2010 07:28:31 -0000 Delivered-To: [email protected] Received: (qmail 33399 invoked by uid 500); 2 Sep 2010 07:28:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.click.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 33388 invoked by uid 99); 2 Sep 2010 07:28:29 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 07:28:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 07:28:11 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 4167E23889E0; Thu, 2 Sep 2010 07:26:52 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r991825 - in /click/trunk/click/framework/src/org/apache/click/util: ContainerUtils.java RequestTypeConverter.java Date: Thu, 02 Sep 2010 07:26:52 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: sabob Date: Thu Sep 2 07:26:51 2010 New Revision: 991825 URL: http://svn.apache.org/viewvc?rev=991825&view=rev Log: CLK-694. Use BigDecimal constructor for converting number based objects Modified: click/trunk/click/framework/src/org/apache/click/util/ContainerUtils.java click/trunk/click/framework/src/org/apache/click/util/RequestTypeConverter.java Modified: click/trunk/click/framework/src/org/apache/click/util/ContainerUtils.java URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/util/ContainerUtils.java?rev=991825&r1=991824&r2=991825&view=diff ============================================================================== --- click/trunk/click/framework/src/org/apache/click/util/ContainerUtils.java (original) +++ click/trunk/click/framework/src/org/apache/click/util/ContainerUtils.java Thu Sep 2 07:26:51 2010 @@ -893,7 +893,7 @@ public class ContainerUtils { * @param path the full expression path (used for logging purposes) * @return the getter method */ - private final static Method findGetter(Object object, String property, + private static Method findGetter(Object object, String property, String path) { // Find the getter for property @@ -933,7 +933,7 @@ public class ContainerUtils { * @param path the full expression path (used for logging) * @return the getter result */ - private final static Object invokeGetter(Method getterMethod, Object source, + private static Object invokeGetter(Method getterMethod, Object source, String property, String path) { try { @@ -963,7 +963,7 @@ public class ContainerUtils { * @param path the full expression path (used for logging purposes) * @return the setter method */ - private final static Method findSetter(Object source, + private static Method findSetter(Object source, String property, Class<?> targetClass, String path) { Method method = null; @@ -996,7 +996,7 @@ public class ContainerUtils { * @param property the setter method property name (used for logging) * @param path the full expression path (used for logging) */ - private final static void invokeSetter(Method setterMethod, Object source, + private static void invokeSetter(Method setterMethod, Object source, Object target, String property, String path) { try { @@ -1397,7 +1397,13 @@ public class ContainerUtils { } return OgnlOps.convertValue(value, toType); } - + + /** + * Convert the given value into a BigDecimal. + * + * @param value the object to convert into a BigDecimal + * @return the converted BigDecimal value + */ private BigDecimal bigDecValue( Object value ) { if (value == null) return BigDecimal.valueOf(0L); @@ -1406,10 +1412,7 @@ public class ContainerUtils { return (BigDecimal)value; if ( c == BigInteger.class ) return new BigDecimal( (BigInteger)value ); - if ( c.getSuperclass() == Number.class ) - //return new BigDecimal( ((Number)value).doubleValue() ); - return BigDecimal.valueOf(((Number)value).doubleValue()); - if ( c == Boolean.class ) + if ( c == Boolean.class ) return BigDecimal.valueOf(((Boolean)value).booleanValue()? 1 : 0 ); if ( c == Character.class ) return BigDecimal.valueOf(((Character)value).charValue() ); Modified: click/trunk/click/framework/src/org/apache/click/util/RequestTypeConverter.java URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/util/RequestTypeConverter.java?rev=991825&r1=991824&r2=991825&view=diff ============================================================================== --- click/trunk/click/framework/src/org/apache/click/util/RequestTypeConverter.java (original) +++ click/trunk/click/framework/src/org/apache/click/util/RequestTypeConverter.java Thu Sep 2 07:26:51 2010 @@ -122,7 +122,7 @@ public class RequestTypeConverter implem result = OgnlOps.bigIntValue(value); } else if (toType == BigDecimal.class) { - result = OgnlOps.bigDecValue(value); + result = bigDecValue(value); } else if (toType == String.class) { result = OgnlOps.stringValue(value); @@ -264,4 +264,31 @@ public class RequestTypeConverter implem } } + /** + * Convert the given value into a BigDecimal. + * + * @param value the object to convert into a BigDecimal + * @return the converted BigDecimal value + */ + private BigDecimal bigDecValue(Object value) { + if (value == null) { + return BigDecimal.valueOf(0L); + } + Class<?> c = value.getClass(); + if (c == BigDecimal.class) { + return (BigDecimal) value; + } + if (c == BigInteger.class) { + return new BigDecimal((BigInteger) value); + } + + if (c == Boolean.class) { + return BigDecimal.valueOf(((Boolean) value).booleanValue() ? 1 : 0); + } + if (c == Character.class) { + return BigDecimal.valueOf(((Character) value).charValue()); + } + + return new BigDecimal(value.toString().trim()); + } } From [email protected] Thu Sep 02 07:31:27 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2751 invoked from network); 2 Sep 2010 07:31:27 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Sep 2010 07:31:27 -0000 Received: (qmail 35132 invoked by uid 500); 2 Sep 2010 07:31:27 -0000 Delivered-To: [email protected] Received: (qmail 35117 invoked by uid 500); 2 Sep 2010 07:31:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.click.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 35104 invoked by uid 99); 2 Sep 2010 07:31:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 07:31:26 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 07:31:25 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id CCE3C2388A36; Thu, 2 Sep 2010 07:30:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r991828 - in /click/trunk/click: extras/test/org/apache/click/extras/control/NumberFieldTest.java framework/test/org/apache/click/util/RequestTypeConverterTest.java Date: Thu, 02 Sep 2010 07:30:07 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: sabob Date: Thu Sep 2 07:30:07 2010 New Revision: 991828 URL: http://svn.apache.org/viewvc?rev=991828&view=rev Log: CLK-694. Added BigDecimal and BigInteger conversion tests Modified: click/trunk/click/extras/test/org/apache/click/extras/control/NumberFieldTest.java click/trunk/click/framework/test/org/apache/click/util/RequestTypeConverterTest.java Modified: click/trunk/click/extras/test/org/apache/click/extras/control/NumberFieldTest.java URL: http://svn.apache.org/viewvc/click/trunk/click/extras/test/org/apache/click/extras/control/NumberFieldTest.java?rev=991828&r1=991827&r2=991828&view=diff ============================================================================== --- click/trunk/click/extras/test/org/apache/click/extras/control/NumberFieldTest.java (original) +++ click/trunk/click/extras/test/org/apache/click/extras/control/NumberFieldTest.java Thu Sep 2 07:30:07 2010 @@ -18,6 +18,8 @@ */ package org.apache.click.extras.control; +import java.math.BigDecimal; +import java.math.BigInteger; import java.text.NumberFormat; import java.util.Locale; import java.util.Map; @@ -25,6 +27,7 @@ import java.util.Map; import org.apache.click.MockContext; import junit.framework.TestCase; +import org.apache.click.control.Form; import org.apache.click.servlet.MockRequest; public class NumberFieldTest extends TestCase{ @@ -193,5 +196,76 @@ public class NumberFieldTest extends Tes assertFalse(engF.isValid()); assertEquals("some text", engF.getValue()); } - + + + /** + * Test that the fix for number->BigDecimal conversion work. + * + * CLK-694. + */ + public void testFormCopyBigDecimal() { + MockContext.initContext(Locale.US); + + Form form = new Form("form"); + + NumberField bigDecimalField = new NumberField("bigDecimalField"); + NumberField bigIntegerField = new NumberField("bigIntegerField"); + + // Specify a very large value + String bigValue = "999999999999999999"; + bigDecimalField.setValue(bigValue); + form.add(bigDecimalField); + bigIntegerField.setValue(bigValue); + form.add(bigIntegerField); + + MyObj obj = new MyObj(); + form.copyTo(obj); + + assertEquals(bigValue, obj.bigDecimalField.toString()); + assertEquals(bigValue, obj.bigIntegerField.toString()); + } + + /** + * Test that Field->BigInteger conversion works. + */ + public void testFormCopyBigInteger() { + MockContext.initContext(Locale.US); + + Form form = new Form("form"); + + NumberField bigDecimalField = new NumberField("bigDecimalField"); + NumberField bigIntegerField = new NumberField("bigIntegerField"); + + // Specify a very large value + String bigValue = "999999999999999999"; + bigDecimalField.setValue(bigValue); + form.add(bigDecimalField); + bigIntegerField.setValue(bigValue); + form.add(bigIntegerField); + + MyObj obj = new MyObj(); + form.copyTo(obj); + + assertEquals(bigValue, obj.bigDecimalField.toString()); + assertEquals(bigValue, obj.bigIntegerField.toString()); + } + + /** + * POJO for testing of copying values between Fields and domain objects. + */ + public static class MyObj { + + public BigDecimal bigDecimalField; + + public BigInteger bigIntegerField; + + public void setBigDecimalField(BigDecimal value) { + this.bigDecimalField = value; + } + + public void setBigIntegerField(BigInteger value) { + this.bigIntegerField = value; + } + } + } Modified: click/trunk/click/framework/test/org/apache/click/util/RequestTypeConverterTest.java URL: http://svn.apache.org/viewvc/click/trunk/click/framework/test/org/apache/click/util/RequestTypeConverterTest.java?rev=991828&r1=991827&r2=991828&view=diff ============================================================================== --- click/trunk/click/framework/test/org/apache/click/util/RequestTypeConverterTest.java (original) +++ click/trunk/click/framework/test/org/apache/click/util/RequestTypeConverterTest.java Thu Sep 2 07:30:07 2010 @@ -18,6 +18,8 @@ */ package org.apache.click.util; +import java.math.BigDecimal; +import java.math.BigInteger; import java.util.Locale; import junit.framework.TestCase; @@ -31,7 +33,9 @@ public class RequestTypeConverterTest ex */ public void test() { RequestTypeConverter rtc = new RequestTypeConverter(); - + assertEquals("true", rtc.convertValue("true", Boolean.class).toString()); + assertEquals("false", rtc.convertValue("false", Boolean.class).toString()); + assertNull(rtc.convertValue(null, java.util.Date.class)); assertNull(rtc.convertValue(null, java.sql.Date.class)); assertNull(rtc.convertValue(null, java.sql.Time.class)); @@ -97,4 +101,28 @@ public class RequestTypeConverterTest ex // assertEquals(date10, date11); assertEquals(date11, date12); } + + /** + * Check that very large BigDecimal numbers are converted correctly. + * CLK-694. + */ + public void testLargeBigDecimalConvertion() { + RequestTypeConverter rtc = new RequestTypeConverter(); + + String requestParam = "9999999999999999999999999999999999999999999999999.99"; + BigDecimal bd = (BigDecimal) rtc.convertValue(requestParam, BigDecimal.class); + + assertEquals(requestParam, bd.toString()); + } + + /** + * Check that very large BigInteger numbers are converted correctly. + */ + public void testLargeBigIntegerConvertion() { + RequestTypeConverter rtc = new RequestTypeConverter(); + + String requestParam = "99999999999999999999999999999999999999999999999"; + BigInteger bi = (BigInteger) rtc.convertValue(requestParam, BigInteger.class); + assertEquals(requestParam, bi.toString()); + } } From [email protected] Thu Sep 02 11:55:24 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69404 invoked from network); 2 Sep 2010 11:55:24 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Sep 2010 11:55:24 -0000 Received: (qmail 99117 invoked by uid 500); 2 Sep 2010 11:55:24 -0000 Delivered-To: [email protected] Received: (qmail 99099 invoked by uid 500); 2 Sep 2010 11:55:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.click.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99090 invoked by uid 99); 2 Sep 2010 11:55:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 11:55:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 11:55:21 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 504EC23889B2; Thu, 2 Sep 2010 11:54:03 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r991895 - /click/trunk/click/documentation/docs/roadmap-changes.html Date: Thu, 02 Sep 2010 11:54:03 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: sabob Date: Thu Sep 2 11:54:02 2010 New Revision: 991895 URL: http://svn.apache.org/viewvc?rev=991895&view=rev Log: roadmap Modified: click/trunk/click/documentation/docs/roadmap-changes.html Modified: click/trunk/click/documentation/docs/roadmap-changes.html URL: http://svn.apache.org/viewvc/click/trunk/click/documentation/docs/roadmap-changes.html?rev=991895&r1=991894&r2=991895&view=diff ============================================================================== --- click/trunk/click/documentation/docs/roadmap-changes.html (original) +++ click/trunk/click/documentation/docs/roadmap-changes.html Thu Sep 2 11:54:02 2010 @@ -67,7 +67,7 @@ <h2>Road Map</h2> New Click releases will be released every quarter with the next version Click 2.3.0 -scheduled for the end of June 2010. Tentative features for the next release +scheduled for the end of October 2010. Tentative features for the next release includes improved Ajax support, Page Action support and a Java based configuration service. @@ -77,7 +77,7 @@ service. <dl> <dt><a name="2.3.0"></a> - <div class="release-header">Latest Release - Version 2.3.0 Milestone 1 - ?? August 2010</div> + <div class="release-header">Latest Release - Version 2.3.0 Milestone 1 - ?? October 2010</div> </dt> <dd> <div style="margin-left:-2em;margin-bottom:1em;"> @@ -85,6 +85,49 @@ service. when upgrading from previous releases. </div> <div style="margin-left: -2em; margin-top: 1.5em; margin-bottom: 1em;"> + <b>Major new features</b> + </div> + <ul style="padding: 0em; margin-left:0em;margin-bottom: 2em"> + <li> + Ajax support. + </li> + <li> + Page Action support. + </li> + <li> + Stateful Controls. + </li> + </ul> + <div style="margin-left: -2em; margin-top: 1.5em; margin-bottom: 1em;"> + <b>New documentation:</b> + </div> + <ul style="padding: 0em; margin-left:0em;margin-bottom: 2em"> + <li> + Added a chapter on <a href="user-guide/html/ch04.html">Ajax</a>, + covering <a href="user-guide/html/ch04s02.html">Behaviors</a>, + <a href="user-guide/html/ch04s03.html">Ajax execution flow</a> + and a full <a href="user-guide/html/ch04s04.html">example</a>. + </li> + <li> + Added a section covering the new + <a href="user-guide/html/ch02s07.html">Page Action</a> support. + </li> + </ul> + <div style="margin-left: -2em; margin-top: 1.5em; margin-bottom: 1em;"> + <b>New examples:</b> + </div> + <ul style="padding: 0em; margin-left:0em;margin-bottom: 2em"> + <li class="change"> + Added <a target="_blank" class="external" href="http://www.avoka.com/click-examples/">examples</a> + showcasing the new Ajax support. See the Ajax Menu for the full list + of examples. + </li> + <li class="change"> + Added an example FieldSeparator Control and example usage page + [<a target="_blank" href="https://issues.apache.org/jira/browse/CLK-544">CLK-544</a>]. + </li> + </ul> + <div style="margin-left: -2em; margin-top: 1.5em; margin-bottom: 1em;"> <b>Deprecated:</b> </div> <ul style="padding: 0em; margin-left:0em;margin-bottom: 2em"> @@ -118,19 +161,6 @@ service. </li> </ul> <div style="margin-left: -2em; margin-top: 1.5em; margin-bottom: 1em;"> - <b>New examples:</b> - </div> - <ul style="padding: 0em; margin-left:0em;margin-bottom: 2em"> - <li class="change"> - Added <a target="_blank" class="external" href="http://www.avoka.com/click-examples/">examples</a> - showcasing the new Ajax support. See the Ajax Menu for the full list. - </li> - <li class="change"> - Added an example FieldSeparator Control and example usage page - [<a target="_blank" href="https://issues.apache.org/jira/browse/CLK-544">CLK-544</a>]. - </li> - </ul> - <div style="margin-left: -2em; margin-top: 1.5em; margin-bottom: 1em;"> <b>New features and issues resolved:</b> </div> <ul style="padding: 0em; margin-left:0em;margin-bottom: 2em"> @@ -142,7 +172,7 @@ service. </li> <li class="change"> Added <a href="click-api/org/apache/click/service/MessagesMapService.html">MessagesMapService</a> - interface to support plugable messages map implementations + interface to support pluggable messages map implementations [<a target="_blank" href="https://issues.apache.org/jira/browse/CLK-655">CLK-655</a>]. </li> <li class="change"> @@ -250,6 +280,10 @@ Select.setAttribute("onchange", "Click.s This issue was raised and fixed by Henry Saputra [<a target="_blank" href="https://issues.apache.org/jira/browse/CLK-636">CLK-636</a>]. </li> + <li class="change"> + Removed ognl.OgnlOps dependency. + [<a target="_blank" href="https://issues.apache.org/jira/browse/CLK-694">CLK-694</a>]. + </li> </ul> </dd> <dt><a name="2.2.0"></a> From [email protected] Thu Sep 02 12:27:01 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79827 invoked from network); 2 Sep 2010 12:27:01 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Sep 2010 12:27:01 -0000 Received: (qmail 31783 invoked by uid 500); 2 Sep 2010 12:27:01 -0000 Delivered-To: [email protected] Received: (qmail 31763 invoked by uid 500); 2 Sep 2010 12:27:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.click.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31751 invoked by uid 99); 2 Sep 2010 12:26:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 12:26:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 12:26:58 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id F10552388A41; Thu, 2 Sep 2010 12:25:40 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r991908 - in /click/trunk/click/framework/test: org/apache/click/PageTest.java org/apache/click/pages/RequestBindingPage.java web/request-binding-page.htm Date: Thu, 02 Sep 2010 12:25:40 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: sabob Date: Thu Sep 2 12:25:39 2010 New Revision: 991908 URL: http://svn.apache.org/viewvc?rev=991908&view=rev Log: added test for binding page variables to request parameters Added: click/trunk/click/framework/test/org/apache/click/pages/RequestBindingPage.java click/trunk/click/framework/test/web/request-binding-page.htm Modified: click/trunk/click/framework/test/org/apache/click/PageTest.java Modified: click/trunk/click/framework/test/org/apache/click/PageTest.java URL: http://svn.apache.org/viewvc/click/trunk/click/framework/test/org/apache/click/PageTest.java?rev=991908&r1=991907&r2=991908&view=diff ============================================================================== --- click/trunk/click/framework/test/org/apache/click/PageTest.java (original) +++ click/trunk/click/framework/test/org/apache/click/PageTest.java Thu Sep 2 12:25:39 2010 @@ -25,7 +25,9 @@ import org.apache.click.pages.JspRedirec import org.apache.click.pages.RedirectToHtm; import org.apache.click.pages.RedirectToJsp; import org.apache.click.pages.RedirectToSelfPage; +import org.apache.click.pages.RequestBindingPage; import org.apache.click.pages.SetPathToJspPage; +import org.apache.click.servlet.MockRequest; /** * Tests for the Page class. @@ -238,4 +240,29 @@ public class PageTest extends TestCase { container.stop(); } + + /** + * Check that Page variables are bound to request parameters. + */ + public void testRequestParameterBinding() { + MockContainer container = new MockContainer("web"); + container.start(); + + MockRequest request = container.getRequest(); + String bigDecimalValue = "100.99"; + String stringValue = "hello"; + String boolValue = "true"; + + request.setParameter("bigDecimal", bigDecimalValue); + request.setParameter("string", stringValue); + request.setParameter("bool", boolValue); + + RequestBindingPage page = container.testPage(RequestBindingPage.class); + + assertEquals(bigDecimalValue.toString(), page.getBigDecimal().toString()); + assertEquals(stringValue, page.getString()); + assertEquals(boolValue, Boolean.toString(page.getBoolean())); + + container.stop(); + } } Added: click/trunk/click/framework/test/org/apache/click/pages/RequestBindingPage.java URL: http://svn.apache.org/viewvc/click/trunk/click/framework/test/org/apache/click/pages/RequestBindingPage.java?rev=991908&view=auto ============================================================================== --- click/trunk/click/framework/test/org/apache/click/pages/RequestBindingPage.java (added) +++ click/trunk/click/framework/test/org/apache/click/pages/RequestBindingPage.java Thu Sep 2 12:25:39 2010 @@ -0,0 +1,50 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.click.pages; + +import java.math.BigDecimal; +import org.apache.click.Page; +import org.apache.click.util.Bindable; + +/** + * Page with bindable variables for testing that request parameters are bound to + * Page variables. + */ +public class RequestBindingPage extends Page { + private static final long serialVersionUID = 1L; + + @Bindable private BigDecimal bigDecimal = BigDecimal.ZERO; + public String string = ""; + @Bindable private boolean bool = false; + + public RequestBindingPage() { + } + + public BigDecimal getBigDecimal() { + return bigDecimal; + } + + public String getString() { + return string; + } + + public boolean getBoolean() { + return bool; + } +} Added: click/trunk/click/framework/test/web/request-binding-page.htm URL: http://svn.apache.org/viewvc/click/trunk/click/framework/test/web/request-binding-page.htm?rev=991908&view=auto ============================================================================== --- click/trunk/click/framework/test/web/request-binding-page.htm (added) +++ click/trunk/click/framework/test/web/request-binding-page.htm Thu Sep 2 12:25:39 2010 @@ -0,0 +1,18 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +--> From [email protected] Thu Sep 02 12:39:07 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88991 invoked from network); 2 Sep 2010 12:39:07 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Sep 2010 12:39:07 -0000 Received: (qmail 38612 invoked by uid 500); 2 Sep 2010 12:39:07 -0000 Delivered-To: [email protected] Received: (qmail 38597 invoked by uid 500); 2 Sep 2010 12:39:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.click.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 38449 invoked by uid 99); 2 Sep 2010 12:39:05 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 12:39:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 12:38:44 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id ABDC32388A41; Thu, 2 Sep 2010 12:37:24 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r991917 - in /click/trunk/click/documentation/xdocs/src: docbook/click/chapter-ajax.xml docbook/click/click-book.xml images/ajax/ images/ajax/ajax-class-diagram.png images/ajax/ajax-request-sequence-diagram.png Date: Thu, 02 Sep 2010 12:37:24 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: sabob Date: Thu Sep 2 12:37:24 2010 New Revision: 991917 URL: http://svn.apache.org/viewvc?rev=991917&view=rev Log: added Ajax chapter Added: click/trunk/click/documentation/xdocs/src/docbook/click/chapter-ajax.xml click/trunk/click/documentation/xdocs/src/images/ajax/ click/trunk/click/documentation/xdocs/src/images/ajax/ajax-class-diagram.png (with props) click/trunk/click/documentation/xdocs/src/images/ajax/ajax-request-sequence-diagram.png (with props) Modified: click/trunk/click/documentation/xdocs/src/docbook/click/click-book.xml Added: click/trunk/click/documentation/xdocs/src/docbook/click/chapter-ajax.xml URL: http://svn.apache.org/viewvc/click/trunk/click/documentation/xdocs/src/docbook/click/chapter-ajax.xml?rev=991917&view=auto ============================================================================== --- click/trunk/click/documentation/xdocs/src/docbook/click/chapter-ajax.xml (added) +++ click/trunk/click/documentation/xdocs/src/docbook/click/chapter-ajax.xml Thu Sep 2 12:37:24 2010 @@ -0,0 +1,821 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +--> +<chapter id="chapter-ajax" remap="h1"> + <title>Ajax</title> + + <sect1 id="ajax-overview" remap="h2"> + <title>Ajax Overview</title> + + <para>Ajax is a method of using JavaScript to perform a GET or POST request +and return a result without reloading the whole page. + </para> + + <para>For an introduction on Ajax please see the following articles:</para> + + <itemizedlist> + <listitem> + <para><ulink url="http://www.w3schools.com/Ajax/default.asp">http://www.w3schools.com/Ajax/default.asp</ulink></para> + </listitem> + + <listitem> + <para><ulink url="http://en.wikipedia.org/wiki/AJAX">http://en.wikipedia.org/wiki/AJAX</ulink></para> + </listitem> + </itemizedlist> + + <para>Ajax is a client-side technology for creating interactive web applications. + The JavaScript <literal>XMLHttpRequest</literal> object is used to perform GET + and POST requests and the server can send back a response that can be processed + in the browser. + </para> + + <para>Click on the other hand is a server-side technology that can handle and + process incoming Ajax requests and send a response back to the browser. + </para> + + <para><emphasis role="bold">Please note:</emphasis> Click is responsible + for handling server-side requests. It is up to you to develop the client-side + logic necessary to make the Ajax request, process the server response + and handle errors. Fortunately this step is quite easy since Click is a + stateless framework and Page URLs are obvious and transparent. + </para> + + <para>It is also possible to write custom Behaviors (covered later) that renders + the client-side code necessary to initiate Ajax requests and handle Ajax responses + and errors. In fact once you become familiar Click's Ajax handling, you will + likely create custom Behaviors to streamline and encapsulate your client-side + code. + </para> + + <para><emphasis role="bold">Also note:</emphasis> Click doesn't care what + client-side technology you use. You can use pure JavaScript or one of the + popular JavaScript libraries such as: + <ulink url="http://www.jquery.com">jQuery</ulink>, + <ulink url="http://www.prototypejs.org/">Prototype</ulink>, + <ulink url="http://mootools.net/">MooTools</ulink> to name a few. + </para> + + <para>In this chapter we'll look at the Ajax support provided by Click. There + are two basic ways to handle and process Ajax requests: + </para> + + <itemizedlist> + <listitem> + <para><link linkend="ajax-behaviors">Ajax Behaviors</link> - a Behavior + can change how a Control behave at runtime, allowing the Control to handle + and process Ajax requests. Behaviors are added to Controls through + <ulink url="../../click-api/org/apache/click/control/AbstractControl.html#addBehavior(org.apache.click.Behavior)">AbstractControl.addBehavior()</ulink> + </para> + </listitem> + + <listitem> + <para><link linkend="ajax-page-action">Page Actions</link> - Page Actions + was covered <link linkend="page-actions">earlier</link> and provides a + popular way to handle and process Ajax requests + </para> + </listitem> + </itemizedlist> + + </sect1> + + <sect1 id="ajax-behaviors" remap="h2"> + <title>Ajax Behaviors</title> + + <para><ulink url="../../click-api/org/apache/click/Behavior.html">Behaviors</ulink> + can change how Controls [email protected]. The default Behavior implementation, + <ulink url="../../click-api/org/apache/click/ajax/AjaxBehavior.html">AjaxBehavior</ulink>, + can be added to a Control, enabling that control to handle, process and respond + to Ajax requests. + </para> + + <para> + Behaviors are added to controls through + <ulink url="../../click-api/org/apache/click/control/AbstractControl.html#addBehavior(org.apache.click.Behavior)">AbstractControl.addBehavior()</ulink> + and the same Behavior can be shared by multiple Controls. + </para> + + <para>Behaviors provides an + <ulink url="../../click-api/org/apache/click/Behavior.html#onAction(org.apache.click.Control)">onAction</ulink> + method (similar to <classname>ActionListener</classname>) that is invoked to + handle and process the Ajax request. The <methodname>onAction</methodname> + method returns an <ulink url="../../click-api/org/apache/click/ActionResult.html">ActionResult</ulink> + containing the data rendered to the browser. In addition Behaviors provides + <literal>interceptor</literal> methods to decorate and enhance the Control. + </para> + + <para>The <classname>Control</classname>, + <classname>Behavior</classname> and <classname>ActionResult</classname> + class is depicted in the figure below. + </para> + + <figure id="ajax-behavior-class-diagram"> + <title>Ajax Behavior Class Diagram</title> + <inlinemediaobject> + <imageobject> + <imagedata fileref="images/ajax/ajax-class-diagram.png" format="PNG" scale="65"/> + </imageobject> + </inlinemediaobject> + </figure> + + <para>The Control contains a <classname>Set</classname> that holds the + <classname>Behaviors</classname> added to the <classname>Control</classname>. + The Control interface exposes the following methods for handling Ajax requests: + </para> + + <itemizedlist> + <listitem> + <para> + <ulink url="../../click-api/org/apache/click/Control.html#getBehaviors()">getBehaviors()</ulink> + - returns the Control's Set of Behaviors + </para> + </listitem> + <listitem> + <para> + <ulink url="../../click-api/org/apache/click/Control.html#hasBehaviors()">hasBehaviors()</ulink> + - returns true if the Control has any Behaviors. + </para> + </listitem> + <listitem> + <para> + <ulink url="../../click-api/org/apache/click/Control.html#isAjaxTarget(org.apache.click.Context)">isAjaxTarget()</ulink> + - Returns true if the control is the Ajax request <literal>target</literal>, + false otherwise. The <literal>Ajax target control</literal> is the Control + which <methodname>onProcess</methodname> method will be invoked. The most + common way to target a specific server side control is to give it an + <ulink url="../../click-api/org/apache/click/control/AbstractControl.html#setId(java.lang.String)">HTML ID</ulink> + attribute, that is then passed as an Ajax request parameter to the server. + More on this later. + </para> + </listitem> + </itemizedlist> + + <para>The Behavior interface is covered next: + </para> + + <itemizedlist> + <listitem> + <para> + <ulink url="../../click-api/org/apache/click/Behavior.html#onAction(org.apache.click.Control)">onAction()</ulink> + - the Behavior action method for handling Ajax requests. + </para> + </listitem> + <listitem> + <para> + <ulink url="../../click-api/org/apache/click/Behavior.html#isRequestTarget(org.apache.click.Context)">isRequestTarget()</ulink> + - determines whether the behavior is the request target or not. Click + will only invoke <methodname>onAction</methodname> if + <methodname>isRequestTarget()</methodname> returns true. This method + allows for fine grained control over the exection of the <methodname>onAction</methodname> + method. + </para> + </listitem> + <listitem> + <para> + <ulink url="../../click-api/org/apache/click/Behavior.html#preResponse(org.apache.click.Control)">preResponse()</ulink> + - defines an interceptor method that is invoked before the response is written. + </para> + </listitem> + <listitem> + <para> + <ulink url="../../click-api/org/apache/click/Behavior.html#preGetHeadElements(org.apache.click.Control)">preGetHeadElements()</ulink> + - defines an interceptor method that is invoked after <methodname>preResponse()</methodname> + but before the <classname>Control</classname> <methodname>getHeadElements()</methodname> + is called. + </para> + </listitem> + <listitem> + <para> + <ulink url="../../click-api/org/apache/click/Behavior.html#preDestroy(org.apache.click.Control)">preDestroy()</ulink> + - defines an interceptor method that is invoked before the + <classname>Control</classname> <methodname>onDestroy()</methodname> + event handler. This interceptor method allows the behavior to cleanup + any resources. + </para> + </listitem> + </itemizedlist> + + <para>The <classname>Behavior</classname> provides an <methodname>onAction</methodname> + method for handling Ajax requests. The <methodname>onAction</methodname> + method returns an <classname>ActionResult</classname> containing the data that + is rendered to the browser. + </para> + + <para>The <methodname>isRequestTarget</methodname> method controls whether or + not the <methodname>onAction</methodname> method should be invoked. + <methodname>isRequestTarget()</methodname> is typically used to target the + Behavior for specific JavaScript events. For example a Behavior might only + handle <literal>onclick</literal> or <literal>onblur</literal> JavaScript events. + For this to work the client-side code initiating the Ajax request should pass + the JavaScript event to the server. + </para> + + <para>The <classname>Behavior</classname> also provides a number of interceptor + methods for specific <classname>Control</classname> life cycle events. These + interceptor methods can be implemented to process and decorate the control or + its children. + </para> + + <para>Lastly the <classname>ActionResult</classname> methods are shown below: + </para> + + <itemizedlist> + <listitem> + <para> + <ulink url="../../click-api/org/apache/click/ActionResult.html#setContent(java.lang.String)">setContent(String)</ulink> + - set the String content to render to the browser + </para> + </listitem> + <listitem> + <para> + <ulink url="../../click-api/org/apache/click/ActionResult.html#setBytes(byte[])">setBytes(byte[])</ulink> + - set the byte array to render to the browser + </para> + </listitem> + <listitem> + <para> + <ulink url="../../click-api/org/apache/click/ActionResult.html#setBytes(byte[])">setTemplate(String)</ulink> + - set the name of the Velocity (or Freemarker) template to render to + the browser + </para> + </listitem> + <listitem> + <para> + <ulink url="../../click-api/org/apache/click/ActionResult.html#setModel(java.util.Map)">setModel(Map)</ulink> + - set the Velocity (or Freemarker) template model + </para> + </listitem> + <listitem> + <para> + <ulink url="../../click-api/org/apache/click/ActionResult.html#setModel(java.util.Map)">setModel(Map)</ulink> + - set the ActionResult content type, for example: <literal>text/html</literal>, + <literal>text/xml</literal>, <literal>application/json</literal> etc. + </para> + </listitem> + </itemizedlist> + + <para>An ActionResult is returned by the Behavior <methodname>onAction</methodname> + method and contains the data to render to the browser. ActionResult can return + any response to the browser: String, byte array or a template. + </para> + + </sect1> + + <sect1 id="ajax-behavior-execution" remap="h2"> + <title>Ajax Behavior Execution</title> + + <para>The execution sequence for an <classname>Ajax Behavior</classname> + being processed and rendered is illustrated in the figure below. You'll note + that it is similar to a normal HTTP request flow. The main differences are that + Ajax requests do not have an onGet or onRender event. Another difference + is that only the <literal>Ajax target Control</literal> is processed. + </para> + + <figure id="ajax-behavior-sequence-diagram"> + <title>Ajax Behavior Sequence Diagram</title> + <inlinemediaobject> + <imageobject> + <imagedata fileref="images/ajax/ajax-request-sequence-diagram.png" format="PNG" scale="58"/> + </imageobject> + </inlinemediaobject> + </figure> + + <para>Stepping through this Ajax GET request sequence, first a new Page + instance is created. + </para> + + <para>Then the <methodname>onSecurityCheck()</methodname> handler is executed + to authorize access to the page, and if necessary abort further processing. + If the request is aborted for an Ajax request, no response is rendered to + the browser. If you want to render a response you need to write to the + <classname>HttpServletResponse</classname> directly or create and + render an <classname>ActionResult</classname> yourself. + </para> + + <para>The next method invoked is <methodname>onInit()</methodname> to initialize, + create and setup controls and <classname>Behaviors</classname>. + <methodname>onInit</methodname> is an ideal place to add <classname>Behaviors</classname> + to <classname>Controls</classname>. When a Behavior is added to a Control that + Control is automatically registered with the ClickServlet as a potential + <literal>Ajax target control</literal>. + </para> + + <para>The next step is to find and process the <literal>Ajax target control</literal>. + First the ClickServlet needs to determine which Control is the Ajax target. + To resolve the target Control the ClickServlet iterates over all the registered + Controls and invokes each Control's method: <methodname>isAjaxTarget()</methodname>. + The first control which isAjaxTarget() returns true will be resolved as the + Ajax target. The most common way for a Control to be resolved as the Ajax + target is to check if its ID attribute is passed as a request parameter. It + is then up the client-side JavaScript code that initiated the Ajax request + to ensure the Control ID is sent as part of the Ajax request. Note, if the + ClickServlet cannot find a target control, no response is rendered. + </para> + + <para>If an Ajax target control is found, the ClickServlet will invoke + that control's <methodname>onProcess</methodname> method. Other controls are not + processed. It is important to note that processing a control for an Ajax request + has the same requirements as processing a control for a non-Ajax request. + In other words, in addition to the Control ID (or other identifier), the Ajax + request must send all the parameters normally expected by the target Control + and its children. For example, a Field expects it's <literal>name/value</literal> + parameter while an ActionLink expects its <literal>actionLink/name</literal> + parameter. + </para> + + <para>Next, the target control <classname>Behaviors</classname> are fired. + The ClickServlet iterates over the control Behaviors and for each + Behavior invoke the method: <methodname>isRequestTarget()</methodname>. Each + Behavior which <methodname>isRequestTarget</methodname> method returns true + will have their <methodname>onAction</methodname> method invoked to handle + the Ajax request. The Behavior <methodname>onAction</methodname> method + returns an <classname>ActionResult</classname> that is rendered to the browser. + </para> + + <para>Please note: multiple Behaviors can handle the Ajax request, however + only the first ActionResult returned will be rendered to the browser. If an + onAction method returns null, the ActionResult from the next Behavior onAction + method will be used. If all onAction methods returns null, no response is + rendered. + </para> + + <para>Next the ActionResult is rendered to the browser.</para> + + <para>The final step in this sequence is invoking each control's onDestroy() + method and lastly invoke the Page's onDestroy() method.</para> + </sect1> + + <sect1 id="first-ajax-example" remap="h2"> + <title>First Ajax Example</title> + + <para>In this first example we demonstrate how to handle Ajax requests with an + <symbol>AjaxBehavior</symbol>. AjaxBehavior is the default implementation of + the <classname>Behavior</classname> interface. Below we show the Page class, + <classname>AjaxBehaviorPage.java</classname>, and how an + <symbol>AjaxBehavior</symbol> is added to an ActionLink called link with an + HTML ID <varname>link-id</varname>. The AjaxBehavior <varname>onAction</varname> + method will be invoked to handle the Ajax request. The <varname>onAction</varname> + method returns an <token>ActionResult</token> that is rendered to the browser. + </para> + + <programlisting language="java">public class AjaxBehaviorPage extends BorderPage { + + private static final long serialVersionUID = 1L; + + private ActionLink link = new ActionLink("link", "here"); + + public AjaxBehaviorPage() { + link.setId("link-id"); <co id="co-link-id" linkends="ca-link-id"/> + + addControl(link); + + // Add an Ajax behavior to the link. The behavior will be invoked when the + // link is clicked. + link.addBehavior(new <symbol>AjaxBehavior()</symbol> { <co id="co-ajax-behavior" linkends="ca-ajax-behavior"/> + + @Override + public <token>ActionResult</token> <varname>onAction</varname>(Control source) { <co id="co-ajax-behavior-method" linkends="ca-ajax-behavior-method"/> + + // Formatted date instance that will be added to the + String now = format.currentDate("MMM, yyyy dd HH:MM:ss"); + + String msg = "AjaxBehavior &lt;tt&gt;onAction()&lt;/tt&gt; method invoked at: " + now; + + // Return an action result containing the message + return new <token>ActionResult</token>(msg, ActionResult.HTML); <co id="co-ajax-action-result" linkends="ca-ajax-action-result"/> + } + }); + } +} </programlisting> + + <calloutlist> + <callout arearefs="co-link-id" id="ca-link-id"> + <para>We assign to the ActionLink the HTML ID: <varname>link-id</varname>. + The ID will be used to identify the ActionLink as the + <literal>Ajax target control</literal>. The client-side JavaScript code + is expected to send this ID as an Ajax request parameter. + </para> + </callout> + <callout arearefs="co-ajax-behavior" id="ca-ajax-behavior"> + <para>Next we add an <symbol>AjaxBehavior</symbol> to the ActionLink. + Adding a Behavior to a control will also register that control as a + potential <literal>Ajax target control</literal>. + </para> + </callout> + <callout arearefs="co-ajax-behavior-method" id="ca-ajax-behavior-method"> + <para>We also implement the Behavior <varname>onAction</varname> method + in order to handle the Ajax request. + </para> + </callout> + <callout arearefs="co-ajax-action-result" id="ca-ajax-action-result"> + <para>Lastly we return an <token>ActionResult</token> containing HTML + content that is rendered to the browser. + </para> + </callout> + </calloutlist> + + <para>Next we show the Page template <literal>ajax-behavior.htm</literal>, + containing the client-side JavaScript code that will initiate an Ajax request. + </para> + + <para><emphasis role="bold">Please note:</emphasis> we assume you are familiar + with basic JavaScript skills. In this example we use the <ulink url="http://www.jquery.com">jQuery</ulink> + JavaScript library, but any other library can be used, even raw JavaScript. + Also see the online Click examples for more Ajax examples. + </para> + + <programlisting language="javascript">&lt;!-- // $link is a Velocity reference that will render an [email protected]. --&gt; +Click $link to call the server using Ajax. + +&lt;div id="result"&gt; + &lt;!-- // Ajax response will be set here --&gt; +&lt;/div&gt; + +&lt;!-- // JavaScript code below --&gt; + +&lt;!-- // Import the jQuery library --&gt; +&lt;script type="text/javascript" src="$context/js/jquery.js"&gt;&lt;/script&gt; + +&lt;!-- // The client-side JavaScript for initiating an Ajax request --&gt; +&lt;script type="text/javascript"&gt; + // This example uses jQuery for making Ajax requests: + + // Register a function that is invoked as soon as the entire DOM has been loaded + jQuery(document).ready(function() { <co id="co-ajax-jq-function" linkends="ca-ajax-jq-function"/> + + // Register a 'click' handler that makes an Ajax request + jQuery("#link-id").click(function(event){ + // Make ajax request + makeRequest(); + + // Prevent the default browser behavior of navigating to the link + return false; + }) + }) + + function makeRequest() { + // Get a reference to the link + var link = jQuery('#link-id'); + + // In order for Click to identify the Ajax target, we pass the link ID + // attribute as request parameters + var extraData = link.attr('id') + '=1'; <co id="co-ajax-link-id" linkends="ca-ajax-link-id"/> + + // The Ajax URL is set to the link 'href' URL which contains all the link default parameters, including it's name/value pair: 'actionLink=link' + var url = link.attr('href'); <co id="co-ajax-jq-href" linkends="ca-ajax-jq-href"/> + + jQuery.get(url, extraData, function(data) { + // 'data' is the response returned from the server + + // We update the div with the ID 'result' and set its content to the server response + jQuery("#result").html("&lt;p&gt;" + data + "&lt;/p&gt;"); <co id="co-ajax-jq-response" linkends="ca-ajax-jq-response"/> + }); + } +&lt;/script&gt; </programlisting> + + <calloutlist> + <callout arearefs="co-ajax-jq-function" id="ca-ajax-jq-function"> + <para>We start off with a jQuery <ulink url="http://api.jquery.com/ready/">ready</ulink> + function that is executed as soon as the browser DOM has been loaded. + This ensures that the function body is executed <literal>before</literal> + the page images are downloaded, which leads to a more responsive GUI. + </para> + </callout> + <callout arearefs="co-ajax-link-id" id="ca-ajax-link-id"> + <para>Next is an important step. We need to pass the link <varname>HTML ID</varname> + attribute as request parameters in order for the server to identify <literal>which</literal> + server-side control is the <literal>Ajax target</literal>. We use the jQuery + <literal>attr</literal> function to lookup the link's <varname>HTML ID</varname> + attribute. Click does not care about <literal>value</literal> of the + parameter, so we pass in a value of <varname>1</varname>, but any other + value could be used. + </para> + </callout> + <callout arearefs="co-ajax-jq-href" id="ca-ajax-jq-href"> + <para>Next step is also important. We can't just pass in the Control HTML ID. + Although the HTML ID identifies which Control is the target control, that + only instructs Click to process the control. The Control <methodname>onProcess</methodname> + method is where the Control values are bound, validated and action event + is fired. So what is needed is to pass all the parameters normally expected + by the ActionLink <methodname>onProcess</methodname> method. In the case + of ActionLink, that means the Ajax request must include it's <varname>href</varname> + parameters. The easiest way to do this is to use jQuery to set the Ajax + <literal>URL</literal> to the ActionLink <varname>href</varname> value. + </para> + </callout> + <callout arearefs="co-ajax-jq-response" id="ca-ajax-jq-response"> + <para>Lastly TODO + </para> + </callout> + </calloutlist> + + <sect2 id="ajax-trace-log" remap="h3"> + <title>Ajax Trace Log</title> + + <para>Looking at the output log we see the following trace: + </para> + + <literallayout>[Click] [debug] GET http://localhost:8080/mycorp/ajax/ajax-behavior.htm +[Click] [trace] <symbol>is Ajax request</symbol>: <varname>true</varname> +[Click] [trace] request param: <varname>actionLink=link</varname> +[Click] [trace] request param: <varname>link-id=1</varname> +[Click] [trace] invoked: AjaxBehaviorPage.&lt;&lt;init&gt;&gt; +[Click] [trace] invoked: AjaxBehaviorPage.onSecurityCheck() : true +[Click] [trace] invoked: AjaxBehaviorPage.onInit() +[Click] [trace] invoked: 'link' ActionLink.onInit() +[Click] [trace] <token>the following controls have been registered as potential Ajax targets:</token> +[Click] [trace] ActionLink: name='link' +[Click] [trace] invoked: 'link' ActionLink.<symbol>isAjaxTarget()</symbol> : <varname>true</varname> (target Ajax control found) +[Click] [trace] invoked: 'link' ActionLink.<symbol>onProcess()</symbol> : <varname>true</varname> +[Click] [trace] <token>processing Behaviors for control: 'link' ActionLink</token> +[Click] [trace] invoked: AjaxBehaviorPage.1.<symbol>isRequestTarget()</symbol> : <varname>true</varname> +[Click] [trace] invoked: AjaxBehaviorPage.1.<symbol>onAction()</symbol> : <varname>ActionResult</varname> (ActionResult will be rendered) +[Click] [info ] <token>renderActionResult</token> (text/html) - 0 ms +[Click] [trace] invoked: 'link' ActionLink.onDestroy() +[Click] [trace] invoked: AjaxBehaviorPage.onDestroy() +[Click] [info ] handleRequest: /ajax/ajax-behavior.htm - 68 ms</literallayout> + + <para>First thing we notice is that the request is recognized as an + <symbol>Ajax request</symbol>. + </para> + + <para>We can also see from the log that the Ajax request sent the parameters, + <varname>link-id=1</varname> and <varname>actionLink=link</varname> to the server. + <varname>link-id</varname> is the ActionLink HTML ID attribute that will be used + to identify the Control as the <literal>Ajax request target</literal>. + </para> + + <para>Next the log prints which controls have been registered as <literal>potential + Ajax targets</literal>. In our example we added a Behavior to the ActionLink + so the ActionLink is registered as an Ajax target. + </para> + + <para>Next the ActionLink#<symbol>isAjaxTarget</symbol> was invoked and because + it returned <varname>true</varname>, ActionLink will be set as the + <literal>Ajax target control.</literal> + </para> + + <para>Having found the <literal>Ajax target</literal>, the ActionLink + <symbol>onProcess</symbol> is called. + </para> + + <para>Next, the log shows it found the <literal>target Behavior</literal>. + by invoking Behavior#<symbol>isRequestTarget</symbol> method, which + also returned <varname>true</varname>. + </para> + + <para>The Behavior#<symbol>onAction</symbol> is invoked which returns an + <varname>ActionResult</varname>. + </para> + + <para>Finally the <varname>ActionResult</varname> is rendered to the browser. + </para> + </sect2> + + <sect2 id="ajax-trace-log-no-target-control" remap="h3"> + <title>Ajax Trace Log - No Ajax Target Control Found</title> + + <para>Below we show a log trace where no <literal>Ajax target control</literal> + is found. The most common reason that can happen is if the JavaScript code + that initiates the Ajax request does not send the necessary request parameters + to identify the <literal>Ajax target control</literal>. Another common reason + is if no Behavior was added to a Control. + </para> + + <literallayout>[Click] [debug] GET http://localhost:8080/mycorp/ajax/ajax-behavior.htm +[Click] [trace] <symbol>is Ajax request</symbol>: <varname>true</varname> +[Click] [trace] request param: <varname>actionLink=link</varname> +[Click] [trace] invoked: AjaxBehaviorPage.&lt;&lt;init&gt;&gt; +[Click] [trace] invoked: AjaxBehaviorPage.onSecurityCheck() : true +[Click] [trace] invoked: AjaxBehaviorPage.onInit() +[Click] [trace] invoked: 'link' ActionLink.onInit() +[Click] [trace] <token>the following controls have been registered as potential Ajax targets:</token> +[Click] [trace] ActionLink: name='link' +[Click] [trace] <symbol>*no*</symbol> target control was found for the Ajax request +[Click] [trace] invoked: 'link' ActionLink.onDestroy() +[Click] [trace] invoked: AjaxBehaviorPage.onDestroy() +[Click] [info ] handleRequest: /ajax/ajax-behavior.htm - 87 ms</literallayout> + + <para>Notice from the log that the only Ajax request parameters sent was + <varname>actionLink=link</varname>. + </para> + + <para>Next the log prints which controls have been registered as <literal>potential + Ajax targets</literal>. In our example we added a Behavior to the ActionLink + so the ActionLink is registered as an Ajax target. + </para> + + <para>Next we see that <symbol>*no*</symbol> Ajax target control was found. + The reason is because the ActionLink ID attribute, <literal>link-id</literal>, + does not match the incoming request parameter, <literal>actionLink=link</literal>, + hence the ActionLink was not identified as the <literal>Ajax request target</literal> + and no response is rendered. + </para> + </sect2> + + <sect2 id="ajax-trace-log-no-target-behavior" remap="h3"> + <title>Ajax Trace Log - No Target Behavior Found</title> + + <para>Below we show a log trace where a no <literal>target behavior</literal> + is found. The reason this can happen is if the <symbol>isRequestTarget</symbol> + of the <classname>Behaviors</classname> added to the Control returns false. + </para> + + <literallayout>[Click] [debug] GET http://localhost:9999/mycorp/ajax/ajax-behavior.htm +[Click] [trace] <symbol>is Ajax request</symbol>: <varname>true</varname> +[Click] [trace] request param: <varname>actionLink=link</varname> +[Click] [trace] request param: <varname>link-id=1</varname> +[Click] [trace] invoked: AjaxBehaviorPage.&lt;&lt;init&gt;&gt; +[Click] [trace] invoked: AjaxBehaviorPage.onSecurityCheck() : true +[Click] [trace] invoked: AjaxBehaviorPage.onInit() +[Click] [trace] invoked: 'link' ActionLink.onInit() +[Click] [trace] the following controls have been registered as potential Ajax targets: +[Click] [trace] ActionLink: name='link' +[Click] [trace] invoked: 'link' ActionLink.isAjaxTarget() : true (target Ajax control found) +[Click] [trace] invoked: 'link' ActionLink.onProcess() : true +[Click] [trace] <token>processing Behaviors for control: 'link' ActionLink</token> +[Click] [trace] invoked: AjaxBehaviorPage.1.<symbol>isRequestTarget()</symbol> : <varname>false</varname> +[Click] [trace] <symbol>*no*</symbol> target behavior found for <varname>'link' ActionLink</varname> - invoking Behavior.isRequestTarget() returned false for all behaviors +[Click] [trace] invoked: 'link' ActionLink.onDestroy() +[Click] [trace] invoked: AjaxBehaviorPage.onDestroy() +[Click] [info ] handleRequest: /ajax/ajax-behavior.htm - 80 ms + </literallayout> + + <para>We can see from the log that the Ajax request sent the parameters, + <varname>link-id=1</varname> and <varname>actionLink=link</varname> to the server. + </para> + + <para>Next we notice that the Behavior <symbol>isRequestTarget()</symbol> + returned <varname>false</varname>. + </para> + + <para>Finally we see that <symbol>*no*</symbol> target behavior was found + for the <literal>Ajax target control</literal> <varname>'link' ActionLink</varname>. + </para> + </sect2> + + </sect1> + + <sect1 id="ajax-page-action" remap="h2"> + <title>Ajax Page Action</title> + + <para>Page Actions are page methods that can be invoked directly from the + browser. So instead of handling the Ajax request with a Control, the request + is handled with a page method. Like Behaviors, page methods returns an + ActionResult containing the Ajax data rendered to the browser. + </para> + + <para>Page Actions have already been covered earlier. Please click + <link linkend="page-actions">here</link> for a detailed discussion. + </para> + + <para>Using a Page Action for handling an Ajax request is no different from + a normal HTTP request. To invoke a Page Action, specify the parameter + <varname>"pageAction"</varname> and the name of the page method eg: + <symbol>"onLinkClicked"</symbol>. + </para> + + <para>Here is an example using the + <ulink url="http://www.jquery.com">jQuery</ulink> JavaScript library to make + an Ajax request to a Page Action: + </para> + +<programlisting language="javascript">jQuery('#some-link-id').click(function() { + + // The page url + var url = '$context/view-customers.htm'; + + // Specify the pageAction parameter and page method to invoke: 'onLinkClicked' + var extraData = 'pageAction=<symbol>onLinkClicked</symbol>'; + + // Perform the Ajax request + jQuery.get(url, extraData, function(response) { + + // Update the target element with the server response + jQuery("#target").html("&lt;p&gt;" + response + "&lt;/p&gt;"); + }); + +}); </programlisting> + + <para>The JavaScript snippet above will send a request to the + <classname>ViewCustomerPage</classname> method <symbol>"onLinkClicked"</symbol>, + which returns an <token>ActionResult</token> instance: + </para> + + <programlisting language="java">public class ViewCustomerPage extends Page { + + ... + + public <token>ActionResult</token> <symbol>onLinkClicked()</symbol> { + // Formatted date instance that will be returned to the browser + String now = format.currentDate("MMM, yyyy dd HH:MM:ss"); + + String msg = "PageAction method &lt;tt&gt;onLinkClicked()&lt;/tt&gt; invoked at: " + now; + + // Return an action result containing the message + return new <token>ActionResult</token>(msg, ActionResult.HTML); + } +} </programlisting> + + <para>The <token>ActionResult</token> contains the data that is rendered to the + client browser. In the example above, the action result is an HTML snippet with + today's date. + </para> + + </sect1> + + <sect1 id="ajax-response-types" remap="h2"> + <title>Ajax Response Types</title> + + <para>The most common server response types are: + </para> + + <itemizedlist> + <listitem> + <para>HTML</para> + </listitem> + <listitem> + <para>XML</para> + </listitem> + <listitem> + <para>JSON</para> + </listitem> + </itemizedlist> + + <para>Click Controls render themselves as XHTML markup so can be used in + either XML or HTML responses. + </para> + + <para>Here is an example showing how to return different types of responses:</para> + + <programlisting language="java">public class ViewCustomerPage extends Page { + + ... + + public void onInit() { + Behavior htmlBehavior = new AjaxBehavior() { + public ActionResult onAction() { + String html = "&lt;h1&gt;Hello world&lt;/h1&gt;"; + + // Return an HTML snippet + return new ActionResult(html, ActionResult.HTML); + } + }; + htmlLink.addBehavior(htmlBehavior); + + ... + + Behavior xmlBehavior = new AjaxBehavior() { + public ActionResult onAction() { + String xml = "&lt;payload&gt;Hello world&lt;/payload&gt;"; + + // Return an XML snippet + return new ActionResult(xml, ActionResult.XML); + } + }; + xmlLink.addBehavior(xmlBehavior); + + ... + + Behavior jsonBehavior = new AjaxBehavior() { + public ActionResult onAction() { + String json = "{\"value\": \"Hello world\"}"; + + // Return an JSON snippet + return new ActionResult(json, ActionResult.JSON); + } + }; + jsonLink.addBehavior(jsonBehavior); + } +} </programlisting> + + </sect1> + + <sect1 id="ajax-error-handling" remap="h2"> + <title>Ajax Error Handling</title> + + <para>If an exception occurs while processing an Ajax request and the application + is in <literal>development</literal> mode, the exception + <literal>stackTrace</literal> is returned to the browser. + </para> + <para>If an exception occurs while processing an Ajax request and the application + is in <literal>production</literal> mode, a simple error message is returned. + </para> + + </sect1> +</chapter> Modified: click/trunk/click/documentation/xdocs/src/docbook/click/click-book.xml URL: http://svn.apache.org/viewvc/click/trunk/click/documentation/xdocs/src/docbook/click/click-book.xml?rev=991917&r1=991916&r2=991917&view=diff ============================================================================== --- click/trunk/click/documentation/xdocs/src/docbook/click/click-book.xml (original) +++ click/trunk/click/documentation/xdocs/src/docbook/click/click-book.xml Thu Sep 2 12:37:24 2010 @@ -4,6 +4,7 @@ <!ENTITY chapter-introduction SYSTEM "chapter-introduction.xml" > <!ENTITY chapter-pages SYSTEM "chapter-pages.xml" > <!ENTITY chapter-controls SYSTEM "chapter-controls.xml" > + <!ENTITY chapter-ajax SYSTEM "chapter-ajax.xml" > <!ENTITY chapter-configuration SYSTEM "chapter-configuration.xml" > <!ENTITY chapter-best-practices SYSTEM "chapter-best-practices.xml" > ]> @@ -55,6 +56,7 @@ &chapter-introduction; &chapter-pages; &chapter-controls; + &chapter-ajax; &chapter-configuration; &chapter-best-practices; Added: click/trunk/click/documentation/xdocs/src/images/ajax/ajax-class-diagram.png URL: http://svn.apache.org/viewvc/click/trunk/click/documentation/xdocs/src/images/ajax/ajax-class-diagram.png?rev=991917&view=auto ============================================================================== Binary file - no diff available. Propchange: click/trunk/click/documentation/xdocs/src/images/ajax/ajax-class-diagram.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: click/trunk/click/documentation/xdocs/src/images/ajax/ajax-request-sequence-diagram.png URL: http://svn.apache.org/viewvc/click/trunk/click/documentation/xdocs/src/images/ajax/ajax-request-sequence-diagram.png?rev=991917&view=auto ============================================================================== Binary file - no diff available. Propchange: click/trunk/click/documentation/xdocs/src/images/ajax/ajax-request-sequence-diagram.png ------------------------------------------------------------------------------ svn:mime-type = image/png From [email protected] Thu Sep 02 13:00:41 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92145 invoked from network); 2 Sep 2010 13:00:41 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Sep 2010 13:00:41 -0000 Received: (qmail 54364 invoked by uid 500); 2 Sep 2010 13:00:41 -0000 Delivered-To: [email protected] Received: (qmail 54346 invoked by uid 500); 2 Sep 2010 13:00:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.click.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 54325 invoked by uid 99); 2 Sep 2010 13:00:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 13:00:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 13:00:36 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 754492388A38; Thu, 2 Sep 2010 12:59:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r991922 [2/2] - in /click/trunk/tools/uml: 128002.diagram 129154.diagram 129282 129410.diagram 130562.diagram 131202 131330 131714 131714.diagram 132866.diagram 132994.diagram 133122.diagram 2.session README.txt Date: Thu, 02 Sep 2010 12:59:18 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Modified: click/trunk/tools/uml/131714 URL: http://svn.apache.org/viewvc/click/trunk/tools/uml/131714?rev=991922&r1=991921&r2=991922&view=diff ============================================================================== --- click/trunk/tools/uml/131714 (original) +++ click/trunk/tools/uml/131714 Thu Sep 2 12:59:17 2010 @@ -1,16 +1,16 @@ -format 66 +format 74 "apache" // orgacf:4db6:5e0b:f386:43a5:35d7:718d:3c8blickacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bpache - revision 2 - modified_by 2 "bob" + revision 10 + modified_by 2 "bschellink" // class settings //class diagram settings - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default //use case diagram settings package_name_in_tab default show_context default auto_label_position default draw_all_relations default class_drawing_mode default shadow default show_stereotype_properties default //sequence diagram settings - show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default show_stereotype_properties default + show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default show_stereotype_properties default show_class_context_mode default show_msg_context_mode default //collaboration diagram settings - show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default draw_all_relations default shadow default show_stereotype_properties default + show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default show_msg_context default draw_all_relations default shadow default show_stereotype_properties default //object diagram settings write_horizontally default package_name_in_tab default show_context default auto_label_position default draw_all_relations default shadow default show_stereotype_properties default //component diagram settings @@ -28,13 +28,13 @@ format 66 classview 128002 "classes" //class diagram settings - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default //collaboration diagram settings - show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default draw_all_relations default shadow default show_stereotype_properties default + show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default show_msg_context default draw_all_relations default shadow default show_stereotype_properties default //object diagram settings write_horizontally default package_name_in_tab default show_context default auto_label_position default draw_all_relations default shadow default show_stereotype_properties default //sequence diagram settings - show_full_operations_definition default write_horizontally default class_drawing_mode class drawing_language java draw_all_relations yes shadow default show_stereotype_properties default + show_full_operations_definition default write_horizontally default class_drawing_mode class drawing_language java draw_all_relations yes shadow default show_stereotype_properties default show_class_context_mode default show_msg_context_mode default //state diagram settings package_name_in_tab default show_context default auto_label_position default write_trans_label_horizontally default show_trans_definition default draw_all_relations default shadow default show_activities default region_horizontally default drawing_language default show_stereotype_properties default @@ -105,8 +105,14 @@ format 66 idl_decl "" end - classrelation 128130 // #context - relation_ref 128002 // #context + operation 169602 "isAjaxRequest" + public explicit_return_type "boolean" + nparams 0 + + + + + end end @@ -173,6 +179,16 @@ format 66 idl_decl "" explicit_switch_type "" + operation 176130 "getContext" + public return_type class_ref 130946 // Context + nparams 0 + + + + + + end + operation 130050 "addControl" public explicit_return_type "void" nparams 1 @@ -286,15 +302,6 @@ format 66 end - attribute 128002 "context" - protected explicit_type "Context" - cpp_decl "" - java_decl "" - php_decl "" - python_decl "" - idl_decl "" - end - attribute 129282 "controls" protected explicit_type "List" cpp_decl "" @@ -367,14 +374,6 @@ format 66 idl_decl "" end - classrelation 128002 // (#context) - relation 128002 o--- name "#context" - a role_name "" multiplicity "1" private - classrelation_ref 128002 // (#context) - b role_name "" multiplicity "1" private - classrelation_ref 128130 // #context - end - classrelation 129282 // (#controls) relation 129154 *--- name "#controls" a role_name "" multiplicity "1" private @@ -383,12 +382,50 @@ format 66 classrelation_ref 129410 // #controls end - classrelation 129538 // (#model) - relation 129282 *--- name "#model" - a role_name "" multiplicity "1" private - classrelation_ref 129538 // (#model) + classrelation 151426 // <association> + relation 149506 ---- + a role_name "" multiplicity "0..*" private + classrelation_ref 151426 // <association> b role_name "" multiplicity "1" private - classrelation_ref 129666 // #model + classrelation_ref 151554 // <association> + end + + classrelation 143490 // (#controls) + relation 142210 o--- name "#controls" + a role_name "" multiplicity "0..*" private + classrelation_ref 143490 // (#controls) + b role_name "" multiplicity "1" private + classrelation_ref 143618 // (#controls) + end + + classrelation 150786 // <directional aggregation> + relation 149122 o--> + a role_name "" private + classrelation_ref 150786 // <directional aggregation> + b parent class_ref 129794 // Control + end + + classrelation 150914 // <aggregation> + relation 149250 o--- + a role_name "" private + classrelation_ref 150914 // <aggregation> + b role_name "" private + classrelation_ref 151042 // <aggregation> + end + + classrelation 151938 // (#model) + relation 149762 o--- name "#model" + a role_name "" multiplicity "0..*" private + classrelation_ref 151938 // (#model) + b role_name "" multiplicity "1" private + classrelation_ref 152066 // #model + end + + classrelation 152194 // <unidirectional association> + relation 149890 ---> + a role_name "" private + classrelation_ref 152194 // <unidirectional association> + b parent class_ref 130946 // Context end end @@ -547,6 +584,246 @@ ${members}}; classrelation 130178 // <aggregation> relation_ref 129538 // <aggregation> end + + operation 141570 "getBehaviors" + public explicit_return_type "Set" + nparams 0 + + + + + + end + + operation 141698 "hasBehaviors" + public explicit_return_type "boolean" + nparams 0 + + + + + + end + + operation 141442 "isAjaxTarget" + public explicit_return_type "boolean" + nparams 0 + + + + + + end + + classrelation 143106 // <aggregation> + relation_ref 141954 // <aggregation> + end + + classrelation 143618 // (#controls) + relation_ref 142210 // #controls + end + + classrelation 143746 // (#behaviors) + relation 142338 o--- name "#behaviors" + a role_name "" multiplicity "0..*" private + classrelation_ref 143746 // (#behaviors) + b role_name "" multiplicity "1" private + classrelation_ref 143874 // (#behaviors) + end + + classrelation 151042 // <aggregation> + relation_ref 149250 // <aggregation> + end + + classrelation 151554 // <association> + relation_ref 149506 // <association> + end + end + + class 144770 "Behavior" + visibility package + cpp_decl "" + java_decl "" + php_decl "" + python_2_2 python_decl "" + idl_decl "" + explicit_switch_type "" + + operation 162562 "onAction" + public return_type class_ref 144898 // ActionResult + nparams 1 + param in name "source" type class_ref 129794 // Control + + + + + + end + + operation 162690 "isRequestTarget" + public explicit_return_type "boolean" + nparams 1 + param in name "context" type class_ref 130946 // Context + + + + + + end + + operation 162818 "preResponse" + public explicit_return_type "" + nparams 1 + param in name "source" type class_ref 129794 // Control + + + + + + end + + operation 162946 "preGetHeadElements" + public explicit_return_type "" + nparams 1 + param in name "source" type class_ref 129794 // Control + + + + + + end + + operation 163074 "preDestroy" + public explicit_return_type "" + nparams 1 + param in name "source" type class_ref 129794 // Control + + + + + + end + + classrelation 143874 // (#behaviors) + relation_ref 142338 // #behaviors + end + + classrelation 144002 // <aggregation> + relation 142466 o--- + a role_name "" private + classrelation_ref 144002 // <aggregation> + b role_name "" private + classrelation_ref 144130 // <aggregation> + end + + classrelation 144258 // <unidirectional association> + relation 142594 ---> + a role_name "" private + classrelation_ref 144258 // <unidirectional association> + b parent class_ref 144898 // ActionResult + end + end + + class 144898 "ActionResult" + visibility package + cpp_decl "" + java_decl "" + php_decl "" + python_2_2 python_decl "" + idl_decl "" + explicit_switch_type "" + + operation 148354 "setContent" + public explicit_return_type "" + nparams 1 + param in name "content" explicit_type "String" + + + + + + end + + operation 148610 "setBytes" + public explicit_return_type "" + nparams 1 + param in name "bytes" explicit_type "byte[]" + + + + + + end + + operation 148738 "setTemplate" + public explicit_return_type "" + nparams 1 + param in name "templateName" explicit_type "String" + + + + + + end + + operation 148866 "setModel" + public explicit_return_type "" + nparams 1 + param in name "model" type class_ref 132226 // Map + + + + + + end + + operation 148482 "setContentType" + public explicit_return_type "" + nparams 1 + param in name "contentType" explicit_type "String" + + + + + + end + + classrelation 144130 // <aggregation> + relation_ref 142466 // <aggregation> + end + end + + class 151426 "ControlRegistry" + visibility package + cpp_decl "" + java_decl "" + php_decl "" + python_2_2 python_decl "" + idl_decl "" + explicit_switch_type "" + + operation 155906 "registerAjaxTarget" + public explicit_return_type "" + nparams 1 + param in name "control" type class_ref 129794 // Control + + + + + + end + + operation 156034 "registerInterceptor" + public explicit_return_type "" + nparams 2 + param in name "control" type class_ref 129794 // Control + param in name "behavior" type class_ref 144770 // Behavior + + + + + + end end end Modified: click/trunk/tools/uml/131714.diagram URL: http://svn.apache.org/viewvc/click/trunk/tools/uml/131714.diagram?rev=991922&r1=991921&r2=991922&view=diff ============================================================================== --- click/trunk/tools/uml/131714.diagram (original) +++ click/trunk/tools/uml/131714.diagram Thu Sep 2 12:59:17 2010 @@ -1,158 +1,158 @@ -format 66 +format 74 classinstance 128002 class_ref 128002 // ClickServlet - write_horizontally no name "" xyz 89.8321 5.4 2000 life_line_z 2000 + write_horizontally no name "" xyz 88.6321 4.6 2000 life_line_z 2000 classinstance 128898 class_ref 129538 // Browser - drawing_mode actor name "" xyz 16.8902 5.1 2005 life_line_z 2000 + drawing_mode actor name "" xyz 19.6902 5.9 2005 life_line_z 2000 classinstance 129666 class_ref 129666 // Page - write_horizontally yes name "" mortal xyz 260.1 95.2436 2000 life_line_z 2000 + write_horizontally yes name "" mortal xyz 258.7 97.0436 2000 life_line_z 2000 classinstance 129794 class_ref 129794 // Control - color orange name "" mortal xyz 406.859-54-3939 2000 life_line_z 2000 + color orange drawing_mode class name "" mortal xyz 406.859-54-3939 2000 life_line_z 2000 durationcanvas 129026 classinstance_ref 128898 // :Browser - xyzwh 34 53.6 2010 11 480 + xyzwh 38 51.7 2010 11 474 end durationcanvas 129154 classinstance_ref 128002 // :ClickServlet - xyzwh 120 56.6 2010 11 485 + xyzwh 117 56.2 2010 11 472 overlappingdurationcanvas 135682 - xyzwh 859-54-3939 11 401 + xyzwh 859-54-3939 11 401 overlappingdurationcanvas 135810 - xyzwh 132 345.314.487.3737 + xyzwh 129 344 2030 11 114 end end end durationcanvas 129922 classinstance_ref 129666 // :Page - xyzwh 279 141.6 2010 11 24 + xyzwh 277 139 2010 11 24 end durationcanvas 130178 classinstance_ref 129666 // :Page - xyzwh 279 171.6 2010 11 24 + xyzwh 277 169 2010 11 24 end durationcanvas 131202 classinstance_ref 129794 // :Control color orange - xyzwh 425 201.6 2010 11 24 + xyzwh 425 199 2010 11 24 end durationcanvas 132482 classinstance_ref 129794 // :Control color orange - xyzwh 425 230.2 2010 11 24 + xyzwh 425 229 2010 11 24 end durationcanvas 132994 classinstance_ref 129666 // :Page - xyzwh 279 259 2010 11 24 + xyzwh 277 259 2010 11 24 end durationcanvas 133250 classinstance_ref 129666 // :Page - xyzwh 279 290.2 2010 11 24 + xyzwh 277 289 2010 11 24 end durationcanvas 133506 classinstance_ref 129794 // :Control color orange - xyzwh 425 319 2010 11 24 + xyzwh 425 313.4 2010 11 24 end durationcanvas 134018 classinstance_ref 129666 // :Page - xyzwh 279 369 2010 11 24 + xyzwh 277 376 2010 11 24 end durationcanvas 134274 classinstance_ref 129666 // :Page - xyzwh 279 401.6 2010 11 24 + xyzwh 276 407 2010 11 24 end durationcanvas 134530 classinstance_ref 129794 // :Control color orange - xyzwh 425 436.4 2010 11 24 + xyzwh 425 434 2010 11 24 end durationcanvas 135938 classinstance_ref 129794 // :Control color orange - xyzwh 425 470.2 2010 11 24 + xyzwh 425 469 2010 11 24 end durationcanvas 136194 classinstance_ref 129666 // :Page - xyzwh 279 496.4 2010 11 24 + xyzwh 277 494 2010 11 24 end msg 129282 synchronous from durationcanvas_ref 129026 to durationcanvas_ref 129154 - yz 58 3010 explicitmsg "doGet" - show_full_operations_definition default drawing_language default - label_xy 58 48 + yz 58.9 3010 explicitmsg "doPost" + show_full_operations_definition default drawing_language default show_context_mode default + label_xy 56 48.9 reflexivemsg 129538 synchronous to durationcanvas_ref 135682 - yz 70 3005 explicitmsg "handleRequest" - show_full_operations_definition default drawing_language default + yz 69 3005 explicitmsg "handleRequest" + show_full_operations_definition default drawing_language default show_context_mode default label_xy 161 67 msg 130050 synchronous from durationcanvas_ref 135682 to durationcanvas_ref 129922 - yz 151 3010 explicitmsg "onSecurityCheck : boolean" - show_full_operations_definition yes drawing_language uml - label_xy 143 138 + yz 146 3010 explicitmsg "onSecurityCheck : boolean" + show_full_operations_definition yes drawing_language uml show_context_mode default + label_xy 143 133 msg 130306 synchronous from durationcanvas_ref 135682 to durationcanvas_ref 130178 - yz 182 3010 explicitmsg "onInit" - show_full_operations_definition default drawing_language default - label_xy 191 172 + yz 175 3010 explicitmsg "onInit" + show_full_operations_definition default drawing_language default show_context_mode default + label_xy 191 166 msg 131330 synchronous from durationcanvas_ref 135682 to durationcanvas_ref 131202 - yz 210 3010 explicitmsg "onInit" - show_full_operations_definition yes drawing_language uml - label_xy 349 197 + yz 205 3010 explicitmsg "onInit" + show_full_operations_definition yes drawing_language uml show_context_mode default + label_xy 349 192 msg 132610 synchronous from durationcanvas_ref 135682 to durationcanvas_ref 132482 - yz 242 3010 explicitmsg "onProcess : boolean" - show_full_operations_definition default drawing_language default - label_xy 314 231 + yz 236 3010 explicitmsg "onProcess : boolean" + show_full_operations_definition default drawing_language default show_context_mode default + label_xy 314 225 msg 133122 synchronous from durationcanvas_ref 135682 to durationcanvas_ref 132994 yz 266 3010 explicitmsg "onPost" - show_full_operations_definition default drawing_language default + show_full_operations_definition default drawing_language default show_context_mode default label_xy 187 255 msg 133378 synchronous from durationcanvas_ref 135682 to durationcanvas_ref 133250 - yz 298 3010 explicitmsg "onRender" - show_full_operations_definition default drawing_language default - label_xy 181 287 + yz 295 3010 explicitmsg "onRender" + show_full_operations_definition default drawing_language default show_context_mode default + label_xy 181 284 msg 133634 synchronous from durationcanvas_ref 135682 to durationcanvas_ref 133506 - yz 328 3010 explicitmsg "onRender" - show_full_operations_definition default drawing_language default - label_xy 334 317 + yz 319 3010 explicitmsg "onRender" + show_full_operations_definition default drawing_language default show_context_mode default + label_xy 334 308 reflexivemsg 133890 synchronous to durationcanvas_ref 135810 - yz 345 3005 explicitmsg "renderTemplate" - show_full_operations_definition default drawing_language default - label_xy 167 343 + yz 342 3005 explicitmsg "renderTemplate" + show_full_operations_definition default drawing_language default show_context_mode default + label_xy 164 339 msg 134146 synchronous from durationcanvas_ref 135810 to durationcanvas_ref 134018 - yz 378 3010 explicitmsg "getModel : Map" - show_full_operations_definition default drawing_language default - label_xy 166 366 + yz 381 3010 explicitmsg "getModel : Map" + show_full_operations_definition default drawing_language default show_context_mode default + label_xy 166 369 msg 134402 synchronous from durationcanvas_ref 135810 to durationcanvas_ref 134274 - yz 412 3010 explicitmsg "getTemplate : String" - show_full_operations_definition default drawing_language default - label_xy 152 400 + yz 414 3010 explicitmsg "getTemplate : String" + show_full_operations_definition default drawing_language default show_context_mode default + label_xy 152 402 msg 134658 synchronous from durationcanvas_ref 135810 to durationcanvas_ref 134530 - yz 445 3010 explicitmsg "toString : String" - show_full_operations_definition default drawing_language default - label_xy 318 433 + yz 440 3010 explicitmsg "toString : String" + show_full_operations_definition default drawing_language default show_context_mode default + label_xy 318 428 msg 136066 synchronous from durationcanvas_ref 129154 to durationcanvas_ref 135938 - yz 478 2015 explicitmsg "onDestroy" - show_full_operations_definition default drawing_language default - label_xy 334 467 + yz 474 2015 explicitmsg "onDestroy" + show_full_operations_definition default drawing_language default show_context_mode default + label_xy 334 463 msg 136322 synchronous from durationcanvas_ref 129154 to durationcanvas_ref 136194 - yz 505 2015 explicitmsg "onDestroy" - show_full_operations_definition default drawing_language default - label_xy 175 493 + yz 499 2015 explicitmsg "onDestroy" + show_full_operations_definition default drawing_language default show_context_mode default + label_xy 175 487 msg 136450 return from durationcanvas_ref 129154 to durationcanvas_ref 129026 - yz 518 2020 unspecifiedmsg - show_full_operations_definition default drawing_language default + yz 513.9 2020 unspecifiedmsg + show_full_operations_definition default drawing_language default show_context_mode default preferred_whz 0 0 1.2 end Modified: click/trunk/tools/uml/132866.diagram URL: http://svn.apache.org/viewvc/click/trunk/tools/uml/132866.diagram?rev=991922&r1=991921&r2=991922&view=diff ============================================================================== --- click/trunk/tools/uml/132866.diagram (original) +++ click/trunk/tools/uml/132866.diagram Thu Sep 2 12:59:17 2010 @@ -1,19 +1,19 @@ -format 66 +format 74 classcanvas 128002 class_ref 133506 // Container - draw_all_relations default hide_attributes yes hide_operations yes show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes yes hide_operations yes hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode class drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default xyz 859-54-3939 end classcanvas 128386 class_ref 133634 // Panel - draw_all_relations default hide_attributes yes hide_operations yes show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes yes hide_operations yes hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default xyz 6 143 2000 end classcanvas 128514 class_ref 133762 // Form - draw_all_relations default hide_attributes yes hide_operations yes show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes yes hide_operations yes hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default xyz 151 144 2000 end classcanvas 128642 class_ref 133890 // FieldSet - draw_all_relations default hide_attributes yes hide_operations yes show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes yes hide_operations yes hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default xyz 279 144 2000 end relationcanvas 128770 relation_ref 130818 // <realization> Modified: click/trunk/tools/uml/132994.diagram URL: http://svn.apache.org/viewvc/click/trunk/tools/uml/132994.diagram?rev=991922&r1=991921&r2=991922&view=diff ============================================================================== --- click/trunk/tools/uml/132994.diagram (original) +++ click/trunk/tools/uml/132994.diagram Thu Sep 2 12:59:17 2010 @@ -1,7 +1,7 @@ -format 66 +format 74 classcanvas 128002 class_ref 129794 // Control - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition yes show_members_visibility yes show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir no show_parameter_name no package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes yes hide_operations default hide_getset_operations default show_members_full_definition yes show_members_visibility yes show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir no show_parameter_name no package_name_in_tab default class_drawing_mode class drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default xyz 7 7 2000 end end Modified: click/trunk/tools/uml/133122.diagram URL: http://svn.apache.org/viewvc/click/trunk/tools/uml/133122.diagram?rev=991922&r1=991921&r2=991922&view=diff ============================================================================== --- click/trunk/tools/uml/133122.diagram (original) +++ click/trunk/tools/uml/133122.diagram Thu Sep 2 12:59:17 2010 @@ -1,75 +1,75 @@ -format 66 +format 74 classcanvas 128002 class_ref 129794 // Control - draw_all_relations default hide_attributes yes hide_operations yes show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes yes hide_operations yes hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode class drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default xyz 282 3 2000 end classcanvas 128130 class_ref 133762 // Form - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default xyz 436 146 2000 end classcanvas 128258 class_ref 134274 // Field - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default xyz 284 145 2000 end classcanvas 128386 class_ref 134146 // ActionLink - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default xyz 148 146 2000 end classcanvas 128898 class_ref 134402 // Button - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default xyz 69 263 2000 end classcanvas 129026 class_ref 134530 // Reset - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default xyz 1 337 2000 end classcanvas 129154 class_ref 134658 // Submit - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default xyz 123 335 2000 end classcanvas 129666 class_ref 134786 // Checkbox - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default xyz 153 262 2000 end classcanvas 129794 class_ref 134914 // HiddenField - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default xyz 243 261 2000 end classcanvas 130178 class_ref 135042 // TextField - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default xyz 314.487.3737 end classcanvas 130306 class_ref 135170 // TextArea - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default xyz 314.487.3737 end classcanvas 130434 class_ref 135298 // Select - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default xyz 528 259 2000 end classcanvas 130946 class_ref 135426 // CreditCardField - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default xyz 104 431 2000 end classcanvas 131074 class_ref 135554 // DateField - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default xyz 314.487.3737 end classcanvas 131202 class_ref 135682 // DoubleField - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default xyz 292 431 2000 end classcanvas 131330 class_ref 135810 // EmailField - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default xyz 383 431 2000 end classcanvas 131458 class_ref 135938 // IntegerField - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default xyz 459 431 2000 end classcanvas 131586 class_ref 136066 // PasswordField - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default xyz 545 431 2000 end relationcanvas 128514 relation_ref 131586 // <realization> @@ -103,7 +103,7 @@ relationcanvas 129538 relation_ref 13222 no_multiplicity_a no_multiplicity_b end relationcanvas 129922 relation_ref 132354 // <realization> - decenter_end 211 + decenter_end 209 from ref 129666 z 2001 stereotype "<<realize>>" xyz 197 228 3000 to ref 128258 no_role_a no_role_b no_multiplicity_a no_multiplicity_b Modified: click/trunk/tools/uml/2.session URL: http://svn.apache.org/viewvc/click/trunk/tools/uml/2.session?rev=991922&r1=991921&r2=991922&view=diff ============================================================================== --- click/trunk/tools/uml/2.session (original) +++ click/trunk/tools/uml/2.session Thu Sep 2 12:59:17 2010 @@ -1,32 +1,41 @@ -window_sizes 1920 1115 371 718 800 82 +window_sizes 1440 838 371 718 800 82 windows_style diagrams - sequencediagram_ref 130562 // get-sequence-diagram - 668 767 120 4 0 0 + sequencediagram_ref 128002 // post-sequence-diagram + 1059 682 120 4 0 0 + activitydiagram_ref 129410 // activity-diagram-small + 1063 682 120 4 216 0 + classdiagram_ref 147458 // ajax-class-diagram + 1063 682 100 4 0 0 + sequencediagram_ref 147586 // detailed-ajax-request-sequence-diagram + 1063 682 110 4 0 0 sequencediagram_ref 131714 // control-post-sequence-diagram - 668 767 120 4 0 0 + 846 545 120 4 0 0 + classdiagram_ref 132994 // control-class-diagram + 843 545 100 4 0 0 classdiagram_ref 133122 // control-package-class-diagram - 739 767 100 4 0 0 - sequencediagram_ref 128002 // post-sequence-diagram - 760 715 120 4 0 0 - classdiagram_ref 129154 // click-class-diagram - 760 715 100 4 0 0 + 843 545 100 4 0 0 classdiagram_ref 132866 // container-package-class-diagram - 760 715 100 4 0 0 - classdiagram_ref 132994 // control-class-diagram - 760 715 100 4 0 0 - activitydiagram_ref 129410 // activity-diagram-small - 1543 959 100 4 0 0 - active classdiagram_ref 134274 // service-package - 1543 959 100 4 0 0 + 843 545 100 4 0 0 + classdiagram_ref 129154 // click-class-diagram + 843 545 100 4 0 0 + classdiagram_ref 154242 // page-action-class-diagram + 833 531 100 4 0 0 + sequencediagram_ref 130562 // get-sequence-diagram + 1059 682 120 4 0 0 + active sequencediagram_ref 140930 // page-action-sequence-diagram + 833 531 100 4 0 0 + sequencediagram_ref 160770 // ajax-request-sequence-diagram + 846 545 100 4 0 0 end show_stereotypes marked class_ref 137346 // ConfigService end -selected classdiagram_ref 134274 // service-package +selected sequencediagram_ref 140930 // page-action-sequence-diagram open - classview_ref 132994 // services - classview_ref 133122 // classes + classview_ref 129154 // pages + classview_ref 139650 // ajax + classview_ref 131714 // classes end end Modified: click/trunk/tools/uml/README.txt URL: http://svn.apache.org/viewvc/click/trunk/tools/uml/README.txt?rev=991922&r1=991921&r2=991922&view=diff ============================================================================== --- click/trunk/tools/uml/README.txt (original) +++ click/trunk/tools/uml/README.txt Thu Sep 2 12:59:17 2010 @@ -1,10 +1,8 @@ Apache Click UML Diagrams Project ================================= -This folder contains Apache Click UML diagrams which are drawn with -the help of BOUML (http://bouml.free.fr/). - -You can also see the exported diagrams in the Click Documentation. +This folder contains Apache Click UML diagrams which is drawn with +BOUML (http://bouml.free.fr/). Usage ===== From [email protected] Thu Sep 02 13:00:41 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92149 invoked from network); 2 Sep 2010 13:00:41 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Sep 2010 13:00:41 -0000 Received: (qmail 54389 invoked by uid 500); 2 Sep 2010 13:00:41 -0000 Delivered-To: [email protected] Received: (qmail 54350 invoked by uid 500); 2 Sep 2010 13:00:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.click.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 54332 invoked by uid 99); 2 Sep 2010 13:00:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 13:00:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 13:00:36 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 7037023889FA; Thu, 2 Sep 2010 12:59:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r991922 [1/2] - in /click/trunk/tools/uml: 128002.diagram 129154.diagram 129282 129410.diagram 130562.diagram 131202 131330 131714 131714.diagram 132866.diagram 132994.diagram 133122.diagram 2.session README.txt Date: Thu, 02 Sep 2010 12:59:18 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: sabob Date: Thu Sep 2 12:59:17 2010 New Revision: 991922 URL: http://svn.apache.org/viewvc?rev=991922&view=rev Log: added Ajax and Page Action diagrams Modified: click/trunk/tools/uml/128002.diagram click/trunk/tools/uml/129154.diagram click/trunk/tools/uml/129282 click/trunk/tools/uml/129410.diagram click/trunk/tools/uml/130562.diagram click/trunk/tools/uml/131202 click/trunk/tools/uml/131330 click/trunk/tools/uml/131714 click/trunk/tools/uml/131714.diagram click/trunk/tools/uml/132866.diagram click/trunk/tools/uml/132994.diagram click/trunk/tools/uml/133122.diagram click/trunk/tools/uml/2.session click/trunk/tools/uml/README.txt Modified: click/trunk/tools/uml/128002.diagram URL: http://svn.apache.org/viewvc/click/trunk/tools/uml/128002.diagram?rev=991922&r1=991921&r2=991922&view=diff ============================================================================== --- click/trunk/tools/uml/128002.diagram (original) +++ click/trunk/tools/uml/128002.diagram Thu Sep 2 12:59:17 2010 @@ -1,32 +1,32 @@ -format 66 +format 74 classinstance 128002 class_ref 128002 // ClickServlet - write_horizontally no name "" xyz 89.2321 6 2000 life_line_z 2000 + write_horizontally no name "" xyz 88.8321 7.2 2000 life_line_z 2000 classinstance 128898 class_ref 129538 // Browser - drawing_mode actor name "" xyz 16.8902 5.9 2005 life_line_z 2000 + drawing_mode actor name "" xyz 20.8902 6.5 2005 life_line_z 2000 classinstance 129666 class_ref 129666 // Page - color orange write_horizontally yes name "" mortal xyz 259.4 91.6436 2000 life_line_z 2000 + color orange write_horizontally yes name "" mortal xyz 258.6 92.0436 2000 life_line_z 2000 classinstance 129794 class_ref 129794 // Control - name "" mortal xyz 406.859-54-3939 2000 life_line_z 2000 + drawing_mode class name "" mortal xyz 406.859-54-3939 2000 life_line_z 2000 durationcanvas 129026 classinstance_ref 128898 // :Browser - xyzwh 33 53.4 2010 11 480 + xyzwh 36 53.4 2010 11 480 end durationcanvas 129154 classinstance_ref 128002 // :ClickServlet - xyzwh 119 56.6 2010 11 485 + xyzwh 118 56.6 2010 11 485 overlappingdurationcanvas 135682 - xyzwh 859-54-3939 11 401 + xyzwh 859-54-3939 11 401 overlappingdurationcanvas 135810 - xyzwh 131 345.314.487.3737 + xyzwh 130 344 2030 11 114 end end end durationcanvas 129922 classinstance_ref 129666 // :Page color orange - xyzwh 278 141.4 2010 11 24 + xyzwh 277 141.4 2010 11 24 end durationcanvas 130178 classinstance_ref 129666 // :Page color orange - xyzwh 278 171.4 2010 11 24 + xyzwh 276 171.4 2010 11 24 end durationcanvas 131202 classinstance_ref 129794 // :Control xyzwh 425 201.4 2010 11 24 @@ -36,125 +36,125 @@ durationcanvas 132482 classinstance_ref end durationcanvas 132994 classinstance_ref 129666 // :Page color orange - xyzwh 278 259 2010 11 24 + xyzwh 277 259 2010 11 24 end durationcanvas 133250 classinstance_ref 129666 // :Page color orange - xyzwh 278 291.4 2010 11 24 + xyzwh 276 291.4 2010 11 24 end durationcanvas 133506 classinstance_ref 129794 // :Control xyzwh 425 319 2010 11 24 end durationcanvas 134018 classinstance_ref 129666 // :Page color orange - xyzwh 278 369 2010 11 24 + xyzwh 276 369 2010 11 24 end durationcanvas 134274 classinstance_ref 129666 // :Page color orange - xyzwh 278 401.4 2010 11 24 + xyzwh 277 401.4 2010 11 24 end durationcanvas 134530 classinstance_ref 129794 // :Control xyzwh 425 436.4 2010 11 24 end durationcanvas 135938 classinstance_ref 129794 // :Control - xyzwh 425 470.2 2010 11 24 + xyzwh 425 469 2010 11 24 end durationcanvas 136194 classinstance_ref 129666 // :Page color orange - xyzwh 278 496.4 2010 11 24 + xyzwh 276 496.4 2010 11 24 end msg 129282 synchronous from durationcanvas_ref 129026 to durationcanvas_ref 129154 yz 58 3010 explicitmsg "doGet" - show_full_operations_definition default drawing_language default + show_full_operations_definition default drawing_language default show_context_mode default label_xy 58 48 reflexivemsg 129538 synchronous to durationcanvas_ref 135682 yz 70 3005 explicitmsg "handleRequest" - show_full_operations_definition default drawing_language default + show_full_operations_definition default drawing_language default show_context_mode default label_xy 161 67 msg 130050 synchronous from durationcanvas_ref 135682 to durationcanvas_ref 129922 yz 151 3010 explicitmsg "onSecurityCheck : boolean" - show_full_operations_definition yes drawing_language uml + show_full_operations_definition yes drawing_language uml show_context_mode default label_xy 143 138 msg 130306 synchronous from durationcanvas_ref 135682 to durationcanvas_ref 130178 yz 182 3010 explicitmsg "onInit" - show_full_operations_definition default drawing_language default + show_full_operations_definition default drawing_language default show_context_mode default label_xy 191 172 msg 131330 synchronous from durationcanvas_ref 135682 to durationcanvas_ref 131202 yz 210 3010 explicitmsg "onInit" - show_full_operations_definition yes drawing_language uml + show_full_operations_definition yes drawing_language uml show_context_mode default label_xy 349 197 msg 132610 synchronous from durationcanvas_ref 135682 to durationcanvas_ref 132482 yz 242 3010 explicitmsg "onProcess : boolean" - show_full_operations_definition default drawing_language default + show_full_operations_definition default drawing_language default show_context_mode default label_xy 314 231 msg 133122 synchronous from durationcanvas_ref 135682 to durationcanvas_ref 132994 yz 266 3010 explicitmsg "onPost" - show_full_operations_definition default drawing_language default + show_full_operations_definition default drawing_language default show_context_mode default label_xy 187 255 msg 133378 synchronous from durationcanvas_ref 135682 to durationcanvas_ref 133250 yz 298 3010 explicitmsg "onRender" - show_full_operations_definition default drawing_language default + show_full_operations_definition default drawing_language default show_context_mode default label_xy 181 287 msg 133634 synchronous from durationcanvas_ref 135682 to durationcanvas_ref 133506 yz 328 3010 explicitmsg "onRender" - show_full_operations_definition default drawing_language default + show_full_operations_definition default drawing_language default show_context_mode default label_xy 334 317 reflexivemsg 133890 synchronous to durationcanvas_ref 135810 - yz 345 3005 explicitmsg "renderTemplate" - show_full_operations_definition default drawing_language default + yz 344 3005 explicitmsg "renderTemplate" + show_full_operations_definition default drawing_language default show_context_mode default label_xy 167 343 msg 134146 synchronous from durationcanvas_ref 135810 to durationcanvas_ref 134018 yz 378 3010 explicitmsg "getModel : Map" - show_full_operations_definition default drawing_language default + show_full_operations_definition default drawing_language default show_context_mode default label_xy 166 366 msg 134402 synchronous from durationcanvas_ref 135810 to durationcanvas_ref 134274 yz 412 3010 explicitmsg "getTemplate : String" - show_full_operations_definition default drawing_language default + show_full_operations_definition default drawing_language default show_context_mode default label_xy 152 400 msg 134658 synchronous from durationcanvas_ref 135810 to durationcanvas_ref 134530 yz 445 3010 explicitmsg "toString : String" - show_full_operations_definition default drawing_language default + show_full_operations_definition default drawing_language default show_context_mode default label_xy 318 433 msg 136066 synchronous from durationcanvas_ref 129154 to durationcanvas_ref 135938 yz 478 2015 explicitmsg "onDestroy" - show_full_operations_definition default drawing_language default + show_full_operations_definition default drawing_language default show_context_mode default label_xy 334 467 msg 136322 synchronous from durationcanvas_ref 129154 to durationcanvas_ref 136194 yz 505 2015 explicitmsg "onDestroy" - show_full_operations_definition default drawing_language default + show_full_operations_definition default drawing_language default show_context_mode default label_xy 175 493 msg 136450 return from durationcanvas_ref 129154 to durationcanvas_ref 129026 yz 518 2020 unspecifiedmsg - show_full_operations_definition default drawing_language default + show_full_operations_definition default drawing_language default show_context_mode default preferred_whz 0 0 1.2 end Modified: click/trunk/tools/uml/129154.diagram URL: http://svn.apache.org/viewvc/click/trunk/tools/uml/129154.diagram?rev=991922&r1=991921&r2=991922&view=diff ============================================================================== --- click/trunk/tools/uml/129154.diagram (original) +++ click/trunk/tools/uml/129154.diagram Thu Sep 2 12:59:17 2010 @@ -1,67 +1,44 @@ -format 66 +format 74 classcanvas 128002 class_ref 129666 // Page - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition yes show_members_visibility yes show_members_stereotype default show_members_multiplicity default show_members_initialization yes show_attribute_modifiers default member_max_width 0 show_parameter_dir no show_parameter_name no package_name_in_tab default class_drawing_mode class drawing_language uml show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default - xyz 3 8 2000 + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition yes show_members_visibility yes show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization yes show_attribute_modifiers default member_max_width 0 show_parameter_dir no show_parameter_name no package_name_in_tab default class_drawing_mode class drawing_language uml show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default + xyz 4 4 2000 end classcanvas 128130 class_ref 130946 // Context - draw_all_relations default hide_attributes default hide_operations yes show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default - xyz 292 9 2000 -end -classcanvas 128386 class_ref 132098 // List - draw_all_relations default hide_attributes yes hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default - xyz 254 159 2000 -end -classcanvas 128514 class_ref 132226 // Map - draw_all_relations default hide_attributes yes hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default - xyz 314.487.3737 + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default + xyz 281 4 2000 end classcanvas 128642 class_ref 129794 // Control - draw_all_relations default hide_attributes yes hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir no show_parameter_name no package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default - xyz 426 135 2000 + draw_all_relations default hide_attributes yes hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir no show_parameter_name no package_name_in_tab default class_drawing_mode class drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default + xyz 429 149 2000 end classcanvas 129410 class_ref 132354 // Object - draw_all_relations default hide_attributes yes hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default - xyz 314.487.3737 -end -relationcanvas 128258 relation_ref 128002 // #context - decenter_begin 187 - from ref 128002 z 2001 label "#context" italic xyz 859-54-3939 to ref 128130 - no_role_a no_role_b - multiplicity_a_pos 859-54-3939 multiplicity_b_pos 859-54-3939 -end -relationcanvas 128770 relation_ref 129154 // #controls - decenter_begin 523 - decenter_end 344 - from ref 128002 z 2001 label "#controls" italic xyz 187 161 2001 to ref 128386 - no_role_a no_role_b - multiplicity_a_pos 237 183 3000 multiplicity_b_pos 175 183 3000 + draw_all_relations default hide_attributes yes hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default + xyz 314.487.3737 end -relationcanvas 129026 relation_ref 129282 // #model - decenter_begin 898 - decenter_end 344 - from ref 128002 z 2001 label "#model" italic xyz 191 286 2001 to ref 128514 +relationcanvas 130050 relation_ref 142210 // #controls + decenter_begin 575 + decenter_end 179 + from ref 128002 z 2001 label "#controls" italic xyz 172.5 182 2001 to ref 128642 no_role_a no_role_b - multiplicity_a_pos 314.487.3737 multiplicity_b_pos 175 305 3000 + multiplicity_a_pos 314.487.3737 multiplicity_b_pos 176 210 3000 end -relationcanvas 129154 relation_ref 129410 // <aggregation> - decenter_begin 453 - decenter_end 312 - from ref 128386 z 2001 to ref 128642 +relationcanvas 130690 relation_ref 149506 // <association> + decenter_begin 857 + from ref 128002 z 2001 to ref 128642 no_role_a no_role_b - multiplicity_a_pos 399 218 3000 multiplicity_b_pos 340 191 3000 + multiplicity_a_pos 314.487.3737 multiplicity_b_pos 173 312 3000 end -relationcanvas 129282 relation_ref 129538 // <aggregation> - decenter_begin 163 - decenter_end 559 - from ref 128514 z 2001 to ref 128642 +relationcanvas 131074 relation_ref 149762 // #model + decenter_begin 850 + from ref 128002 z 2001 label "#model" italic xyz 314.487.3737 to ref 129410 no_role_a no_role_b - multiplicity_a_pos 399 275 3000 multiplicity_b_pos 314.487.3737 + multiplicity_a_pos 314.487.3737 multiplicity_b_pos 314.487.3737 end -relationcanvas 129538 relation_ref 129666 // <aggregation> - decenter_begin 818 - from ref 128514 z 2001 to ref 129410 +relationcanvas 131202 relation_ref 149890 // <unidirectional association> + decenter_begin 197 + from ref 128002 z 2001 to ref 128130 no_role_a no_role_b - multiplicity_a_pos 314.487.3737 multiplicity_b_pos 314.487.3737 + no_multiplicity_a no_multiplicity_b end end Modified: click/trunk/tools/uml/129282 URL: http://svn.apache.org/viewvc/click/trunk/tools/uml/129282?rev=991922&r1=991921&r2=991922&view=diff ============================================================================== --- click/trunk/tools/uml/129282 (original) +++ click/trunk/tools/uml/129282 Thu Sep 2 12:59:17 2010 @@ -1,16 +1,16 @@ -format 66 +format 74 "diagrams" // diagrams - revision 9 - modified_by 2 "bob" + revision 26 + modified_by 2 "bschellink" // class settings //class diagram settings - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default //use case diagram settings package_name_in_tab default show_context default auto_label_position default draw_all_relations default class_drawing_mode default shadow default show_stereotype_properties default //sequence diagram settings - show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default show_stereotype_properties default + show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default show_stereotype_properties default show_class_context_mode default show_msg_context_mode default //collaboration diagram settings - show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default draw_all_relations default shadow default show_stereotype_properties default + show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default show_msg_context default draw_all_relations default shadow default show_stereotype_properties default //object diagram settings write_horizontally default package_name_in_tab default show_context default auto_label_position default draw_all_relations default shadow default show_stereotype_properties default //component diagram settings @@ -28,13 +28,13 @@ format 66 classview 129154 "pages" //class diagram settings - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default //collaboration diagram settings - show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default draw_all_relations default shadow default show_stereotype_properties default + show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default show_msg_context default draw_all_relations default shadow default show_stereotype_properties default //object diagram settings write_horizontally default package_name_in_tab default show_context default auto_label_position default draw_all_relations default shadow default show_stereotype_properties default //sequence diagram settings - show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default show_stereotype_properties default + show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default show_stereotype_properties default show_class_context_mode default show_msg_context_mode default //state diagram settings package_name_in_tab default show_context default auto_label_position default write_trans_label_horizontally default show_trans_definition default draw_all_relations default shadow default show_activities default region_horizontally default drawing_language default show_stereotype_properties default @@ -43,12 +43,12 @@ format 66 package_name_in_tab default show_context default show_opaque_action_definition default auto_label_position default write_flow_label_horizontally default draw_all_relations default shadow default show_infonote default drawing_language default show_stereotype_properties default sequencediagram 128002 "post-sequence-diagram" - show_full_operations_definition no write_horizontally no class_drawing_mode default drawing_language uml draw_all_relations default shadow default show_stereotype_properties default + show_full_operations_definition no write_horizontally no class_drawing_mode default drawing_language uml draw_all_relations default shadow default show_stereotype_properties default show_class_context_mode default show_msg_context_mode default overlapping_bars size A4 end classdiagram 129154 "click-class-diagram" - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition yes show_members_visibility yes show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language uml show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations no hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition yes show_members_visibility yes show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language uml show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default size A4 end @@ -60,7 +60,7 @@ format 66 size A4 end - activitynode 128002 initial "HTTP Request" + activitynode 128002 initial_node "HTTP Request" flow 128002 "<flow>" on activityaction_ref 128130 // activity action ClickServlet.handleRequest() end @@ -141,6 +141,10 @@ format 66 flow 136450 "<flow>" on activitynode_ref 130050 // join end + + flow 142978 "<flow>" + on activitynode_ref 130050 // join + end end activitynode 129794 join "" @@ -253,20 +257,30 @@ format 66 end sequencediagram 130562 "get-sequence-diagram" - show_full_operations_definition no write_horizontally no class_drawing_mode default drawing_language uml draw_all_relations default shadow default show_stereotype_properties default + show_full_operations_definition no write_horizontally no class_drawing_mode default drawing_language uml draw_all_relations default shadow default show_stereotype_properties default show_class_context_mode default show_msg_context_mode default + overlapping_bars size A4 + end + + sequencediagram 140930 "page-action-sequence-diagram" + show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default show_stereotype_properties default show_class_context_mode default show_msg_context_mode default overlapping_bars size A4 end + + classdiagram 154242 "page-action-class-diagram" + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default + size A4 + end end classview 130306 "controls" //class diagram settings - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default //collaboration diagram settings - show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default draw_all_relations default shadow default show_stereotype_properties default + show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default show_msg_context default draw_all_relations default shadow default show_stereotype_properties default //object diagram settings write_horizontally default package_name_in_tab default show_context default auto_label_position default draw_all_relations default shadow default show_stereotype_properties default //sequence diagram settings - show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default show_stereotype_properties default + show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default show_stereotype_properties default show_class_context_mode default show_msg_context_mode default //state diagram settings package_name_in_tab default show_context default auto_label_position default write_trans_label_horizontally default show_trans_definition default draw_all_relations default shadow default show_activities default region_horizontally default drawing_language default show_stereotype_properties default @@ -275,35 +289,35 @@ format 66 package_name_in_tab default show_context default show_opaque_action_definition default auto_label_position default write_flow_label_horizontally default draw_all_relations default shadow default show_infonote default drawing_language default show_stereotype_properties default sequencediagram 131714 "control-post-sequence-diagram" - show_full_operations_definition no write_horizontally no class_drawing_mode default drawing_language uml draw_all_relations default shadow default show_stereotype_properties default + show_full_operations_definition no write_horizontally no class_drawing_mode default drawing_language uml draw_all_relations default shadow default show_stereotype_properties default show_class_context_mode default show_msg_context_mode default overlapping_bars size A4 end classdiagram 132866 "container-package-class-diagram" - draw_all_relations no hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations no hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default size A4 end classdiagram 132994 "control-class-diagram" - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default size A4 end classdiagram 133122 "control-package-class-diagram" - draw_all_relations default hide_attributes yes hide_operations yes show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes yes hide_operations yes hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default size A4 end end classview 132994 "services" //class diagram settings - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default //collaboration diagram settings - show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default draw_all_relations default shadow default show_stereotype_properties default + show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default show_msg_context default draw_all_relations default shadow default show_stereotype_properties default //object diagram settings write_horizontally default package_name_in_tab default show_context default auto_label_position default draw_all_relations default shadow default show_stereotype_properties default //sequence diagram settings - show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default show_stereotype_properties default + show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default show_stereotype_properties default show_class_context_mode default show_msg_context_mode default //state diagram settings package_name_in_tab default show_context default auto_label_position default write_trans_label_horizontally default show_trans_definition default draw_all_relations default shadow default show_activities default region_horizontally default drawing_language default show_stereotype_properties default @@ -312,8 +326,40 @@ format 66 package_name_in_tab default show_context default show_opaque_action_definition default auto_label_position default write_flow_label_horizontally default draw_all_relations default shadow default show_infonote default drawing_language default show_stereotype_properties default classdiagram 134274 "service-package" - draw_all_relations default hide_attributes yes hide_operations yes show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes yes hide_operations yes hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default size A4 end end + + classview 139650 "ajax" + //class diagram settings + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default + //collaboration diagram settings + show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default show_msg_context default draw_all_relations default shadow default show_stereotype_properties default + //object diagram settings + write_horizontally default package_name_in_tab default show_context default auto_label_position default draw_all_relations default shadow default show_stereotype_properties default + //sequence diagram settings + show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default show_stereotype_properties default show_class_context_mode default show_msg_context_mode default + //state diagram settings + package_name_in_tab default show_context default auto_label_position default write_trans_label_horizontally default show_trans_definition default draw_all_relations default shadow default + show_activities default region_horizontally default drawing_language default show_stereotype_properties default + //class settings + //activity diagram settings + package_name_in_tab default show_context default show_opaque_action_definition default auto_label_position default write_flow_label_horizontally default draw_all_relations default shadow default + show_infonote default drawing_language default show_stereotype_properties default + classdiagram 147458 "ajax-class-diagram" + draw_all_relations no hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition yes show_members_visibility yes show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language uml show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default + size A4 + end + + sequencediagram 160770 "ajax-request-sequence-diagram" + show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default show_stereotype_properties default show_class_context_mode default show_msg_context_mode default + overlapping_bars size A4 + end + + sequencediagram 147586 "detailed-ajax-request-sequence-diagram" + show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default show_stereotype_properties default show_class_context_mode default show_msg_context_mode default + overlapping_bars size A4 + end + end end Modified: click/trunk/tools/uml/129410.diagram URL: http://svn.apache.org/viewvc/click/trunk/tools/uml/129410.diagram?rev=991922&r1=991921&r2=991922&view=diff ============================================================================== --- click/trunk/tools/uml/129410.diagram (original) +++ click/trunk/tools/uml/129410.diagram Thu Sep 2 12:59:17 2010 @@ -1,20 +1,20 @@ -format 66 +format 74 -activitynodecanvas 128002 activitynode_ref 128002 // initial - xyz 199 5.3 2000 +activitynodecanvas 128002 activitynode_ref 128002 // initial_node + xyz 199.2 4.1 2000 end textcanvas 129538 "HTTP Request" - font bold xyzwh 220 7 2000 118 18 + font bold xyzwh 219.6 4.6 2000 118 18 activityactioncanvas 129922 activityaction_ref 128130 // activity action ClickServlet.handleRequest() show_infonote default drawing_language default show_stereotype_properties default show_opaque_action_definition default - xyzwh 128 46.3 2007 159 41 + xyzwh 129 46.3 2007 159 41 end activitynodecanvas 130306 activitynode_ref 129154 // activity_final - xyz 185.5 862.8 2000 + xyz 314.487.3737 end textcanvas 130434 "HTTP Response" - font bold xyzwh 216 867 2000 111 17 + font bold xyzwh 216.2 867 2000 111 17 activityactioncanvas 130562 activityaction_ref 129282 // activity action new Page show_infonote default drawing_language default show_stereotype_properties default show_opaque_action_definition default @@ -26,15 +26,15 @@ end activityactioncanvas 132482 activityaction_ref 129410 // activity action Page.onInit() show_infonote default drawing_language default show_stereotype_properties default show_opaque_action_definition default - xyzwh 161.9 172.5 2000 95 41 + xyzwh 164.3 172.5 2000 95 41 end textcanvas 133634 "Page.onSecurityCheck()" - font bold xyzwh 26 155 2006 146 15 + font bold xyzwh 25.6 155.4 2006 146 15 activitynodecanvas 133762 activitynode_ref 129410 // decision - xyz 314.487.3737 + xyz 198 233.8 2000 end textcanvas 133890 "Is Forward ?" - font bold xyzwh 219 227 2000 80 17 + font bold xyzwh 218.6 227 2000 80 17 activityactioncanvas 134146 activityaction_ref 129538 // activity action process Controls show_infonote default drawing_language default show_stereotype_properties default show_opaque_action_definition default @@ -45,7 +45,7 @@ activitynodecanvas 134658 activitynode_r end textcanvas 134914 "Continue processing ?" - font bold xyzwh 401 349 2000 75 36 + font bold xyzwh 401.6 345.6 2000 75 36 activitynodecanvas 135042 activitynode_ref 129794 // join horizontal xyzwh 200.2 384.2 2000 65 15 end @@ -58,11 +58,11 @@ activityactioncanvas 136194 activityacti xyzwh 271.1 462.2 2000 101 41 end textcanvas 136322 "Is Post ?" - font bold xyzwh 169 410 2000 60 18 + font bold xyzwh 168.6 409.6 2000 60 18 activityactioncanvas 136962 activityaction_ref 129794 // activity action Page.onPost() show_infonote default drawing_language default show_stereotype_properties default show_opaque_action_definition default - xyzwh 89.6 461.3 2000 99 41 + xyzwh 90.8 461.3 2000 99 41 end activityactioncanvas 137346 activityaction_ref 129922 // activity action Page.onRender() show_infonote default drawing_language default show_stereotype_properties default @@ -70,18 +70,18 @@ activityactioncanvas 137346 activityacti xyzwh 146.9 519.3 2000 159 41 end activitynodecanvas 138882 activitynode_ref 130050 // join - horizontal xyzwh 4.8 577.2 2000 402 15 + horizontal xyzwh 4.8 577.2 2000 403 15 end activitynodecanvas 142210 activitynode_ref 131202 // decision xyz 138.1 613.4 2005 end textcanvas 142466 "Do Redirect ?" - font bold xyzwh 162 604 2000 93 16 + font bold xyzwh 162.6 603 2000 93 16 activitynodecanvas 142594 activitynode_ref 131330 // decision - xyz 255.5 658.5 2000 + xyz 255.5 659.9 2000 end textcanvas 142722 "Do Forward ?" - font bold xyzwh 276 650 2005 88 16 + font bold xyzwh 274.6 648 2005 88 16 activityactioncanvas 143490 activityaction_ref 131074 // activity action redirect request show_infonote default drawing_language default show_stereotype_properties default show_opaque_action_definition default @@ -98,19 +98,19 @@ activityactioncanvas 144130 activityacti xyzwh 289.6 708.1 2000 137 41 end activitynodecanvas 145026 activitynode_ref 131458 // join - horizontal xyzwh 3.2 767.4 2000 396 15 + horizontal xyzwh 2.2 767.4 2000 397 15 end activityactioncanvas 145538 activityaction_ref 131458 // activity action Page.onDestroy() show_infonote default drawing_language default show_stereotype_properties default show_opaque_action_definition default - xyzwh 138.6 801.2 2005 119 41 + xyzwh 138.6 802.4 2005 119 41 end textcanvas 146690 "Servlet Container" - font bold xyzwh 17 6 2000 125 25 + font bold xyzwh 17.8 6.6 2000 125 25 activityactioncanvas 147714 activityaction_ref 132610 // activity action dispatch Control event listeners show_infonote default drawing_language default show_stereotype_properties default show_opaque_action_definition default - xyzwh 301 289 2005 171 40 + xyzwh 301 289 2005 171 41 end flowcanvas 130178 flow_ref 128002 // <flow> @@ -120,7 +120,7 @@ end flowcanvas 130946 flow_ref 129282 // <flow> geometry VHr - from ref 130562 z 2001 to point 12 125 + from ref 130562 z 2001 to point 11 125 line 131202 z 2001 to ref 130818 show_infonote default drawing_language default show_stereotype_properties default write_horizontally default end @@ -132,7 +132,7 @@ end flowcanvas 132610 flow_ref 129538 // true decenter_end 449 - from ref 130818 z 2001 label "true" xyz 74 198 2001 to ref 132482 + from ref 130818 z 2001 label "true" xyz 76 197 2001 to ref 132482 show_infonote default drawing_language default show_stereotype_properties default write_horizontally default end flowcanvas 134018 flow_ref 129666 // <flow> @@ -147,15 +147,15 @@ flowcanvas 134274 flow_ref 129794 // no end flowcanvas 135170 flow_ref 130178 // yes decenter_begin 518 - decenter_end 151 + decenter_end 177 - from ref 133762 z 2001 label "yes" xyz 314.487.3737 to ref 135042 + from ref 133762 z 2001 label "yes" xyz 314.487.3737 to ref 135042 show_infonote default drawing_language default show_stereotype_properties default write_horizontally default end flowcanvas 135298 flow_ref 130306 // yes decenter_end 851 - from ref 134658 z 2001 label "yes" xyz 314.487.3737 to point 253 361 + from ref 134658 z 2001 label "yes" xyz 314.487.3737 to point 254.2 361.6 line 135810 z 2001 to ref 135042 show_infonote default drawing_language default show_stereotype_properties default write_horizontally default end @@ -167,20 +167,20 @@ end flowcanvas 136450 flow_ref 130562 // no geometry HV - from ref 135938 z 2001 label "no" xyz 314.487.3737 to point 319 432 + from ref 135938 z 2001 label "no" xyz 314.487.3737 to point 319 431 line 136834 z 2001 to ref 136194 show_infonote default drawing_language default show_stereotype_properties default write_horizontally default end flowcanvas 137090 flow_ref 130690 // yes geometry VHr - from ref 135938 z 2001 label "yes" xyz 187 437 2001 to point 136 432 + from ref 135938 z 2001 label "yes" xyz 185 437 2001 to point 136 431 line 137218 z 2001 to ref 136962 show_infonote default drawing_language default show_stereotype_properties default write_horizontally default end flowcanvas 138498 flow_ref 130946 // <flow> decenter_begin 847 - decenter_end 165 + decenter_end 172 from ref 136962 z 2001 to ref 137346 show_infonote default drawing_language default show_stereotype_properties default write_horizontally default @@ -194,9 +194,9 @@ flowcanvas 138754 flow_ref 131074 // <fl end flowcanvas 139010 flow_ref 131202 // false decenter_begin 518 - decenter_end 28 + decenter_end 26 - from ref 130818 z 2001 label "false" xyz 19 227 2001 to ref 138882 + from ref 130818 z 2001 label "false" xyz 18 227 2001 to ref 138882 show_infonote default drawing_language default show_stereotype_properties default write_horizontally default end flowcanvas 142338 flow_ref 132610 // <flow> @@ -208,21 +208,21 @@ end flowcanvas 142850 flow_ref 132738 // no geometry HV - from ref 142210 z 2006 label "no" xyz 314.487.3737 to point 265 629 + from ref 142210 z 2006 label "no" xyz 238 635 2006 to point 265 629 line 143362 z 2006 to ref 142594 show_infonote default drawing_language default show_stereotype_properties default write_horizontally default end flowcanvas 143618 flow_ref 132866 // yes geometry VHr - from ref 142210 z 2006 label "yes" xyz 75 636 2006 to point 62 629 + from ref 142210 z 2006 label "yes" xyz 75 636 2006 to point 61 629 line 143874 z 2006 to ref 143490 show_infonote default drawing_language default show_stereotype_properties default write_horizontally default end flowcanvas 144258 flow_ref 132994 // no geometry HV - from ref 142594 z 2001 label "no" xyz 314.487.3737 to point 355 674 + from ref 142594 z 2001 label "no" xyz 338 682 2001 to point 355 674 line 144642 z 2001 to ref 144130 show_infonote default drawing_language default show_stereotype_properties default write_horizontally default end @@ -235,7 +235,7 @@ flowcanvas 144770 flow_ref 133122 // yes end flowcanvas 145410 flow_ref 133378 // <flow> decenter_begin 513 - decenter_end 451 + decenter_end 453 from ref 144002 z 2001 to ref 145026 show_infonote default drawing_language default show_stereotype_properties default write_horizontally default @@ -253,14 +253,14 @@ flowcanvas 145794 flow_ref 133634 // <fl end flowcanvas 145922 flow_ref 133762 // <flow> decenter_begin 500 - decenter_end 156 + decenter_end 158 from ref 143490 z 2001 to ref 145026 show_infonote default drawing_language default show_stereotype_properties default write_horizontally default end flowcanvas 146050 flow_ref 133890 // <flow> - decenter_begin 513 - decenter_end 901 + decenter_begin 490 + decenter_end 888 from ref 144130 z 2001 to ref 145026 show_infonote default drawing_language default show_stereotype_properties default write_horizontally default @@ -283,9 +283,9 @@ flowcanvas 148098 flow_ref 136322 // <fl show_infonote default drawing_language default show_stereotype_properties default write_horizontally default end flowcanvas 148354 flow_ref 136450 // <flow> - decenter_end 953 + decenter_end 952 - from ref 134658 z 2007 to point 385 388 + from ref 134658 z 2007 to point 385.4 388 line 148482 z 2007 to ref 138882 show_infonote default drawing_language default show_stereotype_properties default write_horizontally default end Modified: click/trunk/tools/uml/130562.diagram URL: http://svn.apache.org/viewvc/click/trunk/tools/uml/130562.diagram?rev=991922&r1=991921&r2=991922&view=diff ============================================================================== --- click/trunk/tools/uml/130562.diagram (original) +++ click/trunk/tools/uml/130562.diagram Thu Sep 2 12:59:17 2010 @@ -1,160 +1,160 @@ -format 66 +format 74 classinstance 128002 class_ref 128002 // ClickServlet - write_horizontally no name "" xyz 89.8321 4.6 2000 life_line_z 2000 + write_horizontally no name "" xyz 89.0321 5.6 2000 life_line_z 2000 classinstance 128898 class_ref 129538 // Browser - drawing_mode actor name "" xyz 16.6902 5.7 2005 life_line_z 2000 + drawing_mode actor name "" xyz 19.2902 6.5 2005 life_line_z 2000 classinstance 129666 class_ref 129666 // Page - color orange write_horizontally yes name "" mortal xyz 259.4 95.6436 2000 life_line_z 2000 + color orange write_horizontally yes name "" mortal xyz 264.8 92.2 2000 life_line_z 2000 classinstance 129794 class_ref 129794 // Control - name "" mortal xyz 406.859-54-3939 2000 life_line_z 2000 + drawing_mode class name "" mortal xyz 407.859-54-3939 2000 life_line_z 2000 durationcanvas 129026 classinstance_ref 128898 // :Browser - xyzwh 34 53.6 2010 11 480 + xyzwh 38 53.4 2010 11 480 end durationcanvas 129154 classinstance_ref 128002 // :ClickServlet - xyzwh 120 55.4 2010 11 485 + xyzwh 119 53.4 2010 11 480 overlappingdurationcanvas 135682 - xyzwh 859-54-3939 11 401 + xyzwh 859-54-3939 11 401 overlappingdurationcanvas 135810 - xyzwh 132 345.314.487.3737 + xyzwh 131 345.314.487.3737 end end end durationcanvas 129922 classinstance_ref 129666 // :Page color orange - xyzwh 278 141.6 2010 11 24 + xyzwh 282 141.4 2010 11 24 end durationcanvas 130178 classinstance_ref 129666 // :Page color orange - xyzwh 278 171.6 2010 11 24 + xyzwh 283 171.4 2010 11 24 end durationcanvas 131202 classinstance_ref 129794 // :Control - xyzwh 424 201.6 2010 11 24 + xyzwh 426 201.4 2010 11 24 end durationcanvas 132482 classinstance_ref 129794 // :Control - xyzwh 425 230.2 2010 11 24 + xyzwh 426 230.2 2010 11 24 end durationcanvas 132994 classinstance_ref 129666 // :Page color orange - xyzwh 278 259 2010 11 24 + xyzwh 282 259 2010 11 24 end durationcanvas 133250 classinstance_ref 129666 // :Page color orange - xyzwh 278 290.2 2010 11 24 + xyzwh 283 290.2 2010 11 24 end durationcanvas 133506 classinstance_ref 129794 // :Control xyzwh 425 319 2010 11 24 end durationcanvas 134018 classinstance_ref 129666 // :Page color orange - xyzwh 278 369 2010 11 24 + xyzwh 283 369 2010 11 24 end durationcanvas 134274 classinstance_ref 129666 // :Page color orange - xyzwh 278 401.6 2010 11 24 + xyzwh 283 401.4 2010 11 24 end durationcanvas 134530 classinstance_ref 129794 // :Control - xyzwh 425 434 2010 11 24 + xyzwh 426 434 2010 11 24 end durationcanvas 135938 classinstance_ref 129794 // :Control - xyzwh 425 470.2 2010 11 24 + xyzwh 426 470.2 2010 11 24 end durationcanvas 136194 classinstance_ref 129666 // :Page color orange - xyzwh 278 494 2010 11 24 + xyzwh 283 494 2010 11 24 end msg 129282 synchronous from durationcanvas_ref 129026 to durationcanvas_ref 129154 - yz 58 3010 explicitmsg "doGet" - show_full_operations_definition default drawing_language default - label_xy 58 48 + yz 57 3010 explicitmsg "doGet" + show_full_operations_definition default drawing_language default show_context_mode default + label_xy 58 47 reflexivemsg 129538 synchronous to durationcanvas_ref 135682 - yz 70 3005 explicitmsg "handleRequest" - show_full_operations_definition default drawing_language default + yz 69 3005 explicitmsg "handleRequest" + show_full_operations_definition default drawing_language default show_context_mode default label_xy 161 67 msg 130050 synchronous from durationcanvas_ref 135682 to durationcanvas_ref 129922 - yz 151 3010 explicitmsg "onSecurityCheck : boolean" - show_full_operations_definition yes drawing_language uml - label_xy 143 138 + yz 147 3010 explicitmsg "onSecurityCheck : boolean" + show_full_operations_definition yes drawing_language uml show_context_mode default + label_xy 143 134 msg 130306 synchronous from durationcanvas_ref 135682 to durationcanvas_ref 130178 - yz 182 3010 explicitmsg "onInit" - show_full_operations_definition default drawing_language default - label_xy 191 172 + yz 176 3010 explicitmsg "onInit" + show_full_operations_definition default drawing_language default show_context_mode default + label_xy 191 167 msg 131330 synchronous from durationcanvas_ref 135682 to durationcanvas_ref 131202 - yz 210 3010 explicitmsg "onInit" - show_full_operations_definition yes drawing_language uml - label_xy 349 197 + yz 206 3010 explicitmsg "onInit" + show_full_operations_definition yes drawing_language uml show_context_mode default + label_xy 349 193 msg 132610 synchronous from durationcanvas_ref 135682 to durationcanvas_ref 132482 - yz 242 3010 explicitmsg "onProcess : boolean" - show_full_operations_definition default drawing_language default - label_xy 314 231 + yz 235 3010 explicitmsg "onProcess : boolean" + show_full_operations_definition default drawing_language default show_context_mode default + label_xy 314 224 msg 133122 synchronous from durationcanvas_ref 135682 to durationcanvas_ref 132994 - yz 266 3010 explicitmsg "onGet" - show_full_operations_definition default drawing_language default - label_xy 189 255 + yz 265 3010 explicitmsg "onGet" + show_full_operations_definition default drawing_language default show_context_mode default + label_xy 189 254 msg 133378 synchronous from durationcanvas_ref 135682 to durationcanvas_ref 133250 - yz 299 3010 explicitmsg "onRender" - show_full_operations_definition default drawing_language default - label_xy 181 288 + yz 296 3010 explicitmsg "onRender" + show_full_operations_definition default drawing_language default show_context_mode default + label_xy 181 285 msg 133634 synchronous from durationcanvas_ref 135682 to durationcanvas_ref 133506 - yz 328 3010 explicitmsg "onRender" - show_full_operations_definition default drawing_language default - label_xy 334 317 + yz 325 3010 explicitmsg "onRender" + show_full_operations_definition default drawing_language default show_context_mode default + label_xy 334 314 reflexivemsg 133890 synchronous to durationcanvas_ref 135810 - yz 345 3005 explicitmsg "renderTemplate" - show_full_operations_definition default drawing_language default - label_xy 167 341 + yz 343 3005 explicitmsg "renderTemplate" + show_full_operations_definition default drawing_language default show_context_mode default + label_xy 167 337 msg 134146 synchronous from durationcanvas_ref 135810 to durationcanvas_ref 134018 - yz 378 3010 explicitmsg "getModel : Map" - show_full_operations_definition default drawing_language default - label_xy 166 366 + yz 375 3010 explicitmsg "getModel : Map" + show_full_operations_definition default drawing_language default show_context_mode default + label_xy 166 362 msg 134402 synchronous from durationcanvas_ref 135810 to durationcanvas_ref 134274 - yz 412 3010 explicitmsg "getTemplate : String" - show_full_operations_definition default drawing_language default - label_xy 152 400 + yz 407 3010 explicitmsg "getTemplate : String" + show_full_operations_definition default drawing_language default show_context_mode default + label_xy 152 395 msg 134658 synchronous from durationcanvas_ref 135810 to durationcanvas_ref 134530 - yz 445 3010 explicitmsg "toString : String" - show_full_operations_definition default drawing_language default - label_xy 318 433 + yz 440 3010 explicitmsg "toString : String" + show_full_operations_definition default drawing_language default show_context_mode default + label_xy 318 428 msg 136066 synchronous from durationcanvas_ref 129154 to durationcanvas_ref 135938 - yz 478 2015 explicitmsg "onDestroy" - show_full_operations_definition default drawing_language default - label_xy 334 467 + yz 475 2015 explicitmsg "onDestroy" + show_full_operations_definition default drawing_language default show_context_mode default + label_xy 334 464 msg 136322 synchronous from durationcanvas_ref 129154 to durationcanvas_ref 136194 - yz 505 2015 explicitmsg "onDestroy" - show_full_operations_definition default drawing_language default - label_xy 175 493 + yz 499 2015 explicitmsg "onDestroy" + show_full_operations_definition default drawing_language default show_context_mode default + label_xy 175 488 msg 136450 return from durationcanvas_ref 129154 to durationcanvas_ref 129026 - yz 518 2020 unspecifiedmsg - show_full_operations_definition default drawing_language default + yz 517 2020 unspecifiedmsg + show_full_operations_definition default drawing_language default show_context_mode default preferred_whz 0 0 1.2 end Modified: click/trunk/tools/uml/131202 URL: http://svn.apache.org/viewvc/click/trunk/tools/uml/131202?rev=991922&r1=991921&r2=991922&view=diff ============================================================================== --- click/trunk/tools/uml/131202 (original) +++ click/trunk/tools/uml/131202 Thu Sep 2 12:59:17 2010 @@ -1,16 +1,16 @@ -format 66 +format 74 "util" // javacf:4db6:5e0b:f386:43a5:35d7:718d:3c8butil - revision 1 - modified_by 2 "bob" + revision 3 + modified_by 2 "bschellink" // class settings //class diagram settings - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default //use case diagram settings package_name_in_tab default show_context default auto_label_position default draw_all_relations default class_drawing_mode default shadow default show_stereotype_properties default //sequence diagram settings - show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default show_stereotype_properties default + show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default show_stereotype_properties default show_class_context_mode default show_msg_context_mode default //collaboration diagram settings - show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default draw_all_relations default shadow default show_stereotype_properties default + show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default show_msg_context default draw_all_relations default shadow default show_stereotype_properties default //object diagram settings write_horizontally default package_name_in_tab default show_context default auto_label_position default draw_all_relations default shadow default show_stereotype_properties default //component diagram settings @@ -28,13 +28,13 @@ format 66 classview 131714 "classes" //class diagram settings - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default //collaboration diagram settings - show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default draw_all_relations default shadow default show_stereotype_properties default + show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default show_msg_context default draw_all_relations default shadow default show_stereotype_properties default //object diagram settings write_horizontally default package_name_in_tab default show_context default auto_label_position default draw_all_relations default shadow default show_stereotype_properties default //sequence diagram settings - show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default show_stereotype_properties default + show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default show_stereotype_properties default show_class_context_mode default show_msg_context_mode default //state diagram settings package_name_in_tab default show_context default auto_label_position default write_trans_label_horizontally default show_trans_definition default draw_all_relations default shadow default show_activities default region_horizontally default drawing_language default show_stereotype_properties default @@ -64,7 +64,6 @@ ${members}} b role_name "" multiplicity "1" private classrelation_ref 129922 // <aggregation> end - end class 132226 "Map" @@ -82,10 +81,6 @@ ${members}}; " explicit_switch_type "" - classrelation 129666 // (#model) - relation_ref 129282 // #model - end - classrelation 130050 // <aggregation> relation 129538 o--- a role_name "" multiplicity "0..*" private @@ -102,6 +97,13 @@ ${members}}; classrelation_ref 130434 // <aggregation> end + classrelation 142978 // <aggregation> + relation 141954 o--- + a role_name "" multiplicity "0..*" private + classrelation_ref 142978 // <aggregation> + b role_name "" multiplicity "1" private + classrelation_ref 143106 // <aggregation> + end end end end Modified: click/trunk/tools/uml/131330 URL: http://svn.apache.org/viewvc/click/trunk/tools/uml/131330?rev=991922&r1=991921&r2=991922&view=diff ============================================================================== --- click/trunk/tools/uml/131330 (original) +++ click/trunk/tools/uml/131330 Thu Sep 2 12:59:17 2010 @@ -1,16 +1,16 @@ -format 66 +format 74 "lang" // javacf:4db6:5e0b:f386:43a5:35d7:718d:3c8blang - revision 1 - modified_by 2 "bob" + revision 3 + modified_by 2 "bschellink" // class settings //class diagram settings - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default //use case diagram settings package_name_in_tab default show_context default auto_label_position default draw_all_relations default class_drawing_mode default shadow default show_stereotype_properties default //sequence diagram settings - show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default show_stereotype_properties default + show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default show_stereotype_properties default show_class_context_mode default show_msg_context_mode default //collaboration diagram settings - show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default draw_all_relations default shadow default show_stereotype_properties default + show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default show_msg_context default draw_all_relations default shadow default show_stereotype_properties default //object diagram settings write_horizontally default package_name_in_tab default show_context default auto_label_position default draw_all_relations default shadow default show_stereotype_properties default //component diagram settings @@ -28,13 +28,13 @@ format 66 classview 131842 "classes" //class diagram settings - draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default + draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default //collaboration diagram settings - show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default draw_all_relations default shadow default show_stereotype_properties default + show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default show_msg_context default draw_all_relations default shadow default show_stereotype_properties default //object diagram settings write_horizontally default package_name_in_tab default show_context default auto_label_position default draw_all_relations default shadow default show_stereotype_properties default //sequence diagram settings - show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default show_stereotype_properties default + show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default show_stereotype_properties default show_class_context_mode default show_msg_context_mode default //state diagram settings package_name_in_tab default show_context default auto_label_position default write_trans_label_horizontally default show_trans_definition default draw_all_relations default shadow default show_activities default region_horizontally default drawing_language default show_stereotype_properties default @@ -64,6 +64,10 @@ format 66 classrelation 130434 // <aggregation> relation_ref 129666 // <aggregation> end + + classrelation 152066 // (#model) + relation_ref 149762 // #model + end end end end From [email protected] Fri Sep 03 22:45:06 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87236 invoked from network); 3 Sep 2010 22:45:06 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 3 Sep 2010 22:45:06 -0000 Received: (qmail 61827 invoked by uid 500); 3 Sep 2010 22:45:06 -0000 Delivered-To: [email protected] Received: (qmail 61812 invoked by uid 500); 3 Sep 2010 22:45:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.click.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 61804 invoked by uid 99); 3 Sep 2010 22:45:06 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Sep 2010 22:45:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Sep 2010 22:44:49 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E46D223889EA; Fri, 3 Sep 2010 22:44:27 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r992499 - /click/trunk/click/documentation/xdocs/src/docbook/click/chapter-ajax.xml Date: Fri, 03 Sep 2010 22:44:27 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: sabob Date: Fri Sep 3 22:44:27 2010 New Revision: 992499 URL: http://svn.apache.org/viewvc?rev=992499&view=rev Log: docs: fixed link Modified: click/trunk/click/documentation/xdocs/src/docbook/click/chapter-ajax.xml Modified: click/trunk/click/documentation/xdocs/src/docbook/click/chapter-ajax.xml URL: http://svn.apache.org/viewvc/click/trunk/click/documentation/xdocs/src/docbook/click/chapter-ajax.xml?rev=992499&r1=992498&r2=992499&view=diff ============================================================================== --- click/trunk/click/documentation/xdocs/src/docbook/click/chapter-ajax.xml (original) +++ click/trunk/click/documentation/xdocs/src/docbook/click/chapter-ajax.xml Fri Sep 3 22:44:27 2010 @@ -262,7 +262,7 @@ and return a result without reloading th </listitem> <listitem> <para> - <ulink url="../../click-api/org/apache/click/ActionResult.html#setModel(java.util.Map)">setModel(Map)</ulink> + <ulink url="../../click-api/org/apache/click/ActionResult.html#setContentType(java.lang.String)">setContentType(String)</ulink> - set the ActionResult content type, for example: <literal>text/html</literal>, <literal>text/xml</literal>, <literal>application/json</literal> etc. </para> From [email protected] Sat Sep 04 10:46:11 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28135 invoked from network); 4 Sep 2010 10:46:11 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 4 Sep 2010 10:46:11 -0000 Received: (qmail 6229 invoked by uid 500); 4 Sep 2010 10:46:11 -0000 Delivered-To: [email protected] Received: (qmail 6214 invoked by uid 500); 4 Sep 2010 10:46:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.click.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6204 invoked by uid 99); 4 Sep 2010 10:46:08 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Sep 2010 10:46:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Sep 2010 10:45:50 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 6CB4323889E7; Sat, 4 Sep 2010 10:45:29 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r992577 - /click/trunk/click/framework/src/META-INF/resources/click/control.js Date: Sat, 04 Sep 2010 10:45:29 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: sabob Date: Sat Sep 4 10:45:29 2010 New Revision: 992577 URL: http://svn.apache.org/viewvc?rev=992577&view=rev Log: first argument is form instance, not form name. Modified: click/trunk/click/framework/src/META-INF/resources/click/control.js Modified: click/trunk/click/framework/src/META-INF/resources/click/control.js URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/META-INF/resources/click/control.js?rev=992577&r1=992576&r2=992577&view=diff ============================================================================== --- click/trunk/click/framework/src/META-INF/resources/click/control.js (original) +++ click/trunk/click/framework/src/META-INF/resources/click/control.js Sat Sep 4 10:45:29 2010 @@ -393,7 +393,7 @@ function validateForm(msgs, id, align, s */ Click.submit=function(form, validate) { if (typeof form == 'undefined') { - alert('Error: form is undefined. Usage: Click.submit(formName)'); + alert('Error: form is undefined. Usage: Click.submit(form)'); return false; } From [email protected] Sat Sep 04 23:56:02 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91033 invoked from network); 4 Sep 2010 23:56:02 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 4 Sep 2010 23:56:02 -0000 Received: (qmail 12402 invoked by uid 500); 4 Sep 2010 23:56:02 -0000 Delivered-To: [email protected] Received: (qmail 12387 invoked by uid 500); 4 Sep 2010 23:56:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.click.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 12379 invoked by uid 99); 4 Sep 2010 23:56:01 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Sep 2010 23:56:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Sep 2010 23:55:44 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B46FC2388A6E; Sat, 4 Sep 2010 23:55:23 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r992702 - /click/trunk/click/documentation/xdocs/src/docbook/click/chapter-pages.xml Date: Sat, 04 Sep 2010 23:55:23 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: sabob Date: Sat Sep 4 23:55:23 2010 New Revision: 992702 URL: http://svn.apache.org/viewvc?rev=992702&view=rev Log: fixed href url Modified: click/trunk/click/documentation/xdocs/src/docbook/click/chapter-pages.xml Modified: click/trunk/click/documentation/xdocs/src/docbook/click/chapter-pages.xml URL: http://svn.apache.org/viewvc/click/trunk/click/documentation/xdocs/src/docbook/click/chapter-pages.xml?rev=992702&r1=992701&r2=992702&view=diff ============================================================================== --- click/trunk/click/documentation/xdocs/src/docbook/click/chapter-pages.xml (original) +++ click/trunk/click/documentation/xdocs/src/docbook/click/chapter-pages.xml Sat Sep 4 23:55:23 2010 @@ -971,7 +971,7 @@ public void onPost() { from the browser. The Page Action method returns an <ulink url="../../click-api/org/apache/click/ActionResult.html">ActionResult</ulink> object that is rendered directly to the browser. In other words the Page template will - not be rendered. More on this later. + not be rendered. </para> <para>To invoke a Page Action, specify the parameter <varname>"pageAction"</varname> @@ -987,7 +987,7 @@ public void onPost() { <para>First we create our template: </para> - <programlisting language="xml">&lt;img src="/mycorp/images.htm?<varname>pageAction</varname>=<symbol>onRenderImage</symbol>"/&gt; + <programlisting language="xml">&lt;img src="$context/mycorp/image.htm?<varname>pageAction</varname>=<symbol>onRenderImage</symbol>"/&gt; </programlisting> <para>Next we create our ImagePage with a Page Action method called From [email protected] Sun Sep 12 01:28:42 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42547 invoked from network); 12 Sep 2010 01:28:42 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 12 Sep 2010 01:28:42 -0000 Received: (qmail 59565 invoked by uid 500); 12 Sep 2010 01:28:42 -0000 Delivered-To: [email protected] Received: (qmail 59550 invoked by uid 500); 12 Sep 2010 01:28:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.click.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 59542 invoked by uid 99); 12 Sep 2010 01:28:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Sep 2010 01:28:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Sep 2010 01:28:38 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 7018223889E2; Sun, 12 Sep 2010 01:28:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r996232 - in /click/trunk/click/examples: src/org/apache/click/examples/page/ajax/ webapp/WEB-INF/ webapp/ajax/ Date: Sun, 12 Sep 2010 01:28:16 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: sabob Date: Sun Sep 12 01:28:15 2010 New Revision: 996232 URL: http://svn.apache.org/viewvc?rev=996232&view=rev Log: added Ajax demos showing how to redirect and implement an onSecurityCheck implementation Added: click/trunk/click/examples/src/org/apache/click/examples/page/ajax/AjaxRedirectPage.java click/trunk/click/examples/src/org/apache/click/examples/page/ajax/AjaxSecurePage.java click/trunk/click/examples/webapp/ajax/ajax-redirect.htm click/trunk/click/examples/webapp/ajax/ajax-secure.htm Modified: click/trunk/click/examples/webapp/WEB-INF/menu.xml Added: click/trunk/click/examples/src/org/apache/click/examples/page/ajax/AjaxRedirectPage.java URL: http://svn.apache.org/viewvc/click/trunk/click/examples/src/org/apache/click/examples/page/ajax/AjaxRedirectPage.java?rev=996232&view=auto ============================================================================== --- click/trunk/click/examples/src/org/apache/click/examples/page/ajax/AjaxRedirectPage.java (added) +++ click/trunk/click/examples/src/org/apache/click/examples/page/ajax/AjaxRedirectPage.java Sun Sep 12 01:28:15 2010 @@ -0,0 +1,64 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.click.examples.page.ajax; + +import java.util.Date; +import org.apache.click.ActionResult; +import org.apache.click.Context; +import org.apache.click.Control; +import org.apache.click.ajax.AjaxBehavior; +import org.apache.click.control.ActionLink; +import org.apache.click.examples.page.BorderPage; + +/** + * Provides an <tt>onSecurityCheck</tt> example secure Page for handling Ajax + * requests. Two links are presented to the user. Clicking on the first link will + * redirect the user to this page and show an error message. Clicking on the + * second link will show an error message without redirecting to another page. + */ +public class AjaxRedirectPage extends BorderPage { + + private static final long serialVersionUID = 1L; + private ActionLink redirectLink = new ActionLink("redirectLink"); + + @Override + public void onInit() { + super.onInit(); + redirectLink.setId("redirectLinkId"); + addControl(redirectLink); + + redirectLink.addBehavior(new AjaxBehavior() { + + @Override + public ActionResult onAction(Control source) { + Context context = getContext(); + context.setFlashAttribute("flash", "Redirected at " + new Date()); + + String redirectUrl = context.getPagePath(AjaxRedirectPage.class); + String contextPath = context.getRequest().getContextPath(); + redirectUrl = contextPath + redirectUrl; + + context.getResponse().setHeader("REDIRECT_URL",redirectUrl); + + // We are redirecting so no response is returned + return null; + } + }); + } +} Added: click/trunk/click/examples/src/org/apache/click/examples/page/ajax/AjaxSecurePage.java URL: http://svn.apache.org/viewvc/click/trunk/click/examples/src/org/apache/click/examples/page/ajax/AjaxSecurePage.java?rev=996232&view=auto ============================================================================== --- click/trunk/click/examples/src/org/apache/click/examples/page/ajax/AjaxSecurePage.java (added) +++ click/trunk/click/examples/src/org/apache/click/examples/page/ajax/AjaxSecurePage.java Sun Sep 12 01:28:15 2010 @@ -0,0 +1,85 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.click.examples.page.ajax; + +import org.apache.click.ActionResult; +import org.apache.click.Context; +import org.apache.click.Page; +import org.apache.click.control.ActionLink; +import org.apache.click.examples.page.BorderPage; +import org.apache.click.util.ClickUtils; + +/** + * Provides an <tt>onSecurityCheck</tt> example secure Page for handling Ajax + * requests. Two links are presented to the user. Clicking on the first link will + * redirect the user to this page and show an error message. Clicking on the + * second link will show an error message without redirecting to another page. + */ +public class AjaxSecurePage extends BorderPage { + + private static final long serialVersionUID = 1L; + + private ActionLink secureLinkWithRedirect = new ActionLink("secureLinkWithRedirect"); + private ActionLink secureLinkWithMessage = new ActionLink("secureLinkWithMessage"); + + /** + * @see Page#onSecurityCheck() + */ + @Override + public boolean onSecurityCheck() { + // As onSecurityCheck event occurs bfore controls are processed, we use + // explicit binding to determine which link was clicked + + ClickUtils.bind(secureLinkWithRedirect); + ClickUtils.bind(secureLinkWithMessage); + + boolean performRedirect = secureLinkWithRedirect.isClicked(); + boolean performShowMessage = secureLinkWithMessage.isClicked(); + + Context context = getContext(); + if (performRedirect) { + context.setFlashAttribute("flash", "You have been <b>Redirected</b> " + + "since you don't have permission to access the link."); + + String redirectUrl = context.getPagePath(AjaxSecurePage.class); + String contextPath = context.getRequest().getContextPath(); + redirectUrl = contextPath + redirectUrl; + + context.getResponse().setHeader("REDIRECT_URL",redirectUrl); + return false; + + } else if (performShowMessage) { + ActionResult result = new ActionResult("You do not have permission " + + "to access the link."); + result.render(context); + return false; + } + + return true; + } + + @Override + public void onInit() { + super.onInit(); + secureLinkWithRedirect.setId("secureLinkWithRedirectId"); + secureLinkWithMessage.setId("secureLinkWithMessageId"); + addControl(secureLinkWithRedirect); + addControl(secureLinkWithMessage); + } +} Modified: click/trunk/click/examples/webapp/WEB-INF/menu.xml URL: http://svn.apache.org/viewvc/click/trunk/click/examples/webapp/WEB-INF/menu.xml?rev=996232&r1=996231&r2=996232&view=diff ============================================================================== --- click/trunk/click/examples/webapp/WEB-INF/menu.xml (original) +++ click/trunk/click/examples/webapp/WEB-INF/menu.xml Sun Sep 12 01:28:15 2010 @@ -161,6 +161,9 @@ <menu label="Auto Complete Field" path="ajax/auto-complete.htm"/> <menu label="Live Scroller " path="ajax/scroller/ajax-live-scroller.htm"/> <menu label="Select" path="ajax/select/ajax-select.htm"/> + <menu separator="true"/> + <menu label="Ajax Redirect" path="ajax/ajax-redirect.htm"/> + <menu label="Ajax Security" path="ajax/ajax-secure.htm"/> </menu> <menu label=" Integration" path="#" imageSrc="/assets/images/cayenne.png"> Added: click/trunk/click/examples/webapp/ajax/ajax-redirect.htm URL: http://svn.apache.org/viewvc/click/trunk/click/examples/webapp/ajax/ajax-redirect.htm?rev=996232&view=auto ============================================================================== --- click/trunk/click/examples/webapp/ajax/ajax-redirect.htm (added) +++ click/trunk/click/examples/webapp/ajax/ajax-redirect.htm Sun Sep 12 01:28:15 2010 @@ -0,0 +1,77 @@ +<!-- +#* Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License.*# +--> + +$redirectLink + +<div id="result" class="infoMsg"> + #set ($flash = "") + #set ($flash = $session.flash) + #if ($flash != "") + $flash + #end +</div> + +Clicking the link above will send an Ajax request to the server which returns +a url to redirect to. The url is returned from the server in a custom response +header called <tt>'REDIRECT_URL'</tt>. +<p/> +Since Ajax does not support redirects, JavaScript is used to navigate the user to +the given url by setting the <tt>window.location</tt> value to the url. + +<script type="text/javascript" src="$context/assets/js/jquery-1.4.2.js"></script> + +<script type="text/javascript"> + // This example uses jQuery for making Ajax requests: + // http://api.jquery.com/jQuery.get/ + // http://api.jquery.com/jQuery.ajax/ + + // Register a function that is invoked as soon as the DOM is loaded + jQuery(document).ready(function() { + var resultElm = jQuery("#result") + + // Hide the result div initially if it contains no content + if (jQuery.trim(resultElm.text()).length == 0) { + resultElm.css("display", "none"); + } else { + resultElm.css("display", "block"); + } + + // Register a 'click' handler that makes an Ajax request + jQuery("#redirectLinkId").click(function(event){ + // Make ajax request + redirectLinkClicked(); + + // Prevent the default browser behavior of navigating to the link + return false; + }) + }) + + function redirectLinkClicked() { + var link = jQuery('#redirectLinkId'); + var extraData = link.attr('id') + '=1'; + var url = link.attr('href'); + jQuery.get(url, extraData, function(data, textStatus, xhr) { + // Retrieve the url to redirect from the Ajax response header + var redirect_url = xhr.getResponseHeader('REDIRECT_URL'); + // Perform the redirect + window.location = redirect_url; + + }); + } +</script> \ No newline at end of file Added: click/trunk/click/examples/webapp/ajax/ajax-secure.htm URL: http://svn.apache.org/viewvc/click/trunk/click/examples/webapp/ajax/ajax-secure.htm?rev=996232&view=auto ============================================================================== --- click/trunk/click/examples/webapp/ajax/ajax-secure.htm (added) +++ click/trunk/click/examples/webapp/ajax/ajax-secure.htm Sun Sep 12 01:28:15 2010 @@ -0,0 +1,104 @@ +<!-- +#* Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License.*# +--> + +<!-- Ajax response will be set here --> +<div id="result" class="errorMsg"> + #set ($flash = "") + #set ($flash = $session.flash) + #if ($flash != "") + $flash + #end +</div> + +Clicking the link will perform a redirect and display a permission denied message: $secureLinkWithRedirect + +<p/> + +Clicking the link will show a permission denied message without doing a redirect: $secureLinkWithMessage + + +<script type="text/javascript" src="$context/assets/js/jquery-1.4.2.js"></script> + +<script type="text/javascript"> + // This example uses jQuery for making Ajax requests: + // http://api.jquery.com/jQuery.get/ + // http://api.jquery.com/jQuery.ajax/ + + // Register a function that is invoked as soon as the DOM is loaded + jQuery(document).ready(function() { + var resultElm = jQuery("#result") + + // Hide the result div initially if it contains no content + if (jQuery.trim(resultElm.text()).length == 0) { + resultElm.css("display", "none"); + } else { + resultElm.css("display", "block"); + } + + // Register a 'click' handler that makes an Ajax request + jQuery("#secureLinkWithRedirectId").click(function(event){ + // Make ajax request + redirectLinkClicked(); + + // Prevent the default browser behavior of navigating to the link + return false; + }) + + // Register a 'click' handler that makes an Ajax request + jQuery("#secureLinkWithMessageId").click(function(event){ + // Make ajax request + messageLinkClicked(); + + // Prevent the default browser behavior of navigating to the link + return false; + }) + }) + + function redirectLinkClicked() { + var link = jQuery('#secureLinkWithRedirectId'); + var extraData = link.attr('id') + '=1'; + var url = link.attr('href'); + jQuery.get(url, extraData, function(data, textStatus, xhr) { + // Retrieve the url to redirect from the Ajax response header + var redirect_url = xhr.getResponseHeader('REDIRECT_URL'); + // Perform the redirect + window.location = redirect_url; + + }); + } + + function messageLinkClicked() { + var link = jQuery('#secureLinkWithMessageId'); + var extraData = link.attr('id') + '=1'; + var url = link.attr('href'); + + jQuery.get(url, extraData, function(data) { + // 'data' is the response received from the server + + // We select the div element with the ID 'result' and set its + // content to the server response + var el = jQuery("#result").html(data); + + // Make the element visible + el.css("display", "block"); + + + }); + } +</script> \ No newline at end of file From [email protected] Sun Sep 12 02:27:35 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57840 invoked from network); 12 Sep 2010 02:27:35 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 12 Sep 2010 02:27:35 -0000 Received: (qmail 78900 invoked by uid 500); 12 Sep 2010 02:27:35 -0000 Delivered-To: [email protected] Received: (qmail 78885 invoked by uid 500); 12 Sep 2010 02:27:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.click.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78874 invoked by uid 99); 12 Sep 2010 02:27:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Sep 2010 02:27:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Sep 2010 02:27:33 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 451C723889E2; Sun, 12 Sep 2010 02:27:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r996237 - in /click/trunk/click: documentation/xdocs/src/docbook/click/chapter-pages.xml examples/src/org/apache/click/examples/page/ajax/AjaxRedirectPage.java examples/webapp/ajax/ajax-redirect.htm Date: Sun, 12 Sep 2010 02:27:13 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: sabob Date: Sun Sep 12 02:27:12 2010 New Revision: 996237 URL: http://svn.apache.org/viewvc?rev=996237&view=rev Log: doco Modified: click/trunk/click/documentation/xdocs/src/docbook/click/chapter-pages.xml click/trunk/click/examples/src/org/apache/click/examples/page/ajax/AjaxRedirectPage.java click/trunk/click/examples/webapp/ajax/ajax-redirect.htm Modified: click/trunk/click/documentation/xdocs/src/docbook/click/chapter-pages.xml URL: http://svn.apache.org/viewvc/click/trunk/click/documentation/xdocs/src/docbook/click/chapter-pages.xml?rev=996237&r1=996236&r2=996237&view=diff ============================================================================== --- click/trunk/click/documentation/xdocs/src/docbook/click/chapter-pages.xml (original) +++ click/trunk/click/documentation/xdocs/src/docbook/click/chapter-pages.xml Sun Sep 12 02:27:12 2010 @@ -1050,10 +1050,13 @@ public <token>ActionResult</token> <symb and if necessary abort any further processing. If <methodname>onSecurityCheck()</methodname> return false, no response is sent back to the client. Note, if you want to send a specific response to - the client or perform a redirect you have to do that from the + the client you have to do that from the <methodname>onSecurityCheck()</methodname> event, since other Page events - are not processed. - </para> + are not executed. Please see + <ulink url="http://www.avoka.com/click-examples/ajax/ajax-secure.htm">this</ulink> + example for some strategies on implementing + <methodname>onSecurityCheck</methodname> to handle ajax requests. + </para> <para>Next the target <methodname>page method</methodname> is invoked which returns an <classname>ActionResult</classname> that is rendered to Modified: click/trunk/click/examples/src/org/apache/click/examples/page/ajax/AjaxRedirectPage.java URL: http://svn.apache.org/viewvc/click/trunk/click/examples/src/org/apache/click/examples/page/ajax/AjaxRedirectPage.java?rev=996237&r1=996236&r2=996237&view=diff ============================================================================== --- click/trunk/click/examples/src/org/apache/click/examples/page/ajax/AjaxRedirectPage.java (original) +++ click/trunk/click/examples/src/org/apache/click/examples/page/ajax/AjaxRedirectPage.java Sun Sep 12 02:27:12 2010 @@ -27,10 +27,13 @@ import org.apache.click.control.ActionLi import org.apache.click.examples.page.BorderPage; /** - * Provides an <tt>onSecurityCheck</tt> example secure Page for handling Ajax - * requests. Two links are presented to the user. Clicking on the first link will - * redirect the user to this page and show an error message. Clicking on the - * second link will show an error message without redirecting to another page. + * Provides an example Page showing how to perform redirects with Ajax requests. + * + * Since Ajax does not support redirects we return the url to redirect to in a + * custom response url called 'REDIRECT_URL'. The client-side then uses JavaScript + * to simulate a redirect by setting the value of window.location to the redirect + * url. + * */ public class AjaxRedirectPage extends BorderPage { Modified: click/trunk/click/examples/webapp/ajax/ajax-redirect.htm URL: http://svn.apache.org/viewvc/click/trunk/click/examples/webapp/ajax/ajax-redirect.htm?rev=996237&r1=996236&r2=996237&view=diff ============================================================================== --- click/trunk/click/examples/webapp/ajax/ajax-redirect.htm (original) +++ click/trunk/click/examples/webapp/ajax/ajax-redirect.htm Sun Sep 12 02:27:12 2010 @@ -31,8 +31,8 @@ Clicking the link above will send an Aja a url to redirect to. The url is returned from the server in a custom response header called <tt>'REDIRECT_URL'</tt>. <p/> -Since Ajax does not support redirects, JavaScript is used to navigate the user to -the given url by setting the <tt>window.location</tt> value to the url. +Since Ajax does not support redirects, JavaScript is used to simulate a redirect +by setting the value of <tt>window.location</tt> to the redirect url. <script type="text/javascript" src="$context/assets/js/jquery-1.4.2.js"></script> From [email protected] Sun Sep 12 09:07:49 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36026 invoked from network); 12 Sep 2010 09:07:49 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 12 Sep 2010 09:07:49 -0000 Received: (qmail 95394 invoked by uid 500); 12 Sep 2010 09:07:49 -0000 Delivered-To: [email protected] Received: (qmail 95378 invoked by uid 500); 12 Sep 2010 09:07:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.click.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 95366 invoked by uid 99); 12 Sep 2010 09:07:47 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Sep 2010 09:07:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Sep 2010 09:07:28 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 3BD1823889E7; Sun, 12 Sep 2010 09:07:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r996271 - in /click/trunk/click: documentation/docs/ documentation/dtds/ documentation/xdocs/src/docbook/click/ framework/src/org/apache/click/ Date: Sun, 12 Sep 2010 09:07:07 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: sabob Date: Sun Sep 12 09:07:06 2010 New Revision: 996271 URL: http://svn.apache.org/viewvc?rev=996271&view=rev Log: Removed #FIXED from dtd. CLK-717 Modified: click/trunk/click/documentation/docs/click-dtd.html click/trunk/click/documentation/dtds/click-2.1.dtd click/trunk/click/documentation/dtds/click-2.2.dtd click/trunk/click/documentation/dtds/click-2.3.dtd click/trunk/click/documentation/xdocs/src/docbook/click/chapter-configuration.xml click/trunk/click/framework/src/org/apache/click/click.dtd Modified: click/trunk/click/documentation/docs/click-dtd.html URL: http://svn.apache.org/viewvc/click/trunk/click/documentation/docs/click-dtd.html?rev=996271&r1=996270&r2=996271&view=diff ============================================================================== --- click/trunk/click/documentation/docs/click-dtd.html (original) +++ click/trunk/click/documentation/docs/click-dtd.html Sun Sep 12 09:07:06 2010 @@ -79,7 +79,7 @@ Click application XML descriptor Documen &lt;!-- Page template formatter class. An new format object added to the Velocity context under the key: "format". --&gt; &lt;!ELEMENT <span class="red">format</span> (#PCDATA)&gt; - &lt;!ATTLIST <span class="red">format</span> <span class="blue">classname</span> CDATA #FIXED "<span class="green">org.apache.click.util.Format</span>"&gt; + &lt;!ATTLIST <span class="red">format</span> <span class="blue">classname</span> CDATA "<span class="green">org.apache.click.util.Format</span>"&gt; &lt;!-- Application mode, which configures logging and caching. --&gt; &lt;!ELEMENT <span class="red">mode</span> (#PCDATA)&gt; @@ -98,7 +98,7 @@ Click application XML descriptor Documen &lt;!-- File Upload Service. --&gt; &lt;!ELEMENT <span class="red">file-upload-service</span> (property*)&gt; - &lt;!ATTLIST <span class="red">file-upload-service</span> <span class="blue">classname</span> CDATA #FIXED "<span class="green">org.apache.click.service.FileUploadService</span>"&gt; + &lt;!ATTLIST <span class="red">file-upload-service</span> <span class="blue">classname</span> CDATA "<span class="green">org.apache.click.service.FileUploadService</span>"&gt; &lt;!-- Property definition. --&gt; &lt;!ELEMENT <span class="red">property</span> (#PCDATA)&gt; @@ -107,19 +107,19 @@ Click application XML descriptor Documen &lt;!-- Log Service. --&gt; &lt;!ELEMENT <span class="red">log-service</span> (property*)&gt; - &lt;!ATTLIST <span class="red">log-service</span> <span class="blue">classname</span> CDATA #FIXED "<span class="green">org.apache.click.service.ConsoleLogService</span>"&gt; + &lt;!ATTLIST <span class="red">log-service</span> <span class="blue">classname</span> CDATA "<span class="green">org.apache.click.service.ConsoleLogService</span>"&gt; &lt;!-- Messages Map Service. --&gt; &lt;!ELEMENT <span class="red">messages-map-service</span> (property*)&gt; - &lt;!ATTLIST <span class="red">messages-map-service</span> <span class="blue">classname</span> CDATA #FIXED "<span class="green">org.apache.click.service.DefaultMessagesMapService</span>"&gt; + &lt;!ATTLIST <span class="red">messages-map-service</span> <span class="blue">classname</span> CDATA "<span class="green">org.apache.click.service.DefaultMessagesMapService</span>"&gt; &lt;!-- Resource Service. --&gt; &lt;!ELEMENT <span class="red">resource-service</span> (property*)&gt; - &lt;!ATTLIST <span class="red">resource-service</span> <span class="blue">classname</span> CDATA #FIXED "<span class="green">org.apache.click.service.ClickResourceService</span>"&gt; + &lt;!ATTLIST <span class="red">resource-service</span> <span class="blue">classname</span> CDATA "<span class="green">org.apache.click.service.ClickResourceService</span>"&gt; &lt;!-- Template Service. --&gt; &lt;!ELEMENT <span class="red">template-service</span> (property*)&gt; - &lt;!ATTLIST <span class="red">template-service</span> <span class="blue">classname</span> CDATA #FIXED "<span class="green">org.apache.click.service.VelocityTemplateService</span>"&gt; + &lt;!ATTLIST <span class="red">template-service</span> <span class="blue">classname</span> CDATA "<span class="green">org.apache.click.service.VelocityTemplateService</span>"&gt; &lt;!-- Application page interceptors. --&gt; &lt;!ELEMENT page-interceptor (property*)&gt; Modified: click/trunk/click/documentation/dtds/click-2.1.dtd URL: http://svn.apache.org/viewvc/click/trunk/click/documentation/dtds/click-2.1.dtd?rev=996271&r1=996270&r2=996271&view=diff ============================================================================== --- click/trunk/click/documentation/dtds/click-2.1.dtd (original) +++ click/trunk/click/documentation/dtds/click-2.1.dtd Sun Sep 12 09:07:06 2010 @@ -62,7 +62,7 @@ <!-- Page template formatter class. An new format object added to the Velocity context under the key: "format". --> <!ELEMENT format (#PCDATA)> - <!ATTLIST format classname CDATA #FIXED "org.apache.click.util.Format"> + <!ATTLIST format classname CDATA "org.apache.click.util.Format"> <!-- Application mode, which configures logging and caching. --> <!ELEMENT mode (#PCDATA)> @@ -81,7 +81,7 @@ <!-- File Upload Service. --> <!ELEMENT file-upload-service (property*)> - <!ATTLIST file-upload-service classname CDATA #FIXED "org.apache.click.service.FileUploadService"> + <!ATTLIST file-upload-service classname CDATA "org.apache.click.service.FileUploadService"> <!-- Property definition. --> <!ELEMENT property (#PCDATA)> @@ -90,8 +90,8 @@ <!-- Log Service. --> <!ELEMENT log-service (property*)> - <!ATTLIST log-service classname CDATA #FIXED "org.apache.click.service.ConsoleLogService"> + <!ATTLIST log-service classname CDATA "org.apache.click.service.ConsoleLogService"> <!-- Template Service class. --> <!ELEMENT template-service (property*)> - <!ATTLIST template-service classname CDATA #FIXED "org.apache.click.service.VelocityTemplateService"> + <!ATTLIST template-service classname CDATA "org.apache.click.service.VelocityTemplateService"> Modified: click/trunk/click/documentation/dtds/click-2.2.dtd URL: http://svn.apache.org/viewvc/click/trunk/click/documentation/dtds/click-2.2.dtd?rev=996271&r1=996270&r2=996271&view=diff ============================================================================== --- click/trunk/click/documentation/dtds/click-2.2.dtd (original) +++ click/trunk/click/documentation/dtds/click-2.2.dtd Sun Sep 12 09:07:06 2010 @@ -62,7 +62,7 @@ <!-- Page template formatter class. An new format object added to the Velocity context under the key: "format". --> <!ELEMENT format (#PCDATA)> - <!ATTLIST format classname CDATA #FIXED "org.apache.click.util.Format"> + <!ATTLIST format classname CDATA "org.apache.click.util.Format"> <!-- Application mode, which configures logging and caching. --> <!ELEMENT mode (#PCDATA)> @@ -81,7 +81,7 @@ <!-- File Upload Service. --> <!ELEMENT file-upload-service (property*)> - <!ATTLIST file-upload-service classname CDATA #FIXED "org.apache.click.service.FileUploadService"> + <!ATTLIST file-upload-service classname CDATA "org.apache.click.service.FileUploadService"> <!-- Property definition. --> <!ELEMENT property (#PCDATA)> @@ -90,15 +90,15 @@ <!-- Log Service. --> <!ELEMENT log-service (property*)> - <!ATTLIST log-service classname CDATA #FIXED "org.apache.click.service.ConsoleLogService"> + <!ATTLIST log-service classname CDATA "org.apache.click.service.ConsoleLogService"> <!-- Resource Service class. --> <!ELEMENT resource-service (property*)> - <!ATTLIST resource-service classname CDATA #FIXED "org.apache.click.service.ClickResourceService"> + <!ATTLIST resource-service classname CDATA "org.apache.click.service.ClickResourceService"> <!-- Template Service class. --> <!ELEMENT template-service (property*)> - <!ATTLIST template-service classname CDATA #FIXED "org.apache.click.service.VelocityTemplateService"> + <!ATTLIST template-service classname CDATA "org.apache.click.service.VelocityTemplateService"> <!-- Application page interceptors. --> <!ELEMENT page-interceptor (property*)> Modified: click/trunk/click/documentation/dtds/click-2.3.dtd URL: http://svn.apache.org/viewvc/click/trunk/click/documentation/dtds/click-2.3.dtd?rev=996271&r1=996270&r2=996271&view=diff ============================================================================== --- click/trunk/click/documentation/dtds/click-2.3.dtd (original) +++ click/trunk/click/documentation/dtds/click-2.3.dtd Sun Sep 12 09:07:06 2010 @@ -62,7 +62,7 @@ <!-- Page template formatter class. An new format object added to the Velocity context under the key: "format". --> <!ELEMENT format (#PCDATA)> - <!ATTLIST format classname CDATA #FIXED "org.apache.click.util.Format"> + <!ATTLIST format classname CDATA "org.apache.click.util.Format"> <!-- Application mode, which configures logging and caching. --> <!ELEMENT mode (#PCDATA)> @@ -81,7 +81,7 @@ <!-- File Upload Service. --> <!ELEMENT file-upload-service (property*)> - <!ATTLIST file-upload-service classname CDATA #FIXED "org.apache.click.service.FileUploadService"> + <!ATTLIST file-upload-service classname CDATA "org.apache.click.service.FileUploadService"> <!-- Property definition. --> <!ELEMENT property (#PCDATA)> @@ -90,19 +90,19 @@ <!-- Log Service. --> <!ELEMENT log-service (property*)> - <!ATTLIST log-service classname CDATA #FIXED "org.apache.click.service.ConsoleLogService"> + <!ATTLIST log-service classname CDATA "org.apache.click.service.ConsoleLogService"> <!-- Messages Map Service class. --> <!ELEMENT messages-map-service (property*)> - <!ATTLIST messages-map-service classname CDATA #FIXED "org.apache.click.service.DefaultMessagesMapService"> + <!ATTLIST messages-map-service classname CDATA "org.apache.click.service.DefaultMessagesMapService"> <!-- Resource Service class. --> <!ELEMENT resource-service (property*)> - <!ATTLIST resource-service classname CDATA #FIXED "org.apache.click.service.ClickResourceService"> + <!ATTLIST resource-service classname CDATA "org.apache.click.service.ClickResourceService"> <!-- Template Service class. --> <!ELEMENT template-service (property*)> - <!ATTLIST template-service classname CDATA #FIXED "org.apache.click.service.VelocityTemplateService"> + <!ATTLIST template-service classname CDATA "org.apache.click.service.VelocityTemplateService"> <!-- Application page interceptors. --> <!ELEMENT page-interceptor (property*)> Modified: click/trunk/click/documentation/xdocs/src/docbook/click/chapter-configuration.xml URL: http://svn.apache.org/viewvc/click/trunk/click/documentation/xdocs/src/docbook/click/chapter-configuration.xml?rev=996271&r1=996270&r2=996271&view=diff ============================================================================== --- click/trunk/click/documentation/xdocs/src/docbook/click/chapter-configuration.xml (original) +++ click/trunk/click/documentation/xdocs/src/docbook/click/chapter-configuration.xml Sun Sep 12 09:07:06 2010 @@ -771,7 +771,7 @@ change-password.htm =&gt; <token>Chang </para> <literallayout>&lt;!ELEMENT <symbol>format</symbol> (#PCDATA)&gt; - &lt;ATTLIST format <varname>classname</varname> CDATA #FIXED "org.apache.click.util.Format"&gt;</literallayout> + &lt;ATTLIST format <varname>classname</varname> CDATA "org.apache.click.util.Format"&gt;</literallayout> <para>By default all Click pages are configured with a <ulink url="../../click-api/org/apache/click/util/Format.html">org.apache.click.util.Format</ulink> Modified: click/trunk/click/framework/src/org/apache/click/click.dtd URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/click.dtd?rev=996271&r1=996270&r2=996271&view=diff ============================================================================== --- click/trunk/click/framework/src/org/apache/click/click.dtd (original) +++ click/trunk/click/framework/src/org/apache/click/click.dtd Sun Sep 12 09:07:06 2010 @@ -62,7 +62,7 @@ <!-- Page template formatter class. An new format object added to the Velocity context under the key: "format". --> <!ELEMENT format (#PCDATA)> - <!ATTLIST format classname CDATA #FIXED "org.apache.click.util.Format"> + <!ATTLIST format classname CDATA "org.apache.click.util.Format"> <!-- Application mode, which configures logging and caching. --> <!ELEMENT mode (#PCDATA)> @@ -81,7 +81,7 @@ <!-- File Upload Service. --> <!ELEMENT file-upload-service (property*)> - <!ATTLIST file-upload-service classname CDATA #FIXED "org.apache.click.service.FileUploadService"> + <!ATTLIST file-upload-service classname CDATA "org.apache.click.service.FileUploadService"> <!-- Property definition. --> <!ELEMENT property (#PCDATA)> @@ -90,19 +90,19 @@ <!-- Log Service. --> <!ELEMENT log-service (property*)> - <!ATTLIST log-service classname CDATA #FIXED "org.apache.click.service.ConsoleLogService"> + <!ATTLIST log-service classname CDATA "org.apache.click.service.ConsoleLogService"> <!-- Messages Map Service class. --> <!ELEMENT messages-map-service (property*)> - <!ATTLIST messages-map-service classname CDATA #FIXED "org.apache.click.service.DefaultMessagesMapService"> + <!ATTLIST messages-map-service classname CDATA "org.apache.click.service.DefaultMessagesMapService"> <!-- Resource Service class. --> <!ELEMENT resource-service (property*)> - <!ATTLIST resource-service classname CDATA #FIXED "org.apache.click.service.ClickResourceService"> + <!ATTLIST resource-service classname CDATA "org.apache.click.service.ClickResourceService"> <!-- Template Service class. --> <!ELEMENT template-service (property*)> - <!ATTLIST template-service classname CDATA #FIXED "org.apache.click.service.VelocityTemplateService"> + <!ATTLIST template-service classname CDATA "org.apache.click.service.VelocityTemplateService"> <!-- Application page interceptors. --> <!ELEMENT page-interceptor (property*)> From [email protected] Sun Sep 12 09:18:51 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36799 invoked from network); 12 Sep 2010 09:18:51 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 12 Sep 2010 09:18:51 -0000 Received: (qmail 281 invoked by uid 500); 12 Sep 2010 09:18:51 -0000 Delivered-To: [email protected] Received: (qmail 262 invoked by uid 500); 12 Sep 2010 09:18:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.click.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 254 invoked by uid 99); 12 Sep 2010 09:18:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Sep 2010 09:18:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Sep 2010 09:18:49 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 6B16223889E7; Sun, 12 Sep 2010 09:18:29 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r996272 - /click/trunk/click/documentation/docs/roadmap-changes.html Date: Sun, 12 Sep 2010 09:18:29 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: sabob Date: Sun Sep 12 09:18:23 2010 New Revision: 996272 URL: http://svn.apache.org/viewvc?rev=996272&view=rev Log: roadmap Modified: click/trunk/click/documentation/docs/roadmap-changes.html Modified: click/trunk/click/documentation/docs/roadmap-changes.html URL: http://svn.apache.org/viewvc/click/trunk/click/documentation/docs/roadmap-changes.html?rev=996272&r1=996271&r2=996272&view=diff ============================================================================== --- click/trunk/click/documentation/docs/roadmap-changes.html (original) +++ click/trunk/click/documentation/docs/roadmap-changes.html Sun Sep 12 09:18:23 2010 @@ -268,6 +268,11 @@ Select.setAttribute("onchange", "Click.s [<a target="_blank" href="https://issues.apache.org/jira/browse/CLK-714">CLK-714</a>]. </li> <li class="change"> + Removed the <tt>#FIXED</tt> attributes from the <tt>click.dtd</tt> + which caused xml validation errors. This issue was raised by Ryan Holmes + [<a target="_blank" href="https://issues.apache.org/jira/browse/CLK-717">CLK-717</a>]. + </li> + <li class="change"> Update to the latest version for some of the JARs dependencies: log4j-1.2.16, freemarker-2.3.16, commons-codec-1.4, and commons-lang-2.5. </li> From [email protected] Wed Sep 15 10:36:01 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36658 invoked from network); 15 Sep 2010 10:36:01 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 15 Sep 2010 10:36:01 -0000 Received: (qmail 65200 invoked by uid 500); 15 Sep 2010 10:36:01 -0000 Delivered-To: [email protected] Received: (qmail 65178 invoked by uid 500); 15 Sep 2010 10:36:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.click.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 65165 invoked by uid 99); 15 Sep 2010 10:35:59 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Sep 2010 10:35:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Sep 2010 10:35:40 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 31BEF2388A66; Wed, 15 Sep 2010 10:35:19 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r997269 - in /click/trunk/click/framework: src/org/apache/click/util/ClickUtils.java test/org/apache/click/util/ClickUtilsTest.java Date: Wed, 15 Sep 2010 10:35:19 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: sabob Date: Wed Sep 15 10:35:18 2010 New Revision: 997269 URL: http://svn.apache.org/viewvc?rev=997269&view=rev Log: added bindAndValidate method to handle Form validation Modified: click/trunk/click/framework/src/org/apache/click/util/ClickUtils.java click/trunk/click/framework/test/org/apache/click/util/ClickUtilsTest.java Modified: click/trunk/click/framework/src/org/apache/click/util/ClickUtils.java URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/util/ClickUtils.java?rev=997269&r1=997268&r2=997269&view=diff ============================================================================== --- click/trunk/click/framework/src/org/apache/click/util/ClickUtils.java (original) +++ click/trunk/click/framework/src/org/apache/click/util/ClickUtils.java Wed Sep 15 10:35:18 2010 @@ -540,7 +540,7 @@ public class ClickUtils { } /** - * A helper method which binds the submitted request value to the Field's + * A helper method that binds the submitted request value to the Field's * value. Since Field values are only bound during the <tt>"onProcess"</tt> * event, this method can be used to bind a submitted Field value during * the <tt>"onInit"</tt> event, which occurs <b>before</b> the @@ -586,7 +586,7 @@ public class ClickUtils { } /** - * A helper method which binds the submitted request value to the Link's + * A helper method that binds the submitted request value to the Link's * value. See {@link #bind(org.apache.click.control.Field)} for a detailed * description. * <p/> @@ -604,7 +604,7 @@ public class ClickUtils { } /** - * A helper method which binds the submitted request values of all Fields + * A helper method that binds the submitted request values of all Fields * and Links inside the given container or child containers. See * {@link #bind(org.apache.click.control.Field)} for a detailed description. * <p/> @@ -646,7 +646,7 @@ public class ClickUtils { } /** - * A helper method which binds and validates the Field's submitted request + * A helper method that binds and validates the Field's submitted request * value. This method will return true if the validation succeeds, false * otherwise. See {@link #bind(org.apache.click.control.Field)} for a * detailed description. @@ -691,16 +691,38 @@ public class ClickUtils { } /** - * A helper method which binds and validates the submitted request values + * A helper method that binds and validates the submitted request values * of all Fields and Links inside the given container or child containers. * This method will return true if the validation succeeds, false - * otherwise. See {@link #bind(org.apache.click.control.Field)} for a + * otherwise. + * <p/> + * See {@link #bindAndValidate(org.apache.click.control.Form)} for a * detailed description. + * + * @param container the container which Fields and Links to bind and + * validate + * @return true if all Fields are valid, false otherwise + */ + public static boolean bindAndValidate(Container container) { + Context context = Context.getThreadLocalContext(); + if (canBind(container, context)) { + return bindAndValidate(container, context); + } + return false; + } + + /** + * * A helper method that binds and validates the submitted request values + * of all Fields and Links inside the given Form or child containers. Note, + * the Form itself is also validated. + * <p/> + * This method will return true if the validation succeeds, false otherwise. + * See {@link #bind(org.apache.click.control.Field)} for a detailed + * description. * <p/> * This method delegates to * {@link #canBind(org.apache.click.Control, org.apache.click.Context)} - * to check if the Container Fields and Links can be bound and - * validated. + * to check if the Form Fields and Links can be bound and validated. * * <pre class="prettyprint"> * public void onInit() { @@ -727,14 +749,14 @@ public class ClickUtils { * } * } </pre> * - * @param container the container which Fields and Links to bind and - * validate - * @return true if all Fields are valid, false otherwise + * @param form the form which Fields and Links to bind and validate + * @return true if the form, it's fields and links was bound and valid, false + * otherwise */ - public static boolean bindAndValidate(Container container) { + public static boolean bindAndValidate(Form form) { Context context = Context.getThreadLocalContext(); - if (canBind(container, context)) { - return bindAndValidate(container, context); + if (canBind(form, context)) { + return bindAndValidate(form, context); } return false; } @@ -810,6 +832,9 @@ public class ClickUtils { } Form form = ContainerUtils.findForm(control); + if (form == null && control instanceof Form) { + form = (Form) control; + } if (form != null) { return form.isFormSubmission(); } @@ -2924,7 +2949,7 @@ public class ClickUtils { // -------------------------------------------------------- Private Methods /** - * A helper method which binds the submitted request values of all Fields + * A helper method that binds the submitted request values of all Fields * and Links inside the given container or child containers. * <p/> * For Field controls, this method delegates to @@ -2959,7 +2984,7 @@ public class ClickUtils { } /** - * A helper method which binds and validates the submitted request values + * A helper method that binds and validates the submitted request values * of all Fields and Links inside the given container or child containers. * <p/> * For Field controls, this method delegates to @@ -2977,7 +3002,7 @@ public class ClickUtils { Control control = container.getControls().get(i); if (control instanceof Container) { - // Include fields but skip fieldSets + // Bind and validate fields only if (control instanceof Field) { if (!bindAndValidate((Field) control, context)) { valid = false; @@ -3005,7 +3030,42 @@ public class ClickUtils { } /** - * A helper method which binds and validates the Field's submitted request + * A helper method that binds and validates the submitted request values + * of all Fields and Links inside the given Form or child containers. Note, + * the Form itself is also validated. + * <p/> + * For Field controls, this method delegates to + * {@link #bindField(org.apache.click.control.Field, org.apache.click.Context)}. + * + * @param form the Form which Fields and Links to bind and validate + * @param context the request context + * @return true if the form, it's fields and links was bound and valid, false + * otherwise + */ + private static boolean bindAndValidate(Form form, Context context) { + if (!bindAndValidate((Container) form, context)) { + return false; + } + + if (form.getValidate()) { + // Keep reference to current error + String errorReference = form.getError(); + + // Validate form. If validation fails the form error will be changed + form.validate(); + + boolean valid = form.isValid(); + + // Revert back to original error + form.setError(errorReference); + + return valid; + } + return true; + } + + /** + * A helper method that binds and validates the Field's submitted request * value. * <p/> * This method delegates to Modified: click/trunk/click/framework/test/org/apache/click/util/ClickUtilsTest.java URL: http://svn.apache.org/viewvc/click/trunk/click/framework/test/org/apache/click/util/ClickUtilsTest.java?rev=997269&r1=997268&r2=997269&view=diff ============================================================================== --- click/trunk/click/framework/test/org/apache/click/util/ClickUtilsTest.java (original) +++ click/trunk/click/framework/test/org/apache/click/util/ClickUtilsTest.java Wed Sep 15 10:35:18 2010 @@ -34,6 +34,7 @@ import org.apache.click.control.FieldSet import org.apache.click.control.Form; import org.apache.click.control.HiddenField; import org.apache.click.control.TextField; +import org.apache.click.servlet.MockRequest; /** * Tests for ClickUtils. @@ -511,6 +512,41 @@ public class ClickUtilsTest extends Test result = ClickUtils.decodePasswordCookie(cookie, 21); assertFalse(username.equals(result[0])); - assertFalse(password.equals(result[1])); + assertFalse(password.equals(result[1])); + } + + /** + * + */ + public void testBindAndValidateForm() { + MockContext context = MockContext.initContext(); + MockRequest request = context.getMockRequest(); + request.setParameter("form_name", "form"); + request.setParameter("firstName", "steve"); + +final String formError = "error"; + Form form = new Form("form") { + + @Override + public void validate() { + setError(formError); + } + }; + + TextField field = new TextField("firstName"); + form.add(field); + + // assert field has no value + assertEquals("", field.getValue()); + + boolean valid = ClickUtils.bindAndValidate(form); + assertFalse(valid); + + // assert that the field value is bound + assertEquals("steve", field.getValue()); + + // assert that the form error was reset, leaving form in a valid state + assertEquals(null, form.getError()); + assertTrue(form.isValid()); } } From [email protected] Tue Sep 21 04:22:56 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28948 invoked from network); 21 Sep 2010 04:22:56 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 21 Sep 2010 04:22:56 -0000 Received: (qmail 6967 invoked by uid 500); 21 Sep 2010 04:22:56 -0000 Delivered-To: [email protected] Received: (qmail 6943 invoked by uid 500); 21 Sep 2010 04:22:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.click.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6932 invoked by uid 99); 21 Sep 2010 04:22:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Sep 2010 04:22:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Sep 2010 04:22:53 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 70E2923889EA; Tue, 21 Sep 2010 04:22:33 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r999212 - /click/trunk/click/documentation/docs/faq.html Date: Tue, 21 Sep 2010 04:22:33 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: sabob Date: Tue Sep 21 04:22:33 2010 New Revision: 999212 URL: http://svn.apache.org/viewvc?rev=999212&view=rev Log: added Portlet faq Modified: click/trunk/click/documentation/docs/faq.html Modified: click/trunk/click/documentation/docs/faq.html URL: http://svn.apache.org/viewvc/click/trunk/click/documentation/docs/faq.html?rev=999212&r1=999211&r2=999212&view=diff ============================================================================== --- click/trunk/click/documentation/docs/faq.html (original) +++ click/trunk/click/documentation/docs/faq.html Tue Sep 21 04:22:33 2010 @@ -85,6 +85,8 @@ </li> <li><a href="#why-velocity">Why doesn't Click use FreeMarker as the default rendering engine?</a> </li> + <li><a href="#portlet">Can Click be used to develop Portlet applications?</a> + </li> <li><a href="#why-click">Why develop a new Web Application Framework?</a> </li> </ol> @@ -819,8 +821,20 @@ public MyPage extends Page { </dd> + <dt><a name="portlet"></a> + <b>24.&nbsp; Can Click be used to develop Portlet applications?</b> + </dt> + <dd> + Unfortunately no. Click is built on top of the Servlet specification which is + incompatible with the Portlet specification. However in a future Click release + the <a target="_blank" class="external" href="http://portals.apache.org/bridges/">Portals Bridges</a> + project could be leveraged to allow Click applications to run inside a Portlet + container. + </dd> + + <dt><a name="why-click"></a> - <b>24.&nbsp; Why develop a new Web Application Framework?</b> + <b>25.&nbsp; Why develop a new Web Application Framework?</b> </dt> <dd> Because the existing frameworks did not meet my needs. Struts doesn't really do much, From [email protected] Tue Sep 21 04:34:55 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30994 invoked from network); 21 Sep 2010 04:34:55 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 21 Sep 2010 04:34:55 -0000 Received: (qmail 15975 invoked by uid 500); 21 Sep 2010 04:34:55 -0000 Delivered-To: [email protected] Received: (qmail 15965 invoked by uid 500); 21 Sep 2010 04:34:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.click.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 15956 invoked by uid 99); 21 Sep 2010 04:34:53 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Sep 2010 04:34:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Sep 2010 04:34:35 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 2844223889E9; Tue, 21 Sep 2010 04:34:14 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r999214 - in /click/trunk/click/framework: src/org/apache/click/service/XmlConfigService.java test/org/apache/click/service/XmlConfigServiceTest.java Date: Tue, 21 Sep 2010 04:34:14 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: sabob Date: Tue Sep 21 04:34:13 2010 New Revision: 999214 URL: http://svn.apache.org/viewvc?rev=999214&view=rev Log: improve page class loading. CLK-704 Modified: click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java click/trunk/click/framework/test/org/apache/click/service/XmlConfigServiceTest.java Modified: click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java?rev=999214&r1=999213&r2=999214&view=diff ============================================================================== --- click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java (original) +++ click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java Tue Sep 21 04:34:13 2010 @@ -1983,40 +1983,51 @@ public class XmlConfigService implements path = pathValue; } - // Set pageClass - String value = element.getAttribute("classname"); - if (value != null) { - if (pagesPackage.trim().length() > 0) { - value = pagesPackage + "." + value; - } - } else { + // Retrieve page classname + String classname = element.getAttribute("classname"); + + if (classname == null) { String msg = "No classname defined for page path " + path; throw new RuntimeException(msg); } + Class tmpPageClass = null; + String classFound = null; + try { - pageClass = ClickUtils.classForName(value); + // First, lookup classname as provided + tmpPageClass = ClickUtils.classForName(classname); + classFound = classname; } catch (ClassNotFoundException cnfe) { +// For backward compatibility prefix classname with package name + String prefixedClassname = classname; + + if (pagesPackage.trim().length() > 0) { + prefixedClassname = pagesPackage + "." + classname; + } + + try { + // CLK-704 + // For backward compatibility, lookup classname prefixed with the package name + + tmpPageClass = ClickUtils.classForName(prefixedClassname); + classFound = prefixedClassname; - // If a pagesPackage was delcared provide a descriptive error message - if (StringUtils.isNotBlank(pagesPackage)) { + } catch (ClassNotFoundException cnfe2) { + // Throw original exception which used the given classname String msg = "No class was found for the Page classname: '" - + value + "'. Please note that Click automatically adds" - + " the given package '" + pagesPackage + "' to page" - + " classnames. If you need to specify an absolute" - + " classname declare a <pages>...</pages> element" - + " without a package attribute."; + + classname + "'."; throw new RuntimeException(msg, cnfe); - } else { - throw cnfe; } } + pageClass = tmpPageClass; + if (!Page.class.isAssignableFrom(pageClass)) { - String msg = "Page class " + value - + " is not a subclass of org.apache.click.Page"; + String msg = "Page class '" + classFound + + "' is not a subclass of org.apache.click.Page"; throw new RuntimeException(msg); } Modified: click/trunk/click/framework/test/org/apache/click/service/XmlConfigServiceTest.java URL: http://svn.apache.org/viewvc/click/trunk/click/framework/test/org/apache/click/service/XmlConfigServiceTest.java?rev=999214&r1=999213&r2=999214&view=diff ============================================================================== --- click/trunk/click/framework/test/org/apache/click/service/XmlConfigServiceTest.java (original) +++ click/trunk/click/framework/test/org/apache/click/service/XmlConfigServiceTest.java Tue Sep 21 04:34:13 2010 @@ -30,6 +30,7 @@ import java.util.Locale; import java.util.Map; import javax.servlet.ServletContext; +import javax.servlet.UnavailableException; import junit.framework.TestCase; import org.apache.click.Context; @@ -364,6 +365,74 @@ public class XmlConfigServiceTest extend deleteDir(tmpdir); } + /** + * Test that manually loaded pages should specify absolute classnames, but + * for backward compatibility fallback to appending package to classname if + * absolute classname is not found. + * + * CLK-704 + */ + public void testLoadManualPagesByClassname() throws Exception { + File tmpdir = makeTmpDir(); + + PrintStream pstr = makeXmlStream(tmpdir, "WEB-INF/click.xml"); + pstr.println("<click-app>"); + + // Dclare the pages package + pstr.println("<pages package='org.apache.click.pages'/>"); + pstr.println("<pages package='org.apache.click.pages'>"); + + // Check that page with absolute classname is resolved + pstr.println(" <page path='page.htm' classname='org.apache.click.pages.BinaryPage'/>"); + // For backward compatibility, check that page with classname is resolved as well. + // In this case Click will prefix the classname with the package declared above. + pstr.println(" <page path='page.htm' classname='BinaryPage'/>"); + pstr.println("</pages>"); + pstr.println("</click-app>"); + pstr.close(); + + MockContainer container = new MockContainer(tmpdir.getAbsolutePath()); + container.start(); + + container.stop(); + deleteDir(tmpdir); + } + + /** + * Test that manually loaded pages that does not exist, throws appropriate + * exception. + * + * CLK-704 + */ + public void testLoadManualNonExistentPageByClassname() throws Exception { + File tmpdir = makeTmpDir(); + + PrintStream pstr = makeXmlStream(tmpdir, "WEB-INF/click.xml"); + pstr.println("<click-app>"); + + // Dclare the pages package + pstr.println("<pages package='org.apache.click.pages'/>"); + pstr.println("<pages package='org.apache.click.pages'>"); + + // Check non existent page + pstr.println(" <page path='page.htm' classname='org.apache.click.pages.noSuchPage'/>"); + pstr.println("</pages>"); + pstr.println("</click-app>"); + pstr.close(); + + MockContainer container = null; + try { + container = new MockContainer(tmpdir.getAbsolutePath()); + container.start(); + fail("No class called NoSuchPage exists. Container should fail to start up"); + } catch (Exception expected) { + } finally { + container.stop(); + } + + deleteDir(tmpdir); + } + public void testHeaders() throws Exception { File tmpdir = makeTmpDir(); From [email protected] Fri Sep 24 13:11:29 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10623 invoked from network); 24 Sep 2010 13:11:29 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Sep 2010 13:11:29 -0000 Received: (qmail 78376 invoked by uid 500); 24 Sep 2010 13:11:29 -0000 Delivered-To: [email protected] Received: (qmail 78359 invoked by uid 500); 24 Sep 2010 13:11:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.click.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78351 invoked by uid 99); 24 Sep 2010 13:11:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Sep 2010 13:11:26 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Sep 2010 13:11:26 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 38D2023889FA; Fri, 24 Sep 2010 13:11:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1000856 - /click/trunk/click/documentation/xdocs/src/docbook/click/chapter-controls.xml Date: Fri, 24 Sep 2010 13:11:06 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: sabob Date: Fri Sep 24 13:11:05 2010 New Revision: 1000856 URL: http://svn.apache.org/viewvc?rev=1000856&view=rev Log: Mention Panels in template layout section Modified: click/trunk/click/documentation/xdocs/src/docbook/click/chapter-controls.xml Modified: click/trunk/click/documentation/xdocs/src/docbook/click/chapter-controls.xml URL: http://svn.apache.org/viewvc/click/trunk/click/documentation/xdocs/src/docbook/click/chapter-controls.xml?rev=1000856&r1=1000855&r2=1000856&view=diff ============================================================================== --- click/trunk/click/documentation/xdocs/src/docbook/click/chapter-controls.xml (original) +++ click/trunk/click/documentation/xdocs/src/docbook/click/chapter-controls.xml Fri Sep 24 13:11:05 2010 @@ -851,7 +851,14 @@ ${form.endTag()}</programlisting> <para>However it is possible to "generify" the layout using template engines such as Velocity, Freemarker and JSP. <ulink url="../../click-api/org/apache/click/control/Form.html#velocity-macros">Macro.vm</ulink> - is an example of a generic form layout using Velocity. + is an example of a generic and reuable form layout using Velocity. + </para> + <para> + <ulink url="../../click-api/org/apache/click/control/Panel.html">Panels</ulink> + provide another good way to build generic and reusable template based layouts. + </para> + <para>Once your generic templates are in place, they can easily be reused + in your project or even shared across multiple projects. </para> </sect2> @@ -1073,8 +1080,8 @@ public class EmployeePage extends Page { components. </para> - <para>However once your custom layout components are in place, it can be - reused across your project and boost productivity. + <para>However once your custom layout components are in place, they can + easily be reused in your project or even shared across multiple projects. </para> <para>Whether you use the <link linkend="template-layout">template</link> From [email protected] Tue Sep 28 09:51:58 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71584 invoked from network); 28 Sep 2010 09:51:58 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 28 Sep 2010 09:51:58 -0000 Received: (qmail 54649 invoked by uid 500); 28 Sep 2010 09:51:58 -0000 Delivered-To: [email protected] Received: (qmail 54634 invoked by uid 500); 28 Sep 2010 09:51:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.click.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 54626 invoked by uid 99); 28 Sep 2010 09:51:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Sep 2010 09:51:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Sep 2010 09:51:54 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 96AB42388A2C; Tue, 28 Sep 2010 09:51:32 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1002079 - in /click/trunk/click: documentation/docs/roadmap-changes.html framework/src/org/apache/click/util/ClickUtils.java Date: Tue, 28 Sep 2010 09:51:32 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: sabob Date: Tue Sep 28 09:51:32 2010 New Revision: 1002079 URL: http://svn.apache.org/viewvc?rev=1002079&view=rev Log: set UTF-8 as default encoding. CLK-720 Modified: click/trunk/click/documentation/docs/roadmap-changes.html click/trunk/click/framework/src/org/apache/click/util/ClickUtils.java Modified: click/trunk/click/documentation/docs/roadmap-changes.html URL: http://svn.apache.org/viewvc/click/trunk/click/documentation/docs/roadmap-changes.html?rev=1002079&r1=1002078&r2=1002079&view=diff ============================================================================== --- click/trunk/click/documentation/docs/roadmap-changes.html (original) +++ click/trunk/click/documentation/docs/roadmap-changes.html Tue Sep 28 09:51:32 2010 @@ -211,6 +211,11 @@ service. Added method, ClickUtils.escape(String), to escape XML characters. </li> <li class="change"> + Improved ClickUtils.encodeUrl to default to "UTF-8" if no request + character encoding is available + [<a target="_blank" href="https://issues.apache.org/jira/browse/CLK-720">CLK-720</a>]. + </li> + <li class="change"> Improved page header support allowing headers to be set from page constructor [<a target="_blank" href="https://issues.apache.org/jira/browse/CLK-711">CLK-711</a>]. </li> Modified: click/trunk/click/framework/src/org/apache/click/util/ClickUtils.java URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/util/ClickUtils.java?rev=1002079&r1=1002078&r2=1002079&view=diff ============================================================================== --- click/trunk/click/framework/src/org/apache/click/util/ClickUtils.java (original) +++ click/trunk/click/framework/src/org/apache/click/util/ClickUtils.java Tue Sep 28 09:51:32 2010 @@ -1981,7 +1981,8 @@ public class ClickUtils { /** * Return an encoded URL value for the given object using the context - * request character encoding. + * request character encoding or "UTF-8" if the request character encoding + * is not specified. * <p/> * For example <tt>(http://host?name=value with spaces)</tt> will become * <tt>(http://host?name=value%20with%20spaces)</tt>. @@ -2005,7 +2006,7 @@ public class ClickUtils { try { if (charset == null) { - return URLEncoder.encode(object.toString()); + return URLEncoder.encode(object.toString(), "UTF-8"); } else { return URLEncoder.encode(object.toString(), charset); From [email protected] Thu Sep 30 07:17:38 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2932 invoked from network); 30 Sep 2010 07:17:38 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 30 Sep 2010 07:17:38 -0000 Received: (qmail 19558 invoked by uid 500); 30 Sep 2010 07:17:38 -0000 Delivered-To: [email protected] Received: (qmail 19541 invoked by uid 500); 30 Sep 2010 07:17:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.click.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 19527 invoked by uid 99); 30 Sep 2010 07:17:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Sep 2010 07:17:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Sep 2010 07:17:35 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1FD8C23889F1; Thu, 30 Sep 2010 07:17:15 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1002954 - /click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java Date: Thu, 30 Sep 2010 07:17:15 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: sabob Date: Thu Sep 30 07:17:14 2010 New Revision: 1002954 URL: http://svn.apache.org/viewvc?rev=1002954&view=rev Log: only prefix page classnames if a package is defined Modified: click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java Modified: click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java?rev=1002954&r1=1002953&r2=1002954&view=diff ============================================================================== --- click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java (original) +++ click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java Thu Sep 30 07:17:14 2010 @@ -1043,7 +1043,7 @@ public class XmlConfigService implements } pagesPackage = pagesPackage.trim(); - if (pagesPackage.endsWith(".")) { + if (pagesPackage.endsWith(".") && pagesPackage.length() > 1) { pagesPackage = pagesPackage.substring(0, pagesPackage.length() - 2); } @@ -1992,41 +1992,41 @@ public class XmlConfigService implements } Class tmpPageClass = null; - String classFound = null; + String classnameFound = null; try { // First, lookup classname as provided tmpPageClass = ClickUtils.classForName(classname); - classFound = classname; + classnameFound = classname; } catch (ClassNotFoundException cnfe) { -// For backward compatibility prefix classname with package name - String prefixedClassname = classname; if (pagesPackage.trim().length() > 0) { - prefixedClassname = pagesPackage + "." + classname; - } - - try { - // CLK-704 - // For backward compatibility, lookup classname prefixed with the package name + // For backward compatibility prefix classname with package name + String prefixedClassname = pagesPackage + "." + classname; - tmpPageClass = ClickUtils.classForName(prefixedClassname); - classFound = prefixedClassname; - - } catch (ClassNotFoundException cnfe2) { - // Throw original exception which used the given classname - String msg = "No class was found for the Page classname: '" - + classname + "'."; - throw new RuntimeException(msg, cnfe); + try { + // CLK-704 + // For backward compatibility, lookup classname prefixed with the package name + + tmpPageClass = + ClickUtils.classForName(prefixedClassname); + classnameFound = prefixedClassname; + + } catch (ClassNotFoundException cnfe2) { + // Throw original exception which used the given classname + String msg = "No class was found for the Page classname: '" + + classname + "'."; + throw new RuntimeException(msg, cnfe); + } } } pageClass = tmpPageClass; if (!Page.class.isAssignableFrom(pageClass)) { - String msg = "Page class '" + classFound + String msg = "Page class '" + classnameFound + "' is not a subclass of org.apache.click.Page"; throw new RuntimeException(msg); }
From [email protected] Fri Aug 01 02:56:09 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29657 invoked from network); 1 Aug 2008 02:56:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Aug 2008 02:56:09 -0000 Received: (qmail 13888 invoked by uid 500); 1 Aug 2008 02:56:08 -0000 Delivered-To: [email protected] Received: (qmail 13879 invoked by uid 500); 1 Aug 2008 02:56:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13868 invoked by uid 99); 1 Aug 2008 02:56:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 19:56:08 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO yw-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 02:55:14 +0000 Received: by yw-out-1718.google.com with SMTP id 5so411660ywm.32 for <[email protected]>; Thu, 31 Jul 2008 19:55:40 -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:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=9FFN87ebtBmZm5sZk3InH+yaAgfqydya7WuU1z+P5zc=; b=twB+2uXNZV3otT3hrdc+YAMQgjMnEh11XUaHB3QBD7O1bA/hcJr43d54M7WB2JMijn /asNEclBCI4M/oUNYpJvJ5UQQAYNbnafWaVEGjGI9ZTydljuu4LQB+7dytWEw8eVdpSF PaFypexvZBHLSYh7f0kOMgr98Qu065uYcgBGk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=HiHal8kj4wrhlrNkeQlI+iQ0gZmLecn5yeFLZj8O5lGWOoAVeRuct7Gigo3MipQRr/ I7AV3r4RXfjYQT1J+oypH/RaW5LrNAcTnkbfNF24a3Wq+2C5j5RC31FNnMJvnOmrMbIm db5iZ9ORsRiQJ4fz9g8310atj7OgYCY0rT6I8= Received: by 161.129.204.104 with SMTP id u2mr2347071ybn.82.1217559340622; Thu, 31 Jul 2008 19:55:40 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 31 Jul 2008 19:55:40 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 1 Aug 2008 04:55:40 +0200 From: "Mezei Zoltan" <[email protected]> To: [email protected] Subject: MINA and Glassfish MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi, I have a really simple client application that uses the following method to establish a connection: Logger logger = LoggerFactory.getLogger("test"); IoConnector ioConnector = new NioSocketConnector(); ioConnector.getFilterChain().addLast("logger", new LoggingFilter()); ioConnector.setHandler(new IoHandlerAdapter()); logger.debug("Before connect..."); ConnectFuture cf = ioConnector.connect(new InetSocketAddress("localhost", 19971)); logger.debug("After connect..."); logger.debug("Before await..."); cf.awaitUninterruptibly(); logger.debug("After await..."); I created a standard java application that invokes this method and got the following output: 04:37:58.575 [main] DEBUG test - Before connect... 04:37:58.581 [main] DEBUG test - After connect... 04:37:58.582 [main] DEBUG test - Before await... 04:37:58.596 [NioProcessor-1] INFO o.a.m.filter.logging.LoggingFilter - CREATED 04:37:58.597 [main] DEBUG test - After await... 04:37:58.598 [NioProcessor-1] INFO o.a.m.filter.logging.LoggingFilter - OPENED 04:37:58.609 [NioProcessor-1] INFO o.a.m.filter.logging.LoggingFilter - RECEIVED: HeapBuffer[pos=0 lim=114 cap=2048: 43 49 4D 44 32 2D 41 20 43 6F 6E 6E 65 63 74 69...] That's OK, I expected this behavior. However I also created a web application that includes a ContextListener. The ContextListener calls the method on startup and I get this output: 04:30:48.469 [httpWorkerThread-4848-1] DEBUG test - Before connect... 04:30:48.477 [httpWorkerThread-4848-1] DEBUG test - After connect... 04:30:48.477 [httpWorkerThread-4848-1] DEBUG test - Before await... 04:30:48.481 [NioSocketConnector-1] WARN o.a.m.core.DefaultExceptionMonitor - Unexpected exception. java.lang.NullPointerException at org.apache.mina.core.polling.AbstractPollingIoConnector$ConnectionRequest.access$200(AbstractPollingIoConnector.java:517) at org.apache.mina.core.polling.AbstractPollingIoConnector.processTimedOutSessions(AbstractPollingIoConnector.java:446) at org.apache.mina.core.polling.AbstractPollingIoConnector.access$600(AbstractPollingIoConnector.java:64) at org.apache.mina.core.polling.AbstractPollingIoConnector$Worker.run(AbstractPollingIoConnector.java:471) at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) What can go wrong when I use the web application? Can I make it work somehow? I'm not really sure if it is a problem with MINA itself or Glassfish or something else, so if you think it's not really a MINA issue please let me know and I'll ask on a more proper forum. -- Zizi "Oh, by the way... Anyone still experiencing stress by the end of the day... WILL BE FIRED!!!" From [email protected] Fri Aug 01 11:19:04 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12036 invoked from network); 1 Aug 2008 11:19:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Aug 2008 11:19:04 -0000 Received: (qmail 93153 invoked by uid 500); 1 Aug 2008 11:19:04 -0000 Delivered-To: [email protected] Received: (qmail 92993 invoked by uid 500); 1 Aug 2008 11:19:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 92982 invoked by uid 99); 1 Aug 2008 11:19:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 04:19:03 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO rv-out-0708.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 11:18:08 +0000 Received: by rv-out-0708.google.com with SMTP id f25so799395rvb.32 for <[email protected]>; Fri, 01 Aug 2008 04:18: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:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=YS0/DiaFsUyBCC9MXvZfZYrwy1tvX7xv43LMJud42mo=; b=vQOllZ/kPNdLzPjyGr+U4JfymbDThoOftg7baayF4Zev+aoqZYQzB2jGUHntkeu0Lz v0w0DgzQ/6uD0aci3Q8+ZG+NiQkts7LvooEE4Sz2y38MljKoZvON+FUEtYJEXiIV8oSD 6R/LzicS69U29oCCT/sksC/zevGC5Z+EHjF08= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Yl9YUNUIfuMEfRUB72vJxAn0cYzA67/Z2C4g5nvyKcjrPcHseGXvikVdHIdyIbPqdG vlgCiliWk8OHWpmkDTyJ72s8QcvA/VZOCceF9/Ktp69FnGH/e8X7PTbXU/8Z3TrJsZMd Sfssr7fLfl3jmQcvqQUdn2bX7UO0W6JFIhNlo= Received: by 161.129.204.104 with SMTP id o1mr11350874wam.114.1217589497444; Fri, 01 Aug 2008 04:18:17 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 1 Aug 2008 04:18:17 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 1 Aug 2008 13:18:17 +0200 From: "Mezei Zoltan" <[email protected]> To: [email protected] Subject: Re: MINA and Glassfish In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Aug 1, 2008 at 4:55 AM, Mezei Zoltan <[email protected]> wrote: > What can go wrong when I use the web application? Can I make it work somehow? Update: I tried to run the program using MINA 2.0.0-M2 when I got the exceptions. The equivalent program works perfectly from the web context using MINA 1.1.7. Should I submit a bug report about this regression? Can I help with more testing or anything else? -- Zizi "Oh, by the way... Anyone still experiencing stress by the end of the day... WILL BE FIRED!!!" From [email protected] Fri Aug 01 15:35:04 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90081 invoked from network); 1 Aug 2008 15:35:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Aug 2008 15:35:03 -0000 Received: (qmail 5859 invoked by uid 500); 1 Aug 2008 15:35:02 -0000 Delivered-To: [email protected] Received: (qmail 5841 invoked by uid 500); 1 Aug 2008 15:35:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 5830 invoked by uid 99); 1 Aug 2008 15:35:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 08:35:02 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO flsc030.serveursdns.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 15:34:06 +0000 Received: from localhost (132.55.101-84.rev.gaoland.net [161.129.204.104]) by smtp-01.serveursdns.net (Postfix) with ESMTP id DB4956E47FB for <[email protected]>; Fri, 1 Aug 2008 17:33:58 +0200 (CEST) Date: Fri, 1 Aug 2008 17:33:57 +0200 From: Julien Vermillard <[email protected]> To: [email protected] Subject: Re: MINA and Glassfish Message-ID: <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/48hjC_1E.h+9VuQQESKO9JO"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Virus-Checked: Checked by ClamAV on apache.org --Sig_/48hjC_1E.h+9VuQQESKO9JO Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 1 Aug 2008 13:18:17 +0200 "Mezei Zoltan" <[email protected]> wrote: > On Fri, Aug 1, 2008 at 4:55 AM, Mezei Zoltan <[email protected]> > wrote: > > What can go wrong when I use the web application? Can I make it > > work somehow? >=20 > Update: I tried to run the program using MINA 2.0.0-M2 when I got the > exceptions. The equivalent program works perfectly from the web > context using MINA 1.1.7. >=20 > Should I submit a bug report about this regression? >=20 > Can I help with more testing or anything else? Hi, can you provide a small test case so we can reproduce it ? If so feel free to attach to a JIRA issue, so we can look at the problem. Cheers, Julien --Sig_/48hjC_1E.h+9VuQQESKO9JO Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIkyzlHMBmbW1IlcURAt+NAJwI3ijcxrFGTQSbSNPSzTrdSem+eQCff1a2 VH9FJEcGVZJPPizMX8kCSDA= =Od6c -----END PGP SIGNATURE----- --Sig_/48hjC_1E.h+9VuQQESKO9JO-- From [email protected] Fri Aug 01 15:51:26 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1909 invoked from network); 1 Aug 2008 15:51:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Aug 2008 15:51:26 -0000 Received: (qmail 38105 invoked by uid 500); 1 Aug 2008 15:51:18 -0000 Delivered-To: [email protected] Received: (qmail 38089 invoked by uid 500); 1 Aug 2008 15:51:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 38072 invoked by uid 99); 1 Aug 2008 15:51:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 08:51:18 -0700 X-ASF-Spam-Status: No, hits=4.7 required=10.0 tests=HTML_MESSAGE,SPF_PASS,TRACKER_ID X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO yw-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 15:50:23 +0000 Received: by yw-out-1718.google.com with SMTP id 5so523016ywm.32 for <[email protected]>; Fri, 01 Aug 2008 08:50:32 -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:to :subject:mime-version:content-type; bh=GxcmF7pypJQFHWfvUfbaF85onmuAmBmj5RDc71lhT1w=; b=mcFsF5aNatmfc1ciptaq3gVXYuva0tPl4FKWp9Kf4AAkXXeBY3kara6O4gSzuppY+R 5ZEa3uXtSlTlJNIveqcXoe37t/eqC5XuWqwdUr2BGYy+cVg/Yt1o/7NQOhJghyDBeePq 6xGLHaYb8NLEne7rE30qH9hgw7lyDZxlcoC8A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=j4ft6FJ+BBqGXga9cYdKeqbjZApwGzeO5WUytig/hqLRr0qSz4fiCRh9nRTcqLdcdb AXBX2HzDFisyuVGJF0dPfIamkLvWzUmMEr0PPdQR9PVTIzTeWNae1FylMan8Oh2jMP2N AcTjKZywXBPadl2yBaWTMdNQzjv+xMReVUnYQ= Received: by 161.129.204.104 with SMTP id w17mr3788331wfj.242.1217605831616; Fri, 01 Aug 2008 08:50:31 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 1 Aug 2008 08:50:31 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 1 Aug 2008 10:50:31 -0500 From: "Louis Naber" <[email protected]> To: [email protected] Subject: CumulativeProtocolDecoder MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5224_6041236.1217605831592" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_5224_6041236.1217605831592 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I have an unfortunate scenario where I am dealing with legacy output peripherals that do not have nicely designed messaging built into them. The messages are variable length, unterminated, with no header information. So I have encountered a scenario, without a decoder, where the response message (for example) is 70 bytes in length. I've confirmed this with a packet analyzer and it is delivered as a single TCP message. A portion of the message is delivered to the IO handler as a 64 byte buffer where the lim=64 and the cap=64, followed immediately by the remainder of the message in a 6 byte buffer. To handle this situation I've implemented a CumulativeProtocolDecoder that checks to see if the buffer lim = cap in which case I make a big assumption that the message is incomplete, returning for more data. This solves the immediate problem but still has me concerned for a number of reasons. 1. Is MINA buffering splitting the message to fit into buffers. 2. What if the message is exactly the buffer size, my algorithm would cause the message to "hang" so to speak. The question I have, is it possible to find out if more data is available for the session when the lim=capacity just to make sure that the incomplete message assumption is correct? Best Regards Louis ------=_Part_5224_6041236.1217605831592-- From [email protected] Fri Aug 01 19:40:38 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53962 invoked from network); 1 Aug 2008 19:40:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Aug 2008 19:40:38 -0000 Received: (qmail 72937 invoked by uid 500); 1 Aug 2008 19:40:37 -0000 Delivered-To: [email protected] Received: (qmail 72927 invoked by uid 500); 1 Aug 2008 19:40:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 72902 invoked by uid 99); 1 Aug 2008 19:40:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 12:40:37 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO emh01.mail.saunalahti.fi) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 19:39:40 +0000 Received: from saunalahti-vams (vs3-12.mail.saunalahti.fi [161.129.204.104]) by emh01-2.mail.saunalahti.fi (Postfix) with SMTP id E0B131AA26 for <[email protected]>; Fri, 1 Aug 2008 22:39:21 +0300 (EEST) Received: from emh05.mail.saunalahti.fi ([161.129.204.104]) by vs3-12.mail.saunalahti.fi ([161.129.204.104]) with SMTP (gateway) id A06BC5CAC77; Fri, 01 Aug 2008 22:39:21 +0300 Received: from anubis.fi.indagon.com (gw.indagon.com [161.129.204.104]) by emh05.mail.saunalahti.fi (Postfix) with ESMTP id CE8D927DBC for <[email protected]>; Fri, 1 Aug 2008 22:39:20 +0300 (EEST) Received: from [161.129.204.104] ([email protected] [161.129.204.104]) by anubis.fi.indagon.com (8.13.8/8.13.8) with ESMTP id m71JdJcj032166 for <[email protected]>; Fri, 1 Aug 2008 22:39:20 +0300 Message-ID: <[email protected]> Date: Fri, 01 Aug 2008 22:39:19 +0300 From: Tuure Laurinolli <[email protected]> User-Agent: Icedove 161.129.204.104 (X11/20070730) MIME-Version: 1.0 To: [email protected] Subject: Re: CumulativeProtocolDecoder References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: VAMS X-Virus-Checked: Checked by ClamAV on apache.org Louis Naber wrote: > I have an unfortunate scenario where I am dealing with legacy output > peripherals that do not have nicely designed messaging built into them. The > messages are variable length, unterminated, with no header information. Are there *any* rules that allow detection of message boundaries? For example, is there a time interval between messages? Is a message always sent in a single IP packet, and is there enough knowledge of the underlying protocol stack to assume that there will be no fragmentation? > The question I have, is it possible to find out if more data is available > for the session when the lim=capacity just to make sure that the incomplete > message assumption is correct? If there is a time interval between messages, you could probably start a timer when data is received, buffering the data received until the timer fires, and then pass the buffered data onwards. From [email protected] Mon Aug 04 06:15:11 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36686 invoked from network); 4 Aug 2008 06:15:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Aug 2008 06:15:11 -0000 Received: (qmail 38239 invoked by uid 500); 4 Aug 2008 06:15:10 -0000 Delivered-To: [email protected] Received: (qmail 38227 invoked by uid 500); 4 Aug 2008 06:15:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 38212 invoked by uid 99); 4 Aug 2008 06:15:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Aug 2008 23:15:10 -0700 X-ASF-Spam-Status: No, hits=-2.0 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mailgw3.ericsson.se) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 06:14:12 +0000 Received: from mailgw3.ericsson.se (unknown [161.129.204.104]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id 906FF2052D for <[email protected]>; Mon, 4 Aug 2008 08:14:37 +0200 (CEST) X-AuditID: c1b4fb3c-ae89cbb00000193b-e1-48969e4d76e4 Received: from esealmw126.eemea.ericsson.se (unknown [161.129.204.104]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id 73BA72044E for <[email protected]>; Mon, 4 Aug 2008 08:14:37 +0200 (CEST) Received: from esealmw126.eemea.ericsson.se ([161.129.204.104]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC+1-218-282-5572); Mon, 4 Aug 2008 08:14:37 +0200 Received: from emyklmw103.eapac.ericsson.se ([161.129.204.104]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC+1-218-282-5572); Mon, 4 Aug 2008 08:14:36 +0200 Received: from ecnshmw511.eapac.ericsson.se ([161.129.204.104]) by emyklmw103.eapac.ericsson.se with Microsoft SMTPSVC+1-218-282-5572); Mon, 4 Aug 2008 14:12:57 +0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C8F5F9.2297BA94" Subject: OutOfMemoryError Java heap space after using ReadThrottleFilter Date: Mon, 4 Aug 2008 14:12:55 +0800 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: OutOfMemoryError Java heap space after using ReadThrottleFilter Thread-Index: Acj1+SI2vLJJSrZPTuaaHZbBO+9blw== From: "Wenrui Guo" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 04 Aug 2008 06:12:57.0924 (UTC) FILETIME=[23F8F840:01C8F5F9] X-Brightmail-Tracker: AAAAAA== X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C8F5F9.2297BA94 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, all Since I want to control incoming messages retrieved from SMSC, I decided to use ReadThrottleFilter to block excessive messages. The code snippet listed as below: // Executor used to control read throttle private ScheduledExecutorService throttleExecutor =3D Executors .newScheduledThreadPool(1); connector =3D new NioSocketConnector(); connector.setConnectTimeout(connectTimeout); connector.getFilterChain().addLast("codec", new ProtocolCodecFilter(new SMPPCodecFactory(false))); connector.getFilterChain().addLast("exec", new ExecutorFilter()); connector.getFilterChain().addLast("throttle", new ReadThrottleFilter(throttleExecutor)); But under high workload, the system still throw such exception: Exception in thread "pool-5-thread-3" java.lang.OutOfMemoryError: Java heap space Who can tell me how can I achieve flow control aim? Does readThrottleFilter can't limit message flow? BR andeson ------_=_NextPart_001_01C8F5F9.2297BA94-- From [email protected] Mon Aug 04 06:30:17 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47933 invoked from network); 4 Aug 2008 06:30:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Aug 2008 06:30:17 -0000 Received: (qmail 43039 invoked by uid 500); 4 Aug 2008 06:30:16 -0000 Delivered-To: [email protected] Received: (qmail 43027 invoked by uid 500); 4 Aug 2008 06:30:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 43016 invoked by uid 99); 4 Aug 2008 06:30:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Aug 2008 23:30:16 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mailgw4.ericsson.se) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 06:29:18 +0000 Received: from mailgw4.ericsson.se (unknown [161.129.204.104]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id AE1AB207B9 for <[email protected]>; Mon, 4 Aug 2008 08:29:43 +0200 (CEST) X-AuditID: c1b4fb3e-ae999bb000004ec0-57-4896a1af4f81 Received: from esealmw129.eemea.ericsson.se (unknown [161.129.204.104]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id +1-218-282-5572 for <[email protected]>; Mon, 4 Aug 2008 08:29:03 +0200 (CEST) Received: from esealmw129.eemea.ericsson.se ([161.129.204.104]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC+1-218-282-5572); Mon, 4 Aug 2008 08:29:02 +0200 Received: from emyklmw103.eapac.ericsson.se ([161.129.204.104]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC+1-218-282-5572); Mon, 4 Aug 2008 08:29:01 +0200 Received: from ecnshmw511.eapac.ericsson.se ([161.129.204.104]) by emyklmw103.eapac.ericsson.se with Microsoft SMTPSVC+1-218-282-5572); Mon, 4 Aug 2008 14:26:56 +0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: OutOfMemoryError Java heap space after using ReadThrottleFilter Date: Mon, 4 Aug 2008 14:26:55 +0800 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: OutOfMemoryError Java heap space after using ReadThrottleFilter Thread-Index: Acj1+SI2vLJJSrZPTuaaHZbBO+9blwAARrpw References: <[email protected]> From: "Wenrui Guo" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 04 Aug 2008 06:26:56.0887 (UTC) FILETIME=[18089070:01C8F5FB] X-Brightmail-Tracker: AAAAAA== X-Virus-Checked: Checked by ClamAV on apache.org The complete exception logs like follows: WARNING: Read buffer flooded - session: 433071408 / 65536 bytes, service: 433586448 / 67108864 bytes, global: 433586448 / 134217728 bytes. Aug 4, 2008 2:23:36 PM org.apache.mina.filter.traffic.ReadThrottleFilter log WARNING: Read buffer flooded - session: 433408416 / 65536 bytes, service: 433658336 / 67108864 bytes, global: 433658336 / 134217728 bytes. Aug 4, 2008 2:23:36 PM org.apache.mina.filter.traffic.ReadThrottleFilter log WARNING: Read buffer flooded - session: 295520 / 65536 bytes, service: 433703768 / 67108864 bytes, global: 433703768 / 134217728 bytes. Aug 4, 2008 2:23:41 PM org.apache.mina.filter.traffic.ReadThrottleFilter log WARNING: Read buffer flooded - session: 434435736 / 65536 bytes, service: 435337336 / 67108864 bytes, global: 435337176 / 134217728 bytes. Aug 4, 2008 2:23:44 PM org.apache.mina.filter.traffic.ReadThrottleFilter log WARNING: Read buffer flooded - session: 503360 / 65536 bytes, service: 435082904 / 67108864 bytes, global: 435082904 / 134217728 bytes. Aug 4, 2008 2:23:47 PM org.apache.mina.filter.traffic.ReadThrottleFilter log WARNING: Read buffer flooded - session: 434579712 / 65536 bytes, service: 435462112 / 67108864 bytes, global: 435462592 / 134217728 bytes. Aug 4, 2008 2:23:55 PM org.apache.mina.common.DefaultExceptionMonitor exceptionCaught WARNING: Unexpected exception. java.lang.OutOfMemoryError: Java heap space at java.util.HashMap.newKeyIterator(HashMap.java:889) at java.util.HashMap$KeySet.iterator(HashMap.java:921) at java.util.HashSet.iterator(HashSet.java:154) at sun.nio.ch.SelectorImpl.processDeregisterQueue(SelectorImpl.java:127) at sun.nio.ch.PollSelectorImpl.doSelect(PollSelectorImpl.java:60) at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) at org.apache.mina.transport.socket.nio.NioProcessor.select(NioProcessor.ja va:65) at org.apache.mina.common.AbstractPollingIoProcessor$Worker.run(AbstractPol lingIoProcessor.java:672) at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.j ava:51) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecuto r.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja va:675) at java.lang.Thread.run(Thread.java:595) Aug 4, 2008 2:23:51 PM org.apache.mina.filter.traffic.ReadThrottleFilter log WARNING: Read buffer flooded - session: 435391656 / 65536 bytes, service: 436694856 / 67108864 bytes, global: 436694856 / 134217728 bytes. Aug 4, 2008 2:23:55 PM org.apache.mina.common.DefaultExceptionMonitor exceptionCaught WARNING: Unexpected exception. java.lang.OutOfMemoryError: Java heap space at sun.nio.ch.Util.releaseTemporaryDirectBuffer(Util.java:67) at sun.nio.ch.IOUtil.write(IOUtil.java:82) at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:302) at org.apache.mina.transport.socket.nio.NioProcessor.write(NioProcessor.jav a:162) at org.apache.mina.transport.socket.nio.NioProcessor.write(NioProcessor.jav a:41) at org.apache.mina.common.AbstractPollingIoProcessor.writeBuffer(AbstractPo llingIoProcessor.java:567) at org.apache.mina.common.AbstractPollingIoProcessor.flushNow(AbstractPolli ngIoProcessor.java:528) at org.apache.mina.common.AbstractPollingIoProcessor.flush(AbstractPollingI oProcessor.java:469) at org.apache.mina.common.AbstractPollingIoProcessor.access$500(AbstractPol lingIoProcessor.java:43) at org.apache.mina.common.AbstractPollingIoProcessor$Worker.run(AbstractPol lingIoProcessor.java:681) at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.j ava:51) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecuto r.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja va:675) at java.lang.Thread.run(Thread.java:595) Aug 4, 2008 2:23:55 PM org.apache.mina.filter.traffic.ReadThrottleFilter log BR anderson -----Original Message----- From: Wenrui Guo [mailto:[email protected]]=20 Sent: Monday, August 04, 2008 2:13 PM To: [email protected] Subject: OutOfMemoryError Java heap space after using ReadThrottleFilter Hi, all Since I want to control incoming messages retrieved from SMSC, I decided to use ReadThrottleFilter to block excessive messages. The code snippet listed as below: // Executor used to control read throttle private ScheduledExecutorService throttleExecutor =3D Executors .newScheduledThreadPool(1); connector =3D new NioSocketConnector(); connector.setConnectTimeout(connectTimeout); connector.getFilterChain().addLast("codec", new ProtocolCodecFilter(new SMPPCodecFactory(false))); connector.getFilterChain().addLast("exec", new ExecutorFilter()); connector.getFilterChain().addLast("throttle", new ReadThrottleFilter(throttleExecutor)); But under high workload, the system still throw such exception: Exception in thread "pool-5-thread-3" java.lang.OutOfMemoryError: Java heap space Who can tell me how can I achieve flow control aim? Does readThrottleFilter can't limit message flow? BR andeson From [email protected] Mon Aug 04 06:57:26 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63271 invoked from network); 4 Aug 2008 06:57:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Aug 2008 06:57:26 -0000 Received: (qmail 62491 invoked by uid 500); 4 Aug 2008 06:57:25 -0000 Delivered-To: [email protected] Received: (qmail 62473 invoked by uid 500); 4 Aug 2008 06:57:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 62462 invoked by uid 99); 4 Aug 2008 06:57:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Aug 2008 23:57:25 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mailgw4.ericsson.se) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 06:56:27 +0000 Received: from mailgw4.ericsson.se (unknown [161.129.204.104]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id EB60C20680 for <[email protected]>; Mon, 4 Aug 2008 08:56:22 +0200 (CEST) X-AuditID: c1b4fb3e-ad997bb000004ec0-ea-4896a8163314 Received: from esealmw126.eemea.ericsson.se (unknown [161.129.204.104]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id C2BF520182 for <[email protected]>; Mon, 4 Aug 2008 08:56:22 +0200 (CEST) Received: from esealmw126.eemea.ericsson.se ([161.129.204.104]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC+1-218-282-5572); Mon, 4 Aug 2008 08:56:22 +0200 Received: from emyklmw103.eapac.ericsson.se ([161.129.204.104]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC+1-218-282-5572); Mon, 4 Aug 2008 08:56:21 +0200 Received: from ecnshmw511.eapac.ericsson.se ([161.129.204.104]) by emyklmw103.eapac.ericsson.se with Microsoft SMTPSVC+1-218-282-5572); Mon, 4 Aug 2008 14:53:51 +0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: OutOfMemoryError Java heap space after using ReadThrottleFilter Date: Mon, 4 Aug 2008 14:52:58 +0800 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: OutOfMemoryError Java heap space after using ReadThrottleFilter Thread-Index: Acj1+SI2vLJJSrZPTuaaHZbBO+9blwAARrpwAAEcfVA= References: <[email protected]> <[email protected]> From: "Wenrui Guo" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 04 Aug 2008 06:53:51.0095 (UTC) FILETIME=[DA2D2870:01C8F5FE] X-Brightmail-Tracker: AAAAAA== X-Virus-Checked: Checked by ClamAV on apache.org By the way. The Mina version I am using is MINA 2.0M1.=20 -----Original Message----- From: Wenrui Guo [mailto:[email protected]]=20 Sent: Monday, August 04, 2008 2:27 PM To: [email protected] Subject: RE: OutOfMemoryError Java heap space after using ReadThrottleFilter The complete exception logs like follows: WARNING: Read buffer flooded - session: 433071408 / 65536 bytes, service: 433586448 / 67108864 bytes, global: 433586448 / 134217728 bytes. Aug 4, 2008 2:23:36 PM org.apache.mina.filter.traffic.ReadThrottleFilter log WARNING: Read buffer flooded - session: 433408416 / 65536 bytes, service: 433658336 / 67108864 bytes, global: 433658336 / 134217728 bytes. Aug 4, 2008 2:23:36 PM org.apache.mina.filter.traffic.ReadThrottleFilter log WARNING: Read buffer flooded - session: 295520 / 65536 bytes, service: 433703768 / 67108864 bytes, global: 433703768 / 134217728 bytes. Aug 4, 2008 2:23:41 PM org.apache.mina.filter.traffic.ReadThrottleFilter log WARNING: Read buffer flooded - session: 434435736 / 65536 bytes, service: 435337336 / 67108864 bytes, global: 435337176 / 134217728 bytes. Aug 4, 2008 2:23:44 PM org.apache.mina.filter.traffic.ReadThrottleFilter log WARNING: Read buffer flooded - session: 503360 / 65536 bytes, service: 435082904 / 67108864 bytes, global: 435082904 / 134217728 bytes. Aug 4, 2008 2:23:47 PM org.apache.mina.filter.traffic.ReadThrottleFilter log WARNING: Read buffer flooded - session: 434579712 / 65536 bytes, service: 435462112 / 67108864 bytes, global: 435462592 / 134217728 bytes. Aug 4, 2008 2:23:55 PM org.apache.mina.common.DefaultExceptionMonitor exceptionCaught WARNING: Unexpected exception. java.lang.OutOfMemoryError: Java heap space at java.util.HashMap.newKeyIterator(HashMap.java:889) at java.util.HashMap$KeySet.iterator(HashMap.java:921) at java.util.HashSet.iterator(HashSet.java:154) at sun.nio.ch.SelectorImpl.processDeregisterQueue(SelectorImpl.java:127) at sun.nio.ch.PollSelectorImpl.doSelect(PollSelectorImpl.java:60) at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) at org.apache.mina.transport.socket.nio.NioProcessor.select(NioProcessor.ja va:65) at org.apache.mina.common.AbstractPollingIoProcessor$Worker.run(AbstractPol lingIoProcessor.java:672) at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.j ava:51) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecuto r.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja va:675) at java.lang.Thread.run(Thread.java:595) Aug 4, 2008 2:23:51 PM org.apache.mina.filter.traffic.ReadThrottleFilter log WARNING: Read buffer flooded - session: 435391656 / 65536 bytes, service: 436694856 / 67108864 bytes, global: 436694856 / 134217728 bytes. Aug 4, 2008 2:23:55 PM org.apache.mina.common.DefaultExceptionMonitor exceptionCaught WARNING: Unexpected exception. java.lang.OutOfMemoryError: Java heap space at sun.nio.ch.Util.releaseTemporaryDirectBuffer(Util.java:67) at sun.nio.ch.IOUtil.write(IOUtil.java:82) at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:302) at org.apache.mina.transport.socket.nio.NioProcessor.write(NioProcessor.jav a:162) at org.apache.mina.transport.socket.nio.NioProcessor.write(NioProcessor.jav a:41) at org.apache.mina.common.AbstractPollingIoProcessor.writeBuffer(AbstractPo llingIoProcessor.java:567) at org.apache.mina.common.AbstractPollingIoProcessor.flushNow(AbstractPolli ngIoProcessor.java:528) at org.apache.mina.common.AbstractPollingIoProcessor.flush(AbstractPollingI oProcessor.java:469) at org.apache.mina.common.AbstractPollingIoProcessor.access$500(AbstractPol lingIoProcessor.java:43) at org.apache.mina.common.AbstractPollingIoProcessor$Worker.run(AbstractPol lingIoProcessor.java:681) at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.j ava:51) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecuto r.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja va:675) at java.lang.Thread.run(Thread.java:595) Aug 4, 2008 2:23:55 PM org.apache.mina.filter.traffic.ReadThrottleFilter log BR anderson -----Original Message----- From: Wenrui Guo [mailto:[email protected]] Sent: Monday, August 04, 2008 2:13 PM To: [email protected] Subject: OutOfMemoryError Java heap space after using ReadThrottleFilter Hi, all Since I want to control incoming messages retrieved from SMSC, I decided to use ReadThrottleFilter to block excessive messages. The code snippet listed as below: // Executor used to control read throttle private ScheduledExecutorService throttleExecutor =3D Executors .newScheduledThreadPool(1); connector =3D new NioSocketConnector(); connector.setConnectTimeout(connectTimeout); connector.getFilterChain().addLast("codec", new ProtocolCodecFilter(new SMPPCodecFactory(false))); connector.getFilterChain().addLast("exec", new ExecutorFilter()); connector.getFilterChain().addLast("throttle", new ReadThrottleFilter(throttleExecutor)); But under high workload, the system still throw such exception: Exception in thread "pool-5-thread-3" java.lang.OutOfMemoryError: Java heap space Who can tell me how can I achieve flow control aim? Does readThrottleFilter can't limit message flow? BR andeson From [email protected] Mon Aug 04 08:42:57 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7855 invoked from network); 4 Aug 2008 08:42:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Aug 2008 08:42:57 -0000 Received: (qmail 51450 invoked by uid 500); 4 Aug 2008 08:42:56 -0000 Delivered-To: [email protected] Received: (qmail 51437 invoked by uid 500); 4 Aug 2008 08:42:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51426 invoked by uid 99); 4 Aug 2008 08:42:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 01:42:56 -0700 X-ASF-Spam-Status: No, hits=-2.0 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mailgw4.ericsson.se) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 08:41:58 +0000 Received: from mailgw4.ericsson.se (unknown [161.129.204.104]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id 651CA200AA for <[email protected]>; Mon, 4 Aug 2008 10:42:24 +0200 (CEST) X-AuditID: c1b4fb3e-b019cbb000004ec0-e6-4896c0f0e4f9 Received: from esealmw129.eemea.ericsson.se (unknown [161.129.204.104]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id 42D3620397 for <[email protected]>; Mon, 4 Aug 2008 10:42:24 +0200 (CEST) Received: from esealmw127.eemea.ericsson.se ([161.129.204.104]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC+1-218-282-5572); Mon, 4 Aug 2008 10:42:23 +0200 Received: from emyklmw103.eapac.ericsson.se ([161.129.204.104]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC+1-218-282-5572); Mon, 4 Aug 2008 10:42:23 +0200 Received: from ecnshmw511.eapac.ericsson.se ([161.129.204.104]) by emyklmw103.eapac.ericsson.se with Microsoft SMTPSVC+1-218-282-5572); Mon, 4 Aug 2008 16:39:47 +0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C8F60D.A61ABDB4" Subject: ReadThrottleFilter missing in MINA 2.0-M2 Date: Mon, 4 Aug 2008 16:39:45 +0800 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ReadThrottleFilter missing in MINA 2.0-M2 Thread-Index: Acj2DaXs3Fxj5kXcTVagwCLJ1ZNxiw== From: "Wenrui Guo" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 04 Aug 2008 08:39:47.0402 (UTC) FILETIME=[A6D4A2A0:01C8F60D] X-Brightmail-Tracker: AAAAAA== X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C8F60D.A61ABDB4 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, all I was confused by missing ReadThrottleFilter class in MINA 2.0-M2. Because I used this class for flow controlling in my application. And I encountered OutOfMemory when using such filter. Does it mean ReadThrottleFilter is abandoned for some unknown reason? BR anderson ------_=_NextPart_001_01C8F60D.A61ABDB4-- From [email protected] Tue Aug 05 11:10:27 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55406 invoked from network); 5 Aug 2008 11:10:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Aug 2008 11:10:27 -0000 Received: (qmail 1289 invoked by uid 500); 5 Aug 2008 11:10:26 -0000 Delivered-To: [email protected] Received: (qmail 1275 invoked by uid 500); 5 Aug 2008 11:10:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 1264 invoked by uid 99); 5 Aug 2008 11:10:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2008 04:10:26 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2008 11:09:30 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1KQKQO-0002DH-3q for [email protected]; Tue, 05 Aug 2008 04:09:56 -0700 Message-ID: <[email protected]> Date: Tue, 5 Aug 2008 04:09:56 -0700 (PDT) From: lnaber <[email protected]> To: [email protected] Subject: Re: CumulativeProtocolDecoder In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Tuure Laurinolli-2 wrote: > > >>Are there *any* rules that allow detection of message boundaries? For >>example, is there a time interval between messages? Is a message always >>sent in a single IP packet, and is there enough knowledge of the >>underlying protocol stack to assume that there will be no fragmentation? > >>If there is a time interval between messages, you could probably start a >>timer when data is received, buffering the data received until the timer >>fires, and then pass the buffered data onwards. > > The application is conversational in that a request-response is expected so yes, there is timing available. I like the time interval idea but I'm not sure how to insert that into the MINA objects (session, filter) life cycle events. Potentially the session's idle timer could be used to detect message boundaries but how does one insert that back into the CumulativeProtocolDecoder's event to process and complete the message flow through the filter stack? -- View this message in context: http://www.nabble.com/CumulativeProtocolDecoder-tp18777497p18828914.html Sent from the Apache MINA User Forum mailing list [email protected]. From [email protected] Tue Aug 05 11:32:43 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67575 invoked from network); 5 Aug 2008 11:32:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Aug 2008 11:32:43 -0000 Received: (qmail 26380 invoked by uid 500); 5 Aug 2008 11:32:42 -0000 Delivered-To: [email protected] Received: (qmail 26369 invoked by uid 500); 5 Aug 2008 11:32:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26347 invoked by uid 99); 5 Aug 2008 11:32:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2008 04:32:42 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2008 11:31:45 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1KQKlv-0002vz-LQ for [email protected]; Tue, 05 Aug 2008 04:32:11 -0700 Message-ID: <[email protected]> Date: Tue, 5 Aug 2008 04:32:11 -0700 (PDT) From: lnaber <[email protected]> To: [email protected] Subject: Re: CumulativeProtocolDecoder In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] References: <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org lnaber wrote: > > > Tuure Laurinolli-2 wrote: >> >> >>>Are there *any* rules that allow detection of message boundaries? For >>>example, is there a time interval between messages? Is a message always >>>sent in a single IP packet, and is there enough knowledge of the >>>underlying protocol stack to assume that there will be no fragmentation? >> >>>If there is a time interval between messages, you could probably start a >>>timer when data is received, buffering the data received until the timer >>>fires, and then pass the buffered data onwards. >> >> > > The application is conversational in that a request-response is expected > so yes, there is timing available. > > I like the time interval idea but I'm not sure how to insert that into the > MINA objects (session, filter) life cycle events. Potentially the > session's > idle timer could be used to detect message boundaries but how does > one insert that back into the CumulativeProtocolDecoder's event to > process and complete the message flow through the filter stack? > Is it possible to set & reset the session idle timer during operation? For detecting a subset of messages that fall into the scenario described earlier it would be good to timeout very quickly (100 ms) but that would not be the optimal setting for the overall operation. So the CumulativeProtocolDecoder subclass could, when it detected the fragmented message, set the timer very short until the fragment is located, then set the timer back to a more reasonable value. -- View this message in context: http://www.nabble.com/CumulativeProtocolDecoder-tp18777497p18829198.html Sent from the Apache MINA User Forum mailing list [email protected]. From [email protected] Tue Aug 05 20:15:26 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21858 invoked from network); 5 Aug 2008 20:15:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Aug 2008 20:15:25 -0000 Received: (qmail 12965 invoked by uid 500); 5 Aug 2008 20:15:24 -0000 Delivered-To: [email protected] Received: (qmail 12943 invoked by uid 500); 5 Aug 2008 20:15:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 12931 invoked by uid 99); 5 Aug 2008 20:15:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2008 13:15:24 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wr-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2008 20:14:29 +0000 Received: by wr-out-0506.google.com with SMTP id 69so1835417wra.16 for <[email protected]>; Tue, 05 Aug 2008 13:14:39 -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:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=7eo/x6tUBh+GwnV0GKIap3nEOzFNo7Wtl3hhOx4O2XA=; b=ISCeA6zVNpDNrK6N9wjPWkXHOU+uzr5UE6MWtExPnFei4XJL0y4avN1utXc0qxUEiT xeqLP+BW37Dux3qZdNFj7uxgaHAGTt3nqdhzwEefZfO7WOG8+txSgIIRmYRuBZdj8w9S MxZYouVQihM+KL3xTw0nC9phj5nTekNr1f8ik= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=hgQrnbAIE7mqqS4tTg2rrNTmWXAxdfZIdkIDJGuv5F8iG/MyaAx7rGydjKGyK/PJrK UaCOgmtUHz56lWi1z74nzm4ex14UD7Vx3+2+PhFG08CGdGktoU+qwVabfwaNWaLB54x0 ml+g0bZoOoP+0TmYfQ6BzSPOu1dTfX0kJhVwo= Received: by 161.129.204.104 with SMTP id o5mr1906092aga.94.1217967278881; Tue, 05 Aug 2008 13:14:38 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 5 Aug 2008 13:14:38 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 5 Aug 2008 22:14:38 +0200 From: "W.B. Garvelink" <[email protected]> To: [email protected] Subject: Re: CumulativeProtocolDecoder In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org If there's no message terminator whatsoever, you have to work time-based (can't think of any other way, but maybe that's just me). In that case you're looking at is basically a two-state state machine with a "wait for first data" state and an "accumulate until timeout then reset" state. If I understand your problem correctly, I think something along these lines might do the trick. The pseudocode is a bit nasty, but you get the idea. // used instead of CumulativeProtocolDecoder, not alongside it public class MyFilter extends IoFilterAdapter { /** Helper class for MyFilter, an instance of this class is bound to every IoSession */ private static class Accumulator { // synchronize all access to these fields, as we'll be using two threads! private final IoBuffer accumulator = newBuffer(); private boolean setTimeout = true; private static IoBuffer newBuffer() { // return a new IoBuffer of reasonable size and maybe setAutoExpand(true) } public synchronized boolean receive(IoBuffer message) { accumulator.put(message); if (setTimeout) { setTimeout = false; return true; } return false; } public synchronized IoBuffer flush() { setTimeout = true; IoBuffer returnval = accumulator; accumulator = newBuffer(); returnval.flip(); return returnval; } } private final ScheduledExecutorService scheduler = Executors.newScheduledThreadPool(); private final static long TIMEOUT = 250L; //Whatever is reasonable @Override public void sessionCreated() { // insert a new Accumulator into the session } @Override public void messageReceived(final NextFilter nf, final Session ssn, Object msg) { final Accumulator accu = // retrieve accumulator from session if (accu.receive( (IoBuffer)msg )) { scheduler.schedule( new Runnable() { public void run() { nf.messageReceived(ssn, accu.flush()); } }, TIMEOUT, TimeUnit.MILLISECONDS); } // done } // override sessionClosed() to cancel any scheduled tasks } HTH, Barend On Tue, Aug 5, 2008 at 1:32 PM, lnaber <[email protected]> wrote: >>>>Are there *any* rules that allow detection of message boundaries? For >>>>example, is there a time interval between messages? >> >> The application is conversational in that a request-response is expected >> so yes, there is timing available. >> From [email protected] Tue Aug 05 22:19:52 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29152 invoked from network); 5 Aug 2008 22:19:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Aug 2008 22:19:51 -0000 Received: (qmail 99766 invoked by uid 500); 5 Aug 2008 22:19:50 -0000 Delivered-To: [email protected] Received: (qmail 99749 invoked by uid 500); 5 Aug 2008 22:19:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99738 invoked by uid 99); 5 Aug 2008 22:19:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2008 15:19:50 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO fg-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2008 22:18:52 +0000 Received: by fg-out-1718.google.com with SMTP id 16so1453381fgg.40 for <[email protected]>; Tue, 05 Aug 2008 15:19:01 -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:reply-to :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=HQfWxU5o/KUBeOE0N/Q1KfyJf/s3AJA/a1+rVPwpf+M=; b=XqXACROlDrgairmbYNxh456vkx9gNoKcHUpvR0G/rhvL25XszXGdGNF10E5ZsAu+9s 655oq/5KFNCTNZJSV0w43ZP2GVITXgaeOzPFtN06fo/feb52VG1kNG96vL+jDYsbGiVt R3d/31sVcbc3c7y5mw97nJ1lkem/P0CjcTFVI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=g+PlVgNlk/IYLjviMpR2hlTqLprI0Y1qDJ23NDVYN5uTBXqViJ1JLjt8sXohJHeslb X9RyLxHseu7DxzcwBM80JkCf/nmgkRhy2wl1RaZoddSVaoc68s0EFWpl4oocym4arSB5 hDrNIQTCwv3OaYa2OhjW8Mbe1631FAtQtAM08= Received: by 161.129.204.104 with SMTP id m1mr249248fgb.68.1217974741406; Tue, 05 Aug 2008 15:19:01 -0700 (PDT) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTPS id d6sm2575204fga.2.2161.129.204.104.18.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 05 Aug 2008 15:19:00 -0700 (PDT) Message-ID: <[email protected]> Date: Wed, 06 Aug 2008 00:18:58 +0200 From: Emmanuel Lecharny <[email protected]> Reply-To: [email protected] User-Agent: Thunderbird 161.129.204.104 (X11/20080724) MIME-Version: 1.0 To: [email protected] Subject: Re: Async events with existing NIO sockets. References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Raghu, I may be wrong, but I don't think this is possible with MINA., natively. You may have to define a new NioSocketConnector where you can pass an already connected socket as a parameter (just an idea, not sure this is easy to do). Hope it helps (at least a bit ;) Raghu Angadi wrote: > > I thought I will ask again, just to be sure : > > My current use case looks like this : > > [write socket]---<----( Thread )---<----[read socket] > > Traffic from read socket to write socket is pretty low. These are > non-blocking NIO sockets created else where (not by MINA). I would > like to replace these threads using MINA. > > Can someone confirm if it is possible or not possible to use existing > sockets with MINA? > > Thanks, > Raghu. > > > Raghu Angadi wrote: >> >> I am thinking of using MINA in Hadoop (hadoop.apache.org). >> >> The initial use case for a simple handler looks like this : >> >> It two NIO TCP sockets (already created somewhere else). It wants to >> read a few bytes from one and write a few bytes to other. Sometimes >> it might asynchronously close the session(s). >> >> I downloaded MINA but could not find any examples or interface where >> it lets me create a new "session" with existing socket. Which >> IoService would you use for such a case. >> >> All the use cases seem to have the sockets created by MINA. >> >> thanks, >> Raghu. > > -- -- cordialement, regards, Emmanuel Lécharny www.iktek.com directory.apache.org From [email protected] Tue Aug 05 23:42:52 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3138 invoked from network); 5 Aug 2008 23:42:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Aug 2008 23:42:52 -0000 Received: (qmail 13309 invoked by uid 500); 5 Aug 2008 23:42:51 -0000 Delivered-To: [email protected] Received: (qmail 13297 invoked by uid 500); 5 Aug 2008 23:42:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13286 invoked by uid 99); 5 Aug 2008 23:42:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2008 16:42:51 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mrout1.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2008 23:41:53 +0000 Received: from [161.129.204.104] (heighthigh-lx.corp.yahoo.com [161.129.204.104]) by mrout1.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id m75Ng1lf046459 for <[email protected]>; Tue, 5 Aug 2008 16:42:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:subject: references:in-reply-to:content-type:content-transfer-encoding; b=ZY4bYws9idp2O+oYV9GMz2Tj9gq0u9x1HHalQtrRfPNwC/kwYNoSt6a4XsSIEQ7u Message-ID: <[email protected]> Date: Tue, 05 Aug 2008 16:42:00 -0700 From: Raghu Angadi <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20080708) MIME-Version: 1.0 To: [email protected] Subject: Re: Async events with existing NIO sockets. References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Thanks Emmanuel. It does look like it is not possible to do. Frankly a surprise for me. Mina seems so close :). Is there any interest in enabling such a functionality? Need not be exactly what I proposed.. but some thing similar. Some very useful things are public and some equally useful things are visible only with in the package. I am not sure about the rationale behind it or how long the currently public classes stay public. There are a few more features for MINA we are interested in. I filed a Jira to discuss using Mina as the NIO framework in Hadoop : https://issues.apache.org/jira/browse/HADOOP-3856 Current state : --------------- I am planning to use MINA core for some of the IO using following two classes : /** 1) * This is a modified version of * org.apache.mina.transport.socket.nio.NioSocketSession. */ public class MinaNioSocketSession extends AbstractIoSession { /*...*/ } /** 2) * This is a modified version of * org.apache.mina.transport.socket.nio.NioProcessor */ public class MinaNioProcessor extends AbstractPollingIoProcessor<MinaNioSocketSession> { /*...*/ } Any access changes to NioSocketSession and NioProcessor that makes the above classes simpler would be great. This thread probably belongs in dev list. I didn't realize I might end up getting deeper into the code when I first started [email protected]. thanks, Raghu. Emmanuel Lecharny wrote: > Hi Raghu, > > I may be wrong, but I don't think this is possible with MINA., natively. > You may have to define a new NioSocketConnector where you can pass an > already connected socket as a parameter (just an idea, not sure this is > easy to do). > > Hope it helps (at least a bit ;) > > > Raghu Angadi wrote: >> >> I thought I will ask again, just to be sure : >> >> My current use case looks like this : >> >> [write socket]---<----( Thread )---<----[read socket] >> >> Traffic from read socket to write socket is pretty low. These are >> non-blocking NIO sockets created else where (not by MINA). I would >> like to replace these threads using MINA. >> >> Can someone confirm if it is possible or not possible to use existing >> sockets with MINA? From [email protected] Wed Aug 06 13:33:11 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86366 invoked from network); 6 Aug 2008 13:33:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Aug 2008 13:33:10 -0000 Received: (qmail 18969 invoked by uid 500); 6 Aug 2008 13:33:09 -0000 Delivered-To: [email protected] Received: (qmail 18953 invoked by uid 500); 6 Aug 2008 13:33:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 82791 invoked by uid 99); 6 Aug 2008 13:12:38 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Mina Throttling Date: Wed, 6 Aug 2008 09:11:48 -0400 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Mina Throttling Thread-Index: Acj0DnotAHStTCZCRs2DyBFtmwq6eQDttOsw References: <[email protected]> <[email protected]> From: "Arv Mistry" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi, I have a system which sends a very high throughput of messages. So one thing I wanted to be able to do during high loads is to take advantage of the TCP flow control i.e be able to throttle back on the TCP socket so as not to read off it until the processing catches up.=20 =20 Does anyone know is there way with Mina to tell it not to read from the TCP socket? If I return false in the doDecode of the ProtocolDecoder will that do it? Cheers Arv -----Original Message----- From: Tuure Laurinolli [mailto:[email protected]]=20 Sent: Friday, August 01, 2008 3:39 PM To: [email protected] Subject: Re: CumulativeProtocolDecoder Louis Naber wrote: > I have an unfortunate scenario where I am dealing with legacy output=20 > peripherals that do not have nicely designed messaging built into=20 > them. The messages are variable length, unterminated, with no header information. Are there *any* rules that allow detection of message boundaries? For example, is there a time interval between messages? Is a message always sent in a single IP packet, and is there enough knowledge of the underlying protocol stack to assume that there will be no fragmentation? > The question I have, is it possible to find out if more data is=20 > available for the session when the lim=3Dcapacity just to make sure = that > the incomplete message assumption is correct? If there is a time interval between messages, you could probably start a timer when data is received, buffering the data received until the timer fires, and then pass the buffered data onwards. From [email protected] Wed Aug 06 16:02:50 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23449 invoked from network); 6 Aug 2008 16:02:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Aug 2008 16:02:50 -0000 Received: (qmail 47763 invoked by uid 500); 6 Aug 2008 16:02:49 -0000 Delivered-To: [email protected] Received: (qmail 47746 invoked by uid 500); 6 Aug 2008 16:02:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 47730 invoked by uid 99); 6 Aug 2008 16:02:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Aug 2008 09:02:49 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO yw-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Aug 2008 16:01:54 +0000 Received: by yw-out-1718.google.com with SMTP id 5so1482935ywm.32 for <[email protected]>; Wed, 06 Aug 2008 09:02:21 -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:reply-to :to:subject:in-reply-to:mime-version:content-type:references; bh=CA/lvwOBO4jkaFD0J5Fpo3FX8qiiUIc1S6a2CZtibDw=; b=NPvFmqwS9xUK4/HhGg3g+ZOLBZnyeMjUue7fr8okrgUavV0EEZ2OvmxUJ3tCvOC1kW FAtIGHUnqHCIYIPAgGeCMjHwmYrK7OrVrtWbOvRPfk2wnYLq5QdtTdWQIx+RveeB+oSb QfwkFAEYPkkjyiHXd0PJU53q0DYzYV1PgUtcQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:in-reply-to:mime-version :content-type:references; b=b4/HEbMEA38/u4wWikoD8RE869pKPlW28/WuhLAImOxXcRorDuw2uTr9FQ4wz8+DJx MDfP8yw2SpJsQ/PV4habVNPwpYlaKz6Zo+L+kXQL/ucVWQlWcdG0DCl9UOQYpwVu1dBK HQIg4E4HdWudGgN45KkYiF9ExbDKgxZfhj2ug= Received: by 161.129.204.104 with SMTP id m19mr69051wfd.25.1218038540854; Wed, 06 Aug 2008 09:02:20 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 6 Aug 2008 09:02:20 -0700 (PDT) Message-ID: <[email protected]> Date: Wed, 6 Aug 2008 09:02:20 -0700 From: "Geoff Cadien" <[email protected]> Reply-To: [email protected] To: [email protected] Subject: Re: Mina Throttling In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_23055_11546259.1218038540856" References: <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_23055_11546259.1218038540856 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Wed, Aug 6, 2008 at 6:11 AM, Arv Mistry <[email protected]> wrote: > > Hi, > > I have a system which sends a very high throughput of messages. So one > thing I wanted to be able to do during high loads is to take advantage > of the TCP flow control i.e be able to throttle back on the TCP socket > so as not to read off it until the processing catches up. > > Does anyone know is there way with Mina to tell it not to read from the > TCP socket? If I return false in the doDecode of the ProtocolDecoder > will that do it? IoSession.suspendRead() will accomplish what you're asking for a single tcp connection. -geoff ------=_Part_23055_11546259.1218038540856-- From [email protected] Thu Aug 07 21:18:23 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48216 invoked from network); 7 Aug 2008 21:18:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Aug 2008 21:18:20 -0000 Received: (qmail 51295 invoked by uid 500); 7 Aug 2008 21:18:19 -0000 Delivered-To: [email protected] Received: (qmail 51267 invoked by uid 500); 7 Aug 2008 21:18:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51256 invoked by uid 99); 7 Aug 2008 21:18:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2008 14:18:19 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO fk-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2008 21:17:24 +0000 Received: by fk-out-0910.google.com with SMTP id 19so420543fkr.8 for <[email protected]>; Thu, 07 Aug 2008 14:17:51 -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:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=MOwClKkDsS1bVyqyJzoXFRAU9OXWBbnf9hVaTQlIGNg=; b=YM6aF+R/AUOPvmCkbh+I5Du20RtyKvpv9l4mPoenqEDK8MiivSBZ8icl9EK/LK+BPs 7ZCBJRW9CtFg0FVxKqCEgRJBm79vPni3GMppEvJGfZIwzNdai3hMLsHfdp3LFMx7Pu9K 3mN7jnvvs/W6c5ACirjWTKPD5SUyCcHKID3Co= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=XtcicGw9V+6vSwNo8JLalfhYqfZgkBAoYnmcGXB3W9yDDtGDN0vrImIHJvAhymDPo8 OnFtFrGx0E0hSiP781aeoK57KdCkSm73ts/0lo3551d7d4J3KIG27xELvwwnOt6gbP6p RaB1IwOmlvpMvG4dxVcgSYcCodazyn1qBlO5c= Received: by 161.129.204.104 with SMTP id y10mr152658far.58.1218143871159; Thu, 07 Aug 2008 14:17:51 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 7 Aug 2008 14:17:51 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 7 Aug 2008 23:17:51 +0200 From: f2t <[email protected]> To: [email protected] Subject: Question about IoSession.write() MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi Small question... If i do IoSession.write("something").join(); IoSession.write("something2"); where each IoSession is from a different SocketConnector but connected to the same server, is something guaranteed to reach the server before something2? Assume these two method calls would be running in the same thread. Thank you From [email protected] Fri Aug 08 01:52:54 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18715 invoked from network); 8 Aug 2008 01:52:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Aug 2008 01:52:54 -0000 Received: (qmail 59249 invoked by uid 500); 8 Aug 2008 01:52:52 -0000 Delivered-To: [email protected] Received: (qmail 59239 invoked by uid 500); 8 Aug 2008 01:52:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 59228 invoked by uid 99); 8 Aug 2008 01:52:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2008 18:52:52 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO fg-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Aug 2008 01:51:56 +0000 Received: by fg-out-1718.google.com with SMTP id 16so376610fgg.40 for <[email protected]>; Thu, 07 Aug 2008 18:52:06 -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:to :subject:in-reply-to:mime-version:content-type:references; bh=k5xjADEgdrSSyxx0/Kccqtsqhw/YQlnmikX82S7m4JU=; b=eTFxkPzLSBp708KSnWiOeQfAqp/HbNHCAPdDe3Zzlhes/a9AdqNTBT0efG2MGliLzB YR4wclItjfFSnoo9JWvvhqq/GxlNQUk3biwT6Nn7PDINoXhcosxx7yVWh6K8pkYsxJ66 olERZ8kHWJ7zJYAKiDp9jAMHscH9+Fo5mTyBY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=G8nwGRFsA9ch20i8NoL4Dq4tPMl2Ho4LVtWU4JjWub88OnPSGD0sc4y+ffn0SzHX9n p4MjuNwCA14iSunXB53sfwTmEL8osK2RtLqDlp4gjZBXImRsxGL1wfCnC3IKL6tIduSa 0lXRqc5WXHgq5NM7u34ux704cGhptQAYcFsnw= Received: by 161.129.204.104 with SMTP id a20mr2610918muq.56.1218160325995; Thu, 07 Aug 2008 18:52:05 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 7 Aug 2008 18:52:05 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 7 Aug 2008 21:52:05 -0400 From: "Mark Webb" <[email protected]> To: [email protected] Subject: Re: Question about IoSession.write() In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_30489_12608375.1218160325944" References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_30489_12608375.1218160325944 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I would say yes. Did you test this and what were your results? On Thu, Aug 7, 2008 at 5:17 PM, f2t <[email protected]> wrote: > Hi > > Small question... > > If i do IoSession.write("something").join(); > IoSession.write("something2"); where each IoSession is from a > different SocketConnector but connected to the same server, is > something guaranteed to reach the server before something2? Assume > these two method calls would be running in the same thread. > > Thank you > ------=_Part_30489_12608375.1218160325944-- From [email protected] Fri Aug 08 04:31:05 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78819 invoked from network); 8 Aug 2008 04:31:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Aug 2008 04:31:05 -0000 Received: (qmail 47184 invoked by uid 500); 8 Aug 2008 04:31:04 -0000 Delivered-To: [email protected] Received: (qmail 47164 invoked by uid 500); 8 Aug 2008 04:31:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 47151 invoked by uid 99); 8 Aug 2008 04:31:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2008 21:31:03 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mailgw3.ericsson.se) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Aug 2008 04:30:05 +0000 Received: from mailgw3.ericsson.se (unknown [161.129.204.104]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id A77B0208B3; Fri, 8 Aug 2008 06:30:30 +0200 (CEST) X-AuditID: c1b4fb3c-ae8cfbb0000015b5-32-489bcbe673cf Received: from esealmw126.eemea.ericsson.se (unknown [161.129.204.104]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id 8D1182066F; Fri, 8 Aug 2008 06:30:30 +0200 (CEST) Received: from esealmw126.eemea.ericsson.se ([161.129.204.104]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC+1-218-282-5572); Fri, 8 Aug 2008 06:30:30 +0200 Received: from emyklmw102.eapac.ericsson.se ([161.129.204.104]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC+1-218-282-5572); Fri, 8 Aug 2008 06:30:30 +0200 Received: from ecnshmw511.eapac.ericsson.se ([161.129.204.104]) by emyklmw102.eapac.ericsson.se with Microsoft SMTPSVC+1-218-282-5572); Fri, 8 Aug 2008 12:29:38 +0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Mina Throttling Date: Fri, 8 Aug 2008 12:29:36 +0800 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Mina Throttling Thread-Index: Acj33xpbNJCqc4a8S+ytm5cXai2xJQBL7TuA References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: "Wenrui Guo" <[email protected]> To: <[email protected]>, <[email protected]> X-OriginalArrivalTime: 08 Aug 2008 04:29:38.0498 (UTC) FILETIME=[5E7AA220:01C8F90F] X-Brightmail-Tracker: AAAAAA== X-Virus-Checked: Checked by ClamAV on apache.org Yes, Mina has a very useful IoFilter named ReadThrottleFilter, who relies on IoSession.suspendRead() to take advantage of TCP flow control. You can use following code to achieve such objective: Connector =3D new NioSocketConnector(); Connector.getFilterChain().addLast("exec", new ExecutorFilter()); Connector.getFilterChain().addLast("throttle", new ReadThrottleFilter(throttleExecutor, ReadThrottlePolicy.BLOCK)); Remember, throttleExecutor is a ScheduledExecutorService instance, programmer must be reponsible for such executor's lifecycle. In other words, you should shutdown it later when application is going to shutdown. BR anderson=20 -----Original Message----- From: Geoff Cadien [mailto:[email protected]]=20 Sent: Thursday, August 07, 2008 12:02 AM To: [email protected] Subject: Re: Mina Throttling On Wed, Aug 6, 2008 at 6:11 AM, Arv Mistry <[email protected]> wrote: > > Hi, > > I have a system which sends a very high throughput of messages. So one > thing I wanted to be able to do during high loads is to take advantage > of the TCP flow control i.e be able to throttle back on the TCP socket > so as not to read off it until the processing catches up. > > Does anyone know is there way with Mina to tell it not to read from=20 > the TCP socket? If I return false in the doDecode of the=20 > ProtocolDecoder will that do it? IoSession.suspendRead() will accomplish what you're asking for a single tcp connection. -geoff From [email protected] Fri Aug 08 12:42:14 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47156 invoked from network); 8 Aug 2008 12:42:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Aug 2008 12:42:13 -0000 Received: (qmail 28007 invoked by uid 500); 8 Aug 2008 12:42:12 -0000 Delivered-To: [email protected] Received: (qmail 27994 invoked by uid 500); 8 Aug 2008 12:42:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 30109 invoked by uid 99); 8 Aug 2008 11:06:53 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Mina Throttling Date: Fri, 8 Aug 2008 07:06:02 -0400 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Mina Throttling Thread-Index: Acj33xpbNJCqc4a8S+ytm5cXai2xJQBL7TuAAA3vX+A= References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: "Arv Mistry" <[email protected]> To: <[email protected]>, <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Geoff/Guo =20 That's great, thanks. Cheers Arv -----Original Message----- From: Wenrui Guo [mailto:[email protected]]=20 Sent: Friday, August 08, 2008 12:30 AM To: [email protected]; [email protected] Subject: RE: Mina Throttling Yes, Mina has a very useful IoFilter named ReadThrottleFilter, who relies on IoSession.suspendRead() to take advantage of TCP flow control. You can use following code to achieve such objective: Connector =3D new NioSocketConnector(); Connector.getFilterChain().addLast("exec", new ExecutorFilter()); Connector.getFilterChain().addLast("throttle", new ReadThrottleFilter(throttleExecutor, ReadThrottlePolicy.BLOCK)); Remember, throttleExecutor is a ScheduledExecutorService instance, programmer must be reponsible for such executor's lifecycle. In other words, you should shutdown it later when application is going to shutdown. BR anderson=20 -----Original Message----- From: Geoff Cadien [mailto:[email protected]] Sent: Thursday, August 07, 2008 12:02 AM To: [email protected] Subject: Re: Mina Throttling On Wed, Aug 6, 2008 at 6:11 AM, Arv Mistry <[email protected]> wrote: > > Hi, > > I have a system which sends a very high throughput of messages. So one > thing I wanted to be able to do during high loads is to take advantage > of the TCP flow control i.e be able to throttle back on the TCP socket > so as not to read off it until the processing catches up. > > Does anyone know is there way with Mina to tell it not to read from=20 > the TCP socket? If I return false in the doDecode of the=20 > ProtocolDecoder will that do it? IoSession.suspendRead() will accomplish what you're asking for a single tcp connection. -geoff From [email protected] Fri Aug 08 12:46:16 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47829 invoked from network); 8 Aug 2008 12:46:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Aug 2008 12:46:16 -0000 Received: (qmail 32152 invoked by uid 500); 8 Aug 2008 12:46:15 -0000 Delivered-To: [email protected] Received: (qmail 32139 invoked by uid 500); 8 Aug 2008 12:46:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32128 invoked by uid 99); 8 Aug 2008 12:46:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Aug 2008 05:46:15 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wr-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Aug 2008 12:45:19 +0000 Received: by wr-out-0506.google.com with SMTP id 69so648852wra.16 for <[email protected]>; Fri, 08 Aug 2008 05:45:46 -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:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=Y4F6cyI+e5gM91xwg/S+nOc27fqxwbhAlNj3eqxmNyA=; b=WN99i2BBBFtMScKeEpyETzlyfgpGo3DqjxHGPwAM9LnHLenrg77RqbAGGkgaujkoX1 EX/7oEH3xni3h4YyjxJtvHC/wdVRB9LE44gCb4clfB+zsYpnm1osv3WuqNJqMguEpcZN jjh58mxSPqwXcIHGld0sg7UQI8tiOhF2VHbz8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=Oe377c3lWKVRxXzQMdR896gi61d18OhFSguLOKmb/6b7TC8PL/22sZlzr1hy3OU8TI +cK+Bc7bVIJlw4DsEkCTtuzPmfjNrKevjpeAEhtpskwMwks6uCNgMQo6mevXhEC+oVla Z5oEGTL1BSjzRXC8aRveC58Wo73LYFOBfu+eI= Received: by 161.129.204.104 with SMTP id d20mr943885aga.65.1218199546134; Fri, 08 Aug 2008 05:45:46 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 8 Aug 2008 05:45:46 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 8 Aug 2008 14:45:46 +0200 From: "W.B. Garvelink" <[email protected]> To: MINA-users <[email protected]> Subject: Triggering filterWrite inside the chain MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I could use a little help with an IoFilter I've written. The application I'm working on can't use TCP/IP but requires an ARQ mechanism anyway, which I've built on top of UDP/IP. I've written an IoFilter to take care of this. It consists of a few components: 1. a Packet class that wraps my payload data with some header information 2. a ProtocolCodec to convert bewteen Packet and IoBuffer 3. an ArqFilter to do the bookkeeping: 3a. on filterWrite(), schedule a task to re-send the Packet if it's not ACK'ed in time. 3b. on messageReceived(), retrieve ACK information and cancel the timer for the acknowledged Packet. 3c. on timer task, resend the Packet. The scary bit happens in 3c, where a new invocation of nextFilter.filterWrite() originates from a timer task halfway the filter chain, instead of at the top in IoSession#write(Object) from the calling thread. The filter chain looks like this: (application end) 1. ExecutorFilter (EventType.MESSAGE_RECEIVED) - multiple threads 2. ExecutorFilter (EventType.WRITE) - one thread 3. ArqFilter (includes a ScheduledExecutorService) 4. ProtocolCodecFilter (network end) All the individual components work well in unit test, but after assembling the whole thing, there was an unpleasant surprise: Ethereal revealed that only the first of three tries for every Packet actually makes it to the network. I'm using MINA 2.0-M1 for the moment, but I've confirmed the same thing happens using 2.0-M2. I've put some additional logging statements into the code, including a conditional breakpoint on sun.nio.ch.DatagramChannelImpl#write(ByteBuffer) with a breakpoint condition of "System.err.println("DatagramChannel write");return false;" to reveal invocation of the write() method on the underlying nio Channel (sort of a poor man's AOP, but a useful debugger trick nonetheless). For reference, the relevant bits of source are quoted at the end of the mail, let me first quote the log output: > 7671ms TRACE [UDP-writer-1] ArqFilter - trigger send of packet, try 1. > 7671ms TRACE [UDP-writer-1] ArqFilter - before: sched/written: 0/0 > 7702ms TRACE [UDP-writer-1] ArqFilter - after : sched/written: 1/0 >DatagramChannel write > > 22701ms TRACE [pool-1-thread-1] ArqFilter - trigger send of packet, try 2. > 22701ms TRACE [pool-1-thread-1] ArqFilter - before: sched/written: 0/1 > 22701ms TRACE [pool-1-thread-1] ArqFilter - after : sched/written: 1/1 > > 37716ms TRACE [pool-1-thread-1] ArqFilter - trigger send of packet, try 3. > 37716ms TRACE [pool-1-thread-1] ArqFilter - before: sched/written: 1/1 > 37716ms TRACE [pool-1-thread-1] ArqFilter - after : sched/written: 2/1 My retry packages get scheduled, but never written. Stepping through the code eventually leads me to AbstractPollingIoProcessor#flush(), where the IoProcessor doesn't get woken up because scheduleFlush() returns false. My question, of course, is how to get the IoProcessor to wake up and do something. The scheduleFlush() call returns false because AbstractPollingIoSession#setScheduledForFlush(true) does. Apparently, the AbstractIoSession#scheduledForFlush boolean is still set to true fifteen and thirty seconds after the first packet was sent. This suggests I'm somehow keeping it from being cleared. Can anyone help me here? How do I get this flag to clear? Source code folows. Thanks for your time, Barend // My IoFilter, abridged class ArqFilter extends IoFilterAdapter { private int TIMEOUT = 15; // configured values private int MAX_TRIES = 3; private ScheduledExcecutorService scheduler; // initialized in constructor @Override public void filterWrite(final NextFilter next, final IoSession session, WriteRequest writeRequest) { final Packet packet = (Packet)writeRequest.getMessage(); scheduler.schedule( /*new Runnable.run() */ { if (packet.status() != Status.DELIVERED && packet.tries() < MAX_TRIES) { writeToNextFilter(packet, session, next); } }, TIMEOUT, TimeUnit.SECONDS); // not shown: bookkeeping so that messageReceived() can cancel timers and assign Status.DELIVERED as ACK's come in. writeToNextFilter(packet, session, next); } private static void writeToNextFilter(Packet packet, IoSession session, NextFilter nextFilter) { packet.incrementTries(); logger.trace("trigger send of packet, try "+packet.tries()+"."); logger.trace("before: sched/written: " + session.getScheduledWriteMessages() + "/" + session.getWrittenMessages()); nextFilter.filterWrite( session, new DefaultWriteRequest( packet ) ); logger.trace("after : sched/written: " + session.getScheduledWriteMessages() + "/" + session.getWrittenMessages()); } } From [email protected] Fri Aug 08 15:25:43 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6621 invoked from network); 8 Aug 2008 15:25:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Aug 2008 15:25:43 -0000 Received: (qmail 28470 invoked by uid 500); 8 Aug 2008 15:25:41 -0000 Delivered-To: [email protected] Received: (qmail 28448 invoked by uid 500); 8 Aug 2008 15:25:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 28437 invoked by uid 99); 8 Aug 2008 15:25:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Aug 2008 08:25:41 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nf-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Aug 2008 15:24:46 +0000 Received: by nf-out-0910.google.com with SMTP id g16so345111nfd.2 for <[email protected]>; Fri, 08 Aug 2008 08:24:55 -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:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=a2O9r1cHyIyzLZUq25vpyQbnzQJqrf/4A3ZP8KJ5+lE=; b=ENqtpn9AkouNOHT+o7Li6rDO9CmArb9uBBwtVBOEOauOrU2PESA18UhCRb+dO5SAIb zw3X8mN5uln1nmzPzv0JdXAhFHE/KyrEDWe63ZAboNk3DhUXET1npD96KRXKcCy27L8w YfHE9+wKMcgBnn5SkPYHrOCFp6ZNDKjSnWi1A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=RBIfgVSDkStHPVst7/zIJT9c/HWyZDYKck44qSSNGbeIZ1D5Iq7WMZbjkDv5EfIrw6 Z6HnZSQcqKaqshC7hYlRbywzgBB7IMMuPcDRKM0toeMIxtzpjmGiWWbaSQwwJyT6MxoN vQ8fIa5dUEH5AvwNWhYtIfaReMVDSU/4+lkow= Received: by 161.129.204.104 with SMTP id o20mr191332fap.52.1218209095392; Fri, 08 Aug 2008 08:24:55 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 8 Aug 2008 08:24:55 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 8 Aug 2008 17:24:55 +0200 From: f2t <[email protected]> To: [email protected] Subject: Re: Question about IoSession.write() In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi My results show something2 can arrive first. As explained to me by tazzle on the IRC channel, this is because there are two connections (TCP/IP in my case), so there is no guarantee of order in which the OS will send the messages. Just to let you know. On Fri, Aug 8, 2008 at 3:52 AM, Mark Webb <[email protected]> wrote: > I would say yes. Did you test this and what were your results? > > > On Thu, Aug 7, 2008 at 5:17 PM, f2t <[email protected]> wrote: > >> Hi >> >> Small question... >> >> If i do IoSession.write("something").join(); >> IoSession.write("something2"); where each IoSession is from a >> different SocketConnector but connected to the same server, is >> something guaranteed to reach the server before something2? Assume >> these two method calls would be running in the same thread. >> >> Thank you >> > From [email protected] Sat Aug 09 14:53:27 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93662 invoked from network); 9 Aug 2008 14:53:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Aug 2008 14:53:27 -0000 Received: (qmail 15967 invoked by uid 500); 9 Aug 2008 14:53:25 -0000 Delivered-To: [email protected] Received: (qmail 15947 invoked by uid 500); 9 Aug 2008 14:53:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 15936 invoked by uid 99); 9 Aug 2008 14:53:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Aug 2008 07:53:25 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mu-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Aug 2008 14:52:30 +0000 Received: by mu-out-0910.google.com with SMTP id w1so1681720mue.2 for <[email protected]>; Sat, 09 Aug 2008 07:52:46 -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:to :subject:in-reply-to:mime-version:content-type:references; bh=mM43UVSJ+wuF1pH62oOrWkIkaEo01MSnvZq3HUTPwe8=; b=gzy09FerKdT6GFIox9NFuC7bnnLK1ikt/MihTl/PiJ+UByt/DU/KXLa03xs0zfUQIp WpR9G/SEkOWPDbZqFwrcC9gP173iTKrT0k4O8YlKlj6/0sOksBwzIAmz+9GHix6UrQgO celYlDrtPPxufeLVuyEYOAbx3jUNg2Kd8evsc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=m6ZjNt/4FcvB2nOkIjfRRSniLXHxl/VJTFqQEB2pralczyUGABreK+aamoVSjhW9w8 kZXZpBpxGzcZyicMUSsn0Qck2FH+h0WKZWeEcuDfHgeCiVZhSNe7KdfErHTJpqLSdVLU gPiWa2tgp4WUwl+5A/okHAq90ypGQq9sNCIxY= Received: by 161.129.204.104 with SMTP id a20mr4147513muj.128.1218293566862; Sat, 09 Aug 2008 07:52:46 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sat, 9 Aug 2008 07:52:46 -0700 (PDT) Message-ID: <[email protected]> Date: Sat, 9 Aug 2008 10:52:46 -0400 From: "Mark Webb" <[email protected]> To: [email protected] Subject: Re: Question about IoSession.write() In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_46576_31628460.1218293566850" References: <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_46576_31628460.1218293566850 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline If the 2 session represent different connections, then I would agree. On Fri, Aug 8, 2008 at 11:24 AM, f2t <[email protected]> wrote: > Hi > > My results show something2 can arrive first. > > As explained to me by tazzle on the IRC channel, this is because there > are two connections (TCP/IP in my case), so there is no guarantee of > order in which the OS will send the messages. > > Just to let you know. > > On Fri, Aug 8, 2008 at 3:52 AM, Mark Webb <[email protected]> wrote: > > I would say yes. Did you test this and what were your results? > > > > > > On Thu, Aug 7, 2008 at 5:17 PM, f2t <[email protected]> wrote: > > > >> Hi > >> > >> Small question... > >> > >> If i do IoSession.write("something").join(); > >> IoSession.write("something2"); where each IoSession is from a > >> different SocketConnector but connected to the same server, is > >> something guaranteed to reach the server before something2? Assume > >> these two method calls would be running in the same thread. > >> > >> Thank you > >> > > > ------=_Part_46576_31628460.1218293566850-- From [email protected] Sun Aug 10 00:03:36 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49964 invoked from network); 10 Aug 2008 00:03:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Aug 2008 00:03:36 -0000 Received: (qmail 10688 invoked by uid 500); 10 Aug 2008 00:03:35 -0000 Delivered-To: [email protected] Received: (qmail 10679 invoked by uid 500); 10 Aug 2008 00:03:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 10664 invoked by uid 99); 10 Aug 2008 00:03:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Aug 2008 17:03:35 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO emh02.mail.saunalahti.fi) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Aug 2008 00:02:37 +0000 Received: from saunalahti-vams (vs3-12.mail.saunalahti.fi [161.129.204.104]) by emh02-2.mail.saunalahti.fi (Postfix) with SMTP id 3447EEF632 for <[email protected]>; Sun, 10 Aug 2008 03:02:21 +0300 (EEST) Received: from emh06.mail.saunalahti.fi ([161.129.204.104]) by vs3-12.mail.saunalahti.fi ([161.129.204.104]) with SMTP (gateway) id A07DF824086; Sun, 10 Aug 2008 03:02:21 +0300 Received: from anubis.fi.indagon.com (gw.indagon.com [161.129.204.104]) by emh06.mail.saunalahti.fi (Postfix) with ESMTP id 1EA76E51CA for <[email protected]>; Sun, 10 Aug 2008 03:02:20 +0300 (EEST) Received: from [161.129.204.104] ([email protected] [161.129.204.104]) by anubis.fi.indagon.com (8.13.8/8.13.8) with ESMTP id m7A02G1c001925 for <[email protected]>; Sun, 10 Aug 2008 03:02:19 +0300 Message-ID: <[email protected]> Date: Sun, 10 Aug 2008 03:02:16 +0300 From: Tuure Laurinolli <[email protected]> User-Agent: Icedove 161.129.204.104 (X11/20070730) MIME-Version: 1.0 To: [email protected] Subject: Re: Question about IoSession.write() References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: VAMS X-Virus-Checked: Checked by ClamAV on apache.org Mark Webb wrote: > If the 2 session represent different connections, then I would agree. They do. He originally stated this on IRC, but the way the question was stated initially led me astray too. The mixup was cleared eventually. >>> On Thu, Aug 7, 2008 at 5:17 PM, f2t <[email protected]> wrote: >>>> If i do IoSession.write("something").join(); >>>> IoSession.write("something2"); where each IoSession is from a I would've written "session1.write("foo").join(); and session2.write("bar");". It's much clearer for [email protected]. From [email protected] Sun Aug 10 05:05:51 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68408 invoked from network); 10 Aug 2008 05:05:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Aug 2008 05:05:51 -0000 Received: (qmail 88941 invoked by uid 500); 10 Aug 2008 05:05:50 -0000 Delivered-To: [email protected] Received: (qmail 88925 invoked by uid 500); 10 Aug 2008 05:05:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 88914 invoked by uid 99); 10 Aug 2008 05:05:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Aug 2008 22:05:50 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO metacortex.hu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Aug 2008 05:04:52 +0000 Received: from catv-5062ff95.catv.broadband.hu ([161.129.204.104] helo=[161.129.204.104]) by metacortex.hu with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from <[email protected]>) id 1KS348-0000Q0-3y for [email protected]; Sun, 10 Aug 2008 07:02:04 +0200 Message-ID: <[email protected]> Date: Sun, 10 Aug 2008 07:01:59 +0200 From: =?ISO-8859-2?Q?L=F3r=E1nt_Pint=E9r?= <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20080708) MIME-Version: 1.0 To: [email protected] Subject: AsyncWeb session close X-Enigmail-Version: 0.95.6 Content-Type: multipart/mixed; boundary="------------010907010001050002070804" X-Virus-Checked: Checked by ClamAV on apache.org --------------010907010001050002070804 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit Hi! I'm experimenting with AsyncWeb trunk and MINA 2.0 M2 and I need some help, because I get funny exceptions when trying to close the client connector (see attached log). I've created a small test case (see attachment). The IoHandler returns the path of the request in the contents of the response -- nothing special. The test runs fine, just as I expected. However, when connector.dispose() is executed in line 102, I get the exceptions. What am I doing wrong? Thanks for your help, Lóránt --------------010907010001050002070804 Content-Type: text/plain; name="closelog.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="closelog.txt" 06:55:16.625 [NioProcessor-1] DEBUG o.a.a.c.c.HttpRequestDecodingStateMachine - Decoded header: {Connection=[Keep-Alive], Content-Length=[0], Host=[example.com]} 06:55:16.625 [NioProcessor-1] DEBUG o.a.a.c.c.HttpRequestDecodingStateMachine - Request is HTTP 1/1. Checking for transfer coding 06:55:16.625 [NioProcessor-1] DEBUG o.a.a.c.c.HttpRequestDecodingStateMachine - No entity body for this request 06:55:16.640 [NioProcessor-4] DEBUG o.a.a.c.c.HttpResponseDecodingState - Decoded header: {Connection=[Keep-Alive], Content-Length=[3], Date=[Sun, 10 Aug 2008 04:55:16 GMT]} 06:55:16.640 [NioProcessor-4] DEBUG o.a.a.c.c.HttpResponseDecodingState - Request is HTTP 1/1. Checking for transfer coding 06:55:16.640 [NioProcessor-4] DEBUG o.a.a.c.c.HttpResponseDecodingState - Using fixed length decoder for request with length 3 06:55:16.656 [NioProcessor-1] DEBUG o.a.a.c.c.HttpRequestDecodingStateMachine - Decoded header: {Connection=[Keep-Alive], Content-Length=[0], Host=[example.com]} 06:55:16.656 [NioProcessor-1] DEBUG o.a.a.c.c.HttpRequestDecodingStateMachine - Request is HTTP 1/1. Checking for transfer coding 06:55:16.656 [NioProcessor-1] DEBUG o.a.a.c.c.HttpRequestDecodingStateMachine - No entity body for this request 06:55:16.656 [NioProcessor-4] DEBUG o.a.a.c.c.HttpResponseDecodingState - Decoded header: {Connection=[Keep-Alive], Content-Length=[1], Date=[Sun, 10 Aug 2008 04:55:16 GMT]} 06:55:16.656 [NioProcessor-4] DEBUG o.a.a.c.c.HttpResponseDecodingState - Request is HTTP 1/1. Checking for transfer coding 06:55:16.656 [NioProcessor-4] DEBUG o.a.a.c.c.HttpResponseDecodingState - Using fixed length decoder for request with length 1 06:55:16.656 [NioProcessor-1] DEBUG o.a.a.c.c.HttpRequestDecodingStateMachine - Decoded header: {Connection=[Keep-Alive], Content-Length=[0], Host=[example.com]} 06:55:16.656 [NioProcessor-1] DEBUG o.a.a.c.c.HttpRequestDecodingStateMachine - Request is HTTP 1/1. Checking for transfer coding 06:55:16.656 [NioProcessor-1] DEBUG o.a.a.c.c.HttpRequestDecodingStateMachine - No entity body for this request 06:55:16.656 [NioProcessor-4] DEBUG o.a.a.c.c.HttpResponseDecodingState - Decoded header: {Connection=[Keep-Alive], Content-Length=[7], Date=[Sun, 10 Aug 2008 04:55:16 GMT]} 06:55:16.656 [NioProcessor-4] DEBUG o.a.a.c.c.HttpResponseDecodingState - Request is HTTP 1/1. Checking for transfer coding 06:55:16.656 [NioProcessor-4] DEBUG o.a.a.c.c.HttpResponseDecodingState - Using fixed length decoder for request with length 7 06:55:16.671 [NioProcessor-1] DEBUG o.a.m.f.c.s.DecodingStateMachine - Ignoring the exception caused by a closed session. java.lang.IllegalArgumentException: No enum const class org.apache.asyncweb.common.HttpMethod. at java.lang.Enum.valueOf(Enum.java:196) at org.apache.asyncweb.common.HttpMethod.valueOf(HttpMethod.java:1) at org.apache.asyncweb.common.codec.HttpRequestLineDecodingState$1.finishDecode(HttpRequestLineDecodingState.java:66) at org.apache.mina.filter.codec.statemachine.ConsumeToDynamicTerminatorDecodingState.finishDecode(ConsumeToDynamicTerminatorDecodingState.java:103) at org.apache.mina.filter.codec.statemachine.DecodingStateMachine.finishDecode(DecodingStateMachine.java:151) at org.apache.mina.filter.codec.statemachine.DecodingStateMachine.finishDecode(DecodingStateMachine.java:151) at org.apache.mina.filter.codec.statemachine.DecodingStateProtocolDecoder.finishDecode(DecodingStateProtocolDecoder.java:100) at org.apache.mina.filter.codec.ProtocolCodecFilter.sessionClosed(ProtocolCodecFilter.java:258) at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextSessionClosed(DefaultIoFilterChain.java:378) at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$900(DefaultIoFilterChain.java:49) at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.sessionClosed(DefaultIoFilterChain.java:817) at org.apache.mina.core.filterchain.DefaultIoFilterChain$HeadFilter.sessionClosed(DefaultIoFilterChain.java:598) at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextSessionClosed(DefaultIoFilterChain.java:378) at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireSessionClosed(DefaultIoFilterChain.java:373) at org.apache.mina.core.service.IoServiceListenerSupport.fireSessionDestroyed(IoServiceListenerSupport.java:229) at org.apache.mina.core.polling.AbstractPollingIoProcessor.removeNow(AbstractPollingIoProcessor.java:405) at org.apache.mina.core.polling.AbstractPollingIoProcessor.remove(AbstractPollingIoProcessor.java:375) at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:55) at org.apache.mina.core.polling.AbstractPollingIoProcessor$Worker.run(AbstractPollingIoProcessor.java:780) at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) 06:55:16.671 [NioProcessor-1] DEBUG o.a.m.f.c.s.DecodingStateMachine - Ignoring the exception caused by a closed session. java.lang.IndexOutOfBoundsException: Index: 1, Size: 0 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at org.apache.asyncweb.common.codec.HttpRequestDecodingStateMachine$2.finishDecode(HttpRequestDecodingStateMachine.java:97) at org.apache.mina.filter.codec.statemachine.DecodingStateMachine.finishDecode(DecodingStateMachine.java:168) at org.apache.mina.filter.codec.statemachine.DecodingStateMachine.finishDecode(DecodingStateMachine.java:151) at org.apache.mina.filter.codec.statemachine.DecodingStateProtocolDecoder.finishDecode(DecodingStateProtocolDecoder.java:100) at org.apache.mina.filter.codec.ProtocolCodecFilter.sessionClosed(ProtocolCodecFilter.java:258) at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextSessionClosed(DefaultIoFilterChain.java:378) at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$900(DefaultIoFilterChain.java:49) at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.sessionClosed(DefaultIoFilterChain.java:817) at org.apache.mina.core.filterchain.DefaultIoFilterChain$HeadFilter.sessionClosed(DefaultIoFilterChain.java:598) at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextSessionClosed(DefaultIoFilterChain.java:378) at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireSessionClosed(DefaultIoFilterChain.java:373) at org.apache.mina.core.service.IoServiceListenerSupport.fireSessionDestroyed(IoServiceListenerSupport.java:229) at org.apache.mina.core.polling.AbstractPollingIoProcessor.removeNow(AbstractPollingIoProcessor.java:405) at org.apache.mina.core.polling.AbstractPollingIoProcessor.remove(AbstractPollingIoProcessor.java:375) at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:55) at org.apache.mina.core.polling.AbstractPollingIoProcessor$Worker.run(AbstractPollingIoProcessor.java:780) at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) 06:55:16.671 [NioProcessor-4] DEBUG o.a.m.f.c.s.DecodingStateMachine - Ignoring the exception caused by a closed session. org.apache.mina.filter.codec.ProtocolDecoderException: Unexpected end of session while waiting for a HTTP version field. at org.apache.asyncweb.common.codec.HttpVersionDecodingState.finishDecode(HttpVersionDecodingState.java:87) at org.apache.mina.filter.codec.statemachine.DecodingStateMachine.finishDecode(DecodingStateMachine.java:151) at org.apache.mina.filter.codec.statemachine.DecodingStateMachine.finishDecode(DecodingStateMachine.java:151) at org.apache.mina.filter.codec.statemachine.DecodingStateProtocolDecoder.finishDecode(DecodingStateProtocolDecoder.java:100) at org.apache.mina.filter.codec.ProtocolCodecFilter.sessionClosed(ProtocolCodecFilter.java:258) at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextSessionClosed(DefaultIoFilterChain.java:378) at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$900(DefaultIoFilterChain.java:49) at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.sessionClosed(DefaultIoFilterChain.java:817) at org.apache.mina.core.filterchain.DefaultIoFilterChain$HeadFilter.sessionClosed(DefaultIoFilterChain.java:598) at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextSessionClosed(DefaultIoFilterChain.java:378) at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireSessionClosed(DefaultIoFilterChain.java:373) at org.apache.mina.core.service.IoServiceListenerSupport.fireSessionDestroyed(IoServiceListenerSupport.java:229) at org.apache.mina.core.polling.AbstractPollingIoProcessor.removeNow(AbstractPollingIoProcessor.java:405) at org.apache.mina.core.polling.AbstractPollingIoProcessor.remove(AbstractPollingIoProcessor.java:375) at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:55) at org.apache.mina.core.polling.AbstractPollingIoProcessor$Worker.run(AbstractPollingIoProcessor.java:780) at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) --------------010907010001050002070804 Content-Type: text/plain; name="ConnectionTest.java" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ConnectionTest.java" import static org.hamcrest.CoreMatchers.equalTo; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertThat; import java.io.IOException; import java.net.InetSocketAddress; import java.net.URI; import java.net.URISyntaxException; import java.nio.charset.CharacterCodingException; import java.nio.charset.Charset; import java.util.concurrent.BlockingQueue; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.TimeUnit; import org.apache.asyncweb.common.DefaultHttpRequest; import org.apache.asyncweb.common.DefaultHttpResponse; import org.apache.asyncweb.common.HttpMethod; import org.apache.asyncweb.common.HttpRequest; import org.apache.asyncweb.common.HttpResponse; import org.apache.asyncweb.common.HttpResponseStatus; import org.apache.asyncweb.common.HttpVersion; import org.apache.asyncweb.common.codec.HttpCodecFactory; import org.apache.mina.core.buffer.IoBufferWrapper; import org.apache.mina.core.future.ConnectFuture; import org.apache.mina.core.service.IoHandlerAdapter; import org.apache.mina.core.session.IoSession; import org.apache.mina.filter.codec.ProtocolCodecFilter; import org.apache.mina.transport.socket.nio.NioSocketAcceptor; import org.apache.mina.transport.socket.nio.NioSocketConnector; import org.junit.After; import org.junit.Before; import org.junit.Test; public class ConnectionTest { class ServerHandler extends IoHandlerAdapter { @Override public void messageReceived(IoSession session, Object message) throws Exception { HttpRequest request = (HttpRequest) message; URI uri = request.getRequestUri(); DefaultHttpResponse response = new DefaultHttpResponse(); String requestMessage = uri.toString(); response.setStatus(HttpResponseStatus.OK); response.setContent(IoBufferWrapper.wrap(requestMessage.getBytes())); response.normalize(request); session.write(response); } } class ClientHandler extends IoHandlerAdapter { BlockingQueue<Object> received = new LinkedBlockingQueue<Object>(); @Override public void messageReceived(IoSession session, Object message) throws Exception { received.put(message); } } private NioSocketAcceptor acceptor; private int port; @Before public void init() throws IOException { acceptor = new NioSocketAcceptor(); acceptor.getFilterChain().addLast("httpCodec", new ProtocolCodecFilter(new HttpCodecFactory())); acceptor.setHandler(new ServerHandler()); acceptor.setDefaultLocalAddress(new InetSocketAddress(0)); acceptor.bind(); port = acceptor.getLocalAddress().getPort(); } @After public void destroy() { acceptor.unbind(); acceptor.dispose(); } @Test public void testConnection() throws InterruptedException, URISyntaxException, CharacterCodingException { NioSocketConnector connector = new NioSocketConnector(); try { connector.getFilterChain().addLast("httpCodec", new ProtocolCodecFilter(new HttpCodecFactory())); ClientHandler handler = new ClientHandler(); connector.setHandler(handler); ConnectFuture connectFuture = connector.connect(new InetSocketAddress("161.129.204.104", port)) .awaitUninterruptibly(); IoSession session = connectFuture.getSession(); assertNotNull(session); try { doGetRequest(session, "hi"); doGetRequest(session, ""); doGetRequest(session, "logout"); } finally { } } finally { connector.dispose(); } } private void doGetRequest(IoSession session, String uri) throws URISyntaxException, InterruptedException, CharacterCodingException { DefaultHttpRequest request = new DefaultHttpRequest(); request.setRequestUri(new URI("http://example.com/" + uri)); request.setMethod(HttpMethod.GET); request.setProtocolVersion(HttpVersion.HTTP_1_1); request.setKeepAlive(true); session.write(request); HttpResponse response = (HttpResponse) ((ClientHandler) session.getHandler()).received.poll(5, TimeUnit.SECONDS); assertNotNull(response); String responseString = response.getContent().getString(Charset.forName("UTF-8").newDecoder()); assertThat(responseString, equalTo("/" + uri)); } } --------------010907010001050002070804-- From [email protected] Sun Aug 10 15:46:30 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90503 invoked from network); 10 Aug 2008 15:46:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Aug 2008 15:46:30 -0000 Received: (qmail 82129 invoked by uid 500); 10 Aug 2008 15:46:29 -0000 Delivered-To: [email protected] Received: (qmail 81965 invoked by uid 500); 10 Aug 2008 15:46:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81954 invoked by uid 99); 10 Aug 2008 15:46:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Aug 2008 08:46:28 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail.gmx.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 10 Aug 2008 15:45:30 +0000 Received: (qmail 21420 invoked by uid 0); 10 Aug 2008 15:44:56 -0000 Received: from 161.129.204.104 by www018.gmx.net with HTTP; Sun, 10 Aug 2008 17:44:56 +0200 (CEST) Content-Type: text/plain; charset="us-ascii" Date: Sun, 10 Aug 2008 17:44:56 +0200 From: [email protected] Message-ID: <[email protected]> MIME-Version: 1.0 Subject: "Yet Another Java Service Wrapper" (YAJSW) using apache mina To: [email protected] X-Authenticated: #1178861 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX18WVs8XN3MWIiO93iTLa5VlQ4mxOAmf4vuOSHUJ8G f5ZEL9pcD9Prd8RU2uJD8zbyQ9e2Z/eewrfg== Content-Transfer-Encoding: 7bit X-GMX-UID: zD6of0MwbGInPpSKfGRn2/xvcmZ1ZpxA X-Virus-Checked: Checked by ClamAV on apache.org Hello, YAJSW is a new project using apache mina. for more information please refer to the project page: http://sourceforge.net/projects/yajsw/ - Ron -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx From [email protected] Mon Aug 11 06:27:51 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48832 invoked from network); 11 Aug 2008 06:27:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Aug 2008 06:27:48 -0000 Received: (qmail 92454 invoked by uid 500); 11 Aug 2008 06:27:47 -0000 Delivered-To: [email protected] Received: (qmail 92446 invoked by uid 500); 11 Aug 2008 06:27:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 92435 invoked by uid 99); 11 Aug 2008 06:27:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Aug 2008 23:27:47 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO flsc030.serveursdns.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Aug 2008 06:26:51 +0000 Received: from pcjvermillard (191.55.101-84.rev.gaoland.net [161.129.204.104]) by smtp-01.serveursdns.net (Postfix) with ESMTP id AB5EF6E4101 for <[email protected]>; Mon, 11 Aug 2008 08:27:16 +0200 (CEST) Date: Mon, 11 Aug 2008 08:27:13 +0200 From: Julien Vermillard <[email protected]> To: [email protected] Subject: Re: AsyncWeb session close Message-ID: <20080811082713.6b43e972@pcjvermillard> In-Reply-To: <[email protected]> References: <[email protected]> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/3rIoZrYanKWftMzi8+Hp2Jv"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Virus-Checked: Checked by ClamAV on apache.org --Sig_/3rIoZrYanKWftMzi8+Hp2Jv Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, 10 Aug 2008 07:01:59 +0200 L=C3=B3r=C3=A1nt Pint=C3=A9r <[email protected]> wrote: > Hi! >=20 > I'm experimenting with AsyncWeb trunk and MINA 2.0 M2 and I need some=20 > help, because I get funny exceptions when trying to close the client=20 > connector (see attached log). >=20 > I've created a small test case (see attachment). The IoHandler > returns the path of the request in the contents of the response -- > nothing special. The test runs fine, just as I expected. However, > when connector.dispose() is executed in line 102, I get the > exceptions. >=20 > What am I doing wrong? >=20 > Thanks for your help, > L=C3=B3r=C3=A1nt Hi, Weird errors, it's looking like compilation error to me. You tried to do a "mvn clean install" ? Julien --Sig_/3rIoZrYanKWftMzi8+Hp2Jv Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIn9vDHMBmbW1IlcURAi4XAJ9vL0gjHE1Ximb/qbP8CVASjdpNpACcDSLc 2AGa93bqASayNIGVDHvtfGk= =yC57 -----END PGP SIGNATURE----- --Sig_/3rIoZrYanKWftMzi8+Hp2Jv-- From [email protected] Mon Aug 11 16:01:04 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46889 invoked from network); 11 Aug 2008 16:01:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Aug 2008 16:01:04 -0000 Received: (qmail 71316 invoked by uid 500); 11 Aug 2008 16:01:03 -0000 Delivered-To: [email protected] Received: (qmail 71150 invoked by uid 500); 11 Aug 2008 16:01:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71139 invoked by uid 99); 11 Aug 2008 16:01:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Aug 2008 09:01:02 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wx-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Aug 2008 16:00:06 +0000 Received: by wx-out-0506.google.com with SMTP id r21so650473wxc.5 for <[email protected]>; Mon, 11 Aug 2008 09:00:16 -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:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Dq1NXRAWmd/F8zXje8Hl84YWw3f9gnT/iBFFJJhud/o=; b=xu1WDElKFDeoQ6FMMlfhmvZcqYW2TIy19KygA5D4cXWroLUqQvnz22OwH0MV1874wE QKRtPqN3JTi/yR6A8yX6RCfVlylB9Hw+cEhm7ifVucR1NoeRkxD0uMf9f6aUHGMICuCY RFd6WQOJc3vL8fQBuQptOOagaDRNymwhOLXBw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=FOOtCDo8h00ERTr6Ik+bbsi5Zf2LGzkGOaqfXA3ARvEva/C8HbyXbzc2RnCtWoEgsR oGZqzcPBKKNkOoo6MNaW7toOnT05GsZimgPu4HI76CSUAOb+St823tF/iEe+k14CImHx KfDHtna6hT5vHqaV4qUbvrx7pOWbo1qd6NcIY= Received: by 161.129.204.104 with SMTP id m14mr5468667agb.30.1218470416287; Mon, 11 Aug 2008 09:00:16 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 11 Aug 2008 09:00:16 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 11 Aug 2008 18:00:16 +0200 From: "W.B. Garvelink" <[email protected]> To: MINA-users <[email protected]> Subject: Re: Triggering filterWrite inside the chain In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Update: I've found the cause of the problem (it wasn't what I originally thought, but it does require patching MINA a bit) and a strategy to fix it. The rest of this message is basically FYI. Details of my intended patch are in the last paragraph. Earlier, I wrote: > The scheduleFlush() call returns false because AbstractPollingIoSession# > setScheduledForFlush(true) does. Apparently, the AbstractIoSession# > scheduledForFlush boolean is still set to true Since I wrote that, I've narrowed the problem down a bit. Part of the problem was in the way I was testing my ARQ code: I simply started the client but no server, then sent a packet and waited for the time-outs to flow by. What I neglected to mention in my original post was the PortUnreachableException that gets thrown when there's nothing at the endpoint address. As these things go, it was *of course* this exception and not that boolean flag that was ultimately causing the writes to stall. I wrote a dummy program that opens a DatagramSocket on the server port number, but never sends any ACK packets, and immediately, the client writes its retries to the network the way I expect it to. Here's the relevant bit of code from AbstractPollingIoProcessor#flush(): > try { > boolean flushedAll = flushNow(session); > // (schedule next flush if it didn't write all of it at once) > } > catch (Exception e) { > scheduleRemove(session); > session.getFilterChain().fireExceptionCaught(e); > } I assume the scheduleRemove(session) is ultimately responsible for my earlier problem. Having that cleared up, this does bring me to a second problem, and this is where it gets interesting. When it goes live this application is going to be, by design, a second- class citizen on the network on which it operates. Whenever it gets muted for higher priority data, the network driver simply drops its data on the client side and generates ICMP Unreachable errors to notify the calling application. This means that these PortUnreachableExceptions are going to be a very common thing. Clearly, I can deal with this by supplying my own IoProcessor instance when I construct the endpoints. However, with the current MINA code, that means copying not only the NioProcessor concrete class, but also the AbstractPollingIoProcessor, as there's no suitable hook for me to use. I'll submit a patch that changes the catch block quoted above to forward to an overrideable method that implements the current behaviour by default (wait for a JIRA issue tonight or tomorrow) as I suspect that this "intercept the exception before anything gets removed" may be useful for other people as well. It'll also make the NioProcessor class non-final. Regards, Barend From [email protected] Tue Aug 12 06:43:28 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86135 invoked from network); 12 Aug 2008 06:43:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Aug 2008 06:43:28 -0000 Received: (qmail 82686 invoked by uid 500); 12 Aug 2008 06:43:27 -0000 Delivered-To: [email protected] Received: (qmail 82673 invoked by uid 500); 12 Aug 2008 06:43:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 75539 invoked by uid 99); 12 Aug 2008 06:36:23 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:mime-version:content-type:content-transfer-encoding :content-disposition:x-google-sender-auth; bh=ZEwAij+9gaFSxdszFhGAx/FG7XbwDRLCdfyuRirzJ9k=; b=EHo60DyQhbgJ/As09/pjTIT1LrLE5qyul4u57K0CpHdIDLwoDG6QHuLWJ0FFMkwMmA 6YUZfPE/WM418gM5A9FeDTwceihwy7+KyhPA1fyWzHZLtxxuCRVHI3MBRAMj9YOINENa rC3BzJHrecDiXPXRrg6ts3ZaFZ1IChfAdjtvc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; b=di/gkcHOu58/wP49F/infl5j0r0L2lpn+lDKShm6NtKWIyICy1HKgknCmTdmjTHRzC 4D4YfTEr6/cN7h6XJZv3epOboT0lDeTNaOy1tUEoGIX2YQs+6TCTbIGA0FThmySoLtus H7o119gUavUuLT7i4qou1Iu6PmokUxCx6Y0ho= Message-ID: <[email protected]> Date: Tue, 12 Aug 2008 08:35:54 +0200 From: "Julien Vermillard" <[email protected]> Sender: [email protected] To: [email protected], [email protected], [email protected], [email protected] Subject: Release of Apache MINA 2.0.0-M3 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 4fbbfdba291b1e34 X-Virus-Checked: Checked by ClamAV on apache.org The Apache MINA project is pleased to announce the release of MINA 2.0.0-M3. This release is finally done earlier than planed due to some serious performance regressions in 2.0.0-M2. * 4 bug fixes : o Calling IoBuffer.slice() in CumulativeProtocolDecoder.doDecode() can cause data corruption. o Big performance drop in 2.0M2 CumulativeProtocolDecoder for large messages. o Running tests leave files in /tmp. o The proxy sample does not work - results in a NullPointerException. * 3 improvements : o Moved ExceptionMonitor from core to util o IoFuturacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bisReady is renamed to isDone. o Port the 'Haiku' example to 1.0 and trunk. This is a milestone release and is not yet considered suitable for production use. This release improve the code structure, documentation and provide bug fix and improvement since 2.0.0-M2. We are waiting your feedback for the next release ! Thanks, Apache MINA PMC From [email protected] Tue Aug 12 18:10:11 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74838 invoked from network); 12 Aug 2008 18:10:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Aug 2008 18:10:10 -0000 Received: (qmail 38652 invoked by uid 500); 12 Aug 2008 18:10:09 -0000 Delivered-To: [email protected] Received: (qmail 38630 invoked by uid 500); 12 Aug 2008 18:10:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 38612 invoked by uid 99); 12 Aug 2008 18:10:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2008 11:10:08 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO hs-out-0708.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2008 18:09:10 +0000 Received: by hs-out-0708.google.com with SMTP id n78so417391hsc.8 for <[email protected]>; Tue, 12 Aug 2008 11:09:38 -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:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=QMNEm+pryFG3AIzu8rSuNExu52QMN4IGHMq7qvuCkdw=; b=afDakPKOW0/y4xXGVFbth5ye6oxYNzN8iI7tIHTYGRoNg6aZB5amvCELE+weLV0UF9 T/8CJYinstuWWljzOpYxf8zIL2ZOJNXrFa9Q/wleDpDPOmBtFVF7fgvLt0Ckn6uPeThN +MBCoQsbN8URoqwc7ennlhKs7UGM0dI8RrNT8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=diAqdXFTfUnkKq9KfkzsBoNsuIeh91xl4nZMsUza1Rm0m72ECXVgmWci8loUHTBsCg 5uCGmMFGw/SSENDdqwbi/se0FsLrX6Q5DhrgsS12DA6nBM4W2H4oi9bZcxD+wQYVZ9s9 itKSN5c2+VNJl9EmoVw+/hZmnOo4UEbf/i91g= Received: by 161.129.204.104 with SMTP id d2mr13184817agd.118.1218564578182; Tue, 12 Aug 2008 11:09:38 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 12 Aug 2008 11:09:38 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 12 Aug 2008 20:09:38 +0200 From: "W.B. Garvelink" <[email protected]> To: MINA-users <[email protected]> Subject: Re: Triggering filterWrite inside the chain In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org I've submitted a patch here: https://issues.apache.org/jira/browse/DIRMINA-615 Ultimately, I didn't require anything to fix my problem other than to make the NioProcessor class non-final. For my convenience, I've exposed two additional constructors in NioDatagramConnector, and for consistency, I've exposed those same constructors in NioSocketConnector. Barend On Mon, Aug 11, 2008 at 6:00 PM, W.B. Garvelink <[email protected]> wrote: > Update: I've found the cause of the problem (it wasn't what I originally > thought, but it does require patching MINA a bit) and a strategy to fix it. The > rest of this message is basically FYI. Details of my intended patch are in the > last paragraph. > > Earlier, I wrote: >> The scheduleFlush() call returns false because AbstractPollingIoSession# >> setScheduledForFlush(true) does. Apparently, the AbstractIoSession# >> scheduledForFlush boolean is still set to true > > Since I wrote that, I've narrowed the problem down a bit. Part of the problem > was in the way I was testing my ARQ code: I simply started the client but no > server, then sent a packet and waited for the time-outs to flow by. What I > neglected to mention in my original post was the PortUnreachableException that > gets thrown when there's nothing at the endpoint address. > > As these things go, it was *of course* this exception and not that boolean > flag that was ultimately causing the writes to stall. I wrote a dummy > program that opens a DatagramSocket on the server port number, but never > sends any ACK packets, and immediately, the client writes its retries to the > network the way I expect it to. > > Here's the relevant bit of code from AbstractPollingIoProcessor#flush(): > >> try { >> boolean flushedAll = flushNow(session); >> // (schedule next flush if it didn't write all of it at once) >> } >> catch (Exception e) { >> scheduleRemove(session); >> session.getFilterChain().fireExceptionCaught(e); >> } > > I assume the scheduleRemove(session) is ultimately responsible for my > earlier problem. > > Having that cleared up, this does bring me to a second problem, and this > is where it gets interesting. > > When it goes live this application is going to be, by design, a second- > class citizen on the network on which it operates. Whenever it gets muted > for higher priority data, the network driver simply drops its data on the > client side and generates ICMP Unreachable errors to notify the calling > application. > > This means that these PortUnreachableExceptions are going to be a very > common thing. Clearly, I can deal with this by supplying my own IoProcessor > instance when I construct the endpoints. However, with the current MINA code, > that means copying not only the NioProcessor concrete class, but also the > AbstractPollingIoProcessor, as there's no suitable hook for me to use. > > I'll submit a patch that changes the catch block quoted above to forward > to an overrideable method that implements the current behaviour by default > (wait for a JIRA issue tonight or tomorrow) as I suspect that this "intercept > the exception before anything gets removed" may be useful for other people > as well. It'll also make the NioProcessor class non-final. > > > Regards, > Barend > From [email protected] Fri Aug 15 02:38:45 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97849 invoked from network); 15 Aug 2008 02:38:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Aug 2008 02:38:45 -0000 Received: (qmail 81911 invoked by uid 500); 15 Aug 2008 02:38:44 -0000 Delivered-To: [email protected] Received: (qmail 81897 invoked by uid 500); 15 Aug 2008 02:38:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81886 invoked by uid 99); 15 Aug 2008 02:38:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Aug 2008 19:38:43 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wf-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2008 02:37:44 +0000 Received: by wf-out-1314.google.com with SMTP id 27so912789wfd.5 for <[email protected]>; Thu, 14 Aug 2008 19:38:13 -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:to :subject:mime-version:content-type; bh=5VS7Wv5TTdf7OkiLM68b00pHy4MMLLOGmTP9SNFN0LM=; b=fYJmQzhzjatff+ivTVb3S4wuboGt7KbD3Gar1adZnvscEEP+wj0JU5p6cTzs8mFxBg TzRjnIVn5/f5Qj/ZfRPBOi4CCUguZsoFGcM+gyJG+SDdg5x1DE10lkQ7KEVd4G/je7Gv pKpOOFIpnyMeomRlUMyMhkkm1ShmRA9RUhd4I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=W3OVv45oEybwOH+shtXvJva4IkwGki8f08szUIa+w3Jq2OCve+v09Q5eYZUh9MqO7B r5jjNp3lh3Zg1kEtUbnLleSzzOAHkJFUYoyQEBxCLAe3f+SB8cyzipClpA1/KckuDTl0 bPWSMKMtQGU4bXB2Z0fjWKMtjFt8nRbTnwv4U= Received: by 161.129.204.104 with SMTP id q13mr799600wff.103.1218767893057; Thu, 14 Aug 2008 19:38:13 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 14 Aug 2008 19:38:13 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 14 Aug 2008 23:38:13 -0300 From: "Felipe Coury" <[email protected]> To: [email protected] Subject: RSS of News on Main Page MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_127531_14599118.1218767893049" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_127531_14599118.1218767893049 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline The link on the RSS Symbol on the News section of main page is invalid. Clicking it gives the following error: There has been an error of some kind. Ack! FeedBurner could not deliver this feed to you because of the specific problem listed below: Feed Address: http://feeds.feedburner.com/asf/mina HTTP Error (Code) and Message: (404) Feed not found error: FeedBurner canno= t locate this feed URI. Best regards, --=20 Felipe Gon=E7alves Coury Software Engineer and Java Specialist [email protected] Mobile: +55 19 9305-3619 Home: +1-218-282-5572 Hey, visit my blogs: http://blogs.felipecoury.com http://felipecoury.wordpress.com ------=_Part_127531_14599118.1218767893049-- From [email protected] Fri Aug 15 09:21:22 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15898 invoked from network); 15 Aug 2008 09:21:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Aug 2008 09:21:22 -0000 Received: (qmail 86209 invoked by uid 500); 15 Aug 2008 09:21:20 -0000 Delivered-To: [email protected] Received: (qmail 86192 invoked by uid 500); 15 Aug 2008 09:21:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 36550 invoked by uid 99); 15 Aug 2008 08:11:21 -0000 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 [email protected] designates 161.129.204.104 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=PhGfHJbqEOhRhWXBcIWTMDVwgALEjLECPyKQimRj0e4=; b=ozGwFYw5HixPY0sKZprE1p+v0OwIjlBfSIWa6yZXFJWNzUxvOmIHdj8SPwDgEUqr8r YYg6gUkzzU+EtF50yq/6uEauzNYGGqQxpW3Bl6E7K+/PpMGVA2yepmI5IR64sjq3orrG kSe2wuDXZlE4W1r3XR/JgvGFh6e1KGHNW0YMk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=EOCV2kbwoxtRBBxUSCTYw9AHqxCB9SdhahJzAVQXy9OfXd6lD03tJySTuGyFwrzaRq Mgz8u/o6sDwHpUKi5jlkLHgH7AnIaCSvPw4NJdH9OLGg33AqLyl5djNB7YsAAfNUmBDe etPuBYoTTB8pRfkJK3bX6isb/8O804hnk0+tE= Message-ID: <[email protected]> Date: Fri, 15 Aug 2008 10:10:41 +0200 From: "Johan Haleby" <[email protected]> To: [email protected] Subject: Help with performance issues MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_122390_3208446.1218787841087" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_122390_3208446.1218787841087 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I've basically tried to ask this question before ( http://mina.markmail.org/message/bjpiogngdaxf3fyc?q=Buffering+question) but unfortunately I didn't manage to get much further. So I'll try to refrain my question a little bit in the hope to get some more answers. I'm using Mina to broadcast lots of incoming data from external hardware devices to connected clients. We need a write-throughput of at least 40 Mbit/s and right now we're reaching _at most_ about 10MBits/s (but usually it's just around 3Mbit/s). The data is received by the Mina server as binary data but is converted into strings (the data is actually utf-8 encoded strings). When a new line has been detected, some meta-data is added to the detected row and the whole row is persisted to disk as well as being sent to all clients registered to receive data from this device. For each line one or more regular expression filters are applied (since the clients are only interested in certain data). Right now I'm using session.write(rowData) for each new line for each client who's registered as interested. But as soon as we get many clients (> 30 or so) the performance is declining. In some tests we've done it takes several minutes for the clients to receive all data after the hardware device has been shutdown. For encoding I'm using the TextLineEncoder and I suspect I may be suffering from the same issue as in http://mina.markmail.org/message/5xtmwbode6cgifox?q=performance+file("[TextLineEncoder] create a bunch of (small) IoBuffer objects for each individual line (or message object) which are then put into the writer's queue. This is quite inefficient since thousand of small IoBuffer objects will be sent over the wire instead of creating one buffer with a more appropriate buffer size"). I've tried using the mergeAll method but I don't see much difference, but mabey I'm not using it correctly. I've also taken a look at the Mina FTP server project. Here the data channels are made up of input and outputstreams stored in the session. Perhaps I'm better of using this approach for sending the data instead of going through the TextLineEncoder? I'm using Mina 1.1.7. What do you think? /Johan ------=_Part_122390_3208446.1218787841087-- From [email protected] Fri Aug 15 09:30:14 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20246 invoked from network); 15 Aug 2008 09:30:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Aug 2008 09:30:14 -0000 Received: (qmail 89946 invoked by uid 500); 15 Aug 2008 09:30:12 -0000 Delivered-To: [email protected] Received: (qmail 89931 invoked by uid 500); 15 Aug 2008 09:30:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 89920 invoked by uid 99); 15 Aug 2008 09:30:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2008 02:30:12 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wr-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2008 09:29:13 +0000 Received: by wr-out-0506.google.com with SMTP id 69so931449wra.16 for <[email protected]>; Fri, 15 Aug 2008 02:29:23 -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:reply-to :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=emIjzC1ZNS/kiu1jz7vlcArbBgATVwnWuxcHPGknOOM=; b=EkqrJj+avY0Ql54mOxm0Iif/jZTgVJMS6VOybrB6u3ZN5VWu3OttGezzKtNxigGl7N YK3gTu2R3zqpcKOoI8kHXDzGOMeo+eIZikVVzhtClh/9T8jxDYDBYSZ6nb5pigCeC3/s 2L2YSNVKH7gXqVogRV6rvQZlVxfNH7LJUYhuM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=tk/z0+dE+TRfjfjCGrUDQBa8Ml3NKYWfSp7+AVexfLgnPftdwTH8SkTg/zMtKN75NZ F1WrJXAd02M3eI1d55laKDnvtEcASFHLr4Rm2kJO4PGn6SmF6A+dNZKLeqbURoD6qf4Y bDOrjf7KCNpPmowWteeoODquL/YLlesY7WPc4= Received: by 161.129.204.104 with SMTP id l15mr3342755aga.79.1218792563198; Fri, 15 Aug 2008 02:29:23 -0700 (PDT) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTPS id 39sm3751584agb.23.2161.129.204.104.29.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 15 Aug 2008 02:29:22 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 15 Aug 2008 11:29:20 +0200 From: Emmanuel Lecharny <[email protected]> Reply-To: [email protected] User-Agent: Thunderbird 161.129.204.104 (X11/20080724) MIME-Version: 1.0 To: [email protected] Subject: Re: Help with performance issues References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, have you used a profiler to see if you have some bottleneck, and if so, where ? Johan Haleby wrote: > Hi, > > I've basically tried to ask this question before ( > http://mina.markmail.org/message/bjpiogngdaxf3fyc?q=Buffering+question) but > unfortunately I didn't manage to get much further. So I'll try to refrain my > question a little bit in the hope to get some more answers. > > I'm using Mina to broadcast lots of incoming data from external hardware > devices to connected clients. We need a write-throughput of at least 40 > Mbit/s and right now we're reaching _at most_ about 10MBits/s (but usually > it's just around 3Mbit/s). The data is received by the Mina server as binary > data but is converted into strings (the data is actually utf-8 encoded > strings). When a new line has been detected, some meta-data is added to the > detected row and the whole row is persisted to disk as well as being sent to > all clients registered to receive data from this device. For each line one > or more regular expression filters are applied (since the clients are only > interested in certain data). Right now I'm using session.write(rowData) for > each new line for each client who's registered as interested. But as soon as > we get many clients (> 30 or so) the performance is declining. In some tests > we've done it takes several minutes for the clients to receive all data > after the hardware device has been shutdown. For encoding I'm using the > TextLineEncoder and I suspect I may be suffering from the same issue as in > http://mina.markmail.org/message/5xtmwbode6cgifox?q=performance+file("[TextLineEncoder] > create a bunch of (small) IoBuffer objects for each > individual line (or message object) which are then put into the writer's > queue. This is quite inefficient since thousand of small IoBuffer objects > will be sent over the wire instead of creating one buffer with a more > appropriate buffer size"). I've tried using the mergeAll method but I don't > see much difference, but mabey I'm not using it correctly. I've also taken a > look at the Mina FTP server project. Here the data channels are made up of > input and outputstreams stored in the session. Perhaps I'm better of using > this approach for sending the data instead of going through the > TextLineEncoder? I'm using Mina 1.1.7. > > What do you think? > > /Johan > > -- -- cordialement, regards, Emmanuel Lécharny www.iktek.com directory.apache.org From [email protected] Fri Aug 15 09:49:24 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29935 invoked from network); 15 Aug 2008 09:49:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Aug 2008 09:49:24 -0000 Received: (qmail 2570 invoked by uid 500); 15 Aug 2008 09:49:23 -0000 Delivered-To: [email protected] Received: (qmail 2435 invoked by uid 500); 15 Aug 2008 09:49:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 2424 invoked by uid 99); 15 Aug 2008 09:49:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2008 02:49:22 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO emh05.mail.saunalahti.fi) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2008 09:48:24 +0000 Received: from saunalahti-vams (vs3-12.mail.saunalahti.fi [161.129.204.104]) by emh05-2.mail.saunalahti.fi (Postfix) with SMTP id DC8EC8C9A1 for <[email protected]>; Fri, 15 Aug 2008 12:48:47 +0300 (EEST) Received: from emh02.mail.saunalahti.fi ([161.129.204.104]) by vs3-12.mail.saunalahti.fi ([161.129.204.104]) with SMTP (gateway) id A04024A7DFB; Fri, 15 Aug 2008 12:48:47 +0300 Received: from anubis.fi.indagon.com (gw.indagon.com [161.129.204.104]) by emh02.mail.saunalahti.fi (Postfix) with ESMTP id C19332BD5F for <[email protected]>; Fri, 15 Aug 2008 12:48:46 +0300 (EEST) Received: from [161.129.204.104] ([email protected] [161.129.204.104]) by anubis.fi.indagon.com (8.13.8/8.13.8) with ESMTP id m7F9mjOb029320 for <[email protected]>; Fri, 15 Aug 2008 12:48:46 +0300 Message-ID: <[email protected]> Date: Fri, 15 Aug 2008 12:48:44 +0300 From: Tuure Laurinolli <[email protected]> User-Agent: Icedove 161.129.204.104 (X11/20070730) MIME-Version: 1.0 To: [email protected] Subject: Re: Help with performance issues References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: VAMS X-Virus-Checked: Checked by ClamAV on apache.org Johan Haleby wrote: > I'm using Mina to broadcast lots of incoming data from external hardware > devices to connected clients. > But as soon as > we get many clients (> 30 or so) the performance is declining. In some tests > we've done it takes several minutes for the clients to receive all data > after the hardware device has been shutdown. How is the program behaving? Is it CPU-bound? Does heap size increase until you shut down the data-producing device? > This is quite inefficient since thousand of small IoBuffer objects > will be sent over the wire instead of creating one buffer with a more > appropriate buffer size"). Have you checked if the buffers are actually sent in separate IP packets, or combined at some level into larger packets? Have you tuned send/receive buffer sizes? Does your socket have TCP_NO_DELAY set? From [email protected] Fri Aug 15 16:07:44 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25632 invoked from network); 15 Aug 2008 16:07:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Aug 2008 16:07:44 -0000 Received: (qmail 46454 invoked by uid 500); 15 Aug 2008 16:07:42 -0000 Delivered-To: [email protected] Received: (qmail 46284 invoked by uid 500); 15 Aug 2008 16:07:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 46273 invoked by uid 99); 15 Aug 2008 16:07:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2008 09:07:42 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO AGREF.agrium.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2008 16:06:46 +0000 Received: from OUT-MTA by AGREF.agrium.com with Novell_GroupWise; Fri, 15 Aug 2008 09:05:43 -0600 Message-Id: <[email protected]> X-Mailer: Novell GroupWise Internet Agent 7.0.2 HP Date: Fri, 15 Aug 2008 09:05:26 -0600 From: "Landon Fabbricino" <[email protected]> To: <[email protected]> Subject: Connection Lost... No knowledge of it Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org I have been working on this project for a few days, my first attempt at = the Mina framework and I have been having a few issues. Background: My application connects to multiple servers and grab informatio= n from them. 1) When the application is running and the server I am connected to = crashes, or loses internet connection, I am not seeing any communication = on my side that the connection has been lost. (I am just watching the log4j output.) =20 =20 Would my handler be responsible to pick up this lost connection? If = not, where would I identify a reconnect from. 2) Could someone help to better explain the following: ConnectFuture cf connector.connect..... cf.getSession().getCloseFuture().awaitUninterruptibly(); // What is this = line of code ? I have been commenting this line out as my application stops connecting to = other servers when it hits this line of code. Thanks for reading my rambling, and I appreciate any assistance I may get. Thanks. =09 IMPORTANT NOTICE !=20 This E-Mail transmission and any accompanying attachments may contain = confidential information intended only for the use of the individual or = entity named above. Any dissemination, distribution, copying or action = taken in reliance on the contents of this E-Mail by anyone other than the = intended recipient is strictly prohibited and is not intended to, in = anyway, waive privilege or confidentiality. If you have received this = E-Mail in error please immediately delete it and notify sender at the = above E-Mail address. =20 Agrium uses state of the art anti-virus technology on all incoming and = outgoing E-Mail. We encourage and promote the use of safe E-Mail management= practices and recommend you check this, and all other E-Mail and = attachments you receive for the presence of viruses. The sender and Agrium = accept no liability for any damage caused by a virus or otherwise by the = transmittal of this E-Mail.=20 From [email protected] Fri Aug 15 16:58:43 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55021 invoked from network); 15 Aug 2008 16:58:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Aug 2008 16:58:43 -0000 Received: (qmail 2185 invoked by uid 500); 15 Aug 2008 16:58:41 -0000 Delivered-To: [email protected] Received: (qmail 2173 invoked by uid 500); 15 Aug 2008 16:58:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 2162 invoked by uid 99); 15 Aug 2008 16:58:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2008 09:58:41 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO emh06.mail.saunalahti.fi) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2008 16:57:43 +0000 Received: from saunalahti-vams (vs3-11.mail.saunalahti.fi [161.129.204.104]) by emh06-2.mail.saunalahti.fi (Postfix) with SMTP id 1A6E8C7B4A for <[email protected]>; Fri, 15 Aug 2008 19:58:09 +0300 (EEST) Received: from emh03.mail.saunalahti.fi ([161.129.204.104]) by vs3-11.mail.saunalahti.fi ([161.129.204.104]) with SMTP (gateway) id A04FFC16832; Fri, 15 Aug 2008 19:58:09 +0300 Received: from anubis.fi.indagon.com (gw.indagon.com [161.129.204.104]) by emh03.mail.saunalahti.fi (Postfix) with ESMTP id 029BD158AC7 for <[email protected]>; Fri, 15 Aug 2008 19:58:07 +0300 (EEST) Received: from [161.129.204.104] ([email protected] [161.129.204.104]) by anubis.fi.indagon.com (8.13.8/8.13.8) with ESMTP id m7FGw4Ow020908 for <[email protected]>; Fri, 15 Aug 2008 19:58:04 +0300 Message-ID: <[email protected]> Date: Fri, 15 Aug 2008 19:58:03 +0300 From: Tuure Laurinolli <[email protected]> User-Agent: Icedove 161.129.204.104 (X11/20070730) MIME-Version: 1.0 To: [email protected] Subject: Re: Connection Lost... No knowledge of it References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: VAMS X-Virus-Checked: Checked by ClamAV on apache.org Landon Fabbricino wrote: > 1) When the application is running and the server I am connected to crashes, or loses internet connection, I am not seeing any communication on my side that the connection has been lost. > (I am just watching the log4j output.) > > Would my handler be responsible to pick up this lost connection? If not, where would I identify a reconnect from. Yes. Your handler should deal with lost connections somehow. How you determine the connection is lost is another matter. In most cases there be any event to tell you the other end of the connection is no longer active. The best you can do, really, is to use the timeout mechanism to detect that it hasn't been active in a long time, and close the connection yourself. Whether you decide to reconnect or do something else is outside the scope of MINA - you need to write your own code to do that (ie. call establish a new session upon disconnection, or perhaps some time after the disconnection). > 2) Could someone help to better explain the following: > ConnectFuture cf connector.connect..... > cf.getSession().getCloseFuture().awaitUninterruptibly(); // What is this line of code ? It seems to wait until the connection established by the connector.connect() call is closed. I'm not sure that code is correct, however. I would expect getSession() to return null quite often if called right after connect(), since the connection likely isn't established that quickly. From [email protected] Fri Aug 15 19:39:04 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52384 invoked from network); 15 Aug 2008 19:39:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Aug 2008 19:39:04 -0000 Received: (qmail 82962 invoked by uid 500); 15 Aug 2008 19:39:03 -0000 Delivered-To: [email protected] Received: (qmail 82789 invoked by uid 500); 15 Aug 2008 19:39:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 82778 invoked by uid 99); 15 Aug 2008 19:39:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2008 12:39:02 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nf-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2008 19:38:05 +0000 Received: by nf-out-0910.google.com with SMTP id g16so669908nfd.2 for <[email protected]>; Fri, 15 Aug 2008 12:38:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-mailer; bh=3dvnXztRWEaY30N44g/6zB94BGwzqomuejfKlfItYAY=; b=chZ9cqQwfd28Cl6BiLYiLmj0daIOTs87+NYUYjDYNUXYDw5fGaEUB9m5NACjpPDQrg yH5x9aUQXdtM4vVKcxSYvxtD6rWLJBrLb9pFZ7wcNR8ksITWktAYAFhsWNJBkC09UieD iDCC42TWKqIG9rcDih/INFJA81SwPH+Cyif7c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=u/rKXE3BoSEHmWjXGau9vhPrdd+akSSG+zkmipLsd+ZH8eieKe4xMWd24T+O32VY1H +zTz8r7M78e3iM0FhIkD8MKF93xfcYbRwh1Tw+tMJWmaLPcJiO5SA2xAST7VZWKqB/Mi YCYJ9ZK46NBcLGezIWwZVvDGjXSTkR3+NG2dg= Received: by 161.129.204.104 with SMTP id 19mr3613985eby.13.1218829095706; Fri, 15 Aug 2008 12:38:15 -0700 (PDT) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTPS id k9sm2092667nfh.23.2161.129.204.104.38.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 15 Aug 2008 12:38:09 -0700 (PDT) Message-Id: <[email protected]> From: Jan Krabbenbos <[email protected]> To: [email protected] Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Subject: Broadcasting Date: Fri, 15 Aug 2008 21:36:14 +0200 X-Mailer: Apple Mail (2.926) X-Virus-Checked: Checked by ClamAV on apache.org Hi, I've just started to use Mina for replacing some existing software. I've got the server side networking up and running with existing clients. Now I'm trying to implement the network layer for the client. I need to broadcast from the client to the server. This is used to detect on which IP address the server resides. How do I broadcast something with a SocketConnector or NioSocketConnector without having any sessions? The javadoc tells me it inherits a 'broadcast' from IoService, and that tells me that it only broadcasts to all sessions. Greetings, Jan From [email protected] Fri Aug 15 22:04:08 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52123 invoked from network); 15 Aug 2008 22:04:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Aug 2008 22:04:08 -0000 Received: (qmail 59432 invoked by uid 500); 15 Aug 2008 22:04:07 -0000 Delivered-To: [email protected] Received: (qmail 59419 invoked by uid 500); 15 Aug 2008 22:04:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 59407 invoked by uid 99); 15 Aug 2008 22:04:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2008 15:04:07 -0700 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO yw-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2008 22:03:10 +0000 Received: by yw-out-1718.google.com with SMTP id 5so88467ywm.32 for <[email protected]>; Fri, 15 Aug 2008 15:03:37 -0700 (PDT) Received: by 161.129.204.104 with SMTP id h21mr4666034ybo.72.1218837817529; Fri, 15 Aug 2008 15:03:37 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 15 Aug 2008 15:03:37 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 15 Aug 2008 18:03:37 -0400 From: "Mitchell Berg" <[email protected]> To: [email protected] Subject: How to ByPass ProtocolCodecFilter for FileInputStream Object MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_115486_17530925.1218837817515" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_115486_17530925.1218837817515 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I have a client/server app that sends both commands and files between the client and the server. The commands use a certain custom protocol (i.e. a header added to each message sent that allows each side to identify the type of message). I would like to be able to send files over the same connection. So my thought was to 1) modify the StreamWriteFilter so that the appropriate header is added to each message sent - meaning the protocol is added at the modified StreamWriterFilter FileInputStream fis = *new* FileInputStream(fileToTransfer); WriteFuture future = ioSession.write(fis); future.join(); and 2) to have all FileInputStream messages bypass the protocolCodecFilter. I just cannot figure out how to bypass the protocolCodecFilter for FileInputStream objects?? Any ideas? Thanks, Mitch ------=_Part_115486_17530925.1218837817515-- From [email protected] Sat Aug 16 13:35:23 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13537 invoked from network); 16 Aug 2008 13:35:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Aug 2008 13:35:23 -0000 Received: (qmail 7959 invoked by uid 500); 16 Aug 2008 13:35:21 -0000 Delivered-To: [email protected] Received: (qmail 7945 invoked by uid 500); 16 Aug 2008 13:35:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7934 invoked by uid 99); 16 Aug 2008 13:35:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Aug 2008 06:35:21 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wr-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Aug 2008 13:34:25 +0000 Received: by wr-out-0506.google.com with SMTP id 69so1392340wra.16 for <[email protected]>; Sat, 16 Aug 2008 06:34:36 -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:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=fBMpGtbl8mcAMQQQ/QHDeiTTaUffyY/zbqBsRxY5PJw=; b=A0S77Js/Q8JGcCZzFVlZE6Bgve9bQI/wx2dbnRG8M46/zPcwFVWOP/9z7Ome+EPaIk w2v1Sea5V3vzu7rc8CYVWclqCLyDJsrzZ34DRtoroUtItCqUDiHra7aW+DAZQLkglYQk xbzN7l2qrJbho1SKklcmxv+fu5ZMHr1/XJSWo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=pFsM4G06w0VkcYRRHbRKfTe5KlUXDinHfYHPHswmd939+UtYTsXBHMc1VXleAbJT8v hV2BnBLT6LGx/OzwFwTP5Wxg6u1Gh23OR3QfETpWE9cq2jPowtmaMtYUtVP3JTsTQxb6 N9dEo6XcZnV7kmKCEgiMcOS8e8TX3Kyr9tDdQ= Received: by 161.129.204.104 with SMTP id r15mr5176561aga.12.1218893675820; Sat, 16 Aug 2008 06:34:35 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sat, 16 Aug 2008 06:34:35 -0700 (PDT) Message-ID: <[email protected]> Date: Sat, 16 Aug 2008 15:34:35 +0200 From: "W.B. Garvelink" <[email protected]> To: [email protected] Subject: Re: How to ByPass ProtocolCodecFilter for FileInputStream Object In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ProtocolCodecFilter is a nonfinal class, so if I understand your requirements correctly, you can override its filterWrite() method to invoke super.filterWrite() for 'normal' WriteRequests, and nextFilter.filterWrite() for FileInputStream WriteRequests to get the desired behaviour. Barend On Sat, Aug 16, 2008 at 12:03 AM, Mitchell Berg <[email protected]> wrote: > Hi, > > I have a client/server app that sends both commands and files between the > client and the server. The commands use a certain custom protocol (i.e. a > header added to each message sent that allows each side to identify the type > of message). I would like to be able to send files over the > same connection. So my thought was to 1) modify the StreamWriteFilter so > that the appropriate header is added to each message sent - meaning the > protocol is added at the modified StreamWriterFilter > > > FileInputStream fis = *new* FileInputStream(fileToTransfer); > WriteFuture future = ioSession.write(fis); > future.join(); > and 2) to have all FileInputStream messages bypass the protocolCodecFilter. > > I just cannot figure out how to bypass the protocolCodecFilter for > FileInputStream objects?? > > Any ideas? > > Thanks, > Mitch > From [email protected] Sun Aug 17 14:38:31 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90574 invoked from network); 17 Aug 2008 14:38:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Aug 2008 14:38:31 -0000 Received: (qmail 92502 invoked by uid 500); 17 Aug 2008 14:38:30 -0000 Delivered-To: [email protected] Received: (qmail 92331 invoked by uid 500); 17 Aug 2008 14:38:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 92320 invoked by uid 99); 17 Aug 2008 14:38:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Aug 2008 07:38:29 -0700 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO yw-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Aug 2008 14:37:33 +0000 Received: by yw-out-1718.google.com with SMTP id 5so153452ywm.32 for <[email protected]>; Sun, 17 Aug 2008 07:37:40 -0700 (PDT) Received: by 161.129.204.104 with SMTP id q7mr7786975ybi.123.1218983860818; Sun, 17 Aug 2008 07:37:40 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sun, 17 Aug 2008 07:37:40 -0700 (PDT) Message-ID: <[email protected]> Date: Sun, 17 Aug 2008 10:37:40 -0400 From: "Mitchell Berg" <[email protected]> To: [email protected] Subject: Re: How to ByPass ProtocolCodecFilter for FileInputStream Object In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_121158_10230290.1218983860769" References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_121158_10230290.1218983860769 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Barend, Thanks so much - that was exactly what I was looking for! Mitch On Sat, Aug 16, 2008 at 9:34 AM, W.B. Garvelink <[email protected]>wrote: > ProtocolCodecFilter is a nonfinal class, so if I understand your > requirements correctly, you can override its filterWrite() method to > invoke super.filterWrite() for 'normal' WriteRequests, and > nextFilter.filterWrite() for FileInputStream WriteRequests to get the > desired behaviour. > > Barend > > > > > > > On Sat, Aug 16, 2008 at 12:03 AM, Mitchell Berg <[email protected]> > wrote: > > Hi, > > > > I have a client/server app that sends both commands and files between the > > client and the server. The commands use a certain custom protocol (i.e. > a > > header added to each message sent that allows each side to identify the > type > > of message). I would like to be able to send files over the > > same connection. So my thought was to 1) modify the StreamWriteFilter so > > that the appropriate header is added to each message sent - meaning the > > protocol is added at the modified StreamWriterFilter > > > > > > FileInputStream fis = *new* FileInputStream(fileToTransfer); > > WriteFuture future = ioSession.write(fis); > > future.join(); > > and 2) to have all FileInputStream messages bypass the > protocolCodecFilter. > > > > I just cannot figure out how to bypass the protocolCodecFilter for > > FileInputStream objects?? > > > > Any ideas? > > > > Thanks, > > Mitch > > > ------=_Part_121158_10230290.1218983860769-- From [email protected] Mon Aug 18 08:08:53 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42091 invoked from network); 18 Aug 2008 08:08:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Aug 2008 08:08:53 -0000 Received: (qmail 84841 invoked by uid 500); 18 Aug 2008 08:08:51 -0000 Delivered-To: [email protected] Received: (qmail 84830 invoked by uid 500); 18 Aug 2008 08:08:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84819 invoked by uid 99); 18 Aug 2008 08:08:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2008 01:08:51 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO flsc030.serveursdns.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2008 08:07:52 +0000 Received: from pcjvermillard (191.55.101-84.rev.gaoland.net [161.129.204.104]) by smtp-01.serveursdns.net (Postfix) with ESMTP id 3BA036E4217 for <[email protected]>; Mon, 18 Aug 2008 10:07:48 +0200 (CEST) Date: Mon, 18 Aug 2008 10:07:48 +0200 From: Julien Vermillard <[email protected]> To: [email protected] Subject: Re: RSS of News on Main Page Message-ID: <20080818100748.2b4eeec0@pcjvermillard> In-Reply-To: <[email protected]> References: <[email protected]> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/ku/4IVkq26AETN.rSzJO54z"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Virus-Checked: Checked by ClamAV on apache.org --Sig_/ku/4IVkq26AETN.rSzJO54z Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 14 Aug 2008 23:38:13 -0300 "Felipe Coury" <[email protected]> wrote: > The link on the RSS Symbol on the News section of main page is > invalid. Clicking it gives the following error: >=20 > There has been an error of some kind. Ack! > FeedBurner could not deliver this feed to you because of the specific > problem listed below: >=20 > Feed Address: http://feeds.feedburner.com/asf/mina >=20 > HTTP Error (Code) and Message: (404) Feed not found error: FeedBurner > cannot locate this feed URI. >=20 > Best regards, Thanks for the report, I'm going to fix that. Julien --Sig_/ku/4IVkq26AETN.rSzJO54z Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIqS3UHMBmbW1IlcURArWkAJ9ICdFg3ZVyPwOgu7ap5+AYUrXV8wCcCuiV TAiJcgxKAgu2CL9Oi754sFU= =gg8t -----END PGP SIGNATURE----- --Sig_/ku/4IVkq26AETN.rSzJO54z-- From [email protected] Mon Aug 18 09:28:39 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76557 invoked from network); 18 Aug 2008 09:28:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Aug 2008 09:28:39 -0000 Received: (qmail 62405 invoked by uid 500); 18 Aug 2008 09:28:37 -0000 Delivered-To: [email protected] Received: (qmail 62388 invoked by uid 500); 18 Aug 2008 09:28:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 62377 invoked by uid 99); 18 Aug 2008 09:28:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2008 02:28:37 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO flsc030.serveursdns.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2008 09:27:38 +0000 Received: from pcjvermillard (191.55.101-84.rev.gaoland.net [161.129.204.104]) by smtp-01.serveursdns.net (Postfix) with ESMTP id 236766E42A1 for <[email protected]>; Mon, 18 Aug 2008 11:28:05 +0200 (CEST) Date: Mon, 18 Aug 2008 11:28:05 +0200 From: Julien Vermillard <[email protected]> To: [email protected] Subject: Re: RSS of News on Main Page Message-ID: <20080818112805.2607b5d0@pcjvermillard> In-Reply-To: <[email protected]> References: <[email protected]> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/VYR0KAOJ4c.PknuNM=a_twn"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Virus-Checked: Checked by ClamAV on apache.org --Sig_/VYR0KAOJ4c.PknuNM=a_twn Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 14 Aug 2008 23:38:13 -0300 "Felipe Coury" <[email protected]> wrote: > The link on the RSS Symbol on the News section of main page is > invalid. Clicking it gives the following error: >=20 > There has been an error of some kind. Ack! > FeedBurner could not deliver this feed to you because of the specific > problem listed below: >=20 > Feed Address: http://feeds.feedburner.com/asf/mina >=20 > HTTP Error (Code) and Message: (404) Feed not found error: FeedBurner > cannot locate this feed URI. >=20 > Best regards, Should be fixed now, can you check please ? Julien --Sig_/VYR0KAOJ4c.PknuNM=a_twn Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIqUClHMBmbW1IlcURAmCDAJ99ZxjWYsBqv3SJH+2DkAhPsaJ02QCfQVDb B4Enh8gI+Tt/pMKwd/WtglI= =aSIR -----END PGP SIGNATURE----- --Sig_/VYR0KAOJ4c.PknuNM=a_twn-- From [email protected] Mon Aug 18 11:14:41 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25180 invoked from network); 18 Aug 2008 11:14:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Aug 2008 11:14:41 -0000 Received: (qmail 61399 invoked by uid 500); 18 Aug 2008 11:14:39 -0000 Delivered-To: [email protected] Received: (qmail 61376 invoked by uid 500); 18 Aug 2008 11:14:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 61365 invoked by uid 99); 18 Aug 2008 11:14:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2008 04:14:39 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mailgw4.ericsson.se) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2008 11:13:39 +0000 Received: from mailgw4.ericsson.se (unknown [161.129.204.104]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id 61AFA212BF for <[email protected]>; Mon, 18 Aug 2008 13:12:43 +0200 (CEST) X-AuditID: c1b4fb3e-a7682bb000007a96-fe-48a9592bcad9 Received: from esealmw128.eemea.ericsson.se (unknown [161.129.204.104]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id 4C7C721292 for <[email protected]>; Mon, 18 Aug 2008 13:12:43 +0200 (CEST) Received: from esealmw126.eemea.ericsson.se ([161.129.204.104]) by esealmw128.eemea.ericsson.se with Microsoft SMTPSVC+1-218-282-5572); Mon, 18 Aug 2008 13:12:43 +0200 Received: from emyklmw103.eapac.ericsson.se ([161.129.204.104]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC+1-218-282-5572); Mon, 18 Aug 2008 13:12:43 +0200 Received: from ecnshmw511.eapac.ericsson.se ([161.129.204.104]) by emyklmw103.eapac.ericsson.se with Microsoft SMTPSVC+1-218-282-5572); Mon, 18 Aug 2008 19:12:35 +0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: How to ByPass ProtocolCodecFilter for FileInputStream Object Date: Mon, 18 Aug 2008 19:12:33 +0800 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to ByPass ProtocolCodecFilter for FileInputStream Object Thread-Index: Acj/pPOXd+4ALIDXSrq2BMVh/T08vwBfdaVw References: <[email protected]> <[email protected]> From: "Wenrui Guo" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 18 Aug 2008 11:12:35.0044 (UTC) FILETIME=[50F44A40:01C90123] X-Brightmail-Tracker: AAAAAA== X-Virus-Checked: Checked by ClamAV on apache.org In my application, I add special decision inside ProtocolEncoder / ProtocolDecoder to bypass certain data type. I don't know if override ProtocolCodecFilter.filterWrite() is a better way. If it is, why not add a template method inside it thus child class can easily write its own implementation to bypass special data packet. BR anderson -----Original Message----- From: W.B. Garvelink [mailto:[email protected]]=20 Sent: Saturday, August 16, 2008 9:35 PM To: [email protected] Subject: Re: How to ByPass ProtocolCodecFilter for FileInputStream Object ProtocolCodecFilter is a nonfinal class, so if I understand your requirements correctly, you can override its filterWrite() method to invoke super.filterWrite() for 'normal' WriteRequests, and nextFilter.filterWrite() for FileInputStream WriteRequests to get the desired behaviour. Barend On Sat, Aug 16, 2008 at 12:03 AM, Mitchell Berg <[email protected]> wrote: > Hi, > > I have a client/server app that sends both commands and files between=20 > the client and the server. The commands use a certain custom protocol > (i.e. a header added to each message sent that allows each side to=20 > identify the type of message). I would like to be able to send files=20 > over the same connection. So my thought was to 1) modify the=20 > StreamWriteFilter so that the appropriate header is added to each=20 > message sent - meaning the protocol is added at the modified=20 > StreamWriterFilter > > > FileInputStream fis =3D *new* FileInputStream(fileToTransfer);=20 > WriteFuture future =3D ioSession.write(fis); future.join(); and 2) to=20 > have all FileInputStream messages bypass the protocolCodecFilter. > > I just cannot figure out how to bypass the protocolCodecFilter for=20 > FileInputStream objects?? > > Any ideas? > > Thanks, > Mitch > From [email protected] Mon Aug 18 12:30:57 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65463 invoked from network); 18 Aug 2008 12:30:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Aug 2008 12:30:57 -0000 Received: (qmail 50322 invoked by uid 500); 18 Aug 2008 12:30:55 -0000 Delivered-To: [email protected] Received: (qmail 50153 invoked by uid 500); 18 Aug 2008 12:30:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 50142 invoked by uid 99); 18 Aug 2008 12:30:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2008 05:30:55 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2008 12:29:58 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1KV3sQ-0001jH-LQ for [email protected]; Mon, 18 Aug 2008 05:30:26 -0700 Message-ID: <[email protected]> Date: Mon, 18 Aug 2008 05:30:26 -0700 (PDT) From: Chris Hurst <[email protected]> To: [email protected] Subject: Re: MINA and Glassfish In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] References: <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Did anyone get any further with this issue as the exact same thing is happening to me. cheers. Julien Vermillard wrote: > > On Fri, 1 Aug 2008 13:18:17 +0200 > "Mezei Zoltan" <[email protected]> wrote: > >> On Fri, Aug 1, 2008 at 4:55 AM, Mezei Zoltan <[email protected]> >> wrote: >> > What can go wrong when I use the web application? Can I make it >> > work somehow? >> >> Update: I tried to run the program using MINA 2.0.0-M2 when I got the >> exceptions. The equivalent program works perfectly from the web >> context using MINA 1.1.7. >> >> Should I submit a bug report about this regression? >> >> Can I help with more testing or anything else? > > Hi, > can you provide a small test case so we can reproduce it ? > If so feel free to attach to a JIRA issue, so we can look at the > problem. > > Cheers, > > Julien > > > -- View this message in context: http://www.nabble.com/MINA-and-Glassfish-tp18767392p19030673.html Sent from the Apache MINA User Forum mailing list [email protected]. From [email protected] Mon Aug 18 13:12:26 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92128 invoked from network); 18 Aug 2008 13:12:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Aug 2008 13:12:26 -0000 Received: (qmail 15607 invoked by uid 500); 18 Aug 2008 13:12:24 -0000 Delivered-To: [email protected] Received: (qmail 15589 invoked by uid 500); 18 Aug 2008 13:12:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 15578 invoked by uid 99); 18 Aug 2008 13:12:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2008 06:12:24 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO yx-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2008 13:10:39 +0000 Received: by yx-out-1718.google.com with SMTP id 36so1193600yxh.32 for <[email protected]>; Mon, 18 Aug 2008 06:10:38 -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:to :subject:in-reply-to:mime-version:content-type:references; bh=XGviA4amtR0sLe8Oq89g8eEaZAoiyMP/rrWOWIKeMXI=; b=OlMg5WHGXHiodR6lMwoMkAgn3RE+yVb7u3wnLDwEE5j+v7zpMF1b9dHdXDeHGuXUPR Io64fYYuOtQBEggyO28V3VY8+c460kfruMxhl4Cy2yPS+yoG69kOX2qhhOZZPTMs6qVh kkKLzCSFO9hEotFLNd91k8np+AQK8hZjIoK3o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=tU6854aMVTe09RpnlJAdcDxINrKe09fWlneKB5hwIKUhdl4YhFnFTHyaDaXkfghoAF OnfjdP4buFzTDkWQFP3J0zudKSRLGTf/kx2dkVb2ClgImXmcBsEvqS79+Q85zM82Rq7N 0kuRwDQKm45OtvOaBv2AjqXivhxUrkt7tn8Qk= Received: by 161.129.204.104 with SMTP id m19mr2036151wfd.154.1219065036769; Mon, 18 Aug 2008 06:10:36 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 18 Aug 2008 06:10:36 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 18 Aug 2008 10:10:36 -0300 From: "Felipe Coury" <[email protected]> To: [email protected] Subject: Re: RSS of News on Main Page In-Reply-To: <20080818112805.2607b5d0@pcjvermillard> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_158382_5615236.1219065036777" References: <[email protected]> <20080818112805.2607b5d0@pcjvermillard> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_158382_5615236.1219065036777 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Julien, Thanks for the reply, it's working ;) Best regards, --=20 Felipe Gon=E7alves Coury Software Engineer and Java Specialist [email protected] Mobile: +55 19 9305-3619 Home: +1-218-282-5572 Hey, visit my blogs: http://blogs.felipecoury.com http://felipecoury.wordpress.com On Mon, Aug 18, 2008 at 6:28 AM, Julien Vermillard <[email protected]>wrote: > On Thu, 14 Aug 2008 23:38:13 -0300 > "Felipe Coury" <[email protected]> wrote: > > > The link on the RSS Symbol on the News section of main page is > > invalid. Clicking it gives the following error: > > > > There has been an error of some kind. Ack! > > FeedBurner could not deliver this feed to you because of the specific > > problem listed below: > > > > Feed Address: http://feeds.feedburner.com/asf/mina > > > > HTTP Error (Code) and Message: (404) Feed not found error: FeedBurner > > cannot locate this feed URI. > > > > Best regards, > > Should be fixed now, can you check please ? > Julien > ------=_Part_158382_5615236.1219065036777-- From [email protected] Mon Aug 18 14:06:42 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30905 invoked from network); 18 Aug 2008 14:06:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Aug 2008 14:06:41 -0000 Received: (qmail 89264 invoked by uid 500); 18 Aug 2008 14:06:40 -0000 Delivered-To: [email protected] Received: (qmail 89247 invoked by uid 500); 18 Aug 2008 14:06:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 89236 invoked by uid 99); 18 Aug 2008 14:06:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2008 07:06:39 -0700 X-ASF-Spam-Status: No, hits=3.5 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-gx0-f17.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2008 14:05:43 +0000 Received: by gxk10 with SMTP id 10so3640660gxk.8 for <[email protected]>; Mon, 18 Aug 2008 07:06:11 -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:to :subject:mime-version:content-type; bh=4uZM7FVxxG8hxxhUJezr3S8Od79GA14UhCe9rUSMNDs=; b=BEreP+//EYOZTXRhJXt/kW/VjnH8/eq6Ia4nhdkO0nIZqz8opDEAxTiQD7vbZqLm/g auA5UhloyJ2MWd3lwYTV7NArQxF52d0dMdWEkUhyBRGSLzp/Mtl4nPJcMyd0VModFSKY Du/EVYf1hsGig9sIpCaVHYhMH1LMqIMB6eKaE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=pSSCFcgJKR3/vrOWXXcwnnPE+7BALr2nextENAvPvxD7NCKk7pAPNfqZrcJEeP4YtS h6Rbd3IWPAg6490Z+q8eULfMU6L/SYNt4VG2GjllhOPsbsS2jmsI0kwQ2jum+aDuDB3u yHLyav8+2TEQNAxEkCwAU6tNoCAZXaHKTxCMQ= Received: by 161.129.204.104 with SMTP id f19mr9772700ybo.116.1219068371876; Mon, 18 Aug 2008 07:06:11 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 18 Aug 2008 07:06:11 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 18 Aug 2008 09:06:11 -0500 From: "Chandrajeet Padhy" <[email protected]> To: [email protected] Subject: HeapBuffer appends unwanted character MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_139421_17442910.1219068371753" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_139421_17442910.1219068371753 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Dear Mina users, I am running into a problem while using mina as the communication library t= o connect over TCP/IP to a server. Each time I send a message by writing to the ioSession object it sends it t= o the other end but it appends a "0A" at the end of the message. eg I tried to write the text "=1C333=1F0J=1DSIMB#1=1C" but the text that is= sent is INFO: [/161.129.204.104:5004] SENT: HeapBuffer[pos=3D0 lim=3D19 cap=3D32: 1C 3= 3 33 32 1F 46 49 1D 53 49 4D 42 23 49 4E 46 4F 1C *0A*] Look at the last hex character "0A" which is a null character I believe get= s appended. How can I correct this. This is usual for whatever I send. btw, I am on mina 1.0.3 Regards, Chandrajeet ------=_Part_139421_17442910.1219068371753-- From [email protected] Mon Aug 18 14:17:43 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36033 invoked from network); 18 Aug 2008 14:17:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Aug 2008 14:17:43 -0000 Received: (qmail 9268 invoked by uid 500); 18 Aug 2008 14:17:41 -0000 Delivered-To: [email protected] Received: (qmail 9252 invoked by uid 500); 18 Aug 2008 14:17:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 9241 invoked by uid 99); 18 Aug 2008 14:17:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2008 07:17:41 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO fg-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2008 14:16:44 +0000 Received: by fg-out-1718.google.com with SMTP id 16so1514016fgg.40 for <[email protected]>; Mon, 18 Aug 2008 07:16:55 -0700 (PDT) Received: by 161.129.204.104 with SMTP id a19mr4602930fga.56.1219069015210; Mon, 18 Aug 2008 07:16:55 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 18 Aug 2008 07:16:55 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 18 Aug 2008 16:16:55 +0200 From: "Niklas Gustavsson" <[email protected]> To: [email protected] Subject: Re: HeapBuffer appends unwanted character In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Aug 18, 2008 at 4:06 PM, Chandrajeet Padhy <[email protected]> wrote: > I am running into a problem while using mina as the communication library to > connect over TCP/IP to a server. > Each time I send a message by writing to the ioSession object it sends it to > the other end but it appends a "0A" at the end of the message. > > eg I tried to write the text " 333 0J SIMB#1 " but the text that is sent is > INFO: [/161.129.204.104:5004] SENT: HeapBuffer[pos=0 lim=19 cap=32: 1C 33 33 32 > 1F 46 49 1D 53 49 4D 42 23 49 4E 46 4F 1C *0A*] > > Look at the last hex character "0A" which is a null character I believe gets > appended. How can I correct this. This is usual for whatever I send. 0A is not a null character but rather a line ending. How do you write the message to the session and do you have any encoder in place? /niklas From [email protected] Mon Aug 18 14:30:10 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44339 invoked from network); 18 Aug 2008 14:30:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Aug 2008 14:30:10 -0000 Received: (qmail 31564 invoked by uid 500); 18 Aug 2008 14:30:09 -0000 Delivered-To: [email protected] Received: (qmail 31393 invoked by uid 500); 18 Aug 2008 14:30:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31382 invoked by uid 99); 18 Aug 2008 14:30:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2008 07:30:08 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO d108.webcreators.nl) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2008 14:29:11 +0000 Received: from [161.129.204.104] (helo=161.129.204.104) by d108.webcreators.nl with esmtpa (Exim 4.67) (envelope-from <[email protected]>) id 1KV5j3-0006Z8-7z for [email protected]; Mon, 18 Aug 2008 16:28:53 +0200 Received: from phpmailer ([161.129.204.104]) by 161.129.204.104 with HTTP (UebiMiau); Mon, 18 Aug 2008 16:28:53 +0200 Date: Mon, 18 Aug 2008 16:28:53 +0200 To: [email protected] From: Geert Schuring <[email protected]> Reply-to: Geert Schuring <[email protected]> Subject: Creating a chain of IO Filters Message-ID: <[email protected]> X-Priority: 3 X-Mailer: UebiMiau [PHPMailer version 1.70] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="iso-8859-1" X-Virus-Checked: Checked by ClamAV on apache.org Hey everyone! I'm using a custom text based protocol that uses line delimiters to indicate message boundaries. Mina 2.0.0-M3 comes with a TextLineCodec that does the splitting for you, resulting in your handler receiving String objects, instead of IoBuffers. Trouble starts however when i try to add another filter to the chain. This filter should receive the String objects from the TextLineCodec, but the ProtocolDecoder interface demands a decode method with parameters (IoSession, IoBuffer, ProtocolDecoderOutput). Mina can not call this decoder using the String result from the TextLineCodec so it skips it.... resulting in my handler receiving String objects instead of higher level objects from my own decoder. The API does not seem to support what i want... What am i doing wrong? Help would be greatly appreciated, and i will write a blog entry on the solution to this problem. Geert Schuring The Netherlands. ________________________________________________ Message sent using UebiMiau 2.7.10 From [email protected] Mon Aug 18 22:51:39 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9260 invoked from network); 18 Aug 2008 22:51:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Aug 2008 22:51:39 -0000 Received: (qmail 83516 invoked by uid 500); 18 Aug 2008 22:51:37 -0000 Delivered-To: [email protected] Received: (qmail 83507 invoked by uid 500); 18 Aug 2008 22:51:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 83496 invoked by uid 99); 18 Aug 2008 22:51:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2008 15:51:37 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2008 22:50:39 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1KVDZ6-0002E5-Eq for [email protected]; Mon, 18 Aug 2008 15:51:08 -0700 Message-ID: <[email protected]> Date: Mon, 18 Aug 2008 15:51:08 -0700 (PDT) From: Chris Hurst <[email protected]> To: [email protected] Subject: Re: MINA and Glassfish In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org private void processTimedOutSessions(Iterator<H> handles) { long currentTime = System.currentTimeMillis(); while (handles.hasNext()) { H handle = handles.next(); ConnectionRequest entry = connectionRequest(handle); // ***** entry is null pointer here ! *************** // next line will blow !!! if (currentTime >= entry.deadline) { entry.setException( new ConnectException("Connection timed out.")); cancelQueue.offer(entry); } } } Chris Hurst wrote: > > Did anyone get any further with this issue as the exact same thing is > happening to me. > > cheers. > > > > Julien Vermillard wrote: >> >> On Fri, 1 Aug 2008 13:18:17 +0200 >> "Mezei Zoltan" <[email protected]> wrote: >> >>> On Fri, Aug 1, 2008 at 4:55 AM, Mezei Zoltan <[email protected]> >>> wrote: >>> > What can go wrong when I use the web application? Can I make it >>> > work somehow? >>> >>> Update: I tried to run the program using MINA 2.0.0-M2 when I got the >>> exceptions. The equivalent program works perfectly from the web >>> context using MINA 1.1.7. >>> >>> Should I submit a bug report about this regression? >>> >>> Can I help with more testing or anything else? >> >> Hi, >> can you provide a small test case so we can reproduce it ? >> If so feel free to attach to a JIRA issue, so we can look at the >> problem. >> >> Cheers, >> >> Julien >> >> >> > > -- View this message in context: http://www.nabble.com/MINA-and-Glassfish-tp18767392p19041520.html Sent from the Apache MINA User Forum mailing list [email protected]. From [email protected] Tue Aug 19 03:46:56 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18110 invoked from network); 19 Aug 2008 03:46:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Aug 2008 03:46:56 -0000 Received: (qmail 99547 invoked by uid 500); 19 Aug 2008 03:46:55 -0000 Delivered-To: [email protected] Received: (qmail 99530 invoked by uid 500); 19 Aug 2008 03:46:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99519 invoked by uid 99); 19 Aug 2008 03:46:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2008 20:46:54 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO fk-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Aug 2008 03:45:58 +0000 Received: by fk-out-0910.google.com with SMTP id 19so2307765fkr.8 for <[email protected]>; Mon, 18 Aug 2008 20:46:26 -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:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=IraZGuleEG/jnet0f8G8FxCudqCfysTZFjBFRynzW2s=; b=QtPAuaH+4VGXjYhuiB/LNULoaEEF4aksPgKSU5EoLuZWpnlODK9Uc/mox/L9ylDGqn +27TZZ8+uAQE8GF3sLYGt41YN3kdvvuzwYuCEQzdgtYwII10wIrgHCntg8Ss9XmnA1sE 8bm4KDfjDfCcS+nDn0Fbzc8+A3+eZ8EPcyBVc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=UOfE3ljVGhyC5TeMIzBy0alIhLGiErQUX2c/l96TwzE95JIS3UXP1y6SOI+8wCJHNA Sem+UloGWAjswgidbnR23Dt65AFArxmOL4RckMDB5dH1bSFneluNS+YNZ7PKmipfSkqw kOMf8LsFPgsf1kMyJ1FlMhyTUVnx0Mvirmppo= Received: by 161.129.204.104 with SMTP id o3mr3792986bki.105.1219117586164; Mon, 18 Aug 2008 20:46:26 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 18 Aug 2008 20:46:26 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 19 Aug 2008 11:46:26 +0800 From: "Gavin Bong" <[email protected]> To: [email protected] Subject: Mina vs Servlets MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi, Currently I have a servlet which is handling HTTP requests from clients. Does anybody know of the relative performance improvements of a Mina SocketServer over the current breed of servlet implementations on Tomcat, or Jetty ? -- Regards, Gavin From [email protected] Tue Aug 19 04:56:39 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58026 invoked from network); 19 Aug 2008 04:56:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Aug 2008 04:56:39 -0000 Received: (qmail 44430 invoked by uid 500); 19 Aug 2008 04:56:37 -0000 Delivered-To: [email protected] Received: (qmail 44416 invoked by uid 500); 19 Aug 2008 04:56:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 44405 invoked by uid 99); 19 Aug 2008 04:56:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2008 21:56:37 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO gv-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Aug 2008 04:55:41 +0000 Received: by gv-out-0910.google.com with SMTP id c6so585490gvd.29 for <[email protected]>; Mon, 18 Aug 2008 21:55:52 -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:to :subject:mime-version:content-type; bh=WwcQM5Hqc7LIdJQPsgyE3THXuc64L7uAHiBbt60mPE4=; b=TMBVKBVAjIKVIQ14PX6ecgVuEYzcMv0NX6xZt2OTjR904tFcwUpH98XgV5cLoSzXbI Fb+7QeHaiFbTizks2ZchHGjMSj5S0uNQzshbLkatViwBD74MOxTYcOVEDMRN1oZ2J3yB Rk9j3kbR71uQK1MLaN9muu4O+Nv5c/M0O4UWc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=wwuqp3ZZUKxfRkKz0GhYw3SRGeaO9ah4EjyG2YAuZ97dQ3Eqbuj2A9KycqnVlYHIxP Z6Jh/X168RljudPcM1VKerinTyZfB8a2o0w0ySCrGGxHcrydMxT326xUQjk2nMX0vtoL m4j0xy9GFpjL1ZfOF1GwZ16bmQCa/KG8h70xo= Received: by 161.129.204.104 with SMTP id i18mr4478482mun.126.1219121752101; Mon, 18 Aug 2008 21:55:52 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 18 Aug 2008 21:55:52 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 19 Aug 2008 00:55:52 -0400 From: "Mark Webb" <[email protected]> To: [email protected] Subject: integration-beans MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_30129_3690361.1219121752099" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_30129_3690361.1219121752099 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I am wondering if much work has been done on this lately. I have really gotten into using Spring on my current project and have noticed that there is not as much support for Dependency Injection / beans in MINA as I thought there was. What does the community think? Do others agree, or just not using this technology as much. Please correct me if I am wrong, but here are a few examples where I have found MINA to be lacking: 1. You can only use an ExecutorFilter without parameters. 2. The LoggingFilter is not set up to have properties set 3. There is no way to order filters for an Acceptor I have others documented at work, I just don't remember them now. Let me know if I am either missing something, or we need to work on this. If people agree that more work is required, I will step up and try to fix things. Thanks Mark ------=_Part_30129_3690361.1219121752099-- From [email protected] Tue Aug 19 12:55:59 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25487 invoked from network); 19 Aug 2008 12:55:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Aug 2008 12:55:59 -0000 Received: (qmail 35968 invoked by uid 500); 19 Aug 2008 12:55:58 -0000 Delivered-To: [email protected] Received: (qmail 35797 invoked by uid 500); 19 Aug 2008 12:55:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 35786 invoked by uid 99); 19 Aug 2008 12:55:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Aug 2008 05:55:57 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO BTEXC01.bluetreewireless.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Aug 2008 12:55:01 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: integration-beans Date: Tue, 19 Aug 2008 08:55:07 -0400 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: integration-beans Thread-Index: AckBt/m3+eDRHwh1Rnyz1MjX/5fLvgAQnc+A References: <[email protected]> From: "Simon Trudeau" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org I am definitely a strong Spring user and would like to see better spring support for mina. I had to roll out my own FactoryBean for StateMachineProxy. Good luck on your work, Simon=20 -----Original Message----- From: Mark Webb [mailto:[email protected]]=20 Sent: August-19-08 12:56 AM To: [email protected] Subject: integration-beans I am wondering if much work has been done on this lately. I have really gotten into using Spring on my current project and have noticed that there is not as much support for Dependency Injection / beans in MINA as I thought there was. What does the community think? Do others agree, or just not using this technology as much. Please correct me if I am wrong, but here are a few examples where I have found MINA to be lacking: 1. You can only use an ExecutorFilter without parameters. 2. The LoggingFilter is not set up to have properties set 3. There is no way to order filters for an Acceptor I have others documented at work, I just don't remember them now. Let me know if I am either missing something, or we need to work on this. If people agree that more work is required, I will step up and try to fix things. Thanks Mark From [email protected] Tue Aug 19 14:20:42 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74789 invoked from network); 19 Aug 2008 14:20:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Aug 2008 14:20:42 -0000 Received: (qmail 92237 invoked by uid 500); 19 Aug 2008 14:20:40 -0000 Delivered-To: [email protected] Received: (qmail 92217 invoked by uid 500); 19 Aug 2008 14:20:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 92206 invoked by uid 99); 19 Aug 2008 14:20:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Aug 2008 07:20:40 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wa-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Aug 2008 14:19:44 +0000 Received: by wa-out-1112.google.com with SMTP id l24so1781556waf.12 for <[email protected]>; Tue, 19 Aug 2008 07:20:13 -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:sender :to:subject:in-reply-to:mime-version:content-type:references :x-google-sender-auth; bh=IPNpZdWaDt9H0CXzhiiWy6leRLfAvslgy3/e4Xfw8Eo=; b=k+Tk/keZLj6o8VQ3HOAvgb1Ur4CNSipAvKHEZ0ImL+7oNoCFsc68GhXwfzV+S7YzKM QVPq3k2DLwRHcPzGv4bwlztTime2k4wPRyQliCm2mKjHPR16E06Ithna17SE9MtA3M4H HfZDKDMzPc++v13BpaGWFQ3T/7fIs2F36+dV8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:references:x-google-sender-auth; b=nCqhcq+/ynw6oV9cSYqP6i4s3+9xcdZnff6Vs2tjRT6xR97pGwrYw6dXE/LcUP0pNC 2a8znKK2uonRj5vR5lpkFgNX7q1+zmBTY8ub0qYCMVro3yriShD0rP8fHyTGSwBGbNb4 8NT16vbYG7VnzeWk7h65L/ZcBgiIwnapq+mKc= Received: by 161.129.204.104 with SMTP id 1mr6589294wax.74.1219155612902; Tue, 19 Aug 2008 07:20:12 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 19 Aug 2008 07:20:12 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 19 Aug 2008 10:20:12 -0400 From: "Alex Karasulu" <[email protected]> Sender: [email protected] To: [email protected] Subject: Re: integration-beans In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6696_22943634.1219155612898" References: <[email protected]> X-Google-Sender-Auth: 39a2f39f4627437b X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_6696_22943634.1219155612898 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Tue, Aug 19, 2008 at 12:55 AM, Mark Webb <[email protected]> wrote: > I am wondering if much work has been done on this lately. I have really > gotten into using Spring on my current project and have noticed that there > is not as much support for Dependency Injection / beans in MINA as I > thought > there was. What does the community think? Do others agree, or just not > using this technology as much. > > Please correct me if I am wrong, but here are a few examples where I have > found MINA to be lacking: > > 1. You can only use an ExecutorFilter without parameters. > 2. The LoggingFilter is not set up to have properties set > 3. There is no way to order filters for an Acceptor > > I have others documented at work, I just don't remember them now. Let me > know if I am either missing something, or we need to work on this. If > people agree that more work is required, I will step up and try to fix > things. > Hey Mark, We use the spring integration a lot for Apache Directory but I think we chucked much of it and switched over to using xbeans which basically wraps the Spring configuration anyway. It was a year or so back before XBean fixed a bunch of issues (as well as caused some) with Spring integration for us. We did have the headaches you mentioned above and that's one of the reasons why we never had the log filter for example as part of the configuration which we should have. Alex -- Microsoft gives you Windows, Linux gives you the whole house ... ------=_Part_6696_22943634.1219155612898-- From [email protected] Wed Aug 20 13:28:47 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66234 invoked from network); 20 Aug 2008 13:28:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Aug 2008 13:28:47 -0000 Received: (qmail 85556 invoked by uid 500); 20 Aug 2008 13:28:45 -0000 Delivered-To: [email protected] Received: (qmail 85474 invoked by uid 500); 20 Aug 2008 13:28:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 85434 invoked by uid 99); 20 Aug 2008 13:28:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Aug 2008 06:28:44 -0700 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.internal.directi.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Aug 2008 13:27:48 +0000 X-Envelope: 1219238910.63331 [161.129.204.104] 161.129.204.104 unknown unknown [email protected] [email protected] Received: from [161.129.204.104] (unknown [161.129.204.104]) (Authenticated sender: [email protected]) by mail.internal.directi.com (Postfix) with ESMTPA id 9AE7C18E15BD for <[email protected]>; Wed, 20 Aug 2008 18:58:30 +0530 (IST) Message-ID: <[email protected]> Date: Wed, 20 Aug 2008 18:58:30 +0530 From: Jigar Gosar <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20080708) MIME-Version: 1.0 To: [email protected] Subject: Weird bug: Closed iosession is being passed to decoder, only when using ExecutorFilter Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hey, I am new to mina, and using version 1.x This is my code. ByteBuffer.setUseDirectBuffers(false); ByteBuffer.setAllocator(new SimpleByteBufferAllocator()); IoAcceptor acceptor = new SocketAcceptor(4, Executors.newCachedThreadPool()); IoServiceConfig acceptorConfig = acceptor.getDefaultConfig(); acceptorConfig.setThreadModel(ThreadModel.MANUAL); SocketAcceptorConfig cfg = new SocketAcceptorConfig(); acceptor.getFilterChain().addLast("xml", new ProtocolCodecFilter(new XMLCodecFactory())); acceptor.getFilterChain().addLast("threadPool", new ExecutorFilter(Executors.newCachedThreadPool())); acceptor.bind(new InetSocketAddress(PORT), new MyConnectionHandler(), cfg); While debugging I found that there are only 16 threads working on MyConnectionHandler. Hence I added Executor filter as suggested in the tutorial. The moment I started using Executor Filter, my xml CumulativeProtocolDecoder started blowing up. protected boolean doDecode(IoSession session, ByteBuffer in, ProtocolDecoderOutput out) throws Exception { Object parser = session.getAttribute("parser"); // parser is now null, causing NPE's to be thrown, session.isConnected() == false .... } I am setting the parser parameter in my IoHandler's sessionOpened method. But why is closed session being passed to decoder? only when using executor filter. Can some one explain how the default 16 threads for my IO handler and this Executor Filter work together, I am very confused. Should I put code like following in my CumulativeProtocolDecoder if(!session.isConnected()){ System.out.println("Why is doDecode called with closed session??"); return false; } Thanks. From [email protected] Wed Aug 20 13:39:08 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75688 invoked from network); 20 Aug 2008 13:39:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Aug 2008 13:39:08 -0000 Received: (qmail 4254 invoked by uid 500); 20 Aug 2008 13:39:06 -0000 Delivered-To: [email protected] Received: (qmail 4100 invoked by uid 500); 20 Aug 2008 13:39:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4089 invoked by uid 99); 20 Aug 2008 13:39:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Aug 2008 06:39:05 -0700 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.internal.directi.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Aug 2008 13:38:05 +0000 X-Envelope: 1219239497.24042 [161.129.204.104] 161.129.204.104 unknown unknown [email protected] [email protected] Received: from [161.129.204.104] (unknown [161.129.204.104]) (Authenticated sender: [email protected]) by mail.internal.directi.com (Postfix) with ESMTPA id 3AE3118E171F for <[email protected]>; Wed, 20 Aug 2008 19:08:17 +0530 (IST) Message-ID: <[email protected]> Date: Wed, 20 Aug 2008 19:08:16 +0530 From: Jigar Gosar <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20080708) MIME-Version: 1.0 To: [email protected] Subject: Re: Weird bug: Closed iosession is being passed to decoder, only when using ExecutorFilter References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hey, Even after adding my defensive code to my decoder, and using ExecutorFilter I still find that only 16 threads are working on my MyConnectionHandler. All thread named AnonymousIoService-1 thru AnonymousIoService-16. How can I increase the thread pool working on MyConnectionHandler? thanks. Jigar Gosar wrote: > Hey, > > I am new to mina, and using version 1.x > > This is my code. > > ByteBuffer.setUseDirectBuffers(false); > ByteBuffer.setAllocator(new SimpleByteBufferAllocator()); > > IoAcceptor acceptor = new SocketAcceptor(4, > Executors.newCachedThreadPool()); > > IoServiceConfig acceptorConfig = acceptor.getDefaultConfig(); > acceptorConfig.setThreadModel(ThreadModel.MANUAL); > SocketAcceptorConfig cfg = new SocketAcceptorConfig(); > acceptor.getFilterChain().addLast("xml", new > ProtocolCodecFilter(new XMLCodecFactory())); > acceptor.getFilterChain().addLast("threadPool", new > ExecutorFilter(Executors.newCachedThreadPool())); > acceptor.bind(new InetSocketAddress(PORT), new > MyConnectionHandler(), cfg); > > While debugging I found that there are only 16 threads working on > MyConnectionHandler. Hence I added Executor filter as suggested in the > tutorial. The moment I started using Executor Filter, my xml > CumulativeProtocolDecoder started blowing up. > > protected boolean doDecode(IoSession session, ByteBuffer in, > ProtocolDecoderOutput out) > throws Exception { > > Object parser = session.getAttribute("parser"); > // parser is now null, causing NPE's to be thrown, > session.isConnected() == false > > .... > } > > I am setting the parser parameter in my IoHandler's sessionOpened > method. But why is closed session being passed to decoder? only when > using executor filter. > > > Can some one explain how the default 16 threads for my IO handler and > this Executor Filter work together, I am very confused. > > Should I put code like following in my CumulativeProtocolDecoder > > if(!session.isConnected()){ > System.out.println("Why is doDecode called with closed > session??"); > return false; } > > Thanks. > -- jigar gosar bottoms up, pun intended :) http://jigar.org/blog http://simplegtd.com http://madcow.tumblr.com http://del.icio.us/cujigar From [email protected] Thu Aug 21 17:50:17 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25519 invoked from network); 21 Aug 2008 17:50:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Aug 2008 17:50:17 -0000 Received: (qmail 85714 invoked by uid 500); 21 Aug 2008 17:50:15 -0000 Delivered-To: [email protected] Received: (qmail 85698 invoked by uid 500); 21 Aug 2008 17:50:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 85687 invoked by uid 99); 21 Aug 2008 17:50:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Aug 2008 10:50:15 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Aug 2008 17:49:16 +0000 Received: by ug-out-1314.google.com with SMTP id b39so49958ugd.29 for <[email protected]>; Thu, 21 Aug 2008 10:49:35 -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:to :subject:mime-version:content-type; bh=9yD6kkiC5m+WkkYWp7LSPRKAlPCytUH8M0uJyRl2TpE=; b=t2NhfNSxPLIb9oFQ0mmhahlRvSr7sKH01j7i6gGmmTJNRJA+biZRmngXhdY846YeF0 3iYnaEis2znU3ZNHgTH/RqieFHh1q0Em+hgv4J8Ie/K64Bs+ZgiHaxSSgFKJaLy0tHJj NqZ20CdvNBayijc1vWOXgoiv0mcuEKNb4lw8s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=XeKrIyfKtfMLd+Ck1byf6YTq5s0W3W3Dfc87dUD0M/oWoyVQ6Pe9288Ly3z2m+CitU pSvO+x0FAly5ByJWvoQWMN+15VwwZVKF2x4fgsxvqstmmGDh1ccGQrdX5M0rUcXdBB3H yJBH9VR0m4umgUymgAG6qeTgWt230XELJeaIk= Received: by 161.129.204.104 with SMTP id x5mr61838ebx.117.1219340974876; Thu, 21 Aug 2008 10:49:34 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 21 Aug 2008 10:49:34 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 21 Aug 2008 14:49:34 -0300 From: "Leandro Rodrigo Saad Cruz" <[email protected]> To: [email protected] Subject: Close connection is message is too large MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_58749_30940565.1219340974888" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_58749_30940565.1219340974888 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi all. I'm trying to close the client connection if the message is too large. I wrote a simple test that tries to send some large amout of data to the server, but the server seems to enter on a error loop. Throwing the same exceptions, over and over. org.apache.mina.filter.codec.ProtocolDecoderException: org.apache.mina.core.buffer.BufferDataException: dataLength: 1048826 (Hexdump: 00 10 00 FA AC ..... ) at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:180) at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:414) at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:49) at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:832) at org.apache.mina.core.filterchain.DefaultIoFilterChain$HeadFilter.messageReceived(DefaultIoFilterChain.java:616) at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:414) at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:408) at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:578) at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:540) at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:532) at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:58) at org.apache.mina.core.polling.AbstractPollingIoProcessor$Worker.run(AbstractPollingIoProcessor.java:857) at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Caused by: org.apache.mina.core.buffer.BufferDataException: dataLength: 1048826 at org.apache.mina.core.buffer.AbstractIoBuffer.prefixedDataAvailable(AbstractIoBuffer.java:1695) at org.apache.mina.filter.codec.serialization.ObjectSerializationDecoder.doDecode(ObjectSerializationDecoder.java:89) at org.apache.mina.filter.codec.CumulativeProtocolDecoder.decode(CumulativeProtocolDecoder.java:173) at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:170) ... 15 more Note: I'm using the ObjectSerializationCodecFactory Any ideas? -- Leandro Rodrigo Saad Cruz software developer - certified scrum master acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b scrum.com.br acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b db.apache.org/ojb acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b guara-framework.sf.net acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b xingu.sf.net ------=_Part_58749_30940565.1219340974888-- From [email protected] Thu Aug 21 18:22:49 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46985 invoked from network); 21 Aug 2008 18:22:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Aug 2008 18:22:49 -0000 Received: (qmail 42229 invoked by uid 500); 21 Aug 2008 18:22:47 -0000 Delivered-To: [email protected] Received: (qmail 42204 invoked by uid 500); 21 Aug 2008 18:22:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 42193 invoked by uid 99); 21 Aug 2008 18:22:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Aug 2008 11:22:47 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Aug 2008 18:21:49 +0000 Received: by ug-out-1314.google.com with SMTP id b39so56665ugd.29 for <[email protected]>; Thu, 21 Aug 2008 11:22:07 -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:to :subject:in-reply-to:mime-version:content-type:references; bh=Ew7Ak7Dv22o5KfhO84Z0IGKF5krjH7cVZlQjnvLFBuk=; b=eZ6AtV76adKuy/ai+Sdb+LUk9Fs2u1HZuwJWOxZCXRhWL0GkAxa8z2OMaN7FXtkBmj LmCSET02X2cqH/5sXh4WEvAXSh1c+WrXK9OeUR+Cd0umKuu+MaxDKd7S5EtkFaRUjUm1 rE/24Hq+4yYQ/RebH1b1/hTNLnm7xJPtbS8XE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=JYWK6Hg9hkTEhe96yx1/Rk17Wi/0uKhDsa7VOHEVDhmRNORDHufBWnGmeyNjWkgQIx 95f9DxTLLYttImHIdqZ60lly5Es1PCt6r0RGI7ynt+HSEjrfawIYWUvoviT/hsJRFfEb s93gEQFgSpALT/z0vgKD0l9dkyXbHAq4OHfA8= Received: by 161.129.204.104 with SMTP id a5mr99451ebd.126.1219342927538; Thu, 21 Aug 2008 11:22:07 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 21 Aug 2008 11:22:07 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 21 Aug 2008 15:22:07 -0300 From: "Leandro Rodrigo Saad Cruz" <[email protected]> To: [email protected] Subject: Re: Close connection is message is too large In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_59087_25254623.1219342927527" References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_59087_25254623.1219342927527 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I noticed that exceptionCaught() method on my IoHandler just prints the error. Now I'm closing the connection on that method, but... If I do somethings like this. session.write(SomeObject); session.close(true); Sometimes I can read SomeObject on the client side. Sometimes I can't. How can I be sure that SomeObject can be read before the connection is closed? acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b Leandro On Thu, Aug 21, 2008 at 2:49 PM, Leandro Rodrigo Saad Cruz < [email protected]> wrote: > Hi all. I'm trying to close the client connection if the message is too > large. > > I wrote a simple test that tries to send some large amout of data to the > server, but the server seems to enter on a error loop. Throwing the same > exceptions, over and over. > > org.apache.mina.filter.codec.ProtocolDecoderException: > org.apache.mina.core.buffer.BufferDataException: dataLength: 1048826 > (Hexdump: 00 10 00 FA AC ..... ) > at > org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:180) > at > org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:414) > at > org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:49) > at > org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:832) > at > org.apache.mina.core.filterchain.DefaultIoFilterChain$HeadFilter.messageReceived(DefaultIoFilterChain.java:616) > at > org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:414) > at > org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:408) > at > org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:578) > at > org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:540) > at > org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:532) > at > org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:58) > at > org.apache.mina.core.polling.AbstractPollingIoProcessor$Worker.run(AbstractPollingIoProcessor.java:857) > at > org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) > at java.lang.Thread.run(Thread.java:619) > Caused by: org.apache.mina.core.buffer.BufferDataException: dataLength: > 1048826 > at > org.apache.mina.core.buffer.AbstractIoBuffer.prefixedDataAvailable(AbstractIoBuffer.java:1695) > at > org.apache.mina.filter.codec.serialization.ObjectSerializationDecoder.doDecode(ObjectSerializationDecoder.java:89) > at > org.apache.mina.filter.codec.CumulativeProtocolDecoder.decode(CumulativeProtocolDecoder.java:173) > at > org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:170) > ... 15 more > > Note: I'm using the ObjectSerializationCodecFactory > > Any ideas? > > -- > Leandro Rodrigo Saad Cruz > software developer - certified scrum master > acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b scrum.com.br > acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b db.apache.org/ojb > acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b guara-framework.sf.net > acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b xingu.sf.net > ------=_Part_59087_25254623.1219342927527-- From [email protected] Fri Aug 22 07:44:02 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89292 invoked from network); 22 Aug 2008 07:44:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Aug 2008 07:44:02 -0000 Received: (qmail 92628 invoked by uid 500); 22 Aug 2008 07:44:00 -0000 Delivered-To: [email protected] Received: (qmail 92445 invoked by uid 500); 22 Aug 2008 07:44:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 89094 invoked by uid 99); 22 Aug 2008 07:41:46 -0000 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 [email protected] designates 161.129.204.104 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=gDKk//12383Y3ofYAVtzErX/cQC2GbNLzMbU3RZbRZc=; b=QkiR4K6d942UrhQDMzaD4FJ8m2vtBCnLihIklGXYtO/f52+EkhnJZ3bMWI6UV/BtEP xKUdYgWtCbib6yObuCWhsze6Q0r9Xfz+DRq58I4mSviQn6z6gshKITYXFWm1R9qwJpGK Hy2fXH7QwHzFd0S62g5i6TP4TpZo7lCQvF5cY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=aNMcd09K7BZq3e+jBd+atVNtIeGqwV5OwcgxDcAEdyaU0VdtFZ71AnDZbXXmF0IcOP txl8TcKIGIxci7R8cNurNUGcJxr4nUvLRYusC9XWGdqGD+wm3ccmWUsfKHbX+H6eS5Z/ a8BpgLLxmwBK95jE15Ifz6q2CAGXFX4opXuV4= Message-ID: <[email protected]> Date: Fri, 22 Aug 2008 08:40:58 +0100 From: "David Thorpe" <[email protected]> To: [email protected] Subject: Mina - SLF4J Problem MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_67301_5157928.1219390858130" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_67301_5157928.1219390858130 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline After compiling the examples from the Mina website, I get the following error: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.slf4j.impl.JCLLoggerFactory.getLogger(JCLLoggerFactory.java:69) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:92) at org.apache.mina.util.NamePreservingRunnable.<init>(NamePreservingRunnable.java:32) at org.apache.mina.transport.socket.nio.SocketAcceptor.startupWorker(SocketAcceptor.java:165) at org.apache.mina.transport.socket.nio.SocketAcceptor.bind(SocketAcceptor.java:141) at MinaTimeServer.main(MinaTimeServer.java:27) Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) I'm sure that I have the right jar's on the class path, so I'm not really sure what to do about this ------=_Part_67301_5157928.1219390858130-- From [email protected] Mon Aug 25 09:26:55 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71937 invoked from network); 25 Aug 2008 09:26:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Aug 2008 09:26:55 -0000 Received: (qmail 38429 invoked by uid 500); 25 Aug 2008 09:26:53 -0000 Delivered-To: [email protected] Received: (qmail 38414 invoked by uid 500); 25 Aug 2008 09:26:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 38403 invoked by uid 99); 25 Aug 2008 09:26:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 02:26:52 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nf-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 09:25:56 +0000 Received: by nf-out-0910.google.com with SMTP id g16so693464nfd.2 for <[email protected]>; Mon, 25 Aug 2008 02:26:25 -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:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=5aR4eJN9NI9Z9i2EAAKfR4Ph7wfeQtR/GIGTDrzSbsc=; b=ZRxRbOcNCICSd8tysz/B2kCqrPqKkLPknPVwXgKvWufmpOB3M0ZIWeGuVl58XOwXx6 feJfnqQ62n4MZ1xsmQ9G1Fvrm9dn2wvdfXlGy+7Lw1olN4EGl4+Wfmp6NfKyIbkVf978 iO9Z9POK3wTw2ZTxWaZcdHlmwCnAPKLDfijpA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=M8hJUrpw+Fuk15MGHr2Hl3zQtm9zF+FgARXF4pnVehFSMicTMRHs8Vq91GjWJr5ohi /WGIfXFdpir9nDdDSHHhsCLH3ACxS0jouwu0ZT/tQcjsOyQxaJzyjBXBY+otN396UvtA CwzVOBJuOwThEOK6lW+FoCrDJs7LaVE82qB0o= Received: by 161.129.204.104 with SMTP id l16mr2137933ebc.108.1219656385075; Mon, 25 Aug 2008 02:26:25 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 25 Aug 2008 02:26:25 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 25 Aug 2008 11:26:25 +0200 From: Alexander <[email protected]> To: [email protected] Subject: General architectural overview MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I've spent some time trying to familiarize myself with MINA, reading tutorials, PowerPoint presentations, source code and examples. What I lack is a quick architectural overview and a summary of the type of guarantees MINA gives you as a developer. Questions which I found hard to get answers to are: *What are the semantics of the messageReceived method (without filters)? Will you receive one message per TCP package? Will the same ByteBuffer always be reused for the whole message? How are the positions you set interpreted, and will they be reset? This has been hinted on this list and in the tutorial for ProtocolDecoder, but more thorough documentation would be handy. Basically I'm worried about not getting the header in one buffer (HTTP header), so it would be fragmented between two ByteBuffers. Is this possible? Is there a size limit or so? What if you get a huge header? *Why is the cross-request-buffering techniques used in CumulativeProtocolDecoder and DemuxingProtocolCodecFactory not using the same interface? Are they different? I can see thet cumulative adds all messages to an internal buffer, in demuxing I can't really find any such code, but I might be overlooking something. *How are you supposed to handle mixed high/low level protocols? For instance, if you write a HTTP proxy based on header contents, you need to parse the header into an object at first (maybe using MessageDecoder)? When the subsequent packages arrive, you will want to stream them directly. This means that the lower-level filters (the messageDecoder perhaps), needs to know the result of the higher-level parsing. Right now I'm doing this by sharing session variables between layers (low-level checks if higher layer has set a flag in session). Is this the recommended way? Finally, thanks a lot for providing nio with a usable interface and adding all these nice features! Best Regards Alexander T From [email protected] Mon Aug 25 11:26:05 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25968 invoked from network); 25 Aug 2008 11:26:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Aug 2008 11:26:05 -0000 Received: (qmail 62372 invoked by uid 500); 25 Aug 2008 11:26:03 -0000 Delivered-To: [email protected] Received: (qmail 62349 invoked by uid 500); 25 Aug 2008 11:26:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 62337 invoked by uid 99); 25 Aug 2008 11:26:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 04:26:03 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO emh03.mail.saunalahti.fi) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 11:25:04 +0000 Received: from saunalahti-vams (vs3-11.mail.saunalahti.fi [161.129.204.104]) by emh03-2.mail.saunalahti.fi (Postfix) with SMTP id 8B6BFEBDAC for <[email protected]>; Mon, 25 Aug 2008 14:25:29 +0300 (EEST) Received: from emh07.mail.saunalahti.fi ([161.129.204.104]) by vs3-11.mail.saunalahti.fi ([161.129.204.104]) with SMTP (gateway) id A06AFD8853E; Mon, 25 Aug 2008 14:25:29 +0300 Received: from anubis.fi.indagon.com (gw.indagon.com [161.129.204.104]) by emh07.mail.saunalahti.fi (Postfix) with ESMTP id 6D4D61C63B4 for <[email protected]>; Mon, 25 Aug 2008 14:25:28 +0300 (EEST) Received: from [161.129.204.104] ([email protected] [161.129.204.104]) by anubis.fi.indagon.com (8.13.8/8.13.8) with ESMTP id m7PBPSpQ000320 for <[email protected]>; Mon, 25 Aug 2008 14:25:28 +0300 Message-ID: <[email protected]> Date: Mon, 25 Aug 2008 14:25:27 +0300 From: Tuure Laurinolli <[email protected]> User-Agent: Icedove 161.129.204.104 (X11/20070730) MIME-Version: 1.0 To: [email protected] Subject: Re: General architectural overview References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: VAMS X-Virus-Checked: Checked by ClamAV on apache.org Alexander wrote: > *What are the semantics of the messageReceived method (without > filters)? Will you receive one message per TCP package? Will the same > ByteBuffer always be reused for the whole message? The message handed to messageReceived consists of whatever the network stack of your operating system was fit. It has no necessary relation to IP packets. There are certainly no guarantees that each IP-packetful of the TCP stream will be received as a separate ByteBuffer. In fact, the operating system is free to give you one byte at a time if it wants to. Or give you as much data as fits into your read buffer. Or alternate between these modes. A sane operating system would likely give you whatever is in its buffers, provided it fits into the buffer you gave the syscall. However, the only guarantees you can have of this are implementation-specific, and the onyl control you have is the read buffer size. > How are the > positions you set interpreted, and will they be reset? This has been > hinted on this list and in the tutorial for ProtocolDecoder, but more > thorough documentation would be handy. My impression is that each message (ie. ByteBuffer) delivered to IoHandler/IoFilter via messageReceived is independent - whatever the handler/filter does with them is its business. I.e. MINA shouldn't touch a buffer it has given you a reference to. > Basically I'm worried about not getting the header in one buffer > (HTTP header), so it would be fragmented between two ByteBuffers. Is > this possible? Is there a size limit or so? What if you get a huge > header? Certainly it can be fragmented and delivered over multiple ByteBuffers. > *How are you supposed to handle mixed high/low level protocols? For > instance, if you write a HTTP proxy based on header contents, you need > to parse the header into an object at first (maybe using > MessageDecoder)? When the subsequent packages arrive, you will want to > stream them directly. I'm not sure what you mean by high/low level protocols here. To me it seems that you only mentioned HTTP. What is the higher/lower level here? From [email protected] Mon Aug 25 11:48:15 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37236 invoked from network); 25 Aug 2008 11:48:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Aug 2008 11:48:15 -0000 Received: (qmail 88377 invoked by uid 500); 25 Aug 2008 11:48:13 -0000 Delivered-To: [email protected] Received: (qmail 88365 invoked by uid 500); 25 Aug 2008 11:48:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 88354 invoked by uid 99); 25 Aug 2008 11:48:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 04:48:13 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nf-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 11:47:16 +0000 Received: by nf-out-0910.google.com with SMTP id g16so714392nfd.2 for <[email protected]>; Mon, 25 Aug 2008 04:47:26 -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:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=EA6j+J/kkTkwqS2VHTKSIQ0xqDJPqvmAcvAiQli9+1g=; b=a2TgAlCrzAIeYZtdPDHQx5PCfNhM07/9LyX2e0TIq+lTXEV98jAKqIGG9WtWp7Cdyj stvEL+J0RNCXOZMRio50HHAwbaqovXiYgsj6p+7bpzEltsqcVakv+hdt6l4cyRD6Dttf Nrx1iFDC9hV61b4lbkRhba5xUfnbEFC27R0kI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=yAz9Oi3UI0SG9qNd+54MX8gi+pCsQJJDPmSXdRHkX+UqVXzKJEsfHaN3UDQjarfIQh F3iTvAtex9J2Ux+6Vq4SEYl5/uANWeuWYOb9f/AhWV3CSHWr7gthmQ7poWRUUar06qiY Z/UMopkCfC67zMoceS/yQPd1s/dqNi3IGrgrI= Received: by 161.129.204.104 with SMTP id h14mr2161468eba.13.1219664846827; Mon, 25 Aug 2008 04:47:26 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 25 Aug 2008 04:47:26 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 25 Aug 2008 13:47:26 +0200 From: Alexander <[email protected]> To: [email protected] Subject: Re: General architectural overview In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi Tuure, Thanks for you reply. Answers inline. 2008/8/25 Tuure Laurinolli <[email protected]>: > Alexander wrote: > >> *What are the semantics of the messageReceived method (without >> filters)? Will you receive one message per TCP package? Will the same >> ByteBuffer always be reused for the whole message? > > The message handed to messageReceived consists of whatever the network stack > of your operating system was fit. It has no necessary relation to IP > packets. There are certainly no guarantees that each IP-packetful of the TCP > stream will be received as a separate ByteBuffer. > > In fact, the operating system is free to give you one byte at a time if it > wants to. Or give you as much data as fits into your read buffer. Or > alternate between these modes. A sane operating system would likely give you > whatever is in its buffers, provided it fits into the buffer you gave the > syscall. However, the only guarantees you can have of this are > implementation-specific, and the onyl control you have is the read buffer > size. Ok. This makes sense. I just wanted to know if MINA provided anything above this. Now it is clear that the framework doesn't. > >> How are the >> positions you set interpreted, and will they be reset? This has been >> hinted on this list and in the tutorial for ProtocolDecoder, but more >> thorough documentation would be handy. > > My impression is that each message (ie. ByteBuffer) delivered to > IoHandler/IoFilter via messageReceived is independent - whatever the > handler/filter does with them is its business. I.e. MINA shouldn't touch a > buffer it has given you a reference to. Sounds good. > >> Basically I'm worried about not getting the header in one buffer >> (HTTP header), so it would be fragmented between two ByteBuffers. Is >> this possible? Is there a size limit or so? What if you get a huge >> header? > > Certainly it can be fragmented and delivered over multiple ByteBuffers. Ok, so this means that I need to use some type of local buffering until the header is present, which I could use CumulativeProtocolDecoder for, right? I need this right on the lowest level, to figure out if there is a CRLFCRLF present in the stream or not, before I can start decoding. I also wondered if DemuxingProtocolDecoder does this type of buffering, since it seems to wait until it can find a decoder. But I'm not sure if it selects a decoder per-session or per-package (message), and if there is any buffering involved. > >> *How are you supposed to handle mixed high/low level protocols? For >> instance, if you write a HTTP proxy based on header contents, you need >> to parse the header into an object at first (maybe using >> MessageDecoder)? When the subsequent packages arrive, you will want to >> stream them directly. > > I'm not sure what you mean by high/low level protocols here. To me it seems > that you only mentioned HTTP. What is the higher/lower level here? Well, since I'm writing a proxy, there is the "byte stream" level, and then there is a "http header" interpreted level. Basically, what I want to do is to buffer the stream until I hit CRLFCRLF, then decode the header, read the header properties and then proxy if certain headers are set. If so, I would put a flag in the session, and the next time my protocol decoder gets a message, it can see that the header interpreter put a flag in the session to stream the rest of the contents. For all subsequent packages, they should simply be written to the proxy connection (as set up by the header interpreter). Is that the recommended way of achieving "dynamic proxying"? Regards, Alexander From [email protected] Mon Aug 25 12:08:29 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46562 invoked from network); 25 Aug 2008 12:08:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Aug 2008 12:08:29 -0000 Received: (qmail 10388 invoked by uid 500); 25 Aug 2008 12:08:27 -0000 Delivered-To: [email protected] Received: (qmail 10293 invoked by uid 500); 25 Aug 2008 12:08:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 22048 invoked by uid 99); 25 Aug 2008 10:48:25 -0000 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 [email protected] designates 161.129.204.104 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=6mEhQfRhrw3yapZdwmPjKsqvw+KtFlyihqzyFSSQM/o=; b=trOuQcC040kkjt68ppHevOQQumY5EVHi51xZOUZ3h3MuOV1Ghn2MMQqE8sGA8MA+AF X8VhUEmrQDbEaOo7y2gxAN38TnEZnbe2owrSno1pR7cX0SG5O3+IOaTdaYHyY/Vl/f8c f5CFNJACpeAmDsPNDZdhakx3FrAz3V/Ge4B/0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=JW01xx/jN3jGwsONXL4qnzd8eMhKG/plM4KnIXd2k3oThKiT4wdq4QrE7lsfG+guH0 q3qLoWJW44uUaXLJsJxNR3XVEhwsHuDdQIiAqfVhQMCxbytkOG2SvER/yMNtMNYJmCdI 2f6kvCSgGFtwIA1pvVPXWti1MHS0GRJ/sjqO0= Message-ID: <[email protected]> Date: Mon, 25 Aug 2008 12:47:48 +0200 From: "Johan Haleby" <[email protected]> To: [email protected] Subject: Re: Help with performance issues In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_71399_31003625.1219661268871" References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_71399_31003625.1219661268871 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline The heap size doesn't increase until the data-producing device is shutdown, it fluctuates like it should do (after tweaking the GC). The CPU usage goes up dangerously close to 100% pretty fast though. I've tried experimenting with the TCP_NO_DELAY settings after your tip, enabling it (i.e. disabling Naggle's algorithm) gives me lower write throughput but also lower CPU usage. I've not changed the default receive buffer size (it's not an issue afaik) but I'm using a 64k as write buffer size. I'll try wireshark to check if the buffers are sent in seperate packets asap. /Johan On Fri, Aug 15, 2008 at 11:48 AM, Tuure Laurinolli < [email protected]> wrote: > Johan Haleby wrote: > >> I'm using Mina to broadcast lots of incoming data from external hardware >> devices to connected clients. >> > > But as soon as >> we get many clients (> 30 or so) the performance is declining. In some >> tests >> we've done it takes several minutes for the clients to receive all data >> after the hardware device has been shutdown. >> > > How is the program behaving? Is it CPU-bound? Does heap size increase until > you shut down the data-producing device? > > This is quite inefficient since thousand of small IoBuffer objects >> will be sent over the wire instead of creating one buffer with a more >> appropriate buffer size"). >> > > Have you checked if the buffers are actually sent in separate IP packets, > or combined at some level into larger packets? Have you tuned send/receive > buffer sizes? Does your socket have TCP_NO_DELAY set? > > ------=_Part_71399_31003625.1219661268871-- From [email protected] Mon Aug 25 12:08:32 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46582 invoked from network); 25 Aug 2008 12:08:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Aug 2008 12:08:32 -0000 Received: (qmail 10510 invoked by uid 500); 25 Aug 2008 12:08:30 -0000 Delivered-To: [email protected] Received: (qmail 10502 invoked by uid 500); 25 Aug 2008 12:08:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 59363 invoked by uid 99); 25 Aug 2008 09:43:15 -0000 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 [email protected] designates 161.129.204.104 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=u6hDAxkv3v49HDKCSZOoYfEgoNUHG5ZzTT1N+CExdPY=; b=qfj6TsCyQ2aH07PEvq+bK0CTr19IXTsc4SBVEfWYXyDQUNMorm5+/hB1GTXcxkKhCC rgjD+IQIkcjSUmRrNIUfmb3be4sF2Tdxi1Mootc789Cfw436InFQTfU9zyJ675XM3uOP NpNJqJb6YyfFSwvh+HluBIrHrot7kxDwYS5/U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=QkAm2QyUl43BYevRZY4Wm07e51nCEtuKwe84tGSd9NDVzGJfyrJ5KCH5FTuRnNNf9B NjfLgD0NVEnFWteBIuEcwCfflcfVAASWJMsBdNjMrAeUFlOPhPh85qgNp8JnJdmM6ta6 moZbhx4sUleLBD0f2qzklZPzFOinSO9W3mzG0= Message-ID: <[email protected]> Date: Mon, 25 Aug 2008 11:42:44 +0200 From: "Johan Haleby" <[email protected]> To: [email protected], [email protected] Subject: Re: Help with performance issues In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_71095_4359390.1219657365242" References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_71095_4359390.1219657365242 Content-Type: multipart/alternative; boundary="----=_Part_71096_25166660.1219657365243" ------=_Part_71096_25166660.1219657365243 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Sorry I've been on vacation last week. Yes I've used a profiler (I've attached the result to this message as well) and it seems to me like the application spends most time in the doFlush() method in the SocketIoProcessor class when calling ByteBufferProxy.hasRemaining(). /Johan On Fri, Aug 15, 2008 at 11:29 AM, Emmanuel Lecharny <[email protected]>wr= ote: > Hi, > > have you used a profiler to see if you have some bottleneck, and if so, > where ? > > > Johan Haleby wrote: > >> Hi, >> >> I've basically tried to ask this question before ( >> http://mina.markmail.org/message/bjpiogngdaxf3fyc?q=3DBuffering+question= ) >> but >> unfortunately I didn't manage to get much further. So I'll try to refrai= n >> my >> question a little bit in the hope to get some more answers. >> >> I'm using Mina to broadcast lots of incoming data from external hardware >> devices to connected clients. We need a write-throughput of at least 40 >> Mbit/s and right now we're reaching _at most_ about 10MBits/s (but usual= ly >> it's just around 3Mbit/s). The data is received by the Mina server as >> binary >> data but is converted into strings (the data is actually utf-8 encoded >> strings). When a new line has been detected, some meta-data is added to >> the >> detected row and the whole row is persisted to disk as well as being sen= t >> to >> all clients registered to receive data from this device. For each line o= ne >> or more regular expression filters are applied (since the clients are on= ly >> interested in certain data). Right now I'm using session.write(rowData) >> for >> each new line for each client who's registered as interested. But as soo= n >> as >> we get many clients (> 30 or so) the performance is declining. In some >> tests >> we've done it takes several minutes for the clients to receive all data >> after the hardware device has been shutdown. For encoding I'm using the >> TextLineEncoder and I suspect I may be suffering from the same issue as = in >> http://mina.markmail.org/message/5xtmwbode6cgifox?q=3Dperformance+file(<= http://mina.markmail.org/message/5xtmwbode6cgifox?q=3Dperformance+file%28> >> "[TextLineEncoder] >> create a bunch of (small) IoBuffer objects for each >> individual line (or message object) which are then put into the writer's >> queue. This is quite inefficient since thousand of small IoBuffer object= s >> will be sent over the wire instead of creating one buffer with a more >> appropriate buffer size"). I've tried using the mergeAll method but I >> don't >> see much difference, but mabey I'm not using it correctly. I've also tak= en >> a >> look at the Mina FTP server project. Here the data channels are made up = of >> input and outputstreams stored in the session. Perhaps I'm better of usi= ng >> this approach for sending the data instead of going through the >> TextLineEncoder? I'm using Mina 1.1.7. >> >> What do you think? >> >> /Johan >> >> >> > > > -- > -- > cordialement, regards, > Emmanuel L=E9charny > www.iktek.com > directory.apache.org > > > ------=_Part_71096_25166660.1219657365243 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline <div dir=3D"ltr">Sorry I&#39;ve been on vacation last week. <br><br>Yes I&#= 39;ve used a profiler (I&#39;ve attached the result to this message as well= ) and it seems to me like the application spends most time in the doFlush()= method in the SocketIoProcessor class when calling ByteBufferProxy.hasRema= ining().<br> <br>/Johan<br><br><br><br><div class=3D"gmail_quote">On Fri, Aug 15, 2008 a= t 11:29 AM, Emmanuel Lecharny <span dir=3D"ltr">&lt;<a href=3D"mailto:elech= [email protected]">[email protected]</a>&gt;</span> wrote:<br><blockquote cl= ass=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); mar= gin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hi,<br> <br> have you used a profiler to see if you have some bottleneck, and if so, whe= re ?<div><div></div><div class=3D"Wj3C7c"><br> <br> Johan Haleby wrote:<br> <blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, = 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hi,<br> <br> I&#39;ve basically tried to ask this question before (<br> <a href=3D"http://mina.markmail.org/message/bjpiogngdaxf3fyc?q=3DBuffering+= question" target=3D"_blank">http://mina.markmail.org/message/bjpiogngdaxf3f= yc?q=3DBuffering+question</a>) but<br> unfortunately I didn&#39;t manage to get much further. So I&#39;ll try to r= efrain my<br> question a little bit in the hope to get some more answers.<br> <br> I&#39;m using Mina to broadcast lots of incoming data from external hardwar= e<br> devices to connected clients. We need a write-throughput of at least 40<br> Mbit/s and right now we&#39;re reaching _at most_ about 10MBits/s (but usua= lly<br> it&#39;s just around 3Mbit/s). The data is received by the Mina server as b= inary<br> data but is converted into strings (the data is actually utf-8 encoded<br> strings). When a new line has been detected, some meta-data is added to the= <br> detected row and the whole row is persisted to disk as well as being sent t= o<br> all clients registered to receive data from this device. For each line one<= br> or more regular expression filters are applied (since the clients are only<= br> interested in certain data). Right now I&#39;m using session.write(rowData)= for<br> each new line for each client who&#39;s registered as interested. But as so= on as<br> we get many clients (&gt; 30 or so) the performance is declining. In some t= ests<br> we&#39;ve done it takes several minutes for the clients to receive all data= <br> after the hardware device has been shutdown. For encoding I&#39;m using the= <br> TextLineEncoder and I suspect I may be suffering from the same issue as in<= br> <a href=3D"http://mina.markmail.org/message/5xtmwbode6cgifox?q=3Dperformanc= e+file%28" target=3D"_blank">http://mina.markmail.org/message/5xtmwbode6cgi= fox?q=3Dperformance+file(</a>&quot;[TextLineEncoder]<br> create a bunch of (small) IoBuffer objects for each<br> individual line (or message object) which are then put into the writer&#39;= s<br> queue. This is quite inefficient since thousand of small IoBuffer objects<b= r> will be sent over the wire instead of creating one buffer with a more<br> appropriate buffer size&quot;). I&#39;ve tried using the mergeAll method bu= t I don&#39;t<br> see much difference, but mabey I&#39;m not using it correctly. I&#39;ve als= o taken a<br> look at the Mina FTP server project. Here the data channels are made up of<= br> input and outputstreams stored in the session. Perhaps I&#39;m better of us= ing<br> this approach for sending the data instead of going through the<br> TextLineEncoder? I&#39;m using Mina <a href=3D"http://1.1.7." target=3D"_bl= ank">1.1.7.</a><br> <br> What do you think?<br> <br> /Johan<br> <br> &nbsp;<br> </blockquote> <br> <br></div></div> -- <br><font color=3D"#888888"> --<br> cordialement, regards,<br> Emmanuel L=E9charny<br> <a href=3D"http://www.iktek.com" target=3D"_blank">www.iktek.com</a><br> <a href=3D"http://directory.apache.org" target=3D"_blank">directory.apache.= org</a><br> <br> <br> </font></blockquote></div><br></div> ------=_Part_71096_25166660.1219657365243-- ------=_Part_71095_4359390.1219657365242 Content-Type: application/zip; name=profiling_result.zip Content-Transfer-Encoding: base64 X-Attachment-Id: f_fkaw7upf0 Content-Disposition: attachment; filename=profiling_result.zip UEsDBBQAAgAIAOtbGTmqSl//N1QAAApJBQARAAAAc25hcHNob3RfNV8xLmh0bWztfety20iy5v+J mHfQ8dFO+ES0aYJ3dvd0hEzLY+7IltdST8/G7MQGCBQljCGCA4C21Sf2XfwsfrKtG0iQRBaqCiCB AtU/2hJBkGIyK69ffvnzf7y+ntz+7w+XZ/fxg3/24ddXV9PJ2bMXL1/+1p28fPn69vXZ39/evrs6 s1rts5s49Jz45cvL98/Ont3H8fLHly+/fPnS+tJtBeHdy9uPL7+SV7HIbfzHFxG9p+XG7rNf/viH n+m7fH3wF9GfM17BGo/H7MZn5Ek/+vbi7s/P0OLZ2fqnX36+R7ZLXuoBxfYZeY0X6N8r7/OfnznB IkaL+EX8uETP/vgH/uufn8Xoa/ySvOhPZ869HUYo/vMqnr8YPTt7SV4n9mIf/fI/P4TBDP3pP9vW sPfT2QcUzoPwwV446OwjWgZhfBbMz64mP79kz8a3RfGjj87Ie/F3cKLo2Rm9/Odnr9HcXvnxGXvV M/pc/Kf/x4sXf/xDbM981PrXkl757z/+4ezsbBaELgp/PLOWX8+8Bf4Dz/5z3L+4fN3/6Y9/+H87 dzj2MvaCBb9zjj/ki7n94PmPP57d2vfBg/3D2UXo2f4PZ2+R/xnFnoMfiexF9CJCoTf/aXPbF+Td 3cc/4nf3XfiNWjPvLv1mkfc7+hF/H+Edyrgpvtf+w1KvPmr/D/Z3Lm3X9RZ3P561WxZ6OLPQ181P 7Bkz2/l0FwarhfvCCfwAC/E/X3deX76x2GXyzbywfe9ugf9mNI/Zo/yZMx/fnPUh3DI+xLAv/SGS v7yN/xsMsv6isBUHse1v/rSMz31J/5P7hGErcF3hq72h/2Xfiz6jhfhP6V323nS2b/aDO/Ub1m/y xXPj+x/P+olmZH+xW3q9ICfY3/oOXoTsEpb+9ntFwSp0do/jIligzKfVQkFmgft49t8pYf549uXe i9FP21/+9t8o+tvO8Ived8/+m4rWRU4Q2sQA/HiGXxuFvoeFQZ7Ry3tGi8kvwn8cF+WLWRDHwcOP xL5Fge+5a/uWPCEOlvtX8WvZP+JX/YRfaf2ZVuiMPm47sfcZZV357EVYDO7m0nIVLn16McP2csWy 2lSz8HNevPjl55fUYhMz/5K6m5+JsKn/srin+DlaLX/h7gI/Hf8icBr4LuJoyJufOb4dYedH1Zu6 xDj85efY5S979jcsOCJS7Glc+vio1W612W8v8VM3N9ws7GV0H8RnbzwfbZ4/+fH/RPzK/+3jj7oU 3nvrPaTu7bTboxf26u5Fp48F8mN//GO/u3X7S/oZyE9L7DzZ/3Y+FvkU2NUlboo/jp3Is1/eofg+ cKOz57PHs8nqYeXb9Cskf8N//fyS38H+yuQ+bKXwi2GvkrwOU63ktfAfdJ95+f3q4Wxi+34EPmPn Dzh7/hD9F/hk9m4ST7z4fLf70fJvkH519qli5x7Bn4s85/Krg5j4L796MX/uWgOSW4gVf0a/9z/5 8U8fr69v/3QX/9RK/5Joxhm1tH9+Rs3ns1/awOOd79/Gfev7t/5opHhnyY/vfVauR+4vOMxs2Usb i7D14C3s1ir2/NZ7+wF9CBG2gp+xHf64WiyonQhXi+f/BbxRH3gcf/reePD9W6enKoLOeIxv6x9a EptvfVcUcYhdATFbrShwPqG4tfCC1g39cRpg6+SgKArC89+C8BMKhcLpAY+P+1gyo+4YkkDPgq50 iWws6LMODq4mcrJp2Q754bzfbj/XewVQoiOsV0NIcPi8ff82GENi7w8gZe3UXNlabvDGX0X3sKZJ yKULncRhGzzFhxZMUUVL5KJw+w2+E7uE6cPSh6Rp9bEF77ZhceLj2+sMQXF+/zYcQUoIPV6+qjnB Q+vh0V4uW769WmDRhK2rSevB9hbP/2V/tlukltAitYzF3T/O/gnKAjxM2BT1+6rWXfM2bb3KFgLx 7d7Ci4lvP4IwLMjw6N5Xnv3BYbp9hx7QIsaf3o4nge8jJ5Zzb6A0iJcaWNDx6UHWRvc+6O8o0+hc OCSULEEuvTb4bZd7W9mGI0LxajkJHrDGuFc4xdX7+NZA1QBq3laCxaBxsIN1I3CR33ptxzZ2PJ89 nF9ceVGMFlguLn7wObnDffjamk6CxQKfHuxdfjijVoVG1eTJkKw62JMMB13gatfqYz80hpywBZ+I 4wU0++KKlh4X2ZTKzHY+YRPzW+jFWGBfyD/PZW+CxDa0cEAzAuPgrtXDYh1CJ2Y8ql36hQXyECxa rx5j9Go1n6MQa9rXx9a9HX1ExGNjtwSety7OtUaj7vdv7SH0tVOBdMaQQHpYC8fjqoSSpUtOECKq G1hl7rHB8fG/Ho7Y6CnEbhrZD2/5w+VoVLfXJzKAHG5nhAXYBUM+/A2Mu9Ap1jTQB1AqSX3qEFWi rhjM0UmM2x1An4zoU3cMyaNSfSKaMd0o0YQ0x77G72gUxHXpNpjiB0OETbzLr0di/bqabF7xEr87 aO7ztKxPtAwOgLqaEdAhnOOWRHeOZt2k2qUGEj67lgVFF4cWbK6uCiV7vi/St4GP45PWIoi9+WPJ craopxlCguz0sPZaI0h78b1d0PEerc4AiNkNiFVsTUmUQmqeXHLcuWwyxOvZv3CABwpojM3i2AKr dz0sg0EfujwclBzil6eFXDxUGXkKcPkVOSucEB1IUm3Rke11wJC4Yl87DXh5SUseYMRK5dG3BMX2 dgf66MdTHkAm0WpJc+pXdoQOJR+aIsOF335d9UVFNjynXKA4qUm4Ljb+kbbMcA417oGSIRXQqsSm VS9PFXaZBPebD+tT+sbzsec8p0npR/TvFYJTdCrGjgWLsSdq9PXBwkVdVO9iFmGhOnEilMk9MfVz L0TsdyojWJJc6j+cHUvW7Q54zIfVh3H5OViYn4B1SUiKc6h2F0o4O+Q5Y0vUghiA7aCqqxxizXNs 3/8Qos9esIqkNDB18/nlIg4fBbpYrrZiE0lC4k4HTD3I19SDIz5sOcCiTHUN8B1ZYFsg/S2cv8ex IPuxRt9CBwu6C8YAxKaAFys7K0zoWCIuclofwiAOnMCfkN/M+FaIJbfgzhYpMvXBbwyfmi6YZ1Zn zDO/k8sF+T1sIfqvhKPcj+tU3ud6FS9X2mJvkxQdBJ4M2iBCosL8fC2Jq4lZssZa3O9CIQnx8V0j crZU7LIMIo+0t4Shy2CEk7FhF1KlUZ8UQWCMDk782yU3+w6SrqXE4nsPXpwTzo1FJfERgYyATTtS FR4cC0qoryuZ4dz5W2S7RnisLvkSuiDkgnY8QFQP+YpHmmiNw2mtIFlOR9xucMwcL0fOgz7JAEH0 FOnCVZXXFEbxzQ+AVcsRZw/HWaOOqPcBVlmrNra7zfDZai7sgQ8HpKAFftYOgZGMwIqz8Gp1msXD E8Sr7a2k7M4PHNct2raJpADbJBfqgFFJZyQCPhIQQRvsgR8/REw3s6av0Wx192719YY9eItdEQFq RXGwpD+LKi5wH4LUm1Ttut5dZUJwTk0WeVk0cHxay9TxOXBIknOQ6Z9w+7hE+zkL+EVRUA/cUiVd 7z5o+XVnBQ6qt6wjTdCFH0K0RGSa7lAQsi4BqbTB0hyR3mAAGUJ8cVhZGJLfg9xTWLnQu+yynEX6 3W0QuNohPht0uSQPBLPEeuc8tIRNhP8OCxSr4I2EdVEsX8vaiLHVEWWWFg4G2hYIP8W39iqHSgLu /pZM3scfyJgoweI6KEEbLdlDx8EWEYDuGNThXq0wlYkY6iO53hiS3BiEstbFum7apFKnvFTb2iFh ugV29olo2wMILNIZQhF8va0qM44kFT63aunPSDg2BiHCPZKH165CJI0FqJ+SE4g/DLvoVSVqye5R IvEbgqlDmX0HXi7SbT+QonEH+uvJtMAYshC1c+2/Lrz4yN6JxD5dsGPcqb4YL+HXqxFbF+zeDEA4 S9X2bw11eJCP2BXrAWVF7OTkwlm9aFys3u59nTRxiU38IEJuqWkTqNRgsEm+ixFoJ6HgFRzTOLo6 RyqyVFJoXVmqgjoOLktpGFS6nCIp1zxZgfNVzAaogjFA2pBahJFb8fuJCrCgieS0KqMMWhWZ+3Pj 8nKsac6Xonqga67Vt7bnV2ZtByJjOwQLe2DLACSCOaK1TeZ6yzERYgmBzczqJJSDhNsahr6aJInj iQutwMhviB6Cz2hvkPI58ELAoKCmJFVNW7Xqlz/pW0thgi2+6tVSc7qXibkkqVpgkYiIdQDm+uBd IIi4KuBQ/sQNqet2CWkB2BUnsuiMQcY+Ml9QP/DQ/vDRchUzkqvUdCGOY8IbUotdOAn6gCDQOEc4 vYz/5aVJbTA0mRwXzBr2y6asKa5NOdiReqNZJb6PLsg7RAhA2tXTdxTJkaxuLZKko/WeyLcNjuuS qiw4HF2X2mu6viJVhlUurQ4IiQ88kTHGJqonYPixlF3hMar+tGPCcX6/xp7vxR6KWncoZu2ANGsZ 6Qc89xbxD2eedoV/TMrPMNi4rlhi+cpUJapHgMuwrSZUGFX16hRQpodTOspeC6lWH4zKKuxjZohG RRDQJxoSEAHI4kaC2Oq9tlbiiOUDZTtvgjCtT3t0relDyB7R1DICjB8L7H/pMObjWLd1RNSpSURU ks0ciggPyTx4Ld31BuF8s8S++lDoZjGvKLkI0xUSG1O5SVVOxkLUSBQ/+arAabiuiMCncqAT9F1V j7GgMm+DTHUDEm7AkOnaeYE8qojzTHgZ5UmC+PP3KkeadQZKBCpgBOyD+L7Kywy7VcQHO/wEzx+K pzD7ZF5EFFpUNnmoQB5r+37g2Ng5CeJXRuAEwroJnTVozfr92gKTASn8cDYLAh/ZYCMtRxwEwgon 0/3aOWExC0KRA0LAqiBkl9iJspsKxypH7owCfUQO8j6XjGuTd3zwFgESag9UR3tB/s6qcJuy4j1Q XJEjXlUc4cHFm8e8npAQ0F/I8DD7UXl0mLA2gEYQxP3o3HQgtMV0H2nhepHD1j1c+P6v+PmRlliU jbzWTWUrRg4K5dCyKfWmw0VMFyxUCEoPGkSbHGo7MksxSW9W8Qqr0b8Cb/HcD+BSHbxagCTLqjnD sC4RE9+Hjd1QM+UgHSztCsL+YnukQk5qwOFqGXsz/7FJgtFVECqXNpVErt0wTCRawHvpOE85duuC 6xEJZeJAFUpe3eZE3Y7nk0zLgp5YhjVacr4m1dZzzVU/BdivR9YIpt09IYILerXKD8kGwn84yyKW mWod8eAyKwbqr5sYIWkdUfV25Mghzw5bTbNuPE0n27tqeEsK8YfzANR5cHSR8NqqnxmM3g6tg4Ds qC5eUj5Bbj0PKkvo05AWp/K0vbLLOrQilixM2XkJs4SaN3oyZaJLIEMoJU5FgQkhWGKpKbuWesyY PIlOe+UvA9pAK8MTWnla2NuHpgEPs3x+syIYv5H2rlvhSj4611KuGMvTTHgoz3bdokNkWWKXBQqK 9HgEoqpAPa5gdbUC9PJJ1uWbW1DYLNL/zfNdxw7d9zYO7Q8g63WpML9maJb0lcj5WKGEQIu5pwPB kt+/dSgbLAjtolS6IlGBFys3smJ9dIOLao8/PH1KxNpTXegGwvaOpYGMz+3QPUAiGxDAOwDX4NWm pH/h2kvjZyi7IqD0qDJcrvyKWmwZL2J8OmerrW2j4gPbb1tkpZ3g1PZBoRBUfmXrJhTXeqXxsxy8 lcK65WQDyu9g6etgD0ysRpUBKnPqnUwcUesjipbBIkKX2LuQtVLmTFbDO0rxN9IBM9dBDeDOWlQU bK6PxKvpWSzyOyWZvLeje6LOMPyTxFeWUGhgINCrHzWAONzc6KQ45OyLpvm6og6p8GLlXl66/2b0 Qcdf4RgMN6tb66qzDCy9oyrCN7grH2XPhRTdVUUiAHD9JJEoSB5L7gQ7LpWrPBj2n+9eyQgdiAwl J206ILsr4eoBp0jIiEnZPHpH00gOqxhkoCrkXgGEa49w9ARuye6I17rXThPLjmI1I1IiNnBvDh11 qqpUUlQP3eAj493S1yfYX1QfF2o589R2z+rHOnM2BnTItwNvB6ydWnJB0FCFw0EjFJNfY7R4nlNA ypm3IrIAuW76NaAy22/JZdLbn1vCZYc5jA+Etg3chjKofp8rwPazScYufM+OUhwj9Pc3Qbh5hnRd h4tKcHi6YB4GlyCqM1+SRj1E+BRFjHyBecWo5KAXdIY0B4QEN4QbviBxw7EsUnr+87DVRNaZgYOJ bqe27AdgHEYExQfxtQl682MwOMsa1XYLx+7E/VZ4qs1QkOMJLbLATTCa36ms+iQdmm2fQy8ik1ZC ttMx5TsVBOljsBParx/9RfYIjW7YZIn6wIQbB3SRA2W+9eOFTccNFoSMdcP6lcYyJhTZKUKuILQk FRewDmCJlu8OK6OsUx3QS58iGXOcvx2CHDALxKSRlbAg1QO5s/peAMjptbtDa1tgm9s4iiKbKrEo WjBvQZdIZ2EGDiOiqetVGasJpUoTJRIxkyojJK6+bkhfUQqA/ewNbx+42LGwFkKOx+13CWSgD3Jj 4PQAhAxUWtbW5T8759JK+IRYdbsNzwzmZwNiCjkiQpjXHpz9q0zFMo/89mbML6KWYWHSMpJYgklS r4ZMREoKd7euWrAHDqh2cHpeHUZNdxIf27a/2f4KSfdJeKQjULIOWGEkhq0GkFL1QtgkWMy9O6Zj C5cp2I33O9wzsfq0CCtoXHb6YMuzbLTngWxXugn31nNdtIB6cLkW7YjQMqK9A7DCVBlhoQpX35Zs wQBkiMUwgDcrYDGAxM/Ci7VVwvq36mgRBqyb19cD61CwKqXVdcxf2iBVTK9+mBOg1Bwi7N9htF6+ toKQz16v+qqgXKhTcvmrDeZ0A2UyogMWccoDweJzZPuRPI6mSwrt4IgHlSC40AdsZ1RZahYtlKcF 5whYD6JfzGr3wHNXmYh0cEapPvL5VihNXYRqON0W4a9gnHXZu7bLt1Q7na6FE5Lm/brmlPZnAsrJ fI8GMq/2y+Y4OVr9WXo2vYSRdYlzC6poH2zGVmHayvMOOV+GfOeNDlKA67nA5lq/thTzAJ24VPKW A4oej8ACVLd+CexWEpFIheHHqyiDjkERDerYhctekLNZSjaFg1kKhxiRaAKK1ceg14Sv1CQU2xEG +VUoiEHv+7cRuON7DH718JXaFkKKVuM0D9YIdHFdcCdNbUIwWVLF+q73GYGesFtZzb2AXbv1sMRj +2GZe6qHYD4JU32ok4BUa95SYKZ8aw+u4wT9AHyllhqSjkQL+b9RD/p74Sv1VJC3QVTOkQE7xDUA 2OrqSNFzA+7/ha/UxrHJ1BaI649y918JPD84Tdwb1b0hvpOezX1PcHxYWgbu821DlSZ4Qq5yPdma dLgN7fncc97ZkfbKqyEYL8NXqtaFzM6RKhnK/lwbD+0WKObl0AvXDbGwhS1beDPsAO48gFdqp16s Ukx2ieYoGNiWGoDdN/hK1QoGjjSwdUKChhQHkoDTfDDkuO6MRDKVIPlimWBXJ8jb1K1MRBpV7wM0 mgYwSwu4MLxygwL47UKd7gEYxvXKXtV2aJPC4zs+F8S5EQRNo5yVwWBE0wMziMo1ZJeNr/rKTY76 9ceQlDuVFc508aQlTtPAPZ8xdFzhK9VppRodzPDIdDA9sGjbr13mpibJnrYk0/3gGwSe6tEQJA7o gSA/yA7XXT2X7KfnhSUD4hPAaZiaWDqho82voIgRLD2QV7VX9rrc4+nMIoi9+ePU9dGCqI6mgQKJ IernG6XJOez9bUfF2DjASYMe2McFs+ijqZUWHmWP1Tt6G/guI/wvacEMTN4NSxO8o2Lrtb3Kb+6F SHplu3KYCwOm28qU+1UnEeKViE9yrHjXDJhpDb5/G4K93S5ILlsZrbn2amEv+ojdyKMukh0WBXyl 6pxzf7qBklyBIhiS5RcgT1UXxLyCHB9VtH5dtEQLFy2cR4cip1ehTTjFWxPs4N4FpIfXSi4IepyQ DED9AEvpGreUpgeyE2AVbz4F7XdXeaiuijVrR1wWpmnGO1BUVVkfTE1lXyPa5MBnm/yrPx2nPEDL 35h1V9TVF8zRweS1ylxi/eldLu6ribGCV94dXsFyNtl5qVzcch696Rj6cPCVKjx3WhGTRJ7+EsV2 yH9W9tjqH7F0ocgbP1on3JyVX8mvPGibzj8E+IzhZFx+stCi65thtYBJkE3vCnSOTRIP0kaD4XQF LXOV0PjvzAjx3eMax061wKN+R5mxGyVUfo1mq7t3q68pcsQ0dEBYr1b/WNDjYC/gCK7oRCSQqwkc Z4QPR7IhkUiCVkXT8vjNi+9vYrLMT5LWDzxGoJFWLtqD0NIjqM+T2PR1ThQB0h+EE1t5ISDYtYav VOCg4FTk64NPfBO+QDfGEY91Ndn2UURQ0wWOFReOemFHwMEFY02Ub6m6o6jXQxOXHizC2wjSm3XA kMkC+5RVl00VljjJVFQ7bZC4DEQ41WD+r5L6VpEqVwfsSVRf5co2cffccE2nWIYefsnfaTye2LMl CudB+LB9Ud2ygQTvYAKsfEfZ2X8iGNrZPjXh6CIJma2/oltxSKiuSUjZARHynRoQw0gGjPqcJ0LC jTZIOdcBSRLgK3WH3dCl8O/RF91FZx2wCFsZVFJnsRRA3y687YcztSBfN6wH8XHwlQp8HlRdIIjA GF0+LONHIrTp/D0iqmeHj0UTw7wtVvA5riGp5I7dJ90WKr/E1N/wCwRkw8P21yiKw+BRAmUDrqsC kbfK3f6S4/wSIF0JtRrjNjyAiFQLWIcWUQnwrZOTWYYh+xpRk93KKj1gR8kf1C5CWDCJeqlXytMe MeM8NvxSOqMBLlHXr2FtzdZGv3x7tcAfmXTeW0scksakSrqKdmG63CVG9GJrmu6VshtgUD10YaAa kZWNsi/crbnFZutT0iymvwh3n4ESUi2Hqt9xuIiquTIoqzHcPXJj2ALndwaVp4XZVoVYWuzV1iad 1mD+stMHnLAnJeaeOwDEH84bK8gZJwAHm5RBx+Ba1aPFVVt0DrnNdALY6LUhU2yBpCjwlfpke4lt KqdwZylvfFW/4wDKkMSLUiPWZRPeWSCbI3yljjWqC2zKl6Qd81sQUo1iJpqLS3LkEg4UwZkRuBNY s1CoFSzRVsP9Oa130v/JUoJRWh54mS7wuDLUo1sfA/UktUIAGYc9Ir/g8tRkqoSbMUWa4GYK0A3X JSFwg1+Xrh0jGQo3cYxvECOEmBNouYqfzx4FfP5kbQT0BYLcUGU3TA9ftqrHVNQAUit4LXm5Z64M y0adxQWW7TV3rqxEmna50/l7hFzk7tu6tJVLW7gtUwhyakDSUz2UVYAhEvGZITmQJP7APiBviAxa hJqxFkXnFQgpo9oiNqVEDl6pCuKjywZOF9JhBTDnVjFpklxprRYPdhjd2z5V8Pg+WOE/4gtO+qJ1 Jwa79rceCu3Qufcc22dnhAx6J3qfeVfqzX9N3sP3Fnc5hSnYIkPyAsl7apP1JGUZdyuixHrq+YT5 g0reffjKY0j+BNXwEdwfCoNmqq/VJIU7h3SvwNAQLOOCn7nkyPggQWHzPn2RbcZ0+RoVRFtDEsrN lJroAQwF4L9TzdBu1Bojr4LYCeyV/A8h+uwFq0hKcOl9KpeLOHzU74bD1CSglGvPOc5DMykhlgIp EAhRNRGrLuMV2ng6Xe4jsg5junjn4VBof1QkkRZ+nhhj0CNrtC2Qkx0kQ6m8VpI/J7tM2p87jYgk LCKCVO5kgRuDoQ+ifEMZwXw9RAL20lVvKEFJQCzY7gg1nLzwJyiLB2wQg6z3yneUnQCmMUrn52/s KJ6QG189/mWFk5Dz817b7cydttNaoC9r/NwOSp/lzP84+6eqwJTRKVVAekD2i606xbobFbmfaI9z rU0PvHNAK25cs3g3IV0Bypw/upokvCtciQXeMjnhbC+xxBPT7MD4bDirMCTllyTd53louc/KiQsO 8QQB1xaOCQMSxulMge2/EfuiH8jnJp54Evg+cqicAdjNHkAQLPCbc4C00rlEIzOOlFCtShMXuOxY 9Yayg+tUE4gsGafjUAxHQaTn3NthhCU5Yf9ybiblKhk4hllVlUyiCLRWmZm3cJ9nrycSGIt8c8pN FrOmyoqmGjSX3ZEsFc9jmIzBaWPVG47e+qbw4NWSwafg6BwswoKrTGpXO5DROjlpgN82iCeBXqhk FJkmXzgLYxKScN74YA9GhBqc/Xib1AhyIL1XE/Z80CdAHwJc/FB5dVTuA+PoLbonUR5cGAY/en1L 5DKcfAifmU3YoDNnAG6ZBVlf1e84YKBk49Dw8uuS4N1Fc+MizAzMWFGRIS3cJZFdZwTkabL7ZjRH ZGVjhGQRJYt9FwvkJ/WtCftVJhxR22UJ4pFB+BRIflVZA0mLlEhpHmePlSj5f265WswsIy5ag1wZ 4IVantPtyo3crkhQK8EkD1JKkFb++JYbFbPaIEFK7XdAZnYoz98i262otwZ2gcGlvpXHhQoHLt0G doMD9ctrJ6nC6WmIHoLP+5IqtvDJHPnpaFpCzkAt+zoQc/z8XcCQVJTZGGowXbe9xvTYtgxeIA0y QJVNOlqas8yHtBCJcYEQgHI+Sr4cQAuIcC174OR4+pqwZMiJsRxICyhGcMN15dPqaqMsItgBIXID M2+wklD2+HD50Z0MMdSEUm4dgL8HLGsapjib3EBMB0jw+SD5GiiL6nUoH9LDlajwrixQCuAJU72h msjKS9r0iDNwsid+sEP7AZHy+aaFNcX/22ljbV3LqQmBkoVCVrDzpHpDaaVjEanI9c689UFJRZRl CYlA+YYSOhB5WyoufJ+NdMGsr7DhPhINdyFdEuynKPTZjWlk5uF3r+xojeE9FHYXllb1bk0X73w6 spLF16cSDNnMJC/bsEBbCpKw1F2hsiupNLslQcK5dXjZHWnauwy/BcwcMv5fth+G2fDsccMfzmZB 4CMblpKqjKDPdjzYorSQ1gsA3+PwciMf9lhzJFOsIsXZ/YYZ7H4y9+fCfcspXsFn+UixVgl2UJZu kTHHl1zDB93FkShGjqPN57e251dWGxQw6NZMyLnOOlXWKdgOAT87zKirfEf5AV0ykVROKGKiYogn LmgVYm/2pTJxVT4BqUiCwq095UKJPq4WC0IYUYRWBRyqgf4C/hWwMw5CWIbfv3XALi+Moqp+EYRs jHg+aIUrDQ5V5c53BaUvXjnEphslRJ9YD6a8KHiFH94EHfx66tpFeLcik1KR/NJkY4SVbeWypEXt 3JPE5NVLT2Ap48WcRNTCIUf6dcwXocZwAclg+WDBGwo+JGX6i4XLWpHTzKU/OhV+EGgPCqXySolC KU4KzZKXgLbBaNWEJkA+B8EV35+RPrpkZLEYHYGycMqWZqHxcTqokcoun6tPj2uMOh98ALu0LxEs yqjf0UglB/NY1RvK7oPuLd5L/E1ML3BO5Sx2TDH9pTlmQGmb4clJR8DZkuJ//IiiJY7U0IZ1MuGc 3N9nDBK5ZLJQMqZtORbKd9IclMrHEaw5H005C7fSKop96hoeSrVCrF69eyHw11HfnjBgKlvo3yvb l0+Ye3AxyoCebn6Akl2kkopOwGKcqgCqWMlyUMmAdh/k41eUzMFJubPMSBqafLB6uznNVUFixa7c rdl3tOUk2CJWN0EVZ6p9Ui0lAGFAIXGw5nz/1gdHnuE8unL1UUwA+MU3HvJdmLxRGL2nudiSG9gu npC/XWuavHGa4jBEc0Lm1qLvrZdwgG2w0r6fymm5tpU4m9VNOX9VlkJdrF9ylFnefxghwIsDFW8o N85KUSFOX68fTSod3oJE4fJ9LHhMs25mvhwGDmoviMUPVvtbKHVIOEQMG6Y5D2nFY/txCYvtSWqg lG99xxZqmVJjAytCdSMr08okWIsmnUoox721hVtm98OYFK4mB//8R+qilrfprkbwUmMGzyUJX2SZ 0MqVVvXuUitXr0ZYVbHsCTqbYNvujgz02zHZvYPWkyAl9O1UFalkxSuVgTBzSPsWRcmcNYJHRE0R j+JwcDJEZLtuQgrxPPvOZFNw5v3JvarF6fqucpIev3qSXBE2DYc81YsfwXOHs8JuHwqnVDkGq80J pVg0drRE2R6p6ktZ+lVKt+fVyvNJn2tG/k1D0mRuhmnKVdfS1jZG4nwidZRZ7aLwvG7iwYiOjNMq 6S7ZyYisVPa7XKkdhf7OuE2EOzL1ka1RhznSiNaxFEssBHC5snlffarvTCq4OELmFWIBh8/3bx1w AT24oLNqPciPExM0Nw8Utwohm+o428j0j7N/bi/52swu8Z/Xg3EaW/IgYanqXVmE3soEmpKW+MAM mrW1SdmKEyyJGkYxKZdzVjbywA19YEsbj6540CctWcIFDdhHZLsk422u6TqwuuRy2KjqTVnPP1gk vg2+kkJsgCEQVAupUW17exnl1YQSBqw5avnjq0WI7shj4dblvJlQEj4Q2oG82dCKF+0cNngqYH5M Ux9O2fGkQopVyq15hdydZb2x8nqXqvVF1lUXSzTqdlykXQ4vLVK8zJtVvMLnYIG+vA8SE8Ie0y79 DMHh+5K3HR7MwIiIii+SdYiTQzIUl2Vfqhh9OZYIJW21KaLUrxPo07KrHsgq1pVKoCHi9+jL3uVf cRi9VzUxXUAKSjLBZ2ZXQba4WErTFlUHeUii+URb+Ew7FkSy1vb8jR3FE3Lnq0cK0T0/n3WsttOd OcT9TXEia2O1Sa2AT2FRNSoZqval5LBBBS2yJ6z97J3x8PKGdbrwKIE4MV1yBbtqfIWZrCnqgLuA j8QJeJTyEG1h0x+fa1Z8VKVxPDasXS0h5DotHjRfBXctbzEPcqPrtA0SKwyYjDZJX2zXZb9S2rD9 +BCuKqqyYddtBWAegemc72nnNndKx0yIoFg/5IHluB+Rg7zPJTdE9v0kqKMV85yWWEPY4tdwXTIr u2fbtRmrzDH+SsFXfpXJFCsP6seukSdj1MHdXYHhfGW7Xn2TXxsKCSV3pelLWY8fMGHLQYmWJgpV x3e0Hn4Ol1H1trZ2hW1qdKZYl2IvfnyLbewNigv2EMElRpUbF2WClAQKQrjCKh5oq5v3zmut8Rpr mvs4qdLycqtE40h506AJDizFvZnZeSxEvFnbaOdIclE9PuBGo3KNWFGjdLmgs8XXq3i5inFGhmOd C9+HpTCG/h7Vz1t1tiT26FgkvEevRU64oYVU9/B1o3ksPulIuJ1v8Mlkw1Y33u+0kq0+9FE38u/C e3qJYHj1o2myKaI1lE51f1b2wFpkpKHaGBqp2XQ9RlXJv6D4/cr5k+ZbWupw6fqeL+kRYc3G2QWO rJMV2IzNhr8udEcyaJzajHnhusi9Dj/SdpP7ntA6eQkfDvgCrPCSfatq9KrqVEt2wiVFr7mM+hWO ZagekFqRzhNAhlh4poujQKwCu+PGxy7aldG9NoNyvg0JpazHyy7L0HrMxkfwUkyCcJni30KED5vL L0RvAzovfm9H/JGSMHUWuKy7vmqmid0oJUHViLrMz2mfYu7yv3312Ll6GrqNyQHYj6lVS36LH5co Wkt0hzTyHX4V7AS52IWxhAJ+pmE57C7tjniSHAJmNMuQZ6zRPuaEMNgXqpuU83RMxEoj1XcsK7Iq eTlKyeaLg64ivvxyx4ptS0oQzZelNUcjBDuCrCTY9NkL3cR2vIpMF23VbtR0+alsx7zDP1GlgfNI CGpeNzsuu/V+ur/xvoAUjhQZlebNNgOh+MBcxFjhZ6t4H6mvAHO1jrRp6WgKwmesj6AkdQ2rp0Hy oWUDR91gsG7HR1TdFW9djSj49YMd3xeu8aoKpYIxzdwJxQaLI9uObJoey/WeERKJxOjOw2FJ0gG5 YQ89Js9KBjsymiqmyynPynwgQ1DuJm2/8P3AseMgPL/8uvRCrEThaqFc3z60FHK8VznawkGIPlmG RZwOPlyeE52wCkmEslFshzGXGf70G7HVToXKqwOl9vCQz8s/fcCFUdoHL+vxg8UpF669VKlzlR2u VB/Sypf0yhJSF1zKVLegrhQ83V8RWl743uf84V2wH103uUiRbdE4LwE2n1w+IJ9Os5F3OKOGuaag Zkx9jY3+BIXiqvBOT9XG1K7zq7DT+DpjD+H+/LG8pVdfgVw3qeZzueU0RAWdhn4b6gPWTQpS691c pkOtqwnXJqJYt+hhyZIrCcUSYayUNaZ+Pq0IIK2Bzl87Oy+2Ytf83OrceoqC9HRFZGAMyUhzQ+YU CsXGgc/l1yUpzdAmrqjrPVBtolSuCioA863zU2gqsuRq3WEClBrIQxUrUvr8gXSlynZIDfO83W7v 2VHongOAkup2zCRS8wssuCWR4Gox85Ly7wLHNSym4TsfTffPOrWb40qmrOeXYXpEMJmrSQKJyUua cl9vugOuUUZa1u24CTqc7KPTmaiQGfaQTqDZzif8ydkCdmjzAzS9lr4XnI9jCS7ZdYszDzvKGY5T 5KEsC+hb3YZ32KG4LvcCza//q/XHguVTeyxpjwXL0j53VQ6gqNHKZbNRLUzXNlgSQbhL59hSLQBV bjuKTfqUVw4xp6GYhxKTnlRvubtPgfbap/0+v5B+eUimxpUVlFZHnTCEVdhmIq02Ci4iHuA18r2H dZTq+KWXbiv3f0JZJJpzQ5IgVDo9laEaktWIPJB61K5ykCmITQuWKMTcX0X3sATGY0PMqvwO0WDx IYhi5p6kdjlrTPhKtKbhUe+6iVarEH65cK/njMjginVIpKq/zSlbptojX0J7+XyGf28STlXyY7OK pBekLpguAoWvftMebKow8vSBBSNVSKRO1WqAV+wpKVIh3v+V/EyCNg+/6O/6KwwN9DFVet6SG6kH tzhJDKaKlC+REcIalbyBupL6DjTxlrVszWp3Zg6yOgdZtqYqtArGznOnBCX6ZkBjq0DbbGMsUv0B /DbJo/yPM/370EJCrlvnHJYxyoBlSNwOmtOK9ycfpB6ZCu5ppU2Ic+tWvAjgGIWkmtQSlH135cqm YDm1t0s1y0wlZIXv0Rc4hjPO6ChzD9yvYjf4oj4sXV9lUKEaaMqn12uClT94VrfcJre0RNcdvVnF Kwp9ifn2oyb6ha15u+nWbmuCZGAPSBBDylNFliWsSneGromEnyQmRWHnBIvPKKQ7VnegnpPkyn7u Ft8HK/yGX4LwU7RBjlLetRajX2NZWObzUu8YornPOK7xmyc/5tX0ygK8V0GyyEuXCdCG5K5T9yKM vTn+rciEo3KyUXn16unsluQSgQR1GUQeOU7NyFGVA2a6j6Ex8aL6KorGfHT9cXvXw/4sQhzvod0u gQd963ZIdAIjUkFFX64moIXdKWIf2sweyV8V3EJLQHakswSvBzVOZfTWFrPa8SCjdlxod0EGAlm/ GwWjjev2bWQhjdJd8HTLm1r53Nog1ACv2yeX1kMO8D+dOkAG2iH/azfQZWlAe8tBctZNJBk64PO1 ba2rScuhffxtgkgPqc92GZEuA2CPCQ5qdvdlTRNgDH0KZws0XioK2NNktx8TzLkFtdzl7jc9bdDY bknGSXnW9DYIPjVRd4Apb8Z2XnQsoG6fX8+iqB+czb2mHxpZaNk5nSv9iP69QlF8ymqzY3M7p21z C5dq+KzWU6kGKtWwB6I3a5rNvJWXOasuBwZnxmlq9fTPCf/+Zrlxa0n+Mb4Smscvn/45zczaOEEo KEOj5aAZ4Ch7qQYGOHo55tXkEos8Tjiyef7QoIhHqwiMPTbH5ulVgTcME+qzorVtb0sT1MgsAF6z s5t+/jQIfJTkI6Y2NuQ4ag74XGM79jTfUyJJ9GYjxHUwmy5IPJFHCm1yoyGpDV1N/s6m55LNcAfK 7+tng1RU4ibA4STOykTwGpO1gWaTPIvkATXiGx5YUP0XFF98tj3fnvmIdSeT9VTJJogWuyHpVRRM Vc1TL8mj1ZiDVTC4ni4IqMKJvc+IFuibF13LHQBS5/mb7a/k8f0mV3G2eQzTXe71JqLcbrfqGvXq gxHNefZ3dvgJHWicvXKdyEkd9zZUZW74bo6xKHOpSYPjV+0YjuzMCe353HPoJD+sOUb3FFRoYs/J ZZJ8o7eB766xoannwXgjiP67bjIqRoX6Ftl8FKH1wIZkPiIH4YCl3LRbns9yaIrnz8V5rZOLJHvg cmaXKb7vKKWNQcUVxeKaLCI9TBqt5XMH1U08SmMzmxHbhmEZCqZkPOIixFNe3CyQYcFpEpkFjuZH FEWZL5uYrxSioE8aZYwaSn74wfQxEy1Fwp8/jNYrU09Mi3abPPWINw0cGC1S5P+IVhHiS6RyU2dT uGdUR22wSrE5mwVZZfCYlF8EGkifnjzP+KOalzKK7D02bTH+NZKnajFEKIW4nM4/UjfIDH4aRbxN frC3x01gyXhDRWjraCzLDvf+82T+bKsxHZoiVbN159N4JtVCoRyWBA3NGne0i+xhrP5km35Ehd3C vUVvKF4tb+9xquW+IwXeJraQ0x+eZecur2VdTZ6qWqItHyEJXWu54aNuYi0lWbh1lu+D18i3HxvT ZavR4lmJW9gUozw1Cbiztm5fQ2lNq4QKnrElHKWdYp6qF+DQHp86h7ao8Xyz9L1YYzepeegerWN6 a3v+U89TWc9E7ij5LX5coiipoEYEuZrGmUU7nibDdfEtLGBZFFLRI8npsEZOjC6ShdGAjqBuMirk bFv42c4nHHYTVLR0ZQAOlOsmnIKTYlQ6175LeE8bKJ081Ull6kWBBnX76CLsGbYWC0btm0yyexEb Vnr1eHvvRXvX6aSA+/B1e68yKCJoFqluMio9jD/iRidjzLciwmObQuwLCUmfyzZDwfyxbjKRGCjc atm1giViJdxJQPjWYlEYSu9ssNpoHs4jTmMaI+Q8yCKEAX2yd4Uqwlv9EdrBS0fxDY7YM6l7bdeV tvBWx/zMztnbS4wT4vUWWugwZSysNT1ELVDkhydrSij6101OWuudkw5cY5REclYzgmY15TF14PRm 3WSjwVl2zuXEecsg4qGcV0n3fvLeEMToGCNmNXfGdoLJ5yyNsUIfiLl1T8IW6XSkHLKB2P8rehSU ZKH2Ut0EITtBnyZ7S1KIxFDL0gjlTG5AJOJ1E5ncdJgMrXpDayKHGbQuxApTNxFpgrGk5vGNEYJa YRsn15sH2ZCPiJDM+Mp1kbOiNFxhnrqojJ2eWydYci0S3jS2liVVzmOjyuvGmWjxjfGxrpjz8IhI Nnhqt26yLCNcPqW6hvpK0nLKGsYLrgxFK4/srG7SEddxuLW5CqgXY9ipE2pWiRUmWUcpsRFZZjdl un64tTV2l99CdYll3eSbu0Y+PT1EmZ6o8q3CEC2SSEqd5KNuUsjVsmwxrCPJ1QImGLBMqZlJObUT UwfQvq6rpvjjM+fsrj9+9sCi6ULRWMO+Xj9zHd7eh8GXy69EaDkbxo3x1nrcnGVSlNRNIrJwxaSS wRTnZE6QQqa+PjkULCZY2mo80Fm7Hihsz8i9qhKnQ/qvgVvGphxV6aojSKJ7MsdWrbsOjALx7SSi apEh4qh7RiYx9sv+MDb825gETpmesAbz/gaaS+XkqKFJojwTISWFJuNb4FHrmxLFgGoArD1JFkuy Lu9WNRNWBZAwr27SkJrhViAPxy+Anyld1h2ZZzyK7brb3TNd7NVA+y28H5xnHprybehkItMAO1DC 14DPdIRvIJzHHxmMUi+DaJBDlMlliaziNXID3hHXHC+Y+vA8QM399AZ2i5WI0r2Fg4PxCB8cm4Jw I1EVcGhKOiQbELFwGzAadWDYqptglbQsNatEKqmi8rIpcFMVxQqiuK7EbXUTq4igzAkWOHOj+IyE 4WWSPMRKssh3L3zPTrPzhmhOKjstelGFpgyUpSkNEKVcMJUKCwIAU+Ct+rMm55dfl15I8Gj3q9gN vgikYYgsSiOpKJzc6KU0p1DN3wpIc5Cv5gSiMqvT15+cVBoaO2lQp66a8WItZtBSrHzFqzVNMk0l VQnv7Yg8CTy9/SZZL/LBeeuQYY2a1U1Q7iXiYBsH0vdTF66jmHIwypu3VBpUPdG2nS5NN3WKRLge fsffEV/vwJ74wQ7tB0TSxV3kQ2NCeggOu4fze796mGGFnPP5hmaaJm6N0hSDUugG4SvkwBCaUq6i c1d8LZTtugffCVU3+ZRQNOdswwJ6BuOURQU5m9oSecVqKckROj9/Y0dsIubV419W2EKdn/eQ5c67 LsJW+ct0EcWE3OL5DtaITaP94+yfDdYuij6jNSdsj7CtcT61HB/Zgl1MxsXP+4nFazRb3b1bfeWt t1ucWH3CatJphStBvc284qMcqXlScGaeBho9PPSKjLpJsWz0CiBWldeEMI7s3mnq+WC4YF4bRo3Z MylZ8WZfKRw9xlh5KXqVq8nlgmaHWV7R7XXbnU4hn2hKDiMqPN3aIQclXpBuXjKJkrtYxBQPUe4W 7ixF6sz6vRnq9k4tvCo+6pUlTcftDofDWbGDaYw0ddBTDehWlVdRAGVhim1WQw5krESmx8f4g6C6 VztdQzn5yEcA2uGFkg12x7EX/BdZHeqaV6fMtabYF01dH916DzACEV9PMr5GERJKze5F3u+C2M+U 4E+H319mI7B5X7oSU8FJdDC2izz4hKNwYeOD8I7M3oQ0GfqIlkHk4YT7kdTpL3bQjtRoKlSDDJGV oBiULsBklhXXO3DcVBT36wJLyPPpUre9cI+lnzl9oUaWKYWTu9QQUdG83pKkFws55XJ2wRkirfqg KI23/yLF2znCTyon5R+oxzx1H5EbV90mmJLbxyVq2rrGw4AiG2Rr8oJtvncjH/iww7dyKoqzhXvg mYmcrphXANTmr85EOrhtpzO0hyfR1ZFv+hPXfiKOXBUQAG85v0iSFhYUlbDo3DjFkkZje9HH1WKB 1Qe0TEPzQxuZxUG2Q6gRzq1eu60yMpLcb3wMUBBJ0kL/Xtl+JL0wxxSxKA6lbXob5keFakCNfehQ 5H6ihjVKzPgDr1PSusnfkya9kBPeFMMroSa85SUxQdwIDYEJpwkKmDDpru7ul6tGzf+orF7HFxde dM9+0xh4yV/r3hz1klyOIpVombPLTlGvEjucrIE8xXb6foeMBCrM0/DNG8kqk4wcdG6j8biPRieR g8rXfNatIb586DXC7jx4FO0fytspZIiMxI337XmEpyrP9swh8/QO8j5z8pAbIS7BlIXzyhn2uXV6 50ajyQBiBbGpTdtf3pbJ2ZtonDaJXBhOsbA84zV1eTJVfpRGvSmSLIHLSKbnDL6K6Uc2t40qVXy9 fFjGj8Jyq/EbGxXK1GuStBRzspBD2ryxMwW+dtuhrXYsCp6pmF//gI0OWG9PyswZVWbongK7Ow2R Y4G9KjzY9KK/IrS88HG02WS1onkHMSEfsJEhccDijrRviN+HoqjkunzD0JS6m3wXNXP2q9fuDLuj /lOyrxOQ58Tfppw09Wzut4AMFYpjRXlDDieNjde4DPx+Cmv1auX5jQgRZIFDfDhq3SZ6YpeRCqcY HC1pqD3FSflx0nUwmy58b9HoOCnxapuBoNaMWJT0OkKZqU3jRSSIkS5WcXC9RItNh0QQLc1n9sDt zuYnFi1lIx/SXW18opKteLQTEGNj7Dnmbw/OUBzfXi3waQmTBVHEiCTr7ZsGFJdblQY1F/NodCgA ZidHMV1ixw2lTZeWLpFedMMXN7lvgvCNv4ruwaPWNa6YKDpqU/c2IIUPiiKaBEHoYmERLcriB+pY Tt/ttE/MWRUICj+iVZS728m8oKcIDrh/ojjgAktCmwbsKyPdunWW74PXyLcfzT9XWaqxDgqvJkQF eBnjKrj7YMewbzLFuJYyXHpqoXE26peOCTxZh/WCkZaLUpsE8xFSw4o/fwkBiZgUExrLcoKFswpD kgIkN5h+hPRw8wlzdtPcrOo+ampq03WHjExbZp91njaZh8bQUqfGGebilEERSioN2FhTxI42L4Qp gN+cYa97Uu9D4W7Z6y17OCsJ77YdZ9iznackXGYfdw5dppY3NAW6WYiU4xR4NVXoerPZvYQkyINh t9Of24UOqimM7WrART5OpzRfZrR+SYPPNRocXBVNN/V51mobSRWiOyK5MBtFJfMSplt35U7HE88Q HIYx8+TyCeKvD36aOHgnrSlCHGyZp135VDoyNgvLacHC/oYQE6jE9VeTxPEJ4vr5rD/sut3TXb+R w8KbJbN+d2QPeuPTwBprre3I3jLR2IhLqel/yozn+QCsTDK5ttuZO22HlLmmpPK36/cacMz00kN4 /WDDzpoO8LEV3Qcr3/2AwnkQPkyTfblUhm+CcH+yVmaA1pTMWG/oKGILqFLni2Fu5QukVsWCKKJR 6r3gE6ws5ygW93JXwV3TGuV5tSZoOSAtuDSRfbmwy9re6NZ8jyWBu8qs6M6dUW9szU4i3ZBL0SD4 qLB/nL0oPk2ksf00CA4ObURteoVUJfSS424zRALSiV52S6thZl+VO73JW51E2ISMHXCFarimyESF ZQ1Rrp5XCCdo6LkfCPZxmB8e7xyPvV7HDb8wxxLhly5wXvEZezghxRh9Jo8FFihOAOwM/S8gG+FF YSEdSersNsZsCdP+1Dr6BplsBQiVINn9jN/Mxdr4wQ7tB7qOTjvZNa9KID3CfgKqI48ka1YcqNUK YXR92Bwj9zr8SNvg7vsg9uaeGMczG/Xcud1BJ4Hj0QWZn/NyEwPcN+3s6ZUQGjmdoYmeS3l29RPY 7Tgje2QV44825QTq69rJzTHIi6Rxx1Bji3GjIoC8aChriUqzHdL2UqGkAPZbiK/h+H9/r5AEaitZ bLx7b3N2deqAt5p1kArPYtOZSymRmFI3E2Ef2ZFIhzPrLQ4FDhQFF+0n7cDDpiOXM33XhvmI/7we JyR+/ML3L8K7FcnySbcpuoiYKBqpawDrNfPmzayL5W8kSu3tZAGNm5RmWX0VmU8NJhfTgCD1EF1N /r5f9DkhLdlueG3vxm2+i0rb0OV6ADI91M02TfIrWYk2andHw9H8NGZLtYqIWyVmUc1i6PZQe9Sz ConSbHXcMAVEzGll5uncma2PJmk+8sBn7gd29j/Nyd/hUbX53HPe2dGnplnxPDfHCs34qDH/Pl38 i6E6eaE5awwEDdyu1e6eqtnKOGp71BT4MRw6vV89zFB4Pd+MYwnCJlPOkpA+K4tTtckJRbHljVPS fUY4oXX5heht4EtDQk2RkSRYiOKFiyCFjGs5lICUeY3sJ6xMFeWB6WYrVKKxcZA89jfbX8EUaKYs 7tWK2LOJFjZomqyAYjSfofGoPTiJgCJ/o8h6CLJpoagWgvbUSlAyR+zmfhW7wZdF0s3ngllPlGCR GS8b+bVYfN7gvJPXE8i+DxprSLoHmTcl9i1jHWmhPaWWeU093SiGUaOcMiWKRP2LyeDX2PO92EOR qATWd53esIOK7TYxOacoExclNKHGJRqlbyQ4CUICraGnOX6mLyJANkUOOptzBNSPQMc9/5GdxenJ 0/jmxv0fTG/Xi+AQLLT4gE0ZdYoOEpD1WO3OzEFWp8ln9QCzxg2Wlm62kZXQiwKR8Xw8cyzbPYlA RL8/cG9HG4gsiUya2RpIzuIeJV3m8EfHajvdWaMZj3LBpAQ3cLPEAf9RUKQm+8USaiXZVMI9azCa nSzP3ZKXsVNg3KaVIrWYzhOI0/mEaITvU2X7iP69QlGcEf9KNFpk3sz4HdpFiBMa3wjdmLDUZC2N W6kxer2+LPCaqNPpzK1BsYDLOG3SAWSQWa1kSKlJ80myIJ+L5dJ//IjuLr8uBfieTtu2rMFptOPk odBSq+wbVrTOA76mf96DvhIq3JyVILS4k/3SwZLipWKixdNr+ssN+YVrIfaTH/ArxAxXs+VZ2ZcR tXC4sv/3mP6N5FDKJgc9Yd65xNooRvP1bLvT7Q6KIWdNkZ7SKNo2c6qAS9weI8u1nuxlOpjjGzSn wZtVvAppF1+MijFlS1n+3kgw52wtyO+P13MelvBnGZ9MCShlhWRge9WM+J5EZPGXIPwUbYBXlJSH c/Mwb5H5vNRbhWjOuWnxuyY/5rbeDZG2JPofiIBpMaiJIbCgrMbaJqTJeUGonfhpzCxdOz3kzoe9 kzDlmemokBpM3N8zneG5+ISSGObojOfj0XhcbEOZecqlt0rw/LeAkCRvq53eSymV3dJ/Alh5a7ZG b5UfRXVyuzNHrusWIwoyT6GfsJoHGZJiKWpDB6SyyHIm5N83tgP5ix7qW67jFGPCM06FNFokzW1O KYEbM4HK4pBkhnqkdPE0yinVOWhSupQLc9wUcDboxlcrj4wnnl8u4vBxn4loPysA6+TsRcEniN78 NKMyGTrVRoCW5egHwZHarFWPNhqP+2h0EqCiI8IZTJeZwtLVTJRQr90Zdkf9k1Ar7VJjM32mGjOq sIaxdonJceRYeVni9QaqWCYmZroHhaEbRSldSZBeTM7iVdPFUny+rsFzs1LrxddstJmTTL1uu9Po 2QidORJajkFfcNCN1tmg9GoLQ+SiN4T+BP6R5W15auoeOCfkWvYucFd+YxfOZRt2F829BYqSZasX MbZIs1WMmsuUoU5TqzqD2URQtdaSdUB4Qsqp5unTkybJSGmagJlYaZj9bDy07XB8AU0+W3JVga3l IJmo++7IHvTG/UbLSipxAym3KZQ7WYT1FHEeQ22zp79PCMhalE+gyadZ5DATp8ihpuzY6RxV06MK rW5fdi9/3eeTSvpMbvgJmWY+kzmCxhcxi42inJrZOTAxaZPFWYzCWtRvb7LUSgf5NVlYx+M+bLIU y9lmTltevLdj+mZByWFYtan3U1Mh+WUgzWo2lNZEPg2F0QCWMQ6XTK/ntp3O0B42WnY5ixeLLg1r sugOuLSoyWIrvFnEdvPXiDQZ3gAm4Jv8R5B8d9uOM+zZzT6ah0OvN76qlcGcs1m760VTHr3zR0AR mMLYCFojZr1biHdyWklLh1tvWqe5fVyCObG43Wy2hpRC5fNkf8qcjWuyNA9OSdhk4ZW4IEuKT7vJ stQr6svEFZlne9Rz53bn5KquBRhxmiwpPeXTIMposhC1rOHlwr2es8TqKnDsHDkShzzvus0+tsUn f1wvchjbPgdKR9KE1LvJfjP2egos4QVOPK6xlm4S/ATj1DBIuaaN06C3avLh1DJyk3tCPRu/ZrhG kYFz3O5wOJydSk+hpA1HTRaWXrorv+eu8UW3NS0rqa7RZdmIVgMEMa81ng/7w/nJ1VH0VvU0WUhK PYLNthRBj2A+6w+7bvfJaIlDDZGTHLo91B71mn08yyInabKMCpHeFOQX3bB1nOROH5F6gilVtj20 B2531mzkXtHSyDs7/CROHDqzfm+GuqdXpttenZfs5M3ZnNeYQU2gs8qwawSmTXvNBFP0Gvnew74k ZJuqJlM0FR23yV4ROOx2+vOnYkeB3DMTQtNxRvbIanalvIpVlk2WZx7sDZ/n+dxz3tnRp205KNEY mEIvqlnoBaYthJyiDZzBnODsvtnUOhXy/Zp+tPKXBW5D38nhSYmzwUp09KUejVElte2HRKMufJ89 Yv4MdB5KdjMjkeBkt+YjCANo6nFshewY3Xm83b3CvowMwZkupBxV2UMSYxW5ucfnh/9OUD6gophy XHLd157pxapxex+Sfb+kMgBNNaSe0kA1UUVynjaj7tT1kQz9WWNw+fL2JNnRcxHerYgSwZ7H5EIR 0F/h5aDzndFg2ftMPzfKQS+BuqwRaNeLXxczb+E+nwWBj+yF6dKArQhE0H5uiePdxhO7yw4UJufo goA0cCCXP4rIizcquEbemj8V5GN+yyTbaCXfyYVrL6XbJw12gDKxtCkfX3bwbI82o1kVMbkmWgLp YTw+GWJQuJuxAJkut0KUEGXBLkwXonJQ5UUZMZXpUig2AttQcyTvlF6jyAk9WgpspFPSxAzK6UUD e1cS3bxGiaZMIshmSijfzXA2AYqS4rv/dhNW0y2r9EBdsvKHzsw1TQqq/sWL+E9EK7wQmc9Hchje 2IZqCXBUbkj3AL16jNGr1XxO2CV9NrbbLDEcCKHVLCGpW5R1+yDXppjiYOUb2BFvTqMo4fujYSuJ YLFp8ZzE3PIm9onZlVQftmmON3/cdZeHo1mfvzDPfbPEUSbXSLMkU5wvtVnyKHOWofHxagmkFs2S TF5kkkYY0gPVXJShJNN3uknTVF3I64sr9XtN+fhlIOMaJRBYHzK7l5wC/1R0Q32nRqMkolwuTcFl Thh1qyGsp+mQrZGOlu2QH86tdrujORWixMawP5hiOkpehxCDtzuYStIZLy/6Cz7FbGaSzodefLY9 3575goVBJtfrdvBwG+oAckDfBlF86z2gKLYflvAR/f6tPeh9/zbsmyIIWbuVMCpszQWmBgL5me1l HFm1VwIRmZL3g2d3bMo2KyXHu2nBkLr6Kg4uvy6FSwO+f+uMxoZIIk85PxAsuZvVhSLxBz6twSom w90n6VG5QaenUzLC6HRG378NRk2zXVv9fCKLFBEAfFBG2Jh3xqbIolRaV7qEhO0GvGnS2L/m6YnI r3zt+1/RIydRxk917u3FAvkEZ7W53KDYqGD4eOss3wevkW8/mh8wlrjjQXLXMF3Q6aKvuywt/zj7 Z3P9GTQERaRB/Hz0Ednu7X1ItsUvV7BpskyZPyzCXZgE3cN2+xSx85kuL3jAAQ7vp6cpqH5deHFr 5zHhFM9gjP3/eGy8HuWGyutqy6jBlSfQrqyP0H7eCt3zw9ncD2wwqcAZljUwjkFQsgySPj5TweDJ 92/tLs4l2j2TQaHbkmAIA+bzw31iSXfL2NjrUhlgm34427uQlu0pViD3OZNeYQn7wV2D7ZKMl1+g r/G6Qn2ikXShxX0nGUnnLNfk+RovHXIv2M0IJFVeB5Sm1SNlx4qFd/i6EnEFONOjiQp8ULEohqbY 8Sy36NurBRZJuAUj2oC7G7u+dgc1xL12xJiCKCogKYUQOBFnEOJagd5hLcHBQtSk3PVAgzRPxced 0v0OP4oAiNcxz64o56t369bOO8/3vQbBElWgI0QM+QoxMHlj0zb+KuSz/8mOnYQLgAgi+bk5hP4Z CFXypdPPziIvwUqmfndkD3rj/mkGvopNihvy8MJlVubG+x3lo1zMMbM6zicDiTVSKzA3iJ63JDUj Tjy48hb4wDYogZeg2fciEv0KTxNrtHcabXjWtEcfCS1xzGJiTrOwLsBrtnGyXhPUMVPOnRZhBefC ifHzxFw4o/b3b12r6XiwCOvIBhCWx7s5bpNTaFyJpiSSY/Iyd0Fw5+MYiz7WSi6dZKC0XYrPXMHu tp3O0B42OcZUbY6xzk7j22Ia1a8mVb1KiqnHTzF1EcyLZZ0m6AXUvjyEwyBDXqqU00ZBG8oATfNi W5MrATsBdTLcGSw+hIgt7IPpt1OY8v39ablboM7fo6+xeCFUp2dyAbOkDeGnEGGpWrOsTnVTCfRL 8ZdZADeptdYQ2N18uR5xG3ODj7B0dUJygjDrZJczATgYDb5/G7RN8Sh5vPRKyJ7OE7LnEMraO5iy WjjU7uH/jdrGD2vKh9u3yTNvH5eihgEp3w5NOcflpLtdXf+tv5zBdM+U5d9VxkMEhbzO92/DASnk NWCoXLmRudUtb347E0R7TvwgQm9W8SpsgBSKAXBk1iIZUzg6CECd9SaznpOAHY0HL+WVQLL49TJb S6hvuQ6DuDU1aypxnFiUgI7n45lj2W6TRak7AiGK4cV3glHBEOdCXeMqwkrdTaGJ3/Q3TRGC9vwM PYlJxAgLxKz0WLkce249Les8oiOVa7rf26kpE7F6Gt9zz+sTjE50rrvcucBOhhRVXueHsxz0WR+b yZ4xwwpawRtzn9jWIfc6ZI1VN1kPIwrhZqOeO7c7jY6Gi5VlWVGCqhts6UamFGoOplxETKB8TDl6 +UtUPmB50ATJQbSox01YG0f5kreADqDXJ4wwximSfj0+BToTV+N7XVO6FDpFCiIKzn1ufqGv8Djz +9XDDIXX8wlbQizeDGFKgFk8D9yAmRqXDSr0TySKBINx5/u3ftv8SDpvPDcVorxaeX6zrEfZw09Z 8NSSh5+ssSknTwlMmLkrLSuTsMeEDqfRxJI6dGa5ZO4jA20VMD/O7ffVhJfAJS22KedGe2vt+e6V 1mw1B+UxHmMHRsJeyxiqbAFXZpJTExWYuhchzhrxby3xJFPHlA+eYRFy+ItOYzmtPjc4YcNOX1r3 r08Fj11CYk1YjCUwNFbfFJkobhJ7jbY2ic29hRfdswdF/SMqw/0ukOgtrlfxcgXPw5tyhLUbIFnd bdWD2TFwVL44dkcI7B8Mu53+3D6xWFrRaYgkOHR7qD3qWU2WoASn8IRkIGycZF1Jyh0jN7UQXSpL IA5Dsp+zjkeAHGiafVtzlE2njDIhEvP9rNJMX7Myk/GSpgfShUn2s8Zw8u4FrYDJHBLJYSQENdfY FmzMID+O2ROx9sDtzuZN9hl6qLwmbibMLby/RnN75W9jAXihPTWptS7Ew2m8MUPm5ez1pPmng7zP SGaMw2QrAwww8F5mHCS54t9sf2U+/l4zzrq5X8Vu8GWR4EUkYOWdQc8ajGYnSjCqan6EtfVOv8nG Rya+7LSfAkzZxh+rdEWtZPbqEp9U8vE5GCFrmMa2O93uoNF5dtF9DQk3/4mubJCc3zMlEFDThp2l QxGKX3uRw6BN14tfFzNPgjvTEMmUCwrPImArg1Kib1mkvXoKbjElypMks9Ms16dwZ+p4+m7HGdkj a/TkEPNZTvKC154xNWg9TUuRPV2xYpxIs8i2sXnXbfSkRmkVCE4ST+ViPiwyb2KPh11rv0iBe/vx V+Iu4SqeydPFajDzpi161gThbPl7kfWxO3Pkuu6TX8MmaFOaoewsMgNi5puaLGzwpq0iwAV3244z 7NnOKWsOuE8ih9+nPyTTTwbWBsov4mnxk2W9ph5nmcoggCHflqAXSJds2oRzAVH0kqBrao3nw/5w 3ugKYGnbwD6iVYQ4IYX5viJvnVzGOADxGEn40YyhgOIrLJKJRyalBkw7loJgfgji3JNijUwRSZnI UeVdtsZ1mOWXCARRXPkWAXPIHwRjOnkztxJspQ3gvlYvYOaBf75/6/QG3791jdnkUWB18p/8+CfH 97De/Oku/qk5i5PFzfKL5dJ/xOnB5dcl3Cfvd9q2ZQ0aPR0La07eFEkWBlh5vIuYoaEplriUtl4W 3Pek2nrSeoZP3bvormk139xNufch/sTvCDrx3GrNCHgs5cekIibjc9Rcd7amf0yiygcG17nBWiQx LLgx49czstFTSM7SHpnCY5Th+xK069Xk71s1X+bSckimzbctmVOgnLYpUR3Xw6Y3yp8xNf5UHWbm 6i535qo5AExdHijh6hJTGaA060QCpJjcK8ARQIdMQJpvtFRWUfqMbe2v6BHGaFo4ze9YTUvz94C7 lD8BJ7gNhuzmm2sc/4UEr8qIDkTYAMftDofD2WmskpRHPb9GkRN6y1iECzAF9Zzd5dh87IB+zCgm 9RHa6rimD9zQBwh3rO+zRwTFfENEUXhKV7CC8BSmdPV91IStCBUk7pT60RSzrOeeUoTDKvcZn3Jo AtxYAvFr7Ple7KFI5Mb6rtMbdtCpzX8DU6ws8VCcZTVZmXbm4DNbr0leuk74t/plWFs83575aW6Q rfbaD2d7F9IdN5AQ0BCp5q2U3a6dMArsrV1JpKAtoFf9/s0yZpxVsZCUEsY5nxdMsUWGODnDxhxu 8A8I/YJxapJlyFMlfBpHUtv8en35Hb2cab5Rp9OZW4MTXUYm0ffhM4h3O9A0OMdtdiBFqo12xAYB PNHWsS4OKrvm2x3dfen7wFu1VwIhNgVXWPeN8QWFAv2s6uaJBPolg8hxBPHEBKEPtQsJHPMJZlem Dc7kCPCiDIoA0wOXEiDBPBPLxQQbiLQrgTc7sy4/no9H4/Fp0MiWE+5kIdHKCVfMoYHTYXi5ucei kaF5MeVwljOJ7kU3GWx4F+s6UZOMmL5lTw9F/q8VEtQX+wPr+7fuyBThFEF5rqMBqZkxU8x1seBe tOHp8AuejIvtpXeS8J9yN5KY32zMm8fmtVfRPIc1HGIb1OxtwrmDZxQYkvWcDHr0pLESLb3WNPuu kzRrO16Qw2nF4L6eed1thV1pH2QmgwnVdHeE/9czRRR6AwsUgMYpJBs5tSAeq1pDf/+FcjhI+2jg dq12t8lprtaCNeExGhsXzpQdMY4OHzIOTBm9Ls5iQPpoCdNtI82V4rBZAy13uRAsIifjgURllYn+ itDywvc+CwhRTBFJaWQ518FsuiCZqvkyyZ3UTCRDxnvIwbhcfEZ+sETCcZ8uWRLbNXB7ng6ROiIg jWCFI7x3nu97glKYUXiN3DQpc4cb/UG4XdqwJW763AFWFjUcdNMPZ3M/sMFwDWuOZUzIJmFTCAXu Ozv6RKvItitsOQxNToWSI7PZNo6dqR0JaOvGTg+582GvyUmjNh43A4IqGDtQf7WGDMmXu/j6Dlp8 fYox8pQMHBCNC4QLIeRewfRe9MGaZpoEMo1umhVKWiJSB0m1a3M2uzSmnyZEWK+jd9iSDbHZN5+7 iQsj5TXZ5Csb4Wxw717Iz1gtatQc2JUqSpyGtpuZjv01geaXTUobZiBJwVpVcskaR52KBXEMr7Xx V7abWtTqLUBXbnKZOo17Wa4jy/SelCt8aRNzRuulKeTxGxLrkJiHJYmr2PNb7+yl6QZdg9Mi4aq+ CO9WpLwCl+HM0xbVytP4qfCkzeQgnjykRA69ZnNbyEwsDZ4GloSoESWbnjkz3O6OhqN5o3fT6Cdv 6ZZ+M5iw9MCQ0gshhS1tU/KQXH1J5bc4TPo1Qq+9EDs59lBuzaPex+ZlTJok9KdZ4D7ix+/jBx// /v8BUEsBAhQAFAACAAgA61sZOapKX/83VAAACkkFABEAAAAAAAAAAAAgAAAAAAAAAHNuYXBzaG90 XzVfMS5odG1sUEsFBgAAAAABAAEAPwAAAGZUAAAAAA== ------=_Part_71095_4359390.1219657365242-- From [email protected] Mon Aug 25 12:39:32 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65338 invoked from network); 25 Aug 2008 12:39:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Aug 2008 12:39:32 -0000 Received: (qmail 42258 invoked by uid 500); 25 Aug 2008 12:39:30 -0000 Delivered-To: [email protected] Received: (qmail 42239 invoked by uid 500); 25 Aug 2008 12:39:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 42228 invoked by uid 99); 25 Aug 2008 12:39:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 05:39:30 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO fg-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 12:38:30 +0000 Received: by fg-out-1718.google.com with SMTP id 16so954969fgg.40 for <[email protected]>; Mon, 25 Aug 2008 05:38:42 -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:reply-to :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=iITuRBKFB4GZPgL0b8RDKoRh0/TMXNHoCLvfz2DqO/8=; b=QxmMvciDC6h2gJGKURGeAY+MbwNSdgmJXos9g9ZgtvmZ0OsICGcc2ES30pOlkMd4Rm UO3sld7k48k50DMzZQBy36yuu3zvfmSVrc2m0x8b93AUynPVNHfIqxtr8wErpM8wIbDK 3e04+YDcad31KAYVi0wTW+C9NNBUmqexExU4E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=dq7s/kG7qu3DS9QFGCw66LPWefDWfPSrTZfK3LLmsW5q9G0IzYvRN9GGXIgFwG4Weg 6Sjv5vmgUYJmsoUqIXDLZHtYstFtW4rAKb/WFugvYDVJuuhfOrXqwbtO2gwrBCxbSjAG 4fMHL48genAEtyxemD6E1pYrEq+5Mx4pnV4Q0= Received: by 161.129.204.104 with SMTP id v10mr3306317fgb.46.1219667922424; Mon, 25 Aug 2008 05:38:42 -0700 (PDT) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTPS id l12sm5384944fgb.6.2161.129.204.104.38.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 25 Aug 2008 05:38:41 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 25 Aug 2008 14:38:40 +0200 From: Emmanuel Lecharny <[email protected]> Reply-To: [email protected] User-Agent: Thunderbird 161.129.204.104 (X11/20080724) MIME-Version: 1.0 To: [email protected] Subject: Re: General architectural overview References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Alexander wrote: > Hi Tuure, Thanks for you reply. Answers inline. > > 2008/8/25 Tuure Laurinolli <[email protected]>: > >> Alexander wrote: >> >> >>> *What are the semantics of the messageReceived method (without >>> filters)? Will you receive one message per TCP package? Will the same >>> ByteBuffer always be reused for the whole message? >>> >> The message handed to messageReceived consists of whatever the network stack >> of your operating system was fit. It has no necessary relation to IP >> packets. There are certainly no guarantees that each IP-packetful of the TCP >> stream will be received as a separate ByteBuffer. >> >> In fact, the operating system is free to give you one byte at a time if it >> wants to. Or give you as much data as fits into your read buffer. Or >> alternate between these modes. A sane operating system would likely give you >> whatever is in its buffers, provided it fits into the buffer you gave the >> syscall. However, the only guarantees you can have of this are >> implementation-specific, and the onyl control you have is the read buffer >> size. >> > > Ok. This makes sense. I just wanted to know if MINA provided anything > above this. Now it is clear that the framework doesn't. > It's really depending on the protocol you are handling : - If you have fixed size PDUs, then you can build a filter which gather all the incoming packets until the PDU is complete. - If your PDU contains a size in the first few bytes (let's say that the 4 first bytes are describing the PDU size), when you have received those 4 first bytes (which may perfectly arrive in 4 packets), you fall back in the same scenario as the first one. - If your protocol does not gives you a size for a PDU, but you have a terminaison token like CR/LF or a keyword, then you have to read the bytes until you get this terminal token. In any case, as you can see, it's impossible for MINA to provide a generic solution to this kind of problem, as it's protocol dependant. However, for commonly used protocols, what would be good is to offer implementations. We discussed a while back about writing something like Ethereal (now WireShark) on top of MINA (a good name could be MINAreal ;) where we implement a lot of common protocol, that could help users to analyse the way MINA can be used to implement a protocol. Hope it helps. > >>> How are the >>> positions you set interpreted, and will they be reset? This has been >>> hinted on this list and in the tutorial for ProtocolDecoder, but more >>> thorough documentation would be handy. >>> >> My impression is that each message (ie. ByteBuffer) delivered to >> IoHandler/IoFilter via messageReceived is independent - whatever the >> handler/filter does with them is its business. I.e. MINA shouldn't touch a >> buffer it has given you a reference to. >> > > Sounds good. > > >>> Basically I'm worried about not getting the header in one buffer >>> (HTTP header), so it would be fragmented between two ByteBuffers. Is >>> this possible? Is there a size limit or so? What if you get a huge >>> header? >>> >> Certainly it can be fragmented and delivered over multiple ByteBuffers. >> > > Ok, so this means that I need to use some type of local buffering > until the header is present, which I could use > CumulativeProtocolDecoder for, right? I need this right on the lowest > level, to figure out if there is a CRLFCRLF present in the stream > or not, before I can start decoding. I also wondered if > DemuxingProtocolDecoder does this type of buffering, since it seems to > wait until it can find a decoder. But I'm not sure if it selects a > decoder per-session or per-package (message), and if there is any > buffering involved. > > >>> *How are you supposed to handle mixed high/low level protocols? For >>> instance, if you write a HTTP proxy based on header contents, you need >>> to parse the header into an object at first (maybe using >>> MessageDecoder)? When the subsequent packages arrive, you will want to >>> stream them directly. >>> >> I'm not sure what you mean by high/low level protocols here. To me it seems >> that you only mentioned HTTP. What is the higher/lower level here? >> > > Well, since I'm writing a proxy, there is the "byte stream" level, and > then there is a "http header" interpreted level. Basically, what I > want to do is to buffer the stream until I hit CRLFCRLF, then decode > the header, read the header properties and then proxy if certain > headers are set. If so, I would put a flag in the session, and the > next time my protocol decoder gets a message, it can see that the > header interpreter put a flag in the session to stream the rest of the > contents. For all subsequent packages, they should simply be written > to the proxy connection (as set up by the header interpreter). Is that > the recommended way of achieving "dynamic proxying"? > > Regards, > > Alexander > > -- -- cordialement, regards, Emmanuel Lécharny www.iktek.com directory.apache.org From [email protected] Mon Aug 25 13:59:28 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 596 invoked from network); 25 Aug 2008 13:59:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Aug 2008 13:59:28 -0000 Received: (qmail 52126 invoked by uid 500); 25 Aug 2008 13:59:26 -0000 Delivered-To: [email protected] Received: (qmail 52104 invoked by uid 500); 25 Aug 2008 13:59:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 52093 invoked by uid 99); 25 Aug 2008 13:59:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 06:59:26 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO d108.webcreators.nl) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 13:58:28 +0000 Received: from [161.129.204.104] (helo=161.129.204.104) by d108.webcreators.nl with esmtpa (Exim 4.67) (envelope-from <[email protected]>) id 1KXcat-0000Ay-Ug for [email protected]; Mon, 25 Aug 2008 15:58:55 +0200 Received: from phpmailer ([161.129.204.104]) by 161.129.204.104 with HTTP (UebiMiau); Mon, 25 Aug 2008 15:58:55 +0200 Date: Mon, 25 Aug 2008 15:58:55 +0200 To: [email protected] From: Geert Schuring <[email protected]> Reply-to: Geert Schuring <[email protected]> Subject: Error in MINA 2 IoFilter documentation Message-ID: <[email protected]> X-Priority: 3 X-Mailer: UebiMiau [PHPMailer version 1.70] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="iso-8859-1" X-Virus-Checked: Checked by ClamAV on apache.org Hello, I'd like to point out that there's an error in the IoFilter documentation on the website. It shows the following code: public void filterWrite(NextFilter nextFilter, IoSession session, WriteRequest request) { nextFilter.filterWrite( session, new WriteRequest( ((String) request.getMessage()).toCharArray(), request.getFuture(), request.getDestination())); } However, WriteRequest is an Interface in Mina 2.0.0 and can therefor not be instantiated. Who can i address this kind of comment to? Greets, Geert Schuring. The Netherlands. ________________________________________________ Message sent using UebiMiau 2.7.10 From [email protected] Mon Aug 25 14:08:01 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4133 invoked from network); 25 Aug 2008 14:08:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Aug 2008 14:08:01 -0000 Received: (qmail 60187 invoked by uid 500); 25 Aug 2008 14:07:59 -0000 Delivered-To: [email protected] Received: (qmail 60172 invoked by uid 500); 25 Aug 2008 14:07:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 60161 invoked by uid 99); 25 Aug 2008 14:07:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 07:07:59 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO flsc030.serveursdns.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 14:07:01 +0000 Received: from pcjvermillard (191.55.101-84.rev.gaoland.net [161.129.204.104]) by smtp-01.serveursdns.net (Postfix) with ESMTP id 41B1B6E58F1 for <[email protected]>; Mon, 25 Aug 2008 16:06:57 +0200 (CEST) Date: Mon, 25 Aug 2008 16:06:59 +0200 From: Julien Vermillard <[email protected]> To: [email protected] Subject: Re: Error in MINA 2 IoFilter documentation Message-ID: <20080825160659.70cd8031@pcjvermillard> In-Reply-To: <[email protected]> References: <[email protected]> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/+iDueKU_I30NxBi73LIW/JG"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Virus-Checked: Checked by ClamAV on apache.org --Sig_/+iDueKU_I30NxBi73LIW/JG Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, I think you are talking about the IoFilter tutorial ? You are supposed to create a class implementing IoFilter or extending IoFilterAdapter. Yes this tutorial is badly introduced, patches are welcome :) You can send patch/bug reports for doc issues at http://issues.apache.org/jira/browse/DIRMINA HTH Julien On Mon, 25 Aug 2008 15:58:55 +0200 Geert Schuring <[email protected]> wrote: > Hello, >=20 > I'd like to point out that there's an error in the IoFilter > documentation on the website. It shows the following code: >=20 > public void filterWrite(NextFilter nextFilter, IoSession session, > WriteRequest request) { > nextFilter.filterWrite( > session, new WriteRequest( > ((String) request.getMessage()).toCharArray(), > request.getFuture(), request.getDestination())); > } >=20 > However, WriteRequest is an Interface in Mina 2.0.0 and can therefor > not be instantiated. >=20 > Who can i address this kind of comment to? >=20 > Greets, > Geert Schuring. > The Netherlands. >=20 > ________________________________________________ > Message sent using UebiMiau 2.7.10 >=20 >=20 --Sig_/+iDueKU_I30NxBi73LIW/JG Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIsryDHMBmbW1IlcURAsQHAJ9Ol98aznsahxwRZCqZZS67SttCugCfQbvP /F+igZ/0DWBA2+VrRTJ7bt8= =hghK -----END PGP SIGNATURE----- --Sig_/+iDueKU_I30NxBi73LIW/JG-- From [email protected] Mon Aug 25 14:20:02 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8539 invoked from network); 25 Aug 2008 14:20:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Aug 2008 14:20:02 -0000 Received: (qmail 85073 invoked by uid 500); 25 Aug 2008 14:20:00 -0000 Delivered-To: [email protected] Received: (qmail 84894 invoked by uid 500); 25 Aug 2008 14:20:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84848 invoked by uid 99); 25 Aug 2008 14:20:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 07:20:00 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO d108.webcreators.nl) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 14:19:02 +0000 Received: from [161.129.204.104] (helo=161.129.204.104) by d108.webcreators.nl with esmtpa (Exim 4.67) (envelope-from <[email protected]>) id 1KXcu6-0000it-3y for [email protected]; Mon, 25 Aug 2008 16:18:46 +0200 Received: from phpmailer ([161.129.204.104]) by 161.129.204.104 with HTTP (UebiMiau); Mon, 25 Aug 2008 16:18:46 +0200 Date: Mon, 25 Aug 2008 16:18:46 +0200 To: [email protected] From: Geert Schuring <[email protected]> Reply-to: Geert Schuring <[email protected]> Subject: Re: Error in MINA 2 IoFilter documentation Message-ID: <[email protected]> X-Priority: 3 X-Mailer: UebiMiau [PHPMailer version 1.70] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="iso-8859-1" X-Virus-Checked: Checked by ClamAV on apache.org Julien, Thanks for your quick reply. However, i think you're confusing my email with someone else's. My comment was the following: > &gt; I'd like to point out that there's an error in the IoFilter > &gt; documentation on the website. It shows the following code: > &gt;=20 > &gt; public void filterWrite(NextFilter nextFilter, IoSession session, > &gt; WriteRequest request) { > &gt; nextFilter.filterWrite( > &gt; session, new WriteRequest( > &gt; ((String) request.getMessage()).toCharArray(), > &gt; request.getFuture(), request.getDestination())); > &gt; } > &gt;=20 > &gt; However, WriteRequest is an Interface in Mina 2.0.0 and can therefor > &gt; not be instantiated. I'm writing a blog post about using the Mina2 IoFilter right now. I'll let the list know when its done, so you can refer to it from the MINA site as 3rd party documentation. Greets, Geert. --------- Original Message -------- From: [email protected] To: [email protected] <[email protected]> Subject: Re: Error in MINA 2 IoFilter documentation Date: 25/08/08 17:08 > Hi, > > I think you are talking about the IoFilter tutorial ? > You are supposed to create a class implementing IoFilter or extending > IoFilterAdapter. > > Yes this tutorial is badly introduced, patches are welcome :) > You can send patch/bug reports for doc issues at > http://issues.apache.org/jira/browse/DIRMINA > > HTH > Julien > > On Mon, 25 Aug 2008 15:58:55 +0200 > Geert Schuring &lt;[email protected]&gt; wrote: > > &gt; Hello, > &gt;=20 > &gt; I'd like to point out that there's an error in the IoFilter > &gt; documentation on the website. It shows the following code: > &gt;=20 > &gt; public void filterWrite(NextFilter nextFilter, IoSession session, > &gt; WriteRequest request) { > &gt; nextFilter.filterWrite( > &gt; session, new WriteRequest( > &gt; ((String) request.getMessage()).toCharArray(), > &gt; request.getFuture(), request.getDestination())); > &gt; } > &gt;=20 > &gt; However, WriteRequest is an Interface in Mina 2.0.0 and can therefor > &gt; not be instantiated. > &gt;=20 > &gt; Who can i address this kind of comment to? > &gt;=20 > &gt; Greets, > &gt; Geert Schuring. > &gt; The Netherlands. > &gt;=20 > &gt; ________________________________________________ > &gt; Message sent using UebiMiau 2.7.10 > &gt;=20 > &gt;=20 > > > --Sig_/+iDueKU_I30NxBi73LIW/JG > Content-Type: application/pgp-signature; name=signature.asc > Content-Disposition: attachment; filename=signature.asc > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > > iD8DBQFIsryDHMBmbW1IlcURAsQHAJ9Ol98aznsahxwRZCqZZS67SttCugCfQbvP > /F+igZ/0DWB ________________________________________________ Message sent using UebiMiau 2.7.10 From [email protected] Mon Aug 25 14:24:27 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11934 invoked from network); 25 Aug 2008 14:24:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Aug 2008 14:24:27 -0000 Received: (qmail 97817 invoked by uid 500); 25 Aug 2008 14:24:25 -0000 Delivered-To: [email protected] Received: (qmail 97800 invoked by uid 500); 25 Aug 2008 14:24:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 97789 invoked by uid 99); 25 Aug 2008 14:24:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 07:24:25 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO flsc030.serveursdns.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 14:23:27 +0000 Received: from pcjvermillard (191.55.101-84.rev.gaoland.net [161.129.204.104]) by smtp-01.serveursdns.net (Postfix) with ESMTP id 5B77A6E4275 for <[email protected]>; Mon, 25 Aug 2008 16:23:55 +0200 (CEST) Date: Mon, 25 Aug 2008 16:23:57 +0200 From: Julien Vermillard <[email protected]> To: [email protected] Subject: Re: Error in MINA 2 IoFilter documentation Message-ID: <20080825162357.637f2e73@pcjvermillard> In-Reply-To: <[email protected]> References: <[email protected]> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/+IoJ8Wf9tCtD+MxQNznCO6L"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Virus-Checked: Checked by ClamAV on apache.org --Sig_/+IoJ8Wf9tCtD+MxQNznCO6L Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Woops, sorry I have read "IoFilter" in place of "WriteRequest" ;) On Mon, 25 Aug 2008 16:18:46 +0200 Geert Schuring <[email protected]> wrote: > Julien, >=20 > Thanks for your quick reply. However, i think you're confusing my > email with someone else's. My comment was the following: >=20 > > &gt; I'd like to point out that there's an error in the IoFilter > > &gt; documentation on the website. It shows the following code: > > &gt;=3D20 > > &gt; public void filterWrite(NextFilter nextFilter, IoSession > > session, &gt; WriteRequest request) { > > &gt; nextFilter.filterWrite( > > &gt; session, new WriteRequest( > > &gt; ((String) > > request.getMessage()).toCharArray(), &gt; request.getFuture(), > > request.getDestination())); &gt; } > > &gt;=3D20 > > &gt; However, WriteRequest is an Interface in Mina 2.0.0 and can > > therefor &gt; not be instantiated. >=20 > I'm writing a blog post about using the Mina2 IoFilter right now. > I'll let the list know when its done, so you can refer to it from the > MINA site as 3rd party documentation. >=20 > Greets, > Geert. >=20 > --------- Original Message -------- > From: [email protected] > To: [email protected] <[email protected]> > Subject: Re: Error in MINA 2 IoFilter documentation > Date: 25/08/08 17:08 >=20 > > Hi, > >=20 > > I think you are talking about the IoFilter tutorial ? > > You are supposed to create a class implementing IoFilter or > > extending IoFilterAdapter. > >=20 > > Yes this tutorial is badly introduced, patches are welcome :) > > You can send patch/bug reports for doc issues at > > http://issues.apache.org/jira/browse/DIRMINA > >=20 > > HTH > > Julien > >=20 > > On Mon, 25 Aug 2008 15:58:55 +0200 > > Geert Schuring &lt;[email protected]&gt; wrote: > >=20 > > &gt; Hello, > > &gt;=3D20 > > &gt; I'd like to point out that there's an error in the IoFilter > > &gt; documentation on the website. It shows the following code: > > &gt;=3D20 > > &gt; public void filterWrite(NextFilter nextFilter, IoSession > > session, &gt; WriteRequest request) { > > &gt; nextFilter.filterWrite( > > &gt; session, new WriteRequest( > > &gt; ((String) > > request.getMessage()).toCharArray(), &gt; request.getFuture(), > > request.getDestination())); &gt; } > > &gt;=3D20 > > &gt; However, WriteRequest is an Interface in Mina 2.0.0 and can > > therefor &gt; not be instantiated. > > &gt;=3D20 > > &gt; Who can i address this kind of comment to? > > &gt;=3D20 > > &gt; Greets, > > &gt; Geert Schuring. > > &gt; The Netherlands. > > &gt;=3D20 > > &gt; ________________________________________________ > > &gt; Message sent using UebiMiau 2.7.10 > > &gt;=3D20 > > &gt;=3D20 > >=20 > >=20 > > --Sig_/+iDueKU_I30NxBi73LIW/JG > > Content-Type: application/pgp-signature; name=3Dsignature.asc > > Content-Disposition: attachment; filename=3Dsignature.asc > >=20 > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.6 (GNU/Linux) > >=20 > > iD8DBQFIsryDHMBmbW1IlcURAsQHAJ9Ol98aznsahxwRZCqZZS67SttCugCfQbvP > > /F+igZ/0DWB >=20 > ________________________________________________ > Message sent using UebiMiau 2.7.10 >=20 >=20 --Sig_/+IoJ8Wf9tCtD+MxQNznCO6L Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIssB9HMBmbW1IlcURAs1nAKCDFRqOrlDfB+6aKpZ4JPFwFUgoogCghCJn N9USVda3uiEfdb0/EdJ7HOE= =Rv1v -----END PGP SIGNATURE----- --Sig_/+IoJ8Wf9tCtD+MxQNznCO6L-- From [email protected] Mon Aug 25 14:31:55 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16520 invoked from network); 25 Aug 2008 14:31:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Aug 2008 14:31:55 -0000 Received: (qmail 16672 invoked by uid 500); 25 Aug 2008 14:31:53 -0000 Delivered-To: [email protected] Received: (qmail 16658 invoked by uid 500); 25 Aug 2008 14:31:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 16647 invoked by uid 99); 25 Aug 2008 14:31:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 07:31:53 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO flsc030.serveursdns.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 14:30:55 +0000 Received: from pcjvermillard (191.55.101-84.rev.gaoland.net [161.129.204.104]) by smtp-01.serveursdns.net (Postfix) with ESMTP id EEDE96E58E4 for <[email protected]>; Mon, 25 Aug 2008 16:31:20 +0200 (CEST) Date: Mon, 25 Aug 2008 16:31:22 +0200 From: Julien Vermillard <[email protected]> To: [email protected] Subject: Re: Error in MINA 2 IoFilter documentation Message-ID: <20080825163122.07acb64b@pcjvermillard> In-Reply-To: <[email protected]> References: <[email protected]> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/PBa7niarGhRLBDwsMN4RDDA"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Virus-Checked: Checked by ClamAV on apache.org --Sig_/PBa7niarGhRLBDwsMN4RDDA Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Thanks for the report, it's fixed now. it's will be visible on main web site as soon asf mirrors of mirros update ;) Julien On Mon, 25 Aug 2008 15:58:55 +0200 Geert Schuring <[email protected]> wrote: > Hello, >=20 > I'd like to point out that there's an error in the IoFilter > documentation on the website. It shows the following code: >=20 > public void filterWrite(NextFilter nextFilter, IoSession session, > WriteRequest request) { > nextFilter.filterWrite( > session, new WriteRequest( > ((String) request.getMessage()).toCharArray(), > request.getFuture(), request.getDestination())); > } >=20 > However, WriteRequest is an Interface in Mina 2.0.0 and can therefor > not be instantiated. >=20 > Who can i address this kind of comment to? >=20 > Greets, > Geert Schuring. > The Netherlands. >=20 > ________________________________________________ > Message sent using UebiMiau 2.7.10 >=20 >=20 --Sig_/PBa7niarGhRLBDwsMN4RDDA Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIssI6HMBmbW1IlcURAtgcAJ4+57fEUgf+Ia9/jSzC0bsh1ylRzgCfeP3m DCaIk5oBCc7igx2qPqxFiBE= =Fmf3 -----END PGP SIGNATURE----- --Sig_/PBa7niarGhRLBDwsMN4RDDA-- From [email protected] Mon Aug 25 14:48:55 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25494 invoked from network); 25 Aug 2008 14:48:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Aug 2008 14:48:55 -0000 Received: (qmail 46211 invoked by uid 500); 25 Aug 2008 14:48:49 -0000 Delivered-To: [email protected] Received: (qmail 46195 invoked by uid 500); 25 Aug 2008 14:48:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 46180 invoked by uid 99); 25 Aug 2008 14:48:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 07:48:49 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nf-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 14:47:52 +0000 Received: by nf-out-0910.google.com with SMTP id g16so746821nfd.2 for <[email protected]>; Mon, 25 Aug 2008 07:47:42 -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:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=f8PmggLnA9oVr0wGOzgA5mHEdMIsKyFkujIwL2MdQxw=; b=M/Yuo42eCuKMhSXE3/HMsIflmpZYtcoj9T9ND+ehcN4XBjLQjGMP7WAdVz//Li8X5O BDbmT7lZt+g9Jdi3nLeA4CB5geXk5Xz5HV3sHGFPUpc0EIEnQW3Bns55YRUH5gI4xbwC bgTVb3D3xochGChO8r1CJv1uSom2Xco9/wnsQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=jJCwagUTJQvHPm3yKaeuN5YrRvHEuBujI6ECl5kDJNaJOiHpn350nS3kvXOE1y9QR4 dlMtYXV2IHpdgjmtbEG5Qgov8bQKGyvmoaX99I3szmQdWGgEwPKiSAYdCr0Tks7P0zot wj25CeQmd/+ZPOnOUu4ppld1QUklbmIwDxBCQ= Received: by 161.129.204.104 with SMTP id n8mr6731038ebb.121.1219675181618; Mon, 25 Aug 2008 07:39:41 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 25 Aug 2008 07:39:41 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 25 Aug 2008 16:39:41 +0200 From: Alexander <[email protected]> To: [email protected], [email protected] Subject: Re: General architectural overview In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi Emmanuel, > > It's really depending on the protocol you are handling : > - If you have fixed size PDUs, then you can build a filter which gather all > the incoming packets until the PDU is complete. > - If your PDU contains a size in the first few bytes (let's say that the 4 > first bytes are describing the PDU size), when you have received those 4 > first bytes (which may perfectly arrive in 4 packets), you fall back in the > same scenario as the first one. > - If your protocol does not gives you a size for a PDU, but you have a > terminaison token like CR/LF or a keyword, then you have to read the bytes > until you get this terminal token. > > In any case, as you can see, it's impossible for MINA to provide a generic > solution to this kind of problem, as it's protocol dependant. However, for > commonly used protocols, what would be good is to offer implementations. > > We discussed a while back about writing something like Ethereal (now > WireShark) on top of MINA (a good name could be MINAreal ;) where we > implement a lot of common protocol, that could help users to analyse the way > MINA can be used to implement a protocol. > > Hope it helps. It helps, it is a bit confusing to come into MINA when there's both chained-based filters and inheritance-based decoders, which seem very similar yet different :). Regarding WireShark, that is one idea, but IMHO it would be better to have some sort of traffic injection robustness tests. You would specify your data to send, and it got injected into MINA in various ways, varying package sizes, offsets, simulating resends etc. This way you could test that your handler can cope with the corner cases. Of course not everything can be tested, but if you design the robustness tests to be evil it should be enough :) From [email protected] Mon Aug 25 15:19:38 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51234 invoked from network); 25 Aug 2008 15:19:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Aug 2008 15:19:38 -0000 Received: (qmail 96789 invoked by uid 500); 25 Aug 2008 15:19:36 -0000 Delivered-To: [email protected] Received: (qmail 96769 invoked by uid 500); 25 Aug 2008 15:19:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 96758 invoked by uid 99); 25 Aug 2008 15:19:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 08:19:36 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO d108.webcreators.nl) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 15:18:37 +0000 Received: from [161.129.204.104] (helo=161.129.204.104) by d108.webcreators.nl with esmtpa (Exim 4.67) (envelope-from <[email protected]>) id 1KXdqU-00023U-MD for [email protected]; Mon, 25 Aug 2008 17:19:06 +0200 Received: from phpmailer ([161.129.204.104]) by 161.129.204.104 with HTTP (UebiMiau); Mon, 25 Aug 2008 17:19:06 +0200 Date: Mon, 25 Aug 2008 17:19:06 +0200 To: [email protected] From: Geert Schuring <[email protected]> Reply-to: Geert Schuring <[email protected]> Subject: Re: Error in MINA 2 IoFilter documentation Message-ID: <[email protected]> X-Priority: 3 X-Mailer: UebiMiau [PHPMailer version 1.70] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="iso-8859-1" X-Virus-Checked: Checked by ClamAV on apache.org I've written a small how to on IoFilters: http://geertschuring.wordpress.com/2008/08/18/how-to-use-the-mina-iofilter/ I'll update/extend it based on reader comments. Greets, Geert Schuring. --------- Original Message -------- From: [email protected] To: [email protected] <[email protected]> Subject: Re: Error in MINA 2 IoFilter documentation Date: 25/08/08 17:32 > Thanks for the report, it's fixed now. > > it's will be visible on main web site as soon asf mirrors of mirros > update ;) > > Julien > > > On Mon, 25 Aug 2008 15:58:55 +0200 > Geert Schuring &lt;[email protected]&gt; wrote: > > &gt; Hello, > &gt;=20 > &gt; I'd like to point out that there's an error in the IoFilter > &gt; documentation on the website. It shows the following code: > &gt;=20 > &gt; public void filterWrite(NextFilter nextFilter, IoSession session, > &gt; WriteRequest request) { > &gt; nextFilter.filterWrite( > &gt; session, new WriteRequest( > &gt; ((String) request.getMessage()).toCharArray(), > &gt; request.getFuture(), request.getDestination())); > &gt; } > &gt;=20 > &gt; However, WriteRequest is an Interface in Mina 2.0.0 and can therefor > &gt; not be instantiated. > &gt;=20 > &gt; Who can i address this kind of comment to? > &gt;=20 > &gt; Greets, > &gt; Geert Schuring. > &gt; The Netherlands. > &gt;=20 > &gt; ________________________________________________ > &gt; Message sent using UebiMiau 2.7.10 > &gt;=20 > &gt;=20 > > --Sig_/PBa7niarGhRLBDwsMN4RDDA > Content-Type: application/pgp-signature; name=signature.asc > Content-Disposition: attachment; filename=signature.asc > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > > iD8DBQFIssI6HMBmbW1IlcURAtgcAJ4+57fEUgf+Ia9/jSzC0bsh1ylRzgCfeP3m > DCaIk5oBCc7 ________________________________________________ Message sent using UebiMiau 2.7.10 From [email protected] Mon Aug 25 21:54:07 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8395 invoked from network); 25 Aug 2008 21:54:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Aug 2008 21:54:07 -0000 Received: (qmail 80873 invoked by uid 500); 25 Aug 2008 21:54:05 -0000 Delivered-To: [email protected] Received: (qmail 80853 invoked by uid 500); 25 Aug 2008 21:54:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 80842 invoked by uid 99); 25 Aug 2008 21:54:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 14:54:04 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-gx0-f17.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 21:53:08 +0000 Received: by gxk10 with SMTP id 10so2721649gxk.8 for <[email protected]>; Mon, 25 Aug 2008 14:53:38 -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:to :subject:mime-version:content-type; bh=kYVPaUa254cUCxWb8pu6dV996Cl9CC9wNS5sU17Nh+I=; b=mRQJ3ULmXdAVhOkJ9sqBZJVOD59KRCW+xOv3ez0k5yQFrneSzxyQNewrBgYuz9PGrl 4OSEFpD+YvBEiyyWM/EalJ5/QrnETIr3ULW+74ZvCaeyMCGtN0GSSrm077VX4E8drj+s 7Rk6ZZ0VxfC/vJKhrEtqlrDv44k2IQIunUYq0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=BIdYR1JoB/HJ/UseCMrKE67Cdq1MVXzHE3AbdjJppVtbD194KbZNGy+WM/NLPXLFro Chmsnprs3d2Hp3zpMjqCua944JkijKZW5p5+Wlc6Tj6G8fw66Ot1pGhRjATP3LVqD3aY UJWutYe4FDzXt2gXmsa9KveAcq2rx04YTy1JQ= Received: by 161.129.204.104 with SMTP id s15mr7895331ybb.112.1219701218191; Mon, 25 Aug 2008 14:53:38 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 25 Aug 2008 14:53:33 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 25 Aug 2008 16:53:33 -0500 From: "Tasneem Yusuf" <[email protected]> To: [email protected] Subject: hep required for server using MINA MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_96992_1575219.1219701213054" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_96992_1575219.1219701213054 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi , I have a server on top of the Mina framework . That server is actually listening to connections from a physical device (a type of clock.) . I have a handler defined that gets called on every message that is received. I have a couple of questions in this regard : 1. in the messageReceived() api of my handler when I proint the value of the session's isConnected() flag , it says false. Could anyone explain why ? 2. After doing some data processing when I write a ByteBuffer type of object to the session and print the getWrittenBytes() or getScheduledWriteBytes() values of the session they return 0. Why is data not getting written to the session. Or am I missing something. Help appreciated, Thanks -- Tasneem Yusuf Face the sun and the shadow will fall behind u. ------=_Part_96992_1575219.1219701213054-- From [email protected] Tue Aug 26 11:19:04 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91418 invoked from network); 26 Aug 2008 11:19:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Aug 2008 11:19:03 -0000 Received: (qmail 93877 invoked by uid 500); 26 Aug 2008 11:19:02 -0000 Delivered-To: [email protected] Received: (qmail 93701 invoked by uid 500); 26 Aug 2008 11:19:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 93690 invoked by uid 99); 26 Aug 2008 11:19:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Aug 2008 04:19:01 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO emh03.mail.saunalahti.fi) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Aug 2008 11:18:02 +0000 Received: from saunalahti-vams (vs3-10.mail.saunalahti.fi [161.129.204.104]) by emh03-2.mail.saunalahti.fi (Postfix) with SMTP id 81DECEC831 for <[email protected]>; Tue, 26 Aug 2008 14:18:26 +0300 (EEST) Received: from emh04.mail.saunalahti.fi ([161.129.204.104]) by vs3-10.mail.saunalahti.fi ([161.129.204.104]) with SMTP (gateway) id A0641B7E749; Tue, 26 Aug 2008 14:18:26 +0300 Received: from anubis.fi.indagon.com (gw.indagon.com [161.129.204.104]) by emh04.mail.saunalahti.fi (Postfix) with ESMTP id 6CE8641BEB for <[email protected]>; Tue, 26 Aug 2008 14:18:25 +0300 (EEST) Received: from [161.129.204.104] ([email protected] [161.129.204.104]) by anubis.fi.indagon.com (8.13.8/8.13.8) with ESMTP id m7QBIOoF025656 for <[email protected]>; Tue, 26 Aug 2008 14:18:25 +0300 Message-ID: <[email protected]> Date: Tue, 26 Aug 2008 14:18:24 +0300 From: Tuure Laurinolli <[email protected]> User-Agent: Icedove 161.129.204.104 (X11/20070730) MIME-Version: 1.0 To: [email protected] Subject: Re: Help with performance issues References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: VAMS X-Virus-Checked: Checked by ClamAV on apache.org Johan Haleby wrote: > The heap size doesn't increase until the data-producing device is shutdown, > it fluctuates like it should do (after tweaking the GC). > The CPU usage goes > up dangerously close to 100% pretty fast though. This would seem to indicate that the amount of data buffered does not increase with time, ie. you can handle all the traffic produced by the device. What happens if do whatever transformations you do to the data, and then simply discard it instead of writing it to the recipient sessions? Can you try replacing reading from the device with some dummy data source with the goal of not using as much resources as actual reading, and thus potentially being able to find the bottleneck? From [email protected] Wed Aug 27 07:56:27 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37814 invoked from network); 27 Aug 2008 07:56:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Aug 2008 07:56:27 -0000 Received: (qmail 10627 invoked by uid 500); 27 Aug 2008 07:56:25 -0000 Delivered-To: [email protected] Received: (qmail 10607 invoked by uid 500); 27 Aug 2008 07:56:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 10596 invoked by uid 99); 27 Aug 2008 07:56:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Aug 2008 00:56:25 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ey-out-1920.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Aug 2008 07:55:27 +0000 Received: by ey-out-1920.google.com with SMTP id 21so402732eyc.38 for <[email protected]>; Wed, 27 Aug 2008 00:55:39 -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:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=JcdcB7tcFGjY8itoGrAGXH9dZt/AGxvFUwotWWc/65k=; b=DobjOUlSgdTEVYkMlP9NLnl2mcw0PrMxG/S0c4RUoUK3J4jePrDxWiqwqvIgtC8hlK jREqRPAybH4rLUsCw2tz7lnlVUrOjkYPgqdY2+Hn9fpSReJTgdRyOY6BmvKIqGauM+VO kGYiD2KCf6HK2/GRBDufMq/A5HECTT92kTDB0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=j+J8qfpW60AQy5PVlLUwpcxB14FGDnx/PYeQk7tuQSDVevJTZaS6Y13KRwG9s/sD0I xXGrLBG2EC6UfrtOTGqoyES6RZepl8IV6UxAaHcUu8MUFXXD+7s+SW+KmdpxkmE3yTpt Rt3DofZr0LL4A9Ve4u6AwGRtMCBYPFPLCi8pE= Received: by 161.129.204.104 with SMTP id g2mr1661807ebd.163.1219823739317; Wed, 27 Aug 2008 00:55:39 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 27 Aug 2008 00:55:39 -0700 (PDT) Message-ID: <[email protected]> Date: Wed, 27 Aug 2008 09:55:39 +0200 From: Alexander <[email protected]> To: [email protected] Subject: CumulativeProtocolDecoder cache problem MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm implementing a HTTP proxy. In my first layer I have a DemuxingProtocolCodedFactory, buffering data to my HeaderDecoder, which awaits the header separator. When this marker is encountered, HeaderDecoder reads the HTTP header, and writes it to the ProtocolDecoderOutput. I have a higher level IoHandler, which interprets the header and depending on the contents of the header decides to proxy the rest of the request or not. My problem is that if the decision is to proxy the rest of the request, the remaining data held in the CumulativeDecoder is supposed to be streamed, not decoded. Therefore I need the rest of the data to go back to the lower layers somehow. The cleanest would be if CumulativeDecoder could just flush the remains of its cache back into the start of the chain again. If this is not possible to configure, I thought that I could implement a "FlushRestOfCacheDecoder", which does the same thing; awaits a call to encodable, checks if the rest of the request should be proxied or not and, if that is the case, proxies the data. This solution would be on the wrong level, but at least solve my problem. What stops me from doing this is that the higher level IoHandler is not invoked directly when the header is written to the ProtocolDecoderOutput. This is instead delayed until CumulativeDecoder has used all its data. Since my "FlushRestOfCacheDecoder" gets called before the header has been interpreted, and my logic requires that the header will be interpreted before further actions can be taken, it cannot make the decision to flush, and the demuxing codec factory finds no approporiate handler. How can I accomplish what I want to do (proxy rest of data after header) without going through all these hoops? I must be missing something. All I can think of now is to perform a direct call from HeaderDecoder to the higher level IoHandler, ignoring the ProtocolDecoderOutput. Thanks Alexander From [email protected] Wed Aug 27 09:44:27 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93655 invoked from network); 27 Aug 2008 09:44:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Aug 2008 09:44:27 -0000 Received: (qmail 59906 invoked by uid 500); 27 Aug 2008 09:44:25 -0000 Delivered-To: [email protected] Received: (qmail 59882 invoked by uid 500); 27 Aug 2008 09:44:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 59871 invoked by uid 99); 27 Aug 2008 09:44:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Aug 2008 02:44:24 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ey-out-1920.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Aug 2008 09:43:27 +0000 Received: by ey-out-1920.google.com with SMTP id 21so415549eyc.38 for <[email protected]>; Wed, 27 Aug 2008 02:43:56 -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:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=Q1MyMf2PAMrhYmt8Ura7Fh/g1gClXV3QsAzSdcxbIt0=; b=sOQILnJPjtGZ02XEMN76YkWh6K8KYXv2WNr8BnWes9rehnK1su9QvJLsTxYjYLrKuO PyDEG6BCRh0RgLoEku8ON4LzuSob+thnUVJKLS5XgLfg+vulAlk9ujw+xJl0OlaeALEy deDtspZYe2yvTUcMACodrBmAG0igelDoiLb8E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=vScGxJPHbDc64cTgIbWmzDQzyYDVAuyJJmMrerWoY5aC5PC6cuAyZmmFL9AYTOb3PF 5owe4onNn9/uoPJccCXi2vnUK1wErfb3hmFpyZFHJDFygyN4jonJKbcsXiFAxl6MTmbt VXkr8JjQeoiVQaM5xSSLOrs6m90HnAooiF0Pg= Received: by 161.129.204.104 with SMTP id m15mr1118055ebc.45.1219830236456; Wed, 27 Aug 2008 02:43:56 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 27 Aug 2008 02:43:56 -0700 (PDT) Message-ID: <[email protected]> Date: Wed, 27 Aug 2008 11:43:56 +0200 From: Alexander <[email protected]> To: [email protected] Subject: Techniques for awaiting async processes to finish MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi again, I'm not sure why the mailing list removes all politeness from my mails, I try to write a nice greeting in all of them. Perhaps you prefer people getting straight to the point? Anyways, this mail is somewhat related to my previous one, but much more simple and describes something I think is essential to my the understanding of MINA: strategies for posponing further processing while awaiting async processes to finish. In the proxy example, traffic is switched off using IoSession.setTrafficMask, while awaiting proxyToServer connection to complete. This is fairly straightforward. But If I have already received a message (like in my previous mail), I must basically join on the connection to be set up, effective locking the current thread. I want to be able to use a strategy that allows me to hand over control to MINA until I'm ready to process the rest of the already received message. Is this possible? From [email protected] Wed Aug 27 14:11:05 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64590 invoked from network); 27 Aug 2008 14:11:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Aug 2008 14:11:05 -0000 Received: (qmail 57227 invoked by uid 500); 27 Aug 2008 14:11:03 -0000 Delivered-To: [email protected] Received: (qmail 57123 invoked by uid 500); 27 Aug 2008 14:11:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 57112 invoked by uid 99); 27 Aug 2008 14:11:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Aug 2008 07:11:02 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO BTEXC01.bluetreewireless.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Aug 2008 14:10:05 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: MessageDecoder, IoBuffer resizing Date: Wed, 27 Aug 2008 10:10:33 -0400 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: MessageDecoder, IoBuffer resizing Thread-Index: AckITqvLJAQ1XnKQSry2tDuj1K1JLQ== From: "Simon Trudeau" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org After running my wonderful mina application for 11 hours, I ran into the following problem ------------------ Caused by: org.apache.mina.core.buffer.BufferDataException: dataLength: 1396329569 at com.bluetreewireless.app.server.services.modem.nio.codec.decoder.ATCmdMs gDecoder.decodable(ATCmdMsgDecoder.java:38) at com.bluetreewireless.app.server.services.modem.nio.codec.decoder.Timeout MsgDecoder.decodable(TimeoutMsgDecoder.java:20) at org.apache.mina.filter.codec.demux.DemuxingProtocolDecoder.doDecode(Demu xingProtocolDecoder.java:138) at org.apache.mina.filter.codec.CumulativeProtocolDecoder.decode(Cumulative ProtocolDecoder.java:173) at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(Protoco lCodecFilter.java:170) ... 15 more 2008-08-27@03:54:03 ERROR [NioProcessor-2] (ModemIoHandler.java:170) NIO stack exception java.lang.OutOfMemoryError: Java heap space ------------------=20 My MessageDecoder decodable() method looks like the following: ------------------=20 public MessageDecoderResult decodable(IoSession session, IoBuffer in) { /* * Return NEED_DATA if buffer doesn't contain the number of bytes * requested by the header. */ if (in.remaining() < 4) { return MessageDecoderResult.NEED_DATA; } =20 int dataLength =3D in.getInt(in.position()); int maxDataLength =3D 8192; =20 if (dataLength < 0 || dataLength > maxDataLength) { throw new BufferDataException("dataLength: " + dataLength); } =20 if(in.remaining() >=3D dataLength) { return MessageDecoderResult.OK; } else { return MessageDecoderResult.NEED_DATA; } } ------------------=20 So I assume that I must have got BufferDataException all night long since my limit set on the dataLength is set to 8192! >From what I got, I can only presume that my IoBuffer kept on growing until it caused the "java.lang.OutOfMemoryError: Java heap space" error My question is, should compact the IoBuffer upon successful decoding of messages? Currently, from all the documentation I have looked at such as (http://mina.apache.org/tutorial-on-protocolcodecfilter-for-mina-2x.html ) nobody compacts the IoBuffer?=20 What would you recommend? Here's my decode method for reference: ------------------=20 public MessageDecoderResult decode(IoSession session, IoBuffer in, ProtocolDecoderOutput out) throws Exception { IntBuffer buffer =3D in.asIntBuffer(); /* * Get all bytes from packet, starting at the 8th byte, thus skipping * the message header. */ IoBuffer duplicate =3D in.duplicate(); int bufferLength =3D in.remaining(); duplicate.position(in.position()+8); String payload =3D duplicate.getString(charsetDecoder); ATCmdMessage message =3D getMsgInstance(payload, buffer.get(1)); =09 if(logger.isTraceEnabled()) { SocketAddress remote =3D session.getRemoteAddress(); IoBuffer bb =3D in.duplicate(); logger.trace("Receiving from "+remote.toString()+" (" + bb.remaining() + " bytes): "+ bb.getHexDump()); } =09 out.write(message); in.position(in.position()+bufferLength); return MessageDecoderResult.OK; } ------------------=20 Thanks for your help. Any code sample would be greatly appreciated. By the way, I'm using the latest mina-2.0M3 =20 Simon=20 From [email protected] Wed Aug 27 19:22:35 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91620 invoked from network); 27 Aug 2008 19:22:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Aug 2008 19:22:35 -0000 Received: (qmail 80403 invoked by uid 500); 27 Aug 2008 19:22:33 -0000 Delivered-To: [email protected] Received: (qmail 80228 invoked by uid 500); 27 Aug 2008 19:22:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 80217 invoked by uid 99); 27 Aug 2008 19:22:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Aug 2008 12:22:32 -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: local policy) Received: from [161.129.204.104] (HELO BTEXC01.bluetreewireless.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Aug 2008 19:21:35 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C9087A.308A5AE0" Subject: How to expose IoConnector's and IoSession's statistics using JMX Mbean Date: Wed, 27 Aug 2008 15:22:04 -0400 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to expose IoConnector's and IoSession's statistics using JMX Mbean Thread-Index: AckIejBDYbDkN6oKTcCa9ykgjlYMHw== From: "Simon Trudeau" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C9087A.308A5AE0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I would like to know how can I expose the IoConnector's and IoSession's statistics using JMX and Mbean. I am currently using Mina 2.0-M3 =20 I currently manage to expose the IoConnector's object using the IoServiceMBean and Spring's MBeanExporter (I am configuring Mina through Spring). Unfortunately the JConsole allows me to view the IoConnector's attributes such as the "statistics" attribute but since "statistics" is an object, I only manage to see its address in memory but not any of statistics's attributes. =20 How should I configure my IoServiceMBean to view the IoConnector's statistics? =20 Thanks, =20 Simon =20 ------_=_NextPart_001_01C9087A.308A5AE0-- From [email protected] Thu Aug 28 14:13:28 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10710 invoked from network); 28 Aug 2008 14:13:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Aug 2008 14:13:28 -0000 Received: (qmail 76121 invoked by uid 500); 28 Aug 2008 14:13:26 -0000 Delivered-To: [email protected] Received: (qmail 75942 invoked by uid 500); 28 Aug 2008 14:13:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 75931 invoked by uid 99); 28 Aug 2008 14:13:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Aug 2008 07:13:25 -0700 X-ASF-Spam-Status: No, hits=3.8 required=10.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO bmapps.persistent.co.in) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Aug 2008 14:12:28 +0000 Received: from bmapps.persistent.co.in (unknown [161.129.204.104]) by bmapps.persistent.co.in (Symantec Mail Security) with ESMTP id 8AC00464086 for <[email protected]>; Thu, 28 Aug 2008 19:42:56 +0530 (IST) X-AuditID: 0a4e0006-ab96abb000000a71-e6-48b6b268ef5b Received: from mail.persistent.co.in (unknown [161.129.204.104]) by bmapps.persistent.co.in (Symantec Mail Security) with ESMTP id 5E824420002 for <[email protected]>; Thu, 28 Aug 2008 19:42:56 +0530 (IST) Received: from ps5619 (ps5619.persistent.co.in [161.129.204.104]) by mail.persistent.co.in (MOS 3.8.6-GA) with ESMTP id CAU22639 (AUTH abhijit_bhatode); Thu, 28 Aug 2008 19:42:56 +0530 (IST) From: "Abhijit Bhatode" <[email protected]> To: <[email protected]> Subject: MINA 2.0 M1 Retreiving SSLSession when using SSLFilter Date: Thu, 28 Aug 2008 19:43:36 +0530 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0066_01C90946.5CA381F0" X-Mailer: Microsoft Office Outlook 11 Thread-Index: AckJGELAcRgtjGXZRliXZPQZ0ldqog== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Junkmail-Whitelist: YES (by domain [email protected]) X-Brightmail-Tracker: AAAAAA== X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_0066_01C90946.5CA381F0 Content-Type: text/plain; charset="us-ascii" content-transfer-encoding: 7bit Hi, We are using MINA 2.0 M1 to develop a Proxy server. The server is communicating with a proprietary C++ client. We are using MINA SSLfilter to enable standard SSL communication. To enable another proprietory SSL communication mode, Proxy server needs to do another handshake with the client after SSLhandshake is complete. For this, the proxy server needs SSLSession Id and SSLSession secret Key from the SSLSession. The SSLFilter has a getSslSession(Iosession session) method that returns the SSLSession object. If the above method is called after the SSL handshake (after adding SSLFilter), a NULL value is returned. If this method is called after another message is received by the Proxy Server (when using standard SSL communication mode), the above method returns a non NULL value. Is this because MINA is using javax.net.ssl.SSLEngine.beginHandshake() method which is a non blocking call and the handshake is actually completed (from server side) after next message is received after SSL handshake is complete? Is there any way to retrieve SSLSession immediately after SSLFilter is added? Thanks for your help in advance. Thanks & Regards, Abhijit DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails. ------=_NextPart_000_0066_01C90946.5CA381F0-- From [email protected] Thu Aug 28 15:08:30 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57816 invoked from network); 28 Aug 2008 15:08:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Aug 2008 15:08:30 -0000 Received: (qmail 6277 invoked by uid 500); 28 Aug 2008 15:08:28 -0000 Delivered-To: [email protected] Received: (qmail 6260 invoked by uid 500); 28 Aug 2008 15:08:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6249 invoked by uid 99); 28 Aug 2008 15:08:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Aug 2008 08:08:28 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO flsc030.serveursdns.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Aug 2008 15:07:30 +0000 Received: from pcjvermillard (49.145.73-86.rev.gaoland.net [161.129.204.104]) by smtp-01.serveursdns.net (Postfix) with ESMTP id 525B06E592B for <[email protected]>; Thu, 28 Aug 2008 17:07:29 +0200 (CEST) Date: Thu, 28 Aug 2008 17:07:38 +0200 From: Julien Vermillard <[email protected]> To: [email protected] Subject: Re: How to expose IoConnector's and IoSession's statistics using JMX Mbean Message-ID: <20080828170738.20426e30@pcjvermillard> In-Reply-To: <[email protected]> References: <[email protected]> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/m7.p0_YmWnk/j61ToDpBeu="; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Virus-Checked: Checked by ClamAV on apache.org --Sig_/m7.p0_YmWnk/j61ToDpBeu= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 27 Aug 2008 15:22:04 -0400 "Simon Trudeau" <[email protected]> wrote: > I would like to know how can I expose the IoConnector's and > IoSession's statistics using JMX and Mbean. I am currently using Mina > 2.0-M3=20 > I currently manage to expose the IoConnector's object using the > IoServiceMBean and Spring's MBeanExporter (I am configuring Mina > through Spring). Unfortunately the JConsole allows me to view the > IoConnector's attributes such as the "statistics" attribute but since > "statistics" is an object, I only manage to see its address in memory > but not any of statistics's attributes. > =20 > How should I configure my IoServiceMBean to view the IoConnector's > statistics? > =20 > Thanks, > =20 > Simon > =20 Hi, Obviously it's a bug, when we moved IoService stats to a new class. Can you fill a JIRA issues about that please, so we don't forget to fix it. Thanks for the report, Julien --Sig_/m7.p0_YmWnk/j61ToDpBeu= Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD4DBQFItr86HMBmbW1IlcURAlxtAJdQYT2pjikzdkAudm9pwMTDaARKAJ0XBAGj sFYGKfm9SX+zYqpMtNS7lA== =UWLT -----END PGP SIGNATURE----- --Sig_/m7.p0_YmWnk/j61ToDpBeu=-- From [email protected] Thu Aug 28 15:19:18 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64022 invoked from network); 28 Aug 2008 15:19:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Aug 2008 15:19:18 -0000 Received: (qmail 23554 invoked by uid 500); 28 Aug 2008 15:19:16 -0000 Delivered-To: [email protected] Received: (qmail 23537 invoked by uid 500); 28 Aug 2008 15:19:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23526 invoked by uid 99); 28 Aug 2008 15:19:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Aug 2008 08:19:16 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO BTEXC01.bluetreewireless.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Aug 2008 15:18:19 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: How to expose IoConnector's and IoSession's statistics using JMX Mbean Date: Thu, 28 Aug 2008 11:18:48 -0400 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to expose IoConnector's and IoSession's statistics using JMX Mbean Thread-Index: AckJH+7k5MUUsIBVQtGdjqqhN8PI3wAAWHnw References: <[email protected]> <20080828170738.20426e30@pcjvermillard> From: "Simon Trudeau" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Jira has been filled up! https://issues.apache.org/jira/browse/DIRMINA-617=20 Simon=20 -----Original Message----- From: Julien Vermillard [mailto:[email protected]]=20 Sent: August-28-08 11:08 AM To: [email protected] Subject: Re: How to expose IoConnector's and IoSession's statistics using JMX Mbean On Wed, 27 Aug 2008 15:22:04 -0400 "Simon Trudeau" <[email protected]> wrote: > I would like to know how can I expose the IoConnector's and=20 > IoSession's statistics using JMX and Mbean. I am currently using Mina > 2.0-M3 > I currently manage to expose the IoConnector's object using the=20 > IoServiceMBean and Spring's MBeanExporter (I am configuring Mina=20 > through Spring). Unfortunately the JConsole allows me to view the=20 > IoConnector's attributes such as the "statistics" attribute but since=20 > "statistics" is an object, I only manage to see its address in memory=20 > but not any of statistics's attributes. > =20 > How should I configure my IoServiceMBean to view the IoConnector's=20 > statistics? > =20 > Thanks, > =20 > Simon > =20 Hi, Obviously it's a bug, when we moved IoService stats to a new class. Can you fill a JIRA issues about that please, so we don't forget to fix it. Thanks for the report, Julien From [email protected] Thu Aug 28 16:42:30 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13894 invoked from network); 28 Aug 2008 16:42:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Aug 2008 16:42:30 -0000 Received: (qmail 90876 invoked by uid 500); 28 Aug 2008 16:42:23 -0000 Delivered-To: [email protected] Received: (qmail 90864 invoked by uid 500); 28 Aug 2008 16:42:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 90837 invoked by uid 99); 28 Aug 2008 16:42:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Aug 2008 09:42:23 -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: local policy) Received: from [161.129.204.104] (HELO BTEXC01.bluetreewireless.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Aug 2008 16:41:24 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C9092C.FAC57CFC" Subject: How to use DecodingStateProtocolDecoder? Date: Thu, 28 Aug 2008 12:41:54 -0400 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to use DecodingStateProtocolDecoder? Thread-Index: AckJLPq7RjOwJXnTRjqtZ/4K9CLRAA== From: "Simon Trudeau" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C9092C.FAC57CFC Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I am looking for code sample on how to use the DecodingStateProtocolDecoder and the DecodingStateMachine. Could any of you direct me to an example? =20 =20 Thanks, =20 Simon =20 ------_=_NextPart_001_01C9092C.FAC57CFC-- From [email protected] Thu Aug 28 16:46:46 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16826 invoked from network); 28 Aug 2008 16:46:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Aug 2008 16:46:46 -0000 Received: (qmail 98165 invoked by uid 500); 28 Aug 2008 16:46:44 -0000 Delivered-To: [email protected] Received: (qmail 98009 invoked by uid 500); 28 Aug 2008 16:46:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 97998 invoked by uid 99); 28 Aug 2008 16:46:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Aug 2008 09:46:44 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO flsc030.serveursdns.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Aug 2008 16:45:45 +0000 Received: from pcjvermillard (49.145.73-86.rev.gaoland.net [161.129.204.104]) by smtp-01.serveursdns.net (Postfix) with ESMTP id DD9D56E5A9C for <[email protected]>; Thu, 28 Aug 2008 18:45:43 +0200 (CEST) Date: Thu, 28 Aug 2008 18:45:50 +0200 From: Julien Vermillard <[email protected]> To: [email protected] Subject: Re: How to use DecodingStateProtocolDecoder? Message-ID: <20080828184550.189338f3@pcjvermillard> In-Reply-To: <[email protected]> References: <[email protected]> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/UPEhT5aVCZdHb0WUmaPz2q1"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Virus-Checked: Checked by ClamAV on apache.org --Sig_/UPEhT5aVCZdHb0WUmaPz2q1 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 28 Aug 2008 12:41:54 -0400 "Simon Trudeau" <[email protected]> wrote: > I am looking for code sample on how to use the > DecodingStateProtocolDecoder and the DecodingStateMachine. Could any > of you direct me to an example? > =20 > =20 > Thanks, > =20 > Simon > =20 In the asyncweb common module you got an HTTP decoder using it. HTH Julien --Sig_/UPEhT5aVCZdHb0WUmaPz2q1 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIttY+HMBmbW1IlcURAgFwAJsHGLvNXUdfgfFbhQCkr/I0QieKCACggQwS dLC1S9zNxLeE4VU6GeAlDQ0= =DeIm -----END PGP SIGNATURE----- --Sig_/UPEhT5aVCZdHb0WUmaPz2q1--
From [email protected] Tue Jan 04 20:41:31 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71862 invoked from network); 4 Jan 2005 20:41:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 4 Jan 2005 20:41:30 -0000 Received: (qmail 26625 invoked by uid 500); 4 Jan 2005 20:41:30 -0000 Delivered-To: [email protected] Received: (qmail 26578 invoked by uid 500); 4 Jan 2005 20:41:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 26562 invoked by uid 99); 4 Jan 2005 20:41:29 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtp006.bizmail.sc5.yahoo.com (HELO smtp006.bizmail.sc5.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 04 Jan 2005 12:41:25 -0800 Received: from unknown (HELO ?161.129.204.104?) ([email protected]@161.129.204.104 with plain) by smtp006.bizmail.sc5.yahoo.com with SMTP; 4 Jan 2005 20:41:23 -0000 Message-ID: <[email protected]> Date: Tue, 04 Jan 2005 14:41:23 -0600 From: Bob Young <[email protected]> User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Problem on Windows Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I am getting an error on termination of a program using log4cxx 0.9.7 under Windows VC6.0. It appears that the destructor for the logger object is causing a memory error. Here is the code: ---------------------------------------------- #include "log4cxx/logger.h" #include "log4cxx/basicconfigurator.h" #include "log4cxx/helpers/exception.h" using namespace log4cxx; using namespace log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bhelpers; LoggerPtr logger(Loggeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLogger("MyApp")); int main() { int result = EXIT_SUCCESS; try { BasicConfiguratoracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bonfigure(); LOG4CXX_INFO(logger, "Starting test."); } catch (Exception&) { result = EXIT_FAILURE; } return 0; } ------------------------------------------------------------------- I see the message from the logger on the console OK, but then get a dialog box with the following text: The instruction at "0x55901a9d" referenced memory at "0x003f3e50". The memory could not be "read". Click on OK to terminate the program Any ideas? Thanks, Bob From [email protected] Wed Jan 05 00:29:40 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96933 invoked from network); 5 Jan 2005 00:29:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 5 Jan 2005 00:29:40 -0000 Received: (qmail 19366 invoked by uid 500); 5 Jan 2005 00:29:36 -0000 Delivered-To: [email protected] Received: (qmail 19278 invoked by uid 500); 5 Jan 2005 00:29:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 19094 invoked by uid 99); 5 Jan 2005 00:29:31 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from proxy.matrikon.com (HELO mail.matrikon.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 04 Jan 2005 16:29:25 -0800 Received: from mail.matrikon.com ([161.129.204.104]) by mail.matrikon.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 4 Jan 2005 17:29:16 -0700 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Access violation when compiled with msvc 6.0 Date: Tue, 4 Jan 2005 17:29:16 -0700 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Access violation when compiled with msvc 6.0 Thread-Index: AcTyvZbkeSxVjpi+TjGPD7Cp3mQtyA== From: "Justin Chen" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 05 Jan 2005 00:29:17.0001 (UTC) FILETIME=[970A9390:01C4F2BD] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello, I got a similar problem as the one from Bob Young. The difference is = that when I use logging in a standalone EXE, it works just fine; the = problem occurs when I use it in a DLL called by an EXE. When the EXE = terminates, an error message appears stating that certain memory could = not be "read". Surprisingly all log entries have been written = succesfully despite of the error. When I compile it with vc7.0, everything is working ok. Any ideas? Thanks! -Justin *************************************************************************= * READER BEWARE: Unencrypted, unsigned Internet e-mail is inherently = insecure. Internet messages may be corrupted, incomplete, misdirected or may incorrectly identify the sender. Therefore, nothing in this message or attachments may be considered legally binding. THIS MESSAGE IS ONLY INTENDED FOR THE USE OF THE INDIVIDUAL OR ENTITY TO WHICH IT IS ADDRESSED AND MAY BE PRIVILEGED. If you are not the intended recipient or their authorized agent, you may not forward or copy this information and must delete or destroy all copies of this message and attachments received. If you have received this communication in error, please notify Matrikon Inc. by telephone at (262)914-4166. *************************************************************************= * From [email protected] Wed Jan 05 06:18:59 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23526 invoked from network); 5 Jan 2005 06:18:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 5 Jan 2005 06:18:59 -0000 Received: (qmail 88971 invoked by uid 500); 5 Jan 2005 06:18:57 -0000 Delivered-To: [email protected] Received: (qmail 88953 invoked by uid 500); 5 Jan 2005 06:18:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 88934 invoked by uid 99); 5 Jan 2005 06:18:57 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 04 Jan 2005 22:18:56 -0800 Received: (qmail 23500 invoked from network); 5 Jan 2005 06:18:54 -0000 Received: from unknown (HELO ?IPvacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b:1?) (161.129.204.104) by 161.129.204.104 with SMTP; 5 Jan 2005 06:18:54 -0000 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Curt Arnold <[email protected]> Subject: Re: Access violation when compiled with msvc 6.0 Date: Wed, 5 Jan 2005 00:18:53 -0600 To: Log4CXX User <[email protected]> X-Mailer: Apple Mail (2.619) X-Spam-Rating: 161.129.204.104 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Jan 4, 2005, at 6:29 PM, Justin Chen wrote: > Hello, > > I got a similar problem as the one from Bob Young. The difference is > that when I use logging in a standalone EXE, it works just fine; the > problem occurs when I use it in a DLL called by an EXE. When the EXE > terminates, an error message appears stating that certain memory could > not be "read". Surprisingly all log entries have been written > succesfully despite of the error. > > When I compile it with vc7.0, everything is working ok. > > Any ideas? Thanks! > -Justin > The current CVS is significantly different than 0.9.7 and there is a decent chance that whatever was causing this error has at least moved. 0.9.7 had significant number of non-local static variables that caused problems on startup in DLL's (see http://issues.apache.org/jira/browse/LOGCXX-4) since their construction order was unspecified. The use of non-local statics could also cause problems on shutdown when the destructors are called in a unspecified order. All non-local statics (with the exception of Levelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bUG, etc which remain for backward compatibility and should be safe since they aren't used within log4cxx) should have been eliminated from the CVS. I know that there is at least a problem with Nacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bpop in the current CVS and I'll try to analyze it in fairly short order. If anyone wants to see if the same problem occurs in the CVS version, I would appreciate reports. However, I won't spend any time on it if it only occurs in 0.9.7. From [email protected] Wed Jan 05 16:24:11 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89443 invoked from network); 5 Jan 2005 16:24:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 5 Jan 2005 16:24:07 -0000 Received: (qmail 87138 invoked by uid 500); 5 Jan 2005 16:17:43 -0000 Delivered-To: [email protected] Received: (qmail 86779 invoked by uid 500); 5 Jan 2005 16:17:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 86303 invoked by uid 99); 5 Jan 2005 16:17:29 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from smtp2.loto-quebec.com (HELO smtp2.loto-quebec.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 05 Jan 2005 08:17:06 -0800 Message-ID: <[email protected]> From: Labelle Bruno <[email protected]> To: "'[email protected]'" <[email protected]> Subject: NT EventLog Date: Wed, 5 Jan 2005 11:15:44 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2658.3) Content-Type: text/plain X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I get this error on a console for each time I try to log in the NT Event Log : "NT EventLog not opened." Is there a way I'm not aware of to open the EventLog ? From [email protected] Fri Jan 07 18:50:31 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47908 invoked from network); 7 Jan 2005 18:50:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 7 Jan 2005 18:50:31 -0000 Received: (qmail 88539 invoked by uid 500); 7 Jan 2005 18:50:29 -0000 Delivered-To: [email protected] Received: (qmail 88397 invoked by uid 500); 7 Jan 2005 18:50:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 88321 invoked by uid 99); 7 Jan 2005 18:50:28 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from smtp2.loto-quebec.com (HELO smtp2.loto-quebec.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 07 Jan 2005 10:50:27 -0800 Message-ID: <[email protected]> From: Labelle Bruno <[email protected]> To: 'Log4CXX User' <[email protected]> Subject: NTEventLogAppender Log Category Date: Fri, 7 Jan 2005 13:49:42 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2658.3) Content-Type: text/plain X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello, Is there a reason for the category of the event to be like they are. That is : Case Levelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bTAL_INT: ret_val = 1; break; case Levelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bRROR_INT: ret_val = 2; break; case Levelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bWARN_INT: ret_val = 3; break; case Levelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bINFO_INT: ret_val = 4; break; case Levelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bUG_INT: default: ret_val = 5; break; Because in the EventLog Viewer : 1 = Shell, 2 = Services, 3 = Printers, 4 = Drive, 5 = Devices; and I do not find it realy significant. None would be more appropriate. Thank you Bruno Labelle From [email protected] Sun Jan 09 17:03:19 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24153 invoked from network); 9 Jan 2005 17:03:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 9 Jan 2005 17:03:19 -0000 Received: (qmail 93459 invoked by uid 500); 9 Jan 2005 17:03:18 -0000 Delivered-To: [email protected] Received: (qmail 93429 invoked by uid 500); 9 Jan 2005 17:03:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 93412 invoked by uid 99); 9 Jan 2005 17:03:18 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME,SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from demokritos4.cytanet.com.cy (HELO demokritos4.cytanet.com.cy) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 09 Jan 2005 09:03:16 -0800 Received: from lazybughome (adsl-11-191.cytanet.com.cy [161.129.204.104]) by demokritos4.cytanet.com.cy (Postfix) with ESMTP id 920DEBBA62 for <[email protected]>; Sun, 9 Jan 2005 19:03:07 +0200 (EET) From: <[email protected]> To: <[email protected]> Subject: Is log4cxx mature ? Date: Sun, 9 Jan 2005 19:03:03 +0200 Message-ID: <000001c4f66d$174d8140$a861960a@lazybughome> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, Sorry about the subject but that in fact is my question. Is it recommended to use log4cxx in c++ app for windows? I mean a basic test revealed a memory leak of 4 bytes every time you log (stack trace from purify is attached below and I am using static library built with runtime library multithreaded debug dll on vc++.net 2003 to build log4cxx). I would be happy if someone can tell me if this is a known problem on windows. I tried following up threads on mailing list but all of them ended up no where. I need this working ASAP. So any kind of help would be appreciated. Will I have to wait for the next version so as to be able to fix the above mentioned things? Please keep my email: [email protected] in cc while replying Thanks and Regards, Ramneek STACK TRACE=> log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bStringBufferacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bStringBuffer(void) [\log4cxx\helpers\tchar.h:300] { public: StringBuffer() : stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bbasic_ostream<TCHAR>(0) => { this->init(&buffer); } inline stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bbasic_string<TCHAR> str() const { return buffer.str(); } inline void str(const stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bbasic_string<TCHAR>& s) CServeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8b~CServer(void) [\server.cpp:33] CServeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8b~ CServer (void) { => LOG4CXX_INFO(logger, "Deleting Object.") From [email protected] Sun Jan 09 19:58:27 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74454 invoked from network); 9 Jan 2005 19:58:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 9 Jan 2005 19:58:26 -0000 Received: (qmail 21463 invoked by uid 500); 9 Jan 2005 19:58:26 -0000 Delivered-To: [email protected] Received: (qmail 21441 invoked by uid 500); 9 Jan 2005 19:58:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 21426 invoked by uid 99); 9 Jan 2005 19:58:26 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sun, 09 Jan 2005 11:58:24 -0800 Received: (qmail 74444 invoked from network); 9 Jan 2005 19:58:23 -0000 Received: from localhost.hyperreal.org (HELO ?IPvacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b:1?) (161.129.204.104) by localhost.hyperreal.org with SMTP; 9 Jan 2005 19:58:23 -0000 In-Reply-To: <000001c4f66d$174d8140$a861960a@lazybughome> References: <000001c4f66d$174d8140$a861960a@lazybughome> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit Cc: [email protected] From: Curt Arnold <[email protected]> Subject: Re: Is log4cxx mature ? Date: Sun, 9 Jan 2005 13:58:21 -0600 To: Log4CXX User <[email protected]> X-Mailer: Apple Mail (2.619) X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Jan 9, 2005, at 11:03 AM, [email protected] wrote: > Hi, > Sorry about the subject but that in fact is my question. Is it > recommended to use log4cxx in c++ app for windows? I mean a basic test > revealed a memory leak of 4 bytes every time you log (stack trace from > purify is attached below and I am using static library built with > runtime library multithreaded debug dll on vc++.net 2003 to build > log4cxx). > I would be happy if someone can tell me if this is a known problem > on > windows. I tried following up threads on mailing list but all of them > ended up no where. I need this working ASAP. So any kind of help would > be appreciated. > > Will I have to wait for the next version so as to be able to fix the > above mentioned things? > > Please keep my email: [email protected] in cc while replying > > > Thanks and Regards, > Ramneek > At this point, I would not consider log4cxx-0.9.7 for new development. The CVS is a substantial improvement and has fixed a large number of bugs, but still is recovering from some major surgery to migrate to Apache Portable Runtime and to simultaneously support char and wchar_t logging. Some features that were in log4cxx-0.9.7 are known to be broken at this time (socket appenders for example). I would love to see the code base recover sufficiently to get a 0.9.8 development snapshot out in the near future. From the version number and the incubation status at Apache, log4cxx clearly isn't "mature". The current CVS makes no attempt at binary compatibility with 0.9.7 for example. The internal APIs are still subject to change and will be so for a significant amount of time. However, log4cxx is hopefully a better alternative than most home-grown logging frameworks. The code that you showed no longer exists in the log4cxx CVS. I run valgrind on the Linux build to check for leaks, I'm not aware of any progressive leaks in the code base. The "Class" repository that lists all the classes in the system is reported as a memory leak, but that is a fixed amount of memory. I do not have access to a comparable heap checker on Windows. From [email protected] Mon Jan 10 09:10:53 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56669 invoked from network); 10 Jan 2005 09:10:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 10 Jan 2005 09:10:53 -0000 Received: (qmail 15718 invoked by uid 500); 10 Jan 2005 09:10:53 -0000 Delivered-To: [email protected] Received: (qmail 15690 invoked by uid 500); 10 Jan 2005 09:10:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 15664 invoked by uid 99); 10 Jan 2005 09:10:52 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=HTML_MESSAGE,HTML_TEXT_AFTER_BODY,HTML_TEXT_AFTER_HTML X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from wip-ectls-mx1.wipro.com (HELO wip-ectls-mx1.wipro.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 10 Jan 2005 01:10:50 -0800 Received: from wip-ectls-mx1.wipro.com (localhost.localdomain [161.129.204.104]) by localhost (Postfix) with ESMTP id D196E220483 for <[email protected]>; Mon, 10 Jan 2005 14:40:45 +0530 (IST) Received: from blr-ec-bh1.wipro.com (blr-ec-bh1.wipro.com [161.129.204.104]) by wip-ectls-mx1.wipro.com (Postfix) with ESMTP id C3036220450 for <[email protected]>; Mon, 10 Jan 2005 14:40:45 +0530 (IST) Received: from pne-hjn-msg.wipro.com ([161.129.204.104]) by blr-ec-bh1.wipro.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 10 Jan 2005 14:41:15 +0530 Received: from HJNAVAYA124469 ([161.129.204.104]) by pne-hjn-msg.wipro.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 10 Jan 2005 14:40:59 +0530 From: "Prosenjit Sinha" <[email protected]> To: "'Log4CXX User'" <[email protected]> Subject: Problem with WriterAppender Date: Mon, 10 Jan 2005 14:41:33 +0530 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_000_007D_01C4F722.7B89BE70" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal X-OriginalArrivalTime: 10 Jan 2005 09:10:59.0760 (UTC) FILETIME=[4D014B00:01C4F6F4] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_007D_01C4F722.7B89BE70 Content-Type: multipart/alternative; boundary="----=_NextPart_001_007E_01C4F722.7B95A550" ------=_NextPart_001_007E_01C4F722.7B95A550 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable =0D Hi, I am facing a problem with the WriterAppender. I am developing a custom appender class derived from WriterAppender class. I have initialized the custom appender class as follows: =0D log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bLayoutPtr layout(new log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bPatternLayout("")); istringstream in_bis(ios_basacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b in | ios_basacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bout | ios_basacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bapp ); stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bostream *os =3D new stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bostream(in_bis.rdbuf()); CCustomLogClass *my =3D new CCustomLogClass (layout,os); =0D CCustomLogClass has been derived from WriterAppender. Then I added this custom appender class to the root logger and called debug, info, error function with some log strings on root logger. I have set the= immediateFlush variable of the custom appender class as FALSE. =0D To extract the logging information in my custom appender class I have written the following code: =0D stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstring str(10u,' '); stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstringbuf *pStream =3D new stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstringbuf; os->rdbuf(pStream); pStream->str(str); =0D I tried to get the logging string from str.c_str() function. But this function was always returning NULL. Can anybody tell what else need to be done to extract logging string or I am doing something wrong here. =0D =0D =0D Regards Prosenjit Sinha Project Engineer=0D Plot No:2,MIDC, Pune Infotech Park, Hinjewadi,Pune-411057,India Tel: 09325502750=0D "Simplicity is the ultimate sophistication."=0D =0D =0D Confidentiality Notice=0D The information contained in this electronic message and any attachments to= this message are intended for the exclusive use of the addressee(s) and may contain confidential or= privileged information. If you are not the intended recipient, please notify the sender at Wipro or= [email protected] immediately and destroy all copies of this message and any attachments. ------=_NextPart_001_007E_01C4F722.7B95A550 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable <html> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset= =3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"MS Mincho"; panose-1:(262)914-4166;} @font-face {font-family:"MS Gothic"; panose-1:2 11 6 9 7 2 5 8 2 4;} @font-face {font-family:Vrinda; panose-1:0 0 4 0 0 0 0 0 0 0;} @font-face {font-family:Georgia; panose-1:2 4 5 2 5 4 5 2 3 3;} @font-face {font-family:"Monotype Corsiva"; panose-1:3 1 1 1 1 2 1 1 1 1;} @font-face {font-family:"MS Mincho"; panose-1:(262)914-4166;} @font-face {font-family:"MS Gothic"; panose-1:2 11 6 9 7 2 5 8 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {font-family:Georgia; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span style= =3D'font-size:10.0pt; font-family:Georgia'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span style= =3D'font-size:10.0pt; font-family:Georgia'>Hi,</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span style= =3D'font-size:10.0pt; font-family:Georgia'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I am facing a problem with the <i><span style= =3D'font-style:italic'>WriterAppender</span></i>. I am developing a custom appender class derived from WriterAppender class.= &nbsp;I have initialized the custom appender class as follows:</span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face= =3DGeorgia><span style=3D'font-size:10.0pt;font-family:Georgia'>&nbsp;</span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face= =3DGeorgia><span style= =3D'font-size:10.0pt;font-family:Georgia'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= </span></font><font size=3D2 face=3D"&#65325;&#65331; &#12468;&#12471;&#12483;&#12463;"><span style=3D'font-size:10.0pt;font-family:"MS Gothic"'>log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bLayoutPtr= layout(</span></font><font color=3Dblue><span style=3D'color:blue'><font size=3D2 face= =3D"&#65325;&#65331; &#12468;&#12471;&#12483;&#12463;"><span style=3D'font-size:10.0pt;font-family:"MS= Gothic"'>new</span></font></span></font><font size=3D2 face=3D"&#65325;&#65331; &#12468;&#12471;&#12483;&#12463;"><span style=3D'font-size:10.0pt;font-family:"MS Gothic"'> log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bPatternLayout(&quot;&quot;));</span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face= =3D"&#65325;&#65331; &#12468;&#12471;&#12483;&#12463;"><span style=3D'font-size:10.0pt;font-family:"MS= Gothic"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; istringstream in_bis(ios_basacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b in | ios_basacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bout |</span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face= =3D"&#65325;&#65331; &#12468;&#12471;&#12483;&#12463;"><span style=3D'font-size:10.0pt;font-family:"MS= Gothic"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ios_basacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bapp );</span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face= =3D"&#65325;&#65331; &#12468;&#12471;&#12483;&#12463;"><span style=3D'font-size:10.0pt;font-family:"MS= Gothic"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bostream *os =3D </span></font><font color=3Dblue><span style=3D'color:blue'><font= size=3D2 face=3D"&#65325;&#65331; &#12468;&#12471;&#12483;&#12463;"><span style=3D'font-size:10.0pt;font-family:"MS= Gothic"'>new</span></font></span></font><font size=3D2 face=3D"&#65325;&#65331; &#12468;&#12471;&#12483;&#12463;"><span style=3D'font-size:10.0pt;font-family:"MS Gothic"'>= stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bostream(in_bis.rdbuf());</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3D"&#65325;&#65331;= &#12468;&#12471;&#12483;&#12463;"><span style=3D'font-size:10.0pt;font-family:"MS= Gothic"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CCustomLogClass *my =3D </span></font><font color=3Dblue><span style=3D'color:blue'><font= size=3D2 face=3D"&#65325;&#65331; &#12468;&#12471;&#12483;&#12463;"><span style=3D'font-size:10.0pt;font-family:"MS= Gothic"'>new</span></font></span></font><font size=3D2 face=3D"&#65325;&#65331; &#12468;&#12471;&#12483;&#12463;"><span style=3D'font-size:10.0pt;font-family:"MS Gothic"'> CCustomLogClass= (layout,os);</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3D"&#65325;&#65331;= &#12468;&#12471;&#12483;&#12463;"><span style=3D'font-size:10.0pt;font-family:"MS Gothic"'>&nbsp;</span></font></p> <p class=3DMsoNormal><i><font size=3D2 face=3DGeorgia><span style= =3D'font-size:10.0pt; font-family:Georgia;font-style:italic'>CCustomLogClass</span></font></i><fo= nt size=3D2 face=3DGeorgia><span style= =3D'font-size:10.0pt;font-family:Georgia'> has been derived from <i><span style= =3D'font-style:italic'>WriterAppender</span></i>.</span></font><font size=3D2 face=3D"&#65325;&#65331; &#12468;&#12471;&#12483;&#12463;"><span style=3D'font-size:10.0pt;font-family:"MS Gothic"'> </span></font><font= size=3D2 face=3DGeorgia><span style=3D'font-size:10.0pt;font-family:Georgia'>Then I= added this custom appender class to the root logger and called debug, info, error= function with some log strings on root logger. I have set the <i><span style= =3D'font-style: italic'>immediateFlush</span></i> variable of the custom appender class as= <i><span style=3D'font-style:italic'>FALSE.</span></i></span></font></p> <p class=3DMsoNormal><i><font size=3D2 face=3DGeorgia><span style= =3D'font-size:10.0pt; font-family:Georgia;font-style:italic'>&nbsp;</span></font></i></p> <p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span style= =3D'font-size:10.0pt; font-family:Georgia'>To extract the logging information in my custom= appender class I have written the following code:</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span style= =3D'font-size:10.0pt; font-family:Georgia'>&nbsp;</span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face= =3D"&#65325;&#65331; &#12468;&#12471;&#12483;&#12463;"><span style=3D'font-size:10.0pt;font-family:"MS= Gothic"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstring str(10u,' ');</span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face= =3D"&#65325;&#65331; &#12468;&#12471;&#12483;&#12463;"><span style=3D'font-size:10.0pt;font-family:"MS= Gothic"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstringbuf *pStream =3D </span></font><font color=3Dblue><span style= =3D'color:blue'><font size=3D2 face=3D"&#65325;&#65331; &#12468;&#12471;&#12483;&#12463;"><span style=3D'font-size:10.0pt;font-family:"MS= Gothic"'>new</span></font></span></font><font size=3D2 face=3D"&#65325;&#65331; &#12468;&#12471;&#12483;&#12463;"><span style=3D'font-size:10.0pt;font-family:"MS Gothic"'>= stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstringbuf;</span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face= =3D"&#65325;&#65331; &#12468;&#12471;&#12483;&#12463;"><span style=3D'font-size:10.0pt;font-family:"MS= Gothic"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= os-&gt;rdbuf(pStream);</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3D"&#65325;&#65331;= &#12468;&#12471;&#12483;&#12463;"><span style=3D'font-size:10.0pt;font-family:"MS= Gothic"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= pStream-&gt;str(str);</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3D"&#65325;&#65331;= &#12468;&#12471;&#12483;&#12463;"><span style=3D'font-size:10.0pt;font-family:"MS Gothic"'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span style= =3D'font-size:10.0pt; font-family:Georgia'>I tried to get the logging string from <i><span style=3D'font-style:italic'>str.c_str() function. </span></i>But this= function was always returning </span></font><font size=3D2 face=3DGeorgia><span style=3D'font-size:10.0pt;font-family:Georgia'>NULL</span></font><font= size=3D2 face=3DGeorgia><span style=3D'font-size:10.0pt;font-family:Georgia'>. Can= anybody tell what else need to be done to extract logging string or I am doing something wrong here.</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span style= =3D'font-size:10.0pt; font-family:Georgia'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span style= =3D'font-size:10.0pt; font-family:Georgia'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style= =3D'font-size: 12.0pt'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D3 color=3Dteal face=3D"Monotype= Corsiva"><span style=3D'font-size:12.0pt;font-family:"Monotype= Corsiva";color:teal'>Regards</span></font></p> <p class=3DMsoNormal><font size=3D3 color=3Dteal face=3D"Monotype Corsiva"><span style= =3D'font-size:12.0pt; font-family:"Monotype Corsiva";color:teal'>Prosenjit</span></font><font color=3Dteal face=3D"Monotype Corsiva"><span style= =3D'font-family:"Monotype Corsiva"; color:teal'> Sinha</span></font></p> <p class=3DMsoNormal><font size=3D3 color=3Dteal face=3D"Monotype= Corsiva"><span style=3D'font-size:12.0pt;font-family:"Monotype= Corsiva";color:teal'>Project Engineer&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D3 color=3Dblue face=3D"Times New= Roman"><span style=3D'font-size:12.0pt;color:blue'><img width=3D68 height=3D68 src=3D"cid:[email protected]" align=3Dbaseline border= =3D0></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Times New= Roman"><span style=3D'font-size:10.0pt;color:blue'>Plot No:2,MIDC,</span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#3366ff" face=3D"Times New= Roman"><span style= =3D'font-size:10.0pt;color:#3366FF'><st1:place><st1:PlaceName>Pune</st1:Pla= ceName> <st1:PlaceName>Infotech</st1:PlaceName>= <st1:PlaceType>Park</st1:PlaceType></st1:place>,</span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#3366ff" face=3D"Times New= Roman"><span style= =3D'font-size:10.0pt;color:#3366FF'>Hinjewadi,Pune-411057,<st1:country-regi= on><st1:place>India</span></font></p> </st1:place></st1:country-region> <p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Times New= Roman"><span style=3D'font-size:10.0pt;color:blue'>Tel: 09325502750</span></font><font color=3Dblue><span style=3D'color:blue'>&nbsp;</span></font></p> <p class=3DMsoNormal><em><i><font size=3D2 color=3Dred face=3D"Times New= Roman"><span style=3D'font-size:10.0pt;color:red'>&quot;Simplicity is the ultimate sophistication.&quot;</span></font></i></em><em><i><font size=3D2 color= =3Dblack face=3D"Times New Roman"><span style=3D'font-size:10.0pt;color:black'>= </span></font></i></em></p> <p class=3DMsoNormal><font size=3D2 color=3Dblack face=3D"Times New= Roman"><span style=3D'font-size:10.0pt;color:black'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style= =3D'font-size: 12.0pt'>&nbsp;</span></font></p> </div> </body> </html> <table><tr><td bgcolor=3D#ffffff><font color=3D#000000><br> <br> Confidentiality Notice <br> <br> The information contained in this electronic message and any attachments to= this message are intended<br> for the exclusive use of the addressee(s) and may contain confidential or= privileged information. If<br> you are not the intended recipient, please notify the sender at Wipro or= [email protected] immediately<br> and destroy all copies of this message and any attachments.<br> </font></td></tr></table> ------=_NextPart_001_007E_01C4F722.7B95A550-- ------=_NextPart_000_007D_01C4F722.7B89BE70 Content-Type: image/jpeg; name="image001.jpg" Content-Transfer-Encoding: base64 Content-ID: <[email protected]> /9j/4AAQSkZJRgABAQEBLAEsAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABEAEQDASIA AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3 ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEA AwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSEx BhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElK U1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3 uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+q93 eRWijfud2OEjQZZj7Ci8u1tIN+0s7HZGg6sx6CmWtr9m33Fw4e4cZkkPAA9B6AVcYpLmkZyk2+WJ F5V/dEGecWsZ/wCWUWC5+rHv9Kx7690Gxu3t5Ua4vU2/K7MxcnryeMjqa53xproOoeWBILeED95H ICh9CfTv3781zjayYLZJrS0864Ri3mE70Ud+R6j9K8zE5nVhJwor9F/XqY0o+3qOnFXtu3r+H+R6 RaS6XPa23221hSds7zEm1VI7kj2q7bJDLDFLpWplUlXfGjN5iMo9AefxBrxfV/HE1xZizAETycTM hzt5PAOPp+VV/DHiE6HrEV6ixHeViknlG8xRZG7aM8cf1rbLquNqrlq6nsVMuw0MO6rlZr73+R71 HftFMsF9GIZG4SQHMb/Q9j7Gr1VYZ7LV7ASwSxXVpMvDowZWH1FQ20j2d0tjO5dWGbeQ9SB1U+49 e9dzSkrrRnmXcHaWqNCiiiszUz4R9q1WaZhmO2/dRn/aIyx/kPzqbUbpbKwmuGQSBFzsLBd3tk8V Foyn+y4pGGHlLSMfUkk5/lVyWJJomjkjWRD1RhkH86utu0umhlTu4XW71PHbuxja1muo4pkjlcHY WLbMnqQMf0rkPE1yxuE06AtFbxjcwTgMT2/nxXpPim9h0aymimi8uabPkwc+vr6D19q8YvruUXby v80jdSe5r5vK6NWvU5pq2ul/zse1hsJTwtDnnt+ZUnhS3GUIyx6Z/Wug8NpBHbXDXkbNJGR5SHoe /wDSsq0gfzEu5zuORsVSCW449cVsafbSAkuP30v3VxkgfT8elfb4XC8slbbr5ny2b5lGF1TSu9vI 9n+Glw0/hyUMmzZcNtXPQHtjPHf611OoW5uLNgn+uT54j6OOn+H41z3w906bTvC0QnYM8jswJj2t jPfIBz9en0rq64cRJKvJx7nXh4N0IxnvYhtJxdWkU443qCR6HuKKraWpjW6hxhY7lwg9FOGH86Ky mkpNI2ptuKbHaQ/maTanGMRhcH24/pV2s/TsQTXVlyPKk3oMcbG5GPoc15j4j8YeLfCvju90WS7j u7bUbGSTR2lhRdkwGQpKgbiCCMHrlfWnVXvsVJ+4v62On+I+ixXOiy6pHatcXsQSNFy7fKW6Ko7k nrXjq6BdXa3M1xYybYCfPdR8sZU4IJ6Dk9K7zRPHur+LLXRX07UjBcR6dcT6uiwxsqtGNqEBgSpZ +euMDpXMnx94lk+GWi6oNQhjudQ1aS1ucWcJR1J6lSuM9fr3qqNVUk7LV9TedWc6apt6Ig1HS5LS 2ikgtGWOONZEcKSSgbaWJ9M8V3XhXwBqMOqLeanMsS275RVjB8zDdDuB4IA5H9K5bX/FHjLSNI16 +t7l30mz8iKxvbzToonkJYBk2lRuXqc47CtbRvH+sx+LFs5NVbVLS30Z7+/intUt3V1j3YiIA3jJ HY8ZrqnmE3DkirHk08sgqvtaj5nuex0V45B4o8ZXfw1n8eLrdtHtZpl0wWqGHylfbtL437vfNema Hrqav4TsddaMxLc2q3DR/wB3K5IHrz0rz0r6HpN2V2WrB/Mlvmxj/SSv5Ko/pRS6XC0VhGX/ANbJ mVz33Nz/APW/CirqW5nYmnflTY2/jljkjvbdd0kXEif34+4+o6iuV8TX/hu91nTp9StJbkaWftcF wg+RZTjCZOATjDYJGMCu4rMurAx73t4I54nYNJayAbWIOdy54ByAfw9aatJWe4neD5lszh9Gbwb4 dfWBptndquoylr0upIRCpLY7hVBJx164ziss+HPA9t4d/seT+247GzuftkRLENFJjGAcd+uDnpni vT4JNNulkg8mJWlbfLBJGFZm9Sp6ngc89KtXVpb3tu0F1BHPC33kkUMD+BqHFxdmXGSkro4zxb9h 1rRv7D1WwvLiwkgt5nlWXZMCz4UYxjd8rE84wDWRJZeDby90iYz6ql7psYt7e5Hyu6HGEfjDcNjB GcZ616eqqiBVUKqjAAGABUVw1tHExuTEsbcN5mMHjHfrxSSvogbS1Z5KNE8GNavbxw68NDldbj7A k5Fq7FjxtJyBwD94DmvS2iS4ki062VVsrbaJQvA4+7GPyGaZBGJLcWel2yWdhggyLGFznrsX39T7 1p29vFawrFEu1F7Vql7PV7/kZt+00W35ktFFFZGoUUUUAQz2lvdDE8KSY6EjkfQ9qrLpaxsPJvLu JR0QS5UfgwNFFdFBtuz2ObEJKPMtxz2DyY3ahd8f3WVf5LSw6XaRNvMfmy/89Jjvb680UVdZ8q93 Qzw/vtuWpcooorkO0KKKKAP/2Q== ------=_NextPart_000_007D_01C4F722.7B89BE70-- From [email protected] Mon Jan 10 17:03:45 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28915 invoked from network); 10 Jan 2005 17:03:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 10 Jan 2005 17:03:45 -0000 Received: (qmail 9333 invoked by uid 500); 10 Jan 2005 17:03:41 -0000 Delivered-To: [email protected] Received: (qmail 9314 invoked by uid 500); 10 Jan 2005 17:03:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 9299 invoked by uid 99); 10 Jan 2005 17:03:41 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 10 Jan 2005 09:03:41 -0800 Received: (qmail 28811 invoked from network); 10 Jan 2005 17:03:39 -0000 Received: from localhost.hyperreal.org (HELO ?IPvacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b:1?) (161.129.204.104) by localhost.hyperreal.org with SMTP; 10 Jan 2005 17:03:39 -0000 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Curt Arnold <[email protected]> Subject: Re: Problem with WriterAppender Date: Mon, 10 Jan 2005 11:03:34 -0600 To: Log4CXX User <[email protected]> X-Mailer: Apple Mail (2.619) X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N The implementation of WriterAppender is radically different in the CVS and an appender written as you described will not be compatible with the next development snapshot (the long awaited 0.9.8) Unless you have a compelling reason to stay with 0.9.7, I would strongly suggest that you write your custom appender against the CVS. In the CVS, all that would be necessary is to overload the appropriate subAppend method. The appropriate method would depend on where you would like to intercept the rendering, for example, would you like the message as an LogString or as a byte array in the specified encoding. From [email protected] Tue Jan 11 05:34:07 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1050 invoked from network); 11 Jan 2005 05:34:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 11 Jan 2005 05:34:07 -0000 Received: (qmail 91954 invoked by uid 500); 11 Jan 2005 05:34:06 -0000 Delivered-To: [email protected] Received: (qmail 91920 invoked by uid 500); 11 Jan 2005 05:34:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 91895 invoked by uid 99); 11 Jan 2005 05:34:06 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=HTML_MESSAGE,HTML_TEXT_AFTER_BODY,HTML_TEXT_AFTER_HTML X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from wip-ectls-mx1.wipro.com (HELO wip-ectls-mx1.wipro.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 10 Jan 2005 21:34:04 -0800 Received: from wip-ectls-mx1.wipro.com (localhost.localdomain [161.129.204.104]) by localhost (Postfix) with ESMTP id 1741722008C; Tue, 11 Jan 2005 11:04:16 +0530 (IST) Received: from blr-ec-bh1.wipro.com (blr-ec-bh1.wipro.com [161.129.204.104]) by wip-ectls-mx1.wipro.com (Postfix) with ESMTP id F0D9722003C; Tue, 11 Jan 2005 11:04:15 +0530 (IST) Received: from pne-hjn-msg.wipro.com ([161.129.204.104]) by blr-ec-bh1.wipro.com with Microsoft SMTPSVC(6.0.3790.211); Tue, 11 Jan 2005 11:04:26 +0530 Received: from HJNAVAYA124469 ([161.129.204.104]) by pne-hjn-msg.wipro.com with Microsoft SMTPSVC(6.0.3790.211); Tue, 11 Jan 2005 11:04:14 +0530 From: "Prosenjit Sinha" <[email protected]> To: "'Log4CXX User'" <[email protected]>, <[email protected]> Subject: RE: Problem with WriterAppender Date: Tue, 11 Jan 2005 11:04:35 +0530 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_003F_01C4F7CD.56096870" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 x-mimeole: Produced By Microsoft MimeOLE V5.00.2919.6700 In-Reply-To: <[email protected]> Importance: Normal X-OriginalArrivalTime: 11 Jan 2005 05:34:15.0005 (UTC) FILETIME=[2FFAE8D0:01C4F79F] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_003F_01C4F7CD.56096870 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit Thanks Cart for your reply. But we need to stay with 0.9.7. So I will have to get the logString from OStream *os variable only. Regards Prosenjit Sinha Project Engineer Plot No:2,MIDC, Pune Infotech Park, Hinjewadi,Pune-411057,India Tel: 09325502750 "Simplicity is the ultimate sophistication." Hi, I am facing a problem with the WriterAppender. I am developing a custom appender class derived from WriterAppender class. I have initialized the custom appender class as follows: log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bLayoutPtr layout(new log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bPatternLayout("")); istringstream in_bis(ios_basacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b in | ios_basacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bout | ios_basacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bapp ); stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bostream *os = new stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bostream(in_bis.rdbuf()); CCustomLogClass *my = new CCustomLogClass (layout,os); CCustomLogClass has been derived from WriterAppender. Then I added this custom appender class to the root logger and called debug, info, error function with some log strings on root logger. I have set the immediateFlush variable of the custom appender class as FALSE. To extract the logging information in my custom appender class I have written the following code: stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstring str(10u,' '); stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstringbuf *pStream = new stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstringbuf; os->rdbuf(pStream); pStream->str(str); I tried to get the logging string from str.c_str() function. But this function was always returning NULL. Can anybody tell what else need to be done to extract logging string or I am doing something wrong here. -----Original Message----- From: Curt Arnold [mailto:[email protected]] Sent: 2005$BG/(B1$B7n(B10$BF|(B 22:34 To: Log4CXX User Subject: Re: Problem with WriterAppender The implementation of WriterAppender is radically different in the CVS and an appender written as you described will not be compatible with the next development snapshot (the long awaited 0.9.8) Unless you have a compelling reason to stay with 0.9.7, I would strongly suggest that you write your custom appender against the CVS. In the CVS, all that would be necessary is to overload the appropriate subAppend method. The appropriate method would depend on where you would like to intercept the rendering, for example, would you like the message as an LogString or as a byte array in the specified encoding. Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [email protected] immediately and destroy all copies of this message and any attachments. ------=_NextPart_000_003F_01C4F7CD.56096870 Content-Type: text/html; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable <html> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset= =3Diso-2022-jp"> <meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"=1B$B#M#S=1B(J =1B$BL@D+=1B(J"; panose-1:(262)914-4166;} @font-face {font-family:"=1B$B#M#S=1B(J =1B$B%4%7%C%/=1B(J"; panose-1:2 11 6 9 7 2 5 8 2 4;} @font-face {font-family:Georgia; panose-1:2 4 5 2 5 4 5 2 3 3;} @font-face {font-family:"\@=1B$B#M#S=1B(J =1B$BL@D+=1B(J"; panose-1:(262)914-4166;} @font-face {font-family:"\@=1B$B#M#S=1B(J =1B$B%4%7%C%/=1B(J"; panose-1:2 11 6 9 7 2 5 8 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} p.MsoPlainText, li.MsoPlainText, div.MsoPlainText {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Courier New";} @page Section1 {size:8.5in 11.0in; margin:1.0in 77.95pt 1.0in 77.95pt;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span style= =3D'font-size: 10.0pt'>&nbsp;</span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3DGeorgia><span style= =3D'font-size:10.0pt; font-family:Georgia'>Thanks Cart for your reply. &nbsp;But we need to stay= with 0.9.7. &nbsp;So I will have to get the logString from <i><span style=3D'font-style:italic'>OStream *os</span></i> variable only.= </span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span style= =3D'font-size: 10.0pt'>&nbsp;</span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span style= =3D'font-size: 10.0pt'>&nbsp;</span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span style= =3D'font-size: 10.0pt'>&nbsp;</span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span style= =3D'font-size: 10.0pt'>Regards</span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span style= =3D'font-size: 10.0pt'>Prosenjit</span></font> Sinha</p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span style= =3D'font-size: 10.0pt'>Project Engineer </span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span style= =3D'font-size: 10.0pt'>&nbsp; </span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span style= =3D'font-size: 10.0pt'>Plot No:2,MIDC,</span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span style= =3D'font-size: 10.0pt'>Pune</span></font> Infotech Park,</p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span style= =3D'font-size: 10.0pt'>Hinjewadi,Pune-411057,</span></font>India</p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span style= =3D'font-size: 10.0pt'>Tel: 09325502750 </span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span style= =3D'font-size: 10.0pt'>&quot;Simplicity is the ultimate sophistication.&quot;= </span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span style= =3D'font-size: 10.0pt'>&nbsp;</span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span style= =3D'font-size: 10.0pt'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span style= =3D'font-size:10.0pt; font-family:Georgia'>Hi,</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span style= =3D'font-size:10.0pt; font-family:Georgia'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I am facing a problem with the <i><span style= =3D'font-style:italic'>WriterAppender</span></i>. I am developing a custom appender class derived from WriterAppender class. &nbsp;I have initialized the custom appender class as= follows:</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span style= =3D'font-size:10.0pt; font-family:Georgia'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span style= =3D'font-size:10.0pt; font-family:Georgia'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font><font size=3D2 face=3D"=1B$B#M#S=1B(J =1B$B%4%7%C%/= =1B(J"><span style=3D'font-size:10.0pt; font-family:"=1B$B#M#S=1B(J =1B$B%4%7%C%/=1B(J"'>log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bLayoutPtr= layout(</span></font><font color=3Dblue><span style=3D'color:blue'><font size=3D2 face=3D"=1B$B#M#S= =1B(J =1B$B%4%7%C%/=1B(J"><span style=3D'font-size:10.0pt;font-family:"=1B$B#M#S=1B(J =1B$B%4%7%C%/= =1B(J"'>new</span></font></span></font><font size=3D2 face=3D"=1B$B#M#S=1B(J =1B$B%4%7%C%/=1B(J"><span style= =3D'font-size:10.0pt;font-family:"=1B$B#M#S=1B(J =1B$B%4%7%C%/=1B(J"'> log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bPatternLayout(&quot;&quot;));</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3D"=1B$B#M#S=1B(J =1B$B%4%7%C%/= =1B(J"><span style=3D'font-size:10.0pt; font-family:"=1B$B#M#S=1B(J =1B$B%4%7%C%/= =1B(J"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; istringstream= in_bis(ios_basacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b in | ios_basacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bout |</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3D"=1B$B#M#S=1B(J =1B$B%4%7%C%/= =1B(J"><span style=3D'font-size:10.0pt; font-family:"=1B$B#M#S=1B(J =1B$B%4%7%C%/= =1B(J"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= ios_basacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bapp );</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3D"=1B$B#M#S=1B(J =1B$B%4%7%C%/= =1B(J"><span style=3D'font-size:10.0pt; font-family:"=1B$B#M#S=1B(J =1B$B%4%7%C%/= =1B(J"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bostream *os =3D= </span></font><font color=3Dblue><span style=3D'color:blue'><font size=3D2 face=3D"=1B$B#M#S= =1B(J =1B$B%4%7%C%/=1B(J"><span style=3D'font-size:10.0pt;font-family:"=1B$B#M#S=1B(J =1B$B%4%7%C%/= =1B(J"'>new</span></font></span></font><font size=3D2 face=3D"=1B$B#M#S=1B(J =1B$B%4%7%C%/=1B(J"><span style= =3D'font-size:10.0pt;font-family:"=1B$B#M#S=1B(J =1B$B%4%7%C%/=1B(J"'> stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bostream(in_bis.rdbuf());</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3D"=1B$B#M#S=1B(J =1B$B%4%7%C%/= =1B(J"><span style=3D'font-size:10.0pt; font-family:"=1B$B#M#S=1B(J =1B$B%4%7%C%/= =1B(J"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CCustomLogClass *my =3D </span></font><font color=3Dblue><span style=3D'color:blue'><font size= =3D2 face=3D"=1B$B#M#S=1B(J =1B$B%4%7%C%/=1B(J"><span style= =3D'font-size:10.0pt;font-family:"=1B$B#M#S=1B(J =1B$B%4%7%C%/= =1B(J"'>new</span></font></span></font><font size=3D2 face=3D"=1B$B#M#S=1B(J =1B$B%4%7%C%/=1B(J"><span style= =3D'font-size:10.0pt;font-family:"=1B$B#M#S=1B(J =1B$B%4%7%C%/=1B(J"'> CCustomLogClass (layout,os);</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3D"=1B$B#M#S=1B(J =1B$B%4%7%C%/= =1B(J"><span style=3D'font-size:10.0pt; font-family:"=1B$B#M#S=1B(J =1B$B%4%7%C%/=1B(J"'>&nbsp;</span></font></p> <p class=3DMsoNormal><i><font size=3D2 face=3DGeorgia><span style= =3D'font-size:10.0pt; font-family:Georgia;font-style:italic'>CCustomLogClass</span></font></i><fo= nt size=3D2 face=3DGeorgia><span style= =3D'font-size:10.0pt;font-family:Georgia'> has been derived from <i><span style= =3D'font-style:italic'>WriterAppender</span></i>.</span></font><font size=3D2 face=3D"=1B$B#M#S=1B(J =1B$B%4%7%C%/=1B(J"><span style= =3D'font-size:10.0pt;font-family:"=1B$B#M#S=1B(J =1B$B%4%7%C%/=1B(J"'>= </span></font><font size=3D2 face=3DGeorgia><span style= =3D'font-size:10.0pt;font-family:Georgia'>Then I added this custom appender class to the root logger and called debug, info, error function with some log strings on root logger. I have set the= <i><span style=3D'font-style:italic'>immediateFlush</span></i> variable of the= custom appender class as <i><span style= =3D'font-style:italic'>FALSE.</span></i></span></font></p> <p class=3DMsoNormal><i><font size=3D2 face=3DGeorgia><span style= =3D'font-size:10.0pt; font-family:Georgia;font-style:italic'>&nbsp;</span></font></i></p> <p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span style= =3D'font-size:10.0pt; font-family:Georgia'>To extract the logging information in my custom= appender class I have written the following code:</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span style= =3D'font-size:10.0pt; font-family:Georgia'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3D"=1B$B#M#S=1B(J =1B$B%4%7%C%/= =1B(J"><span style=3D'font-size:10.0pt; font-family:"=1B$B#M#S=1B(J =1B$B%4%7%C%/= =1B(J"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstring str(10u,' ');</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3D"=1B$B#M#S=1B(J =1B$B%4%7%C%/= =1B(J"><span style=3D'font-size:10.0pt; font-family:"=1B$B#M#S=1B(J =1B$B%4%7%C%/= =1B(J"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstringbuf *pStream =3D </span></font><font color=3Dblue><span style= =3D'color:blue'><font size=3D2 face=3D"=1B$B#M#S=1B(J =1B$B%4%7%C%/=1B(J"><span style= =3D'font-size:10.0pt;font-family:"=1B$B#M#S=1B(J =1B$B%4%7%C%/= =1B(J"'>new</span></font></span></font><font size=3D2 face=3D"=1B$B#M#S=1B(J =1B$B%4%7%C%/=1B(J"><span style= =3D'font-size:10.0pt;font-family:"=1B$B#M#S=1B(J =1B$B%4%7%C%/=1B(J"'> stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstringbuf;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3D"=1B$B#M#S=1B(J =1B$B%4%7%C%/= =1B(J"><span style=3D'font-size:10.0pt; font-family:"=1B$B#M#S=1B(J =1B$B%4%7%C%/= =1B(J"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= os-&gt;rdbuf(pStream);</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3D"=1B$B#M#S=1B(J =1B$B%4%7%C%/= =1B(J"><span style=3D'font-size:10.0pt; font-family:"=1B$B#M#S=1B(J =1B$B%4%7%C%/= =1B(J"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= pStream-&gt;str(str);</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3D"=1B$B#M#S=1B(J =1B$B%4%7%C%/= =1B(J"><span style=3D'font-size:10.0pt; font-family:"=1B$B#M#S=1B(J =1B$B%4%7%C%/=1B(J"'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span style= =3D'font-size:10.0pt; font-family:Georgia'>I tried to get the logging string from <i><span style=3D'font-style:italic'>str.c_str() function. </span></i>But this= function was always returning </span></font><font size=3D2 face=3DGeorgia><span style=3D'font-size:10.0pt;font-family:Georgia'>NULL</span></font><font= size=3D2 face=3DGeorgia><span style=3D'font-size:10.0pt;font-family:Georgia'>. Can= anybody tell what else need to be done to extract logging string or I am doing something wrong here.</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span style= =3D'font-size:10.0pt; font-family:Georgia'>&nbsp;</span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span style= =3D'font-size: 10.0pt'>&nbsp;</span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span style= =3D'font-size: 10.0pt'>&nbsp;</span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span style= =3D'font-size: 10.0pt'>&nbsp;</span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span style= =3D'font-size: 10.0pt'>-----Original Message-----<br> From: Curt Arnold [mailto:[email protected]] <br> Sent: 2005</span></font><font face=3D"=1B$B#M#S=1B(J =1B$BL@D+=1B(J"><span= lang=3DJA style=3D'font-family: "=1B$B#M#S=1B(J =1B$BL@D+=1B(J"'>=1B$BG/=1B(J</span></font>1<font face=3D"= =1B$B#M#S=1B(J =1B$BL@D+=1B(J"><span lang=3DJA style=3D'font-family: "=1B$B#M#S=1B(J =1B$BL@D+=1B(J"'>=1B$B7n=1B(J</span></font>10<font face=3D"= =1B$B#M#S=1B(J =1B$BL@D+=1B(J"><span lang=3DJA style=3D'font-family: "=1B$B#M#S=1B(J =1B$BL@D+=1B(J"'>=1B$BF|=1B(J</span></font> 22:34<br> To: Log4CXX User<br> Subject: Re: Problem with WriterAppender</p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span style= =3D'font-size: 10.0pt'>&nbsp;</span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span style= =3D'font-size: 10.0pt'>The implementation of WriterAppender is radically different in the= CVS </span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span style= =3D'font-size: 10.0pt'>and an appender written as you described will not be compatible= with </span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span style= =3D'font-size: 10.0pt'>the next development snapshot (the long awaited= 0.9.8)</span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span style= =3D'font-size: 10.0pt'>&nbsp;</span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span style= =3D'font-size: 10.0pt'>Unless you have a compelling reason to stay with 0.9.7, I would= </span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span style= =3D'font-size: 10.0pt'>strongly suggest that you write your custom appender against the CVS.&nbsp; </span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span style= =3D'font-size: 10.0pt'>In the CVS, all that would be necessary is to overload the= appropriate </span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span style= =3D'font-size: 10.0pt'>subAppend method.&nbsp; The appropriate method would depend on= where you </span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span style= =3D'font-size: 10.0pt'>would like to intercept the rendering, for example, would you like= the </span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span style= =3D'font-size: 10.0pt'>message as an LogString or as a byte array in the specified= encoding.</span></font></p> </div> </body> </html> <table><tr><td bgcolor=3D#ffffff><font color=3D#000000><br> <br> Confidentiality Notice <br> <br> The information contained in this electronic message and any attachments to= this message are intended<br> for the exclusive use of the addressee(s) and may contain confidential or= privileged information. If<br> you are not the intended recipient, please notify the sender at Wipro or= [email protected] immediately<br> and destroy all copies of this message and any attachments.<br> </font></td></tr></table> ------=_NextPart_000_003F_01C4F7CD.56096870-- From [email protected] Tue Jan 11 07:40:03 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59766 invoked from network); 11 Jan 2005 07:40:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 11 Jan 2005 07:40:03 -0000 Received: (qmail 31791 invoked by uid 500); 11 Jan 2005 07:40:02 -0000 Delivered-To: [email protected] Received: (qmail 31772 invoked by uid 500); 11 Jan 2005 07:40:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 31757 invoked by uid 99); 11 Jan 2005 07:40:02 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=HTML_MESSAGE,HTML_TEXT_AFTER_BODY,HTML_TEXT_AFTER_HTML X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from wip-ectls-mx1.wipro.com (HELO wip-ectls-mx1.wipro.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 10 Jan 2005 23:40:00 -0800 Received: from wip-ectls-mx1.wipro.com (localhost.localdomain [161.129.204.104]) by localhost (Postfix) with ESMTP id 535702201C9 for <[email protected]>; Tue, 11 Jan 2005 13:10:17 +0530 (IST) Received: from blr-ec-bh1.wipro.com (blr-ec-bh1.wipro.com [161.129.204.104]) by wip-ectls-mx1.wipro.com (Postfix) with ESMTP id 47CF1220007 for <[email protected]>; Tue, 11 Jan 2005 13:10:17 +0530 (IST) Received: from pne-hjn-msg.wipro.com ([161.129.204.104]) by blr-ec-bh1.wipro.com with Microsoft SMTPSVC(6.0.3790.211); Tue, 11 Jan 2005 13:10:30 +0530 Received: from HJNAVAYA124469 ([161.129.204.104]) by pne-hjn-msg.wipro.com with Microsoft SMTPSVC(6.0.3790.211); Tue, 11 Jan 2005 13:10:29 +0530 From: "Prosenjit Sinha" <[email protected]> To: "'Log4CXX User'" <[email protected]> Subject: Query on RollingFileAppender Date: Tue, 11 Jan 2005 13:10:44 +0530 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0079_01C4F7DE.F5402A80" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 x-mimeole: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal X-OriginalArrivalTime: 11 Jan 2005 07:40:29.0372 (UTC) FILETIME=[D2A797C0:01C4F7B0] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_0079_01C4F7DE.F5402A80 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Hi, Is it possible to customize the naming convention used by RollingFileAppender? Currently it appends an integer value after a new= file is generated. I want to name the new file according to my requirement (I want to append current timing ). Is it possible with current version of log4cxx? =0D =0D Regards Prosenjit Sinha Project Engineer=0D "Simplicity is the ultimate sophistication."=0D =0D =0D Confidentiality Notice=0D The information contained in this electronic message and any attachments to= this message are intended for the exclusive use of the addressee(s) and may contain confidential or= privileged information. If you are not the intended recipient, please notify the sender at Wipro or= [email protected] immediately and destroy all copies of this message and any attachments. ------=_NextPart_000_0079_01C4F7DE.F5402A80 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable <html> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset= =3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"MS Mincho"; panose-1:(262)914-4166;} @font-face {font-family:Georgia; panose-1:2 4 5 2 5 4 5 2 3 3;} @font-face {font-family:"Monotype Corsiva"; panose-1:3 1 1 1 1 2 1 1 1 1;} @font-face {font-family:"MS Mincho"; panose-1:(262)914-4166;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {font-family:Georgia; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span style= =3D'font-size:10.0pt; font-family:Georgia'>Hi,</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span style= =3D'font-size:10.0pt; font-family:Georgia'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Is it possible to customize the naming convention used by RollingFileAppender?= &nbsp;Currently it appends an integer value after a </span></font><font size=3D2 face= =3DGeorgia><span style=3D'font-size:10.0pt;font-family:Georgia'>new</span></font><font size= =3D2 face=3DGeorgia><span style=3D'font-size:10.0pt;font-family:Georgia'> file= is generated. I want to name the </span></font><font size=3D2 face= =3DGeorgia><span style=3D'font-size:10.0pt;font-family:Georgia'>new</span></font><font size= =3D2 face=3DGeorgia><span style=3D'font-size:10.0pt;font-family:Georgia'> file= according to my requirement (I want to append current timing ). Is it possible with current version of log4cxx?</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span style= =3D'font-size:10.0pt; font-family:Georgia'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style= =3D'font-size: 12.0pt'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D3 color=3Dteal face=3D"Monotype= Corsiva"><span style=3D'font-size:12.0pt;font-family:"Monotype= Corsiva";color:teal'>Regards</span></font></p> <p class=3DMsoNormal><font size=3D3 color=3Dteal face=3D"Monotype Corsiva"><span style= =3D'font-size:12.0pt; font-family:"Monotype Corsiva";color:teal'>Prosenjit</span></font><font color=3Dteal face=3D"Monotype Corsiva"><span style= =3D'font-family:"Monotype Corsiva"; color:teal'> Sinha</span></font></p> <p class=3DMsoNormal><font size=3D3 color=3Dteal face=3D"Monotype= Corsiva"><span style=3D'font-size:12.0pt;font-family:"Monotype= Corsiva";color:teal'>Project Engineer&nbsp;</span></font></p> <p class=3DMsoNormal><em><i><font size=3D2 color=3Dred face=3D"Times New= Roman"><span style=3D'font-size:10.0pt;color:red'>&quot;Simplicity is the ultimate sophistication.&quot;</span></font></i></em><em><i><font size=3D2 color= =3Dblack face=3D"Times New Roman"><span style=3D'font-size:10.0pt;color:black'>= </span></font></i></em></p> <p class=3DMsoNormal><font size=3D2 color=3Dblack face=3D"Times New= Roman"><span style=3D'font-size:10.0pt;color:black'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style= =3D'font-size: 12.0pt'>&nbsp;</span></font></p> </div> </body> </html> <table><tr><td bgcolor=3D#ffffff><font color=3D#000000><br> <br> Confidentiality Notice <br> <br> The information contained in this electronic message and any attachments to= this message are intended<br> for the exclusive use of the addressee(s) and may contain confidential or= privileged information. If<br> you are not the intended recipient, please notify the sender at Wipro or= [email protected] immediately<br> and destroy all copies of this message and any attachments.<br> </font></td></tr></table> ------=_NextPart_000_0079_01C4F7DE.F5402A80-- From [email protected] Tue Jan 11 07:54:11 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65956 invoked from network); 11 Jan 2005 07:54:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 11 Jan 2005 07:54:11 -0000 Received: (qmail 44619 invoked by uid 500); 11 Jan 2005 07:54:11 -0000 Delivered-To: [email protected] Received: (qmail 44479 invoked by uid 500); 11 Jan 2005 07:54:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 44466 invoked by uid 99); 11 Jan 2005 07:54:10 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from smail4.alcatel.fr (HELO smail4.alcatel.fr) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 10 Jan 2005 23:54:09 -0800 Received: from bsf.alcatel.fr (mail205.dit.sxb.bsf.alcatel.fr [161.129.204.104]) by smail4.alcatel.fr (ALCANET/NETFR) with ESMTP id j0B7s5IZ014829 for <[email protected]>; Tue, 11 Jan 2005 08:54:05 +0100 Received: from bsbrest.bst.bsf.alcatel.fr (bsbrest [161.129.204.104]) by bsf.alcatel.fr (8.8.8p2+Sun/8.9.3) with ESMTP id IAA20957 for <[email protected]>; Tue, 11 Jan 2005 08:54:04 +0100 (MET) Received: from alcatel.fr (frbred0059054 [161.129.204.104]) by bsbrest.bst.bsf.alcatel.fr (8.11.6+Sun/8.9.1) with ESMTP id j0B7s4I12755 for <[email protected]>; Tue, 11 Jan 2005 08:54:04 +0100 (MET) Message-ID: <[email protected]> Date: Tue, 11 Jan 2005 08:54:04 +0100 From: maryline royer <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: 0.9.8 version Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Alcanet-MTA-scanned-and-authorized: yes X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello, I wait for the 0.9.8 version. When is it planned ? Best regards. From [email protected] Tue Jan 11 16:44:37 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91488 invoked from network); 11 Jan 2005 16:44:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 11 Jan 2005 16:44:37 -0000 Received: (qmail 26606 invoked by uid 500); 11 Jan 2005 16:44:37 -0000 Delivered-To: [email protected] Received: (qmail 26583 invoked by uid 500); 11 Jan 2005 16:44:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 26569 invoked by uid 99); 11 Jan 2005 16:44:35 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 11 Jan 2005 08:44:35 -0800 Received: (qmail 91456 invoked from network); 11 Jan 2005 16:44:34 -0000 Received: from localhost.hyperreal.org (HELO ?IPvacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b:1?) (161.129.204.104) by localhost.hyperreal.org with SMTP; 11 Jan 2005 16:44:34 -0000 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Curt Arnold <[email protected]> Subject: Re: 0.9.8 version (poll) Date: Tue, 11 Jan 2005 10:44:33 -0600 To: Log4CXX User <[email protected]> X-Mailer: Apple Mail (2.619) X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Jan 11, 2005, at 1:54 AM, on log4cxx-user maryline royer wrote: > Hello, > > I wait for the 0.9.8 version. When is it planned ? > Don't we all. I would love to retire 0.9.7. As an Apache incubated project, we can't actually have a release, but need approval from the incubator project management committee (http://incubator.apache.org/incubation/ Incubation_Policy.html#Releases%0D) to have a code snapshot. Currently, the PMC is voting on exiting log4cxx from the Incubator but it has taken a long time to get any type of quorum. If we knew that we would be out of incubation shortly, we could do plan for a real release after leaving the incubator. If we knew that we weren't getting out of incubation, we could petition the Incubator PMC to sanction a code snapshot. In addition, the current CVS is a regression from 0.9.8 in that some features that were in 0.9.7 have been disabled in the CVS. The SocketAppender and SocketHubAppender are the first that come to mind. In a perfect world, we'd be able to get SocketAppender to talk with the log4j implementation (http://issues.apache.org/jira/browse/LOGCXX-7). However, that needs to synchronize with changes in log4j and won't likely happen fast enough to go into 0.9.8. The other thing that I would like to have done in time for 0.9.8, but might not make it is http://issues.apache.org/jira/browse/LOGCXX-35 which would basically migrate log4cxx away from MSXML and libxml2 to the expat parser provided in APR. This would likely requiring porting the new "Joran" configurator from log4cxx. My take is to continue working off as many issues as possible and prepare a release as soon as we exit the incubator. We are in a bit of a chicken and egg syndrome, people won't check out the new changes in log4cxx until there is a release and we shouldn't be releasing software that hasn't been tested. I would encourage as many people as possible to try the CVS version and log any issues that you have on the JIRA and mention whether you consider them to be showstoppers for a 0.9.8 release. So, let me throw out a few questions for a poll. A) Is the current CVS ready for a release (+1 - yes, 0 - haven't tried it/maybe, -1 no). If 0 or -1 explain. B) Should log4cxx encourage the Incubator PMC to finish up their vote? (+1/0/-1) C) Should log4cxx petition the Incubator PMC for a sanction for a code snapshot? D) What platforms/compilers need to be tested before release/code snapshot: (list all that apply) 1. x86 Linux/gcc 2. Windows/Visual C++ 5 3. Windows/Visual C++ 6 4. Windows/Visual C++ 2001 5. Windows/Visual C++ 2003 6. Windows/Visual C++ 2005 7. Windows/Borland (5.5 or CBuilderX) 8. Cygwin 9. MinGW 10. FreeBSD 11. NetBSD 12. Mac OS/X 13. x86_64 Linux/gcc 14. x86_64 Windows/appropriate MS compiler 15. Others (plus describe) E) What platforms are you able to test: (list all that apply) F) What platforms have you tested (list all that apply) From [email protected] Tue Jan 11 17:16:04 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9549 invoked from network); 11 Jan 2005 17:16:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 11 Jan 2005 17:16:04 -0000 Received: (qmail 7470 invoked by uid 500); 11 Jan 2005 17:16:03 -0000 Delivered-To: [email protected] Received: (qmail 7442 invoked by uid 500); 11 Jan 2005 17:16:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 7422 invoked by uid 99); 11 Jan 2005 17:16:03 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=HTML_MESSAGE,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from hkgsmtpgw01.oocl.com (HELO hkgsmtpgw01.OOCL.COM) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 11 Jan 2005 09:16:00 -0800 Received: from oocl.com ([161.129.204.104]) by hkgsmtpgw01.OOCL.COM with InterScan Messaging Security Suite; Wed, 12 Jan 2005 01:20:13 +0800 Received: from aptmailhub.oocl.com ([161.129.204.104]) by oocl.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 12 Jan 2005 01:15:54 +0800 Received: from sntmail2.corp.oocl.com ([161.129.204.104]) by aptmailhub.oocl.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 12 Jan 2005 01:15:53 +0800 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4F801.3318805D" Subject: RE: 0.9.8 version (poll) Date: Tue, 11 Jan 2005 09:15:50 -0800 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 0.9.8 version (poll) Thread-Index: AcT3/OsX4ltWfgM0THi5/ltP+j/fZwAArKMA From: <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 11 Jan 2005 17:15:53.0937 (UTC) FILETIME=[34E62410:01C4F801] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C4F801.3318805D Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Sir, =20 In response to your request for a poll, I wasn't sure if I should attempt to post to the mailing list (haven't ever done that) or send this directly to you. I opted for the easier solution as I'm very new to the Apache forum techniques. =20 Tom Hawker Office (262)914-4166 PCS (262)914-4166 -----Original Message----- From: Curt Arnold [mailto:[email protected]]=20 Sent: Tuesday, January 11, 2005 08:45 AM To: Log4CXX User Subject: Re: 0.9.8 version (poll) =20 =20 [snipped] =20 We are in a bit of a chicken and egg syndrome, people won't check out =20 the new changes in log4cxx until there is a release and we shouldn't be releasing software that hasn't been tested. I would encourage as many =20 people as possible to try the CVS version and log any issues that you =20 have on the JIRA and mention whether you consider them to be =20 showstoppers for a 0.9.8 release. =20 I haven't figured out how to get the release out of CVS. I read the [very terse] instructions, but haven't gotten there. I've already found several problems with DailyRollingFileAppender, which I understand is deprecated. I'll certainly make the effort to bring up 0.9.8(dev). =20 So, let me throw out a few questions for a poll. =20 A) Is the current CVS ready for a release (+1 - yes, 0 - haven't tried =20 it/maybe, -1 no). If 0 or -1 explain. =20 0 - 0.9.7 has problems I wouldn't put in product, but those problems are obsolete. I haven't pulled over the new CVS code, so don't know what to expect. It's on my medium-to-low priority list. =20 B) Should log4cxx encourage the Incubator PMC to finish up their vote? =20 (+1/0/-1) =20 +1 - I'm trying to retire a home-grown logger and make things consistent with the Java group. (I'm in Cincom Smalltalk connecting to the C/C++ world.) If this works reliably, we may very well try to use this from Gemstone as well. =20 C) Should log4cxx petition the Incubator PMC for a sanction for a code snapshot? =20 +1 - If (B) fails, go for a code snapshot. =20 D) What platforms/compilers need to be tested before release/code =20 snapshot: (list all that apply) =20 1. x86 Linux/gcc 2. Windows/Visual C++ 5 3. Windows/Visual C++ 6 4. Windows/Visual C++ 2001 5. Windows/Visual C++ 2003 6. Windows/Visual C++ 2005 7. Windows/Borland (5.5 or CBuilderX) 8. Cygwin 9. MinGW 10. FreeBSD 11. NetBSD 12. Mac OS/X 13. x86_64 Linux/gcc 14. x86_64 Windows/appropriate MS compiler 15. Others (plus describe) =20 Item 3 for Windows, plus HP/UX, possibly Solaris. (I know we have development environments, but haven't used them yet.) =20 E) What platforms are you able to test: (list all that apply) =20 Windows/XP SP1, HP/UX 11.11, possibly Solaris 8 (I don't think we're running 9, and don't know if I have access to the server). I still have a Windows/2K available, if you want that one. =20 F) What platforms have you tested (list all that apply) =20 Windows/XP SP1. =20 =20 IMPORTANT NOTICE Email from OOCL is confidential and may be legally privileged. If it is = not intended for you, please delete it immediately unread. The internet = cannot guarantee that this communication is free of viruses, = interception or interference and anyone who communicates with us by = email is taken to accept the risks in so doing. Without limitation, = OOCL and its affiliates accept no liability whatsoever and howsoever = arising in connection with the use of this email. Under no = circumstances shall this email constitute a binding agreement to carry = or for provision of carriage services by OOCL, which is subject to the = availability of carrier's equipment and vessels and the terms and = conditions of OOCL's standard bill of lading which is also available at = http://www.oocl.com. ------_=_NextPart_001_01C4F801.3318805D Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Wingdings; panose-1:5 0 0 0 0 0 0 0 0 0;} @font-face {font-family:"Bookman Old Style"; panose-1:(262)914-4166;} @font-face {font-family:Verdana; panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face {font-family:"Arial Narrow"; panose-1:2 11 5 6 2 2 2 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} h1 {margin-top:.25in; margin-right:0in; margin-bottom:6.0pt; margin-left:0in; page-break-before:always; page-break-after:avoid; font-size:14.0pt; font-family:Verdana; font-weight:bold;} h2 {margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; page-break-after:avoid; font-size:12.0pt; font-family:Verdana; font-weight:bold;} h3 {margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; page-break-after:avoid; font-size:12.0pt; font-family:Arial; font-weight:bold;} h4 {margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; page-break-after:avoid; font-size:12.0pt; font-family:Arial; font-weight:bold;} h5 {margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; font-size:10.0pt; font-family:"Bookman Old Style"; font-weight:bold;} h6 {margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; font-size:10.0pt; font-family:"Bookman Old Style"; font-weight:normal; font-style:italic;} p.MsoHeading7, li.MsoHeading7, div.MsoHeading7 {margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoHeading8, li.MsoHeading8, div.MsoHeading8 {margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; font-size:9.0pt; font-family:"Bookman Old Style";} p.MsoHeading9, li.MsoHeading9, div.MsoHeading9 {margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; font-size:9.0pt; font-family:"Bookman Old Style"; font-style:italic;} p.MsoIndex1, li.MsoIndex1, div.MsoIndex1 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:10.0pt; margin-bottom:.0001pt; text-indent:-10.0pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoIndex2, li.MsoIndex2, div.MsoIndex2 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:20.0pt; margin-bottom:.0001pt; text-indent:-10.0pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoIndex3, li.MsoIndex3, div.MsoIndex3 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:30.0pt; margin-bottom:.0001pt; text-indent:-10.0pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoIndex4, li.MsoIndex4, div.MsoIndex4 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:40.0pt; margin-bottom:.0001pt; text-indent:-10.0pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoIndex5, li.MsoIndex5, div.MsoIndex5 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:50.0pt; margin-bottom:.0001pt; text-indent:-10.0pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoIndex6, li.MsoIndex6, div.MsoIndex6 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:60.0pt; margin-bottom:.0001pt; text-indent:-10.0pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoIndex7, li.MsoIndex7, div.MsoIndex7 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:70.0pt; margin-bottom:.0001pt; text-indent:-10.0pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoIndex8, li.MsoIndex8, div.MsoIndex8 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:80.0pt; margin-bottom:.0001pt; text-indent:-10.0pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoIndex9, li.MsoIndex9, div.MsoIndex9 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:1.25in; margin-bottom:.0001pt; text-indent:-10.0pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoToc1, li.MsoToc1, div.MsoToc1 {margin-top:3.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; font-size:10.0pt; font-family:Tahoma; font-weight:bold;} p.MsoToc2, li.MsoToc2, div.MsoToc2 {margin-top:3.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:51.0pt; text-indent:-34.0pt; font-size:10.0pt; font-family:Tahoma;} p.MsoToc3, li.MsoToc3, div.MsoToc3 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:51.15pt; margin-bottom:.0001pt; text-indent:-33.85pt; font-size:10.0pt; font-family:"Bookman Old Style"; font-style:italic;} p.MsoToc4, li.MsoToc4, div.MsoToc4 {margin-top:3.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:51.0pt; text-indent:-34.0pt; font-size:9.0pt; font-family:"Bookman Old Style";} p.MsoToc5, li.MsoToc5, div.MsoToc5 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:40.0pt; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoToc6, li.MsoToc6, div.MsoToc6 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:50.0pt; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoToc7, li.MsoToc7, div.MsoToc7 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:60.0pt; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoToc8, li.MsoToc8, div.MsoToc8 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:70.0pt; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoToc9, li.MsoToc9, div.MsoToc9 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:80.0pt; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoNormalIndent, li.MsoNormalIndent, div.MsoNormalIndent {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoFootnoteText, li.MsoFootnoteText, div.MsoFootnoteText {margin-top:3.0pt; margin-right:0in; margin-bottom:0in; margin-left:9.35pt; margin-bottom:.0001pt; text-indent:-9.35pt; font-size:9.0pt; font-family:"Bookman Old Style";} p.MsoCommentText, li.MsoCommentText, div.MsoCommentText {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoHeader, li.MsoHeader, div.MsoHeader {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:0in; font-size:10.0pt; font-family:Verdana; font-weight:bold;} p.MsoHeaderCxSpFirst, li.MsoHeaderCxSpFirst, div.MsoHeaderCxSpFirst {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:Verdana; font-weight:bold;} p.MsoHeaderCxSpMiddle, li.MsoHeaderCxSpMiddle, div.MsoHeaderCxSpMiddle {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:Verdana; font-weight:bold;} p.MsoHeaderCxSpLast, li.MsoHeaderCxSpLast, div.MsoHeaderCxSpLast {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:0in; font-size:10.0pt; font-family:Verdana; font-weight:bold;} p.MsoFooter, li.MsoFooter, div.MsoFooter {margin-top:6.0pt; margin-right:0in; margin-bottom:0in; margin-left:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:Verdana; font-weight:bold;} p.MsoFooterCxSpFirst, li.MsoFooterCxSpFirst, div.MsoFooterCxSpFirst {margin-top:6.0pt; margin-right:0in; margin-bottom:0in; margin-left:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:Verdana; font-weight:bold;} p.MsoFooterCxSpMiddle, li.MsoFooterCxSpMiddle, div.MsoFooterCxSpMiddle {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:Verdana; font-weight:bold;} p.MsoFooterCxSpLast, li.MsoFooterCxSpLast, div.MsoFooterCxSpLast {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:Verdana; font-weight:bold;} p.MsoIndexHeading, li.MsoIndexHeading, div.MsoIndexHeading {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:Arial; font-weight:bold;} p.MsoTof, li.MsoTof, div.MsoTof {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.75in; margin-bottom:.0001pt; text-indent:-.75in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoEnvelopeAddress, li.MsoEnvelopeAddress, div.MsoEnvelopeAddress {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:2.0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:Arial;} p.MsoEnvelopeReturn, li.MsoEnvelopeReturn, div.MsoEnvelopeReturn {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:Arial;} span.MsoFootnoteReference {vertical-align:super;} span.MsoCommentReference {font-family:Arial;} span.MsoEndnoteReference {vertical-align:super;} p.MsoEndnoteText, li.MsoEndnoteText, div.MsoEndnoteText {margin-top:6.0pt; margin-right:0in; margin-bottom:0in; margin-left:.2in; margin-bottom:.0001pt; text-indent:-.2in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoToa, li.MsoToa, div.MsoToa {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:10.0pt; margin-bottom:.0001pt; text-indent:-10.0pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoToaHeading, li.MsoToaHeading, div.MsoToaHeading {margin-top:6.0pt; margin-right:0in; margin-bottom:0in; margin-left:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:Arial; font-weight:bold;} p.MsoList, li.MsoList, div.MsoList {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.25in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListBullet, li.MsoListBullet, div.MsoListBullet {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.25in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListNumber, li.MsoListNumber, div.MsoListNumber {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.25in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoList2, li.MsoList2, div.MsoList2 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoList3, li.MsoList3, div.MsoList3 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.75in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoList4, li.MsoList4, div.MsoList4 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:1.0in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoList5, li.MsoList5, div.MsoList5 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:1.25in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListBullet2, li.MsoListBullet2, div.MsoListBullet2 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListBullet3, li.MsoListBullet3, div.MsoListBullet3 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.75in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListBullet4, li.MsoListBullet4, div.MsoListBullet4 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:1.0in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListBullet5, li.MsoListBullet5, div.MsoListBullet5 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.25in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListNumber2, li.MsoListNumber2, div.MsoListNumber2 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListNumber3, li.MsoListNumber3, div.MsoListNumber3 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.75in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListNumber4, li.MsoListNumber4, div.MsoListNumber4 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:1.0in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListNumber5, li.MsoListNumber5, div.MsoListNumber5 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:1.25in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoTitle, li.MsoTitle, div.MsoTitle {margin-top:.25in; margin-right:0in; margin-bottom:6.0pt; margin-left:0in; page-break-before:always; page-break-after:avoid; font-size:14.0pt; font-family:Verdana; font-weight:bold;} p.MsoClosing, li.MsoClosing, div.MsoClosing {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:3.0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoSignature, li.MsoSignature, div.MsoSignature {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:3.0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoBodyText, li.MsoBodyText, div.MsoBodyText {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:0in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoBodyTextIndent, li.MsoBodyTextIndent, div.MsoBodyTextIndent {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListContinue, li.MsoListContinue, div.MsoListContinue {margin-top:6.0pt; margin-right:0in; margin-bottom:0in; margin-left:.25in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListContinue2, li.MsoListContinue2, div.MsoListContinue2 {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:.5in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListContinue3, li.MsoListContinue3, div.MsoListContinue3 {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:.75in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListContinue4, li.MsoListContinue4, div.MsoListContinue4 {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:1.0in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListContinue5, li.MsoListContinue5, div.MsoListContinue5 {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:1.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoMessageHeader, li.MsoMessageHeader, div.MsoMessageHeader {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.75in; margin-bottom:.0001pt; text-indent:-.75in; background:#CCCCCC; border:none; padding:0in; font-size:12.0pt; font-family:Arial;} p.MsoSubtitle, li.MsoSubtitle, div.MsoSubtitle {margin-top:0in; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; text-align:center; font-size:12.0pt; font-family:Arial;} p.MsoSalutation, li.MsoSalutation, div.MsoSalutation {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoDate, li.MsoDate, div.MsoDate {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoBodyTextFirstIndent, li.MsoBodyTextFirstIndent, = div.MsoBodyTextFirstIndent {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:0in; text-indent:10.5pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoBodyTextFirstIndent2, li.MsoBodyTextFirstIndent2, = div.MsoBodyTextFirstIndent2 {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:.25in; text-indent:10.5pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoBodyText2, li.MsoBodyText2, div.MsoBodyText2 {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:0in; line-height:200%; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoBodyText3, li.MsoBodyText3, div.MsoBodyText3 {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:0in; font-size:8.0pt; font-family:"Bookman Old Style";} p.MsoBodyTextIndent2, li.MsoBodyTextIndent2, div.MsoBodyTextIndent2 {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:.25in; line-height:200%; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoBodyTextIndent3, li.MsoBodyTextIndent3, div.MsoBodyTextIndent3 {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:.25in; font-size:8.0pt; font-family:"Bookman Old Style";} p.MsoBlockText, li.MsoBlockText, div.MsoBlockText {margin-top:0in; margin-right:1.0in; margin-bottom:6.0pt; margin-left:1.0in; font-size:10.0pt; font-family:"Bookman Old Style";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} p.MsoDocumentMap, li.MsoDocumentMap, div.MsoDocumentMap {margin:0in; margin-bottom:.0001pt; background:navy; font-size:10.0pt; font-family:Tahoma;} p.MsoPlainText, li.MsoPlainText, div.MsoPlainText {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Courier New";} p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} address {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style"; font-style:italic;} code {font-family:"Courier New";} kbd {font-family:"Courier New";} pre {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Courier New";} samp {font-family:"Courier New";} tt {font-family:"Courier New";} p.MsoCommentSubject, li.MsoCommentSubject, div.MsoCommentSubject {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style"; font-weight:bold;} p.MsoAcetate, li.MsoAcetate, div.MsoAcetate {margin:0in; margin-bottom:.0001pt; font-size:8.0pt; font-family:Tahoma;} span.Code {font-family:"Courier New";} span.Attention {font-family:Tahoma; color:red; font-weight:bold;} p.Open, li.Open, div.Open {margin-top:12.0pt; margin-right:0in; margin-bottom:0in; margin-left:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.BulletedList, li.BulletedList, div.BulletedList {margin-top:6.0pt; margin-right:0in; margin-bottom:0in; margin-left:.25in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.NumberedList1, li.NumberedList1, div.NumberedList1 {margin-top:6.0pt; margin-right:0in; margin-bottom:0in; margin-left:.25in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} @page Section1 {size:8.5in 11.0in; margin:1.0in 77.95pt 1.0in 77.95pt;} div.Section1 {page:Section1;} /* List Definitions */ ol {margin-bottom:0in;} ul {margin-bottom:0in;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoPlainText><span lang=3DEN-GB = style=3D'color:blue'>Sir,</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB = style=3D'color:blue'>&nbsp;</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB style=3D'color:blue'>In = response to your request for a poll, I wasn't sure if I should attempt to post to the = mailing list (haven't ever done that) or send this directly to you. &nbsp;I = opted for the easier solution as I&#8217;m very new to the Apache forum = techniques.</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB = style=3D'color:blue'>&nbsp;</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB style=3D'color:blue'>Tom = Hawker</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB = style=3D'color:blue'>Office&nbsp;&nbsp;&nbsp; 408&#8211;576&#8211;6591</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB = style=3D'color:blue'>PCS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;913&#8211;488&#8211;0796</span></p> <p class=3DMsoPlainText>-----Original Message-----<br> From: Curt Arnold [mailto:[email protected]] <br> Sent: Tuesday, January 11, 2005 08:45 AM<br> To: Log4CXX User<br> Subject: Re: 0.9.8 version (poll)</p> <p class=3DMsoPlainText><span lang=3DEN-GB>&nbsp;</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>&nbsp;</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB = style=3D'color:blue'>[snipped]</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>&nbsp;</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>We are in a bit of a chicken = and egg syndrome, people won't check out&nbsp; </span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>the new changes in log4cxx = until there is a release and we shouldn't be&nbsp; </span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>releasing software that = hasn't been tested.&nbsp; I would encourage as many&nbsp; </span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>people as possible to try the = CVS version and log any issues that you&nbsp; </span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>have on the JIRA and mention = whether you consider them to be&nbsp; </span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>showstoppers for a 0.9.8 = release.</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB = style=3D'color:black'>&nbsp;</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB style=3D'color:blue'>I = haven&#8217;t figured out how to get the release out of CVS. &nbsp;I read the [very = terse] instructions, but haven&#8217;t gotten there. &nbsp;I&#8217;ve already = found several problems with DailyRollingFileAppender, which I understand is deprecated.&nbsp; I&#8217;ll certainly make the effort to bring up = 0.9.8(dev).</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>&nbsp;</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>So, let me throw out a few = questions for a poll.</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>&nbsp;</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>A) Is the current CVS ready = for a release (+1 - yes, 0 - haven't tried&nbsp; </span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>it/maybe, -1 no).&nbsp; If 0 = or -1 explain.</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB = style=3D'color:black'>&nbsp;</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB style=3D'color:blue'>0 = &#8211; 0.9.7 has problems I wouldn&#8217;t put in product, but those problems are = obsolete. &nbsp;I haven&#8217;t pulled over the new CVS code, so don&#8217;t know what to = expect. &nbsp;It&#8217;s on my medium-to-low priority list.</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>&nbsp;</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>B) Should log4cxx encourage = the Incubator PMC to finish up their vote?&nbsp; </span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>(+1/0/-1)</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB = style=3D'color:black'>&nbsp;</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB style=3D'color:blue'>+1 = &#8211; I&#8217;m trying to retire a home-grown logger and make things consistent with the = Java group. &nbsp;(I&#8217;m in Cincom Smalltalk connecting to the C/C++ = world.)&nbsp; If this works reliably, we may very well try to use this from Gemstone = as well.</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>&nbsp;</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>C) Should log4cxx petition = the Incubator PMC for a sanction for a code snapshot?</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB = style=3D'color:black'>&nbsp;</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB style=3D'color:blue'>+1 = &#8211; If (B) fails, go for a code snapshot.</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>&nbsp;</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>D) What platforms/compilers = need to be tested before release/code&nbsp; </span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>snapshot: (list all that = apply)</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>&nbsp;</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>1.&nbsp;&nbsp;&nbsp; x86 = Linux/gcc</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>2.&nbsp;&nbsp;&nbsp;&nbsp; Windows/Visual C++ 5</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>3.&nbsp;&nbsp;&nbsp;&nbsp; Windows/Visual C++ 6</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>4.&nbsp;&nbsp;&nbsp;&nbsp; Windows/Visual C++ 2001</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>5.&nbsp;&nbsp;&nbsp;&nbsp; Windows/Visual C++ 2003</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>6.&nbsp;&nbsp;&nbsp;&nbsp; Windows/Visual C++ 2005</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>7.&nbsp;&nbsp;&nbsp;&nbsp; Windows/Borland (5.5 or CBuilderX)</span></p> <p class=3DMsoPlainText><span = lang=3DEN-GB>8.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cygwin</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>9.&nbsp;&nbsp;&nbsp;&nbsp; = MinGW</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>10.&nbsp;&nbsp;&nbsp; = FreeBSD</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>11.&nbsp;&nbsp;&nbsp; = NetBSD</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>12.&nbsp;&nbsp;&nbsp; Mac = OS/X</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>13.&nbsp; x86_64 = Linux/gcc</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>14.&nbsp; x86_64 = Windows/appropriate MS compiler</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>15. Others (plus = describe)</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB = style=3D'color:black'>&nbsp;</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB style=3D'color:blue'>Item 3 = for Windows, plus HP/UX, possibly Solaris. &nbsp;(I know we have development environments, = but haven&#8217;t used them yet.)</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>&nbsp;</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>E) What platforms are you = able to test: (list all that apply)</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB = style=3D'color:black'>&nbsp;</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB = style=3D'color:blue'>Windows/XP SP1, HP/UX 11.11, possibly Solaris 8 (I don&#8217;t think we&#8217;re running 9, = and don&#8217;t know if I have access to the server).&nbsp; I still have a Windows/2K available, if you want that one.</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>&nbsp;</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>F) What platforms have you = tested (list all that apply)</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB = style=3D'color:black'>&nbsp;</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB = style=3D'color:blue'>Windows/XP SP1.</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>&nbsp;</span></p> <p class=3DMsoPlainText><span lang=3DEN-GB>&nbsp;</span></p> </div> <br>IMPORTANT NOTICE<br>Email from OOCL is confidential and may be = legally privileged. If it is not intended for you, please delete it = immediately unread. The internet cannot guarantee that this = communication is free of viruses, interception or interference and = anyone who communicates with us by email is taken to accept the risks in = so doing. Without limitation, OOCL and its affiliates accept no = liability whatsoever and howsoever arising in connection with the use of = this email. Under no circumstances shall this email constitute a = binding agreement to carry or for provision of carriage services by = OOCL, which is subject to the availability of carrier's equipment and = vessels and the terms and conditions of OOCL's standard bill of lading = which is also available at http://www.oocl.com.<br></body> </html> ------_=_NextPart_001_01C4F801.3318805D-- From [email protected] Tue Jan 11 21:59:12 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69623 invoked from network); 11 Jan 2005 21:59:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 11 Jan 2005 21:59:12 -0000 Received: (qmail 94155 invoked by uid 500); 11 Jan 2005 21:59:12 -0000 Delivered-To: [email protected] Received: (qmail 94139 invoked by uid 500); 11 Jan 2005 21:59:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 94126 invoked by uid 99); 11 Jan 2005 21:59:11 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from tierw.net.avaya.com (HELO tierw.net.avaya.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 11 Jan 2005 13:59:10 -0800 Received: from tierw.net.avaya.com (localhost [161.129.204.104]) by tierw.net.avaya.com (Switch-3.1.2/Switch-3.1.0) with ESMTP id j0BLnpqm003751 for <[email protected]>; Tue, 11 Jan 2005 16:49:52 -0500 (EST) Received: from cof110avexu3.global.avaya.com (h135-9-6-18.avaya.com [161.129.204.104]) by tierw.net.avaya.com (Switch-3.1.2/Switch-3.1.0) with ESMTP id j0BLnoqm003724 for <[email protected]>; Tue, 11 Jan 2005 16:49:51 -0500 (EST) X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C4F828.C52D3843" Subject: RE: 0.9.8 version (poll) Date: Tue, 11 Jan 2005 14:59:06 -0700 Message-ID: <[email protected]> X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: 0.9.8 version (poll) Thread-Index: AcT3/OV/0l5QyTrLQumQJmVB8bnP1gAKr4VQ From: "Drapal, Myron E \(Myron\)" <[email protected]> To: "Log4CXX User" <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C4F828.C52D3843 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Given the interest in when 0.9.7 can be retired, I tried to get the CVS tree today, and build it on Windows. It seems rather broken, looks like a few files are missing in the current CVS tree and I'm not sure whether or not they should be there (they are there in the 0.9.7 version). For instance: boundedfifo.cpp, semaphore.cpp, event.cpp(!?), dailyrollingfileappender.cpp, criticalsection.cpp (and their associated .h files. I did a "clean" retrieval using WinCVS from the logging-log4cxx branch - I also checked the web site version and these files are not part of the CVS as displayed there. So I guess I'd answer A) below as -1 -> I can't build it to even test it yet, sorry. But I am interested in testing it, so if this is fixed soon, I'll be looking for it. Thanks. Myron Drapal [email protected] -----Original Message----- From: Curt Arnold [mailto:[email protected]]=20 Sent: Tuesday, January 11, 2005 9:45 AM To: Log4CXX User Subject: Re: 0.9.8 version (poll) On Jan 11, 2005, at 1:54 AM, on log4cxx-user maryline royer wrote: > Hello, > > I wait for the 0.9.8 version. When is it planned ? > Don't we all. I would love to retire 0.9.7. As an Apache incubated project, we can't actually have a release, but =20 need approval from the incubator project management committee =20 (http://incubator.apache.org/incubation/=20 Incubation_Policy.html#Releases%0D) to have a code snapshot. =20 Currently, the PMC is voting on exiting log4cxx from the Incubator but =20 it has taken a long time to get any type of quorum. If we knew that we would be out of incubation shortly, we could do plan for a real release after leaving the incubator. If we knew that we weren't getting out of incubation, we could petition the Incubator PMC to sanction a code =20 snapshot. In addition, the current CVS is a regression from 0.9.8 in that some =20 features that were in 0.9.7 have been disabled in the CVS. The =20 SocketAppender and SocketHubAppender are the first that come to mind. =20 In a perfect world, we'd be able to get SocketAppender to talk with the log4j implementation (http://issues.apache.org/jira/browse/LOGCXX-7). =20 However, that needs to synchronize with changes in log4j and won't =20 likely happen fast enough to go into 0.9.8. The other thing that I would like to have done in time for 0.9.8, but =20 might not make it is http://issues.apache.org/jira/browse/LOGCXX-35 =20 which would basically migrate log4cxx away from MSXML and libxml2 to =20 the expat parser provided in APR. This would likely requiring porting =20 the new "Joran" configurator from log4cxx. My take is to continue working off as many issues as possible and =20 prepare a release as soon as we exit the incubator. We are in a bit of a chicken and egg syndrome, people won't check out =20 the new changes in log4cxx until there is a release and we shouldn't be releasing software that hasn't been tested. I would encourage as many =20 people as possible to try the CVS version and log any issues that you =20 have on the JIRA and mention whether you consider them to be =20 showstoppers for a 0.9.8 release. So, let me throw out a few questions for a poll. A) Is the current CVS ready for a release (+1 - yes, 0 - haven't tried =20 it/maybe, -1 no). If 0 or -1 explain. B) Should log4cxx encourage the Incubator PMC to finish up their vote? =20 (+1/0/-1) C) Should log4cxx petition the Incubator PMC for a sanction for a code =20 snapshot? D) What platforms/compilers need to be tested before release/code =20 snapshot: (list all that apply) 1. x86 Linux/gcc 2. Windows/Visual C++ 5 3. Windows/Visual C++ 6 4. Windows/Visual C++ 2001 5. Windows/Visual C++ 2003 6. Windows/Visual C++ 2005 7. Windows/Borland (5.5 or CBuilderX) 8. Cygwin 9. MinGW 10. FreeBSD 11. NetBSD 12. Mac OS/X 13. x86_64 Linux/gcc 14. x86_64 Windows/appropriate MS compiler 15. Others (plus describe) E) What platforms are you able to test: (list all that apply) F) What platforms have you tested (list all that apply) ------_=_NextPart_001_01C4F828.C52D3843 Content-Type: text/x-vcard; name="Drapal, Myron E (Myron).vcf" Content-Transfer-Encoding: base64 Content-Description: Drapal, Myron E (Myron).vcf Content-Disposition: attachment; filename="Drapal, Myron E (Myron).vcf" QkVHSU46VkNBUkQNClZFUlNJT046Mi4xDQpOOkRyYXBhbDtNeXJvbg0KRk46RHJhcGFsLCBNeXJv biBFIChNeXJvbikNCk9SRzpBSUNTOzMwMDA0NDA3DQpURUw7V09SSztWT0lDRTorMSAzMDMgNTM4 IDM1MTMNCkFEUjtXT1JLOjtkMS1iMjE7MTMwMCBXZXN0IDEyMHRoIEF2ZW51ZTtXZXN0bWluc3Rl cjtDTzs4MDIzNC0yNzI2O1UgUw0KTEFCRUw7V09SSztFTkNPRElORz1RVU9URUQtUFJJTlRBQkxF OmQxLWIyMT0wRD0wQTEzMDAgV2VzdCAxMjB0aCBBdmVudWU9MEQ9MEFXZXN0bWluc3RlciwgQ08g ODAyMzQtMjcyNj0wRD0wQVUgUw0KRU1BSUw7UFJFRjtJTlRFUk5FVDpkcmFwYWxAYXZheWEuY29t DQpSRVY6MjAwNDA5MTBUMTY0NDA4Wg0KRU5EOlZDQVJEDQo= ------_=_NextPart_001_01C4F828.C52D3843-- From [email protected] Tue Jan 11 22:06:14 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73612 invoked from network); 11 Jan 2005 22:06:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 11 Jan 2005 22:06:14 -0000 Received: (qmail 13107 invoked by uid 500); 11 Jan 2005 22:06:13 -0000 Delivered-To: [email protected] Received: (qmail 13087 invoked by uid 500); 11 Jan 2005 22:06:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 13072 invoked by uid 99); 11 Jan 2005 22:06:13 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from proxy.matrikon.com (HELO outbound-smtp-edm.matrikon.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 11 Jan 2005 14:06:12 -0800 Received: from routing-smtp-edm.matrikon.com ([161.129.204.104]) by outbound-smtp-edm.matrikon.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 11 Jan 2005 15:06:08 -0700 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: 0.9.8 version (poll) Date: Tue, 11 Jan 2005 15:06:07 -0700 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 0.9.8 version (poll) thread-index: AcT3/OV/0l5QyTrLQumQJmVB8bnP1gAKr4VQAABVVjA= From: "Justin Chen" <[email protected]> To: "Log4CXX User" <[email protected]> X-OriginalArrivalTime: 11 Jan 2005 22:06:08.0827 (UTC) FILETIME=[C0FB78B0:01C4F829] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I finally managed to compile the cvs version with msvc6.0. The=20 five files you mentioned should be removed from the project, and you also have to add quite a few new files to the project. You can find out these files based on the analysis of the link errors.=20 Clearly, the .dsp file in the cvs is not up-to-date. Justin Chen > -----Original Message----- > From: Drapal, Myron E (Myron) [mailto:[email protected]] > Sent: Tuesday, January 11, 2005 2:59 PM > To: Log4CXX User > Subject: RE: 0.9.8 version (poll) >=20 >=20 > Given the interest in when 0.9.7 can be retired, I tried to=20 > get the CVS > tree today, and build it on Windows. It seems rather broken,=20 > looks like > a few files are missing in the current CVS tree and I'm not=20 > sure whether > or not they should be there (they are there in the 0.9.7=20 > version). For > instance: >=20 > boundedfifo.cpp, semaphore.cpp, event.cpp(!?), > dailyrollingfileappender.cpp, criticalsection.cpp (and their=20 > associated > .h files. >=20 > I did a "clean" retrieval using WinCVS from the=20 > logging-log4cxx branch - > I also checked the web site version and these files are not=20 > part of the > CVS as displayed there. >=20 > So I guess I'd answer A) below as -1 -> I can't build it to=20 > even test it > yet, sorry. >=20 > But I am interested in testing it, so if this is fixed soon, I'll be > looking for it. Thanks. >=20 > Myron Drapal > [email protected] >=20 > -----Original Message----- > From: Curt Arnold [mailto:[email protected]]=20 > Sent: Tuesday, January 11, 2005 9:45 AM > To: Log4CXX User > Subject: Re: 0.9.8 version (poll) >=20 >=20 > On Jan 11, 2005, at 1:54 AM, on log4cxx-user maryline royer wrote: >=20 > > Hello, > > > > I wait for the 0.9.8 version. When is it planned ? > > >=20 > Don't we all. I would love to retire 0.9.7. >=20 > As an Apache incubated project, we can't actually have a=20 > release, but =20 > need approval from the incubator project management committee =20 > (http://incubator.apache.org/incubation/=20 > Incubation_Policy.html#Releases%0D) to have a code snapshot. =20 > Currently, the PMC is voting on exiting log4cxx from the=20 > Incubator but =20 > it has taken a long time to get any type of quorum. If we=20 > knew that we >=20 > would be out of incubation shortly, we could do plan for a=20 > real release >=20 > after leaving the incubator. If we knew that we weren't=20 > getting out of >=20 > incubation, we could petition the Incubator PMC to sanction a code =20 > snapshot. >=20 > In addition, the current CVS is a regression from 0.9.8 in that some =20 > features that were in 0.9.7 have been disabled in the CVS. The =20 > SocketAppender and SocketHubAppender are the first that come=20 > to mind. =20 > In a perfect world, we'd be able to get SocketAppender to=20 > talk with the >=20 > log4j implementation=20 (http://issues.apache.org/jira/browse/LOGCXX-7). =20 However, that needs to synchronize with changes in log4j and won't =20 likely happen fast enough to go into 0.9.8. The other thing that I would like to have done in time for 0.9.8, but =20 might not make it is http://issues.apache.org/jira/browse/LOGCXX-35 =20 which would basically migrate log4cxx away from MSXML and libxml2 to =20 the expat parser provided in APR. This would likely requiring porting =20 the new "Joran" configurator from log4cxx. My take is to continue working off as many issues as possible and =20 prepare a release as soon as we exit the incubator. We are in a bit of a chicken and egg syndrome, people won't check out =20 the new changes in log4cxx until there is a release and we shouldn't be releasing software that hasn't been tested. I would encourage as many =20 people as possible to try the CVS version and log any issues that you =20 have on the JIRA and mention whether you consider them to be =20 showstoppers for a 0.9.8 release. So, let me throw out a few questions for a poll. A) Is the current CVS ready for a release (+1 - yes, 0 - haven't tried =20 it/maybe, -1 no). If 0 or -1 explain. B) Should log4cxx encourage the Incubator PMC to finish up their vote? =20 (+1/0/-1) C) Should log4cxx petition the Incubator PMC for a sanction for a code =20 snapshot? D) What platforms/compilers need to be tested before release/code =20 snapshot: (list all that apply) 1. x86 Linux/gcc 2. Windows/Visual C++ 5 3. Windows/Visual C++ 6 4. Windows/Visual C++ 2001 5. Windows/Visual C++ 2003 6. Windows/Visual C++ 2005 7. Windows/Borland (5.5 or CBuilderX) 8. Cygwin 9. MinGW 10. FreeBSD 11. NetBSD 12. Mac OS/X 13. x86_64 Linux/gcc 14. x86_64 Windows/appropriate MS compiler 15. Others (plus describe) E) What platforms are you able to test: (list all that apply) F) What platforms have you tested (list all that apply) *************************************************************************= * READER BEWARE: Unencrypted, unsigned Internet e-mail is inherently = insecure. Internet messages may be corrupted, incomplete, misdirected or may incorrectly identify the sender. Therefore, nothing in this message or attachments may be considered legally binding. THIS MESSAGE IS ONLY INTENDED FOR THE USE OF THE INDIVIDUAL OR ENTITY TO WHICH IT IS ADDRESSED AND MAY BE PRIVILEGED. If you are not the intended recipient or their authorized agent, you may not forward or copy this information and must delete or destroy all copies of this message and attachments received. If you have received this communication in error, please notify Matrikon Inc. by telephone at (262)914-4166. *************************************************************************= * From [email protected] Tue Jan 11 22:06:53 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73863 invoked from network); 11 Jan 2005 22:06:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 11 Jan 2005 22:06:53 -0000 Received: (qmail 14379 invoked by uid 500); 11 Jan 2005 22:06:52 -0000 Delivered-To: [email protected] Received: (qmail 14351 invoked by uid 500); 11 Jan 2005 22:06:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 14329 invoked by uid 99); 11 Jan 2005 22:06:52 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from hkgsmtpgw01.oocl.com (HELO hkgsmtpgw01.OOCL.COM) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 11 Jan 2005 14:06:50 -0800 Received: from oocl.com ([161.129.204.104]) by hkgsmtpgw01.OOCL.COM with InterScan Messaging Security Suite; Wed, 12 Jan 2005 06:11:04 +0800 Received: from aptmailhub.oocl.com ([161.129.204.104]) by oocl.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 12 Jan 2005 06:06:45 +0800 Received: from sntmail2.corp.oocl.com ([161.129.204.104]) by aptmailhub.oocl.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 12 Jan 2005 06:06:44 +0800 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: 0.9.8 version (poll) Date: Tue, 11 Jan 2005 14:06:41 -0800 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 0.9.8 version (poll) Thread-Index: AcT3/OV/0l5QyTrLQumQJmVB8bnP1gAKr4VQAABwiUA= From: <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 11 Jan 2005 22:06:44.0821 (UTC) FILETIME=[D66FB850:01C4F829] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Further to the below: I managed to retrieve a clean drop from CVS and discovered that the MS Visual Studio files are not correct or are missing. The workspace file is present, but the log4cxx.dsp project file is absent. Further, it seems that when you compile the dll.dsp project, it references the apr threading facilities (don't know what those are), which do not appear to exist in VS6. Tom Hawker Office (262)914-4166 PCS (262)914-4166 -----Original Message----- From: Drapal, Myron E (Myron) [mailto:[email protected]]=20 Sent: Tuesday, January 11, 2005 01:59 PM To: Log4CXX User Subject: RE: 0.9.8 version (poll) Given the interest in when 0.9.7 can be retired, I tried to get the CVS tree today, and build it on Windows. It seems rather broken, looks like a few files are missing in the current CVS tree and I'm not sure whether or not they should be there (they are there in the 0.9.7 version). For instance: boundedfifo.cpp, semaphore.cpp, event.cpp(!?), dailyrollingfileappender.cpp, criticalsection.cpp (and their associated .h files. I did a "clean" retrieval using WinCVS from the logging-log4cxx branch - I also checked the web site version and these files are not part of the CVS as displayed there. So I guess I'd answer A) below as -1 -> I can't build it to even test it yet, sorry. But I am interested in testing it, so if this is fixed soon, I'll be looking for it. Thanks. Myron Drapal [email protected] IMPORTANT NOTICE Email from OOCL is confidential and may be legally privileged. If it is = not intended for you, please delete it immediately unread. The internet = cannot guarantee that this communication is free of viruses, = interception or interference and anyone who communicates with us by = email is taken to accept the risks in so doing. Without limitation, = OOCL and its affiliates accept no liability whatsoever and howsoever = arising in connection with the use of this email. Under no = circumstances shall this email constitute a binding agreement to carry = or for provision of carriage services by OOCL, which is subject to the = availability of carrier's equipment and vessels and the terms and = conditions of OOCL's standard bill of lading which is also available at = http://www.oocl.com. From [email protected] Tue Jan 11 22:08:27 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74515 invoked from network); 11 Jan 2005 22:08:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 11 Jan 2005 22:08:27 -0000 Received: (qmail 17484 invoked by uid 500); 11 Jan 2005 22:08:24 -0000 Delivered-To: [email protected] Received: (qmail 17425 invoked by uid 500); 11 Jan 2005 22:08:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 17321 invoked by uid 99); 11 Jan 2005 22:08:23 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from tiere.net.avaya.com (HELO tiere.net.avaya.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 11 Jan 2005 14:08:22 -0800 Received: from tiere.net.avaya.com (localhost [161.129.204.104]) by tiere.net.avaya.com (Switch-3.1.2/Switch-3.1.0) with ESMTP id j0BM6HFe015610 for <[email protected]>; Tue, 11 Jan 2005 17:06:17 -0500 (EST) Received: from cof110avexu3.global.avaya.com (h135-9-6-18.avaya.com [161.129.204.104]) by tiere.net.avaya.com (Switch-3.1.2/Switch-3.1.0) with ESMTP id j0BM6GFe015592 for <[email protected]>; Tue, 11 Jan 2005 17:06:16 -0500 (EST) X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C4F82A.0E236E27" Subject: RE: 0.9.8 version (poll) Date: Tue, 11 Jan 2005 15:08:18 -0700 Message-ID: <[email protected]> X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: 0.9.8 version (poll) Thread-Index: AcT3/OV/0l5QyTrLQumQJmVB8bnP1gAKr4VQAABVVjAAADoEAA== From: "Drapal, Myron E \(Myron\)" <[email protected]> To: "Log4CXX User" <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C4F82A.0E236E27 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Yes, I'm just starting to figure that out... I'm using the .sln file, and the problem is that there are a number of old files that are in there andI removed those and now have a whole lot of unresolveds - probably the new files. Thanks. Myron Drapal [email protected] -----Original Message----- From: Justin Chen [mailto:[email protected]]=20 Sent: Tuesday, January 11, 2005 3:06 PM To: Log4CXX User Subject: RE: 0.9.8 version (poll) I finally managed to compile the cvs version with msvc6.0. The=20 five files you mentioned should be removed from the project, and you also have to add quite a few new files to the project. You can find out these files based on the analysis of the link errors.=20 Clearly, the .dsp file in the cvs is not up-to-date. Justin Chen > -----Original Message----- > From: Drapal, Myron E (Myron) [mailto:[email protected]] > Sent: Tuesday, January 11, 2005 2:59 PM > To: Log4CXX User > Subject: RE: 0.9.8 version (poll) >=20 >=20 > Given the interest in when 0.9.7 can be retired, I tried to=20 > get the CVS > tree today, and build it on Windows. It seems rather broken,=20 > looks like > a few files are missing in the current CVS tree and I'm not=20 > sure whether > or not they should be there (they are there in the 0.9.7=20 > version). For > instance: >=20 > boundedfifo.cpp, semaphore.cpp, event.cpp(!?), > dailyrollingfileappender.cpp, criticalsection.cpp (and their=20 > associated > .h files. >=20 > I did a "clean" retrieval using WinCVS from the=20 > logging-log4cxx branch - > I also checked the web site version and these files are not=20 > part of the > CVS as displayed there. >=20 > So I guess I'd answer A) below as -1 -> I can't build it to=20 > even test it > yet, sorry. >=20 > But I am interested in testing it, so if this is fixed soon, I'll be > looking for it. Thanks. >=20 > Myron Drapal > [email protected] >=20 > -----Original Message----- > From: Curt Arnold [mailto:[email protected]]=20 > Sent: Tuesday, January 11, 2005 9:45 AM > To: Log4CXX User > Subject: Re: 0.9.8 version (poll) >=20 >=20 > On Jan 11, 2005, at 1:54 AM, on log4cxx-user maryline royer wrote: >=20 > > Hello, > > > > I wait for the 0.9.8 version. When is it planned ? > > >=20 > Don't we all. I would love to retire 0.9.7. >=20 > As an Apache incubated project, we can't actually have a=20 > release, but =20 > need approval from the incubator project management committee =20 > (http://incubator.apache.org/incubation/=20 > Incubation_Policy.html#Releases%0D) to have a code snapshot. =20 > Currently, the PMC is voting on exiting log4cxx from the=20 > Incubator but =20 > it has taken a long time to get any type of quorum. If we=20 > knew that we >=20 > would be out of incubation shortly, we could do plan for a=20 > real release >=20 > after leaving the incubator. If we knew that we weren't=20 > getting out of >=20 > incubation, we could petition the Incubator PMC to sanction a code =20 > snapshot. >=20 > In addition, the current CVS is a regression from 0.9.8 in that some =20 > features that were in 0.9.7 have been disabled in the CVS. The =20 > SocketAppender and SocketHubAppender are the first that come=20 > to mind. =20 > In a perfect world, we'd be able to get SocketAppender to=20 > talk with the >=20 > log4j implementation=20 (http://issues.apache.org/jira/browse/LOGCXX-7). =20 However, that needs to synchronize with changes in log4j and won't =20 likely happen fast enough to go into 0.9.8. The other thing that I would like to have done in time for 0.9.8, but =20 might not make it is http://issues.apache.org/jira/browse/LOGCXX-35 =20 which would basically migrate log4cxx away from MSXML and libxml2 to =20 the expat parser provided in APR. This would likely requiring porting =20 the new "Joran" configurator from log4cxx. My take is to continue working off as many issues as possible and =20 prepare a release as soon as we exit the incubator. We are in a bit of a chicken and egg syndrome, people won't check out =20 the new changes in log4cxx until there is a release and we shouldn't be releasing software that hasn't been tested. I would encourage as many =20 people as possible to try the CVS version and log any issues that you =20 have on the JIRA and mention whether you consider them to be =20 showstoppers for a 0.9.8 release. So, let me throw out a few questions for a poll. A) Is the current CVS ready for a release (+1 - yes, 0 - haven't tried =20 it/maybe, -1 no). If 0 or -1 explain. B) Should log4cxx encourage the Incubator PMC to finish up their vote? =20 (+1/0/-1) C) Should log4cxx petition the Incubator PMC for a sanction for a code =20 snapshot? D) What platforms/compilers need to be tested before release/code =20 snapshot: (list all that apply) 1. x86 Linux/gcc 2. Windows/Visual C++ 5 3. Windows/Visual C++ 6 4. Windows/Visual C++ 2001 5. Windows/Visual C++ 2003 6. Windows/Visual C++ 2005 7. Windows/Borland (5.5 or CBuilderX) 8. Cygwin 9. MinGW 10. FreeBSD 11. NetBSD 12. Mac OS/X 13. x86_64 Linux/gcc 14. x86_64 Windows/appropriate MS compiler 15. Others (plus describe) E) What platforms are you able to test: (list all that apply) F) What platforms have you tested (list all that apply) ************************************************************************ ** READER BEWARE: Unencrypted, unsigned Internet e-mail is inherently insecure. Internet messages may be corrupted, incomplete, misdirected or may incorrectly identify the sender. Therefore, nothing in this message or attachments may be considered legally binding. THIS MESSAGE IS ONLY INTENDED FOR THE USE OF THE INDIVIDUAL OR ENTITY TO WHICH IT IS ADDRESSED AND MAY BE PRIVILEGED. If you are not the intended recipient or their authorized agent, you may not forward or copy this information and must delete or destroy all copies of this message and attachments received. If you have received this communication in error, please notify Matrikon Inc. by telephone at (262)914-4166. ************************************************************************ ** ------_=_NextPart_001_01C4F82A.0E236E27 Content-Type: text/x-vcard; name="Drapal, Myron E (Myron).vcf" Content-Transfer-Encoding: base64 Content-Description: Drapal, Myron E (Myron).vcf Content-Disposition: attachment; filename="Drapal, Myron E (Myron).vcf" QkVHSU46VkNBUkQNClZFUlNJT046Mi4xDQpOOkRyYXBhbDtNeXJvbg0KRk46RHJhcGFsLCBNeXJv biBFIChNeXJvbikNCk9SRzpBSUNTOzMwMDA0NDA3DQpURUw7V09SSztWT0lDRTorMSAzMDMgNTM4 IDM1MTMNCkFEUjtXT1JLOjtkMS1iMjE7MTMwMCBXZXN0IDEyMHRoIEF2ZW51ZTtXZXN0bWluc3Rl cjtDTzs4MDIzNC0yNzI2O1UgUw0KTEFCRUw7V09SSztFTkNPRElORz1RVU9URUQtUFJJTlRBQkxF OmQxLWIyMT0wRD0wQTEzMDAgV2VzdCAxMjB0aCBBdmVudWU9MEQ9MEFXZXN0bWluc3RlciwgQ08g ODAyMzQtMjcyNj0wRD0wQVUgUw0KRU1BSUw7UFJFRjtJTlRFUk5FVDpkcmFwYWxAYXZheWEuY29t DQpSRVY6MjAwNDA5MTBUMTY0NDA4Wg0KRU5EOlZDQVJEDQo= ------_=_NextPart_001_01C4F82A.0E236E27-- From [email protected] Tue Jan 11 22:39:13 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88815 invoked from network); 11 Jan 2005 22:39:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 11 Jan 2005 22:39:13 -0000 Received: (qmail 80837 invoked by uid 500); 11 Jan 2005 22:39:13 -0000 Delivered-To: [email protected] Received: (qmail 80696 invoked by uid 500); 11 Jan 2005 22:39:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 80682 invoked by uid 99); 11 Jan 2005 22:39:12 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 11 Jan 2005 14:39:11 -0800 Received: (qmail 88796 invoked from network); 11 Jan 2005 22:39:10 -0000 Received: from localhost.hyperreal.org (HELO ?IPvacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b:1?) (161.129.204.104) by localhost.hyperreal.org with SMTP; 11 Jan 2005 22:39:10 -0000 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Curt Arnold <[email protected]> Subject: Re: 0.9.8 version (poll) Date: Tue, 11 Jan 2005 16:39:09 -0600 To: Log4CXX User <[email protected]> X-Mailer: Apple Mail (2.619) X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Jan 11, 2005, at 4:08 PM, Drapal, Myron E (Myron) wrote: > Yes, I'm just starting to figure that out... I'm using the .sln file, > and the problem is that there are a number of old files that are in > there andI removed those and now have a whole lot of unresolveds - > probably the new files. Thanks. > > Myron Drapal > [email protected] > > Obviously, I do need to clean that up. The old 0.9.7 Visual Studio project files are still in the CVS and need to be deleted. The ant build script is used to build log4cxx and also generates Visual Studio 6 and .NET project files. To generate the project files you need to have the CVS version of cpptasks (http://ant-contrib.sourceforge.net), so I will also need to get a release of that out the door before log4cxx can be released. Currently building log4cxx requires independently building Apache Portable Runtime which itself is not trivial for Win32. I'll work on the build script to see if I can make it a one shot build using the Ant tools (after you have placed cpptasks on the CLASSPATH). The release would likely have the generated VS project files. The JIRA appears to be down at the moment, but when it gets back up I'll mark the Visual Studio build bug as a showstopper. From [email protected] Tue Jan 11 22:42:08 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90838 invoked from network); 11 Jan 2005 22:42:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 11 Jan 2005 22:42:07 -0000 Received: (qmail 85478 invoked by uid 500); 11 Jan 2005 22:42:07 -0000 Delivered-To: [email protected] Received: (qmail 85460 invoked by uid 500); 11 Jan 2005 22:42:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 85446 invoked by uid 99); 11 Jan 2005 22:42:07 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from tiere.net.avaya.com (HELO tiere.net.avaya.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 11 Jan 2005 14:42:05 -0800 Received: from tiere.net.avaya.com (localhost [161.129.204.104]) by tiere.net.avaya.com (Switch-3.1.2/Switch-3.1.0) with ESMTP id j0BMe0Fe029230 for <[email protected]>; Tue, 11 Jan 2005 17:40:01 -0500 (EST) Received: from cof110avexu3.global.avaya.com (h135-9-6-18.avaya.com [161.129.204.104]) by tiere.net.avaya.com (Switch-3.1.2/Switch-3.1.0) with ESMTP id j0BMdxFe029197 for <[email protected]>; Tue, 11 Jan 2005 17:39:59 -0500 (EST) X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C4F82E.C4147EED" Subject: RE: 0.9.8 version (poll) Date: Tue, 11 Jan 2005 15:42:01 -0700 Message-ID: <[email protected]> X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: 0.9.8 version (poll) Thread-Index: AcT4LmLvvqEK13nXSFigzUy33og/BQAAB1ew From: "Drapal, Myron E \(Myron\)" <[email protected]> To: "Log4CXX User" <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C4F82E.C4147EED Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Curt, I had already discovered the APR dependency, and the build is documented fairly well on the Apache web site, so I was able to get that out of CVS and build it fine. I updated the .sln file and have the dll built - I'm in the process of building my code now to try it out. Thanks for your (and others) help on this. Myron Drapal [email protected] -----Original Message----- From: Curt Arnold [mailto:[email protected]]=20 Sent: Tuesday, January 11, 2005 3:39 PM To: Log4CXX User Subject: Re: 0.9.8 version (poll) On Jan 11, 2005, at 4:08 PM, Drapal, Myron E (Myron) wrote: > Yes, I'm just starting to figure that out... I'm using the .sln file, > and the problem is that there are a number of old files that are in > there andI removed those and now have a whole lot of unresolveds - > probably the new files. Thanks. > > Myron Drapal > [email protected] > > Obviously, I do need to clean that up. The old 0.9.7 Visual Studio=20 project files are still in the CVS and need to be deleted. The ant=20 build script is used to build log4cxx and also generates Visual Studio=20 6 and .NET project files. To generate the project files you need to=20 have the CVS version of cpptasks (http://ant-contrib.sourceforge.net),=20 so I will also need to get a release of that out the door before=20 log4cxx can be released. Currently building log4cxx requires independently building Apache=20 Portable Runtime which itself is not trivial for Win32. I'll work on=20 the build script to see if I can make it a one shot build using the Ant=20 tools (after you have placed cpptasks on the CLASSPATH). The release would likely have the generated VS project files. The JIRA appears to be down at the moment, but when it gets back up=20 I'll mark the Visual Studio build bug as a showstopper. ------_=_NextPart_001_01C4F82E.C4147EED Content-Type: text/x-vcard; name="Drapal, Myron E (Myron).vcf" Content-Transfer-Encoding: base64 Content-Description: Drapal, Myron E (Myron).vcf Content-Disposition: attachment; filename="Drapal, Myron E (Myron).vcf" QkVHSU46VkNBUkQNClZFUlNJT046Mi4xDQpOOkRyYXBhbDtNeXJvbg0KRk46RHJhcGFsLCBNeXJv biBFIChNeXJvbikNCk9SRzpBSUNTOzMwMDA0NDA3DQpURUw7V09SSztWT0lDRTorMSAzMDMgNTM4 IDM1MTMNCkFEUjtXT1JLOjtkMS1iMjE7MTMwMCBXZXN0IDEyMHRoIEF2ZW51ZTtXZXN0bWluc3Rl cjtDTzs4MDIzNC0yNzI2O1UgUw0KTEFCRUw7V09SSztFTkNPRElORz1RVU9URUQtUFJJTlRBQkxF OmQxLWIyMT0wRD0wQTEzMDAgV2VzdCAxMjB0aCBBdmVudWU9MEQ9MEFXZXN0bWluc3RlciwgQ08g ODAyMzQtMjcyNj0wRD0wQVUgUw0KRU1BSUw7UFJFRjtJTlRFUk5FVDpkcmFwYWxAYXZheWEuY29t DQpSRVY6MjAwNDA5MTBUMTY0NDA4Wg0KRU5EOlZDQVJEDQo= ------_=_NextPart_001_01C4F82E.C4147EED-- From [email protected] Tue Jan 11 23:22:01 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9678 invoked from network); 11 Jan 2005 23:22:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 11 Jan 2005 23:22:01 -0000 Received: (qmail 60789 invoked by uid 500); 11 Jan 2005 23:22:01 -0000 Delivered-To: [email protected] Received: (qmail 60771 invoked by uid 500); 11 Jan 2005 23:22:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 60758 invoked by uid 99); 11 Jan 2005 23:22:00 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 11 Jan 2005 15:21:59 -0800 Received: (qmail 9646 invoked from network); 11 Jan 2005 23:21:58 -0000 Received: from localhost.hyperreal.org (HELO ?IPvacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b:1?) (161.129.204.104) by localhost.hyperreal.org with SMTP; 11 Jan 2005 23:21:58 -0000 Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: quoted-printable Message-Id: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed To: Log4CXX User <[email protected]> From: Curt Arnold <[email protected]> Subject: Fwd: log4cxx now graduated Date: Tue, 11 Jan 2005 17:21:57 -0600 X-Mailer: Apple Mail (2.619) X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N In case you didn't see it in log4cxx-dev, log4cxx has now graduated=20 from the ASF Incubator. Begin forwarded message: > From: Ceki G=FClc=FC <[email protected]> > Date: January 11, 2005 2:04:43 PM CST > To: [email protected] > Cc: [email protected] > Subject: log4cxx now graduated > Reply-To: Log4CXX Dev <[email protected]> > > > In case you missed the good news. You can now consider log4cxx > as out of incubation. > > I'll update the STATUS file and the incubator site. On your side, > please update Logging Services project and log4cxx sites > accordingly. Please shout if you need help with updating the Logging > Services or log4cx sites. > > Documentation can be found at > http://logging.apache.org/site/logging-site.html > > Congratulations and welcome (again). > >> Mailing-List: contact [email protected]; run by ezmlm >> List-Help: <mailto:[email protected]> >> List-Unsubscribe: <mailto:[email protected]> >> List-Post: <mailto:[email protected]> >> List-Id: <general.incubator.apache.org> >> Reply-To: [email protected] >> Delivered-To: mailing list [email protected] >> From: "Noel J. Bergman" <[email protected]> >> To: <[email protected]> >> Cc: <[email protected]> >> Subject: RE: [VOTE] Graduating log4cxx >> Date: Tue, 11 Jan 2005 14:52:07 -0500 >> >> > ... with Noel J. Bergman expressing reservations. >> >> Reservations, yes, but not strong enough to block graduation. The=20 >> Logging >> PMC will be responsible for maintaining the code, and I just hope=20 >> that you >> can continue to grow the community. >> >> > could we please close this vote and declare log4cxx as >> > officially having graduated from incubation? >> >> It appears that there are sufficient positive votes and no negative=20= >> ones, so >> I believe that we can consider it transfered to the Logging PMC. =20 >> Please >> update the STATUS file and web site accordingly. >> >> --- Noel > > --=20 > Ceki G=FClc=FC > > The complete log4j manual: http://www.qos.ch/log4j/ > > From [email protected] Tue Jan 11 23:40:31 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17969 invoked from network); 11 Jan 2005 23:40:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 11 Jan 2005 23:40:30 -0000 Received: (qmail 88108 invoked by uid 500); 11 Jan 2005 23:40:30 -0000 Delivered-To: [email protected] Received: (qmail 87968 invoked by uid 500); 11 Jan 2005 23:40:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 87951 invoked by uid 99); 11 Jan 2005 23:40:29 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=UPPERCASE_25_50 X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from tierw.net.avaya.com (HELO tierw.net.avaya.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 11 Jan 2005 15:40:28 -0800 Received: from tierw.net.avaya.com (localhost [161.129.204.104]) by tierw.net.avaya.com (Switch-3.1.2/Switch-3.1.0) with ESMTP id j0BNVAqm003050 for <[email protected]>; Tue, 11 Jan 2005 18:31:10 -0500 (EST) Received: from cof110avexu3.global.avaya.com (h135-9-6-18.avaya.com [161.129.204.104]) by tierw.net.avaya.com (Switch-3.1.2/Switch-3.1.0) with ESMTP id j0BNV9qm003013 for <[email protected]>; Tue, 11 Jan 2005 18:31:09 -0500 (EST) X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C4F836.EC378F75" Subject: More 0.9.8 version nuances Date: Tue, 11 Jan 2005 16:40:24 -0700 Message-ID: <[email protected]> X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: More 0.9.8 version nuances Thread-Index: AcT4LmLvvqEK13nXSFigzUy33og/BQAAB1ewAAHsAtA= From: "Drapal, Myron E \(Myron\)" <[email protected]> To: "Log4CXX User" <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C4F836.EC378F75 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I am not able to build my existing code (based on 0.9.7) with the latest CVS code, and it seems that it has to do with the (partial) disablement of DOMConfigurator (which I use). Looking at the code a bit, it looks like the log4cxx/portability.h header file is supposed to define LOG4CXX_HAVE_XML, LOG4CXX_HAVE_LIBXML2 and/or LOG4CXX_HAVE_MS_XML (Is this a correct assessment?). If so, what is the intent of each of these defines, and what should their default settings be for Windows (and non-Windows) environments? If I set them "correctly", will the DOMConfigurator work as it did before? Myron Drapal [email protected] ------_=_NextPart_001_01C4F836.EC378F75 Content-Type: text/x-vcard; name="Drapal, Myron E (Myron).vcf" Content-Transfer-Encoding: base64 Content-Description: Drapal, Myron E (Myron).vcf Content-Disposition: attachment; filename="Drapal, Myron E (Myron).vcf" QkVHSU46VkNBUkQNClZFUlNJT046Mi4xDQpOOkRyYXBhbDtNeXJvbg0KRk46RHJhcGFsLCBNeXJv biBFIChNeXJvbikNCk9SRzpBSUNTOzMwMDA0NDA3DQpURUw7V09SSztWT0lDRTorMSAzMDMgNTM4 IDM1MTMNCkFEUjtXT1JLOjtkMS1iMjE7MTMwMCBXZXN0IDEyMHRoIEF2ZW51ZTtXZXN0bWluc3Rl cjtDTzs4MDIzNC0yNzI2O1UgUw0KTEFCRUw7V09SSztFTkNPRElORz1RVU9URUQtUFJJTlRBQkxF OmQxLWIyMT0wRD0wQTEzMDAgV2VzdCAxMjB0aCBBdmVudWU9MEQ9MEFXZXN0bWluc3RlciwgQ08g ODAyMzQtMjcyNj0wRD0wQVUgUw0KRU1BSUw7UFJFRjtJTlRFUk5FVDpkcmFwYWxAYXZheWEuY29t DQpSRVY6MjAwNDA5MTBUMTY0NDA4Wg0KRU5EOlZDQVJEDQo= ------_=_NextPart_001_01C4F836.EC378F75-- From [email protected] Wed Jan 12 00:04:50 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27601 invoked from network); 12 Jan 2005 00:04:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 12 Jan 2005 00:04:50 -0000 Received: (qmail 18260 invoked by uid 500); 12 Jan 2005 00:04:50 -0000 Delivered-To: [email protected] Received: (qmail 18234 invoked by uid 500); 12 Jan 2005 00:04:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 18173 invoked by uid 99); 12 Jan 2005 00:04:49 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 11 Jan 2005 16:04:47 -0800 Received: (qmail 27381 invoked from network); 12 Jan 2005 00:04:46 -0000 Received: from localhost.hyperreal.org (HELO ?IPvacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b:1?) (161.129.204.104) by localhost.hyperreal.org with SMTP; 12 Jan 2005 00:04:46 -0000 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Curt Arnold <[email protected]> Subject: Re: More 0.9.8 version nuances Date: Tue, 11 Jan 2005 18:04:46 -0600 To: Log4CXX User <[email protected]> X-Mailer: Apple Mail (2.619) X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Been a busy day. It would have been good if I had at least known what parts of log4cxx were regressed from 0.9.7 before I got everybody excited. Hopefully I can catch up a bit tonight. It looks like DOMConfigurator is currently disabled. The long-term goal is to migrate to the log4j Joran configurator (which is replacing log4j's DOMConfigurator) and APR's bundled Expat parser. However, I don't think that will happen fast enough for 0.9.8. I'll take a look at seeing if I can get the existing implementations back in the build. I'll report back to the list after I had a chance to investigate. On Jan 11, 2005, at 5:40 PM, Drapal, Myron E (Myron) wrote: > I am not able to build my existing code (based on 0.9.7) with the > latest > CVS code, and it seems that it has to do with the (partial) disablement > of DOMConfigurator (which I use). Looking at the code a bit, it looks > like the log4cxx/portability.h header file is supposed to define > LOG4CXX_HAVE_XML, LOG4CXX_HAVE_LIBXML2 and/or LOG4CXX_HAVE_MS_XML (Is > this a correct assessment?). If so, what is the intent of each of > these > defines, and what should their default settings be for Windows (and > non-Windows) environments? If I set them "correctly", will the > DOMConfigurator work as it did before? > > Myron Drapal > [email protected] > > > <Drapal, Myron E (Myron).vcf> From [email protected] Wed Jan 12 05:21:19 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56602 invoked from network); 12 Jan 2005 05:21:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 12 Jan 2005 05:21:18 -0000 Received: (qmail 1820 invoked by uid 500); 12 Jan 2005 05:21:18 -0000 Delivered-To: [email protected] Received: (qmail 1682 invoked by uid 500); 12 Jan 2005 05:21:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 1669 invoked by uid 99); 12 Jan 2005 05:21:18 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 11 Jan 2005 21:21:16 -0800 Received: (qmail 56577 invoked from network); 12 Jan 2005 05:21:15 -0000 Received: from localhost.hyperreal.org (HELO ?IPvacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b:1?) (161.129.204.104) by localhost.hyperreal.org with SMTP; 12 Jan 2005 05:21:15 -0000 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Curt Arnold <[email protected]> Subject: Re: More 0.9.8 version nuances Date: Tue, 11 Jan 2005 23:21:14 -0600 To: Log4CXX User <[email protected]> X-Mailer: Apple Mail (2.619) X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I think that I have the DOMConfigurator's back in the build. You may need to temporarily create an empty file at include/libxml/tree.h to get the Windows build to compile. There were a couple of test cases that I needed to hack. tests/src/xml/domtestcasacf:4db6:5e0b:f386:43a5:35d7:718d:3c8btest1 would produce a temp.a1 file that did not have duplicate entries for each logging event (once for the event at a high level logger and once at the root). tests/src/varia/errorhandlertestcase.cpp seem pretty broken (it never actually made a log request, but expected stuff in the log file). According to Ceki in a totally unrelated discussion, the corresponding test in log4j is dead. I've commented it out for the moment, but will likely delete it. With the changes, you must have libxml2 installed to create the Unix build. On Jan 11, 2005, at 6:04 PM, Curt Arnold wrote: > Been a busy day. It would have been good if I had at least known what > parts of log4cxx were regressed from 0.9.7 before I got everybody > excited. Hopefully I can catch up a bit tonight. > > It looks like DOMConfigurator is currently disabled. The long-term > goal is to migrate to the log4j Joran configurator (which is replacing > log4j's DOMConfigurator) and APR's bundled Expat parser. However, I > don't think that will happen fast enough for 0.9.8. I'll take a look > at seeing if I can get the existing implementations back in the build. > > I'll report back to the list after I had a chance to investigate. > > > On Jan 11, 2005, at 5:40 PM, Drapal, Myron E (Myron) wrote: > >> I am not able to build my existing code (based on 0.9.7) with the >> latest >> CVS code, and it seems that it has to do with the (partial) >> disablement >> of DOMConfigurator (which I use). Looking at the code a bit, it looks >> like the log4cxx/portability.h header file is supposed to define >> LOG4CXX_HAVE_XML, LOG4CXX_HAVE_LIBXML2 and/or LOG4CXX_HAVE_MS_XML (Is >> this a correct assessment?). If so, what is the intent of each of >> these >> defines, and what should their default settings be for Windows (and >> non-Windows) environments? If I set them "correctly", will the >> DOMConfigurator work as it did before? >> >> Myron Drapal >> [email protected] >> >> >> <Drapal, Myron E (Myron).vcf> > From [email protected] Wed Jan 12 20:41:49 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40155 invoked from network); 12 Jan 2005 20:41:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 12 Jan 2005 20:41:49 -0000 Received: (qmail 2653 invoked by uid 500); 12 Jan 2005 20:41:49 -0000 Delivered-To: [email protected] Received: (qmail 2498 invoked by uid 500); 12 Jan 2005 20:41:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 2479 invoked by uid 99); 12 Jan 2005 20:41:47 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from tiere.net.avaya.com (HELO tiere.net.avaya.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 12 Jan 2005 12:41:46 -0800 Received: from tiere.net.avaya.com (localhost [161.129.204.104]) by tiere.net.avaya.com (Switch-3.1.2/Switch-3.1.0) with ESMTP id j0CKdfFe013833 for <[email protected]>; Wed, 12 Jan 2005 15:39:41 -0500 (EST) Received: from cof110avexu3.global.avaya.com (h135-9-6-18.avaya.com [161.129.204.104]) by tiere.net.avaya.com (Switch-3.1.2/Switch-3.1.0) with ESMTP id j0CKddFe013783 for <[email protected]>; Wed, 12 Jan 2005 15:39:40 -0500 (EST) X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C4F8E7.1EE97D2E" Subject: RE: More 0.9.8 version nuances Date: Wed, 12 Jan 2005 13:41:41 -0700 Message-ID: <[email protected]> X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: More 0.9.8 version nuances Thread-Index: AcT4Zo5sZBa+IFE+SmaOk9Si90T2jQAgGf0Q From: "Drapal, Myron E \(Myron\)" <[email protected]> To: "Log4CXX User" <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C4F8E7.1EE97D2E Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Curt, Thank you. I tried out the CVS this morning, and these changes work magnificently. I'm still doing some testing, but the build of the older 0.9.7 based project went without a hitch. Myron Drapal [email protected] -----Original Message----- From: Curt Arnold [mailto:[email protected]]=20 Sent: Tuesday, January 11, 2005 10:21 PM To: Log4CXX User Subject: Re: More 0.9.8 version nuances I think that I have the DOMConfigurator's back in the build. You may=20 need to temporarily create an empty file at include/libxml/tree.h to=20 get the Windows build to compile. There were a couple of test cases that I needed to hack. =20 tests/src/xml/domtestcasacf:4db6:5e0b:f386:43a5:35d7:718d:3c8btest1 would produce a temp.a1 file that did=20 not have duplicate entries for each logging event (once for the event=20 at a high level logger and once at the root). =20 tests/src/varia/errorhandlertestcase.cpp seem pretty broken (it never=20 actually made a log request, but expected stuff in the log file). =20 According to Ceki in a totally unrelated discussion, the corresponding=20 test in log4j is dead. I've commented it out for the moment, but will=20 likely delete it. With the changes, you must have libxml2 installed to create the Unix=20 build. On Jan 11, 2005, at 6:04 PM, Curt Arnold wrote: > Been a busy day. It would have been good if I had at least known what > parts of log4cxx were regressed from 0.9.7 before I got everybody=20 > excited. Hopefully I can catch up a bit tonight. > > It looks like DOMConfigurator is currently disabled. The long-term=20 > goal is to migrate to the log4j Joran configurator (which is replacing > log4j's DOMConfigurator) and APR's bundled Expat parser. However, I=20 > don't think that will happen fast enough for 0.9.8. I'll take a look=20 > at seeing if I can get the existing implementations back in the build. > > I'll report back to the list after I had a chance to investigate. > > > On Jan 11, 2005, at 5:40 PM, Drapal, Myron E (Myron) wrote: > >> I am not able to build my existing code (based on 0.9.7) with the=20 >> latest >> CVS code, and it seems that it has to do with the (partial)=20 >> disablement >> of DOMConfigurator (which I use). Looking at the code a bit, it looks >> like the log4cxx/portability.h header file is supposed to define >> LOG4CXX_HAVE_XML, LOG4CXX_HAVE_LIBXML2 and/or LOG4CXX_HAVE_MS_XML (Is >> this a correct assessment?). If so, what is the intent of each of=20 >> these >> defines, and what should their default settings be for Windows (and >> non-Windows) environments? If I set them "correctly", will the >> DOMConfigurator work as it did before? >> >> Myron Drapal >> [email protected] >> >> >> <Drapal, Myron E (Myron).vcf> > ------_=_NextPart_001_01C4F8E7.1EE97D2E Content-Type: text/x-vcard; name="Drapal, Myron E (Myron).vcf" Content-Transfer-Encoding: base64 Content-Description: Drapal, Myron E (Myron).vcf Content-Disposition: attachment; filename="Drapal, Myron E (Myron).vcf" QkVHSU46VkNBUkQNClZFUlNJT046Mi4xDQpOOkRyYXBhbDtNeXJvbg0KRk46RHJhcGFsLCBNeXJv biBFIChNeXJvbikNCk9SRzpBSUNTOzMwMDA0NDA3DQpURUw7V09SSztWT0lDRTorMSAzMDMgNTM4 IDM1MTMNCkFEUjtXT1JLOjtkMS1iMjE7MTMwMCBXZXN0IDEyMHRoIEF2ZW51ZTtXZXN0bWluc3Rl cjtDTzs4MDIzNC0yNzI2O1UgUw0KTEFCRUw7V09SSztFTkNPRElORz1RVU9URUQtUFJJTlRBQkxF OmQxLWIyMT0wRD0wQTEzMDAgV2VzdCAxMjB0aCBBdmVudWU9MEQ9MEFXZXN0bWluc3RlciwgQ08g ODAyMzQtMjcyNj0wRD0wQVUgUw0KRU1BSUw7UFJFRjtJTlRFUk5FVDpkcmFwYWxAYXZheWEuY29t DQpSRVY6MjAwNDA5MTBUMTY0NDA4Wg0KRU5EOlZDQVJEDQo= ------_=_NextPart_001_01C4F8E7.1EE97D2E-- From [email protected] Wed Jan 12 22:53:40 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5876 invoked from network); 12 Jan 2005 22:53:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 12 Jan 2005 22:53:39 -0000 Received: (qmail 42462 invoked by uid 500); 12 Jan 2005 22:53:39 -0000 Delivered-To: [email protected] Received: (qmail 42438 invoked by uid 500); 12 Jan 2005 22:53:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 42424 invoked by uid 99); 12 Jan 2005 22:53:38 -0000 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_POST,FORGED_RCVD_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from defout.telus.net (HELO priv-edtnes84.telusplanet.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 12 Jan 2005 14:53:38 -0800 Received: from localhost ([161.129.204.104]) by priv-edtnes84.telusplanet.net (InterMail vM.161.129.204.104 201-2131-118-20041027) with ESMTP id <20050112225336.KMSY29788.priv-edtnes84.telusplanet.net@localhost> for <[email protected]>; Wed, 12 Jan 2005 15:53:36 -0700 Received: from 161.129.204.104 ( [161.129.204.104]) as user [email protected] by webmail.telus.net with HTTP; Wed, 12 Jan 2005 14:53:36 -0800 Message-ID: <[email protected]> Date: Wed, 12 Jan 2005 14:53:36 -0800 From: Matt Funk <[email protected]> To: [email protected] Subject: custom appender & .properties file MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1-cvs X-Originating-IP: 161.129.204.104 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello, I've created a custom appender, CustomConsoleAppender, and built it into the log4cxx library. It works fine if I add my appender to the root logger through code. However, when I add my appender to the .properties file, the appender isn't created. Another appender in the properties file works fine so I know the props file is being read. My properties file looks like this: --- log4j.rootCategory=DEBUG, customConsoleAppender log4j.appender.customConsoleAppender=org.apache.log4j.CustomConsoleAppender log4j.appender.customConsoleAppender.Append=false log4j.appender.customConsoleAppender.layout=org.apache.log4j.PatternLayout log4j.appender.customConsoleAppender.layout.ConversionPattern=[%t] %-5p %F(%L): %m%n --- Any hints on what to do would be appreciated. Thanks! Matt Funk From [email protected] Wed Jan 12 23:23:33 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18302 invoked from network); 12 Jan 2005 23:23:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 12 Jan 2005 23:23:33 -0000 Received: (qmail 93835 invoked by uid 500); 12 Jan 2005 23:23:33 -0000 Delivered-To: [email protected] Received: (qmail 93681 invoked by uid 500); 12 Jan 2005 23:23:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 93666 invoked by uid 99); 12 Jan 2005 23:23:32 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 12 Jan 2005 15:23:32 -0800 Received: (qmail 18288 invoked from network); 12 Jan 2005 23:23:30 -0000 Received: from localhost.hyperreal.org (HELO ?IPvacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b:1?) (161.129.204.104) by localhost.hyperreal.org with SMTP; 12 Jan 2005 23:23:30 -0000 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Curt Arnold <[email protected]> Subject: Re: custom appender & .properties file Date: Wed, 12 Jan 2005 17:23:30 -0600 To: Log4CXX User <[email protected]> X-Mailer: Apple Mail (2.619) X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N The most likely thing is a problem with the registration of the custom appender. There is a lot to be desired in the static initialization of 0.9.7, so you might see if the problem goes away with the current CVS. The likely problem is either a failure to register your custom appender in the classes registry, or the registration occurring after a default configuration has been processed. Classes are registered in the expansion of the IMPLEMENT_LOG4CXX_OBJECT macro in log4cxx/helpers/object.h. You should have one of these in your custom appender, if not your class is invisible to log4cxx. If you do, then it could be a timing issue. You might manually expand the macro and set a break point on the construction of your class instance and also the default configuration code. If the default configuration code is being triggered (at least in the current HEAD), that should because some other static initializer is trying to log. Check the stack trace to see if you can figure out what is triggering the default initialization. On Jan 12, 2005, at 4:53 PM, Matt Funk wrote: > Hello, > > I've created a custom appender, CustomConsoleAppender, and built it > into the > log4cxx library. It works fine if I add my appender to the root logger > through > code. However, when I add my appender to the .properties file, the > appender > isn't created. > > Another appender in the properties file works fine so I know the props > file is > being read. > > My properties file looks like this: > --- > log4j.rootCategory=DEBUG, customConsoleAppender > > log4j.appender.customConsoleAppender=org.apache.log4j.CustomConsoleAppe > nder > log4j.appender.customConsoleAppender.Append=false > log4j.appender.customConsoleAppender.layout=org.apache.log4j.PatternLay > out > log4j.appender.customConsoleAppender.layout.ConversionPattern=[%t] > %-5p %F(%L): %m%n > --- > > Any hints on what to do would be appreciated. Thanks! > > Matt Funk > From [email protected] Thu Jan 13 20:50:26 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79128 invoked from network); 13 Jan 2005 20:50:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 13 Jan 2005 20:50:24 -0000 Received: (qmail 72724 invoked by uid 500); 13 Jan 2005 20:50:23 -0000 Delivered-To: [email protected] Received: (qmail 72650 invoked by uid 500); 13 Jan 2005 20:50:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 72623 invoked by uid 99); 13 Jan 2005 20:50:22 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from sofa.circle-of-art.de (HELO sofa.circle-of-art.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 13 Jan 2005 12:50:21 -0800 Received: from p5080dc70.dip0.t-ipconnect.de ([161.129.204.104]) by sofa.circle-of-art.de with asmtp (TLS-1.0:RSA_ARCFOUR_MD5:16) (Exim 4.34) id 1CpBv7-0006en-7t; Thu, 13 Jan 2005 21:50:17 +0100 From: Tommi =?iso-8859-1?q?M=E4kitalo?= <[email protected]> Organization: Dr. Eckhardt + Partner GmbH To: Log4CXX Dev <[email protected]> Subject: bug in stringhelper Date: Thu, 13 Jan 2005 21:50:15 +0100 User-Agent: KMail/1.7.1 Cc: [email protected] MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_H8t5B/n++uN8n3j" Message-Id: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --Boundary-00=_H8t5B/n++uN8n3j Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, There is a bug in StringHelperacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstartsWith: "stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstringacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bompare(size_type pos, size_type len, const stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstring& s)" compares a substring of the string with s and not vice versa. Here is a patch. After that it works at least with easy cases on my x86-64. Thank you Curt. I vote for a 0.9.8 soon. Tommi --Boundary-00=_H8t5B/n++uN8n3j Content-Type: text/x-diff; charset="us-ascii"; name="stringhelper.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="stringhelper.diff" Index: src/stringhelper.cpp =================================================================== RCS file: /home/cvspublic/logging-log4cxx/src/stringhelper.cpp,v retrieving revision 1.11 diff -d -r1.11 stringhelper.cpp 102c102 < return suffix.compare(s.length() - suffix.length(), suffix.length(), s) == 0; --- > return s.compare(s.length() - suffix.length(), suffix.length(), suffix) == 0; 111c111 < return suffix.compare(s.length() - suffix.length(), suffix.length(), s) == 0; --- > return s.compare(s.length() - suffix.length(), suffix.length(), suffix) == 0; --Boundary-00=_H8t5B/n++uN8n3j-- From [email protected] Fri Jan 14 05:03:43 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79804 invoked from network); 14 Jan 2005 05:03:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 14 Jan 2005 05:03:43 -0000 Received: (qmail 60060 invoked by uid 500); 14 Jan 2005 05:03:42 -0000 Delivered-To: [email protected] Received: (qmail 59916 invoked by uid 500); 14 Jan 2005 05:03:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 59901 invoked by uid 99); 14 Jan 2005 05:03:42 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 13 Jan 2005 21:03:41 -0800 Received: (qmail 79792 invoked from network); 14 Jan 2005 05:03:40 -0000 Received: from localhost.hyperreal.org (HELO ?161.129.204.104?) (161.129.204.104) by localhost.hyperreal.org with SMTP; 14 Jan 2005 05:03:40 -0000 Mime-Version: 1.0 (Apple Message framework v682) In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: quoted-printable From: Curt Arnold <[email protected]> Subject: Re: bug in stringhelper Date: Thu, 13 Jan 2005 23:03:39 -0600 To: Log4CXX User <[email protected]> X-Mailer: Apple Mail (2.682) X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N The patch you sent seems to be modifying StringHelperacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bndsWith, not=20 acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstartsWith and then intent was that StringHelperacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bndsWith("foobar", "bar") =3D=3D true I believe the existing code would do that and the patched version would=20= not but haven't had a chance to create a unit test case for those=20 functions. Could you describe the symptom that you believe that a bug in=20 StringHelper is causing? It would be helpful if you could also create a=20= test case for every bug that you fix so that we can detect regressions.=20= I'd also prefer that you use Jira to submit patches. On Jan 13, 2005, at 2:50 PM, Tommi M=E4kitalo wrote: > Hi, > > There is a bug in StringHelperacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstartsWith:=20 > "stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstringacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bompare(size_type pos, size_type len, const stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstring&=20= > s)" compares a substring of the string with s and not vice versa. > > Here is a patch. > > After that it works at least with easy cases on my x86-64. > > Thank you Curt. I vote for a 0.9.8 soon. > > > Tommi > <stringhelper.diff> From [email protected] Fri Jan 14 08:03:22 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45804 invoked from network); 14 Jan 2005 08:03:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 14 Jan 2005 08:03:21 -0000 Received: (qmail 69999 invoked by uid 500); 14 Jan 2005 08:03:21 -0000 Delivered-To: [email protected] Received: (qmail 69983 invoked by uid 500); 14 Jan 2005 08:03:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 69964 invoked by uid 99); 14 Jan 2005 08:03:20 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.epgmbh.de (HELO mail.epgmbh.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 14 Jan 2005 00:03:19 -0800 Received: (qmail 25000 invoked from network); 14 Jan 2005 08:03:16 -0000 Received: from unknown (HELO at13.eckpart.de) (161.129.204.104) by hotspot.eckpart.de with SMTP; 14 Jan 2005 08:03:16 -0000 From: Tommi Maekitalo <[email protected]> To: "Log4CXX User" <[email protected]> Subject: Re: bug in stringhelper Date: Fri, 14 Jan 2005 09:03:15 +0100 User-Agent: KMail/1.7.1 References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, sorry - I meant endsWith, which does not work. This was the fix for the bug= I=20 found. I will [email protected]. I haven't used it before. And [email protected]. I don't= =20 know it either. Tommi Am Freitag, 14. Januar 2005 06:03 schrieb Curt Arnold: > The patch you sent seems to be modifying StringHelperacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bndsWith, not > > acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstartsWith and then intent was that > > StringHelperacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bndsWith("foobar", "bar") =3D=3D true > > I believe the existing code would do that and the patched version would > not but haven't had a chance to create a unit test case for those > functions. > > Could you describe the symptom that you believe that a bug in > StringHelper is causing? It would be helpful if you could also create a > test case for every bug that you fix so that we can detect regressions. > I'd also prefer that you use Jira to submit patches. > > On Jan 13, 2005, at 2:50 PM, Tommi M=E4kitalo wrote: > > Hi, > > > > There is a bug in StringHelperacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstartsWith: > > "stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstringacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bompare(size_type pos, size_type len, const stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstring& > > s)" compares a substring of the string with s and not vice versa. > > > > Here is a patch. > > > > After that it works at least with easy cases on my x86-64. > > > > Thank you Curt. I vote for a 0.9.8 soon. > > > > > > Tommi > > <stringhelper.diff> From [email protected] Fri Jan 14 23:42:53 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9884 invoked from network); 14 Jan 2005 23:42:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 14 Jan 2005 23:42:53 -0000 Received: (qmail 3674 invoked by uid 500); 14 Jan 2005 23:42:53 -0000 Delivered-To: [email protected] Received: (qmail 3647 invoked by uid 500); 14 Jan 2005 23:42:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 3632 invoked by uid 99); 14 Jan 2005 23:42:52 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=HTML_60_70,HTML_MESSAGE,HTML_TEXT_AFTER_BODY,HTML_TEXT_AFTER_HTML X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from pluto.phpwebhosting.com (HELO pluto.phpwebhosting.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 14 Jan 2005 15:42:50 -0800 Received: (qmail 16121 invoked from network); 14 Jan 2005 23:42:45 -0000 Received: from unknown (HELO Rand) (161.129.204.104) by pluto.phpwebhosting.com with SMTP; 14 Jan 2005 23:42:45 -0000 From: "Keith Bottner" <[email protected]> To: "Log4CXX User" <[email protected]> Subject: Problem compiling on FreeBSD 5.3 Date: Fri, 14 Jan 2005 17:42:49 -0600 Organization: Barking Lizards Technologies MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0242_01C4FA60.794D4CD0" X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: AcT6ksCSAY9CUCk2SJaV9FLP9wnMjg== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_0242_01C4FA60.794D4CD0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: 7bit Is anyone out there using FreeBSD with log4cxx? I downloaded the tar and am unable to get log4cxx to compile. I think it has less to do with log4cxx and more to do with FreeBSD. We are moving from linux to FreeBSD and I wanted to see if anybody who is using log4cxx has already wrestled with this problem so that maybe I can save some time. Thanks in advance, Keith -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.11 - Release Date: 1/12/2005 ------=_NextPart_000_0242_01C4FA60.794D4CD0 Content-Type: text/html; charset="windows-1250" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dwindows-1250"> <META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD> <BODY> <DIV><SPAN class=3D619201220-13012005><FONT face=3DArial size=3D2>Is = anyone out there=20 using FreeBSD with log4cxx?</FONT></SPAN></DIV> <DIV><SPAN class=3D619201220-13012005><FONT face=3DArial=20 size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=3D619201220-13012005><FONT face=3DArial size=3D2>I = downloaded the tar=20 and am unable to get log4cxx to compile. I think it has less to do with = log4cxx=20 and more to do with FreeBSD. We are moving from linux to FreeBSD and I = wanted to=20 see if anybody who is using log4cxx has already wrestled with this = problem so=20 that maybe I can save some time.</FONT></SPAN></DIV> <DIV><SPAN class=3D619201220-13012005><FONT face=3DArial=20 size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=3D619201220-13012005><FONT face=3DArial size=3D2>Thanks = in=20 advance,</FONT></SPAN></DIV> <DIV><SPAN class=3D619201220-13012005><FONT face=3DArial=20 size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=3D619201220-13012005><FONT face=3DArial=20 size=3D2>Keith</FONT></SPAN></DIV> <P>&nbsp;</P></BODY></HTML> <BR> <P><FONT SIZE=3D2>--<BR> No virus found in this outgoing message.<BR> Checked by AVG Anti-Virus.<BR> Version: 7.0.300 / Virus Database: 265.6.11 - Release Date: = 1/12/2005<BR> </FONT> </P> ------=_NextPart_000_0242_01C4FA60.794D4CD0-- From [email protected] Sat Jan 15 00:19:41 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25086 invoked from network); 15 Jan 2005 00:19:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 15 Jan 2005 00:19:41 -0000 Received: (qmail 38214 invoked by uid 500); 15 Jan 2005 00:19:29 -0000 Delivered-To: [email protected] Received: (qmail 38176 invoked by uid 500); 15 Jan 2005 00:19:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 38162 invoked by uid 99); 15 Jan 2005 00:19:29 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from proxy.matrikon.com (HELO outbound-smtp-edm.matrikon.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 14 Jan 2005 16:19:27 -0800 Received: from routing-smtp-edm.matrikon.com ([161.129.204.104]) by outbound-smtp-edm.matrikon.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 14 Jan 2005 17:19:25 -0700 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: End-of-line problem Date: Fri, 14 Jan 2005 17:19:25 -0700 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: End-of-line problem thread-index: AcT6l951jkUHUmRiTySCMu4xZUmryw== From: "Justin Chen" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 15 Jan 2005 00:19:25.0523 (UTC) FILETIME=[DE9FB230:01C4FA97] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I am using recent CVS version (2 days ago). Some source files (e.g., = level.h, logger.h...) seem to have "\r\r" or "\r\r\n" as EOLs, which = caused my oversmart visual studio to keep complaining with a message = box. If I happened to agree with it by clicking th OK button, a blank = line would be insterted for each line of code, which caused syntax error = for multi-line macro definitions. What's more, when I checked the code = into visual sourcesafe, this high IQ tool did the same thing, making the = code uncompilable when checked out. Is this a bug or just because I didn't configure properly? I didn't use = the Ant tool as mentioned by Curt. Is it required for the code to = compile with MSVC? Thanks in advance. Justin Chen *************************************************************************= * READER BEWARE: Unencrypted, unsigned Internet e-mail is inherently = insecure. Internet messages may be corrupted, incomplete, misdirected or may incorrectly identify the sender. Therefore, nothing in this message or attachments may be considered legally binding. THIS MESSAGE IS ONLY INTENDED FOR THE USE OF THE INDIVIDUAL OR ENTITY TO WHICH IT IS ADDRESSED AND MAY BE PRIVILEGED. If you are not the intended recipient or their authorized agent, you may not forward or copy this information and must delete or destroy all copies of this message and attachments received. If you have received this communication in error, please notify Matrikon Inc. by telephone at (262)914-4166. *************************************************************************= * From [email protected] Sat Jan 15 16:55:06 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74813 invoked from network); 15 Jan 2005 16:55:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 15 Jan 2005 16:55:06 -0000 Received: (qmail 22835 invoked by uid 500); 15 Jan 2005 16:55:06 -0000 Delivered-To: [email protected] Received: (qmail 22686 invoked by uid 500); 15 Jan 2005 16:55:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 22671 invoked by uid 99); 15 Jan 2005 16:55:05 -0000 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_POST,MSGID_FROM_MTA_HEADER,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from bay16-f28.bay16.hotmail.com (HELO hotmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 15 Jan 2005 08:55:03 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 15 Jan 2005 08:55:01 -0800 Message-ID: <[email protected]> Received: from 161.129.204.104 by by16fd.bay16.hotmail.msn.com with HTTP; Sat, 15 Jan 2005 16:54:18 GMT X-Originating-IP: [161.129.204.104] X-Originating-Email: [[email protected]] X-Sender: [email protected] In-Reply-To: <[email protected]> From: "Sun Xiaoguang" <[email protected]> To: [email protected] Bcc: Subject: RE: Problem compiling on FreeBSD 5.3 Date: Sun, 16 Jan 2005 00:54:18 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed X-OriginalArrivalTime: 15 Jan 2005 16:55:01.0674 (UTC) FILETIME=[F424F8A0:01C4FB22] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N You can modified the source code to solve it. It's only a header file's problem. >From: "Keith Bottner" <[email protected]> >Reply-To: "Log4CXX User" <[email protected]> >To: "Log4CXX User" <[email protected]> >Subject: Problem compiling on FreeBSD 5.3 >Date: Fri, 14 Jan 2005 17:42:49 -0600 > >Is anyone out there using FreeBSD with log4cxx? > >I downloaded the tar and am unable to get log4cxx to compile. I think it has >less to do with log4cxx and more to do with FreeBSD. We are moving from >linux to FreeBSD and I wanted to see if anybody who is using log4cxx has >already wrestled with this problem so that maybe I can save some time. > >Thanks in advance, > >Keith > > > > >-- >No virus found in this outgoing message. >Checked by AVG Anti-Virus. >Version: 7.0.300 / Virus Database: 265.6.11 - Release Date: 1/12/2005 > _________________________________________________________________ ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger: http://messenger.msn.com/cn From [email protected] Sat Jan 15 18:36:36 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9990 invoked from network); 15 Jan 2005 18:36:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 15 Jan 2005 18:36:35 -0000 Received: (qmail 67904 invoked by uid 500); 15 Jan 2005 18:36:35 -0000 Delivered-To: [email protected] Received: (qmail 67835 invoked by uid 500); 15 Jan 2005 18:36:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 67822 invoked by uid 99); 15 Jan 2005 18:36:34 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.ilstechnology.com (HELO mail.ILSTechnology.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 15 Jan 2005 10:36:34 -0800 Subject: Building off the head on Linux problems To: [email protected] X-Mailer: Lotus Notes Release 6.5 September 26, 2003 Message-ID: <[email protected]> From: [email protected] Date: Sat, 15 Jan 2005 13:41:26 -0500 X-MIMETrack: Serialize by Router on MailMan/ILSTechnology(Release 5.0.11 |July 24, 2002) at 01/15/2005 01:41:31 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I am having problems building off the head on RedHat EL3 linux. I ran: ./autogen.sh ./configure --with-apr=/usr/local/apr make The make failed with "Makefile:202 *** missing seperator. Stop." When I looked at the makefile, there seem to be a number of problems, here is the makefile that was generated: # Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile. Generated from Makefile.in by configure. # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. SHELL = /bin/sh srcdir = . top_srcdir = . prefix = /usr/local exec_prefix = ${prefix} bindir = ${exec_prefix}/bin sbindir = ${exec_prefix}/sbin libexecdir = ${exec_prefix}/libexec datadir = ${prefix}/share sysconfdir = ${prefix}/etc sharedstatedir = ${prefix}/com localstatedir = ${prefix}/var libdir = ${exec_prefix}/lib infodir = ${prefix}/info mandir = ${prefix}/man includedir = ${prefix}/include oldincludedir = /usr/include pkgdatadir = $(datadir)/log4cxx pkglibdir = $(libdir)/log4cxx pkgincludedir = $(includedir)/log4cxx top_builddir = . ACLOCAL = ${SHELL} /home/wertj/source/logging-log4cxx/missing --run aclocal-1.6 AUTOCONF = ${SHELL} /home/wertj/source/logging-log4cxx/missing --run autoconf AUTOMAKE = ${SHELL} /home/wertj/source/logging-log4cxx/missing --run automake-1.6 AUTOHEADER = ${SHELL} /home/wertj/source/logging-log4cxx/missing --run autoheader am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = /usr/bin/install -c INSTALL_PROGRAM = ${INSTALL} INSTALL_DATA = ${INSTALL} -m 644 install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_SCRIPT = ${INSTALL} INSTALL_HEADER = $(INSTALL_DATA) transform = s,x,x, NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : host_alias = host_triplet = i686-pc-linux-gnu EXEEXT = OBJEXT = o PATH_SEPARATOR = : AMTAR = ${SHELL} /home/wertj/source/logging-log4cxx/missing --run tar AS = @AS@ AWK = gawk CC = gcc CPPFLAGS_CPPUNIT = CPPFLAGS_ODBC = CPPFLAGS_XML = -I/usr/include/libxml2 CPPUNIT_CONFIG = no CXX = g++ CXXCPP = g++ -E DEPDIR = .deps DLLTOOL = @DLLTOOL@ DOT = DOXYGEN = /usr/bin/doxygen ECHO = echo INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s IODBC_CONFIG = LIBS_CPPUNIT = LIBS_ODBC = LIBS_XML = -L/usr/lib -lxml2 -lz -lpthread -lm LIBTOOL = $(SHELL) $(top_builddir)/libtool LN_S = ln -s LT_VERSION = 9:0:0 OBJDUMP = @OBJDUMP@ PACKAGE = log4cxx RANLIB = ranlib STRIP = strip VERSION = 0.9.8 XML2_CONFIG = yes am__include = include am__quote = enable_dot = no enable_html_docs = yes enable_latex_docs = no install_sh = /home/wertj/source/logging-log4cxx/install-sh SUBDIRS = docs src msvc include simplesocketserver tests performance examples EXTRA_DIST = autogen.sh license.apl find_apr.m4 subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/include/log4cxx/config_auto.h,cat \ $(top_builddir)/" ${ac_abs_top_builddir}/include/log4cxx/config_auto.h" \ | sed -e \ $(top_builddir)/'s/\(HAVE_\|MUST_\|UNICODE\)/LOG4CXX_\1/;s/^\(. *PACKAGE.*\|.*VERSION.*\|.*STDC_HEADERS.*\)$/\/* \ \1 $(top_builddir)/*\//' > \ $(top_builddir)/" ${ac_abs_top_builddir}/include/log4cxx/config_auto_log4cxx.h" CONFIG_CLEAN_FILES = DIST_SOURCES = RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \ uninstall-info-recursive all-recursive install-data-recursive \ install-exec-recursive installdirs-recursive install-recursive \ uninstall-recursive check-recursive installcheck-recursive DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \ Makefile.in NEWS aclocal.m4 config.guess config.sub configure \ configure.in depcomp install-sh ltmain.sh missing mkinstalldirs DIST_SUBDIRS = $(SUBDIRS) all: | sed -e \1 > $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && \ $(AUTOMAKE) --gnu Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe) $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): configure.in cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) "${ac_abs_top_builddir}/include/log4cxx/config_auto.h": " ${ac_abs_top_builddir}/include/log4cxx/stamp-h2 @if test ! -f $@; then \ rm -f "${ac_abs_top_builddir}/include/log4cxx/stamp-h2; \ $(MAKE) "${ac_abs_top_builddir}/include/log4cxx/stamp-h2; \ else :; fi "${ac_abs_top_builddir}/include/log4cxx/stamp-h2: $(srcdir)/./" ${ac_abs_top_builddir}/include/log4cxx/config_auto.h".in $(top_builddir)/config.status @rm -f "${ac_abs_top_builddir}/include/log4cxx/stamp-h2 cd $(top_builddir) && $(SHELL) ./config.status " ${ac_abs_top_builddir}/include/log4cxx/config_auto.h" $(srcdir)/./"${ac_abs_top_builddir}/include/log4cxx/config_auto.h".in: $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOHEADER) touch $(srcdir)/./" ${ac_abs_top_builddir}/include/log4cxx/config_auto.h".in |: stamp-h3 @if test ! -f $@; then \ rm -f stamp-h3; \ $(MAKE) stamp-h3; \ else :; fi stamp-h3: $(srcdir)/|.in $(top_builddir)/config.status @rm -f stamp-h3 cd $(top_builddir) && $(SHELL) ./config.status | $(srcdir)/|.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOHEADER) touch $(srcdir)/|.in sed: stamp-h4 @if test ! -f $@; then \ rm -f stamp-h4; \ $(MAKE) stamp-h4; \ else :; fi stamp-h4: $(srcdir)/sed.in $(top_builddir)/config.status @rm -f stamp-h4 cd $(top_builddir) && $(SHELL) ./config.status sed $(srcdir)/sed.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOHEADER) touch $(srcdir)/sed.in -e: stamp-h5 @if test ! -f $@; then \ rm -f stamp-h5; \ $(MAKE) stamp-h5; \ else :; fi stamp-h5: $(srcdir)/-e.in $(top_builddir)/config.status @rm -f stamp-h5 cd $(top_builddir) && $(SHELL) ./config.status -e $(srcdir)/-e.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOHEADER) touch $(srcdir)/-e.in 's/\(HAVE_\|MUST_\|UNICODE\)/LOG4CXX_\1/;s/^\(.*PACKAGE.*\|.*VERSION.*\|. *STDC_HEADERS.*\)$/\/*: 's/\(HAVE_\|MUST_\|UNICODE\)/LOG4CXX_\1/;s/^\(. *PACKAGE.*\|.*VERSION.*\|.*STDC_HEADERS.*\)$/\/stamp-h6 @if test ! -f $@; then \ rm -f 's/\(HAVE_\|MUST_\|UNICODE\)/LOG4CXX_\1/;s/^\(.*PACKAGE.*\|. *VERSION.*\|.*STDC_HEADERS.*\)$/\/stamp-h6; \ $(MAKE) 's/\(HAVE_\|MUST_\|UNICODE\)/LOG4CXX_\1/;s/^\(.*PACKAGE. *\|.*VERSION.*\|.*STDC_HEADERS.*\)$/\/stamp-h6; \ else :; fi 's/\(HAVE_\|MUST_\|UNICODE\)/LOG4CXX_\1/;s/^\(.*PACKAGE.*\|.*VERSION.*\|. *STDC_HEADERS.*\)$/\/stamp-h6: $(srcdir)/./'s/\(HAVE_\|MUST_\|UNICODE\)/LOG4CXX_\1/;s/^\(.*PACKAGE.*\|. *VERSION.*\|.*STDC_HEADERS.*\)$/\/*.in $(top_builddir)/config.status @rm -f 's/\(HAVE_\|MUST_\|UNICODE\)/LOG4CXX_\1/;s/^\(.*PACKAGE.*\|. *VERSION.*\|.*STDC_HEADERS.*\)$/\/stamp-h6 cd $(top_builddir) && $(SHELL) ./config.status 's/\(HAVE_\|MUST_\|UNICODE\)/LOG4CXX_\1/;s/^\(.*PACKAGE.*\|.*VERSION.*\|. *STDC_HEADERS.*\)$/\/* $(srcdir)/./'s/\(HAVE_\|MUST_\|UNICODE\)/LOG4CXX_\1/;s/^\(.*PACKAGE.*\|. *VERSION.*\|.*STDC_HEADERS.*\)$/\/*.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOHEADER) touch $(srcdir)/./'s/\(HAVE_\|MUST_\|UNICODE\)/LOG4CXX_\1/;s/^\(. *PACKAGE.*\|.*VERSION.*\|.*STDC_HEADERS.*\)$/\/*.in \1: stamp-h7 @if test ! -f $@; then \ rm -f stamp-h7; \ $(MAKE) stamp-h7; \ else :; fi stamp-h7: $(srcdir)/\1.in $(top_builddir)/config.status @rm -f stamp-h7 cd $(top_builddir) && $(SHELL) ./config.status \1 $(srcdir)/\1.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOHEADER) touch $(srcdir)/\1.in *\//': *\/stamp-h8 @if test ! -f $@; then \ rm -f *\/stamp-h8; \ $(MAKE) *\/stamp-h8; \ else :; fi *\/stamp-h8: $(srcdir)/./*\//'.in $(top_builddir)/config.status @rm -f *\/stamp-h8 cd $(top_builddir) && $(SHELL) ./config.status *\//' $(srcdir)/./*\//'.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOHEADER) touch $(srcdir)/./*\//'.in >: stamp-h9 @if test ! -f $@; then \ rm -f stamp-h9; \ $(MAKE) stamp-h9; \ else :; fi stamp-h9: $(srcdir)/>.in $(top_builddir)/config.status @rm -f stamp-h9 cd $(top_builddir) && $(SHELL) ./config.status > $(srcdir)/>.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOHEADER) touch $(srcdir)/>.in "${ac_abs_top_builddir}/include/log4cxx/config_auto_log4cxx.h": " ${ac_abs_top_builddir}/include/log4cxx/stamp-h10 @if test ! -f $@; then \ rm -f "${ac_abs_top_builddir}/include/log4cxx/stamp-h10; \ $(MAKE) "${ac_abs_top_builddir}/include/log4cxx/stamp-h10; \ else :; fi "${ac_abs_top_builddir}/include/log4cxx/stamp-h10: $(srcdir)/./" ${ac_abs_top_builddir}/include/log4cxx/config_auto_log4cxx.h".in $(top_builddir)/config.status @rm -f "${ac_abs_top_builddir}/include/log4cxx/stamp-h10 cd $(top_builddir) && $(SHELL) ./config.status " ${ac_abs_top_builddir}/include/log4cxx/config_auto_log4cxx.h" $(srcdir)/./" ${ac_abs_top_builddir}/include/log4cxx/config_auto_log4cxx.h".in: $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOHEADER) touch $(srcdir)/./" ${ac_abs_top_builddir}/include/log4cxx/config_auto_log4cxx.h".in distclean-hdr: -rm -f "${ac_abs_top_builddir}/include/log4cxx/config_auto.h" " ${ac_abs_top_builddir}/include/log4cxx/stamp-h2 | stamp-h3 sed stamp-h4 -e stamp-h5 's/\(HAVE_\|MUST_\|UNICODE\)/LOG4CXX_\1/;s/^\(.*PACKAGE.*\|. *VERSION.*\|.*STDC_HEADERS.*\)$/\/* 's/\(HAVE_\|MUST_\|UNICODE\)/LOG4CXX_\1/;s/^\(.*PACKAGE.*\|.*VERSION.*\|. *STDC_HEADERS.*\)$/\/stamp-h6 \1 stamp-h7 *\//' *\/stamp-h8 > stamp-h9 " ${ac_abs_top_builddir}/include/log4cxx/config_auto_log4cxx.h" " ${ac_abs_top_builddir}/include/log4cxx/stamp-h10 mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @set fnord $$MAKEFLAGS; amf=$$2; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @set fnord $$MAKEFLAGS; amf=$$2; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ETAGS = etags ETAGSFLAGS = tags: TAGS ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique TAGS: tags-recursive $(HEADERS) $(SOURCES) |.in sed.in -e.in \1.in >.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) |.in sed.in -e.in \1.in >.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$tags$$unique" \ || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) top_distdir = . distdir = $(PACKAGE)-$(VERSION) am__remove_distdir = \ { test ! -d $(distdir) \ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -fr $(distdir); }; } GZIP_ENV = --best distcleancheck_listfiles = find . -type f -print distdir: $(DISTFILES) $(am__remove_distdir) mkdir $(distdir) $(mkinstalldirs) $(distdir)/docs $(distdir)/include/log4cxx @list='$(DISTFILES)'; for file in $$list; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkinstalldirs) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d $(distdir)/$$subdir \ || mkdir $(distdir)/$$subdir \ || exit 1; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$(top_distdir)" \ distdir=../$(distdir)/$$subdir \ distdir) \ || exit 1; \ fi; \ done -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r $(distdir) dist-gzip: distdir $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz $(am__remove_distdir) dist dist-all: distdir $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz $(am__remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist $(am__remove_distdir) GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - chmod -R a-w $(distdir); chmod a+w $(distdir) mkdir $(distdir)/=build mkdir $(distdir)/=inst chmod a-w $(distdir) dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \ && cd $(distdir)/=build \ && ../configure --srcdir=.. --prefix=$$dc_install_base \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \ || { echo "ERROR: files left after uninstall:" ; \ find $$dc_install_base -type f -print ; \ exit 1; } >&2 ) \ && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \ && rm -f $(distdir).tar.gz \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck $(am__remove_distdir) @echo "$(distdir).tar.gz is ready for distribution" | \ sed 'h;s/./=/g;p;x;p;x' distcleancheck: distclean if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile | sed -e \1 > installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) distclean-am: clean-am distclean-generic distclean-hdr distclean-libtool \ distclean-tags dvi: dvi-recursive dvi-am: info: info-recursive info-am: install-data-am: install-exec-am: install-info: install-info-recursive install-man: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf autom4te.cache maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool uninstall-am: uninstall-info-am uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \ clean-generic clean-libtool clean-recursive dist dist-all \ dist-gzip distcheck distclean distclean-generic distclean-hdr \ distclean-libtool distclean-recursive distclean-tags \ distcleancheck distdir dvi dvi-am dvi-recursive info info-am \ info-recursive install install-am install-data install-data-am \ install-data-recursive install-exec install-exec-am \ install-exec-recursive install-info install-info-am \ install-info-recursive install-man install-recursive \ install-strip installcheck installcheck-am installdirs \ installdirs-am installdirs-recursive maintainer-clean \ maintainer-clean-generic maintainer-clean-recursive mostlyclean \ mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \ tags tags-recursive uninstall uninstall-am uninstall-info-am \ uninstall-info-recursive uninstall-recursive # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: Thanks, Jim From [email protected] Sat Jan 15 23:04:07 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 784 invoked from network); 15 Jan 2005 23:04:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 15 Jan 2005 23:04:07 -0000 Received: (qmail 3201 invoked by uid 500); 15 Jan 2005 23:04:07 -0000 Delivered-To: [email protected] Received: (qmail 3054 invoked by uid 500); 15 Jan 2005 23:04:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 3039 invoked by uid 99); 15 Jan 2005 23:04:06 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from pluto.phpwebhosting.com (HELO pluto.phpwebhosting.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 15 Jan 2005 15:04:04 -0800 Received: (qmail 27468 invoked from network); 15 Jan 2005 23:04:01 -0000 Received: from unknown (HELO juxtapose) (161.129.204.104) by pluto.phpwebhosting.com with SMTP; 15 Jan 2005 23:04:01 -0000 Reply-To: <[email protected]> From: "Keith Bottner" <[email protected]> To: "'Log4CXX User'" <[email protected]> Subject: RE: Problem compiling on FreeBSD 5.3 Date: Sat, 15 Jan 2005 17:05:59 -0600 Organization: Barking Lizards Technologies MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-reply-to: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 thread-index: AcT7IvTvc4wwEpQmTTKku4uxhUSYygAMrArw X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N It's not just a header problem or I wouldn't even ask. The autogen.sh will not run on FreeBSD. And in fact shouldn't even have = to run. The configure script should already be generated when the tar.gz = was packaged so that all anyone has to do is run configure then make and = so on... The autogen.sh shell script is there to generate this = configure, which is backward. The whole point of using configure is to = bypass difficulties in compiling the same source on different systems. = Having to run autogen.sh as the first step pretty much goes back to the = core issues of why configure was developed in the first place. Now onto why FreeBSD has an issue, which specifically has to do with the = autoconf, automake, aclocal, etc. that exist in the autogen.sh. FreeBSD = has multiple versions of these installed for various reasons so there is = no single link which means that the autogen.sh script has to be edited = manually but then which version should be used? The real solution is to get rid of the autogen.sh shell script and post = a tar.gz with a configure that does what it is suppose to do, which is = deal with platform differences. I some what belive that there was an = error packaging the 0.9.7 version and that in fact they meant to = generate a tar.gz with the configure already generated by the projects = maintainers but that something was missed. Anyone have an opinion, flaming aside. Keith -----Original Message----- From: Sun Xiaoguang [mailto:[email protected]]=20 Sent: Saturday, January 15, 2005 10:54 AM To: [email protected] Subject: RE: Problem compiling on FreeBSD 5.3 You can modified the source code to solve it. It's only a header file's = problem. >From: "Keith Bottner" <[email protected]> >Reply-To: "Log4CXX User" <[email protected]> >To: "Log4CXX User" <[email protected]> >Subject: Problem compiling on FreeBSD 5.3 >Date: Fri, 14 Jan 2005 17:42:49 -0600 > >Is anyone out there using FreeBSD with log4cxx? > >I downloaded the tar and am unable to get log4cxx to compile. I think=20 >it has >less to do with log4cxx and more to do with FreeBSD. We are moving from = >linux to FreeBSD and I wanted to see if anybody who is using log4cxx=20 >has already wrestled with this problem so that maybe I can save some = time. > >Thanks in advance, > >Keith > > > > >-- >No virus found in this outgoing message. >Checked by AVG Anti-Virus. >Version: 7.0.300 / Virus Database: 265.6.11 - Release Date: 1/12/2005 > _________________________________________________________________ =E4=B8=8E=E8=81=94=E6=9C=BA=E7=9A=84=E6=9C=8B=E5=8F=8B=E8=BF=9B=E8=A1=8C=E4= =BA=A4=E6=B5=81=EF=BC=8C=E8=AF=B7=E4=BD=BF=E7=94=A8 MSN Messenger: = http://messenger.msn.com/cn =20 From [email protected] Mon Jan 17 04:23:59 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41258 invoked from network); 17 Jan 2005 04:23:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 17 Jan 2005 04:23:59 -0000 Received: (qmail 99150 invoked by uid 500); 17 Jan 2005 04:23:58 -0000 Delivered-To: [email protected] Received: (qmail 99123 invoked by uid 500); 17 Jan 2005 04:23:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 99109 invoked by uid 99); 17 Jan 2005 04:23:58 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=MIME_BASE64_TEXT X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from bagheera.aus.deuba.com (HELO bmr1-e1.aus.deuba.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 16 Jan 2005 20:23:56 -0800 Received: from sdbo1011.db.com by bmr1-e1.aus.deuba.com id j0H4OjSv015323; Mon, 17 Jan 2005 15:24:46 +1100 (EST) To: [email protected] Subject: RE: Problem compiling on FreeBSD 5.3 MIME-Version: 1.0 X-Mailer: Lotus Notes Release 5.0.11 July 24, 2002 Message-ID: <[email protected]> From: "Barak Simon" <[email protected]> Date: Mon, 17 Jan 2005 15:23:50 +1100 X-MIMETrack: Serialize by Router on sdbo1011/DBAustralia/DeuBaInt/DeuBa(5013aHF19 | July 26, 2004) at 17/01/2005 15:23:51, Serialize complete at 17/01/2005 15:23:51 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Q291bGRuJ3QgYWdyZWUgbW9yZSENClRoZSBwYWluZnVsIHRpbWUgSSBzcGVudCBvbiBTb2xhcmlz IHNpZGUgdG8gbWFrZSBhdXRvZ2VuLnNoIHdvcmsgZm9yIG1lIA0KdW50aWwgSSBmb3VuZCBpbiB0 aGUgZW5kIHRoYXQgSSBuZWVkIHRvIGFzayBteSBzeXNhZG1pbiB0byB1cGdyYWRlDQp0byBtNCB2 ZXJzaW9uIDEuNC4yIC4uLg0KDQpfX19fX19fX19fX19fX19fX19fX19fX18NCkJhcmFrIFNpbW9u DQpHRUQgSVQgQ29yZSBQbGF0Zm9ybQ0KRGV1dHNjaGUgQmFuaw0KMTkwIEdlb3JnZSBTdC4gU3lk bmV5LCAyMDAwDQpQaG9uZSArNjEgMiA5MjUgODUwNzANCkZheCAgICAgICs2MSAyIDkyNSA5NTA1 MA0KDQoNCg0KDQprZWl0aEBiYXJraW5nbGl6YXJkcy5jb20NCjE2LzAxLzIwMDUgMTA6MDUgQU0N ClBsZWFzZSByZXNwb25kIHRvIGxvZzRjeHgtdXNlcg0KDQogDQogICAgICAgIFRvOiAgICAgbG9n NGN4eC11c2VyQGxvZ2dpbmcuYXBhY2hlLm9yZw0KICAgICAgICBjYzogDQogICAgICAgIFN1Ympl Y3Q6ICAgICAgICBSRTogUHJvYmxlbSBjb21waWxpbmcgb24gRnJlZUJTRCA1LjMNCg0KDQpJdCdz IG5vdCBqdXN0IGEgaGVhZGVyIHByb2JsZW0gb3IgSSB3b3VsZG4ndCBldmVuIGFzay4NCg0KVGhl IGF1dG9nZW4uc2ggd2lsbCBub3QgcnVuIG9uIEZyZWVCU0QuIEFuZCBpbiBmYWN0IHNob3VsZG4n dCBldmVuIGhhdmUgdG8gDQpydW4uIFRoZSBjb25maWd1cmUgc2NyaXB0IHNob3VsZCBhbHJlYWR5 IGJlIGdlbmVyYXRlZCB3aGVuIHRoZSB0YXIuZ3ogd2FzIA0KcGFja2FnZWQgc28gdGhhdCBhbGwg YW55b25lIGhhcyB0byBkbyBpcyBydW4gY29uZmlndXJlIHRoZW4gbWFrZSBhbmQgc28gDQpvbi4u LiBUaGUgYXV0b2dlbi5zaCBzaGVsbCBzY3JpcHQgaXMgdGhlcmUgdG8gZ2VuZXJhdGUgdGhpcyBj b25maWd1cmUsIA0Kd2hpY2ggaXMgYmFja3dhcmQuIFRoZSB3aG9sZSBwb2ludCBvZiB1c2luZyBj b25maWd1cmUgaXMgdG8gYnlwYXNzIA0KZGlmZmljdWx0aWVzIGluIGNvbXBpbGluZyB0aGUgc2Ft ZSBzb3VyY2Ugb24gZGlmZmVyZW50IHN5c3RlbXMuIEhhdmluZyB0byANCnJ1biBhdXRvZ2VuLnNo IGFzIHRoZSBmaXJzdCBzdGVwIHByZXR0eSBtdWNoIGdvZXMgYmFjayB0byB0aGUgY29yZSBpc3N1 ZXMgDQpvZiB3aHkgY29uZmlndXJlIHdhcyBkZXZlbG9wZWQgaW4gdGhlIGZpcnN0IHBsYWNlLg0K DQpOb3cgb250byB3aHkgRnJlZUJTRCBoYXMgYW4gaXNzdWUsIHdoaWNoIHNwZWNpZmljYWxseSBo YXMgdG8gZG8gd2l0aCB0aGUgDQphdXRvY29uZiwgYXV0b21ha2UsIGFjbG9jYWwsIGV0Yy4gdGhh dCBleGlzdCBpbiB0aGUgYXV0b2dlbi5zaC4gRnJlZUJTRCANCmhhcyBtdWx0aXBsZSB2ZXJzaW9u cyBvZiB0aGVzZSBpbnN0YWxsZWQgZm9yIHZhcmlvdXMgcmVhc29ucyBzbyB0aGVyZSBpcyANCm5v IHNpbmdsZSBsaW5rIHdoaWNoIG1lYW5zIHRoYXQgdGhlIGF1dG9nZW4uc2ggc2NyaXB0IGhhcyB0 byBiZSBlZGl0ZWQgDQptYW51YWxseSBidXQgdGhlbiB3aGljaCB2ZXJzaW9uIHNob3VsZCBiZSB1 c2VkPw0KDQpUaGUgcmVhbCBzb2x1dGlvbiBpcyB0byBnZXQgcmlkIG9mIHRoZSBhdXRvZ2VuLnNo IHNoZWxsIHNjcmlwdCBhbmQgcG9zdCBhIA0KdGFyLmd6IHdpdGggYSBjb25maWd1cmUgdGhhdCBk b2VzIHdoYXQgaXQgaXMgc3VwcG9zZSB0byBkbywgd2hpY2ggaXMgZGVhbCANCndpdGggcGxhdGZv cm0gZGlmZmVyZW5jZXMuIEkgc29tZSB3aGF0IGJlbGl2ZSB0aGF0IHRoZXJlIHdhcyBhbiBlcnJv ciANCnBhY2thZ2luZyB0aGUgMC45LjcgdmVyc2lvbiBhbmQgdGhhdCBpbiBmYWN0IHRoZXkgbWVh bnQgdG8gZ2VuZXJhdGUgYSANCnRhci5neiB3aXRoIHRoZSBjb25maWd1cmUgYWxyZWFkeSBnZW5l cmF0ZWQgYnkgdGhlIHByb2plY3RzIG1haW50YWluZXJzIA0KYnV0IHRoYXQgc29tZXRoaW5nIHdh cyBtaXNzZWQuDQoNCkFueW9uZSBoYXZlIGFuIG9waW5pb24sIGZsYW1pbmcgYXNpZGUuDQoNCg0K S2VpdGgNCg0KLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCkZyb206IFN1biBYaWFvZ3Vhbmcg W21haWx0bzp4X2V4cGxvcmVyQGhvdG1haWwuY29tXQ0KU2VudDogU2F0dXJkYXksIEphbnVhcnkg MTUsIDIwMDUgMTA6NTQgQU0NClRvOiBsb2c0Y3h4LXVzZXJAbG9nZ2luZy5hcGFjaGUub3JnDQpT dWJqZWN0OiBSRTogUHJvYmxlbSBjb21waWxpbmcgb24gRnJlZUJTRCA1LjMNCg0KWW91IGNhbiBt b2RpZmllZCB0aGUgc291cmNlIGNvZGUgdG8gc29sdmUgaXQuIEl0J3Mgb25seSBhIGhlYWRlciBm aWxlJ3MgDQpwcm9ibGVtLg0KDQo+RnJvbTogIktlaXRoIEJvdHRuZXIiIDxrZWl0aEBiYXJraW5n bGl6YXJkcy5jb20+DQo+UmVwbHktVG86ICJMb2c0Q1hYIFVzZXIiIDxsb2c0Y3h4LXVzZXJAbG9n Z2luZy5hcGFjaGUub3JnPg0KPlRvOiAiTG9nNENYWCBVc2VyIiA8bG9nNGN4eC11c2VyQGxvZ2dp bmcuYXBhY2hlLm9yZz4NCj5TdWJqZWN0OiBQcm9ibGVtIGNvbXBpbGluZyBvbiBGcmVlQlNEIDUu Mw0KPkRhdGU6IEZyaSwgMTQgSmFuIDIwMDUgMTc6NDI6NDkgLTA2MDANCj4NCj5JcyBhbnlvbmUg b3V0IHRoZXJlIHVzaW5nIEZyZWVCU0Qgd2l0aCBsb2c0Y3h4Pw0KPg0KPkkgZG93bmxvYWRlZCB0 aGUgdGFyIGFuZCBhbSB1bmFibGUgdG8gZ2V0IGxvZzRjeHggdG8gY29tcGlsZS4gSSB0aGluaw0K Pml0DQpoYXMNCj5sZXNzIHRvIGRvIHdpdGggbG9nNGN4eCBhbmQgbW9yZSB0byBkbyB3aXRoIEZy ZWVCU0QuIFdlIGFyZSBtb3ZpbmcgZnJvbQ0KPmxpbnV4IHRvIEZyZWVCU0QgYW5kIEkgd2FudGVk IHRvIHNlZSBpZiBhbnlib2R5IHdobyBpcyB1c2luZyBsb2c0Y3h4DQo+aGFzIGFscmVhZHkgd3Jl c3RsZWQgd2l0aCB0aGlzIHByb2JsZW0gc28gdGhhdCBtYXliZSBJIGNhbiBzYXZlIHNvbWUgDQp0 aW1lLg0KPg0KPlRoYW5rcyBpbiBhZHZhbmNlLA0KPg0KPktlaXRoDQo+DQo+DQo+DQo+DQo+LS0N Cj5ObyB2aXJ1cyBmb3VuZCBpbiB0aGlzIG91dGdvaW5nIG1lc3NhZ2UuDQo+Q2hlY2tlZCBieSBB VkcgQW50aS1WaXJ1cy4NCj5WZXJzaW9uOiA3LjAuMzAwIC8gVmlydXMgRGF0YWJhc2U6IDI2NS42 LjExIC0gUmVsZWFzZSBEYXRlOiAxLzEyLzIwMDUNCj4NCg0KX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18NCtPrwaq7+rXExfPT 0b340NC9u8H3o6zH68q508MgTVNOIE1lc3NlbmdlcjogIGh0dHA6Ly9tZXNzZW5nZXIubXNuLmNv bS9jbg0KDQoNCg0KDQoNCg== From [email protected] Mon Jan 17 23:02:42 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46005 invoked from network); 17 Jan 2005 23:02:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 17 Jan 2005 23:02:42 -0000 Received: (qmail 43076 invoked by uid 500); 17 Jan 2005 23:02:41 -0000 Delivered-To: [email protected] Received: (qmail 43051 invoked by uid 500); 17 Jan 2005 23:02:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 43034 invoked by uid 99); 17 Jan 2005 23:02:40 -0000 X-ASF-Spam-Status: No, hits=1.8 required=10.0 tests=HTML_MESSAGE,RCVD_IN_BL_SPAMCOP_NET X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from tiere.net.avaya.com (HELO tiere.net.avaya.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 17 Jan 2005 15:02:39 -0800 Received: from tiere.net.avaya.com (localhost [161.129.204.104]) by tiere.net.avaya.com (Switch-3.1.2/Switch-3.1.0) with ESMTP id j0HN0XFe012450 for <[email protected]>; Mon, 17 Jan 2005 18:00:33 -0500 (EST) Received: from cof110avexu4.global.avaya.com (h135-9-6-19.avaya.com [161.129.204.104]) by tiere.net.avaya.com (Switch-3.1.2/Switch-3.1.0) with ESMTP id j0HN0TFe012351 for <[email protected]>; Mon, 17 Jan 2005 18:00:31 -0500 (EST) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4FCE8.A045905C" X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Subject: How do i load a custom parameter? Date: Mon, 17 Jan 2005 16:02:32 -0700 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How do i load a custom parameter? Thread-Index: AcT86KAabfA33NrBQKeq112BGqcm+w== From: "Kadarkarai, Prabhakar \(Prabhakar\)" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C4FCE8.A045905C Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello All, =20 In a custom appender I would like to add few custom parameters and get it loaded when the appender loads. I have defined all the parameters in the XML configuration file like "<param name=3D3D"Path" value=3D3D"drprabhakar-a0/private$/RemoteMSMQ" />". When I am trying to = =3D load the appender I got the appender loaded but no properties loaded. I have defined set/get methods in my custom appender file which is shown below. How do I get this working? Should I need to call any MACRO to get the parameter loading? =20 Thanks, PK =20 void MSMQAppenderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bsetPath(BSTR pathVal) { this->pathName =3D pathVal; } BSTR MSMQAppenderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetPath() { return this->pathName; } =20 ------_=_NextPart_001_01C4FCE8.A045905C Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {font-family:Arial; color:windowtext;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New"'>Hello = All,</span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier = New"'>&nbsp;</span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New"'>In a custom = appender I would like to add few custom parameters and get it loaded when the appender = loads.&nbsp; I have defined all the parameters in the XML configuration file like = &quot;&lt;param name=3D3D&quot;Path&quot; = value=3D3D&quot;drprabhakar-a0/private$/RemoteMSMQ&quot; /&gt;&quot;. When I am trying to =3D load the appender I got the = appender loaded but no properties loaded. I have defined set/get methods in my custom = appender file which is shown below. How do I get this working? Should I need to call = any MACRO to get the parameter loading?</span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier = New"'>&nbsp;</span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier = New"'>Thanks,</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt; font-family:"Courier New"'>PK</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt; font-family:"Courier New"'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>void MSMQAppenderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bsetPath(BSTR = pathVal)</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>{</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp; this-&gt;pathName =3D = pathVal;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>}</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>BSTR MSMQAppenderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetPath()</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>{</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;&nbsp; return = this-&gt;pathName;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>}</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;</span></font></p> </div> </body> </html> ------_=_NextPart_001_01C4FCE8.A045905C-- From [email protected] Mon Jan 17 23:05:50 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47230 invoked from network); 17 Jan 2005 23:05:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 17 Jan 2005 23:05:50 -0000 Received: (qmail 48214 invoked by uid 500); 17 Jan 2005 23:05:49 -0000 Delivered-To: [email protected] Received: (qmail 48186 invoked by uid 500); 17 Jan 2005 23:05:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 48166 invoked by uid 99); 17 Jan 2005 23:05:49 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=HTML_90_100,HTML_MESSAGE,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from hkgsmtpgw01.oocl.com (HELO hkgsmtpgw01.OOCL.COM) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 17 Jan 2005 15:05:46 -0800 Received: from oocl.com ([161.129.204.104]) by hkgsmtpgw01.OOCL.COM with InterScan Messaging Security Suite; Tue, 18 Jan 2005 07:10:05 +0800 Received: from hkgmail6.corp.oocl.com ([161.129.204.104]) by oocl.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 18 Jan 2005 07:05:38 +0800 Received: from sntmail2.corp.oocl.com ([161.129.204.104]) by hkgmail6.corp.oocl.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 18 Jan 2005 07:05:35 +0800 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4FCE9.0B447063" Subject: RE: How do i load a custom parameter? Date: Mon, 17 Jan 2005 15:05:31 -0800 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How do i load a custom parameter? Thread-Index: AcT86KAabfA33NrBQKeq112BGqcm+wAADJOQ From: <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 17 Jan 2005 23:05:36.0027 (UTC) FILETIME=[0DAD7EB0:01C4FCE9] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C4FCE9.0B447063 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable There's another method you have to override, something like setOptions(String name, String value). You compare the name string to the property name you want to set, and if they match (usually converting both to upper or lower case), convert the property string to the correct representation (i.e., make it an int) and assign it. This can be found all over the place. =20 Tom Hawker Office (262)914-4166 PCS (262)914-4166 _____ =20 From: Kadarkarai, Prabhakar (Prabhakar) [mailto:[email protected]]=20 Sent: Monday, January 17, 2005 03:03 PM To: [email protected] Subject: How do i load a custom parameter? =20 Hello All, =20 In a custom appender I would like to add few custom parameters and get it loaded when the appender loads. I have defined all the parameters in the XML configuration file like "<param name=3D3D"Path" value=3D3D"drprabhakar-a0/private$/RemoteMSMQ" />". When I am trying to = =3D load the appender I got the appender loaded but no properties loaded. I have defined set/get methods in my custom appender file which is shown below. How do I get this working? Should I need to call any MACRO to get the parameter loading? =20 Thanks, PK =20 void MSMQAppenderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bsetPath(BSTR pathVal) { this->pathName =3D pathVal; } BSTR MSMQAppenderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetPath() { return this->pathName; } =20 IMPORTANT NOTICE Email from OOCL is confidential and may be legally privileged. If it is = not intended for you, please delete it immediately unread. The internet = cannot guarantee that this communication is free of viruses, = interception or interference and anyone who communicates with us by = email is taken to accept the risks in so doing. Without limitation, = OOCL and its affiliates accept no liability whatsoever and howsoever = arising in connection with the use of this email. Under no = circumstances shall this email constitute a binding agreement to carry = or for provision of carriage services by OOCL, which is subject to the = availability of carrier's equipment and vessels and the terms and = conditions of OOCL's standard bill of lading which is also available at = http://www.oocl.com. ------_=_NextPart_001_01C4FCE9.0B447063 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Wingdings; panose-1:5 0 0 0 0 0 0 0 0 0;} @font-face {font-family:"Bookman Old Style"; panose-1:(262)914-4166;} @font-face {font-family:Verdana; panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face {font-family:Impact; panose-1:2 11 8 6 3 9 2 5 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} h1 {margin-top:.25in; margin-right:0in; margin-bottom:6.0pt; margin-left:0in; page-break-before:always; page-break-after:avoid; font-size:14.0pt; font-family:Verdana; font-weight:bold;} h2 {margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; page-break-after:avoid; font-size:12.0pt; font-family:Verdana; font-weight:bold;} h3 {margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; page-break-after:avoid; font-size:12.0pt; font-family:Arial; font-weight:bold;} h4 {margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; page-break-after:avoid; font-size:12.0pt; font-family:Arial; font-weight:bold;} h5 {margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; font-size:10.0pt; font-family:"Bookman Old Style"; font-weight:bold;} h6 {margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; font-size:10.0pt; font-family:"Bookman Old Style"; font-weight:normal; font-style:italic;} p.MsoHeading7, li.MsoHeading7, div.MsoHeading7 {margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoHeading8, li.MsoHeading8, div.MsoHeading8 {margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; font-size:9.0pt; font-family:"Bookman Old Style";} p.MsoHeading9, li.MsoHeading9, div.MsoHeading9 {margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; font-size:9.0pt; font-family:"Bookman Old Style"; font-style:italic;} p.MsoIndex1, li.MsoIndex1, div.MsoIndex1 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:10.0pt; margin-bottom:.0001pt; text-indent:-10.0pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoIndex2, li.MsoIndex2, div.MsoIndex2 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:20.0pt; margin-bottom:.0001pt; text-indent:-10.0pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoIndex3, li.MsoIndex3, div.MsoIndex3 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:30.0pt; margin-bottom:.0001pt; text-indent:-10.0pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoIndex4, li.MsoIndex4, div.MsoIndex4 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:40.0pt; margin-bottom:.0001pt; text-indent:-10.0pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoIndex5, li.MsoIndex5, div.MsoIndex5 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:50.0pt; margin-bottom:.0001pt; text-indent:-10.0pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoIndex6, li.MsoIndex6, div.MsoIndex6 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:60.0pt; margin-bottom:.0001pt; text-indent:-10.0pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoIndex7, li.MsoIndex7, div.MsoIndex7 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:70.0pt; margin-bottom:.0001pt; text-indent:-10.0pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoIndex8, li.MsoIndex8, div.MsoIndex8 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:80.0pt; margin-bottom:.0001pt; text-indent:-10.0pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoIndex9, li.MsoIndex9, div.MsoIndex9 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:1.25in; margin-bottom:.0001pt; text-indent:-10.0pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoToc1, li.MsoToc1, div.MsoToc1 {margin-top:3.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; font-size:10.0pt; font-family:Tahoma; font-weight:bold;} p.MsoToc2, li.MsoToc2, div.MsoToc2 {margin-top:3.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:51.0pt; text-indent:-34.0pt; font-size:10.0pt; font-family:Tahoma;} p.MsoToc3, li.MsoToc3, div.MsoToc3 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:51.15pt; margin-bottom:.0001pt; text-indent:-33.85pt; font-size:10.0pt; font-family:"Bookman Old Style"; font-style:italic;} p.MsoToc4, li.MsoToc4, div.MsoToc4 {margin-top:3.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:51.0pt; text-indent:-34.0pt; font-size:9.0pt; font-family:"Bookman Old Style";} p.MsoToc5, li.MsoToc5, div.MsoToc5 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:40.0pt; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoToc6, li.MsoToc6, div.MsoToc6 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:50.0pt; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoToc7, li.MsoToc7, div.MsoToc7 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:60.0pt; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoToc8, li.MsoToc8, div.MsoToc8 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:70.0pt; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoToc9, li.MsoToc9, div.MsoToc9 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:80.0pt; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoNormalIndent, li.MsoNormalIndent, div.MsoNormalIndent {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoFootnoteText, li.MsoFootnoteText, div.MsoFootnoteText {margin-top:3.0pt; margin-right:0in; margin-bottom:0in; margin-left:9.35pt; margin-bottom:.0001pt; text-indent:-9.35pt; font-size:9.0pt; font-family:"Bookman Old Style";} p.MsoCommentText, li.MsoCommentText, div.MsoCommentText {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoHeader, li.MsoHeader, div.MsoHeader {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:0in; font-size:10.0pt; font-family:Verdana; font-weight:bold;} p.MsoHeaderCxSpFirst, li.MsoHeaderCxSpFirst, div.MsoHeaderCxSpFirst {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:Verdana; font-weight:bold;} p.MsoHeaderCxSpMiddle, li.MsoHeaderCxSpMiddle, div.MsoHeaderCxSpMiddle {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:Verdana; font-weight:bold;} p.MsoHeaderCxSpLast, li.MsoHeaderCxSpLast, div.MsoHeaderCxSpLast {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:0in; font-size:10.0pt; font-family:Verdana; font-weight:bold;} p.MsoFooter, li.MsoFooter, div.MsoFooter {margin-top:6.0pt; margin-right:0in; margin-bottom:0in; margin-left:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:Verdana; font-weight:bold;} p.MsoFooterCxSpFirst, li.MsoFooterCxSpFirst, div.MsoFooterCxSpFirst {margin-top:6.0pt; margin-right:0in; margin-bottom:0in; margin-left:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:Verdana; font-weight:bold;} p.MsoFooterCxSpMiddle, li.MsoFooterCxSpMiddle, div.MsoFooterCxSpMiddle {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:Verdana; font-weight:bold;} p.MsoFooterCxSpLast, li.MsoFooterCxSpLast, div.MsoFooterCxSpLast {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:Verdana; font-weight:bold;} p.MsoIndexHeading, li.MsoIndexHeading, div.MsoIndexHeading {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:Arial; font-weight:bold;} p.MsoTof, li.MsoTof, div.MsoTof {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.75in; margin-bottom:.0001pt; text-indent:-.75in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoEnvelopeAddress, li.MsoEnvelopeAddress, div.MsoEnvelopeAddress {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:2.0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:Arial;} p.MsoEnvelopeReturn, li.MsoEnvelopeReturn, div.MsoEnvelopeReturn {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:Arial;} span.MsoFootnoteReference {vertical-align:super;} span.MsoCommentReference {font-family:Arial;} span.MsoEndnoteReference {vertical-align:super;} p.MsoEndnoteText, li.MsoEndnoteText, div.MsoEndnoteText {margin-top:6.0pt; margin-right:0in; margin-bottom:0in; margin-left:.2in; margin-bottom:.0001pt; text-indent:-.2in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoToa, li.MsoToa, div.MsoToa {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:10.0pt; margin-bottom:.0001pt; text-indent:-10.0pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoToaHeading, li.MsoToaHeading, div.MsoToaHeading {margin-top:6.0pt; margin-right:0in; margin-bottom:0in; margin-left:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:Arial; font-weight:bold;} p.MsoList, li.MsoList, div.MsoList {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.25in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListBullet, li.MsoListBullet, div.MsoListBullet {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.25in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListNumber, li.MsoListNumber, div.MsoListNumber {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.25in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoList2, li.MsoList2, div.MsoList2 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoList3, li.MsoList3, div.MsoList3 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.75in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoList4, li.MsoList4, div.MsoList4 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:1.0in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoList5, li.MsoList5, div.MsoList5 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:1.25in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListBullet2, li.MsoListBullet2, div.MsoListBullet2 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListBullet3, li.MsoListBullet3, div.MsoListBullet3 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.75in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListBullet4, li.MsoListBullet4, div.MsoListBullet4 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:1.0in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListBullet5, li.MsoListBullet5, div.MsoListBullet5 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.25in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListNumber2, li.MsoListNumber2, div.MsoListNumber2 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListNumber3, li.MsoListNumber3, div.MsoListNumber3 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.75in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListNumber4, li.MsoListNumber4, div.MsoListNumber4 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:1.0in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListNumber5, li.MsoListNumber5, div.MsoListNumber5 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:1.25in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoTitle, li.MsoTitle, div.MsoTitle {margin-top:.25in; margin-right:0in; margin-bottom:6.0pt; margin-left:0in; page-break-before:always; page-break-after:avoid; font-size:14.0pt; font-family:Verdana; font-weight:bold;} p.MsoClosing, li.MsoClosing, div.MsoClosing {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:3.0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoSignature, li.MsoSignature, div.MsoSignature {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:3.0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoBodyText, li.MsoBodyText, div.MsoBodyText {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:0in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoBodyTextIndent, li.MsoBodyTextIndent, div.MsoBodyTextIndent {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListContinue, li.MsoListContinue, div.MsoListContinue {margin-top:6.0pt; margin-right:0in; margin-bottom:0in; margin-left:.25in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListContinue2, li.MsoListContinue2, div.MsoListContinue2 {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:.5in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListContinue3, li.MsoListContinue3, div.MsoListContinue3 {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:.75in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListContinue4, li.MsoListContinue4, div.MsoListContinue4 {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:1.0in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListContinue5, li.MsoListContinue5, div.MsoListContinue5 {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:1.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoMessageHeader, li.MsoMessageHeader, div.MsoMessageHeader {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.75in; margin-bottom:.0001pt; text-indent:-.75in; background:#CCCCCC; border:none; padding:0in; font-size:12.0pt; font-family:Arial;} p.MsoSubtitle, li.MsoSubtitle, div.MsoSubtitle {margin-top:0in; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; text-align:center; font-size:12.0pt; font-family:Arial;} p.MsoSalutation, li.MsoSalutation, div.MsoSalutation {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} p.MsoDate, li.MsoDate, div.MsoDate {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} p.MsoBodyTextFirstIndent, li.MsoBodyTextFirstIndent, = div.MsoBodyTextFirstIndent {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:0in; text-indent:10.5pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoBodyTextFirstIndent2, li.MsoBodyTextFirstIndent2, = div.MsoBodyTextFirstIndent2 {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:.25in; text-indent:10.5pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoBodyText2, li.MsoBodyText2, div.MsoBodyText2 {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:0in; line-height:200%; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoBodyText3, li.MsoBodyText3, div.MsoBodyText3 {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:0in; font-size:8.0pt; font-family:"Bookman Old Style";} p.MsoBodyTextIndent2, li.MsoBodyTextIndent2, div.MsoBodyTextIndent2 {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:.25in; line-height:200%; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoBodyTextIndent3, li.MsoBodyTextIndent3, div.MsoBodyTextIndent3 {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:.25in; font-size:8.0pt; font-family:"Bookman Old Style";} p.MsoBlockText, li.MsoBlockText, div.MsoBlockText {margin-top:0in; margin-right:1.0in; margin-bottom:6.0pt; margin-left:1.0in; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} p.MsoDocumentMap, li.MsoDocumentMap, div.MsoDocumentMap {margin:0in; margin-bottom:.0001pt; background:navy; font-size:12.0pt; font-family:Tahoma;} p.MsoPlainText, li.MsoPlainText, div.MsoPlainText {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Courier New";} p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} p {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} address {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman"; font-style:italic;} code {font-family:"Courier New";} kbd {font-family:"Courier New";} pre {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Courier New";} samp {font-family:"Courier New";} tt {font-family:"Courier New";} p.MsoCommentSubject, li.MsoCommentSubject, div.MsoCommentSubject {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style"; font-weight:bold;} p.MsoAcetate, li.MsoAcetate, div.MsoAcetate {margin:0in; margin-bottom:.0001pt; font-size:8.0pt; font-family:Tahoma;} span.emailstyle17 {font-family:Arial; color:windowtext;} span.EmailStyle18 {font-family:"Bookman Old Style"; color:blue; font-weight:normal; font-style:normal; text-decoration:none none;} span.Code {font-family:"Courier New";} span.Attention {font-family:Tahoma; color:red; font-weight:bold;} p.Open, li.Open, div.Open {margin-top:12.0pt; margin-right:0in; margin-bottom:0in; margin-left:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} p.BulletedList, li.BulletedList, div.BulletedList {margin-top:6.0pt; margin-right:0in; margin-bottom:0in; margin-left:.25in; margin-bottom:.0001pt; text-indent:-.25in; font-size:12.0pt; font-family:"Times New Roman";} p.NumberedList1, li.NumberedList1, div.NumberedList1 {margin-top:6.0pt; margin-right:0in; margin-bottom:0in; margin-left:.25in; margin-bottom:.0001pt; text-indent:-.25in; font-size:12.0pt; font-family:"Times New Roman";} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} /* List Definitions */ ol {margin-bottom:0in;} ul {margin-bottom:0in;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Bookman Old Style"; color:blue'>There&#8217;s another method you have to override, something = like setOptions(String name, String value). &nbsp;You compare the name string = to the property name you want to set, and if they match (usually converting = both to upper or lower case), convert the property string to the correct = representation (i.e., make it an int) and assign it. &nbsp;This can be found all over = the place.</span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Bookman Old Style"; color:blue'>&nbsp;</span></p> <div> <p class=3DMsoAutoSig><span = style=3D'font-family:Impact;color:#996600'>Tom Hawker</span></p> <p class=3DMsoAutoSig><span = style=3D'font-size:10.0pt;font-family:Tahoma; color:#999999'>Office&nbsp;&nbsp;&nbsp; = 408&#8211;576&#8211;6591</span></p> <p class=3DMsoAutoSig><span = style=3D'font-size:10.0pt;font-family:Tahoma; color:#999999'>PCS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 913&#8211;488&#8211;0796</span></p> </div> <div> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'> <hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1> </div> <p class=3DMsoNormal><b><span = style=3D'font-size:10.0pt;font-family:Tahoma'>From:</span></b><span style=3D'font-size:10.0pt;font-family:Tahoma'> Kadarkarai, Prabhakar = (Prabhakar) [mailto:[email protected]] <br> <b>Sent:</b> Monday, January 17, 2005 03:03 PM<br> <b>To:</b> [email protected]<br> <b>Subject:</b> How do i load a custom parameter?</span></p> </div> <p class=3DMsoNormal>&nbsp;</p> <p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt; font-family:"Courier New"'>Hello All,</span></p> <p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt; font-family:"Courier New"'>&nbsp;</span></p> <p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt; font-family:"Courier New"'>In a custom appender I would like to add few = custom parameters and get it loaded when the appender loads.&nbsp; I have = defined all the parameters in the XML configuration file like &quot;&lt;param name=3D3D&quot;Path&quot; = value=3D3D&quot;drprabhakar-a0/private$/RemoteMSMQ&quot; /&gt;&quot;. When I am trying to =3D load the appender I got the = appender loaded but no properties loaded. I have defined set/get methods in my custom = appender file which is shown below. How do I get this working? Should I need to = call any MACRO to get the parameter loading?</span></p> <p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt; font-family:"Courier New"'>&nbsp;</span></p> <p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt; font-family:"Courier New"'>Thanks,</span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier New"'>PK</span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier New"'>&nbsp;</span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:Arial'>void MSMQAppenderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bsetPath(BSTR pathVal)</span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:Arial'>{</span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:Arial'>&nbsp; this-&gt;pathName =3D pathVal;</span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:Arial'>}</span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:Arial'>BSTR MSMQAppenderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetPath()</span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:Arial'>{</span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp; return this-&gt;pathName;</span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:Arial'>}</span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;</span></p> </div> <br>IMPORTANT NOTICE<br>Email from OOCL is confidential and may be = legally privileged. If it is not intended for you, please delete it = immediately unread. The internet cannot guarantee that this = communication is free of viruses, interception or interference and = anyone who communicates with us by email is taken to accept the risks in = so doing. Without limitation, OOCL and its affiliates accept no = liability whatsoever and howsoever arising in connection with the use of = this email. Under no circumstances shall this email constitute a = binding agreement to carry or for provision of carriage services by = OOCL, which is subject to the availability of carrier's equipment and = vessels and the terms and conditions of OOCL's standard bill of lading = which is also available at http://www.oocl.com.<br></body> </html> ------_=_NextPart_001_01C4FCE9.0B447063-- From [email protected] Mon Jan 17 23:25:55 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55226 invoked from network); 17 Jan 2005 23:25:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 17 Jan 2005 23:25:55 -0000 Received: (qmail 80136 invoked by uid 500); 17 Jan 2005 23:25:54 -0000 Delivered-To: [email protected] Received: (qmail 80116 invoked by uid 500); 17 Jan 2005 23:25:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 80098 invoked by uid 99); 17 Jan 2005 23:25:54 -0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_90_100,HTML_MESSAGE,RCVD_IN_BL_SPAMCOP_NET X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from tiere.net.avaya.com (HELO tiere.net.avaya.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 17 Jan 2005 15:25:52 -0800 Received: from tiere.net.avaya.com (localhost [161.129.204.104]) by tiere.net.avaya.com (Switch-3.1.2/Switch-3.1.0) with ESMTP id j0HNNkFe007008 for <[email protected]>; Mon, 17 Jan 2005 18:23:46 -0500 (EST) Received: from cof110avexu4.global.avaya.com (h135-9-6-19.avaya.com [161.129.204.104]) by tiere.net.avaya.com (Switch-3.1.2/Switch-3.1.0) with ESMTP id j0HNNjFe006972 for <[email protected]>; Mon, 17 Jan 2005 18:23:45 -0500 (EST) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4FCEB.DFF7251B" X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Subject: RE: How do i load a custom parameter? Date: Mon, 17 Jan 2005 16:25:47 -0700 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How do i load a custom parameter? Thread-Index: AcT86KAabfA33NrBQKeq112BGqcm+wAADJOQAAC/dTA= From: "Kadarkarai, Prabhakar \(Prabhakar\)" <[email protected]> To: "Log4CXX User" <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C4FCEB.DFF7251B Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Thanks Tom. It worked like a charm. PK =20 -----Original Message----- From: [email protected] [mailto:[email protected]]=20 Sent: Monday, January 17, 2005 4:06 PM To: [email protected] Subject: RE: How do i load a custom parameter? =20 There's another method you have to override, something like setOptions(String name, String value). You compare the name string to the property name you want to set, and if they match (usually converting both to upper or lower case), convert the property string to the correct representation (i.e., make it an int) and assign it. This can be found all over the place. =20 Tom Hawker Office (262)914-4166 PCS (262)914-4166 _____ =20 From: Kadarkarai, Prabhakar (Prabhakar) [mailto:[email protected]]=20 Sent: Monday, January 17, 2005 03:03 PM To: [email protected] Subject: How do i load a custom parameter? =20 Hello All, =20 In a custom appender I would like to add few custom parameters and get it loaded when the appender loads. I have defined all the parameters in the XML configuration file like "<param name=3D3D"Path" value=3D3D"drprabhakar-a0/private$/RemoteMSMQ" />". When I am trying to = =3D load the appender I got the appender loaded but no properties loaded. I have defined set/get methods in my custom appender file which is shown below. How do I get this working? Should I need to call any MACRO to get the parameter loading? =20 Thanks, PK =20 void MSMQAppenderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bsetPath(BSTR pathVal) { this->pathName =3D pathVal; } BSTR MSMQAppenderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetPath() { return this->pathName; } =20 IMPORTANT NOTICE Email from OOCL is confidential and may be legally privileged. If it is not intended for you, please delete it immediately unread. The internet cannot guarantee that this communication is free of viruses, interception or interference and anyone who communicates with us by email is taken to accept the risks in so doing. Without limitation, OOCL and its affiliates accept no liability whatsoever and howsoever arising in connection with the use of this email. Under no circumstances shall this email constitute a binding agreement to carry or for provision of carriage services by OOCL, which is subject to the availability of carrier's equipment and vessels and the terms and conditions of OOCL's standard bill of lading which is also available at http://www.oocl.com. ------_=_NextPart_001_01C4FCEB.DFF7251B Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face {font-family:Verdana; panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face {font-family:Impact; panose-1:2 11 8 6 3 9 2 5 2 4;} @font-face {font-family:"Bookman Old Style"; panose-1:(262)914-4166;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} h1 {margin-top:.25in; margin-right:0in; margin-bottom:6.0pt; margin-left:0in; page-break-before:always; page-break-after:avoid; font-size:14.0pt; font-family:Verdana; font-weight:bold;} h2 {margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; page-break-after:avoid; font-size:12.0pt; font-family:Verdana; font-weight:bold;} h3 {margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; page-break-after:avoid; font-size:12.0pt; font-family:Arial; font-weight:bold;} h4 {margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; page-break-after:avoid; font-size:12.0pt; font-family:Arial; font-weight:bold;} h5 {margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; font-size:10.0pt; font-family:"Bookman Old Style"; font-weight:bold;} h6 {margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; font-size:10.0pt; font-family:"Bookman Old Style"; font-weight:normal; font-style:italic;} p.MsoHeading7, li.MsoHeading7, div.MsoHeading7 {margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoHeading8, li.MsoHeading8, div.MsoHeading8 {margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; font-size:9.0pt; font-family:"Bookman Old Style";} p.MsoHeading9, li.MsoHeading9, div.MsoHeading9 {margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; font-size:9.0pt; font-family:"Bookman Old Style"; font-style:italic;} p.MsoIndex1, li.MsoIndex1, div.MsoIndex1 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:10.0pt; margin-bottom:.0001pt; text-indent:-10.0pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoIndex2, li.MsoIndex2, div.MsoIndex2 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:20.0pt; margin-bottom:.0001pt; text-indent:-10.0pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoIndex3, li.MsoIndex3, div.MsoIndex3 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:30.0pt; margin-bottom:.0001pt; text-indent:-10.0pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoIndex4, li.MsoIndex4, div.MsoIndex4 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:40.0pt; margin-bottom:.0001pt; text-indent:-10.0pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoIndex5, li.MsoIndex5, div.MsoIndex5 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:50.0pt; margin-bottom:.0001pt; text-indent:-10.0pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoIndex6, li.MsoIndex6, div.MsoIndex6 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:60.0pt; margin-bottom:.0001pt; text-indent:-10.0pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoIndex7, li.MsoIndex7, div.MsoIndex7 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:70.0pt; margin-bottom:.0001pt; text-indent:-10.0pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoIndex8, li.MsoIndex8, div.MsoIndex8 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:80.0pt; margin-bottom:.0001pt; text-indent:-10.0pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoIndex9, li.MsoIndex9, div.MsoIndex9 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:1.25in; margin-bottom:.0001pt; text-indent:-10.0pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoToc1, li.MsoToc1, div.MsoToc1 {margin-top:3.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; font-size:10.0pt; font-family:Tahoma; font-weight:bold;} p.MsoToc2, li.MsoToc2, div.MsoToc2 {margin-top:3.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:51.0pt; text-indent:-34.0pt; font-size:10.0pt; font-family:Tahoma;} p.MsoToc3, li.MsoToc3, div.MsoToc3 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:51.15pt; margin-bottom:.0001pt; text-indent:-33.85pt; font-size:10.0pt; font-family:"Bookman Old Style"; font-style:italic;} p.MsoToc4, li.MsoToc4, div.MsoToc4 {margin-top:3.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:51.0pt; text-indent:-34.0pt; font-size:9.0pt; font-family:"Bookman Old Style";} p.MsoToc5, li.MsoToc5, div.MsoToc5 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:40.0pt; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoToc6, li.MsoToc6, div.MsoToc6 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:50.0pt; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoToc7, li.MsoToc7, div.MsoToc7 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:60.0pt; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoToc8, li.MsoToc8, div.MsoToc8 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:70.0pt; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoToc9, li.MsoToc9, div.MsoToc9 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:80.0pt; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoNormalIndent, li.MsoNormalIndent, div.MsoNormalIndent {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoFootnoteText, li.MsoFootnoteText, div.MsoFootnoteText {margin-top:3.0pt; margin-right:0in; margin-bottom:0in; margin-left:9.35pt; margin-bottom:.0001pt; text-indent:-9.35pt; font-size:9.0pt; font-family:"Bookman Old Style";} p.MsoCommentText, li.MsoCommentText, div.MsoCommentText {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoHeader, li.MsoHeader, div.MsoHeader {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:0in; font-size:10.0pt; font-family:Verdana; font-weight:bold;} p.MsoFooter, li.MsoFooter, div.MsoFooter {margin-top:6.0pt; margin-right:0in; margin-bottom:0in; margin-left:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:Verdana; font-weight:bold;} p.MsoIndexHeading, li.MsoIndexHeading, div.MsoIndexHeading {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:Arial; font-weight:bold;} p.MsoTof, li.MsoTof, div.MsoTof {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.75in; margin-bottom:.0001pt; text-indent:-.75in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoEnvelopeAddress, li.MsoEnvelopeAddress, div.MsoEnvelopeAddress {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:2.0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:Arial;} p.MsoEnvelopeReturn, li.MsoEnvelopeReturn, div.MsoEnvelopeReturn {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:Arial;} span.MsoFootnoteReference {vertical-align:super;} span.MsoCommentReference {font-family:Arial;} span.MsoEndnoteReference {vertical-align:super;} p.MsoEndnoteText, li.MsoEndnoteText, div.MsoEndnoteText {margin-top:6.0pt; margin-right:0in; margin-bottom:0in; margin-left:.2in; margin-bottom:.0001pt; text-indent:-.2in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoToa, li.MsoToa, div.MsoToa {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:10.0pt; margin-bottom:.0001pt; text-indent:-10.0pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoToaHeading, li.MsoToaHeading, div.MsoToaHeading {margin-top:6.0pt; margin-right:0in; margin-bottom:0in; margin-left:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:Arial; font-weight:bold;} p.MsoList, li.MsoList, div.MsoList {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.25in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListBullet, li.MsoListBullet, div.MsoListBullet {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.25in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListNumber, li.MsoListNumber, div.MsoListNumber {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.25in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoList2, li.MsoList2, div.MsoList2 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoList3, li.MsoList3, div.MsoList3 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.75in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoList4, li.MsoList4, div.MsoList4 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:1.0in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoList5, li.MsoList5, div.MsoList5 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:1.25in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListBullet2, li.MsoListBullet2, div.MsoListBullet2 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListBullet3, li.MsoListBullet3, div.MsoListBullet3 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.75in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListBullet4, li.MsoListBullet4, div.MsoListBullet4 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:1.0in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListBullet5, li.MsoListBullet5, div.MsoListBullet5 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.25in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListNumber2, li.MsoListNumber2, div.MsoListNumber2 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListNumber3, li.MsoListNumber3, div.MsoListNumber3 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.75in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListNumber4, li.MsoListNumber4, div.MsoListNumber4 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:1.0in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListNumber5, li.MsoListNumber5, div.MsoListNumber5 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:1.25in; margin-bottom:.0001pt; text-indent:-.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoTitle, li.MsoTitle, div.MsoTitle {margin-top:.25in; margin-right:0in; margin-bottom:6.0pt; margin-left:0in; page-break-before:always; page-break-after:avoid; font-size:14.0pt; font-family:Verdana; font-weight:bold;} p.MsoClosing, li.MsoClosing, div.MsoClosing {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:3.0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoSignature, li.MsoSignature, div.MsoSignature {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:3.0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoBodyText, li.MsoBodyText, div.MsoBodyText {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:0in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoBodyTextIndent, li.MsoBodyTextIndent, div.MsoBodyTextIndent {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListContinue, li.MsoListContinue, div.MsoListContinue {margin-top:6.0pt; margin-right:0in; margin-bottom:0in; margin-left:.25in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListContinue2, li.MsoListContinue2, div.MsoListContinue2 {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:.5in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListContinue3, li.MsoListContinue3, div.MsoListContinue3 {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:.75in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListContinue4, li.MsoListContinue4, div.MsoListContinue4 {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:1.0in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoListContinue5, li.MsoListContinue5, div.MsoListContinue5 {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:1.25in; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoMessageHeader, li.MsoMessageHeader, div.MsoMessageHeader {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.75in; margin-bottom:.0001pt; text-indent:-.75in; background:#CCCCCC; font-size:12.0pt; font-family:Arial;} p.MsoSubtitle, li.MsoSubtitle, div.MsoSubtitle {margin-top:0in; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; text-align:center; font-size:12.0pt; font-family:Arial;} p.MsoSalutation, li.MsoSalutation, div.MsoSalutation {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} p.MsoDate, li.MsoDate, div.MsoDate {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} p.MsoBodyTextFirstIndent, li.MsoBodyTextFirstIndent, = div.MsoBodyTextFirstIndent {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:0in; text-indent:10.5pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoBodyTextFirstIndent2, li.MsoBodyTextFirstIndent2, = div.MsoBodyTextFirstIndent2 {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:.25in; text-indent:10.5pt; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoBodyText2, li.MsoBodyText2, div.MsoBodyText2 {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:0in; line-height:200%; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoBodyText3, li.MsoBodyText3, div.MsoBodyText3 {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:0in; font-size:8.0pt; font-family:"Bookman Old Style";} p.MsoBodyTextIndent2, li.MsoBodyTextIndent2, div.MsoBodyTextIndent2 {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:.25in; line-height:200%; font-size:10.0pt; font-family:"Bookman Old Style";} p.MsoBodyTextIndent3, li.MsoBodyTextIndent3, div.MsoBodyTextIndent3 {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:.25in; font-size:8.0pt; font-family:"Bookman Old Style";} p.MsoBlockText, li.MsoBlockText, div.MsoBlockText {margin-top:0in; margin-right:1.0in; margin-bottom:6.0pt; margin-left:1.0in; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} p.MsoDocumentMap, li.MsoDocumentMap, div.MsoDocumentMap {margin:0in; margin-bottom:.0001pt; background:navy; font-size:12.0pt; font-family:Tahoma;} p.MsoPlainText, li.MsoPlainText, div.MsoPlainText {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Courier New";} p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} p {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} address {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman"; font-style:italic;} code {font-family:"Courier New";} kbd {font-family:"Courier New";} pre {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Courier New";} samp {font-family:"Courier New";} tt {font-family:"Courier New";} p.MsoCommentSubject, li.MsoCommentSubject, div.MsoCommentSubject {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Bookman Old Style"; font-weight:bold;} p.msoheadercxspfirst, li.msoheadercxspfirst, div.msoheadercxspfirst {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:Verdana; font-weight:bold;} p.msoheadercxspmiddle, li.msoheadercxspmiddle, div.msoheadercxspmiddle {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:Verdana; font-weight:bold;} p.msoheadercxsplast, li.msoheadercxsplast, div.msoheadercxsplast {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:0in; font-size:10.0pt; font-family:Verdana; font-weight:bold;} p.msofootercxspfirst, li.msofootercxspfirst, div.msofootercxspfirst {margin-top:6.0pt; margin-right:0in; margin-bottom:0in; margin-left:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:Verdana; font-weight:bold;} p.msofootercxspmiddle, li.msofootercxspmiddle, div.msofootercxspmiddle {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:Verdana; font-weight:bold;} p.msofootercxsplast, li.msofootercxsplast, div.msofootercxsplast {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:Verdana; font-weight:bold;} p.msoacetate, li.msoacetate, div.msoacetate {margin:0in; margin-bottom:.0001pt; font-size:8.0pt; font-family:Tahoma;} p.open, li.open, div.open {margin-top:12.0pt; margin-right:0in; margin-bottom:0in; margin-left:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} p.bulletedlist, li.bulletedlist, div.bulletedlist {margin-top:6.0pt; margin-right:0in; margin-bottom:0in; margin-left:.25in; margin-bottom:.0001pt; text-indent:-.25in; font-size:12.0pt; font-family:"Times New Roman";} p.numberedlist1, li.numberedlist1, div.numberedlist1 {margin-top:6.0pt; margin-right:0in; margin-bottom:0in; margin-left:.25in; margin-bottom:.0001pt; text-indent:-.25in; font-size:12.0pt; font-family:"Times New Roman";} span.emailstyle17 {font-family:Arial; color:windowtext;} span.emailstyle18 {font-family:"Bookman Old Style"; color:blue; font-weight:normal; font-style:normal; text-decoration:none none;} span.code {font-family:"Courier New";} span.attention {font-family:Tahoma; color:red; font-weight:bold;} span.EmailStyle111 {font-family:Arial; color:navy;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} /* List Definitions */ ol {margin-bottom:0in;} ul {margin-bottom:0in;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Thanks Tom. It worked like a = charm.</span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>PK</span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p> <p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 = face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original = Message-----<br> <b><span style=3D'font-weight:bold'>From:</span></b> = [email protected] [mailto:[email protected]] <br> <b><span style=3D'font-weight:bold'>Sent:</span></b> Monday, January 17, = 2005 4:06 PM<br> <b><span style=3D'font-weight:bold'>To:</span></b> [email protected]<br> <b><span style=3D'font-weight:bold'>Subject:</span></b> RE: How do i = load a custom parameter?</span></font></p> <p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 = face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>&nbsp;</span></font></p> <p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 = color=3Dblue face=3D"Bookman Old Style"><span = style=3D'font-size:10.0pt;font-family:"Bookman Old Style"; color:blue'>There&#8217;s another method you have to override, something = like setOptions(String name, String value). &nbsp;You compare the name string = to the property name you want to set, and if they match (usually converting = both to upper or lower case), convert the property string to the correct = representation (i.e., make it an int) and assign it. &nbsp;This can be found all over = the place.</span></font></p> <p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 = color=3Dblue face=3D"Bookman Old Style"><span = style=3D'font-size:10.0pt;font-family:"Bookman Old Style"; color:blue'>&nbsp;</span></font></p> <div> <p class=3DMsoAutoSig style=3D'margin-left:.5in'><font size=3D3 = color=3D"#996600" face=3DImpact><span = style=3D'font-size:12.0pt;font-family:Impact;color:#996600'>Tom Hawker</span></font></p> <p class=3DMsoAutoSig style=3D'margin-left:.5in'><font size=3D2 = color=3D"#999999" face=3DTahoma><span = style=3D'font-size:10.0pt;font-family:Tahoma;color:#999999'>Office&nbsp;&= nbsp;&nbsp; 408&#8211;576&#8211;6591</span></font></p> <p class=3DMsoAutoSig style=3D'margin-left:.5in'><font size=3D2 = color=3D"#999999" face=3DTahoma><span = style=3D'font-size:10.0pt;font-family:Tahoma;color:#999999'>PCS&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp; 913&#8211;488&#8211;0796</span></font></p> </div> <div> <div class=3DMsoNormal align=3Dcenter = style=3D'margin-left:.5in;text-align:center'><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'> <hr size=3D2 width=3D"100%" align=3Dcenter> </span></font></div> <p class=3DMsoNormal style=3D'margin-left:.5in'><b><font size=3D2 = face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</spa= n></font></b><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt;font-family:Tahoma'> Kadarkarai, Prabhakar (Prabhakar) [mailto:[email protected]] <br> <b><span style=3D'font-weight:bold'>Sent:</span></b> Monday, January 17, = 2005 03:03 PM<br> <b><span style=3D'font-weight:bold'>To:</span></b> [email protected]<br> <b><span style=3D'font-weight:bold'>Subject:</span></b> How do i load a = custom parameter?</span></font></p> </div> <p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 = face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>&nbsp;</span></font></p> <p class=3DMsoNormal = style=3D'margin-left:.5in;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"'>Hello All,</span></font></p> <p class=3DMsoNormal = style=3D'margin-left:.5in;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'>&nbsp;</span></font></p> <p class=3DMsoNormal = style=3D'margin-left:.5in;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"'>In a custom appender I would like to add few custom parameters and get it = loaded when the appender loads.&nbsp; I have defined all the parameters in the = XML configuration file like &quot;&lt;param name=3D3D&quot;Path&quot; value=3D3D&quot;drprabhakar-a0/private$/RemoteMSMQ&quot; /&gt;&quot;. = When I am trying to =3D load the appender I got the appender loaded but no = properties loaded. I have defined set/get methods in my custom appender file which = is shown below. How do I get this working? Should I need to call any MACRO = to get the parameter loading?</span></font></p> <p class=3DMsoNormal = style=3D'margin-left:.5in;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'>&nbsp;</span></font></p> <p class=3DMsoNormal = style=3D'margin-left:.5in;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'>Thanks,</span></font></p> <p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 = face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier = New"'>PK</span></font></p> <p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 = face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier = New"'>&nbsp;</span></font></p> <p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>void = MSMQAppenderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bsetPath(BSTR pathVal)</span></font></p> <p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>{</span></font></p> <p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>&nbsp; this-&gt;pathName = =3D pathVal;</span></font></p> <p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>}</span></font></p> <p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>BSTR = MSMQAppenderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetPath()</span></font></p> <p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>{</span></font></p> <p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp; return this-&gt;pathName;</span></font></p> <p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>}</span></font></p> <p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;</span></font></p> <p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 = face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><br> IMPORTANT NOTICE<br> Email from OOCL is confidential and may be legally privileged. If it is = not intended for you, please delete it immediately unread. The internet cannot = guarantee that this communication is free of viruses, interception or interference = and anyone who communicates with us by email is taken to accept the risks in = so doing. Without limitation, OOCL and its affiliates accept no liability whatsoever and howsoever arising in connection with the use of this = email. Under no circumstances shall this email constitute a binding agreement = to carry or for provision of carriage services by OOCL, which is subject to the availability of carrier's equipment and vessels and the terms and = conditions of OOCL's standard bill of lading which is also available at = http://www.oocl.com.</span></font></p> </div> </body> </html> ------_=_NextPart_001_01C4FCEB.DFF7251B-- From [email protected] Mon Jan 17 23:46:53 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64741 invoked from network); 17 Jan 2005 23:46:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 17 Jan 2005 23:46:53 -0000 Received: (qmail 25234 invoked by uid 500); 17 Jan 2005 23:46:52 -0000 Delivered-To: [email protected] Received: (qmail 25211 invoked by uid 500); 17 Jan 2005 23:46:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 25187 invoked by uid 99); 17 Jan 2005 23:46:52 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.ilstechnology.com (HELO mail.ILSTechnology.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 17 Jan 2005 15:46:50 -0800 Subject: timezone question To: <[email protected]> X-Mailer: Lotus Notes Release 6.5 September 26, 2003 Message-ID: <[email protected]> From: [email protected] Date: Mon, 17 Jan 2005 18:51:46 -0500 X-MIMETrack: Serialize by Router on MailMan/ILSTechnology(Release 5.0.11 |July 24, 2002) at 01/17/2005 06:51:49 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Is there a way to set the timezone for ALL output from the application? I can set the property for each appender in the properties file, but our software runs on an embedded device, and the user can change the timezone of the system. I can't have them editing the properties file to change the timezone entires in it. Any help would be greatly appreciated! Thanks, Jim From [email protected] Tue Jan 18 06:04:47 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75278 invoked from network); 18 Jan 2005 06:04:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 18 Jan 2005 06:04:47 -0000 Received: (qmail 54422 invoked by uid 500); 18 Jan 2005 06:04:43 -0000 Delivered-To: [email protected] Received: (qmail 54370 invoked by uid 500); 18 Jan 2005 06:04:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 54276 invoked by uid 99); 18 Jan 2005 06:04:43 -0000 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_POST X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from ms-smtp-02.texas.rr.com (HELO ms-smtp-02-eri0.texas.rr.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 17 Jan 2005 22:04:41 -0800 Received: from [161.129.204.104] (cs242764-74.houston.rr.com [161.129.204.104]) by ms-smtp-02-eri0.texas.rr.com (8.12.10/8.12.7) with ESMTP id j0I64a8H005711 for <[email protected]>; Tue, 18 Jan 2005 00:04:37 -0600 (CST) Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Curt Arnold <[email protected]> Subject: Re: Problem compiling on FreeBSD 5.3 Date: Tue, 18 Jan 2005 00:04:36 -0600 To: Log4CXX User <[email protected]> X-Mailer: Apple Mail (2.619) X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N The migration to Apache Portable Runtime should eliminate most if not all of the need for autogen.sh and configure in building log4cxx. However, the current use of autogen.sh and configure have not been modified to reflect the migration. It is not an area that I'm expert in and would appreciate any suggestions, patches or comments. On Jan 16, 2005, at 10:23 PM, Barak Simon wrote: > Couldn't agree more! > The painful time I spent on Solaris side to make autogen.sh work for me > until I found in the end that I need to ask my sysadmin to upgrade > to m4 version 1.4.2 ... > From [email protected] Tue Jan 18 17:41:09 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25896 invoked from network); 18 Jan 2005 17:41:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 18 Jan 2005 17:41:09 -0000 Received: (qmail 9263 invoked by uid 500); 18 Jan 2005 17:41:08 -0000 Delivered-To: [email protected] Received: (qmail 9230 invoked by uid 500); 18 Jan 2005 17:41:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 9214 invoked by uid 99); 18 Jan 2005 17:41:07 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 18 Jan 2005 09:41:05 -0800 Received: (qmail 25851 invoked from network); 18 Jan 2005 17:41:04 -0000 Received: from localhost.hyperreal.org (HELO ?IPvacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b:1?) (161.129.204.104) by localhost.hyperreal.org with SMTP; 18 Jan 2005 17:41:04 -0000 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Curt Arnold <[email protected]> Subject: Re: timezone question Date: Tue, 18 Jan 2005 11:41:03 -0600 To: Log4CXX User <[email protected]> X-Mailer: Apple Mail (2.619) X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N If the timezone is omitted, the default time zone will be used. You would only specify the timezone on an appender when you wanted to be unaffected by the default timezone. Timezone specification has been added to log4j, but in a slightly different way. Instead of timezone being a separate property of the appender, it can be specified as the second parameter to the %d conversion pattern. For example, "%d{yyyy-MM-dd HH:mm:ss}{GMT}Z %m %n" Before 0.9.8, log4cxx will be modified to follow log4j's timezone specification. The JIRA issue is http://issues.apache.org/jira/browse/LOGCXX-49. On Jan 17, 2005, at 5:51 PM, [email protected] wrote: > Is there a way to set the timezone for ALL output from the > application? I > can set the property for each appender in the properties file, but our > software runs on an embedded device, and the user can change the > timezone > of the system. I can't have them editing the properties file to > change the > timezone entires in it. Any help would be greatly appreciated! > > Thanks, > Jim > > From [email protected] Tue Jan 18 18:16:08 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43285 invoked from network); 18 Jan 2005 18:16:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 18 Jan 2005 18:16:08 -0000 Received: (qmail 3685 invoked by uid 500); 18 Jan 2005 18:16:07 -0000 Delivered-To: [email protected] Received: (qmail 3659 invoked by uid 500); 18 Jan 2005 18:16:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 3644 invoked by uid 99); 18 Jan 2005 18:16:06 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.ilstechnology.com (HELO mail.ILSTechnology.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 18 Jan 2005 10:16:05 -0800 Subject: Re: timezone question To: Log4CXX User <[email protected]> X-Mailer: Lotus Notes Release 6.5 September 26, 2003 Message-ID: <[email protected]> From: [email protected] Date: Tue, 18 Jan 2005 13:21:01 -0500 X-MIMETrack: Serialize by Router on MailMan/ILSTechnology(Release 5.0.11 |July 24, 2002) at 01/18/2005 01:21:04 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Curt, Thanks for the help, I'm running the 0.9.7 version since this is a production level application, I'll be trying to move to 0.9.8 as soon as it seems stable. The 0.9.7 handling forces the use of GMT time unless explicitly specified in the properties file to use another timezone. I looked at the 0.9.8 source (timezone.cpp) and the issue should be resolved in the 0.9.8 tree. Thanks, Jim --- Origonal Message --- If the timezone is omitted, the default time zone will be used. You would only specify the timezone on an appender when you wanted to be unaffected by the default timezone. Timezone specification has been added to log4j, but in a slightly different way. Instead of timezone being a separate property of the appender, it can be specified as the second parameter to the %d conversion pattern. For example, "%d{yyyy-MM-dd HH:mm:ss}{GMT}Z %m %n" Before 0.9.8, log4cxx will be modified to follow log4j's timezone specification. The JIRA issue is http://issues.apache.org/jira/browse/LOGCXX-49. On Jan 17, 2005, at 5:51 PM, [email protected] wrote: > Is there a way to set the timezone for ALL output from the > application? I > can set the property for each appender in the properties file, but our > software runs on an embedded device, and the user can change the > timezone > of the system. I can't have them editing the properties file to > change the > timezone entires in it. Any help would be greatly appreciated! > > Thanks, > Jim > > From [email protected] Wed Jan 19 21:00:35 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36169 invoked from network); 19 Jan 2005 21:00:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 19 Jan 2005 21:00:35 -0000 Received: (qmail 96879 invoked by uid 500); 19 Jan 2005 21:00:33 -0000 Delivered-To: [email protected] Received: (qmail 96706 invoked by uid 500); 19 Jan 2005 21:00:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 96600 invoked by uid 99); 19 Jan 2005 21:00:32 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 19 Jan 2005 13:00:30 -0800 Received: by rproxy.gmail.com with SMTP id c51so9655rne for <[email protected]>; Wed, 19 Jan 2005 13:00:28 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=eI5cYf3zEdM1n15+hdMgq3MubgNjY+4diFBgVj80HxGPCFfoE/4JEx3VZHs83qBj3eEZP9QFZ7ELZSjQ/El4fWEmkHBQSk98H6iGDvBJDX1rgfagIrT2mY88wUThFhhZNcajGR+LALpgkql60GVrjlgmq4x4AjdUOjuHv560mVQ= Received: by 161.129.204.104 with SMTP id f76mr28787rnb; Wed, 19 Jan 2005 13:00:28 -0800 (PST) Received: by 161.129.204.104 with HTTP; Wed, 19 Jan 2005 13:00:28 -0800 (PST) Message-ID: <[email protected]> Date: Wed, 19 Jan 2005 16:00:28 -0500 From: Daniel Einspanjer <[email protected]> Reply-To: Daniel Einspanjer <[email protected]> To: [email protected], [email protected] Subject: Advice requested on best way to implement log4* to support non-hierarchal categories Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N My company is looking to standardize our logging across all of our C++ (and eventually Java) projects and we would certainly rather use a well-known architecture such as log4j/log4cxx rather than growing our own. My biggest challenge is that one of the key desires our developers have is to be able to mix and match the selectiveness of the logging. The easiest way to explain would probably be by example. We would like to be able to easily mix and match any of the following categories of log messages: * performance/timing related * search result related * search result quality related * any messages in the hierarchy com.foo * no messages from the class/hierarchy com.foo.bar We were hoping to be able to define the characteristics of log messages within the class com.foo.bar so that we could have overall performance log messages, search result performance messages, search result quality messages, overall search result messages, etc. and then via configuration we could say, "hrm, lets take a look at the search result quality across all of com.foo. Is anyone else doing anything like this out there? I have done quite a bit of reading on the log4j and log4cxx documentation, but I have not found a good resource for explaining the Filter class hierarchy. Any pointers or advice is welcome. Thanks, Daniel E. From [email protected] Wed Jan 19 22:38:22 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83389 invoked from network); 19 Jan 2005 22:38:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 19 Jan 2005 22:38:22 -0000 Received: (qmail 77516 invoked by uid 500); 19 Jan 2005 22:38:18 -0000 Delivered-To: [email protected] Received: (qmail 77457 invoked by uid 500); 19 Jan 2005 22:38:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 77430 invoked by uid 99); 19 Jan 2005 22:38:17 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 19 Jan 2005 14:38:17 -0800 Received: (qmail 83360 invoked from network); 19 Jan 2005 22:38:16 -0000 Received: from localhost.hyperreal.org (HELO ?IPvacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b:1?) (161.129.204.104) by localhost.hyperreal.org with SMTP; 19 Jan 2005 22:38:16 -0000 In-Reply-To: <[email protected]> References: <[email protected]> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit Cc: Log4CXX User <[email protected]> From: Curt Arnold <[email protected]> Subject: Re: Advice requested on best way to implement log4* to support non-hierarchal categories Date: Wed, 19 Jan 2005 16:38:16 -0600 To: Log4J Users List <[email protected]> X-Mailer: Apple Mail (2.619) X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I'm continuing the initial cross-posting just to tell anyone interested in following or responding to the thread to do so on [email protected]. I think that you need to design your use of the log4X frameworks so that they can readily evolve as you discover the best hierarchy for your applications. The hierarchical metaphor used in the log4X is useful, but not perfect, for configuring logging. Even a bad hierarchy is better than individually configuring each logger. The logging hierarchy should be designed to make typical configurations simple to express. Configuration precedes collection which precedes analysis. If you make configuration or collection difficult, you won't have anything to analyze. You should should consider the audiences for the log messages and the frequency of the potential logging requests and their impact on performance. The most common "audience" for log4X messages are diagnosticians trying to figure out why something is going wrong. Your audience is assumed to be familiar with the source code for the application and fully qualified class names make an effective hierarchy. The logging requests are frequent and should be very low cost in normal operation. Some other "audiences" would be security analysts, performance analysts, and business analysts. Obviously one individual might be a diagnostician in one instance and a performance analyst in another, but thinking in terms of discrete audiences is helpful. Logging requests intended for these other audiences are typically much less frequent, so the need to suppress "unnecessary" messages for performance reasons is much less important. I would recommend using distinct Logger references for each of these audiences within the implementation. For example: public class Query { private static final Logger logger = Logger.getLogger(Query.class); private static final Logger performanceLogger = MyLoggerHelper.getPerformanceLogger(Query.class); private static final Logger securityLogger = MyLoggerHelper.getSecurityLogger(Query.class); } Your implementation of MyLoggerHelper.getPerformanceLogger could start out as simple as returning Logger.getLogger("performance") or Logger.getLogger("performance." + clz.getName()); One problem is when a message is of interest to multiple audiences. For example, the search metrics may be of interest to both the diagnostician and the performance analyst. Since these would typically be low volume, it might be simplest just to repeat the message on both the diagnostic and performance logger. Otherwise, you might be able to bridge loggers by routing "performance.com.example.foobar" to the same appenders as "com.example.foobar". From [email protected] Wed Jan 19 22:44:46 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87370 invoked from network); 19 Jan 2005 22:44:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 19 Jan 2005 22:44:46 -0000 Received: (qmail 93265 invoked by uid 500); 19 Jan 2005 22:44:45 -0000 Delivered-To: [email protected] Received: (qmail 93245 invoked by uid 500); 19 Jan 2005 22:44:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 93232 invoked by uid 99); 19 Jan 2005 22:44:45 -0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=HTML_20_30,HTML_MESSAGE,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from bastille-162.rubixinfotech.com (HELO rubixinfotech.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 19 Jan 2005 14:44:43 -0800 MIME-Version: 1.0 To: Log4CXX User <[email protected]> Subject: Re: Advice requested on best way to implement log4* to support non-hierarchal categories Message-ID: <[email protected]> From: [email protected] Date: Wed, 19 Jan 2005 17:44:38 -0500 Content-Type: multipart/alternative; boundary="=_alternative 007CEE7485256F8E_=" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multipart message in MIME format. --=_alternative 007CEE7485256F8E_= Content-Type: text/plain; charset="us-ascii" We use Log4J and Log4CXX in certain products we've made. Our usage is simple: Logger.Hierarchy.Names -> for normal logging Alerts.Logger.Hierarchy.Names -> for ALERTS meant for Network Operations Staff, Technicians etc. (usually important msgs) Statistics.Logger.Hierarchy.Names -> System operations stats --- PS. I can't post to the Log4J list as I'm not a subscriber. --- Renny Koshy President & CEO -------------------------------------------- RUBIX Information Technologies, Inc. www.rubixinfotech.com Curt Arnold <[email protected]> 01/19/2005 05:38 PM Please respond to "Log4CXX User" To: Log4J Users List <[email protected]> cc: Log4CXX User <[email protected]> Subject: [SPAM] Re: Advice requested on best way to implement log4* to support non-hierarchal categories I'm continuing the initial cross-posting just to tell anyone interested in following or responding to the thread to do so on [email protected]. I think that you need to design your use of the log4X frameworks so that they can readily evolve as you discover the best hierarchy for your applications. The hierarchical metaphor used in the log4X is useful, but not perfect, for configuring logging. Even a bad hierarchy is better than individually configuring each logger. The logging hierarchy should be designed to make typical configurations simple to express. Configuration precedes collection which precedes analysis. If you make configuration or collection difficult, you won't have anything to analyze. You should should consider the audiences for the log messages and the frequency of the potential logging requests and their impact on performance. The most common "audience" for log4X messages are diagnosticians trying to figure out why something is going wrong. Your audience is assumed to be familiar with the source code for the application and fully qualified class names make an effective hierarchy. The logging requests are frequent and should be very low cost in normal operation. Some other "audiences" would be security analysts, performance analysts, and business analysts. Obviously one individual might be a diagnostician in one instance and a performance analyst in another, but thinking in terms of discrete audiences is helpful. Logging requests intended for these other audiences are typically much less frequent, so the need to suppress "unnecessary" messages for performance reasons is much less important. I would recommend using distinct Logger references for each of these audiences within the implementation. For example: public class Query { private static final Logger logger = Logger.getLogger(Query.class); private static final Logger performanceLogger = MyLoggerHelper.getPerformanceLogger(Query.class); private static final Logger securityLogger = MyLoggerHelper.getSecurityLogger(Query.class); } Your implementation of MyLoggerHelper.getPerformanceLogger could start out as simple as returning Logger.getLogger("performance") or Logger.getLogger("performance." + clz.getName()); One problem is when a message is of interest to multiple audiences. For example, the search metrics may be of interest to both the diagnostician and the performance analyst. Since these would typically be low volume, it might be simplest just to repeat the message on both the diagnostic and performance logger. Otherwise, you might be able to bridge loggers by routing "performance.com.example.foobar" to the same appenders as "com.example.foobar". --=_alternative 007CEE7485256F8E_= Content-Type: text/html; charset="us-ascii" <br><font size=2 face="sans-serif">We use Log4J and Log4CXX in certain products we've made. &nbsp;Our usage is simple:</font> <br> <br><font size=2 face="sans-serif">Logger.Hierarchy.Names &nbsp; &nbsp; &nbsp; &nbsp;-&gt; for normal logging</font> <br><font size=2 face="sans-serif">Alerts.Logger.Hierarchy.Names &nbsp; &nbsp; &nbsp; &nbsp;-&gt; for ALERTS meant for Network Operations Staff, Technicians etc. (usually important msgs)</font> <br><font size=2 face="sans-serif">Statistics.Logger.Hierarchy.Names &nbsp; &nbsp; &nbsp; &nbsp;-&gt; System operations stats</font> <br> <br><font size=2 face="sans-serif">--- PS. I can't post to the Log4J list as I'm not a subscriber. ---</font> <br> <br><font size=2 face="sans-serif">Renny Koshy<br> President &amp; CEO<br> <br> --------------------------------------------<br> RUBIX Information Technologies, Inc.<br> www.rubixinfotech.com</font> <br> <br> <br> <table width=100%> <tr valign=top> <td> <td><font size=1 face="sans-serif"><b>Curt Arnold &lt;[email protected]&gt;</b></font> <p><font size=1 face="sans-serif">01/19/2005 05:38 PM</font> <br><font size=1 face="sans-serif">Please respond to &quot;Log4CXX User&quot;</font> <br> <td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font> <br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To: &nbsp; &nbsp; &nbsp; &nbsp;Log4J Users List &lt;[email protected]&gt;</font> <br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc: &nbsp; &nbsp; &nbsp; &nbsp;Log4CXX User &lt;[email protected]&gt;</font> <br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject: &nbsp; &nbsp; &nbsp; &nbsp;[SPAM] Re: Advice requested on best way to implement log4* to support non-hierarchal categories</font></table> <br> <br> <br><font size=2 face="Courier New">I'm continuing the initial cross-posting just to tell anyone interested <br> in following or responding to the thread to do so on <br> [email protected].<br> <br> I think that you need to design your use of the log4X frameworks so <br> that they can readily evolve as you discover the best hierarchy for <br> your applications. &nbsp;The hierarchical metaphor used in the log4X is <br> useful, but not perfect, for configuring logging. &nbsp;Even a bad hierarchy <br> is better than individually configuring each logger.<br> <br> The logging hierarchy should be designed to make typical configurations <br> simple to express. &nbsp; Configuration precedes collection which precedes <br> analysis. &nbsp;If you make configuration or collection difficult, you won't <br> have anything to analyze.<br> <br> You should should consider the audiences for the log messages and the <br> frequency of the potential logging requests and their impact on <br> performance.<br> <br> The most common &quot;audience&quot; for log4X messages are diagnosticians trying <br> to figure out why something is going wrong. &nbsp;Your audience is assumed <br> to be familiar with the source code for the application and fully <br> qualified class names make an effective hierarchy. &nbsp;The logging <br> requests are frequent and should be very low cost in normal operation.<br> <br> Some other &quot;audiences&quot; would be security analysts, performance <br> analysts, and business analysts. &nbsp;Obviously one individual might be a <br> diagnostician in one instance and a performance analyst in another, but <br> thinking in terms of discrete audiences is helpful. &nbsp;Logging requests &nbsp;<br> intended for these other audiences are typically much less frequent, so <br> the need to suppress &quot;unnecessary&quot; messages for performance reasons is <br> much less important.<br> <br> I would recommend using distinct Logger references for each of these <br> audiences within the implementation. &nbsp;For example:<br> <br> public class Query {<br> &nbsp; &nbsp; private static final Logger logger = Logger.getLogger(Query.class);<br> &nbsp; &nbsp; private static final Logger performanceLogger = <br> MyLoggerHelper.getPerformanceLogger(Query.class);<br> &nbsp; &nbsp; private static final Logger securityLogger = <br> MyLoggerHelper.getSecurityLogger(Query.class);<br> }<br> <br> Your implementation of MyLoggerHelper.getPerformanceLogger could start <br> out as simple as returning Logger.getLogger(&quot;performance&quot;) or <br> Logger.getLogger(&quot;performance.&quot; + clz.getName());<br> <br> One problem is when a message is of interest to multiple audiences. &nbsp;<br> For example, the search metrics may be of interest to both the <br> diagnostician and the performance analyst. &nbsp;Since these would typically <br> be low volume, it might be simplest just to repeat the message on both <br> the diagnostic and performance logger. &nbsp;Otherwise, you might be able to <br> bridge loggers by routing &quot;performance.com.example.foobar&quot; to the same <br> appenders as &quot;com.example.foobar&quot;.<br> <br> </font> <br> <br> --=_alternative 007CEE7485256F8E_=-- From [email protected] Thu Jan 20 20:51:54 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68372 invoked from network); 20 Jan 2005 20:51:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 20 Jan 2005 20:51:54 -0000 Received: (qmail 13519 invoked by uid 500); 20 Jan 2005 20:51:47 -0000 Delivered-To: [email protected] Received: (qmail 13214 invoked by uid 500); 20 Jan 2005 20:51:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 13161 invoked by uid 99); 20 Jan 2005 20:51:44 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 20 Jan 2005 12:51:43 -0800 Received: by rproxy.gmail.com with SMTP id i8so3235rne for <[email protected]>; Thu, 20 Jan 2005 12:51:41 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=hm152diQYUfJ9R8O07rGiW7GCD7Kyf6zA56IDTQMi5xi1OhXx8REMjsFADPahVs8RofEjpazfQ/EgYPMrFDdZPl5A6Y+0KUVb9J13HocJZde5vEipAoxvCfUp5k6pXNIIPIJTOZPykVXBG1sLuyvSVmDL8TrqQyeTOPOHjYfBC0= Received: by 161.129.204.104 with SMTP id f74mr146743rni; Thu, 20 Jan 2005 12:51:41 -0800 (PST) Received: by 161.129.204.104 with HTTP; Thu, 20 Jan 2005 12:51:41 -0800 (PST) Message-ID: <[email protected]> Date: Thu, 20 Jan 2005 15:51:41 -0500 From: Daniel Einspanjer <[email protected]> Reply-To: Daniel Einspanjer <[email protected]> To: [email protected] Subject: Logging in templates? Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Could anyone share their methods for logging within a templated class? Specifically, the problem I don't have a good solution for is the static instantiation of a logger object at all, let alone one that has a name giving the particular class for which the template is being used. Thanks, Daniel From [email protected] Mon Jan 24 14:41:52 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89802 invoked from network); 24 Jan 2005 14:41:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 24 Jan 2005 14:41:52 -0000 Received: (qmail 72249 invoked by uid 500); 24 Jan 2005 14:41:50 -0000 Delivered-To: [email protected] Received: (qmail 72226 invoked by uid 500); 24 Jan 2005 14:41:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 72211 invoked by uid 99); 24 Jan 2005 14:41:50 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mx2.mail.mm.fr.atosorigin.com (HELO srv-grp-s02.axime.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 24 Jan 2005 06:41:50 -0800 Received: from srv-grp-s09.dev.atos.fr ([161.129.204.104]) by srv-grp-s02.axime.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 24 Jan 2005 15:42:26 +0100 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: timezone: TZ not defined! X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Date: Mon, 24 Jan 2005 15:41:45 +0100 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: timezone question Thread-Index: AcT9hOVjqDBk8XTJSDyfvqy2pfRPrAEmek3g From: "Conway Allen" <[email protected]> To: "Log4CXX User" <[email protected]> X-OriginalArrivalTime: 24 Jan 2005 14:42:26.0812 (UTC) FILETIME=[EC651BC0:01C50222] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello, Well, I can't get the timezone thing to work at all on my Debian linux = (linux 2.2.20, g++ 3.3.4, log4cxx 0.9.7). Not only can't I get the = logger to output stuff with the right timestamps but while trying to = determine why I have a problem I ran into this strange behaviour... I write a small program that doesn't use [email protected]. It just takes a = look at the value of the environment variable TZ.=20 If I link with liblog4cxx.so there is a dependency (ldd tells me so - = this is perhaps normal...) and the program tells me that TZ is not set. If I link without the library (which, of course, is not used by my = program at all) the program tells me that TZ is set. I can just about live with wrong timestamps, but living with this is a = little hard! What is going on? Any ideas - good, bad, or trivial?=20 regards Allen =20 From [email protected] Mon Jan 24 15:37:11 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17808 invoked from network); 24 Jan 2005 15:37:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 24 Jan 2005 15:37:11 -0000 Received: (qmail 18715 invoked by uid 500); 24 Jan 2005 15:37:10 -0000 Delivered-To: [email protected] Received: (qmail 18697 invoked by uid 500); 24 Jan 2005 15:37:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 18660 invoked by uid 99); 24 Jan 2005 15:37:09 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from mail.ilstechnology.com (HELO mail.ILSTechnology.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 24 Jan 2005 07:37:08 -0800 In-Reply-To: <[email protected]> Subject: Re: timezone: TZ not defined! To: "Log4CXX User" <[email protected]> X-Mailer: Lotus Notes Release 6.5 September 26, 2003 Message-ID: <[email protected]> From: [email protected] Date: Mon, 24 Jan 2005 10:42:08 -0500 X-MIMETrack: Serialize by Router on MailMan/ILSTechnology(Release 5.0.11 |July 24, 2002) at 01/24/2005 10:42:10 AM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Allen, I recently hit this problem as well in log4cxx 0.9.7. The solution I used was to specify the timezone in the log4cxx.properties file. You can specify it for a layout like this: log4j.appender.AuditAppender.layout.TimeZone=America/New_York After that all my logs magically printed in the specified time zone, remember you will need one of these stanzas for each appender. When looking at the log4cxx source for 0.9.7, they explicitly clear the timezone. Hope this helps, James Wert Jr. [email protected] Origonal message: Hello, Well, I can't get the timezone thing to work at all on my Debian linux (linux 2.2.20, g++ 3.3.4, log4cxx 0.9.7). Not only can't I get the logger to output stuff with the right timestamps but while trying to determine why I have a problem I ran into this strange behaviour... I write a small program that doesn't use [email protected]. It just takes a look at the value of the environment variable TZ. If I link with liblog4cxx.so there is a dependency (ldd tells me so - this is perhaps normal...) and the program tells me that TZ is not set. If I link without the library (which, of course, is not used by my program at all) the program tells me that TZ is set. I can just about live with wrong timestamps, but living with this is a little hard! What is going on? Any ideas - good, bad, or trivial? regards Allen From [email protected] Mon Jan 24 18:11:56 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1881 invoked from network); 24 Jan 2005 18:11:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 24 Jan 2005 18:11:56 -0000 Received: (qmail 12221 invoked by uid 500); 24 Jan 2005 18:11:55 -0000 Delivered-To: [email protected] Received: (qmail 12205 invoked by uid 500); 24 Jan 2005 18:11:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 12192 invoked by uid 99); 24 Jan 2005 18:11:55 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 24 Jan 2005 10:11:55 -0800 Received: (qmail 1860 invoked from network); 24 Jan 2005 18:11:53 -0000 Received: from localhost.hyperreal.org (HELO ?IPvacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b:1?) (161.129.204.104) by localhost.hyperreal.org with SMTP; 24 Jan 2005 18:11:53 -0000 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Curt Arnold <[email protected]> Subject: Re: timezone: TZ not defined! Date: Mon, 24 Jan 2005 12:11:51 -0600 To: Log4CXX User <[email protected]> X-Mailer: Apple Mail (2.619) X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N The timezone handling in log4cxx-0.9.7 was seriously broken (see http://issues.apache.org/jira/browse/LOGCXX-11,http:// issues.apache.org/jira/browse/LOGCXX-15, and http://issues.apache.org/jira/browse/LOGCXX-41). The current CVS HEAD handles it much better and does not touch the TZ environment variable. It still need to be brought into synch with recent changes to log4j (http://issues.apache.org/jira/browse/LOGCXX-49). In the current log4cxx CVS, you can specify timezone as a property of the appender. In log4j, you can specify an arbitrary timezone as the second parameter to a %d format specifier, like: "%d{yyyy-MM-dd HH:mm:ss}{GMT} - %m%n" I expect that we will migrate log4cxx to this approach before the long awaited 0.9.8 release. From [email protected] Tue Jan 25 08:04:04 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29210 invoked from network); 25 Jan 2005 08:04:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 25 Jan 2005 08:04:04 -0000 Received: (qmail 60687 invoked by uid 500); 25 Jan 2005 08:04:03 -0000 Delivered-To: [email protected] Received: (qmail 60664 invoked by uid 500); 25 Jan 2005 08:04:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 60645 invoked by uid 99); 25 Jan 2005 08:04:02 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from webmail.frequentis.com (HELO frqdmz10nt.frequentis.frq) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 25 Jan 2005 00:04:01 -0800 Received: from FRQVIEEX01.frequentis.frq ([161.129.204.104]) by frqdmz10nt.frequentis.frq with Microsoft SMTPSVC(6.0.3790.211); Tue, 25 Jan 2005 09:03:56 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: How compile apr on windows? Date: Tue, 25 Jan 2005 09:03:54 +0100 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How compile apr on windows? Thread-Index: AcUCtGoRr15MmMeVRpyTGOyQoORJHA== From: "LECHNER Martin" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 25 Jan 2005 08:03:56.0796 (UTC) FILETIME=[6B53F3C0:01C502B4] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I tried to compile the current version of log4cxx on windows and had = troubles with apr. 1.) The version 1.0.1 sources dont had a valid MSVC6 workspace - so i = checked out the lates binaries 2.) Now I am stuck with LDAP support. (v2.0 not supported... I want to disable ldap support if that is possible (is it needed for log4cxx?) But I couldnt find the settings yet. Any clue where in the sourc I can disable this? And by the way: any further advice what can occure till i got the new = version compiled? Thanks ML From [email protected] Tue Jan 25 08:33:49 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71030 invoked from network); 25 Jan 2005 08:33:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 25 Jan 2005 08:33:49 -0000 Received: (qmail 10776 invoked by uid 500); 25 Jan 2005 08:33:48 -0000 Delivered-To: [email protected] Received: (qmail 10761 invoked by uid 500); 25 Jan 2005 08:33:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 10745 invoked by uid 99); 25 Jan 2005 08:33:48 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from smtp.persistent.co.in (HELO smtp.pspl.co.in) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 25 Jan 2005 00:33:46 -0800 Received: from ps0876 (dhcp119.intranet.pspl.co.in [161.129.204.104]) (authenticated bits=0) by smtp.pspl.co.in (8.12.9/8.12.9) with ESMTP id j0P8ee9l009644 for <[email protected]>; Tue, 25 Jan 2005 14:10:41 +0530 From: "Ambarish Mitra" <[email protected]> To: <[email protected]> Subject: Apache Log4cxx Date: Tue, 25 Jan 2005 14:05:31 +0530 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0067_01C502E6.EEA595D0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-MS-TNEF-Correlator: <[email protected]> Importance: Normal In-Reply-To: <[email protected]> X-Brightmail-Tracker: AAAAAQAAAAQ= X-White-List-Member: TRUE X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_0067_01C502E6.EEA595D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit > Hi, > > I have downloaded the Apache Log4cxx and trying to build the source. While > building by using the autogen.sh, the aclocal is giving me > errors/warnings, and the process is failing. > > aclocal:configure.in:32: warning: macro `AM_PROG_LIBTOOL' not found in > library > > The following are the versions I am using. Please let me know what is the > error, and the way to resolve the same. > > log4cxx-0.9.7 > > bash-2.03$ libtool --version > ltmain.sh (GNU libtool) 1.5 (1.1220 2003/04/05 19:32:58) > > bash-2.03$ aclocal --version > aclocal (GNU automake) 1.9 > > bash-2.03$ autoconf --version > autoconf (GNU Autoconf) 2.59 > > bash-2.03$ automake --version > automake (GNU automake) 1.9 > > bash-2.03$ m4 --version > GNU m4 1.4 > > Please advise. > > Regards, > Ambarish. > > ------=_NextPart_000_0067_01C502E6.EEA595D0 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="winmail.dat" eJ8+Ih8IAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEGgAMADgAAANUHAQAZAA4ABQAAAAIACwEB A5AGAKAHAAAnAAAACwACAAEAAAALACMAAAAAAAMAJgAAAAAACwApAAAAAAADAC4AAAAAAAMANgAA AAAAHgBwAAEAAAAPAAAAQXBhY2hlIExvZzRjeHgAAAIBcQABAAAAGwAAAAHFArhhBweZxio7oU3u nW1t/EROjA4AABqEwAACAR0MAQAAACUAAABTTVRQOkFNQkFSSVNIX01JVFJBQFBFUlNJU1RFTlQu Q08uSU4AAAAACwABDgAAAABAAAYOAFLiwbgCxQECAQoOAQAAABgAAAAAAAAAUOIXRCRei0eUDIvv HWx1MsKAAAALAB8OAQAAAAIBCRABAAAAxQIAAMECAAB9BAAATFpGdVcBA7ADAAoAcmNwZzEyNRYy APgLYG4OEDAzM08B9wKkA+MCAGNoCsBz8GV0MCAHEwKDAFAEVfECAHBycRIREOcIVQeylQKAfQqB dgiQd2sLgDRkNAxgYwBQCwNsaUwzNgFAEsBvdAWQdOELpiBIaSwKogqECoAESSAQ8HZlIGRvFHdu CQBhAQBkIHQ6aBiQQQqwEOAYkExvwGc0Y3h4IABwGUEUcnkLgGcZUG8gYhZ1AxAZRHMIYWNlLngg V2gDEBiQG3MbAmI4eSB1AJAbEhlxYXWFG0BnCfAuc2gsHgQqYwkAYwdAIAQAIGfuaRTAGxEHgCAE kANgERDcL3cKwAMADyBzHvAak98ZcRZRHFAEER/RZgtwFfBdDyAuF4oR8R9GOgWgbjhmaWcIcBxg C4A6M3gyOiAhFSXQAMEDYCAAYEFNX1BST0cAX0xJQlRPT0z4JyBuFnAi0AhgGqELgNIgFfBicgrA eSPGFjHtF6JUGXECEGwJAAPwGxHfCsAYkBliGIAREGkCIAQgWRhAYW0dpBxwUBzAYW8RICjAETAg YmsoAAfgd/8Q8AVAH9EZYiCjIZghEB2Q9xtBCXAcEGwYgRvTLEAcYH8jawwwJDEJABozCiARUC2B CiAgMC45Ljcy0YUXimItEGgtMi4PUP4kAzAzMCjRG0AG8DLSMwDmLSuVF4RsdADAC4AewaAgKEdO VTVmKTUy6DEuNTXjKDjQDiAXIaMB0A9QLzA0OhA1OMDiOSWiNTgpM9805x9VPzXvF7EfVjfDHlIA wGtl/TiFOTOvO/seYSTiPS8+MrtCFTe0QUIVOIM04DVAL/9BPz9yQo9DlT9yPt8/70Z//m0VQEgf CoA30kzwOJRNAn8jbBFQLOUZEBTAESAjW1LcZWcLESGAF4RBBtAKwF0EAGgjXBeTFIEAVMAAAAAe AEIQAQAAAD8AAAA8SUxFSEpFQU1OTEFOQUtDSUZCR01DRUFNQ0VBQS5hbWJhcmlzaF9taXRyYUBw ZXJzaXN0ZW50LmNvLmluPgAACwABgAggBgAAAAAAwAAAAAAAAEYAAAAAA4UAAAAAAAADAAOACCAG AAAAAADAAAAAAAAARgAAAAAQhQAAAAAAAAMAB4AIIAYAAAAAAMAAAAAAAABGAAAAAFKFAAAnagEA HgAJgAggBgAAAAAAwAAAAAAAAEYAAAAAVIUAAAEAAAAEAAAAOS4wAB4ACoAIIAYAAAAAAMAAAAAA AABGAAAAADaFAAABAAAAAQAAAAAAAAAeAAuACCAGAAAAAADAAAAAAAAARgAAAAA3hQAAAQAAAAEA AAAAAAAAHgAMgAggBgAAAAAAwAAAAAAAAEYAAAAAOIUAAAEAAAABAAAAAAAAAAsADYAIIAYAAAAA AMAAAAAAAABGAAAAAIKFAAABAAAACwA6gAggBgAAAAAAwAAAAAAAAEYAAAAADoUAAAAAAAADADyA CCAGAAAAAADAAAAAAAAARgAAAAARhQAAAAAAAAMAPYAIIAYAAAAAAMAAAAAAAABGAAAAABiFAAAA AAAACwBSgAggBgAAAAAAwAAAAAAAAEYAAAAABoUAAAAAAAADAFOACCAGAAAAAADAAAAAAAAARgAA AAABhQAAAAAAAAIB+A8BAAAAEAAAAFDiF0QkXotHlAyL7x1sdTICAfoPAQAAABAAAABQ4hdEJF6L R5QMi+8dbHUyAgH7DwEAAACgAAAAAAAAADihuxAF5RAaobsIACsqVsIAAFBTVFBSWC5ETEwAAAAA AAAAAE5JVEH5v7gBAKoAN9luAAAAQzpcRG9jdW1lbnRzIGFuZCBTZXR0aW5nc1xhbWJhcmlzaF9t aXRyYVxMb2NhbCBTZXR0aW5nc1xBcHBsaWNhdGlvbiBEYXRhXE1pY3Jvc29mdFxPdXRsb29rXG91 dGxvb2sucHN0AAMA/g8FAAAAAwANNP03AAACAX8AAQAAAD8AAAA8SUxFSEpFQU1OTEFOQUtDSUZC R01BRUFOQ0VBQS5hbWJhcmlzaF9taXRyYUBwZXJzaXN0ZW50LmNvLmluPgAAAwAGEIPe4BIDAAcQ TQIAAAMAEBABAAAAAwAREAMAAAAeAAgQAQAAAGUAAABISSxJSEFWRURPV05MT0FERURUSEVBUEFD SEVMT0c0Q1hYQU5EVFJZSU5HVE9CVUlMRFRIRVNPVVJDRVdISUxFQlVJTERJTkdCWVVTSU5HVEhF QVVUT0dFTlNILFRIRUFDTE9DAAAAAOS3 ------=_NextPart_000_0067_01C502E6.EEA595D0-- From [email protected] Tue Jan 25 11:40:49 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80480 invoked from network); 25 Jan 2005 11:40:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 25 Jan 2005 11:40:48 -0000 Received: (qmail 8771 invoked by uid 500); 25 Jan 2005 11:40:47 -0000 Delivered-To: [email protected] Received: (qmail 8731 invoked by uid 500); 25 Jan 2005 11:40:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 8670 invoked by uid 99); 25 Jan 2005 11:40:46 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO,HTML_30_40,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from 195-67-87-132.customer.telia.com (HELO ds2.elc.beijer.se) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 25 Jan 2005 03:40:44 -0800 Received: from ds1.mlm.elc.beijer.se ([161.129.204.104]) by ds2.elc.beijer.se (Lotus Domino Release 6.5.1) with ESMTP id 2005012512363733-2785 ; Tue, 25 Jan 2005 12:36:37 +0100 Received: from [161.129.204.104] ([161.129.204.104]) by ds1.mlm.elc.beijer.se (Lotus Domino Release 6.5.3) with ESMTP id 2005012512403414-17 ; Tue, 25 Jan 2005 12:40:34 +0100 Message-ID: <[email protected]> Date: Tue, 25 Jan 2005 12:40:35 +0100 From: =?ISO-8859-1?Q?Bj=F6rn_Carlsson?= <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Log4CXX User <[email protected]> Subject: Re: How compile apr on windows? References: <[email protected]> In-Reply-To: <[email protected]> X-MIMETrack: Itemize by SMTP Server on ds1/mlm/elc/beijer/se(Release 6.5.3|September 14, 2004) at 01/25/2005 12:40:34 PM, Serialize by Router on ds1/mlm/elc/beijer/se(Release 6.5.3|September 14, 2004) at 01/25/2005 12:40:35 PM, Itemize by SMTP Server on ds2/elc/beijer/se(Release 6.5.1|January 21, 2004) at 2005-01-25 12:36:37, Serialize by Router on ds2/elc/beijer/se(Release 6.5.1|January 21, 2004) at 2005-01-25 12:36:45, Serialize complete at 2005-01-25 12:36:45 Content-Type: multipart/alternative; boundary="------------080701000706010206020206" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --------------080701000706010206020206 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; format=flowed I believe the only problem for the apr dsw and dsp files is their unix=20 file endings, so open them in some text editor and change from unix to=20 dos file endings, to make MSVC accept them. Or try my project files at: http://versionsupport.com/logging/apr.zip But to compile the latest version of log4cxx from CVS I also had to add=20 and remove some files in the DLL-project, but I built them in VS.NET=20 2003. So my dsp files has been converted to vcproj files and the changes=20 are only in them. But if you are intrested, the files I have changed: =20 http://versionsupport.com/logging/log4cxx.zip /Bj=F6rn Carlsson VersionSupport.com <http://versionsupport.com> LECHNER Martin wrote: >I tried to compile the current version of log4cxx on windows and had troub= les >with apr. >1.) The version 1.0.1 sources dont had a valid MSVC6 workspace - so i chec= ked >out the lates binaries >2.) Now I am stuck with LDAP support. (v2.0 not supported... > >I want to disable ldap support if that is possible (is it needed for >log4cxx?) >But I couldnt find the settings yet. > >Any clue where in the sourc I can disable this? >And by the way: any further advice what can occure till i got the new vers= ion >compiled? > >Thanks >ML > > > =20 > --------------080701000706010206020206 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=ISO-8859-1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> I believe the only problem for the apr dsw and dsp files is their unix file endings, so open them in some text editor and change from unix to dos file endings, to make MSVC accept them.<br> Or try my project files at: <a class="moz-txt-link-freetext" href="http://versionsupport.com/logging/apr.zip">http://versionsupport.com/logging/apr.zip</a><br> But to compile the latest version of log4cxx from CVS I also had to add and remove some files in the DLL-project, but I built them in VS.NET 2003. So my dsp files has been converted to vcproj files and the changes are only in them.<br> But if you are intrested, the files I have changed:&nbsp; <a class="moz-txt-link-freetext" href="http://versionsupport.com/logging/log4cxx.zip">http://versionsupport.com/logging/log4cxx.zip</a><br> <br> /Bj&ouml;rn Carlsson<br> <a href="http://versionsupport.com">VersionSupport.com</a><br> <br> LECHNER Martin wrote: <blockquote cite="[email protected]" type="cite"> <pre wrap="">I tried to compile the current version of log4cxx on windows and had troubles with apr. 1.) The version 1.0.1 sources dont had a valid MSVC6 workspace - so i checked out the lates binaries 2.) Now I am stuck with LDAP support. (v2.0 not supported... I want to disable ldap support if that is possible (is it needed for log4cxx?) But I couldnt find the settings yet. Any clue where in the sourc I can disable this? And by the way: any further advice what can occure till i got the new version compiled? Thanks ML </pre> </blockquote> <div class="moz-signature"><br> </div> </body> </html> --------------080701000706010206020206-- From [email protected] Tue Jan 25 13:52:03 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59321 invoked from network); 25 Jan 2005 13:52:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 25 Jan 2005 13:52:03 -0000 Received: (qmail 99574 invoked by uid 500); 25 Jan 2005 13:52:02 -0000 Delivered-To: [email protected] Received: (qmail 99557 invoked by uid 500); 25 Jan 2005 13:52:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 99543 invoked by uid 99); 25 Jan 2005 13:52:02 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from pluto.phpwebhosting.com (HELO pluto.phpwebhosting.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 25 Jan 2005 05:52:01 -0800 Received: (qmail 26119 invoked from network); 25 Jan 2005 13:51:55 -0000 Received: from unknown (HELO Rand) (161.129.204.104) by pluto.phpwebhosting.com with SMTP; 25 Jan 2005 13:51:55 -0000 From: "Keith Bottner" <[email protected]> To: "'Log4CXX User'" <[email protected]> Subject: RE: Apache Log4cxx Date: Tue, 25 Jan 2005 07:51:58 -0600 Organization: Barking Lizards Technologies MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0062_01C502B2.BFCDFFB0" X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: <[email protected]> Thread-Index: AcUCuGEHB5nGKjuhTe6dbW38RE6MDgAAGoTAAAr543A= X-MS-TNEF-Correlator: 00000000BC58016E11C3294A96CCF3323B6634AFE4C52200 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_0062_01C502B2.BFCDFFB0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: 7bit I was having this problem on FreeBSD. It was due to multiple versions of aclocal being installed and the one that the sym link was pointing to was not the one that log4cxx was expecting. Even after I fixed that problem I could not get it to compile. I posted the problem on this list and the best I got back was something about log4cxx moving to Apaches portable kit or something. Anyway I hope this helps. Keith > _____________________________________________ > From: Ambarish Mitra [HYPERLINK > mailto:[email protected] > mailto:[email protected]] > Sent: Tuesday, January 25, 2005 2:36 AM > To: [email protected] > Subject: Apache Log4cxx > > Hi, > > I have downloaded the Apache Log4cxx and trying to build the source. While > building by using the autogen.sh, the aclocal is giving me > errors/warnings, and the process is failing. > > aclocal:configure.in:32: warning: macro `AM_PROG_LIBTOOL' not found in > library > > The following are the versions I am using. Please let me know what is the > error, and the way to resolve the same. > > log4cxx-0.9.7 > > bash-2.03$ libtool --version > ltmain.sh (GNU libtool) 1.5 (1.1220 2003/04/05 19:32:58) > > bash-2.03$ aclocal --version > aclocal (GNU automake) 1.9 > > bash-2.03$ autoconf --version > autoconf (GNU Autoconf) 2.59 > > bash-2.03$ automake --version > automake (GNU automake) 1.9 > > bash-2.03$ m4 --version > GNU m4 1.4 > > Please advise. > > Regards, > Ambarish. > > > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.3 - Release Date: 1/24/2005 ------=_NextPart_000_0062_01C502B2.BFCDFFB0 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="winmail.dat" eJ8+IjsNAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQOQBgA4CQAAJAAAAAsAAgABAAAAAwAmAAAAAAALACsAAAAAAAMA LgAAAAAAHgBwAAEAAAAPAAAAQXBhY2hlIExvZzRjeHgAAAIBcQABAAAAIAAAAAHFArhhBweZxio7 oU3unW1t/EROjA4AABqEwAAK+eNwCwABDgAAAAACAQoOAQAAABgAAAAAAAAAvFgBbhHDKUqWzPMy O2Y0r8KAAAADABQOAQAAAB4AKA4BAAAAJgAAADAwMDAwMDAyAWtlaXRoQGJhcmtpbmdsaXphcmRz LmNvbQFCTFQAAAAeACkOAQAAACYAAAAwMDAwMDAwMgFrZWl0aEBiYXJraW5nbGl6YXJkcy5jb20B QkxUAAAAAgEJEAEAAACiBQAAngUAAGgJAABMWkZ1kIsnmAMACgByY3BnMTI1FjIA+Atgbg4QMDMz TwH3AqQD4wIAY2gKwHPwZXQwIAcTAoMAUBBmGHBycQ5QENhUYWj/A3ECgxLhBGQSkxIREOcIVdsH sgKDMxBfEWZ9CoAIyLY7CW8OMDUCgBiiKgmwUwnwBJBhdAWxUg3gaAMJgAHQIDUuNTAuSDk5LgHQ MDkCgFySdgiQd2sLgGQ0DGA2YwBQCwNjEgILxCBJeCB3YQQgEPAdUA8gIFR0aAQAIBKwbwJgZSRt IAIgIEYJ0UJT3EQuHzAFQB9iZApQIADAbyBtdWx0BSAgoDwgdgSQAJACIAQgb2YWIADQCQBjB0Ag YmWrH9ILgHMBkGwgoGQjwP8dsCABIjACICIxEPAFQCWSUnMGwCBsC4BrH1NwPm8LgCKwH+IiYB9i bm8HJkQl1wkAZzRjeHhxH1NleHAFkCeyIYBFOyMQA6BhAYAWQR9AZmn+eCUhJhMgZh9ABaAikCUw dyhyGzAFQGkmQSJgBaBt+nADEGUhgSdhJNAr8yIw/yBpIBMm4CTQJUckUDDRH0DaZyiBYgDQJxRz A3ARMP8gIB/hAaAIYCloBGAfxCJg/kEKsBvxJ1IAIAGgIuEdkI8FQAWxMschgEFueR9gPnkfMRPA KmAgBBwAbHDccy4KogqECoBLJGAgEH84qh5xAUAgYStgKoAR9DH8Nl87vzzPPXgK4wqCOtQHOqEL EzrWaS0xNDTfAUAm4ECTDNBAk2IhAQNw9joDMAySYhFRBtAKwAQAjmgF0C3wG3AgW3sB8QcIkC1A Q8BIWVBFUnBMSU5LInALcCKgb6Q6YULVX21DYkAqYFcjMS8hAjAuBaAuC4Ag/xiAAfEtQBEQIqAA ACKQHnL/RP9GD0cTSDEBQDqBGIAYgL07Nl0+hkHABmACMDpCRhJUClBzZDdQLCBKfQBwdQrAN2AO ME5AHOE1UU7QOjM2EWBNTHdUJ0kAQkYphS11ESByQFUpgWcqomE08y4FsGdxTHh1YmoqcU1HNOQg /kwplDm7Pw868ybgT5AC0fEe1UhpLDiqN4EfsCIw0GRvd24JAGEBACV0z1SsJUROsCfFYnUDECV0 6zLACHBjLrFXICAi4VyzvR/SYjdgUaAf1CIwYTOQ+ymQCfAuQyBOQF9TI+UgMW9SIB/DB4AqMHID YBEQL/cfYASgH9FzTkAlViBhXZD7BBEgMWZIwSqiObsUQCPG6joFoG4rwGcIcC6wC4B/T4BPcB9R YnNCIADBA2AgAmBPwF9QUk9HX4FEsEJUT09MJyhj3QIQdSVhR0Em4GIbcE6w92UGP3MKgFQloQIQ JQBaAP8zIwlwJYMjFx9ASSBe5CGAflAgoB9wIjAgoAVAYbFr+yhwB+B3JiIgMSWSYeNi2O83QiJR CXAywGxZwSZjSSC/LrA5uwwwZXEphUKCLUGxeRyRLjdCgTiqMjBDIC30Mi4PUCQDMEHAahEbkPcG 8EKCdEAtIxU4pCKgSLFBX/IgKEdOVXamKe12cjEccHcjKHoQDiAcMWEc4TMvMDR7UE9QMeI5ZuI1 OCl1H3YnI9U/dy840SPWeQNfkgDAa2X9ecU5dO99O1+hZiJ+b39yu4NVePRBg1V5w3YgNYFv/4J/ gLKDz4TVgLKAH4Evh7/+bR3QiV8KgHkSjjB51I5Cf2SsEVBuJVpQHVARIDibUvxlZwsRYsA4pELG ZJw4sz8KhAs3FvIcMQAACw4xON8DMCbhIjB3cJhlTiJgHVD+clGgaXggEzOBMfBhdAQQ7mEbMDiQ mINDHAAyUCUhMV7BQVZHNwEisC1WW5mim9VWIyRCIDd2MC6yMxzwIC+eMJmjRBuAZwGgblFCIDI2 HGCe0DM/dEAH8DhQbkOf0aBBMS++MntwTyKYdEdgOKR9o3AAAAMA3j/iBAAAAwACWQAAFgADAAlZ AwAAAAsAAYAIIAYAAAAAAMAAAAAAAABGAAAAAAOFAAAAAAAAAwADgAggBgAAAAAAwAAAAAAAAEYA AAAAEIUAAAAAAAALAA+ACCAGAAAAAADAAAAAAAAARgAAAAAGhQAAAAAAAAMAEIAIIAYAAAAAAMAA AAAAAABGAAAAAAGFAAAAAAAACwAZgAggBgAAAAAAwAAAAAAAAEYAAAAADoUAAAAAAAADAByACCAG AAAAAADAAAAAAAAARgAAAAAYhQAAAAAAAAsANIAIIAYAAAAAAMAAAAAAAABGAAAAAIKFAAAAAAAA AwBjgTdHVkEAMqEQmJsAAOh7T7EBAAAAIAAAAEEAVgBHACAARgBMAEEARwBTACAAKABPAFUAVAAp AAAAwyEhAwsAHw4BAAAAAgH4DwEAAAAQAAAAvFgBbhHDKUqWzPMyO2Y0rwIB+g8BAAAAEAAAALxY AW4RwylKlszzMjtmNK8DAP4PBQAAAAMADTT9PwUAAwAPNP0/BQACARQ0AQAAABAAAABOSVRB+b+4 AQCqADfZbgAAAgF/AAEAAAAxAAAAMDAwMDAwMDBCQzU4MDE2RTExQzMyOTRBOTZDQ0YzMzIzQjY2 MzRBRkU0QzUyMjAwAAAAAAMABhDPU2YDAwAHEL4EAAADABAQAAAAAAMAERAAAAAAHgAIEAEAAABl AAAASVdBU0hBVklOR1RISVNQUk9CTEVNT05GUkVFQlNESVRXQVNEVUVUT01VTFRJUExFVkVSU0lP TlNPRkFDTE9DQUxCRUlOR0lOU1RBTExFREFORFRIRU9ORVRIQVRUSEVTWU1MSQAAAADIfg== ------=_NextPart_000_0062_01C502B2.BFCDFFB0-- From [email protected] Tue Jan 25 15:54:10 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52791 invoked from network); 25 Jan 2005 15:54:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 25 Jan 2005 15:54:08 -0000 Received: (qmail 52670 invoked by uid 500); 25 Jan 2005 15:54:06 -0000 Delivered-To: [email protected] Received: (qmail 52654 invoked by uid 500); 25 Jan 2005 15:54:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 52641 invoked by uid 99); 25 Jan 2005 15:54:06 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=HTML_90_100,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from tiere.net.avaya.com (HELO tiere.net.avaya.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 25 Jan 2005 07:54:05 -0800 Received: from tiere.net.avaya.com (localhost [161.129.204.104]) by tiere.net.avaya.com (Switch-3.1.2/Switch-3.1.0) with ESMTP id j0PFpxw6016033 for <[email protected]>; Tue, 25 Jan 2005 10:51:59 -0500 (EST) Received: from cof110avexu4.global.avaya.com (h135-9-6-19.avaya.com [161.129.204.104]) by tiere.net.avaya.com (Switch-3.1.2/Switch-3.1.0) with ESMTP id j0PFosw6014047 for <[email protected]>; Tue, 25 Jan 2005 10:50:57 -0500 (EST) X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C502F5.EE185E65" Subject: Sending Byte Array to a custom appender. Date: Tue, 25 Jan 2005 08:52:53 -0700 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Sending Byte Array to a custom appender. Thread-Index: AcUC9e2xGSAfYzM3ScSLi8TldgsRww== From: "Kadarkarai, Prabhakar \(Prabhakar\)" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C502F5.EE185E65 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello All, =20 Can I send BYTE array instead of basic string using Log4Cxx to a custom appender. If so, how? Any example would be obliged. =20 Thanks, PK ------_=_NextPart_001_01C502F5.EE185E65 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {font-family:Arial; color:windowtext;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Hello All,</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Can I send BYTE array instead of basic string using = Log4Cxx to a custom appender. If so, how? Any example would be = obliged.</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Thanks,</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>PK</span></font></p> </div> </body> </html> ------_=_NextPart_001_01C502F5.EE185E65-- From [email protected] Tue Jan 25 18:23:19 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 32822 invoked from network); 25 Jan 2005 18:23:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 25 Jan 2005 18:23:19 -0000 Received: (qmail 77899 invoked by uid 500); 25 Jan 2005 18:22:56 -0000 Delivered-To: [email protected] Received: (qmail 77836 invoked by uid 500); 25 Jan 2005 18:22:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 77813 invoked by uid 99); 25 Jan 2005 18:22:55 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 25 Jan 2005 10:22:55 -0800 Received: (qmail 32617 invoked from network); 25 Jan 2005 18:22:54 -0000 Received: from localhost.hyperreal.org (HELO ?IPvacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b:1?) (161.129.204.104) by localhost.hyperreal.org with SMTP; 25 Jan 2005 18:22:54 -0000 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Curt Arnold <[email protected]> Subject: Re: Apache Log4cxx Date: Tue, 25 Jan 2005 12:22:52 -0600 To: Log4CXX User <[email protected]> X-Mailer: Apple Mail (2.619) X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Jan 25, 2005, at 7:51 AM, Keith Bottner wrote: > I was having this problem on FreeBSD. It was due to multiple versions > of > aclocal being installed and the one that the sym link was pointing to > was > not the one that log4cxx was expecting. Even after I fixed that > problem I > could not get it to compile. I posted the problem on this list and the > best > I got back was something about log4cxx moving to Apaches portable kit > or > something. Anyway I hope this helps. > > Keith > I've been working to get log4cxx building on Gump which is either FreeBSD or NetBSD. Obviously there are problems with AutoConf and Configure, but I'm not an expert on either and would welcome any proposals. The Gump build using Ant does appear to be working since log4cxx at this time does not use the generated configuration files at all. From [email protected] Tue Jan 25 18:48:35 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45097 invoked from network); 25 Jan 2005 18:48:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 25 Jan 2005 18:48:35 -0000 Received: (qmail 36306 invoked by uid 500); 25 Jan 2005 18:48:32 -0000 Delivered-To: [email protected] Received: (qmail 36233 invoked by uid 500); 25 Jan 2005 18:48:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 36206 invoked by uid 99); 25 Jan 2005 18:48:31 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from pluto.phpwebhosting.com (HELO pluto.phpwebhosting.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 25 Jan 2005 10:48:30 -0800 Received: (qmail 354 invoked from network); 25 Jan 2005 18:48:23 -0000 Received: from unknown (HELO Rand) (161.129.204.104) by pluto.phpwebhosting.com with SMTP; 25 Jan 2005 18:48:23 -0000 From: "Keith Bottner" <[email protected]> To: "'Log4CXX User'" <[email protected]> Subject: RE: Apache Log4cxx Date: Tue, 25 Jan 2005 12:48:28 -0600 Organization: Barking Lizards Technologies MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: <[email protected]> Thread-Index: AcUDCu9XL/CpAmWbRVeYUgxc+BKKWQAAyRZQ X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Curt, I would be interested in your results. Unfortunately I know nothing about GUMP and just recently made the switch to FreeBSD from linux so I am still behind the curve on figuring out how to get something into the ports collection which supposedly would be the way to go about this task. If anyone else has a suggestion I would be interested in hearing it. Keith -----Original Message----- From: Curt Arnold [mailto:[email protected]] Sent: Tuesday, January 25, 2005 12:23 PM To: Log4CXX User Subject: Re: Apache Log4cxx On Jan 25, 2005, at 7:51 AM, Keith Bottner wrote: > I was having this problem on FreeBSD. It was due to multiple versions > of aclocal being installed and the one that the sym link was pointing > to was not the one that log4cxx was expecting. Even after I fixed that > problem I could not get it to compile. I posted the problem on this > list and the best I got back was something about log4cxx moving to > Apaches portable kit or something. Anyway I hope this helps. > > Keith > I've been working to get log4cxx building on Gump which is either FreeBSD or NetBSD. Obviously there are problems with AutoConf and Configure, but I'm not an expert on either and would welcome any proposals. The Gump build using Ant does appear to be working since log4cxx at this time does not use the generated configuration [email protected]. -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.3 - Release Date: 1/24/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.3 - Release Date: 1/24/2005 From [email protected] Tue Jan 25 21:10:59 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31965 invoked from network); 25 Jan 2005 21:10:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 25 Jan 2005 21:10:59 -0000 Received: (qmail 58173 invoked by uid 500); 25 Jan 2005 21:10:58 -0000 Delivered-To: [email protected] Received: (qmail 58147 invoked by uid 500); 25 Jan 2005 21:10:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 58131 invoked by uid 99); 25 Jan 2005 21:10:58 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=HTML_MESSAGE,HTML_TAG_EXIST_TBODY X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from Doc-12-189.veberod.com (HELO Newbie) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 25 Jan 2005 13:10:55 -0800 Received: from newbie ([161.129.204.104]) by Newbie (161.129.204.104) with esmtp ; Tue, 25 Jan 2005 22:10:22 +0100 Message-ID: <[email protected]> Date: Tue, 25 Jan 2005 22:10:21 +0100 From: =?ISO-8859-1?Q?Bj=F6rn_Carlsson?= <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) Hamster-Pg/1.22 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jwahar Bammi <[email protected]> CC: [email protected] Subject: Re: How compile apr on windows? References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: multipart/alternative; boundary="------------000702070501080308060508" X-Antivirus: avast! (VPS 0504-0, 2005-01-25), Outbound message X-Antivirus-Status: Clean X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. --------------000702070501080308060508 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit The reson why I had the remove and add some files in the dll-project in the log4cxx workspace was that the latest dsp file from CVS was not up to date, the developer was probably working on Linux, so I found out what to add / remove, by comparing src/Makefile.am in the 0.9.7 and current version. :-) A bit tricky. /Björn Carlsson VersionSupport.com <http://versionsupport.com> on 2005-01-25 13:06 Jwahar Bammi wrote: > Bjon > > Thanks for doing this. I am trying to understand why you had to > add/remove some files in the DLL. The reason I am asking is that I use > apr for other projects too, and I am considering adding log4cxx to the > mix. Having one apr lib will be very desirable. Please could you let > us know briefly which files you had to add/remove and briefly why. > > Thanks, that will help a lot > > > > Cheers, > > [email protected] > > > > ------------------------------------------------------------------------ > > *From:* Björn Carlsson [mailto:[email protected]] > *Sent:* Tuesday, January 25, 2005 6:41 AM > *To:* Log4CXX User > *Subject:* Re: How compile apr on windows? > > > > I believe the only problem for the apr dsw and dsp files is their unix > file endings, so open them in some text editor and change from unix to > dos file endings, to make MSVC accept them. > Or try my project files at: http://versionsupport.com/logging/apr.zip > But to compile the latest version of log4cxx from CVS I also had to > add and remove some files in the DLL-project, but I built them in > VS.NET 2003. So my dsp files has been converted to vcproj files and > the changes are only in them. > But if you are intrested, the files I have changed: > http://versionsupport.com/logging/log4cxx.zip > > /Björn Carlsson > VersionSupport.com <http://versionsupport.com> > > LECHNER Martin wrote: > >I tried to compile the current version of log4cxx on windows and had troubles > >with apr. > >1.) The version 1.0.1 sources dont had a valid MSVC6 workspace - so i checked > >out the lates binaries > >2.) Now I am stuck with LDAP support. (v2.0 not supported... > > > >I want to disable ldap support if that is possible (is it needed for > >log4cxx?) > >But I couldnt find the settings yet. > > > >Any clue where in the sourc I can disable this? > >And by the way: any further advice what can occure till i got the new version > >compiled? > > > >Thanks > >ML > > > > > > > > > --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0504-0, 2005-01-25 Tested on: 2005-01-25 22:10:29 avast! - copyright (c) 2000-2004 ALWIL Software. http://www.avast.com --------------000702070501080308060508 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> The reson why I had the remove and add some files in the dll-project in the log4cxx workspace was that the latest dsp file from CVS was not up to date, the developer was probably working on Linux, so I found out what to add / remove, by comparing src/Makefile.am in the 0.9.7 and current version. <span class="moz-smiley-s1"><span> :-)&nbsp; </span></span>A bit tricky.<br> <br> /Bj&ouml;rn Carlsson<br> <font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt;"></span></font><font color="black" face="Times New Roman" size="3"><a href="http://versionsupport.com">VersionSupport.com</a></font><br> <br> on 2005-01-25 13:06 Jwahar Bammi wrote: <blockquote cite="[email protected]" type="cite"> <meta http-equiv="Content-Type" content="text/html; "> <meta name="Generator" content="Microsoft Word 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman"; color:black;} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:blue; text-decoration:underline;} pre {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Courier New"; color:black;} span.EmailStyle18 {mso-style-type:personal-reply; font-family:Arial; color:navy;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext="edit" spidmax="1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext="edit"> <o:idmap v:ext="edit" data="1" /> </o:shapelayout></xml><![endif]--> <div class="Section1"> <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Bjon<o:p></o:p></span></font></p> <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Thanks for doing this. I am trying to understand why you had to add/remove some files in the DLL. The reason I am asking is that I use apr for other projects too, and I am considering adding log4cxx to the mix. Having one apr lib will be very desirable. Please could you let us know briefly which files you had to add/remove and briefly why.<o:p></o:p></span></font></p> <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Thanks, that will help a lot<o:p></o:p></span></font></p> <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"><o:p>&nbsp;</o:p></span></font></p> <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Cheers,<o:p></o:p></span></font></p> <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"><a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a><o:p></o:p></span></font></p> <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"><o:p>&nbsp;</o:p></span></font></p> <div> <div class="MsoNormal" style="text-align: center;" align="center"><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt; color: windowtext;"> <hr tabindex="-1" align="center" size="2" width="100%"></span></font></div> <p class="MsoNormal"><b><font color="black" face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; color: windowtext; font-weight: bold;">From:</span></font></b><font color="black" face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; color: windowtext;"> Bj&ouml;rn Carlsson [<a class="moz-txt-link-freetext" href="mailto:[email protected]">mailto:[email protected]</a>] <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, January 25, 2005 6:41 AM<br> <b><span style="font-weight: bold;">To:</span></b> Log4CXX User<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: How compile apr on windows?</span></font><font color="black"><span style="color: windowtext;"><o:p></o:p></span></font></p> </div> <p class="MsoNormal"><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt;"><o:p>&nbsp;</o:p></span></font></p> <p class="MsoNormal"><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt;">I believe the only problem for the apr dsw and dsp files is their unix file endings, so open them in some text editor and change from unix to dos file endings, to make MSVC accept them.<br> Or try my project files at: <a href="http://versionsupport.com/logging/apr.zip">http://versionsupport.com/logging/apr.zip</a><br> But to compile the latest version of log4cxx from CVS I also had to add and remove some files in the DLL-project, but I built them in VS.NET 2003. So my dsp files has been converted to vcproj files and the changes are only in them.<br> But if you are intrested, the files I have changed:&nbsp; <a href="http://versionsupport.com/logging/log4cxx.zip">http://versionsupport.com/logging/log4cxx.zip</a><br> <br> /Bj&ouml;rn Carlsson<br> <a href="http://versionsupport.com">VersionSupport.com</a><br> <br> LECHNER Martin wrote: <o:p></o:p></span></font></p> <pre wrap=""><font color="black" face="Courier New" size="2"><span style="font-size: 10pt;">I tried to compile the current version of log4cxx on windows and had troubles<o:p></o:p></span></font></pre> <pre><font color="black" face="Courier New" size="2"><span style="font-size: 10pt;">with apr.<o:p></o:p></span></font></pre> <pre><font color="black" face="Courier New" size="2"><span style="font-size: 10pt;">1.) The version 1.0.1 sources dont had a valid MSVC6 workspace - so i checked<o:p></o:p></span></font></pre> <pre><font color="black" face="Courier New" size="2"><span style="font-size: 10pt;">out the lates binaries<o:p></o:p></span></font></pre> <pre><font color="black" face="Courier New" size="2"><span style="font-size: 10pt;">2.) Now I am stuck with LDAP support. (v2.0 not supported...<o:p></o:p></span></font></pre> <pre><font color="black" face="Courier New" size="2"><span style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></pre> <pre><font color="black" face="Courier New" size="2"><span style="font-size: 10pt;">I want to disable ldap support if that is possible (is it needed for<o:p></o:p></span></font></pre> <pre><font color="black" face="Courier New" size="2"><span style="font-size: 10pt;">log4cxx?)<o:p></o:p></span></font></pre> <pre><font color="black" face="Courier New" size="2"><span style="font-size: 10pt;">But I couldnt find the settings yet.<o:p></o:p></span></font></pre> <pre><font color="black" face="Courier New" size="2"><span style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></pre> <pre><font color="black" face="Courier New" size="2"><span style="font-size: 10pt;">Any clue where in the sourc I can disable this?<o:p></o:p></span></font></pre> <pre><font color="black" face="Courier New" size="2"><span style="font-size: 10pt;">And by the way: any further advice what can occure till i got the new version<o:p></o:p></span></font></pre> <pre><font color="black" face="Courier New" size="2"><span style="font-size: 10pt;">compiled?<o:p></o:p></span></font></pre> <pre><font color="black" face="Courier New" size="2"><span style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></pre> <pre><font color="black" face="Courier New" size="2"><span style="font-size: 10pt;">Thanks<o:p></o:p></span></font></pre> <pre><font color="black" face="Courier New" size="2"><span style="font-size: 10pt;">ML<o:p></o:p></span></font></pre> <pre><font color="black" face="Courier New" size="2"><span style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></pre> <pre><font color="black" face="Courier New" size="2"><span style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></pre> <pre><font color="black" face="Courier New" size="2"><span style="font-size: 10pt;">&nbsp; <o:p></o:p></span></font></pre> <div> <p class="MsoNormal"><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt;"><o:p>&nbsp;</o:p></span></font></p> </div> </div> </blockquote> <br> <BR><BR> <TABLE width=400><HR> <P style="FONT: 9pt/11pt verdana"><a href="http://www.avast.com">avast! Antivirus</a>: Outbound message clean. <P style="FONT: 8pt/11pt verdana">Virus Database (VPS): 0504-0, 2005-01-25<BR>Tested on: 2005-01-25 22:10:29<BR><FONT color=gray>avast! - copyright (c) 2000-2004 ALWIL Software.</FONT></P> <TBODY></TBODY></TABLE> <BR> </body> </html> --------------000702070501080308060508-- From [email protected] Wed Jan 26 07:58:43 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89472 invoked from network); 26 Jan 2005 07:58:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 26 Jan 2005 07:58:42 -0000 Received: (qmail 35601 invoked by uid 500); 26 Jan 2005 07:58:37 -0000 Delivered-To: [email protected] Received: (qmail 35530 invoked by uid 500); 26 Jan 2005 07:58:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 35471 invoked by uid 99); 26 Jan 2005 07:58:37 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtp1.wanadoo.fr (HELO smtp1.wanadoo.fr) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 25 Jan 2005 23:58:36 -0800 Received: from me-wanadoo.net (mail.nighttrack.com [161.129.204.104]) by mwinf0102.wanadoo.fr (SMTP Server) with ESMTP id 3FFCA1FFFD38; Wed, 26 Jan 2005 08:58:33 +0100 (CET) Received: from mail.alphacent.com (APuteaux-102-2-1-32.w193-251.abo.wanadoo.fr [161.129.204.104]) by mwinf0102.wanadoo.fr (SMTP Server) with ESMTP id 222571FFFD34; Wed, 26 Jan 2005 08:58:33 +0100 (CET) X-ME-UUID: [email protected] Received: from localhost (localhost [161.129.204.104]) by mail.alphacent.com (Postfix) with ESMTP id F1DEB7C07; Wed, 26 Jan 2005 08:52:13 +0100 (CET) Received: from mail.alphacent.com ([161.129.204.104]) by localhost (hari [161.129.204.104]) (amavisd-new, port 10024) with ESMTP id 01394-06; Wed, 26 Jan 2005 08:52:13 +0100 (CET) Received: from [161.129.204.104] (luciole.alphacent.com [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alphacent.com (Postfix) with ESMTP id D33C87BEB; Wed, 26 Jan 2005 08:52:13 +0100 (CET) Message-ID: <[email protected]> Date: Wed, 26 Jan 2005 09:02:42 +0100 From: Christophe de VIENNE <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: fr, en MIME-Version: 1.0 To: Log4CXX User <[email protected]> Cc: Jwahar Bammi <[email protected]> Subject: Re: How compile apr on windows? References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by [email protected] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, Björn Carlsson a écrit : > The reson why I had the remove and add some files in the dll-project > in the log4cxx workspace was that the latest dsp file from CVS was not > up to date, the developer was probably working on Linux, so I found > out what to add / remove, by comparing src/Makefile.am in the 0.9.7 > and current version. :-) A bit tricky. Could you post an up-to-date dsp file so we commit it into the CVS repositery ? Thanks, Christophe From [email protected] Wed Jan 26 08:16:14 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18991 invoked from network); 26 Jan 2005 08:16:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 26 Jan 2005 08:16:13 -0000 Received: (qmail 70481 invoked by uid 500); 26 Jan 2005 08:16:11 -0000 Delivered-To: [email protected] Received: (qmail 70456 invoked by uid 500); 26 Jan 2005 08:16:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 70441 invoked by uid 99); 26 Jan 2005 08:16:11 -0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FORGED_RCVD_HELO,HTML_50_60,HTML_IMAGE_ONLY_16,HTML_MESSAGE,HTML_TITLE_EMPTY X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from 195-67-87-132.customer.telia.com (HELO ds2.elc.beijer.se) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 26 Jan 2005 00:16:09 -0800 Received: from ds1.mlm.elc.beijer.se ([161.129.204.104]) by ds2.elc.beijer.se (Lotus Domino Release 6.5.1) with ESMTP id 2005012609120150-4281 ; Wed, 26 Jan 2005 09:12:01 +0100 Received: from [161.129.204.104] ([161.129.204.104]) by ds1.mlm.elc.beijer.se (Lotus Domino Release 6.5.3) with ESMTP id 2005012609155883-33 ; Wed, 26 Jan 2005 09:15:58 +0100 Message-ID: <[email protected]> Date: Wed, 26 Jan 2005 09:16:00 +0100 From: =?ISO-8859-1?Q?Bj=F6rn_Carlsson?= <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Log4CXX User <[email protected]> Subject: Re: How compile apr on windows? References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> X-MIMETrack: Itemize by SMTP Server on ds1/mlm/elc/beijer/se(Release 6.5.3|September 14, 2004) at 01/26/2005 09:15:58 AM, Serialize by Router on ds1/mlm/elc/beijer/se(Release 6.5.3|September 14, 2004) at 01/26/2005 09:16:00 AM, Itemize by SMTP Server on ds2/elc/beijer/se(Release 6.5.1|January 21, 2004) at 2005-01-26 09:12:01, Serialize by Router on ds2/elc/beijer/se(Release 6.5.1|January 21, 2004) at 2005-01-26 09:12:10, Serialize complete at 2005-01-26 09:12:10 Content-Type: multipart/alternative; boundary="------------050207030506080106030305" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --------------050207030506080106030305 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; format=flowed No I only have an up to date (?) vcproj file, because I built it with=20 VS.NET 2003. You can download :=20 http://versionsupport.com/logging/log4cxx.zip if you are interested. Christophe de VIENNE wrote: > Hi, > > Bj=F6rn Carlsson a =E9crit : > >> The reson why I had the remove and add some files in the dll-project=20 >> in the log4cxx workspace was that the latest dsp file from CVS was=20 >> not up to date, the developer was probably working on Linux, so I=20 >> found out what to add / remove, by comparing src/Makefile.am in the=20 >> 0.9.7 and current version. :-) A bit tricky. > > > Could you post an up-to-date dsp file so we commit it into the CVS=20 > repositery ? > > Thanks, > > Christophe > > > --=20 /Bj=F6rn Carlsson VersionSupport.com <http://versionsupport.com> --------------050207030506080106030305 Content-Type: multipart/related; boundary="------------090401050001070700060503" --------------090401050001070700060503 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=ISO-8859-1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> No I only have an up to date (?) vcproj file, because I built it with VS.NET 2003.&nbsp; You can download : <a class="moz-txt-link-freetext" href="http://versionsupport.com/logging/log4cxx.zip">http://versionsupport.com/logging/log4cxx.zip</a> if you are interested.<br> <br> Christophe de VIENNE wrote: <blockquote cite="[email protected]" type="cite">Hi, <br> <br> Bj&ouml;rn Carlsson a &eacute;crit : <br> <br> <blockquote type="cite">The reson why I had the remove and add some files in the dll-project in the log4cxx workspace was that the latest dsp file from CVS was not up to date, the developer was probably working on Linux, so I found out what to add / remove, by comparing src/Makefile.am in the 0.9.7 and current version. :-)&nbsp; A bit tricky. <br> </blockquote> <br> Could you post an up-to-date dsp file so we commit it into the CVS repositery ? <br> <br> Thanks, <br> <br> Christophe <br> <br> <br> <br> </blockquote> <br> <div class="moz-signature">-- <br> <meta content="text/html;" http-equiv="Content-Type"> <title></title> /Bj&ouml;rn Carlsson<br> <a href="http://versionsupport.com">VersionSupport.com</a><br> <img alt="" src="cid:[email protected]" height="101" width="140"><br> </div> </body> </html> --------------090401050001070700060503-- --------------050207030506080106030305-- From [email protected] Wed Jan 26 08:22:38 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26028 invoked from network); 26 Jan 2005 08:22:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 26 Jan 2005 08:22:38 -0000 Received: (qmail 81336 invoked by uid 500); 26 Jan 2005 08:22:37 -0000 Delivered-To: [email protected] Received: (qmail 81320 invoked by uid 500); 26 Jan 2005 08:22:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 81288 invoked by uid 99); 26 Jan 2005 08:22:37 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 26 Jan 2005 00:22:37 -0800 Received: (qmail 25956 invoked from network); 26 Jan 2005 08:22:35 -0000 Received: from unknown (HELO ?IPvacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b:1?) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Jan 2005 08:22:35 -0000 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: quoted-printable From: Curt Arnold <[email protected]> Subject: Re: How compile apr on windows? Date: Wed, 26 Jan 2005 02:22:34 -0600 To: Log4CXX User <[email protected]> X-Mailer: Apple Mail (2.619) X-Spam-Rating: 161.129.204.104 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I'm working on an Ant for building Apr that can spit out DSP files (and=20= VS.NET and XCode projects). I haven't been able to work on it for a=20 few days, but it shouldn't take much work to finish off and it should=20 eliminate the need to independently build APR on Windows. I don't know any APR committers, but will at least make an attempt to=20 get into APR, but if not will commit it here. I have used to to try to=20= compile APR using Borland, but there are a decent number of issues that=20= I'll need to raise as APR bugs. On Jan 26, 2005, at 2:02 AM, Christophe de VIENNE wrote: > Hi, > > Bj=F6rn Carlsson a =E9crit : > >> The reson why I had the remove and add some files in the dll-project=20= >> in the log4cxx workspace was that the latest dsp file from CVS was=20 >> not up to date, the developer was probably working on Linux, so I=20 >> found out what to add / remove, by comparing src/Makefile.am in the=20= >> 0.9.7 and current version. :-) A bit tricky. > > Could you post an up-to-date dsp file so we commit it into the CVS=20 > repositery ? > > Thanks, > > Christophe > From [email protected] Wed Jan 26 10:44:35 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30905 invoked from network); 26 Jan 2005 10:44:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 26 Jan 2005 10:44:35 -0000 Received: (qmail 94849 invoked by uid 500); 26 Jan 2005 10:44:34 -0000 Delivered-To: [email protected] Received: (qmail 94823 invoked by uid 500); 26 Jan 2005 10:44:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 94805 invoked by uid 99); 26 Jan 2005 10:44:33 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from ms-smtp-05-smtplb.tampabay.rr.com (HELO ms-smtp-05.tampabay.rr.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 26 Jan 2005 02:44:33 -0800 Received: from zeus.ka0ttic.dyndns.org (161.129.204.104.cfl.rr.com [161.129.204.104]) by ms-smtp-05.tampabay.rr.com (8.12.10/8.12.7) with ESMTP id j0QAiSrO016574 for <[email protected]>; Wed, 26 Jan 2005 05:44:28 -0500 (EST) Received: from [161.129.204.104] (bedlam [161.129.204.104]) by zeus.ka0ttic.dyndns.org (Postfix) with ESMTP id E3D4C2FA910 for <[email protected]>; Wed, 26 Jan 2005 05:44:27 -0500 (EST) Message-ID: <[email protected]> Date: Wed, 26 Jan 2005 04:22:22 -0500 From: Aaron Walker <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (X11/20041207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Log4CXX User <[email protected]> Subject: Re: Problem compiling on FreeBSD 5.3 References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 161.129.204.104 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Firstly, I missed the first part of this thread, so I apologize if I'm missing the bigger picture. Curt Arnold wrote: | The migration to Apache Portable Runtime should eliminate most if not | all of the need for autogen.sh and configure in building log4cxx. I know zilch about APR (although I'll need to learn since I maintain the Gentoo ~ port ;p), but what does APR have to do with autogen.sh/configure? or is the "Runtime" in APR misleading? | However, the current use of autogen.sh and configure have not been | modified to reflect the migration. It is not an area that I'm expert in | and would appreciate any suggestions, patches or comments. I'll see if I can get get log4cxx setup on my BSD box, and what kind of magic (besides autogen.sh of course) is required to get it built. Cheers - -- DEC diagnostics would run on a dead whale. -- Mel Ferentz Aaron Walker <[email protected]> [ Gentoo/BSD | cron | forensics | shell-tools | commonbox | netmon ] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFB92FOC3poscuANHARAmOxAJ9mil8lTVZt/7zuWT+z0HkvgnfEiACeL21G vSVU9giAqnKO7ESJs2W0tT8= =B4bG -----END PGP SIGNATURE----- From [email protected] Wed Jan 26 12:06:55 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76405 invoked from network); 26 Jan 2005 12:06:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 26 Jan 2005 12:06:55 -0000 Received: (qmail 76268 invoked by uid 500); 26 Jan 2005 12:06:54 -0000 Delivered-To: [email protected] Received: (qmail 76240 invoked by uid 500); 26 Jan 2005 12:06:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 76225 invoked by uid 99); 26 Jan 2005 12:06:53 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from ms-smtp-01-smtplb.tampabay.rr.com (HELO ms-smtp-01.tampabay.rr.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 26 Jan 2005 04:06:52 -0800 Received: from zeus.ka0ttic.dyndns.org (161.129.204.104.cfl.rr.com [161.129.204.104]) by ms-smtp-01.tampabay.rr.com (8.12.10/8.12.7) with ESMTP id j0QC6lNi014747 for <[email protected]>; Wed, 26 Jan 2005 07:06:48 -0500 (EST) Received: from [161.129.204.104] (bedlam [161.129.204.104]) by zeus.ka0ttic.dyndns.org (Postfix) with ESMTP id AB82A3330FB for <[email protected]>; Wed, 26 Jan 2005 07:06:47 -0500 (EST) Message-ID: <[email protected]> Date: Wed, 26 Jan 2005 07:08:16 -0500 From: Aaron Walker <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (X11/20041207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Log4CXX User <[email protected]> Subject: Re: Apache Log4cxx References: <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 161.129.204.104 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ambarish Mitra wrote: |>Hi, |> |>I have downloaded the Apache Log4cxx and trying to build the source. While |>building by using the autogen.sh, the aclocal is giving me |>errors/warnings, and the process is failing. |> |>aclocal:configure.in:32: warning: macro `AM_PROG_LIBTOOL' not found in |>library |> |>The following are the versions I am using. Please let me know what is the |>error, and the way to resolve the same. |> |>log4cxx-0.9.7 |> |>bash-2.03$ libtool --version |>ltmain.sh (GNU libtool) 1.5 (1.1220 2003/04/05 19:32:58) |> |>bash-2.03$ aclocal --version |>aclocal (GNU automake) 1.9 |> |>bash-2.03$ autoconf --version |>autoconf (GNU Autoconf) 2.59 |> |>bash-2.03$ automake --version |>automake (GNU automake) 1.9 |> |>bash-2.03$ m4 --version |>GNU m4 1.4 |> |>Please advise. Try automake 1.5. - -- "I never let my schooling get in the way of my education." - -- Mark Twain Aaron Walker <[email protected]> [ Gentoo/BSD | cron | forensics | shell-tools | commonbox | netmon ] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFB94gvC3poscuANHARAmIBAKCrHDmdWntJrnnhiOw4UBtZ3xY07QCdGMST w9uaoma8bldz/Md1Fa05CUM= =irfT -----END PGP SIGNATURE----- From [email protected] Wed Jan 26 12:13:53 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79684 invoked from network); 26 Jan 2005 12:13:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 26 Jan 2005 12:13:53 -0000 Received: (qmail 87011 invoked by uid 500); 26 Jan 2005 12:13:51 -0000 Delivered-To: [email protected] Received: (qmail 86984 invoked by uid 500); 26 Jan 2005 12:13:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 86970 invoked by uid 99); 26 Jan 2005 12:13:50 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from ms-smtp-05-smtplb.tampabay.rr.com (HELO ms-smtp-05.tampabay.rr.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 26 Jan 2005 04:13:50 -0800 Received: from zeus.ka0ttic.dyndns.org (161.129.204.104.cfl.rr.com [161.129.204.104]) by ms-smtp-05.tampabay.rr.com (8.12.10/8.12.7) with ESMTP id j0QCDjrO026751 for <[email protected]>; Wed, 26 Jan 2005 07:13:45 -0500 (EST) Received: from [161.129.204.104] (bedlam [161.129.204.104]) by zeus.ka0ttic.dyndns.org (Postfix) with ESMTP id E55FCF6D0F for <[email protected]>; Wed, 26 Jan 2005 07:13:44 -0500 (EST) Message-ID: <[email protected]> Date: Wed, 26 Jan 2005 07:15:13 -0500 From: Aaron Walker <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (X11/20041207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Log4CXX User <[email protected]> Subject: Re: Apache Log4cxx References: <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 161.129.204.104 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Keith Bottner wrote: | I was having this problem on FreeBSD. It was due to multiple versions of | aclocal being installed and the one that the sym link was pointing to was | not the one that log4cxx was expecting. Even after I fixed that problem I | could not get it to compile. I posted the problem on this list and the best | I got back was something about log4cxx moving to Apaches portable kit or | something. Anyway I hope this helps. I see the mail with you explaining the autotools problem, but I don't see any mail where you actually post the compilation problem. Can you either post it here or respond to me directly? More than likely it's a log4cxx problem, and not a freebsd problem, as 0.9.7 won't even build on Linux without patching. Which brings me to another question, directed to Curt. Are you still accepting patches against 0.9.7 or are you not going to bother because of the APR migration? Cheers - -- I know it all. I just can't remember it [email protected]. Aaron Walker <[email protected]> [ Gentoo/BSD | cron | forensics | shell-tools | commonbox | netmon ] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFB94nRC3poscuANHARArWMAJsEhw9LLEBHZSbILdS2SI1ozsZjKwCg4dxS cb1HuD5InN6wDogoMd5GQRg= =8JZU -----END PGP SIGNATURE----- From [email protected] Wed Jan 26 12:57:49 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3659 invoked from network); 26 Jan 2005 12:57:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 26 Jan 2005 12:57:49 -0000 Received: (qmail 73164 invoked by uid 500); 26 Jan 2005 12:57:48 -0000 Delivered-To: [email protected] Received: (qmail 73132 invoked by uid 500); 26 Jan 2005 12:57:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 73118 invoked by uid 99); 26 Jan 2005 12:57:48 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from ms-smtp-04-smtplb.tampabay.rr.com (HELO ms-smtp-04.tampabay.rr.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 26 Jan 2005 04:57:47 -0800 Received: from zeus.ka0ttic.dyndns.org (161.129.204.104.cfl.rr.com [161.129.204.104]) by ms-smtp-04.tampabay.rr.com (8.12.10/8.12.7) with ESMTP id j0QCvgiM028392 for <[email protected]>; Wed, 26 Jan 2005 07:57:42 -0500 (EST) Received: from [161.129.204.104] (zeus [161.129.204.104]) by zeus.ka0ttic.dyndns.org (Postfix) with ESMTP id 02EB1333473 for <[email protected]>; Wed, 26 Jan 2005 07:57:41 -0500 (EST) Message-ID: <[email protected]> Date: Wed, 26 Jan 2005 07:57:41 -0500 From: Aaron Walker <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (X11/20050104) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Log4CXX User <[email protected]> Subject: Re: Apache Log4cxx References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 161.129.204.104 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Aaron Walker wrote: | | More than likely it's a log4cxx problem, and not a freebsd problem, as | 0.9.7 | won't even build on Linux without patching. Scratch that, it fails right away because of a missing alloca.h. BSD defines alloca() in stdlib.h. - -- If you think last Tuesday was a drag, wait till you see what happens tomorrow! Aaron Walker <[email protected]> [ Gentoo/BSD | cron | forensics | shell-tools | commonbox | netmon ] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFB95PFC3poscuANHARAvBlAJ47u4iwKMoSTQS0GePcNq9zqFNbsACeNEKu uK832Ix7d7eTwvb8Bh83adg= =mquq -----END PGP SIGNATURE----- From [email protected] Wed Jan 26 17:41:25 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42526 invoked from network); 26 Jan 2005 17:41:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 26 Jan 2005 17:41:23 -0000 Received: (qmail 65444 invoked by uid 500); 26 Jan 2005 17:41:09 -0000 Delivered-To: [email protected] Received: (qmail 65302 invoked by uid 500); 26 Jan 2005 17:41:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 65230 invoked by uid 99); 26 Jan 2005 17:41:08 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from ms-smtp-02-smtplb.tampabay.rr.com (HELO ms-smtp-02.tampabay.rr.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 26 Jan 2005 09:41:08 -0800 Received: from zeus.ka0ttic.dyndns.org (161.129.204.104.cfl.rr.com [161.129.204.104]) by ms-smtp-02.tampabay.rr.com (8.12.10/8.12.7) with ESMTP id j0QHf3Nr019733 for <[email protected]>; Wed, 26 Jan 2005 12:41:03 -0500 (EST) Received: from [161.129.204.104] (zeus [161.129.204.104]) by zeus.ka0ttic.dyndns.org (Postfix) with ESMTP id C35FF452E3 for <[email protected]>; Wed, 26 Jan 2005 12:41:02 -0500 (EST) Message-ID: <[email protected]> Date: Wed, 26 Jan 2005 12:41:02 -0500 From: Aaron Walker <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (X11/20050104) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Log4CXX User <[email protected]> Subject: Re: Problem compiling on FreeBSD 5.3 References: <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 161.129.204.104 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/mixed; boundary="------------060705050300010203020804" X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. --------------060705050300010203020804 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Keith Bottner wrote: | It's not just a header problem or I wouldn't even ask. | | The autogen.sh will not run on FreeBSD. And in fact shouldn't even have to run. The configure script should already be generated when the tar.gz was packaged so that all anyone has to do is run configure then make and so on... The autogen.sh shell script is there to generate this configure, which is backward. The whole point of using configure is to bypass difficulties in compiling the same source on different systems. Having to run autogen.sh as the first step pretty much goes back to the core issues of why configure was developed in the first place. | | Now onto why FreeBSD has an issue, which specifically has to do with the autoconf, automake, aclocal, etc. that exist in the autogen.sh. FreeBSD has multiple versions of these installed for various reasons so there is no single link which means that the autogen.sh script has to be edited manually but then which version should be used? | | The real solution is to get rid of the autogen.sh shell script and post a tar.gz with a configure that does what it is suppose to do, which is deal with platform differences. I some what belive that there was an error packaging the 0.9.7 version and that in fact they meant to generate a tar.gz with the configure already generated by the projects maintainers but that something was missed. | | Anyone have an opinion, flaming aside. | | | Keith Ok, sorry for all the mail folks. It actually didn't take that much to get it compiled on FreeBSD 5.3. The only source changes required was the alloca.h check; a small diff is attached. $ cd /usr/ports/devel/automake15 $ make install clean $ cd /usr/ports/textproc/libxml2 $ make install clean $ cd ~/log4cxx-0.9.7 $ libtoolize15 --force --copy $ aclocal15 $ autoheader259 $ autoconf259 $ automake15 -a $ patch -p1 < ../log4cxx-0.9.7-fbsd.diff $ ./configure ... $ make I didn't specify any fancy options so I cannot say whether --with-ODBC or - --with-SMTP will build correctly. Hope this helps you. - -- You can't have everything... where would you put it? - -- Steven Wright Aaron Walker <[email protected]> [ Gentoo/BSD | cron | forensics | shell-tools | commonbox | netmon ] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFB99YtC3poscuANHARAm3hAJ9plViO1EcggGfIAiWnOyQweLcilQCggFtM i87+EGdExTWU/5LfqqYhtmc= =66NF -----END PGP SIGNATURE----- --------------060705050300010203020804 Content-Type: text/x-patch; name="log4cxx-0.9.7-fbsd.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="log4cxx-0.9.7-fbsd.diff" diff -urN log4cxx-0.9.7.orig/include/log4cxx/helpers/tchar.h log4cxx-0.9.7/include/log4cxx/helpers/tchar.h --- log4cxx-0.9.7.orig/include/log4cxx/helpers/tchar.h Thu Jan 20 21:32:19 2005 +++ log4cxx-0.9.7/include/log4cxx/helpers/tchar.h Thu Jan 20 23:01:00 2005 @@ -84,7 +84,9 @@ #define USES_CONVERSION void * _dst = _alloca(1024); #endif #else - #include <alloca.h> + #ifdef HAVE_ALLOCA_H + #include <alloca.h> + #endif #define USES_CONVERSION void * _dst = alloca(1024); #endif --------------060705050300010203020804-- From [email protected] Wed Jan 26 18:53:36 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77433 invoked from network); 26 Jan 2005 18:53:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 26 Jan 2005 18:53:36 -0000 Received: (qmail 71468 invoked by uid 500); 26 Jan 2005 18:24:11 -0000 Delivered-To: [email protected] Received: (qmail 71264 invoked by uid 500); 26 Jan 2005 18:24:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 71105 invoked by uid 99); 26 Jan 2005 18:24:09 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 26 Jan 2005 10:24:09 -0800 Received: (qmail 62750 invoked from network); 26 Jan 2005 18:23:24 -0000 Received: from unknown (HELO ?IPvacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b:1?) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Jan 2005 18:23:24 -0000 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Curt Arnold <[email protected]> Subject: Re: Problem compiling on FreeBSD 5.3 Date: Wed, 26 Jan 2005 12:21:24 -0600 To: Log4CXX User <[email protected]> X-Mailer: Apple Mail (2.619) X-Spam-Rating: 161.129.204.104 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Jan 26, 2005, at 3:22 AM, Aaron Walker wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Firstly, I missed the first part of this thread, so I apologize if I'm > missing > the bigger picture. > > Curt Arnold wrote: > | The migration to Apache Portable Runtime should eliminate most if not > | all of the need for autogen.sh and configure in building log4cxx. > > I know zilch about APR (although I'll need to learn since I maintain > the Gentoo > ~ port ;p), but what does APR have to do with autogen.sh/configure? or > is the > "Runtime" in APR misleading? The use of Apache Portable Runtime substantially reduces the need for capability detection within log4cxx since APR presents a uniform runtime environment to log4cxx. At the present time, log4cxx doesn't even include the generated config files. The current autoconf/configure files are hold-overs from when log4cxx needed to know if pthreads or libxml2 etc were available. The only thing that I could see would add value is to know if mbsnrtowcs and wcsnrtombs are available. There presence is detected by the current script, but the preprocessor macros are not used at this time. The old scripts could likely be radically simplified at this point. > > | However, the current use of autogen.sh and configure have not been > | modified to reflect the migration. It is not an area that I'm > expert in > | and would appreciate any suggestions, patches or comments. > > I'll see if I can get get log4cxx setup on my BSD box, and what kind > of magic > (besides autogen.sh of course) is required to get it built. > > The Ant based build can be used to build log4cxx and do not require the use of autogen or configure. The steps would be: Install Ant Build APR, APR-iconv and APR-util Build cpptasks.jar from CVS (http://sf.net/projects/ant-contrib) export CLASSPATH=cpptasks.jar ant -Dapr.dir=/usr/local/apr-1 I'm likely to modify the Ant build so that it will automatically build APR if not detected. Running the unit-tests requires CppUnit and boost-regex. Getting boost-regex to build on Gump (which uses a custom version of jam to build) seems like way too much work, so I might migrate the unit tests to exec sed instead. From [email protected] Wed Jan 26 18:58:16 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1695 invoked from network); 26 Jan 2005 18:58:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 26 Jan 2005 18:58:16 -0000 Received: (qmail 85681 invoked by uid 500); 26 Jan 2005 18:30:17 -0000 Delivered-To: [email protected] Received: (qmail 85663 invoked by uid 500); 26 Jan 2005 18:30:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 85649 invoked by uid 99); 26 Jan 2005 18:30:17 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 26 Jan 2005 10:30:16 -0800 Received: (qmail 65374 invoked from network); 26 Jan 2005 18:29:37 -0000 Received: from unknown (HELO ?IPvacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b:1?) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Jan 2005 18:29:37 -0000 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Curt Arnold <[email protected]> Subject: Re: Apache Log4cxx Date: Wed, 26 Jan 2005 12:28:01 -0600 To: Log4CXX User <[email protected]> X-Mailer: Apple Mail (2.619) X-Spam-Rating: 161.129.204.104 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > Which brings me to another question, directed to Curt. Are you still > accepting > patches against 0.9.7 or are you not going to bother because of the > APR migration? > The CVS HEAD fixes so many problems in 0.9.7, the best use of our resources in my opinion is to move forward toward 0.9.8. Unfortunately, I've been occupied with a paid project for a few weeks and things have slowed down more than I would have hoped. From [email protected] Wed Jan 26 19:29:40 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22446 invoked from network); 26 Jan 2005 19:29:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 26 Jan 2005 19:29:40 -0000 Received: (qmail 82303 invoked by uid 500); 26 Jan 2005 19:29:37 -0000 Delivered-To: [email protected] Received: (qmail 82248 invoked by uid 500); 26 Jan 2005 19:29:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 82218 invoked by uid 99); 26 Jan 2005 19:29:36 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from pluto.phpwebhosting.com (HELO pluto.phpwebhosting.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 26 Jan 2005 11:29:36 -0800 Received: (qmail 8354 invoked from network); 26 Jan 2005 19:29:15 -0000 Received: from unknown (HELO Rand) (161.129.204.104) by pluto.phpwebhosting.com with SMTP; 26 Jan 2005 19:29:15 -0000 From: "Keith Bottner" <[email protected]> To: "'Log4CXX User'" <[email protected]> Subject: RE: Apache Log4cxx Date: Wed, 26 Jan 2005 13:28:43 -0600 Organization: Barking Lizards Technologies MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcUD1RN/Kk1hu0iZRQiajTrQTq04EgACCIgQ X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N What is left to be done? Keith -----Original Message----- From: Curt Arnold [mailto:[email protected]] Sent: Wednesday, January 26, 2005 12:28 PM To: Log4CXX User Subject: Re: Apache Log4cxx > Which brings me to another question, directed to Curt. Are you still > accepting patches against 0.9.7 or are you not going to bother because > of the APR migration? > The CVS HEAD fixes so many problems in 0.9.7, the best use of our resources in my opinion is to move forward toward 0.9.8. Unfortunately, I've been occupied with a paid project for a few weeks and things have slowed down more than I would have hoped. -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.3 - Release Date: 1/24/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.3 - Release Date: 1/24/2005 From [email protected] Wed Jan 26 19:30:25 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23038 invoked from network); 26 Jan 2005 19:30:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 26 Jan 2005 19:30:25 -0000 Received: (qmail 85372 invoked by uid 500); 26 Jan 2005 19:30:14 -0000 Delivered-To: [email protected] Received: (qmail 85321 invoked by uid 500); 26 Jan 2005 19:30:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 85293 invoked by uid 99); 26 Jan 2005 19:30:13 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from pluto.phpwebhosting.com (HELO pluto.phpwebhosting.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 26 Jan 2005 11:30:13 -0800 Received: (qmail 8471 invoked from network); 26 Jan 2005 19:29:52 -0000 Received: from unknown (HELO Rand) (161.129.204.104) by pluto.phpwebhosting.com with SMTP; 26 Jan 2005 19:29:52 -0000 From: "Keith Bottner" <[email protected]> To: "'Log4CXX User'" <[email protected]> Subject: RE: Problem compiling on FreeBSD 5.3 Date: Wed, 26 Jan 2005 13:28:43 -0600 Organization: Barking Lizards Technologies MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcUDzjnuMjaCn2TFREyKn/xYY99+iQADuLLw X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Aaron, Thanks for taking the time to make the patch. I will apply it this evening and let you know if I run into any other problems. Keith -----Original Message----- From: Aaron Walker [mailto:[email protected]] Sent: Wednesday, January 26, 2005 11:41 AM To: Log4CXX User Subject: Re: Problem compiling on FreeBSD 5.3 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Keith Bottner wrote: | It's not just a header problem or I wouldn't even ask. | | The autogen.sh will not run on FreeBSD. And in fact shouldn't even | have to run. The configure script should already be generated when the tar.gz was packaged so that all anyone has to do is run configure then make and so on... The autogen.sh shell script is there to generate this configure, which is backward. The whole point of using configure is to bypass difficulties in compiling the same source on different systems. Having to run autogen.sh as the first step pretty much goes back to the core issues of why configure was developed in the first place. | | Now onto why FreeBSD has an issue, which specifically has to do with | the autoconf, automake, aclocal, etc. that exist in the autogen.sh. FreeBSD has multiple versions of these installed for various reasons so there is no single link which means that the autogen.sh script has to be edited manually but then which version should be used? | | The real solution is to get rid of the autogen.sh shell script and | post a tar.gz with a configure that does what it is suppose to do, which is deal with platform differences. I some what belive that there was an error packaging the 0.9.7 version and that in fact they meant to generate a tar.gz with the configure already generated by the projects maintainers but that something was missed. | | Anyone have an opinion, flaming aside. | | | Keith Ok, sorry for all the mail folks. It actually didn't take that much to get it compiled on FreeBSD 5.3. The only source changes required was the alloca.h check; a small diff is attached. $ cd /usr/ports/devel/automake15 $ make install clean $ cd /usr/ports/textproc/libxml2 $ make install clean $ cd ~/log4cxx-0.9.7 $ libtoolize15 --force --copy $ aclocal15 $ autoheader259 $ autoconf259 $ automake15 -a $ patch -p1 < ../log4cxx-0.9.7-fbsd.diff $ ./configure ... $ make I didn't specify any fancy options so I cannot say whether --with-ODBC or - --with-SMTP will build correctly. Hope this helps you. - -- You can't have everything... where would you put it? - -- Steven Wright Aaron Walker <[email protected]> [ Gentoo/BSD | cron | forensics | shell-tools | commonbox | netmon ] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFB99YtC3poscuANHARAm3hAJ9plViO1EcggGfIAiWnOyQweLcilQCggFtM i87+EGdExTWU/5LfqqYhtmc= =66NF -----END PGP SIGNATURE----- -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.3 - Release Date: 1/24/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.3 - Release Date: 1/24/2005 From [email protected] Wed Jan 26 20:36:02 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71887 invoked from network); 26 Jan 2005 20:35:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 26 Jan 2005 20:35:46 -0000 Received: (qmail 45087 invoked by uid 500); 26 Jan 2005 20:35:27 -0000 Delivered-To: [email protected] Received: (qmail 45068 invoked by uid 500); 26 Jan 2005 20:35:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 45048 invoked by uid 99); 26 Jan 2005 20:35:26 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 26 Jan 2005 12:35:26 -0800 Received: (qmail 71408 invoked from network); 26 Jan 2005 20:34:32 -0000 Received: from unknown (HELO ?IPvacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b:1?) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Jan 2005 20:34:31 -0000 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Curt Arnold <[email protected]> Subject: Re: Apache Log4cxx Date: Wed, 26 Jan 2005 14:33:56 -0600 To: Log4CXX User <[email protected]> X-Mailer: Apple Mail (2.619) X-Spam-Rating: 161.129.204.104 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Jan 26, 2005, at 1:28 PM, Keith Bottner wrote: > What is left to be done? > > Keith > The bug list is available at http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10550. I need to work through it again, but the following are probably blockers on an 0.9.8 release http://issues.apache.org/jira/browse/LOGCXX-49 http://issues.apache.org/jira/browse/LOGCXX-52 http://issues.apache.org/jira/browse/LOGCXX-22 http://issues.apache.org/jira/browse/LOGCXX-43 http://issues.apache.org/jira/browse/LOGCXX-37 Also, I think the SocketAppenders are currently broken. There is a long-running issue with the interoperability with log4j's implementations that would be lovely to fix, but might be beyond the scope of what can be accomplished for 0.9.8. http://issues.apache.org/jira/browse/LOGCXX-7 Plus other build and packaging issues. From [email protected] Fri Jan 28 15:15:16 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60404 invoked from network); 28 Jan 2005 15:15:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 28 Jan 2005 15:15:15 -0000 Received: (qmail 6477 invoked by uid 500); 28 Jan 2005 15:15:14 -0000 Delivered-To: [email protected] Received: (qmail 6457 invoked by uid 500); 28 Jan 2005 15:15:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 6444 invoked by uid 99); 28 Jan 2005 15:15:14 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from smail4.alcatel.fr (HELO smail4.alcatel.fr) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 28 Jan 2005 07:15:10 -0800 Received: from bsf.alcatel.fr (mail205.dit.sxb.bsf.alcatel.fr [161.129.204.104]) by smail4.alcatel.fr (ALCANET/NETFR) with ESMTP id j0SFF10u023567 for <[email protected]>; Fri, 28 Jan 2005 16:15:03 +0100 Received: from bsbrest.bst.bsf.alcatel.fr (bsbrest [161.129.204.104]) by bsf.alcatel.fr (8.8.8p2+Sun/8.9.3) with ESMTP id QAA05287 for <[email protected]>; Fri, 28 Jan 2005 16:14:57 +0100 (MET) Received: from alcatel.fr (frbred0059054 [161.129.204.104]) by bsbrest.bst.bsf.alcatel.fr (8.11.6+Sun/8.9.1) with ESMTP id j0SFEuI07927 for <[email protected]>; Fri, 28 Jan 2005 16:14:56 +0100 (MET) Message-ID: <[email protected]> Date: Fri, 28 Jan 2005 16:14:56 +0100 From: maryline royer <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Log4CXX User <[email protected]> Subject: Re: How compile apr on windows? References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Alcanet-MTA-scanned-and-authorized: yes X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Björn Carlsson wrote: > I believe the only problem for the apr dsw and dsp files is their unix > file endings, so open them in some text editor and change from unix to > dos file endings, to make MSVC accept them. > Or try my project files at: http://versionsupport.com/logging/apr.zip > But to compile the latest version of log4cxx from CVS I also had to > add and remove some files in the DLL-project, but I built them in > VS.NET 2003. So my dsp files has been converted to vcproj files and > the changes are only in them. > But if you are intrested, the files I have changed: > http://versionsupport.com/logging/log4cxx.zip > > /Björn Carlsson > VersionSupport.com <http://versionsupport.com> > > LECHNER Martin wrote: > >>I tried to compile the current version of log4cxx on windows and had troubles >>with apr. >>1.) The version 1.0.1 sources dont had a valid MSVC6 workspace - so i checked >>out the lates binaries >>2.) Now I am stuck with LDAP support. (v2.0 not supported... >> >>I want to disable ldap support if that is possible (is it needed for >>log4cxx?) >>But I couldnt find the settings yet. >> >>Any clue where in the sourc I can disable this? >>And by the way: any further advice what can occure till i got the new version >>compiled? >> >>Thanks >>ML >> >> >> >> > Like Martin I tried to compile APR with MSVC6. I used for this, Björn Carlsson apr.zip. The static library compilation is a success, but I still have problem with the APR dll compilation (problem with APR_DECLARE_EXPORT I think ...). Does anybody succeed ? Thanks MR From [email protected] Sun Jan 30 16:51:06 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11254 invoked from network); 30 Jan 2005 16:51:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 30 Jan 2005 16:51:06 -0000 Received: (qmail 37730 invoked by uid 500); 30 Jan 2005 16:51:05 -0000 Delivered-To: [email protected] Received: (qmail 37697 invoked by uid 500); 30 Jan 2005 16:51:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 37683 invoked by uid 99); 30 Jan 2005 16:51:04 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 30 Jan 2005 08:51:04 -0800 Received: by rproxy.gmail.com with SMTP id j1so284713rnf for <[email protected]>; Sun, 30 Jan 2005 08:51:02 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=iGTuDscFF7CsbA6EszO4auqeItNpAQjMUjH7zAiSh9egyUgptNEyzINuVbWcfoZKGrRV4e1CGc2UH7DkUkeJP/uW+Umd6fkHQ5+wregDuVRCNiwk3izAWViSpc5TvCI1HrYSnTya0xUUAJAb7j3HJcCccITa8F6NIwlwustKJxE= Received: by 161.129.204.104 with SMTP id x44mr149642rnd; Sun, 30 Jan 2005 08:51:02 -0800 (PST) Received: by 161.129.204.104 with HTTP; Sun, 30 Jan 2005 08:51:02 -0800 (PST) Message-ID: <[email protected]> Date: Sun, 30 Jan 2005 11:51:02 -0500 From: Daniel Einspanjer <[email protected]> Reply-To: Daniel Einspanjer <[email protected]> To: [email protected] Subject: Re: Logging in templates? In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Does no one else have a problem with needing to log messages from templated classes? If anyone else has solved this problem, I would very much like to hear your solution. Thanks, Daniel On Thu, 20 Jan 2005 15:51:41 -0500, Daniel Einspanjer <[email protected]> wrote: > Could anyone share their methods for logging within a templated class? > > Specifically, the problem I don't have a good solution for is the > static instantiation of a logger object at all, let alone one that has > a name giving the particular class for which the template is being > used. From [email protected] Sun Jan 30 20:05:46 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48212 invoked from network); 30 Jan 2005 20:05:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 30 Jan 2005 20:05:46 -0000 Received: (qmail 20451 invoked by uid 500); 30 Jan 2005 20:05:45 -0000 Delivered-To: [email protected] Received: (qmail 20432 invoked by uid 500); 30 Jan 2005 20:05:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 20418 invoked by uid 99); 30 Jan 2005 20:05:44 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sun, 30 Jan 2005 12:05:44 -0800 Received: (qmail 48188 invoked from network); 30 Jan 2005 20:05:43 -0000 Received: from localhost.hyperreal.org (HELO ?IPvacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b:1?) (161.129.204.104) by localhost.hyperreal.org with SMTP; 30 Jan 2005 20:05:43 -0000 Mime-Version: 1.0 (Apple Message framework v619.2) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Curt Arnold <[email protected]> Subject: Re: Logging in templates? Date: Sun, 30 Jan 2005 14:05:40 -0600 To: Log4CXX User <[email protected]> X-Mailer: Apple Mail (2.619.2) X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I don't think the problem is unsurmountable, but I haven't tried it myself. I'm just freehanding the following code, but maybe it will help you get started and you can post back to the list what works for you. I think you'd so something like: template <class T> class Example { Example() {} void doSomething() { LOG4CXX_DEBUG(getLogger(), "Hello, World"); } private: log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bLoggerRef& getLogger() { static log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bLoggerRef logger(log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bLoggeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLogger( LOG4CXX_LOCATION.getClassName())); return logger; } }; The code fragment depends on the LocationInfo class introduced after 0.9.7 to get the class name. The class name may be returned as "" for early Microsoft compilers ( _MSC_VER < 1300). Please feel free to enhance include/log4cxx/spi/location/locationinfo.h if your compiler can return class location but the macros don't handle it. On Jan 30, 2005, at 10:51 AM, Daniel Einspanjer wrote: > Does no one else have a problem with needing to log messages from > templated classes? If anyone else has solved this problem, I would > very much like to hear your solution. > > Thanks, > Daniel > > > On Thu, 20 Jan 2005 15:51:41 -0500, Daniel Einspanjer > <[email protected]> wrote: >> Could anyone share their methods for logging within a templated class? >> >> Specifically, the problem I don't have a good solution for is the >> static instantiation of a logger object at all, let alone one that has >> a name giving the particular class for which the template is being >> used. > From [email protected] Mon Jan 31 10:12:15 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53015 invoked from network); 31 Jan 2005 10:12:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 31 Jan 2005 10:12:15 -0000 Received: (qmail 32169 invoked by uid 500); 31 Jan 2005 10:12:14 -0000 Delivered-To: [email protected] Received: (qmail 32141 invoked by uid 500); 31 Jan 2005 10:12:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 32128 invoked by uid 99); 31 Jan 2005 10:12:13 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from smtp.persistent.co.in (HELO smtp.pspl.co.in) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 31 Jan 2005 02:12:11 -0800 Received: from ps0876 (dhcp119.intranet.pspl.co.in [161.129.204.104]) (authenticated bits=0) by smtp.pspl.co.in (8.12.9/8.12.9) with ESMTP id j0VAK89l013227 for <[email protected]>; Mon, 31 Jan 2005 15:50:10 +0530 From: "Ambarish Mitra" <[email protected]> To: <[email protected]> Subject: Apache Log4cxx build fails with gcc 2.95 under Solaris 8 Date: Mon, 31 Jan 2005 15:44:00 +0530 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_01B0_01C507AB.AECA9040" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-MS-TNEF-Correlator: <[email protected]> Importance: Normal X-Brightmail-Tracker: AAAAAQAAAAQ= X-White-List-Member: TRUE X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_01B0_01C507AB.AECA9040 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit bash-2.03$ make Making all in docs Making all in src source='appenderattachableimpl.cpp' object='appenderattachableimpl.lo' libtool=yes \ DEPDIR=.deps depmode=gcc /bin/bash ../depcomp \ /bin/bash ../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../include/log4cxx -I../include -D_REENTRANT -g -O2 -c -o appenderattachableimpl.lo appenderattachableimpl.cpp g++ -DHAVE_CONFIG_H -I. -I. -I../include/log4cxx -I../include -D_REENTRANT -g -O2 -c appenderattachableimpl.cpp -Wp,-MD,.deps/appenderattachableimpl.TPlo -fPIC -DPIC -o .libs/appenderattachableimpl.o In file included from appenderattachableimpl.cpp:17: ../include/log4cxx/helpers/tchar.h:29: streambuf: No such file or directory *** Error code 1 Since it says error in streambuf, I have commented out that line from tchar.h file (because sstream was already included in the same file just 3 lines earlier), and now I get some more errors: bash-2.03$ make Making all in docs Making all in src source='appenderattachableimpl.cpp' object='appenderattachableimpl.lo' libtool=yes \ DEPDIR=.deps depmode=gcc /bin/bash ../depcomp \ /bin/bash ../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../include/log4cxx -I../include -D_REENTRANT -g -O2 -c -o appenderattachableimpl.lo appenderattachableimpl.cpp g++ -DHAVE_CONFIG_H -I. -I. -I../include/log4cxx -I../include -D_REENTRANT -g -O2 -c appenderattachableimpl.cpp -Wp,-MD,.deps/appenderattachableimpl.TPlo -fPIC -DPIC -o .libs/appenderattachableimpl.o In file included from appenderattachableimpl.cpp:17: ../include/log4cxx/helpers/tchar.h:45: parse error before `&' ../include/log4cxx/helpers/tchar.h:54: parse error before `&' ../include/log4cxx/helpers/tchar.h:55: `Convertacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bint64ToString(...)' has already been declared in `Convert' ../include/log4cxx/helpers/tchar.h: In function `static void Convertacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bint64ToString(...)': ../include/log4cxx/helpers/tchar.h:50: `dst' undeclared (first use this function) ../include/log4cxx/helpers/tchar.h:50: (Each undeclared identifier is reported only once ../include/log4cxx/helpers/tchar.h:50: for each function it appears in.) ../include/log4cxx/helpers/tchar.h:50: `maxlen' undeclared (first use this function) ../include/log4cxx/helpers/tchar.h:50: `ll' undeclared (first use this function) ../include/log4cxx/helpers/tchar.h: At top level: ../include/log4cxx/helpers/tchar.h:67: syntax error before `&' ../include/log4cxx/helpers/tchar.h:68: `basic_ostream' was not declared in this scope ../include/log4cxx/helpers/tchar.h:68: `_CharT' was not declared in this scope ../include/log4cxx/helpers/tchar.h:68: `_Traits' was not declared in this scope ../include/log4cxx/helpers/tchar.h:68: `os' was not declared in this scope ../include/log4cxx/helpers/tchar.h:68: parse error before `&' ../include/log4cxx/helpers/tchar.h:69: ANSI C++ forbids declaration `operator <<' with no type ../include/log4cxx/helpers/tchar.h:69: `operator <<(...)' must have an argument of class or enumerated type ../include/log4cxx/helpers/tchar.h:69: `operator <<(...)' must take exactly two arguments etc ... etc ... *** Error code 1 I am using gcc 2.95.3. What can be the error and how to resolve these? ------=_NextPart_000_01B0_01C507AB.AECA9040 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="winmail.dat" eJ8+IgAKAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEGgAMADgAAANUHAQAfAA8AKwAAAAEANwEB A5AGAFQKAAAlAAAACwACAAEAAAALACMAAAAAAAMAJgAAAAAACwApAAAAAAADADYAAAAAAB4AcAAB AAAAOQAAAEFwYWNoZSBMb2c0Y3h4IGJ1aWxkIGZhaWxzIHdpdGggZ2NjIDIuOTUgdW5kZXIgU29s YXJpcyA4AAAAAAIBcQABAAAAFgAAAAHFB32Qbldcc2TQg0KeqyGiDFJVSIYAAAIBHQwBAAAAJQAA AFNNVFA6QU1CQVJJU0hfTUlUUkFAUEVSU0lTVEVOVC5DTy5JTgAAAAALAAEOAAAAAEAABg4Anh1x fQfFAQIBCg4BAAAAGAAAAAAAAABQ4hdEJF6LR5QMi+8dbHUywoAAAAsAHw4BAAAAAgEJEAEAAACl BQAAoQUAAHsOAABMWkZ14PBsawMACgByY3BnMTI1FjIA+Atgbg4QMDMz/wH3AqQEZQcTAoMAUARV AgBIcHJxEYFjaArAc/BldDAgCFUHsgKDDlDfA9QSExQhEpcQ6DMUNxUuSn0KgXYIkHdrC4Bk+jQM YGMAUAsDC7YKsQqEAwqBAEAgYmFzaC0kMi4PUCQgAMBrZc0Z1E0bkAuAZyAHQAMg4QuAIGRvYxSQ G98DoCxzcgDgGeNzCGFjZWA9J2FwcAnwBIFhbwJAANASoAJgZQdwC1AugQ3wcCcgb2JqBZAedB9/ IIYJACEwbGlipHRvBvA9eQeRXCRAARnjREVQRElSPTouAQBwBCAlQQRiPWfgY2MgL2ILgCZQGuHw IC4uLyVBBaAgwCQ34yZbI4UgLS0lwydSAxAGZSlhAZBnPUNYWBAgZysrKWBESEEAVkVfQ09ORkmQ R19IIClgSS4sRjsnAAuAYwpAAQAo4G9nMDRjeHgsyywxRF+AUkVFTlRSQS9gxywwKWAccC1PMilg JjD8LW8cgCHvIvUwvyCYGdT/Kv8sAixfLW8udi8LL/gybwMgpylgV3AsLU1EmiwlMy85zyCkVFAy MeEpYGZQSUM0oT5DMkCvIzAjkDw/IIZvGdRJA6D2ZioiNoVkQXADYTm/IJjQOjE3OhnVYibiNo0w L2hlbELQEsAvdIESki5oOjI5Oh5wSnQJcGEG0HVmR3BOPTJAcxjQJtBBgwWxZGm3CXAhkAWweUSW EwAqSnD4IEVyA2AFwAWgLsEY8/cacg5QGeRpBgA2gUGxBUD4c2F5BCAEkErSHlJHptAsIEkgEqB2 KkAnUd8HgAIwQjEIYAVAdBKgBUA9I4BuKkBCY0bVQXQoYjkFkGF1EtAecEeUIHfnGuAcgUexZHlB yBzRUABvUjFH0FCBKiJqUhAFQDPfUENNUQrAI4AEkClOkABw+UJAbm8H4E6wNGAS4B5w3wNwKkAE YAlwTWRzRIZMFf8C0Rq/HU8c3x3vHv9DLyEf/17vIz8kTyVfJm8nfyiPKZ//Kq8rvzYvNz8u7y// YR8yH/8zLzQ/NU9r/zdvOH85jzqf/zuveS89zz7fP+9A/0IPft/HRCt1X0Y/OjQ1R3AKsR9SIU10 UdACEFgBYCYn54OfhK9G5TU0hk+HX4hva4l9hjFgCFBuTvAAIDoCOguAdDY0VG9Ty0egW1EoZfAu KWAwEqD/UvhR0AnwZIF1oArAU/SOxl+L74z/RtZOoIBhdXWQdD5pAiCLsEeQgjAN4CB2/G9pgUCO 34/pg4+UD4nXejCOoWRHkGAwleCRtyh/gIASwAVAUhJQAAQAlccp55kPmh+bKShFX0GcKpcA309h BpATYp2xCXBwCRFPkvxubFNwAiBeUJ5/n4+bKf+LcVXxSJKV5kzxgbISsVvBX5BgpF+lb5sqAMB4 X5Bu/5wfnS+eP6oPmu5boKx/rY/Xrp+vr5TqQU/hb2aAX5DdTvBsmP+1P0bWNkRwXXB+eQIwrCCK 77evuL+5xjjnjqFZ0Q3gX29HlGAwUtL/VuAFQJG6s1ME8LcQpE+87/e9+2qgEqFUv5/Ar8G/ws/t w9lUgiBM8HPE38Xvxv//yA++KL8gyi/LP8xPzV++J7+Kn7uf0e+5e0dhbpBTTrD+Q3OB1NFlYJvg kaWWkZYy59DxgiEFsTw8zyFM8GXQ+1bgT/B50Q/WT9db2fqQNZ5tVUJO0wORCsBndU9SvWBAZksA C2AEEacybuCR/4IhgTHbX9xv3X/ej9+TAZArWqBNYHgA0HSj4XR3/3FB4HVcNRnUEuBlMJBBTWD/ 6WQZ2kp/GkUZy06wUqFSEIdbUmUSWiA5NS4z6jv+V1ASUfADoFHQVENNdFai3mhW8WKwoyFeEGxO 8VRR/RLQPxnYGUEWUBnqGeMX8QIA9KAAAAALAAGACCAGAAAAAADAAAAAAAAARgAAAAADhQAAAAAA AAMAA4AIIAYAAAAAAMAAAAAAAABGAAAAABCFAAAAAAAAAwAHgAggBgAAAAAAwAAAAAAAAEYAAAAA UoUAACdqAQAeAAmACCAGAAAAAADAAAAAAAAARgAAAABUhQAAAQAAAAQAAAA5LjAAHgAKgAggBgAA AAAAwAAAAAAAAEYAAAAANoUAAAEAAAABAAAAAAAAAB4AC4AIIAYAAAAAAMAAAAAAAABGAAAAADeF AAABAAAAAQAAAAAAAAAeAAyACCAGAAAAAADAAAAAAAAARgAAAAA4hQAAAQAAAAEAAAAAAAAACwAN gAggBgAAAAAAwAAAAAAAAEYAAAAAgoUAAAEAAAALADqACCAGAAAAAADAAAAAAAAARgAAAAAOhQAA AAAAAAMAPIAIIAYAAAAAAMAAAAAAAABGAAAAABGFAAAAAAAAAwA9gAggBgAAAAAAwAAAAAAAAEYA AAAAGIUAAAAAAAALAFKACCAGAAAAAADAAAAAAAAARgAAAAAGhQAAAAAAAAMAU4AIIAYAAAAAAMAA AAAAAABGAAAAAAGFAAAAAAAAAgH4DwEAAAAQAAAAUOIXRCRei0eUDIvvHWx1MgIB+g8BAAAAEAAA AFDiF0QkXotHlAyL7x1sdTICAfsPAQAAAKAAAAAAAAAAOKG7EAXlEBqhuwgAKypWwgAAUFNUUFJY LkRMTAAAAAAAAAAATklUQfm/uAEAqgA32W4AAABDOlxEb2N1bWVudHMgYW5kIFNldHRpbmdzXGFt YmFyaXNoX21pdHJhXExvY2FsIFNldHRpbmdzXEFwcGxpY2F0aW9uIERhdGFcTWljcm9zb2Z0XE91 dGxvb2tcb3V0bG9vay5wc3QAAwD+DwUAAAADAA00/TcAAAIBfwABAAAAPwAAADxJTEVISkVBTU5M QU5BS0NJRkJHTUtFRE5DRUFBLmFtYmFyaXNoX21pdHJhQHBlcnNpc3RlbnQuY28uaW4+AAADAAYQ mNb54AMABxBUCgAAAwAQEAAAAAADABEQAAAAAB4ACBABAAAAZQAAAEJBU0gtMjAzJE1BS0VNQUtJ TkdBTExJTkRPQ1NNQUtJTkdBTExJTlNSQ1NPVVJDRT1BUFBFTkRFUkFUVEFDSEFCTEVJTVBMQ1BQ T0JKRUNUPUFQUEVOREVSQVRUQUNIQUJMRUkAAAAAvgw= ------=_NextPart_000_01B0_01C507AB.AECA9040-- From [email protected] Mon Jan 31 16:02:21 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8944 invoked from network); 31 Jan 2005 16:02:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 31 Jan 2005 16:02:19 -0000 Received: (qmail 55384 invoked by uid 500); 31 Jan 2005 16:02:17 -0000 Delivered-To: [email protected] Received: (qmail 55356 invoked by uid 500); 31 Jan 2005 16:02:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 55338 invoked by uid 99); 31 Jan 2005 16:02:15 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 31 Jan 2005 08:02:14 -0800 Received: (qmail 8792 invoked from network); 31 Jan 2005 16:02:12 -0000 Received: from localhost.hyperreal.org (HELO ?IPvacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b:1?) (161.129.204.104) by localhost.hyperreal.org with SMTP; 31 Jan 2005 16:02:12 -0000 Mime-Version: 1.0 (Apple Message framework v619.2) In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Curt Arnold <[email protected]> Subject: Re: Apache Log4cxx build fails with gcc 2.95 under Solaris 8 Date: Mon, 31 Jan 2005 10:02:09 -0600 To: Log4CXX User <[email protected]> X-Mailer: Apple Mail (2.619.2) X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I vaguely recall something like this issue, but can't come up with in the archives. Much has changed since 0.9.7, like tchar.h is no longer used (it just contains a #error saying it shouldn't be included). The CVS HEAD is usable but not quite ready and we are trying to polish it for a release. I haven't tried building CVS HEAD with Solaris, but I think you would be better off starting anything new with it than starting with 0.9.7. From [email protected] Mon Jan 31 16:18:39 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19754 invoked from network); 31 Jan 2005 16:18:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 31 Jan 2005 16:18:39 -0000 Received: (qmail 89872 invoked by uid 500); 31 Jan 2005 16:18:38 -0000 Delivered-To: [email protected] Received: (qmail 89855 invoked by uid 500); 31 Jan 2005 16:18:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 89842 invoked by uid 99); 31 Jan 2005 16:18:37 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from web53907.mail.yahoo.com (HELO web53907.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 31 Jan 2005 08:18:36 -0800 Received: (qmail 95057 invoked by uid 60001); 31 Jan 2005 16:18:33 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=GEA08lRn5Pv6LnG5zkJMoMYOtyUCInrYoiFEX9gjEiHS/OMI5sSSh2Rr95z0tfL5RISegIdCySzKAQuL3IXUVyN5pQVLy92IdAy3vGvJH7tzJqG/XPNDeJ7ShG4JyWHs9ZjW2dZYbaNqYnFzORz7i+20HunLZfPH2D8yzQOq6Gs= ; Message-ID: <[email protected]> Received: from [161.129.204.104] by web53907.mail.yahoo.com via HTTP; Mon, 31 Jan 2005 08:18:33 PST Date: Mon, 31 Jan 2005 08:18:33 -0800 (PST) From: Chris Williams <[email protected]> Subject: Re: Apache Log4cxx build fails with gcc 2.95 under Solaris 8 To: Log4CXX User <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N What is the correct way to build the CVS HEAD? I am also trying to build on Solaris but haven't been able to tell if I should be using the build.xml or if still try the automake/configure method. Thanks Chris --- Curt Arnold <[email protected]> wrote: > I vaguely recall something like this issue, but > can't come up with in > the archives. Much has changed since 0.9.7, like > tchar.h is no longer > used (it just contains a #error saying it shouldn't > be included). The > CVS HEAD is usable but not quite ready and we are > trying to polish it > for a release. I haven't tried building CVS HEAD > with Solaris, but I > think you would be better off starting anything new > with it than > starting with 0.9.7. > > From [email protected] Mon Jan 31 16:48:48 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36200 invoked from network); 31 Jan 2005 16:48:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 31 Jan 2005 16:48:47 -0000 Received: (qmail 42224 invoked by uid 500); 31 Jan 2005 16:48:36 -0000 Delivered-To: [email protected] Received: (qmail 42197 invoked by uid 500); 31 Jan 2005 16:48:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 42179 invoked by uid 99); 31 Jan 2005 16:48:36 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 31 Jan 2005 08:48:36 -0800 Received: (qmail 36118 invoked from network); 31 Jan 2005 16:48:34 -0000 Received: from localhost.hyperreal.org (HELO ?IPvacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b:1?) (161.129.204.104) by localhost.hyperreal.org with SMTP; 31 Jan 2005 16:48:34 -0000 Mime-Version: 1.0 (Apple Message framework v619.2) In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Curt Arnold <[email protected]> Subject: Re: Apache Log4cxx build fails with gcc 2.95 under Solaris 8 Date: Mon, 31 Jan 2005 10:48:32 -0600 To: Log4CXX User <[email protected]> X-Mailer: Apple Mail (2.619.2) X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Eventually, they should be equivalent but right now the build.xml is more up to date. The automake/configure stuff needs work to eliminate a lot of stuff that is no longer necessary and needs to be modified so it will work on FreeBSD. On Jan 31, 2005, at 10:18 AM, Chris Williams wrote: > What is the correct way to build the CVS HEAD? I am > also trying to build on Solaris but haven't been able > to tell if I should be using the build.xml or if still > try the automake/configure method. From [email protected] Tue Feb 01 02:43:35 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 408 invoked from network); 1 Feb 2005 02:43:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 1 Feb 2005 02:43:35 -0000 Received: (qmail 92334 invoked by uid 500); 1 Feb 2005 02:43:35 -0000 Delivered-To: [email protected] Received: (qmail 92186 invoked by uid 500); 1 Feb 2005 02:43:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 92156 invoked by uid 99); 1 Feb 2005 02:43:34 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from smtp017.mail.yahoo.com (HELO smtp017.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 31 Jan 2005 18:43:33 -0800 Received: from unknown (HELO Kanga) ([email protected] with login) by smtp017.mail.yahoo.com with SMTP; 1 Feb 2005 02:43:30 -0000 From: "Chris Williams" <[email protected]> To: "'Log4CXX User'" <[email protected]> Subject: Build problem using ant off of CVS HEAD Date: Mon, 31 Jan 2005 21:43:38 -0500 Message-ID: <000201c50807$d633cf00$6601a8c0@Kanga> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Importance: Normal X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I am trying to use ant on Solaris 9 and getting the following error. $ ant Buildfile: build.xml os-detect: win-init: unix-init: init: config-check: unix-prep: check-config-msvc: prep-config-msvc: win-prep: prep: build-log4cxx: BUILD FAILED /disk11/projects/logging-log4cxx/build.xml:220: The <cc> type doesn't support the nested "project" element. Total time: 6 seconds Any idea why this error could be occurring? I am using ant 1.6.2 and have the ant-contrib and cctask jars in the ant lib directory. Thanks Chris From [email protected] Tue Feb 01 03:34:21 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16817 invoked from network); 1 Feb 2005 03:34:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 1 Feb 2005 03:34:21 -0000 Received: (qmail 35372 invoked by uid 500); 1 Feb 2005 03:34:21 -0000 Delivered-To: [email protected] Received: (qmail 35222 invoked by uid 500); 1 Feb 2005 03:34:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 35209 invoked by uid 99); 1 Feb 2005 03:34:20 -0000 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_POST X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from ms-smtp-05.texas.rr.com (HELO ms-smtp-05-eri0.texas.rr.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 31 Jan 2005 19:34:19 -0800 Received: from [161.129.204.104] (cs242764-74.houston.rr.com [161.129.204.104]) by ms-smtp-05-eri0.texas.rr.com (8.12.10/8.12.7) with ESMTP id j113YEPa013231 for <[email protected]>; Mon, 31 Jan 2005 21:34:14 -0600 (CST) Mime-Version: 1.0 (Apple Message framework v619.2) In-Reply-To: <000201c50807$d633cf00$6601a8c0@Kanga> References: <000201c50807$d633cf00$6601a8c0@Kanga> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Curt Arnold <[email protected]> Subject: Re: Build problem using ant off of CVS HEAD Date: Mon, 31 Jan 2005 21:34:14 -0600 To: Log4CXX User <[email protected]> X-Mailer: Apple Mail (2.619.2) X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N The Ant build uses the CVS HEAD version of cpptasks. I'm also an admin there so I'll release a new cpptasks before log4cxx 0.9.8 is released. On Jan 31, 2005, at 8:43 PM, Chris Williams wrote: > I am trying to use ant on Solaris 9 and getting the following error. > > $ ant > Buildfile: build.xml > os-detect: > win-init: > unix-init: > init: > config-check: > unix-prep: > check-config-msvc: > prep-config-msvc: > win-prep: > prep: > build-log4cxx: > > BUILD FAILED > /disk11/projects/logging-log4cxx/build.xml:220: The <cc> type doesn't > support the nested "project" element. > > Total time: 6 seconds > > Any idea why this error could be occurring? I am using ant 1.6.2 and > have > the ant-contrib and cctask jars in the ant lib directory. > > Thanks > Chris > From [email protected] Tue Feb 01 06:00:00 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66156 invoked from network); 1 Feb 2005 06:00:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 1 Feb 2005 06:00:00 -0000 Received: (qmail 82454 invoked by uid 500); 1 Feb 2005 06:00:00 -0000 Delivered-To: [email protected] Received: (qmail 82434 invoked by uid 500); 1 Feb 2005 05:59:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 82417 invoked by uid 99); 1 Feb 2005 05:59:59 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from smtp.persistent.co.in (HELO smtp.pspl.co.in) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 31 Jan 2005 21:59:59 -0800 Received: from ps0876 (dhcp119.intranet.pspl.co.in [161.129.204.104]) (authenticated bits=0) by smtp.pspl.co.in (8.12.9/8.12.9) with ESMTP id j1164IrT007108 for <[email protected]>; Tue, 1 Feb 2005 11:35:51 +0530 From: "Ambarish Mitra" <[email protected]> To: <[email protected]> Subject: Apache Log4cxx build fails with gcc 2.95.3 under Solaris 8 Date: Tue, 1 Feb 2005 11:29:05 +0530 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_01E8_01C50851.3CB73520" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-MS-TNEF-Correlator: <[email protected]> Importance: Normal In-Reply-To: <[email protected]> X-Brightmail-Tracker: AAAAAQAAAAQ= X-White-List-Member: TRUE X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_01E8_01C50851.3CB73520 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I have now upgraded gcc, and now I am using gcc 3.3.2 Those errors (reported in the earlier post) dated Jan 31, 2005 have gone, but now, some other errors are coming: source='consoleappender.cpp' object='consoleappender.lo' libtool=yes \ DEPDIR=.deps depmode=gcc /bin/bash ../depcomp \ /bin/bash ../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../include/log4cxx -I../include -D_REENTRANT -g -O2 -c -o consoleappender.lo consoleappender.cpp g++ -DHAVE_CONFIG_H -I. -I. -I../include/log4cxx -I../include -D_REENTRANT -g -O2 -c consoleappender.cpp -Wp,-MD,.deps/consoleappender.TPlo -fPIC -DPIC -o .libs/consoleappender.o consoleappender.cpp: In constructor ` log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bonsoleAppenderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bonsoleAppender()': consoleappender.cpp:33: error: `wcout' undeclared in namespace `std' .... Has anybody faced any similar errors? Or anyone has any idea what can be wrong? -Ambarish. ------=_NextPart_000_01E8_01C50851.3CB73520 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="winmail.dat" eJ8+IgUFAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEGgAMADgAAANUHAgABAAsAGwAAAAIABwEB A5AGAAgIAAAnAAAACwACAAEAAAALACMAAAAAAAMAJgAAAAAACwApAAAAAAADAC4AAAAAAAMANgAA AAAAHgBwAAEAAAA5AAAAQXBhY2hlIExvZzRjeHggYnVpbGQgZmFpbHMgd2l0aCBnY2MgMi45NSB1 bmRlciBTb2xhcmlzIDgAAAAAAgFxAAEAAAAbAAAAAcUHfZBuV1xzZNCDQp6rIaIMUlVIhgApOiCQ AAIBHQwBAAAAJQAAAFNNVFA6QU1CQVJJU0hfTUlUUkFAUEVSU0lTVEVOVC5DTy5JTgAAAAALAAEO AAAAAEAABg4AXkHYIgjFAQIBCg4BAAAAGAAAAAAAAABQ4hdEJF6LR5QMi+8dbHUywoAAAAsAHw4B AAAAAgEJEAEAAAADAwAA/wIAAKgEAABMWkZ19AcFagMACgByY3BnMTI1FjIA+Atgbg4QMDMzTwH3 AqQD4wIAY2gKwHPwZXQwIAcTAoMAUARV8QIAcHJxEhEQ5whVB7LNAoB9CoAIyCA7CW8OMJY1AoAK gXYIkHdrC4C0ZDQMYGMAUAsDYxICEQvEIEkgEPB2ZSCUbm8H4HUOAHJhAQCAZCBnY2MsIABw5xoQ GWIY8GFtGZAAkA8g8RoiIDMuG/AOUAqxCoTRCoBUaG8RICAEkANg6REQICgJcHAJERoBC4DYIHRo HUEKwGwT8h4AQHN0KSBkYR4ySpkDkTMxGmAB0DA1GQTKZwIgZRpgYnUFQBlh7RpgcwNwGUBvHqEF wB1l1wrAGUAFoG0bcTocShHxwyIhCHBjZT0nBaAAgLMG8B7gcHAJ8ASBLg3wpHAnInBiagWQdCVv ji4JACawHxBidG8G8DQ9eQeRXClQHFNERUBQRElSPS4BAHCXBCAqUQRiPRuyL2ILgAErYGFzaCAu Li87KlEjkXApRytrKJUgLX4tKtMsYgMQGUAugAGQZ5A9Q1hYGiArKy5wAERIQVZFX0NPgE5GSUdf SCAucNxJLjFWLBALgGMKQAEAgS3wb2c0Y3h4MdsBMUFEX1JFRU5UPFJBNHAxQC5wG5AtT+YyLnAb 0C1vI4EnfjXP/yaBHEQwDzESMW8yfzOGNBsPNQg3DyYALnBXcCwtKE1ELCpDLz3+VFDDNtEucGZQ SUM40UGTzzbgKEAooD//Lm8cRD3/nSYAOhjgA6BEMnRyF6A7KMAFwGA4NTFAOzU6OhsIUERTQSYF R48oKSf9I/ZiPe9FMg9gRWAdY0Vg3GB3BaAhsCawdSYxOtD7I1EeU24bIAeQCrAlQEZg+R+AZCdJ 5hFQLAAsACRmWwFAHFNIK8AacXkG4GT4eSBmTiEaEFDBIiAHcMcDEArBHWQ/IE8FwFDBHyFRGQFQ ox5gAQBhIHerEPAFQGMDkWIZQHcDYOUPID8cSi1BBtAKwAQAFmhPhRSBAFdwAB4AQhABAAAAPwAA ADxJTEVISkVBTU5MQU5BS0NJRkJHTUtFRE5DRUFBLmFtYmFyaXNoX21pdHJhQHBlcnNpc3RlbnQu Y28uaW4+AAALAAGACCAGAAAAAADAAAAAAAAARgAAAAADhQAAAAAAAAMAA4AIIAYAAAAAAMAAAAAA AABGAAAAABCFAAAAAAAAAwAHgAggBgAAAAAAwAAAAAAAAEYAAAAAUoUAACdqAQAeAAmACCAGAAAA AADAAAAAAAAARgAAAABUhQAAAQAAAAQAAAA5LjAAHgAKgAggBgAAAAAAwAAAAAAAAEYAAAAANoUA AAEAAAABAAAAAAAAAB4AC4AIIAYAAAAAAMAAAAAAAABGAAAAADeFAAABAAAAAQAAAAAAAAAeAAyA CCAGAAAAAADAAAAAAAAARgAAAAA4hQAAAQAAAAEAAAAAAAAACwANgAggBgAAAAAAwAAAAAAAAEYA AAAAgoUAAAEAAAALADqACCAGAAAAAADAAAAAAAAARgAAAAAOhQAAAAAAAAMAPIAIIAYAAAAAAMAA AAAAAABGAAAAABGFAAAAAAAAAwA9gAggBgAAAAAAwAAAAAAAAEYAAAAAGIUAAAAAAAALAFKACCAG AAAAAADAAAAAAAAARgAAAAAGhQAAAAAAAAMAU4AIIAYAAAAAAMAAAAAAAABGAAAAAAGFAAAAAAAA AgH4DwEAAAAQAAAAUOIXRCRei0eUDIvvHWx1MgIB+g8BAAAAEAAAAFDiF0QkXotHlAyL7x1sdTIC AfsPAQAAAKAAAAAAAAAAOKG7EAXlEBqhuwgAKypWwgAAUFNUUFJYLkRMTAAAAAAAAAAATklUQfm/ uAEAqgA32W4AAABDOlxEb2N1bWVudHMgYW5kIFNldHRpbmdzXGFtYmFyaXNoX21pdHJhXExvY2Fs IFNldHRpbmdzXEFwcGxpY2F0aW9uIERhdGFcTWljcm9zb2Z0XE91dGxvb2tcb3V0bG9vay5wc3QA AwD+DwUAAAADAA00/TcAAAIBfwABAAAAPwAAADxJTEVISkVBTU5MQU5BS0NJRkJHTU9FRUVDRUFB LmFtYmFyaXNoX21pdHJhQHBlcnNpc3RlbnQuY28uaW4+AAADAAYQvUhMBgMABxDbAgAAAwAQEAAA AAADABEQAQAAAB4ACBABAAAAZQAAAElIQVZFTk9XVVBHUkFERURHQ0MsQU5ETk9XSUFNVVNJTkdH Q0MzMzJUSE9TRUVSUk9SUyhSRVBPUlRFRElOVEhFRUFSTElFUlBPU1QpREFURURKQU4zMSwyMDA1 SEFWRUdPTkUAAAAAjdU= ------=_NextPart_000_01E8_01C50851.3CB73520-- From [email protected] Tue Feb 01 06:29:38 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80529 invoked from network); 1 Feb 2005 06:29:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 1 Feb 2005 06:29:38 -0000 Received: (qmail 7223 invoked by uid 500); 1 Feb 2005 06:29:37 -0000 Delivered-To: [email protected] Received: (qmail 7112 invoked by uid 500); 1 Feb 2005 06:29:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: "Log4CXX User" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 7090 invoked by uid 99); 1 Feb 2005 06:29:37 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 31 Jan 2005 22:29:37 -0800 Received: (qmail 80515 invoked from network); 1 Feb 2005 06:29:35 -0000 Received: from localhost.hyperreal.org (HELO ?IPvacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b:1?) (161.129.204.104) by localhost.hyperreal.org with SMTP; 1 Feb 2005 06:29:35 -0000 Mime-Version: 1.0 (Apple Message framework v619.2) In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Curt Arnold <[email protected]> Subject: Re: Apache Log4cxx build fails with gcc 2.95.3 under Solaris 8 Date: Tue, 1 Feb 2005 00:29:35 -0600 To: Log4CXX User <[email protected]> X-Mailer: Apple Mail (2.619.2) X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bwcout is the wchar_t equivalent of stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bcout, a STL stream interface to the standard console. On other gccs, the definition for stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bwcout is in <iostream>. Either the definition of stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bwcout is located in a different header or may not be defined for the platform. Either of which is surprising. Do a search on your standard include files for wcout and see if you come up with any hits. As a work-around until we get a better resolution, you can either remove ConsoleAppender from your build or make the following changes which will use stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bcout. This is not a good solution since it will cause characters that can not be converted to the current code page to be displayed as a replacement character. void ConsoleAppenderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bsubAppend(const LogString& msg, Pool& p) { - stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bwstring wmsg; + stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstring wmsg; log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bhelpersacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bTranscoderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bncode(msg, wmsg); if (useErr) { - stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bwcerr << wmsg << stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bflush; + stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bcerr << wmsg << stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bflush; } else { - stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bwcout << wmsg << stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bflush; + stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bcout << wmsg << stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bflush; } } On Jan 31, 2005, at 11:59 PM, Ambarish Mitra wrote: > I have now upgraded gcc, and now I am using gcc 3.3.2 > > Those errors (reported in the earlier post) dated Jan 31, 2005 have > gone, > but now, some other errors are coming: > > source='consoleappender.cpp' object='consoleappender.lo' libtool=yes \ > DEPDIR=.deps depmode=gcc /bin/bash ../depcomp \ > /bin/bash ../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. > -I. > -I../include/log4cxx -I../include -D_REENTRANT -g -O2 -c -o > consoleappender.lo consoleappender.cpp > g++ -DHAVE_CONFIG_H -I. -I. -I../include/log4cxx -I../include > -D_REENTRANT > -g -O2 -c consoleappender.cpp -Wp,-MD,.deps/consoleappender.TPlo -fPIC > -DPIC -o .libs/consoleappender.o > consoleappender.cpp: In constructor ` > log4cxxacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bonsoleAppenderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bonsoleAppender()': > consoleappender.cpp:33: error: `wcout' undeclared in namespace `std' > .... > > Has anybody faced any similar errors? Or anyone has any idea what can > be > wrong? > > -Ambarish. > <winmail.dat>
From [email protected] Thu Sep 02 04:03:08 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44830 invoked from network); 2 Sep 2010 04:03:07 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Sep 2010 04:03:07 -0000 Received: (qmail 48511 invoked by uid 500); 2 Sep 2010 04:03:07 -0000 Delivered-To: [email protected] Received: (qmail 48325 invoked by uid 500); 2 Sep 2010 04:03:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 48316 invoked by uid 99); 2 Sep 2010 04:03:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 04:03:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 04:03:01 +0000 Received: from thor.apache.org (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8242dRm002843 for <[email protected]>; Thu, 2 Sep 2010 04:02:39 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o8242d3F002842; Thu, 2 Sep 2010 00:02:39 -0400 (EDT) Date: Thu, 2 Sep 2010 00:02:39 -0400 (EDT) Message-Id: <[email protected]> From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 49854] Documentation X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Log4j X-Bugzilla-Component: Other X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: [email protected] X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: [email protected] X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: <[email protected]/bugzilla/> References: <[email protected]/bugzilla/> X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=49854 --- Comment #1 from Curt Arnold <[email protected]> 2010-09-02 00:02:37 EDT --- Could you be more specific about the issues. The link is the entry-point into the log4j documentation, classes are only listed by name in the navigation, there is no class documentation when first navigating to this link. It would be good to add package documentation for the org.apache.log4j.lf5 packages. Those packages are from the deprecated LogFactor5 logging analysis application, but there is nothing to let you know that in the doc. But since you specifically said class documentation, maybe you meant something else. If so, please identify the classes. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Sep 02 04:26:11 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51768 invoked from network); 2 Sep 2010 04:26:10 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Sep 2010 04:26:10 -0000 Received: (qmail 64694 invoked by uid 500); 2 Sep 2010 04:26:10 -0000 Delivered-To: [email protected] Received: (qmail 64470 invoked by uid 500); 2 Sep 2010 04:26:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 64461 invoked by uid 99); 2 Sep 2010 04:26:06 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 04:26:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 04:25:48 +0000 Received: from thor.apache.org (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o824PR9k003855 for <[email protected]>; Thu, 2 Sep 2010 04:25:27 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o824PRBg003854; Thu, 2 Sep 2010 00:25:27 -0400 (EDT) Date: Thu, 2 Sep 2010 00:25:27 -0400 (EDT) Message-Id: <[email protected]> From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 49853] Adding loggers to the configuration X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Log4j X-Bugzilla-Component: Appender X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: [email protected] X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: [email protected] X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: <[email protected]/bugzilla/> References: <[email protected]/bugzilla/> X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=49853 --- Comment #1 from Curt Arnold <[email protected]> 2010-09-02 00:25:25 EDT --- I'm unclear on the issue that you are trying to describe. http://logging.apache.org/log4j/1.2/manual.html show declaring loggers with thresholds and attached loggers using the properties files syntax: log4j.logger.com.foo=WARN,APPENDER1,APPENDER2 Programatically, loggers are created on demand using the Logger.getLogger() calls when a logger with the specified name does not exist. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Sep 04 15:57:40 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90583 invoked from network); 4 Sep 2010 15:57:40 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 4 Sep 2010 15:57:40 -0000 Received: (qmail 31131 invoked by uid 500); 4 Sep 2010 15:57:40 -0000 Delivered-To: [email protected] Received: (qmail 31043 invoked by uid 500); 4 Sep 2010 15:57:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 31035 invoked by uid 99); 4 Sep 2010 15:57:39 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Sep 2010 15:57:39 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f47.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Sep 2010 15:57:16 +0000 Received: by ewy7 with SMTP id 7so2102363ewy.34 for <[email protected]>; Sat, 04 Sep 2010 08:56:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=LStM0hvuriUK9cfIzUfGcOfb/jUz417GS7R3QFC0kmY=; b=grQIr0InTY1zaDGHXzFhnKCPImfvziBmLkKk4NadtrmKniPvIghvH/9zT3jmQ2+vFa CAxN+weZoVvJHau9w0hsniU/wlGiCZdYyjFoKHR5qMfQoj7Qzm8Sz3XMhspG/W5nkH/p MWKWyT9b6vaPEtF5s9O9C7Wyq2LWqIzA3941w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=WN8046YINixSSPJ5qyCSoJzOXFOUQt5j1mY5p0ZAQaq03vXm/Ymh7cncSG39NauCcd 06SaM7xU6I3rUVAOqtcvUPekVanEtA3fT/l0IgoMD4P3gM5WfEDuquoNpLLVdgNBkJFw 8cYPNoU+DPj9HlaDfuZh+GnQjSXwCV5qCsWAc= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id e15mr772924ebb.59.1283615816149; Sat, 04 Sep 2010 08:56:56 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sat, 4 Sep 2010 08:56:56 -0700 (PDT) Date: Sat, 4 Sep 2010 08:56:56 -0700 Message-ID: <[email protected]> Subject: Time for a companions release From: Scott Deboy <[email protected]> To: Log4J Developers List <[email protected]> Content-Type: multipart/alternative; boundary=0015174c0e8ebfec29048f7118a8 X-Virus-Checked: Checked by ClamAV on apache.org --0015174c0e8ebfec29048f7118a8 Content-Type: text/plain; charset=ISO-8859-1 I've wrapped up all of the Chainsaw changes I want to include in this release. Any feedback would be welcome. Current tarball and DMG available here: http://people.apache.org/~sdeboy/ Now it's time to get the Companions out the door. There is no reason to release the ZeroConf companion since ZeroConf support is built-in now, so we may as well delete that. Since I don't have the signing key stuff set up, does anyone have time to work on this? If not, I'll see what I can do. Scott --0015174c0e8ebfec29048f7118a8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I&#39;ve wrapped up all of the Chainsaw changes I want to include in this r= elease.=A0 Any feedback would be welcome.<br><br>Current tarball and DMG av= ailable here:=A0 <a href=3D"http://people.apache.org/~sdeboy/">http://peopl= e.apache.org/~sdeboy/</a><br> <br>Now it&#39;s time to get the Companions out the door.=A0 There is no re= ason to release the ZeroConf companion since ZeroConf support is built-in n= ow, so we may as well delete that.<br><br>Since I don&#39;t have the signin= g key stuff set up, does anyone have time to work on this?=A0 If not, I&#39= ;ll see what I can do.<br> <br>Scott<br> --0015174c0e8ebfec29048f7118a8-- From [email protected] Sat Sep 04 20:06:52 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49695 invoked from network); 4 Sep 2010 20:06:52 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 4 Sep 2010 20:06:52 -0000 Received: (qmail 36458 invoked by uid 500); 4 Sep 2010 20:06:52 -0000 Delivered-To: [email protected] Received: (qmail 36404 invoked by uid 500); 4 Sep 2010 20:06:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 36396 invoked by uid 99); 4 Sep 2010 20:06:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Sep 2010 20:06:51 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yx0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Sep 2010 20:06:42 +0000 Received: by yxk30 with SMTP id 30so1448667yxk.34 for <[email protected]>; Sat, 04 Sep 2010 13:06:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:content-type :mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=jrW6TqPcz3kKF5Dh21zm70kuhuduSpViVEBrrhXMC+s=; b=Pkoa1m3RHsYXbC5bQe/WKKK2+w2veJf/iMTi9KfruX3Z9ihFsMt0OCioMMsi+bzs7w J1UE4Htwb5QxD8F06585pAKMfLP1O0EaO89ZCNN8xMepSISBKfYeLPXpgWVSbSEFbkiq sjUGOnZCf0th+EfEbWOXXgvukVdzdbzlev5z8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=GXoIxBZVNTKNKqpRGG2tNMBwB7SEDhRBhv16lOx4wNhBsUgj4OBS0gWxVaq18D/cFQ O3SJ8aJgk7NIQJoI92nlLg7CiRrqrFkC4599cIv1XI4Sjm62+q2Y2s5C45zdQAZXvu3h 6tkBRc4p/syNKaeNyvXJOgZsPeh9eBxU3j/fQ= Received: by 161.129.204.104 with SMTP id f16mr1630189anj.59.1283630779907; Sat, 04 Sep 2010 13:06:19 -0700 (PDT) Received: from [161.129.204.104] (70-139-215-122.lightspeed.cyprtx.sbcglobal.net [161.129.204.104]) by mx.google.com with ESMTPS id f29sm5398867anh.31.2161.129.204.104.06.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 04 Sep 2010 13:06:19 -0700 (PDT) Sender: Curt Arnold <[email protected]> Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: Time for a companions release From: Curt Arnold <[email protected]> In-Reply-To: <[email protected]> Date: Sat, 4 Sep 2010 15:06:17 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <[email protected]> References: <[email protected]> To: "Log4J Developers List" <[email protected]> X-Mailer: Apple Mail (2.1081) On my to-do list for the long weekend. On Sep 4, 2010, at 10:56 AM, Scott Deboy wrote: > I've wrapped up all of the Chainsaw changes I want to include in this = release. Any feedback would be welcome. >=20 > Current tarball and DMG available here: = http://people.apache.org/~sdeboy/ >=20 > Now it's time to get the Companions out the door. There is no reason = to release the ZeroConf companion since ZeroConf support is built-in = now, so we may as well delete that. >=20 > Since I don't have the signing key stuff set up, does anyone have time = to work on this? If not, I'll see what I can do. >=20 > Scott --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Sep 05 11:25:35 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23779 invoked from network); 5 Sep 2010 11:25:35 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 5 Sep 2010 11:25:35 -0000 Received: (qmail 94819 invoked by uid 500); 5 Sep 2010 11:25:35 -0000 Delivered-To: [email protected] Received: (qmail 94623 invoked by uid 500); 5 Sep 2010 11:25:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 94615 invoked by uid 500); 5 Sep 2010 11:25:31 -0000 Received: (qmail 94612 invoked by uid 99); 5 Sep 2010 11:25:31 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Sep 2010 11:25:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Sep 2010 11:25:12 +0000 Received: from thor.apache.org (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o85BOpcC015967 for <[email protected]>; Sun, 5 Sep 2010 11:24:51 GMT Received: (from root@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o85BOPfU013193 for [email protected]; Sun, 5 Sep 2010 07:24:25 -0400 (EDT) Date: Sun, 5 Sep 2010 07:24:25 -0400 (EDT) Message-Id: <[email protected]> From: [email protected] To: [email protected] Subject: Bug report for Log4j [2010/09/05] X-Virus-Checked: Checked by ClamAV on apache.org +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement TRV=Trivial | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | |13099|Opn|Nor|2002-09-27|DOMConfigurator ignores category factory setting | |17887|Opn|Maj|2003-03-11|RollingFileAppender does not work for 10 threads | |20395|Inf|Enh|2003-06-01|PreparedStatementAppender Enhancement | |23329|New|Enh|2003-09-22|<logger> element in XML config should support reso| |26084|Inf|Nor|2004-01-13|Log Event detail panel does not show special chara| |27363|Inf|Enh|2004-03-02|JNI based SyslogAppender | |27367|Inf|Enh|2004-03-02|NetSendAppender | |29244|Inf|Nor|2004-05-27|Preserve XML content in log messages when using XM| |29305|New|Nor|2004-05-30|Chainsaw doesn't see locationinfo from XMLSocketRe| |30055|New|Nor|2004-07-12|Problem with registering Appenders with the same n| |30407|Inf|Maj|2004-07-30|Externally rolled file problem | |30888|Inf|Maj|2004-08-27|Chainsaw mixes files in same panel | |30892|New|Min|2004-08-27|Log files cannot be closed | |31089|New|Nor|2004-09-07|Does not accept ISO8601 dates in focus field | |31178|Inf|Cri|2004-09-11|Exception using Chainsaw for simple debugging | |31179|Ass|Enh|2004-09-11|Implement Chainsaw as Eclipse stand-alone applicat| |33278|New|Min|2005-01-27|NPE thrown durring daily log file rollover | |33493|Inf|Enh|2005-02-10|contribution to log4j: servlet diagnostic context | |34440|New|Nor|2005-04-13|sandbox:IMAppender - comma-seperated recipient lis| |34491|Ver|Nor|2005-04-18|Missing include in build.jms target results in mis| |34651|New|Enh|2005-04-27|allow for a header on top of every rolled file | |34738|Inf|Nor|2005-05-04|Chainsaw does not remember what Columns are select| |34945|Inf|Nor|2005-05-17|ThrowableInformation has dubious Stack Trace extra| |34974|Inf|Cri|2005-05-19|Exception when running a Pluglet | |35239|Inf|Nor|2005-06-06|NullPointerException when saving displayed events | |35563|Inf|Enh|2005-06-30|Syslog appender parametrability | |35996|Inf|Enh|2005-08-03|Add support for ant-like <property> in log4j.xml | |36435|New|Enh|2005-08-31|Log4J RollingFileAppender under OpenVMS does not f| |36654|Inf|Min|2005-09-14|Provide better error messages for "Please initiali| |36789|Inf|Nor|2005-09-23|Empty control flow statement in org.apache.log4j.l| |37349|Ass|Nor|2005-11-03|DBAppender not working with jTDS driver | |37638|New|Nor|2005-11-25|logging doesn't fall back with FallbackErrorHandle| |37734|New|Nor|2005-12-01|Customize Event ID and Event Category with NTEVent| |38363|Ass|Nor|2006-01-24|SecurityException during log output | |38394|Ver|Enh|2006-01-26|PropertySetter fails to print stacktrace if error | |38395|Ver|Reg|2006-01-26|Unable to set threshold on appender via config fil| |38406|Ver|Nor|2006-01-26|jdk1.4 dependencies in log4j 1.3 alpha | |38513|New|Nor|2006-02-05|[PATCH] Suggested unit test for JMSAppender | |38582|Ass|Nor|2006-02-08|Chainsaw does not include Receiver JavaDoc in dist| |38590|Inf|Nor|2006-02-09|no space on device fails another instance | |38883|Opn|Nor|2006-03-07|LogFilePatternReceiver fails to process multi-line| |39690|Inf|Cri|2006-05-31|Initialization fail in J2EE Environment | |39691|Ass|Nor|2006-05-31|DBAppender doesn't log long events | |40068|New|Nor|2006-07-18|Add support for attach-on-demand API to chainsaw | |40251|Opn|Min|2006-08-14|Hard coded JMX domain name for MBean instances | |40382|Inf|Maj|2006-09-01|Sysappender hangs during boot time on HP | |40385|Inf|Maj|2006-09-01|SocketServer cannot find config file when passed a| |40472|New|Nor|2006-09-11|SettingsManager calls loadSettings with global set| |40533|New|Nor|2006-09-18|Chainsaw not showing all logging statements | |40570|Inf|Blk|2006-09-21|RollingFileAppender does not rollover when the fil| |40611|New|Trv|2006-09-27|Bad subclass example; NullPointerException in Logg| |40736|Inf|Nor|2006-10-11|log4j delete permission denied | |40889|Inf|Nor|2006-11-03|repeated entries in log after failure | |40990|Inf|Nor|2006-11-17|Cannot bind port or ip address for outgoing UDP so| |41006|Inf|Enh|2006-11-20|Contributing XMLSocketHubReceiver | |41214|Ass|Maj|2006-12-19|Deadlock with RollingFileAppender | |41311|Inf|Min|2007-01-06|Please make TimeBasedRollingPolicy non-final? | |41547|Inf|Nor|2007-02-05|PropertyConfigurator and layout.contentType | |41799|New|Enh|2007-03-09|SyslogAppender should enable to customize Log4j.Le| |41882|Inf|Nor|2007-03-18|IE7 problems with Log4J web site | |41937|New|Nor|2007-03-23|Logs from some panels missing in custom expression| |41980|Inf|Maj|2007-03-29|Log4j stop updating log file- version log4j-1.2.8 | |42189|Ass|Nor|2007-04-22|Add simple bridge for java.util.logging, with basi| |42213|Opn|Blk|2007-04-24|log4j causing threads to stuck in weblogic | |42516|Inf|Nor|2007-05-24|Log4j failed to log file when packaged in Eclipse | |42664|New|Enh|2007-06-14|JUL Appender | |42883|Opn|Nor|2007-07-12|'Welcome' and 'Drag & Drop' panels can't be hidden| |42933|Inf|Maj|2007-07-18|IllegalStateException thrown from FileAppender.clo| |43148|Ass|Nor|2007-08-16|LogFilePatternReceiver depends on jakarta-oro, cou| |43282|Opn|Nor|2007-08-31|Add OSGi packaging info to log4j and companions | |43313|Ass|Nor|2007-09-05|log4j 1.2.16 release considerations and discussion| |43403|Inf|Nor|2007-09-16|PatternLayout: new format modifer: prefix if non-e| |43619|New|Enh|2007-10-13|Simple proposal for pluggable sys-props resolvers | |43637|Inf|Nor|2007-10-16|SocketAppender.append(LoggingEvent) calls the Erro| |43728|Inf|Cri|2007-10-29|Log file loss when specified file is locked by ano| |43736|Ass|Nor|2007-10-30|Chainsaw does not honor encoding when loading XML | |43820|New|Enh|2007-11-08|[PATCH] Layered Configurator Patch | |43879|Inf|Nor|2007-11-16|FileAppender writes Header multiple times | |43911|Inf|Nor|2007-11-20|logfiles not getting rolled over with RollingFileA| |43923|Inf|Min|2007-11-21|JBOSS specific information in javadocs | |44219|Inf|Nor|2008-01-13|'WARNING' for a log level is silently ignored/chan| |44308|New|Enh|2008-01-28|[Patch] JMX component for managing Logger configur| |44370|Inf|Reg|2008-02-06|MANIFEST.MF broken in log4j-1.2.15.jar | |44386|Opn|Nor|2008-02-10|NTEventLogAppender.dll for windows 64 | |44526|Inf|Nor|2008-03-04|segmentation fault occuring when PropertyConfigura| |44557|Inf|Nor|2008-03-07|no close call to Appender after replacing the root| |44649|Inf|Nor|2008-03-20|JMS Hangs when a Root Appender | |44700|Inf|Nor|2008-03-28|Log4J locks rolled log files | |44727|Inf|Nor|2008-04-01|Add missing Logger#isErrorEnabled and isWarningEna| |44834|Inf|Nor|2008-04-17|SimpleSocketServer looses buffered logs, produces | |44839|Inf|Nor|2008-04-17|SyslogAppender logging to a UNIX domain socket | |44932|New|Cri|2008-05-05|improve DailyRollingFileAppender handling of rotat| |44934|Inf|Enh|2008-05-05|add helper method to DailyRollingFileAppender to g| |45042|New|Nor|2008-05-19|Need a reliable way to detect misconfiguration | |45109|Inf|Nor|2008-05-31|SMTPAppender uses wrong property for mail server | |45165|Ass|Enh|2008-06-09|Multifile Appender | |45231|Ass|Nor|2008-06-18|Clear appenders call on logger calls a helper whic| |45236|Inf|Cri|2008-06-19|Wriring output to an out-dated file. | |45304|Inf|Nor|2008-06-29|using log4j with OAS for some reasone all the logg| |45482|Inf|Min|2008-07-25|Source contains unused variables | |45629|New|Nor|2008-08-13|TopicConnection is not closed | |45753|New|Nor|2008-09-06|Code contribution: BurstFilter for extras | |45781|New|Nor|2008-09-11|RollingFileAppender under Windows does not rotate | |45855|New|Enh|2008-09-21|Add site/apt documentation for JULBridgeLogManager| |45932|New|Nor|2008-10-01|Log4j JMX MBeans not cleaned up | |45934|New|Enh|2008-10-02|FileAppender should use virtual-machine shutdown h| |45939|New|Nor|2008-10-02|Cannot drop HierarchyDynamicMBean from LoggerRepos| |46100|New|Enh|2008-10-27|NagiosAppender available for contribution | |46260|Inf|Nor|2008-11-21|RollingFileAppender and Tomcat has a strange behav| |46426|Ass|Nor|2008-12-20|Implement commons-logging interfaces natively in l| |46514|New|Nor|2009-01-12|provide API to re-init log4j | |46533|New|Enh|2009-01-14|Deamon Thread | |46570|New|Nor|2009-01-20|DailyRollingFileAppender rolls logs into files dat| |46573|Inf|Maj|2009-01-21|MDC attributes cant't be displayed on Chainsaw | |46592|Opn|Trv|2009-01-23|trim() on property file entries | |46626|New|Enh|2009-01-29|Log4J 1.2.15 SyslogAppender doesn't not handle TAG| |46691|New|Nor|2009-02-10|log4j file rolling over on restart of the server | |46804|New|Enh|2009-03-05|create the method PropertyConfigurator.configureAn| |46868|New|Nor|2009-03-17|SocketHUBAppender: Allow restriction of binding to| |46878|New|Cri|2009-03-19|Deadlock in 1.2.15 caused by AsyncAppender and Thr| |46941|New|Enh|2009-03-31|Sub Level Logging Technique | |46983|New|Enh|2009-04-07|More Debug output for log4j auto-configure request| |47004|Inf|Nor|2009-04-08|log messages occasionally sharing a line | |47123|New|Blk|2009-04-29|TimeBasedRollingPolicy appends logs into a old log| |47141|Inf|Enh|2009-05-02|add getCyclicBuffer() method to log4j SMTPAppender| |47164|New|Enh|2009-05-07|HTMLLayout replace newline with <BR> | |47208|New|Enh|2009-05-17|Better Default colours for Log Panel Color Filter | |47357|New|Min|2009-06-11|Declaring logger and category with same name cause| |47575|Inf|Nor|2009-07-24|GZipping large files stops logging | |47595|Opn|Nor|2009-07-28|[companion] POMs of companions have problems | |47703|New|Nor|2009-08-18|Object rendering ought to be done outside synchron| |47713|Inf|Nor|2009-08-20|SMTPAppender system properties propagation issue | |47740|Inf|Nor|2009-08-26|log4j 1.2.15 deadlock RootAppender NDC | |47883|New|Nor|2009-09-21|Lines dropped with UseNewHashFunction | |47898|Inf|Maj|2009-09-24|DailyRollingFileAppender unable to create backup l| |47960|New|Min|2009-10-08|CompositeAppender contribution | |48027|Inf|Cri|2009-10-20|Logger statements in a particular class file is no| |48141|Inf|Cri|2009-11-05|Log file rotation issue in Linux VM | |48209|New|Nor|2009-11-17|Websphere 6.0: logging statements appear in the SY| |48220|New|Min|2009-11-18|LoggingEvent.mdcCopy serialization with non-serial| |48244|New|Min|2009-11-19|Socket Server configuration does not handle not re| |48356|New|Nor|2009-12-08|Download page does not have link to KEYS file | |48365|New|Maj|2009-12-10|Log4J DailyRollingFileAppender sometimes does not | |48430|New|Nor|2009-12-22|log4j:ERROR Write failure. java.io.IOException: St| |48502|New|Cri|2010-01-07|Issue: Rotation file is not getting created - Roll| |48527|New|Maj|2010-01-11|maven metadata is out of date | |48583|New|Enh|2010-01-20|allow format of timestamp (first column of log fil| |48607|New|Cri|2010-01-25|Log levels are not displayed corectly | |48679|New|Nor|2010-02-04|performance of getEffectiveLevel can be significan| |48704|New|Nor|2010-02-08|Multiple Java Process in Cluster Logging to the sa| |48802|New|Nor|2010-02-23|Log4j not writting. | |48820|New|Nor|2010-02-26|JDBCAppender inserts the current MDC values for th| |48986|New|Nor|2010-03-25|RollingFileAppender.rollOver() calls this.setFile | |49003|New|Nor|2010-03-27|SocketServerTestCase.test8 fails on Apache Harmony| |49071|New|Nor|2010-04-08|1.2.16 isn't available for download | |49077|New|Nor|2010-04-09|Prepare smaller jar omitting LF5 and Chainsaw 1 | |49177|New|Enh|2010-04-23|SyslogAppender: Make the maximum package size conf| |49229|New|Trv|2010-04-29|build.xml reference wrong javax mail version, shou| |49243|New|Min|2010-05-04|Fix one BZ number in Changelog of 1.2.16 | |49247|New|Enh|2010-05-04|Add option for persistent/non-persistent delivery | |49248|New|Min|2010-05-04|javadoc for org.apache.log4j.rolling.FixedWindowRo| |49265|New|Nor|2010-05-07|log4j - java.io.OptionalDataException | |49307|New|Nor|2010-05-18|unusable error message when log4j.xml has a duplic| |49329|New|Nor|2010-05-23|Smart and compact formatting of package/class name| |49349|New|Nor|2010-05-27|LoggingEvent stoped coming with AsyncAppender | |49353|New|Nor|2010-05-28|[patch] change logfactor userdir name to hidden di| |49354|New|Nor|2010-05-28|XMLLayout writes illegal characters to XML file | |49359|New|Nor|2010-05-29|Log4j site should have some mention of git mirrori| |49390|New|Nor|2010-06-05|1.0 releases of log4j companions component and rec| |49421|New|Maj|2010-06-10|Chainsaw don't show Logger for SocketReceiver and | |49470|New|Nor|2010-06-19|log4j 1.2.17 release | |49471|New|Enh|2010-06-19|Add CDATA parameter to XmlLayout | |49481|New|Maj|2010-06-21|Log4j stops writting to file, and then causes serv| |49489|New|Enh|2010-06-22|Ability to filter on several loggers | |49563|New|Min|2010-07-06|New SMTPProtocol and SMTPPort not recognized | |49571|New|Enh|2010-07-08|refreshing log4j - reconfigurable from log4j.prope| |49592|New|Cri|2010-07-14|477 All Attributes Not Set | |49597|New|Min|2010-07-15|The log4j.dtd is to restrictive | |49693|New|Cri|2010-08-03|Intermittently Log4j fails to bind with log file | |49797|New|Enh|2010-08-22|AsyncAppenders Enchancement | |49852|New|Enh|2010-08-31|Allow log files to rollover at any specified time | |49853|New|Enh|2010-08-31|Adding loggers to the configuration | |49854|New|Nor|2010-08-31|Documentation | +-----+---+---+----------+--------------------------------------------------+ | Total 183 bugs | +---------------------------------------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Sep 08 15:31:01 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35664 invoked from network); 8 Sep 2010 15:31:00 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 8 Sep 2010 15:31:00 -0000 Received: (qmail 87932 invoked by uid 500); 8 Sep 2010 15:31:00 -0000 Delivered-To: [email protected] Received: (qmail 87148 invoked by uid 500); 8 Sep 2010 15:30:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 87140 invoked by uid 99); 8 Sep 2010 15:30:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Sep 2010 15:30:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Sep 2010 15:30:57 +0000 Received: from thor.apache.org (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o88FUawM005055 for <[email protected]>; Wed, 8 Sep 2010 15:30:36 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o88FUaRI005054; Wed, 8 Sep 2010 11:30:36 -0400 (EDT) Date: Wed, 8 Sep 2010 11:30:36 -0400 (EDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 49899] New: PatternLayout and EnhancedPatternLayout issues with large messages X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Log4j X-Bugzilla-Component: Layout X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: [email protected] X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: [email protected] X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: <[email protected]/bugzilla/> X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 https://issues.apache.org/bugzilla/show_bug.cgi?id=49899 Summary: PatternLayout and EnhancedPatternLayout issues with large messages Product: Log4j Version: 1.2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Layout AssignedTo: [email protected] ReportedBy: [email protected] Created an attachment (id=26004) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26004) Patch Issue When logging large messages (SOAP messages in my case), the two Layout classes show up as a key contributor to memory pressure. Given a log entry size of say 1 megabyte, EnhancedPatternLayout.format will resize the StringBuffer from 16 to 33, 67, 135, ... creating a lot of unnecessary garbage along the way. Even worse, PatternLayout holds on to that StringBuffer in a field, and doesn't allow the its contents to be gc'ed until the next invocation. Proposed fix. * If the message argument is a String, use its length to preallocate the StringBuffer to reduce the chance of resizing. * For PatternLayout, get rid of the StringBuffer field and allocate a new one each time, which is what EnhancedPatternLayout.format does, too Patch attached -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Sep 11 08:42:36 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7810 invoked from network); 11 Sep 2010 08:42:36 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 11 Sep 2010 08:42:36 -0000 Received: (qmail 37312 invoked by uid 500); 11 Sep 2010 08:42:36 -0000 Delivered-To: [email protected] Received: (qmail 37007 invoked by uid 500); 11 Sep 2010 08:42:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 36993 invoked by uid 500); 11 Sep 2010 08:42:31 -0000 Received: (qmail 36987 invoked by uid 99); 11 Sep 2010 08:42:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Sep 2010 08:42:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Sep 2010 08:42:30 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1C96F23889E1; Sat, 11 Sep 2010 08:42:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r996096 - in /logging/log4j/companions/receivers/trunk: pom.xml src/main/java/org/apache/log4j/varia/LogFilePatternReceiver.java Date: Sat, 11 Sep 2010 08:42:10 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: sdeboy Date: Sat Sep 11 08:42:09 2010 New Revision: 996096 URL: http://svn.apache.org/viewvc?rev=996096&view=rev Log: Removed use of now-in-the-attic Jakarta ORO. Now using java.util.regex package in LogFilePatternReceiver (java 1.4). Also removed ORO from receivers pom. Modified: logging/log4j/companions/receivers/trunk/pom.xml logging/log4j/companions/receivers/trunk/src/main/java/org/apache/log4j/varia/LogFilePatternReceiver.java Modified: logging/log4j/companions/receivers/trunk/pom.xml URL: http://svn.apache.org/viewvc/logging/log4j/companions/receivers/trunk/pom.xml?rev=996096&r1=996095&r2=996096&view=diff ============================================================================== --- logging/log4j/companions/receivers/trunk/pom.xml (original) +++ logging/log4j/companions/receivers/trunk/pom.xml Sat Sep 11 08:42:09 2010 @@ -286,11 +286,6 @@ <version>1.1-SNAPSHOT</version> </dependency> <dependency> - <groupId>oro</groupId> - <artifactId>oro</artifactId> - <version>2.0.8</version> - </dependency> - <dependency> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-jms_1.1_spec</artifactId> <version>1.0</version> Modified: logging/log4j/companions/receivers/trunk/src/main/java/org/apache/log4j/varia/LogFilePatternReceiver.java URL: http://svn.apache.org/viewvc/logging/log4j/companions/receivers/trunk/src/main/java/org/apache/log4j/varia/LogFilePatternReceiver.java?rev=996096&r1=996095&r2=996096&view=diff ============================================================================== --- logging/log4j/companions/receivers/trunk/src/main/java/org/apache/log4j/varia/LogFilePatternReceiver.java (original) +++ logging/log4j/companions/receivers/trunk/src/main/java/org/apache/log4j/varia/LogFilePatternReceiver.java Sat Sep 11 08:42:09 2010 @@ -32,6 +32,10 @@ import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.StringTokenizer; +import java.util.regex.MatchResult; +import java.util.regex.Matcher; +import java.util.regex.Pattern; +import java.util.regex.PatternSyntaxException; import org.apache.log4j.Level; import org.apache.log4j.Logger; @@ -42,19 +46,13 @@ import org.apache.log4j.rule.Rule; import org.apache.log4j.spi.LocationInfo; import org.apache.log4j.spi.LoggingEvent; import org.apache.log4j.spi.ThrowableInformation; -import org.apache.oro.text.perl.Perl5Util; -import org.apache.oro.text.regex.MalformedPatternException; -import org.apache.oro.text.regex.MatchResult; -import org.apache.oro.text.regex.Pattern; -import org.apache.oro.text.regex.Perl5Compiler; -import org.apache.oro.text.regex.Perl5Matcher; /** * LogFilePatternReceiver can parse and tail log files, converting entries into * LoggingEvents. If the file doesn't exist when the receiver is initialized, the * receiver will look for the file once every 10 seconds. * <p> - * This receiver relies on ORO Perl5 features to perform the parsing of text in the + * This receiver relies on java.util.regex features to perform the parsing of text in the * log file, however the only regular expression field explicitly supported is * a glob-style wildcard used to ignore fields in the log file if needed. All other * fields are parsed by using the supplied keywords. @@ -178,9 +176,6 @@ public class LogFilePatternReceiver exte private String filterExpression; private long waitMillis = 2000; //default 2 seconds - private Perl5Util util = null; - private Perl5Compiler exceptionCompiler = null; - private Perl5Matcher exceptionMatcher = null; private static final String VALID_DATEFORMAT_CHARS = "GyMwWDdFEaHkKhmsSzZ"; private static final String VALID_DATEFORMAT_CHAR_PATTERN = "[" + VALID_DATEFORMAT_CHARS + "]"; @@ -212,10 +207,9 @@ public class LogFilePatternReceiver exte keywords.add(METHOD); keywords.add(MESSAGE); keywords.add(NDC); - exceptionCompiler = new Perl5Compiler(); try { - exceptionPattern = exceptionCompiler.compile(EXCEPTION_PATTERN); - } catch (MalformedPatternException mpe) { + exceptionPattern = Pattern.compile(EXCEPTION_PATTERN); + } catch (PatternSyntaxException pse) { //shouldn't happen } } @@ -393,7 +387,8 @@ public class LogFilePatternReceiver exte */ private int getExceptionLine() { for (int i = 0; i < additionalLines.size(); i++) { - if (exceptionMatcher.matches((String) additionalLines.get(i), exceptionPattern)) { + Matcher exceptionMatcher = exceptionPattern.matcher((String)additionalLines.get(i)); + if (exceptionMatcher.matches()) { return i; } } @@ -486,19 +481,21 @@ public class LogFilePatternReceiver exte /** * Read, parse and optionally tail the log file, converting entries into logging events. * - * A runtimeException is thrown if the logFormat pattern is malformed - * according to ORO's Perl5Compiler. + * A runtimeException is thrown if the logFormat pattern is malformed. * * @param bufferedReader * @throws IOException */ protected void process(BufferedReader bufferedReader) throws IOException { - Perl5Matcher eventMatcher = new Perl5Matcher(); + Matcher eventMatcher; + Matcher exceptionMatcher; String line; while ((line = bufferedReader.readLine()) != null) { //skip empty line entries + eventMatcher = regexpPattern.matcher(line); if (line.trim().equals("")) {continue;} - if (eventMatcher.matches(line, regexpPattern)) { + exceptionMatcher = exceptionPattern.matcher(line); + if (eventMatcher.matches()) { //build an event from the previous match (held in current map) LoggingEvent event = buildEvent(); if (event != null) { @@ -506,8 +503,8 @@ public class LogFilePatternReceiver exte doPost(event); } } - currentMap.putAll(processEvent(eventMatcher.getMatch())); - } else if (eventMatcher.matches(line, exceptionPattern)) { + currentMap.putAll(processEvent(eventMatcher.toMatchResult())); + } else if (exceptionMatcher.matches()) { //an exception line additionalLines.add(line); } else { @@ -546,16 +543,8 @@ public class LogFilePatternReceiver exte } } - /** - * create the regular expression pattern using the input regular expression - */ protected void createPattern() { - Perl5Compiler compiler = new Perl5Compiler(); - try { - regexpPattern = compiler.compile(regexp); - } catch (MalformedPatternException mpe) { - throw new RuntimeException("Bad pattern: " + regexp, mpe); - } + regexpPattern = Pattern.compile(regexp); } /** @@ -574,7 +563,7 @@ public class LogFilePatternReceiver exte } /** - * Convert the ORO match into a map. + * Convert the match into a map. * <p> * Relies on the fact that the matchingKeywords list is in the same * order as the groups in the regular expression @@ -585,7 +574,7 @@ public class LogFilePatternReceiver exte private Map processEvent(MatchResult result) { Map map = new HashMap(); //group zero is the entire match - process all other groups - for (int i = 1; i < result.groups(); i++) { + for (int i = 1; i < result.groupCount() + 1; i++) { Object key = matchingKeywords.get(i - 1); Object value = result.group(i); map.put(key, value); @@ -603,9 +592,9 @@ public class LogFilePatternReceiver exte private String convertTimestamp() { //some locales (for example, French) generate timestamp text with characters not included in \w - // now using \S (all non-whitespace characters) instead of /w - String result = util.substitute("s/("+VALID_DATEFORMAT_CHAR_PATTERN+")+/\\\\S+/g", timestampFormat); + String result = timestampFormat.replaceAll(VALID_DATEFORMAT_CHAR_PATTERN + "+", "\\\\S+"); //make sure dots in timestamp are escaped - result = globalReplace(".", "\\.", result); + result = result.replaceAll(Pattern.quote("."), "\\\\."); return result; } @@ -643,10 +632,6 @@ public class LogFilePatternReceiver exte path = fileURL; } - util = new Perl5Util(); - exceptionCompiler = new Perl5Compiler(); - exceptionMatcher = new Perl5Matcher(); - currentMap = new HashMap(); additionalLines = new ArrayList(); matchingKeywords = new ArrayList(); @@ -731,9 +716,8 @@ public class LogFilePatternReceiver exte //compress one or more spaces in the pattern into the [ ]+ regexp //(supports padding of level in log files) - newPattern = util.substitute("s/" + MULTIPLE_SPACES_REGEXP +"/" + MULTIPLE_SPACES_REGEXP + "/g", newPattern); - newPattern = globalReplace(PATTERN_WILDCARD, REGEXP_DEFAULT_WILDCARD, newPattern); - + newPattern = newPattern.replaceAll(MULTIPLE_SPACES_REGEXP, MULTIPLE_SPACES_REGEXP); + newPattern = newPattern.replaceAll(Pattern.quote(PATTERN_WILDCARD), REGEXP_DEFAULT_WILDCARD); //use buildingKeywords here to ensure correct order for (int i = 0;i<buildingKeywords.size();i++) { String keyword = (String) buildingKeywords.get(i); @@ -749,7 +733,6 @@ public class LogFilePatternReceiver exte } } - regexp = newPattern; getLogger().debug("regexp is " + regexp); } @@ -829,20 +812,6 @@ public class LogFilePatternReceiver exte } /** - * Helper method that will globally replace a section of text - * - * @param pattern - * @param replacement - * @param input - * - * @return string - */ - private String globalReplace(String pattern, String replacement, String input) { - return util.substitute("s/" + Perl5Compiler.quotemeta(pattern) + "/" - + Perl5Compiler.quotemeta(replacement) + "/g", input); - } - - /** * Some perl5 characters may occur in the log file format. * Escape these characters to prevent parsing errors. * @@ -851,23 +820,23 @@ public class LogFilePatternReceiver exte */ private String replaceMetaChars(String input) { //escape backslash first since that character is used to escape the remaining meta chars - input = globalReplace("\\", "\\\\", input); + input = input.replaceAll("\\\\", "\\\\\\"); //don't escape star - it's used as the wildcard - input = globalReplace("]", "\\]", input); - input = globalReplace("[", "\\[", input); - input = globalReplace("^", "\\^", input); - input = globalReplace("$", "\\$", input); - input = globalReplace(".", "\\.", input); - input = globalReplace("|", "\\|", input); - input = globalReplace("?", "\\?", input); - input = globalReplace("+", "\\+", input); - input = globalReplace("(", "\\(", input); - input = globalReplace(")", "\\)", input); - input = globalReplace("-", "\\-", input); - input = globalReplace("{", "\\{", input); - input = globalReplace("}", "\\}", input); - input = globalReplace("#", "\\#", input); + input = input.replaceAll(Pattern.quote("]"), "\\\\]"); + input = input.replaceAll(Pattern.quote("["), "\\\\["); + input = input.replaceAll(Pattern.quote("^"), "\\\\^"); + input = input.replaceAll(Pattern.quote("$"), "\\\\$"); + input = input.replaceAll(Pattern.quote("."), "\\\\."); + input = input.replaceAll(Pattern.quote("|"), "\\\\|"); + input = input.replaceAll(Pattern.quote("?"), "\\\\?"); + input = input.replaceAll(Pattern.quote("+"), "\\\\+"); + input = input.replaceAll(Pattern.quote("("), "\\\\("); + input = input.replaceAll(Pattern.quote(")"), "\\\\)"); + input = input.replaceAll(Pattern.quote("-"), "\\\\-"); + input = input.replaceAll(Pattern.quote("{"), "\\\\{"); + input = input.replaceAll(Pattern.quote("}"), "\\\\}"); + input = input.replaceAll(Pattern.quote("#"), "\\\\#"); return input; } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Sep 11 08:44:42 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8050 invoked from network); 11 Sep 2010 08:44:41 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 11 Sep 2010 08:44:41 -0000 Received: (qmail 37897 invoked by uid 500); 11 Sep 2010 08:44:41 -0000 Delivered-To: [email protected] Received: (qmail 37716 invoked by uid 500); 11 Sep 2010 08:44:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 37708 invoked by uid 99); 11 Sep 2010 08:44:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Sep 2010 08:44:39 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ey0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Sep 2010 08:44:32 +0000 Received: by eyb7 with SMTP id 7so2857004eyb.34 for <[email protected]>; Sat, 11 Sep 2010 01:44:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=8Zrl1B4nOEc+/3OcHVMnZ80JRjz2KJ9cqu4FJ9gYJNM=; b=MfPZR3mPQnVU42AsDYqIHV9O/Eps4+fk6Qjxc88tUJrKwdDjhXKmlhCmVnXF3tI3/y DQUmiDxd4jIzs3UM0w1jNgirB3i3jgPGFlIYHR1pp+fgCUy5VL7nOE8WGD4ES98UqYfq W5oSoHtwokBjOOraAH/5VPbFWR68kw5RE9mXU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=kAMSBv54flbD01rEAAWRXMOPQZ0qihIyc6WJNKxIuYBN34V5XV5kZxZ4oc3ERIL3cH ydKMO6LknABKmAHfIMlf+0k+JmR//DGNMCuUYt+FbMXHjUkAcTd22YfIaPpYkQ7oFXHj XVx8aahqEMMbKCAvR2jq+BBxOlpSIHXYsHpcQ= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id m8mr1097408eeh.18.1284194651001; Sat, 11 Sep 2010 01:44:11 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sat, 11 Sep 2010 01:44:10 -0700 (PDT) Date: Sat, 11 Sep 2010 01:44:10 -0700 Message-ID: <[email protected]> Subject: removed ORO from LogFilePatternReceiver From: Scott Deboy <[email protected]> To: Log4J Developers List <[email protected]> Content-Type: multipart/alternative; boundary=90e6ba1819bafed876048ff7dde0 --90e6ba1819bafed876048ff7dde0 Content-Type: text/plain; charset=ISO-8859-1 Just a heads up that I replaced the use of Jakarta ORO (now in the attic) with java.util.regex classes (java 1.4). If anyone wants to test LogFilePatternReceiver or review the code I'd appreciate it. I think this is the last clean-up item that should have been done prior to a release of the companions. Scott --90e6ba1819bafed876048ff7dde0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Just a heads up that I replaced the use of Jakarta ORO (now in the attic) w= ith java.util.regex classes (java 1.4).<br><br>If anyone wants to test LogF= ilePatternReceiver or review the code I&#39;d appreciate it.<br><br>I think= this is the last clean-up item that should have been done prior to a relea= se of the companions.<br> <br>Scott<br> --90e6ba1819bafed876048ff7dde0-- From [email protected] Sat Sep 11 19:49:43 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65198 invoked from network); 11 Sep 2010 19:49:43 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 11 Sep 2010 19:49:43 -0000 Received: (qmail 56342 invoked by uid 500); 11 Sep 2010 19:49:43 -0000 Delivered-To: [email protected] Received: (qmail 56195 invoked by uid 500); 11 Sep 2010 19:49:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 56187 invoked by uid 500); 11 Sep 2010 19:49:42 -0000 Received: (qmail 56184 invoked by uid 99); 11 Sep 2010 19:49:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Sep 2010 19:49:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Sep 2010 19:49:41 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 66949238890A; Sat, 11 Sep 2010 19:49:21 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r996205 - /logging/log4j/companions/receivers/trunk/src/changes/changes.xml Date: Sat, 11 Sep 2010 19:49:21 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: carnold Date: Sat Sep 11 19:49:21 2010 New Revision: 996205 URL: http://svn.apache.org/viewvc?rev=996205&view=rev Log: Bug 43148: Add change notice for move to java.util.regex Modified: logging/log4j/companions/receivers/trunk/src/changes/changes.xml Modified: logging/log4j/companions/receivers/trunk/src/changes/changes.xml URL: http://svn.apache.org/viewvc/logging/log4j/companions/receivers/trunk/src/changes/changes.xml?rev=996205&r1=996204&r2=996205&view=diff ============================================================================== --- logging/log4j/companions/receivers/trunk/src/changes/changes.xml (original) +++ logging/log4j/companions/receivers/trunk/src/changes/changes.xml Sat Sep 11 19:49:21 2010 @@ -26,6 +26,7 @@ </action> <action issue="42171" type="fix">SocketHubReceiver duplicates messages</action> <action issue="49078" action="fix">javadoc.jar was missing NOTICE and LICENSE.</action> + <action issue="43148" action="fix">Change regular expressions from Apache Oro to java.util.regex.</action> </release> </body> </document> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Sep 11 19:50:33 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65293 invoked from network); 11 Sep 2010 19:50:33 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 11 Sep 2010 19:50:33 -0000 Received: (qmail 56605 invoked by uid 500); 11 Sep 2010 19:50:33 -0000 Delivered-To: [email protected] Received: (qmail 56532 invoked by uid 500); 11 Sep 2010 19:50:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 56524 invoked by uid 99); 11 Sep 2010 19:50:32 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Sep 2010 19:50:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Sep 2010 19:50:15 +0000 Received: from thor.apache.org (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8BJns7A029711 for <[email protected]>; Sat, 11 Sep 2010 19:49:54 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o8BJnrIQ029710; Sat, 11 Sep 2010 15:49:53 -0400 (EDT) Date: Sat, 11 Sep 2010 15:49:53 -0400 (EDT) Message-Id: <[email protected]> From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 43148] LogFilePatternReceiver depends on jakarta-oro, could migrate to java.util.regex X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Log4j X-Bugzilla-Component: Other X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: [email protected] X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: [email protected] X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Resolution In-Reply-To: <{{EMAIL+PHONE}}/bugzilla/> References: <{{EMAIL+PHONE}}/bugzilla/> X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=43148 Curt Arnold <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #3 from Curt Arnold <[email protected]> 2010-09-11 15:49:51 EDT --- Fixed by Scott Deboy, rev 996096, change noticed added 996205. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Sep 12 11:25:51 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62014 invoked from network); 12 Sep 2010 11:25:50 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 12 Sep 2010 11:25:50 -0000 Received: (qmail 64622 invoked by uid 500); 12 Sep 2010 11:25:50 -0000 Delivered-To: [email protected] Received: (qmail 63125 invoked by uid 500); 12 Sep 2010 11:25:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 63111 invoked by uid 500); 12 Sep 2010 11:25:45 -0000 Received: (qmail 62961 invoked by uid 99); 12 Sep 2010 11:25:45 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Sep 2010 11:25:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Sep 2010 11:25:26 +0000 Received: from thor.apache.org (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8CBP5ab008775 for <[email protected]>; Sun, 12 Sep 2010 11:25:05 GMT Received: (from root@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o8CBOdqa006006 for [email protected]; Sun, 12 Sep 2010 07:24:39 -0400 (EDT) Date: Sun, 12 Sep 2010 07:24:39 -0400 (EDT) Message-Id: <[email protected]> From: [email protected] To: [email protected] Subject: Bug report for Log4j [2010/09/12] X-Virus-Checked: Checked by ClamAV on apache.org +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement TRV=Trivial | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | |13099|Opn|Nor|2002-09-27|DOMConfigurator ignores category factory setting | |17887|Opn|Maj|2003-03-11|RollingFileAppender does not work for 10 threads | |20395|Inf|Enh|2003-06-01|PreparedStatementAppender Enhancement | |23329|New|Enh|2003-09-22|<logger> element in XML config should support reso| |26084|Inf|Nor|2004-01-13|Log Event detail panel does not show special chara| |27363|Inf|Enh|2004-03-02|JNI based SyslogAppender | |27367|Inf|Enh|2004-03-02|NetSendAppender | |29244|Inf|Nor|2004-05-27|Preserve XML content in log messages when using XM| |29305|New|Nor|2004-05-30|Chainsaw doesn't see locationinfo from XMLSocketRe| |30055|New|Nor|2004-07-12|Problem with registering Appenders with the same n| |30407|Inf|Maj|2004-07-30|Externally rolled file problem | |30888|Inf|Maj|2004-08-27|Chainsaw mixes files in same panel | |30892|New|Min|2004-08-27|Log files cannot be closed | |31089|New|Nor|2004-09-07|Does not accept ISO8601 dates in focus field | |31178|Inf|Cri|2004-09-11|Exception using Chainsaw for simple debugging | |31179|Ass|Enh|2004-09-11|Implement Chainsaw as Eclipse stand-alone applicat| |33278|New|Min|2005-01-27|NPE thrown durring daily log file rollover | |33493|Inf|Enh|2005-02-10|contribution to log4j: servlet diagnostic context | |34440|New|Nor|2005-04-13|sandbox:IMAppender - comma-seperated recipient lis| |34491|Ver|Nor|2005-04-18|Missing include in build.jms target results in mis| |34651|New|Enh|2005-04-27|allow for a header on top of every rolled file | |34738|Inf|Nor|2005-05-04|Chainsaw does not remember what Columns are select| |34945|Inf|Nor|2005-05-17|ThrowableInformation has dubious Stack Trace extra| |34974|Inf|Cri|2005-05-19|Exception when running a Pluglet | |35239|Inf|Nor|2005-06-06|NullPointerException when saving displayed events | |35563|Inf|Enh|2005-06-30|Syslog appender parametrability | |35996|Inf|Enh|2005-08-03|Add support for ant-like <property> in log4j.xml | |36435|New|Enh|2005-08-31|Log4J RollingFileAppender under OpenVMS does not f| |36654|Inf|Min|2005-09-14|Provide better error messages for "Please initiali| |36789|Inf|Nor|2005-09-23|Empty control flow statement in org.apache.log4j.l| |37349|Ass|Nor|2005-11-03|DBAppender not working with jTDS driver | |37638|New|Nor|2005-11-25|logging doesn't fall back with FallbackErrorHandle| |37734|New|Nor|2005-12-01|Customize Event ID and Event Category with NTEVent| |38363|Ass|Nor|2006-01-24|SecurityException during log output | |38394|Ver|Enh|2006-01-26|PropertySetter fails to print stacktrace if error | |38395|Ver|Reg|2006-01-26|Unable to set threshold on appender via config fil| |38406|Ver|Nor|2006-01-26|jdk1.4 dependencies in log4j 1.3 alpha | |38513|New|Nor|2006-02-05|[PATCH] Suggested unit test for JMSAppender | |38582|Ass|Nor|2006-02-08|Chainsaw does not include Receiver JavaDoc in dist| |38590|Inf|Nor|2006-02-09|no space on device fails another instance | |38883|Opn|Nor|2006-03-07|LogFilePatternReceiver fails to process multi-line| |39690|Inf|Cri|2006-05-31|Initialization fail in J2EE Environment | |39691|Ass|Nor|2006-05-31|DBAppender doesn't log long events | |40068|New|Nor|2006-07-18|Add support for attach-on-demand API to chainsaw | |40251|Opn|Min|2006-08-14|Hard coded JMX domain name for MBean instances | |40382|Inf|Maj|2006-09-01|Sysappender hangs during boot time on HP | |40385|Inf|Maj|2006-09-01|SocketServer cannot find config file when passed a| |40472|New|Nor|2006-09-11|SettingsManager calls loadSettings with global set| |40533|New|Nor|2006-09-18|Chainsaw not showing all logging statements | |40570|Inf|Blk|2006-09-21|RollingFileAppender does not rollover when the fil| |40611|New|Trv|2006-09-27|Bad subclass example; NullPointerException in Logg| |40736|Inf|Nor|2006-10-11|log4j delete permission denied | |40889|Inf|Nor|2006-11-03|repeated entries in log after failure | |40990|Inf|Nor|2006-11-17|Cannot bind port or ip address for outgoing UDP so| |41006|Inf|Enh|2006-11-20|Contributing XMLSocketHubReceiver | |41214|Ass|Maj|2006-12-19|Deadlock with RollingFileAppender | |41311|Inf|Min|2007-01-06|Please make TimeBasedRollingPolicy non-final? | |41547|Inf|Nor|2007-02-05|PropertyConfigurator and layout.contentType | |41799|New|Enh|2007-03-09|SyslogAppender should enable to customize Log4j.Le| |41882|Inf|Nor|2007-03-18|IE7 problems with Log4J web site | |41937|New|Nor|2007-03-23|Logs from some panels missing in custom expression| |41980|Inf|Maj|2007-03-29|Log4j stop updating log file- version log4j-1.2.8 | |42189|Ass|Nor|2007-04-22|Add simple bridge for java.util.logging, with basi| |42213|Opn|Blk|2007-04-24|log4j causing threads to stuck in weblogic | |42516|Inf|Nor|2007-05-24|Log4j failed to log file when packaged in Eclipse | |42664|New|Enh|2007-06-14|JUL Appender | |42883|Opn|Nor|2007-07-12|'Welcome' and 'Drag & Drop' panels can't be hidden| |42933|Inf|Maj|2007-07-18|IllegalStateException thrown from FileAppender.clo| |43282|Opn|Nor|2007-08-31|Add OSGi packaging info to log4j and companions | |43313|Ass|Nor|2007-09-05|log4j 1.2.16 release considerations and discussion| |43403|Inf|Nor|2007-09-16|PatternLayout: new format modifer: prefix if non-e| |43619|New|Enh|2007-10-13|Simple proposal for pluggable sys-props resolvers | |43637|Inf|Nor|2007-10-16|SocketAppender.append(LoggingEvent) calls the Erro| |43728|Inf|Cri|2007-10-29|Log file loss when specified file is locked by ano| |43736|Ass|Nor|2007-10-30|Chainsaw does not honor encoding when loading XML | |43820|New|Enh|2007-11-08|[PATCH] Layered Configurator Patch | |43879|Inf|Nor|2007-11-16|FileAppender writes Header multiple times | |43911|Inf|Nor|2007-11-20|logfiles not getting rolled over with RollingFileA| |43923|Inf|Min|2007-11-21|JBOSS specific information in javadocs | |44219|Inf|Nor|2008-01-13|'WARNING' for a log level is silently ignored/chan| |44308|New|Enh|2008-01-28|[Patch] JMX component for managing Logger configur| |44370|Inf|Reg|2008-02-06|MANIFEST.MF broken in log4j-1.2.15.jar | |44386|Opn|Nor|2008-02-10|NTEventLogAppender.dll for windows 64 | |44526|Inf|Nor|2008-03-04|segmentation fault occuring when PropertyConfigura| |44557|Inf|Nor|2008-03-07|no close call to Appender after replacing the root| |44649|Inf|Nor|2008-03-20|JMS Hangs when a Root Appender | |44700|Inf|Nor|2008-03-28|Log4J locks rolled log files | |44727|Inf|Nor|2008-04-01|Add missing Logger#isErrorEnabled and isWarningEna| |44834|Inf|Nor|2008-04-17|SimpleSocketServer looses buffered logs, produces | |44839|Inf|Nor|2008-04-17|SyslogAppender logging to a UNIX domain socket | |44932|New|Cri|2008-05-05|improve DailyRollingFileAppender handling of rotat| |44934|Inf|Enh|2008-05-05|add helper method to DailyRollingFileAppender to g| |45042|New|Nor|2008-05-19|Need a reliable way to detect misconfiguration | |45109|Inf|Nor|2008-05-31|SMTPAppender uses wrong property for mail server | |45165|Ass|Enh|2008-06-09|Multifile Appender | |45231|Ass|Nor|2008-06-18|Clear appenders call on logger calls a helper whic| |45236|Inf|Cri|2008-06-19|Wriring output to an out-dated file. | |45304|Inf|Nor|2008-06-29|using log4j with OAS for some reasone all the logg| |45482|Inf|Min|2008-07-25|Source contains unused variables | |45629|New|Nor|2008-08-13|TopicConnection is not closed | |45753|New|Nor|2008-09-06|Code contribution: BurstFilter for extras | |45781|New|Nor|2008-09-11|RollingFileAppender under Windows does not rotate | |45855|New|Enh|2008-09-21|Add site/apt documentation for JULBridgeLogManager| |45932|New|Nor|2008-10-01|Log4j JMX MBeans not cleaned up | |45934|New|Enh|2008-10-02|FileAppender should use virtual-machine shutdown h| |45939|New|Nor|2008-10-02|Cannot drop HierarchyDynamicMBean from LoggerRepos| |46100|New|Enh|2008-10-27|NagiosAppender available for contribution | |46260|Inf|Nor|2008-11-21|RollingFileAppender and Tomcat has a strange behav| |46426|Ass|Nor|2008-12-20|Implement commons-logging interfaces natively in l| |46514|New|Nor|2009-01-12|provide API to re-init log4j | |46533|New|Enh|2009-01-14|Deamon Thread | |46570|New|Nor|2009-01-20|DailyRollingFileAppender rolls logs into files dat| |46573|Inf|Maj|2009-01-21|MDC attributes cant't be displayed on Chainsaw | |46592|Opn|Trv|2009-01-23|trim() on property file entries | |46626|New|Enh|2009-01-29|Log4J 1.2.15 SyslogAppender doesn't not handle TAG| |46691|New|Nor|2009-02-10|log4j file rolling over on restart of the server | |46804|New|Enh|2009-03-05|create the method PropertyConfigurator.configureAn| |46868|New|Nor|2009-03-17|SocketHUBAppender: Allow restriction of binding to| |46878|New|Cri|2009-03-19|Deadlock in 1.2.15 caused by AsyncAppender and Thr| |46941|New|Enh|2009-03-31|Sub Level Logging Technique | |46983|New|Enh|2009-04-07|More Debug output for log4j auto-configure request| |47004|Inf|Nor|2009-04-08|log messages occasionally sharing a line | |47123|New|Blk|2009-04-29|TimeBasedRollingPolicy appends logs into a old log| |47141|Inf|Enh|2009-05-02|add getCyclicBuffer() method to log4j SMTPAppender| |47164|New|Enh|2009-05-07|HTMLLayout replace newline with <BR> | |47208|New|Enh|2009-05-17|Better Default colours for Log Panel Color Filter | |47357|New|Min|2009-06-11|Declaring logger and category with same name cause| |47575|Inf|Nor|2009-07-24|GZipping large files stops logging | |47595|Opn|Nor|2009-07-28|[companion] POMs of companions have problems | |47703|New|Nor|2009-08-18|Object rendering ought to be done outside synchron| |47713|Inf|Nor|2009-08-20|SMTPAppender system properties propagation issue | |47740|Inf|Nor|2009-08-26|log4j 1.2.15 deadlock RootAppender NDC | |47883|New|Nor|2009-09-21|Lines dropped with UseNewHashFunction | |47898|Inf|Maj|2009-09-24|DailyRollingFileAppender unable to create backup l| |47960|New|Min|2009-10-08|CompositeAppender contribution | |48027|Inf|Cri|2009-10-20|Logger statements in a particular class file is no| |48141|Inf|Cri|2009-11-05|Log file rotation issue in Linux VM | |48209|New|Nor|2009-11-17|Websphere 6.0: logging statements appear in the SY| |48220|New|Min|2009-11-18|LoggingEvent.mdcCopy serialization with non-serial| |48244|New|Min|2009-11-19|Socket Server configuration does not handle not re| |48356|New|Nor|2009-12-08|Download page does not have link to KEYS file | |48365|New|Maj|2009-12-10|Log4J DailyRollingFileAppender sometimes does not | |48430|New|Nor|2009-12-22|log4j:ERROR Write failure. java.io.IOException: St| |48502|New|Cri|2010-01-07|Issue: Rotation file is not getting created - Roll| |48527|New|Maj|2010-01-11|maven metadata is out of date | |48583|New|Enh|2010-01-20|allow format of timestamp (first column of log fil| |48607|New|Cri|2010-01-25|Log levels are not displayed corectly | |48679|New|Nor|2010-02-04|performance of getEffectiveLevel can be significan| |48704|New|Nor|2010-02-08|Multiple Java Process in Cluster Logging to the sa| |48802|New|Nor|2010-02-23|Log4j not writting. | |48820|New|Nor|2010-02-26|JDBCAppender inserts the current MDC values for th| |48986|New|Nor|2010-03-25|RollingFileAppender.rollOver() calls this.setFile | |49003|New|Nor|2010-03-27|SocketServerTestCase.test8 fails on Apache Harmony| |49071|New|Nor|2010-04-08|1.2.16 isn't available for download | |49077|New|Nor|2010-04-09|Prepare smaller jar omitting LF5 and Chainsaw 1 | |49177|New|Enh|2010-04-23|SyslogAppender: Make the maximum package size conf| |49229|New|Trv|2010-04-29|build.xml reference wrong javax mail version, shou| |49243|New|Min|2010-05-04|Fix one BZ number in Changelog of 1.2.16 | |49247|New|Enh|2010-05-04|Add option for persistent/non-persistent delivery | |49248|New|Min|2010-05-04|javadoc for org.apache.log4j.rolling.FixedWindowRo| |49265|New|Nor|2010-05-07|log4j - java.io.OptionalDataException | |49307|New|Nor|2010-05-18|unusable error message when log4j.xml has a duplic| |49329|New|Nor|2010-05-23|Smart and compact formatting of package/class name| |49349|New|Nor|2010-05-27|LoggingEvent stoped coming with AsyncAppender | |49353|New|Nor|2010-05-28|[patch] change logfactor userdir name to hidden di| |49354|New|Nor|2010-05-28|XMLLayout writes illegal characters to XML file | |49359|New|Nor|2010-05-29|Log4j site should have some mention of git mirrori| |49390|New|Nor|2010-06-05|1.0 releases of log4j companions component and rec| |49421|New|Maj|2010-06-10|Chainsaw don't show Logger for SocketReceiver and | |49470|New|Nor|2010-06-19|log4j 1.2.17 release | |49471|New|Enh|2010-06-19|Add CDATA parameter to XmlLayout | |49481|New|Maj|2010-06-21|Log4j stops writting to file, and then causes serv| |49489|New|Enh|2010-06-22|Ability to filter on several loggers | |49563|New|Min|2010-07-06|New SMTPProtocol and SMTPPort not recognized | |49571|New|Enh|2010-07-08|refreshing log4j - reconfigurable from log4j.prope| |49592|New|Cri|2010-07-14|477 All Attributes Not Set | |49597|New|Min|2010-07-15|The log4j.dtd is to restrictive | |49693|New|Cri|2010-08-03|Intermittently Log4j fails to bind with log file | |49797|New|Enh|2010-08-22|AsyncAppenders Enchancement | |49852|New|Enh|2010-08-31|Allow log files to rollover at any specified time | |49853|New|Enh|2010-08-31|Adding loggers to the configuration | |49854|New|Nor|2010-08-31|Documentation | |49899|New|Nor|2010-09-08|PatternLayout and EnhancedPatternLayout issues wit| +-----+---+---+----------+--------------------------------------------------+ | Total 183 bugs | +---------------------------------------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Sep 13 12:33:51 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64355 invoked from network); 13 Sep 2010 12:33:50 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 13 Sep 2010 12:33:50 -0000 Received: (qmail 64356 invoked by uid 500); 13 Sep 2010 12:33:50 -0000 Delivered-To: [email protected] Received: (qmail 63370 invoked by uid 500); 13 Sep 2010 12:33:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 62630 invoked by uid 99); 13 Sep 2010 12:33:47 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 12:33:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 12:33:29 +0000 Received: from thor.apache.org (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8DCX8FO027375 for <[email protected]>; Mon, 13 Sep 2010 12:33:08 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o8DCX726027374; Mon, 13 Sep 2010 08:33:07 -0400 (EDT) Date: Mon, 13 Sep 2010 08:33:07 -0400 (EDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 49920] New: DailyRollingFileAppender.rollOver() might leave superclass's WriterAppender.qw as null causing NullPointerExceptions when logging events X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Log4j X-Bugzilla-Component: Appender X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: [email protected] X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: [email protected] X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: <[email protected]/bugzilla/> X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=49920 Summary: DailyRollingFileAppender.rollOver() might leave superclass's WriterAppender.qw as null causing NullPointerExceptions when logging events Product: Log4j Version: 1.2 Platform: PC OS/Version: Linux Status: NEW Severity: major Priority: P2 Component: Appender AssignedTo: [email protected] ReportedBy: [email protected] DailyRollingFileAppender.rollOver() method catch a FileNotFoundException from FileAppender superclass setFile method: this.setFile(fileName, true, this.bufferedIO, this.bufferSize); When this exception is thrown, WriterAppender.qw might be left as null causing all further subAppend(LoggingEvent) invocations failed with NullPointerException. I noticed that setFile might fail with FileNotFoundException when the filesystem is full and even an empty file cannot be created. The scenario is as follows (code from http://repo1.maven.org/maven2/log4j/log4j/1.2.16/log4j-1.2.16-sources.jar): 1. current log file name is "test.log" 2. a filesystem where test.log is kept become full 3. DailyRollingFileAppender.rollOver() method successfully closes current (test.log) file and successfully renames it to a timestamped file (test.log.yyyy-MM-dd) 4. DailyRollingFileAppender.rollOver() calls setFile from FileAppender superclass to open the current log file (test.log) again. When setFile is called that file doesn't exist as it was previously renamed to a timestamped filename. Following code from FileAppender.setFile(...) will throw FileNotFoundException: FileOutputStream ostream = null; try { // // attempt to create file // ostream = new FileOutputStream(fileName, append); } catch(FileNotFoundException ex) { // // if parent directory does not exist then // attempt to create it and try to create file // see bug 9150 // String parentName = new File(fileName).getParent(); if (parentName != null) { File parentDir = new File(parentName); if(!parentDir.exists() && parentDir.mkdirs()) { ostream = new FileOutputStream(fileName, append); } else { throw ex; } } else { throw ex; } } FileNotFoundException can be thrown if it is impossible to create a new empty file when the filesystem is full. 5. DailyRollingFileAppender.rollOver() will catch that exception and log it using error handler and then continue its flow. It will leave its QuietWriter qw field set to null. Each next logging event passed to subAppend method will cause NullPointerException (and in case of AsyncAppender calling it will cause AsyncAppender async thread to die as it doesn't catch NPE). -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Sep 15 00:48:20 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60032 invoked from network); 15 Sep 2010 00:48:20 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 15 Sep 2010 00:48:20 -0000 Received: (qmail 27877 invoked by uid 500); 15 Sep 2010 00:48:20 -0000 Delivered-To: [email protected] Received: (qmail 27763 invoked by uid 500); 15 Sep 2010 00:48:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 27755 invoked by uid 99); 15 Sep 2010 00:48:19 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Sep 2010 00:48:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Sep 2010 00:48:01 +0000 Received: from thor.apache.org (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8F0leC8026515 for <[email protected]>; Wed, 15 Sep 2010 00:47:40 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o8F0ldth026514; Tue, 14 Sep 2010 20:47:39 -0400 (EDT) Date: Tue, 14 Sep 2010 20:47:39 -0400 (EDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 49932] New: Additional OSGI/BND configuration elements X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Log4j X-Bugzilla-Component: Other X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: [email protected] X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: [email protected] X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: <[email protected]/bugzilla/> X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=49932 Summary: Additional OSGI/BND configuration elements Product: Log4j Version: 1.2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Other AssignedTo: [email protected] ReportedBy: [email protected] Some additional elements are required in the maven-bundle-plugin configuration. We should get off on the right foot and set this as recommended in the OSGI spec. The plugin tries to compose it from the groupId and artifactId (and arrives at "log4j"): <Bundle-SymbolicName>org.apache.log4j</Bundle-SymbolicName> The following is needed so that log4j.properties/xml files are externally accessible and also so that log4j can see user's .class files: <Eclipse-BuddyPolicy>registered</Eclipse-BuddyPolicy> ... and it appears to be conventional to set this: <Bundle-RequiredExecutionEnvironment>J2SE-1.4</Bundle-RequiredExecutionEnvironment> -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Sep 16 12:20:59 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47874 invoked from network); 16 Sep 2010 12:20:59 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 16 Sep 2010 12:20:59 -0000 Received: (qmail 66151 invoked by uid 500); 16 Sep 2010 12:20:59 -0000 Delivered-To: [email protected] Received: (qmail 65955 invoked by uid 500); 16 Sep 2010 12:20:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 65938 invoked by uid 99); 16 Sep 2010 12:20:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Sep 2010 12:20:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Sep 2010 12:20:53 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8GCKX4Y022015 for <[email protected]>; Thu, 16 Sep 2010 12:20:33 GMT Message-ID: <16179902.226691284639633315.JavaMail.jira@thor> Date: Thu, 16 Sep 2010 08:20:33 -0400 (EDT) From: "Lukasz Wielek (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (LOG4J2-43) Allow DailyRollingFile appender to rollover programmatically MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Allow DailyRollingFile appender to rollover programmatically ------------------------------------------------------------- Key: LOG4J2-43 URL: https://issues.apache.org/jira/browse/LOG4J2-43 Project: Log4j 2 Issue Type: New Feature Components: Appenders Reporter: Lukasz Wielek Priority: Minor Allow DailyRollingFile appender to rollover programmatically without appending any new log event. This will allow log file rollover, in case there's no messages to be logged for a long time, but the current log file needs to be backed up. I think making the rollOver method public would be sufficient :) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Sep 16 13:27:07 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74831 invoked from network); 16 Sep 2010 13:27:06 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 16 Sep 2010 13:27:06 -0000 Received: (qmail 57880 invoked by uid 500); 16 Sep 2010 13:27:05 -0000 Delivered-To: [email protected] Received: (qmail 57420 invoked by uid 500); 16 Sep 2010 13:27:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 57409 invoked by uid 99); 16 Sep 2010 13:26:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Sep 2010 13:26:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Sep 2010 13:26:55 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8GDQY5b023225 for <[email protected]>; Thu, 16 Sep 2010 13:26:34 GMT Message-ID: <30103612.229051284643594085.JavaMail.jira@thor> Date: Thu, 16 Sep 2010 09:26:34 -0400 (EDT) From: "Lukasz Wielek (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (LOG4J2-43) Allow DailyRollingFile appender to rollover programmatically In-Reply-To: <16179902.226691284639633315.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LOG4J2-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12910148#action_12910148 ] Lukasz Wielek commented on LOG4J2-43: ------------------------------------- Looks like making rollOver public will not be sufficient. I think it is required to add forceRollOver method which will include code similar to subAppend method: public void forceRollOver() { long n = System.currentTimeMillis(); if (n >= nextCheck) { now.setTime(n); nextCheck = rc.getNextCheckMillis(now); try { rollOver(); } catch (IOException ioe) { LogLog.error("rollOver() failed.", ioe); } } } > Allow DailyRollingFile appender to rollover programmatically > ------------------------------------------------------------- > > Key: LOG4J2-43 > URL: https://issues.apache.org/jira/browse/LOG4J2-43 > Project: Log4j 2 > Issue Type: New Feature > Components: Appenders > Reporter: Lukasz Wielek > Priority: Minor > > Allow DailyRollingFile appender to rollover programmatically without appending any new log event. > This will allow log file rollover, in case there's no messages to be logged for a long time, > but the current log file needs to be backed up. > I think making the rollOver method public would be sufficient :) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Sep 17 06:31:49 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22538 invoked from network); 17 Sep 2010 06:31:48 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 17 Sep 2010 06:31:48 -0000 Received: (qmail 36048 invoked by uid 500); 17 Sep 2010 06:31:48 -0000 Delivered-To: [email protected] Received: (qmail 35719 invoked by uid 500); 17 Sep 2010 06:31:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 35702 invoked by uid 99); 17 Sep 2010 06:31:44 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Sep 2010 06:31:44 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qy0-f182.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Sep 2010 06:31:15 +0000 Received: by qyk4 with SMTP id 4so2325752qyk.13 for <multiple recipients>; Thu, 16 Sep 2010 23:30:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=oFkeeBHA3BV0cdy4392TpZf1rk4Qa+m85uPy0B1Eo+c=; b=EY3RqIaEwwkKcNFwH3C61uu7waZXA8yR9sfQDcGoOE4zMAH9iDjpSrEFuiKkAGZ2U2 HsV3xf3SEqDvmcydiv9ETYK0mSVOq+VxrDKmeXzSnEq5KoQKim120V6A7r1MOMu7aJv3 PR5mu5yeNe90x5ORqT7vdoUrkxb9jH0uBPR8Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:content-type:content-transfer-encoding:subject:date :message-id:to:mime-version:x-mailer; b=s6WjZRNEHALPdkhCXE53B1PYHqI4X1qEi7aC/GLL6z+5l7sPIM3Fkkg3X9UJ7Jt+Iq 3O+DlwcSjdCjhZ+RkHarlbq6SRrKZRzkoeUQGK7rQpQYhpKqc7727t8smuPKTYdqGPE9 vv6N0HH6As3wFia22hXkdpEHGmPA7VN0jyHqE= Received: by 161.129.204.104 with SMTP id n40mr2954004qak.306.1284705053207; Thu, 16 Sep 2010 23:30:53 -0700 (PDT) Received: from [161.129.204.104] ([161.129.204.104]) by mx.google.com with ESMTPS id q8sm3809750qcs.12.2161.129.204.104.30.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 16 Sep 2010 23:30:52 -0700 (PDT) Sender: Curt Arnold <[email protected]> From: Curt Arnold <[email protected]> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Newest development: Isabella Claire Arnold Date: Fri, 17 Sep 2010 01:30:49 -0500 Message-Id: <[email protected]> To: Log4J Developers List <[email protected]>, Log4CXX Dev <[email protected]> Mime-Version: 1.0 (Apple Message framework v1081) X-Mailer: Apple Mail (2.1081) X-Virus-Checked: Checked by ClamAV on apache.org Isabella Claire Arnold was born on September 14th at 1:55 PM. Mom is a = little sore and daughter is getting a little extra oxygen and IV = feeding, but is expected to be on her own soon.= --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Sep 17 06:34:16 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23311 invoked from network); 17 Sep 2010 06:34:15 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 17 Sep 2010 06:34:15 -0000 Received: (qmail 39954 invoked by uid 500); 17 Sep 2010 06:34:15 -0000 Delivered-To: [email protected] Received: (qmail 39770 invoked by uid 500); 17 Sep 2010 06:34:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 39762 invoked by uid 99); 17 Sep 2010 06:34:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Sep 2010 06:34:12 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f47.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Sep 2010 06:34:05 +0000 Received: by ewy7 with SMTP id 7so1290262ewy.34 for <[email protected]>; Thu, 16 Sep 2010 23:33:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=6mrlrS9kn8Ug2FKXbcGXtRsl3tZRt6kbshKJa6KRoE0=; b=Xg18zjOrXNcCSfEuDMqdqWgvNwDgd++n75GrzGoHccVGCZelqfZccafBfJe2zvVtzY ntO8MnC5OT2r01qi9fp4Q2N2OIfFonMa2PYB7QRriD+djWU2UcaEIr6kMRuokk1HO8Q9 P+uN6FYT0YZ5E8f6TEkym6av+GajgXco2ocDU= 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=GfSuZUEqW0TqVAaE6mFMvSZ+9rLihfU5IC68X4LxF6eAZwDUNTyObvwJetjOcwMlze Oma9AxKQsvhGjorVh5rGjJKBsVVDMSgxwZIJrQlBGrEjSIj/HtJiqcqhCEVrjQScTuKY hXMt9+tnlcwQ3FSYyAuZDb6A6eqbwkKD2AyW0= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id q7mr3358975ebe.4.1284705224427; Thu, 16 Sep 2010 23:33:44 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 16 Sep 2010 23:33:44 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Thu, 16 Sep 2010 23:33:44 -0700 Message-ID: <[email protected]> Subject: Re: Newest development: Isabella Claire Arnold From: Scott Deboy <[email protected]> To: Log4J Developers List <[email protected]> Content-Type: multipart/alternative; boundary=001636026f678b23f304906ebe02 --001636026f678b23f304906ebe02 Content-Type: text/plain; charset=ISO-8859-1 Congratulations! On Thu, Sep 16, 2010 at 11:30 PM, Curt Arnold <[email protected]> wrote: > Isabella Claire Arnold was born on September 14th at 1:55 PM. Mom is a > little sore and daughter is getting a little extra oxygen and IV feeding, > but is expected to be on her own soon. > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --001636026f678b23f304906ebe02 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Congratulations!=A0 <br><br><div class=3D"gmail_quote">On Thu, Sep 16, 2010= at 11:30 PM, Curt Arnold <span dir=3D"ltr">&lt;<a href=3D"mailto:carnold@a= pache.org">[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D= "gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rg= b(204, 204, 204); padding-left: 1ex;"> Isabella Claire Arnold was born on September 14th at 1:55 PM. =A0Mom is a l= ittle sore and daughter is getting a little extra oxygen and IV feeding, bu= t is expected to be on her own soon.<br> ---------------------------------------------------------------------<br> To unsubscribe, e-mail: <a href=3D"mailto:[email protected]= che.org">[email protected]</a><br> For additional commands, e-mail: <a href=3D"mailto:[email protected]= pache.org">[email protected]</a><br> <br> </blockquote></div><br> --001636026f678b23f304906ebe02-- From [email protected] Fri Sep 17 08:36:53 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59538 invoked from network); 17 Sep 2010 08:36:53 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 17 Sep 2010 08:36:53 -0000 Received: (qmail 79808 invoked by uid 500); 17 Sep 2010 08:36:53 -0000 Delivered-To: [email protected] Received: (qmail 79621 invoked by uid 500); 17 Sep 2010 08:36:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 79612 invoked by uid 99); 17 Sep 2010 08:36:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Sep 2010 08:36:50 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qy0-f182.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Sep 2010 08:36:43 +0000 Received: by qyk4 with SMTP id 4so2444757qyk.13 for <[email protected]>; Fri, 17 Sep 2010 01:36:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=mb8yNB2bH03bg9pIUt8/L7ieABShBWiXQk1EljgMma8=; b=QOeRCB6GNo3HefhiOe+uY3KQCiThN/0sC3mjGZtpNEm7Ml+wnhGc/nNCZWZ9VeYPeq axiz+G8lLVqYizRX6s9g9gdxfgLxVPgOV/nmH1ekxPG+UzOPXVQpyJxSvHe4cnE34cIc m1WcXt7KSCLHsQTOQ2Uu3K4Ig7azAexZFz4mY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=PmjqmCV7MpnPhw6Nz6ReKLAQvhL2x6PwgD/Szwubivms0BchJkffEkCrGznb4NBfO9 MksdkyssNxEb63jl63ZiSuwd5t/AP/ed5osrY7VubxTuOPSIS0XaFnjl+T47DwRU6ETy sb1m0FvgTyNqnKjLd2WC8EEitHRJaf/qeQCJk= Received: by 161.129.204.104 with SMTP id i37mr2297438vcs.223.1284712582413; Fri, 17 Sep 2010 01:36:22 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Fri, 17 Sep 2010 01:36:02 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> From: Christian Grobmeier <[email protected]> Date: Fri, 17 Sep 2010 10:36:02 +0200 Message-ID: <[email protected]> Subject: Re: Newest development: Isabella Claire Arnold To: Log4J Developers List <[email protected]> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Great news! Congrats! On Fri, Sep 17, 2010 at 8:30 AM, Curt Arnold <[email protected]> wrote: > Isabella Claire Arnold was born on September 14th at 1:55 PM. =C2=A0Mom i= s a little sore and daughter is getting a little extra oxygen and IV feedin= g, but is expected to be on her own soon. > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Sep 17 13:17:31 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39052 invoked from network); 17 Sep 2010 13:17:31 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 17 Sep 2010 13:17:31 -0000 Received: (qmail 57410 invoked by uid 500); 17 Sep 2010 13:17:31 -0000 Delivered-To: [email protected] Received: (qmail 57224 invoked by uid 500); 17 Sep 2010 13:17:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 57216 invoked by uid 99); 17 Sep 2010 13:17:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Sep 2010 13:17:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-pz0-f47.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Sep 2010 13:17:20 +0000 Received: by pzk37 with SMTP id 37so726213pzk.34 for <[email protected]>; Fri, 17 Sep 2010 06:17:00 -0700 (PDT) Received: by 161.129.204.104 with SMTP id a20mr4123656wfb.196.1284729420008; Fri, 17 Sep 2010 06:17:00 -0700 (PDT) Received: from [161.129.204.104] (cpe-75-82-178-177.socal.res.rr.com [161.129.204.104]) by mx.google.com with ESMTPS id v3sm2535119wfv.23.2161.129.204.104.16.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 17 Sep 2010 06:16:59 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: Newest development: Isabella Claire Arnold From: Ralph Goers <[email protected]> In-Reply-To: <[email protected]> Date: Fri, 17 Sep 2010 06:16:56 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <[email protected]> References: <[email protected]> To: "Log4J Developers List" <[email protected]> X-Mailer: Apple Mail (2.1081) Congratulations! Ralph On Sep 16, 2010, at 11:30 PM, Curt Arnold wrote: > Isabella Claire Arnold was born on September 14th at 1:55 PM. Mom is = a little sore and daughter is getting a little extra oxygen and IV = feeding, but is expected to be on her own soon. > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Sep 17 16:37:27 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13473 invoked from network); 17 Sep 2010 16:37:26 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 17 Sep 2010 16:37:26 -0000 Received: (qmail 23051 invoked by uid 500); 17 Sep 2010 16:37:25 -0000 Delivered-To: [email protected] Received: (qmail 22552 invoked by uid 500); 17 Sep 2010 16:37:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 22531 invoked by uid 99); 17 Sep 2010 16:37:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Sep 2010 16:37:20 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO g2host.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Sep 2010 16:37:11 +0000 Received: from [161.129.204.104] (account [email protected]) by mailback2.g2host.com (CommuniGate Pro WEBUSER 5.1.16) with HTTP id 21697072 for [email protected]; Fri, 17 Sep 2010 11:36:50 -0500 From: "Jacob Kjome" <[email protected]> Subject: Re: Newest development: Isabella Claire Arnold To: "Log4J Developers List" <[email protected]> X-Mailer: CommuniGate Pro WebUser v5.1.16 Date: Fri, 17 Sep 2010 11:36:50 -0500 Message-ID: <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1;format="flowed" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Great news Curt.  Congratulations! Jake On Fri, 17 Sep 2010 01:30:49 -0500 Curt Arnold <[email protected]> wrote: > Isabella Claire Arnold was born on September 14th at 1:55 PM. Mom is a >little sore and daughter is getting a little extra oxygen and IV feeding, but >is expected to be on her own soon. > --------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Sep 17 18:18:48 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61962 invoked from network); 17 Sep 2010 18:18:47 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 17 Sep 2010 18:18:47 -0000 Received: (qmail 7852 invoked by uid 500); 17 Sep 2010 18:18:47 -0000 Delivered-To: [email protected] Received: (qmail 7701 invoked by uid 500); 17 Sep 2010 18:18:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 7693 invoked by uid 99); 17 Sep 2010 18:18:46 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Sep 2010 18:18:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Sep 2010 18:18:29 +0000 Received: from thor.apache.org (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8HII7ZO017635 for <[email protected]>; Fri, 17 Sep 2010 18:18:07 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o8HII7wO017634; Fri, 17 Sep 2010 14:18:07 -0400 (EDT) Date: Fri, 17 Sep 2010 14:18:07 -0400 (EDT) Message-Id: <[email protected]> From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 48356] Download page does not have link to KEYS file X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Log4j X-Bugzilla-Component: Other X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: [email protected] X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: [email protected] X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Resolution In-Reply-To: <[email protected]/bugzilla/> References: <[email protected]/bugzilla/> X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=48356 Sebb <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Sebb <[email protected]> 2010-09-17 14:18:05 EDT --- Seems to have been fixed -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Sep 19 11:25:28 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8440 invoked from network); 19 Sep 2010 11:25:28 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 19 Sep 2010 11:25:28 -0000 Received: (qmail 35915 invoked by uid 500); 19 Sep 2010 11:25:28 -0000 Delivered-To: [email protected] Received: (qmail 35179 invoked by uid 500); 19 Sep 2010 11:25:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 35156 invoked by uid 500); 19 Sep 2010 11:25:22 -0000 Received: (qmail 35150 invoked by uid 99); 19 Sep 2010 11:25:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Sep 2010 11:25:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Sep 2010 11:25:20 +0000 Received: from thor.apache.org (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8JBP0va014151 for <[email protected]>; Sun, 19 Sep 2010 11:25:00 GMT Received: (from root@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o8JBOZXT011370 for [email protected]; Sun, 19 Sep 2010 07:24:35 -0400 (EDT) Date: Sun, 19 Sep 2010 07:24:35 -0400 (EDT) Message-Id: <[email protected]> From: [email protected] To: [email protected] Subject: Bug report for Log4j [2010/09/19] +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement TRV=Trivial | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | |13099|Opn|Nor|2002-09-27|DOMConfigurator ignores category factory setting | |17887|Opn|Maj|2003-03-11|RollingFileAppender does not work for 10 threads | |20395|Inf|Enh|2003-06-01|PreparedStatementAppender Enhancement | |23329|New|Enh|2003-09-22|<logger> element in XML config should support reso| |26084|Inf|Nor|2004-01-13|Log Event detail panel does not show special chara| |27363|Inf|Enh|2004-03-02|JNI based SyslogAppender | |27367|Inf|Enh|2004-03-02|NetSendAppender | |29244|Inf|Nor|2004-05-27|Preserve XML content in log messages when using XM| |29305|New|Nor|2004-05-30|Chainsaw doesn't see locationinfo from XMLSocketRe| |30055|New|Nor|2004-07-12|Problem with registering Appenders with the same n| |30407|Inf|Maj|2004-07-30|Externally rolled file problem | |30888|Inf|Maj|2004-08-27|Chainsaw mixes files in same panel | |30892|New|Min|2004-08-27|Log files cannot be closed | |31089|New|Nor|2004-09-07|Does not accept ISO8601 dates in focus field | |31178|Inf|Cri|2004-09-11|Exception using Chainsaw for simple debugging | |31179|Ass|Enh|2004-09-11|Implement Chainsaw as Eclipse stand-alone applicat| |33278|New|Min|2005-01-27|NPE thrown durring daily log file rollover | |33493|Inf|Enh|2005-02-10|contribution to log4j: servlet diagnostic context | |34440|New|Nor|2005-04-13|sandbox:IMAppender - comma-seperated recipient lis| |34491|Ver|Nor|2005-04-18|Missing include in build.jms target results in mis| |34651|New|Enh|2005-04-27|allow for a header on top of every rolled file | |34738|Inf|Nor|2005-05-04|Chainsaw does not remember what Columns are select| |34945|Inf|Nor|2005-05-17|ThrowableInformation has dubious Stack Trace extra| |34974|Inf|Cri|2005-05-19|Exception when running a Pluglet | |35239|Inf|Nor|2005-06-06|NullPointerException when saving displayed events | |35563|Inf|Enh|2005-06-30|Syslog appender parametrability | |35996|Inf|Enh|2005-08-03|Add support for ant-like <property> in log4j.xml | |36435|New|Enh|2005-08-31|Log4J RollingFileAppender under OpenVMS does not f| |36654|Inf|Min|2005-09-14|Provide better error messages for "Please initiali| |36789|Inf|Nor|2005-09-23|Empty control flow statement in org.apache.log4j.l| |37349|Ass|Nor|2005-11-03|DBAppender not working with jTDS driver | |37638|New|Nor|2005-11-25|logging doesn't fall back with FallbackErrorHandle| |37734|New|Nor|2005-12-01|Customize Event ID and Event Category with NTEVent| |38363|Ass|Nor|2006-01-24|SecurityException during log output | |38394|Ver|Enh|2006-01-26|PropertySetter fails to print stacktrace if error | |38395|Ver|Reg|2006-01-26|Unable to set threshold on appender via config fil| |38406|Ver|Nor|2006-01-26|jdk1.4 dependencies in log4j 1.3 alpha | |38513|New|Nor|2006-02-05|[PATCH] Suggested unit test for JMSAppender | |38582|Ass|Nor|2006-02-08|Chainsaw does not include Receiver JavaDoc in dist| |38590|Inf|Nor|2006-02-09|no space on device fails another instance | |38883|Opn|Nor|2006-03-07|LogFilePatternReceiver fails to process multi-line| |39690|Inf|Cri|2006-05-31|Initialization fail in J2EE Environment | |39691|Ass|Nor|2006-05-31|DBAppender doesn't log long events | |40068|New|Nor|2006-07-18|Add support for attach-on-demand API to chainsaw | |40251|Opn|Min|2006-08-14|Hard coded JMX domain name for MBean instances | |40382|Inf|Maj|2006-09-01|Sysappender hangs during boot time on HP | |40385|Inf|Maj|2006-09-01|SocketServer cannot find config file when passed a| |40472|New|Nor|2006-09-11|SettingsManager calls loadSettings with global set| |40533|New|Nor|2006-09-18|Chainsaw not showing all logging statements | |40570|Inf|Blk|2006-09-21|RollingFileAppender does not rollover when the fil| |40611|New|Trv|2006-09-27|Bad subclass example; NullPointerException in Logg| |40736|Inf|Nor|2006-10-11|log4j delete permission denied | |40889|Inf|Nor|2006-11-03|repeated entries in log after failure | |40990|Inf|Nor|2006-11-17|Cannot bind port or ip address for outgoing UDP so| |41006|Inf|Enh|2006-11-20|Contributing XMLSocketHubReceiver | |41214|Ass|Maj|2006-12-19|Deadlock with RollingFileAppender | |41311|Inf|Min|2007-01-06|Please make TimeBasedRollingPolicy non-final? | |41547|Inf|Nor|2007-02-05|PropertyConfigurator and layout.contentType | |41799|New|Enh|2007-03-09|SyslogAppender should enable to customize Log4j.Le| |41882|Inf|Nor|2007-03-18|IE7 problems with Log4J web site | |41937|New|Nor|2007-03-23|Logs from some panels missing in custom expression| |41980|Inf|Maj|2007-03-29|Log4j stop updating log file- version log4j-1.2.8 | |42189|Ass|Nor|2007-04-22|Add simple bridge for java.util.logging, with basi| |42213|Opn|Blk|2007-04-24|log4j causing threads to stuck in weblogic | |42516|Inf|Nor|2007-05-24|Log4j failed to log file when packaged in Eclipse | |42664|New|Enh|2007-06-14|JUL Appender | |42883|Opn|Nor|2007-07-12|'Welcome' and 'Drag & Drop' panels can't be hidden| |42933|Inf|Maj|2007-07-18|IllegalStateException thrown from FileAppender.clo| |43282|Opn|Nor|2007-08-31|Add OSGi packaging info to log4j and companions | |43313|Ass|Nor|2007-09-05|log4j 1.2.16 release considerations and discussion| |43403|Inf|Nor|2007-09-16|PatternLayout: new format modifer: prefix if non-e| |43619|New|Enh|2007-10-13|Simple proposal for pluggable sys-props resolvers | |43637|Inf|Nor|2007-10-16|SocketAppender.append(LoggingEvent) calls the Erro| |43728|Inf|Cri|2007-10-29|Log file loss when specified file is locked by ano| |43736|Ass|Nor|2007-10-30|Chainsaw does not honor encoding when loading XML | |43820|New|Enh|2007-11-08|[PATCH] Layered Configurator Patch | |43879|Inf|Nor|2007-11-16|FileAppender writes Header multiple times | |43911|Inf|Nor|2007-11-20|logfiles not getting rolled over with RollingFileA| |43923|Inf|Min|2007-11-21|JBOSS specific information in javadocs | |44219|Inf|Nor|2008-01-13|'WARNING' for a log level is silently ignored/chan| |44308|New|Enh|2008-01-28|[Patch] JMX component for managing Logger configur| |44370|Inf|Reg|2008-02-06|MANIFEST.MF broken in log4j-1.2.15.jar | |44386|Opn|Nor|2008-02-10|NTEventLogAppender.dll for windows 64 | |44526|Inf|Nor|2008-03-04|segmentation fault occuring when PropertyConfigura| |44557|Inf|Nor|2008-03-07|no close call to Appender after replacing the root| |44649|Inf|Nor|2008-03-20|JMS Hangs when a Root Appender | |44700|Inf|Nor|2008-03-28|Log4J locks rolled log files | |44727|Inf|Nor|2008-04-01|Add missing Logger#isErrorEnabled and isWarningEna| |44834|Inf|Nor|2008-04-17|SimpleSocketServer looses buffered logs, produces | |44839|Inf|Nor|2008-04-17|SyslogAppender logging to a UNIX domain socket | |44932|New|Cri|2008-05-05|improve DailyRollingFileAppender handling of rotat| |44934|Inf|Enh|2008-05-05|add helper method to DailyRollingFileAppender to g| |45042|New|Nor|2008-05-19|Need a reliable way to detect misconfiguration | |45109|Inf|Nor|2008-05-31|SMTPAppender uses wrong property for mail server | |45165|Ass|Enh|2008-06-09|Multifile Appender | |45231|Ass|Nor|2008-06-18|Clear appenders call on logger calls a helper whic| |45236|Inf|Cri|2008-06-19|Wriring output to an out-dated file. | |45304|Inf|Nor|2008-06-29|using log4j with OAS for some reasone all the logg| |45482|Inf|Min|2008-07-25|Source contains unused variables | |45629|New|Nor|2008-08-13|TopicConnection is not closed | |45753|New|Nor|2008-09-06|Code contribution: BurstFilter for extras | |45781|New|Nor|2008-09-11|RollingFileAppender under Windows does not rotate | |45855|New|Enh|2008-09-21|Add site/apt documentation for JULBridgeLogManager| |45932|New|Nor|2008-10-01|Log4j JMX MBeans not cleaned up | |45934|New|Enh|2008-10-02|FileAppender should use virtual-machine shutdown h| |45939|New|Nor|2008-10-02|Cannot drop HierarchyDynamicMBean from LoggerRepos| |46100|New|Enh|2008-10-27|NagiosAppender available for contribution | |46260|Inf|Nor|2008-11-21|RollingFileAppender and Tomcat has a strange behav| |46426|Ass|Nor|2008-12-20|Implement commons-logging interfaces natively in l| |46514|New|Nor|2009-01-12|provide API to re-init log4j | |46533|New|Enh|2009-01-14|Deamon Thread | |46570|New|Nor|2009-01-20|DailyRollingFileAppender rolls logs into files dat| |46573|Inf|Maj|2009-01-21|MDC attributes cant't be displayed on Chainsaw | |46592|Opn|Trv|2009-01-23|trim() on property file entries | |46626|New|Enh|2009-01-29|Log4J 1.2.15 SyslogAppender doesn't not handle TAG| |46691|New|Nor|2009-02-10|log4j file rolling over on restart of the server | |46804|New|Enh|2009-03-05|create the method PropertyConfigurator.configureAn| |46868|New|Nor|2009-03-17|SocketHUBAppender: Allow restriction of binding to| |46878|New|Cri|2009-03-19|Deadlock in 1.2.15 caused by AsyncAppender and Thr| |46941|New|Enh|2009-03-31|Sub Level Logging Technique | |46983|New|Enh|2009-04-07|More Debug output for log4j auto-configure request| |47004|Inf|Nor|2009-04-08|log messages occasionally sharing a line | |47123|New|Blk|2009-04-29|TimeBasedRollingPolicy appends logs into a old log| |47141|Inf|Enh|2009-05-02|add getCyclicBuffer() method to log4j SMTPAppender| |47164|New|Enh|2009-05-07|HTMLLayout replace newline with <BR> | |47208|New|Enh|2009-05-17|Better Default colours for Log Panel Color Filter | |47357|New|Min|2009-06-11|Declaring logger and category with same name cause| |47575|Inf|Nor|2009-07-24|GZipping large files stops logging | |47595|Opn|Nor|2009-07-28|[companion] POMs of companions have problems | |47703|New|Nor|2009-08-18|Object rendering ought to be done outside synchron| |47713|Inf|Nor|2009-08-20|SMTPAppender system properties propagation issue | |47740|Inf|Nor|2009-08-26|log4j 1.2.15 deadlock RootAppender NDC | |47883|New|Nor|2009-09-21|Lines dropped with UseNewHashFunction | |47898|Inf|Maj|2009-09-24|DailyRollingFileAppender unable to create backup l| |47960|New|Min|2009-10-08|CompositeAppender contribution | |48027|Inf|Cri|2009-10-20|Logger statements in a particular class file is no| |48141|Inf|Cri|2009-11-05|Log file rotation issue in Linux VM | |48209|New|Nor|2009-11-17|Websphere 6.0: logging statements appear in the SY| |48220|New|Min|2009-11-18|LoggingEvent.mdcCopy serialization with non-serial| |48244|New|Min|2009-11-19|Socket Server configuration does not handle not re| |48365|New|Maj|2009-12-10|Log4J DailyRollingFileAppender sometimes does not | |48430|New|Nor|2009-12-22|log4j:ERROR Write failure. java.io.IOException: St| |48502|New|Cri|2010-01-07|Issue: Rotation file is not getting created - Roll| |48527|New|Maj|2010-01-11|maven metadata is out of date | |48583|New|Enh|2010-01-20|allow format of timestamp (first column of log fil| |48607|New|Cri|2010-01-25|Log levels are not displayed corectly | |48679|New|Nor|2010-02-04|performance of getEffectiveLevel can be significan| |48704|New|Nor|2010-02-08|Multiple Java Process in Cluster Logging to the sa| |48802|New|Nor|2010-02-23|Log4j not writting. | |48820|New|Nor|2010-02-26|JDBCAppender inserts the current MDC values for th| |48986|New|Nor|2010-03-25|RollingFileAppender.rollOver() calls this.setFile | |49003|New|Nor|2010-03-27|SocketServerTestCase.test8 fails on Apache Harmony| |49071|New|Nor|2010-04-08|1.2.16 isn't available for download | |49077|New|Nor|2010-04-09|Prepare smaller jar omitting LF5 and Chainsaw 1 | |49177|New|Enh|2010-04-23|SyslogAppender: Make the maximum package size conf| |49229|New|Trv|2010-04-29|build.xml reference wrong javax mail version, shou| |49243|New|Min|2010-05-04|Fix one BZ number in Changelog of 1.2.16 | |49247|New|Enh|2010-05-04|Add option for persistent/non-persistent delivery | |49248|New|Min|2010-05-04|javadoc for org.apache.log4j.rolling.FixedWindowRo| |49265|New|Nor|2010-05-07|log4j - java.io.OptionalDataException | |49307|New|Nor|2010-05-18|unusable error message when log4j.xml has a duplic| |49329|New|Nor|2010-05-23|Smart and compact formatting of package/class name| |49349|New|Nor|2010-05-27|LoggingEvent stoped coming with AsyncAppender | |49353|New|Nor|2010-05-28|[patch] change logfactor userdir name to hidden di| |49354|New|Nor|2010-05-28|XMLLayout writes illegal characters to XML file | |49359|New|Nor|2010-05-29|Log4j site should have some mention of git mirrori| |49390|New|Nor|2010-06-05|1.0 releases of log4j companions component and rec| |49421|New|Maj|2010-06-10|Chainsaw don't show Logger for SocketReceiver and | |49470|New|Nor|2010-06-19|log4j 1.2.17 release | |49471|New|Enh|2010-06-19|Add CDATA parameter to XmlLayout | |49481|New|Maj|2010-06-21|Log4j stops writting to file, and then causes serv| |49489|New|Enh|2010-06-22|Ability to filter on several loggers | |49563|New|Min|2010-07-06|New SMTPProtocol and SMTPPort not recognized | |49571|New|Enh|2010-07-08|refreshing log4j - reconfigurable from log4j.prope| |49592|New|Cri|2010-07-14|477 All Attributes Not Set | |49597|New|Min|2010-07-15|The log4j.dtd is to restrictive | |49693|New|Cri|2010-08-03|Intermittently Log4j fails to bind with log file | |49797|New|Enh|2010-08-22|AsyncAppenders Enchancement | |49852|New|Enh|2010-08-31|Allow log files to rollover at any specified time | |49853|New|Enh|2010-08-31|Adding loggers to the configuration | |49854|New|Nor|2010-08-31|Documentation | |49899|New|Nor|2010-09-08|PatternLayout and EnhancedPatternLayout issues wit| |49920|New|Maj|2010-09-13|DailyRollingFileAppender.rollOver() might leave su| |49932|New|Nor|2010-09-14|Additional OSGI/BND configuration elements | +-----+---+---+----------+--------------------------------------------------+ | Total 184 bugs | +---------------------------------------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Sep 20 07:49:43 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83650 invoked from network); 20 Sep 2010 07:49:43 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 20 Sep 2010 07:49:43 -0000 Received: (qmail 3448 invoked by uid 500); 20 Sep 2010 07:49:43 -0000 Delivered-To: [email protected] Received: (qmail 3265 invoked by uid 500); 20 Sep 2010 07:49:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 3257 invoked by uid 99); 20 Sep 2010 07:49:39 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 07:49:39 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 07:49:17 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1Oxb7R-0003av-4Z for [email protected]; Mon, 20 Sep 2010 00:48:57 -0700 Message-ID: <[email protected]> Date: Mon, 20 Sep 2010 00:48:57 -0700 (PDT) From: Kevin Ng <[email protected]> To: [email protected] Subject: Problem on Log4j: How to include custom <filter/> into JBoss (log4j.xml)? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3455_9152401.1284968937137" X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_3455_9152401.1284968937137 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit TransFilter is a custom filter that I have created, a .java file. This run fine as Java Application. When I tried to convert into JBoss log4j and error occur. File located: ../server/default/conf/log4j.xml Error occur: log4j:ERROR Could not instantiate class [log4j.TransFilter]. java.lang.ClassNotFoundException: log4j.TransFilter at java.net.URLClassLoader$1.run(URLClassLoader.java:199) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at org.apache.log4j.helpers.Loader.loadClass(Loader.java:160) at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(Optio nConverter.java:309) at org.apache.log4j.xml.DOMConfigurator.parseFilters(DOMConfigurator.jav a:269) at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.ja va:190) at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurat or.java:140) at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfi gurator.java:153) at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOM Configurator.java:415) at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:3 84) at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java :666) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java :616) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java :602) at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:6 97) -- View this message in context: http://old.nabble.com/Problem-on-Log4j%3A-How-to-include-custom-%3Cfilter-%3E-into-JBoss-%28log4j.xml%29--tp29756960p29756960.html Sent from the Log4j - Dev mailing list [email protected]. ------=_Part_3455_9152401.1284968937137 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit TransFilter is a custom filter that I have created, a .java file. This run fine as Java Application. <appender name="TRANS" class="org.apache.log4j.DailyRollingFileAppender"> <filter class="log4j.TransFilter" /> </appender> <appender name="TRANS" class="org.apache.log4j.DailyRollingFileAppender"> <param name="File" value="C:/myLogFile.log" /> <param name="DatePattern" value="'.'yyyy-MM" /> <param name="Append" value="true" /> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%m%n" /> </layout> <filter class="TransFilter" /> </appender> <root> <appender-ref ref="CONSOLE" /> <appender-ref ref="FILE" /> <appender-ref ref="TRANS" /> </root> When I tried to convert into JBoss log4j and error occur. File located: ../server/default/conf/log4j.xml <appender name="TRANS" class="org.apache.log4j.DailyRollingFileAppender"> <param name="File" value="${jboss.server.home.dir}/log/transaction.log" /> <param name="DatePattern" value="'.'yyyy-MM" /> <param name="Append" value="true" /> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%m%n" /> </layout> <filter class="log4j.TransFilter" /> </appender> <root> <appender-ref ref="CONSOLE" /> <appender-ref ref="FILE" /> <appender-ref ref="TRANS" /> </root> Error occur: log4j:ERROR Could not instantiate class [log4j.TransFilter]. java.lang.ClassNotFoundException: log4j.TransFilter at java.net.URLClassLoader$1.run(URLClassLoader.java:199) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at org.apache.log4j.helpers.Loader.loadClass(Loader.java:160) at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(Optio nConverter.java:309) at org.apache.log4j.xml.DOMConfigurator.parseFilters(DOMConfigurator.jav a:269) at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.ja va:190) at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurat or.java:140) at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfi gurator.java:153) at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOM Configurator.java:415) at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:3 84) at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java :666) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java :616) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java :602) at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:6 97) <br><hr align="left" width="300"> View this message in context: <a href="http://old.nabble.com/Problem-on-Log4j%3A-How-to-include-custom-%3Cfilter-%3E-into-JBoss-%28log4j.xml%29--tp29756960p29756960.html">Problem on Log4j: How to include custom <filter/> into JBoss (log4j.xml)?</a><br> Sent from the <a href="http://old.nabble.com/Log4j---Dev-f153.html">Log4j - Dev mailing list archive</a> at Nabble.com.<br> ------=_Part_3455_9152401.1284968937137-- From [email protected] Mon Sep 20 07:50:01 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83705 invoked from network); 20 Sep 2010 07:50:01 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 20 Sep 2010 07:50:01 -0000 Received: (qmail 3548 invoked by uid 500); 20 Sep 2010 07:50:01 -0000 Delivered-To: [email protected] Received: (qmail 3477 invoked by uid 500); 20 Sep 2010 07:50:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 3469 invoked by uid 99); 20 Sep 2010 07:49:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 07:49:59 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 07:49:54 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1Oxb81-0003fV-Ug for [email protected]; Mon, 20 Sep 2010 00:49:33 -0700 Message-ID: <[email protected]> Date: Mon, 20 Sep 2010 00:49:33 -0700 (PDT) From: Kevin Ng <[email protected]> To: [email protected] Subject: Problem on Log4j: How to include custom <filter/> into JBoss (log4j.xml)? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3456_22985129.1284968973946" X-Nabble-From: [email protected] ------=_Part_3456_22985129.1284968973946 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit TransFilter is a custom filter that I have created, a .java file. This run fine as Java Application. When I tried to convert into JBoss log4j and error occur. File located: ../server/default/conf/log4j.xml Error occur: log4j:ERROR Could not instantiate class [log4j.TransFilter]. java.lang.ClassNotFoundException: log4j.TransFilter at java.net.URLClassLoader$1.run(URLClassLoader.java:199) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at org.apache.log4j.helpers.Loader.loadClass(Loader.java:160) at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(Optio nConverter.java:309) at org.apache.log4j.xml.DOMConfigurator.parseFilters(DOMConfigurator.jav a:269) at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.ja va:190) at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurat or.java:140) at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfi gurator.java:153) at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOM Configurator.java:415) at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:3 84) at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java :666) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java :616) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java :602) at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:6 97) -- View this message in context: http://old.nabble.com/Problem-on-Log4j%3A-How-to-include-custom-%3Cfilter-%3E-into-JBoss-%28log4j.xml%29--tp29756960p29756960.html Sent from the Log4j - Dev mailing list [email protected]. ------=_Part_3456_22985129.1284968973946 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit TransFilter is a custom filter that I have created, a .java file. This run fine as Java Application. <appender name="TRANS" class="org.apache.log4j.DailyRollingFileAppender"> <filter class="log4j.TransFilter" /> </appender> <appender name="TRANS" class="org.apache.log4j.DailyRollingFileAppender"> <param name="File" value="C:/myLogFile.log" /> <param name="DatePattern" value="'.'yyyy-MM" /> <param name="Append" value="true" /> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%m%n" /> </layout> <filter class="TransFilter" /> </appender> <root> <appender-ref ref="CONSOLE" /> <appender-ref ref="FILE" /> <appender-ref ref="TRANS" /> </root> When I tried to convert into JBoss log4j and error occur. File located: ../server/default/conf/log4j.xml <appender name="TRANS" class="org.apache.log4j.DailyRollingFileAppender"> <param name="File" value="${jboss.server.home.dir}/log/transaction.log" /> <param name="DatePattern" value="'.'yyyy-MM" /> <param name="Append" value="true" /> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%m%n" /> </layout> <filter class="log4j.TransFilter" /> </appender> <root> <appender-ref ref="CONSOLE" /> <appender-ref ref="FILE" /> <appender-ref ref="TRANS" /> </root> Error occur: log4j:ERROR Could not instantiate class [log4j.TransFilter]. java.lang.ClassNotFoundException: log4j.TransFilter at java.net.URLClassLoader$1.run(URLClassLoader.java:199) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at org.apache.log4j.helpers.Loader.loadClass(Loader.java:160) at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(Optio nConverter.java:309) at org.apache.log4j.xml.DOMConfigurator.parseFilters(DOMConfigurator.jav a:269) at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.ja va:190) at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurat or.java:140) at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfi gurator.java:153) at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOM Configurator.java:415) at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:3 84) at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java :666) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java :616) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java :602) at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:6 97) <br><hr align="left" width="300"> View this message in context: <a href="http://old.nabble.com/Problem-on-Log4j%3A-How-to-include-custom-%3Cfilter-%3E-into-JBoss-%28log4j.xml%29--tp29756960p29756960.html">Problem on Log4j: How to include custom <filter/> into JBoss (log4j.xml)?</a><br> Sent from the <a href="http://old.nabble.com/Log4j---Dev-f153.html">Log4j - Dev mailing list archive</a> at Nabble.com.<br> ------=_Part_3456_22985129.1284968973946-- From [email protected] Mon Sep 20 15:38:50 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59125 invoked from network); 20 Sep 2010 15:38:50 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 20 Sep 2010 15:38:50 -0000 Received: (qmail 57837 invoked by uid 500); 20 Sep 2010 15:38:50 -0000 Delivered-To: [email protected] Received: (qmail 57658 invoked by uid 500); 20 Sep 2010 15:38:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 57650 invoked by uid 99); 20 Sep 2010 15:38:47 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 15:38:47 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO qmta07.emeryville.ca.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 15:38:23 +0000 Received: from omta12.emeryville.ca.mail.comcast.net ([161.129.204.104]) by qmta07.emeryville.ca.mail.comcast.net with comcast id 92oj1f0020x6nqcA73e1Rj; Mon, 20 Sep 2010 15:38:01 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by omta12.emeryville.ca.mail.comcast.net with comcast id 93e01f0061TTUo28Y3e0sv; Mon, 20 Sep 2010 15:38:01 +0000 Message-ID: <[email protected]> Date: Mon, 20 Sep 2010 10:40:41 -0600 From: Jacob Kjome <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:161.129.204.104) Gecko/20100722 Eudora/3.0.4 MIME-Version: 1.0 To: Log4J Developers List <[email protected]> Subject: Re: Problem on Log4j: How to include custom <filter/> into JBoss (log4j.xml)? References: <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Relayed-By: GPGrelay Version 0.959 (Win32) X-Virus-Checked: Checked by ClamAV on apache.org It's pretty clear that your "log4j.TransFilter" is loaded by a ClassLoader that is a child of the ClassLoader that loads log4j.jar. Your class must be loaded by the same, or parent, classloader to that of Log4j. So, for instance, if Log4j is loaded from some global lib directory in JBoss, then you probably should place your custom Filter class/jar in that same directory, as it will definitely not be found if loaded from, for instance, WEB-INF/lib (unless you configure child-first classloading for webapps and place BOTH your custom Filter **and** log4j.jar in WEB-INF/lib). Jake On 9/20/2010 1:49 AM, Kevin Ng wrote: > TransFilter is a custom filter that I have created, a .java file. This > run fine as Java Application. When I tried to convert into JBoss log4j > and error occur. File located: ../server/default/conf/log4j.xml Error > occur: log4j:ERROR Could not instantiate class [log4j.TransFilter]. > java.lang.ClassNotFoundException: log4j.TransFilter at > java.net.URLClassLoader$1.run(URLClassLoader.java:199) at > java.security.AccessController.doPrivileged(Native Method) at > java.net.URLClassLoader.findClass(URLClassLoader.java:187) at > java.lang.ClassLoader.loadClass(ClassLoader.java:289) at > java.lang.ClassLoader.loadClass(ClassLoader.java:235) at > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at > java.lang.Class.forName0(Native Method) at > java.lang.Class.forName(Class.java:141) at > org.apache.log4j.helpers.Loader.loadClass(Loader.java:160) at > org.apache.log4j.helpers.OptionConverter.instantiateByClassName(Optio > nConverter.java:309) at > org.apache.log4j.xml.DOMConfigurator.parseFilters(DOMConfigurator.jav > a:269) at > org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.ja > va:190) at > org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurat > or.java:140) at > org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfi > gurator.java:153) at > org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOM > Configurator.java:415) at > org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:3 > 84) at > org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783) at > org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java > :666) at > org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java > :616) at > org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java > :602) at > org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:6 97) > ------------------------------------------------------------------------ > View this message in context: Problem on Log4j: How to include custom > into JBoss (log4j.xml)? > <http://old.nabble.com/Problem-on-Log4j%3A-How-to-include-custom-%3Cfilter-%3E-into-JBoss-%28log4j.xml%29--tp29756960p29756960.html> > Sent from the Log4j - Dev mailing list archive > <http://old.nabble.com/Log4j---Dev-f153.html> at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Sep 21 01:42:31 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94562 invoked from network); 21 Sep 2010 01:42:31 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 21 Sep 2010 01:42:31 -0000 Received: (qmail 24770 invoked by uid 500); 21 Sep 2010 01:42:31 -0000 Delivered-To: [email protected] Received: (qmail 24627 invoked by uid 500); 21 Sep 2010 01:42:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 24619 invoked by uid 99); 21 Sep 2010 01:42:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Sep 2010 01:42:30 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Sep 2010 01:42:24 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1Oxrrw-00064g-5Q for [email protected]; Mon, 20 Sep 2010 18:42:04 -0700 Message-ID: <[email protected]> Date: Mon, 20 Sep 2010 18:42:04 -0700 (PDT) From: Kevin Ng <[email protected]> To: [email protected] Subject: Re: Problem on Log4j: How to include custom <filter/> into JBoss (log4j.xml)? In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] References: <[email protected]> <[email protected]> Thank you for replying... I'm a newbie, can you further guide me in solving this problem? Question: 1. How to configure child-first classloading for webapps? 2. How to place both my custom Filter **and** log4j.jar in WEB-INF/lib? Kevin. Jacob Kjome wrote: > > It's pretty clear that your "log4j.TransFilter" is loaded by a ClassLoader > that is > a child of the ClassLoader that loads log4j.jar. Your class must be > loaded by the > same, or parent, classloader to that of Log4j. > > So, for instance, if Log4j is loaded from some global lib directory in > JBoss, then > you probably should place your custom Filter class/jar in that same > directory, as > it will definitely not be found if loaded from, for instance, WEB-INF/lib > (unless > you configure child-first classloading for webapps and place BOTH your > custom > Filter **and** log4j.jar in WEB-INF/lib). > > > Jake > > > On 9/20/2010 1:49 AM, Kevin Ng wrote: >> TransFilter is a custom filter that I have created, a .java file. This >> run fine as Java Application. When I tried to convert into JBoss log4j >> and error occur. File located: ../server/default/conf/log4j.xml Error >> occur: log4j:ERROR Could not instantiate class [log4j.TransFilter]. >> java.lang.ClassNotFoundException: log4j.TransFilter at >> java.net.URLClassLoader$1.run(URLClassLoader.java:199) at >> java.security.AccessController.doPrivileged(Native Method) at >> java.net.URLClassLoader.findClass(URLClassLoader.java:187) at >> java.lang.ClassLoader.loadClass(ClassLoader.java:289) at >> java.lang.ClassLoader.loadClass(ClassLoader.java:235) at >> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at >> java.lang.Class.forName0(Native Method) at >> java.lang.Class.forName(Class.java:141) at >> org.apache.log4j.helpers.Loader.loadClass(Loader.java:160) at >> org.apache.log4j.helpers.OptionConverter.instantiateByClassName(Optio >> nConverter.java:309) at >> org.apache.log4j.xml.DOMConfigurator.parseFilters(DOMConfigurator.jav >> a:269) at >> org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.ja >> va:190) at >> org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurat >> or.java:140) at >> org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfi >> gurator.java:153) at >> org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOM >> Configurator.java:415) at >> org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:3 >> 84) at >> org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783) at >> org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java >> :666) at >> org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java >> :616) at >> org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java >> :602) at >> org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:6 97) >> ------------------------------------------------------------------------ >> View this message in context: Problem on Log4j: How to include custom >> into JBoss (log4j.xml)? >> <http://old.nabble.com/Problem-on-Log4j%3A-How-to-include-custom-%3Cfilter-%3E-into-JBoss-%28log4j.xml%29--tp29756960p29756960.html> >> Sent from the Log4j - Dev mailing list archive >> <http://old.nabble.com/Log4j---Dev-f153.html> at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- View this message in context: http://old.nabble.com/Problem-on-Log4j%3A-How-to-include-custom-%3Cfilter-%3E-into-JBoss-%28log4j.xml%29--tp29756960p29765396.html Sent from the Log4j - Dev mailing list [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Sep 21 15:24:20 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66737 invoked from network); 21 Sep 2010 15:24:20 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 21 Sep 2010 15:24:20 -0000 Received: (qmail 93542 invoked by uid 500); 21 Sep 2010 15:24:20 -0000 Delivered-To: [email protected] Received: (qmail 93203 invoked by uid 500); 21 Sep 2010 15:24:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 93186 invoked by uid 99); 21 Sep 2010 15:24:16 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Sep 2010 15:24:16 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO g2host.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Sep 2010 15:23:53 +0000 Received: from [161.129.204.104] (account [email protected]) by mailback1.g2host.com (CommuniGate Pro WEBUSER 5.1.16) with HTTP id 24503839 for [email protected]; Tue, 21 Sep 2010 10:23:25 -0500 From: "Jacob Kjome" <[email protected]> Subject: Re: Problem on Log4j: How to include custom <filter/> into JBoss (log4j.xml)? To: "Log4J Developers List" <[email protected]> X-Mailer: CommuniGate Pro WebUser v5.1.16 Date: Tue, 21 Sep 2010 10:23:25 -0500 Message-ID: <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1;format="flowed" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On Mon, 20 Sep 2010 18:42:04 -0700 (PDT) Kevin Ng <[email protected]> wrote: > > Thank you for replying... > I'm a newbie, can you further guide me in solving this problem? > Question: > 1. How to configure child-first classloading for webapps? Depends on what server you use.  Given that you use JBoss, I suggest looking this up in the JBoss docs.  I don't personally use JBoss, but I know it supports child-first classloading as a configuration option.  Ask in a JBoss forum if you are unable to find this in the JBoss docs. > 2. How to place both my custom Filter **and** log4j.jar in WEB-INF/lib? Not really sure how to say this any more clearly?.... WEB-INF/lib/log4j.jar WEB-INF/lib/myJarContainingLog4jCustomFilterClass.jar Jake > > Kevin. > > > Jacob Kjome wrote: >> >> It's pretty clear that your "log4j.TransFilter" is loaded by a ClassLoader >> that is >> a child of the ClassLoader that loads log4j.jar. Your class must be >> loaded by the >> same, or parent, classloader to that of Log4j. >> >> So, for instance, if Log4j is loaded from some global lib directory in >> JBoss, then >> you probably should place your custom Filter class/jar in that same >> directory, as >> it will definitely not be found if loaded from, for instance, WEB-INF/lib >> (unless >> you configure child-first classloading for webapps and place BOTH your >> custom >> Filter **and** log4j.jar in WEB-INF/lib). >> >> >> Jake >> >> >> On 9/20/2010 1:49 AM, Kevin Ng wrote: >>> TransFilter is a custom filter that I have created, a .java file. This >>> run fine as Java Application. When I tried to convert into JBoss log4j >>> and error occur. File located: ../server/default/conf/log4j.xml Error >>> occur: log4j:ERROR Could not instantiate class [log4j.TransFilter]. >>> java.lang.ClassNotFoundException: log4j.TransFilter at >>> java.net.URLClassLoader$1.run(URLClassLoader.java:199) at >>> java.security.AccessController.doPrivileged(Native Method) at >>> java.net.URLClassLoader.findClass(URLClassLoader.java:187) at >>> java.lang.ClassLoader.loadClass(ClassLoader.java:289) at >>> java.lang.ClassLoader.loadClass(ClassLoader.java:235) at >>> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at >>> java.lang.Class.forName0(Native Method) at >>> java.lang.Class.forName(Class.java:141) at >>> org.apache.log4j.helpers.Loader.loadClass(Loader.java:160) at >>> org.apache.log4j.helpers.OptionConverter.instantiateByClassName(Optio >>> nConverter.java:309) at >>> org.apache.log4j.xml.DOMConfigurator.parseFilters(DOMConfigurator.jav >>> a:269) at >>> org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.ja >>> va:190) at >>> org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurat >>> or.java:140) at >>> org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfi >>> gurator.java:153) at >>> org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOM >>> Configurator.java:415) at >>> org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:3 >>> 84) at >>> org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783) at >>> org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java >>> :666) at >>> org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java >>> :616) at >>> org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java >>> :602) at >>> org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:6 97) >>> ------------------------------------------------------------------------ >>> View this message in context: Problem on Log4j: How to include custom >>> into JBoss (log4j.xml)? >>> <http://old.nabble.com/Problem-on-Log4j%3A-How-to-include-custom-%3Cfilter-%3E-into-JBoss-%28log4j.xml%29--tp29756960p29756960.html> >>> Sent from the Log4j - Dev mailing list archive >>> <http://old.nabble.com/Log4j---Dev-f153.html> at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> >> > > -- > View this message in context: >http://old.nabble.com/Problem-on-Log4j%3A-How-to-include-custom-%3Cfilter-%3E-into-JBoss-%28log4j.xml%29--tp29756960p29765396.html > Sent from the Log4j - Dev mailing list [email protected]. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Sep 22 14:57:42 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54484 invoked from network); 22 Sep 2010 14:57:42 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 22 Sep 2010 14:57:42 -0000 Received: (qmail 95965 invoked by uid 500); 22 Sep 2010 14:57:42 -0000 Delivered-To: [email protected] Received: (qmail 95811 invoked by uid 500); 22 Sep 2010 14:57:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 95801 invoked by uid 99); 22 Sep 2010 14:57:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Sep 2010 14:57:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Sep 2010 14:57:36 +0000 Received: from thor.apache.org (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8MEvFAS010951 for <[email protected]>; Wed, 22 Sep 2010 14:57:15 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o8MEvE9c010950; Wed, 22 Sep 2010 10:57:14 -0400 (EDT) Date: Wed, 22 Sep 2010 10:57:14 -0400 (EDT) Message-Id: <[email protected]> From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 43282] Add OSGi packaging info to log4j and companions X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Log4j X-Bugzilla-Component: Other X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: [email protected] X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: [email protected] X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC In-Reply-To: <{{EMAIL+PHONE}}/bugzilla/> References: <{{EMAIL+PHONE}}/bugzilla/> X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=43282 Dave Henderson <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Sep 22 20:57:20 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44477 invoked from network); 22 Sep 2010 20:57:20 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 22 Sep 2010 20:57:20 -0000 Received: (qmail 56546 invoked by uid 500); 22 Sep 2010 20:57:20 -0000 Delivered-To: [email protected] Received: (qmail 56499 invoked by uid 500); 22 Sep 2010 20:57:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 56491 invoked by uid 99); 22 Sep 2010 20:57:19 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Sep 2010 20:57:19 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=FORGED_HOTMAIL_RCVD2,FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Sep 2010 20:56:57 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1OyWMm-0003w6-5E for [email protected]; Wed, 22 Sep 2010 13:56:36 -0700 Message-ID: <[email protected]> Date: Wed, 22 Sep 2010 13:56:36 -0700 (PDT) From: vjinaz <[email protected]> To: [email protected] Subject: log4j configuration with FixedWindowRollingPolicy MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org Hi, I have the following configuration in my log4j properties file: log4j.appender.myapp=org.apache.log4j.RollingFileAppender log4j.appender.myapp.file=/tmp/myapp/logs/myapp.log log4j.appender.myapp.append=true log4j.appender.myapp.layout=org.apache.log4j.PatternLayout log4j.appender.myapp.layout.ConversionPattern=%x %p %d{ISO8601} - %m%n log4j.appender.myapp.MaxFileSize=2MB log4j.appender.myapp.minIndex=1 log4j.appender.myapp.maxIndex=4 log4j.appender.myapp.fileNamePattern=myapp%i.log I want myapp.log to roll over to myapp1.log when the former reaches 2 MB. It works fine but the rollover creates only one file myapp1.log everytime myapp exceeds 2 MB. For example, for the first time when myapp.log exceeds 2MB, a file myapp1.log is created and the contents of myapp.log and written to this file. myapp.log becomes 0 bytes again and starts processing. The next time myapp.log exceeds 2MB, myapp1.log should get rolled over to myapp2.log and myapp.log should get rolled over to myapp1.log. This does not happen. myapp.log gets rolled over to myapp1.log, but myapp1.log DOES NOT get rolled over to myapp2.log. So at any time, there are only two logs present. I specified the maxIndex value as 4...so i was expecting to see myapp.log, myapp1.log, myapp2.log, and myapp3.log. Is this because I am using an old verion of log4j jar library? Please help! -- View this message in context: http://old.nabble.com/log4j-configuration-with-FixedWindowRollingPolicy-tp29783917p29783917.html Sent from the Log4j - Dev mailing list [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Sep 23 03:56:16 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70121 invoked from network); 23 Sep 2010 03:56:16 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Sep 2010 03:56:16 -0000 Received: (qmail 63253 invoked by uid 500); 23 Sep 2010 03:56:16 -0000 Delivered-To: [email protected] Received: (qmail 63074 invoked by uid 500); 23 Sep 2010 03:56:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 63064 invoked by uid 99); 23 Sep 2010 03:56:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Sep 2010 03:56:13 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ey0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Sep 2010 03:56:06 +0000 Received: by eyb7 with SMTP id 7so509354eyb.34 for <[email protected]>; Wed, 22 Sep 2010 20:55:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=V3VLU+Y9Ij+bdsLpvCRLbadvtD/huy5Esfnb1afqpLI=; b=Rxacwq4e48G8Ygbs7IkjfMG90llYkX1ttmy/StVi+fYN6qXU3/QWdKsqsG/B1znC70 SMR/TJBy5Jrn424C589NqjlZtqQLa4ao3CTTvqr9eKwZQqaCY8Jb/Hhavn2pjrcb2XZI hWpK5hAvUaic6Spmqd4/uNvGu5tdUsESVfZeA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=appgBVOaS3CuwrviwkvFSNTLwz5uyyYr70ycTmJV8AzowNIDJxBvbgpuCuNMW8iTCn Do13tl1YTrGU+bb2QPGNgCrsLRwaJxTPPrOku3BbCZBII5eW9LCZ3hnpiz0GoF4mLSl0 g1ffJkSRu5iTfGDi8oak0AYyUjtc36ajowyV4= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id b18mr6270331ebb.63.1285214144854; Wed, 22 Sep 2010 20:55:44 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 22 Sep 2010 20:55:44 -0700 (PDT) Date: Wed, 22 Sep 2010 20:55:44 -0700 Message-ID: <[email protected]> Subject: Chainsaw & maven From: Scott Deboy <[email protected]> To: Log4J Developers List <[email protected]> Content-Type: multipart/alternative; boundary=0015174feb2c907db50490e53c0c --0015174feb2c907db50490e53c0c Content-Type: text/plain; charset=ISO-8859-1 I've updated the Chainsaw pom.xml but some of the plugin updates mean you have to specify a bit more to get everything built...specifically, I have to specify assembly:assembly now to get the standalone zip built... Anyone familiar enough with maven assembly plugin to figure out what needs to be done to get standalone.zip built automatically? Here's the command I use to build Chainsaw: mvn clean site:site assembly:assembly package install osxappbundle:bundle --0015174feb2c907db50490e53c0c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I&#39;ve updated the Chainsaw pom.xml but some of the plugin updates mean y= ou have to specify a bit more to get everything built...specifically, I hav= e to specify assembly:assembly now to get the standalone zip built...<br> <br>Anyone familiar enough with maven assembly plugin to figure out what ne= eds to be done to get standalone.zip built automatically?<br><br>Here&#39;s= the command I use to build Chainsaw:<br><br>mvn clean site:site assembly:a= ssembly package install osxappbundle:bundle<br> <br> --0015174feb2c907db50490e53c0c-- From [email protected] Thu Sep 23 05:59:39 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 769 invoked from network); 23 Sep 2010 05:59:39 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Sep 2010 05:59:39 -0000 Received: (qmail 33254 invoked by uid 500); 23 Sep 2010 05:59:39 -0000 Delivered-To: [email protected] Received: (qmail 33071 invoked by uid 500); 23 Sep 2010 05:59:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 33062 invoked by uid 99); 23 Sep 2010 05:59:35 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Sep 2010 05:59:35 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-gw0-f47.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Sep 2010 05:59:12 +0000 Received: by gwb1 with SMTP id 1so586312gwb.34 for <[email protected]>; Wed, 22 Sep 2010 22:58:50 -0700 (PDT) Received: by 161.129.204.104 with SMTP id h40mr1527521anp.50.1285221530483; Wed, 22 Sep 2010 22:58:50 -0700 (PDT) Received: from [161.129.204.104] 563.349.5916.orange.nextweb.net [161.129.204.104]) by mx.google.com with ESMTPS id k11sm738279ani.30.2161.129.204.104.58.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 22 Sep 2010 22:58:48 -0700 (PDT) Sender: Brett Porter <[email protected]> Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: Chainsaw & maven From: Brett Porter <[email protected]> In-Reply-To: <[email protected]> Date: Wed, 22 Sep 2010 22:58:45 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <[email protected]> References: <[email protected]> To: "Log4J Developers List" <[email protected]> X-Mailer: Apple Mail (2.1081) X-Virus-Checked: Checked by ClamAV on apache.org On 22/09/2010, at 8:55 PM, Scott Deboy wrote: > I've updated the Chainsaw pom.xml but some of the plugin updates mean = you have to specify a bit more to get everything built...specifically, I = have to specify assembly:assembly now to get the standalone zip built... >=20 > Anyone familiar enough with maven assembly plugin to figure out what = needs to be done to get standalone.zip built automatically? >=20 > Here's the command I use to build Chainsaw: >=20 > mvn clean site:site assembly:assembly package install = osxappbundle:bundle something like this in the build section of the POM (same for bundle = should work if it attaches): <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <executions> <execution> <id>create-distro</id> <phase>package</phase> <goals> <goal>single</goal> </goals> <configuration> <descriptors> <descriptor>src/main/assembly/bin.xml</descriptor> </descriptors> </configuration> </execution> </executions> </plugin> Cheers, Brett -- Brett Porter [email protected] http://brettporter.wordpress.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Sep 23 06:57:20 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23055 invoked from network); 23 Sep 2010 06:57:20 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Sep 2010 06:57:20 -0000 Received: (qmail 65962 invoked by uid 500); 23 Sep 2010 06:57:20 -0000 Delivered-To: [email protected] Received: (qmail 65778 invoked by uid 500); 23 Sep 2010 06:57:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 65770 invoked by uid 99); 23 Sep 2010 06:57:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Sep 2010 06:57:17 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ey0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Sep 2010 06:57:11 +0000 Received: by eyb7 with SMTP id 7so537243eyb.34 for <[email protected]>; Wed, 22 Sep 2010 23:55:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=PWyatsAxY/HQw3FRb0navVFjPqSh6yi37xV4VSREXqg=; b=s/lMcoGJELvCIb+5KR+HGX0yFwyZxDu+e3TTh/g6UNkBvvOns032W1uFOLe3tSsJL5 I6cmegNux2Hu0CIyD51asz18m5VJ4aPsvchGo8b8o6gzg+7uOeMLA65dBe9wT9Yfu0oX 3kKcCkcmSqmfBR67v5yS2lQcqKObmfDURY4/o= 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=gKsNE1Dceg+EdmKrNr+c6f00zluNiteGvHLNwtjYqw9uohOuA7JOOzuteNl2d94nE5 XNW/h9KZMsikMO7rXThALmdfbZtmfz1dis5dUzYK7YRqkbpwrCtHqNKw5xn/zBhsCuwW 2v74mWtoJYFGWRBeqUafQBvtzxs63R3nKGnCo= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id c5mr1505862ebq.91.1285224936251; Wed, 22 Sep 2010 23:55:36 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 22 Sep 2010 23:55:36 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Wed, 22 Sep 2010 23:55:36 -0700 Message-ID: <[email protected]> Subject: Re: Chainsaw & maven From: Scott Deboy <[email protected]> To: Log4J Developers List <[email protected]> Content-Type: multipart/alternative; boundary=0015174c3894c824240490e7bf6e --0015174c3894c824240490e7bf6e Content-Type: text/plain; charset=ISO-8859-1 Thanks Brett - that took care of it. Scott On Wed, Sep 22, 2010 at 10:58 PM, Brett Porter <[email protected]> wrote: > > On 22/09/2010, at 8:55 PM, Scott Deboy wrote: > > > I've updated the Chainsaw pom.xml but some of the plugin updates mean you > have to specify a bit more to get everything built...specifically, I have to > specify assembly:assembly now to get the standalone zip built... > > > > Anyone familiar enough with maven assembly plugin to figure out what > needs to be done to get standalone.zip built automatically? > > > > Here's the command I use to build Chainsaw: > > > > mvn clean site:site assembly:assembly package install osxappbundle:bundle > > something like this in the build section of the POM (same for bundle should > work if it attaches): > > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-assembly-plugin</artifactId> > <executions> > <execution> > <id>create-distro</id> > <phase>package</phase> > <goals> > <goal>single</goal> > </goals> > <configuration> > <descriptors> > <descriptor>src/main/assembly/bin.xml</descriptor> > </descriptors> > </configuration> > </execution> > </executions> > </plugin> > > Cheers, > Brett > > -- > Brett Porter > [email protected] > http://brettporter.wordpress.com/ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --0015174c3894c824240490e7bf6e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks Brett - that took care of it.<br><br>Scott<br><br><div class=3D"gmai= l_quote">On Wed, Sep 22, 2010 at 10:58 PM, Brett Porter <span dir=3D"ltr">&= lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt;</span> wrot= e:<br> <blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde= r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><= div class=3D"h5"><br> On 22/09/2010, at 8:55 PM, Scott Deboy wrote:<br> <br> &gt; I&#39;ve updated the Chainsaw pom.xml but some of the plugin updates m= ean you have to specify a bit more to get everything built...specifically, = I have to specify assembly:assembly now to get the standalone zip built...<= br> &gt;<br> &gt; Anyone familiar enough with maven assembly plugin to figure out what n= eeds to be done to get standalone.zip built automatically?<br> &gt;<br> &gt; Here&#39;s the command I use to build Chainsaw:<br> &gt;<br> &gt; mvn clean site:site assembly:assembly package install osxappbundle:bun= dle<br> <br> </div></div>something like this in the build section of the POM (same for b= undle should work if it attaches):<br> <br> =A0 =A0 &lt;plugin&gt;<br> =A0 =A0 =A0 =A0&lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;<br> =A0 =A0 =A0 =A0&lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;<= br> =A0 =A0 =A0 =A0&lt;executions&gt;<br> =A0 =A0 =A0 =A0 =A0&lt;execution&gt;<br> =A0 =A0 =A0 =A0 =A0 =A0&lt;id&gt;create-distro&lt;/id&gt;<br> =A0 =A0 =A0 =A0 =A0 =A0&lt;phase&gt;package&lt;/phase&gt;<br> =A0 =A0 =A0 =A0 =A0 =A0&lt;goals&gt;<br> =A0 =A0 =A0 =A0 =A0 =A0 =A0&lt;goal&gt;single&lt;/goal&gt;<br> =A0 =A0 =A0 =A0 =A0 =A0&lt;/goals&gt;<br> =A0 =A0 =A0 =A0 =A0 =A0&lt;configuration&gt;<br> =A0 =A0 =A0 =A0 =A0 =A0 =A0&lt;descriptors&gt;<br> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0&lt;descriptor&gt;src/main/assembly/bin.xml= &lt;/descriptor&gt;<br> =A0 =A0 =A0 =A0 =A0 =A0 =A0&lt;/descriptors&gt;<br> =A0 =A0 =A0 =A0 =A0 =A0&lt;/configuration&gt;<br> =A0 =A0 =A0 =A0 =A0&lt;/execution&gt;<br> =A0 =A0 =A0 =A0&lt;/executions&gt;<br> =A0 =A0 =A0&lt;/plugin&gt;<br> <br> Cheers,<br> Brett<br> <br> --<br> Brett Porter<br> <a href=3D"mailto:[email protected]">[email protected]</a><br> <a href=3D"http://brettporter.wordpress.com/" target=3D"_blank">http://bret= tporter.wordpress.com/</a><br> <br> <br> ---------------------------------------------------------------------<br> To unsubscribe, e-mail: <a href=3D"mailto:[email protected]= che.org">[email protected]</a><br> For additional commands, e-mail: <a href=3D"mailto:[email protected]= pache.org">[email protected]</a><br> <br> </blockquote></div><br> --0015174c3894c824240490e7bf6e-- From [email protected] Thu Sep 23 19:05:44 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88131 invoked from network); 23 Sep 2010 19:05:43 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Sep 2010 19:05:43 -0000 Received: (qmail 53239 invoked by uid 500); 23 Sep 2010 19:05:43 -0000 Delivered-To: [email protected] Received: (qmail 53051 invoked by uid 500); 23 Sep 2010 19:05:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 53042 invoked by uid 99); 23 Sep 2010 19:05:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Sep 2010 19:05:42 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO g2host.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Sep 2010 19:05:34 +0000 Received: from [161.129.204.104] (account [email protected]) by mailback2.g2host.com (CommuniGate Pro WEBUSER 5.1.16) with HTTP id 21790187 for [email protected]; Thu, 23 Sep 2010 14:05:13 -0500 From: "Jacob Kjome" <[email protected]> Subject: Re: log4j configuration with FixedWindowRollingPolicy To: "Log4J Developers List" <[email protected]> X-Mailer: CommuniGate Pro WebUser v5.1.16 Date: Thu, 23 Sep 2010 14:05:13 -0500 Message-ID: <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1;format="flowed" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Try using "MaxBackupIndex" instead of "maxIndex".  You can also get rid of "minIndex" as there is no such configuration param.  I don't think "fileNamePattern" is applicable either. Jake On Wed, 22 Sep 2010 13:56:36 -0700 (PDT) vjinaz <[email protected]> wrote: > > Hi, > > I have the following configuration in my log4j properties file: > > log4j.appender.myapp=org.apache.log4j.RollingFileAppender > log4j.appender.myapp.file=/tmp/myapp/logs/myapp.log > log4j.appender.myapp.append=true > log4j.appender.myapp.layout=org.apache.log4j.PatternLayout > log4j.appender.myapp.layout.ConversionPattern=%x %p %d{ISO8601} - %m%n > log4j.appender.myapp.MaxFileSize=2MB > log4j.appender.myapp.minIndex=1 > log4j.appender.myapp.maxIndex=4 > log4j.appender.myapp.fileNamePattern=myapp%i.log > > I want myapp.log to roll over to myapp1.log when the former reaches 2 MB. It > works fine but the rollover creates only one file myapp1.log everytime myapp > exceeds 2 MB. > >For example, for the first time when myapp.log exceeds 2MB, a file > myapp1.log is created and the contents of myapp.log and written to this > file. myapp.log becomes 0 bytes again and starts processing. The next time > myapp.log exceeds 2MB, myapp1.log should get rolled over to myapp2.log and > myapp.log should get rolled over to myapp1.log. This does not happen. > myapp.log gets rolled over to myapp1.log, but myapp1.log DOES NOT get rolled > over to myapp2.log. So at any time, there are only two logs present. I > specified the maxIndex value as 4...so i was expecting to see myapp.log, > myapp1.log, myapp2.log, and myapp3.log. > > Is this because I am using an old verion of log4j jar library? Please help! > -- > View this message in context: >http://old.nabble.com/log4j-configuration-with-FixedWindowRollingPolicy-tp29783917p29783917.html > Sent from the Log4j - Dev mailing list [email protected]. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Sep 24 07:24:42 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90043 invoked from network); 24 Sep 2010 07:24:41 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Sep 2010 07:24:41 -0000 Received: (qmail 1279 invoked by uid 500); 24 Sep 2010 07:24:41 -0000 Delivered-To: [email protected] Received: (qmail 1095 invoked by uid 500); 24 Sep 2010 07:24:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 1079 invoked by uid 99); 24 Sep 2010 07:24:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Sep 2010 07:24:38 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mxo41.mail.genotec.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Sep 2010 07:24:34 +0000 Received: from mxo41.mail.genotec.ch (localhost [161.129.204.104]) by dkgate.mx.genotec.ch (Postfix) with ESMTP id 42CE457B5DE for <[email protected]>; Fri, 24 Sep 2010 09:24:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=genotec.ch; h=message-id :date:from:mime-version:to:subject:content-type :content-transfer-encoding; s=dkim; bh=uzjMcdkG2kRNnABYyZi7lmdAd 7E=; b=BXmKs4JYSHQx11Dy41xCDk1m+TAky7oPCjqJoy0jlS+t5NNNii8FV7jQ2 s1cF++UfAAdDkcsZDlVjra2UB0/tNiTpIX3nTCP/y/PSfgD2AZXKjqRl3Su8QX4P Z5BM1UBht0+faUZK8+zKmoDOexbqlV5Tc+0/s2qTxR60axEtJA= Received: from mxo41.mail.genotec.ch (localhost [161.129.204.104]) by avgate.mx.genotec.ch (Postfix) with ESMTP id 1E1AB57B5C6 for <[email protected]>; Fri, 24 Sep 2010 09:24:11 +0200 (CEST) Received: from [161.129.204.104] (gic-bal-bsd-001.genotec.ch [161.129.204.104]) by mxo41.mail.genotec.ch (Postfix) with ESMTPSA id EA61657B629 for <[email protected]>; Fri, 24 Sep 2010 09:24:10 +0200 (CEST) Message-ID: <[email protected]> Date: Fri, 24 Sep 2010 09:24:10 +0200 From: =?ISO-8859-1?Q?Marcel_St=F6r?= <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:161.129.204.104) Gecko/20100915 Lightning/1.0b3pre Thunderbird/3.1.4 MIME-Version: 1.0 To: [email protected] Subject: MDC does not properly clean up Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-GIC-MailScanner-Outbound: ClamAV using ClamSMTP The initial problem description was sent to the users list: http://[email protected]/msg11921.html However, I think it actually belongs here... I believe that the MDC should provide a method that internally calls ThreadLocal#remove which was added to the API with Java5: http://download.oracle.com/javase/6/docs/api/java/lang/ThreadLocal.html#remove%28%29 Other libraries/frameworks start fixing their issues with this, too: - https://issues.apache.org/jira/browse/LANG-586 - https://jira.springsource.org/browse/SPR-7441 - https://jira.springsource.org/browse/SEC-1578 Regards, Marcel P.S. I'm using the slf4j MDC but AFAIK it simply delegates to log4j. -- Marcel Stör, http://www.frightanic.com Couchsurfing: http://www.couchsurfing.com/people/marcelstoer O< ascii ribbon campaign - stop html mail - www.asciiribbon.org --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Sep 24 15:04:57 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69790 invoked from network); 24 Sep 2010 15:04:57 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Sep 2010 15:04:57 -0000 Received: (qmail 77388 invoked by uid 500); 24 Sep 2010 15:04:56 -0000 Delivered-To: [email protected] Received: (qmail 77207 invoked by uid 500); 24 Sep 2010 15:04:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 77199 invoked by uid 99); 24 Sep 2010 15:04:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Sep 2010 15:04:52 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO g2host.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Sep 2010 15:04:47 +0000 Received: from [161.129.204.104] (account [email protected]) by mailback2.g2host.com (CommuniGate Pro WEBUSER 5.1.16) with HTTP id 21801532 for [email protected]; Fri, 24 Sep 2010 10:04:25 -0500 From: "Jacob Kjome" <[email protected]> Subject: Re: MDC does not properly clean up To: "Log4J Developers List" <[email protected]> X-Mailer: CommuniGate Pro WebUser v5.1.16 Date: Fri, 24 Sep 2010 10:04:25 -0500 Message-ID: <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1;format="flowed" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Since Log4j must support JDK1.4 (actually, still 1.3, I believe), I don't see how we could use JDK1.5+ ThreadLocal.remove()? That said, there are other ways of cleaning up ThreadLocals that don't require remove().  For examples, see CrazyBob's "Hard Core Java: ThreadLocal" from back in 2006 [1].  Log4j could utilize CrazyBob's suggestions and provide an MDC cleanup method to allow users a chance to clean up.  Thoughts? Also, for reference, I thought I'd provide a link to what the commons-lang guys did to fix their memory leaks, though keep in mind it depends on the JDK1.5+ ThreadLocal.remove() method [2].  They also use a WeakHashMap, which I'm not sure is necessary or not for Log4j's purposes? [1] http://blog.crazybob.org/2006/07/hard-core-java-threadlocal.html [2] https://fisheye6.atlassian.com/browse/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/ToStringStyle.java#r907126 Jake On Fri, 24 Sep 2010 09:24:10 +0200 Marcel Stör <[email protected]> wrote: > The initial problem description was sent to the users list: >http://[email protected]/msg11921.html > > However, I think it actually belongs here... > > I believe that the MDC should provide a method that internally calls >ThreadLocal#remove which was added to the API with Java5: > http://download.oracle.com/javase/6/docs/api/java/lang/ThreadLocal.html#remove%28%29 > > Other libraries/frameworks start fixing their issues with this, too: > - https://issues.apache.org/jira/browse/LANG-586 > - https://jira.springsource.org/browse/SPR-7441 > - https://jira.springsource.org/browse/SEC-1578 > > Regards, > Marcel > > P.S. I'm using the slf4j MDC but AFAIK it simply delegates to log4j. > > -- > Marcel Stör, http://www.frightanic.com > Couchsurfing: http://www.couchsurfing.com/people/marcelstoer > O< ascii ribbon campaign - stop html mail - www.asciiribbon.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Sep 26 11:25:27 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46172 invoked from network); 26 Sep 2010 11:25:27 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Sep 2010 11:25:27 -0000 Received: (qmail 79317 invoked by uid 500); 26 Sep 2010 11:25:27 -0000 Delivered-To: [email protected] Received: (qmail 79114 invoked by uid 500); 26 Sep 2010 11:25:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 79105 invoked by uid 500); 26 Sep 2010 11:25:24 -0000 Received: (qmail 79102 invoked by uid 99); 26 Sep 2010 11:25:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Sep 2010 11:25:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Sep 2010 11:25:21 +0000 Received: from thor.apache.org (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8QBP15p005019 for <[email protected]>; Sun, 26 Sep 2010 11:25:01 GMT Received: (from root@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o8QBOaRu002238 for [email protected]; Sun, 26 Sep 2010 07:24:36 -0400 (EDT) Date: Sun, 26 Sep 2010 07:24:36 -0400 (EDT) Message-Id: <[email protected]> From: [email protected] To: [email protected] Subject: Bug report for Log4j [2010/09/26] +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement TRV=Trivial | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | |13099|Opn|Nor|2002-09-27|DOMConfigurator ignores category factory setting | |17887|Opn|Maj|2003-03-11|RollingFileAppender does not work for 10 threads | |20395|Inf|Enh|2003-06-01|PreparedStatementAppender Enhancement | |23329|New|Enh|2003-09-22|<logger> element in XML config should support reso| |26084|Inf|Nor|2004-01-13|Log Event detail panel does not show special chara| |27363|Inf|Enh|2004-03-02|JNI based SyslogAppender | |27367|Inf|Enh|2004-03-02|NetSendAppender | |29244|Inf|Nor|2004-05-27|Preserve XML content in log messages when using XM| |29305|New|Nor|2004-05-30|Chainsaw doesn't see locationinfo from XMLSocketRe| |30055|New|Nor|2004-07-12|Problem with registering Appenders with the same n| |30407|Inf|Maj|2004-07-30|Externally rolled file problem | |30888|Inf|Maj|2004-08-27|Chainsaw mixes files in same panel | |30892|New|Min|2004-08-27|Log files cannot be closed | |31089|New|Nor|2004-09-07|Does not accept ISO8601 dates in focus field | |31178|Inf|Cri|2004-09-11|Exception using Chainsaw for simple debugging | |31179|Ass|Enh|2004-09-11|Implement Chainsaw as Eclipse stand-alone applicat| |33278|New|Min|2005-01-27|NPE thrown durring daily log file rollover | |33493|Inf|Enh|2005-02-10|contribution to log4j: servlet diagnostic context | |34440|New|Nor|2005-04-13|sandbox:IMAppender - comma-seperated recipient lis| |34491|Ver|Nor|2005-04-18|Missing include in build.jms target results in mis| |34651|New|Enh|2005-04-27|allow for a header on top of every rolled file | |34738|Inf|Nor|2005-05-04|Chainsaw does not remember what Columns are select| |34945|Inf|Nor|2005-05-17|ThrowableInformation has dubious Stack Trace extra| |34974|Inf|Cri|2005-05-19|Exception when running a Pluglet | |35239|Inf|Nor|2005-06-06|NullPointerException when saving displayed events | |35563|Inf|Enh|2005-06-30|Syslog appender parametrability | |35996|Inf|Enh|2005-08-03|Add support for ant-like <property> in log4j.xml | |36435|New|Enh|2005-08-31|Log4J RollingFileAppender under OpenVMS does not f| |36654|Inf|Min|2005-09-14|Provide better error messages for "Please initiali| |36789|Inf|Nor|2005-09-23|Empty control flow statement in org.apache.log4j.l| |37349|Ass|Nor|2005-11-03|DBAppender not working with jTDS driver | |37638|New|Nor|2005-11-25|logging doesn't fall back with FallbackErrorHandle| |37734|New|Nor|2005-12-01|Customize Event ID and Event Category with NTEVent| |38363|Ass|Nor|2006-01-24|SecurityException during log output | |38394|Ver|Enh|2006-01-26|PropertySetter fails to print stacktrace if error | |38395|Ver|Reg|2006-01-26|Unable to set threshold on appender via config fil| |38406|Ver|Nor|2006-01-26|jdk1.4 dependencies in log4j 1.3 alpha | |38513|New|Nor|2006-02-05|[PATCH] Suggested unit test for JMSAppender | |38582|Ass|Nor|2006-02-08|Chainsaw does not include Receiver JavaDoc in dist| |38590|Inf|Nor|2006-02-09|no space on device fails another instance | |38883|Opn|Nor|2006-03-07|LogFilePatternReceiver fails to process multi-line| |39690|Inf|Cri|2006-05-31|Initialization fail in J2EE Environment | |39691|Ass|Nor|2006-05-31|DBAppender doesn't log long events | |40068|New|Nor|2006-07-18|Add support for attach-on-demand API to chainsaw | |40251|Opn|Min|2006-08-14|Hard coded JMX domain name for MBean instances | |40382|Inf|Maj|2006-09-01|Sysappender hangs during boot time on HP | |40385|Inf|Maj|2006-09-01|SocketServer cannot find config file when passed a| |40472|New|Nor|2006-09-11|SettingsManager calls loadSettings with global set| |40533|New|Nor|2006-09-18|Chainsaw not showing all logging statements | |40570|Inf|Blk|2006-09-21|RollingFileAppender does not rollover when the fil| |40611|New|Trv|2006-09-27|Bad subclass example; NullPointerException in Logg| |40736|Inf|Nor|2006-10-11|log4j delete permission denied | |40889|Inf|Nor|2006-11-03|repeated entries in log after failure | |40990|Inf|Nor|2006-11-17|Cannot bind port or ip address for outgoing UDP so| |41006|Inf|Enh|2006-11-20|Contributing XMLSocketHubReceiver | |41214|Ass|Maj|2006-12-19|Deadlock with RollingFileAppender | |41311|Inf|Min|2007-01-06|Please make TimeBasedRollingPolicy non-final? | |41547|Inf|Nor|2007-02-05|PropertyConfigurator and layout.contentType | |41799|New|Enh|2007-03-09|SyslogAppender should enable to customize Log4j.Le| |41882|Inf|Nor|2007-03-18|IE7 problems with Log4J web site | |41937|New|Nor|2007-03-23|Logs from some panels missing in custom expression| |41980|Inf|Maj|2007-03-29|Log4j stop updating log file- version log4j-1.2.8 | |42189|Ass|Nor|2007-04-22|Add simple bridge for java.util.logging, with basi| |42213|Opn|Blk|2007-04-24|log4j causing threads to stuck in weblogic | |42516|Inf|Nor|2007-05-24|Log4j failed to log file when packaged in Eclipse | |42664|New|Enh|2007-06-14|JUL Appender | |42883|Opn|Nor|2007-07-12|'Welcome' and 'Drag & Drop' panels can't be hidden| |42933|Inf|Maj|2007-07-18|IllegalStateException thrown from FileAppender.clo| |43282|Opn|Nor|2007-08-31|Add OSGi packaging info to log4j and companions | |43313|Ass|Nor|2007-09-05|log4j 1.2.16 release considerations and discussion| |43403|Inf|Nor|2007-09-16|PatternLayout: new format modifer: prefix if non-e| |43619|New|Enh|2007-10-13|Simple proposal for pluggable sys-props resolvers | |43637|Inf|Nor|2007-10-16|SocketAppender.append(LoggingEvent) calls the Erro| |43728|Inf|Cri|2007-10-29|Log file loss when specified file is locked by ano| |43736|Ass|Nor|2007-10-30|Chainsaw does not honor encoding when loading XML | |43820|New|Enh|2007-11-08|[PATCH] Layered Configurator Patch | |43879|Inf|Nor|2007-11-16|FileAppender writes Header multiple times | |43911|Inf|Nor|2007-11-20|logfiles not getting rolled over with RollingFileA| |43923|Inf|Min|2007-11-21|JBOSS specific information in javadocs | |44219|Inf|Nor|2008-01-13|'WARNING' for a log level is silently ignored/chan| |44308|New|Enh|2008-01-28|[Patch] JMX component for managing Logger configur| |44370|Inf|Reg|2008-02-06|MANIFEST.MF broken in log4j-1.2.15.jar | |44386|Opn|Nor|2008-02-10|NTEventLogAppender.dll for windows 64 | |44526|Inf|Nor|2008-03-04|segmentation fault occuring when PropertyConfigura| |44557|Inf|Nor|2008-03-07|no close call to Appender after replacing the root| |44649|Inf|Nor|2008-03-20|JMS Hangs when a Root Appender | |44700|Inf|Nor|2008-03-28|Log4J locks rolled log files | |44727|Inf|Nor|2008-04-01|Add missing Logger#isErrorEnabled and isWarningEna| |44834|Inf|Nor|2008-04-17|SimpleSocketServer looses buffered logs, produces | |44839|Inf|Nor|2008-04-17|SyslogAppender logging to a UNIX domain socket | |44932|New|Cri|2008-05-05|improve DailyRollingFileAppender handling of rotat| |44934|Inf|Enh|2008-05-05|add helper method to DailyRollingFileAppender to g| |45042|New|Nor|2008-05-19|Need a reliable way to detect misconfiguration | |45109|Inf|Nor|2008-05-31|SMTPAppender uses wrong property for mail server | |45165|Ass|Enh|2008-06-09|Multifile Appender | |45231|Ass|Nor|2008-06-18|Clear appenders call on logger calls a helper whic| |45236|Inf|Cri|2008-06-19|Wriring output to an out-dated file. | |45304|Inf|Nor|2008-06-29|using log4j with OAS for some reasone all the logg| |45482|Inf|Min|2008-07-25|Source contains unused variables | |45629|New|Nor|2008-08-13|TopicConnection is not closed | |45753|New|Nor|2008-09-06|Code contribution: BurstFilter for extras | |45781|New|Nor|2008-09-11|RollingFileAppender under Windows does not rotate | |45855|New|Enh|2008-09-21|Add site/apt documentation for JULBridgeLogManager| |45932|New|Nor|2008-10-01|Log4j JMX MBeans not cleaned up | |45934|New|Enh|2008-10-02|FileAppender should use virtual-machine shutdown h| |45939|New|Nor|2008-10-02|Cannot drop HierarchyDynamicMBean from LoggerRepos| |46100|New|Enh|2008-10-27|NagiosAppender available for contribution | |46260|Inf|Nor|2008-11-21|RollingFileAppender and Tomcat has a strange behav| |46426|Ass|Nor|2008-12-20|Implement commons-logging interfaces natively in l| |46514|New|Nor|2009-01-12|provide API to re-init log4j | |46533|New|Enh|2009-01-14|Deamon Thread | |46570|New|Nor|2009-01-20|DailyRollingFileAppender rolls logs into files dat| |46573|Inf|Maj|2009-01-21|MDC attributes cant't be displayed on Chainsaw | |46592|Opn|Trv|2009-01-23|trim() on property file entries | |46626|New|Enh|2009-01-29|Log4J 1.2.15 SyslogAppender doesn't not handle TAG| |46691|New|Nor|2009-02-10|log4j file rolling over on restart of the server | |46804|New|Enh|2009-03-05|create the method PropertyConfigurator.configureAn| |46868|New|Nor|2009-03-17|SocketHUBAppender: Allow restriction of binding to| |46878|New|Cri|2009-03-19|Deadlock in 1.2.15 caused by AsyncAppender and Thr| |46941|New|Enh|2009-03-31|Sub Level Logging Technique | |46983|New|Enh|2009-04-07|More Debug output for log4j auto-configure request| |47004|Inf|Nor|2009-04-08|log messages occasionally sharing a line | |47123|New|Blk|2009-04-29|TimeBasedRollingPolicy appends logs into a old log| |47141|Inf|Enh|2009-05-02|add getCyclicBuffer() method to log4j SMTPAppender| |47164|New|Enh|2009-05-07|HTMLLayout replace newline with <BR> | |47208|New|Enh|2009-05-17|Better Default colours for Log Panel Color Filter | |47357|New|Min|2009-06-11|Declaring logger and category with same name cause| |47575|Inf|Nor|2009-07-24|GZipping large files stops logging | |47595|Opn|Nor|2009-07-28|[companion] POMs of companions have problems | |47703|New|Nor|2009-08-18|Object rendering ought to be done outside synchron| |47713|Inf|Nor|2009-08-20|SMTPAppender system properties propagation issue | |47740|Inf|Nor|2009-08-26|log4j 1.2.15 deadlock RootAppender NDC | |47883|New|Nor|2009-09-21|Lines dropped with UseNewHashFunction | |47898|Inf|Maj|2009-09-24|DailyRollingFileAppender unable to create backup l| |47960|New|Min|2009-10-08|CompositeAppender contribution | |48027|Inf|Cri|2009-10-20|Logger statements in a particular class file is no| |48141|Inf|Cri|2009-11-05|Log file rotation issue in Linux VM | |48209|New|Nor|2009-11-17|Websphere 6.0: logging statements appear in the SY| |48220|New|Min|2009-11-18|LoggingEvent.mdcCopy serialization with non-serial| |48244|New|Min|2009-11-19|Socket Server configuration does not handle not re| |48365|New|Maj|2009-12-10|Log4J DailyRollingFileAppender sometimes does not | |48430|New|Nor|2009-12-22|log4j:ERROR Write failure. java.io.IOException: St| |48502|New|Cri|2010-01-07|Issue: Rotation file is not getting created - Roll| |48527|New|Maj|2010-01-11|maven metadata is out of date | |48583|New|Enh|2010-01-20|allow format of timestamp (first column of log fil| |48607|New|Cri|2010-01-25|Log levels are not displayed corectly | |48679|New|Nor|2010-02-04|performance of getEffectiveLevel can be significan| |48704|New|Nor|2010-02-08|Multiple Java Process in Cluster Logging to the sa| |48802|New|Nor|2010-02-23|Log4j not writting. | |48820|New|Nor|2010-02-26|JDBCAppender inserts the current MDC values for th| |48986|New|Nor|2010-03-25|RollingFileAppender.rollOver() calls this.setFile | |49003|New|Nor|2010-03-27|SocketServerTestCase.test8 fails on Apache Harmony| |49071|New|Nor|2010-04-08|1.2.16 isn't available for download | |49077|New|Nor|2010-04-09|Prepare smaller jar omitting LF5 and Chainsaw 1 | |49177|New|Enh|2010-04-23|SyslogAppender: Make the maximum package size conf| |49229|New|Trv|2010-04-29|build.xml reference wrong javax mail version, shou| |49243|New|Min|2010-05-04|Fix one BZ number in Changelog of 1.2.16 | |49247|New|Enh|2010-05-04|Add option for persistent/non-persistent delivery | |49248|New|Min|2010-05-04|javadoc for org.apache.log4j.rolling.FixedWindowRo| |49265|New|Nor|2010-05-07|log4j - java.io.OptionalDataException | |49307|New|Nor|2010-05-18|unusable error message when log4j.xml has a duplic| |49329|New|Nor|2010-05-23|Smart and compact formatting of package/class name| |49349|New|Nor|2010-05-27|LoggingEvent stoped coming with AsyncAppender | |49353|New|Nor|2010-05-28|[patch] change logfactor userdir name to hidden di| |49354|New|Nor|2010-05-28|XMLLayout writes illegal characters to XML file | |49359|New|Nor|2010-05-29|Log4j site should have some mention of git mirrori| |49390|New|Nor|2010-06-05|1.0 releases of log4j companions component and rec| |49421|New|Maj|2010-06-10|Chainsaw don't show Logger for SocketReceiver and | |49470|New|Nor|2010-06-19|log4j 1.2.17 release | |49471|New|Enh|2010-06-19|Add CDATA parameter to XmlLayout | |49481|New|Maj|2010-06-21|Log4j stops writting to file, and then causes serv| |49489|New|Enh|2010-06-22|Ability to filter on several loggers | |49563|New|Min|2010-07-06|New SMTPProtocol and SMTPPort not recognized | |49571|New|Enh|2010-07-08|refreshing log4j - reconfigurable from log4j.prope| |49592|New|Cri|2010-07-14|477 All Attributes Not Set | |49597|New|Min|2010-07-15|The log4j.dtd is to restrictive | |49693|New|Cri|2010-08-03|Intermittently Log4j fails to bind with log file | |49797|New|Enh|2010-08-22|AsyncAppenders Enchancement | |49852|New|Enh|2010-08-31|Allow log files to rollover at any specified time | |49853|New|Enh|2010-08-31|Adding loggers to the configuration | |49854|New|Nor|2010-08-31|Documentation | |49899|New|Nor|2010-09-08|PatternLayout and EnhancedPatternLayout issues wit| |49920|New|Maj|2010-09-13|DailyRollingFileAppender.rollOver() might leave su| |49932|New|Nor|2010-09-14|Additional OSGI/BND configuration elements | +-----+---+---+----------+--------------------------------------------------+ | Total 184 bugs | +---------------------------------------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Sep 28 18:19:31 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2365 invoked from network); 28 Sep 2010 18:19:31 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 28 Sep 2010 18:19:31 -0000 Received: (qmail 43193 invoked by uid 500); 28 Sep 2010 18:19:31 -0000 Delivered-To: [email protected] Received: (qmail 43027 invoked by uid 500); 28 Sep 2010 18:19:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 43018 invoked by uid 99); 28 Sep 2010 18:19:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Sep 2010 18:19:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Sep 2010 18:19:27 +0000 Received: from thor.apache.org (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8SIJ57K001380 for <[email protected]>; Tue, 28 Sep 2010 18:19:05 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o8SIJ5m9001379; Tue, 28 Sep 2010 14:19:05 -0400 (EDT) Date: Tue, 28 Sep 2010 14:19:05 -0400 (EDT) Message-Id: <[email protected]> From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 44386] NTEventLogAppender.dll for windows 64 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Log4j X-Bugzilla-Component: Appender X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: [email protected] X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: [email protected] X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: <{{EMAIL+PHONE}}/bugzilla/> References: <{{EMAIL+PHONE}}/bugzilla/> X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=44386 --- Comment #14 from dB. <[email protected]> 2010-09-28 14:18:58 EDT --- Maybe consider scrapping NTEventLogAppender altogether and replacing it with a JNA-based implementation (see http://log4jna.codeplex.com). -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Sep 29 00:15:38 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20773 invoked from network); 29 Sep 2010 00:15:38 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 29 Sep 2010 00:15:38 -0000 Received: (qmail 40113 invoked by uid 500); 29 Sep 2010 00:15:38 -0000 Delivered-To: [email protected] Received: (qmail 40008 invoked by uid 500); 29 Sep 2010 00:15:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 40000 invoked by uid 99); 29 Sep 2010 00:15:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Sep 2010 00:15:37 +0000 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mout.perfora.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Sep 2010 00:15:32 +0000 Received: from winxedgeus02.exchange.xchg (winxedgeus02.lxa.perfora.net [161.129.204.104]) by mrelay.perfora.net (node=mrus2) with ESMTP (Nemesis) id 0MJjfo-1P1qFn0gDs-001JZY; Tue, 28 Sep 2010 20:15:11 -0400 Received: from winxhubus03.exchange.xchg (161.129.204.104) by winxedgeus02.exchange.xchg (161.129.204.104) with Microsoft SMTP Server (TLS) id 161.129.204.104; Tue, 28 Sep 2010 20:12:40 -0400 Received: from winxbeus13.exchange.xchg ([161.129.204.104]) by winxhubus03.exchange.xchg ([161.129.204.104]) with mapi; Tue, 28 Sep 2010 20:12:37 -0400 From: dB. <[email protected]> To: "[email protected]" <[email protected]> Date: Tue, 28 Sep 2010 20:12:37 -0400 Subject: getting rid of the pesky NTEventLogAppender.dll Thread-Topic: getting rid of the pesky NTEventLogAppender.dll Thread-Index: ActfapfGjBwovH8wRS2A5OFhFxoRVw== Message-ID: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US x-provags-id: V02:K0:V1lsfZzhXnYDGjAbik3Nx8AboAquN/U+YHdt8tfyWFP 9WtDNzDNn/ibGO5H9NHTKwE3P2j6WEdbyaCGJOxB9UIOAw8BcD DXHUfrdA+8LERJhKxrmnW0txlqoPyOcXgl36B6OYgXQSdUxPPt 0kV7PuP4LJpx2y0sNq73Le03fVfLLw5OSG1Qzj+eKSrxAdaIt Content-Type: multipart/alternative; boundary="_000_AF5EF1769D564645A9ACC947375F0D0215A2B54336winxbeus13exc_" MIME-Version: 1.0 --_000_AF5EF1769D564645A9ACC947375F0D0215A2B54336winxbeus13exc_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, After struggling with NTEventLogAppender for a while in some non-trivial de= ployment scenario, I wrote a JNA-based appender that could replace it for g= ood. It uses JNA and doesn't require to place any native DLLs into system32= or PATH. http://log4jna.codeplex.com/ License is Apache 2.0. Curious if there's any interest for this from the lo= g4j developers, maybe for log4j 2.0. Thx dB. dB. @ dblock.org<http://www.dblock.org/> Moscow|Geneva|Seattle|New York --_000_AF5EF1769D564645A9ACC947375F0D0215A2B54336winxbeus13exc_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV=3D"Content-Type" CONTENT= =3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"Micros= oft Word 14 (filtered medium)"><style><!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Verdana; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} .MsoChpDefault {mso-style-type:export-only; font-family:"Calibri","sans-serif";} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue vli= nk=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal>Hi,<o:p></o:p></= p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>After stru= ggling with NTEventLogAppender for a while in some non-trivial deployment s= cenario, I wrote a JNA-based appender that could replace it for good. It us= es JNA and doesn&#8217;t require to place any native DLLs into system32 or = PATH.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMs= oNormal style=3D'text-indent:.5in'><a href=3D"http://log4jna.codeplex.com/"= >http://log4jna.codeplex.com/</a><o:p></o:p></p><p class=3DMsoNormal><o:p>&= nbsp;</o:p></p><p class=3DMsoNormal>License is Apache 2.0. Curious if there= &#8217;s any interest for this from the log4j developers, maybe for log4j 2= .0.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoN= ormal>Thx<o:p></o:p></p><p class=3DMsoNormal>dB.<o:p></o:p></p><p class=3DM= soNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><s= pan style=3D'font-size:7.5pt;font-family:"Verdana","sans-serif"'>dB. @ <a h= ref=3D"http://www.dblock.org/"><span style=3D'color:blue'>dblock.org</span>= </a> <br></span></b><span style=3D'font-size:7.5pt;font-family:"Verdana","s= ans-serif"'>Moscow|Geneva|Seattle|New York<br><br><o:p></o:p></span></p><p = class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></body></html>= --_000_AF5EF1769D564645A9ACC947375F0D0215A2B54336winxbeus13exc_-- From [email protected] Thu Sep 30 09:47:11 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44948 invoked from network); 30 Sep 2010 09:47:11 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 30 Sep 2010 09:47:11 -0000 Received: (qmail 76115 invoked by uid 500); 30 Sep 2010 09:47:11 -0000 Delivered-To: [email protected] Received: (qmail 75925 invoked by uid 500); 30 Sep 2010 09:47:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 75916 invoked by uid 99); 30 Sep 2010 09:47:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Sep 2010 09:47:07 +0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of [email protected] does not designate 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail01.solnet.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Sep 2010 09:47:00 +0000 Received: from mail01.solnet.ch (localhost.solnet.ch [161.129.204.104]) by mail01.solnet.ch (Postfix) with ESMTP id 1E8C2A5D25 for <[email protected]>; Thu, 30 Sep 2010 09:46:40 +0000 (UTC) X-Virus-Scanned: by [email protected] Received: from mail01.solnet.ch ([161.129.204.104]) by mail01.solnet.ch (mail01.solnet.ch [161.129.204.104]) (SolNet-Check, port 10024) with LMTP id rHHeJjCAoUpG for <[email protected]>; Thu, 30 Sep 2010 09:46:39 +0000 (UTC) Received: from 161.129.204.104.local.home (212-41-115-222.adsl.solnet.ch [161.129.204.104]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail01.solnet.ch (Postfix) with ESMTPSA id 89C35A5EC0 for <[email protected]>; Thu, 30 Sep 2010 09:46:39 +0000 (UTC) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: MDC does not properly clean up From: =?iso-8859-1?Q?Marcel_St=F6r?= <[email protected]> In-Reply-To: <[email protected]> Date: Thu, 30 Sep 2010 11:46:38 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <[email protected]> References: <[email protected]> <[email protected]> To: "Log4J Developers List" <[email protected]> X-Mailer: Apple Mail (2.1081) X-Virus-Checked: Checked by ClamAV on apache.org On 24.09.2010, at 17:04, Jacob Kjome wrote: > Since Log4j must support JDK1.4 (actually, still 1.3, I believe), I = don't see how we could use JDK1.5+ ThreadLocal.remove()? I suspected something like this...I was actually surprised to see that = there's still development activity here. What I see sometimes with other libraries which have similar constraints = is that they detect JVM versions and act accordingly (in some cases = issuing commands via reflection).=20 > That said, there are other ways of cleaning up ThreadLocals that don't = require remove(). For examples, see CrazyBob's "Hard Core Java: = ThreadLocal" from back in 2006 [1]. Log4j could utilize CrazyBob's = suggestions and provide an MDC cleanup method to allow users a chance to = clean up. Thoughts? =46rom a client application developer's point of view there should be = "some means" to clear this that works reliably on somewhat modern JVMs. = Please note that - Tomcat only runs its clean-up operations when it runs on Sun JVMs - only Sun JVMs seem to have that memory issue because they load classes = into permgen - not clearing MDC ThreadLocal only becomes an issue when frequently = hot-deploying an application in a container (something you don't wanna = do in production environments anyway) As a client application developer I care because customers are breathing = down our neck to get this fixed nonetheless. Marcel --=20 Marcel St=F6r, http://www.frightanic.com Couchsurfing: http://www.couchsurfing.com/people/marcelstoer O< ascii ribbon campaign - stop html mail - www.asciiribbon.org --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Sep 30 15:25:52 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70361 invoked from network); 30 Sep 2010 15:25:52 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 30 Sep 2010 15:25:52 -0000 Received: (qmail 62676 invoked by uid 500); 30 Sep 2010 15:25:52 -0000 Delivered-To: [email protected] Received: (qmail 62481 invoked by uid 500); 30 Sep 2010 15:25:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 62472 invoked by uid 99); 30 Sep 2010 15:25:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Sep 2010 15:25:49 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO SMTPGATEWAY.federal.dell.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Sep 2010 15:25:43 +0000 Received: from WillowCAS.fairfax.PSGS.COM (Not Verified[161.129.204.104]) by SMTPGATEWAY.federal.dell.com with MailMarshal (v6,8,3,9481) (using TLS: SSLv23) id <B4ca4abe20001>; Thu, 30 Sep 2010 11:25:22 -0400 Received: from WILLOWMAIL07.fairfax.PSGS.COM ([161.129.204.104]) by WillowCAS.fairfax.PSGS.COM ([161.129.204.104]) with mapi; Thu, 30 Sep 2010 11:25:22 -0400 From: "Dusa, Silviu" <[email protected]> To: Log4J Developers List <[email protected]> Date: Thu, 30 Sep 2010 11:25:22 -0400 Subject: Question about the future of Log4J Thread-Topic: Question about the future of Log4J Thread-Index: AQHLYLOyiG6U5gQ9tEaR+wymkbEKQg== Message-ID: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Hi, =20 My name is Silviu Dusa and I am an architect for a rather large organizatio= n. I am in charge with the assessment of Log4J for future development. =20 We perused the text found at the wiki site (http://wiki.apache.org/logging-= log4j/) but it is not clear what the direction Log4J is going is.=20 =20 Specifically I would need answers to the following questions: =20 1. Version 1.2 is recommended for versions prior to Java 6 and Java 5, thou= gh it is compatible with them. What is the future of it? How long is it sti= ll going to be supported? 2. When is version 2.0 slated for release? 3. What is the future of 'logback'? When will it be released? Will it be a = replacement for Log4J in the Apache technologies? =20 Thank you for your help. =20 Silviu Dusa= --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Sep 30 15:29:56 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71467 invoked from network); 30 Sep 2010 15:29:56 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 30 Sep 2010 15:29:56 -0000 Received: (qmail 69912 invoked by uid 500); 30 Sep 2010 15:29:55 -0000 Delivered-To: [email protected] Received: (qmail 69726 invoked by uid 500); 30 Sep 2010 15:29:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 69718 invoked by uid 99); 30 Sep 2010 15:29:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Sep 2010 15:29:53 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO SMTPGATEWAY2.federal.dell.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Sep 2010 15:29:47 +0000 Received: from WillowCAS.fairfax.PSGS.COM (Not Verified[161.129.204.104]) by SMTPGATEWAY2.federal.dell.com with MailMarshal (v6,8,3,9481) (using TLS: SSLv23) id <B4ca4acd60000>; Thu, 30 Sep 2010 11:29:26 -0400 Received: from WILLOWMAIL07.fairfax.PSGS.COM ([161.129.204.104]) by WillowCAS.fairfax.PSGS.COM ([161.129.204.104]) with mapi; Thu, 30 Sep 2010 11:29:26 -0400 From: "Dusa, Silviu" <[email protected]> To: Log4J Developers List <[email protected]> Date: Thu, 30 Sep 2010 11:28:29 -0400 Subject: Log4J Future Releases Question Thread-Topic: Log4J Future Releases Question Thread-Index: AQHLYLRDFUZmhYpDKEeaYASOR+Hf3g== Message-ID: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Hi, =20 My name is Silviu Dusa and I am an architect for a rather large organizatio= n. I am in charge with the assessment of Log4J for future development. =20 We perused the text found at the wiki site (http://wiki.apache.org/logging-= log4j/) but it is not clear what the direction Log4J is going is.=20 =20 Specifically I would need answers to the following questions: =20 1. Version 1.2 is recommended for versions prior to Java 6 and Java 5, thou= gh it is compatible with them. What is the future of it? How long is it sti= ll going to be supported? 2. When is version 2.0 slated for release? 3. What is the future of 'logback'? When will it be released? Will it be a = replacement for Log4J in the Apache technologies? =20 Thank you for your help. =20 Silviu Dusa= --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Sep 30 20:05:08 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70665 invoked from network); 30 Sep 2010 20:05:08 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 30 Sep 2010 20:05:08 -0000 Received: (qmail 24760 invoked by uid 500); 30 Sep 2010 20:05:07 -0000 Delivered-To: [email protected] Received: (qmail 24625 invoked by uid 500); 30 Sep 2010 20:05:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Log4J Developers List" <log4j-dev.logging.apache.org> Reply-To: "Log4J Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 24617 invoked by uid 99); 30 Sep 2010 20:05:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Sep 2010 20:05:06 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f47.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Sep 2010 20:05:00 +0000 Received: by ewy7 with SMTP id 7so1386374ewy.34 for <[email protected]>; Thu, 30 Sep 2010 13:04:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=d9+qal9fueCNgli/NttwRJDyBEDPT/7zYz355+OTT7g=; b=lqzJfCG4ieXTL/LtFIDgdcD9wdd9/AMn3UmaqwyyKngcc/nt1xvjpaKRcMtZJpX0cq Kfw4vx/DX170eyLzh0V1l/NQFADrM2jA7pJfSSGPkqv0kHN8ZYCq5/z2pd0DGIgctrXz d/7YH65RYvA+oCVFcEu+M6qYWXllXuXYznJM8= 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=F9VTDyHEaO3eAM5XylyH++bfsXjZwy9IY5qIz2vf1vUgpU6kO95ceODSniZbSYZTwR Zg3mxnlSq8RNr//znyuQL2vHvvSKUsvzFZOilmMdpxZPQ2CCsSYJdvVrTHqvDlVpJs5u X2MmRerw+tP6lOIBgaLDLn25XV3U3Lw9+9SQ4= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id c7mr3606689ebd.2.1285877078499; Thu, 30 Sep 2010 13:04:38 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 30 Sep 2010 13:04:38 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Thu, 30 Sep 2010 13:04:38 -0700 Message-ID: <[email protected]> Subject: Re: Log4J Future Releases Question From: Scott Deboy <[email protected]> To: Log4J Developers List <[email protected]> Content-Type: multipart/alternative; boundary=0015174c38e27d238604917f9625 --0015174c38e27d238604917f9625 Content-Type: text/plain; charset=ISO-8859-1 The log4j 1.2 line will continue to be maintained. Some work has gone into designing Log4j 2, but it is still in the early stages. I'm not very familiar with the logback library, but each logging library has pros and cons relative to log4j. One of the main differences between log4j some some of the other libraries is that many logging libraries take a String argument in the logging methods, while log4j takes an Object. In some scenarios, passing in a custom Object to logging methods allows custom filters, appenders and renderers to do some things that would be difficult with strings. There is also the RepositorySelector feature available with log4j. I'm not sure if other frameworks have something similar. There was an attempt a long time ago to consolidate the API used by log4j and the logback library, but the Object/String issue seemed to prevent consensus. Scott On Thu, Sep 30, 2010 at 8:28 AM, Dusa, Silviu <[email protected]>wrote: > Hi, > > My name is Silviu Dusa and I am an architect for a rather large > organization. I am in charge with the assessment of Log4J for future > development. > > We perused the text found at the wiki site ( > http://wiki.apache.org/logging-log4j/) but it is not clear what the > direction Log4J is going is. > > Specifically I would need answers to the following questions: > > 1. Version 1.2 is recommended for versions prior to Java 6 and Java 5, > though it is compatible with them. What is the future of it? How long is it > still going to be supported? > 2. When is version 2.0 slated for release? > 3. What is the future of 'logback'? When will it be released? Will it be a > replacement for Log4J in the Apache technologies? > > Thank you for your help. > > Silviu Dusa > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --0015174c38e27d238604917f9625 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable The log4j 1.2 line will continue to be maintained.<br><br>Some work has gon= e into designing Log4j 2, but it is still in the early stages.<br><br>I&#39= ;m not very familiar with the logback library, but each logging library has= pros and cons relative to log4j.=A0 <br> <br>One of the main differences between log4j some some of the other librar= ies is that many logging libraries take a String argument in the logging me= thods, while log4j takes an Object.=A0 In some scenarios, passing in a cust= om Object to logging methods allows custom filters, appenders and renderers= to do some things that would be difficult with strings.<br> <br>There is also the RepositorySelector feature available with log4j.=A0 I= &#39;m=20 not sure if other frameworks have something similar.<br> <br> There was an attempt a long time ago to consolidate the API used by log4j a= nd the logback library, but the Object/String issue seemed to prevent conse= nsus.<br> <br> Scott<br><br><div class=3D"gmail_quote">On Thu, Sep 30, 2010 at 8:28 AM, Du= sa, Silviu <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]= .com">[email protected]</a>&gt;</span> wrote:<br><blockquote cla= ss=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px sol= id rgb(204, 204, 204); padding-left: 1ex;"> Hi,<br> <br> My name is Silviu Dusa and I am an architect for a rather large organizatio= n. I am in charge with the assessment of Log4J for future development.<br> <br> We perused the text found at the wiki site (<a href=3D"http://wiki.apache.o= rg/logging-log4j/" target=3D"_blank">http://wiki.apache.org/logging-log4j/<= /a>) but it is not clear what the direction Log4J is going is.<br> <br> Specifically I would need answers to the following questions:<br> <br> 1. Version 1.2 is recommended for versions prior to Java 6 and Java 5, thou= gh it is compatible with them. What is the future of it? How long is it sti= ll going to be supported?<br> 2. When is version 2.0 slated for release?<br> 3. What is the future of &#39;logback&#39;? When will it be released? Will = it be a replacement for Log4J in the Apache technologies?<br> <br> Thank you for your help.<br> <font color=3D"#888888"><br> Silviu Dusa<br> ---------------------------------------------------------------------<br> To unsubscribe, e-mail: <a href=3D"mailto:[email protected]= che.org">[email protected]</a><br> For additional commands, e-mail: <a href=3D"mailto:[email protected]= pache.org">[email protected]</a><br> <br> </font></blockquote></div><br> --0015174c38e27d238604917f9625--
From [email protected] Thu May 03 12:47:35 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38689 invoked from network); 3 May 2007 12:47:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 May 2007 12:47:35 -0000 Received: (qmail 45698 invoked by uid 500); 3 May 2007 12:47:41 -0000 Delivered-To: [email protected] Received: (qmail 45673 invoked by uid 500); 3 May 2007 12:47:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 45664 invoked by uid 99); 3 May 2007 12:47:41 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2007 05:47:41 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO an-out-0708.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2007 05:47:34 -0700 Received: by an-out-0708.google.com with SMTP id b2so485794ana for <[email protected]>; Thu, 03 May 2007 05:47:13 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=aDy3GQpnZ1tlhgMCcesfbRbF2OIs6QP8p675a7JECNEAaGoSgMxpxiHpxFuKF6pLKYgYrkG6f+EDFFnof0Ejj7vGh0BdsVopnSp/7eCAhlZn4C/cpkxtvZxts8t0lp46BjwrJ4zmLZHdQpjDLuGhHVLQ6CxcFZ/nKl7Lv5XDLsc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=tzj3pN3el7KXFR++bDIt1jVNVJLQ9/pN2RtRfcB/qhJboAqCEewpHKyrJr7ljN3yrW63QfWoholbMfPQsc/spKDTIbyHRHiV12au2Cw0M3LKqk/o2jurGeR8zAZYDIeIBxvvPz9XcjKfI/O2t+KyVd51bbPKaPiA7JtqV9PTxMs= Received: by 161.129.204.104 with SMTP id z1mr1489957anc.1178196431701; Thu, 03 May 2007 05:47:11 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 3 May 2007 05:47:11 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 3 May 2007 14:47:11 +0200 From: "Ruth DeBardeleben" <[email protected]> To: [email protected] Subject: Re: Lokahi - Status MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I've enjoyed learning about community building here at Apachecon -- we've had some good conversations we really ought to recap here on the list. One of the things I picked up from Aaron Farr's talk on community building is how Lokahi needs to have a clear roadmap for what we're trying to accomplish in this podling -- so potential users/contributors can understand what we're about, where we're going, and how they can get involved. I am a Lokahi user, and can contribute documentation, website content and testing, but I'm not involved in the actual code development. I'd like to write content for the website, but I can't do that until we've had the discussions on where we want to go. The below is NOT a list of what the Lokahi community has *agreed* to work on -- it's my informal notes on ideas that came out of happyhours/brainstorming. Ideas: (no particular order) Idea I: change the backend to use JCR/Jackrabbit (see Steve Toback's initial message in this thread) Benefits: - database-agnostic -- Oracle no longer required, increases the "market" of potential users - object versioning (eventually be able to provide an "undo my latest change" feature, and an archive of what a given httpsd.conf file contained at a point in time) - run the whole Lokahi application + repository in a JVM (as opposed to having to install/manage oracle) - easier for interested people to set up / try out --- lowers the barrier to contribution I completely agree that a JCR backend would make Lokahi even more valuable than it is now, and that JCR may have the added benefit of reducing the community-building difficulties we're facing. From in-person discussions here at Apachecon, the JCR work sounds like it's the first priority. Idea J: develop a scripting interface (suggested by Noel Bergman) to get around GUI limitations (rationale: why develop a GUI for tasks that people don't frequently perform? -- just script against the repository/database in a way that also records the audit trail of who-made-what-changes-and-when) Idea K: manage www.apache.org infrastructure with Lokahi (eat own dog food -- don't remember whose idea this was.. Steve's or Noel's?) Benefits: - more visibility, more credibility for Lokahi if it manages *.apache.org Challenges: - need to keep Lokahi continually up-to-date with latest Apache & mod_jk releases -- (would these take priority over the JCR project?) Idea L: patch for latest version of mod_jk Idea M: investigate using Lokahi to help manage Felix/OSGi configurations on mobile devices My question is: which of these ideas should the community tackle first? Are we agreed that it's going to be JCR for sure? Ruth > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of Steve > Toback > Sent: Wednesday, April 25, 2007 5:06 PM > To: [email protected] > Subject: Lokahi - Status > > Hey guys > Sorry I have had not a lot of time to commit to this project lately. > > I wanted to outline some of the thoughts I have had about the project. > To start a direction sort of conversation. First to outline some of > the problems with the application: > > Install is complicated. (sql scripts are nasty, in my opinion), but > it currently works. The ant build script could be improved upon, and > the app itself could be improved. > > > Database support is limited. We support Oracle (and most of mysql is > the mysql branch) > > The support of apache/tomcat for configs is limited. more > specifically if you use mod_jk, there's a few things that are > hard-coded that really shouldn't be. Same goes for tomcat server.xml > files. (Velocity templating of config files?) > > There's been small but infrequent conversations about adding in > modular support for other application servers. > > There is no automated test system. > > Basically, I think a lot of the focus should be on giving this podling > a fighting chance to survive the incubator. > > > I had talked at the last Apachecon about porting the code to use a jsr > 170 back-end, ie jackrabbit. This would allow 2 major features - more > database support, and a transactional rollback system for > configuration changed. Both which are not currently included. This > is no small undertaking however. And I'd like to start a discussion > around that. > > This would also work to solve a little bit of the first issue I > mentioned - some of the complexity in setting up the app is in fact > the database setup itself. > > > When the app was originally designed - the concept was to have two > types of modules. One for the application servers, one for 'connector > - type' modules. That is something that is roughly followed > currently. And could be improved upon. > > > Steve From [email protected] Thu May 03 13:19:46 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59798 invoked from network); 3 May 2007 13:19:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 May 2007 13:19:46 -0000 Received: (qmail 1296 invoked by uid 500); 3 May 2007 13:19:52 -0000 Delivered-To: [email protected] Received: (qmail 1281 invoked by uid 500); 3 May 2007 13:19:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 1272 invoked by uid 99); 3 May 2007 13:19:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2007 06:19:52 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp14.wxs.nl) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2007 06:19:44 -0700 Received: from [161.129.204.104] by smtp14.wxs.nl (iPlanet Messaging Server 5.2 HotFix 2.15 (built Nov 14 2006)) with ESMTP id <[email protected]> for [email protected]; Thu, 03 May 2007 15:19:23 +0200 (CEST) Date: Thu, 03 May 2007 15:19:18 +0200 From: Filip Hanik - Dev Lists <[email protected]> Subject: Re: Lokahi - Status In-reply-to: <[email protected]> To: [email protected] Message-id: <[email protected]> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT User-Agent: Thunderbird 161.129.204.104 (Windows/20070221) References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org this is good stuff, I also have one suggestion, while we do jackrabbit, to become agnostic of a DB, getting a user up to speed is still important. To remove the step of having to install and configure an external database, my idea would be to use Apache Derby. It's a Java Database, and the beauty of it, is that you can bundle it into your project. So when you download a lokahi release, it could already come with a bundled database, all ready to go. Licensing is not an issue, Derby is an ASF project. any thoughts? Filip Ruth DeBardeleben wrote: > Hi all, > > I've enjoyed learning about community building here at Apachecon -- > we've had some good conversations we really ought to recap here on the > list. > > One of the things I picked up from Aaron Farr's talk on community > building is how Lokahi needs to have a clear roadmap for what we're > trying to accomplish in this podling -- so potential > users/contributors can understand what we're about, where we're going, > and how they can get involved. > > I am a Lokahi user, and can contribute documentation, website content > and testing, but I'm not involved in the actual code development. I'd > like to write content for the website, but I can't do that until we've > had the discussions on where we want to go. > > The below is NOT a list of what the Lokahi community has *agreed* to > work on -- it's my informal notes on ideas that came out of > happyhours/brainstorming. > > > > Ideas: (no particular order) > > Idea I: change the backend to use JCR/Jackrabbit (see Steve Toback's > initial message in this thread) > Benefits: > - database-agnostic -- Oracle no longer required, increases the > "market" of potential users > - object versioning (eventually be able to provide an "undo my > latest change" feature, and an archive of what a given httpsd.conf > file contained at a point in time) > - run the whole Lokahi application + repository in a JVM (as > opposed to having to install/manage oracle) > - easier for interested people to set up / try out --- lowers the > barrier to contribution > > I completely agree that a JCR backend would make Lokahi even more > valuable than it is now, and that JCR may have the added benefit of > reducing the community-building difficulties we're facing. From > in-person discussions here at Apachecon, the JCR work sounds like it's > the first priority. > > Idea J: develop a scripting interface (suggested by Noel Bergman) to > get around GUI limitations (rationale: why develop a GUI for tasks > that people don't frequently perform? -- just script against the > repository/database in a way that also records the audit trail of > who-made-what-changes-and-when) > > Idea K: manage www.apache.org infrastructure with Lokahi (eat own dog > food -- don't remember whose idea this was.. Steve's or Noel's?) > Benefits: > - more visibility, more credibility for Lokahi if it manages > *.apache.org > Challenges: > - need to keep Lokahi continually up-to-date with latest Apache & > mod_jk releases -- (would these take priority over the JCR project?) > > Idea L: patch for latest version of mod_jk > > Idea M: investigate using Lokahi to help manage Felix/OSGi > configurations on mobile devices > > My question is: which of these ideas should the community tackle > first? Are we agreed that it's going to be JCR for sure? > > Ruth > >> -----Original Message----- >> From: [email protected] [mailto:[email protected]] On Behalf Of Steve >> Toback >> Sent: Wednesday, April 25, 2007 5:06 PM >> To: [email protected] >> Subject: Lokahi - Status >> >> Hey guys >> Sorry I have had not a lot of time to commit to this project lately. >> >> I wanted to outline some of the thoughts I have had about the project. >> To start a direction sort of conversation. First to outline some of >> the problems with the application: >> >> Install is complicated. (sql scripts are nasty, in my opinion), but >> it currently works. The ant build script could be improved upon, and >> the app itself could be improved. >> >> >> Database support is limited. We support Oracle (and most of mysql is >> the mysql branch) >> >> The support of apache/tomcat for configs is limited. more >> specifically if you use mod_jk, there's a few things that are >> hard-coded that really shouldn't be. Same goes for tomcat server.xml >> files. (Velocity templating of config files?) >> >> There's been small but infrequent conversations about adding in >> modular support for other application servers. >> >> There is no automated test system. >> >> Basically, I think a lot of the focus should be on giving this podling >> a fighting chance to survive the incubator. >> >> >> I had talked at the last Apachecon about porting the code to use a jsr >> 170 back-end, ie jackrabbit. This would allow 2 major features - more >> database support, and a transactional rollback system for >> configuration changed. Both which are not currently included. This >> is no small undertaking however. And I'd like to start a discussion >> around that. >> >> This would also work to solve a little bit of the first issue I >> mentioned - some of the complexity in setting up the app is in fact >> the database setup itself. >> >> >> When the app was originally designed - the concept was to have two >> types of modules. One for the application servers, one for 'connector >> - type' modules. That is something that is roughly followed >> currently. And could be improved upon. >> >> >> Steve > > From [email protected] Thu May 03 13:30:30 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75743 invoked from network); 3 May 2007 13:30:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 May 2007 13:30:29 -0000 Received: (qmail 21291 invoked by uid 500); 3 May 2007 13:30:36 -0000 Delivered-To: [email protected] Received: (qmail 21246 invoked by uid 500); 3 May 2007 13:30:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 21237 invoked by uid 99); 3 May 2007 13:30:36 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2007 06:30:36 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wr-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2007 06:30:29 -0700 Received: by wr-out-0506.google.com with SMTP id i31so556507wra for <[email protected]>; Thu, 03 May 2007 06:30:08 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=pqlrVGhi2ndcLuTdrdnocZU4pzv2m3gU4vPTfbCkkolQb2L2fzHupIGErzUL/GuHF5K7UCFqRSqBwhjxpPDAwYpXW/s6U94hqF7MFYl4gJyJkRkvQyNaPrLty0RW9JjGdk0Xt76WBqvzchE+OSCc2IvEacVsac17jce1bhm4Z0c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=B6CUevxCtnW8ktOv4PD4lMpThiFt0/CcUk0Iyx943se6Rg32QtDk0KzZt7p0BZKfFZDG2hzrVQtEKiD6AyGOMVHa3l75zVDc1m3uTjBlqfXpnw3xeoeD6hhizMm41nh1HnqkUYPW39i0yqfFiBAIPJHiGPgyROt85FVSwryC6g0= Received: by 161.129.204.104 with SMTP id i19mr650247waa.1178199007675; Thu, 03 May 2007 06:30:07 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 3 May 2007 06:30:07 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 3 May 2007 15:30:07 +0200 From: "Steve Toback" <[email protected]> Sender: [email protected] To: [email protected] Subject: moving Lokahi to JCR - tree model MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 0797c84d99fae2a0 X-Virus-Checked: Checked by ClamAV on apache.org Jukka and I sat down in Amsterdam, and a summery of the proposed tree structure for the jcr branch idea of Lokahi is attached. Cross-forwarded here, so we can further expand it and answer any questions on it. Steve ---------- Forwarded message ---------- From: Jukka Zitting <[email protected]> Date: May 3, 2007 3:19 PM Subject: Re: Help moving from RDBMS to JCR (Lokahi) To: [email protected] Hi, On 5/3/07, Steve Toback <[email protected]> wrote: > Thoughts / Suggestions are greatly appreciated. We sat together with Steve here in Amsterdam, and here's the output of a quick desing session. I don't have to explain it in more detail now (ask if you're interested), but here's the node type draft and an example tree structure: ---- <lokahi=...> [lokahi:entity] > nt:hierarchyNode, mix:versionable [lokahi:collection] > lokahi:entity, nt:folder [lokahi:template] > lokahi:collection - foo (STRING) [lokahi:worker] > lokahi:entity [lokahi:pool] > lokahi:collection [lokahi:httpd-template] > lokahi:template - apache-config (STRING) [lokahi:httpd-worker] > lokahi:worker - worker-config (STRING) [lokahi:httpd-pool] > lokahi:pool [lokahi:httpd-vhost] > lokahi:entity [lokahi:server] > lokahi:entity [lokahi:user] > lokahi:entity + * (lokahi:user-project-relationship) [lokahi:project] > lokahi:entity ---- /lokahi /httpd /template /workerA /workerB /tomcat /servers /serverA /serverB /users /userA /userB /projects /projectA /projectB BR, Jukka Zitting From [email protected] Thu May 03 13:36:08 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79807 invoked from network); 3 May 2007 13:36:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 May 2007 13:36:07 -0000 Received: (qmail 32015 invoked by uid 500); 3 May 2007 13:36:14 -0000 Delivered-To: [email protected] Received: (qmail 31998 invoked by uid 500); 3 May 2007 13:36:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31987 invoked by uid 99); 3 May 2007 13:36:14 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2007 06:36:14 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nz-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2007 06:36:06 -0700 Received: by nz-out-0506.google.com with SMTP id j2so536210nzf for <[email protected]>; Thu, 03 May 2007 06:35:45 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=W3AU37VieMS22KV7Ibf4A2J9bI9L51Lo28NdXfXKNJv8fYMM7zQ3R+xVTyJvZ6DOeUwY9Yzh+gPQ2O16vAzxg6QrTKJIj6fa5Fv1pEIFX/WkELmvkWjeEwKUhC0O9cE1VHeMBIe83o+zb5wcnEIi6miIBuE2qkP6Kf0DT3SWzRI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HbwTkhNMKMA2xy1mGXoN06zwI4+NY02rBkdtgXgjgrpuG5O+mwBlcvQUsY68xUaUk2H9WPg8yG0Nq/8lrhnCme3y9csPIezt5Vw1O3GP9JQFktDr10Bh+Yf6dO47gdUvb5+y6MIJWnzA8hvfi93j0xH6F6ST1PACAXNi8S2+25s= Received: by 161.129.204.104 with SMTP id 1mr652495wao.1178199344352; Thu, 03 May 2007 06:35:44 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 3 May 2007 06:35:44 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 3 May 2007 15:35:44 +0200 From: drtobes <[email protected]> To: [email protected] Subject: Re: Lokahi - Status In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org On 5/3/07, Filip Hanik - Dev Lists <[email protected]> wrote: > while we do jackrabbit, to become agnostic of a DB, getting a user up to > speed is still important. > To remove the step of having to install and configure an external > database, my idea would be to use Apache Derby. > It's a Java Database, and the beauty of it, is that you can bundle it > into your project. JCR to bundled derby or JCR to even a filestore could be out of the box configurations. Unless you're talking about skipping the jcr completely and going directly to Derby, in which case you would lose versioning... Steve From [email protected] Thu May 03 13:45:13 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86785 invoked from network); 3 May 2007 13:45:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 May 2007 13:45:11 -0000 Received: (qmail 53164 invoked by uid 500); 3 May 2007 13:45:17 -0000 Delivered-To: [email protected] Received: (qmail 53145 invoked by uid 500); 3 May 2007 13:45:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 53115 invoked by uid 99); 3 May 2007 13:45:17 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2007 06:45:17 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wr-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2007 06:45:09 -0700 Received: by wr-out-0506.google.com with SMTP id i31so562232wra for <[email protected]>; Thu, 03 May 2007 06:44:48 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=foJ3iIIIb0Kkfaxpl81jnc5j+dqo8G05idh+RatXlZPaDZhcChyr8HBgerEFtJRCtw78GatgYd5AlU/DOGJUAEHakXiQiV0SturvkQ9An2iN2yX1e/W/sQ7UAmmFjUXAFuJJYsYfEWnd2Xc8CBmsZru0gyxTDLaTzcHPg4Sknpo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=l3mX9gTA/JKJl8c44faTAf1FgEZwi0SlyE7J1xqdoWgYvD/qDAONPe0vu1EaUUtjeLnSgO6RCUUYy9aimChG04i0LtzHNafd7/ooQhGPVoXhW6oHf8XV86wsLgVFfGNknj4u13rFEFMmKXcn4mUZXlnriB8rXLyQDojBEn4q55U= Received: by 161.129.204.104 with SMTP id v4mr906515huc.1178199887423; Thu, 03 May 2007 06:44:47 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 3 May 2007 06:44:47 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 3 May 2007 14:44:47 +0100 From: "Niall Pemberton" <[email protected]> To: [email protected] Subject: ApacheCon Amsterdam - Fast feather Tracks MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org ApacheCon EU '07 has a "Fast Feather Track" on friday (May 4). Anyone can sign up for a 15 minute slot to talk about their project. IMO it would if one of the Lokahi people here at the conference would do that. Theres a list up in the "ApacheCon Online Lounge" area (aka Zurich room) where people can just sign up to do a session. Niall From [email protected] Thu May 03 13:52:06 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93227 invoked from network); 3 May 2007 13:52:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 May 2007 13:52:05 -0000 Received: (qmail 71538 invoked by uid 500); 3 May 2007 13:52:12 -0000 Delivered-To: [email protected] Received: (qmail 71518 invoked by uid 500); 3 May 2007 13:52:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71509 invoked by uid 99); 3 May 2007 13:52:12 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2007 06:52:12 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2007 06:52:05 -0700 Received: by ug-out-1314.google.com with SMTP id y2so443748uge for <[email protected]>; Thu, 03 May 2007 06:51:43 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mBApahdjFpPYD94XUWe2uLJ4tp7UXViIQBm38dINrnXJriGZGZyz/zjh7kitVIz/2N/VYpLw6GI5Hho0FtolvKIghQT+urjJdP5ZBNkesPtMmzw0+Lf0MoEcQS4PBpu/7gav5twiAQZjT9aYQ+4XJ1kaMEAaZ6xhYHB7woZZzlQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fhzMJLo+G9YaJHwbYgthirZP7eXOf6qny8eoZ28ur2jXPHccybAI8j+PKfbR5pbLwThWA04UnBEju36qeDvlG/qL+hrfRDXBECNxITAhY4IOa1qB+N135Zpochby8veG2cWoQl0ksczS/7IeRXvqNihmlDsBx3U03Zwzs4sPcu0= Received: by 161.129.204.104 with SMTP id x3mr899191huf.1178200303401; Thu, 03 May 2007 06:51:43 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 3 May 2007 06:51:43 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 3 May 2007 14:51:43 +0100 From: "Niall Pemberton" <[email protected]> To: [email protected] Subject: Re: Lokahi - Status In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Is JPA another option? Niall On 5/3/07, Filip Hanik - Dev Lists <[email protected]> wrote: > this is good stuff, I also have one suggestion, > > while we do jackrabbit, to become agnostic of a DB, getting a user up to > speed is still important. > To remove the step of having to install and configure an external > database, my idea would be to use Apache Derby. > It's a Java Database, and the beauty of it, is that you can bundle it > into your project. > > So when you download a lokahi release, it could already come with a > bundled database, all ready to go. > Licensing is not an issue, Derby is an ASF project. > > any thoughts? > Filip > > Ruth DeBardeleben wrote: > > Hi all, > > > > I've enjoyed learning about community building here at Apachecon -- > > we've had some good conversations we really ought to recap here on the > > list. > > > > One of the things I picked up from Aaron Farr's talk on community > > building is how Lokahi needs to have a clear roadmap for what we're > > trying to accomplish in this podling -- so potential > > users/contributors can understand what we're about, where we're going, > > and how they can get involved. > > > > I am a Lokahi user, and can contribute documentation, website content > > and testing, but I'm not involved in the actual code development. I'd > > like to write content for the website, but I can't do that until we've > > had the discussions on where we want to go. > > > > The below is NOT a list of what the Lokahi community has *agreed* to > > work on -- it's my informal notes on ideas that came out of > > happyhours/brainstorming. > > > > > > > > Ideas: (no particular order) > > > > Idea I: change the backend to use JCR/Jackrabbit (see Steve Toback's > > initial message in this thread) > > Benefits: > > - database-agnostic -- Oracle no longer required, increases the > > "market" of potential users > > - object versioning (eventually be able to provide an "undo my > > latest change" feature, and an archive of what a given httpsd.conf > > file contained at a point in time) > > - run the whole Lokahi application + repository in a JVM (as > > opposed to having to install/manage oracle) > > - easier for interested people to set up / try out --- lowers the > > barrier to contribution > > > > I completely agree that a JCR backend would make Lokahi even more > > valuable than it is now, and that JCR may have the added benefit of > > reducing the community-building difficulties we're facing. From > > in-person discussions here at Apachecon, the JCR work sounds like it's > > the first priority. > > > > Idea J: develop a scripting interface (suggested by Noel Bergman) to > > get around GUI limitations (rationale: why develop a GUI for tasks > > that people don't frequently perform? -- just script against the > > repository/database in a way that also records the audit trail of > > who-made-what-changes-and-when) > > > > Idea K: manage www.apache.org infrastructure with Lokahi (eat own dog > > food -- don't remember whose idea this was.. Steve's or Noel's?) > > Benefits: > > - more visibility, more credibility for Lokahi if it manages > > *.apache.org > > Challenges: > > - need to keep Lokahi continually up-to-date with latest Apache & > > mod_jk releases -- (would these take priority over the JCR project?) > > > > Idea L: patch for latest version of mod_jk > > > > Idea M: investigate using Lokahi to help manage Felix/OSGi > > configurations on mobile devices > > > > My question is: which of these ideas should the community tackle > > first? Are we agreed that it's going to be JCR for sure? > > > > Ruth > > > >> -----Original Message----- > >> From: [email protected] [mailto:[email protected]] On Behalf Of Steve > >> Toback > >> Sent: Wednesday, April 25, 2007 5:06 PM > >> To: [email protected] > >> Subject: Lokahi - Status > >> > >> Hey guys > >> Sorry I have had not a lot of time to commit to this project lately. > >> > >> I wanted to outline some of the thoughts I have had about the project. > >> To start a direction sort of conversation. First to outline some of > >> the problems with the application: > >> > >> Install is complicated. (sql scripts are nasty, in my opinion), but > >> it currently works. The ant build script could be improved upon, and > >> the app itself could be improved. > >> > >> > >> Database support is limited. We support Oracle (and most of mysql is > >> the mysql branch) > >> > >> The support of apache/tomcat for configs is limited. more > >> specifically if you use mod_jk, there's a few things that are > >> hard-coded that really shouldn't be. Same goes for tomcat server.xml > >> files. (Velocity templating of config files?) > >> > >> There's been small but infrequent conversations about adding in > >> modular support for other application servers. > >> > >> There is no automated test system. > >> > >> Basically, I think a lot of the focus should be on giving this podling > >> a fighting chance to survive the incubator. > >> > >> > >> I had talked at the last Apachecon about porting the code to use a jsr > >> 170 back-end, ie jackrabbit. This would allow 2 major features - more > >> database support, and a transactional rollback system for > >> configuration changed. Both which are not currently included. This > >> is no small undertaking however. And I'd like to start a discussion > >> around that. > >> > >> This would also work to solve a little bit of the first issue I > >> mentioned - some of the complexity in setting up the app is in fact > >> the database setup itself. > >> > >> > >> When the app was originally designed - the concept was to have two > >> types of modules. One for the application servers, one for 'connector > >> - type' modules. That is something that is roughly followed > >> currently. And could be improved upon. > >> > >> > >> Steve > > > > > > From [email protected] Thu May 03 14:50:51 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37309 invoked from network); 3 May 2007 14:50:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 May 2007 14:50:51 -0000 Received: (qmail 98886 invoked by uid 500); 3 May 2007 14:50:58 -0000 Delivered-To: [email protected] Received: (qmail 98869 invoked by uid 500); 3 May 2007 14:50:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 98860 invoked by uid 99); 3 May 2007 14:50:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2007 07:50:57 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2007 07:50:49 -0700 Received: by ug-out-1314.google.com with SMTP id y2so456317uge for <[email protected]>; Thu, 03 May 2007 07:50:28 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jUu2aZCj96IEzJugLaMcdH0+Bn4Ls5LEQWJuvZOwZ3Ge1QEOTJUyd1FimQ4gfe2z/MXlM0z05HFBjfoht4np4xNTZBkqaiVsqxYvWfC/sUoHdZtL2a5wDHtPaKyAuZP8xgPIqmRwVEvQ1XPqXpQV7H5bGMDeLT4OOlzELqjWaKI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DMK9+FmY81dtT/7h9H6RjAKaFumYtoE16ZbbU2cpSKL8pqaU12RocNQnPaWYYUo3ejyQAO6utAwA5VhM19EZubrvByIfRf7T+t+IpAUEaVr9j+xJzsRZUtrFcoEXEQMFj0zBZn8HGwf+75gK0c+/NE3dx0SWBE6VyIps+3GUxBs= Received: by 161.129.204.104 with SMTP id v5mr932559huc.1178203828635; Thu, 03 May 2007 07:50:28 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 3 May 2007 07:50:28 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 3 May 2007 15:50:28 +0100 From: "Niall Pemberton" <[email protected]> To: [email protected] Subject: Re: Lokahi - Status In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org On 5/3/07, Ruth DeBardeleben <[email protected]> wrote: > Hi all, > > I've enjoyed learning about community building here at Apachecon -- > we've had some good conversations we really ought to recap here on the > list. > > One of the things I picked up from Aaron Farr's talk on community > building is how Lokahi needs to have a clear roadmap for what we're > trying to accomplish in this podling -- so potential > users/contributors can understand what we're about, where we're going, > and how they can get involved. I agree this is a good idea - one option is to use Jira for this. I think in general its good practive to create Jira tickets for most changes and then you can: - Use it to produce a roadmap by assigning tickets to version numbers - See the descriptive rationale for the change along with the actual svn commits (by referencing the Jira ticket # in the commit log - get it to produce release notes >From looking through the mailing list archives seems that contributions to date have be posted as patches to the list (or elsewhere). Its much easier (IMO) if people are encouraged to attach such things to Jira tickets. That way they don't get lost/forgotten in the mailing list. Also importantly - Jira has an explicit option "Grant license to ASF for inclusion in ASF works" for patches - so there is no doubt that the contributor has given their permisson for their contribution to be included. > I am a Lokahi user, and can contribute documentation, website content > and testing, but I'm not involved in the actual code development. I'd > like to write content for the website, but I can't do that until we've > had the discussions on where we want to go. I agree that the website needs to be improved to make it easier for people to get into the project - mostly just minor changes, but anything that reduces the barrier to entry has to be a good thing. Initially I couldn't find anywhere to download (since noticed the link was at the bottom of the front page) - also links (that you can click) to browse the svn repository, join the mailing list(s) and view the mailing list archives would be good. Anyway - just my 2cents as an outsider. Niall > The below is NOT a list of what the Lokahi community has *agreed* to > work on -- it's my informal notes on ideas that came out of > happyhours/brainstorming. > > Ideas: (no particular order) > > Idea I: change the backend to use JCR/Jackrabbit (see Steve Toback's > initial message in this thread) > Benefits: > - database-agnostic -- Oracle no longer required, increases the > "market" of potential users > - object versioning (eventually be able to provide an "undo my > latest change" feature, and an archive of what a given httpsd.conf > file contained at a point in time) > - run the whole Lokahi application + repository in a JVM (as > opposed to having to install/manage oracle) > - easier for interested people to set up / try out --- lowers the > barrier to contribution > > I completely agree that a JCR backend would make Lokahi even more > valuable than it is now, and that JCR may have the added benefit of > reducing the community-building difficulties we're facing. From > in-person discussions here at Apachecon, the JCR work sounds like it's > the first priority. > > Idea J: develop a scripting interface (suggested by Noel Bergman) to > get around GUI limitations (rationale: why develop a GUI for tasks > that people don't frequently perform? -- just script against the > repository/database in a way that also records the audit trail of > who-made-what-changes-and-when) > > Idea K: manage www.apache.org infrastructure with Lokahi (eat own dog > food -- don't remember whose idea this was.. Steve's or Noel's?) > Benefits: > - more visibility, more credibility for Lokahi if it manages *.apache.org > Challenges: > - need to keep Lokahi continually up-to-date with latest Apache & > mod_jk releases -- (would these take priority over the JCR project?) > > Idea L: patch for latest version of mod_jk > > Idea M: investigate using Lokahi to help manage Felix/OSGi > configurations on mobile devices > > My question is: which of these ideas should the community tackle > first? Are we agreed that it's going to be JCR for sure? > > Ruth > > > -----Original Message----- > > From: [email protected] [mailto:[email protected]] On Behalf Of Steve > > Toback > > Sent: Wednesday, April 25, 2007 5:06 PM > > To: [email protected] > > Subject: Lokahi - Status > > > > Hey guys > > Sorry I have had not a lot of time to commit to this project lately. > > > > I wanted to outline some of the thoughts I have had about the project. > > To start a direction sort of conversation. First to outline some of > > the problems with the application: > > > > Install is complicated. (sql scripts are nasty, in my opinion), but > > it currently works. The ant build script could be improved upon, and > > the app itself could be improved. > > > > > > Database support is limited. We support Oracle (and most of mysql is > > the mysql branch) > > > > The support of apache/tomcat for configs is limited. more > > specifically if you use mod_jk, there's a few things that are > > hard-coded that really shouldn't be. Same goes for tomcat server.xml > > files. (Velocity templating of config files?) > > > > There's been small but infrequent conversations about adding in > > modular support for other application servers. > > > > There is no automated test system. > > > > Basically, I think a lot of the focus should be on giving this podling > > a fighting chance to survive the incubator. > > > > > > I had talked at the last Apachecon about porting the code to use a jsr > > 170 back-end, ie jackrabbit. This would allow 2 major features - more > > database support, and a transactional rollback system for > > configuration changed. Both which are not currently included. This > > is no small undertaking however. And I'd like to start a discussion > > around that. > > > > This would also work to solve a little bit of the first issue I > > mentioned - some of the complexity in setting up the app is in fact > > the database setup itself. > > > > > > When the app was originally designed - the concept was to have two > > types of modules. One for the application servers, one for 'connector > > - type' modules. That is something that is roughly followed > > currently. And could be improved upon. > > > > > > Steve > From [email protected] Thu May 03 15:02:29 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46810 invoked from network); 3 May 2007 15:02:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 May 2007 15:02:25 -0000 Received: (qmail 19324 invoked by uid 500); 3 May 2007 15:02:31 -0000 Delivered-To: [email protected] Received: (qmail 19313 invoked by uid 500); 3 May 2007 15:02:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 19300 invoked by uid 99); 3 May 2007 15:02:31 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2007 08:02:31 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO uscttw1113.merck.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2007 08:02:23 -0700 Received: from 161.129.204.104 by uscttw1113.merck.com with ESMTP (SMTP Relay); Thu, 03 May 2007 11:01:45 -0400 X-Server-Uuid: 17CBE316-CF4A-45C3-90D2-ABF7D63E4565 Received: from 161.129.204.104 by uscttw1102.merck.com with ESMTP ( Tumbleweed Email Firewall SMTP Relay (Email Firewall v6.2.1)); Thu, 03 May 2007 11:01:33 -0400 X-Server-Uuid: 2BB1B3E7-8FD1-4608-B10A-43A792CB944E Received: from usctmx1124.merck.com ([161.129.204.104]) by usctgw1104.merck.com with Microsoft SMTPSVC251-554-7837); Thu, 3 May 2007 11:01:33 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: Lokahi - Status Date: Thu, 3 May 2007 11:01:18 -0400 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Lokahi - Status Thread-Index: AceNkoC5rgM2nkC/ScC+XtFtI7T/AgAATPDQ References: <[email protected]> <[email protected]> From: "Lega, Peter Z" <[email protected]> To: [email protected] X-OriginalArrivalTime: 03 May 2007 15:01:33.0253 (UTC) FILETIME=[F02CDF50:01C78D93] X-WSS-ID: 6A2726C72LK26974786-01-01 X-WSS-ID: 6A2726D93EO4217159-02-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Great idea. This sort of structure will help us get developers to see where their work sits=20 In the big picture=20 -----Original Message----- =46rom: Niall Pemberton [mailto:[email protected]]=20 Sent: Thursday, May 03, 2007 4:50 PM To: [email protected] Subject: Re: Lokahi - Status On 5/3/07, Ruth DeBardeleben <[email protected]> wrote: > Hi all, > > I've enjoyed learning about community building here at Apachecon -- > we've had some good conversations we really ought to recap here on the > list. > > One of the things I picked up from Aaron Farr's talk on community > building is how Lokahi needs to have a clear roadmap for what we're > trying to accomplish in this podling -- so potential > users/contributors can understand what we're about, where we're going, > and how they can get involved. I agree this is a good idea - one option is to use Jira for this. I think in general its good practive to create Jira tickets for most changes and then you can: - Use it to produce a roadmap by assigning tickets to version numbers - See the descriptive rationale for the change along with the actual svn commits (by referencing the Jira ticket # in the commit log - get it to produce release notes =46rom looking through the mailing list archives seems that contributions to date have be posted as patches to the list (or elsewhere). Its much easier (IMO) if people are encouraged to attach such things to Jira tickets. That way they don't get lost/forgotten in the mailing list. Also importantly - Jira has an explicit option "Grant license to ASF for inclusion in ASF works" for patches - so there is no doubt that the contributor has given their permisson for their contribution to be included. > I am a Lokahi user, and can contribute documentation, website content > and testing, but I'm not involved in the actual code development. I'd > like to write content for the website, but I can't do that until we've > had the discussions on where we want to go. I agree that the website needs to be improved to make it easier for people to get into the project - mostly just minor changes, but anything that reduces the barrier to entry has to be a good thing. Initially I couldn't find anywhere to download (since noticed the link was at the bottom of the front page) - also links (that you can click) to browse the svn repository, join the mailing list(s) and view the mailing list archives would be good. Anyway - just my 2cents as an outsider. Niall > The below is NOT a list of what the Lokahi community has *agreed* to > work on -- it's my informal notes on ideas that came out of > happyhours/brainstorming. > > Ideas: (no particular order) > > Idea I: change the backend to use JCR/Jackrabbit (see Steve Toback's > initial message in this thread) > Benefits: > - database-agnostic -- Oracle no longer required, increases the > "market" of potential users > - object versioning (eventually be able to provide an "undo my > latest change" feature, and an archive of what a given httpsd.conf > file contained at a point in time) > - run the whole Lokahi application + repository in a JVM (as > opposed to having to install/manage oracle) > - easier for interested people to set up / try out --- lowers the > barrier to contribution > > I completely agree that a JCR backend would make Lokahi even more > valuable than it is now, and that JCR may have the added benefit of > reducing the community-building difficulties we're facing. From > in-person discussions here at Apachecon, the JCR work sounds like it's > the first priority. > > Idea J: develop a scripting interface (suggested by Noel Bergman) to > get around GUI limitations (rationale: why develop a GUI for tasks > that people don't frequently perform=3F -- just script against the > repository/database in a way that also records the audit trail of > who-made-what-changes-and-when) > > Idea K: manage www.apache.org infrastructure with Lokahi (eat own dog > food -- don't remember whose idea this was.. Steve's or Noel's=3F) > Benefits: > - more visibility, more credibility for Lokahi if it manages *.apache.org > Challenges: > - need to keep Lokahi continually up-to-date with latest Apache & > mod_jk releases -- (would these take priority over the JCR project=3F) > > Idea L: patch for latest version of mod_jk > > Idea M: investigate using Lokahi to help manage Felix/OSGi > configurations on mobile devices > > My question is: which of these ideas should the community tackle > first=3F Are we agreed that it's going to be JCR for sure=3F > > Ruth > > > -----Original Message----- > > From: [email protected] [mailto:[email protected]] On Behalf Of Steve > > Toback > > Sent: Wednesday, April 25, 2007 5:06 PM > > To: [email protected] > > Subject: Lokahi - Status > > > > Hey guys > > Sorry I have had not a lot of time to commit to this project lately. > > > > I wanted to outline some of the thoughts I have had about the project. > > To start a direction sort of conversation. First to outline some of > > the problems with the application: > > > > Install is complicated. (sql scripts are nasty, in my opinion), but > > it currently works. The ant build script could be improved upon, and > > the app itself could be improved. > > > > > > Database support is limited. We support Oracle (and most of mysql is > > the mysql branch) > > > > The support of apache/tomcat for configs is limited. more > > specifically if you use mod_jk, there's a few things that are > > hard-coded that really shouldn't be. Same goes for tomcat server.xml > > files. (Velocity templating of config files=3F) > > > > There's been small but infrequent conversations about adding in > > modular support for other application servers. > > > > There is no automated test system. > > > > Basically, I think a lot of the focus should be on giving this podling > > a fighting chance to survive the incubator. > > > > > > I had talked at the last Apachecon about porting the code to use a jsr > > 170 back-end, ie jackrabbit. This would allow 2 major features - more > > database support, and a transactional rollback system for > > configuration changed. Both which are not currently included. This > > is no small undertaking however. And I'd like to start a discussion > > around that. > > > > This would also work to solve a little bit of the first issue I > > mentioned - some of the complexity in setting up the app is in fact > > the database setup itself. > > > > > > When the app was originally designed - the concept was to have two > > types of modules. One for the application servers, one for 'connector > > - type' modules. That is something that is roughly followed > > currently. And could be improved upon. > > > > > > Steve > ---------------------------------------------------------------------------= --- Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu - direct contact information for affiliates is=20 available at http://www.merck.com/contact/contacts.html) that may be=20 confidential, proprietary copyrighted and/or legally privileged. It is=20 intended solely for the use of the individual or entity named on this=20 message. If you are not the intended recipient, and have received this=20 message in error, please notify us immediately by reply e-mail and then=20 delete it from your system. ---------------------------------------------------------------------------= --- From [email protected] Thu May 03 15:37:26 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71491 invoked from network); 3 May 2007 15:37:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 May 2007 15:37:26 -0000 Received: (qmail 1084 invoked by uid 500); 3 May 2007 15:37:32 -0000 Delivered-To: [email protected] Received: (qmail 1070 invoked by uid 500); 3 May 2007 15:37:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 1061 invoked by uid 99); 3 May 2007 15:37:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2007 08:37:32 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO psmtp13.wxs.nl) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2007 08:37:24 -0700 Received: from [161.129.204.104] by psmtp13.wxs.nl (iPlanet Messaging Server 5.2 HotFix 2.15 (built Nov 14 2006)) with ESMTP id <[email protected]> for [email protected]; Thu, 03 May 2007 17:37:00 +0200 (MEST) Date: Thu, 03 May 2007 17:36:53 +0200 From: Filip Hanik - Dev Lists <[email protected]> Subject: Re: Lokahi - Status In-reply-to: <[email protected]> To: [email protected] Message-id: <[email protected]> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT User-Agent: Thunderbird 161.129.204.104 (Windows/20070221) References: <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org drtobes wrote: > On 5/3/07, Filip Hanik - Dev Lists <[email protected]> wrote: >> while we do jackrabbit, to become agnostic of a DB, getting a user up to >> speed is still important. >> To remove the step of having to install and configure an external >> database, my idea would be to use Apache Derby. >> It's a Java Database, and the beauty of it, is that you can bundle it >> into your project. > > JCR to bundled derby or JCR to even a filestore could be out of the > box configurations. Unless you're talking about skipping the jcr > completely and going directly to Derby, in which case you would lose > versioning... either way, as long as what I download, can be "kickstarted" ie, I don't need any other external steps to get up to speed Filip > > Steve > > From [email protected] Fri May 04 14:32:50 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91079 invoked from network); 4 May 2007 14:32:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 May 2007 14:32:48 -0000 Received: (qmail 9689 invoked by uid 500); 4 May 2007 14:32:54 -0000 Delivered-To: [email protected] Received: (qmail 9675 invoked by uid 500); 4 May 2007 14:32:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 9666 invoked by uid 99); 4 May 2007 14:32:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 May 2007 07:32:54 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp13.wxs.nl) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 May 2007 07:32:46 -0700 Received: from [161.129.204.104] by smtp13.wxs.nl (iPlanet Messaging Server 5.2 HotFix 2.15 (built Nov 14 2006)) with ESMTP id <[email protected]> for [email protected]; Fri, 04 May 2007 16:32:25 +0200 (CEST) Date: Fri, 04 May 2007 16:32:21 +0200 From: "William A. Rowe, Jr." <[email protected]> Subject: Wiki request submitted To: [email protected] Message-id: <[email protected]> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 7BIT User-Agent: Thunderbird 161.129.204.104 (X11/20070302) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/jira/browse/INFRA-1230 From [email protected] Sun May 06 15:45:48 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17916 invoked from network); 6 May 2007 15:45:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 May 2007 15:45:48 -0000 Received: (qmail 85781 invoked by uid 500); 6 May 2007 15:45:54 -0000 Delivered-To: [email protected] Received: (qmail 85757 invoked by uid 500); 6 May 2007 15:45:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 85744 invoked by uid 99); 6 May 2007 15:45:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 May 2007 08:45:54 -0700 X-ASF-Spam-Status: No, hits=1.8 required=10.0 tests=SUB_HELLO X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO e5.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 May 2007 08:45:46 -0700 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [161.129.204.104]) by e5.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id l46FjMqC005212 for <[email protected]>; Sun, 6 May 2007 11:45:22 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [161.129.204.104]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v8.3) with ESMTP id l46FjMGr488340 for <[email protected]>; Sun, 6 May 2007 11:45:22 -0400 Received: from d01av03.pok.ibm.com (loopback [161.129.204.104]) by d01av03.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id l46FjMFB017511 for <[email protected]>; Sun, 6 May 2007 11:45:22 -0400 Received: from [161.129.204.104] (sig-9-49-156-239.mts.ibm.com [161.129.204.104]) by d01av03.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id l46FjLru017498 for <[email protected]>; Sun, 6 May 2007 11:45:22 -0400 Message-ID: <[email protected]> Date: Sun, 06 May 2007 11:45:17 -0400 From: Bill Stoddard <[email protected]> Reply-To: [email protected] User-Agent: Thunderbird 161.129.204.104 (Windows/20070221) MIME-Version: 1.0 To: [email protected] Subject: Hello Lokahi team! Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Steve, Ruth and Pete, It was good meeting you at the con this past week. Looking forward to taking this project to the next level! Cheers, Bill From [email protected] Mon May 07 10:42:02 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71834 invoked from network); 7 May 2007 10:42:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 May 2007 10:42:00 -0000 Received: (qmail 22397 invoked by uid 500); 7 May 2007 10:42:06 -0000 Delivered-To: [email protected] Received: (qmail 22358 invoked by uid 500); 7 May 2007 10:42:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 22349 invoked by uid 99); 7 May 2007 10:42:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2007 03:42:06 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO an-out-0708.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2007 03:41:58 -0700 Received: by an-out-0708.google.com with SMTP id b33so157840ana for <[email protected]>; Mon, 07 May 2007 03:41:37 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=h9Kj01PYLTjNHmSuZ3x/ljCMj9Cd0vz8Jb7I2QL/SdLww68jH2UMhvNCsYkoVNQzxQ9RgOGaSrFv7jXCfOc6adjOCcn1xlRpJ1zf1NHt6nlGHYKi77dGh/+n7450t3/Ft9urYsRZMeklF2+4uL18bfMcAtdy3WudWJs28zccI2o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IiiYCbn/+/Y9t11R7kjezMyTXyO4REzNCcj4BZSeYTcMH4YAEIZmj9DdbnuodQfLQtKupZUm0C5iueWEJiLJ8XjMIdLB/bjLpR8Jt/ahYDZmXoBVaKA3J34pREdN775O3x/z4m4gCUZ1u8FG/UrzrdtHqTf77/9+vDJI/GQaxWA= Received: by 161.129.204.104 with SMTP id g9mr4656335and.1178534497495; Mon, 07 May 2007 03:41:37 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 7 May 2007 03:41:37 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 7 May 2007 06:41:37 -0400 From: "Ruth DeBardeleben" <[email protected]> To: [email protected] Subject: Re: Hello Lokahi team! In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Yep, me too! Thanks for your interest and support -- it makes a huge difference. I'm energized for the future. Ruth On 5/6/07, Bill Stoddard <[email protected]> wrote: > Steve, Ruth and Pete, > It was good meeting you at the con this past week. Looking forward to > taking this project to the next level! > > Cheers, > Bill > > From [email protected] Mon May 07 14:58:04 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58893 invoked from network); 7 May 2007 14:58:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 May 2007 14:58:04 -0000 Received: (qmail 36428 invoked by uid 500); 7 May 2007 14:58:10 -0000 Delivered-To: [email protected] Received: (qmail 36408 invoked by uid 500); 7 May 2007 14:58:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 36395 invoked by uid 99); 7 May 2007 14:58:10 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2007 07:58:10 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO uscttw1111.merck.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2007 07:58:01 -0700 Received: from 161.129.204.104 by uscttw1111.merck.com with ESMTP (SMTP Relay); Mon, 07 May 2007 10:57:30 -0400 X-Server-Uuid: 21ED2443-EC2E-4990-AE40-34011731D2AC Received: from 161.129.204.104 by uscttw1103.merck.com with ESMTP ( Tumbleweed Email Firewall SMTP Relay (Email Firewall v6.2.1)); Mon, 07 May 2007 10:57:18 -0400 X-Server-Uuid: BE34D300-0A51-47CF-B7B0-43119D2E8061 Received: from usctmx1131.merck.com ([161.129.204.104]) by usctgw1103.merck.com with Microsoft SMTPSVC251-554-7837); Mon, 7 May 2007 10:57:18 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: [ApacheCon] Lokahi Fast feather presentation Date: Mon, 7 May 2007 10:57:18 -0400 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ApacheCon] Lokahi Fast feather presentation Thread-Index: AceQuAHbNh0vYskHQeOsooMo66VocQ== From: "Toback, Steve" <[email protected]> To: [email protected] X-OriginalArrivalTime: 07 May 2007 14:57:18.0650 (UTC) FILETIME=[021289A0:01C790B8] X-WSS-ID: 6A21E1C40RG28839975-01-01 X-WSS-ID: 6A21E1CF2BC15857704-03-01 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C790B8.020288AD" X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C790B8.020288AD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Hello all. In case anyone missed it or would like to review the slides of the Lokahi Fast Feather presentation I gave - the slides are available here: http://people.apache.org/~toback/presentations/Lokahi-fast-feather-05-04 -2007.pdf =20 Steve ---------------------------------------------------------------------------= --- Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu - direct contact information for affiliates is=20 available at http://www.merck.com/contact/contacts.html) that may be=20 confidential, proprietary copyrighted and/or legally privileged. It is=20 intended solely for the use of the individual or entity named on this=20 message. If you are not the intended recipient, and have received this=20 message in error, please notify us immediately by reply e-mail and then=20 delete it from your system. ---------------------------------------------------------------------------= --- ------_=_NextPart_001_01C790B8.020288AD-- From [email protected] Tue May 08 03:05:09 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14479 invoked from network); 8 May 2007 03:05:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 May 2007 03:05:09 -0000 Received: (qmail 17118 invoked by uid 500); 8 May 2007 03:05:16 -0000 Delivered-To: [email protected] Received: (qmail 17079 invoked by uid 500); 8 May 2007 03:05:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 17066 invoked by uid 99); 8 May 2007 03:05:15 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2007 20:05:15 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO smtpauth04.prod.mesa1.secureserver.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 07 May 2007 20:05:08 -0700 Received: (qmail 5959 invoked from network); 8 May 2007 03:04:46 -0000 Received: from unknown (161.129.204.104) by smtpauth04.prod.mesa1.secureserver.net (161.129.204.104) with ESMTP; 08 May 2007 03:04:46 -0000 Message-ID: <[email protected]> Date: Mon, 07 May 2007 22:04:46 -0500 From: "William A. Rowe, Jr." <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20070302) MIME-Version: 1.0 To: [email protected] Subject: [Fwd: WARNING - 2 days to deadline for May reports] X-Enigmail-Version: 161.129.204.104 Content-Type: multipart/mixed; boundary="------------030903090906060003040808" X-Virus-Checked: Checked by ClamAV on apache.org --------------030903090906060003040808 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Drat - forward of the belated reminder. --------------030903090906060003040808 Content-Type: message/rfc822; name="WARNING - 2 days to deadline for May reports" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="WARNING - 2 days to deadline for May reports" X-Account-Key: account4 Received: (qmail 7957 invoked from network); 8 May 2007 03:02:28 -0000 Received: from unknown (HELO pre-smtp35-02.prod.mesa1.secureserver.net) ([161.129.204.104]) (envelope-sender <[email protected]>) by smtp12-01.prod.mesa1.secureserver.net (qmail-ldap-1.03) with SMTP for <[email protected]>; 8 May 2007 03:02:28 -0000 Received: (qmail 30335 invoked from network); 8 May 2007 03:02:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) ([161.129.204.104]) (envelope-sender <[email protected]>) by pre-smtp35-02.prod.mesa1.secureserver.net (qmail-ldap-1.03) with SMTP for <[email protected]>; 8 May 2007 03:02:28 -0000 Received: (qmail 14798 invoked by uid 500); 8 May 2007 03:02:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 14787 invoked by uid 99); 8 May 2007 03:02:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2007 20:02:32 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO smtpauth12.prod.mesa1.secureserver.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 07 May 2007 20:02:24 -0700 Received: (qmail 10989 invoked from network); 8 May 2007 03:02:01 -0000 Received: from unknown (161.129.204.104) by smtpauth12.prod.mesa1.secureserver.net (161.129.204.104) with ESMTP; 08 May 2007 03:02:01 -0000 Message-ID: <[email protected]> Date: Mon, 07 May 2007 22:02:00 -0500 From: "William A. Rowe, Jr." <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20070302) MIME-Version: 1.0 To: [email protected] Subject: WARNING - 2 days to deadline for May reports Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Nonspam: None Well this sort of sucks - with everyone so busy at ApacheCon EU, we've neglected to remind you of the deadline on the 9th (posted months ago) for http://wiki.apache.org/incubator/May2007 Abdera Lokahi NMaven RCF ServiceMix stdcxx Tika TSIK Tuscany Woden WSRP4J XAP Yoko must report. PLEASE rush to get this done, so we have time to review the reports and get them to the board. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------030903090906060003040808-- From [email protected] Tue May 08 12:52:36 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88016 invoked from network); 8 May 2007 12:52:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 May 2007 12:52:36 -0000 Received: (qmail 1100 invoked by uid 500); 8 May 2007 12:52:43 -0000 Delivered-To: [email protected] Received: (qmail 1057 invoked by uid 500); 8 May 2007 12:52:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 1048 invoked by uid 99); 8 May 2007 12:52:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 05:52:42 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO uscttw1110.merck.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 05:52:34 -0700 Received: from 161.129.204.104 by uscttw1110.merck.com with ESMTP (SMTP Relay); Tue, 08 May 2007 08:51:58 -0400 X-Server-Uuid: 0D0C80A0-46FA-490C-AFC2-7618DC791584 Received: from 161.129.204.104 by uscttw1101.merck.com with ESMTP ( Tumbleweed Email Firewall SMTP Relay (Email Firewall v6.1.1)); Tue, 08 May 2007 08:51:50 -0400 X-Server-Uuid: 96433E61-BC67-4637-9B91-0C482EF10D46 Received: from usctmx1113.merck.com ([161.129.204.104]) by usctgw1104.merck.com with Microsoft SMTPSVC251-554-7837); Tue, 8 May 2007 08:51:50 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: [Fwd: WARNING - 2 days to deadline for May reports] Date: Tue, 8 May 2007 08:51:53 -0400 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Fwd: WARNING - 2 days to deadline for May reports] Thread-Index: AceRHb5nra1j4W7wQeOIDNiJ4c1zzwAUOUvg References: <[email protected]> From: "DeBardeleben, Ruth L" <[email protected]> To: [email protected] X-OriginalArrivalTime: 08 May 2007 12:51:50.0232 (UTC) FILETIME=[A532DD80:01C7916F] X-WSS-ID: 6A5EADEC23833300520-01-01 X-WSS-ID: 6A5EADE320O2579711-02-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Here's my take on it: One of the Lokahi committers (Steve Toback) attended ApacheCon, along with other community members from Merck. Initial draft of Lokahi's data model for the proposed switch to a Jackrabbit back-end was worked out with input from Jackrabbit community (Jukka Zitting). Steve presented at =46astFeather track (15-min sessions) & gave an short overview of what Lokahi does and what it currently supports. Discussed possibilities for using Lokahi to manage Geronimo servers as well.=20 any edits, folks=3F =20 -----Original Message----- =46rom: William A. Rowe, Jr. [mailto:[email protected]]=20 Sent: Monday, May 07, 2007 11:05 PM To: [email protected] Subject: [Fwd: WARNING - 2 days to deadline for May reports] Drat - forward of the belated reminder. ---------------------------------------------------------------------------= --- Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu - direct contact information for affiliates is=20 available at http://www.merck.com/contact/contacts.html) that may be=20 confidential, proprietary copyrighted and/or legally privileged. It is=20 intended solely for the use of the individual or entity named on this=20 message. If you are not the intended recipient, and have received this=20 message in error, please notify us immediately by reply e-mail and then=20 delete it from your system. ---------------------------------------------------------------------------= --- From [email protected] Tue May 08 13:11:53 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95302 invoked from network); 8 May 2007 13:11:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 May 2007 13:11:51 -0000 Received: (qmail 33506 invoked by uid 500); 8 May 2007 13:11:50 -0000 Delivered-To: [email protected] Received: (qmail 33491 invoked by uid 500); 8 May 2007 13:11:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 33473 invoked by uid 99); 8 May 2007 13:11:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 06:11:49 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO virtual.halosg.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 06:11:41 -0700 Received: (qmail 5978 invoked from network); 8 May 2007 08:09:21 -0500 Received: from unknown (HELO ?161.129.204.104?) (161.129.204.104) by halosg.com with SMTP; 8 May 2007 08:09:21 -0500 Message-ID: <[email protected]> Date: Tue, 08 May 2007 15:10:42 +0200 From: Filip Hanik - Dev Lists <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20070221) MIME-Version: 1.0 To: [email protected] Subject: Re: [Fwd: WARNING - 2 days to deadline for May reports] References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org It would be good to add in that an "initial" roadmap of features has been planned, and that development will be moving in the direction of the new roadmap and maybe mention some of the stuff on the road map Filip DeBardeleben, Ruth L wrote: > Here's my take on it: > > One of the Lokahi committers (Steve Toback) attended ApacheCon, along > with other community members from Merck. Initial draft of Lokahi's data > model for the proposed switch to a Jackrabbit back-end was worked out > with input from Jackrabbit community (Jukka Zitting). Steve presented at > FastFeather track (15-min sessions) & gave an short overview of what > Lokahi does and what it currently supports. Discussed possibilities for > using Lokahi to manage Geronimo servers as well. > > any edits, folks? > > -----Original Message----- > From: William A. Rowe, Jr. [mailto:[email protected]] > Sent: Monday, May 07, 2007 11:05 PM > To: [email protected] > Subject: [Fwd: WARNING - 2 days to deadline for May reports] > > Drat - forward of the belated reminder. > > > ------------------------------------------------------------------------------ > Notice: This e-mail message, together with any attachments, contains > information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, > New Jersey, USA 08889), and/or its affiliates (which may be known > outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD > and in Japan, as Banyu - direct contact information for affiliates is > available at http://www.merck.com/contact/contacts.html) that may be > confidential, proprietary copyrighted and/or legally privileged. It is > intended solely for the use of the individual or entity named on this > message. If you are not the intended recipient, and have received this > message in error, please notify us immediately by reply e-mail and then > delete it from your system. > > ------------------------------------------------------------------------------ > > > From [email protected] Tue May 08 13:30:03 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6416 invoked from network); 8 May 2007 13:30:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 May 2007 13:30:02 -0000 Received: (qmail 70065 invoked by uid 500); 8 May 2007 13:30:09 -0000 Delivered-To: [email protected] Received: (qmail 70047 invoked by uid 500); 8 May 2007 13:30:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 70038 invoked by uid 99); 8 May 2007 13:30:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 06:30:09 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO uscttw1110.merck.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 06:30:00 -0700 Received: from 161.129.204.104 by uscttw1110.merck.com with ESMTP (SMTP Relay); Tue, 08 May 2007 09:29:28 -0400 X-Server-Uuid: 0D0C80A0-46FA-490C-AFC2-7618DC791584 Received: from 161.129.204.104 by uscttw1100.merck.com with ESMTP ( Tumbleweed Email Firewall SMTP Relay (Email Firewall v6.1.1)); Tue, 08 May 2007 09:29:21 -0400 X-Server-Uuid: 8E446BA6-8C54-44C2-A958-58EE69E6653D Received: from usctmx1113.merck.com ([161.129.204.104]) by usctgw1103.merck.com with Microsoft SMTPSVC251-554-7837); Tue, 8 May 2007 09:29:20 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: [Fwd: WARNING - 2 days to deadline for May reports] Date: Tue, 8 May 2007 09:29:25 -0400 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Fwd: WARNING - 2 days to deadline for May reports] Thread-Index: AceRcoAL66nB+APMSzisg93HpGFfaAAACPiQ References: <[email protected]> <[email protected]> <[email protected]> From: "DeBardeleben, Ruth L" <[email protected]> To: [email protected] X-OriginalArrivalTime: 08 May 2007 13:29:20.0067 (UTC) FILETIME=[E2347130:01C79174] X-WSS-ID: 6A5EA4BB1M44153105-02-01 X-WSS-ID: 6A5EA4B220O2590034-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Ah good. Thanks Filip. Excellent point.=20 So: --- begin board report text --- One of the Lokahi committers (Steve Toback) attended ApacheCon, along with other community members from Merck. Initial draft of Lokahi's data model for the proposed switch to a Jackrabbit back-end was worked out with input from Jackrabbit community (Jukka Zitting). Steve presented at =46astFeather track (15-min sessions) & gave an short overview of what Lokahi does and what it currently supports. Discussed possibilities for using Lokahi to manage Geronimo servers as well. An initial roadmap of =66eatures has been planned, and development will be moving in the direction of the new roadmap. =20 The conversion to JCR takes first priority because it will mitigate existing difficulties that hinder community-growing, namely:=20 (a) Oracle as db requirement, which reduces the potential user "market"; (b) inability to run Lokahi on a standalone machine, due to (a);=20 (c) complicated build process, partially due to (a);=20 And JCR will provide the following benefits: (a) database independence (run Lokahi with a file system backend to try it out, or use a more robust storage platform for production) + embedded Derby db (b) lower barrier to contribution, see (a) (c) versioned objects -- the basis for storing versioned configuration =66iles & foundation for a future "undo" feature requested by users. Great for real-world use in regulated environments which require detailed audit trails of who-changed-what-and-when. --- end board report text --- anything else=3F Ruth -----Original Message----- =46rom: Filip Hanik - Dev Lists [mailto:[email protected]]=20 Sent: Tuesday, May 08, 2007 9:11 AM To: [email protected] Subject: Re: [Fwd: WARNING - 2 days to deadline for May reports] It would be good to add in that an "initial" roadmap of features has=20 been planned, and that development will be moving in the direction of=20 the new roadmap and maybe mention some of the stuff on the road map =46ilip DeBardeleben, Ruth L wrote: > Here's my take on it: > > One of the Lokahi committers (Steve Toback) attended ApacheCon, along > with other community members from Merck. Initial draft of Lokahi's data > model for the proposed switch to a Jackrabbit back-end was worked out > with input from Jackrabbit community (Jukka Zitting). Steve presented at > FastFeather track (15-min sessions) & gave an short overview of what > Lokahi does and what it currently supports. Discussed possibilities =66or > using Lokahi to manage Geronimo servers as well.=20 > > any edits, folks=3F =20 > > -----Original Message----- > From: William A. Rowe, Jr. [mailto:[email protected]]=20 > Sent: Monday, May 07, 2007 11:05 PM > To: [email protected] > Subject: [Fwd: WARNING - 2 days to deadline for May reports] > > Drat - forward of the belated reminder. > > > ------------------------------------------------------------------------ ------ > Notice: This e-mail message, together with any attachments, contains > information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, > New Jersey, USA 08889), and/or its affiliates (which may be known > outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD > and in Japan, as Banyu - direct contact information for affiliates is=20 > available at http://www.merck.com/contact/contacts.html) that may be=20 > confidential, proprietary copyrighted and/or legally privileged. It is > intended solely for the use of the individual or entity named on this=20 > message. If you are not the intended recipient, and have received this > message in error, please notify us immediately by reply e-mail and then=20 > delete it from your system. > > ------------------------------------------------------------------------ ------ > > > =20 ---------------------------------------------------------------------------= --- Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu - direct contact information for affiliates is=20 available at http://www.merck.com/contact/contacts.html) that may be=20 confidential, proprietary copyrighted and/or legally privileged. It is=20 intended solely for the use of the individual or entity named on this=20 message. If you are not the intended recipient, and have received this=20 message in error, please notify us immediately by reply e-mail and then=20 delete it from your system. ---------------------------------------------------------------------------= --- From [email protected] Tue May 08 13:46:33 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10988 invoked from network); 8 May 2007 13:46:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 May 2007 13:46:33 -0000 Received: (qmail 95116 invoked by uid 500); 8 May 2007 13:46:40 -0000 Delivered-To: [email protected] Received: (qmail 95075 invoked by uid 500); 8 May 2007 13:46:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 95066 invoked by uid 99); 8 May 2007 13:46:40 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 06:46:40 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO uscttw1113.merck.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 06:46:32 -0700 Received: from 161.129.204.104 by uscttw1113.merck.com with ESMTP (SMTP Relay); Tue, 08 May 2007 09:46:00 -0400 X-Server-Uuid: 17CBE316-CF4A-45C3-90D2-ABF7D63E4565 Received: from 161.129.204.104 by uscttw1102.merck.com with ESMTP ( Tumbleweed Email Firewall SMTP Relay (Email Firewall v6.2.1)); Tue, 08 May 2007 09:45:47 -0400 X-Server-Uuid: 2BB1B3E7-8FD1-4608-B10A-43A792CB944E Received: from usctmx1131.merck.com ([161.129.204.104]) by usctgw1102.merck.com with Microsoft SMTPSVC251-554-7837); Tue, 8 May 2007 09:45:46 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: [Fwd: WARNING - 2 days to deadline for May reports] Date: Tue, 8 May 2007 09:45:46 -0400 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Fwd: WARNING - 2 days to deadline for May reports] Thread-Index: AceRcoAL66nB+APMSzisg93HpGFfaAAACPiQAADLJdA= References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: "Toback, Steve" <[email protected]> To: [email protected] X-OriginalArrivalTime: 08 May 2007 13:45:46.0996 (UTC) FILETIME=[2E75DB40:01C79177] X-WSS-ID: 6A5EA0812LK28593312-01-01 X-WSS-ID: 6A5EA0893EO5242190-05-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Bill correct me if I am wrong - but there are 3 things we specifically need to address: Items to complete before graduation: Grow the community These two seem to be covered pretty well in the below text. Community Code / Plans. -----Original Message----- =46rom: DeBardeleben, Ruth L=20 Sent: Tuesday, May 08, 2007 9:29 AM To: [email protected] Subject: RE: [Fwd: WARNING - 2 days to deadline for May reports] Ah good. Thanks Filip. Excellent point.=20 So: --- begin board report text --- One of the Lokahi committers (Steve Toback) attended ApacheCon, along with other community members from Merck. Initial draft of Lokahi's data model for the proposed switch to a Jackrabbit back-end was worked out with input from Jackrabbit community (Jukka Zitting). Steve presented at =46astFeather track (15-min sessions) & gave an short overview of what Lokahi does and what it currently supports. Discussed possibilities for using Lokahi to manage Geronimo servers as well. An initial roadmap of =66eatures has been planned, and development will be moving in the direction of the new roadmap. =20 The conversion to JCR takes first priority because it will mitigate existing difficulties that hinder community-growing, namely:=20 (a) Oracle as db requirement, which reduces the potential user "market"; (b) inability to run Lokahi on a standalone machine, due to (a);=20 (c) complicated build process, partially due to (a);=20 And JCR will provide the following benefits: (a) database independence (run Lokahi with a file system backend to try it out, or use a more robust storage platform for production) + embedded Derby db (b) lower barrier to contribution, see (a) (c) versioned objects -- the basis for storing versioned configuration =66iles & foundation for a future "undo" feature requested by users. Great for real-world use in regulated environments which require detailed audit trails of who-changed-what-and-when. --- end board report text --- anything else=3F Ruth -----Original Message----- =46rom: Filip Hanik - Dev Lists [mailto:[email protected]]=20 Sent: Tuesday, May 08, 2007 9:11 AM To: [email protected] Subject: Re: [Fwd: WARNING - 2 days to deadline for May reports] It would be good to add in that an "initial" roadmap of features has=20 been planned, and that development will be moving in the direction of=20 the new roadmap and maybe mention some of the stuff on the road map =46ilip DeBardeleben, Ruth L wrote: > Here's my take on it: > > One of the Lokahi committers (Steve Toback) attended ApacheCon, along > with other community members from Merck. Initial draft of Lokahi's data > model for the proposed switch to a Jackrabbit back-end was worked out > with input from Jackrabbit community (Jukka Zitting). Steve presented at > FastFeather track (15-min sessions) & gave an short overview of what > Lokahi does and what it currently supports. Discussed possibilities =66or > using Lokahi to manage Geronimo servers as well.=20 > > any edits, folks=3F =20 > > -----Original Message----- > From: William A. Rowe, Jr. [mailto:[email protected]]=20 > Sent: Monday, May 07, 2007 11:05 PM > To: [email protected] > Subject: [Fwd: WARNING - 2 days to deadline for May reports] > > Drat - forward of the belated reminder. > > > ------------------------------------------------------------------------ ------ > Notice: This e-mail message, together with any attachments, contains > information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, > New Jersey, USA 08889), and/or its affiliates (which may be known > outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD > and in Japan, as Banyu - direct contact information for affiliates is=20 > available at http://www.merck.com/contact/contacts.html) that may be=20 > confidential, proprietary copyrighted and/or legally privileged. It is > intended solely for the use of the individual or entity named on this=20 > message. If you are not the intended recipient, and have received this > message in error, please notify us immediately by reply e-mail and then=20 > delete it from your system. > > ------------------------------------------------------------------------ ------ > > > =20 ------------------------------------------------------------------------ ------ Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu - direct contact information for affiliates is=20 available at http://www.merck.com/contact/contacts.html) that may be=20 confidential, proprietary copyrighted and/or legally privileged. It is=20 intended solely for the use of the individual or entity named on this=20 message. If you are not the intended recipient, and have received this=20 message in error, please notify us immediately by reply e-mail and then=20 delete it from your system. ------------------------------------------------------------------------ ------ ------------------------------------------------------------------------ ------ Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu - direct contact information for affiliates is=20 available at http://www.merck.com/contact/contacts.html) that may be=20 confidential, proprietary copyrighted and/or legally privileged. It is=20 intended solely for the use of the individual or entity named on this=20 message. If you are not the intended recipient, and have received this=20 message in error, please notify us immediately by reply e-mail and then=20 delete it from your system. ------------------------------------------------------------------------ ------ ---------------------------------------------------------------------------= --- Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu - direct contact information for affiliates is=20 available at http://www.merck.com/contact/contacts.html) that may be=20 confidential, proprietary copyrighted and/or legally privileged. It is=20 intended solely for the use of the individual or entity named on this=20 message. If you are not the intended recipient, and have received this=20 message in error, please notify us immediately by reply e-mail and then=20 delete it from your system. ---------------------------------------------------------------------------= --- From [email protected] Tue May 08 14:22:58 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24326 invoked from network); 8 May 2007 14:22:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 May 2007 14:22:57 -0000 Received: (qmail 64748 invoked by uid 500); 8 May 2007 14:23:04 -0000 Delivered-To: [email protected] Received: (qmail 64723 invoked by uid 500); 8 May 2007 14:23:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 64714 invoked by uid 99); 8 May 2007 14:23:04 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 07:23:04 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO virtual.halosg.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 07:22:56 -0700 Received: (qmail 8183 invoked from network); 8 May 2007 09:20:36 -0500 Received: from unknown (HELO ?161.129.204.104?) (161.129.204.104) by halosg.com with SMTP; 8 May 2007 09:20:36 -0500 Message-ID: <[email protected]> Date: Tue, 08 May 2007 16:21:53 +0200 From: Filip Hanik - Dev Lists <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20070221) MIME-Version: 1.0 To: [email protected] Subject: Re: [Fwd: WARNING - 2 days to deadline for May reports] References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Toback, Steve wrote: > Bill correct me if I am wrong - but there are 3 things we specifically > need to address: > > Items to complete before graduation: > Grow the community > this could be easily covered by 1. ApacheConEU2007 - Fast feather presentation 2. Attended Incubator get-togethers in Amsterdam 3. Mingling at the ApacheCon and as a result, mailing list have come to life Filip > These two seem to be covered pretty well in the below text. > Community > Code / Plans. > > > > -----Original Message----- > From: DeBardeleben, Ruth L > Sent: Tuesday, May 08, 2007 9:29 AM > To: [email protected] > Subject: RE: [Fwd: WARNING - 2 days to deadline for May reports] > > Ah good. Thanks Filip. Excellent point. > > So: > > --- begin board report text --- > > One of the Lokahi committers (Steve Toback) attended ApacheCon, along > with other community members from Merck. Initial draft of Lokahi's data > model for the proposed switch to a Jackrabbit back-end was worked out > with input from Jackrabbit community (Jukka Zitting). Steve presented at > FastFeather track (15-min sessions) & gave an short overview of what > Lokahi does and what it currently supports. Discussed possibilities for > using Lokahi to manage Geronimo servers as well. An initial roadmap of > features has been planned, and development will be moving in the > direction of the new roadmap. > > The conversion to JCR takes first priority because it will mitigate > existing difficulties that hinder community-growing, namely: > (a) Oracle as db requirement, which reduces the potential user "market"; > > (b) inability to run Lokahi on a standalone machine, due to (a); > (c) complicated build process, partially due to (a); > > And JCR will provide the following benefits: > (a) database independence (run Lokahi with a file system backend to try > it out, or use a more robust storage platform for production) + embedded > Derby db > (b) lower barrier to contribution, see (a) > (c) versioned objects -- the basis for storing versioned configuration > files & foundation for a future "undo" feature requested by users. > Great for real-world use in regulated environments which require > detailed audit trails of who-changed-what-and-when. > > --- end board report text --- > > anything else? > Ruth > > -----Original Message----- > From: Filip Hanik - Dev Lists [mailto:[email protected]] > Sent: Tuesday, May 08, 2007 9:11 AM > To: [email protected] > Subject: Re: [Fwd: WARNING - 2 days to deadline for May reports] > > It would be good to add in that an "initial" roadmap of features has > been planned, and that development will be moving in the direction of > the new roadmap > and maybe mention some of the stuff on the road map > Filip > > DeBardeleben, Ruth L wrote: > >> Here's my take on it: >> >> One of the Lokahi committers (Steve Toback) attended ApacheCon, along >> with other community members from Merck. Initial draft of Lokahi's >> > data > >> model for the proposed switch to a Jackrabbit back-end was worked out >> with input from Jackrabbit community (Jukka Zitting). Steve presented >> > at > >> FastFeather track (15-min sessions) & gave an short overview of what >> Lokahi does and what it currently supports. Discussed possibilities >> > for > >> using Lokahi to manage Geronimo servers as well. >> >> any edits, folks? >> >> -----Original Message----- >> From: William A. Rowe, Jr. [mailto:[email protected]] >> Sent: Monday, May 07, 2007 11:05 PM >> To: [email protected] >> Subject: [Fwd: WARNING - 2 days to deadline for May reports] >> >> Drat - forward of the belated reminder. >> >> >> >> > ------------------------------------------------------------------------ > ------ > >> Notice: This e-mail message, together with any attachments, contains >> information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, >> New Jersey, USA 08889), and/or its affiliates (which may be known >> outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD >> and in Japan, as Banyu - direct contact information for affiliates is >> available at http://www.merck.com/contact/contacts.html) that may be >> confidential, proprietary copyrighted and/or legally privileged. It is >> > > >> intended solely for the use of the individual or entity named on this >> message. If you are not the intended recipient, and have received this >> > > >> message in error, please notify us immediately by reply e-mail and >> > then > >> delete it from your system. >> >> >> > ------------------------------------------------------------------------ > ------ > >> >> > > > > > ------------------------------------------------------------------------ > ------ > Notice: This e-mail message, together with any attachments, contains > information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, > New Jersey, USA 08889), and/or its affiliates (which may be known > outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD > and in Japan, as Banyu - direct contact information for affiliates is > available at http://www.merck.com/contact/contacts.html) that may be > confidential, proprietary copyrighted and/or legally privileged. It is > intended solely for the use of the individual or entity named on this > message. If you are not the intended recipient, and have received this > message in error, please notify us immediately by reply e-mail and then > delete it from your system. > > ------------------------------------------------------------------------ > ------ > > ------------------------------------------------------------------------ > ------ > Notice: This e-mail message, together with any attachments, contains > information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, > New Jersey, USA 08889), and/or its affiliates (which may be known > outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD > and in Japan, as Banyu - direct contact information for affiliates is > available at http://www.merck.com/contact/contacts.html) that may be > confidential, proprietary copyrighted and/or legally privileged. It is > intended solely for the use of the individual or entity named on this > message. If you are not the intended recipient, and have received this > message in error, please notify us immediately by reply e-mail and then > delete it from your system. > > ------------------------------------------------------------------------ > ------ > > > > ------------------------------------------------------------------------------ > Notice: This e-mail message, together with any attachments, contains > information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, > New Jersey, USA 08889), and/or its affiliates (which may be known > outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD > and in Japan, as Banyu - direct contact information for affiliates is > available at http://www.merck.com/contact/contacts.html) that may be > confidential, proprietary copyrighted and/or legally privileged. It is > intended solely for the use of the individual or entity named on this > message. If you are not the intended recipient, and have received this > message in error, please notify us immediately by reply e-mail and then > delete it from your system. > > ------------------------------------------------------------------------------ > > > From [email protected] Tue May 08 17:18:30 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91062 invoked from network); 8 May 2007 17:18:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 May 2007 17:18:29 -0000 Received: (qmail 67202 invoked by uid 500); 8 May 2007 17:18:36 -0000 Delivered-To: [email protected] Received: (qmail 67154 invoked by uid 500); 8 May 2007 17:18:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 67140 invoked by uid 99); 8 May 2007 17:18:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 10:18:35 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO usryim09.merck.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 10:18:27 -0700 Received: from 161.129.204.104 by usryim09.merck.com with ESMTP (SMTP Relay); Tue, 08 May 2007 13:17:57 -0400 X-Server-Uuid: 078441B8-8B94-4128-83AA-0F28411313D9 Received: from 161.129.204.104 by usrytw30.merck.com with ESMTP (Tumbleweed Email Firewall SMTP Relay (Email Firewall v6.1.1)); Tue, 08 May 2007 13:17:46 -0400 X-Server-Uuid: 5A1583D2-9438-462B-8CA0-21F9DF195542 Received: from usctmx1124.merck.com ([161.129.204.104]) by usctgw1102.merck.com with Microsoft SMTPSVC251-554-7837); Tue, 8 May 2007 13:17:46 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: [Fwd: WARNING - 2 days to deadline for May reports] Date: Tue, 8 May 2007 13:17:45 -0400 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Fwd: WARNING - 2 days to deadline for May reports] Thread-Index: AceRfG/DYhUBUiFyRPCKOcLy85K7oAAGAAbA References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: "Lega, Peter Z" <[email protected]> To: [email protected] X-OriginalArrivalTime: 08 May 2007 17:17:46.0927 (UTC) FILETIME=[CC214BF0:01C79194] X-WSS-ID: 6A5E6F303DS79753374-01-01 X-WSS-ID: 6A5E6F3C3KO9993747-04-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Community is probably the most important point! Also, Bill Stoddard (Geronimo) wants to install Lokahi for use in his area in IBM for evaluation, and help us get a sense of what it would take to have Lokahi control the Geronimo stack. I will reach out to him to help him get what he needs. Pete=20 -----Original Message----- =46rom: Filip Hanik - Dev Lists [mailto:[email protected]]=20 Sent: Tuesday, May 08, 2007 10:22 AM To: [email protected] Subject: Re: [Fwd: WARNING - 2 days to deadline for May reports] Toback, Steve wrote: > Bill correct me if I am wrong - but there are 3 things we specifically > need to address: > > Items to complete before graduation: > Grow the community > =20 this could be easily covered by 1. ApacheConEU2007 - Fast feather presentation 2. Attended Incubator get-togethers in Amsterdam 3. Mingling at the ApacheCon and as a result, mailing list have come to life =46ilip > These two seem to be covered pretty well in the below text. > Community > Code / Plans. > > > > -----Original Message----- > From: DeBardeleben, Ruth L=20 > Sent: Tuesday, May 08, 2007 9:29 AM > To: [email protected] > Subject: RE: [Fwd: WARNING - 2 days to deadline for May reports] > > Ah good. Thanks Filip. Excellent point.=20 > > So: > > --- begin board report text --- > > One of the Lokahi committers (Steve Toback) attended ApacheCon, along > with other community members from Merck. Initial draft of Lokahi's data > model for the proposed switch to a Jackrabbit back-end was worked out > with input from Jackrabbit community (Jukka Zitting). Steve presented at > FastFeather track (15-min sessions) & gave an short overview of what > Lokahi does and what it currently supports. Discussed possibilities =66or > using Lokahi to manage Geronimo servers as well. An initial roadmap of > features has been planned, and development will be moving in the > direction of the new roadmap. =20 > > The conversion to JCR takes first priority because it will mitigate > existing difficulties that hinder community-growing, namely:=20 > (a) Oracle as db requirement, which reduces the potential user "market"; > > (b) inability to run Lokahi on a standalone machine, due to (a);=20 > (c) complicated build process, partially due to (a);=20 > > And JCR will provide the following benefits: > (a) database independence (run Lokahi with a file system backend to try > it out, or use a more robust storage platform for production) + embedded > Derby db > (b) lower barrier to contribution, see (a) > (c) versioned objects -- the basis for storing versioned configuration > files & foundation for a future "undo" feature requested by users. > Great for real-world use in regulated environments which require > detailed audit trails of who-changed-what-and-when. > > --- end board report text --- > > anything else=3F > Ruth > > -----Original Message----- > From: Filip Hanik - Dev Lists [mailto:[email protected]]=20 > Sent: Tuesday, May 08, 2007 9:11 AM > To: [email protected] > Subject: Re: [Fwd: WARNING - 2 days to deadline for May reports] > > It would be good to add in that an "initial" roadmap of features has=20 > been planned, and that development will be moving in the direction of=20 > the new roadmap > and maybe mention some of the stuff on the road map > Filip > > DeBardeleben, Ruth L wrote: > =20 >> Here's my take on it: >> >> One of the Lokahi committers (Steve Toback) attended ApacheCon, along >> with other community members from Merck. Initial draft of Lokahi's >> =20 > data > =20 >> model for the proposed switch to a Jackrabbit back-end was worked out >> with input from Jackrabbit community (Jukka Zitting). Steve presented >> =20 > at > =20 >> FastFeather track (15-min sessions) & gave an short overview of what >> Lokahi does and what it currently supports. Discussed possibilities >> =20 > for > =20 >> using Lokahi to manage Geronimo servers as well.=20 >> >> any edits, folks=3F =20 >> >> -----Original Message----- >> From: William A. Rowe, Jr. [mailto:[email protected]]=20 >> Sent: Monday, May 07, 2007 11:05 PM >> To: [email protected] >> Subject: [Fwd: WARNING - 2 days to deadline for May reports] >> >> Drat - forward of the belated reminder. >> >> >> >> =20 > ------------------------------------------------------------------------ > ------ > =20 >> Notice: This e-mail message, together with any attachments, contains >> information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, >> New Jersey, USA 08889), and/or its affiliates (which may be known >> outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD >> and in Japan, as Banyu - direct contact information for affiliates is >> available at http://www.merck.com/contact/contacts.html) that may be=20 >> confidential, proprietary copyrighted and/or legally privileged. It is >> =20 > > =20 >> intended solely for the use of the individual or entity named on this >> message. If you are not the intended recipient, and have received this >> =20 > > =20 >> message in error, please notify us immediately by reply e-mail and >> =20 > then=20 > =20 >> delete it from your system. >> >> >> =20 > ------------------------------------------------------------------------ > ------ > =20 >> =20 >> =20 > > > > > ------------------------------------------------------------------------ > ------ > Notice: This e-mail message, together with any attachments, contains > information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, > New Jersey, USA 08889), and/or its affiliates (which may be known > outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD > and in Japan, as Banyu - direct contact information for affiliates is=20 > available at http://www.merck.com/contact/contacts.html) that may be=20 > confidential, proprietary copyrighted and/or legally privileged. It is > intended solely for the use of the individual or entity named on this=20 > message. If you are not the intended recipient, and have received this > message in error, please notify us immediately by reply e-mail and then=20 > delete it from your system. > > ------------------------------------------------------------------------ > ------ > > ------------------------------------------------------------------------ > ------ > Notice: This e-mail message, together with any attachments, contains > information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, > New Jersey, USA 08889), and/or its affiliates (which may be known > outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD > and in Japan, as Banyu - direct contact information for affiliates is=20 > available at http://www.merck.com/contact/contacts.html) that may be=20 > confidential, proprietary copyrighted and/or legally privileged. It is > intended solely for the use of the individual or entity named on this=20 > message. If you are not the intended recipient, and have received this > message in error, please notify us immediately by reply e-mail and then=20 > delete it from your system. > > ------------------------------------------------------------------------ > ------ > > > > ------------------------------------------------------------------------ ------ > Notice: This e-mail message, together with any attachments, contains > information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, > New Jersey, USA 08889), and/or its affiliates (which may be known > outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD > and in Japan, as Banyu - direct contact information for affiliates is=20 > available at http://www.merck.com/contact/contacts.html) that may be=20 > confidential, proprietary copyrighted and/or legally privileged. It is > intended solely for the use of the individual or entity named on this=20 > message. If you are not the intended recipient, and have received this > message in error, please notify us immediately by reply e-mail and then=20 > delete it from your system. > > ------------------------------------------------------------------------ ------ > > > =20 ---------------------------------------------------------------------------= --- Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu - direct contact information for affiliates is=20 available at http://www.merck.com/contact/contacts.html) that may be=20 confidential, proprietary copyrighted and/or legally privileged. It is=20 intended solely for the use of the individual or entity named on this=20 message. If you are not the intended recipient, and have received this=20 message in error, please notify us immediately by reply e-mail and then=20 delete it from your system. ---------------------------------------------------------------------------= --- From [email protected] Tue May 08 17:42:15 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97103 invoked from network); 8 May 2007 17:42:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 May 2007 17:42:14 -0000 Received: (qmail 7519 invoked by uid 500); 8 May 2007 17:42:21 -0000 Delivered-To: [email protected] Received: (qmail 7478 invoked by uid 500); 8 May 2007 17:42:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7464 invoked by uid 99); 8 May 2007 17:42:21 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 10:42:21 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO smtpout05.prod.mesa1.secureserver.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 08 May 2007 10:42:14 -0700 Received: (qmail 10241 invoked from network); 8 May 2007 17:41:51 -0000 Received: from unknown (161.129.204.104) by smtpout05-04.prod.mesa1.secureserver.net (161.129.204.104) with ESMTP; 08 May 2007 17:41:51 -0000 Message-ID: <[email protected]> Date: Tue, 08 May 2007 12:41:50 -0500 From: "William A. Rowe, Jr." <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20070302) MIME-Version: 1.0 To: [email protected] Subject: Re: [Fwd: WARNING - 2 days to deadline for May reports] References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org DeBardeleben, Ruth L wrote: > Here's my take on it: > > One of the Lokahi committers (Steve Toback) attended ApacheCon, along > with other community members from Merck. Initial draft of Lokahi's data > model for the proposed switch to a Jackrabbit back-end was worked out > with input from Jackrabbit community (Jukka Zitting). Steve presented at > FastFeather track (15-min sessions) & gave an short overview of what > Lokahi does and what it currently supports. Discussed possibilities for > using Lokahi to manage Geronimo servers as well. > > any edits, folks? "A significant number of committers from other projects have subscribed to lokahi-dev over ApacheCon after discovering how this project could solve their own infrastructure headaches or how it could be enhanced to support their project's configuration and management." Looks great; let's identify obstacles to graduation and we'll call it a day. * community - now includes authors outside of the original dev community, but additional committers are sought. Recent distractions reinforced the fact that a larger committer base is needed to graduate. * licensing - oracle-only backend is now 90% of the way to an alternate MySQL backend, and soon to be enhanced with license agnostic interfaces. I see no other obstacles to graduate. From [email protected] Tue May 08 17:55:28 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 657 invoked from network); 8 May 2007 17:55:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 May 2007 17:55:27 -0000 Received: (qmail 33324 invoked by uid 500); 8 May 2007 17:55:26 -0000 Delivered-To: [email protected] Received: (qmail 33312 invoked by uid 500); 8 May 2007 17:55:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 33303 invoked by uid 99); 8 May 2007 17:55:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 10:55:26 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO smtpauth04.prod.mesa1.secureserver.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 08 May 2007 10:55:18 -0700 Received: (qmail 9810 invoked from network); 8 May 2007 17:54:56 -0000 Received: from unknown (161.129.204.104) by smtpauth04.prod.mesa1.secureserver.net (161.129.204.104) with ESMTP; 08 May 2007 17:54:56 -0000 Message-ID: <[email protected]> Date: Tue, 08 May 2007 12:54:55 -0500 From: "William A. Rowe, Jr." <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20070302) MIME-Version: 1.0 To: [email protected] Subject: Re: [Fwd: WARNING - 2 days to deadline for May reports] References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Lega, Peter Z wrote: > Community is probably the most important point! +1. The sql stuff will resolve itself (with a bit of elbow grease). We can certainly -offer- mysql/oracle bindings but if we adapt more generic sql backend api's - we don't lock them into gpl/proprietary choices and there are no other code obstacles to graduating. > Also, > Bill Stoddard (Geronimo) wants to install Lokahi for use in his area in > IBM for evaluation, and help us get a sense of what it would take to > have Lokahi control the Geronimo stack. I will reach out to him to help > him get what he needs. Please don't forget to leave lokahi-dev@ in the loop, since there are likely several folks interested in the same topic. Plus the hints and banter can be condensed down to how-to or FAQ in the end. Avoid taking the project offline - it's an easy habit to fall into but we don't want to put community/process back on the 'obstacles to graduation list' :) Bill From [email protected] Tue May 08 18:00:31 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2014 invoked from network); 8 May 2007 18:00:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 May 2007 18:00:31 -0000 Received: (qmail 46522 invoked by uid 500); 8 May 2007 18:00:37 -0000 Delivered-To: [email protected] Received: (qmail 46510 invoked by uid 500); 8 May 2007 18:00:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 46501 invoked by uid 99); 8 May 2007 18:00:37 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 11:00:37 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO uscttw1110.merck.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 11:00:28 -0700 Received: from 161.129.204.104 by uscttw1110.merck.com with ESMTP (SMTP Relay); Tue, 08 May 2007 13:59:57 -0400 X-Server-Uuid: 0D0C80A0-46FA-490C-AFC2-7618DC791584 Received: from 161.129.204.104 by uscttw1100.merck.com with ESMTP ( Tumbleweed Email Firewall SMTP Relay (Email Firewall v6.1.1)); Tue, 08 May 2007 13:59:48 -0400 X-Server-Uuid: 8E446BA6-8C54-44C2-A958-58EE69E6653D Received: from usctmx1124.merck.com ([161.129.204.104]) by usctgw1101.merck.com with Microsoft SMTPSVC251-554-7837); Tue, 8 May 2007 13:59:49 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: [Fwd: WARNING - 2 days to deadline for May reports] Date: Tue, 8 May 2007 13:59:48 -0400 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Fwd: WARNING - 2 days to deadline for May reports] Thread-Index: AceRmh/fpqrXX6f7Sx+4go0/IP0OUwAADPAQ References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: "Lega, Peter Z" <[email protected]> To: [email protected] X-OriginalArrivalTime: 08 May 2007 17:59:49.0029 (UTC) FILETIME=[AB6B8550:01C7919A] X-WSS-ID: 6A5E651E1M44272548-01-01 X-WSS-ID: 6A5E650320O2674173-05-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org I will be sure to post whatever we do w/Bill perhaps we can work it to "talk it through" on the list. Some of it is just logistics of getting him up and running. -----Original Message----- =46rom: William A. Rowe, Jr. [mailto:[email protected]]=20 Sent: Tuesday, May 08, 2007 1:55 PM To: [email protected] Subject: Re: [Fwd: WARNING - 2 days to deadline for May reports] Lega, Peter Z wrote: > Community is probably the most important point! +1. The sql stuff will resolve itself (with a bit of elbow grease). We can certainly -offer- mysql/oracle bindings but if we adapt more generic sql backend api's - we don't lock them into gpl/proprietary choices and there are no other code obstacles to graduating. > Also, > Bill Stoddard (Geronimo) wants to install Lokahi for use in his area in > IBM for evaluation, and help us get a sense of what it would take to > have Lokahi control the Geronimo stack. I will reach out to him to help > him get what he needs. Please don't forget to leave lokahi-dev@ in the loop, since there are likely several folks interested in the same topic. Plus the hints and banter can be condensed down to how-to or FAQ in the end. Avoid taking the project offline - it's an easy habit to fall into but we don't want to put community/process back on the 'obstacles to graduation list' :) Bill ---------------------------------------------------------------------------= --- Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu - direct contact information for affiliates is=20 available at http://www.merck.com/contact/contacts.html) that may be=20 confidential, proprietary copyrighted and/or legally privileged. It is=20 intended solely for the use of the individual or entity named on this=20 message. If you are not the intended recipient, and have received this=20 message in error, please notify us immediately by reply e-mail and then=20 delete it from your system. ---------------------------------------------------------------------------= --- From [email protected] Tue May 08 18:14:17 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5921 invoked from network); 8 May 2007 18:14:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 May 2007 18:14:16 -0000 Received: (qmail 74347 invoked by uid 500); 8 May 2007 18:14:23 -0000 Delivered-To: [email protected] Received: (qmail 74329 invoked by uid 500); 8 May 2007 18:14:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74319 invoked by uid 99); 8 May 2007 18:14:23 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 11:14:23 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO uscttw1110.merck.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 11:14:16 -0700 Received: from 161.129.204.104 by uscttw1110.merck.com with ESMTP (SMTP Relay); Tue, 08 May 2007 14:13:44 -0400 X-Server-Uuid: 0D0C80A0-46FA-490C-AFC2-7618DC791584 Received: from 161.129.204.104 by uscttw1100.merck.com with ESMTP ( Tumbleweed Email Firewall SMTP Relay (Email Firewall v6.1.1)); Tue, 08 May 2007 14:13:30 -0400 X-Server-Uuid: 8E446BA6-8C54-44C2-A958-58EE69E6653D Received: from usctmx1113.merck.com ([161.129.204.104]) by usctgw1101.merck.com with Microsoft SMTPSVC251-554-7837); Tue, 8 May 2007 14:13:31 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: [Fwd: WARNING - 2 days to deadline for May reports] Date: Tue, 8 May 2007 14:13:30 -0400 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Fwd: WARNING - 2 days to deadline for May reports] Thread-Index: AceRmh/fpqrXX6f7Sx+4go0/IP0OUwAADPAQAAB+I0A= References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: "DeBardeleben, Ruth L" <[email protected]> To: [email protected] X-OriginalArrivalTime: 08 May 2007 18:13:31.0405 (UTC) FILETIME=[959823D0:01C7919C] X-WSS-ID: 6A5E62401M44278818-01-01 X-WSS-ID: 6A5E625220O2678631-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Even if it's just problems getting it up and running, please do use the list. I want to write website content about "common installation probs," so having a guinea pig to point them out will be super helpful. And plus the emails are archived so I'll be able to refer to them later. Ruth -----Original Message----- =46rom: Lega, Peter Z=20 Sent: Tuesday, May 08, 2007 2:00 PM To: [email protected] Subject: RE: [Fwd: WARNING - 2 days to deadline for May reports] I will be sure to post whatever we do w/Bill perhaps we can work it to "talk it through" on the list. Some of it is just logistics of getting him up and running. -----Original Message----- =46rom: William A. Rowe, Jr. [mailto:[email protected]]=20 Sent: Tuesday, May 08, 2007 1:55 PM To: [email protected] Subject: Re: [Fwd: WARNING - 2 days to deadline for May reports] Lega, Peter Z wrote: > Community is probably the most important point! +1. The sql stuff will resolve itself (with a bit of elbow grease). We can certainly -offer- mysql/oracle bindings but if we adapt more generic sql backend api's - we don't lock them into gpl/proprietary choices and there are no other code obstacles to graduating. > Also, > Bill Stoddard (Geronimo) wants to install Lokahi for use in his area in > IBM for evaluation, and help us get a sense of what it would take to > have Lokahi control the Geronimo stack. I will reach out to him to help > him get what he needs. Please don't forget to leave lokahi-dev@ in the loop, since there are likely several folks interested in the same topic. Plus the hints and banter can be condensed down to how-to or FAQ in the end. Avoid taking the project offline - it's an easy habit to fall into but we don't want to put community/process back on the 'obstacles to graduation list' :) Bill ------------------------------------------------------------------------ ------ Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu - direct contact information for affiliates is=20 available at http://www.merck.com/contact/contacts.html) that may be=20 confidential, proprietary copyrighted and/or legally privileged. It is=20 intended solely for the use of the individual or entity named on this=20 message. If you are not the intended recipient, and have received this=20 message in error, please notify us immediately by reply e-mail and then=20 delete it from your system. ------------------------------------------------------------------------ ------ ------------------------------------------------------------------------ ------ Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu - direct contact information for affiliates is=20 available at http://www.merck.com/contact/contacts.html) that may be=20 confidential, proprietary copyrighted and/or legally privileged. It is=20 intended solely for the use of the individual or entity named on this=20 message. If you are not the intended recipient, and have received this=20 message in error, please notify us immediately by reply e-mail and then=20 delete it from your system. ------------------------------------------------------------------------ ------ ---------------------------------------------------------------------------= --- Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu - direct contact information for affiliates is=20 available at http://www.merck.com/contact/contacts.html) that may be=20 confidential, proprietary copyrighted and/or legally privileged. It is=20 intended solely for the use of the individual or entity named on this=20 message. If you are not the intended recipient, and have received this=20 message in error, please notify us immediately by reply e-mail and then=20 delete it from your system. ---------------------------------------------------------------------------= --- From [email protected] Tue May 08 22:19:57 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90353 invoked from network); 8 May 2007 22:19:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 May 2007 22:19:57 -0000 Received: (qmail 21110 invoked by uid 500); 8 May 2007 22:20:04 -0000 Delivered-To: [email protected] Received: (qmail 21085 invoked by uid 500); 8 May 2007 22:20:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 21076 invoked by uid 99); 8 May 2007 22:20:03 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 15:20:03 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO uscttw1111.merck.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 15:19:56 -0700 Received: from 161.129.204.104 by uscttw1111.merck.com with ESMTP (SMTP Relay); Tue, 08 May 2007 18:19:27 -0400 X-Server-Uuid: 21ED2443-EC2E-4990-AE40-34011731D2AC Received: from 161.129.204.104 by uscttw1103.merck.com with ESMTP ( Tumbleweed Email Firewall SMTP Relay (Email Firewall v6.2.1)); Tue, 08 May 2007 18:19:18 -0400 X-Server-Uuid: BE34D300-0A51-47CF-B7B0-43119D2E8061 Received: from usctmx1113.merck.com ([161.129.204.104]) by usctgw1104.merck.com with Microsoft SMTPSVC251-554-7837); Tue, 8 May 2007 18:19:18 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: [Fwd: WARNING - 2 days to deadline for May reports] Date: Tue, 8 May 2007 18:19:17 -0400 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Fwd: WARNING - 2 days to deadline for May reports] Thread-Index: AceRmh5YZQLTMjvZSnSi4myfVmkAyAAJLctA References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: "DeBardeleben, Ruth L" <[email protected]> To: [email protected] X-OriginalArrivalTime: 08 May 2007 22:19:18.0737 (UTC) FILETIME=[EBB06C10:01C791BE] X-WSS-ID: 6A5E28EC0RG29566861-01-01 X-WSS-ID: 6A5E28D12BC16239983-05-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org so Bill, do you have what you need for the board report=3F Are we done=3F= =20 -----Original Message----- =46rom: William A. Rowe, Jr. [mailto:[email protected]]=20 Sent: Tuesday, May 08, 2007 1:55 PM To: [email protected] Subject: Re: [Fwd: WARNING - 2 days to deadline for May reports] Lega, Peter Z wrote: > Community is probably the most important point! +1. The sql stuff will resolve itself (with a bit of elbow grease). We can certainly -offer- mysql/oracle bindings but if we adapt more generic sql backend api's - we don't lock them into gpl/proprietary choices and there are no other code obstacles to graduating. > Also, > Bill Stoddard (Geronimo) wants to install Lokahi for use in his area in > IBM for evaluation, and help us get a sense of what it would take to > have Lokahi control the Geronimo stack. I will reach out to him to help > him get what he needs. Please don't forget to leave lokahi-dev@ in the loop, since there are likely several folks interested in the same topic. Plus the hints and banter can be condensed down to how-to or FAQ in the end. Avoid taking the project offline - it's an easy habit to fall into but we don't want to put community/process back on the 'obstacles to graduation list' :) Bill ---------------------------------------------------------------------------= --- Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu - direct contact information for affiliates is=20 available at http://www.merck.com/contact/contacts.html) that may be=20 confidential, proprietary copyrighted and/or legally privileged. It is=20 intended solely for the use of the individual or entity named on this=20 message. If you are not the intended recipient, and have received this=20 message in error, please notify us immediately by reply e-mail and then=20 delete it from your system. ---------------------------------------------------------------------------= --- From [email protected] Wed May 09 03:12:40 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92236 invoked from network); 9 May 2007 03:12:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 May 2007 03:12:40 -0000 Received: (qmail 68273 invoked by uid 500); 9 May 2007 03:12:47 -0000 Delivered-To: [email protected] Received: (qmail 68253 invoked by uid 500); 9 May 2007 03:12:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 68244 invoked by uid 99); 9 May 2007 03:12:46 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 20:12:46 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wr-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 20:12:39 -0700 Received: by wr-out-0506.google.com with SMTP id i31so56169wra for <[email protected]>; Tue, 08 May 2007 20:12:18 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DW2z7wqC6aweziMs1WveVvNv/Uwz6bgSSj+LPcZp1nVBlly5gvg5RLpRy5XDDeOhqF3OwuTErTgvRtmWjWlVPi1qAUMCPZf4byu9xA3X37dr/T06YjzWQL9YkyuWOcuUKUS7bbr9TT6i57YIHjbalZOzh/3uM4zmMtOlozmQDi4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QvF6fXpVGWOhuLsIi3f2kLYVED2a668EYw7RU7BrPFEcZpncThHr/6FSsZNSvY0+8PbARUcY3vXcJyZ4bswiRf+XeNds13Wv3F+/qH/LoazC2SWxU7haf+NQwyQyKpNNIrtPsBlsBtFBLH+NAsFj4olNg4tmpzHK2MhtTv0WKnw= Received: by 161.129.204.104 with SMTP id x20mr116891bud.1178680333936; Tue, 08 May 2007 20:12:13 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 8 May 2007 20:12:13 -0700 (PDT) Message-ID: <[email protected]> Date: Wed, 9 May 2007 04:12:13 +0100 From: "Niall Pemberton" <[email protected]> To: [email protected] Subject: Re: [Fwd: WARNING - 2 days to deadline for May reports] In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org On 5/8/07, DeBardeleben, Ruth L <[email protected]> wrote: > Even if it's just problems getting it up and running, please do use the > list. I want to write website content about "common installation > probs," so having a guinea pig to point them out will be super helpful. > And plus the emails are archived so I'll be able to refer to them later. I agree with the above - but also more importantly communities at the ASF operate on mailing list(s) and by dealing with issues/discussions here (or thru' Jira which come thru to the list) its a tangible demonstration that lokahi understands how projects at the ASF operate and improve your chance of graduation. I talked to one of the Beehive committers a couple of years ago about their incubation experience (which was donated by BEA) - he said the hardest thing was doing communication thru' the list when the core developers all sat together at BEA - I guess iits a similar situation for lokahi. Niall > Ruth > > -----Original Message----- > From: Lega, Peter Z > Sent: Tuesday, May 08, 2007 2:00 PM > To: [email protected] > Subject: RE: [Fwd: WARNING - 2 days to deadline for May reports] > > I will be sure to post whatever we do w/Bill perhaps we can work it to > "talk it through" on the list. > Some of it is just logistics of getting him up and running. > > -----Original Message----- > From: William A. Rowe, Jr. [mailto:[email protected]] > Sent: Tuesday, May 08, 2007 1:55 PM > To: [email protected] > Subject: Re: [Fwd: WARNING - 2 days to deadline for May reports] > > Lega, Peter Z wrote: > > Community is probably the most important point! > > +1. The sql stuff will resolve itself (with a bit of elbow grease). We > can certainly -offer- mysql/oracle bindings but if we adapt more generic > sql backend api's - we don't lock them into gpl/proprietary choices and > there are no other code obstacles to graduating. > > > Also, > > Bill Stoddard (Geronimo) wants to install Lokahi for use in his area > in > > IBM for evaluation, and help us get a sense of what it would take to > > have Lokahi control the Geronimo stack. I will reach out to him to > help > > him get what he needs. > > Please don't forget to leave lokahi-dev@ in the loop, since there are > likely several folks interested in the same topic. Plus the hints and > banter can be condensed down to how-to or FAQ in the end. Avoid taking > the project offline - it's an easy habit to fall into but we don't want > to put community/process back on the 'obstacles to graduation list' :) > > Bill > > > > > ------------------------------------------------------------------------ > ------ > Notice: This e-mail message, together with any attachments, contains > information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, > New Jersey, USA 08889), and/or its affiliates (which may be known > outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD > and in Japan, as Banyu - direct contact information for affiliates is > available at http://www.merck.com/contact/contacts.html) that may be > confidential, proprietary copyrighted and/or legally privileged. It is > intended solely for the use of the individual or entity named on this > message. If you are not the intended recipient, and have received this > message in error, please notify us immediately by reply e-mail and then > delete it from your system. > > ------------------------------------------------------------------------ > ------ > > ------------------------------------------------------------------------ > ------ > Notice: This e-mail message, together with any attachments, contains > information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, > New Jersey, USA 08889), and/or its affiliates (which may be known > outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD > and in Japan, as Banyu - direct contact information for affiliates is > available at http://www.merck.com/contact/contacts.html) that may be > confidential, proprietary copyrighted and/or legally privileged. It is > intended solely for the use of the individual or entity named on this > message. If you are not the intended recipient, and have received this > message in error, please notify us immediately by reply e-mail and then > delete it from your system. > > ------------------------------------------------------------------------ > ------ > > > > ------------------------------------------------------------------------------ > Notice: This e-mail message, together with any attachments, contains > information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, > New Jersey, USA 08889), and/or its affiliates (which may be known > outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD > and in Japan, as Banyu - direct contact information for affiliates is > available at http://www.merck.com/contact/contacts.html) that may be > confidential, proprietary copyrighted and/or legally privileged. It is > intended solely for the use of the individual or entity named on this > message. If you are not the intended recipient, and have received this > message in error, please notify us immediately by reply e-mail and then > delete it from your system. > > ------------------------------------------------------------------------------ > From [email protected] Wed May 09 12:09:10 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20324 invoked from network); 9 May 2007 12:09:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 May 2007 12:09:10 -0000 Received: (qmail 98860 invoked by uid 500); 9 May 2007 12:09:16 -0000 Delivered-To: [email protected] Received: (qmail 98842 invoked by uid 500); 9 May 2007 12:09:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 98832 invoked by uid 99); 9 May 2007 12:09:16 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2007 05:09:16 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nz-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2007 05:09:09 -0700 Received: by nz-out-0506.google.com with SMTP id j2so161664nzf for <[email protected]>; Wed, 09 May 2007 05:08:48 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Hx4lKq4o2wurc7+0ramZJ5eEO9/wqwUWLg/n2bkP02VQ4qMtaPAYK8kKpClpvXlPaCIdZc67juodqDG+cfxrnxmrvdAd3ENNSHcCSiuuDwUxHPCjpsOfbT1Us3nboXJI/DbdGimdB8Mt3igT5ESV/6/0+3bcOsVD1Vpg30fLUCo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jxLO/0XYIZPHLvAFFgsIX+wbzr1FTXT67XszRa0XggAilmX1CfhREZ/PqA0HOBjOV5/tOBnc7NEd/aCq31bX7s2i/+JGXlLlmaXc6AE5Y0Qt15P/9x5P+PgRlwuqMdgEGKy2zDFnUdBMFt/0RxQI+77yamIRycmVF9upXZ4W++A= Received: by 161.129.204.104 with SMTP id g1mr167882wal.1178712528067; Wed, 09 May 2007 05:08:48 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 9 May 2007 05:08:47 -0700 (PDT) Message-ID: <[email protected]> Date: Wed, 9 May 2007 08:08:47 -0400 From: drtobes <[email protected]> To: [email protected] Subject: Re: [Fwd: WARNING - 2 days to deadline for May reports] In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org On 5/8/07, DeBardeleben, Ruth L <[email protected]> wrote: > so Bill, do you have what you need for the board report? Are we done? You mean Steve, or you for that matter. Bill is here to make sure we follow the rules and provide guidance with issues, primarily. That being said I think we're about done, here's the report I have gathered from this chain: ################################## Several members of the Lokahi community attended Apachecon EU in an effort to grow the community. A FastFeather track on what Lokahi does and what it currently supports (slides are available here: http://people.apache.org/~toback/presentations/Lokahi-fast-feather-05-04-2007.pdf ). Specific outreach was made to the Geronimo community to help us get a sense of what it would take to have Lokahi control the Geronimo stack. A significant number of committers from other projects have subscribed to lokahi-dev over ApacheCon after discovering how this project could solve their own infrastructure headaches or how it could be enhanced to support their project's configuration and management. An initial roadmap of features has been planned, and development will be moving in the direction of the new roadmap. An initial draft of Lokahi's data model for the proposed switch to a Jackrabbit back-end was worked out with input from Jackrabbit community. The conversion to JCR takes first priority because it will mitigate existing difficulties that hinder community-growing, namely: (a) Oracle as db requirement, which reduces the potential user "market"; (b) inability to run Lokahi on a standalone machine, due to (a); (c) complicated build process, partially due to (a); JCR will provide the following benefits: (a) database independence (run Lokahi with a file system backend to try it out, or use a more robust storage platform for production) + embedded Derby db (b) lower barrier to contribution, see (a) (c) versioned objects -- the basis for storing versioned configuration files & foundation for a future "undo" feature requested by users. Great for real-world use in regulated environments which require detailed audit trails of who-changed-what-and-when. Obstacles to graduation: * community - now includes authors outside of the original dev community, but additional committers are sought. Recent distractions reinforced the fact that a larger committer base is needed to graduate. * licensing - oracle-only backend is now 90% of the way to an alternate MySQL backend, and soon to be enhanced with license agnostic interfaces ############################ I will post this later today if no one has any objections. Steve From [email protected] Wed May 09 13:10:48 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38386 invoked from network); 9 May 2007 13:10:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 May 2007 13:10:45 -0000 Received: (qmail 7400 invoked by uid 500); 9 May 2007 13:10:52 -0000 Delivered-To: [email protected] Received: (qmail 7374 invoked by uid 500); 9 May 2007 13:10:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7365 invoked by uid 99); 9 May 2007 13:10:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2007 06:10:51 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO uscttw1113.merck.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2007 06:10:41 -0700 Received: from 161.129.204.104 by uscttw1113.merck.com with ESMTP (SMTP Relay); Wed, 09 May 2007 09:10:05 -0400 X-Server-Uuid: 17CBE316-CF4A-45C3-90D2-ABF7D63E4565 Received: from 161.129.204.104 by uscttw1101.merck.com with ESMTP ( Tumbleweed Email Firewall SMTP Relay (Email Firewall v6.1.1)); Wed, 09 May 2007 09:09:53 -0400 X-Server-Uuid: 96433E61-BC67-4637-9B91-0C482EF10D46 Received: from usctmx1113.merck.com ([161.129.204.104]) by usctgw1104.merck.com with Microsoft SMTPSVC251-554-7837); Wed, 9 May 2007 09:09:53 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: [Fwd: WARNING - 2 days to deadline for May reports] Date: Wed, 9 May 2007 09:09:51 -0400 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Fwd: WARNING - 2 days to deadline for May reports] Thread-Index: AceSMuZUt5tnJTt7SlqmcyzWzX05HwACBdZw References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: "DeBardeleben, Ruth L" <[email protected]> To: [email protected] X-OriginalArrivalTime: 09 May 2007 13:09:53.0596 (UTC) FILETIME=[5558D7C0:01C7923B] X-WSS-ID: 6A5F17AB23833777923-02-01 X-WSS-ID: 6A5F17993EO5521643-09-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org +1=20 post away :) (ok, so Steve, you have access to actually post the report to the wiki... =3F think I got it now..) -----Original Message----- =46rom: drtobes [mailto:[email protected]]=20 Sent: Wednesday, May 09, 2007 8:09 AM To: [email protected] Subject: Re: [Fwd: WARNING - 2 days to deadline for May reports] On 5/8/07, DeBardeleben, Ruth L <[email protected]> wrote: > so Bill, do you have what you need for the board report=3F Are we done=3F You mean Steve, or you for that matter. Bill is here to make sure we =66ollow the rules and provide guidance with issues, primarily. That being said I think we're about done, here's the report I have gathered =66rom this chain: ################################## Several members of the Lokahi community attended Apachecon EU in an effort to grow the community. A FastFeather track on what Lokahi does and what it currently supports (slides are available here: http://people.apache.org/~toback/presentations/Lokahi-fast-feather-05-04 -2007.pdf ). Specific outreach was made to the Geronimo community to help us get a sense of what it would take to have Lokahi control the Geronimo stack. A significant number of committers from other projects have subscribed to lokahi-dev over ApacheCon after discovering how this project could solve their own infrastructure headaches or how it could be enhanced to support their project's configuration and management. An initial roadmap of features has been planned, and development will be moving in the direction of the new roadmap. An initial draft of Lokahi's data model for the proposed switch to a Jackrabbit back-end was worked out with input from Jackrabbit community. The conversion to JCR takes first priority because it will mitigate existing difficulties that hinder community-growing, namely: (a) Oracle as db requirement, which reduces the potential user "market"; (b) inability to run Lokahi on a standalone machine, due to (a); (c) complicated build process, partially due to (a); JCR will provide the following benefits: (a) database independence (run Lokahi with a file system backend to try it out, or use a more robust storage platform for production) + embedded Derby db (b) lower barrier to contribution, see (a) (c) versioned objects -- the basis for storing versioned configuration =66iles & foundation for a future "undo" feature requested by users. Great for real-world use in regulated environments which require detailed audit trails of who-changed-what-and-when. Obstacles to graduation: * community - now includes authors outside of the original dev community, but additional committers are sought. Recent distractions reinforced the fact that a larger committer base is needed to graduate. * licensing - oracle-only backend is now 90% of the way to an alternate MySQL backend, and soon to be enhanced with license agnostic interfaces ############################ I will post this later today if no one has any objections. Steve ---------------------------------------------------------------------------= --- Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu - direct contact information for affiliates is=20 available at http://www.merck.com/contact/contacts.html) that may be=20 confidential, proprietary copyrighted and/or legally privileged. It is=20 intended solely for the use of the individual or entity named on this=20 message. If you are not the intended recipient, and have received this=20 message in error, please notify us immediately by reply e-mail and then=20 delete it from your system. ---------------------------------------------------------------------------= --- From [email protected] Wed May 09 20:48:41 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20971 invoked from network); 9 May 2007 20:48:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 May 2007 20:48:41 -0000 Received: (qmail 34817 invoked by uid 500); 9 May 2007 20:48:47 -0000 Delivered-To: [email protected] Received: (qmail 34795 invoked by uid 500); 9 May 2007 20:48:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34786 invoked by uid 99); 9 May 2007 20:48:47 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2007 13:48:47 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO smtpauth12.prod.mesa1.secureserver.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 09 May 2007 13:48:40 -0700 Received: (qmail 27749 invoked from network); 9 May 2007 20:48:19 -0000 Received: from unknown (161.129.204.104) by smtpauth12.prod.mesa1.secureserver.net (161.129.204.104) with ESMTP; 09 May 2007 20:48:18 -0000 Message-ID: <[email protected]> Date: Wed, 09 May 2007 15:48:17 -0500 From: "William A. Rowe, Jr." <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20070302) MIME-Version: 1.0 To: [email protected] Subject: Re: [Fwd: WARNING - 2 days to deadline for May reports] References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org All well put. One note inline, and a vote (and yea - I would have probably summarized this but my headcold in Amsterdam took a rebound yesterday.) drtobes wrote: > On 5/8/07, DeBardeleben, Ruth L <[email protected]> wrote: >> so Bill, do you have what you need for the board report? Are we done? > > You mean Steve, or you for that matter. Bill is here to make sure we > follow the rules and provide guidance with issues, primarily. That > being said I think we're about done, here's the report I have gathered > from this chain: > > ################################## > Several members of the Lokahi community attended Apachecon EU in an > effort to grow the community. A FastFeather track on what Lokahi does > and what it currently supports (slides are available here: > http://people.apache.org/~toback/presentations/Lokahi-fast-feather-05-04-2007.pdf > > ). Specific outreach was made to the Geronimo community to help us > get a sense of what it would take to have Lokahi control the Geronimo > stack. A significant number of committers from other projects have > subscribed to lokahi-dev over ApacheCon after discovering how this > project could solve their own infrastructure headaches or how it could > be enhanced to support their project's configuration and management. > An initial roadmap of features has been planned, and development will > be moving in the direction of the new roadmap. An initial draft of > Lokahi's data model for the proposed switch to a Jackrabbit back-end > was worked out with input from Jackrabbit community. > > The conversion to JCR takes first priority because it will mitigate > existing difficulties that hinder community-growing, namely: > (a) Oracle as db requirement, which reduces the potential user "market"; ** note here we also have a license issue. As Oracle is commercial license and MySQL is GPL (ya ya, open source implementation clause and all that, it's still not unambiguously usable under ASF rules since that clause may translate the AL into a copyleft license)... the conversion to JCR eliminates the issue of Lokahi as "Open Source Licensed" and brings us in line with the dependent license requirements. > (b) inability to run Lokahi on a standalone machine, due to (a); > (c) complicated build process, partially due to (a); > > JCR will provide the following benefits: > (a) database independence (run Lokahi with a file system backend to > try it out, or use a more robust storage platform for production) + > embedded Derby db > (b) lower barrier to contribution, see (a) > (c) versioned objects -- the basis for storing versioned configuration > files & foundation for a future "undo" feature requested by users. > Great for real-world use in regulated environments which require > detailed audit trails of who-changed-what-and-when. > > Obstacles to graduation: > > * community - now includes authors outside of the original dev > community, but additional committers are sought. Recent distractions > reinforced the fact that a larger committer base is needed to > graduate. > > * licensing - oracle-only backend is now 90% of the way to an > alternate MySQL backend, and soon to be enhanced with license agnostic > interfaces > > ############################ > > I will post this later today if no one has any objections. +1 From [email protected] Wed May 09 22:14:40 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54348 invoked from network); 9 May 2007 22:14:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 May 2007 22:14:40 -0000 Received: (qmail 6327 invoked by uid 500); 9 May 2007 22:14:47 -0000 Delivered-To: [email protected] Received: (qmail 6307 invoked by uid 500); 9 May 2007 22:14:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6298 invoked by uid 99); 9 May 2007 22:14:47 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2007 15:14:47 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO smtpauth14.prod.mesa1.secureserver.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 09 May 2007 15:14:39 -0700 Received: (qmail 21515 invoked from network); 9 May 2007 22:14:18 -0000 Received: from unknown (161.129.204.104) by smtpauth14.prod.mesa1.secureserver.net (161.129.204.104) with ESMTP; 09 May 2007 22:14:17 -0000 Message-ID: <[email protected]> Date: Wed, 09 May 2007 17:14:16 -0500 From: "William A. Rowe, Jr." <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20070302) MIME-Version: 1.0 To: [email protected] Subject: [Fwd: New wiki created: lokahi] Content-Type: multipart/mixed; boundary="------------000303090100060404060608" X-Virus-Checked: Checked by ClamAV on apache.org --------------000303090100060404060608 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Done. --------------000303090100060404060608 Content-Type: message/rfc822; name="New wiki created: lokahi" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="New wiki created: lokahi" X-Account-Key: account9 Received: (qmail 28480 invoked from network); 9 May 2007 21:32:07 -0000 Received: from unknown (HELO pre-smtp15-01.prod.mesa1.secureserver.net) ([161.129.204.104]) (envelope-sender <[email protected]>) by smtp10-02.prod.mesa1.secureserver.net (qmail-ldap-1.03) with SMTP for <[email protected]>; 9 May 2007 21:32:07 -0000 Received: (qmail 16905 invoked from network); 9 May 2007 21:32:07 -0000 Received: from unknown (HELO mail.apache.org) ([161.129.204.104]) (envelope-sender <[email protected]>) by pre-smtp15-01.prod.mesa1.secureserver.net (qmail-ldap-1.03) with SMTP for <[email protected]>; 9 May 2007 21:32:07 -0000 Received: (qmail 35489 invoked by uid 500); 9 May 2007 21:32:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: "Apache Infrastructure" <infrastructure.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 35460 invoked by uid 99); 9 May 2007 21:32:11 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2007 14:32:11 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2007 14:32:04 -0700 Received: from localhost.localdomain (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id 1272859F71 for <[email protected]>; Wed, 9 May 2007 21:31:44 +0000 (GMT) To: [email protected] Subject: New wiki created: lokahi Message-Id: <[email protected]> Date: Wed, 9 May 2007 21:31:44 +0000 (GMT) From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org X-Nonspam: None A new wiki has just been created by root. Wiki name: lokahi Wiki title: Apache Lokahi Commits: [email protected] PMC notify: [email protected] --------------000303090100060404060608-- From [email protected] Wed May 09 22:34:31 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59433 invoked from network); 9 May 2007 22:34:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 May 2007 22:34:30 -0000 Received: (qmail 42163 invoked by uid 500); 9 May 2007 22:34:37 -0000 Delivered-To: [email protected] Received: (qmail 42147 invoked by uid 500); 9 May 2007 22:34:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lokahi-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 42138 invoked by uid 99); 9 May 2007 22:34:37 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2007 15:34:37 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wr-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2007 15:34:29 -0700 Received: by wr-out-0506.google.com with SMTP id i31so416315wra for <[email protected]>; Wed, 09 May 2007 15:34:07 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=KgZ/kZEOukEyFJ0EIJHY9+b8VeEFVpb95M8NurG1KXZUB5gAct5G3WK3WwV8B9as5T4JPn5xx068gY3RAvFRufKZr7MvVEObxWzW8x54NMDUh+jOKZzbZOFqbiq8kjX3q7iS76r7ryRwsUyW8XXV2QFOiTSr+x3PbHc4hcay5bU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=NtpsU952ikX8bDrSPsmhhZtbptdnWY1BrwHZOVpzTA/Www5D/3MfYxhaOwyt2pdJfyqF1EkWta7ZGX75rNWlWyCffa/lVLZkWWHJ0V4Ak+Zy6Qvm9+z6iA7l7WguVOrkgsGSMn/zPrb8UPvi5yvo5IQCA42E9ZP/1EwNk7M+2ks= Received: by 161.129.204.104 with SMTP id c1mr286367wag.1178750043978; Wed, 09 May 2007 15:34:03 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 9 May 2007 15:34:03 -0700 (PDT) Message-ID: <[email protected]> Date: Wed, 9 May 2007 18:34:03 -0400 From: "Steve Toback" <[email protected]> Sender: [email protected] To: [email protected] Subject: Re: [Fwd: New wiki created: lokahi] In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> X-Google-Sender-Auth: 5d0739e66e74bd0c X-Virus-Checked: Checked by ClamAV on apache.org Sweet, Thanks. On 5/9/07, William A. Rowe, Jr. <[email protected]> wrote: > Done. > > > ---------- Forwarded message ---------- > From: [email protected] > To: [email protected] > Date: Wed, 9 May 2007 21:31:44 +0000 (GMT) > Subject: New wiki created: lokahi > A new wiki has just been created by root. > > Wiki name: lokahi > Wiki title: Apache Lokahi > Commits: [email protected] > PMC notify: [email protected] > > > > >
From [email protected] Sun Sep 02 16:01:11 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87044 invoked from network); 2 Sep 2007 16:01:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Sep 2007 16:01:10 -0000 Received: (qmail 45907 invoked by uid 500); 2 Sep 2007 16:01:05 -0000 Delivered-To: [email protected] Received: (qmail 45709 invoked by uid 500); 2 Sep 2007 16:01:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <nutch-agent.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 45698 invoked by uid 99); 2 Sep 2007 16:01:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Sep 2007 09:01:05 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wa-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Sep 2007 16:00:59 +0000 Received: by wa-out-1112.google.com with SMTP id j40so1736048wah for <[email protected]>; Sun, 02 Sep 2007 09:00:39 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=sFU8JJSoO71+RDSMZFwa73pfXhoW3LX4kgDcolTA72TzEsG4Ew7A729X5UIcPc83ky7H3db74DOFyyNyKgYMQiF/k349vZ+bxwehIZURRyLmjhn41gi/n+Rmx8vvoOrMXQiokNZXcm2dxR8OE8kFkl92w9w5tc6idGkp0bsou0A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=mu/oO6aLfLLXqaaTLJbYCRjavX1kJrgSfbRh7SSi7L7SejB5ofxMAaepYF4mjtDIdlodXc/6JuTzLflrPmuF8nqu8hcM0LsuuprVRh4Vrydtd+U8c1kWd+LS0JRePxjta5DosiUy1PXcQ94qgF3FAtwvvI5uFBZvUDnDO/eSg9s= Received: by 161.129.204.104 with SMTP id a1mr2410950wac.1188748838123; Sun, 02 Sep 2007 09:00:38 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sun, 2 Sep 2007 09:00:38 -0700 (PDT) Message-ID: <[email protected]> Date: Sun, 2 Sep 2007 19:00:38 +0300 From: "eyal edri" <[email protected]> To: [email protected] Subject: downloading zip/exe files MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1706_4453773.1188748838063" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_1706_4453773.1188748838063 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I am trying to use the nutch fetcher for d/l EXE/ZIP files from web pages. i've removed the suffixes from the regex-urlfilter & automation-urlfilter(files identical): regex-urlfilter.txt: -------------------------------------------------------------------------------------------------------- -\.(gif|GIF|jpg|JPG|png|PNG|ico|ICO|css|sit|eps|wmf|ppt|mpg|xls|gz|rpm|tgz|mov|MOV|jpeg|JPEG|bmp|BMP|iso|ISO|bin|BIN)$ # skip URLs containing certain characters as probable queries, etc. -[?*!@=] # skip URLs with slash-delimited segment that repeats 3+ times, to break loops -.*(/.+?)/.*?\1/.*?\1/ # accept anything else +. ------------------------------------------------------------------------------------------------------------------ When trying to download EXE: http://www.xtodvd.com/apodvdcopy.exe the fetch fails: found segment crawl/segments/20070902084928 Fetching now the urls.. Fetcher: starting Fetcher: segment: crawl/segments/20070902084928 Fetcher: threads: 1000 fetching http://www.xtodvd.com/apodvdcopy.exe Error parsing: http://createdvd.net/apodvdcopy.exe: failed(2,200): org.apache.nutch.parse.ParseException: parser not found for contentType=application/x-dosexec url=http://createdvd.net/apodvdcopy.exe Fetcher: done when trying to fetch Zip file, its works, but how can i tell him to save the zip to a folder in a directory on the file system, do i need to write a plugin? thanks! Eyal Edri ------=_Part_1706_4453773.1188748838063-- From [email protected] Mon Sep 03 05:52:06 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83250 invoked from network); 3 Sep 2007 05:52:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Sep 2007 05:52:06 -0000 Received: (qmail 55962 invoked by uid 500); 3 Sep 2007 05:52:00 -0000 Delivered-To: [email protected] Received: (qmail 55940 invoked by uid 500); 3 Sep 2007 05:52:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <nutch-agent.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55922 invoked by uid 99); 3 Sep 2007 05:52:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Sep 2007 22:52:00 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wa-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2007 05:51:57 +0000 Received: by wa-out-1112.google.com with SMTP id j40so1923950wah for <[email protected]>; Sun, 02 Sep 2007 22:51:37 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=dIUDc74NraYwOMqPEKMcisYXDfJULinPKotGzxJCwLBV9nvj/2GJMMZaULNRVDBbbC0EyUrqD1QScu0QNzS3WByVz8GhUqI83kWbHofoI4/16A83fw0tLuIqGm/umzIHVPPhBOokb5cqrb7aGqclcTUlA7hj/Y7DbMcZLpAz8Bg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=iKwroIh7wRLYjvXUBbEj8LlssZ4RtIsj7TaE/Ma3N2Az7Bve6go3l6jrjfsJN85DPJsu1+94TZOZ+vRnNM8rhYHgIYpvaFcVtXL6pMaI47UBljlm4b7eKBdgf76eobeJtn/7stiMszWfBDDBJR3+GtH5xL0/Oh6Jkv50vDGa9L0= Received: by 161.129.204.104 with SMTP id h1mr2841667wak.1188798697219; Sun, 02 Sep 2007 22:51:37 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sun, 2 Sep 2007 22:51:37 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 3 Sep 2007 08:51:37 +0300 From: "eyal edri" <[email protected]> To: [email protected] Subject: Fetch2 vs Fetch MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4507_11051475.1188798697179" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_4507_11051475.1188798697179 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, Can anyone explain what is different in fetch2 vs fetch? I've run fetch2, and i see it is restricted by the number of threads given to him (in practise, when i run it with 1000 threads, it's much slower than fetch). I'm trying to understand the logic in using it instead of fetch. thanks, -- Eyal Edri ------=_Part_4507_11051475.1188798697179-- From [email protected] Mon Sep 03 09:14:30 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48325 invoked from network); 3 Sep 2007 09:14:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Sep 2007 09:14:29 -0000 Received: (qmail 30588 invoked by uid 500); 3 Sep 2007 09:14:24 -0000 Delivered-To: [email protected] Received: (qmail 30569 invoked by uid 500); 3 Sep 2007 09:14:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <nutch-agent.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30558 invoked by uid 99); 3 Sep 2007 09:14:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2007 02:14:24 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nz-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2007 09:14:20 +0000 Received: by nz-out-0506.google.com with SMTP id i28so677422nzi for <[email protected]>; Mon, 03 Sep 2007 02:13:59 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=LlS4zNORhgIMg2anycfgCL/8vomBsV/sJAhTmek9pADbRuGCc1OBYhOT6czy18911uDUIcTkTraINVSs1yknaSmDys5uJvxhdTbV7u2xhJO8pSQZF07C+Td969VyGcywQNmyDOZJnaiO0gz1f0wBF7d4HnwyHDo8+J0X+W16s6U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=iISA6ExPmN+Pjig1kP8DxOiS6j/4LL+R52OBxeHnNd7yYFWhSPFKTfMcuItemLIOVf18hVDzW+h67pbi3ixLNHCJueMKOj0e08ZIiKkT5HeTrlwNH7Ne7O4b/IVS3tL2iztrpDnHnTeEpcgmWtfovLTevqSOD7AVtwR3dXii3Eg= Received: by 161.129.204.104 with SMTP id n6mr34308wam.1188810838614; Mon, 03 Sep 2007 02:13:58 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 3 Sep 2007 02:13:55 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 3 Sep 2007 12:13:55 +0300 From: "eyal edri" <[email protected]> To: [email protected] Subject: Fetching single / choosen URL's MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5339_6161569.1188810835543" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_5339_6161569.1188810835543 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi everyone, Anyone knows if there is an option to fetch a single or a group of wanted urls using the fetcher, but (!!) not fetching previous links extracted from urls which have already been fetched (meaning depth 1+x). for e.g. if i did a inject-->generate-->fetch-->update loop once now the crawldb is updated with depth 1 links from the root url list. i now want to inject a new url list for fetching, but want to exclude the current links from fetching. -- Eyal Edri ------=_Part_5339_6161569.1188810835543-- From [email protected] Mon Sep 03 10:14:07 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64910 invoked from network); 3 Sep 2007 10:14:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Sep 2007 10:14:07 -0000 Received: (qmail 88848 invoked by uid 500); 3 Sep 2007 10:14:01 -0000 Delivered-To: [email protected] Received: (qmail 88816 invoked by uid 500); 3 Sep 2007 10:14:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <nutch-agent.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 88805 invoked by uid 99); 3 Sep 2007 10:14:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2007 03:14:01 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nf-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2007 10:13:57 +0000 Received: by nf-out-0910.google.com with SMTP id g16so1210195nfd for <[email protected]>; Mon, 03 Sep 2007 03:13:36 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:reply-to:from:to:subject:date:x-mailer:thread-index:in-reply-to:x-mimeole:message-id; b=V8utzR59xftvsoK9AkQSjKBQQzHCf+zVE7gjI/fWE/i4lJJtAxwbTWAV5E8gUdtPc1BRF55dIqQVo4cChr55taEudj3UXCigLPpGCBPdAQtRTh+YT2Y935ear2UY5+VTfLd8TZK6bCovXKmcWhMCj84GsinjceqogldZy4I+akg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:reply-to:from:to:subject:date:x-mailer:thread-index:in-reply-to:x-mimeole:message-id; b=Q5143kVDzl5K5DL3HOrQH5DOY3SGMJgYcdyNRjEsYCNamS+O9gO6+St8/zBcysnhfV03WM1ks/XVY7S3UMwMavNCXLSxSMXruUE5UMbn1HxxTXLXFSC+g/tBVSKIv7Tttx8XitQfPelIsWbnmGKRWNueukzVvsoQGtu59mimR9I= Received: by 161.129.204.104 with SMTP id h7mr3086543hue.1188814415887; Mon, 03 Sep 2007 03:13:35 -0700 (PDT) Received: from gallap ( [161.129.204.104]) by mx.google.com with ESMTPS id g30sm5408499ugd.2161.129.204.104.13.31 (version=SSLv3 cipher=RC4-MD5); Mon, 03 Sep 2007 03:13:33 -0700 (PDT) Reply-To: <[email protected]> From: "Gal Nitzan" <[email protected]> To: <[email protected]> Subject: RE: Fetching single / choosen URL's Date: Mon, 3 Sep 2007 13:13:21 +0300 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcfuCtX0Ub4sr6T+QdOrgetK12ErVAACAWng In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 Message-ID: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Eyal, You are asking questions on the wrong list. This list is meant to be used by administrators asking about the nutch crawler. Try http://lucene.apache.org/nutch/mailing_lists.html#Agents Gal. > -----Original Message----- > From: eyal edri [mailto:[email protected]] > Sent: Monday, September 03, 2007 12:14 PM > To: [email protected] > Subject: Fetching single / choosen URL's > > Hi everyone, > > Anyone knows if there is an option to fetch a single or a group of wanted > urls using the fetcher, but (!!) not fetching previous links extracted > from > urls which have already been fetched (meaning depth 1+x). > > for e.g. > > if i did a inject-->generate-->fetch-->update loop once > now the crawldb is updated with depth 1 links from the root url list. > > i now want to inject a new url list for fetching, but want to exclude the > current links from fetching. > > > > -- > Eyal Edri
From [email protected] Sat Sep 01 07:54:09 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61315 invoked by uid 500); 1 Sep 2001 07:54:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 61294 invoked from network); 1 Sep 2001 07:54:08 -0000 Message-Id: <[email protected]> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: [email protected] Subject: Re: Possible bug with Perl5Matcher and PatternMatcherInput In-reply-to: Your message of "Fri, 31 Aug 2001 15:06:31 MDT." <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 01 Sep 2001 03:54:01 -0400 From: "Daniel F. Savarese" <[email protected]> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N >> once the Perl 5.6 compatibility effort begins in earnest and we >> enter development mode again. > >When do you hope to begin on this? Soon? :) Had intended to be in full swing by now. Shooting to get the ball rolling in mid-September. daniel From [email protected] Sat Sep 01 08:13:00 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65620 invoked by uid 500); 1 Sep 2001 08:13:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 65600 invoked from network); 1 Sep 2001 08:12:59 -0000 Message-Id: <[email protected]> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: [email protected] Subject: Re: Possible bug with Perl5Matcher and PatternMatcherInput In-reply-to: Your message of "Fri, 31 Aug 2001 15:56:18 PDT." <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 01 Sep 2001 04:12:53 -0400 From: "Daniel F. Savarese" <[email protected]> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N In message <[email protected]>, Jef f McNiel writes: >I see now that what is happening: when contains() does not match, >it sets the currentOffset of the PatternMatcherInput to "past the end" > >I suppose that this is the correct behavior as designed - just my >misunderstanding :-) (suggestion for the docs - nothing is said about >changing the offset in the case of match failure) > >I guess to get the behavior I want, I'll have to save the currentOffset >and reset it on match failure. Yes, that's the intended way to do it. However, this point has been brought up before and it really does appear that it is more useful not to advance the offset. It would also be more in keeping with reproducing the behavior of \G and /g which PatternMatcherInput is intended to duplicate. I just checked 'man perlop' and ran a little test and contrary to my memory, \G does not change on failed matches. At the time, it seemed more consistent and less surprising for contains(PatternMatcherInput,...) to always advance to where the last match _attempt_ left off. However, the primary reason an iterator interface was not chosen was because of its inflexibility, but if contains() fastforwards you to the end, although not as useless as an iterator, it makes life a bit more complicated because you have to reset the offsets yourself every single time. I'm inclined to make the change because it makes lexical analysis and tokenizer construction easier. I remember having an awkward time writing a tokenizer because of this a few months ago. The change should not break most code that rewinds the offsets and will be advertised in both the javadocs and the CHANGES file. Objections? daniel From [email protected] Sun Sep 02 16:46:33 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70190 invoked by uid 500); 2 Sep 2001 16:46:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 70181 invoked from network); 2 Sep 2001 16:46:32 -0000 Date: 2 Sep 2001 16:46:33 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Cc: Subject: [DO NOT REPLY: Bug 3374] New: ArrayIndexOutOfBoundsException X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3374 *** shadow/3374 Sun Sep 2 09:46:33 2001 --- shadow/3374.tmp.12658 Sun Sep 2 09:46:33 2001 *************** *** 0 **** --- 1,37 ---- + +============================================================================+ + | ArrayIndexOutOfBoundsException | + +----------------------------------------------------------------------------+ + | Bug #: 3374 Product: ORO | + | Status: NEW Version: 2.0.4 | + | Resolution: Platform: Sun | + | Severity: Blocker OS/Version: Solaris | + | Priority: Other Component: Main | + +----------------------------------------------------------------------------+ + | Assigned To: [email protected] | + | Reported By: [email protected] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + The Perl5Matcher.matches method is throwing an ArrayIndexOutOfBoundsException. + Here's the relative code: + + Foo.class - + + private static PatternCompiler patternCompiler = new Perl5Compiler(); + Pattern regexPattern = patternCompiler.compile("[A-Za-z]*"); + + Bar.class - + + private static PatterMatcher patternMatcher = new Perl5Matcher(); + boolean match = patternMatcher.matches("Bugs Bunny", regexPattern); + + Note, my application is multi-threaded and, as such, there are multiple threads + calling the Perl5Matcher.matches method at the same time. It appears that the + exception is thread related because a) I didn't see the exception on my windows + machine, b) the exception is random and c) I haven't seen the exception since I + changed the code such that the patternMatcher is no longer static. So, is the + method thread safe? It doesn't appear to be. + + Tom From [email protected] Sun Sep 02 20:12:59 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 32277 invoked by uid 500); 2 Sep 2001 20:12:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 32268 invoked from network); 2 Sep 2001 20:12:59 -0000 Date: 2 Sep 2001 20:13:02 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Cc: Subject: [DO NOT REPLY: Bug 3374] ArrayIndexOutOfBoundsException X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3374 *** shadow/3374 Sun Sep 2 09:46:33 2001 --- shadow/3374.tmp.13193 Sun Sep 2 13:13:02 2001 *************** *** 2,9 **** | ArrayIndexOutOfBoundsException | +----------------------------------------------------------------------------+ | Bug #: 3374 Product: ORO | ! | Status: NEW Version: 2.0.4 | ! | Resolution: Platform: Sun | | Severity: Blocker OS/Version: Solaris | | Priority: Other Component: Main | +----------------------------------------------------------------------------+ --- 2,9 ---- | ArrayIndexOutOfBoundsException | +----------------------------------------------------------------------------+ | Bug #: 3374 Product: ORO | ! | Status: RESOLVED Version: 2.0.4 | ! | Resolution: INVALID Platform: Sun | | Severity: Blocker OS/Version: Solaris | | Priority: Other Component: Main | +----------------------------------------------------------------------------+ *************** *** 34,37 **** changed the code such that the patternMatcher is no longer static. So, is the method thread safe? It doesn't appear to be. ! Tom --- 34,45 ---- changed the code such that the patternMatcher is no longer static. So, is the method thread safe? It doesn't appear to be. ! Tom ! ! ------- Additional Comments From [email protected] 2001-09-02 13:13 ------- ! This is not a bug. Patterns must be compiled with READ_ONLY_MASK if they ! are to be shared between threads. Furthermore, one Perl5Matcher instance ! should be used per thread. This used to be made clear in the OROMatcher ! user's guide. If you don't want to optimize performance by avoiding the ! overhead of synchronization, use Perl5Util instead. ! From [email protected] Sun Sep 02 20:13:55 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 32515 invoked by uid 500); 2 Sep 2001 20:13:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 32506 invoked from network); 2 Sep 2001 20:13:54 -0000 Date: 2 Sep 2001 20:13:57 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Cc: Subject: [DO NOT REPLY: Bug 3374] ArrayIndexOutOfBoundsException X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3374 *** shadow/3374 Sun Sep 2 13:13:02 2001 --- shadow/3374.tmp.13204 Sun Sep 2 13:13:57 2001 *************** *** 2,8 **** | ArrayIndexOutOfBoundsException | +----------------------------------------------------------------------------+ | Bug #: 3374 Product: ORO | ! | Status: RESOLVED Version: 2.0.4 | | Resolution: INVALID Platform: Sun | | Severity: Blocker OS/Version: Solaris | | Priority: Other Component: Main | --- 2,8 ---- | ArrayIndexOutOfBoundsException | +----------------------------------------------------------------------------+ | Bug #: 3374 Product: ORO | ! | Status: CLOSED Version: 2.0.4 | | Resolution: INVALID Platform: Sun | | Severity: Blocker OS/Version: Solaris | | Priority: Other Component: Main | *************** *** 43,45 **** --- 43,49 ---- user's guide. If you don't want to optimize performance by avoiding the overhead of synchronization, use Perl5Util instead. + + + ------- Additional Comments From [email protected] 2001-09-02 13:13 ------- + Closing bogus bug. From [email protected] Tue Sep 04 17:25:21 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49433 invoked by uid 500); 4 Sep 2001 17:25:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 49411 invoked from network); 4 Sep 2001 17:25:19 -0000 Message-ID: <[email protected]> From: Jeff McNiel <[email protected]> To: "'[email protected]'" <[email protected]> Subject: RE: Possible bug with Perl5Matcher and PatternMatcherInput Date: Tue, 4 Sep 2001 10:23:31 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I certainly wouldn't object since that't the behavior I wanted, but I really don't count being a first time user and all :-) Cheers, Jeff > -----Original Message----- > From: Daniel F. Savarese [mailto:[email protected]] > Sent: Saturday, September 01, 2001 1:13 AM > To: [email protected] > Subject: Re: Possible bug with Perl5Matcher and PatternMatcherInput > > > > In message > <[email protected]>, Jef > f McNiel writes: > >I see now that what is happening: when contains() does not match, > >it sets the currentOffset of the PatternMatcherInput to > "past the end" > > > >I suppose that this is the correct behavior as designed - just my > >misunderstanding :-) (suggestion for the docs - nothing is > said about > >changing the offset in the case of match failure) > > > >I guess to get the behavior I want, I'll have to save the > currentOffset > >and reset it on match failure. > > Yes, that's the intended way to do it. However, this point has been > brought up before and it really does appear that it is more useful not > to advance the offset. It would also be more in keeping with > reproducing > the behavior of \G and /g which PatternMatcherInput is intended to > duplicate. I just checked 'man perlop' and ran a little test > and contrary > to my memory, \G does not change on failed matches. At the time, it > seemed more consistent and less surprising for > contains(PatternMatcherInput,...) to always advance to where > the last match > _attempt_ left off. However, the primary reason an iterator > interface was > not chosen was because of its inflexibility, but if > contains() fastforwards > you to the end, although not as useless as an iterator, it makes life > a bit more complicated because you have to reset the offsets yourself > every single time. > > I'm inclined to make the change because it makes lexical analysis and > tokenizer construction easier. I remember having an awkward > time writing > a tokenizer because of this a few months ago. The change > should not break > most code that rewinds the offsets and will be advertised in both the > javadocs and the CHANGES file. Objections? > > daniel > > From [email protected] Wed Sep 05 02:07:16 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29824 invoked by uid 500); 5 Sep 2001 02:07:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 75838 invoked from network); 5 Sep 2001 01:05:26 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: Bug report for ORO [2001/09/04] Date: Tue Sep 4 18:05:31 PDT 2001 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical MAJ=Major | | | | MIN=Minor NOR=Normal EHN=Ehnancement | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | +-----+---+---+----------+--------------------------------------------------+ | Total 0 bugs | +---------------------------------------------------------------------------+ From [email protected] Sun Sep 09 17:00:38 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97583 invoked by uid 500); 9 Sep 2001 17:00:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 97531 invoked from network); 9 Sep 2001 17:00:35 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: Bug report for ORO [2001/09/09] Date: Sun, 09 Sep 2001 17:00:38 -0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical MAJ=Major | | | | MIN=Minor NOR=Normal EHN=Ehnancement | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | +-----+---+---+----------+--------------------------------------------------+ | Total 0 bugs | +---------------------------------------------------------------------------+ From [email protected] Wed Sep 12 07:28:20 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18307 invoked by uid 500); 12 Sep 2001 07:28:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 18298 invoked from network); 12 Sep 2001 07:28:19 -0000 Date: 12 Sep 2001 07:28:30 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Cc: Subject: [DO NOT REPLY: Bug 3561] New: Stack overflow with certain patterns. X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3561 *** shadow/3561 Wed Sep 12 00:28:30 2001 --- shadow/3561.tmp.10316 Wed Sep 12 00:28:30 2001 *************** *** 0 **** --- 1,17 ---- + +============================================================================+ + | Stack overflow with certain patterns. | + +----------------------------------------------------------------------------+ + | Bug #: 3561 Product: ORO | + | Status: NEW Version: 2.0.4 | + | Resolution: Platform: PC | + | Severity: Major OS/Version: Linux | + | Priority: Other Component: Main | + +----------------------------------------------------------------------------+ + | Assigned To: [email protected] | + | Reported By: [email protected] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + The following program demonstrates how ORO runs into an endless recursion and thus a stack overflow:--- SNIP ---import org.apache.oro.text.*;import org.apache.oro.text.regex.*;class OROTest { public static void main(String [] args) throws MalformedPatternException { String pat = "'([^'\\\\]+|\\\\?)+'"; PatternCompiler compiler = new Perl5Compiler(); Pattern pattern = compiler.compile(pat); PatternMatcherInput input = new PatternMatcherInput("don't do that"); PatternMatcher matcher = new Perl5Matcher(); matcher.contains(input, pattern); }}--- SNIP ---Best regards, Robert Lichtenberger From [email protected] Wed Sep 12 07:38:16 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25381 invoked by uid 500); 12 Sep 2001 07:38:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 25371 invoked from network); 12 Sep 2001 07:38:15 -0000 Date: 12 Sep 2001 07:38:25 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Cc: Subject: [DO NOT REPLY: Bug 3561] Stack overflow with certain patterns. X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3561 *** shadow/3561 Wed Sep 12 00:28:30 2001 --- shadow/3561.tmp.11132 Wed Sep 12 00:38:25 2001 *************** *** 14,17 **** | URL: | +============================================================================+ | DESCRIPTION | ! The following program demonstrates how ORO runs into an endless recursion and thus a stack overflow:--- SNIP ---import org.apache.oro.text.*;import org.apache.oro.text.regex.*;class OROTest { public static void main(String [] args) throws MalformedPatternException { String pat = "'([^'\\\\]+|\\\\?)+'"; PatternCompiler compiler = new Perl5Compiler(); Pattern pattern = compiler.compile(pat); PatternMatcherInput input = new PatternMatcherInput("don't do that"); PatternMatcher matcher = new Perl5Matcher(); matcher.contains(input, pattern); }}--- SNIP ---Best regards, Robert Lichtenberger --- 14,21 ---- | URL: | +============================================================================+ | DESCRIPTION | ! The following program demonstrates how ORO runs into an endless recursion and thus a stack overflow:--- SNIP ---import org.apache.oro.text.*;import org.apache.oro.text.regex.*;class OROTest { public static void main(String [] args) throws MalformedPatternException { String pat = "'([^'\\\\]+|\\\\?)+'"; PatternCompiler compiler = new Perl5Compiler(); Pattern pattern = compiler.compile(pat); PatternMatcherInput input = new PatternMatcherInput("don't do that"); PatternMatcher matcher = new Perl5Matcher(); matcher.contains(input, pattern); }}--- SNIP ---Best regards, Robert Lichtenberger ! ! ------- Additional Comments From [email protected] 2001-09-12 00:38 ------- ! Created an attachment (id=527) ! Also works with the pattern inside this .java - file. From [email protected] Wed Sep 12 13:55:05 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57621 invoked by uid 500); 12 Sep 2001 13:55:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 57610 invoked from network); 12 Sep 2001 13:55:04 -0000 Date: 12 Sep 2001 13:55:04 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Cc: Subject: [DO NOT REPLY: Bug 3561] Stack overflow with certain patterns. X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3561 *** shadow/3561 Wed Sep 12 00:38:25 2001 --- shadow/3561.tmp.16941 Wed Sep 12 06:55:04 2001 *************** *** 2,10 **** | Stack overflow with certain patterns. | +----------------------------------------------------------------------------+ | Bug #: 3561 Product: ORO | ! | Status: NEW Version: 2.0.4 | ! | Resolution: Platform: PC | ! | Severity: Major OS/Version: Linux | | Priority: Other Component: Main | +----------------------------------------------------------------------------+ | Assigned To: [email protected] | --- 2,10 ---- | Stack overflow with certain patterns. | +----------------------------------------------------------------------------+ | Bug #: 3561 Product: ORO | ! | Status: RESOLVED Version: 2.0.4 | ! | Resolution: LATER Platform: PC | ! | Severity: Normal OS/Version: Linux | | Priority: Other Component: Main | +----------------------------------------------------------------------------+ | Assigned To: [email protected] | *************** *** 19,21 **** --- 19,45 ---- ------- Additional Comments From [email protected] 2001-09-12 00:38 ------- Created an attachment (id=527) Also works with the pattern inside this .java - file. + + + ------- Additional Comments From [email protected] 2001-09-12 06:55 ------- + The problem is really in the pattern, not so much in the matcher. You are + using patterns that match the empty string, which will match an infinite number + of times when used in conjunction with a repetition operator. However, it + is undesirable to repeatedly match the empty string as the result of the + same null matching construct, so we'll try to do + something about this in a later version as we push toward Perl 5.6 + compatibility. The solution for now is to be more careful about writing + patterns (how you write a Perl pattern can have an enormous impact on its + matching efficiency in both Perl and jakarta-oro). If you + really don't want to think about how the NFA represented by a Perl regular + expression is interpreted, then put the empty string matching constructs + as far to the left as possible. In other words, write + "'(\\\\?|[^'\\\\]+)+'" + instead of + "'([^'\\\\]+|\\\\?)+'" + + However, these two patterns do have slightly different meanings and you may + have to reduce the expression to a more efficient equivalent one (see + discussion of "first" and "forward" and NFA reduction in Aho, Sethi, and + Ullman's "Compilers: Principles, Techniques, and Tools" or even "Mastering + Regular Expressions" by Jeff Friedl) From [email protected] Wed Sep 12 14:47:47 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22058 invoked by uid 500); 12 Sep 2001 14:47:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 22039 invoked from network); 12 Sep 2001 14:47:46 -0000 Date: 12 Sep 2001 14:47:48 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Cc: Subject: [DO NOT REPLY: Bug 3561] Stack overflow with certain patterns. X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3561 *** shadow/3561 Wed Sep 12 06:55:04 2001 --- shadow/3561.tmp.17880 Wed Sep 12 07:47:48 2001 *************** *** 43,45 **** --- 43,51 ---- discussion of "first" and "forward" and NFA reduction in Aho, Sethi, and Ullman's "Compilers: Principles, Techniques, and Tools" or even "Mastering Regular Expressions" by Jeff Friedl) + + + ------- Additional Comments From [email protected] 2001-09-12 07:47 ------- + After further investigation, I have confirmed that Perl5.003_07 exhibits the + exact same behavior. Perl 5.6 does not. Therefore, we will definitely + change the behavior as part of our Perl 5.6 compatibility initiative. From [email protected] Wed Sep 19 21:26:26 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69078 invoked by uid 500); 19 Sep 2001 21:26:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 69069 invoked from network); 19 Sep 2001 21:26:25 -0000 Date: 19 Sep 2001 21:26:28 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Cc: Subject: DO NOT REPLY [Bug 3730] New: - Perl5Matcher sometimes confuses the begin/end offsets on similar sub patterns in a regular expression X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3730>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3730 Perl5Matcher sometimes confuses the begin/end offsets on similar sub patterns in a regular expression Summary: Perl5Matcher sometimes confuses the begin/end offsets on similar sub patterns in a regular expression Product: ORO Version: 2.0 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Main AssignedTo: [email protected] ReportedBy: [email protected] here is the test program: import com.oroinc.text.regex.*; import java.io.*; public class bug_report { public static void main(String[] args) throws Exception { String regex = "\010[(]GAME +GID:([^;]+); +GDATE:([^;]*); +GSTART:([^;] *); +GSITE:([^;]*); +GNEUTRAL:([^;]*); +GSTAT:([^;]*); +GPERIOD:([^;]*);[^\r\n]* [\r\n]+" +"(" +"(\010[(]TEAM +TNAME:([^;]*);( +[^:]+:[^;]*;){3} +THOME: *([Yy][Ee][Ss]); +TSCORE:([^;]*); +TSTAT:([^;]*)[^\r\n]*[\r\n]+)" +"|" +"(\010[(]TEAM +TNAME:([^;]*);( +[^:]+:[^;]*;){3} +THOME: *([Nn][Oo]); +TSCORE:([^;]*); +TSTAT:([^;]*)[^\r\n]*[\r\n]+)" +"){2}"; String input = "(GAME GID:13805; GDATE:11/01/2000; GSTART:19:30; GSITE:Charlotte Coliseum; GNEUTRAL:NO; GSTAT:Final; GPERIOD:4; \n" +"(TEAM TNAME:Hornets; TLOCALE:Charlotte; TCONF:Eastern; TDIV:Central; THOME:YES; TSCORE:77; TSTAT:LOST; TID:9;)\n" +"(TEAM TNAME:Wizards; TLOCALE:Washington; TCONF:Eastern; TDIV:Atlantic; THOME:NO; TSCORE:95; TSTAT:WON; TID:7;))\n"; String input2 = "(GAME GID:13789; GDATE:10/31/2000; GSTART:19:30; GSITE:TD Waterhouse Centre; GNEUTRAL:NO; GSTAT:Final; GPERIOD:4; \n" +"(TEAM TNAME:Magic; TLOCALE:Orlando; TCONF:Eastern; TDIV:Atlantic; THOME:YES; TSCORE:97; TSTAT:WON; TID:5;)\n" +"(TEAM TNAME:Wizards; TLOCALE:Washington; TCONF:Eastern; TDIV:Atlantic; THOME:NO; TSCORE:86; TSTAT:LOST; TID:7;))\n"; Perl5Compiler p5compiler = new Perl5Compiler(); Perl5Pattern p5pattern = null; Perl5Matcher p5matcher = new Perl5Matcher(); PatternMatcherInput p5input = new PatternMatcherInput(input2); try { p5pattern = (Perl5Pattern) p5compiler.compile(regex, Perl5Compiler.SINGLELINE_MASK | Perl5Compiler.READ_ONLY_MASK ); } catch(MalformedPatternException e) { System.out.println("Error: Bad Perl5 pattern."); System.out.println(e.getMessage()); } boolean result = p5matcher.matchesPrefix(p5input, p5pattern); if( result ) { MatchResult mr = p5matcher.getMatch(); int groups = mr.groups(); int start = -1; int end = -1; String matchStr = null; for( int x = 0; x < groups; x++ ) { start = mr.beginOffset(x); end = mr.endOffset(x); //matchStr = mr.group(x); //System.out.print ("Pos: "+x+"\tStart: "+start+"\tEnd: "+end+"\tMatch: "+matchStr); System.out.print("Pos: "+x+"\tStart: "+start+"\tEnd: "+end); if( start > end ) System.out.println( " -- ERROR" ); else System.out.println(); } } else { System.out.println("No Match"); } System.out.println("Program terminating"); } } and here is some output: Pos: 0 Start: 0 End: 338 Pos: 1 Start: 11 End: 16 Pos: 2 Start: 24 End: 34 Pos: 3 Start: 43 End: 48 Pos: 4 Start: 56 End: 76 Pos: 5 Start: 87 End: 89 Pos: 6 Start: 97 End: 102 Pos: 7 Start: 112 End: 113 Pos: 8 Start: 224 End: 338 Pos: 9 Start: 224 End: 224 Pos: 10 Start: 237 End: 237 Pos: 11 Start: 280 End: 295 Pos: 12 Start: 302 End: 192 -- ERROR Pos: 13 Start: 201 End: 203 Pos: 14 Start: 211 End: 214 Pos: 15 Start: 224 End: 338 Pos: 16 Start: 237 End: 244 Pos: 17 Start: 280 End: 295 Pos: 18 Start: 302 End: 304 Pos: 19 Start: 313 End: 315 Pos: 20 Start: 323 End: 327 Program terminating if you'll notice, Pos 12 and Pos 18 share the same Start value. In the regex they have the same pattern. Granted, there are many similar sub patterns as a matter of fact lines 2 and 3 of the pattern are almost exatly the same except for [Yy][Ee][Ss] and [Nn][Oo]... From [email protected] Wed Sep 19 22:07:35 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80546 invoked by uid 500); 19 Sep 2001 22:07:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 80525 invoked from network); 19 Sep 2001 22:07:34 -0000 Date: 19 Sep 2001 22:07:35 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Cc: Subject: DO NOT REPLY [Bug 3730] - Perl5Matcher sometimes confuses the begin/end offsets on similar sub patterns in a regular expression X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3730>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3730 Perl5Matcher sometimes confuses the begin/end offsets on similar sub patterns in a regular expression [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Version|2.0 |2.0.4 ------- Additional Comments From [email protected] 2001-09-19 15:07 ------- same problem for 2.0.4 version From [email protected] Wed Sep 19 22:36:57 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12593 invoked by uid 500); 19 Sep 2001 22:36:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 12584 invoked from network); 19 Sep 2001 22:36:56 -0000 Date: 19 Sep 2001 22:36:58 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Cc: Subject: DO NOT REPLY [Bug 3730] - Perl5Matcher sometimes confuses the begin/end offsets on similar sub patterns in a regular expression X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3730>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3730 Perl5Matcher sometimes confuses the begin/end offsets on similar sub patterns in a regular expression [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |LATER ------- Additional Comments From [email protected] 2001-09-19 15:36 ------- This behavior is consistent with Perl 5.003_07 and is not a bug. The contents of a group is not guaranteed to be the last succesful match when contained within an alternation. In other words, group 18 is the valid match while group 12 did not match anything on its last attempt. In Perl5MatchResult, groups that failed to match on their last attempt as part of the NFA are indicated when the start offset is greater than the end offset (this may be a documentation bug since it may not appear in the javadocs) and when accessed via group(int) they return null. Subgroups that weren't reached a final time during the NFA execution (perhaps because an earlier subgroup failed) will retain their old values. Later versions of Perl regularized the behavior of subgroups so that they would always contain the last value matched rather than a potentially empty value based on a final failed subgroup match attempt. Perl5Matcher will implement this behavior as part of the Perl 5.6 compatibility work. From [email protected] Thu Sep 20 09:41:34 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4130 invoked by uid 500); 20 Sep 2001 09:41:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 4070 invoked from network); 20 Sep 2001 09:41:33 -0000 Date: 20 Sep 2001 09:41:39 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Cc: Subject: DO NOT REPLY [Bug 3744] New: - StackOverFlowError encountered X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3744>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3744 StackOverFlowError encountered Summary: StackOverFlowError encountered Product: ORO Version: 2.0.4 Platform: Other OS/Version: Linux Status: NEW Severity: Blocker Priority: Other Component: Main AssignedTo: [email protected] ReportedBy: [email protected] While I was evaluating this package I found the following StackOverfolw error with the Perl5Util class the input string was: Deluxe Functional Position Wrist/Hand Splint, XSmall, 5 1/4 in. -6 in. , Left. Adjustable thermoplastic. Classic way to splint hand after a stroke-thumb in full opposition, wrist in 30° dorsiflexion, and MPs at approximately 80°. Includes wrist straps whi and the regular expression was: m#(\d(\d|\s*|\.|\/)*(hp\s*DC|DC\s*hp|hp))#i From [email protected] Thu Sep 20 14:35:33 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44707 invoked by uid 500); 20 Sep 2001 14:35:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 44689 invoked from network); 20 Sep 2001 14:35:33 -0000 Date: 20 Sep 2001 14:35:32 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Cc: Subject: DO NOT REPLY [Bug 3744] - StackOverFlowError encountered X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3744>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3744 StackOverFlowError encountered [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Additional Comments From [email protected] 2001-09-20 07:35 ------- *** This bug has been marked as a duplicate of 3561 *** From [email protected] Thu Sep 20 14:35:34 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44748 invoked by uid 500); 20 Sep 2001 14:35:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 44738 invoked from network); 20 Sep 2001 14:35:33 -0000 Date: 20 Sep 2001 14:35:33 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Cc: Subject: DO NOT REPLY [Bug 3561] - Stack overflow with certain patterns. X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3561>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3561 Stack overflow with certain patterns. [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] ------- Additional Comments From [email protected] 2001-09-20 07:35 ------- *** Bug 3744 has been marked as a duplicate of this bug. *** From [email protected] Thu Sep 20 14:38:33 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50351 invoked by uid 500); 20 Sep 2001 14:38:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 50337 invoked from network); 20 Sep 2001 14:38:33 -0000 Date: 20 Sep 2001 14:38:32 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Cc: Subject: DO NOT REPLY [Bug 2304] - ORO dies on evaluating \001c and takes tomcat with it X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2304>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2304 ORO dies on evaluating \001c and takes tomcat with it [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED ------- Additional Comments From [email protected] 2001-09-20 07:38 ------- Never received sample code isolating the problem. Am closing bug since it could never be reproduced. From [email protected] Thu Sep 20 14:40:18 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53554 invoked by uid 500); 20 Sep 2001 14:40:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 53534 invoked from network); 20 Sep 2001 14:40:17 -0000 Date: 20 Sep 2001 14:40:17 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Cc: Subject: DO NOT REPLY [Bug 1884] - PatternMatcherInput(String, int, int) has several problems with Awk on ORO 2.0.3 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1884>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1884 PatternMatcherInput(String, int, int) has several problems with Awk on ORO 2.0.3 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED ------- Additional Comments From [email protected] 2001-09-20 07:40 ------- Bug was fixed and no one has reported any problems with the fix. Therefore closing bug report. From [email protected] Thu Sep 20 16:22:36 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8246 invoked by uid 500); 20 Sep 2001 16:22:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 8209 invoked from network); 20 Sep 2001 16:22:35 -0000 Message-Id: <[email protected]> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: [email protected] cc: [email protected] Subject: JDK 1.4 java.util.regex comments Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 20 Sep 2001 12:23:22 -0400 From: "Daniel F. Savarese" <[email protected]> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The folks working on JSR-051 have asked us for feedback about the java.util.regex package. I have yet to find the time to write up my comments, but if some of us can get back to them before the Community Review period expires (Oct 8), there's a chance java.util.regex may see some improvements. The JSR-51 URL is http://www.jcp.org/jsr/detail/51.jsp, comments can be sent to [email protected] (indicate your affiliation with Jakarta if applicable). The latest version of the java.util.regex package is pretty much what's in JDK 1.4 beta2 at http://java.sun.com/j2se/ If you don't want to download the JDK, the package docs are at: http://java.sun.com/j2se/1.4/docs/api/java/util/regex/package-summary.html daniel ------ Forwarded Message From: Jason Hunter <[email protected]> Reply-To: [email protected] Date: Thu, 13 Sep 2001 11:28:33 -0700 To: [email protected] Subject: New IO APIs The New I/O (JSR-051) library includes a regexp package. We should have the Regexp and ORO people take a look. It's mostly javadocs. Jon, you're quite familiar with both projects, can you make sure the ORO and Regexp experts get a chance to see this? I'll send the big ZIP in email to you (exceeds this list's limit -- if anyone else wants it I'm happy to send it). It's community draft so we technically can't just post it to a public list. Stupid, but true. JSR 51 New I/O APIs for the Java Platform - Community Review - Appears on Ballot: 11 September 2001 URL: http://java.sun.com/jcp/participant/jsr051/index.html -jh- ------ End of Forwarded Message From [email protected] Sat Sep 22 20:41:03 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60340 invoked by uid 500); 22 Sep 2001 20:41:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 60331 invoked from network); 22 Sep 2001 20:41:02 -0000 Date: 22 Sep 2001 20:41:04 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Cc: Subject: DO NOT REPLY [Bug 3777] New: - URL's with query string not parsed correctly X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3777>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3777 URL's with query string not parsed correctly Summary: URL's with query string not parsed correctly Product: ORO Version: 2.0.4 Platform: All OS/Version: All Status: NEW Severity: Critical Priority: Other Component: Main AssignedTo: [email protected] ReportedBy: [email protected] I used a regex to parse URLs in HTML, as presented in the Perl Cookbook and made the appropriate changes (i.e correct escaping) for the RE to work in ORO. I am able to parse an HTML file for ALL URLs, but those with a question mark in them are skipped. Tried a number of tests and it seems like when a question mark (?) is encountered, it somehow becomes part of the RE which causes the RE not to match properly. Example: We put the following HTML in the file and did a search an replace on URL. http://www.a.com/a.htm --> to be replace with www.aaa.com/aaa.htm http://www.b.com/? --> to be replaced with www.bbb.com/b http://www.c.com/c?abc --> to br replace with www.ccc.com/ccc?abc After we ran the program got the following result www.a.com/a.htm changed to www.aaa.com/aaa.htm www.b.com/? changed to www.bbb.com/b? - NOTO THE TRAILING ? www.c.com/c?abc was not replaced !!! PLEAS HELP!!! From [email protected] Sat Sep 22 20:55:07 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68633 invoked by uid 500); 22 Sep 2001 20:55:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 68624 invoked from network); 22 Sep 2001 20:55:06 -0000 Date: 22 Sep 2001 20:55:09 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Cc: Subject: DO NOT REPLY [Bug 3777] - URL's with query string not parsed correctly X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3777>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3777 URL's with query string not parsed correctly [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From [email protected] 2001-09-22 13:55 ------- This is not a valid bug report. Please subscribe and post to [email protected] (http://jakarta.apache.org/site/mail.html) to seek further assistance. Also provide sample code to the mailing list so that we can help you identify the simple mistake you are probably making. As described, the problem you are experiencing is clearly a case of user error. From [email protected] Sat Sep 22 20:56:49 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70098 invoked by uid 500); 22 Sep 2001 20:56:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 70085 invoked from network); 22 Sep 2001 20:56:49 -0000 Date: 22 Sep 2001 20:56:52 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Cc: Subject: DO NOT REPLY [Bug 3777] - URL's with query string not parsed correctly X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3777>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3777 URL's with query string not parsed correctly [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED ------- Additional Comments From [email protected] 2001-09-22 13:56 ------- Closing bogus bug since it is a "What am I doing wrong?" question that should be addressed to the user mailing list and not a real bug.
From [email protected] Tue Sep 01 20:02:57 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4294 invoked from network); 1 Sep 2009 20:02:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Sep 2009 20:02:57 -0000 Received: (qmail 97172 invoked by uid 500); 1 Sep 2009 20:02:57 -0000 Delivered-To: [email protected] Received: (qmail 97033 invoked by uid 500); 1 Sep 2009 20:02:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 97011 invoked by uid 99); 1 Sep 2009 20:02:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 20:02:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 20:02:54 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E0AF7234C045 for <[email protected]>; Tue, 1 Sep 2009 13:02:32 -0700 (PDT) Message-ID: <356659837.1251835352919.JavaMail.jira@brutus> Date: Tue, 1 Sep 2009 13:02:32 -0700 (PDT) From: "Brian Foddy (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (AXIS2C-1391) Compile on Solaris 10 and Sunstudio 12 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Compile on Solaris 10 and Sunstudio 12 -------------------------------------- Key: AXIS2C-1391 URL: https://issues.apache.org/jira/browse/AXIS2C-1391 Project: Axis2-C Issue Type: Bug Components: build system (Unix/Linux) Affects Versions: 1.6.0 Environment: Solaris sparc 10, Sun sunstudio 12 compiler Reporter: Brian Foddy Priority: Minor Several minor building problems encountered on 1.6: 1. ./util/include/axutil_network_handler.h & ./util/src/network_handler.c are in CRLF format line feeds, compiler won't read these files correctly. 2. ./util/include/platforms/unix/axutil_unix.h, comment out line for usleep. Solaris #defs don't have __seconds_t, and usleep is already defined in system headers. 3. Compiler MT flag is "-mt" , not "-pthread". I had to modify the following Makefiles: vi ./src/core/transport/tcp/server/simple_tcp_server/Makefile ./src/core/transport/amqp/server/axis2_amqp_server/Makefile ./src/core/transport/http/server/CGI/Makefile ./src/core/transport/http/server/simple_axis2_server/Makefile ./test/core/addr/Makefile ./test/core/context/Makefile ./test/core/transport/http/Makefile ./test/core/deployment/Makefile ./test/core/description/Makefile ./test/core/engine/Makefile ./test/core/clientapi/Makefile ./axiom/test/om/Makefile ./axiom/test/soap/Makefile ./neethi/test/Makefile -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Sep 04 21:59:22 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29473 invoked from network); 4 Sep 2009 21:59:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Sep 2009 21:59:22 -0000 Received: (qmail 82172 invoked by uid 500); 4 Sep 2009 21:59:22 -0000 Delivered-To: [email protected] Received: (qmail 82125 invoked by uid 500); 4 Sep 2009 21:59:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 82116 invoked by uid 99); 4 Sep 2009 21:59:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 21:59:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 21:59:18 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 72E59234C004 for <[email protected]>; Fri, 4 Sep 2009 14:58:57 -0700 (PDT) Message-ID: <1530487517.1252101537452.JavaMail.jira@brutus> Date: Fri, 4 Sep 2009 14:58:57 -0700 (PDT) From: "Russell Tempero (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (AXIS2C-1392) axiom_element_find_namespace() can erroneously return NULL with default namespaces MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org axiom_element_find_namespace() can erroneously return NULL with default namespaces ---------------------------------------------------------------------------------- Key: AXIS2C-1392 URL: https://issues.apache.org/jira/browse/AXIS2C-1392 Project: Axis2-C Issue Type: Bug Components: core/clientapi Affects Versions: 1.6.0 Environment: $ uname -a Linux clearwater 2.6.18-8.el5 #1 SMP Thu Mar 15 19:46:53 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux $ gcc --version gcc (GCC) 4.2.2 Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Reporter: Russell Tempero The recursive function axiom_element_find_namespace() can erroneously return NULL when it encounters an element that has a default namespace. The problem is in the following block of code contained within axiom_element_find_namespace(): default_ns = axiom_element_get_default_namespace(om_element, env, element_node); if (default_ns) { axis2_char_t *default_uri = NULL; default_uri = axiom_namespace_get_uri(default_ns, env); if (axutil_strcmp(uri, default_uri) == 0) { return default_ns; } else { return NULL; } } I am assuming that this code exists as an optimization to potentially avoid the for-loop a few lines farther down. The original intent appears to be to check if the needed namespace is equal to the default and, if so, return that and avoid the for-loop. However, instead of returning NULL if the default namespace is not equal to the desired namespace, the code should then continue on to the for-loop. Please review and test my attached fix (om_element.c.diff) for possible inclusion in the Axis2/C project. Let me know if I have drawn any incorrect conclusions or if something is not clear. Thanks, Russell -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Sep 04 22:03:22 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30321 invoked from network); 4 Sep 2009 22:03:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Sep 2009 22:03:22 -0000 Received: (qmail 84352 invoked by uid 500); 4 Sep 2009 22:03:22 -0000 Delivered-To: [email protected] Received: (qmail 84331 invoked by uid 500); 4 Sep 2009 22:03:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 84322 invoked by uid 99); 4 Sep 2009 22:03:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 22:03:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 22:03:18 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A7959234C495 for <[email protected]>; Fri, 4 Sep 2009 15:02:57 -0700 (PDT) Message-ID: <+1-972-395-1092.1252101777685.JavaMail.jira@brutus> Date: Fri, 4 Sep 2009 15:02:57 -0700 (PDT) From: "Russell Tempero (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (AXIS2C-1392) axiom_element_find_namespace() can erroneously return NULL with default namespaces In-Reply-To: <1530487517.1252101537452.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Russell Tempero updated AXIS2C-1392: ------------------------------------ Attachment: om_element.c.diff Patch to fix issue with axiom_element_find_namespace(). > axiom_element_find_namespace() can erroneously return NULL with default namespaces > ---------------------------------------------------------------------------------- > > Key: AXIS2C-1392 > URL: https://issues.apache.org/jira/browse/AXIS2C-1392 > Project: Axis2-C > Issue Type: Bug > Components: core/clientapi > Affects Versions: 1.6.0 > Environment: $ uname -a > Linux clearwater 2.6.18-8.el5 #1 SMP Thu Mar 15 19:46:53 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux > $ gcc --version > gcc (GCC) 4.2.2 > Copyright (C) 2007 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > Reporter: Russell Tempero > Attachments: om_element.c.diff > > Original Estimate: 1h > Remaining Estimate: 1h > > The recursive function axiom_element_find_namespace() can erroneously return NULL when it encounters an element that has a default namespace. The problem is in the following block of code contained within axiom_element_find_namespace(): > default_ns = axiom_element_get_default_namespace(om_element, > env, element_node); > if (default_ns) > { > axis2_char_t *default_uri = NULL; > default_uri = axiom_namespace_get_uri(default_ns, env); > if (axutil_strcmp(uri, default_uri) == 0) > { > return default_ns; > } > else > { > return NULL; > } > } > I am assuming that this code exists as an optimization to potentially avoid the for-loop a few lines farther down. The original intent appears to be to check if the needed namespace is equal to the default and, if so, return that and avoid the for-loop. However, instead of returning NULL if the default namespace is not equal to the desired namespace, the code should then continue on to the for-loop. > Please review and test my attached fix (om_element.c.diff) for possible inclusion in the Axis2/C project. Let me know if I have drawn any incorrect conclusions or if something is not clear. > Thanks, > Russell -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sun Sep 06 16:50:24 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51642 invoked from network); 6 Sep 2009 16:50:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Sep 2009 16:50:24 -0000 Received: (qmail 22103 invoked by uid 500); 6 Sep 2009 16:50:24 -0000 Delivered-To: [email protected] Received: (qmail 22061 invoked by uid 500); 6 Sep 2009 16:50:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 22047 invoked by uid 99); 6 Sep 2009 16:50:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Sep 2009 16:50:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Sep 2009 16:50:20 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 4CEB6234C1F1 for <[email protected]>; Sun, 6 Sep 2009 09:49:59 -0700 (PDT) Message-ID: <348601034.1252255799313.JavaMail.jira@brutus> Date: Sun, 6 Sep 2009 09:49:59 -0700 (PDT) From: "Nandika Jayawardana (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (AXIS2C-1392) axiom_element_find_namespace() can erroneously return NULL with default namespaces In-Reply-To: <1530487517.1252101537452.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nandika Jayawardana reassigned AXIS2C-1392: ------------------------------------------- Assignee: Nandika Jayawardana > axiom_element_find_namespace() can erroneously return NULL with default namespaces > ---------------------------------------------------------------------------------- > > Key: AXIS2C-1392 > URL: https://issues.apache.org/jira/browse/AXIS2C-1392 > Project: Axis2-C > Issue Type: Bug > Components: core/clientapi > Affects Versions: 1.6.0 > Environment: $ uname -a > Linux clearwater 2.6.18-8.el5 #1 SMP Thu Mar 15 19:46:53 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux > $ gcc --version > gcc (GCC) 4.2.2 > Copyright (C) 2007 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > Reporter: Russell Tempero > Assignee: Nandika Jayawardana > Attachments: om_element.c.diff > > Original Estimate: 1h > Remaining Estimate: 1h > > The recursive function axiom_element_find_namespace() can erroneously return NULL when it encounters an element that has a default namespace. The problem is in the following block of code contained within axiom_element_find_namespace(): > default_ns = axiom_element_get_default_namespace(om_element, > env, element_node); > if (default_ns) > { > axis2_char_t *default_uri = NULL; > default_uri = axiom_namespace_get_uri(default_ns, env); > if (axutil_strcmp(uri, default_uri) == 0) > { > return default_ns; > } > else > { > return NULL; > } > } > I am assuming that this code exists as an optimization to potentially avoid the for-loop a few lines farther down. The original intent appears to be to check if the needed namespace is equal to the default and, if so, return that and avoid the for-loop. However, instead of returning NULL if the default namespace is not equal to the desired namespace, the code should then continue on to the for-loop. > Please review and test my attached fix (om_element.c.diff) for possible inclusion in the Axis2/C project. Let me know if I have drawn any incorrect conclusions or if something is not clear. > Thanks, > Russell -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sun Sep 06 16:52:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52715 invoked from network); 6 Sep 2009 16:52:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Sep 2009 16:52:20 -0000 Received: (qmail 23471 invoked by uid 500); 6 Sep 2009 16:52:19 -0000 Delivered-To: [email protected] Received: (qmail 23404 invoked by uid 500); 6 Sep 2009 16:52:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 23395 invoked by uid 99); 6 Sep 2009 16:52:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Sep 2009 16:52:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Sep 2009 16:52:17 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 86A8C234C1EB for <[email protected]>; Sun, 6 Sep 2009 09:51:57 -0700 (PDT) Message-ID: <593134789.1252255917550.JavaMail.jira@brutus> Date: Sun, 6 Sep 2009 09:51:57 -0700 (PDT) From: "Nandika Jayawardana (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (AXIS2C-1392) axiom_element_find_namespace() can erroneously return NULL with default namespaces In-Reply-To: <1530487517.1252101537452.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nandika Jayawardana resolved AXIS2C-1392. ----------------------------------------- Resolution: Fixed Fix Version/s: Current (Nightly) Patch applied, thanks for the patch > axiom_element_find_namespace() can erroneously return NULL with default namespaces > ---------------------------------------------------------------------------------- > > Key: AXIS2C-1392 > URL: https://issues.apache.org/jira/browse/AXIS2C-1392 > Project: Axis2-C > Issue Type: Bug > Components: core/clientapi > Affects Versions: 1.6.0 > Environment: $ uname -a > Linux clearwater 2.6.18-8.el5 #1 SMP Thu Mar 15 19:46:53 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux > $ gcc --version > gcc (GCC) 4.2.2 > Copyright (C) 2007 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > Reporter: Russell Tempero > Assignee: Nandika Jayawardana > Fix For: Current (Nightly) > > Attachments: om_element.c.diff > > Original Estimate: 1h > Remaining Estimate: 1h > > The recursive function axiom_element_find_namespace() can erroneously return NULL when it encounters an element that has a default namespace. The problem is in the following block of code contained within axiom_element_find_namespace(): > default_ns = axiom_element_get_default_namespace(om_element, > env, element_node); > if (default_ns) > { > axis2_char_t *default_uri = NULL; > default_uri = axiom_namespace_get_uri(default_ns, env); > if (axutil_strcmp(uri, default_uri) == 0) > { > return default_ns; > } > else > { > return NULL; > } > } > I am assuming that this code exists as an optimization to potentially avoid the for-loop a few lines farther down. The original intent appears to be to check if the needed namespace is equal to the default and, if so, return that and avoid the for-loop. However, instead of returning NULL if the default namespace is not equal to the desired namespace, the code should then continue on to the for-loop. > Please review and test my attached fix (om_element.c.diff) for possible inclusion in the Axis2/C project. Let me know if I have drawn any incorrect conclusions or if something is not clear. > Thanks, > Russell -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Sep 07 10:56:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79227 invoked from network); 7 Sep 2009 10:56:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Sep 2009 10:56:20 -0000 Received: (qmail 37329 invoked by uid 500); 7 Sep 2009 10:56:20 -0000 Delivered-To: [email protected] Received: (qmail 37281 invoked by uid 500); 7 Sep 2009 10:56:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 37272 invoked by uid 99); 7 Sep 2009 10:56:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Sep 2009 10:56:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,HS_INDEX_PARAM X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Sep 2009 10:56:17 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id BC1FB234C48C for <[email protected]>; Mon, 7 Sep 2009 03:55:57 -0700 (PDT) Message-ID: <264220264.1252320957769.JavaMail.jira@brutus> Date: Mon, 7 Sep 2009 03:55:57 -0700 (PDT) From: "Nandika Jayawardana (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (AXIS2C-1389) File handle leak when requesting static wsdl In-Reply-To: <1365231464.1251187079358.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nandika Jayawardana resolved AXIS2C-1389. ----------------------------------------- Resolution: Fixed Fix Version/s: Current (Nightly) Fixed. > File handle leak when requesting static wsdl > -------------------------------------------- > > Key: AXIS2C-1389 > URL: https://issues.apache.org/jira/browse/AXIS2C-1389 > Project: Axis2-C > Issue Type: Bug > Components: transport/http > Environment: Apache2.2 using mod_axis2 on win > Reporter: Guido March > Assignee: Nandika Jayawardana > Priority: Minor > Fix For: Current (Nightly) > > > Requesting the WSDL description using the http://serviceurl?wsdl mechanism consumes a filehandle on the server. > Reason: The axis2_http_transport_utils_get_services_static_wsdl() function in file http_transport_utils.c opens the WSDL description file but never closes it. > I think it is a good idea to close the filehandle before leaving this function. > Greetings, > Guido March. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Sep 07 10:56:22 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79266 invoked from network); 7 Sep 2009 10:56:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Sep 2009 10:56:22 -0000 Received: (qmail 37564 invoked by uid 500); 7 Sep 2009 10:56:22 -0000 Delivered-To: [email protected] Received: (qmail 37517 invoked by uid 500); 7 Sep 2009 10:56:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 37503 invoked by uid 99); 7 Sep 2009 10:56:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Sep 2009 10:56:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,HS_INDEX_PARAM X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Sep 2009 10:56:18 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B543F234C046 for <[email protected]>; Mon, 7 Sep 2009 03:55:57 -0700 (PDT) Message-ID: <2131745899.1252320957741.JavaMail.jira@brutus> Date: Mon, 7 Sep 2009 03:55:57 -0700 (PDT) From: "Nandika Jayawardana (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (AXIS2C-1389) File handle leak when requesting static wsdl In-Reply-To: <1365231464.1251187079358.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nandika Jayawardana reassigned AXIS2C-1389: ------------------------------------------- Assignee: Nandika Jayawardana > File handle leak when requesting static wsdl > -------------------------------------------- > > Key: AXIS2C-1389 > URL: https://issues.apache.org/jira/browse/AXIS2C-1389 > Project: Axis2-C > Issue Type: Bug > Components: transport/http > Environment: Apache2.2 using mod_axis2 on win > Reporter: Guido March > Assignee: Nandika Jayawardana > Priority: Minor > Fix For: Current (Nightly) > > > Requesting the WSDL description using the http://serviceurl?wsdl mechanism consumes a filehandle on the server. > Reason: The axis2_http_transport_utils_get_services_static_wsdl() function in file http_transport_utils.c opens the WSDL description file but never closes it. > I think it is a good idea to close the filehandle before leaving this function. > Greetings, > Guido March. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 08 02:41:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88194 invoked from network); 8 Sep 2009 02:41:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Sep 2009 02:41:20 -0000 Received: (qmail 68065 invoked by uid 500); 8 Sep 2009 02:41:20 -0000 Delivered-To: [email protected] Received: (qmail 68020 invoked by uid 500); 8 Sep 2009 02:41:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 68011 invoked by uid 99); 8 Sep 2009 02:41:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 02:41:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 02:41:18 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 189C8234C4AB for <[email protected]>; Mon, 7 Sep 2009 19:40:58 -0700 (PDT) Message-ID: <688402058.1252377658099.JavaMail.jira@brutus> Date: Mon, 7 Sep 2009 19:40:58 -0700 (PDT) From: "S.Uthaiyashankar (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (AXIS2C-1387) apache2_stream_read function ignores errors from ap_get_client_block is size_t is unsigned In-Reply-To: <+1-972-395-1092.1250184195486.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] S.Uthaiyashankar updated AXIS2C-1387: ------------------------------------- Component/s: (was: build system (Unix/Linux)) httpd module > apache2_stream_read function ignores errors from ap_get_client_block is size_t is unsigned > ------------------------------------------------------------------------------------------ > > Key: AXIS2C-1387 > URL: https://issues.apache.org/jira/browse/AXIS2C-1387 > Project: Axis2-C > Issue Type: Bug > Components: httpd module > Affects Versions: 1.6.0 > Environment: CentOS 5.3 > httpd-2.2.3 > rampartc-1.3.0 > dell precision desktop > Reporter: Murph McCloy > Priority: Minor > Attachments: apache2_stream_read_input_filter.patch > > Original Estimate: 1h > Remaining Estimate: 1h > > This problem has only been noticed when attempting to decompress input streams via apache. > The problem occurs when a decompression payload fails to decompress properly. In my test case it was because the payload had some flags set in the gzip headers and mod_deflate doesn't support flags. mod_deflate then returned an APR_EGENERAL error message. This message then bubbled up and was returned as a -1 to apache2_stream_read. > This is a problem because size_t, on my system, is unsigned. The checks in apache2_stream_read fail to catch a negative value in this scenario and dont respond appropriately. > while (count - len > 0) > { > read = ap_get_client_block(stream_impl->request, (char *)buffer + len, count - len); > if (read > 0) > { > len += read; > } > else > { > break; > } > } > The else statement will never get reached while read is unsigned. Also, the while loop might have troubles as well. I would suggest modifying read and len to be ssize_t so they match the return value of ap_get_client_block. > If I get this modified and working, I will submit a patch. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 08 02:41:28 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88264 invoked from network); 8 Sep 2009 02:41:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Sep 2009 02:41:28 -0000 Received: (qmail 68320 invoked by uid 500); 8 Sep 2009 02:41:28 -0000 Delivered-To: [email protected] Received: (qmail 68284 invoked by uid 500); 8 Sep 2009 02:41:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 68275 invoked by uid 99); 8 Sep 2009 02:41:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 02:41:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 02:41:19 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 1EF1D234C4AD for <[email protected]>; Mon, 7 Sep 2009 19:40:58 -0700 (PDT) Message-ID: <1542052146.1252377658125.JavaMail.jira@brutus> Date: Mon, 7 Sep 2009 19:40:58 -0700 (PDT) From: "S.Uthaiyashankar (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (AXIS2C-1390) When creating the build.sh script for C-language the flatten-file option is not properly used In-Reply-To: <1094019068.1251317039285.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] S.Uthaiyashankar updated AXIS2C-1390: ------------------------------------- Affects Version/s: 1.6.0 Fix Version/s: (was: 1.6.0) Next Version > When creating the build.sh script for C-language the flatten-file option is not properly used > --------------------------------------------------------------------------------------------- > > Key: AXIS2C-1390 > URL: https://issues.apache.org/jira/browse/AXIS2C-1390 > Project: Axis2-C > Issue Type: Bug > Components: code generation > Affects Versions: 1.6.0 > Environment: Linux / 32-bit > Reporter: Allan Schrum > Priority: Minor > Fix For: Next Version > > Attachments: CEmitter.java.diff > > > Originally posted at https://issues.apache.org/jira/browse/AXIS2-4429 which is probably the wrong spot. > When generating the build.sh script for a C-language output there are several options which affect the content of the build.sh script. For instance, the output directory name, the target source directory, and the flatten-files option. If the output directory is given then the current code ignores the flatten-file option when generating the script. > Thus: "wsdl2c.sh -uri something.wsdl -o here -f" puts all the files in the subdirectory "here" but the build.sh script references the source files in "src/*". -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 08 02:43:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88544 invoked from network); 8 Sep 2009 02:43:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Sep 2009 02:43:20 -0000 Received: (qmail 68908 invoked by uid 500); 8 Sep 2009 02:43:19 -0000 Delivered-To: [email protected] Received: (qmail 68829 invoked by uid 500); 8 Sep 2009 02:43:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 68817 invoked by uid 99); 8 Sep 2009 02:43:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 02:43:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 02:43:17 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 7A466234C044 for <[email protected]>; Mon, 7 Sep 2009 19:42:57 -0700 (PDT) Message-ID: <1240025164.1252377777496.JavaMail.jira@brutus> Date: Mon, 7 Sep 2009 19:42:57 -0700 (PDT) From: "S.Uthaiyashankar (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (AXIS2C-1388) Memory leak AXIS2C In-Reply-To: <1003136874.1250779994783.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] S.Uthaiyashankar updated AXIS2C-1388: ------------------------------------- Component/s: transport/http > Memory leak AXIS2C > ------------------ > > Key: AXIS2C-1388 > URL: https://issues.apache.org/jira/browse/AXIS2C-1388 > Project: Axis2-C > Issue Type: Bug > Components: transport/http > Affects Versions: 1.6.0 > Environment: AXIS2C -> axis2c-1.6.0-5.i386 > Generated code -> Apache Axis2/Java version: 1.5 Built on : Apr 30, 2009 (06:07:24 EDT) > Reporter: Kevin > Priority: Critical > > I run a test that makes requests using the generated code and valgrind reports a large memory leak after afew minutes of running: > ==23281== 15,782,780 (84,520 direct, 15,698,260 indirect) bytes in 324 blocks are definitely lost in loss record 32 of 33 > ==23281== at 0x4028F3D: malloc (vg_replace_malloc.c:207) > ==23281== by 0x43205CD: (within /usr/lib/libcrypto.so.0.9.8k) > ==23281== by 0x4320C5B: CRYPTO_malloc (in /usr/lib/libcrypto.so.0.9.8k) > ==23281== by 0x42D3D5A: X509_LOOKUP_new (in /usr/lib/libcrypto.so.0.9.8k) > ==23281== by 0x42D40CD: X509_STORE_add_lookup (in /usr/lib/libcrypto.so.0.9.8k) > ==23281== by 0x42CC564: X509_STORE_load_locations (in /usr/lib/libcrypto.so.0.9.8k) > ==23281== by 0x420D46D: SSL_CTX_load_verify_locations (in /usr/lib/libssl.so.0.9.8k) > ==23281== by 0x41D6797: axis2_ssl_utils_initialize_ctx (ssl_utils.c:110) > ==23281== by 0x41D61F0: axutil_stream_create_ssl (ssl_stream.c:96) > ==23281== by 0x41D54D5: axis2_http_client_send (http_client.c:266) > ==23281== by 0x41D29BC: axis2_http_sender_send (http_sender.c:1101) > ==23281== by 0x41CDB8B: axis2_http_transport_sender_write_message (http_transport_sender.c:807) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 08 02:45:23 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89436 invoked from network); 8 Sep 2009 02:45:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Sep 2009 02:45:23 -0000 Received: (qmail 70315 invoked by uid 500); 8 Sep 2009 02:45:22 -0000 Delivered-To: [email protected] Received: (qmail 70254 invoked by uid 500); 8 Sep 2009 02:45:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 70244 invoked by uid 99); 8 Sep 2009 02:45:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 02:45:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 02:45:18 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 9B45D234C4AC for <[email protected]>; Mon, 7 Sep 2009 19:44:57 -0700 (PDT) Message-ID: <180485520.1252377897635.JavaMail.jira@brutus> Date: Mon, 7 Sep 2009 19:44:57 -0700 (PDT) From: "Dimuthu Gamage (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (AXIS2C-1071) WSDL2C, ADB & xsi:type based deserialization In-Reply-To: <1217067125.1205851524963.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dimuthu Gamage resolved AXIS2C-1071. ------------------------------------ Resolution: Fixed Fixed. > WSDL2C, ADB & xsi:type based deserialization > -------------------------------------------- > > Key: AXIS2C-1071 > URL: https://issues.apache.org/jira/browse/AXIS2C-1071 > Project: Axis2-C > Issue Type: Bug > Components: core/addressing > Reporter: Sam Meder > Assignee: Dimuthu Gamage > Attachments: polymorphic.zip, polymorphism.patch > > > I have the problem of having to work with a wsdl interface the makes use of type extensions and xsi:type. For example: > <complexType name="VirtualHardware"> > <complexContent> > <extension base="vim25:DynamicData"> > <sequence> > <element name="numCPU" type="xsd:int" /> > <element name="memoryMB" type="xsd:int" /> > <element name="device" type="vim25:VirtualDevice" minOccurs="0" maxOccurs="unbounded" /> > </sequence> > </extension> > </complexContent> > </complexType> > where the VirtualDevice type is extended in various ways to reflect different kind of device types: > <complexType name="VirtualController"> > <complexContent> > <extension base="vim25:VirtualDevice"> > <sequence> > <element name="busNumber" type="xsd:int" /> > <element name="device" type="xsd:int" minOccurs="0" maxOccurs="unbounded" /> > </sequence> > </extension> > </complexContent> > </complexType> > The issue I am running into is that WSDL2C does not seem to support this kind of xsi:type based type serialization/deserialization (which admittedly fits really poorly with a non-object oriented language like C). You could probably make it work by storing type information in the generated structs, combined with a type registry. > Any suggestions on workarounds other than using the XML model? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 08 02:47:22 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89854 invoked from network); 8 Sep 2009 02:47:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Sep 2009 02:47:22 -0000 Received: (qmail 71589 invoked by uid 500); 8 Sep 2009 02:47:21 -0000 Delivered-To: [email protected] Received: (qmail 71514 invoked by uid 500); 8 Sep 2009 02:47:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 71505 invoked by uid 99); 8 Sep 2009 02:47:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 02:47:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 02:47:19 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A7279234C044 for <[email protected]>; Mon, 7 Sep 2009 19:46:59 -0700 (PDT) Message-ID: <53698808.1252378019680.JavaMail.jira@brutus> Date: Mon, 7 Sep 2009 19:46:59 -0700 (PDT) From: "S.Uthaiyashankar (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (AXIS2C-1384) axutil_date_time_get_date is misnamed, it should be axutil_date_time_get_day MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] S.Uthaiyashankar updated AXIS2C-1384: ------------------------------------- Component/s: util Fix Version/s: Next Version > axutil_date_time_get_date is misnamed, it should be axutil_date_time_get_day > ---------------------------------------------------------------------------- > > Key: AXIS2C-1384 > URL: https://issues.apache.org/jira/browse/AXIS2C-1384 > Project: Axis2-C > Issue Type: Bug > Components: util > Affects Versions: 1.6.0 > Environment: all > Reporter: Patrick Cosmo > Priority: Minor > Fix For: Next Version > > Attachments: axutil_date_time.h, date_time.c, date_time_test.c, rand.c > > > when decoding a date, in axutil_date_time.h there is a method for extracting year, month, etc, but not for "day". > > However, there is a method named: axutil_date_time_get_date( ... ) > > If you look at the implementation of this in date_time.c, it's actually extracting the day: > > AXIS2_EXTERN int AXIS2_CALL > axutil_date_time_get_date( > axutil_date_time_t *date_time, > const axutil_env_t *env) > { > return (date_time->day); > } > > > I think this function should be named axutil_date_time_get_day -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 08 02:49:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90275 invoked from network); 8 Sep 2009 02:49:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Sep 2009 02:49:20 -0000 Received: (qmail 73593 invoked by uid 500); 8 Sep 2009 02:49:20 -0000 Delivered-To: [email protected] Received: (qmail 73546 invoked by uid 500); 8 Sep 2009 02:49:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 73537 invoked by uid 99); 8 Sep 2009 02:49:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 02:49:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 02:49:18 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 9728F234C4B0 for <[email protected]>; Mon, 7 Sep 2009 19:48:57 -0700 (PDT) Message-ID: <1576767006.1252378137618.JavaMail.jira@brutus> Date: Mon, 7 Sep 2009 19:48:57 -0700 (PDT) From: "S.Uthaiyashankar (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (AXIS2C-1382) Binary fields in SOAP are not received in linux ia64 In-Reply-To: <351673587.1246928594794.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] S.Uthaiyashankar updated AXIS2C-1382: ------------------------------------- Component/s: mtom > Binary fields in SOAP are not received in linux ia64 > ---------------------------------------------------- > > Key: AXIS2C-1382 > URL: https://issues.apache.org/jira/browse/AXIS2C-1382 > Project: Axis2-C > Issue Type: Bug > Components: mtom > Affects Versions: 1.6.0 > Environment: linux ia64 with axisc 1.6.0 > Reporter: Javier Forero > > i have a web service with an operation that receives two binary fields. when i process the binary field using the axutil_base64_binary_get_plain_binary function, the size of the field is zero. I used a tcp monitor to reviews if the data sended is also zero length, but this is not happen: the file sended is of postivie size and the function didn't receives the data. Summarizing: > - I use the axutil_base64_binary_get_plain_binary to parse the binary data > - The first field is processed ok always > - The second binary fields is processed ok the first time the service is used but later never is processed obtaining a zero length data > - With a tcp monitor I proves that the fields are of a length different of zero (the same data is sended in the two fields always in the test) > I test it in winxp and works fine, but in the target production machine I encountered this problem. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 08 03:05:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94321 invoked from network); 8 Sep 2009 03:05:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Sep 2009 03:05:20 -0000 Received: (qmail 83448 invoked by uid 500); 8 Sep 2009 03:05:19 -0000 Delivered-To: [email protected] Received: (qmail 83399 invoked by uid 500); 8 Sep 2009 03:05:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 83390 invoked by uid 99); 8 Sep 2009 03:05:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 03:05:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 03:05:17 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 83B22234C045 for <[email protected]>; Mon, 7 Sep 2009 20:04:57 -0700 (PDT) Message-ID: <899195518.1252379097538.JavaMail.jira@brutus> Date: Mon, 7 Sep 2009 20:04:57 -0700 (PDT) From: "S.Uthaiyashankar (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (AXIS2C-1367) sprintf format I32d not supported by Visual C++ 6.0 In-Reply-To: <1775192621.1241790946010.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] S.Uthaiyashankar updated AXIS2C-1367: ------------------------------------- Component/s: (was: code generation) util > sprintf format I32d not supported by Visual C++ 6.0 > --------------------------------------------------- > > Key: AXIS2C-1367 > URL: https://issues.apache.org/jira/browse/AXIS2C-1367 > Project: Axis2-C > Issue Type: Bug > Components: util > Affects Versions: 1.4.0, 1.4.1, 1.5.0, 1.6.0 > Environment: Microsoft Windows > Visual C++ 6.0 > Reporter: Eric Hsiung > > The following are defined in axutil_utils_defines.h: > #if defined(WIN32) > #define AXIS2_PRINTF_INT64_FORMAT_SPECIFIER "%I64d" > #define AXIS2_PRINTF_UINT64_FORMAT_SPECIFIER "%I64u" > #define AXIS2_PRINTF_INT32_FORMAT_SPECIFIER "%I32d" > #define AXIS2_PRINTF_UINT32_FORMAT_SPECIFIER "%I32u" > #else > #if __WORDSIZE == 64 > #define AXIS2_PRINTF_INT64_FORMAT_SPECIFIER "%ld" > #define AXIS2_PRINTF_UINT64_FORMAT_SPECIFIER "%lu" > #else > #define AXIS2_PRINTF_INT64_FORMAT_SPECIFIER "%lld" > #define AXIS2_PRINTF_UINT64_FORMAT_SPECIFIER "%llu" > #endif > #define AXIS2_PRINTF_INT32_FORMAT_SPECIFIER "%d" > #define AXIS2_PRINTF_UINT32_FORMAT_SPECIFIER "%u" > #endif > Microsoft Visual C++ 6.0 does not support I32 in the format string (though it does support I64). > sprintf(szBuf, AXIS2_PRINTF_INT32_FORMAT_SPECIFIER, 123456) yields the string "I32d". > This of course leads to invalid SOAP messages and various errors. > The fix is to use _MSC_VER to conditionally compile different format strings for VC++6 versus later versions of VC++ (which do support I32) like this: > #if defined(WIN32) > #define AXIS2_PRINTF_INT64_FORMAT_SPECIFIER "%I64d" > #define AXIS2_PRINTF_UINT64_FORMAT_SPECIFIER "%I64u" > #if _MSC_VER > 1200 > #define AXIS2_PRINTF_INT32_FORMAT_SPECIFIER "%I32d" > #define AXIS2_PRINTF_UINT32_FORMAT_SPECIFIER "%I32u" > #else > #define AXIS2_PRINTF_INT32_FORMAT_SPECIFIER "%d" > #define AXIS2_PRINTF_UINT32_FORMAT_SPECIFIER "%u" > #endif > #else > #if __WORDSIZE == 64 > #define AXIS2_PRINTF_INT64_FORMAT_SPECIFIER "%ld" > #define AXIS2_PRINTF_UINT64_FORMAT_SPECIFIER "%lu" > #else > #define AXIS2_PRINTF_INT64_FORMAT_SPECIFIER "%lld" > #define AXIS2_PRINTF_UINT64_FORMAT_SPECIFIER "%llu" > #endif > #define AXIS2_PRINTF_INT32_FORMAT_SPECIFIER "%d" > #define AXIS2_PRINTF_UINT32_FORMAT_SPECIFIER "%u" > #endif > AXIS2C-1295 seems to be referring to this problem as well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 08 03:07:23 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94547 invoked from network); 8 Sep 2009 03:07:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Sep 2009 03:07:22 -0000 Received: (qmail 84003 invoked by uid 500); 8 Sep 2009 03:07:22 -0000 Delivered-To: [email protected] Received: (qmail 83920 invoked by uid 500); 8 Sep 2009 03:07:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 83903 invoked by uid 99); 8 Sep 2009 03:07:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 03:07:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 03:07:18 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B8689234C498 for <[email protected]>; Mon, 7 Sep 2009 20:06:57 -0700 (PDT) Message-ID: <193760150.1252379217754.JavaMail.jira@brutus> Date: Mon, 7 Sep 2009 20:06:57 -0700 (PDT) From: "S.Uthaiyashankar (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (AXIS2C-1354) new function axis2_svc_client_get_conf_ctx() needed. In-Reply-To: <827118607.1236392216278.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] S.Uthaiyashankar updated AXIS2C-1354: ------------------------------------- Component/s: core/clientapi > new function axis2_svc_client_get_conf_ctx() needed. > ---------------------------------------------------- > > Key: AXIS2C-1354 > URL: https://issues.apache.org/jira/browse/AXIS2C-1354 > Project: Axis2-C > Issue Type: Bug > Components: core/clientapi > Reporter: Damitha Kumarage > > It is desired to have above function for the service client api to retrieve the configuration context. In some instances after first service client is created we should be able to retrieve the configuration context from that service client and create new service cients passing that configuraiton context using axis2_svc_client_create_with_conf_ctx_and_svc() function. > This is very useful since creating configuration context is very expensive task since this reads all configuration files again and again. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 08 03:07:30 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94635 invoked from network); 8 Sep 2009 03:07:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Sep 2009 03:07:30 -0000 Received: (qmail 85299 invoked by uid 500); 8 Sep 2009 03:07:30 -0000 Delivered-To: [email protected] Received: (qmail 85276 invoked by uid 500); 8 Sep 2009 03:07:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 85267 invoked by uid 99); 8 Sep 2009 03:07:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 03:07:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 03:07:18 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 7BAA1234C044 for <[email protected]>; Mon, 7 Sep 2009 20:06:57 -0700 (PDT) Message-ID: <710283328.1252379217502.JavaMail.jira@brutus> Date: Mon, 7 Sep 2009 20:06:57 -0700 (PDT) From: "S.Uthaiyashankar (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (AXIS2C-1356) Text longer than 128K silently discarded with guththila parser In-Reply-To: <497353722.1236692330954.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] S.Uthaiyashankar updated AXIS2C-1356: ------------------------------------- Component/s: (was: xml/parser) guththila > Text longer than 128K silently discarded with guththila parser > -------------------------------------------------------------- > > Key: AXIS2C-1356 > URL: https://issues.apache.org/jira/browse/AXIS2C-1356 > Project: Axis2-C > Issue Type: Bug > Components: guththila > Affects Versions: 1.5.0 > Environment: Linux, Apache, Axis2 C service > Reporter: Emanuele Benedetti > > I created a services in C/C++ under Linux using the Axis2/c framework. > The service have one function which takes one string parameter. I run the service using the Apache axis module. > The soap xml message is similar to the following (checked with tcpmon): > <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> > <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > <Receive xmlns="http://vww.obscuredforprivacy.xxx/axis2/services/Begin"> > <updategram>long text string</updategram> > </Receive> > </s:Body> > </s:Envelope> > If the long text string in the <updategram> element is longer than 128K, in the call to the main serivice procedure (the one assigned to axis2_svc_skeleton_opsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8binvoke and called by the axis2 engine), the node parameter (third parameter of type axiom_node_t *) have the following structure: > <Receive><updategram></updategram></Receive> > that is the <updategram> is empty. There is no error in any log. The <updategram> is discarded. > This happen only if the axis2c framework is configured with the default options. That is, the guththila parser is used (it is on by default). If I configure axis2 with the --enable-libxml2, everything is working fine. > So it seem to be a limit in the guththila parser. > Grretings -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 08 03:09:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94826 invoked from network); 8 Sep 2009 03:09:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Sep 2009 03:09:20 -0000 Received: (qmail 86032 invoked by uid 500); 8 Sep 2009 03:09:20 -0000 Delivered-To: [email protected] Received: (qmail 85944 invoked by uid 500); 8 Sep 2009 03:09:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 85924 invoked by uid 99); 8 Sep 2009 03:09:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 03:09:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 03:09:17 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 76FA0234C044 for <[email protected]>; Mon, 7 Sep 2009 20:08:57 -0700 (PDT) Message-ID: <1407278290.1252379337482.JavaMail.jira@brutus> Date: Mon, 7 Sep 2009 20:08:57 -0700 (PDT) From: "S.Uthaiyashankar (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (AXIS2C-1353) Externally passed configuration context and service should not be freed within service client In-Reply-To: <296410395.1236391856291.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] S.Uthaiyashankar updated AXIS2C-1353: ------------------------------------- Component/s: core/clientapi > Externally passed configuration context and service should not be freed within service client > --------------------------------------------------------------------------------------------- > > Key: AXIS2C-1353 > URL: https://issues.apache.org/jira/browse/AXIS2C-1353 > Project: Axis2-C > Issue Type: Bug > Components: core/clientapi > Reporter: Damitha Kumarage > > We have axis2_svc_client_create_with_conf_ctx_and_svc function to create a service client using existing configuration context and service. Currently when service client is freed these are freed as well. However according to the memory handling conventions of Axis2/C these should be freed by the caller function, not by the service client. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 08 03:09:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94822 invoked from network); 8 Sep 2009 03:09:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Sep 2009 03:09:20 -0000 Received: (qmail 86020 invoked by uid 500); 8 Sep 2009 03:09:20 -0000 Delivered-To: [email protected] Received: (qmail 85942 invoked by uid 500); 8 Sep 2009 03:09:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 85927 invoked by uid 99); 8 Sep 2009 03:09:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 03:09:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 03:09:17 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B2949234C4AC for <[email protected]>; Mon, 7 Sep 2009 20:08:57 -0700 (PDT) Message-ID: <832035316.1252379337730.JavaMail.jira@brutus> Date: Mon, 7 Sep 2009 20:08:57 -0700 (PDT) From: "S.Uthaiyashankar (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (AXIS2C-1348) Redundancy in Date/Time functions In-Reply-To: <1756067912.1235039162317.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] S.Uthaiyashankar updated AXIS2C-1348: ------------------------------------- Component/s: util > Redundancy in Date/Time functions > --------------------------------- > > Key: AXIS2C-1348 > URL: https://issues.apache.org/jira/browse/AXIS2C-1348 > Project: Axis2-C > Issue Type: Bug > Components: util > Reporter: Damitha Kumarage > > In axis2 time handling functions there are lot of unneccessary redundancies which in my view complicate the life of developer unneccessarily. For example following five functions > axutil_date_time_deserialize_date() > axutil_date_time_deserialize_time() > axutil_date_time_deserialize_date_time() > axutil_date_time_deserialize_time_with_time_zone() > axutil_date_time_deserialize_date_time_with_time_zone() > could be reduced into one function called axutil_date_time_deserialize_date_time(). Within the function the date time string should be analized to see whether it is date time, date, time, date/time with time zone etc etc. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 08 03:13:26 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95342 invoked from network); 8 Sep 2009 03:13:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Sep 2009 03:13:26 -0000 Received: (qmail 87291 invoked by uid 500); 8 Sep 2009 03:13:26 -0000 Delivered-To: [email protected] Received: (qmail 87222 invoked by uid 500); 8 Sep 2009 03:13:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 87213 invoked by uid 99); 8 Sep 2009 03:13:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 03:13:26 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 03:13:18 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 7ABC1234C044 for <[email protected]>; Mon, 7 Sep 2009 20:12:57 -0700 (PDT) Message-ID: <1841648150.1252379577498.JavaMail.jira@brutus> Date: Mon, 7 Sep 2009 20:12:57 -0700 (PDT) From: "S.Uthaiyashankar (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (AXIS2C-1329) There should be a stub creation api function that take axis2 configuration context as parameter In-Reply-To: <1189692629.1231773493195.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] S.Uthaiyashankar updated AXIS2C-1329: ------------------------------------- Component/s: core/clientapi code generation > There should be a stub creation api function that take axis2 configuration context as parameter > ----------------------------------------------------------------------------------------------- > > Key: AXIS2C-1329 > URL: https://issues.apache.org/jira/browse/AXIS2C-1329 > Project: Axis2-C > Issue Type: Improvement > Components: code generation, core/clientapi > Reporter: Damitha Kumarage > > It is desired to have the above api function so that when creating a stub an existing configuration context could be used. > axis2_stub_create_with_conf_ctx_and_endpoint_ref_and_client_home( > const axutil_env_t * env, > axis2_conf_ctx_t *con_ctx, > axis2_endpoint_ref_t * endpoint_ref, > const axis2_char_t * client_home)); > which in turn call already available api function > axis2_svc_client_create_with_conf_ctx_and_svc( > const axutil_env_t * env, > const axis2_char_t * client_home, > axis2_conf_ctx_t * conf_ctx, > axis2_svc_t * svc); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 08 03:15:29 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95760 invoked from network); 8 Sep 2009 03:15:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Sep 2009 03:15:29 -0000 Received: (qmail 89055 invoked by uid 500); 8 Sep 2009 03:15:28 -0000 Delivered-To: [email protected] Received: (qmail 88986 invoked by uid 500); 8 Sep 2009 03:15:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 88976 invoked by uid 99); 8 Sep 2009 03:15:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 03:15:28 +0000 X-ASF-Spam-Status: No, hits=-1999.6 required=10.0 tests=ALL_TRUSTED,SUBJECT_FUZZY_TION X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 03:15:17 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 7B685234C044 for <[email protected]>; Mon, 7 Sep 2009 20:14:57 -0700 (PDT) Message-ID: <692698798.1252379697500.JavaMail.jira@brutus> Date: Mon, 7 Sep 2009 20:14:57 -0700 (PDT) From: "S.Uthaiyashankar (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (AXIS2C-1024) Neethi does not support ExactlyOne to allow using OR when defining two tokens where only one or the other is desired In-Reply-To: <1705210040.1204264611064.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] S.Uthaiyashankar updated AXIS2C-1024: ------------------------------------- Component/s: neethi > Neethi does not support ExactlyOne to allow using OR when defining two tokens where only one or the other is desired > -------------------------------------------------------------------------------------------------------------------- > > Key: AXIS2C-1024 > URL: https://issues.apache.org/jira/browse/AXIS2C-1024 > Project: Axis2-C > Issue Type: New Feature > Components: neethi, rampart > Affects Versions: Current (Nightly) > Environment: Windows XP. > Reporter: Dave Meier > > The spec I'm looking at is http://specs.xmlsoap.org/ws/2005/07/securitypolicy/ws-securitypolicy.pdf in section 4.1.1. > The spec shows how to OR things together in the policy, but when I tried that it in rampart/c it didn't work. Here's what I tried (showing just the SignedSupportingTokens: > <sp:SignedSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> > <wsp:Policy> > <wsp:ExactlyOne> > <sp:UsernameToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient"/> > <sp:SamlToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient"/> > </wsp:ExactlyOne> > </wsp:Policy> > </sp:SignedSupportingTokens> > This should accept either UsernameToken or SamlToken. > Also tried the following without success: > <sp:SignedSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> > <wsp:Policy> > <wsp:All> > <wsp:ExactlyOne> > <sp:UsernameToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient"/> > <sp:SamlToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient"/> > </wsp:ExactlyOne> > </wsp:All> > </wsp:Policy> > </sp:SignedSupportingTokens> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 08 03:17:22 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95883 invoked from network); 8 Sep 2009 03:17:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Sep 2009 03:17:22 -0000 Received: (qmail 89465 invoked by uid 500); 8 Sep 2009 03:17:22 -0000 Delivered-To: [email protected] Received: (qmail 89404 invoked by uid 500); 8 Sep 2009 03:17:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 89394 invoked by uid 99); 8 Sep 2009 03:17:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 03:17:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 03:17:18 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 7A56A234C044 for <[email protected]>; Mon, 7 Sep 2009 20:16:57 -0700 (PDT) Message-ID: <1782611573.1252379817491.JavaMail.jira@brutus> Date: Mon, 7 Sep 2009 20:16:57 -0700 (PDT) From: "S.Uthaiyashankar (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (AXIS2C-1210) Service Client does not Pick the Correct Transport Receiver In-Reply-To: <1855371884.1214806905690.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] S.Uthaiyashankar updated AXIS2C-1210: ------------------------------------- Component/s: core/clientapi > Service Client does not Pick the Correct Transport Receiver > ----------------------------------------------------------- > > Key: AXIS2C-1210 > URL: https://issues.apache.org/jira/browse/AXIS2C-1210 > Project: Axis2-C > Issue Type: Bug > Components: core/clientapi, core/transport > Affects Versions: Current (Nightly) > Reporter: Danushka Menikkumbura > > In dual-channel scenarios, the service client (the listener manager) picks the transport receiver based on the value of the service client option, "transport_in_protocol". By default this has the value AXIS2_TRANSPORT_ENUM_HTTP and hence, the listener manager starts an HTTP receiver irrespective of the actual transport receiver unless we specify the transport_in_protocol explicitly using axis2_options_set_transport_in_protocol in the client implementation. But we should keep this setting transparent to the client programmer and ideally we can set this value inside the axis2_options_set_reply_to call because it is possible to infer the transport protocol by looking at the reply-to address. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Sep 10 06:05:23 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35554 invoked from network); 10 Sep 2009 06:05:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Sep 2009 06:05:23 -0000 Received: (qmail 20348 invoked by uid 500); 10 Sep 2009 06:05:23 -0000 Delivered-To: [email protected] Received: (qmail 20300 invoked by uid 500); 10 Sep 2009 06:05:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 20290 invoked by uid 99); 10 Sep 2009 06:05:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 06:05:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 06:05:19 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 779B8234C4C5 for <[email protected]>; Wed, 9 Sep 2009 23:04:58 -0700 (PDT) Message-ID: <1423066513.1252562698488.JavaMail.jira@brutus> Date: Wed, 9 Sep 2009 23:04:58 -0700 (PDT) From: "S.Uthaiyashankar (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (AXIS2C-1375) Guththila XML writer serialize soap incorrectly so that a soap message being sent out contains gabage characters In-Reply-To: <705932399.1244240647346.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753445#action_12753445 ] S.Uthaiyashankar commented on AXIS2C-1375: ------------------------------------------ Frank Zhou's macro is simple solution, but will not work for bigger messages because start element might be in a buffer lesser than (_buffer)->cur_buff-1. Ideally we have to search from buffer 0 until we find _pos. Hatim's solution is good, but I could not check all the cases. I felt Allan's solution was easy to understand and having less modification to the structures. So, I am committing that solution. > Guththila XML writer serialize soap incorrectly so that a soap message being sent out contains gabage characters > ---------------------------------------------------------------------------------------------------------------- > > Key: AXIS2C-1375 > URL: https://issues.apache.org/jira/browse/AXIS2C-1375 > Project: Axis2-C > Issue Type: Bug > Components: guththila > Affects Versions: 1.6.0 > Environment: windows XP > Reporter: Frank Zhou > Assignee: S.Uthaiyashankar > Priority: Blocker > Fix For: Next Version > > Attachments: guththila.diff, guththila_xml_writer.c, guththila_xml_writer.c, testGuththilaBufferError.xml, testingCodeSnappet.cpp > > > OK, since no one reply to my question, I have to debug the code and found out that guththila has a bug in managing buffer when seriazlize thea axiom tree (the soap structure) before actually send out the request, and I have a potential fix. This is really a critical bug I think, so I hope some developers can take a look at this problem. I am attaching the test input data and code snappet to reproduce the problem. > > Basically, the bug occurs in guththila_xml_writer.c. The guththila_xml_writer (I call it the soap serializer) maintains an array of buffers dynamically when it writes the soap structure into the buffers. The bug will occur in the following situation: > > Let's say I have an element <ns1:doDeleteFirst>12345</ns1:doDeleteFirst> somewhere in the soap structure. Now before this element, there are lots of other elements, and when the guththila_xml_writer trys to process this element, the first buffer is ALMOST full, it does not have enough space to write the whole element name <ns1:doDeleteFirst> (the start tag) into the buffer, it has to create a new buffer, so it writes <ns1: at the end of the first buffer (still a few more bytes left empty), and writes "doDeleteFirst" at the very beginning of the second buffer. > > The first buffer (Buffer length 16384): > -------------------------------------------------------------------------- > |**************************************************<ns1:--| > > The second buffer (Buffer length 32768): > --------------------------------------------------------------------------------------------------------------------------- > |doDeleteFirst-------------------------------------------------------------------------------------------------------------| > > As the second buffer becomes the current buffer, when the writer trys to process the end tag (</ns1:doDeleteFirst>), it uses an elem stack to track the namespace prefix and localname as in the following code: (starting from line 1396) > > elem->name = guththila_tok_list_get_token(&wr->tok_list, env); > elem->prefix = guththila_tok_list_get_token(&wr->tok_list, env); > elem->name->start = GUTHTHILA_BUF_POS(wr->buffer, elem_start); > elem->name->size = elem_len; > elem->prefix->start = GUTHTHILA_BUF_POS(wr->buffer, elem_pref_start); > elem->prefix->size = pref_len; > > The macro GUTHTHILA_BUF_POS is defined as this: > > #ifndef GUTHTHILA_BUF_POS > #define GUTHTHILA_BUF_POS(_buffer, _pos) > ((_buffer).buff[(_buffer).cur_buff] + _pos - (_buffer).pre_tot_data) > #endif > The bug occurs when it calcuate elem->prefix->start = GUTHTHILA_BUF_POS(wr->buffer, elem_pref_start): > > The elem_pref_start has a value of 16375, the pre_tot_data has a value of 16379 (the first buffer length is 16384), they are calculated based on the first buffer data, but the current buffer is the second one, so elem->prefix->start points to gabage! > > I hope this makes sense to you. Use my test case you will see this quickly. When you run the same XML data I attached, first set a break point at line 392 in the file guththila_xml_writer_wrapper, and set the hit count as 514 in the break properties (the 514th element in <ns1:doDeleteFirst>), then debug step by step. > > The potential fix is to define GUTHTHILA_BUF_POS as the following: > > if ((_buffer)->pre_tot_data > _pos) > return ((_buffer)->buff[(_buffer)->cur_buff-1] + _pos); > else > return ((_buffer)->buff[(_buffer)->cur_buff] + _pos - (_buffer)->pre_tot_data); > GUTHTHILA_BUF_POS is used everywhere, so I really hope some developer can take over this case and fix it! > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Sep 10 06:07:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36074 invoked from network); 10 Sep 2009 06:07:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Sep 2009 06:07:20 -0000 Received: (qmail 23953 invoked by uid 500); 10 Sep 2009 06:07:19 -0000 Delivered-To: [email protected] Received: (qmail 23885 invoked by uid 500); 10 Sep 2009 06:07:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 23876 invoked by uid 99); 10 Sep 2009 06:07:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 06:07:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 06:07:17 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 839B2234C055 for <[email protected]>; Wed, 9 Sep 2009 23:06:57 -0700 (PDT) Message-ID: <1825868464.1252562817538.JavaMail.jira@brutus> Date: Wed, 9 Sep 2009 23:06:57 -0700 (PDT) From: "S.Uthaiyashankar (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (AXIS2C-1375) Guththila XML writer serialize soap incorrectly so that a soap message being sent out contains gabage characters In-Reply-To: <705932399.1244240647346.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] S.Uthaiyashankar resolved AXIS2C-1375. -------------------------------------- Resolution: Fixed Fixed in revision 813238. Thank you every one for contributing. > Guththila XML writer serialize soap incorrectly so that a soap message being sent out contains gabage characters > ---------------------------------------------------------------------------------------------------------------- > > Key: AXIS2C-1375 > URL: https://issues.apache.org/jira/browse/AXIS2C-1375 > Project: Axis2-C > Issue Type: Bug > Components: guththila > Affects Versions: 1.6.0 > Environment: windows XP > Reporter: Frank Zhou > Assignee: S.Uthaiyashankar > Priority: Blocker > Fix For: Next Version > > Attachments: guththila.diff, guththila_xml_writer.c, guththila_xml_writer.c, testGuththilaBufferError.xml, testingCodeSnappet.cpp > > > OK, since no one reply to my question, I have to debug the code and found out that guththila has a bug in managing buffer when seriazlize thea axiom tree (the soap structure) before actually send out the request, and I have a potential fix. This is really a critical bug I think, so I hope some developers can take a look at this problem. I am attaching the test input data and code snappet to reproduce the problem. > > Basically, the bug occurs in guththila_xml_writer.c. The guththila_xml_writer (I call it the soap serializer) maintains an array of buffers dynamically when it writes the soap structure into the buffers. The bug will occur in the following situation: > > Let's say I have an element <ns1:doDeleteFirst>12345</ns1:doDeleteFirst> somewhere in the soap structure. Now before this element, there are lots of other elements, and when the guththila_xml_writer trys to process this element, the first buffer is ALMOST full, it does not have enough space to write the whole element name <ns1:doDeleteFirst> (the start tag) into the buffer, it has to create a new buffer, so it writes <ns1: at the end of the first buffer (still a few more bytes left empty), and writes "doDeleteFirst" at the very beginning of the second buffer. > > The first buffer (Buffer length 16384): > -------------------------------------------------------------------------- > |**************************************************<ns1:--| > > The second buffer (Buffer length 32768): > --------------------------------------------------------------------------------------------------------------------------- > |doDeleteFirst-------------------------------------------------------------------------------------------------------------| > > As the second buffer becomes the current buffer, when the writer trys to process the end tag (</ns1:doDeleteFirst>), it uses an elem stack to track the namespace prefix and localname as in the following code: (starting from line 1396) > > elem->name = guththila_tok_list_get_token(&wr->tok_list, env); > elem->prefix = guththila_tok_list_get_token(&wr->tok_list, env); > elem->name->start = GUTHTHILA_BUF_POS(wr->buffer, elem_start); > elem->name->size = elem_len; > elem->prefix->start = GUTHTHILA_BUF_POS(wr->buffer, elem_pref_start); > elem->prefix->size = pref_len; > > The macro GUTHTHILA_BUF_POS is defined as this: > > #ifndef GUTHTHILA_BUF_POS > #define GUTHTHILA_BUF_POS(_buffer, _pos) > ((_buffer).buff[(_buffer).cur_buff] + _pos - (_buffer).pre_tot_data) > #endif > The bug occurs when it calcuate elem->prefix->start = GUTHTHILA_BUF_POS(wr->buffer, elem_pref_start): > > The elem_pref_start has a value of 16375, the pre_tot_data has a value of 16379 (the first buffer length is 16384), they are calculated based on the first buffer data, but the current buffer is the second one, so elem->prefix->start points to gabage! > > I hope this makes sense to you. Use my test case you will see this quickly. When you run the same XML data I attached, first set a break point at line 392 in the file guththila_xml_writer_wrapper, and set the hit count as 514 in the break properties (the 514th element in <ns1:doDeleteFirst>), then debug step by step. > > The potential fix is to define GUTHTHILA_BUF_POS as the following: > > if ((_buffer)->pre_tot_data > _pos) > return ((_buffer)->buff[(_buffer)->cur_buff-1] + _pos); > else > return ((_buffer)->buff[(_buffer)->cur_buff] + _pos - (_buffer)->pre_tot_data); > GUTHTHILA_BUF_POS is used everywhere, so I really hope some developer can take over this case and fix it! > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Sep 10 11:45:28 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36251 invoked from network); 10 Sep 2009 11:45:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Sep 2009 11:45:28 -0000 Received: (qmail 95811 invoked by uid 500); 10 Sep 2009 11:45:27 -0000 Delivered-To: [email protected] Received: (qmail 95770 invoked by uid 500); 10 Sep 2009 11:45:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 95760 invoked by uid 99); 10 Sep 2009 11:45:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 11:45:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 11:45:17 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 8132F234C004 for <[email protected]>; Thu, 10 Sep 2009 04:44:57 -0700 (PDT) Message-ID: <1998702082.1252583097521.JavaMail.jira@brutus> Date: Thu, 10 Sep 2009 04:44:57 -0700 (PDT) From: "S.Uthaiyashankar (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (AXIS2C-1356) Text longer than 128K silently discarded with guththila parser In-Reply-To: <497353722.1236692330954.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] S.Uthaiyashankar reassigned AXIS2C-1356: ---------------------------------------- Assignee: S.Uthaiyashankar > Text longer than 128K silently discarded with guththila parser > -------------------------------------------------------------- > > Key: AXIS2C-1356 > URL: https://issues.apache.org/jira/browse/AXIS2C-1356 > Project: Axis2-C > Issue Type: Bug > Components: guththila > Affects Versions: 1.5.0 > Environment: Linux, Apache, Axis2 C service > Reporter: Emanuele Benedetti > Assignee: S.Uthaiyashankar > Fix For: Next Version > > > I created a services in C/C++ under Linux using the Axis2/c framework. > The service have one function which takes one string parameter. I run the service using the Apache axis module. > The soap xml message is similar to the following (checked with tcpmon): > <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> > <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > <Receive xmlns="http://vww.obscuredforprivacy.xxx/axis2/services/Begin"> > <updategram>long text string</updategram> > </Receive> > </s:Body> > </s:Envelope> > If the long text string in the <updategram> element is longer than 128K, in the call to the main serivice procedure (the one assigned to axis2_svc_skeleton_opsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8binvoke and called by the axis2 engine), the node parameter (third parameter of type axiom_node_t *) have the following structure: > <Receive><updategram></updategram></Receive> > that is the <updategram> is empty. There is no error in any log. The <updategram> is discarded. > This happen only if the axis2c framework is configured with the default options. That is, the guththila parser is used (it is on by default). If I configure axis2 with the --enable-libxml2, everything is working fine. > So it seem to be a limit in the guththila parser. > Grretings -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Sep 10 11:45:30 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36295 invoked from network); 10 Sep 2009 11:45:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Sep 2009 11:45:30 -0000 Received: (qmail 96041 invoked by uid 500); 10 Sep 2009 11:45:30 -0000 Delivered-To: [email protected] Received: (qmail 95991 invoked by uid 500); 10 Sep 2009 11:45:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 95982 invoked by uid 99); 10 Sep 2009 11:45:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 11:45:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 11:45:19 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id EEE10234C1EF for <[email protected]>; Thu, 10 Sep 2009 04:44:57 -0700 (PDT) Message-ID: <316842999.1252583097977.JavaMail.jira@brutus> Date: Thu, 10 Sep 2009 04:44:57 -0700 (PDT) From: "S.Uthaiyashankar (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (AXIS2C-1356) Text longer than 128K silently discarded with guththila parser In-Reply-To: <497353722.1236692330954.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] S.Uthaiyashankar resolved AXIS2C-1356. -------------------------------------- Resolution: Fixed Fix Version/s: Next Version Fixed in revision 813383 > Text longer than 128K silently discarded with guththila parser > -------------------------------------------------------------- > > Key: AXIS2C-1356 > URL: https://issues.apache.org/jira/browse/AXIS2C-1356 > Project: Axis2-C > Issue Type: Bug > Components: guththila > Affects Versions: 1.5.0 > Environment: Linux, Apache, Axis2 C service > Reporter: Emanuele Benedetti > Assignee: S.Uthaiyashankar > Fix For: Next Version > > > I created a services in C/C++ under Linux using the Axis2/c framework. > The service have one function which takes one string parameter. I run the service using the Apache axis module. > The soap xml message is similar to the following (checked with tcpmon): > <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> > <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > <Receive xmlns="http://vww.obscuredforprivacy.xxx/axis2/services/Begin"> > <updategram>long text string</updategram> > </Receive> > </s:Body> > </s:Envelope> > If the long text string in the <updategram> element is longer than 128K, in the call to the main serivice procedure (the one assigned to axis2_svc_skeleton_opsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8binvoke and called by the axis2 engine), the node parameter (third parameter of type axiom_node_t *) have the following structure: > <Receive><updategram></updategram></Receive> > that is the <updategram> is empty. There is no error in any log. The <updategram> is discarded. > This happen only if the axis2c framework is configured with the default options. That is, the guththila parser is used (it is on by default). If I configure axis2 with the --enable-libxml2, everything is working fine. > So it seem to be a limit in the guththila parser. > Grretings -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Sep 10 14:55:23 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 734 invoked from network); 10 Sep 2009 14:55:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Sep 2009 14:55:23 -0000 Received: (qmail 31849 invoked by uid 500); 10 Sep 2009 14:55:22 -0000 Delivered-To: [email protected] Received: (qmail 31737 invoked by uid 500); 10 Sep 2009 14:55:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 31528 invoked by uid 99); 10 Sep 2009 14:55:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 14:55:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 14:55:18 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id AACE7234C4A7 for <[email protected]>; Thu, 10 Sep 2009 07:54:57 -0700 (PDT) Message-ID: <569414473.1252594497698.JavaMail.jira@brutus> Date: Thu, 10 Sep 2009 07:54:57 -0700 (PDT) From: "Sebastien Bigot (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (AXIS2C-1393) axiom_soap_builder_identify_soap_version should accept parameter soap_version_uri_from_transport to be NULL MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org axiom_soap_builder_identify_soap_version should accept parameter soap_version_uri_from_transport to be NULL ----------------------------------------------------------------------------------------------------------- Key: AXIS2C-1393 URL: https://issues.apache.org/jira/browse/AXIS2C-1393 Project: Axis2-C Issue Type: Bug Components: xml/soap Affects Versions: 1.6.0 Reporter: Sebastien Bigot Looking at axiom_soap_builder_identify_soap_version in soap_builder.c, NULL soap_version_uri_from_transport means that we don't know the version of the soap message to be decoded prior the call to axiom_soap_builder_identify_soap_version. You should remove this AXIS2_PARAM_CHECK(env->error, soap_version_uri_from_transport, AXIS2_FAILURE); at line 873 since later we check that the soap message should match the specified soap version ( line 914), and if it was not specified just set the soap version to the one decoded in the message (line 925, 940). Regards, Sebastien -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Sep 10 18:23:23 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85628 invoked from network); 10 Sep 2009 18:23:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Sep 2009 18:23:23 -0000 Received: (qmail 31466 invoked by uid 500); 10 Sep 2009 18:23:23 -0000 Delivered-To: [email protected] Received: (qmail 31381 invoked by uid 500); 10 Sep 2009 18:23:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 31324 invoked by uid 99); 10 Sep 2009 18:23:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 18:23:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 18:23:19 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 55AF6234C4AC for <[email protected]>; Thu, 10 Sep 2009 11:22:58 -0700 (PDT) Message-ID: <346290422.1252606978349.JavaMail.jira@brutus> Date: Thu, 10 Sep 2009 11:22:58 -0700 (PDT) From: "Nandika Jayawardana (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (AXIS2C-1387) apache2_stream_read function ignores errors from ap_get_client_block is size_t is unsigned In-Reply-To: <+1-972-395-1092.1250184195486.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nandika Jayawardana resolved AXIS2C-1387. ----------------------------------------- Resolution: Fixed Patch applied. Thanks for providing the patch. > apache2_stream_read function ignores errors from ap_get_client_block is size_t is unsigned > ------------------------------------------------------------------------------------------ > > Key: AXIS2C-1387 > URL: https://issues.apache.org/jira/browse/AXIS2C-1387 > Project: Axis2-C > Issue Type: Bug > Components: httpd module > Affects Versions: 1.6.0 > Environment: CentOS 5.3 > httpd-2.2.3 > rampartc-1.3.0 > dell precision desktop > Reporter: Murph McCloy > Assignee: Nandika Jayawardana > Priority: Minor > Attachments: apache2_stream_read_input_filter.patch > > Original Estimate: 1h > Remaining Estimate: 1h > > This problem has only been noticed when attempting to decompress input streams via apache. > The problem occurs when a decompression payload fails to decompress properly. In my test case it was because the payload had some flags set in the gzip headers and mod_deflate doesn't support flags. mod_deflate then returned an APR_EGENERAL error message. This message then bubbled up and was returned as a -1 to apache2_stream_read. > This is a problem because size_t, on my system, is unsigned. The checks in apache2_stream_read fail to catch a negative value in this scenario and dont respond appropriately. > while (count - len > 0) > { > read = ap_get_client_block(stream_impl->request, (char *)buffer + len, count - len); > if (read > 0) > { > len += read; > } > else > { > break; > } > } > The else statement will never get reached while read is unsigned. Also, the while loop might have troubles as well. I would suggest modifying read and len to be ssize_t so they match the return value of ap_get_client_block. > If I get this modified and working, I will submit a patch. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Sep 10 18:23:23 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85623 invoked from network); 10 Sep 2009 18:23:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Sep 2009 18:23:23 -0000 Received: (qmail 31421 invoked by uid 500); 10 Sep 2009 18:23:23 -0000 Delivered-To: [email protected] Received: (qmail 31379 invoked by uid 500); 10 Sep 2009 18:23:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 31271 invoked by uid 99); 10 Sep 2009 18:23:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 18:23:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 18:23:19 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 15ED6234C1EF for <[email protected]>; Thu, 10 Sep 2009 11:22:58 -0700 (PDT) Message-ID: <1188101025.1252606978088.JavaMail.jira@brutus> Date: Thu, 10 Sep 2009 11:22:58 -0700 (PDT) From: "Nandika Jayawardana (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (AXIS2C-1387) apache2_stream_read function ignores errors from ap_get_client_block is size_t is unsigned In-Reply-To: <+1-972-395-1092.1250184195486.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nandika Jayawardana reassigned AXIS2C-1387: ------------------------------------------- Assignee: Nandika Jayawardana > apache2_stream_read function ignores errors from ap_get_client_block is size_t is unsigned > ------------------------------------------------------------------------------------------ > > Key: AXIS2C-1387 > URL: https://issues.apache.org/jira/browse/AXIS2C-1387 > Project: Axis2-C > Issue Type: Bug > Components: httpd module > Affects Versions: 1.6.0 > Environment: CentOS 5.3 > httpd-2.2.3 > rampartc-1.3.0 > dell precision desktop > Reporter: Murph McCloy > Assignee: Nandika Jayawardana > Priority: Minor > Attachments: apache2_stream_read_input_filter.patch > > Original Estimate: 1h > Remaining Estimate: 1h > > This problem has only been noticed when attempting to decompress input streams via apache. > The problem occurs when a decompression payload fails to decompress properly. In my test case it was because the payload had some flags set in the gzip headers and mod_deflate doesn't support flags. mod_deflate then returned an APR_EGENERAL error message. This message then bubbled up and was returned as a -1 to apache2_stream_read. > This is a problem because size_t, on my system, is unsigned. The checks in apache2_stream_read fail to catch a negative value in this scenario and dont respond appropriately. > while (count - len > 0) > { > read = ap_get_client_block(stream_impl->request, (char *)buffer + len, count - len); > if (read > 0) > { > len += read; > } > else > { > break; > } > } > The else statement will never get reached while read is unsigned. Also, the while loop might have troubles as well. I would suggest modifying read and len to be ssize_t so they match the return value of ap_get_client_block. > If I get this modified and working, I will submit a patch. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Sep 10 18:39:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92046 invoked from network); 10 Sep 2009 18:39:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Sep 2009 18:39:20 -0000 Received: (qmail 51236 invoked by uid 500); 10 Sep 2009 18:39:20 -0000 Delivered-To: [email protected] Received: (qmail 51180 invoked by uid 500); 10 Sep 2009 18:39:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 51171 invoked by uid 99); 10 Sep 2009 18:39:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 18:39:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 18:39:17 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 8660A234C004 for <[email protected]>; Thu, 10 Sep 2009 11:38:57 -0700 (PDT) Message-ID: <1312150900.1252607937534.JavaMail.jira@brutus> Date: Thu, 10 Sep 2009 11:38:57 -0700 (PDT) From: "Nandika Jayawardana (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (AXIS2C-1393) axiom_soap_builder_identify_soap_version should accept parameter soap_version_uri_from_transport to be NULL In-Reply-To: <569414473.1252594497698.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753758#action_12753758 ] Nandika Jayawardana commented on AXIS2C-1393: --------------------------------------------- The soap version will always be identified at the transport level by looking at the content type header. Therefore this check makes sure that an error is returned when there is a mismatch or issue with the content type header and the actual soap message > axiom_soap_builder_identify_soap_version should accept parameter soap_version_uri_from_transport to be NULL > ----------------------------------------------------------------------------------------------------------- > > Key: AXIS2C-1393 > URL: https://issues.apache.org/jira/browse/AXIS2C-1393 > Project: Axis2-C > Issue Type: Bug > Components: xml/soap > Affects Versions: 1.6.0 > Reporter: Sebastien Bigot > > Looking at axiom_soap_builder_identify_soap_version in soap_builder.c, > NULL soap_version_uri_from_transport means that we don't know the version of the soap message to be decoded prior the call to axiom_soap_builder_identify_soap_version. > You should remove this > AXIS2_PARAM_CHECK(env->error, soap_version_uri_from_transport, AXIS2_FAILURE); at line 873 > since later we check that the soap message should match the specified soap version ( line 914), > and if it was not specified just set the soap version to the one decoded in the message (line 925, 940). > Regards, > Sebastien -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Sep 11 06:07:21 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17653 invoked from network); 11 Sep 2009 06:07:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Sep 2009 06:07:21 -0000 Received: (qmail 91545 invoked by uid 500); 11 Sep 2009 06:07:21 -0000 Delivered-To: [email protected] Received: (qmail 91505 invoked by uid 500); 11 Sep 2009 06:07:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 91496 invoked by uid 99); 11 Sep 2009 06:07:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2009 06:07:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2009 06:07:18 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 77E36234C004 for <[email protected]>; Thu, 10 Sep 2009 23:06:57 -0700 (PDT) Message-ID: <1845453354.1252649217455.JavaMail.jira@brutus> Date: Thu, 10 Sep 2009 23:06:57 -0700 (PDT) From: "Sebastien Bigot (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (AXIS2C-1393) axiom_soap_builder_identify_soap_version should accept parameter soap_version_uri_from_transport to be NULL In-Reply-To: <569414473.1252594497698.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12754016#action_12754016 ] Sebastien Bigot commented on AXIS2C-1393: ----------------------------------------- The fact is that not everybody is using HTTP at transport layer, but, for example, a legacy transport protocol which is not soap/web services aware. In this case, if an endpoint accept both soap 1.1 and soap 1.2, the only way to know is to check for the soap namespace declaration in the soap env. Regards, Sebastien > axiom_soap_builder_identify_soap_version should accept parameter soap_version_uri_from_transport to be NULL > ----------------------------------------------------------------------------------------------------------- > > Key: AXIS2C-1393 > URL: https://issues.apache.org/jira/browse/AXIS2C-1393 > Project: Axis2-C > Issue Type: Bug > Components: xml/soap > Affects Versions: 1.6.0 > Reporter: Sebastien Bigot > > Looking at axiom_soap_builder_identify_soap_version in soap_builder.c, > NULL soap_version_uri_from_transport means that we don't know the version of the soap message to be decoded prior the call to axiom_soap_builder_identify_soap_version. > You should remove this > AXIS2_PARAM_CHECK(env->error, soap_version_uri_from_transport, AXIS2_FAILURE); at line 873 > since later we check that the soap message should match the specified soap version ( line 914), > and if it was not specified just set the soap version to the one decoded in the message (line 925, 940). > Regards, > Sebastien -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Sep 16 07:08:23 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26739 invoked from network); 16 Sep 2009 07:08:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Sep 2009 07:08:23 -0000 Received: (qmail 61960 invoked by uid 500); 16 Sep 2009 07:08:22 -0000 Delivered-To: [email protected] Received: (qmail 61873 invoked by uid 500); 16 Sep 2009 07:08:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 61788 invoked by uid 99); 16 Sep 2009 07:08:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2009 07:08:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2009 07:08:18 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 9D41A234C1EF for <[email protected]>; Wed, 16 Sep 2009 00:07:57 -0700 (PDT) Message-ID: <1627144267.1253084877643.JavaMail.jira@brutus> Date: Wed, 16 Sep 2009 00:07:57 -0700 (PDT) From: "Francois Mireaux (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (AXIS2C-1394) Incorrect SOAP fault handling when Rampart is engaged MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Incorrect SOAP fault handling when Rampart is engaged ----------------------------------------------------- Key: AXIS2C-1394 URL: https://issues.apache.org/jira/browse/AXIS2C-1394 Project: Axis2-C Issue Type: Bug Components: core/engine Affects Versions: Current (Nightly) Reporter: Francois Mireaux When axis2_msg_recv_receive_impl detects that response is a SOAP fault, it doesn't send this response but delegates sending to HTTP transport (http_transport_utils.c). But the fault message context created by axis2_engine_create_fault_msg_ctx doesn't copy the base axis2 context contained in input message context, as in axis2_core_utils_create_out_msg_ctx used in normal processing. So Rampart context is not found, Rampart fails to process and SOAP fault is send without security headers. Adding this code at the end of axis2_engine_create_fault_msg_ctx seems to correct the problem but I don't enough master Axis2/C to know if it's allways ok : if ( 1 == 1 ) { // in order to localize ctx declaration axis2_ctx_t *ctx = axis2_msg_ctx_get_base(processing_context, env); if (ctx) { axis2_ctx_t *new_ctx = axis2_msg_ctx_get_base(fault_ctx, env); if (new_ctx) { axis2_ctx_set_property_map(new_ctx, env, axis2_ctx_get_property_map(ctx, env)); } } Problem was detected with WSO2 WSF/PHP and I haven't simple Rampart-C test to submit. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Sep 17 23:03:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17411 invoked from network); 17 Sep 2009 23:03:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Sep 2009 23:03:20 -0000 Received: (qmail 21517 invoked by uid 500); 17 Sep 2009 23:03:20 -0000 Delivered-To: [email protected] Received: (qmail 21468 invoked by uid 500); 17 Sep 2009 23:03:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 21459 invoked by uid 99); 17 Sep 2009 23:03:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Sep 2009 23:03:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Sep 2009 23:03:17 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 74B74234C044 for <[email protected]>; Thu, 17 Sep 2009 16:02:57 -0700 (PDT) Message-ID: <1539666679.1253228577463.JavaMail.jira@brutus> Date: Thu, 17 Sep 2009 16:02:57 -0700 (PDT) From: "Russell Tempero (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (AXIS2C-1395) axutil_date_time_deserialize_date() allows deserialization of strings that contain the time MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org axutil_date_time_deserialize_date() allows deserialization of strings that contain the time ------------------------------------------------------------------------------------------- Key: AXIS2C-1395 URL: https://issues.apache.org/jira/browse/AXIS2C-1395 Project: Axis2-C Issue Type: Bug Components: core/clientapi Affects Versions: 1.6.0 Environment: $ uname -a Linux clearwater 2.6.18-8.el5 #1 SMP Thu Mar 15 19:46:53 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux $ gcc --version gcc (GCC) 4.2.2 Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Reporter: Russell Tempero Priority: Minor Fix For: 1.6.0 Attachments: date_time.c.diff The axutil_date_time_deserialize_date() function deserializes the date from a string that also contains the time and does not error. For example, the following string would be deserialized, even though it is actually a dateTime, rather than a date value. 2009-07-20T16:16:58Z According to the following specification, this behavior should not be allowed: http://www.w3.org/TR/xmlschema-2/#date I have included a proposed patch that fixes the issue. Basically, I search the input string for the 'T', which precedes the time portion of a dateTime value. If 'T' is found, the function returns with an error status. Let me know if there might be a better way of detecting an incorrect value in this case. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Sep 17 23:03:22 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17441 invoked from network); 17 Sep 2009 23:03:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Sep 2009 23:03:22 -0000 Received: (qmail 21715 invoked by uid 500); 17 Sep 2009 23:03:22 -0000 Delivered-To: [email protected] Received: (qmail 21680 invoked by uid 500); 17 Sep 2009 23:03:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 21671 invoked by uid 99); 17 Sep 2009 23:03:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Sep 2009 23:03:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Sep 2009 23:03:18 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 8383C234C1E9 for <[email protected]>; Thu, 17 Sep 2009 16:02:57 -0700 (PDT) Message-ID: <948090507.1253228577537.JavaMail.jira@brutus> Date: Thu, 17 Sep 2009 16:02:57 -0700 (PDT) From: "Russell Tempero (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (AXIS2C-1395) axutil_date_time_deserialize_date() allows deserialization of strings that contain the time In-Reply-To: <1539666679.1253228577463.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Russell Tempero updated AXIS2C-1395: ------------------------------------ Attachment: date_time.c.diff Attached proposed patch to fix this issue. > axutil_date_time_deserialize_date() allows deserialization of strings that contain the time > ------------------------------------------------------------------------------------------- > > Key: AXIS2C-1395 > URL: https://issues.apache.org/jira/browse/AXIS2C-1395 > Project: Axis2-C > Issue Type: Bug > Components: core/clientapi > Affects Versions: 1.6.0 > Environment: $ uname -a > Linux clearwater 2.6.18-8.el5 #1 SMP Thu Mar 15 19:46:53 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux > $ gcc --version > gcc (GCC) 4.2.2 > Copyright (C) 2007 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > Reporter: Russell Tempero > Priority: Minor > Fix For: 1.6.0 > > Attachments: date_time.c.diff > > Original Estimate: 1h > Remaining Estimate: 1h > > The axutil_date_time_deserialize_date() function deserializes the date from a string that also contains the time and does not error. For example, the following string would be deserialized, even though it is actually a dateTime, rather than a date value. > 2009-07-20T16:16:58Z > According to the following specification, this behavior should not be allowed: > http://www.w3.org/TR/xmlschema-2/#date > I have included a proposed patch that fixes the issue. Basically, I search the input string for the 'T', which precedes the time portion of a dateTime value. If 'T' is found, the function returns with an error status. Let me know if there might be a better way of detecting an incorrect value in this case. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Sep 19 09:23:41 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58062 invoked from network); 19 Sep 2009 09:23:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Sep 2009 09:23:41 -0000 Received: (qmail 35678 invoked by uid 500); 19 Sep 2009 09:23:41 -0000 Delivered-To: [email protected] Received: (qmail 35572 invoked by uid 500); 19 Sep 2009 09:23:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 35563 invoked by uid 99); 19 Sep 2009 09:23:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Sep 2009 09:23:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Sep 2009 09:23:37 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 267B5234C1E9 for <[email protected]>; Sat, 19 Sep 2009 02:23:16 -0700 (PDT) Message-ID: <1110292353.1253352196156.JavaMail.jira@brutus> Date: Sat, 19 Sep 2009 02:23:16 -0700 (PDT) From: "Nandika Jayawardana (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (AXIS2C-1394) Incorrect SOAP fault handling when Rampart is engaged In-Reply-To: <1627144267.1253084877643.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nandika Jayawardana resolved AXIS2C-1394. ----------------------------------------- Resolution: Fixed Fix Version/s: Current (Nightly) Assignee: Nandika Jayawardana Applied the fix to axis2 trunk > Incorrect SOAP fault handling when Rampart is engaged > ----------------------------------------------------- > > Key: AXIS2C-1394 > URL: https://issues.apache.org/jira/browse/AXIS2C-1394 > Project: Axis2-C > Issue Type: Bug > Components: core/engine > Affects Versions: Current (Nightly) > Reporter: Francois Mireaux > Assignee: Nandika Jayawardana > Fix For: Current (Nightly) > > > When axis2_msg_recv_receive_impl detects that response is a SOAP fault, it doesn't send this response but delegates sending to HTTP transport (http_transport_utils.c). But the fault message context created by axis2_engine_create_fault_msg_ctx doesn't copy the base axis2 context contained in input message context, as in axis2_core_utils_create_out_msg_ctx used in normal processing. So Rampart context is not found, Rampart fails to process and SOAP fault is send without security headers. > Adding this code at the end of axis2_engine_create_fault_msg_ctx seems to correct the problem but I don't enough master Axis2/C to know if it's allways ok : > if ( 1 == 1 ) { // in order to localize ctx declaration > axis2_ctx_t *ctx = axis2_msg_ctx_get_base(processing_context, env); > if (ctx) > { > axis2_ctx_t *new_ctx = axis2_msg_ctx_get_base(fault_ctx, env); > if (new_ctx) > { > axis2_ctx_set_property_map(new_ctx, env, > axis2_ctx_get_property_map(ctx, env)); > } > } > Problem was detected with WSO2 WSF/PHP and I haven't simple Rampart-C test to submit. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Sep 19 09:38:41 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64510 invoked from network); 19 Sep 2009 09:38:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Sep 2009 09:38:41 -0000 Received: (qmail 41991 invoked by uid 500); 19 Sep 2009 09:38:41 -0000 Delivered-To: [email protected] Received: (qmail 41938 invoked by uid 500); 19 Sep 2009 09:38:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 41929 invoked by uid 99); 19 Sep 2009 09:38:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Sep 2009 09:38:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Sep 2009 09:38:37 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 1D3C5234C1E9 for <[email protected]>; Sat, 19 Sep 2009 02:38:16 -0700 (PDT) Message-ID: <1779754859.1253353096118.JavaMail.jira@brutus> Date: Sat, 19 Sep 2009 02:38:16 -0700 (PDT) From: "Nandika Jayawardana (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (AXIS2C-1395) axutil_date_time_deserialize_date() allows deserialization of strings that contain the time In-Reply-To: <1539666679.1253228577463.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nandika Jayawardana resolved AXIS2C-1395. ----------------------------------------- Resolution: Fixed Fix Version/s: (was: 1.6.0) Current (Nightly) Assignee: Nandika Jayawardana Patch applied. Thanks for the patch. > axutil_date_time_deserialize_date() allows deserialization of strings that contain the time > ------------------------------------------------------------------------------------------- > > Key: AXIS2C-1395 > URL: https://issues.apache.org/jira/browse/AXIS2C-1395 > Project: Axis2-C > Issue Type: Bug > Components: core/clientapi > Affects Versions: 1.6.0 > Environment: $ uname -a > Linux clearwater 2.6.18-8.el5 #1 SMP Thu Mar 15 19:46:53 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux > $ gcc --version > gcc (GCC) 4.2.2 > Copyright (C) 2007 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > Reporter: Russell Tempero > Assignee: Nandika Jayawardana > Priority: Minor > Fix For: Current (Nightly) > > Attachments: date_time.c.diff > > Original Estimate: 1h > Remaining Estimate: 1h > > The axutil_date_time_deserialize_date() function deserializes the date from a string that also contains the time and does not error. For example, the following string would be deserialized, even though it is actually a dateTime, rather than a date value. > 2009-07-20T16:16:58Z > According to the following specification, this behavior should not be allowed: > http://www.w3.org/TR/xmlschema-2/#date > I have included a proposed patch that fixes the issue. Basically, I search the input string for the 'T', which precedes the time portion of a dateTime value. If 'T' is found, the function returns with an error status. Let me know if there might be a better way of detecting an incorrect value in this case. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Sep 19 10:12:38 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67496 invoked from network); 19 Sep 2009 10:12:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Sep 2009 10:12:38 -0000 Received: (qmail 53396 invoked by uid 500); 19 Sep 2009 10:12:38 -0000 Delivered-To: [email protected] Received: (qmail 53368 invoked by uid 500); 19 Sep 2009 10:12:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 53359 invoked by uid 99); 19 Sep 2009 10:12:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Sep 2009 10:12:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Sep 2009 10:12:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 1B08E234C046 for <[email protected]>; Sat, 19 Sep 2009 03:12:16 -0700 (PDT) Message-ID: <387715977.1253355136109.JavaMail.jira@brutus> Date: Sat, 19 Sep 2009 03:12:16 -0700 (PDT) From: "Nandika Jayawardana (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (AXIS2C-1143) Implement CGI deployment support for Axis2/C In-Reply-To: <212043165.1210921135701.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nandika Jayawardana resolved AXIS2C-1143. ----------------------------------------- Resolution: Fixed Fix Version/s: (was: Next Version) Current (Nightly) The code is committed to the trunk, therefore resolving the issue. > Implement CGI deployment support for Axis2/C > ---------------------------------------------- > > Key: AXIS2C-1143 > URL: https://issues.apache.org/jira/browse/AXIS2C-1143 > Project: Axis2-C > Issue Type: New Feature > Components: transport/http > Environment: Linux\Windows > Reporter: Nandika Jayawardana > Assignee: Nandika Jayawardana > Fix For: Current (Nightly) > > Attachments: Axis2C CGI.zip > > > This would require implementing an executable that will enable deploying Axis2/C on Web Servers that Support CGI. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Sep 25 11:40:41 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25156 invoked from network); 25 Sep 2009 11:40:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Sep 2009 11:40:41 -0000 Received: (qmail 5794 invoked by uid 500); 25 Sep 2009 11:40:41 -0000 Delivered-To: [email protected] Received: (qmail 5731 invoked by uid 500); 25 Sep 2009 11:40:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 5722 invoked by uid 99); 25 Sep 2009 11:40:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 11:40:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 11:40:37 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 3C40E234C004 for <[email protected]>; Fri, 25 Sep 2009 04:40:16 -0700 (PDT) Message-ID: <1350096340.1253878816234.JavaMail.jira@brutus> Date: Fri, 25 Sep 2009 04:40:16 -0700 (PDT) From: "Nandika Jayawardana (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (AXIS2C-1396) When outputting faults, sometimes, it is necessary to namespace qualify text values. Currently this is not suported in Axis2/C MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org When outputting faults, sometimes, it is necessary to namespace qualify text values. Currently this is not suported in Axis2/C ------------------------------------------------------------------------------------------------------------------------------ Key: AXIS2C-1396 URL: https://issues.apache.org/jira/browse/AXIS2C-1396 Project: Axis2-C Issue Type: Bug Environment: Any Reporter: Nandika Jayawardana When handling Soap faults, it is necessary to qualify the text data with a namespace prefix. Eg. <env:Code> <env:Value>env:Sender</env:Value> <env:Subcode> <env:Value>m:MessageTimeout</env:Value> </env:Subcode> </env:Code> For this, it is necessary to have a method to axiom_text_t to set the namespce and that correct namespace prefix must be appended to the text value serialized -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Sep 25 17:48:41 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68180 invoked from network); 25 Sep 2009 17:48:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Sep 2009 17:48:40 -0000 Received: (qmail 23366 invoked by uid 500); 25 Sep 2009 17:48:40 -0000 Delivered-To: [email protected] Received: (qmail 23145 invoked by uid 500); 25 Sep 2009 17:48:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 23053 invoked by uid 99); 25 Sep 2009 17:48:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 17:48:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 17:48:37 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 2943C234C4BA for <[email protected]>; Fri, 25 Sep 2009 10:48:16 -0700 (PDT) Message-ID: <1002342886.1253900896168.JavaMail.jira@brutus> Date: Fri, 25 Sep 2009 10:48:16 -0700 (PDT) From: "Frank Zhou (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (AXIS2C-1397) HTTPS through proxy does not work for WS client MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org HTTPS through proxy does not work for WS client ----------------------------------------------- Key: AXIS2C-1397 URL: https://issues.apache.org/jira/browse/AXIS2C-1397 Project: Axis2-C Issue Type: Bug Affects Versions: 1.6.0 Environment: I have WS client in windows XP machine Reporter: Frank Zhou I have a web service client using axis2/c installed in a windows XP machine. The client machine is behind a proxy server. The web service provides services that requires use HTTPS/SSL. I have set the proxy host and port properly in the configuration file axis2.xml, and in my case no proxy authentication is needed. The HTTPS/SSL setting is also configured in axis2.xml. My web service client is still unable to establish connection with the web server. I tested that HTTPS/SSL without proxy server is working fine, I also tested that HTTP (NOT HTTPS) works with proxy server settings. Not sure if this is related to the issue JIRA-1312. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Sep 28 06:33:41 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48454 invoked from network); 28 Sep 2009 06:33:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Sep 2009 06:33:40 -0000 Received: (qmail 28439 invoked by uid 500); 28 Sep 2009 06:33:40 -0000 Delivered-To: [email protected] Received: (qmail 28357 invoked by uid 500); 28 Sep 2009 06:33:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 28343 invoked by uid 99); 28 Sep 2009 06:33:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Sep 2009 06:33:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Sep 2009 06:33:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 01606234C004 for <[email protected]>; Sun, 27 Sep 2009 23:33:16 -0700 (PDT) Message-ID: <250089612.1254119596001.JavaMail.jira@brutus> Date: Sun, 27 Sep 2009 23:33:16 -0700 (PDT) From: "Nandika Jayawardana (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (AXIS2C-1398) Added a method to the options to set mustunderstand attribute to addressing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Added a method to the options to set mustunderstand attribute to addressing --------------------------------------------------------------------------- Key: AXIS2C-1398 URL: https://issues.apache.org/jira/browse/AXIS2C-1398 Project: Axis2-C Issue Type: Bug Environment: Any Reporter: Nandika Jayawardana Currently there isnt a convenient way to set mustunderstand attribute for WS-Addressing headers from the client api -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Sep 28 08:21:38 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73119 invoked from network); 28 Sep 2009 08:21:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Sep 2009 08:21:38 -0000 Received: (qmail 20231 invoked by uid 500); 28 Sep 2009 08:21:38 -0000 Delivered-To: [email protected] Received: (qmail 20150 invoked by uid 500); 28 Sep 2009 08:21:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 20140 invoked by uid 99); 28 Sep 2009 08:21:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Sep 2009 08:21:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Sep 2009 08:21:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 1D47C234C04C for <[email protected]>; Mon, 28 Sep 2009 01:21:16 -0700 (PDT) Message-ID: <1598249831.1254126076119.JavaMail.jira@brutus> Date: Mon, 28 Sep 2009 01:21:16 -0700 (PDT) From: "Nandika Jayawardana (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (AXIS2C-1398) Add a method to the axis2_options to set mustunderstand attribute to WS-Addressing In-Reply-To: <250089612.1254119596001.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nandika Jayawardana updated AXIS2C-1398: ---------------------------------------- Summary: Add a method to the axis2_options to set mustunderstand attribute to WS-Addressing (was: Added a method to the options to set mustunderstand attribute to addressing) > Add a method to the axis2_options to set mustunderstand attribute to WS-Addressing > ---------------------------------------------------------------------------------- > > Key: AXIS2C-1398 > URL: https://issues.apache.org/jira/browse/AXIS2C-1398 > Project: Axis2-C > Issue Type: Bug > Environment: Any > Reporter: Nandika Jayawardana > > Currently there isnt a convenient way to set mustunderstand attribute for WS-Addressing headers from the client api -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 29 21:35:39 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69069 invoked from network); 29 Sep 2009 21:35:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Sep 2009 21:35:38 -0000 Received: (qmail 15439 invoked by uid 500); 29 Sep 2009 21:35:38 -0000 Delivered-To: [email protected] Received: (qmail 15389 invoked by uid 500); 29 Sep 2009 21:35:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 15380 invoked by uid 99); 29 Sep 2009 21:35:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2009 21:35:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,NORMAL_HTTP_TO_IP X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2009 21:35:29 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E509E234C045 for <[email protected]>; Tue, 29 Sep 2009 14:35:07 -0700 (PDT) Message-ID: <1431005846.1254260107936.JavaMail.jira@brutus> Date: Tue, 29 Sep 2009 14:35:07 -0700 (PDT) From: "George Sherwood (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (AXIS2C-1399) Invalid Transport Protocol, HTTPS transport not enabled on Linux MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Invalid Transport Protocol, HTTPS transport not enabled on Linux ---------------------------------------------------------------- Key: AXIS2C-1399 URL: https://issues.apache.org/jira/browse/AXIS2C-1399 Project: Axis2-C Issue Type: Bug Components: transport/http Affects Versions: 1.6.0 Environment: Red Hat EL 4.7 and Apache2 httpd-2.0.63. Axis2/C is deployed as an Apache2 module. Reporter: George Sherwood (From axis-c-user list message "SSL configuration question" 2009-09-27 2:44:52) I have been using axis2c-src-1.6.0 for a few days with an existing service running \ Red Hat EL 4.7 and Apache2 httpd-2.0.63. Axis2/C is deployed as an Apache2 module. \ The samples and hello work with http transport, but I have not run https successfully \ with axis2 yet. The problem appears to be similar to that reported 2009-05-14 by \ chankm (Kwang Mien), but there does not seem to be a response to that message in the \ archive. Can anyone explain why axis2c is not using https here? Thanks for the help. George Sherwood I am using a test system with a self-signed certificate. SSL is working with httpd; \ e.g. https://161.129.204.104/pub/promos.php is accessed as expected from a remote \ browser. However SSL does not appear to be configured correctly for axis2. Both of the following commands seem to run OK. ./echo http://161.129.204.104/axis2/services/echo ./hello http://161.129.204.104/axis2/services/hello But the responses for the corresponding https endpoints do not. ./echo https://161.129.204.104:443/axis2/services/echo yields "echo client invoke FAILED!" ./hello https://161.129.204.104:443/axis2/services/hello yields "hello client invoke FAILED!" The echo.log contains the following lines. [Sat Sep 26 20:01:13 2009] [error] http_client.c(271) Transport protocol is \ unsupported by axis2 [Sat Sep 26 20:01:13 2009] [error] http_client.c(272) Invalid Transport Protocol, \ HTTPS transport not enabled. [Sat Sep 26 20:01:13 2009] [error] http_client.c(544) client data stream null or \ socket error for host 161.129.204.104 and 443 port [Sat Sep 26 20:01:13 2009] [error] http_client.c(548) A read attempt(HTTP) for the \ reply without sending the request [Sat Sep 26 20:01:13 2009] [error] http_sender.c(1381) status_code < 0 [Sat Sep 26 20:01:13 2009] [error] engine.c(179) Transport sender invoke failed [Sat Sep 26 20:01:13 2009] [error] echo.c(145) Stub invoke FAILED: Error code: 75 acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b \ A read attempt(HTTP) for the reply without sending the request And the hello_client.log contains the following lines. [Sat Sep 26 20:17:19 2009] [error] http_client.c(271) Transport protocol is \ unsupported by axis2 [Sat Sep 26 20:17:19 2009] [error] http_client.c(272) Invalid Transport Protocol, \ HTTPS transport not enabled. [Sat Sep 26 20:17:19 2009] [error] http_client.c(544) client data stream null or \ socket error for host 161.129.204.104 and 443 port [Sat Sep 26 20:17:19 2009] [error] http_client.c(548) A read attempt(HTTP) for the \ reply without sending the request [Sat Sep 26 20:17:19 2009] [error] http_sender.c(1381) status_code < 0 [Sat Sep 26 20:17:19 2009] [error] engine.c(179) Transport sender invoke failed [Sat Sep 26 20:17:19 2009] [error] hello.c(94) Stub invoke FAILED: Error code: 75 acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b \ A read attempt(HTTP) for the reply without sending the request Relevant lines from the axis2.xml file are: <transportReceiver name="https" class="axis2_http_receiver"> <parameter name="port" locked="false">443</parameter> <parameter name="exposeHeaders" locked="true">false</parameter> </transportReceiver> ... <transportSender name="https" class="axis2_http_sender"> <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter> </transportSender> <parameter name="SERVER_CERT">/usr/local/apache2/conf/ssl.crt/161.129.204.104.crt</ \ parameter> Both the server module and SSL client were configured with openssl enabled. Details \ are available if needed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Sep 30 06:58:45 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48251 invoked from network); 30 Sep 2009 06:58:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Sep 2009 06:58:45 -0000 Received: (qmail 80528 invoked by uid 500); 30 Sep 2009 06:58:44 -0000 Delivered-To: [email protected] Received: (qmail 80463 invoked by uid 500); 30 Sep 2009 06:58:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache AXIS C Developers List" <axis-c-dev.ws.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 80454 invoked by uid 99); 30 Sep 2009 06:58:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2009 06:58:43 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=NORMAL_HTTP_TO_IP,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO fg-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2009 06:58:32 +0000 Received: by fg-out-1718.google.com with SMTP id d23so1951445fga.16 for <[email protected]>; Tue, 29 Sep 2009 23:58:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=s1oZUA8oz8c6sHhXd31TxiDooy9713g19TF2X+wjivk=; b=fb9kekmF0S58wnTD4P/iocXjK9VjFK6o/CJlPA2cax0tUqQKplo7dVJjQ6f7aSUVMu XRMyDXLq4fzpd4usIyB6SA+CKZvVIsATzAfkjAzwXJZDeGFzm1QMGwnRpulWupl5Xcv1 z+8Keft2NuHZkZHITFfSw1AqkNVftDWRwx7Hw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=EpKvQE4fResuafwJr47Q3OWIFf60JHZkVVfyQ9kzkG10znsQp5IYCZas4TIt7xf8gS cXcAlku1kALxv805bjii/DDIcNyngLyHowKgSmhDWP+H/QfV7h5EAe0OqpkcsPDzjtSQ OKP8CuAo+VFOOXfiq2qZcn9R8yLcEhJ7sYBy8= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id n36mr489893hba.19.1254293891573; Tue, 29 Sep 2009 23:58:11 -0700 (PDT) Date: Wed, 30 Sep 2009 09:58:11 +0300 Message-ID: <[email protected]> Subject: crash with arbitrary rest post data From: =?ISO-8859-1?Q?Tam=E1s_Martinec?= <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi, What is the situation with this http://[email protected]/msg16788.html issue? I am trying to create a service that receives arbitrary strings as HTTP POST data. The services I created crash very much like echo in the above link. The echo sample crashes if the post data is empty, or content is not according to the text=sometext pattern. Here are the messages: SENDING DATA.. /* sending time = 23:57:14*/ /* message uuid = eb01af8d-4d6b-45a3-8bbf-2f80f43acbd2*/ --------------------- POST /axis2/services/echo/echoString HTTP/1.0 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 Content-Length: 6 Host: LOCALHOST Content-Type: application/x-www-form-urlencoded text RETRIEVING DATA.. /* retrieving time = 23:57:14*/ /* time throughput = 0 sec(s)*/ --------------------- HTTP/1.0 500 Internal Server Error Date: Thu Sep 24 23:57:14 2009 GMT Server: Axis2C/1.6.0 (Simple Axis2 HTTP Server) Content-Type: text/html Content-Length: 210 <html><head><title>500 Internal Server Error</title></head><body><h2>Internal Server Error</h2><p>The server encountered an unexpected condition which prevented it from fulfilling the request.</p></body></html> And the call stack for the crash: axis2_engine.dll!axis2_http_status_line_free(axis2_http_status_line * status_line=0xdddddddd, const axutil_env * env=0x006dd498) Line 143 + 0x3 bytes C axis2_engine.dll!axis2_http_simple_response_free(axis2_http_simple_response * simple_response=0x006df500, const axutil_env * env=0x006dd498) Line 117 C axis2_engine.dll!axis2_http_out_transport_info_impl_free(axis2_http_out_transport_info * http_out_transport_info=0x006de700, const axutil_env * env=0x006dd498) Line 158 C axis2_engine.dll!axis2_http_out_transport_info_free(axis2_http_out_transport_info * http_out_transport_info=0x006de700, const axutil_env * env=0x006dd498) Line 206 + 0x12 bytes C axis2_engine.dll!axis2_out_transport_info_impl_free(axis2_out_transport_info * out_transport_info=0x006de700, const axutil_env * env=0x006dd498) Line 61 C axis2_engine.dll!axis2_msg_ctx_free(axis2_msg_ctx * msg_ctx=0x006dfa38, const axutil_env * env=0x006dd498) Line 444 + 0x20 bytes C axis2_engine.dll!axis2_http_worker_process_request(axis2_http_worker * http_worker=0x006dc350, const axutil_env * env=0x006dd498, axis2_simple_http_svr_conn * svr_conn=0x006dd4e0, axis2_http_simple_request * simple_request=0x006e0b18) Line 2009 C axis2_http_receiver.dll!axis2_svr_thread_worker_func(axutil_thread_t * thd=0x006df870, void * data=0x006dc608) Line 260 + 0x18 bytes C axutil.dll!dummy_worker(void * opaque=0x006df870) Line 88 + 0x15 bytes C kernel32.dll!7c80b729() [Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll] Seems like axis2_http_status_line_free wants to free something already freed.. And this is the end of the log: [Thu Sep 24 23:57:14 2009] [debug] c:\axis2c-repo\src\core\transport\http\common\http_worker.c(200) Client HTTP version HTTP/1.0 [Thu Sep 24 23:57:14 2009] [debug] c:\axis2c-repo\src\core\engine\rest_disp.c(114) Checking for service using target endpoint address : http://161.129.204.104:9090/axis2/services/echo/echoString [Thu Sep 24 23:57:14 2009] [debug] c:\axis2c-repo\src\core\engine\rest_disp.c(135) Service found using target endpoint address [Thu Sep 24 23:57:14 2009] [debug] c:\axis2c-repo\src\core\util\core_utils.c(772) Checking for operation using REST HTTP Location fragment : /echoString [Thu Sep 24 23:57:14 2009] [debug] c:\axis2c-repo\src\core\util\core_utils.c(834) Operation found using target endpoint uri fragment [Thu Sep 24 23:57:14 2009] [debug] c:\axis2c-repo\src\core\engine\phase.c(210) Invoke the handler request_uri_based_dispatcher within the phase Transport [Thu Sep 24 23:57:14 2009] [debug] c:\axis2c-repo\src\core\engine\phase.c(210) Invoke the handler AddressingInHandler within the phase Transport [Thu Sep 24 23:57:14 2009] [info] Starting addressing in handler [Thu Sep 24 23:57:14 2009] [info] c:\axis2c-repo\src\modules\mod_addr\addr_in_handler.c [Thu Sep 24 23:57:14 2009] [debug] c:\axis2c-repo\src\core\engine\phase.c(210) Invoke the handler addressing_based_dispatcher within the phase Transport [Thu Sep 24 23:57:14 2009] [debug] c:\axis2c-repo\src\core\engine\phase.c(210) Invoke the handler rest_dispatcher within the phase Dispatch [Thu Sep 24 23:57:14 2009] [debug] c:\axis2c-repo\src\core\engine\phase.c(210) Invoke the handler soap_message_body_based_dispatcher within the phase Dispatch [Thu Sep 24 23:57:14 2009] [debug] c:\axis2c-repo\src\core\engine\phase.c(210) Invoke the handler soap_action_based_dispatcher within the phase Dispatch [Thu Sep 24 23:57:14 2009] [debug] c:\axis2c-repo\src\core\engine\phase.c(210) Invoke the handler dispatch_post_conditions_evaluator within the phase PostDispatch [Thu Sep 24 23:57:14 2009] [debug] c:\axis2c-repo\src\core\engine\phase.c(210) Invoke the handler context_handler within the phase PostDispatch [Thu Sep 24 23:57:14 2009] [debug] c:\axis2c-repo\src\core\receivers\raw_xml_in_out_msg_recv.c(382) fault_detail:<Detail></Detail> I used the 1.6.0 version on win XP. I tried the binary distribution first and then compiled it from source as well to see the details. By the way, is the Content-Type relevant in this case? (The link above had the content type right, text/xml) I have seen some related bugs in jira but not exactly this one.. br, Tamas
From [email protected] Mon Sep 03 14:23:57 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60671 invoked from network); 3 Sep 2007 14:23:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Sep 2007 14:23:56 -0000 Received: (qmail 79411 invoked by uid 500); 3 Sep 2007 14:23:51 -0000 Delivered-To: [email protected] Received: (qmail 79395 invoked by uid 500); 3 Sep 2007 14:23:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 79384 invoked by uid 99); 3 Sep 2007 14:23:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2007 07:23:50 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO lxmail1.lxcluster.at) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2007 14:23:47 +0000 Received: from localhost (localhost [161.129.204.104]) by lxmail1.lxcluster.at (Postfix) with ESMTP id A6302234041 for <[email protected]>; Mon, 3 Sep 2007 15:22:34 +0200 (CEST) X-Virus-Scanned: Debian [email protected] Received: from lxmail1.lxcluster.at ([161.129.204.104]) by localhost (lxmail1.lxcluster.at [161.129.204.104]) (amavisd-new, port 10024) with ESMTP id oN4mAevHs5xb for <[email protected]>; Mon, 3 Sep 2007 15:22:34 +0200 (CEST) Received: from server6.aim.aim-sw.com (81-223-136-5.neutor.xdsl-line.inode.at [161.129.204.104]) by lxmail1.lxcluster.at (Postfix) with ESMTP id 8A955234040 for <[email protected]>; Mon, 3 Sep 2007 15:22:34 +0200 (CEST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: GroupByStrategy and resultObject Date: Mon, 3 Sep 2007 16:23:22 +0200 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: GroupByStrategy and resultObject Thread-Index: AcfuNfuNJjaU5OMOTOGk4QFoFVuoNw== From: "Stefan Raffeiner" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hello all, I'm relatively new to IBatis, so please bear with me if I'm totally wrong on this :-) When using IBatis DataMapper with "pre-instantiated" result objects and a GroupBy-property indicated in the mapping file, the result objects never get filled. I.e., with Customer result1 =3D new Customer();=20 Customer result2 =3D mMapper.QueryForObject("stmt", paramObject, result1)); result1 will always be empty (and thus different from result2, which is populated correctly), even if the query only returns 1 result object. The reason for this is that in File ResultMapStrategy.cs (which maps non-grouping result sets, as far as I understood), line 53 queries for the resultObject being null, and only creates a new instance if needed: ResultMapStrategy.cs line 49: object outObject =3D resultObject; line 53: if (outObject =3D=3D null) line 67: outObject =3D resultMap.CreateInstanceOfResult(parameters); On the other hand, in file GroupByStrategy.cs, there is no such condition present. Instead, the outObject will always be overwritten with a new instance (line 83), even though outObject gets assigned in line 55 with the value stored in parameter resultObject: GroupByStrategy.cs,=20 line 55: object outObject =3D resultObject; line 83: outObject =3D resultMap.CreateInstanceOfResult(null); Now since I'm new to IBatis, I'm reluctant to call this a bug until I fully understand whether this behaviour is desired - any suggestions? Thank you! Stefan From [email protected] Mon Sep 03 14:36:06 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63845 invoked from network); 3 Sep 2007 14:36:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Sep 2007 14:36:06 -0000 Received: (qmail 1053 invoked by uid 500); 3 Sep 2007 14:36:00 -0000 Delivered-To: [email protected] Received: (qmail 1029 invoked by uid 500); 3 Sep 2007 14:36:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 1018 invoked by uid 99); 3 Sep 2007 14:36:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2007 07:36:00 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO rv-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2007 14:35:56 +0000 Received: by rv-out-0910.google.com with SMTP id c27so852679rvf for <[email protected]>; Mon, 03 Sep 2007 07:35:36 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=pNFr3X857NvIrvY7s0sPseueZ7r7AOKLz+XIkDlNwesWAET8W28kXEOs461wAbMgJ7nXKAPICB80y0Q9mZjRsgHA13NNUamLoaOqxXaNgftnFFBkaKHqMFQhkKxts5G8vV+DkOrNbDJe7738AsY0Hgt6IwjYdVXJSYZEWxXsmrU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=jLrO7fsMFrcqBESsKfPSC6oj3Ke/UcXW7gmNPqet3c8S0xoNQQQIuIQILEEHBEr44EqD7VGzqq4UqaG2/OFcnIF0rJ8IUGekg//9LtUZFINiZ5skhEiLTKC/w1/Vdct3N4pAz0Q6SXgBKy68fORhrXlZmN3BYxcpydrJ/0o8fes= Received: by 161.129.204.104 with SMTP id s12mr712929rve.1188830136195; Mon, 03 Sep 2007 07:35:36 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 3 Sep 2007 07:35:36 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 3 Sep 2007 22:35:36 +0800 From: "=?GB2312?B?1Ky6o8X0?=" <[email protected]> To: [email protected] Subject: Help! Map one column to an object! MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_8754_20911247.1188830136139" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_8754_20911247.1188830136139 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi all, I was blocked by one problem, how can I get an iBatis solution to fix it? Class Person have many properties such as weight,height,hairColor and so on. I wanna create a hashTable property to hold all the other properties, but I was failed. Any good suggestions will be appreciated! public class Person { public int ID {} public string Name{} public HashTable Properties; //other methods } public class Property { public string DataValue{} public string DataType{} //other properties and methods } <resultMap id = "ResultWeightProperty" class = "Property"> <result property = "DataValue" column = "Weight"/> <!--no column--> <result property = "DataType" value = "int"/> <resultMap> <resultMap id = "PersonProperties" class = "HashTable"> <result property ="weight" resultMapping = "ResultWeightProperty"/> <result property ="height" resultMapping = "ResultHeightProperty"/> </resultMap> <resultMap id = "ResultPerson" class = "Person"> <result property = "ID" column = "id"/> <result property = "Name" column = "name"/> <result property = "Properties" resultMapping= "PersonProperties"/> </resultMap> <select id = "GetPersonProperties" parameterClass = "int" resultMap = "ResultPerson"> select id,name,weight,height,haircolor,.... from person where person_id = #value# </select> Best Regards ------=_Part_8754_20911247.1188830136139 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <div>Hi all,</div> <div>&nbsp;&nbsp;&nbsp;I was blocked by one problem, how can I get an iBatis solution to fix it?</div> <div>&nbsp;</div> <div>&nbsp;&nbsp;&nbsp;Class Person have many properties such as weight,height,hairColor and so on. </div> <div>&nbsp;&nbsp; I wanna create a hashTable property to hold all the other properties, but I was failed.</div> <div>&nbsp;&nbsp;&nbsp;Any good suggestions will be appreciated!</div> <div>&nbsp;&nbsp; </div> <div>&nbsp;&nbsp;&nbsp;public class Person</div> <div>&nbsp;&nbsp;&nbsp; {</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public&nbsp;int ID {}</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public string Name{}</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public HashTable Properties;</div> <div>&nbsp;</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //other methods</div> <div>&nbsp;&nbsp;&nbsp; }</div> <div>&nbsp;</div> <div>&nbsp;&nbsp;&nbsp; public class Property</div> <div>&nbsp;&nbsp;&nbsp; {</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public string DataValue{}</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public string DataType{}</div> <div>&nbsp;</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //other properties and methods</div> <div>&nbsp;&nbsp;&nbsp; }</div> <div>&nbsp;&nbsp; </div> <div>&nbsp;&nbsp; &lt;resultMap id = &quot;ResultWeightProperty&quot; class = &quot;Property&quot;&gt;</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;result property = &quot;DataValue&quot; column = &quot;Weight&quot;/&gt;</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--no column--&gt;</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;result property = &quot;DataType&quot; value = &quot;int&quot;/&gt;</div> <div>&nbsp;&nbsp; &lt;resultMap&gt;</div> <div>&nbsp;</div> <div>&nbsp;&nbsp; &lt;resultMap id = &quot;PersonProperties&quot; class = &quot;HashTable&quot;&gt;</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;result property =&quot;weight&quot;&nbsp; resultMapping = &quot;ResultWeightProperty&quot;/&gt;</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;result property =&quot;height&quot;&nbsp; resultMapping = &quot;ResultHeightProperty&quot;/&gt;</div> <div>&nbsp;&nbsp; &lt;/resultMap&gt;</div> <div>&nbsp;&nbsp;&nbsp; </div> <div>&nbsp;&nbsp;&nbsp; &lt;resultMap id = &quot;ResultPerson&quot; class = &quot;Person&quot;&gt;</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;result property = &quot;ID&quot; column = &quot;id&quot;/&gt;</div> <div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;result property = &quot;Name&quot; column = &quot;name&quot;/&gt;</div> <div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;result property = &quot;Properties&quot; resultMapping= &quot;PersonProperties&quot;/&gt;</div></div></div> <div>&nbsp;&nbsp;&nbsp; &lt;/resultMap&gt;</div> <div>&nbsp;</div> <div>&nbsp;&nbsp;&nbsp; &lt;select id = &quot;GetPersonProperties&quot; parameterClass = &quot;int&quot; resultMap = &quot;ResultPerson&quot;&gt;</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; select id,name,weight,height,haircolor,.... from person where person_id = #value#</div> <div>&nbsp;&nbsp;&nbsp; &lt;/select&gt;</div> <div>&nbsp;</div> <div>Best Regards</div> ------=_Part_8754_20911247.1188830136139-- From [email protected] Thu Sep 06 15:27:12 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99514 invoked from network); 6 Sep 2007 15:27:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Sep 2007 15:27:12 -0000 Received: (qmail 20328 invoked by uid 500); 6 Sep 2007 15:27:06 -0000 Delivered-To: [email protected] Received: (qmail 20310 invoked by uid 500); 6 Sep 2007 15:27:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 20299 invoked by uid 99); 6 Sep 2007 15:27:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 08:27:05 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 15:26:59 +0000 Received: by ug-out-1314.google.com with SMTP id h2so181916ugf for <[email protected]>; Thu, 06 Sep 2007 08:26:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=bUTuth3Tx/sc+YxnGPkrVmovU29RSjvV8+folVsIRZQ=; b=kpa2V95DkCs6jCLU1QCNGocvUUOH8PIXrvzRwh8hHuCiybeR5W8jRh6uaGZHCRoF7PId+8f8QeU5HJrw0EJ3sy9f2i9+kBVbKb39+ce1og/QogDNS76QsaA4RIbJaVoIifOQ5akzzFkKBFCSMFjaFkgVA6yCaJil2fkaed/Uwv8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=RqQKn8DDNPBIWI8x2sLmxf7E/PkLeZ/a01uqRs2lXDTr+IlmPCOfiIhLw9NJh1yGQ+YMqx/qHP1iPA8y7/qfEBnWlQlQXZECVtiM1YZFeolNO8RVKx00pw1792b3oAuNg2PNwzm4WO3lLns7kUycW5h0S3f36boulL2eShNBMh0= Received: by 161.129.204.104 with SMTP id p8mr34339wfh.1189092396379; Thu, 06 Sep 2007 08:26:36 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 6 Sep 2007 08:26:36 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 6 Sep 2007 10:26:36 -0500 From: "Bob Hanson" <[email protected]> To: [email protected] Subject: memory leak with windows service? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_39479_7846396.1189092396352" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_39479_7846396.1189092396352 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I don't know if this is even the proper place for me to ask these questions but I'm hoping others may have had a similar experience and can provide some advice. I have a Windows Service that runs on a Windows 2000 server. It uses a system timer that triggers a process to run every 30 minutes. The process is straight forward, performing 4 separate queries with each returning a list of objects. Those objects are then used to perform some functionality which involves accessing remote web services. A majority of the time only 2 of the 4 queries returns any data. iBatis.Net is used for all database interaction. Log4Net is used for logging. Spring.Net is used during the object processing. The problem I am having is that over time the Windows Service is not releasing memory and eventually the service will throw an out of memory exception and crash. The process is 100% managed code. How long it takes to run out of memory seems to vary but it generally takes more than 24 hours if not longer. I already modified the process to return a list of Ids instead of a list of complete objects. A list of only 100 ids would be a large list so I'm not dealing with a lot of data. I then query for a full object on an individual basis using the object id. I also call the garbage collector directly to try to force memory release. At this point I don't know what to do as the problem still remains. So I'm wondering if anyone has seen this kind of memory problem before when using a Windows Service with .NET. Also does anyone know if I should focus on iBatis, Spring or Log4Net as the possible cause? I've read about using a .net profiler tool but I have to admit that I have a hard time understanding how to profile code. Thanks, Bob ------=_Part_39479_7846396.1189092396352 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I don&#39;t know if this is even the proper place for me to ask these questions but I&#39;m hoping others may have had a similar experience and can provide some advice.<br><br>I have a Windows Service that runs on a Windows 2000 server. It uses a system timer that triggers a process to run every 30 minutes. <br><br>The process is straight forward, performing 4 separate queries with each returning a list of objects. Those objects are then used to perform some functionality which involves accessing remote web services. A majority of the time only 2 of the 4 queries returns any data. iBatis.Net is used for all database interaction. Log4Net is used for logging. Spring.Net is used during the object processing.<br><br>The problem I am having is that over time the Windows Service is not releasing memory and eventually the service will throw an out of memory exception and crash. The process is 100% managed code. How long it takes to run out of memory seems to vary but it generally takes more than 24 hours if not longer. <br><br>I already modified the process to return a list of Ids instead of a list of complete objects. A list of only 100 ids would be a large list so I&#39;m not dealing with a lot of data. I then query for a full object on an individual basis using the object id. <br><br>I also call the garbage collector directly to try to force memory release.<br><br>At this point I don&#39;t know what to do as the problem still remains. So I&#39;m wondering if anyone has seen this kind of memory problem before when using a Windows Service with .NET. Also does anyone know if I should focus on iBatis, Spring or Log4Net as the possible cause? I&#39;ve read about using a .net profiler tool but I have to admit that I have a hard time understanding how to profile code. <br><br>Thanks,<br>Bob<br> ------=_Part_39479_7846396.1189092396352-- From [email protected] Thu Sep 06 15:33:32 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10329 invoked from network); 6 Sep 2007 15:33:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Sep 2007 15:33:27 -0000 Received: (qmail 37397 invoked by uid 500); 6 Sep 2007 15:33:00 -0000 Delivered-To: [email protected] Received: (qmail 37373 invoked by uid 500); 6 Sep 2007 15:33:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 37338 invoked by uid 99); 6 Sep 2007 15:33:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 08:33:00 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO clf008.huskyenergy.ca) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 15:34:13 +0000 Received: from gmaildom-MTA by clf008.huskyenergy.ca with Novell_GroupWise; Thu, 06 Sep 2007 09:32:26 -0600 Message-Id: <[email protected]> X-Mailer: Novell GroupWise Internet Agent 7.0.2 HP Date: Thu, 06 Sep 2007 09:32:19 -0600 From: "Dustin Aleksiuk" <[email protected]> To: <[email protected]> Subject: Re: memory leak with windows service? References: <[email protected]> In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=__Part4067EB93.0__=" X-Virus-Checked: Checked by ClamAV on apache.org --=__Part4067EB93.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Bob, =20 It's hard to say without looking at your code, but here are some opinions = of mine: =20 1. The GC is extremely intelligent. A memory leak in managed code will be = because you still have a reference somewhere to memory, which the GC can't = touch. I believe that 99 times out of 100 you're making a mistake by = forcing the GC to clean up. =20 2. I bet it's not iBatis, Log4net or spring. Many people (including me) = use these every day with no issues.=20 =20 3. Make sure you have no static fields or similar things that could be = keeping a hold on memory. =20 Regards, Dustin >>> "Bob Hanson" <[email protected]> 9/6/2007 9:26 AM >>> I don't know if this is even the proper place for me to ask these = questions but I'm hoping others may have had a similar experience and can = provide some advice. I have a Windows Service that runs on a Windows 2000 server. It uses a = system timer that triggers a process to run every 30 minutes.=20 The process is straight forward, performing 4 separate queries with each = returning a list of objects. Those objects are then used to perform some = functionality which involves accessing remote web services. A majority of = the time only 2 of the 4 queries returns any data. iBatis.Net is used for = all database interaction. Log4Net is used for logging. Spring.Net is used = during the object processing. The problem I am having is that over time the Windows Service is not = releasing memory and eventually the service will throw an out of memory = exception and crash. The process is 100% managed code. How long it takes = to run out of memory seems to vary but it generally takes more than 24 = hours if not longer.=20 I already modified the process to return a list of Ids instead of a list = of complete objects. A list of only 100 ids would be a large list so I'm = not dealing with a lot of data. I then query for a full object on an = individual basis using the object id.=20 I also call the garbage collector directly to try to force memory release. At this point I don't know what to do as the problem still remains. So I'm = wondering if anyone has seen this kind of memory problem before when using = a Windows Service with .NET. Also does anyone know if I should focus on = iBatis, Spring or Log4Net as the possible cause? I've read about using a = .net profiler tool but I have to admit that I have a hard time understandin= g how to profile code.=20 Thanks, Bob --=__Part4067EB93.0__= Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Description: HTML <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"> <META content=3D"MSHTML 6.00.2900.3157" name=3DGENERATOR></HEAD> <BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma"> <DIV>Hi Bob,</DIV> <DIV>&nbsp;</DIV> <DIV>It's hard to say without looking at your code, but here are some = opinions of mine:</DIV> <DIV>&nbsp;</DIV> <DIV>1. The GC is extremely intelligent. A memory leak in managed code = will be because you still have a reference somewhere to memory, which the = GC can't touch. I believe that 99 times out of 100 you're making a mistake = by forcing the GC to clean up.</DIV> <DIV>&nbsp;</DIV> <DIV>2. I bet it's not iBatis, Log4net or spring. Many people (including = me) use these every day with no issues. </DIV> <DIV>&nbsp;</DIV> <DIV>3. Make sure you have no static fields or similar things that could = be keeping a hold on memory.</DIV> <DIV>&nbsp;</DIV> <DIV>Regards,</DIV> <DIV>Dustin</DIV> <DIV><BR><BR>&gt;&gt;&gt; "Bob Hanson" &lt;[email protected]&gt; 9/6/2007 = 9:26 AM &gt;&gt;&gt;<BR>I don't know if this is even the proper place for = me to ask these questions but I'm hoping others may have had a similar = experience and can provide some advice.<BR><BR>I have a Windows Service = that runs on a Windows 2000 server. It uses a system timer that triggers a = process to run every 30 minutes. <BR><BR>The process is straight forward, = performing 4 separate queries with each returning a list of objects. Those = objects are then used to perform some functionality which involves = accessing remote web services. A majority of the time only 2 of the 4 = queries returns any data. iBatis.Net is used for all database interaction. = Log4Net is used for logging. Spring.Net is used during the object = processing.<BR><BR>The problem I am having is that over time the Windows = Service is not releasing memory and eventually the service will throw an = out of memory exception and crash. The process is 100% managed code. How = long it takes to run out of memory seems to vary but it generally takes = more than 24 hours if not longer. <BR><BR>I already modified the process = to return a list of Ids instead of a list of complete objects. A list of = only 100 ids would be a large list so I'm not dealing with a lot of data. = I then query for a full object on an individual basis using the object id. = <BR><BR>I also call the garbage collector directly to try to force memory = release.<BR><BR>At this point I don't know what to do as the problem still = remains. So I'm wondering if anyone has seen this kind of memory problem = before when using a Windows Service with .NET. Also does anyone know if I = should focus on iBatis, Spring or Log4Net as the possible cause? I've read = about using a .net profiler tool but I have to admit that I have a hard = time understanding how to profile code. <BR><BR>Thanks,<BR>Bob<BR></DIV></B= ODY></HTML> --=__Part4067EB93.0__=-- From [email protected] Thu Sep 06 16:09:04 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62352 invoked from network); 6 Sep 2007 16:09:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Sep 2007 16:09:04 -0000 Received: (qmail 45570 invoked by uid 500); 6 Sep 2007 16:08:57 -0000 Delivered-To: [email protected] Received: (qmail 45544 invoked by uid 500); 6 Sep 2007 16:08:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 45516 invoked by uid 99); 6 Sep 2007 16:08:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 09:08:57 -0700 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp-vbr2.xs4all.nl) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 16:10:11 +0000 Received: from everyweb-srv01.amsterdam.everywebsolutions.nl (a80-127-179-44.adsl.xs4all.nl [161.129.204.104]) by smtp-vbr2.xs4all.nl (8.13.8/8.13.8) with ESMTP id l86G8Tcc071935 for <[email protected]>; Thu, 6 Sep 2007 18:08:29 +0200 (CEST) (envelope-from [email protected]) Content-class: urn:content-classes:message Subject: RE: memory leak with windows service? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7F0A0.0EF220F2" Date: Thu, 6 Sep 2007 18:07:43 +0200 Message-ID: <[email protected]> X-MimeOLE: Produced By Microsoft Exchange V6.5 In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: memory leak with windows service? Thread-Index: Acfwmyxut4xcM3FhQim3gxszd9r3xAAA4WVA References: <[email protected]> <[email protected]> From: "Kamiel Wanrooij" <[email protected]> To: <[email protected]> X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C7F0A0.0EF220F2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I agree with the comments below. What you might try, however I am not sure if this is possible in a win2k service, is to recycle the application pool the service runs in. This will release any references that the garbage collector might have missed because of existing references. You could also run WinDbg to dump the memory of your application, and see how much objects are kept in memory, what types, sizes, etcetera. There are some pretty good resources on the net about WinDbg. Regards, Kamiel=20 =20 From: Dustin Aleksiuk [mailto:[email protected]]=20 Sent: Thursday, September 06, 2007 5:32 PM To: [email protected] Subject: Re: memory leak with windows service? =20 Hi Bob, =20 It's hard to say without looking at your code, but here are some opinions of mine: =20 1. The GC is extremely intelligent. A memory leak in managed code will be because you still have a reference somewhere to memory, which the GC can't touch. I believe that 99 times out of 100 you're making a mistake by forcing the GC to clean up. =20 2. I bet it's not iBatis, Log4net or spring. Many people (including me) use these every day with no issues.=20 =20 3. Make sure you have no static fields or similar things that could be keeping a hold on memory. =20 Regards, Dustin >>> "Bob Hanson" <[email protected]> 9/6/2007 9:26 AM >>> I don't know if this is even the proper place for me to ask these questions but I'm hoping others may have had a similar experience and can provide some advice. I have a Windows Service that runs on a Windows 2000 server. It uses a system timer that triggers a process to run every 30 minutes.=20 The process is straight forward, performing 4 separate queries with each returning a list of objects. Those objects are then used to perform some functionality which involves accessing remote web services. A majority of the time only 2 of the 4 queries returns any data. iBatis.Net is used for all database interaction. Log4Net is used for logging. Spring.Net is used during the object processing. The problem I am having is that over time the Windows Service is not releasing memory and eventually the service will throw an out of memory exception and crash. The process is 100% managed code. How long it takes to run out of memory seems to vary but it generally takes more than 24 hours if not longer.=20 I already modified the process to return a list of Ids instead of a list of complete objects. A list of only 100 ids would be a large list so I'm not dealing with a lot of data. I then query for a full object on an individual basis using the object id.=20 I also call the garbage collector directly to try to force memory release. At this point I don't know what to do as the problem still remains. So I'm wondering if anyone has seen this kind of memory problem before when using a Windows Service with .NET. Also does anyone know if I should focus on iBatis, Spring or Log4Net as the possible cause? I've read about using a .net profiler tool but I have to admit that I have a hard time understanding how to profile code.=20 Thanks, Bob ------_=_NextPart_001_01C7F0A0.0EF220F2 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; font-size:12.0pt; font-family:"Times New Roman","serif"; mso-believe-normal-left:yes;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.Section1 {page:Section1;} --> </style> <![if mso 9]> <style> p.MsoNormal {margin-left:3.0pt;} </style> <![endif]><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple = style=3D'margin-left:3.0pt;margin-top: 3.0pt;margin-right:3.0pt;margin-bottom:.75pt'> <div class=3DSection1> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>I agree with the comments below. What you might try, = however I am not sure if this is possible in a win2k service, is to recycle the = application pool the service runs in. This will release any references that the = garbage collector might have missed because of existing = references.<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>You could also run WinDbg to dump the memory of your = application, and see how much objects are kept in memory, what types, sizes, = etcetera. There are some pretty good resources on the net about = WinDbg.<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>Regards,<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>Kamiel <o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <div> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt = 0in 0in 0in'> <p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>= </b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Dustin = Aleksiuk [mailto:[email protected]] <br> <b>Sent:</b> Thursday, September 06, 2007 5:32 PM<br> <b>To:</b> [email protected]<br> <b>Subject:</b> Re: memory leak with windows = service?<o:p></o:p></span></p> </div> </div> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <div> <p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Hi = Bob,<o:p></o:p></span></p> </div> <div> <p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>&nbsp;<o:p><= /o:p></span></p> </div> <div> <p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>It's hard = to say without looking at your code, but here are some opinions of = mine:<o:p></o:p></span></p> </div> <div> <p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>&nbsp;<o:p><= /o:p></span></p> </div> <div> <p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>1. The GC = is extremely intelligent. A memory leak in managed code will be because you = still have a reference somewhere to memory, which the GC can't touch. I = believe that 99 times out of 100 you're making a mistake by forcing the GC to clean = up.<o:p></o:p></span></p> </div> <div> <p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>&nbsp;<o:p><= /o:p></span></p> </div> <div> <p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>2. I bet = it's not iBatis, Log4net or spring. Many people (including me) use these every = day with no issues. <o:p></o:p></span></p> </div> <div> <p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>&nbsp;<o:p><= /o:p></span></p> </div> <div> <p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>3. Make = sure you have no static fields or similar things that could be keeping a hold on = memory.<o:p></o:p></span></p> </div> <div> <p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>&nbsp;<o:p><= /o:p></span></p> </div> <div> <p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Regards,<o:p= ></o:p></span></p> </div> <div> <p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Dustin<o:p><= /o:p></span></p> </div> <div> <p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br> <br> &gt;&gt;&gt; &quot;Bob Hanson&quot; &lt;[email protected]&gt; 9/6/2007 = 9:26 AM &gt;&gt;&gt;<br> I don't know if this is even the proper place for me to ask these = questions but I'm hoping others may have had a similar experience and can provide some advice.<br> <br> I have a Windows Service that runs on a Windows 2000 server. It uses a = system timer that triggers a process to run every 30 minutes. <br> <br> The process is straight forward, performing 4 separate queries with each returning a list of objects. Those objects are then used to perform some functionality which involves accessing remote web services. A majority = of the time only 2 of the 4 queries returns any data. iBatis.Net is used for = all database interaction. Log4Net is used for logging. Spring.Net is used = during the object processing.<br> <br> The problem I am having is that over time the Windows Service is not = releasing memory and eventually the service will throw an out of memory exception = and crash. The process is 100% managed code. How long it takes to run out of = memory seems to vary but it generally takes more than 24 hours if not longer. = <br> <br> I already modified the process to return a list of Ids instead of a list = of complete objects. A list of only 100 ids would be a large list so I'm = not dealing with a lot of data. I then query for a full object on an = individual basis using the object id. <br> <br> I also call the garbage collector directly to try to force memory = release.<br> <br> At this point I don't know what to do as the problem still remains. So = I'm wondering if anyone has seen this kind of memory problem before when = using a Windows Service with .NET. Also does anyone know if I should focus on = iBatis, Spring or Log4Net as the possible cause? I've read about using a .net = profiler tool but I have to admit that I have a hard time understanding how to = profile code. <br> <br> Thanks,<br> Bob<o:p></o:p></span></p> </div> </div> </body> </html> ------_=_NextPart_001_01C7F0A0.0EF220F2-- From [email protected] Thu Sep 06 16:13:35 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67426 invoked from network); 6 Sep 2007 16:13:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Sep 2007 16:13:35 -0000 Received: (qmail 59583 invoked by uid 500); 6 Sep 2007 16:13:28 -0000 Delivered-To: [email protected] Received: (qmail 59473 invoked by uid 500); 6 Sep 2007 16:13:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 59462 invoked by uid 99); 6 Sep 2007 16:13:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 09:13:28 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wr-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 16:13:22 +0000 Received: by wr-out-0506.google.com with SMTP id c46so84272wra for <[email protected]>; Thu, 06 Sep 2007 09:13:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=r4WBBcIdyVphIWgjdkFANHhbSg09T/n09lfHmTIZAGA=; b=nSBAjAWaZB5gCr6BOTJSpzs6HdPRNXEYUSJTRT6JiZEnSzLugYhdBuBLxNj1K5Szhj7J6z3vBJZjLkNrFeEVFJ7phOx/S490s3A59J7WyXXqb8JhqulIg9YPeoupOXkJg8p2ZRPX0UL0SjQT5kA1B9VPyjYBu61lhR3UQTqY8Pg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=kcFwzzq9Ag1s1tXnkatSdScdp7rny8lJXYYCVmMTyOnAue/EcxafG3lCqNvc1gG+VpBTPycHlx0/I7ufoxVaYAZqVfaNc1CCf/iPUZkCrGgTwuI31rMUlPPFAoDk0CXWvMy0t3z2mcAiAi81vUWU2WIwcyY19wf21s/LM0A9u/0= Received: by 161.129.204.104 with SMTP id k19mr39826wfg.1189095180461; Thu, 06 Sep 2007 09:13:00 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 6 Sep 2007 09:13:00 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 6 Sep 2007 11:13:00 -0500 From: "Bob Hanson" <[email protected]> To: [email protected] Subject: Re: memory leak with windows service? In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_40599_19128301.1189095180422" References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_40599_19128301.1189095180422 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Re #1: Believe me, I've been doing this long enough to know that anytime I want to blame something else, I know it's probably my error. I found a post http://www.thescripts.com/forum/thread213771.html that mentions a similar problem. Re #2: See previous. :) Re #3: I don't think I have this issue. iBatis is used to return POCO. I use spring with the singleton="false" attribute for many of my objects. Not sure why that would make any difference but I'll mention it just in case. On 9/6/07, Dustin Aleksiuk <[email protected]> wrote: > > Hi Bob, > > It's hard to say without looking at your code, but here are some opinions > of mine: > > 1. The GC is extremely intelligent. A memory leak in managed code will be > because you still have a reference somewhere to memory, which the GC can't > touch. I believe that 99 times out of 100 you're making a mistake by forcing > the GC to clean up. > > 2. I bet it's not iBatis, Log4net or spring. Many people (including me) > use these every day with no issues. > > 3. Make sure you have no static fields or similar things that could be > keeping a hold on memory. > > Regards, > Dustin > > > >>> "Bob Hanson" <[email protected]> 9/6/2007 9:26 AM >>> > I don't know if this is even the proper place for me to ask these > questions but I'm hoping others may have had a similar experience and can > provide some advice. > > I have a Windows Service that runs on a Windows 2000 server. It uses a > system timer that triggers a process to run every 30 minutes. > > The process is straight forward, performing 4 separate queries with each > returning a list of objects. Those objects are then used to perform some > functionality which involves accessing remote web services. A majority of > the time only 2 of the 4 queries returns any data. iBatis.Net is used for > all database interaction. Log4Net is used for logging. Spring.Net is used > during the object processing. > > The problem I am having is that over time the Windows Service is not > releasing memory and eventually the service will throw an out of memory > exception and crash. The process is 100% managed code. How long it takes to > run out of memory seems to vary but it generally takes more than 24 hours if > not longer. > > I already modified the process to return a list of Ids instead of a list > of complete objects. A list of only 100 ids would be a large list so I'm not > dealing with a lot of data. I then query for a full object on an individual > basis using the object id. > > I also call the garbage collector directly to try to force memory release. > > At this point I don't know what to do as the problem still remains. So I'm > wondering if anyone has seen this kind of memory problem before when using a > Windows Service with .NET. Also does anyone know if I should focus on > iBatis, Spring or Log4Net as the possible cause? I've read about using a > .net profiler tool but I have to admit that I have a hard time understanding > how to profile code. > > Thanks, > Bob > ------=_Part_40599_19128301.1189095180422 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Re #1: Believe me, I&#39;ve been doing this long enough to know that anytime I want to blame something else, I know it&#39;s probably my error. I found a post <a href="http://www.thescripts.com/forum/thread213771.html">http://www.thescripts.com/forum/thread213771.html </a> that mentions a similar problem.<br><br>Re #2: See previous. :)<br><br>Re #3: I don&#39;t think I have this issue. iBatis is used to return POCO.<br><br>I use spring with the singleton=&quot;false&quot; attribute for many of my objects. Not sure why that would make any difference but I&#39;ll mention it just in case. <br><br><div><span class="gmail_quote">On 9/6/07, <b class="gmail_sendername">Dustin Aleksiuk</b> &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div style="margin: 4px 4px 1px; font-family: Tahoma; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"> <div>Hi Bob,</div> <div>&nbsp;</div> <div>It&#39;s hard to say without looking at your code, but here are some opinions of mine:</div> <div>&nbsp;</div> <div>1. The GC is extremely intelligent. A memory leak in managed code will be because you still have a reference somewhere to memory, which the GC can&#39;t touch. I believe that 99 times out of 100 you&#39;re making a mistake by forcing the GC to clean up. </div> <div>&nbsp;</div> <div>2. I bet it&#39;s not iBatis, Log4net or spring. Many people (including me) use these every day with no issues. </div> <div>&nbsp;</div> <div>3. Make sure you have no static fields or similar things that could be keeping a hold on memory.</div> <div>&nbsp;</div> <div>Regards,</div> <div>Dustin</div> <div><br><br>&gt;&gt;&gt; &quot;Bob Hanson&quot; &lt;<a href="mailto:[email protected]" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">[email protected]</a>&gt; 9/6/2007 9:26 AM &gt;&gt;&gt;<div><span class="e" id="q_114db747bb316b72_1"> <br>I don&#39;t know if this is even the proper place for me to ask these questions but I&#39;m hoping others may have had a similar experience and can provide some advice.<br><br>I have a Windows Service that runs on a Windows 2000 server. It uses a system timer that triggers a process to run every 30 minutes. <br><br>The process is straight forward, performing 4 separate queries with each returning a list of objects. Those objects are then used to perform some functionality which involves accessing remote web services. A majority of the time only 2 of the 4 queries returns any data. iBatis.Net is used for all database interaction. Log4Net is used for logging. Spring.Net is used during the object processing.<br><br>The problem I am having is that over time the Windows Service is not releasing memory and eventually the service will throw an out of memory exception and crash. The process is 100% managed code. How long it takes to run out of memory seems to vary but it generally takes more than 24 hours if not longer. <br><br>I already modified the process to return a list of Ids instead of a list of complete objects. A list of only 100 ids would be a large list so I&#39;m not dealing with a lot of data. I then query for a full object on an individual basis using the object id. <br><br>I also call the garbage collector directly to try to force memory release.<br><br>At this point I don&#39;t know what to do as the problem still remains. So I&#39;m wondering if anyone has seen this kind of memory problem before when using a Windows Service with .NET. Also does anyone know if I should focus on iBatis, Spring or Log4Net as the possible cause? I&#39;ve read about using a .net profiler tool but I have to admit that I have a hard time understanding how to profile code. <br><br>Thanks,<br>Bob<br></span></div></div></div> </blockquote></div><br> ------=_Part_40599_19128301.1189095180422-- From [email protected] Fri Sep 07 20:47:48 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62891 invoked from network); 7 Sep 2007 20:47:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Sep 2007 20:47:48 -0000 Received: (qmail 34950 invoked by uid 500); 7 Sep 2007 20:47:42 -0000 Delivered-To: [email protected] Received: (qmail 34927 invoked by uid 500); 7 Sep 2007 20:47:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34905 invoked by uid 99); 7 Sep 2007 20:47:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2007 13:47:41 -0700 X-ASF-Spam-Status: No, hits=-2.0 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO wbmler1.mail.xerox.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2007 20:48:58 +0000 Received: from wbmlir1.mail.xerox.com (wbmlir1.mail.xerox.com [161.129.204.104]) by wbmler1.mail.xerox.com (8.13.8/8.13.6) with ESMTP id l87KlCMD031567 for <[email protected]>; Fri, 7 Sep 2007 16:47:12 -0400 Received: from wbmlir1.mail.xerox.com (localhost [161.129.204.104]) by wbmlir1.mail.xerox.com (8.13.8/8.13.6) with ESMTP id l87Kl4FI031627 for <[email protected]>; Fri, 7 Sep 2007 16:47:04 -0400 Received: from USA7061GW002.na.xerox.net (usa7061gw002.na.xerox.net [161.129.204.104]) by wbmlir1.mail.xerox.com (8.13.8/8.13.6) with ESMTP id l87Kl3Cl031607 for <[email protected]>; Fri, 7 Sep 2007 16:47:04 -0400 Received: from usaesm1mf01.na.xerox.net ([161.129.204.104]) by USA7061GW002.na.xerox.net with Microsoft SMTPSVC5144564815); Fri, 7 Sep 2007 13:47:03 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7F190.3E5C4397" Subject: RE: memory leak with windows service? Date: Fri, 7 Sep 2007 13:47:02 -0700 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: memory leak with windows service? Thread-Index: AcfwoPg70sf7Kj2FQ6ytNq/5lS/MRgA6ey0w From: "Lear, Russell" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 07 Sep 2007 20:47:03.0435 (UTC) FILETIME=[3EC9DDB0:01C7F190] X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C7F190.3E5C4397 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Bob, =20 I'm in the process of setting up a service similar to what you describe ("similar" at the 30,000 ft. level of detail). Just curious if you've got an answer for this? Is it a "feature" specific DB / DB driver set you're using? You mention that you have singleton=3D"false" - is that = for all spring-managed objects or just for the main or root object(s)? Are there any shared objects like a hashtable or list or similar container? Are you able to inspect objects produced & managed by spring to see if any of them are accumulating crud (in a bad sense, not in the CRUD sense)? =20 If you run with singletons, do you still get this problem? (this probably breaks the correctness of the service, but it might still be interesting, especially if you're able to do some level of setup after Spring returns the objects). =20 I don't suppose you've been brave enough to trace what's happening in the spring source? =20 Thanks, Russell. ________________________________ From: Bob Hanson [mailto:[email protected]]=20 Sent: Thursday, September 06, 2007 9:13 AM To: [email protected] Subject: Re: memory leak with windows service? =09 =09 Re #1: Believe me, I've been doing this long enough to know that anytime I want to blame something else, I know it's probably my error. I found a post http://www.thescripts.com/forum/thread213771.html that mentions a similar problem. =09 Re #2: See previous. :) =09 Re #3: I don't think I have this issue. iBatis is used to return POCO. =09 I use spring with the singleton=3D"false" attribute for many of my objects. Not sure why that would make any difference but I'll mention it just in case.=20 =09 =09 On 9/6/07, Dustin Aleksiuk <[email protected]> wrote:=20 Hi Bob, =20 It's hard to say without looking at your code, but here are some opinions of mine: =20 1. The GC is extremely intelligent. A memory leak in managed code will be because you still have a reference somewhere to memory, which the GC can't touch. I believe that 99 times out of 100 you're making a mistake by forcing the GC to clean up.=20 =20 2. I bet it's not iBatis, Log4net or spring. Many people (including me) use these every day with no issues.=20 =20 3. Make sure you have no static fields or similar things that could be keeping a hold on memory. =20 Regards, Dustin >>> "Bob Hanson" <[email protected]> 9/6/2007 9:26 AM >>>=20 =09 I don't know if this is even the proper place for me to ask these questions but I'm hoping others may have had a similar experience and can provide some advice. =09 I have a Windows Service that runs on a Windows 2000 server. It uses a system timer that triggers a process to run every 30 minutes.=20 =09 The process is straight forward, performing 4 separate queries with each returning a list of objects. Those objects are then used to perform some functionality which involves accessing remote web services. A majority of the time only 2 of the 4 queries returns any data. iBatis.Net is used for all database interaction. Log4Net is used for logging. Spring.Net is used during the object processing. =09 The problem I am having is that over time the Windows Service is not releasing memory and eventually the service will throw an out of memory exception and crash. The process is 100% managed code. How long it takes to run out of memory seems to vary but it generally takes more than 24 hours if not longer.=20 =09 I already modified the process to return a list of Ids instead of a list of complete objects. A list of only 100 ids would be a large list so I'm not dealing with a lot of data. I then query for a full object on an individual basis using the object id.=20 =09 I also call the garbage collector directly to try to force memory release. =09 At this point I don't know what to do as the problem still remains. So I'm wondering if anyone has seen this kind of memory problem before when using a Windows Service with .NET. Also does anyone know if I should focus on iBatis, Spring or Log4Net as the possible cause? I've read about using a .net profiler tool but I have to admit that I have a hard time understanding how to profile code.=20 =09 Thanks, Bob =09 ------_=_NextPart_001_01C7F190.3E5C4397 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <META content=3D"MSHTML 6.00.2900.3132" name=3DGENERATOR></HEAD> <BODY> <DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff = size=3D2><SPAN=20 class=3D219450820-07092007>Bob,</SPAN></FONT></DIV> <DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff = size=3D2><SPAN=20 class=3D219450820-07092007></SPAN></FONT>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff = size=3D2><SPAN=20 class=3D219450820-07092007>I'm in the process of setting up a service = similar to=20 what you describe ("similar" at the 30,000 ft. level of detail).&nbsp; = Just=20 curious if you've got an answer for this?&nbsp; Is it a "feature" = specific DB /=20 DB driver set you're using?&nbsp; You mention that you have = singleton=3D"false" -=20 is that for all spring-managed objects or just for the main or root=20 object(s)?&nbsp; Are there any shared objects like a hashtable or list = or=20 similar container?&nbsp; Are you able to inspect objects produced &amp; = managed=20 by spring to see if any of them are accumulating crud (in a bad sense, = not in=20 the CRUD sense)?</SPAN></FONT></DIV> <DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff = size=3D2><SPAN=20 class=3D219450820-07092007></SPAN></FONT>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff = size=3D2><SPAN=20 class=3D219450820-07092007>If you run with singletons, do you still get = this=20 problem?&nbsp; (this probably breaks the correctness of the service, but = it=20 might still be interesting, especially if you're able to do some level = of setup=20 after Spring returns the objects).</SPAN></FONT></DIV> <DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff = size=3D2><SPAN=20 class=3D219450820-07092007></SPAN></FONT>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff = size=3D2><SPAN=20 class=3D219450820-07092007>I don't suppose you've been brave enough to = trace=20 what's happening in the spring source?</SPAN></FONT></DIV> <DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff = size=3D2><SPAN=20 class=3D219450820-07092007></SPAN></FONT>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff = size=3D2><SPAN=20 class=3D219450820-07092007>Thanks,</SPAN></FONT></DIV> <DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff = size=3D2><SPAN=20 class=3D219450820-07092007>Russell.</SPAN></FONT></DIV><BR> <BLOCKQUOTE style=3D"MARGIN-RIGHT: 0px"> <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft> <HR tabIndex=3D-1> <FONT face=3DTahoma size=3D2><B>From:</B> Bob Hanson = [mailto:[email protected]]=20 <BR><B>Sent:</B> Thursday, September 06, 2007 9:13 AM<BR><B>To:</B>=20 [email protected]<BR><B>Subject:</B> Re: memory leak with = windows=20 service?<BR></FONT><BR></DIV> <DIV></DIV>Re #1: Believe me, I've been doing this long enough to know = that=20 anytime I want to blame something else, I know it's probably my error. = I found=20 a post <A=20 = href=3D"http://www.thescripts.com/forum/thread213771.html">http://www.the= scripts.com/forum/thread213771.html=20 </A>that mentions a similar problem.<BR><BR>Re #2: See previous. = :)<BR><BR>Re=20 #3: I don't think I have this issue. iBatis is used to return = POCO.<BR><BR>I=20 use spring with the singleton=3D"false" attribute for many of my = objects. Not=20 sure why that would make any difference but I'll mention it just in = case.=20 <BR><BR> <DIV><SPAN class=3Dgmail_quote>On 9/6/07, <B = class=3Dgmail_sendername>Dustin=20 Aleksiuk</B> &lt;<A=20 = href=3D"mailto:[email protected]">Dustin.Aleksiuk@huskyenerg= y.ca</A>&gt;=20 wrote:</SPAN> <BLOCKQUOTE class=3Dgmail_quote=20 style=3D"PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: = rgb(204,204,204) 1px solid"> <DIV=20 style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma; font-size-adjust: = none; font-stretch: normal"> <DIV>Hi Bob,</DIV> <DIV>&nbsp;</DIV> <DIV>It's hard to say without looking at your code, but here are = some=20 opinions of mine:</DIV> <DIV>&nbsp;</DIV> <DIV>1. The GC is extremely intelligent. A memory leak in managed = code will=20 be because you still have a reference somewhere to memory, which the = GC=20 can't touch. I believe that 99 times out of 100 you're making a = mistake by=20 forcing the GC to clean up. </DIV> <DIV>&nbsp;</DIV> <DIV>2. I bet it's not iBatis, Log4net or spring. Many people = (including me)=20 use these every day with no issues. </DIV> <DIV>&nbsp;</DIV> <DIV>3. Make sure you have no static fields or similar things that = could be=20 keeping a hold on memory.</DIV> <DIV>&nbsp;</DIV> <DIV>Regards,</DIV> <DIV>Dustin</DIV> <DIV><BR><BR>&gt;&gt;&gt; "Bob Hanson" &lt;<A=20 onclick=3D"return top.js.OpenExtLink(window,event,this)"=20 href=3D"mailto:[email protected]" = target=3D_blank>[email protected]</A>&gt;=20 9/6/2007 9:26 AM &gt;&gt;&gt; <DIV><SPAN class=3De id=3Dq_114db747bb316b72_1><BR>I don't know if = this is even=20 the proper place for me to ask these questions but I'm hoping others = may=20 have had a similar experience and can provide some advice.<BR><BR>I = have a=20 Windows Service that runs on a Windows 2000 server. It uses a system = timer=20 that triggers a process to run every 30 minutes. <BR><BR>The process = is=20 straight forward, performing 4 separate queries with each returning = a list=20 of objects. Those objects are then used to perform some = functionality which=20 involves accessing remote web services. A majority of the time only = 2 of the=20 4 queries returns any data. iBatis.Net is used for all database = interaction.=20 Log4Net is used for logging. Spring.Net is used during the object=20 processing.<BR><BR>The problem I am having is that over time the = Windows=20 Service is not releasing memory and eventually the service will = throw an out=20 of memory exception and crash. The process is 100% managed code. How = long it=20 takes to run out of memory seems to vary but it generally takes more = than 24=20 hours if not longer. <BR><BR>I already modified the process to = return a list=20 of Ids instead of a list of complete objects. A list of only 100 ids = would=20 be a large list so I'm not dealing with a lot of data. I then query = for a=20 full object on an individual basis using the object id. <BR><BR>I = also call=20 the garbage collector directly to try to force memory = release.<BR><BR>At=20 this point I don't know what to do as the problem still remains. So = I'm=20 wondering if anyone has seen this kind of memory problem before when = using a=20 Windows Service with .NET. Also does anyone know if I should focus = on=20 iBatis, Spring or Log4Net as the possible cause? I've read about = using a=20 .net profiler tool but I have to admit that I have a hard time = understanding=20 how to profile code.=20 = <BR><BR>Thanks,<BR>Bob<BR></SPAN></DIV></DIV></DIV></BLOCKQUOTE></DIV><BR= ></BLOCKQUOTE></BODY></HTML> ------_=_NextPart_001_01C7F190.3E5C4397-- From [email protected] Fri Sep 07 21:50:00 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88071 invoked from network); 7 Sep 2007 21:50:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Sep 2007 21:50:00 -0000 Received: (qmail 48919 invoked by uid 500); 7 Sep 2007 21:49:54 -0000 Delivered-To: [email protected] Received: (qmail 48905 invoked by uid 500); 7 Sep 2007 21:49:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48894 invoked by uid 99); 7 Sep 2007 21:49:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2007 14:49:53 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO rv-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2007 21:49:49 +0000 Received: by rv-out-0910.google.com with SMTP id c27so486315rvf for <[email protected]>; Fri, 07 Sep 2007 14:49:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=gKrKTGuvRE6c4ksDHETaXJ8/QW0BGKQjjRKc+rcKtH4=; b=alTzoHOs0pD3+jSSycYXOVHiBsucShxtoRzgY74a8UjsGlG5gMwSZumYKtyaU924fe+YEFLNwRDqbDuqn+dudSBo/kLQMHhxhSP5Nj5L2OGCE15UqoJoWKL5+g2xQtGyUAYCzSm2IhnyYMvll637GoAaYQi1Q+uLhIgoV9nRN1w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=PAQ+sJ4IJx0htTLRH2cNWfP43q9yZCk78wdmlyGuapPo80L//uFHQTg99BQRnXQEC18ftohlQHdjr9537A3b3Z0XtE8CFJeaylYYbSgnL/3KsHNTcgMqgpzoMPB+mnok/eJjfs1FOfc1ncFTIwFZxo1P7Eus1yLsdyGln7bvqN0= Received: by 161.129.204.104 with SMTP id f1mr113785wfc.1189201768476; Fri, 07 Sep 2007 14:49:28 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 7 Sep 2007 14:49:28 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 7 Sep 2007 16:49:28 -0500 From: "Bob Hanson" <[email protected]> To: [email protected] Subject: Re: memory leak with windows service? In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4482_29409181.1189201768468" References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_4482_29409181.1189201768468 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I am using Sql Server 2000 with no db specific features. I am not using Spring for any database related objects. I do not have any shared objects in the code that I have written. The Windows Service is using a set of class libraries that I use in other places (web services, web application). In a nutshell I use spring to inject "pipeline objects". I have a class called a Pipeline which is nothing more than a container for one or more objects which implement an ICommand interface. A Pipeline also implements the ICommand interface so they can be contained inside of each other although I don't currently have any pipeline set up to do that. Just like pipelining commands in the Unix world, a command has an input and produces an output. The output makes it way through the full pipeline until you have the finished output. A command does not have to produce a new output in which case it just passes along the input. While the Windows Service is serially processing the objects and thus my pipelines are only being used one at a time, the web service which make use of the same class library can conceivably have multiple users accessing a pipeline at the same time and thus the state of the input and output cannot be shared. (thus no singleton) I'm working in the mortgage industry and doing electronic recording of real estate documents. An electronic recording is represented by Xml. The Windows service looks for electronic recordings that have a status indicating whether they are ready to be sent to or retrieved from a county in the U.S.. I use a pipeline to wire up the steps necessary to get the Xml into the format needed by a county since it differs across counties. So, for example, I'll start with our internal version of the xml and pass it into a county specific pipeline. The pipeline might do something like: transform the xml into the format required by the county, wrap the county xml in a digitial signature, save a copy out to the network for debugging, validate the xml and then send it via the county's remote web service. With this in place, as new counties in the U.S. add electronic recording capabilities, I can wire up new county pipelines with either minimal or no rebuilding of applications. Anyway, I'm not sure any of this is relevant to solving my problem but it's always fun to talk about what you are working on with other developers. If I tried to tell this to a non-programmer their eyes would just glaze over with nothing more than a "Oh, so you do mortgage stuff." :) The people who have suggested using WinDbg matches what I've found online for tips in debugging memory problems. My problem is that I'm not really sure how to read the memory dump once I have it. I'll just have to keep trying to learn more. On 9/7/07, Lear, Russell <[email protected]> wrote: > > Bob, > > I'm in the process of setting up a service similar to what you describe > ("similar" at the 30,000 ft. level of detail). Just curious if you've got > an answer for this? Is it a "feature" specific DB / DB driver set you're > using? You mention that you have singleton="false" - is that for all > spring-managed objects or just for the main or root object(s)? Are there > any shared objects like a hashtable or list or similar container? Are you > able to inspect objects produced & managed by spring to see if any of them > are accumulating crud (in a bad sense, not in the CRUD sense)? > > If you run with singletons, do you still get this problem? (this probably > breaks the correctness of the service, but it might still be interesting, > especially if you're able to do some level of setup after Spring returns the > objects). > > I don't suppose you've been brave enough to trace what's happening in the > spring source? > > Thanks, > Russell. > > ------------------------------ > *From:* Bob Hanson [mailto:[email protected]] > *Sent:* Thursday, September 06, 2007 9:13 AM > *To:* [email protected] > *Subject:* Re: memory leak with windows service? > > Re #1: Believe me, I've been doing this long enough to know that anytime I > want to blame something else, I know it's probably my error. I found a post http://www.thescripts.com/forum/thread213771.html > that mentions a similar problem. > > Re #2: See previous. :) > > Re #3: I don't think I have this issue. iBatis is used to return POCO. > > I use spring with the singleton="false" attribute for many of my objects. > Not sure why that would make any difference but I'll mention it just in > case. > > On 9/6/07, Dustin Aleksiuk <[email protected]> wrote: > > > > Hi Bob, > > > > It's hard to say without looking at your code, but here are some > > opinions of mine: > > > > 1. The GC is extremely intelligent. A memory leak in managed code will > > be because you still have a reference somewhere to memory, which the GC > > can't touch. I believe that 99 times out of 100 you're making a mistake by > > forcing the GC to clean up. > > > > 2. I bet it's not iBatis, Log4net or spring. Many people (including me) > > use these every day with no issues. > > > > 3. Make sure you have no static fields or similar things that could be > > keeping a hold on memory. > > > > Regards, > > Dustin > > > > > > >>> "Bob Hanson" <[email protected]> 9/6/2007 9:26 AM >>> > > I don't know if this is even the proper place for me to ask these > > questions but I'm hoping others may have had a similar experience and can > > provide some advice. > > > > I have a Windows Service that runs on a Windows 2000 server. It uses a > > system timer that triggers a process to run every 30 minutes. > > > > The process is straight forward, performing 4 separate queries with each > > returning a list of objects. Those objects are then used to perform some > > functionality which involves accessing remote web services. A majority of > > the time only 2 of the 4 queries returns any data. iBatis.Net is used > > for all database interaction. Log4Net is used for logging. Spring.Net is > > used during the object processing. > > > > The problem I am having is that over time the Windows Service is not > > releasing memory and eventually the service will throw an out of memory > > exception and crash. The process is 100% managed code. How long it takes to > > run out of memory seems to vary but it generally takes more than 24 hours if > > not longer. > > > > I already modified the process to return a list of Ids instead of a list > > of complete objects. A list of only 100 ids would be a large list so I'm not > > dealing with a lot of data. I then query for a full object on an individual > > basis using the object id. > > > > I also call the garbage collector directly to try to force memory > > release. > > > > At this point I don't know what to do as the problem still remains. So > > I'm wondering if anyone has seen this kind of memory problem before when > > using a Windows Service with .NET. Also does anyone know if I should focus > > on iBatis, Spring or Log4Net as the possible cause? I've read about using a > > .net profiler tool but I have to admit that I have a hard time understanding > > how to profile code. > > > > Thanks, > > Bob > > > > ------=_Part_4482_29409181.1189201768468 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I am using Sql Server 2000 with no db specific features. I am not using Spring for any database related objects. I do not have any shared objects in the code that I have written. The Windows Service is using a set of class libraries that I use in other places (web services, web application). <br><br>In a nutshell I use spring to inject &quot;pipeline objects&quot;. I have a class called a Pipeline which is nothing more than a container for one or more objects which implement an ICommand interface. A Pipeline also implements the ICommand interface so they can be contained inside of each other although&nbsp; I don&#39;t currently have any pipeline set up to do that. <br><br>Just like pipelining commands in the Unix world, a command has an input and produces an output. The output makes it way through the full pipeline until you have the finished output. A command does not have to produce a new output in which case it just passes along the input. While the Windows Service is serially processing the objects and thus my pipelines are only being used one at a time, the web service which make use of the same class library can conceivably have multiple users accessing a pipeline at the same time and thus the state of the input and output cannot be shared. (thus no singleton) <br><br>I&#39;m working in the mortgage industry and doing electronic recording of real estate documents. An electronic recording is represented by Xml. The Windows service looks for electronic recordings that have a status indicating whether they are ready to be sent to or retrieved from a county in the U.S.. I use a pipeline to wire up the steps necessary to get the Xml into the format needed by a county since it differs across counties. So, for example, I&#39;ll start with our internal version of the xml and pass it into a county specific pipeline. The pipeline might do something like: transform the xml into the format required by the county, wrap the county xml in a digitial signature, save a copy out to the network for debugging, validate the xml and then send it via the county&#39;s remote web service. <br><br>With this in place, as new counties in the U.S. add electronic recording capabilities,&nbsp; I can wire up new county pipelines with either minimal or no rebuilding of applications.<br><br>Anyway, I&#39;m not sure any of this is relevant to solving my problem but it&#39;s always fun to talk about what you are working on with other developers. If I tried to tell this to a non-programmer their eyes would just glaze over with nothing more than a &quot;Oh, so you do mortgage stuff.&quot; :) <br><br>The people who have suggested using WinDbg matches what I&#39;ve found online for tips in debugging memory problems. My problem is that I&#39;m not really sure how to read the memory dump once I have it. I&#39;ll just have to keep trying to learn more. <br><br><div><span class="gmail_quote">On 9/7/07, <b class="gmail_sendername">Lear, Russell</b> &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div> <div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>Bob,</span></font></div> <div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span></span></font>&nbsp;</div> <div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>I&#39;m in the process of setting up a service similar to what you describe (&quot;similar&quot; at the 30,000 ft. level of detail).&nbsp; Just curious if you&#39;ve got an answer for this?&nbsp; Is it a &quot;feature&quot; specific DB / DB driver set you&#39;re using?&nbsp; You mention that you have singleton=&quot;false&quot; - is that for all spring-managed objects or just for the main or root object(s)?&nbsp; Are there any shared objects like a hashtable or list or similar container?&nbsp; Are you able to inspect objects produced &amp; managed by spring to see if any of them are accumulating crud (in a bad sense, not in the CRUD sense)?</span></font></div> <div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span></span></font>&nbsp;</div> <div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>If you run with singletons, do you still get this problem?&nbsp; (this probably breaks the correctness of the service, but it might still be interesting, especially if you&#39;re able to do some level of setup after Spring returns the objects).</span></font></div> <div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span></span></font>&nbsp;</div> <div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>I don&#39;t suppose you&#39;ve been brave enough to trace what&#39;s happening in the spring source?</span></font></div> <div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span></span></font>&nbsp;</div> <div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>Thanks,</span></font></div> <div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>Russell.</span></font></div><br> <blockquote style="margin-right: 0px;"> <div dir="ltr" align="left" lang="en-us"> <hr> <font face="Tahoma" size="2"><b>From:</b> Bob Hanson [mailto:<a href="mailto:[email protected]" target="_self" onclick="return top.js.OpenExtLink(window,event,this)">[email protected]</a>] <br><b>Sent:</b> Thursday, September 06, 2007 9:13 AM<span class="q"><br><b>To:</b> <a href="mailto:[email protected]" target="_self" onclick="return top.js.OpenExtLink(window,event,this)">[email protected]</a><br><b>Subject:</b> Re: memory leak with windows service?<br></span></font><br></div> <div><span class="q" id="q_114e1ba7d4e3fae7_3"><div></div>Re #1: Believe me, I&#39;ve been doing this long enough to know that anytime I want to blame something else, I know it&#39;s probably my error. I found a post <a href="http://www.thescripts.com/forum/thread213771.html" target="_self" onclick="return top.js.OpenExtLink(window,event,this)">http://www.thescripts.com/forum/thread213771.html </a>that mentions a similar problem.<br><br>Re #2: See previous. :)<br><br>Re #3: I don&#39;t think I have this issue. iBatis is used to return POCO.<br><br>I use spring with the singleton=&quot;false&quot; attribute for many of my objects. Not sure why that would make any difference but I&#39;ll mention it just in case. <br><br> <div><span class="gmail_quote">On 9/6/07, <b class="gmail_sendername">Dustin Aleksiuk</b> &lt;<a href="mailto:[email protected]" target="_self" onclick="return top.js.OpenExtLink(window,event,this)">[email protected]</a>&gt; wrote:</span> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div style="margin: 4px 4px 1px; font-family: Tahoma; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"> <div>Hi Bob,</div> <div>&nbsp;</div> <div>It&#39;s hard to say without looking at your code, but here are some opinions of mine:</div> <div>&nbsp;</div> <div>1. The GC is extremely intelligent. A memory leak in managed code will be because you still have a reference somewhere to memory, which the GC can&#39;t touch. I believe that 99 times out of 100 you&#39;re making a mistake by forcing the GC to clean up. </div> <div>&nbsp;</div> <div>2. I bet it&#39;s not iBatis, Log4net or spring. Many people (including me) use these every day with no issues. </div> <div>&nbsp;</div> <div>3. Make sure you have no static fields or similar things that could be keeping a hold on memory.</div> <div>&nbsp;</div> <div>Regards,</div> <div>Dustin</div> <div><br><br>&gt;&gt;&gt; &quot;Bob Hanson&quot; &lt;<a href="mailto:[email protected]" target="_self" onclick="return top.js.OpenExtLink(window,event,this)">[email protected]</a>&gt; 9/6/2007 9:26 AM &gt;&gt;&gt; <div><span><br>I don&#39;t know if this is even the proper place for me to ask these questions but I&#39;m hoping others may have had a similar experience and can provide some advice.<br><br>I have a Windows Service that runs on a Windows 2000 server. It uses a system timer that triggers a process to run every 30 minutes. <br><br>The process is straight forward, performing 4 separate queries with each returning a list of objects. Those objects are then used to perform some functionality which involves accessing remote web services. A majority of the time only 2 of the 4 queries returns any data. iBatis.Net is used for all database interaction. Log4Net is used for logging. Spring.Net is used during the object processing.<br><br>The problem I am having is that over time the Windows Service is not releasing memory and eventually the service will throw an out of memory exception and crash. The process is 100% managed code. How long it takes to run out of memory seems to vary but it generally takes more than 24 hours if not longer. <br><br>I already modified the process to return a list of Ids instead of a list of complete objects. A list of only 100 ids would be a large list so I&#39;m not dealing with a lot of data. I then query for a full object on an individual basis using the object id. <br><br>I also call the garbage collector directly to try to force memory release.<br><br>At this point I don&#39;t know what to do as the problem still remains. So I&#39;m wondering if anyone has seen this kind of memory problem before when using a Windows Service with .NET. Also does anyone know if I should focus on iBatis, Spring or Log4Net as the possible cause? I&#39;ve read about using a .net profiler tool but I have to admit that I have a hard time understanding how to profile code. <br><br>Thanks,<br>Bob<br></span></div></div></div></blockquote></div><br></span></div></blockquote></div> </blockquote></div><br> ------=_Part_4482_29409181.1189201768468-- From [email protected] Wed Sep 12 20:32:35 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14529 invoked from network); 12 Sep 2007 20:32:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Sep 2007 20:32:34 -0000 Received: (qmail 65136 invoked by uid 500); 12 Sep 2007 20:32:27 -0000 Delivered-To: [email protected] Received: (qmail 65120 invoked by uid 500); 12 Sep 2007 20:32:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 65109 invoked by uid 99); 12 Sep 2007 20:32:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2007 13:32:26 -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: local policy) Received: from [161.129.204.104] (HELO mail.lexesinc.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 12 Sep 2007 20:32:21 +0000 Received: from 161.129.204.104 ([161.129.204.104]) by LEXES01.lexesinc.local ([161.129.204.104]) with Microsoft Exchange Server HTTP-DAV ; Wed, 12 Sep 2007 20:31:57 +0000 Received: from lshinlever-desktop by 161.129.204.104; 12 Sep 2007 16:27:24 -0400 Subject: Return Results From: Lee Shinlever <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary="=-1XzWCqqNNQvufgCGDsuO" Date: Wed, 12 Sep 2007 16:27:23 -0400 Message-Id: <1189628843.32069.35.camel@lshinlever-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 X-Virus-Checked: Checked by ClamAV on apache.org --=-1XzWCqqNNQvufgCGDsuO Content-Type: text/plain Content-Transfer-Encoding: 7bit Greetings, Currently we are replacing all of the data access code in the ASP.Net Security Providers using Spring.Net and iBatis.Net. Basically instead of implementing a custom provider each time security persistence needs changed we just use one provider and change its data access component (iBatisNet) as needed. We did run into one operation that just won't return the expected results no matter what we do short of modifying the actual stored procedure. We don't have a problem changing the SPROC to make it work but we were wondering if anyone could point out what might be happening here. Components: 1) SQL Server 2005 2) Visual Studio 2005 3) iBatisNet DataMapper 161.129.204.104 Original Stored Procedure: ALTER PROCEDURE dbo.aspnet_Membership_GetNumberOfUsersOnline @ApplicationName nvarchar(256), @MinutesSinceLastInActive int, @CurrentTimeUtc datetime AS BEGIN DECLARE @DateActive datetime SELECT @DateActive = DATEADD(minute, -(@MinutesSinceLastInActive), @CurrentTimeUtc) DECLARE @NumOnLine int SELECT @NumOnLine = Count(*) FROM aspnet_Users AS u WITH (NOLOCK) INNER JOIN aspnet_Applications AS a WITH (NOLOCK) ON u.ApplicationId = a.ApplicationId INNER JOIN aspnet_Membership AS m WITH (NOLOCK) ON u.UserId = m.UserId WHERE (u.LastActivityDate > @DateActive) AND (a.LoweredApplicationName = LOWER(@ApplicationName)) return @NumOnLine END Statement: <procedure id="GetNumberOfUsersOnline" resultClass="int" parameterMap="GetNumberOfUsersOnline"> aspnet_Membership_GetNumberOfUsersOnline </procedure> Parameter Map: <parameterMap id="GetNumberOfUsersOnline" class="Hashtable"> <parameter property="ApplicationName" column="ApplicationName" dbType="string" size="256"/> <parameter property="MinutesSinceLastInActive" column="MinutesSinceLastInActive" dbType="int"/> <parameter property="CurrentTimeUtc" column="CurrentTimeUtc" dbType="DateTime"/> </parameterMap> DAO Code: ...snippet... Hashtable parms = new Hashtable(); parms.Add("ApplicationName", applicationname); parms.Add("MinutesSinceLastInactive", minutessincelastinactive); parms.Add("CurrentTimeUtc", currenttimeutc); int results = 0; results = (int) CustomMapper.Instance().QueryForObject("GetNumberOfUsersOnline", parms); return results; ...snippet... Testing: Using the same parameters, expected results = 2 ... 1) Removed the return @NumOnLine line 1) Ran the SPROC in the SQL debugger - SQL output results were fine 2) Ran the original DAO code using SQL command objects - SQL command results were fine 3) Ran our DAO code using iBatisNet - no results ever return 4) Change mapping file and DAO code to reflect using a Hashtable as the return class - iBatisNet did not return any results 5) Changed @DateActive to anything else (date value) - iBatisNet results were fine Thanks, Lee --=-1XzWCqqNNQvufgCGDsuO Content-Type: text/html; charset=utf-8 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"> <META NAME="GENERATOR" CONTENT="GtkHTML/3.14.1"> </HEAD> <BODY> Greetings,<BR> <BR> Currently we are replacing all of the data access code in the ASP.Net Security Providers using Spring.Net and iBatis.Net. Basically instead of implementing a custom provider each time security persistence needs changed we just use one provider and change its data access component (iBatisNet) as needed. <BR> <BR> We did run into one operation that just won't return the expected results no matter what we do short of modifying the actual stored procedure. We don't have a problem changing the SPROC to make it work but we were wondering if anyone could point out what might be happening here.<BR> <BR> <B>Components:</B><BR> <B>&nbsp;&nbsp;&nbsp; </B>1) SQL Server 2005<BR> &nbsp;&nbsp;&nbsp;&nbsp; 2) Visual Studio 2005<BR> &nbsp;&nbsp;&nbsp;&nbsp; 3) iBatisNet DataMapper 161.129.204.104<BR> <BR> <B>Original Stored Procedure:</B><BR> <BLOCKQUOTE> ALTER PROCEDURE dbo.aspnet_Membership_GetNumberOfUsersOnline<BR> &nbsp;&nbsp;&nbsp; @ApplicationName&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nvarchar(256),<BR> &nbsp;&nbsp;&nbsp; @MinutesSinceLastInActive&nbsp;&nbsp; int,<BR> &nbsp;&nbsp;&nbsp; @CurrentTimeUtc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datetime&nbsp;&nbsp;&nbsp; <BR> AS<BR> BEGIN<BR> &nbsp;&nbsp;&nbsp; DECLARE @DateActive datetime<BR> &nbsp;&nbsp;&nbsp; SELECT&nbsp; @DateActive = DATEADD(minute,&nbsp; -(@MinutesSinceLastInActive), @CurrentTimeUtc)<BR> &nbsp;&nbsp; <BR> &nbsp;&nbsp;&nbsp; DECLARE @NumOnLine int<BR> <BR> &nbsp;&nbsp;&nbsp; SELECT&nbsp;&nbsp;&nbsp;&nbsp; @NumOnLine = Count(*)<BR> &nbsp;&nbsp;&nbsp;&nbsp; FROM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aspnet_Users AS u WITH (NOLOCK) INNER JOIN<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aspnet_Applications AS a WITH (NOLOCK) ON u.ApplicationId = a.ApplicationId INNER JOIN<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aspnet_Membership AS m WITH (NOLOCK) ON u.UserId = m.UserId<BR> &nbsp;&nbsp;&nbsp;&nbsp; WHERE&nbsp;&nbsp;&nbsp;&nbsp; (u.LastActivityDate &gt; <B>@DateActive</B>) AND (a.LoweredApplicationName = LOWER(@ApplicationName))<BR> &nbsp;&nbsp; <BR> &nbsp;&nbsp; <B>return @NumOnLine</B><BR> &nbsp;&nbsp;&nbsp; <BR> END<BR> </BLOCKQUOTE> <B>Statement:</B><BR> &nbsp;&nbsp;&nbsp; &lt;procedure id=&quot;GetNumberOfUsersOnline&quot;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; resultClass=&quot;int&quot; <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; parameterMap=&quot;GetNumberOfUsersOnline&quot;&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aspnet_Membership_GetNumberOfUsersOnline<BR> &nbsp;&nbsp;&nbsp; &lt;/procedure&gt;<BR> <BR> <B>Parameter Map:</B><BR> &nbsp;&nbsp;&nbsp; &lt;parameterMap id=&quot;GetNumberOfUsersOnline&quot; class=&quot;Hashtable&quot;&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property=&quot;ApplicationName&quot; column=&quot;ApplicationName&quot; dbType=&quot;string&quot; size=&quot;256&quot;/&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property=&quot;MinutesSinceLastInActive&quot; column=&quot;MinutesSinceLastInActive&quot; dbType=&quot;int&quot;/&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property=&quot;CurrentTimeUtc&quot; column=&quot;CurrentTimeUtc&quot; dbType=&quot;DateTime&quot;/&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR> &nbsp;&nbsp;&nbsp; &lt;/parameterMap&gt;<BR> <BR> <B>DAO Code:&nbsp;&nbsp;</B>&nbsp; <BR> <BR> ...snippet...<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hashtable parms = new Hashtable();<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; parms.Add(&quot;ApplicationName&quot;, applicationname);<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; parms.Add(&quot;MinutesSinceLastInactive&quot;, minutessincelastinactive);<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; parms.Add(&quot;CurrentTimeUtc&quot;, currenttimeutc);<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int results = 0;<BR> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; results = (int) CustomMapper.Instance().QueryForObject(&quot;GetNumberOfUsersOnline&quot;, parms);<BR> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return results;<BR> ...snippet...<BR> <BR> <B>Testing:</B><BR> &nbsp;&nbsp;&nbsp; Using the same parameters, expected results = 2 ...<BR> &nbsp;&nbsp;&nbsp; 1) Removed the <B>return @NumOnLine</B> line<BR> &nbsp;&nbsp;&nbsp; 1) Ran the SPROC in the SQL debugger - SQL output results were fine<BR> &nbsp;&nbsp;&nbsp; 2) Ran the original DAO code using SQL command objects - SQL command results were fine<BR> &nbsp;&nbsp;&nbsp; 3) Ran our DAO code using iBatisNet - no results ever return<BR> &nbsp;&nbsp;&nbsp; 4) Change mapping file and DAO code to reflect using a Hashtable as the return class - iBatisNet did not return any results<BR> &nbsp;&nbsp;&nbsp; 5) Changed <B>@DateActive</B> to anything else (date value) - iBatisNet results were fine<BR> <BR> <BR> Thanks,<BR> Lee<BR> <BR> <BR> </BODY> </HTML> --=-1XzWCqqNNQvufgCGDsuO-- From [email protected] Thu Sep 13 17:56:23 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51667 invoked from network); 13 Sep 2007 17:56:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Sep 2007 17:56:23 -0000 Received: (qmail 84213 invoked by uid 500); 13 Sep 2007 17:56:15 -0000 Delivered-To: [email protected] Received: (qmail 84199 invoked by uid 500); 13 Sep 2007 17:56:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84188 invoked by uid 99); 13 Sep 2007 17:56:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2007 10:56:15 -0700 X-ASF-Spam-Status: No, hits=-0.8 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mlnyc902er.ml.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2007 17:56:09 +0000 Received: from mlnyc854bh.amrs.win.ml.com (unknown [161.129.204.104]) by mlnyc902er.ml.com (Postfix) with ESMTP id BFFAB559BF for <[email protected]>; Thu, 13 Sep 2007 13:55:46 -0400 (EDT) Content-Transfer-Encoding: 7bit Importance: normal Priority: normal Received: from mlnya302bh.amrs.win.ml.com ([161.129.204.104]) by mlnyc854bh.amrs.win.ml.com with Microsoft SMTPSVC(5.0.2195.6920); Thu, 13 Sep 2007 13:55:47 -0400 Received: from MLNYC728MB.amrs.win.ml.com ([161.129.204.104]) by mlnya302bh.amrs.win.ml.com with Microsoft SMTPSVC(5.0.2195.6920); Thu, 13 Sep 2007 13:55:46 -0400 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1896 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7F62F.4FC13044" Subject: RE: Return Results Date: Thu, 13 Sep 2007 13:55:46 -0400 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Return Results thread-index: Acf1fClcJOuLOV1aQQmbLKTWRaTGGgAsvylQ References: <1189628843.32069.35.camel@lshinlever-desktop> From: "Clough, Samuel \(USPC.PRG.Atlanta\)" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 13 Sep 2007 17:55:46.0875 (UTC) FILETIME=[4FF5C0B0:01C7F62F] X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C7F62F.4FC13044 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Maybe I don=E2=80=99t understand this correctly, but are you trying to = use SQL Server=E2=80=99s ability to generate a result set from a stored = proc call? If you, I would say you should probably use a select element = rather than a statement element so that iBatis expects a result set. = Otherwise, iBatis is probably expecting to return you the procedures = return code or maybe the rows modified return from the database, = I=E2=80=99m not sure. =20 From: Lee Shinlever [mailto:[email protected]]=20 Sent: Wednesday, September 12, 2007 4:27 PM To: [email protected] Subject: Return Results =20 Greetings, Currently we are replacing all of the data access code in the ASP.Net = Security Providers using Spring.Net and iBatis.Net. Basically instead of = implementing a custom provider each time security persistence needs = changed we just use one provider and change its data access component = (iBatisNet) as needed.=20 We did run into one operation that just won't return the expected = results no matter what we do short of modifying the actual stored = procedure. We don't have a problem changing the SPROC to make it work = but we were wondering if anyone could point out what might be happening = here. Components: 1) SQL Server 2005 2) Visual Studio 2005 3) iBatisNet DataMapper 161.129.204.104 Original Stored Procedure: ALTER PROCEDURE dbo.aspnet_Membership_GetNumberOfUsersOnline @ApplicationName nvarchar(256), @MinutesSinceLastInActive int, @CurrentTimeUtc datetime =20 AS BEGIN DECLARE @DateActive datetime SELECT @DateActive =3D DATEADD(minute, = -(@MinutesSinceLastInActive), @CurrentTimeUtc) =20 DECLARE @NumOnLine int SELECT @NumOnLine =3D Count(*) FROM aspnet_Users AS u WITH (NOLOCK) INNER JOIN aspnet_Applications AS a WITH (NOLOCK) ON = u.ApplicationId =3D a.ApplicationId INNER JOIN aspnet_Membership AS m WITH (NOLOCK) ON = u.UserId =3D m.UserId WHERE (u.LastActivityDate > @DateActive) AND = (a.LoweredApplicationName =3D LOWER(@ApplicationName)) =20 return @NumOnLine =20 END Statement: <procedure id=3D"GetNumberOfUsersOnline" resultClass=3D"int"=20 parameterMap=3D"GetNumberOfUsersOnline"> aspnet_Membership_GetNumberOfUsersOnline </procedure> Parameter Map: <parameterMap id=3D"GetNumberOfUsersOnline" class=3D"Hashtable"> <parameter property=3D"ApplicationName" column=3D"ApplicationName" = dbType=3D"string" size=3D"256"/> <parameter property=3D"MinutesSinceLastInActive" = column=3D"MinutesSinceLastInActive" dbType=3D"int"/> <parameter property=3D"CurrentTimeUtc" column=3D"CurrentTimeUtc" = dbType=3D"DateTime"/> =20 </parameterMap> DAO Code: =20 ...snippet... Hashtable parms =3D new Hashtable(); parms.Add("ApplicationName", applicationname); parms.Add("MinutesSinceLastInactive", minutessincelastinactive); parms.Add("CurrentTimeUtc", currenttimeutc); =20 int results =3D 0; results =3D (int) = CustomMapper.Instance().QueryForObject("GetNumberOfUsersOnline", parms); return results; ...snippet... Testing: Using the same parameters, expected results =3D 2 ... 1) Removed the return @NumOnLine line 1) Ran the SPROC in the SQL debugger - SQL output results were fine 2) Ran the original DAO code using SQL command objects - SQL command = results were fine 3) Ran our DAO code using iBatisNet - no results ever return 4) Change mapping file and DAO code to reflect using a Hashtable as = the return class - iBatisNet did not return any results 5) Changed @DateActive to anything else (date value) - iBatisNet = results were fine Thanks, Lee=20 -------------------------------------------------------- Princeton Retirement Group, Inc - Important Terms=20 This E-mail is not intended for distribution to, or use by, any person = or entity in any location where such distribution or use would be = contrary to law or regulation, or which would subject Princeton = Retirement Group, Inc. or any affiliate to any registration requirement = within such location.=20 This E-mail may contain privileged or confidential information or may = otherwise be protected by work product immunity or other legal rules. No = confidentiality or privilege is waived or lost by any mistransmission. = Access, copying or re-use of information by non-intended or = non-authorized recipients is prohibited. If you are not an intended = recipient of this E-mail, please notify the sender, delete it and do not = read, act upon, print, disclose, copy, retain or redistribute any = portion of this E-mail.=20 The transmission and content of this E-mail cannot be guaranteed to be = secure or error-free. Therefore, we cannot represent that the = information in this E-mail is complete, accurate, uncorrupted, timely or = free of viruses, and Princeton Retirement Group, Inc. cannot accept any = liability for E-mails that have been altered in the course of delivery. = Princeton Retirement Group, Inc. reserves the right to monitor, review = and retain all electronic communications, including E-mail, traveling = through its networks and systems (subject to and in accordance with = local laws). If any of your details are incorrect or if you no longer = wish to receive mailings such as this by E-mail please contact the = sender by reply E-mail.=20 -------------------------------------------------------- ------_=_NextPart_001_01C7F62F.4FC13044 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable <HTML xmlns:eXclaimer=3D"http://www.exclaimer.co.uk"> <HEAD> <META http-equiv=3D"Content-Type" content=3D"text/html; = charset=3DUTF-16"> <meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman","serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </HEAD> <BODY lang=3DEN-US link=3Dblue vlink=3Dpurple> <DIV> <div class=3DSection1> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>Maybe I don&#8217;t understand this correctly, but are = you trying to use SQL Server&#8217;s ability to generate a result set from a stored = proc call?&#160; If you, I would say you should probably use a select element rather than a = statement element so that iBatis expects a result set.&#160; Otherwise, iBatis is = probably expecting to return you the procedures return code or maybe the rows = modified return from the database, I&#8217;m not sure.<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <div> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt = 0in 0in 0in'> <p class=3DMsoNormal><b><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>= </b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Lee = Shinlever [mailto:[email protected]] <br> <b>Sent:</b> Wednesday, September 12, 2007 4:27 PM<br> <b>To:</b> [email protected]<br> <b>Subject:</b> Return Results<o:p></o:p></span></p> </div> </div> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>Greetings,<br> <br> Currently we are replacing all of the data access code in the ASP.Net = Security Providers using Spring.Net and iBatis.Net. Basically instead of = implementing a custom provider each time security persistence needs changed we just use = one provider and change its data access component (iBatisNet) as needed. = <br> <br> We did run into one operation that just won't return the expected = results no matter what we do short of modifying the actual stored procedure. We = don't have a problem changing the SPROC to make it work but we were wondering if = anyone could point out what might be happening here.<br> <br> <b>Components:</b><br> <b>&nbsp;&nbsp;&nbsp; </b>1) SQL Server 2005<br> &nbsp;&nbsp;&nbsp;&nbsp; 2) Visual Studio 2005<br> &nbsp;&nbsp;&nbsp;&nbsp; 3) iBatisNet DataMapper 161.129.204.104<br> <br> <b>Original Stored Procedure:</b><o:p></o:p></p> <p class=3DMsoNormal>ALTER PROCEDURE = dbo.aspnet_Membership_GetNumberOfUsersOnline<br> &nbsp;&nbsp;&nbsp; @ApplicationName&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp; nvarchar(256),<br> &nbsp;&nbsp;&nbsp; @MinutesSinceLastInActive&nbsp;&nbsp; int,<br> &nbsp;&nbsp;&nbsp; @CurrentTimeUtc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp; datetime&nbsp;&nbsp;&nbsp; <br> AS<br> BEGIN<br> &nbsp;&nbsp;&nbsp; DECLARE @DateActive datetime<br> &nbsp;&nbsp;&nbsp; SELECT&nbsp; @DateActive =3D DATEADD(minute,&nbsp; -(@MinutesSinceLastInActive), @CurrentTimeUtc)<br> &nbsp;&nbsp; <br> &nbsp;&nbsp;&nbsp; DECLARE @NumOnLine int<br> <br> &nbsp;&nbsp;&nbsp; SELECT&nbsp;&nbsp;&nbsp;&nbsp; @NumOnLine =3D = Count(*)<br> &nbsp;&nbsp;&nbsp;&nbsp; = FROM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aspnet_Users AS u WITH (NOLOCK) INNER JOIN<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp; aspnet_Applications AS a WITH (NOLOCK) ON u.ApplicationId =3D = a.ApplicationId INNER JOIN<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp; aspnet_Membership AS m WITH (NOLOCK) ON u.UserId =3D m.UserId<br> &nbsp;&nbsp;&nbsp;&nbsp; WHERE&nbsp;&nbsp;&nbsp;&nbsp; = (u.LastActivityDate &gt; <b>@DateActive</b>) AND (a.LoweredApplicationName =3D = LOWER(@ApplicationName))<br> &nbsp;&nbsp; <br> &nbsp;&nbsp; <b>return @NumOnLine</b><br> &nbsp;&nbsp;&nbsp; <br> END<o:p></o:p></p> <p class=3DMsoNormal = style=3D'margin-bottom:12.0pt'><b>Statement:</b><br> &nbsp;&nbsp;&nbsp; &lt;procedure = id=3D&quot;GetNumberOfUsersOnline&quot;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp; resultClass=3D&quot;int&quot; <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp; parameterMap=3D&quot;GetNumberOfUsersOnline&quot;&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = aspnet_Membership_GetNumberOfUsersOnline<br> &nbsp;&nbsp;&nbsp; &lt;/procedure&gt;<br> <br> <b>Parameter Map:</b><br> &nbsp;&nbsp;&nbsp; &lt;parameterMap = id=3D&quot;GetNumberOfUsersOnline&quot; class=3D&quot;Hashtable&quot;&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property=3D&quot;ApplicationName&quot; = column=3D&quot;ApplicationName&quot; dbType=3D&quot;string&quot; size=3D&quot;256&quot;/&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter = property=3D&quot;MinutesSinceLastInActive&quot; column=3D&quot;MinutesSinceLastInActive&quot; = dbType=3D&quot;int&quot;/&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property=3D&quot;CurrentTimeUtc&quot; = column=3D&quot;CurrentTimeUtc&quot; dbType=3D&quot;DateTime&quot;/&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br> &nbsp;&nbsp;&nbsp; &lt;/parameterMap&gt;<br> <br> <b>DAO Code:&nbsp;&nbsp;</b>&nbsp; <br> <br> ...snippet...<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hashtable parms =3D new Hashtable();<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; parms.Add(&quot;ApplicationName&quot;, applicationname);<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = parms.Add(&quot;MinutesSinceLastInactive&quot;, minutessincelastinactive);<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; parms.Add(&quot;CurrentTimeUtc&quot;, currenttimeutc);<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int results =3D 0;<br> <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; results =3D (int) = CustomMapper.Instance().QueryForObject(&quot;GetNumberOfUsersOnline&quot;= , parms);<br> <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return results;<br> ...snippet...<br> <br> <b>Testing:</b><br> &nbsp;&nbsp;&nbsp; Using the same parameters, expected results =3D 2 = ...<br> &nbsp;&nbsp;&nbsp; 1) Removed the <b>return @NumOnLine</b> line<br> &nbsp;&nbsp;&nbsp; 1) Ran the SPROC in the SQL debugger - SQL output = results were fine<br> &nbsp;&nbsp;&nbsp; 2) Ran the original DAO code using SQL command = objects - SQL command results were fine<br> &nbsp;&nbsp;&nbsp; 3) Ran our DAO code using iBatisNet - no results ever = return<br> &nbsp;&nbsp;&nbsp; 4) Change mapping file and DAO code to reflect using = a Hashtable as the return class - iBatisNet did not return any results<br> &nbsp;&nbsp;&nbsp; 5) Changed <b>@DateActive</b> to anything else (date = value) - iBatisNet results were fine<br> <br> <br> Thanks,<br> Lee<br> <br> <o:p></o:p></p> </div> </DIV> <DIV> <HR> </DIV> <DIV><B><FONT COLOR=3D"#00007f"> <P>Princeton Retirement Group, Inc - Important Terms </P> </FONT></B><FONT> </FONT> <FONT SIZE=3D"1"> <P>This E-mail is not intended for distribution to, or use by, any = person or entity in any location where such distribution or use would be = contrary to law or regulation, or which would subject Princeton = Retirement Group, Inc. or any affiliate to any registration requirement = within such location. </P> <P>This E-mail may contain privileged or confidential information or may = otherwise be protected by work product immunity or other legal rules. No = confidentiality or privilege is waived or lost by any mistransmission. = Access, copying or re-use of information by non-intended or = non-authorized recipients is prohibited. If you are not an intended = recipient of this E-mail, please notify the sender, delete it and do not = read, act upon, print, disclose, copy, retain or redistribute any = portion of this E-mail. </P> <P>The transmission and content of this E-mail cannot be guaranteed to = be secure or error-free. Therefore, we cannot represent that the = information in this E-mail is complete, accurate, uncorrupted, timely or = free of viruses, and Princeton Retirement Group, Inc. cannot accept any = liability for E-mails that have been altered in the course of delivery. = Princeton Retirement Group, Inc. reserves the right to monitor, review = and retain all electronic communications, including E-mail, traveling = through its networks and systems (subject to and in accordance with = local laws). If any of your details are incorrect or if you no longer = wish to receive mailings such as this by E-mail please contact the = sender by reply E-mail. </P> </FONT> <FONT FACE=3D"Times New Roman"> </FONT> </DIV> <DIV> <HR> </DIV></BODY></HTML> ------_=_NextPart_001_01C7F62F.4FC13044-- From [email protected] Thu Sep 13 18:05:21 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56774 invoked from network); 13 Sep 2007 18:05:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Sep 2007 18:05:21 -0000 Received: (qmail 9274 invoked by uid 500); 13 Sep 2007 18:05:13 -0000 Delivered-To: [email protected] Received: (qmail 9252 invoked by uid 500); 13 Sep 2007 18:05:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 9241 invoked by uid 99); 13 Sep 2007 18:05:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2007 11:05:13 -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: local policy) Received: from [161.129.204.104] (HELO mail.lexesinc.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 13 Sep 2007 18:05:09 +0000 Received: from 161.129.204.104 ([161.129.204.104]) by LEXES01.lexesinc.local ([161.129.204.104]) with Microsoft Exchange Server HTTP-DAV ; Thu, 13 Sep 2007 18:04:46 +0000 Received: from lshinlever-desktop by 161.129.204.104; 13 Sep 2007 14:00:06 -0400 Subject: RE: Return Results From: Lee Shinlever <[email protected]> To: [email protected] In-Reply-To: <[email protected]> References: <1189628843.32069.35.camel@lshinlever-desktop> <[email protected]> Content-Type: multipart/alternative; boundary="=-fgzj3rZzPU3VZhUql6dT" Date: Thu, 13 Sep 2007 14:00:06 -0400 Message-Id: <1189706406.32069.44.camel@lshinlever-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 X-Virus-Checked: Checked by ClamAV on apache.org --=-fgzj3rZzPU3VZhUql6dT Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable It is the oddest thing. We actually modified the SPROC by removing the RETURN statement and just allowing the results of the SELECT to come back to iBatis. It wasn't until we remove the SELECT @DateActive =3D DATEADD(minute, -(@MinutesSinceLastInActive), @CurrentTimeUtc) line, did that calculation in our application code and passed it in as a parameter that it finally worked.=20 For some reason iBatis just did not like that calculation being run inside the SPROC. Lee On Thu, 2007-09-13 at 13:55 -0400, Clough, Samuel (USPC.PRG.Atlanta) wrote: > Maybe I don=E2=80=99t understand this correctly, but are you trying to us= e SQL > Server=E2=80=99s ability to generate a result set from a stored proc call= ? If > you, I would say you should probably use a select element rather than > a statement element so that iBatis expects a result set. Otherwise, > iBatis is probably expecting to return you the procedures return code > or maybe the rows modified return from the database, I=E2=80=99m not sure= . >=20 > =20 >=20 >=20 > From: Lee Shinlever [mailto:[email protected]]=20 > Sent: Wednesday, September 12, 2007 4:27 PM > To: [email protected] > Subject: Return Results >=20 >=20 >=20 > =20 >=20 > Greetings, >=20 > Currently we are replacing all of the data access code in the ASP.Net > Security Providers using Spring.Net and iBatis.Net. Basically instead > of implementing a custom provider each time security persistence needs > changed we just use one provider and change its data access component > (iBatisNet) as needed.=20 >=20 > We did run into one operation that just won't return the expected > results no matter what we do short of modifying the actual stored > procedure. We don't have a problem changing the SPROC to make it work > but we were wondering if anyone could point out what might be > happening here. >=20 > Components: > 1) SQL Server 2005 > 2) Visual Studio 2005 > 3) iBatisNet DataMapper 161.129.204.104 >=20 > Original Stored Procedure: >=20 > ALTER PROCEDURE dbo.aspnet_Membership_GetNumberOfUsersOnline > @ApplicationName nvarchar(256), > @MinutesSinceLastInActive int, > @CurrentTimeUtc datetime =20 > AS > BEGIN > DECLARE @DateActive datetime > SELECT @DateActive =3D DATEADD(minute, > -(@MinutesSinceLastInActive), @CurrentTimeUtc) > =20 > DECLARE @NumOnLine int >=20 > SELECT @NumOnLine =3D Count(*) > FROM aspnet_Users AS u WITH (NOLOCK) INNER JOIN > aspnet_Applications AS a WITH (NOLOCK) ON > u.ApplicationId =3D a.ApplicationId INNER JOIN > aspnet_Membership AS m WITH (NOLOCK) ON > u.UserId =3D m.UserId > WHERE (u.LastActivityDate > @DateActive) AND > (a.LoweredApplicationName =3D LOWER(@ApplicationName)) > =20 > return @NumOnLine > =20 > END >=20 > Statement: > <procedure id=3D"GetNumberOfUsersOnline" > resultClass=3D"int"=20 > parameterMap=3D"GetNumberOfUsersOnline"> > aspnet_Membership_GetNumberOfUsersOnline > </procedure> >=20 > Parameter Map: > <parameterMap id=3D"GetNumberOfUsersOnline" class=3D"Hashtable"> > <parameter property=3D"ApplicationName" column=3D"ApplicationName" > dbType=3D"string" size=3D"256"/> > <parameter property=3D"MinutesSinceLastInActive" > column=3D"MinutesSinceLastInActive" dbType=3D"int"/> > <parameter property=3D"CurrentTimeUtc" column=3D"CurrentTimeUtc" > dbType=3D"DateTime"/> =20 > </parameterMap> >=20 > DAO Code: =20 >=20 > ...snippet... > Hashtable parms =3D new Hashtable(); > parms.Add("ApplicationName", applicationname); > parms.Add("MinutesSinceLastInactive", minutessincelastinactive); > parms.Add("CurrentTimeUtc", currenttimeutc); > =20 > int results =3D 0; >=20 > results =3D (int) > CustomMapper.Instance().QueryForObject("GetNumberOfUsersOnline", > parms); >=20 > return results; > ...snippet... >=20 > Testing: > Using the same parameters, expected results =3D 2 ... > 1) Removed the return @NumOnLine line > 1) Ran the SPROC in the SQL debugger - SQL output results were > fine > 2) Ran the original DAO code using SQL command objects - SQL > command results were fine > 3) Ran our DAO code using iBatisNet - no results ever return > 4) Change mapping file and DAO code to reflect using a Hashtable > as the return class - iBatisNet did not return any results > 5) Changed @DateActive to anything else (date value) - iBatisNet > results were fine >=20 >=20 > Thanks, > Lee >=20 >=20 >=20 >=20 >=20 > ______________________________________________________________________ > Princeton Retirement Group, Inc - Important Terms=20 >=20 > This E-mail is not intended for distribution to, or use by, any person > or entity in any location where such distribution or use would be > contrary to law or regulation, or which would subject Princeton > Retirement Group, Inc. or any affiliate to any registration > requirement within such location.=20 >=20 > This E-mail may contain privileged or confidential information or may > otherwise be protected by work product immunity or other legal rules. > No confidentiality or privilege is waived or lost by any > mistransmission. Access, copying or re-use of information by > non-intended or non-authorized recipients is prohibited. If you are > not an intended recipient of this E-mail, please notify the sender, > delete it and do not read, act upon, print, disclose, copy, retain or > redistribute any portion of this E-mail.=20 >=20 > The transmission and content of this E-mail cannot be guaranteed to be > secure or error-free. Therefore, we cannot represent that the > information in this E-mail is complete, accurate, uncorrupted, timely > or free of viruses, and Princeton Retirement Group, Inc. cannot accept > any liability for E-mails that have been altered in the course of > delivery. Princeton Retirement Group, Inc. reserves the right to > monitor, review and retain all electronic communications, including > E-mail, traveling through its networks and systems (subject to and in > accordance with local laws). If any of your details are incorrect or > if you no longer wish to receive mailings such as this by E-mail > please contact the sender by reply E-mail.=20 >=20 >=20 >=20 > ______________________________________________________________________ --=-fgzj3rZzPU3VZhUql6dT Content-Type: text/html; charset=utf-8 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"> <META NAME="GENERATOR" CONTENT="GtkHTML/3.14.1"> </HEAD> <BODY LINK="#0000ff"> It is the oddest thing. We actually modified the SPROC by removing the RETURN statement and just allowing the results of the SELECT to come back to iBatis. It wasn't until we remove the <FONT COLOR="#000000">SELECT&nbsp; @DateActive = DATEADD(minute,&nbsp; -(@MinutesSinceLastInActive), @CurrentTimeUtc)</FONT> line, did that calculation in our application code and passed it in as a parameter that it finally worked. <BR> <BR> For some reason iBatis just did not like that calculation being run inside the SPROC.<BR> <BR> Lee<BR> <BR> On Thu, 2007-09-13 at 13:55 -0400, Clough, Samuel (USPC.PRG.Atlanta) wrote: <BLOCKQUOTE TYPE=CITE> <FONT COLOR="#000000">Maybe I don&#8217;t understand this correctly, but are you trying to use SQL Server&#8217;s ability to generate a result set from a stored proc call?&nbsp; If you, I would say you should probably use a select element rather than a statement element so that iBatis expects a result set.&nbsp; Otherwise, iBatis is probably expecting to return you the procedures return code or maybe the rows modified return from the database, I&#8217;m not sure.</FONT><BR> <BR> <FONT COLOR="#000000">&nbsp;</FONT><BR> <BR> </BLOCKQUOTE> <BLOCKQUOTE TYPE=CITE> <B><FONT COLOR="#000000">From:</FONT></B><FONT COLOR="#000000"> Lee Shinlever [mailto:[email protected]] </FONT><BR> <B><FONT COLOR="#000000">Sent:</FONT></B><FONT COLOR="#000000"> Wednesday, September 12, 2007 4:27 PM</FONT><BR> <B><FONT COLOR="#000000">To:</FONT></B><FONT COLOR="#000000"> [email protected]</FONT><BR> <B><FONT COLOR="#000000">Subject:</FONT></B><FONT COLOR="#000000"> Return Results</FONT><BR> <BR> <BR> </BLOCKQUOTE> <BLOCKQUOTE TYPE=CITE> <FONT COLOR="#000000">&nbsp;</FONT><BR> <BR> <FONT COLOR="#000000">Greetings,</FONT><BR> <BR> <FONT COLOR="#000000">Currently we are replacing all of the data access code in the ASP.Net Security Providers using Spring.Net and iBatis.Net. Basically instead of implementing a custom provider each time security persistence needs changed we just use one provider and change its data access component (iBatisNet) as needed. </FONT><BR> <BR> <FONT COLOR="#000000">We did run into one operation that just won't return the expected results no matter what we do short of modifying the actual stored procedure. We don't have a problem changing the SPROC to make it work but we were wondering if anyone could point out what might be happening here.</FONT><BR> <BR> <B><FONT COLOR="#000000">Components:</FONT></B><BR> <B><FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; </FONT></B><FONT COLOR="#000000">1) SQL Server 2005</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp; 2) Visual Studio 2005</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp; 3) iBatisNet DataMapper 161.129.204.104</FONT><BR> <BR> <B><FONT COLOR="#000000">Original Stored Procedure:</FONT></B><BR> <BR> <FONT COLOR="#000000">ALTER PROCEDURE dbo.aspnet_Membership_GetNumberOfUsersOnline</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; @ApplicationName&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nvarchar(256),</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; @MinutesSinceLastInActive&nbsp;&nbsp; int,</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; @CurrentTimeUtc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datetime&nbsp;&nbsp;&nbsp; </FONT><BR> <FONT COLOR="#000000">AS</FONT><BR> <FONT COLOR="#000000">BEGIN</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; DECLARE @DateActive datetime</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; SELECT&nbsp; @DateActive = DATEADD(minute,&nbsp; -(@MinutesSinceLastInActive), @CurrentTimeUtc)</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp; </FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; DECLARE @NumOnLine int</FONT><BR> <BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; SELECT&nbsp;&nbsp;&nbsp;&nbsp; @NumOnLine = Count(*)</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp; FROM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aspnet_Users AS u WITH (NOLOCK) INNER JOIN</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aspnet_Applications AS a WITH (NOLOCK) ON u.ApplicationId = a.ApplicationId INNER JOIN</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aspnet_Membership AS m WITH (NOLOCK) ON u.UserId = m.UserId</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp; WHERE&nbsp;&nbsp;&nbsp;&nbsp; (u.LastActivityDate &gt; </FONT><FONT COLOR="#000000"><B>@DateActive</B></FONT><FONT COLOR="#000000">) AND (a.LoweredApplicationName = LOWER(@ApplicationName))</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp; </FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp; </FONT><FONT COLOR="#000000"><B>return @NumOnLine</B></FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; </FONT><BR> <FONT COLOR="#000000">END</FONT><BR> <BR> <B><FONT COLOR="#000000">Statement:</FONT></B><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; &lt;procedure id=&quot;GetNumberOfUsersOnline&quot;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; resultClass=&quot;int&quot; </FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; parameterMap=&quot;GetNumberOfUsersOnline&quot;&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aspnet_Membership_GetNumberOfUsersOnline</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; &lt;/procedure&gt;</FONT><BR> <BR> <B><FONT COLOR="#000000">Parameter Map:</FONT></B><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; &lt;parameterMap id=&quot;GetNumberOfUsersOnline&quot; class=&quot;Hashtable&quot;&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property=&quot;ApplicationName&quot; column=&quot;ApplicationName&quot; dbType=&quot;string&quot; size=&quot;256&quot;/&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property=&quot;MinutesSinceLastInActive&quot; column=&quot;MinutesSinceLastInActive&quot; dbType=&quot;int&quot;/&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property=&quot;CurrentTimeUtc&quot; column=&quot;CurrentTimeUtc&quot; dbType=&quot;DateTime&quot;/&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; &lt;/parameterMap&gt;</FONT><BR> <BR> <B><FONT COLOR="#000000">DAO Code:&nbsp;&nbsp;</FONT></B><FONT COLOR="#000000">&nbsp; </FONT><BR> <BR> <FONT COLOR="#000000">...snippet...</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hashtable parms = new Hashtable();</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; parms.Add(&quot;ApplicationName&quot;, applicationname);</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; parms.Add(&quot;MinutesSinceLastInactive&quot;, minutessincelastinactive);</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; parms.Add(&quot;CurrentTimeUtc&quot;, currenttimeutc);</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int results = 0;</FONT><BR> <BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; results = (int) CustomMapper.Instance().QueryForObject(&quot;GetNumberOfUsersOnline&quot;, parms);</FONT><BR> <BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return results;</FONT><BR> <FONT COLOR="#000000">...snippet...</FONT><BR> <BR> <B><FONT COLOR="#000000">Testing:</FONT></B><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; Using the same parameters, expected results = 2 ...</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; 1) Removed the </FONT><FONT COLOR="#000000"><B>return @NumOnLine</B></FONT><FONT COLOR="#000000"> line</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; 1) Ran the SPROC in the SQL debugger - SQL output results were fine</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; 2) Ran the original DAO code using SQL command objects - SQL command results were fine</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; 3) Ran our DAO code using iBatisNet - no results ever return</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; 4) Change mapping file and DAO code to reflect using a Hashtable as the return class - iBatisNet did not return any results</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; 5) Changed </FONT><FONT COLOR="#000000"><B>@DateActive</B></FONT><FONT COLOR="#000000"> to anything else (date value) - iBatisNet results were fine</FONT><BR> <BR> <BR> <FONT COLOR="#000000">Thanks,</FONT><BR> <FONT COLOR="#000000">Lee</FONT><BR> <BR> <BR> <BR> <BR> </BLOCKQUOTE> <BLOCKQUOTE TYPE=CITE> <HR> </BLOCKQUOTE> <BLOCKQUOTE TYPE=CITE> <B><FONT COLOR="#00007f">Princeton Retirement Group, Inc - Important Terms </FONT></B><BR> <BR> <FONT SIZE="1"><FONT COLOR="#000000">This E-mail is not intended for distribution to, or use by, any person or entity in any location where such distribution or use would be contrary to law or regulation, or which would subject Princeton Retirement Group, Inc. or any affiliate to any registration requirement within such location. </FONT></FONT><BR> <BR> <FONT SIZE="1"><FONT COLOR="#000000">This E-mail may contain privileged or confidential information or may otherwise be protected by work product immunity or other legal rules. No confidentiality or privilege is waived or lost by any mistransmission. Access, copying or re-use of information by non-intended or non-authorized recipients is prohibited. If you are not an intended recipient of this E-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute any portion of this E-mail. </FONT></FONT><BR> <BR> <FONT SIZE="1"><FONT COLOR="#000000">The transmission and content of this E-mail cannot be guaranteed to be secure or error-free. Therefore, we cannot represent that the information in this E-mail is complete, accurate, uncorrupted, timely or free of viruses, and Princeton Retirement Group, Inc. cannot accept any liability for E-mails that have been altered in the course of delivery. Princeton Retirement Group, Inc. reserves the right to monitor, review and retain all electronic communications, including E-mail, traveling through its networks and systems (subject to and in accordance with local laws). If any of your details are incorrect or if you no longer wish to receive mailings such as this by E-mail please contact the sender by reply E-mail. </FONT></FONT><BR> <BR> <BR> </BLOCKQUOTE> <BLOCKQUOTE TYPE=CITE> <HR> </BLOCKQUOTE> </BODY> </HTML> --=-fgzj3rZzPU3VZhUql6dT-- From [email protected] Thu Sep 13 18:20:25 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63576 invoked from network); 13 Sep 2007 18:20:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Sep 2007 18:20:24 -0000 Received: (qmail 39797 invoked by uid 500); 13 Sep 2007 18:20:17 -0000 Delivered-To: [email protected] Received: (qmail 39781 invoked by uid 500); 13 Sep 2007 18:20:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 39770 invoked by uid 99); 13 Sep 2007 18:20:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2007 11:20:17 -0700 X-ASF-Spam-Status: No, hits=-0.8 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mlnyc904er.ml.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2007 18:21:50 +0000 Received: from MLNYA354BH.amrs.win.ml.com (mlnya354bh.amrs.win.ml.com [161.129.204.104]) by mlnyc904er.ml.com (Postfix) with ESMTP id A0FC455C25 for <[email protected]>; Thu, 13 Sep 2007 14:19:30 -0400 (EDT) Received: from mlnya301bh.amrs.win.ml.com ([161.129.204.104]) by MLNYA354BH.amrs.win.ml.com with Microsoft SMTPSVC(5.0.2195.6920); Thu, 13 Sep 2007 14:19:46 -0400 Received: from MLNYC728MB.amrs.win.ml.com ([161.129.204.104]) by mlnya301bh.amrs.win.ml.com with Microsoft SMTPSVC(5.0.2195.6920); Thu, 13 Sep 2007 14:18:05 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6619.12 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7F632.6D1454B8" Subject: RE: Return Results Date: Thu, 13 Sep 2007 14:18:04 -0400 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Return Results Thread-Index: Acf2MKpxlCgJwzt4Q9+0MbevQTgFmAAAVsuQ References: <1189628843.32069.35.camel@lshinlever-desktop> <[email protected]> <1189706406.32069.44.camel@lshinlever-desktop> From: "Clough, Samuel \(USPC.PRG.Atlanta\)" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 13 Sep 2007 18:18:05.0024 (UTC) FILETIME=[6D8F1600:01C7F632] X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C7F632.6D1454B8 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 VGhlcmUgaGFzIHRvIGJlIHNvbWV0aGluZyBlbHNlIHRvIGl0IHRob3VnaC4gIGlCYXRpcyBqdXN0 IHBhc3NlcyB0aHJvdWdoIERNTCBhbmQgcGFyc2VzIHdoYXQgY29tZXMgYmFjay4gIFRoZSBkcml2 ZXIgb3IgU1FMIGhhcyB0byBiZSBkb2luZyBzb21ldGhpbmcgdGhhdCBpQmF0aXMgaXMgaW50ZXJw cmV0aW5nLiAgQSBzdG9yZWQgcHJvYyBzaG91bGQganVzdCBiZSBhbm90aGVyIHBpZWNlIG9mIERN TCB0byBpQmF0aXMuICBJdCBzaG91bGRu4oCZdCBrbm93IG9yIHJlc3BvbmQgdG8gYW55dGhpbmcg dGhhdOKAmXMgaGFwcGVuaW5nIGluIGEgcHJvYy4gDQoNCiANCg0KT2YgY291cnNlLCBJIHdvdWxk IGFyZ3VlIHRoYXQgdGhlIFNRTCB0aGVyZSBzaG91bGQganVzdCBiZSBpbiB0aGUgaUJhdGlzIGZp bGUgcmF0aGVyIHRoYW4gd3JhcHBlZCBpbiBhIHByb2MsIGJ1dCBJIGtub3cgdGhlcmUgYXJlIGRp ZmZlcmVudCBjYW1wcy4NCg0KIA0KDQpGcm9tOiBMZWUgU2hpbmxldmVyIFttYWlsdG86bHNoaW5s ZXZlckBsZXhlc2luYy5jb21dIA0KU2VudDogVGh1cnNkYXksIFNlcHRlbWJlciAxMywgMjAwNyAy OjAwIFBNDQpUbzogdXNlci1jc0BpYmF0aXMuYXBhY2hlLm9yZw0KU3ViamVjdDogUkU6IFJldHVy biBSZXN1bHRzDQoNCiANCg0KSXQgaXMgdGhlIG9kZGVzdCB0aGluZy4gV2UgYWN0dWFsbHkgbW9k aWZpZWQgdGhlIFNQUk9DIGJ5IHJlbW92aW5nIHRoZSBSRVRVUk4gc3RhdGVtZW50IGFuZCBqdXN0 IGFsbG93aW5nIHRoZSByZXN1bHRzIG9mIHRoZSBTRUxFQ1QgdG8gY29tZSBiYWNrIHRvIGlCYXRp cy4gSXQgd2Fzbid0IHVudGlsIHdlIHJlbW92ZSB0aGUgU0VMRUNUICBARGF0ZUFjdGl2ZSA9IERB VEVBREQobWludXRlLCAgLShATWludXRlc1NpbmNlTGFzdEluQWN0aXZlKSwgQEN1cnJlbnRUaW1l VXRjKSBsaW5lLCBkaWQgdGhhdCBjYWxjdWxhdGlvbiBpbiBvdXIgYXBwbGljYXRpb24gY29kZSBh bmQgcGFzc2VkIGl0IGluIGFzIGEgcGFyYW1ldGVyIHRoYXQgaXQgZmluYWxseSB3b3JrZWQuIA0K DQpGb3Igc29tZSByZWFzb24gaUJhdGlzIGp1c3QgZGlkIG5vdCBsaWtlIHRoYXQgY2FsY3VsYXRp b24gYmVpbmcgcnVuIGluc2lkZSB0aGUgU1BST0MuDQoNCkxlZQ0KDQpPbiBUaHUsIDIwMDctMDkt MTMgYXQgMTM6NTUgLTA0MDAsIENsb3VnaCwgU2FtdWVsIChVU1BDLlBSRy5BdGxhbnRhKSB3cm90 ZTogDQoNCk1heWJlIEkgZG9u4oCZdCB1bmRlcnN0YW5kIHRoaXMgY29ycmVjdGx5LCBidXQgYXJl IHlvdSB0cnlpbmcgdG8gdXNlIFNRTCBTZXJ2ZXLigJlzIGFiaWxpdHkgdG8gZ2VuZXJhdGUgYSBy ZXN1bHQgc2V0IGZyb20gYSBzdG9yZWQgcHJvYyBjYWxsPyAgSWYgeW91LCBJIHdvdWxkIHNheSB5 b3Ugc2hvdWxkIHByb2JhYmx5IHVzZSBhIHNlbGVjdCBlbGVtZW50IHJhdGhlciB0aGFuIGEgc3Rh dGVtZW50IGVsZW1lbnQgc28gdGhhdCBpQmF0aXMgZXhwZWN0cyBhIHJlc3VsdCBzZXQuICBPdGhl cndpc2UsIGlCYXRpcyBpcyBwcm9iYWJseSBleHBlY3RpbmcgdG8gcmV0dXJuIHlvdSB0aGUgcHJv Y2VkdXJlcyByZXR1cm4gY29kZSBvciBtYXliZSB0aGUgcm93cyBtb2RpZmllZCByZXR1cm4gZnJv bSB0aGUgZGF0YWJhc2UsIEnigJltIG5vdCBzdXJlLg0KDQogDQoNCglGcm9tOiBMZWUgU2hpbmxl dmVyIFttYWlsdG86bHNoaW5sZXZlckBsZXhlc2luYy5jb21dIA0KCVNlbnQ6IFdlZG5lc2RheSwg U2VwdGVtYmVyIDEyLCAyMDA3IDQ6MjcgUE0NCglUbzogdXNlci1jc0BpYmF0aXMuYXBhY2hlLm9y Zw0KCVN1YmplY3Q6IFJldHVybiBSZXN1bHRzDQoJDQoJDQoNCgkgDQoJDQoJR3JlZXRpbmdzLA0K CQ0KCUN1cnJlbnRseSB3ZSBhcmUgcmVwbGFjaW5nIGFsbCBvZiB0aGUgZGF0YSBhY2Nlc3MgY29k ZSBpbiB0aGUgQVNQLk5ldCBTZWN1cml0eSBQcm92aWRlcnMgdXNpbmcgU3ByaW5nLk5ldCBhbmQg aUJhdGlzLk5ldC4gQmFzaWNhbGx5IGluc3RlYWQgb2YgaW1wbGVtZW50aW5nIGEgY3VzdG9tIHBy b3ZpZGVyIGVhY2ggdGltZSBzZWN1cml0eSBwZXJzaXN0ZW5jZSBuZWVkcyBjaGFuZ2VkIHdlIGp1 c3QgdXNlIG9uZSBwcm92aWRlciBhbmQgY2hhbmdlIGl0cyBkYXRhIGFjY2VzcyBjb21wb25lbnQg KGlCYXRpc05ldCkgYXMgbmVlZGVkLiANCgkNCglXZSBkaWQgcnVuIGludG8gb25lIG9wZXJhdGlv biB0aGF0IGp1c3Qgd29uJ3QgcmV0dXJuIHRoZSBleHBlY3RlZCByZXN1bHRzIG5vIG1hdHRlciB3 aGF0IHdlIGRvIHNob3J0IG9mIG1vZGlmeWluZyB0aGUgYWN0dWFsIHN0b3JlZCBwcm9jZWR1cmUu IFdlIGRvbid0IGhhdmUgYSBwcm9ibGVtIGNoYW5naW5nIHRoZSBTUFJPQyB0byBtYWtlIGl0IHdv cmsgYnV0IHdlIHdlcmUgd29uZGVyaW5nIGlmIGFueW9uZSBjb3VsZCBwb2ludCBvdXQgd2hhdCBt aWdodCBiZSBoYXBwZW5pbmcgaGVyZS4NCgkNCglDb21wb25lbnRzOg0KCSAgICAxKSBTUUwgU2Vy dmVyIDIwMDUNCgkgICAgIDIpIFZpc3VhbCBTdHVkaW8gMjAwNQ0KCSAgICAgMykgaUJhdGlzTmV0 IERhdGFNYXBwZXIgMS42LjEuMA0KCQ0KCU9yaWdpbmFsIFN0b3JlZCBQcm9jZWR1cmU6DQoJDQoJ QUxURVIgUFJPQ0VEVVJFIGRiby5hc3BuZXRfTWVtYmVyc2hpcF9HZXROdW1iZXJPZlVzZXJzT25s aW5lDQoJICAgIEBBcHBsaWNhdGlvbk5hbWUgICAgICAgICAgICBudmFyY2hhcigyNTYpLA0KCSAg ICBATWludXRlc1NpbmNlTGFzdEluQWN0aXZlICAgaW50LA0KCSAgICBAQ3VycmVudFRpbWVVdGMg ICAgICAgICAgICAgZGF0ZXRpbWUgICAgDQoJQVMNCglCRUdJTg0KCSAgICBERUNMQVJFIEBEYXRl QWN0aXZlIGRhdGV0aW1lDQoJICAgIFNFTEVDVCAgQERhdGVBY3RpdmUgPSBEQVRFQUREKG1pbnV0 ZSwgIC0oQE1pbnV0ZXNTaW5jZUxhc3RJbkFjdGl2ZSksIEBDdXJyZW50VGltZVV0YykNCgkgICAN CgkgICAgREVDTEFSRSBATnVtT25MaW5lIGludA0KCQ0KCSAgICBTRUxFQ1QgICAgIEBOdW1Pbkxp bmUgPSBDb3VudCgqKQ0KCSAgICAgRlJPTSAgICAgICAgIGFzcG5ldF9Vc2VycyBBUyB1IFdJVEgg KE5PTE9DSykgSU5ORVIgSk9JTg0KCSAgICAgICAgICAgICAgICAgICAgICAgICAgIGFzcG5ldF9B cHBsaWNhdGlvbnMgQVMgYSBXSVRIIChOT0xPQ0spIE9OIHUuQXBwbGljYXRpb25JZCA9IGEuQXBw bGljYXRpb25JZCBJTk5FUiBKT0lODQoJICAgICAgICAgICAgICAgICAgICAgICAgICAgYXNwbmV0 X01lbWJlcnNoaXAgQVMgbSBXSVRIIChOT0xPQ0spIE9OIHUuVXNlcklkID0gbS5Vc2VySWQNCgkg ICAgIFdIRVJFICAgICAodS5MYXN0QWN0aXZpdHlEYXRlID4gQERhdGVBY3RpdmUpIEFORCAoYS5M b3dlcmVkQXBwbGljYXRpb25OYW1lID0gTE9XRVIoQEFwcGxpY2F0aW9uTmFtZSkpDQoJICAgDQoJ ICAgcmV0dXJuIEBOdW1PbkxpbmUNCgkgICAgDQoJRU5EDQoJDQoJU3RhdGVtZW50Og0KCSAgICA8 cHJvY2VkdXJlIGlkPSJHZXROdW1iZXJPZlVzZXJzT25saW5lIg0KCSAgICAgICAgICAgICAgIHJl c3VsdENsYXNzPSJpbnQiIA0KCSAgICAgICAgICAgICAgIHBhcmFtZXRlck1hcD0iR2V0TnVtYmVy T2ZVc2Vyc09ubGluZSI+DQoJICAgICAgYXNwbmV0X01lbWJlcnNoaXBfR2V0TnVtYmVyT2ZVc2Vy c09ubGluZQ0KCSAgICA8L3Byb2NlZHVyZT4NCgkNCglQYXJhbWV0ZXIgTWFwOg0KCSAgICA8cGFy YW1ldGVyTWFwIGlkPSJHZXROdW1iZXJPZlVzZXJzT25saW5lIiBjbGFzcz0iSGFzaHRhYmxlIj4N CgkgICAgICA8cGFyYW1ldGVyIHByb3BlcnR5PSJBcHBsaWNhdGlvbk5hbWUiIGNvbHVtbj0iQXBw bGljYXRpb25OYW1lIiBkYlR5cGU9InN0cmluZyIgc2l6ZT0iMjU2Ii8+DQoJICAgICAgPHBhcmFt ZXRlciBwcm9wZXJ0eT0iTWludXRlc1NpbmNlTGFzdEluQWN0aXZlIiBjb2x1bW49Ik1pbnV0ZXNT aW5jZUxhc3RJbkFjdGl2ZSIgZGJUeXBlPSJpbnQiLz4NCgkgICAgICA8cGFyYW1ldGVyIHByb3Bl cnR5PSJDdXJyZW50VGltZVV0YyIgY29sdW1uPSJDdXJyZW50VGltZVV0YyIgZGJUeXBlPSJEYXRl VGltZSIvPiAgICAgIA0KCSAgICA8L3BhcmFtZXRlck1hcD4NCgkNCglEQU8gQ29kZTogICAgDQoJ DQoJLi4uc25pcHBldC4uLg0KCSAgICAgIEhhc2h0YWJsZSBwYXJtcyA9IG5ldyBIYXNodGFibGUo KTsNCgkgICAgICBwYXJtcy5BZGQoIkFwcGxpY2F0aW9uTmFtZSIsIGFwcGxpY2F0aW9ubmFtZSk7 DQoJICAgICAgcGFybXMuQWRkKCJNaW51dGVzU2luY2VMYXN0SW5hY3RpdmUiLCBtaW51dGVzc2lu Y2VsYXN0aW5hY3RpdmUpOw0KCSAgICAgIHBhcm1zLkFkZCgiQ3VycmVudFRpbWVVdGMiLCBjdXJy ZW50dGltZXV0Yyk7DQoJICAgICAgDQoJICAgICAgaW50IHJlc3VsdHMgPSAwOw0KCQ0KCSAgICAg IHJlc3VsdHMgPSAoaW50KSBDdXN0b21NYXBwZXIuSW5zdGFuY2UoKS5RdWVyeUZvck9iamVjdCgi R2V0TnVtYmVyT2ZVc2Vyc09ubGluZSIsIHBhcm1zKTsNCgkNCgkgICAgICByZXR1cm4gcmVzdWx0 czsNCgkuLi5zbmlwcGV0Li4uDQoJDQoJVGVzdGluZzoNCgkgICAgVXNpbmcgdGhlIHNhbWUgcGFy YW1ldGVycywgZXhwZWN0ZWQgcmVzdWx0cyA9IDIgLi4uDQoJICAgIDEpIFJlbW92ZWQgdGhlIHJl dHVybiBATnVtT25MaW5lIGxpbmUNCgkgICAgMSkgUmFuIHRoZSBTUFJPQyBpbiB0aGUgU1FMIGRl YnVnZ2VyIC0gU1FMIG91dHB1dCByZXN1bHRzIHdlcmUgZmluZQ0KCSAgICAyKSBSYW4gdGhlIG9y aWdpbmFsIERBTyBjb2RlIHVzaW5nIFNRTCBjb21tYW5kIG9iamVjdHMgLSBTUUwgY29tbWFuZCBy ZXN1bHRzIHdlcmUgZmluZQ0KCSAgICAzKSBSYW4gb3VyIERBTyBjb2RlIHVzaW5nIGlCYXRpc05l dCAtIG5vIHJlc3VsdHMgZXZlciByZXR1cm4NCgkgICAgNCkgQ2hhbmdlIG1hcHBpbmcgZmlsZSBh bmQgREFPIGNvZGUgdG8gcmVmbGVjdCB1c2luZyBhIEhhc2h0YWJsZSBhcyB0aGUgcmV0dXJuIGNs YXNzIC0gaUJhdGlzTmV0IGRpZCBub3QgcmV0dXJuIGFueSByZXN1bHRzDQoJICAgIDUpIENoYW5n ZWQgQERhdGVBY3RpdmUgdG8gYW55dGhpbmcgZWxzZSAoZGF0ZSB2YWx1ZSkgLSBpQmF0aXNOZXQg cmVzdWx0cyB3ZXJlIGZpbmUNCgkNCgkNCglUaGFua3MsDQoJTGVlDQoJDQoJDQoJDQoJDQoNCiAg X19fX18gIA0KDQoJUHJpbmNldG9uIFJldGlyZW1lbnQgR3JvdXAsIEluYyAtIEltcG9ydGFudCBU ZXJtcyANCgkNCglUaGlzIEUtbWFpbCBpcyBub3QgaW50ZW5kZWQgZm9yIGRpc3RyaWJ1dGlvbiB0 bywgb3IgdXNlIGJ5LCBhbnkgcGVyc29uIG9yIGVudGl0eSBpbiBhbnkgbG9jYXRpb24gd2hlcmUg c3VjaCBkaXN0cmlidXRpb24gb3IgdXNlIHdvdWxkIGJlIGNvbnRyYXJ5IHRvIGxhdyBvciByZWd1 bGF0aW9uLCBvciB3aGljaCB3b3VsZCBzdWJqZWN0IFByaW5jZXRvbiBSZXRpcmVtZW50IEdyb3Vw LCBJbmMuIG9yIGFueSBhZmZpbGlhdGUgdG8gYW55IHJlZ2lzdHJhdGlvbiByZXF1aXJlbWVudCB3 aXRoaW4gc3VjaCBsb2NhdGlvbi4gDQoJDQoJVGhpcyBFLW1haWwgbWF5IGNvbnRhaW4gcHJpdmls ZWdlZCBvciBjb25maWRlbnRpYWwgaW5mb3JtYXRpb24gb3IgbWF5IG90aGVyd2lzZSBiZSBwcm90 ZWN0ZWQgYnkgd29yayBwcm9kdWN0IGltbXVuaXR5IG9yIG90aGVyIGxlZ2FsIHJ1bGVzLiBObyBj b25maWRlbnRpYWxpdHkgb3IgcHJpdmlsZWdlIGlzIHdhaXZlZCBvciBsb3N0IGJ5IGFueSBtaXN0 cmFuc21pc3Npb24uIEFjY2VzcywgY29weWluZyBvciByZS11c2Ugb2YgaW5mb3JtYXRpb24gYnkg bm9uLWludGVuZGVkIG9yIG5vbi1hdXRob3JpemVkIHJlY2lwaWVudHMgaXMgcHJvaGliaXRlZC4g SWYgeW91IGFyZSBub3QgYW4gaW50ZW5kZWQgcmVjaXBpZW50IG9mIHRoaXMgRS1tYWlsLCBwbGVh c2Ugbm90aWZ5IHRoZSBzZW5kZXIsIGRlbGV0ZSBpdCBhbmQgZG8gbm90IHJlYWQsIGFjdCB1cG9u LCBwcmludCwgZGlzY2xvc2UsIGNvcHksIHJldGFpbiBvciByZWRpc3RyaWJ1dGUgYW55IHBvcnRp b24gb2YgdGhpcyBFLW1haWwuIA0KCQ0KCVRoZSB0cmFuc21pc3Npb24gYW5kIGNvbnRlbnQgb2Yg dGhpcyBFLW1haWwgY2Fubm90IGJlIGd1YXJhbnRlZWQgdG8gYmUgc2VjdXJlIG9yIGVycm9yLWZy ZWUuIFRoZXJlZm9yZSwgd2UgY2Fubm90IHJlcHJlc2VudCB0aGF0IHRoZSBpbmZvcm1hdGlvbiBp biB0aGlzIEUtbWFpbCBpcyBjb21wbGV0ZSwgYWNjdXJhdGUsIHVuY29ycnVwdGVkLCB0aW1lbHkg b3IgZnJlZSBvZiB2aXJ1c2VzLCBhbmQgUHJpbmNldG9uIFJldGlyZW1lbnQgR3JvdXAsIEluYy4g Y2Fubm90IGFjY2VwdCBhbnkgbGlhYmlsaXR5IGZvciBFLW1haWxzIHRoYXQgaGF2ZSBiZWVuIGFs dGVyZWQgaW4gdGhlIGNvdXJzZSBvZiBkZWxpdmVyeS4gUHJpbmNldG9uIFJldGlyZW1lbnQgR3Jv dXAsIEluYy4gcmVzZXJ2ZXMgdGhlIHJpZ2h0IHRvIG1vbml0b3IsIHJldmlldyBhbmQgcmV0YWlu IGFsbCBlbGVjdHJvbmljIGNvbW11bmljYXRpb25zLCBpbmNsdWRpbmcgRS1tYWlsLCB0cmF2ZWxp bmcgdGhyb3VnaCBpdHMgbmV0d29ya3MgYW5kIHN5c3RlbXMgKHN1YmplY3QgdG8gYW5kIGluIGFj Y29yZGFuY2Ugd2l0aCBsb2NhbCBsYXdzKS4gSWYgYW55IG9mIHlvdXIgZGV0YWlscyBhcmUgaW5j b3JyZWN0IG9yIGlmIHlvdSBubyBsb25nZXIgd2lzaCB0byByZWNlaXZlIG1haWxpbmdzIHN1Y2gg YXMgdGhpcyBieSBFLW1haWwgcGxlYXNlIGNvbnRhY3QgdGhlIHNlbmRlciBieSByZXBseSBFLW1h aWwuIA0KCQ0KCQ0KDQogIF9fX19fICANCg0K ------_=_NextPart_001_01C7F632.6D1454B8 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: base64 PGh0bWwgeG1sbnM6dj0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp2bWwiIHhtbG5zOm89InVy bjpzY2hlbWFzLW1pY3Jvc29mdC1jb206b2ZmaWNlOm9mZmljZSIgeG1sbnM6dz0idXJuOnNjaGVt YXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6d29yZCIgeG1sbnM6eD0idXJuOnNjaGVtYXMtbWljcm9z b2Z0LWNvbTpvZmZpY2U6ZXhjZWwiIHhtbG5zOm09Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5j b20vb2ZmaWNlLzIwMDQvMTIvb21tbCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnL1RSL1JFQy1o dG1sNDAiPg0KDQo8aGVhZD4NCjxtZXRhIGh0dHAtZXF1aXY9Q29udGVudC1UeXBlIGNvbnRlbnQ9 InRleHQvaHRtbDsgY2hhcnNldD11dGYtOCI+DQo8bWV0YSBuYW1lPUdlbmVyYXRvciBjb250ZW50 PSJNaWNyb3NvZnQgV29yZCAxMiAoZmlsdGVyZWQgbWVkaXVtKSI+DQo8IS0tW2lmICFtc29dPg0K PHN0eWxlPg0Kdlw6KiB7YmVoYXZpb3I6dXJsKCNkZWZhdWx0I1ZNTCk7fQ0Kb1w6KiB7YmVoYXZp b3I6dXJsKCNkZWZhdWx0I1ZNTCk7fQ0Kd1w6KiB7YmVoYXZpb3I6dXJsKCNkZWZhdWx0I1ZNTCk7 fQ0KLnNoYXBlIHtiZWhhdmlvcjp1cmwoI2RlZmF1bHQjVk1MKTt9DQo8L3N0eWxlPg0KPCFbZW5k aWZdLS0+DQo8c3R5bGU+DQo8IS0tDQogLyogRm9udCBEZWZpbml0aW9ucyAqLw0KIEBmb250LWZh Y2UNCgl7Zm9udC1mYW1pbHk6IkNhbWJyaWEgTWF0aCI7DQoJcGFub3NlLTE6MiA0IDUgMyA1IDQg NiAzIDIgNDt9DQpAZm9udC1mYWNlDQoJe2ZvbnQtZmFtaWx5OkNhbGlicmk7DQoJcGFub3NlLTE6 MiAxNSA1IDIgMiAyIDQgMyAyIDQ7fQ0KQGZvbnQtZmFjZQ0KCXtmb250LWZhbWlseTpUYWhvbWE7 DQoJcGFub3NlLTE6MiAxMSA2IDQgMyA1IDQgNCAyIDQ7fQ0KIC8qIFN0eWxlIERlZmluaXRpb25z ICovDQogcC5Nc29Ob3JtYWwsIGxpLk1zb05vcm1hbCwgZGl2Lk1zb05vcm1hbA0KCXttYXJnaW46 MGluOw0KCW1hcmdpbi1ib3R0b206LjAwMDFwdDsNCglmb250LXNpemU6MTIuMHB0Ow0KCWZvbnQt ZmFtaWx5OiJUaW1lcyBOZXcgUm9tYW4iLCJzZXJpZiI7fQ0KYTpsaW5rLCBzcGFuLk1zb0h5cGVy bGluaw0KCXttc28tc3R5bGUtcHJpb3JpdHk6OTk7DQoJY29sb3I6Ymx1ZTsNCgl0ZXh0LWRlY29y YXRpb246dW5kZXJsaW5lO30NCmE6dmlzaXRlZCwgc3Bhbi5Nc29IeXBlcmxpbmtGb2xsb3dlZA0K CXttc28tc3R5bGUtcHJpb3JpdHk6OTk7DQoJY29sb3I6cHVycGxlOw0KCXRleHQtZGVjb3JhdGlv bjp1bmRlcmxpbmU7fQ0Kc3Bhbi5FbWFpbFN0eWxlMTcNCgl7bXNvLXN0eWxlLXR5cGU6cGVyc29u YWwtcmVwbHk7DQoJZm9udC1mYW1pbHk6IkNhbGlicmkiLCJzYW5zLXNlcmlmIjsNCgljb2xvcjoj MUY0OTdEO30NCi5Nc29DaHBEZWZhdWx0DQoJe21zby1zdHlsZS10eXBlOmV4cG9ydC1vbmx5Ow0K CWZvbnQtc2l6ZToxMC4wcHQ7fQ0KQHBhZ2UgU2VjdGlvbjENCgl7c2l6ZTo4LjVpbiAxMS4waW47 DQoJbWFyZ2luOjEuMGluIDEuMGluIDEuMGluIDEuMGluO30NCmRpdi5TZWN0aW9uMQ0KCXtwYWdl OlNlY3Rpb24xO30NCi0tPg0KPC9zdHlsZT4NCjwhLS1baWYgZ3RlIG1zbyA5XT48eG1sPg0KIDxv OnNoYXBlZGVmYXVsdHMgdjpleHQ9ImVkaXQiIHNwaWRtYXg9IjEwMjYiIC8+DQo8L3htbD48IVtl bmRpZl0tLT48IS0tW2lmIGd0ZSBtc28gOV0+PHhtbD4NCiA8bzpzaGFwZWxheW91dCB2OmV4dD0i ZWRpdCI+DQogIDxvOmlkbWFwIHY6ZXh0PSJlZGl0IiBkYXRhPSIxIiAvPg0KIDwvbzpzaGFwZWxh eW91dD48L3htbD48IVtlbmRpZl0tLT4NCjwvaGVhZD4NCg0KPGJvZHkgbGFuZz1FTi1VUyBsaW5r PWJsdWUgdmxpbms9cHVycGxlPg0KDQo8ZGl2IGNsYXNzPVNlY3Rpb24xPg0KDQo8cCBjbGFzcz1N c29Ob3JtYWw+PHNwYW4gc3R5bGU9J2ZvbnQtc2l6ZToxMS4wcHQ7Zm9udC1mYW1pbHk6IkNhbGli cmkiLCJzYW5zLXNlcmlmIjsNCmNvbG9yOiMxRjQ5N0QnPlRoZXJlIGhhcyB0byBiZSBzb21ldGhp bmcgZWxzZSB0byBpdCB0aG91Z2guwqAgaUJhdGlzIGp1c3QgcGFzc2VzDQp0aHJvdWdoIERNTCBh bmQgcGFyc2VzIHdoYXQgY29tZXMgYmFjay7CoCBUaGUgZHJpdmVyIG9yIFNRTCBoYXMgdG8gYmUg ZG9pbmcNCnNvbWV0aGluZyB0aGF0IGlCYXRpcyBpcyBpbnRlcnByZXRpbmcuwqAgQSBzdG9yZWQg cHJvYyBzaG91bGQganVzdCBiZSBhbm90aGVyIHBpZWNlDQpvZiBETUwgdG8gaUJhdGlzLsKgIEl0 IHNob3VsZG7igJl0IGtub3cgb3IgcmVzcG9uZCB0byBhbnl0aGluZyB0aGF04oCZcyBoYXBwZW5p bmcgaW4NCmEgcHJvYy4gPG86cD48L286cD48L3NwYW4+PC9wPg0KDQo8cCBjbGFzcz1Nc29Ob3Jt YWw+PHNwYW4gc3R5bGU9J2ZvbnQtc2l6ZToxMS4wcHQ7Zm9udC1mYW1pbHk6IkNhbGlicmkiLCJz YW5zLXNlcmlmIjsNCmNvbG9yOiMxRjQ5N0QnPjxvOnA+Jm5ic3A7PC9vOnA+PC9zcGFuPjwvcD4N Cg0KPHAgY2xhc3M9TXNvTm9ybWFsPjxzcGFuIHN0eWxlPSdmb250LXNpemU6MTEuMHB0O2ZvbnQt ZmFtaWx5OiJDYWxpYnJpIiwic2Fucy1zZXJpZiI7DQpjb2xvcjojMUY0OTdEJz5PZiBjb3Vyc2Us IEkgd291bGQgYXJndWUgdGhhdCB0aGUgU1FMIHRoZXJlIHNob3VsZCBqdXN0IGJlIGluIHRoZQ0K aUJhdGlzIGZpbGUgcmF0aGVyIHRoYW4gd3JhcHBlZCBpbiBhIHByb2MsIGJ1dCBJIGtub3cgdGhl cmUgYXJlIGRpZmZlcmVudA0KY2FtcHMuPG86cD48L286cD48L3NwYW4+PC9wPg0KDQo8cCBjbGFz cz1Nc29Ob3JtYWw+PHNwYW4gc3R5bGU9J2ZvbnQtc2l6ZToxMS4wcHQ7Zm9udC1mYW1pbHk6IkNh bGlicmkiLCJzYW5zLXNlcmlmIjsNCmNvbG9yOiMxRjQ5N0QnPjxvOnA+Jm5ic3A7PC9vOnA+PC9z cGFuPjwvcD4NCg0KPGRpdj4NCg0KPGRpdiBzdHlsZT0nYm9yZGVyOm5vbmU7Ym9yZGVyLXRvcDpz b2xpZCAjQjVDNERGIDEuMHB0O3BhZGRpbmc6My4wcHQgMGluIDBpbiAwaW4nPg0KDQo8cCBjbGFz cz1Nc29Ob3JtYWw+PGI+PHNwYW4gc3R5bGU9J2ZvbnQtc2l6ZToxMC4wcHQ7Zm9udC1mYW1pbHk6 IlRhaG9tYSIsInNhbnMtc2VyaWYiJz5Gcm9tOjwvc3Bhbj48L2I+PHNwYW4NCnN0eWxlPSdmb250 LXNpemU6MTAuMHB0O2ZvbnQtZmFtaWx5OiJUYWhvbWEiLCJzYW5zLXNlcmlmIic+IExlZSBTaGlu bGV2ZXINClttYWlsdG86bHNoaW5sZXZlckBsZXhlc2luYy5jb21dIDxicj4NCjxiPlNlbnQ6PC9i PiBUaHVyc2RheSwgU2VwdGVtYmVyIDEzLCAyMDA3IDI6MDAgUE08YnI+DQo8Yj5Ubzo8L2I+IHVz ZXItY3NAaWJhdGlzLmFwYWNoZS5vcmc8YnI+DQo8Yj5TdWJqZWN0OjwvYj4gUkU6IFJldHVybiBS ZXN1bHRzPG86cD48L286cD48L3NwYW4+PC9wPg0KDQo8L2Rpdj4NCg0KPC9kaXY+DQoNCjxwIGNs YXNzPU1zb05vcm1hbD48bzpwPiZuYnNwOzwvbzpwPjwvcD4NCg0KPHAgY2xhc3M9TXNvTm9ybWFs Pkl0IGlzIHRoZSBvZGRlc3QgdGhpbmcuIFdlIGFjdHVhbGx5IG1vZGlmaWVkIHRoZSBTUFJPQyBi eQ0KcmVtb3ZpbmcgdGhlIFJFVFVSTiBzdGF0ZW1lbnQgYW5kIGp1c3QgYWxsb3dpbmcgdGhlIHJl c3VsdHMgb2YgdGhlIFNFTEVDVCB0bw0KY29tZSBiYWNrIHRvIGlCYXRpcy4gSXQgd2Fzbid0IHVu dGlsIHdlIHJlbW92ZSB0aGUgPHNwYW4gc3R5bGU9J2NvbG9yOmJsYWNrJz5TRUxFQ1QmbmJzcDsN CkBEYXRlQWN0aXZlID0gREFURUFERChtaW51dGUsJm5ic3A7IC0oQE1pbnV0ZXNTaW5jZUxhc3RJ bkFjdGl2ZSksDQpAQ3VycmVudFRpbWVVdGMpPC9zcGFuPiBsaW5lLCBkaWQgdGhhdCBjYWxjdWxh dGlvbiBpbiBvdXIgYXBwbGljYXRpb24gY29kZSBhbmQNCnBhc3NlZCBpdCBpbiBhcyBhIHBhcmFt ZXRlciB0aGF0IGl0IGZpbmFsbHkgd29ya2VkLiA8YnI+DQo8YnI+DQpGb3Igc29tZSByZWFzb24g aUJhdGlzIGp1c3QgZGlkIG5vdCBsaWtlIHRoYXQgY2FsY3VsYXRpb24gYmVpbmcgcnVuIGluc2lk ZSB0aGUNClNQUk9DLjxicj4NCjxicj4NCkxlZTxicj4NCjxicj4NCk9uIFRodSwgMjAwNy0wOS0x MyBhdCAxMzo1NSAtMDQwMCwgQ2xvdWdoLCBTYW11ZWwgKFVTUEMuUFJHLkF0bGFudGEpIHdyb3Rl OiA8bzpwPjwvbzpwPjwvcD4NCg0KPHAgY2xhc3M9TXNvTm9ybWFsIHN0eWxlPSdtYXJnaW4tYm90 dG9tOjEyLjBwdCc+PHNwYW4gc3R5bGU9J2NvbG9yOmJsYWNrJz5NYXliZQ0KSSBkb27igJl0IHVu ZGVyc3RhbmQgdGhpcyBjb3JyZWN0bHksIGJ1dCBhcmUgeW91IHRyeWluZyB0byB1c2UgU1FMIFNl cnZlcuKAmXMNCmFiaWxpdHkgdG8gZ2VuZXJhdGUgYSByZXN1bHQgc2V0IGZyb20gYSBzdG9yZWQg cHJvYyBjYWxsPyZuYnNwOyBJZiB5b3UsIEkgd291bGQNCnNheSB5b3Ugc2hvdWxkIHByb2JhYmx5 IHVzZSBhIHNlbGVjdCBlbGVtZW50IHJhdGhlciB0aGFuIGEgc3RhdGVtZW50IGVsZW1lbnQgc28N CnRoYXQgaUJhdGlzIGV4cGVjdHMgYSByZXN1bHQgc2V0LiZuYnNwOyBPdGhlcndpc2UsIGlCYXRp cyBpcyBwcm9iYWJseSBleHBlY3RpbmcNCnRvIHJldHVybiB5b3UgdGhlIHByb2NlZHVyZXMgcmV0 dXJuIGNvZGUgb3IgbWF5YmUgdGhlIHJvd3MgbW9kaWZpZWQgcmV0dXJuIGZyb20NCnRoZSBkYXRh YmFzZSwgSeKAmW0gbm90IHN1cmUuPC9zcGFuPjxicj4NCjxicj4NCjxzcGFuIHN0eWxlPSdjb2xv cjpibGFjayc+Jm5ic3A7PC9zcGFuPjxvOnA+PC9vOnA+PC9wPg0KDQo8YmxvY2txdW90ZSBzdHls ZT0nbWFyZ2luLXRvcDo1LjBwdDttYXJnaW4tYm90dG9tOjUuMHB0Jz4NCg0KPHAgY2xhc3M9TXNv Tm9ybWFsIHN0eWxlPSdtYXJnaW4tYm90dG9tOjEyLjBwdCc+PGI+PHNwYW4gc3R5bGU9J2NvbG9y OmJsYWNrJz5Gcm9tOjwvc3Bhbj48L2I+PHNwYW4NCnN0eWxlPSdjb2xvcjpibGFjayc+IExlZSBT aGlubGV2ZXIgW21haWx0bzpsc2hpbmxldmVyQGxleGVzaW5jLmNvbV0gPC9zcGFuPjxicj4NCjxi PjxzcGFuIHN0eWxlPSdjb2xvcjpibGFjayc+U2VudDo8L3NwYW4+PC9iPjxzcGFuIHN0eWxlPSdj b2xvcjpibGFjayc+DQpXZWRuZXNkYXksIFNlcHRlbWJlciAxMiwgMjAwNyA0OjI3IFBNPC9zcGFu Pjxicj4NCjxiPjxzcGFuIHN0eWxlPSdjb2xvcjpibGFjayc+VG86PC9zcGFuPjwvYj48c3BhbiBz dHlsZT0nY29sb3I6YmxhY2snPg0KdXNlci1jc0BpYmF0aXMuYXBhY2hlLm9yZzwvc3Bhbj48YnI+ DQo8Yj48c3BhbiBzdHlsZT0nY29sb3I6YmxhY2snPlN1YmplY3Q6PC9zcGFuPjwvYj48c3BhbiBz dHlsZT0nY29sb3I6YmxhY2snPg0KUmV0dXJuIFJlc3VsdHM8L3NwYW4+PGJyPg0KPGJyPg0KPG86 cD48L286cD48L3A+DQoNCjwvYmxvY2txdW90ZT4NCg0KPGJsb2NrcXVvdGUgc3R5bGU9J21hcmdp bi10b3A6NS4wcHQ7bWFyZ2luLWJvdHRvbTo1LjBwdCc+DQoNCjxwIGNsYXNzPU1zb05vcm1hbCBz dHlsZT0nbWFyZ2luLWJvdHRvbToxMi4wcHQnPjxzcGFuIHN0eWxlPSdjb2xvcjpibGFjayc+Jm5i c3A7PC9zcGFuPjxicj4NCjxicj4NCjxzcGFuIHN0eWxlPSdjb2xvcjpibGFjayc+R3JlZXRpbmdz LDwvc3Bhbj48YnI+DQo8YnI+DQo8c3BhbiBzdHlsZT0nY29sb3I6YmxhY2snPkN1cnJlbnRseSB3 ZSBhcmUgcmVwbGFjaW5nIGFsbCBvZiB0aGUgZGF0YSBhY2Nlc3MgY29kZQ0KaW4gdGhlIEFTUC5O ZXQgU2VjdXJpdHkgUHJvdmlkZXJzIHVzaW5nIFNwcmluZy5OZXQgYW5kIGlCYXRpcy5OZXQuIEJh c2ljYWxseQ0KaW5zdGVhZCBvZiBpbXBsZW1lbnRpbmcgYSBjdXN0b20gcHJvdmlkZXIgZWFjaCB0 aW1lIHNlY3VyaXR5IHBlcnNpc3RlbmNlIG5lZWRzDQpjaGFuZ2VkIHdlIGp1c3QgdXNlIG9uZSBw cm92aWRlciBhbmQgY2hhbmdlIGl0cyBkYXRhIGFjY2VzcyBjb21wb25lbnQNCihpQmF0aXNOZXQp IGFzIG5lZWRlZC4gPC9zcGFuPjxicj4NCjxicj4NCjxzcGFuIHN0eWxlPSdjb2xvcjpibGFjayc+ V2UgZGlkIHJ1biBpbnRvIG9uZSBvcGVyYXRpb24gdGhhdCBqdXN0IHdvbid0IHJldHVybg0KdGhl IGV4cGVjdGVkIHJlc3VsdHMgbm8gbWF0dGVyIHdoYXQgd2UgZG8gc2hvcnQgb2YgbW9kaWZ5aW5n IHRoZSBhY3R1YWwgc3RvcmVkDQpwcm9jZWR1cmUuIFdlIGRvbid0IGhhdmUgYSBwcm9ibGVtIGNo YW5naW5nIHRoZSBTUFJPQyB0byBtYWtlIGl0IHdvcmsgYnV0IHdlDQp3ZXJlIHdvbmRlcmluZyBp ZiBhbnlvbmUgY291bGQgcG9pbnQgb3V0IHdoYXQgbWlnaHQgYmUgaGFwcGVuaW5nIGhlcmUuPC9z cGFuPjxicj4NCjxicj4NCjxiPjxzcGFuIHN0eWxlPSdjb2xvcjpibGFjayc+Q29tcG9uZW50czo8 L3NwYW4+PC9iPjxicj4NCjxiPjxzcGFuIHN0eWxlPSdjb2xvcjpibGFjayc+Jm5ic3A7Jm5ic3A7 Jm5ic3A7IDwvc3Bhbj48L2I+PHNwYW4NCnN0eWxlPSdjb2xvcjpibGFjayc+MSkgU1FMIFNlcnZl ciAyMDA1PC9zcGFuPjxicj4NCjxzcGFuIHN0eWxlPSdjb2xvcjpibGFjayc+Jm5ic3A7Jm5ic3A7 Jm5ic3A7Jm5ic3A7IDIpIFZpc3VhbCBTdHVkaW8gMjAwNTwvc3Bhbj48YnI+DQo8c3BhbiBzdHls ZT0nY29sb3I6YmxhY2snPiZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyAzKSBpQmF0aXNOZXQgRGF0 YU1hcHBlcg0KMS42LjEuMDwvc3Bhbj48YnI+DQo8YnI+DQo8Yj48c3BhbiBzdHlsZT0nY29sb3I6 YmxhY2snPk9yaWdpbmFsIFN0b3JlZCBQcm9jZWR1cmU6PC9zcGFuPjwvYj48YnI+DQo8YnI+DQo8 c3BhbiBzdHlsZT0nY29sb3I6YmxhY2snPkFMVEVSIFBST0NFRFVSRQ0KZGJvLmFzcG5ldF9NZW1i ZXJzaGlwX0dldE51bWJlck9mVXNlcnNPbmxpbmU8L3NwYW4+PGJyPg0KPHNwYW4gc3R5bGU9J2Nv bG9yOmJsYWNrJz4mbmJzcDsmbmJzcDsmbmJzcDsNCkBBcHBsaWNhdGlvbk5hbWUmbmJzcDsmbmJz cDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsN Cm52YXJjaGFyKDI1NiksPC9zcGFuPjxicj4NCjxzcGFuIHN0eWxlPSdjb2xvcjpibGFjayc+Jm5i c3A7Jm5ic3A7Jm5ic3A7DQpATWludXRlc1NpbmNlTGFzdEluQWN0aXZlJm5ic3A7Jm5ic3A7IGlu dCw8L3NwYW4+PGJyPg0KPHNwYW4gc3R5bGU9J2NvbG9yOmJsYWNrJz4mbmJzcDsmbmJzcDsmbmJz cDsNCkBDdXJyZW50VGltZVV0YyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZu YnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOw0KZGF0ZXRpbWUmbmJzcDsmbmJzcDsm bmJzcDsgPC9zcGFuPjxicj4NCjxzcGFuIHN0eWxlPSdjb2xvcjpibGFjayc+QVM8L3NwYW4+PGJy Pg0KPHNwYW4gc3R5bGU9J2NvbG9yOmJsYWNrJz5CRUdJTjwvc3Bhbj48YnI+DQo8c3BhbiBzdHls ZT0nY29sb3I6YmxhY2snPiZuYnNwOyZuYnNwOyZuYnNwOyBERUNMQVJFIEBEYXRlQWN0aXZlIGRh dGV0aW1lPC9zcGFuPjxicj4NCjxzcGFuIHN0eWxlPSdjb2xvcjpibGFjayc+Jm5ic3A7Jm5ic3A7 Jm5ic3A7IFNFTEVDVCZuYnNwOyBARGF0ZUFjdGl2ZSA9DQpEQVRFQUREKG1pbnV0ZSwmbmJzcDsg LShATWludXRlc1NpbmNlTGFzdEluQWN0aXZlKSwgQEN1cnJlbnRUaW1lVXRjKTwvc3Bhbj48YnI+ DQo8c3BhbiBzdHlsZT0nY29sb3I6YmxhY2snPiZuYnNwOyZuYnNwOyA8L3NwYW4+PGJyPg0KPHNw YW4gc3R5bGU9J2NvbG9yOmJsYWNrJz4mbmJzcDsmbmJzcDsmbmJzcDsgREVDTEFSRSBATnVtT25M aW5lIGludDwvc3Bhbj48YnI+DQo8YnI+DQo8c3BhbiBzdHlsZT0nY29sb3I6YmxhY2snPiZuYnNw OyZuYnNwOyZuYnNwOyBTRUxFQ1QmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsNCkBOdW1PbkxpbmUg PSBDb3VudCgqKTwvc3Bhbj48YnI+DQo8c3BhbiBzdHlsZT0nY29sb3I6YmxhY2snPiZuYnNwOyZu YnNwOyZuYnNwOyZuYnNwOw0KRlJPTSZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNw OyZuYnNwOyZuYnNwOyBhc3BuZXRfVXNlcnMgQVMgdSBXSVRIDQooTk9MT0NLKSBJTk5FUiBKT0lO PC9zcGFuPjxicj4NCjxzcGFuIHN0eWxlPSdjb2xvcjpibGFjayc+Jm5ic3A7Jm5ic3A7Jm5ic3A7 Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5i c3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7 Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7DQphc3BuZXRfQXBwbGljYXRpb25zIEFTIGEgV0lUSCAo Tk9MT0NLKSBPTiB1LkFwcGxpY2F0aW9uSWQgPSBhLkFwcGxpY2F0aW9uSWQNCklOTkVSIEpPSU48 L3NwYW4+PGJyPg0KPHNwYW4gc3R5bGU9J2NvbG9yOmJsYWNrJz4mbmJzcDsmbmJzcDsmbmJzcDsm bmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJz cDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsm bmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsNCmFzcG5ldF9NZW1iZXJzaGlwIEFTIG0gV0lUSCAoTk9M T0NLKSBPTiB1LlVzZXJJZCA9IG0uVXNlcklkPC9zcGFuPjxicj4NCjxzcGFuIHN0eWxlPSdjb2xv cjpibGFjayc+Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7DQpXSEVSRSZuYnNwOyZuYnNwOyZuYnNw OyZuYnNwOyAodS5MYXN0QWN0aXZpdHlEYXRlICZndDsgPGI+QERhdGVBY3RpdmU8L2I+KSBBTkQN CihhLkxvd2VyZWRBcHBsaWNhdGlvbk5hbWUgPSBMT1dFUihAQXBwbGljYXRpb25OYW1lKSk8L3Nw YW4+PGJyPg0KPHNwYW4gc3R5bGU9J2NvbG9yOmJsYWNrJz4mbmJzcDsmbmJzcDsgPC9zcGFuPjxi cj4NCjxzcGFuIHN0eWxlPSdjb2xvcjpibGFjayc+Jm5ic3A7Jm5ic3A7IDxiPnJldHVybiBATnVt T25MaW5lPC9iPjwvc3Bhbj48YnI+DQo8c3BhbiBzdHlsZT0nY29sb3I6YmxhY2snPiZuYnNwOyZu YnNwOyZuYnNwOyA8L3NwYW4+PGJyPg0KPHNwYW4gc3R5bGU9J2NvbG9yOmJsYWNrJz5FTkQ8L3Nw YW4+PGJyPg0KPGJyPg0KPGI+PHNwYW4gc3R5bGU9J2NvbG9yOmJsYWNrJz5TdGF0ZW1lbnQ6PC9z cGFuPjwvYj48YnI+DQo8c3BhbiBzdHlsZT0nY29sb3I6YmxhY2snPiZuYnNwOyZuYnNwOyZuYnNw OyAmbHQ7cHJvY2VkdXJlDQppZD0mcXVvdDtHZXROdW1iZXJPZlVzZXJzT25saW5lJnF1b3Q7PC9z cGFuPjxicj4NCjxzcGFuIHN0eWxlPSdjb2xvcjpibGFjayc+Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5i c3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7 Jm5ic3A7DQpyZXN1bHRDbGFzcz0mcXVvdDtpbnQmcXVvdDsgPC9zcGFuPjxicj4NCjxzcGFuIHN0 eWxlPSdjb2xvcjpibGFjayc+Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5i c3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7DQpwYXJhbWV0ZXJN YXA9JnF1b3Q7R2V0TnVtYmVyT2ZVc2Vyc09ubGluZSZxdW90OyZndDs8L3NwYW4+PGJyPg0KPHNw YW4gc3R5bGU9J2NvbG9yOmJsYWNrJz4mbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsNCmFz cG5ldF9NZW1iZXJzaGlwX0dldE51bWJlck9mVXNlcnNPbmxpbmU8L3NwYW4+PGJyPg0KPHNwYW4g c3R5bGU9J2NvbG9yOmJsYWNrJz4mbmJzcDsmbmJzcDsmbmJzcDsgJmx0Oy9wcm9jZWR1cmUmZ3Q7 PC9zcGFuPjxicj4NCjxicj4NCjxiPjxzcGFuIHN0eWxlPSdjb2xvcjpibGFjayc+UGFyYW1ldGVy IE1hcDo8L3NwYW4+PC9iPjxicj4NCjxzcGFuIHN0eWxlPSdjb2xvcjpibGFjayc+Jm5ic3A7Jm5i c3A7Jm5ic3A7ICZsdDtwYXJhbWV0ZXJNYXANCmlkPSZxdW90O0dldE51bWJlck9mVXNlcnNPbmxp bmUmcXVvdDsgY2xhc3M9JnF1b3Q7SGFzaHRhYmxlJnF1b3Q7Jmd0Ozwvc3Bhbj48YnI+DQo8c3Bh biBzdHlsZT0nY29sb3I6YmxhY2snPiZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyAmbHQ7 cGFyYW1ldGVyIHByb3BlcnR5PSZxdW90O0FwcGxpY2F0aW9uTmFtZSZxdW90Ow0KY29sdW1uPSZx dW90O0FwcGxpY2F0aW9uTmFtZSZxdW90OyBkYlR5cGU9JnF1b3Q7c3RyaW5nJnF1b3Q7DQpzaXpl PSZxdW90OzI1NiZxdW90Oy8mZ3Q7PC9zcGFuPjxicj4NCjxzcGFuIHN0eWxlPSdjb2xvcjpibGFj ayc+Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7ICZsdDtwYXJhbWV0ZXINCnByb3BlcnR5 PSZxdW90O01pbnV0ZXNTaW5jZUxhc3RJbkFjdGl2ZSZxdW90Ow0KY29sdW1uPSZxdW90O01pbnV0 ZXNTaW5jZUxhc3RJbkFjdGl2ZSZxdW90OyBkYlR5cGU9JnF1b3Q7aW50JnF1b3Q7LyZndDs8L3Nw YW4+PGJyPg0KPHNwYW4gc3R5bGU9J2NvbG9yOmJsYWNrJz4mbmJzcDsmbmJzcDsmbmJzcDsmbmJz cDsmbmJzcDsgJmx0O3BhcmFtZXRlcg0KcHJvcGVydHk9JnF1b3Q7Q3VycmVudFRpbWVVdGMmcXVv dDsgY29sdW1uPSZxdW90O0N1cnJlbnRUaW1lVXRjJnF1b3Q7DQpkYlR5cGU9JnF1b3Q7RGF0ZVRp bWUmcXVvdDsvJmd0OyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyA8L3NwYW4+PGJyPg0K PHNwYW4gc3R5bGU9J2NvbG9yOmJsYWNrJz4mbmJzcDsmbmJzcDsmbmJzcDsgJmx0Oy9wYXJhbWV0 ZXJNYXAmZ3Q7PC9zcGFuPjxicj4NCjxicj4NCjxiPjxzcGFuIHN0eWxlPSdjb2xvcjpibGFjayc+ REFPIENvZGU6Jm5ic3A7Jm5ic3A7PC9zcGFuPjwvYj48c3Bhbg0Kc3R5bGU9J2NvbG9yOmJsYWNr Jz4mbmJzcDsgPC9zcGFuPjxicj4NCjxicj4NCjxzcGFuIHN0eWxlPSdjb2xvcjpibGFjayc+Li4u c25pcHBldC4uLjwvc3Bhbj48YnI+DQo8c3BhbiBzdHlsZT0nY29sb3I6YmxhY2snPiZuYnNwOyZu YnNwOyZuYnNwOyZuYnNwOyZuYnNwOyBIYXNodGFibGUgcGFybXMgPSBuZXcNCkhhc2h0YWJsZSgp Ozwvc3Bhbj48YnI+DQo8c3BhbiBzdHlsZT0nY29sb3I6YmxhY2snPiZuYnNwOyZuYnNwOyZuYnNw OyZuYnNwOyZuYnNwOw0KcGFybXMuQWRkKCZxdW90O0FwcGxpY2F0aW9uTmFtZSZxdW90OywgYXBw bGljYXRpb25uYW1lKTs8L3NwYW4+PGJyPg0KPHNwYW4gc3R5bGU9J2NvbG9yOmJsYWNrJz4mbmJz cDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsNCnBhcm1zLkFkZCgmcXVvdDtNaW51dGVzU2luY2VM YXN0SW5hY3RpdmUmcXVvdDssIG1pbnV0ZXNzaW5jZWxhc3RpbmFjdGl2ZSk7PC9zcGFuPjxicj4N CjxzcGFuIHN0eWxlPSdjb2xvcjpibGFjayc+Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7 DQpwYXJtcy5BZGQoJnF1b3Q7Q3VycmVudFRpbWVVdGMmcXVvdDssIGN1cnJlbnR0aW1ldXRjKTs8 L3NwYW4+PGJyPg0KPHNwYW4gc3R5bGU9J2NvbG9yOmJsYWNrJz4mbmJzcDsmbmJzcDsmbmJzcDsm bmJzcDsmbmJzcDsgPC9zcGFuPjxicj4NCjxzcGFuIHN0eWxlPSdjb2xvcjpibGFjayc+Jm5ic3A7 Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7IGludCByZXN1bHRzID0gMDs8L3NwYW4+PGJyPg0KPGJy Pg0KPHNwYW4gc3R5bGU9J2NvbG9yOmJsYWNrJz4mbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJz cDsgcmVzdWx0cyA9IChpbnQpDQpDdXN0b21NYXBwZXIuSW5zdGFuY2UoKS5RdWVyeUZvck9iamVj dCgmcXVvdDtHZXROdW1iZXJPZlVzZXJzT25saW5lJnF1b3Q7LA0KcGFybXMpOzwvc3Bhbj48YnI+ DQo8YnI+DQo8c3BhbiBzdHlsZT0nY29sb3I6YmxhY2snPiZuYnNwOyZuYnNwOyZuYnNwOyZuYnNw OyZuYnNwOyByZXR1cm4gcmVzdWx0czs8L3NwYW4+PGJyPg0KPHNwYW4gc3R5bGU9J2NvbG9yOmJs YWNrJz4uLi5zbmlwcGV0Li4uPC9zcGFuPjxicj4NCjxicj4NCjxiPjxzcGFuIHN0eWxlPSdjb2xv cjpibGFjayc+VGVzdGluZzo8L3NwYW4+PC9iPjxicj4NCjxzcGFuIHN0eWxlPSdjb2xvcjpibGFj ayc+Jm5ic3A7Jm5ic3A7Jm5ic3A7IFVzaW5nIHRoZSBzYW1lIHBhcmFtZXRlcnMsDQpleHBlY3Rl ZCByZXN1bHRzID0gMiAuLi48L3NwYW4+PGJyPg0KPHNwYW4gc3R5bGU9J2NvbG9yOmJsYWNrJz4m bmJzcDsmbmJzcDsmbmJzcDsgMSkgUmVtb3ZlZCB0aGUgPGI+cmV0dXJuDQpATnVtT25MaW5lPC9i PiBsaW5lPC9zcGFuPjxicj4NCjxzcGFuIHN0eWxlPSdjb2xvcjpibGFjayc+Jm5ic3A7Jm5ic3A7 Jm5ic3A7IDEpIFJhbiB0aGUgU1BST0MgaW4gdGhlIFNRTA0KZGVidWdnZXIgLSBTUUwgb3V0cHV0 IHJlc3VsdHMgd2VyZSBmaW5lPC9zcGFuPjxicj4NCjxzcGFuIHN0eWxlPSdjb2xvcjpibGFjayc+ Jm5ic3A7Jm5ic3A7Jm5ic3A7IDIpIFJhbiB0aGUgb3JpZ2luYWwgREFPIGNvZGUgdXNpbmcNClNR TCBjb21tYW5kIG9iamVjdHMgLSBTUUwgY29tbWFuZCByZXN1bHRzIHdlcmUgZmluZTwvc3Bhbj48 YnI+DQo8c3BhbiBzdHlsZT0nY29sb3I6YmxhY2snPiZuYnNwOyZuYnNwOyZuYnNwOyAzKSBSYW4g b3VyIERBTyBjb2RlIHVzaW5nDQppQmF0aXNOZXQgLSBubyByZXN1bHRzIGV2ZXIgcmV0dXJuPC9z cGFuPjxicj4NCjxzcGFuIHN0eWxlPSdjb2xvcjpibGFjayc+Jm5ic3A7Jm5ic3A7Jm5ic3A7IDQp IENoYW5nZSBtYXBwaW5nIGZpbGUgYW5kIERBTw0KY29kZSB0byByZWZsZWN0IHVzaW5nIGEgSGFz aHRhYmxlIGFzIHRoZSByZXR1cm4gY2xhc3MgLSBpQmF0aXNOZXQgZGlkIG5vdA0KcmV0dXJuIGFu eSByZXN1bHRzPC9zcGFuPjxicj4NCjxzcGFuIHN0eWxlPSdjb2xvcjpibGFjayc+Jm5ic3A7Jm5i c3A7Jm5ic3A7IDUpIENoYW5nZWQgPGI+QERhdGVBY3RpdmU8L2I+IHRvDQphbnl0aGluZyBlbHNl IChkYXRlIHZhbHVlKSAtIGlCYXRpc05ldCByZXN1bHRzIHdlcmUgZmluZTwvc3Bhbj48YnI+DQo8 YnI+DQo8YnI+DQo8c3BhbiBzdHlsZT0nY29sb3I6YmxhY2snPlRoYW5rcyw8L3NwYW4+PGJyPg0K PHNwYW4gc3R5bGU9J2NvbG9yOmJsYWNrJz5MZWU8L3NwYW4+PGJyPg0KPGJyPg0KPGJyPg0KPGJy Pg0KPG86cD48L286cD48L3A+DQoNCjwvYmxvY2txdW90ZT4NCg0KPGJsb2NrcXVvdGUgc3R5bGU9 J21hcmdpbi10b3A6NS4wcHQ7bWFyZ2luLWJvdHRvbTo1LjBwdCc+DQoNCjxkaXYgY2xhc3M9TXNv Tm9ybWFsIGFsaWduPWNlbnRlciBzdHlsZT0ndGV4dC1hbGlnbjpjZW50ZXInPg0KDQo8aHIgc2l6 ZT0yIHdpZHRoPSIxMDAlIiBhbGlnbj1jZW50ZXI+DQoNCjwvZGl2Pg0KDQo8L2Jsb2NrcXVvdGU+ DQoNCjxibG9ja3F1b3RlIHN0eWxlPSdtYXJnaW4tdG9wOjUuMHB0O21hcmdpbi1ib3R0b206NS4w cHQnPg0KDQo8cCBjbGFzcz1Nc29Ob3JtYWwgc3R5bGU9J21hcmdpbi1ib3R0b206MTIuMHB0Jz48 Yj48c3BhbiBzdHlsZT0nY29sb3I6IzAwMDA3Ric+UHJpbmNldG9uDQpSZXRpcmVtZW50IEdyb3Vw LCBJbmMgLSBJbXBvcnRhbnQgVGVybXMgPC9zcGFuPjwvYj48YnI+DQo8YnI+DQo8c3BhbiBzdHls ZT0nZm9udC1zaXplOjcuNXB0O2NvbG9yOmJsYWNrJz5UaGlzIEUtbWFpbCBpcyBub3QgaW50ZW5k ZWQgZm9yDQpkaXN0cmlidXRpb24gdG8sIG9yIHVzZSBieSwgYW55IHBlcnNvbiBvciBlbnRpdHkg aW4gYW55IGxvY2F0aW9uIHdoZXJlIHN1Y2gNCmRpc3RyaWJ1dGlvbiBvciB1c2Ugd291bGQgYmUg Y29udHJhcnkgdG8gbGF3IG9yIHJlZ3VsYXRpb24sIG9yIHdoaWNoIHdvdWxkDQpzdWJqZWN0IFBy aW5jZXRvbiBSZXRpcmVtZW50IEdyb3VwLCBJbmMuIG9yIGFueSBhZmZpbGlhdGUgdG8gYW55IHJl Z2lzdHJhdGlvbg0KcmVxdWlyZW1lbnQgd2l0aGluIHN1Y2ggbG9jYXRpb24uIDwvc3Bhbj48YnI+ DQo8YnI+DQo8c3BhbiBzdHlsZT0nZm9udC1zaXplOjcuNXB0O2NvbG9yOmJsYWNrJz5UaGlzIEUt bWFpbCBtYXkgY29udGFpbiBwcml2aWxlZ2VkIG9yDQpjb25maWRlbnRpYWwgaW5mb3JtYXRpb24g b3IgbWF5IG90aGVyd2lzZSBiZSBwcm90ZWN0ZWQgYnkgd29yayBwcm9kdWN0IGltbXVuaXR5DQpv ciBvdGhlciBsZWdhbCBydWxlcy4gTm8gY29uZmlkZW50aWFsaXR5IG9yIHByaXZpbGVnZSBpcyB3 YWl2ZWQgb3IgbG9zdCBieSBhbnkNCm1pc3RyYW5zbWlzc2lvbi4gQWNjZXNzLCBjb3B5aW5nIG9y IHJlLXVzZSBvZiBpbmZvcm1hdGlvbiBieSBub24taW50ZW5kZWQgb3INCm5vbi1hdXRob3JpemVk IHJlY2lwaWVudHMgaXMgcHJvaGliaXRlZC4gSWYgeW91IGFyZSBub3QgYW4gaW50ZW5kZWQgcmVj aXBpZW50DQpvZiB0aGlzIEUtbWFpbCwgcGxlYXNlIG5vdGlmeSB0aGUgc2VuZGVyLCBkZWxldGUg aXQgYW5kIGRvIG5vdCByZWFkLCBhY3QgdXBvbiwNCnByaW50LCBkaXNjbG9zZSwgY29weSwgcmV0 YWluIG9yIHJlZGlzdHJpYnV0ZSBhbnkgcG9ydGlvbiBvZiB0aGlzIEUtbWFpbC4gPC9zcGFuPjxi cj4NCjxicj4NCjxzcGFuIHN0eWxlPSdmb250LXNpemU6Ny41cHQ7Y29sb3I6YmxhY2snPlRoZSB0 cmFuc21pc3Npb24gYW5kIGNvbnRlbnQgb2YgdGhpcw0KRS1tYWlsIGNhbm5vdCBiZSBndWFyYW50 ZWVkIHRvIGJlIHNlY3VyZSBvciBlcnJvci1mcmVlLiBUaGVyZWZvcmUsIHdlIGNhbm5vdA0KcmVw cmVzZW50IHRoYXQgdGhlIGluZm9ybWF0aW9uIGluIHRoaXMgRS1tYWlsIGlzIGNvbXBsZXRlLCBh Y2N1cmF0ZSwNCnVuY29ycnVwdGVkLCB0aW1lbHkgb3IgZnJlZSBvZiB2aXJ1c2VzLCBhbmQgUHJp bmNldG9uIFJldGlyZW1lbnQgR3JvdXAsIEluYy4NCmNhbm5vdCBhY2NlcHQgYW55IGxpYWJpbGl0 eSBmb3IgRS1tYWlscyB0aGF0IGhhdmUgYmVlbiBhbHRlcmVkIGluIHRoZSBjb3Vyc2Ugb2YNCmRl bGl2ZXJ5LiBQcmluY2V0b24gUmV0aXJlbWVudCBHcm91cCwgSW5jLiByZXNlcnZlcyB0aGUgcmln aHQgdG8gbW9uaXRvciwNCnJldmlldyBhbmQgcmV0YWluIGFsbCBlbGVjdHJvbmljIGNvbW11bmlj YXRpb25zLCBpbmNsdWRpbmcgRS1tYWlsLCB0cmF2ZWxpbmcNCnRocm91Z2ggaXRzIG5ldHdvcmtz IGFuZCBzeXN0ZW1zIChzdWJqZWN0IHRvIGFuZCBpbiBhY2NvcmRhbmNlIHdpdGggbG9jYWwNCmxh d3MpLiBJZiBhbnkgb2YgeW91ciBkZXRhaWxzIGFyZSBpbmNvcnJlY3Qgb3IgaWYgeW91IG5vIGxv bmdlciB3aXNoIHRvIHJlY2VpdmUNCm1haWxpbmdzIHN1Y2ggYXMgdGhpcyBieSBFLW1haWwgcGxl YXNlIGNvbnRhY3QgdGhlIHNlbmRlciBieSByZXBseSBFLW1haWwuIDwvc3Bhbj48YnI+DQo8YnI+ DQo8bzpwPjwvbzpwPjwvcD4NCg0KPC9ibG9ja3F1b3RlPg0KDQo8YmxvY2txdW90ZSBzdHlsZT0n bWFyZ2luLXRvcDo1LjBwdDttYXJnaW4tYm90dG9tOjUuMHB0Jz4NCg0KPGRpdiBjbGFzcz1Nc29O b3JtYWwgYWxpZ249Y2VudGVyIHN0eWxlPSd0ZXh0LWFsaWduOmNlbnRlcic+DQoNCjxociBzaXpl PTIgd2lkdGg9IjEwMCUiIGFsaWduPWNlbnRlcj4NCg0KPC9kaXY+DQoNCjwvYmxvY2txdW90ZT4N Cg0KPC9kaXY+DQoNCjwvYm9keT4NCg0KPC9odG1sPg0K ------_=_NextPart_001_01C7F632.6D1454B8-- From [email protected] Thu Sep 13 18:30:20 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66864 invoked from network); 13 Sep 2007 18:30:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Sep 2007 18:30:20 -0000 Received: (qmail 57928 invoked by uid 500); 13 Sep 2007 18:30:13 -0000 Delivered-To: [email protected] Received: (qmail 57917 invoked by uid 500); 13 Sep 2007 18:30:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 57902 invoked by uid 99); 13 Sep 2007 18:30:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2007 11:30:12 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wx-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2007 18:30:08 +0000 Received: by wx-out-0506.google.com with SMTP id h29so585654wxd for <[email protected]>; Thu, 13 Sep 2007 11:29:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=bS7a/l0bfZaK0g5Y+pzqXyo84RAh/t+Npm/Cq09thYw=; b=Su25k3IAGfZRYL6AdNi+sect2lp5oEL6xbALRBrRIQDMWC0NDzd3CBJi6lPmwMYqHpBx0gJU1sQkxxlvRXXkM4ATrg6B2+A95lEaOcvK+SWfBabX1JjziOwe/rTNvsTSwvJD3RZmVtW5v9kZLqOWtCM8wR13nIbjtYvrTV6+GzU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Q6DYW+/qzyVGesiWhgCW2jFrHO+v/07LJ9BrJDoeqwj6PnqYfVGR1oXQZGRiOjI397c44IGLUXJB+7EGaHmWqxgJi2fKdjUQPzU69V3pdjPH4aQIJKAXkkvbcuLPbLLA0JvJ1uY/C9aAsgXtDbVq2JZC80AXHHiuDeVsc1f9JlU= Received: by 161.129.204.104 with SMTP id p10mr2044376agb.1189708186457; Thu, 13 Sep 2007 11:29:46 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 13 Sep 2007 11:29:46 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 13 Sep 2007 20:29:46 +0200 From: "Gilles Bayon" <[email protected]> To: [email protected] Subject: Re: Return Results In-Reply-To: <1189706406.32069.44.camel@lshinlever-desktop> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18188_18109000.1189708186440" References: <1189628843.32069.35.camel@lshinlever-desktop> <[email protected]> <1189706406.32069.44.camel@lshinlever-desktop> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_18188_18109000.1189708186440 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Strange, guess that it's more a problem of the DbType of the return, I noted this to have a look Cheers -Gilles On 9/13/07, Lee Shinlever <[email protected]> wrote: > > It is the oddest thing. We actually modified the SPROC by removing the > RETURN statement and just allowing the results of the SELECT to come back to > iBatis. It wasn't until we remove the SELECT @DateActive = > DATEADD(minute, -(@MinutesSinceLastInActive), @CurrentTimeUtc) line, did > that calculation in our application code and passed it in as a parameter > that it finally worked. > > For some reason iBatis just did not like that calculation being run inside > the SPROC. > > Lee > > On Thu, 2007-09-13 at 13:55 -0400, Clough, Samuel (USPC.PRG.Atlanta) > wrote: > > Maybe I don't understand this correctly, but are you trying to use SQL > Server's ability to generate a result set from a stored proc call? If you, > I would say you should probably use a select element rather than a statement > element so that iBatis expects a result set. Otherwise, iBatis is probably > expecting to return you the procedures return code or maybe the rows > modified return from the database, I'm not sure. > > > > *From:* Lee Shinlever [mailto:[email protected]] > *Sent:* Wednesday, September 12, 2007 4:27 PM > *To:* [email protected] > *Subject:* Return Results > > > > > Greetings, > > Currently we are replacing all of the data access code in the ASP.NetSecurity Providers using > Spring.Net and iBatis.Net. Basically instead of implementing a custom > provider each time security persistence needs changed we just use one > provider and change its data access component (iBatisNet) as needed. > > We did run into one operation that just won't return the expected results > no matter what we do short of modifying the actual stored procedure. We > don't have a problem changing the SPROC to make it work but we were > wondering if anyone could point out what might be happening here. > > *Components:* > * *1) SQL Server 2005 > 2) Visual Studio 2005 > 3) iBatisNet DataMapper 161.129.204.104 > > *Original Stored Procedure:* > > ALTER PROCEDURE dbo.aspnet_Membership_GetNumberOfUsersOnline > @ApplicationName nvarchar(256), > @MinutesSinceLastInActive int, > @CurrentTimeUtc datetime > AS > BEGIN > DECLARE @DateActive datetime > SELECT @DateActive = DATEADD(minute, -(@MinutesSinceLastInActive), > @CurrentTimeUtc) > > DECLARE @NumOnLine int > > SELECT @NumOnLine = Count(*) > FROM aspnet_Users AS u WITH (NOLOCK) INNER JOIN > aspnet_Applications AS a WITH (NOLOCK) ON > u.ApplicationId = a.ApplicationId INNER JOIN > aspnet_Membership AS m WITH (NOLOCK) ON > u.UserId = m.UserId > WHERE (u.LastActivityDate > *@DateActive*) AND ( > a.LoweredApplicationName = LOWER(@ApplicationName)) > > *return @NumOnLine* > > END > > *Statement:* > <procedure id="GetNumberOfUsersOnline" > resultClass="int" > parameterMap="GetNumberOfUsersOnline"> > aspnet_Membership_GetNumberOfUsersOnline > </procedure> > > *Parameter Map:* > <parameterMap id="GetNumberOfUsersOnline" class="Hashtable"> > <parameter property="ApplicationName" column="ApplicationName" > dbType="string" size="256"/> > <parameter property="MinutesSinceLastInActive" > column="MinutesSinceLastInActive" dbType="int"/> > <parameter property="CurrentTimeUtc" column="CurrentTimeUtc" > dbType="DateTime"/> > </parameterMap> > > *DAO Code: * > > ...snippet... > Hashtable parms = new Hashtable(); > parms.Add("ApplicationName", applicationname); > parms.Add("MinutesSinceLastInactive", minutessincelastinactive); > parms.Add("CurrentTimeUtc", currenttimeutc); > > int results = 0; > > results = (int) CustomMapper.Instance().QueryForObject("GetNumberOfUsersOnline", > parms); > > return results; > ...snippet... > > *Testing:* > Using the same parameters, expected results = 2 ... > 1) Removed the *return @NumOnLine* line > 1) Ran the SPROC in the SQL debugger - SQL output results were fine > 2) Ran the original DAO code using SQL command objects - SQL command > results were fine > 3) Ran our DAO code using iBatisNet - no results ever return > 4) Change mapping file and DAO code to reflect using a Hashtable as > the return class - iBatisNet did not return any results > 5) Changed *@DateActive* to anything else (date value) - iBatisNet > results were fine > > > Thanks, > Lee > > > > > ------------------------------ > > *Princeton Retirement Group, Inc - Important Terms * > > This E-mail is not intended for distribution to, or use by, any person or > entity in any location where such distribution or use would be contrary to > law or regulation, or which would subject Princeton Retirement Group, Inc. > or any affiliate to any registration requirement within such location. > > This E-mail may contain privileged or confidential information or may > otherwise be protected by work product immunity or other legal rules. No > confidentiality or privilege is waived or lost by any mistransmission. > Access, copying or re-use of information by non-intended or non-authorized > recipients is prohibited. If you are not an intended recipient of this > E-mail, please notify the sender, delete it and do not read, act upon, > print, disclose, copy, retain or redistribute any portion of this E-mail. > > The transmission and content of this E-mail cannot be guaranteed to be > secure or error-free. Therefore, we cannot represent that the information in > this E-mail is complete, accurate, uncorrupted, timely or free of viruses, > and Princeton Retirement Group, Inc. cannot accept any liability for E-mails > that have been altered in the course of delivery. Princeton Retirement > Group, Inc. reserves the right to monitor, review and retain all electronic > communications, including E-mail, traveling through its networks and systems > (subject to and in accordance with local laws). If any of your details are > incorrect or if you no longer wish to receive mailings such as this by > E-mail please contact the sender by reply E-mail. > > > ------------------------------ > > -- Cheers, Gilles <a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE">Wish List</a> ------=_Part_18188_18109000.1189708186440 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Strange, guess that it&#39;s more a problem of the DbType of the return, I noted this to have a look<br><br>Cheers<br>-Gilles<br><br><div><span class="gmail_quote">On 9/13/07, <b class="gmail_sendername">Lee Shinlever</b> &lt; <a href="mailto:[email protected]">[email protected]</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div link="#0000ff"> It is the oddest thing. We actually modified the SPROC by removing the RETURN statement and just allowing the results of the SELECT to come back to iBatis. It wasn&#39;t until we remove the <font color="#000000">SELECT&nbsp; @DateActive = DATEADD(minute,&nbsp; -(@MinutesSinceLastInActive), @CurrentTimeUtc) </font> line, did that calculation in our application code and passed it in as a parameter that it finally worked. <br> <br> For some reason iBatis just did not like that calculation being run inside the SPROC.<br> <br> Lee<br> <br> On Thu, 2007-09-13 at 13:55 -0400, Clough, Samuel (USPC.PRG.Atlanta) wrote: <blockquote type="CITE"> <font color="#000000">Maybe I don't understand this correctly, but are you trying to use SQL Server's ability to generate a result set from a stored proc call?&nbsp; If you, I would say you should probably use a select element rather than a statement element so that iBatis expects a result set.&nbsp; Otherwise, iBatis is probably expecting to return you the procedures return code or maybe the rows modified return from the database, I'm not sure. </font><br> <br> <font color="#000000">&nbsp;</font><br> <br> </blockquote> <blockquote type="CITE"> <b><font color="#000000">From:</font></b><font color="#000000"> Lee Shinlever [mailto:<a href="mailto:[email protected]" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">[email protected] </a>] </font><br> <b><font color="#000000">Sent:</font></b><font color="#000000"> Wednesday, September 12, 2007 4:27 PM</font><br> <b><font color="#000000">To:</font></b><font color="#000000"> <a href="mailto:[email protected]" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">[email protected]</a></font><br> <b><font color="#000000">Subject:</font></b><font color="#000000"> Return Results</font><br> <br> <br> </blockquote><div><span class="e" id="q_115000bea043cdd8_1"> <blockquote type="CITE"> <font color="#000000">&nbsp;</font><br> <br> <font color="#000000">Greetings,</font><br> <br> <font color="#000000">Currently we are replacing all of the data access code in the ASP.Net Security Providers using Spring.Net and iBatis.Net. Basically instead of implementing a custom provider each time security persistence needs changed we just use one provider and change its data access component (iBatisNet) as needed. </font><br> <br> <font color="#000000">We did run into one operation that just won&#39;t return the expected results no matter what we do short of modifying the actual stored procedure. We don&#39;t have a problem changing the SPROC to make it work but we were wondering if anyone could point out what might be happening here. </font><br> <br> <b><font color="#000000">Components:</font></b><br> <b><font color="#000000">&nbsp;&nbsp;&nbsp; </font></b><font color="#000000">1) SQL Server 2005</font><br> <font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp; 2) Visual Studio 2005</font><br> <font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp; 3) iBatisNet DataMapper <a href="http://161.129.204.104" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">161.129.204.104</a></font><br> <br> <b><font color="#000000">Original Stored Procedure:</font></b><br> <br> <font color="#000000">ALTER PROCEDURE dbo.aspnet_Membership_GetNumberOfUsersOnline</font><br> <font color="#000000">&nbsp;&nbsp;&nbsp; @ApplicationName&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nvarchar(256),</font><br> <font color="#000000">&nbsp;&nbsp;&nbsp; @MinutesSinceLastInActive&nbsp;&nbsp; int,</font><br> <font color="#000000">&nbsp;&nbsp;&nbsp; @CurrentTimeUtc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datetime&nbsp;&nbsp;&nbsp; </font><br> <font color="#000000">AS</font><br> <font color="#000000">BEGIN</font><br> <font color="#000000">&nbsp;&nbsp;&nbsp; DECLARE @DateActive datetime</font><br> <font color="#000000">&nbsp;&nbsp;&nbsp; SELECT&nbsp; @DateActive = DATEADD(minute,&nbsp; -(@MinutesSinceLastInActive), @CurrentTimeUtc)</font><br> <font color="#000000">&nbsp;&nbsp; </font><br> <font color="#000000">&nbsp;&nbsp;&nbsp; DECLARE @NumOnLine int</font><br> <br> <font color="#000000">&nbsp;&nbsp;&nbsp; SELECT&nbsp;&nbsp;&nbsp;&nbsp; @NumOnLine = Count(*)</font><br> <font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp; FROM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aspnet_Users AS u WITH (NOLOCK) INNER JOIN</font><br> <font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aspnet_Applications AS a WITH (NOLOCK) ON u.ApplicationId = a.ApplicationId INNER JOIN</font><br> <font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aspnet_Membership AS m WITH (NOLOCK) ON u.UserId = m.UserId</font><br> <font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp; WHERE&nbsp;&nbsp;&nbsp;&nbsp; (u.LastActivityDate &gt; </font><font color="#000000"><b>@DateActive</b></font><font color="#000000">) AND (a.LoweredApplicationName = LOWER(@ApplicationName))</font><br> <font color="#000000">&nbsp;&nbsp; </font><br> <font color="#000000">&nbsp;&nbsp; </font><font color="#000000"><b>return @NumOnLine</b></font><br> <font color="#000000">&nbsp;&nbsp;&nbsp; </font><br> <font color="#000000">END</font><br> <br> <b><font color="#000000">Statement:</font></b><br> <font color="#000000">&nbsp;&nbsp;&nbsp; &lt;procedure id=&quot;GetNumberOfUsersOnline&quot;</font><br> <font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; resultClass=&quot;int&quot; </font><br> <font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; parameterMap=&quot;GetNumberOfUsersOnline&quot;&gt;</font><br> <font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aspnet_Membership_GetNumberOfUsersOnline</font><br> <font color="#000000">&nbsp;&nbsp;&nbsp; &lt;/procedure&gt;</font><br> <br> <b><font color="#000000">Parameter Map:</font></b><br> <font color="#000000">&nbsp;&nbsp;&nbsp; &lt;parameterMap id=&quot;GetNumberOfUsersOnline&quot; class=&quot;Hashtable&quot;&gt;</font><br> <font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property=&quot;ApplicationName&quot; column=&quot;ApplicationName&quot; dbType=&quot;string&quot; size=&quot;256&quot;/&gt;</font><br> <font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property=&quot;MinutesSinceLastInActive&quot; column=&quot;MinutesSinceLastInActive&quot; dbType=&quot;int&quot;/&gt;</font><br> <font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property=&quot;CurrentTimeUtc&quot; column=&quot;CurrentTimeUtc&quot; dbType=&quot;DateTime&quot;/&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><br> <font color="#000000">&nbsp;&nbsp;&nbsp; &lt;/parameterMap&gt;</font><br> <br> <b><font color="#000000">DAO Code:&nbsp;&nbsp;</font></b><font color="#000000">&nbsp; </font><br> <br> <font color="#000000">...snippet...</font><br> <font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hashtable parms = new Hashtable();</font><br> <font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; parms.Add(&quot;ApplicationName&quot;, applicationname);</font><br> <font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; parms.Add(&quot;MinutesSinceLastInactive&quot;, minutessincelastinactive);</font><br> <font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; parms.Add(&quot;CurrentTimeUtc&quot;, currenttimeutc);</font><br> <font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><br> <font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int results = 0;</font><br> <br> <font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; results = (int) CustomMapper.Instance().QueryForObject(&quot;GetNumberOfUsersOnline&quot;, parms);</font><br> <br> <font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return results;</font><br> <font color="#000000">...snippet...</font><br> <br> <b><font color="#000000">Testing:</font></b><br> <font color="#000000">&nbsp;&nbsp;&nbsp; Using the same parameters, expected results = 2 ...</font><br> <font color="#000000">&nbsp;&nbsp;&nbsp; 1) Removed the </font><font color="#000000"><b>return @NumOnLine</b></font><font color="#000000"> line</font><br> <font color="#000000">&nbsp;&nbsp;&nbsp; 1) Ran the SPROC in the SQL debugger - SQL output results were fine</font><br> <font color="#000000">&nbsp;&nbsp;&nbsp; 2) Ran the original DAO code using SQL command objects - SQL command results were fine</font><br> <font color="#000000">&nbsp;&nbsp;&nbsp; 3) Ran our DAO code using iBatisNet - no results ever return</font><br> <font color="#000000">&nbsp;&nbsp;&nbsp; 4) Change mapping file and DAO code to reflect using a Hashtable as the return class - iBatisNet did not return any results</font><br> <font color="#000000">&nbsp;&nbsp;&nbsp; 5) Changed </font><font color="#000000"><b>@DateActive</b></font><font color="#000000"> to anything else (date value) - iBatisNet results were fine</font><br> <br> <br> <font color="#000000">Thanks,</font><br> <font color="#000000">Lee</font><br> <br> <br> <br> <br> </blockquote></span></div> <blockquote type="CITE"> <hr> </blockquote> <blockquote type="CITE"> <b><font color="#00007f">Princeton Retirement Group, Inc - Important Terms </font></b><br> <br> <font size="1"><font color="#000000">This E-mail is not intended for distribution to, or use by, any person or entity in any location where such distribution or use would be contrary to law or regulation, or which would subject Princeton Retirement Group, Inc. or any affiliate to any registration requirement within such location. </font></font><br> <br> <font size="1"><font color="#000000">This E-mail may contain privileged or confidential information or may otherwise be protected by work product immunity or other legal rules. No confidentiality or privilege is waived or lost by any mistransmission. Access, copying or re-use of information by non-intended or non-authorized recipients is prohibited. If you are not an intended recipient of this E-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute any portion of this E-mail. </font></font><br> <br> <font size="1"><font color="#000000">The transmission and content of this E-mail cannot be guaranteed to be secure or error-free. Therefore, we cannot represent that the information in this E-mail is complete, accurate, uncorrupted, timely or free of viruses, and Princeton Retirement Group, Inc. cannot accept any liability for E-mails that have been altered in the course of delivery. Princeton Retirement Group, Inc. reserves the right to monitor, review and retain all electronic communications, including E-mail, traveling through its networks and systems (subject to and in accordance with local laws). If any of your details are incorrect or if you no longer wish to receive mailings such as this by E-mail please contact the sender by reply E-mail. </font></font><br> <br> <br> </blockquote> <blockquote type="CITE"> <hr> </blockquote> </div> </blockquote></div><br><br clear="all"><br>-- <br>Cheers,<br>Gilles<br><br>&lt;a href=&quot;<a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE">http://www.amazon.com/gp/registry/6JCP7AORB0LE</a>&quot;&gt;Wish List&lt;/a&gt; ------=_Part_18188_18109000.1189708186440-- From [email protected] Sat Sep 15 11:57:50 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17405 invoked from network); 15 Sep 2007 11:57:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Sep 2007 11:57:50 -0000 Received: (qmail 62026 invoked by uid 500); 15 Sep 2007 11:57:42 -0000 Delivered-To: [email protected] Received: (qmail 62010 invoked by uid 500); 15 Sep 2007 11:57:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 61999 invoked by uid 99); 15 Sep 2007 11:57:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Sep 2007 04:57:42 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wx-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Sep 2007 11:57:40 +0000 Received: by wx-out-0506.google.com with SMTP id h29so1002459wxd for <[email protected]>; Sat, 15 Sep 2007 04:57:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=nOo+cpmdLj4rgRDK71vQwxSTRPMItbw8me+6SDJh7ZU=; b=O7dCP5ib+r6+2SkRXpExsSL4LpO6vkFwgRE/78RmSPqpGK0LNPhIBNt5/qgLpnNBsPWmw/y7tyv5fXVb9H4m2H3leTrPOug3SM/rUPaMX8OxkwF4jlJ/wharUnHtmLnRot9IEf+wMKblmiRqjaUQSUkvKE8Zj9XWUPK1dt0SpCc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=cZ5WXohlWlduZy3EJD3dI99RT1i+UuiOEVfOgWIby9RCin4f9Em7eBSxFt2yf7GVOXmh45TtDllq3ns3bsKKx5qO9edMeO2BkIFjRraMj+/jIChVV8aAF9orc44MKHDWGNo+21SDgV8lAOLo9HL3VZ/g+66ILaYPmjK1fd+m6VE= Received: by 161.129.204.104 with SMTP id q15mr1057984aga.1189857439620; Sat, 15 Sep 2007 04:57:19 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sat, 15 Sep 2007 04:57:19 -0700 (PDT) Message-ID: <[email protected]> Date: Sat, 15 Sep 2007 13:57:19 +0200 From: "Gilles Bayon" <[email protected]> To: [email protected] Subject: Re: GroupByStrategy and resultObject In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4967_13440251.1189857439611" References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_4967_13440251.1189857439611 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Guess your are right, it's a miss -- Cheers, Gilles ------=_Part_4967_13440251.1189857439611 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Guess your are right, it&#39;s a miss<br clear="all"><br>-- <br>Cheers,<br>Gilles<br> ------=_Part_4967_13440251.1189857439611-- From [email protected] Sat Sep 15 12:05:13 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20808 invoked from network); 15 Sep 2007 12:05:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Sep 2007 12:05:13 -0000 Received: (qmail 67399 invoked by uid 500); 15 Sep 2007 12:05:05 -0000 Delivered-To: [email protected] Received: (qmail 67387 invoked by uid 500); 15 Sep 2007 12:05:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 67376 invoked by uid 99); 15 Sep 2007 12:05:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Sep 2007 05:05:05 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wx-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Sep 2007 12:05:04 +0000 Received: by wx-out-0506.google.com with SMTP id h29so1003112wxd for <[email protected]>; Sat, 15 Sep 2007 05:04:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=TUevQ40y7WjNLJatIArYpktsO3nywR2Xts3rY5qo76U=; b=HzMH2iuAUvi64hy/hdnJzCXdve4EpvlaQJOqrgKWE7/JBJVQxWpjn+nbwnfy5Gob1hqWJ1R6qZlUx8AxmhN6D84T2UaN1O1Ia6J36yuu3WUAf6Pp/cUSXN/SWga5kD9Bv02cfHzpu9fC2ss+9lWgkSQktqX8TxQ9Tph1I3Cp4/w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=DpLNeix9Z9zO0/IPwIIoiYTPQ7fbgcFgROgkGARojCnmjMlg7eqSMqsi69Vl8ukY1cYjNi+OUOxm+vz0IOkOmJzwnRV21F4fL+kJ7Ygad398GLFBsmpJz71k+ffvljhbuwp0vhMGyhaAAqOFBZGO7Peg1hdk1i/MKzZvyPcxk2w= Received: by 161.129.204.104 with SMTP id d19mr1064563agc.1189857882984; Sat, 15 Sep 2007 05:04:42 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sat, 15 Sep 2007 05:04:42 -0700 (PDT) Message-ID: <[email protected]> Date: Sat, 15 Sep 2007 14:04:42 +0200 From: "Gilles Bayon" <[email protected]> To: [email protected] Subject: Re: GroupByStrategy and resultObject In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4991_24547372.1189857882978" References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_4991_24547372.1189857882978 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Fix in SVN -- Cheers, Gilles <a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE">Wish List</a> ------=_Part_4991_24547372.1189857882978 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Fix in SVN<br clear="all"><br>-- <br>Cheers,<br>Gilles<br><br>&lt;a href=&quot;<a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE">http://www.amazon.com/gp/registry/6JCP7AORB0LE</a>&quot;&gt;Wish List&lt;/a&gt; ------=_Part_4991_24547372.1189857882978-- From [email protected] Sun Sep 16 12:05:45 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24762 invoked from network); 16 Sep 2007 12:05:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Sep 2007 12:05:45 -0000 Received: (qmail 86439 invoked by uid 500); 16 Sep 2007 12:05:37 -0000 Delivered-To: [email protected] Received: (qmail 86421 invoked by uid 500); 16 Sep 2007 12:05:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 86410 invoked by uid 99); 16 Sep 2007 12:05:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Sep 2007 05:05:37 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wx-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Sep 2007 12:05:36 +0000 Received: by wx-out-0506.google.com with SMTP id h29so1112047wxd for <[email protected]>; Sun, 16 Sep 2007 05:05:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=SaWBZFGtoL2mPD9W2hDsuUFbpgaLThf29QS2U1tjbG8=; b=MCQsEoDKdihfOdb/rgZHetOH2mD41adNCbEf5MdGvw6vfnDzG5YCsaGP25fQ/RxiqT/1AGEcwXwdT1h408vHYyYwItfijd15R1wr/HLkvpKImVfK3nvzBr1h24yZRhL8Hk6Re6O0lPcNWzOLAeA/G+yxL5DmHlVxUrvK2qFDzmc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=KDbXO1IRNSYM8TckcixZ7ZhiVG6sU75ahFN112l85i3va2XKOPgPKWVZJfhtEErTkmGzdtgZO8hkdQ6sgMLOqRZMbuhyAA5R+lLBPGRujtxWbmiPvOLnb4ksOlItsw8p5wrwWk3pkjxsKXj3Ib/Wk8tzua3vHayeLNcKatTpou0= Received: by 161.129.204.104 with SMTP id p1mr1988658agc.1189944315717; Sun, 16 Sep 2007 05:05:15 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sun, 16 Sep 2007 05:05:15 -0700 (PDT) Message-ID: <[email protected]> Date: Sun, 16 Sep 2007 14:05:15 +0200 From: "Gilles Bayon" <[email protected]> To: [email protected] Subject: Re: Inheritance issues In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6790_4769560.1189944315713" References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_6790_4769560.1189944315713 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Fix in SVN (IBBATISNET-229) -- Cheers, Gilles <a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE">Wish List</a> ------=_Part_6790_4769560.1189944315713 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Fix in SVN (IBBATISNET-229)<br><br>-- <br>Cheers,<br>Gilles<br><br>&lt;a href=&quot;<a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE">http://www.amazon.com/gp/registry/6JCP7AORB0LE</a>&quot;&gt;Wish List&lt;/a&gt; ------=_Part_6790_4769560.1189944315713-- From [email protected] Sun Sep 16 17:25:56 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44131 invoked from network); 16 Sep 2007 17:25:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Sep 2007 17:25:56 -0000 Received: (qmail 72430 invoked by uid 500); 16 Sep 2007 17:25:48 -0000 Delivered-To: [email protected] Received: (qmail 72423 invoked by uid 500); 16 Sep 2007 17:25:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 72412 invoked by uid 99); 16 Sep 2007 17:25:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Sep 2007 10:25:47 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wx-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Sep 2007 17:25:46 +0000 Received: by wx-out-0506.google.com with SMTP id h29so1138031wxd for <[email protected]>; Sun, 16 Sep 2007 10:25:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=k2U4kBjc0F9bM5wl9EXuPYYz9a32u0+kHIXoq+AJDt0=; b=XO0gzKYarC2qzvxdfL/7VZkSErHNEoWcBUNxhUcjxmf9ty2tnETOsJSxQZ3Tpt9EIBQrLTuCw+iie80WlWI1iMqGFw7hH7R8M+J+jatJ1Ey1ERRnmxP7YvHP2Q2v34cZ5DYkKQKro5CxtJXpzcoHly7WN0WhnuqyMGF/F+ETOg0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=f5wPH6UMKa4yhSI2dqpXPOQzK0dIe9W1APmIdsliBYYQH+L8V8BeLR9r86JJPKT2cMq1aw4o1grbmIDah8sE6GihyyagvY0HNujPriHI/JToqZjB/EaEBuoCqosQ4mmprhQNkHg+UfpWzbzkxviO6znlAd4bDP8LllSlisWsGL4= Received: by 161.129.204.104 with SMTP id d13mr2192087agd.1189963524813; Sun, 16 Sep 2007 10:25:24 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sun, 16 Sep 2007 10:25:24 -0700 (PDT) Message-ID: <[email protected]> Date: Sun, 16 Sep 2007 19:25:24 +0200 From: "Gilles Bayon" <[email protected]> To: [email protected] Subject: Re: Generic PaginatedList In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_7491_1027771.1189963524791" References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_7491_1027771.1189963524791 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline No, and the generic paginatedlist support will be removed in future version. -- Cheers, Gilles <a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE">Wish List</a> ------=_Part_7491_1027771.1189963524791 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline No, and the generic paginatedlist support will be removed in future version.<br clear="all"><br>-- <br>Cheers,<br>Gilles<br><br>&lt;a href=&quot;<a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE">http://www.amazon.com/gp/registry/6JCP7AORB0LE </a>&quot;&gt;Wish List&lt;/a&gt; ------=_Part_7491_1027771.1189963524791-- From [email protected] Mon Sep 17 19:12:27 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86034 invoked from network); 17 Sep 2007 19:12:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Sep 2007 19:12:27 -0000 Received: (qmail 69768 invoked by uid 500); 17 Sep 2007 19:12:12 -0000 Delivered-To: [email protected] Received: (qmail 69703 invoked by uid 500); 17 Sep 2007 19:12:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 69594 invoked by uid 99); 17 Sep 2007 19:12:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Sep 2007 12:12:11 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wx-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Sep 2007 19:12:09 +0000 Received: by wx-out-0506.google.com with SMTP id h29so1357486wxd for <[email protected]>; Mon, 17 Sep 2007 12:11:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=tOIFEuSbO0KwK1n+PNnS7zyBfekAnRvHLlsqgPlDufs=; b=WD4U4WzDEd9BxbxVtLMXT3HLUZQi6CILZMRyXmAQ6DRzPThXoF63FZq2dXTWYJoPBbEeFzX9IV8FkTyPJzM/6+kPLJ56SAuN/zt3VUpoLIv4ORBZ3UX+0NaD4JXcs+Gn4JYrHxjyF5ItrLE134p5f/NzRatyRylH4ZUfo5eJ2wg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=eb7dkc8ZM5yF4o7p13gXz0hO9nQeL1F92G3WoXVVLJ78jE3anpL2s61kzhmRToiCKudwWjWvLTGdG1nxN9ZkbL1W5IVmK8Be0rz+UVyf73rKJAlx8OCwTo36HLudDyu612avCWkxM0gOOUIFJSMgqTteJX8DViDBhrPbRFHiwAY= Received: by 161.129.204.104 with SMTP id q12mr3285167agc.1190056307827; Mon, 17 Sep 2007 12:11:47 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 17 Sep 2007 12:11:47 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 17 Sep 2007 21:11:47 +0200 From: "Gilles Bayon" <[email protected]> To: [email protected] Subject: Re: Lists of primitives in result maps doesn't work? In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_12594_9557765.1190056307821" References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_12594_9557765.1190056307821 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Correction in SVN -- Cheers, Gilles <a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE">Wish List</a> ------=_Part_12594_9557765.1190056307821 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Correction in SVN<br><br>-- <br>Cheers,<br>Gilles<br><br>&lt;a href=&quot;<a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE">http://www.amazon.com/gp/registry/6JCP7AORB0LE</a>&quot;&gt;Wish List&lt;/a&gt; ------=_Part_12594_9557765.1190056307821-- From [email protected] Mon Sep 17 22:12:55 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83005 invoked from network); 17 Sep 2007 22:12:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Sep 2007 22:12:55 -0000 Received: (qmail 12483 invoked by uid 500); 17 Sep 2007 22:12:47 -0000 Delivered-To: [email protected] Received: (qmail 12464 invoked by uid 500); 17 Sep 2007 22:12:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 12452 invoked by uid 99); 17 Sep 2007 22:12:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Sep 2007 15:12:47 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mout.perfora.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Sep 2007 22:12:45 +0000 Received: from exchange.skiviez.com [161.129.204.104] (helo=WS1) by mrelay.perfora.net (node=mrus1) with ESMTP (Nemesis), id 0MKpCa-1IXOpJ2qim-0007Wv; Mon, 17 Sep 2007 18:12:23 -0400 From: "Nicholas L. Piasecki" <[email protected]> To: <[email protected]> Subject: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? Date: Mon, 17 Sep 2007 18:12:14 -0400 Message-ID: <001c01c7f977$ce9a4670$6bced350$@name> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 thread-index: Acf5d8rjYzopC6ItTK6Foh8xolNn9w== Content-Language: en-us x-cr-hashedpuzzle: Ckhl Cwej C41i DpnR ElMs E0Zo Ffi8 GA+6 H73R IbQM I+rY J2bS KG1C KyCg K+hn K/cy;1;dQBzAGUAcgAtAGMAcwBAAGkAYgBhAHQAaQBzAC4AYQBwAGEAYwBoAGUALgBvAHIAZwA=;Sosha1_v1;7;{308305C0-6012-4763-8AF5-B177B92F75A9};bgBpAGMAaABvAGwAYQBzAEAAcABpAGEAcwBlAGMAawBpAC4AbgBhAG0AZQA=;Mon, 17 Sep 2007 22:12:10 GMT;RABvACAAbgBvAHQAIAB1AHMAZQAgADwAcwBlAGwAZQBjAHQASwBlAHkAPgAgAHcAaQB0AGgAIABTAEMATwBQAEUAXwBJAEQARQBOAFQASQBUAFkAIABhAG4AZAAgAE0AUwBTAFEATAA/AA== x-cr-puzzleid: {308305C0-6012-4763-8AF5-B177B92F75A9} X-Provags-ID: V01U2FsdGVkX1/RdF2YDcY3/VtFN3YBRRu0BwXuHueBvGjMAFs 2+w7Jd7dsdCQLsS096Kz5UMjI1yWjKHT7JDFcWZmDsymG7lRce eF3OVq8XG/4JnCibVjs41X4qGrvd++z X-Virus-Checked: Checked by ClamAV on apache.org Hello all, I'm just throwing this out there because I experienced a strange quirk with SQL Server 2005, and we might want to clarify this in the documentation for <selectKey> (forgive me if it's already there, I didn't see it). iBATIS appears to issue the <selectKey> SQL in another batch. Unfortunately, SCOPE_IDENTITY() is only valid for the current scope, not the current transaction / connection / session / whatever. So in my case, using SCOPE_IDENTITY() and <selectKey> always returns null. The solution is to modify the insert query to look like the following, having the insert statement itself have a return value and then manually assigning it to a property (I figured this out by looking at some of iBATIS' unit tests): <insert id="SomeInsertStatement" parameterClass="string" resultClass="int"> INSERT INTO Blah ( ColumnA ) VALUES ( #value# ) SELECT SCOPE_IDENTITY() AS value </insert> @@IDENTITY and IDENT_CURRENT work with <selectKey>, but SCOPE_IDENTITY() seems to be the preferred method these days (less prone to race conditions / funky interactions with triggers and replication). Could someone clarify that this is "the right way" with MSSQL? If so, I humbly suggest that we document this somewhere. Thanks! V/R, Nicholas Piasecki From [email protected] Tue Sep 18 06:35:41 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58014 invoked from network); 18 Sep 2007 06:35:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Sep 2007 06:35:40 -0000 Received: (qmail 70187 invoked by uid 500); 18 Sep 2007 06:35:32 -0000 Delivered-To: [email protected] Received: (qmail 70173 invoked by uid 500); 18 Sep 2007 06:35:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 70161 invoked by uid 99); 18 Sep 2007 06:35:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Sep 2007 23:35:32 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wx-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 06:35:30 +0000 Received: by wx-out-0506.google.com with SMTP id h29so1460562wxd for <[email protected]>; Mon, 17 Sep 2007 23:35:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=WOIOH+DZNaOy6etuhZWDdoAmOtnDpX6ZWr84J4zZD7I=; b=pQTONMA5QeuRqzHmks/KWQJL6/FgksNi3IDd8Q8hzsLDj0Uns23ereETozCAN37S3OeA4aZngQdafI+QF7W+UdYzixjs3WcdjXc8XXzKM8e5uCT3H6zYD0UU2RqS4v0G7bSLzeKMfBDv0X8T2534dHNoAjWPctadkBLakWYaYGs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=snFqRGmNQpZmkMMaiqEnduYMD6v6hW1P2rYcfhMNf7BJ/9RkUzVeGSGxvwpJSdO06CtysF/JJAPqMMr/dcbzdFr+H5CtihMF0riHYSi+QXxFoyYJImLfUB+rnWGkItTypQM90IYmx/50vdnYMQsJFjsG5UMjwBCXIeEWwlx0Qv0= Received: by 161.129.204.104 with SMTP id v3mr3744319agb.1190097308846; Mon, 17 Sep 2007 23:35:08 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 17 Sep 2007 23:35:08 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 18 Sep 2007 08:35:08 +0200 From: "Gilles Bayon" <[email protected]> To: [email protected] Subject: Re: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? In-Reply-To: <001c01c7f977$ce9a4670$6bced350$@name> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_15236_22697246.1190097308844" References: <001c01c7f977$ce9a4670$6bced350$@name> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_15236_22697246.1190097308844 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline SCOPE_IDENTITY / @@IDENTITY Returns the last identity value inserted into an identity column in the same scope. A scope is a module: a stored procedure, trigger, function, or batch. Therefore, two statements are in the same scope if they are in the same stored procedure, function, or batch. SCOPE_IDENTITY and @@IDENTITY return the last identity values that are generated in any table in the current session. However, SCOPE_IDENTITY returns values inserted only within the current scope; @@IDENTITY is not limited to a specific scope. >From http://msdn2.microsoft.com/en-us/library/ms190315.aspx So if you want to use the selectKey statement, use the @@IDENTITY. If you want you can make an entry in the wiki http://opensource.atlassian.com/confluence/oss/display/IBATIS/Home -- Cheers, Gilles <a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE">Wish List</a> ------=_Part_15236_22697246.1190097308844 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline SCOPE_IDENTITY / @@IDENTITY<br>Returns the last identity value inserted into an identity column in the same scope. <br>A scope is a module: a stored procedure, trigger, function, or batch. Therefore, two statements are in the same scope if they are in the same stored procedure, function, or batch. <br><br>SCOPE_IDENTITY and @@IDENTITY return the last identity values that are generated in any table in the current session. <br>However, SCOPE_IDENTITY returns values inserted only within the current scope; @@IDENTITY is not limited to a specific scope. <br><br>From <a href="http://msdn2.microsoft.com/en-us/library/ms190315.aspx">http://msdn2.microsoft.com/en-us/library/ms190315.aspx</a><br><br>So if you want to use the selectKey statement, use the @@IDENTITY.<br><br>If you want you can make an entry in the wiki <a href="http://opensource.atlassian.com/confluence/oss/display/IBATIS/Home">http://opensource.atlassian.com/confluence/oss/display/IBATIS/Home</a><br><br>-- <br>Cheers,<br>Gilles<br><br>&lt;a href=&quot;<a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE"> http://www.amazon.com/gp/registry/6JCP7AORB0LE</a>&quot;&gt;Wish List&lt;/a&gt; ------=_Part_15236_22697246.1190097308844-- From [email protected] Tue Sep 18 10:20:06 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37586 invoked from network); 18 Sep 2007 10:20:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Sep 2007 10:20:05 -0000 Received: (qmail 95663 invoked by uid 500); 18 Sep 2007 10:19:56 -0000 Delivered-To: [email protected] Received: (qmail 95650 invoked by uid 500); 18 Sep 2007 10:19:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 95639 invoked by uid 99); 18 Sep 2007 10:19:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 03:19:56 -0700 X-ASF-Spam-Status: No, hits=-0.8 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mlnya402er.ml.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 10:21:45 +0000 Received: from MLNYA351BH.amrs.win.ml.com (unknown [161.129.204.104]) by mlnya402er.ml.com (Postfix) with ESMTP id CF3D4547C1 for <[email protected]>; Tue, 18 Sep 2007 06:19:29 -0400 (EDT) Content-Transfer-Encoding: 7bit Importance: normal Priority: normal Received: from mlnya303bh.amrs.win.ml.com ([161.129.204.104]) by MLNYA351BH.amrs.win.ml.com with Microsoft SMTPSVC(5.0.2195.6920); Tue, 18 Sep 2007 06:19:28 -0400 Received: from MLNYC728MB.amrs.win.ml.com ([161.129.204.104]) by mlnya303bh.amrs.win.ml.com with Microsoft SMTPSVC(5.0.2195.6920); Tue, 18 Sep 2007 06:19:28 -0400 x-mimeole: Produced By Microsoft MimeOLE V6.00.2800.1896 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7F9DD.655F1DB0" Subject: RE: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? Date: Tue, 18 Sep 2007 06:19:28 -0400 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? thread-index: Acf5vibMAh0SH/clT/in99ml1OS+HQAHxiAQ References: <001c01c7f977$ce9a4670$6bced350$@name> <[email protected]> From: "Clough, Samuel \(USPC.PRG.Atlanta\)" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 18 Sep 2007 10:19:28.0957 (UTC) FILETIME=[6583BED0:01C7F9DD] X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C7F9DD.655F1DB0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Like the original email mentioned, wasn't there an issue with @@IDENTITY that would make it somewhat unreliable? I don't remember specifics, but there was a reason I switched from it to SCOPE_IDENTITY a few years back. Perhaps it was just as issue in an older version of MS SQL. =20 From: Gilles Bayon [mailto:[email protected]]=20 Sent: Tuesday, September 18, 2007 2:35 AM To: [email protected] Subject: Re: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? =20 SCOPE_IDENTITY / @@IDENTITY Returns the last identity value inserted into an identity column in the same scope.=20 A scope is a module: a stored procedure, trigger, function, or batch. Therefore, two statements are in the same scope if they are in the same stored procedure, function, or batch.=20 SCOPE_IDENTITY and @@IDENTITY return the last identity values that are generated in any table in the current session.=20 However, SCOPE_IDENTITY returns values inserted only within the current scope; @@IDENTITY is not limited to a specific scope.=20 >From http://msdn2.microsoft.com/en-us/library/ms190315.aspx So if you want to use the selectKey statement, use the @@IDENTITY. If you want you can make an entry in the wiki http://opensource.atlassian.com/confluence/oss/display/IBATIS/Home --=20 Cheers, Gilles <a href=3D" http://www.amazon.com/gp/registry/6JCP7AORB0LE <http://www.amazon.com/gp/registry/6JCP7AORB0LE> ">Wish List</a>=20 -------------------------------------------------------- Princeton Retirement Group, Inc - Important Terms=20 This E-mail is not intended for distribution to, or use by, any person = or entity in any location where such distribution or use would be = contrary to law or regulation, or which would subject Princeton = Retirement Group, Inc. or any affiliate to any registration requirement = within such location.=20 This E-mail may contain privileged or confidential information or may = otherwise be protected by work product immunity or other legal rules. No = confidentiality or privilege is waived or lost by any mistransmission. = Access, copying or re-use of information by non-intended or = non-authorized recipients is prohibited. If you are not an intended = recipient of this E-mail, please notify the sender, delete it and do not = read, act upon, print, disclose, copy, retain or redistribute any = portion of this E-mail.=20 The transmission and content of this E-mail cannot be guaranteed to be = secure or error-free. Therefore, we cannot represent that the = information in this E-mail is complete, accurate, uncorrupted, timely or = free of viruses, and Princeton Retirement Group, Inc. cannot accept any = liability for E-mails that have been altered in the course of delivery. = Princeton Retirement Group, Inc. reserves the right to monitor, review = and retain all electronic communications, including E-mail, traveling = through its networks and systems (subject to and in accordance with = local laws). If any of your details are incorrect or if you no longer = wish to receive mailings such as this by E-mail please contact the = sender by reply E-mail.=20 -------------------------------------------------------- ------_=_NextPart_001_01C7F9DD.655F1DB0 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable <HTML xmlns:eXclaimer=3D"http://www.exclaimer.co.uk"> <HEAD> <META http-equiv=3D"Content-Type" content=3D"text/html; = charset=3DUTF-16"> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman","serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </HEAD> <BODY lang=3DEN-US link=3Dblue vlink=3Dpurple> <DIV> <div class=3DSection1> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>Like the original email mentioned, wasn&#8217;t there an = issue with @@IDENTITY that would make it somewhat unreliable?&nbsp; I = don&#8217;t remember specifics, but there was a reason I switched from it to = SCOPE_IDENTITY a few years back.&nbsp; Perhaps it was just as issue in an older version = of MS SQL.<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt = 0in 0in 0in'> <p class=3DMsoNormal><b><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>= </b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Gilles = Bayon [mailto:[email protected]] <br> <b>Sent:</b> Tuesday, September 18, 2007 2:35 AM<br> <b>To:</b> [email protected]<br> <b>Subject:</b> Re: Do not use &lt;selectKey&gt; with SCOPE_IDENTITY and = MSSQL?<o:p></o:p></span></p> </div> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>SCOPE_IDENTITY / @@IDENTITY<br> Returns the last identity value inserted into an identity column in the = same scope. <br> A scope is a module: a stored procedure, trigger, function, or batch. Therefore, two statements are in the same scope if they are in the same = stored procedure, function, or batch. <br> <br> SCOPE_IDENTITY and @@IDENTITY return the last identity values that are = generated in any table in the current session. <br> However, SCOPE_IDENTITY returns values inserted only within the current = scope; @@IDENTITY is not limited to a specific scope. <br> <br> >From <a = href=3D"http://msdn2.microsoft.com/en-us/library/ms190315.aspx">http://ms= dn2.microsoft.com/en-us/library/ms190315.aspx</a><br> <br> So if you want to use the selectKey statement, use the @@IDENTITY.<br> <br> If you want you can make an entry in the wiki <a href=3D"http://opensource.atlassian.com/confluence/oss/display/IBATIS/Hom= e">http://opensource.atlassian.com/confluence/oss/display/IBATIS/Home</a>= <br> <br> -- <br> Cheers,<br> Gilles<br> <br> &lt;a href=3D&quot;<a = href=3D"http://www.amazon.com/gp/registry/6JCP7AORB0LE"> http://www.amazon.com/gp/registry/6JCP7AORB0LE</a>&quot;&gt;Wish = List&lt;/a&gt; <o:p></o:p></p> </div> </DIV> <DIV> <HR> </DIV> <DIV><B><FONT COLOR=3D"#00007f"> <P>Princeton Retirement Group, Inc - Important Terms </P> </FONT></B><FONT> </FONT> <FONT SIZE=3D"1"> <P>This E-mail is not intended for distribution to, or use by, any = person or entity in any location where such distribution or use would be = contrary to law or regulation, or which would subject Princeton = Retirement Group, Inc. or any affiliate to any registration requirement = within such location. </P> <P>This E-mail may contain privileged or confidential information or may = otherwise be protected by work product immunity or other legal rules. No = confidentiality or privilege is waived or lost by any mistransmission. = Access, copying or re-use of information by non-intended or = non-authorized recipients is prohibited. If you are not an intended = recipient of this E-mail, please notify the sender, delete it and do not = read, act upon, print, disclose, copy, retain or redistribute any = portion of this E-mail. </P> <P>The transmission and content of this E-mail cannot be guaranteed to = be secure or error-free. Therefore, we cannot represent that the = information in this E-mail is complete, accurate, uncorrupted, timely or = free of viruses, and Princeton Retirement Group, Inc. cannot accept any = liability for E-mails that have been altered in the course of delivery. = Princeton Retirement Group, Inc. reserves the right to monitor, review = and retain all electronic communications, including E-mail, traveling = through its networks and systems (subject to and in accordance with = local laws). If any of your details are incorrect or if you no longer = wish to receive mailings such as this by E-mail please contact the = sender by reply E-mail. </P> </FONT> <FONT FACE=3D"Times New Roman"> </FONT> </DIV> <DIV> <HR> </DIV></BODY></HTML> ------_=_NextPart_001_01C7F9DD.655F1DB0-- From [email protected] Tue Sep 18 11:10:23 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61753 invoked from network); 18 Sep 2007 11:10:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Sep 2007 11:10:22 -0000 Received: (qmail 64604 invoked by uid 500); 18 Sep 2007 11:10:14 -0000 Delivered-To: [email protected] Received: (qmail 64594 invoked by uid 500); 18 Sep 2007 11:10:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 64583 invoked by uid 99); 18 Sep 2007 11:10:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 04:10:14 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wr-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 11:10:04 +0000 Received: by wr-out-0506.google.com with SMTP id c46so711558wra for <[email protected]>; Tue, 18 Sep 2007 04:09:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=RAALijhjCLCpFzzlwOshNwKfbZu4woqFfMGCOe9qn4c=; b=DNCp3xs9k1Z/2aTSkCwb9eTIkPsgNB8zRKgL5xHaeXAjn83qf22+kl2y6yPr/Jv2xGUpHqIrbusoYKAQdY9/WveBKjXjOrles53dvm6UZqN2qy2vqwYAUvBeI0j9MgU2fxB2KijP6flN6wZP1L44Wiu8NlpMKzqcoh1oA9KLELA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=gtc0Qyn2h/9quOdhSPvPMbmSONw+fXzbLeLnwLTs3HIduCcJbuWg8LXI1kYrud2MQf2lSgIRYvGMHcf4iaF+jjkt/G9HlGtDuGkOkfMQxzBm3/Uldic5znz7nycsUgRO63AujNFWShpjFSU92PDAiDHol0Z2bzPbynQ+DJY5OtE= Received: by 161.129.204.104 with SMTP id m5mr1336059wfi.1190113781319; Tue, 18 Sep 2007 04:09:41 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 18 Sep 2007 04:09:41 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 18 Sep 2007 12:09:41 +0100 From: "Sean Blakemore" <[email protected]> To: [email protected] Subject: Re: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_14231_26921923.1190113781312" References: <001c01c7f977$ce9a4670$6bced350$@name> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_14231_26921923.1190113781312 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline The reason being that if for example you have a trigger which updates some audit table when you perform an insert on an entity table, with @@IDENTITY there is no scope and the returned identity will be /could be the new row in the audit table and not the new row in the entity table. SCOPE_IDENTITY does not have this problem, as the trigger would be out of scope of the current session. The midground between the two is IDENT_CURRENT('TableName') which like @@IDENTITY is not scoped to any session, however it is scoped to the provided table, somewhat aleviating the risk of the audit trigger issue. Sean On 9/18/07, Clough, Samuel (USPC.PRG.Atlanta) <[email protected]> wrote: > > Like the original email mentioned, wasn't there an issue with @@IDENTITY > that would make it somewhat unreliable? I don't remember specifics, but > there was a reason I switched from it to SCOPE_IDENTITY a few years back. > Perhaps it was just as issue in an older version of MS SQL. > > > > *From:* Gilles Bayon [mailto:[email protected]] > *Sent:* Tuesday, September 18, 2007 2:35 AM > *To:* [email protected] > *Subject:* Re: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? > > > > SCOPE_IDENTITY / @@IDENTITY > Returns the last identity value inserted into an identity column in the > same scope. > A scope is a module: a stored procedure, trigger, function, or batch. > Therefore, two statements are in the same scope if they are in the same > stored procedure, function, or batch. > > SCOPE_IDENTITY and @@IDENTITY return the last identity values that are > generated in any table in the current session. > However, SCOPE_IDENTITY returns values inserted only within the current > scope; @@IDENTITY is not limited to a specific scope. > > From http://msdn2.microsoft.com/en-us/library/ms190315.aspx > > So if you want to use the selectKey statement, use the @@IDENTITY. > > If you want you can make an entry in the wiki > http://opensource.atlassian.com/confluence/oss/display/IBATIS/Home > > -- > Cheers, > Gilles > > <a href=" http://www.amazon.com/gp/registry/6JCP7AORB0LE">Wish List</a> > ------------------------------ > * > > Princeton Retirement Group, Inc - Important Terms > * > > This E-mail is not intended for distribution to, or use by, any person or > entity in any location where such distribution or use would be contrary to > law or regulation, or which would subject Princeton Retirement Group, Inc. > or any affiliate to any registration requirement within such location. > > This E-mail may contain privileged or confidential information or may > otherwise be protected by work product immunity or other legal rules. No > confidentiality or privilege is waived or lost by any mistransmission. > Access, copying or re-use of information by non-intended or non-authorized > recipients is prohibited. If you are not an intended recipient of this > E-mail, please notify the sender, delete it and do not read, act upon, > print, disclose, copy, retain or redistribute any portion of this E-mail. > > The transmission and content of this E-mail cannot be guaranteed to be > secure or error-free. Therefore, we cannot represent that the information in > this E-mail is complete, accurate, uncorrupted, timely or free of viruses, > and Princeton Retirement Group, Inc. cannot accept any liability for E-mails > that have been altered in the course of delivery. Princeton Retirement > Group, Inc. reserves the right to monitor, review and retain all electronic > communications, including E-mail, traveling through its networks and systems > (subject to and in accordance with local laws). If any of your details are > incorrect or if you no longer wish to receive mailings such as this by > E-mail please contact the sender by reply E-mail. > ------------------------------ > ------=_Part_14231_26921923.1190113781312 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline The reason being that if for example you have a trigger which updates some audit table when you perform an insert on an entity table, with @@IDENTITY there is no scope and the returned identity will be /could be the new row in the audit table and not the new row in the entity table. SCOPE_IDENTITY does not have this problem, as the trigger would be out of scope of the current session. The midground between the two is IDENT_CURRENT(&#39;TableName&#39;) which like @@IDENTITY is not scoped to any session, however it is scoped to the provided table, somewhat aleviating the risk of the audit trigger issue. <br><br>Sean<br><br><div><span class="gmail_quote">On 9/18/07, <b class="gmail_sendername">Clough, Samuel (USPC.PRG.Atlanta)</b> &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; wrote: </span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div link="blue" vlink="purple" lang="EN-US"> <div> <div> <p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Like the original email mentioned, wasn't there an issue with @@IDENTITY that would make it somewhat unreliable?&nbsp; I don't remember specifics, but there was a reason I switched from it to SCOPE_IDENTITY a few years back.&nbsp; Perhaps it was just as issue in an older version of MS SQL.</span></p> <p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p> <div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;"> <p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> Gilles Bayon [mailto:<a href="mailto:[email protected]" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">[email protected]</a>] <br> <b>Sent:</b> Tuesday, September 18, 2007 2:35 AM<br> <b>To:</b> <a href="mailto:[email protected]" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">[email protected]</a><br> <b>Subject:</b> Re: Do not use &lt;selectKey&gt; with SCOPE_IDENTITY and MSSQL?</span></p> </div> <p>&nbsp;</p> <p>SCOPE_IDENTITY / @@IDENTITY<br> Returns the last identity value inserted into an identity column in the same scope. <br> A scope is a module: a stored procedure, trigger, function, or batch. Therefore, two statements are in the same scope if they are in the same stored procedure, function, or batch. <br> <br> SCOPE_IDENTITY and @@IDENTITY return the last identity values that are generated in any table in the current session. <br> However, SCOPE_IDENTITY returns values inserted only within the current scope; @@IDENTITY is not limited to a specific scope. <br> <br> >From <a href="http://msdn2.microsoft.com/en-us/library/ms190315.aspx" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://msdn2.microsoft.com/en-us/library/ms190315.aspx</a><br> <br> So if you want to use the selectKey statement, use the @@IDENTITY.<br> <br> If you want you can make an entry in the wiki <a href="http://opensource.atlassian.com/confluence/oss/display/IBATIS/Home" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://opensource.atlassian.com/confluence/oss/display/IBATIS/Home </a><br> <br> -- <br> Cheers,<br> Gilles<br> <br> &lt;a href=&quot;<a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://www.amazon.com/gp/registry/6JCP7AORB0LE</a>&quot;&gt;Wish List&lt;/a&gt; </p> </div> </div> <div> <hr> </div> <div><b><font color="#00007f"> <p>Princeton Retirement Group, Inc - Important Terms </p> </font></b><font> </font> <font size="1"> </font><p><font size="1">This E-mail is not intended for distribution to, or use by, any person or entity in any location where such distribution or use would be contrary to law or regulation, or which would subject Princeton Retirement Group, Inc. or any affiliate to any registration requirement within such location. </font></p> <p><font size="1">This E-mail may contain privileged or confidential information or may otherwise be protected by work product immunity or other legal rules. No confidentiality or privilege is waived or lost by any mistransmission. Access, copying or re-use of information by non-intended or non-authorized recipients is prohibited. If you are not an intended recipient of this E-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute any portion of this E-mail. </font></p> <p><font size="1">The transmission and content of this E-mail cannot be guaranteed to be secure or error-free. Therefore, we cannot represent that the information in this E-mail is complete, accurate, uncorrupted, timely or free of viruses, and Princeton Retirement Group, Inc. cannot accept any liability for E-mails that have been altered in the course of delivery. Princeton Retirement Group, Inc. reserves the right to monitor, review and retain all electronic communications, including E-mail, traveling through its networks and systems (subject to and in accordance with local laws). If any of your details are incorrect or if you no longer wish to receive mailings such as this by E-mail please contact the sender by reply E-mail. </font></p> <font face="Times New Roman"> </font> </div> <div> <hr> </div></div> </blockquote></div><br> ------=_Part_14231_26921923.1190113781312-- From [email protected] Tue Sep 18 11:13:14 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63178 invoked from network); 18 Sep 2007 11:13:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Sep 2007 11:13:13 -0000 Received: (qmail 70103 invoked by uid 500); 18 Sep 2007 11:13:04 -0000 Delivered-To: [email protected] Received: (qmail 70088 invoked by uid 500); 18 Sep 2007 11:13:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 70077 invoked by uid 99); 18 Sep 2007 11:13:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 04:13:04 -0700 X-ASF-Spam-Status: No, hits=-0.8 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mlnyc905er.ml.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 11:13:01 +0000 Received: from MLNYC855BH.amrs.win.ml.com (unknown [161.129.204.104]) by mlnyc905er.ml.com (Postfix) with ESMTP id 59B37548B3 for <[email protected]>; Tue, 18 Sep 2007 07:12:41 -0400 (EDT) Received: from mlnya301bh.amrs.win.ml.com ([161.129.204.104]) by MLNYC855BH.amrs.win.ml.com with Microsoft SMTPSVC(5.0.2195.6920); Tue, 18 Sep 2007 07:12:39 -0400 Received: from MLNYC728MB.amrs.win.ml.com ([161.129.204.104]) by mlnya301bh.amrs.win.ml.com with Microsoft SMTPSVC(5.0.2195.6920); Tue, 18 Sep 2007 07:12:38 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6619.12 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7F9E4.D2CD7C68" Subject: RE: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? Date: Tue, 18 Sep 2007 07:12:38 -0400 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? thread-index: Acf55IVczqnKYzwmRdy5OqaRoAXGRQAAEBXQ References: <001c01c7f977$ce9a4670$6bced350$@name> <[email protected]> <[email protected]> <[email protected]> From: "Clough, Samuel \(USPC.PRG.Atlanta\)" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 18 Sep 2007 11:12:38.0954 (UTC) FILETIME=[D2E6A8A0:01C7F9E4] X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C7F9E4.D2CD7C68 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I wasn't aware of ident_current. That seems like the best solution. =20 From: Sean Blakemore [mailto:[email protected]]=20 Sent: Tuesday, September 18, 2007 7:10 AM To: [email protected] Subject: Re: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? =20 The reason being that if for example you have a trigger which updates some audit table when you perform an insert on an entity table, with @@IDENTITY there is no scope and the returned identity will be /could be the new row in the audit table and not the new row in the entity table. SCOPE_IDENTITY does not have this problem, as the trigger would be out of scope of the current session. The midground between the two is IDENT_CURRENT('TableName') which like @@IDENTITY is not scoped to any session, however it is scoped to the provided table, somewhat aleviating the risk of the audit trigger issue.=20 Sean On 9/18/07, Clough, Samuel (USPC.PRG.Atlanta) <[email protected]> wrote:=20 Like the original email mentioned, wasn't there an issue with @@IDENTITY that would make it somewhat unreliable? I don't remember specifics, but there was a reason I switched from it to SCOPE_IDENTITY a few years back. Perhaps it was just as issue in an older version of MS SQL. =20 From: Gilles Bayon [mailto:[email protected]]=20 Sent: Tuesday, September 18, 2007 2:35 AM To: [email protected] Subject: Re: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? =20 SCOPE_IDENTITY / @@IDENTITY Returns the last identity value inserted into an identity column in the same scope.=20 A scope is a module: a stored procedure, trigger, function, or batch. Therefore, two statements are in the same scope if they are in the same stored procedure, function, or batch.=20 SCOPE_IDENTITY and @@IDENTITY return the last identity values that are generated in any table in the current session.=20 However, SCOPE_IDENTITY returns values inserted only within the current scope; @@IDENTITY is not limited to a specific scope.=20 >From http://msdn2.microsoft.com/en-us/library/ms190315.aspx So if you want to use the selectKey statement, use the @@IDENTITY. If you want you can make an entry in the wiki http://opensource.atlassian.com/confluence/oss/display/IBATIS/Home=20 --=20 Cheers, Gilles <a href=3D" http://www.amazon.com/gp/registry/6JCP7AORB0LE <http://www.amazon.com/gp/registry/6JCP7AORB0LE> ">Wish List</a>=20 _____ =20 Princeton Retirement Group, Inc - Important Terms=20 This E-mail is not intended for distribution to, or use by, any person or entity in any location where such distribution or use would be contrary to law or regulation, or which would subject Princeton Retirement Group, Inc. or any affiliate to any registration requirement within such location.=20 This E-mail may contain privileged or confidential information or may otherwise be protected by work product immunity or other legal rules. No confidentiality or privilege is waived or lost by any mistransmission. Access, copying or re-use of information by non-intended or non-authorized recipients is prohibited. If you are not an intended recipient of this E-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute any portion of this E-mail.=20 The transmission and content of this E-mail cannot be guaranteed to be secure or error-free. Therefore, we cannot represent that the information in this E-mail is complete, accurate, uncorrupted, timely or free of viruses, and Princeton Retirement Group, Inc. cannot accept any liability for E-mails that have been altered in the course of delivery. Princeton Retirement Group, Inc. reserves the right to monitor, review and retain all electronic communications, including E-mail, traveling through its networks and systems (subject to and in accordance with local laws). If any of your details are incorrect or if you no longer wish to receive mailings such as this by E-mail please contact the sender by reply E-mail.=20 _____ =20 =20 ------_=_NextPart_001_01C7F9E4.D2CD7C68 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:x=3D"urn:schemas-microsoft-com:office:excel" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman","serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p {mso-style-priority:99; mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; font-size:12.0pt; font-family:"Times New Roman","serif";} span.gmailquote {mso-style-name:gmail_quote;} span.EmailStyle19 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>I wasn&#8217;t aware of ident_current.&nbsp; That seems = like the best solution.<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt = 0in 0in 0in'> <p class=3DMsoNormal><b><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>= </b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Sean = Blakemore [mailto:[email protected]] <br> <b>Sent:</b> Tuesday, September 18, 2007 7:10 AM<br> <b>To:</b> [email protected]<br> <b>Subject:</b> Re: Do not use &lt;selectKey&gt; with SCOPE_IDENTITY and = MSSQL?<o:p></o:p></span></p> </div> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal style=3D'margin-bottom:12.0pt'>The reason being = that if for example you have a trigger which updates some audit table when you = perform an insert on an entity table, with @@IDENTITY there is no scope and the = returned identity will be /could be the new row in the audit table and not the = new row in the entity table. SCOPE_IDENTITY does not have this problem, as the = trigger would be out of scope of the current session. The midground between the = two is IDENT_CURRENT('TableName') which like @@IDENTITY is not scoped to any = session, however it is scoped to the provided table, somewhat aleviating the risk = of the audit trigger issue. <br> <br> Sean<o:p></o:p></p> <div> <p class=3DMsoNormal><span class=3Dgmailquote>On 9/18/07, <b>Clough, = Samuel (USPC.PRG.Atlanta)</b> &lt;<a = href=3D"mailto:[email protected]">[email protected]= om</a>&gt; wrote: </span><o:p></o:p></p> <div> <div> <div> <p><span style=3D'font-size:11.0pt;color:#1F497D'>Like the original = email mentioned, wasn't there an issue with @@IDENTITY that would make it = somewhat unreliable?&nbsp; I don't remember specifics, but there was a reason I = switched from it to SCOPE_IDENTITY a few years back.&nbsp; Perhaps it was just as = issue in an older version of MS SQL.</span><o:p></o:p></p> <p><span = style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;</span><o:p></o:p></p> <div style=3D'border:none;border-top:solid windowtext = 1.0pt;padding:3.0pt 0in 0in 0in; border-color:-moz-use-text-color -moz-use-text-color'> <p><b><span style=3D'font-size:10.0pt'>From:</span></b><span = style=3D'font-size: 10.0pt'> Gilles Bayon [mailto:<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>] <br> <b>Sent:</b> Tuesday, September 18, 2007 2:35 AM<br> <b>To:</b> <a href=3D"mailto:[email protected]" = target=3D"_blank">[email protected]</a><br> <b>Subject:</b> Re: Do not use &lt;selectKey&gt; with SCOPE_IDENTITY and = MSSQL?</span><o:p></o:p></p> </div> <p>&nbsp;<o:p></o:p></p> <p>SCOPE_IDENTITY / @@IDENTITY<br> Returns the last identity value inserted into an identity column in the = same scope. <br> A scope is a module: a stored procedure, trigger, function, or batch. Therefore, two statements are in the same scope if they are in the same = stored procedure, function, or batch. <br> <br> SCOPE_IDENTITY and @@IDENTITY return the last identity values that are generated in any table in the current session. <br> However, SCOPE_IDENTITY returns values inserted only within the current = scope; @@IDENTITY is not limited to a specific scope. <br> <br> >From <a href=3D"http://msdn2.microsoft.com/en-us/library/ms190315.aspx" target=3D"_blank">http://msdn2.microsoft.com/en-us/library/ms190315.aspx<= /a><br> <br> So if you want to use the selectKey statement, use the @@IDENTITY.<br> <br> If you want you can make an entry in the wiki <a href=3D"http://opensource.atlassian.com/confluence/oss/display/IBATIS/Hom= e" target=3D"_blank">http://opensource.atlassian.com/confluence/oss/display/= IBATIS/Home </a><br> <br> -- <br> Cheers,<br> Gilles<br> <br> &lt;a href=3D&quot;<a = href=3D"http://www.amazon.com/gp/registry/6JCP7AORB0LE" target=3D"_blank"> = http://www.amazon.com/gp/registry/6JCP7AORB0LE</a>&quot;&gt;Wish List&lt;/a&gt; <o:p></o:p></p> </div> </div> <div> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'> <hr size=3D2 width=3D"100%" align=3Dcenter> </div> </div> <div> <p><b><span style=3D'color:#00007F'>Princeton Retirement Group, Inc - = Important Terms <o:p></o:p></span></b></p> <p><span style=3D'font-size:7.5pt'>This E-mail is not intended for = distribution to, or use by, any person or entity in any location where such = distribution or use would be contrary to law or regulation, or which would subject = Princeton Retirement Group, Inc. or any affiliate to any registration requirement = within such location. </span><o:p></o:p></p> <p><span style=3D'font-size:7.5pt'>This E-mail may contain privileged or confidential information or may otherwise be protected by work product = immunity or other legal rules. No confidentiality or privilege is waived or lost = by any mistransmission. Access, copying or re-use of information by non-intended or = non-authorized recipients is prohibited. If you are not an intended recipient of this = E-mail, please notify the sender, delete it and do not read, act upon, print, = disclose, copy, retain or redistribute any portion of this E-mail. = </span><o:p></o:p></p> <p><span style=3D'font-size:7.5pt'>The transmission and content of this = E-mail cannot be guaranteed to be secure or error-free. Therefore, we cannot = represent that the information in this E-mail is complete, accurate, uncorrupted, = timely or free of viruses, and Princeton Retirement Group, Inc. cannot accept any liability for E-mails that have been altered in the course of delivery. Princeton Retirement Group, Inc. reserves the right to monitor, review = and retain all electronic communications, including E-mail, traveling = through its networks and systems (subject to and in accordance with local laws). If = any of your details are incorrect or if you no longer wish to receive mailings = such as this by E-mail please contact the sender by reply E-mail. = </span><o:p></o:p></p> </div> <div> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'> <hr size=3D2 width=3D"100%" align=3Dcenter> </div> </div> </div> </div> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> </div> </body> </html> ------_=_NextPart_001_01C7F9E4.D2CD7C68-- From [email protected] Tue Sep 18 11:20:26 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68051 invoked from network); 18 Sep 2007 11:20:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Sep 2007 11:20:26 -0000 Received: (qmail 77146 invoked by uid 500); 18 Sep 2007 11:20:18 -0000 Delivered-To: [email protected] Received: (qmail 77125 invoked by uid 500); 18 Sep 2007 11:20:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 77114 invoked by uid 99); 18 Sep 2007 11:20:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 04:20:18 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,MISSING_MID,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.praxia.com.ar) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 18 Sep 2007 11:22:09 +0000 Received: from PRAXIAT42 by mail.praxia.com.ar (Merak 8.3.8) with SMTP id XUL67352 for <[email protected]>; Tue, 18 Sep 2007 08:19:52 -0300 Reply-To: <[email protected]> From: "Carlos Peix" <[email protected]> To: <[email protected]> Subject: RE: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? Date: Tue, 18 Sep 2007 08:19:56 -0300 Organization: Praxia MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0035_01C7F9CC.B2D50CE0" X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 thread-index: Acf5vibMAh0SH/clT/in99ml1OS+HQAHxiAQAAHksaA= X-Virus-Checked: Checked by ClamAV on apache.org Message-Id: <[email protected]> This is a multi-part message in MIME format. ------=_NextPart_000_0035_01C7F9CC.B2D50CE0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, Suppose you have table1 (auto increment PK) with a insert trigger that inserts a row in table2 (auto increment PK). When you insert a row in table1, the trigger will insert a row in the table2. @@IDENTITY (after the table1 insert) will return the key generated for table2, not table1 as expected/desired. SCOPE_IDENTITY() (after the table1 insert) will return the key generated for table1 because the insert statement to table1 runs in a context and the trigger that inserts in table2 runs in another. Just as Gilles explained. Carlos Peix _____ From: Clough, Samuel (USPC.PRG.Atlanta) [mailto:[email protected]] Sent: Martes, 18 de Septiembre de 2007 07:19 a.m. To: [email protected] Subject: RE: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? Like the original email mentioned, wasn't there an issue with @@IDENTITY that would make it somewhat unreliable? I don't remember specifics, but there was a reason I switched from it to SCOPE_IDENTITY a few years back. Perhaps it was just as issue in an older version of MS SQL. From: Gilles Bayon [mailto:[email protected]] Sent: Tuesday, September 18, 2007 2:35 AM To: [email protected] Subject: Re: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? SCOPE_IDENTITY / @@IDENTITY Returns the last identity value inserted into an identity column in the same scope. A scope is a module: a stored procedure, trigger, function, or batch. Therefore, two statements are in the same scope if they are in the same stored procedure, function, or batch. SCOPE_IDENTITY and @@IDENTITY return the last identity values that are generated in any table in the current session. However, SCOPE_IDENTITY returns values inserted only within the current scope; @@IDENTITY is not limited to a specific scope. >From http://msdn2.microsoft.com/en-us/library/ms190315.aspx So if you want to use the selectKey statement, use the @@IDENTITY. If you want you can make an entry in the wiki http://opensource.atlassian.com/confluence/oss/display/IBATIS/Home -- Cheers, Gilles <a href=" <http://www.amazon.com/gp/registry/6JCP7AORB0LE> http://www.amazon.com/gp/registry/6JCP7AORB0LE">Wish List</a> _____ Princeton Retirement Group, Inc - Important Terms This E-mail is not intended for distribution to, or use by, any person or entity in any location where such distribution or use would be contrary to law or regulation, or which would subject Princeton Retirement Group, Inc. or any affiliate to any registration requirement within such location. This E-mail may contain privileged or confidential information or may otherwise be protected by work product immunity or other legal rules. No confidentiality or privilege is waived or lost by any mistransmission. Access, copying or re-use of information by non-intended or non-authorized recipients is prohibited. If you are not an intended recipient of this E-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute any portion of this E-mail. The transmission and content of this E-mail cannot be guaranteed to be secure or error-free. Therefore, we cannot represent that the information in this E-mail is complete, accurate, uncorrupted, timely or free of viruses, and Princeton Retirement Group, Inc. cannot accept any liability for E-mails that have been altered in the course of delivery. Princeton Retirement Group, Inc. reserves the right to monitor, review and retain all electronic communications, including E-mail, traveling through its networks and systems (subject to and in accordance with local laws). If any of your details are incorrect or if you no longer wish to receive mailings such as this by E-mail please contact the sender by reply E-mail. _____ ------=_NextPart_000_0035_01C7F9CC.B2D50CE0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML xmlns:eXclaimer =3D "http://www.exclaimer.co.uk"><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <META content=3D"MSHTML 6.00.2900.3157" name=3DGENERATOR> <STYLE>@font-face { font-family: Cambria Math; } @font-face { font-family: Calibri; } @font-face { font-family: Tahoma; } @page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.0in 1.0in 1.0in; } P.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New = Roman","serif" } LI.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New = Roman","serif" } DIV.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New = Roman","serif" } A:link { COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99 } SPAN.MsoHyperlink { COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99 } A:visited { COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99 } SPAN.MsoHyperlinkFollowed { COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99 } SPAN.EmailStyle17 { COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: = personal-reply } .MsoChpDefault { mso-style-type: export-only } DIV.Section1 { page: Section1 } </STYLE> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></HEAD> <BODY lang=3DEN-US vLink=3Dpurple link=3Dblue> <DIV dir=3Dltr align=3Dleft><SPAN class=3D567371211-18092007><FONT = face=3DArial=20 color=3D#0000ff size=3D2>Hi,</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D567371211-18092007><FONT = face=3DArial=20 color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D567371211-18092007><FONT = face=3DArial=20 color=3D#0000ff size=3D2>Suppose you have table1 (auto increment = PK)&nbsp;with a=20 insert trigger that inserts a row in table2 (auto increment=20 PK).</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D567371211-18092007><FONT = face=3DArial=20 color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D567371211-18092007><FONT = face=3DArial=20 color=3D#0000ff size=3D2>When you insert a row in table1, the trigger = will insert a=20 row in the table2.</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D567371211-18092007><FONT = face=3DArial=20 color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D567371211-18092007><FONT = face=3DArial=20 color=3D#0000ff size=3D2>@@IDENTITY (after the table1 insert)&nbsp;will = return the=20 key generated for table2, not table1 as = expected/desired.</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D567371211-18092007><FONT = face=3DArial=20 color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D567371211-18092007><FONT = face=3DArial=20 color=3D#0000ff size=3D2>SCOPE_IDENTITY() (after the table1 = insert)&nbsp;will return=20 the key generated for table1 because the insert statement to table1 runs = in a=20 context and the trigger that inserts in table2 runs in=20 another.</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D567371211-18092007><FONT = face=3DArial=20 color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D567371211-18092007><FONT = face=3DArial=20 color=3D#0000ff size=3D2>Just as = Gilles&nbsp;explained.</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D567371211-18092007><FONT = face=3DArial=20 color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D567371211-18092007><FONT = face=3DArial=20 color=3D#0000ff size=3D2>Carlos Peix</FONT></SPAN></DIV><BR> <BLOCKQUOTE dir=3Dltr=20 style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px = solid; MARGIN-RIGHT: 0px"> <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft> <HR tabIndex=3D-1> <FONT face=3DTahoma size=3D2><B>From:</B> Clough, Samuel = (USPC.PRG.Atlanta)=20 [mailto:[email protected]] <BR><B>Sent:</B> Martes, 18 de=20 Septiembre de 2007 07:19 a.m.<BR><B>To:</B>=20 [email protected]<BR><B>Subject:</B> RE: Do not use = &lt;selectKey&gt;=20 with SCOPE_IDENTITY and MSSQL?<BR></FONT><BR></DIV> <DIV></DIV> <DIV> <DIV class=3DSection1> <P class=3DMsoNormal><SPAN=20 style=3D"FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: = 'Calibri','sans-serif'">Like=20 the original email mentioned, wasn&#8217;t there an issue with = @@IDENTITY that would=20 make it somewhat unreliable?&nbsp; I don&#8217;t remember specifics, = but there was a=20 reason I switched from it to SCOPE_IDENTITY a few years back.&nbsp; = Perhaps it=20 was just as issue in an older version of MS SQL.<O:P></O:P></SPAN></P> <P class=3DMsoNormal><SPAN=20 style=3D"FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: = 'Calibri','sans-serif'"><O:P></O:P></SPAN></P> <DIV=20 style=3D"BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: = #b5c4df 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: = medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none"> <P class=3DMsoNormal><B><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: = 'Tahoma','sans-serif'">From:</SPAN></B><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> Gilles = Bayon=20 [mailto:[email protected]] <BR><B>Sent:</B> Tuesday, September 18, = 2007=20 2:35 AM<BR><B>To:</B> [email protected]<BR><B>Subject:</B> Re: = Do not=20 use &lt;selectKey&gt; with SCOPE_IDENTITY and=20 MSSQL?<O:P></O:P></SPAN></P></DIV> <P class=3DMsoNormal><O:P></O:P></P> <P class=3DMsoNormal>SCOPE_IDENTITY / @@IDENTITY<BR>Returns the last = identity=20 value inserted into an identity column in the same scope. <BR>A scope = is a=20 module: a stored procedure, trigger, function, or batch. Therefore, = two=20 statements are in the same scope if they are in the same stored = procedure,=20 function, or batch. <BR><BR>SCOPE_IDENTITY and @@IDENTITY return the = last=20 identity values that are generated in any table in the current = session.=20 <BR>However, SCOPE_IDENTITY returns values inserted only within the = current=20 scope; @@IDENTITY is not limited to a specific scope. <BR><BR>From <A=20 = href=3D"http://msdn2.microsoft.com/en-us/library/ms190315.aspx">http://ms= dn2.microsoft.com/en-us/library/ms190315.aspx</A><BR><BR>So=20 if you want to use the selectKey statement, use the = @@IDENTITY.<BR><BR>If you=20 want you can make an entry in the wiki <A=20 = href=3D"http://opensource.atlassian.com/confluence/oss/display/IBATIS/Hom= e">http://opensource.atlassian.com/confluence/oss/display/IBATIS/Home</A>= <BR><BR>--=20 <BR>Cheers,<BR>Gilles<BR><BR>&lt;a href=3D"<A=20 href=3D"http://www.amazon.com/gp/registry/6JCP7AORB0LE">=20 http://www.amazon.com/gp/registry/6JCP7AORB0LE</A>"&gt;Wish = List&lt;/a&gt;=20 <O:P></O:P></P></DIV></DIV> <DIV> <HR> </DIV> <DIV><B><FONT color=3D#00007f> <P>Princeton Retirement Group, Inc - Important Terms = </P></FONT></B><FONT=20 size=3D+0></FONT><FONT size=3D1> <P>This E-mail is not intended for distribution to, or use by, any = person or=20 entity in any location where such distribution or use would be = contrary to law=20 or regulation, or which would subject Princeton Retirement Group, Inc. = or any=20 affiliate to any registration requirement within such location. </P> <P>This E-mail may contain privileged or confidential information or = may=20 otherwise be protected by work product immunity or other legal rules. = No=20 confidentiality or privilege is waived or lost by any mistransmission. = Access,=20 copying or re-use of information by non-intended or non-authorized = recipients=20 is prohibited. If you are not an intended recipient of this E-mail, = please=20 notify the sender, delete it and do not read, act upon, print, = disclose, copy,=20 retain or redistribute any portion of this E-mail. </P> <P>The transmission and content of this E-mail cannot be guaranteed to = be=20 secure or error-free. Therefore, we cannot represent that the = information in=20 this E-mail is complete, accurate, uncorrupted, timely or free of = viruses, and=20 Princeton Retirement Group, Inc. cannot accept any liability for = E-mails that=20 have been altered in the course of delivery. Princeton Retirement = Group, Inc.=20 reserves the right to monitor, review and retain all electronic=20 communications, including E-mail, traveling through its networks and = systems=20 (subject to and in accordance with local laws). If any of your details = are=20 incorrect or if you no longer wish to receive mailings such as this by = E-mail=20 please contact the sender by reply E-mail. </P></FONT><FONT=20 face=3D"Times New Roman"></FONT></DIV> <DIV> <HR> </DIV></BLOCKQUOTE></BODY></HTML> ------=_NextPart_000_0035_01C7F9CC.B2D50CE0-- From [email protected] Tue Sep 18 12:00:39 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91539 invoked from network); 18 Sep 2007 12:00:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Sep 2007 12:00:39 -0000 Received: (qmail 34039 invoked by uid 500); 18 Sep 2007 12:00:31 -0000 Delivered-To: [email protected] Received: (qmail 34024 invoked by uid 500); 18 Sep 2007 12:00:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34013 invoked by uid 99); 18 Sep 2007 12:00:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 05:00:31 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wr-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 12:00:27 +0000 Received: by wr-out-0506.google.com with SMTP id c46so719086wra for <[email protected]>; Tue, 18 Sep 2007 05:00:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:reply-to:from:to:references:in-reply-to:subject:date:mime-version:content-type:x-mailer:thread-index:content-language:message-id; bh=m3KhFoKhWk0I2QRyxHTyrVx0/Wd9ft9kaUO0YNPEABE=; b=XQ90SuxLL61SMcksb2EiR0TFyMrOzR4JHSbVGe8UNeBICSSoM7x7OXGutvtJFDHtSRfnIWRG7N8Dr4wugAgzEkhgid3T8+A4Dm7LLNcNgC/ec2mjDm8qHezjxipyLyFx2rYT/eHsXM8vOOCBLCfcE0TlEow6EYhjeK5ETVFkM/M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:reply-to:from:to:references:in-reply-to:subject:date:mime-version:content-type:x-mailer:thread-index:content-language:message-id; b=iMMFZKHSjjArZ1EFcuuHhL8ldVZgHAb86YKNTUz7IvchTL1fFtntut280u8h9oc6xl5ZudKyVy+z3Bfm78RH1x1lApRcQKz0Msp8QBgPu8JCaIdVsuvqnzO9EZ7nJFQa1nYzpDqJtAI2FoHGCCwa1GW3Yd/HBFDuAB4QTyn7t2A= Received: by 161.129.204.104 with SMTP id j10mr1353904wfo.1190116805538; Tue, 18 Sep 2007 05:00:05 -0700 (PDT) Received: from SelkeXPS ( [161.129.204.104]) by mx.google.com with ESMTPS id 3sm5725144wrh.2161.129.204.104.00.00 (version=SSLv3 cipher=OTHER); Tue, 18 Sep 2007 05:00:01 -0700 (PDT) Reply-To: <[email protected]> From: "Tony Selke" <[email protected]> To: <[email protected]> References: <001c01c7f977$ce9a4670$6bced350$@name> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Subject: RE: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? Date: Tue, 18 Sep 2007 07:59:46 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0013_01C7F9C9.E42F8250" X-Mailer: Microsoft Office Outlook 12.0 thread-index: Acf55IVczqnKYzwmRdy5OqaRoAXGRQAAEBXQAAGBTvA= Content-Language: en-us Message-ID: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org This is a multipart message in MIME format. ------=_NextPart_000_0013_01C7F9C9.E42F8250 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit You still should be using SCOPE_IDENTITY() to get your inserted key values. As mentioned, IDENT_CURRENT() will not restrain itself to the scope of the procedure/trigger being executed and you still get the potential for race conditions, etc. Granted, it is a smaller chance than if you were using @@IDENTITY because you are limiting yourself to one table instead of all tables, but in a case of a heavily inserted table it is still a possibility that should be avoided. We ran into this same issue a few months back and we had to do the "insert, set variable to SCOPE_IDENTITY, select variable back out to an int type result class" batch method to get around the problem. I would definitely vote for an update to make iBATIS use this function (I would have done it myself had we the slack int eh project schedule; isn't that always the way?). Tony From: Clough, Samuel (USPC.PRG.Atlanta) [mailto:[email protected]] Sent: Tuesday, September 18, 2007 7:13 AM To: [email protected] Subject: RE: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? I wasn't aware of ident_current. That seems like the best solution. From: Sean Blakemore [mailto:[email protected]] Sent: Tuesday, September 18, 2007 7:10 AM To: [email protected] Subject: Re: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? The reason being that if for example you have a trigger which updates some audit table when you perform an insert on an entity table, with @@IDENTITY there is no scope and the returned identity will be /could be the new row in the audit table and not the new row in the entity table. SCOPE_IDENTITY does not have this problem, as the trigger would be out of scope of the current session. The midground between the two is IDENT_CURRENT('TableName') which like @@IDENTITY is not scoped to any session, however it is scoped to the provided table, somewhat aleviating the risk of the audit trigger issue. Sean On 9/18/07, Clough, Samuel (USPC.PRG.Atlanta) <[email protected]> wrote: Like the original email mentioned, wasn't there an issue with @@IDENTITY that would make it somewhat unreliable? I don't remember specifics, but there was a reason I switched from it to SCOPE_IDENTITY a few years back. Perhaps it was just as issue in an older version of MS SQL. From: Gilles Bayon [mailto:[email protected]] Sent: Tuesday, September 18, 2007 2:35 AM To: [email protected] Subject: Re: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? SCOPE_IDENTITY / @@IDENTITY Returns the last identity value inserted into an identity column in the same scope. A scope is a module: a stored procedure, trigger, function, or batch. Therefore, two statements are in the same scope if they are in the same stored procedure, function, or batch. SCOPE_IDENTITY and @@IDENTITY return the last identity values that are generated in any table in the current session. However, SCOPE_IDENTITY returns values inserted only within the current scope; @@IDENTITY is not limited to a specific scope. >From http://msdn2.microsoft.com/en-us/library/ms190315.aspx So if you want to use the selectKey statement, use the @@IDENTITY. If you want you can make an entry in the wiki http://opensource.atlassian.com/confluence/oss/display/IBATIS/Home -- Cheers, Gilles <a href=" http://www.amazon.com/gp/registry/6JCP7AORB0LE <http://www.amazon.com/gp/registry/6JCP7AORB0LE> ">Wish List</a> _____ Princeton Retirement Group, Inc - Important Terms This E-mail is not intended for distribution to, or use by, any person or entity in any location where such distribution or use would be contrary to law or regulation, or which would subject Princeton Retirement Group, Inc. or any affiliate to any registration requirement within such location. This E-mail may contain privileged or confidential information or may otherwise be protected by work product immunity or other legal rules. No confidentiality or privilege is waived or lost by any mistransmission. Access, copying or re-use of information by non-intended or non-authorized recipients is prohibited. If you are not an intended recipient of this E-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute any portion of this E-mail. The transmission and content of this E-mail cannot be guaranteed to be secure or error-free. Therefore, we cannot represent that the information in this E-mail is complete, accurate, uncorrupted, timely or free of viruses, and Princeton Retirement Group, Inc. cannot accept any liability for E-mails that have been altered in the course of delivery. Princeton Retirement Group, Inc. reserves the right to monitor, review and retain all electronic communications, including E-mail, traveling through its networks and systems (subject to and in accordance with local laws). If any of your details are incorrect or if you no longer wish to receive mailings such as this by E-mail please contact the sender by reply E-mail. _____ ------=_NextPart_000_0013_01C7F9C9.E42F8250 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:x=3D"urn:schemas-microsoft-com:office:excel" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman","serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p {mso-style-priority:99; mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; font-size:12.0pt; font-family:"Times New Roman","serif";} span.gmailquote {mso-style-name:gmail_quote;} span.EmailStyle19 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:#1F497D;} span.EmailStyle20 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>You still should be using SCOPE_IDENTITY() to get your = inserted key values.&nbsp; As mentioned, IDENT_CURRENT() will not restrain itself to = the scope of the procedure/trigger being executed and you still get the = potential for race conditions, etc.&nbsp; Granted, it is a smaller chance than if = you were using @@IDENTITY because you are limiting yourself to one table = instead of all tables, but in a case of a heavily inserted table it is still a = possibility that should be avoided.<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>We ran into this same issue a few months back and we had = to do the &#8220;insert, set variable to SCOPE_IDENTITY, select variable back = out to an int type result class&#8221; batch method to get around the = problem.&nbsp; I would definitely vote for an update to make iBATIS use this function (I = would have done it myself had we the slack int eh project schedule; = isn&#8217;t that always the way?).<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>Tony<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <div> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt = 0in 0in 0in'> <p class=3DMsoNormal><b><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>= </b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Clough, = Samuel (USPC.PRG.Atlanta) [mailto:[email protected]] <br> <b>Sent:</b> Tuesday, September 18, 2007 7:13 AM<br> <b>To:</b> [email protected]<br> <b>Subject:</b> RE: Do not use &lt;selectKey&gt; with SCOPE_IDENTITY and = MSSQL?<o:p></o:p></span></p> </div> </div> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>I wasn&#8217;t aware of ident_current.&nbsp; That seems = like the best solution.<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt = 0in 0in 0in'> <p class=3DMsoNormal><b><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>= </b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Sean = Blakemore [mailto:[email protected]] <br> <b>Sent:</b> Tuesday, September 18, 2007 7:10 AM<br> <b>To:</b> [email protected]<br> <b>Subject:</b> Re: Do not use &lt;selectKey&gt; with SCOPE_IDENTITY and = MSSQL?<o:p></o:p></span></p> </div> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal style=3D'margin-bottom:12.0pt'>The reason being = that if for example you have a trigger which updates some audit table when you = perform an insert on an entity table, with @@IDENTITY there is no scope and the = returned identity will be /could be the new row in the audit table and not the = new row in the entity table. SCOPE_IDENTITY does not have this problem, as the = trigger would be out of scope of the current session. The midground between the = two is IDENT_CURRENT('TableName') which like @@IDENTITY is not scoped to any = session, however it is scoped to the provided table, somewhat aleviating the risk = of the audit trigger issue. <br> <br> Sean<o:p></o:p></p> <div> <p class=3DMsoNormal><span class=3Dgmailquote>On 9/18/07, <b>Clough, = Samuel (USPC.PRG.Atlanta)</b> &lt;<a = href=3D"mailto:[email protected]">[email protected]= om</a>&gt; wrote: </span><o:p></o:p></p> <div> <div> <div> <p><span style=3D'font-size:11.0pt;color:#1F497D'>Like the original = email mentioned, wasn't there an issue with @@IDENTITY that would make it = somewhat unreliable?&nbsp; I don't remember specifics, but there was a reason I = switched from it to SCOPE_IDENTITY a few years back.&nbsp; Perhaps it was just as = issue in an older version of MS SQL.</span><o:p></o:p></p> <p><span = style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;</span><o:p></o:p></p> <div style=3D'border:none;border-top:solid windowtext = 1.0pt;padding:3.0pt 0in 0in 0in; border-color:-moz-use-text-color -moz-use-text-color'> <p><b><span style=3D'font-size:10.0pt'>From:</span></b><span = style=3D'font-size: 10.0pt'> Gilles Bayon [mailto:<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>] <br> <b>Sent:</b> Tuesday, September 18, 2007 2:35 AM<br> <b>To:</b> <a href=3D"mailto:[email protected]" = target=3D"_blank">[email protected]</a><br> <b>Subject:</b> Re: Do not use &lt;selectKey&gt; with SCOPE_IDENTITY and = MSSQL?</span><o:p></o:p></p> </div> <p>&nbsp;<o:p></o:p></p> <p>SCOPE_IDENTITY / @@IDENTITY<br> Returns the last identity value inserted into an identity column in the = same scope. <br> A scope is a module: a stored procedure, trigger, function, or batch. Therefore, two statements are in the same scope if they are in the same = stored procedure, function, or batch. <br> <br> SCOPE_IDENTITY and @@IDENTITY return the last identity values that are generated in any table in the current session. <br> However, SCOPE_IDENTITY returns values inserted only within the current = scope; @@IDENTITY is not limited to a specific scope. <br> <br> >From <a href=3D"http://msdn2.microsoft.com/en-us/library/ms190315.aspx" target=3D"_blank">http://msdn2.microsoft.com/en-us/library/ms190315.aspx<= /a><br> <br> So if you want to use the selectKey statement, use the @@IDENTITY.<br> <br> If you want you can make an entry in the wiki <a href=3D"http://opensource.atlassian.com/confluence/oss/display/IBATIS/Hom= e" target=3D"_blank">http://opensource.atlassian.com/confluence/oss/display/= IBATIS/Home </a><br> <br> -- <br> Cheers,<br> Gilles<br> <br> &lt;a href=3D&quot;<a = href=3D"http://www.amazon.com/gp/registry/6JCP7AORB0LE" target=3D"_blank"> = http://www.amazon.com/gp/registry/6JCP7AORB0LE</a>&quot;&gt;Wish List&lt;/a&gt; <o:p></o:p></p> </div> </div> <div> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'> <hr size=3D2 width=3D"100%" align=3Dcenter> </div> </div> <div> <p><b><span style=3D'color:#00007F'>Princeton Retirement Group, Inc - = Important Terms <o:p></o:p></span></b></p> <p><span style=3D'font-size:7.5pt'>This E-mail is not intended for = distribution to, or use by, any person or entity in any location where such = distribution or use would be contrary to law or regulation, or which would subject = Princeton Retirement Group, Inc. or any affiliate to any registration requirement = within such location. </span><o:p></o:p></p> <p><span style=3D'font-size:7.5pt'>This E-mail may contain privileged or confidential information or may otherwise be protected by work product = immunity or other legal rules. No confidentiality or privilege is waived or lost = by any mistransmission. Access, copying or re-use of information by = non-intended or non-authorized recipients is prohibited. If you are not an intended = recipient of this E-mail, please notify the sender, delete it and do not read, act = upon, print, disclose, copy, retain or redistribute any portion of this = E-mail. </span><o:p></o:p></p> <p><span style=3D'font-size:7.5pt'>The transmission and content of this = E-mail cannot be guaranteed to be secure or error-free. Therefore, we cannot = represent that the information in this E-mail is complete, accurate, uncorrupted, = timely or free of viruses, and Princeton Retirement Group, Inc. cannot accept = any liability for E-mails that have been altered in the course of delivery. Princeton Retirement Group, Inc. reserves the right to monitor, review = and retain all electronic communications, including E-mail, traveling = through its networks and systems (subject to and in accordance with local laws). If = any of your details are incorrect or if you no longer wish to receive mailings = such as this by E-mail please contact the sender by reply E-mail. = </span><o:p></o:p></p> </div> <div> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'> <hr size=3D2 width=3D"100%" align=3Dcenter> </div> </div> </div> </div> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> </div> </body> </html> ------=_NextPart_000_0013_01C7F9C9.E42F8250-- From [email protected] Tue Sep 18 16:34:29 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 32136 invoked from network); 18 Sep 2007 16:34:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Sep 2007 16:34:28 -0000 Received: (qmail 99404 invoked by uid 500); 18 Sep 2007 16:34:21 -0000 Delivered-To: [email protected] Received: (qmail 99159 invoked by uid 500); 18 Sep 2007 16:34:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99148 invoked by uid 99); 18 Sep 2007 16:34:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 09:34:20 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO el-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 16:34:18 +0000 Received: by el-out-1112.google.com with SMTP id z25so380337ele for <[email protected]>; Tue, 18 Sep 2007 09:33:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=3oxeAWGcAPDXpKxx6qzR+v08PlcnJFu/IJsz0duGyUg=; b=CjmqGqEoQYFDtxo4FI9FwzQopdgBvKQMt3Puv4MDyfRU25lfRGjc8SrPYe3oPl5WeOgUJ9+hGeMKi/YKinMLUFS4YT96vV3psJ1exmnrZRYmNw+eiw0I9SFRzerzVJbTZVq/PjfrjGQhK52iy75i3EyNIQCJ54IGWwoENCen4Nk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=BPbF5ua9GqIg0nKHJiB0rjvWFQtx8/QI6rM5hjbnzl25lwEofm2tux+tW8OJ3m4/ZGM1WlRUjZTe73h88vP5rT/Ikws+vmcq/4zr5pBLe2b0O84EaumG7vTgaIYbqPdFs59RjdDSM32bmD9gXXH3hog2w8qL62GrWrQdvbnNffQ= Received: by 161.129.204.104 with SMTP id a6mr1593192wfd.1190133236127; Tue, 18 Sep 2007 09:33:56 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 18 Sep 2007 09:33:56 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 18 Sep 2007 17:33:56 +0100 From: "Sean Blakemore" <[email protected]> To: [email protected], [email protected] Subject: Re: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_16112_17856646.1190133236128" References: <001c01c7f977$ce9a4670$6bced350$@name> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_16112_17856646.1190133236128 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Add my vote also.. For reference, here is what I'm using and I believe this represents the best option for now: <selectKey property="id" type="post" resultClass="int"> SELECT cast(IDENT_CURRENT('tableName') as int) AS value </selectKey> On 9/18/07, Tony Selke <[email protected]> wrote: > > You still should be using SCOPE_IDENTITY() to get your inserted key > values. As mentioned, IDENT_CURRENT() will not restrain itself to the scope > of the procedure/trigger being executed and you still get the potential for > race conditions, etc. Granted, it is a smaller chance than if you were > using @@IDENTITY because you are limiting yourself to one table instead of > all tables, but in a case of a heavily inserted table it is still a > possibility that should be avoided. > > > > We ran into this same issue a few months back and we had to do the > "insert, set variable to SCOPE_IDENTITY, select variable back out to an int > type result class" batch method to get around the problem. I would > definitely vote for an update to make iBATIS use this function (I would have > done it myself had we the slack int eh project schedule; isn't that always > the way?). > > > > Tony > > > > *From:* Clough, Samuel (USPC.PRG.Atlanta) [mailto: > [email protected]] > *Sent:* Tuesday, September 18, 2007 7:13 AM > *To:* [email protected] > *Subject:* RE: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? > > > > I wasn't aware of ident_current. That seems like the best solution. > > > > *From:* Sean Blakemore [mailto:[email protected]] > *Sent:* Tuesday, September 18, 2007 7:10 AM > *To:* [email protected] > *Subject:* Re: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? > > > > The reason being that if for example you have a trigger which updates some > audit table when you perform an insert on an entity table, with @@IDENTITY > there is no scope and the returned identity will be /could be the new row in > the audit table and not the new row in the entity table. SCOPE_IDENTITY does > not have this problem, as the trigger would be out of scope of the current > session. The midground between the two is IDENT_CURRENT('TableName') which > like @@IDENTITY is not scoped to any session, however it is scoped to the > provided table, somewhat aleviating the risk of the audit trigger issue. > > Sean > > On 9/18/07, *Clough, Samuel (USPC.PRG.Atlanta)* < > [email protected]> wrote: > > Like the original email mentioned, wasn't there an issue with @@IDENTITY > that would make it somewhat unreliable? I don't remember specifics, but > there was a reason I switched from it to SCOPE_IDENTITY a few years back. > Perhaps it was just as issue in an older version of MS SQL. > > > > *From:* Gilles Bayon [mailto:[email protected]] > *Sent:* Tuesday, September 18, 2007 2:35 AM > *To:* [email protected] > *Subject:* Re: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? > > > > SCOPE_IDENTITY / @@IDENTITY > Returns the last identity value inserted into an identity column in the > same scope. > A scope is a module: a stored procedure, trigger, function, or batch. > Therefore, two statements are in the same scope if they are in the same > stored procedure, function, or batch. > > SCOPE_IDENTITY and @@IDENTITY return the last identity values that are > generated in any table in the current session. > However, SCOPE_IDENTITY returns values inserted only within the current > scope; @@IDENTITY is not limited to a specific scope. > > From http://msdn2.microsoft.com/en-us/library/ms190315.aspx > > So if you want to use the selectKey statement, use the @@IDENTITY. > > If you want you can make an entry in the wiki http://opensource.atlassian.com/confluence/oss/display/IBATIS/Home > > > -- > Cheers, > Gilles > > <a href=" http://www.amazon.com/gp/registry/6JCP7AORB0LE">Wish List</a> > ------------------------------ > > *Princeton Retirement Group, Inc - Important Terms * > > This E-mail is not intended for distribution to, or use by, any person or > entity in any location where such distribution or use would be contrary to > law or regulation, or which would subject Princeton Retirement Group, Inc. > or any affiliate to any registration requirement within such location. > > This E-mail may contain privileged or confidential information or may > otherwise be protected by work product immunity or other legal rules. No > confidentiality or privilege is waived or lost by any mistransmission. > Access, copying or re-use of information by non-intended or non-authorized > recipients is prohibited. If you are not an intended recipient of this > E-mail, please notify the sender, delete it and do not read, act upon, > print, disclose, copy, retain or redistribute any portion of this E-mail. > > The transmission and content of this E-mail cannot be guaranteed to be > secure or error-free. Therefore, we cannot represent that the information in > this E-mail is complete, accurate, uncorrupted, timely or free of viruses, > and Princeton Retirement Group, Inc. cannot accept any liability for E-mails > that have been altered in the course of delivery. Princeton Retirement > Group, Inc. reserves the right to monitor, review and retain all electronic > communications, including E-mail, traveling through its networks and systems > (subject to and in accordance with local laws). If any of your details are > incorrect or if you no longer wish to receive mailings such as this by > E-mail please contact the sender by reply E-mail. > ------------------------------ > > > ------=_Part_16112_17856646.1190133236128 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Add my vote also.. For reference, here is what I&#39;m using and I believe this represents the best option for now:<br><br>&lt;selectKey property=&quot;id&quot; type=&quot;post&quot; resultClass=&quot;int&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SELECT cast(IDENT_CURRENT(&#39;tableName&#39;) as int) AS value <br>&lt;/selectKey&gt;<br><br><br><br><div><span class="gmail_quote">On 9/18/07, <b class="gmail_sendername">Tony Selke</b> &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div link="blue" vlink="purple" lang="EN-US"> <div> <p><span style="font-size: 11pt; color: rgb(31, 73, 125);">You still should be using SCOPE_IDENTITY() to get your inserted key values.&nbsp; As mentioned, IDENT_CURRENT() will not restrain itself to the scope of the procedure/trigger being executed and you still get the potential for race conditions, etc.&nbsp; Granted, it is a smaller chance than if you were using @@IDENTITY because you are limiting yourself to one table instead of all tables, but in a case of a heavily inserted table it is still a possibility that should be avoided.</span></p> <p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p> <p><span style="font-size: 11pt; color: rgb(31, 73, 125);">We ran into this same issue a few months back and we had to do the "insert, set variable to SCOPE_IDENTITY, select variable back out to an int type result class" batch method to get around the problem.&nbsp; I would definitely vote for an update to make iBATIS use this function (I would have done it myself had we the slack int eh project schedule; isn't that always the way?).</span></p> <p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p> <p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Tony</span></p> <p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p> <div> <div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;"> <p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> Clough, Samuel (USPC.PRG.Atlanta) [mailto:<a href="mailto:[email protected]" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">[email protected]</a>] <br> <b>Sent:</b> Tuesday, September 18, 2007 7:13 AM<span class="q"><br> <b>To:</b> <a href="mailto:[email protected]" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">[email protected]</a><br></span> <b>Subject:</b> RE: Do not use &lt;selectKey&gt; with SCOPE_IDENTITY and MSSQL?</span></p> </div> </div><div><span class="e" id="q_115187dd245eac1e_3"> <p>&nbsp;</p> <p><span style="font-size: 11pt; color: rgb(31, 73, 125);">I wasn't aware of ident_current.&nbsp; That seems like the best solution.</span></p> <p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p> <div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;"> <p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> Sean Blakemore [mailto:<a href="mailto:[email protected]" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">[email protected]</a>] <br> <b>Sent:</b> Tuesday, September 18, 2007 7:10 AM<br> <b>To:</b> <a href="mailto:[email protected]" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">[email protected]</a><br> <b>Subject:</b> Re: Do not use &lt;selectKey&gt; with SCOPE_IDENTITY and MSSQL?</span></p> </div> <p>&nbsp;</p> <p style="margin-bottom: 12pt;">The reason being that if for example you have a trigger which updates some audit table when you perform an insert on an entity table, with @@IDENTITY there is no scope and the returned identity will be /could be the new row in the audit table and not the new row in the entity table. SCOPE_IDENTITY does not have this problem, as the trigger would be out of scope of the current session. The midground between the two is IDENT_CURRENT(&#39;TableName&#39;) which like @@IDENTITY is not scoped to any session, however it is scoped to the provided table, somewhat aleviating the risk of the audit trigger issue. <br> <br> Sean</p> <div> <p><span>On 9/18/07, <b>Clough, Samuel (USPC.PRG.Atlanta)</b> &lt;<a href="mailto:[email protected]" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">[email protected]</a>&gt; wrote: </span></p> <div> <div> <div> <p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Like the original email mentioned, wasn&#39;t there an issue with @@IDENTITY that would make it somewhat unreliable?&nbsp; I don&#39;t remember specifics, but there was a reason I switched from it to SCOPE_IDENTITY a few years back.&nbsp; Perhaps it was just as issue in an older version of MS SQL.</span></p> <p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p> <div style="border-style: solid none none; border-color: -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;"> <p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> Gilles Bayon [mailto:<a href="mailto:[email protected]" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">[email protected] </a>] <br> <b>Sent:</b> Tuesday, September 18, 2007 2:35 AM<br> <b>To:</b> <a href="mailto:[email protected]" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">[email protected]</a><br> <b>Subject:</b> Re: Do not use &lt;selectKey&gt; with SCOPE_IDENTITY and MSSQL?</span></p> </div> <p>&nbsp;</p> <p>SCOPE_IDENTITY / @@IDENTITY<br> Returns the last identity value inserted into an identity column in the same scope. <br> A scope is a module: a stored procedure, trigger, function, or batch. Therefore, two statements are in the same scope if they are in the same stored procedure, function, or batch. <br> <br> SCOPE_IDENTITY and @@IDENTITY return the last identity values that are generated in any table in the current session. <br> However, SCOPE_IDENTITY returns values inserted only within the current scope; @@IDENTITY is not limited to a specific scope. <br> <br> >From <a href="http://msdn2.microsoft.com/en-us/library/ms190315.aspx" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://msdn2.microsoft.com/en-us/library/ms190315.aspx</a><br> <br> So if you want to use the selectKey statement, use the @@IDENTITY.<br> <br> If you want you can make an entry in the wiki <a href="http://opensource.atlassian.com/confluence/oss/display/IBATIS/Home" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://opensource.atlassian.com/confluence/oss/display/IBATIS/Home </a><br> <br> -- <br> Cheers,<br> Gilles<br> <br> &lt;a href=&quot;<a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://www.amazon.com/gp/registry/6JCP7AORB0LE</a>&quot;&gt;Wish List&lt;/a&gt; </p> </div> </div> <div> <div style="text-align: center;" align="center"> <hr align="center" size="2" width="100%"> </div> </div> <div> <p><b><span style="color: rgb(0, 0, 127);">Princeton Retirement Group, Inc - Important Terms </span></b></p> <p><span style="font-size: 7.5pt;">This E-mail is not intended for distribution to, or use by, any person or entity in any location where such distribution or use would be contrary to law or regulation, or which would subject Princeton Retirement Group, Inc. or any affiliate to any registration requirement within such location. </span></p> <p><span style="font-size: 7.5pt;">This E-mail may contain privileged or confidential information or may otherwise be protected by work product immunity or other legal rules. No confidentiality or privilege is waived or lost by any mistransmission. Access, copying or re-use of information by non-intended or non-authorized recipients is prohibited. If you are not an intended recipient of this E-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute any portion of this E-mail. </span></p> <p><span style="font-size: 7.5pt;">The transmission and content of this E-mail cannot be guaranteed to be secure or error-free. Therefore, we cannot represent that the information in this E-mail is complete, accurate, uncorrupted, timely or free of viruses, and Princeton Retirement Group, Inc. cannot accept any liability for E-mails that have been altered in the course of delivery. Princeton Retirement Group, Inc. reserves the right to monitor, review and retain all electronic communications, including E-mail, traveling through its networks and systems (subject to and in accordance with local laws). If any of your details are incorrect or if you no longer wish to receive mailings such as this by E-mail please contact the sender by reply E-mail. </span></p> </div> <div> <div style="text-align: center;" align="center"> <hr align="center" size="2" width="100%"> </div> </div> </div> </div> <p>&nbsp;</p> </span></div></div> </div> </blockquote></div><br> ------=_Part_16112_17856646.1190133236128-- From [email protected] Tue Sep 18 16:48:35 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56986 invoked from network); 18 Sep 2007 16:48:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Sep 2007 16:48:29 -0000 Received: (qmail 29401 invoked by uid 500); 18 Sep 2007 16:48:20 -0000 Delivered-To: [email protected] Received: (qmail 29390 invoked by uid 500); 18 Sep 2007 16:48:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 29379 invoked by uid 99); 18 Sep 2007 16:48:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 09:48:20 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wx-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 16:48:19 +0000 Received: by wx-out-0506.google.com with SMTP id h29so1572553wxd for <[email protected]>; Tue, 18 Sep 2007 09:47:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=xXn5stIjh9a5ySNqkyI0iUcj1viZOewrR9BKcL2lO2c=; b=l+I4oXgWFi+1KWuV2BI1QSoC4O/vP7ZuMCbyo301AyjeB8MLm1E1kcCIFaOfXf/8j8UhdAo2LcjbC6zFKs/OVNK4k9SPnlo/FIgs0CHnnWaOql8l/5kPT9aTkW3psiDIMhO3PG6DR4Uv8q4PDczRrYR7B5TqrR45E3eBqxYoVF8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=rQGPrxUt0NdPJxKB8klX0VYjI2Bvw/kDnKYK76DklMBa7y9WIoTusI0q3iig2uU/KsQdlggkPk5qXF8TisdA9RLQunJsSYLugMy1B/vy3tdQFa8eG4+8J15bHa+9Xb6yk6JFqlWSyvDb2Q+zGbzuEXi9eKUSg6qdcjPHZXx6V+w= Received: by 161.129.204.104 with SMTP id u19mr4258169agb.1190134077524; Tue, 18 Sep 2007 09:47:57 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 18 Sep 2007 09:47:57 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 18 Sep 2007 18:47:57 +0200 From: "Gilles Bayon" <[email protected]> To: [email protected], [email protected] Subject: Re: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_17424_6743596.1190134077519" References: <001c01c7f977$ce9a4670$6bced350$@name> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_17424_6743596.1190134077519 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline You already have all at your finger, sample Category category = new Category(); category.Name = "toto"; category.Guid = Guid.NewGuid(); sqlMap.QueryForObject("InsertCategoryScope", category, category); with <resultMap id="resultMapScope" class="Category"> <result property="Id" column="Category_ID"/> </resultMap> <statement id="InsertCategoryScope" parameterClass="Category" resultMap="resultMapScope"> insert into Categories (Category_Name, Category_Guid) values (#Name#, #Guid:UniqueIdentifier#); select SCOPE_IDENTITY() as Category_ID </statement> -- Cheers, Gilles <a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE">Wish List</a> ------=_Part_17424_6743596.1190134077519 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline You already have all at your finger, sample<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Category category = new Category();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; category.Name = &quot;toto&quot;;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; category.Guid = Guid.NewGuid();<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sqlMap.QueryForObject (&quot;InsertCategoryScope&quot;, category, category);<br>with<br>&nbsp;&nbsp;&nbsp; &lt;resultMap id=&quot;resultMapScope&quot; class=&quot;Category&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;result property=&quot;Id&quot; column=&quot;Category_ID&quot;/&gt; <br>&nbsp;&nbsp;&nbsp; &lt;/resultMap&gt;<br><br>&nbsp;&nbsp;&nbsp; &lt;statement id=&quot;InsertCategoryScope&quot; parameterClass=&quot;Category&quot; resultMap=&quot;resultMapScope&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; insert into Categories<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (Category_Name, Category_Guid) <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; values<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (#Name#, #Guid:UniqueIdentifier#);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; select SCOPE_IDENTITY() as Category_ID<br>&nbsp;&nbsp;&nbsp; &lt;/statement&gt;<br><br><br>-- <br>Cheers,<br>Gilles<br><br>&lt;a href=&quot;<a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE"> http://www.amazon.com/gp/registry/6JCP7AORB0LE</a>&quot;&gt;Wish List&lt;/a&gt; ------=_Part_17424_6743596.1190134077519-- From [email protected] Tue Sep 18 17:14:19 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 984 invoked from network); 18 Sep 2007 17:14:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Sep 2007 17:14:19 -0000 Received: (qmail 98825 invoked by uid 500); 18 Sep 2007 17:14:10 -0000 Delivered-To: [email protected] Received: (qmail 98813 invoked by uid 500); 18 Sep 2007 17:14:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 98802 invoked by uid 99); 18 Sep 2007 17:14:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 10:14:10 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 17:14:09 +0000 Received: by ug-out-1314.google.com with SMTP id h2so132673ugf for <[email protected]>; Tue, 18 Sep 2007 10:13:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:reply-to:from:to:references:in-reply-to:subject:date:mime-version:content-type:x-mailer:thread-index:content-language:message-id; bh=7qZz/JF7BSqiIYh83dMfv39zLykpvESXuhfjOnJeAxc=; b=hSqhjgtuFWnRBRsa6ZMq1q6uViEzVdDO5vngEEaNB3kaGAzAv4WcoighNFCzHZrLmJ3UBJjKWEwKZtFuCnf54KWAqN1/enAZZGwlpOHWwEOjP60kyMsP2m5WCrecbTmPQsondPmPtKHZ2PTBQbGlmRHMyr5qvTf/cMi3sUHQ80c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:reply-to:from:to:references:in-reply-to:subject:date:mime-version:content-type:x-mailer:thread-index:content-language:message-id; b=dt/kgyGyNu4wQIMLm/G+tgLB7T6dEMKRB/zVfwCvLMWuVYVFvmUsEuc/2EEvZqmcEpKKFccRbgqS99UcSopFWAePiKMLR07dQg1PbYW3FVkJBrAL3fD3D5qBkHiF7MYpXg/nsaDV+vhHATZqalMm1Gd86vCRVHwXD+VqfL+v0Lg= Received: by 161.129.204.104 with SMTP id b12mr333826wff.1190135625622; Tue, 18 Sep 2007 10:13:45 -0700 (PDT) Received: from SelkeXPS ( [161.129.204.104]) by mx.google.com with ESMTPS id 71sm6130591wry.2161.129.204.104.13.41 (version=SSLv3 cipher=OTHER); Tue, 18 Sep 2007 10:13:42 -0700 (PDT) Reply-To: <[email protected]> From: "Tony Selke" <[email protected]> To: <[email protected]> References: <001c01c7f977$ce9a4670$6bced350$@name> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Subject: RE: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? Date: Tue, 18 Sep 2007 13:13:30 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001E_01C7F9F5.B62350E0" X-Mailer: Microsoft Office Outlook 12.0 thread-index: Acf6E8xeHbu2Gce9TxuogkVcQKOa3QAA2lRg Content-Language: en-us Message-ID: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org This is a multipart message in MIME format. ------=_NextPart_000_001E_01C7F9F5.B62350E0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit You are absolutely correct and that is exactly what I described as our work-around. However, we should be able to use the <insert> tag as it was intended and not need to fall back to the <statement> tag to work around it. I am not suggesting that there isn't a way to do it, only that the mechanism that used to work (<insert> tags with @@IDENTITY) should be on the list of things to update to use the current mechanism (SCOPE_IDENTITY()). Tony From: Gilles Bayon [mailto:[email protected]] Sent: Tuesday, September 18, 2007 12:48 PM To: [email protected]; Tony Selke Subject: Re: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? You already have all at your finger, sample Category category = new Category(); category.Name = "toto"; category.Guid = Guid.NewGuid(); sqlMap.QueryForObject ("InsertCategoryScope", category, category); with <resultMap id="resultMapScope" class="Category"> <result property="Id" column="Category_ID"/> </resultMap> <statement id="InsertCategoryScope" parameterClass="Category" resultMap="resultMapScope"> insert into Categories (Category_Name, Category_Guid) values (#Name#, #Guid:UniqueIdentifier#); select SCOPE_IDENTITY() as Category_ID </statement> -- Cheers, Gilles <a href=" <http://www.amazon.com/gp/registry/6JCP7AORB0LE> http://www.amazon.com/gp/registry/6JCP7AORB0LE">Wish List</a> ------=_NextPart_000_001E_01C7F9F5.B62350E0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:x=3D"urn:schemas-microsoft-com:office:excel" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman","serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>You are absolutely correct and that is exactly what I = described as our work-around.&nbsp; However, we should be able to use the = &lt;insert&gt; tag as it was intended and not need to fall back to the = &lt;statement&gt; tag to work around it.&nbsp; I am not suggesting that there isn&#8217;t a = way to do it, only that the mechanism that used to work (&lt;insert&gt; tags with @@IDENTITY) should be on the list of things to update to use the current mechanism (SCOPE_IDENTITY()).<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>Tony<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt = 0in 0in 0in'> <p class=3DMsoNormal><b><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>= </b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Gilles = Bayon [mailto:[email protected]] <br> <b>Sent:</b> Tuesday, September 18, 2007 12:48 PM<br> <b>To:</b> [email protected]; Tony Selke<br> <b>Subject:</b> Re: Do not use &lt;selectKey&gt; with SCOPE_IDENTITY and = MSSQL?<o:p></o:p></span></p> </div> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>You already have all at your finger, sample<br> <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = Category category =3D new Category();<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; category.Name =3D &quot;toto&quot;;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; category.Guid =3D Guid.NewGuid();<br> <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sqlMap.QueryForObject (&quot;InsertCategoryScope&quot;, category, = category);<br> with<br> &nbsp;&nbsp;&nbsp; &lt;resultMap id=3D&quot;resultMapScope&quot; class=3D&quot;Category&quot;&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;result property=3D&quot;Id&quot; column=3D&quot;Category_ID&quot;/&gt; <br> &nbsp;&nbsp;&nbsp; &lt;/resultMap&gt;<br> <br> &nbsp;&nbsp;&nbsp; &lt;statement id=3D&quot;InsertCategoryScope&quot; parameterClass=3D&quot;Category&quot; = resultMap=3D&quot;resultMapScope&quot;&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; insert into Categories<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (Category_Name, Category_Guid) <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; values<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (#Name#, #Guid:UniqueIdentifier#);<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; select SCOPE_IDENTITY() as = Category_ID<br> &nbsp;&nbsp;&nbsp; &lt;/statement&gt;<br> <br> <br> -- <br> Cheers,<br> Gilles<br> <br> &lt;a href=3D&quot;<a = href=3D"http://www.amazon.com/gp/registry/6JCP7AORB0LE"> http://www.amazon.com/gp/registry/6JCP7AORB0LE</a>&quot;&gt;Wish = List&lt;/a&gt; <o:p></o:p></p> </div> </body> </html> ------=_NextPart_000_001E_01C7F9F5.B62350E0-- From [email protected] Tue Sep 18 17:20:02 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5906 invoked from network); 18 Sep 2007 17:20:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Sep 2007 17:20:02 -0000 Received: (qmail 11848 invoked by uid 500); 18 Sep 2007 17:19:53 -0000 Delivered-To: [email protected] Received: (qmail 11828 invoked by uid 500); 18 Sep 2007 17:19:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 11797 invoked by uid 99); 18 Sep 2007 17:19:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 10:19:53 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wx-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 17:19:52 +0000 Received: by wx-out-0506.google.com with SMTP id h29so1580418wxd for <[email protected]>; Tue, 18 Sep 2007 10:19:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=UxdJemxOAimeYDZ83qkGYhvDA36if2Um8xoyQDpDSsQ=; b=Tvd233zimGDROD3UFhPyql7kxj6Av0uijSMiaw1+jCC5Cjwe69tEUZb0q4kzacMZuH1AaKNAHPTCtrr5QZemL7Xm869rZUzcRcvPTJtg9sidOUy4KIsySOCHIL6SeLMpTMT81zTR/wnxP388uFBBmzdZ0UMoIUeF7wM2cN48o0I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=poxEfGVmafLKnDbuqDiELrL/LO0PvCVzJUvNyIDbgvFqeHh++WI0mMtq7M1igAr6mhgWWjMrmno6qxSXpWxpixAwUodYeSKYlBtbq3L4lN0No5jslW7VXYhgfJ7oJ34aYdNTiYDtgh7pLotJ1uS0lBL/ZqPaA2TGMtphgO5MCtY= Received: by 161.129.204.104 with SMTP id l18mr4153367agc.1190135971521; Tue, 18 Sep 2007 10:19:31 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 18 Sep 2007 10:19:31 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 18 Sep 2007 19:19:31 +0200 From: "Gilles Bayon" <[email protected]> To: [email protected], [email protected] Subject: Re: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_17541_4174092.1190135971506" References: <001c01c7f977$ce9a4670$6bced350$@name> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_17541_4174092.1190135971506 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Agree, a new API like sqlMap.Insert("InsertCategoryScope", category, category) can do the work ? It will be genric so you can even uptade one or more field of the result object, any idea, suggestion ? -- Cheers, Gilles <a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE">Wish List</a> ------=_Part_17541_4174092.1190135971506 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Agree, a new API like sqlMap.Insert(&quot;InsertCategoryScope&quot;, category, category) can do the work ? <br>It will be genric so you can even uptade one or more field of the result object, any idea, suggestion ?<br><br> -- <br>Cheers,<br>Gilles<br><br>&lt;a href=&quot;<a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE">http://www.amazon.com/gp/registry/6JCP7AORB0LE</a>&quot;&gt;Wish List&lt;/a&gt; ------=_Part_17541_4174092.1190135971506-- From [email protected] Tue Sep 18 17:29:24 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11423 invoked from network); 18 Sep 2007 17:29:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Sep 2007 17:29:24 -0000 Received: (qmail 30625 invoked by uid 500); 18 Sep 2007 17:29:15 -0000 Delivered-To: [email protected] Received: (qmail 30609 invoked by uid 500); 18 Sep 2007 17:29:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30598 invoked by uid 99); 18 Sep 2007 17:29:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 10:29:15 -0700 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mout.perfora.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 17:31:08 +0000 Received: from exchange.skiviez.com [161.129.204.104] (helo=WS1) by mrelay.perfora.net (node=mrus0) with ESMTP (Nemesis), id 0MKp8S-1IXgsT1tO8-0008Ok; Tue, 18 Sep 2007 13:28:50 -0400 From: "Nicholas L. Piasecki" <[email protected]> To: <[email protected]> References: <001c01c7f977$ce9a4670$6bced350$@name> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Subject: RE: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? Date: Tue, 18 Sep 2007 13:29:02 -0400 Message-ID: <001801c7fa19$6919bf90$3b4d3eb0$@name> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0019_01C7F9F7.E2081F90" X-Mailer: Microsoft Office Outlook 12.0 thread-index: Acf6GCWU+xzmFaUuSuqE6AsmKBf8+wAAKFJg Content-Language: en-us X-Provags-ID: V01U2FsdGVkX1+622LDeoSn8mQWhEn/KMIDBoqtmbJ9iDi0VrX t2Ggl4UdcP4xs8ZAU8zxWW3iXe/MOjkWAfnqJI6G2cdIfAUC6Q gaFhpV5Eqhl0AbwKzCasIFv+wuLvUIw X-Virus-Checked: Checked by ClamAV on apache.org This is a multipart message in MIME format. ------=_NextPart_000_0019_01C7F9F7.E2081F90 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Just thinking out loud . would it be possible to have a type="current" in addition to the "post" and "pre" types on <selectKey>? The MappedStatement.cs' ExecuteInsert() would somehow "merge" the <selectKey> statement into the same batch as the rest of the insert. This way the property mapping features of <selectKey> would be consistent with the pre- and post- mechanisms that other databases use, and SQL Server 2005 would be much less of a special case. V/R, Nicholas Piasecki From: Gilles Bayon [mailto:[email protected]] Sent: Tuesday, September 18, 2007 1:20 PM To: [email protected]; [email protected] Subject: Re: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? Agree, a new API like sqlMap.Insert("InsertCategoryScope", category, category) can do the work ? It will be genric so you can even uptade one or more field of the result object, any idea, suggestion ? -- Cheers, Gilles <a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE">Wish List</a> ------=_NextPart_000_0019_01C7F9F7.E2081F90 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman","serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>Just thinking out loud &#8230; would it be possible to = have a type=3D&#8221;current&#8221; in addition to the &#8220;post&#8221; and &#8220;pre&#8221; types on &lt;selectKey&gt;? The MappedStatement.cs&#8217; ExecuteInsert() would = somehow &#8220;merge&#8221; the &lt;selectKey&gt; statement into the same batch as the rest of the = insert. This way the property mapping features of &lt;selectKey&gt; would be = consistent with the pre- and post- mechanisms that other databases use, and SQL Server = 2005 would be much less of a special case.<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>V/R,<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>Nicholas Piasecki<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt = 0in 0in 0in'> <p class=3DMsoNormal><b><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>= </b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Gilles = Bayon [mailto:[email protected]] <br> <b>Sent:</b> Tuesday, September 18, 2007 1:20 PM<br> <b>To:</b> [email protected]; [email protected]<br> <b>Subject:</b> Re: Do not use &lt;selectKey&gt; with SCOPE_IDENTITY and = MSSQL?<o:p></o:p></span></p> </div> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>Agree, a new API like = sqlMap.Insert(&quot;InsertCategoryScope&quot;, category, category) can do the work ? <br> It will be genric so you can even uptade one or more field of the result object, any idea, suggestion ?<br> <br> -- <br> Cheers,<br> Gilles<br> <br> &lt;a href=3D&quot;<a = href=3D"http://www.amazon.com/gp/registry/6JCP7AORB0LE">http://www.amazon= .com/gp/registry/6JCP7AORB0LE</a>&quot;&gt;Wish List&lt;/a&gt; <o:p></o:p></p> </div> </body> </html> ------=_NextPart_000_0019_01C7F9F7.E2081F90-- From [email protected] Tue Sep 18 17:36:40 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15598 invoked from network); 18 Sep 2007 17:36:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Sep 2007 17:36:36 -0000 Received: (qmail 38777 invoked by uid 500); 18 Sep 2007 17:36:28 -0000 Delivered-To: [email protected] Received: (qmail 38759 invoked by uid 500); 18 Sep 2007 17:36:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 38748 invoked by uid 99); 18 Sep 2007 17:36:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 10:36:28 -0700 X-ASF-Spam-Status: No, hits=-0.8 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mlnyc904er.ml.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 17:38:20 +0000 Received: from MLNYA353BH.amrs.win.ml.com (unknown [161.129.204.104]) by mlnyc904er.ml.com (Postfix) with ESMTP id DE49C3340BA for <[email protected]>; Tue, 18 Sep 2007 13:35:45 -0400 (EDT) Content-Transfer-Encoding: 7bit Importance: normal Priority: normal Received: from mlnya303bh.amrs.win.ml.com ([161.129.204.104]) by MLNYA353BH.amrs.win.ml.com with Microsoft SMTPSVC(5.0.2195.6920); Tue, 18 Sep 2007 13:36:00 -0400 Received: from MLNYC728MB.amrs.win.ml.com ([161.129.204.104]) by mlnya303bh.amrs.win.ml.com with Microsoft SMTPSVC(5.0.2195.6920); Tue, 18 Sep 2007 13:35:32 -0400 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1896 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7FA1A.4FE0E488" Subject: RE: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? Date: Tue, 18 Sep 2007 13:35:31 -0400 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? thread-index: Acf6GCWU+xzmFaUuSuqE6AsmKBf8+wAAKFJgAABbJkA= References: <001c01c7f977$ce9a4670$6bced350$@name> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <001801c7fa19$6919bf90$3b4d3eb0$@name> From: "Clough, Samuel \(USPC.PRG.Atlanta\)" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 18 Sep 2007 17:35:32.0152 (UTC) FILETIME=[4FFE7B80:01C7FA1A] X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C7FA1A.4FE0E488 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable At first glance, this sounds like a better suggestion. My guess is that it would require co-ordination with the other iBatis versions (i.e. Java, Ruby) to keep the api consistent. =20 From: Nicholas L. Piasecki [mailto:[email protected]]=20 Sent: Tuesday, September 18, 2007 1:29 PM To: [email protected] Subject: RE: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? =20 Just thinking out loud ... would it be possible to have a = type=3D"current" in addition to the "post" and "pre" types on <selectKey>? The MappedStatement.cs' ExecuteInsert() would somehow "merge" the <selectKey> statement into the same batch as the rest of the insert. This way the property mapping features of <selectKey> would be consistent with the pre- and post- mechanisms that other databases use, and SQL Server 2005 would be much less of a special case. =20 V/R, Nicholas Piasecki =20 From: Gilles Bayon [mailto:[email protected]]=20 Sent: Tuesday, September 18, 2007 1:20 PM To: [email protected]; [email protected] Subject: Re: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? =20 Agree, a new API like sqlMap.Insert("InsertCategoryScope", category, category) can do the work ?=20 It will be genric so you can even uptade one or more field of the result object, any idea, suggestion ? --=20 Cheers, Gilles <a href=3D"http://www.amazon.com/gp/registry/6JCP7AORB0LE">Wish List</a> = -------------------------------------------------------- Princeton Retirement Group, Inc - Important Terms=20 This E-mail is not intended for distribution to, or use by, any person = or entity in any location where such distribution or use would be = contrary to law or regulation, or which would subject Princeton = Retirement Group, Inc. or any affiliate to any registration requirement = within such location.=20 This E-mail may contain privileged or confidential information or may = otherwise be protected by work product immunity or other legal rules. No = confidentiality or privilege is waived or lost by any mistransmission. = Access, copying or re-use of information by non-intended or = non-authorized recipients is prohibited. If you are not an intended = recipient of this E-mail, please notify the sender, delete it and do not = read, act upon, print, disclose, copy, retain or redistribute any = portion of this E-mail.=20 The transmission and content of this E-mail cannot be guaranteed to be = secure or error-free. Therefore, we cannot represent that the = information in this E-mail is complete, accurate, uncorrupted, timely or = free of viruses, and Princeton Retirement Group, Inc. cannot accept any = liability for E-mails that have been altered in the course of delivery. = Princeton Retirement Group, Inc. reserves the right to monitor, review = and retain all electronic communications, including E-mail, traveling = through its networks and systems (subject to and in accordance with = local laws). If any of your details are incorrect or if you no longer = wish to receive mailings such as this by E-mail please contact the = sender by reply E-mail.=20 -------------------------------------------------------- ------_=_NextPart_001_01C7FA1A.4FE0E488 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable <HTML xmlns:eXclaimer=3D"http://www.exclaimer.co.uk"> <HEAD> <META http-equiv=3D"Content-Type" content=3D"text/html; = charset=3DUTF-16"> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman","serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:#1F497D;} span.EmailStyle18 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </HEAD> <BODY lang=3DEN-US link=3Dblue vlink=3Dpurple> <DIV> <div class=3DSection1> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>At first glance, this sounds like a better = suggestion.&nbsp; My guess is that it would require co-ordination with the other iBatis = versions (i.e. Java, Ruby) to keep the api consistent.<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <div> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt = 0in 0in 0in'> <p class=3DMsoNormal><b><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>= </b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Nicholas = L. Piasecki [mailto:[email protected]] <br> <b>Sent:</b> Tuesday, September 18, 2007 1:29 PM<br> <b>To:</b> [email protected]<br> <b>Subject:</b> RE: Do not use &lt;selectKey&gt; with SCOPE_IDENTITY and = MSSQL?<o:p></o:p></span></p> </div> </div> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>Just thinking out loud &#8230; would it be possible to = have a type=3D&#8221;current&#8221; in addition to the &#8220;post&#8221; and &#8220;pre&#8221; types on &lt;selectKey&gt;? The = MappedStatement.cs&#8217; ExecuteInsert() would somehow &#8220;merge&#8221; the &lt;selectKey&gt; statement into the same batch as the rest of the insert. This way the = property mapping features of &lt;selectKey&gt; would be consistent with the pre- = and post- mechanisms that other databases use, and SQL Server 2005 would be = much less of a special case.<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>V/R,<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>Nicholas Piasecki<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt = 0in 0in 0in'> <p class=3DMsoNormal><b><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>= </b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Gilles = Bayon [mailto:[email protected]] <br> <b>Sent:</b> Tuesday, September 18, 2007 1:20 PM<br> <b>To:</b> [email protected]; [email protected]<br> <b>Subject:</b> Re: Do not use &lt;selectKey&gt; with SCOPE_IDENTITY and = MSSQL?<o:p></o:p></span></p> </div> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>Agree, a new API like sqlMap.Insert(&quot;InsertCategoryScope&quot;, category, category) can = do the work ? <br> It will be genric so you can even uptade one or more field of the result object, any idea, suggestion ?<br> <br> -- <br> Cheers,<br> Gilles<br> <br> &lt;a href=3D&quot;<a = href=3D"http://www.amazon.com/gp/registry/6JCP7AORB0LE">http://www.amazon= .com/gp/registry/6JCP7AORB0LE</a>&quot;&gt;Wish List&lt;/a&gt; <o:p></o:p></p> </div> </DIV> <DIV> <HR> </DIV> <DIV><B><FONT COLOR=3D"#00007f"> <P>Princeton Retirement Group, Inc - Important Terms </P> </FONT></B><FONT> </FONT> <FONT SIZE=3D"1"> <P>This E-mail is not intended for distribution to, or use by, any = person or entity in any location where such distribution or use would be = contrary to law or regulation, or which would subject Princeton = Retirement Group, Inc. or any affiliate to any registration requirement = within such location. </P> <P>This E-mail may contain privileged or confidential information or may = otherwise be protected by work product immunity or other legal rules. No = confidentiality or privilege is waived or lost by any mistransmission. = Access, copying or re-use of information by non-intended or = non-authorized recipients is prohibited. If you are not an intended = recipient of this E-mail, please notify the sender, delete it and do not = read, act upon, print, disclose, copy, retain or redistribute any = portion of this E-mail. </P> <P>The transmission and content of this E-mail cannot be guaranteed to = be secure or error-free. Therefore, we cannot represent that the = information in this E-mail is complete, accurate, uncorrupted, timely or = free of viruses, and Princeton Retirement Group, Inc. cannot accept any = liability for E-mails that have been altered in the course of delivery. = Princeton Retirement Group, Inc. reserves the right to monitor, review = and retain all electronic communications, including E-mail, traveling = through its networks and systems (subject to and in accordance with = local laws). If any of your details are incorrect or if you no longer = wish to receive mailings such as this by E-mail please contact the = sender by reply E-mail. </P> </FONT> <FONT FACE=3D"Times New Roman"> </FONT> </DIV> <DIV> <HR> </DIV></BODY></HTML> ------_=_NextPart_001_01C7FA1A.4FE0E488-- From [email protected] Tue Sep 18 17:45:02 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19909 invoked from network); 18 Sep 2007 17:45:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Sep 2007 17:45:02 -0000 Received: (qmail 57895 invoked by uid 500); 18 Sep 2007 17:44:54 -0000 Delivered-To: [email protected] Received: (qmail 57776 invoked by uid 500); 18 Sep 2007 17:44:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 57765 invoked by uid 99); 18 Sep 2007 17:44:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 10:44:53 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wx-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 17:44:52 +0000 Received: by wx-out-0506.google.com with SMTP id h29so1586450wxd for <[email protected]>; Tue, 18 Sep 2007 10:44:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=Gw+iFz73grOmLkQPt4m4xYgCe7vKqurJyurfeqOrfEY=; b=D1r58Yu8ayBiGul4r73GI6DBuChkX6UwTWYsb2PnD9hddYDt7CAMjbwSaWw/2+npAEyzml0A9eyZF75Dpa24NJZClaAvDzTwXz6a13EsgtrdOI8rgV/wPEeisBfU4xjq5g4cMhWI73SN2FYbIJxWCsAerVVAx4zML2Pj10YlsOI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=CIpFnA+jpQWMoZYPEK1GOxvs08jA/CDpAlTKHH3n4L/vnRc6ihoElBLJpAUMi2OQ9zsCOkIPtFsGa1n2kzGPPLVDuVkifFVlYjzSW8jrWNiY+Au9RP7/QaF+XFkaXn0swcLv0lC3yLEWSaiWx5fAmcGs90Tpnk2Bmix+raxVeuA= Received: by 161.129.204.104 with SMTP id b13mr4243496agb.1190137472020; Tue, 18 Sep 2007 10:44:32 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 18 Sep 2007 10:44:31 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 18 Sep 2007 19:44:31 +0200 From: "Gilles Bayon" <[email protected]> To: [email protected] Subject: Re: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? In-Reply-To: <001801c7fa19$6919bf90$3b4d3eb0$@name> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_17665_15326974.1190137472004" References: <001c01c7f977$ce9a4670$6bced350$@name> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <001801c7fa19$6919bf90$3b4d3eb0$@name> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_17665_15326974.1190137472004 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Yes but the selectKey is too restrict, and doing what you think it's more complicate to implement (just a wart). The other solution is more open, you can do the same as the selectKey + multiple update. And so selectKey can be remove and the insert statement will be compliant with other statement. -- Cheers, Gilles <a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE">Wish List</a> ------=_Part_17665_15326974.1190137472004 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Yes but the selectKey is too restrict, and doing what you think it&#39;s more complicate to implement (just a wart).<br>The other solution is more open, you can do the same as the selectKey + multiple update.<br>And so selectKey can be remove and the insert statement will be compliant with other statement. <br><br>-- <br>Cheers,<br>Gilles<br><br>&lt;a href=&quot;<a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.amazon.com/gp/registry/6JCP7AORB0LE </a>&quot;&gt;Wish List&lt;/a&gt; ------=_Part_17665_15326974.1190137472004-- From [email protected] Tue Sep 18 18:19:16 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55283 invoked from network); 18 Sep 2007 18:19:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Sep 2007 18:19:16 -0000 Received: (qmail 34683 invoked by uid 500); 18 Sep 2007 18:19:04 -0000 Delivered-To: [email protected] Received: (qmail 34672 invoked by uid 500); 18 Sep 2007 18:19:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34653 invoked by uid 99); 18 Sep 2007 18:19:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 11:19:04 -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 (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO relsnetiq03.llc.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 18:20:58 +0000 Received: from RELSSMTPEX01.llc.com (Not Verified[161.129.204.104]) by relsnetiq03.llc.com with MailMarshal (v6,1,8,2137) id <B46f016800000>; Tue, 18 Sep 2007 13:18:40 -0500 Received: from EXCHVSVR.llc.com ([161.129.204.104]) by RELSSMTPEX01.llc.com with Microsoft SMTPSVC5144564815); Tue, 18 Sep 2007 13:18:40 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7FA20.56C08D7A" Subject: RE: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? Date: Tue, 18 Sep 2007 13:15:21 -0500 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? Thread-Index: Acf6E8xeHbu2Gce9TxuogkVcQKOa3QAA2lRgAAHkafA= References: <001c01c7f977$ce9a4670$6bced350$@name> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: "Nguyen, Tom" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 18 Sep 2007 18:18:40.0469 (UTC) FILETIME=[56C05050:01C7FA20] X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C7FA20.56C08D7A Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cool, I never knew about this until you guys brought it up. I use stored proc for all my insert and parameter guid mapping works as I want it. =20 I played around with the problem and here's another workaround.. =20 Problem: =20 <insert id=3D"IbatisDemo.Note.Create" =20 parameterClass=3D"Note" resultClass=3D"int"> =20 INSERT INTO [dbo].[Notes] ( =20 [Note] =20 ) VALUES ( =20 #Notes# =20 ) =20 <selectKey resultClass=3D"int" property=3D"_id" type=3D"pos= t"> =20 SELECT SCOPE_IDENTITY() -- @@IDENTITY FOR MSACCESS =20 </selectKey> =20 </insert> =20 Profiler Output: exec sp_executesql N'INSERT INTO [dbo].[Notes] ( [Note] ) VALUES ( =20 @param0 )',N'@param0 nvarchar(4)',@param0=3DN'test' go SELECT SCOPE_IDENTITY() -- @@IDENTITY FOR MSACCESS Go =20 Workaround: =20 <insert id=3D"IbatisDemo.Note.Create" =20 parameterClass=3D"Note" resultClass=3D"int"> =20 SELECT 1 =20 <selectKey resultClass=3D"int" property=3D"_id" type=3D"pos= t"> =20 INSERT INTO [dbo].[Notes] ( =20 [Note] =20 ) VALUES ( =20 #Notes# =20 ) =20 SELECT SCOPE_IDENTITY() -- @@IDENTITY FOR MSACCESS =20 </selectKey> =20 </insert> =20 Profiler Output: SELECT 1 go exec sp_executesql N'INSERT INTO [dbo].[Notes] ( [Note] ) VALUES ( =20 @param0 ) SELECT SCOPE_IDENTITY() -- @@IDENTITY FOR MSACCESS',N'@param0=20 nvarchar(4)',@param0=3DN'test' go =20 =20 Strange? But it works. Though with the workaround, you might have to live with the dummy SELECT 1 statement. =20 Regards, Tom Nguyen=20 Sr. Developer [email protected] <mailto:[email protected]>=20 ________________________________ From: Tony Selke [mailto:[email protected]]=20 Sent: Tuesday, September 18, 2007 12:14 PM To: [email protected] Subject: RE: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? =20 You are absolutely correct and that is exactly what I described as our work-around. However, we should be able to use the <insert> tag as it was intended and not need to fall back to the <statement> tag to work around it. I am not suggesting that there isn't a way to do it, only that the mechanism that used to work (<insert> tags with @@IDENTITY) should be on the list of things to update to use the current mechanism (SCOPE_IDENTITY()). =20 Tony =20 =20 From: Gilles Bayon [mailto:[email protected]]=20 Sent: Tuesday, September 18, 2007 12:48 PM To: [email protected]; Tony Selke Subject: Re: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? =20 You already have all at your finger, sample =20 Category category =3D new Category(); =20 category.Name =3D "toto"; =20 category.Guid =3D Guid.NewGuid(); =20 sqlMap.QueryForObject ("InsertCategoryScope", category, category); with =20 <resultMap id=3D"resultMapScope" class=3D"Category"> =20 <result property=3D"Id" column=3D"Category_ID"/>=20 =20 </resultMap> =20 <statement id=3D"InsertCategoryScope" parameterClass=3D"Category" resultMap=3D"resultMapScope"> =20 insert into Categories =20 (Category_Name, Category_Guid)=20 =20 values =20 (#Name#, #Guid:UniqueIdentifier#); =20 select SCOPE_IDENTITY() as Category_ID =20 </statement> --=20 Cheers, Gilles <a href=3D" http://www.amazon.com/gp/registry/6JCP7AORB0LE <http://www.amazon.com/gp/registry/6JCP7AORB0LE> ">Wish List</a>=20 *************************************************************************= *********** This e-mail message and any files transmitted herewith, are intended sole= ly for the use of the individual(s) addressed and may contain confidential, propriet= ary or=20 privileged information. If you are not the addressee indicated in this m= essage=20 (or responsible for delivery of this message to such person) you may not = review,=20 use, disclose or distribute this message or any files transmitted herewit= h. If you=20 receive this message in error, please contact the sender by reply e-mail = and delete this message and all copies of it from your system. *************************************************************************= *********** ------_=_NextPart_001_01C7FA20.56C08D7A Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-mi= crosoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:wo= rd" xmlns:x=3D"urn:schemas-microsoft-com:office:excel" xmlns=3D"http://ww= w.w3.org/TR/REC-html40" xmlns:ns1=3D"http://schemas.microsoft.com/office/2004/12/omml"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-asci= i"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--> <style> <!--a:link =09{mso-style-priority:99;} span.MSOHYPERLINK =09{mso-style-priority:99;} a:visited =09{mso-style-priority:99;} span.MSOHYPERLINKFOLLOWED =09{mso-style-priority:99;} =20/* Font Definitions */ =20@font-face =09{font-family:Tahoma; =09panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face =09{font-family:Calibri;} =20/* Style Definitions */ =20p.MsoNormal, li.MsoNormal, div.MsoNormal =09{margin:0in; =09margin-bottom:.0001pt; =09font-size:12.0pt; =09font-family:"Times New Roman";} a:link, span.MsoHyperlink =09{color:blue; =09text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed =09{color:purple; =09text-decoration:underline;} span.EmailStyle17 =09{mso-style-type:personal; =09font-family:Calibri; =09color:#1F497D;} span.EmailStyle18 =09{mso-style-type:personal-reply; =09font-family:Arial; =09color:navy;} @page Section1 =09{size:8.5in 11.0in; =09margin:1.0in 1.0in 1.0in 1.0in;} div.Section1 =09{page:Section1;} --> </style> <!--[if gte mso 9]><xml> =20<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> =20<o:shapelayout v:ext=3D"edit"> =20 <o:idmap v:ext=3D"edit" data=3D"1" /> =20</o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal style=3D'text-autospace:none'><b><font size=3D2 colo= r=3Dnavy face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:navy= ; font-weight:bold'>Cool, I never knew about this until you guys brought it= =20up.&nbsp; I use stored proc for all my insert and parameter guid mapping works as I= =20want it.<o:p></o:p></span></font></b></p> <p class=3DMsoNormal style=3D'text-autospace:none'><b><font size=3D2 colo= r=3Dnavy face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:navy= ; font-weight:bold'><o:p>&nbsp;</o:p></span></font></b></p> <p class=3DMsoNormal style=3D'text-autospace:none'><b><font size=3D2 colo= r=3Dnavy face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:navy= ; font-weight:bold'>I played around with the problem and here&#8217;s anoth= er workaround..<o:p></o:p></span></font></b></p> <p class=3DMsoNormal style=3D'text-autospace:none'><b><font size=3D2 colo= r=3Dnavy face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:navy= ; font-weight:bold'><o:p>&nbsp;</o:p></span></font></b></p> <p class=3DMsoNormal style=3D'text-autospace:none'><b><font size=3D2 colo= r=3Dnavy face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:navy= ; font-weight:bold'>Problem:<o:p></o:p></span></font></b></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 color=3D= blue face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier= =20New"; color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;</span></font>= <font size=3D2 color=3D"#a31515" face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier= =20New"; color:#A31515'>insert</span></font><font size=3D2 color=3Dblue face=3D"Co= urier New"><span style=3D'font-size:10.0pt;font-family:"Courier New";color:blue'> </span><= /font><font size=3D2 color=3Dred face=3D"Courier New"><span style=3D'font-size:10.0pt= ;font-family: "Courier New";color:red'>id</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier= =20New"; color:blue'>=3D</span></font><font size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New"'>&quot;<font color=3D= blue><span style=3D'color:blue'>IbatisDemo.Note.Create</span></font>&quot;<o:p></o:p= ></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 color=3D= blue face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier= =20New"; color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp; </span></font><font size=3D2 color=3Dred face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier= =20New"; color:red'>parameterClass</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier= =20New"; color:blue'>=3D</span></font><font size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New"'>&quot;<font color=3D= blue><span style=3D'color:blue'>Note</span></font>&quot;<font color=3Dblue><span style=3D'color:blue'> </span></font><font color=3Dred><span style=3D'colo= r:red'>resultClass</span></font><font color=3Dblue><span style=3D'color:blue'>=3D</span></font>&quot;<font colo= r=3Dblue><span style=3D'color:blue'>int</span></font>&quot;<font color=3Dblue><span style=3D'color:blue'>&gt;<o:p></o:p></span></font></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face=3D= "Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; INSERT INTO [dbo].[Notes] (<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face=3D= "Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [Note]<o:p></o:p></span></= font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face=3D= "Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ) VALUES (<o:p></o:p></spa= n></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face=3D= "Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #Notes#<o:p></o:p></span><= /font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face=3D= "Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )<o:p></o:p></span></font>= </p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 color=3D= blue face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier= =20New"; color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp; &lt;</span></font><font size=3D2 color=3D"#a31515" face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier= =20New"; color:#A31515'>selectKey</span></font><font size=3D2 color=3Dblue face=3D= "Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New";color:blue'> </span><= /font><font size=3D2 color=3Dred face=3D"Courier New"><span style=3D'font-size:10.0pt= ;font-family: "Courier New";color:red'>resultClass</span></font><font size=3D2 color=3D= blue face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier= =20New"; color:blue'>=3D</span></font><font size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New"'>&quot;<font color=3D= blue><span style=3D'color:blue'>int</span></font>&quot;<font color=3Dblue><span style=3D'color:blue'> </span></font><font color=3Dred><span style=3D'colo= r:red'>property</span></font><font color=3Dblue><span style=3D'color:blue'>=3D</span></font>&quot;<font colo= r=3Dblue><span style=3D'color:blue'>_id</span></font>&quot;<font color=3Dblue><span style=3D'color:blue'> </span></font><font color=3Dred><span style=3D'colo= r:red'>type</span></font><font color=3Dblue><span style=3D'color:blue'>=3D</span></font>&quot;<font colo= r=3Dblue><span style=3D'color:blue'>post</span></font>&quot;<font color=3Dblue><span style=3D'color:blue'>&gt;<o:p></o:p></span></font></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face=3D= "Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SE= LECT SCOPE_IDENTITY() -- @@IDENTITY FOR MSACCESS<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 color=3D= blue face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier= =20New"; color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp; &lt;/</span></font><font size=3D2 color=3D"#a31515" face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier= =20New"; color:#A31515'>selectKey</span></font><font size=3D2 color=3Dblue face=3D= "Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New";color:blue'>&gt;<o:p>= </o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 color=3D= blue face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier= =20New"; color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/</span></font= ><font size=3D2 color=3D"#a31515" face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier= =20New"; color:#A31515'>insert</span></font><font size=3D2 color=3Dblue face=3D"Co= urier New"><span style=3D'font-size:10.0pt;font-family:"Courier New";color:blue'>&gt;<o:p>= </o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><b><font size=3D2 colo= r=3Dnavy face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:navy= ; font-weight:bold'><o:p>&nbsp;</o:p></span></font></b></p> <p class=3DMsoNormal style=3D'text-autospace:none'><b><font size=3D2 colo= r=3Dnavy face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:navy= ; font-weight:bold'>Profiler Output:<o:p></o:p></span></font></b></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 color=3D= navy face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:navy= '>exec sp_executesql N'INSERT INTO [dbo].[Notes] (&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [Note]&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ) VALUES (&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 color=3D= navy face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:navy= '>@param0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; )',N'@param0 nvarchar(4)',@param0=3DN'test'<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 color=3D= navy face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:navy= '>go<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 color=3D= navy face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:navy= '>SELECT SCOPE_IDENTITY() -- @@IDENTITY FOR MSACCESS<o:p></o:p></span></font></p> <div style=3D'mso-element:para-border-div;border:none;border-bottom:solid= =20windowtext 1.0pt; padding:0in 0in 1.0pt 0in'> <p class=3DMsoNormal style=3D'text-autospace:none;border:none;padding:0in= '><font size=3D2 color=3Dnavy face=3DArial><span style=3D'font-size:10.0pt;font-f= amily:Arial; color:navy'>Go<o:p></o:p></span></font></p> </div> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 color=3D= navy face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:navy= '><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><b><font size=3D2 colo= r=3Dnavy face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:navy= ; font-weight:bold'>Workaround:</span></font></b><font size=3D2 color=3Dnav= y face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:navy= '><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 color=3D= blue face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier= =20New"; color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;</span></font>= <font size=3D2 color=3D"#a31515" face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier= =20New"; color:#A31515'>insert</span></font><font size=3D2 color=3Dblue face=3D"Co= urier New"><span style=3D'font-size:10.0pt;font-family:"Courier New";color:blue'> </span><= /font><font size=3D2 color=3Dred face=3D"Courier New"><span style=3D'font-size:10.0pt= ;font-family: "Courier New";color:red'>id</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier= =20New"; color:blue'>=3D</span></font><font size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New"'>&quot;<font color=3D= blue><span style=3D'color:blue'>IbatisDemo.Note.Create</span></font>&quot;<o:p></o:p= ></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 color=3D= blue face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier= =20New"; color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp; </span></font><font size=3D2 color=3Dred face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier= =20New"; color:red'>parameterClass</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier= =20New"; color:blue'>=3D</span></font><font size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New"'>&quot;<font color=3D= blue><span style=3D'color:blue'>Note</span></font>&quot;<font color=3Dblue><span style=3D'color:blue'> </span></font><font color=3Dred><span style=3D'colo= r:red'>resultClass</span></font><font color=3Dblue><span style=3D'color:blue'>=3D</span></font>&quot;<font colo= r=3Dblue><span style=3D'color:blue'>int</span></font>&quot;<font color=3Dblue><span style=3D'color:blue'>&gt;<o:p></o:p></span></font></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face=3D= "Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SELECT 1<o:p></o:p></span>= </font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 color=3D= blue face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier= =20New"; color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp; &lt;</span></font><font size=3D2 color=3D"#a31515" face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier= =20New"; color:#A31515'>selectKey</span></font><font size=3D2 color=3Dblue face=3D= "Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New";color:blue'> </span><= /font><font size=3D2 color=3Dred face=3D"Courier New"><span style=3D'font-size:10.0pt= ;font-family: "Courier New";color:red'>resultClass</span></font><font size=3D2 color=3D= blue face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier= =20New"; color:blue'>=3D</span></font><font size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New"'>&quot;<font color=3D= blue><span style=3D'color:blue'>int</span></font>&quot;<font color=3Dblue><span style=3D'color:blue'> </span></font><font color=3Dred><span style=3D'colo= r:red'>property</span></font><font color=3Dblue><span style=3D'color:blue'>=3D</span></font>&quot;<font colo= r=3Dblue><span style=3D'color:blue'>_id</span></font>&quot;<font color=3Dblue><span style=3D'color:blue'> </span></font><font color=3Dred><span style=3D'colo= r:red'>type</span></font><font color=3Dblue><span style=3D'color:blue'>=3D</span></font>&quot;<font colo= r=3Dblue><span style=3D'color:blue'>post</span></font>&quot;<font color=3Dblue><span style=3D'color:blue'>&gt;<o:p></o:p></span></font></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face=3D= "Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IN= SERT INTO [dbo].[Notes] (<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face=3D= "Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [N= ote]<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face=3D= "Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ) = VALUES (<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face=3D= "Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #N= otes#<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face=3D= "Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )<= o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face=3D= "Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SE= LECT SCOPE_IDENTITY() -- @@IDENTITY FOR MSACCESS<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 color=3D= blue face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier= =20New"; color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp; &lt;/</span></font><font size=3D2 color=3D"#a31515" face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier= =20New"; color:#A31515'>selectKey</span></font><font size=3D2 color=3Dblue face=3D= "Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New";color:blue'>&gt;<o:p>= </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Courier New"><sp= an style=3D'font-size:10.0pt;font-family:"Courier New";color:blue'>&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/</span></font><font size=3D2 color=3D"#a31515" face=3D"Courier New"><span style=3D'font-size:= 10.0pt; font-family:"Courier New";color:#A31515'>insert</span></font><font size=3D= 2 color=3Dblue face=3D"Courier New"><span style=3D'font-size:10.0pt;font-fa= mily:"Courier New"; color:blue'>&gt;<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-indent:.5in'><font size=3D2 color=3Dna= vy face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p>= </span></font></p> <p class=3DMsoNormal><b><font size=3D2 color=3Dnavy face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:navy;font-weight:bold'>= Profiler Output:<o:p></o:p></span></font></b></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style= =3D'font-size: 10.0pt;font-family:Arial;color:navy'>SELECT 1<o:p></o:p></span></font></p= > <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style= =3D'font-size: 10.0pt;font-family:Arial;color:navy'>go<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style= =3D'font-size: 10.0pt;font-family:Arial;color:navy'>exec sp_executesql N'INSERT INTO [dbo].[Notes] (&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [Note]&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp; ) VALUES (&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style= =3D'font-size: 10.0pt;font-family:Arial;color:navy'>@param0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp; )&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SELECT SCOPE_IDENTITY() -- @@IDENTITY FOR = MSACCESS',N'@param0 <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style= =3D'font-size: 10.0pt;font-family:Arial;color:navy'>nvarchar(4)',@param0=3DN'test'<o:p><= /o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style= =3D'font-size: 10.0pt;font-family:Arial;color:navy'>go<o:p></o:p></span></font></p> <div style=3D'mso-element:para-border-div;border:none;border-bottom:solid= =20windowtext 1.0pt; padding:0in 0in 1.0pt 0in'> <p class=3DMsoNormal style=3D'border:none;padding:0in'><font size=3D2 col= or=3Dnavy face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:navy= '><o:p>&nbsp;</o:p></span></font></p> </div> <div> <div> <p class=3DMsoNormal><font size=3D3 color=3Dnavy face=3D"Times New Roman"= ><span style=3D'font-size:12.0pt;color:navy'><o:p>&nbsp;</o:p></span></font></p>= <p class=3DMsoNormal><font size=3D3 color=3Dnavy face=3D"Times New Roman"= ><span style=3D'font-size:12.0pt;color:navy'>Strange?&nbsp; But it works.&nbsp; = Though with the workaround, you might have to live with the dummy SELECT 1 statement.<o:p= ></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 color=3Dnavy face=3D"Times New Roman"= ><span style=3D'font-size:12.0pt;color:navy'><o:p>&nbsp;</o:p></span></font></p>= </div> <div> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style= =3D'font-size: 10.0pt;font-family:Arial;color:navy'>Regards,<o:p></o:p></span></font></p= > </div> <p class=3DMsoNormal><font size=3D3 color=3Dnavy face=3D"Times New Roman"= ><span style=3D'font-size:12.0pt;color:navy'><br> </span></font><font size=3D1 color=3Dnavy face=3DArial><span style=3D'fon= t-size:9.0pt; font-family:Arial;color:navy'>Tom Nguyen <br> Sr. Developer<br> <a href=3D"mailto:[email protected]"><font color=3Dblack><span style=3D= 'color: black'>[email protected]</span></font></a><br> <br> </span></font><o:p></o:p></p> </div> <div> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font s= ize=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'> <hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1> </span></font></div> <p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span style=3D'font-= size:10.0pt; font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=3D= 2 face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'> Tony S= elke [mailto:[email protected]] <br> <b><span style=3D'font-weight:bold'>Sent:</span></b> Tuesday, September 1= 8, 2007 12:14 PM<br> <b><span style=3D'font-weight:bold'>To:</span></b> [email protected].= org<br> <b><span style=3D'font-weight:bold'>Subject:</span></b> RE: Do not use &lt;selectKey&gt; with SCOPE_IDENTITY and MSSQL?</span></font><o:p></o:p>= </p> </div> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D= 'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DCalibri><spa= n style=3D'font-size:11.0pt;font-family:Calibri;color:#1F497D'>You are abso= lutely correct and that is exactly what I described as our work-around.&nbsp; Ho= wever, we should be able to use the &lt;insert&gt; tag as it was intended and no= t need to fall back to the &lt;statement&gt; tag to work around it.&nbsp; I am n= ot suggesting that there isn&#8217;t a way to do it, only that the mechanism= =20that used to work (&lt;insert&gt; tags with @@IDENTITY) should be on the list = of things to update to use the current mechanism (SCOPE_IDENTITY()).<o:p></o= :p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DCalibri><spa= n style=3D'font-size:11.0pt;font-family:Calibri;color:#1F497D'><o:p>&nbsp;<= /o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DCalibri><spa= n style=3D'font-size:11.0pt;font-family:Calibri;color:#1F497D'>Tony<o:p></o= :p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DCalibri><spa= n style=3D'font-size:11.0pt;font-family:Calibri;color:#1F497D'><o:p>&nbsp;<= /o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DCalibri><spa= n style=3D'font-size:11.0pt;font-family:Calibri;color:#1F497D'><o:p>&nbsp;<= /o:p></span></font></p> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0i= n 0in 0in'> <p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span style=3D'font-= size:10.0pt; font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=3D= 2 face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'> Gilles= =20Bayon [mailto:[email protected]] <br> <b><span style=3D'font-weight:bold'>Sent:</span></b> Tuesday, September 1= 8, 2007 12:48 PM<br> <b><span style=3D'font-weight:bold'>To:</span></b> [email protected].= org; Tony Selke<br> <b><span style=3D'font-weight:bold'>Subject:</span></b> Re: Do not use &lt;selectKey&gt; with SCOPE_IDENTITY and MSSQL?<o:p></o:p></span></font>= </p> </div> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D= 'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D= 'font-size: 12.0pt'>You already have all at your finger, sample<br> <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Catego= ry category =3D new Category();<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; category.Name =3D &quot;toto&quot;;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; category.Guid =3D Guid.NewGuid();<br> <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sqlMap.QueryForObject (&quot;InsertCategoryScope&quot;, category, categor= y);<br> with<br> &nbsp;&nbsp;&nbsp; &lt;resultMap id=3D&quot;resultMapScope&quot; class=3D&quot;Category&quot;&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;result property=3D&quot;Id&quot; column=3D&quot;Category_ID&quot;/&gt; <br> &nbsp;&nbsp;&nbsp; &lt;/resultMap&gt;<br> <br> &nbsp;&nbsp;&nbsp; &lt;statement id=3D&quot;InsertCategoryScope&quot; parameterClass=3D&quot;Category&quot; resultMap=3D&quot;resultMapScope&qu= ot;&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; insert into Categories<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (Category_Name, Category_Guid) <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; values<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (#Name#, #Guid:UniqueIdentifier#);<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; select SCOPE_IDENTITY() as Category_ID<br>= &nbsp;&nbsp;&nbsp; &lt;/statement&gt;<br> <br> <br> -- <br> Cheers,<br> Gilles<br> <br> &lt;a href=3D&quot;<a href=3D"http://www.amazon.com/gp/registry/6JCP7AORB= 0LE"> http://www.amazon.com/gp/registry/6JCP7AORB0LE</a>&quot;&gt;Wish List&lt;= /a&gt; <o:p></o:p></span></font></p> </div> <P> <HR> <P></P> <P><FONT face=3DTahoma size=3D1><SPAN><SPAN=20 style=3D"mso-bidi-font-size: 10.0pt; mso-bidi-font-family: Arial"><FONT=20 face=3DTahoma size=3D1>This e-mail message and any files transmitted here= with, are=20 intended solely for the use of the individual(s) addressed and may contai= n=20 confidential, proprietary or privileged information.&nbsp; If you are not= =20the=20 addressee indicated in this message (or responsible for delivery of this = message=20 to such person) you may not review, use, disclose or distribute this mess= age or=20 any files transmitted herewith.&nbsp; If you receive this message in erro= r,=20 please contact the sender by reply e-mail and delete this message and all= =20copies=20 of it from your system.</FONT></SPAN></SPAN></FONT>=20 <P> <HR> <P></P> <P></P> </body> </html> ------_=_NextPart_001_01C7FA20.56C08D7A-- From [email protected] Tue Sep 18 18:47:10 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67625 invoked from network); 18 Sep 2007 18:47:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Sep 2007 18:47:10 -0000 Received: (qmail 1825 invoked by uid 500); 18 Sep 2007 18:47:01 -0000 Delivered-To: [email protected] Received: (qmail 1812 invoked by uid 500); 18 Sep 2007 18:47:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 1801 invoked by uid 99); 18 Sep 2007 18:47:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 11:47:01 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wx-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 18:47:00 +0000 Received: by wx-out-0506.google.com with SMTP id h29so1601318wxd for <[email protected]>; Tue, 18 Sep 2007 11:46:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=q9glxfsH9w6qPj/+bZp9Iuj0KZSIks3AICKqi7BWpFA=; b=ZgZBn34IIhfKsEdHGku28iH3LiwNH2+/euyZTK9fSkKeyk19nx7aaMID6WTRRAfe5qgQ7Dv8hK4qmWibkLwkQYgoTic9qq/XORY4OVuuBM3DP0e1/Gvlag8lPu/aKZkFg6U8GYPNCF6RqIBnnB+YAGONjLLjyN8m9X3wOm3ww6g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=NXchgaqG5lHfaoQBk3KPhZm0wYe39CpUY7ooVttnz7pbeQwH7oC7WFfzc53muRITV431QwTj7pZk7mYCpyPzNJPl3CGNgPPBdm9xB7YjKq7gM44B2EBcej7JHOTc4cf4obWnzc4sSPWC4j9Sfrot5nDsRtz85oMtZwKD2uy/NXY= Received: by 161.129.204.104 with SMTP id m5mr4292411agb.1190141198686; Tue, 18 Sep 2007 11:46:38 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 18 Sep 2007 11:46:38 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 18 Sep 2007 20:46:38 +0200 From: "Gilles Bayon" <[email protected]> To: [email protected] Subject: Re: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_17876_25429741.1190141198675" References: <001c01c7f977$ce9a4670$6bced350$@name> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_17876_25429741.1190141198675 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Not so strange (it's coherent with the selectKey execution) but good hack :-)) -- Cheers, Gilles <a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE">Wish List</a> ------=_Part_17876_25429741.1190141198675 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Not so strange (it&#39;s coherent with the selectKey execution) but good hack :-)) <br><br>-- <br>Cheers,<br>Gilles<br><br>&lt;a href=&quot;<a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE">http://www.amazon.com/gp/registry/6JCP7AORB0LE </a>&quot;&gt;Wish List&lt;/a&gt; ------=_Part_17876_25429741.1190141198675-- From [email protected] Tue Sep 18 18:58:26 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70851 invoked from network); 18 Sep 2007 18:58:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Sep 2007 18:58:21 -0000 Received: (qmail 26233 invoked by uid 500); 18 Sep 2007 18:58:12 -0000 Delivered-To: [email protected] Received: (qmail 26224 invoked by uid 500); 18 Sep 2007 18:58:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26213 invoked by uid 99); 18 Sep 2007 18:58:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 11:58:11 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wr-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 18:58:11 +0000 Received: by wr-out-0506.google.com with SMTP id c46so811089wra for <[email protected]>; Tue, 18 Sep 2007 11:57:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=KUhSdVM0KjZhzqh4clbJj4GiZaOLPhkpLxGkg4J4iVA=; b=Tb1jYg4yVwclO4NICbcV0/as/d2OW6TKDELlHxmZvoBdjJegivtdAZoFPybaq517jyZW04tW3fUyHM6PGpdL+RzKdRHtX36aCED1aLjlY10BgCHP1B0cGCbrfWuU/IouolcGgmwgQj0enJD7GIEv3aDe49tPcPpQwpXNiYMgfN4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=duTeSx5cFTNIz7nrteTGSuOqry/oFJriSyIQfzpzcn8GYyjGdk4jvNyPMDWuyCus7h2cbsXgPV7xc+2UhIyxe8cMWxOqc1AkWaKzV5FOFfbTqwxW1uMA4/mNECWr+sU6GoZtwRyRPE5uLm+ERDopH9mJCuTd9XYaO+kMy2JUKjw= Received: by 161.129.204.104 with SMTP id i13mr52697wff.1190141869160; Tue, 18 Sep 2007 11:57:49 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 18 Sep 2007 11:57:49 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 18 Sep 2007 19:57:49 +0100 From: "Sean Blakemore" <[email protected]> To: [email protected] Subject: Re: Do not use <selectKey> with SCOPE_IDENTITY and MSSQL? In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_17148_4109883.1190141869162" References: <001c01c7f977$ce9a4670$6bced350$@name> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_17148_4109883.1190141869162 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I'd have to go with extending the API in an ideal world, if you could neatly encapsulate the whole identity issue into the API and remove any related XML config, personally that would feel far more intuitive. On 9/18/07, Gilles Bayon <[email protected]> wrote: > > Not so strange (it's coherent with the selectKey execution) but good hack > :-)) > > -- > Cheers, > Gilles > > <a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE ">Wish List</a> > ------=_Part_17148_4109883.1190141869162 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I&#39;d have to go with extending the API in an ideal world, if you could neatly encapsulate the whole identity issue into the API and remove any related XML config, personally that would feel far more intuitive.<br><br><br> <div><span class="gmail_quote">On 9/18/07, <b class="gmail_sendername">Gilles Bayon</b> &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Not so strange (it&#39;s coherent with the selectKey execution) but good hack :-)) <div><span class="e" id="q_11519f1fd846be9e_1"><br><br>-- <br>Cheers,<br>Gilles<br><br>&lt;a href=&quot;<a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://www.amazon.com/gp/registry/6JCP7AORB0LE </a>&quot;&gt;Wish List&lt;/a&gt; </span></div></blockquote></div><br> ------=_Part_17148_4109883.1190141869162-- From [email protected] Wed Sep 19 10:45:47 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3282 invoked from network); 19 Sep 2007 10:45:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Sep 2007 10:45:47 -0000 Received: (qmail 60267 invoked by uid 500); 19 Sep 2007 10:45:38 -0000 Delivered-To: [email protected] Received: (qmail 60257 invoked by uid 500); 19 Sep 2007 10:45:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 60244 invoked by uid 99); 19 Sep 2007 10:45:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Sep 2007 03:45:38 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wa-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Sep 2007 10:45:37 +0000 Received: by wa-out-1112.google.com with SMTP id j5so213545wah for <[email protected]>; Wed, 19 Sep 2007 03:45:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=y2VlGCiFJcpD64onHDxUP9pjU+6g0tLhQ8dnGx2nwBM=; b=tOdne9sDvsJV3oDZ49AKRmITV4EAw0iXDk2SN44GfGVM6z9vNsus89UdSbBdCgAs4DOAnRg31Pm3nhXOCaZWFRgInoH2nlHCtbKshxFLj3MNYkLmpfxSNIlrv7H37kG7tMbV+SSSfdvcwO0PdTra6/FVT/aHheqcY6scTTQjVec= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Ukgmnv8VtUq0QhxeaFItQjAk7HX7PSmykdJK3ZWpuJ1b8nstJ98/9y13HAC6PQt0OgrwpHiLfvvfQSHBvv6R5PMTVj/cexVTU1jfp+Mv/EUIRjpKd0YhxocFBao68AbbhAcINutauoqAp3dHHJL4k0JT3VXELMTtHTP4P1BMhes= Received: by 161.129.204.104 with SMTP id y1mr569775wac.1190198716603; Wed, 19 Sep 2007 03:45:16 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 19 Sep 2007 03:45:16 -0700 (PDT) Message-ID: <[email protected]> Date: Wed, 19 Sep 2007 11:45:16 +0100 From: "Jakub Scheibe" <[email protected]> To: [email protected] Subject: Speed issue MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18533_2367421.1190198716604" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_18533_2367421.1190198716604 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, Let's say that I have simple class with 10 properties: Class1: Attrib1 . . . Attrib10 I have around 30.000 records in my table. If I will execute select * from table1 using: OdbcConnection odbccon = new OdbcConnection(); odbccon.ConnectionString = "DRIVER={Firebird/InterBase(r) driver};Dialect=3;PASSWORD=pass;UID=USER;DBNAME=localhost:c:\\db.GDB"; OdbcCommand command = new OdbcCommand("select * from table1", odbccon); odbccon.Open(); OdbcDataReader reader = command.ExecuteReader(); while (reader.Read()) { Console.WriteLine("{0},{1},{2},{3},{4},{5},{6},{7},{8},{9}", reader[1], reader[2], reader[3], reader[4], reader[5], reader[6], reader[7], reader[8], reader[9], reader[10]); } reader.Close(); It will take around 40s to display all the results, but If I will use iBatis and call same query with it, it will take 934s. Any ideas why?? I'm working on Firebird DB using Firebird ODBC drivers. Regards, Jakub. ------=_Part_18533_2367421.1190198716604 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,<br><br>Let&#39;s say that I have simple class with 10 properties:<br><br>Class1:<br>&nbsp;&nbsp; Attrib1<br>&nbsp;&nbsp; .<br>&nbsp;&nbsp; .<br>&nbsp;&nbsp; .<br>&nbsp;&nbsp; Attrib10<br><br>I have around 30.000 records in my table.<br><br>If I will execute select * from table1 using: <br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OdbcConnection odbccon = new OdbcConnection();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; odbccon.ConnectionString = &quot;DRIVER={Firebird/InterBase(r) driver};Dialect=3;PASSWORD=pass;UID=USER;DBNAME=localhost:c:\\db.GDB&quot;;<br> <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OdbcCommand command = new OdbcCommand(&quot;select * from table1&quot;, odbccon);<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; odbccon.Open();<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OdbcDataReader reader = command.ExecuteReader();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; while ( reader.Read())<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.WriteLine(&quot;{0},{1},{2},{3},{4},{5},{6},{7},{8},{9}&quot;, reader[1], reader[2], reader[3], reader[4], reader[5], reader[6], reader[7], reader[8], reader[9], reader[10]); <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; reader.Close();<br><br>It will take around 40s to display all the results, but If I will use iBatis and call same query with it, it will take 934s.<br>Any ideas why??<br><br>I&#39;m working on Firebird DB using Firebird ODBC drivers. <br><br>Regards,<br>Jakub.<br> ------=_Part_18533_2367421.1190198716604-- From [email protected] Wed Sep 19 11:44:25 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31170 invoked from network); 19 Sep 2007 11:44:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Sep 2007 11:44:25 -0000 Received: (qmail 55259 invoked by uid 500); 19 Sep 2007 11:44:17 -0000 Delivered-To: [email protected] Received: (qmail 55013 invoked by uid 500); 19 Sep 2007 11:44:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55002 invoked by uid 99); 19 Sep 2007 11:44:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Sep 2007 04:44:16 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO rv-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Sep 2007 11:44:16 +0000 Received: by rv-out-0910.google.com with SMTP id c27so148121rvf for <[email protected]>; Wed, 19 Sep 2007 04:43:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=iG+IMGCWm3CC8Q8LsjzWZsuC8hynahbIF9S7rj/G2bQ=; b=RJ7xA2GE2njc5W8AQBvZ8r3/Lx3rp4kAu8FbqkKVusRbrLQ4KMb4v6VpAqtUUuqg6Z6gruq4G1qESL8oyPYD8CStPCAvzoLMmLZzge/N86I5z6tdoqXn3DVNYbXMmo0dc5ztY5JWMQWWBqHTF+wO0FkFW0AmB+YKalXcLZs4Z0M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=ITrthPiZsgoaAxrKC9EK5hmZxedHSCYpY4HpzhVcKCkpFQOHcOOYjW85e7KcSJxX73WhYMzUXU39ZFS87nHfvACBII4D3/FVG/UXgmFMynQofXe+j/OcxjeVowb/ln+4JaXkaLW6wWCDt8vc2nucmyGoRaieM+TQmMxQBhOgv3U= Received: by 161.129.204.104 with SMTP id j1mr596391wad.1190202235661; Wed, 19 Sep 2007 04:43:55 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 19 Sep 2007 04:43:55 -0700 (PDT) Message-ID: <[email protected]> Date: Wed, 19 Sep 2007 12:43:55 +0100 From: "Jakub Scheibe" <[email protected]> To: [email protected] Subject: Re: Speed Issue MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18753_7055578.1190202235659" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_18753_7055578.1190202235659 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Please ignore my previous post, I forgot to remove additional <result property="X" column="Y" select="SelectById"/> from my resultmap. Without it all is fine - 14s ;] ------=_Part_18753_7055578.1190202235659 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Please ignore my previous post, I forgot to remove additional <br>&lt;result property=&quot;X&quot; column=&quot;Y&quot; select=&quot;SelectById&quot;/&gt;<br>from my resultmap.<br><br>Without it all is fine - 14s ;]<br> ------=_Part_18753_7055578.1190202235659-- From [email protected] Thu Sep 20 19:20:27 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91244 invoked from network); 20 Sep 2007 19:20:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Sep 2007 19:20:27 -0000 Received: (qmail 66922 invoked by uid 500); 20 Sep 2007 19:20:18 -0000 Delivered-To: [email protected] Received: (qmail 66672 invoked by uid 500); 20 Sep 2007 19:20:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 66661 invoked by uid 99); 20 Sep 2007 19:20:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Sep 2007 12:20:17 -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: local policy) Received: from [161.129.204.104] (HELO pop-mx00.ca.mci.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Sep 2007 19:20:14 +0000 Received: from mail.net (custpop.ca.mci.com [161.129.204.104]) by pop-mx00.ca.mci.com (Postfix) with ESMTP id C2D29D8B11 for <[email protected]>; Thu, 20 Sep 2007 15:18:33 -0400 (EDT) Received: from [161.129.204.104] (HELO CARDINAL) by mail.net (CommuniGate Pro SMTP 5.0.1) with ESMTP id 1189077540 for [email protected]; Thu, 20 Sep 2007 15:13:09 -0400 From: "Tony Wang" <[email protected]> To: <[email protected]> In-Reply-To: <[email protected]> Subject: RE: SQLMap in the Session_End Date: Thu, 20 Sep 2007 15:13:04 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_01CA_01C7FB98.BE3B8140" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16480 thread-index: Acf6sm1nDHoUMi+STCCciOAkTpCqNQBB0fZg Message-ID: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------=_NextPart_000_01CA_01C7FB98.BE3B8140 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Hi, I need to clean up some session registration information in the Database during Session End. However, mapped statements in the Session_End event meet the following exception. Is anyone can help me to get avoid it? Thread information: Thread ID: 6 Thread account name: NT AUTHORITY\NETWORK SERVICE Is impersonating: False Stack trace: at IBatisNet.DataAccess.SessionStore.WebSessionStore.ObtainSessionContext() in C:\Projects\VS.NET\QuatroSafety\IBatisNet.DataAccess\SessionStore\WebSession Store.cs:line 85 at IBatisNet.DataAccess.SessionStore.WebSessionStore.get_LocalSession() in C:\Projects\VS.NET\QuatroSafety\IBatisNet.DataAccess\SessionStore\WebSession Store.cs:line 53 at IBatisNet.DataAccess.DaoManager.OpenConnection() in C:\Projects\VS.NET\QuatroSafety\IBatisNet.DataAccess\DaoManager.cs:line 409 at com.quatro.QS.Service.UserManagementService.DeleteUserInSession(String sessionId) in C:\Projects\QS_comp\UserManagementService.cs:line 566 at com.quatro.qs.Global.Session_End(Object sender, EventArgs e) in c:\Projects\VS.NET\QS\App_Code\Global.asax.cs:line 117 Thanks, Tony ------=_NextPart_000_01CA_01C7FB98.BE3B8140 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Segoe UI"; panose-1:2 11 5 2 4 2 4 2 2 3;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-reply; font-family:Arial; color:navy;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-CA link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 = face=3D"Segoe UI"><span style=3D'font-size:9.0pt;font-family:"Segoe = UI"'>Hi,<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 = face=3D"Segoe UI"><span style=3D'font-size:9.0pt;font-family:"Segoe = UI"'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 = face=3D"Segoe UI"><span style=3D'font-size:9.0pt;font-family:"Segoe UI"'>I need to clean up some = session registration information in the Database during Session = End.<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 = face=3D"Segoe UI"><span style=3D'font-size:9.0pt;font-family:"Segoe UI"'>However, mapped = statements in the Session_End event meet the following = exception.<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 = face=3D"Segoe UI"><span style=3D'font-size:9.0pt;font-family:"Segoe = UI"'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 = face=3D"Segoe UI"><span style=3D'font-size:9.0pt;font-family:"Segoe UI"'>Is anyone can help me = to get avoid it?<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 = face=3D"Segoe UI"><span style=3D'font-size:9.0pt;font-family:"Segoe = UI"'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 = face=3D"Segoe UI"><span style=3D'font-size:9.0pt;font-family:"Segoe = UI"'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 = face=3D"Segoe UI"><span style=3D'font-size:9.0pt;font-family:"Segoe = UI"'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 = face=3D"Segoe UI"><span style=3D'font-size:9.0pt;font-family:"Segoe UI"'>Thread information: = <o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 = face=3D"Segoe UI"><span style=3D'font-size:9.0pt;font-family:"Segoe UI"'>&nbsp;&nbsp;&nbsp; = Thread ID: 6 <o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 = face=3D"Segoe UI"><span style=3D'font-size:9.0pt;font-family:"Segoe UI"'>&nbsp;&nbsp;&nbsp; = Thread account name: NT AUTHORITY\NETWORK SERVICE <o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 = face=3D"Segoe UI"><span style=3D'font-size:9.0pt;font-family:"Segoe UI"'>&nbsp;&nbsp;&nbsp; Is = impersonating: False <o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 = face=3D"Segoe UI"><span style=3D'font-size:9.0pt;font-family:"Segoe UI"'>&nbsp;&nbsp;&nbsp; = Stack trace:&nbsp;&nbsp;&nbsp; at IBatisNet.DataAccess.SessionStore.WebSessionStore.ObtainSessionContext() = in C:\Projects\VS.NET\QuatroSafety\IBatisNet.DataAccess\SessionStore\WebSess= ionStore.cs:line 85<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 = face=3D"Segoe UI"><span style=3D'font-size:9.0pt;font-family:"Segoe UI"'>&nbsp;&nbsp; at IBatisNet.DataAccess.SessionStore.WebSessionStore.get_LocalSession() in C:\Projects\VS.NET\QuatroSafety\IBatisNet.DataAccess\SessionStore\WebSess= ionStore.cs:line 53<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 = face=3D"Segoe UI"><span style=3D'font-size:9.0pt;font-family:"Segoe UI"'>&nbsp;&nbsp; at IBatisNet.DataAccess.DaoManager.OpenConnection() in C:\Projects\VS.NET\QuatroSafety\IBatisNet.DataAccess\DaoManager.cs:line = 409<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 = face=3D"Segoe UI"><span style=3D'font-size:9.0pt;font-family:"Segoe UI"'>&nbsp;&nbsp; at com.quatro.QS.Service.UserManagementService.DeleteUserInSession(String sessionId) in C:\Projects\QS_comp\UserManagementService.cs:line = 566<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 = face=3D"Segoe UI"><span style=3D'font-size:9.0pt;font-family:"Segoe UI"'>&nbsp;&nbsp; at com.quatro.qs.Global.Session_End(Object sender, EventArgs e) in c:\Projects\VS.NET\QS\App_Code\Global.asax.cs:line = 117<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 = face=3D"Segoe UI"><span style=3D'font-size:9.0pt;font-family:"Segoe = UI"'>&nbsp;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Thanks,<o:p></o:p></span></font></p>= <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Tony<o:p></o:p></span></font></p> </div> </body> </html> ------=_NextPart_000_01CA_01C7FB98.BE3B8140-- From [email protected] Fri Sep 21 12:10:50 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40902 invoked from network); 21 Sep 2007 12:10:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Sep 2007 12:10:50 -0000 Received: (qmail 30707 invoked by uid 500); 21 Sep 2007 12:10:36 -0000 Delivered-To: [email protected] Received: (qmail 30667 invoked by uid 500); 21 Sep 2007 12:10:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30638 invoked by uid 99); 21 Sep 2007 12:10:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2007 05:10:36 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO bay0-omc1-s22.bay0.hotmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2007 12:10:33 +0000 Received: from BAY117-W11 ([161.129.204.104]) by bay0-omc1-s22.bay0.hotmail.com with Microsoft SMTPSVC5144564815); Fri, 21 Sep 2007 05:10:13 -0700 Message-ID: <[email protected]> X-Originating-IP: [161.129.204.104] From: pei allen <[email protected]> To: <[email protected]> Subject: How to call procedure in oracle package using IBatis.Net. Date: Fri, 21 Sep 2007 20:10:13 +0800 Importance: Normal Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit MIME-Version: 1.0 X-OriginalArrivalTime: 21 Sep 2007 12:10:13.0187 (UTC) FILETIME=[5D060930:01C7FC48] X-Virus-Checked: Checked by ClamAV on apache.org Dear all, when i call procedure in oracle package using IBatisNet, it always failed. I can call oracle procedre using IBatisNet successfully,but to package 's procedure, it dosen't work. The code like this: Oracle's Package like below: ************************************** CREATE OR REPLACE PACKAGE allen_pkg IS PROCEDURE ALLEN_TEST (i_input in number,o_result out number) ; END; / CREATE OR REPLACE PACKAGE BODY allen_pkg IS PROCEDURE ALLEN_TEST (i_input in number,o_result out number) IS v_seq NUMBER; BEGIN o_result := i_input; return; END ALLEN_TEST; END allen_pkg; *************************************** The SqlMap like below: ***************************************************** ALLEN_PKG.ALLEN_TEST ****************************************************** The Calling function like below: ***************************************************** public long ProcedureTest() { Hashtable ht = new Hashtable(); ht["input"] = 1; ht["result"] = 0; m_DaoFacade.QueryForObject("ProcedureTestPkg", ht); return Convert.ToInt32(ht["result"]); } ******************************************************** when run to "m_DaoFacade.QueryForObject("ProcedureTestPkg", ht);", an exception was thrown like below: "PLS-00306: wrong number or types of arguments ......" I use Oracle 10gR2, VS2005 C#, IBatisNet.DataMapper(161.129.204.104) Thanks! 2007.9.21 _________________________________________________________________ Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us From [email protected] Fri Sep 21 12:16:20 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44271 invoked from network); 21 Sep 2007 12:16:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Sep 2007 12:16:20 -0000 Received: (qmail 39098 invoked by uid 500); 21 Sep 2007 12:16:11 -0000 Delivered-To: [email protected] Received: (qmail 38923 invoked by uid 500); 21 Sep 2007 12:16:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 38912 invoked by uid 99); 21 Sep 2007 12:16:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2007 05:16:10 -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 (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO bay0-omc1-s27.bay0.hotmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2007 12:18:10 +0000 Received: from BAY117-W17 ([161.129.204.104]) by bay0-omc1-s27.bay0.hotmail.com with Microsoft SMTPSVC5144564815); Fri, 21 Sep 2007 05:15:46 -0700 Message-ID: <[email protected]> Content-Type: multipart/alternative; boundary="_7b32d4ba-833e-4061-be4d-7617aec5a76d_" X-Originating-IP: [161.129.204.104] From: pei allen <[email protected]> To: <[email protected]> Subject: =?windows-1256?Q?How_to_call_procedure_in_oracle_package_using_IBatis.Net?= =?windows-1256?Q?.=FE?= Date: Fri, 21 Sep 2007 20:15:46 +0800 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 21 Sep 2007 12:15:46.0071 (UTC) FILETIME=[23701A70:01C7FC49] X-Virus-Checked: Checked by ClamAV on apache.org --_7b32d4ba-833e-4061-be4d-7617aec5a76d_ Content-Type: text/plain; charset="windows-1256" Content-Transfer-Encoding: 8bit Dear all,when i call procedure in oracle package using IBatisNet, it always failed.I can call oracle procedre using IBatisNet successfully,but to package 's procedure, it dosen't work.The code like this:Oracle's Package like below:**************************************CREATE OR REPLACE PACKAGE allen_pkgISPROCEDURE ALLEN_TEST (i_input in number,o_result out number) ;END;/CREATE OR REPLACE PACKAGE BODY allen_pkgISPROCEDURE ALLEN_TEST (i_input in number,o_result out number) IS v_seq NUMBER; BEGIN o_result := i_input;return;END ALLEN_TEST;END allen_pkg;***************************************The SqlMap like below:*****************************************************<statements> <procedure id="ProcedureTestPkg" parameterMap="ProcedureTestMapPkg" > ALLEN_PKG.ALLEN_TEST </procedure></statements><parameterMaps> <parameterMap id="ProcedureTestMapPkg" class="Hashtable"> <parameter property="input" column="i_input" dbType="integer" direction="Input" /> <parameter property="resul t" column="o_result" dbType="integer" direction="Output" /> </parameterMap></parameterMaps>******************************************************The Calling function like below:*****************************************************public long ProcedureTest(){Hashtable ht = new Hashtable();ht["input"] = 1;ht["result"] = 0;m_DaoFacade.QueryForObject("ProcedureTestPkg", ht);return Convert.ToInt32(ht["result"]);}********************************************************when run to "m_DaoFacade.QueryForObject("ProcedureTestPkg", ht);", an exception was thrown like below:"PLS-00306: wrong number or types of arguments ......"I use Oracle 10gR2, VS2005 C#, IBatisNet.DataMapper(161.129.204.104)Thanks!2007.9.21 _________________________________________________________________ Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us --_7b32d4ba-833e-4061-be4d-7617aec5a76d_ Content-Type: text/html; charset="windows-1256" Content-Transfer-Encoding: 8bit <html> <head> <style> .hmmessage P { margin:0px; padding:0px } body.hmmessage { FONT-SIZE: 10pt; FONT-FAMILY:Tahoma } </style> </head> <body class='hmmessage'> Dear all,<BR>when i call procedure in oracle package using IBatisNet, it always failed.<BR>I can call oracle procedre using IBatisNet successfully,but to package 's procedure, it dosen't work.<BR>The code like this:<BR><BR>Oracle's Package like below:<BR>**************************************<BR>CREATE OR REPLACE <BR>PACKAGE allen_pkg<BR>IS<BR><BR>PROCEDURE ALLEN_TEST (i_input in number,o_result out number) ;<BR>END;<BR>/<BR>CREATE OR REPLACE <BR>PACKAGE BODY allen_pkg<BR>IS<BR>PROCEDURE ALLEN_TEST (i_input in number,o_result out number) <BR>IS <BR>v_seq NUMBER; <BR>BEGIN <BR>o_result := i_input;<BR>return;<BR>END ALLEN_TEST;<BR><BR>END allen_pkg;<BR>***************************************<BR><BR>The SqlMap like below:<BR>*****************************************************<BR>&lt;statements&gt;<BR>&nbsp;&lt;procedure id="ProcedureTestPkg" parameterMap="ProcedureTestMapPkg" &gt;<BR>&nbsp;&nbsp;ALLEN_PKG.ALLEN_TEST<BR>&nbsp;&lt;/procedure&gt;<BR>&lt;/statements&gt;<BR>&lt;par ameterMaps&gt;<BR>&nbsp;&lt;parameterMap id="ProcedureTestMapPkg" class="Hashtable"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property="input" column="i_input" dbType="integer" direction="Input" /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property="result" column="o_result" dbType="integer" direction="Output" /&gt;<BR>&nbsp; &nbsp;&lt;/parameterMap&gt;<BR>&lt;/parameterMaps&gt;<BR>******************************************************<BR><BR>The Calling function like below:<BR>*****************************************************<BR>public long ProcedureTest()<BR>{<BR>Hashtable ht = new Hashtable();<BR>ht["input"] = 1;<BR>ht["result"] = 0;<BR>m_DaoFacade.QueryForObject("ProcedureTestPkg", ht);<BR><BR>return Convert.ToInt32(ht["result"]);<BR>}<BR>********************************************************<BR><BR>when run to "m_DaoFacade.QueryForObject("ProcedureTestPkg", ht);", an exception was thrown like below:<BR>"PLS-00306: wrong number or types of arguments ......"< BR><BR>I use Oracle 10gR2, VS2005 C#, IBatisNet.DataMapper(161.129.204.104)<BR><BR>Thanks!<BR>2007.9.21 <br /><hr />Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! <a href='http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us' target='_new'>Try it!</a></body> </html> --_7b32d4ba-833e-4061-be4d-7617aec5a76d_-- From [email protected] Fri Sep 21 12:17:14 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44396 invoked from network); 21 Sep 2007 12:17:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Sep 2007 12:17:14 -0000 Received: (qmail 40145 invoked by uid 500); 21 Sep 2007 12:17:04 -0000 Delivered-To: [email protected] Received: (qmail 40133 invoked by uid 500); 21 Sep 2007 12:17:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 40122 invoked by uid 99); 21 Sep 2007 12:17:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2007 05:17:04 -0700 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mlnyc904er.ml.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2007 12:19:03 +0000 Received: from MLNYA352BH.amrs.win.ml.com (mlnya352bh.amrs.win.ml.com [161.129.204.104]) by mlnyc904er.ml.com (Postfix) with ESMTP id 773A45697A for <[email protected]>; Fri, 21 Sep 2007 08:16:19 -0400 (EDT) Importance: normal Priority: normal Received: from mlnya301bh.amrs.win.ml.com ([161.129.204.104]) by MLNYA352BH.amrs.win.ml.com with Microsoft SMTPSVC(5.0.2195.6920); Fri, 21 Sep 2007 08:15:56 -0400 Received: from MLNYC728MB.amrs.win.ml.com ([161.129.204.104]) by mlnya301bh.amrs.win.ml.com with Microsoft SMTPSVC(5.0.2195.6920); Fri, 21 Sep 2007 08:15:56 -0400 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1896 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: How to call procedure in oracle package using IBatis.Net. Date: Fri, 21 Sep 2007 08:15:55 -0400 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to call procedure in oracle package using IBatis.Net. thread-index: Acf8SIMra+oxEODPRW2Mae65rbq1YgAADzPg References: <[email protected]> From: "Clough, Samuel \(USPC.PRG.Atlanta\)" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 21 Sep 2007 12:15:56.0084 (UTC) FILETIME=[2967F740:01C7FC49] X-Virus-Checked: Checked by ClamAV on apache.org I think we need to see more of your sql map. All I see is your procedure name, and we need to see the xml node that the call is defined in. I'm also not sure you're using the correct call. Unless there's an attribute I'm not aware of, Queryforobject is to read an object from a result set, not load it from an input/output parameter. -----Original Message----- From: pei allen [mailto:[email protected]]=20 Sent: Friday, September 21, 2007 8:10 AM To: [email protected] Subject: How to call procedure in oracle package using IBatis.Net. Dear all, when i call procedure in oracle package using IBatisNet, it always failed. I can call oracle procedre using IBatisNet successfully,but to package 's procedure, it dosen't work. The code like this: Oracle's Package like below: ************************************** CREATE OR REPLACE=20 PACKAGE allen_pkg IS PROCEDURE ALLEN_TEST (i_input in number,o_result out number) ; END; / CREATE OR REPLACE=20 PACKAGE BODY allen_pkg IS PROCEDURE ALLEN_TEST (i_input in number,o_result out number)=20 IS =20 v_seq NUMBER; =20 BEGIN =20 o_result :=3D i_input; return; END ALLEN_TEST; END allen_pkg; *************************************** The SqlMap like below: ***************************************************** =20 ALLEN_PKG.ALLEN_TEST =09 =20 =20 =09 ****************************************************** The Calling function like below: ***************************************************** public long ProcedureTest() { Hashtable ht =3D new Hashtable(); ht["input"] =3D 1; ht["result"] =3D 0; m_DaoFacade.QueryForObject("ProcedureTestPkg", ht); return Convert.ToInt32(ht["result"]); } ******************************************************** when run to "m_DaoFacade.QueryForObject("ProcedureTestPkg", ht);", an exception was thrown like below: "PLS-00306: wrong number or types of arguments ......" I use Oracle 10gR2, VS2005 C#, IBatisNet.DataMapper(161.129.204.104) Thanks! 2007.9.21 _________________________________________________________________ Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=3Dcreate&wx_url=3D/friend= s.a spx&mkt=3Den-us=20 -------------------------------------------------------- Princeton Retirement Group, Inc - Important Terms=20 This E-mail is not intended for distribution to, or use by, any person = or entity in any location where such distribution or use would be = contrary to law or regulation, or which would subject Princeton = Retirement Group, Inc. or any affiliate to any registration requirement = within such location.=20 This E-mail may contain privileged or confidential information or may = otherwise be protected by work product immunity or other legal rules. No = confidentiality or privilege is waived or lost by any mistransmission. = Access, copying or re-use of information by non-intended or = non-authorized recipients is prohibited. If you are not an intended = recipient of this E-mail, please notify the sender, delete it and do not = read, act upon, print, disclose, copy, retain or redistribute any = portion of this E-mail.=20 The transmission and content of this E-mail cannot be guaranteed to be = secure or error-free. Therefore, we cannot represent that the = information in this E-mail is complete, accurate, uncorrupted, timely or = free of viruses, and Princeton Retirement Group, Inc. cannot accept any = liability for E-mails that have been altered in the course of delivery. = Princeton Retirement Group, Inc. reserves the right to monitor, review = and retain all electronic communications, including E-mail, traveling = through its networks and systems (subject to and in accordance with = local laws). If any of your details are incorrect or if you no longer = wish to receive mailings such as this by E-mail please contact the = sender by reply E-mail.=20 -------------------------------------------------------- From [email protected] Fri Sep 21 12:32:53 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51435 invoked from network); 21 Sep 2007 12:32:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Sep 2007 12:32:53 -0000 Received: (qmail 63582 invoked by uid 500); 21 Sep 2007 12:32:43 -0000 Delivered-To: [email protected] Received: (qmail 63571 invoked by uid 500); 21 Sep 2007 12:32:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 63560 invoked by uid 99); 21 Sep 2007 12:32:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2007 05:32:43 -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 (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO bay0-omc1-s31.bay0.hotmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2007 12:34:41 +0000 Received: from BAY117-W21 ([161.129.204.104]) by bay0-omc1-s31.bay0.hotmail.com with Microsoft SMTPSVC5144564815); Fri, 21 Sep 2007 05:32:17 -0700 Message-ID: <[email protected]> Content-Type: multipart/alternative; boundary="_ee050f14-f7f9-4b02-8b93-2ce9d2abed86_" X-Originating-IP: [161.129.204.104] From: pei allen <[email protected]> To: <[email protected]> Subject: RE: How to call procedure in oracle package using IBatis.Net. Date: Fri, 21 Sep 2007 20:32:17 +0800 Importance: Normal In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> MIME-Version: 1.0 X-OriginalArrivalTime: 21 Sep 2007 12:32:17.0102 (UTC) FILETIME=[72236EE0:01C7FC4B] X-Virus-Checked: Checked by ClamAV on apache.org --_ee050f14-f7f9-4b02-8b93-2ce9d2abed86_ Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit Dear all, my whole sqlmap: <?xml version="1.0" encoding="utf-8" ?><sqlMap namespace="CommonBase" xmlns="http://ibatis.apache.org/mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <statements> <procedure id="ProcedureTestPkg" parameterMap="ProcedureTestMapPkg" > ALLEN_PKG.ALLEN_TEST </procedure> </statements> <parameterMaps> <parameterMap id="ProcedureTestMapPkg" class="Hashtable"> <parameter property="input" column="i_input" dbType="integer" direction="Input" /> <parameter property="result" column="o_result" dbType="integer" direction="Output" /> </parameterMap> </parameterMaps></sqlMap> ******************************************* SqlMapConfig like below database node, the othe node is like the standard config: <database> <provider name="OleDb1.1"/> <dataSource name="darwine_test" connectionString="Provider=OraOLEDB.Oracle.1;Password=oracle;Persist Security Info=True;User ID=rddarwine;Data Source=darwine_rd"/></database> I only know "Queryforobject","Queryforlist", any other? but with this config,i can call the procedure successfully if this procedure not in package,but in oracle, i don't konw why? like below: <procedure id="ProcedureTest" parameterMap="ProcedureTestMap" > ALLEN_TEST </procedure> parameterMap id="ProcedureTestMap" class="Hashtable"> <parameter property="input" column="i_input" dbType="integer" direction="Input" /> <parameter property="result" column="o_result" dbType="integer" direction="Output" /> </parameterMap> Thanks! 2007.9.21 > Subject: RE: How to call procedure in oracle package using IBatis.Net.> Date: Fri, 21 Sep 2007 08:15:55 -0400> From: [email protected]> To: [email protected]> > I think we need to see more of your sql map. All I see is your> procedure name, and we need to see the xml node that the call is defined> in.> > I'm also not sure you're using the correct call. Unless there's an> attribute I'm not aware of, Queryforobject is to read an object from a> result set, not load it from an input/output parameter.> > -----Original Message-----> From: pei allen [mailto:[email protected]] > Sent: Friday, September 21, 2007 8:10 AM> To: [email protected]> Subject: How to call procedure in oracle package using IBatis.Net.> > > Dear all,> when i call procedure in oracle package using IBatisNet, it always> failed.> I can call oracle procedre using IBatisNet successfully,but to> package 's procedure, it dosen't work.> The code like this:> > Oracle's Package like b elow:> **************************************> CREATE OR REPLACE > PACKAGE allen_pkg> IS> > PROCEDURE ALLEN_TEST (i_input in number,o_result out number) ;> END;> /> CREATE OR REPLACE > PACKAGE BODY allen_pkg> IS> PROCEDURE ALLEN_TEST (i_input in number,o_result out number) > IS > v_seq NUMBER; > BEGIN > o_result := i_input;> return;> END ALLEN_TEST;> > END allen_pkg;> ***************************************> > The SqlMap like below:> *****************************************************> > > ALLEN_PKG.ALLEN_TEST> > > > > > > > > ******************************************************> > The Calling function like below:> *****************************************************> public long ProcedureTest()> {> Hashtable ht = new Hashtable();> ht["input"] = 1;> ht["result"] = 0;> m_DaoFacade.QueryForObject("ProcedureTestPkg", ht);> > return Convert.ToInt32(ht["result"]);> }> ********************************************************> > when run to "m_DaoFacade.QueryForObject("Procedu reTestPkg", ht);", an> exception was thrown like below:> "PLS-00306: wrong number or types of arguments ......"> > I use Oracle 10gR2, VS2005 C#, IBatisNet.DataMapper(161.129.204.104)> > Thanks!> 2007.9.21> > > > > _________________________________________________________________> Invite your mail contacts to join your friends list with Windows Live> Spaces. It's easy!> http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.a> spx&mkt=en-us > --------------------------------------------------------> > Princeton Retirement Group, Inc - Important Terms > This E-mail is not intended for distribution to, or use by, any person or entity in any location where such distribution or use would be contrary to law or regulation, or which would subject Princeton Retirement Group, Inc. or any affiliate to any registration requirement within such location. > This E-mail may contain privileged or confidential information or may otherwise be protected by work product immunity or othe r legal rules. No confidentiality or privilege is waived or lost by any mistransmission. Access, copying or re-use of information by non-intended or non-authorized recipients is prohibited. If you are not an intended recipient of this E-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute any portion of this E-mail. > The transmission and content of this E-mail cannot be guaranteed to be secure or error-free. Therefore, we cannot represent that the information in this E-mail is complete, accurate, uncorrupted, timely or free of viruses, and Princeton Retirement Group, Inc. cannot accept any liability for E-mails that have been altered in the course of delivery. Princeton Retirement Group, Inc. reserves the right to monitor, review and retain all electronic communications, including E-mail, traveling through its networks and systems (subject to and in accordance with local laws). If any of your details are incorrec t or if you no longer wish to receive mailings such as this by E-mail please contact the sender by reply E-mail. > > -------------------------------------------------------- _________________________________________________________________ Discover the new Windows Vista http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE --_ee050f14-f7f9-4b02-8b93-2ce9d2abed86_ Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: 8bit <html> <head> <style> .hmmessage P { margin:0px; padding:0px } body.hmmessage { FONT-SIZE: 10pt; FONT-FAMILY:Tahoma } </style> </head> <body class='hmmessage'> Dear all,<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my whole sqlmap:<BR> &nbsp;&nbsp; &lt;?xml version="1.0" encoding="utf-8" ?&gt;<BR>&lt;sqlMap namespace="CommonBase" xmlns="<A href="http://ibatis.apache.org/mapping">http://ibatis.apache.org/mapping</A>" xmlns:xsi="<A href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</A>"&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;statements&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;procedure id="ProcedureTestPkg" parameterMap="ProcedureTestMapPkg" &gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ALLEN_PKG.ALLEN_TEST<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/procedure&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; &lt;/statements&gt;<BR> &nbsp;&nbsp;&nbsp; &lt;parameterMaps&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterMap id="ProcedureTestMapPkg" class="Hashtable"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property="input" column="i_input" dbType="integer" direction="Input" /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property="result" column="o_result" dbType="integer" direction="Output" /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameterMap&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/parameterMaps&gt;<BR>&lt;/sqlMap&gt;<BR> <BR>*******************************************<BR> &nbsp;&nbsp;&nbsp; SqlMapConfig like below database node, the othe node is like the standard config:<BR> &lt;database&gt;<BR>&nbsp;&lt;provider name="OleDb1.1"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;dataSource name="darwine_test" connectionString="Provider=OraOLEDB.Oracle.1;Password=oracle;Persist Security Info=True;User ID=rddarwine;Data Source=darwine_rd"/&gt;<BR>&lt;/database&gt;<BR> &nbsp;<BR> I&nbsp;only know "Queryforobject","Queryforlist",&nbsp; any other?<BR><BR> but with this config,i can call the procedure successfully&nbsp;if this procedure not in package,but in oracle, i don't&nbsp;konw why? like below:<BR> &lt;procedure id="ProcedureTest" parameterMap="ProcedureTestMap" &gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ALLEN_TEST<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/procedure&gt;<BR> &nbsp;<BR> parameterMap id="ProcedureTestMap" class="Hashtable"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property="input" column="i_input" dbType="integer" direction="Input" /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property="result" column="o_result" dbType="integer" direction="Output" /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameterMap&gt;<BR><BR> Thanks!<BR> 2007.9.21<BR> <BR>&gt; Subject: RE: How to call procedure in oracle package using IBatis.Net.<BR>&gt; Date: Fri, 21 Sep 2007 08:15:55 -0400<BR>&gt; From: [email protected]<BR>&gt; To: [email protected]<BR>&gt; <BR>&gt; I think we need to see more of your sql map. All I see is your<BR>&gt; procedure name, and we need to see the xml node that the call is defined<BR>&gt; in.<BR>&gt; <BR>&gt; I'm also not sure you're using the correct call. Unless there's an<BR>&gt; attribute I'm not aware of, Queryforobject is to read an object from a<BR>&gt; result set, not load it from an input/output parameter.<BR>&gt; <BR>&gt; -----Original Message-----<BR>&gt; From: pei allen [mailto:[email protected]] <BR>&gt; Sent: Friday, September 21, 2007 8:10 AM<BR>&gt; To: [email protected]<BR>&gt; Subject: How to call procedure in oracle package using IBatis.Net.<BR>&gt; <BR>&gt; <BR>&gt; Dear all,<BR>&gt; when i call procedure in oracle package using IBatisNet, it always<BR>&gt ; failed.<BR>&gt; I can call oracle procedre using IBatisNet successfully,but to<BR>&gt; package 's procedure, it dosen't work.<BR>&gt; The code like this:<BR>&gt; <BR>&gt; Oracle's Package like below:<BR>&gt; **************************************<BR>&gt; CREATE OR REPLACE <BR>&gt; PACKAGE allen_pkg<BR>&gt; IS<BR>&gt; <BR>&gt; PROCEDURE ALLEN_TEST (i_input in number,o_result out number) ;<BR>&gt; END;<BR>&gt; /<BR>&gt; CREATE OR REPLACE <BR>&gt; PACKAGE BODY allen_pkg<BR>&gt; IS<BR>&gt; PROCEDURE ALLEN_TEST (i_input in number,o_result out number) <BR>&gt; IS <BR>&gt; v_seq NUMBER; <BR>&gt; BEGIN <BR>&gt; o_result := i_input;<BR>&gt; return;<BR>&gt; END ALLEN_TEST;<BR>&gt; <BR>&gt; END allen_pkg;<BR>&gt; ***************************************<BR>&gt; <BR>&gt; The SqlMap like below:<BR>&gt; *****************************************************<BR>&gt; <BR>&gt; <BR>&gt; ALLEN_PKG.ALLEN_TEST<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; ****** ************************************************<BR>&gt; <BR>&gt; The Calling function like below:<BR>&gt; *****************************************************<BR>&gt; public long ProcedureTest()<BR>&gt; {<BR>&gt; Hashtable ht = new Hashtable();<BR>&gt; ht["input"] = 1;<BR>&gt; ht["result"] = 0;<BR>&gt; m_DaoFacade.QueryForObject("ProcedureTestPkg", ht);<BR>&gt; <BR>&gt; return Convert.ToInt32(ht["result"]);<BR>&gt; }<BR>&gt; ********************************************************<BR>&gt; <BR>&gt; when run to "m_DaoFacade.QueryForObject("ProcedureTestPkg", ht);", an<BR>&gt; exception was thrown like below:<BR>&gt; "PLS-00306: wrong number or types of arguments ......"<BR>&gt; <BR>&gt; I use Oracle 10gR2, VS2005 C#, IBatisNet.DataMapper(161.129.204.104)<BR>&gt; <BR>&gt; Thanks!<BR>&gt; 2007.9.21<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; _________________________________________________________________<BR>&gt; Invite your mail contacts to join your friends list with Windows Live<B R>&gt; Spaces. It's easy!<BR>&gt; http://spaces.live.com/spacesapi.aspx?wx_action=create&amp;wx_url=/friends.a<BR>&gt; spx&amp;mkt=en-us <BR>&gt; --------------------------------------------------------<BR>&gt; <BR>&gt; Princeton Retirement Group, Inc - Important Terms <BR>&gt; This E-mail is not intended for distribution to, or use by, any person or entity in any location where such distribution or use would be contrary to law or regulation, or which would subject Princeton Retirement Group, Inc. or any affiliate to any registration requirement within such location. <BR>&gt; This E-mail may contain privileged or confidential information or may otherwise be protected by work product immunity or other legal rules. No confidentiality or privilege is waived or lost by any mistransmission. Access, copying or re-use of information by non-intended or non-authorized recipients is prohibited. If you are not an intended recipient of this E-mail, please notify the sender, delete it an d do not read, act upon, print, disclose, copy, retain or redistribute any portion of this E-mail. <BR>&gt; The transmission and content of this E-mail cannot be guaranteed to be secure or error-free. Therefore, we cannot represent that the information in this E-mail is complete, accurate, uncorrupted, timely or free of viruses, and Princeton Retirement Group, Inc. cannot accept any liability for E-mails that have been altered in the course of delivery. Princeton Retirement Group, Inc. reserves the right to monitor, review and retain all electronic communications, including E-mail, traveling through its networks and systems (subject to and in accordance with local laws). If any of your details are incorrect or if you no longer wish to receive mailings such as this by E-mail please contact the sender by reply E-mail. <BR>&gt; <BR>&gt; --------------------------------------------------------<BR><BR><br /><hr />Discover the new Windows Vista <a href='http://search.msn.com/resul ts.aspx?q=windows+vista&mkt=en-US&form=QBRE' target='_new'>Learn more!</a></body> </html> --_ee050f14-f7f9-4b02-8b93-2ce9d2abed86_-- From [email protected] Fri Sep 21 12:48:08 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55090 invoked from network); 21 Sep 2007 12:48:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Sep 2007 12:48:07 -0000 Received: (qmail 87280 invoked by uid 500); 21 Sep 2007 12:47:58 -0000 Delivered-To: [email protected] Received: (qmail 87263 invoked by uid 500); 21 Sep 2007 12:47:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 87252 invoked by uid 99); 21 Sep 2007 12:47:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2007 05:47:58 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO bay0-omc1-s4.bay0.hotmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2007 12:47:55 +0000 Received: from BAY117-W8 ([161.129.204.104]) by bay0-omc1-s4.bay0.hotmail.com with Microsoft SMTPSVC5144564815); Fri, 21 Sep 2007 05:47:35 -0700 Message-ID: <[email protected]> Content-Type: multipart/alternative; boundary="_b48effe0-05b0-497d-aa65-ad676dca7539_" X-Originating-IP: [161.129.204.104] From: pei allen <[email protected]> To: <[email protected]> Subject: RE: How to call procedure in oracle package using IBatis.Net. Date: Fri, 21 Sep 2007 20:47:34 +0800 Importance: Normal In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> MIME-Version: 1.0 X-OriginalArrivalTime: 21 Sep 2007 12:47:35.0327 (UTC) FILETIME=[957172F0:01C7FC4D] X-Virus-Checked: Checked by ClamAV on apache.org --_b48effe0-05b0-497d-aa65-ad676dca7539_ Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit Dear all, The prodedure with no package,like below (it runs ok!): ******************************************************** CREATE OR REPLACE PROCEDURE allen_test (i_input in number,o_result out number) IS v_seq NUMBER; BEGIN o_result := i_input; return;END allen_test; ************************************** <procedure id="ProcedureTest" parameterMap="ProcedureTestMap" > ALLEN_TEST </procedure> parameterMap id="ProcedureTestMap" class="Hashtable"> <parameter property="input" column="i_input" dbType="integer" direction="Input" /> <parameter property="result" column="o_result" dbType="integer" direction="Output" /> </parameterMap> **************************************** public long ProcedureTest() { Hashtable ht = new Hashtable(); ht["input"] = 1; ht["result"] = 0; m_DaoFacade.QueryForObject<Hashtable>("ProcedureTest", ht); return Convert.ToInt32(ht["result"]); } #endregion ********************************************** So please help how to call procedure in oracle package using IBatis.Net. Thanks very much! allen 2007.9.21 From: [email protected]: [email protected]: RE: How to call procedure in oracle package using IBatis.Net.Date: Fri, 21 Sep 2007 20:32:17 +0800 Dear all, my whole sqlmap: <?xml version="1.0" encoding="utf-8" ?><sqlMap namespace="CommonBase" xmlns="http://ibatis.apache.org/mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <statements> <procedure id="ProcedureTestPkg" parameterMap="ProcedureTestMapPkg" > ALLEN_PKG.ALLEN_TEST </procedure> </statements> <parameterMaps> <parameterMap id="ProcedureTestMapPkg" class="Hashtable"> <parameter property="input" column="i_input" dbType="integer" direction="Input" /> <parameter property="result" column="o_result" dbType="integer" direction="Output" /> </parameterMap> </parameterMaps></sqlMap>******************************************* SqlMapConfig like below database node, the othe node is like the standard config:<database> <provider name="OleDb1.1"/> <dataSource name="darwine_test" connectionString="Provider=OraOLEDB.Oracle.1;Password=oracle;Persist Security Info=True;User ID=rddarwine;Data Source=darwine_rd"/></database> I only know "Queryforobject","Queryforlist", any other?but with this config,i can call the procedure successfully if this procedure not in package,but in oracle, i don't konw why? like below:<procedure id="ProcedureTest" parameterMap="ProcedureTestMap" > ALLEN_TEST </procedure> parameterMap id="ProcedureTestMap" class="Hashtable"> <parameter property="input" column="i_input" dbType="integer" direction="Input" /> <parameter property="result" column="o_result" dbType="integer" direction="Output" /> </parameterMap>Thanks!2007.9.21> Subject: RE: How to call procedure in oracle package using IBatis.Net.> Date: Fri, 21 Sep 2007 08:15:55 -0400> From: [email protected]> To: [email protected]> > I think we need to see more of your sql map. All I see is your> procedure name, and we need to see the xml node that the call is defined> in.> > I'm also not sure you're using the correct call. Unless there's an> attribute I'm not aware of, Queryforobject is to read an object from a> result set, not load it from an input/output parameter.> > -----Original Message-----> From: pei allen [mailto:[email protected]] > Sent: Friday, September 21, 2007 8:10 AM> To: [email protected]> Subject: How to call procedure in oracle package using IBatis.Net.> > > Dear all,> when i call procedure in oracle package using IBatisNet, it always> failed.> I can call oracle procedre using IBatisNet successfully,but to> package 's procedure, it dosen't work.> The code like this:> > Oracle's Package like below:> **************************************> CREATE OR REPLACE > PACKAGE allen_pkg> IS> > PROCEDURE ALLEN_TEST (i_input in number,o_result out number) ;> END;> /> CREATE OR REPLACE > PACKAGE BODY allen_pkg> IS> PROCEDURE ALLEN_TEST (i_input in number,o_result out number) > IS > v_seq NUMBER; > BEGIN > o_result := i_input;> return;> END ALLEN_TEST;> > END allen_pkg;> ******************** *******************> > The SqlMap like below:> *****************************************************> > > ALLEN_PKG.ALLEN_TEST> > > > > > > > > ******************************************************> > The Calling function like below:> *****************************************************> public long ProcedureTest()> {> Hashtable ht = new Hashtable();> ht["input"] = 1;> ht["result"] = 0;> m_DaoFacade.QueryForObject("ProcedureTestPkg", ht);> > return Convert.ToInt32(ht["result"]);> }> ********************************************************> > when run to "m_DaoFacade.QueryForObject("ProcedureTestPkg", ht);", an> exception was thrown like below:> "PLS-00306: wrong number or types of arguments ......"> > I use Oracle 10gR2, VS2005 C#, IBatisNet.DataMapper(161.129.204.104)> > Thanks!> 2007.9.21> > > > > _________________________________________________________________> Invite your mail contacts to join your friends list with Windows Live> Spaces. It's easy!> http://spaces.live.com/spa cesapi.aspx?wx_action=create&wx_url=/friends.a> spx&mkt=en-us > --------------------------------------------------------> > Princeton Retirement Group, Inc - Important Terms > This E-mail is not intended for distribution to, or use by, any person or entity in any location where such distribution or use would be contrary to law or regulation, or which would subject Princeton Retirement Group, Inc. or any affiliate to any registration requirement within such location. > This E-mail may contain privileged or confidential information or may otherwise be protected by work product immunity or other legal rules. No confidentiality or privilege is waived or lost by any mistransmission. Access, copying or re-use of information by non-intended or non-authorized recipients is prohibited. If you are not an intended recipient of this E-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute any portion of this E-mail. > The trans mission and content of this E-mail cannot be guaranteed to be secure or error-free. Therefore, we cannot represent that the information in this E-mail is complete, accurate, uncorrupted, timely or free of viruses, and Princeton Retirement Group, Inc. cannot accept any liability for E-mails that have been altered in the course of delivery. Princeton Retirement Group, Inc. reserves the right to monitor, review and retain all electronic communications, including E-mail, traveling through its networks and systems (subject to and in accordance with local laws). If any of your details are incorrect or if you no longer wish to receive mailings such as this by E-mail please contact the sender by reply E-mail. > > -------------------------------------------------------- Discover the new Windows Vista Learn more! _________________________________________________________________ Explore the seven wonders of the world http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE --_b48effe0-05b0-497d-aa65-ad676dca7539_ Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: 8bit <html> <head> <style> .hmmessage P { margin:0px; padding:0px } body.hmmessage { FONT-SIZE: 10pt; FONT-FAMILY:Tahoma } </style> </head> <body class='hmmessage'> <BR>Dear all,<BR> The prodedure with no package,like below (it runs ok!):<BR> ********************************************************<BR> CREATE OR REPLACE <BR>PROCEDURE allen_test (i_input in number,o_result out number) <BR>IS&nbsp;&nbsp; <BR>v_seq&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NUMBER;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>BEGIN&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; o_result := i_input;<BR>&nbsp;&nbsp;&nbsp; return;<BR>END allen_test;<BR> **************************************<BR> &lt;procedure id="ProcedureTest" parameterMap="ProcedureTestMap" &gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ALLEN_TEST<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/procedure&gt;<BR>&nbsp;<BR>parameterMap id="ProcedureTestMap" class="Hashtable"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property="input" column="i_input" dbType="integer" direction="Input" /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property="result" column="o_result" dbType="integer" direction="Output" /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameterMap&gt;<BR> ****************************************<BR> public long ProcedureTest()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hashtable ht = new Hashtable();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ht["input"] = 1;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ht["result"] = 0;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_DaoFacade.QueryForObject&lt;Hashtable&gt;("ProcedureTest", ht);<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return Convert.ToInt32(ht["result"]);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #endregion<BR> **********************************************<BR> &nbsp;<BR> <FONT style="BACKGROUND-COLOR: #ffffff" color=#ff0000>So please help how to call procedure in oracle package using IBatis.Net.</FONT><BR> <FONT color=#ff0000></FONT>&nbsp;<BR> <FONT color=#000000>Thanks very much!</FONT><BR> <FONT color=#000000>allen</FONT><BR> <FONT color=#000000>2007.9.21</FONT><BR> <BR><BR> <BLOCKQUOTE> <HR> From: [email protected]<BR>To: [email protected]<BR>Subject: RE: How to call procedure in oracle package using IBatis.Net.<BR>Date: Fri, 21 Sep 2007 20:32:17 +0800<BR><BR> <META content="Microsoft SafeHTML" name=Generator> <STYLE> .ExternalClass .EC_hmmessage P {padding:0px;} .ExternalClass EC_body.hmmessage {font-size:10pt;font-family:Tahoma;} </STYLE> Dear all,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my whole sqlmap:<BR>&nbsp;&nbsp; &lt;?xml version="1.0" encoding="utf-8" ?&gt;<BR>&lt;sqlMap namespace="CommonBase" xmlns="<A href="http://ibatis.apache.org/mapping" target=_blank>http://ibatis.apache.org/mapping</A>" xmlns:xsi="<A href="http://www.w3.org/2001/XMLSchema-instance" target=_blank>http://www.w3.org/2001/XMLSchema-instance</A>"&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;statements&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;procedure id="ProcedureTestPkg" parameterMap="ProcedureTestMapPkg" &gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ALLEN_PKG.ALLEN_TEST<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/procedure&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; &lt;/statements&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;parameterMaps&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterMap id="ProcedureTestMapPkg" class="Hashtable"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property="input" column="i_input " dbType="integer" direction="Input" /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property="result" column="o_result" dbType="integer" direction="Output" /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameterMap&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/parameterMaps&gt;<BR>&lt;/sqlMap&gt;<BR><BR>*******************************************<BR>&nbsp;&nbsp;&nbsp; SqlMapConfig like below database node, the othe node is like the standard config:<BR>&lt;database&gt;<BR>&nbsp;&lt;provider name="OleDb1.1"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;dataSource name="darwine_test" connectionString="Provider=OraOLEDB.Oracle.1;Password=oracle;Persist Security Info=True;User ID=rddarwine;Data Source=darwine_rd"/&gt;<BR>&lt;/database&gt;<BR>&nbsp;<BR>I&nbsp;only know "Queryforobject","Queryforlist",&nbsp; any other?<BR><BR>but with this config,i can call the procedure successfully&nbsp;if this procedure not in package,but in oracle, i don't&nbsp;konw why? like below:<BR>&lt;procedure id="Pr ocedureTest" parameterMap="ProcedureTestMap" &gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ALLEN_TEST<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/procedure&gt;<BR>&nbsp;<BR>parameterMap id="ProcedureTestMap" class="Hashtable"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property="input" column="i_input" dbType="integer" direction="Input" /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property="result" column="o_result" dbType="integer" direction="Output" /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameterMap&gt;<BR><BR>Thanks!<BR>2007.9.21<BR><BR>&gt; Subject: RE: How to call procedure in oracle package using IBatis.Net.<BR>&gt; Date: Fri, 21 Sep 2007 08:15:55 -0400<BR>&gt; From: [email protected]<BR>&gt; To: [email protected]<BR>&gt; <BR>&gt; I think we need to see more of your sql map. All I see is your<BR>&gt; procedure name, and we need to see the xml node that the call is defined<BR>&gt; in.<BR>&gt; <BR>&gt; I 'm also not sure you're using the correct call. Unless there's an<BR>&gt; attribute I'm not aware of, Queryforobject is to read an object from a<BR>&gt; result set, not load it from an input/output parameter.<BR>&gt; <BR>&gt; -----Original Message-----<BR>&gt; From: pei allen [mailto:[email protected]] <BR>&gt; Sent: Friday, September 21, 2007 8:10 AM<BR>&gt; To: [email protected]<BR>&gt; Subject: How to call procedure in oracle package using IBatis.Net.<BR>&gt; <BR>&gt; <BR>&gt; Dear all,<BR>&gt; when i call procedure in oracle package using IBatisNet, it always<BR>&gt; failed.<BR>&gt; I can call oracle procedre using IBatisNet successfully,but to<BR>&gt; package 's procedure, it dosen't work.<BR>&gt; The code like this:<BR>&gt; <BR>&gt; Oracle's Package like below:<BR>&gt; **************************************<BR>&gt; CREATE OR REPLACE <BR>&gt; PACKAGE allen_pkg<BR>&gt; IS<BR>&gt; <BR>&gt; PROCEDURE ALLEN_TEST (i_input in number,o_result out number) ;<BR>&g t; END;<BR>&gt; /<BR>&gt; CREATE OR REPLACE <BR>&gt; PACKAGE BODY allen_pkg<BR>&gt; IS<BR>&gt; PROCEDURE ALLEN_TEST (i_input in number,o_result out number) <BR>&gt; IS <BR>&gt; v_seq NUMBER; <BR>&gt; BEGIN <BR>&gt; o_result := i_input;<BR>&gt; return;<BR>&gt; END ALLEN_TEST;<BR>&gt; <BR>&gt; END allen_pkg;<BR>&gt; ***************************************<BR>&gt; <BR>&gt; The SqlMap like below:<BR>&gt; *****************************************************<BR>&gt; <BR>&gt; <BR>&gt; ALLEN_PKG.ALLEN_TEST<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; ******************************************************<BR>&gt; <BR>&gt; The Calling function like below:<BR>&gt; *****************************************************<BR>&gt; public long ProcedureTest()<BR>&gt; {<BR>&gt; Hashtable ht = new Hashtable();<BR>&gt; ht["input"] = 1;<BR>&gt; ht["result"] = 0;<BR>&gt; m_DaoFacade.QueryForObject("ProcedureTestPkg", ht);<BR>&gt; <BR>&gt; return Convert.ToInt32( ht["result"]);<BR>&gt; }<BR>&gt; ********************************************************<BR>&gt; <BR>&gt; when run to "m_DaoFacade.QueryForObject("ProcedureTestPkg", ht);", an<BR>&gt; exception was thrown like below:<BR>&gt; "PLS-00306: wrong number or types of arguments ......"<BR>&gt; <BR>&gt; I use Oracle 10gR2, VS2005 C#, IBatisNet.DataMapper(161.129.204.104)<BR>&gt; <BR>&gt; Thanks!<BR>&gt; 2007.9.21<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; _________________________________________________________________<BR>&gt; Invite your mail contacts to join your friends list with Windows Live<BR>&gt; Spaces. It's easy!<BR>&gt; http://spaces.live.com/spacesapi.aspx?wx_action=create&amp;wx_url=/friends.a<BR>&gt; spx&amp;mkt=en-us <BR>&gt; --------------------------------------------------------<BR>&gt; <BR>&gt; Princeton Retirement Group, Inc - Important Terms <BR>&gt; This E-mail is not intended for distribution to, or use by, any person or entity in any location where such distributio n or use would be contrary to law or regulation, or which would subject Princeton Retirement Group, Inc. or any affiliate to any registration requirement within such location. <BR>&gt; This E-mail may contain privileged or confidential information or may otherwise be protected by work product immunity or other legal rules. No confidentiality or privilege is waived or lost by any mistransmission. Access, copying or re-use of information by non-intended or non-authorized recipients is prohibited. If you are not an intended recipient of this E-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute any portion of this E-mail. <BR>&gt; The transmission and content of this E-mail cannot be guaranteed to be secure or error-free. Therefore, we cannot represent that the information in this E-mail is complete, accurate, uncorrupted, timely or free of viruses, and Princeton Retirement Group, Inc. cannot accept any liability fo r E-mails that have been altered in the course of delivery. Princeton Retirement Group, Inc. reserves the right to monitor, review and retain all electronic communications, including E-mail, traveling through its networks and systems (subject to and in accordance with local laws). If any of your details are incorrect or if you no longer wish to receive mailings such as this by E-mail please contact the sender by reply E-mail. <BR>&gt; <BR>&gt; --------------------------------------------------------<BR><BR><BR> <HR> Discover the new Windows Vista <A href="http://search.msn.com/results.aspx?q=windows+vista&amp;mkt=en-US&amp;form=QBRE" target=_blank>Learn more!</A> </BLOCKQUOTE><br /><hr />Explore the seven wonders of the world <a href='http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE' target='_new'>Learn more!</a></body> </html> --_b48effe0-05b0-497d-aa65-ad676dca7539_-- From [email protected] Fri Sep 21 13:36:10 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75219 invoked from network); 21 Sep 2007 13:36:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Sep 2007 13:36:10 -0000 Received: (qmail 4812 invoked by uid 500); 21 Sep 2007 13:36:00 -0000 Delivered-To: [email protected] Received: (qmail 4798 invoked by uid 500); 21 Sep 2007 13:36:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4787 invoked by uid 99); 21 Sep 2007 13:36:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2007 06:36:00 -0700 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS,URIBL_BLACK X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.lexesinc.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 21 Sep 2007 13:37:57 +0000 Received: from 161.129.204.104 ([161.129.204.104]) by LEXES01.lexesinc.local ([161.129.204.104]) with Microsoft Exchange Server HTTP-DAV ; Fri, 21 Sep 2007 13:34:06 +0000 Received: from lshinlever-desktop by 161.129.204.104; 21 Sep 2007 09:28:30 -0400 Subject: RE: How to call procedure in oracle package using IBatis.Net. From: Lee Shinlever <[email protected]> To: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Content-Type: multipart/alternative; boundary="=-5FbX2x2SKZBsyqtXAp6V" Date: Fri, 21 Sep 2007 09:28:30 -0400 Message-Id: <1190381310.7744.8.camel@lshinlever-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 X-Virus-Checked: Checked by ClamAV on apache.org --=-5FbX2x2SKZBsyqtXAp6V Content-Type: text/plain Content-Transfer-Encoding: 7bit Greetings, We use Oracle packages successfully here but we use the ODP.Net 10.1 provider from Oracle not OleDb. Could you try that? Lee On Fri, 2007-09-21 at 20:47 +0800, pei allen wrote: > > Dear all, > The prodedure with no package,like below (it runs ok!): > ******************************************************** > CREATE OR REPLACE > PROCEDURE allen_test (i_input in number,o_result out number) > IS > v_seq NUMBER; > BEGIN > o_result := i_input; > return; > END allen_test; > ************************************** > <procedure id="ProcedureTest" parameterMap="ProcedureTestMap" > > ALLEN_TEST > </procedure> > > parameterMap id="ProcedureTestMap" class="Hashtable"> > <parameter property="input" column="i_input" dbType="integer" > direction="Input" /> > <parameter property="result" column="o_result" > dbType="integer" direction="Output" /> > </parameterMap> > **************************************** > public long ProcedureTest() > { > Hashtable ht = new Hashtable(); > ht["input"] = 1; > ht["result"] = 0; > m_DaoFacade.QueryForObject<Hashtable>("ProcedureTest", > ht); > return Convert.ToInt32(ht["result"]); > } > #endregion > ********************************************** > > So please help how to call procedure in oracle package using > IBatis.Net. > > Thanks very much! > allen > 2007.9.21 > > > > > ______________________________________________________________ > From: [email protected] > To: [email protected] > Subject: RE: How to call procedure in oracle package using > IBatis.Net. > Date: Fri, 21 Sep 2007 20:32:17 +0800 > > Dear all, > my whole sqlmap: > <?xml version="1.0" encoding="utf-8" ?> > <sqlMap namespace="CommonBase" > xmlns="http://ibatis.apache.org/mapping" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > <statements> > <procedure id="ProcedureTestPkg" > parameterMap="ProcedureTestMapPkg" > > ALLEN_PKG.ALLEN_TEST > </procedure> > > </statements> > <parameterMaps> > <parameterMap id="ProcedureTestMapPkg" > class="Hashtable"> > <parameter property="input" column="i_input " > dbType="integer" direction="Input" /> > <parameter property="result" column="o_result" > dbType="integer" direction="Output" /> > </parameterMap> > </parameterMaps> > </sqlMap> > > ******************************************* > SqlMapConfig like below database node, the othe node is > like the standard config: > <database> > <provider name="OleDb1.1"/> > <dataSource name="darwine_test" > connectionString="Provider=OraOLEDB.Oracle.1;Password=oracle;Persist Security Info=True;User ID=rddarwine;Data Source=darwine_rd"/> > </database> > > I only know "Queryforobject","Queryforlist", any other? > > but with this config,i can call the procedure successfully if > this procedure not in package,but in oracle, i don't konw why? > like below: > <procedure id="Pr ocedureTest" parameterMap="ProcedureTestMap" > > > ALLEN_TEST > </procedure> > > parameterMap id="ProcedureTestMap" class="Hashtable"> > <parameter property="input" column="i_input" > dbType="integer" direction="Input" /> > <parameter property="result" column="o_result" > dbType="integer" direction="Output" /> > </parameterMap> > > Thanks! > 2007.9.21 > > > Subject: RE: How to call procedure in oracle package using > IBatis.Net. > > Date: Fri, 21 Sep 2007 08:15:55 -0400 > > From: [email protected] > > To: [email protected] > > > > I think we need to see more of your sql map. All I see is > your > > procedure name, and we need to see the xml node that the > call is defined > > in. > > > > I 'm also not sure you're using the correct call. Unless > there's an > > attribute I'm not aware of, Queryforobject is to read an > object from a > > result set, not load it from an input/output parameter. > > > > -----Original Message----- > > From: pei allen [mailto:[email protected]] > > Sent: Friday, September 21, 2007 8:10 AM > > To: [email protected] > > Subject: How to call procedure in oracle package using > IBatis.Net. > > > > > > Dear all, > > when i call procedure in oracle package using IBatisNet, it > always > > failed. > > I can call oracle procedre using IBatisNet successfully,but > to > > package 's procedure, it dosen't work. > > The code like this: > > > > Oracle's Package like below: > > ************************************** > > CREATE OR REPLACE > > PACKAGE allen_pkg > > IS > > > > PROCEDURE ALLEN_TEST (i_input in number,o_result out > number) ; > &g t; END; > > / > > CREATE OR REPLACE > > PACKAGE BODY allen_pkg > > IS > > PROCEDURE ALLEN_TEST (i_input in number,o_result out > number) > > IS > > v_seq NUMBER; > > BEGIN > > o_result := i_input; > > return; > > END ALLEN_TEST; > > > > END allen_pkg; > > *************************************** > > > > The SqlMap like below: > > ***************************************************** > > > > > > ALLEN_PKG.ALLEN_TEST > > > > > > > > > > > > > > > > > > ****************************************************** > > > > The Calling function like below: > > ***************************************************** > > public long ProcedureTest() > > { > > Hashtable ht = new Hashtable(); > > ht["input"] = 1; > > ht["result"] = 0; > > m_DaoFacade.QueryForObject("ProcedureTestPkg", ht); > > > > return Convert.ToInt32( ht["result"]); > > } > > ******************************************************** > > > > when run to "m_DaoFacade.QueryForObject("ProcedureTestPkg", > ht);", an > > exception was thrown like below: > > "PLS-00306: wrong number or types of arguments ......" > > > > I use Oracle 10gR2, VS2005 C#, IBatisNet.DataMapper(161.129.204.104) > > > > Thanks! > > 2007.9.21 > > > > > > > > > > > _________________________________________________________________ > > Invite your mail contacts to join your friends list with > Windows Live > > Spaces. It's easy! > > > http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.a > > spx&mkt=en-us > > -------------------------------------------------------- > > > > Princeton Retirement Group, Inc - Important Terms > > This E-mail is not intended for distribution to, or use by, > any person or entity in any location where such distributio n > or use would be contrary to law or regulation, or which would > subject Princeton Retirement Group, Inc. or any affiliate to > any registration requirement within such location. > > This E-mail may contain privileged or confidential > information or may otherwise be protected by work product > immunity or other legal rules. No confidentiality or privilege > is waived or lost by any mistransmission. Access, copying or > re-use of information by non-intended or non-authorized > recipients is prohibited. If you are not an intended recipient > of this E-mail, please notify the sender, delete it and do not > read, act upon, print, disclose, copy, retain or redistribute > any portion of this E-mail. > > The transmission and content of this E-mail cannot be > guaranteed to be secure or error-free. Therefore, we cannot > represent that the information in this E-mail is complete, > accurate, uncorrupted, timely or free of viruses, and > Princeton Retirement Group, Inc. cannot accept any liability > fo r E-mails that have been altered in the course of delivery. > Princeton Retirement Group, Inc. reserves the right to > monitor, review and retain all electronic communications, > including E-mail, traveling through its networks and systems > (subject to and in accordance with local laws). If any of your > details are incorrect or if you no longer wish to receive > mailings such as this by E-mail please contact the sender by > reply E-mail. > > > > -------------------------------------------------------- > > > > ______________________________________________________________ > Discover the new Windows Vista Learn more! > > > > ______________________________________________________________________ > Explore the seven wonders of the world Learn more! --=-5FbX2x2SKZBsyqtXAp6V Content-Type: text/html; charset=utf-8 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"> <META NAME="GENERATOR" CONTENT="GtkHTML/3.14.1"> </HEAD> <BODY> Greetings,<BR> <BR> We use Oracle packages successfully here but we use the ODP.Net 10.1 provider from Oracle not OleDb. Could you try that?<BR> &nbsp; <BR> Lee<BR> <BR> On Fri, 2007-09-21 at 20:47 +0800, pei allen wrote:<BR> <BLOCKQUOTE TYPE=CITE> <BR> <FONT COLOR="#000000">Dear all,</FONT><BR> <FONT COLOR="#000000">The prodedure with no package,like below (it runs ok!):</FONT><BR> <FONT COLOR="#000000">********************************************************</FONT><BR> <FONT COLOR="#000000">CREATE OR REPLACE </FONT><BR> <FONT COLOR="#000000">PROCEDURE allen_test (i_input in number,o_result out number) </FONT><BR> <FONT COLOR="#000000">IS&nbsp;&nbsp; </FONT><BR> <FONT COLOR="#000000">v_seq&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NUMBER;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT><BR> <FONT COLOR="#000000">BEGIN&nbsp;&nbsp;&nbsp; </FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; o_result := i_input;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; return;</FONT><BR> <FONT COLOR="#000000">END allen_test;</FONT><BR> <FONT COLOR="#000000">**************************************</FONT><BR> <FONT COLOR="#000000">&lt;procedure id=&quot;ProcedureTest&quot; parameterMap=&quot;ProcedureTestMap&quot; &gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ALLEN_TEST</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/procedure&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;</FONT><BR> <FONT COLOR="#000000">parameterMap id=&quot;ProcedureTestMap&quot; class=&quot;Hashtable&quot;&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property=&quot;input&quot; column=&quot;i_input&quot; dbType=&quot;integer&quot; direction=&quot;Input&quot; /&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property=&quot;result&quot; column=&quot;o_result&quot; dbType=&quot;integer&quot; direction=&quot;Output&quot; /&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameterMap&gt;</FONT><BR> <FONT COLOR="#000000">****************************************</FONT><BR> <FONT COLOR="#000000">public long ProcedureTest()</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hashtable ht = new Hashtable();</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ht[&quot;input&quot;] = 1;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ht[&quot;result&quot;] = 0;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_DaoFacade.QueryForObject&lt;Hashtable&gt;(&quot;ProcedureTest&quot;, ht);</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return Convert.ToInt32(ht[&quot;result&quot;]);</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #endregion</FONT><BR> <FONT COLOR="#000000">**********************************************</FONT><BR> <FONT COLOR="#000000">&nbsp;</FONT><BR> <FONT COLOR="#ff0000">So please help how to call procedure in oracle package using IBatis.Net.</FONT><BR> <FONT COLOR="#000000">&nbsp;</FONT><BR> <FONT COLOR="#000000">Thanks very much!</FONT><BR> <FONT COLOR="#000000">allen</FONT><BR> <FONT COLOR="#000000">2007.9.21</FONT><BR> <BR> <BR> <BLOCKQUOTE> <HR> <BR> <FONT COLOR="#000000">From: [email protected]</FONT><BR> <FONT COLOR="#000000">To: [email protected]</FONT><BR> <FONT COLOR="#000000">Subject: RE: How to call procedure in oracle package using IBatis.Net.</FONT><BR> <FONT COLOR="#000000">Date: Fri, 21 Sep 2007 20:32:17 +0800</FONT><BR> <BR> <FONT COLOR="#000000">Dear all,</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my whole sqlmap:</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp; &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt;</FONT><BR> <FONT COLOR="#000000">&lt;sqlMap namespace=&quot;CommonBase&quot; xmlns=&quot;<A HREF="http://ibatis.apache.org/mapping">http://ibatis.apache.org/mapping</A>&quot; xmlns:xsi=&quot;<A HREF="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</A>&quot;&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; &lt;statements&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;procedure id=&quot;ProcedureTestPkg&quot; parameterMap=&quot;ProcedureTestMapPkg&quot; &gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ALLEN_PKG.ALLEN_TEST</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/procedure&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; &lt;/statements&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; &lt;parameterMaps&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterMap id=&quot;ProcedureTestMapPkg&quot; class=&quot;Hashtable&quot;&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property=&quot;input&quot; column=&quot;i_input &quot; dbType=&quot;integer&quot; direction=&quot;Input&quot; /&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property=&quot;result&quot; column=&quot;o_result&quot; dbType=&quot;integer&quot; direction=&quot;Output&quot; /&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameterMap&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; &lt;/parameterMaps&gt;</FONT><BR> <FONT COLOR="#000000">&lt;/sqlMap&gt;</FONT><BR> <BR> <FONT COLOR="#000000">*******************************************</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; SqlMapConfig like below database node, the othe node is like the standard config:</FONT><BR> <FONT COLOR="#000000">&lt;database&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&lt;provider name=&quot;OleDb1.1&quot;/&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; &lt;dataSource name=&quot;darwine_test&quot; connectionString=&quot;Provider=OraOLEDB.Oracle.1;Password=oracle;Persist Security Info=True;User ID=rddarwine;Data Source=darwine_rd&quot;/&gt;</FONT><BR> <FONT COLOR="#000000">&lt;/database&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;</FONT><BR> <FONT COLOR="#000000">I&nbsp;only know &quot;Queryforobject&quot;,&quot;Queryforlist&quot;,&nbsp; any other?</FONT><BR> <BR> <FONT COLOR="#000000">but with this config,i can call the procedure successfully&nbsp;if this procedure not in package,but in oracle, i don't&nbsp;konw why? like below:</FONT><BR> <FONT COLOR="#000000">&lt;procedure id=&quot;Pr ocedureTest&quot; parameterMap=&quot;ProcedureTestMap&quot; &gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ALLEN_TEST</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/procedure&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;</FONT><BR> <FONT COLOR="#000000">parameterMap id=&quot;ProcedureTestMap&quot; class=&quot;Hashtable&quot;&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property=&quot;input&quot; column=&quot;i_input&quot; dbType=&quot;integer&quot; direction=&quot;Input&quot; /&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property=&quot;result&quot; column=&quot;o_result&quot; dbType=&quot;integer&quot; direction=&quot;Output&quot; /&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameterMap&gt;</FONT><BR> <BR> <FONT COLOR="#000000">Thanks!</FONT><BR> <FONT COLOR="#000000">2007.9.21</FONT><BR> <BR> <FONT COLOR="#000000">&gt; Subject: RE: How to call procedure in oracle package using IBatis.Net.</FONT><BR> <FONT COLOR="#000000">&gt; Date: Fri, 21 Sep 2007 08:15:55 -0400</FONT><BR> <FONT COLOR="#000000">&gt; From: [email protected]</FONT><BR> <FONT COLOR="#000000">&gt; To: [email protected]</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; I think we need to see more of your sql map. All I see is your</FONT><BR> <FONT COLOR="#000000">&gt; procedure name, and we need to see the xml node that the call is defined</FONT><BR> <FONT COLOR="#000000">&gt; in.</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; I 'm also not sure you're using the correct call. Unless there's an</FONT><BR> <FONT COLOR="#000000">&gt; attribute I'm not aware of, Queryforobject is to read an object from a</FONT><BR> <FONT COLOR="#000000">&gt; result set, not load it from an input/output parameter.</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; -----Original Message-----</FONT><BR> <FONT COLOR="#000000">&gt; From: pei allen [mailto:[email protected]] </FONT><BR> <FONT COLOR="#000000">&gt; Sent: Friday, September 21, 2007 8:10 AM</FONT><BR> <FONT COLOR="#000000">&gt; To: [email protected]</FONT><BR> <FONT COLOR="#000000">&gt; Subject: How to call procedure in oracle package using IBatis.Net.</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; Dear all,</FONT><BR> <FONT COLOR="#000000">&gt; when i call procedure in oracle package using IBatisNet, it always</FONT><BR> <FONT COLOR="#000000">&gt; failed.</FONT><BR> <FONT COLOR="#000000">&gt; I can call oracle procedre using IBatisNet successfully,but to</FONT><BR> <FONT COLOR="#000000">&gt; package 's procedure, it dosen't work.</FONT><BR> <FONT COLOR="#000000">&gt; The code like this:</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; Oracle's Package like below:</FONT><BR> <FONT COLOR="#000000">&gt; **************************************</FONT><BR> <FONT COLOR="#000000">&gt; CREATE OR REPLACE </FONT><BR> <FONT COLOR="#000000">&gt; PACKAGE allen_pkg</FONT><BR> <FONT COLOR="#000000">&gt; IS</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; PROCEDURE ALLEN_TEST (i_input in number,o_result out number) ;</FONT><BR> <FONT COLOR="#000000">&amp;g t; END;</FONT><BR> <FONT COLOR="#000000">&gt; /</FONT><BR> <FONT COLOR="#000000">&gt; CREATE OR REPLACE </FONT><BR> <FONT COLOR="#000000">&gt; PACKAGE BODY allen_pkg</FONT><BR> <FONT COLOR="#000000">&gt; IS</FONT><BR> <FONT COLOR="#000000">&gt; PROCEDURE ALLEN_TEST (i_input in number,o_result out number) </FONT><BR> <FONT COLOR="#000000">&gt; IS </FONT><BR> <FONT COLOR="#000000">&gt; v_seq NUMBER; </FONT><BR> <FONT COLOR="#000000">&gt; BEGIN </FONT><BR> <FONT COLOR="#000000">&gt; o_result := i_input;</FONT><BR> <FONT COLOR="#000000">&gt; return;</FONT><BR> <FONT COLOR="#000000">&gt; END ALLEN_TEST;</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; END allen_pkg;</FONT><BR> <FONT COLOR="#000000">&gt; ***************************************</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; The SqlMap like below:</FONT><BR> <FONT COLOR="#000000">&gt; *****************************************************</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; ALLEN_PKG.ALLEN_TEST</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; ******************************************************</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; The Calling function like below:</FONT><BR> <FONT COLOR="#000000">&gt; *****************************************************</FONT><BR> <FONT COLOR="#000000">&gt; public long ProcedureTest()</FONT><BR> <FONT COLOR="#000000">&gt; {</FONT><BR> <FONT COLOR="#000000">&gt; Hashtable ht = new Hashtable();</FONT><BR> <FONT COLOR="#000000">&gt; ht[&quot;input&quot;] = 1;</FONT><BR> <FONT COLOR="#000000">&gt; ht[&quot;result&quot;] = 0;</FONT><BR> <FONT COLOR="#000000">&gt; m_DaoFacade.QueryForObject(&quot;ProcedureTestPkg&quot;, ht);</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; return Convert.ToInt32( ht[&quot;result&quot;]);</FONT><BR> <FONT COLOR="#000000">&gt; }</FONT><BR> <FONT COLOR="#000000">&gt; ********************************************************</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; when run to &quot;m_DaoFacade.QueryForObject(&quot;ProcedureTestPkg&quot;, ht);&quot;, an</FONT><BR> <FONT COLOR="#000000">&gt; exception was thrown like below:</FONT><BR> <FONT COLOR="#000000">&gt; &quot;PLS-00306: wrong number or types of arguments ......&quot;</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; I use Oracle 10gR2, VS2005 C#, IBatisNet.DataMapper(161.129.204.104)</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; Thanks!</FONT><BR> <FONT COLOR="#000000">&gt; 2007.9.21</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; _________________________________________________________________</FONT><BR> <FONT COLOR="#000000">&gt; Invite your mail contacts to join your friends list with Windows Live</FONT><BR> <FONT COLOR="#000000">&gt; Spaces. It's easy!</FONT><BR> <FONT COLOR="#000000">&gt; http://spaces.live.com/spacesapi.aspx?wx_action=create&amp;wx_url=/friends.a</FONT><BR> <FONT COLOR="#000000">&gt; spx&amp;mkt=en-us </FONT><BR> <FONT COLOR="#000000">&gt; --------------------------------------------------------</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; Princeton Retirement Group, Inc - Important Terms </FONT><BR> <FONT COLOR="#000000">&gt; This E-mail is not intended for distribution to, or use by, any person or entity in any location where such distributio n or use would be contrary to law or regulation, or which would subject Princeton Retirement Group, Inc. or any affiliate to any registration requirement within such location. </FONT><BR> <FONT COLOR="#000000">&gt; This E-mail may contain privileged or confidential information or may otherwise be protected by work product immunity or other legal rules. No confidentiality or privilege is waived or lost by any mistransmission. Access, copying or re-use of information by non-intended or non-authorized recipients is prohibited. If you are not an intended recipient of this E-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute any portion of this E-mail. </FONT><BR> <FONT COLOR="#000000">&gt; The transmission and content of this E-mail cannot be guaranteed to be secure or error-free. Therefore, we cannot represent that the information in this E-mail is complete, accurate, uncorrupted, timely or free of viruses, and Princeton Retirement Group, Inc. cannot accept any liability fo r E-mails that have been altered in the course of delivery. Princeton Retirement Group, Inc. reserves the right to monitor, review and retain all electronic communications, including E-mail, traveling through its networks and systems (subject to and in accordance with local laws). If any of your details are incorrect or if you no longer wish to receive mailings such as this by E-mail please contact the sender by reply E-mail. </FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; --------------------------------------------------------</FONT><BR> <BR> <BR> <HR> <BR> <FONT COLOR="#000000">Discover the new Windows Vista <A HREF="http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE">Learn more!</A> </FONT><BR> </BLOCKQUOTE> <BR> <HR> <BR> <FONT COLOR="#000000">Explore the seven wonders of the world <A HREF="http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE">Learn more!</A></FONT> </BLOCKQUOTE> </BODY> </HTML> --=-5FbX2x2SKZBsyqtXAp6V-- From [email protected] Mon Sep 24 02:13:05 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85687 invoked from network); 24 Sep 2007 02:13:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Sep 2007 02:13:05 -0000 Received: (qmail 94579 invoked by uid 500); 24 Sep 2007 02:12:56 -0000 Delivered-To: [email protected] Received: (qmail 94330 invoked by uid 500); 24 Sep 2007 02:12:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 94319 invoked by uid 99); 24 Sep 2007 02:12:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Sep 2007 19:12:54 -0700 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS,URIBL_BLACK X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO bay0-omc1-s4.bay0.hotmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2007 02:15:00 +0000 Received: from BAY117-W20 ([161.129.204.104]) by bay0-omc1-s4.bay0.hotmail.com with Microsoft SMTPSVC5144564815); Sun, 23 Sep 2007 19:12:28 -0700 Message-ID: <[email protected]> Content-Type: multipart/alternative; boundary="_fc0c9636-730a-443a-a753-fada30068bfb_" X-Originating-IP: [161.129.204.104] From: pei allen <[email protected]> To: <[email protected]> Subject: RE: How to call procedure in oracle package using IBatis.Net. Date: Mon, 24 Sep 2007 10:12:26 +0800 Importance: Normal In-Reply-To: <1190381310.7744.8.camel@lshinlever-desktop> References: <[email protected]> <[email protected]> <[email protected]> <1190381310.7744.8.camel@lshinlever-desktop> MIME-Version: 1.0 X-OriginalArrivalTime: 24 Sep 2007 02:12:28.0075 (UTC) FILETIME=[5AFD7FB0:01C7FE50] X-Virus-Checked: Checked by ClamAV on apache.org --_fc0c9636-730a-443a-a753-fada30068bfb_ Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit Dear Lee, Could you please give me a sample? Thanks! Allen Subject: RE: How to call procedure in oracle package using IBatis.Net.From: [email protected]: [email protected]: Fri, 21 Sep 2007 09:28:30 -0400 Greetings,We use Oracle packages successfully here but we use the ODP.Net 10.1 provider from Oracle not OleDb. Could you try that? LeeOn Fri, 2007-09-21 at 20:47 +0800, pei allen wrote: Dear all,The prodedure with no package,like below (it runs ok!):********************************************************CREATE OR REPLACE PROCEDURE allen_test (i_input in number,o_result out number) IS v_seq NUMBER; BEGIN o_result := i_input; return;END allen_test;**************************************<procedure id="ProcedureTest" parameterMap="ProcedureTestMap" > ALLEN_TEST </procedure> parameterMap id="ProcedureTestMap" class="Hashtable"> <parameter property="input" column="i_input" dbType="integer" direction="Input" /> <parameter property="result" column="o_result" dbType="integer" direction="Output" /> </parameterMap>****************************************public long ProcedureTest() { Hashtable ht = new Hashtable(); ht["input"] = 1; ht["result"] = 0; m_DaoFacade.QueryForObject<Hashtable>("ProcedureTest", ht); return Convert.ToInt32(ht[" result"]); } #endregion********************************************** So please help how to call procedure in oracle package using IBatis.Net. Thanks very much!allen2007.9.21 From: [email protected]: [email protected]: RE: How to call procedure in oracle package using IBatis.Net.Date: Fri, 21 Sep 2007 20:32:17 +0800Dear all, my whole sqlmap: <?xml version="1.0" encoding="utf-8" ?><sqlMap namespace="CommonBase" xmlns="http://ibatis.apache.org/mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <statements> <procedure id="ProcedureTestPkg" parameterMap="ProcedureTestMapPkg" > ALLEN_PKG.ALLEN_TEST </procedure> </statements> <parameterMaps> <parameterMap id="ProcedureTestMapPkg" class="Hashtable"> <parameter property="input" column="i_input " dbType="integer" direction="Input" /> <parameter property="result" column="o_result" dbType="integer" direction="Output" /> </parameterMap> </parameterMaps></sqlMap>******************************************* SqlMapConfig like below database node, the othe node is like the standard config:<database> <provid er name="OleDb1.1"/> <dataSource name="darwine_test" connectionString="Provider=OraOLEDB.Oracle.1;Password=oracle;Persist Security Info=True;User ID=rddarwine;Data Source=darwine_rd"/></database> I only know "Queryforobject","Queryforlist", any other?but with this config,i can call the procedure successfully if this procedure not in package,but in oracle, i don't konw why? like below:<procedure id="Pr ocedureTest" parameterMap="ProcedureTestMap" > ALLEN_TEST </procedure> parameterMap id="ProcedureTestMap" class="Hashtable"> <parameter property="input" column="i_input" dbType="integer" direction="Input" /> <parameter property="result" column="o_result" dbType="integer" direction="Output" /> </parameterMap>Thanks!2007.9.21> Subject: RE: How to call procedure in oracle package using IBatis.Net.> Date: Fri, 21 Sep 2007 08:15:55 -0400> From: [email protected]> To: [email protected]> > I think we need to see more of your sql m ap. All I see is your> procedure name, and we need to see the xml node that the call is defined> in.> > I 'm also not sure you're using the correct call. Unless there's an> attribute I'm not aware of, Queryforobject is to read an object from a> result set, not load it from an input/output parameter.> > -----Original Message-----> From: pei allen [mailto:[email protected]] > Sent: Friday, September 21, 2007 8:10 AM> To: [email protected]> Subject: How to call procedure in oracle package using IBatis.Net.> > > Dear all,> when i call procedure in oracle package using IBatisNet, it always> failed.> I can call oracle procedre using IBatisNet successfully,but to> package 's procedure, it dosen't work.> The code like this:> > Oracle's Package like below:> **************************************> CREATE OR REPLACE > PACKAGE allen_pkg> IS> > PROCEDURE ALLEN_TEST (i_input in number,o_result out number) ;&g t; END;> /> CREATE OR REPLACE > PACKAGE BODY allen_pkg> IS> PROCE DURE ALLEN_TEST (i_input in number,o_result out number) > IS > v_seq NUMBER; > BEGIN > o_result := i_input;> return;> END ALLEN_TEST;> > END allen_pkg;> ***************************************> > The SqlMap like below:> *****************************************************> > > ALLEN_PKG.ALLEN_TEST> > > > > > > > > ******************************************************> > The Calling function like below:> *****************************************************> public long ProcedureTest()> {> Hashtable ht = new Hashtable();> ht["input"] = 1;> ht["result"] = 0;> m_DaoFacade.QueryForObject("ProcedureTestPkg", ht);> > return Convert.ToInt32( ht["result"]);> }> ********************************************************> > when run to "m_DaoFacade.QueryForObject("ProcedureTestPkg", ht);", an> exception was thrown like below:> "PLS-00306: wrong number or types of arguments ......"> > I use Oracle 10gR2, VS2005 C#, IBatisNet.DataMapper(161.129.204.104)> > Thanks!> 2007.9.21> > > > > __________ _______________________________________________________> Invite your mail contacts to join your friends list with Windows Live> Spaces. It's easy!> http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.a> spx&mkt=en-us > --------------------------------------------------------> > Princeton Retirement Group, Inc - Important Terms > This E-mail is not intended for distribution to, or use by, any person or entity in any location where such distributio n or use would be contrary to law or regulation, or which would subject Princeton Retirement Group, Inc. or any affiliate to any registration requirement within such location. > This E-mail may contain privileged or confidential information or may otherwise be protected by work product immunity or other legal rules. No confidentiality or privilege is waived or lost by any mistransmission. Access, copying or re-use of information by non-intended or non-authorized recipients is prohibited. If you are not an intended recipient of this E-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute any portion of this E-mail. > The transmission and content of this E-mail cannot be guaranteed to be secure or error-free. Therefore, we cannot represent that the information in this E-mail is complete, accurate, uncorrupted, timely or free of viruses, and Princeton Retirement Group, Inc. cannot accept any liability fo r E-mails that have been altered in the course of delivery. Princeton Retirement Group, Inc. reserves the right to monitor, review and retain all electronic communications, including E-mail, traveling through its networks and systems (subject to and in accordance with local laws). If any of your details are incorrect or if you no longer wish to receive mailings such as this by E-mail please contact the sender by reply E-mail. > > -------------------------------------------------------- Discover the new Windows Vista Learn more! Explore the seven wonders of the world Learn more! _________________________________________________________________ News, entertainment and everything you care [email protected]. Get it now! http://www.live.com/getstarted.aspx --_fc0c9636-730a-443a-a753-fada30068bfb_ Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: 8bit <html> <head> <style> .hmmessage P { margin:0px; padding:0px } body.hmmessage { FONT-SIZE: 10pt; FONT-FAMILY:Tahoma } </style> </head> <body class='hmmessage'> <BR>Dear Lee,<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Could you please&nbsp;give me a sample?<BR> &nbsp;&nbsp;&nbsp;&nbsp; Thanks!<BR> Allen<BR><BR> <BLOCKQUOTE> <HR> Subject: RE: How to call procedure in oracle package using IBatis.Net.<BR>From: [email protected]<BR>To: [email protected]<BR>Date: Fri, 21 Sep 2007 09:28:30 -0400<BR><BR> <META content="Microsoft SafeHTML" name=Generator>Greetings,<BR><BR>We use Oracle packages successfully here but we use the ODP.Net 10.1 provider from Oracle not OleDb. Could you try that?<BR>&nbsp; <BR>Lee<BR><BR>On Fri, 2007-09-21 at 20:47 +0800, pei allen wrote:<BR> <BLOCKQUOTE><BR><FONT color=#000000>Dear all,</FONT><BR><FONT color=#000000>The prodedure with no package,like below (it runs ok!):</FONT><BR><FONT color=#000000>********************************************************</FONT><BR><FONT color=#000000>CREATE OR REPLACE </FONT><BR><FONT color=#000000>PROCEDURE allen_test (i_input in number,o_result out number) </FONT><BR><FONT color=#000000>IS&nbsp;&nbsp; </FONT><BR><FONT color=#000000>v_seq&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NUMBER;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT><BR><FONT color=#000000>BEGIN&nbsp;&nbsp;&nbsp; </FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp; o_result := i_input;</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp; return;</FONT><BR><FONT color=#000000>END allen_test;</FONT><BR><FONT color=#000000>**************************************</FONT><BR><FONT color=#000000>&lt;procedure id="Pr ocedureTest" parameterMap="ProcedureTestMap" &gt;</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ALLEN_TEST</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/procedure&gt;</FONT><BR><FONT color=#000000>&nbsp;</FONT><BR><FONT color=#000000>parameterMap id="ProcedureTestMap" class="Hashtable"&gt;</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property="input" column="i_input" dbType="integer" direction="Input" /&gt;</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property="result" column="o_result" dbType="integer" direction="Output" /&gt;</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameterMap&gt;</FONT><BR><FONT color=#000000>****************************************</FONT><BR><FONT color=#000000>public long ProcedureTest()</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</FONT><BR><FONT color=#000000>&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hashtable ht = new Hashtable();</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ht["input"] = 1;</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ht["result"] = 0;</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_DaoFacade.QueryForObject&lt;Hashtable&gt;("ProcedureTest", ht);</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return Convert.ToInt32(ht["result"]);</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #endregion</FONT><BR><FONT color=#000000>**********************************************</FONT><BR><FONT color=#000000>&nbsp;</FONT><BR><FONT color=#ff0000>So please help how to call procedure in oracle package using IBatis .Net.</FONT><BR><FONT color=#000000>&nbsp;</FONT><BR><FONT color=#000000>Thanks very much!</FONT><BR><FONT color=#000000>allen</FONT><BR><FONT color=#000000>2007.9.21</FONT><BR><BR><BR> <BLOCKQUOTE> <HR> <BR><FONT color=#000000>From: [email protected]</FONT><BR><FONT color=#000000>To: [email protected]</FONT><BR><FONT color=#000000>Subject: RE: How to call procedure in oracle package using IBatis.Net.</FONT><BR><FONT color=#000000>Date: Fri, 21 Sep 2007 20:32:17 +0800</FONT><BR><BR><FONT color=#000000>Dear all,</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my whole sqlmap:</FONT><BR><FONT color=#000000>&nbsp;&nbsp; &lt;?xml version="1.0" encoding="utf-8" ?&gt;</FONT><BR><FONT color=#000000>&lt;sqlMap namespace="CommonBase" xmlns="<A href="http://ibatis.apache.org/mapping" target=_blank>http://ibatis.apache.org/mapping</A>" xmlns:xsi="<A href="http://www.w3.org/2001/XMLSchema-instance" target=_blank>http://www.w3.org/2001/XMLSchema-instance</A>"&gt;</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp; &lt;statements&gt;</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;procedure id="ProcedureTestPkg" parameterMap="ProcedureTestMap Pkg" &gt;</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ALLEN_PKG.ALLEN_TEST</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/procedure&gt;</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp; &lt;/statements&gt;</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp; &lt;parameterMaps&gt;</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterMap id="ProcedureTestMapPkg" class="Hashtable"&gt;</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property="input" column="i_input " dbType="integer" direction="Input" /&gt;</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property="result" column="o_result" dbType="integer" direction="Output" /&gt;</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameterMap&gt;</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp; &lt;/p arameterMaps&gt;</FONT><BR><FONT color=#000000>&lt;/sqlMap&gt;</FONT><BR><BR><FONT color=#000000>*******************************************</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp; SqlMapConfig like below database node, the othe node is like the standard config:</FONT><BR><FONT color=#000000>&lt;database&gt;</FONT><BR><FONT color=#000000>&nbsp;&lt;provider name="OleDb1.1"/&gt;</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp; &lt;dataSource name="darwine_test" connectionString="Provider=OraOLEDB.Oracle.1;Password=oracle;Persist Security Info=True;User ID=rddarwine;Data Source=darwine_rd"/&gt;</FONT><BR><FONT color=#000000>&lt;/database&gt;</FONT><BR><FONT color=#000000>&nbsp;</FONT><BR><FONT color=#000000>I&nbsp;only know "Queryforobject","Queryforlist",&nbsp; any other?</FONT><BR><BR><FONT color=#000000>but with this config,i can call the procedure successfully&nbsp;if this procedure not in package,but in oracle, i don't&nbsp;konw why? like below:</FONT><BR><FONT co lor=#000000>&lt;procedure id="Pr ocedureTest" parameterMap="ProcedureTestMap" &gt;</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ALLEN_TEST</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/procedure&gt;</FONT><BR><FONT color=#000000>&nbsp;</FONT><BR><FONT color=#000000>parameterMap id="ProcedureTestMap" class="Hashtable"&gt;</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property="input" column="i_input" dbType="integer" direction="Input" /&gt;</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property="result" column="o_result" dbType="integer" direction="Output" /&gt;</FONT><BR><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameterMap&gt;</FONT><BR><BR><FONT color=#000000>Thanks!</FONT><BR><FONT color=#000000>2007.9.21</FONT><BR><BR><FONT color=#000000>&gt; Subject: RE: How to call procedure in oracle package using IBatis.Net.</FONT><BR><FONT color=#000000>&gt; Date: Fri, 21 Sep 2007 08:15:55 -0400</FONT><BR><FONT color=#000000>&gt; From: [email protected]</FONT><BR><FONT color=#000000>&gt; To: [email protected]</FONT><BR><FONT color=#000000>&gt; </FONT><BR><FONT color=#000000>&gt; I think we need to see more of your sql map. All I see is your</FONT><BR><FONT color=#000000>&gt; procedure name, and we need to see the xml node that the call is defined</FONT><BR><FONT color=#000000>&gt; in.</FONT><BR><FONT color=#000000>&gt; </FONT><BR><FONT color=#000000>&gt; I 'm also not sure you're using the correct call. Unless there's an</FONT><BR><FONT color=#000000>&gt; attribute I'm not aware of, Queryforobject is to read an object from a</FONT><BR><FONT color=#000000>&gt; result set, not load it from an input/output parameter.</FONT><BR><FONT color=#000000>&gt; </FONT><BR><FONT color=#000000>&gt; -----Original Message-----</FONT><BR><FONT color=#000000>&gt; From: pei allen [mailto:[email protected] om] </FONT><BR><FONT color=#000000>&gt; Sent: Friday, September 21, 2007 8:10 AM</FONT><BR><FONT color=#000000>&gt; To: [email protected]</FONT><BR><FONT color=#000000>&gt; Subject: How to call procedure in oracle package using IBatis.Net.</FONT><BR><FONT color=#000000>&gt; </FONT><BR><FONT color=#000000>&gt; </FONT><BR><FONT color=#000000>&gt; Dear all,</FONT><BR><FONT color=#000000>&gt; when i call procedure in oracle package using IBatisNet, it always</FONT><BR><FONT color=#000000>&gt; failed.</FONT><BR><FONT color=#000000>&gt; I can call oracle procedre using IBatisNet successfully,but to</FONT><BR><FONT color=#000000>&gt; package 's procedure, it dosen't work.</FONT><BR><FONT color=#000000>&gt; The code like this:</FONT><BR><FONT color=#000000>&gt; </FONT><BR><FONT color=#000000>&gt; Oracle's Package like below:</FONT><BR><FONT color=#000000>&gt; **************************************</FONT><BR><FONT color=#000000>&gt; CREATE OR REPLACE </FONT><BR><FONT color=#0 00000>&gt; PACKAGE allen_pkg</FONT><BR><FONT color=#000000>&gt; IS</FONT><BR><FONT color=#000000>&gt; </FONT><BR><FONT color=#000000>&gt; PROCEDURE ALLEN_TEST (i_input in number,o_result out number) ;</FONT><BR><FONT color=#000000>&amp;g t; END;</FONT><BR><FONT color=#000000>&gt; /</FONT><BR><FONT color=#000000>&gt; CREATE OR REPLACE </FONT><BR><FONT color=#000000>&gt; PACKAGE BODY allen_pkg</FONT><BR><FONT color=#000000>&gt; IS</FONT><BR><FONT color=#000000>&gt; PROCEDURE ALLEN_TEST (i_input in number,o_result out number) </FONT><BR><FONT color=#000000>&gt; IS </FONT><BR><FONT color=#000000>&gt; v_seq NUMBER; </FONT><BR><FONT color=#000000>&gt; BEGIN </FONT><BR><FONT color=#000000>&gt; o_result := i_input;</FONT><BR><FONT color=#000000>&gt; return;</FONT><BR><FONT color=#000000>&gt; END ALLEN_TEST;</FONT><BR><FONT color=#000000>&gt; </FONT><BR><FONT color=#000000>&gt; END allen_pkg;</FONT><BR><FONT color=#000000>&gt; ***************************************</FONT><BR><FONT c olor=#000000>&gt; </FONT><BR><FONT color=#000000>&gt; The SqlMap like below:</FONT><BR><FONT color=#000000>&gt; *****************************************************</FONT><BR><FONT color=#000000>&gt; </FONT><BR><FONT color=#000000>&gt; </FONT><BR><FONT color=#000000>&gt; ALLEN_PKG.ALLEN_TEST</FONT><BR><FONT color=#000000>&gt; </FONT><BR><FONT color=#000000>&gt; </FONT><BR><FONT color=#000000>&gt; </FONT><BR><FONT color=#000000>&gt; </FONT><BR><FONT color=#000000>&gt; </FONT><BR><FONT color=#000000>&gt; </FONT><BR><FONT color=#000000>&gt; </FONT><BR><FONT color=#000000>&gt; </FONT><BR><FONT color=#000000>&gt; ******************************************************</FONT><BR><FONT color=#000000>&gt; </FONT><BR><FONT color=#000000>&gt; The Calling function like below:</FONT><BR><FONT color=#000000>&gt; *****************************************************</FONT><BR><FONT color=#000000>&gt; public long ProcedureTest()</FONT><BR><FONT color=#000000>&gt; {</FONT><BR><FONT color=#0 00000>&gt; Hashtable ht = new Hashtable();</FONT><BR><FONT color=#000000>&gt; ht["input"] = 1;</FONT><BR><FONT color=#000000>&gt; ht["result"] = 0;</FONT><BR><FONT color=#000000>&gt; m_DaoFacade.QueryForObject("ProcedureTestPkg", ht);</FONT><BR><FONT color=#000000>&gt; </FONT><BR><FONT color=#000000>&gt; return Convert.ToInt32( ht["result"]);</FONT><BR><FONT color=#000000>&gt; }</FONT><BR><FONT color=#000000>&gt; ********************************************************</FONT><BR><FONT color=#000000>&gt; </FONT><BR><FONT color=#000000>&gt; when run to "m_DaoFacade.QueryForObject("ProcedureTestPkg", ht);", an</FONT><BR><FONT color=#000000>&gt; exception was thrown like below:</FONT><BR><FONT color=#000000>&gt; "PLS-00306: wrong number or types of arguments ......"</FONT><BR><FONT color=#000000>&gt; </FONT><BR><FONT color=#000000>&gt; I use Oracle 10gR2, VS2005 C#, IBatisNet.DataMapper(161.129.204.104)</FONT><BR><FONT color=#000000>&gt; </FONT><BR><FONT color=#000000>&gt; Thanks!</FONT ><BR><FONT color=#000000>&gt; 2007.9.21</FONT><BR><FONT color=#000000>&gt; </FONT><BR><FONT color=#000000>&gt; </FONT><BR><FONT color=#000000>&gt; </FONT><BR><FONT color=#000000>&gt; </FONT><BR><FONT color=#000000>&gt; _________________________________________________________________</FONT><BR><FONT color=#000000>&gt; Invite your mail contacts to join your friends list with Windows Live</FONT><BR><FONT color=#000000>&gt; Spaces. It's easy!</FONT><BR><FONT color=#000000>&gt; http://spaces.live.com/spacesapi.aspx?wx_action=create&amp;wx_url=/friends.a</FONT><BR><FONT color=#000000>&gt; spx&amp;mkt=en-us </FONT><BR><FONT color=#000000>&gt; --------------------------------------------------------</FONT><BR><FONT color=#000000>&gt; </FONT><BR><FONT color=#000000>&gt; Princeton Retirement Group, Inc - Important Terms </FONT><BR><FONT color=#000000>&gt; This E-mail is not intended for distribution to, or use by, any person or entity in any location where such distributio n or use w ould be contrary to law or regulation, or which would subject Princeton Retirement Group, Inc. or any affiliate to any registration requirement within such location. </FONT><BR><FONT color=#000000>&gt; This E-mail may contain privileged or confidential information or may otherwise be protected by work product immunity or other legal rules. No confidentiality or privilege is waived or lost by any mistransmission. Access, copying or re-use of information by non-intended or non-authorized recipients is prohibited. If you are not an intended recipient of this E-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute any portion of this E-mail. </FONT><BR><FONT color=#000000>&gt; The transmission and content of this E-mail cannot be guaranteed to be secure or error-free. Therefore, we cannot represent that the information in this E-mail is complete, accurate, uncorrupted, timely or free of viruses, and Princeton Retiremen t Group, Inc. cannot accept any liability fo r E-mails that have been altered in the course of delivery. Princeton Retirement Group, Inc. reserves the right to monitor, review and retain all electronic communications, including E-mail, traveling through its networks and systems (subject to and in accordance with local laws). If any of your details are incorrect or if you no longer wish to receive mailings such as this by E-mail please contact the sender by reply E-mail. </FONT><BR><FONT color=#000000>&gt; </FONT><BR><FONT color=#000000>&gt; --------------------------------------------------------</FONT><BR><BR><BR> <HR> <BR><FONT color=#000000>Discover the new Windows Vista <A href="http://search.msn.com/results.aspx?q=windows+vista&amp;mkt=en-US&amp;form=QBRE" target=_blank>Learn more!</A> </FONT><BR></BLOCKQUOTE><BR> <HR> <BR><FONT color=#000000>Explore the seven wonders of the world <A href="http://search.msn.com/results.aspx?q=7+wonders+world&amp;mkt=en-US&amp;form=QBRE" target=_blank>Learn more!</A></FONT> </BLOCKQUOTE></BLOCKQUOTE><br /><hr />Get news, entertainment and everything you care [email protected]. <a href='http://www.live.com/getstarted.aspx ' target='_new'>Check it out!</a></body> </html> --_fc0c9636-730a-443a-a753-fada30068bfb_-- From [email protected] Mon Sep 24 13:44:19 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57750 invoked from network); 24 Sep 2007 13:44:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Sep 2007 13:44:19 -0000 Received: (qmail 81571 invoked by uid 500); 24 Sep 2007 13:44:08 -0000 Delivered-To: [email protected] Received: (qmail 81549 invoked by uid 500); 24 Sep 2007 13:44:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81538 invoked by uid 99); 24 Sep 2007 13:44:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2007 06:44:08 -0700 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS,URIBL_BLACK X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.lexesinc.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 24 Sep 2007 13:44:09 +0000 Received: from 161.129.204.104 ([161.129.204.104]) by LEXES01.lexesinc.local ([161.129.204.104]) with Microsoft Exchange Server HTTP-DAV ; Mon, 24 Sep 2007 13:43:44 +0000 Received: from lshinlever-desktop by 161.129.204.104; 24 Sep 2007 09:38:13 -0400 Subject: RE: How to call procedure in oracle package using IBatis.Net. From: Lee Shinlever <[email protected]> To: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <1190381310.7744.8.camel@lshinlever-desktop> <[email protected]> Content-Type: multipart/alternative; boundary="=-zk8NMSVp4svUKA3/dBpL" Date: Mon, 24 Sep 2007 09:38:13 -0400 Message-Id: <1190641093.9946.30.camel@lshinlever-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 X-Virus-Checked: Checked by ClamAV on apache.org --=-zk8NMSVp4svUKA3/dBpL Content-Type: text/plain Content-Transfer-Encoding: 7bit Sure, First download and install the provider from: http://www.oracle.com/technology/tech/windows/odpnet/index.html . I just checked and we switched to the 10.2 version and it works fine. Also the application is pulling data from a SQL Server database and the Oracle database at the same time and works great. Make sure you have this entry in your provider.config. Make sure the enabled and default values are set appropriately.: <provider name="oracle10.1" description="Oracle, oracle provider V161.129.204.1041" enabled="true" default="true" assemblyName="Oracle.DataAccess, Version=161.129.204.1041, Culture=neutral,PublicKeyToken=89b483f429c47342" connectionClass="Oracle.DataAccess.Client.OracleConnection" commandClass="Oracle.DataAccess.Client.OracleCommand" parameterClass="Oracle.DataAccess.Client.OracleParameter" parameterDbTypeClass="Oracle.DataAccess.Client.OracleDbType" parameterDbTypeProperty="OracleDbType" dataAdapterClass="Oracle.DataAccess.Client.OracleDataAdapter" commandBuilderClass="Oracle.DataAccess.Client.OracleCommandBuilder" usePositionalParameters="true" useParameterPrefixInSql="true" useParameterPrefixInParameter="true" parameterPrefix=":" useDeriveParameters="false"/> In your SqlMap.config make sure you have this entry: <database> <provider name="oracle10.1"/> <dataSource name="YourDataSourceName" connectionString= "Data Source=Service name from your tnsnames.ora file; User ID=UserId for the schema owner of the packages; Password=The password;"/> </database> Here I'll just put my entries for my database so you can see how we use it. My statements: <statements> <!-- Get more than one basic tool--> <procedure id="sp_get_basic_tools" parameterMap="BasicToolsRefCursor" resultMap="BasicTool"> PKG_TESTING.sp_get_basic_tools </procedure> <!-- Get just a single basic tool--> <procedure id="sp_get_basic_tool" parameterMap="GetABasicTool" resultMap="BasicTool"> PKG_TESTING.sp_get_basic_tool </procedure> </statements> My parameter maps: <parameterMaps> <parameterMap id="BasicToolsRefCursor"> <parameter property="bt_rc_list" direction="Output" column="bt_rc_list" dbType="RefCursor"/> </parameterMap> <parameterMap id="GetABasicTool"> <parameter property="PI_BT_BT_KEY"/> <parameter property="PO_CUR_OUT" direction="Output" column="PO_CUR_OUT" dbType="RefCursor"/> </parameterMap> </parameterMaps> Things to watch out for: 1) Using a log on that doesn't own or have access to the packages 2) Parameters that are interpreted as strings in .Net seem to always need to have their dbType and size set Let me know if you need any more information. Hope this helps, Lee On Mon, 2007-09-24 at 10:12 +0800, pei allen wrote: > > Dear Lee, > Could you please give me a sample? > Thanks! > Allen > > > > ______________________________________________________________ > Subject: RE: How to call procedure in oracle package using > IBatis.Net. > From: [email protected] > To: [email protected] > Date: Fri, 21 Sep 2007 09:28:30 -0400 > > Greetings, > > We use Oracle packages successfully here but we use the > ODP.Net 10.1 provider from Oracle not OleDb. Could you try > that? > > Lee > > On Fri, 2007-09-21 at 20:47 +0800, pei allen wrote: > > > Dear all, > The prodedure with no package,like below (it runs > ok!): > ******************************************************** > CREATE OR REPLACE > PROCEDURE allen_test (i_input in number,o_result out > number) > IS > v_seq NUMBER; > BEGIN > o_result := i_input; > return; > END allen_test; > ************************************** > <procedure id="Pr ocedureTest" > parameterMap="ProcedureTestMap" > > ALLEN_TEST > </procedure> > > parameterMap id="ProcedureTestMap" class="Hashtable"> > <parameter property="input" column="i_input" > dbType="integer" direction="Input" /> > <parameter property="result" column="o_result" > dbType="integer" direction="Output" /> > </parameterMap> > **************************************** > public long ProcedureTest() > { > & nbsp; Hashtable ht = new Hashtable(); > ht["input"] = 1; > ht["result"] = 0; > > m_DaoFacade.QueryForObject<Hashtable>("ProcedureTest", > ht); > return Convert.ToInt32(ht["result"]); > } > #endregion > ********************************************** > > So please help how to call procedure in oracle package > using IBatis .Net. > > Thanks very much! > allen > 2007.9.21 > > > > > ______________________________________________ > > From: [email protected] > To: [email protected] > Subject: RE: How to call procedure in oracle > package using IBatis.Net. > Date: Fri, 21 Sep 2007 20:32:17 +0800 > > Dear all, > my whole sqlmap: > <?xml version="1.0" encoding="utf-8" ?> > <sqlMap namespace="CommonBase" > xmlns="http://ibatis.apache.org/mapping" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > <statements> > <procedure id="ProcedureTestPkg" > parameterMap="ProcedureTestMap Pkg" > > ALLEN_PKG.ALLEN_TEST > </procedure> > > </statements> > <parameterMaps> > <parameterMap id="ProcedureTestMapPkg" > class="Hashtable"> > <parameter property="input" > column="i_input " dbType="integer" > direction="Input" /> > <parameter property="result" > column="o_result" dbType="integer" > direction="Output" /> > </parameterMap> > </p arameterMaps> > </sqlMap> > > ******************************************* > SqlMapConfig like below database node, the > othe node is like the standard config: > <database> > <provider name="OleDb1.1"/> > <dataSource name="darwine_test" > connectionString="Provider=OraOLEDB.Oracle.1;Password=oracle;Persist Security Info=True;User ID=rddarwine;Data Source=darwine_rd"/> > </database> > > I only know "Queryforobject","Queryforlist", > any other? > > but with this config,i can call the procedure > successfully if this procedure not in > package,but in oracle, i don't konw why? like > below: > <procedure id="Pr ocedureTest" > parameterMap="ProcedureTestMap" > > ALLEN_TEST > </procedure> > > parameterMap id="ProcedureTestMap" > class="Hashtable"> > <parameter property="input" > column="i_input" dbType="integer" > direction="Input" /> > <parameter property="result" > column="o_result" dbType="integer" > direction="Output" /> > </parameterMap> > > Thanks! > 2007.9.21 > > > Subject: RE: How to call procedure in oracle > package using IBatis.Net. > > Date: Fri, 21 Sep 2007 08:15:55 -0400 > > From: [email protected] > > To: [email protected] > > > > I think we need to see more of your sql map. > All I see is your > > procedure name, and we need to see the xml > node that the call is defined > > in. > > > > I 'm also not sure you're using the correct > call. Unless there's an > > attribute I'm not aware of, Queryforobject > is to read an object from a > > result set, not load it from an input/output > parameter. > > > > -----Original Message----- > > From: pei allen > [mailto:[email protected] om] > > Sent: Friday, September 21, 2007 8:10 AM > > To: [email protected] > > Subject: How to call procedure in oracle > package using IBatis.Net. > > > > > > Dear all, > > when i call procedure in oracle package > using IBatisNet, it always > > failed. > > I can call oracle procedre using IBatisNet > successfully,but to > > package 's procedure, it dosen't work. > > The code like this: > > > > Oracle's Package like below: > > ************************************** > > CREATE OR REPLACE > > PACKAGE allen_pkg > > IS > > > > PROCEDURE ALLEN_TEST (i_input in > number,o_result out number) ; > &g t; END; > > / > > CREATE OR REPLACE > > PACKAGE BODY allen_pkg > > IS > > PROCEDURE ALLEN_TEST (i_input in > number,o_result out number) > > IS > > v_seq NUMBER; > > BEGIN > > o_result := i_input; > > return; > > END ALLEN_TEST; > > > > END allen_pkg; > > *************************************** > > > > The SqlMap like below: > > > ***************************************************** > > > > > > ALLEN_PKG.ALLEN_TEST > > > > > > > > > > > > > > > > > > > ****************************************************** > > > > The Calling function like below: > > > ***************************************************** > > public long ProcedureTest() > > { > > Hashtable ht = new Hashtable(); > > ht["input"] = 1; > > ht["result"] = 0; > > > m_DaoFacade.QueryForObject("ProcedureTestPkg", > ht); > > > > return Convert.ToInt32( ht["result"]); > > } > > > ******************************************************** > > > > when run to > "m_DaoFacade.QueryForObject("ProcedureTestPkg", ht);", an > > exception was thrown like below: > > "PLS-00306: wrong number or types of > arguments ......" > > > > I use Oracle 10gR2, VS2005 C#, > IBatisNet.DataMapper(161.129.204.104) > > > > Thanks! > > 2007.9.21 > > > > > > > > > > > _________________________________________________________________ > > Invite your mail contacts to join your > friends list with Windows Live > > Spaces. It's easy! > > > http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.a > > spx&mkt=en-us > > > -------------------------------------------------------- > > > > Princeton Retirement Group, Inc - Important > Terms > > This E-mail is not intended for distribution > to, or use by, any person or entity in any > location where such distributio n or use w > ould be contrary to law or regulation, or > which would subject Princeton Retirement > Group, Inc. or any affiliate to any > registration requirement within such > location. > > This E-mail may contain privileged or > confidential information or may otherwise be > protected by work product immunity or other > legal rules. No confidentiality or privilege > is waived or lost by any mistransmission. > Access, copying or re-use of information by > non-intended or non-authorized recipients is > prohibited. If you are not an intended > recipient of this E-mail, please notify the > sender, delete it and do not read, act upon, > print, disclose, copy, retain or redistribute > any portion of this E-mail. > > The transmission and content of this E-mail > cannot be guaranteed to be secure or > error-free. Therefore, we cannot represent > that the information in this E-mail is > complete, accurate, uncorrupted, timely or > free of viruses, and Princeton Retiremen t > Group, Inc. cannot accept any liability fo r > E-mails that have been altered in the course > of delivery. Princeton Retirement Group, Inc. > reserves the right to monitor, review and > retain all electronic communications, > including E-mail, traveling through its > networks and systems (subject to and in > accordance with local laws). If any of your > details are incorrect or if you no longer wish > to receive mailings such as this by E-mail > please contact the sender by reply E-mail. > > > > > -------------------------------------------------------- > > > > ______________________________________________ > > Discover the new Windows Vista Learn more! > > > > ______________________________________________________ > > Explore the seven wonders of the world Learn more! > > > > ______________________________________________________________________ > Get news, entertainment and everything you care [email protected]. > Check it out! --=-zk8NMSVp4svUKA3/dBpL Content-Type: text/html; charset=utf-8 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"> <META NAME="GENERATOR" CONTENT="GtkHTML/3.14.1"> </HEAD> <BODY> Sure,<BR> <BR> First download and install the provider from: <A HREF="http://www.oracle.com/technology/tech/windows/odpnet/index.html">http://www.oracle.com/technology/tech/windows/odpnet/index.html</A> . I just checked and we switched to the 10.2 version and it works fine. Also the application is pulling data from a SQL Server database and the Oracle database at the same time and works great.<BR> <BR> Make sure you have this entry in your provider.config. Make sure the enabled and default values are set appropriately.:<BR> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;provider <BR> name=&quot;oracle10.1&quot; <BR> description=&quot;Oracle, oracle provider V161.129.204.1041&quot;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <B>enabled=&quot;true&quot;</B><BR> <B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default=&quot;true&quot; </B><BR> assemblyName=&quot;Oracle.DataAccess, Version=161.129.204.1041, Culture=neutral,PublicKeyToken=89b483f429c47342&quot; <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; connectionClass=&quot;Oracle.DataAccess.Client.OracleConnection&quot; <BR> commandClass=&quot;Oracle.DataAccess.Client.OracleCommand&quot; <BR> parameterClass=&quot;Oracle.DataAccess.Client.OracleParameter&quot; <BR> parameterDbTypeClass=&quot;Oracle.DataAccess.Client.OracleDbType&quot; <BR> parameterDbTypeProperty=&quot;OracleDbType&quot; <BR> dataAdapterClass=&quot;Oracle.DataAccess.Client.OracleDataAdapter&quot; <BR> commandBuilderClass=&quot;Oracle.DataAccess.Client.OracleCommandBuilder&quot; <BR> usePositionalParameters=&quot;true&quot; <BR> useParameterPrefixInSql=&quot;true&quot;<BR> useParameterPrefixInParameter=&quot;true&quot; <BR> parameterPrefix=&quot;:&quot; <BR> useDeriveParameters=&quot;false&quot;/&gt;<BR> <BR> In your SqlMap.config make sure you have this entry:<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;database&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;provider name=&quot;oracle10.1&quot;/&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dataSource name=&quot;YourDataSourceName&quot; <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; connectionString=<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;Data Source=Service name from your tnsnames.ora file;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; User ID=UserId for the schema owner of the packages;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Password=The password;&quot;/&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/database&gt;<BR> <BR> Here I'll just put my entries for my database so you can see how we use it.<BR> My statements:<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;statements&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- Get more than one basic tool--&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;procedure id=&quot;sp_get_basic_tools&quot; <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; parameterMap=&quot;BasicToolsRefCursor&quot; <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; resultMap=&quot;BasicTool&quot;&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PKG_TESTING.sp_get_basic_tools<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/procedure&gt;<BR> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- Get just a single basic tool--&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;procedure id=&quot;sp_get_basic_tool&quot;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; parameterMap=&quot;GetABasicTool&quot;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; resultMap=&quot;BasicTool&quot;&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PKG_TESTING.sp_get_basic_tool<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/procedure&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/statements&gt;<BR> <BR> My parameter maps:<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterMaps&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterMap id=&quot;BasicToolsRefCursor&quot;&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property=&quot;bt_rc_list&quot; direction=&quot;Output&quot; column=&quot;bt_rc_list&quot; dbType=&quot;RefCursor&quot;/&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameterMap&gt;<BR> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterMap id=&quot;GetABasicTool&quot;&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property=&quot;PI_BT_BT_KEY&quot;/&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property=&quot;PO_CUR_OUT&quot; direction=&quot;Output&quot; column=&quot;PO_CUR_OUT&quot; dbType=&quot;RefCursor&quot;/&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameterMap&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameterMaps&gt;<BR> <BR> Things to watch out for:<BR> &nbsp;&nbsp;&nbsp; 1) Using a log on that doesn't own or have access to the packages<BR> &nbsp;&nbsp;&nbsp; 2) Parameters that are interpreted as strings in .Net seem to always need to have their dbType and size set<BR> <BR> Let me know if you need any more information.<BR> <BR> Hope this helps,<BR> Lee<BR> <BR> <BR> On Mon, 2007-09-24 at 10:12 +0800, pei allen wrote:<BR> <BLOCKQUOTE TYPE=CITE> <BR> <FONT COLOR="#000000">Dear Lee,</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Could you please&nbsp;give me a sample?</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp; Thanks!</FONT><BR> <FONT COLOR="#000000">Allen</FONT><BR> <BR> <BLOCKQUOTE> <HR> <BR> <FONT COLOR="#000000">Subject: RE: How to call procedure in oracle package using IBatis.Net.</FONT><BR> <FONT COLOR="#000000">From: [email protected]</FONT><BR> <FONT COLOR="#000000">To: [email protected]</FONT><BR> <FONT COLOR="#000000">Date: Fri, 21 Sep 2007 09:28:30 -0400</FONT><BR> <BR> <FONT COLOR="#000000">Greetings,</FONT><BR> <BR> <FONT COLOR="#000000">We use Oracle packages successfully here but we use the ODP.Net 10.1 provider from Oracle not OleDb. Could you try that?</FONT><BR> <FONT COLOR="#000000">&nbsp; </FONT><BR> <FONT COLOR="#000000">Lee</FONT><BR> <BR> <FONT COLOR="#000000">On Fri, 2007-09-21 at 20:47 +0800, pei allen wrote:</FONT><BR> <BLOCKQUOTE> <BR> <FONT COLOR="#000000">Dear all,</FONT><BR> <FONT COLOR="#000000">The prodedure with no package,like below (it runs ok!):</FONT><BR> <FONT COLOR="#000000">********************************************************</FONT><BR> <FONT COLOR="#000000">CREATE OR REPLACE </FONT><BR> <FONT COLOR="#000000">PROCEDURE allen_test (i_input in number,o_result out number) </FONT><BR> <FONT COLOR="#000000">IS&nbsp;&nbsp; </FONT><BR> <FONT COLOR="#000000">v_seq&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NUMBER;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT><BR> <FONT COLOR="#000000">BEGIN&nbsp;&nbsp;&nbsp; </FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; o_result := i_input;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; return;</FONT><BR> <FONT COLOR="#000000">END allen_test;</FONT><BR> <FONT COLOR="#000000">**************************************</FONT><BR> <FONT COLOR="#000000">&lt;procedure id=&quot;Pr ocedureTest&quot; parameterMap=&quot;ProcedureTestMap&quot; &gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ALLEN_TEST</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/procedure&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;</FONT><BR> <FONT COLOR="#000000">parameterMap id=&quot;ProcedureTestMap&quot; class=&quot;Hashtable&quot;&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property=&quot;input&quot; column=&quot;i_input&quot; dbType=&quot;integer&quot; direction=&quot;Input&quot; /&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property=&quot;result&quot; column=&quot;o_result&quot; dbType=&quot;integer&quot; direction=&quot;Output&quot; /&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameterMap&gt;</FONT><BR> <FONT COLOR="#000000">****************************************</FONT><BR> <FONT COLOR="#000000">public long ProcedureTest()</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</FONT><BR> <FONT COLOR="#000000">&nbsp;&amp; nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hashtable ht = new Hashtable();</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ht[&quot;input&quot;] = 1;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ht[&quot;result&quot;] = 0;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_DaoFacade.QueryForObject&lt;Hashtable&gt;(&quot;ProcedureTest&quot;, ht);</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return Convert.ToInt32(ht[&quot;result&quot;]);</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #endregion</FONT><BR> <FONT COLOR="#000000">**********************************************</FONT><BR> <FONT COLOR="#000000">&nbsp;</FONT><BR> <FONT COLOR="#ff0000">So please help how to call procedure in oracle package using IBatis .Net.</FONT><BR> <FONT COLOR="#000000">&nbsp;</FONT><BR> <FONT COLOR="#000000">Thanks very much!</FONT><BR> <FONT COLOR="#000000">allen</FONT><BR> <FONT COLOR="#000000">2007.9.21</FONT><BR> <BR> <BR> <BLOCKQUOTE> <HR> <BR> <BR> <FONT COLOR="#000000">From: [email protected]</FONT><BR> <FONT COLOR="#000000">To: [email protected]</FONT><BR> <FONT COLOR="#000000">Subject: RE: How to call procedure in oracle package using IBatis.Net.</FONT><BR> <FONT COLOR="#000000">Date: Fri, 21 Sep 2007 20:32:17 +0800</FONT><BR> <BR> <FONT COLOR="#000000">Dear all,</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my whole sqlmap:</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp; &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt;</FONT><BR> <FONT COLOR="#000000">&lt;sqlMap namespace=&quot;CommonBase&quot; xmlns=&quot;<A HREF="http://ibatis.apache.org/mapping">http://ibatis.apache.org/mapping</A>&quot; xmlns:xsi=&quot;<A HREF="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</A>&quot;&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; &lt;statements&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;procedure id=&quot;ProcedureTestPkg&quot; parameterMap=&quot;ProcedureTestMap Pkg&quot; &gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ALLEN_PKG.ALLEN_TEST</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/procedure&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; &lt;/statements&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; &lt;parameterMaps&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterMap id=&quot;ProcedureTestMapPkg&quot; class=&quot;Hashtable&quot;&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property=&quot;input&quot; column=&quot;i_input &quot; dbType=&quot;integer&quot; direction=&quot;Input&quot; /&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property=&quot;result&quot; column=&quot;o_result&quot; dbType=&quot;integer&quot; direction=&quot;Output&quot; /&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameterMap&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; &lt;/p arameterMaps&gt;</FONT><BR> <FONT COLOR="#000000">&lt;/sqlMap&gt;</FONT><BR> <BR> <FONT COLOR="#000000">*******************************************</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; SqlMapConfig like below database node, the othe node is like the standard config:</FONT><BR> <FONT COLOR="#000000">&lt;database&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&lt;provider name=&quot;OleDb1.1&quot;/&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; &lt;dataSource name=&quot;darwine_test&quot; connectionString=&quot;Provider=OraOLEDB.Oracle.1;Password=oracle;Persist Security Info=True;User ID=rddarwine;Data Source=darwine_rd&quot;/&gt;</FONT><BR> <FONT COLOR="#000000">&lt;/database&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;</FONT><BR> <FONT COLOR="#000000">I&nbsp;only know &quot;Queryforobject&quot;,&quot;Queryforlist&quot;,&nbsp; any other?</FONT><BR> <BR> <FONT COLOR="#000000">but with this config,i can call the procedure successfully&nbsp;if this procedure not in package,but in oracle, i don't&nbsp;konw why? like below:</FONT><BR> <FONT COLOR="#000000">&lt;procedure id=&quot;Pr ocedureTest&quot; parameterMap=&quot;ProcedureTestMap&quot; &gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ALLEN_TEST</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/procedure&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;</FONT><BR> <FONT COLOR="#000000">parameterMap id=&quot;ProcedureTestMap&quot; class=&quot;Hashtable&quot;&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property=&quot;input&quot; column=&quot;i_input&quot; dbType=&quot;integer&quot; direction=&quot;Input&quot; /&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter property=&quot;result&quot; column=&quot;o_result&quot; dbType=&quot;integer&quot; direction=&quot;Output&quot; /&gt;</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameterMap&gt;</FONT><BR> <BR> <FONT COLOR="#000000">Thanks!</FONT><BR> <FONT COLOR="#000000">2007.9.21</FONT><BR> <BR> <FONT COLOR="#000000">&gt; Subject: RE: How to call procedure in oracle package using IBatis.Net.</FONT><BR> <FONT COLOR="#000000">&gt; Date: Fri, 21 Sep 2007 08:15:55 -0400</FONT><BR> <FONT COLOR="#000000">&gt; From: [email protected]</FONT><BR> <FONT COLOR="#000000">&gt; To: [email protected]</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; I think we need to see more of your sql map. All I see is your</FONT><BR> <FONT COLOR="#000000">&gt; procedure name, and we need to see the xml node that the call is defined</FONT><BR> <FONT COLOR="#000000">&gt; in.</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; I 'm also not sure you're using the correct call. Unless there's an</FONT><BR> <FONT COLOR="#000000">&gt; attribute I'm not aware of, Queryforobject is to read an object from a</FONT><BR> <FONT COLOR="#000000">&gt; result set, not load it from an input/output parameter.</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; -----Original Message-----</FONT><BR> <FONT COLOR="#000000">&gt; From: pei allen [mailto:[email protected] om] </FONT><BR> <FONT COLOR="#000000">&gt; Sent: Friday, September 21, 2007 8:10 AM</FONT><BR> <FONT COLOR="#000000">&gt; To: [email protected]</FONT><BR> <FONT COLOR="#000000">&gt; Subject: How to call procedure in oracle package using IBatis.Net.</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; Dear all,</FONT><BR> <FONT COLOR="#000000">&gt; when i call procedure in oracle package using IBatisNet, it always</FONT><BR> <FONT COLOR="#000000">&gt; failed.</FONT><BR> <FONT COLOR="#000000">&gt; I can call oracle procedre using IBatisNet successfully,but to</FONT><BR> <FONT COLOR="#000000">&gt; package 's procedure, it dosen't work.</FONT><BR> <FONT COLOR="#000000">&gt; The code like this:</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; Oracle's Package like below:</FONT><BR> <FONT COLOR="#000000">&gt; **************************************</FONT><BR> <FONT COLOR="#000000">&gt; CREATE OR REPLACE </FONT><BR> <FONT COLOR="#000000">&gt; PACKAGE allen_pkg</FONT><BR> <FONT COLOR="#000000">&gt; IS</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; PROCEDURE ALLEN_TEST (i_input in number,o_result out number) ;</FONT><BR> <FONT COLOR="#000000">&amp;g t; END;</FONT><BR> <FONT COLOR="#000000">&gt; /</FONT><BR> <FONT COLOR="#000000">&gt; CREATE OR REPLACE </FONT><BR> <FONT COLOR="#000000">&gt; PACKAGE BODY allen_pkg</FONT><BR> <FONT COLOR="#000000">&gt; IS</FONT><BR> <FONT COLOR="#000000">&gt; PROCEDURE ALLEN_TEST (i_input in number,o_result out number) </FONT><BR> <FONT COLOR="#000000">&gt; IS </FONT><BR> <FONT COLOR="#000000">&gt; v_seq NUMBER; </FONT><BR> <FONT COLOR="#000000">&gt; BEGIN </FONT><BR> <FONT COLOR="#000000">&gt; o_result := i_input;</FONT><BR> <FONT COLOR="#000000">&gt; return;</FONT><BR> <FONT COLOR="#000000">&gt; END ALLEN_TEST;</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; END allen_pkg;</FONT><BR> <FONT COLOR="#000000">&gt; ***************************************</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; The SqlMap like below:</FONT><BR> <FONT COLOR="#000000">&gt; *****************************************************</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; ALLEN_PKG.ALLEN_TEST</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; ******************************************************</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; The Calling function like below:</FONT><BR> <FONT COLOR="#000000">&gt; *****************************************************</FONT><BR> <FONT COLOR="#000000">&gt; public long ProcedureTest()</FONT><BR> <FONT COLOR="#000000">&gt; {</FONT><BR> <FONT COLOR="#000000">&gt; Hashtable ht = new Hashtable();</FONT><BR> <FONT COLOR="#000000">&gt; ht[&quot;input&quot;] = 1;</FONT><BR> <FONT COLOR="#000000">&gt; ht[&quot;result&quot;] = 0;</FONT><BR> <FONT COLOR="#000000">&gt; m_DaoFacade.QueryForObject(&quot;ProcedureTestPkg&quot;, ht);</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; return Convert.ToInt32( ht[&quot;result&quot;]);</FONT><BR> <FONT COLOR="#000000">&gt; }</FONT><BR> <FONT COLOR="#000000">&gt; ********************************************************</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; when run to &quot;m_DaoFacade.QueryForObject(&quot;ProcedureTestPkg&quot;, ht);&quot;, an</FONT><BR> <FONT COLOR="#000000">&gt; exception was thrown like below:</FONT><BR> <FONT COLOR="#000000">&gt; &quot;PLS-00306: wrong number or types of arguments ......&quot;</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; I use Oracle 10gR2, VS2005 C#, IBatisNet.DataMapper(161.129.204.104)</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; Thanks!</FONT><BR> <FONT COLOR="#000000">&gt; 2007.9.21</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; _________________________________________________________________</FONT><BR> <FONT COLOR="#000000">&gt; Invite your mail contacts to join your friends list with Windows Live</FONT><BR> <FONT COLOR="#000000">&gt; Spaces. It's easy!</FONT><BR> <FONT COLOR="#000000">&gt; http://spaces.live.com/spacesapi.aspx?wx_action=create&amp;wx_url=/friends.a</FONT><BR> <FONT COLOR="#000000">&gt; spx&amp;mkt=en-us </FONT><BR> <FONT COLOR="#000000">&gt; --------------------------------------------------------</FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; Princeton Retirement Group, Inc - Important Terms </FONT><BR> <FONT COLOR="#000000">&gt; This E-mail is not intended for distribution to, or use by, any person or entity in any location where such distributio n or use w ould be contrary to law or regulation, or which would subject Princeton Retirement Group, Inc. or any affiliate to any registration requirement within such location. </FONT><BR> <FONT COLOR="#000000">&gt; This E-mail may contain privileged or confidential information or may otherwise be protected by work product immunity or other legal rules. No confidentiality or privilege is waived or lost by any mistransmission. Access, copying or re-use of information by non-intended or non-authorized recipients is prohibited. If you are not an intended recipient of this E-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute any portion of this E-mail. </FONT><BR> <FONT COLOR="#000000">&gt; The transmission and content of this E-mail cannot be guaranteed to be secure or error-free. Therefore, we cannot represent that the information in this E-mail is complete, accurate, uncorrupted, timely or free of viruses, and Princeton Retiremen t Group, Inc. cannot accept any liability fo r E-mails that have been altered in the course of delivery. Princeton Retirement Group, Inc. reserves the right to monitor, review and retain all electronic communications, including E-mail, traveling through its networks and systems (subject to and in accordance with local laws). If any of your details are incorrect or if you no longer wish to receive mailings such as this by E-mail please contact the sender by reply E-mail. </FONT><BR> <FONT COLOR="#000000">&gt; </FONT><BR> <FONT COLOR="#000000">&gt; --------------------------------------------------------</FONT><BR> <BR> <BR> <HR> <BR> <BR> <FONT COLOR="#000000">Discover the new Windows Vista <A HREF="http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE">Learn more!</A> </FONT><BR> </BLOCKQUOTE> <BR> <HR> <BR> <BR> <FONT COLOR="#000000">Explore the seven wonders of the world <A HREF="http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE">Learn more!</A> </FONT><BR> </BLOCKQUOTE> </BLOCKQUOTE> <BR> <HR> <BR> <FONT COLOR="#000000">Get news, entertainment and everything you care [email protected]. <A HREF="http://www.live.com/getstarted.aspx">Check it out!</A></FONT> </BLOCKQUOTE> </BODY> </HTML> --=-zk8NMSVp4svUKA3/dBpL-- From [email protected] Fri Sep 28 05:11:10 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86523 invoked from network); 28 Sep 2007 05:11:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Sep 2007 05:11:09 -0000 Received: (qmail 52006 invoked by uid 500); 28 Sep 2007 05:10:59 -0000 Delivered-To: [email protected] Received: (qmail 51994 invoked by uid 500); 28 Sep 2007 05:10:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51982 invoked by uid 99); 28 Sep 2007 05:10:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Sep 2007 22:10:59 -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: local policy) Received: from [161.129.204.104] (HELO mail.lukiya.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 28 Sep 2007 05:10:58 +0000 Received: from NEVERLANDP ([161.129.204.104]) (envelope-sender <[email protected]>) by 161.129.204.104 with ESMTP for <[email protected]>; Fri, 28 Sep 2007 13:10:42 +0800 From: "Lukiya Chan" <[email protected]> To: <[email protected]> Subject: Non-static method requires a target. Date: Fri, 28 Sep 2007 13:10:30 +0800 Message-ID: <000a01c8018d$e5c10d70$b1432850$@com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000B_01C801D0.F3E44D70" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcgBfviCqBFtAk8ZTTKBzfinfN2JHgADtSnQ Content-Language: zh-cn X-Virus-Checked: Checked by ClamAV on apache.org This is a multipart message in MIME format. ------=_NextPart_000_000B_01C801D0.F3E44D70 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi All, I think there is a issue in Line 134 of "Proxy/LazyLoadInterceptor.cs". object returnValue = invocation.Method.Invoke(_lazyLoadedItem, arguments); If "_lazyLoadedItem" is null, then there will be a Exception threw out. What do you think? ------=_NextPart_000_000B_01C801D0.F3E44D70 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:SimSun; panose-1:2 1 6 0 3 1 1 1 1 1;} @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face {font-family:SimSun; panose-1:2 1 6 0 3 1 1 1 1 1;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; text-align:justify; font-size:10.5pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:windowtext;} span.EmailStyle18 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DZH-CN link=3Dblue vlink=3Dpurple = style=3D'text-justify-trim:punctuation'> <div class=3DSection1> <p class=3DMsoNormal><span lang=3DEN-US>Hi All,<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span = lang=3DEN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I think there is a issue in Line 134 of = &#8220;Proxy/LazyLoadInterceptor.cs&#8221;.<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span = lang=3DEN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span lang=3DEN-US = style=3D'font-size:9.0pt;font-family:"Tahoma","sans-serif"; color:blue'>object returnValue =3D = invocation.Method.Invoke(_lazyLoadedItem, arguments);<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal style=3D'text-indent:21.0pt'><span lang=3DEN-US>If = &#8220;</span><span lang=3DEN-US = style=3D'font-size:9.0pt;font-family:"Tahoma","sans-serif";color:blue'>_l= azyLoadedItem</span><span lang=3DEN-US>&#8221; is null, then there will be a Exception threw = out.<o:p></o:p></span></p> <p class=3DMsoNormal style=3D'text-indent:21.0pt'><span = lang=3DEN-US><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal style=3D'text-indent:21.0pt'><span = lang=3DEN-US>What do you think?<o:p></o:p></span></p> </div> </body> </html> ------=_NextPart_000_000B_01C801D0.F3E44D70-- From [email protected] Fri Sep 28 10:06:43 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 533 invoked from network); 28 Sep 2007 10:06:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Sep 2007 10:06:43 -0000 Received: (qmail 59056 invoked by uid 500); 28 Sep 2007 10:06:30 -0000 Delivered-To: [email protected] Received: (qmail 59045 invoked by uid 500); 28 Sep 2007 10:06:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 59034 invoked by uid 99); 28 Sep 2007 10:06:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 03:06:29 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mailhost1.i-mconsulting.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 10:06:30 +0000 Received: from nb-andrea.i-mconsulting.com (ppp86-25.intelcom.sm [161.129.204.104]) by mailhost1.i-mconsulting.com (Postfix) with ESMTP id BA0B0EAF0 for <[email protected]>; Fri, 28 Sep 2007 12:05:58 +0200 (CEST) X-Mailer: QUALCOMM Windows Eudora Version 161.129.204.104 Date: Fri, 28 Sep 2007 12:05:46 +0200 To: [email protected] From: Andrea Tassinari <[email protected]> Subject: nullValue in ResultMap simply does not work Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hello, I'm wondering why nullValue attribute does not work at all to me. Consider the following snippets <!-- sqlMap --> <resultMaps> <resultMap id="IssueResultMap" class="Issue"> <result property="Id" column="Id" type="Guid" dbType="UniqueIdentifier" /> <result property="IssueDate" column="IssueDate" type="DateTime" dbType="DateTime" nullValue="1/1/0001 12:00:00 AM" /> </resultMap > </resultMaps> <!-- this does **not** work, sqlclient complains about IssueDate--> <insert id="Insert" parameterClass="Issue"> INSERT INTO ISSUES (Id, IssueDate) VALUES (#Id#,#IssueDate#) </insert> <!-- this **does** work --> <insert id="InsertIssue" parameterClass="Issue"> INSERT INTO ISSUES (Id, IssueDate) VALUES (#Id#,#IssueDate:DateTime:1/1/0001 12:00:00 AM#) </insert> //CS snippet Issue issue = new Issue(); //this is only for clarity sake, actually performed by the contructors. issue.IssueDate = new DateTime(); //finally persist to DB _mapper.Insert("InsertIssue", issue); Is there a reason for that? I am wrong or else? It *is* very boring and error-prone to write all nullValue condition in the inline form (consider that I have over 200 insert/update statements in my app. My system: .NET 2.0 iBatis DataMapper 1.6.1 GA binary version Sql Server 2.0 using provider sqlServer2.0 as shipped in providers.config Thanks for any support. -- Kind Regards Andrea From [email protected] Fri Sep 28 13:30:42 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12121 invoked from network); 28 Sep 2007 13:30:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Sep 2007 13:30:42 -0000 Received: (qmail 72921 invoked by uid 500); 28 Sep 2007 13:30:32 -0000 Delivered-To: [email protected] Received: (qmail 72911 invoked by uid 500); 28 Sep 2007 13:30:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 72900 invoked by uid 99); 28 Sep 2007 13:30:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 06:30:31 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nf-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 13:30:33 +0000 Received: by nf-out-0910.google.com with SMTP id 4so1974468nfv for <[email protected]>; Fri, 28 Sep 2007 06:30:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=lobwJsMYnKaBsRRk2zKRQoOJEQcjc7rTy2JaXiP/74k=; b=F0YOipGM0B5oTxLekU8zwRwA2QhoNOKkaK1F6XlZifwnssKZ9AEMgUXnLYkj2KHCct7W9MJvx8jKm93Tl2KsAB54Bv2Sg01qR9ZrZff46xabvXvq/en4AsnTCqmRvFpPhMHuMIsgEbkbFVpOXAoSWX6R9dASyf/biQMs1wlOA9E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=WkM8oovJa7ozZARRtd2lUGZv/VkfAnrlcg2bVKcpiStatC3+qS96qmKDE+4opUzlb6X9vRSeD3PhjOBlrapfcnqDNzEy+GtUCAQwoYZwDXCZQge0C63pQyU7AJ7TKnsSq32T/dLmYP0depg+0/8gxFusV7v2zFTyXfLjXycDqvk= Received: by 161.129.204.104 with SMTP id f1mr779845wae.1190986210044; Fri, 28 Sep 2007 06:30:10 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 28 Sep 2007 06:30:10 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 28 Sep 2007 08:30:10 -0500 From: "Bob Hanson" <[email protected]> To: [email protected] Subject: Re: nullValue in ResultMap simply does not work In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1350_19921351.1190986210039" References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_1350_19921351.1190986210039 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline .NET 2.0 Nullable types will work correctly with null values. On 9/28/07, Andrea Tassinari <[email protected]> wrote: > > Hello, > > I'm wondering why nullValue attribute does not work at all to me. Consider > the following snippets > > <!-- sqlMap --> > <resultMaps> > <resultMap id="IssueResultMap" class="Issue"> > <result property="Id" > column="Id" > type="Guid" > dbType="UniqueIdentifier" /> > <result property="IssueDate" > column="IssueDate" > type="DateTime" > dbType="DateTime" > nullValue="1/1/0001 12:00:00 AM" /> > </resultMap > > </resultMaps> > > <!-- this does **not** work, sqlclient complains about IssueDate--> > <insert id="Insert" parameterClass="Issue"> > INSERT > INTO ISSUES > (Id, IssueDate) > VALUES > (#Id#,#IssueDate#) > </insert> > > <!-- this **does** work --> > <insert id="InsertIssue" parameterClass="Issue"> > INSERT > INTO ISSUES > (Id, IssueDate) > VALUES > (#Id#,#IssueDate:DateTime:1/1/0001 12:00:00 AM#) > </insert> > > //CS snippet > Issue issue = new Issue(); > > //this is only for clarity sake, actually performed by the contructors. > issue.IssueDate = new DateTime(); > > //finally persist to DB > _mapper.Insert("InsertIssue", issue); > > Is there a reason for that? I am wrong or else? It *is* very boring and > error-prone to write all nullValue condition in the inline form (consider > that I have over 200 insert/update statements in my app. > > My system: > > .NET 2.0 > iBatis DataMapper 1.6.1 GA binary version > Sql Server 2.0 > using provider sqlServer2.0 as shipped in providers.config > > Thanks for any support. > > -- > Kind Regards > Andrea > > ------=_Part_1350_19921351.1190986210039 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline .NET 2.0 Nullable types will work correctly with null values.<br><br><div><span class="gmail_quote">On 9/28/07, <b class="gmail_sendername">Andrea Tassinari</b> &lt;<a href="mailto:[email protected]">[email protected] </a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br><br>I&#39;m wondering why nullValue attribute does not work at all to me. Consider the following snippets <br><br>&lt;!-- sqlMap --&gt;<br>&lt;resultMaps&gt;<br>&nbsp;&nbsp; &lt;resultMap id=&quot;IssueResultMap&quot; class=&quot;Issue&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;result property=&quot;Id&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; column=&quot;Id&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type=&quot;Guid&quot; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dbType=&quot;UniqueIdentifier&quot; /&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;result property=&quot;IssueDate&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; column=&quot;IssueDate&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type=&quot;DateTime&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dbType=&quot;DateTime&quot; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nullValue=&quot;1/1/0001 12:00:00 AM&quot; /&gt;<br>&nbsp;&nbsp; &lt;/resultMap &gt;<br>&lt;/resultMaps&gt;<br><br>&lt;!-- this does **not** work, sqlclient complains about IssueDate--&gt;<br>&lt;insert id=&quot;Insert&quot; parameterClass=&quot;Issue&quot;&gt; <br>&nbsp;&nbsp; INSERT<br>&nbsp;&nbsp;&nbsp;&nbsp; INTO ISSUES<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(Id, IssueDate)<br>&nbsp;&nbsp;&nbsp;&nbsp; VALUES<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(#Id#,#IssueDate#)<br>&lt;/insert&gt;<br><br>&lt;!-- this **does** work --&gt;<br>&lt;insert id=&quot;InsertIssue&quot; parameterClass=&quot;Issue&quot;&gt; <br>&nbsp;&nbsp; INSERT<br>&nbsp;&nbsp;&nbsp;&nbsp; INTO ISSUES<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(Id, IssueDate)<br>&nbsp;&nbsp;&nbsp;&nbsp; VALUES<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(#Id#,#IssueDate:DateTime:1/1/0001 12:00:00 AM#)<br>&lt;/insert&gt;<br><br>//CS snippet<br>Issue issue = new Issue();<br><br>//this is only for clarity sake, actually performed by the contructors. <br>issue.IssueDate = new DateTime();<br><br>//finally persist to DB<br>_mapper.Insert(&quot;InsertIssue&quot;, issue);<br><br>Is there a reason for that? I am wrong or else? It *is* very boring and error-prone to write all nullValue condition in the inline form (consider that I have over 200 insert/update statements in my app. <br><br>My system:<br><br>.NET 2.0<br>iBatis DataMapper 1.6.1 GA binary version<br>Sql Server 2.0<br>using provider sqlServer2.0 as shipped in providers.config<br><br>Thanks for any support.<br><br>--<br>Kind Regards<br>Andrea <br><br></blockquote></div><br> ------=_Part_1350_19921351.1190986210039-- From [email protected] Fri Sep 28 15:12:56 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61542 invoked from network); 28 Sep 2007 15:12:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Sep 2007 15:12:56 -0000 Received: (qmail 28445 invoked by uid 500); 28 Sep 2007 15:12:45 -0000 Delivered-To: [email protected] Received: (qmail 28434 invoked by uid 500); 28 Sep 2007 15:12:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 28423 invoked by uid 99); 28 Sep 2007 15:12:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 08:12:45 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mailhost1.i-mconsulting.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 15:15:09 +0000 Received: from nb-andrea.i-mconsulting.com (ppp86-25.intelcom.sm [161.129.204.104]) by mailhost1.i-mconsulting.com (Postfix) with ESMTP id 4924ED122 for <[email protected]>; Fri, 28 Sep 2007 17:12:08 +0200 (CEST) X-Mailer: QUALCOMM Windows Eudora Version 161.129.204.104 Date: Fri, 28 Sep 2007 17:11:50 +0200 To: [email protected] From: Andrea Tassinari <[email protected]> Subject: Re: nullValue in ResultMap simply does not work In-Reply-To: <[email protected] m> References: <[email protected]> <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org At 15.30 28/09/2007, Bob Hanson wrote: >.NET 2.0 Nullable types will work correctly with null values. yes I can understand, but I don't like the idea to convert all DateTime and Guid in nullable DateTime with obviuos consequences on my code. Anyway the iBatis manual states that the attribute "nullValue" in the resultmap should work just fine as the inline semantics, I dont understand if I'm experiencing a bug or I am missing something. Andrea >On 9/28/07, Andrea Tassinari <<mailto:[email protected]>[email protected] > wrote: >Hello, > >I'm wondering why nullValue attribute does not work at all to me. Consider the following snippets > ><!-- sqlMap --> ><resultMaps> > <resultMap id="IssueResultMap" class="Issue"> > <result property="Id" > column="Id" > type="Guid" > dbType="UniqueIdentifier" /> > <result property="IssueDate" > column="IssueDate" > type="DateTime" > dbType="DateTime" > nullValue="1/1/0001 12:00:00 AM" /> > </resultMap > ></resultMaps> > ><!-- this does **not** work, sqlclient complains about IssueDate--> ><insert id="Insert" parameterClass="Issue"> > INSERT > INTO ISSUES > (Id, IssueDate) > VALUES > (#Id#,#IssueDate#) ></insert> > ><!-- this **does** work --> ><insert id="InsertIssue" parameterClass="Issue"> > INSERT > INTO ISSUES > (Id, IssueDate) > VALUES > (#Id#,#IssueDate:DateTime:1/1/0001 12:00:00 AM#) ></insert> > >//CS snippet >Issue issue = new Issue(); > >//this is only for clarity sake, actually performed by the contructors. >issue.IssueDate = new DateTime(); > >//finally persist to DB >_mapper.Insert("InsertIssue", issue); > >Is there a reason for that? I am wrong or else? It *is* very boring and error-prone to write all nullValue condition in the inline form (consider that I have over 200 insert/update statements in my app. > >My system: > >.NET 2.0 >iBatis DataMapper 1.6.1 GA binary version >Sql Server 2.0 >using provider sqlServer2.0 as shipped in providers.config > >Thanks for any support. > >-- >Kind Regards >Andrea > > > > >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.488 / Virus Database: 269.13.33/1034 - Release Date: 27/09/2007 17.00 From [email protected] Fri Sep 28 15:30:26 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85890 invoked from network); 28 Sep 2007 15:30:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Sep 2007 15:30:25 -0000 Received: (qmail 68178 invoked by uid 500); 28 Sep 2007 15:30:15 -0000 Delivered-To: [email protected] Received: (qmail 67927 invoked by uid 500); 28 Sep 2007 15:30:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 67916 invoked by uid 99); 28 Sep 2007 15:30:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 08:30:14 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO jasmin2.sncf.fr) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 15:32:38 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Subject: RE : nullValue in ResultMap simply does not work Date: Fri, 28 Sep 2007 17:29:51 +0200 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: nullValue in ResultMap simply does not work Thread-Index: AcgB4hJu4chDnm8cQ3y3QLH/sq1WFgAAHnog From: "EXT / ASTEK MOUSSON Nicolas" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 28 Sep 2007 15:29:51.0995 (UTC) FILETIME=[69D754B0:01C801E4] X-Loop-Check: Organization: S.N.C.F. French Railways X-Virus-Checked: Checked by ClamAV on apache.org I think you miss something, because all works fine with the inline syntax= for null values... Example of SQL Insert : INSERT INTO TABLEXXX ( Column1, Column2 ) VALUES ( #Id#, #MyDate:DateTime:01/01/0001 00:00:00# ) Then if you pass an object with its property MyDate sets to DateTime.Min= Value, a NULL value is inserted in the corresponding column. Nicolas -----Message d'origine----- De=A0: Andrea Tassinari [mailto:[email protected]]=20 Envoy=E9=A0: vendredi 28 septembre 2007 17:12 =C0=A0: [email protected] Objet=A0: Re: nullValue in ResultMap simply does not work At 15.30 28/09/2007, Bob Hanson wrote: >.NET 2.0 Nullable types will work correctly with null values. yes I can understand, but I don't like the idea to convert all DateTime a= nd Guid in nullable DateTime with obviuos consequences on my code.=20 Anyway the iBatis manual states that the attribute "nullValue" in the res= ultmap should work just fine as the inline semantics, I dont understand i= f I'm experiencing a bug or I am missing something. Andrea >On 9/28/07, Andrea Tassinari <<mailto:[email protected]>andream= [email protected] > wrote: >Hello, > >I'm wondering why nullValue attribute does not work at all to me. Consid= er the following snippets=20 > ><!-- sqlMap --> ><resultMaps> > <resultMap id=3D"IssueResultMap" class=3D"Issue"> > <result property=3D"Id" > column=3D"Id" > type=3D"Guid"=20 > dbType=3D"UniqueIdentifier" /> > <result property=3D"IssueDate" > column=3D"IssueDate" > type=3D"DateTime" > dbType=3D"DateTime"=20 > nullValue=3D"1/1/0001 12:00:00 AM" /> > </resultMap > ></resultMaps> > ><!-- this does **not** work, sqlclient complains about IssueDate--> ><insert id=3D"Insert" parameterClass=3D"Issue">=20 > INSERT > INTO ISSUES > (Id, IssueDate) > VALUES > (#Id#,#IssueDate#) ></insert> > ><!-- this **does** work --> ><insert id=3D"InsertIssue" parameterClass=3D"Issue">=20 > INSERT > INTO ISSUES > (Id, IssueDate) > VALUES > (#Id#,#IssueDate:DateTime:1/1/0001 12:00:00 AM#) ></insert> > >//CS snippet >Issue issue =3D new Issue(); > >//this is only for clarity sake, actually performed by the contructors.=20 >issue.IssueDate =3D new DateTime(); > >//finally persist to DB >_mapper.Insert("InsertIssue", issue); > >Is there a reason for that? I am wrong or else? It *is* very boring and = error-prone to write all nullValue condition in the inline form (consider= that I have over 200 insert/update statements in my app.=20 > >My system: > >.NET 2.0 >iBatis DataMapper 1.6.1 GA binary version >Sql Server 2.0 >using provider sqlServer2.0 as shipped in providers.config > >Thanks for any support. > >-- >Kind Regards >Andrea=20 > > > > >No virus found in this incoming message. >Checked by AVG Free Edition.=20 >Version: 7.5.488 / Virus Database: 269.13.33/1034 - Release Date: 27/09/= 2007 17.00 From [email protected] Fri Sep 28 15:44:36 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11775 invoked from network); 28 Sep 2007 15:44:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Sep 2007 15:44:35 -0000 Received: (qmail 5053 invoked by uid 500); 28 Sep 2007 15:44:25 -0000 Delivered-To: [email protected] Received: (qmail 5042 invoked by uid 500); 28 Sep 2007 15:44:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 5031 invoked by uid 99); 28 Sep 2007 15:44:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 08:44:25 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mailhost1.i-mconsulting.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 15:44:26 +0000 Received: from webmail.i-mconsulting.com (localhost.localdomain [161.129.204.104]) by mailhost1.i-mconsulting.com (Postfix) with ESMTP id 3A7FBA44C for <[email protected]>; Fri, 28 Sep 2007 17:44:04 +0200 (CEST) Received: from 161.129.204.104 (SquirrelMail authenticated user [email protected]) by webmail.i-mconsulting.com with HTTP; Fri, 28 Sep 2007 17:44:04 +0200 (CEST) Message-ID: <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Fri, 28 Sep 2007 17:44:04 +0200 (CEST) Subject: Re: RE : nullValue in ResultMap simply does not work From: "AndreaT" <[email protected]> To: [email protected] Reply-To: [email protected] User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org > > I think you miss something, because all works fine with the inline syntax > for null values... > > Example of SQL Insert : > > INSERT INTO TABLEXXX > ( > Column1, > Column2 > ) > VALUES > ( > #Id#, > #MyDate:DateTime:01/01/0001 00:00:00# > ) > > Then if you pass an object with its property MyDate sets to > DateTime.MinValue, a NULL value is inserted in the corresponding column. > That's the point, Nicolas, the inline syntax works (even for me), the *equivalent* resultMap syntax does *not*. The question is: why. Andrea > Nicolas > > > -----Message d'origine----- > De : Andrea Tassinari [mailto:[email protected]] > Envoyé : vendredi 28 septembre 2007 17:12 > À : [email protected] > Objet : Re: nullValue in ResultMap simply does not work > > At 15.30 28/09/2007, Bob Hanson wrote: > >>.NET 2.0 Nullable types will work correctly with null values. > > yes I can understand, but I don't like the idea to convert all DateTime > and Guid in nullable DateTime with obviuos consequences on my code. > > Anyway the iBatis manual states that the attribute "nullValue" in the > resultmap should work just fine as the inline semantics, I dont understand > if I'm experiencing a bug or I am missing something. > > Andrea > > >>On 9/28/07, Andrea Tassinari >> <<mailto:[email protected]>[email protected] > wrote: >>Hello, >> >>I'm wondering why nullValue attribute does not work at all to me. >> Consider the following snippets >> >><!-- sqlMap --> >><resultMaps> >> <resultMap id="IssueResultMap" class="Issue"> >> <result property="Id" >> column="Id" >> type="Guid" >> dbType="UniqueIdentifier" /> >> <result property="IssueDate" >> column="IssueDate" >> type="DateTime" >> dbType="DateTime" >> nullValue="1/1/0001 12:00:00 AM" /> >> </resultMap > >></resultMaps> >> >><!-- this does **not** work, sqlclient complains about IssueDate--> >><insert id="Insert" parameterClass="Issue"> >> INSERT >> INTO ISSUES >> (Id, IssueDate) >> VALUES >> (#Id#,#IssueDate#) >></insert> >> >><!-- this **does** work --> >><insert id="InsertIssue" parameterClass="Issue"> >> INSERT >> INTO ISSUES >> (Id, IssueDate) >> VALUES >> (#Id#,#IssueDate:DateTime:1/1/0001 12:00:00 AM#) >></insert> >> >>//CS snippet >>Issue issue = new Issue(); >> >>//this is only for clarity sake, actually performed by the contructors. >>issue.IssueDate = new DateTime(); >> >>//finally persist to DB >>_mapper.Insert("InsertIssue", issue); >> >>Is there a reason for that? I am wrong or else? It *is* very boring and >> error-prone to write all nullValue condition in the inline form (consider >> that I have over 200 insert/update statements in my app. >> >>My system: >> >>.NET 2.0 >>iBatis DataMapper 1.6.1 GA binary version >>Sql Server 2.0 >>using provider sqlServer2.0 as shipped in providers.config >> >>Thanks for any support. >> >>-- >>Kind Regards >>Andrea >> >> >> >> >>No virus found in this incoming message. >>Checked by AVG Free Edition. >>Version: 7.5.488 / Virus Database: 269.13.33/1034 - Release Date: >> 27/09/2007 17.00 > > -- AndreaT From [email protected] Fri Sep 28 16:31:51 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70731 invoked from network); 28 Sep 2007 16:31:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Sep 2007 16:31:51 -0000 Received: (qmail 19041 invoked by uid 500); 28 Sep 2007 16:31:40 -0000 Delivered-To: [email protected] Received: (qmail 19033 invoked by uid 500); 28 Sep 2007 16:31:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 19015 invoked by uid 99); 28 Sep 2007 16:31:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 09:31:40 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO jasmin2.sncf.fr) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 16:31:41 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 X-MimeOLE: Produced By Microsoft Exchange V6.5 Subject: RE : RE : nullValue in ResultMap simply does not work Date: Fri, 28 Sep 2007 18:31:15 +0200 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: RE : nullValue in ResultMap simply does not work Thread-Index: AcgB5nv44uiNpyoOR6qhHnpy+/xNvQABnvpQ From: "EXT / ASTEK MOUSSON Nicolas" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 28 Sep 2007 16:31:15.0972 (UTC) FILETIME=[FDA99C40:01C801EC] X-Loop-Check: Organization: S.N.C.F. French Railways X-Virus-Checked: Checked by ClamAV on apache.org DQo8aW5zZXJ0IGlkPSJJbnNlcnQiIHBhcmFtZXRlckNsYXNzPSJJc3N1ZSI+DQogICBJTlNFUlQN CiAgICAgSU5UTyBJU1NVRVMNCiAgICAgICAgICAoSWQsIElzc3VlRGF0ZSkNCiAgICAgVkFMVUVT DQogICAgICAgICAgKCNJZCMsI0lzc3VlRGF0ZSMpDQo8L2luc2VydD4NCg0K74OgIEkgdGhpbmsg dGhpcyBkb2VzIG5vdCB3b3JrIChpZiB5b3UgaGF2ZSBJc3N1ZURhdGUgc2V0IHRvIERhdGVUaW1l Lk1pblZhbHVlIGZvciBleGFtcGxlKSwgYmVjYXVzZSBpdCB0cmllcyB0byBpbnNlcnQgYSBkYXRl ICgwMS8wMS8wMDAxKSB0aGF0IGlzIG91dHNpZGUgb2YgdGhlIGFjY2VwdGFibGUgdmFsdWVzIGZv ciB0aGUgZGF0ZXRpbWUgdHlwZSBvZiB5b3VyIGRhdGFiYXNlLg0KDQpZb3VyIHNlY29uZCBzdGF0 ZW1lbnQgd29ya3MsIGJlY2F1c2UgaXQgaW5zZXJ0cyBhIE5VTEwgdmFsdWUgZm9yIHRoZSBkYXRl Og0KDQo8aW5zZXJ0IGlkPSJJbnNlcnRJc3N1ZSIgcGFyYW1ldGVyQ2xhc3M9Iklzc3VlIj4NCiAg IElOU0VSVA0KICAgICBJTlRPIElTU1VFUw0KICAgICAgICAgIChJZCwgSXNzdWVEYXRlKQ0KICAg ICBWQUxVRVMNCiAgICAgICAgICAoI0lkIywjSXNzdWVEYXRlOkRhdGVUaW1lOjEvMS8wMDAxIDEy OjAwOjAwIEFNIykNCjwvaW5zZXJ0Pg0KDQpZb3VyIHJlc3VsdC1tYXAgaXMgbm90IGhlbHBmdWwg Zm9yIHlvdXIgSW5zZXJ0IHNjZW5hcmlvLiBSZXN1bHQgbWFwcyBvbmx5IHNlcnZlcyBmb3IgU0VM RUNUIHN0YXRlbWVudHMuDQoNCg0KTmljb2xhcw0KDQotLS0tLU1lc3NhZ2UgZCdvcmlnaW5lLS0t LS0NCkRlwqA6IEFuZHJlYVQgW21haWx0bzphbmRyZWFtbEBpLW1jb25zdWx0aW5nLmNvbV0gDQpF bnZvecOpwqA6IHZlbmRyZWRpIDI4IHNlcHRlbWJyZSAyMDA3IDE3OjQ0DQrDgMKgOiB1c2VyLWNz QGliYXRpcy5hcGFjaGUub3JnDQpPYmpldMKgOiBSZTogUkUgOiBudWxsVmFsdWUgaW4gUmVzdWx0 TWFwIHNpbXBseSBkb2VzIG5vdCB3b3JrDQoNCg0KPg0KPiBJIHRoaW5rIHlvdSBtaXNzIHNvbWV0 aGluZywgYmVjYXVzZSBhbGwgd29ya3MgZmluZSB3aXRoIHRoZSBpbmxpbmUgc3ludGF4DQo+IGZv ciBudWxsIHZhbHVlcy4uLg0KPg0KPiBFeGFtcGxlIG9mIFNRTCBJbnNlcnQgOg0KPg0KPiAJCUlO U0VSVCBJTlRPIFRBQkxFWFhYDQo+ICAgICAgICAgICAgICgNCj4gCSAgICAgICAgICBDb2x1bW4x LA0KPiAgICAgICAgICAgICAgICAgQ29sdW1uMg0KPiAgICAgICAgICAgICApDQo+ICAgICAgICAg ICAgIFZBTFVFUw0KPiAgICAgICAgICAgICAoDQo+ICAgICAgICAgICAgICAgICAjSWQjLA0KPiAg ICAgICAgICAgICAgICAgI015RGF0ZTpEYXRlVGltZTowMS8wMS8wMDAxIDAwOjAwOjAwIw0KPiAg ICAgICAgICAgICApDQo+DQo+IAlUaGVuIGlmIHlvdSBwYXNzIGFuIG9iamVjdCB3aXRoIGl0cyBw cm9wZXJ0eSBNeURhdGUgc2V0cyB0bw0KPiBEYXRlVGltZS5NaW5WYWx1ZSwgYSBOVUxMIHZhbHVl IGlzIGluc2VydGVkIGluIHRoZSBjb3JyZXNwb25kaW5nIGNvbHVtbi4NCj4NCg0KVGhhdCdzIHRo ZSBwb2ludCwgTmljb2xhcywgdGhlIGlubGluZSBzeW50YXggd29ya3MgKGV2ZW4gZm9yIG1lKSwg dGhlDQoqZXF1aXZhbGVudCogcmVzdWx0TWFwIHN5bnRheCBkb2VzICpub3QqLiBUaGUgcXVlc3Rp b24gaXM6IHdoeS4NCg0KQW5kcmVhDQoNCg0KPiBOaWNvbGFzDQo+DQo+DQo+IC0tLS0tTWVzc2Fn ZSBkJ29yaWdpbmUtLS0tLQ0KPiBEZSA6IEFuZHJlYSBUYXNzaW5hcmkgW21haWx0bzphbmRyZWFt bEBpLW1jb25zdWx0aW5nLmNvbV0NCj4gRW52b3nDqSA6IHZlbmRyZWRpIDI4IHNlcHRlbWJyZSAy MDA3IDE3OjEyDQo+IMOAIDogdXNlci1jc0BpYmF0aXMuYXBhY2hlLm9yZw0KPiBPYmpldCA6IFJl OiBudWxsVmFsdWUgaW4gUmVzdWx0TWFwIHNpbXBseSBkb2VzIG5vdCB3b3JrDQo+DQo+IEF0IDE1 LjMwIDI4LzA5LzIwMDcsIEJvYiBIYW5zb24gd3JvdGU6DQo+DQo+Pi5ORVQgMi4wIE51bGxhYmxl IHR5cGVzIHdpbGwgd29yayBjb3JyZWN0bHkgd2l0aCBudWxsIHZhbHVlcy4NCj4NCj4geWVzIEkg Y2FuIHVuZGVyc3RhbmQsIGJ1dCBJIGRvbid0IGxpa2UgdGhlIGlkZWEgdG8gY29udmVydCBhbGwg RGF0ZVRpbWUNCj4gYW5kIEd1aWQgaW4gbnVsbGFibGUgRGF0ZVRpbWUgd2l0aCBvYnZpdW9zIGNv bnNlcXVlbmNlcyBvbiBteSBjb2RlLg0KPg0KPiBBbnl3YXkgdGhlIGlCYXRpcyBtYW51YWwgc3Rh dGVzIHRoYXQgdGhlIGF0dHJpYnV0ZSAibnVsbFZhbHVlIiBpbiB0aGUNCj4gcmVzdWx0bWFwIHNo b3VsZCB3b3JrIGp1c3QgZmluZSBhcyB0aGUgaW5saW5lIHNlbWFudGljcywgSSBkb250IHVuZGVy c3RhbmQNCj4gaWYgSSdtIGV4cGVyaWVuY2luZyBhIGJ1ZyBvciBJIGFtIG1pc3Npbmcgc29tZXRo aW5nLg0KPg0KPiBBbmRyZWENCj4NCj4NCj4+T24gOS8yOC8wNywgQW5kcmVhIFRhc3NpbmFyaQ0K Pj4gPDxtYWlsdG86YW5kcmVhbWxAaS1tY29uc3VsdGluZy5jb20+YW5kcmVhbWxAaS1tY29uc3Vs dGluZy5jb20gPiB3cm90ZToNCj4+SGVsbG8sDQo+Pg0KPj5JJ20gd29uZGVyaW5nIHdoeSBudWxs VmFsdWUgYXR0cmlidXRlIGRvZXMgbm90IHdvcmsgYXQgYWxsIHRvIG1lLg0KPj4gQ29uc2lkZXIg dGhlIGZvbGxvd2luZyBzbmlwcGV0cw0KPj4NCj4+PCEtLSBzcWxNYXAgLS0+DQo+PjxyZXN1bHRN YXBzPg0KPj4gICA8cmVzdWx0TWFwIGlkPSJJc3N1ZVJlc3VsdE1hcCIgY2xhc3M9Iklzc3VlIj4N Cj4+ICAgICAgPHJlc3VsdCBwcm9wZXJ0eT0iSWQiDQo+PiAgICAgICAgICAgICAgIGNvbHVtbj0i SWQiDQo+PiAgICAgICAgICAgICAgIHR5cGU9Ikd1aWQiDQo+PiAgICAgICAgICAgICAgIGRiVHlw ZT0iVW5pcXVlSWRlbnRpZmllciIgLz4NCj4+ICAgICAgIDxyZXN1bHQgcHJvcGVydHk9Iklzc3Vl RGF0ZSINCj4+ICAgICAgICAgICAgICAgY29sdW1uPSJJc3N1ZURhdGUiDQo+PiAgICAgICAgICAg ICAgIHR5cGU9IkRhdGVUaW1lIg0KPj4gICAgICAgICAgICAgICBkYlR5cGU9IkRhdGVUaW1lIg0K Pj4gICAgICAgICAgICAgICBudWxsVmFsdWU9IjEvMS8wMDAxIDEyOjAwOjAwIEFNIiAvPg0KPj4g ICA8L3Jlc3VsdE1hcCA+DQo+PjwvcmVzdWx0TWFwcz4NCj4+DQo+PjwhLS0gdGhpcyBkb2VzICoq bm90Kiogd29yaywgc3FsY2xpZW50IGNvbXBsYWlucyBhYm91dCBJc3N1ZURhdGUtLT4NCj4+PGlu c2VydCBpZD0iSW5zZXJ0IiBwYXJhbWV0ZXJDbGFzcz0iSXNzdWUiPg0KPj4gICBJTlNFUlQNCj4+ ICAgICBJTlRPIElTU1VFUw0KPj4gICAgICAgICAgKElkLCBJc3N1ZURhdGUpDQo+PiAgICAgVkFM VUVTDQo+PiAgICAgICAgICAoI0lkIywjSXNzdWVEYXRlIykNCj4+PC9pbnNlcnQ+DQo+Pg0KPj48 IS0tIHRoaXMgKipkb2VzKiogd29yayAtLT4NCj4+PGluc2VydCBpZD0iSW5zZXJ0SXNzdWUiIHBh cmFtZXRlckNsYXNzPSJJc3N1ZSI+DQo+PiAgIElOU0VSVA0KPj4gICAgIElOVE8gSVNTVUVTDQo+ PiAgICAgICAgICAoSWQsIElzc3VlRGF0ZSkNCj4+ICAgICBWQUxVRVMNCj4+ICAgICAgICAgICgj SWQjLCNJc3N1ZURhdGU6RGF0ZVRpbWU6MS8xLzAwMDEgMTI6MDA6MDAgQU0jKQ0KPj48L2luc2Vy dD4NCj4+DQo+Pi8vQ1Mgc25pcHBldA0KPj5Jc3N1ZSBpc3N1ZSA9IG5ldyBJc3N1ZSgpOw0KPj4N Cj4+Ly90aGlzIGlzIG9ubHkgZm9yIGNsYXJpdHkgc2FrZSwgYWN0dWFsbHkgcGVyZm9ybWVkIGJ5 IHRoZSBjb250cnVjdG9ycy4NCj4+aXNzdWUuSXNzdWVEYXRlID0gbmV3IERhdGVUaW1lKCk7DQo+ Pg0KPj4vL2ZpbmFsbHkgcGVyc2lzdCB0byBEQg0KPj5fbWFwcGVyLkluc2VydCgiSW5zZXJ0SXNz dWUiLCBpc3N1ZSk7DQo+Pg0KPj5JcyB0aGVyZSBhIHJlYXNvbiBmb3IgdGhhdD8gSSBhbSB3cm9u ZyBvciBlbHNlPyBJdCAqaXMqIHZlcnkgYm9yaW5nIGFuZA0KPj4gZXJyb3ItcHJvbmUgdG8gd3Jp dGUgYWxsIG51bGxWYWx1ZSBjb25kaXRpb24gaW4gdGhlIGlubGluZSBmb3JtIChjb25zaWRlcg0K Pj4gdGhhdCBJIGhhdmUgb3ZlciAyMDAgaW5zZXJ0L3VwZGF0ZSBzdGF0ZW1lbnRzIGluIG15IGFw cC4NCj4+DQo+Pk15IHN5c3RlbToNCj4+DQo+Pi5ORVQgMi4wDQo+PmlCYXRpcyBEYXRhTWFwcGVy IDEuNi4xIEdBIGJpbmFyeSB2ZXJzaW9uDQo+PlNxbCBTZXJ2ZXIgMi4wDQo+PnVzaW5nIHByb3Zp ZGVyIHNxbFNlcnZlcjIuMCBhcyBzaGlwcGVkIGluIHByb3ZpZGVycy5jb25maWcNCj4+DQo+PlRo YW5rcyBmb3IgYW55IHN1cHBvcnQuDQo+Pg0KPj4tLQ0KPj5LaW5kIFJlZ2FyZHMNCj4+QW5kcmVh DQo+Pg0KPj4NCj4+DQo+Pg0KPj5ObyB2aXJ1cyBmb3VuZCBpbiB0aGlzIGluY29taW5nIG1lc3Nh Z2UuDQo+PkNoZWNrZWQgYnkgQVZHIEZyZWUgRWRpdGlvbi4NCj4+VmVyc2lvbjogNy41LjQ4OCAv IFZpcnVzIERhdGFiYXNlOiAyNjkuMTMuMzMvMTAzNCAtIFJlbGVhc2UgRGF0ZToNCj4+IDI3LzA5 LzIwMDcgMTcuMDANCj4NCj4NCg0KDQotLSANCkFuZHJlYVQNCg0K From [email protected] Sat Sep 29 07:17:15 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92616 invoked from network); 29 Sep 2007 07:17:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Sep 2007 07:17:15 -0000 Received: (qmail 71574 invoked by uid 500); 29 Sep 2007 07:17:05 -0000 Delivered-To: [email protected] Received: (qmail 71324 invoked by uid 500); 29 Sep 2007 07:17:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71313 invoked by uid 99); 29 Sep 2007 07:17:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Sep 2007 00:17:04 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mailhost1.i-mconsulting.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Sep 2007 07:19:31 +0000 Received: from webmail.i-mconsulting.com (localhost.localdomain [161.129.204.104]) by mailhost1.i-mconsulting.com (Postfix) with ESMTP id 6D56C11BC5 for <[email protected]>; Sat, 29 Sep 2007 09:16:45 +0200 (CEST) Received: from 161.129.204.104 (SquirrelMail authenticated user [email protected]) by webmail.i-mconsulting.com with HTTP; Sat, 29 Sep 2007 09:16:45 +0200 (CEST) Message-ID: <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Sat, 29 Sep 2007 09:16:45 +0200 (CEST) Subject: Re: RE : RE : nullValue in ResultMap simply does not work From: "AndreaT" <[email protected]> To: [email protected] Reply-To: [email protected] User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org On Ven, 28 Settembre 2007 6:31 pm, EXT / ASTEK MOUSSON Nicolas disse: > Your result-map is not helpful for your Insert scenario. Result maps only > serves for SELECT statements. > > > Nicolas I think you are right, I got confused between resultMaps and parameterMaps. I should build a parametemap and use it in the insert/update statement <insert id="" paramaterMap=""> instead of <insert id="" paramaterClass=""> -- AndreaT From [email protected] Sat Sep 29 09:55:56 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28244 invoked from network); 29 Sep 2007 09:55:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Sep 2007 09:55:56 -0000 Received: (qmail 43111 invoked by uid 500); 29 Sep 2007 09:55:45 -0000 Delivered-To: [email protected] Received: (qmail 43098 invoked by uid 500); 29 Sep 2007 09:55:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 43087 invoked by uid 99); 29 Sep 2007 09:55:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Sep 2007 02:55:45 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wx-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Sep 2007 09:55:46 +0000 Received: by wx-out-0506.google.com with SMTP id h29so2394192wxd for <[email protected]>; Sat, 29 Sep 2007 02:55:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=ZVMTHygw/PeX6BqYyJhawlXhw2oayZTv5SjhOgFTn08=; b=VN0a44s/9TAW5t6G2mwsdhcoV1+r+GccPtAvLTjOigNOxFvM6q8zSwpi9RhC/7/X/wId6HFfwEesWlVD3HCuAsMMbegl7w5P3JIaeVCSNpat+rUGjT00PIvsLuc63Go8HuWcv05fs+qeaHB3+KcWPls9cIDQIwUw36hORWCTUI4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=h1lJwhv6r0DhvESrKHkMwkoNkjwYNqr8JGFQagmlJlWZrbMMm4BNBbvbhh6VVbHA6eqnRote7+SpbUGHdeJpncxzhrYh7AJr7RHnUloIqqKa+SiPnJrMNA3YBAjJrM+nqTbpCQsc5kuIMqdxbPQ31C77WnPeQ6bgve19XHH54q4= Received: by 161.129.204.104 with SMTP id t3mr656067aga.1191059725431; Sat, 29 Sep 2007 02:55:25 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sat, 29 Sep 2007 02:55:25 -0700 (PDT) Message-ID: <[email protected]> Date: Sat, 29 Sep 2007 11:55:25 +0200 From: "Gilles Bayon" <[email protected]> To: [email protected] Subject: Re: nullValue in ResultMap simply does not work In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4607_536564.1191059725420" References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_4607_536564.1191059725420 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Remove the AM ! I have used it without problem in Result and Parameter Map <parameterMap id="EnfantsDossierSauver-params" class="Hashtable"> <parameter property="DateNaissance" column="DateNaissance" nullValue="01/01/0001 00:00:00" /> <parameter property="LieuNaissance" column="LieuNaissance" /> .... <resultMap id="Dossier-result" class="Dossier"> <result property="Id" column="Id" /> <result property="DateSignature" column="DateSignature" /> <result property="Commentaire" column="Commentaire" /> <result property="DateTransmissionPrevue" column="DateTransmissionPrevue" nullValue="01/01/0001 00:00:00" /> ... -- Cheers, Gilles <a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE">Wish List</a> ------=_Part_4607_536564.1191059725420 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Remove the AM !<br>I have used it without problem in Result and Parameter Map<br><br>&lt;parameterMap id=&quot;EnfantsDossierSauver-params&quot; class=&quot;Hashtable&quot;&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;parameter property=&quot;DateNaissance&quot; column=&quot;DateNaissance&quot; nullValue=&quot;01/01/0001 00:00:00&quot; /&gt; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;parameter property=&quot;LieuNaissance&quot; column=&quot;LieuNaissance&quot; /&gt;<br>....<br>&lt;resultMap id=&quot;Dossier-result&quot; class=&quot;Dossier&quot;&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;result property=&quot;Id&quot; column=&quot;Id&quot; /&gt; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;result property=&quot;DateSignature&quot; column=&quot;DateSignature&quot; /&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;result property=&quot;Commentaire&quot; column=&quot;Commentaire&quot; /&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;result property=&quot;DateTransmissionPrevue&quot; column=&quot;DateTransmissionPrevue&quot; nullValue=&quot;01/01/0001 00:00:00&quot; /&gt; <br>...<br><br>-- <br>Cheers,<br>Gilles<br><br>&lt;a href=&quot;<a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.amazon.com/gp/registry/6JCP7AORB0LE </a>&quot;&gt;Wish List&lt;/a&gt; ------=_Part_4607_536564.1191059725420-- From [email protected] Mon Oct 01 06:21:17 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89868 invoked from network); 1 Oct 2007 06:21:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Oct 2007 06:21:16 -0000 Received: (qmail 9795 invoked by uid 500); 1 Oct 2007 06:21:06 -0000 Delivered-To: [email protected] Received: (qmail 9777 invoked by uid 500); 1 Oct 2007 06:21:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user-cs.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 9765 invoked by uid 99); 1 Oct 2007 06:21:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Sep 2007 23:21:05 -0700 X-ASF-Spam-Status: No, hits=-2.0 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO maillnx-us311.fmr.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 06:21:07 +0000 Received: from MSGMMKSM01WIN.DMN1.FMR.COM (MSGMMKSM01WIN.dmn1.fmr.com [161.129.204.104]) by maillnx-us311.fmr.com (Switch-3.1.8/Switch-3.1.7) with SMTP id l916KjCT030988 for <[email protected]>; Mon, 1 Oct 2007 02:20:45 -0400 Received: from MSGMMKIV02WIN.DMN1.FMR.COM (161.129.204.104) by MSGMMKSM01WIN.DMN1.FMR.COM (Sigaba Gateway v4.1) with ESMTP id 160072331; Mon, 01 Oct 2007 02:20:45 -0400 Received: from MSGMMKIM02WIN.DMN1.FMR.COM ([161.129.204.104]) by MSGMMKIV02WIN.DMN1.FMR.COM with SMTP_server; Mon, 01 Oct 2007 02:20:45 -0400 Received: from MSGMRORG02WIN.DMN1.FMR.COM ([161.129.204.104]) by MSGMMKIM02WIN.DMN1.FMR.COM with Microsoft SMTPSVC(5.0.2195.6713); Mon, 1 Oct 2007 02:20:44 -0400 Received: from MSGBANRG01WIN.DMN1.FMR.COM ([161.129.204.104]) by MSGMRORG02WIN.DMN1.FMR.COM with Microsoft SMTPSVC(5.0.2195.6713); Mon, 1 Oct 2007 02:20:44 -0400 Received: from msgbanclb2win.DMN1.FMR.COM ([161.129.204.104]) by MSGBANRG01WIN.DMN1.FMR.COM with Microsoft SMTPSVC(5.0.2195.6713); Mon, 1 Oct 2007 02:20:42 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C803F3.31807F77" Subject: Sybase Procedure +iBatis + Return Code Date: Mon, 1 Oct 2007 11:50:42 +0530 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Sybase Procedure +iBatis + Return Code Thread-Index: AcgD8zF9G8I6oCGmSuSUZ1Mq187zwQ== From: "Karekal, Jyothi" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 01 Oct 2007 06:20:42.0609 (UTC) FILETIME=[31B74610:01C803F3] X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C803F3.31807F77 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi All, =20 In our project we are using Sybase procedures with Ibatis. In case of an error, procedure will raise an error message after that an error code is returned. We are supposed to capture RETURN error code 30007.=20 =20 We are getting RAISEERROR as a java exception and we catch it. But after that we are not getting the RETURN code(30007). =20 Ex. Procedure: =20 create proc prc_my_dummy (@parm_ip_id numeric(10,0)=20 as select first_nm, last_nm, tax_id_nbr from t_prip_inv_prty where ip_id =3D @parm_ip_id if (@parm_ip_id =3D 0) begin =20 RAISERROR 28500,'Error from stored procedure : ','Ip id can not be 0' RETURN 30007 End =20 Is there any solution that could help me in getting the RETURN error code through Ibatis? =20 Thanks in advance. =20 =20 Regards, Jyothi Karekal =20 ------_=_NextPart_001_01C803F3.31807F77 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <META content=3D"MSHTML 6.00.2900.3157" name=3DGENERATOR></HEAD> <BODY> <DIV><FONT face=3DArial> <DIR><FONT face=3DVerdana size=3D2> <P class=3DMsoNormal=20 style=3D"MARGIN: 0in 0in 0pt 0.25in; mso-layout-grid-align: none"><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: = Verdana">Hi=20 All,<?xml:namespace prefix =3D o ns =3D = "urn:schemas-microsoft-com:office:office"=20 /><o:p></o:p></SPAN></P> <P class=3DMsoNormal=20 style=3D"MARGIN: 0in 0in 0pt 0.25in; mso-layout-grid-align: none"><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: = Verdana"><o:p>&nbsp;</o:p></SPAN></P> <P class=3DMsoNormal=20 style=3D"MARGIN: 0in 0in 0pt 0.25in; mso-layout-grid-align: none"><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: = Verdana">In=20 our project we are using Sybase procedures with Ibatis. In case of an = error,=20 procedure will raise an error message after that an error code is = returned. We=20 are supposed to capture RETURN error code 30007. <o:p></o:p></SPAN></P> <P class=3DMsoNormal=20 style=3D"MARGIN: 0in 0in 0pt 0.25in; mso-layout-grid-align: none"><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: = Verdana"><o:p>&nbsp;</o:p></SPAN></P> <P class=3DMsoNormal=20 style=3D"MARGIN: 0in 0in 0pt 0.25in; mso-layout-grid-align: none"><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: = Verdana">We=20 are getting RAISEERROR as a java exception and we catch it. But after = that we=20 are not getting the RETURN code(30007).<o:p></o:p></SPAN></P> <P class=3DMsoNormal=20 style=3D"MARGIN: 0in 0in 0pt 0.25in; mso-layout-grid-align: none"><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: = Verdana"><o:p>&nbsp;</o:p></SPAN></P> <P class=3DMsoNormal=20 style=3D"MARGIN: 0in 0in 0pt 0.25in; mso-layout-grid-align: none"><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: = Verdana">Ex.=20 Procedure:<o:p></o:p></SPAN></P> <P class=3DMsoNormal=20 style=3D"MARGIN: 0in 0in 0pt 0.25in; mso-layout-grid-align: none"><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: = Verdana"><o:p>&nbsp;</o:p></SPAN></P> <P class=3DMsoNormal=20 style=3D"MARGIN: 0in 0in 0pt 1.25in; TEXT-INDENT: -1in; = mso-layout-grid-align: none; tab-stops: 1.0in"><SPAN=20 style=3D"FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; = mso-bidi-font-family: Verdana">create=20 proc prc_my_dummy (@parm_ip_id numeric(10,0) <o:p></o:p></SPAN></P> <P class=3DMsoNormal=20 style=3D"MARGIN: 0in 0in 0pt 1.25in; TEXT-INDENT: -1in; = mso-layout-grid-align: none; tab-stops: 1.0in"><SPAN=20 style=3D"FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; = mso-bidi-font-family: Verdana">as<o:p></o:p></SPAN></P> <P class=3DMsoNormal=20 style=3D"MARGIN: 0in 0in 0pt 1.25in; TEXT-INDENT: -1in; = mso-layout-grid-align: none; tab-stops: 1.0in"><SPAN=20 style=3D"FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; = mso-bidi-font-family: Verdana">select=20 first_nm, last_nm, tax_id_nbr<o:p></o:p></SPAN></P> <P class=3DMsoNormal=20 style=3D"MARGIN: 0in 0in 0pt 1.25in; TEXT-INDENT: -1in; = mso-layout-grid-align: none; tab-stops: 1.0in"><SPAN=20 style=3D"FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; = mso-bidi-font-family: Verdana">from=20 t_prip_inv_prty<o:p></o:p></SPAN></P> <P class=3DMsoNormal=20 style=3D"MARGIN: 0in 0in 0pt 1.25in; TEXT-INDENT: -1in; = mso-layout-grid-align: none; tab-stops: 1.0in"><SPAN=20 style=3D"FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; = mso-bidi-font-family: Verdana">where=20 ip_id =3D @parm_ip_id<o:p></o:p></SPAN></P> <P class=3DMsoNormal=20 style=3D"MARGIN: 0in 0in 0pt 1.25in; TEXT-INDENT: -1in; = mso-layout-grid-align: none; tab-stops: 1.0in"><SPAN=20 style=3D"FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; = mso-bidi-font-family: Verdana">if=20 (@parm_ip_id =3D 0)<o:p></o:p></SPAN></P> <P class=3DMsoNormal=20 style=3D"MARGIN: 0in 0in 0pt 1.25in; TEXT-INDENT: -1in; = mso-layout-grid-align: none; tab-stops: 1.0in"><SPAN=20 style=3D"FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; = mso-bidi-font-family: Verdana">begin<SPAN=20 style=3D"mso-spacerun: = yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 </SPAN><o:p></o:p></SPAN></P> <P class=3DMsoNormal=20 style=3D"MARGIN: 0in 0in 0pt 1.25in; TEXT-INDENT: -1in; = mso-layout-grid-align: none; tab-stops: 1.0in"><SPAN=20 style=3D"FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; = mso-bidi-font-family: Verdana"><SPAN=20 style=3D"mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN=20 style=3D"FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: Verdana; = mso-bidi-font-family: Verdana">RAISERROR=20 28500,'Error from stored procedure : ','Ip id can not be=20 0'<o:p></o:p></SPAN></P> <P class=3DMsoNormal=20 style=3D"MARGIN: 0in 0in 0pt 1.25in; TEXT-INDENT: -1in; = mso-layout-grid-align: none; tab-stops: 1.0in"><SPAN=20 style=3D"FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: Verdana; = mso-bidi-font-family: Verdana"><SPAN=20 style=3D"mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>RETURN = 30007</SPAN><SPAN=20 style=3D"FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; = mso-bidi-font-family: Verdana"><o:p></o:p></SPAN></P> <P class=3DMsoNormal=20 style=3D"MARGIN: 0in 0in 0pt 0.25in; mso-layout-grid-align: none"><SPAN=20 style=3D"FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; = mso-bidi-font-family: Verdana">End</SPAN></P><SPAN=20 style=3D"FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; = mso-bidi-font-family: Verdana"> <P class=3DMsoNormal=20 style=3D"MARGIN: 0in 0in 0pt 0.25in; mso-layout-grid-align: none"><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: = Verdana"></SPAN>&nbsp;</P> <P class=3DMsoNormal=20 style=3D"MARGIN: 0in 0in 0pt 0.25in; mso-layout-grid-align: none"><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: = Verdana">Is=20 there any solution that could help me in getting the RETURN error code = through=20 Ibatis?<o:p></o:p></SPAN></P> <P class=3DMsoNormal=20 style=3D"MARGIN: 0in 0in 0pt 0.25in; mso-layout-grid-align: none"><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: = Verdana"><o:p>&nbsp;</o:p></SPAN></P> <P class=3DMsoNormal=20 style=3D"MARGIN: 0in 0in 0pt 0.25in; mso-layout-grid-align: none"><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: = Verdana">Thanks=20 in advance.</SPAN></P> <P class=3DMsoNormal=20 style=3D"MARGIN: 0in 0in 0pt 0.25in; mso-layout-grid-align: none"><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: = Verdana"><o:p></o:p></SPAN>&nbsp;</P> <P class=3DMsoNormal=20 style=3D"MARGIN: 0in 0in 0pt 0.25in; mso-layout-grid-align: = none"><o:p></o:p></SPAN>&nbsp;</P></FONT></DIR></FONT></DIV><!-- = Converted from text/rtf format --> <P><SPAN lang=3Den-us><FONT face=3DVerdana size=3D2>Regards,</FONT><FONT = face=3D"Times New Roman"><BR><B></B></FONT><B><FONT face=3DVerdana = size=3D2>Jyothi=20 Karekal</FONT></B><FONT face=3D"Times New Roman"><BR></FONT></SPAN></P> <DIV>&nbsp;</DIV></BODY></HTML> ------_=_NextPart_001_01C803F3.31807F77--
From [email protected] Tue Dec 07 13:24:04 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42214 invoked from network); 7 Dec 2010 13:24:04 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 7 Dec 2010 13:24:04 -0000 Received: (qmail 83362 invoked by uid 500); 7 Dec 2010 13:24:04 -0000 Delivered-To: [email protected] Received: (qmail 83318 invoked by uid 500); 7 Dec 2010 13:24:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <kato-spec.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 83301 invoked by uid 99); 7 Dec 2010 13:24:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Dec 2010 13:24:02 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO moutng.kundenserver.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Dec 2010 13:23:54 +0000 Received: from [161.129.204.104] (gbibp9ph1--blueice3n2.emea.ibm.com [161.129.204.104]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0M96Hl-1PE6UY3qMX-00C7Wg; Tue, 07 Dec 2010 14:23:32 +0100 Message-ID: <[email protected]> Date: Tue, 07 Dec 2010 13:23:19 +0000 From: Stuart Monteith <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:161.129.204.104) Gecko/20101027 Thunderbird/3.0.10 MIME-Version: 1.0 To: [email protected], [email protected] Subject: Kato Incubator status Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:oEQWwqwGg4imVZkUM2Tes9UQPcdkwKH/Quja/nqr/h3 Nt1FGh22vNAgmtL3ZKXbMVq32dNK4NdG72OekUQph4MssdCCh2 Mt2SBihWxx/5J8HoTV8896WwzBq9oCFS9qizyZlz+HROrVYZ+1 fkyxsrVHmCDq8RgfSBB3Ran5ukFjqtO4nWJ9ZYnT1J5kgewqW0 Y06kYrVxaxsdU3XvgWnts0wTdADuT/7zxc0nvhz5Zo= Hi, I had hoped that we would have something more to say, but I've just copied our previous report for December. The report is here: http://wiki.apache.org/incubator/December2010 Please post here ASAP if you have something to add. Thanks, Stuart
From [email protected] Mon Nov 03 07:08:38 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15862 invoked from network); 3 Nov 2008 07:08:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Nov 2008 07:08:38 -0000 Received: (qmail 46683 invoked by uid 500); 3 Nov 2008 07:08:45 -0000 Delivered-To: [email protected] Received: (qmail 46625 invoked by uid 500); 3 Nov 2008 07:08:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Regexp Developers List" <regexp-dev.jakarta.apache.org> Reply-To: "Regexp Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 46614 invoked by uid 99); 3 Nov 2008 07:08:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Nov 2008 23:08:44 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 07:07:36 +0000 Received: by brutus.apache.org (Postfix, from userid 1007) id C83A4234C26B; Sun, 2 Nov 2008 23:08:17 -0800 (PST) From: [email protected] To: [email protected] Subject: Bug report for Regexp [2008/11/02] Message-Id: <[email protected]> Date: Sun, 2 Nov 2008 23:08:17 -0800 (PST) X-Virus-Checked: Checked by ClamAV on apache.org +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement TRV=Trivial | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | |24234|New|Nor|2003-10-29|Doesn't seem to be a way to use '\' in subst with | |36753|New|Nor|2005-09-21|method subst() on RegExp "^" should work different| |42058|New|Nor|2007-04-05|subst() doesn't return the original string when no| |43219|New|Nor|2007-08-27|:graph: should match any printable & visible chara| +-----+---+---+----------+--------------------------------------------------+ | Total 4 bugs | +---------------------------------------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Nov 10 07:09:15 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34382 invoked from network); 10 Nov 2008 07:09:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Nov 2008 07:09:15 -0000 Received: (qmail 21728 invoked by uid 500); 10 Nov 2008 07:09:16 -0000 Delivered-To: [email protected] Received: (qmail 21675 invoked by uid 500); 10 Nov 2008 07:09:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Regexp Developers List" <regexp-dev.jakarta.apache.org> Reply-To: "Regexp Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 21610 invoked by uid 99); 10 Nov 2008 07:09:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Nov 2008 23:09:15 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Nov 2008 07:08:05 +0000 Received: by brutus.apache.org (Postfix, from userid 1007) id 2A09E234C291; Sun, 9 Nov 2008 23:08:18 -0800 (PST) From: [email protected] To: [email protected] Subject: Bug report for Regexp [2008/11/09] Message-Id: <[email protected]> Date: Sun, 9 Nov 2008 23:08:18 -0800 (PST) X-Virus-Checked: Checked by ClamAV on apache.org +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement TRV=Trivial | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | |24234|New|Nor|2003-10-29|Doesn't seem to be a way to use '\' in subst with | |36753|New|Nor|2005-09-21|method subst() on RegExp "^" should work different| |42058|New|Nor|2007-04-05|subst() doesn't return the original string when no| |43219|New|Nor|2007-08-27|:graph: should match any printable & visible chara| +-----+---+---+----------+--------------------------------------------------+ | Total 4 bugs | +---------------------------------------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Nov 17 07:09:14 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69987 invoked from network); 17 Nov 2008 07:09:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Nov 2008 07:09:14 -0000 Received: (qmail 60160 invoked by uid 500); 17 Nov 2008 07:09:17 -0000 Delivered-To: [email protected] Received: (qmail 60070 invoked by uid 500); 17 Nov 2008 07:09:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Regexp Developers List" <regexp-dev.jakarta.apache.org> Reply-To: "Regexp Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 59937 invoked by uid 99); 17 Nov 2008 07:09:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Nov 2008 23:09:16 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Nov 2008 07:08:03 +0000 Received: by brutus.apache.org (Postfix, from userid 1007) id CD317234C287; Sun, 16 Nov 2008 23:08:17 -0800 (PST) From: [email protected] To: [email protected] Subject: Bug report for Regexp [2008/11/16] Message-Id: <[email protected]> Date: Sun, 16 Nov 2008 23:08:17 -0800 (PST) X-Virus-Checked: Checked by ClamAV on apache.org +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement TRV=Trivial | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | |24234|New|Nor|2003-10-29|Doesn't seem to be a way to use '\' in subst with | |36753|New|Nor|2005-09-21|method subst() on RegExp "^" should work different| |42058|New|Nor|2007-04-05|subst() doesn't return the original string when no| |43219|New|Nor|2007-08-27|:graph: should match any printable & visible chara| +-----+---+---+----------+--------------------------------------------------+ | Total 4 bugs | +---------------------------------------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Nov 24 07:09:20 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2931 invoked from network); 24 Nov 2008 07:09:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Nov 2008 07:09:20 -0000 Received: (qmail 79885 invoked by uid 500); 24 Nov 2008 07:09:18 -0000 Delivered-To: [email protected] Received: (qmail 79858 invoked by uid 500); 24 Nov 2008 07:09:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Regexp Developers List" <regexp-dev.jakarta.apache.org> Reply-To: "Regexp Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 79794 invoked by uid 99); 24 Nov 2008 07:09:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Nov 2008 23:09:17 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Nov 2008 07:08:01 +0000 Received: by brutus.apache.org (Postfix, from userid 1007) id 38288234C29B; Sun, 23 Nov 2008 23:08:17 -0800 (PST) From: [email protected] To: [email protected] Subject: Bug report for Regexp [2008/11/23] Message-Id: <[email protected]> Date: Sun, 23 Nov 2008 23:08:17 -0800 (PST) X-Virus-Checked: Checked by ClamAV on apache.org +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement TRV=Trivial | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | |24234|New|Nor|2003-10-29|Doesn't seem to be a way to use '\' in subst with | |36753|New|Nor|2005-09-21|method subst() on RegExp "^" should work different| |42058|New|Nor|2007-04-05|subst() doesn't return the original string when no| |43219|New|Nor|2007-08-27|:graph: should match any printable & visible chara| +-----+---+---+----------+--------------------------------------------------+ | Total 4 bugs | +---------------------------------------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Sat Nov 05 20:14:57 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26504 invoked from network); 5 Nov 2005 20:14:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Nov 2005 20:14:56 -0000 Received: (qmail 1041 invoked by uid 500); 5 Nov 2005 20:14:56 -0000 Delivered-To: [email protected] Received: (qmail 1006 invoked by uid 500); 5 Nov 2005 20:14:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 995 invoked by uid 99); 5 Nov 2005 20:14:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Nov 2005 12:14:55 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 05 Nov 2005 12:14:50 -0800 Received: (qmail 26446 invoked by uid 65534); 5 Nov 2005 20:14:34 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r331030 - /ibatis/trunk/site/pages/newsbyte.vm Date: Sat, 05 Nov 2005 20:14:34 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cbegin Date: Sat Nov 5 12:14:32 2005 New Revision: 331030 URL: http://svn.apache.org/viewcvs?rev=331030&view=rev Log: apachecon newsbyte Modified: ibatis/trunk/site/pages/newsbyte.vm Modified: ibatis/trunk/site/pages/newsbyte.vm URL: http://svn.apache.org/viewcvs/ibatis/trunk/site/pages/newsbyte.vm?rev=331030&r1=331029&r2=331030&view=diff ============================================================================== --- ibatis/trunk/site/pages/newsbyte.vm (original) +++ ibatis/trunk/site/pages/newsbyte.vm Sat Nov 5 12:14:32 2005 @@ -1,3 +1,3 @@ <div id="NewsByte" valign="top" align="right"> -<p><a title="ApacheCon US 2005" href="http://www.apachecon.com"><img src="ac2005us_banner_468x60.jpg" border="0"/></p> +<p><a title="ApacheCon US 2005" href="http://www.apachecon.com"><img src="ac2005us_banner_468x60.jpg" border="0"/></a></p> </div> From [email protected] Sun Nov 06 06:47:07 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65916 invoked from network); 6 Nov 2005 06:47:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Nov 2005 06:47:07 -0000 Received: (qmail 65359 invoked by uid 500); 6 Nov 2005 06:47:07 -0000 Delivered-To: [email protected] Received: (qmail 65326 invoked by uid 500); 6 Nov 2005 06:47:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 65315 invoked by uid 99); 6 Nov 2005 06:47:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Nov 2005 22:47:06 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 05 Nov 2005 22:47:00 -0800 Received: (qmail 65847 invoked by uid 65534); 6 Nov 2005 06:46:45 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r331088 - in /ibatis/trunk/java: jpetstore/jpetstore4/src/org/apache/struts/beanaction/ jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/ mapper/mapper2/ mapper/mapper2/build/ Date: Sun, 06 Nov 2005 06:46:42 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cbegin Date: Sat Nov 5 22:46:31 2005 New Revision: 331088 URL: http://svn.apache.org/viewcvs?rev=331088&view=rev Log: Updated BeanAction library in JP4, incremented ibatis version Removed: ibatis/trunk/java/mapper/mapper2/FREEZEMARKER Modified: ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/ActionContext.java ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/ActionInterceptor.java ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/ActionInvoker.java ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/BaseBean.java ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/BeanAction.java ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/BeanActionException.java ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/DefaultActionInterceptor.java ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/ApplicationMap.java ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/BaseHttpMap.java ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/CookieMap.java ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/ParameterMap.java ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/RequestMap.java ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/SessionMap.java ibatis/trunk/java/mapper/mapper2/build/build.properties Modified: ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/ActionContext.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/ActionContext.java?rev=331088&r1=331087&r2=331088&view=diff ============================================================================== --- ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/ActionContext.java (original) +++ ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/ActionContext.java Sat Nov 5 22:46:31 2005 @@ -9,30 +9,41 @@ /** * The ActionContext class gives simplified, thread-safe access to + * <p/> * the request and response, as well as form parameters, request + * <p/> * attributes, session attributes, application attributes. Much + * <p/> * of this can be accopmplished without using the Struts or even + * <p/> * the Servlet API, therefore isolating your application from + * <p/> * presentation framework details. * <p/> + * <p/> + * <p/> * This class also provides facilities for simpler message and error + * <p/> * message handling. Although not as powerful as that provided by + * <p/> * Struts, it is great for simple applications that don't require + * <p/> * internationalization or the flexibility of resource bundles. * <p/> + * <p/> + * <p/> * <i>Note: A more complete error and message handling API will be implemented.</i> * <p/> + * <p/> + * <p/> * Date: Mar 9, 2004 9:57:39 PM * * @author Clinton Begin */ public class ActionContext { - private static final ThreadLocal localContext = new ThreadLocal(); - private HttpServletRequest request; private HttpServletResponse response; - private Map cookieMap; private Map parameterMap; private Map requestMap; @@ -110,3 +121,4 @@ return ctx; } } + Modified: ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/ActionInterceptor.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/ActionInterceptor.java?rev=331088&r1=331087&r2=331088&view=diff ============================================================================== --- ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/ActionInterceptor.java (original) +++ ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/ActionInterceptor.java Sat Nov 5 22:46:31 2005 @@ -1,7 +1,6 @@ package org.apache.struts.beanaction; public interface ActionInterceptor { - - String intercept (ActionInvoker invoker); - + String intercept(ActionInvoker invoker); } + Modified: ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/ActionInvoker.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/ActionInvoker.java?rev=331088&r1=331087&r2=331088&view=diff ============================================================================== --- ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/ActionInvoker.java (original) +++ ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/ActionInvoker.java Sat Nov 5 22:46:31 2005 @@ -3,7 +3,6 @@ import java.lang.reflect.Method; public class ActionInvoker { - private Method method; private BaseBean bean; @@ -12,12 +11,12 @@ this.bean = bean; } - public String invoke () { + public String invoke() { try { return (String) method.invoke(bean, null); } catch (Exception e) { - throw new BeanActionException ("Error invoking Action. Cause: " + e, e); + throw new BeanActionException("Error invoking Action. Cause: " + e, e); } } - } + Modified: ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/BaseBean.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/BaseBean.java?rev=331088&r1=331087&r2=331088&view=diff ============================================================================== --- ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/BaseBean.java (original) +++ ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/BaseBean.java Sat Nov 5 22:46:31 2005 @@ -8,16 +8,27 @@ /** * All actions mapped through the BeanAction class should be mapped + * <p/> * to a subclass of BaseBean (or have no form bean mapping at all). * <p/> + * <p/> + * <p/> * The BaseBean class simplifies the validate() and reset() methods + * <p/> * by allowing them to be managed without Struts dependencies. Quite + * <p/> * simply, subclasses can override the parameterless validate() + * <p/> * and reset() methods and set errors and messages using the ActionContext + * <p/> * class. * <p/> + * <p/> + * <p/> * <i>Note: Full error, message and internationalization support is not complete.</i> * <p/> + * <p/> + * <p/> * Date: Mar 12, 2004 9:20:39 PM * * @author Clinton Begin @@ -50,5 +61,5 @@ public ActionInterceptor getInterceptor() { return interceptor; } - } + Modified: ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/BeanAction.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/BeanAction.java?rev=331088&r1=331087&r2=331088&view=diff ============================================================================== --- ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/BeanAction.java (original) +++ ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/BeanAction.java Sat Nov 5 22:46:31 2005 @@ -11,96 +11,187 @@ /** * BeanAction is an extension to the typical Struts Action class that + * <p/> * enables mappings to bean methods. This allows for a more typical + * <p/> * Object Oriented design where each object has behaviour as part of + * <p/> * its definition. Instead of writing separate Actions and Forms, + * <p/> * BeanAction allows you to simply have a Bean, which models both + * <p/> * the state and the methods that operate on that state. * <p/> + * <p/> + * <p/> * In addition to the simpler packaging, BeanAction also simplifies the + * <p/> * Struts progamming paradigm and reduces dependency on Struts. Using + * <p/> * this pattern could allow easier migration to newer frameworks like JSF. * <p/> + * <p/> + * <p/> * The method signatures are greatly simplified to the following + * <p/> * <pre> + * <p/> * public String myActionMethod() { + * <p/> * //..work + * <p/> * return "success"; + * <p/> * } + * <p/> * </pre> + * <p/> * The return parameter becomes simply the name of the forward (as defined + * <p/> * in the config file as usual). Form parameters, request, response, session, + * <p/> * attributes, and cookies are all accessed via the ActionContext class (see the + * <p/> * ActionContext javadocs for more). * <p/> + * <p/> + * <p/> * The forms that you map to a BaseAction mapping must be a subclass of the + * <p/> * BaseBean class. BaseBean continues to simplify the validation and + * <p/> * reset methods by removing the parameters from the signature as was done with + * <p/> * the above action method example. * <p/> + * <p/> + * <p/> * There are 3 ways to map a BeanAction in the struts configuration file. + * <p/> * They are as follows. * <p/> + * <p/> + * <p/> * <B>URL Pattern</B> * <p/> + * <p/> + * <p/> * This approach uses the end of the action definition to determine which + * <p/> * method to call on the Bean. For example if you request the URL: * <p/> + * <p/> + * <p/> * http://localhost/jpetstore4/shop/viewOrder.do * <p/> + * <p/> + * <p/> * Then the method called would be "viewOrder" (of the mapped bean as specified + * <p/> * by the name="" parameter in the mapping below). The mapping used for this + * <p/> * approach is as follows. + * <p/> * <pre> + * <p/> * &lt;action path="/shop/<b>viewOrder</b>" type="org.apache.struts.beanaction.BeanAction" + * <p/> * name="orderBean" scope="session" + * <p/> * validate="false"&gt; + * <p/> * &lt;forward name="success" path="/order/ViewOrder.jsp"/&gt; + * <p/> * &lt;/action&gt; + * <p/> * </pre> * <p/> + * <p/> + * <p/> * <B>Method Parameter</B> * <p/> + * <p/> + * <p/> * This approach uses the Struts action parameter within the mapping + * <p/> * to determine the method to call on the Bean. For example the + * <p/> * following action mapping would cause the "viewOrder" method to + * <p/> * be called on the bean ("orderBean"). The mapping used for this + * <p/> * approach is as follows. + * <p/> * <pre> + * <p/> * &lt;action path="/shop/viewOrder" type="org.apache.struts.beanaction.BeanAction" + * <p/> * <b>name="orderBean" parameter="viewOrder"</b> scope="session" + * <p/> * validate="false"&gt; + * <p/> * &lt;forward name="success" path="/order/ViewOrder.jsp"/&gt; + * <p/> * &lt;/action&gt; + * <p/> * </pre> + * <p/> * <B>No Method call</B> * <p/> + * <p/> + * <p/> * BeanAction will ignore any Struts action mappings without beans associated + * <p/> * to them (i.e. no name="" attribute in the mapping). If you do want to associate + * <p/> * a bean to the action mapping, but do not want a method to be called, simply + * <p/> * set the parameter to an asterisk ("*"). The mapping used for this approach + * <p/> * is as follows (no method will be called). + * <p/> * <pre> + * <p/> * &lt;action path="/shop/viewOrder" type="org.apache.struts.beanaction.BeanAction" + * <p/> * <b>name="orderBean" parameter="*"</b> scope="session" + * <p/> * validate="false"&gt; + * <p/> * &lt;forward name="success" path="/order/ViewOrder.jsp"/&gt; + * <p/> * &lt;/action&gt; + * <p/> * </pre> * <p/> * <p/> + * <p/> + * <p/> + * <p/> * TO-DO List + * <p/> * <ul> + * <p/> * <li> Ignore mappings to methods that don't exist. + * <p/> * </ul> + * <p/> * </p> + * <p/> * <B>A WORK IN PROGRESS</B> * <p/> + * <p/> + * <p/> * <i>The BeanAction Struts extension is a work in progress. While it demonstrates + * <p/> * good patterns for application development, the framework itself is very new and + * <p/> * should not be considered stable. Your comments and suggestions are welcome. + * <p/> * Please visit <a href="http://www.ibatis.com">http://www.ibatis.com</a> for contact information.</i> * <p/> + * <p/> + * <p/> * Date: Mar 11, 2004 10:03:56 PM * * @author Clinton Begin @@ -108,17 +199,12 @@ * @see ActionContext */ public class BeanAction extends Action { - private static final String NO_METHOD_CALL = "*"; private static final String SUCCESS_FORWARD = "success"; - public final ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) - throws Exception { - + public final ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { String forward = SUCCESS_FORWARD; - try { - if (!(form instanceof BaseBean)) { if (form != null) { throw new BeanActionException("The form for mapping '" + mapping.getPath() + "' named '" + mapping.getName() + "' was not an instance of BaseBean. BeanAction requires an BaseBean instance."); @@ -126,14 +212,11 @@ throw new BeanActionException("The form for mapping '" + mapping.getPath() + "' named '" + mapping.getName() + "' was null. BeanAction requires an BaseBean instance."); } } - BaseBean bean = (BaseBean) form; - ActionContext.initCurrentContext(request, response); - if (bean != null) { - // Explicit Method Mapping + Method method = null; String methodName = mapping.getParameter(); if (methodName != null && !NO_METHOD_CALL.equals(methodName)) { @@ -147,7 +230,10 @@ } } + + // Path Based Method Mapping + if (method == null && !NO_METHOD_CALL.equals(methodName)) { methodName = mapping.getPath(); if (methodName.length() > 1) { @@ -166,13 +252,11 @@ } } } - } catch (Exception e) { forward = "error"; request.setAttribute("BeanActionException", e); } - return mapping.findForward(forward); } - } + Modified: ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/BeanActionException.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/BeanActionException.java?rev=331088&r1=331087&r2=331088&view=diff ============================================================================== --- ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/BeanActionException.java (original) +++ ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/BeanActionException.java Sat Nov 5 22:46:31 2005 @@ -1,32 +1,35 @@ package org.apache.struts.beanaction; -import com.ibatis.common.exception.NestedRuntimeException; +import org.apache.commons.lang.exception.NestableRuntimeException; /** * This exception is thrown internally by BeanAction and + * <p/> * can also be used by bean action methods as a general + * <p/> * or base exception. * <p/> + * <p/> + * <p/> * Date: Mar 13, 2004 8:17:00 PM * * @author Clinton Begin */ -public class BeanActionException extends NestedRuntimeException { - +public class BeanActionException extends NestableRuntimeException { public BeanActionException() { super(); } - public BeanActionException(String s) { - super(s); + public BeanActionException(String string) { + super(string); } public BeanActionException(Throwable throwable) { super(throwable); } - public BeanActionException(String s, Throwable throwable) { - super(s, throwable); + public BeanActionException(String string, Throwable throwable) { + super(string, throwable); } - } + Modified: ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/DefaultActionInterceptor.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/DefaultActionInterceptor.java?rev=331088&r1=331087&r2=331088&view=diff ============================================================================== --- ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/DefaultActionInterceptor.java (original) +++ ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/DefaultActionInterceptor.java Sat Nov 5 22:46:31 2005 @@ -1,9 +1,8 @@ package org.apache.struts.beanaction; public class DefaultActionInterceptor implements ActionInterceptor { - public String intercept(ActionInvoker invoker) { return invoker.invoke(); } - } + Modified: ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/ApplicationMap.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/ApplicationMap.java?rev=331088&r1=331087&r2=331088&view=diff ============================================================================== --- ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/ApplicationMap.java (original) +++ ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/ApplicationMap.java Sat Nov 5 22:46:31 2005 @@ -7,12 +7,13 @@ /** * Map to wrap application scope attributes. * <p/> + * <p/> + * <p/> * Date: Mar 11, 2004 11:21:25 PM * * @author Clinton Begin */ public class ApplicationMap extends BaseHttpMap { - private ServletContext context; public ApplicationMap(HttpServletRequest request) { @@ -34,5 +35,5 @@ protected void removeValue(Object key) { context.removeAttribute(String.valueOf(key)); } - } + Modified: ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/BaseHttpMap.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/BaseHttpMap.java?rev=331088&r1=331087&r2=331088&view=diff ============================================================================== --- ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/BaseHttpMap.java (original) +++ ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/BaseHttpMap.java Sat Nov 5 22:46:31 2005 @@ -4,12 +4,12 @@ /** * <p/> + * <p/> * Date: Mar 11, 2004 10:39:51 PM * * @author Clinton Begin */ public abstract class BaseHttpMap implements Map { - public int size() { return keySet().size(); } @@ -59,18 +59,18 @@ public Set keySet() { Set keySet = new HashSet(); - Enumeration enum = getNames(); - while (enum.hasMoreElements()) { - keySet.add(enum.nextElement()); + Enumeration names = getNames(); + while (names.hasMoreElements()) { + keySet.add(names.nextElement()); } return keySet; } public Collection values() { List list = new ArrayList(); - Enumeration enum = getNames(); - while (enum.hasMoreElements()) { - list.add(getValue(enum.nextElement())); + Enumeration names = getNames(); + while (names.hasMoreElements()) { + list.add(getValue(names.nextElement())); } return list; } @@ -79,7 +79,6 @@ return new HashSet(); } - protected abstract Enumeration getNames(); protected abstract Object getValue(Object key); @@ -87,5 +86,5 @@ protected abstract void putValue(Object key, Object value); protected abstract void removeValue(Object key); - } + Modified: ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/CookieMap.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/CookieMap.java?rev=331088&r1=331087&r2=331088&view=diff ============================================================================== --- ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/CookieMap.java (original) +++ ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/CookieMap.java Sat Nov 5 22:46:31 2005 @@ -7,12 +7,13 @@ /** * Map to wrap cookie names and values (READ ONLY). * <p/> + * <p/> + * <p/> * Date: Mar 11, 2004 11:31:35 PM * * @author Clinton Begin */ public class CookieMap extends BaseHttpMap { - private Cookie[] cookies; public CookieMap(HttpServletRequest request) { @@ -44,9 +45,7 @@ * Cookie Enumerator Class */ private class CookieEnumerator implements Enumeration { - private int i = 0; - private Cookie[] cookieArray; public CookieEnumerator(Cookie[] cookies) { @@ -62,7 +61,6 @@ i++; return element; } - } - } + Modified: ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/ParameterMap.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/ParameterMap.java?rev=331088&r1=331087&r2=331088&view=diff ============================================================================== --- ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/ParameterMap.java (original) +++ ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/ParameterMap.java Sat Nov 5 22:46:31 2005 @@ -6,12 +6,13 @@ /** * Map to wrap form parameters. * <p/> + * <p/> + * <p/> * Date: Mar 11, 2004 10:35:52 PM * * @author Clinton Begin */ public class ParameterMap extends BaseHttpMap { - private HttpServletRequest request; public ParameterMap(HttpServletRequest request) { @@ -37,5 +38,5 @@ protected void removeValue(Object key) { throw new UnsupportedOperationException("Cannot remove value from ParameterMap."); } - } + Modified: ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/RequestMap.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/RequestMap.java?rev=331088&r1=331087&r2=331088&view=diff ============================================================================== --- ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/RequestMap.java (original) +++ ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/RequestMap.java Sat Nov 5 22:46:31 2005 @@ -11,7 +11,6 @@ * @author Clinton Begin */ public class RequestMap extends BaseHttpMap { - private HttpServletRequest request; public RequestMap(HttpServletRequest request) { @@ -33,5 +32,4 @@ protected void removeValue(Object key) { request.removeAttribute(String.valueOf(key)); } - } Modified: ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/SessionMap.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/SessionMap.java?rev=331088&r1=331087&r2=331088&view=diff ============================================================================== --- ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/SessionMap.java (original) +++ ibatis/trunk/java/jpetstore/jpetstore4/src/org/apache/struts/beanaction/httpmap/SessionMap.java Sat Nov 5 22:46:31 2005 @@ -7,12 +7,13 @@ /** * Map to wrap session scope attributes. * <p/> + * <p/> + * <p/> * Date: Mar 11, 2004 10:35:42 PM * * @author Clinton Begin */ public class SessionMap extends BaseHttpMap { - private HttpSession session; public SessionMap(HttpServletRequest request) { @@ -34,5 +35,5 @@ protected void removeValue(Object key) { session.removeAttribute(String.valueOf(key)); } - } + Modified: ibatis/trunk/java/mapper/mapper2/build/build.properties URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/build/build.properties?rev=331088&r1=331087&r2=331088&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/build/build.properties (original) +++ ibatis/trunk/java/mapper/mapper2/build/build.properties Sat Nov 5 22:46:31 2005 @@ -31,6 +31,6 @@ reports.coverage=./reports/coverage deploy.path=./exploded -deploy.prefix=iBATIS_DBL-2.1.5. +deploy.prefix=iBATIS_DBL-2.1.6. deploy.ext=.zip deploy.files=./deploy From [email protected] Sun Nov 06 07:01:25 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68114 invoked from network); 6 Nov 2005 07:01:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Nov 2005 07:01:25 -0000 Received: (qmail 68823 invoked by uid 500); 6 Nov 2005 07:01:25 -0000 Delivered-To: [email protected] Received: (qmail 68796 invoked by uid 500); 6 Nov 2005 07:01:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 68785 invoked by uid 99); 6 Nov 2005 07:01:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Nov 2005 23:01:24 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 05 Nov 2005 23:01:19 -0800 Received: (qmail 68071 invoked by uid 65534); 6 Nov 2005 07:01:03 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r331089 - in /ibatis/trunk/java/mapper/mapper2: build/version.properties doc/release.txt doc/road-map.txt doc/wish-list.txt Date: Sun, 06 Nov 2005 07:01:03 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cbegin Date: Sat Nov 5 23:00:59 2005 New Revision: 331089 URL: http://svn.apache.org/viewcvs?rev=331089&view=rev Log: Build 2.1.6 Removed: ibatis/trunk/java/mapper/mapper2/doc/road-map.txt Modified: ibatis/trunk/java/mapper/mapper2/build/version.properties ibatis/trunk/java/mapper/mapper2/doc/release.txt ibatis/trunk/java/mapper/mapper2/doc/wish-list.txt Modified: ibatis/trunk/java/mapper/mapper2/build/version.properties URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/build/version.properties?rev=331089&r1=331088&r2=331089&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/build/version.properties (original) +++ ibatis/trunk/java/mapper/mapper2/build/version.properties Sat Nov 5 23:00:59 2005 @@ -1,5 +1,5 @@ #Build version info -#Mon Oct 03 21:57:43 MDT 2005 -version=2.2.0 -buildDate=2005/10/03 21\:57 -buildNum=586 +#Sat Nov 05 23:58:55 MST 2005 +version=2.1.6 +buildDate=2005/11/05 23\:58 +buildNum=589 Modified: ibatis/trunk/java/mapper/mapper2/doc/release.txt URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/doc/release.txt?rev=331089&r1=331088&r2=331089&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/doc/release.txt (original) +++ ibatis/trunk/java/mapper/mapper2/doc/release.txt Sat Nov 5 23:00:59 2005 @@ -2,6 +2,25 @@ Build Number: @buildNum@ ------------------------------ + 2.1.6 - Nov 5, 2005 +------------------------------ + + o Fixed IBATIS-198 Call "getDataSource()" of SqlMapClientImpl will cause application to hang + o Fixed IBATIS-179 Binaries on webpage use old Hibernate + o Fixed IBATIS-174 CacheModel does not support caching null results + o Fixed IBATIS-197 Call "getDataSource()" of SqlMapClientImpl will cause application to hang + o Fixed IBATIS-131 Fix use of list[]-notation in propertyattributes of dynamic tags + o Fixed IBATIS-173 Incorrect resultset retrieve when calling stored procedure + o Fixed IBATIS-194 No resultSet found when executing SQL Server stored procedure. + o Fixed IBATIS-196 can't use dynamic replace data-source-type over IBATIS ver 2.0.9 library + o Fixed IBATIS-191 operation(insert and update) Oracle's(OCI) CLOB and BLOB fail, CLOB will close tomcat, BLOB will miss any DATA + o Fixed IBATIS-193 Hidden jar dependicity for iBatis DBL 2.1.5 + o Fixed IBATIS-175 ResultSetLogProxy doesn't log the result properly + o Fixed IBATIS-195 Sqlmap DTD: include tag not permitted in selectKey element + o Fixed IBATIS-172 implicit mapping fails on nested column aliases + o Fixed IBATIS-185 SqlMapClasspathEntityResolver - Offline public ID resolution value ignored + +------------------------------ 2.1.5 - July 17, 2005 ------------------------------ Modified: ibatis/trunk/java/mapper/mapper2/doc/wish-list.txt URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/doc/wish-list.txt?rev=331089&r1=331088&r2=331089&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/doc/wish-list.txt (original) +++ ibatis/trunk/java/mapper/mapper2/doc/wish-list.txt Sat Nov 5 23:00:59 2005 @@ -10,6 +10,18 @@ - Optional results/exclusions (i.e. don't require all results) - Automap remaining columns, ignore missing columns - DAO lazy initialization option (quiet failure?) + - <generate> tag for CRUD methods (as per iBATIS.NET) + - Improved Dynamic SQL syntax/flexibility + - Pluggable SQL Scripting languages + Flexibility + - Constructor based results (not fields at this time) + - Field based results + - Improved configuration API and logging + - Flush cache at specific time (e.g. 22:30) + - Cache dependency on other cache (flush-on-dependant) + Database Support + - Save point support + - Add true autocommit support (mostly for SYBASE procs) Database Support - Trim whitespace from CHAR data Tools From [email protected] Sun Nov 06 07:03:02 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68334 invoked from network); 6 Nov 2005 07:03:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Nov 2005 07:03:02 -0000 Received: (qmail 71526 invoked by uid 500); 6 Nov 2005 07:03:02 -0000 Delivered-To: [email protected] Received: (qmail 71500 invoked by uid 500); 6 Nov 2005 07:03:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71489 invoked by uid 99); 6 Nov 2005 07:03:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Nov 2005 23:03:02 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 05 Nov 2005 23:02:56 -0800 Received: (qmail 68307 invoked by uid 65534); 6 Nov 2005 07:02:41 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r331090 - /ibatis/tags/java_release_2.1.6-589/ Date: Sun, 06 Nov 2005 07:02:41 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cbegin Date: Sat Nov 5 23:02:39 2005 New Revision: 331090 URL: http://svn.apache.org/viewcvs?rev=331090&view=rev Log: Created 2.1.6 release tag Added: ibatis/tags/java_release_2.1.6-589/ - copied from r331089, ibatis/trunk/ From [email protected] Sun Nov 06 07:36:57 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73143 invoked from network); 6 Nov 2005 07:36:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Nov 2005 07:36:57 -0000 Received: (qmail 80395 invoked by uid 500); 6 Nov 2005 07:36:57 -0000 Delivered-To: [email protected] Received: (qmail 80365 invoked by uid 500); 6 Nov 2005 07:36:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 80354 invoked by uid 99); 6 Nov 2005 07:36:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Nov 2005 23:36:57 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 05 Nov 2005 23:36:51 -0800 Received: (qmail 73102 invoked by uid 65534); 6 Nov 2005 07:36:36 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r331091 - in /ibatis/trunk/site/pages: downloads.vm index.vm Date: Sun, 06 Nov 2005 07:36:35 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cbegin Date: Sat Nov 5 23:36:33 2005 New Revision: 331091 URL: http://svn.apache.org/viewcvs?rev=331091&view=rev Log: site updates for 2.1.6 Modified: ibatis/trunk/site/pages/downloads.vm ibatis/trunk/site/pages/index.vm Modified: ibatis/trunk/site/pages/downloads.vm URL: http://svn.apache.org/viewcvs/ibatis/trunk/site/pages/downloads.vm?rev=331091&r1=331090&r2=331091&view=diff ============================================================================== --- ibatis/trunk/site/pages/downloads.vm (original) +++ ibatis/trunk/site/pages/downloads.vm Sat Nov 5 23:36:33 2005 @@ -7,44 +7,62 @@ <h2>iBATIS for Java</h2> + <h4>Releases</h4> <ul> - <li><a href="http://prdownloads.sourceforge.net/ibatisdb/iBATIS_DBL-161.129.204.1042.zip?download">Stable Binaries and Source</a> (2.1.5 build 582)</li> - <li><a href="http://prdownloads.sourceforge.net/ibatisjpetstore/iBATIS_JPetStore-4.0.5.zip?download">JPetStore Example Application</a></li> + <li><a href="http://cvs.apache.org/builds/ibatis/alpha/iBATIS_DBL-161.129.204.1049.zip"><b>iBATIS Java 2.1.6 w/Binaries and Source</b></a> (Apache Alpha)</li> + <li><a href="http://prdownloads.sourceforge.net/ibatisdb/iBATIS_DBL-161.129.204.1042.zip?download">iBATIS Java 2.1.5 w/Binaries and Source</a> (Apache General Availability)</li> <li><a href="http://sourceforge.net/project/showfiles.php?group_id=61326">Old Releases (at SourceForge) </a></li> </ul> - + + <h4>Examples</h4> + <ul> + <li><a href="http://prdownloads.sourceforge.net/ibatisjpetstore/iBATIS_JPetStore-4.0.5.zip?download">JPetStore Example Application</a></li> + </ul> + + <h4>Documentation </h4> + <ul> + <li>English + <ul> + <li><a href="http://prdownloads.sourceforge.net/ibatisnet/DevGuide.pdf?download"><b>Generic Developer Guide</b></a></li> + <li><a href="http://prdownloads.sourceforge.net/ibatisdb/iBATIS-SqlMaps-2.pdf?download">SQL Maps for Java, Developer Guide </a></li> + <li><a href="http://prdownloads.sourceforge.net/ibatisdb/iBATIS-SqlMaps-2-Tutorial.pdf?download">SQL Maps for Java, Tutorial </a></li> + <li><a href="http://prdownloads.sourceforge.net/ibatisdb/iBATIS-DAO-2.pdf?download">DAO for Java, Developer Guide</a></li> + </ul> + </li> + <li>Chinese + <ul> + <li><a href="http://prdownloads.sourceforge.net/ibatisdb/iBATIS-SqlMaps-2_cn.pdf?download">SQL Maps for Java, Developer Guide </a></li> + <li><a href="http://prdownloads.sourceforge.net/ibatisdb/iBATIS-SqlMaps-2-Tutorial_cn.pdf?download">SQL Maps for Java, Tutorial </a></li> + </ul> + </li> + </ul> + <h2>iBATIS.NET</h2> - <h3>General Availability</h3> + <h4>Releases</h4> <ul> - <li><a href="http://prdownloads.sourceforge.net/ibatisnet/DataMapper-bin-1.2.1.zip?download">DataMapper 1.2.1 General Availability</a></li> - <li><a href="http://prdownloads.sourceforge.net/ibatisnet/DataAccess-bin-1.6.1.zip?download">DataAccess 1.6.1 General Availability</a></li> + <li><a href="http://prdownloads.sourceforge.net/ibatisnet/DataMapper-bin-1.2.1.zip?download">DataMapper 1.2.1</a> (Apache General Availability)</li> + <li><a href="http://prdownloads.sourceforge.net/ibatisnet/DataAccess-bin-1.6.1.zip?download">DataAccess 1.6.1</a> (Apache General Availability)</li> <li><a href="http://prdownloads.sourceforge.net/ibatisnet/iBATIS-src-SVN-179390.zip?download">Source Revision 179390</a></li> - <li><a href="http://prdownloads.sourceforge.net/ibatisnet/Tutorial-1.2.1.zip?download">Tutorial 1.2.1 Docs and Source</a></li> - <li><a href="http://prdownloads.sourceforge.net/ibatisnet/NPetshop-1.0.0.RC1.zip?download">NPetShop Example Application</a></li> <li><a href="http://sourceforge.net/project/showfiles.php?group_id=109704">Old Releases (at SourceForge)</a></li> </ul> + <h4>Examples</h4> + <ul> + <li><a href="http://prdownloads.sourceforge.net/ibatisnet/Tutorial-1.2.1.zip?download">Tutorial 1.2.1 Docs and Source</a></li> + <li><a href="http://prdownloads.sourceforge.net/ibatisnet/NPetshop-1.0.0.RC1.zip?download">NPetShop Example Application</a></li> + </ul> -<h2>Documentation </h2> + <h4>Documentation </h4> <ul> - <li>English + <li>English <ul> <li><a href="http://prdownloads.sourceforge.net/ibatisnet/DevGuide.pdf?download"><b>Generic Developer Guide</b></a></li> - <li><a href="http://prdownloads.sourceforge.net/ibatisdb/iBATIS-SqlMaps-2.pdf?download">SQL Maps for Java, Developer Guide </a></li> - <li><a href="http://prdownloads.sourceforge.net/ibatisdb/iBATIS-SqlMaps-2-Tutorial.pdf?download">SQL Maps for Java, Tutorial </a></li> - <li><a href="http://prdownloads.sourceforge.net/ibatisdb/iBATIS-DAO-2.pdf?download">DAO for Java, Developer Guide</a></li> <li><a href="http://prdownloads.sourceforge.net/ibatisnet/Tutorial-1.2.1.zip?download">Tutorial 1.2.1 for .NET Docs and Source</a></li> <li><a href="http://prdownloads.sourceforge.net/ibatisnet/DataMapper-doc-1.2.1.zip?download">DataMapper 1.2.1 for .NET, Docs Bundle (CHM, PDF, and SDK Help)</a></li> <li><a href="http://prdownloads.sourceforge.net/ibatisnet/DataAccess-doc-1.6.1.zip?download">DataAccess 1.6.1 for .NET, Docs Bundle (CHM, PDF, and SDK Help)</a></li> <li><a href="http://ibatisnet.sourceforge.net/docs/en/sdkhelp/web/">DataMapper 1.2.1 and DataAccess 1.6.1 Online SDK Help</a></li> - </ul> - </li> - <li>Chinese - <ul> - <li><a href="http://prdownloads.sourceforge.net/ibatisdb/iBATIS-SqlMaps-2_cn.pdf?download">SQL Maps for Java, Developer Guide </a></li> - <li><a href="http://prdownloads.sourceforge.net/ibatisdb/iBATIS-SqlMaps-2-Tutorial_cn.pdf?download">SQL Maps for Java, Tutorial </a></li> </ul> </li> </ul> Modified: ibatis/trunk/site/pages/index.vm URL: http://svn.apache.org/viewcvs/ibatis/trunk/site/pages/index.vm?rev=331091&r1=331090&r2=331091&view=diff ============================================================================== --- ibatis/trunk/site/pages/index.vm (original) +++ ibatis/trunk/site/pages/index.vm Sat Nov 5 23:36:33 2005 @@ -30,8 +30,16 @@ <h2>News</h2> + <h3>iBATIS Java 2.1.6 - Maintenance Release</h3> + <p>(Nov 5, 2005) Just released a maintenance release to take care of the summer bug list. This puts us + in a good spot to start planning for 2.2.0, where we're currently discussing some changes to the current + version support levels, which will enable us to add a bunch of new features. If you aren't on the dev or + Java mailing list, then join up to discuss! For now, enjoy the cleanliness of version 2.1.6. + </p> + <p><a href="downloads.html">Get iBATIS 2.1.6 from the Downloads page.</a><br/> + <h3>iBATIS for Ruby</h3> - <image align="right" src="ruby.gif"><p>(August 25, 2005) It's official. iBATIS is no longer a simple tool or framework. It is a genuine + <p>(August 25, 2005) It's official. iBATIS is no longer a simple tool or framework. It is a genuine approach to integrating object oriented applications and relational databases. We could have said that when the .NET version was released, but now we MUST say it. We're very excited to be merging with a project headed up by Jon Tirsen, a friend of mine and a fellow ThoughtWorker. He's ported and innovated From [email protected] Sun Nov 06 07:51:52 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75359 invoked from network); 6 Nov 2005 07:51:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Nov 2005 07:51:52 -0000 Received: (qmail 81947 invoked by uid 500); 6 Nov 2005 07:51:52 -0000 Delivered-To: [email protected] Received: (qmail 81923 invoked by uid 500); 6 Nov 2005 07:51:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81912 invoked by uid 99); 6 Nov 2005 07:51:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Nov 2005 23:51:52 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 05 Nov 2005 23:51:46 -0800 Received: (qmail 75287 invoked by uid 65534); 6 Nov 2005 07:51:30 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r331092 - in /ibatis/trunk/site/pages: archive.vm index.vm Date: Sun, 06 Nov 2005 07:51:30 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cbegin Date: Sat Nov 5 23:51:28 2005 New Revision: 331092 URL: http://svn.apache.org/viewcvs?rev=331092&view=rev Log: moved some old news to the archive Modified: ibatis/trunk/site/pages/archive.vm ibatis/trunk/site/pages/index.vm Modified: ibatis/trunk/site/pages/archive.vm URL: http://svn.apache.org/viewcvs/ibatis/trunk/site/pages/archive.vm?rev=331092&r1=331091&r2=331092&view=diff ============================================================================== --- ibatis/trunk/site/pages/archive.vm (original) +++ ibatis/trunk/site/pages/archive.vm Sat Nov 5 23:51:28 2005 @@ -7,6 +7,52 @@ <h2>News Archive</h2> + <h3>iBATIS for Ruby</h3> + <p>(August 25, 2005) It's official. iBATIS is no longer a simple tool or framework. It is a genuine + approach to integrating object oriented applications and relational databases. We could have said that + when the .NET version was released, but now we MUST say it. We're very excited to be merging with a + project headed up by Jon Tirsen, a friend of mine and a fellow ThoughtWorker. He's ported and innovated + iBATIS for the Ruby language, which we're all very excited about. In the next few weeks we'll be + integrating iBATIS for Ruby into our infrastructure, and of course, Jon will become one of our valuable + team members.</p> + + <h3>Developers, Developers, Developers...</h3> + <p>(August 24, 2005) What a crazy month. Everyone has been so busy over the summer! But despite + our schedules, we've made some amazing progress. First and foremost, let's introduce our new + committers. The following people have been voted in as committers and are currently in the process + of getting access to the iBATIS resources. + </p> + <ul> + <li>Sven Boden</li> + <li>Nathan Maves</li> + <li>Jeff Butler</li> + <li>Brice Ruth</li> + </ul> + + <h3>iBATIS for Java 2.1.5 Released</h3> + <p>(July 17, 2005) We've released a maintenance release, with a few bonuses as well. The most + notable changes are: 1) iBATIS no longer depends on commons logging, and 2) the entity resolvers + are now smarter so that they should resolve DTDs without the network as long as you have + a correct XML DOCTYPE header. In addition to that, we've fixed a bunch of bugs including: + </p> + <ul> + <li>Fixed IBATIS-136 groupBy not carried forward to extended result maps</li> + <li>Fixed IBATIS-139 discriminator being applied to too many result maps (thanks Sven)</li> + <li>Fixed IBATIS-152, 149, 116 null result sets now handled properly by JDBC logging classes (thanks Sven)</li> + <li>Fixed IBATIS-146 consumes additional result sets before retrieving output params (JTDS fix)</li> + <li>Fixed IBATIS-130 parameter maps don't allow for complete TypeHandler implementations</li> + <li>Fixed IBATIS-148 fixed dynamic SQL in iterates</li> + </ul> + <p><a href="downloads.html">Get iBATIS 2.1.5 from the Downloads page.</a><br/> + <i>Note: This will be the last build deployed by SourceForge. + Future builds will be deployed using Apache infrastructure.</i> + </p> + + <h3>.NET DataMapper 1.2.1 and DataAccess 1.6.1 General Availability!</h3> + <p>(June 29, 2005) The votes are in and both distributions are now tagged as GA!</p> + <p><strong><a href="downloads.html">Download iBATIS.NET DataMapper 1.2.1 + and DataAccess 1.6.1!</a></strong></p> + <h3>.NET DataMapper 1.2.1 and DataAccess 1.6.1 Beta!</h3> <p>(June 10, 2005) Just a few updates for the binary distributions and documentation:</p> <ul> Modified: ibatis/trunk/site/pages/index.vm URL: http://svn.apache.org/viewcvs/ibatis/trunk/site/pages/index.vm?rev=331092&r1=331091&r2=331092&view=diff ============================================================================== --- ibatis/trunk/site/pages/index.vm (original) +++ ibatis/trunk/site/pages/index.vm Sat Nov 5 23:51:28 2005 @@ -38,51 +38,5 @@ </p> <p><a href="downloads.html">Get iBATIS 2.1.6 from the Downloads page.</a><br/> - <h3>iBATIS for Ruby</h3> - <p>(August 25, 2005) It's official. iBATIS is no longer a simple tool or framework. It is a genuine - approach to integrating object oriented applications and relational databases. We could have said that - when the .NET version was released, but now we MUST say it. We're very excited to be merging with a - project headed up by Jon Tirsen, a friend of mine and a fellow ThoughtWorker. He's ported and innovated - iBATIS for the Ruby language, which we're all very excited about. In the next few weeks we'll be - integrating iBATIS for Ruby into our infrastructure, and of course, Jon will become one of our valuable - team members.</p> - - <h3>Developers, Developers, Developers...</h3> - <p>(August 24, 2005) What a crazy month. Everyone has been so busy over the summer! But despite - our schedules, we've made some amazing progress. First and foremost, let's introduce our new - committers. The following people have been voted in as committers and are currently in the process - of getting access to the iBATIS resources. - </p> - <ul> - <li>Sven Boden</li> - <li>Nathan Maves</li> - <li>Jeff Butler</li> - <li>Brice Ruth</li> - </ul> - - <h3>iBATIS for Java 2.1.5 Released</h3> - <p>(July 17, 2005) We've released a maintenance release, with a few bonuses as well. The most - notable changes are: 1) iBATIS no longer depends on commons logging, and 2) the entity resolvers - are now smarter so that they should resolve DTDs without the network as long as you have - a correct XML DOCTYPE header. In addition to that, we've fixed a bunch of bugs including: - </p> - <ul> - <li>Fixed IBATIS-136 groupBy not carried forward to extended result maps</li> - <li>Fixed IBATIS-139 discriminator being applied to too many result maps (thanks Sven)</li> - <li>Fixed IBATIS-152, 149, 116 null result sets now handled properly by JDBC logging classes (thanks Sven)</li> - <li>Fixed IBATIS-146 consumes additional result sets before retrieving output params (JTDS fix)</li> - <li>Fixed IBATIS-130 parameter maps don't allow for complete TypeHandler implementations</li> - <li>Fixed IBATIS-148 fixed dynamic SQL in iterates</li> - </ul> - <p><a href="downloads.html">Get iBATIS 2.1.5 from the Downloads page.</a><br/> - <i>Note: This will be the last build deployed by SourceForge. - Future builds will be deployed using Apache infrastructure.</i> - </p> - - <h3>.NET DataMapper 1.2.1 and DataAccess 1.6.1 General Availability!</h3> - <p>(June 29, 2005) The votes are in and both distributions are now tagged as GA!</p> - <p><strong><a href="downloads.html">Download iBATIS.NET DataMapper 1.2.1 - and DataAccess 1.6.1!</a></strong></p> - </body> </html> From [email protected] Sun Nov 06 17:12:50 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3948 invoked from network); 6 Nov 2005 17:12:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Nov 2005 17:12:49 -0000 Received: (qmail 88485 invoked by uid 500); 6 Nov 2005 17:12:49 -0000 Delivered-To: [email protected] Received: (qmail 88457 invoked by uid 500); 6 Nov 2005 17:12:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 88446 invoked by uid 99); 6 Nov 2005 17:12:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Nov 2005 09:12:48 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 06 Nov 2005 09:12:42 -0800 Received: (qmail 3812 invoked by uid 65534); 6 Nov 2005 17:12:27 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r331117 - in /ibatis/trunk/java/mapper/mapper2: build/ src/com/ibatis/sqlmap/engine/builder/xml/ test/com/ibatis/sqlmap/builder/ test/com/ibatis/sqlmap/builder/xml/ Date: Sun, 06 Nov 2005 17:12:26 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cbegin Date: Sun Nov 6 09:12:21 2005 New Revision: 331117 URL: http://svn.apache.org/viewcvs?rev=331117&view=rev Log: Added entity resolver test and included new PUBLIC ID for ibatis.apache.org Added: ibatis/trunk/java/mapper/mapper2/test/com/ibatis/sqlmap/builder/ ibatis/trunk/java/mapper/mapper2/test/com/ibatis/sqlmap/builder/xml/ ibatis/trunk/java/mapper/mapper2/test/com/ibatis/sqlmap/builder/xml/SqlMapClasspathEntityResolverTest.java Modified: ibatis/trunk/java/mapper/mapper2/build/version.properties ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/SqlMapClasspathEntityResolver.java Modified: ibatis/trunk/java/mapper/mapper2/build/version.properties URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/build/version.properties?rev=331117&r1=331116&r2=331117&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/build/version.properties (original) +++ ibatis/trunk/java/mapper/mapper2/build/version.properties Sun Nov 6 09:12:21 2005 @@ -1,5 +1,5 @@ #Build version info -#Sat Nov 05 23:58:55 MST 2005 +#Sun Nov 06 09:57:40 MST 2005 version=2.1.6 -buildDate=2005/11/05 23\:58 -buildNum=589 +buildDate=2005/11/06 09\:57 +buildNum=590 Modified: ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/SqlMapClasspathEntityResolver.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/SqlMapClasspathEntityResolver.java?rev=331117&r1=331116&r2=331117&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/SqlMapClasspathEntityResolver.java (original) +++ ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/SqlMapClasspathEntityResolver.java Sun Nov 6 09:12:21 2005 @@ -20,11 +20,10 @@ import org.xml.sax.InputSource; import org.xml.sax.SAXException; -import java.io.InputStream; import java.io.IOException; -import java.util.Map; +import java.io.InputStream; import java.util.HashMap; -import java.util.Collections; +import java.util.Map; /** * Offline entity resolver for the iBATIS DTDs @@ -40,10 +39,12 @@ doctypeMap.put("http://www.ibatis.com/dtd/sql-map-config-2.dtd", SQL_MAP_CONFIG_DTD); doctypeMap.put("http://ibatis.apache.org/dtd/sql-map-config-2.dtd", SQL_MAP_CONFIG_DTD); doctypeMap.put("-//iBATIS.com//DTD SQL Map Config 2.0//EN", SQL_MAP_CONFIG_DTD); + doctypeMap.put("-//ibatis.apache.org//DTD SQL Map Config 2.0//EN", SQL_MAP_CONFIG_DTD); doctypeMap.put("http://www.ibatis.com/dtd/sql-map-2.dtd", SQL_MAP_DTD); doctypeMap.put("http://ibatis.apache.org/dtd/sql-map-2.dtd", SQL_MAP_DTD); doctypeMap.put("-//iBATIS.com//DTD SQL Map 2.0//EN", SQL_MAP_DTD); + doctypeMap.put("-//ibatis.apache.org//DTD SQL Map 2.0//EN", SQL_MAP_DTD); } Added: ibatis/trunk/java/mapper/mapper2/test/com/ibatis/sqlmap/builder/xml/SqlMapClasspathEntityResolverTest.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/test/com/ibatis/sqlmap/builder/xml/SqlMapClasspathEntityResolverTest.java?rev=331117&view=auto ============================================================================== --- ibatis/trunk/java/mapper/mapper2/test/com/ibatis/sqlmap/builder/xml/SqlMapClasspathEntityResolverTest.java (added) +++ ibatis/trunk/java/mapper/mapper2/test/com/ibatis/sqlmap/builder/xml/SqlMapClasspathEntityResolverTest.java Sun Nov 6 09:12:21 2005 @@ -0,0 +1,78 @@ +package com.ibatis.sqlmap.builder.xml; + +import junit.framework.TestCase; +import com.ibatis.sqlmap.engine.builder.xml.SqlMapClasspathEntityResolver; +import org.xml.sax.InputSource; +import org.xml.sax.SAXException; + +public class SqlMapClasspathEntityResolverTest extends TestCase { + + // ibatis.com + + public void testComConfigSystemId() { + String id = "http://www.ibatis.com/dtd/sql-map-config-2.dtd"; + assertSystemIdCanBeResolved(id); + } + + public void testComConfigPublicId() { + String id = "-//iBATIS.com//DTD SQL Map Config 2.0//EN"; + assertPublicIdCanBeResolved(id); + } + + public void testComMapSystemId() { + String id = "http://www.ibatis.com/dtd/sql-map-2.dtd"; + assertSystemIdCanBeResolved(id); + } + + public void testComMapPublicId() { + String id = "-//iBATIS.com//DTD SQL Map 2.0//EN"; + assertPublicIdCanBeResolved(id); + } + + // ibatis.apache.org + + public void testOrgConfigSystemId() { + String id = "http://ibatis.apache.org/dtd/sql-map-config-2.dtd"; + assertSystemIdCanBeResolved(id); + } + + public void testOrgConfigPublicId() { + String id = "-//ibatis.apache.org//DTD SQL Map Config 2.0//EN"; + assertPublicIdCanBeResolved(id); + } + + public void testOrgMapSystemId() { + String id = "http://ibatis.apache.org/dtd/sql-map-2.dtd"; + assertSystemIdCanBeResolved(id); + } + + public void testOrgMapPublicId() { + String id = "-//ibatis.apache.org//DTD SQL Map 2.0//EN"; + assertPublicIdCanBeResolved(id); + } + + private void assertSystemIdCanBeResolved(String id) { + SqlMapClasspathEntityResolver resolver = new SqlMapClasspathEntityResolver(); + try { + InputSource source = resolver.resolveEntity(null, id); + if (source == null) { + throw new RuntimeException("Could not resolve System ID " + id); + } + } catch (SAXException e) { + throw new RuntimeException("Error. Cause: " + e, e); + } + } + + private void assertPublicIdCanBeResolved(String id) { + SqlMapClasspathEntityResolver resolver = new SqlMapClasspathEntityResolver(); + try { + InputSource source = resolver.resolveEntity(id, null); + if (source == null) { + throw new RuntimeException("Could not resolve System ID " + id); + } + } catch (SAXException e) { + throw new RuntimeException("Error. Cause: " + e, e); + } + } + +} From [email protected] Sun Nov 06 18:32:59 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31813 invoked from network); 6 Nov 2005 18:31:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Nov 2005 18:31:44 -0000 Received: (qmail 44171 invoked by uid 500); 6 Nov 2005 18:31:44 -0000 Delivered-To: [email protected] Received: (qmail 44140 invoked by uid 500); 6 Nov 2005 18:31:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 44129 invoked by uid 99); 6 Nov 2005 18:31:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Nov 2005 10:31:43 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 06 Nov 2005 10:31:37 -0800 Received: (qmail 31437 invoked by uid 65534); 6 Nov 2005 18:31:21 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r331131 - in /ibatis/trunk/java/mapper/mapper2: build/ src/com/ibatis/common/jdbc/ src/com/ibatis/sqlmap/engine/builder/xml/ test/com/ibatis/dao/ test/com/ibatis/sqlmap/ test/com/ibatis/sqlmap/builder/xml/ test/compatibility/scriptrunner/ Date: Sun, 06 Nov 2005 18:31:17 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cbegin Date: Sun Nov 6 10:30:30 2005 New Revision: 331131 URL: http://svn.apache.org/viewcvs?rev=331131&view=rev Log: Improved scriptrunner design, removed deprication. Added case ignorance to entity resolver Modified: ibatis/trunk/java/mapper/mapper2/build/version.properties ibatis/trunk/java/mapper/mapper2/src/com/ibatis/common/jdbc/ScriptRunner.java ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/SqlMapClasspathEntityResolver.java ibatis/trunk/java/mapper/mapper2/test/com/ibatis/dao/BaseDaoTest.java ibatis/trunk/java/mapper/mapper2/test/com/ibatis/sqlmap/BaseSqlMapTest.java ibatis/trunk/java/mapper/mapper2/test/com/ibatis/sqlmap/builder/xml/SqlMapClasspathEntityResolverTest.java ibatis/trunk/java/mapper/mapper2/test/compatibility/scriptrunner/ScriptRunnerCompat.java Modified: ibatis/trunk/java/mapper/mapper2/build/version.properties URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/build/version.properties?rev=331131&r1=331130&r2=331131&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/build/version.properties (original) +++ ibatis/trunk/java/mapper/mapper2/build/version.properties Sun Nov 6 10:30:30 2005 @@ -1,5 +1,5 @@ #Build version info -#Sun Nov 06 09:57:40 MST 2005 +#Sun Nov 06 11:16:16 MST 2005 version=2.1.6 -buildDate=2005/11/06 09\:57 -buildNum=590 +buildDate=2005/11/06 11\:16 +buildNum=591 Modified: ibatis/trunk/java/mapper/mapper2/src/com/ibatis/common/jdbc/ScriptRunner.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/src/com/ibatis/common/jdbc/ScriptRunner.java?rev=331131&r1=331130&r2=331131&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/src/com/ibatis/common/jdbc/ScriptRunner.java (original) +++ ibatis/trunk/java/mapper/mapper2/src/com/ibatis/common/jdbc/ScriptRunner.java Sun Nov 6 10:30:30 2005 @@ -16,98 +16,50 @@ package com.ibatis.common.jdbc; import com.ibatis.common.resources.Resources; +import com.ibatis.common.exception.NestedRuntimeException; import java.io.IOException; import java.io.LineNumberReader; import java.io.PrintWriter; import java.io.Reader; import java.sql.*; -import java.util.Map; /** * Tool to run database scripts - * @deprecated There are better tools available for running scripts. This - * class has become out of scope for iBATIS. */ public class ScriptRunner { //private static final Log log = LogFactory.getLog(ScriptRunner.class); + private Connection connection; private String driver; private String url; private String username; private String password; + private boolean stopOnError; private boolean autoCommit; + private PrintWriter logWriter = new PrintWriter(System.out); private PrintWriter errorLogWriter = new PrintWriter(System.err); /** * Default constructor */ - public ScriptRunner() { - stopOnError = false; - autoCommit = false; - } - - /** - * Constructor to allow passing in a Map with configuration data - * - * @param props - the configuration properties - */ - public ScriptRunner(Map props) { - setDriver((String) props.get("driver")); - setUrl((String) props.get("url")); - setUsername((String) props.get("username")); - setPassword((String) props.get("password")); - setStopOnError("true".equals(props.get("stopOnError"))); - setAutoCommit("true".equals(props.get("autoCommit"))); - } - - /** - * Getter for stopOnError property - * - * @return The value of the stopOnError property - */ - public boolean isStopOnError() { - return stopOnError; - } - - /** - * Setter for stopOnError property - * - * @param stopOnError - the new value of the stopOnError property - */ - public void setStopOnError(boolean stopOnError) { + public ScriptRunner(Connection connection, boolean autoCommit, boolean stopOnError) { + this.connection = connection; + this.autoCommit = autoCommit; this.stopOnError = stopOnError; } - /** - * Getter for autoCommit property - * - * @return The value of the autoCommit property - */ - public boolean isAutoCommit() { - return autoCommit; - } - - /** - * Setter for autoCommit property - * - * @param autoCommit - the new value of the autoCommit property - */ - public void setAutoCommit(boolean autoCommit) { + public ScriptRunner(String driver, String url, String username, String password, boolean autoCommit, boolean stopOnError) { + this.driver = driver; + this.url = url; + this.username = username; + this.password = password; this.autoCommit = autoCommit; - } - - /** - * Getter for logWriter property - * - * @return The value of the logWriter property - */ - public PrintWriter getLogWriter() { - return logWriter; + this.stopOnError = stopOnError; } /** @@ -120,15 +72,6 @@ } /** - * Getter for errorLogWriter property - * - * @return The value of the errorLogWriter property - */ - public PrintWriter getErrorLogWriter() { - return errorLogWriter; - } - - /** * Setter for errorLogWriter property * * @param errorLogWriter - the new value of the errorLogWriter property @@ -138,97 +81,41 @@ } /** - * Getter for driver property - * - * @return The value of the driver property - */ - public String getDriver() { - return driver; - } - - /** - * Setter for driver property - * - * @param driver - the new value of the driver property - */ - public void setDriver(String driver) { - this.driver = driver; - } - - /** - * Getter for url property - * - * @return The value of the url property - */ - public String getUrl() { - return url; - } - - /** - * Setter for url property - * - * @param url - the new value of the url property - */ - public void setUrl(String url) { - this.url = url; - } - - /** - * Getter for username property - * - * @return The value of the username property - */ - public String getUsername() { - return username; - } - - /** - * Setter for username property - * - * @param username - the new value of the username property - */ - public void setUsername(String username) { - this.username = username; - } - - /** - * Getter for password property - * - * @return The value of the password property - */ - public String getPassword() { - return password; - } - - /** - * Setter for password property - * - * @param password - the new value of the password property - */ - public void setPassword(String password) { - this.password = password; - } - - /** * Runs an SQL script (read in using the Reader parameter) * * @param reader - the source of the script - * @throws ClassNotFoundException if the driver class cannot be found - * @throws SQLException if any SQL errors occur - * @throws IOException if there is an error reading from the Reader - * @throws IllegalAccessException if there are problems creating the driver class - * @throws InstantiationException if there are problems creating the driver class */ - public void runScript(Reader reader) - throws ClassNotFoundException, SQLException, IOException, - IllegalAccessException, InstantiationException { - DriverManager.registerDriver((Driver) Resources.classForName(driver).newInstance()); - Connection conn = DriverManager.getConnection(url, username, password); - if (conn.getAutoCommit() != autoCommit) { - conn.setAutoCommit(autoCommit); + public void runScript(Reader reader) throws IOException, SQLException{ + try { + if (connection == null) { + DriverManager.registerDriver((Driver) Resources.classForName(driver).newInstance()); + Connection conn = DriverManager.getConnection(url, username, password); + try { + if (conn.getAutoCommit() != autoCommit) { + conn.setAutoCommit(autoCommit); + } + runScript(conn, reader); + } finally { + conn.close(); + } + } else { + boolean originalAutoCommit = connection.getAutoCommit(); + try { + if (originalAutoCommit != this.autoCommit) { + connection.setAutoCommit(this.autoCommit); + } + runScript(connection, reader); + } finally { + connection.setAutoCommit(originalAutoCommit); + } + } + } catch (IOException e) { + throw e; + } catch (SQLException e) { + throw e; + } catch (Exception e) { + throw new NestedRuntimeException("Error running script. Cause: " + e, e); } - runScript(conn, reader); - conn.close(); } /** @@ -239,7 +126,7 @@ * @throws SQLException if any SQL errors occur * @throws IOException if there is an error reading from the Reader */ - public void runScript(Connection conn, Reader reader) + private void runScript(Connection conn, Reader reader) throws IOException, SQLException { StringBuffer command = null; try { @@ -252,20 +139,16 @@ String trimmedLine = line.trim(); if (trimmedLine.startsWith("--")) { println(trimmedLine); -// if (log.isDebugEnabled()) { -// log.debug(trimmedLine); -// } } else if (trimmedLine.length() < 1 || trimmedLine.startsWith("//")) { //Do nothing + } else if (trimmedLine.length() < 1 || trimmedLine.startsWith("--")) { + //Do nothing } else if (trimmedLine.endsWith(";")) { command.append(line.substring(0, line.lastIndexOf(";"))); command.append(" "); Statement statement = conn.createStatement(); println(command); -// if (log.isDebugEnabled()) { -// log.debug(command); -// } boolean hasResults = false; if (stopOnError) { @@ -321,13 +204,11 @@ e.fillInStackTrace(); printlnError("Error executing: " + command); printlnError(e); -// log.error("Error executing: " + command, e); throw e; } catch (IOException e) { e.fillInStackTrace(); printlnError("Error executing: " + command); printlnError(e); -// log.error("Error executing: " + command, e); throw e; } finally { conn.rollback(); Modified: ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/SqlMapClasspathEntityResolver.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/SqlMapClasspathEntityResolver.java?rev=331131&r1=331130&r2=331131&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/SqlMapClasspathEntityResolver.java (original) +++ ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/SqlMapClasspathEntityResolver.java Sun Nov 6 10:30:30 2005 @@ -36,15 +36,15 @@ private static final Map doctypeMap = new HashMap(); static { - doctypeMap.put("http://www.ibatis.com/dtd/sql-map-config-2.dtd", SQL_MAP_CONFIG_DTD); - doctypeMap.put("http://ibatis.apache.org/dtd/sql-map-config-2.dtd", SQL_MAP_CONFIG_DTD); - doctypeMap.put("-//iBATIS.com//DTD SQL Map Config 2.0//EN", SQL_MAP_CONFIG_DTD); - doctypeMap.put("-//ibatis.apache.org//DTD SQL Map Config 2.0//EN", SQL_MAP_CONFIG_DTD); + doctypeMap.put("http://www.ibatis.com/dtd/sql-map-config-2.dtd".toUpperCase(), SQL_MAP_CONFIG_DTD); + doctypeMap.put("http://ibatis.apache.org/dtd/sql-map-config-2.dtd".toUpperCase(), SQL_MAP_CONFIG_DTD); + doctypeMap.put("-//iBATIS.com//DTD SQL Map Config 2.0//EN".toUpperCase(), SQL_MAP_CONFIG_DTD); + doctypeMap.put("-//ibatis.apache.org//DTD SQL Map Config 2.0//EN".toUpperCase(), SQL_MAP_CONFIG_DTD); - doctypeMap.put("http://www.ibatis.com/dtd/sql-map-2.dtd", SQL_MAP_DTD); - doctypeMap.put("http://ibatis.apache.org/dtd/sql-map-2.dtd", SQL_MAP_DTD); - doctypeMap.put("-//iBATIS.com//DTD SQL Map 2.0//EN", SQL_MAP_DTD); - doctypeMap.put("-//ibatis.apache.org//DTD SQL Map 2.0//EN", SQL_MAP_DTD); + doctypeMap.put("http://www.ibatis.com/dtd/sql-map-2.dtd".toUpperCase(), SQL_MAP_DTD); + doctypeMap.put("http://ibatis.apache.org/dtd/sql-map-2.dtd".toUpperCase(), SQL_MAP_DTD); + doctypeMap.put("-//iBATIS.com//DTD SQL Map 2.0//EN".toUpperCase(), SQL_MAP_DTD); + doctypeMap.put("-//ibatis.apache.org//DTD SQL Map 2.0//EN".toUpperCase(), SQL_MAP_DTD); } @@ -58,6 +58,10 @@ */ public InputSource resolveEntity(String publicId, String systemId) throws SAXException { + + if (publicId != null) publicId = publicId.toUpperCase(); + if (systemId != null) systemId = systemId.toUpperCase(); + InputSource source = null; try { String path = (String) doctypeMap.get(publicId); Modified: ibatis/trunk/java/mapper/mapper2/test/com/ibatis/dao/BaseDaoTest.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/test/com/ibatis/dao/BaseDaoTest.java?rev=331131&r1=331130&r2=331131&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/test/com/ibatis/dao/BaseDaoTest.java (original) +++ ibatis/trunk/java/mapper/mapper2/test/com/ibatis/dao/BaseDaoTest.java Sun Nov 6 10:30:30 2005 @@ -1,8 +1,8 @@ package com.ibatis.dao; +import com.ibatis.common.exception.NestedRuntimeException; import com.ibatis.common.jdbc.ScriptRunner; import com.ibatis.common.resources.Resources; -import com.ibatis.common.exception.NestedRuntimeException; import com.ibatis.dao.client.DaoManager; import com.ibatis.dao.client.DaoTransaction; import com.ibatis.dao.engine.transaction.jdbc.JdbcDaoTransaction; @@ -15,8 +15,6 @@ import java.lang.reflect.InvocationTargetException; import java.lang.reflect.UndeclaredThrowableException; import java.sql.Connection; -import java.sql.DriverManager; -import java.sql.SQLException; public abstract class BaseDaoTest extends TestCase { @@ -141,12 +139,11 @@ Reader reader = Resources.getResourceAsReader(script); - ScriptRunner runner = new ScriptRunner(); - runner.setStopOnError(false); + ScriptRunner runner = new ScriptRunner(conn, false, false); runner.setLogWriter(null); runner.setErrorLogWriter(null); - runner.runScript(conn, reader); + runner.runScript(reader); daoManager.commitTransaction(); } Modified: ibatis/trunk/java/mapper/mapper2/test/com/ibatis/sqlmap/BaseSqlMapTest.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/test/com/ibatis/sqlmap/BaseSqlMapTest.java?rev=331131&r1=331130&r2=331131&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/test/com/ibatis/sqlmap/BaseSqlMapTest.java (original) +++ ibatis/trunk/java/mapper/mapper2/test/com/ibatis/sqlmap/BaseSqlMapTest.java Sun Nov 6 10:30:30 2005 @@ -10,10 +10,7 @@ import javax.sql.DataSource; import java.io.Reader; -import java.io.PrintWriter; import java.sql.Connection; -import java.sql.DriverManager; -import java.sql.SQLException; import java.util.*; public class BaseSqlMapTest extends TestCase { @@ -33,12 +30,11 @@ Reader reader = Resources.getResourceAsReader(script); - ScriptRunner runner = new ScriptRunner(); - runner.setStopOnError(false); + ScriptRunner runner = new ScriptRunner(conn, false, false); runner.setLogWriter(null); runner.setErrorLogWriter(null); - runner.runScript(conn, reader); + runner.runScript(reader); conn.commit(); conn.close(); reader.close(); Modified: ibatis/trunk/java/mapper/mapper2/test/com/ibatis/sqlmap/builder/xml/SqlMapClasspathEntityResolverTest.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/test/com/ibatis/sqlmap/builder/xml/SqlMapClasspathEntityResolverTest.java?rev=331131&r1=331130&r2=331131&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/test/com/ibatis/sqlmap/builder/xml/SqlMapClasspathEntityResolverTest.java (original) +++ ibatis/trunk/java/mapper/mapper2/test/com/ibatis/sqlmap/builder/xml/SqlMapClasspathEntityResolverTest.java Sun Nov 6 10:30:30 2005 @@ -51,6 +51,11 @@ assertPublicIdCanBeResolved(id); } + public void testOddCase() { + String id = "-//iBATIS.apache.org//DTD SQL Map 2.0//EN"; + assertPublicIdCanBeResolved(id); + } + private void assertSystemIdCanBeResolved(String id) { SqlMapClasspathEntityResolver resolver = new SqlMapClasspathEntityResolver(); try { Modified: ibatis/trunk/java/mapper/mapper2/test/compatibility/scriptrunner/ScriptRunnerCompat.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/test/compatibility/scriptrunner/ScriptRunnerCompat.java?rev=331131&r1=331130&r2=331131&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/test/compatibility/scriptrunner/ScriptRunnerCompat.java (original) +++ ibatis/trunk/java/mapper/mapper2/test/compatibility/scriptrunner/ScriptRunnerCompat.java Sun Nov 6 10:30:30 2005 @@ -11,13 +11,10 @@ public class ScriptRunnerCompat { public static void runInitializationScript(Connection conn, String script) - throws SQLException, IOException { + throws IOException, SQLException { // -- Create a new ScriptRunner instance using default constructor. - ScriptRunner runner = new ScriptRunner(); - - // -- Another constructor can accept database configuration information as a property map. - // ScriptRunner runner = new ScriptRunner (properties); + ScriptRunner runner = new ScriptRunner(conn, false, false); // -- You can configure logwriters for progress and error reporting. // -- Default is System.out and System.err, we'll keep them quiet for the demo. @@ -28,10 +25,8 @@ Reader reader = Resources.getResourceAsReader(script); // -- Run the script from the Reader - runner.runScript(conn, reader); + runner.runScript(reader); - // -- If the ScriptRunner was configured with a properties file, you don't need to pass in a connection - // runner.runInitializationScript(reader); } From [email protected] Tue Nov 08 01:03:06 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29219 invoked from network); 8 Nov 2005 01:03:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Nov 2005 01:03:06 -0000 Received: (qmail 72486 invoked by uid 500); 8 Nov 2005 01:03:05 -0000 Delivered-To: [email protected] Received: (qmail 72452 invoked by uid 500); 8 Nov 2005 01:03:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 72440 invoked by uid 99); 8 Nov 2005 01:03:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Nov 2005 17:03:05 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 07 Nov 2005 17:02:58 -0800 Received: (qmail 29170 invoked by uid 65534); 8 Nov 2005 01:02:44 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r331654 - /ibatis/trunk/cs/ Date: Tue, 08 Nov 2005 01:02:43 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: rgrabowski Date: Mon Nov 7 17:02:42 2005 New Revision: 331654 URL: http://svn.apache.org/viewcvs?rev=331654&view=rev Log: Added properties to cs folder to support integration between TortoiseSVN and the JIRA bug tracking system. Inspired by Nicko Cadell's patch to Log4Net (r331170) Modified: ibatis/trunk/cs/ (props changed) Propchange: ibatis/trunk/cs/ ------------------------------------------------------------------------------ bugtraq:logregex = (IBATISNET-\d+) Propchange: ibatis/trunk/cs/ ------------------------------------------------------------------------------ bugtraq:url = http://issues.apache.org/jira/browse/%BUGID% From [email protected] Tue Nov 08 01:06:14 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30378 invoked from network); 8 Nov 2005 01:06:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Nov 2005 01:06:11 -0000 Received: (qmail 74503 invoked by uid 500); 8 Nov 2005 01:06:11 -0000 Delivered-To: [email protected] Received: (qmail 74475 invoked by uid 500); 8 Nov 2005 01:06:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74464 invoked by uid 99); 8 Nov 2005 01:06:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Nov 2005 17:06:10 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 07 Nov 2005 17:06:04 -0800 Received: (qmail 30119 invoked by uid 65534); 8 Nov 2005 01:05:49 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r331656 - /ibatis/trunk/cs/mapper/ Date: Tue, 08 Nov 2005 01:05:49 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: rgrabowski Date: Mon Nov 7 17:05:47 2005 New Revision: 331656 URL: http://svn.apache.org/viewcvs?rev=331656&view=rev Log: Added properties to cs folder to support integration between TortoiseSVN and the JIRA bug tracking system. Inspired by Nicko Cadell's patch to Log4Net (r331170) Modified: ibatis/trunk/cs/mapper/ (props changed) Propchange: ibatis/trunk/cs/mapper/ ------------------------------------------------------------------------------ bugtraq:logregex = (IBATISNET-\d+) Propchange: ibatis/trunk/cs/mapper/ ------------------------------------------------------------------------------ bugtraq:url = http://issues.apache.org/jira/browse/%BUGID% From [email protected] Thu Nov 10 04:08:02 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4068 invoked from network); 10 Nov 2005 04:08:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Nov 2005 04:08:01 -0000 Received: (qmail 56837 invoked by uid 500); 10 Nov 2005 04:07:56 -0000 Delivered-To: [email protected] Received: (qmail 56694 invoked by uid 500); 10 Nov 2005 04:07:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 56644 invoked by uid 99); 10 Nov 2005 04:07:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2005 20:07:54 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 09 Nov 2005 20:07:46 -0800 Received: (qmail 3984 invoked by uid 65534); 10 Nov 2005 04:07:32 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r332219 - /ibatis/trunk/site/pages/index.vm Date: Thu, 10 Nov 2005 04:07:31 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cbegin Date: Wed Nov 9 20:07:30 2005 New Revision: 332219 URL: http://svn.apache.org/viewcvs?rev=332219&view=rev Log: added deprecation warnings for JDK 1.4, ibatis 1.x, and [email protected] Modified: ibatis/trunk/site/pages/index.vm Modified: ibatis/trunk/site/pages/index.vm URL: http://svn.apache.org/viewcvs/ibatis/trunk/site/pages/index.vm?rev=332219&r1=332218&r2=332219&view=diff ============================================================================== --- ibatis/trunk/site/pages/index.vm (original) +++ ibatis/trunk/site/pages/index.vm Wed Nov 9 20:07:30 2005 @@ -1,42 +1,89 @@ <html> - <head> - <title>iBATIS News</title> - </head> - - <body> - <div id="Block"> - <img alt="iBATIS Data Mapper process" src="flow.jpg" align="right"/> - <h2>What is iBATIS?</h2> +<head> + <title>iBATIS News</title> +</head> - <p>The <a title="iBATIS DataMapper framework" href="datamapper.html"> +<body> +<div id="Block"> + <img alt="iBATIS Data Mapper process" src="flow.jpg" align="right"/> + + <h2>What is iBATIS?</h2> + + <p>The <a title="iBATIS DataMapper framework" href="datamapper.html"> iBATIS Data Mapper framework</a> makes it easier to use a database with Java and .NET applications. iBATIS couples objects with stored procedures or SQL statements using a XML descriptor. Simplicity is the biggest advantage of the iBATIS Data Mapper over object relational mapping tools.</p> - <p>To use the iBATIS Data Mapper, you rely on + <p>To use the iBATIS Data Mapper, you rely on your own objects, XML, and SQL. There is little to learn that you don't already know. With the iBATIS Data Mapper, you have the full power of both SQL and stored procedures at your fingertips.</p> - <p>Are you interested but want to know what others have said? Well, first see the various - <a title="iBATIS Articles and Other Coverage" href="http://opensource.atlassian.com/confluence/oss/display/IBATIS/Articles+and+other+coverage+of+iBATIS" target="_new">articles and books</a> + <p>Are you interested but want to know what others have said? Well, first see the various + <a title="iBATIS Articles and Other Coverage" + href="http://opensource.atlassian.com/confluence/oss/display/IBATIS/Articles+and+other+coverage+of+iBATIS" + target="_new">articles and books</a> that have covered iBATIS and read some of our - <a title="iBATIS Feedback" href="http://opensource.atlassian.com/confluence/oss/display/IBATIS/Feedback+and+Experiences" target="_new">user feedback</a>. + <a title="iBATIS Feedback" + href="http://opensource.atlassian.com/confluence/oss/display/IBATIS/Feedback+and+Experiences" target="_new">user + feedback</a>. Then, learn how to simple it is to use the iBATIS Data Mapper by reading our - <a title="SQL Maps for Java Tutorial" href="http://prdownloads.sourceforge.net/ibatisdb/iBATIS-SqlMaps-2-Tutorial.pdf?download">Java Tutorial</a> or <a title="iBATIS.NET DataMapper Quick Start Guide" href="http://opensource.atlassian.com/confluence/oss/display/IBATIS/Quick+Start+Guide" target="_new">.NET Quick Start Guide</a>!</p> - - </div> - - <h2>News</h2> + <a title="SQL Maps for Java Tutorial" + href="http://prdownloads.sourceforge.net/ibatisdb/iBATIS-SqlMaps-2-Tutorial.pdf?download">Java Tutorial</a> or <a + title="iBATIS.NET DataMapper Quick Start Guide" + href="http://opensource.atlassian.com/confluence/oss/display/IBATIS/Quick+Start+Guide" target="_new">.NET Quick + Start Guide</a>!</p> + +</div> + +<h2>News</h2> + +<h3>JDK 1.4 Required as of 2.2.0, iBATIS 1.x Compat Libs Removed, DTDs moved to Apache, </h3> + +<p>(Nov 8, 2005) All software systems that last any length of time tend to suffer from compatibility + baggage. iBATIS is no different. iBATIS has remaind 99% backward compatible for 3.5 years now. + Unfortunately the baggage necessary to continue that way is impeding our ability to move the framework + forward. So it's time to pay the piper and upgrade. Here's the plan: +</p> +<ul> + <li><b>JDK 1.4 will be required as of version 2.2.0.</b> We will continue to support + the 2.1.6 codebase for critical releases only. No major features will be added to 2.1.6. Version + 2.2.0 will be the next version released, leaving us some room for official maintenance releases + for the 2.1.6 branch if necessary. We estimate that about 13% of our users are still using JDK 1.3.</li> + <li><b>iBATIS 1.x Compatibility libraries will be removed as of version 2.2.0.</b> Since iBATIS version 2.0 was + released, it has included a backward compatibility library that allowed iBATIS 1.x applications to run on the + 2.0 framework. We estimate that 3% of iBATIS users are using iBATIS 1.x, which is not enough to continue + supporting the compatibility library. Of course it will still be available from Subversion.</li> + <li><b>All DTDs will be moved to ibatis.apache.org as of December 30th, 2005.</b> These DTDs will no longer be + available from iBATIS.com. Instead you must change your doctype declarations to point to the new location at + ibatis.apache.org. The new doctypes are as follows:</li> +</ul> +<pre> + &lt;!DOCTYPE sqlMapConfig + PUBLIC "-//ibatis.apache.org//DTD SQL Map Config 2.0//EN" + "http://ibatis.apache.org/dtd/sql-map-config-2.dtd"&gt; +</pre> +<pre> + &lt;!DOCTYPE sqlMap + PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN" + "http://ibatis.apache.org/dtd/sql-map-2.dtd"&gt; +</pre> +<pre> + &lt;!DOCTYPE dao + PUBLIC "-//ibatis.apache.org//DTD DAO Configuration 2.0//EN" + "http://ibatis.apache.org/dtd/dao-2.dtd"&gt; +</pre> + +<h3>iBATIS Java 2.1.6 - Maintenance Release</h3> + +<p>(Nov 5, 2005) Just released a maintenance release to take care of the summer bug list. This puts us + in a good spot to start planning for 2.2.0, where we're currently discussing some changes to the current + version support levels, which will enable us to add a bunch of new features. If you aren't on the dev or + Java mailing list, then join up to discuss! For now, enjoy the cleanliness of version 2.1.6. +</p> - <h3>iBATIS Java 2.1.6 - Maintenance Release</h3> - <p>(Nov 5, 2005) Just released a maintenance release to take care of the summer bug list. This puts us - in a good spot to start planning for 2.2.0, where we're currently discussing some changes to the current - version support levels, which will enable us to add a bunch of new features. If you aren't on the dev or - Java mailing list, then join up to discuss! For now, enjoy the cleanliness of version 2.1.6. - </p> - <p><a href="downloads.html">Get iBATIS 2.1.6 from the Downloads page.</a><br/> +<p><a href="downloads.html">Get iBATIS 2.1.6 from the Downloads page.</a><br/> - </body> +</body> </html> From [email protected] Fri Nov 11 11:21:16 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92090 invoked from network); 11 Nov 2005 11:21:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Nov 2005 11:21:16 -0000 Received: (qmail 71855 invoked by uid 500); 11 Nov 2005 11:21:16 -0000 Delivered-To: [email protected] Received: (qmail 71819 invoked by uid 500); 11 Nov 2005 11:21:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71808 invoked by uid 99); 11 Nov 2005 11:21:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Nov 2005 03:21:15 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 11 Nov 2005 03:21:07 -0800 Received: (qmail 91972 invoked by uid 65534); 11 Nov 2005 11:20:54 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r332519 - in /ibatis/trunk/cs/mapper: IBatisNet.DataMapper.Test/Maps/Access/OleDb/ IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/ IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/ IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/ IBatisNet.DataMapper.T... Date: Fri, 11 Nov 2005 11:20:51 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: gbayon Date: Fri Nov 11 03:20:17 2005 New Revision: 332519 URL: http://svn.apache.org/viewcvs?rev=332519&view=rev Log: Fixed IBATISNET-125 Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/Account.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/Account.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/Account.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/Account.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/ByteFx/Account.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/MySql/Account.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/Account.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/Account.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/PostgreSQL/Npgsql/Account.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/StatementTest.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/Account.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/Account.xml?rev=332519&r1=332518&r2=332519&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/Account.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/Account.xml Fri Nov 11 03:20:17 2005 @@ -59,6 +59,17 @@ --> <statements> + <select id="GetAllAccountsAsArrayListViaResultClass" + resultClass="ArrayList"> + select + Account_ID as Id, + Account_FirstName as FirstName, + Account_LastName as LastName, + Account_Email as EmailAddress + from Accounts + order by Account_ID + </select> + <select id="GetAccountsDynamic" resultMap="account-result" parameterClass="Hashtable" > select top $MaximumAllowed$ * from Accounts <dynamic prepend="where"> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/Account.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/Account.xml?rev=332519&r1=332518&r2=332519&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/Account.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/Account.xml Fri Nov 11 03:20:17 2005 @@ -65,6 +65,17 @@ --> <statements> + <select id="GetAllAccountsAsArrayListViaResultClass" + resultClass="ArrayList"> + select + Account_ID as Id, + Account_FirstName as FirstName, + Account_LastName as LastName, + Account_Email as EmailAddress + from Accounts + order by Account_ID + </select> + <select id="GetAccountsDynamic" resultMap="account-result" parameterClass="Hashtable" > select top $MaximumAllowed$ * from Accounts <dynamic prepend="where"> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/Account.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/Account.xml?rev=332519&r1=332518&r2=332519&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/Account.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/Account.xml Fri Nov 11 03:20:17 2005 @@ -65,6 +65,17 @@ --> <statements> + <select id="GetAllAccountsAsArrayListViaResultClass" + resultClass="ArrayList"> + select + Account_ID as Id, + Account_FirstName as FirstName, + Account_LastName as LastName, + Account_Email as EmailAddress + from Accounts + order by Account_ID + </select> + <select id="GetAccountsDynamic" resultMap="account-result" parameterClass="Hashtable" > select top $MaximumAllowed$ * from Accounts <dynamic prepend="where"> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/Account.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/Account.xml?rev=332519&r1=332518&r2=332519&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/Account.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/Account.xml Fri Nov 11 03:20:17 2005 @@ -190,6 +190,17 @@ from Accounts order by Account_ID </select> + + <select id="GetAllAccountsAsArrayListViaResultClass" + resultClass="ArrayList"> + select + Account_ID as Id, + Account_FirstName as FirstName, + Account_LastName as LastName, + Account_Email as EmailAddress + from Accounts + order by Account_ID + </select> <select id="GetAccountViaColumnName" parameterClass="int" Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/ByteFx/Account.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/ByteFx/Account.xml?rev=332519&r1=332518&r2=332519&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/ByteFx/Account.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/ByteFx/Account.xml Fri Nov 11 03:20:17 2005 @@ -110,6 +110,17 @@ --> <statements> + <select id="GetAllAccountsAsArrayListViaResultClass" + resultClass="ArrayList"> + select + Account_ID as Id, + Account_FirstName as FirstName, + Account_LastName as LastName, + Account_Email as EmailAddress + from Accounts + order by Account_ID + </select> + <select id="GetAccountsDynamic" resultMap="account-result" parameterClass="Hashtable" > select * from Accounts <dynamic prepend="where"> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/MySql/Account.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/MySql/Account.xml?rev=332519&r1=332518&r2=332519&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/MySql/Account.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/MySql/Account.xml Fri Nov 11 03:20:17 2005 @@ -110,6 +110,17 @@ --> <statements> + <select id="GetAllAccountsAsArrayListViaResultClass" + resultClass="ArrayList"> + select + Account_ID as Id, + Account_FirstName as FirstName, + Account_LastName as LastName, + Account_Email as EmailAddress + from Accounts + order by Account_ID + </select> + <select id="GetAccountsDynamic" resultMap="account-result" parameterClass="Hashtable" > select * from Accounts <dynamic prepend="where"> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/Account.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/Account.xml?rev=332519&r1=332518&r2=332519&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/Account.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/Account.xml Fri Nov 11 03:20:17 2005 @@ -111,6 +111,17 @@ --> <statements> + <select id="GetAllAccountsAsArrayListViaResultClass" + resultClass="ArrayList"> + select + Account_ID as Id, + Account_FirstName as FirstName, + Account_LastName as LastName, + Account_Email as EmailAddress + from Accounts + order by Account_ID + </select> + <!-- NOTE: Should NOT be a dynamic prepend test for Oracle since the rownum has to be part of the where clause. Best suited for MSSQL using TOP keyword in SELECT. Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/Account.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/Account.xml?rev=332519&r1=332518&r2=332519&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/Account.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/Account.xml Fri Nov 11 03:20:17 2005 @@ -108,6 +108,17 @@ --> <statements> + <select id="GetAllAccountsAsArrayListViaResultClass" + resultClass="ArrayList"> + select + Account_ID as Id, + Account_FirstName as FirstName, + Account_LastName as LastName, + Account_Email as EmailAddress + from Accounts + order by Account_ID + </select> + <!-- NOTE: Should NOT be a dynamic prepend test for Oracle since the rownum has to be part of the where clause. Best suited for MSSQL using TOP keyword in SELECT. Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/PostgreSQL/Npgsql/Account.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/PostgreSQL/Npgsql/Account.xml?rev=332519&r1=332518&r2=332519&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/PostgreSQL/Npgsql/Account.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/PostgreSQL/Npgsql/Account.xml Fri Nov 11 03:20:17 2005 @@ -110,6 +110,17 @@ --> <statements> + <select id="GetAllAccountsAsArrayListViaResultClass" + resultClass="ArrayList"> + select + Account_ID as Id, + Account_FirstName as FirstName, + Account_LastName as LastName, + Account_Email as EmailAddress + from Accounts + order by Account_ID + </select> + <select id="GetAccountsDynamic" resultMap="account-result" parameterClass="Hashtable" > select * from Accounts <dynamic prepend="where"> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/StatementTest.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/StatementTest.cs?rev=332519&r1=332518&r2=332519&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/StatementTest.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/StatementTest.cs Fri Nov 11 03:20:17 2005 @@ -303,6 +303,34 @@ } /// <summary> + /// Test QueryForList with IList ResultClass + /// </summary> + [Test] + public void TestQueryForListWithIListResultClass() + { + IList list = sqlMap.QueryForList("GetAllAccountsAsArrayListViaResultClass", null); + + IList listAccount = (IList) list[0]; + Assert.AreEqual(1,listAccount[0]); + Assert.AreEqual("Joe",listAccount[1]); + Assert.AreEqual("Dalton",listAccount[2]); + Assert.AreEqual("[email protected]",listAccount[3]); + + Assert.AreEqual(5, list.Count); + + listAccount = (IList) list[0]; + Assert.AreEqual(1, listAccount[0]); + listAccount = (IList) list[1]; + Assert.AreEqual(2, listAccount[0]); + listAccount = (IList) list[2]; + Assert.AreEqual(3,listAccount[0]); + listAccount = (IList) list[3]; + Assert.AreEqual(4, listAccount[0]); + listAccount = (IList) list[4]; + Assert.AreEqual(5, listAccount[0]); + } + + /// <summary> /// Test QueryForList With ResultMap, result collection as ArrayList /// </summary> [Test] Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs?rev=332519&r1=332518&r2=332519&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs Fri Nov 11 03:20:17 2005 @@ -283,12 +283,19 @@ SetObjectProperty(request, request.ResultMap, property, ref outObject, reader); } - else if (outObject is Hashtable) + else if (outObject is IDictionary) { for (int i = 0; i < reader.FieldCount; i++) { string columnName = reader.GetName(i); - ((Hashtable) outObject).Add(columnName, reader.GetValue(i)); + ((IDictionary) outObject).Add(columnName, reader.GetValue(i)); + } + } + else if (outObject is IList) + { + for (int i = 0; i < reader.FieldCount; i++) + { + ((IList) outObject).Add(reader.GetValue(i)); } } else From [email protected] Fri Nov 11 20:25:42 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58913 invoked from network); 11 Nov 2005 20:25:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Nov 2005 20:25:41 -0000 Received: (qmail 35846 invoked by uid 500); 11 Nov 2005 20:25:41 -0000 Delivered-To: [email protected] Received: (qmail 35826 invoked by uid 500); 11 Nov 2005 20:25:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 35815 invoked by uid 99); 11 Nov 2005 20:25:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Nov 2005 12:25:41 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 11 Nov 2005 12:25:33 -0800 Received: (qmail 56251 invoked by uid 65534); 11 Nov 2005 20:25:19 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r332639 - in /ibatis/trunk/cs/mapper: IBatisNet.DataMapper.Test/Maps/Access/OleDb/ IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/ IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/ IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/ IBatisNet.DataMapper.T... Date: Fri, 11 Nov 2005 20:25:05 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: gbayon Date: Fri Nov 11 12:24:27 2005 New Revision: 332639 URL: http://svn.apache.org/viewcvs?rev=332639&view=rev Log: - Fixed IBATISNET-126 Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/Other.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/Other.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/Other.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/Other.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/ByteFx/Other.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/MySql/Other.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/Other.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/Other.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/PostgreSQL/Npgsql/Other.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/StatementTest.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/DomSqlMapBuilder.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ParameterMapping/InlineParameterMapParser.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ParameterMapping/ParameterProperty.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/DynamicSql.cs Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/Other.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/Other.xml?rev=332639&r1=332638&r2=332639&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/Other.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/Other.xml Fri Nov 11 12:24:27 2005 @@ -140,7 +140,22 @@ from Others Where Other_Int = #value# </statement> + + <statement id="InsertInlineCustomTypeHandlerV1" + parameterClass="Other"> + Insert into Others + ( Other_Int, Other_Long, Other_Bit, Other_String ) + values + ( #Int#, #Long#, #Bool#, #Bool2,type=bool,dbType=Varchar#) + </statement> + <statement id="InsertInlineCustomTypeHandlerV2" + parameterClass="Other"> + Insert into Others + ( Other_Int, Other_Long, Other_Bit, Other_String ) + values + ( #Int#, #Long#, #Bool#, #Bool2,handler=OuiNonBool#) + </statement> </statements> <parameterMaps> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/Other.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/Other.xml?rev=332639&r1=332638&r2=332639&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/Other.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/Other.xml Fri Nov 11 12:24:27 2005 @@ -137,7 +137,22 @@ from Others Where Other_Int = #value# </statement> - + + <statement id="InsertInlineCustomTypeHandlerV1" + parameterClass="Other"> + Insert into Others + ( Other_Int, Other_Long, Other_Bit, Other_String ) + values + ( #Int#, #Long#, #Bool#, #Bool2,type=bool,dbType=Varchar#) + </statement> + + <statement id="InsertInlineCustomTypeHandlerV2" + parameterClass="Other"> + Insert into Others + ( Other_Int, Other_Long, Other_Bit, Other_String ) + values + ( #Int#, #Long#, #Bool#, #Bool2,handler=OuiNonBool#) + </statement> </statements> <parameterMaps> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/Other.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/Other.xml?rev=332639&r1=332638&r2=332639&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/Other.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/Other.xml Fri Nov 11 12:24:27 2005 @@ -145,6 +145,22 @@ from Others Where Other_Int = #value# </statement> + + <statement id="InsertInlineCustomTypeHandlerV1" + parameterClass="Other"> + Insert into Others + ( Other_Int, Other_Long, Other_Bit, Other_String ) + values + ( #Int#, #Long#, #Bool#, #Bool2,type=bool,dbType=Varchar#) + </statement> + + <statement id="InsertInlineCustomTypeHandlerV2" + parameterClass="Other"> + Insert into Others + ( Other_Int, Other_Long, Other_Bit, Other_String ) + values + ( #Int#, #Long#, #Bool#, #Bool2,handler=OuiNonBool#) + </statement> </statements> <parameterMaps> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/Other.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/Other.xml?rev=332639&r1=332638&r2=332639&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/Other.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/Other.xml Fri Nov 11 12:24:27 2005 @@ -120,14 +120,7 @@ values ( #Int#, #Long#, #Bool#, 'Yes') </statement> - - <statement id="InsertCustomTypeHandler" - parameterMap="insert-params"> - Insert into Others - ( Other_Int, Other_Long, Other_Bit, Other_String ) - values - ( ?, ?, ?, ?) - </statement> + <statement id="SelectByInt" parameterClass="int" @@ -141,6 +134,29 @@ Where Other_Int = #value# </statement> + <statement id="InsertCustomTypeHandler" + parameterMap="insert-params"> + Insert into Others + ( Other_Int, Other_Long, Other_Bit, Other_String ) + values + ( ?, ?, ?, ?) + </statement> + + <statement id="InsertInlineCustomTypeHandlerV1" + parameterClass="Other"> + Insert into Others + ( Other_Int, Other_Long, Other_Bit, Other_String ) + values + ( #Int#, #Long#, #Bool#, #Bool2,type=bool,dbType=Varchar#) + </statement> + + <statement id="InsertInlineCustomTypeHandlerV2" + parameterClass="Other"> + Insert into Others + ( Other_Int, Other_Long, Other_Bit, Other_String ) + values + ( #Int#, #Long#, #Bool#, #Bool2,handler=OuiNonBool#) + </statement> </statements> <parameterMaps> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/ByteFx/Other.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/ByteFx/Other.xml?rev=332639&r1=332638&r2=332639&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/ByteFx/Other.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/ByteFx/Other.xml Fri Nov 11 12:24:27 2005 @@ -140,7 +140,22 @@ from Others Where Other_Int = #value# </statement> + + <statement id="InsertInlineCustomTypeHandlerV1" + parameterClass="Other"> + Insert into Others + ( Other_Int, Other_Long, Other_Bit, Other_String ) + values + ( #Int#, #Long#, #Bool#, #Bool2,type=bool,dbType=varchar#) + </statement> + <statement id="InsertInlineCustomTypeHandlerV2" + parameterClass="Other"> + Insert into Others + ( Other_Int, Other_Long, Other_Bit, Other_String ) + values + ( #Int#, #Long#, #Bool#, #Bool2,handler=OuiNonBool#) + </statement> </statements> <parameterMaps> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/MySql/Other.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/MySql/Other.xml?rev=332639&r1=332638&r2=332639&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/MySql/Other.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/MySql/Other.xml Fri Nov 11 12:24:27 2005 @@ -140,6 +140,22 @@ from Others Where Other_Int = #value# </statement> + + <statement id="InsertInlineCustomTypeHandlerV1" + parameterClass="Other"> + Insert into Others + ( Other_Int, Other_Long, Other_Bit, Other_String ) + values + ( #Int#, #Long#, #Bool#, #Bool2,type=bool,dbType=Varchar#) + </statement> + + <statement id="InsertInlineCustomTypeHandlerV2" + parameterClass="Other"> + Insert into Others + ( Other_Int, Other_Long, Other_Bit, Other_String ) + values + ( #Int#, #Long#, #Bool#, #Bool2,handler=OuiNonBool#) + </statement> </statements> <parameterMaps> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/Other.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/Other.xml?rev=332639&r1=332638&r2=332639&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/Other.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/Other.xml Fri Nov 11 12:24:27 2005 @@ -153,7 +153,22 @@ from Others Where Other_Int = #value# </statement> - + + <statement id="InsertInlineCustomTypeHandlerV1" + parameterClass="Other"> + Insert into Others + ( Other_Int, Other_Long, Other_Bit, Other_String ) + values + ( #Int#, #Long#, #Bool#, #Bool2,type=bool,dbType=VarChar#) + </statement> + + <statement id="InsertInlineCustomTypeHandlerV2" + parameterClass="Other"> + Insert into Others + ( Other_Int, Other_Long, Other_Bit, Other_String ) + values + ( #Int#, #Long#, #Bool#, #Bool2,handler=OuiNonBool#) + </statement> </statements> <parameterMaps> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/Other.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/Other.xml?rev=332639&r1=332638&r2=332639&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/Other.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/Other.xml Fri Nov 11 12:24:27 2005 @@ -142,6 +142,21 @@ Where Other_Int = #value# </statement> + <statement id="InsertInlineCustomTypeHandlerV1" + parameterClass="Other"> + Insert into Others + ( Other_Int, Other_Long, Other_Bit, Other_String ) + values + ( #Int#, #Long#, #Bool#, #Bool2,type=bool,dbType=VarChar#) + </statement> + + <statement id="InsertInlineCustomTypeHandlerV2" + parameterClass="Other"> + Insert into Others + ( Other_Int, Other_Long, Other_Bit, Other_String ) + values + ( #Int#, #Long#, #Bool#, #Bool2,handler=OuiNonBool#) + </statement> </statements> <parameterMaps> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/PostgreSQL/Npgsql/Other.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/PostgreSQL/Npgsql/Other.xml?rev=332639&r1=332638&r2=332639&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/PostgreSQL/Npgsql/Other.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/PostgreSQL/Npgsql/Other.xml Fri Nov 11 12:24:27 2005 @@ -138,6 +138,21 @@ Where Other_Int = #value# </statement> + <statement id="InsertInlineCustomTypeHandlerV1" + parameterClass="Other"> + Insert into Others + ( Other_Int, Other_Long, Other_Bit, Other_String ) + values + ( #Int#, #Long#, #Bool#, #Bool2,type=bool,dbType=Text#) + </statement> + + <statement id="InsertInlineCustomTypeHandlerV2" + parameterClass="Other"> + Insert into Others + ( Other_Int, Other_Long, Other_Bit, Other_String ) + values + ( #Int#, #Long#, #Bool#, #Bool2,handler=OuiNonBool#) + </statement> </statements> <parameterMaps> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/StatementTest.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/StatementTest.cs?rev=332639&r1=332638&r2=332639&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/StatementTest.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/StatementTest.cs Fri Nov 11 12:24:27 2005 @@ -1325,6 +1325,52 @@ Assert.AreEqual(true, anOther.Bool); Assert.AreEqual(false, anOther.Bool2); } + + /// <summary> + /// Test CustomTypeHandler Oui/Non + /// </summary> + [Test] + public void TestInsertInlineCustomTypeHandlerV1() + { + Other other = new Other(); + other.Int = 99; + other.Long = 1966; + other.Bool = true; + other.Bool2 = false; + + sqlMap.Insert("InsertInlineCustomTypeHandlerV1", other); + + Other anOther = sqlMap.QueryForObject("SelectByInt", 99) as Other; + + Assert.IsNotNull( anOther ); + Assert.AreEqual(99, anOther.Int); + Assert.AreEqual(1966, anOther.Long); + Assert.AreEqual(true, anOther.Bool); + Assert.AreEqual(false, anOther.Bool2); + } + + /// <summary> + /// Test CustomTypeHandler Oui/Non + /// </summary> + [Test] + public void TestInsertInlineCustomTypeHandlerV2() + { + Other other = new Other(); + other.Int = 99; + other.Long = 1966; + other.Bool = true; + other.Bool2 = false; + + sqlMap.Insert("InsertInlineCustomTypeHandlerV2", other); + + Other anOther = sqlMap.QueryForObject("SelectByInt", 99) as Other; + + Assert.IsNotNull( anOther ); + Assert.AreEqual(99, anOther.Int); + Assert.AreEqual(1966, anOther.Long); + Assert.AreEqual(true, anOther.Bool); + Assert.AreEqual(false, anOther.Bool2); + } #endregion } } Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/DomSqlMapBuilder.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/DomSqlMapBuilder.cs?rev=332639&r1=332638&r2=332639&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/DomSqlMapBuilder.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/DomSqlMapBuilder.cs Fri Nov 11 12:24:27 2005 @@ -297,7 +297,7 @@ public DomSqlMapBuilder() { _configScope = new ConfigurationScope(); - _paramParser = new InlineParameterMapParser(_configScope.ErrorContext); + _paramParser = new InlineParameterMapParser(_configScope); _deSerializerFactory = new DeSerializerFactory(_configScope); } @@ -314,7 +314,7 @@ { _configScope = new ConfigurationScope(); _configScope.ValidateSqlMapConfig = validateSqlMapConfig; - _paramParser = new InlineParameterMapParser(_configScope.ErrorContext); + _paramParser = new InlineParameterMapParser( _configScope ); } #endregion Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ParameterMapping/InlineParameterMapParser.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ParameterMapping/InlineParameterMapParser.cs?rev=332639&r1=332638&r2=332639&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ParameterMapping/InlineParameterMapParser.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ParameterMapping/InlineParameterMapParser.cs Fri Nov 11 12:24:27 2005 @@ -52,7 +52,7 @@ private const string PARAMETER_TOKEN = "#"; private const string PARAM_DELIM = ":"; - private ErrorContext _errorContext= null; + private ConfigurationScope _configScope = null; #endregion @@ -61,10 +61,10 @@ /// <summary> /// Constructor /// </summary> - /// <param name="errorContext"></param> - public InlineParameterMapParser(ErrorContext errorContext) + /// <param name="configScope"></param> + public InlineParameterMapParser(ConfigurationScope configScope) { - _errorContext = errorContext; + _configScope = configScope; } #endregion @@ -208,9 +208,11 @@ } } - mapping.Initialize(typeHandlerFactory, _errorContext); - - if (mapping.TypeHandler is UnknownTypeHandler) + if (mapping.CallBackName.Length >0) + { + mapping.Initialize( _configScope ); + } + else { ITypeHandler handler = null; if (parameterClassType == null) @@ -224,6 +226,7 @@ mapping.CLRType, mapping.DbType ); } mapping.TypeHandler = handler; + mapping.Initialize( _configScope ); } return mapping; @@ -235,10 +238,10 @@ /// #propertyName:dbType:nullValue# /// </summary> /// <param name="token"></param> - /// <param name="parameterClass"></param> + /// <param name="parameterClassType"></param> /// <param name="typeHandlerFactory"></param> /// <returns></returns> - private ParameterProperty OldParseMapping(string token, Type parameterClass, TypeHandlerFactory typeHandlerFactory) + private ParameterProperty OldParseMapping(string token, Type parameterClassType, TypeHandlerFactory typeHandlerFactory) { ParameterProperty mapping = new ParameterProperty(); @@ -260,16 +263,16 @@ mapping.DbType = dBType; ITypeHandler handler = null; - if (parameterClass == null) + if (parameterClassType == null) { handler = typeHandlerFactory.GetUnkownTypeHandler(); } else { - handler = ResolveTypeHandler(typeHandlerFactory, parameterClass, propertyName, null, dBType); + handler = ResolveTypeHandler(typeHandlerFactory, parameterClassType, propertyName, null, dBType); } mapping.TypeHandler = handler; - mapping.Initialize(typeHandlerFactory, _errorContext); + mapping.Initialize( _configScope.ErrorContext ); } else if (n1 >= 5) { @@ -290,16 +293,16 @@ mapping.DbType = dBType; mapping.NullValue = nullValue; ITypeHandler handler = null; - if (parameterClass == null) + if (parameterClassType == null) { handler = typeHandlerFactory.GetUnkownTypeHandler(); } else { - handler = ResolveTypeHandler(typeHandlerFactory, parameterClass, propertyName, null, dBType); + handler = ResolveTypeHandler(typeHandlerFactory, parameterClassType, propertyName, null, dBType); } mapping.TypeHandler = handler; - mapping.Initialize(typeHandlerFactory, _errorContext); + mapping.Initialize( _configScope.ErrorContext ); } else { @@ -310,16 +313,16 @@ { mapping.PropertyName = token; ITypeHandler handler = null; - if (parameterClass == null) + if (parameterClassType == null) { handler = typeHandlerFactory.GetUnkownTypeHandler(); } else { - handler = ResolveTypeHandler(typeHandlerFactory, parameterClass, token, null, null); + handler = ResolveTypeHandler(typeHandlerFactory, parameterClassType, token, null, null); } mapping.TypeHandler = handler; - mapping.Initialize(typeHandlerFactory, _errorContext); + mapping.Initialize( _configScope.ErrorContext ); } return mapping; } @@ -328,23 +331,23 @@ /// <summary> /// Resolve TypeHandler /// </summary> - /// <param name="paremeterClassType"></param> + /// <param name="parameterClassType"></param> /// <param name="propertyName"></param> /// <param name="propertyType"></param> /// <param name="dbType"></param> /// <param name="typeHandlerFactory"></param> /// <returns></returns> private ITypeHandler ResolveTypeHandler(TypeHandlerFactory typeHandlerFactory, - Type paremeterClassType, string propertyName, + Type parameterClassType, string propertyName, string propertyType, string dbType) { ITypeHandler handler = null; - if (paremeterClassType == null) + if (parameterClassType == null) { handler = typeHandlerFactory.GetUnkownTypeHandler(); } - else if (typeof(IDictionary).IsAssignableFrom(paremeterClassType)) + else if (typeof(IDictionary).IsAssignableFrom(parameterClassType)) { if (propertyType == null || propertyType.Length==0) { @@ -363,13 +366,13 @@ } } } - else if (typeHandlerFactory.GetTypeHandler(paremeterClassType, dbType) != null) + else if (typeHandlerFactory.GetTypeHandler(parameterClassType, dbType) != null) { - handler = typeHandlerFactory.GetTypeHandler(paremeterClassType, dbType); + handler = typeHandlerFactory.GetTypeHandler(parameterClassType, dbType); } else { - Type typeClass = ObjectProbe.GetPropertyTypeForGetter(paremeterClassType, propertyName); + Type typeClass = ObjectProbe.GetPropertyTypeForGetter(parameterClassType, propertyName); handler = typeHandlerFactory.GetTypeHandler(typeClass, dbType); } Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ParameterMapping/ParameterProperty.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ParameterMapping/ParameterProperty.cs?rev=332639&r1=332638&r2=332639&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ParameterMapping/ParameterProperty.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ParameterMapping/ParameterProperty.cs Fri Nov 11 12:24:27 2005 @@ -297,35 +297,15 @@ /// /// </summary> /// <param name="errorContext"></param> - /// <param name="typeHandlerFactory"></param> - internal void Initialize(TypeHandlerFactory typeHandlerFactory, ErrorContext errorContext) + internal void Initialize(ErrorContext errorContext) { + errorContext.MoreInfo = "Initialize an inline parameter property '" + this.PropertyName + "' ."; + if(_directionAttribute.Length >0) { _direction = (ParameterDirection)Enum.Parse( typeof(ParameterDirection), _directionAttribute, true ); } - errorContext.MoreInfo = "Initialize an inline parameter property '" + this.PropertyName + "' ."; - if (this.CLRType.Length == 0 ) // Unknown - { - _typeHandler = typeHandlerFactory.GetUnkownTypeHandler(); - } - else // If we specify a CLR type, use it - { - Type type = Resources.TypeForName(this.CLRType); - - if (typeHandlerFactory.IsSimpleType(type)) - { - // Primitive - _typeHandler = typeHandlerFactory.GetTypeHandler(type); - } - else - { - // .NET object - type = ObjectProbe.GetPropertyTypeForGetter(type, this.PropertyName); - _typeHandler = typeHandlerFactory.GetTypeHandler(type); - } - } } Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/DynamicSql.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/DynamicSql.cs?rev=332639&r1=332638&r2=332639&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/DynamicSql.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/DynamicSql.cs Fri Nov 11 12:24:27 2005 @@ -25,19 +25,16 @@ #endregion #region Imports -using System; + using System.Collections; using System.Text; - using IBatisNet.Common; -using IBatisNet.DataMapper.Configuration.Sql; -using IBatisNet.DataMapper.Configuration.Sql.SimpleDynamic; -using IBatisNet.DataMapper.Configuration.Statements; using IBatisNet.DataMapper.Configuration.ParameterMapping; using IBatisNet.DataMapper.Configuration.Sql.Dynamic.Elements; using IBatisNet.DataMapper.Configuration.Sql.Dynamic.Handlers; +using IBatisNet.DataMapper.Configuration.Sql.SimpleDynamic; +using IBatisNet.DataMapper.Configuration.Statements; using IBatisNet.DataMapper.Scope; -using IBatisNet.DataMapper.TypeHandlers; #endregion @@ -57,7 +54,7 @@ private IList _children = new ArrayList(); private IStatement _statement = null ; private InlineParameterMapParser _paramParser = null; - private TypeHandlerFactory _typeHandlerFactory = null; + private ConfigurationScope _configScope = null; private bool _usePositionalParameters = false; #endregion @@ -71,7 +68,7 @@ internal DynamicSql(ConfigurationScope configScope, IStatement statement) { _statement = statement; - _typeHandlerFactory = configScope.TypeHandlerFactory; + _configScope = configScope; _usePositionalParameters = configScope.DataSource.Provider.UsePositionalParameters; } #endregion @@ -102,7 +99,7 @@ public RequestScope GetRequestScope(object parameterObject, IDalSession session) { RequestScope request = new RequestScope(); - _paramParser = new InlineParameterMapParser(request.ErrorContext); + _paramParser = new InlineParameterMapParser( _configScope ); request.ResultMap = _statement.ResultMap; string sqlStatement = Process(request, parameterObject); @@ -144,7 +141,7 @@ // Processes $substitutions$ after DynamicSql if ( SimpleDynamicSql.IsSimpleDynamicSql(dynSql) ) { - dynSql = new SimpleDynamicSql(_typeHandlerFactory, dynSql, _statement).GetSql(parameterObject); + dynSql = new SimpleDynamicSql(_configScope.TypeHandlerFactory, dynSql, _statement).GetSql(parameterObject); } return dynSql; } @@ -251,7 +248,7 @@ if (handler.IsPostParseRequired) { - SqlText sqlText = _paramParser.ParseInlineParameterMap(_typeHandlerFactory, null, body.ToString() ); + SqlText sqlText = _paramParser.ParseInlineParameterMap(_configScope.TypeHandlerFactory, null, body.ToString() ); buffer.Append(sqlText.Text); ParameterProperty[] mappings = sqlText.Parameters; if (mappings != null) From [email protected] Sat Nov 12 18:59:14 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70372 invoked from network); 12 Nov 2005 18:59:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Nov 2005 18:59:13 -0000 Received: (qmail 77370 invoked by uid 500); 12 Nov 2005 18:59:13 -0000 Delivered-To: [email protected] Received: (qmail 77338 invoked by uid 500); 12 Nov 2005 18:59:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 77327 invoked by uid 99); 12 Nov 2005 18:59:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Nov 2005 10:59:12 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 12 Nov 2005 10:59:04 -0800 Received: (qmail 70326 invoked by uid 65534); 12 Nov 2005 18:58:50 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r332815 - in /ibatis/trunk/cs/mapper/IBatisNet.DataMapper: ./ Configuration/ Configuration/ParameterMapping/ Configuration/ResultMapping/ Configuration/Serializers/ Configuration/Sql/Dynamic/ Configuration/Statements/ TypeHandlers/ Date: Sat, 12 Nov 2005 18:58:47 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: gbayon Date: Sat Nov 12 10:58:20 2005 New Revision: 332815 URL: http://svn.apache.org/viewcvs?rev=332815&view=rev Log: - Moved Type Alias repository in TypeHandlerFactory file Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/DomSqlMapBuilder.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ParameterMapping/InlineParameterMapParser.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ParameterMapping/ParameterProperty.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ResultMapping/ResultMap.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ResultMapping/ResultProperty.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/CacheModelDeSerializer.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/ParameterPropertyDeSerializer.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/TypeAliasDeSerializer.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/TypeHandlerDeSerializer.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/DynamicSql.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Statements/Statement.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SqlMapper.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/TypeHandlerFactory.cs Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/DomSqlMapBuilder.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/DomSqlMapBuilder.cs?rev=332815&r1=332814&r2=332815&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/DomSqlMapBuilder.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/DomSqlMapBuilder.cs Sat Nov 12 10:58:20 2005 @@ -297,7 +297,7 @@ public DomSqlMapBuilder() { _configScope = new ConfigurationScope(); - _paramParser = new InlineParameterMapParser(_configScope); + _paramParser = new InlineParameterMapParser( _configScope.ErrorContext ); _deSerializerFactory = new DeSerializerFactory(_configScope); } @@ -314,7 +314,7 @@ { _configScope = new ConfigurationScope(); _configScope.ValidateSqlMapConfig = validateSqlMapConfig; - _paramParser = new InlineParameterMapParser( _configScope ); + _paramParser = new InlineParameterMapParser( _configScope.ErrorContext ); } #endregion @@ -635,13 +635,13 @@ TypeAlias cacheAlias = new TypeAlias(typeof(MemoryCacheControler)); cacheAlias.Name = "MEMORY"; - _configScope.SqlMapper.AddTypeAlias(cacheAlias.Name, cacheAlias); + _configScope.SqlMapper.TypeHandlerFactory.AddTypeAlias(cacheAlias.Name, cacheAlias); cacheAlias = new TypeAlias(typeof(LruCacheController)); cacheAlias.Name = "LRU"; - _configScope.SqlMapper.AddTypeAlias(cacheAlias.Name, cacheAlias); + _configScope.SqlMapper.TypeHandlerFactory.AddTypeAlias(cacheAlias.Name, cacheAlias); cacheAlias = new TypeAlias(typeof(FifoCacheController)); cacheAlias.Name = "FIFO"; - _configScope.SqlMapper.AddTypeAlias(cacheAlias.Name, cacheAlias); + _configScope.SqlMapper.TypeHandlerFactory.AddTypeAlias(cacheAlias.Name, cacheAlias); #endregion Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ParameterMapping/InlineParameterMapParser.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ParameterMapping/InlineParameterMapParser.cs?rev=332815&r1=332814&r2=332815&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ParameterMapping/InlineParameterMapParser.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ParameterMapping/InlineParameterMapParser.cs Sat Nov 12 10:58:20 2005 @@ -52,7 +52,7 @@ private const string PARAMETER_TOKEN = "#"; private const string PARAM_DELIM = ":"; - private ConfigurationScope _configScope = null; + private ErrorContext _errorContext= null; #endregion @@ -61,10 +61,10 @@ /// <summary> /// Constructor /// </summary> - /// <param name="configScope"></param> - public InlineParameterMapParser(ConfigurationScope configScope) + /// <param name="errorContext"></param> + public InlineParameterMapParser(ErrorContext errorContext) { - _configScope = configScope; + _errorContext = errorContext; } #endregion @@ -210,7 +210,7 @@ if (mapping.CallBackName.Length >0) { - mapping.Initialize( _configScope ); + mapping.Initialize( typeHandlerFactory, _errorContext ); } else { @@ -226,7 +226,7 @@ mapping.CLRType, mapping.DbType ); } mapping.TypeHandler = handler; - mapping.Initialize( _configScope ); + mapping.Initialize( typeHandlerFactory, _errorContext ); } return mapping; @@ -272,7 +272,7 @@ handler = ResolveTypeHandler(typeHandlerFactory, parameterClassType, propertyName, null, dBType); } mapping.TypeHandler = handler; - mapping.Initialize( _configScope.ErrorContext ); + mapping.Initialize( typeHandlerFactory, _errorContext ); } else if (n1 >= 5) { @@ -302,7 +302,7 @@ handler = ResolveTypeHandler(typeHandlerFactory, parameterClassType, propertyName, null, dBType); } mapping.TypeHandler = handler; - mapping.Initialize( _configScope.ErrorContext ); + mapping.Initialize( typeHandlerFactory, _errorContext ); } else { @@ -322,7 +322,7 @@ handler = ResolveTypeHandler(typeHandlerFactory, parameterClassType, token, null, null); } mapping.TypeHandler = handler; - mapping.Initialize( _configScope.ErrorContext ); + mapping.Initialize( typeHandlerFactory, _errorContext ); } return mapping; } Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ParameterMapping/ParameterProperty.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ParameterMapping/ParameterProperty.cs?rev=332815&r1=332814&r2=332815&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ParameterMapping/ParameterProperty.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ParameterMapping/ParameterProperty.cs Sat Nov 12 10:58:20 2005 @@ -245,20 +245,21 @@ /// <summary> /// /// </summary> - /// <param name="configScope"></param> - public void Initialize(ConfigurationScope configScope) + /// <param name="typeHandlerFactory"></param> + /// <param name="errorContext"></param> + public void Initialize(TypeHandlerFactory typeHandlerFactory, ErrorContext errorContext) { if(_directionAttribute.Length >0) { _direction = (ParameterDirection)Enum.Parse( typeof(ParameterDirection), _directionAttribute, true ); } - configScope.ErrorContext.MoreInfo = "Check the parameter mapping typeHandler attribute '" + this.CallBackName + "' (must be a ITypeHandlerCallback implementation)."; + errorContext.MoreInfo = "Check the parameter mapping typeHandler attribute '" + this.CallBackName + "' (must be a ITypeHandlerCallback implementation)."; if (this.CallBackName.Length >0) { try { - Type type = configScope.SqlMapper.GetType(this.CallBackName); + Type type = typeHandlerFactory.GetType(this.CallBackName); ITypeHandlerCallback typeHandlerCallback = (ITypeHandlerCallback) Activator.CreateInstance( type ); _typeHandler = new CustomTypeHandler(typeHandlerCallback); } @@ -271,22 +272,22 @@ { if (this.CLRType.Length == 0 ) // Unknown { - _typeHandler = configScope.TypeHandlerFactory.GetUnkownTypeHandler(); + _typeHandler = typeHandlerFactory.GetUnkownTypeHandler(); } else // If we specify a CLR type, use it { Type type = Resources.TypeForName(this.CLRType); - if (configScope.TypeHandlerFactory.IsSimpleType(type)) + if (typeHandlerFactory.IsSimpleType(type)) { // Primitive - _typeHandler = configScope.TypeHandlerFactory.GetTypeHandler(type, _dbType); + _typeHandler = typeHandlerFactory.GetTypeHandler(type, _dbType); } else { // .NET object type = ObjectProbe.GetPropertyTypeForGetter(type, this.PropertyName); - _typeHandler = configScope.TypeHandlerFactory.GetTypeHandler(type, _dbType); + _typeHandler = typeHandlerFactory.GetTypeHandler(type, _dbType); } } } @@ -305,6 +306,8 @@ { _direction = (ParameterDirection)Enum.Parse( typeof(ParameterDirection), _directionAttribute, true ); } + + } Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ResultMapping/ResultMap.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ResultMapping/ResultMap.cs?rev=332815&r1=332814&r2=332815&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ResultMapping/ResultMap.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ResultMapping/ResultMap.cs Sat Nov 12 10:58:20 2005 @@ -199,7 +199,7 @@ { try { - _class = configScope.SqlMapper.GetType(_className); + _class = configScope.SqlMapper.TypeHandlerFactory.GetType(_className); // Load the child node GetChildNode(configScope); Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ResultMapping/ResultProperty.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ResultMapping/ResultProperty.cs?rev=332815&r1=332814&r2=332815&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ResultMapping/ResultProperty.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ResultMapping/ResultProperty.cs Sat Nov 12 10:58:20 2005 @@ -267,7 +267,7 @@ configScope.ErrorContext.MoreInfo = "Result property '"+_propertyName+"' check the typeHandler attribute '" + this.CallBackName + "' (must be a ITypeHandlerCallback implementation)."; try { - Type type = configScope.SqlMapper.GetType(this.CallBackName); + Type type = configScope.SqlMapper.TypeHandlerFactory.GetType(this.CallBackName); ITypeHandlerCallback typeHandlerCallback = (ITypeHandlerCallback) Activator.CreateInstance( type ); _typeHandler = new CustomTypeHandler(typeHandlerCallback); } Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/CacheModelDeSerializer.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/CacheModelDeSerializer.cs?rev=332815&r1=332814&r2=332815&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/CacheModelDeSerializer.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/CacheModelDeSerializer.cs Sat Nov 12 10:58:20 2005 @@ -53,7 +53,7 @@ NameValueCollection prop = NodeUtils.ParseAttributes(node, configScope.Properties); model.Id = NodeUtils.GetStringAttribute(prop, "id"); model.Implementation = NodeUtils.GetStringAttribute(prop, "implementation"); - model.Implementation = configScope.SqlMapper.GetTypeAlias(model.Implementation).Class.AssemblyQualifiedName; + model.Implementation = configScope.SqlMapper.TypeHandlerFactory.GetTypeAlias(model.Implementation).Class.AssemblyQualifiedName; for(int i=0;i<node.ChildNodes.Count;i++) { Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/ParameterPropertyDeSerializer.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/ParameterPropertyDeSerializer.cs?rev=332815&r1=332814&r2=332815&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/ParameterPropertyDeSerializer.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/ParameterPropertyDeSerializer.cs Sat Nov 12 10:58:20 2005 @@ -63,7 +63,7 @@ property.Scale = NodeUtils.GetByteAttribute(prop, "scale", 0); property.Size = NodeUtils.GetIntAttribute(prop, "size", -1); - property.Initialize( configScope ); + property.Initialize(configScope.TypeHandlerFactory, configScope.ErrorContext); return property; } Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/TypeAliasDeSerializer.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/TypeAliasDeSerializer.cs?rev=332815&r1=332814&r2=332815&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/TypeAliasDeSerializer.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/TypeAliasDeSerializer.cs Sat Nov 12 10:58:20 2005 @@ -59,7 +59,7 @@ typeAlias.Initialize(); - configScope.SqlMapper.AddTypeAlias( typeAlias.Name, typeAlias ); + configScope.SqlMapper.TypeHandlerFactory.AddTypeAlias( typeAlias.Name, typeAlias ); } } } Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/TypeHandlerDeSerializer.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/TypeHandlerDeSerializer.cs?rev=332815&r1=332814&r2=332815&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/TypeHandlerDeSerializer.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/TypeHandlerDeSerializer.cs Sat Nov 12 10:58:20 2005 @@ -63,7 +63,7 @@ configScope.ErrorContext.MoreInfo = "Check the callback attribute '" + handler.CallBackName + "' (must be a classname)."; ITypeHandler typeHandler = null; - Type type = configScope.SqlMapper.GetType(handler.CallBackName); + Type type = configScope.SqlMapper.TypeHandlerFactory.GetType(handler.CallBackName); object impl = Activator.CreateInstance( type ); if (impl is ITypeHandlerCallback) { Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/DynamicSql.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/DynamicSql.cs?rev=332815&r1=332814&r2=332815&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/DynamicSql.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/DynamicSql.cs Sat Nov 12 10:58:20 2005 @@ -35,6 +35,7 @@ using IBatisNet.DataMapper.Configuration.Sql.SimpleDynamic; using IBatisNet.DataMapper.Configuration.Statements; using IBatisNet.DataMapper.Scope; +using IBatisNet.DataMapper.TypeHandlers; #endregion @@ -54,7 +55,7 @@ private IList _children = new ArrayList(); private IStatement _statement = null ; private InlineParameterMapParser _paramParser = null; - private ConfigurationScope _configScope = null; + private TypeHandlerFactory _typeHandlerFactory = null; private bool _usePositionalParameters = false; #endregion @@ -68,7 +69,7 @@ internal DynamicSql(ConfigurationScope configScope, IStatement statement) { _statement = statement; - _configScope = configScope; + _typeHandlerFactory = configScope.TypeHandlerFactory; _usePositionalParameters = configScope.DataSource.Provider.UsePositionalParameters; } #endregion @@ -99,7 +100,7 @@ public RequestScope GetRequestScope(object parameterObject, IDalSession session) { RequestScope request = new RequestScope(); - _paramParser = new InlineParameterMapParser( _configScope ); + _paramParser = new InlineParameterMapParser( request.ErrorContext ); request.ResultMap = _statement.ResultMap; string sqlStatement = Process(request, parameterObject); @@ -141,7 +142,7 @@ // Processes $substitutions$ after DynamicSql if ( SimpleDynamicSql.IsSimpleDynamicSql(dynSql) ) { - dynSql = new SimpleDynamicSql(_configScope.TypeHandlerFactory, dynSql, _statement).GetSql(parameterObject); + dynSql = new SimpleDynamicSql(_typeHandlerFactory, dynSql, _statement).GetSql(parameterObject); } return dynSql; } @@ -248,7 +249,7 @@ if (handler.IsPostParseRequired) { - SqlText sqlText = _paramParser.ParseInlineParameterMap(_configScope.TypeHandlerFactory, null, body.ToString() ); + SqlText sqlText = _paramParser.ParseInlineParameterMap(_typeHandlerFactory, null, body.ToString() ); buffer.Append(sqlText.Text); ParameterProperty[] mappings = sqlText.Parameters; if (mappings != null) Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Statements/Statement.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Statements/Statement.cs?rev=332815&r1=332814&r2=332815&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Statements/Statement.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Statements/Statement.cs Sat Nov 12 10:58:20 2005 @@ -25,23 +25,19 @@ #endregion #region Using + using System; -using System.Data; using System.Collections; +using System.Data; using System.Xml.Serialization; -using System.Reflection; - -using IBatisNet.Common.Exceptions; using IBatisNet.Common.Utilities.TypesResolver; - -using IBatisNet.DataMapper.Configuration.Alias; -using IBatisNet.DataMapper.TypeHandlers; -using IBatisNet.DataMapper.Configuration.ResultMapping; -using IBatisNet.DataMapper.Configuration.ParameterMapping; using IBatisNet.DataMapper.Configuration.Cache; +using IBatisNet.DataMapper.Configuration.ParameterMapping; +using IBatisNet.DataMapper.Configuration.ResultMapping; using IBatisNet.DataMapper.Configuration.Sql; using IBatisNet.DataMapper.Exceptions; using IBatisNet.DataMapper.Scope; + #endregion namespace IBatisNet.DataMapper.Configuration.Statements @@ -53,9 +49,6 @@ [XmlRoot("statement", Namespace="http://ibatis.apache.org/mapping")] public class Statement : IStatement { - #region Constants - private const string DOT = "."; - #endregion #region Fields @@ -134,7 +127,7 @@ /// <summary> /// Tell us if a cacheModel is attached to this statement. /// </summary> - [XmlIgnoreAttribute] + [XmlIgnore] public bool HasCacheModel { get{ return _cacheModelName.Length >0;} @@ -143,7 +136,7 @@ /// <summary> /// The CacheModel used by this statement. /// </summary> - [XmlIgnoreAttribute] + [XmlIgnore] public CacheModel CacheModel { get { return _cacheModel; } @@ -164,7 +157,7 @@ /// <summary> /// The list class type to use for strongly typed collection. /// </summary> - [XmlIgnoreAttribute] + [XmlIgnore] public Type ListClass { get { return _listClass; } @@ -183,7 +176,7 @@ /// <summary> /// The result class type to used. /// </summary> - [XmlIgnoreAttribute] + [XmlIgnore] public Type ResultClass { get { return _resultClass; } @@ -202,7 +195,7 @@ /// <summary> /// The parameter class type to used. /// </summary> - [XmlIgnoreAttribute] + [XmlIgnore] public Type ParameterClass { get { return _parameterClass; } @@ -228,7 +221,7 @@ /// <summary> /// The sql statement /// </summary> - [XmlIgnoreAttribute] + [XmlIgnore] public ISql Sql { get { return _sql; } @@ -265,7 +258,7 @@ /// <summary> /// The ResultMap used by the statement. /// </summary> - [XmlIgnoreAttribute] + [XmlIgnore] public ResultMap ResultMap { get { return _resultMap; } @@ -274,7 +267,7 @@ /// <summary> /// The parameterMap used by the statement. /// </summary> - [XmlIgnoreAttribute] + [XmlIgnore] public ParameterMap ParameterMap { get { return _parameterMap; } @@ -286,7 +279,7 @@ /// Default Text. /// </summary> /// <example>Text or StoredProcedure</example> - [XmlIgnoreAttribute] + [XmlIgnore] public virtual CommandType CommandType { get { return CommandType.Text; } @@ -317,15 +310,15 @@ } if (_resultClassName != string.Empty ) { - _resultClass = configurationScope.SqlMapper.GetType(_resultClassName); + _resultClass = configurationScope.SqlMapper.TypeHandlerFactory.GetType(_resultClassName); } if (_parameterClassName != string.Empty ) { - _parameterClass = configurationScope.SqlMapper.GetType(_parameterClassName); + _parameterClass = configurationScope.SqlMapper.TypeHandlerFactory.GetType(_parameterClassName); } if (_listClassName != string.Empty ) { - _listClass = configurationScope.SqlMapper.GetType(_listClassName); + _listClass = configurationScope.SqlMapper.TypeHandlerFactory.GetType(_listClassName); } } Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SqlMapper.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SqlMapper.cs?rev=332815&r1=332814&r2=332815&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SqlMapper.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SqlMapper.cs Sat Nov 12 10:58:20 2005 @@ -36,7 +36,6 @@ using IBatisNet.Common; using IBatisNet.Common.Utilities; using IBatisNet.DataMapper.Configuration; -using IBatisNet.DataMapper.Configuration.Alias; using IBatisNet.DataMapper.Configuration.Cache; using IBatisNet.DataMapper.Configuration.ParameterMapping; using IBatisNet.DataMapper.Configuration.ResultMapping; @@ -79,8 +78,6 @@ private HybridDictionary _parameterMaps = new HybridDictionary(); // DataSource private DataSource _dataSource = null; - //(typeAlias name, type alias) - private HybridDictionary _typeAliasMaps = new HybridDictionary(); //(CacheModel name, cache)) private HybridDictionary _cacheMaps = new HybridDictionary(); private TypeHandlerFactory _typeHandlerFactory = null; @@ -1297,60 +1294,10 @@ set { _dataSource = value; } } - /// <summary> - /// Gets a named TypeAlias from the list of available TypeAlias - /// </summary> - /// <param name="name">The name of the TypeAlias.</param> - /// <returns>The TypeAlias.</returns> - internal TypeAlias GetTypeAlias(string name) - { - if (_typeAliasMaps.Contains(name) == true) - { - return (TypeAlias) _typeAliasMaps[name]; - } - else - { - return null; - } - } - - /// <summary> - /// Adds a named TypeAlias to the list of available TypeAlias. - /// </summary> - /// <param name="key">The key name.</param> - /// <param name="typeAlias"> The TypeAlias.</param> - internal void AddTypeAlias(string key, TypeAlias typeAlias) - { - if (_typeAliasMaps.Contains(key) == true) - { - throw new DataMapperException(" Alias name conflict occurred. The type alias '" + key + "' is already mapped to the value '"+typeAlias.ClassName+"'."); - } - _typeAliasMaps.Add(key, typeAlias); - } - + - /// <summary> - /// Gets the type object from the specific class name. - /// </summary> - /// <param name="className">The supplied class name.</param> - /// <returns>The correpsonding type. - /// </returns> - internal Type GetType(string className) - { - Type type = null; - TypeAlias typeAlias = this.GetTypeAlias(className) as TypeAlias; - if (typeAlias != null) - { - type = typeAlias.Class; - } - else - { - type = Resources.TypeForName(className); - } - return type; - } /// <summary> /// Flushes all cached objects that belong to this SqlMap Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/TypeHandlerFactory.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/TypeHandlerFactory.cs?rev=332815&r1=332814&r2=332815&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/TypeHandlerFactory.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/TypeHandlerFactory.cs Sat Nov 12 10:58:20 2005 @@ -27,9 +27,13 @@ #region Using using System; +using System.Collections; using System.Collections.Specialized; using System.Reflection; using IBatisNet.Common.Logging; +using IBatisNet.Common.Utilities; +using IBatisNet.DataMapper.Configuration.Alias; +using IBatisNet.DataMapper.Exceptions; #endregion @@ -44,10 +48,11 @@ #region Fields private static readonly ILog _logger = LogManager.GetLogger( MethodBase.GetCurrentMethod().DeclaringType ); - private HybridDictionary _typeHandlerMap = new HybridDictionary(); + private IDictionary _typeHandlerMap = new HybridDictionary(); private ITypeHandler _unknownTypeHandler = null; private const string NULL = "_NULL_TYPE_"; - + //(typeAlias name, type alias) + private IDictionary _typeAliasMaps = new HybridDictionary(); #endregion #region Constructor @@ -264,5 +269,59 @@ } #endregion + + /// <summary> + /// Gets a named TypeAlias from the list of available TypeAlias + /// </summary> + /// <param name="name">The name of the TypeAlias.</param> + /// <returns>The TypeAlias.</returns> + internal TypeAlias GetTypeAlias(string name) + { + if (_typeAliasMaps.Contains(name) == true) + { + return (TypeAlias) _typeAliasMaps[name]; + } + else + { + return null; + } + } + + /// <summary> + /// Gets the type object from the specific class name. + /// </summary> + /// <param name="className">The supplied class name.</param> + /// <returns>The correpsonding type. + /// </returns> + internal Type GetType(string className) + { + Type type = null; + TypeAlias typeAlias = this.GetTypeAlias(className) as TypeAlias; + + if (typeAlias != null) + { + type = typeAlias.Class; + } + else + { + type = Resources.TypeForName(className); + } + + return type; + } + + /// <summary> + /// Adds a named TypeAlias to the list of available TypeAlias. + /// </summary> + /// <param name="key">The key name.</param> + /// <param name="typeAlias"> The TypeAlias.</param> + internal void AddTypeAlias(string key, TypeAlias typeAlias) + { + if (_typeAliasMaps.Contains(key) == true) + { + throw new DataMapperException(" Alias name conflict occurred. The type alias '" + key + "' is already mapped to the value '"+typeAlias.ClassName+"'."); + } + _typeAliasMaps.Add(key, typeAlias); + } } } From [email protected] Sun Nov 13 14:18:49 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58584 invoked from network); 13 Nov 2005 14:18:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Nov 2005 14:18:49 -0000 Received: (qmail 7874 invoked by uid 500); 13 Nov 2005 14:18:49 -0000 Delivered-To: [email protected] Received: (qmail 7856 invoked by uid 500); 13 Nov 2005 14:18:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7845 invoked by uid 99); 13 Nov 2005 14:18:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Nov 2005 06:18:48 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 13 Nov 2005 06:18:40 -0800 Received: (qmail 58441 invoked by uid 65534); 13 Nov 2005 14:18:27 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r333007 - /ibatis/trunk/java/mapper/mapper2/src/com/ibatis/dao/engine/builder/xml/XmlDaoManagerBuilder.java Date: Sun, 13 Nov 2005 14:18:27 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: lmeadors Date: Sun Nov 13 06:18:21 2005 New Revision: 333007 URL: http://svn.apache.org/viewcvs?rev=333007&view=rev Log: Fixing my over-zealous use of transaction manager classes... Modified: ibatis/trunk/java/mapper/mapper2/src/com/ibatis/dao/engine/builder/xml/XmlDaoManagerBuilder.java Modified: ibatis/trunk/java/mapper/mapper2/src/com/ibatis/dao/engine/builder/xml/XmlDaoManagerBuilder.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/src/com/ibatis/dao/engine/builder/xml/XmlDaoManagerBuilder.java?rev=333007&r1=333006&r2=333007&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/src/com/ibatis/dao/engine/builder/xml/XmlDaoManagerBuilder.java (original) +++ ibatis/trunk/java/mapper/mapper2/src/com/ibatis/dao/engine/builder/xml/XmlDaoManagerBuilder.java Sun Nov 13 06:18:21 2005 @@ -25,12 +25,10 @@ import com.ibatis.dao.engine.impl.DaoImpl; import com.ibatis.dao.engine.impl.StandardDaoManager; import com.ibatis.dao.engine.transaction.DaoTransactionManager; -import com.ibatis.dao.engine.transaction.toplink.ToplinkDaoTransactionManager; import com.ibatis.dao.engine.transaction.external.ExternalDaoTransactionManager; import com.ibatis.dao.engine.transaction.hibernate.HibernateDaoTransactionManager; import com.ibatis.dao.engine.transaction.jdbc.JdbcDaoTransactionManager; import com.ibatis.dao.engine.transaction.jta.JtaDaoTransactionManager; -import com.ibatis.dao.engine.transaction.ojb.OjbBrokerTransactionManager; import com.ibatis.dao.engine.transaction.sqlmap.SqlMapDaoTransactionManager; import org.w3c.dom.*; import org.xml.sax.ErrorHandler; @@ -70,9 +68,9 @@ typeAliases.put("HIBERNATE", HibernateDaoTransactionManager.class.getName()); typeAliases.put("JDBC", JdbcDaoTransactionManager.class.getName()); typeAliases.put("JTA", JtaDaoTransactionManager.class.getName()); - typeAliases.put("OJB", OjbBrokerTransactionManager.class.getName()); + typeAliases.put("OJB", "com.ibatis.dao.engine.transaction.ojb.OjbBrokerTransactionManager"); typeAliases.put("SQLMAP", SqlMapDaoTransactionManager.class.getName()); - typeAliases.put("TOPLINK", ToplinkDaoTransactionManager.class.getName()); + typeAliases.put("TOPLINK", "com.ibatis.dao.engine.transaction.toplink.ToplinkDaoTransactionManager"); } public DaoManager buildDaoManager(Reader reader, Properties props) From [email protected] Thu Nov 17 18:20:21 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29667 invoked from network); 17 Nov 2005 18:20:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Nov 2005 18:20:21 -0000 Received: (qmail 3241 invoked by uid 500); 17 Nov 2005 18:20:21 -0000 Delivered-To: [email protected] Received: (qmail 3209 invoked by uid 500); 17 Nov 2005 18:20:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 3198 invoked by uid 99); 17 Nov 2005 18:20:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Nov 2005 10:20:20 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 17 Nov 2005 10:21:54 -0800 Received: (qmail 29517 invoked by uid 65534); 17 Nov 2005 18:19:59 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r345297 - /ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/bin/Debug/dao_MSSQL_SqlClient.config Date: Thu, 17 Nov 2005 18:19:59 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: gbayon Date: Thu Nov 17 10:19:52 2005 New Revision: 345297 URL: http://svn.apache.org/viewcvs?rev=345297&view=rev Log: - Updated config file for multiple dao context Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/bin/Debug/dao_MSSQL_SqlClient.config Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/bin/Debug/dao_MSSQL_SqlClient.config URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/bin/Debug/dao_MSSQL_SqlClient.config?rev=345297&r1=345296&r2=345297&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/bin/Debug/dao_MSSQL_SqlClient.config (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/bin/Debug/dao_MSSQL_SqlClient.config Thu Nov 17 10:19:52 2005 @@ -31,19 +31,34 @@ </database> <daoSessionHandler id="SqlMap"> - <!-- + <!-- --> <property name="resource" value="SqlMap_MSSQL_SqlClient.config"/> - --> + <!-- <property name="url" value="E:\Projet\iBatis\trunk\cs\mapper\IBatisNet.DataAccess.Test\bin\Debug\SqlMap_MSSQL_SqlClient.config"/> --> - <!-- --> + <!-- <property name="embedded" value="bin.Debug.SqlMap_MSSQL_SqlClient.config, IBatisNet.DataAccess.Test"/> - + --> </daoSessionHandler> <daoFactory> <dao interface="IBatisNet.DataAccess.Test.Dao.Interfaces.IAccountDao, IBatisNet.DataAccess.Test" implementation="IBatisNet.DataAccess.Test.Dao.Implementations.DataMapper.AccountDao, IBatisNet.DataAccess.Test"/> </daoFactory> + </context> + + <context id="SqlMapDao2"> + <properties resource="../../database.config"/> + <!-- ==== SqlClient configuration ========= --> + <database> + <provider name="OleDb1.1"/> + <dataSource name="iBatisNet" connectionString="Provider=SQLOLEDB;Server=${datasource};database=${database};user id=${userid};password=${password};" /> + </database> + + <daoSessionHandler id="SqlMap"> + <property name="resource" value="SqlMap_MSSQL_OleDb.config"/> + </daoSessionHandler> + + <daoFactory /> </context> <!-- <context id="NHibernateDao"> From [email protected] Sat Nov 19 20:30:51 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25386 invoked from network); 19 Nov 2005 20:30:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Nov 2005 20:30:51 -0000 Received: (qmail 77303 invoked by uid 500); 19 Nov 2005 20:30:51 -0000 Delivered-To: [email protected] Received: (qmail 77274 invoked by uid 500); 19 Nov 2005 20:30:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 77263 invoked by uid 99); 19 Nov 2005 20:30:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Nov 2005 12:30:50 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 19 Nov 2005 12:32:24 -0800 Received: (qmail 25319 invoked by uid 65534); 19 Nov 2005 20:30:30 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r345683 - /ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/Order.xml Date: Sat, 19 Nov 2005 20:30:29 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: rgrabowski Date: Sat Nov 19 12:29:48 2005 New Revision: 345683 URL: http://svn.apache.org/viewcvs?rev=345683&view=rev Log: Improved SelectOrderByDateDynamic statement for IBATISNET-29 when tested against Access. Access requires pound signs instead of single quotes for literal dates. Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/Order.xml Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/Order.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/Order.xml?rev=345683&r1=345682&r2=345683&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/Order.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/Order.xml Sat Nov 19 12:29:48 2005 @@ -370,11 +370,12 @@ select * from Orders where Order_Date = #Foo# </select> + <!-- Access requires pound signs instead of single quotes for literal dates --> <select id="SelectOrderByDateDynamic" parameterClass="Hashtable" resultMap="lite-order-result-by-name"> select * from Orders where 1=1 <isNotEmpty prepend="AND" property="Foo"> - (Order_Date = '$Foo$') + (Order_Date = ##$Foo$##) </isNotEmpty> </select> From [email protected] Sun Nov 20 18:32:43 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93530 invoked from network); 20 Nov 2005 18:32:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Nov 2005 18:32:43 -0000 Received: (qmail 97715 invoked by uid 500); 20 Nov 2005 18:32:43 -0000 Delivered-To: [email protected] Received: (qmail 97681 invoked by uid 500); 20 Nov 2005 18:32:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 97670 invoked by uid 99); 20 Nov 2005 18:32:42 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Nov 2005 10:32:42 -0800 Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 20 Nov 2005 10:34:15 -0800 Received: (qmail 93350 invoked by uid 65534); 20 Nov 2005 18:32:22 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r345768 - /ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Statements/SelectKey.cs Date: Sun, 20 Nov 2005 18:32:21 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: rgrabowski Date: Sun Nov 20 10:31:20 2005 New Revision: 345768 URL: http://svn.apache.org/viewcvs?rev=345768&view=rev Log: Fix for IBATISNET-124: test for valid selectKey property only if parameter object isn't a simple type (i.e. ignore value types, IDictionary, etc.). Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Statements/SelectKey.cs Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Statements/SelectKey.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Statements/SelectKey.cs?rev=345768&r1=345767&r2=345768&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Statements/SelectKey.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Statements/SelectKey.cs Sun Nov 20 10:31:20 2005 @@ -121,7 +121,7 @@ // make sure the PropertyName is a valid settable property of the <insert> node's parameterClass if (insertParameterClass != null && - configurationScope.TypeHandlerFactory.IsSimpleType(insertParameterClass) == false) + ObjectProbe.IsSimpleType(insertParameterClass) == false) { configurationScope.ErrorContext.MoreInfo = String.Format("Looking for settable property named '{0}' on type '{1}' for selectKey node of statement id '{2}'.", PropertyName, // 0 From [email protected] Sun Nov 20 18:49:26 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98315 invoked from network); 20 Nov 2005 18:49:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Nov 2005 18:49:26 -0000 Received: (qmail 10438 invoked by uid 500); 20 Nov 2005 18:49:26 -0000 Delivered-To: [email protected] Received: (qmail 10405 invoked by uid 500); 20 Nov 2005 18:49:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 10394 invoked by uid 99); 20 Nov 2005 18:49:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Nov 2005 10:49:25 -0800 Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 20 Nov 2005 10:50:58 -0800 Received: (qmail 98236 invoked by uid 65534); 20 Nov 2005 18:49:04 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r345772 - in /ibatis/trunk/cs/mapper: IBatisNet.DataMapper.Test/Maps/Access/OleDb/ IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/ IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/ IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/ IBatisNet.DataMapper.T... Date: Sun, 20 Nov 2005 18:49:01 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: rgrabowski Date: Sun Nov 20 10:46:27 2005 New Revision: 345772 URL: http://svn.apache.org/viewcvs?rev=345772&view=rev Log: Allow results from statements without resultMap or resultClass attributes to be processed. Applied type handler logic to IDataReader fields when elements should be returned as an IDictionary or IList. Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/ResultClass.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/ResultClass.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/Other.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/ResultClass.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/ResultClass.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/ByteFx/ResultClass.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/MySql/ResultClass.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/ResultClass.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/ResultClass.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/PostgreSQL/Npgsql/ResultClass.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/ResultClassTest.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/ResultClass.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/ResultClass.xml?rev=345772&r1=345771&r2=345772&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/ResultClass.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/ResultClass.xml Sun Nov 20 10:46:27 2005 @@ -1,83 +1,116 @@ <?xml version="1.0" encoding="UTF-8" ?> -<sqlMap namespace="Order" xmlns="http://ibatis.apache.org/mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://ibatis.apache.org -http://ibatis.apache.org/xsd/SqlMap.xsd"> +<sqlMap namespace="ResultClass" +xmlns="http://ibatis.apache.org/mapping" +xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <statements> - <!-- - System.InvalidCastException - No cast function in Access SQL syntax - --> + <statement id="GetBoolean" parameterClass="Int" resultClass="bool" > select CBool('True') from Orders where Order_ID = #dummy# + </statement> + <statement id="GetBooleanWithoutResultClass" + parameterClass="Int" + extends="GetBoolean"> </statement> - <!-- - System.InvalidCastException - No cast function in Access SQL syntax - --> <statement id="GetByte" parameterClass="Int" resultClass="byte" > select CByte(155) from Orders where Order_ID = #value# - </statement> + </statement> + <statement id="GetByteWithoutResultClass" + parameterClass="Int" + extends="GetByte"> + </statement> <statement id="GetChar" parameterClass="Int" resultClass="char" > select 'a' from Orders where Order_ID = #value# </statement> + <statement id="GetCharWithoutResultClass" + parameterClass="Int" + extends="GetChar"> + </statement> <statement id="GetDate" parameterClass="Int" resultClass="date" > select Order_Date from Orders where Order_ID = #value# </statement> + <statement id="GetDateWithoutResultClass" + parameterClass="Int" + extends="GetDate"> + </statement> <statement id="GetDecimal" parameterClass="Int" resultClass="decimal" > select 1.56 from Orders where Order_ID = #value# </statement> + <statement id="GetDecimalWithoutResultClass" + parameterClass="Int" + extends="GetDecimal"> + </statement> <statement id="GetDouble" parameterClass="Int" resultClass="double" > select CDbl(99.5) from Orders where Order_ID= #value# </statement> + <statement id="GetDoubleWithoutResultClass" + parameterClass="Int" + extends="GetDouble"> + </statement> <statement id="GetGuid" parameterClass="Int" resultClass="guid" > select {CD5ABF17-4BBC-4C86-92F1-257735414CF4} from Orders where Order_ID = #value# + </statement> + <statement id="GetGuidWithoutResultClass" parameterClass="Int" extends="GetGuid"> </statement> <statement id="GetInt16" parameterClass="Int" resultClass="short" > select 32111 from Orders where Order_ID = #value# + </statement> + <statement id="GetInt16WithoutResultClass" + parameterClass="Int" + extends="GetInt16"> </statement> - + <statement id="GetInt32" parameterClass="Int" resultClass="int" > select 999999 from Orders where Order_ID = #value# </statement> + <statement id="GetInt32WithoutResultClass" + parameterClass="Int" + extends="GetInt32"> + </statement> <statement id="GetInt64" parameterClass="Int" resultClass="long" > select 9223372036854775800 from Orders where Order_ID = #value# </statement> + <statement id="GetInt64WithoutResultClass" + parameterClass="Int" + extends="GetInt64"> + </statement> - <!-- - System.InvalidCastException - --> <statement id="GetSingle" parameterClass="Int" - resultClass="float" > + resultClass="double" > select CSng(92233.5) from Orders where Order_ID = #value# </statement> + <statement id="GetSingleWithoutResultClass" + parameterClass="Int" + extends="GetSingle"> + </statement> <statement id="GetString" parameterClass="Int" @@ -85,6 +118,11 @@ select 'VISA' from Orders where Order_ID = #value# </statement> + <statement id="GetStringWithoutResultClass" + parameterClass="Int" + extends="GetString"> + </statement> + </statements> </sqlMap> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/ResultClass.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/ResultClass.xml?rev=345772&r1=345771&r2=345772&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/ResultClass.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/ResultClass.xml Sun Nov 20 10:46:27 2005 @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="UTF-8" ?> +<?xml version="1.0" encoding="UTF-8" ?> <sqlMap namespace="ResultClass" xmlns="http://ibatis.apache.org/mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > @@ -8,12 +8,20 @@ parameterClass="Int" resultClass="bool" > select cast(1 as bit) from Orders where Order_ID = #dummy# + </statement> + <statement id="GetBooleanWithoutResultClass" + parameterClass="Int" + extends="GetBoolean"> </statement> <statement id="GetByte" parameterClass="Int" resultClass="byte" > select cast(155 as tinyint) from Orders where Order_ID = #value# + </statement> + <statement id="GetByteWithoutResultClass" + parameterClass="Int" + extends="GetByte"> </statement> <statement id="GetChar" @@ -21,35 +29,57 @@ resultClass="char" > select cast('a' as char) from Orders where Order_ID = #value# </statement> + <statement id="GetCharWithoutResultClass" + parameterClass="Int" + extends="GetChar"> + </statement> <statement id="GetDate" parameterClass="Int" resultClass="date" > select cast('2003-02-15 8:15:00' as datetime) from Orders where Order_ID = #value# </statement> + <statement id="GetDateWithoutResultClass" + parameterClass="Int" + extends="GetDate"> + </statement> <statement id="GetDecimal" parameterClass="Int" resultClass="decimal" > select cast(1.56 as decimal(9,2)) from Orders where Order_ID = #value# </statement> + <statement id="GetDecimalWithoutResultClass" + parameterClass="Int" + extends="GetDecimal"> + </statement> <statement id="GetDouble" parameterClass="Int" resultClass="double" > select cast(99.5 as float) from Orders where Order_ID= #value# </statement> + <statement id="GetDoubleWithoutResultClass" + parameterClass="Int" + extends="GetDouble"> + </statement> <statement id="GetGuid" parameterClass="Int" resultClass="guid" > select cast('CD5ABF17-4BBC-4C86-92F1-257735414CF4' as UniqueIdentifier) from Orders where Order_ID = #value# </statement> + <statement id="GetGuidWithoutResultClass" parameterClass="Int" extends="GetGuid"> + </statement> <statement id="GetInt16" parameterClass="Int" resultClass="short" > select cast(32111 as SmallInt) from Orders where Order_ID = #value# + </statement> + <statement id="GetInt16WithoutResultClass" + parameterClass="Int" + extends="GetInt16"> </statement> <statement id="GetInt32" @@ -57,18 +87,30 @@ resultClass="int" > select cast(999999 as int) from Orders where Order_ID = #value# </statement> + <statement id="GetInt32WithoutResultClass" + parameterClass="Int" + extends="GetInt32"> + </statement> <statement id="GetInt64" parameterClass="Int" resultClass="long" > select cast(9223372036854775800 as bigint) from Orders where Order_ID = #value# </statement> + <statement id="GetInt64WithoutResultClass" + parameterClass="Int" + extends="GetInt64"> + </statement> <statement id="GetSingle" parameterClass="Int" resultClass="float" > select cast(92233.5 as real) from Orders where Order_ID = #value# </statement> + <statement id="GetSingleWithoutResultClass" + parameterClass="Int" + extends="GetSingle"> + </statement> <statement id="GetString" parameterClass="Int" @@ -76,6 +118,11 @@ select 'VISA' from Orders where Order_ID = #value# </statement> + <statement id="GetStringWithoutResultClass" + parameterClass="Int" + extends="GetString"> + </statement> + </statements> </sqlMap> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/Other.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/Other.xml?rev=345772&r1=345771&r2=345772&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/Other.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/Other.xml Sun Nov 20 10:46:27 2005 @@ -160,7 +160,10 @@ ( Other_Int, Other_Long, Other_Bit, Other_String ) values ( #Int#, #Long#, #Bool#, #Bool2,handler=OuiNonBool#) - </statement> + </statement> + + + </statements> <parameterMaps> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/ResultClass.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/ResultClass.xml?rev=345772&r1=345771&r2=345772&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/ResultClass.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/ResultClass.xml Sun Nov 20 10:46:27 2005 @@ -1,19 +1,28 @@ <?xml version="1.0" encoding="UTF-8" ?> -<sqlMap namespace="ResultClass" xmlns="http://ibatis.apache.org/mapping" -xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > +<sqlMap namespace="ResultClass" +xmlns="http://ibatis.apache.org/mapping" +xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <statements> <statement id="GetBoolean" parameterClass="Int" resultClass="bool" > select cast(1 as bit) from Orders where Order_ID = #dummy# + </statement> + <statement id="GetBooleanWithoutResultClass" + parameterClass="Int" + extends="GetBoolean"> </statement> <statement id="GetByte" parameterClass="Int" resultClass="byte" > select cast(155 as tinyint) from Orders where Order_ID = #value# + </statement> + <statement id="GetByteWithoutResultClass" + parameterClass="Int" + extends="GetByte"> </statement> <statement id="GetChar" @@ -21,35 +30,57 @@ resultClass="char" > select cast('a' as char) from Orders where Order_ID = #value# </statement> + <statement id="GetCharWithoutResultClass" + parameterClass="Int" + extends="GetChar"> + </statement> <statement id="GetDate" parameterClass="Int" resultClass="date" > select cast('2003-02-15 8:15:00' as datetime) from Orders where Order_ID = #value# </statement> + <statement id="GetDateWithoutResultClass" + parameterClass="Int" + extends="GetDate"> + </statement> <statement id="GetDecimal" parameterClass="Int" resultClass="decimal" > select cast(1.56 as decimal(9,2)) from Orders where Order_ID = #value# </statement> + <statement id="GetDecimalWithoutResultClass" + parameterClass="Int" + extends="GetDecimal"> + </statement> <statement id="GetDouble" parameterClass="Int" resultClass="double" > select cast(99.5 as float) from Orders where Order_ID= #value# </statement> + <statement id="GetDoubleWithoutResultClass" + parameterClass="Int" + extends="GetDouble"> + </statement> <statement id="GetGuid" parameterClass="Int" resultClass="guid" > select cast('CD5ABF17-4BBC-4C86-92F1-257735414CF4' as UniqueIdentifier) from Orders where Order_ID = #value# </statement> + <statement id="GetGuidWithoutResultClass" parameterClass="Int" extends="GetGuid"> + </statement> <statement id="GetInt16" parameterClass="Int" resultClass="short" > select cast(32111 as SmallInt) from Orders where Order_ID = #value# + </statement> + <statement id="GetInt16WithoutResultClass" + parameterClass="Int" + extends="GetInt16"> </statement> <statement id="GetInt32" @@ -57,18 +88,30 @@ resultClass="int" > select cast(999999 as int) from Orders where Order_ID = #value# </statement> + <statement id="GetInt32WithoutResultClass" + parameterClass="Int" + extends="GetInt32"> + </statement> <statement id="GetInt64" parameterClass="Int" resultClass="long" > select cast(9223372036854775800 as bigint) from Orders where Order_ID = #value# </statement> + <statement id="GetInt64WithoutResultClass" + parameterClass="Int" + extends="GetInt64"> + </statement> <statement id="GetSingle" parameterClass="Int" resultClass="float" > select cast(92233.5 as real) from Orders where Order_ID = #value# </statement> + <statement id="GetSingleWithoutResultClass" + parameterClass="Int" + extends="GetSingle"> + </statement> <statement id="GetString" parameterClass="Int" @@ -76,6 +119,11 @@ select 'VISA' from Orders where Order_ID = #value# </statement> + <statement id="GetStringWithoutResultClass" + parameterClass="Int" + extends="GetString"> + </statement> + </statements> </sqlMap> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/ResultClass.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/ResultClass.xml?rev=345772&r1=345771&r2=345772&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/ResultClass.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/ResultClass.xml Sun Nov 20 10:46:27 2005 @@ -9,12 +9,20 @@ parameterClass="Int" resultClass="bool" > select cast(1 as bit) from Orders where Order_ID = #dummy# + </statement> + <statement id="GetBooleanWithoutResultClass" + parameterClass="Int" + extends="GetBoolean"> </statement> <statement id="GetByte" parameterClass="Int" resultClass="byte" > select cast(155 as tinyint) from Orders where Order_ID = #value# + </statement> + <statement id="GetByteWithoutResultClass" + parameterClass="Int" + extends="GetByte"> </statement> <statement id="GetChar" @@ -22,35 +30,57 @@ resultClass="char" > select cast('a' as char) from Orders where Order_ID = #value# </statement> + <statement id="GetCharWithoutResultClass" + parameterClass="Int" + extends="GetChar"> + </statement> <statement id="GetDate" parameterClass="Int" resultClass="date" > select cast('2003-02-15 8:15:00' as datetime) from Orders where Order_ID = #value# </statement> + <statement id="GetDateWithoutResultClass" + parameterClass="Int" + extends="GetDate"> + </statement> <statement id="GetDecimal" parameterClass="Int" resultClass="decimal" > select cast(1.56 as decimal(9,2)) from Orders where Order_ID = #value# </statement> + <statement id="GetDecimalWithoutResultClass" + parameterClass="Int" + extends="GetDecimal"> + </statement> <statement id="GetDouble" parameterClass="Int" resultClass="double" > select cast(99.5 as float) from Orders where Order_ID= #value# </statement> + <statement id="GetDoubleWithoutResultClass" + parameterClass="Int" + extends="GetDouble"> + </statement> <statement id="GetGuid" parameterClass="Int" resultClass="guid" > select cast('CD5ABF17-4BBC-4C86-92F1-257735414CF4' as UniqueIdentifier) from Orders where Order_ID = #value# </statement> + <statement id="GetGuidWithoutResultClass" parameterClass="Int" extends="GetGuid"> + </statement> <statement id="GetInt16" parameterClass="Int" resultClass="short" > select cast(32111 as SmallInt) from Orders where Order_ID = #value# + </statement> + <statement id="GetInt16WithoutResultClass" + parameterClass="Int" + extends="GetInt16"> </statement> <statement id="GetInt32" @@ -58,18 +88,30 @@ resultClass="int" > select cast(999999 as int) from Orders where Order_ID = #value# </statement> + <statement id="GetInt32WithoutResultClass" + parameterClass="Int" + extends="GetInt32"> + </statement> <statement id="GetInt64" parameterClass="Int" resultClass="long" > select cast(9223372036854775800 as bigint) from Orders where Order_ID = #value# </statement> + <statement id="GetInt64WithoutResultClass" + parameterClass="Int" + extends="GetInt64"> + </statement> <statement id="GetSingle" parameterClass="Int" resultClass="float" > select cast(92233.5 as real) from Orders where Order_ID = #value# </statement> + <statement id="GetSingleWithoutResultClass" + parameterClass="Int" + extends="GetSingle"> + </statement> <statement id="GetString" parameterClass="Int" @@ -77,6 +119,11 @@ select 'VISA' from Orders where Order_ID = #value# </statement> + <statement id="GetStringWithoutResultClass" + parameterClass="Int" + extends="GetString"> + </statement> + </statements> </sqlMap> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/ByteFx/ResultClass.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/ByteFx/ResultClass.xml?rev=345772&r1=345771&r2=345772&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/ByteFx/ResultClass.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/ByteFx/ResultClass.xml Sun Nov 20 10:46:27 2005 @@ -8,14 +8,22 @@ parameterClass="Int" resultClass="bool" > select 1 from Orders where Order_ID = #dummy# + </statement> + <statement id="GetBooleanWithoutResultClass" + parameterClass="Int" + extends="GetBoolean"> </statement> <statement id="GetByte" parameterClass="Int" resultClass="byte" > select 155 from Orders where Order_ID = #value# - </statement> - + </statement> + <statement id="GetByteWithoutResultClass" + parameterClass="Int" + extends="GetByte"> + </statement> + <!-- NOTE: Use MySql 4.0.2 or higher for "cast" --> @@ -24,24 +32,40 @@ resultClass="char" > select cast('a' as char) from Orders where Order_ID = #value# </statement> + <statement id="GetCharWithoutResultClass" + parameterClass="Int" + extends="GetChar"> + </statement> <statement id="GetDate" parameterClass="Int" resultClass="date" > select cast('2003-02-15 8:15:00' as datetime) from Orders where Order_ID = #value# </statement> - + <statement id="GetDateWithoutResultClass" + parameterClass="Int" + extends="GetDate"> + </statement> + <statement id="GetDecimal" parameterClass="Int" resultClass="decimal" > select 1.56 from Orders where Order_ID = #value# </statement> + <statement id="GetDecimalWithoutResultClass" + parameterClass="Int" + extends="GetDecimal"> + </statement> <statement id="GetDouble" parameterClass="Int" resultClass="double" > select 99.5 from Orders where Order_ID= #value# </statement> + <statement id="GetDoubleWithoutResultClass" + parameterClass="Int" + extends="GetDouble"> + </statement> <!-- Use binary for cast for MySql @@ -51,11 +75,17 @@ resultClass="guid" > select cast('CD5ABF17-4BBC-4C86-92F1-257735414CF4' as binary) from Orders where Order_ID = #value# </statement> + <statement id="GetGuidWithoutResultClass" parameterClass="Int" extends="GetGuid"> + </statement> <statement id="GetInt16" parameterClass="Int" resultClass="short" > select 32111 from Orders where Order_ID = #value# + </statement> + <statement id="GetInt16WithoutResultClass" + parameterClass="Int" + extends="GetInt16"> </statement> <statement id="GetInt32" @@ -63,18 +93,30 @@ resultClass="int" > select 999999 from Orders where Order_ID = #value# </statement> + <statement id="GetInt32WithoutResultClass" + parameterClass="Int" + extends="GetInt32"> + </statement> <statement id="GetInt64" parameterClass="Int" resultClass="long" > select 9223372036854775800 from Orders where Order_ID = #value# </statement> + <statement id="GetInt64WithoutResultClass" + parameterClass="Int" + extends="GetInt64"> + </statement> <statement id="GetSingle" parameterClass="Int" resultClass="float" > select 92233.5 from Orders where Order_ID = #value# </statement> + <statement id="GetSingleWithoutResultClass" + parameterClass="Int" + extends="GetSingle"> + </statement> <statement id="GetString" parameterClass="Int" @@ -82,6 +124,11 @@ select 'VISA' from Orders where Order_ID = #value# </statement> + <statement id="GetStringWithoutResultClass" + parameterClass="Int" + extends="GetString"> + </statement> + </statements> </sqlMap> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/MySql/ResultClass.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/MySql/ResultClass.xml?rev=345772&r1=345771&r2=345772&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/MySql/ResultClass.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/MySql/ResultClass.xml Sun Nov 20 10:46:27 2005 @@ -8,12 +8,20 @@ parameterClass="Int" resultClass="bool" > select 1 from Orders where Order_ID = #dummy# - </statement> + </statement> + <statement id="GetBooleanWithoutResultClass" + parameterClass="Int" + extends="GetBoolean"> + </statement> <statement id="GetByte" parameterClass="Int" resultClass="byte" > select 155 from Orders where Order_ID = #value# + </statement> + <statement id="GetByteWithoutResultClass" + parameterClass="Int" + extends="GetByte"> </statement> <!-- @@ -24,24 +32,40 @@ resultClass="char" > select cast('a' as char) from Orders where Order_ID = #value# </statement> + <statement id="GetCharWithoutResultClass" + parameterClass="Int" + extends="GetChar"> + </statement> <statement id="GetDate" parameterClass="Int" resultClass="date" > select cast('2003-02-15 8:15:00' as datetime) from Orders where Order_ID = #value# </statement> + <statement id="GetDateWithoutResultClass" + parameterClass="Int" + extends="GetDate"> + </statement> <statement id="GetDecimal" parameterClass="Int" resultClass="decimal" > select 1.56 from Orders where Order_ID = #value# </statement> + <statement id="GetDecimalWithoutResultClass" + parameterClass="Int" + extends="GetDecimal"> + </statement> <statement id="GetDouble" parameterClass="Int" resultClass="double" > select 99.5 from Orders where Order_ID= #value# </statement> + <statement id="GetDoubleWithoutResultClass" + parameterClass="Int" + extends="GetDouble"> + </statement> <!-- Use binary for cast for MySql @@ -51,30 +75,48 @@ resultClass="guid" > select cast('CD5ABF17-4BBC-4C86-92F1-257735414CF4' as binary) from Orders where Order_ID = #value# </statement> + <statement id="GetGuidWithoutResultClass" parameterClass="Int" extends="GetGuid"> + </statement> <statement id="GetInt16" parameterClass="Int" resultClass="short" > select 32111 from Orders where Order_ID = #value# - </statement> + </statement> + <statement id="GetInt16WithoutResultClass" + parameterClass="Int" + extends="GetInt16"> + </statement> <statement id="GetInt32" parameterClass="Int" resultClass="int" > select 999999 from Orders where Order_ID = #value# </statement> + <statement id="GetInt32WithoutResultClass" + parameterClass="Int" + extends="GetInt32"> + </statement> <statement id="GetInt64" parameterClass="Int" resultClass="long" > select 9223372036854775800 from Orders where Order_ID = #value# </statement> + <statement id="GetInt64WithoutResultClass" + parameterClass="Int" + extends="GetInt64"> + </statement> <statement id="GetSingle" parameterClass="Int" resultClass="float" > select 92233.5 from Orders where Order_ID = #value# </statement> + <statement id="GetSingleWithoutResultClass" + parameterClass="Int" + extends="GetSingle"> + </statement> <statement id="GetString" parameterClass="Int" @@ -82,6 +124,11 @@ select 'VISA' from Orders where Order_ID = #value# </statement> + <statement id="GetStringWithoutResultClass" + parameterClass="Int" + extends="GetString"> + </statement> + </statements> </sqlMap> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/ResultClass.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/ResultClass.xml?rev=345772&r1=345771&r2=345772&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/ResultClass.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/ResultClass.xml Sun Nov 20 10:46:27 2005 @@ -9,12 +9,20 @@ parameterClass="Int" resultClass="bool" > select 1 from dual where 1 = #dummy# + </statement> + <statement id="GetBooleanWithoutResultClass" + parameterClass="Int" + extends="GetBoolean"> </statement> <statement id="GetByte" parameterClass="Int" resultClass="byte" > select 155 from dual where 1 = #value# + </statement> + <statement id="GetByteWithoutResultClass" + parameterClass="Int" + extends="GetByte"> </statement> <statement id="GetChar" @@ -22,18 +30,30 @@ resultClass="char" > select cast('a' as char) from dual where 1 = #value# </statement> + <statement id="GetCharWithoutResultClass" + parameterClass="Int" + extends="GetChar"> + </statement> <statement id="GetDate" parameterClass="Int" resultClass="date" > select TO_DATE('2003-02-15 8:15:00', 'YYYY-MM-DD HH:MI:SS') from dual where 1 = #value# </statement> + <statement id="GetDateWithoutResultClass" + parameterClass="Int" + extends="GetDate"> + </statement> <statement id="GetDecimal" parameterClass="Int" resultClass="decimal" > select 1.56 from dual where 1 = #value# </statement> + <statement id="GetDecimalWithoutResultClass" + parameterClass="Int" + extends="GetDecimal"> + </statement> <!-- Using ODP.NET 10.1 @@ -54,17 +74,27 @@ resultClass="double" > select trunc(99.5,1) from dual where 1 = #value# </statement> + <statement id="GetDoubleWithoutResultClass" + parameterClass="Int" + extends="GetDouble"> + </statement> <statement id="GetGuid" parameterClass="Int" resultClass="guid" > select 'CD5ABF17-4BBC-4C86-92F1-257735414CF4' from dual where 1 = #value# </statement> + <statement id="GetGuidWithoutResultClass" parameterClass="Int" extends="GetGuid"> + </statement> <statement id="GetInt16" parameterClass="Int" resultClass="short" > select 32111 from dual where 1 = #value# + </statement> + <statement id="GetInt16WithoutResultClass" + parameterClass="Int" + extends="GetInt16"> </statement> <statement id="GetInt32" @@ -72,12 +102,20 @@ resultClass="int" > select 999999 from dual where 1 = #value# </statement> + <statement id="GetInt32WithoutResultClass" + parameterClass="Int" + extends="GetInt32"> + </statement> <statement id="GetInt64" parameterClass="Int" resultClass="long" > select 9223372036854775800 from dual where 1 = #value# </statement> + <statement id="GetInt64WithoutResultClass" + parameterClass="Int" + extends="GetInt64"> + </statement> <!-- Using ODP.NET 10.1 @@ -98,6 +136,10 @@ resultClass="float" > select trunc(92233.5,1) from dual where 1 = #value# </statement> + <statement id="GetSingleWithoutResultClass" + parameterClass="Int" + extends="GetSingle"> + </statement> <statement id="GetString" parameterClass="Int" @@ -105,6 +147,11 @@ select 'VISA' from dual where 1 = #value# </statement> + <statement id="GetStringWithoutResultClass" + parameterClass="Int" + extends="GetString"> + </statement> + </statements> </sqlMap> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/ResultClass.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/ResultClass.xml?rev=345772&r1=345771&r2=345772&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/ResultClass.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/ResultClass.xml Sun Nov 20 10:46:27 2005 @@ -8,48 +8,78 @@ parameterClass="Int" resultClass="bool" > select 1 from dual where 1 = #dummy# - </statement> + </statement> + <statement id="GetBooleanWithoutResultClass" + parameterClass="Int" + extends="GetBoolean"> + </statement> <statement id="GetByte" parameterClass="Int" resultClass="byte" > select 155 from dual where 1 = #value# - </statement> + </statement> + <statement id="GetByteWithoutResultClass" + parameterClass="Int" + extends="GetByte"> + </statement> <statement id="GetChar" parameterClass="Int" resultClass="char" > select cast('a' as char) from dual where 1 = #value# </statement> + <statement id="GetCharWithoutResultClass" + parameterClass="Int" + extends="GetChar"> + </statement> <statement id="GetDate" parameterClass="Int" resultClass="date" > select TO_DATE('2003-02-15 8:15:00', 'YYYY-MM-DD HH:MI:SS') from dual where 1 = #value# </statement> + <statement id="GetDateWithoutResultClass" + parameterClass="Int" + extends="GetDate"> + </statement> <statement id="GetDecimal" parameterClass="Int" resultClass="decimal" > select 1.56 from dual where 1 = #value# </statement> + <statement id="GetDecimalWithoutResultClass" + parameterClass="Int" + extends="GetDecimal"> + </statement> <statement id="GetDouble" parameterClass="Int" resultClass="double" > select 99.5 from dual where 1 = #value# </statement> + <statement id="GetDoubleWithoutResultClass" + parameterClass="Int" + extends="GetDouble"> + </statement> <statement id="GetGuid" parameterClass="Int" resultClass="guid" > select 'CD5ABF17-4BBC-4C86-92F1-257735414CF4' from dual where 1 = #value# </statement> + <statement id="GetGuidWithoutResultClass" parameterClass="Int" extends="GetGuid"> + </statement> <statement id="GetInt16" parameterClass="Int" resultClass="short" > select 32111 from dual where 1 = #value# + </statement> + <statement id="GetInt16WithoutResultClass" + parameterClass="Int" + extends="GetInt16"> </statement> <statement id="GetInt32" @@ -57,6 +87,10 @@ resultClass="int" > select 999999 from dual where 1 = #value# </statement> + <statement id="GetInt32WithoutResultClass" + parameterClass="Int" + extends="GetInt32"> + </statement> <statement id="GetInt64" parameterClass="Int" @@ -69,6 +103,10 @@ resultClass="float" > select 92233.5 from dual where 1 = #value# </statement> + <statement id="GetSingleWithoutResultClass" + parameterClass="Int" + extends="GetSingle"> + </statement> <statement id="GetString" parameterClass="Int" @@ -76,6 +114,11 @@ select 'VISA' from dual where 1 = #value# </statement> + <statement id="GetStringWithoutResultClass" + parameterClass="Int" + extends="GetString"> + </statement> + </statements> </sqlMap> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/PostgreSQL/Npgsql/ResultClass.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/PostgreSQL/Npgsql/ResultClass.xml?rev=345772&r1=345771&r2=345772&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/PostgreSQL/Npgsql/ResultClass.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/PostgreSQL/Npgsql/ResultClass.xml Sun Nov 20 10:46:27 2005 @@ -8,12 +8,20 @@ parameterClass="Int" resultClass="bool" > select 1 from Orders where Order_ID = #dummy# - </statement> + </statement> + <statement id="GetBooleanWithoutResultClass" + parameterClass="Int" + extends="GetBoolean"> + </statement> <statement id="GetByte" parameterClass="Int" resultClass="byte" > select 155 from Orders where Order_ID = #value# + </statement> + <statement id="GetByteWithoutResultClass" + parameterClass="Int" + extends="GetByte"> </statement> <statement id="GetChar" @@ -21,54 +29,88 @@ resultClass="char" > select 'a' from Orders where Order_ID = #value# </statement> + <statement id="GetCharWithoutResultClass" + parameterClass="Int" + extends="GetChar"> + </statement> <statement id="GetDate" parameterClass="Int" resultClass="date" > select '2003-02-15 8:15:00'acf:4db6:5e0b:f386:43a5:35d7:718d:3c8btimestamp from Orders where Order_ID = #value# </statement> + <statement id="GetDateWithoutResultClass" + parameterClass="Int" + extends="GetDate"> + </statement> <statement id="GetDecimal" parameterClass="Int" resultClass="decimal" > select 1.56 from Orders where Order_ID = #value# </statement> + <statement id="GetDecimalWithoutResultClass" + parameterClass="Int" + extends="GetDecimal"> + </statement> <statement id="GetDouble" parameterClass="Int" resultClass="double" > select CAST(99.5 as float8) from Orders where Order_ID= #value# </statement> + <statement id="GetDoubleWithoutResultClass" + parameterClass="Int" + extends="GetDouble"> + </statement> <statement id="GetGuid" parameterClass="Int" resultClass="guid" > select 'CD5ABF17-4BBC-4C86-92F1-257735414CF4' from Orders where Order_ID = #value# </statement> + <statement id="GetGuidWithoutResultClass" parameterClass="Int" extends="GetGuid"> + </statement> <statement id="GetInt16" parameterClass="Int" resultClass="short" > select 32111 from Orders where Order_ID = #value# - </statement> + </statement> + <statement id="GetInt16WithoutResultClass" + parameterClass="Int" + extends="GetInt16"> + </statement> <statement id="GetInt32" parameterClass="Int" resultClass="int" > select 999999 from Orders where Order_ID = #value# </statement> + <statement id="GetInt32WithoutResultClass" + parameterClass="Int" + extends="GetInt32"> + </statement> <statement id="GetInt64" parameterClass="Int" resultClass="long" > select 9223372036854775800 from Orders where Order_ID = #value# </statement> + <statement id="GetInt64WithoutResultClass" + parameterClass="Int" + extends="GetInt64"> + </statement> <statement id="GetSingle" parameterClass="Int" resultClass="float" > select CAST(92233.5as float4) from Orders where Order_ID = #value# </statement> + <statement id="GetSingleWithoutResultClass" + parameterClass="Int" + extends="GetSingle"> + </statement> <statement id="GetString" parameterClass="Int" @@ -76,6 +118,11 @@ select 'VISA' from Orders where Order_ID = #value# </statement> + <statement id="GetStringWithoutResultClass" + parameterClass="Int" + extends="GetString"> + </statement> + </statements> </sqlMap> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/ResultClassTest.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/ResultClassTest.cs?rev=345772&r1=345771&r2=345772&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/ResultClassTest.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/ResultClassTest.cs Sun Nov 20 10:46:27 2005 @@ -1,9 +1,7 @@ using System; -using System.Collections; using NUnit.Framework; -using IBatisNet.DataMapper.Test.NUnit; using IBatisNet.DataMapper.Test.Domain; namespace IBatisNet.DataMapper.Test.NUnit.SqlMapTests @@ -47,6 +45,17 @@ } /// <summary> + /// Test a boolean implicit resultClass + /// </summary> + [Test] + public void TestBooleanWithoutResultClass() + { + bool bit = Convert.ToBoolean(sqlMap.QueryForObject("GetBooleanWithoutResultClass", 1)); + + Assert.AreEqual(true, bit); + } + + /// <summary> /// Test a byte resultClass /// </summary> [Test] @@ -57,6 +66,16 @@ Assert.AreEqual(155, letter); } + /// <summary> + /// Test a byte implicit resultClass + /// </summary> + [Test] + public void TestByteWithoutResultClass() + { + byte letter = Convert.ToByte(sqlMap.QueryForObject("GetByteWithoutResultClass", 1)); + + Assert.AreEqual(155, letter); + } /// <summary> /// Test a char resultClass @@ -69,6 +88,16 @@ Assert.AreEqual('a', letter); } + /// <summary> + /// Test a char implicit resultClass + /// </summary> + [Test] + public void TestCharWithoutResultClass() + { + char letter = Convert.ToChar(sqlMap.QueryForObject("GetCharWithoutResultClass", 1)); + + Assert.AreEqual('a', letter); + } /// <summary> /// Test a DateTime resultClass @@ -84,6 +113,19 @@ } /// <summary> + /// Test a DateTime implicit resultClass + /// </summary> + [Test] + public void TestDateTimeWithoutResultClass() + { + DateTime orderDate = Convert.ToDateTime(sqlMap.QueryForObject("GetDateWithoutResultClass", 1)); + + System.DateTime date = new DateTime(2003, 2, 15, 8, 15, 00); + + Assert.AreEqual(date.ToString(), orderDate.ToString()); + } + + /// <summary> /// Test a decimal resultClass /// </summary> [Test] @@ -95,6 +137,17 @@ } /// <summary> + /// Test a decimal implicit resultClass + /// </summary> + [Test] + public void TestDecimalWithoutResultClass() + { + decimal price = Convert.ToDecimal(sqlMap.QueryForObject("GetDecimalWithoutResultClass", 1)); + + Assert.AreEqual((decimal)1.56, price); + } + + /// <summary> /// Test a double resultClass /// </summary> [Test] @@ -106,6 +159,17 @@ } /// <summary> + /// Test a double implicit resultClass + /// </summary> + [Test] + public void TestDoubleWithoutResultClass() + { + double price = Convert.ToDouble(sqlMap.QueryForObject("GetDoubleWithoutResultClass", 1)); + + Assert.AreEqual(99.5f, price); + } + + /// <summary> /// IBATISNET-25 Error applying ResultMap when using 'Guid' in resultClass /// </summary> [Test] @@ -119,6 +183,21 @@ } /// <summary> + /// Test a Guid implicit resultClass + /// </summary> + [Test] + public void TestGuidWithoutResultClass() + { + Guid newGuid = new Guid("CD5ABF17-4BBC-4C86-92F1-257735414CF4"); + + string guidString = Convert.ToString(sqlMap.QueryForObject("GetGuidWithoutResultClass", 1)); + + Guid guid = new Guid(guidString); + + Assert.AreEqual(newGuid, guid); + } + + /// <summary> /// Test a int16 resultClass /// </summary> [Test] @@ -130,6 +209,17 @@ } /// <summary> + /// Test a int16 implicit resultClass + /// </summary> + [Test] + public void TestInt16WithoutResultClass() + { + short integer = Convert.ToInt16(sqlMap.QueryForObject("GetInt16WithoutResultClass", 1)); + + Assert.AreEqual(32111, integer); + } + + /// <summary> /// Test a int 32 resultClass /// </summary> [Test] @@ -142,6 +232,18 @@ } /// <summary> + /// Test a int 32 implicit resultClass + /// </summary> + [Test] + + public void TestInt32WithoutResultClass() + { + int integer = Convert.ToInt32(sqlMap.QueryForObject("GetInt32WithoutResultClass", 1)); + + Assert.AreEqual(999999, integer); + } + + /// <summary> /// Test a int64 resultClass /// </summary> [Test] @@ -153,12 +255,34 @@ } /// <summary> + /// Test a int64 implicit resultClass + /// </summary> + [Test] + public void TestInt64WithoutResultClass() + { + long bigInt = Convert.ToInt64(sqlMap.QueryForObject("GetInt64WithoutResultClass", 1)); + + Assert.AreEqual(9223372036854775800, bigInt); + } + + /// <summary> /// Test a single/float resultClass /// </summary> [Test] public void TestSingle() { - float price = (float) sqlMap.QueryForObject("GetSingle", 1); + float price = (float)sqlMap.QueryForObject("GetSingle", 1); + + Assert.AreEqual(92233.5, price); + } + + /// <summary> + /// Test a single/float implicit resultClass + /// </summary> + [Test] + public void TestSingleWithoutResultClass() + { + double price = Convert.ToDouble(sqlMap.QueryForObject("GetSingleWithoutResultClass", 1)); Assert.AreEqual(92233.5, price); } @@ -175,6 +299,17 @@ } /// <summary> + /// Test a string implicit resultClass + /// </summary> + [Test] + public void TestStringWithoutResultClass() + { + string cardType = Convert.ToString(sqlMap.QueryForObject("GetStringWithoutResultClass", 1)); + + Assert.AreEqual("VISA", cardType); + } + + /// <summary> /// Test a TimeSpan resultClass /// </summary> [Test] @@ -191,6 +326,16 @@ Guid guid = (Guid)sqlMap.QueryForObject("GetGuid", key); Assert.AreEqual(newGuid, guid); + } + + /// <summary> + /// Test a TimeSpan implicit resultClass + /// </summary> + [Test] + [Ignore("To do")] + public void TestTimeSpanWithoutResultClass() + { + } #endregion } Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs?rev=345772&r1=345771&r2=345772&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs Sun Nov 20 10:46:27 2005 @@ -33,6 +33,7 @@ using System.Text; using IBatisNet.Common; using IBatisNet.Common.Logging; +using IBatisNet.Common.Utilities; using IBatisNet.Common.Utilities.Objects; using IBatisNet.DataMapper.Commands; using IBatisNet.DataMapper.Configuration.ParameterMapping; @@ -278,7 +279,7 @@ property.PropertyName = "value"; property.ColumnIndex = 0; property.TypeHandler = _sqlMap.TypeHandlerFactory.GetTypeHandler(outObject.GetType()); - + resultMap.AddResultPropery(property); SetObjectProperty(request, request.ResultMap, property, ref outObject, reader); @@ -287,20 +288,59 @@ { for (int i = 0; i < reader.FieldCount; i++) { - string columnName = reader.GetName(i); - ((IDictionary) outObject).Add(columnName, reader.GetValue(i)); + ResultProperty property = new ResultProperty(); + property.PropertyName = "value"; + property.ColumnIndex = i; + property.TypeHandler = _sqlMap.TypeHandlerFactory.GetTypeHandler(reader.GetFieldType(i)); + ((IDictionary) outObject).Add( + reader.GetName(i), + property.GetDataBaseValue(reader)); } } else if (outObject is IList) { for (int i = 0; i < reader.FieldCount; i++) { - ((IList) outObject).Add(reader.GetValue(i)); + ResultProperty property = new ResultProperty(); + property.PropertyName = "value"; + property.ColumnIndex = i; + property.TypeHandler = _sqlMap.TypeHandlerFactory.GetTypeHandler(reader.GetFieldType(i)); + ((IList) outObject).Add(property.GetDataBaseValue(reader)); } } else { AutoMapReader( reader, ref outObject); + } + } + else + { + if (reader.FieldCount == 1) + { + ResultProperty property = new ResultProperty(); + property.PropertyName = "value"; + property.ColumnIndex = 0; + property.TypeHandler = _sqlMap.TypeHandlerFactory.GetTypeHandler(reader.GetFieldType(0)); + outObject = property.GetDataBaseValue(reader); + } + else if (reader.FieldCount > 1) + { + object[] newOutObject = new object[reader.FieldCount]; + + for (int i = 0; i < reader.FieldCount; i++) + { + ResultProperty property = new ResultProperty(); + property.PropertyName = "value"; + property.ColumnIndex = i; + property.TypeHandler = _sqlMap.TypeHandlerFactory.GetTypeHandler(reader.GetFieldType(i)); + newOutObject[i] = property.GetDataBaseValue(reader); + } + + outObject = newOutObject; + } + else + { + // do nothing if 0 fields } } }
From [email protected] Thu Sep 09 22:10:36 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12041 invoked from network); 9 Sep 2010 22:10:36 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 9 Sep 2010 22:10:36 -0000 Received: (qmail 88506 invoked by uid 500); 9 Sep 2010 22:10:36 -0000 Delivered-To: [email protected] Received: (qmail 88492 invoked by uid 500); 9 Sep 2010 22:10:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 88483 invoked by uid 99); 9 Sep 2010 22:10:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Sep 2010 22:10:35 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f47.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Sep 2010 22:10:28 +0000 Received: by bwz12 with SMTP id 12so1753211bwz.6 for <[email protected]>; Thu, 09 Sep 2010 15:10:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=EJKeIgcOc0ZZhXvWUx4ol++KXlUGl0gcX7CUZQDiyIk=; b=cfgS1mpgq+vM2OW2fRMBCqmCPryxs8R3yATwWJqUyQhbUEl0PgW/4lRbESpDvuCRfJ tnPXQfeJWQMOyAqRuhoz2S2h0o6Un33mTE7C4x+VnAtdHGQ5ZiMqxTz43mXO3lqxMeSV C732CTswkh7AGbeQbyJg+XRB/SHrXDSWIO+RU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=OjNis0ui9FcGScOsI459U0nguXHtdjfQl5MeacqxPjFV1VviWx27HwGU6W95MTRTk8 UnIJuqMF38hDaWgDSkpKe0f9kMZ1kvLYxGSn/gRabs5xfxMTbTbseSjpH7M4F/An5Dsz PWn86XbsQDT9nkzpl5Rpfp45BC1f4MX2L2Yzg= Received: by 161.129.204.104 with SMTP id n26mr1115460bkl.109.1284070207418; Thu, 09 Sep 2010 15:10:07 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Thu, 9 Sep 2010 15:09:47 -0700 (PDT) From: Raghava Mutharaju <[email protected]> Date: Thu, 9 Sep 2010 18:09:47 -0400 Message-ID: <[email protected]> Subject: evaluating Hama To: [email protected] Content-Type: multipart/alternative; boundary=0016e6db5c2894738e048fdae46a --0016e6db5c2894738e048fdae46a Content-Type: text/plain; charset=ISO-8859-1 Hi all, I am working on a research project where I faced the issues that formed the motivation for Hama (Hamburg) -- the splits in the data depend on each other and data locality issue in case of multiple MR iterations. I was thinking of checking other alternatives to MR when I came across Hama. I am in the process of checking whether Hama would fit our project needs and I need your help in that regard. I am interested in the graph processing part of Hama. I have the following questions 1) What is the status of the project, specifically the graph processing part (Angrapa?). Is it sufficiently stable to be used? Although this is an academic research project, it would be better to work on a stable one. 2) I haven't come across any installation/building steps for Hama. How to integrate with HDFS/HBase? 3) Are there more extensive performance tests say w.r.t the latest branch of development? Do they have better performance? 4) Can the data assigned to each partition (cluster) be split according to some condition i.e. can it be controlled unlike a MR split? Thank you. Regards, Raghava. --0016e6db5c2894738e048fdae46a-- From [email protected] Fri Sep 10 02:48:14 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87441 invoked from network); 10 Sep 2010 02:48:14 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 10 Sep 2010 02:48:14 -0000 Received: (qmail 10105 invoked by uid 500); 10 Sep 2010 02:48:14 -0000 Delivered-To: [email protected] Received: (qmail 9990 invoked by uid 500); 10 Sep 2010 02:48:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 9982 invoked by uid 99); 10 Sep 2010 02:48:12 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Sep 2010 02:48:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 10 Sep 2010 02:47:54 +0000 Received: (qmail 87376 invoked by uid 99); 10 Sep 2010 02:47:32 -0000 Received: from localhost.apache.org (HELO mail-gw0-f47.google.com) (161.129.204.104) (smtp-auth username edwardyoon, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Sep 2010 02:47:32 +0000 Received: by gwb1 with SMTP id 1so979195gwb.6 for <[email protected]>; Thu, 09 Sep 2010 19:47:31 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id j18mr102118ybd.253.1284086851319; Thu, 09 Sep 2010 19:47:31 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 9 Sep 2010 19:47:31 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Fri, 10 Sep 2010 11:47:31 +0900 Message-ID: <[email protected]> Subject: Re: evaluating Hama From: "Edward J. Yoon" <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Hello, > 1) What is the status of the project, specifically the graph processing part > (Angrapa?). Is it sufficiently stable to be used? Although this is an > academic research project, it would be better to work on a stable one. At present, we're focussing on a framework for more general-purpose BSP computing, so yet far from the graph processing framework such as Google Pregel. We have a release plan for 0.2.0 version and we're working on it.The release 0.2.0 will include: * BSP computing framework (no fault tolerant mechanism, no data input-output API) * and its examples > 2) I haven't come across any installation/building steps for Hama. How to > integrate with HDFS/HBase? We'll create a input-output system that can be used to process data. You can think it as a M/R computing framework on HDFS/HBase. > 3) Are there more extensive performance tests say w.r.t the latest branch of > development? Do they have better performance? Not yet. > 4) Can the data assigned to each partition (cluster) be split according to > some condition i.e. can it be controlled unlike a MR split? Do you mean, whether it can assign a task to slaves according to other condition (not based on local)? Then, no. The all splits should be loaded and computed locally. Otherwise, it will cause meaningless huge data-copy overhead among servers. Thanks :) On Fri, Sep 10, 2010 at 7:09 AM, Raghava Mutharaju <[email protected]> wrote: > Hi all, > > I am working on a research project where I faced the issues that formed the > motivation for Hama (Hamburg) -- the splits in the data depend on each other > and data locality issue in case of multiple MR iterations. I was thinking of > checking other alternatives to MR when I came across Hama. I am in the > process of checking whether Hama would fit our project needs and I need your > help in that regard. > > I am interested in the graph processing part of Hama. > > I have the following questions > > 1) What is the status of the project, specifically the graph processing part > (Angrapa?). Is it sufficiently stable to be used? Although this is an > academic research project, it would be better to work on a stable one. > 2) I haven't come across any installation/building steps for Hama. How to > integrate with HDFS/HBase? > 3) Are there more extensive performance tests say w.r.t the latest branch of > development? Do they have better performance? > 4) Can the data assigned to each partition (cluster) be split according to > some condition i.e. can it be controlled unlike a MR split? > > Thank you. > > Regards, > Raghava. > -- Best Regards, Edward J. Yoon [email protected] http://blog.udanax.org From [email protected] Fri Sep 10 04:39:43 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14053 invoked from network); 10 Sep 2010 04:39:43 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 10 Sep 2010 04:39:43 -0000 Received: (qmail 72889 invoked by uid 500); 10 Sep 2010 04:39:43 -0000 Delivered-To: [email protected] Received: (qmail 72748 invoked by uid 500); 10 Sep 2010 04:39:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 72731 invoked by uid 99); 10 Sep 2010 04:39:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Sep 2010 04:39:39 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f47.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Sep 2010 04:39:34 +0000 Received: by fxm6 with SMTP id 6so1753402fxm.6 for <[email protected]>; Thu, 09 Sep 2010 21:39:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=6RTIUl2ftl1KLl2GbGxjLL7D6rlFHy3j8cP8cr7dMjI=; b=WGZ7ytWuHXt1t+3V5tUOx8NOJbtSiID5fJFpqVkRo1AKRN/eC03+lNaGdGn44g4rLf ltsXU7n2NFbDj+FjlCMIjsVFdzg3cxizpluOydE4uLsAFUf8Ltqfd6V5yuz+0eR/ycpD AHPdaeaGMPplW0VYTy9CG9ur96icm9eLia/iA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=QdKg/rPMkuq/q3gWFjxWUON5sFcGMUefC4g6X65GENHANB0Gk+4hVsqFac+eDF/YA4 gF7p3Zi87jmWDXTgQ7UXIfLk5VbYf5kx9pQ2ThDoZughkiXkNrvS2Ew0DABAD72UCShV GGqJ3cPgcTHZ/iixI3//G0nASRsRJbpld8vZI= Received: by 161.129.204.104 with SMTP id c5mr516844far.100.1284093552199; Thu, 09 Sep 2010 21:39:12 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Thu, 9 Sep 2010 21:38:52 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> From: Raghava Mutharaju <[email protected]> Date: Fri, 10 Sep 2010 00:38:52 -0400 Message-ID: <[email protected]> Subject: Re: evaluating Hama To: [email protected] Content-Type: multipart/alternative; boundary=0016368e29f2098776048fe05490 --0016368e29f2098776048fe05490 Content-Type: text/plain; charset=ISO-8859-1 Hello Edward, Thank you for the reply. Please correct me if I am wrong about what I am going to say. If the BSP computing framework is in place, how much more of a work would it be to place a graph processing framework on top of it? I guess some parts of the graph processing framework (Angrapa) is in place? While I was searching for parallel graph processing frameworks, I came across Pregel and also Hama :). Pregel development would have taken lot of time, Hama is just starting out, so it would be unrealistic to make it as robust with as many features as Pregel, but it would be great to have something in place to test out my ideas. When is the release of 0.2.0 scheduled? Do you know of any alternate parallel graph processing frameworks similar to Pregel & Hama? About the data split -- if, for example, there are 10 nodes in the cluster and the data be divided into 10 splits (split-1 to split-10), then can we control which split goes to which node as local data? In case of MR splits, this cannot be controlled isn't it, can we do that here? Thank you. Regards, Raghava. On Thu, Sep 9, 2010 at 10:47 PM, Edward J. Yoon <[email protected]>wrote: > Hello, > > > 1) What is the status of the project, specifically the graph processing > part > > (Angrapa?). Is it sufficiently stable to be used? Although this is an > > academic research project, it would be better to work on a stable one. > > At present, we're focussing on a framework for more general-purpose > BSP computing, so yet far from the graph processing framework such as > Google Pregel. > > We have a release plan for 0.2.0 version and we're working on it.The > release 0.2.0 will include: > > * BSP computing framework (no fault tolerant mechanism, no data > input-output API) > * and its examples > > > 2) I haven't come across any installation/building steps for Hama. How to > > integrate with HDFS/HBase? > > We'll create a input-output system that can be used to process data. > You can think it as a M/R computing framework on HDFS/HBase. > > > 3) Are there more extensive performance tests say w.r.t the latest branch > of > > development? Do they have better performance? > > Not yet. > > > 4) Can the data assigned to each partition (cluster) be split according > to > > some condition i.e. can it be controlled unlike a MR split? > > Do you mean, whether it can assign a task to slaves according to other > condition (not based on local)? Then, no. > > The all splits should be loaded and computed locally. Otherwise, it > will cause meaningless huge data-copy overhead among servers. > > Thanks :) > > On Fri, Sep 10, 2010 at 7:09 AM, Raghava Mutharaju > <[email protected]> wrote: > > Hi all, > > > > I am working on a research project where I faced the issues that formed > the > > motivation for Hama (Hamburg) -- the splits in the data depend on each > other > > and data locality issue in case of multiple MR iterations. I was thinking > of > > checking other alternatives to MR when I came across Hama. I am in the > > process of checking whether Hama would fit our project needs and I need > your > > help in that regard. > > > > I am interested in the graph processing part of Hama. > > > > I have the following questions > > > > 1) What is the status of the project, specifically the graph processing > part > > (Angrapa?). Is it sufficiently stable to be used? Although this is an > > academic research project, it would be better to work on a stable one. > > 2) I haven't come across any installation/building steps for Hama. How to > > integrate with HDFS/HBase? > > 3) Are there more extensive performance tests say w.r.t the latest branch > of > > development? Do they have better performance? > > 4) Can the data assigned to each partition (cluster) be split according > to > > some condition i.e. can it be controlled unlike a MR split? > > > > Thank you. > > > > Regards, > > Raghava. > > > > > > -- > Best Regards, Edward J. Yoon > [email protected] > http://blog.udanax.org > --0016368e29f2098776048fe05490-- From [email protected] Mon Sep 13 01:26:03 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 72783 invoked from network); 13 Sep 2010 01:26:03 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 13 Sep 2010 01:26:03 -0000 Received: (qmail 94860 invoked by uid 500); 13 Sep 2010 01:26:03 -0000 Delivered-To: [email protected] Received: (qmail 94780 invoked by uid 500); 13 Sep 2010 01:26:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 94772 invoked by uid 99); 13 Sep 2010 01:26:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 01:26:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 13 Sep 2010 01:26:00 +0000 Received: (qmail 72766 invoked by uid 99); 13 Sep 2010 01:25:40 -0000 Received: from localhost.apache.org (HELO mail-iw0-f175.google.com) (161.129.204.104) (smtp-auth username edwardyoon, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 01:25:40 +0000 Received: by iwn2 with SMTP id 2so4667187iwn.6 for <[email protected]>; Sun, 12 Sep 2010 18:25:39 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id s20mr5261258ibz.94.1284341139417; Sun, 12 Sep 2010 18:25:39 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sun, 12 Sep 2010 18:25:39 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Mon, 13 Sep 2010 10:25:39 +0900 Message-ID: <[email protected]> Subject: Re: evaluating Hama From: "Edward J. Yoon" <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I estimate a month or two months for 0.2.0 release. If input/output system and fault tolerant mechanism are added to BSP package in the future, the graph specified programming model and framework will be implemented easily. I guess, we can implement input/output system and FT mechanism within this year. > Do you know of any alternate parallel graph processing frameworks similar= to > Pregel & Hama? Nope, but I was used BSPLib for simulate of Pregel concept. It might be good solution for you. > About the data split -- if, for example, there are 10 nodes in the cluste= r > and the data be divided into 10 splits (split-1 to split-10), then can we > control which split goes to which node as local data? In case of MR split= s, > this cannot be controlled isn't it, can we do that here? I understood your question. It is depending on {"how to designing the data structure", "how to storing, organizing and re-using data"} on "somewhere". We don't have a plan for graph data store yet. Thanks. :) On Fri, Sep 10, 2010 at 1:38 PM, Raghava Mutharaju <[email protected]> wrote: > Hello Edward, > > Thank you for the reply. Please correct me if I am wrong about what I am > going to say. > > If the BSP computing framework is in place, how much more of a work would= it > be to place a graph processing framework on top of it? I guess some parts= of > the graph processing framework (Angrapa) is in place? > > While I was searching for parallel graph processing frameworks, I came > across Pregel and also Hama :). Pregel development would have taken lot o= f > time, Hama is just starting out, so it would be unrealistic to make it as > robust with as many features as Pregel, but it would be great to have > something in place to test out my ideas. > > When is the release of 0.2.0 scheduled? > > Do you know of any alternate parallel graph processing frameworks similar= to > Pregel & Hama? > > About the data split -- if, for example, there are 10 nodes in the cluste= r > and the data be divided into 10 splits (split-1 to split-10), then can we > control which split goes to which node as local data? In case of MR split= s, > this cannot be controlled isn't it, can we do that here? > > Thank you. > > Regards, > Raghava. > > On Thu, Sep 9, 2010 at 10:47 PM, Edward J. Yoon <[email protected]>wr= ote: > >> Hello, >> >> > 1) What is the status of the project, specifically the graph processin= g >> part >> > (Angrapa?). Is it sufficiently stable to be used? Although this is an >> > academic research project, it would be better to work on a stable one. >> >> At present, we're focussing on a framework for more general-purpose >> BSP computing, so yet far from the graph processing framework such as >> Google Pregel. >> >> We have a release plan for 0.2.0 version and we're working on it.The >> release 0.2.0 will include: >> >> =C2=A0* BSP computing framework (no fault tolerant mechanism, no data >> input-output API) >> =C2=A0* and its examples >> >> > 2) I haven't come across any installation/building steps for Hama. How= to >> > integrate with HDFS/HBase? >> >> We'll create a input-output system that can be used to process data. >> You can think it as a M/R computing framework on HDFS/HBase. >> >> > 3) Are there more extensive performance tests say w.r.t the latest bra= nch >> of >> > development? Do they have better performance? >> >> Not yet. >> >> > 4) Can the data assigned to each partition (cluster) be split accordin= g >> to >> > some condition i.e. can it be controlled unlike a MR split? >> >> Do you mean, whether it can assign a task to slaves according to other >> condition (not based on local)? Then, no. >> >> The all splits should be loaded and computed locally. Otherwise, it >> will cause meaningless huge data-copy overhead among servers. >> >> Thanks :) >> >> On Fri, Sep 10, 2010 at 7:09 AM, Raghava Mutharaju >> <[email protected]> wrote: >> > Hi all, >> > >> > I am working on a research project where I faced the issues that forme= d >> the >> > motivation for Hama (Hamburg) -- the splits in the data depend on each >> other >> > and data locality issue in case of multiple MR iterations. I was think= ing >> of >> > checking other alternatives to MR when I came across Hama. I am in the >> > process of checking whether Hama would fit our project needs and I nee= d >> your >> > help in that regard. >> > >> > I am interested in the graph processing part of Hama. >> > >> > I have the following questions >> > >> > 1) What is the status of the project, specifically the graph processin= g >> part >> > (Angrapa?). Is it sufficiently stable to be used? Although this is an >> > academic research project, it would be better to work on a stable one. >> > 2) I haven't come across any installation/building steps for Hama. How= to >> > integrate with HDFS/HBase? >> > 3) Are there more extensive performance tests say w.r.t the latest bra= nch >> of >> > development? Do they have better performance? >> > 4) Can the data assigned to each partition (cluster) be split accordin= g >> to >> > some condition i.e. can it be controlled unlike a MR split? >> > >> > Thank you. >> > >> > Regards, >> > Raghava. >> > >> >> >> >> -- >> Best Regards, Edward J. Yoon >> [email protected] >> http://blog.udanax.org >> > --=20 Best Regards, Edward J. Yoon [email protected] http://blog.udanax.org From [email protected] Mon Sep 13 04:38:38 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19657 invoked from network); 13 Sep 2010 04:38:38 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 13 Sep 2010 04:38:38 -0000 Received: (qmail 61419 invoked by uid 500); 13 Sep 2010 04:38:37 -0000 Delivered-To: [email protected] Received: (qmail 61309 invoked by uid 500); 13 Sep 2010 04:38:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 61301 invoked by uid 99); 13 Sep 2010 04:38:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 04:38:34 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f47.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 04:38:29 +0000 Received: by bwz12 with SMTP id 12so4457926bwz.6 for <[email protected]>; Sun, 12 Sep 2010 21:38:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=S/7iJHbwAJWBKg7vUJZPAN7T28lmpFwnL8RWh6a+UYs=; b=Qey+MMuDHiUN0Y2akiEgSSvMyYv44/3Vr5EZBAOI6d0sKf/4z1fuom7sV/aADOh8bi Jc5t8zSqbuJ1dYpBj3/LxlyGc7kWLnrmO+P1PCiq5SVFRpcwk/wkPwbdWmvcjFG/kZ/W SORLu8adZeSIFbs+S6T4nPIgv6pxBKQ8ycLy0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=HumWCz4ITgvQ1b5hOO5vc00Qj+MKeb9DMt70If2XZ29lF8AyYQGTk5DDTNXgPuXOBK FWDDIBkLzW/bxScZ7CKmy0oLX3TA+kRu65kEI07ymI7d+HDkywij2CEqjaNotJoS2xbU INIC7AGRBoh9/AlUaaFKDke1ifIT0uWfb78aY= Received: by 161.129.204.104 with SMTP id i14mr2790618bkq.166.1284352688261; Sun, 12 Sep 2010 21:38:08 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Sun, 12 Sep 2010 21:37:48 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: Raghava Mutharaju <[email protected]> Date: Mon, 13 Sep 2010 00:37:48 -0400 Message-ID: <[email protected]> Subject: Re: evaluating Hama To: [email protected] Content-Type: multipart/alternative; boundary=0016e6d55a86c00abf04901ca9e9 --0016e6d55a86c00abf04901ca9e9 Content-Type: text/plain; charset=ISO-8859-1 Hi Edward, Thank you for the reply. I would look into BSPLib. I am also looking into Parallel Boost Graph Library. The discussion at http://stackoverflow.com/questions/3010805/scalable-parallel-large-graph-analysis-libraryis useful to me. I am also looking at the libraries mentioned there as alternatives :). Regards, Raghava. On Sun, Sep 12, 2010 at 9:25 PM, Edward J. Yoon <[email protected]>wrote: > I estimate a month or two months for 0.2.0 release. > > If input/output system and fault tolerant mechanism are added to BSP > package in the future, the graph specified programming model and > framework will be implemented easily. I guess, we can implement > input/output system and FT mechanism within this year. > > > Do you know of any alternate parallel graph processing frameworks similar > to > > Pregel & Hama? > > Nope, but I was used BSPLib for simulate of Pregel concept. It might > be good solution for you. > > > About the data split -- if, for example, there are 10 nodes in the > cluster > > and the data be divided into 10 splits (split-1 to split-10), then can we > > control which split goes to which node as local data? In case of MR > splits, > > this cannot be controlled isn't it, can we do that here? > > I understood your question. > > It is depending on {"how to designing the data structure", "how to > storing, organizing and re-using data"} on "somewhere". We don't have > a plan for graph data store yet. > > Thanks. :) > > On Fri, Sep 10, 2010 at 1:38 PM, Raghava Mutharaju > <[email protected]> wrote: > > Hello Edward, > > > > Thank you for the reply. Please correct me if I am wrong about what I am > > going to say. > > > > If the BSP computing framework is in place, how much more of a work would > it > > be to place a graph processing framework on top of it? I guess some parts > of > > the graph processing framework (Angrapa) is in place? > > > > While I was searching for parallel graph processing frameworks, I came > > across Pregel and also Hama :). Pregel development would have taken lot > of > > time, Hama is just starting out, so it would be unrealistic to make it as > > robust with as many features as Pregel, but it would be great to have > > something in place to test out my ideas. > > > > When is the release of 0.2.0 scheduled? > > > > Do you know of any alternate parallel graph processing frameworks similar > to > > Pregel & Hama? > > > > About the data split -- if, for example, there are 10 nodes in the > cluster > > and the data be divided into 10 splits (split-1 to split-10), then can we > > control which split goes to which node as local data? In case of MR > splits, > > this cannot be controlled isn't it, can we do that here? > > > > Thank you. > > > > Regards, > > Raghava. > > > > On Thu, Sep 9, 2010 at 10:47 PM, Edward J. Yoon <[email protected] > >wrote: > > > >> Hello, > >> > >> > 1) What is the status of the project, specifically the graph > processing > >> part > >> > (Angrapa?). Is it sufficiently stable to be used? Although this is an > >> > academic research project, it would be better to work on a stable one. > >> > >> At present, we're focussing on a framework for more general-purpose > >> BSP computing, so yet far from the graph processing framework such as > >> Google Pregel. > >> > >> We have a release plan for 0.2.0 version and we're working on it.The > >> release 0.2.0 will include: > >> > >> * BSP computing framework (no fault tolerant mechanism, no data > >> input-output API) > >> * and its examples > >> > >> > 2) I haven't come across any installation/building steps for Hama. How > to > >> > integrate with HDFS/HBase? > >> > >> We'll create a input-output system that can be used to process data. > >> You can think it as a M/R computing framework on HDFS/HBase. > >> > >> > 3) Are there more extensive performance tests say w.r.t the latest > branch > >> of > >> > development? Do they have better performance? > >> > >> Not yet. > >> > >> > 4) Can the data assigned to each partition (cluster) be split > according > >> to > >> > some condition i.e. can it be controlled unlike a MR split? > >> > >> Do you mean, whether it can assign a task to slaves according to other > >> condition (not based on local)? Then, no. > >> > >> The all splits should be loaded and computed locally. Otherwise, it > >> will cause meaningless huge data-copy overhead among servers. > >> > >> Thanks :) > >> > >> On Fri, Sep 10, 2010 at 7:09 AM, Raghava Mutharaju > >> <[email protected]> wrote: > >> > Hi all, > >> > > >> > I am working on a research project where I faced the issues that > formed > >> the > >> > motivation for Hama (Hamburg) -- the splits in the data depend on each > >> other > >> > and data locality issue in case of multiple MR iterations. I was > thinking > >> of > >> > checking other alternatives to MR when I came across Hama. I am in the > >> > process of checking whether Hama would fit our project needs and I > need > >> your > >> > help in that regard. > >> > > >> > I am interested in the graph processing part of Hama. > >> > > >> > I have the following questions > >> > > >> > 1) What is the status of the project, specifically the graph > processing > >> part > >> > (Angrapa?). Is it sufficiently stable to be used? Although this is an > >> > academic research project, it would be better to work on a stable one. > >> > 2) I haven't come across any installation/building steps for Hama. How > to > >> > integrate with HDFS/HBase? > >> > 3) Are there more extensive performance tests say w.r.t the latest > branch > >> of > >> > development? Do they have better performance? > >> > 4) Can the data assigned to each partition (cluster) be split > according > >> to > >> > some condition i.e. can it be controlled unlike a MR split? > >> > > >> > Thank you. > >> > > >> > Regards, > >> > Raghava. > >> > > >> > >> > >> > >> -- > >> Best Regards, Edward J. Yoon > >> [email protected] > >> http://blog.udanax.org > >> > > > > > > -- > Best Regards, Edward J. Yoon > [email protected] > http://blog.udanax.org > --0016e6d55a86c00abf04901ca9e9-- From [email protected] Tue Sep 14 00:07:01 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21914 invoked from network); 14 Sep 2010 00:07:01 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 14 Sep 2010 00:07:01 -0000 Received: (qmail 25445 invoked by uid 500); 14 Sep 2010 00:07:01 -0000 Delivered-To: [email protected] Received: (qmail 25294 invoked by uid 500); 14 Sep 2010 00:07:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 25272 invoked by uid 99); 14 Sep 2010 00:07:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Sep 2010 00:07:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 14 Sep 2010 00:06:59 +0000 Received: (qmail 21882 invoked by uid 99); 14 Sep 2010 00:06:38 -0000 Received: from localhost.apache.org (HELO mail-iw0-f175.google.com) (161.129.204.104) (smtp-auth username edwardyoon, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Sep 2010 00:06:38 +0000 Received: by iwn2 with SMTP id 2so5614139iwn.6 for <multiple recipients>; Mon, 13 Sep 2010 17:06:37 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id h9mr6590146ibd.91.1284422797864; Mon, 13 Sep 2010 17:06:37 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 13 Sep 2010 17:06:37 -0700 (PDT) Date: Tue, 14 Sep 2010 09:06:37 +0900 Message-ID: <[email protected]> Subject: FYI: On vacation From: "Edward J. Yoon" <[email protected]> To: [email protected], [email protected] Content-Type: text/plain; charset=UTF-8 Hello, Next week is the Korean holidays. I'll on vacation starting this week end. Thanks. -- Best Regards, Edward J. Yoon [email protected] http://blog.udanax.org From [email protected] Tue Sep 14 00:30:21 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33101 invoked from network); 14 Sep 2010 00:30:21 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 14 Sep 2010 00:30:21 -0000 Received: (qmail 43537 invoked by uid 500); 14 Sep 2010 00:30:21 -0000 Delivered-To: [email protected] Received: (qmail 43496 invoked by uid 500); 14 Sep 2010 00:30:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 43488 invoked by uid 99); 14 Sep 2010 00:30:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Sep 2010 00:30:20 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iw0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Sep 2010 00:30:14 +0000 Received: by iwn2 with SMTP id 2so5633102iwn.6 for <[email protected]>; Mon, 13 Sep 2010 17:29:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=KMqPeIA0B0DucgG8L58yW9sUHIdlo2KPh0yptRIFUIA=; b=fQAftv3y0ZL7HTB5A0RFsIXvY4Rkmpljk1D/0tLywi0xXubX6Ou6rg0ejvzYqh3SZV K52JEB6BvYaradlY/8al9X36bTSMrNJ90ezzyHfUA3K6Q9+SPlkEjFBGFTKblRAtjT2U SH90MjsWq5Ni2GtfLOK0KPEJPg9lrrv/gQs1U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=bYJH1HcLv8ZKiq2zLI8Tehk7BxB+VXFtuck8V+JQQrjpHvciUrQHObepdGxu1V+7h4 k+eQr6i7bIzBle9m3LV+XQr6CqVxRJ6sZnFx1cl8sg38jjuOOk+i5VkP8V0DDXMOWI6K 4IfH3sw/3Ov5+aoTIJI4GBCnlwh8DqU6IOsAg= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id h7mr7092651ibv.149.1284424193361; Mon, 13 Sep 2010 17:29:53 -0700 (PDT) Sender: [email protected] Received: by 161.129.204.104 with HTTP; Mon, 13 Sep 2010 17:29:53 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Tue, 14 Sep 2010 01:29:53 +0100 X-Google-Sender-Auth: HondQhD7cpnjOUmg3-1R4Sbj45c Message-ID: <[email protected]> Subject: Re: FYI: On vacation From: Filipe David Manana <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Have some nice holidays then :) On Tue, Sep 14, 2010 at 1:06 AM, Edward J. Yoon <[email protected]> wro= te: > Hello, > > Next week is the Korean holidays. I'll on vacation starting this week end= . > > Thanks. > -- > Best Regards, Edward J. Yoon > [email protected] > http://blog.udanax.org > --=20 Filipe David Manana, [email protected], [email protected] "Reasonable men adapt themselves to the world. =C2=A0Unreasonable men adapt the world to themselves. =C2=A0That's why all progress depends on unreasonable men." From [email protected] Tue Sep 14 03:41:09 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97140 invoked from network); 14 Sep 2010 03:41:09 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 14 Sep 2010 03:41:09 -0000 Received: (qmail 75026 invoked by uid 500); 14 Sep 2010 03:41:09 -0000 Delivered-To: [email protected] Received: (qmail 74845 invoked by uid 500); 14 Sep 2010 03:41:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74822 invoked by uid 99); 14 Sep 2010 03:41:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Sep 2010 03:41:06 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=MIME_QP_LONG_LINE,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-gx0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Sep 2010 03:41:00 +0000 Received: by gxk10 with SMTP id 10so1266182gxk.6 for <[email protected]>; Mon, 13 Sep 2010 20:40:39 -0700 (PDT) Received: by 161.129.204.104 with SMTP id g16mr565669ybe.151.1284435638987; Mon, 13 Sep 2010 20:40:38 -0700 (PDT) Received: from [161.129.204.104] ([161.129.204.104]) by mx.google.com with ESMTPS id i4sm274102ybd.15.2161.129.204.104.40.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 13 Sep 2010 20:40:37 -0700 (PDT) Subject: Re: FYI: On vacation References: <[email protected]> <[email protected]> From: "Edward J. Yoon" <[email protected]> Content-Type: text/plain; charset=euc-kr X-Mailer: iPhone Mail (8A400) In-Reply-To: <[email protected]> Message-Id: <[email protected]> Date: Tue, 14 Sep 2010 12:40:58 +0900 To: "[email protected]" <[email protected]> Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (iPhone Mail 8A400) Thanks :) =B3=AA=C0=C7 iPhone=BF=A1=BC=AD =BA=B8=B3=BF 2010. 9. 14. =BF=C0=C0=FC 9:29 Filipe David Manana <[email protected]> =C0= =DB=BC=BA: > Have some nice holidays then :) >=20 > On Tue, Sep 14, 2010 at 1:06 AM, Edward J. Yoon <[email protected]> wr= ote: >> Hello, >>=20 >> Next week is the Korean holidays. I'll on vacation starting this week end= . >>=20 >> Thanks. >> -- >> Best Regards, Edward J. Yoon >> [email protected] >> http://blog.udanax.org >>=20 >=20 >=20 >=20 > --=20 > Filipe David Manana, > [email protected], [email protected] >=20 > "Reasonable men adapt themselves to the world. > Unreasonable men adapt the world to themselves. > That's why all progress depends on unreasonable men."
From [email protected] Mon Aug 03 21:02:27 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99066 invoked from network); 3 Aug 2009 21:02:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Aug 2009 21:02:27 -0000 Received: (qmail 70268 invoked by uid 500); 3 Aug 2009 21:02:32 -0000 Delivered-To: [email protected] Received: (qmail 70239 invoked by uid 500); 3 Aug 2009 21:02:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 70229 invoked by uid 99); 3 Aug 2009 21:02:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 21:02:31 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.esteam.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 21:02:20 +0000 Content-class: urn:content-classes:message Subject: re [VOTE] Release Empire-db version 2.0.5-incubating MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01CA147D.A4331694" Date: Mon, 3 Aug 2009 23:00:55 +0200 Message-ID: <[email protected]> X-MimeOLE: Produced By Microsoft Exchange V6.5 X-MS-Has-Attach: X-MS-TNEF-Correlator: <[email protected]> Thread-Topic: re [VOTE] Release Empire-db version 2.0.5-incubating Thread-Index: AcoOA/Qy3Po29KdgRxunhJ7EErDgkQGeYoBn References: <[email protected]> From: =?iso-8859-1?Q?J=F6rg_Reiher?= <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01CA147D.A4331694 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable +1 ...sorry, was on holiday... just checked it out now, looks good! from: Francis De Brabandere [mailto:[email protected]] sent: So 720-480-6523:15 to: [email protected] subject: [VOTE] Release Empire-db version 2.0.5-incubating =20 Hi, Changelog: http://svn.apache.org/viewvc/incubator/empire-db/tags/empire-db-parent-2.= 0.5-incubating/CHANGELOG.txt?revision=3D797936 Staging repo: https://repository.apache.org/content/repositories/empire-db-staging-028/= Distribution files are located here http://people.apache.org/~francisdb/empire-db/ Vote open for 72 hours. [ ] +1 [ ] +0 [ ] -1 --=20 http://www.somatik.be Microsoft gives you windows, Linux gives you the whole house. ------_=_NextPart_001_01CA147D.A4331694-- From [email protected] Mon Aug 03 22:00:01 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30447 invoked from network); 3 Aug 2009 22:00:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Aug 2009 22:00:01 -0000 Received: (qmail 59091 invoked by uid 500); 3 Aug 2009 22:00:05 -0000 Delivered-To: [email protected] Received: (qmail 59063 invoked by uid 500); 3 Aug 2009 22:00:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 59053 invoked by uid 99); 3 Aug 2009 22:00:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 22:00:05 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO fg-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 21:59:56 +0000 Received: by fg-out-1718.google.com with SMTP id l27so576293fgb.3 for <[email protected]>; Mon, 03 Aug 2009 14:59:35 -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 :content-transfer-encoding; bh=0bLGG5zReQaiG8E24spK+38zA+9JazEAH+ZlDqEBqaU=; b=gRp8Y377E7UNa5WmDZDUMI0qJ5IPU+PIDqn4p/U48/a9v1piQUHDZ07Lv8HUwcF0Kd Qfv4UkIPMVJTjVKYuN2i0YNLBqHiQSya14Ped9duU4LI8YdUDosDdkAGAS9zjFr+SLUO ACYQCGJlD7UFw7LphOg7io7jIP1dIzQBG4Y1E= 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:content-transfer-encoding; b=DJ4fB7YVEZDnvsOqpFhvsZHjzg3edTg/W5TufIC1HG55C/O1ZmJaJk+0mxEK7ND2+L bvP016QMH9K3/RtiR5tNjbXe/bQxPx+E0kFE5r7Zd4YWWbQ3P3Bw0vVZJ502qYIaOz8o J793eGbPXCQh36i9lWWdbyCyH1hp47pgtXC68= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id v19mr2259369fgb.29.1249336773084; Mon, 03 Aug 2009 14:59:33 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Mon, 3 Aug 2009 23:59:33 +0200 Message-ID: <[email protected]> Subject: Re: re [VOTE] Release Empire-db version 2.0.5-incubating From: Francis De Brabandere <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hello everybody, the final result of our vote for releasing 2.0.5-incubating is: +1 votes: 3 (+1 non-binding) 0 votes: 0 -1 votes: 0 The minimum requirement of 3 votes with no -1 votes has been meet. The release is hereby accepted. Regards Francis On Mon, Aug 3, 2009 at 11:00 PM, J=F6rg Reiher<[email protected]> wrote: > +1 > ...sorry, was on holiday... just checked it out now, looks good! > > > > from: Francis De Brabandere [mailto:[email protected]] > sent: So 720-480-6523:15 > to: [email protected] > subject: [VOTE] Release Empire-db version 2.0.5-incubating > > Hi, > > Changelog: > http://svn.apache.org/viewvc/incubator/empire-db/tags/empire-db-parent-2.= 0.5-incubating/CHANGELOG.txt?revision=3D797936 > > Staging repo: > https://repository.apache.org/content/repositories/empire-db-staging-028/ > > Distribution files are located here > http://people.apache.org/~francisdb/empire-db/ > > Vote open for 72 hours. > > [ ] +1 > [ ] +0 > [ ] -1 > > > -- > http://www.somatik.be > Microsoft gives you windows, Linux gives you the whole house. > > --=20 http://www.somatik.be Microsoft gives you windows, Linux gives you the whole house. From [email protected] Mon Aug 03 22:00:53 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30788 invoked from network); 3 Aug 2009 22:00:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Aug 2009 22:00:52 -0000 Received: (qmail 59333 invoked by uid 500); 3 Aug 2009 22:00:58 -0000 Delivered-To: [email protected] Received: (qmail 59304 invoked by uid 500); 3 Aug 2009 22:00:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 59294 invoked by uid 99); 3 Aug 2009 22:00:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 22:00:58 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO fg-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 22:00:48 +0000 Received: by fg-out-1718.google.com with SMTP id d23so1132683fga.3 for <[email protected]>; Mon, 03 Aug 2009 15:00:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=eqUhAFwproG4RQOb7X46+5Wwy6AL41ljnism+KVsEyU=; b=v9OVxDwU/Sf+9NHlTpnEV6K9do4qbEauTr2dSgXhYLqAmxMj3dJDRO1PVQpYDiyfJu kz8NfzYaS1+/sgOAolGB210zsOmjBU3YBnBedfzDfVKpzmFlNrZcQmAE5g1ZxhNj9gwv Lh4QHxj/rWFRH8BwMPNvuo002A9+N+w04Wd7A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=RR+lOq7a6s66RgKMFBJQG5CgbNWLk0heXPXIETknDDA+b7dqXAGiegN15I6Ve9rzz+ cvJhd+5EZrF/eMOpZw5/qcfrp4GbBX3IaPRxIi9YvUtpsGCj+Y+YjPyOK0tZyXi6YfbE 4KpXh9unbZQGF067HA7XMkbgXnv6vhys0dSdE= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id n2mr2384027fgb.51.1249336826746; Mon, 03 Aug 2009 15:00:26 -0700 (PDT) Date: Tue, 4 Aug 2009 00:00:26 +0200 Message-ID: <[email protected]> Subject: next step for release? From: Francis De Brabandere <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org So what is the next step to get this release done? -- http://www.somatik.be Microsoft gives you windows, Linux gives you the whole house. From [email protected] Mon Aug 03 22:42:03 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48708 invoked from network); 3 Aug 2009 22:42:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Aug 2009 22:42:03 -0000 Received: (qmail 23203 invoked by uid 500); 3 Aug 2009 22:42:08 -0000 Delivered-To: [email protected] Received: (qmail 23174 invoked by uid 500); 3 Aug 2009 22:42:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23164 invoked by uid 99); 3 Aug 2009 22:42:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 22:42:08 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f221.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 22:42:00 +0000 Received: by bwz21 with SMTP id 21so2641372bwz.12 for <[email protected]>; Mon, 03 Aug 2009 15:41:38 -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 :content-transfer-encoding; bh=dxAMmqTz/oZdZ2rjLaKmXROfLSZAR0K1s7TQGPcDiDI=; b=Wd35r3bGTWMjx4WnTk1RddHHQ51nAZVSRmZTxQvzttAew7ihZrOmYZCbRfcfBoGmvD kPIJsAHbl6B+O+rN6/GV8vllzHUu3lW1t1KTYU+pRSV3fiDbKU/a23vEzmGu7n4L9zOK QTcJQu0Kf0ZxetEUTeg0m29l8usw4LvWsSLTc= 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:content-transfer-encoding; b=e7X7tiL0ERRjfhiDdj4rlCiszLXWw2/99+H60xleaEw7iWx1PrRwyp8Nul/XYEsc7u tD+sKGq6UNhBPUs9YDKeregT8jxHtPwIeDJRedpKp9iUsTviD7jXKX1ALo7PYtJaw5lE 6DJc/+MfWbbHbYRTqDTb1iCSeBqPdB3JB5Aug= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id t4mr1506206mup.133.1249339298100; Mon, 03 Aug 2009 15:41:38 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Tue, 4 Aug 2009 00:41:38 +0200 Message-ID: <[email protected]> Subject: Re: re [VOTE] Release Empire-db version 2.0.5-incubating From: Martijn Dashorst <[email protected]> To: [email protected] Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Aug 3, 2009 at 11:59 PM, Francis De Brabandere<[email protected]> wrote: > =A0+1 votes: 3 (+1 non-binding) Not quite true unfortunately... You have 0 binding votes (according to Apache rules). The only votes that are binding are those of a PMC overseeing a top level project [1], which is the Incubator PMC for Empire-db. As none of your Mentors have voted (who are the only Incubator PMC members in your project), you have 0 (legally) binding votes. PPMC votes *DO* count, though: there's little precedent in people voting -1 after the PPMC members have voted +1 to add a committer, for example. Releases are trickier, because there's much more that can go wrong from a legal standpoint. So in release votes, you're likely to see more -1 votes from Incubator PMC members than with adding a Committer. Now how to proceed with this release: - prod your Mentors to review the release (Henning, Thomas and myself), - ask the Incubator PMC on general@ to review the release and approve it (send the same message from dev@ to general@) - answer any questions that might arise from PMC members - if you don't have 3 binding +1 votes after 72 hours, prod the general@ list again=97remember it is vacation time - prod your mentors again and ask *them* to ask for reviewers when you have at least 3 binding +1 votes, and no -1 votes, then you're ready to release the files. The reason why there's this distinction is because Apache is a corporation where committees represent the corporation and need to officially show awareness of decisions that are binding to the Foundation. The board installs these committees by resolution to provide oversight. The only folks that are able to provide oversight are those that have been appointed by the board. Since the PPMC is not installed by the board, but a artifact from the Incubator, PPMC votes are not legally binding. Adding a committer is a legally binding action. Adding a PMC member is a legally binding action. Changing the Chair of the PMC is a legally binding action, and finally releasing software is legally binding. This provides The ASF with the means to protect individuals against litigation: the corporation is accountable, not the individual developer. Without the binding votes, The ASF won't be able to protect us individuals (adequately) from litigation. Martijn [1] http://www.apache.org/foundation/voting.html [2] http://incubator.apache.org/guides/releasemanagement.html From [email protected] Mon Aug 03 22:43:12 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48848 invoked from network); 3 Aug 2009 22:43:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Aug 2009 22:43:12 -0000 Received: (qmail 23453 invoked by uid 500); 3 Aug 2009 22:43:17 -0000 Delivered-To: [email protected] Received: (qmail 23424 invoked by uid 500); 3 Aug 2009 22:43:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23414 invoked by uid 99); 3 Aug 2009 22:43:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 22:43:17 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f224.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 22:43:08 +0000 Received: by fxm24 with SMTP id 24so2692100fxm.12 for <[email protected]>; Mon, 03 Aug 2009 15:42:46 -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 :content-transfer-encoding; bh=mFotDyqVn6OurLTedWjrSF+VqGoXX5KH6t9mGUjLatM=; b=P/6UJLBm7aOyHs0H5OonVTbo3ZUMZSOklBXlxGpAitmG0meFe1nt5qFo4+L4r1FyUU J0vTblsLVlw3IMf7c7diXvcbsT9Q7o/VrxuGM6RdJVcq1OMwmNRtBbNYmACUXXn0ULb/ Nfig3SH8vOJcqkOh6ypXuza5mPmgAZaNP0XEM= 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:content-transfer-encoding; b=PZOjy88kCckQqCu4+i/fjsSRbWtqrLdhGJV4p9Zs67kuVBNiIx2VqtmZh52/q68m6k szp8mN1oTpJXmA1ZtRUqWo9Jidy4KjBN2hDmYF5OA8V2L9lsYJGAoCqCsAtwPLEFLxMq N7M2hO2D7jXzmt8l1JR2hKuZnoI8lsA3mi2p8= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id n19mr273131mug.108.1249339366698; Mon, 03 Aug 2009 15:42:46 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Tue, 4 Aug 2009 00:42:46 +0200 Message-ID: <[email protected]> Subject: Re: [VOTE] Release Empire-db version 2.0.5-incubating From: Martijn Dashorst <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Francis, Can you generate a RAT report and upload it to your review location and send the link to this thread? That way the reviewing process will go much more smoothly... Martijn On Sun, Jul 26, 2009 at 5:15 PM, Francis De Brabandere<[email protected]> wrote: > Hi, > > Changelog: > http://svn.apache.org/viewvc/incubator/empire-db/tags/empire-db-parent-2.0.5-incubating/CHANGELOG.txt?revision=797936 > > Staging repo: > https://repository.apache.org/content/repositories/empire-db-staging-028/ > > Distribution files are located here > http://people.apache.org/~francisdb/empire-db/ > > Vote open for 72 hours. > > [ ] +1 > [ ] +0 > [ ] -1 > > > -- > http://www.somatik.be > Microsoft gives you windows, Linux gives you the whole house. > -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.4 increases type safety for web applications Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.0 From [email protected] Mon Aug 03 22:44:19 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49108 invoked from network); 3 Aug 2009 22:44:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Aug 2009 22:44:18 -0000 Received: (qmail 26588 invoked by uid 500); 3 Aug 2009 22:44:23 -0000 Delivered-To: [email protected] Received: (qmail 26560 invoked by uid 500); 3 Aug 2009 22:44:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26550 invoked by uid 99); 3 Aug 2009 22:44:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 22:44:23 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f221.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 22:44:13 +0000 Received: by bwz21 with SMTP id 21so2642155bwz.12 for <[email protected]>; Mon, 03 Aug 2009 15:43:53 -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 :content-transfer-encoding; bh=fiKu0Hct7GyNfHjduRs6+YN6ZFrxymByNiOS6Q88b30=; b=M9RcSXYx8mM3ykoYm6xqtb+QD/25sXlUicHEtuSdw9M2dPSPInlGQuOlZm6bhFQ3UN 88fADl2o6G+PS7F1DsWf+5LGHz2Y17O2IGblwSavtuojc3pJdMNUuN8Df2KGaeMJCZ20 W+YkxFGw8GO9HgN55JWUxK8GHKR36nzVT8+ls= 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:content-transfer-encoding; b=YhKl6Bry05N++FcUemr7/hrMVXruw19j4mHAThiezlzfxOmW9QtG/aKio5QpbRK4jY wKoAoyGnjKaAfXJyQWcdW8a8q4j3rCiK+zAPsovSGFL0wqzksWmOO6spy6sGJXRVgePS KmYzzbaZ4GdoMmKgtjTLk3mwcMQrZfjfhNK3k= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id j3mr3870770mup.54.1249339432843; Mon, 03 Aug 2009 15:43:52 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Tue, 4 Aug 2009 00:43:52 +0200 Message-ID: <[email protected]> Subject: Re: re [VOTE] Release Empire-db version 2.0.5-incubating From: Martijn Dashorst <[email protected]> To: [email protected] Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org One of the major benefits of graduating is that you don't have to wait for your mentors (and Incubator PMC members) to vote +1 on a release :) Martijn On Tue, Aug 4, 2009 at 12:41 AM, Martijn Dashorst<[email protected]> wrote: > On Mon, Aug 3, 2009 at 11:59 PM, Francis De > Brabandere<[email protected]> wrote: >> =A0+1 votes: 3 (+1 non-binding) > > Not quite true unfortunately... You have 0 binding votes (according to > Apache rules). The only votes that are binding are those of a PMC > overseeing a top level project [1], which is the Incubator PMC for > Empire-db. As none of your Mentors have voted (who are the only > Incubator PMC members in your project), you have 0 (legally) binding > votes. > > PPMC votes *DO* count, though: there's little precedent in people > voting -1 after the PPMC members have voted +1 to add a committer, for > example. Releases are trickier, because there's much more that can go > wrong from a legal standpoint. So in release votes, you're likely to > see more -1 votes from Incubator PMC members than with adding a > Committer. > > Now how to proceed with this release: > =A0- prod your Mentors to review the release (Henning, Thomas and myself)= , > =A0- ask the Incubator PMC on general@ to review the release and approve > it (send the same message from dev@ to general@) > =A0- answer any questions that might arise from PMC members > =A0- if you don't have 3 binding +1 votes after 72 hours, prod the > general@ list again=97remember it is vacation time > =A0- prod your mentors again and ask *them* to ask for reviewers > when you have at least 3 binding +1 votes, and no -1 votes, then > you're ready to release the files. > > The reason why there's this distinction is because Apache is a > corporation where committees represent the corporation and need to > officially show awareness of decisions that are binding to the > Foundation. The board installs these committees by resolution to > provide oversight. The only folks that are able to provide oversight > are those that have been appointed by the board. Since the PPMC is not > installed by the board, but a artifact from the Incubator, PPMC votes > are not legally binding. Adding a committer is a legally binding > action. Adding a PMC member is a legally binding action. Changing the > Chair of the PMC is a legally binding action, and finally releasing > software is legally binding. This provides The ASF with the means to > protect individuals against litigation: the corporation is > accountable, not the individual developer. Without the binding votes, > The ASF won't be able to protect us individuals (adequately) from > litigation. > > Martijn > > [1] http://www.apache.org/foundation/voting.html > [2] http://incubator.apache.org/guides/releasemanagement.html > --=20 Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.4 increases type safety for web applications Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.0 From [email protected] Mon Aug 03 22:57:03 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65944 invoked from network); 3 Aug 2009 22:57:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Aug 2009 22:57:02 -0000 Received: (qmail 39831 invoked by uid 500); 3 Aug 2009 22:57:08 -0000 Delivered-To: [email protected] Received: (qmail 39803 invoked by uid 500); 3 Aug 2009 22:57:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 39793 invoked by uid 99); 3 Aug 2009 22:57:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 22:57: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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO fg-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 22:56:57 +0000 Received: by fg-out-1718.google.com with SMTP id d23so1139375fga.3 for <[email protected]>; Mon, 03 Aug 2009 15:56: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=TDv8oOFn/j/eIAZBZH+tlpxzBT3msVo4frfEeLrMHKw=; b=Wy3jWgLGVmIO9Oj3gRRiQ00th1OANwsC2Ex4jYB83JO5x+6UpKTOANTEGVsk0fu6Yg ycWId878Xz3H4z2+0U0em8GYelbxbbqxFFFNqfHXOU5XdBUWnThu56t25aIJ4xyph3BG PWXtyJR4b9REap5HTtwpeEQYCCnEmMlymh7GQ= 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=uWz1EP71RRRHy3okA4+xgJFBQs6he/UuLQJZ2JTN5+6iXDscjncGVz8NvbgJEWGYUq C6tI6p9gahUyx+zlbF8I7DbjBH9+n235H81emvCdwFsSXcgwC455kP1eFAOCcTEQddM5 djFkV5IUADviTZqaOtdf4iOiaz5WkaSSKNsZ8= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id h12mr2286195fgb.21.1249340197093; Mon, 03 Aug 2009 15:56:37 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Tue, 4 Aug 2009 00:56:37 +0200 Message-ID: <[email protected]> Subject: Re: re [VOTE] Release Empire-db version 2.0.5-incubating From: Francis De Brabandere <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=000e0cd24918a6c0e4047044aeab X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd24918a6c0e4047044aeab Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I know we need a second voting round. Sorry for the misuse of the word "binding". Thanks for explaining, will take care of those extra actions tomorrow On Aug 4, 2009 12:44 a.m., "Martijn Dashorst" <[email protected]> wrote: One of the major benefits of graduating is that you don't have to wait for your mentors (and Incubator PMC members) to vote +1 on a release :) Martijn On Tue, Aug 4, 2009 at 12:41 AM, Martijn Dashorst<[email protected]> wrote: > On Mon, Aug ... -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.4 increases type safety for web applications Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.0 --000e0cd24918a6c0e4047044aeab-- From [email protected] Tue Aug 04 21:17:03 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69783 invoked from network); 4 Aug 2009 21:17:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Aug 2009 21:17:03 -0000 Received: (qmail 32649 invoked by uid 500); 4 Aug 2009 21:17:08 -0000 Delivered-To: [email protected] Received: (qmail 32615 invoked by uid 500); 4 Aug 2009 21:17:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32602 invoked by uid 99); 4 Aug 2009 21:17:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Aug 2009 21:17:07 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO fg-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Aug 2009 21:16:57 +0000 Received: by fg-out-1718.google.com with SMTP id d23so1329105fga.3 for <[email protected]>; Tue, 04 Aug 2009 14:16:36 -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 :content-transfer-encoding; bh=JRW519ZLmmrvROloa276ou6J2eM7oVM79EyQf5vpKS4=; b=BDnn+8ga/WjuRGxPyuZ0yFG/UzLQwXAgU0SvCQuKwcZ5cHzAuX+VS+iGHghHbeoifY 1tib9+jX1YuF22de50Pei17KjlrSHFIhDmJxA1tw54B46vgVoQKbaSKguV1gzCn+Khtm 8I6+ADx38LzGKv62rz6SshRq/PpIQsRYLFyi4= 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:content-transfer-encoding; b=QxLfy8W3XQKJ3DjktuRy4pteMcQJopsW/rxKXU1Vr1zxjXArVU1PEYZ1MG9j2+M9h+ +1fmMLrnZXO5qSUN1vdxuf1HKGeNghJHfbNHvuUPE+VNWsskkSalcILaRJxoOozFO6RP GtOxXdThN1Mv/9ftSbatGmYepO4M6kpatXXvo= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id 1mr3089766fga.42.1249420595983; Tue, 04 Aug 2009 14:16:35 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Tue, 4 Aug 2009 23:16:35 +0200 Message-ID: <[email protected]> Subject: Re: [VOTE] Release Empire-db version 2.0.5-incubating From: Francis De Brabandere <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Here you have the rat report: http://people.apache.org/~francisdb/empire-db/rat.txt I checked out the tag and built the report, is that ok? I also added the rat plugin in our CI and release builds which run successfully on the apache hudson. (I'm excluding the "old" folder and the dependencies.txt) http://hudson.zones.apache.org/hudson/view/Empire-DB/job/Empire-DB%20snapshot/ But as far as I can see there are no problems, just that "old" folder should be removed in the future but it is not actually released to maven central nor is it available in the distribution If you think this is ok I'll post the initial mail to private@ for the mentors review or should I contact the mentors directly? And after that to [email protected]? Why do we need the general@ mail if the mentors votes are enough? Thanks for the guidance. Francis On Tue, Aug 4, 2009 at 12:42 AM, Martijn Dashorst<[email protected]> wrote: > Francis, > > Can you generate a RAT report and upload it to your review location > and send the link to this thread? That way the reviewing process will > go much more smoothly... > > Martijn > > On Sun, Jul 26, 2009 at 5:15 PM, Francis De > Brabandere<[email protected]> wrote: >> Hi, >> >> Changelog: >> http://svn.apache.org/viewvc/incubator/empire-db/tags/empire-db-parent-2.0.5-incubating/CHANGELOG.txt?revision=797936 >> >> Staging repo: >> https://repository.apache.org/content/repositories/empire-db-staging-028/ >> >> Distribution files are located here >> http://people.apache.org/~francisdb/empire-db/ >> >> Vote open for 72 hours. >> >> [ ] +1 >> [ ] +0 >> [ ] -1 >> >> >> -- >> http://www.somatik.be >> Microsoft gives you windows, Linux gives you the whole house. >> > > > > -- > Become a Wicket expert, learn from the best: http://wicketinaction.com > Apache Wicket 1.4 increases type safety for web applications > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.0 > -- http://www.somatik.be Microsoft gives you windows, Linux gives you the whole house. From [email protected] Wed Aug 05 08:36:17 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80637 invoked from network); 5 Aug 2009 08:36:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Aug 2009 08:36:17 -0000 Received: (qmail 32988 invoked by uid 500); 5 Aug 2009 08:36:24 -0000 Delivered-To: [email protected] Received: (qmail 32961 invoked by uid 500); 5 Aug 2009 08:36:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32951 invoked by uid 99); 5 Aug 2009 08:36:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2009 08:36:24 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f221.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2009 08:36:14 +0000 Received: by fxm21 with SMTP id 21so2474478fxm.27 for <[email protected]>; Wed, 05 Aug 2009 01:35:53 -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 :content-transfer-encoding; bh=acVt/Sw+KEZ/oVF+GHM7M8p/xjAnx4+v93hTpmGAPzs=; b=o+n3BmkLSp6qP5onlZ8iHMvONW876FzzP44QWnn4T+F43VcUkJ9+dfgJAGJfJ4POvw JUik7q3tcUUSNmZUbxG2IgUFDGtea3UK5SLGqc9U1gOkQB6lsaX2o7TCtm+tcsJQJwHH +tVRuIqk9n6yBfjmlz2aCMhlWH8pzmdbvjCII= 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:content-transfer-encoding; b=tIJRShWpVQg7zeiXXy1G+8TPiJUzJRKyMmRE+Hnmwyy21MKD0Mi0Lrs43rYSQYTWCn dhmULnefXV3b8aNlO1jNYZ88hEqZa3Dv/rrjXW0+nb3TEWXN2zEDrIvOiU7E7ULkdPmG /9fD6Y8txUb0gCZFlvlKowD82TUhDibY5k1xk= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id d7mr3195119mui.122.1249461352971; Wed, 05 Aug 2009 01:35:52 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Wed, 5 Aug 2009 10:35:52 +0200 Message-ID: <[email protected]> Subject: Re: [VOTE] Release Empire-db version 2.0.5-incubating From: Martijn Dashorst <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hmm, In retrospect, perhaps sending the release vote directly to general@ is more doable, just say that because it is vacation time, you want to get a bigger audience to take a look at the release (general@ has a lot more subscribers) Martijn On Tue, Aug 4, 2009 at 11:16 PM, Francis De Brabandere<[email protected]> wrote: > Here you have the rat report: > http://people.apache.org/~francisdb/empire-db/rat.txt > > I checked out the tag and built the report, is that ok? > I also added the rat plugin in our CI and release builds which run > successfully on the apache hudson. (I'm excluding the "old" folder and > the dependencies.txt) > http://hudson.zones.apache.org/hudson/view/Empire-DB/job/Empire-DB%20snapshot/ > > But as far as I can see there are no problems, just that "old" folder > should be removed in the future but it is not actually released to > maven central nor is it available in the distribution > > If you think this is ok I'll post the initial mail to private@ for the > mentors review or should I contact the mentors directly? And after > that to [email protected]? Why do we need the general@ mail if the > mentors votes are enough? > > Thanks for the guidance. > Francis > > On Tue, Aug 4, 2009 at 12:42 AM, Martijn > Dashorst<[email protected]> wrote: >> Francis, >> >> Can you generate a RAT report and upload it to your review location >> and send the link to this thread? That way the reviewing process will >> go much more smoothly... >> >> Martijn >> >> On Sun, Jul 26, 2009 at 5:15 PM, Francis De >> Brabandere<[email protected]> wrote: >>> Hi, >>> >>> Changelog: >>> http://svn.apache.org/viewvc/incubator/empire-db/tags/empire-db-parent-2.0.5-incubating/CHANGELOG.txt?revision=797936 >>> >>> Staging repo: >>> https://repository.apache.org/content/repositories/empire-db-staging-028/ >>> >>> Distribution files are located here >>> http://people.apache.org/~francisdb/empire-db/ >>> >>> Vote open for 72 hours. >>> >>> [ ] +1 >>> [ ] +0 >>> [ ] -1 >>> >>> >>> -- >>> http://www.somatik.be >>> Microsoft gives you windows, Linux gives you the whole house. >>> >> >> >> >> -- >> Become a Wicket expert, learn from the best: http://wicketinaction.com >> Apache Wicket 1.4 increases type safety for web applications >> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.0 >> > > > > -- > http://www.somatik.be > Microsoft gives you windows, Linux gives you the whole house. > -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.4 increases type safety for web applications Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.0 From [email protected] Wed Aug 05 08:41:40 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81662 invoked from network); 5 Aug 2009 08:41:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Aug 2009 08:41:40 -0000 Received: (qmail 41262 invoked by uid 500); 5 Aug 2009 08:41:47 -0000 Delivered-To: [email protected] Received: (qmail 41232 invoked by uid 500); 5 Aug 2009 08:41:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 41222 invoked by uid 99); 5 Aug 2009 08:41:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2009 08:41:47 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f221.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2009 08:41:38 +0000 Received: by bwz21 with SMTP id 21so3410015bwz.12 for <[email protected]>; Wed, 05 Aug 2009 01:41:17 -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 :content-transfer-encoding; bh=MBK4jOvH/GOAmvY4s0/VBQMoMZ58GEcbQ9tnt0lSFnE=; b=M2K73/4/KlEX0a1bZXPQz1QjPVgW/DTvBdF2ahc0FPSWF3qj3LeGcXuRIE6ojXNDwg Lw5PdlfuqeditKGpfw2U8uyd0Y0YQ8fYVBRneBA6xaQv41Hi3PJOuuahX7W9HaBzIblN BWaMxWpmU9bsIBTBDYZT7WREefAsdrVBdDwUU= 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:content-transfer-encoding; b=tRIs8nqY+ohzIpyRCHptvSs1IjnYYOXVZj/cumX5YbUHfpCofvQ7MWfmZrM7MbeIUb yX2iUD1890tDjXGBEdx8h88EIiu55aRkwdMqJ2VZG/yWoYULuQRR16yy8CHdTVZftuqT RkaZx3RDaiPBksifEGysU4VuLvqkdF8MvoAhg= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id u20mr4744578mur.0.1249461677739; Wed, 05 Aug 2009 01:41:17 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Wed, 5 Aug 2009 10:41:17 +0200 Message-ID: <[email protected]> Subject: Re: [VOTE] Release Empire-db version 2.0.5-incubating From: Martijn Dashorst <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Aug 4, 2009 at 11:16 PM, Francis De Brabandere<[email protected]> wrote: > Why do we need the general@ mail if the > mentors votes are enough? Because more eyes is better. The incubator PMC has delegated direct oversight to the Mentors, but doesn't relinquish the oversight. The 3 +1 votes from your mentors are the minimum required votes. However, 5 -1 votes from IPMC members will negate our 3 +1 votes. And there are many reasons why we mentors might +1 a release, but someone else will -1 it. I usually look at the rat reports to see if there are no license issues, and if due process was followed. But others will check for a tag in svn, proper directory layout, unnecessary files in releases, etc. There's a whole spectrum to look at, and while we do our best, we can't catch everything. Martijn From [email protected] Wed Aug 05 09:01:09 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86672 invoked from network); 5 Aug 2009 09:01:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Aug 2009 09:01:08 -0000 Received: (qmail 71182 invoked by uid 500); 5 Aug 2009 09:01:16 -0000 Delivered-To: [email protected] Received: (qmail 71154 invoked by uid 500); 5 Aug 2009 09:01:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71144 invoked by uid 99); 5 Aug 2009 09:01:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2009 09:01:16 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO fg-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2009 09:01:06 +0000 Received: by fg-out-1718.google.com with SMTP id d23so1403228fga.3 for <[email protected]>; Wed, 05 Aug 2009 02:00:45 -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 :content-transfer-encoding; bh=SQ0SHIL++opKMqrjz0bwo78sclKq6OSS1CnvnyWrJas=; b=WKJasEk+tb8r9OUVvcGgKrlOzCoBROfhnZvq0m1FQEYQK8mfmsRxRMpJgFP7gqSAD/ +PUj38qiwxrQQqF6Cc8OKde0Fi5noF9be/LkIy7wyAzEhyjRA1bSUA3NEs1Pwe/9g/cs ORgx8AesYFOT+MoP69PLtRpm8NN81iW+2ep/4= 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:content-transfer-encoding; b=RG5Ks7IInHuHK1G4i7OEwM349ZDgQYldALCa97YqZ/FoBmIJboC02MA3KJrHhK1TzS hYWGUBb9I42/8+nu2LBfWRyztZayRl38eKMu1BBXrWBknOgK7sg+D+YkUBtt2+Fa+WoG 36jOxxLIVgf7uo28E+a7qK/3rJkf5cXCMpXrc= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id u17mr3677794fgb.55.1249462844373; Wed, 05 Aug 2009 02:00:44 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Wed, 5 Aug 2009 11:00:44 +0200 Message-ID: <[email protected]> Subject: Re: [VOTE] Release Empire-db version 2.0.5-incubating From: Francis De Brabandere <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Ok this evening I will send to private and general. On Wed, Aug 5, 2009 at 10:41 AM, Martijn Dashorst<[email protected]> wrote: > On Tue, Aug 4, 2009 at 11:16 PM, Francis De > Brabandere<[email protected]> wrote: >> Why do we need the general@ mail if the >> mentors votes are enough? > > Because more eyes is better. The incubator PMC has delegated direct > oversight to the Mentors, but doesn't relinquish the oversight. The 3 > +1 votes from your mentors are the minimum required votes. However, 5 > -1 votes from IPMC members will negate our 3 +1 votes. And there are > many reasons why we mentors might +1 a release, but someone else will > -1 it. > > I usually look at the rat reports to see if there are no license > issues, and if due process was followed. But others will check for a > tag in svn, proper directory layout, unnecessary files in releases, > etc. There's a whole spectrum to look at, and while we do our best, we > can't catch everything. > > Martijn > -- http://www.somatik.be Microsoft gives you windows, Linux gives you the whole house. From [email protected] Wed Aug 05 10:09:39 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15367 invoked from network); 5 Aug 2009 10:09:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Aug 2009 10:09:34 -0000 Received: (qmail 40517 invoked by uid 500); 5 Aug 2009 09:48:58 -0000 Delivered-To: [email protected] Received: (qmail 40509 invoked by uid 500); 5 Aug 2009 09:48:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 40499 invoked by uid 99); 5 Aug 2009 09:48:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2009 09:48:58 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.esteam.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2009 09:48:47 +0000 Content-class: urn:content-classes:message Subject: re: [VOTE] Release Empire-db version 2.0.5-incubating MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Wed, 5 Aug 2009 11:44:49 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: re: [VOTE] Release Empire-db version 2.0.5-incubating Thread-Index: AcoVq0uXT/MCR+4bRlqfcGUOS3Tz8wAAJlnw References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: =?iso-8859-1?Q?Rainer_D=F6bele?= <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi Francis, I just want to thank you all you effort so far.=20 I knew that we have to present the release to the incubator PMC for = approval, but I did not remember that our internal vote had to be = approved by the mentors. Sorry. I am on holiday with my family at the moment and I only have limited = internet access. But if there is anything I can do, please let me know. Regards Rainer Francis De Brabandere wrote: > Re: [VOTE] Release Empire-db version 2.0.5-incubating >=20 > Ok this evening I will send to private and general. >=20 > On Wed, Aug 5, 2009 at 10:41 AM, Martijn > Dashorst<[email protected]> wrote: > > On Tue, Aug 4, 2009 at 11:16 PM, Francis De > > Brabandere<[email protected]> wrote: > >> Why do we need the general@ mail if the > >> mentors votes are enough? > > > > Because more eyes is better. The incubator PMC has delegated direct > > oversight to the Mentors, but doesn't relinquish the oversight. The = 3 > > +1 votes from your mentors are the minimum required votes. However, = 5 > > -1 votes from IPMC members will negate our 3 +1 votes. And there are > > many reasons why we mentors might +1 a release, but someone else = will > > -1 it. > > > > I usually look at the rat reports to see if there are no license > > issues, and if due process was followed. But others will check for a > > tag in svn, proper directory layout, unnecessary files in releases, > > etc. There's a whole spectrum to look at, and while we do our best, > we > > can't catch everything. > > > > Martijn > > >=20 >=20 >=20 > -- > http://www.somatik.be > Microsoft gives you windows, Linux gives you the whole house. From [email protected] Wed Aug 05 10:21:40 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26538 invoked from network); 5 Aug 2009 10:21:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Aug 2009 10:21:40 -0000 Received: (qmail 90462 invoked by uid 500); 5 Aug 2009 10:21:48 -0000 Delivered-To: [email protected] Received: (qmail 90442 invoked by uid 500); 5 Aug 2009 10:21:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 90369 invoked by uid 99); 5 Aug 2009 10:21:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2009 10:21:48 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f221.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2009 10:21:37 +0000 Received: by fxm21 with SMTP id 21so2521960fxm.27 for <[email protected]>; Wed, 05 Aug 2009 03:21:16 -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 :content-transfer-encoding; bh=v2isxCBVS3IRyZGRJQLO/zuuyqM4ZANfYUpOnA45zQs=; b=WMlz9fHtv0g1APn3dYYTfCGhzDwumUrVoGAMdFYISY+g2Gvu9iGz9TDim/wmvWFBoX 5Esnxz1RkwM/avc2N7KSxk3i3iILFObAOkFdx+Nohcmpv2JEUNdPXlfc04zef+bLewza 48xKrstZEqm/OByQvWG0vWdLkFjO/gI6DwcZQ= 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:content-transfer-encoding; b=U+zaVK8dZLjvd/aj65j4zBzQmmIILaz3RuOmDXL90FWp4cVcotVWDaA7njn+kYEqlV Vyo4/USS2eRkcgz1US/lUNdOk/+mtWqRu/Mb4WGSXwtm7zgsFi08nRD9XFYZKg66JAoo NlzQMVcAnWk2vOxHFG5ClKkzP4lvTTaGoMIt4= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id l17mr2181844mun.109.1249467674357; Wed, 05 Aug 2009 03:21:14 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Wed, 5 Aug 2009 12:21:14 +0200 Message-ID: <[email protected]> Subject: Re: [VOTE] Release Empire-db version 2.0.5-incubating From: Martijn Dashorst <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org It is not a specific approval of Mentors, but rather a first step to get the release out much quicker. As Mentors we are Incubator PMC members, and as such our votes are legally binding. While you could send the release vote directly to general@, the first reaction would be: where's the community vote? The second would be: where are your Mentor votes... So having the mentor votes in your pocket is much more helpful than not having them and needing to convince the Incubator PMC to approve the release :) Martijn On Wed, Aug 5, 2009 at 11:44 AM, Rainer D=F6bele<[email protected]> wrote: > Hi Francis, > > I just want to thank you all you effort so far. > I knew that we have to present the release to the incubator PMC for appro= val, but I did not remember that our internal vote had to be approved by th= e mentors. Sorry. > > I am on holiday with my family at the moment and I only have limited inte= rnet access. > But if there is anything I can do, please let me know. > > Regards > Rainer > > Francis De Brabandere wrote: >> Re: [VOTE] Release Empire-db version 2.0.5-incubating >> >> Ok this evening I will send to private and general. >> >> On Wed, Aug 5, 2009 at 10:41 AM, Martijn >> Dashorst<[email protected]> wrote: >> > On Tue, Aug 4, 2009 at 11:16 PM, Francis De >> > Brabandere<[email protected]> wrote: >> >> Why do we need the general@ mail if the >> >> mentors votes are enough? >> > >> > Because more eyes is better. The incubator PMC has delegated direct >> > oversight to the Mentors, but doesn't relinquish the oversight. The 3 >> > +1 votes from your mentors are the minimum required votes. However, 5 >> > -1 votes from IPMC members will negate our 3 +1 votes. And there are >> > many reasons why we mentors might +1 a release, but someone else will >> > -1 it. >> > >> > I usually look at the rat reports to see if there are no license >> > issues, and if due process was followed. But others will check for a >> > tag in svn, proper directory layout, unnecessary files in releases, >> > etc. There's a whole spectrum to look at, and while we do our best, >> we >> > can't catch everything. >> > >> > Martijn >> > >> >> >> >> -- >> http://www.somatik.be >> Microsoft gives you windows, Linux gives you the whole house. > --=20 Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.4 increases type safety for web applications Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.0 From [email protected] Wed Aug 05 15:26:45 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75574 invoked from network); 5 Aug 2009 15:26:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Aug 2009 15:26:45 -0000 Received: (qmail 49092 invoked by uid 500); 5 Aug 2009 15:26:52 -0000 Delivered-To: [email protected] Received: (qmail 49063 invoked by uid 500); 5 Aug 2009 15:26:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 49053 invoked by uid 99); 5 Aug 2009 15:26:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2009 15:26:52 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.esteam.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2009 15:26:42 +0000 x-cr-puzzleid: {03424E7D-CDC9-479C-911D-3AF8032B15CE} Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Interesting project X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Wed, 5 Aug 2009 17:26:18 +0200 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Interesting project Thread-Index: AcoVtovDrgbmc9XaRYSjTfqXzyjUYQAKjCuA X-Priority: 5 Priority: Non-Urgent Importance: low References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: "Matthew Bond" <[email protected]> x-cr-hashedpuzzle: hYE= AHu7 BUya B6kM CfOh Csdt C43D DAQp ECsb EUiB FJ0y FN6e Fpet Fw/s GvjW HJpq;1;ZQBtAHAAaQByAGUALQBkAGIALQBkAGUAdgBAAGkAbgBjAHUAYgBhAHQAbwByAC4AYQBwAGEAYwBoAGUALgBvAHIAZwA=;Sosha1_v1;7;{03424E7D-CDC9-479C-911D-3AF8032B15CE};YgBvAG4AZABAAGUAcwB0AGUAYQBtAC4AZABlAA==;Wed, 05 Aug 2009 15:26:18 GMT;SQBuAHQAZQByAGUAcwB0AGkAbgBnACAAcAByAG8AagBlAGMAdAA= To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi Dev Team, I just found JaQu which is also uses a similar idea as does Empire-db http://www.h2database.com/html/jaqu.html They also reference our project on their web page. Matt Bond From [email protected] Mon Aug 17 22:21:30 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34402 invoked from network); 17 Aug 2009 22:21:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Aug 2009 22:21:30 -0000 Received: (qmail 46042 invoked by uid 500); 17 Aug 2009 21:19:49 -0000 Delivered-To: [email protected] Received: (qmail 45945 invoked by uid 500); 17 Aug 2009 21:19:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 45756 invoked by uid 99); 17 Aug 2009 21:19:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2009 21:19:49 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO fmmailgate03.web.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2009 21:19:41 +0000 Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [161.129.204.104]) by fmmailgate03.web.de (Postfix) with ESMTP id 5DCA710DD0CBC for <[email protected]>; Mon, 17 Aug 2009 23:19:20 +0200 (CEST) Received: from [161.129.204.104] (helo=[161.129.204.104]) by smtp05.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.110 #314) id 1Md9bo-0006FJ-00 for [email protected]; Mon, 17 Aug 2009 23:19:16 +0200 Message-ID: <[email protected]> Date: Mon, 17 Aug 2009 23:19:15 +0200 From: Benjamin Venditti <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20090605) MIME-Version: 1.0 To: [email protected] Subject: Code Generator [first insights] Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Sender: [email protected] X-Sender: [email protected] X-Provags-ID: V01U2FsdGVkX1/MGTWCqFJdzWwPOhA+fID0N3gathxO9rWliqBq Gg9+7aXY3E+ySvQODX/fevC81VZ4e4e8rqkUQAEkyA6Rqwr8ej sZhv/TIU0= X-Virus-Checked: Checked by ClamAV on apache.org Hi there, first of all, many thanks to Thomas Poling" for supplying his code about the database generator, i'm looking forward to work with it. I really think this could be a very valuable addition to EmpireDB. I compiled the code he supplied, read the documentation and tried to execute it with a hsql-database some of my fellow students and i designed 2 years ago. Unfortunately i could not get it running out of the box. I had to make the following two adjustments in order to get the classes generated. CHANGE 1: dbcodegen.db.Database:73 ResultSet tables = dbMeta.getTables(schemaName, null, "", new String[] {"TABLE"}); changed to: ResultSet tables = dbMeta.getTables(null, schemaName, null, new String[] {"TABLE"}); CHANGE 2: dbcodegen.db.Table:161 ResultSet pkRs = dbMeta.getPrimaryKeys(null, schema, tableName); changed to: ResultSet pkRs = dbMeta.getPrimaryKeys(schema, null, tableName); The generated classes contain a lot of compilation errors, as the templates contain a few imports/references to classes like "tfmm.persistence.generated.TfmmDatabase". I'm going to play around with the templates soon and let you know more about my results. Benjamin Thomas Poling schrieb: > Greetings All: > > Attached is the code generator to create table/record classes based on > database schema meta-data. > Please read the Word document in the docs folder first. > I only have a MySQL database so I haven't tried to make it flexible > enough to use with other databases. I'm hoping someone with a little > more DB experience can investigate what it would take to use it with > other databases. > > Please note that in the src folder all the classes under the tfmm > folder are NOT part of the code generator. They are mostly the code > that was generated based on my database. I've included the scripts > for this database under the dbscripts folder. You can also ignore the > EnumType class for now - I wanted to allow conversion between > constrained strings in the DB and java enumerated types, but haven't > gotten to this yet. > > Let me know what you think and if we might be able to use this as a > starting point for something that could be included in a future > release of EmpireDB. > > Thanks, Tom From [email protected] Thu Aug 20 23:13:17 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66831 invoked from network); 20 Aug 2009 23:13:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Aug 2009 23:13:15 -0000 Received: (qmail 75015 invoked by uid 500); 20 Aug 2009 23:13:34 -0000 Delivered-To: [email protected] Received: (qmail 74949 invoked by uid 500); 20 Aug 2009 23:13:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74930 invoked by uid 99); 20 Aug 2009 23:13:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Aug 2009 23:13:34 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO fmmailgate02.web.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Aug 2009 23:13:24 +0000 Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [161.129.204.104]) by fmmailgate02.web.de (Postfix) with ESMTP id 64F29115CEB5D; Fri, 21 Aug 2009 01:13:04 +0200 (CEST) Received: from [161.129.204.104] (helo=[161.129.204.104]) by smtp07.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.110 #314) id 1MeGoZ-0006dQ-00; Fri, 21 Aug 2009 01:13:04 +0200 Message-ID: <[email protected]> Date: Fri, 21 Aug 2009 01:13:02 +0200 From: Benjamin Venditti <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20090605) MIME-Version: 1.0 To: [email protected], [email protected] Subject: Re: Re: Code Generator [first insights] Content-Type: multipart/mixed; boundary="------------040905030402040808010207" Sender: [email protected] X-Sender: [email protected] X-Provags-ID: V01U2FsdGVkX1/vmohDVqUI/TNeeFSPnO4ZxXr1NAXC0pSEwO83 45QjNLN1WCp0jWOnZnPhmHKsrg62FlF0Xb8b3tPlpaGBm8DKMT D2FctWA1g= X-Virus-Checked: Checked by ClamAV on apache.org --------------040905030402040808010207 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Hi Thomas, i used your fixed files (DbCodeGenerator.java and BaseRecord.vm) and they worked fine. However, i still got a lot of compilation errors for 2 reasons. 1. I have no locking-columns in my tables. My testing database may be desinged bad, but i think it can't be assumed that every table has got a locking column. As a start and to simplify matters i just commented out everything that had to do with the locking-columns. 2. There are some wrong @override annotations, e.g. the "primary key getter" in "Record.vm" that implements a method instead of overriding it. I commented out the misplaced annotations. ###There is also a hard-coded reference to the DBDatabaseDriverMySQL class. ### The Database class should be modified so it can adjust to the database type. ### Any ideas how this could be done? As you recommended i modified the files "Database.java" and the "Database.vm". I extended its constructor, so that the user has to supply an instance of the DBDatabaseDriver that shall be used. I tested the modifications and they seem to work properly. Unfortunately it looks like, that each different DBDatabaseDriver need a different setup routine. (check the list of relevant setup properties below) So, e.g. if we use MySQL we need to call "setDatabaseName(...)", but if we use HSQL that function can't be called as it doesn't exist. Have you got an idea how this could be solved classy? ---------------SETUP PROPERTIES------------------- DBDatabaseDriverPostgreSQL setDatabaseName(String databaseName) DBDatabaseDriverOracle -- nothing relevant DBDatabaseDriverMySQL setDatabaseName(String databaseName) DBDatabaseDriverMSSQL setDatabaseName(String databaseName) setObjectOwner(String objectOwner) -- could be relevant DBDatabaseDriverHSql -- nothing relevant DBDatabaseDriverH2 setDatabaseName(String databaseName) DBDatabaseDriverDerby setDatabaseName(String databaseName) ------------------------------------- I enclosed the files i modified in the e-mail, so you may have a look at my changes. Benjamin Thomas Poling schrieb: > Greeting All: > Thanks, Benjamin for testing it out. You caught a good error - The > BaseRecord.vm template file had a hard-coded package name. The > attached files should fix that issue. The only change to the > DbCodeGenerator class is to the createBaseRecordClass() method. > > As far as the errors associated with get the database meta-data - this > could be a larger issue. It seems the definitions of database > catalogs vs. schemas depends on the database. There is also a > hard-coded reference to the DBDatabaseDriverMySQL class. The Database > class should be modified so it can adjust to the database type. Any > ideas how this could be done? > Thanks, Tom > > ----- Original Message ----- From: "Benjamin Venditti" <[email protected]> > To: <[email protected]> > Sent: Monday, August 17, 2009 5:03 PM > Subject: Code Generator [first insights] > > >> Hi there, >> >> first of all, many thanks to Thomas Poling" for supplying his code >> about the database generator, i'm looking forward to work with it. I >> really think this could be a very valuable addition to EmpireDB. >> I compiled code generator you supplied and read the documentation and >> tried to execute it with a hsql-database some of my fellow students >> and i designed 2 years ago. Unfortunately i could not get it running >> out of the box. I had to make the following two adjustments in order >> to get the classes generated. >> >> CHANGE 1: dbcodegen.db.Database:73 >> ResultSet tables = dbMeta.getTables(schemaName, null, "", new >> String[] {"TABLE"}); >> changed to: >> ResultSet tables = dbMeta.getTables(null, schemaName, null, >> new String[] {"TABLE"}); >> >> CHANGE 2: dbcodegen.db.Table:161 >> ResultSet pkRs = dbMeta.getPrimaryKeys(null, schema, tableName); >> changed to: >> ResultSet pkRs = dbMeta.getPrimaryKeys(schema, null, tableName); >> >> The generated classes contain a lot of compilation errors, as the >> templates contain a few imports/references to classes like >> "tfmm.persistence.generated.TfmmDatabase". >> I'm going to play around with the templates soon and let you know >> more about my results. >> >> Benjamin >> --------------040905030402040808010207 Content-Type: application/zip; name="generator changes.zip" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="generator changes.zip" UEsDBAoAAAAAAEMGFTsAAAAAAAAAAAAAAAAKAAAAcmVzb3VyY2VzL1BLAwQKAAAAAABEBhU7 AAAAAAAAAAAAAAAAFAAAAHJlc291cmNlcy90ZW1wbGF0ZXMvUEsDBBQAAAAIAFawFDsDcKQ5 GwIAAEQGAAAhAAAAcmVzb3VyY2VzL3RlbXBsYXRlcy9CYXNlUmVjb3JkLnZtrVRNb9pAED0b if8wlTjYiJofgCpFCTnk0AZRLj1Va3sCm9i71u6YVEL89+6XPyg0oKocjLye9+a9N2PXLH9j W4TJQWEuVbHy98fFeDQe8aqWikCqbcpqlu8wxarmCtMiS5f3awdYXC2T79+RrpZtWFbisOvk kDGNQc83VuExnRwKRswep3nJtHanDlM3WclzYJkmxXIC9xjuTaVXCfiLUBQaWtlgupRYoSAN T4O6w3gU1UoS5oQFZFKWyATUqDTXhoHgC7ywUlulkS31fXuCOHEUkW4MJuWCU7xFWmbOXpzM OgHp+vHh5+PXzerHDERTlolljGjHdXq529H6jObTqbnCFNZIjRIaaIdAlhwsFlRwp8HGVEBT S5F6xJ1yENjcipj3Brtgw6BgaGrhlc3vnveoFC/wJMO95IbdBtHuAij5rpFm5pRAEyOcwXP2 asrtE1OwNFM+z7FFBcSg9C/RkWqGyc3h83/6ebZV2ytHqJB2stDnMfj42j3iugNRuylhKr3y oeQPuCr2huds7VPd5DmaV2CwQBF/gfhT3ycg3LGPOVdoov1jYd1dnKTm/0EKYabEpYiTpIVH fSvP0tRFx3IB56RYg+ES/AeWYD665l6zPbaena/TaBPXJFD3CXS9btR5i5ICS6R/0OJFBPSH YQXoYJ29KDClexR8sIFA0g4MmB+Jueu+mCcv5cUvaTvqk728WGl1xm1Cx99QSwMEFAAAAAgA jr0UO4Rx11g3BgAAmRUAAB8AAAByZXNvdXJjZXMvdGVtcGxhdGVzL0RhdGFiYXNlLnZt3Vjd Uxs3EH82M/wPW8rDmSHH9Jk0EwKkzdQJ1HbSR0a+W9sK8uki6SCejP/3rr7uzscBTiYvLZMY JO2u9vOnXZcsu2ULhMMZ03jtFx/YCk/39/b3+KqUysBndsdS/UWk57IoMDNcFqcPDyd/jy6/ Zlj2HFeGi/RMKbYecW36DsN+fSLVImUly5aYZnK1koVO81lWpm+Y5tkFM2wiK5Xh6VMMQi4W vFikI7nYle4ty4xU615yXJVcNVyXSkl1NftM/niKPJ+lF2/OiYcV+bN01jAbh2cJx8hyVDuQ ZVK1rj38locbAtmF4neoQtg36SPnNh827eh0kyU9JC6Bk2oWNtMjR15WM8EzyATTGg5r2W5t +QC/GixyDY3p8G1/79e5VEjGJF4s8KLF7Lb0cH9vEKTPecEEeNKW6OlN2HKfbut3KPCenNAh 3SRmyfWQNP6VlCHBQP9Pjo7sX0cwXSIsmMF7tgYjwdAy6nIMTMNK5igwt0q6dPZcrxWaShWO 226DwlKhxsIwWx8g51uSPNdJY5S2dFmvzxZokqF102DA55D8kjREvCC+InPWDlOur0oskmEg HrSi2ybcpNKS5TMf7GN4lI5ubhCA5J5asRv7Eazt18SSWaq2V/9AY6MOWS0P5kqunFNae6WU ouPRLaYHfmv0g4623gmt83xmF5QUZknZlo9kxkRznDo3n0YvR2JKoUqI6FGj1uGvQS0tr8Gp 66/TNmWq0ZxVRlpo4CaZM6ExUvQrRAxBjUC3gYyZbAlJG3kBo3IDwrUULUolBw6sgNQlnLNZ bCNeJ1/LnwfHUGuBaal4YSaGSnqqWIZJSz9572ppXBWGr7C+PYncm25qeM37UuEC56wSxmqh jaosAMPcakup0JP/KcAYhasiveQlzNDcI1lD5F6eBwhaMwMrdotQlVu1Bkwh6BIzPudUt0sk tIRuHrVqoIUTwbUnJ/D2L6roRgu9K2g1VPPbcykclYcjt3a4NtBViSpleR4NTQjMvnXQzKK1 40kLt1I4J0uo5K48uT+b307bDF5GaY/c1rBBvYB93ehQ1O6w4FYwrNAsZe4968OqgYGmnCJ7 qS6Ve27AWpwDpSKDBSFK4Z0LmX8EIeEpOfxLhWo9pGBeFWINFYXFgnC8wsbfUvAYSL2UlbBC xdpLC2lVX3/HRBXjCK9LptgKXk5fOQBuVDPrEtMtGn8wpf0OqQv7Nm20YOpAKlgTNF0PbV3h V8wqgx3I6ibXy2nr4fNvNCnqxfhlcm5vt/o3+h2Dq6y6m4gqhKSMTQEo/8s/dnE31O40Wudx zO01IGaBznNb6PKa2Hc5CTcddzG1floGtdhG35TufxeegRo6gnhe8CA/8QzuQnk/saB7HIRs QUnEOi/RcFcXPaj3PDY1ooTABRNnWYZa/5go++H6DxF9GAzMhNTR6s2ghYMqtmSO+TvKTFCH bNuGOkP1dxXaf7cw7GhgFW6Vh/6B+ohiovN8fdRDCR2FcO1USE3RhIC7HurROvGZfL/khFSx xFbyDj+QuU2D1i7Pn19HoUa1fViS/1mFPSgw3ddp9BWZdGnCDTVHrNDMt4a0+2hnfid5Hnhi P+Df67Bnn7HeTnk3bZQUggo7u236lZZm/dpYHsuyrU+9+6xGJ/DiJ/14adc0SNDERFatZqi0 HWZoaLSNFryAXEIhDZSItz/97jJcHKenJ8ZZiPNOPRU+TuuzrCO8801Eq+/vIZ42Hf3LJgyv +kcP0shG0Wr1CJ9X6OE1YRTuGRr7J7OHtreb3afumBhlR4mLNzcX43efLsc356OzyeTmw9n7 SxJ60Fz3OZ9ljSsPenzTFfhxPNoWUSmxE9/kctxh1Kje5bvwXpPy/1yNL7b5S/LFPYHJLhIm 539evj/rcYDOlrhi0fj9PaAfyvqRXCxQ+WWvaCIAmuBIWPO9lK1iWiW9AfN/Dt0l/doKSbqS TzgTn6guKZM+vrMm/zbyTIE4zjj0iLRnJ9Auu+1hk+shgzrFEGC5NQrT8Oqz4Dzqm/TlTh/f RyUSnxa9p2RPEcTZDOijuQ5xTFqRHp66rmzb1Bpyc6erkxRgwlkQjqP6rZj7a4O0y8JNgBgf M233W98XWln1S6c9dZ7Q7IsRlunfv1BLAwQUAAAACAAEBhU7IONFRvYBAADkAwAAHgAAAHJl c291cmNlcy90ZW1wbGF0ZXMvSVJlY29yZC52bYWTS27bMBCG1xagOwwQLyQjlQ6QVeKghdFX 0OQCNDWSWFOkQI7tGobv3iEpR00boDtx+PObfx4ahdyJDmF5diita57S+XKXZ3l2o1ooliS2 Gqte+AfVPaJUg9AfFeqmKMs8U8NoHcFPcRDVIKivZhEjbtA0bzV7Urp6FIQxQb1a5Rms4H5P 9kOHBh3fNKAMoWuFRHA4OvRoSJkOqEdoBAlonR3AGr62Ryisg+S9BNtGXLgKwq3wCMk+wHcO 2jZAOKg8zOlaJqCQfZICnw4Kj+wiiCPwCmPMC5uY/TXYKoMBRhzyESXeFhMdF1h1FUTW6Lg5 7gQ7PN0CqQHBkxhGaENPI8COHFaelARt5Y5LLznxhl4te9ha6iNtygzCNODT54DU20QSWgMr OSit3g/GT0WlSm/hqKiP58TCXxI5tzWhUfweVWeCT+5viw6NRM9GgrbOs3G/1exw7sVmeU69 TtNYa+H9NzHghbnEi+Bh88A9/BFv4Zxni7qGp89TBXzcMKpjr1fOuFtbXYW1uZec2lsXcUV5 t2B1ev8pPq6fU/9544JtnmWx5IpDtdP6el5CjczzvLSL5VlO5JfTiM/kuMcXmKN/5+MnB6ua PxRf9yToKvgfLqrK6X9YhMUP1r+k2U6jmdtQ19cGTNNfvwt/V/Kv8Uue/QZQSwMEFAAAAAgA AQYVO3W8qTomBwAALBsAAB0AAAByZXNvdXJjZXMvdGVtcGxhdGVzL1JlY29yZC52bdVYbW/b NhD+7AD5D1c0GOzClYd9TVusSVqg67Zmq7GvAy2dbTaSqIhUUqPzf9/dkXrzS+20G9YZbWyR x3t97ninQsU3aoFw9qnE2JTJtX9en5+enJ481nMYnjk1SzFaKnuhF1cY60ylrzWmyXA0Oj3R WWFKBx/UnYoy5ZZRS0QsHmOe9Gkqp9PoSjkUAWHHlItIFSpeYoRZoUuMkll0dTFlwedbalwu dZr8Ltrarg57uFyaLFN5cr5Dj5+1deeHz6dVlr/6WJQHSJFIothkhaJnkcu/wkHvidOTyZMn pyfwBF5WzjxdYI4l+SKBOFXWglsqByUWJVrMnQWTI/iwwNCUUJr7EZg5JMopmJcmAyW8+Hmm LIJ3EcA7Okd0bkl8QFto5cyJDZLenpTsgDuN96BzJu4xIzbTJZ3OHZZzFSMkONc5MjNHS1ZY qb4VotgQo0UEwqsoCQflCm5wNQanMwTrVFbAnOEjDExByxQFHUNq4hudL0Yk+I1rVLYwM24p 3LxgoFiC9T8zdEvjGak0BSKkxVjiZYNN3tAx3Gu3lGdhhR9jJMkmZzfRcdSLnLUkb8+xxDxG GzGhEE+X5EIfoKI0dzpB+eEwZpuDDhI6W82Ejgjs0lRkY8VRMfU5Yadi4m55tcRU3OZD7CVO Tk+KapaSP7zEs08+qJ7mktd+VRmuyQRHkLJwQbHyyQAEzhQzQc6bvec+nZ4MgoR9NMORUA1s VWA5HBF6B2v6T/9+fHeHZSmW1ExCmnJ0rmbysz5eoqvKHIRLJNvDUTT9s5Yqf0VeR8BkAtct aELIZX2H6DeEzQVFvOZY3FCuRpzeL8XHpuyZE/QZhmOjRrE/VFrh8HMaRn0ROa+N+mp7kQEO PjusBASUc6WeVYRlKgMMNsq/4RnBlCEayponJd52tNvNZ5/iYNt0VeB74pgv1p3VnRb7bVPq hc5V+tPewx4Zz6nIfu7AAx0W9xxVe9+v+wcujaQ0pWEDgR2W3xmddHT9pXLK1XYe8opQddEc 2YdqPw7s6GBH3zr4dVlnBLzbqmX78DuZbGRgoL/cacxOkl3xnkwajB9m/EXw77ALoR14+G/X B6BPsHJmTIoqB7ytVGqH72YfqHSCkS/SHMBT84dver8Bz59TUdV21N3mTzDRlRWebx7tnM2r NB3BX3/Bo3pR53T7UGmnkr+v8o32SZuT4o24lmLOabK/RiufU3tkebW2mUq3c7CkPfImwnff gYqOJt9wd8fCgyyiEL4jpI16gVl3H3b5E9b+y6fR67f+YqQ0s0tdWL8qTR9V1AThqSepL2pa zBdUZrnZyl24TKP9pXZ+U5fZWljgxFeyz/X5zbTB/q7r5rNF9+uumXjrejmiDG5r1i18Hk/9 Wt9Bz+bWC/ienfPVBbNVo7GkaZo6xhSmqLgNen3ju5hf5AL1dnV6Gx/WjkWPQqC1vaZulMou BZ+Q5wkGYZMAkPQU34zuWGpMtDekYxB2g0HNhL4vTZ6TGYRPRjrvs3HrQf82+CGCa4/IANoe PoHmGMhNH3wxY5yeOg0h13T+cCsu2/V5S8FHKx3t67eeMCC67vC7SUSViOLIzW5s8jvMtYik 6pU0XbTlQUHncVolmHiGPABQ/xo6XOqwzb0IrNtc1pl5SPPd1c5ykz4hRQKB59ankIZc1ck7 12no7flYs0yUtDpbcTNcyUzC5nl2GTkAeNxK8SPRu8pbO+6rGNO9I004Lb6SUY06Vnh5/QYS +h27dHWE83JQSdIZO2uX6GYiSGRcYg+GekXrM0LZCioGC0GKW1oeXVihGcKHytKNtMjJiCSC 4+NXYmbusIkZYapRgb2dYIrOtxjNeNHzO+n5vp1SWBnUMjYFxhxKV4ONsWjKED0iDZK2wiaz jBy3JD9uhNJ5kvdyoXQ+lo6YYxbYhcDliAnF7LgQdUq62NQWdXmWtJbK3laaZ9NmUqIkZ6pA S53Q2kfzBfB7gGfTF4LVbSp7saoXqXTwylBucT4R003SK/tSTo7mQ8fHUojrv9zV7KiX/74V odB1X3f47KPnf8jCmt03auW46VOVjUkJfhfxTxvecv6PrW9eTYUU/mpLPZtvCcabJo7h3wF3 zf3bgveR1u8HffPiFG5piqnbn5jqr8Ow418NDW4jX/X7jVZH881mUXooeUlXN1AbGqeuI/IQ t9YhxNQvaTsMbd3BQaVuJ8NN1o5J4knSJGJDQ5I0zR7ZfE+XJg6JoOVRO3WTy20kOxerYev2 R/1S4LkGENaW31ZYruoX3RLe2zBwh3G7xVYTxWQHaqZmEzT78PeFbXambrC73bVICFr5vbnl IUEKvgkMrbrD3pvJ1hVammzuRo7Knx35/4DTEubtVH+gDp+pyG0axllyIBH/d1lEJm3mkX87 BfY2vZJWlkxgKjZDno8tMj3Q1GfwI8aVw/e//TxsBIxh72jnU62Z69Z/A1BLAwQUAAAACADr sRQ7/eEZSuoBAAAoBgAAHAAAAHJlc291cmNlcy90ZW1wbGF0ZXMvVGFibGUudm2lU11vmzAU fQYp/8Fq80CkyNn7tIcuSadoWlq1bO8Xc6EWBjzbSMuq/PcZQ/joSFO1UoLky/G595x7kMAy SJHMDUQC75vTHnL8PPNnPs9lqQwpVUpBAntCirnkCmkMBujGPsKDrKHngRHdfK2BEejLwLAe 4m2odSmqvHBTyioSnBEmQGsyf3ZKqDvVQo4E/xgsYk3am+R55nurFblXPAd1IBkeCHNstt5y JbwAQUatOmaZ2QItamrb3mvIHjCtBCgCxigeVQb1zL9OSoV2ehLMLT/hResy1Vafo9WLSy3Z oNW1VdE1vJOG51wbe1OULONF2vd2iDcoaS9OyLm1k/O0GHjzmp4k+4CW9sr/ewv64JA4Wri1 ebqSqIKrE9o9HfpqWYNqBTXp2f16E1skX4ijpRDHzbB9gwHMdjglnt78DO92+/WSfFoSoyoc Nf5AFryBS9NjsalxmnLzjdSF47K12/4f+d/+rPB3ZTFxV4gxgUqYXyAqPC66xbRKLoTMQs5F 6TVPX2KHSjY34Tbc/dg6ZxMQemzte3P5Tl93+3D7bfvghnlh4Mmrqbh1QaUaTVv/jodgIlQj dRN298FdrTrKkOeoDeSyHf+csSPyRzSEgWYQ288JBTYb7DjXzauNexM0mXZ3jzPf/v4BUEsD BAoAAAAAABIGFTsAAAAAAAAAAAAAAAAKAAAAZGJjb2RlZ2VuL1BLAwQKAAAAAAASBhU7AAAA AAAAAAAAAAAADQAAAGRiY29kZWdlbi9kYi9QSwMEFAAAAAgAbr0UO00pPpwPBQAAjhAAABoA AABkYmNvZGVnZW4vZGIvRGF0YWJhc2UuamF2YY1X207kRhB9NhL/UOLJQybmnVmicJlNNgFC dkB5iKKox24Yg2/pbsOiFf+e6q6+jcfDIK1Yj7vq1KnTVdXtjuVP7IFDsczbgj/wJiuWs/29 /b2y7lqh4JE9s0z+V2XnbdPwXJVtM9tcvGCKLZnkV1wx/Txi8pXLvlILrkbWFn9ezr/lvBtB 71WpY1fVaGyz+iuTqyvWjS3Ra7/QioeMdSxf8Sxv67ptJGabd9kZk2WueS/aXuR8NubA664U wW8uRCv+WD4irffMi2V2cebUuRDlMxc7zOtXI+jA6eoVNYpTMektlCibhzt8lGat65dVmUNe MSnBAcD3/b2kQxSmOAwyhSJO2luFvYY83nZvQIFBIvWaXbN6zXvIHSg5n30S2eIGfSKwKdyy ZcV/AqX/w/dwAg1/Abu7A6t0YhJObMYuYGqJPeK2Uryp41os70Q1BfRJEvuql1x8KbxFh6q9 tCK8oPSm7yc0MfomalXKLOiB5OnHzC/GTidDSbQmydERYH9A34Fa0daANHujF0crArOylEis USOjVZKErbbGg1rYMMskVwRzrgtKp5UGYcesUeHU6Dy6iGo3GoNkHzO5sTuQuq2YzJJNcQpX 2IUhYmCsDIayXTZ8aRMmscTzRlcQcDdwpH4ftbPG8NNIknWRKtFzZKNB3qiEjw4P8S8cwi9c YbedRa2S0cLPgqteNGNrR6F2o2Z74Cr8Sm1llfeQmgIKGHCCO9hXlbVIlHi1T8mGZdTi2QDf qJK8Qc5UvoI0nsLAHXbCM2zWRi0UnhS3gvlC0bFE+2JK6WvfqLLm3j3lDlz/NX+sFgN+M9Iz lvOm7foKZ4OEGk8TaoP7VtBckFA2vjv0LjupOyZYDd0THhWm/25EWTOU5Ym/ovhVXzegiy8D uG4VP4a/OGCN9WiJTYbNXnECShLWq/ZHPAi5QBIF3Pzu/F9KtTKxpQ6g0aCUeogUhh/H+nt1 IIas43pxts6yanPP8xKfY4IBr0Ul61IqLBHtgBwzh74tBdCbIBWru3c4O5AN7jBKOqrU57Ys oLPbY+awO+/d3PX6+xka5WoryjiabncLqXejqvEWl8E5jYGM1fDOgbNQP2LFmxrDWr9Yen7k EvrE30ZcWZ1Yd+1n4stUd9gUBoN9CvSaOiDRxU+Z/v0PfD+4PT27nB+82eJ/WZWoZ0oRsoZ/ U+nEt5XVxyzaE8MaIgNaTAnv3+vTq/mBazpDzm4VzXHzJvVAI5QptdC2uOxO2azrVfDNVHvX dTjw9Vk6mVIYPfZoelIn06Mum3SYxDGsg2P3ocZR1uvs140x78DEkTVhzqmY73UBHJO3tv6s f8sI3cJjl/GGdnE0iDVGcA1ASLcuMMLZ0EmEk7GiOMftLEhs70geXihyfItG3/vDdfcEfbMH zvppE0/AMCYHx87tO0ZRV2/00aBz7P3Gt048yAcHiv49aLkdAmw9XD6uTMjEVqMm5S8sNpAl HV2YM/2VEOwGPTOBH+DAKXNgT6nNOF8anLZNzneEKri+nZwqfLXslbH+LNraRE+9kIHzZGvA 3/z9aySkQVo/7of3t+3I+u62E84YbYcwF7sPoLib4HYofxPcCRYsw13C36zcZ+Mn+20RhvsA 142HZ1b1enVAjGaJ83ZjrwmHWsxvbdY0G1PVY4/lvfAVOGC4/qm1zX0efVbc0Jd9OkHDGCn+ 9PB1R73rXcJo+2g0sv54qAV+x7qBa2Pgv/8BUEsDBBQAAAAIACIHFTtI8kri5wgAAGUgAAAe AAAAZGJjb2RlZ2VuL0RiQ29kZUdlbmVyYXRvci5qYXZh3Vlbc9u4FX6WZ/wfUL5ETh1qNt0n u+lUtrRrdX1bSUkfup0MRMISYorgAqAdzU7+e8/BhQQpWraS7EtnfJGAc/3ODSALmtzTJSPp IhEpW7L89PDg8ICvCyE1+UQfaMxF/BPP2Gnn6r8l10xu701uxp8TVmgu8u3NTqZS8yy+oGp1 RYuuLbtcbQi5jGlBkxWL2brgksXpIl6p37N4dDaimi6oYiPJH5i8mP2enXbxPbBMJFxv4jlI yKhmu6k+uA/nItfss95NTIuiYthNyTxO8S2Vio2lFLIDu92sU6ZEKRN2LfRPoszTUEAlwsCI QXsPH1Qtugo9Quixe2J7ThcmFQ4PBq9fHx6Q12S+4orAj14xwnItNyTJqFLkTkgCTExSzfOl 2cZgkoJJxZVmecLIGgRnBNWlROSEGoGps4AocHZNY0ImYLtiVsXYBJuMzogoWP7Guk3uJF2z RyHviRZkUfIsJZQYaVs6M7ph0lhHQWNRZDyhBkMCrjAyNBgTHzuiXW5YaSxf8pyhuyXaDMoS yXAXTROlLkpNOKSHvKMJGEzz1KLBFIg3EhxmoSO18algKn+lCaIIslc8tZIhokxmG8SxQgdl 4xcr0SFp1IOjNCVsvZDGCK4VKcQjOL3YWDqUwzV55HrFc1ti1nnJVJlpKxF87AJOr6iLBgVh 4EAkFp9Yot8IySH8LD0melNA8Ogdi8js10twxMijCRijaonaWB8HqFzfzMcnYMjFZEY+jKez yc01uRjOyGwM38ZkOp7Np5PzOSzPTgzDDzG5yTOACpMSDAJrklJKkJ05TyFG/Uf2KssITVPy wNmjQmApwZBK8oDGiPwoNuLexsSkN0CYss9OYC402TBdi6uKDhEqJF9TCNY92xwBhsMl5TkA ACVhJPZ6jxx0Lxiqt/liFbOUowhlFf8txhRHwJUq10iHIDNIROsaWVGEW0Hc4Mvkej7+eTwl tNTijasw4HGmOL1gEElEVq5zKwwlYCYpSDWS4x9TAWCcBc8a8uNehswnVxCS4dUtlKLma4gq TwiUzT1sOzP2NmFweFCUC6hJ10VGi3MA/mfrJZD/cXjQA08fsOZ8q4IOdRosz7TEBMedWzvc rkFZSIE90OyPuNxaN8Z0bUiWCJm2dmAq/d0qPCbjvFzPIff/AW2iXMMOeUdy9kjcUNum6x+h KPgxvbQHiMFsUVqWicbeYUqZYumJO4NcVfvYkH1zFTK2vP8sKDQSAMOUsqdtbiqZXArb7wxV 5r84DXU6ucaKmpoiihpTI8J9ryPalLPVQay0AWJoA90KcT8I65GJdw/rCYYPwGkj3cP+aHZ6 vk/HPOfa4tn7QsApSNl+NQUJc5J6LIbI5Xqmweo59kfPA3++tIIxTFPMdgwhBtQ5hN0NSv29 YqbOyeOKwRwJY2NSHovIivkwnJ5fDKekr0z8j4CDg3WJCTX0C1sVhVCKY4k90Kxkpk+uuQaF Dn2rj0GGGPGmOl4plAJNTM8FJhVZM70Sps1AC8O5xiplyGUluTo0pjoTtB1PQZRzH96W56AS t3xKSKZLmXcRusGYboXbZz+2RP+572oWRbtIVWRGmC2kitzQnVap4cothulrtuwIsgTOQlw4 tTEOQ+yyzp0tgpyvMvn5/H0QPK0SHlPZexMU27HvSkH1hMndalbgb9FsXb3BgNxKVuBISuHc kGict41TVl20d9CuVCUbK2NUs/QbZoX2GD1O13l9rIETism2SqCNrC/Tc9yrOlnAa6rBNs36 TFQfiVrizoB6aognnrYfhLhNFGhtm2wGlTt1HW8ZYA9lbtVRoQAEsm/Hv5FwQlzXiZdMm3VQ 57tIYJLZstYYPmtSSNH2aifZlqSgMfmZYxKuHdW9cq4ZYJ9PG2JnTym7GnlrIPTCIerqE5fC 9LIe8DvS/4sjhCsLFFOApF9f34MVPqBfbEyt+Wd4mocjk1o4LY1lx6EWeONiedpQ79eiQdQm CzCJoawyCMwwy/rRb7/F0TFBhiD5urxcxFpYS/pHgZ8h/Zazjc2mx2EeZwxmP1wm2sERRMC9 xnQnnDu8wFtTqatomGtdnCC7z4xNP9T5VIXbkvGDvNJY+e+PRCEAoVwAzB7hogA0z2QdNX5u a3Z1+LTq6tC1Q7elaSiv2ALtBuRGDXU2Mhsrk93YR5/WG/QHw4q5BOx/JSbWvSjGi5UzqvXs ACev+W+Ft3ZdTjgaM9Wi1oCInPrW8tGpDW+D1QRiVi4cXdSOVoPYH2Oiyr8A1Ud8bmOQQGSO yWg4H54NZ+OP8/HV7eVwPj72jlV4d0MeNM2g5T4LvU+pYwex+b6N//dF3ih5Hnqjt8L1qTAg c93bO0EFSC/3R7RzfD6HZ1UlHtBoUsv5riBaTXUGPolgXcsWwk6IJh9N1k3H5zfT0TdA9cKK 34bpT0LpG4r8qwH++up/UQy6Q9DO1H2aQEfSRuBZ1QuC0P5JHeH7YN3qBzvT/SszPczyb4L4 /xjcfRO45q/wqw7a/lnxLdUrB90TePi7X/Ucw7+CqJ83v6vQMjcQt9wPdbhLhH2dYi0Lz0l2 3fjprxuOOYab+pL1nTHHjtUR2S9wjhSKtZ+oBK91XvBMxXM9+XZiDxkdL0f24N7zSVDPlVX1 nMA9FaFyqdrXf6Wp9k8B1pTn7ib2n/8a6vrClayEcM9wCikKiFT7RZU/IHe/2nq7/WLr7Q76 9abrXdjVZvbr5S4tT71A28EDt7DFZotphKs7uARADj2lzXZjlnfwFULppWRddt7ard0eAqNi Eqi3sZk5TvwNHkK6ivIr/QjlIlAg7VO6SCx3VI0jXDux+ydxPPjX24v5L+nC/h/VA9ZRK4oH cvy9fX92OTmHT0ZbRwz8RdOgUJSZP0hfMU2Ruh9NRijo8ub8l4/zmevI7Sfo1WNj71fr8auf +fXj5cazrQgu2APM84Hp+qDOOAbQRo1p1CiOO57TzHfJrVsDeYf6oPPbLqEGvk2pgQchflhH p7vFNs/NO2QazF4gsPuUuUNweHh+XvyewveSvXVi2GX1i6W+XGZDJGTE/wBQSwECFAAKAAAA AABDBhU7AAAAAAAAAAAAAAAACgAAAAAAAAAAABAAAAAAAAAAcmVzb3VyY2VzL1BLAQIUAAoA AAAAAEQGFTsAAAAAAAAAAAAAAAAUAAAAAAAAAAAAEAAAACgAAAByZXNvdXJjZXMvdGVtcGxh dGVzL1BLAQIUABQAAAAIAFawFDsDcKQ5GwIAAEQGAAAhAAAAAAAAAAEAIAAAAFoAAAByZXNv dXJjZXMvdGVtcGxhdGVzL0Jhc2VSZWNvcmQudm1QSwECFAAUAAAACACOvRQ7hHHXWDcGAACZ FQAAHwAAAAAAAAABACAAAAC0AgAAcmVzb3VyY2VzL3RlbXBsYXRlcy9EYXRhYmFzZS52bVBL AQIUABQAAAAIAAQGFTsg40VG9gEAAOQDAAAeAAAAAAAAAAEAIAAAACgJAAByZXNvdXJjZXMv dGVtcGxhdGVzL0lSZWNvcmQudm1QSwECFAAUAAAACAABBhU7dbypOiYHAAAsGwAAHQAAAAAA AAABACAAAABaCwAAcmVzb3VyY2VzL3RlbXBsYXRlcy9SZWNvcmQudm1QSwECFAAUAAAACADr sRQ7/eEZSuoBAAAoBgAAHAAAAAAAAAABACAAAAC7EgAAcmVzb3VyY2VzL3RlbXBsYXRlcy9U YWJsZS52bVBLAQIUAAoAAAAAABIGFTsAAAAAAAAAAAAAAAAKAAAAAAAAAAAAEAAAAN8UAABk YmNvZGVnZW4vUEsBAhQACgAAAAAAEgYVOwAAAAAAAAAAAAAAAA0AAAAAAAAAAAAQAAAABxUA AGRiY29kZWdlbi9kYi9QSwECFAAUAAAACABuvRQ7TSk+nA8FAACOEAAAGgAAAAAAAAABACAA AAAyFQAAZGJjb2RlZ2VuL2RiL0RhdGFiYXNlLmphdmFQSwECFAAUAAAACAAiBxU7SPJK4ucI AABlIAAAHgAAAAAAAAABACAAAAB5GgAAZGJjb2RlZ2VuL0RiQ29kZUdlbmVyYXRvci5qYXZh UEsFBgAAAAALAAsA/gIAAJwjAAAAAA== --------------040905030402040808010207-- From [email protected] Fri Aug 21 09:22:53 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50513 invoked from network); 21 Aug 2009 09:22:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Aug 2009 09:22:53 -0000 Received: (qmail 82792 invoked by uid 500); 21 Aug 2009 09:23:16 -0000 Delivered-To: [email protected] Received: (qmail 82764 invoked by uid 500); 21 Aug 2009 09:23:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 82744 invoked by uid 99); 21 Aug 2009 09:23:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2009 09:23:15 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.esteam.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2009 09:23:06 +0000 Subject: re: Re: Code Generator [first insights] Date: Fri, 21 Aug 2009 11:22:45 +0200 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable In-Reply-To: <[email protected]> X-MS-Has-Attach: Content-class: urn:content-classes:message X-MS-TNEF-Correlator: Thread-Topic: re: Re: Code Generator [first insights] X-MimeOLE: Produced By Microsoft Exchange V6.5 Thread-Index: Acoh7AadaIqDZXZAQl+sV53eh/67CgAUr42g References: <[email protected]> From: =?iso-8859-1?Q?Rainer_D=F6bele?= <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi Benni, Just a quick explanation of your driver issue: Since every database has it's very specific properties, there needs to = be a separate class with individual properties for every database = driver. There are different solutions on how the application can deal with = different drivers and properties. One way e.g. is that the database = driver class name and its properties may be provided in the config file, = and that the instantiation als well as setting the properties is = implemented using reflection. This will make the code completely = flexible and allow using new database drivers without any code changes.=20 E.G: <database> = <driverClass>org.apache.empire.db.sqlserver.DBDatabaseDriverMSSQL</driver= Class> <driverProperties> <databaseName>myDatabase</databaseName> </driverProperties> </database> Currently our sample to not do it this way but use a switch statement. = This is good if you want to set database specific properties in the = code. To summarize the point: It's a matter of configuration and how the = configuration is applied by the application. I don't think we should put = any particular configuration logic in the core. Rainer Benniven wrote: > Re: Re: Code Generator [first insights] >=20 > Hi Thomas, >=20 > i used your fixed files (DbCodeGenerator.java and BaseRecord.vm) and > they worked fine. However, i still got a lot of compilation errors for = 2 > reasons. >=20 > 1. I have no locking-columns in my tables. My testing database may be > desinged bad, but i think it can't be assumed that every table has got = a > locking column. > As a start and to simplify matters i just commented out everything > that had to do with the locking-columns. >=20 > 2. There are some wrong @override annotations, e.g. the "primary key > getter" in "Record.vm" that implements a method instead of overriding = it. > I commented out the misplaced annotations. >=20 > ###There is also a hard-coded reference to the DBDatabaseDriverMySQL = class. > ### The Database class should be modified so it can adjust to the > database type. > ### Any ideas how this could be done? >=20 > As you recommended i modified the files "Database.java" and the > "Database.vm". I extended its constructor, so that the user has to = supply > an instance of the DBDatabaseDriver that shall be used. I tested the > modifications and they seem to work properly. >=20 > Unfortunately it looks like, that each different DBDatabaseDriver need = a > different setup routine. (check the list of relevant setup properties > below) > So, e.g. if we use MySQL we need to call "setDatabaseName(...)", but = if > we use HSQL that function can't be called as it doesn't exist. > Have you got an idea how this could be solved classy? >=20 > ---------------SETUP PROPERTIES------------------- > DBDatabaseDriverPostgreSQL > setDatabaseName(String databaseName) >=20 > DBDatabaseDriverOracle > -- nothing relevant >=20 > DBDatabaseDriverMySQL > setDatabaseName(String databaseName) >=20 > DBDatabaseDriverMSSQL > setDatabaseName(String databaseName) > setObjectOwner(String objectOwner) -- could be relevant >=20 > DBDatabaseDriverHSql > -- nothing relevant >=20 > DBDatabaseDriverH2 > setDatabaseName(String databaseName) >=20 > DBDatabaseDriverDerby > setDatabaseName(String databaseName) > ------------------------------------- >=20 > I enclosed the files i modified in the e-mail, so you may have a look = at > my changes. >=20 > Benjamin >=20 >=20 >=20 >=20 >=20 > Thomas Poling schrieb: > > Greeting All: > > Thanks, Benjamin for testing it out. You caught a good error - The > > BaseRecord.vm template file had a hard-coded package name. The > > attached files should fix that issue. The only change to the > > DbCodeGenerator class is to the createBaseRecordClass() method. > > > > As far as the errors associated with get the database meta-data - = this > > could be a larger issue. It seems the definitions of database > > catalogs vs. schemas depends on the database. There is also a > > hard-coded reference to the DBDatabaseDriverMySQL class. The = Database > > class should be modified so it can adjust to the database type. Any > > ideas how this could be done? > > Thanks, Tom > > > > ----- Original Message ----- From: "Benjamin Venditti" = <[email protected]> > > To: <[email protected]> > > Sent: Monday, August 17, 2009 5:03 PM > > Subject: Code Generator [first insights] > > > > > >> Hi there, > >> > >> first of all, many thanks to Thomas Poling" for supplying his code > >> about the database generator, i'm looking forward to work with it. = I > >> really think this could be a very valuable addition to EmpireDB. > >> I compiled code generator you supplied and read the documentation = and > >> tried to execute it with a hsql-database some of my fellow students > >> and i designed 2 years ago. Unfortunately i could not get it = running > >> out of the box. I had to make the following two adjustments in = order > >> to get the classes generated. > >> > >> CHANGE 1: dbcodegen.db.Database:73 > >> ResultSet tables =3D dbMeta.getTables(schemaName, null, "", = new > >> String[] {"TABLE"}); > >> changed to: > >> ResultSet tables =3D dbMeta.getTables(null, schemaName, = null, > >> new String[] {"TABLE"}); > >> > >> CHANGE 2: dbcodegen.db.Table:161 > >> ResultSet pkRs =3D dbMeta.getPrimaryKeys(null, schema, = tableName); > >> changed to: > >> ResultSet pkRs =3D dbMeta.getPrimaryKeys(schema, null, = tableName); > >> > >> The generated classes contain a lot of compilation errors, as the > >> templates contain a few imports/references to classes like > >> "tfmm.persistence.generated.TfmmDatabase". > >> I'm going to play around with the templates soon and let you know > >> more about my results. > >> > >> Benjamin > >> From [email protected] Mon Aug 24 21:31:18 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16520 invoked from network); 24 Aug 2009 21:31:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Aug 2009 21:31:18 -0000 Received: (qmail 34467 invoked by uid 500); 24 Aug 2009 21:31:43 -0000 Delivered-To: [email protected] Received: (qmail 34437 invoked by uid 500); 24 Aug 2009 21:31:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34427 invoked by uid 99); 24 Aug 2009 21:31:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Aug 2009 21:31:43 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO fg-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Aug 2009 21:31:33 +0000 Received: by fg-out-1718.google.com with SMTP id d23so632869fga.3 for <[email protected]>; Mon, 24 Aug 2009 14:31:12 -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=C4KSBffMFthL7E8k8o9OJ6MPG3B3xxElJo050WSyi28=; b=KwRjl7LPwy5Z6HGNzMRohOFOs87BQCmtTn5+AjOka9tixC4Tw2gJ6wNyoAS74uOUc2 +R47TxcgFFwWvQhC335RiT9fqxoKkuYTsufSkVtUjbDZbdc18mC6v+2e9po6HgIBqGd8 JUqqTR5dnpJAX+XhGKD4iY7F5S3GAHUF5FmLM= 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=EB8Aeh4XFiW3wRvG/FKUHvwuR+eXfPKNPYrl9mcykPEb2sbbOQ+nqtF1DPDfbdOwnm 4aMK2PTeM+lzbfA/0G6XgYOhNkpRH5/kNmgzN21yEYVdc0g3XLY2/4bEeDkDkiKY2Pqq zcBR7sOYyCoaI/RP1S8DuOvI9eXfCwCqyiIdY= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id d20mr3673681fgh.52.1251149470550; Mon, 24 Aug 2009 14:31:10 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Mon, 24 Aug 2009 23:31:10 +0200 Message-ID: <[email protected]> Subject: Fwd: [VOTE] Release Empire-db 2.0.5 From: Francis De Brabandere <[email protected]> To: [email protected], =?ISO-8859-1?Q?Rainer_D=F6bele?= <[email protected]> Content-Type: multipart/alternative; boundary=0014852f5901c0cce70471e9efa8 X-Virus-Checked: Checked by ClamAV on apache.org --0014852f5901c0cce70471e9efa8 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi Rainer, Could you take care of this one? Francis ---------- Forwarded message ---------- From: sebb <[email protected]> Date: Fri, Aug 21, 2009 at 2:56 PM Subject: Re: [VOTE] Release Empire-db 2.0.5 To: [email protected] And following links - sorry, just spotted that the NOTICE file says: "This product includes software originally developed by ESTEAM Software. For further information see http://www.empire-db.org" However, the link redirects back to http://incubator.apache.org/empire-db/ Perhaps that should have some information on the provenance. -- http://www.somatik.be Microsoft gives you windows, Linux gives you the whole house. --0014852f5901c0cce70471e9efa8-- From [email protected] Mon Aug 24 22:07:39 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33703 invoked from network); 24 Aug 2009 22:07:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Aug 2009 22:07:39 -0000 Received: (qmail 73568 invoked by uid 500); 24 Aug 2009 22:08:04 -0000 Delivered-To: [email protected] Received: (qmail 73540 invoked by uid 500); 24 Aug 2009 22:08:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 73530 invoked by uid 99); 24 Aug 2009 22:08:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Aug 2009 22:08:04 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO fg-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Aug 2009 22:07:54 +0000 Received: by fg-out-1718.google.com with SMTP id l27so638849fgb.3 for <[email protected]>; Mon, 24 Aug 2009 15:07:33 -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=72elcghg+i2Nv1DKslzznH+Y5UsRpDVwl5lXZOmaUiE=; b=RKt/eqDO4MhWVMNH/lZ+BNWc8SqeQ0rBO/BPXfBHzI7ApTU8umKsAqasUIthcAODQN zrYhO6ZlRXyaPR5xDZval04GRq9ZlcO7eLZK9wiFxmelSn/8b74Zg1dq2RxUWYeeuYPt KEI367OWnDqNwdD7ZfC9+nMm0Fq385x8IMjKk= 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=SHGqetJCuKenY2sBaOAZjueGi+UFskOIovBOzlJUPUwuukN5q3uswOVVnDZ+xBeq8G qd4zmKF7AuRoZylC6eVSauBJ705lR6bq4wK+SkCvQXsVPO/0VxOCpURSGlER+rKYlVrd 5Q1pE2DeapiAFwT0n4Gt03eu9Dd10u8730Zco= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id h35mr3781039fgf.18.1251151653373; Mon, 24 Aug 2009 15:07:33 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Tue, 25 Aug 2009 00:07:33 +0200 Message-ID: <[email protected]> Subject: Re: Changes to release candidate From: Francis De Brabandere <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00c09ffb585cdc08d40471ea71b9 X-Virus-Checked: Checked by ClamAV on apache.org --00c09ffb585cdc08d40471ea71b9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, I think I fixed all issues except for the one with the esteam link forwarding to apache and the dist source/bin split. As for that latest issu= e I don't see this as a priority, further I did not find an easy way to do that. Seb pointed me to commons but those projects are quite simple since they are single module projects. Running a mvn package assembly:assembly on the assembly now works but I did not test the contents. If you think everything is ok now (try mvn package assembly:assembly) I wil= l start the release procedure for the second time. Cheers, Francis On Fri, Aug 21, 2009 at 10:43 PM, Rainer D=F6bele <[email protected]> wrote= : > Hi everyone, > > > > Looks like first we had too little attention for our release and now we > (almost) have too much. > > But I really prefer it this way. > > > > I have just updated the tutorial to address the issues mentioned by sebb. > Doing this I found out, that the source file for the tutorial (.doc file) > was missing in svn. I have checked it in now, but it should not be suppli= ed > with the distribution. > > > > I have also updated the download page of our web-site to include the PGP > keys and signatures. > > But because of a problem connecting to people.apache.org I could not yet > publish it. > > > > Since our project is lightweight and small enough, I don't see much sense > in providing both a binary and a source distribution. > > So if this is not a must I'd prefer to leave it as we have it now. > > > > Regards > > Rainer > > > > --=20 http://www.somatik.be Microsoft gives you windows, Linux gives you the whole house. --00c09ffb585cdc08d40471ea71b9-- From [email protected] Tue Aug 25 21:48:47 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54150 invoked from network); 25 Aug 2009 21:48:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Aug 2009 21:48:47 -0000 Received: (qmail 73121 invoked by uid 500); 25 Aug 2009 21:49:12 -0000 Delivered-To: [email protected] Received: (qmail 73094 invoked by uid 500); 25 Aug 2009 21:49:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 73084 invoked by uid 99); 25 Aug 2009 21:49:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Aug 2009 21:49:12 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f224.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Aug 2009 21:49:03 +0000 Received: by fxm24 with SMTP id 24so2294875fxm.12 for <[email protected]>; Tue, 25 Aug 2009 14:48:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=oo04GqdGdRn98UN4Xfk41ZZJ+f0EykhSTSv8R+JykMI=; b=XdERzp6PwHwzwn2fCw9I9g8U9n72rsd6qanrMKaX4DXhGAiKrHJUllLWUnCHl2nKWO 77ehDR8GNwRzmbWADZ+dPYYc+3ok6wt2w62NxupAUWlUotE/kYIhOtj2/2q7zzi8rNDY hOqMcLDWwPtkuarnFOk6vsM+8C4qfHnJW6/aM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=AKEvB5hgHw/PVH1u0KAeNX9Wh7DlEwOOukL02IsIQGZbUtGOwt+oKwDdGHk4JndNEN /5QlT6FqqzS1IvtWLhqLrz70wgXD7bVPVD0p48sGi+R2/pNPJ9acCrzqBs4FmtQ5lzQN PuttcXILZ29+aVLbZsHXkadJTVW5Mr3c2WYfU= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id r9mr2915673bkw.101.1251236921756; Tue, 25 Aug 2009 14:48:41 -0700 (PDT) Date: Tue, 25 Aug 2009 23:48:41 +0200 Message-ID: <[email protected]> Subject: svn issues From: Francis De Brabandere <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0015175cfa8e404db20471fe4c47 X-Virus-Checked: Checked by ClamAV on apache.org --0015175cfa8e404db20471fe4c47 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I tried starting the 2nd try for release and now I have this issue: svn: Commit failed (details follow): svn: Server sent unexpected return value (502 Proxy Error) in response to MKACTIVITY request for '/repos/asf/!svn/act/4e1fb866-b98d-48e7-b343-27a15feedad0' svn: Your commit message was left in a temporary file: This was reported an hour ago by a different user on infra so I guess we have to wait for this to be fixed. The pom files in the repository are INCONSISTENT so don't commit any code for now. Thanks, Francis -- http://www.somatik.be Microsoft gives you windows, Linux gives you the whole house. --0015175cfa8e404db20471fe4c47-- From [email protected] Wed Aug 26 06:03:40 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26088 invoked from network); 26 Aug 2009 06:03:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Aug 2009 06:03:40 -0000 Received: (qmail 17710 invoked by uid 500); 26 Aug 2009 06:03:40 -0000 Delivered-To: [email protected] Received: (qmail 17680 invoked by uid 500); 26 Aug 2009 06:03:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 17670 invoked by uid 99); 26 Aug 2009 06:03:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Aug 2009 06:03:40 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f224.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Aug 2009 06:03:30 +0000 Received: by fxm24 with SMTP id 24so2430387fxm.12 for <[email protected]>; Tue, 25 Aug 2009 23:03:09 -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=A2o3pzRhfPUOfOvJgl53VKl3Tq1TA3QOuxNEdjyS16E=; b=spttYOMHyBNUDcuLHelIwr3RzXQi290HTMZIS4tw8qaB+Zwv0tNKcSLQgijapFqFK7 Ooun5Du1mehuBOUTckF6PRXjXeb6PrsuuyclbZmSdpU/GI/huYT0abojH9UW6XljqK/s XeT2R3gPwkvpRMhqi4pKfx6EDUE+JuWhxe+vU= 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=Pr+xvJKiWhZcyGiIbTcHhSUVDlA9SwxZZ9ZD0qbC1J0qm9ODBDTjvrPvCP8/JNKdEz e5YnmmbZ6U3CCrsIt2z56MOJsHghfYFMsRLlV47x+J6iymJps0tXfZpaXWxFBAQRtTkx ojKqVtIzdbfoZKHYWiwIZHyJbVJXDHujhJ9dQ= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id d11mr3258132bkd.190.1251266589081; Tue, 25 Aug 2009 23:03:09 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Wed, 26 Aug 2009 08:03:09 +0200 Message-ID: <[email protected]> Subject: Re: svn issues From: Francis De Brabandere <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00151758a84e8fbf6104720534fb X-Virus-Checked: Checked by ClamAV on apache.org --00151758a84e8fbf6104720534fb Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit this is fixed now On Tue, Aug 25, 2009 at 11:48 PM, Francis De Brabandere <[email protected] > wrote: > I tried starting the 2nd try for release and now I have this issue: > > svn: Commit failed (details follow): > svn: Server sent unexpected return value (502 Proxy Error) in response to > MKACTIVITY request for > '/repos/asf/!svn/act/4e1fb866-b98d-48e7-b343-27a15feedad0' > svn: Your commit message was left in a temporary file: > > This was reported an hour ago by a different user on infra so I guess we > have to wait for this to be fixed. The pom files in the repository are > INCONSISTENT so don't commit any code for now. > > Thanks, > Francis > > -- > http://www.somatik.be > Microsoft gives you windows, Linux gives you the whole house. > -- http://www.somatik.be Microsoft gives you windows, Linux gives you the whole house. --00151758a84e8fbf6104720534fb-- From [email protected] Wed Aug 26 07:10:02 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58878 invoked from network); 26 Aug 2009 07:10:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Aug 2009 07:10:02 -0000 Received: (qmail 718 invoked by uid 500); 26 Aug 2009 07:10:02 -0000 Delivered-To: [email protected] Received: (qmail 686 invoked by uid 500); 26 Aug 2009 07:10:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 673 invoked by uid 99); 26 Aug 2009 07:10:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Aug 2009 07:10:02 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f221.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Aug 2009 07:09:52 +0000 Received: by bwz21 with SMTP id 21so2168599bwz.12 for <[email protected]>; Wed, 26 Aug 2009 00:09:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=ke6b71xW8jgM9bHGzFmhLBNWpxwgd29MvPYqsrYpE+c=; b=BJRPm7nLmAHHErqyV94yGoDNT8hI0Ie4e3X9hf3W5gU0o2UyxQrl4kXKfkyxuW4t/f E5XF/ofaf8zkH02ulxQcThfRskZroF09Qq92jJvRJFhyIjL3NhUA/s0Y3ujYL8tgxBHw ++AbyW0UCO1xS4j6Q8zQVzW0FhakP6y1m/BTI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=QZDnC1ZyNbXXLDSqGSqNMWKTndb+xF9hFmzyCQopy7oRiT/oJ2AnVWSW0j76Xmx72y nb4boAJTr4OM7qlxQva06JdeATwevBdRx9CQIH7F2nxzAa7QbBh5HXZW5Q0YMeaXxr01 umjGvj6SIUipNyHdZ21Gqy8rhsHpW8irslNFM= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id d11mr3314406bkd.190.1251270569269; Wed, 26 Aug 2009 00:09:29 -0700 (PDT) Date: Wed, 26 Aug 2009 09:09:29 +0200 Message-ID: <[email protected]> Subject: [VOTE] Release Empire-db version 2.0.5-incubating (take 2) From: Francis De Brabandere <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, Since our previous attempt failed on general@ I performed a new release. All issues should be fixed except that we still have one distribution archive which should not be a problem. Changelog: http://svn.apache.org/viewvc/incubator/empire-db/tags/empire-db-parent-2.0.5-incubating/CHANGELOG.txt?revision=797936 Maven staging repository: https://repository.apache.org/content/repositories/empire-db-staging-035/ Distribution files are located here http://people.apache.org/~francisdb/empire-db/ Rat report for the tag is available here: http://people.apache.org/~francisdb/empire-db/rat.txt (one missing header in a txt file but I suppose this is not a problem) Vote open for 72 hours. [ ] +1 [ ] +0 [ ] -1 -- http://www.somatik.be Microsoft gives you windows, Linux gives you the whole house. From [email protected] Thu Aug 27 08:39:44 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21276 invoked from network); 27 Aug 2009 08:39:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Aug 2009 08:39:44 -0000 Received: (qmail 80723 invoked by uid 500); 27 Aug 2009 08:39:44 -0000 Delivered-To: [email protected] Received: (qmail 80695 invoked by uid 500); 27 Aug 2009 08:39:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 80685 invoked by uid 99); 27 Aug 2009 08:39:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 08:39:43 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f221.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 08:39:33 +0000 Received: by bwz21 with SMTP id 21so727831bwz.12 for <[email protected]>; Thu, 27 Aug 2009 01:39:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=9hw6OSpVJrnr4llzwugjqf5NyqsV1lkFkSuilNgqNJs=; b=adsEonqrBIjOULnu8oFXMsF7qBQhZ3BnAf/MY2oeaVzY9Aiy/KNUksNbzYXSKwErL4 FQcPxOz4XBtrp+ZpAcgrqHODW9HrCFpwQ15kjDD6CD5s2HkDiJ8Nwmlif5nrtztBN712 i6IS9nmcTttzM7Ml2TflfScCKLi3SFdpvhW8M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=ryXDRRQHFcWAi76aKwY58q2bH14soojezsu/e/H4fzlvPgPgIQ7B2ej0oqurgWd9er lA038SmnHA+98oXkSMiZkQMhA8qSQAySaly+BuwM5S3BfbabPFghIRjr614caY3235P4 uApQ8e3pYBjpDnZTKPoJFAo68w+avP3l2xHE8= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id k5mr4554851bkd.2.1251362351416; Thu, 27 Aug 2009 01:39:11 -0700 (PDT) Date: Thu, 27 Aug 2009 10:39:11 +0200 Message-ID: <[email protected]> Subject: devoxx From: Francis De Brabandere <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, Is any of you going to devoxx? http://www.javoxx.com/display/DV09 I'll be there the whole week. Cheers, Francis -- http://www.somatik.be Microsoft gives you windows, Linux gives you the whole house. From [email protected] Fri Aug 28 06:13:32 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29842 invoked from network); 28 Aug 2009 06:13:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Aug 2009 06:13:32 -0000 Received: (qmail 14926 invoked by uid 500); 28 Aug 2009 06:13:32 -0000 Delivered-To: [email protected] Received: (qmail 14899 invoked by uid 500); 28 Aug 2009 06:13:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 14889 invoked by uid 99); 28 Aug 2009 06:13:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Aug 2009 06:13:32 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.esteam.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Aug 2009 06:13:21 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: re: [VOTE] Release Empire-db version 2.0.5-incubating (take 2) Date: Fri, 28 Aug 2009 08:12:57 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: re: [VOTE] Release Empire-db version 2.0.5-incubating (take 2) Thread-Index: AcomHDx7+vwXSu4LThWdaVQYL0h3RgBh9glw References: <[email protected]> From: =?iso-8859-1?Q?Rainer_D=F6bele?= <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi Francis,=20 found out, that in changelog.txt it still says "Copyright 2008". To me = this is a minor thing and hopefully not a release blocker. How about = leaving the copyright year out in the future or does anyone think it is = required. The rest is fine by me. Well done Francis! +1 Rainer Francis De Brabandere wrote: > re: [VOTE] Release Empire-db version 2.0.5-incubating (take 2) >=20 > Hi, >=20 > Since our previous attempt failed on general@ I performed a new > release. All issues should be fixed except that we still have one > distribution archive which should not be a problem. >=20 > Changelog: > = http://svn.apache.org/viewvc/incubator/empire-db/tags/empire-db-parent- > 2.0.5-incubating/CHANGELOG.txt?revision=3D797936 >=20 > Maven staging repository: > https://repository.apache.org/content/repositories/empire-db-staging- > 035/ >=20 > Distribution files are located here > http://people.apache.org/~francisdb/empire-db/ >=20 > Rat report for the tag is available here: > http://people.apache.org/~francisdb/empire-db/rat.txt > (one missing header in a txt file but I suppose this is not a problem) >=20 > Vote open for 72 hours. >=20 > [ ] +1 > [ ] +0 > [ ] -1 >=20 > -- > http://www.somatik.be > Microsoft gives you windows, Linux gives you the whole house. From [email protected] Fri Aug 28 06:27:17 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44853 invoked from network); 28 Aug 2009 06:27:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Aug 2009 06:27:17 -0000 Received: (qmail 23279 invoked by uid 500); 28 Aug 2009 06:27:17 -0000 Delivered-To: [email protected] Received: (qmail 23251 invoked by uid 500); 28 Aug 2009 06:27:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23241 invoked by uid 99); 28 Aug 2009 06:27:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Aug 2009 06:27:17 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.esteam.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Aug 2009 06:27:06 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: re: devoxx Date: Fri, 28 Aug 2009 08:26:44 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: re: devoxx Thread-Index: Acom8e6VT3CPfNwXSH6xYJM/E8JQzwAtha6g References: <[email protected]> From: =?iso-8859-1?Q?Rainer_D=F6bele?= <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org It says when it is but I could not find out quickly where it is. But since apparently the last one was in Antwerp, Belgium I guess it = will be there again. Unfortunately Francis I will probably not be able to make it. But I really hope we can all meet one day. What excactly are you doing there (attending, organizing, speaking?) Regards Rainer Francis De Brabandere wrote: > re: [email protected] > Betreff: devoxx >=20 > Hi, >=20 > Is any of you going to devoxx? > http://www.javoxx.com/display/DV09 > I'll be there the whole week. >=20 > Cheers, > Francis >=20 > -- > http://www.somatik.be > Microsoft gives you windows, Linux gives you the whole house. From [email protected] Fri Aug 28 07:24:16 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67687 invoked from network); 28 Aug 2009 07:24:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Aug 2009 07:24:16 -0000 Received: (qmail 79848 invoked by uid 500); 28 Aug 2009 07:24:16 -0000 Delivered-To: [email protected] Received: (qmail 79826 invoked by uid 500); 28 Aug 2009 07:24:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 79814 invoked by uid 99); 28 Aug 2009 07:24:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Aug 2009 07:24:16 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f210.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Aug 2009 07:24:05 +0000 Received: by bwz6 with SMTP id 6so495127bwz.12 for <[email protected]>; Fri, 28 Aug 2009 00:23:45 -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 :content-transfer-encoding; bh=4uEQ/hYtpfByzy7JLhWQX88+3CIcUnlG+tfmGUlAnys=; b=NlrDDkzqQwWijGr241nKdOvxFig3npKEdb9xjJ12xRWYTzqtKBgCNWzIensUcZAb1p PVqXvKQGL9/Tn/dmx1N2k5Hkjya9Jz8N3OschdZBruU1Ca6lTkUSQ++74qG3geex4HsQ 2tAFFZqLxTR7OyVjJFKWVBwnIi+DMK9ZbY6xg= 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:content-transfer-encoding; b=oolED2szYTN1xVz1099CBqpDcTOyqJCU26gxgttDxnseHR4iKopMo9t6kZhSIiWNxZ 9InCKgiCOn2qte/+sbl0j+OcNKdpiY1RboR2MeQ0hGO39qtuf1i7ltOO7Be4LRqt2WKq yzug45hncPmvARdZuRYKr0VjajqpXTnYXGzTU= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id l10mr623157bkw.92.1251444224957; Fri, 28 Aug 2009 00:23:44 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Fri, 28 Aug 2009 09:23:44 +0200 Message-ID: <[email protected]> Subject: Re: devoxx From: Francis De Brabandere <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Attending. And yes it it's in Antwerp: http://www.javoxx.com/display/DV09/V= enue On Fri, Aug 28, 2009 at 8:26 AM, Rainer D=F6bele<[email protected]> wrote: > > It says when it is but I could not find out quickly where it is. > But since apparently the last one was in Antwerp, Belgium I guess it will= be there again. > > Unfortunately Francis I will probably not be able to make it. > But I really hope we can all meet one day. > > What excactly are you doing there (attending, organizing, speaking?) > > Regards > Rainer > > > Francis De Brabandere wrote: >> re: [email protected] >> Betreff: devoxx >> >> Hi, >> >> Is any of you going to devoxx? >> http://www.javoxx.com/display/DV09 >> I'll be there the whole week. >> >> Cheers, >> Francis >> >> -- >> http://www.somatik.be >> Microsoft gives you windows, Linux gives you the whole house. > --=20 http://www.somatik.be Microsoft gives you windows, Linux gives you the whole house. From [email protected] Fri Aug 28 07:27:34 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68394 invoked from network); 28 Aug 2009 07:27:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Aug 2009 07:27:34 -0000 Received: (qmail 84353 invoked by uid 500); 28 Aug 2009 07:27:34 -0000 Delivered-To: [email protected] Received: (qmail 84320 invoked by uid 500); 28 Aug 2009 07:27:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84307 invoked by uid 99); 28 Aug 2009 07:27:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Aug 2009 07:27:33 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f210.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Aug 2009 07:27:23 +0000 Received: by bwz6 with SMTP id 6so496205bwz.12 for <[email protected]>; Fri, 28 Aug 2009 00:27:03 -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 :content-transfer-encoding; bh=FG2vNA4Uolu/6w7zWBRfWFcf4BeOrLipkq3o4VFCqcw=; b=UlEWCInPQ9imMmBb8XJSv1X3R3DdFnKgEjQ9DEKcurDzmNk0OxWwe5zu73i5eBUyse LDiDOLZ02iD1ixyLvNrEDRF2GA+w1848g8OG2ApBXjnc9YGvK3rpF8UIg6T3FUObBbkk TG6M+segh72gaKT5elwQ6Pvwrzqb7KncLUofI= 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:content-transfer-encoding; b=ERG8A5BesgagA8pckyhdTivmB5t0W+kn5HGMjm4Nd+AXc81Soht2EmQ/xivyh23O4C TzfcHy4MBH4ZVcDCTdFV2MyfFf9VQlgVLL9tT2xMnxpURymQM8wdqegT9Fw2UAz6FVW7 PY78H2IkJrL07R5trNV3zwl+AledMLa6BM47I= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id b4mr613865bka.177.1251444423024; Fri, 28 Aug 2009 00:27:03 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Fri, 28 Aug 2009 09:27:02 +0200 Message-ID: <[email protected]> Subject: Re: [VOTE] Release Empire-db version 2.0.5-incubating (take 2) From: Francis De Brabandere <[email protected]> To: [email protected], Martijn Dashorst <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org I think it would be best to ask Martijn about this, he seems to know a lot more about the legal issues. On Fri, Aug 28, 2009 at 8:12 AM, Rainer D=F6bele<[email protected]> wrote: > Hi Francis, > > found out, that in changelog.txt it still says "Copyright 2008". To me th= is is a minor thing and hopefully not a release blocker. How about leaving = the copyright year out in the future or does anyone think it is required. > > The rest is fine by me. Well done Francis! > +1 > > Rainer > > > Francis De Brabandere wrote: >> re: [VOTE] Release Empire-db version 2.0.5-incubating (take 2) >> >> Hi, >> >> Since our previous attempt failed on general@ I performed a new >> release. All issues should be fixed except that we still have one >> distribution archive which should not be a problem. >> >> Changelog: >> http://svn.apache.org/viewvc/incubator/empire-db/tags/empire-db-parent- >> 2.0.5-incubating/CHANGELOG.txt?revision=3D797936 >> >> Maven staging repository: >> https://repository.apache.org/content/repositories/empire-db-staging- >> 035/ >> >> Distribution files are located here >> http://people.apache.org/~francisdb/empire-db/ >> >> Rat report for the tag is available here: >> http://people.apache.org/~francisdb/empire-db/rat.txt >> (one missing header in a txt file but I suppose this is not a problem) >> >> Vote open for 72 hours. >> >> [ ] +1 >> [ ] +0 >> [ ] -1 >> >> -- >> http://www.somatik.be >> Microsoft gives you windows, Linux gives you the whole house. > --=20 http://www.somatik.be Microsoft gives you windows, Linux gives you the whole house. From [email protected] Sat Aug 29 07:59:08 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2810 invoked from network); 29 Aug 2009 07:59:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Aug 2009 07:59:08 -0000 Received: (qmail 10800 invoked by uid 500); 29 Aug 2009 07:59:08 -0000 Delivered-To: [email protected] Received: (qmail 10773 invoked by uid 500); 29 Aug 2009 07:59:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 10763 invoked by uid 99); 29 Aug 2009 07:59:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Aug 2009 07:59:08 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO fg-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Aug 2009 07:58:57 +0000 Received: by fg-out-1718.google.com with SMTP id e12so145314fga.0 for <[email protected]>; Sat, 29 Aug 2009 00:58:36 -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:cc:content-type :content-transfer-encoding; bh=/Sd5vX/XiN01eYJ/PNIyXabjzONlBOCPD2a587G1LcQ=; b=bIFdZ01tJ4/QWo96uZf0Cm0gkAEHz8i/3jPnQaJjLOaYUYqwLE1QY6UqAOsgoJRbXe UqByWMQFOxH5drw/yYD6pJTpeBRrl0KG0pRHwY9e91BscSUNO4Qi3z9OIv4N1EIrlZ7j IfDc9MmnzkEbC6uRDaNszGTPuvwob+Ki4Whl0= 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 :cc:content-type:content-transfer-encoding; b=nhv4e5UnxVygtS0p1zeNdzk4ysb24ZSQZt2DhIYqSINQLIXzMsc0/tHf60KbT9Jx5l fMD6AoTRvU4hejOAF9LAU0pYspto21fw6AGENYjzlBllBrY1EThE8wxOCZl0A0zLBK5d mLaJjbhdWYdEwvQDyEpsXnHPET369yKUP/wIY= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id o19mr309718fgo.45.1251532716723; Sat, 29 Aug 2009 00:58:36 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Sat, 29 Aug 2009 09:58:36 +0200 Message-ID: <[email protected]> Subject: Re: [VOTE] Release Empire-db version 2.0.5-incubating (take 2) From: Francis De Brabandere <[email protected]> To: [email protected] Cc: =?ISO-8859-1?Q?Rainer_D=F6bele?= <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Rainer, can you reach J=F6rg and ask him for a vote? On Fri, Aug 28, 2009 at 11:36 AM, Francis De Brabandere<[email protected]> wrote: > J=F6rg, can you please vote so we can move this to general@? I really > want to get this release out! > > On Fri, Aug 28, 2009 at 11:14 AM, Martijn > Dashorst<[email protected]> wrote: >> Not sure. This is a question for legal-discuss@ IMO. "Should all files >> have a copyright (c) <year> tekst in them? e.g. changelog.txt [1]" >> (provide [1] with the link to svn >> >> Martijn >> >> On Fri, Aug 28, 2009 at 9:27 AM, Francis De >> Brabandere<[email protected]> wrote: >>> I think it would be best to ask Martijn about this, he seems to know a >>> lot more about the legal issues. >>> >>> On Fri, Aug 28, 2009 at 8:12 AM, Rainer D=F6bele<[email protected]> wro= te: >>>> Hi Francis, >>>> >>>> found out, that in changelog.txt it still says "Copyright 2008". To me= this is a minor thing and hopefully not a release blocker. How about leavi= ng the copyright year out in the future or does anyone think it is required= . >>>> >>>> The rest is fine by me. Well done Francis! >>>> +1 >>>> >>>> Rainer >>>> >>>> >>>> Francis De Brabandere wrote: >>>>> re: [VOTE] Release Empire-db version 2.0.5-incubating (take 2) >>>>> >>>>> Hi, >>>>> >>>>> Since our previous attempt failed on general@ I performed a new >>>>> release. All issues should be fixed except that we still have one >>>>> distribution archive which should not be a problem. >>>>> >>>>> Changelog: >>>>> http://svn.apache.org/viewvc/incubator/empire-db/tags/empire-db-paren= t- >>>>> 2.0.5-incubating/CHANGELOG.txt?revision=3D797936 >>>>> >>>>> Maven staging repository: >>>>> https://repository.apache.org/content/repositories/empire-db-staging- >>>>> 035/ >>>>> >>>>> Distribution files are located here >>>>> http://people.apache.org/~francisdb/empire-db/ >>>>> >>>>> Rat report for the tag is available here: >>>>> http://people.apache.org/~francisdb/empire-db/rat.txt >>>>> (one missing header in a txt file but I suppose this is not a problem= ) >>>>> >>>>> Vote open for 72 hours. >>>>> >>>>> [ ] +1 >>>>> [ ] +0 >>>>> [ ] -1 >>>>> >>>>> -- >>>>> http://www.somatik.be >>>>> Microsoft gives you windows, Linux gives you the whole house. >>>> >>> >>> >>> >>> -- >>> http://www.somatik.be >>> Microsoft gives you windows, Linux gives you the whole house. >>> >> >> >> >> -- >> Become a Wicket expert, learn from the best: http://wicketinaction.com >> Apache Wicket 1.4 increases type safety for web applications >> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.0 >> > > > > -- > http://www.somatik.be > Microsoft gives you windows, Linux gives you the whole house. > --=20 http://www.somatik.be Microsoft gives you windows, Linux gives you the whole house. From [email protected] Sun Aug 30 16:04:34 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 940 invoked from network); 30 Aug 2009 16:04:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Aug 2009 16:04:34 -0000 Received: (qmail 43536 invoked by uid 500); 30 Aug 2009 16:04:34 -0000 Delivered-To: [email protected] Received: (qmail 43507 invoked by uid 500); 30 Aug 2009 16:04:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 43497 invoked by uid 99); 30 Aug 2009 16:04:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Aug 2009 16:04:34 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.esteam.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Aug 2009 16:04:23 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01CA298B.7D816CE1" Subject: re: [VOTE] Release Empire-db version 2.0.5-incubating (take 2) Date: Sun, 30 Aug 2009 18:02:16 +0200 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: <[email protected]> Thread-Topic: [VOTE] Release Empire-db version 2.0.5-incubating (take 2) Thread-Index: AcoofpgIwd2l9M7tSS2rQHeCOOUh7wBDKaoS References: <[email protected]><[email protected]><[email protected]><[email protected]><[email protected]> <[email protected]> From: =?iso-8859-1?Q?J=F6rg_Reiher?= <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01CA298B.7D816CE1 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable +1 ...looks good, sorry I wasn't at home the last 3 days, greets j=F6rg -----Urspr=FCngliche Nachricht----- Von: Francis De Brabandere [mailto:[email protected]] Gesendet: Sa 29.08.2009 09:58 An: [email protected] Cc: Rainer D=F6bele Betreff: Re: [VOTE] Release Empire-db version 2.0.5-incubating (take 2) =20 Rainer, can you reach J=F6rg and ask him for a vote? On Fri, Aug 28, 2009 at 11:36 AM, Francis De Brabandere<[email protected]> wrote: > J=F6rg, can you please vote so we can move this to general@? I really > want to get this release out! > > On Fri, Aug 28, 2009 at 11:14 AM, Martijn > Dashorst<[email protected]> wrote: >> Not sure. This is a question for legal-discuss@ IMO. "Should all = files >> have a copyright (c) <year> tekst in them? e.g. changelog.txt [1]" >> (provide [1] with the link to svn >> >> Martijn >> >> On Fri, Aug 28, 2009 at 9:27 AM, Francis De >> Brabandere<[email protected]> wrote: >>> I think it would be best to ask Martijn about this, he seems to know = a >>> lot more about the legal issues. >>> >>> On Fri, Aug 28, 2009 at 8:12 AM, Rainer D=F6bele<[email protected]> = wrote: >>>> Hi Francis, >>>> >>>> found out, that in changelog.txt it still says "Copyright 2008". To = me this is a minor thing and hopefully not a release blocker. How about = leaving the copyright year out in the future or does anyone think it is = required. >>>> >>>> The rest is fine by me. Well done Francis! >>>> +1 >>>> >>>> Rainer >>>> >>>> >>>> Francis De Brabandere wrote: >>>>> re: [VOTE] Release Empire-db version 2.0.5-incubating (take 2) >>>>> >>>>> Hi, >>>>> >>>>> Since our previous attempt failed on general@ I performed a new >>>>> release. All issues should be fixed except that we still have one >>>>> distribution archive which should not be a problem. >>>>> >>>>> Changelog: >>>>> = http://svn.apache.org/viewvc/incubator/empire-db/tags/empire-db-parent- >>>>> 2.0.5-incubating/CHANGELOG.txt?revision=3D797936 >>>>> >>>>> Maven staging repository: >>>>> = https://repository.apache.org/content/repositories/empire-db-staging- >>>>> 035/ >>>>> >>>>> Distribution files are located here >>>>> http://people.apache.org/~francisdb/empire-db/ >>>>> >>>>> Rat report for the tag is available here: >>>>> http://people.apache.org/~francisdb/empire-db/rat.txt >>>>> (one missing header in a txt file but I suppose this is not a = problem) >>>>> >>>>> Vote open for 72 hours. >>>>> >>>>> [ ] +1 >>>>> [ ] +0 >>>>> [ ] -1 >>>>> >>>>> -- >>>>> http://www.somatik.be >>>>> Microsoft gives you windows, Linux gives you the whole house. >>>> >>> >>> >>> >>> -- >>> http://www.somatik.be >>> Microsoft gives you windows, Linux gives you the whole house. >>> >> >> >> >> -- >> Become a Wicket expert, learn from the best: = http://wicketinaction.com >> Apache Wicket 1.4 increases type safety for web applications >> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.0 >> > > > > -- > http://www.somatik.be > Microsoft gives you windows, Linux gives you the whole house. > --=20 http://www.somatik.be Microsoft gives you windows, Linux gives you the whole house. ------_=_NextPart_001_01CA298B.7D816CE1-- From [email protected] Mon Aug 31 07:07:03 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61656 invoked from network); 31 Aug 2009 07:07:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Aug 2009 07:07:03 -0000 Received: (qmail 80258 invoked by uid 500); 31 Aug 2009 07:07:03 -0000 Delivered-To: [email protected] Received: (qmail 80232 invoked by uid 500); 31 Aug 2009 07:07:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 80222 invoked by uid 99); 31 Aug 2009 07:07:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Aug 2009 07:07:03 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.esteam.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Aug 2009 07:06:53 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: [VOTE] Release Empire-db version 2.0.5-incubating (take 2) Date: Mon, 31 Aug 2009 09:06:30 +0200 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [VOTE] Release Empire-db version 2.0.5-incubating (take 2) Thread-Index: AcomHDwZB+ymnSMYQIOoqNqfPjIzgQD7TC6g References: <[email protected]> From: "Matthew Bond" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi, Sorry I took so long to vote. The changes look good for me too. My vote is +1 Cheers Matt -----Urspr=FCngliche Nachricht----- Von: Francis De Brabandere [mailto:[email protected]]=20 Gesendet: Mittwoch, 26. August 2009 09:09 An: [email protected] Betreff: [VOTE] Release Empire-db version 2.0.5-incubating (take 2) Hi, Since our previous attempt failed on general@ I performed a new release. All issues should be fixed except that we still have one distribution archive which should not be a problem. Changelog: http://svn.apache.org/viewvc/incubator/empire-db/tags/empire-db-parent-2.= 0.5-incubating/CHANGELOG.txt?revision=3D797936 Maven staging repository: https://repository.apache.org/content/repositories/empire-db-staging-035/= Distribution files are located here http://people.apache.org/~francisdb/empire-db/ Rat report for the tag is available here: http://people.apache.org/~francisdb/empire-db/rat.txt (one missing header in a txt file but I suppose this is not a problem) Vote open for 72 hours. [ ] +1 [ ] +0 [ ] -1 -- http://www.somatik.be Microsoft gives you windows, Linux gives you the whole house. From [email protected] Mon Aug 31 07:50:37 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70457 invoked from network); 31 Aug 2009 07:50:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Aug 2009 07:50:37 -0000 Received: (qmail 14628 invoked by uid 500); 31 Aug 2009 07:50:37 -0000 Delivered-To: [email protected] Received: (qmail 14602 invoked by uid 500); 31 Aug 2009 07:50:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <empire-db-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 14592 invoked by uid 99); 31 Aug 2009 07:50:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Aug 2009 07:50:37 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO fg-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Aug 2009 07:50:26 +0000 Received: by fg-out-1718.google.com with SMTP id e12so379265fga.0 for <[email protected]>; Mon, 31 Aug 2009 00:50:06 -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 :content-transfer-encoding; bh=eicM5jnksYGdawYvjAZexjtIam8xKysRyZEiGsspBF4=; b=w4gRZRt4DWobd9w2D9r9RJ1KhEJLSo4iszrtR8PwK/kNFXOTxZvpWuf24WQhvGw1UJ lF1vKwSaKdGOJOxxp8iHjlVExeCSPf666V1L3GejJVpHZXeIVHmoFlpzwdiCOmuvy6Ni YN2wOqYJSrqLZcsX8+u/Rj3W/upHWsP7aAsBE= 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:content-transfer-encoding; b=H3WndDda9cdNQkJjqUE9zf9nMY2WodKNSRjWsDg+p+oEwXM4/uMoHIxHwbZmfuJe9g Js+LhGj1Eq1bz0mOUIn9unYKccwl8qGWxzlPnxHCmGkiTxEB+P9pdVbe6YWWKPpAhCHB 6iz6lsCzDC3OAxqclExoRL/453a/hUa65WvzQ= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id p8mr951808fgg.73.1251705006275; Mon, 31 Aug 2009 00:50:06 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Mon, 31 Aug 2009 09:50:06 +0200 Message-ID: <[email protected]> Subject: Re: [VOTE] Release Empire-db version 2.0.5-incubating (take 2) From: Francis De Brabandere <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hello everybody, The final result of our vote for the release of 2.0.5: +1 votes: 4 (non-binding) 0 votes: 0 -1 votes: 0 The release is hereby accepted and we now need 3 binding votes from the mentors/IPMC. I'm sending a vote mail to general@. Regards Francis On Mon, Aug 31, 2009 at 9:06 AM, Matthew Bond<[email protected]> wrote: > Hi, > > Sorry I took so long to vote. The changes look good for me too. > > My vote is > > +1 > > Cheers > > Matt > > > -----Urspr=FCngliche Nachricht----- > Von: Francis De Brabandere [mailto:[email protected]] > Gesendet: Mittwoch, 26. August 2009 09:09 > An: [email protected] > Betreff: [VOTE] Release Empire-db version 2.0.5-incubating (take 2) > > Hi, > > Since our previous attempt failed on general@ I performed a new > release. All issues should be fixed except that we still have one > distribution archive which should not be a problem. > > Changelog: > http://svn.apache.org/viewvc/incubator/empire-db/tags/empire-db-parent-2.= 0.5-incubating/CHANGELOG.txt?revision=3D797936 > > Maven staging repository: > https://repository.apache.org/content/repositories/empire-db-staging-035/ > > Distribution files are located here > http://people.apache.org/~francisdb/empire-db/ > > Rat report for the tag is available here: > http://people.apache.org/~francisdb/empire-db/rat.txt > (one missing header in a txt file but I suppose this is not a problem) > > Vote open for 72 hours. > > [ ] +1 > [ ] +0 > [ ] -1 > > -- > http://www.somatik.be > Microsoft gives you windows, Linux gives you the whole house. > --=20 http://www.somatik.be Microsoft gives you windows, Linux gives you the whole house.
From [email protected] Thu Dec 02 01:24:41 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34996 invoked from network); 2 Dec 2004 01:24:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 2 Dec 2004 01:24:41 -0000 Received: (qmail 66867 invoked by uid 500); 2 Dec 2004 01:24:41 -0000 Delivered-To: [email protected] Received: (qmail 66699 invoked by uid 500); 2 Dec 2004 01:24:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 66685 invoked by uid 500); 2 Dec 2004 01:24:39 -0000 Delivered-To: [email protected] X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Date: 2 Dec 2004 01:24:37 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: xml-batik/test-references/samples/tests/spec12/text flowText.png X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N deweese 2004/12/01 17:24:37 Modified: sources/org/apache/batik/bridge RepaintManager.java SVGTextElementBridge.java sources/org/apache/batik/bridge/svg12 SVGFlowRootElementBridge.java sources/org/apache/batik/ext/awt/geom Cubic.java Quadradic.java sources/org/apache/batik/gvt ShapeNode.java sources/org/apache/batik/gvt/flow FlowGlyphLayout.java LineInfo.java sources/org/apache/batik/util RunnableQueue.java test-references/samples/tests/spec12/text flowText.png Log: 1) Refactored the text and flow bridges so make things cleaner. 2) Now using QuadCurve2d/CubicCurve2D methods to solve cubic/quadradic eqns. 3) Fixed potential interrupted bug in the RunnableQueue class. Revision Changes Path 1.17 +2 -2 xml-batik/sources/org/apache/batik/bridge/RepaintManager.java Index: RepaintManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/RepaintManager.java,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- RepaintManager.java 18 Aug 2004 07:12:32 -0000 1.16 +++ RepaintManager.java 2 Dec 2004 01:24:36 -0000 1.17 @@ -38,7 +38,7 @@ * @version $Id$ */ public class RepaintManager { - final static int COPY_OVERHEAD = 1000; + final static int COPY_OVERHEAD = 10000; final static int COPY_LINE_OVERHEAD = 10; /** 1.101 +49 -78 xml-batik/sources/org/apache/batik/bridge/SVGTextElementBridge.java Index: SVGTextElementBridge.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGTextElementBridge.java,v retrieving revision 1.100 retrieving revision 1.101 diff -u -r1.100 -r1.101 --- SVGTextElementBridge.java 21 Nov 2004 21:20:23 -0000 1.100 +++ SVGTextElementBridge.java 2 Dec 2004 01:24:36 -0000 1.101 @@ -194,6 +194,29 @@ return new Point2D.Float(x, y); } + protected boolean isTextElement(Element e) { + if (!SVG_NAMESPACE_URI.equals(e.getNamespaceURI())) + return false; + String nodeName = e.getLocalName(); + return (nodeName.equals(SVG_TEXT_TAG) || + nodeName.equals(SVG_TSPAN_TAG) || + nodeName.equals(SVG_ALT_GLYPH_TAG) || + nodeName.equals(SVG_A_TAG) || + nodeName.equals(SVG_TEXT_PATH_TAG) || + nodeName.equals(SVG_TREF_TAG)); + } + + protected boolean isTextChild(Element e) { + if (!SVG_NAMESPACE_URI.equals(e.getNamespaceURI())) + return false; + String nodeName = e.getLocalName(); + return (nodeName.equals(SVG_TSPAN_TAG) || + nodeName.equals(SVG_ALT_GLYPH_TAG) || + nodeName.equals(SVG_A_TAG) || + nodeName.equals(SVG_TEXT_PATH_TAG) || + nodeName.equals(SVG_TREF_TAG)); + } + /** * Builds using the specified BridgeContext and element, the * specified graphics node. @@ -360,24 +383,19 @@ //in the case of <title> or <desc> or <metadata>, the layout //is unchanged switch( childNode.getNodeType() ){ - case Node.TEXT_NODE: - case Node.CDATA_SECTION_NODE: + case Node.TEXT_NODE: + case Node.CDATA_SECTION_NODE: + laidoutText = null; + break; + case Node.ELEMENT_NODE: { + Element childElement = (Element)childNode; + if (isTextChild(childElement)) { + addContextToChild( ctx, childElement); laidoutText = null; - break; - case Node.ELEMENT_NODE: - if (SVG_NAMESPACE_URI.equals(childNode.getNamespaceURI())) { - String nodeName = childNode.getLocalName(); - if (nodeName.equals(SVG_TSPAN_TAG) || - nodeName.equals(SVG_ALT_GLYPH_TAG) || - nodeName.equals(SVG_A_TAG) || - nodeName.equals(SVG_TEXT_PATH_TAG) || - nodeName.equals(SVG_TREF_TAG)) { - addContextToChild( ctx, (Element)childNode ); - laidoutText = null; - } - } - break; - default: + } + } + break; + default: } if (laidoutText == null) { computeLaidoutText(ctx, e, node); @@ -403,7 +421,7 @@ */ public void handleDOMChildNodeRemovedEvent(MutationEvent evt) { Node childNode = (Node)evt.getTarget(); - + //check the type of the node inserted before discard the layout //in the case of <title> or <desc> or <metadata>, the layout //is unchanged @@ -415,17 +433,9 @@ laidoutText = null; } break; - case Node.ELEMENT_NODE: - if (SVG_NAMESPACE_URI.equals(childNode.getNamespaceURI())) { - String nodeName = childNode.getLocalName(); - if (nodeName.equals(SVG_TSPAN_TAG) || - nodeName.equals(SVG_ALT_GLYPH_TAG) || - nodeName.equals(SVG_A_TAG) || - nodeName.equals(SVG_TEXT_PATH_TAG) || - nodeName.equals(SVG_TREF_TAG)) { - - laidoutText = null; - } + case Node.ELEMENT_NODE: + if (isTextChild((Element)childNode)) { + laidoutText = null; } break; default: @@ -469,21 +479,7 @@ */ protected boolean isParentDisplayed(Node childNode) { Node parentNode = childNode.getParentNode(); - if (parentNode.getNodeType() == Node.ELEMENT_NODE) { - if (SVG_NAMESPACE_URI.equals(parentNode.getNamespaceURI())) { - String nodeName = parentNode.getLocalName(); - if (nodeName.equals(SVG_TEXT_TAG) || - nodeName.equals(SVG_TSPAN_TAG) || - nodeName.equals(SVG_ALT_GLYPH_TAG) || - nodeName.equals(SVG_A_TAG) || - nodeName.equals(SVG_TEXT_PATH_TAG) || - nodeName.equals(SVG_TREF_TAG)) { - - return true; - } - } - } - return false; + return isTextElement((Element)parentNode); } /** @@ -562,19 +558,11 @@ for (Node child = element.getFirstChild(); child != null; child = child.getNextSibling()) { - if (child.getNodeType() != Node.ELEMENT_NODE) { - continue; - } - if (!SVG_NAMESPACE_URI.equals(child.getNamespaceURI())) { + if (child.getNodeType() != Node.ELEMENT_NODE) continue; - } - String ln = child.getLocalName(); - if (ln.equals(SVG_TSPAN_TAG) || - ln.equals(SVG_ALT_GLYPH_TAG) || - ln.equals(SVG_A_TAG) || - ln.equals(SVG_TEXT_PATH_TAG) || - ln.equals(SVG_TREF_TAG)) { - Element childElement = (Element)child; + + Element childElement = (Element)child; + if (isTextChild(childElement)) { addNullPaintAttributes(as, childElement, ctx); } } @@ -1259,19 +1247,10 @@ for (Node child = element.getFirstChild(); child != null; child = child.getNextSibling()) { - if (child.getNodeType() != Node.ELEMENT_NODE) { - continue; - } - if (!SVG_NAMESPACE_URI.equals(child.getNamespaceURI())) - continue; + if (child.getNodeType() != Node.ELEMENT_NODE) continue; - String ln = child.getLocalName(); - if (ln.equals(SVG_TSPAN_TAG) || - ln.equals(SVG_ALT_GLYPH_TAG) || - ln.equals(SVG_A_TAG) || - ln.equals(SVG_TEXT_PATH_TAG) || - ln.equals(SVG_TREF_TAG)) { - Element childElement = (Element)child; + Element childElement = (Element)child; + if (isTextChild(childElement)) { addGlyphPositionAttributes(as, childElement, ctx); } } @@ -1308,16 +1287,8 @@ if (child.getNodeType() != Node.ELEMENT_NODE) { continue; } - if (!SVG_NAMESPACE_URI.equals(child.getNamespaceURI())) - continue; - Element childElement = (Element)child; - String ln = child.getLocalName(); - if (ln.equals(SVG_TSPAN_TAG) || - ln.equals(SVG_ALT_GLYPH_TAG) || - ln.equals(SVG_A_TAG) || - ln.equals(SVG_TEXT_PATH_TAG) || - ln.equals(SVG_TREF_TAG)) { + if (isTextChild(childElement)) { TextPaintInfo pi = getTextPaintInfo(childElement, node, parentPI, ctx); addPaintAttributes(as, childElement, node, pi, ctx); 1.2 +52 -191 xml-batik/sources/org/apache/batik/bridge/svg12/SVGFlowRootElementBridge.java Index: SVGFlowRootElementBridge.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/svg12/SVGFlowRootElementBridge.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- SVGFlowRootElementBridge.java 18 Nov 2004 01:46:55 -0000 1.1 +++ SVGFlowRootElementBridge.java 2 Dec 2004 01:24:37 -0000 1.2 @@ -146,6 +146,34 @@ return new Point2D.Float(0,0); } + protected boolean isTextElement(Element e) { + if (!SVG_NAMESPACE_URI.equals(e.getNamespaceURI())) + return false; + String nodeName = e.getLocalName(); + return (nodeName.equals(SVG12Constants.SVG_FLOW_DIV_TAG) || + nodeName.equals(SVG12Constants.SVG_FLOW_LINE_TAG) || + nodeName.equals(SVG12Constants.SVG_FLOW_PARA_TAG) || + nodeName.equals(SVG12Constants.SVG_FLOW_REGION_BREAK_TAG) || + nodeName.equals(SVG12Constants.SVG_FLOW_SPAN_TAG)); + } + + protected boolean isTextChild(Element e) { + if (!SVG_NAMESPACE_URI.equals(e.getNamespaceURI())) + return false; + String nodeName = e.getLocalName(); + return (nodeName.equals(SVG12Constants.SVG_A_TAG) || + nodeName.equals(SVG12Constants.SVG_FLOW_LINE_TAG) || + nodeName.equals(SVG12Constants.SVG_FLOW_PARA_TAG) || + nodeName.equals(SVG12Constants.SVG_FLOW_REGION_BREAK_TAG) || + nodeName.equals(SVG12Constants.SVG_FLOW_SPAN_TAG)); + } + + protected void computeLaidoutText(BridgeContext ctx, + Element e, + GraphicsNode node) { + super.computeLaidoutText(ctx, getFlowDivElement(e), node); + } + /** * Creates the attributed string which represents the given text * element children. @@ -184,204 +212,35 @@ System.out.println(brkStr); } - /** - * Adds glyph position attributes to an AttributedString. - */ - protected void addGlyphPositionAttributes(AttributedString as, - Element element, - BridgeContext ctx) { - if (element.getNodeType() != Node.ELEMENT_NODE) return; - String eNS = element.getNamespaceURI(); - if ((!eNS.equals(getNamespaceURI())) && - (!eNS.equals(SVG_NAMESPACE_URI))) - return; - if (element.getLocalName() != SVG12Constants.SVG_FLOW_ROOT_TAG) { - // System.out.println("Elem: " + element); - super.addGlyphPositionAttributes(as, element, ctx); - return; - } - - for (Node n = element.getFirstChild(); - n != null; n = n.getNextSibling()) { - if (n.getNodeType() != Node.ELEMENT_NODE) continue; - String nNS = n.getNamespaceURI(); - if ((!getNamespaceURI().equals(nNS)) && - (!SVG_NAMESPACE_URI.equals(nNS))) { - continue; - } - Element e = (Element)n; - String ln = e.getLocalName(); - if (ln.equals(SVG12Constants.SVG_FLOW_DIV_TAG)) { - // System.out.println("D Elem: " + e); - super.addGlyphPositionAttributes(as, e, ctx); - return; - } - } - } - - protected void addChildGlyphPositionAttributes(AttributedString as, - Element element, - BridgeContext ctx) { - // Add Paint attributres for children of text element - for (Node child = element.getFirstChild(); - child != null; - child = child.getNextSibling()) { - if (child.getNodeType() != Node.ELEMENT_NODE) { - continue; - } - String cNS = child.getNamespaceURI(); - if ((!getNamespaceURI().equals(cNS)) && - (!SVG_NAMESPACE_URI.equals(cNS))) { - continue; - } - String ln = child.getLocalName(); - if (ln.equals(SVG12Constants.SVG_FLOW_PARA_TAG) || - ln.equals(SVG12Constants.SVG_FLOW_REGION_BREAK_TAG) || - ln.equals(SVG12Constants.SVG_FLOW_LINE_TAG) || - ln.equals(SVG12Constants.SVG_FLOW_SPAN_TAG) || - ln.equals(SVG12Constants.SVG_A_TAG) || - ln.equals(SVG12Constants.SVG_TREF_TAG)) { - addGlyphPositionAttributes(as, (Element)child, ctx); - } - } - } + protected Element getFlowDivElement(Element elem) { + String eNS = elem.getNamespaceURI(); + if (!eNS.equals(SVG_NAMESPACE_URI)) return null; - protected void addNullPaintAttributes(AttributedString as, - Element element, - BridgeContext ctx) { - if (element.getNodeType() != Node.ELEMENT_NODE) return; - String eNS = element.getNamespaceURI(); - if ((!eNS.equals(getNamespaceURI())) && - (!eNS.equals(SVG_NAMESPACE_URI))) - return; - if (element.getLocalName() != SVG12Constants.SVG_FLOW_ROOT_TAG) { - // System.out.println("Elem: " + element); - super.addNullPaintAttributes(as, element, ctx); - return; - } + String nodeName = elem.getLocalName(); + if (nodeName.equals(SVG12Constants.SVG_FLOW_DIV_TAG)) return elem; - for (Node n = element.getFirstChild(); + if (!nodeName.equals(SVG12Constants.SVG_FLOW_ROOT_TAG)) return null; + + for (Node n = elem.getFirstChild(); n != null; n = n.getNextSibling()) { if (n.getNodeType() != Node.ELEMENT_NODE) continue; - if (!getNamespaceURI().equals(n.getNamespaceURI())) continue; - Element e = (Element)n; - String ln = e.getLocalName(); - if (ln.equals(SVG12Constants.SVG_FLOW_DIV_TAG)) { - // System.out.println("D Elem: " + e); - super.addNullPaintAttributes(as, e, ctx); - return; - } - } - } - - protected void addChildNullPaintAttributes(AttributedString as, - Element element, - BridgeContext ctx) { - // Add Paint attributres for children of text element - for (Node child = element.getFirstChild(); - child != null; - child = child.getNextSibling()) { - if (child.getNodeType() != Node.ELEMENT_NODE) { - continue; - } - String cNS = child.getNamespaceURI(); - if ((!getNamespaceURI().equals(cNS)) && - (!SVG_NAMESPACE_URI.equals(cNS))) { - continue; - } - String ln = child.getLocalName(); - if (ln.equals(SVG12Constants.SVG_FLOW_PARA_TAG) || - ln.equals(SVG12Constants.SVG_FLOW_REGION_BREAK_TAG) || - ln.equals(SVG12Constants.SVG_FLOW_LINE_TAG) || - ln.equals(SVG12Constants.SVG_FLOW_SPAN_TAG) || - ln.equals(SVG12Constants.SVG_A_TAG) || - ln.equals(SVG12Constants.SVG_TREF_TAG)) { - Element childElement = (Element)child; - addNullPaintAttributes(as, childElement, ctx); - } - } - } - - /** - * Adds painting attributes to an AttributedString. - */ - protected void addPaintAttributes(AttributedString as, - Element element, - TextNode node, - TextPaintInfo parentPI, - BridgeContext ctx) { - if (element.getNodeType() != Node.ELEMENT_NODE) return; - String eNS = element.getNamespaceURI(); - if ((!eNS.equals(getNamespaceURI())) && - (!eNS.equals(SVG_NAMESPACE_URI))) - return; - if (element.getLocalName() != SVG12Constants.SVG_FLOW_ROOT_TAG) { - // System.out.println("Elem: " + element); - super.addPaintAttributes(as, element, node, parentPI, ctx); - return; - } + String nNS = n.getNamespaceURI(); + if (!SVG_NAMESPACE_URI.equals(nNS)) continue; - for (Node n = element.getFirstChild(); - n != null; n = n.getNextSibling()) { - if (n.getNodeType() != Node.ELEMENT_NODE) continue; - if (!getNamespaceURI().equals(n.getNamespaceURI())) continue; Element e = (Element)n; String ln = e.getLocalName(); - if (ln.equals(SVG12Constants.SVG_FLOW_DIV_TAG)) { - // System.out.println("D Elem: " + e); - super.addPaintAttributes(as, e, node, parentPI, ctx); - return; - } - } - } - - protected void addChildPaintAttributes(AttributedString as, - Element element, - TextNode node, - TextPaintInfo parentPI, - BridgeContext ctx) { - // Add Paint attributres for children of text element - for (Node child = element.getFirstChild(); - child != null; - child = child.getNextSibling()) { - if (child.getNodeType() != Node.ELEMENT_NODE) { - continue; - } - String cNS = child.getNamespaceURI(); - if ((!getNamespaceURI().equals(cNS)) && - (!SVG_NAMESPACE_URI.equals(cNS))) { - continue; - } - String ln = child.getLocalName(); - if (ln.equals(SVG12Constants.SVG_FLOW_PARA_TAG) || - ln.equals(SVG12Constants.SVG_FLOW_REGION_BREAK_TAG) || - ln.equals(SVG12Constants.SVG_FLOW_LINE_TAG) || - ln.equals(SVG12Constants.SVG_FLOW_SPAN_TAG) || - ln.equals(SVG12Constants.SVG_A_TAG) || - ln.equals(SVG12Constants.SVG_TREF_TAG)) { - Element childElement = (Element)child; - TextPaintInfo pi = getTextPaintInfo(childElement, node, - parentPI, ctx); - addPaintAttributes(as, childElement, node, pi, ctx); - } + if (ln.equals(SVG12Constants.SVG_FLOW_DIV_TAG)) + return e; } + return null; } - protected AttributedString getFlowDiv - (BridgeContext ctx, Element element) { - for (Node n = element.getFirstChild(); - n != null; n = n.getNextSibling()) { - if (n.getNodeType() != Node.ELEMENT_NODE) continue; - if (!getNamespaceURI().equals(n.getNamespaceURI())) continue; - Element e = (Element)n; + protected AttributedString getFlowDiv(BridgeContext ctx, Element element) { + Element flowDiv = getFlowDivElement(element); + if (flowDiv == null) return null; - String ln = n.getLocalName(); - if (ln.equals(SVG12Constants.SVG_FLOW_DIV_TAG)) { - return gatherFlowPara(ctx, e); - } - } - return null; + return gatherFlowPara(ctx, flowDiv); } protected AttributedString gatherFlowPara @@ -454,15 +313,17 @@ } protected List getRegions(BridgeContext ctx, Element element) { + // Element comes in as flowDiv element we want flowRoot. + element = (Element)element.getParentNode(); List ret = new LinkedList(); for (Node n = element.getFirstChild(); n != null; n = n.getNextSibling()) { if (n.getNodeType() != Node.ELEMENT_NODE) continue; - if (!getNamespaceURI().equals(n.getNamespaceURI())) continue; + if (!SVG12Constants.SVG_NAMESPACE_URI.equals(n.getNamespaceURI())) + continue; Element e = (Element)n; - String ln = e.getLocalName(); if (!SVG12Constants.SVG_FLOW_REGION_TAG.equals(ln)) continue; @@ -759,8 +620,9 @@ Value v = CSSUtilities.getComputedStyle(element, lineHeightIndex); if ((v == ValueConstants.INHERIT_VALUE) || - (v == SVG12ValueConstants.NORMAL_VALUE)) + (v == SVG12ValueConstants.NORMAL_VALUE)) { return fontSize*1.1f; + } float lineHeight = v.getFloatValue(); if (v instanceof ComputedValue) @@ -768,7 +630,6 @@ if ((v instanceof LineHeightValue) && ((LineHeightValue)v).getFontSizeRelative()) lineHeight *= fontSize; - return lineHeight; } } 1.2 +11 -38 xml-batik/sources/org/apache/batik/ext/awt/geom/Cubic.java Index: Cubic.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/ext/awt/geom/Cubic.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Cubic.java 18 Nov 2004 01:46:58 -0000 1.1 +++ Cubic.java 2 Dec 2004 01:24:37 -0000 1.2 @@ -8,7 +8,9 @@ package org.apache.batik.ext.awt.geom; +import java.awt.geom.CubicCurve2D; import java.awt.geom.Point2D; +import java.awt.geom.QuadCurve2D; import java.awt.geom.Rectangle2D; public class Cubic extends AbstractSegment { @@ -63,44 +65,17 @@ double c0 = 3*(p2-p1); double c1 = 6*(p3-p2); double c2 = 3*(p4-p3); - double c = c0; - double b = c1-2*c0; - double a = c2-c1+c0; - double det = b*b-4*a*c; - if (det == 0) { - // one real root. - double tv = -b/(2*a); - if ((tv <= 0) || (tv >= 1)) return; + double [] eqn = { c0, c1-2*c0, c2-c1+c0 }; + int roots = QuadCurve2D.solveQuadratic(eqn); + for (int r=0; r<roots; r++) { + double tv = eqn[r]; + if ((tv <= 0) || (tv >= 1)) continue; tv = ((1-tv)*(1-tv)*(1-tv)*p1 + 3*tv*(1-tv)*(1-tv)*p2 + 3*tv*tv*(1-tv)*p3 + tv*tv*tv*p4); if (tv < minMax[0]) minMax[0] = tv; else if (tv > minMax[1]) minMax[1] = tv; - } else if (det > 0) { - // Two real roots - det = Math.sqrt(det); - double w = -(b + matchSign(det, b)); - - double tv = (2*c)/w; - if ((tv > 0) && (tv < 1)) { - tv = ((1-tv)*(1-tv)*(1-tv)*p1 + - 3*tv*(1-tv)*(1-tv)*p2 + - 3*tv*tv*(1-tv)*p3 + - tv*tv*tv*p4); - if (tv < minMax[0]) minMax[0] = tv; - else if (tv > minMax[1]) minMax[1] = tv; - } - - tv = w/(2*a); - if ((tv > 0) && (tv < 1)) { - tv = ((1-tv)*(1-tv)*(1-tv)*p1 + - 3*tv*(1-tv)*(1-tv)*p2 + - 3*tv*tv*(1-tv)*p3 + - tv*tv*tv*p4); - if (tv < minMax[0]) minMax[0] = tv; - else if (tv > minMax[1]) minMax[1] = tv; - } } } public double minX() { @@ -136,12 +111,10 @@ } protected int findRoots(double y, double [] roots) { - double d = p1.y-y; - double c = 3*(p2.y-p1.y); - double b = 3*(p1.y-2*p2.y+p3.y); - double a = 3*p2.y-p1.y+p4.y-3*p3.y; - - return solveCubic(a, b, c, d, roots); + double [] eqn = { p1.y-y, 3*(p2.y-p1.y), 3*(p1.y-2*p2.y+p3.y), + 3*p2.y-p1.y+p4.y-3*p3.y }; + return CubicCurve2D.solveCubic(eqn, roots); + // return solveCubic(eqn[3], eqn[2], eqn[1], eqn[0], roots); } public Point2D.Double evalDt(double t) { 1.2 +8 -13 xml-batik/sources/org/apache/batik/ext/awt/geom/Quadradic.java Index: Quadradic.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/ext/awt/geom/Quadradic.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Quadradic.java 18 Nov 2004 01:46:58 -0000 1.1 +++ Quadradic.java 2 Dec 2004 01:24:37 -0000 1.2 @@ -8,11 +8,10 @@ package org.apache.batik.ext.awt.geom; -import java.util.Arrays; +import java.awt.geom.CubicCurve2D; import java.awt.geom.Point2D; +import java.awt.geom.QuadCurve2D; import java.awt.geom.Rectangle2D; -import java.io.PrintStream; -import java.io.FileOutputStream; public class Quadradic extends AbstractSegment { public Point2D.Double p1, p2, p3; @@ -60,12 +59,10 @@ } double a = (p1-2*p2+p3); - double eps = 0.00001; - if (Math.abs(a) < 4*eps) { - return; - } - double b = (p2-p1); + + if (a == 0) return; + double tv = b/a; if ((tv <= 0) || (tv >= 1)) return; @@ -106,11 +103,9 @@ } protected int findRoots(double y, double [] roots) { - double a = p1.y-2*p2.y+p3.y; - double b = 2*(p2.y-p1.y); - double c = p1.y-y; - - return solveQuad(a, b, c, roots); + double [] eqn = { p1.y-y, 2*(p2.y-p1.y), p1.y-2*p2.y+p3.y }; + return QuadCurve2D.solveQuadratic(eqn, roots); + // return solveQuad(eqn[2], eqn[1], eqn[0], roots); } public Point2D.Double evalDt(double t) { 1.31 +5 -4 xml-batik/sources/org/apache/batik/gvt/ShapeNode.java Index: ShapeNode.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/gvt/ShapeNode.java,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- ShapeNode.java 30 Nov 2004 03:23:58 -0000 1.30 +++ ShapeNode.java 2 Dec 2004 01:24:37 -0000 1.31 @@ -417,9 +417,10 @@ } /** - * Returns the bounds of the area covered by this node, without taking any - * of its rendering attribute into account. i.e., exclusive of any clipping, - * masking, filtering or stroking, for example. + * Returns the bounds of the area covered by this node, without + * taking any of its rendering attribute into account. i.e., + * exclusive of any clipping, masking, filtering or stroking, for + * example. */ public Rectangle2D getGeometryBounds(){ if (geometryBounds == null) { 1.2 +3 -2 xml-batik/sources/org/apache/batik/gvt/flow/FlowGlyphLayout.java Index: FlowGlyphLayout.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/gvt/flow/FlowGlyphLayout.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- FlowGlyphLayout.java 18 Nov 2004 01:46:59 -0000 1.1 +++ FlowGlyphLayout.java 2 Dec 2004 01:24:37 -0000 1.2 @@ -290,6 +290,7 @@ } aciIdx = aci.getBeginIndex(); + int aciEnd = aci.getEndIndex(); char ch = aci.setIndex(aciIdx); int aciWordStart = aciIdx; @@ -349,7 +350,7 @@ } aciIdx += chCnt; - if (aciIdx > runLimit) { + if ((aciIdx > runLimit) && (aciIdx < aciEnd)) { // Possible font size/style change so record current // line metrics and start fresh. GVTLineMetrics lm = gvtFont.getLineMetrics 1.3 +1 -2 xml-batik/sources/org/apache/batik/gvt/flow/LineInfo.java Index: LineInfo.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/gvt/flow/LineInfo.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- LineInfo.java 30 Nov 2004 03:23:58 -0000 1.2 +++ LineInfo.java 2 Dec 2004 01:24:37 -0000 1.3 @@ -66,7 +66,6 @@ this.baseline = (float)(fr.getCurrentY()+hLeading+ascent); this.paraStart = paraStart; this.paraEnd = false; - if (lineHeight > 0) { fr.newLineHeight(lineHeight); updateRangeInfo(); 1.20 +6 -2 xml-batik/sources/org/apache/batik/util/RunnableQueue.java Index: RunnableQueue.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/util/RunnableQueue.java,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- RunnableQueue.java 29 Oct 2004 14:40:54 -0000 1.19 +++ RunnableQueue.java 2 Dec 2004 01:24:37 -0000 1.20 @@ -164,7 +164,11 @@ if (preemptCount != 0) preemptCount--; if (l == null) { // No item to run, wait till there is one. - list.wait(); + try { + list.wait(); + } catch (InterruptedException ie) { + // just loop again. + } continue; // start loop over again... } 1.2 +410 -115 xml-batik/test-references/samples/tests/spec12/text/flowText.png <<Binary file>> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Dec 03 12:20:24 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22710 invoked from network); 3 Dec 2004 12:20:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 3 Dec 2004 12:20:24 -0000 Received: (qmail 17644 invoked by uid 500); 3 Dec 2004 12:20:22 -0000 Delivered-To: [email protected] Received: (qmail 17622 invoked by uid 500); 3 Dec 2004 12:20:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 17606 invoked by uid 500); 3 Dec 2004 12:20:21 -0000 Delivered-To: [email protected] X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Date: 3 Dec 2004 12:20:17 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: xml-batik/test-resources/org/apache/batik/test samplesRendering.xml X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N deweese 2004/12/03 04:20:17 Modified: samples/tests/spec/structure image.svg sources/org/apache/batik/css/engine CSSEngine.java SVGCSSEngine.java sources/org/apache/batik/css/engine/value AbstractColorManager.java IdentifierManager.java sources/org/apache/batik/css/engine/value/css2 DirectionManager.java DisplayManager.java FontSizeManager.java FontStretchManager.java FontStyleManager.java FontVariantManager.java FontWeightManager.java OverflowManager.java SrcManager.java UnicodeBidiManager.java VisibilityManager.java sources/org/apache/batik/css/engine/value/svg AlignmentBaselineManager.java ClipRuleManager.java ColorInterpolationManager.java ColorRenderingManager.java DominantBaselineManager.java FillRuleManager.java ImageRenderingManager.java PointerEventsManager.java ShapeRenderingManager.java StrokeLinecapManager.java StrokeLinejoinManager.java TextAnchorManager.java TextRenderingManager.java WritingModeManager.java sources/org/apache/batik/css/engine/value/svg12 MarginShorthandManager.java TextAlignManager.java sources/org/apache/batik/util CSSConstants.java test-resources/org/apache/batik/test samplesRendering.xml Added: samples/tests/spec/styling fontShorthand.svg samples/tests/spec12/text lineHeightFontShorthand.svg test-references/samples/tests/spec/styling fontShorthand.png test-references/samples/tests/spec12/text lineHeightFontShorthand.png Log: 1) Added support for 'font' shorthand property. Revision Changes Path 1.6 +10 -7 xml-batik/samples/tests/spec/structure/image.svg Index: image.svg =================================================================== RCS file: /home/cvs/xml-batik/samples/tests/spec/structure/image.svg,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- image.svg 18 Aug 2004 07:12:16 -0000 1.5 +++ image.svg 3 Dec 2004 12:20:15 -0000 1.6 @@ -19,16 +19,19 @@ limitations under the License. --> -<!-- ========================================================================= --> -<!-- Image element references an SVG file --> -<!-- --> -<!-- @author [email protected] --> -<!-- @version $Id$ --> -<!-- ========================================================================= --> +<!-- ====================================================================== --> +<!-- Image element references an SVG file --> +<!-- --> +<!-- @author [email protected] --> +<!-- @version $Id$ --> +<!-- ====================================================================== --> <?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?> -<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="450" height="500" viewBox="0 0 450 500"> +<svg width="450" height="500" viewBox="0 0 450 500" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" > + <title>Image element references an SVG file</title> <!-- ============================================================= --> <!-- Test content --> 1.1 xml-batik/samples/tests/spec/styling/fontShorthand.svg Index: fontShorthand.svg =================================================================== <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> <!-- Copyright 2002 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <!-- ====================================================================== --> <!-- Image element references an SVG file --> <!-- --> <!-- @author [email protected] --> <!-- @version $Id: fontShorthand.svg,v 1.1 2004/12/03 12:20:15 deweese Exp $ --> <!-- ====================================================================== --> <?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?> <svg width="450" height="500" viewBox="0 0 450 500" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Test the CSS 'font' shorthand property</title> <text class="title" x="50%" y="30" >Test the CSS 'font' shorthand property</text> <style type="text/css"><![CDATA[ @font-face { font-family: "bolder"; src: "Courier" } .f1 { font: 20px Serif; } .f2 { font: 20 SanSerif; } .f3 { font: 20 times; } .f4 { font: bold 20 times; } .f5 { font: italic 20 times; } .f6 { font: bold italic 20 times; } .f7 { font: italic bold 20 times; } .f8 { font: 700 20 times; } .f9 { font: 700 small-caps 20 times; } .f10 { font: small-caps 700 20 times; } .f11 { font: small-caps 700 italic 20 times; } .f12 { font: 700 small-caps italic 20 times; } .f13 { font: small-caps italic 700 20 times; } .f14 { font: 200 "bolder"; } .f15 { font: 200 bolder; } .f16 { font: 200px bolder; } .f17 { font: bolder 200 bolder; } .f18 { font: menu; } .f19 { font: small-caption; } ]]></style> <g id="testContent" font-size="8pt" font-family="sanserif"> <text x="225" y="60">default</text> <text class="f1" x="10" y="60">font: 20px Serif</text> <text class="f2" x="10" y="80">font: 20 SanSerif</text> <text class="f3" x="10" y="100">font: 20 times</text> <text class="f4" x="10" y="120">font: bold 20 times</text> <text class="f5" x="10" y="140">font: italic 20 times</text> <text class="f6" x="10" y="160">font: bold italic 20 times</text> <text class="f7" x="10" y="180">font: italic bold 20 times</text> <text class="f8" x="10" y="200">font: 200 20 times</text> <text class="f9" x="10" y="220">font: 700 small-caps 20 times</text> <text class="f10" x="10" y="240">font: small-caps 700 20 times</text> <text class="f11" x="10" y="260">font: small-caps 700 italic 20 times</text> <text class="f12" x="10" y="280">font: 700 small-caps italic 20 times</text> <text class="f13" x="10" y="300">font: small-caps italic 700 20 times</text> <g transform="scale(.1)"> <text class="f14" x="100" y="3200">font: 200 "bolder"</text> <text class="f15" x="100" y="3400">font: 200 bolder</text> <text class="f16" x="100" y="3600">font: 200px bolder</text> <text class="f17" x="100" y="3800">font: bolder 200 bolder</text> </g> <g font-weight="bold"> <text class="f5" x="10" y="400">font: italic 20 times</text> </g> <text x="200" y="400">group font-weight="bold"</text> <g font-style="italic"> <text class="f4" x="10" y="420">font: bold 20 times</text> </g> <text x="200" y="420">group font-style="italic"</text> <text class="f18" x="10" y="440">File: menu</text> <text class="f19" x="10" y="460">File: small-caption</text> </g> </svg> 1.1 xml-batik/samples/tests/spec12/text/lineHeightFontShorthand.svg Index: lineHeightFontShorthand.svg =================================================================== <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> <!-- Copyright 2002 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <!-- ====================================================================== --> <!-- Image element references an SVG file --> <!-- --> <!-- @author [email protected] --> <!-- @version $Id: lineHeightFontShorthand.svg,v 1.1 2004/12/03 12:20:15 deweese Exp $ --> <!-- ====================================================================== --> <?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?> <svg width="450" height="500" viewBox="0 0 450 500" xmlns="http://www.w3.org/2000/svg" version="1.2" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Test CSS 'font' shorthand 'line-height'</title> <text class="title" x="50%" y="30" >Test CSS 'font' shorthand 'line-height'</text> <style type="text/css"><![CDATA[ @font-face { font-family: "bolder"; src: "Courier" } .f1 { font: 20px Serif; } .f2 { font: 20/2 SanSerif; } .f3 { font: 20/1 times; } .f4 { font: bold 20/.5 monico; } .f5 { font: italic 20/30px times; } .f6 { font: bold italic 20/15px times; } .f7 { font: italic bold 20/15px times; } .f8 { font: 700 20/1em times; } .f9 { font: 700 20/75% times; } ]]></style> <g id="testContent" font="8pt sanserif"> <flowRoot><flowRegion ><rect x="10" y="60" width="200" height="90"/></flowRegion> <flowDiv><flowPara class="f1" >font:<flowLine/>20px Serif</flowPara></flowDiv></flowRoot> <flowRoot><flowRegion ><rect x="10" y="100" width="200" height="90"/></flowRegion> <flowDiv><flowPara class="f2" >font:<flowLine/>20/2 SanSerif</flowPara></flowDiv></flowRoot> <flowRoot><flowRegion ><rect x="10" y="180" width="200" height="90"/></flowRegion> <flowDiv><flowPara class="f3" >font:<flowLine/>20/1 times</flowPara></flowDiv></flowRoot> <flowRoot><flowRegion ><rect x="10" y="240" width="200" height="90"/></flowRegion> <flowDiv><flowPara class="f3" >font:<flowLine/>bold 20/.5 times</flowPara></flowDiv></flowRoot> <flowRoot><flowRegion ><rect x="10" y="300" width="200" height="90"/></flowRegion> <flowDiv><flowPara class="f4" >font:<flowLine/>bold 20/.5 times</flowPara></flowDiv></flowRoot> <flowRoot><flowRegion ><rect x="10" y="330" width="200" height="90"/></flowRegion> <flowDiv><flowPara class="f5" >font:<flowLine/>italic 20/30px times</flowPara></flowDiv></flowRoot> <flowRoot><flowRegion ><rect x="10" y="420" width="200" height="90"/></flowRegion> <flowDiv><flowPara class="f6" >font:<flowLine/>bold italic 20/15px times</flowPara></flowDiv></flowRoot> <flowRoot><flowRegion ><rect x="225" y="60" width="200" height="90"/></flowRegion> <flowDiv><flowPara class="f7" >font:<flowLine/>italic bold 20/15px times</flowPara></flowDiv></flowRoot> <flowRoot><flowRegion ><rect x="225" y="120" width="200" height="90"/></flowRegion> <flowDiv><flowPara class="f8" >font:<flowLine/>700 20/1em times</flowPara></flowDiv></flowRoot> <flowRoot><flowRegion ><rect x="225" y="180" width="200" height="90"/></flowRegion> <flowDiv><flowPara class="f9" >font:<flowLine/>700 20/75% times</flowPara></flowDiv></flowRoot> <flowRoot font-size="20"><flowRegion ><rect x="225" y="230" width="200" height="90"/></flowRegion> <flowDiv><flowPara line-height="1.5"><flowSpan line-height=".75" >para: 1.5,<flowLine/>line:.75</flowSpan></flowPara></flowDiv></flowRoot> <flowRoot font-size="20"><flowRegion ><rect x="225" y="290" width="200" height="90"/></flowRegion> <flowDiv><flowPara line-height=".75"><flowSpan line-height="1.5" >para: .75,<flowLine/>line:1.5</flowSpan></flowPara></flowDiv></flowRoot> <flowRoot font-size="20"><flowRegion ><rect x="225" y="350" width="200" height="90"/></flowRegion> <flowDiv><flowPara line-height="1"><flowSpan font-size="6" >blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah</flowSpan></flowPara></flowDiv></flowRoot> <flowRoot font-size="20"><flowRegion ><rect x="225" y="410" width="200" height="90"/></flowRegion> <flowDiv><flowPara font-size="6"><flowSpan >blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah</flowSpan></flowPara></flowDiv></flowRoot> </g> </svg> 1.42 +2 -1 xml-batik/sources/org/apache/batik/css/engine/CSSEngine.java Index: CSSEngine.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/CSSEngine.java,v retrieving revision 1.41 retrieving revision 1.42 diff -u -r1.41 -r1.42 --- CSSEngine.java 5 Nov 2004 01:34:33 -0000 1.41 +++ CSSEngine.java 3 Dec 2004 12:20:15 -0000 1.42 @@ -1156,6 +1156,7 @@ try { parseStyleSheet(ss, new InputSource(new StringReader(rules)), uri); } catch (Exception e) { + // e.printStackTrace(); String m = e.getMessage(); if (m == null) m = ""; String s = Messages.formatMessage 1.10 +3 -1 xml-batik/sources/org/apache/batik/css/engine/SVGCSSEngine.java Index: SVGCSSEngine.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/SVGCSSEngine.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- SVGCSSEngine.java 18 Nov 2004 01:46:56 -0000 1.9 +++ SVGCSSEngine.java 3 Dec 2004 12:20:15 -0000 1.10 @@ -27,6 +27,7 @@ import org.apache.batik.css.engine.value.css2.DirectionManager; import org.apache.batik.css.engine.value.css2.DisplayManager; import org.apache.batik.css.engine.value.css2.FontFamilyManager; +import org.apache.batik.css.engine.value.css2.FontShorthandManager; import org.apache.batik.css.engine.value.css2.FontSizeAdjustManager; import org.apache.batik.css.engine.value.css2.FontSizeManager; import org.apache.batik.css.engine.value.css2.FontStretchManager; @@ -269,6 +270,7 @@ * The shorthand managers for SVG. */ public final static ShorthandManager[] SVG_SHORTHAND_MANAGERS = { + new FontShorthandManager(), new MarkerShorthandManager(), }; 1.6 +2 -2 xml-batik/sources/org/apache/batik/css/engine/value/AbstractColorManager.java Index: AbstractColorManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/value/AbstractColorManager.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- AbstractColorManager.java 18 Aug 2004 07:12:53 -0000 1.5 +++ AbstractColorManager.java 3 Dec 2004 12:20:15 -0000 1.6 @@ -243,7 +243,7 @@ /** * Implements {@link IdentifierManager#getIdentifiers()}. */ - protected StringMap getIdentifiers() { + public StringMap getIdentifiers() { return values; } 1.5 +2 -2 xml-batik/sources/org/apache/batik/css/engine/value/IdentifierManager.java Index: IdentifierManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/value/IdentifierManager.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- IdentifierManager.java 18 Aug 2004 07:12:53 -0000 1.4 +++ IdentifierManager.java 3 Dec 2004 12:20:15 -0000 1.5 @@ -74,5 +74,5 @@ * Returns the map that contains the name/value mappings for each * possible identifiers. */ - protected abstract StringMap getIdentifiers(); + public abstract StringMap getIdentifiers(); } 1.5 +2 -2 xml-batik/sources/org/apache/batik/css/engine/value/css2/DirectionManager.java Index: DirectionManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/value/css2/DirectionManager.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- DirectionManager.java 18 Aug 2004 07:12:55 -0000 1.4 +++ DirectionManager.java 3 Dec 2004 12:20:15 -0000 1.5 @@ -67,7 +67,7 @@ /** * Implements {@link IdentifierManager#getIdentifiers()}. */ - protected StringMap getIdentifiers() { + public StringMap getIdentifiers() { return values; } } 1.5 +2 -2 xml-batik/sources/org/apache/batik/css/engine/value/css2/DisplayManager.java Index: DisplayManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/value/css2/DisplayManager.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- DisplayManager.java 18 Aug 2004 07:12:55 -0000 1.4 +++ DisplayManager.java 3 Dec 2004 12:20:15 -0000 1.5 @@ -99,7 +99,7 @@ /** * Implements {@link IdentifierManager#getIdentifiers()}. */ - protected StringMap getIdentifiers() { + public StringMap getIdentifiers() { return values; } } 1.10 +10 -1 xml-batik/sources/org/apache/batik/css/engine/value/css2/FontSizeManager.java Index: FontSizeManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/value/css2/FontSizeManager.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- FontSizeManager.java 20 Aug 2004 19:29:47 -0000 1.9 +++ FontSizeManager.java 3 Dec 2004 12:20:15 -0000 1.10 @@ -67,6 +67,13 @@ } /** + * Implements {@link IdentifierManager#getIdentifiers()}. + */ + public StringMap getIdentifiers() { + return values; + } + + /** * Implements {@link ValueManager#isInheritedProperty()}. */ public boolean isInheritedProperty() { @@ -103,6 +110,8 @@ throw createInvalidIdentifierDOMException(s); } return (Value)v; + default: + break; } return super.createValue(lu, engine); } 1.7 +2 -2 xml-batik/sources/org/apache/batik/css/engine/value/css2/FontStretchManager.java Index: FontStretchManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/value/css2/FontStretchManager.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- FontStretchManager.java 18 Aug 2004 07:12:55 -0000 1.6 +++ FontStretchManager.java 3 Dec 2004 12:20:15 -0000 1.7 @@ -172,7 +172,7 @@ /** * Implements {@link IdentifierManager#getIdentifiers()}. */ - protected StringMap getIdentifiers() { + public StringMap getIdentifiers() { return values; } } 1.6 +2 -2 xml-batik/sources/org/apache/batik/css/engine/value/css2/FontStyleManager.java Index: FontStyleManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/value/css2/FontStyleManager.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- FontStyleManager.java 18 Aug 2004 07:12:55 -0000 1.5 +++ FontStyleManager.java 3 Dec 2004 12:20:15 -0000 1.6 @@ -73,7 +73,7 @@ /** * Implements {@link IdentifierManager#getIdentifiers()}. */ - protected StringMap getIdentifiers() { + public StringMap getIdentifiers() { return values; } } 1.5 +2 -2 xml-batik/sources/org/apache/batik/css/engine/value/css2/FontVariantManager.java Index: FontVariantManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/value/css2/FontVariantManager.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- FontVariantManager.java 18 Aug 2004 07:12:55 -0000 1.4 +++ FontVariantManager.java 3 Dec 2004 12:20:15 -0000 1.5 @@ -69,7 +69,7 @@ /** * Implements {@link IdentifierManager#getIdentifiers()}. */ - protected StringMap getIdentifiers() { + public StringMap getIdentifiers() { return values; } } 1.6 +2 -2 xml-batik/sources/org/apache/batik/css/engine/value/css2/FontWeightManager.java Index: FontWeightManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/value/css2/FontWeightManager.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- FontWeightManager.java 18 Aug 2004 07:12:55 -0000 1.5 +++ FontWeightManager.java 3 Dec 2004 12:20:15 -0000 1.6 @@ -214,7 +214,7 @@ /** * Implements {@link IdentifierManager#getIdentifiers()}. */ - protected StringMap getIdentifiers() { + public StringMap getIdentifiers() { return values; } } 1.5 +2 -2 xml-batik/sources/org/apache/batik/css/engine/value/css2/OverflowManager.java Index: OverflowManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/value/css2/OverflowManager.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- OverflowManager.java 18 Aug 2004 07:12:55 -0000 1.4 +++ OverflowManager.java 3 Dec 2004 12:20:15 -0000 1.5 @@ -73,7 +73,7 @@ /** * Implements {@link IdentifierManager#getIdentifiers()}. */ - protected StringMap getIdentifiers() { + public StringMap getIdentifiers() { return values; } } 1.7 +2 -2 xml-batik/sources/org/apache/batik/css/engine/value/css2/SrcManager.java Index: SrcManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/value/css2/SrcManager.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- SrcManager.java 18 Aug 2004 07:12:55 -0000 1.6 +++ SrcManager.java 3 Dec 2004 12:20:15 -0000 1.7 @@ -166,7 +166,7 @@ /** * Implements {@link IdentifierManager#getIdentifiers()}. */ - protected StringMap getIdentifiers() { + public StringMap getIdentifiers() { return values; } } 1.5 +2 -2 xml-batik/sources/org/apache/batik/css/engine/value/css2/UnicodeBidiManager.java Index: UnicodeBidiManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/value/css2/UnicodeBidiManager.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- UnicodeBidiManager.java 18 Aug 2004 07:12:56 -0000 1.4 +++ UnicodeBidiManager.java 3 Dec 2004 12:20:15 -0000 1.5 @@ -71,7 +71,7 @@ /** * Implements {@link IdentifierManager#getIdentifiers()}. */ - protected StringMap getIdentifiers() { + public StringMap getIdentifiers() { return values; } } 1.5 +2 -2 xml-batik/sources/org/apache/batik/css/engine/value/css2/VisibilityManager.java Index: VisibilityManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/value/css2/VisibilityManager.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- VisibilityManager.java 30 Oct 2004 18:38:04 -0000 1.4 +++ VisibilityManager.java 3 Dec 2004 12:20:15 -0000 1.5 @@ -72,7 +72,7 @@ /** * Implements {@link IdentifierManager#getIdentifiers()}. */ - protected StringMap getIdentifiers() { + public StringMap getIdentifiers() { return values; } } 1.5 +2 -2 xml-batik/sources/org/apache/batik/css/engine/value/svg/AlignmentBaselineManager.java Index: AlignmentBaselineManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/value/svg/AlignmentBaselineManager.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- AlignmentBaselineManager.java 18 Aug 2004 07:12:57 -0000 1.4 +++ AlignmentBaselineManager.java 3 Dec 2004 12:20:16 -0000 1.5 @@ -86,7 +86,7 @@ /** * Implements {@link IdentifierManager#getIdentifiers()}. */ - protected StringMap getIdentifiers() { + public StringMap getIdentifiers() { return values; } } 1.5 +2 -2 xml-batik/sources/org/apache/batik/css/engine/value/svg/ClipRuleManager.java Index: ClipRuleManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/value/svg/ClipRuleManager.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- ClipRuleManager.java 18 Aug 2004 07:12:57 -0000 1.4 +++ ClipRuleManager.java 3 Dec 2004 12:20:16 -0000 1.5 @@ -68,7 +68,7 @@ /** * Implements {@link IdentifierManager#getIdentifiers()}. */ - protected StringMap getIdentifiers() { + public StringMap getIdentifiers() { return values; } } 1.5 +2 -2 xml-batik/sources/org/apache/batik/css/engine/value/svg/ColorInterpolationManager.java Index: ColorInterpolationManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/value/svg/ColorInterpolationManager.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- ColorInterpolationManager.java 18 Aug 2004 07:12:57 -0000 1.4 +++ ColorInterpolationManager.java 3 Dec 2004 12:20:16 -0000 1.5 @@ -70,7 +70,7 @@ /** * Implements {@link IdentifierManager#getIdentifiers()}. */ - protected StringMap getIdentifiers() { + public StringMap getIdentifiers() { return values; } } 1.5 +2 -2 xml-batik/sources/org/apache/batik/css/engine/value/svg/ColorRenderingManager.java Index: ColorRenderingManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/value/svg/ColorRenderingManager.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- ColorRenderingManager.java 18 Aug 2004 07:12:57 -0000 1.4 +++ ColorRenderingManager.java 3 Dec 2004 12:20:16 -0000 1.5 @@ -70,7 +70,7 @@ /** * Implements {@link IdentifierManager#getIdentifiers()}. */ - protected StringMap getIdentifiers() { + public StringMap getIdentifiers() { return values; } } 1.5 +2 -2 xml-batik/sources/org/apache/batik/css/engine/value/svg/DominantBaselineManager.java Index: DominantBaselineManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/value/svg/DominantBaselineManager.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- DominantBaselineManager.java 18 Aug 2004 07:12:57 -0000 1.4 +++ DominantBaselineManager.java 3 Dec 2004 12:20:16 -0000 1.5 @@ -92,7 +92,7 @@ /** * Implements {@link IdentifierManager#getIdentifiers()}. */ - protected StringMap getIdentifiers() { + public StringMap getIdentifiers() { return values; } } 1.5 +2 -2 xml-batik/sources/org/apache/batik/css/engine/value/svg/FillRuleManager.java Index: FillRuleManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/value/svg/FillRuleManager.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- FillRuleManager.java 18 Aug 2004 07:12:57 -0000 1.4 +++ FillRuleManager.java 3 Dec 2004 12:20:16 -0000 1.5 @@ -68,7 +68,7 @@ /** * Implements {@link IdentifierManager#getIdentifiers()}. */ - protected StringMap getIdentifiers() { + public StringMap getIdentifiers() { return values; } } 1.5 +2 -2 xml-batik/sources/org/apache/batik/css/engine/value/svg/ImageRenderingManager.java Index: ImageRenderingManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/value/svg/ImageRenderingManager.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- ImageRenderingManager.java 18 Aug 2004 07:12:57 -0000 1.4 +++ ImageRenderingManager.java 3 Dec 2004 12:20:16 -0000 1.5 @@ -70,7 +70,7 @@ /** * Implements {@link IdentifierManager#getIdentifiers()}. */ - protected StringMap getIdentifiers() { + public StringMap getIdentifiers() { return values; } } 1.5 +2 -2 xml-batik/sources/org/apache/batik/css/engine/value/svg/PointerEventsManager.java Index: PointerEventsManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/value/svg/PointerEventsManager.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- PointerEventsManager.java 18 Aug 2004 07:12:57 -0000 1.4 +++ PointerEventsManager.java 3 Dec 2004 12:20:16 -0000 1.5 @@ -86,7 +86,7 @@ /** * Implements {@link IdentifierManager#getIdentifiers()}. */ - protected StringMap getIdentifiers() { + public StringMap getIdentifiers() { return values; } } 1.5 +2 -2 xml-batik/sources/org/apache/batik/css/engine/value/svg/ShapeRenderingManager.java Index: ShapeRenderingManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/value/svg/ShapeRenderingManager.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- ShapeRenderingManager.java 18 Aug 2004 07:12:58 -0000 1.4 +++ ShapeRenderingManager.java 3 Dec 2004 12:20:16 -0000 1.5 @@ -72,7 +72,7 @@ /** * Implements {@link IdentifierManager#getIdentifiers()}. */ - protected StringMap getIdentifiers() { + public StringMap getIdentifiers() { return values; } } 1.5 +2 -2 xml-batik/sources/org/apache/batik/css/engine/value/svg/StrokeLinecapManager.java Index: StrokeLinecapManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/value/svg/StrokeLinecapManager.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- StrokeLinecapManager.java 18 Aug 2004 07:12:58 -0000 1.4 +++ StrokeLinecapManager.java 3 Dec 2004 12:20:16 -0000 1.5 @@ -70,7 +70,7 @@ /** * Implements {@link IdentifierManager#getIdentifiers()}. */ - protected StringMap getIdentifiers() { + public StringMap getIdentifiers() { return values; } } 1.5 +2 -2 xml-batik/sources/org/apache/batik/css/engine/value/svg/StrokeLinejoinManager.java Index: StrokeLinejoinManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/value/svg/StrokeLinejoinManager.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- StrokeLinejoinManager.java 18 Aug 2004 07:12:58 -0000 1.4 +++ StrokeLinejoinManager.java 3 Dec 2004 12:20:16 -0000 1.5 @@ -70,7 +70,7 @@ /** * Implements {@link IdentifierManager#getIdentifiers()}. */ - protected StringMap getIdentifiers() { + public StringMap getIdentifiers() { return values; } } 1.5 +2 -2 xml-batik/sources/org/apache/batik/css/engine/value/svg/TextAnchorManager.java Index: TextAnchorManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/value/svg/TextAnchorManager.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- TextAnchorManager.java 18 Aug 2004 07:12:58 -0000 1.4 +++ TextAnchorManager.java 3 Dec 2004 12:20:16 -0000 1.5 @@ -70,7 +70,7 @@ /** * Implements {@link IdentifierManager#getIdentifiers()}. */ - protected StringMap getIdentifiers() { + public StringMap getIdentifiers() { return values; } } 1.5 +2 -2 xml-batik/sources/org/apache/batik/css/engine/value/svg/TextRenderingManager.java Index: TextRenderingManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/value/svg/TextRenderingManager.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- TextRenderingManager.java 18 Aug 2004 07:12:58 -0000 1.4 +++ TextRenderingManager.java 3 Dec 2004 12:20:16 -0000 1.5 @@ -72,7 +72,7 @@ /** * Implements {@link IdentifierManager#getIdentifiers()}. */ - protected StringMap getIdentifiers() { + public StringMap getIdentifiers() { return values; } } 1.5 +2 -2 xml-batik/sources/org/apache/batik/css/engine/value/svg/WritingModeManager.java Index: WritingModeManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/value/svg/WritingModeManager.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- WritingModeManager.java 30 Oct 2004 18:38:04 -0000 1.4 +++ WritingModeManager.java 3 Dec 2004 12:20:16 -0000 1.5 @@ -77,7 +77,7 @@ /** * Implements {@link IdentifierManager#getIdentifiers()}. */ - protected StringMap getIdentifiers() { + public StringMap getIdentifiers() { return values; } } 1.2 +5 -1 xml-batik/sources/org/apache/batik/css/engine/value/svg12/MarginShorthandManager.java Index: MarginShorthandManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/value/svg12/MarginShorthandManager.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- MarginShorthandManager.java 18 Nov 2004 01:46:56 -0000 1.1 +++ MarginShorthandManager.java 3 Dec 2004 12:20:16 -0000 1.2 @@ -58,6 +58,9 @@ LexicalUnit []lus = new LexicalUnit[4]; int cnt=0; while (lu != null) { + if (cnt == 4) + throw createInvalidLexicalUnitDOMException + (lu.getLexicalUnitType()); lus[cnt++] = lu; lu = lu.getNextLexicalUnit(); } @@ -67,6 +70,7 @@ case 3: lus[3] = lus[1]; break; default: } + ph.property(SVG12CSSConstants.CSS_MARGIN_TOP_PROPERTY, lus[0], imp); ph.property(SVG12CSSConstants.CSS_MARGIN_RIGHT_PROPERTY, lus[1], imp); ph.property(SVG12CSSConstants.CSS_MARGIN_BOTTOM_PROPERTY, lus[2], imp); 1.2 +2 -2 xml-batik/sources/org/apache/batik/css/engine/value/svg12/TextAlignManager.java Index: TextAlignManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/engine/value/svg12/TextAlignManager.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- TextAlignManager.java 18 Nov 2004 01:46:56 -0000 1.1 +++ TextAlignManager.java 3 Dec 2004 12:20:16 -0000 1.2 @@ -74,7 +74,7 @@ /** * Implements {@link IdentifierManager#getIdentifiers()}. */ - protected StringMap getIdentifiers() { + public StringMap getIdentifiers() { return values; } } 1.25 +7 -2 xml-batik/sources/org/apache/batik/util/CSSConstants.java Index: CSSConstants.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/util/CSSConstants.java,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- CSSConstants.java 18 Aug 2004 07:15:48 -0000 1.24 +++ CSSConstants.java 3 Dec 2004 12:20:16 -0000 1.25 @@ -140,6 +140,7 @@ String CSS_BUTT_VALUE = "butt"; String CSS_CADETBLUE_VALUE = "cadetblue"; String CSS_CAPTIONTEXT_VALUE = "captiontext"; + String CSS_CAPTION_VALUE = "caption"; String CSS_CENTER_VALUE = "center"; String CSS_CENTRAL_VALUE = "central"; String CSS_CHARTREUSE_VALUE = "chartreuse"; @@ -212,6 +213,7 @@ String CSS_HIGHLIGHT_VALUE = "highlight"; String CSS_HONEYDEW_VALUE = "honeydew"; String CSS_HOTPINK_VALUE = "hotpink"; + String CSS_ICON_VALUE = "icon"; String CSS_IDEOGRAPHIC_VALUE = "ideographic"; String CSS_INACTIVEBORDER_VALUE = "inactiveborder"; String CSS_INACTIVECAPTIONTEXT_VALUE = "inactivecaptiontext"; @@ -271,8 +273,9 @@ String CSS_MEDIUMTURQUOISE_VALUE = "mediumturquoise"; String CSS_MEDIUMVIOLETRED_VALUE = "mediumvioletred"; String CSS_MEDIUM_VALUE = "medium"; - String CSS_MENUTEXT_VALUE = "menutext"; String CSS_MENU_VALUE = "menu"; + String CSS_MENUTEXT_VALUE = "menutext"; + String CSS_MESSAGE_BOX_VALUE = "message-box"; String CSS_MIDDLE_VALUE = "middle"; String CSS_MIDNIGHTBLUE_VALUE = "midnightblue"; String CSS_MINTCREAM_VALUE = "mintcream"; @@ -346,12 +349,14 @@ String CSS_SLATEGREY_VALUE = "slategrey"; String CSS_SMALLER_VALUE = "smaller"; String CSS_SMALL_CAPS_VALUE = "small-caps"; + String CSS_SMALL_CAPTION_VALUE = "small-caption"; String CSS_SMALL_VALUE = "small"; String CSS_SNOW_VALUE = "snow"; String CSS_SPRINGGREEN_VALUE = "springgreen"; String CSS_SQUARE_VALUE = "square"; String CSS_SRGB_VALUE = "srgb"; String CSS_START_VALUE = "start"; + String CSS_STATUS_BAR_VALUE = "status-bar"; String CSS_STEELBLUE_VALUE = "steelblue"; String CSS_STROKE_VALUE = "stroke"; String CSS_SUB_VALUE = "sub"; 1.1 xml-batik/test-references/samples/tests/spec/styling/fontShorthand.png <<Binary file>> 1.1 xml-batik/test-references/samples/tests/spec12/text/lineHeightFontShorthand.png <<Binary file>> 1.122 +5 -1 xml-batik/test-resources/org/apache/batik/test/samplesRendering.xml Index: samplesRendering.xml =================================================================== RCS file: /home/cvs/xml-batik/test-resources/org/apache/batik/test/samplesRendering.xml,v retrieving revision 1.121 retrieving revision 1.122 diff -u -r1.121 -r1.122 --- samplesRendering.xml 30 Nov 2004 03:23:58 -0000 1.121 +++ samplesRendering.xml 3 Dec 2004 12:20:16 -0000 1.122 @@ -72,6 +72,9 @@ <test id="samples/tests/spec12/text/flowRegionBreak.svg" > <property name="Validating" class="java.lang.Boolean" value="false" /> </test> + <test id="samples/tests/spec12/text/lineHeightFontShorthand.svg" > + <property name="Validating" class="java.lang.Boolean" value="false" /> + </test> <test id="samples/tests/spec12/structure/multi.svg" > <property name="Validating" class="java.lang.Boolean" value="false" /> </test> @@ -291,6 +294,7 @@ <test id="samples/tests/spec/styling/cssMedia.svg" /> <test id="samples/tests/spec/styling/cssMediaList.svg" /> <test id="samples/tests/spec/styling/emptyStyle.svg" /> + <test id="samples/tests/spec/styling/fontShorthand.svg" /> <test id="samples/tests/spec/styling/smiley.svg" /> <test id="samples/tests/spec/styling/styleElement.svg" /> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Dec 04 18:40:51 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31868 invoked from network); 4 Dec 2004 18:40:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 4 Dec 2004 18:40:51 -0000 Received: (qmail 51796 invoked by uid 500); 4 Dec 2004 18:40:50 -0000 Delivered-To: [email protected] Received: (qmail 51776 invoked by uid 500); 4 Dec 2004 18:40:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51761 invoked by uid 500); 4 Dec 2004 18:40:49 -0000 Delivered-To: [email protected] X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Date: 4 Dec 2004 18:40:45 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: xml-batik/test-resources/org/apache/batik/test samplesRendering.xml X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N deweese 2004/12/04 10:40:45 Modified: sources/org/apache/batik/gvt/flow FlowGlyphLayout.java LineInfo.java test-resources/org/apache/batik/test samplesRendering.xml Added: samples/tests/spec12/text flowBidi.svg test-references/samples/tests/spec12/text flowBidi.png Log: Fixed a bug in BIDI handling in flowRoot element. Revision Changes Path 1.1 xml-batik/samples/tests/spec12/text/flowBidi.svg Index: flowBidi.svg =================================================================== <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> <!-- Copyright 2002-2003 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <!-- ====================================================================== --> <!-- Tests various text on a path --> <!-- --> <!-- @author [email protected] --> <!-- @version $Id: flowBidi.svg,v 1.1 2004/12/04 18:40:45 deweese Exp $ --> <!-- ====================================================================== --> <svg id="body" width="450" height="500" viewBox="0 0 450 500" xmlns="http://www.w3.org/2000/svg" version="1.2" xmlns:xlink="http://www.w3.org/1999/xlink" > <title>Test of Text wrapping stuff.</title> <g id="content" > <text class="title" x="50%" y="40">Test of Text wrapping stuff</text> <!-- Space after size 40 'that' is aci 45 --> <rect x="17" y="80" width="200" height="200" fill="rgb(220,220,255)"/> <rect x="233" y="80" width="200" height="200" fill="rgb(220,220,255)"/> <rect x="17" y="290" width="200" height="150" fill="rgb(220,220,255)"/> <rect x="220" y="290" width="10" height="150" fill="rgb(220,220,255)"/> <rect x="233" y="290" width="200" height="150" fill="rgb(220,220,255)"/> <!-- <line x1="27" y1="70" x2="27" y2="490" stroke="grey" fill="none"/> <line x1="207" y1="70" x2="207" y2="490" stroke="grey" fill="none"/> <line x1="243" y1="70" x2="243" y2="490" stroke="grey" fill="none"/> <line x1="423" y1="70" x2="423" y2="490" stroke="grey" fill="none"/> --> <flowRoot font-size="20" xml:space="preserve"> <flowRegion> <rect x="17" y="80" width="200" height="200"/> <rect x="233" y="80" width="200" height="200"/> </flowRegion> <flowDiv> <flowPara indent="20" margin-bottom="10" >Some <flowSpan fill="darkred" direction="rtl" unicode-bidi="embed">(embedded bidi)</flowSpan> of text.</flowPara> <flowPara>Some text goes <flowSpan fill="blue" direction="rtl" unicode-bidi="bidi-override">(right to left)</flowSpan>, other text goes (left to right).</flowPara> <flowPara>arabic: &#x621;&#x200B;&#x200B;&#x623;&#x200B;&#x624;&#x200B;&#x625;&#x200B;&#x626;&#x200B;&#x627;&#x200B;&#x628;&#x200B;&#x629;&#x200B;&#x62a;&#x200B;&#x62b;&#x200B;&#x62c;&#x200B;&#x62d;&#x200B;&#x62e;&#x200B;&#x62f;&#x200B;&#x630;&#x200B;&#x631;&#x200B;&#x632;&#x200B;&#x633;&#x200B;&#x634;&#x200B;&#x635;&#x200B;&#x636;&#x200B;&#x637;&#x200B;&#x638;&#x200B;&#x639;&#x200B;&#x640;&#x200B;&#x641;&#x200B;&#x642;&#x200B;&#x643;&#x200B;&#x644;&#x200B;&#x645;&#x200B;&#x646;&#x200B;&#x647;&#x200B;&#x648;&#x200B;&#x649;&#x200B;&#x650;&#x200B;&#x676;</flowPara> </flowDiv> </flowRoot> <flowRoot font-size="20" xml:space="preserve"> <flowRegion> <path d="M 17,290 v150 h200 v-150 z M 220,290 v150 h10 v-150 z M 233,290 v150 h200 v-150 z"/> </flowRegion> <flowDiv> <flowPara indent="20" margin-bottom="10" >Some <flowSpan fill="darkred" direction="rtl" unicode-bidi="embed">(embedded bidi)</flowSpan> of text.</flowPara> <flowPara>Some text goes <flowSpan fill="blue" direction="rtl" unicode-bidi="bidi-override">(right to left)</flowSpan>, other text goes (left to right).</flowPara> <flowPara>arabic: &#x621;&#x200B;&#x200B;&#x623;&#x200B;&#x624;&#x200B;&#x625;&#x200B;&#x626;&#x200B;&#x627;&#x200B;&#x628;&#x200B;&#x629;&#x200B;&#x62a;&#x200B;&#x62b;&#x200B;&#x62c;&#x200B;&#x62d;&#x200B;&#x62e;&#x200B;&#x62f;&#x200B;&#x630;&#x200B;&#x631;&#x200B;&#x632;&#x200B;&#x633;&#x200B;&#x634;&#x200B;&#x635;&#x200B;&#x636;&#x200B;&#x637;&#x200B;&#x638;&#x200B;&#x639;&#x200B;&#x640;&#x200B;&#x641;&#x200B;&#x642;&#x200B;&#x643;&#x200B;&#x644;&#x200B;&#x645;&#x200B;&#x646;&#x200B;&#x647;&#x200B;&#x648;&#x200B;&#x649;&#x200B;&#x650;&#x200B;&#x676;</flowPara> </flowDiv> </flowRoot> </g> </svg> 1.3 +12 -10 xml-batik/sources/org/apache/batik/gvt/flow/FlowGlyphLayout.java Index: FlowGlyphLayout.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/gvt/flow/FlowGlyphLayout.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- FlowGlyphLayout.java 2 Dec 2004 01:24:37 -0000 1.2 +++ FlowGlyphLayout.java 4 Dec 2004 18:40:45 -0000 1.3 @@ -385,6 +385,7 @@ int []wordGlyphGroupsCounts = new int [words]; for (int i=0; i<numGlyphs; i++) { int cWord = glyphWords[i]; + // System.err.println("CW: " + cWord); int [] wgs = wordGlyphs[cWord]; if (wgs == null) { wgs = wordGlyphs[cWord] @@ -408,6 +409,7 @@ for (int i=0; i<words; i++) { int cnt = wordGlyphGroupsCounts[i]; + // System.err.println("WGGC: " + cnt); GlyphGroupInfo []wordGlyphGroups = new GlyphGroupInfo[cnt]; if (cnt == 1) { int [] glyphs = wordGlyphs[i]; @@ -418,21 +420,21 @@ glyphPos, advAdj, lastAdvAdj, space); } else { int glyphGroup = 0; - int []wordGlyph = wordGlyphs[i]; - int prev = wordGlyph[0]; - int start = 0; - for (int j=1; j<wordGlyph.length; j++) { - if (prev+1 != wordGlyph[j]) { - int end = j-1; + int []glyphs = wordGlyphs[i]; + int prev = glyphs[0]; + int start = prev; + for (int j=1; j<glyphs.length; j++) { + if (prev+1 != glyphs[j]) { + int end = glyphs[j-1]; wordGlyphGroups[glyphGroup] = new GlyphGroupInfo (gv, start, end, hide, hideLast[end], glyphPos, advAdj, lastAdvAdj, space); - start = j; + start = glyphs[j]; glyphGroup++; } - prev = wordGlyph[j]; + prev = glyphs[j]; } - int end = wordGlyph.length-1; + int end = glyphs[glyphs.length-1]; wordGlyphGroups[glyphGroup] = new GlyphGroupInfo (gv, start, end, hide, hideLast[end], glyphPos, advAdj, lastAdvAdj, space); 1.4 +5 -1 xml-batik/sources/org/apache/batik/gvt/flow/LineInfo.java Index: LineInfo.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/gvt/flow/LineInfo.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- LineInfo.java 2 Dec 2004 01:24:37 -0000 1.3 +++ LineInfo.java 4 Dec 2004 18:40:45 -0000 1.4 @@ -310,6 +310,10 @@ newGGIS[newSize++] = wi.getGlyphGroup(i++); } } + // for (int i=0; i<newSize; i++) { + // System.err.println("GGIS["+i+"]: " + newGGIS[i].start + " -> " + + // newGGIS[i].end); + // } } 1.1 xml-batik/test-references/samples/tests/spec12/text/flowBidi.png <<Binary file>> 1.123 +4 -1 xml-batik/test-resources/org/apache/batik/test/samplesRendering.xml Index: samplesRendering.xml =================================================================== RCS file: /home/cvs/xml-batik/test-resources/org/apache/batik/test/samplesRendering.xml,v retrieving revision 1.122 retrieving revision 1.123 diff -u -r1.122 -r1.123 --- samplesRendering.xml 3 Dec 2004 12:20:16 -0000 1.122 +++ samplesRendering.xml 4 Dec 2004 18:40:45 -0000 1.123 @@ -54,6 +54,9 @@ </testGroup> <testGroup id="svg1.2" name="SVG Version 1.2 functionality tests"> + <test id="samples/tests/spec12/text/flowBidi.svg" > + <property name="Validating" class="java.lang.Boolean" value="false" /> + </test> <test id="samples/tests/spec12/text/flowText.svg" > <property name="Validating" class="java.lang.Boolean" value="false" /> </test> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Dec 04 19:17:42 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44473 invoked from network); 4 Dec 2004 19:17:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 4 Dec 2004 19:17:42 -0000 Received: (qmail 91033 invoked by uid 500); 4 Dec 2004 19:17:41 -0000 Delivered-To: [email protected] Received: (qmail 90890 invoked by uid 500); 4 Dec 2004 19:17:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 90876 invoked by uid 500); 4 Dec 2004 19:17:41 -0000 Delivered-To: [email protected] X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Date: 4 Dec 2004 19:17:39 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: xml-batik/sources/org/apache/batik/css/engine/value/css2 FontShorthandManager.java X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N deweese 2004/12/04 11:17:39 Added: sources/org/apache/batik/css/engine/value/css2 FontShorthandManager.java Log: Missed file. Revision Changes Path 1.1 xml-batik/sources/org/apache/batik/css/engine/value/css2/FontShorthandManager.java Index: FontShorthandManager.java =================================================================== /* Copyright 2004 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package org.apache.batik.css.engine.value.css2; import java.util.HashSet; import java.util.Set; import org.apache.batik.css.engine.CSSEngine; import org.apache.batik.css.engine.value.ValueManager; import org.apache.batik.css.engine.value.IdentifierManager; import org.apache.batik.css.engine.value.AbstractValueFactory; import org.apache.batik.css.engine.value.ShorthandManager; import org.apache.batik.css.engine.value.StringMap; import org.apache.batik.css.parser.CSSLexicalUnit; import org.apache.batik.util.CSSConstants; import org.w3c.css.sac.LexicalUnit; import org.w3c.dom.DOMException; /** * This class provides support for the CSS2 'font' shorthand property. * * The form of this property is: * [ [ <font-style> || <font-variant> || <font-weight> ]? * <font-size> [ / <line-height> ]? <font-family> ] | * caption | icon | menu | message-box | small-caption | * status-bar | inherit * * It is worth noting that there is a potential ambiguity * between font-size and font-weight since in SVG they can both * be unitless. This is solved by considering the 'last' number * before an 'ident' or '/' to be font-size and any preceeding * number to be font-weight. * * @author <a href="mailto:[email protected]>deweese</a> * @version $Id: FontShorthandManager.java,v 1.1 2004/12/04 19:17:39 deweese Exp $ */ public class FontShorthandManager extends AbstractValueFactory implements ShorthandManager { public FontShorthandManager() { } /** * Implements {@link ValueManager#getPropertyName()}. */ public String getPropertyName() { return CSSConstants.CSS_FONT_PROPERTY; } static LexicalUnit NORMAL_LU = CSSLexicalUnit.createString (LexicalUnit.SAC_IDENT, CSSConstants.CSS_NORMAL_VALUE, null); static LexicalUnit BOLD_LU = CSSLexicalUnit.createString (LexicalUnit.SAC_IDENT, CSSConstants.CSS_BOLD_VALUE, null); static LexicalUnit MEDIUM_LU = CSSLexicalUnit.createString (LexicalUnit.SAC_IDENT, CSSConstants.CSS_MEDIUM_VALUE, null); static LexicalUnit SZ_10PT_LU = CSSLexicalUnit.createFloat (LexicalUnit.SAC_POINT, 10, null); static LexicalUnit SZ_8PT_LU = CSSLexicalUnit.createFloat (LexicalUnit.SAC_POINT, 8, null); static LexicalUnit FONT_FAMILY_LU; static { LexicalUnit lu; FONT_FAMILY_LU = CSSLexicalUnit.createString (LexicalUnit.SAC_IDENT, "Dialog", null); lu = CSSLexicalUnit.createString (LexicalUnit.SAC_IDENT, "Helvetica", FONT_FAMILY_LU); CSSLexicalUnit.createString (LexicalUnit.SAC_IDENT, CSSConstants.CSS_SANS_SERIF_VALUE, lu); } protected final static Set values = new HashSet(); static { values.add(CSSConstants.CSS_CAPTION_VALUE); values.add(CSSConstants.CSS_ICON_VALUE); values.add(CSSConstants.CSS_MENU_VALUE); values.add(CSSConstants.CSS_MESSAGE_BOX_VALUE); values.add(CSSConstants.CSS_SMALL_CAPTION_VALUE); values.add(CSSConstants.CSS_STATUS_BAR_VALUE); } public void handleSystemFont(CSSEngine eng, ShorthandManager.PropertyHandler ph, String s, boolean imp) { LexicalUnit fontStyle = NORMAL_LU; LexicalUnit fontVariant = NORMAL_LU; LexicalUnit fontWeight = NORMAL_LU; LexicalUnit lineHeight = NORMAL_LU; LexicalUnit fontFamily = FONT_FAMILY_LU; LexicalUnit fontSize; if (s.equals(CSSConstants.CSS_SMALL_CAPTION_VALUE)) { fontSize = SZ_8PT_LU; } else { fontSize = SZ_10PT_LU; } ph.property(CSSConstants.CSS_FONT_FAMILY_PROPERTY, fontFamily, imp); ph.property(CSSConstants.CSS_FONT_STYLE_PROPERTY, fontStyle, imp); ph.property(CSSConstants.CSS_FONT_VARIANT_PROPERTY, fontVariant, imp); ph.property(CSSConstants.CSS_FONT_WEIGHT_PROPERTY, fontWeight, imp); ph.property(CSSConstants.CSS_FONT_SIZE_PROPERTY, fontSize, imp); ph.property(CSSConstants.CSS_LINE_HEIGHT_PROPERTY, lineHeight, imp); } /** * Implements {@link ShorthandManager#setValues(CSSEngine,ShorthandManager.PropertyHandler,LexicalUnit,boolean)}. */ public void setValues(CSSEngine eng, ShorthandManager.PropertyHandler ph, LexicalUnit lu, boolean imp) { switch (lu.getLexicalUnitType()) { case LexicalUnit.SAC_INHERIT: return; case LexicalUnit.SAC_IDENT: { String s= lu.getStringValue().toLowerCase(); if (values.contains(s)) { handleSystemFont(eng, ph, s, imp); return; } } } LexicalUnit fontStyle = null; LexicalUnit fontVariant = null; LexicalUnit fontWeight = null; LexicalUnit fontSize = null; LexicalUnit lineHeight = null; LexicalUnit fontFamily = null; ValueManager[]vMgrs = eng.getValueManagers(); int fst, fv, fw, fsz, lh, ff; fst = eng.getPropertyIndex(CSSConstants.CSS_FONT_STYLE_PROPERTY); fv = eng.getPropertyIndex(CSSConstants.CSS_FONT_VARIANT_PROPERTY); fw = eng.getPropertyIndex(CSSConstants.CSS_FONT_WEIGHT_PROPERTY); fsz = eng.getPropertyIndex(CSSConstants.CSS_FONT_SIZE_PROPERTY); lh = eng.getPropertyIndex(CSSConstants.CSS_LINE_HEIGHT_PROPERTY); ff = eng.getPropertyIndex(CSSConstants.CSS_FONT_FAMILY_PROPERTY); IdentifierManager fstVM = (IdentifierManager)vMgrs[fst]; IdentifierManager fvVM = (IdentifierManager)vMgrs[fv]; IdentifierManager fwVM = (IdentifierManager)vMgrs[fw]; FontSizeManager fszVM = (FontSizeManager)vMgrs[fsz]; ValueManager ffVM = vMgrs[ff]; StringMap fstSM = fstVM.getIdentifiers(); StringMap fvSM = fvVM.getIdentifiers(); StringMap fwSM = fwVM.getIdentifiers(); StringMap fszSM = fszVM.getIdentifiers(); // Check for font-style, font-varient, & font-weight // These are all optional. boolean svwDone= false; LexicalUnit intLU = null;; while (!svwDone && (lu != null)) { switch (lu.getLexicalUnitType()) { case LexicalUnit.SAC_IDENT: { String s= lu.getStringValue().toLowerCase().intern(); if ((fontStyle == null) && (fstSM.get(s) != null)) { fontStyle = lu; if (intLU != null) { if (fontWeight == null) { fontWeight = intLU; intLU = null; } else throw createInvalidLexicalUnitDOMException (intLU.getLexicalUnitType()); } break; } if ((fontVariant == null) && (fvSM.get(s) != null)) { fontVariant = lu; if (intLU != null) { if (fontWeight == null) { fontWeight = intLU; intLU = null; } else throw createInvalidLexicalUnitDOMException (intLU.getLexicalUnitType()); } break; } if ((intLU == null) && (fontWeight == null) && (fwSM.get(s) != null)) { fontWeight = lu; break; } svwDone = true; break; } case LexicalUnit.SAC_INTEGER: if ((intLU == null) && (fontWeight == null)) { intLU = lu; break; } svwDone = true; break; default: // All other must be size,'/line-height', family svwDone = true; break; } if (!svwDone) lu = lu.getNextLexicalUnit(); } // Must have font-size. if (lu == null) throw createMalformedLexicalUnitDOMException(); // Now we need to get font-size switch (lu.getLexicalUnitType()) { case LexicalUnit.SAC_IDENT: { String s= lu.getStringValue().toLowerCase().intern(); if (fszSM.get(s) != null) { fontSize = lu; // This is a font-size ident. lu = lu.getNextLexicalUnit(); } } break; case LexicalUnit.SAC_EM: case LexicalUnit.SAC_EX: case LexicalUnit.SAC_PIXEL: case LexicalUnit.SAC_CENTIMETER: case LexicalUnit.SAC_MILLIMETER: case LexicalUnit.SAC_INCH: case LexicalUnit.SAC_POINT: case LexicalUnit.SAC_PICA: case LexicalUnit.SAC_INTEGER: case LexicalUnit.SAC_REAL: case LexicalUnit.SAC_PERCENTAGE: fontSize = lu; lu = lu.getNextLexicalUnit(); break; } if (fontSize == null) { // We must have a font-size so see if we can use intLU... if (intLU != null) { fontSize = intLU; // Yup! intLU = null; } else { throw createInvalidLexicalUnitDOMException (lu.getLexicalUnitType()); } } if (intLU != null) { // We have a intLU left see if we can use it as font-weight if (fontWeight == null) { fontWeight = intLU; // use intLU as font-weight. } else { // we have an 'extra' integer in property. throw createInvalidLexicalUnitDOMException (intLU.getLexicalUnitType()); } } // Must have Font-Family, so if it's null now we are done! if (lu == null) throw createMalformedLexicalUnitDOMException(); // Now at this point we want to look for // line-height. switch (lu.getLexicalUnitType()) { case LexicalUnit.SAC_OPERATOR_SLASH: // we have line-height lu = lu.getNextLexicalUnit(); if (lu == null) // OOPS! throw createMalformedLexicalUnitDOMException(); lineHeight = lu; lu = lu.getNextLexicalUnit(); break; } // Must have Font-Family, so if it's null now we are done! if (lu == null) throw createMalformedLexicalUnitDOMException(); fontFamily = lu; if (fontStyle == null) fontStyle = NORMAL_LU; if (fontVariant == null) fontVariant = NORMAL_LU; if (fontWeight == null) fontWeight = NORMAL_LU; if (lineHeight == null) lineHeight = NORMAL_LU; ph.property(CSSConstants.CSS_FONT_FAMILY_PROPERTY, fontFamily, imp); ph.property(CSSConstants.CSS_FONT_STYLE_PROPERTY, fontStyle, imp); ph.property(CSSConstants.CSS_FONT_VARIANT_PROPERTY, fontVariant, imp); ph.property(CSSConstants.CSS_FONT_WEIGHT_PROPERTY, fontWeight, imp); ph.property(CSSConstants.CSS_FONT_SIZE_PROPERTY, fontSize, imp); if (lh!=-1) ph.property(CSSConstants.CSS_LINE_HEIGHT_PROPERTY, lineHeight, imp); } } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Dec 06 10:31:38 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49072 invoked from network); 6 Dec 2004 10:31:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 6 Dec 2004 10:31:38 -0000 Received: (qmail 93407 invoked by uid 500); 6 Dec 2004 10:31:37 -0000 Delivered-To: [email protected] Received: (qmail 93376 invoked by uid 500); 6 Dec 2004 10:31:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 93360 invoked by uid 99); 6 Dec 2004 10:31:36 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Message-ID: <[email protected]> Date: Mon, 06 Dec 2004 11:31:12 +0100 From: Harald Kuhn <[email protected]> User-Agent: Mozilla Thunderbird 1.0RC1 (Windows/20041201) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: [email protected] CC: [email protected] Subject: getTextLenght in SVGOMTextContentElement and Subclasses Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Stephane, I am trying to get the rendered length of a SVG Text Element. As far as i understood, the getTextLength() Method of SVGTextContentElement is supposed to do this. However when i tried this, a RuntimeException was thrown and by looking at the code I found out that the Method returns an implementation of AbstractSVGAnimatedLength where getDefaultValue() and getAnimatedValue() are not implemented. My question is, wether there are any plans for implementing this method(s) ? Cheers, Harald --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Dec 06 10:56:50 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64896 invoked from network); 6 Dec 2004 10:56:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 6 Dec 2004 10:56:49 -0000 Received: (qmail 37576 invoked by uid 500); 6 Dec 2004 10:56:47 -0000 Delivered-To: [email protected] Received: (qmail 37557 invoked by uid 500); 6 Dec 2004 10:56:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 37542 invoked by uid 99); 6 Dec 2004 10:56:47 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Message-ID: <[email protected]> Date: Mon, 06 Dec 2004 05:56:34 -0500 From: Thomas DeWeese <[email protected]> Organization: Eastman Kodak Company User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] CC: [email protected] Subject: Re: getTextLenght in SVGOMTextContentElement and Subclasses References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Harald, Harald Kuhn wrote: > I am trying to get the rendered length of a SVG Text Element. As far as > i understood, the getTextLength() Method of SVGTextContentElement is > supposed to do this. No you want the "getComputedTextLength" function, "getTextLength" is tied to the "textLength" attribute (which should, if set, be the same as the computed text length but for most content it is not). The "getComputedTextLength()" function _is_ implemented. > However when i tried this, a RuntimeException was thrown and by looking > at the code I found out that the Method returns an implementation of > AbstractSVGAnimatedLength where getDefaultValue() and getAnimatedValue() > are not implemented. My question is, wether there are any plans for > implementing this method(s) ? There is (since it's pretty simple for Batik, in fact I'm not sure why it isn't already). However, as I said above it really wouldn't help you much ;) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Dec 07 02:09:57 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26932 invoked from network); 7 Dec 2004 02:09:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 7 Dec 2004 02:09:57 -0000 Received: (qmail 36002 invoked by uid 500); 7 Dec 2004 02:09:56 -0000 Delivered-To: [email protected] Received: (qmail 35970 invoked by uid 500); 7 Dec 2004 02:09:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 35955 invoked by uid 99); 7 Dec 2004 02:09:55 -0000 X-ASF-Spam-Status: No, hits=-9.9 required=10.0 tests=ALL_TRUSTED,DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Date: Mon, 06 Dec 2004 18:06:33 PST From: Sam Ruby <[email protected]> To: [email protected] Subject: [GUMP@brutus]: Project xml-batik (in module xml-batik) success X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N To whom it may satisfy... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project xml-batik *no longer* has an issue. The current state of this project is 'Success'. Full details are available at: http://brutus.apache.org/gump/public/xml-batik/xml-batik/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Output [batik-util.jar] identifier set to output basename: [batik-util] -DEBUG- Output [batik-swing.jar] identifier set to output basename: [batik-swing] -DEBUG- Output [batik-css.jar] identifier set to output basename: [batik-css] -DEBUG- Output [batik-bridge.jar] identifier set to output basename: [batik-bridge] -DEBUG- Output [batik-xml.jar] identifier set to output basename: [batik-xml] -DEBUG- Output [batik-svg-dom.jar] identifier set to output basename: [batik-svg-dom] -DEBUG- Output [batik-awt-util.jar] identifier set to output basename: [batik-awt-util] -DEBUG- Output [batik-transcoder.jar] identifier set to output basename: [batik-transcoder] -DEBUG- Output [batik-gui-util.jar] identifier set to output basename: [batik-gui-util] -DEBUG- Output [batik-dom.jar] identifier set to output basename: [batik-dom] -DEBUG- Output [batik-ext.jar] identifier set to output basename: [batik-ext] -DEBUG- Output [batik-svggen.jar] identifier set to output basename: [batik-svggen] -DEBUG- Output [batik-parser.jar] identifier set to output basename: [batik-parser] -DEBUG- Output [batik-extension.jar] identifier set to output basename: [batik-extension] -DEBUG- Output [batik-gvt.jar] identifier set to output basename: [batik-gvt] The following work was performed: http://brutus.apache.org/gump/public/xml-batik/xml-batik/gump_work/build_xml-batik_xml-batik.html Work Name: build_xml-batik_xml-batik (Type: Build) Work ended in a state of : Success Elapsed: 2 mins 54 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/serializer.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/xalan-unbundled.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar org.apache.tools.ant.Main -Dgump.merge=/home/gump/workspaces2/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Dversion=06122004 dist-zip [Working Directory: /usr/local/gump/public/workspace/xml-batik] CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-stylebook.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/rhino/build/rhino_06122004/js.jar:/usr/local/gump/public/workspace/xml-stylebook/bin/stylebook-1.0-b3_xalan-2.jar --------------------------------------------- [jar] Building jar: /home/gump/workspaces2/public/workspace/xml-batik/batik-06122004/lib/batik-svggen.jar svg-slideshow-jar: [jar] Building jar: /home/gump/workspaces2/public/workspace/xml-batik/batik-06122004/batik-slideshow.jar squiggle-jar: [move] Moving 1 file to /home/gump/workspaces2/public/workspace/xml-batik/resources/org/apache/batik/apps/svgbrowser/resources [move] Moving 1 file to /home/gump/workspaces2/public/workspace/xml-batik/resources/org/apache/batik/apps/svgbrowser/resources [jar] Building jar: /home/gump/workspaces2/public/workspace/xml-batik/batik-06122004/batik-squiggle.jar [move] Moving 1 file to /home/gump/workspaces2/public/workspace/xml-batik/resources/org/apache/batik/apps/svgbrowser/resources [move] Moving 1 file to /home/gump/workspaces2/public/workspace/xml-batik/resources/org/apache/batik/apps/svgbrowser/resources squiggle-ext-jar: [mkdir] Created dir: /home/gump/workspaces2/public/workspace/xml-batik/batik-06122004/extensions [jar] Building jar: /home/gump/workspaces2/public/workspace/xml-batik/batik-06122004/extensions/batik-squiggle-ext.jar rasterizer-jar: [move] Moving 1 file to /home/gump/workspaces2/public/workspace/xml-batik/resources/org/apache/batik/apps/rasterizer/resources [move] Moving 1 file to /home/gump/workspaces2/public/workspace/xml-batik/resources/org/apache/batik/apps/rasterizer/resources [jar] Building jar: /home/gump/workspaces2/public/workspace/xml-batik/batik-06122004/batik-rasterizer.jar [move] Moving 1 file to /home/gump/workspaces2/public/workspace/xml-batik/resources/org/apache/batik/apps/rasterizer/resources [move] Moving 1 file to /home/gump/workspaces2/public/workspace/xml-batik/resources/org/apache/batik/apps/rasterizer/resources rasterizer-ext-jar: [jar] Building jar: /home/gump/workspaces2/public/workspace/xml-batik/batik-06122004/extensions/batik-rasterizer-ext.jar ttf2svg-jar: [jar] Building jar: /home/gump/workspaces2/public/workspace/xml-batik/batik-06122004/batik-ttf2svg.jar jars: [copy] Copying 4 files to /home/gump/workspaces2/public/workspace/xml-batik/batik-06122004/lib bin-zip: [copy] Copying 1 file to /home/gump/workspaces2/public/workspace/xml-batik/batik-06122004 [copy] Copying 1 file to /home/gump/workspaces2/public/workspace/xml-batik/batik-06122004 [copy] Copying 1 file to /home/gump/workspaces2/public/workspace/xml-batik/batik-06122004 [copy] Copying 10 files to /home/gump/workspaces2/public/workspace/xml-batik/batik-06122004/lib [copy] Copying 438 files to /home/gump/workspaces2/public/workspace/xml-batik/batik-06122004/samples [zip] Building zip: /home/gump/workspaces2/public/workspace/xml-batik/batik-06122004.zip src-zip: [echo] xml-batik [zip] Building zip: /home/gump/workspaces2/public/workspace/xml-batik/batik-src-06122004.zip build: dist-zip: BUILD SUCCESSFUL Total time: 2 minutes 54 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://brutus.apache.org/gump/public/xml-batik/xml-batik/rss.xml - Atom: http://brutus.apache.org/gump/public/xml-batik/xml-batik/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 16001506122004, brutus:brutus-public:16001506122004 Gump E-mail Identifier (unique within run) #329. -- Apache Gump http://gump.apache.org/ [Instance: brutus] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Dec 08 10:20:44 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26850 invoked from network); 8 Dec 2004 10:20:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 8 Dec 2004 10:20:44 -0000 Received: (qmail 3490 invoked by uid 500); 8 Dec 2004 10:20:35 -0000 Delivered-To: [email protected] Received: (qmail 3473 invoked by uid 500); 8 Dec 2004 10:20:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 3453 invoked by uid 99); 8 Dec 2004 10:20:34 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) X-Injected-Via-Gmane: http://gmane.org/ To: [email protected] From: Chris Nokleberg <[email protected]> Subject: Patch to allow circles in ExtendedGeneralPath Date: Wed, 08 Dec 2004 02:12:14 -0800 Lines: 35 Message-ID: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: [email protected] X-Gmane-NNTP-Posting-Host: dsl081-241-052.sfo1.dsl.speakeasy.net User-Agent: KNode/0.8.0 Sender: news <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I'm using ExtendedGeneralPath to adapt some existing path data (FWIW, PowerPoint autoshapes). I need to define a circular subpath, and the straightforward way of using arcTo with the same endpoints and 360 degrees does not work due. An optimization in Batik assumes that equal endpoints means it is always ok to omit the segment, but I believe you need to also check that largeArcFlag is false. I've been able to hack around it by making sure that the endpoints differ by a very small amount, but I'd prefer not to. I've attached a patch against CVS. Thanks, Chris *** ExtendedGeneralPath.java.~1.8.~ Fri Dec 3 20:00:35 2004 --- ExtendedGeneralPath.java Wed Dec 8 02:07:22 2004 *************** *** 123,129 **** // Get the current (x, y) coordinates of the path double x0 = cx; double y0 = cy; ! if (x0 == x && y0 == y) { // If the endpoints (x, y) and (x0, y0) are identical, then this // is equivalent to omitting the elliptical arc segment entirely. return; --- 123,129 ---- // Get the current (x, y) coordinates of the path double x0 = cx; double y0 = cy; ! if (x0 == x && y0 == y && !largeArcFlag) { // If the endpoints (x, y) and (x0, y0) are identical, then this // is equivalent to omitting the elliptical arc segment entirely. return; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Dec 08 10:46:59 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61235 invoked from network); 8 Dec 2004 10:46:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 8 Dec 2004 10:46:59 -0000 Received: (qmail 52835 invoked by uid 500); 8 Dec 2004 10:46:59 -0000 Delivered-To: [email protected] Received: (qmail 52818 invoked by uid 500); 8 Dec 2004 10:46:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 52804 invoked by uid 99); 8 Dec 2004 10:46:58 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Message-ID: <[email protected]> Date: Wed, 08 Dec 2004 05:46:54 -0500 From: Thomas DeWeese <[email protected]> Organization: Eastman Kodak Company User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: Patch to allow circles in ExtendedGeneralPath References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Chris, Thanks for the patch, but... Chris Nokleberg wrote: > I'm using ExtendedGeneralPath to adapt some existing path data (FWIW, > PowerPoint autoshapes). I need to define a circular subpath, and the > straightforward way of using arcTo with the same endpoints and 360 > degrees does not work due. An optimization in Batik assumes that > equal endpoints means it is always ok to omit the segment, but I > believe you need to also check that largeArcFlag is false. The problem is that there are an infinite number of circles of a fixed radius through one point. If you make your change then you get some arbitrary solution, which might be the one you want but that is really 'luck'. If there is some wording in the specification that indicates what the orientation should be please point it out. My understand has been that if you want to emit a circle in the SVG Path syntax you must do it as two pieces (usually across the diameter, and then back). > I've been able to hack around it by making sure that the endpoints > differ by a very small amount, but I'd prefer not to. > > I've attached a patch against CVS. > > Thanks, > Chris > > *** ExtendedGeneralPath.java.~1.8.~ Fri Dec 3 20:00:35 2004 > --- ExtendedGeneralPath.java Wed Dec 8 02:07:22 2004 > *************** > *** 123,129 **** > // Get the current (x, y) coordinates of the path > double x0 = cx; > double y0 = cy; > ! if (x0 == x && y0 == y) { > // If the endpoints (x, y) and (x0, y0) are identical, then this > // is equivalent to omitting the elliptical arc segment entirely. > return; > --- 123,129 ---- > // Get the current (x, y) coordinates of the path > double x0 = cx; > double y0 = cy; > ! if (x0 == x && y0 == y && !largeArcFlag) { > // If the endpoints (x, y) and (x0, y0) are identical, then this > // is equivalent to omitting the elliptical arc segment entirely. > return; > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Dec 08 17:00:55 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46566 invoked from network); 8 Dec 2004 17:00:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 8 Dec 2004 17:00:55 -0000 Received: (qmail 24368 invoked by uid 500); 8 Dec 2004 17:00:54 -0000 Delivered-To: [email protected] Received: (qmail 24339 invoked by uid 500); 8 Dec 2004 17:00:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 24324 invoked by uid 99); 8 Dec 2004 17:00:53 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) X-Injected-Via-Gmane: http://gmane.org/ To: [email protected] From: Chris Nokleberg <[email protected]> Subject: Re: Patch to allow circles in ExtendedGeneralPath Date: Wed, 08 Dec 2004 09:00:49 -0800 Lines: 14 Message-ID: <[email protected]> References: <[email protected]> <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: [email protected] X-Gmane-NNTP-Posting-Host: dsl081-241-052.sfo1.dsl.speakeasy.net User-Agent: KNode/0.8.0 Sender: news <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thomas DeWeese wrote: > The problem is that there are an infinite number of > circles of a fixed radius through one point. If you make your > change then you get some arbitrary solution, which might be the > one you want but that is really 'luck'. If there is some wording > in the specification that indicates what the orientation should > be please point it out. :-) You're right of course. I guess I was tricked by the fact that it happened to work for my case. Thanks, Chris --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Dec 10 21:49:25 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36217 invoked from network); 10 Dec 2004 21:49:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 10 Dec 2004 21:49:25 -0000 Received: (qmail 87673 invoked by uid 500); 10 Dec 2004 21:49:25 -0000 Delivered-To: [email protected] Received: (qmail 87658 invoked by uid 500); 10 Dec 2004 21:49:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 87644 invoked by uid 99); 10 Dec 2004 21:49:24 -0000 X-ASF-Spam-Status: No, hits=1.6 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Message-ID: <[email protected]> Date: Fri, 10 Dec 2004 16:49:19 -0500 From: Lionel Villard <[email protected]> User-Agent: Mozilla Thunderbird 1.0RC1 (Macintosh/20041201) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: re: getTextLenght in SVGOMTextContentElement and Subclasses Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP [email protected] from [161.129.204.104] at Fri, 10 Dec 2004 15:49:20 -0600 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi all, I'm wondering if it's really simple to implement those methods. I'm pretty new in the Batik code, so correct me if I'm wrong. It seems to me that because non-formatted values are clearly separated from formatted/dynamic values it's not easy to make the latter available at the OM level. Each OM object is *temporarily* associated to GVT object where formatted and dynamic values are available. I'm curious to know how you would do it. Can you give us some hints? Thanks Lionel > Hi Harald, > Harald Kuhn wrote: >> I am trying to get the rendered length of a SVG Text Element. As far as >> i understood, the getTextLength() Method of SVGTextContentElement is >> supposed to do this. > No you want the "getComputedTextLength" function, "getTextLength" >is tied to the "textLength" attribute (which should, if set, be the >same as the computed text length but for most content it is not). >The "getComputedTextLength()" function _is_ implemented. >> However when i tried this, a RuntimeException was thrown and by looking >> at the code I found out that the Method returns an implementation of >> AbstractSVGAnimatedLength where getDefaultValue() and getAnimatedValue() >> are not implemented. My question is, wether there are any plans for >> implementing this method(s) ? > There is (since it's pretty simple for Batik, in fact I'm not > sure why it isn't already). However, as I said above it really > wouldn't help you much ;) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Dec 11 00:45:42 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97492 invoked from network); 11 Dec 2004 00:45:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 11 Dec 2004 00:45:42 -0000 Received: (qmail 70380 invoked by uid 500); 11 Dec 2004 00:45:41 -0000 Delivered-To: [email protected] Received: (qmail 70365 invoked by uid 500); 11 Dec 2004 00:45:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 70348 invoked by uid 99); 11 Dec 2004 00:45:41 -0000 X-ASF-Spam-Status: No, hits=1.6 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Message-ID: <[email protected]> Date: Fri, 10 Dec 2004 19:45:36 -0500 From: Lionel Villard <[email protected]> User-Agent: Mozilla Thunderbird 1.0RC1 (Macintosh/20041201) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: getTextLenght in SVGOMTextContentElement and Subclasses References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP [email protected] from [161.129.204.104] at Fri, 10 Dec 2004 18:45:37 -0600 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I just took another look to the code and I saw the mapping tables in BridgeContext. Never mind, I see now how to implement them. Lionel Lionel wrote: > Hi all, > > I'm wondering if it's really simple to implement those methods. I'm > pretty new in the Batik code, so > correct me if I'm wrong. It seems to me that because non-formatted > values are clearly separated from formatted/dynamic values it's not > easy to make the latter available at the OM level. Each OM object is > *temporarily* associated to GVT object where formatted and dynamic > values are available. > > I'm curious to know how you would do it. Can you give us some hints? > > Thanks > Lionel > >> Hi Harald, > > >> Harald Kuhn wrote: > > >>> I am trying to get the rendered length of a SVG Text Element. As far >>> as i understood, the getTextLength() Method of >>> SVGTextContentElement is supposed to do this. >> > >> No you want the "getComputedTextLength" function, "getTextLength" >> is tied to the "textLength" attribute (which should, if set, be the >> same as the computed text length but for most content it is not). >> The "getComputedTextLength()" function _is_ implemented. > > >>> However when i tried this, a RuntimeException was thrown and by >>> looking at the code I found out that the Method returns an >>> implementation of AbstractSVGAnimatedLength where getDefaultValue() >>> and getAnimatedValue() are not implemented. My question is, wether >>> there are any plans for implementing this method(s) ? >> > >> There is (since it's pretty simple for Batik, in fact I'm not >> sure why it isn't already). However, as I said above it really >> wouldn't help you much ;) > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Dec 11 00:49:08 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98343 invoked from network); 11 Dec 2004 00:49:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 11 Dec 2004 00:49:08 -0000 Received: (qmail 72901 invoked by uid 500); 11 Dec 2004 00:49:08 -0000 Delivered-To: [email protected] Received: (qmail 72741 invoked by uid 500); 11 Dec 2004 00:49:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 72718 invoked by uid 99); 11 Dec 2004 00:49:07 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Message-ID: <[email protected]> Date: Fri, 10 Dec 2004 19:49:02 -0500 From: Thomas DeWeese <[email protected]> Organization: Eastman Kodak Company User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: getTextLenght in SVGOMTextContentElement and Subclasses References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Lionel Villard wrote: > Hi all, > > I'm wondering if it's really simple to implement those methods. I'm > pretty new in the Batik code, so > correct me if I'm wrong. It seems to me that because non-formatted > values are clearly separated from formatted/dynamic values it's not easy > to make the latter available at the OM level. Each OM object is > *temporarily* associated to GVT object where formatted and dynamic > values are available. > > I'm curious to know how you would do it. Can you give us some hints? Well, there are two things. First it's not clear that 'getTextLength()' is associated with any dynamic value. It is supposed to be tied to the 'textLength' attribute, which is very easy to associate (as you seem to have seen). The only interesting question is what should it return if textLength isn't set? One could argue that it should return the computed text length (i.e. the value of getComputedTextLength()). This would of course then make the two methods twins of each other. If textLength is set the computed text length is supposed to be the value of textLength, and if textLength isn't set then it returns the value of get computed text length. In any case if textLength isn't set then just call getComputedTextLength. > > Thanks > Lionel > >> Hi Harald, > > >> Harald Kuhn wrote: > > >>> I am trying to get the rendered length of a SVG Text Element. As far >>> as i understood, the getTextLength() Method of SVGTextContentElement >>> is supposed to do this. > > >> No you want the "getComputedTextLength" function, "getTextLength" >> is tied to the "textLength" attribute (which should, if set, be the >> same as the computed text length but for most content it is not). >> The "getComputedTextLength()" function _is_ implemented. > > >>> However when i tried this, a RuntimeException was thrown and by >>> looking at the code I found out that the Method returns an >>> implementation of AbstractSVGAnimatedLength where getDefaultValue() >>> and getAnimatedValue() are not implemented. My question is, wether >>> there are any plans for implementing this method(s) ? > > >> There is (since it's pretty simple for Batik, in fact I'm not >> sure why it isn't already). However, as I said above it really >> wouldn't help you much ;) > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Dec 15 11:10:33 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48826 invoked from network); 15 Dec 2004 11:10:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 15 Dec 2004 11:10:33 -0000 Received: (qmail 58168 invoked by uid 500); 15 Dec 2004 10:50:37 -0000 Delivered-To: [email protected] Received: (qmail 58096 invoked by uid 500); 15 Dec 2004 10:50:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58040 invoked by uid 500); 15 Dec 2004 10:50:35 -0000 Delivered-To: [email protected] X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,MULTI_REMOVAL_1WORD,NO_REAL_NAME X-Spam-Check-By: apache.org Date: 15 Dec 2004 10:50:30 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: xml-batik/sources/org/apache/batik/gvt/renderer StrokingTextPainter.java X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N deweese 2004/12/15 02:50:30 Modified: sources/org/apache/batik/bridge BridgeContext.java SVGUseElementBridge.java sources/org/apache/batik/dom/svg SVGOMTextContentElement.java sources/org/apache/batik/gvt/renderer StrokingTextPainter.java Log: 1) Fixed a small memory leak when changing xlink:href on a use referencing a local element. 2) Implemented textLength to return the value of getComputedTextLength when the textLength attribute is not set. Revision Changes Path 1.80 +4 -1 xml-batik/sources/org/apache/batik/bridge/BridgeContext.java Index: BridgeContext.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/BridgeContext.java,v retrieving revision 1.79 retrieving revision 1.80 diff -u -r1.79 -r1.80 --- BridgeContext.java 18 Nov 2004 01:46:53 -0000 1.79 +++ BridgeContext.java 15 Dec 2004 10:50:29 -0000 1.80 @@ -1018,14 +1018,17 @@ extends CleanerThread.SoftReferenceCleared { Object mememto; Set set; + // String refStr; SoftReferenceMememto(Object ref, Object mememto, Set set) { super(ref); + // refStr = ref.toString(); this.mememto = mememto; this.set = set; } public void cleared() { synchronized (set) { + // System.err.println("SRClear: " + refStr); set.remove(mememto); mememto = null; set = null; 1.46 +28 -28 xml-batik/sources/org/apache/batik/bridge/SVGUseElementBridge.java Index: SVGUseElementBridge.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGUseElementBridge.java,v retrieving revision 1.45 retrieving revision 1.46 diff -u -r1.45 -r1.46 --- SVGUseElementBridge.java 30 Nov 2004 03:23:58 -0000 1.45 +++ SVGUseElementBridge.java 15 Dec 2004 10:50:29 -0000 1.46 @@ -177,6 +177,14 @@ root = new SVGOMCSSImportedElementRoot(document, e, isLocal); root.appendChild(localRefElement); + if (gn == null) { + gn = new CompositeGraphicsNode(); + } else { + int s = gn.size(); + for (int i=0; i<s; i++) + gn.remove(0); + } + SVGOMUseElement ue = (SVGOMUseElement)e; Node oldRoot = ue.getCSSImportedElementRoot(); if (oldRoot != null) { @@ -193,13 +201,6 @@ GraphicsNode refNode = builder.build(ctx, g); /////////////////////////////////////////////////////////////////////// - if (gn == null) { - gn = new CompositeGraphicsNode(); - } else { - int s = gn.size(); - for (int i=0; i<s; i++) - gn.remove(0); - } gn.getChildren().add(refNode); @@ -221,22 +222,22 @@ if (r != null) gn.setBackgroundEnable(r); + if (l != null) { + // Remove event listeners + EventTarget target = l.target; + target.removeEventListener("DOMAttrModified", l, true); + target.removeEventListener("DOMNodeInserted", l, true); + target.removeEventListener("DOMNodeRemoved", l, true); + target.removeEventListener("DOMCharacterDataModified",l, true); + l = null; + } + /////////////////////////////////////////////////////////////////////// // Handle mutations on content referenced in the same file if // we are in a dynamic context. if (isLocal && ctx.isDynamic()) { - if (l == null) { - l = new ReferencedElementMutationListener(); - l.target = (EventTarget)refElement; - } else { - // Remove event listeners - EventTarget target = l.target; - target.removeEventListener("DOMAttrModified", l, true); - target.removeEventListener("DOMNodeInserted", l, true); - target.removeEventListener("DOMNodeRemoved", l, true); - target.removeEventListener("DOMCharacterDataModified",l, true); - } + l = new ReferencedElementMutationListener(); EventTarget target = (EventTarget)refElement; l.target = target; @@ -259,14 +260,6 @@ } public void dispose() { - SVGOMUseElement ue = (SVGOMUseElement)e; - if ((ue != null) && - (ue.getCSSImportedElementRoot() != null)) { - disposeTree(ue.getCSSImportedElementRoot()); - } - - super.dispose(); - if (l != null) { // Remove event listeners EventTarget target = l.target; @@ -274,10 +267,17 @@ target.removeEventListener("DOMNodeInserted", l, true); target.removeEventListener("DOMNodeRemoved", l, true); target.removeEventListener("DOMCharacterDataModified",l, true); + l = null; } + SVGOMUseElement ue = (SVGOMUseElement)e; + if ((ue != null) && (ue.getCSSImportedElementRoot() != null)) { + disposeTree(ue.getCSSImportedElementRoot()); + } + + super.dispose(); + subCtx = null; - l = null; } /** 1.13 +28 -2 xml-batik/sources/org/apache/batik/dom/svg/SVGOMTextContentElement.java Index: SVGOMTextContentElement.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/dom/svg/SVGOMTextContentElement.java,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- SVGOMTextContentElement.java 18 Aug 2004 07:13:18 -0000 1.12 +++ SVGOMTextContentElement.java 15 Dec 2004 10:50:29 -0000 1.13 @@ -23,6 +23,7 @@ import org.w3c.dom.svg.SVGAnimatedBoolean; import org.w3c.dom.svg.SVGAnimatedEnumeration; import org.w3c.dom.svg.SVGAnimatedLength; +import org.w3c.dom.svg.SVGLength; import org.w3c.dom.svg.SVGPoint; import org.w3c.dom.svg.SVGRect; import org.w3c.dom.svg.SVGStringList; @@ -73,8 +74,33 @@ result = new AbstractSVGAnimatedLength (this, null, SVG_TEXT_LENGTH_ATTRIBUTE, SVGOMAnimatedLength.HORIZONTAL_LENGTH) { + boolean usedDefault; + protected String getDefaultValue() { - throw new RuntimeException("!!! TODO"); + usedDefault = true; + return ""+getComputedTextLength(); + } + + public SVGLength getBaseVal() { + if (baseVal == null) { + baseVal = new SVGTextLength(direction); + } + return baseVal; + } + + class SVGTextLength extends BaseSVGLength { + public SVGTextLength(short direction) { + super(direction); + } + protected void revalidate() { + usedDefault = false; + + super.revalidate(); + + // Since the default value can change w/o notice + // always recompute it. + if (usedDefault) valid = false; + } } }; putLiveAttributeValue(null, SVG_TEXT_LENGTH_ATTRIBUTE, 1.54 +2 -2 xml-batik/sources/org/apache/batik/gvt/renderer/StrokingTextPainter.java Index: StrokingTextPainter.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/gvt/renderer/StrokingTextPainter.java,v retrieving revision 1.53 retrieving revision 1.54 diff -u -r1.53 -r1.54 --- StrokingTextPainter.java 18 Nov 2004 01:47:00 -0000 1.53 +++ StrokingTextPainter.java 15 Dec 2004 10:50:30 -0000 1.54 @@ -202,7 +202,7 @@ // cache the textRuns so don't need to recalculate node.setTextRuns(textRuns); return textRuns; - } + } public List computeTextRuns(TextNode node, AttributedCharacterIterator aci, --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Dec 16 10:53:12 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68670 invoked from network); 16 Dec 2004 10:53:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 16 Dec 2004 10:53:12 -0000 Received: (qmail 12148 invoked by uid 500); 16 Dec 2004 10:53:11 -0000 Delivered-To: [email protected] Received: (qmail 12118 invoked by uid 500); 16 Dec 2004 10:53:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 12098 invoked by uid 500); 16 Dec 2004 10:53:10 -0000 Delivered-To: [email protected] X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Date: 16 Dec 2004 10:50:35 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: xml-batik/sources/org/apache/batik/bridge SVGImageElementBridge.java X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N deweese 2004/12/16 02:50:35 Modified: sources/org/apache/batik/bridge SVGImageElementBridge.java Log: Memory leak when loading images is fixed. Revision Changes Path 1.69 +37 -24 xml-batik/sources/org/apache/batik/bridge/SVGImageElementBridge.java Index: SVGImageElementBridge.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGImageElementBridge.java,v retrieving revision 1.68 retrieving revision 1.69 diff -u -r1.68 -r1.69 --- SVGImageElementBridge.java 20 Aug 2004 19:29:46 -0000 1.68 +++ SVGImageElementBridge.java 16 Dec 2004 10:50:35 -0000 1.69 @@ -472,27 +472,41 @@ } protected void rebuildImageNode() { - //reference copy of the imgDocument - SVGDocument oldSVGDoc = imgDocument; + // Reference copy of the imgDocument + if ((imgDocument != null) && (listener != null)) { + EventTarget tgt = (EventTarget)imgDocument.getRootElement(); + + tgt.removeEventListener(SVG_EVENT_CLICK, listener, false); + tgt.removeEventListener(SVG_EVENT_KEYDOWN, listener, false); + tgt.removeEventListener(SVG_EVENT_KEYPRESS, listener, false); + tgt.removeEventListener(SVG_EVENT_KEYUP, listener, false); + tgt.removeEventListener(SVG_EVENT_MOUSEDOWN, listener, false); + tgt.removeEventListener(SVG_EVENT_MOUSEMOVE, listener, false); + tgt.removeEventListener(SVG_EVENT_MOUSEOUT, listener, false); + tgt.removeEventListener(SVG_EVENT_MOUSEOVER, listener, false); + tgt.removeEventListener(SVG_EVENT_MOUSEUP, listener, false); + listener = null; + } + + if (imgDocument != null) { + SVGSVGElement svgElement = imgDocument.getRootElement(); + disposeTree(svgElement); + } + + imgDocument = null; + subCtx = null; //update of the reference of the image. GraphicsNode inode = buildImageGraphicsNode(ctx,e); + ImageNode imgNode = (ImageNode)node; + imgNode.setImage(inode); + if (inode == null) { String uriStr = XLinkSupport.getXLinkHref(e); throw new BridgeException(e, ERR_URI_IMAGE_INVALID, new Object[] {uriStr}); } - ImageNode imgNode = (ImageNode)node; - //HACK : see 'initializeDynamicSupport' - if (!(imgNode.getImage() instanceof RasterImageNode)) { - //it was an svg file referenced - //dispose it - if ( oldSVGDoc != null ){ - disposeTree(oldSVGDoc); - } - } - imgNode.setImage(inode); } /** @@ -601,7 +615,9 @@ CanvasGraphicsNode node; node = (CanvasGraphicsNode)subCtx.getGVTBuilder().build (subCtx, svgElement); - subCtx.addUIEventListeners(imgDocument); + + if (eng == null) // If we "created" this document then add listerns. + subCtx.addUIEventListeners(imgDocument); // HACK: remove the clip set by the SVGSVGElement as the overflow // and clip properties must be ignored. The clip will be set later @@ -660,12 +676,6 @@ } public void dispose() { - if (imgDocument != null) { - SVGSVGElement svgElement = imgDocument.getRootElement(); - disposeTree(svgElement); - } - super.dispose(); - if ((imgDocument != null) && (listener != null)) { EventTarget tgt = (EventTarget)imgDocument.getRootElement(); @@ -680,12 +690,15 @@ tgt.removeEventListener(SVG_EVENT_MOUSEUP, listener, false); listener = null; } - if (subCtx != null) { - subCtx.removeUIEventListeners(imgDocument); + + if (imgDocument != null) { + SVGSVGElement svgElement = imgDocument.getRootElement(); + disposeTree(svgElement); + imgDocument = null; + subCtx = null; } + super.dispose(); - imgDocument = null; - subCtx = null; } /** * A simple DOM listener to forward events from the SVG image document to --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Dec 16 23:08:30 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69787 invoked from network); 16 Dec 2004 23:08:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 16 Dec 2004 23:08:30 -0000 Received: (qmail 25954 invoked by uid 500); 16 Dec 2004 23:08:30 -0000 Delivered-To: [email protected] Received: (qmail 25897 invoked by uid 500); 16 Dec 2004 23:08:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 25877 invoked by uid 99); 16 Dec 2004 23:08:29 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Date: Thu, 16 Dec 2004 14:36:29 +0000 From: Bill Haneman <[email protected]> Subject: [Fwd: org.apache.batik.gvt.text.GVTAttributedCharacterIterator.TextAttr ibute changed between 1.5 and 1.5.1] To: [email protected] Cc: [email protected] Message-id: <[email protected]> MIME-version: 1.0 Content-type: multipart/mixed; boundary="Boundary_(ID_kXH9lYpFlk1zyqvtpS4kaw)" X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20041116 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --Boundary_(ID_kXH9lYpFlk1zyqvtpS4kaw) Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT Johan: I hope you don't mind me forwarding your query to the Batik Developer list. It's been awhile since I worked in the batik codebase myself. regards Bill --Boundary_(ID_kXH9lYpFlk1zyqvtpS4kaw) Content-type: message/rfc822; name="org.apache.batik.gvt.text.GVTAttributedCharacterIterator.TextAttr ibute changedbetween 1.5 and 1.5.1" Return-path: <[email protected]> Delivery-receipt-to: [email protected] Received: from conversion-daemon.gadget-mail1.uk.sun.com by gadget-mail1.uk.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) id <[email protected]> (original mail from [email protected]) for [email protected]; Thu, 16 Dec 2004 14:14:58 +0000 (GMT) Received: from sunire.Ireland.Sun.COM (sunire.Ireland.Sun.COM [161.129.204.104]) by gadget-mail1.uk.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) with ESMTP id <[email protected]> for [email protected] (ORCPT [email protected]); Thu, 16 Dec 2004 14:14:56 +0000 (GMT) Received: from nwkea-mail-2.sun.com (nwkea-mail-2.Sun.COM [161.129.204.104]) by sunire.Ireland.Sun.COM (8.12.10+Sun/8.12.10/ENSMAIL,v2.2) with ESMTP id iBGEEtwM002364 for <[email protected]>; Thu, 16 Dec 2004 14:14:55 +0000 (GMT) Received: from relay21.sun.com (relay21.sun.com [161.129.204.104] (may be forged)) by nwkea-mail-2.sun.com (8.12.10/8.12.9) with ESMTP id iBGEErpv012667 for <[email protected]>; Thu, 16 Dec 2004 06:14:54 -0800 (PST) Received: from mms23es.sun.com (mms23es.sun.com [161.129.204.104]) by relay21i.sun.com with ESMTP for [email protected]; Thu, 16 Dec 2004 14:14:53 +0000 (Z) Received: from mms22bas.mms.us.syntegra.com (mms22bas.mms.us.syntegra.com [161.129.204.104]) by mms23es.sun.com with ESMTP for [email protected]; Thu, 16 Dec 2004 14:14:52 +0000 (Z) Received: from sesosn01.astrazeneca.com (sesosn01.astrazeneca.com [161.129.204.104]) by relay22.sun.com with ESMTP for [email protected]; Thu, 16 Dec 2004 14:14:52 +0000 (Z) Received: from sesosn11.seso.astrazeneca.net (sesosn11.seso.astrazeneca.net [161.129.204.104]) by sesosn01.astrazeneca.com (8.12.11/8.12.11) with ESMTP id iBGEEXg4021933 for <[email protected]>; Thu, 16 Dec 2004 15:14:50 +0100 (MET) Received: from sesosn21.seso.astrazeneca.net (sesosn21.seso.astrazeneca.net [161.129.204.104]) by sesosn11.seso.astrazeneca.net (8.12.11/8.12.11/AZ-def_main_in.12.11.5) with ESMTP id iBGEDodx015541 for <[email protected]>; Thu, 16 Dec 2004 15:13:51 +0100 (MET) Received: from astra-cdc-x03.seso.astrazeneca.net (astra-cdc-x03.seso.astrazeneca.net [161.129.204.104]) by sesosn21.seso.astrazeneca.net (8.12.11/8.12.11) with ESMTP id iBGEDmJ1022509 for <[email protected]>; Thu, 16 Dec 2004 15:13:50 +0100 (MET) Received: by astra-cdc-x03.seso.astrazeneca.net with Internet Mail Service (5.5.2653.19) id <V5A9L4RR>; Thu, 16 Dec 2004 15:09:52 +0100 Content-return: allowed Date: Thu, 16 Dec 2004 15:12:28 +0100 From: [email protected] Subject: org.apache.batik.gvt.text.GVTAttributedCharacterIterator.TextAttr ibute changed between 1.5 and 1.5.1 To: [email protected] Message-id: <[email protected]> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: QUOTED-PRINTABLE Original-recipient: rfc822;[email protected] Hello Bill, I try to make Apache FOP to use Batik 1.5.1 intstead of 1.5 which it = does in version 0.20.5. Then I found out that FOP have code like: Stroke stroke =3D =20 (Stroke)aci.getAttribute(GVTAttributedCharacterIterator.TextAttribute= .STROKE ); Do you know how this shall be expressed in Batik 1.5.1 where the STRO= KE attribute have been removed? Best regards, Johan Westin Discovery Infomatics AstraZeneca RD M=F6lndal sweden --Boundary_(ID_kXH9lYpFlk1zyqvtpS4kaw) Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --Boundary_(ID_kXH9lYpFlk1zyqvtpS4kaw)-- From [email protected] Fri Dec 17 00:05:54 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95432 invoked from network); 17 Dec 2004 00:05:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 17 Dec 2004 00:05:54 -0000 Received: (qmail 63959 invoked by uid 500); 17 Dec 2004 00:05:53 -0000 Delivered-To: [email protected] Received: (qmail 63932 invoked by uid 500); 17 Dec 2004 00:05:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 63903 invoked by uid 99); 17 Dec 2004 00:05:53 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Message-ID: <[email protected]> Date: Thu, 16 Dec 2004 19:03:12 -0500 From: Thomas DeWeese <[email protected]> Organization: Eastman Kodak Company User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] CC: [email protected] Subject: Re: [Fwd: org.apache.batik.gvt.text.GVTAttributedCharacterIterator.TextAttr ibute changed between 1.5 and 1.5.1] References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N >> Then I found out that FOP have code like: >> >> Stroke stroke = >> >> (Stroke)aci.getAttribute(GVTAttributedCharacterIterator.TextAttribute.STROKE >> ); >> >> Do you know how this shall be expressed in Batik 1.5.1 where the STROKE >> attribute have been removed? import org.apache.batik.gvt.text.TextPaintInfo; TextPaintInfo pi = (TextPaintInfo)aci.getAttribute (GVTAttributedCharacterIterator.TextAttribute.PAINT_INFO); Bill Haneman wrote: > Johan: I hope you don't mind me forwarding your query to the Batik > Developer list. It's been awhile since I worked in the batik codebase > myself. > > From: [email protected] > > I try to make Apache FOP to use Batik 1.5.1 intstead of 1.5 which it does in > version 0.20.5. > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Dec 19 22:26:27 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20373 invoked from network); 19 Dec 2004 22:26:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 19 Dec 2004 22:26:27 -0000 Received: (qmail 92884 invoked by uid 500); 19 Dec 2004 22:26:23 -0000 Delivered-To: [email protected] Received: (qmail 92846 invoked by uid 500); 19 Dec 2004 22:26:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 92805 invoked by uid 99); 19 Dec 2004 22:26:22 -0000 X-ASF-Spam-Status: No, hits=1.1 required=10.0 tests=FORGED_RCVD_HELO,RCVD_IN_SBL,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Message-ID: <[email protected]> Date: Sat, 18 Dec 2004 23:32:54 +0100 From: zaza <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected], Batik Users <[email protected]> Subject: Batik and dSVG Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello, I am writing in the name of group of students. We would like to try to move Batik on mobile platform. Moreover we would like to add dSVG standard support to it. Are there any projects already working on this? Can we count on your help and support? Best regards, Tomasz --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Dec 19 23:53:30 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46479 invoked from network); 19 Dec 2004 23:53:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 19 Dec 2004 23:53:30 -0000 Received: (qmail 8364 invoked by uid 500); 19 Dec 2004 23:53:30 -0000 Delivered-To: [email protected] Received: (qmail 8257 invoked by uid 500); 19 Dec 2004 23:53:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 8240 invoked by uid 99); 19 Dec 2004 23:53:29 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Message-ID: <003c01c4e625$efd971c0$ce03a8c0@tamega> From: "Nuno Faria" <[email protected]> To: <[email protected]> References: <[email protected]> Subject: Re: Batik and dSVG Date: Sun, 19 Dec 2004 23:53:28 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N check out http://opensvgviewer.sourceforge.net ----- Original Message ----- From: "zaza" <[email protected]> To: <[email protected]>; "Batik Users" <[email protected]> Sent: Saturday, December 18, 2004 10:32 PM Subject: Batik and dSVG > Hello, > > I am writing in the name of group of students. We would like to try to > move Batik on mobile platform. Moreover we would like to add dSVG > standard support to it. Are there any projects already working on this? > Can we count on your help and support? > > Best regards, > > Tomasz > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Dec 20 10:52:11 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28102 invoked from network); 20 Dec 2004 10:52:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 20 Dec 2004 10:52:11 -0000 Received: (qmail 34898 invoked by uid 500); 20 Dec 2004 10:51:35 -0000 Delivered-To: [email protected] Received: (qmail 34817 invoked by uid 500); 20 Dec 2004 10:51:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34801 invoked by uid 99); 20 Dec 2004 10:51:33 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Message-ID: <[email protected]> Date: Mon, 20 Dec 2004 05:51:25 -0500 From: Thomas DeWeese <[email protected]> Organization: Eastman Kodak Company User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: Batik and dSVG References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N zaza wrote: > I am writing in the name of group of students. We would like to try to > move Batik on mobile platform. This will be difficult as Batik has a number of fairly deep dependencies on Java 2. Which is generally not available in mobile. There are some Java 2 platforms available on mobile sets (Win CE for example) but unless you target this I suspect this would make the project a non-starter. > Moreover we would like to add dSVG standard support to it. > Are there any projects already working on this? There is a standard for dSVG? Is this the 'widget' stuff from Corel? Whatever it is, I'm not aware of anyone working on "dSVG" (but I'm sure there is lots of stuff that happens with Batik that I know nothing of). > Can we count on your help and support? I am always willing to answer questions and try and provide direction, however as I stated above there may be some rather deep technical difficulties in moving Batik to a mobile Java platform. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Dec 20 10:58:33 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31215 invoked from network); 20 Dec 2004 10:58:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 20 Dec 2004 10:58:32 -0000 Received: (qmail 49888 invoked by uid 500); 20 Dec 2004 10:58:30 -0000 Delivered-To: [email protected] Received: (qmail 49871 invoked by uid 500); 20 Dec 2004 10:58:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 49856 invoked by uid 99); 20 Dec 2004 10:58:29 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Message-ID: <[email protected]> Date: Mon, 20 Dec 2004 05:58:21 -0500 From: Thomas DeWeese <[email protected]> Organization: Eastman Kodak Company User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: Batik and dSVG References: <[email protected]> <003c01c4e625$efd971c0$ce03a8c0@tamega> In-Reply-To: <003c01c4e625$efd971c0$ce03a8c0@tamega> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Nuno Faria wrote: > check out http://opensvgviewer.sourceforge.net While the project might be interesting, it seems to have been dead since the middle of last year. TinyLine would seem to be a better bet, although it's cost, you might get a discount/donation since you are education. http://www.tinyline.com/ One problem is that dSVG implies JavaScript I think and tinyline won't have that (in fact I'm not sure Rhino - our Java based JavaScript engine will even run on J2ME anymore). Anyway, good luck in what ever approach you take! > ----- Original Message ----- From: "zaza" <[email protected]> > To: <[email protected]>; "Batik Users" <[email protected]> > Sent: Saturday, December 18, 2004 10:32 PM > Subject: Batik and dSVG > > >> Hello, >> >> I am writing in the name of group of students. We would like to try to >> move Batik on mobile platform. Moreover we would like to add dSVG >> standard support to it. Are there any projects already working on >> this? Can we count on your help and support? >> >> Best regards, >> >> Tomasz >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Dec 20 12:40:57 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10818 invoked from network); 20 Dec 2004 12:40:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 20 Dec 2004 12:40:56 -0000 Received: (qmail 58731 invoked by uid 500); 20 Dec 2004 12:39:58 -0000 Delivered-To: [email protected] Received: (qmail 58676 invoked by uid 500); 20 Dec 2004 12:39:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58624 invoked by uid 99); 20 Dec 2004 12:39:56 -0000 X-ASF-Spam-Status: No, hits=2.1 required=10.0 tests=FORGED_RCVD_HELO,NO_REAL_NAME,RCVD_IN_BL_SPAMCOP_NET,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) From: [email protected] To: [email protected] Subject: =?iso-8859-2?Q?Re:_Batik_and_dSVG?= Date: Mon, 20 Dec 2004 13:39:47 +0100 Content-Type: text/plain; charset="iso-8859-2"; Content-Transfer-Encoding: 8bit X-Mailer: o2.pl WebMail v5.27 X-Originator: 161.129.204.104 In-Reply-To: <[email protected]> References: <[email protected]> <003c01c4e625$efd971c0$ce03a8c0@tamega> <[email protected]> Message-Id: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > Nuno Faria wrote: > > > check out http://opensvgviewer.sourceforge.net > > While the project might be interesting, it seems to have been > dead since the middle of last year. TinyLine would seem to be a > better bet, although it's cost, you might get a discount/donation > since you are education. > > http://www.tinyline.com/ > > One problem is that dSVG implies JavaScript I think and > tinyline won't have that (in fact I'm not sure Rhino - our > Java based JavaScript engine will even run on J2ME anymore). > > Anyway, good luck in what ever approach you take! Thank you for your help. Let me just add that the main reason why we are trying to combine dSvg with mobility is that we would like to create a client application on any mobile device (with java support) with scalable user interface. dSVG has all the functionality we have been looking for : buttons, text boxes and so on. And it's svg, so we can easily resize it to any screen resolution. I do agree that the biggest issue is Javascript. Rhino could be a good start but it doesn't work with dSVG. And again, I really appreciate your comment Best regards, Tomasz --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Dec 23 16:50:05 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88205 invoked from network); 23 Dec 2004 16:50:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 23 Dec 2004 16:50:05 -0000 Received: (qmail 48969 invoked by uid 500); 23 Dec 2004 16:50:04 -0000 Delivered-To: [email protected] Received: (qmail 48942 invoked by uid 500); 23 Dec 2004 16:50:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48923 invoked by uid 99); 23 Dec 2004 16:50:03 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Message-ID: <[email protected]> Date: Thu, 23 Dec 2004 11:47:47 -0500 From: Alice Mello <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 (CK-MIT) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Qustion about SVG References: <[email protected]> <003c01c4e625$efd971c0$ce03a8c0@tamega> <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.023 X-Spam-Flag: NO X-Scanned-By: MIMEDefang 2.42 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello all, I wish you all a great holiday and Happy New Year!!! My quick question is: Given the part of a path data below, I would to know how to interpret the fourth point after the "c". I imagine that after the triple cx1,y1 x2,y2 x,y, all the other points are regular Line to (l) points until the next c appear. Is that correct? I am implementing a translator. I need to read a SVG image and convert it to my own internal data structure. Thank you, Alice --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Dec 23 18:42:40 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39951 invoked from network); 23 Dec 2004 18:42:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 23 Dec 2004 18:42:40 -0000 Received: (qmail 92105 invoked by uid 500); 23 Dec 2004 18:42:38 -0000 Delivered-To: [email protected] Received: (qmail 92078 invoked by uid 500); 23 Dec 2004 18:42:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 92064 invoked by uid 99); 23 Dec 2004 18:42:38 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=HTML_90_100,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Message-ID: <[email protected]> Errors-To: <[email protected]> From: "Rick Bullotta" <[email protected]> To: <[email protected]> Subject: Whitespace Handling in Batik vs ASV Date: Thu, 23 Dec 2004 13:42:30 -0500 MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_000_0042_01C4E8F5.400CD1B0" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcTpHyZkKYzS+W1zTXmGgCy29F64YA== X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0042_01C4E8F5.400CD1B0 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0043_01C4E8F5.400CD1B0" ------=_NextPart_001_0043_01C4E8F5.400CD1B0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit We're currently using Batik and have encountered some issues when there are linefeeds inside a <text> element. In the following example, extracted from a Visio SVG export, shape5-12 renders properly and shape6-15 does not. Note that the only difference is that the <text> element is spread across multiple lines in shape6-15: <g id="shape5-12" v:mID="5" v:groupContext="shape" transform="translate(54,0)"> <title>Sheet.5</title> <desc>80%</desc> <v:textBlock v:margins="rect(0,0,0,0)"/> <v:textRect cx="13.5" cy="79.92" width="27" height="86.4"/> <rect x="0" y="36.72" width="27" height="86.4" class="st8"/> <text x="1.49" y="83.52" class="st9">80%</text> <text x="1.49" y="83.52" class="st9" v:langID="1033"><v:paragraph v:horizAlign="1"/><v:tabList/>80%</text> </g> <g id="shape6-15" v:mID="6" v:groupContext="shape" transform="translate(81,0)"> <title>Sheet.6</title> <desc>70%</desc> <v:textBlock v:margins="rect(0,0,0,0)"/> <v:textRect cx="13.5" cy="85.32" width="27" height="75.6"/> <rect x="0" y="47.52" width="27" height="75.6" class="st1"/> <text x="1.49" y="88.92" class="st2" v:langID="1033"> <v:paragraph v:horizAlign="1"/> <v:tabList/>70%</text> </g> The code that generates the SVGDocument is basically: XMLResourceDescriptor.setXMLParserClassName("org.apache.xerces.parsers.SAXPa rser"); SAXSVGDocumentFactory f = new SAXSVGDocumentFactory("org.apache.xerces.parsers.SAXParser"); SVGDocument doc = (SVGDocument) f.createDocument(sURL); doc.normalize(); return doc; The core question is, how can we arrange for the line feeds to be ignored in the text element? Adobe's viewer seems to do this fine, as does the SharpVectorGraphics library for .NET, but Batik seems to have issues with it. Thanks! Rick Bullotta CTO Lighthammer Software www.lighthammer.com ------=_NextPart_001_0043_01C4E8F5.400CD1B0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:Batang; panose-1:2 3 6 0 0 1 1 1 1 1;} @font-face {font-family:Shruti; panose-1:2 0 5 0 0 0 0 0 0 0;} @font-face {font-family:Verdana; panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face {font-family:"\@Batang"; panose-1:0 0 0 0 0 0 0 0 0 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} p.MsoPlainText, li.MsoPlainText, div.MsoPlainText {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Courier New";} p {mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; font-size:12.0pt; font-family:"Times New Roman";} span.EmailStyle17 {mso-style-type:personal-compose; font-family:Verdana; color:black; font-weight:normal; font-style:normal; text-decoration:none none;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'>We&#8217;re = currently using Batik and have encountered some issues when there are linefeeds = inside a &lt;text&gt; element. &nbsp;In the following example, extracted from a = Visio SVG export, shape5-12 renders properly and shape6-15 does not. &nbsp;Note = that the only difference is that the &lt;text&gt; element is spread across multiple = lines in shape6-15:<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'><o:p>&nbsp;</o:= p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp; </span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>g</span></font><font size=3D2 color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> id</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>shape5-12</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> v:mID</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>5</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> v:groupContext</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>shape</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> transform</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>translate(54,0)</span></font><font = size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp; = </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>title</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>Sheet.5</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;/</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>title</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp; = </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>desc</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>80%</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;/</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>desc</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp; = </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>v:textBlock</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> v:margins</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>rect(0,0,0,0)</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;/&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp; = </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>v:textRect</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> cx</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>13.5</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> cy</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>79.92</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> width</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>27</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> height</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>86.4</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;/&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp; = </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>rect</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> x</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>0</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> y</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>36.72</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> width</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>27</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> height</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>86.4</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> class</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>st8</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;/&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp; = </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>text</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> x</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>1.49</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> y</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>83.52</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> class</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>st9</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>80%</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;/</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>text</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp; = </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>text</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> x</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>1.49</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> y</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>83.52</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> class</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>st9</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> v:langID</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>1033</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;&gt;&lt;</span></font><font size=3D2 color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>v:paragraph</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> v:horizAlign</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>1</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;/&gt;&lt;</span></font><font size=3D2 color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>v:tabList</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>/&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>80%</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;/</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>text</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp; </span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;/</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>g</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp; </span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>g</span></font><font size=3D2 color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> id</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>shape6-15</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> v:mID</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>6</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> v:groupContext</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>shape</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> transform</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>translate(81,0)</span></font><font = size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp; = </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>title</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>Sheet.6</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;/</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>title</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp; = </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>desc</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>70%</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;/</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>desc</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp; = </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>v:textBlock</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> v:margins</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>rect(0,0,0,0)</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;/&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp; = </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>v:textRect</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> cx</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>13.5</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> cy</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>85.32</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> width</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>27</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> height</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>75.6</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;/&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp; = </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>rect</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> x</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>0</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> y</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>47.52</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> width</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>27</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> height</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>75.6</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> class</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>st1</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;/&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp; = </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>text</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> x</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>1.49</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> y</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>88.92</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> class</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>st2</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> v:langID</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>1033</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>v:paragraph</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> v:horizAlign</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>1</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;/&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>v:tabList</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>/&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>70%</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;/</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>text</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp; </span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;/</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>g</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'><o:p>&nbsp;</o:= p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'><o:p>&nbsp;</o:= p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'>The code that = generates the SVGDocument is basically:<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'><o:p>&nbsp;</o:= p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'>&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XMLResourceDescriptor.setXMLParserClassName(&#8220;org.apache.xerces.pars= ers.SAXParser&#8221;);<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'>&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SAXSVGDocumentFactory f =3D new = SAXSVGDocumentFactory(&#8220;org.apache.xerces.parsers.SAXParser&#8221;);= <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'>&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font><font size=3D1 color=3Dblack face=3DVerdana><span lang=3DFR = style=3D'font-size:8.0pt; font-family:Verdana;color:black'>SVGDocument doc =3D (SVGDocument) = f.createDocument(sURL);<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span = lang=3DFR style=3D'font-size:8.0pt;font-family:Verdana;color:black'>&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</span></font><font size=3D1 color=3Dblack face=3DVerdana><span = style=3D'font-size:8.0pt;font-family:Verdana; color:black'>doc.normalize();<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'><o:p>&nbsp;</o:= p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'>&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return = doc;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'><o:p>&nbsp;</o:= p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'>The core = question is, how can we arrange for the line feeds to be ignored in the text element? = &nbsp;Adobe&#8217;s viewer seems to do this fine, as does the SharpVectorGraphics library = for .NET, but Batik seems to have issues with it.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'><o:p>&nbsp;</o:= p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'>Thanks!<o:p></o= :p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'><o:p>&nbsp;</o:= p></span></font></p> <p><b><font size=3D1 color=3Dblack face=3DVerdana><span = style=3D'font-size:7.5pt; font-family:Verdana;color:black;font-weight:bold'>Rick = Bullotta</span></font></b><font size=3D1 color=3Dblack face=3DVerdana><span = style=3D'font-size:7.5pt;font-family:Verdana; color:black'><br> CTO<br> Lighthammer Software<br> <a href=3D"http://www.lighthammer.com">www.lighthammer.com</a> = </span></font><font color=3Dblack><span style=3D'color:black'><o:p></o:p></span></font></p> <p><font size=3D3 color=3Dblack face=3D"Times New Roman"><span = style=3D'font-size:12.0pt; color:black'><img border=3D0 width=3D70 height=3D40 id=3D"_x0000_i1025" src=3D"cid:[email protected]"></span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> </div> </body> </html> ------=_NextPart_001_0043_01C4E8F5.400CD1B0-- ------=_NextPart_000_0042_01C4E8F5.400CD1B0 Content-Type: image/gif; name="image001.gif" Content-Transfer-Encoding: base64 Content-ID: <[email protected]> R0lGODlhRgAoAPcAAIyEv1NGn6miz29lr+Lg7///D///72FVp///X0Q3lygYh/Dv9///vzYnj350 t///n///L7ey1///z9TQ5///H1NGYP//r///T///f5qTxygciP//j///b///Pzk7lNni7P//30dB mj86lqy91CgYeJaUxoahwmZnrPX3+mFVWMLO36G0z8HO35uwzGRxrfX3upGMwpStykA3ldjc6khC m4mYws/RVnqZvH6Ju2pgrDEnjYyEn7HB119cp5avi0tInb3L3aGfy3l0tWFmqlFFnoiiw05CnZWr yeLp8JGqyHaVuoWgwTkyki0pjbeyKMDN3rPC2MXBL395uL7L3YN8ulllp2ttr6S30ZasyrbH2rnJ 3Ort9EM2l+zw9Z+zzo6exMHN33OTuYeFvqmiMH50l9Tc6cXBn8fU48XBj4eiwzYwkcK+3dri7LjH 2jwwk0AzlWl+suHm75SryYmjxLjD2rrI24yEb4WgwsXBT0A3lqWvz7zD3K3A1mNbqcXBv+fo8sLO 4HRtsoOVvtvh7LTG2rbF2mljrJOqyEQ2l9rh7IukxKS30E9DnYqlxKO20KW40aGtzq601JatytHa 51NGf3V3tL2+28XB3xoJgP//AP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAARgAoAAAI/wA1CRxI sKDBgwgTKlzIsOFBCwgoZMpUAIEEhxgzYmQAYaJHjwgMaBxJciCHiR0eMNDEYENHiitLymyIIBOF mAUZSMz0YKZPhDU7iERooGYmBD+TCqx5oeGDiUiVztyQCcJQhhYKHJVaUgJFEBklaO3JVWNHCyMZ TCRbtiHVpiSfFrjYdqGBAgWujpSrV+mCBQcvLTiJwaBgjDUh+LyE6RLBAAcOYvJjU+ACAQMbZ+yQ icNMxo4HXppQkIAmTHh4CmScObRDAxLRlgQ90EEAzAIaYErQ4HQFTA0wJ8AUwMHpAAoUYL40PLgm AQMCEB+ggMSYAmQc6B4wADjpBQcwKf8wLgAyJgC0BU5IAIAApgERFAw4ncIMck0ZGpPefam7pv6X hKcJAOdFwF94mVSgHIEHXNJAAJokkEAE+QlAIHwEpCdQAOhhYloAEGIShQGssSaQZrQJYFtjBG4I wH+YXFABhKc5BkAAE7wHAAANHEAgYDC6pgmH7sEnHwOYoAHjkic6BhqBDnR3SYtDvsiYAZRUsJJm NzI2wI4AREBlkI+92J18CyCAIiYwmlZjkAkY9ySbVS4ZQAV5cYkjJpgNNCZjCYAIIYenBXpbAWtq 4t4BAyywZoDs6WYhnYSydmcmF+ipyQHjDdDbmASAueNzjlkIAII7mBaqQBEwGqqq7S3/MMABFjow pUACOLaqAAJ0ZIdpl/SZQQADLPciQwFkECAJedU1kFcFgOWTrArs5kRUzgqEQVVceSVbtgJ1VBi4 znqVCU7klrVts+mWBVsmNohxwgkl/NFuUi/44MIQhwgiAiZU3DsTCklIEkIeekCxCBOYBCJwSVoc 8UQQmPQhhAxW/Cvkww6ZwMMMiGDChRGGQIIDJpVwnNEHc6jwBibE5ZAIEI5o4IHKGLGhCCAww8zI IFNcoUMTODuExBKFuEGEAmtsMUkbXmigRtEONbJCD1JYEkcZYIyARRU1UN1QFmk8QgMdLNQxQgtF hPGB2A3FcMcPmITwhRwmKEEI3A7xFeEBzBrAccMZfGPURSQwlLAHCgcFBAA7 ------=_NextPart_000_0042_01C4E8F5.400CD1B0-- From [email protected] Thu Dec 23 20:15:59 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90667 invoked from network); 23 Dec 2004 20:15:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 23 Dec 2004 20:15:59 -0000 Received: (qmail 55251 invoked by uid 500); 23 Dec 2004 20:15:58 -0000 Delivered-To: [email protected] Received: (qmail 55230 invoked by uid 500); 23 Dec 2004 20:15:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55213 invoked by uid 99); 23 Dec 2004 20:15:58 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=HTML_90_100,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Message-ID: <[email protected]> Errors-To: <[email protected]> From: "Rick Bullotta" <[email protected]> To: <[email protected]> Subject: RE: Whitespace Handling in Batik vs ASV Date: Thu, 23 Dec 2004 15:15:51 -0500 MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_000_0081_01C4E902.4A511250" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcTpHyZkKYzS+W1zTXmGgCy29F64YAACThhw In-Reply-To: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0081_01C4E902.4A511250 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0082_01C4E902.4A511250" ------=_NextPart_001_0082_01C4E902.4A511250 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit A bit more information: It appears to be that the various viewers handle the "xml:space=preserve" attribute.ASV and SharpVectorGraphics seem to ignore it altogether, and Batik seems to honor it (somewhat), but still converts linefeeds into spaces when preserve is not enabled. Any suggestions? _____ From: Rick Bullotta [mailto:[email protected]] Sent: Thursday, December 23, 2004 1:43 PM To: [email protected] Subject: Whitespace Handling in Batik vs ASV We're currently using Batik and have encountered some issues when there are linefeeds inside a <text> element. In the following example, extracted from a Visio SVG export, shape5-12 renders properly and shape6-15 does not. Note that the only difference is that the <text> element is spread across multiple lines in shape6-15: <g id="shape5-12" v:mID="5" v:groupContext="shape" transform="translate(54,0)"> <title>Sheet.5</title> <desc>80%</desc> <v:textBlock v:margins="rect(0,0,0,0)"/> <v:textRect cx="13.5" cy="79.92" width="27" height="86.4"/> <rect x="0" y="36.72" width="27" height="86.4" class="st8"/> <text x="1.49" y="83.52" class="st9">80%</text> <text x="1.49" y="83.52" class="st9" v:langID="1033"><v:paragraph v:horizAlign="1"/><v:tabList/>80%</text> </g> <g id="shape6-15" v:mID="6" v:groupContext="shape" transform="translate(81,0)"> <title>Sheet.6</title> <desc>70%</desc> <v:textBlock v:margins="rect(0,0,0,0)"/> <v:textRect cx="13.5" cy="85.32" width="27" height="75.6"/> <rect x="0" y="47.52" width="27" height="75.6" class="st1"/> <text x="1.49" y="88.92" class="st2" v:langID="1033"> <v:paragraph v:horizAlign="1"/> <v:tabList/>70%</text> </g> The code that generates the SVGDocument is basically: XMLResourceDescriptor.setXMLParserClassName("org.apache.xerces.parsers.SAXPa rser"); SAXSVGDocumentFactory f = new SAXSVGDocumentFactory("org.apache.xerces.parsers.SAXParser"); SVGDocument doc = (SVGDocument) f.createDocument(sURL); doc.normalize(); return doc; The core question is, how can we arrange for the line feeds to be ignored in the text element? Adobe's viewer seems to do this fine, as does the SharpVectorGraphics library for .NET, but Batik seems to have issues with it. Thanks! Rick Bullotta CTO Lighthammer Software www.lighthammer.com ------=_NextPart_001_0082_01C4E902.4A511250 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:Batang; panose-1:2 3 6 0 0 1 1 1 1 1;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face {font-family:Verdana; panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face {font-family:"\@Batang"; panose-1:0 0 0 0 0 0 0 0 0 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} p.MsoPlainText, li.MsoPlainText, div.MsoPlainText {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Courier New";} p {mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; font-size:12.0pt; font-family:"Times New Roman";} span.EmailStyle19 {mso-style-type:personal; font-family:Verdana; color:black; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle20 {mso-style-type:personal-reply; font-family:Verdana; color:blue; font-weight:normal; font-style:normal; text-decoration:none none;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D1 color=3Dblue face=3DVerdana><span = style=3D'font-size: 8.0pt;font-family:Verdana;color:blue'>A bit more = information:<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblue face=3DVerdana><span = style=3D'font-size: 8.0pt;font-family:Verdana;color:blue'><o:p>&nbsp;</o:p></span></font></p>= <p class=3DMsoNormal><font size=3D1 color=3Dblue face=3DVerdana><span = style=3D'font-size: 8.0pt;font-family:Verdana;color:blue'>It appears to be that the various = viewers handle the &#8220;xml:space=3Dpreserve&#8221; attribute&#8230;ASV and SharpVectorGraphics seem to ignore it altogether, and Batik seems to = honor it (somewhat), but still converts linefeeds into spaces when preserve is = not enabled&#8230;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblue face=3DVerdana><span = style=3D'font-size: 8.0pt;font-family:Verdana;color:blue'><o:p>&nbsp;</o:p></span></font></p>= <p class=3DMsoNormal><font size=3D1 color=3Dblue face=3DVerdana><span = style=3D'font-size: 8.0pt;font-family:Verdana;color:blue'>Any = suggestions?<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblue face=3DVerdana><span = style=3D'font-size: 8.0pt;font-family:Verdana;color:blue'><o:p>&nbsp;</o:p></span></font></p>= <div> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font = size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'> <hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1> </span></font></div> <p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma;font-weight:bold'>From:</span></font></b><font = size=3D2 face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'> Rick = Bullotta [mailto:[email protected]] <br> <b><span style=3D'font-weight:bold'>Sent:</span></b> Thursday, December = 23, 2004 1:43 PM<br> <b><span style=3D'font-weight:bold'>To:</span></b> = [email protected]<br> <b><span style=3D'font-weight:bold'>Subject:</span></b> Whitespace = Handling in Batik vs ASV</span></font><o:p></o:p></p> </div> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'>We&#8217;re = currently using Batik and have encountered some issues when there are linefeeds = inside a &lt;text&gt; element. &nbsp;In the following example, extracted from a = Visio SVG export, shape5-12 renders properly and shape6-15 does not. = &nbsp;Note that the only difference is that the &lt;text&gt; element is spread across = multiple lines in shape6-15:<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'><o:p>&nbsp;</o:= p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp; </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>g</span></font><font size=3D2 color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> id</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>shape5-12</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> v:mID</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>5</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> v:groupContext</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>shape</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> transform</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>translate(54,0)</span></font><font = size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp; = </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family: "Courier New";color:blue;background:white'>&lt;</span></font><font = size=3D2 color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>title</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>Sheet.5</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;/</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>title</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp; = </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family: "Courier New";color:blue;background:white'>&lt;</span></font><font = size=3D2 color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>desc</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>80%</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;/</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>desc</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp; = </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family: "Courier New";color:blue;background:white'>&lt;</span></font><font = size=3D2 color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>v:textBlock</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> v:margins</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>rect(0,0,0,0)</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;/&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp; = </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family: "Courier New";color:blue;background:white'>&lt;</span></font><font = size=3D2 color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>v:textRect</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> cx</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>13.5</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> cy</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>79.92</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> width</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>27</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> height</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>86.4</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;/&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp; = </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family: "Courier New";color:blue;background:white'>&lt;</span></font><font = size=3D2 color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>rect</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> x</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>0</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> y</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>36.72</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> width</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>27</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> height</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>86.4</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> class</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>st8</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;/&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp; = </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family: "Courier New";color:blue;background:white'>&lt;</span></font><font = size=3D2 color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>text</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> x</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>1.49</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> y</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>83.52</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> class</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>st9</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>80%</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;/</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>text</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp; = </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family: "Courier New";color:blue;background:white'>&lt;</span></font><font = size=3D2 color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>text</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> x</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>1.49</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> y</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>83.52</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> class</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>st9</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> v:langID</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>1033</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;&gt;&lt;</span></font><font size=3D2 color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>v:paragraph</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> v:horizAlign</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>1</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;/&gt;&lt;</span></font><font size=3D2 color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>v:tabList</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>/&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>80%</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;/</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>text</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp; </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;/</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>g</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp; </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>g</span></font><font size=3D2 color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> id</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>shape6-15</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> v:mID</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>6</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> v:groupContext</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>shape</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> transform</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>translate(81,0)</span></font><font = size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp; = </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family: "Courier New";color:blue;background:white'>&lt;</span></font><font = size=3D2 color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>title</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>Sheet.6</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;/</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>title</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp; = </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family: "Courier New";color:blue;background:white'>&lt;</span></font><font = size=3D2 color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>desc</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>70%</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;/</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>desc</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp; = </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family: "Courier New";color:blue;background:white'>&lt;</span></font><font = size=3D2 color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>v:textBlock</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> v:margins</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>rect(0,0,0,0)</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;/&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp; = </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family: "Courier New";color:blue;background:white'>&lt;</span></font><font = size=3D2 color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>v:textRect</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> cx</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>13.5</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> cy</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>85.32</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> width</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>27</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> height</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>75.6</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;/&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp; = </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family: "Courier New";color:blue;background:white'>&lt;</span></font><font = size=3D2 color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>rect</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> x</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>0</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> y</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>47.52</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> width</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>27</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> height</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>75.6</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> class</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>st1</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;/&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp; = </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family: "Courier New";color:blue;background:white'>&lt;</span></font><font = size=3D2 color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>text</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> x</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>1.49</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> y</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>88.92</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> class</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>st2</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> v:langID</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>1033</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family: "Courier New";color:blue;background:white'>&lt;</span></font><font = size=3D2 color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>v:paragraph</span></font><font size=3D2 = color=3Dred face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:red;background:white'> v:horizAlign</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>=3D&quot;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>1</span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&quot;/&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family: "Courier New";color:blue;background:white'>&lt;</span></font><font = size=3D2 color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>v:tabList</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>/&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>70%</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;/</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>text</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'>&nbsp;&nbsp; </span></font><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&lt;/</span></font><font size=3D2 = color=3Dmaroon face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:maroon;background:white'>g</span></font><font size=3D2 = color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:blue;background:white'>&gt;</span></font><font size=3D2 = color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; color:black;background:white'><o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'><o:p>&nbsp;</o:= p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'><o:p>&nbsp;</o:= p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'>The code that = generates the SVGDocument is basically:<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'><o:p>&nbsp;</o:= p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'>&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XMLResourceDescriptor.setXMLParserClassName(&#8220;org.apache.xerces.pars= ers.SAXParser&#8221;);<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'>&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SAXSVGDocumentFactory f =3D new = SAXSVGDocumentFactory(&#8220;org.apache.xerces.parsers.SAXParser&#8221;);= <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'>&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font><font size=3D1 color=3Dblack face=3DVerdana><span = lang=3DFR style=3D'font-size:8.0pt;font-family:Verdana;color:black'>SVGDocument = doc =3D (SVGDocument) f.createDocument(sURL);<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span = lang=3DFR style=3D'font-size:8.0pt;font-family:Verdana;color:black'>&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</span></font><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'>doc.normalize()= ;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'><o:p>&nbsp;</o:= p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'>&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return doc;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'><o:p>&nbsp;</o:= p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'>The core = question is, how can we arrange for the line feeds to be ignored in the text element? &nbsp;Adobe&#8217;s viewer seems to do this fine, as does the SharpVectorGraphics library for .NET, but Batik seems to have issues = with it.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'><o:p>&nbsp;</o:= p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'>Thanks!<o:p></o= :p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dblack face=3DVerdana><span style=3D'font-size:8.0pt;font-family:Verdana;color:black'><o:p>&nbsp;</o:= p></span></font></p> <p><b><font size=3D1 color=3Dblack face=3DVerdana><span = style=3D'font-size:7.5pt; font-family:Verdana;color:black;font-weight:bold'>Rick = Bullotta</span></font></b><font size=3D1 color=3Dblack face=3DVerdana><span = style=3D'font-size:7.5pt;font-family:Verdana; color:black'><br> CTO<br> Lighthammer Software<br> <a href=3D"http://www.lighthammer.com">www.lighthammer.com</a> = </span></font><font color=3Dblack><span style=3D'color:black'><o:p></o:p></span></font></p> <p><font size=3D3 color=3Dblack face=3D"Times New Roman"><span = style=3D'font-size:12.0pt; color:black'><img border=3D0 width=3D70 height=3D40 id=3D"_x0000_i1025" src=3D"cid:[email protected]"></span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> </div> </body> </html> ------=_NextPart_001_0082_01C4E902.4A511250-- ------=_NextPart_000_0081_01C4E902.4A511250 Content-Type: image/gif; name="image001.gif" Content-Transfer-Encoding: base64 Content-ID: <[email protected]> R0lGODlhRgAoAPcAAIyEv1NGn6miz29lr+Lg7///D///72FVp///X0Q3lygYh/Dv9///vzYnj350 t///n///L7ey1///z9TQ5///H1NGYP//r///T///f5qTxygciP//j///b///Pzk7lNni7P//30dB mj86lqy91CgYeJaUxoahwmZnrPX3+mFVWMLO36G0z8HO35uwzGRxrfX3upGMwpStykA3ldjc6khC m4mYws/RVnqZvH6Ju2pgrDEnjYyEn7HB119cp5avi0tInb3L3aGfy3l0tWFmqlFFnoiiw05CnZWr yeLp8JGqyHaVuoWgwTkyki0pjbeyKMDN3rPC2MXBL395uL7L3YN8ulllp2ttr6S30ZasyrbH2rnJ 3Ort9EM2l+zw9Z+zzo6exMHN33OTuYeFvqmiMH50l9Tc6cXBn8fU48XBj4eiwzYwkcK+3dri7LjH 2jwwk0AzlWl+suHm75SryYmjxLjD2rrI24yEb4WgwsXBT0A3lqWvz7zD3K3A1mNbqcXBv+fo8sLO 4HRtsoOVvtvh7LTG2rbF2mljrJOqyEQ2l9rh7IukxKS30E9DnYqlxKO20KW40aGtzq601JatytHa 51NGf3V3tL2+28XB3xoJgP//AP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAARgAoAAAI/wA1CRxI sKDBgwgTKlzIsOFBCwgoZMpUAIEEhxgzYmQAYaJHjwgMaBxJciCHiR0eMNDEYENHiitLymyIIBOF mAUZSMz0YKZPhDU7iERooGYmBD+TCqx5oeGDiUiVztyQCcJQhhYKHJVaUgJFEBklaO3JVWNHCyMZ TCRbtiHVpiSfFrjYdqGBAgWujpSrV+mCBQcvLTiJwaBgjDUh+LyE6RLBAAcOYvJjU+ACAQMbZ+yQ icNMxo4HXppQkIAmTHh4CmScObRDAxLRlgQ90EEAzAIaYErQ4HQFTA0wJ8AUwMHpAAoUYL40PLgm AQMCEB+ggMSYAmQc6B4wADjpBQcwKf8wLgAyJgC0BU5IAIAApgERFAw4ncIMck0ZGpPefam7pv6X hKcJAOdFwF94mVSgHIEHXNJAAJokkEAE+QlAIHwEpCdQAOhhYloAEGIShQGssSaQZrQJYFtjBG4I wH+YXFABhKc5BkAAE7wHAAANHEAgYDC6pgmH7sEnHwOYoAHjkic6BhqBDnR3SYtDvsiYAZRUsJJm NzI2wI4AREBlkI+92J18CyCAIiYwmlZjkAkY9ySbVS4ZQAV5cYkjJpgNNCZjCYAIIYenBXpbAWtq 4t4BAyywZoDs6WYhnYSydmcmF+ipyQHjDdDbmASAueNzjlkIAII7mBaqQBEwGqqq7S3/MMABFjow pUACOLaqAAJ0ZIdpl/SZQQADLPciQwFkECAJedU1kFcFgOWTrArs5kRUzgqEQVVceSVbtgJ1VBi4 znqVCU7klrVts+mWBVsmNohxwgkl/NFuUi/44MIQhwgiAiZU3DsTCklIEkIeekCxCBOYBCJwSVoc 8UQQmPQhhAxW/Cvkww6ZwMMMiGDChRGGQIIDJpVwnNEHc6jwBibE5ZAIEI5o4IHKGLGhCCAww8zI IFNcoUMTODuExBKFuEGEAmtsMUkbXmigRtEONbJCD1JYEkcZYIyARRU1UN1QFmk8QgMdLNQxQgtF hPGB2A3FcMcPmITwhRwmKEEI3A7xFeEBzBrAccMZfGPURSQwlLAHCgcFBAA7 ------=_NextPart_000_0081_01C4E902.4A511250-- From [email protected] Sun Dec 26 17:12:21 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55468 invoked from network); 26 Dec 2004 17:12:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 26 Dec 2004 17:12:21 -0000 Received: (qmail 58542 invoked by uid 500); 26 Dec 2004 17:12:21 -0000 Delivered-To: [email protected] Received: (qmail 58383 invoked by uid 500); 26 Dec 2004 17:12:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 49993 invoked by uid 99); 23 Dec 2004 15:15:17 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) From: "turano dario" <[email protected]> To: <[email protected]> Subject: Portion of SVG Date: Thu, 23 Dec 2004 16:17:31 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000C_01C4E90A.E7635CD0" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcTpAoV45vu9ojoyShy2QX0Webv11A== Message-Id: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_NextPart_000_000C_01C4E90A.E7635CD0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, Can anyone help me restrict the portion of SVG in the JSVGCanvas class? I want extract a portion of SVG graphics around a fixed anchor point on JSVGCanvas , but I don't know how to make and which class to use. I am trying to understand the sequence of steps that to obtain portion of SVG by using batik class. I can't find any example on the web. Any help would be great. thanks Dario ------=_NextPart_000_000C_01C4E90A.E7635CD0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.StileMessaggioDiPostaElettronica17 {mso-style-type:personal-compose; font-family:Arial; color:windowtext;} @page Section1 {size:595.3pt 841.9pt; margin:70.85pt 2.0cm 2.0cm 2.0cm;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DIT link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>Hi,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>Can anyone help me restrict the portion of SVG = in the JSVGCanvas class?<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>I want extract a portion of SVG graphics = around a fixed anchor point on JSVGCanvas , but I don't know how to make and = which class to use.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>I am trying to understand the sequence of = steps that to obtain portion of SVG by using batik class.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>I can't find any example on the web. Any help = would be great. thanks<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Dario<o:p></o:p></span></font></p> </div> </body> </html> ------=_NextPart_000_000C_01C4E90A.E7635CD0-- From [email protected] Sun Dec 26 18:30:28 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76371 invoked from network); 26 Dec 2004 18:30:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 26 Dec 2004 18:30:27 -0000 Received: (qmail 41124 invoked by uid 500); 26 Dec 2004 18:30:27 -0000 Delivered-To: [email protected] Received: (qmail 40964 invoked by uid 500); 26 Dec 2004 18:30:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 40950 invoked by uid 99); 26 Dec 2004 18:30:27 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Message-ID: <[email protected]> Date: Sun, 26 Dec 2004 13:30:21 -0500 From: Thomas DeWeese <[email protected]> Organization: Eastman Kodak Company User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: Qustion about SVG References: <[email protected]> <003c01c4e625$efd971c0$ce03a8c0@tamega> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Alice, Alice Mello wrote: > Given the part of a path data below, I would to know how to interpret > the fourth point after the "c". I imagine that after the triple cx1,y1 > x2,y2 x,y, all the other points are regular Line to (l) points until the > next c appear. Is that correct? I would strongly suggest that you read the relevant sections of the SVG specification (in this case 8.3.1)* if you are implementing a translator. You might also consider using the "micro parsers" from Batik to parse this data for you (batik.parser package). > I am implementing a translator. I need to read a SVG image and convert > it to my own internal data structure. [*] The command letter can be eliminated on subsequent commands if the same command is used multiple times in a row (e.g., you can drop the second "L" in "M 100 200 L 200 100 L -100 -200" and use "M 100 200 L 200 100 -100 -200" instead). This means that the next command is also a 'c' not an 'l'. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Dec 26 18:44:15 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79575 invoked from network); 26 Dec 2004 18:44:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 26 Dec 2004 18:44:15 -0000 Received: (qmail 54645 invoked by uid 500); 26 Dec 2004 18:44:15 -0000 Delivered-To: [email protected] Received: (qmail 54511 invoked by uid 500); 26 Dec 2004 18:44:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 54494 invoked by uid 99); 26 Dec 2004 18:44:14 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Message-ID: <[email protected]> Date: Sun, 26 Dec 2004 13:44:08 -0500 From: Thomas DeWeese <[email protected]> Organization: Eastman Kodak Company User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: Whitespace Handling in Batik vs ASV References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Rick Bullotta wrote: > A bit more information: >=20 > It appears to be that the various viewers handle the=20 > =93xml:space=3Dpreserve=94 attribute=85ASV and SharpVectorGraphics seem= to=20 > ignore it altogether, and Batik seems to honor it (somewhat), but still= =20 > converts linefeeds into spaces when preserve is not enabled=85 No it drops linefeeds when xml:space is set to "default" the question is how child elements of the text element interact with white space handling. So in your second case you have: [space 1]<element/>[space 2][text][space 3] So clearly "space 1" and "space 3" are to be eliminated the question is what should happen to "space 2"? Is it part of leading space? or is it part of 'text'. What if element is a tspan/tref (even if empty?), what if it's a glyphRef (which is always empty). What if it has a separate value for "xml:space"? This is really quite complex. I don't actually think the specification is sufficiently clear on the handling of child elements to properly implement this. One thing that really has me wondering is that is seems to strongly imply that xml:space is only used on the root 'text' element. If this is the case then you could take a model where all child 'text' is put in the string that is passed to the collapsing function. This would still leave a question of when a string of whitespace is collapsed that has content from multiple elements how does one style the resultant whitespace? As well as how to treat glyphRef which doesn't have any real text content associated. BTW in the future it is best to post working examples. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Dec 27 06:18:41 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64526 invoked from network); 27 Dec 2004 06:18:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 27 Dec 2004 06:18:41 -0000 Received: (qmail 32051 invoked by uid 500); 27 Dec 2004 06:18:40 -0000 Delivered-To: [email protected] Received: (qmail 32035 invoked by uid 500); 27 Dec 2004 06:18:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32021 invoked by uid 99); 27 Dec 2004 06:18:39 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=SPF_HELO_FAIL X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Subject: Re: Whitespace Handling in Batik vs ASV From: Tonny Kohar <[email protected]> To: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Content-Type: text/plain Message-Id: <1104121092.2820.2.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6-1mdk Date: Mon, 27 Dec 2004 13:33:09 +0700 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, > No it drops linefeeds when xml:space is set to "default" the > question is how child elements of the text element interact with > white space handling. So in your second case you have: > > [space 1]<element/>[space 2][text][space 3] > > So clearly "space 1" and "space 3" are to be eliminated > the question is what should happen to "space 2"? Is it > part of leading space? or is it part of 'text'. What if > element is a tspan/tref (even if empty?), what if it's a > glyphRef (which is always empty). What if it has a > separate value for "xml:space"? This is really quite complex. We have similar problem, and our current workaround (not solution) is once the DOM tree is build, iterate the DOM to find empty Text node and remove it. The larger the Document, the longer the time to iterate the DOM tree. Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Dec 27 14:50:23 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34996 invoked from network); 27 Dec 2004 14:50:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 27 Dec 2004 14:50:23 -0000 Received: (qmail 14253 invoked by uid 500); 27 Dec 2004 14:50:21 -0000 Delivered-To: [email protected] Received: (qmail 14230 invoked by uid 500); 27 Dec 2004 14:50:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 14214 invoked by uid 99); 27 Dec 2004 14:50:21 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Message-ID: <[email protected]> Errors-To: <[email protected]> From: "Rick Bullotta" <[email protected]> To: <[email protected]> Subject: RE: Whitespace Handling in Batik vs ASV Date: Mon, 27 Dec 2004 09:50:14 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcTreuX4Mp4NH0YzQgCM987VuFAl3gApzSYQ In-Reply-To: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Looking at the source in SVGTextElementBridge.java, it would appear that additional leading whitespace would not be properly stripped when there are multiple child text nodes containing only whitespace (I believe this may be due to the "first" boolean variable being outside the loop iterating the child nodes and therefore incorrectly not setting "stripFirst" for text nodes other than the first). Assuming for a moment that somewhere in the SAXSVGDocumentFactory implementation, DOM normalization is not occurring, two questions come to mind, I tried adding an explicit call to doc.normalize(), to no avail. Iterating for empty text nodes (and removing them), as Tonny has suggested, would be a workaround, but a definite performance hit. Open to any other suggestions... Rick Bullotta CTO Lighthammer Software (http://www.lighthammer.com) -----Original Message----- From: Thomas DeWeese [mailto:[email protected]] Sent: Sunday, December 26, 2004 1:44 PM To: [email protected] Subject: Re: Whitespace Handling in Batik vs ASV Rick Bullotta wrote: > A bit more information: > > It appears to be that the various viewers handle the > "xml:space=preserve" attribute.ASV and SharpVectorGraphics seem to > ignore it altogether, and Batik seems to honor it (somewhat), but still > converts linefeeds into spaces when preserve is not enabled. No it drops linefeeds when xml:space is set to "default" the question is how child elements of the text element interact with white space handling. So in your second case you have: [space 1]<element/>[space 2][text][space 3] So clearly "space 1" and "space 3" are to be eliminated the question is what should happen to "space 2"? Is it part of leading space? or is it part of 'text'. What if element is a tspan/tref (even if empty?), what if it's a glyphRef (which is always empty). What if it has a separate value for "xml:space"? This is really quite complex. I don't actually think the specification is sufficiently clear on the handling of child elements to properly implement this. One thing that really has me wondering is that is seems to strongly imply that xml:space is only used on the root 'text' element. If this is the case then you could take a model where all child 'text' is put in the string that is passed to the collapsing function. This would still leave a question of when a string of whitespace is collapsed that has content from multiple elements how does one style the resultant whitespace? As well as how to treat glyphRef which doesn't have any real text content associated. BTW in the future it is best to post working examples. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Dec 27 14:57:02 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38545 invoked from network); 27 Dec 2004 14:57:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 27 Dec 2004 14:57:02 -0000 Received: (qmail 27446 invoked by uid 500); 27 Dec 2004 14:56:41 -0000 Delivered-To: [email protected] Received: (qmail 27366 invoked by uid 500); 27 Dec 2004 14:56:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 27174 invoked by uid 99); 27 Dec 2004 14:56:38 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Message-ID: <[email protected]> Errors-To: <[email protected]> From: "Rick Bullotta" <[email protected]> To: <[email protected]> Subject: RE: Whitespace Handling in Batik vs ASV Date: Mon, 27 Dec 2004 09:56:23 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcTreuX4Mp4NH0YzQgCM987VuFAl3gApzSYQAABWe6A= In-Reply-To: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On further exploration, because there are element in a non-SVG namespace between the whitespace text nodes, they shouldn't/couldn't be normalized. Thus, the issue is that in the case of multiple child text nodes, "stripfirst" will only apply to the first text node. At first glance, this would appear to be a bug. Perhaps the "first" variable should be reset to true upon encountering a non-text node or a node not in the SVG namespace. We'll experiment a bit and see what happens in this case. -----Original Message----- From: Rick Bullotta [mailto:[email protected]] Sent: Monday, December 27, 2004 9:50 AM To: [email protected] Subject: RE: Whitespace Handling in Batik vs ASV Looking at the source in SVGTextElementBridge.java, it would appear that additional leading whitespace would not be properly stripped when there are multiple child text nodes containing only whitespace (I believe this may be due to the "first" boolean variable being outside the loop iterating the child nodes and therefore incorrectly not setting "stripFirst" for text nodes other than the first). Assuming for a moment that somewhere in the SAXSVGDocumentFactory implementation, DOM normalization is not occurring, two questions come to mind, I tried adding an explicit call to doc.normalize(), to no avail. Iterating for empty text nodes (and removing them), as Tonny has suggested, would be a workaround, but a definite performance hit. Open to any other suggestions... Rick Bullotta CTO Lighthammer Software (http://www.lighthammer.com) -----Original Message----- From: Thomas DeWeese [mailto:[email protected]] Sent: Sunday, December 26, 2004 1:44 PM To: [email protected] Subject: Re: Whitespace Handling in Batik vs ASV Rick Bullotta wrote: > A bit more information: > > It appears to be that the various viewers handle the > "xml:space=preserve" attribute.ASV and SharpVectorGraphics seem to > ignore it altogether, and Batik seems to honor it (somewhat), but still > converts linefeeds into spaces when preserve is not enabled. No it drops linefeeds when xml:space is set to "default" the question is how child elements of the text element interact with white space handling. So in your second case you have: [space 1]<element/>[space 2][text][space 3] So clearly "space 1" and "space 3" are to be eliminated the question is what should happen to "space 2"? Is it part of leading space? or is it part of 'text'. What if element is a tspan/tref (even if empty?), what if it's a glyphRef (which is always empty). What if it has a separate value for "xml:space"? This is really quite complex. I don't actually think the specification is sufficiently clear on the handling of child elements to properly implement this. One thing that really has me wondering is that is seems to strongly imply that xml:space is only used on the root 'text' element. If this is the case then you could take a model where all child 'text' is put in the string that is passed to the collapsing function. This would still leave a question of when a string of whitespace is collapsed that has content from multiple elements how does one style the resultant whitespace? As well as how to treat glyphRef which doesn't have any real text content associated. BTW in the future it is best to post working examples. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Dec 27 14:57:13 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38823 invoked from network); 27 Dec 2004 14:57:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 27 Dec 2004 14:57:13 -0000 Received: (qmail 28990 invoked by uid 500); 27 Dec 2004 14:57:09 -0000 Delivered-To: [email protected] Received: (qmail 28884 invoked by uid 500); 27 Dec 2004 14:57:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 28644 invoked by uid 99); 27 Dec 2004 14:57:02 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Message-ID: <[email protected]> Errors-To: <[email protected]> From: "Rick Bullotta" <[email protected]> To: <[email protected]> Subject: Lightweight Batik Build - No scripting support? Date: Mon, 27 Dec 2004 09:56:49 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcTreuX4Mp4NH0YzQgCM987VuFAl3gApzSYQAAB4R6A= In-Reply-To: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Is there any easy way to build Batik without of the scripting infrastructure (for use in server-side applications). We manually stripped out all of the scripting code, but that is obviously not a desirable approach long term. Rick Bullotta CTO Lighthammer Software (http://www.lighthammer.com) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Dec 31 01:09:40 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15769 invoked from network); 31 Dec 2004 01:09:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 31 Dec 2004 01:09:40 -0000 Received: (qmail 10227 invoked by uid 500); 31 Dec 2004 01:09:39 -0000 Delivered-To: [email protected] Received: (qmail 10198 invoked by uid 500); 31 Dec 2004 01:09:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 10184 invoked by uid 99); 31 Dec 2004 01:09:38 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Message-ID: <[email protected]> Date: Thu, 30 Dec 2004 20:09:32 -0500 From: Thomas DeWeese <[email protected]> Organization: Eastman Kodak Company User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: Lightweight Batik Build - No scripting support? References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Rick Bullotta wrote: > Is there any easy way to build Batik without of the scripting infrastructure > (for use in server-side applications). We manually stripped out all of the > scripting code, but that is obviously not a desirable approach long term. Why do you care about the size for server-side applications? If you don't want any of the 'dynamic' features enabled simply tell the BridgeContext to be STATIC (this is the default for the Transcoders). What scripting code are you stripping out? --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Dec 31 13:09:49 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33216 invoked from network); 31 Dec 2004 13:09:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 31 Dec 2004 13:09:49 -0000 Received: (qmail 60644 invoked by uid 500); 31 Dec 2004 13:09:48 -0000 Delivered-To: [email protected] Received: (qmail 60488 invoked by uid 500); 31 Dec 2004 13:09:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 60473 invoked by uid 99); 31 Dec 2004 13:09:47 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Message-ID: <[email protected]> Errors-To: <[email protected]> From: Rick Bullotta <[email protected]> To: <[email protected]>, <[email protected]> Reply-To: Rick Bullotta <[email protected]> Subject: Re: Lightweight Batik Build - No scripting support? Date: Fri, 31 Dec 2004 08:09:42 -0500 (EST) In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N You answered the key question - how to suppress mutation events and other s= uch things. We load SVG, manipulate it, then render it. We wanted to avoi= d any extraneous processing relative to events, and from your post, it seem= s that it would happen "auto-magically" for us when using the transcoders. Many thanks, and happy new year! - Rick ---- Thomas DeWeese <[email protected]> wrote: > > Rick Bullotta wrote: > > Is there any easy way to build Batik without of the scripting infrastru= cture > > (for use in server-side applications). We manually stripped out all of= the > > scripting code, but that is obviously not a desirable approach long ter= m. >=20 > Why do you care about the size for server-side applications? > If you don't want any of the 'dynamic' features enabled simply > tell the BridgeContext to be STATIC (this is the default for > the Transcoders). >=20 > What scripting code are you stripping out? >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >=20 >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Wed Dec 01 14:27:41 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25600 invoked from network); 1 Dec 2010 14:27:41 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 1 Dec 2010 14:27:41 -0000 Received: (qmail 50667 invoked by uid 500); 1 Dec 2010 14:27:41 -0000 Delivered-To: [email protected] Received: (qmail 50651 invoked by uid 500); 1 Dec 2010 14:27:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <kitty-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 92561 invoked by uid 99); 1 Dec 2010 14:00:30 -0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Date: 1 Dec 2010 14:00:08 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: Incubator PMC/Board report for December 2010 ([email protected]) Dear Kitty Developers, This email was sent by an automated system on behalf of the Apache Incubator PMC. It is an initial reminder to give you plenty of time to prepare your quarterly board report. The board meeting is scheduled for Wed, 15 December 2010, 12 pm Pacific. The report for your podling will form a part of the Incubator PMC report. The Incubator PMC requires your report to be submitted one week before the board meeting, to allow sufficient time for review. Please submit your report with sufficient time to allow the incubator PMC, and subsequently board members to review and digest. Again, the very latest you should submit your report is one week prior to the board meeting. Thanks, The Apache Incubator PMC Submitting your Report ---------------------- Your report should contain the following: * Your project name * A brief description of your project, which assumes no knowledge of the project or necessarily of its field * A list of the three most important issues to address in the move towards graduation. * Any issues that the Incubator PMC or ASF Board might wish/need to be aware of * How has the community developed since the last report * How has the project developed since the last report. This should be appended to the Incubator Wiki page at: http://wiki.apache.org/incubator/December2010 Note: This manually populated. You may need to wait a little before this page is created from a template. Mentors ------- Mentors should review reports for their project(s) and sign them off on the Incubator wiki page. Signing off reports shows that you are following the project - projects that are not signed may raise alarms for the Incubator PMC. Incubator PMC From [email protected] Wed Dec 01 14:27:47 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25611 invoked from network); 1 Dec 2010 14:27:46 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 1 Dec 2010 14:27:46 -0000 Received: (qmail 50699 invoked by uid 500); 1 Dec 2010 14:27:46 -0000 Delivered-To: [email protected] Received: (qmail 50686 invoked by uid 500); 1 Dec 2010 14:27:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <kitty-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 92549 invoked by uid 99); 1 Dec 2010 14:00:30 -0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Date: 1 Dec 2010 14:00:08 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: Incubator PMC/Board report for December 2010 ([email protected]) Dear Kitty Developers, This email was sent by an automated system on behalf of the Apache Incubator PMC. It is an initial reminder to give you plenty of time to prepare your quarterly board report. The board meeting is scheduled for Wed, 15 December 2010, 12 pm Pacific. The report for your podling will form a part of the Incubator PMC report. The Incubator PMC requires your report to be submitted one week before the board meeting, to allow sufficient time for review. Please submit your report with sufficient time to allow the incubator PMC, and subsequently board members to review and digest. Again, the very latest you should submit your report is one week prior to the board meeting. Thanks, The Apache Incubator PMC Submitting your Report ---------------------- Your report should contain the following: * Your project name * A brief description of your project, which assumes no knowledge of the project or necessarily of its field * A list of the three most important issues to address in the move towards graduation. * Any issues that the Incubator PMC or ASF Board might wish/need to be aware of * How has the community developed since the last report * How has the project developed since the last report. This should be appended to the Incubator Wiki page at: http://wiki.apache.org/incubator/December2010 Note: This manually populated. You may need to wait a little before this page is created from a template. Mentors ------- Mentors should review reports for their project(s) and sign them off on the Incubator wiki page. Signing off reports shows that you are following the project - projects that are not signed may raise alarms for the Incubator PMC. Incubator PMC From [email protected] Wed Dec 01 23:47:59 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89017 invoked from network); 1 Dec 2010 23:47:59 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 1 Dec 2010 23:47:59 -0000 Received: (qmail 4076 invoked by uid 500); 1 Dec 2010 23:47:59 -0000 Delivered-To: [email protected] Received: (qmail 4063 invoked by uid 500); 1 Dec 2010 23:47:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <kitty-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4055 invoked by uid 99); 1 Dec 2010 23:47:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 23:47:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 23:47:57 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E926923888EA; Wed, 1 Dec 2010 23:46:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1041209 - in /incubator/kitty/trunk/src/org/apache/kitty: ./ client/ client/jmxmp/ client/rmi/ exceptions/ test/ ui/ utils/ Date: Wed, 01 Dec 2010 23:46:25 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: pidster Date: Wed Dec 1 23:46:24 2010 New Revision: 1041209 URL: http://svn.apache.org/viewvc?rev=1041209&view=rev Log: Update file properties and add versioned @version javadoc tag Modified: incubator/kitty/trunk/src/org/apache/kitty/Base.java incubator/kitty/trunk/src/org/apache/kitty/CmdShell.groovy (contents, props changed) incubator/kitty/trunk/src/org/apache/kitty/Main.groovy (contents, props changed) incubator/kitty/trunk/src/org/apache/kitty/client/Client.groovy (contents, props changed) incubator/kitty/trunk/src/org/apache/kitty/client/jmxmp/JMXMPClient.groovy (contents, props changed) incubator/kitty/trunk/src/org/apache/kitty/client/rmi/RMIClient.groovy (contents, props changed) incubator/kitty/trunk/src/org/apache/kitty/exceptions/DomainIsNoneException.groovy (contents, props changed) incubator/kitty/trunk/src/org/apache/kitty/exceptions/DomainNotFoundException.groovy (contents, props changed) incubator/kitty/trunk/src/org/apache/kitty/exceptions/InvokeException.groovy (contents, props changed) incubator/kitty/trunk/src/org/apache/kitty/exceptions/MBeanAttributeNotFoundException.groovy (contents, props changed) incubator/kitty/trunk/src/org/apache/kitty/exceptions/MBeanNotFoundException.groovy (props changed) incubator/kitty/trunk/src/org/apache/kitty/exceptions/OperationNotFoundException.groovy (contents, props changed) incubator/kitty/trunk/src/org/apache/kitty/exceptions/SetAttributeException.groovy (contents, props changed) incubator/kitty/trunk/src/org/apache/kitty/test/ClientTest0.groovy (contents, props changed) incubator/kitty/trunk/src/org/apache/kitty/test/Test.java incubator/kitty/trunk/src/org/apache/kitty/test/TestGroovyShell.groovy (contents, props changed) incubator/kitty/trunk/src/org/apache/kitty/test/TestShell.java incubator/kitty/trunk/src/org/apache/kitty/ui/Console.groovy (contents, props changed) incubator/kitty/trunk/src/org/apache/kitty/ui/Dashboard.groovy (contents, props changed) incubator/kitty/trunk/src/org/apache/kitty/utils/Constants.java incubator/kitty/trunk/src/org/apache/kitty/utils/Help.groovy (contents, props changed) Modified: incubator/kitty/trunk/src/org/apache/kitty/Base.java URL: http://svn.apache.org/viewvc/incubator/kitty/trunk/src/org/apache/kitty/Base.java?rev=1041209&r1=1041208&r2=1041209&view=diff ============================================================================== --- incubator/kitty/trunk/src/org/apache/kitty/Base.java (original) +++ incubator/kitty/trunk/src/org/apache/kitty/Base.java Wed Dec 1 23:46:24 2010 @@ -20,6 +20,7 @@ package org.apache.kitty; /** * + * @version $Id$ */ public interface Base { Modified: incubator/kitty/trunk/src/org/apache/kitty/CmdShell.groovy URL: http://svn.apache.org/viewvc/incubator/kitty/trunk/src/org/apache/kitty/CmdShell.groovy?rev=1041209&r1=1041208&r2=1041209&view=diff ============================================================================== --- incubator/kitty/trunk/src/org/apache/kitty/CmdShell.groovy (original) +++ incubator/kitty/trunk/src/org/apache/kitty/CmdShell.groovy Wed Dec 1 23:46:24 2010 @@ -32,6 +32,8 @@ import org.apache.kitty.utils.Constants; * This is a command shell class that is used for a command line user interface for the management console * </p> * </pre> + * + * @version $Id$ * */ class CmdShell { Propchange: incubator/kitty/trunk/src/org/apache/kitty/CmdShell.groovy ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/kitty/trunk/src/org/apache/kitty/CmdShell.groovy ------------------------------------------------------------------------------ svn:keywords = Id Author Date Rev Propchange: incubator/kitty/trunk/src/org/apache/kitty/CmdShell.groovy ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: incubator/kitty/trunk/src/org/apache/kitty/Main.groovy URL: http://svn.apache.org/viewvc/incubator/kitty/trunk/src/org/apache/kitty/Main.groovy?rev=1041209&r1=1041208&r2=1041209&view=diff ============================================================================== --- incubator/kitty/trunk/src/org/apache/kitty/Main.groovy (original) +++ incubator/kitty/trunk/src/org/apache/kitty/Main.groovy Wed Dec 1 23:46:24 2010 @@ -26,6 +26,7 @@ package org.apache.kitty * </p> * </pre> * +* @version $Id$ * */ class Main { Propchange: incubator/kitty/trunk/src/org/apache/kitty/Main.groovy ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/kitty/trunk/src/org/apache/kitty/Main.groovy ------------------------------------------------------------------------------ svn:keywords = Id Author Date Rev Propchange: incubator/kitty/trunk/src/org/apache/kitty/Main.groovy ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: incubator/kitty/trunk/src/org/apache/kitty/client/Client.groovy URL: http://svn.apache.org/viewvc/incubator/kitty/trunk/src/org/apache/kitty/client/Client.groovy?rev=1041209&r1=1041208&r2=1041209&view=diff ============================================================================== --- incubator/kitty/trunk/src/org/apache/kitty/client/Client.groovy (original) +++ incubator/kitty/trunk/src/org/apache/kitty/client/Client.groovy Wed Dec 1 23:46:24 2010 @@ -36,7 +36,7 @@ import org.apache.kitty.exceptions.*; * </p> * </pre> * - * @version 1.0 + * @version $Id$ * */ class Client { @@ -54,6 +54,7 @@ class Client { { //TODO def serviceURL + def properties = new HashMap() if(remote != null) { disconnect() @@ -64,7 +65,8 @@ class Client { serviceURL = "service:jmx:rmi:///jndi/rmi://$_host:$_port/jmxrmi" this.url = new JMXServiceURL(serviceURL) println "the url is $url" - this.connector = JMXConnectorFactory.connect(this.url) + // TODO add auth & credentials to properties + this.connector = JMXConnectorFactory.connect(this.url, properties) this.remote = this.connector.getMBeanServerConnection() } catch(IOException e) Propchange: incubator/kitty/trunk/src/org/apache/kitty/client/Client.groovy ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/kitty/trunk/src/org/apache/kitty/client/Client.groovy ------------------------------------------------------------------------------ svn:keywords = Id Author Date Rev Propchange: incubator/kitty/trunk/src/org/apache/kitty/client/Client.groovy ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: incubator/kitty/trunk/src/org/apache/kitty/client/jmxmp/JMXMPClient.groovy URL: http://svn.apache.org/viewvc/incubator/kitty/trunk/src/org/apache/kitty/client/jmxmp/JMXMPClient.groovy?rev=1041209&r1=1041208&r2=1041209&view=diff ============================================================================== --- incubator/kitty/trunk/src/org/apache/kitty/client/jmxmp/JMXMPClient.groovy (original) +++ incubator/kitty/trunk/src/org/apache/kitty/client/jmxmp/JMXMPClient.groovy Wed Dec 1 23:46:24 2010 @@ -28,7 +28,8 @@ import org.apache.kitty.client.Client; * * </p> * </pre> - * @author James R. Bray, Jr. + * + * @version $Id$ * */ class JMXMPClient extends Client { Propchange: incubator/kitty/trunk/src/org/apache/kitty/client/jmxmp/JMXMPClient.groovy ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/kitty/trunk/src/org/apache/kitty/client/jmxmp/JMXMPClient.groovy ------------------------------------------------------------------------------ svn:keywords = Id Author Date Rev Propchange: incubator/kitty/trunk/src/org/apache/kitty/client/jmxmp/JMXMPClient.groovy ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: incubator/kitty/trunk/src/org/apache/kitty/client/rmi/RMIClient.groovy URL: http://svn.apache.org/viewvc/incubator/kitty/trunk/src/org/apache/kitty/client/rmi/RMIClient.groovy?rev=1041209&r1=1041208&r2=1041209&view=diff ============================================================================== --- incubator/kitty/trunk/src/org/apache/kitty/client/rmi/RMIClient.groovy (original) +++ incubator/kitty/trunk/src/org/apache/kitty/client/rmi/RMIClient.groovy Wed Dec 1 23:46:24 2010 @@ -20,6 +20,11 @@ package org.apache.kitty.client.rmi import org.apache.kitty.client.Client; +/** + * + * @version $Id$ + * + */ class RMIClient extends Client { def host Propchange: incubator/kitty/trunk/src/org/apache/kitty/client/rmi/RMIClient.groovy ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/kitty/trunk/src/org/apache/kitty/client/rmi/RMIClient.groovy ------------------------------------------------------------------------------ svn:keywords = Id Author Date Rev Propchange: incubator/kitty/trunk/src/org/apache/kitty/client/rmi/RMIClient.groovy ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: incubator/kitty/trunk/src/org/apache/kitty/exceptions/DomainIsNoneException.groovy URL: http://svn.apache.org/viewvc/incubator/kitty/trunk/src/org/apache/kitty/exceptions/DomainIsNoneException.groovy?rev=1041209&r1=1041208&r2=1041209&view=diff ============================================================================== --- incubator/kitty/trunk/src/org/apache/kitty/exceptions/DomainIsNoneException.groovy (original) +++ incubator/kitty/trunk/src/org/apache/kitty/exceptions/DomainIsNoneException.groovy Wed Dec 1 23:46:24 2010 @@ -19,7 +19,8 @@ package org.apache.kitty.exceptions /** - * @author james + * + * @version $Id$ * */ class DomainIsNoneException extends Exception { Propchange: incubator/kitty/trunk/src/org/apache/kitty/exceptions/DomainIsNoneException.groovy ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/kitty/trunk/src/org/apache/kitty/exceptions/DomainIsNoneException.groovy ------------------------------------------------------------------------------ svn:keywords = Id Author Date Rev Propchange: incubator/kitty/trunk/src/org/apache/kitty/exceptions/DomainIsNoneException.groovy ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: incubator/kitty/trunk/src/org/apache/kitty/exceptions/DomainNotFoundException.groovy URL: http://svn.apache.org/viewvc/incubator/kitty/trunk/src/org/apache/kitty/exceptions/DomainNotFoundException.groovy?rev=1041209&r1=1041208&r2=1041209&view=diff ============================================================================== --- incubator/kitty/trunk/src/org/apache/kitty/exceptions/DomainNotFoundException.groovy (original) +++ incubator/kitty/trunk/src/org/apache/kitty/exceptions/DomainNotFoundException.groovy Wed Dec 1 23:46:24 2010 @@ -18,6 +18,11 @@ package org.apache.kitty.exceptions +/** + * + * @version $Id$ + * + */ class DomainNotFoundException extends Exception { } Propchange: incubator/kitty/trunk/src/org/apache/kitty/exceptions/DomainNotFoundException.groovy ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/kitty/trunk/src/org/apache/kitty/exceptions/DomainNotFoundException.groovy ------------------------------------------------------------------------------ svn:keywords = Id Author Date Rev Propchange: incubator/kitty/trunk/src/org/apache/kitty/exceptions/DomainNotFoundException.groovy ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: incubator/kitty/trunk/src/org/apache/kitty/exceptions/InvokeException.groovy URL: http://svn.apache.org/viewvc/incubator/kitty/trunk/src/org/apache/kitty/exceptions/InvokeException.groovy?rev=1041209&r1=1041208&r2=1041209&view=diff ============================================================================== --- incubator/kitty/trunk/src/org/apache/kitty/exceptions/InvokeException.groovy (original) +++ incubator/kitty/trunk/src/org/apache/kitty/exceptions/InvokeException.groovy Wed Dec 1 23:46:24 2010 @@ -20,7 +20,8 @@ package org.apache.kitty.exceptions /** - * @author james + * + * @version $Id$ * */ class InvokeException extends Exception { Propchange: incubator/kitty/trunk/src/org/apache/kitty/exceptions/InvokeException.groovy ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/kitty/trunk/src/org/apache/kitty/exceptions/InvokeException.groovy ------------------------------------------------------------------------------ svn:keywords = Id Author Date Rev Propchange: incubator/kitty/trunk/src/org/apache/kitty/exceptions/InvokeException.groovy ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: incubator/kitty/trunk/src/org/apache/kitty/exceptions/MBeanAttributeNotFoundException.groovy URL: http://svn.apache.org/viewvc/incubator/kitty/trunk/src/org/apache/kitty/exceptions/MBeanAttributeNotFoundException.groovy?rev=1041209&r1=1041208&r2=1041209&view=diff ============================================================================== --- incubator/kitty/trunk/src/org/apache/kitty/exceptions/MBeanAttributeNotFoundException.groovy (original) +++ incubator/kitty/trunk/src/org/apache/kitty/exceptions/MBeanAttributeNotFoundException.groovy Wed Dec 1 23:46:24 2010 @@ -19,7 +19,8 @@ package org.apache.kitty.exceptions /** - * @author james + * + * @version $Id$ * */ class MBeanAttributeNotFoundException extends Exception { Propchange: incubator/kitty/trunk/src/org/apache/kitty/exceptions/MBeanAttributeNotFoundException.groovy ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/kitty/trunk/src/org/apache/kitty/exceptions/MBeanAttributeNotFoundException.groovy ------------------------------------------------------------------------------ svn:keywords = Id Author Date Rev Propchange: incubator/kitty/trunk/src/org/apache/kitty/exceptions/MBeanAttributeNotFoundException.groovy ------------------------------------------------------------------------------ svn:mime-type = text/plain Propchange: incubator/kitty/trunk/src/org/apache/kitty/exceptions/MBeanNotFoundException.groovy ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/kitty/trunk/src/org/apache/kitty/exceptions/MBeanNotFoundException.groovy ------------------------------------------------------------------------------ svn:keywords = Id Author Date Rev Propchange: incubator/kitty/trunk/src/org/apache/kitty/exceptions/MBeanNotFoundException.groovy ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: incubator/kitty/trunk/src/org/apache/kitty/exceptions/OperationNotFoundException.groovy URL: http://svn.apache.org/viewvc/incubator/kitty/trunk/src/org/apache/kitty/exceptions/OperationNotFoundException.groovy?rev=1041209&r1=1041208&r2=1041209&view=diff ============================================================================== --- incubator/kitty/trunk/src/org/apache/kitty/exceptions/OperationNotFoundException.groovy (original) +++ incubator/kitty/trunk/src/org/apache/kitty/exceptions/OperationNotFoundException.groovy Wed Dec 1 23:46:24 2010 @@ -15,9 +15,13 @@ * limitations under the License. */ - package org.apache.kitty.exceptions +/** + * + * @version $Id$ + * + */ class OperationNotFoundException extends Exception { } Propchange: incubator/kitty/trunk/src/org/apache/kitty/exceptions/OperationNotFoundException.groovy ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/kitty/trunk/src/org/apache/kitty/exceptions/OperationNotFoundException.groovy ------------------------------------------------------------------------------ svn:keywords = Id Author Date Rev Propchange: incubator/kitty/trunk/src/org/apache/kitty/exceptions/OperationNotFoundException.groovy ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: incubator/kitty/trunk/src/org/apache/kitty/exceptions/SetAttributeException.groovy URL: http://svn.apache.org/viewvc/incubator/kitty/trunk/src/org/apache/kitty/exceptions/SetAttributeException.groovy?rev=1041209&r1=1041208&r2=1041209&view=diff ============================================================================== --- incubator/kitty/trunk/src/org/apache/kitty/exceptions/SetAttributeException.groovy (original) +++ incubator/kitty/trunk/src/org/apache/kitty/exceptions/SetAttributeException.groovy Wed Dec 1 23:46:24 2010 @@ -19,7 +19,7 @@ package org.apache.kitty.exceptions /** - * @author james + * @version $Id$ * */ class SetAttributeException extends Exception { Propchange: incubator/kitty/trunk/src/org/apache/kitty/exceptions/SetAttributeException.groovy ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/kitty/trunk/src/org/apache/kitty/exceptions/SetAttributeException.groovy ------------------------------------------------------------------------------ svn:keywords = Id Author Date Rev Propchange: incubator/kitty/trunk/src/org/apache/kitty/exceptions/SetAttributeException.groovy ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: incubator/kitty/trunk/src/org/apache/kitty/test/ClientTest0.groovy URL: http://svn.apache.org/viewvc/incubator/kitty/trunk/src/org/apache/kitty/test/ClientTest0.groovy?rev=1041209&r1=1041208&r2=1041209&view=diff ============================================================================== --- incubator/kitty/trunk/src/org/apache/kitty/test/ClientTest0.groovy (original) +++ incubator/kitty/trunk/src/org/apache/kitty/test/ClientTest0.groovy Wed Dec 1 23:46:24 2010 @@ -21,7 +21,8 @@ package org.apache.kitty.test; import groovy.util.GroovyTestCase; /** - * @author james + * + * @version $Id$ * */ class ClientTest extends GroovyTestCase { Propchange: incubator/kitty/trunk/src/org/apache/kitty/test/ClientTest0.groovy ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/kitty/trunk/src/org/apache/kitty/test/ClientTest0.groovy ------------------------------------------------------------------------------ svn:keywords = Id Author Date Rev Propchange: incubator/kitty/trunk/src/org/apache/kitty/test/ClientTest0.groovy ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: incubator/kitty/trunk/src/org/apache/kitty/test/Test.java URL: http://svn.apache.org/viewvc/incubator/kitty/trunk/src/org/apache/kitty/test/Test.java?rev=1041209&r1=1041208&r2=1041209&view=diff ============================================================================== --- incubator/kitty/trunk/src/org/apache/kitty/test/Test.java (original) +++ incubator/kitty/trunk/src/org/apache/kitty/test/Test.java Wed Dec 1 23:46:24 2010 @@ -33,7 +33,8 @@ import javax.management.AttributeNotFoun * <pre> * Test some simple concepts and assumptions here * </pre> - * @author james + * + * @version $Id$ * */ public class Test { Modified: incubator/kitty/trunk/src/org/apache/kitty/test/TestGroovyShell.groovy URL: http://svn.apache.org/viewvc/incubator/kitty/trunk/src/org/apache/kitty/test/TestGroovyShell.groovy?rev=1041209&r1=1041208&r2=1041209&view=diff ============================================================================== --- incubator/kitty/trunk/src/org/apache/kitty/test/TestGroovyShell.groovy (original) +++ incubator/kitty/trunk/src/org/apache/kitty/test/TestGroovyShell.groovy Wed Dec 1 23:46:24 2010 @@ -23,7 +23,7 @@ import java.io.InputStreamReader; import org.apache.kitty.utils.Help; /** - * @author James R. Bray, Jr. + * @version $Id$ * */ class TestGroovyShell { Propchange: incubator/kitty/trunk/src/org/apache/kitty/test/TestGroovyShell.groovy ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/kitty/trunk/src/org/apache/kitty/test/TestGroovyShell.groovy ------------------------------------------------------------------------------ svn:keywords = Id Author Date Rev Propchange: incubator/kitty/trunk/src/org/apache/kitty/test/TestGroovyShell.groovy ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: incubator/kitty/trunk/src/org/apache/kitty/test/TestShell.java URL: http://svn.apache.org/viewvc/incubator/kitty/trunk/src/org/apache/kitty/test/TestShell.java?rev=1041209&r1=1041208&r2=1041209&view=diff ============================================================================== --- incubator/kitty/trunk/src/org/apache/kitty/test/TestShell.java (original) +++ incubator/kitty/trunk/src/org/apache/kitty/test/TestShell.java Wed Dec 1 23:46:24 2010 @@ -23,7 +23,7 @@ import java.io.IOException; import java.io.InputStreamReader; /** - * @author james + * @version $Id$ * */ public class TestShell { Modified: incubator/kitty/trunk/src/org/apache/kitty/ui/Console.groovy URL: http://svn.apache.org/viewvc/incubator/kitty/trunk/src/org/apache/kitty/ui/Console.groovy?rev=1041209&r1=1041208&r2=1041209&view=diff ============================================================================== --- incubator/kitty/trunk/src/org/apache/kitty/ui/Console.groovy (original) +++ incubator/kitty/trunk/src/org/apache/kitty/ui/Console.groovy Wed Dec 1 23:46:24 2010 @@ -20,6 +20,7 @@ package org.apache.kitty.ui /** * + * @version $Id$ */ class Console { Propchange: incubator/kitty/trunk/src/org/apache/kitty/ui/Console.groovy ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/kitty/trunk/src/org/apache/kitty/ui/Console.groovy ------------------------------------------------------------------------------ svn:keywords = Id Author Date Rev Propchange: incubator/kitty/trunk/src/org/apache/kitty/ui/Console.groovy ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: incubator/kitty/trunk/src/org/apache/kitty/ui/Dashboard.groovy URL: http://svn.apache.org/viewvc/incubator/kitty/trunk/src/org/apache/kitty/ui/Dashboard.groovy?rev=1041209&r1=1041208&r2=1041209&view=diff ============================================================================== --- incubator/kitty/trunk/src/org/apache/kitty/ui/Dashboard.groovy (original) +++ incubator/kitty/trunk/src/org/apache/kitty/ui/Dashboard.groovy Wed Dec 1 23:46:24 2010 @@ -28,6 +28,7 @@ package org.apache.kitty.ui * </p> * </pre> * + * @version $Id$ * */ class Dashboard { Propchange: incubator/kitty/trunk/src/org/apache/kitty/ui/Dashboard.groovy ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/kitty/trunk/src/org/apache/kitty/ui/Dashboard.groovy ------------------------------------------------------------------------------ svn:keywords = Id Author Date Rev Propchange: incubator/kitty/trunk/src/org/apache/kitty/ui/Dashboard.groovy ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: incubator/kitty/trunk/src/org/apache/kitty/utils/Constants.java URL: http://svn.apache.org/viewvc/incubator/kitty/trunk/src/org/apache/kitty/utils/Constants.java?rev=1041209&r1=1041208&r2=1041209&view=diff ============================================================================== --- incubator/kitty/trunk/src/org/apache/kitty/utils/Constants.java (original) +++ incubator/kitty/trunk/src/org/apache/kitty/utils/Constants.java Wed Dec 1 23:46:24 2010 @@ -26,6 +26,7 @@ package org.apache.kitty.utils; * </p> * </pre> * + * @version $Id$ * */ public class Constants { Modified: incubator/kitty/trunk/src/org/apache/kitty/utils/Help.groovy URL: http://svn.apache.org/viewvc/incubator/kitty/trunk/src/org/apache/kitty/utils/Help.groovy?rev=1041209&r1=1041208&r2=1041209&view=diff ============================================================================== --- incubator/kitty/trunk/src/org/apache/kitty/utils/Help.groovy (original) +++ incubator/kitty/trunk/src/org/apache/kitty/utils/Help.groovy Wed Dec 1 23:46:24 2010 @@ -21,6 +21,8 @@ package org.apache.kitty.utils /** * + * @version $Id$ + * */ class Help { Propchange: incubator/kitty/trunk/src/org/apache/kitty/utils/Help.groovy ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/kitty/trunk/src/org/apache/kitty/utils/Help.groovy ------------------------------------------------------------------------------ svn:keywords = Id Author Date Rev Propchange: incubator/kitty/trunk/src/org/apache/kitty/utils/Help.groovy ------------------------------------------------------------------------------ svn:mime-type = text/plain From [email protected] Wed Dec 01 23:50:53 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89749 invoked from network); 1 Dec 2010 23:50:53 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 1 Dec 2010 23:50:53 -0000 Received: (qmail 4877 invoked by uid 500); 1 Dec 2010 23:50:53 -0000 Delivered-To: [email protected] Received: (qmail 4861 invoked by uid 500); 1 Dec 2010 23:50:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <kitty-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4853 invoked by uid 99); 1 Dec 2010 23:50:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 23:50:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 23:50:53 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 7A5032388A2C; Wed, 1 Dec 2010 23:49:21 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1041211 - in /incubator/kitty/trunk: DISCLAIMER KEYS LICENSE NOTICE RELEASE-NOTES Date: Wed, 01 Dec 2010 23:49:21 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: pidster Date: Wed Dec 1 23:49:21 2010 New Revision: 1041211 URL: http://svn.apache.org/viewvc?rev=1041211&view=rev Log: Update file properties Modified: incubator/kitty/trunk/DISCLAIMER (props changed) incubator/kitty/trunk/KEYS (props changed) incubator/kitty/trunk/LICENSE (props changed) incubator/kitty/trunk/NOTICE (props changed) incubator/kitty/trunk/RELEASE-NOTES (props changed) Propchange: incubator/kitty/trunk/DISCLAIMER ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/kitty/trunk/DISCLAIMER ------------------------------------------------------------------------------ svn:keywords = Id Author Date Rev Propchange: incubator/kitty/trunk/DISCLAIMER ------------------------------------------------------------------------------ svn:mime-type = text/plain Propchange: incubator/kitty/trunk/KEYS ------------------------------------------------------------------------------ svn:keywords = Id Author Date Rev Propchange: incubator/kitty/trunk/KEYS ------------------------------------------------------------------------------ svn:mime-type = text/plain Propchange: incubator/kitty/trunk/LICENSE ------------------------------------------------------------------------------ svn:keywords = Id Author Date Rev Propchange: incubator/kitty/trunk/LICENSE ------------------------------------------------------------------------------ svn:mime-type = text/plain Propchange: incubator/kitty/trunk/NOTICE ------------------------------------------------------------------------------ svn:keywords = Id Author Date Rev Propchange: incubator/kitty/trunk/NOTICE ------------------------------------------------------------------------------ svn:mime-type = text/plain Propchange: incubator/kitty/trunk/RELEASE-NOTES ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/kitty/trunk/RELEASE-NOTES ------------------------------------------------------------------------------ svn:keywords = Id Author Date Rev Propchange: incubator/kitty/trunk/RELEASE-NOTES ------------------------------------------------------------------------------ svn:mime-type = text/plain From [email protected] Thu Dec 02 15:17:56 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26167 invoked from network); 2 Dec 2010 15:17:56 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Dec 2010 15:17:56 -0000 Received: (qmail 31859 invoked by uid 500); 2 Dec 2010 15:17:56 -0000 Delivered-To: [email protected] Received: (qmail 31842 invoked by uid 500); 2 Dec 2010 15:17:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <kitty-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31833 invoked by uid 99); 2 Dec 2010 15:17:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 15:17:55 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yx0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 15:17:46 +0000 Received: by yxd5 with SMTP id 5so4245332yxd.6 for <[email protected]>; Thu, 02 Dec 2010 07:17:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=owxTZ87t5Mw1vFg9qaXMYmgJM4QTjqHH0Eg8Qy/D5Q8=; b=IQSjiG3tpOjoGgkr2Y4lAIOcc2DJ5H1N8XD92jyFYwTJtQsWxtGNYGzVoK+vHyJxBG lkgtE2kxkGUFJK/Nhn0+yDI4s2CBtibDl7Gmm1k1d7qVh20Ql+GcYw+X7peGBeIKX8bA Qc+S0wEfLczXGM0ax0w+XBkc/N/obPF1CcLR0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=GyFygjzaB2HiKqevI9lef5OPo4XNcsi+uRgJ0Aw/KzVxv0H1czHpvA22D1g5Ct7ep9 BCMy1H/Xuw+BBaHVYsetxE+p8tSebwdNjnogMsD2V9er1g1zqQ1Pzg183ZBcI6cHqkAh zhpzgzPPp7l99L3wgQTxybXw/Tj9ypYVjLb+U= Received: by 161.129.204.104 with SMTP id u3mr1624121ybd.234.1291303045629; Thu, 02 Dec 2010 07:17:25 -0800 (PST) Received: from [161.129.204.104] (cpe-066-057-037-066.nc.res.rr.com [161.129.204.104]) by mx.google.com with ESMTPS id g25sm332974yhc.22.2161.129.204.104.17.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 02 Dec 2010 07:17:24 -0800 (PST) From: Kevan Miller <[email protected]> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: account creation Date: Thu, 2 Dec 2010 10:17:22 -0500 Message-Id: <[email protected]> To: [email protected] Mime-Version: 1.0 (Apple Message framework v1082) X-Mailer: Apple Mail (2.1082) X-Virus-Checked: Checked by ClamAV on apache.org All, peary's apache account has been created and I've granted the necessary = karma for svn access. So, I think our initial setup is complete... --kevan= From [email protected] Thu Dec 02 19:31:34 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54103 invoked from network); 2 Dec 2010 19:31:34 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Dec 2010 19:31:34 -0000 Received: (qmail 43128 invoked by uid 500); 2 Dec 2010 19:31:34 -0000 Delivered-To: [email protected] Received: (qmail 43114 invoked by uid 500); 2 Dec 2010 19:31:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <kitty-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 43106 invoked by uid 99); 2 Dec 2010 19:31:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 19:31:34 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ww0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 19:31:33 +0000 Received: by wwi17 with SMTP id 17so3260557wwi.0 for <[email protected]>; Thu, 02 Dec 2010 11:31:10 -0800 (PST) Received: by 161.129.204.104 with SMTP id y21mr750450wbt.38.1291318270296; Thu, 02 Dec 2010 11:31:10 -0800 (PST) Received: from Asura.local (cpc2-lewi13-2-0-cust269.2-4.cable.virginmedia.com [161.129.204.104]) by mx.google.com with ESMTPS id h29sm650121wbc.15.2161.129.204.104.30.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 02 Dec 2010 11:30:49 -0800 (PST) Message-ID: <[email protected]> Date: Thu, 02 Dec 2010 19:30:42 +0000 From: Pid <[email protected]> Organization: Pidster Inc User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20100825 Lightning/1.0b2 Thunderbird/3.1.3 MIME-Version: 1.0 To: [email protected] Subject: Plans X-Enigmail-Version: 1.1.1 OpenPGP: id=62590808 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig1197D3961F30809F9C1771E9" --------------enig1197D3961F30809F9C1771E9 Content-Type: multipart/mixed; boundary="------------040207000500010207010403" This is a multi-part message in MIME format. --------------040207000500010207010403 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, I've been playing with the code & pondering a few things. - The command line syntax inside the shell looks like it might be a candidate for a Groovy DSL. This might make writing new commands easier. Thoughts? - I /think/ we may be able to use GroovyShell rather than reading InputStream directly and gain the benefit of command history etc. - On start up I think we should output information, e.g. some help clues and a list of any local Tomcat instances we can discover*. Thoughts? - * Local discovery requires (ab)use of the Attach API (com.sun.tools.attach.) which I personally don't have a problem with, but we can make it gracefully degrade. Thoughts? p --------------040207000500010207010403 Content-Type: application/pgp-keys; name="0x62590808.asc" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0x62590808.asc" -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) mQINBEvFfXkBEAClvXQ4bG3ib0nQQfEpmlZaZyAGi+4njhhDAP/n5Zbi2wLcAnlR WF3FyrSOnFns9V1gNA6zdLPhUs1KwH5vBDlU2ZkOF3b6pGhAdTr0HPefEBwz6StK Jlch9t+xJjV/llA2/n5UUkCLw3gqyJQMvbFSfzLT9YGF1ehsngvK/vRGIqZ+TIoC +lGasSJ8B692unnvDF+MSdNu7X2ioQJP/1SPLg+/fHGZQr3zdjf6BOJSHTd7yg6E /jCYe2F8TxdcoMdYuSNIf3B+whMHltq9HdHipZj5/JCo9tKyQuzk1I9kdgsFehIe fd4mnrwlv87CM0q6m4FgzivG6/gIJiddgfUHAqmRvDh5CtXHLzXEDGJEA8xkQ+Jc AAbgOYfGyYh+1D59U5R5qoUkVeb2tM6SUpHOYK9E8H5Pml4kHyXFctdq8kD5y+dN A46/ru3bQEYNcBlyGEpOPs8okmoBxYlUCMdH38YDLbBEverDh1tJZ6TrNWEr9if8 vtljEZc/Mebh9n6btImmrHszAs6M5qHNvuHaWfTuuXwPEhsdcFF0jLMREUMFRicc CSibwKxnHua1u9JlufYaJUeJifnI/ugpIS8Lbaaj3BDT9DIWVbIJKr5yAdFv3nVV IOiyhxQh85y6yOoXsTR80ADu5fvaXbiEOhD5hsvcRlP/q9m2Vxpul8O0ewARAQAB tClQaWQgKiAoU3R1YXJ0IFdpbGxpYW1zKSA8cGlkQHBpZHN0ZXIuY29tPokCNQQT AQoAHwUCS8bBKwIbAwULCQgHAwUVCgkICwMWAgMCHgECF4AACgkQC2YgUGJZCAig Hw/+PEuC10bCXKqvd9y0Iyvi1iqWVJIhL8cUW3eQsPdKy31PkipFokhRK54WAI3c qslF758ywz7jxJ26P27JoBRzCk8MChFvs/OJpZ3WTXG0RbKG1Nf5e9ZuDhKye/Ql xHD4Wxiavh9dzOB0x+FBYmjLyvyC1ElLmrhGnltCPR2k9ytV7GLJHCCbIP4s+Eg6 qyX/RysGAdHHdzeCgwGU79TaKTn5LNTxeuQmVbBk743YX2TBhxLwBOiwtUfj6t/l 4JGrHt/OdoPJCcxpb1FOHCjdfou/gkepkGJIwMviPWrd+tgb4ZG/+urKb+i/QCj4 pr58xjQrt4Q+bxTNZA0HnsE0Z5xXI6UCyavPnn55IxEFQMon4EoFBgKMEyZecrkw HuvL1BnkhPYKLL2Ox0Y6rZot3Sq75x5xWjP3uUMj8mLxwDULfFj8qxBGumaYxLr/ hJf78RvfnVaVOsovNXry5RxoVRHTAyOO4jwwtSGZs5lzLHqueKq9Ol5m8UON12Py r6wT8wBCU0Mu2TsbGzkld4pntERLLlEshsdkKFy+DfWpbEFcX4/lFMZwq0B9dpJO D/8grP7+CRuuNSNe7YYUaTAOrRJzJldvB97wjSINKcv+QYw+YojZxcKcNdFXkRi+ hH/ahTr6xhMKmsoL6Jyu/EtUcwGDZyOGINFPvdSqaeBmU7OJAhwEEwECAAYFAkxZ OTkACgkQEMAcWi9gWeelMw//ep5EUcJuwte+DZv9w2PiuDnm7nCU5B/uOmbVahsF nBHC8BzO50V0qsZmNcA+sJMUhr0WqJZ41V0sX3ROcfwpNe1xOIStQy+ftAj2w96K Hz68vH2yubVihr5c7SlNWgoVunVjliOJvOxnIDbg25c7yh7WxuCmqy3M9wSayH81 FWv2xZOfV6f9n5miENJB+b9k0i1OpcbAXg5LWC3OrraDIXPVwj+HR0Y4p6reYOk3 fU3JuCc22/+kzwCUcfOUE8pf6a7Ai9x3sPbmSGtw2BIooiGC3XKTmOpXhPmD+IdZ 8bsk5jezbRSKsysOXs2mm3Fi2Ng1fZ7EB4N8/TFXEVKGLcbnfFTZ/ip+gPSVXf1v YpUaNk22GVk5YV6P8t4JprfPl5nPnQMg290OC30RVPzYmFnDhABh7wkueyIpkgSt Z43unewtcY9S3irjlRadoy6uDZOVkxKGNvBnVzOxvnuktEB4g9eI/boEiz5Vkq3b Oh5CwYpJDDPJPRhCxZ1j75EaaMn6BW5TpO+ju7B0dsDxQEYiPddrTxWljmRI3p+F A7284TbSmajG//XxqVGun8EOARJ9pOkTsmN9s9eRDq1am2HaGZpXisTNYDOIi+gp Qv4vbVIStFLm0nCmB69Cq5TF5tGhAry4cu65pAKRdn1DNnazyo0FBf23qSg3I/x2 CMqJAjgEEwEKACICGwMFCwkIBwMFFQoJCAsDFgIDAh4BAheABQJLzX3iAhkBAAoJ EAtmIFBiWQgI+iQP/29WC9Q/Frz8nmJZZ+qCsQ7CbimGaSSsC/DCP0r10Gfe+BT7 wqgbD1NMJRvOIXw76GgXOGn31jcZQJLmz5oQrWAaiOgTdACEtaYoMZ6QDzE6HIeW 2+06hxVY0gCELuhJ31iou7qGSJVLwOhTsF3iTChuZT5dVrxIVYv1D9vc174popEj Ng0SKo9FXCfOuRls5gPKKKb3z98JqZjXh13LMG560On//ABaJIPVcb+ZWrAO9MLI hSuwhDvtuBZuFV5fUwFGONIPAVoHGuIZEU6bI1x6ddeQnRTnPSBycoEAc4s5cyR7 eDWDDhdfzXafKepX3aNCMp7bc8dAvGJ+33gLGzeY8Qcb2At4WpJ6gim9VVsHrE8G Uz71qDQh/KJAuiwj+pTM2EIcDYlSzX74keleNQJ/wAhSuJbsUUAxT9QF3PMU7PdF rV4JN1JGOAhiy2rR9/OnZHha0zVT5sRk1ZUxLS2EUCDqoHJi9ORSfZz2g1Q+oEL/ EiH6eFHS+RzOjL+KH3+tMN5D7yKB4k/GHqFRE/jh+8SqVQegnqDL8HCwDdjn/PnV IcALxMpPYEVvgl7ixRvU5ct3LgI89AnRZBxL/oIPO5Js2+wKye9cIeT0XOLOxjK1 hO8wb3NdLqlE91t5lk4SUtuyBtHqNjZn40pO7Wf8JlSf/eqh1EUyUjHiW7gLiEYE EBECAAYFAkyV0ZEACgkQHm578VwY+FQ5DgCgiid/m6whU8G15lHof4Gr0ERkpNcA oKA47nKZDX1Dp43X2P5mmdVZ21fMiQIcBBABAgAGBQJMlTwoAAoJEGE7sSaAUDkM vCUP/1A3NgrIwD61R7puDLK7VIaTPXMKW4coFNEMSHBobMR6qiiuQR9d2sNqAWJ5 W2ml0riNwyztVarJheXIa1TqcZFgmRK0nJ/nbOunk+h6LROgxdTrpPTwR3dl8HPr 3MNVMyD1gcTFJUk/xKo1MHQuCyUMaQKZ2JBtWk33nizrkQb5Jf1Lxz4I2TWQGXJX 0CLGnz0iFeDTlTJowDglbtjPyFDUFiS7cwd25jIHJSzjGQNEtwn40oLyKE4Vdxk4 nlglXuX1NRCguefnwVq677lavYjKAB6mh2SLknoBKsRvFGJgUYhGfZUdzBpy/Yy2 x8gOQmbHMfNHyD9TKr8AOx1GmvhNgNbAXLPVlC2EKrvh9IIhbMn6A1LclWRUtwin QGpZuQ/nlAfFHqyIP8KF/3ys/OB93F/vQ+K6D0GvZcYiOhDhl8D+beTITK/ariwg UImmcLsQbzWOr8Jws50X9VaqY+FiX/SsPh+8yklKxFrQdOWdf0Fgfl2O29cdobmF XwKev3Ym11d3uArGxcbh5QII9bo6TPKHHbB2Wb3E1f60D3SiZVwh8T/6C8pQRW8j Gj1MVYLUPtB5qCJeJDDqb5Z+L/ocBr5Bbs4wh6hzttDneddOEwPUMDzCoEfxxbUg yIdS9zbD57cQjvgOewvAO8uxjlhx6b/ACinX2phMPi/t7oggiQIcBBABCgAGBQJM ldScAAoJENIc0iPujg3V5YoP/0TlXHF0nIsNuSqpYpIozsRJrUkjGOUVDaMBPTNU 2LM8ilzKnlAV4VocI635x7P6tFWeBiaDVe4pX9e7hvMNmEtNjCCiGypxERMJqNXh m+N5rnyL6juXt0vWo7z5quRBbHVch1hLKqQmXXQLgrl4LMCIGarcSkn109cG3KW/ apldrBlIqRsiyIKwMwPLiB9sMdIGpyNmyqiC4lAkHwaSSVAyWsczjWN3bOVDKXju Pioq4d5CpQ19w7u+WzlVVUbQVfdBKxL09r/SZTt5GpmGLYdfoMG+SqAZL1UBGRnq o2G63fPhS1VHUwurrLK3cE6oy0i5Ct/Tgv0qe4NtOzVcUBDjqf0ooTwCHihpn5po mfzbLDDxxaRJlGI4pGbR6xLVMfMnOU+QfF1F5wjL1DVrUQIqSDalFB47/cw170JC +0tFwEm2dZe4s5z+0vmWdDK98pa8PsH/LOwkxpgnp2vdY4FVrRY3wR7GteCHiIXG uBZGPnwXrNlFQIvF/VKi27wAvTKLczyRKkjUfmri2ydtpnD8xhOMJdNNbFZrAxQs UVKTLAXJ+baQxwhyzZdW61ZzzwijwlCSjEYeWqkav15q9IeJhkAqvpKBSTvL7Guk 63R9WekpZWTsZNMBUkHEZ9/xNUg3vB7iWFh6GKiygFGRW1u2QDp2Y2itmtBumTAy Zz4BiQQcBBABCAAGBQJMlSJFAAoJEIqviNbYTkGukJIf/j4plsVCQZOYQIrkkd/h tlbs+YIXwom5TxGCppLBElPmyEyGBAf5s7RBPxl671Yn8hgb2aYG/5T98tH+KMzg 3NUVNC9lm3F3hBMPu3S9waeJkx/8HRzdzeFmP6euea+BgBM1sehWTUAqsG+0HhTH Vi7bXOouFNf9pDZkHi+GSQA+fHTnSpJ2bVu9t/IroPi9cnqPSNco5atSrlTdyXJN EyK7ui9KjfyISEU0wOIHY+Hlr6BxXlAoPl2AeysKJfcwKvuHNvWzfFa/Unbbne1W reI/W2Ta9bQj1G6xLIK1vsZDwt9OukVeaaFDqYtNVSVXFKJLFvHatJFU+DyEu9le D1obB8i5XvCKPRXp6iHUwDTSqBLyaJXz8FGlOG+hL2M++YtZXCZQEcEVhgIGCZ2l CYaX1W/ezPxHMeXJoQK+6yNlG/FiEj1pYycDyg4/hpTZvwyzRKuOj/MpYONBGGZI 8yVRXkRHgtKCEaVw/oaKZ45LZ42SBJ+kIXr07emm2pLhTrqrvSp4yUTmh8gYM2oQ vp3OZZOOBtEElIEoU1k/S/SchB6ADEGWCPA7CiEB6N3hhYTj2t+iDxII0c4e6f0U lhZwJw3EaqkTp1IyUkBALOLHacIloGLvAMLhinBUmR4GGwCr6WUM6TXSgFHriLvh LJVYnYPOo1W8KggS/353CVCnzO7gsatOga0R9EclB0EGzN8aF1Mu7KhkVjAitRBv V/sOYizOtaqay8SwyWNmVV8A/uZ7/I9dhssfPUphw9N+JSEUqstHYyE5NpTNAONf 8QKcOKsQ0M9br3TTIq5s6YQq8jJZRZEK3zowVzUzQ3IpHATWxTxMgRJVLCmYEukH D98ef50Bk9WLxeT2pxSRCDrVhmLDkrpCR4KnXUbmn2BsyU/GrJk6moMFqr/BxsvD HSpYar1EtA7YMuLFYQQcYFhFOOMu2xhCt8U5tGFLLDRq7g0jLlMIGXT1fwRaKsP/ IW0vaJBECxpSqfq4ZqEeiNbvmIfmMeqTa0214oM5L5/i5JhGfBBo1aShzYbG+Qa9 RPL6TGhkttDje/wQj2jVLKrWVnqcIMKStJ4Yl9YHRflVXS8vipkneCbCqw4fjzVR oOflkL8r7MScc7YYIfb5o5G0MQq8hSomCFqTmxOTd4LltQN8tX6vt+7NHf8fP76r 1hQXpfqc9b58DqSC6av2LPSAGYeqY0r55XJpb7KYqXZ9QlDDnhZboyzulOP5BiA1 N8InzCWICuam9bq6xKrmqTqngkttJdO+OlPgoaGwvaNqQ//jNMEDKArEg5o9Tz6a DTcx7pqIk/u3uMFOpnz4MlLH7oPPLGD6Q83E3DsMHHv/hHFNQoKH76hTPo4dMopF ltS0OFN0dWFydCBXaWxsaWFtcyAoSWRlbnRpdHkpIDxzdHVhcnQud2lsbGlhbXNA cGlkc3Rlci5jb20+iQI1BBMBCgAfBQJLxX15AhsDBQsJCAcDBRUKCQgLAxYCAwIe AQIXgAAKCRALZiBQYlkICM+AD/9LdUKcABy5cWxQohXDu40mZCLodP5A3boZF+L2 O9jpK/lUSnFewKEJznavs2RLCwpzRcJDNqRc6vEzOyrbQvAs6vMNygAGETB9uxaE Kesknj0ZxCsqqxV0VujHYdRlVg4qwsKftrXv4K5nCLkBRv3YZQ0JzcX/wRlfz81S lINoM/IuT5+QzCGKSjxrM1xrhxZgwHIitNCR5BHl+CsqjpjDPLJj1mFqPTLniKKU ZCB7uN2e38FYazKGUIeQXq/e989zTimvQ24AYUjoGnTuqg1liPd3pKq0ryAvdYZT Upj98CZZ6jCCkDisAOSJerwXZzB/o9ADX2mFJukdD3MXLRJcAdV1CrEg4DGau8w6 JYROgUc+C4RONmihsXKyhI7Nj97t822Rj1NAO7z3ptnAwSJGx6WSxFGvWht14vuQ Lf9bH6FzBlhIxUKhDWIqq29K22ck6Fqb5dHbRyE5253tWt0y48dx5W1kP6LOW9zh LN3NBw59SN4O8H6c2jP8j8qExeswpbECiq+gdnqMGkRjDKQwxf93OhmCbCTYXtZt gJttLVCg7gXXlNbTMrEfbWkZFd21RvGu3LTnWfZLtmKvg4Qe89UTAla/phpJKgYF /WAFbC9E2jmh8kQo+ETHw+EFWYy4RjjIthmGegGQ45KbxZA36woKHjsmnB0eZdA1 RUXf+YkCHAQTAQIABgUCTFk5OQAKCRAQwBxaL2BZ5/2eEACvvqFb9meRRLLwFl96 B8RWJa8F+tv5GuA+YiixUq2wCWz9y9NZLXRsUUZ8dVbcDphW+xxR5OiMrlRnOxq6 4nfY9YJpguQYv92Xa5P2LgsmDss+OSqeVyIxV/C29z4zAc7yPLiMihlUEw6+2o0f /ohShC7FBndAjXGTcMyvVvHIhR+wGmnjsN8NRlsq+Y56ZGanAo9zKR6udI/kRqZm /PO7guqRkJTgPmb8AX47J89v/Z/Wk3XQdSpTvZRPoUY2f+oOgwr8m4zBIqBGHwS8 bE8nHti0QNb4NMoeK9LtYI2Xr7Gz8JoIR8bmsRPTN5in1Lwvy85FkVK0rj2TL5IX dA1wX7J0K8bWL3mORn2yloKCmDYFtTirMfKsV/IItQeLW4K7omB7k5Fgr+JRtZjk jspluq3yVUUfz6Zd7G4aYX40uvugT2AA5Akp338z3/FlrBgeoKKc66Tu3FL27t3k a+N4BaPq29H9zglnh9zV7S4tkz+mtKCgnIOoZlyjHGz8XENvCgMHBKMod7v1g/Za IFsq+H5eh+pyIX0VX+PDBUIu8z6/i5NOJta7o/Q/hr8XzWXgz4pz2m+P9CxK9FsB pg66rrUeltJ5iRe648PWDeg2WsbERGi77mHGE3goOw3C0AdFra65jXJ+juAL891G e4YHzuX9lHonTud4ab+h703UZYkCIAQQAQIACgUCS8WWHQMFAXgACgkQrV7bt5Ps V+RqSRAAtthk5f7miyCB2PcxhumLbdMvWFpPk120R9zxkWMyd3+gPdzuRujOnBUA VaRoGXoA4gsb1G++fPVr6Qsv60CEuDsPXpgK0crxED2vtGV9gQe+mheCgjwucDUM BQVFCgnZD/QiYbJ5wJBVrEqvRdLKHHPTOmM7bC2HMAByLLIrnjHgxINsfYfUf8/N 9rf9gz2sOq0mGzVSaM86xbbjySxToYISYLbSws4HYGw+M/G++1d3H5DRGhZiGUMP 8GC0gEDAAcprW45btTzmCo6CD7tS2x3JD47RLtbPN8OxsXBnxynk89Kjbxlqp2gM CXJDsYmnp7zwfmwNEPbHUHL4oj6A27Zux9cjvyY8uSlB7vzrNVjPiEu2lhflx/Ah FK3Np3os0fSb5qHQqO+uVijX6XTHhv1ASnHKXTlqQdq+xf0H6bj7ilhC6UnwnbHz ybNeq/X4hSe12MfP6RglvpZjOGLBXZxK3hTCN0LCIFwR914iCOHVkzMplk7RosW5 qzWYhDFA17pyufaeCj6CWEWSAPb9nH0+iOPVR8BkwtRWUHaBt+xA61BJlEHZWRbW Xs0RteX8N0DPPAYJNBiXQ6YjXwwv3USrSX4u1IgiSLjK02PVQPO5mYEAW4MKKAtb D4yYPYuWv5B2tqJpn26FttSog1D+FflMiZrDv6isWwE8QYbxlP+IRgQQEQIABgUC TJXRkQAKCRAebnvxXBj4VEO8AKCQNiPgfoCBjP7pl99P5mztRWi76ACfaezwFf3I vCBLKtFBg6DTkda5C0qJAhwEEAECAAYFAkyVPCgACgkQYTuxJoBQOQzSZQ/8DC1M vAFq1QqnTOxKtphMCt2LTVTAfdsY0hwoBPpciO8xuPNS+jy2zDyWn5aN381pPRuB TuSPUoOmWfAdGC+6rJlHV+mdynPDObwRsOFfHD7MpkHi7zNxFrc+LCeR1WeLkc1n IyYQrAuVvYkMYitBaoj+dB/gSxv7vECpvHZ8yEViXk9fQEuq+gzy4FirYuUpJt1W ipIBa3wVoXQiMUYPsGTu4qcp2fnv68xSG+2jtzxDaA4PV2nERs+od8MpqJFQEJDz z/BlxYfs8pCBdC2EqfV7znQA8gsh6aT1aBKJEbRqqL7f60zy1k9BT+loA/dHval4 HwxCjdqBeBz1eB+8m2qgsESQbIkGiqPY/UHDNNuRHOpuGt4zNnIYAzqQVz3Ofgb/ wUKF/0PhXy1elAK9yHr22Zb9YjgYCzsUQxL2UIX2+s754YER+YQqFyckyZzXCGKm +IwzhWmcBVkSwy9hlsxUm7BCuM5mN2xwU95WxDJkgRKOfCR7zX5/eiCJQIE/Qgvr q5z6r4xIOw/IblDa2uaHLwv47zMUImpyA9kpl1Oaih8shHd8CgMrT6W16izWL0Yf idF9ByPwrmoN/bjoL0SYpEt9YhcXuNwrDDdnMG+TjTbt4JvLOfgpupw6f7h7Ridv yBOSELsCr8J/s2C2hIGVffVuQgdwKJT02tCqlOeJAhwEEAEKAAYFAkyV1JwACgkQ 0hzSI+6ODdVDjxAApyHe/t/pbkxYC6h01ECYpfgVn5Z5eXZhHlcwDHsE8rcUOqTs UrEwO/SkKN8ZKlD1NAZ8NTRRml2B/y+/Gkrjtql7QYD81J33JRPII/hGYU4Mj9u1 NRpkPaKUpbZFib6ffq2iugOgAkw1lF5h4eJ0WnwokNfKHp2sPHH4N+9igOxWHaXp MiNAHDAsvMOuvdOEsGhVB/1aZFaTOPzD7jfdbEKWFokSoJSTp0tp4BTut7A8eOo+ 1lrnc/nvEgnTrTWQXMwKWnrGjD6gYjoldN8pdezmPesivZwr5qgIyQVejGD5bIan 9gvMf61JAYe7iJwBJ2nz/+ixMEHODMYqaa685tYqdtQLnisXu9Dql2wnvgFEgr8n ij0aTh2GQF0hnyKyzQuOSe43++OxJOTC2gMYpSEPEAHnmZjij/2ik5iqYHMJtN+9 U5orarxu/dFGJBvIhyhoWVOtKX+8beeZxqodEijDpdF57Q5xa5SPyojzhBIBtECg 96wBd/AWkWXZfJHBsoVfV4gu2r/i/dN4jFyu7mfg9Dw1B7d8isEAPes3xpI5L1q/ 073WD+lYTXyJ9NdYgfTx9B/Ha9AUujc+Qx/CIM2fvgDkfC852jSNkac+l+sGLQS4 vdD8110DWLMniVBOZsmuun0Anx/auAsVqDisxJPDszOnnWWfZNVZSlqBDZSJBBwE EAEIAAYFAkyVIkUACgkQiq+I1thOQa7Mdh/+KGE06nLPiCOXXjZ0LpadQorlpCiK DEykoMLsqUT+RxpMvENlPAOUhUhFgcKReStYZk/sO+KK19NDBoU3LCeEs7qdS1ZF 385Rgf44Ki7n5szQDW8kGY/ycY7b8wAyNiGv20hehtpEsQOlSsKOkySngBf9zCqL WcnKQF/NmxTpf/7XzHrYrrRD/KqwlbvBO3emXxnh4gekzB0vcWg9Td/G2UABXoy1 RrraE7lJyx189yxVxmbHGu4fqLErAW9rgq/KzCFSBTDoX0iAyIb+pu64OYxDYzP9 3AdqtZE0o1Ikwoes5T+Tef5ZdYH0aOE9GfuRNLeFNI469pXPCIj7LiJ+Y6dCBvkj JqAHTukIc4ZgpEqRhdNQpe4UyjWv22e2lGqoEU5DlGK4KfrncCO7N5CdItotAAKD H7hIKYlh3rq6MZsKEfWZG0CFLUA0rIH0WIF65AkJm1fZm3ENjHAXH7WT9LiJ/1Iu W/lhiAOzWiq5QS3yeQFYIVSICuhL+Yv9hL3YWfj7sl98gPEUazTzQVRq9cfWmuYQ WNY0uLAu7Wmq775NCKw7FGIKIR+TTiJVRJUPXWCI2DJDbFfTdQIjhFDCEkA4Xiiz Y3Otl5qK0yuiPMk6TKaRmdzRAYe1HMc9priR4m1WWusrOKa4MEhrAFy6LC+j4vB9 I6WYpTPwfRPW7vMH+ri3OaO5y6MFR5A45/BYJ2CtOzUu1dbEWW5XN1jW774WDqFm mSS0f4gNw0shcsnFiGyOGqRWEzPJHu1d1w5arhshlUKQAP3NC7sbeKu2knHFBmt6 EB4iJsvcTjlA0VkXZpdCbIhn/jgkSkuWZUG7XwmuP9XitJlzBm7kI2tC9Zqo64s2 y9bIFwTcIXJicpLUXxhQhThP1JTyTYoUa4J1t50giXlG52q+CNWVUBJw2qdTjST8 fxdCQnOVVO6J7Dl+IIzQlaA5xj1NtmCMUpe0K9uaRM2CMFoDuabkUXgInG/cTnoe YQBdSBu6WB5VSOZWR+9DZkaMz+PrydwPOu0uZjvUVWUsNIF9Fh5JtmkE8yKkAvE5 HAneyG/38k0wd5XwFB5+2FjrhkCaSX3DLZLWxUfmAh9WMYWg4ogANpYpQrGhu7S9 CBpuUzQHZcvPkBW1T6NV5dcIPX30mKYjGi2UhK2UzsrPN9KIIqQHtZ/ErX3dkb28 RgqQymsuVdzNiGaNDNKM7H7qHfLrF8pdokG9XjpZIVx7j0qZ7HgRfvTiurgQzBxr Qnf5j6mdy5NvGdzPd+xlpSl5MF6VSOsIAMy/PEmC75H+YKsKW3tGbQunI6SsUMO5 k5Y6lGHU1Hf9f0XfOjIRlBZE2drIF2RBSw+KeiwNa9A6/rM9SwzsHm3MarQoUGlk c3RlciAoQnVzaW5lc3MpIDxwaWRAbmV1dHJhbGdyZXkubmV0PokCNQQTAQoAHwUC S8WJbQIbAwULCQgHAwUVCgkICwMWAgMCHgECF4AACgkQC2YgUGJZCAimBA/9HTco GT2XfjH681s7gUJr74noB0hn0Eq7vnx5WCy/j+SVsp0FBR/u4I5lg3YiYi5sAkhj v4oSfa5Yp+gd1jhOsIn3Ep+pq+Lkqj27CR9RWlGVrhP8Gek/Mdazc9qB0UPOWGVs B/tfXQKaCXasfMO8qe+PstAjOIJm1ZX1tQ9HftZW8n13eZdUuIglqacJTgY4wL/T 6mtxg1JRYQMOqk7frxnykD2iUxdbuwPPoZswWu43B488oMoldA+KEUH2AzkV8UDz P8tfzGeQ2XGoJZoo6OYZR2XSYjodiy3vPX/DAEQf3Yu79SKsJmZaSh0jH5RJ6ONc UnYx4vORQy1euOwixGOSBPhQALF7RF5C7rR8xl05Y+Lwvlg3k7ddJU5vovgCSMfE Tj9CcMBk+0CPUb/6vFulOXaXwaGA9o2cQ5sQif37zKn4BAXgXaKmI2yXQ7DWEwe1 gN3cn5RgKEoRa0gbab/MrWKvhFcnbPWb4vsWHTyGaPUUisoaEjXP7v05kHEC0lbb TEKazul+WZOPCq/zJJDni77k8y/SNZzDjn3uSO08Anw/E94I8jveIbN58hhz4UDb B3r8lPiQjVTuXReqv3d/Ear40wlQI0HZN/13sYPk4nwK695i/6v/Qkl8bYKpdy9i SO7YBxnkT3mVBe3QgqXRiYb3VkRZGKzIjuHWwn2JAhwEEwECAAYFAkxZOTkACgkQ EMAcWi9gWefiNBAAzFoTywQX/gqUsa94fEpUm7waeOIPIYaoFQiE2x8JqoFP2gUI ErZluHFrlNgYrIfDH1wHpJk8/xOj/QG51OwSg60yLIZcKBGhuTtI6sist2KP08xN dFJrZMnUjJSQE9P0HhRFnF53kCPYT+soGefEzEnVF72uPisEQLggYvWRNwxcWWXr NcKbm5djU1J0GShnokLvO44w6QjgrCFJozpIKhaprwuoKQCS4fUJOdatnqlRXMLD uhhqAwl3ATFIgAW0xIGNpLTmZq/f5wlal88EhZCqdsfXiAAV1f6QjkKYIslhoX5J KizvwR8dV2sz1QEkrh1J1OvLX1C9i/sp6Dti79I3SMg9UWRIsi9mKtclfo1RclT1 7qdQx/1oOJiPW9rocutMUaNlIAITT7wjq0ApAOaTpbuzgZxh4RNZfxxD420vNohM 6EcEZBzKqOMhWhrWrwK7RQ40rLkDSUClKt7a4693cDoGjpAvw9qVEpuqkK1V1acS bzohNKBQ0b8q/4gzKrZ6XWR1clv566FJV0ex1FMuwbiZk5/+o/r4d61CuP3LYuYH wjG58E7LCjhTWhsV813EKjtdV7Uv0kWDHxtEB+rPen/iVvISNdW3iOP/4fXIQuL5 K597QCU2fAEAmzMHIUkXKRZaApPAk0cF0l3vuBLNxNgsaKTb5+vvtOi7zeSJAiAE EAECAAoFAkvFlh0DBQF4AAoJEK1e27eT7FfkqSUQAM62wwslCZ7QczGENPPd25H+ QgWO7enuMTDtRo8Z0HtC9TvZeD6qcJC/uTabU2WkFled4PI0Cy4xSR68kbs/YC/Z ZgYJ+snzerIC4l+F+SxqW1XdHFbpQ0GqauLH3mv7CJ4kydUff6J1QL++5z9zfshh o1Iqi6ZBs/So0tDNZFYDxTm3uNDd56Pj4xh5X8GqlOMCxpQZJXj3BXMtNxt5YVnp Knrl4Q9025G3dKLlVRhVd8j52klN8rMbs1AUI4N5lSJf3LO21n+7FH6qHQz8zc/U cLj1ReRLdlfyB/GbtQJFDRTQQ+eYepYph34cuQVJOcQ94h0/ppVMK0rRF4fKeSl9 YO/pZ/vq8NFBBQZP58gn9lf6KaVkg2Hsj/kQPId3nbkrexK8tFpexeGltyuZsBIq X6RfNvb8AysZFJps7itWujYxaJn4A/2zlvQCGdTCAjWQXejYM0JL0MyrJXDWX3jh WuuWHkBgANvKgc+CtODEq+i31I28baIkd0+Jcd67RiMsZWA8kEGx8LrotShEhbhw S+2p2HqCDGdRqTQJVGGfovlKN6L+fna+SbWTzuarkuZmKQ5Q/EMaYDss/r0ilBip Hs3UEQIxH+lOLRj1OrMR3RWa/IBCf2sFj35ggvo9otEi7zh2M8l48eZHlOj+XzNf 6XatmW9h0NJ96JmDU4l0iQI1BBMBCgAfBQJLxYBUAhsDBQsJCAcDBRUKCQgLAxYC AwIeAQIXgAAKCRALZiBQYlkICDyWD/9Mq0cpCBD5hk8+3VcP/mD3LHsvuTcDWMwR NOiqUZpNrBhk1XSdBEcbDNYu6cLbr6uE67lQqMGMpheIYq3+RkmclybWuuIsuX2e f88AXX9J+jE+GQc0DxrCiZmsspd8xHRzbQVrz+T5tKRBpZIjI7v4i5qlMJCuZN+I KsRiZkq4QGx5kMjnYi83kqu/x0qwnmW30vOmz+OMCaZ5E2qGZSklFJgwl1F+3reP MnTVdG+2dAosre1KBrdluglmYYVMHPyBvGggqlPfgtKa0NPUfj6XWH8f0z6yjpYz Lo9v+anvwqOlCioJ0Re7dY4+bfinajqci7f81WE2yfQUPKl647pPFZHNxVZLBlkd /a5yM6e30BQC6LGT+3XTJi2nKTpZ97K0VGiQnIzGpJzOHZDeu6iR75sXjqRLk/6K nrQq4W4dTzq4bAxvh08IDKwSDvMzSotN2OVoPAQBK4vq65ymXIh8WGLvbmqsNHz2 hsjNAZjv9sWBu+qlpcFXXJVk0gZc6O2bLUXH9Td5pn9siEdqH5iZc0qz1dA/JXMw VfILKkeX35J61id5aMkCdibmYcnNYw4w6B5cLApiyiAJGjGJ/d6EnBukFqouivP/ BD2pdlqyL4b+lOhyTU7RChuJg85hNP5yWOdfv7c1wqbWxRscvyq3YQYRpxP2YbBx nc6XgJdlUohGBBARAgAGBQJMldGRAAoJEB5ue/FcGPhU8/QAn3z/6+v2m0GTBICM pDT+Gix/mRVtAJ9YG15wEeY2bYRQUokx6plNijuMeIkCHAQQAQIABgUCTJU8KAAK CRBhO7EmgFA5DJerEACV+Xw1jFsbtV0Ljm5o6se+izGQZjdlDBZr9GfltAZ1o/nY xUvCGR5uG6/lJP4TYX7OgD79EEgrQMFfxIRZZOuGPTUtOG+BLuIUOWNGUJ2cqgOG 33dINQyuMNPRqb6e7AtJSTSU+p9Am3soLP8ynCzk2OwiSxqPtRKA/jYNsz9M0MaY EPYUhfv1RA4GKP8qjvd8TynpHLQfYw48Qhm4UzyeCzrTyT2RuQ1cymb6hNFEw/qz Vm7VbzKdrgp6WIonaHkxmULpRwjtoIwfHQeZnqvBkvPyKoKfq6kcovdE+9fewLbi yKFZvCiH8+EGcVzZTugCQKB/kJ4mU1ywXkuaqq+y2ojtGXmrUF4jYKZqgTfI4LPB rXAjzZLW5XdUmgL4W1tS7ssZRSy8IWdoNdjnD7teXLSsWZu0atRAHGN5z6PT0c51 MYgqdojk4rPAT4gaU/h0ENRXnwCZPWP56HVU6Pi6/6SeA2SCKwYB2ykB0zucASvQ EijSL0WZ/T+di9whSmmRfQvC32Agce5S7T/zyRDBc8dF6nd9y+0ONRrqkU2T5uOc kaivdCLZor90TaqdNmGsxi40c/GLjU8xCRwdG7ef2b0zCBR0MwW5qBUqxVvFRXaW lq7o3J44DQfLBASUpkG+z/JMoJjUaM6SGsUTWZEBKhUOS+AaMO2lSmPRBp52/4kC HAQQAQoABgUCTJXUnAAKCRDSHNIj7o4N1Qh/D/oDkIycbImnbbI60U6hh1t8Acjz NQMsosvlHS0cP6T2XVXBDtJkHm5KcCYNGkXFHL+prpyyMzVKYyNB1Dus+S0mIVNZ AAahORpOrYeFoMSrzvYkDMwRboyfe2jv/YDfxXr+p9N3hR3MJTZgnCk0L+K49leP x92Fs6S2cVYL2Hx4JMHYdshetWXzmTHIMHJFLr8gPLzsmMUt1rJvSrSeA8c985re olBvKUmN6a07XDDG99CVj7/dHjXiC/bb5ng4tON6cRL9NCKRlaLuhBZfjjP2nS/C 5wZ9JoaktmxnibMUItPozIJO148FTDsWnoP4FR0K9HX+v0lmGIQBnlvjifpkFzm7 ObkD1iID3yJVv8tzeUePDVFgyl2UfD7bDCcZucjBLaLK9zZ00G748T57SZ8m6wuz urjlvVT1xdDlf2rwz/NOySxOAPiDd4kscAWCWSszAvd5LI5o58Epc3YdlJnbUpNT EB/pY17Zbsja30ub+BRXOebdV4kr4QV+RMsQOE1cZSUbWcWs+N/Aa+G867xeJgfX Zs55Q0FzaOJAFURwH5Az75/8sniYHliM1F1TDlgtFvU+MxSBhq+D+lm9lmjGQZAY LxDgQyaDFuchsR05j+xNZwalDv0IJ4Q/5iNVeT2qY2si4vUMIZ8o8BCE6C/rIyJ0 cSgTbYSQf944s2Lra4kEHAQQAQgABgUCTJUiRQAKCRCKr4jW2E5BrrPkH/9pQ52a Q+zaqWMF/wQlQTEZwWUtk6n//s6fKmIhuA1a9te04KSJ+49KeNzxT6GP3Po6y0KG GXtBO0Xdy7MS4hhuuyMN6oUoDMHjPZdpCf9IjW1rN9h2liB/CwxwsImT+HHlysJ5 i0xxrvpqzFmK2IbkhIsS3D31mxsETCzlUxZTZAKWoZ9bv/wHcGJGujNTXT61+Nny oupb2nd8oGbN26Y3co9VcDT76oywToLaluPKHzacfKkBLmy/E1HoI9zC9LmILvit SoOJO/824Tx1cXnsx+t5rXjsZeGjwSzof6uBpA6ETuoVVR4Q4BOtgR+r8y/z+ree kkFxfUNLc4x2eA1P6lS03z4pvpP5kBtoWxfWWzR6aKqWqP85vUeYA0MYEhx3b+OD NKU5KgdI6qugdwenJthGvkiRzO8eQIeNtMxJL/+ZsvDIeOnAiS4/m/xgWFW26eyN X3Of2yaR1UsbFz9Cz1vrABPtMd0HkA0BentDd3b2y18xsq4p3SyADT8Lt/TizX/H TPOVuu6FWVFPLpubm5fKrXkzXEfN0uZkrPo35UYJY8uKWieUiKH2ILT+64RM/vFw I84Yh+VeZy5+5XsO0vSG6kuoGF/Jj1v7ymj0ng3a1IaIpxp4Fl1ssC/4wdayIFpS DNDKSvhia7RUSVjgNMhXEJqxjrzD5PiE9LgxKeln+6PrkVZOxUWcDtAJcjwVcAV5 pgzsMDHW8liyW8AHHCFTIYW2Dpcd+3CmHCAfKPAtFzxr1U9MPmjxyTiy8JSf9138 dx7LWOBMPlyNuIBXG2yGq8ZOTHPvbxPD5JVf+RJEl7avy+fEewBa9gtL7K76W4VS 9d6xd2j/7L4VRIop/3Q1BCm6inZrXfFVwvpCMm4vWUNFXJ5dmgV0vvYzqcrYFdrk 5H68eMm9hCvaYGq4R/eO3ceat2MuiugKhNkUesKpZ7suHT8aP6WzTyMv9PU+lYcF ZDNrEHVaDsmod7S0hSAJ2BdRPZEQZYDTVpTe5E28T7QJk0B+Wx26x6JWhElRwNdA RiRcdyWJOoJi2SG4rff/mTtpakqakJMl2zYK7rGjWty20M/rDLaDTD40VvbGgsfx yvFNZgMZGAJwX4FivFvWGU6hq3t05QzbxskUWBbbizpaIeEKlv9oKQPy0MN0Z6uz lm85BdQdcMz8ywgzv3c3fEv5pq/nAJ6RyQ39N5yurZQpyDAW5NSAcIVwR1YO2oDL PVLVxmBlx0yMEzmMl+/umhY3UZt9yyoL2AJ6Yyp0f7pK2rH5id2y6aRDLbgMZxVO CPTdrG55a9t79PM+h/S/WL+lL6+6peMuBrYIZnzk11xgs59XKP+s4bOe8mtppFeM 2pqo1SBVdXVlEwnntBxQaWRzdGVyIDxwaWRzdGVyQGFwYWNoZS5vcmc+iQI1BBMB CgAfBQJME0utAhsDBQsJCAcDBRUKCQgLAxYCAwIeAQIXgAAKCRALZiBQYlkICHA/ EACALs3ddM7hjgsYta5lk03nGGW/QnNUc1p2tdjyNhZ4hWKp3ED5ZJD/pYZ2YGd+ habL9WSbsz/265orYokeXsHQFXn4XR6mabO2PnEKetEU9ZgGd5lEd5Av03kq9pHx vwZxYxg/+fQUT90LzrGDW3Adeh3iAKhqbdF6y/nYUsiBXg9iDqQJU5kRyj+1iqhF HHSH4mFrUL9F5OOxy9/NfRI5yj5tRHtUaThuQ8Vf19319O15zQHqoMBW1CtXkBql GZr2rGXizzmQxUCBCuVQjh5v/89E+SX7nTycESDUTXrA74SuRrxdMUFSDFdXEIy/ dIYMWqFHrYvVphco4YKUBzN4ytLXYXEQZvevx5SLdHW29mahhCEXOvVek7J7sXmR bU6BO37mR7BGTDjeDu7Ecl8BMNknhEKzwHrcLEmGsxreL5m40JWJECaXX38AI4/e MROz6llLVpr19Wu7Xe5kQrh7wlGKk0aCnfV1RJu3bvUtpf0gabYjPrlc1ew5uoGF AdUDkUrQwINfIOUsxVe+E3NEk7302LJHStGa5VyAmieJWuWk7aF5UmzDAOHmsl5A 3YdnEtdq+NsnmUIUtUDzrXTsiMe1UtiT3yXfU/uziJs5mzJyDzK/bvDn/zw/ZeTH 7jZ7l2umsCFkypJlzk48ODiMQR4EkjoCN6n8JcLNsNDwHYkCHAQTAQIABgUCTFk5 OQAKCRAQwBxaL2BZ54adD/9DA5l3Vb8dbWDj+mKn0Ry4tQWvfOqUKD4G+WCOQYS5 SMpGlkpaNO4EQeb3tZFMdu+RXiBZmoRnDEqMkceoXRyFfkPYc6HDm8s6Duune7DQ YJb3XcMSynS+5unHjrKcgA61v1hsdjUQ9OTLmwRXzWdOnsv7bWWrUcPUlph7xGk4 uXCrGdoCZFzF+2YL8BiJYlUjrLCru9BIjXwagqkBeciv5J2YbjSvLQtC1hCHsq2t /QQjODYj/HigCF544K/qg8cUjhry6gvJfWAkDuy5fstoaUf5Ezl8JSBiEuyNuYIR KSiaDbXiZEpqQ4uDccdLH+z9/AhTO9FCe14frHpN1u9D2yYo3EAsEmwpUVyV3zfU RqcoDLZ1R/WdLzKrskdKvVhD0vc9N4AjYIKfqBy9tQQH0Lni7oY+OYLx3Pgi4dfS RC0qi2TfwvrBYXkGF2XBFpHSDgOXMMgnJ5WTftS51UUUwa9Cy2XKrnXscq+z9YL9 fDhZmb+/NuW+PYs4YkQtqsFUM51JpOZtERcpgpuMpuKDbEG2x5o6ccsNNqtYrpfC agUD6Ere8vXh88vcvjflfvZmV27DuY5L+xUZsIqq24A4Oa2y12kIzHvLbH6nSF9N WflvEfyE6I50S1g9/1KH2NiT/Dph5/vX3U4HHFc7Q6wBPmcPG/Br/LRNaJMpKubS /IhGBBARAgAGBQJMldGRAAoJEB5ue/FcGPhUVx4AoOVq3JsoPPGFXxv6WUodBw3Q FeM3AJ9PrLupWJPeTDCu/AJCaHs7Do8XdIkCHAQQAQIABgUCTJU8KAAKCRBhO7Em gFA5DKCgD/oCO7hApEgW74PiSOC+YVinlF3W4qUttuSBJKXnGoY5IlnIbevR0+m+ o7QNQeJDhJV4MH3T1LtRUTDygF5YQAp3UknDZ4u8TIjQLyJhkABZ7xNMqVasa8cM mX8RLkiwjU2fTvuckFwTORifzh1eMbLLIVS4vCqz26X5NTLCQyFfl4g54f1JwYlj 5TC1k6XoXSo3BX6v3f9wRlD5gBXwRnx4T4QRHy97AwrdISkchAn/UA4tCwWNV0IY C5EnukLBLyOk7n5XKGGf9Pm8gBbWmsh6Cg6xKBBSnCwLt5DPzchmuBO3OScA72Hu jaio9ZlRCllBEu1Iz5qsTUlU6TfzycAgzR50fUXS2vJR8/k7wS7GzqS4oM+22hUf X4gy+eKyzRZqicg2Buw2FmzRyxHxb4dwlp7O9ffhNu6TXmilmliLbGbuYW7q9NGC eolQA70ljwaHh2x58SYGM9SYfvkh/RWL3aevcEXnEvTN2rnBRp6Z+D/3LswxTqEr EAu3c5ro7EEn/JMAa0g+SDciTasAmhx2eN1NBIigxHEeJo0NOLg8pucmWOUZnP7C V9AtSeMm7WJWLNvQN8R1of2WVRdXUI3fDW2NrEqdaW1fLno3fHyLLD+WDY44b4FT txCwP4w1aQJ0KDL7U8jDEJpqEqqtGcmFvbIvEPzR+35ppM9yYY9PYIkCHAQQAQoA BgUCTJXUnAAKCRDSHNIj7o4N1bJSEACtCKq3Go7TenalQiyPTR50OaWUopvUrhyv jvLAvNnmAh4XalbibGXbt1HcAxVsgAhQChEX+6rGphONYWASggNqDwAQtVIT6xgt 8zLjNIBh4KKHJhPKWS0/59yTBh9cvAOnHe+qo+yPgTgkPocTgyzGdZVXOMIKPoA4 taEOjHkSVjHmhz1NE8MxSl2D3Ly4kdpPUvcbqXGZSxB9P+RIqjTykBZVIljKtcFH sVbCJRY5L7XnzEqP6vSC2wLeO108DKCdA9h+dH6RT3l++NMRdet/ZJgnhEUpQ9ln DqVnXAZ52kMwiyPqsKpZQYZF7iCwfsQ/CaZmLogRbXSnTr73VbpzQfkRIhHZzHTW yUlllaYBQZfUA/c1MLt+JeNwqKCrICBhv2h+pGLMQrWECMmrnRAeupLFQi6eNfn5 /wyPYVSnbQv/cj0hbBh2r6JYZq36k3U1jpjMJXjeQ4artWILdB5JZ5O68PPVGmnP DZyZOtDT6rNQSl4cPxyny59N3G6fceHJzmAb61Yt8Y1nk773z0Vh5Ie+W51/AHK6 U4P4r9/WqgVuW/g1foT2oupF5HDfsaBvI3/bNnwMIhIxHg7/SC/bT8BDmPoSutlZ WKyl3NXCFcaNqxu/aJmZfzB9KxRY85mkLa1IoKMixMrE6qrWXt2D/mvxDwGd1x1Y +xHFHaYOlIkEHAQQAQgABgUCTJUiRQAKCRCKr4jW2E5BrksoH/0azGeZx8B9n4Xq 9Trs6AXROROiWsSrnezZXBQHBiB5bqqWZ5CYcTmxsBF8GCNgpiClAXPT44TwClOe yTsZDUaCVQpfKizeIdtGPYE6/JaDZbJ3RsqEEFF98HvGjCA+TQuTJzKznR7JkR7/ btsFpfx/KdHJj3TFgcoQ1Hy1Ia8X1V55Qyr+A/+sS0MsliwtEtnD4yaa1ecz2iQU jaxGnRjtN9iIaj1YCH28PpXUXBoraqPdvK76D2BTnP2wfY3EDGpV4f0XCDfqj/xk TWlgpqn3h8lLOg3+T8zM1QgKyzHRtixeWcR0OKJv5vUC4ojXQ0q3ChItwuS98A2A iPqVP7Ul9cPr1yayQmuXZP0QJiYmiplOLU7suCNT8J7kNgiluX8TpEWi0XPUMcUD eDcTs6dlYVmM6wsSltzXhUqerBjfGyLl0VPySlFFw/AiPgwo5M0Za20fOXMfm6uz sfMY6YarjpDNo/BaNT6oizNgw5L/Ai1wNCMNejV9aqS5WY1izUkej3j19MuxVkHB erjQ/ex2jUcrHE5w8Wk/FCB20l3WjV8qj79+47jWNAmjM0aSYR1bKznoJC4VJWD7 1bdglGxIkPakbEuyI5KUfK78hob4k/n0aUHnF38vnBKHrVhYiHM8+RHdl5ejugQt RrINvpHp6BwnlvrODhGVBR8Iws7TU3lZIfVv2wyHHJ1qqQOed0/4Bs30qb+43Uzp N/vLumF6wtILJeWyNHg8MIWbS32131NWVmVSmsLsphX1WIeA43chlpIDHr7c3OXp tWZO8uOsGku7gRKbzs8C55xtgXKLFe05cBFpePGz5+6z6rN1QtrajkD2zEA7kPHN pj/vqIzPw1uBFaU/PHpHvXu8ZVSoWA8odrH615z6xgtgfss7QYyS/fas5xxfkiSV LM8m1LF1tC8Gjf+fph139upEsUeHkR2bkebhj+rLJIkVkYxrPsL7hsppqm45s7g0 HIdOkh30zBh3ZFxPhS/rKN4XCwrfxFyCnr0YKuDr6vIvipCro6NXAyNgjcBAMKxv 8hVaS2YBD4ZRzrsSNrKdG4QYZci7UBDbFuMZJ7jE5z13TiFDxeke6AIDAe0AdW22 hNdoopfe3baBUlmYc9cpGY3Bf7eeHqpmw1A9kdXLdgAXtARbnJnl76atvmIUbVQo 6gjE1m8RfmhcbjcTKvRqFY2AGlAhAsgxV9HLCZS3+HXWXIMjGGE3/KW8VKI+bH6A 6PIPew9tdUkkfnu3u4Tdsh2K/F8azLxbM1QW9lpUQAu2he2ocCkcDbfftHzpqksZ vynIamR44gs87NTp5bN5YO+Zeu/tOv+g86OnR1WzT1K/cXVGPWFgS0vmLVm5UVnU Q4KsPs5etDJQaWRzdGVyIChJJ20gdGFsbGVyIHRoYW4gSSBsb29rKSA8cGlkQHBp ZHN0ZXIuY29tPokCHAQTAQIABgUCTFk5OQAKCRAQwBxaL2BZ5+o0D/4rPcQeJCbL SIQICuba9FfGID8NbR1o8AZeXlshdh4zd9PrUj3zkomeDa0H5uNFdbECzxfE1vkq /cYqUAPQK9lRPKhwFanNAsz1/4VHXqcC/mTO6VX8hmWzRqm2f46pRPeA90kn+hUv yhRXy2VdETOyt2VPQ2rdE/mQNuWrls8XQ2x+zRDSwCdM4vzlmBlqD6zx7ESibhxE TfsYIU+b9DsRTAyyoE3fTCRd1hHILmb0pliT+uMTVsLFsIGkiPkQbVK2A0K4rWRn YnEcHuPxDcCcn93meAcXqCF6jCa3/BbSxqbRxnVRakXo2/FJ6bWB71HuJJoluZPt G7M0Qgj7eINKx8+EqCyqAAntOJb9X5P9VadEUG3dbdvB+RRasxByf5dGyUU1yUkJ yIbJqvER4rQp1CCXQskuIQ+NhJRekXCLdwUnEK94umqQRc+7mauSeudkfPWv7P2Q oikrX2ht8UJa8i4ySv1SkdKJAvpObHH4qFJh3m9kegUc1NETKkvHtTfzuqrV781E yawkUXD/cMM30F20Wae/ECxg3Tgt2QCYOclTbEmG/VQIawn1s1TQ+eoBABMHziy4 3TzC9p9FPAN6v/uaMOlnZc8vrxCSWTwLcFgdYZuOWKG6Gh5ceLkpuaZt373ZLnwF o39GtVt4mt5N3HVS60v66rO44qvhbRSATYkCIAQQAQIACgUCS8WWGAMFAXgACgkQ rV7bt5PsV+S0/A//RlBktihHSufSg0UKRyiDAxdZEKXTgRB1SzqIP+8c46JBV6rd orbE4FeND2k0V9sP3G9ziuc3lHMPsSF6VYvIpgQaDqsXT4sxx7My2DXZAKyvqIze ElSikuRfsEfodE13G3VZJj2ZfqTqqTc2tjF2vWYeposxLQVbqvwq9fEdcTyjwB+I Vd8APe7Elg6hiRYsd5TfzWhTLoYtJRWDAMnVZcUHmuC8jftduJfmppzK0yUYLOCp G2DsJnLjuSI8nCDTzORMdaTAD2zjxWwtdDe4g/HpLxYenF2Mj1LIYU50g8iuaWNV vifFoTq+yh6eEWokoUmh+53YjRWVvCg3WJ+ixCNB/piTbRznfZ9fxnO+9ZxUwh0m 4AWVUlap4VMp/evWJX98Gyg/6CvvAzhFYhnuOAMX99BaSG34nn6EH/UI2hE/SeNo qzrRcOA6Tm8fP7A82IRZWMthlDAlMkO6G0ahzIK+2tXh0JL5G1e+CSLCcxSOnFV5 uBaf6Yd1hhDEh8Dmmso/SPswUUHQxfy97L+4PaUrd0POtedEcVxorQTNApRa4XRU cX1jtGQ5u+Y2wE/URkEqoyPZ1tTREUqcU4jd5rgr6rfD+3xPSjMWhbn+elIp6MAj 1zwSSILdxwuKrGCc17w8S8oNL0xO+iNK4TSNXBD32U9LrMm7COUTXzY6GU2JAjUE EwEKAB8FAkvFft8CGwMFCwkIBwMFFQoJCAsDFgIDAh4BAheAAAoJEAtmIFBiWQgI Tc0P/iJ0w1rEYWYc8Gpi9EcyvesyP8oSFFk9iAbAFQGNK0TrApYa4BLg4s/qHY5S 8XGaJcwUEPni7G50+Wc3H2/QUpV2kJsPjqbGJxngfMwVAWY3QAFX5qdnAL8elJWE vGXJFcHvDxuAxMtPAzHmNqMqzTHvwpH4oNk4mRqfLW9VBcqIMd690+SSV29wax+S sUeSSVKZY2nZ8y8ycDVtgGadIV8qdGBA5R4UkLCojetysoajJALjo+3yb9XGZXox tN6jITucWIyta6EWuWf/ErI/RH3XGd6qMKMMcXiJhzxHAl0j1RDsIxXpal263OIi QGotBiNLP91aDR6vu8Il0FUNi5GeS9qEm/GWiBPXSDdTnyZOy3/A629F4cbVnSWd 6AVDzxj3JozBCsYOGu4EpQZvyspXUWnYXXa3gEe9QNaWi47mlLTNhHC5DseF9l25 4W6m15Sk9lGRzjXJSp0RU4ucJOm+S89KOsDvCiqD+++xea9rEGXsJjGRh4DlGO+h mMvuW4NOV77zdFArvsnmJ8GssEUVdSvxo2wlQsYiEg9By9qqznth82JCHl82D4Rj iGjTLJAkt/kPrbHCqDdJDTRFWVlAmqXKo0rzV47kdV5QzDOdw+e6FHlO18g1vmvQ QWLVx8seFzKvuvl91j0CVQSZKC1Pc4i0wKYgAvmRPNZYb/z0iQI4BBMBCgAiAhsD BQsJCAcDBRUKCQgLAxYCAwIeAQIXgAUCS8WIxQIZAQAKCRALZiBQYlkICK1gEACX NiXa1ctofMvjGHkyajyt45HdbkSpvcEZG6uZCkninKVUFxYhsCCJ0UMYKlOS8TFY HqeorHhuNkJsKdFAuxFHHrSdUTbI81KVXZ84YDYyYx57pvjtd0uPPan8XQP3dKMW xI7A72vv7JYERLONHqAN4kPVdkOs5BDN2xT9DoQF51vGu9kLHpOKBlukn2Nvozm9 f8v/tQXiMoT+l7WKG3wKBEbmxz6iLklvVwwCiNt2tgqsgGjhAiHPak0Ab4UoKPYu yc8B1BNhojs6G1+UZxCXdp75GAKV29ULjPA70vC/WzOhu8EJ/A4LODsWZJLqQoKt sm8n7uhbrrlQzmOvk40LXBiQVe56DW1sWQoopuOfm0LJtuAnWjiIRNwjyQ2eqIxL OUCVpQEU9m2ufOpY3J3lhehhHeDCCRGh/7oIyVls1M9flmElGeVKPThagG5iv7EQ tuSCOE9LAJeOE20YiNbZk6EzWFY1RjXDvJptEsU+k9WRimy4LBZyMKaRTxfA6O6G TJsGmNirA30dmE/TsYYIFj99O363d2EWE2aGO32ETQcbikYFFfT4f/jY8DpktTSv 6iB/ODlQ2iRXYf5bPBWJ3b4mUpzm7uByxNOBT7QC3v9Ff97NGaMssWF8rX3us/yk ti439jF8jPp7Zjd95IEwLNAroe3DaAsJE0E73+2dwYhGBBARAgAGBQJMldGRAAoJ EB5ue/FcGPhUaBsAn3n2NUiF3ELrIAWnYboJM6znJRAjAJ96oMAx+IZM2GdmwiXO jXtUE0cs/IkCHAQQAQIABgUCTJU8KAAKCRBhO7EmgFA5DJYAD/wJy6ksZt+PT0eL /fPQEzODpBEiq5/6zLgLBUZClMKkteBZjntOcSpgoBndDPlf2nyS3mDwimPk5pnF cOi2IsD25dBkF3AMFND9diN+hk2Po2SZmV0Ib3Q72s5Q4YE4weIvgral2KGkfd7j JJfrIqiCYp+6VH8Otg2jjXbLZzEIrhD0T6+88fWm1SaC/1mDXhGkrIm8XAJeG2Q4 OI4V6AdH2TsrAXN8CKdYpQx8WH1tGDOISFSHahGgVvj4+Msyr60K7OHJwYOqavfy /wjEIkFGEcl+fBe286bV7Yxqj7VZUcxd98qloolhi0IuCV985xoEZrf7mCoOs+2T 6B/hO1Sk2dimh4zuhsM5uzYkOMMNU7g3J43K6RyVgbn0Iil3ZeXPcnWanKKfnq0w oLQHutrEWG6gSSrujCqvEbctiCCmC74Wf2BkB2p7DegQlh7a1s4+W72aLs4CVLGJ dzAZ1wEE9ik2qZ7Cy+m7C7uxQMSTy847hhVRZnHu/d0TDCYpoBemK3B0jb2xtEMp FIQ9V1a88FI+V7yyQQcdx/7JELYvqnhgnwGfQ3zUneSMLYGPdw4OzPsn4srOVODd 6duuv1Z/HmKon0MqjFpOwjN7mWA+cLhDTBLd2cCfIA1vrjtiwVQEze72qSY/BPSU XbYIriXNCt2Y6vABwKBGHDH52rhSlIkCHAQQAQoABgUCTJXUnAAKCRDSHNIj7o4N 1Q7nEADqyRodhe27LE17z+7B+wSeIoCg+JyD+CtmS2sEGsDr5nqjJPniwCPXT8b1 znYB5vhXQDO6bMosZGkGfgQlDaFscxbs6aVsUh+7KW1ccN87LNH/8mpFaKlqiPYr ABe2ns75o8jLSN0FOAx97nj+dFFB7P1Brz8DeIUWURrsPGjj3ElbhV90mNJD69Fs VBrHaDlZQEfaJG00ilQ6Wg5BbHp7Us94wg9hNOj/U0mnTzIyRaWcAibG8XWTO+Dr OIX61RllWRwY1VGY7xQ9NyM7+nIU9WeDp0x5dwnKCvrW8mh11nP2Sljh/nNoRIz2 PfdjKPCCInRaHfBsY+yZlQMUh5qtaW2Zl/STgPzE61dwljOfSPKv8+g6d63R4H1r 1cRs1jgZl+YsZvXZwPYNbS4rRRJ7NXowVFpaJhvof0MRKbsyN6YFkmsCXytSs8U+ kO9mlluyHBF4TARv3C+xhJooRqMoaxh6Y6bsdKx1xkO5ZHks2CzAPidk1rVGbXJg 6jZypfm7ighNjX7y0uRJdG4s41JhTmQiQYji7VICQ9uf3+8NwwWK3jAbkScvwDN9 /gLxKNIz64cq8rIqxAqKV+N6Ujd0WHrbqFfMOAX6jsMocfsxD2/xZQQ4Z/W1mgGz AAnHDXCC1y5d+r6MRbtDIFZoNP++wu3lINNMJW3vMWQf3Khn0IkEHAQQAQgABgUC TJUiRQAKCRCKr4jW2E5BrhGtH/9fojMEBEzXtrA0gLqQxc46M6uUvXdDU7d1+fNs CPMZuFLnWVV351d8g1mOD7KxHFoP+B1L0MHF8tSj+oiwMSoAIUI67s9VScn/JaTK TBRK80TfaWP3R3g9P5xVnOPXAoCgIIOiO+aErqHR+zSqFsriR3l0wrq1rd8U8aLW qBXL5WK57ilEoC95Qz7cpBjykFQhAikGVb4dXMIykpr1pK6dKhw2FGWejAU2bv67 FoWOlRclxthbqDgrolzTOmwo5XMpiDrbhwwi2ghtUyEPvNQIufyGuLVz8yJhz+0z 9LGBCjejuelbk1qE+FK3f9kfsvy+L4+Tih+jZgkqyhZcBrhmw+JnllBxt9TuYghU swYcDU23vMI/r1Sa5JFbqAu9PMO466Nq8MI5VVEEm31+siwoH6dFhhPhDFtE0u4H UFhhXIlHvDIpXSw1AMema1U2MtHZq5bbfHybGSvY+/7/9Emd1uavqjqwgxtO+iXw vvnkF1KsnBz5U2cnghQQuTGFv4zAA5VeKUtto5kGtGfM2Za95LYFhx8x1S3fiDN2 cLxIc1UcxSmnZWqIda8ZIz5tnbIadyisQuyIm2jtmXJYI93u4hD9vFz/VBP4fySM QKmqrUGC3ry/VBahmk9kTSevJ6N05uFqIbUx+CPQRwO3b45unpuVoTbs1OjX1qcU T0mDFUZHfedOR9YTKifOHG8m5soHV2NPTQSoMUo7vMNA9xkhHe6k1RCun8LWrf21 rHeL+1snDnOsbcNkPgRE1omCjf37ArAgiHY000Z9RcQ4RU6/X+2dGcMIAbYZ3DeK J4KWPRn68MHTjslVDsL2BTpQxc6ZnRNa9h/sSPRUwwb8Mn41vx+qwMrd6WzTmyV9 JkOqXbz8ZUfnAzLiPmukxK+7BK3MJTZJJ+DbbB4qPgmn4Q5Gc93iFeFke5505AWz aGKsK94vGJvF979r3jWjjG0upvCi96YYJP6jYGH7YJdSsLx7nSNzOWy/aBLxmrAM Klf5kwsypcffD5R99sbCAGCPibi+viJ/vEAurEmeBiSMA/9e7r/YIUD4FxGdlKVd nWpgoTEhTg/6ra2sGLXlVVPiKJCfYxCPwMUkf5O3t7CQ8XAmUD7Rbqo0NZ+Fmd2Q IoX/8IVSWnet0MuhgKHSY7RMZKCV+P6zzg2ak9pUnU8VM2iiCjNE8P5W5pihJPVm LZutkyfl3iGCFGD+iKASYorhOxCK3yoL8roXh85wO9NaRz/F9fZlBt/Z8lLOZLj3 n7Uj46CUPuWZ8JSoHnHAxB2bzjBRhdBu0Ay5HNM1abfiuQau/8TljOLIqLdho7Yd kSkN7o3ev1lX7F4orBH42NySg2s1B2SIrch1ajJg4aYXqq4o0cyRzI8BEAABAQAA AAAAAAAAAAAAAP/Y/+AAEEpGSUYAAQIAAGQAZAAA/+wAEUR1Y2t5AAEABAAAADwA AP/uAA5BZG9iZQBkwAAAAAH/2wCEAAYEBAQFBAYFBQYJBgUGCQsIBgYICwwKCgsK CgwQDAwMDAwMEAwODxAPDgwTExQUExMcGxsbHB8fHx8fHx8fHx8BBwcHDQwNGBAQ GBoVERUaHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8f Hx8fHx8fH//AABEIAGQAZAMBEQACEQEDEQH/xACaAAABBQEBAQAAAAAAAAAAAAAA AQIFBgcECAMBAQACAwEBAAAAAAAAAAAAAAAEBQIDBgEHEAACAQMCBQMCBAQFBQAA AAABAgMABAUREiFhExQGMUFRIgdxgTJCkaGxcvBSYiMVwYKyMyQRAAIBAwMCAwUH BQAAAAAAAAABAhEDBCExEkEFUWEicYGRwTLwodETIxQGsUJSYnL/2gAMAwEAAhED EQA/APK1AFAFAFAFAFAFAFAFAFAFAfeewv4IY557aWKCYawyujKjj5ViND+VYqab onseKSex8KyPQoAoAoAoDpx2MyWSuVtcfay3dw3ERQoztp86KDwrGU1FVbojxtLc u+P+xvnt0qtPDb2AOnC5mXcAflY+oR+dQZ90sx619hHnl211Pl5Z9n/JPH7Fb2N0 ycA4XHaq5aLmVI1K/wCqvMbudu7Lj9L8+pjZzITdNirYXxzN5uSaPF2jXLW6h5yC qqgJ0G5nKqNT6DWpty9GH1OhIlNR3LXhfs95FctuymmPQcTF9MkunyQDtQH21OvK oV7uUI/TqR7uXGO2pbLL7OePKg6rTTtrx3OR/wCISq+fdZ9KEWWdIlLfwDw3xxDm LuNLOCD6u6nleQgj2jB2jcfYBWb4rU829e9EdWzW8m5c9K1Ia2+6mFy2bt8PHipG s7uVbeK6nl3uWc7F3xEMuw66Ea+lSJdunCDny1Wun4m14coxcq6oyrs4/wDnuy0/ 2u66O3/T1Nun8Kuufor5Fjy9NfIsHgd74BY9e68liuLi9Rv/AI4UjWSALp+pgWXV tfTXhUbLhflpbaS6+JpyI3HpBpIvFl9zPt/dOLSa3ltkfRRLcwRNCvJlQvtH4LVb LAvx1Tr72RHjXY6rUs58Q8Xuo1nixVjfQOu5JoIYhGwPvuiC/wBaivLuRdG5J+1/ M1/uGtG2iLvfth4nmYjDHaR4Mwyq7XsDOeooBEkISV2HuDu9AeFSLedcjrrLy+ex uhfmtV6i/eK+N+N+NYw2uEgEZk07i4LB5ZSP88n/AEHAfFQMjJncdZEe7kOW+5IN OifW2mg9STwqKtyIpa7DRPNtLQWryAcOAC66/G8prWah40RsUH4IhrvCWsdzcXdh jxbXl1JG1+VXbv6aOEcgEqTrJxI/Ot6uya4t1S2NsbkvoZx5XKYPB2O/M3sNkFBY RDTqP/bEv1MT+FIWrl2VIqv28THjOcqRVTKfJPvbmriR7fx+NcdZLwSd1WS5cf5i W3Kn4AfnV1Y7TCKrP1P7ifawIr6tWUDJ5nL5SXq5K8mu5PUGZ2fT8AToPyqyt2ow VIpImwhGOyoc9vcTW1xFcQOY54XWSKQequp1Uj8CKzaTVGetV0E683X6+89bd1Op 77tdddfnWlNKCgyvT0KA6sflspjplmsLuW1kU7g0TsnEfOh41hO3GSpJVMZQUt1U 9b/ZWSPzDD201xeJiL27i37EQMLiaN3Ryu4j2Tdt58PSqS3gwldlbcn6divt2Vzl Cu2xLZTBS2eLxmXvZLZZcguhiXWCdW0bUMhJ6i8PX2PtWjMw3bt8k6rwMu5Yn5Ta rySZ04PwvJ39jc5mFUjt4FmZJ5yZHZoQdViiHoNy7S2o/OmJ2+VyHJukfvZhhYjn TWiZMp4Virfxy3zuZy88aXMMUqQwRorb5kDCNQ/ULnjy+alvtlmEOU5Ohvv4Fu3K XKT9L3My8t8vsfH8BLlAzS9CaPSLgryRu5UKGI2k7eP08OHxVbZx+dzjHROtK/Mh W7dXSPU8v5jKXWWyl1kbpy891I0jFjrpuOoUa+yjgK6m3bUIqK2RbwioqiOOszIK AKAKAND8UAUAlAaj9qPuDbWCJgsoypFuPY3D8E+s6tDIf2gt9SN+1vXgaqO44bk+ cN+v4or8vGb9UdzambGT6zXAjYxjY4uNCU19mD+h/wACqCU7jerbKtzm3q2yXw3m V/gYJLXF3e9JBr2eizoSR+r6uCcPU68RUzGzrtpU6eZKsZU4IiPIvJ5ZFOQ8ovBH YWyfUpYFdoHCJERURFPpoo1b0ryd65fklu+i2S+3izF3J3Z66nnL7i+f3vluVLjW HFW5IsbT0AHpvYD9xH8PSr/DxFZj/s92WtmyoLzZUqmG8KAKAKAKAkjZ8qAQ2nKg Gm05UAhs+VAah4F91Ex8MOP8kia4itwEtciFDyxp6BH14sB7Ecap8ztjk+VvTxXQ r8jDq6w+BomJ8ywuenubbBTEpaw9xcP0mjRBrpwDBdztVTdw526Oa38yHLHlHWSP O2ayeWzV491kLmS4diSgdiVUewVf0jh8CuqtWY21SKoXMLaiqJEd2hrYZiG1agE7 VqATt2oBO3egDoPQFp7PlQCGz5UA3tOVAIbPlQHXhcIuRzFlYtqqXMyRuy+oQn6i P+3WtV+5wg5eCMLk+MW/A9DYDxXAYKGWPEWQhjugrTMzM7OFH06sxPzXJ3smd1+p 1oVUrkpbme/c37ZYHH4eXN4eJreSOVTc2+4tEUlO3VFP6drEcAdKtu3585TUJ6ku xfbdGZUbTlV2TRDZ8qAb2fKgE7PlQDe05UAnaUBbOz5UAhs+VAN7PlQAbIgAlSA3 6SRwOnrpQEp4paFc7C4H1JHMy/3dJlX+bCoXcH+k/av6kfJ+g3qJ0it1G3/1oEUf AUaCuUaqV1SheWZKS48e8ptpW1Ec1pFCh9hKsbHT89TVnhW/1Lb8a/dU3Y69UX7T JzZ8q6UsxDZ8qAb2fKgENnyoBvacqATtOPpQFs7PlQCGz5UAR4+SWRIo1LySMERB 6lmOgA/E1jKSim3okD0f4z4FhX8RtcBmsZGxjgjkmhfRnSeQHqMsi8Q2o/aa+M9z 73eWXLIsXHRyaTWzittH8yyjbXGjRmXjfhtnafcnNWkQY2GHIWAOdzFpW3Rhj77Q mv8ACu8udylewrVyX13I1dPgU2aknxRfb+0jWM6fFV1q5yIEkZz5Bhy1r5OzLwkg s7uL+6FmV/5JVviXqTtrwbXxM7EtY+TZnps+VdMWYnZ8qAabPlQCGz5UA02fKgDs +VAWs2fKgE7PlQHf4rY5X/kxd2VneXN3YlJo+2hinRTqQCyNxPtppXOd4yVC27d+ ShbuVXhX3kq1GL1W6N/8VyGRurS3myqNDkJrcNLFInSfRJHClo9TtJU66V8n7nYt wk1ZfK2paPfdLqTIszTJ5jG437g5uCdtjXr75oyrB1EcYIkcjUdMp+724a13Xbbb nhW+vGPz29pS9wtNS519xI3nkGMki3LdwlSOB6iaaH86kW7Lj0KuTIm36Wbly8Nm 6yWvZ9o1yDqvXfeSo/sGhP41vb/L4t78q+4zUXFJmeW2JvbhXMds7NE5imUDirr6 gj1rqf3lr/JalrBc1WOqPm1kysVZdGU6EH2IqQnXVAYbPlXoENnyoBptOVAJ2fKg LI2we1AfJ5IhQFx+3nn3jHjwmhyNq8c8zcclGOpqnDRGQfUoU/GtcJ/LOyZuZNSt vlbitIefV+8uMK1ZlDScY3Oqlp8JbfGhb7v7ueBLexNFfSS70YERW8zEudNv07dS dNfQVyNn+OZqg1KFNerRJuYjhHk5W0v+4fiZ55reZXPZu5usRbTiwnjRQ10nbE/S okADMr7X2jXVTXa9osW7GMo3X+oq7a+w5fOlZdzkpVfkVfNYsyZmeyNpHJd5J5Jr U6KxCH1LH1Xpf000q8xMu3HH1/s09/T4mqzfSt+wtlh5FkcQ13DcYWaayklaWK7t ArynVQNZU3cf06a8NB81Uft4XIxamlLqnt7mR48XFa6lRyE9plr+W7dmt5TovThk dGUAkjfpt1bj6kVf42DCMEm+XmWGMvy40TqdCJFtAB10GmpOp/M1PSoqGwf26n4r 0B2g+KATs+VAJ2nKgOl49RQHNLaFvegOGbGO2vGgOEYzJW1x3VjcyWt0qNGk0Z4q r8G0B1GprXdsxuLjJVRhOCkqMmx5h5gvUR0tpleNgJGUhg+iqh/dqF0Zj8k1Vy7N b0o2R3iLxKu2OyrXhvTcSd4W39yGIcNyPxy9Ks1Yhw4UXHwJH5cacaaFxtvOslb2 UFvJjTPfksJblW2x6oAUb8H+rcPY/NUk+zyc3R+khfs3XTYh8pc5rMZAXd2Y4lie ToRxIATFJt0SVv3FSvDSrPDw1YWj1e/gSrNlQPrDbTD1NTTcdscbj1oDpQGgHUAU AUAnCgEO2gGN0vegGHo0A3/Y5UADoUA4dKgHjp0A8baAdQBQBQH/2YkCHAQTAQIA BgUCTFk5OQAKCRAQwBxaL2BZ50G6EACPPFAxumyI7I6wCxmWteHF/TwlOON0lmA6 /B3sOOxluj0C4d1Xx/qLIDcEMKmxVRQTF5JNUMLjseF43ToXYHi2QVJ/k6IMiGGV 8a6x2Wm/BbNLulVMn7qX+P9uKlzpDzMQweUqSnWuk1vENhCrM9bLC64q76aLdACr +bojsNDsTty2F5bQnlKrQCxtyY5Lo6OfLnZO/skegViwCIvhxE8FIS34Uiiviqle rUjRRZ/n3jZHyg+TO6pW5rxFxjrn0PXqSc6rmh/DZLv7+X7a7EZvyW+tr3/42KYy 78/6xFC4M588FOLNG1sj+HxsFWUnckqhDn8Pt8z34MyXStjkkDPJqUM77WsCJ1kr 8bNOmYdxCWSgof74TaApLL/MK3UxR96o/3yzy07xPzVh5EtQa1rQUI7G37vGotdq 5PT5uv3VJarx4sbiXXtfjxN2QYTI+suOU51oZgzC4AHqWx/zrnbOUPqy0aAMY5lc AqHfMLzn4HH8HGRogw3uYS79Fd2pdB00eRVfcQ9iZ3M9EgyeS/bD9VIFjIvNJPVQ BjU6NvVtcmsj9fCGVr0TSnyG0SZkjIN3vcIjHH0wOSeu8GQl5WdiZrReJRV8GmsT nxL3kAAQoWffyQlFqqoyhEYih0bK3+WeUvRegRzgmgIm3RgRM7Y7u6veekRZoI7B gUWMGk1Xt4kCIAQQAQIACgUCS8WWHgMFAXgACgkQrV7bt5PsV+TyfQ/9GIL6jGMP i0dIoGCgGSDncs+DgxOiTkjPo0Wd70bsJV4Tv1nhkLk9czNrMCm6yH5ED8H4zYEs aY9+dczIte1OWH8fC/nlaUlDD4/Qt850RfY4vNHedoQzH2+NpoxYsveryzCwUq49 rPWYKiw8BRpN98GsDmZsfNbZ3sA9p3AppNYFzVmkN4QqqTJ8S15citEQnV0j81f3 LrvnhpxHHoP4PgKJ6guInSIHQQc2h2ifwtQpGWkoDMpGMGY8hXvHWe972xP4CS+1 eduB3vnMxkDoKmc6km+XmbMpiW0lMMVvb0Ct90Dlvy7GziizJqGAtK463ok85mDu M+3iDdPOcEGneUZ3YmftKVFNrILsUTLp3xSoPDz5x/bgQPh+aetut6Zke3MvRyp7 +ddceUsHnRyRfVF1gdsWdCgNqsC0AF3LBS48uHoWVsnLDEe3dcRD9aH1ZD8leFtO 5u9SBTCJUZ0AfLbe1DD/7r4uLgTClzpafVOFPuZ/fH0becQ6euKksFTC980Hulln /mEribQSfGzI34WedcKk8S7H69llMm4WgVJU1jnhf3F7OyJo8CkzdupqWIm00uFm TXu2PrenmjdJEnep8CP6aaRrNybp0Z8UpnZjNmJ7YCciLJ8dXsr2t1/PMfrTQDpq GtFdeZsWtZHQNekFNRgLW0NmfddVvNkPMWGJAjUEEwEKAB8FAkvFgVQCGwMFCwkI BwMFFQoJCAsDFgIDAh4BAheAAAoJEAtmIFBiWQgIFNsP/2//2YK8VlBnwxuoiVna a3064H8J8rGm8ugXLrcVXp+0iWIFzQCEnYUITHXmBw5B6ezdJvRL/M7ibMHAPtVx ivkSrpARkGdaX65r8WxgVyquMUkqpywZFtmFwPzoxXnxXDb3G5QIrHlh9QCwLtFY BOAx1XZTK4AJSutwEOyFBSPxenGj2jB2J9hYW02lCSklcsjHMGFI2awM0XeusuyY dESmYDyh9Zr4SkU0GsDVUhhjWW6i3DI8OzIfR0kmef31dAXP6pt+yis+C5j2/S7c DMdWtGXvBfPK4SjxQXqkY1iwnIwz1ZmQXRMloS2PH1IDzWYVYGBmNG7kn6GgXAOt u+7KcmjTalJYFI9/W4HK1wcwsBNTQVQmORW3QB4baruQfzzFnqWKCOGoLPOH4Z0y yL0Z07SEHG9qjtymiBBw8AX/N2NVnKQPNb6FBM+ISNJBrnyx0sBT4/zJevc3QGUn p8eeRFGTtdlrm++740NK2YYehUO4L86TsWKgoRdnX/Hj0LNHAdCC0KIZhxiFIGyf muceXoV4yH5nAw93DatqpvN+wd/FtbBqGHA8c7przuttqsFmox/yAiR+CK01ojnv Y6c0rp2XjfS7A3DUjNtcbuE3D69ZdX2M29ZJlXwv5jieMWVDHdcII3vl0F9ko4L8 +8QtCdFG0E2b2YJpEOoMiGQaiEYEEBECAAYFAkyV0ZEACgkQHm578VwY+FQjAACc DvVbxLSgR2oMBeGSbxj2dQC+HhsAnjygf54lBCtiYJ9tajtrrZWgsMGbiQIcBBAB AgAGBQJMlTwoAAoJEGE7sSaAUDkMqB8QAKgAgt5uH5JTiof0s5wT4fb5P7PGUnoX sGx6ssU02WdtM3WKnBgm5iivMjCBlCEW1d2Hh4KKxTpRvfdNdFbL4gxhojpxiQje aMm6ePCB9nMN4oo+mpW3k3SJCsanbf+nrj7xGEu4KRR9AzejYBVmWxpjFNuGkH3d 56Is84XhK7XTjqGtShnzdK9ObZs2SqWPB9E0oua6U3kPm2LCzmzFKSJN6nFRzVLR KgNFR5p0zd3LfKQd7jVVoZDypFAHft/8NhebP/B/rwVQ0mCTu+pkO8cZB6AoBB4j sfrRVvc3ebK0D063Edma7FTdsKydNaAC+NcMryI8RnoRE+jJ7HkMLZ8kZl1IiKbE rmeO/J8+/2LOzCQE+gM8gWzRJ0byzQTyWnplrh0LvSkhLCYHykkCEgtnxTKMyMXe 0+d1iHKj6M+crbCSESf8J1ghPafJKhdbj5JM6CN4Wqa0ewDD+kzzjb3zfCdkoRoT O9flkMhZm+F0LLK53sl2mvDAACHeazuiMC6NPhUOF3gfQWMYUPIGxaUepllK4tCM 3iGO5XvD8wWPKQwfrYv6Xs7gI8q8omTg7F1Ly3OgZlBHDy3IPeBarEn0M91IWslr DzWm4a5YI8tgO3s75n53hRW/AVvvj2Z23up0FRC6pR1x4sAg+fNhtEpou0AaCAjJ JhiQK5rjWS9liQIcBBABCgAGBQJMldScAAoJENIc0iPujg3VnxkP/2g7STec2JtC nDYYo4DB4oROKxY1b4+UdXfH1TxX8hxeVTiJi0tL16pMkZFB+OWEoKhTjsLmXSQw IZnZVD9DgU067AOabeoMxgpalfGf4itZgcrbPw89Hbb6hf+9LVMDXFYYPO5ku1pb /w/iZqyuRZPlYZURUGcDd1kJSXxS1fpZYCfib4QksTvyWB6jL3Crh2Ulg7Hxr6A2 2KHAFHwl8cwVz3L8kJhNoCGKAT2sy+h+6vhwAr9hsid+ZnzpBXHGj3vPHPzzY67x GJFuVWAKhEfEXHrr0B/BOb/WalLMDojr+9LMc+PDbX1w9Ut12k7afbhZRlu3Tx2C 5Xn9ohngzZ4JxI2h4JCjIOD58NwZwJTaAIWeKsX6xGx1gkLEgfZ7xa9kgoSrrBG3 S5q+BMMZmOQeQWV6q0hVXnF3GARV8LMgrHq2M8BZSjtihfm8qkW/x57hQ5eEUzaA Nfyq6hYUG5ciG0bQc89qODSuouCO2wXFw5GraDDjsEg3iSq8lTo/uIADSV13qYKK bXd39apzpDB9RLgNzsMv2bECWx9SowZfiWfhXxyDETv1QeSkHjt6ZmYbHxgbZ0OG pZzx3txHUgW3+OEhWlwOy6ysj1vwiPKF5z9cluAoZsa/6/isntjZelL9SqzrlQcE fz+yGAGDLenYfAlXTptWahMI7sXS+wq8iQQcBBABCAAGBQJMlSJFAAoJEIqviNbY TkGuugkgAIA1mqAkyLv9TdiPRi/o9eKqG10mvY5a+OdwacPmH/8OgdLR0E5bLhC3 BQEct9pm4jaq0c46okkxSBqnDZA6TXftTefD53LnER5YYrjqWVTZqXioSV78mydX EVSliuD9OIwDecOS+/XO/IXYMNRNTuBtWedOuRw18bNZ0VLTfVexZjzAeVUY78bJ S6JcKoqoFVMfnz3REAm4DaV8P0kKxMf07JV0AES0S437igkxvyLHhNYZGj/GgRiZ HvbMoLZLpDEScgWFe7PbCu6liHts8PCnN0Gedrid+5bEn1Yb8fz+9KcA6dSDP1b1 v+/0DWPFqgC9YQyxIgW3hq/FtBp1biDDmLaaD5G+lmRjzAxKWBp9yT3gTJ/VT58y hXtJldKEBNumwpyVsWLPxUBwft71+HDDLLRXBTnsd7vnwCkGSgEHUlERNpAOiCNG khoWqEZFs7WgvdnoZJdOSKWd4+ox5MdgZ0CjbLbdbrq0e1Gydc2R/XVwPahJ0nHv aDQI741ZF9VrMi18ltdXmqv+Jj7wYVPeovokmL2MY0X9Zq1xKv6BWkYrfyJ778mz ORhIx8pZKRj1cs2HbUVXzJOHfZVF/kvFiQ9rBfnu1UYkaBpV2/3b7UrRBm0CqpZ8 qSVVpQnipTjEp2wI2Zo6xeJbLjNTTa02dLinPVlAbrCbxcPolBn5LZzNzgDMn/pH AXew7yW/Vx3nyiWQy7feI6CfMl6Red4VbXl3mkSW5PL7uGS7m4cOhkekLUrs8R1C WqsUWxTdmeqB6fm3fIYu967AnxoFsEIeBKyrVUrPLN4Rs/cEvKGa/1GEOg9ZxdXR WZHTuEv/iM/b2HaWk9HkD671+/aSIPz0qgL2jKoNP+4db3cadADiWHzqiXzB8Xvn pnGKcurBtcPgDdsJ0qLAJas6R7qbpBMVnYzGoK8caZjnHDK9BP0DeY/R8Gc1ykR0 qljz9RYFnJqMPlby+cK2u3AHrBGxc2nHbpkF/ltdnKvtQoFYkeZmtpCVPH1QuOjN 8kVcodUtt0EG/tixVAShgCnB0YQVhRBWzjcqvj+pEnK2pu5fPFFtBZkm1uULB7pc vaAtjLV7yPRJBloZP+R3xyktKfXa0OS7XjfSobBzYYj3zjDFVoq0OTbVNc8g0pLM xkPCrBKib5s5ZWokbhUNcU39Cfv1WTAynS2g8hVSU6itjfBNm0nYF/vNz2pLuhYw VjVHT2NnpWKNfJ1hm4pnINBClSkSn2g4WY42FXMkbBRAJ9/bnF/HKEmMe2O4ew+r MLMk+26Jefk+f+q2UlFV691I04nY2c9JeY55bJkmX1QnpFmWWhIm2rYVxD2jXgMo d4JPJE4ZfIqKJ8hHiyDpC7k4aC7uLDu0JlN0dWFydCBXaWxsaWFtcyA8c3dpbGxp YW1zQHZtd2FyZS5jb20+iQI1BBMBCgAfBQJMaXX5AhsDBQsJCAcDBRUKCQgLAxYC AwIeAQIXgAAKCRALZiBQYlkICHd0D/93SF6+rrGpe++6fnmiUQaGJtejOpT0sm+Z E5zhMAwOW84UeYg1UFKQJSrU6mF6+M5zjsRfKGIUxMabOUvNsco38t377BFhf9Bk OkoUqgTbcepRXRgBmCFsLNBd+cK5tK/TeKI6plrd0oWZTiiu69I4prbRGNupA5F5 vAXizBrg6tHewcv5XCZfVMBO3xheBMrXI4B83oQev1w8wbLiv7bJqB1A1Fsnx2dk eHI5A5M982pE7Oy1ynV1AhV3layxeNNdAIW1dEgHSBRuSa/dZ/1rwqvkAkSseZcz VpjyokTMOshNLKRJVx5cvphgvsL4Qk0fwlb9jJnt/HoPlNvfbTErYir373EKwZ1S OTVMgNrWGTTdA+8PV9s8C+JILl8AmVyF5gbMOJNSemXed1mpbAhjmGuZ6AoN3esK Uk97STgabU0lFk6Y0YKHf+x/Lg3ZC4MpT4nlic63kYMLUfQANOmsnjA+Jwwf+8Cb /N2MJN9eG+MzhW65g+0v+6PJP2n0HxSEC5xHYyulqDuXsRQ5J/XrJqbN5X8LB92o O+IL7aHUHnpGTqBS4X8dTkkAHTX4tJDEaNBN71Hrb+YxPWMVxu6QsW8rvQSd75aa 3TF3PMqOvNZDaf4tsA7UNrwaYHxOm92W1F7VLgHzgHzdZRwxl7Sw+0RswaZCfv85 7mT8KUBZ2YhGBBARAgAGBQJMldGRAAoJEB5ue/FcGPhUhjgAoIYaCIidFdgL1cUI WiwybLla+v1OAKCvCsP8RVZ9W411F3FOVn7YEFevp4kCHAQQAQIABgUCTJU8KAAK CRBhO7EmgFA5DFEjEACjWyOy2z+mfJdvmo10A4YXqxNXXSZXQcWtfF0sGQQV3o7T 3hKrX91QPYgjoUoPsRBxE1XUX29CIWiLRKJEoJHKaoVaXYjBvSStrlAA3MXJQD2y wrmrYLZGktAU9IJKhGeajCHAXgQY/rM2yYnhMle4Sx5gNmV6OLXOOgdoSiF7Ntlf VSe1eoHbABaZ641Ywcv2qoOFfZyunERYR66KhW1x2MQWcQU6nqGPk2IhbUduxY5O vmFKmOcbImoZs18ozIo0x1H2I5+Cc0oq59DIFy0o+WaLrrnFeTkvsOik/2jVjcyT MKqXDioQrr8X7m6EeGaSFF9Mw34nqH23hh8Jq5L7jiCzLqCtxQfm+7cw3n3sWCXd WJQN7yWNKkVxA8FkTSXCp4KQmpa2WgPRGmv3JT3DDDQaI5FGwIbVHG2vDAijOQL4 i+LyO0CuwbTHpdtAdc74DHvIYrc64xZu0z3MLAfPQS5PWBXdqJS7xg0zdVaOv+R8 xxrbf1WR2KQS3TQjQcmni1C851N6eQQ0Bd6BPg1ELg9EpSu9jRraEmH+Zv/HmU1r McxgDMm8y05Zv1jKsjS5s8QWjUuU6YPzv9Lp+isSJRj7NVCrTx65NgxDXbNsQev8 5NPx6iUTHBJEsJ8tqDpqttpDP55lvQDHQVp6VUsSsGK/NF9zB7AiOaTxTU3lsokC HAQQAQoABgUCTJXUnAAKCRDSHNIj7o4N1Sm1EADd3Kfmr3x2ab1Li8e4Qbol3O3l YgR+Jt79TF1VI+FSWeT7jS53o0VJlCMqh3Pfthnlj0x4yuZAt+YzDX+N4ZawNDBy Uvz6zRWxlYMUsaPNodqK3BEfPNXtV6WeVWx2uv3fcRXbtXOO7ZHimUfGOmmJR4lF x8WX9qWenXw3UJXqomaSEM/qMTMySRp2uTXSSaUO3D7cbV2rnjgGq2FgTnWETQ8G T4mhE3Fnxcg0cAcLqNcMNK3mn6/L/ifYY3AtQQ9UruK5cTEhkSROMIZ2DmqmwKiS CgUCVNnYOiUHgZIcanbJBw4B0N8EAWE432uKH2smfbHwIpTVPuXGtl1f//bxDhZJ LqY/1hmmzDXJlkOVrSM3CgMKUAAT/Re2U8T6T4Pau/ti2KAj6QEaLlWfzfUC+t2h yjI4ucinP+ldBRlYWr0uwDdpp65iFJUmesppQ2397hZgQRqk8ljn1HsleYKjiNAo cC4unKgyXwHYLjs0csOQYnSMRxyGauw/0MbZsjrLj8qwtFzktGteuuPGXVisJBOK T0ZhAcrLEH1zv07jgUQpwCDgx2n2CJbgum7uT7bFgzqW6c6voEAfXKcupCjgjhU/ sK0x+dRk00GJ8tBDLa26zNZCPjnnR+DwTStwfl6lkekbwg+VAuRtHaft27QC5ff7 Y9e939IBmYtLrFfap4kEHAQQAQgABgUCTJUiRQAKCRCKr4jW2E5Brm1+H/9Lfc9V 6hi4BpBMZh9RGpQh1bZ8U/ch39TUUDhfG8lC7TkzYN+H+S6/7uxug/no1+Yj/YCm hNmwkKycpdnl/37R6qGfeuFm8twuo8DiEvupp7Yorr4Fw1TpgpHs+qEtb+6jng0G RWZCR7YpFkWGg8ZrtG92P9qk9ynxj6ygpE4QDvOTpO7W+d4e7kuNBBqLhrnDvmY7 /sVMuQu4rOlTZa/k0srgscIt5pCPpGtVhRFM0OIJVhkJgPhM57onZW++uEpSg9SV MBWbx27FMYA+b9e/if7kp9A+pcyMel0G9AEKaim9h4He2TaENjRD0F21EGXnSua9 8uTsgMKiUZCd+3pFpqKHCHeGqLkpsI1g2G0wSr2RyOexjtS5c6ppFo8mTUg9YvEy ZLP8x1L/jVDQtr35Op6c1RhBTOiuGpcQT9fodX1KX/EAIjRGj614yXUvvCiEWGuF WvnRei4RblxNyt/7jnu8pdnHQNGy0nFkcPigwu77qxKpBS9LdMk7XgeVcvME4wnZ kM953Zk/YZc0MeN8EyqBxGImHBRu045/ji0BSMdFD5243G6bDUeoaqhBtm90GDUK cjKVGof877x1illUZMLE1zWx0Cqv2X38krrsoa3WPhhm4jw/R3slbQNAQ6HaL8QI AMEbbqo9Pf6xi+GVv38nW6sF/8gTaePFMmWhjqCQ9NXOgJQC2SEBVbkwzEo5D7b8 8ao65Z1kr5xS7AWgHUrMyr2SiT7Ab8478hVVJkBC3fjuVcGSdpMu1SIMDhbXKVhD 786or8up27iGTZSulqPqmLarIm8NPWwOY722HgCMoxuDZYw7WFji01VOPXz8Ncme PrMo9jHBHrtd5UCDVpnXUolJmkGMFMFWhTgsxgdcKuEf7eRs9QGWnGRHrcDppEUs 9OvQXFUvva87EAFFnCh24xwMddGWuXqGbT2UuMeLXEjazkPwXtp9bHGsxVPCDlQa jDy6RTcXNQEqKpsAx1LzQbJbo82hScjktgkfm2LSskGVm3Qb41FHRDEN4szRE84N 9UJCzt2X3RhpfHdsY8w2pSHNaHMD1DWUJBlRGsU4P+VXSXddihWdiq2I3TtgJTYS 9kB62gF49DBCbzGq0ELDyCwu+/YbBeP4Bpv+xSxXE2i1NhxUGjCw7nal+poPfIV7 rv+g5P0uqvad6XJ0q1EzXy2Ls1w9I+uJwNcDa9gZMdX4SGSTCUmcp3zZc29yQVMB j3RxPfP6R7CjRk1WYEiB7cbDk/GJ9h5/aKEYLt/I3zhn+HS/Yd8+DSY8rfT0hn2n ochLpRLwnfKaCi7D1PsvqE2ohpOrP39TGs5p9uKe+iYwpEr2cNAhedIO5jEvsHUE bBnfTiMeV8IVGPzvuQINBEvFfXkBEAC9GUNu8RZ/zY4BX8snhKcxZrv8FirsDPzc ASJn3RUSadGyJJw+0sf0pUg80Zj5nK3X4c/vqMeu3Du8X88CSLCW6BcKJu/jsFv3 qh9htzSiC+wIv+pdHyPLG+Wfqr75rxVOiQvGajPAIE2/jITbI4NYhq3SjzDjzn+Y ZeR5QsA2Uj7c8Kqnc9o6ZgZaNgkvN4vxfleRS8ubzW1HsfPaDIJzvg+u4E5lKWdq Nv1D+rUmshrrSgpVZD7m+SlMbAiC0Xrl2cpYB+oFeEPTM6v8+KORTNnJGVGFBTKG s6lzyrS8Pq411e4bSaoG9VHjaRahrmtw27kg58Hg9FZRtilQblLFWFxx/Rg/tAnz UBcll/xiKHpcshDAr1VKn8TcoFMjrzOPmfwxC6LOIdjLcY0XNSjUM6vNcnJrmsTK OgZGkD+JZk5pSsxnMWNU7VgKWO/Wmjvy5qUa7FZkh/A7FPus8eLf/711NstUB6+6 k/0eoZaVvtZ5MVKhBrkYscLNGOtaV7hwm+0cjQGLK/x0ntj6NciF9pMiGpC+AP0X VIv4rdjA4MC2ZMOf2UttfkzXWIab70MrvxJw9m3VknWOBXTzKDLzTtD4Y0AIGVyz qz86dHlrLXK5Zwort/tFOjpSp9SZUV09nSyT+re36V2VaOzEtZjpf4a1DinuIiQf ugVgb0QnjwARAQABiQIfBBgBCgAJBQJLxX15AhsMAAoJEAtmIFBiWQgIruQP/3YR vBzgcEQAXBrdh3Zfd7QRYJCk9xSNGGzzMVkIKH2n3nhRNRwplsARfnDKMu7ujh+N k3a1zUX8GK2+xhxt0XJ7jBrZoMtEPiSmjLkSSu2GYBbhVsNE3XYnxm19ZpvsNO72 qU4mEjTKElY7jI0oaWntLCJguW0wua4Sc43Nqg6cg1Ttv891l5d1eTk64S/PA9qm QyRG9lI5dtRqNLDlyMPzdWelP3lGzqLPc83HYHKCzjJ4Updfv2bU+eCW/qyyQkic CKyrka0KIyh3GXbHCqmGFuHJTknlF6MLdcEAInBNbjakeWTJinjcivPwPN5NwgSO yte+uI0UB5tWUvwoyqr4e8CJE80M0ZtTYN8rKJJx+/g6EvFUf+qxunanjEV6ZP2L fylVfLJsObnQN0Jv0ae47/F9b2SeWh/CaKtCxi0vzg+s+MKdBTXqUAIPBzQMyL// oq9VpQwqFFMD7fNBjBt2qKRYCmk/UFaqbtG7T6y6zcj/gobPr9QcJYM7FOaY6L0Q TA/H/qmf+xwt4klDsa4DwdVXXVCY0dYsJZ9crRJi61EojtCiC7Z4uMPrszl8+KXo I+u/kObNjQz6YQsKz3Hq4cZB4+n13x1pYZXKxNuwWF2JUQkGvcCg+wAkUKypIrcj c1OtnvugNcNVlwStx1wAekBg5u+QsmyaB/huA4TpuQINBEvFiB0BEACz8LRTLr0n ajj4u5xDZwJ5kWa45ClbiTHCSdePANZQqi7x8qOXdhZen23R8iBKMjLnEix/Hlgr A3OacsG/Xy/CqPxkupOTxklDfThKMH6aifjDr23N3i4ODTyYolh2a8lAKH0WgV1z 85RqjD6qu0nh9Xr3mb4GDFOOqs1ppNf6AzOLTMKFbOMLJ9SVHEgUNRvig4kUid6j AoNrmDLNn/KbtwWlHWtAz4nUCGZfGmMPVKnmg9mwEwfHm4r0/BN2sXK12zbyrqJT siDP4h0MIs81wlWBgHdxwXhBgBJK8vhy4sD2CXApjL2fbf5gjn3ApOdTKrpyTZpJ wRKlSeLkSy/BYKBzbSHmFz3HHTdn0u1aT/9gJYO4MGLhO/Kpm1Ht0aRHaoberswS iCpQQ77EPysJgiauyErRL0ynkDHfEbkBJGbgMjJZn8WYxYxAkVU3vYneEcHhmMZ4 At0gcLxN1/wJykMUiEw/uZmUYpdcVC36c/fM/6jCo6Y5QO6Ho5ENrwEVTSX8GTdU tsKFrDNh4blTcMmTKO9ijq8pNhZ/GpsZPVXpfx9QYH6dJx9Q9W0MLVx90WRdw+Tp DqdSkPOyQndlwsm0+ywPvDhAQ3Gjx5/XSt4WbfT1jYKd5+PQh5/1NyDc5YYQdRkf ftwk3PTDFqAgnTnG4SjFrCS4ImbCKiUvSwARAQABiQQ+BBgBCgAJBQJLxYgdAhsC AikJEAtmIFBiWQgIwV0gBBkBCgAGBQJLxYgdAAoJEGoM2OGpOvr9zPYP/3T/rytn OvMw9Pa4B5rvaQDRgWfCIR4apaEC2nZNjnkocl1tkP1b3wkH2X9DmAlpwqttj7No DJl/uqv4s/SUnB1RyPPBSTmaHmSaKVplSoD6DMh6I9WAbXYQ5lW0DAAE+a45/oiR r1FsE57xevT4p8Ss/QMlVFv6HSaOyqNIgES3/jSlxLBJji30+ZaMYUJCO+yUrdi+ i6oXdpKKodRcfKSMqAcNmadaYzzzfq48ZCcRRxjY4hzUh9mn6RIqwmBFOarQkRG8 jeyyCd2PBPm4yaPPop2/jKduGfQv99q4B+jdZEfm0ZQCGR1f5j+jDnG2lzPTUXZu UpSuSqz6yj2p/QBVaLDYW07HMARrLCii777gZOLMVf3hFMEyRH9uRc5qYalrGCM7 L7koVUzavY+igjo3mM5XFJ8LEvjmMOElRdtjxsyNe47+Eofs0cT6xhM1nKB0FIAm 0m7djGC5LlsWFEQeyvB6Fu7zsFAdQxepTyYX9jSE7an0gQofZq0RqfO0t8+T33NC kJox9YXD8wpkaGIi54EHK2a+dPF7GntH34w571YzUwJAjLia2fELneojGPtUm9u3 aCiPP6GskeGrBS3ZGiOJI4ebCrEYqe+fqzIlUpQRHsJh7B+BfvrkiXscwwceunYS JowU1Rjbruqe7fEkRoqMRhbF+F4ebnB2ZlU+CyYP/R1IwLOjX5MjylDtjVTVULqj UEeuvcRSR+movlF7fOgl5kp+WS7zLZ/ROKWXVJJFNgMTcTGDiy7tYE8c2+0wznZw Je/SQVgRfrob+Wo921vKX+odrESL7J/uGxJO8Ev6fFFXj2EnZFH55POK0LBy1AE5 Fz1Tkx+y/ASj+rq3+ELz51HaqMgYb00KL5x9hL/4H/tDMrkzFx2TDEhLDyKbzt0i 0+8oDUGRt+CBB5BhTsx0MbwQ162A4ZiR36E/jX/B5whZodD+xWf9r6ryHtudPSvm 3/cveeU89EuuKV1FoLQPQ0myshmLnSIVmLLCS1pVpommlNwFkORDRxdziMLuasSB GyKs//xepDSwTky6RihvkKxvKq1WQ/6YKpoS4cjsCUBeuSbWZi4WqGvonRfDmI7Z ehbw8W3BzMIQJjwbRqiqVdCd1FIrD+FNFKNjCo2M1HXTHsjLsYRh20atEZFAw8YP BH7nYeefDcPcJihagnqFEPDUVxz+b50vdCurH91Y/1LO03LVW4Yrt81hIS5q8Ato BAOyOVJ63HlWjDTy5ockVpB4sxIGd8+orp4+Ul9Ryr2Um/AiuVbkGG+6m1qXomMl AlDQ85XiQ9Xjs9ialxSjM7ZSot7Sf+3pUQnxiQionc1HZl0Yc+hKIqAvpPlgb8aD V3aJdCb6dFPeBGLz6ygX =3Dfs2D -----END PGP PUBLIC KEY BLOCK----- --------------040207000500010207010403-- --------------enig1197D3961F30809F9C1771E9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCgAGBQJM9/PnAAoJEGoM2OGpOvr9dCsP/05UwoTFBlVCWS62ZPrz2c6U yKSIrtmnrs9VPrz9F/G/z/XicXLwVqBnACCAmVnXBOVSOKlfFgVKBTAMurl3Ftp7 ys4EPunkuwBffsqhjP2M3GzCnikejSP7iFOfzgx7SQgsYOGzkGe2G6r00Mu/gJxa s39a33vJDzWWNYf08GmdwYUch5d7y557+IGm0h+CvBuwsUkfHVa1JbDBEh2RgjfP zDENFmQHR3zVhLjZlTHgcVCI55l8zA5rS3iAQ5tTUZYqIOvRXlaoPWCTreVku6L/ z28/iOmJ00AhWFdDG8U6zb2wYcJSZtzXViLxOvaqguZzYGEWYwbg+0aaMoMGoB8U BubbiL3fQUQdN1QbmmFUDinf24qS9MVitRFNXF7R7Jw2mFVrhM/evfucxUcnGZe+ qJ3id23ZFrvNtGvLHVyI699eNENAmQZDl0vv6V96s4/lUT+cyBIdnpNn8eDsJ8jJ 2Tg3y7yGO2mhUXd2lMTpKvhsq0r4hZp3dm1FMTGU0qr3iE19JenxIl/6ADeYUhWN as1IOol5n0d8Q16+pF6y6Kar5t+099b4pfveLlk2K0yKLp7u7YpCVXTiBsX/8qgv uyVImx1fANDR5XUa7GCTNsovOWOTdkoLFU+EnJDNEw3JTsgfSEKzcYMC2oB9Nwmm tNALzAsyb8gxnELCUbgk =6j1v -----END PGP SIGNATURE----- --------------enig1197D3961F30809F9C1771E9-- From [email protected] Thu Dec 02 22:33:26 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35223 invoked from network); 2 Dec 2010 22:33:26 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Dec 2010 22:33:26 -0000 Received: (qmail 29412 invoked by uid 500); 2 Dec 2010 22:33:26 -0000 Delivered-To: [email protected] Received: (qmail 29398 invoked by uid 500); 2 Dec 2010 22:33:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <kitty-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 29390 invoked by uid 99); 2 Dec 2010 22:33:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 22:33:25 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 22:33:25 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B89E023889B3; Thu, 2 Dec 2010 22:31:53 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1041618 - in /incubator/kitty/trunk/test: ./ org/ org/apache/ org/apache/kitty/ org/apache/kitty/test/ org/apache/kitty/test/ClientTest0.groovy Date: Thu, 02 Dec 2010 22:31:53 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: pidster Date: Thu Dec 2 22:31:53 2010 New Revision: 1041618 URL: http://svn.apache.org/viewvc?rev=1041618&view=rev Log: Move Test to separate tree Added: incubator/kitty/trunk/test/ incubator/kitty/trunk/test/org/ incubator/kitty/trunk/test/org/apache/ incubator/kitty/trunk/test/org/apache/kitty/ incubator/kitty/trunk/test/org/apache/kitty/test/ incubator/kitty/trunk/test/org/apache/kitty/test/ClientTest0.groovy (contents, props changed) - copied, changed from r1041209, incubator/kitty/trunk/src/org/apache/kitty/test/ClientTest0.groovy Copied: incubator/kitty/trunk/test/org/apache/kitty/test/ClientTest0.groovy (from r1041209, incubator/kitty/trunk/src/org/apache/kitty/test/ClientTest0.groovy) URL: http://svn.apache.org/viewvc/incubator/kitty/trunk/test/org/apache/kitty/test/ClientTest0.groovy?p2=incubator/kitty/trunk/test/org/apache/kitty/test/ClientTest0.groovy&p1=incubator/kitty/trunk/src/org/apache/kitty/test/ClientTest0.groovy&r1=1041209&r2=1041618&rev=1041618&view=diff ============================================================================== (empty) Propchange: incubator/kitty/trunk/test/org/apache/kitty/test/ClientTest0.groovy ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/kitty/trunk/test/org/apache/kitty/test/ClientTest0.groovy ------------------------------------------------------------------------------ svn:keywords = Id Author Date Rev Propchange: incubator/kitty/trunk/test/org/apache/kitty/test/ClientTest0.groovy ------------------------------------------------------------------------------ svn:mime-type = text/plain From [email protected] Thu Dec 02 22:35:08 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35761 invoked from network); 2 Dec 2010 22:35:07 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Dec 2010 22:35:07 -0000 Received: (qmail 32573 invoked by uid 500); 2 Dec 2010 22:35:07 -0000 Delivered-To: [email protected] Received: (qmail 32559 invoked by uid 500); 2 Dec 2010 22:35:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <kitty-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32551 invoked by uid 99); 2 Dec 2010 22:35:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 22:35:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 22:35:05 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D401923889E3; Thu, 2 Dec 2010 22:33:28 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1041619 - in /incubator/kitty/trunk/test/org/apache/kitty/test: Test.java TestGroovyShell.groovy TestShell.java Date: Thu, 02 Dec 2010 22:33:28 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: pidster Date: Thu Dec 2 22:33:28 2010 New Revision: 1041619 URL: http://svn.apache.org/viewvc?rev=1041619&view=rev Log: Actually add the rest of the test classes Added: incubator/kitty/trunk/test/org/apache/kitty/test/Test.java - copied unchanged from r1041209, incubator/kitty/trunk/src/org/apache/kitty/test/Test.java incubator/kitty/trunk/test/org/apache/kitty/test/TestGroovyShell.groovy (contents, props changed) - copied, changed from r1041209, incubator/kitty/trunk/src/org/apache/kitty/test/TestGroovyShell.groovy incubator/kitty/trunk/test/org/apache/kitty/test/TestShell.java - copied unchanged from r1041209, incubator/kitty/trunk/src/org/apache/kitty/test/TestShell.java Copied: incubator/kitty/trunk/test/org/apache/kitty/test/TestGroovyShell.groovy (from r1041209, incubator/kitty/trunk/src/org/apache/kitty/test/TestGroovyShell.groovy) URL: http://svn.apache.org/viewvc/incubator/kitty/trunk/test/org/apache/kitty/test/TestGroovyShell.groovy?p2=incubator/kitty/trunk/test/org/apache/kitty/test/TestGroovyShell.groovy&p1=incubator/kitty/trunk/src/org/apache/kitty/test/TestGroovyShell.groovy&r1=1041209&r2=1041619&rev=1041619&view=diff ============================================================================== (empty) Propchange: incubator/kitty/trunk/test/org/apache/kitty/test/TestGroovyShell.groovy ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/kitty/trunk/test/org/apache/kitty/test/TestGroovyShell.groovy ------------------------------------------------------------------------------ svn:keywords = Id Author Date Rev Propchange: incubator/kitty/trunk/test/org/apache/kitty/test/TestGroovyShell.groovy ------------------------------------------------------------------------------ svn:mime-type = text/plain From [email protected] Thu Dec 02 23:24:49 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83417 invoked from network); 2 Dec 2010 23:24:49 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Dec 2010 23:24:49 -0000 Received: (qmail 401 invoked by uid 500); 2 Dec 2010 23:24:49 -0000 Delivered-To: [email protected] Received: (qmail 387 invoked by uid 500); 2 Dec 2010 23:24:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <kitty-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 379 invoked by uid 99); 2 Dec 2010 23:24:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 23:24:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 23:24:47 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 91DEC23889B1; Thu, 2 Dec 2010 23:23:14 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1041636 - /incubator/kitty/trunk/src/org/apache/kitty/test/ Date: Thu, 02 Dec 2010 23:23:14 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: pidster Date: Thu Dec 2 23:23:14 2010 New Revision: 1041636 URL: http://svn.apache.org/viewvc?rev=1041636&view=rev Log: Remove test Removed: incubator/kitty/trunk/src/org/apache/kitty/test/ From [email protected] Sat Dec 04 08:58:09 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74903 invoked from network); 4 Dec 2010 08:58:08 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 4 Dec 2010 08:58:08 -0000 Received: (qmail 43594 invoked by uid 500); 4 Dec 2010 08:58:08 -0000 Delivered-To: [email protected] Received: (qmail 43579 invoked by uid 500); 4 Dec 2010 08:58:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <kitty-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 43571 invoked by uid 99); 4 Dec 2010 08:58:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Dec 2010 08:58:07 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-wy0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Dec 2010 08:57:56 +0000 Received: by wyb40 with SMTP id 40so10472856wyb.6 for <[email protected]>; Sat, 04 Dec 2010 00:57:36 -0800 (PST) Received: by 161.129.204.104 with SMTP id t21mr285852wel.43.1291453056196; Sat, 04 Dec 2010 00:57:36 -0800 (PST) Received: from Asura.local (cpc2-lewi13-2-0-cust269.2-4.cable.virginmedia.com [161.129.204.104]) by mx.google.com with ESMTPS id a2sm1295463wer.41.2161.129.204.104.57.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 04 Dec 2010 00:57:34 -0800 (PST) Message-ID: <[email protected]> Date: Sat, 04 Dec 2010 08:57:25 +0000 From: Pid <[email protected]> Organization: Pidster Inc User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20100825 Lightning/1.0b2 Thunderbird/3.1.3 MIME-Version: 1.0 To: [email protected] Subject: Building X-Enigmail-Version: 1.1.1 OpenPGP: id=62590808 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigFC078B9B187AA343A5A9900D" X-Virus-Checked: Checked by ClamAV on apache.org --------------enigFC078B9B187AA343A5A9900D Content-Type: multipart/mixed; boundary="------------080705070907010609010704" This is a multi-part message in MIME format. --------------080705070907010609010704 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, Anyone have any thoughts as to which build tool we're going to use - Gradle or Gant presumably? I'm leaning towards Gradle, but haven't got any meaningful experience in either, so shout if you do. p --------------080705070907010609010704 Content-Type: application/pgp-keys; name="0x62590808.asc" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0x62590808.asc" -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) mQINBEvFfXkBEAClvXQ4bG3ib0nQQfEpmlZaZyAGi+4njhhDAP/n5Zbi2wLcAnlR WF3FyrSOnFns9V1gNA6zdLPhUs1KwH5vBDlU2ZkOF3b6pGhAdTr0HPefEBwz6StK Jlch9t+xJjV/llA2/n5UUkCLw3gqyJQMvbFSfzLT9YGF1ehsngvK/vRGIqZ+TIoC +lGasSJ8B692unnvDF+MSdNu7X2ioQJP/1SPLg+/fHGZQr3zdjf6BOJSHTd7yg6E /jCYe2F8TxdcoMdYuSNIf3B+whMHltq9HdHipZj5/JCo9tKyQuzk1I9kdgsFehIe fd4mnrwlv87CM0q6m4FgzivG6/gIJiddgfUHAqmRvDh5CtXHLzXEDGJEA8xkQ+Jc AAbgOYfGyYh+1D59U5R5qoUkVeb2tM6SUpHOYK9E8H5Pml4kHyXFctdq8kD5y+dN A46/ru3bQEYNcBlyGEpOPs8okmoBxYlUCMdH38YDLbBEverDh1tJZ6TrNWEr9if8 vtljEZc/Mebh9n6btImmrHszAs6M5qHNvuHaWfTuuXwPEhsdcFF0jLMREUMFRicc CSibwKxnHua1u9JlufYaJUeJifnI/ugpIS8Lbaaj3BDT9DIWVbIJKr5yAdFv3nVV IOiyhxQh85y6yOoXsTR80ADu5fvaXbiEOhD5hsvcRlP/q9m2Vxpul8O0ewARAQAB tClQaWQgKiAoU3R1YXJ0IFdpbGxpYW1zKSA8cGlkQHBpZHN0ZXIuY29tPokCNQQT AQoAHwUCS8bBKwIbAwULCQgHAwUVCgkICwMWAgMCHgECF4AACgkQC2YgUGJZCAig Hw/+PEuC10bCXKqvd9y0Iyvi1iqWVJIhL8cUW3eQsPdKy31PkipFokhRK54WAI3c qslF758ywz7jxJ26P27JoBRzCk8MChFvs/OJpZ3WTXG0RbKG1Nf5e9ZuDhKye/Ql xHD4Wxiavh9dzOB0x+FBYmjLyvyC1ElLmrhGnltCPR2k9ytV7GLJHCCbIP4s+Eg6 qyX/RysGAdHHdzeCgwGU79TaKTn5LNTxeuQmVbBk743YX2TBhxLwBOiwtUfj6t/l 4JGrHt/OdoPJCcxpb1FOHCjdfou/gkepkGJIwMviPWrd+tgb4ZG/+urKb+i/QCj4 pr58xjQrt4Q+bxTNZA0HnsE0Z5xXI6UCyavPnn55IxEFQMon4EoFBgKMEyZecrkw HuvL1BnkhPYKLL2Ox0Y6rZot3Sq75x5xWjP3uUMj8mLxwDULfFj8qxBGumaYxLr/ hJf78RvfnVaVOsovNXry5RxoVRHTAyOO4jwwtSGZs5lzLHqueKq9Ol5m8UON12Py r6wT8wBCU0Mu2TsbGzkld4pntERLLlEshsdkKFy+DfWpbEFcX4/lFMZwq0B9dpJO D/8grP7+CRuuNSNe7YYUaTAOrRJzJldvB97wjSINKcv+QYw+YojZxcKcNdFXkRi+ hH/ahTr6xhMKmsoL6Jyu/EtUcwGDZyOGINFPvdSqaeBmU7OJAhwEEwECAAYFAkxZ OTkACgkQEMAcWi9gWeelMw//ep5EUcJuwte+DZv9w2PiuDnm7nCU5B/uOmbVahsF nBHC8BzO50V0qsZmNcA+sJMUhr0WqJZ41V0sX3ROcfwpNe1xOIStQy+ftAj2w96K Hz68vH2yubVihr5c7SlNWgoVunVjliOJvOxnIDbg25c7yh7WxuCmqy3M9wSayH81 FWv2xZOfV6f9n5miENJB+b9k0i1OpcbAXg5LWC3OrraDIXPVwj+HR0Y4p6reYOk3 fU3JuCc22/+kzwCUcfOUE8pf6a7Ai9x3sPbmSGtw2BIooiGC3XKTmOpXhPmD+IdZ 8bsk5jezbRSKsysOXs2mm3Fi2Ng1fZ7EB4N8/TFXEVKGLcbnfFTZ/ip+gPSVXf1v YpUaNk22GVk5YV6P8t4JprfPl5nPnQMg290OC30RVPzYmFnDhABh7wkueyIpkgSt Z43unewtcY9S3irjlRadoy6uDZOVkxKGNvBnVzOxvnuktEB4g9eI/boEiz5Vkq3b Oh5CwYpJDDPJPRhCxZ1j75EaaMn6BW5TpO+ju7B0dsDxQEYiPddrTxWljmRI3p+F A7284TbSmajG//XxqVGun8EOARJ9pOkTsmN9s9eRDq1am2HaGZpXisTNYDOIi+gp Qv4vbVIStFLm0nCmB69Cq5TF5tGhAry4cu65pAKRdn1DNnazyo0FBf23qSg3I/x2 CMqJAjgEEwEKACICGwMFCwkIBwMFFQoJCAsDFgIDAh4BAheABQJLzX3iAhkBAAoJ EAtmIFBiWQgI+iQP/29WC9Q/Frz8nmJZZ+qCsQ7CbimGaSSsC/DCP0r10Gfe+BT7 wqgbD1NMJRvOIXw76GgXOGn31jcZQJLmz5oQrWAaiOgTdACEtaYoMZ6QDzE6HIeW 2+06hxVY0gCELuhJ31iou7qGSJVLwOhTsF3iTChuZT5dVrxIVYv1D9vc174popEj Ng0SKo9FXCfOuRls5gPKKKb3z98JqZjXh13LMG560On//ABaJIPVcb+ZWrAO9MLI hSuwhDvtuBZuFV5fUwFGONIPAVoHGuIZEU6bI1x6ddeQnRTnPSBycoEAc4s5cyR7 eDWDDhdfzXafKepX3aNCMp7bc8dAvGJ+33gLGzeY8Qcb2At4WpJ6gim9VVsHrE8G Uz71qDQh/KJAuiwj+pTM2EIcDYlSzX74keleNQJ/wAhSuJbsUUAxT9QF3PMU7PdF rV4JN1JGOAhiy2rR9/OnZHha0zVT5sRk1ZUxLS2EUCDqoHJi9ORSfZz2g1Q+oEL/ EiH6eFHS+RzOjL+KH3+tMN5D7yKB4k/GHqFRE/jh+8SqVQegnqDL8HCwDdjn/PnV IcALxMpPYEVvgl7ixRvU5ct3LgI89AnRZBxL/oIPO5Js2+wKye9cIeT0XOLOxjK1 hO8wb3NdLqlE91t5lk4SUtuyBtHqNjZn40pO7Wf8JlSf/eqh1EUyUjHiW7gLiEYE EBECAAYFAkyV0ZEACgkQHm578VwY+FQ5DgCgiid/m6whU8G15lHof4Gr0ERkpNcA oKA47nKZDX1Dp43X2P5mmdVZ21fMiQIcBBABAgAGBQJMlTwoAAoJEGE7sSaAUDkM vCUP/1A3NgrIwD61R7puDLK7VIaTPXMKW4coFNEMSHBobMR6qiiuQR9d2sNqAWJ5 W2ml0riNwyztVarJheXIa1TqcZFgmRK0nJ/nbOunk+h6LROgxdTrpPTwR3dl8HPr 3MNVMyD1gcTFJUk/xKo1MHQuCyUMaQKZ2JBtWk33nizrkQb5Jf1Lxz4I2TWQGXJX 0CLGnz0iFeDTlTJowDglbtjPyFDUFiS7cwd25jIHJSzjGQNEtwn40oLyKE4Vdxk4 nlglXuX1NRCguefnwVq677lavYjKAB6mh2SLknoBKsRvFGJgUYhGfZUdzBpy/Yy2 x8gOQmbHMfNHyD9TKr8AOx1GmvhNgNbAXLPVlC2EKrvh9IIhbMn6A1LclWRUtwin QGpZuQ/nlAfFHqyIP8KF/3ys/OB93F/vQ+K6D0GvZcYiOhDhl8D+beTITK/ariwg UImmcLsQbzWOr8Jws50X9VaqY+FiX/SsPh+8yklKxFrQdOWdf0Fgfl2O29cdobmF XwKev3Ym11d3uArGxcbh5QII9bo6TPKHHbB2Wb3E1f60D3SiZVwh8T/6C8pQRW8j Gj1MVYLUPtB5qCJeJDDqb5Z+L/ocBr5Bbs4wh6hzttDneddOEwPUMDzCoEfxxbUg yIdS9zbD57cQjvgOewvAO8uxjlhx6b/ACinX2phMPi/t7oggiQIcBBABCgAGBQJM ldScAAoJENIc0iPujg3V5YoP/0TlXHF0nIsNuSqpYpIozsRJrUkjGOUVDaMBPTNU 2LM8ilzKnlAV4VocI635x7P6tFWeBiaDVe4pX9e7hvMNmEtNjCCiGypxERMJqNXh m+N5rnyL6juXt0vWo7z5quRBbHVch1hLKqQmXXQLgrl4LMCIGarcSkn109cG3KW/ apldrBlIqRsiyIKwMwPLiB9sMdIGpyNmyqiC4lAkHwaSSVAyWsczjWN3bOVDKXju Pioq4d5CpQ19w7u+WzlVVUbQVfdBKxL09r/SZTt5GpmGLYdfoMG+SqAZL1UBGRnq o2G63fPhS1VHUwurrLK3cE6oy0i5Ct/Tgv0qe4NtOzVcUBDjqf0ooTwCHihpn5po mfzbLDDxxaRJlGI4pGbR6xLVMfMnOU+QfF1F5wjL1DVrUQIqSDalFB47/cw170JC +0tFwEm2dZe4s5z+0vmWdDK98pa8PsH/LOwkxpgnp2vdY4FVrRY3wR7GteCHiIXG uBZGPnwXrNlFQIvF/VKi27wAvTKLczyRKkjUfmri2ydtpnD8xhOMJdNNbFZrAxQs UVKTLAXJ+baQxwhyzZdW61ZzzwijwlCSjEYeWqkav15q9IeJhkAqvpKBSTvL7Guk 63R9WekpZWTsZNMBUkHEZ9/xNUg3vB7iWFh6GKiygFGRW1u2QDp2Y2itmtBumTAy Zz4BiQQcBBABCAAGBQJMlSJFAAoJEIqviNbYTkGukJIf/j4plsVCQZOYQIrkkd/h tlbs+YIXwom5TxGCppLBElPmyEyGBAf5s7RBPxl671Yn8hgb2aYG/5T98tH+KMzg 3NUVNC9lm3F3hBMPu3S9waeJkx/8HRzdzeFmP6euea+BgBM1sehWTUAqsG+0HhTH Vi7bXOouFNf9pDZkHi+GSQA+fHTnSpJ2bVu9t/IroPi9cnqPSNco5atSrlTdyXJN EyK7ui9KjfyISEU0wOIHY+Hlr6BxXlAoPl2AeysKJfcwKvuHNvWzfFa/Unbbne1W reI/W2Ta9bQj1G6xLIK1vsZDwt9OukVeaaFDqYtNVSVXFKJLFvHatJFU+DyEu9le D1obB8i5XvCKPRXp6iHUwDTSqBLyaJXz8FGlOG+hL2M++YtZXCZQEcEVhgIGCZ2l CYaX1W/ezPxHMeXJoQK+6yNlG/FiEj1pYycDyg4/hpTZvwyzRKuOj/MpYONBGGZI 8yVRXkRHgtKCEaVw/oaKZ45LZ42SBJ+kIXr07emm2pLhTrqrvSp4yUTmh8gYM2oQ vp3OZZOOBtEElIEoU1k/S/SchB6ADEGWCPA7CiEB6N3hhYTj2t+iDxII0c4e6f0U lhZwJw3EaqkTp1IyUkBALOLHacIloGLvAMLhinBUmR4GGwCr6WUM6TXSgFHriLvh LJVYnYPOo1W8KggS/353CVCnzO7gsatOga0R9EclB0EGzN8aF1Mu7KhkVjAitRBv V/sOYizOtaqay8SwyWNmVV8A/uZ7/I9dhssfPUphw9N+JSEUqstHYyE5NpTNAONf 8QKcOKsQ0M9br3TTIq5s6YQq8jJZRZEK3zowVzUzQ3IpHATWxTxMgRJVLCmYEukH D98ef50Bk9WLxeT2pxSRCDrVhmLDkrpCR4KnXUbmn2BsyU/GrJk6moMFqr/BxsvD HSpYar1EtA7YMuLFYQQcYFhFOOMu2xhCt8U5tGFLLDRq7g0jLlMIGXT1fwRaKsP/ IW0vaJBECxpSqfq4ZqEeiNbvmIfmMeqTa0214oM5L5/i5JhGfBBo1aShzYbG+Qa9 RPL6TGhkttDje/wQj2jVLKrWVnqcIMKStJ4Yl9YHRflVXS8vipkneCbCqw4fjzVR oOflkL8r7MScc7YYIfb5o5G0MQq8hSomCFqTmxOTd4LltQN8tX6vt+7NHf8fP76r 1hQXpfqc9b58DqSC6av2LPSAGYeqY0r55XJpb7KYqXZ9QlDDnhZboyzulOP5BiA1 N8InzCWICuam9bq6xKrmqTqngkttJdO+OlPgoaGwvaNqQ//jNMEDKArEg5o9Tz6a DTcx7pqIk/u3uMFOpnz4MlLH7oPPLGD6Q83E3DsMHHv/hHFNQoKH76hTPo4dMopF ltS0OFN0dWFydCBXaWxsaWFtcyAoSWRlbnRpdHkpIDxzdHVhcnQud2lsbGlhbXNA cGlkc3Rlci5jb20+iQI1BBMBCgAfBQJLxX15AhsDBQsJCAcDBRUKCQgLAxYCAwIe AQIXgAAKCRALZiBQYlkICM+AD/9LdUKcABy5cWxQohXDu40mZCLodP5A3boZF+L2 O9jpK/lUSnFewKEJznavs2RLCwpzRcJDNqRc6vEzOyrbQvAs6vMNygAGETB9uxaE Kesknj0ZxCsqqxV0VujHYdRlVg4qwsKftrXv4K5nCLkBRv3YZQ0JzcX/wRlfz81S lINoM/IuT5+QzCGKSjxrM1xrhxZgwHIitNCR5BHl+CsqjpjDPLJj1mFqPTLniKKU ZCB7uN2e38FYazKGUIeQXq/e989zTimvQ24AYUjoGnTuqg1liPd3pKq0ryAvdYZT Upj98CZZ6jCCkDisAOSJerwXZzB/o9ADX2mFJukdD3MXLRJcAdV1CrEg4DGau8w6 JYROgUc+C4RONmihsXKyhI7Nj97t822Rj1NAO7z3ptnAwSJGx6WSxFGvWht14vuQ Lf9bH6FzBlhIxUKhDWIqq29K22ck6Fqb5dHbRyE5253tWt0y48dx5W1kP6LOW9zh LN3NBw59SN4O8H6c2jP8j8qExeswpbECiq+gdnqMGkRjDKQwxf93OhmCbCTYXtZt gJttLVCg7gXXlNbTMrEfbWkZFd21RvGu3LTnWfZLtmKvg4Qe89UTAla/phpJKgYF /WAFbC9E2jmh8kQo+ETHw+EFWYy4RjjIthmGegGQ45KbxZA36woKHjsmnB0eZdA1 RUXf+YkCHAQTAQIABgUCTFk5OQAKCRAQwBxaL2BZ5/2eEACvvqFb9meRRLLwFl96 B8RWJa8F+tv5GuA+YiixUq2wCWz9y9NZLXRsUUZ8dVbcDphW+xxR5OiMrlRnOxq6 4nfY9YJpguQYv92Xa5P2LgsmDss+OSqeVyIxV/C29z4zAc7yPLiMihlUEw6+2o0f /ohShC7FBndAjXGTcMyvVvHIhR+wGmnjsN8NRlsq+Y56ZGanAo9zKR6udI/kRqZm /PO7guqRkJTgPmb8AX47J89v/Z/Wk3XQdSpTvZRPoUY2f+oOgwr8m4zBIqBGHwS8 bE8nHti0QNb4NMoeK9LtYI2Xr7Gz8JoIR8bmsRPTN5in1Lwvy85FkVK0rj2TL5IX dA1wX7J0K8bWL3mORn2yloKCmDYFtTirMfKsV/IItQeLW4K7omB7k5Fgr+JRtZjk jspluq3yVUUfz6Zd7G4aYX40uvugT2AA5Akp338z3/FlrBgeoKKc66Tu3FL27t3k a+N4BaPq29H9zglnh9zV7S4tkz+mtKCgnIOoZlyjHGz8XENvCgMHBKMod7v1g/Za IFsq+H5eh+pyIX0VX+PDBUIu8z6/i5NOJta7o/Q/hr8XzWXgz4pz2m+P9CxK9FsB pg66rrUeltJ5iRe648PWDeg2WsbERGi77mHGE3goOw3C0AdFra65jXJ+juAL891G e4YHzuX9lHonTud4ab+h703UZYkCIAQQAQIACgUCS8WWHQMFAXgACgkQrV7bt5Ps V+RqSRAAtthk5f7miyCB2PcxhumLbdMvWFpPk120R9zxkWMyd3+gPdzuRujOnBUA VaRoGXoA4gsb1G++fPVr6Qsv60CEuDsPXpgK0crxED2vtGV9gQe+mheCgjwucDUM BQVFCgnZD/QiYbJ5wJBVrEqvRdLKHHPTOmM7bC2HMAByLLIrnjHgxINsfYfUf8/N 9rf9gz2sOq0mGzVSaM86xbbjySxToYISYLbSws4HYGw+M/G++1d3H5DRGhZiGUMP 8GC0gEDAAcprW45btTzmCo6CD7tS2x3JD47RLtbPN8OxsXBnxynk89Kjbxlqp2gM CXJDsYmnp7zwfmwNEPbHUHL4oj6A27Zux9cjvyY8uSlB7vzrNVjPiEu2lhflx/Ah FK3Np3os0fSb5qHQqO+uVijX6XTHhv1ASnHKXTlqQdq+xf0H6bj7ilhC6UnwnbHz ybNeq/X4hSe12MfP6RglvpZjOGLBXZxK3hTCN0LCIFwR914iCOHVkzMplk7RosW5 qzWYhDFA17pyufaeCj6CWEWSAPb9nH0+iOPVR8BkwtRWUHaBt+xA61BJlEHZWRbW Xs0RteX8N0DPPAYJNBiXQ6YjXwwv3USrSX4u1IgiSLjK02PVQPO5mYEAW4MKKAtb D4yYPYuWv5B2tqJpn26FttSog1D+FflMiZrDv6isWwE8QYbxlP+IRgQQEQIABgUC TJXRkQAKCRAebnvxXBj4VEO8AKCQNiPgfoCBjP7pl99P5mztRWi76ACfaezwFf3I vCBLKtFBg6DTkda5C0qJAhwEEAECAAYFAkyVPCgACgkQYTuxJoBQOQzSZQ/8DC1M vAFq1QqnTOxKtphMCt2LTVTAfdsY0hwoBPpciO8xuPNS+jy2zDyWn5aN381pPRuB TuSPUoOmWfAdGC+6rJlHV+mdynPDObwRsOFfHD7MpkHi7zNxFrc+LCeR1WeLkc1n IyYQrAuVvYkMYitBaoj+dB/gSxv7vECpvHZ8yEViXk9fQEuq+gzy4FirYuUpJt1W ipIBa3wVoXQiMUYPsGTu4qcp2fnv68xSG+2jtzxDaA4PV2nERs+od8MpqJFQEJDz z/BlxYfs8pCBdC2EqfV7znQA8gsh6aT1aBKJEbRqqL7f60zy1k9BT+loA/dHval4 HwxCjdqBeBz1eB+8m2qgsESQbIkGiqPY/UHDNNuRHOpuGt4zNnIYAzqQVz3Ofgb/ wUKF/0PhXy1elAK9yHr22Zb9YjgYCzsUQxL2UIX2+s754YER+YQqFyckyZzXCGKm +IwzhWmcBVkSwy9hlsxUm7BCuM5mN2xwU95WxDJkgRKOfCR7zX5/eiCJQIE/Qgvr q5z6r4xIOw/IblDa2uaHLwv47zMUImpyA9kpl1Oaih8shHd8CgMrT6W16izWL0Yf idF9ByPwrmoN/bjoL0SYpEt9YhcXuNwrDDdnMG+TjTbt4JvLOfgpupw6f7h7Ridv yBOSELsCr8J/s2C2hIGVffVuQgdwKJT02tCqlOeJAhwEEAEKAAYFAkyV1JwACgkQ 0hzSI+6ODdVDjxAApyHe/t/pbkxYC6h01ECYpfgVn5Z5eXZhHlcwDHsE8rcUOqTs UrEwO/SkKN8ZKlD1NAZ8NTRRml2B/y+/Gkrjtql7QYD81J33JRPII/hGYU4Mj9u1 NRpkPaKUpbZFib6ffq2iugOgAkw1lF5h4eJ0WnwokNfKHp2sPHH4N+9igOxWHaXp MiNAHDAsvMOuvdOEsGhVB/1aZFaTOPzD7jfdbEKWFokSoJSTp0tp4BTut7A8eOo+ 1lrnc/nvEgnTrTWQXMwKWnrGjD6gYjoldN8pdezmPesivZwr5qgIyQVejGD5bIan 9gvMf61JAYe7iJwBJ2nz/+ixMEHODMYqaa685tYqdtQLnisXu9Dql2wnvgFEgr8n ij0aTh2GQF0hnyKyzQuOSe43++OxJOTC2gMYpSEPEAHnmZjij/2ik5iqYHMJtN+9 U5orarxu/dFGJBvIhyhoWVOtKX+8beeZxqodEijDpdF57Q5xa5SPyojzhBIBtECg 96wBd/AWkWXZfJHBsoVfV4gu2r/i/dN4jFyu7mfg9Dw1B7d8isEAPes3xpI5L1q/ 073WD+lYTXyJ9NdYgfTx9B/Ha9AUujc+Qx/CIM2fvgDkfC852jSNkac+l+sGLQS4 vdD8110DWLMniVBOZsmuun0Anx/auAsVqDisxJPDszOnnWWfZNVZSlqBDZSJBBwE EAEIAAYFAkyVIkUACgkQiq+I1thOQa7Mdh/+KGE06nLPiCOXXjZ0LpadQorlpCiK DEykoMLsqUT+RxpMvENlPAOUhUhFgcKReStYZk/sO+KK19NDBoU3LCeEs7qdS1ZF 385Rgf44Ki7n5szQDW8kGY/ycY7b8wAyNiGv20hehtpEsQOlSsKOkySngBf9zCqL WcnKQF/NmxTpf/7XzHrYrrRD/KqwlbvBO3emXxnh4gekzB0vcWg9Td/G2UABXoy1 RrraE7lJyx189yxVxmbHGu4fqLErAW9rgq/KzCFSBTDoX0iAyIb+pu64OYxDYzP9 3AdqtZE0o1Ikwoes5T+Tef5ZdYH0aOE9GfuRNLeFNI469pXPCIj7LiJ+Y6dCBvkj JqAHTukIc4ZgpEqRhdNQpe4UyjWv22e2lGqoEU5DlGK4KfrncCO7N5CdItotAAKD H7hIKYlh3rq6MZsKEfWZG0CFLUA0rIH0WIF65AkJm1fZm3ENjHAXH7WT9LiJ/1Iu W/lhiAOzWiq5QS3yeQFYIVSICuhL+Yv9hL3YWfj7sl98gPEUazTzQVRq9cfWmuYQ WNY0uLAu7Wmq775NCKw7FGIKIR+TTiJVRJUPXWCI2DJDbFfTdQIjhFDCEkA4Xiiz Y3Otl5qK0yuiPMk6TKaRmdzRAYe1HMc9priR4m1WWusrOKa4MEhrAFy6LC+j4vB9 I6WYpTPwfRPW7vMH+ri3OaO5y6MFR5A45/BYJ2CtOzUu1dbEWW5XN1jW774WDqFm mSS0f4gNw0shcsnFiGyOGqRWEzPJHu1d1w5arhshlUKQAP3NC7sbeKu2knHFBmt6 EB4iJsvcTjlA0VkXZpdCbIhn/jgkSkuWZUG7XwmuP9XitJlzBm7kI2tC9Zqo64s2 y9bIFwTcIXJicpLUXxhQhThP1JTyTYoUa4J1t50giXlG52q+CNWVUBJw2qdTjST8 fxdCQnOVVO6J7Dl+IIzQlaA5xj1NtmCMUpe0K9uaRM2CMFoDuabkUXgInG/cTnoe YQBdSBu6WB5VSOZWR+9DZkaMz+PrydwPOu0uZjvUVWUsNIF9Fh5JtmkE8yKkAvE5 HAneyG/38k0wd5XwFB5+2FjrhkCaSX3DLZLWxUfmAh9WMYWg4ogANpYpQrGhu7S9 CBpuUzQHZcvPkBW1T6NV5dcIPX30mKYjGi2UhK2UzsrPN9KIIqQHtZ/ErX3dkb28 RgqQymsuVdzNiGaNDNKM7H7qHfLrF8pdokG9XjpZIVx7j0qZ7HgRfvTiurgQzBxr Qnf5j6mdy5NvGdzPd+xlpSl5MF6VSOsIAMy/PEmC75H+YKsKW3tGbQunI6SsUMO5 k5Y6lGHU1Hf9f0XfOjIRlBZE2drIF2RBSw+KeiwNa9A6/rM9SwzsHm3MarQoUGlk c3RlciAoQnVzaW5lc3MpIDxwaWRAbmV1dHJhbGdyZXkubmV0PokCNQQTAQoAHwUC S8WJbQIbAwULCQgHAwUVCgkICwMWAgMCHgECF4AACgkQC2YgUGJZCAimBA/9HTco GT2XfjH681s7gUJr74noB0hn0Eq7vnx5WCy/j+SVsp0FBR/u4I5lg3YiYi5sAkhj v4oSfa5Yp+gd1jhOsIn3Ep+pq+Lkqj27CR9RWlGVrhP8Gek/Mdazc9qB0UPOWGVs B/tfXQKaCXasfMO8qe+PstAjOIJm1ZX1tQ9HftZW8n13eZdUuIglqacJTgY4wL/T 6mtxg1JRYQMOqk7frxnykD2iUxdbuwPPoZswWu43B488oMoldA+KEUH2AzkV8UDz P8tfzGeQ2XGoJZoo6OYZR2XSYjodiy3vPX/DAEQf3Yu79SKsJmZaSh0jH5RJ6ONc UnYx4vORQy1euOwixGOSBPhQALF7RF5C7rR8xl05Y+Lwvlg3k7ddJU5vovgCSMfE Tj9CcMBk+0CPUb/6vFulOXaXwaGA9o2cQ5sQif37zKn4BAXgXaKmI2yXQ7DWEwe1 gN3cn5RgKEoRa0gbab/MrWKvhFcnbPWb4vsWHTyGaPUUisoaEjXP7v05kHEC0lbb TEKazul+WZOPCq/zJJDni77k8y/SNZzDjn3uSO08Anw/E94I8jveIbN58hhz4UDb B3r8lPiQjVTuXReqv3d/Ear40wlQI0HZN/13sYPk4nwK695i/6v/Qkl8bYKpdy9i SO7YBxnkT3mVBe3QgqXRiYb3VkRZGKzIjuHWwn2JAhwEEwECAAYFAkxZOTkACgkQ EMAcWi9gWefiNBAAzFoTywQX/gqUsa94fEpUm7waeOIPIYaoFQiE2x8JqoFP2gUI ErZluHFrlNgYrIfDH1wHpJk8/xOj/QG51OwSg60yLIZcKBGhuTtI6sist2KP08xN dFJrZMnUjJSQE9P0HhRFnF53kCPYT+soGefEzEnVF72uPisEQLggYvWRNwxcWWXr NcKbm5djU1J0GShnokLvO44w6QjgrCFJozpIKhaprwuoKQCS4fUJOdatnqlRXMLD uhhqAwl3ATFIgAW0xIGNpLTmZq/f5wlal88EhZCqdsfXiAAV1f6QjkKYIslhoX5J KizvwR8dV2sz1QEkrh1J1OvLX1C9i/sp6Dti79I3SMg9UWRIsi9mKtclfo1RclT1 7qdQx/1oOJiPW9rocutMUaNlIAITT7wjq0ApAOaTpbuzgZxh4RNZfxxD420vNohM 6EcEZBzKqOMhWhrWrwK7RQ40rLkDSUClKt7a4693cDoGjpAvw9qVEpuqkK1V1acS bzohNKBQ0b8q/4gzKrZ6XWR1clv566FJV0ex1FMuwbiZk5/+o/r4d61CuP3LYuYH wjG58E7LCjhTWhsV813EKjtdV7Uv0kWDHxtEB+rPen/iVvISNdW3iOP/4fXIQuL5 K597QCU2fAEAmzMHIUkXKRZaApPAk0cF0l3vuBLNxNgsaKTb5+vvtOi7zeSJAiAE EAECAAoFAkvFlh0DBQF4AAoJEK1e27eT7FfkqSUQAM62wwslCZ7QczGENPPd25H+ QgWO7enuMTDtRo8Z0HtC9TvZeD6qcJC/uTabU2WkFled4PI0Cy4xSR68kbs/YC/Z ZgYJ+snzerIC4l+F+SxqW1XdHFbpQ0GqauLH3mv7CJ4kydUff6J1QL++5z9zfshh o1Iqi6ZBs/So0tDNZFYDxTm3uNDd56Pj4xh5X8GqlOMCxpQZJXj3BXMtNxt5YVnp Knrl4Q9025G3dKLlVRhVd8j52klN8rMbs1AUI4N5lSJf3LO21n+7FH6qHQz8zc/U cLj1ReRLdlfyB/GbtQJFDRTQQ+eYepYph34cuQVJOcQ94h0/ppVMK0rRF4fKeSl9 YO/pZ/vq8NFBBQZP58gn9lf6KaVkg2Hsj/kQPId3nbkrexK8tFpexeGltyuZsBIq X6RfNvb8AysZFJps7itWujYxaJn4A/2zlvQCGdTCAjWQXejYM0JL0MyrJXDWX3jh WuuWHkBgANvKgc+CtODEq+i31I28baIkd0+Jcd67RiMsZWA8kEGx8LrotShEhbhw S+2p2HqCDGdRqTQJVGGfovlKN6L+fna+SbWTzuarkuZmKQ5Q/EMaYDss/r0ilBip Hs3UEQIxH+lOLRj1OrMR3RWa/IBCf2sFj35ggvo9otEi7zh2M8l48eZHlOj+XzNf 6XatmW9h0NJ96JmDU4l0iQI1BBMBCgAfBQJLxYBUAhsDBQsJCAcDBRUKCQgLAxYC AwIeAQIXgAAKCRALZiBQYlkICDyWD/9Mq0cpCBD5hk8+3VcP/mD3LHsvuTcDWMwR NOiqUZpNrBhk1XSdBEcbDNYu6cLbr6uE67lQqMGMpheIYq3+RkmclybWuuIsuX2e f88AXX9J+jE+GQc0DxrCiZmsspd8xHRzbQVrz+T5tKRBpZIjI7v4i5qlMJCuZN+I KsRiZkq4QGx5kMjnYi83kqu/x0qwnmW30vOmz+OMCaZ5E2qGZSklFJgwl1F+3reP MnTVdG+2dAosre1KBrdluglmYYVMHPyBvGggqlPfgtKa0NPUfj6XWH8f0z6yjpYz Lo9v+anvwqOlCioJ0Re7dY4+bfinajqci7f81WE2yfQUPKl647pPFZHNxVZLBlkd /a5yM6e30BQC6LGT+3XTJi2nKTpZ97K0VGiQnIzGpJzOHZDeu6iR75sXjqRLk/6K nrQq4W4dTzq4bAxvh08IDKwSDvMzSotN2OVoPAQBK4vq65ymXIh8WGLvbmqsNHz2 hsjNAZjv9sWBu+qlpcFXXJVk0gZc6O2bLUXH9Td5pn9siEdqH5iZc0qz1dA/JXMw VfILKkeX35J61id5aMkCdibmYcnNYw4w6B5cLApiyiAJGjGJ/d6EnBukFqouivP/ BD2pdlqyL4b+lOhyTU7RChuJg85hNP5yWOdfv7c1wqbWxRscvyq3YQYRpxP2YbBx nc6XgJdlUohGBBARAgAGBQJMldGRAAoJEB5ue/FcGPhU8/QAn3z/6+v2m0GTBICM pDT+Gix/mRVtAJ9YG15wEeY2bYRQUokx6plNijuMeIkCHAQQAQIABgUCTJU8KAAK CRBhO7EmgFA5DJerEACV+Xw1jFsbtV0Ljm5o6se+izGQZjdlDBZr9GfltAZ1o/nY xUvCGR5uG6/lJP4TYX7OgD79EEgrQMFfxIRZZOuGPTUtOG+BLuIUOWNGUJ2cqgOG 33dINQyuMNPRqb6e7AtJSTSU+p9Am3soLP8ynCzk2OwiSxqPtRKA/jYNsz9M0MaY EPYUhfv1RA4GKP8qjvd8TynpHLQfYw48Qhm4UzyeCzrTyT2RuQ1cymb6hNFEw/qz Vm7VbzKdrgp6WIonaHkxmULpRwjtoIwfHQeZnqvBkvPyKoKfq6kcovdE+9fewLbi yKFZvCiH8+EGcVzZTugCQKB/kJ4mU1ywXkuaqq+y2ojtGXmrUF4jYKZqgTfI4LPB rXAjzZLW5XdUmgL4W1tS7ssZRSy8IWdoNdjnD7teXLSsWZu0atRAHGN5z6PT0c51 MYgqdojk4rPAT4gaU/h0ENRXnwCZPWP56HVU6Pi6/6SeA2SCKwYB2ykB0zucASvQ EijSL0WZ/T+di9whSmmRfQvC32Agce5S7T/zyRDBc8dF6nd9y+0ONRrqkU2T5uOc kaivdCLZor90TaqdNmGsxi40c/GLjU8xCRwdG7ef2b0zCBR0MwW5qBUqxVvFRXaW lq7o3J44DQfLBASUpkG+z/JMoJjUaM6SGsUTWZEBKhUOS+AaMO2lSmPRBp52/4kC HAQQAQoABgUCTJXUnAAKCRDSHNIj7o4N1Qh/D/oDkIycbImnbbI60U6hh1t8Acjz NQMsosvlHS0cP6T2XVXBDtJkHm5KcCYNGkXFHL+prpyyMzVKYyNB1Dus+S0mIVNZ AAahORpOrYeFoMSrzvYkDMwRboyfe2jv/YDfxXr+p9N3hR3MJTZgnCk0L+K49leP x92Fs6S2cVYL2Hx4JMHYdshetWXzmTHIMHJFLr8gPLzsmMUt1rJvSrSeA8c985re olBvKUmN6a07XDDG99CVj7/dHjXiC/bb5ng4tON6cRL9NCKRlaLuhBZfjjP2nS/C 5wZ9JoaktmxnibMUItPozIJO148FTDsWnoP4FR0K9HX+v0lmGIQBnlvjifpkFzm7 ObkD1iID3yJVv8tzeUePDVFgyl2UfD7bDCcZucjBLaLK9zZ00G748T57SZ8m6wuz urjlvVT1xdDlf2rwz/NOySxOAPiDd4kscAWCWSszAvd5LI5o58Epc3YdlJnbUpNT EB/pY17Zbsja30ub+BRXOebdV4kr4QV+RMsQOE1cZSUbWcWs+N/Aa+G867xeJgfX Zs55Q0FzaOJAFURwH5Az75/8sniYHliM1F1TDlgtFvU+MxSBhq+D+lm9lmjGQZAY LxDgQyaDFuchsR05j+xNZwalDv0IJ4Q/5iNVeT2qY2si4vUMIZ8o8BCE6C/rIyJ0 cSgTbYSQf944s2Lra4kEHAQQAQgABgUCTJUiRQAKCRCKr4jW2E5BrrPkH/9pQ52a Q+zaqWMF/wQlQTEZwWUtk6n//s6fKmIhuA1a9te04KSJ+49KeNzxT6GP3Po6y0KG GXtBO0Xdy7MS4hhuuyMN6oUoDMHjPZdpCf9IjW1rN9h2liB/CwxwsImT+HHlysJ5 i0xxrvpqzFmK2IbkhIsS3D31mxsETCzlUxZTZAKWoZ9bv/wHcGJGujNTXT61+Nny oupb2nd8oGbN26Y3co9VcDT76oywToLaluPKHzacfKkBLmy/E1HoI9zC9LmILvit SoOJO/824Tx1cXnsx+t5rXjsZeGjwSzof6uBpA6ETuoVVR4Q4BOtgR+r8y/z+ree kkFxfUNLc4x2eA1P6lS03z4pvpP5kBtoWxfWWzR6aKqWqP85vUeYA0MYEhx3b+OD NKU5KgdI6qugdwenJthGvkiRzO8eQIeNtMxJL/+ZsvDIeOnAiS4/m/xgWFW26eyN X3Of2yaR1UsbFz9Cz1vrABPtMd0HkA0BentDd3b2y18xsq4p3SyADT8Lt/TizX/H TPOVuu6FWVFPLpubm5fKrXkzXEfN0uZkrPo35UYJY8uKWieUiKH2ILT+64RM/vFw I84Yh+VeZy5+5XsO0vSG6kuoGF/Jj1v7ymj0ng3a1IaIpxp4Fl1ssC/4wdayIFpS DNDKSvhia7RUSVjgNMhXEJqxjrzD5PiE9LgxKeln+6PrkVZOxUWcDtAJcjwVcAV5 pgzsMDHW8liyW8AHHCFTIYW2Dpcd+3CmHCAfKPAtFzxr1U9MPmjxyTiy8JSf9138 dx7LWOBMPlyNuIBXG2yGq8ZOTHPvbxPD5JVf+RJEl7avy+fEewBa9gtL7K76W4VS 9d6xd2j/7L4VRIop/3Q1BCm6inZrXfFVwvpCMm4vWUNFXJ5dmgV0vvYzqcrYFdrk 5H68eMm9hCvaYGq4R/eO3ceat2MuiugKhNkUesKpZ7suHT8aP6WzTyMv9PU+lYcF ZDNrEHVaDsmod7S0hSAJ2BdRPZEQZYDTVpTe5E28T7QJk0B+Wx26x6JWhElRwNdA RiRcdyWJOoJi2SG4rff/mTtpakqakJMl2zYK7rGjWty20M/rDLaDTD40VvbGgsfx yvFNZgMZGAJwX4FivFvWGU6hq3t05QzbxskUWBbbizpaIeEKlv9oKQPy0MN0Z6uz lm85BdQdcMz8ywgzv3c3fEv5pq/nAJ6RyQ39N5yurZQpyDAW5NSAcIVwR1YO2oDL PVLVxmBlx0yMEzmMl+/umhY3UZt9yyoL2AJ6Yyp0f7pK2rH5id2y6aRDLbgMZxVO CPTdrG55a9t79PM+h/S/WL+lL6+6peMuBrYIZnzk11xgs59XKP+s4bOe8mtppFeM 2pqo1SBVdXVlEwnntBxQaWRzdGVyIDxwaWRzdGVyQGFwYWNoZS5vcmc+iQI1BBMB CgAfBQJME0utAhsDBQsJCAcDBRUKCQgLAxYCAwIeAQIXgAAKCRALZiBQYlkICHA/ EACALs3ddM7hjgsYta5lk03nGGW/QnNUc1p2tdjyNhZ4hWKp3ED5ZJD/pYZ2YGd+ habL9WSbsz/265orYokeXsHQFXn4XR6mabO2PnEKetEU9ZgGd5lEd5Av03kq9pHx vwZxYxg/+fQUT90LzrGDW3Adeh3iAKhqbdF6y/nYUsiBXg9iDqQJU5kRyj+1iqhF HHSH4mFrUL9F5OOxy9/NfRI5yj5tRHtUaThuQ8Vf19319O15zQHqoMBW1CtXkBql GZr2rGXizzmQxUCBCuVQjh5v/89E+SX7nTycESDUTXrA74SuRrxdMUFSDFdXEIy/ dIYMWqFHrYvVphco4YKUBzN4ytLXYXEQZvevx5SLdHW29mahhCEXOvVek7J7sXmR bU6BO37mR7BGTDjeDu7Ecl8BMNknhEKzwHrcLEmGsxreL5m40JWJECaXX38AI4/e MROz6llLVpr19Wu7Xe5kQrh7wlGKk0aCnfV1RJu3bvUtpf0gabYjPrlc1ew5uoGF AdUDkUrQwINfIOUsxVe+E3NEk7302LJHStGa5VyAmieJWuWk7aF5UmzDAOHmsl5A 3YdnEtdq+NsnmUIUtUDzrXTsiMe1UtiT3yXfU/uziJs5mzJyDzK/bvDn/zw/ZeTH 7jZ7l2umsCFkypJlzk48ODiMQR4EkjoCN6n8JcLNsNDwHYkCHAQTAQIABgUCTFk5 OQAKCRAQwBxaL2BZ54adD/9DA5l3Vb8dbWDj+mKn0Ry4tQWvfOqUKD4G+WCOQYS5 SMpGlkpaNO4EQeb3tZFMdu+RXiBZmoRnDEqMkceoXRyFfkPYc6HDm8s6Duune7DQ YJb3XcMSynS+5unHjrKcgA61v1hsdjUQ9OTLmwRXzWdOnsv7bWWrUcPUlph7xGk4 uXCrGdoCZFzF+2YL8BiJYlUjrLCru9BIjXwagqkBeciv5J2YbjSvLQtC1hCHsq2t /QQjODYj/HigCF544K/qg8cUjhry6gvJfWAkDuy5fstoaUf5Ezl8JSBiEuyNuYIR KSiaDbXiZEpqQ4uDccdLH+z9/AhTO9FCe14frHpN1u9D2yYo3EAsEmwpUVyV3zfU RqcoDLZ1R/WdLzKrskdKvVhD0vc9N4AjYIKfqBy9tQQH0Lni7oY+OYLx3Pgi4dfS RC0qi2TfwvrBYXkGF2XBFpHSDgOXMMgnJ5WTftS51UUUwa9Cy2XKrnXscq+z9YL9 fDhZmb+/NuW+PYs4YkQtqsFUM51JpOZtERcpgpuMpuKDbEG2x5o6ccsNNqtYrpfC agUD6Ere8vXh88vcvjflfvZmV27DuY5L+xUZsIqq24A4Oa2y12kIzHvLbH6nSF9N WflvEfyE6I50S1g9/1KH2NiT/Dph5/vX3U4HHFc7Q6wBPmcPG/Br/LRNaJMpKubS /IhGBBARAgAGBQJMldGRAAoJEB5ue/FcGPhUVx4AoOVq3JsoPPGFXxv6WUodBw3Q FeM3AJ9PrLupWJPeTDCu/AJCaHs7Do8XdIkCHAQQAQIABgUCTJU8KAAKCRBhO7Em gFA5DKCgD/oCO7hApEgW74PiSOC+YVinlF3W4qUttuSBJKXnGoY5IlnIbevR0+m+ o7QNQeJDhJV4MH3T1LtRUTDygF5YQAp3UknDZ4u8TIjQLyJhkABZ7xNMqVasa8cM mX8RLkiwjU2fTvuckFwTORifzh1eMbLLIVS4vCqz26X5NTLCQyFfl4g54f1JwYlj 5TC1k6XoXSo3BX6v3f9wRlD5gBXwRnx4T4QRHy97AwrdISkchAn/UA4tCwWNV0IY C5EnukLBLyOk7n5XKGGf9Pm8gBbWmsh6Cg6xKBBSnCwLt5DPzchmuBO3OScA72Hu jaio9ZlRCllBEu1Iz5qsTUlU6TfzycAgzR50fUXS2vJR8/k7wS7GzqS4oM+22hUf X4gy+eKyzRZqicg2Buw2FmzRyxHxb4dwlp7O9ffhNu6TXmilmliLbGbuYW7q9NGC eolQA70ljwaHh2x58SYGM9SYfvkh/RWL3aevcEXnEvTN2rnBRp6Z+D/3LswxTqEr EAu3c5ro7EEn/JMAa0g+SDciTasAmhx2eN1NBIigxHEeJo0NOLg8pucmWOUZnP7C V9AtSeMm7WJWLNvQN8R1of2WVRdXUI3fDW2NrEqdaW1fLno3fHyLLD+WDY44b4FT txCwP4w1aQJ0KDL7U8jDEJpqEqqtGcmFvbIvEPzR+35ppM9yYY9PYIkCHAQQAQoA BgUCTJXUnAAKCRDSHNIj7o4N1bJSEACtCKq3Go7TenalQiyPTR50OaWUopvUrhyv jvLAvNnmAh4XalbibGXbt1HcAxVsgAhQChEX+6rGphONYWASggNqDwAQtVIT6xgt 8zLjNIBh4KKHJhPKWS0/59yTBh9cvAOnHe+qo+yPgTgkPocTgyzGdZVXOMIKPoA4 taEOjHkSVjHmhz1NE8MxSl2D3Ly4kdpPUvcbqXGZSxB9P+RIqjTykBZVIljKtcFH sVbCJRY5L7XnzEqP6vSC2wLeO108DKCdA9h+dH6RT3l++NMRdet/ZJgnhEUpQ9ln DqVnXAZ52kMwiyPqsKpZQYZF7iCwfsQ/CaZmLogRbXSnTr73VbpzQfkRIhHZzHTW yUlllaYBQZfUA/c1MLt+JeNwqKCrICBhv2h+pGLMQrWECMmrnRAeupLFQi6eNfn5 /wyPYVSnbQv/cj0hbBh2r6JYZq36k3U1jpjMJXjeQ4artWILdB5JZ5O68PPVGmnP DZyZOtDT6rNQSl4cPxyny59N3G6fceHJzmAb61Yt8Y1nk773z0Vh5Ie+W51/AHK6 U4P4r9/WqgVuW/g1foT2oupF5HDfsaBvI3/bNnwMIhIxHg7/SC/bT8BDmPoSutlZ WKyl3NXCFcaNqxu/aJmZfzB9KxRY85mkLa1IoKMixMrE6qrWXt2D/mvxDwGd1x1Y +xHFHaYOlIkEHAQQAQgABgUCTJUiRQAKCRCKr4jW2E5BrksoH/0azGeZx8B9n4Xq 9Trs6AXROROiWsSrnezZXBQHBiB5bqqWZ5CYcTmxsBF8GCNgpiClAXPT44TwClOe yTsZDUaCVQpfKizeIdtGPYE6/JaDZbJ3RsqEEFF98HvGjCA+TQuTJzKznR7JkR7/ btsFpfx/KdHJj3TFgcoQ1Hy1Ia8X1V55Qyr+A/+sS0MsliwtEtnD4yaa1ecz2iQU jaxGnRjtN9iIaj1YCH28PpXUXBoraqPdvK76D2BTnP2wfY3EDGpV4f0XCDfqj/xk TWlgpqn3h8lLOg3+T8zM1QgKyzHRtixeWcR0OKJv5vUC4ojXQ0q3ChItwuS98A2A iPqVP7Ul9cPr1yayQmuXZP0QJiYmiplOLU7suCNT8J7kNgiluX8TpEWi0XPUMcUD eDcTs6dlYVmM6wsSltzXhUqerBjfGyLl0VPySlFFw/AiPgwo5M0Za20fOXMfm6uz sfMY6YarjpDNo/BaNT6oizNgw5L/Ai1wNCMNejV9aqS5WY1izUkej3j19MuxVkHB erjQ/ex2jUcrHE5w8Wk/FCB20l3WjV8qj79+47jWNAmjM0aSYR1bKznoJC4VJWD7 1bdglGxIkPakbEuyI5KUfK78hob4k/n0aUHnF38vnBKHrVhYiHM8+RHdl5ejugQt RrINvpHp6BwnlvrODhGVBR8Iws7TU3lZIfVv2wyHHJ1qqQOed0/4Bs30qb+43Uzp N/vLumF6wtILJeWyNHg8MIWbS32131NWVmVSmsLsphX1WIeA43chlpIDHr7c3OXp tWZO8uOsGku7gRKbzs8C55xtgXKLFe05cBFpePGz5+6z6rN1QtrajkD2zEA7kPHN pj/vqIzPw1uBFaU/PHpHvXu8ZVSoWA8odrH615z6xgtgfss7QYyS/fas5xxfkiSV LM8m1LF1tC8Gjf+fph139upEsUeHkR2bkebhj+rLJIkVkYxrPsL7hsppqm45s7g0 HIdOkh30zBh3ZFxPhS/rKN4XCwrfxFyCnr0YKuDr6vIvipCro6NXAyNgjcBAMKxv 8hVaS2YBD4ZRzrsSNrKdG4QYZci7UBDbFuMZJ7jE5z13TiFDxeke6AIDAe0AdW22 hNdoopfe3baBUlmYc9cpGY3Bf7eeHqpmw1A9kdXLdgAXtARbnJnl76atvmIUbVQo 6gjE1m8RfmhcbjcTKvRqFY2AGlAhAsgxV9HLCZS3+HXWXIMjGGE3/KW8VKI+bH6A 6PIPew9tdUkkfnu3u4Tdsh2K/F8azLxbM1QW9lpUQAu2he2ocCkcDbfftHzpqksZ vynIamR44gs87NTp5bN5YO+Zeu/tOv+g86OnR1WzT1K/cXVGPWFgS0vmLVm5UVnU Q4KsPs5etDJQaWRzdGVyIChJJ20gdGFsbGVyIHRoYW4gSSBsb29rKSA8cGlkQHBp ZHN0ZXIuY29tPokCHAQTAQIABgUCTFk5OQAKCRAQwBxaL2BZ5+o0D/4rPcQeJCbL SIQICuba9FfGID8NbR1o8AZeXlshdh4zd9PrUj3zkomeDa0H5uNFdbECzxfE1vkq /cYqUAPQK9lRPKhwFanNAsz1/4VHXqcC/mTO6VX8hmWzRqm2f46pRPeA90kn+hUv yhRXy2VdETOyt2VPQ2rdE/mQNuWrls8XQ2x+zRDSwCdM4vzlmBlqD6zx7ESibhxE TfsYIU+b9DsRTAyyoE3fTCRd1hHILmb0pliT+uMTVsLFsIGkiPkQbVK2A0K4rWRn YnEcHuPxDcCcn93meAcXqCF6jCa3/BbSxqbRxnVRakXo2/FJ6bWB71HuJJoluZPt G7M0Qgj7eINKx8+EqCyqAAntOJb9X5P9VadEUG3dbdvB+RRasxByf5dGyUU1yUkJ yIbJqvER4rQp1CCXQskuIQ+NhJRekXCLdwUnEK94umqQRc+7mauSeudkfPWv7P2Q oikrX2ht8UJa8i4ySv1SkdKJAvpObHH4qFJh3m9kegUc1NETKkvHtTfzuqrV781E yawkUXD/cMM30F20Wae/ECxg3Tgt2QCYOclTbEmG/VQIawn1s1TQ+eoBABMHziy4 3TzC9p9FPAN6v/uaMOlnZc8vrxCSWTwLcFgdYZuOWKG6Gh5ceLkpuaZt373ZLnwF o39GtVt4mt5N3HVS60v66rO44qvhbRSATYkCIAQQAQIACgUCS8WWGAMFAXgACgkQ rV7bt5PsV+S0/A//RlBktihHSufSg0UKRyiDAxdZEKXTgRB1SzqIP+8c46JBV6rd orbE4FeND2k0V9sP3G9ziuc3lHMPsSF6VYvIpgQaDqsXT4sxx7My2DXZAKyvqIze ElSikuRfsEfodE13G3VZJj2ZfqTqqTc2tjF2vWYeposxLQVbqvwq9fEdcTyjwB+I Vd8APe7Elg6hiRYsd5TfzWhTLoYtJRWDAMnVZcUHmuC8jftduJfmppzK0yUYLOCp G2DsJnLjuSI8nCDTzORMdaTAD2zjxWwtdDe4g/HpLxYenF2Mj1LIYU50g8iuaWNV vifFoTq+yh6eEWokoUmh+53YjRWVvCg3WJ+ixCNB/piTbRznfZ9fxnO+9ZxUwh0m 4AWVUlap4VMp/evWJX98Gyg/6CvvAzhFYhnuOAMX99BaSG34nn6EH/UI2hE/SeNo qzrRcOA6Tm8fP7A82IRZWMthlDAlMkO6G0ahzIK+2tXh0JL5G1e+CSLCcxSOnFV5 uBaf6Yd1hhDEh8Dmmso/SPswUUHQxfy97L+4PaUrd0POtedEcVxorQTNApRa4XRU cX1jtGQ5u+Y2wE/URkEqoyPZ1tTREUqcU4jd5rgr6rfD+3xPSjMWhbn+elIp6MAj 1zwSSILdxwuKrGCc17w8S8oNL0xO+iNK4TSNXBD32U9LrMm7COUTXzY6GU2JAjUE EwEKAB8FAkvFft8CGwMFCwkIBwMFFQoJCAsDFgIDAh4BAheAAAoJEAtmIFBiWQgI Tc0P/iJ0w1rEYWYc8Gpi9EcyvesyP8oSFFk9iAbAFQGNK0TrApYa4BLg4s/qHY5S 8XGaJcwUEPni7G50+Wc3H2/QUpV2kJsPjqbGJxngfMwVAWY3QAFX5qdnAL8elJWE vGXJFcHvDxuAxMtPAzHmNqMqzTHvwpH4oNk4mRqfLW9VBcqIMd690+SSV29wax+S sUeSSVKZY2nZ8y8ycDVtgGadIV8qdGBA5R4UkLCojetysoajJALjo+3yb9XGZXox tN6jITucWIyta6EWuWf/ErI/RH3XGd6qMKMMcXiJhzxHAl0j1RDsIxXpal263OIi QGotBiNLP91aDR6vu8Il0FUNi5GeS9qEm/GWiBPXSDdTnyZOy3/A629F4cbVnSWd 6AVDzxj3JozBCsYOGu4EpQZvyspXUWnYXXa3gEe9QNaWi47mlLTNhHC5DseF9l25 4W6m15Sk9lGRzjXJSp0RU4ucJOm+S89KOsDvCiqD+++xea9rEGXsJjGRh4DlGO+h mMvuW4NOV77zdFArvsnmJ8GssEUVdSvxo2wlQsYiEg9By9qqznth82JCHl82D4Rj iGjTLJAkt/kPrbHCqDdJDTRFWVlAmqXKo0rzV47kdV5QzDOdw+e6FHlO18g1vmvQ QWLVx8seFzKvuvl91j0CVQSZKC1Pc4i0wKYgAvmRPNZYb/z0iQI4BBMBCgAiAhsD BQsJCAcDBRUKCQgLAxYCAwIeAQIXgAUCS8WIxQIZAQAKCRALZiBQYlkICK1gEACX NiXa1ctofMvjGHkyajyt45HdbkSpvcEZG6uZCkninKVUFxYhsCCJ0UMYKlOS8TFY HqeorHhuNkJsKdFAuxFHHrSdUTbI81KVXZ84YDYyYx57pvjtd0uPPan8XQP3dKMW xI7A72vv7JYERLONHqAN4kPVdkOs5BDN2xT9DoQF51vGu9kLHpOKBlukn2Nvozm9 f8v/tQXiMoT+l7WKG3wKBEbmxz6iLklvVwwCiNt2tgqsgGjhAiHPak0Ab4UoKPYu yc8B1BNhojs6G1+UZxCXdp75GAKV29ULjPA70vC/WzOhu8EJ/A4LODsWZJLqQoKt sm8n7uhbrrlQzmOvk40LXBiQVe56DW1sWQoopuOfm0LJtuAnWjiIRNwjyQ2eqIxL OUCVpQEU9m2ufOpY3J3lhehhHeDCCRGh/7oIyVls1M9flmElGeVKPThagG5iv7EQ tuSCOE9LAJeOE20YiNbZk6EzWFY1RjXDvJptEsU+k9WRimy4LBZyMKaRTxfA6O6G TJsGmNirA30dmE/TsYYIFj99O363d2EWE2aGO32ETQcbikYFFfT4f/jY8DpktTSv 6iB/ODlQ2iRXYf5bPBWJ3b4mUpzm7uByxNOBT7QC3v9Ff97NGaMssWF8rX3us/yk ti439jF8jPp7Zjd95IEwLNAroe3DaAsJE0E73+2dwYhGBBARAgAGBQJMldGRAAoJ EB5ue/FcGPhUaBsAn3n2NUiF3ELrIAWnYboJM6znJRAjAJ96oMAx+IZM2GdmwiXO jXtUE0cs/IkCHAQQAQIABgUCTJU8KAAKCRBhO7EmgFA5DJYAD/wJy6ksZt+PT0eL /fPQEzODpBEiq5/6zLgLBUZClMKkteBZjntOcSpgoBndDPlf2nyS3mDwimPk5pnF cOi2IsD25dBkF3AMFND9diN+hk2Po2SZmV0Ib3Q72s5Q4YE4weIvgral2KGkfd7j JJfrIqiCYp+6VH8Otg2jjXbLZzEIrhD0T6+88fWm1SaC/1mDXhGkrIm8XAJeG2Q4 OI4V6AdH2TsrAXN8CKdYpQx8WH1tGDOISFSHahGgVvj4+Msyr60K7OHJwYOqavfy /wjEIkFGEcl+fBe286bV7Yxqj7VZUcxd98qloolhi0IuCV985xoEZrf7mCoOs+2T 6B/hO1Sk2dimh4zuhsM5uzYkOMMNU7g3J43K6RyVgbn0Iil3ZeXPcnWanKKfnq0w oLQHutrEWG6gSSrujCqvEbctiCCmC74Wf2BkB2p7DegQlh7a1s4+W72aLs4CVLGJ dzAZ1wEE9ik2qZ7Cy+m7C7uxQMSTy847hhVRZnHu/d0TDCYpoBemK3B0jb2xtEMp FIQ9V1a88FI+V7yyQQcdx/7JELYvqnhgnwGfQ3zUneSMLYGPdw4OzPsn4srOVODd 6duuv1Z/HmKon0MqjFpOwjN7mWA+cLhDTBLd2cCfIA1vrjtiwVQEze72qSY/BPSU XbYIriXNCt2Y6vABwKBGHDH52rhSlIkCHAQQAQoABgUCTJXUnAAKCRDSHNIj7o4N 1Q7nEADqyRodhe27LE17z+7B+wSeIoCg+JyD+CtmS2sEGsDr5nqjJPniwCPXT8b1 znYB5vhXQDO6bMosZGkGfgQlDaFscxbs6aVsUh+7KW1ccN87LNH/8mpFaKlqiPYr ABe2ns75o8jLSN0FOAx97nj+dFFB7P1Brz8DeIUWURrsPGjj3ElbhV90mNJD69Fs VBrHaDlZQEfaJG00ilQ6Wg5BbHp7Us94wg9hNOj/U0mnTzIyRaWcAibG8XWTO+Dr OIX61RllWRwY1VGY7xQ9NyM7+nIU9WeDp0x5dwnKCvrW8mh11nP2Sljh/nNoRIz2 PfdjKPCCInRaHfBsY+yZlQMUh5qtaW2Zl/STgPzE61dwljOfSPKv8+g6d63R4H1r 1cRs1jgZl+YsZvXZwPYNbS4rRRJ7NXowVFpaJhvof0MRKbsyN6YFkmsCXytSs8U+ kO9mlluyHBF4TARv3C+xhJooRqMoaxh6Y6bsdKx1xkO5ZHks2CzAPidk1rVGbXJg 6jZypfm7ighNjX7y0uRJdG4s41JhTmQiQYji7VICQ9uf3+8NwwWK3jAbkScvwDN9 /gLxKNIz64cq8rIqxAqKV+N6Ujd0WHrbqFfMOAX6jsMocfsxD2/xZQQ4Z/W1mgGz AAnHDXCC1y5d+r6MRbtDIFZoNP++wu3lINNMJW3vMWQf3Khn0IkEHAQQAQgABgUC TJUiRQAKCRCKr4jW2E5BrhGtH/9fojMEBEzXtrA0gLqQxc46M6uUvXdDU7d1+fNs CPMZuFLnWVV351d8g1mOD7KxHFoP+B1L0MHF8tSj+oiwMSoAIUI67s9VScn/JaTK TBRK80TfaWP3R3g9P5xVnOPXAoCgIIOiO+aErqHR+zSqFsriR3l0wrq1rd8U8aLW qBXL5WK57ilEoC95Qz7cpBjykFQhAikGVb4dXMIykpr1pK6dKhw2FGWejAU2bv67 FoWOlRclxthbqDgrolzTOmwo5XMpiDrbhwwi2ghtUyEPvNQIufyGuLVz8yJhz+0z 9LGBCjejuelbk1qE+FK3f9kfsvy+L4+Tih+jZgkqyhZcBrhmw+JnllBxt9TuYghU swYcDU23vMI/r1Sa5JFbqAu9PMO466Nq8MI5VVEEm31+siwoH6dFhhPhDFtE0u4H UFhhXIlHvDIpXSw1AMema1U2MtHZq5bbfHybGSvY+/7/9Emd1uavqjqwgxtO+iXw vvnkF1KsnBz5U2cnghQQuTGFv4zAA5VeKUtto5kGtGfM2Za95LYFhx8x1S3fiDN2 cLxIc1UcxSmnZWqIda8ZIz5tnbIadyisQuyIm2jtmXJYI93u4hD9vFz/VBP4fySM QKmqrUGC3ry/VBahmk9kTSevJ6N05uFqIbUx+CPQRwO3b45unpuVoTbs1OjX1qcU T0mDFUZHfedOR9YTKifOHG8m5soHV2NPTQSoMUo7vMNA9xkhHe6k1RCun8LWrf21 rHeL+1snDnOsbcNkPgRE1omCjf37ArAgiHY000Z9RcQ4RU6/X+2dGcMIAbYZ3DeK J4KWPRn68MHTjslVDsL2BTpQxc6ZnRNa9h/sSPRUwwb8Mn41vx+qwMrd6WzTmyV9 JkOqXbz8ZUfnAzLiPmukxK+7BK3MJTZJJ+DbbB4qPgmn4Q5Gc93iFeFke5505AWz aGKsK94vGJvF979r3jWjjG0upvCi96YYJP6jYGH7YJdSsLx7nSNzOWy/aBLxmrAM Klf5kwsypcffD5R99sbCAGCPibi+viJ/vEAurEmeBiSMA/9e7r/YIUD4FxGdlKVd nWpgoTEhTg/6ra2sGLXlVVPiKJCfYxCPwMUkf5O3t7CQ8XAmUD7Rbqo0NZ+Fmd2Q IoX/8IVSWnet0MuhgKHSY7RMZKCV+P6zzg2ak9pUnU8VM2iiCjNE8P5W5pihJPVm LZutkyfl3iGCFGD+iKASYorhOxCK3yoL8roXh85wO9NaRz/F9fZlBt/Z8lLOZLj3 n7Uj46CUPuWZ8JSoHnHAxB2bzjBRhdBu0Ay5HNM1abfiuQau/8TljOLIqLdho7Yd kSkN7o3ev1lX7F4orBH42NySg2s1B2SIrch1ajJg4aYXqq4o0cyRzI8BEAABAQAA AAAAAAAAAAAAAP/Y/+AAEEpGSUYAAQIAAGQAZAAA/+wAEUR1Y2t5AAEABAAAADwA AP/uAA5BZG9iZQBkwAAAAAH/2wCEAAYEBAQFBAYFBQYJBgUGCQsIBgYICwwKCgsK CgwQDAwMDAwMEAwODxAPDgwTExQUExMcGxsbHB8fHx8fHx8fHx8BBwcHDQwNGBAQ GBoVERUaHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8f Hx8fHx8fH//AABEIAGQAZAMBEQACEQEDEQH/xACaAAABBQEBAQAAAAAAAAAAAAAA AQIFBgcECAMBAQACAwEBAAAAAAAAAAAAAAAEBQIDBgEHEAACAQMCBQMCBAQFBQAA AAABAgMABAUREiFhExQGMUFRIgdxgTJCkaGxcvBSYiMVwYKyMyQRAAIBAwMCAwUH BQAAAAAAAAABAhEDBCExEkEFUWEicYGRwTLwodETIxQGsUJSYnL/2gAMAwEAAhED EQA/APK1AFAFAFAFAFAFAFAFAFAFAfeewv4IY557aWKCYawyujKjj5ViND+VYqab onseKSex8KyPQoAoAoAoDpx2MyWSuVtcfay3dw3ERQoztp86KDwrGU1FVbojxtLc u+P+xvnt0qtPDb2AOnC5mXcAflY+oR+dQZ90sx619hHnl211Pl5Z9n/JPH7Fb2N0 ycA4XHaq5aLmVI1K/wCqvMbudu7Lj9L8+pjZzITdNirYXxzN5uSaPF2jXLW6h5yC qqgJ0G5nKqNT6DWpty9GH1OhIlNR3LXhfs95FctuymmPQcTF9MkunyQDtQH21OvK oV7uUI/TqR7uXGO2pbLL7OePKg6rTTtrx3OR/wCISq+fdZ9KEWWdIlLfwDw3xxDm LuNLOCD6u6nleQgj2jB2jcfYBWb4rU829e9EdWzW8m5c9K1Ia2+6mFy2bt8PHipG s7uVbeK6nl3uWc7F3xEMuw66Ea+lSJdunCDny1Wun4m14coxcq6oyrs4/wDnuy0/ 2u66O3/T1Nun8Kuufor5Fjy9NfIsHgd74BY9e68liuLi9Rv/AI4UjWSALp+pgWXV tfTXhUbLhflpbaS6+JpyI3HpBpIvFl9zPt/dOLSa3ltkfRRLcwRNCvJlQvtH4LVb LAvx1Tr72RHjXY6rUs58Q8Xuo1nixVjfQOu5JoIYhGwPvuiC/wBaivLuRdG5J+1/ M1/uGtG2iLvfth4nmYjDHaR4Mwyq7XsDOeooBEkISV2HuDu9AeFSLedcjrrLy+ex uhfmtV6i/eK+N+N+NYw2uEgEZk07i4LB5ZSP88n/AEHAfFQMjJncdZEe7kOW+5IN OifW2mg9STwqKtyIpa7DRPNtLQWryAcOAC66/G8prWah40RsUH4IhrvCWsdzcXdh jxbXl1JG1+VXbv6aOEcgEqTrJxI/Ot6uya4t1S2NsbkvoZx5XKYPB2O/M3sNkFBY RDTqP/bEv1MT+FIWrl2VIqv28THjOcqRVTKfJPvbmriR7fx+NcdZLwSd1WS5cf5i W3Kn4AfnV1Y7TCKrP1P7ifawIr6tWUDJ5nL5SXq5K8mu5PUGZ2fT8AToPyqyt2ow VIpImwhGOyoc9vcTW1xFcQOY54XWSKQequp1Uj8CKzaTVGetV0E683X6+89bd1Op 77tdddfnWlNKCgyvT0KA6sflspjplmsLuW1kU7g0TsnEfOh41hO3GSpJVMZQUt1U 9b/ZWSPzDD201xeJiL27i37EQMLiaN3Ryu4j2Tdt58PSqS3gwldlbcn6divt2Vzl Cu2xLZTBS2eLxmXvZLZZcguhiXWCdW0bUMhJ6i8PX2PtWjMw3bt8k6rwMu5Yn5Ta rySZ04PwvJ39jc5mFUjt4FmZJ5yZHZoQdViiHoNy7S2o/OmJ2+VyHJukfvZhhYjn TWiZMp4Virfxy3zuZy88aXMMUqQwRorb5kDCNQ/ULnjy+alvtlmEOU5Ohvv4Fu3K XKT9L3My8t8vsfH8BLlAzS9CaPSLgryRu5UKGI2k7eP08OHxVbZx+dzjHROtK/Mh W7dXSPU8v5jKXWWyl1kbpy891I0jFjrpuOoUa+yjgK6m3bUIqK2RbwioqiOOszIK AKAKAND8UAUAlAaj9qPuDbWCJgsoypFuPY3D8E+s6tDIf2gt9SN+1vXgaqO44bk+ cN+v4or8vGb9UdzambGT6zXAjYxjY4uNCU19mD+h/wACqCU7jerbKtzm3q2yXw3m V/gYJLXF3e9JBr2eizoSR+r6uCcPU68RUzGzrtpU6eZKsZU4IiPIvJ5ZFOQ8ovBH YWyfUpYFdoHCJERURFPpoo1b0ryd65fklu+i2S+3izF3J3Z66nnL7i+f3vluVLjW HFW5IsbT0AHpvYD9xH8PSr/DxFZj/s92WtmyoLzZUqmG8KAKAKAKAkjZ8qAQ2nKg Gm05UAhs+VAah4F91Ex8MOP8kia4itwEtciFDyxp6BH14sB7Ecap8ztjk+VvTxXQ r8jDq6w+BomJ8ywuenubbBTEpaw9xcP0mjRBrpwDBdztVTdw526Oa38yHLHlHWSP O2ayeWzV491kLmS4diSgdiVUewVf0jh8CuqtWY21SKoXMLaiqJEd2hrYZiG1agE7 VqATt2oBO3egDoPQFp7PlQCGz5UA3tOVAIbPlQHXhcIuRzFlYtqqXMyRuy+oQn6i P+3WtV+5wg5eCMLk+MW/A9DYDxXAYKGWPEWQhjugrTMzM7OFH06sxPzXJ3smd1+p 1oVUrkpbme/c37ZYHH4eXN4eJreSOVTc2+4tEUlO3VFP6drEcAdKtu3585TUJ6ku xfbdGZUbTlV2TRDZ8qAb2fKgE7PlQDe05UAnaUBbOz5UAhs+VAN7PlQAbIgAlSA3 6SRwOnrpQEp4paFc7C4H1JHMy/3dJlX+bCoXcH+k/av6kfJ+g3qJ0it1G3/1oEUf AUaCuUaqV1SheWZKS48e8ptpW1Ec1pFCh9hKsbHT89TVnhW/1Lb8a/dU3Y69UX7T JzZ8q6UsxDZ8qAb2fKgENnyoBvacqATtOPpQFs7PlQCGz5UAR4+SWRIo1LySMERB 6lmOgA/E1jKSim3okD0f4z4FhX8RtcBmsZGxjgjkmhfRnSeQHqMsi8Q2o/aa+M9z 73eWXLIsXHRyaTWzittH8yyjbXGjRmXjfhtnafcnNWkQY2GHIWAOdzFpW3Rhj77Q mv8ACu8udylewrVyX13I1dPgU2aknxRfb+0jWM6fFV1q5yIEkZz5Bhy1r5OzLwkg s7uL+6FmV/5JVviXqTtrwbXxM7EtY+TZnps+VdMWYnZ8qAabPlQCGz5UA02fKgDs +VAWs2fKgE7PlQHf4rY5X/kxd2VneXN3YlJo+2hinRTqQCyNxPtppXOd4yVC27d+ ShbuVXhX3kq1GL1W6N/8VyGRurS3myqNDkJrcNLFInSfRJHClo9TtJU66V8n7nYt wk1ZfK2paPfdLqTIszTJ5jG437g5uCdtjXr75oyrB1EcYIkcjUdMp+724a13Xbbb nhW+vGPz29pS9wtNS519xI3nkGMki3LdwlSOB6iaaH86kW7Lj0KuTIm36Wbly8Nm 6yWvZ9o1yDqvXfeSo/sGhP41vb/L4t78q+4zUXFJmeW2JvbhXMds7NE5imUDirr6 gj1rqf3lr/JalrBc1WOqPm1kysVZdGU6EH2IqQnXVAYbPlXoENnyoBptOVAJ2fKg LI2we1AfJ5IhQFx+3nn3jHjwmhyNq8c8zcclGOpqnDRGQfUoU/GtcJ/LOyZuZNSt vlbitIefV+8uMK1ZlDScY3Oqlp8JbfGhb7v7ueBLexNFfSS70YERW8zEudNv07dS dNfQVyNn+OZqg1KFNerRJuYjhHk5W0v+4fiZ55reZXPZu5usRbTiwnjRQ10nbE/S okADMr7X2jXVTXa9osW7GMo3X+oq7a+w5fOlZdzkpVfkVfNYsyZmeyNpHJd5J5Jr U6KxCH1LH1Xpf000q8xMu3HH1/s09/T4mqzfSt+wtlh5FkcQ13DcYWaayklaWK7t ArynVQNZU3cf06a8NB81Uft4XIxamlLqnt7mR48XFa6lRyE9plr+W7dmt5TovThk dGUAkjfpt1bj6kVf42DCMEm+XmWGMvy40TqdCJFtAB10GmpOp/M1PSoqGwf26n4r 0B2g+KATs+VAJ2nKgOl49RQHNLaFvegOGbGO2vGgOEYzJW1x3VjcyWt0qNGk0Z4q r8G0B1GprXdsxuLjJVRhOCkqMmx5h5gvUR0tpleNgJGUhg+iqh/dqF0Zj8k1Vy7N b0o2R3iLxKu2OyrXhvTcSd4W39yGIcNyPxy9Ks1Yhw4UXHwJH5cacaaFxtvOslb2 UFvJjTPfksJblW2x6oAUb8H+rcPY/NUk+zyc3R+khfs3XTYh8pc5rMZAXd2Y4lie ToRxIATFJt0SVv3FSvDSrPDw1YWj1e/gSrNlQPrDbTD1NTTcdscbj1oDpQGgHUAU AUAnCgEO2gGN0vegGHo0A3/Y5UADoUA4dKgHjp0A8baAdQBQBQH/2YkCHAQTAQIA BgUCTFk5OQAKCRAQwBxaL2BZ50G6EACPPFAxumyI7I6wCxmWteHF/TwlOON0lmA6 /B3sOOxluj0C4d1Xx/qLIDcEMKmxVRQTF5JNUMLjseF43ToXYHi2QVJ/k6IMiGGV 8a6x2Wm/BbNLulVMn7qX+P9uKlzpDzMQweUqSnWuk1vENhCrM9bLC64q76aLdACr +bojsNDsTty2F5bQnlKrQCxtyY5Lo6OfLnZO/skegViwCIvhxE8FIS34Uiiviqle rUjRRZ/n3jZHyg+TO6pW5rxFxjrn0PXqSc6rmh/DZLv7+X7a7EZvyW+tr3/42KYy 78/6xFC4M588FOLNG1sj+HxsFWUnckqhDn8Pt8z34MyXStjkkDPJqUM77WsCJ1kr 8bNOmYdxCWSgof74TaApLL/MK3UxR96o/3yzy07xPzVh5EtQa1rQUI7G37vGotdq 5PT5uv3VJarx4sbiXXtfjxN2QYTI+suOU51oZgzC4AHqWx/zrnbOUPqy0aAMY5lc AqHfMLzn4HH8HGRogw3uYS79Fd2pdB00eRVfcQ9iZ3M9EgyeS/bD9VIFjIvNJPVQ BjU6NvVtcmsj9fCGVr0TSnyG0SZkjIN3vcIjHH0wOSeu8GQl5WdiZrReJRV8GmsT nxL3kAAQoWffyQlFqqoyhEYih0bK3+WeUvRegRzgmgIm3RgRM7Y7u6veekRZoI7B gUWMGk1Xt4kCIAQQAQIACgUCS8WWHgMFAXgACgkQrV7bt5PsV+TyfQ/9GIL6jGMP i0dIoGCgGSDncs+DgxOiTkjPo0Wd70bsJV4Tv1nhkLk9czNrMCm6yH5ED8H4zYEs aY9+dczIte1OWH8fC/nlaUlDD4/Qt850RfY4vNHedoQzH2+NpoxYsveryzCwUq49 rPWYKiw8BRpN98GsDmZsfNbZ3sA9p3AppNYFzVmkN4QqqTJ8S15citEQnV0j81f3 LrvnhpxHHoP4PgKJ6guInSIHQQc2h2ifwtQpGWkoDMpGMGY8hXvHWe972xP4CS+1 eduB3vnMxkDoKmc6km+XmbMpiW0lMMVvb0Ct90Dlvy7GziizJqGAtK463ok85mDu M+3iDdPOcEGneUZ3YmftKVFNrILsUTLp3xSoPDz5x/bgQPh+aetut6Zke3MvRyp7 +ddceUsHnRyRfVF1gdsWdCgNqsC0AF3LBS48uHoWVsnLDEe3dcRD9aH1ZD8leFtO 5u9SBTCJUZ0AfLbe1DD/7r4uLgTClzpafVOFPuZ/fH0becQ6euKksFTC980Hulln /mEribQSfGzI34WedcKk8S7H69llMm4WgVJU1jnhf3F7OyJo8CkzdupqWIm00uFm TXu2PrenmjdJEnep8CP6aaRrNybp0Z8UpnZjNmJ7YCciLJ8dXsr2t1/PMfrTQDpq GtFdeZsWtZHQNekFNRgLW0NmfddVvNkPMWGJAjUEEwEKAB8FAkvFgVQCGwMFCwkI BwMFFQoJCAsDFgIDAh4BAheAAAoJEAtmIFBiWQgIFNsP/2//2YK8VlBnwxuoiVna a3064H8J8rGm8ugXLrcVXp+0iWIFzQCEnYUITHXmBw5B6ezdJvRL/M7ibMHAPtVx ivkSrpARkGdaX65r8WxgVyquMUkqpywZFtmFwPzoxXnxXDb3G5QIrHlh9QCwLtFY BOAx1XZTK4AJSutwEOyFBSPxenGj2jB2J9hYW02lCSklcsjHMGFI2awM0XeusuyY dESmYDyh9Zr4SkU0GsDVUhhjWW6i3DI8OzIfR0kmef31dAXP6pt+yis+C5j2/S7c DMdWtGXvBfPK4SjxQXqkY1iwnIwz1ZmQXRMloS2PH1IDzWYVYGBmNG7kn6GgXAOt u+7KcmjTalJYFI9/W4HK1wcwsBNTQVQmORW3QB4baruQfzzFnqWKCOGoLPOH4Z0y yL0Z07SEHG9qjtymiBBw8AX/N2NVnKQPNb6FBM+ISNJBrnyx0sBT4/zJevc3QGUn p8eeRFGTtdlrm++740NK2YYehUO4L86TsWKgoRdnX/Hj0LNHAdCC0KIZhxiFIGyf muceXoV4yH5nAw93DatqpvN+wd/FtbBqGHA8c7przuttqsFmox/yAiR+CK01ojnv Y6c0rp2XjfS7A3DUjNtcbuE3D69ZdX2M29ZJlXwv5jieMWVDHdcII3vl0F9ko4L8 +8QtCdFG0E2b2YJpEOoMiGQaiEYEEBECAAYFAkyV0ZEACgkQHm578VwY+FQjAACc DvVbxLSgR2oMBeGSbxj2dQC+HhsAnjygf54lBCtiYJ9tajtrrZWgsMGbiQIcBBAB AgAGBQJMlTwoAAoJEGE7sSaAUDkMqB8QAKgAgt5uH5JTiof0s5wT4fb5P7PGUnoX sGx6ssU02WdtM3WKnBgm5iivMjCBlCEW1d2Hh4KKxTpRvfdNdFbL4gxhojpxiQje aMm6ePCB9nMN4oo+mpW3k3SJCsanbf+nrj7xGEu4KRR9AzejYBVmWxpjFNuGkH3d 56Is84XhK7XTjqGtShnzdK9ObZs2SqWPB9E0oua6U3kPm2LCzmzFKSJN6nFRzVLR KgNFR5p0zd3LfKQd7jVVoZDypFAHft/8NhebP/B/rwVQ0mCTu+pkO8cZB6AoBB4j sfrRVvc3ebK0D063Edma7FTdsKydNaAC+NcMryI8RnoRE+jJ7HkMLZ8kZl1IiKbE rmeO/J8+/2LOzCQE+gM8gWzRJ0byzQTyWnplrh0LvSkhLCYHykkCEgtnxTKMyMXe 0+d1iHKj6M+crbCSESf8J1ghPafJKhdbj5JM6CN4Wqa0ewDD+kzzjb3zfCdkoRoT O9flkMhZm+F0LLK53sl2mvDAACHeazuiMC6NPhUOF3gfQWMYUPIGxaUepllK4tCM 3iGO5XvD8wWPKQwfrYv6Xs7gI8q8omTg7F1Ly3OgZlBHDy3IPeBarEn0M91IWslr DzWm4a5YI8tgO3s75n53hRW/AVvvj2Z23up0FRC6pR1x4sAg+fNhtEpou0AaCAjJ JhiQK5rjWS9liQIcBBABCgAGBQJMldScAAoJENIc0iPujg3VnxkP/2g7STec2JtC nDYYo4DB4oROKxY1b4+UdXfH1TxX8hxeVTiJi0tL16pMkZFB+OWEoKhTjsLmXSQw IZnZVD9DgU067AOabeoMxgpalfGf4itZgcrbPw89Hbb6hf+9LVMDXFYYPO5ku1pb /w/iZqyuRZPlYZURUGcDd1kJSXxS1fpZYCfib4QksTvyWB6jL3Crh2Ulg7Hxr6A2 2KHAFHwl8cwVz3L8kJhNoCGKAT2sy+h+6vhwAr9hsid+ZnzpBXHGj3vPHPzzY67x GJFuVWAKhEfEXHrr0B/BOb/WalLMDojr+9LMc+PDbX1w9Ut12k7afbhZRlu3Tx2C 5Xn9ohngzZ4JxI2h4JCjIOD58NwZwJTaAIWeKsX6xGx1gkLEgfZ7xa9kgoSrrBG3 S5q+BMMZmOQeQWV6q0hVXnF3GARV8LMgrHq2M8BZSjtihfm8qkW/x57hQ5eEUzaA Nfyq6hYUG5ciG0bQc89qODSuouCO2wXFw5GraDDjsEg3iSq8lTo/uIADSV13qYKK bXd39apzpDB9RLgNzsMv2bECWx9SowZfiWfhXxyDETv1QeSkHjt6ZmYbHxgbZ0OG pZzx3txHUgW3+OEhWlwOy6ysj1vwiPKF5z9cluAoZsa/6/isntjZelL9SqzrlQcE fz+yGAGDLenYfAlXTptWahMI7sXS+wq8iQQcBBABCAAGBQJMlSJFAAoJEIqviNbY TkGuugkgAIA1mqAkyLv9TdiPRi/o9eKqG10mvY5a+OdwacPmH/8OgdLR0E5bLhC3 BQEct9pm4jaq0c46okkxSBqnDZA6TXftTefD53LnER5YYrjqWVTZqXioSV78mydX EVSliuD9OIwDecOS+/XO/IXYMNRNTuBtWedOuRw18bNZ0VLTfVexZjzAeVUY78bJ S6JcKoqoFVMfnz3REAm4DaV8P0kKxMf07JV0AES0S437igkxvyLHhNYZGj/GgRiZ HvbMoLZLpDEScgWFe7PbCu6liHts8PCnN0Gedrid+5bEn1Yb8fz+9KcA6dSDP1b1 v+/0DWPFqgC9YQyxIgW3hq/FtBp1biDDmLaaD5G+lmRjzAxKWBp9yT3gTJ/VT58y hXtJldKEBNumwpyVsWLPxUBwft71+HDDLLRXBTnsd7vnwCkGSgEHUlERNpAOiCNG khoWqEZFs7WgvdnoZJdOSKWd4+ox5MdgZ0CjbLbdbrq0e1Gydc2R/XVwPahJ0nHv aDQI741ZF9VrMi18ltdXmqv+Jj7wYVPeovokmL2MY0X9Zq1xKv6BWkYrfyJ778mz ORhIx8pZKRj1cs2HbUVXzJOHfZVF/kvFiQ9rBfnu1UYkaBpV2/3b7UrRBm0CqpZ8 qSVVpQnipTjEp2wI2Zo6xeJbLjNTTa02dLinPVlAbrCbxcPolBn5LZzNzgDMn/pH AXew7yW/Vx3nyiWQy7feI6CfMl6Red4VbXl3mkSW5PL7uGS7m4cOhkekLUrs8R1C WqsUWxTdmeqB6fm3fIYu967AnxoFsEIeBKyrVUrPLN4Rs/cEvKGa/1GEOg9ZxdXR WZHTuEv/iM/b2HaWk9HkD671+/aSIPz0qgL2jKoNP+4db3cadADiWHzqiXzB8Xvn pnGKcurBtcPgDdsJ0qLAJas6R7qbpBMVnYzGoK8caZjnHDK9BP0DeY/R8Gc1ykR0 qljz9RYFnJqMPlby+cK2u3AHrBGxc2nHbpkF/ltdnKvtQoFYkeZmtpCVPH1QuOjN 8kVcodUtt0EG/tixVAShgCnB0YQVhRBWzjcqvj+pEnK2pu5fPFFtBZkm1uULB7pc vaAtjLV7yPRJBloZP+R3xyktKfXa0OS7XjfSobBzYYj3zjDFVoq0OTbVNc8g0pLM xkPCrBKib5s5ZWokbhUNcU39Cfv1WTAynS2g8hVSU6itjfBNm0nYF/vNz2pLuhYw VjVHT2NnpWKNfJ1hm4pnINBClSkSn2g4WY42FXMkbBRAJ9/bnF/HKEmMe2O4ew+r MLMk+26Jefk+f+q2UlFV691I04nY2c9JeY55bJkmX1QnpFmWWhIm2rYVxD2jXgMo d4JPJE4ZfIqKJ8hHiyDpC7k4aC7uLDu0JlN0dWFydCBXaWxsaWFtcyA8c3dpbGxp YW1zQHZtd2FyZS5jb20+iQI1BBMBCgAfBQJMaXX5AhsDBQsJCAcDBRUKCQgLAxYC AwIeAQIXgAAKCRALZiBQYlkICHd0D/93SF6+rrGpe++6fnmiUQaGJtejOpT0sm+Z E5zhMAwOW84UeYg1UFKQJSrU6mF6+M5zjsRfKGIUxMabOUvNsco38t377BFhf9Bk OkoUqgTbcepRXRgBmCFsLNBd+cK5tK/TeKI6plrd0oWZTiiu69I4prbRGNupA5F5 vAXizBrg6tHewcv5XCZfVMBO3xheBMrXI4B83oQev1w8wbLiv7bJqB1A1Fsnx2dk eHI5A5M982pE7Oy1ynV1AhV3layxeNNdAIW1dEgHSBRuSa/dZ/1rwqvkAkSseZcz VpjyokTMOshNLKRJVx5cvphgvsL4Qk0fwlb9jJnt/HoPlNvfbTErYir373EKwZ1S OTVMgNrWGTTdA+8PV9s8C+JILl8AmVyF5gbMOJNSemXed1mpbAhjmGuZ6AoN3esK Uk97STgabU0lFk6Y0YKHf+x/Lg3ZC4MpT4nlic63kYMLUfQANOmsnjA+Jwwf+8Cb /N2MJN9eG+MzhW65g+0v+6PJP2n0HxSEC5xHYyulqDuXsRQ5J/XrJqbN5X8LB92o O+IL7aHUHnpGTqBS4X8dTkkAHTX4tJDEaNBN71Hrb+YxPWMVxu6QsW8rvQSd75aa 3TF3PMqOvNZDaf4tsA7UNrwaYHxOm92W1F7VLgHzgHzdZRwxl7Sw+0RswaZCfv85 7mT8KUBZ2YhGBBARAgAGBQJMldGRAAoJEB5ue/FcGPhUhjgAoIYaCIidFdgL1cUI WiwybLla+v1OAKCvCsP8RVZ9W411F3FOVn7YEFevp4kCHAQQAQIABgUCTJU8KAAK CRBhO7EmgFA5DFEjEACjWyOy2z+mfJdvmo10A4YXqxNXXSZXQcWtfF0sGQQV3o7T 3hKrX91QPYgjoUoPsRBxE1XUX29CIWiLRKJEoJHKaoVaXYjBvSStrlAA3MXJQD2y wrmrYLZGktAU9IJKhGeajCHAXgQY/rM2yYnhMle4Sx5gNmV6OLXOOgdoSiF7Ntlf VSe1eoHbABaZ641Ywcv2qoOFfZyunERYR66KhW1x2MQWcQU6nqGPk2IhbUduxY5O vmFKmOcbImoZs18ozIo0x1H2I5+Cc0oq59DIFy0o+WaLrrnFeTkvsOik/2jVjcyT MKqXDioQrr8X7m6EeGaSFF9Mw34nqH23hh8Jq5L7jiCzLqCtxQfm+7cw3n3sWCXd WJQN7yWNKkVxA8FkTSXCp4KQmpa2WgPRGmv3JT3DDDQaI5FGwIbVHG2vDAijOQL4 i+LyO0CuwbTHpdtAdc74DHvIYrc64xZu0z3MLAfPQS5PWBXdqJS7xg0zdVaOv+R8 xxrbf1WR2KQS3TQjQcmni1C851N6eQQ0Bd6BPg1ELg9EpSu9jRraEmH+Zv/HmU1r McxgDMm8y05Zv1jKsjS5s8QWjUuU6YPzv9Lp+isSJRj7NVCrTx65NgxDXbNsQev8 5NPx6iUTHBJEsJ8tqDpqttpDP55lvQDHQVp6VUsSsGK/NF9zB7AiOaTxTU3lsokC HAQQAQoABgUCTJXUnAAKCRDSHNIj7o4N1Sm1EADd3Kfmr3x2ab1Li8e4Qbol3O3l YgR+Jt79TF1VI+FSWeT7jS53o0VJlCMqh3Pfthnlj0x4yuZAt+YzDX+N4ZawNDBy Uvz6zRWxlYMUsaPNodqK3BEfPNXtV6WeVWx2uv3fcRXbtXOO7ZHimUfGOmmJR4lF x8WX9qWenXw3UJXqomaSEM/qMTMySRp2uTXSSaUO3D7cbV2rnjgGq2FgTnWETQ8G T4mhE3Fnxcg0cAcLqNcMNK3mn6/L/ifYY3AtQQ9UruK5cTEhkSROMIZ2DmqmwKiS CgUCVNnYOiUHgZIcanbJBw4B0N8EAWE432uKH2smfbHwIpTVPuXGtl1f//bxDhZJ LqY/1hmmzDXJlkOVrSM3CgMKUAAT/Re2U8T6T4Pau/ti2KAj6QEaLlWfzfUC+t2h yjI4ucinP+ldBRlYWr0uwDdpp65iFJUmesppQ2397hZgQRqk8ljn1HsleYKjiNAo cC4unKgyXwHYLjs0csOQYnSMRxyGauw/0MbZsjrLj8qwtFzktGteuuPGXVisJBOK T0ZhAcrLEH1zv07jgUQpwCDgx2n2CJbgum7uT7bFgzqW6c6voEAfXKcupCjgjhU/ sK0x+dRk00GJ8tBDLa26zNZCPjnnR+DwTStwfl6lkekbwg+VAuRtHaft27QC5ff7 Y9e939IBmYtLrFfap4kEHAQQAQgABgUCTJUiRQAKCRCKr4jW2E5Brm1+H/9Lfc9V 6hi4BpBMZh9RGpQh1bZ8U/ch39TUUDhfG8lC7TkzYN+H+S6/7uxug/no1+Yj/YCm hNmwkKycpdnl/37R6qGfeuFm8twuo8DiEvupp7Yorr4Fw1TpgpHs+qEtb+6jng0G RWZCR7YpFkWGg8ZrtG92P9qk9ynxj6ygpE4QDvOTpO7W+d4e7kuNBBqLhrnDvmY7 /sVMuQu4rOlTZa/k0srgscIt5pCPpGtVhRFM0OIJVhkJgPhM57onZW++uEpSg9SV MBWbx27FMYA+b9e/if7kp9A+pcyMel0G9AEKaim9h4He2TaENjRD0F21EGXnSua9 8uTsgMKiUZCd+3pFpqKHCHeGqLkpsI1g2G0wSr2RyOexjtS5c6ppFo8mTUg9YvEy ZLP8x1L/jVDQtr35Op6c1RhBTOiuGpcQT9fodX1KX/EAIjRGj614yXUvvCiEWGuF WvnRei4RblxNyt/7jnu8pdnHQNGy0nFkcPigwu77qxKpBS9LdMk7XgeVcvME4wnZ kM953Zk/YZc0MeN8EyqBxGImHBRu045/ji0BSMdFD5243G6bDUeoaqhBtm90GDUK cjKVGof877x1illUZMLE1zWx0Cqv2X38krrsoa3WPhhm4jw/R3slbQNAQ6HaL8QI AMEbbqo9Pf6xi+GVv38nW6sF/8gTaePFMmWhjqCQ9NXOgJQC2SEBVbkwzEo5D7b8 8ao65Z1kr5xS7AWgHUrMyr2SiT7Ab8478hVVJkBC3fjuVcGSdpMu1SIMDhbXKVhD 786or8up27iGTZSulqPqmLarIm8NPWwOY722HgCMoxuDZYw7WFji01VOPXz8Ncme PrMo9jHBHrtd5UCDVpnXUolJmkGMFMFWhTgsxgdcKuEf7eRs9QGWnGRHrcDppEUs 9OvQXFUvva87EAFFnCh24xwMddGWuXqGbT2UuMeLXEjazkPwXtp9bHGsxVPCDlQa jDy6RTcXNQEqKpsAx1LzQbJbo82hScjktgkfm2LSskGVm3Qb41FHRDEN4szRE84N 9UJCzt2X3RhpfHdsY8w2pSHNaHMD1DWUJBlRGsU4P+VXSXddihWdiq2I3TtgJTYS 9kB62gF49DBCbzGq0ELDyCwu+/YbBeP4Bpv+xSxXE2i1NhxUGjCw7nal+poPfIV7 rv+g5P0uqvad6XJ0q1EzXy2Ls1w9I+uJwNcDa9gZMdX4SGSTCUmcp3zZc29yQVMB j3RxPfP6R7CjRk1WYEiB7cbDk/GJ9h5/aKEYLt/I3zhn+HS/Yd8+DSY8rfT0hn2n ochLpRLwnfKaCi7D1PsvqE2ohpOrP39TGs5p9uKe+iYwpEr2cNAhedIO5jEvsHUE bBnfTiMeV8IVGPzvuQINBEvFfXkBEAC9GUNu8RZ/zY4BX8snhKcxZrv8FirsDPzc ASJn3RUSadGyJJw+0sf0pUg80Zj5nK3X4c/vqMeu3Du8X88CSLCW6BcKJu/jsFv3 qh9htzSiC+wIv+pdHyPLG+Wfqr75rxVOiQvGajPAIE2/jITbI4NYhq3SjzDjzn+Y ZeR5QsA2Uj7c8Kqnc9o6ZgZaNgkvN4vxfleRS8ubzW1HsfPaDIJzvg+u4E5lKWdq Nv1D+rUmshrrSgpVZD7m+SlMbAiC0Xrl2cpYB+oFeEPTM6v8+KORTNnJGVGFBTKG s6lzyrS8Pq411e4bSaoG9VHjaRahrmtw27kg58Hg9FZRtilQblLFWFxx/Rg/tAnz UBcll/xiKHpcshDAr1VKn8TcoFMjrzOPmfwxC6LOIdjLcY0XNSjUM6vNcnJrmsTK OgZGkD+JZk5pSsxnMWNU7VgKWO/Wmjvy5qUa7FZkh/A7FPus8eLf/711NstUB6+6 k/0eoZaVvtZ5MVKhBrkYscLNGOtaV7hwm+0cjQGLK/x0ntj6NciF9pMiGpC+AP0X VIv4rdjA4MC2ZMOf2UttfkzXWIab70MrvxJw9m3VknWOBXTzKDLzTtD4Y0AIGVyz qz86dHlrLXK5Zwort/tFOjpSp9SZUV09nSyT+re36V2VaOzEtZjpf4a1DinuIiQf ugVgb0QnjwARAQABiQIfBBgBCgAJBQJLxX15AhsMAAoJEAtmIFBiWQgIruQP/3YR vBzgcEQAXBrdh3Zfd7QRYJCk9xSNGGzzMVkIKH2n3nhRNRwplsARfnDKMu7ujh+N k3a1zUX8GK2+xhxt0XJ7jBrZoMtEPiSmjLkSSu2GYBbhVsNE3XYnxm19ZpvsNO72 qU4mEjTKElY7jI0oaWntLCJguW0wua4Sc43Nqg6cg1Ttv891l5d1eTk64S/PA9qm QyRG9lI5dtRqNLDlyMPzdWelP3lGzqLPc83HYHKCzjJ4Updfv2bU+eCW/qyyQkic CKyrka0KIyh3GXbHCqmGFuHJTknlF6MLdcEAInBNbjakeWTJinjcivPwPN5NwgSO yte+uI0UB5tWUvwoyqr4e8CJE80M0ZtTYN8rKJJx+/g6EvFUf+qxunanjEV6ZP2L fylVfLJsObnQN0Jv0ae47/F9b2SeWh/CaKtCxi0vzg+s+MKdBTXqUAIPBzQMyL// oq9VpQwqFFMD7fNBjBt2qKRYCmk/UFaqbtG7T6y6zcj/gobPr9QcJYM7FOaY6L0Q TA/H/qmf+xwt4klDsa4DwdVXXVCY0dYsJZ9crRJi61EojtCiC7Z4uMPrszl8+KXo I+u/kObNjQz6YQsKz3Hq4cZB4+n13x1pYZXKxNuwWF2JUQkGvcCg+wAkUKypIrcj c1OtnvugNcNVlwStx1wAekBg5u+QsmyaB/huA4TpuQINBEvFiB0BEACz8LRTLr0n ajj4u5xDZwJ5kWa45ClbiTHCSdePANZQqi7x8qOXdhZen23R8iBKMjLnEix/Hlgr A3OacsG/Xy/CqPxkupOTxklDfThKMH6aifjDr23N3i4ODTyYolh2a8lAKH0WgV1z 85RqjD6qu0nh9Xr3mb4GDFOOqs1ppNf6AzOLTMKFbOMLJ9SVHEgUNRvig4kUid6j AoNrmDLNn/KbtwWlHWtAz4nUCGZfGmMPVKnmg9mwEwfHm4r0/BN2sXK12zbyrqJT siDP4h0MIs81wlWBgHdxwXhBgBJK8vhy4sD2CXApjL2fbf5gjn3ApOdTKrpyTZpJ wRKlSeLkSy/BYKBzbSHmFz3HHTdn0u1aT/9gJYO4MGLhO/Kpm1Ht0aRHaoberswS iCpQQ77EPysJgiauyErRL0ynkDHfEbkBJGbgMjJZn8WYxYxAkVU3vYneEcHhmMZ4 At0gcLxN1/wJykMUiEw/uZmUYpdcVC36c/fM/6jCo6Y5QO6Ho5ENrwEVTSX8GTdU tsKFrDNh4blTcMmTKO9ijq8pNhZ/GpsZPVXpfx9QYH6dJx9Q9W0MLVx90WRdw+Tp DqdSkPOyQndlwsm0+ywPvDhAQ3Gjx5/XSt4WbfT1jYKd5+PQh5/1NyDc5YYQdRkf ftwk3PTDFqAgnTnG4SjFrCS4ImbCKiUvSwARAQABiQQ+BBgBCgAJBQJLxYgdAhsC AikJEAtmIFBiWQgIwV0gBBkBCgAGBQJLxYgdAAoJEGoM2OGpOvr9zPYP/3T/rytn OvMw9Pa4B5rvaQDRgWfCIR4apaEC2nZNjnkocl1tkP1b3wkH2X9DmAlpwqttj7No DJl/uqv4s/SUnB1RyPPBSTmaHmSaKVplSoD6DMh6I9WAbXYQ5lW0DAAE+a45/oiR r1FsE57xevT4p8Ss/QMlVFv6HSaOyqNIgES3/jSlxLBJji30+ZaMYUJCO+yUrdi+ i6oXdpKKodRcfKSMqAcNmadaYzzzfq48ZCcRRxjY4hzUh9mn6RIqwmBFOarQkRG8 jeyyCd2PBPm4yaPPop2/jKduGfQv99q4B+jdZEfm0ZQCGR1f5j+jDnG2lzPTUXZu UpSuSqz6yj2p/QBVaLDYW07HMARrLCii777gZOLMVf3hFMEyRH9uRc5qYalrGCM7 L7koVUzavY+igjo3mM5XFJ8LEvjmMOElRdtjxsyNe47+Eofs0cT6xhM1nKB0FIAm 0m7djGC5LlsWFEQeyvB6Fu7zsFAdQxepTyYX9jSE7an0gQofZq0RqfO0t8+T33NC kJox9YXD8wpkaGIi54EHK2a+dPF7GntH34w571YzUwJAjLia2fELneojGPtUm9u3 aCiPP6GskeGrBS3ZGiOJI4ebCrEYqe+fqzIlUpQRHsJh7B+BfvrkiXscwwceunYS JowU1Rjbruqe7fEkRoqMRhbF+F4ebnB2ZlU+CyYP/R1IwLOjX5MjylDtjVTVULqj UEeuvcRSR+movlF7fOgl5kp+WS7zLZ/ROKWXVJJFNgMTcTGDiy7tYE8c2+0wznZw Je/SQVgRfrob+Wo921vKX+odrESL7J/uGxJO8Ev6fFFXj2EnZFH55POK0LBy1AE5 Fz1Tkx+y/ASj+rq3+ELz51HaqMgYb00KL5x9hL/4H/tDMrkzFx2TDEhLDyKbzt0i 0+8oDUGRt+CBB5BhTsx0MbwQ162A4ZiR36E/jX/B5whZodD+xWf9r6ryHtudPSvm 3/cveeU89EuuKV1FoLQPQ0myshmLnSIVmLLCS1pVpommlNwFkORDRxdziMLuasSB GyKs//xepDSwTky6RihvkKxvKq1WQ/6YKpoS4cjsCUBeuSbWZi4WqGvonRfDmI7Z ehbw8W3BzMIQJjwbRqiqVdCd1FIrD+FNFKNjCo2M1HXTHsjLsYRh20atEZFAw8YP BH7nYeefDcPcJihagnqFEPDUVxz+b50vdCurH91Y/1LO03LVW4Yrt81hIS5q8Ato BAOyOVJ63HlWjDTy5ockVpB4sxIGd8+orp4+Ul9Ryr2Um/AiuVbkGG+6m1qXomMl AlDQ85XiQ9Xjs9ialxSjM7ZSot7Sf+3pUQnxiQionc1HZl0Yc+hKIqAvpPlgb8aD V3aJdCb6dFPeBGLz6ygX =3Dfs2D -----END PGP PUBLIC KEY BLOCK----- --------------080705070907010609010704-- --------------enigFC078B9B187AA343A5A9900D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCgAGBQJM+gJ8AAoJEGoM2OGpOvr9LygP/RqHnCnUBKO3lHAUVpbK4Aum N3h68Jfh1nfsJfEwCgu6kTMck14P773rDJ3d99XmvKcxCE9HlcjFB5eTrYBidCUt ktRuEpHOND7DAQMP3j9PceQ6IDUVutgxTxsYp9Anlfi7jIvWKWHkA5M/X9TpObZo Vc26tw4jXuYYw64GxDyUTQFb/0XCaMnASYuJNznICCgyQmz1VSyvwRt2e9fVppg6 09nHiFoVgJ1OHhMSeZxxJ0tXMIa8iNrml2bxMfIe9St6QcYCgIoaeyY1XyPIlDNj dvxTkNZxEEu/e4eeX38KwGY8xq+2mun8FQM/ptKcfwAAuM+1iHClNkdUDQKNy7OP OOxFLuOqA14l4jav6ITHB3qDqTZfv/D2frMmnPaBIBXi9JT1+MidHYxitqBnn8fN /Tc+hrfFT2FBfyEntba2mVFUe4RswcMCKqmSjHozXkMUUmPf2Wm6D9Bj9RRswG1m pq3GVsLksf21AYlDplwnVqVYS/VedqtzJU+/ckk94kgSow29Mhkmcx/TPMBiRT4q 3s1QbtffIJvEjwUeHKXbAoP9AiCA5x53+Z+jVayG7DpEXaJp3WVUd2iE6tSNXXO7 0O0peUUcQL0VLz5zI1cqVpTh4bRk3AWe54w1IXgxG2I1go30r8P23icnn1ngkuo7 Cb6qUK4ntE47DWZyvSfv =sHp4 -----END PGP SIGNATURE----- --------------enigFC078B9B187AA343A5A9900D-- From [email protected] Wed Dec 08 16:00:49 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29646 invoked from network); 8 Dec 2010 16:00:49 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 8 Dec 2010 16:00:49 -0000 Received: (qmail 78850 invoked by uid 500); 8 Dec 2010 16:00:49 -0000 Delivered-To: [email protected] Received: (qmail 78835 invoked by uid 500); 8 Dec 2010 16:00:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <kitty-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78825 invoked by uid 99); 8 Dec 2010 16:00:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Dec 2010 16:00:48 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yx0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Dec 2010 16:00:41 +0000 Received: by yxd5 with SMTP id 5so753157yxd.6 for <[email protected]>; Wed, 08 Dec 2010 08:00:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=JVoX90PPyzQw/xF5HdqEX02VeBgy1MrxLB3xbjiEWfM=; b=qmq5KEEk64R7uenyYSXKZFMIM00wXjK0Ti9NQpDfPVihkDduJk16GZZAgw9GiFsubu 66TvU9Ych4Bh2tR4wWU2tliOIwaMueBWPaz4THzK/EF+foykGb1RdsNU+E8eXuaRP+Zl 3dpXynXmZZKpKeK2qEtiOvo/F04WnJwPVbvZ4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=UKuzkzc436osZi+KHDVLsYIzsc1AaJkHDiY/tGxAOn/Eo2Ck4m1N0t8c5Hrdx/So6E R1Hiq43ixKw0qW6AbB/eqPzmEmT06nvhfTDM++MlT71Ke2XeDfUo6TPQehatow6Vflxb Dk57sa+nrJ3GoY1tPX7HuvsILKJnFRZxl/piA= Received: by 161.129.204.104 with SMTP id g15mr4743215ybe.57.1291824020027; Wed, 08 Dec 2010 08:00:20 -0800 (PST) Received: from [161.129.204.104] (cpe-066-057-037-066.nc.res.rr.com [161.129.204.104]) by mx.google.com with ESMTPS id q31sm46990yba.18.2161.129.204.104.00.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 08 Dec 2010 08:00:18 -0800 (PST) From: Kevan Miller <[email protected]> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Board Report Date: Wed, 8 Dec 2010 11:00:16 -0500 Message-Id: <[email protected]> To: [email protected] Mime-Version: 1.0 (Apple Message framework v1082) X-Mailer: Apple Mail (2.1082) All, We need to file a board report this month -- = http://wiki.apache.org/incubator/December2010 Any volunteers? It's due today. We should have gotten an email reminder = the beginning of the month. I get several for different projects. So, = not sure if the kitty project got it... --kevan From [email protected] Thu Dec 09 00:56:56 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25609 invoked from network); 9 Dec 2010 00:56:56 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 9 Dec 2010 00:56:56 -0000 Received: (qmail 68619 invoked by uid 500); 9 Dec 2010 00:56:56 -0000 Delivered-To: [email protected] Received: (qmail 68603 invoked by uid 500); 9 Dec 2010 00:56:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <kitty-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 68595 invoked by uid 99); 9 Dec 2010 00:56:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Dec 2010 00:56:55 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO TX2EHSOBE004.bigfish.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Dec 2010 00:56:44 +0000 Received: from mail119-tx2-R.bigfish.com (161.129.204.104) by TX2EHSOBE004.bigfish.com (161.129.204.104) with Microsoft SMTP Server id 161.129.204.104; Thu, 9 Dec 2010 00:56:22 +0000 Received: from mail119-tx2 (localhost.localdomain [161.129.204.104]) by mail119-tx2-R.bigfish.com (Postfix) with ESMTP id E7EDA1AF0564 for <[email protected]>; Thu, 9 Dec 2010 00:56:21 +0000 (UTC) X-SpamScore: -5 X-BigFish: VPS-5(zzzz1202hzz8275bh8275dh186Mz2fh2a8h668h66h) X-Spam-TCS-SCL: 5:0 X-Forefront-Antispam-Report: KIP:(null);UIP:(null);IPVD:NLI;H:mail7.fw-bc.sony.com;RD:mail7.fw-bc.sony.com;EFVD:NLI Received: from mail119-tx2 (localhost.localdomain [161.129.204.104]) by mail119-tx2 (MessageSwitch) id 1291856181481809_27589; Thu, 9 Dec 2010 00:56:21 +0000 (UTC) Received: from TX2EHSMHS043.bigfish.com (unknown [161.129.204.104]) by mail119-tx2.bigfish.com (Postfix) with ESMTP id 7292B4D8051 for <[email protected]>; Thu, 9 Dec 2010 00:56:21 +0000 (UTC) Received: from mail7.fw-bc.sony.com (161.129.204.104) by TX2EHSMHS043.bigfish.com (161.129.204.104) with Microsoft SMTP Server (TLS) id 161.129.204.104; Thu, 9 Dec 2010 00:56:20 +0000 Received: from mail1x.bc.in.sel.sony.com ([161.129.204.104]) by mail7.fw-bc.sony.com (Switch-3.4.2/Switch-3.3.2mp) with ESMTP id oB90rq0w025354 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <[email protected]>; Thu, 9 Dec 2010 00:56:19 GMT Received: from USBMAXHUB12.am.sony.com (usbmaxhub12.am.sony.com [161.129.204.104]) by mail1x.bc.in.sel.sony.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oB90rpIv010262 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for <[email protected]>; Thu, 9 Dec 2010 00:56:19 GMT Received: from USSDIXHUB13.am.sony.com (161.129.204.104) by USBMAXHUB12.am.sony.com (161.129.204.104) with Microsoft SMTP Server (TLS) id 8.1.393.1; Wed, 8 Dec 2010 19:56:19 -0500 Received: from USSDIXMSG12.am.sony.com ([161.129.204.104]) by USSDIXHUB13.am.sony.com ([161.129.204.104]) with mapi; Wed, 8 Dec 2010 16:56:18 -0800 From: "Dempster, Kennett" <[email protected]> To: "[email protected]" <[email protected]> Date: Wed, 8 Dec 2010 16:56:16 -0800 Subject: Thoughts from LAJUG presentation of Kitty Thread-Topic: Thoughts from LAJUG presentation of Kitty Thread-Index: AcuXO+I+oRZnv1QLQy6DfStsbMX2XQ== Message-ID: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_1454F1C7BB288345B1A5C492C5671FC576ECBFE7EBUSSDIXMSG12am_" MIME-Version: 1.0 X-OriginatorOrg: am.sony.com X-Virus-Checked: Checked by ClamAV on apache.org --_000_1454F1C7BB288345B1A5C492C5671FC576ECBFE7EBUSSDIXMSG12am_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I attended the LAJUG presentation of Kitty. Not sure who may have written = in before, but I will do my best to summarize some of the thoughts that cam= e out of the presentation. * Several of us liked the idea of a command line JMX tool independent of th= e tool you are building to make administering tomcat prime time. * I suggested making Kitty into a pluggable architecture where the tomcat s= pecific groovy scripts are just a plug in used by your command line JMX too= l. This would require some pluming work to be done and forethought into ho= w one would plug into the tool. This opens the door for a separate Tomcat = 6 and Tomcat 7 plugs. JVM JMX general stuff could be another plug-in. Thi= s type of architecture would allow users of the tool to write their own plu= gs for their own specific needs depending on the Tomcat environment they ar= e running. It also opens the door for people to build or contribute plug-i= ns not even related to Tomcat. * I would also suggest spending some time thinking about how users could ov= erride and extend some of the functionality that you have for administering= Tomcat. These are my thoughts and seemed to be shared by others that where at the p= resentation. I hope you find some value in them. Cheers, - Ken Kennett Dempster Senior Software Engineer Sony Network Entertainment, Inc. Los Angeles +1-616-395-7812 --_000_1454F1C7BB288345B1A5C492C5671FC576ECBFE7EBUSSDIXMSG12am_-- From [email protected] Thu Dec 09 19:55:35 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14009 invoked from network); 9 Dec 2010 19:55:35 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 9 Dec 2010 19:55:35 -0000 Received: (qmail 98169 invoked by uid 500); 9 Dec 2010 19:55:35 -0000 Delivered-To: [email protected] Received: (qmail 98153 invoked by uid 500); 9 Dec 2010 19:55:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <kitty-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 98145 invoked by uid 99); 9 Dec 2010 19:55:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Dec 2010 19:55:34 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qw0-f47.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Dec 2010 19:55:25 +0000 Received: by qwg5 with SMTP id 5so2919798qwg.6 for <[email protected]>; Thu, 09 Dec 2010 11:55:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=y3EuZRhg5BmwTKkfWboAVIGiagXt7DWTaJpRGcOWYDQ=; b=NN/rQJaGK+ZMUkV2/sKJIpHPoYSfvXmPP801x0eRByFEx2fQcwFg/WK/JYURsh1dSE 6CaMG9w1Nn+lsnD+oCIrmIUEFCTBK6iY3Zqx9nRb6heaPDhQ0MVZa8affwkb8ItxTuLt FprBf61dFXOnCnF9xHnpKIBifZp+U81Pbmudk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=t9qoHbalms7xy+a4LrRK7akTXYdyDiL46du2AzIm0RupvYN9xfIDuCD8RwgyMqLTqb KMeT9Gq5IClZ2pLiNYGchQb4M5jc3vlJiMcb+qL/N0g9QWylesrWmDm34/Da5IXBRenw Mlkg3Swooj81hLxgB7FCgtqVv+q0y1ttYE0Lk= Received: by 161.129.204.104 with SMTP id t15mr8892699qaj.10.1291924504406; Thu, 09 Dec 2010 11:55:04 -0800 (PST) Received: from coltrane-009027039152.raleigh.ibm.com (bi01p1.nc.us.ibm.com [161.129.204.104]) by mx.google.com with ESMTPS id t35sm1406179qco.18.2161.129.204.104.55.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 09 Dec 2010 11:55:02 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1082) Subject: Re: Board Report From: Kevan Miller <[email protected]> In-Reply-To: <[email protected]> Date: Thu, 9 Dec 2010 14:55:00 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <[email protected]> References: <[email protected]> To: [email protected] X-Mailer: Apple Mail (2.1082) X-Virus-Checked: Checked by ClamAV on apache.org On Dec 8, 2010, at 11:00 AM, Kevan Miller wrote: > All, > We need to file a board report this month -- = http://wiki.apache.org/incubator/December2010 >=20 > Any volunteers? It's due today. We should have gotten an email = reminder the beginning of the month. I get several for different = projects. So, not sure if the kitty project got it... Any takers? Can still squeeze this in... --kevan= From [email protected] Thu Dec 09 21:35:35 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86269 invoked from network); 9 Dec 2010 21:35:35 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 9 Dec 2010 21:35:35 -0000 Received: (qmail 44511 invoked by uid 500); 9 Dec 2010 21:35:35 -0000 Delivered-To: [email protected] Received: (qmail 44493 invoked by uid 500); 9 Dec 2010 21:35:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <kitty-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 44485 invoked by uid 99); 9 Dec 2010 21:35:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Dec 2010 21:35:35 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ww0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Dec 2010 21:35:35 +0000 Received: by wwi17 with SMTP id 17so2850951wwi.0 for <[email protected]>; Thu, 09 Dec 2010 13:35:11 -0800 (PST) Received: by 161.129.204.104 with SMTP id g8mr11085960wbs.44.1291930511653; Thu, 09 Dec 2010 13:35:11 -0800 (PST) Received: from Asura.local (cpc2-lewi13-2-0-cust269.2-4.cable.virginmedia.com [161.129.204.104]) by mx.google.com with ESMTPS id o33sm254418wej.13.2161.129.204.104.35.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 09 Dec 2010 13:35:08 -0800 (PST) Message-ID: <[email protected]> Date: Thu, 09 Dec 2010 21:34:59 +0000 From: Pid <[email protected]> Organization: Pidster Inc User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20100825 Lightning/1.0b2 Thunderbird/3.1.3 MIME-Version: 1.0 To: [email protected] Subject: Re: Board Report References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 1.1.1 OpenPGP: id=62590808 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig7BACB9A051F13E1F45EB747F" --------------enig7BACB9A051F13E1F45EB747F Content-Type: multipart/mixed; boundary="------------060609080705080007010806" This is a multi-part message in MIME format. --------------060609080705080007010806 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 12/9/10 7:55 PM, Kevan Miller wrote: >=20 > On Dec 8, 2010, at 11:00 AM, Kevan Miller wrote: >=20 >> All, >> We need to file a board report this month -- http://wiki.apache.org/in= cubator/December2010 >> >> Any volunteers? It's due today. We should have gotten an email reminde= r the beginning of the month. I get several for different projects. So, n= ot sure if the kitty project got it... >=20 > Any takers? Can still squeeze this in... >=20 I can do it now, if there's still time. p --------------060609080705080007010806 Content-Type: application/pgp-keys; name="0x62590808.asc" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0x62590808.asc" -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) mQINBEvFfXkBEAClvXQ4bG3ib0nQQfEpmlZaZyAGi+4njhhDAP/n5Zbi2wLcAnlR WF3FyrSOnFns9V1gNA6zdLPhUs1KwH5vBDlU2ZkOF3b6pGhAdTr0HPefEBwz6StK Jlch9t+xJjV/llA2/n5UUkCLw3gqyJQMvbFSfzLT9YGF1ehsngvK/vRGIqZ+TIoC +lGasSJ8B692unnvDF+MSdNu7X2ioQJP/1SPLg+/fHGZQr3zdjf6BOJSHTd7yg6E /jCYe2F8TxdcoMdYuSNIf3B+whMHltq9HdHipZj5/JCo9tKyQuzk1I9kdgsFehIe fd4mnrwlv87CM0q6m4FgzivG6/gIJiddgfUHAqmRvDh5CtXHLzXEDGJEA8xkQ+Jc AAbgOYfGyYh+1D59U5R5qoUkVeb2tM6SUpHOYK9E8H5Pml4kHyXFctdq8kD5y+dN A46/ru3bQEYNcBlyGEpOPs8okmoBxYlUCMdH38YDLbBEverDh1tJZ6TrNWEr9if8 vtljEZc/Mebh9n6btImmrHszAs6M5qHNvuHaWfTuuXwPEhsdcFF0jLMREUMFRicc CSibwKxnHua1u9JlufYaJUeJifnI/ugpIS8Lbaaj3BDT9DIWVbIJKr5yAdFv3nVV IOiyhxQh85y6yOoXsTR80ADu5fvaXbiEOhD5hsvcRlP/q9m2Vxpul8O0ewARAQAB tClQaWQgKiAoU3R1YXJ0IFdpbGxpYW1zKSA8cGlkQHBpZHN0ZXIuY29tPokCNQQT AQoAHwUCS8bBKwIbAwULCQgHAwUVCgkICwMWAgMCHgECF4AACgkQC2YgUGJZCAig Hw/+PEuC10bCXKqvd9y0Iyvi1iqWVJIhL8cUW3eQsPdKy31PkipFokhRK54WAI3c qslF758ywz7jxJ26P27JoBRzCk8MChFvs/OJpZ3WTXG0RbKG1Nf5e9ZuDhKye/Ql xHD4Wxiavh9dzOB0x+FBYmjLyvyC1ElLmrhGnltCPR2k9ytV7GLJHCCbIP4s+Eg6 qyX/RysGAdHHdzeCgwGU79TaKTn5LNTxeuQmVbBk743YX2TBhxLwBOiwtUfj6t/l 4JGrHt/OdoPJCcxpb1FOHCjdfou/gkepkGJIwMviPWrd+tgb4ZG/+urKb+i/QCj4 pr58xjQrt4Q+bxTNZA0HnsE0Z5xXI6UCyavPnn55IxEFQMon4EoFBgKMEyZecrkw HuvL1BnkhPYKLL2Ox0Y6rZot3Sq75x5xWjP3uUMj8mLxwDULfFj8qxBGumaYxLr/ hJf78RvfnVaVOsovNXry5RxoVRHTAyOO4jwwtSGZs5lzLHqueKq9Ol5m8UON12Py r6wT8wBCU0Mu2TsbGzkld4pntERLLlEshsdkKFy+DfWpbEFcX4/lFMZwq0B9dpJO D/8grP7+CRuuNSNe7YYUaTAOrRJzJldvB97wjSINKcv+QYw+YojZxcKcNdFXkRi+ hH/ahTr6xhMKmsoL6Jyu/EtUcwGDZyOGINFPvdSqaeBmU7OJAhwEEwECAAYFAkxZ OTkACgkQEMAcWi9gWeelMw//ep5EUcJuwte+DZv9w2PiuDnm7nCU5B/uOmbVahsF nBHC8BzO50V0qsZmNcA+sJMUhr0WqJZ41V0sX3ROcfwpNe1xOIStQy+ftAj2w96K Hz68vH2yubVihr5c7SlNWgoVunVjliOJvOxnIDbg25c7yh7WxuCmqy3M9wSayH81 FWv2xZOfV6f9n5miENJB+b9k0i1OpcbAXg5LWC3OrraDIXPVwj+HR0Y4p6reYOk3 fU3JuCc22/+kzwCUcfOUE8pf6a7Ai9x3sPbmSGtw2BIooiGC3XKTmOpXhPmD+IdZ 8bsk5jezbRSKsysOXs2mm3Fi2Ng1fZ7EB4N8/TFXEVKGLcbnfFTZ/ip+gPSVXf1v YpUaNk22GVk5YV6P8t4JprfPl5nPnQMg290OC30RVPzYmFnDhABh7wkueyIpkgSt Z43unewtcY9S3irjlRadoy6uDZOVkxKGNvBnVzOxvnuktEB4g9eI/boEiz5Vkq3b Oh5CwYpJDDPJPRhCxZ1j75EaaMn6BW5TpO+ju7B0dsDxQEYiPddrTxWljmRI3p+F A7284TbSmajG//XxqVGun8EOARJ9pOkTsmN9s9eRDq1am2HaGZpXisTNYDOIi+gp Qv4vbVIStFLm0nCmB69Cq5TF5tGhAry4cu65pAKRdn1DNnazyo0FBf23qSg3I/x2 CMqJAjgEEwEKACICGwMFCwkIBwMFFQoJCAsDFgIDAh4BAheABQJLzX3iAhkBAAoJ EAtmIFBiWQgI+iQP/29WC9Q/Frz8nmJZZ+qCsQ7CbimGaSSsC/DCP0r10Gfe+BT7 wqgbD1NMJRvOIXw76GgXOGn31jcZQJLmz5oQrWAaiOgTdACEtaYoMZ6QDzE6HIeW 2+06hxVY0gCELuhJ31iou7qGSJVLwOhTsF3iTChuZT5dVrxIVYv1D9vc174popEj Ng0SKo9FXCfOuRls5gPKKKb3z98JqZjXh13LMG560On//ABaJIPVcb+ZWrAO9MLI hSuwhDvtuBZuFV5fUwFGONIPAVoHGuIZEU6bI1x6ddeQnRTnPSBycoEAc4s5cyR7 eDWDDhdfzXafKepX3aNCMp7bc8dAvGJ+33gLGzeY8Qcb2At4WpJ6gim9VVsHrE8G Uz71qDQh/KJAuiwj+pTM2EIcDYlSzX74keleNQJ/wAhSuJbsUUAxT9QF3PMU7PdF rV4JN1JGOAhiy2rR9/OnZHha0zVT5sRk1ZUxLS2EUCDqoHJi9ORSfZz2g1Q+oEL/ EiH6eFHS+RzOjL+KH3+tMN5D7yKB4k/GHqFRE/jh+8SqVQegnqDL8HCwDdjn/PnV IcALxMpPYEVvgl7ixRvU5ct3LgI89AnRZBxL/oIPO5Js2+wKye9cIeT0XOLOxjK1 hO8wb3NdLqlE91t5lk4SUtuyBtHqNjZn40pO7Wf8JlSf/eqh1EUyUjHiW7gLiEYE EBECAAYFAkyV0ZEACgkQHm578VwY+FQ5DgCgiid/m6whU8G15lHof4Gr0ERkpNcA oKA47nKZDX1Dp43X2P5mmdVZ21fMiQIcBBABAgAGBQJMlTwoAAoJEGE7sSaAUDkM vCUP/1A3NgrIwD61R7puDLK7VIaTPXMKW4coFNEMSHBobMR6qiiuQR9d2sNqAWJ5 W2ml0riNwyztVarJheXIa1TqcZFgmRK0nJ/nbOunk+h6LROgxdTrpPTwR3dl8HPr 3MNVMyD1gcTFJUk/xKo1MHQuCyUMaQKZ2JBtWk33nizrkQb5Jf1Lxz4I2TWQGXJX 0CLGnz0iFeDTlTJowDglbtjPyFDUFiS7cwd25jIHJSzjGQNEtwn40oLyKE4Vdxk4 nlglXuX1NRCguefnwVq677lavYjKAB6mh2SLknoBKsRvFGJgUYhGfZUdzBpy/Yy2 x8gOQmbHMfNHyD9TKr8AOx1GmvhNgNbAXLPVlC2EKrvh9IIhbMn6A1LclWRUtwin QGpZuQ/nlAfFHqyIP8KF/3ys/OB93F/vQ+K6D0GvZcYiOhDhl8D+beTITK/ariwg UImmcLsQbzWOr8Jws50X9VaqY+FiX/SsPh+8yklKxFrQdOWdf0Fgfl2O29cdobmF XwKev3Ym11d3uArGxcbh5QII9bo6TPKHHbB2Wb3E1f60D3SiZVwh8T/6C8pQRW8j Gj1MVYLUPtB5qCJeJDDqb5Z+L/ocBr5Bbs4wh6hzttDneddOEwPUMDzCoEfxxbUg yIdS9zbD57cQjvgOewvAO8uxjlhx6b/ACinX2phMPi/t7oggiQIcBBABCgAGBQJM ldScAAoJENIc0iPujg3V5YoP/0TlXHF0nIsNuSqpYpIozsRJrUkjGOUVDaMBPTNU 2LM8ilzKnlAV4VocI635x7P6tFWeBiaDVe4pX9e7hvMNmEtNjCCiGypxERMJqNXh m+N5rnyL6juXt0vWo7z5quRBbHVch1hLKqQmXXQLgrl4LMCIGarcSkn109cG3KW/ apldrBlIqRsiyIKwMwPLiB9sMdIGpyNmyqiC4lAkHwaSSVAyWsczjWN3bOVDKXju Pioq4d5CpQ19w7u+WzlVVUbQVfdBKxL09r/SZTt5GpmGLYdfoMG+SqAZL1UBGRnq o2G63fPhS1VHUwurrLK3cE6oy0i5Ct/Tgv0qe4NtOzVcUBDjqf0ooTwCHihpn5po mfzbLDDxxaRJlGI4pGbR6xLVMfMnOU+QfF1F5wjL1DVrUQIqSDalFB47/cw170JC +0tFwEm2dZe4s5z+0vmWdDK98pa8PsH/LOwkxpgnp2vdY4FVrRY3wR7GteCHiIXG uBZGPnwXrNlFQIvF/VKi27wAvTKLczyRKkjUfmri2ydtpnD8xhOMJdNNbFZrAxQs UVKTLAXJ+baQxwhyzZdW61ZzzwijwlCSjEYeWqkav15q9IeJhkAqvpKBSTvL7Guk 63R9WekpZWTsZNMBUkHEZ9/xNUg3vB7iWFh6GKiygFGRW1u2QDp2Y2itmtBumTAy Zz4BiQQcBBABCAAGBQJMlSJFAAoJEIqviNbYTkGukJIf/j4plsVCQZOYQIrkkd/h tlbs+YIXwom5TxGCppLBElPmyEyGBAf5s7RBPxl671Yn8hgb2aYG/5T98tH+KMzg 3NUVNC9lm3F3hBMPu3S9waeJkx/8HRzdzeFmP6euea+BgBM1sehWTUAqsG+0HhTH Vi7bXOouFNf9pDZkHi+GSQA+fHTnSpJ2bVu9t/IroPi9cnqPSNco5atSrlTdyXJN EyK7ui9KjfyISEU0wOIHY+Hlr6BxXlAoPl2AeysKJfcwKvuHNvWzfFa/Unbbne1W reI/W2Ta9bQj1G6xLIK1vsZDwt9OukVeaaFDqYtNVSVXFKJLFvHatJFU+DyEu9le D1obB8i5XvCKPRXp6iHUwDTSqBLyaJXz8FGlOG+hL2M++YtZXCZQEcEVhgIGCZ2l CYaX1W/ezPxHMeXJoQK+6yNlG/FiEj1pYycDyg4/hpTZvwyzRKuOj/MpYONBGGZI 8yVRXkRHgtKCEaVw/oaKZ45LZ42SBJ+kIXr07emm2pLhTrqrvSp4yUTmh8gYM2oQ vp3OZZOOBtEElIEoU1k/S/SchB6ADEGWCPA7CiEB6N3hhYTj2t+iDxII0c4e6f0U lhZwJw3EaqkTp1IyUkBALOLHacIloGLvAMLhinBUmR4GGwCr6WUM6TXSgFHriLvh LJVYnYPOo1W8KggS/353CVCnzO7gsatOga0R9EclB0EGzN8aF1Mu7KhkVjAitRBv V/sOYizOtaqay8SwyWNmVV8A/uZ7/I9dhssfPUphw9N+JSEUqstHYyE5NpTNAONf 8QKcOKsQ0M9br3TTIq5s6YQq8jJZRZEK3zowVzUzQ3IpHATWxTxMgRJVLCmYEukH D98ef50Bk9WLxeT2pxSRCDrVhmLDkrpCR4KnXUbmn2BsyU/GrJk6moMFqr/BxsvD HSpYar1EtA7YMuLFYQQcYFhFOOMu2xhCt8U5tGFLLDRq7g0jLlMIGXT1fwRaKsP/ IW0vaJBECxpSqfq4ZqEeiNbvmIfmMeqTa0214oM5L5/i5JhGfBBo1aShzYbG+Qa9 RPL6TGhkttDje/wQj2jVLKrWVnqcIMKStJ4Yl9YHRflVXS8vipkneCbCqw4fjzVR oOflkL8r7MScc7YYIfb5o5G0MQq8hSomCFqTmxOTd4LltQN8tX6vt+7NHf8fP76r 1hQXpfqc9b58DqSC6av2LPSAGYeqY0r55XJpb7KYqXZ9QlDDnhZboyzulOP5BiA1 N8InzCWICuam9bq6xKrmqTqngkttJdO+OlPgoaGwvaNqQ//jNMEDKArEg5o9Tz6a DTcx7pqIk/u3uMFOpnz4MlLH7oPPLGD6Q83E3DsMHHv/hHFNQoKH76hTPo4dMopF ltS0OFN0dWFydCBXaWxsaWFtcyAoSWRlbnRpdHkpIDxzdHVhcnQud2lsbGlhbXNA cGlkc3Rlci5jb20+iQI1BBMBCgAfBQJLxX15AhsDBQsJCAcDBRUKCQgLAxYCAwIe AQIXgAAKCRALZiBQYlkICM+AD/9LdUKcABy5cWxQohXDu40mZCLodP5A3boZF+L2 O9jpK/lUSnFewKEJznavs2RLCwpzRcJDNqRc6vEzOyrbQvAs6vMNygAGETB9uxaE Kesknj0ZxCsqqxV0VujHYdRlVg4qwsKftrXv4K5nCLkBRv3YZQ0JzcX/wRlfz81S lINoM/IuT5+QzCGKSjxrM1xrhxZgwHIitNCR5BHl+CsqjpjDPLJj1mFqPTLniKKU ZCB7uN2e38FYazKGUIeQXq/e989zTimvQ24AYUjoGnTuqg1liPd3pKq0ryAvdYZT Upj98CZZ6jCCkDisAOSJerwXZzB/o9ADX2mFJukdD3MXLRJcAdV1CrEg4DGau8w6 JYROgUc+C4RONmihsXKyhI7Nj97t822Rj1NAO7z3ptnAwSJGx6WSxFGvWht14vuQ Lf9bH6FzBlhIxUKhDWIqq29K22ck6Fqb5dHbRyE5253tWt0y48dx5W1kP6LOW9zh LN3NBw59SN4O8H6c2jP8j8qExeswpbECiq+gdnqMGkRjDKQwxf93OhmCbCTYXtZt gJttLVCg7gXXlNbTMrEfbWkZFd21RvGu3LTnWfZLtmKvg4Qe89UTAla/phpJKgYF /WAFbC9E2jmh8kQo+ETHw+EFWYy4RjjIthmGegGQ45KbxZA36woKHjsmnB0eZdA1 RUXf+YkCHAQTAQIABgUCTFk5OQAKCRAQwBxaL2BZ5/2eEACvvqFb9meRRLLwFl96 B8RWJa8F+tv5GuA+YiixUq2wCWz9y9NZLXRsUUZ8dVbcDphW+xxR5OiMrlRnOxq6 4nfY9YJpguQYv92Xa5P2LgsmDss+OSqeVyIxV/C29z4zAc7yPLiMihlUEw6+2o0f /ohShC7FBndAjXGTcMyvVvHIhR+wGmnjsN8NRlsq+Y56ZGanAo9zKR6udI/kRqZm /PO7guqRkJTgPmb8AX47J89v/Z/Wk3XQdSpTvZRPoUY2f+oOgwr8m4zBIqBGHwS8 bE8nHti0QNb4NMoeK9LtYI2Xr7Gz8JoIR8bmsRPTN5in1Lwvy85FkVK0rj2TL5IX dA1wX7J0K8bWL3mORn2yloKCmDYFtTirMfKsV/IItQeLW4K7omB7k5Fgr+JRtZjk jspluq3yVUUfz6Zd7G4aYX40uvugT2AA5Akp338z3/FlrBgeoKKc66Tu3FL27t3k a+N4BaPq29H9zglnh9zV7S4tkz+mtKCgnIOoZlyjHGz8XENvCgMHBKMod7v1g/Za IFsq+H5eh+pyIX0VX+PDBUIu8z6/i5NOJta7o/Q/hr8XzWXgz4pz2m+P9CxK9FsB pg66rrUeltJ5iRe648PWDeg2WsbERGi77mHGE3goOw3C0AdFra65jXJ+juAL891G e4YHzuX9lHonTud4ab+h703UZYkCIAQQAQIACgUCS8WWHQMFAXgACgkQrV7bt5Ps V+RqSRAAtthk5f7miyCB2PcxhumLbdMvWFpPk120R9zxkWMyd3+gPdzuRujOnBUA VaRoGXoA4gsb1G++fPVr6Qsv60CEuDsPXpgK0crxED2vtGV9gQe+mheCgjwucDUM BQVFCgnZD/QiYbJ5wJBVrEqvRdLKHHPTOmM7bC2HMAByLLIrnjHgxINsfYfUf8/N 9rf9gz2sOq0mGzVSaM86xbbjySxToYISYLbSws4HYGw+M/G++1d3H5DRGhZiGUMP 8GC0gEDAAcprW45btTzmCo6CD7tS2x3JD47RLtbPN8OxsXBnxynk89Kjbxlqp2gM CXJDsYmnp7zwfmwNEPbHUHL4oj6A27Zux9cjvyY8uSlB7vzrNVjPiEu2lhflx/Ah FK3Np3os0fSb5qHQqO+uVijX6XTHhv1ASnHKXTlqQdq+xf0H6bj7ilhC6UnwnbHz ybNeq/X4hSe12MfP6RglvpZjOGLBXZxK3hTCN0LCIFwR914iCOHVkzMplk7RosW5 qzWYhDFA17pyufaeCj6CWEWSAPb9nH0+iOPVR8BkwtRWUHaBt+xA61BJlEHZWRbW Xs0RteX8N0DPPAYJNBiXQ6YjXwwv3USrSX4u1IgiSLjK02PVQPO5mYEAW4MKKAtb D4yYPYuWv5B2tqJpn26FttSog1D+FflMiZrDv6isWwE8QYbxlP+IRgQQEQIABgUC TJXRkQAKCRAebnvxXBj4VEO8AKCQNiPgfoCBjP7pl99P5mztRWi76ACfaezwFf3I vCBLKtFBg6DTkda5C0qJAhwEEAECAAYFAkyVPCgACgkQYTuxJoBQOQzSZQ/8DC1M vAFq1QqnTOxKtphMCt2LTVTAfdsY0hwoBPpciO8xuPNS+jy2zDyWn5aN381pPRuB TuSPUoOmWfAdGC+6rJlHV+mdynPDObwRsOFfHD7MpkHi7zNxFrc+LCeR1WeLkc1n IyYQrAuVvYkMYitBaoj+dB/gSxv7vECpvHZ8yEViXk9fQEuq+gzy4FirYuUpJt1W ipIBa3wVoXQiMUYPsGTu4qcp2fnv68xSG+2jtzxDaA4PV2nERs+od8MpqJFQEJDz z/BlxYfs8pCBdC2EqfV7znQA8gsh6aT1aBKJEbRqqL7f60zy1k9BT+loA/dHval4 HwxCjdqBeBz1eB+8m2qgsESQbIkGiqPY/UHDNNuRHOpuGt4zNnIYAzqQVz3Ofgb/ wUKF/0PhXy1elAK9yHr22Zb9YjgYCzsUQxL2UIX2+s754YER+YQqFyckyZzXCGKm +IwzhWmcBVkSwy9hlsxUm7BCuM5mN2xwU95WxDJkgRKOfCR7zX5/eiCJQIE/Qgvr q5z6r4xIOw/IblDa2uaHLwv47zMUImpyA9kpl1Oaih8shHd8CgMrT6W16izWL0Yf idF9ByPwrmoN/bjoL0SYpEt9YhcXuNwrDDdnMG+TjTbt4JvLOfgpupw6f7h7Ridv yBOSELsCr8J/s2C2hIGVffVuQgdwKJT02tCqlOeJAhwEEAEKAAYFAkyV1JwACgkQ 0hzSI+6ODdVDjxAApyHe/t/pbkxYC6h01ECYpfgVn5Z5eXZhHlcwDHsE8rcUOqTs UrEwO/SkKN8ZKlD1NAZ8NTRRml2B/y+/Gkrjtql7QYD81J33JRPII/hGYU4Mj9u1 NRpkPaKUpbZFib6ffq2iugOgAkw1lF5h4eJ0WnwokNfKHp2sPHH4N+9igOxWHaXp MiNAHDAsvMOuvdOEsGhVB/1aZFaTOPzD7jfdbEKWFokSoJSTp0tp4BTut7A8eOo+ 1lrnc/nvEgnTrTWQXMwKWnrGjD6gYjoldN8pdezmPesivZwr5qgIyQVejGD5bIan 9gvMf61JAYe7iJwBJ2nz/+ixMEHODMYqaa685tYqdtQLnisXu9Dql2wnvgFEgr8n ij0aTh2GQF0hnyKyzQuOSe43++OxJOTC2gMYpSEPEAHnmZjij/2ik5iqYHMJtN+9 U5orarxu/dFGJBvIhyhoWVOtKX+8beeZxqodEijDpdF57Q5xa5SPyojzhBIBtECg 96wBd/AWkWXZfJHBsoVfV4gu2r/i/dN4jFyu7mfg9Dw1B7d8isEAPes3xpI5L1q/ 073WD+lYTXyJ9NdYgfTx9B/Ha9AUujc+Qx/CIM2fvgDkfC852jSNkac+l+sGLQS4 vdD8110DWLMniVBOZsmuun0Anx/auAsVqDisxJPDszOnnWWfZNVZSlqBDZSJBBwE EAEIAAYFAkyVIkUACgkQiq+I1thOQa7Mdh/+KGE06nLPiCOXXjZ0LpadQorlpCiK DEykoMLsqUT+RxpMvENlPAOUhUhFgcKReStYZk/sO+KK19NDBoU3LCeEs7qdS1ZF 385Rgf44Ki7n5szQDW8kGY/ycY7b8wAyNiGv20hehtpEsQOlSsKOkySngBf9zCqL WcnKQF/NmxTpf/7XzHrYrrRD/KqwlbvBO3emXxnh4gekzB0vcWg9Td/G2UABXoy1 RrraE7lJyx189yxVxmbHGu4fqLErAW9rgq/KzCFSBTDoX0iAyIb+pu64OYxDYzP9 3AdqtZE0o1Ikwoes5T+Tef5ZdYH0aOE9GfuRNLeFNI469pXPCIj7LiJ+Y6dCBvkj JqAHTukIc4ZgpEqRhdNQpe4UyjWv22e2lGqoEU5DlGK4KfrncCO7N5CdItotAAKD H7hIKYlh3rq6MZsKEfWZG0CFLUA0rIH0WIF65AkJm1fZm3ENjHAXH7WT9LiJ/1Iu W/lhiAOzWiq5QS3yeQFYIVSICuhL+Yv9hL3YWfj7sl98gPEUazTzQVRq9cfWmuYQ WNY0uLAu7Wmq775NCKw7FGIKIR+TTiJVRJUPXWCI2DJDbFfTdQIjhFDCEkA4Xiiz Y3Otl5qK0yuiPMk6TKaRmdzRAYe1HMc9priR4m1WWusrOKa4MEhrAFy6LC+j4vB9 I6WYpTPwfRPW7vMH+ri3OaO5y6MFR5A45/BYJ2CtOzUu1dbEWW5XN1jW774WDqFm mSS0f4gNw0shcsnFiGyOGqRWEzPJHu1d1w5arhshlUKQAP3NC7sbeKu2knHFBmt6 EB4iJsvcTjlA0VkXZpdCbIhn/jgkSkuWZUG7XwmuP9XitJlzBm7kI2tC9Zqo64s2 y9bIFwTcIXJicpLUXxhQhThP1JTyTYoUa4J1t50giXlG52q+CNWVUBJw2qdTjST8 fxdCQnOVVO6J7Dl+IIzQlaA5xj1NtmCMUpe0K9uaRM2CMFoDuabkUXgInG/cTnoe YQBdSBu6WB5VSOZWR+9DZkaMz+PrydwPOu0uZjvUVWUsNIF9Fh5JtmkE8yKkAvE5 HAneyG/38k0wd5XwFB5+2FjrhkCaSX3DLZLWxUfmAh9WMYWg4ogANpYpQrGhu7S9 CBpuUzQHZcvPkBW1T6NV5dcIPX30mKYjGi2UhK2UzsrPN9KIIqQHtZ/ErX3dkb28 RgqQymsuVdzNiGaNDNKM7H7qHfLrF8pdokG9XjpZIVx7j0qZ7HgRfvTiurgQzBxr Qnf5j6mdy5NvGdzPd+xlpSl5MF6VSOsIAMy/PEmC75H+YKsKW3tGbQunI6SsUMO5 k5Y6lGHU1Hf9f0XfOjIRlBZE2drIF2RBSw+KeiwNa9A6/rM9SwzsHm3MarQoUGlk c3RlciAoQnVzaW5lc3MpIDxwaWRAbmV1dHJhbGdyZXkubmV0PokCNQQTAQoAHwUC S8WJbQIbAwULCQgHAwUVCgkICwMWAgMCHgECF4AACgkQC2YgUGJZCAimBA/9HTco GT2XfjH681s7gUJr74noB0hn0Eq7vnx5WCy/j+SVsp0FBR/u4I5lg3YiYi5sAkhj v4oSfa5Yp+gd1jhOsIn3Ep+pq+Lkqj27CR9RWlGVrhP8Gek/Mdazc9qB0UPOWGVs B/tfXQKaCXasfMO8qe+PstAjOIJm1ZX1tQ9HftZW8n13eZdUuIglqacJTgY4wL/T 6mtxg1JRYQMOqk7frxnykD2iUxdbuwPPoZswWu43B488oMoldA+KEUH2AzkV8UDz P8tfzGeQ2XGoJZoo6OYZR2XSYjodiy3vPX/DAEQf3Yu79SKsJmZaSh0jH5RJ6ONc UnYx4vORQy1euOwixGOSBPhQALF7RF5C7rR8xl05Y+Lwvlg3k7ddJU5vovgCSMfE Tj9CcMBk+0CPUb/6vFulOXaXwaGA9o2cQ5sQif37zKn4BAXgXaKmI2yXQ7DWEwe1 gN3cn5RgKEoRa0gbab/MrWKvhFcnbPWb4vsWHTyGaPUUisoaEjXP7v05kHEC0lbb TEKazul+WZOPCq/zJJDni77k8y/SNZzDjn3uSO08Anw/E94I8jveIbN58hhz4UDb B3r8lPiQjVTuXReqv3d/Ear40wlQI0HZN/13sYPk4nwK695i/6v/Qkl8bYKpdy9i SO7YBxnkT3mVBe3QgqXRiYb3VkRZGKzIjuHWwn2JAhwEEwECAAYFAkxZOTkACgkQ EMAcWi9gWefiNBAAzFoTywQX/gqUsa94fEpUm7waeOIPIYaoFQiE2x8JqoFP2gUI ErZluHFrlNgYrIfDH1wHpJk8/xOj/QG51OwSg60yLIZcKBGhuTtI6sist2KP08xN dFJrZMnUjJSQE9P0HhRFnF53kCPYT+soGefEzEnVF72uPisEQLggYvWRNwxcWWXr NcKbm5djU1J0GShnokLvO44w6QjgrCFJozpIKhaprwuoKQCS4fUJOdatnqlRXMLD uhhqAwl3ATFIgAW0xIGNpLTmZq/f5wlal88EhZCqdsfXiAAV1f6QjkKYIslhoX5J KizvwR8dV2sz1QEkrh1J1OvLX1C9i/sp6Dti79I3SMg9UWRIsi9mKtclfo1RclT1 7qdQx/1oOJiPW9rocutMUaNlIAITT7wjq0ApAOaTpbuzgZxh4RNZfxxD420vNohM 6EcEZBzKqOMhWhrWrwK7RQ40rLkDSUClKt7a4693cDoGjpAvw9qVEpuqkK1V1acS bzohNKBQ0b8q/4gzKrZ6XWR1clv566FJV0ex1FMuwbiZk5/+o/r4d61CuP3LYuYH wjG58E7LCjhTWhsV813EKjtdV7Uv0kWDHxtEB+rPen/iVvISNdW3iOP/4fXIQuL5 K597QCU2fAEAmzMHIUkXKRZaApPAk0cF0l3vuBLNxNgsaKTb5+vvtOi7zeSJAiAE EAECAAoFAkvFlh0DBQF4AAoJEK1e27eT7FfkqSUQAM62wwslCZ7QczGENPPd25H+ QgWO7enuMTDtRo8Z0HtC9TvZeD6qcJC/uTabU2WkFled4PI0Cy4xSR68kbs/YC/Z ZgYJ+snzerIC4l+F+SxqW1XdHFbpQ0GqauLH3mv7CJ4kydUff6J1QL++5z9zfshh o1Iqi6ZBs/So0tDNZFYDxTm3uNDd56Pj4xh5X8GqlOMCxpQZJXj3BXMtNxt5YVnp Knrl4Q9025G3dKLlVRhVd8j52klN8rMbs1AUI4N5lSJf3LO21n+7FH6qHQz8zc/U cLj1ReRLdlfyB/GbtQJFDRTQQ+eYepYph34cuQVJOcQ94h0/ppVMK0rRF4fKeSl9 YO/pZ/vq8NFBBQZP58gn9lf6KaVkg2Hsj/kQPId3nbkrexK8tFpexeGltyuZsBIq X6RfNvb8AysZFJps7itWujYxaJn4A/2zlvQCGdTCAjWQXejYM0JL0MyrJXDWX3jh WuuWHkBgANvKgc+CtODEq+i31I28baIkd0+Jcd67RiMsZWA8kEGx8LrotShEhbhw S+2p2HqCDGdRqTQJVGGfovlKN6L+fna+SbWTzuarkuZmKQ5Q/EMaYDss/r0ilBip Hs3UEQIxH+lOLRj1OrMR3RWa/IBCf2sFj35ggvo9otEi7zh2M8l48eZHlOj+XzNf 6XatmW9h0NJ96JmDU4l0iQI1BBMBCgAfBQJLxYBUAhsDBQsJCAcDBRUKCQgLAxYC AwIeAQIXgAAKCRALZiBQYlkICDyWD/9Mq0cpCBD5hk8+3VcP/mD3LHsvuTcDWMwR NOiqUZpNrBhk1XSdBEcbDNYu6cLbr6uE67lQqMGMpheIYq3+RkmclybWuuIsuX2e f88AXX9J+jE+GQc0DxrCiZmsspd8xHRzbQVrz+T5tKRBpZIjI7v4i5qlMJCuZN+I KsRiZkq4QGx5kMjnYi83kqu/x0qwnmW30vOmz+OMCaZ5E2qGZSklFJgwl1F+3reP MnTVdG+2dAosre1KBrdluglmYYVMHPyBvGggqlPfgtKa0NPUfj6XWH8f0z6yjpYz Lo9v+anvwqOlCioJ0Re7dY4+bfinajqci7f81WE2yfQUPKl647pPFZHNxVZLBlkd /a5yM6e30BQC6LGT+3XTJi2nKTpZ97K0VGiQnIzGpJzOHZDeu6iR75sXjqRLk/6K nrQq4W4dTzq4bAxvh08IDKwSDvMzSotN2OVoPAQBK4vq65ymXIh8WGLvbmqsNHz2 hsjNAZjv9sWBu+qlpcFXXJVk0gZc6O2bLUXH9Td5pn9siEdqH5iZc0qz1dA/JXMw VfILKkeX35J61id5aMkCdibmYcnNYw4w6B5cLApiyiAJGjGJ/d6EnBukFqouivP/ BD2pdlqyL4b+lOhyTU7RChuJg85hNP5yWOdfv7c1wqbWxRscvyq3YQYRpxP2YbBx nc6XgJdlUohGBBARAgAGBQJMldGRAAoJEB5ue/FcGPhU8/QAn3z/6+v2m0GTBICM pDT+Gix/mRVtAJ9YG15wEeY2bYRQUokx6plNijuMeIkCHAQQAQIABgUCTJU8KAAK CRBhO7EmgFA5DJerEACV+Xw1jFsbtV0Ljm5o6se+izGQZjdlDBZr9GfltAZ1o/nY xUvCGR5uG6/lJP4TYX7OgD79EEgrQMFfxIRZZOuGPTUtOG+BLuIUOWNGUJ2cqgOG 33dINQyuMNPRqb6e7AtJSTSU+p9Am3soLP8ynCzk2OwiSxqPtRKA/jYNsz9M0MaY EPYUhfv1RA4GKP8qjvd8TynpHLQfYw48Qhm4UzyeCzrTyT2RuQ1cymb6hNFEw/qz Vm7VbzKdrgp6WIonaHkxmULpRwjtoIwfHQeZnqvBkvPyKoKfq6kcovdE+9fewLbi yKFZvCiH8+EGcVzZTugCQKB/kJ4mU1ywXkuaqq+y2ojtGXmrUF4jYKZqgTfI4LPB rXAjzZLW5XdUmgL4W1tS7ssZRSy8IWdoNdjnD7teXLSsWZu0atRAHGN5z6PT0c51 MYgqdojk4rPAT4gaU/h0ENRXnwCZPWP56HVU6Pi6/6SeA2SCKwYB2ykB0zucASvQ EijSL0WZ/T+di9whSmmRfQvC32Agce5S7T/zyRDBc8dF6nd9y+0ONRrqkU2T5uOc kaivdCLZor90TaqdNmGsxi40c/GLjU8xCRwdG7ef2b0zCBR0MwW5qBUqxVvFRXaW lq7o3J44DQfLBASUpkG+z/JMoJjUaM6SGsUTWZEBKhUOS+AaMO2lSmPRBp52/4kC HAQQAQoABgUCTJXUnAAKCRDSHNIj7o4N1Qh/D/oDkIycbImnbbI60U6hh1t8Acjz NQMsosvlHS0cP6T2XVXBDtJkHm5KcCYNGkXFHL+prpyyMzVKYyNB1Dus+S0mIVNZ AAahORpOrYeFoMSrzvYkDMwRboyfe2jv/YDfxXr+p9N3hR3MJTZgnCk0L+K49leP x92Fs6S2cVYL2Hx4JMHYdshetWXzmTHIMHJFLr8gPLzsmMUt1rJvSrSeA8c985re olBvKUmN6a07XDDG99CVj7/dHjXiC/bb5ng4tON6cRL9NCKRlaLuhBZfjjP2nS/C 5wZ9JoaktmxnibMUItPozIJO148FTDsWnoP4FR0K9HX+v0lmGIQBnlvjifpkFzm7 ObkD1iID3yJVv8tzeUePDVFgyl2UfD7bDCcZucjBLaLK9zZ00G748T57SZ8m6wuz urjlvVT1xdDlf2rwz/NOySxOAPiDd4kscAWCWSszAvd5LI5o58Epc3YdlJnbUpNT EB/pY17Zbsja30ub+BRXOebdV4kr4QV+RMsQOE1cZSUbWcWs+N/Aa+G867xeJgfX Zs55Q0FzaOJAFURwH5Az75/8sniYHliM1F1TDlgtFvU+MxSBhq+D+lm9lmjGQZAY LxDgQyaDFuchsR05j+xNZwalDv0IJ4Q/5iNVeT2qY2si4vUMIZ8o8BCE6C/rIyJ0 cSgTbYSQf944s2Lra4kEHAQQAQgABgUCTJUiRQAKCRCKr4jW2E5BrrPkH/9pQ52a Q+zaqWMF/wQlQTEZwWUtk6n//s6fKmIhuA1a9te04KSJ+49KeNzxT6GP3Po6y0KG GXtBO0Xdy7MS4hhuuyMN6oUoDMHjPZdpCf9IjW1rN9h2liB/CwxwsImT+HHlysJ5 i0xxrvpqzFmK2IbkhIsS3D31mxsETCzlUxZTZAKWoZ9bv/wHcGJGujNTXT61+Nny oupb2nd8oGbN26Y3co9VcDT76oywToLaluPKHzacfKkBLmy/E1HoI9zC9LmILvit SoOJO/824Tx1cXnsx+t5rXjsZeGjwSzof6uBpA6ETuoVVR4Q4BOtgR+r8y/z+ree kkFxfUNLc4x2eA1P6lS03z4pvpP5kBtoWxfWWzR6aKqWqP85vUeYA0MYEhx3b+OD NKU5KgdI6qugdwenJthGvkiRzO8eQIeNtMxJL/+ZsvDIeOnAiS4/m/xgWFW26eyN X3Of2yaR1UsbFz9Cz1vrABPtMd0HkA0BentDd3b2y18xsq4p3SyADT8Lt/TizX/H TPOVuu6FWVFPLpubm5fKrXkzXEfN0uZkrPo35UYJY8uKWieUiKH2ILT+64RM/vFw I84Yh+VeZy5+5XsO0vSG6kuoGF/Jj1v7ymj0ng3a1IaIpxp4Fl1ssC/4wdayIFpS DNDKSvhia7RUSVjgNMhXEJqxjrzD5PiE9LgxKeln+6PrkVZOxUWcDtAJcjwVcAV5 pgzsMDHW8liyW8AHHCFTIYW2Dpcd+3CmHCAfKPAtFzxr1U9MPmjxyTiy8JSf9138 dx7LWOBMPlyNuIBXG2yGq8ZOTHPvbxPD5JVf+RJEl7avy+fEewBa9gtL7K76W4VS 9d6xd2j/7L4VRIop/3Q1BCm6inZrXfFVwvpCMm4vWUNFXJ5dmgV0vvYzqcrYFdrk 5H68eMm9hCvaYGq4R/eO3ceat2MuiugKhNkUesKpZ7suHT8aP6WzTyMv9PU+lYcF ZDNrEHVaDsmod7S0hSAJ2BdRPZEQZYDTVpTe5E28T7QJk0B+Wx26x6JWhElRwNdA RiRcdyWJOoJi2SG4rff/mTtpakqakJMl2zYK7rGjWty20M/rDLaDTD40VvbGgsfx yvFNZgMZGAJwX4FivFvWGU6hq3t05QzbxskUWBbbizpaIeEKlv9oKQPy0MN0Z6uz lm85BdQdcMz8ywgzv3c3fEv5pq/nAJ6RyQ39N5yurZQpyDAW5NSAcIVwR1YO2oDL PVLVxmBlx0yMEzmMl+/umhY3UZt9yyoL2AJ6Yyp0f7pK2rH5id2y6aRDLbgMZxVO CPTdrG55a9t79PM+h/S/WL+lL6+6peMuBrYIZnzk11xgs59XKP+s4bOe8mtppFeM 2pqo1SBVdXVlEwnntBxQaWRzdGVyIDxwaWRzdGVyQGFwYWNoZS5vcmc+iQI1BBMB CgAfBQJME0utAhsDBQsJCAcDBRUKCQgLAxYCAwIeAQIXgAAKCRALZiBQYlkICHA/ EACALs3ddM7hjgsYta5lk03nGGW/QnNUc1p2tdjyNhZ4hWKp3ED5ZJD/pYZ2YGd+ habL9WSbsz/265orYokeXsHQFXn4XR6mabO2PnEKetEU9ZgGd5lEd5Av03kq9pHx vwZxYxg/+fQUT90LzrGDW3Adeh3iAKhqbdF6y/nYUsiBXg9iDqQJU5kRyj+1iqhF HHSH4mFrUL9F5OOxy9/NfRI5yj5tRHtUaThuQ8Vf19319O15zQHqoMBW1CtXkBql GZr2rGXizzmQxUCBCuVQjh5v/89E+SX7nTycESDUTXrA74SuRrxdMUFSDFdXEIy/ dIYMWqFHrYvVphco4YKUBzN4ytLXYXEQZvevx5SLdHW29mahhCEXOvVek7J7sXmR bU6BO37mR7BGTDjeDu7Ecl8BMNknhEKzwHrcLEmGsxreL5m40JWJECaXX38AI4/e MROz6llLVpr19Wu7Xe5kQrh7wlGKk0aCnfV1RJu3bvUtpf0gabYjPrlc1ew5uoGF AdUDkUrQwINfIOUsxVe+E3NEk7302LJHStGa5VyAmieJWuWk7aF5UmzDAOHmsl5A 3YdnEtdq+NsnmUIUtUDzrXTsiMe1UtiT3yXfU/uziJs5mzJyDzK/bvDn/zw/ZeTH 7jZ7l2umsCFkypJlzk48ODiMQR4EkjoCN6n8JcLNsNDwHYkCHAQTAQIABgUCTFk5 OQAKCRAQwBxaL2BZ54adD/9DA5l3Vb8dbWDj+mKn0Ry4tQWvfOqUKD4G+WCOQYS5 SMpGlkpaNO4EQeb3tZFMdu+RXiBZmoRnDEqMkceoXRyFfkPYc6HDm8s6Duune7DQ YJb3XcMSynS+5unHjrKcgA61v1hsdjUQ9OTLmwRXzWdOnsv7bWWrUcPUlph7xGk4 uXCrGdoCZFzF+2YL8BiJYlUjrLCru9BIjXwagqkBeciv5J2YbjSvLQtC1hCHsq2t /QQjODYj/HigCF544K/qg8cUjhry6gvJfWAkDuy5fstoaUf5Ezl8JSBiEuyNuYIR KSiaDbXiZEpqQ4uDccdLH+z9/AhTO9FCe14frHpN1u9D2yYo3EAsEmwpUVyV3zfU RqcoDLZ1R/WdLzKrskdKvVhD0vc9N4AjYIKfqBy9tQQH0Lni7oY+OYLx3Pgi4dfS RC0qi2TfwvrBYXkGF2XBFpHSDgOXMMgnJ5WTftS51UUUwa9Cy2XKrnXscq+z9YL9 fDhZmb+/NuW+PYs4YkQtqsFUM51JpOZtERcpgpuMpuKDbEG2x5o6ccsNNqtYrpfC agUD6Ere8vXh88vcvjflfvZmV27DuY5L+xUZsIqq24A4Oa2y12kIzHvLbH6nSF9N WflvEfyE6I50S1g9/1KH2NiT/Dph5/vX3U4HHFc7Q6wBPmcPG/Br/LRNaJMpKubS /IhGBBARAgAGBQJMldGRAAoJEB5ue/FcGPhUVx4AoOVq3JsoPPGFXxv6WUodBw3Q FeM3AJ9PrLupWJPeTDCu/AJCaHs7Do8XdIkCHAQQAQIABgUCTJU8KAAKCRBhO7Em gFA5DKCgD/oCO7hApEgW74PiSOC+YVinlF3W4qUttuSBJKXnGoY5IlnIbevR0+m+ o7QNQeJDhJV4MH3T1LtRUTDygF5YQAp3UknDZ4u8TIjQLyJhkABZ7xNMqVasa8cM mX8RLkiwjU2fTvuckFwTORifzh1eMbLLIVS4vCqz26X5NTLCQyFfl4g54f1JwYlj 5TC1k6XoXSo3BX6v3f9wRlD5gBXwRnx4T4QRHy97AwrdISkchAn/UA4tCwWNV0IY C5EnukLBLyOk7n5XKGGf9Pm8gBbWmsh6Cg6xKBBSnCwLt5DPzchmuBO3OScA72Hu jaio9ZlRCllBEu1Iz5qsTUlU6TfzycAgzR50fUXS2vJR8/k7wS7GzqS4oM+22hUf X4gy+eKyzRZqicg2Buw2FmzRyxHxb4dwlp7O9ffhNu6TXmilmliLbGbuYW7q9NGC eolQA70ljwaHh2x58SYGM9SYfvkh/RWL3aevcEXnEvTN2rnBRp6Z+D/3LswxTqEr EAu3c5ro7EEn/JMAa0g+SDciTasAmhx2eN1NBIigxHEeJo0NOLg8pucmWOUZnP7C V9AtSeMm7WJWLNvQN8R1of2WVRdXUI3fDW2NrEqdaW1fLno3fHyLLD+WDY44b4FT txCwP4w1aQJ0KDL7U8jDEJpqEqqtGcmFvbIvEPzR+35ppM9yYY9PYIkCHAQQAQoA BgUCTJXUnAAKCRDSHNIj7o4N1bJSEACtCKq3Go7TenalQiyPTR50OaWUopvUrhyv jvLAvNnmAh4XalbibGXbt1HcAxVsgAhQChEX+6rGphONYWASggNqDwAQtVIT6xgt 8zLjNIBh4KKHJhPKWS0/59yTBh9cvAOnHe+qo+yPgTgkPocTgyzGdZVXOMIKPoA4 taEOjHkSVjHmhz1NE8MxSl2D3Ly4kdpPUvcbqXGZSxB9P+RIqjTykBZVIljKtcFH sVbCJRY5L7XnzEqP6vSC2wLeO108DKCdA9h+dH6RT3l++NMRdet/ZJgnhEUpQ9ln DqVnXAZ52kMwiyPqsKpZQYZF7iCwfsQ/CaZmLogRbXSnTr73VbpzQfkRIhHZzHTW yUlllaYBQZfUA/c1MLt+JeNwqKCrICBhv2h+pGLMQrWECMmrnRAeupLFQi6eNfn5 /wyPYVSnbQv/cj0hbBh2r6JYZq36k3U1jpjMJXjeQ4artWILdB5JZ5O68PPVGmnP DZyZOtDT6rNQSl4cPxyny59N3G6fceHJzmAb61Yt8Y1nk773z0Vh5Ie+W51/AHK6 U4P4r9/WqgVuW/g1foT2oupF5HDfsaBvI3/bNnwMIhIxHg7/SC/bT8BDmPoSutlZ WKyl3NXCFcaNqxu/aJmZfzB9KxRY85mkLa1IoKMixMrE6qrWXt2D/mvxDwGd1x1Y +xHFHaYOlIkEHAQQAQgABgUCTJUiRQAKCRCKr4jW2E5BrksoH/0azGeZx8B9n4Xq 9Trs6AXROROiWsSrnezZXBQHBiB5bqqWZ5CYcTmxsBF8GCNgpiClAXPT44TwClOe yTsZDUaCVQpfKizeIdtGPYE6/JaDZbJ3RsqEEFF98HvGjCA+TQuTJzKznR7JkR7/ btsFpfx/KdHJj3TFgcoQ1Hy1Ia8X1V55Qyr+A/+sS0MsliwtEtnD4yaa1ecz2iQU jaxGnRjtN9iIaj1YCH28PpXUXBoraqPdvK76D2BTnP2wfY3EDGpV4f0XCDfqj/xk TWlgpqn3h8lLOg3+T8zM1QgKyzHRtixeWcR0OKJv5vUC4ojXQ0q3ChItwuS98A2A iPqVP7Ul9cPr1yayQmuXZP0QJiYmiplOLU7suCNT8J7kNgiluX8TpEWi0XPUMcUD eDcTs6dlYVmM6wsSltzXhUqerBjfGyLl0VPySlFFw/AiPgwo5M0Za20fOXMfm6uz sfMY6YarjpDNo/BaNT6oizNgw5L/Ai1wNCMNejV9aqS5WY1izUkej3j19MuxVkHB erjQ/ex2jUcrHE5w8Wk/FCB20l3WjV8qj79+47jWNAmjM0aSYR1bKznoJC4VJWD7 1bdglGxIkPakbEuyI5KUfK78hob4k/n0aUHnF38vnBKHrVhYiHM8+RHdl5ejugQt RrINvpHp6BwnlvrODhGVBR8Iws7TU3lZIfVv2wyHHJ1qqQOed0/4Bs30qb+43Uzp N/vLumF6wtILJeWyNHg8MIWbS32131NWVmVSmsLsphX1WIeA43chlpIDHr7c3OXp tWZO8uOsGku7gRKbzs8C55xtgXKLFe05cBFpePGz5+6z6rN1QtrajkD2zEA7kPHN pj/vqIzPw1uBFaU/PHpHvXu8ZVSoWA8odrH615z6xgtgfss7QYyS/fas5xxfkiSV LM8m1LF1tC8Gjf+fph139upEsUeHkR2bkebhj+rLJIkVkYxrPsL7hsppqm45s7g0 HIdOkh30zBh3ZFxPhS/rKN4XCwrfxFyCnr0YKuDr6vIvipCro6NXAyNgjcBAMKxv 8hVaS2YBD4ZRzrsSNrKdG4QYZci7UBDbFuMZJ7jE5z13TiFDxeke6AIDAe0AdW22 hNdoopfe3baBUlmYc9cpGY3Bf7eeHqpmw1A9kdXLdgAXtARbnJnl76atvmIUbVQo 6gjE1m8RfmhcbjcTKvRqFY2AGlAhAsgxV9HLCZS3+HXWXIMjGGE3/KW8VKI+bH6A 6PIPew9tdUkkfnu3u4Tdsh2K/F8azLxbM1QW9lpUQAu2he2ocCkcDbfftHzpqksZ vynIamR44gs87NTp5bN5YO+Zeu/tOv+g86OnR1WzT1K/cXVGPWFgS0vmLVm5UVnU Q4KsPs5etDJQaWRzdGVyIChJJ20gdGFsbGVyIHRoYW4gSSBsb29rKSA8cGlkQHBp ZHN0ZXIuY29tPokCHAQTAQIABgUCTFk5OQAKCRAQwBxaL2BZ5+o0D/4rPcQeJCbL SIQICuba9FfGID8NbR1o8AZeXlshdh4zd9PrUj3zkomeDa0H5uNFdbECzxfE1vkq /cYqUAPQK9lRPKhwFanNAsz1/4VHXqcC/mTO6VX8hmWzRqm2f46pRPeA90kn+hUv yhRXy2VdETOyt2VPQ2rdE/mQNuWrls8XQ2x+zRDSwCdM4vzlmBlqD6zx7ESibhxE TfsYIU+b9DsRTAyyoE3fTCRd1hHILmb0pliT+uMTVsLFsIGkiPkQbVK2A0K4rWRn YnEcHuPxDcCcn93meAcXqCF6jCa3/BbSxqbRxnVRakXo2/FJ6bWB71HuJJoluZPt G7M0Qgj7eINKx8+EqCyqAAntOJb9X5P9VadEUG3dbdvB+RRasxByf5dGyUU1yUkJ yIbJqvER4rQp1CCXQskuIQ+NhJRekXCLdwUnEK94umqQRc+7mauSeudkfPWv7P2Q oikrX2ht8UJa8i4ySv1SkdKJAvpObHH4qFJh3m9kegUc1NETKkvHtTfzuqrV781E yawkUXD/cMM30F20Wae/ECxg3Tgt2QCYOclTbEmG/VQIawn1s1TQ+eoBABMHziy4 3TzC9p9FPAN6v/uaMOlnZc8vrxCSWTwLcFgdYZuOWKG6Gh5ceLkpuaZt373ZLnwF o39GtVt4mt5N3HVS60v66rO44qvhbRSATYkCIAQQAQIACgUCS8WWGAMFAXgACgkQ rV7bt5PsV+S0/A//RlBktihHSufSg0UKRyiDAxdZEKXTgRB1SzqIP+8c46JBV6rd orbE4FeND2k0V9sP3G9ziuc3lHMPsSF6VYvIpgQaDqsXT4sxx7My2DXZAKyvqIze ElSikuRfsEfodE13G3VZJj2ZfqTqqTc2tjF2vWYeposxLQVbqvwq9fEdcTyjwB+I Vd8APe7Elg6hiRYsd5TfzWhTLoYtJRWDAMnVZcUHmuC8jftduJfmppzK0yUYLOCp G2DsJnLjuSI8nCDTzORMdaTAD2zjxWwtdDe4g/HpLxYenF2Mj1LIYU50g8iuaWNV vifFoTq+yh6eEWokoUmh+53YjRWVvCg3WJ+ixCNB/piTbRznfZ9fxnO+9ZxUwh0m 4AWVUlap4VMp/evWJX98Gyg/6CvvAzhFYhnuOAMX99BaSG34nn6EH/UI2hE/SeNo qzrRcOA6Tm8fP7A82IRZWMthlDAlMkO6G0ahzIK+2tXh0JL5G1e+CSLCcxSOnFV5 uBaf6Yd1hhDEh8Dmmso/SPswUUHQxfy97L+4PaUrd0POtedEcVxorQTNApRa4XRU cX1jtGQ5u+Y2wE/URkEqoyPZ1tTREUqcU4jd5rgr6rfD+3xPSjMWhbn+elIp6MAj 1zwSSILdxwuKrGCc17w8S8oNL0xO+iNK4TSNXBD32U9LrMm7COUTXzY6GU2JAjUE EwEKAB8FAkvFft8CGwMFCwkIBwMFFQoJCAsDFgIDAh4BAheAAAoJEAtmIFBiWQgI Tc0P/iJ0w1rEYWYc8Gpi9EcyvesyP8oSFFk9iAbAFQGNK0TrApYa4BLg4s/qHY5S 8XGaJcwUEPni7G50+Wc3H2/QUpV2kJsPjqbGJxngfMwVAWY3QAFX5qdnAL8elJWE vGXJFcHvDxuAxMtPAzHmNqMqzTHvwpH4oNk4mRqfLW9VBcqIMd690+SSV29wax+S sUeSSVKZY2nZ8y8ycDVtgGadIV8qdGBA5R4UkLCojetysoajJALjo+3yb9XGZXox tN6jITucWIyta6EWuWf/ErI/RH3XGd6qMKMMcXiJhzxHAl0j1RDsIxXpal263OIi QGotBiNLP91aDR6vu8Il0FUNi5GeS9qEm/GWiBPXSDdTnyZOy3/A629F4cbVnSWd 6AVDzxj3JozBCsYOGu4EpQZvyspXUWnYXXa3gEe9QNaWi47mlLTNhHC5DseF9l25 4W6m15Sk9lGRzjXJSp0RU4ucJOm+S89KOsDvCiqD+++xea9rEGXsJjGRh4DlGO+h mMvuW4NOV77zdFArvsnmJ8GssEUVdSvxo2wlQsYiEg9By9qqznth82JCHl82D4Rj iGjTLJAkt/kPrbHCqDdJDTRFWVlAmqXKo0rzV47kdV5QzDOdw+e6FHlO18g1vmvQ QWLVx8seFzKvuvl91j0CVQSZKC1Pc4i0wKYgAvmRPNZYb/z0iQI4BBMBCgAiAhsD BQsJCAcDBRUKCQgLAxYCAwIeAQIXgAUCS8WIxQIZAQAKCRALZiBQYlkICK1gEACX NiXa1ctofMvjGHkyajyt45HdbkSpvcEZG6uZCkninKVUFxYhsCCJ0UMYKlOS8TFY HqeorHhuNkJsKdFAuxFHHrSdUTbI81KVXZ84YDYyYx57pvjtd0uPPan8XQP3dKMW xI7A72vv7JYERLONHqAN4kPVdkOs5BDN2xT9DoQF51vGu9kLHpOKBlukn2Nvozm9 f8v/tQXiMoT+l7WKG3wKBEbmxz6iLklvVwwCiNt2tgqsgGjhAiHPak0Ab4UoKPYu yc8B1BNhojs6G1+UZxCXdp75GAKV29ULjPA70vC/WzOhu8EJ/A4LODsWZJLqQoKt sm8n7uhbrrlQzmOvk40LXBiQVe56DW1sWQoopuOfm0LJtuAnWjiIRNwjyQ2eqIxL OUCVpQEU9m2ufOpY3J3lhehhHeDCCRGh/7oIyVls1M9flmElGeVKPThagG5iv7EQ tuSCOE9LAJeOE20YiNbZk6EzWFY1RjXDvJptEsU+k9WRimy4LBZyMKaRTxfA6O6G TJsGmNirA30dmE/TsYYIFj99O363d2EWE2aGO32ETQcbikYFFfT4f/jY8DpktTSv 6iB/ODlQ2iRXYf5bPBWJ3b4mUpzm7uByxNOBT7QC3v9Ff97NGaMssWF8rX3us/yk ti439jF8jPp7Zjd95IEwLNAroe3DaAsJE0E73+2dwYhGBBARAgAGBQJMldGRAAoJ EB5ue/FcGPhUaBsAn3n2NUiF3ELrIAWnYboJM6znJRAjAJ96oMAx+IZM2GdmwiXO jXtUE0cs/IkCHAQQAQIABgUCTJU8KAAKCRBhO7EmgFA5DJYAD/wJy6ksZt+PT0eL /fPQEzODpBEiq5/6zLgLBUZClMKkteBZjntOcSpgoBndDPlf2nyS3mDwimPk5pnF cOi2IsD25dBkF3AMFND9diN+hk2Po2SZmV0Ib3Q72s5Q4YE4weIvgral2KGkfd7j JJfrIqiCYp+6VH8Otg2jjXbLZzEIrhD0T6+88fWm1SaC/1mDXhGkrIm8XAJeG2Q4 OI4V6AdH2TsrAXN8CKdYpQx8WH1tGDOISFSHahGgVvj4+Msyr60K7OHJwYOqavfy /wjEIkFGEcl+fBe286bV7Yxqj7VZUcxd98qloolhi0IuCV985xoEZrf7mCoOs+2T 6B/hO1Sk2dimh4zuhsM5uzYkOMMNU7g3J43K6RyVgbn0Iil3ZeXPcnWanKKfnq0w oLQHutrEWG6gSSrujCqvEbctiCCmC74Wf2BkB2p7DegQlh7a1s4+W72aLs4CVLGJ dzAZ1wEE9ik2qZ7Cy+m7C7uxQMSTy847hhVRZnHu/d0TDCYpoBemK3B0jb2xtEMp FIQ9V1a88FI+V7yyQQcdx/7JELYvqnhgnwGfQ3zUneSMLYGPdw4OzPsn4srOVODd 6duuv1Z/HmKon0MqjFpOwjN7mWA+cLhDTBLd2cCfIA1vrjtiwVQEze72qSY/BPSU XbYIriXNCt2Y6vABwKBGHDH52rhSlIkCHAQQAQoABgUCTJXUnAAKCRDSHNIj7o4N 1Q7nEADqyRodhe27LE17z+7B+wSeIoCg+JyD+CtmS2sEGsDr5nqjJPniwCPXT8b1 znYB5vhXQDO6bMosZGkGfgQlDaFscxbs6aVsUh+7KW1ccN87LNH/8mpFaKlqiPYr ABe2ns75o8jLSN0FOAx97nj+dFFB7P1Brz8DeIUWURrsPGjj3ElbhV90mNJD69Fs VBrHaDlZQEfaJG00ilQ6Wg5BbHp7Us94wg9hNOj/U0mnTzIyRaWcAibG8XWTO+Dr OIX61RllWRwY1VGY7xQ9NyM7+nIU9WeDp0x5dwnKCvrW8mh11nP2Sljh/nNoRIz2 PfdjKPCCInRaHfBsY+yZlQMUh5qtaW2Zl/STgPzE61dwljOfSPKv8+g6d63R4H1r 1cRs1jgZl+YsZvXZwPYNbS4rRRJ7NXowVFpaJhvof0MRKbsyN6YFkmsCXytSs8U+ kO9mlluyHBF4TARv3C+xhJooRqMoaxh6Y6bsdKx1xkO5ZHks2CzAPidk1rVGbXJg 6jZypfm7ighNjX7y0uRJdG4s41JhTmQiQYji7VICQ9uf3+8NwwWK3jAbkScvwDN9 /gLxKNIz64cq8rIqxAqKV+N6Ujd0WHrbqFfMOAX6jsMocfsxD2/xZQQ4Z/W1mgGz AAnHDXCC1y5d+r6MRbtDIFZoNP++wu3lINNMJW3vMWQf3Khn0IkEHAQQAQgABgUC TJUiRQAKCRCKr4jW2E5BrhGtH/9fojMEBEzXtrA0gLqQxc46M6uUvXdDU7d1+fNs CPMZuFLnWVV351d8g1mOD7KxHFoP+B1L0MHF8tSj+oiwMSoAIUI67s9VScn/JaTK TBRK80TfaWP3R3g9P5xVnOPXAoCgIIOiO+aErqHR+zSqFsriR3l0wrq1rd8U8aLW qBXL5WK57ilEoC95Qz7cpBjykFQhAikGVb4dXMIykpr1pK6dKhw2FGWejAU2bv67 FoWOlRclxthbqDgrolzTOmwo5XMpiDrbhwwi2ghtUyEPvNQIufyGuLVz8yJhz+0z 9LGBCjejuelbk1qE+FK3f9kfsvy+L4+Tih+jZgkqyhZcBrhmw+JnllBxt9TuYghU swYcDU23vMI/r1Sa5JFbqAu9PMO466Nq8MI5VVEEm31+siwoH6dFhhPhDFtE0u4H UFhhXIlHvDIpXSw1AMema1U2MtHZq5bbfHybGSvY+/7/9Emd1uavqjqwgxtO+iXw vvnkF1KsnBz5U2cnghQQuTGFv4zAA5VeKUtto5kGtGfM2Za95LYFhx8x1S3fiDN2 cLxIc1UcxSmnZWqIda8ZIz5tnbIadyisQuyIm2jtmXJYI93u4hD9vFz/VBP4fySM QKmqrUGC3ry/VBahmk9kTSevJ6N05uFqIbUx+CPQRwO3b45unpuVoTbs1OjX1qcU T0mDFUZHfedOR9YTKifOHG8m5soHV2NPTQSoMUo7vMNA9xkhHe6k1RCun8LWrf21 rHeL+1snDnOsbcNkPgRE1omCjf37ArAgiHY000Z9RcQ4RU6/X+2dGcMIAbYZ3DeK J4KWPRn68MHTjslVDsL2BTpQxc6ZnRNa9h/sSPRUwwb8Mn41vx+qwMrd6WzTmyV9 JkOqXbz8ZUfnAzLiPmukxK+7BK3MJTZJJ+DbbB4qPgmn4Q5Gc93iFeFke5505AWz aGKsK94vGJvF979r3jWjjG0upvCi96YYJP6jYGH7YJdSsLx7nSNzOWy/aBLxmrAM Klf5kwsypcffD5R99sbCAGCPibi+viJ/vEAurEmeBiSMA/9e7r/YIUD4FxGdlKVd nWpgoTEhTg/6ra2sGLXlVVPiKJCfYxCPwMUkf5O3t7CQ8XAmUD7Rbqo0NZ+Fmd2Q IoX/8IVSWnet0MuhgKHSY7RMZKCV+P6zzg2ak9pUnU8VM2iiCjNE8P5W5pihJPVm LZutkyfl3iGCFGD+iKASYorhOxCK3yoL8roXh85wO9NaRz/F9fZlBt/Z8lLOZLj3 n7Uj46CUPuWZ8JSoHnHAxB2bzjBRhdBu0Ay5HNM1abfiuQau/8TljOLIqLdho7Yd kSkN7o3ev1lX7F4orBH42NySg2s1B2SIrch1ajJg4aYXqq4o0cyRzI8BEAABAQAA AAAAAAAAAAAAAP/Y/+AAEEpGSUYAAQIAAGQAZAAA/+wAEUR1Y2t5AAEABAAAADwA AP/uAA5BZG9iZQBkwAAAAAH/2wCEAAYEBAQFBAYFBQYJBgUGCQsIBgYICwwKCgsK CgwQDAwMDAwMEAwODxAPDgwTExQUExMcGxsbHB8fHx8fHx8fHx8BBwcHDQwNGBAQ GBoVERUaHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8f Hx8fHx8fH//AABEIAGQAZAMBEQACEQEDEQH/xACaAAABBQEBAQAAAAAAAAAAAAAA AQIFBgcECAMBAQACAwEBAAAAAAAAAAAAAAAEBQIDBgEHEAACAQMCBQMCBAQFBQAA AAABAgMABAUREiFhExQGMUFRIgdxgTJCkaGxcvBSYiMVwYKyMyQRAAIBAwMCAwUH BQAAAAAAAAABAhEDBCExEkEFUWEicYGRwTLwodETIxQGsUJSYnL/2gAMAwEAAhED EQA/APK1AFAFAFAFAFAFAFAFAFAFAfeewv4IY557aWKCYawyujKjj5ViND+VYqab onseKSex8KyPQoAoAoAoDpx2MyWSuVtcfay3dw3ERQoztp86KDwrGU1FVbojxtLc u+P+xvnt0qtPDb2AOnC5mXcAflY+oR+dQZ90sx619hHnl211Pl5Z9n/JPH7Fb2N0 ycA4XHaq5aLmVI1K/wCqvMbudu7Lj9L8+pjZzITdNirYXxzN5uSaPF2jXLW6h5yC qqgJ0G5nKqNT6DWpty9GH1OhIlNR3LXhfs95FctuymmPQcTF9MkunyQDtQH21OvK oV7uUI/TqR7uXGO2pbLL7OePKg6rTTtrx3OR/wCISq+fdZ9KEWWdIlLfwDw3xxDm LuNLOCD6u6nleQgj2jB2jcfYBWb4rU829e9EdWzW8m5c9K1Ia2+6mFy2bt8PHipG s7uVbeK6nl3uWc7F3xEMuw66Ea+lSJdunCDny1Wun4m14coxcq6oyrs4/wDnuy0/ 2u66O3/T1Nun8Kuufor5Fjy9NfIsHgd74BY9e68liuLi9Rv/AI4UjWSALp+pgWXV tfTXhUbLhflpbaS6+JpyI3HpBpIvFl9zPt/dOLSa3ltkfRRLcwRNCvJlQvtH4LVb LAvx1Tr72RHjXY6rUs58Q8Xuo1nixVjfQOu5JoIYhGwPvuiC/wBaivLuRdG5J+1/ M1/uGtG2iLvfth4nmYjDHaR4Mwyq7XsDOeooBEkISV2HuDu9AeFSLedcjrrLy+ex uhfmtV6i/eK+N+N+NYw2uEgEZk07i4LB5ZSP88n/AEHAfFQMjJncdZEe7kOW+5IN OifW2mg9STwqKtyIpa7DRPNtLQWryAcOAC66/G8prWah40RsUH4IhrvCWsdzcXdh jxbXl1JG1+VXbv6aOEcgEqTrJxI/Ot6uya4t1S2NsbkvoZx5XKYPB2O/M3sNkFBY RDTqP/bEv1MT+FIWrl2VIqv28THjOcqRVTKfJPvbmriR7fx+NcdZLwSd1WS5cf5i W3Kn4AfnV1Y7TCKrP1P7ifawIr6tWUDJ5nL5SXq5K8mu5PUGZ2fT8AToPyqyt2ow VIpImwhGOyoc9vcTW1xFcQOY54XWSKQequp1Uj8CKzaTVGetV0E683X6+89bd1Op 77tdddfnWlNKCgyvT0KA6sflspjplmsLuW1kU7g0TsnEfOh41hO3GSpJVMZQUt1U 9b/ZWSPzDD201xeJiL27i37EQMLiaN3Ryu4j2Tdt58PSqS3gwldlbcn6divt2Vzl Cu2xLZTBS2eLxmXvZLZZcguhiXWCdW0bUMhJ6i8PX2PtWjMw3bt8k6rwMu5Yn5Ta rySZ04PwvJ39jc5mFUjt4FmZJ5yZHZoQdViiHoNy7S2o/OmJ2+VyHJukfvZhhYjn TWiZMp4Virfxy3zuZy88aXMMUqQwRorb5kDCNQ/ULnjy+alvtlmEOU5Ohvv4Fu3K XKT9L3My8t8vsfH8BLlAzS9CaPSLgryRu5UKGI2k7eP08OHxVbZx+dzjHROtK/Mh W7dXSPU8v5jKXWWyl1kbpy891I0jFjrpuOoUa+yjgK6m3bUIqK2RbwioqiOOszIK AKAKAND8UAUAlAaj9qPuDbWCJgsoypFuPY3D8E+s6tDIf2gt9SN+1vXgaqO44bk+ cN+v4or8vGb9UdzambGT6zXAjYxjY4uNCU19mD+h/wACqCU7jerbKtzm3q2yXw3m V/gYJLXF3e9JBr2eizoSR+r6uCcPU68RUzGzrtpU6eZKsZU4IiPIvJ5ZFOQ8ovBH YWyfUpYFdoHCJERURFPpoo1b0ryd65fklu+i2S+3izF3J3Z66nnL7i+f3vluVLjW HFW5IsbT0AHpvYD9xH8PSr/DxFZj/s92WtmyoLzZUqmG8KAKAKAKAkjZ8qAQ2nKg Gm05UAhs+VAah4F91Ex8MOP8kia4itwEtciFDyxp6BH14sB7Ecap8ztjk+VvTxXQ r8jDq6w+BomJ8ywuenubbBTEpaw9xcP0mjRBrpwDBdztVTdw526Oa38yHLHlHWSP O2ayeWzV491kLmS4diSgdiVUewVf0jh8CuqtWY21SKoXMLaiqJEd2hrYZiG1agE7 VqATt2oBO3egDoPQFp7PlQCGz5UA3tOVAIbPlQHXhcIuRzFlYtqqXMyRuy+oQn6i P+3WtV+5wg5eCMLk+MW/A9DYDxXAYKGWPEWQhjugrTMzM7OFH06sxPzXJ3smd1+p 1oVUrkpbme/c37ZYHH4eXN4eJreSOVTc2+4tEUlO3VFP6drEcAdKtu3585TUJ6ku xfbdGZUbTlV2TRDZ8qAb2fKgE7PlQDe05UAnaUBbOz5UAhs+VAN7PlQAbIgAlSA3 6SRwOnrpQEp4paFc7C4H1JHMy/3dJlX+bCoXcH+k/av6kfJ+g3qJ0it1G3/1oEUf AUaCuUaqV1SheWZKS48e8ptpW1Ec1pFCh9hKsbHT89TVnhW/1Lb8a/dU3Y69UX7T JzZ8q6UsxDZ8qAb2fKgENnyoBvacqATtOPpQFs7PlQCGz5UAR4+SWRIo1LySMERB 6lmOgA/E1jKSim3okD0f4z4FhX8RtcBmsZGxjgjkmhfRnSeQHqMsi8Q2o/aa+M9z 73eWXLIsXHRyaTWzittH8yyjbXGjRmXjfhtnafcnNWkQY2GHIWAOdzFpW3Rhj77Q mv8ACu8udylewrVyX13I1dPgU2aknxRfb+0jWM6fFV1q5yIEkZz5Bhy1r5OzLwkg s7uL+6FmV/5JVviXqTtrwbXxM7EtY+TZnps+VdMWYnZ8qAabPlQCGz5UA02fKgDs +VAWs2fKgE7PlQHf4rY5X/kxd2VneXN3YlJo+2hinRTqQCyNxPtppXOd4yVC27d+ ShbuVXhX3kq1GL1W6N/8VyGRurS3myqNDkJrcNLFInSfRJHClo9TtJU66V8n7nYt wk1ZfK2paPfdLqTIszTJ5jG437g5uCdtjXr75oyrB1EcYIkcjUdMp+724a13Xbbb nhW+vGPz29pS9wtNS519xI3nkGMki3LdwlSOB6iaaH86kW7Lj0KuTIm36Wbly8Nm 6yWvZ9o1yDqvXfeSo/sGhP41vb/L4t78q+4zUXFJmeW2JvbhXMds7NE5imUDirr6 gj1rqf3lr/JalrBc1WOqPm1kysVZdGU6EH2IqQnXVAYbPlXoENnyoBptOVAJ2fKg LI2we1AfJ5IhQFx+3nn3jHjwmhyNq8c8zcclGOpqnDRGQfUoU/GtcJ/LOyZuZNSt vlbitIefV+8uMK1ZlDScY3Oqlp8JbfGhb7v7ueBLexNFfSS70YERW8zEudNv07dS dNfQVyNn+OZqg1KFNerRJuYjhHk5W0v+4fiZ55reZXPZu5usRbTiwnjRQ10nbE/S okADMr7X2jXVTXa9osW7GMo3X+oq7a+w5fOlZdzkpVfkVfNYsyZmeyNpHJd5J5Jr U6KxCH1LH1Xpf000q8xMu3HH1/s09/T4mqzfSt+wtlh5FkcQ13DcYWaayklaWK7t ArynVQNZU3cf06a8NB81Uft4XIxamlLqnt7mR48XFa6lRyE9plr+W7dmt5TovThk dGUAkjfpt1bj6kVf42DCMEm+XmWGMvy40TqdCJFtAB10GmpOp/M1PSoqGwf26n4r 0B2g+KATs+VAJ2nKgOl49RQHNLaFvegOGbGO2vGgOEYzJW1x3VjcyWt0qNGk0Z4q r8G0B1GprXdsxuLjJVRhOCkqMmx5h5gvUR0tpleNgJGUhg+iqh/dqF0Zj8k1Vy7N b0o2R3iLxKu2OyrXhvTcSd4W39yGIcNyPxy9Ks1Yhw4UXHwJH5cacaaFxtvOslb2 UFvJjTPfksJblW2x6oAUb8H+rcPY/NUk+zyc3R+khfs3XTYh8pc5rMZAXd2Y4lie ToRxIATFJt0SVv3FSvDSrPDw1YWj1e/gSrNlQPrDbTD1NTTcdscbj1oDpQGgHUAU AUAnCgEO2gGN0vegGHo0A3/Y5UADoUA4dKgHjp0A8baAdQBQBQH/2YkCHAQTAQIA BgUCTFk5OQAKCRAQwBxaL2BZ50G6EACPPFAxumyI7I6wCxmWteHF/TwlOON0lmA6 /B3sOOxluj0C4d1Xx/qLIDcEMKmxVRQTF5JNUMLjseF43ToXYHi2QVJ/k6IMiGGV 8a6x2Wm/BbNLulVMn7qX+P9uKlzpDzMQweUqSnWuk1vENhCrM9bLC64q76aLdACr +bojsNDsTty2F5bQnlKrQCxtyY5Lo6OfLnZO/skegViwCIvhxE8FIS34Uiiviqle rUjRRZ/n3jZHyg+TO6pW5rxFxjrn0PXqSc6rmh/DZLv7+X7a7EZvyW+tr3/42KYy 78/6xFC4M588FOLNG1sj+HxsFWUnckqhDn8Pt8z34MyXStjkkDPJqUM77WsCJ1kr 8bNOmYdxCWSgof74TaApLL/MK3UxR96o/3yzy07xPzVh5EtQa1rQUI7G37vGotdq 5PT5uv3VJarx4sbiXXtfjxN2QYTI+suOU51oZgzC4AHqWx/zrnbOUPqy0aAMY5lc AqHfMLzn4HH8HGRogw3uYS79Fd2pdB00eRVfcQ9iZ3M9EgyeS/bD9VIFjIvNJPVQ BjU6NvVtcmsj9fCGVr0TSnyG0SZkjIN3vcIjHH0wOSeu8GQl5WdiZrReJRV8GmsT nxL3kAAQoWffyQlFqqoyhEYih0bK3+WeUvRegRzgmgIm3RgRM7Y7u6veekRZoI7B gUWMGk1Xt4kCIAQQAQIACgUCS8WWHgMFAXgACgkQrV7bt5PsV+TyfQ/9GIL6jGMP i0dIoGCgGSDncs+DgxOiTkjPo0Wd70bsJV4Tv1nhkLk9czNrMCm6yH5ED8H4zYEs aY9+dczIte1OWH8fC/nlaUlDD4/Qt850RfY4vNHedoQzH2+NpoxYsveryzCwUq49 rPWYKiw8BRpN98GsDmZsfNbZ3sA9p3AppNYFzVmkN4QqqTJ8S15citEQnV0j81f3 LrvnhpxHHoP4PgKJ6guInSIHQQc2h2ifwtQpGWkoDMpGMGY8hXvHWe972xP4CS+1 eduB3vnMxkDoKmc6km+XmbMpiW0lMMVvb0Ct90Dlvy7GziizJqGAtK463ok85mDu M+3iDdPOcEGneUZ3YmftKVFNrILsUTLp3xSoPDz5x/bgQPh+aetut6Zke3MvRyp7 +ddceUsHnRyRfVF1gdsWdCgNqsC0AF3LBS48uHoWVsnLDEe3dcRD9aH1ZD8leFtO 5u9SBTCJUZ0AfLbe1DD/7r4uLgTClzpafVOFPuZ/fH0becQ6euKksFTC980Hulln /mEribQSfGzI34WedcKk8S7H69llMm4WgVJU1jnhf3F7OyJo8CkzdupqWIm00uFm TXu2PrenmjdJEnep8CP6aaRrNybp0Z8UpnZjNmJ7YCciLJ8dXsr2t1/PMfrTQDpq GtFdeZsWtZHQNekFNRgLW0NmfddVvNkPMWGJAjUEEwEKAB8FAkvFgVQCGwMFCwkI BwMFFQoJCAsDFgIDAh4BAheAAAoJEAtmIFBiWQgIFNsP/2//2YK8VlBnwxuoiVna a3064H8J8rGm8ugXLrcVXp+0iWIFzQCEnYUITHXmBw5B6ezdJvRL/M7ibMHAPtVx ivkSrpARkGdaX65r8WxgVyquMUkqpywZFtmFwPzoxXnxXDb3G5QIrHlh9QCwLtFY BOAx1XZTK4AJSutwEOyFBSPxenGj2jB2J9hYW02lCSklcsjHMGFI2awM0XeusuyY dESmYDyh9Zr4SkU0GsDVUhhjWW6i3DI8OzIfR0kmef31dAXP6pt+yis+C5j2/S7c DMdWtGXvBfPK4SjxQXqkY1iwnIwz1ZmQXRMloS2PH1IDzWYVYGBmNG7kn6GgXAOt u+7KcmjTalJYFI9/W4HK1wcwsBNTQVQmORW3QB4baruQfzzFnqWKCOGoLPOH4Z0y yL0Z07SEHG9qjtymiBBw8AX/N2NVnKQPNb6FBM+ISNJBrnyx0sBT4/zJevc3QGUn p8eeRFGTtdlrm++740NK2YYehUO4L86TsWKgoRdnX/Hj0LNHAdCC0KIZhxiFIGyf muceXoV4yH5nAw93DatqpvN+wd/FtbBqGHA8c7przuttqsFmox/yAiR+CK01ojnv Y6c0rp2XjfS7A3DUjNtcbuE3D69ZdX2M29ZJlXwv5jieMWVDHdcII3vl0F9ko4L8 +8QtCdFG0E2b2YJpEOoMiGQaiEYEEBECAAYFAkyV0ZEACgkQHm578VwY+FQjAACc DvVbxLSgR2oMBeGSbxj2dQC+HhsAnjygf54lBCtiYJ9tajtrrZWgsMGbiQIcBBAB AgAGBQJMlTwoAAoJEGE7sSaAUDkMqB8QAKgAgt5uH5JTiof0s5wT4fb5P7PGUnoX sGx6ssU02WdtM3WKnBgm5iivMjCBlCEW1d2Hh4KKxTpRvfdNdFbL4gxhojpxiQje aMm6ePCB9nMN4oo+mpW3k3SJCsanbf+nrj7xGEu4KRR9AzejYBVmWxpjFNuGkH3d 56Is84XhK7XTjqGtShnzdK9ObZs2SqWPB9E0oua6U3kPm2LCzmzFKSJN6nFRzVLR KgNFR5p0zd3LfKQd7jVVoZDypFAHft/8NhebP/B/rwVQ0mCTu+pkO8cZB6AoBB4j sfrRVvc3ebK0D063Edma7FTdsKydNaAC+NcMryI8RnoRE+jJ7HkMLZ8kZl1IiKbE rmeO/J8+/2LOzCQE+gM8gWzRJ0byzQTyWnplrh0LvSkhLCYHykkCEgtnxTKMyMXe 0+d1iHKj6M+crbCSESf8J1ghPafJKhdbj5JM6CN4Wqa0ewDD+kzzjb3zfCdkoRoT O9flkMhZm+F0LLK53sl2mvDAACHeazuiMC6NPhUOF3gfQWMYUPIGxaUepllK4tCM 3iGO5XvD8wWPKQwfrYv6Xs7gI8q8omTg7F1Ly3OgZlBHDy3IPeBarEn0M91IWslr DzWm4a5YI8tgO3s75n53hRW/AVvvj2Z23up0FRC6pR1x4sAg+fNhtEpou0AaCAjJ JhiQK5rjWS9liQIcBBABCgAGBQJMldScAAoJENIc0iPujg3VnxkP/2g7STec2JtC nDYYo4DB4oROKxY1b4+UdXfH1TxX8hxeVTiJi0tL16pMkZFB+OWEoKhTjsLmXSQw IZnZVD9DgU067AOabeoMxgpalfGf4itZgcrbPw89Hbb6hf+9LVMDXFYYPO5ku1pb /w/iZqyuRZPlYZURUGcDd1kJSXxS1fpZYCfib4QksTvyWB6jL3Crh2Ulg7Hxr6A2 2KHAFHwl8cwVz3L8kJhNoCGKAT2sy+h+6vhwAr9hsid+ZnzpBXHGj3vPHPzzY67x GJFuVWAKhEfEXHrr0B/BOb/WalLMDojr+9LMc+PDbX1w9Ut12k7afbhZRlu3Tx2C 5Xn9ohngzZ4JxI2h4JCjIOD58NwZwJTaAIWeKsX6xGx1gkLEgfZ7xa9kgoSrrBG3 S5q+BMMZmOQeQWV6q0hVXnF3GARV8LMgrHq2M8BZSjtihfm8qkW/x57hQ5eEUzaA Nfyq6hYUG5ciG0bQc89qODSuouCO2wXFw5GraDDjsEg3iSq8lTo/uIADSV13qYKK bXd39apzpDB9RLgNzsMv2bECWx9SowZfiWfhXxyDETv1QeSkHjt6ZmYbHxgbZ0OG pZzx3txHUgW3+OEhWlwOy6ysj1vwiPKF5z9cluAoZsa/6/isntjZelL9SqzrlQcE fz+yGAGDLenYfAlXTptWahMI7sXS+wq8iQQcBBABCAAGBQJMlSJFAAoJEIqviNbY TkGuugkgAIA1mqAkyLv9TdiPRi/o9eKqG10mvY5a+OdwacPmH/8OgdLR0E5bLhC3 BQEct9pm4jaq0c46okkxSBqnDZA6TXftTefD53LnER5YYrjqWVTZqXioSV78mydX EVSliuD9OIwDecOS+/XO/IXYMNRNTuBtWedOuRw18bNZ0VLTfVexZjzAeVUY78bJ S6JcKoqoFVMfnz3REAm4DaV8P0kKxMf07JV0AES0S437igkxvyLHhNYZGj/GgRiZ HvbMoLZLpDEScgWFe7PbCu6liHts8PCnN0Gedrid+5bEn1Yb8fz+9KcA6dSDP1b1 v+/0DWPFqgC9YQyxIgW3hq/FtBp1biDDmLaaD5G+lmRjzAxKWBp9yT3gTJ/VT58y hXtJldKEBNumwpyVsWLPxUBwft71+HDDLLRXBTnsd7vnwCkGSgEHUlERNpAOiCNG khoWqEZFs7WgvdnoZJdOSKWd4+ox5MdgZ0CjbLbdbrq0e1Gydc2R/XVwPahJ0nHv aDQI741ZF9VrMi18ltdXmqv+Jj7wYVPeovokmL2MY0X9Zq1xKv6BWkYrfyJ778mz ORhIx8pZKRj1cs2HbUVXzJOHfZVF/kvFiQ9rBfnu1UYkaBpV2/3b7UrRBm0CqpZ8 qSVVpQnipTjEp2wI2Zo6xeJbLjNTTa02dLinPVlAbrCbxcPolBn5LZzNzgDMn/pH AXew7yW/Vx3nyiWQy7feI6CfMl6Red4VbXl3mkSW5PL7uGS7m4cOhkekLUrs8R1C WqsUWxTdmeqB6fm3fIYu967AnxoFsEIeBKyrVUrPLN4Rs/cEvKGa/1GEOg9ZxdXR WZHTuEv/iM/b2HaWk9HkD671+/aSIPz0qgL2jKoNP+4db3cadADiWHzqiXzB8Xvn pnGKcurBtcPgDdsJ0qLAJas6R7qbpBMVnYzGoK8caZjnHDK9BP0DeY/R8Gc1ykR0 qljz9RYFnJqMPlby+cK2u3AHrBGxc2nHbpkF/ltdnKvtQoFYkeZmtpCVPH1QuOjN 8kVcodUtt0EG/tixVAShgCnB0YQVhRBWzjcqvj+pEnK2pu5fPFFtBZkm1uULB7pc vaAtjLV7yPRJBloZP+R3xyktKfXa0OS7XjfSobBzYYj3zjDFVoq0OTbVNc8g0pLM xkPCrBKib5s5ZWokbhUNcU39Cfv1WTAynS2g8hVSU6itjfBNm0nYF/vNz2pLuhYw VjVHT2NnpWKNfJ1hm4pnINBClSkSn2g4WY42FXMkbBRAJ9/bnF/HKEmMe2O4ew+r MLMk+26Jefk+f+q2UlFV691I04nY2c9JeY55bJkmX1QnpFmWWhIm2rYVxD2jXgMo d4JPJE4ZfIqKJ8hHiyDpC7k4aC7uLDu0JlN0dWFydCBXaWxsaWFtcyA8c3dpbGxp YW1zQHZtd2FyZS5jb20+iQI1BBMBCgAfBQJMaXX5AhsDBQsJCAcDBRUKCQgLAxYC AwIeAQIXgAAKCRALZiBQYlkICHd0D/93SF6+rrGpe++6fnmiUQaGJtejOpT0sm+Z E5zhMAwOW84UeYg1UFKQJSrU6mF6+M5zjsRfKGIUxMabOUvNsco38t377BFhf9Bk OkoUqgTbcepRXRgBmCFsLNBd+cK5tK/TeKI6plrd0oWZTiiu69I4prbRGNupA5F5 vAXizBrg6tHewcv5XCZfVMBO3xheBMrXI4B83oQev1w8wbLiv7bJqB1A1Fsnx2dk eHI5A5M982pE7Oy1ynV1AhV3layxeNNdAIW1dEgHSBRuSa/dZ/1rwqvkAkSseZcz VpjyokTMOshNLKRJVx5cvphgvsL4Qk0fwlb9jJnt/HoPlNvfbTErYir373EKwZ1S OTVMgNrWGTTdA+8PV9s8C+JILl8AmVyF5gbMOJNSemXed1mpbAhjmGuZ6AoN3esK Uk97STgabU0lFk6Y0YKHf+x/Lg3ZC4MpT4nlic63kYMLUfQANOmsnjA+Jwwf+8Cb /N2MJN9eG+MzhW65g+0v+6PJP2n0HxSEC5xHYyulqDuXsRQ5J/XrJqbN5X8LB92o O+IL7aHUHnpGTqBS4X8dTkkAHTX4tJDEaNBN71Hrb+YxPWMVxu6QsW8rvQSd75aa 3TF3PMqOvNZDaf4tsA7UNrwaYHxOm92W1F7VLgHzgHzdZRwxl7Sw+0RswaZCfv85 7mT8KUBZ2YhGBBARAgAGBQJMldGRAAoJEB5ue/FcGPhUhjgAoIYaCIidFdgL1cUI WiwybLla+v1OAKCvCsP8RVZ9W411F3FOVn7YEFevp4kCHAQQAQIABgUCTJU8KAAK CRBhO7EmgFA5DFEjEACjWyOy2z+mfJdvmo10A4YXqxNXXSZXQcWtfF0sGQQV3o7T 3hKrX91QPYgjoUoPsRBxE1XUX29CIWiLRKJEoJHKaoVaXYjBvSStrlAA3MXJQD2y wrmrYLZGktAU9IJKhGeajCHAXgQY/rM2yYnhMle4Sx5gNmV6OLXOOgdoSiF7Ntlf VSe1eoHbABaZ641Ywcv2qoOFfZyunERYR66KhW1x2MQWcQU6nqGPk2IhbUduxY5O vmFKmOcbImoZs18ozIo0x1H2I5+Cc0oq59DIFy0o+WaLrrnFeTkvsOik/2jVjcyT MKqXDioQrr8X7m6EeGaSFF9Mw34nqH23hh8Jq5L7jiCzLqCtxQfm+7cw3n3sWCXd WJQN7yWNKkVxA8FkTSXCp4KQmpa2WgPRGmv3JT3DDDQaI5FGwIbVHG2vDAijOQL4 i+LyO0CuwbTHpdtAdc74DHvIYrc64xZu0z3MLAfPQS5PWBXdqJS7xg0zdVaOv+R8 xxrbf1WR2KQS3TQjQcmni1C851N6eQQ0Bd6BPg1ELg9EpSu9jRraEmH+Zv/HmU1r McxgDMm8y05Zv1jKsjS5s8QWjUuU6YPzv9Lp+isSJRj7NVCrTx65NgxDXbNsQev8 5NPx6iUTHBJEsJ8tqDpqttpDP55lvQDHQVp6VUsSsGK/NF9zB7AiOaTxTU3lsokC HAQQAQoABgUCTJXUnAAKCRDSHNIj7o4N1Sm1EADd3Kfmr3x2ab1Li8e4Qbol3O3l YgR+Jt79TF1VI+FSWeT7jS53o0VJlCMqh3Pfthnlj0x4yuZAt+YzDX+N4ZawNDBy Uvz6zRWxlYMUsaPNodqK3BEfPNXtV6WeVWx2uv3fcRXbtXOO7ZHimUfGOmmJR4lF x8WX9qWenXw3UJXqomaSEM/qMTMySRp2uTXSSaUO3D7cbV2rnjgGq2FgTnWETQ8G T4mhE3Fnxcg0cAcLqNcMNK3mn6/L/ifYY3AtQQ9UruK5cTEhkSROMIZ2DmqmwKiS CgUCVNnYOiUHgZIcanbJBw4B0N8EAWE432uKH2smfbHwIpTVPuXGtl1f//bxDhZJ LqY/1hmmzDXJlkOVrSM3CgMKUAAT/Re2U8T6T4Pau/ti2KAj6QEaLlWfzfUC+t2h yjI4ucinP+ldBRlYWr0uwDdpp65iFJUmesppQ2397hZgQRqk8ljn1HsleYKjiNAo cC4unKgyXwHYLjs0csOQYnSMRxyGauw/0MbZsjrLj8qwtFzktGteuuPGXVisJBOK T0ZhAcrLEH1zv07jgUQpwCDgx2n2CJbgum7uT7bFgzqW6c6voEAfXKcupCjgjhU/ sK0x+dRk00GJ8tBDLa26zNZCPjnnR+DwTStwfl6lkekbwg+VAuRtHaft27QC5ff7 Y9e939IBmYtLrFfap4kEHAQQAQgABgUCTJUiRQAKCRCKr4jW2E5Brm1+H/9Lfc9V 6hi4BpBMZh9RGpQh1bZ8U/ch39TUUDhfG8lC7TkzYN+H+S6/7uxug/no1+Yj/YCm hNmwkKycpdnl/37R6qGfeuFm8twuo8DiEvupp7Yorr4Fw1TpgpHs+qEtb+6jng0G RWZCR7YpFkWGg8ZrtG92P9qk9ynxj6ygpE4QDvOTpO7W+d4e7kuNBBqLhrnDvmY7 /sVMuQu4rOlTZa/k0srgscIt5pCPpGtVhRFM0OIJVhkJgPhM57onZW++uEpSg9SV MBWbx27FMYA+b9e/if7kp9A+pcyMel0G9AEKaim9h4He2TaENjRD0F21EGXnSua9 8uTsgMKiUZCd+3pFpqKHCHeGqLkpsI1g2G0wSr2RyOexjtS5c6ppFo8mTUg9YvEy ZLP8x1L/jVDQtr35Op6c1RhBTOiuGpcQT9fodX1KX/EAIjRGj614yXUvvCiEWGuF WvnRei4RblxNyt/7jnu8pdnHQNGy0nFkcPigwu77qxKpBS9LdMk7XgeVcvME4wnZ kM953Zk/YZc0MeN8EyqBxGImHBRu045/ji0BSMdFD5243G6bDUeoaqhBtm90GDUK cjKVGof877x1illUZMLE1zWx0Cqv2X38krrsoa3WPhhm4jw/R3slbQNAQ6HaL8QI AMEbbqo9Pf6xi+GVv38nW6sF/8gTaePFMmWhjqCQ9NXOgJQC2SEBVbkwzEo5D7b8 8ao65Z1kr5xS7AWgHUrMyr2SiT7Ab8478hVVJkBC3fjuVcGSdpMu1SIMDhbXKVhD 786or8up27iGTZSulqPqmLarIm8NPWwOY722HgCMoxuDZYw7WFji01VOPXz8Ncme PrMo9jHBHrtd5UCDVpnXUolJmkGMFMFWhTgsxgdcKuEf7eRs9QGWnGRHrcDppEUs 9OvQXFUvva87EAFFnCh24xwMddGWuXqGbT2UuMeLXEjazkPwXtp9bHGsxVPCDlQa jDy6RTcXNQEqKpsAx1LzQbJbo82hScjktgkfm2LSskGVm3Qb41FHRDEN4szRE84N 9UJCzt2X3RhpfHdsY8w2pSHNaHMD1DWUJBlRGsU4P+VXSXddihWdiq2I3TtgJTYS 9kB62gF49DBCbzGq0ELDyCwu+/YbBeP4Bpv+xSxXE2i1NhxUGjCw7nal+poPfIV7 rv+g5P0uqvad6XJ0q1EzXy2Ls1w9I+uJwNcDa9gZMdX4SGSTCUmcp3zZc29yQVMB j3RxPfP6R7CjRk1WYEiB7cbDk/GJ9h5/aKEYLt/I3zhn+HS/Yd8+DSY8rfT0hn2n ochLpRLwnfKaCi7D1PsvqE2ohpOrP39TGs5p9uKe+iYwpEr2cNAhedIO5jEvsHUE bBnfTiMeV8IVGPzvuQINBEvFfXkBEAC9GUNu8RZ/zY4BX8snhKcxZrv8FirsDPzc ASJn3RUSadGyJJw+0sf0pUg80Zj5nK3X4c/vqMeu3Du8X88CSLCW6BcKJu/jsFv3 qh9htzSiC+wIv+pdHyPLG+Wfqr75rxVOiQvGajPAIE2/jITbI4NYhq3SjzDjzn+Y ZeR5QsA2Uj7c8Kqnc9o6ZgZaNgkvN4vxfleRS8ubzW1HsfPaDIJzvg+u4E5lKWdq Nv1D+rUmshrrSgpVZD7m+SlMbAiC0Xrl2cpYB+oFeEPTM6v8+KORTNnJGVGFBTKG s6lzyrS8Pq411e4bSaoG9VHjaRahrmtw27kg58Hg9FZRtilQblLFWFxx/Rg/tAnz UBcll/xiKHpcshDAr1VKn8TcoFMjrzOPmfwxC6LOIdjLcY0XNSjUM6vNcnJrmsTK OgZGkD+JZk5pSsxnMWNU7VgKWO/Wmjvy5qUa7FZkh/A7FPus8eLf/711NstUB6+6 k/0eoZaVvtZ5MVKhBrkYscLNGOtaV7hwm+0cjQGLK/x0ntj6NciF9pMiGpC+AP0X VIv4rdjA4MC2ZMOf2UttfkzXWIab70MrvxJw9m3VknWOBXTzKDLzTtD4Y0AIGVyz qz86dHlrLXK5Zwort/tFOjpSp9SZUV09nSyT+re36V2VaOzEtZjpf4a1DinuIiQf ugVgb0QnjwARAQABiQIfBBgBCgAJBQJLxX15AhsMAAoJEAtmIFBiWQgIruQP/3YR vBzgcEQAXBrdh3Zfd7QRYJCk9xSNGGzzMVkIKH2n3nhRNRwplsARfnDKMu7ujh+N k3a1zUX8GK2+xhxt0XJ7jBrZoMtEPiSmjLkSSu2GYBbhVsNE3XYnxm19ZpvsNO72 qU4mEjTKElY7jI0oaWntLCJguW0wua4Sc43Nqg6cg1Ttv891l5d1eTk64S/PA9qm QyRG9lI5dtRqNLDlyMPzdWelP3lGzqLPc83HYHKCzjJ4Updfv2bU+eCW/qyyQkic CKyrka0KIyh3GXbHCqmGFuHJTknlF6MLdcEAInBNbjakeWTJinjcivPwPN5NwgSO yte+uI0UB5tWUvwoyqr4e8CJE80M0ZtTYN8rKJJx+/g6EvFUf+qxunanjEV6ZP2L fylVfLJsObnQN0Jv0ae47/F9b2SeWh/CaKtCxi0vzg+s+MKdBTXqUAIPBzQMyL// oq9VpQwqFFMD7fNBjBt2qKRYCmk/UFaqbtG7T6y6zcj/gobPr9QcJYM7FOaY6L0Q TA/H/qmf+xwt4klDsa4DwdVXXVCY0dYsJZ9crRJi61EojtCiC7Z4uMPrszl8+KXo I+u/kObNjQz6YQsKz3Hq4cZB4+n13x1pYZXKxNuwWF2JUQkGvcCg+wAkUKypIrcj c1OtnvugNcNVlwStx1wAekBg5u+QsmyaB/huA4TpuQINBEvFiB0BEACz8LRTLr0n ajj4u5xDZwJ5kWa45ClbiTHCSdePANZQqi7x8qOXdhZen23R8iBKMjLnEix/Hlgr A3OacsG/Xy/CqPxkupOTxklDfThKMH6aifjDr23N3i4ODTyYolh2a8lAKH0WgV1z 85RqjD6qu0nh9Xr3mb4GDFOOqs1ppNf6AzOLTMKFbOMLJ9SVHEgUNRvig4kUid6j AoNrmDLNn/KbtwWlHWtAz4nUCGZfGmMPVKnmg9mwEwfHm4r0/BN2sXK12zbyrqJT siDP4h0MIs81wlWBgHdxwXhBgBJK8vhy4sD2CXApjL2fbf5gjn3ApOdTKrpyTZpJ wRKlSeLkSy/BYKBzbSHmFz3HHTdn0u1aT/9gJYO4MGLhO/Kpm1Ht0aRHaoberswS iCpQQ77EPysJgiauyErRL0ynkDHfEbkBJGbgMjJZn8WYxYxAkVU3vYneEcHhmMZ4 At0gcLxN1/wJykMUiEw/uZmUYpdcVC36c/fM/6jCo6Y5QO6Ho5ENrwEVTSX8GTdU tsKFrDNh4blTcMmTKO9ijq8pNhZ/GpsZPVXpfx9QYH6dJx9Q9W0MLVx90WRdw+Tp DqdSkPOyQndlwsm0+ywPvDhAQ3Gjx5/XSt4WbfT1jYKd5+PQh5/1NyDc5YYQdRkf ftwk3PTDFqAgnTnG4SjFrCS4ImbCKiUvSwARAQABiQQ+BBgBCgAJBQJLxYgdAhsC AikJEAtmIFBiWQgIwV0gBBkBCgAGBQJLxYgdAAoJEGoM2OGpOvr9zPYP/3T/rytn OvMw9Pa4B5rvaQDRgWfCIR4apaEC2nZNjnkocl1tkP1b3wkH2X9DmAlpwqttj7No DJl/uqv4s/SUnB1RyPPBSTmaHmSaKVplSoD6DMh6I9WAbXYQ5lW0DAAE+a45/oiR r1FsE57xevT4p8Ss/QMlVFv6HSaOyqNIgES3/jSlxLBJji30+ZaMYUJCO+yUrdi+ i6oXdpKKodRcfKSMqAcNmadaYzzzfq48ZCcRRxjY4hzUh9mn6RIqwmBFOarQkRG8 jeyyCd2PBPm4yaPPop2/jKduGfQv99q4B+jdZEfm0ZQCGR1f5j+jDnG2lzPTUXZu UpSuSqz6yj2p/QBVaLDYW07HMARrLCii777gZOLMVf3hFMEyRH9uRc5qYalrGCM7 L7koVUzavY+igjo3mM5XFJ8LEvjmMOElRdtjxsyNe47+Eofs0cT6xhM1nKB0FIAm 0m7djGC5LlsWFEQeyvB6Fu7zsFAdQxepTyYX9jSE7an0gQofZq0RqfO0t8+T33NC kJox9YXD8wpkaGIi54EHK2a+dPF7GntH34w571YzUwJAjLia2fELneojGPtUm9u3 aCiPP6GskeGrBS3ZGiOJI4ebCrEYqe+fqzIlUpQRHsJh7B+BfvrkiXscwwceunYS JowU1Rjbruqe7fEkRoqMRhbF+F4ebnB2ZlU+CyYP/R1IwLOjX5MjylDtjVTVULqj UEeuvcRSR+movlF7fOgl5kp+WS7zLZ/ROKWXVJJFNgMTcTGDiy7tYE8c2+0wznZw Je/SQVgRfrob+Wo921vKX+odrESL7J/uGxJO8Ev6fFFXj2EnZFH55POK0LBy1AE5 Fz1Tkx+y/ASj+rq3+ELz51HaqMgYb00KL5x9hL/4H/tDMrkzFx2TDEhLDyKbzt0i 0+8oDUGRt+CBB5BhTsx0MbwQ162A4ZiR36E/jX/B5whZodD+xWf9r6ryHtudPSvm 3/cveeU89EuuKV1FoLQPQ0myshmLnSIVmLLCS1pVpommlNwFkORDRxdziMLuasSB GyKs//xepDSwTky6RihvkKxvKq1WQ/6YKpoS4cjsCUBeuSbWZi4WqGvonRfDmI7Z ehbw8W3BzMIQJjwbRqiqVdCd1FIrD+FNFKNjCo2M1HXTHsjLsYRh20atEZFAw8YP BH7nYeefDcPcJihagnqFEPDUVxz+b50vdCurH91Y/1LO03LVW4Yrt81hIS5q8Ato BAOyOVJ63HlWjDTy5ockVpB4sxIGd8+orp4+Ul9Ryr2Um/AiuVbkGG+6m1qXomMl AlDQ85XiQ9Xjs9ialxSjM7ZSot7Sf+3pUQnxiQionc1HZl0Yc+hKIqAvpPlgb8aD V3aJdCb6dFPeBGLz6ygX =3Dfs2D -----END PGP PUBLIC KEY BLOCK----- --------------060609080705080007010806-- --------------enig7BACB9A051F13E1F45EB747F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCgAGBQJNAUuIAAoJEGoM2OGpOvr9VZIP/1T29Z4XkY08Cl8moQQoUOdQ 3DbjybBR1fzdGDmt4t+nm5mvG355gBB81QsXkpjdPHbr3HZI0tdfkRrngJpKomLE s4B+CBVbuboIuR0KOqVZStc335fNXfPidWf4GR6p4PVThOqxgLwdL4T+7rpvnwTd zJgHmdp/VOjxunmJpsZIh19/SJ9bCXd8ggHat8HIQHKw5NEQFi13r0bv8FDdhav5 rkGweq/CcbJnzGZDgXskB+QaifEETCeFEzeKMKyo+S0DeBca3NZI/K2OCnBHgt+J vvxnysiDmRQJbTBbl93BTGUfHgcv95tI6TqOY9FMexBxkYbZ0OnlplGIlIVmO/PA He4vh3wdj/sDrc3qC01RHe5VtBru/hlO1msZkNd1wo2zQ4/gKxRUM4SlF/HVRYLs 4kTXN+IUQVBf2fKxfuycYqLEeJvCt+qnH++zLBcIYWPIZqcUFrQjrOBsVrFagfH7 6RT/woLdkL39R9Zsm6F8u3ulxNFFS3NM+dXGO9rn8hsU97BJvxUmMaKQCVZnLF7Q VENYsD4RPy2aDysCm9AHnY+8XjNAsDioD2bf2+12sc+/J5NUz99U5Y8VBiPA2556 pVFnveFB3VvILNgRyn+NhLa6eaUZWxBye7y9UKKTeYr+Q436zqPxRJ/lBx61vQhW PI3LgSYj+CjNArBQjZL+ =TYaX -----END PGP SIGNATURE----- --------------enig7BACB9A051F13E1F45EB747F-- From [email protected] Thu Dec 09 21:37:16 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86778 invoked from network); 9 Dec 2010 21:37:16 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 9 Dec 2010 21:37:16 -0000 Received: (qmail 45283 invoked by uid 500); 9 Dec 2010 21:37:16 -0000 Delivered-To: [email protected] Received: (qmail 45267 invoked by uid 500); 9 Dec 2010 21:37:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <kitty-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 45259 invoked by uid 99); 9 Dec 2010 21:37:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Dec 2010 21:37:16 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-wy0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Dec 2010 21:37:15 +0000 Received: by wyb40 with SMTP id 40so2828325wyb.6 for <[email protected]>; Thu, 09 Dec 2010 13:36:53 -0800 (PST) Received: by 161.129.204.104 with SMTP id q6mr11189621wbq.21.1291930613738; Thu, 09 Dec 2010 13:36:53 -0800 (PST) Received: from Asura.local (cpc2-lewi13-2-0-cust269.2-4.cable.virginmedia.com [161.129.204.104]) by mx.google.com with ESMTPS id 11sm1563724wbi.0.2161.129.204.104.36.50 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 09 Dec 2010 13:36:51 -0800 (PST) Message-ID: <[email protected]> Date: Thu, 09 Dec 2010 21:36:48 +0000 From: Pid <[email protected]> Organization: Pidster Inc User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20100825 Lightning/1.0b2 Thunderbird/3.1.3 MIME-Version: 1.0 To: [email protected] Subject: Re: Thoughts from LAJUG presentation of Kitty References: <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 1.1.1 OpenPGP: id=62590808 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig00B2CB3D74FF7568E3057374" --------------enig00B2CB3D74FF7568E3057374 Content-Type: multipart/mixed; boundary="------------020606030602020705050809" This is a multi-part message in MIME format. --------------020606030602020705050809 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 12/9/10 12:56 AM, Dempster, Kennett wrote: > I attended the LAJUG presentation of Kitty. Not sure who may have writ= ten in before, but I will do my best to summarize some of the thoughts th= at came out of the presentation. >=20 > * Several of us liked the idea of a command line JMX tool independent o= f the tool you are building to make administering tomcat prime time. > * I suggested making Kitty into a pluggable architecture where the tomc= at specific groovy scripts are just a plug in used by your command line J= MX tool. This would require some pluming work to be done and forethought= into how one would plug into the tool. This opens the door for a separa= te Tomcat 6 and Tomcat 7 plugs. JVM JMX general stuff could be another p= lug-in. This type of architecture would allow users of the tool to write= their own plugs for their own specific needs depending on the Tomcat env= ironment they are running. It also opens the door for people to build or= contribute plug-ins not even related to Tomcat. > * I would also suggest spending some time thinking about how users coul= d override and extend some of the functionality that you have for adminis= tering Tomcat. >=20 > These are my thoughts and seemed to be shared by others that where at t= he presentation. I hope you find some value in them. Excellent, thanks! p --------------020606030602020705050809 Content-Type: application/pgp-keys; name="0x62590808.asc" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0x62590808.asc" -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) mQINBEvFfXkBEAClvXQ4bG3ib0nQQfEpmlZaZyAGi+4njhhDAP/n5Zbi2wLcAnlR WF3FyrSOnFns9V1gNA6zdLPhUs1KwH5vBDlU2ZkOF3b6pGhAdTr0HPefEBwz6StK Jlch9t+xJjV/llA2/n5UUkCLw3gqyJQMvbFSfzLT9YGF1ehsngvK/vRGIqZ+TIoC +lGasSJ8B692unnvDF+MSdNu7X2ioQJP/1SPLg+/fHGZQr3zdjf6BOJSHTd7yg6E /jCYe2F8TxdcoMdYuSNIf3B+whMHltq9HdHipZj5/JCo9tKyQuzk1I9kdgsFehIe fd4mnrwlv87CM0q6m4FgzivG6/gIJiddgfUHAqmRvDh5CtXHLzXEDGJEA8xkQ+Jc AAbgOYfGyYh+1D59U5R5qoUkVeb2tM6SUpHOYK9E8H5Pml4kHyXFctdq8kD5y+dN A46/ru3bQEYNcBlyGEpOPs8okmoBxYlUCMdH38YDLbBEverDh1tJZ6TrNWEr9if8 vtljEZc/Mebh9n6btImmrHszAs6M5qHNvuHaWfTuuXwPEhsdcFF0jLMREUMFRicc CSibwKxnHua1u9JlufYaJUeJifnI/ugpIS8Lbaaj3BDT9DIWVbIJKr5yAdFv3nVV IOiyhxQh85y6yOoXsTR80ADu5fvaXbiEOhD5hsvcRlP/q9m2Vxpul8O0ewARAQAB tClQaWQgKiAoU3R1YXJ0IFdpbGxpYW1zKSA8cGlkQHBpZHN0ZXIuY29tPokCNQQT AQoAHwUCS8bBKwIbAwULCQgHAwUVCgkICwMWAgMCHgECF4AACgkQC2YgUGJZCAig Hw/+PEuC10bCXKqvd9y0Iyvi1iqWVJIhL8cUW3eQsPdKy31PkipFokhRK54WAI3c qslF758ywz7jxJ26P27JoBRzCk8MChFvs/OJpZ3WTXG0RbKG1Nf5e9ZuDhKye/Ql xHD4Wxiavh9dzOB0x+FBYmjLyvyC1ElLmrhGnltCPR2k9ytV7GLJHCCbIP4s+Eg6 qyX/RysGAdHHdzeCgwGU79TaKTn5LNTxeuQmVbBk743YX2TBhxLwBOiwtUfj6t/l 4JGrHt/OdoPJCcxpb1FOHCjdfou/gkepkGJIwMviPWrd+tgb4ZG/+urKb+i/QCj4 pr58xjQrt4Q+bxTNZA0HnsE0Z5xXI6UCyavPnn55IxEFQMon4EoFBgKMEyZecrkw HuvL1BnkhPYKLL2Ox0Y6rZot3Sq75x5xWjP3uUMj8mLxwDULfFj8qxBGumaYxLr/ hJf78RvfnVaVOsovNXry5RxoVRHTAyOO4jwwtSGZs5lzLHqueKq9Ol5m8UON12Py r6wT8wBCU0Mu2TsbGzkld4pntERLLlEshsdkKFy+DfWpbEFcX4/lFMZwq0B9dpJO D/8grP7+CRuuNSNe7YYUaTAOrRJzJldvB97wjSINKcv+QYw+YojZxcKcNdFXkRi+ hH/ahTr6xhMKmsoL6Jyu/EtUcwGDZyOGINFPvdSqaeBmU7OJAhwEEwECAAYFAkxZ OTkACgkQEMAcWi9gWeelMw//ep5EUcJuwte+DZv9w2PiuDnm7nCU5B/uOmbVahsF nBHC8BzO50V0qsZmNcA+sJMUhr0WqJZ41V0sX3ROcfwpNe1xOIStQy+ftAj2w96K Hz68vH2yubVihr5c7SlNWgoVunVjliOJvOxnIDbg25c7yh7WxuCmqy3M9wSayH81 FWv2xZOfV6f9n5miENJB+b9k0i1OpcbAXg5LWC3OrraDIXPVwj+HR0Y4p6reYOk3 fU3JuCc22/+kzwCUcfOUE8pf6a7Ai9x3sPbmSGtw2BIooiGC3XKTmOpXhPmD+IdZ 8bsk5jezbRSKsysOXs2mm3Fi2Ng1fZ7EB4N8/TFXEVKGLcbnfFTZ/ip+gPSVXf1v YpUaNk22GVk5YV6P8t4JprfPl5nPnQMg290OC30RVPzYmFnDhABh7wkueyIpkgSt Z43unewtcY9S3irjlRadoy6uDZOVkxKGNvBnVzOxvnuktEB4g9eI/boEiz5Vkq3b Oh5CwYpJDDPJPRhCxZ1j75EaaMn6BW5TpO+ju7B0dsDxQEYiPddrTxWljmRI3p+F A7284TbSmajG//XxqVGun8EOARJ9pOkTsmN9s9eRDq1am2HaGZpXisTNYDOIi+gp Qv4vbVIStFLm0nCmB69Cq5TF5tGhAry4cu65pAKRdn1DNnazyo0FBf23qSg3I/x2 CMqJAjgEEwEKACICGwMFCwkIBwMFFQoJCAsDFgIDAh4BAheABQJLzX3iAhkBAAoJ EAtmIFBiWQgI+iQP/29WC9Q/Frz8nmJZZ+qCsQ7CbimGaSSsC/DCP0r10Gfe+BT7 wqgbD1NMJRvOIXw76GgXOGn31jcZQJLmz5oQrWAaiOgTdACEtaYoMZ6QDzE6HIeW 2+06hxVY0gCELuhJ31iou7qGSJVLwOhTsF3iTChuZT5dVrxIVYv1D9vc174popEj Ng0SKo9FXCfOuRls5gPKKKb3z98JqZjXh13LMG560On//ABaJIPVcb+ZWrAO9MLI hSuwhDvtuBZuFV5fUwFGONIPAVoHGuIZEU6bI1x6ddeQnRTnPSBycoEAc4s5cyR7 eDWDDhdfzXafKepX3aNCMp7bc8dAvGJ+33gLGzeY8Qcb2At4WpJ6gim9VVsHrE8G Uz71qDQh/KJAuiwj+pTM2EIcDYlSzX74keleNQJ/wAhSuJbsUUAxT9QF3PMU7PdF rV4JN1JGOAhiy2rR9/OnZHha0zVT5sRk1ZUxLS2EUCDqoHJi9ORSfZz2g1Q+oEL/ EiH6eFHS+RzOjL+KH3+tMN5D7yKB4k/GHqFRE/jh+8SqVQegnqDL8HCwDdjn/PnV IcALxMpPYEVvgl7ixRvU5ct3LgI89AnRZBxL/oIPO5Js2+wKye9cIeT0XOLOxjK1 hO8wb3NdLqlE91t5lk4SUtuyBtHqNjZn40pO7Wf8JlSf/eqh1EUyUjHiW7gLiEYE EBECAAYFAkyV0ZEACgkQHm578VwY+FQ5DgCgiid/m6whU8G15lHof4Gr0ERkpNcA oKA47nKZDX1Dp43X2P5mmdVZ21fMiQIcBBABAgAGBQJMlTwoAAoJEGE7sSaAUDkM vCUP/1A3NgrIwD61R7puDLK7VIaTPXMKW4coFNEMSHBobMR6qiiuQR9d2sNqAWJ5 W2ml0riNwyztVarJheXIa1TqcZFgmRK0nJ/nbOunk+h6LROgxdTrpPTwR3dl8HPr 3MNVMyD1gcTFJUk/xKo1MHQuCyUMaQKZ2JBtWk33nizrkQb5Jf1Lxz4I2TWQGXJX 0CLGnz0iFeDTlTJowDglbtjPyFDUFiS7cwd25jIHJSzjGQNEtwn40oLyKE4Vdxk4 nlglXuX1NRCguefnwVq677lavYjKAB6mh2SLknoBKsRvFGJgUYhGfZUdzBpy/Yy2 x8gOQmbHMfNHyD9TKr8AOx1GmvhNgNbAXLPVlC2EKrvh9IIhbMn6A1LclWRUtwin QGpZuQ/nlAfFHqyIP8KF/3ys/OB93F/vQ+K6D0GvZcYiOhDhl8D+beTITK/ariwg UImmcLsQbzWOr8Jws50X9VaqY+FiX/SsPh+8yklKxFrQdOWdf0Fgfl2O29cdobmF XwKev3Ym11d3uArGxcbh5QII9bo6TPKHHbB2Wb3E1f60D3SiZVwh8T/6C8pQRW8j Gj1MVYLUPtB5qCJeJDDqb5Z+L/ocBr5Bbs4wh6hzttDneddOEwPUMDzCoEfxxbUg yIdS9zbD57cQjvgOewvAO8uxjlhx6b/ACinX2phMPi/t7oggiQIcBBABCgAGBQJM ldScAAoJENIc0iPujg3V5YoP/0TlXHF0nIsNuSqpYpIozsRJrUkjGOUVDaMBPTNU 2LM8ilzKnlAV4VocI635x7P6tFWeBiaDVe4pX9e7hvMNmEtNjCCiGypxERMJqNXh m+N5rnyL6juXt0vWo7z5quRBbHVch1hLKqQmXXQLgrl4LMCIGarcSkn109cG3KW/ apldrBlIqRsiyIKwMwPLiB9sMdIGpyNmyqiC4lAkHwaSSVAyWsczjWN3bOVDKXju Pioq4d5CpQ19w7u+WzlVVUbQVfdBKxL09r/SZTt5GpmGLYdfoMG+SqAZL1UBGRnq o2G63fPhS1VHUwurrLK3cE6oy0i5Ct/Tgv0qe4NtOzVcUBDjqf0ooTwCHihpn5po mfzbLDDxxaRJlGI4pGbR6xLVMfMnOU+QfF1F5wjL1DVrUQIqSDalFB47/cw170JC +0tFwEm2dZe4s5z+0vmWdDK98pa8PsH/LOwkxpgnp2vdY4FVrRY3wR7GteCHiIXG uBZGPnwXrNlFQIvF/VKi27wAvTKLczyRKkjUfmri2ydtpnD8xhOMJdNNbFZrAxQs UVKTLAXJ+baQxwhyzZdW61ZzzwijwlCSjEYeWqkav15q9IeJhkAqvpKBSTvL7Guk 63R9WekpZWTsZNMBUkHEZ9/xNUg3vB7iWFh6GKiygFGRW1u2QDp2Y2itmtBumTAy Zz4BiQQcBBABCAAGBQJMlSJFAAoJEIqviNbYTkGukJIf/j4plsVCQZOYQIrkkd/h tlbs+YIXwom5TxGCppLBElPmyEyGBAf5s7RBPxl671Yn8hgb2aYG/5T98tH+KMzg 3NUVNC9lm3F3hBMPu3S9waeJkx/8HRzdzeFmP6euea+BgBM1sehWTUAqsG+0HhTH Vi7bXOouFNf9pDZkHi+GSQA+fHTnSpJ2bVu9t/IroPi9cnqPSNco5atSrlTdyXJN EyK7ui9KjfyISEU0wOIHY+Hlr6BxXlAoPl2AeysKJfcwKvuHNvWzfFa/Unbbne1W reI/W2Ta9bQj1G6xLIK1vsZDwt9OukVeaaFDqYtNVSVXFKJLFvHatJFU+DyEu9le D1obB8i5XvCKPRXp6iHUwDTSqBLyaJXz8FGlOG+hL2M++YtZXCZQEcEVhgIGCZ2l CYaX1W/ezPxHMeXJoQK+6yNlG/FiEj1pYycDyg4/hpTZvwyzRKuOj/MpYONBGGZI 8yVRXkRHgtKCEaVw/oaKZ45LZ42SBJ+kIXr07emm2pLhTrqrvSp4yUTmh8gYM2oQ vp3OZZOOBtEElIEoU1k/S/SchB6ADEGWCPA7CiEB6N3hhYTj2t+iDxII0c4e6f0U lhZwJw3EaqkTp1IyUkBALOLHacIloGLvAMLhinBUmR4GGwCr6WUM6TXSgFHriLvh LJVYnYPOo1W8KggS/353CVCnzO7gsatOga0R9EclB0EGzN8aF1Mu7KhkVjAitRBv V/sOYizOtaqay8SwyWNmVV8A/uZ7/I9dhssfPUphw9N+JSEUqstHYyE5NpTNAONf 8QKcOKsQ0M9br3TTIq5s6YQq8jJZRZEK3zowVzUzQ3IpHATWxTxMgRJVLCmYEukH D98ef50Bk9WLxeT2pxSRCDrVhmLDkrpCR4KnXUbmn2BsyU/GrJk6moMFqr/BxsvD HSpYar1EtA7YMuLFYQQcYFhFOOMu2xhCt8U5tGFLLDRq7g0jLlMIGXT1fwRaKsP/ IW0vaJBECxpSqfq4ZqEeiNbvmIfmMeqTa0214oM5L5/i5JhGfBBo1aShzYbG+Qa9 RPL6TGhkttDje/wQj2jVLKrWVnqcIMKStJ4Yl9YHRflVXS8vipkneCbCqw4fjzVR oOflkL8r7MScc7YYIfb5o5G0MQq8hSomCFqTmxOTd4LltQN8tX6vt+7NHf8fP76r 1hQXpfqc9b58DqSC6av2LPSAGYeqY0r55XJpb7KYqXZ9QlDDnhZboyzulOP5BiA1 N8InzCWICuam9bq6xKrmqTqngkttJdO+OlPgoaGwvaNqQ//jNMEDKArEg5o9Tz6a DTcx7pqIk/u3uMFOpnz4MlLH7oPPLGD6Q83E3DsMHHv/hHFNQoKH76hTPo4dMopF ltS0OFN0dWFydCBXaWxsaWFtcyAoSWRlbnRpdHkpIDxzdHVhcnQud2lsbGlhbXNA cGlkc3Rlci5jb20+iQI1BBMBCgAfBQJLxX15AhsDBQsJCAcDBRUKCQgLAxYCAwIe AQIXgAAKCRALZiBQYlkICM+AD/9LdUKcABy5cWxQohXDu40mZCLodP5A3boZF+L2 O9jpK/lUSnFewKEJznavs2RLCwpzRcJDNqRc6vEzOyrbQvAs6vMNygAGETB9uxaE Kesknj0ZxCsqqxV0VujHYdRlVg4qwsKftrXv4K5nCLkBRv3YZQ0JzcX/wRlfz81S lINoM/IuT5+QzCGKSjxrM1xrhxZgwHIitNCR5BHl+CsqjpjDPLJj1mFqPTLniKKU ZCB7uN2e38FYazKGUIeQXq/e989zTimvQ24AYUjoGnTuqg1liPd3pKq0ryAvdYZT Upj98CZZ6jCCkDisAOSJerwXZzB/o9ADX2mFJukdD3MXLRJcAdV1CrEg4DGau8w6 JYROgUc+C4RONmihsXKyhI7Nj97t822Rj1NAO7z3ptnAwSJGx6WSxFGvWht14vuQ Lf9bH6FzBlhIxUKhDWIqq29K22ck6Fqb5dHbRyE5253tWt0y48dx5W1kP6LOW9zh LN3NBw59SN4O8H6c2jP8j8qExeswpbECiq+gdnqMGkRjDKQwxf93OhmCbCTYXtZt gJttLVCg7gXXlNbTMrEfbWkZFd21RvGu3LTnWfZLtmKvg4Qe89UTAla/phpJKgYF /WAFbC9E2jmh8kQo+ETHw+EFWYy4RjjIthmGegGQ45KbxZA36woKHjsmnB0eZdA1 RUXf+YkCHAQTAQIABgUCTFk5OQAKCRAQwBxaL2BZ5/2eEACvvqFb9meRRLLwFl96 B8RWJa8F+tv5GuA+YiixUq2wCWz9y9NZLXRsUUZ8dVbcDphW+xxR5OiMrlRnOxq6 4nfY9YJpguQYv92Xa5P2LgsmDss+OSqeVyIxV/C29z4zAc7yPLiMihlUEw6+2o0f /ohShC7FBndAjXGTcMyvVvHIhR+wGmnjsN8NRlsq+Y56ZGanAo9zKR6udI/kRqZm /PO7guqRkJTgPmb8AX47J89v/Z/Wk3XQdSpTvZRPoUY2f+oOgwr8m4zBIqBGHwS8 bE8nHti0QNb4NMoeK9LtYI2Xr7Gz8JoIR8bmsRPTN5in1Lwvy85FkVK0rj2TL5IX dA1wX7J0K8bWL3mORn2yloKCmDYFtTirMfKsV/IItQeLW4K7omB7k5Fgr+JRtZjk jspluq3yVUUfz6Zd7G4aYX40uvugT2AA5Akp338z3/FlrBgeoKKc66Tu3FL27t3k a+N4BaPq29H9zglnh9zV7S4tkz+mtKCgnIOoZlyjHGz8XENvCgMHBKMod7v1g/Za IFsq+H5eh+pyIX0VX+PDBUIu8z6/i5NOJta7o/Q/hr8XzWXgz4pz2m+P9CxK9FsB pg66rrUeltJ5iRe648PWDeg2WsbERGi77mHGE3goOw3C0AdFra65jXJ+juAL891G e4YHzuX9lHonTud4ab+h703UZYkCIAQQAQIACgUCS8WWHQMFAXgACgkQrV7bt5Ps V+RqSRAAtthk5f7miyCB2PcxhumLbdMvWFpPk120R9zxkWMyd3+gPdzuRujOnBUA VaRoGXoA4gsb1G++fPVr6Qsv60CEuDsPXpgK0crxED2vtGV9gQe+mheCgjwucDUM BQVFCgnZD/QiYbJ5wJBVrEqvRdLKHHPTOmM7bC2HMAByLLIrnjHgxINsfYfUf8/N 9rf9gz2sOq0mGzVSaM86xbbjySxToYISYLbSws4HYGw+M/G++1d3H5DRGhZiGUMP 8GC0gEDAAcprW45btTzmCo6CD7tS2x3JD47RLtbPN8OxsXBnxynk89Kjbxlqp2gM CXJDsYmnp7zwfmwNEPbHUHL4oj6A27Zux9cjvyY8uSlB7vzrNVjPiEu2lhflx/Ah FK3Np3os0fSb5qHQqO+uVijX6XTHhv1ASnHKXTlqQdq+xf0H6bj7ilhC6UnwnbHz ybNeq/X4hSe12MfP6RglvpZjOGLBXZxK3hTCN0LCIFwR914iCOHVkzMplk7RosW5 qzWYhDFA17pyufaeCj6CWEWSAPb9nH0+iOPVR8BkwtRWUHaBt+xA61BJlEHZWRbW Xs0RteX8N0DPPAYJNBiXQ6YjXwwv3USrSX4u1IgiSLjK02PVQPO5mYEAW4MKKAtb D4yYPYuWv5B2tqJpn26FttSog1D+FflMiZrDv6isWwE8QYbxlP+IRgQQEQIABgUC TJXRkQAKCRAebnvxXBj4VEO8AKCQNiPgfoCBjP7pl99P5mztRWi76ACfaezwFf3I vCBLKtFBg6DTkda5C0qJAhwEEAECAAYFAkyVPCgACgkQYTuxJoBQOQzSZQ/8DC1M vAFq1QqnTOxKtphMCt2LTVTAfdsY0hwoBPpciO8xuPNS+jy2zDyWn5aN381pPRuB TuSPUoOmWfAdGC+6rJlHV+mdynPDObwRsOFfHD7MpkHi7zNxFrc+LCeR1WeLkc1n IyYQrAuVvYkMYitBaoj+dB/gSxv7vECpvHZ8yEViXk9fQEuq+gzy4FirYuUpJt1W ipIBa3wVoXQiMUYPsGTu4qcp2fnv68xSG+2jtzxDaA4PV2nERs+od8MpqJFQEJDz z/BlxYfs8pCBdC2EqfV7znQA8gsh6aT1aBKJEbRqqL7f60zy1k9BT+loA/dHval4 HwxCjdqBeBz1eB+8m2qgsESQbIkGiqPY/UHDNNuRHOpuGt4zNnIYAzqQVz3Ofgb/ wUKF/0PhXy1elAK9yHr22Zb9YjgYCzsUQxL2UIX2+s754YER+YQqFyckyZzXCGKm +IwzhWmcBVkSwy9hlsxUm7BCuM5mN2xwU95WxDJkgRKOfCR7zX5/eiCJQIE/Qgvr q5z6r4xIOw/IblDa2uaHLwv47zMUImpyA9kpl1Oaih8shHd8CgMrT6W16izWL0Yf idF9ByPwrmoN/bjoL0SYpEt9YhcXuNwrDDdnMG+TjTbt4JvLOfgpupw6f7h7Ridv yBOSELsCr8J/s2C2hIGVffVuQgdwKJT02tCqlOeJAhwEEAEKAAYFAkyV1JwACgkQ 0hzSI+6ODdVDjxAApyHe/t/pbkxYC6h01ECYpfgVn5Z5eXZhHlcwDHsE8rcUOqTs UrEwO/SkKN8ZKlD1NAZ8NTRRml2B/y+/Gkrjtql7QYD81J33JRPII/hGYU4Mj9u1 NRpkPaKUpbZFib6ffq2iugOgAkw1lF5h4eJ0WnwokNfKHp2sPHH4N+9igOxWHaXp MiNAHDAsvMOuvdOEsGhVB/1aZFaTOPzD7jfdbEKWFokSoJSTp0tp4BTut7A8eOo+ 1lrnc/nvEgnTrTWQXMwKWnrGjD6gYjoldN8pdezmPesivZwr5qgIyQVejGD5bIan 9gvMf61JAYe7iJwBJ2nz/+ixMEHODMYqaa685tYqdtQLnisXu9Dql2wnvgFEgr8n ij0aTh2GQF0hnyKyzQuOSe43++OxJOTC2gMYpSEPEAHnmZjij/2ik5iqYHMJtN+9 U5orarxu/dFGJBvIhyhoWVOtKX+8beeZxqodEijDpdF57Q5xa5SPyojzhBIBtECg 96wBd/AWkWXZfJHBsoVfV4gu2r/i/dN4jFyu7mfg9Dw1B7d8isEAPes3xpI5L1q/ 073WD+lYTXyJ9NdYgfTx9B/Ha9AUujc+Qx/CIM2fvgDkfC852jSNkac+l+sGLQS4 vdD8110DWLMniVBOZsmuun0Anx/auAsVqDisxJPDszOnnWWfZNVZSlqBDZSJBBwE EAEIAAYFAkyVIkUACgkQiq+I1thOQa7Mdh/+KGE06nLPiCOXXjZ0LpadQorlpCiK DEykoMLsqUT+RxpMvENlPAOUhUhFgcKReStYZk/sO+KK19NDBoU3LCeEs7qdS1ZF 385Rgf44Ki7n5szQDW8kGY/ycY7b8wAyNiGv20hehtpEsQOlSsKOkySngBf9zCqL WcnKQF/NmxTpf/7XzHrYrrRD/KqwlbvBO3emXxnh4gekzB0vcWg9Td/G2UABXoy1 RrraE7lJyx189yxVxmbHGu4fqLErAW9rgq/KzCFSBTDoX0iAyIb+pu64OYxDYzP9 3AdqtZE0o1Ikwoes5T+Tef5ZdYH0aOE9GfuRNLeFNI469pXPCIj7LiJ+Y6dCBvkj JqAHTukIc4ZgpEqRhdNQpe4UyjWv22e2lGqoEU5DlGK4KfrncCO7N5CdItotAAKD H7hIKYlh3rq6MZsKEfWZG0CFLUA0rIH0WIF65AkJm1fZm3ENjHAXH7WT9LiJ/1Iu W/lhiAOzWiq5QS3yeQFYIVSICuhL+Yv9hL3YWfj7sl98gPEUazTzQVRq9cfWmuYQ WNY0uLAu7Wmq775NCKw7FGIKIR+TTiJVRJUPXWCI2DJDbFfTdQIjhFDCEkA4Xiiz Y3Otl5qK0yuiPMk6TKaRmdzRAYe1HMc9priR4m1WWusrOKa4MEhrAFy6LC+j4vB9 I6WYpTPwfRPW7vMH+ri3OaO5y6MFR5A45/BYJ2CtOzUu1dbEWW5XN1jW774WDqFm mSS0f4gNw0shcsnFiGyOGqRWEzPJHu1d1w5arhshlUKQAP3NC7sbeKu2knHFBmt6 EB4iJsvcTjlA0VkXZpdCbIhn/jgkSkuWZUG7XwmuP9XitJlzBm7kI2tC9Zqo64s2 y9bIFwTcIXJicpLUXxhQhThP1JTyTYoUa4J1t50giXlG52q+CNWVUBJw2qdTjST8 fxdCQnOVVO6J7Dl+IIzQlaA5xj1NtmCMUpe0K9uaRM2CMFoDuabkUXgInG/cTnoe YQBdSBu6WB5VSOZWR+9DZkaMz+PrydwPOu0uZjvUVWUsNIF9Fh5JtmkE8yKkAvE5 HAneyG/38k0wd5XwFB5+2FjrhkCaSX3DLZLWxUfmAh9WMYWg4ogANpYpQrGhu7S9 CBpuUzQHZcvPkBW1T6NV5dcIPX30mKYjGi2UhK2UzsrPN9KIIqQHtZ/ErX3dkb28 RgqQymsuVdzNiGaNDNKM7H7qHfLrF8pdokG9XjpZIVx7j0qZ7HgRfvTiurgQzBxr Qnf5j6mdy5NvGdzPd+xlpSl5MF6VSOsIAMy/PEmC75H+YKsKW3tGbQunI6SsUMO5 k5Y6lGHU1Hf9f0XfOjIRlBZE2drIF2RBSw+KeiwNa9A6/rM9SwzsHm3MarQoUGlk c3RlciAoQnVzaW5lc3MpIDxwaWRAbmV1dHJhbGdyZXkubmV0PokCNQQTAQoAHwUC S8WJbQIbAwULCQgHAwUVCgkICwMWAgMCHgECF4AACgkQC2YgUGJZCAimBA/9HTco GT2XfjH681s7gUJr74noB0hn0Eq7vnx5WCy/j+SVsp0FBR/u4I5lg3YiYi5sAkhj v4oSfa5Yp+gd1jhOsIn3Ep+pq+Lkqj27CR9RWlGVrhP8Gek/Mdazc9qB0UPOWGVs B/tfXQKaCXasfMO8qe+PstAjOIJm1ZX1tQ9HftZW8n13eZdUuIglqacJTgY4wL/T 6mtxg1JRYQMOqk7frxnykD2iUxdbuwPPoZswWu43B488oMoldA+KEUH2AzkV8UDz P8tfzGeQ2XGoJZoo6OYZR2XSYjodiy3vPX/DAEQf3Yu79SKsJmZaSh0jH5RJ6ONc UnYx4vORQy1euOwixGOSBPhQALF7RF5C7rR8xl05Y+Lwvlg3k7ddJU5vovgCSMfE Tj9CcMBk+0CPUb/6vFulOXaXwaGA9o2cQ5sQif37zKn4BAXgXaKmI2yXQ7DWEwe1 gN3cn5RgKEoRa0gbab/MrWKvhFcnbPWb4vsWHTyGaPUUisoaEjXP7v05kHEC0lbb TEKazul+WZOPCq/zJJDni77k8y/SNZzDjn3uSO08Anw/E94I8jveIbN58hhz4UDb B3r8lPiQjVTuXReqv3d/Ear40wlQI0HZN/13sYPk4nwK695i/6v/Qkl8bYKpdy9i SO7YBxnkT3mVBe3QgqXRiYb3VkRZGKzIjuHWwn2JAhwEEwECAAYFAkxZOTkACgkQ EMAcWi9gWefiNBAAzFoTywQX/gqUsa94fEpUm7waeOIPIYaoFQiE2x8JqoFP2gUI ErZluHFrlNgYrIfDH1wHpJk8/xOj/QG51OwSg60yLIZcKBGhuTtI6sist2KP08xN dFJrZMnUjJSQE9P0HhRFnF53kCPYT+soGefEzEnVF72uPisEQLggYvWRNwxcWWXr NcKbm5djU1J0GShnokLvO44w6QjgrCFJozpIKhaprwuoKQCS4fUJOdatnqlRXMLD uhhqAwl3ATFIgAW0xIGNpLTmZq/f5wlal88EhZCqdsfXiAAV1f6QjkKYIslhoX5J KizvwR8dV2sz1QEkrh1J1OvLX1C9i/sp6Dti79I3SMg9UWRIsi9mKtclfo1RclT1 7qdQx/1oOJiPW9rocutMUaNlIAITT7wjq0ApAOaTpbuzgZxh4RNZfxxD420vNohM 6EcEZBzKqOMhWhrWrwK7RQ40rLkDSUClKt7a4693cDoGjpAvw9qVEpuqkK1V1acS bzohNKBQ0b8q/4gzKrZ6XWR1clv566FJV0ex1FMuwbiZk5/+o/r4d61CuP3LYuYH wjG58E7LCjhTWhsV813EKjtdV7Uv0kWDHxtEB+rPen/iVvISNdW3iOP/4fXIQuL5 K597QCU2fAEAmzMHIUkXKRZaApPAk0cF0l3vuBLNxNgsaKTb5+vvtOi7zeSJAiAE EAECAAoFAkvFlh0DBQF4AAoJEK1e27eT7FfkqSUQAM62wwslCZ7QczGENPPd25H+ QgWO7enuMTDtRo8Z0HtC9TvZeD6qcJC/uTabU2WkFled4PI0Cy4xSR68kbs/YC/Z ZgYJ+snzerIC4l+F+SxqW1XdHFbpQ0GqauLH3mv7CJ4kydUff6J1QL++5z9zfshh o1Iqi6ZBs/So0tDNZFYDxTm3uNDd56Pj4xh5X8GqlOMCxpQZJXj3BXMtNxt5YVnp Knrl4Q9025G3dKLlVRhVd8j52klN8rMbs1AUI4N5lSJf3LO21n+7FH6qHQz8zc/U cLj1ReRLdlfyB/GbtQJFDRTQQ+eYepYph34cuQVJOcQ94h0/ppVMK0rRF4fKeSl9 YO/pZ/vq8NFBBQZP58gn9lf6KaVkg2Hsj/kQPId3nbkrexK8tFpexeGltyuZsBIq X6RfNvb8AysZFJps7itWujYxaJn4A/2zlvQCGdTCAjWQXejYM0JL0MyrJXDWX3jh WuuWHkBgANvKgc+CtODEq+i31I28baIkd0+Jcd67RiMsZWA8kEGx8LrotShEhbhw S+2p2HqCDGdRqTQJVGGfovlKN6L+fna+SbWTzuarkuZmKQ5Q/EMaYDss/r0ilBip Hs3UEQIxH+lOLRj1OrMR3RWa/IBCf2sFj35ggvo9otEi7zh2M8l48eZHlOj+XzNf 6XatmW9h0NJ96JmDU4l0iQI1BBMBCgAfBQJLxYBUAhsDBQsJCAcDBRUKCQgLAxYC AwIeAQIXgAAKCRALZiBQYlkICDyWD/9Mq0cpCBD5hk8+3VcP/mD3LHsvuTcDWMwR NOiqUZpNrBhk1XSdBEcbDNYu6cLbr6uE67lQqMGMpheIYq3+RkmclybWuuIsuX2e f88AXX9J+jE+GQc0DxrCiZmsspd8xHRzbQVrz+T5tKRBpZIjI7v4i5qlMJCuZN+I KsRiZkq4QGx5kMjnYi83kqu/x0qwnmW30vOmz+OMCaZ5E2qGZSklFJgwl1F+3reP MnTVdG+2dAosre1KBrdluglmYYVMHPyBvGggqlPfgtKa0NPUfj6XWH8f0z6yjpYz Lo9v+anvwqOlCioJ0Re7dY4+bfinajqci7f81WE2yfQUPKl647pPFZHNxVZLBlkd /a5yM6e30BQC6LGT+3XTJi2nKTpZ97K0VGiQnIzGpJzOHZDeu6iR75sXjqRLk/6K nrQq4W4dTzq4bAxvh08IDKwSDvMzSotN2OVoPAQBK4vq65ymXIh8WGLvbmqsNHz2 hsjNAZjv9sWBu+qlpcFXXJVk0gZc6O2bLUXH9Td5pn9siEdqH5iZc0qz1dA/JXMw VfILKkeX35J61id5aMkCdibmYcnNYw4w6B5cLApiyiAJGjGJ/d6EnBukFqouivP/ BD2pdlqyL4b+lOhyTU7RChuJg85hNP5yWOdfv7c1wqbWxRscvyq3YQYRpxP2YbBx nc6XgJdlUohGBBARAgAGBQJMldGRAAoJEB5ue/FcGPhU8/QAn3z/6+v2m0GTBICM pDT+Gix/mRVtAJ9YG15wEeY2bYRQUokx6plNijuMeIkCHAQQAQIABgUCTJU8KAAK CRBhO7EmgFA5DJerEACV+Xw1jFsbtV0Ljm5o6se+izGQZjdlDBZr9GfltAZ1o/nY xUvCGR5uG6/lJP4TYX7OgD79EEgrQMFfxIRZZOuGPTUtOG+BLuIUOWNGUJ2cqgOG 33dINQyuMNPRqb6e7AtJSTSU+p9Am3soLP8ynCzk2OwiSxqPtRKA/jYNsz9M0MaY EPYUhfv1RA4GKP8qjvd8TynpHLQfYw48Qhm4UzyeCzrTyT2RuQ1cymb6hNFEw/qz Vm7VbzKdrgp6WIonaHkxmULpRwjtoIwfHQeZnqvBkvPyKoKfq6kcovdE+9fewLbi yKFZvCiH8+EGcVzZTugCQKB/kJ4mU1ywXkuaqq+y2ojtGXmrUF4jYKZqgTfI4LPB rXAjzZLW5XdUmgL4W1tS7ssZRSy8IWdoNdjnD7teXLSsWZu0atRAHGN5z6PT0c51 MYgqdojk4rPAT4gaU/h0ENRXnwCZPWP56HVU6Pi6/6SeA2SCKwYB2ykB0zucASvQ EijSL0WZ/T+di9whSmmRfQvC32Agce5S7T/zyRDBc8dF6nd9y+0ONRrqkU2T5uOc kaivdCLZor90TaqdNmGsxi40c/GLjU8xCRwdG7ef2b0zCBR0MwW5qBUqxVvFRXaW lq7o3J44DQfLBASUpkG+z/JMoJjUaM6SGsUTWZEBKhUOS+AaMO2lSmPRBp52/4kC HAQQAQoABgUCTJXUnAAKCRDSHNIj7o4N1Qh/D/oDkIycbImnbbI60U6hh1t8Acjz NQMsosvlHS0cP6T2XVXBDtJkHm5KcCYNGkXFHL+prpyyMzVKYyNB1Dus+S0mIVNZ AAahORpOrYeFoMSrzvYkDMwRboyfe2jv/YDfxXr+p9N3hR3MJTZgnCk0L+K49leP x92Fs6S2cVYL2Hx4JMHYdshetWXzmTHIMHJFLr8gPLzsmMUt1rJvSrSeA8c985re olBvKUmN6a07XDDG99CVj7/dHjXiC/bb5ng4tON6cRL9NCKRlaLuhBZfjjP2nS/C 5wZ9JoaktmxnibMUItPozIJO148FTDsWnoP4FR0K9HX+v0lmGIQBnlvjifpkFzm7 ObkD1iID3yJVv8tzeUePDVFgyl2UfD7bDCcZucjBLaLK9zZ00G748T57SZ8m6wuz urjlvVT1xdDlf2rwz/NOySxOAPiDd4kscAWCWSszAvd5LI5o58Epc3YdlJnbUpNT EB/pY17Zbsja30ub+BRXOebdV4kr4QV+RMsQOE1cZSUbWcWs+N/Aa+G867xeJgfX Zs55Q0FzaOJAFURwH5Az75/8sniYHliM1F1TDlgtFvU+MxSBhq+D+lm9lmjGQZAY LxDgQyaDFuchsR05j+xNZwalDv0IJ4Q/5iNVeT2qY2si4vUMIZ8o8BCE6C/rIyJ0 cSgTbYSQf944s2Lra4kEHAQQAQgABgUCTJUiRQAKCRCKr4jW2E5BrrPkH/9pQ52a Q+zaqWMF/wQlQTEZwWUtk6n//s6fKmIhuA1a9te04KSJ+49KeNzxT6GP3Po6y0KG GXtBO0Xdy7MS4hhuuyMN6oUoDMHjPZdpCf9IjW1rN9h2liB/CwxwsImT+HHlysJ5 i0xxrvpqzFmK2IbkhIsS3D31mxsETCzlUxZTZAKWoZ9bv/wHcGJGujNTXT61+Nny oupb2nd8oGbN26Y3co9VcDT76oywToLaluPKHzacfKkBLmy/E1HoI9zC9LmILvit SoOJO/824Tx1cXnsx+t5rXjsZeGjwSzof6uBpA6ETuoVVR4Q4BOtgR+r8y/z+ree kkFxfUNLc4x2eA1P6lS03z4pvpP5kBtoWxfWWzR6aKqWqP85vUeYA0MYEhx3b+OD NKU5KgdI6qugdwenJthGvkiRzO8eQIeNtMxJL/+ZsvDIeOnAiS4/m/xgWFW26eyN X3Of2yaR1UsbFz9Cz1vrABPtMd0HkA0BentDd3b2y18xsq4p3SyADT8Lt/TizX/H TPOVuu6FWVFPLpubm5fKrXkzXEfN0uZkrPo35UYJY8uKWieUiKH2ILT+64RM/vFw I84Yh+VeZy5+5XsO0vSG6kuoGF/Jj1v7ymj0ng3a1IaIpxp4Fl1ssC/4wdayIFpS DNDKSvhia7RUSVjgNMhXEJqxjrzD5PiE9LgxKeln+6PrkVZOxUWcDtAJcjwVcAV5 pgzsMDHW8liyW8AHHCFTIYW2Dpcd+3CmHCAfKPAtFzxr1U9MPmjxyTiy8JSf9138 dx7LWOBMPlyNuIBXG2yGq8ZOTHPvbxPD5JVf+RJEl7avy+fEewBa9gtL7K76W4VS 9d6xd2j/7L4VRIop/3Q1BCm6inZrXfFVwvpCMm4vWUNFXJ5dmgV0vvYzqcrYFdrk 5H68eMm9hCvaYGq4R/eO3ceat2MuiugKhNkUesKpZ7suHT8aP6WzTyMv9PU+lYcF ZDNrEHVaDsmod7S0hSAJ2BdRPZEQZYDTVpTe5E28T7QJk0B+Wx26x6JWhElRwNdA RiRcdyWJOoJi2SG4rff/mTtpakqakJMl2zYK7rGjWty20M/rDLaDTD40VvbGgsfx yvFNZgMZGAJwX4FivFvWGU6hq3t05QzbxskUWBbbizpaIeEKlv9oKQPy0MN0Z6uz lm85BdQdcMz8ywgzv3c3fEv5pq/nAJ6RyQ39N5yurZQpyDAW5NSAcIVwR1YO2oDL PVLVxmBlx0yMEzmMl+/umhY3UZt9yyoL2AJ6Yyp0f7pK2rH5id2y6aRDLbgMZxVO CPTdrG55a9t79PM+h/S/WL+lL6+6peMuBrYIZnzk11xgs59XKP+s4bOe8mtppFeM 2pqo1SBVdXVlEwnntBxQaWRzdGVyIDxwaWRzdGVyQGFwYWNoZS5vcmc+iQI1BBMB CgAfBQJME0utAhsDBQsJCAcDBRUKCQgLAxYCAwIeAQIXgAAKCRALZiBQYlkICHA/ EACALs3ddM7hjgsYta5lk03nGGW/QnNUc1p2tdjyNhZ4hWKp3ED5ZJD/pYZ2YGd+ habL9WSbsz/265orYokeXsHQFXn4XR6mabO2PnEKetEU9ZgGd5lEd5Av03kq9pHx vwZxYxg/+fQUT90LzrGDW3Adeh3iAKhqbdF6y/nYUsiBXg9iDqQJU5kRyj+1iqhF HHSH4mFrUL9F5OOxy9/NfRI5yj5tRHtUaThuQ8Vf19319O15zQHqoMBW1CtXkBql GZr2rGXizzmQxUCBCuVQjh5v/89E+SX7nTycESDUTXrA74SuRrxdMUFSDFdXEIy/ dIYMWqFHrYvVphco4YKUBzN4ytLXYXEQZvevx5SLdHW29mahhCEXOvVek7J7sXmR bU6BO37mR7BGTDjeDu7Ecl8BMNknhEKzwHrcLEmGsxreL5m40JWJECaXX38AI4/e MROz6llLVpr19Wu7Xe5kQrh7wlGKk0aCnfV1RJu3bvUtpf0gabYjPrlc1ew5uoGF AdUDkUrQwINfIOUsxVe+E3NEk7302LJHStGa5VyAmieJWuWk7aF5UmzDAOHmsl5A 3YdnEtdq+NsnmUIUtUDzrXTsiMe1UtiT3yXfU/uziJs5mzJyDzK/bvDn/zw/ZeTH 7jZ7l2umsCFkypJlzk48ODiMQR4EkjoCN6n8JcLNsNDwHYkCHAQTAQIABgUCTFk5 OQAKCRAQwBxaL2BZ54adD/9DA5l3Vb8dbWDj+mKn0Ry4tQWvfOqUKD4G+WCOQYS5 SMpGlkpaNO4EQeb3tZFMdu+RXiBZmoRnDEqMkceoXRyFfkPYc6HDm8s6Duune7DQ YJb3XcMSynS+5unHjrKcgA61v1hsdjUQ9OTLmwRXzWdOnsv7bWWrUcPUlph7xGk4 uXCrGdoCZFzF+2YL8BiJYlUjrLCru9BIjXwagqkBeciv5J2YbjSvLQtC1hCHsq2t /QQjODYj/HigCF544K/qg8cUjhry6gvJfWAkDuy5fstoaUf5Ezl8JSBiEuyNuYIR KSiaDbXiZEpqQ4uDccdLH+z9/AhTO9FCe14frHpN1u9D2yYo3EAsEmwpUVyV3zfU RqcoDLZ1R/WdLzKrskdKvVhD0vc9N4AjYIKfqBy9tQQH0Lni7oY+OYLx3Pgi4dfS RC0qi2TfwvrBYXkGF2XBFpHSDgOXMMgnJ5WTftS51UUUwa9Cy2XKrnXscq+z9YL9 fDhZmb+/NuW+PYs4YkQtqsFUM51JpOZtERcpgpuMpuKDbEG2x5o6ccsNNqtYrpfC agUD6Ere8vXh88vcvjflfvZmV27DuY5L+xUZsIqq24A4Oa2y12kIzHvLbH6nSF9N WflvEfyE6I50S1g9/1KH2NiT/Dph5/vX3U4HHFc7Q6wBPmcPG/Br/LRNaJMpKubS /IhGBBARAgAGBQJMldGRAAoJEB5ue/FcGPhUVx4AoOVq3JsoPPGFXxv6WUodBw3Q FeM3AJ9PrLupWJPeTDCu/AJCaHs7Do8XdIkCHAQQAQIABgUCTJU8KAAKCRBhO7Em gFA5DKCgD/oCO7hApEgW74PiSOC+YVinlF3W4qUttuSBJKXnGoY5IlnIbevR0+m+ o7QNQeJDhJV4MH3T1LtRUTDygF5YQAp3UknDZ4u8TIjQLyJhkABZ7xNMqVasa8cM mX8RLkiwjU2fTvuckFwTORifzh1eMbLLIVS4vCqz26X5NTLCQyFfl4g54f1JwYlj 5TC1k6XoXSo3BX6v3f9wRlD5gBXwRnx4T4QRHy97AwrdISkchAn/UA4tCwWNV0IY C5EnukLBLyOk7n5XKGGf9Pm8gBbWmsh6Cg6xKBBSnCwLt5DPzchmuBO3OScA72Hu jaio9ZlRCllBEu1Iz5qsTUlU6TfzycAgzR50fUXS2vJR8/k7wS7GzqS4oM+22hUf X4gy+eKyzRZqicg2Buw2FmzRyxHxb4dwlp7O9ffhNu6TXmilmliLbGbuYW7q9NGC eolQA70ljwaHh2x58SYGM9SYfvkh/RWL3aevcEXnEvTN2rnBRp6Z+D/3LswxTqEr EAu3c5ro7EEn/JMAa0g+SDciTasAmhx2eN1NBIigxHEeJo0NOLg8pucmWOUZnP7C V9AtSeMm7WJWLNvQN8R1of2WVRdXUI3fDW2NrEqdaW1fLno3fHyLLD+WDY44b4FT txCwP4w1aQJ0KDL7U8jDEJpqEqqtGcmFvbIvEPzR+35ppM9yYY9PYIkCHAQQAQoA BgUCTJXUnAAKCRDSHNIj7o4N1bJSEACtCKq3Go7TenalQiyPTR50OaWUopvUrhyv jvLAvNnmAh4XalbibGXbt1HcAxVsgAhQChEX+6rGphONYWASggNqDwAQtVIT6xgt 8zLjNIBh4KKHJhPKWS0/59yTBh9cvAOnHe+qo+yPgTgkPocTgyzGdZVXOMIKPoA4 taEOjHkSVjHmhz1NE8MxSl2D3Ly4kdpPUvcbqXGZSxB9P+RIqjTykBZVIljKtcFH sVbCJRY5L7XnzEqP6vSC2wLeO108DKCdA9h+dH6RT3l++NMRdet/ZJgnhEUpQ9ln DqVnXAZ52kMwiyPqsKpZQYZF7iCwfsQ/CaZmLogRbXSnTr73VbpzQfkRIhHZzHTW yUlllaYBQZfUA/c1MLt+JeNwqKCrICBhv2h+pGLMQrWECMmrnRAeupLFQi6eNfn5 /wyPYVSnbQv/cj0hbBh2r6JYZq36k3U1jpjMJXjeQ4artWILdB5JZ5O68PPVGmnP DZyZOtDT6rNQSl4cPxyny59N3G6fceHJzmAb61Yt8Y1nk773z0Vh5Ie+W51/AHK6 U4P4r9/WqgVuW/g1foT2oupF5HDfsaBvI3/bNnwMIhIxHg7/SC/bT8BDmPoSutlZ WKyl3NXCFcaNqxu/aJmZfzB9KxRY85mkLa1IoKMixMrE6qrWXt2D/mvxDwGd1x1Y +xHFHaYOlIkEHAQQAQgABgUCTJUiRQAKCRCKr4jW2E5BrksoH/0azGeZx8B9n4Xq 9Trs6AXROROiWsSrnezZXBQHBiB5bqqWZ5CYcTmxsBF8GCNgpiClAXPT44TwClOe yTsZDUaCVQpfKizeIdtGPYE6/JaDZbJ3RsqEEFF98HvGjCA+TQuTJzKznR7JkR7/ btsFpfx/KdHJj3TFgcoQ1Hy1Ia8X1V55Qyr+A/+sS0MsliwtEtnD4yaa1ecz2iQU jaxGnRjtN9iIaj1YCH28PpXUXBoraqPdvK76D2BTnP2wfY3EDGpV4f0XCDfqj/xk TWlgpqn3h8lLOg3+T8zM1QgKyzHRtixeWcR0OKJv5vUC4ojXQ0q3ChItwuS98A2A iPqVP7Ul9cPr1yayQmuXZP0QJiYmiplOLU7suCNT8J7kNgiluX8TpEWi0XPUMcUD eDcTs6dlYVmM6wsSltzXhUqerBjfGyLl0VPySlFFw/AiPgwo5M0Za20fOXMfm6uz sfMY6YarjpDNo/BaNT6oizNgw5L/Ai1wNCMNejV9aqS5WY1izUkej3j19MuxVkHB erjQ/ex2jUcrHE5w8Wk/FCB20l3WjV8qj79+47jWNAmjM0aSYR1bKznoJC4VJWD7 1bdglGxIkPakbEuyI5KUfK78hob4k/n0aUHnF38vnBKHrVhYiHM8+RHdl5ejugQt RrINvpHp6BwnlvrODhGVBR8Iws7TU3lZIfVv2wyHHJ1qqQOed0/4Bs30qb+43Uzp N/vLumF6wtILJeWyNHg8MIWbS32131NWVmVSmsLsphX1WIeA43chlpIDHr7c3OXp tWZO8uOsGku7gRKbzs8C55xtgXKLFe05cBFpePGz5+6z6rN1QtrajkD2zEA7kPHN pj/vqIzPw1uBFaU/PHpHvXu8ZVSoWA8odrH615z6xgtgfss7QYyS/fas5xxfkiSV LM8m1LF1tC8Gjf+fph139upEsUeHkR2bkebhj+rLJIkVkYxrPsL7hsppqm45s7g0 HIdOkh30zBh3ZFxPhS/rKN4XCwrfxFyCnr0YKuDr6vIvipCro6NXAyNgjcBAMKxv 8hVaS2YBD4ZRzrsSNrKdG4QYZci7UBDbFuMZJ7jE5z13TiFDxeke6AIDAe0AdW22 hNdoopfe3baBUlmYc9cpGY3Bf7eeHqpmw1A9kdXLdgAXtARbnJnl76atvmIUbVQo 6gjE1m8RfmhcbjcTKvRqFY2AGlAhAsgxV9HLCZS3+HXWXIMjGGE3/KW8VKI+bH6A 6PIPew9tdUkkfnu3u4Tdsh2K/F8azLxbM1QW9lpUQAu2he2ocCkcDbfftHzpqksZ vynIamR44gs87NTp5bN5YO+Zeu/tOv+g86OnR1WzT1K/cXVGPWFgS0vmLVm5UVnU Q4KsPs5etDJQaWRzdGVyIChJJ20gdGFsbGVyIHRoYW4gSSBsb29rKSA8cGlkQHBp ZHN0ZXIuY29tPokCHAQTAQIABgUCTFk5OQAKCRAQwBxaL2BZ5+o0D/4rPcQeJCbL SIQICuba9FfGID8NbR1o8AZeXlshdh4zd9PrUj3zkomeDa0H5uNFdbECzxfE1vkq /cYqUAPQK9lRPKhwFanNAsz1/4VHXqcC/mTO6VX8hmWzRqm2f46pRPeA90kn+hUv yhRXy2VdETOyt2VPQ2rdE/mQNuWrls8XQ2x+zRDSwCdM4vzlmBlqD6zx7ESibhxE TfsYIU+b9DsRTAyyoE3fTCRd1hHILmb0pliT+uMTVsLFsIGkiPkQbVK2A0K4rWRn YnEcHuPxDcCcn93meAcXqCF6jCa3/BbSxqbRxnVRakXo2/FJ6bWB71HuJJoluZPt G7M0Qgj7eINKx8+EqCyqAAntOJb9X5P9VadEUG3dbdvB+RRasxByf5dGyUU1yUkJ yIbJqvER4rQp1CCXQskuIQ+NhJRekXCLdwUnEK94umqQRc+7mauSeudkfPWv7P2Q oikrX2ht8UJa8i4ySv1SkdKJAvpObHH4qFJh3m9kegUc1NETKkvHtTfzuqrV781E yawkUXD/cMM30F20Wae/ECxg3Tgt2QCYOclTbEmG/VQIawn1s1TQ+eoBABMHziy4 3TzC9p9FPAN6v/uaMOlnZc8vrxCSWTwLcFgdYZuOWKG6Gh5ceLkpuaZt373ZLnwF o39GtVt4mt5N3HVS60v66rO44qvhbRSATYkCIAQQAQIACgUCS8WWGAMFAXgACgkQ rV7bt5PsV+S0/A//RlBktihHSufSg0UKRyiDAxdZEKXTgRB1SzqIP+8c46JBV6rd orbE4FeND2k0V9sP3G9ziuc3lHMPsSF6VYvIpgQaDqsXT4sxx7My2DXZAKyvqIze ElSikuRfsEfodE13G3VZJj2ZfqTqqTc2tjF2vWYeposxLQVbqvwq9fEdcTyjwB+I Vd8APe7Elg6hiRYsd5TfzWhTLoYtJRWDAMnVZcUHmuC8jftduJfmppzK0yUYLOCp G2DsJnLjuSI8nCDTzORMdaTAD2zjxWwtdDe4g/HpLxYenF2Mj1LIYU50g8iuaWNV vifFoTq+yh6eEWokoUmh+53YjRWVvCg3WJ+ixCNB/piTbRznfZ9fxnO+9ZxUwh0m 4AWVUlap4VMp/evWJX98Gyg/6CvvAzhFYhnuOAMX99BaSG34nn6EH/UI2hE/SeNo qzrRcOA6Tm8fP7A82IRZWMthlDAlMkO6G0ahzIK+2tXh0JL5G1e+CSLCcxSOnFV5 uBaf6Yd1hhDEh8Dmmso/SPswUUHQxfy97L+4PaUrd0POtedEcVxorQTNApRa4XRU cX1jtGQ5u+Y2wE/URkEqoyPZ1tTREUqcU4jd5rgr6rfD+3xPSjMWhbn+elIp6MAj 1zwSSILdxwuKrGCc17w8S8oNL0xO+iNK4TSNXBD32U9LrMm7COUTXzY6GU2JAjUE EwEKAB8FAkvFft8CGwMFCwkIBwMFFQoJCAsDFgIDAh4BAheAAAoJEAtmIFBiWQgI Tc0P/iJ0w1rEYWYc8Gpi9EcyvesyP8oSFFk9iAbAFQGNK0TrApYa4BLg4s/qHY5S 8XGaJcwUEPni7G50+Wc3H2/QUpV2kJsPjqbGJxngfMwVAWY3QAFX5qdnAL8elJWE vGXJFcHvDxuAxMtPAzHmNqMqzTHvwpH4oNk4mRqfLW9VBcqIMd690+SSV29wax+S sUeSSVKZY2nZ8y8ycDVtgGadIV8qdGBA5R4UkLCojetysoajJALjo+3yb9XGZXox tN6jITucWIyta6EWuWf/ErI/RH3XGd6qMKMMcXiJhzxHAl0j1RDsIxXpal263OIi QGotBiNLP91aDR6vu8Il0FUNi5GeS9qEm/GWiBPXSDdTnyZOy3/A629F4cbVnSWd 6AVDzxj3JozBCsYOGu4EpQZvyspXUWnYXXa3gEe9QNaWi47mlLTNhHC5DseF9l25 4W6m15Sk9lGRzjXJSp0RU4ucJOm+S89KOsDvCiqD+++xea9rEGXsJjGRh4DlGO+h mMvuW4NOV77zdFArvsnmJ8GssEUVdSvxo2wlQsYiEg9By9qqznth82JCHl82D4Rj iGjTLJAkt/kPrbHCqDdJDTRFWVlAmqXKo0rzV47kdV5QzDOdw+e6FHlO18g1vmvQ QWLVx8seFzKvuvl91j0CVQSZKC1Pc4i0wKYgAvmRPNZYb/z0iQI4BBMBCgAiAhsD BQsJCAcDBRUKCQgLAxYCAwIeAQIXgAUCS8WIxQIZAQAKCRALZiBQYlkICK1gEACX NiXa1ctofMvjGHkyajyt45HdbkSpvcEZG6uZCkninKVUFxYhsCCJ0UMYKlOS8TFY HqeorHhuNkJsKdFAuxFHHrSdUTbI81KVXZ84YDYyYx57pvjtd0uPPan8XQP3dKMW xI7A72vv7JYERLONHqAN4kPVdkOs5BDN2xT9DoQF51vGu9kLHpOKBlukn2Nvozm9 f8v/tQXiMoT+l7WKG3wKBEbmxz6iLklvVwwCiNt2tgqsgGjhAiHPak0Ab4UoKPYu yc8B1BNhojs6G1+UZxCXdp75GAKV29ULjPA70vC/WzOhu8EJ/A4LODsWZJLqQoKt sm8n7uhbrrlQzmOvk40LXBiQVe56DW1sWQoopuOfm0LJtuAnWjiIRNwjyQ2eqIxL OUCVpQEU9m2ufOpY3J3lhehhHeDCCRGh/7oIyVls1M9flmElGeVKPThagG5iv7EQ tuSCOE9LAJeOE20YiNbZk6EzWFY1RjXDvJptEsU+k9WRimy4LBZyMKaRTxfA6O6G TJsGmNirA30dmE/TsYYIFj99O363d2EWE2aGO32ETQcbikYFFfT4f/jY8DpktTSv 6iB/ODlQ2iRXYf5bPBWJ3b4mUpzm7uByxNOBT7QC3v9Ff97NGaMssWF8rX3us/yk ti439jF8jPp7Zjd95IEwLNAroe3DaAsJE0E73+2dwYhGBBARAgAGBQJMldGRAAoJ EB5ue/FcGPhUaBsAn3n2NUiF3ELrIAWnYboJM6znJRAjAJ96oMAx+IZM2GdmwiXO jXtUE0cs/IkCHAQQAQIABgUCTJU8KAAKCRBhO7EmgFA5DJYAD/wJy6ksZt+PT0eL /fPQEzODpBEiq5/6zLgLBUZClMKkteBZjntOcSpgoBndDPlf2nyS3mDwimPk5pnF cOi2IsD25dBkF3AMFND9diN+hk2Po2SZmV0Ib3Q72s5Q4YE4weIvgral2KGkfd7j JJfrIqiCYp+6VH8Otg2jjXbLZzEIrhD0T6+88fWm1SaC/1mDXhGkrIm8XAJeG2Q4 OI4V6AdH2TsrAXN8CKdYpQx8WH1tGDOISFSHahGgVvj4+Msyr60K7OHJwYOqavfy /wjEIkFGEcl+fBe286bV7Yxqj7VZUcxd98qloolhi0IuCV985xoEZrf7mCoOs+2T 6B/hO1Sk2dimh4zuhsM5uzYkOMMNU7g3J43K6RyVgbn0Iil3ZeXPcnWanKKfnq0w oLQHutrEWG6gSSrujCqvEbctiCCmC74Wf2BkB2p7DegQlh7a1s4+W72aLs4CVLGJ dzAZ1wEE9ik2qZ7Cy+m7C7uxQMSTy847hhVRZnHu/d0TDCYpoBemK3B0jb2xtEMp FIQ9V1a88FI+V7yyQQcdx/7JELYvqnhgnwGfQ3zUneSMLYGPdw4OzPsn4srOVODd 6duuv1Z/HmKon0MqjFpOwjN7mWA+cLhDTBLd2cCfIA1vrjtiwVQEze72qSY/BPSU XbYIriXNCt2Y6vABwKBGHDH52rhSlIkCHAQQAQoABgUCTJXUnAAKCRDSHNIj7o4N 1Q7nEADqyRodhe27LE17z+7B+wSeIoCg+JyD+CtmS2sEGsDr5nqjJPniwCPXT8b1 znYB5vhXQDO6bMosZGkGfgQlDaFscxbs6aVsUh+7KW1ccN87LNH/8mpFaKlqiPYr ABe2ns75o8jLSN0FOAx97nj+dFFB7P1Brz8DeIUWURrsPGjj3ElbhV90mNJD69Fs VBrHaDlZQEfaJG00ilQ6Wg5BbHp7Us94wg9hNOj/U0mnTzIyRaWcAibG8XWTO+Dr OIX61RllWRwY1VGY7xQ9NyM7+nIU9WeDp0x5dwnKCvrW8mh11nP2Sljh/nNoRIz2 PfdjKPCCInRaHfBsY+yZlQMUh5qtaW2Zl/STgPzE61dwljOfSPKv8+g6d63R4H1r 1cRs1jgZl+YsZvXZwPYNbS4rRRJ7NXowVFpaJhvof0MRKbsyN6YFkmsCXytSs8U+ kO9mlluyHBF4TARv3C+xhJooRqMoaxh6Y6bsdKx1xkO5ZHks2CzAPidk1rVGbXJg 6jZypfm7ighNjX7y0uRJdG4s41JhTmQiQYji7VICQ9uf3+8NwwWK3jAbkScvwDN9 /gLxKNIz64cq8rIqxAqKV+N6Ujd0WHrbqFfMOAX6jsMocfsxD2/xZQQ4Z/W1mgGz AAnHDXCC1y5d+r6MRbtDIFZoNP++wu3lINNMJW3vMWQf3Khn0IkEHAQQAQgABgUC TJUiRQAKCRCKr4jW2E5BrhGtH/9fojMEBEzXtrA0gLqQxc46M6uUvXdDU7d1+fNs CPMZuFLnWVV351d8g1mOD7KxHFoP+B1L0MHF8tSj+oiwMSoAIUI67s9VScn/JaTK TBRK80TfaWP3R3g9P5xVnOPXAoCgIIOiO+aErqHR+zSqFsriR3l0wrq1rd8U8aLW qBXL5WK57ilEoC95Qz7cpBjykFQhAikGVb4dXMIykpr1pK6dKhw2FGWejAU2bv67 FoWOlRclxthbqDgrolzTOmwo5XMpiDrbhwwi2ghtUyEPvNQIufyGuLVz8yJhz+0z 9LGBCjejuelbk1qE+FK3f9kfsvy+L4+Tih+jZgkqyhZcBrhmw+JnllBxt9TuYghU swYcDU23vMI/r1Sa5JFbqAu9PMO466Nq8MI5VVEEm31+siwoH6dFhhPhDFtE0u4H UFhhXIlHvDIpXSw1AMema1U2MtHZq5bbfHybGSvY+/7/9Emd1uavqjqwgxtO+iXw vvnkF1KsnBz5U2cnghQQuTGFv4zAA5VeKUtto5kGtGfM2Za95LYFhx8x1S3fiDN2 cLxIc1UcxSmnZWqIda8ZIz5tnbIadyisQuyIm2jtmXJYI93u4hD9vFz/VBP4fySM QKmqrUGC3ry/VBahmk9kTSevJ6N05uFqIbUx+CPQRwO3b45unpuVoTbs1OjX1qcU T0mDFUZHfedOR9YTKifOHG8m5soHV2NPTQSoMUo7vMNA9xkhHe6k1RCun8LWrf21 rHeL+1snDnOsbcNkPgRE1omCjf37ArAgiHY000Z9RcQ4RU6/X+2dGcMIAbYZ3DeK J4KWPRn68MHTjslVDsL2BTpQxc6ZnRNa9h/sSPRUwwb8Mn41vx+qwMrd6WzTmyV9 JkOqXbz8ZUfnAzLiPmukxK+7BK3MJTZJJ+DbbB4qPgmn4Q5Gc93iFeFke5505AWz aGKsK94vGJvF979r3jWjjG0upvCi96YYJP6jYGH7YJdSsLx7nSNzOWy/aBLxmrAM Klf5kwsypcffD5R99sbCAGCPibi+viJ/vEAurEmeBiSMA/9e7r/YIUD4FxGdlKVd nWpgoTEhTg/6ra2sGLXlVVPiKJCfYxCPwMUkf5O3t7CQ8XAmUD7Rbqo0NZ+Fmd2Q IoX/8IVSWnet0MuhgKHSY7RMZKCV+P6zzg2ak9pUnU8VM2iiCjNE8P5W5pihJPVm LZutkyfl3iGCFGD+iKASYorhOxCK3yoL8roXh85wO9NaRz/F9fZlBt/Z8lLOZLj3 n7Uj46CUPuWZ8JSoHnHAxB2bzjBRhdBu0Ay5HNM1abfiuQau/8TljOLIqLdho7Yd kSkN7o3ev1lX7F4orBH42NySg2s1B2SIrch1ajJg4aYXqq4o0cyRzI8BEAABAQAA AAAAAAAAAAAAAP/Y/+AAEEpGSUYAAQIAAGQAZAAA/+wAEUR1Y2t5AAEABAAAADwA AP/uAA5BZG9iZQBkwAAAAAH/2wCEAAYEBAQFBAYFBQYJBgUGCQsIBgYICwwKCgsK CgwQDAwMDAwMEAwODxAPDgwTExQUExMcGxsbHB8fHx8fHx8fHx8BBwcHDQwNGBAQ GBoVERUaHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8f Hx8fHx8fH//AABEIAGQAZAMBEQACEQEDEQH/xACaAAABBQEBAQAAAAAAAAAAAAAA AQIFBgcECAMBAQACAwEBAAAAAAAAAAAAAAAEBQIDBgEHEAACAQMCBQMCBAQFBQAA AAABAgMABAUREiFhExQGMUFRIgdxgTJCkaGxcvBSYiMVwYKyMyQRAAIBAwMCAwUH BQAAAAAAAAABAhEDBCExEkEFUWEicYGRwTLwodETIxQGsUJSYnL/2gAMAwEAAhED EQA/APK1AFAFAFAFAFAFAFAFAFAFAfeewv4IY557aWKCYawyujKjj5ViND+VYqab onseKSex8KyPQoAoAoAoDpx2MyWSuVtcfay3dw3ERQoztp86KDwrGU1FVbojxtLc u+P+xvnt0qtPDb2AOnC5mXcAflY+oR+dQZ90sx619hHnl211Pl5Z9n/JPH7Fb2N0 ycA4XHaq5aLmVI1K/wCqvMbudu7Lj9L8+pjZzITdNirYXxzN5uSaPF2jXLW6h5yC qqgJ0G5nKqNT6DWpty9GH1OhIlNR3LXhfs95FctuymmPQcTF9MkunyQDtQH21OvK oV7uUI/TqR7uXGO2pbLL7OePKg6rTTtrx3OR/wCISq+fdZ9KEWWdIlLfwDw3xxDm LuNLOCD6u6nleQgj2jB2jcfYBWb4rU829e9EdWzW8m5c9K1Ia2+6mFy2bt8PHipG s7uVbeK6nl3uWc7F3xEMuw66Ea+lSJdunCDny1Wun4m14coxcq6oyrs4/wDnuy0/ 2u66O3/T1Nun8Kuufor5Fjy9NfIsHgd74BY9e68liuLi9Rv/AI4UjWSALp+pgWXV tfTXhUbLhflpbaS6+JpyI3HpBpIvFl9zPt/dOLSa3ltkfRRLcwRNCvJlQvtH4LVb LAvx1Tr72RHjXY6rUs58Q8Xuo1nixVjfQOu5JoIYhGwPvuiC/wBaivLuRdG5J+1/ M1/uGtG2iLvfth4nmYjDHaR4Mwyq7XsDOeooBEkISV2HuDu9AeFSLedcjrrLy+ex uhfmtV6i/eK+N+N+NYw2uEgEZk07i4LB5ZSP88n/AEHAfFQMjJncdZEe7kOW+5IN OifW2mg9STwqKtyIpa7DRPNtLQWryAcOAC66/G8prWah40RsUH4IhrvCWsdzcXdh jxbXl1JG1+VXbv6aOEcgEqTrJxI/Ot6uya4t1S2NsbkvoZx5XKYPB2O/M3sNkFBY RDTqP/bEv1MT+FIWrl2VIqv28THjOcqRVTKfJPvbmriR7fx+NcdZLwSd1WS5cf5i W3Kn4AfnV1Y7TCKrP1P7ifawIr6tWUDJ5nL5SXq5K8mu5PUGZ2fT8AToPyqyt2ow VIpImwhGOyoc9vcTW1xFcQOY54XWSKQequp1Uj8CKzaTVGetV0E683X6+89bd1Op 77tdddfnWlNKCgyvT0KA6sflspjplmsLuW1kU7g0TsnEfOh41hO3GSpJVMZQUt1U 9b/ZWSPzDD201xeJiL27i37EQMLiaN3Ryu4j2Tdt58PSqS3gwldlbcn6divt2Vzl Cu2xLZTBS2eLxmXvZLZZcguhiXWCdW0bUMhJ6i8PX2PtWjMw3bt8k6rwMu5Yn5Ta rySZ04PwvJ39jc5mFUjt4FmZJ5yZHZoQdViiHoNy7S2o/OmJ2+VyHJukfvZhhYjn TWiZMp4Virfxy3zuZy88aXMMUqQwRorb5kDCNQ/ULnjy+alvtlmEOU5Ohvv4Fu3K XKT9L3My8t8vsfH8BLlAzS9CaPSLgryRu5UKGI2k7eP08OHxVbZx+dzjHROtK/Mh W7dXSPU8v5jKXWWyl1kbpy891I0jFjrpuOoUa+yjgK6m3bUIqK2RbwioqiOOszIK AKAKAND8UAUAlAaj9qPuDbWCJgsoypFuPY3D8E+s6tDIf2gt9SN+1vXgaqO44bk+ cN+v4or8vGb9UdzambGT6zXAjYxjY4uNCU19mD+h/wACqCU7jerbKtzm3q2yXw3m V/gYJLXF3e9JBr2eizoSR+r6uCcPU68RUzGzrtpU6eZKsZU4IiPIvJ5ZFOQ8ovBH YWyfUpYFdoHCJERURFPpoo1b0ryd65fklu+i2S+3izF3J3Z66nnL7i+f3vluVLjW HFW5IsbT0AHpvYD9xH8PSr/DxFZj/s92WtmyoLzZUqmG8KAKAKAKAkjZ8qAQ2nKg Gm05UAhs+VAah4F91Ex8MOP8kia4itwEtciFDyxp6BH14sB7Ecap8ztjk+VvTxXQ r8jDq6w+BomJ8ywuenubbBTEpaw9xcP0mjRBrpwDBdztVTdw526Oa38yHLHlHWSP O2ayeWzV491kLmS4diSgdiVUewVf0jh8CuqtWY21SKoXMLaiqJEd2hrYZiG1agE7 VqATt2oBO3egDoPQFp7PlQCGz5UA3tOVAIbPlQHXhcIuRzFlYtqqXMyRuy+oQn6i P+3WtV+5wg5eCMLk+MW/A9DYDxXAYKGWPEWQhjugrTMzM7OFH06sxPzXJ3smd1+p 1oVUrkpbme/c37ZYHH4eXN4eJreSOVTc2+4tEUlO3VFP6drEcAdKtu3585TUJ6ku xfbdGZUbTlV2TRDZ8qAb2fKgE7PlQDe05UAnaUBbOz5UAhs+VAN7PlQAbIgAlSA3 6SRwOnrpQEp4paFc7C4H1JHMy/3dJlX+bCoXcH+k/av6kfJ+g3qJ0it1G3/1oEUf AUaCuUaqV1SheWZKS48e8ptpW1Ec1pFCh9hKsbHT89TVnhW/1Lb8a/dU3Y69UX7T JzZ8q6UsxDZ8qAb2fKgENnyoBvacqATtOPpQFs7PlQCGz5UAR4+SWRIo1LySMERB 6lmOgA/E1jKSim3okD0f4z4FhX8RtcBmsZGxjgjkmhfRnSeQHqMsi8Q2o/aa+M9z 73eWXLIsXHRyaTWzittH8yyjbXGjRmXjfhtnafcnNWkQY2GHIWAOdzFpW3Rhj77Q mv8ACu8udylewrVyX13I1dPgU2aknxRfb+0jWM6fFV1q5yIEkZz5Bhy1r5OzLwkg s7uL+6FmV/5JVviXqTtrwbXxM7EtY+TZnps+VdMWYnZ8qAabPlQCGz5UA02fKgDs +VAWs2fKgE7PlQHf4rY5X/kxd2VneXN3YlJo+2hinRTqQCyNxPtppXOd4yVC27d+ ShbuVXhX3kq1GL1W6N/8VyGRurS3myqNDkJrcNLFInSfRJHClo9TtJU66V8n7nYt wk1ZfK2paPfdLqTIszTJ5jG437g5uCdtjXr75oyrB1EcYIkcjUdMp+724a13Xbbb nhW+vGPz29pS9wtNS519xI3nkGMki3LdwlSOB6iaaH86kW7Lj0KuTIm36Wbly8Nm 6yWvZ9o1yDqvXfeSo/sGhP41vb/L4t78q+4zUXFJmeW2JvbhXMds7NE5imUDirr6 gj1rqf3lr/JalrBc1WOqPm1kysVZdGU6EH2IqQnXVAYbPlXoENnyoBptOVAJ2fKg LI2we1AfJ5IhQFx+3nn3jHjwmhyNq8c8zcclGOpqnDRGQfUoU/GtcJ/LOyZuZNSt vlbitIefV+8uMK1ZlDScY3Oqlp8JbfGhb7v7ueBLexNFfSS70YERW8zEudNv07dS dNfQVyNn+OZqg1KFNerRJuYjhHk5W0v+4fiZ55reZXPZu5usRbTiwnjRQ10nbE/S okADMr7X2jXVTXa9osW7GMo3X+oq7a+w5fOlZdzkpVfkVfNYsyZmeyNpHJd5J5Jr U6KxCH1LH1Xpf000q8xMu3HH1/s09/T4mqzfSt+wtlh5FkcQ13DcYWaayklaWK7t ArynVQNZU3cf06a8NB81Uft4XIxamlLqnt7mR48XFa6lRyE9plr+W7dmt5TovThk dGUAkjfpt1bj6kVf42DCMEm+XmWGMvy40TqdCJFtAB10GmpOp/M1PSoqGwf26n4r 0B2g+KATs+VAJ2nKgOl49RQHNLaFvegOGbGO2vGgOEYzJW1x3VjcyWt0qNGk0Z4q r8G0B1GprXdsxuLjJVRhOCkqMmx5h5gvUR0tpleNgJGUhg+iqh/dqF0Zj8k1Vy7N b0o2R3iLxKu2OyrXhvTcSd4W39yGIcNyPxy9Ks1Yhw4UXHwJH5cacaaFxtvOslb2 UFvJjTPfksJblW2x6oAUb8H+rcPY/NUk+zyc3R+khfs3XTYh8pc5rMZAXd2Y4lie ToRxIATFJt0SVv3FSvDSrPDw1YWj1e/gSrNlQPrDbTD1NTTcdscbj1oDpQGgHUAU AUAnCgEO2gGN0vegGHo0A3/Y5UADoUA4dKgHjp0A8baAdQBQBQH/2YkCHAQTAQIA BgUCTFk5OQAKCRAQwBxaL2BZ50G6EACPPFAxumyI7I6wCxmWteHF/TwlOON0lmA6 /B3sOOxluj0C4d1Xx/qLIDcEMKmxVRQTF5JNUMLjseF43ToXYHi2QVJ/k6IMiGGV 8a6x2Wm/BbNLulVMn7qX+P9uKlzpDzMQweUqSnWuk1vENhCrM9bLC64q76aLdACr +bojsNDsTty2F5bQnlKrQCxtyY5Lo6OfLnZO/skegViwCIvhxE8FIS34Uiiviqle rUjRRZ/n3jZHyg+TO6pW5rxFxjrn0PXqSc6rmh/DZLv7+X7a7EZvyW+tr3/42KYy 78/6xFC4M588FOLNG1sj+HxsFWUnckqhDn8Pt8z34MyXStjkkDPJqUM77WsCJ1kr 8bNOmYdxCWSgof74TaApLL/MK3UxR96o/3yzy07xPzVh5EtQa1rQUI7G37vGotdq 5PT5uv3VJarx4sbiXXtfjxN2QYTI+suOU51oZgzC4AHqWx/zrnbOUPqy0aAMY5lc AqHfMLzn4HH8HGRogw3uYS79Fd2pdB00eRVfcQ9iZ3M9EgyeS/bD9VIFjIvNJPVQ BjU6NvVtcmsj9fCGVr0TSnyG0SZkjIN3vcIjHH0wOSeu8GQl5WdiZrReJRV8GmsT nxL3kAAQoWffyQlFqqoyhEYih0bK3+WeUvRegRzgmgIm3RgRM7Y7u6veekRZoI7B gUWMGk1Xt4kCIAQQAQIACgUCS8WWHgMFAXgACgkQrV7bt5PsV+TyfQ/9GIL6jGMP i0dIoGCgGSDncs+DgxOiTkjPo0Wd70bsJV4Tv1nhkLk9czNrMCm6yH5ED8H4zYEs aY9+dczIte1OWH8fC/nlaUlDD4/Qt850RfY4vNHedoQzH2+NpoxYsveryzCwUq49 rPWYKiw8BRpN98GsDmZsfNbZ3sA9p3AppNYFzVmkN4QqqTJ8S15citEQnV0j81f3 LrvnhpxHHoP4PgKJ6guInSIHQQc2h2ifwtQpGWkoDMpGMGY8hXvHWe972xP4CS+1 eduB3vnMxkDoKmc6km+XmbMpiW0lMMVvb0Ct90Dlvy7GziizJqGAtK463ok85mDu M+3iDdPOcEGneUZ3YmftKVFNrILsUTLp3xSoPDz5x/bgQPh+aetut6Zke3MvRyp7 +ddceUsHnRyRfVF1gdsWdCgNqsC0AF3LBS48uHoWVsnLDEe3dcRD9aH1ZD8leFtO 5u9SBTCJUZ0AfLbe1DD/7r4uLgTClzpafVOFPuZ/fH0becQ6euKksFTC980Hulln /mEribQSfGzI34WedcKk8S7H69llMm4WgVJU1jnhf3F7OyJo8CkzdupqWIm00uFm TXu2PrenmjdJEnep8CP6aaRrNybp0Z8UpnZjNmJ7YCciLJ8dXsr2t1/PMfrTQDpq GtFdeZsWtZHQNekFNRgLW0NmfddVvNkPMWGJAjUEEwEKAB8FAkvFgVQCGwMFCwkI BwMFFQoJCAsDFgIDAh4BAheAAAoJEAtmIFBiWQgIFNsP/2//2YK8VlBnwxuoiVna a3064H8J8rGm8ugXLrcVXp+0iWIFzQCEnYUITHXmBw5B6ezdJvRL/M7ibMHAPtVx ivkSrpARkGdaX65r8WxgVyquMUkqpywZFtmFwPzoxXnxXDb3G5QIrHlh9QCwLtFY BOAx1XZTK4AJSutwEOyFBSPxenGj2jB2J9hYW02lCSklcsjHMGFI2awM0XeusuyY dESmYDyh9Zr4SkU0GsDVUhhjWW6i3DI8OzIfR0kmef31dAXP6pt+yis+C5j2/S7c DMdWtGXvBfPK4SjxQXqkY1iwnIwz1ZmQXRMloS2PH1IDzWYVYGBmNG7kn6GgXAOt u+7KcmjTalJYFI9/W4HK1wcwsBNTQVQmORW3QB4baruQfzzFnqWKCOGoLPOH4Z0y yL0Z07SEHG9qjtymiBBw8AX/N2NVnKQPNb6FBM+ISNJBrnyx0sBT4/zJevc3QGUn p8eeRFGTtdlrm++740NK2YYehUO4L86TsWKgoRdnX/Hj0LNHAdCC0KIZhxiFIGyf muceXoV4yH5nAw93DatqpvN+wd/FtbBqGHA8c7przuttqsFmox/yAiR+CK01ojnv Y6c0rp2XjfS7A3DUjNtcbuE3D69ZdX2M29ZJlXwv5jieMWVDHdcII3vl0F9ko4L8 +8QtCdFG0E2b2YJpEOoMiGQaiEYEEBECAAYFAkyV0ZEACgkQHm578VwY+FQjAACc DvVbxLSgR2oMBeGSbxj2dQC+HhsAnjygf54lBCtiYJ9tajtrrZWgsMGbiQIcBBAB AgAGBQJMlTwoAAoJEGE7sSaAUDkMqB8QAKgAgt5uH5JTiof0s5wT4fb5P7PGUnoX sGx6ssU02WdtM3WKnBgm5iivMjCBlCEW1d2Hh4KKxTpRvfdNdFbL4gxhojpxiQje aMm6ePCB9nMN4oo+mpW3k3SJCsanbf+nrj7xGEu4KRR9AzejYBVmWxpjFNuGkH3d 56Is84XhK7XTjqGtShnzdK9ObZs2SqWPB9E0oua6U3kPm2LCzmzFKSJN6nFRzVLR KgNFR5p0zd3LfKQd7jVVoZDypFAHft/8NhebP/B/rwVQ0mCTu+pkO8cZB6AoBB4j sfrRVvc3ebK0D063Edma7FTdsKydNaAC+NcMryI8RnoRE+jJ7HkMLZ8kZl1IiKbE rmeO/J8+/2LOzCQE+gM8gWzRJ0byzQTyWnplrh0LvSkhLCYHykkCEgtnxTKMyMXe 0+d1iHKj6M+crbCSESf8J1ghPafJKhdbj5JM6CN4Wqa0ewDD+kzzjb3zfCdkoRoT O9flkMhZm+F0LLK53sl2mvDAACHeazuiMC6NPhUOF3gfQWMYUPIGxaUepllK4tCM 3iGO5XvD8wWPKQwfrYv6Xs7gI8q8omTg7F1Ly3OgZlBHDy3IPeBarEn0M91IWslr DzWm4a5YI8tgO3s75n53hRW/AVvvj2Z23up0FRC6pR1x4sAg+fNhtEpou0AaCAjJ JhiQK5rjWS9liQIcBBABCgAGBQJMldScAAoJENIc0iPujg3VnxkP/2g7STec2JtC nDYYo4DB4oROKxY1b4+UdXfH1TxX8hxeVTiJi0tL16pMkZFB+OWEoKhTjsLmXSQw IZnZVD9DgU067AOabeoMxgpalfGf4itZgcrbPw89Hbb6hf+9LVMDXFYYPO5ku1pb /w/iZqyuRZPlYZURUGcDd1kJSXxS1fpZYCfib4QksTvyWB6jL3Crh2Ulg7Hxr6A2 2KHAFHwl8cwVz3L8kJhNoCGKAT2sy+h+6vhwAr9hsid+ZnzpBXHGj3vPHPzzY67x GJFuVWAKhEfEXHrr0B/BOb/WalLMDojr+9LMc+PDbX1w9Ut12k7afbhZRlu3Tx2C 5Xn9ohngzZ4JxI2h4JCjIOD58NwZwJTaAIWeKsX6xGx1gkLEgfZ7xa9kgoSrrBG3 S5q+BMMZmOQeQWV6q0hVXnF3GARV8LMgrHq2M8BZSjtihfm8qkW/x57hQ5eEUzaA Nfyq6hYUG5ciG0bQc89qODSuouCO2wXFw5GraDDjsEg3iSq8lTo/uIADSV13qYKK bXd39apzpDB9RLgNzsMv2bECWx9SowZfiWfhXxyDETv1QeSkHjt6ZmYbHxgbZ0OG pZzx3txHUgW3+OEhWlwOy6ysj1vwiPKF5z9cluAoZsa/6/isntjZelL9SqzrlQcE fz+yGAGDLenYfAlXTptWahMI7sXS+wq8iQQcBBABCAAGBQJMlSJFAAoJEIqviNbY TkGuugkgAIA1mqAkyLv9TdiPRi/o9eKqG10mvY5a+OdwacPmH/8OgdLR0E5bLhC3 BQEct9pm4jaq0c46okkxSBqnDZA6TXftTefD53LnER5YYrjqWVTZqXioSV78mydX EVSliuD9OIwDecOS+/XO/IXYMNRNTuBtWedOuRw18bNZ0VLTfVexZjzAeVUY78bJ S6JcKoqoFVMfnz3REAm4DaV8P0kKxMf07JV0AES0S437igkxvyLHhNYZGj/GgRiZ HvbMoLZLpDEScgWFe7PbCu6liHts8PCnN0Gedrid+5bEn1Yb8fz+9KcA6dSDP1b1 v+/0DWPFqgC9YQyxIgW3hq/FtBp1biDDmLaaD5G+lmRjzAxKWBp9yT3gTJ/VT58y hXtJldKEBNumwpyVsWLPxUBwft71+HDDLLRXBTnsd7vnwCkGSgEHUlERNpAOiCNG khoWqEZFs7WgvdnoZJdOSKWd4+ox5MdgZ0CjbLbdbrq0e1Gydc2R/XVwPahJ0nHv aDQI741ZF9VrMi18ltdXmqv+Jj7wYVPeovokmL2MY0X9Zq1xKv6BWkYrfyJ778mz ORhIx8pZKRj1cs2HbUVXzJOHfZVF/kvFiQ9rBfnu1UYkaBpV2/3b7UrRBm0CqpZ8 qSVVpQnipTjEp2wI2Zo6xeJbLjNTTa02dLinPVlAbrCbxcPolBn5LZzNzgDMn/pH AXew7yW/Vx3nyiWQy7feI6CfMl6Red4VbXl3mkSW5PL7uGS7m4cOhkekLUrs8R1C WqsUWxTdmeqB6fm3fIYu967AnxoFsEIeBKyrVUrPLN4Rs/cEvKGa/1GEOg9ZxdXR WZHTuEv/iM/b2HaWk9HkD671+/aSIPz0qgL2jKoNP+4db3cadADiWHzqiXzB8Xvn pnGKcurBtcPgDdsJ0qLAJas6R7qbpBMVnYzGoK8caZjnHDK9BP0DeY/R8Gc1ykR0 qljz9RYFnJqMPlby+cK2u3AHrBGxc2nHbpkF/ltdnKvtQoFYkeZmtpCVPH1QuOjN 8kVcodUtt0EG/tixVAShgCnB0YQVhRBWzjcqvj+pEnK2pu5fPFFtBZkm1uULB7pc vaAtjLV7yPRJBloZP+R3xyktKfXa0OS7XjfSobBzYYj3zjDFVoq0OTbVNc8g0pLM xkPCrBKib5s5ZWokbhUNcU39Cfv1WTAynS2g8hVSU6itjfBNm0nYF/vNz2pLuhYw VjVHT2NnpWKNfJ1hm4pnINBClSkSn2g4WY42FXMkbBRAJ9/bnF/HKEmMe2O4ew+r MLMk+26Jefk+f+q2UlFV691I04nY2c9JeY55bJkmX1QnpFmWWhIm2rYVxD2jXgMo d4JPJE4ZfIqKJ8hHiyDpC7k4aC7uLDu0JlN0dWFydCBXaWxsaWFtcyA8c3dpbGxp YW1zQHZtd2FyZS5jb20+iQI1BBMBCgAfBQJMaXX5AhsDBQsJCAcDBRUKCQgLAxYC AwIeAQIXgAAKCRALZiBQYlkICHd0D/93SF6+rrGpe++6fnmiUQaGJtejOpT0sm+Z E5zhMAwOW84UeYg1UFKQJSrU6mF6+M5zjsRfKGIUxMabOUvNsco38t377BFhf9Bk OkoUqgTbcepRXRgBmCFsLNBd+cK5tK/TeKI6plrd0oWZTiiu69I4prbRGNupA5F5 vAXizBrg6tHewcv5XCZfVMBO3xheBMrXI4B83oQev1w8wbLiv7bJqB1A1Fsnx2dk eHI5A5M982pE7Oy1ynV1AhV3layxeNNdAIW1dEgHSBRuSa/dZ/1rwqvkAkSseZcz VpjyokTMOshNLKRJVx5cvphgvsL4Qk0fwlb9jJnt/HoPlNvfbTErYir373EKwZ1S OTVMgNrWGTTdA+8PV9s8C+JILl8AmVyF5gbMOJNSemXed1mpbAhjmGuZ6AoN3esK Uk97STgabU0lFk6Y0YKHf+x/Lg3ZC4MpT4nlic63kYMLUfQANOmsnjA+Jwwf+8Cb /N2MJN9eG+MzhW65g+0v+6PJP2n0HxSEC5xHYyulqDuXsRQ5J/XrJqbN5X8LB92o O+IL7aHUHnpGTqBS4X8dTkkAHTX4tJDEaNBN71Hrb+YxPWMVxu6QsW8rvQSd75aa 3TF3PMqOvNZDaf4tsA7UNrwaYHxOm92W1F7VLgHzgHzdZRwxl7Sw+0RswaZCfv85 7mT8KUBZ2YhGBBARAgAGBQJMldGRAAoJEB5ue/FcGPhUhjgAoIYaCIidFdgL1cUI WiwybLla+v1OAKCvCsP8RVZ9W411F3FOVn7YEFevp4kCHAQQAQIABgUCTJU8KAAK CRBhO7EmgFA5DFEjEACjWyOy2z+mfJdvmo10A4YXqxNXXSZXQcWtfF0sGQQV3o7T 3hKrX91QPYgjoUoPsRBxE1XUX29CIWiLRKJEoJHKaoVaXYjBvSStrlAA3MXJQD2y wrmrYLZGktAU9IJKhGeajCHAXgQY/rM2yYnhMle4Sx5gNmV6OLXOOgdoSiF7Ntlf VSe1eoHbABaZ641Ywcv2qoOFfZyunERYR66KhW1x2MQWcQU6nqGPk2IhbUduxY5O vmFKmOcbImoZs18ozIo0x1H2I5+Cc0oq59DIFy0o+WaLrrnFeTkvsOik/2jVjcyT MKqXDioQrr8X7m6EeGaSFF9Mw34nqH23hh8Jq5L7jiCzLqCtxQfm+7cw3n3sWCXd WJQN7yWNKkVxA8FkTSXCp4KQmpa2WgPRGmv3JT3DDDQaI5FGwIbVHG2vDAijOQL4 i+LyO0CuwbTHpdtAdc74DHvIYrc64xZu0z3MLAfPQS5PWBXdqJS7xg0zdVaOv+R8 xxrbf1WR2KQS3TQjQcmni1C851N6eQQ0Bd6BPg1ELg9EpSu9jRraEmH+Zv/HmU1r McxgDMm8y05Zv1jKsjS5s8QWjUuU6YPzv9Lp+isSJRj7NVCrTx65NgxDXbNsQev8 5NPx6iUTHBJEsJ8tqDpqttpDP55lvQDHQVp6VUsSsGK/NF9zB7AiOaTxTU3lsokC HAQQAQoABgUCTJXUnAAKCRDSHNIj7o4N1Sm1EADd3Kfmr3x2ab1Li8e4Qbol3O3l YgR+Jt79TF1VI+FSWeT7jS53o0VJlCMqh3Pfthnlj0x4yuZAt+YzDX+N4ZawNDBy Uvz6zRWxlYMUsaPNodqK3BEfPNXtV6WeVWx2uv3fcRXbtXOO7ZHimUfGOmmJR4lF x8WX9qWenXw3UJXqomaSEM/qMTMySRp2uTXSSaUO3D7cbV2rnjgGq2FgTnWETQ8G T4mhE3Fnxcg0cAcLqNcMNK3mn6/L/ifYY3AtQQ9UruK5cTEhkSROMIZ2DmqmwKiS CgUCVNnYOiUHgZIcanbJBw4B0N8EAWE432uKH2smfbHwIpTVPuXGtl1f//bxDhZJ LqY/1hmmzDXJlkOVrSM3CgMKUAAT/Re2U8T6T4Pau/ti2KAj6QEaLlWfzfUC+t2h yjI4ucinP+ldBRlYWr0uwDdpp65iFJUmesppQ2397hZgQRqk8ljn1HsleYKjiNAo cC4unKgyXwHYLjs0csOQYnSMRxyGauw/0MbZsjrLj8qwtFzktGteuuPGXVisJBOK T0ZhAcrLEH1zv07jgUQpwCDgx2n2CJbgum7uT7bFgzqW6c6voEAfXKcupCjgjhU/ sK0x+dRk00GJ8tBDLa26zNZCPjnnR+DwTStwfl6lkekbwg+VAuRtHaft27QC5ff7 Y9e939IBmYtLrFfap4kEHAQQAQgABgUCTJUiRQAKCRCKr4jW2E5Brm1+H/9Lfc9V 6hi4BpBMZh9RGpQh1bZ8U/ch39TUUDhfG8lC7TkzYN+H+S6/7uxug/no1+Yj/YCm hNmwkKycpdnl/37R6qGfeuFm8twuo8DiEvupp7Yorr4Fw1TpgpHs+qEtb+6jng0G RWZCR7YpFkWGg8ZrtG92P9qk9ynxj6ygpE4QDvOTpO7W+d4e7kuNBBqLhrnDvmY7 /sVMuQu4rOlTZa/k0srgscIt5pCPpGtVhRFM0OIJVhkJgPhM57onZW++uEpSg9SV MBWbx27FMYA+b9e/if7kp9A+pcyMel0G9AEKaim9h4He2TaENjRD0F21EGXnSua9 8uTsgMKiUZCd+3pFpqKHCHeGqLkpsI1g2G0wSr2RyOexjtS5c6ppFo8mTUg9YvEy ZLP8x1L/jVDQtr35Op6c1RhBTOiuGpcQT9fodX1KX/EAIjRGj614yXUvvCiEWGuF WvnRei4RblxNyt/7jnu8pdnHQNGy0nFkcPigwu77qxKpBS9LdMk7XgeVcvME4wnZ kM953Zk/YZc0MeN8EyqBxGImHBRu045/ji0BSMdFD5243G6bDUeoaqhBtm90GDUK cjKVGof877x1illUZMLE1zWx0Cqv2X38krrsoa3WPhhm4jw/R3slbQNAQ6HaL8QI AMEbbqo9Pf6xi+GVv38nW6sF/8gTaePFMmWhjqCQ9NXOgJQC2SEBVbkwzEo5D7b8 8ao65Z1kr5xS7AWgHUrMyr2SiT7Ab8478hVVJkBC3fjuVcGSdpMu1SIMDhbXKVhD 786or8up27iGTZSulqPqmLarIm8NPWwOY722HgCMoxuDZYw7WFji01VOPXz8Ncme PrMo9jHBHrtd5UCDVpnXUolJmkGMFMFWhTgsxgdcKuEf7eRs9QGWnGRHrcDppEUs 9OvQXFUvva87EAFFnCh24xwMddGWuXqGbT2UuMeLXEjazkPwXtp9bHGsxVPCDlQa jDy6RTcXNQEqKpsAx1LzQbJbo82hScjktgkfm2LSskGVm3Qb41FHRDEN4szRE84N 9UJCzt2X3RhpfHdsY8w2pSHNaHMD1DWUJBlRGsU4P+VXSXddihWdiq2I3TtgJTYS 9kB62gF49DBCbzGq0ELDyCwu+/YbBeP4Bpv+xSxXE2i1NhxUGjCw7nal+poPfIV7 rv+g5P0uqvad6XJ0q1EzXy2Ls1w9I+uJwNcDa9gZMdX4SGSTCUmcp3zZc29yQVMB j3RxPfP6R7CjRk1WYEiB7cbDk/GJ9h5/aKEYLt/I3zhn+HS/Yd8+DSY8rfT0hn2n ochLpRLwnfKaCi7D1PsvqE2ohpOrP39TGs5p9uKe+iYwpEr2cNAhedIO5jEvsHUE bBnfTiMeV8IVGPzvuQINBEvFfXkBEAC9GUNu8RZ/zY4BX8snhKcxZrv8FirsDPzc ASJn3RUSadGyJJw+0sf0pUg80Zj5nK3X4c/vqMeu3Du8X88CSLCW6BcKJu/jsFv3 qh9htzSiC+wIv+pdHyPLG+Wfqr75rxVOiQvGajPAIE2/jITbI4NYhq3SjzDjzn+Y ZeR5QsA2Uj7c8Kqnc9o6ZgZaNgkvN4vxfleRS8ubzW1HsfPaDIJzvg+u4E5lKWdq Nv1D+rUmshrrSgpVZD7m+SlMbAiC0Xrl2cpYB+oFeEPTM6v8+KORTNnJGVGFBTKG s6lzyrS8Pq411e4bSaoG9VHjaRahrmtw27kg58Hg9FZRtilQblLFWFxx/Rg/tAnz UBcll/xiKHpcshDAr1VKn8TcoFMjrzOPmfwxC6LOIdjLcY0XNSjUM6vNcnJrmsTK OgZGkD+JZk5pSsxnMWNU7VgKWO/Wmjvy5qUa7FZkh/A7FPus8eLf/711NstUB6+6 k/0eoZaVvtZ5MVKhBrkYscLNGOtaV7hwm+0cjQGLK/x0ntj6NciF9pMiGpC+AP0X VIv4rdjA4MC2ZMOf2UttfkzXWIab70MrvxJw9m3VknWOBXTzKDLzTtD4Y0AIGVyz qz86dHlrLXK5Zwort/tFOjpSp9SZUV09nSyT+re36V2VaOzEtZjpf4a1DinuIiQf ugVgb0QnjwARAQABiQIfBBgBCgAJBQJLxX15AhsMAAoJEAtmIFBiWQgIruQP/3YR vBzgcEQAXBrdh3Zfd7QRYJCk9xSNGGzzMVkIKH2n3nhRNRwplsARfnDKMu7ujh+N k3a1zUX8GK2+xhxt0XJ7jBrZoMtEPiSmjLkSSu2GYBbhVsNE3XYnxm19ZpvsNO72 qU4mEjTKElY7jI0oaWntLCJguW0wua4Sc43Nqg6cg1Ttv891l5d1eTk64S/PA9qm QyRG9lI5dtRqNLDlyMPzdWelP3lGzqLPc83HYHKCzjJ4Updfv2bU+eCW/qyyQkic CKyrka0KIyh3GXbHCqmGFuHJTknlF6MLdcEAInBNbjakeWTJinjcivPwPN5NwgSO yte+uI0UB5tWUvwoyqr4e8CJE80M0ZtTYN8rKJJx+/g6EvFUf+qxunanjEV6ZP2L fylVfLJsObnQN0Jv0ae47/F9b2SeWh/CaKtCxi0vzg+s+MKdBTXqUAIPBzQMyL// oq9VpQwqFFMD7fNBjBt2qKRYCmk/UFaqbtG7T6y6zcj/gobPr9QcJYM7FOaY6L0Q TA/H/qmf+xwt4klDsa4DwdVXXVCY0dYsJZ9crRJi61EojtCiC7Z4uMPrszl8+KXo I+u/kObNjQz6YQsKz3Hq4cZB4+n13x1pYZXKxNuwWF2JUQkGvcCg+wAkUKypIrcj c1OtnvugNcNVlwStx1wAekBg5u+QsmyaB/huA4TpuQINBEvFiB0BEACz8LRTLr0n ajj4u5xDZwJ5kWa45ClbiTHCSdePANZQqi7x8qOXdhZen23R8iBKMjLnEix/Hlgr A3OacsG/Xy/CqPxkupOTxklDfThKMH6aifjDr23N3i4ODTyYolh2a8lAKH0WgV1z 85RqjD6qu0nh9Xr3mb4GDFOOqs1ppNf6AzOLTMKFbOMLJ9SVHEgUNRvig4kUid6j AoNrmDLNn/KbtwWlHWtAz4nUCGZfGmMPVKnmg9mwEwfHm4r0/BN2sXK12zbyrqJT siDP4h0MIs81wlWBgHdxwXhBgBJK8vhy4sD2CXApjL2fbf5gjn3ApOdTKrpyTZpJ wRKlSeLkSy/BYKBzbSHmFz3HHTdn0u1aT/9gJYO4MGLhO/Kpm1Ht0aRHaoberswS iCpQQ77EPysJgiauyErRL0ynkDHfEbkBJGbgMjJZn8WYxYxAkVU3vYneEcHhmMZ4 At0gcLxN1/wJykMUiEw/uZmUYpdcVC36c/fM/6jCo6Y5QO6Ho5ENrwEVTSX8GTdU tsKFrDNh4blTcMmTKO9ijq8pNhZ/GpsZPVXpfx9QYH6dJx9Q9W0MLVx90WRdw+Tp DqdSkPOyQndlwsm0+ywPvDhAQ3Gjx5/XSt4WbfT1jYKd5+PQh5/1NyDc5YYQdRkf ftwk3PTDFqAgnTnG4SjFrCS4ImbCKiUvSwARAQABiQQ+BBgBCgAJBQJLxYgdAhsC AikJEAtmIFBiWQgIwV0gBBkBCgAGBQJLxYgdAAoJEGoM2OGpOvr9zPYP/3T/rytn OvMw9Pa4B5rvaQDRgWfCIR4apaEC2nZNjnkocl1tkP1b3wkH2X9DmAlpwqttj7No DJl/uqv4s/SUnB1RyPPBSTmaHmSaKVplSoD6DMh6I9WAbXYQ5lW0DAAE+a45/oiR r1FsE57xevT4p8Ss/QMlVFv6HSaOyqNIgES3/jSlxLBJji30+ZaMYUJCO+yUrdi+ i6oXdpKKodRcfKSMqAcNmadaYzzzfq48ZCcRRxjY4hzUh9mn6RIqwmBFOarQkRG8 jeyyCd2PBPm4yaPPop2/jKduGfQv99q4B+jdZEfm0ZQCGR1f5j+jDnG2lzPTUXZu UpSuSqz6yj2p/QBVaLDYW07HMARrLCii777gZOLMVf3hFMEyRH9uRc5qYalrGCM7 L7koVUzavY+igjo3mM5XFJ8LEvjmMOElRdtjxsyNe47+Eofs0cT6xhM1nKB0FIAm 0m7djGC5LlsWFEQeyvB6Fu7zsFAdQxepTyYX9jSE7an0gQofZq0RqfO0t8+T33NC kJox9YXD8wpkaGIi54EHK2a+dPF7GntH34w571YzUwJAjLia2fELneojGPtUm9u3 aCiPP6GskeGrBS3ZGiOJI4ebCrEYqe+fqzIlUpQRHsJh7B+BfvrkiXscwwceunYS JowU1Rjbruqe7fEkRoqMRhbF+F4ebnB2ZlU+CyYP/R1IwLOjX5MjylDtjVTVULqj UEeuvcRSR+movlF7fOgl5kp+WS7zLZ/ROKWXVJJFNgMTcTGDiy7tYE8c2+0wznZw Je/SQVgRfrob+Wo921vKX+odrESL7J/uGxJO8Ev6fFFXj2EnZFH55POK0LBy1AE5 Fz1Tkx+y/ASj+rq3+ELz51HaqMgYb00KL5x9hL/4H/tDMrkzFx2TDEhLDyKbzt0i 0+8oDUGRt+CBB5BhTsx0MbwQ162A4ZiR36E/jX/B5whZodD+xWf9r6ryHtudPSvm 3/cveeU89EuuKV1FoLQPQ0myshmLnSIVmLLCS1pVpommlNwFkORDRxdziMLuasSB GyKs//xepDSwTky6RihvkKxvKq1WQ/6YKpoS4cjsCUBeuSbWZi4WqGvonRfDmI7Z ehbw8W3BzMIQJjwbRqiqVdCd1FIrD+FNFKNjCo2M1HXTHsjLsYRh20atEZFAw8YP BH7nYeefDcPcJihagnqFEPDUVxz+b50vdCurH91Y/1LO03LVW4Yrt81hIS5q8Ato BAOyOVJ63HlWjDTy5ockVpB4sxIGd8+orp4+Ul9Ryr2Um/AiuVbkGG+6m1qXomMl AlDQ85XiQ9Xjs9ialxSjM7ZSot7Sf+3pUQnxiQionc1HZl0Yc+hKIqAvpPlgb8aD V3aJdCb6dFPeBGLz6ygX =3Dfs2D -----END PGP PUBLIC KEY BLOCK----- --------------020606030602020705050809-- --------------enig00B2CB3D74FF7568E3057374 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCgAGBQJNAUvwAAoJEGoM2OGpOvr91bgQAJImHFukauK0uWduPFLK6RlK DkTN4dRVf8u0nbp3Ml0tRHf3CjOchQdMtXI1bbb8hpOnL4o9zsUBq8C7kQEPoPjC Q9bcK3CP8jz0a7p4GHs5mEQv4zya2BA7TjcDSljKLscpZbvzx27MxXPUvSFCstST phknMc20YFad6ASr0ympQM26WL3Dds/wFwMuXdmE6vHsbz53ssWXI4b3+NSXzD+5 UXWhCT43qIdZqqRJIrWSyM25sycO5K5lY7i3MmrupPh2j1ufcNl4wTC3DwagEjRu 2pjjQelnix1rcKjlo8vmw7wXEkPZggchREM/fg16N875YfyU3XqP75w4WAA3TdFp qlTcFj2Ljx65J+BF5KCk1R7G86qppJxMudK2rCrQ+EprUzKsGNbJAqcriUDs58Y1 T3G9tEidyuP9ZJu6yrafWrQTRNi2xf4E/tDo8wKw819ayLUubpV6T1KkyhqPIG2m t7Nb0/ply4k4Lljm/wOYtRmCPKYmDni1I3KfjbxtYzPJUNmPiuXE9EI1FaFAtk/9 NF67fh8gAlOl+YBcYscaqk68h4ToZHcFDnXxoTWt6dQlFDF3zsUroF/llOGNEyMG BsAq8VvKO4k//IcpS4HuURGPU8BQtKxwTDiVV/nM7nEkEpFaaRw0eAB/K8Lt4mQ2 T9cdRAGIXxBmH+wt7bUx =CHED -----END PGP SIGNATURE----- --------------enig00B2CB3D74FF7568E3057374-- From [email protected] Thu Dec 09 21:43:19 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90426 invoked from network); 9 Dec 2010 21:43:19 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 9 Dec 2010 21:43:19 -0000 Received: (qmail 58294 invoked by uid 500); 9 Dec 2010 21:43:19 -0000 Delivered-To: [email protected] Received: (qmail 58276 invoked by uid 500); 9 Dec 2010 21:43:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <kitty-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58268 invoked by uid 99); 9 Dec 2010 21:43:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Dec 2010 21:43:19 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qw0-f47.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Dec 2010 21:43:10 +0000 Received: by qwg5 with SMTP id 5so3023612qwg.6 for <[email protected]>; Thu, 09 Dec 2010 13:42:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=qCCVQYfl4UPInAQZUpf0BwgF8PbYUXQ7vu6h1AUa3ow=; b=CEoG1FvgRnr7TYgOPtz8qefbiE6/K0tHVUcZ9xB+j6MuURGTLTRzoQpoJ5k4p3EvhY fusgwybhUKj4uXrsabjsFp40hKT50DDj8wCMQaHaDPInkdWLE/YgVswLIw58hJpO/nRk X7GLSGF9McOZrbMANNxBCgdXE+R+NlMNv6qgY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=K8O/SOfwCgxBA4yih4xRV0XF8mazxp2ErX84VbGoRwKlKqb6DRLKrIIH0y9ccevTy1 rKIk0KIKgn7JeyNXCsj1ysrmNlxi24SBoKM3QOETfI/J5nL/fafwLxZlKGnDjAJFmMSc 6tgrQzoX66BHrA3Ep3T7fiPggkqGQE2PCHL7s= Received: by 161.129.204.104 with SMTP id 10mr521045qaj.133.1291930969208; Thu, 09 Dec 2010 13:42:49 -0800 (PST) Received: from coltrane-009027039152.raleigh.ibm.com (bi01p1.nc.us.ibm.com [161.129.204.104]) by mx.google.com with ESMTPS id mz11sm1472036qcb.15.2161.129.204.104.42.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 09 Dec 2010 13:42:48 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1082) Subject: Re: Board Report From: Kevan Miller <[email protected]> In-Reply-To: <[email protected]> Date: Thu, 9 Dec 2010 16:42:46 -0500 Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> To: [email protected] X-Mailer: Apple Mail (2.1082) X-Virus-Checked: Checked by ClamAV on apache.org On Dec 9, 2010, at 4:34 PM, Pid wrote: > I can do it now, if there's still time. That's great. Should be time. Thanks! --kevan From [email protected] Thu Dec 09 21:54:05 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93236 invoked from network); 9 Dec 2010 21:54:05 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 9 Dec 2010 21:54:05 -0000 Received: (qmail 69199 invoked by uid 500); 9 Dec 2010 21:54:05 -0000 Delivered-To: [email protected] Received: (qmail 69181 invoked by uid 500); 9 Dec 2010 21:54:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <kitty-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 69173 invoked by uid 99); 9 Dec 2010 21:54:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Dec 2010 21:54:05 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-wy0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Dec 2010 21:53:54 +0000 Received: by wyb40 with SMTP id 40so2846602wyb.6 for <[email protected]>; Thu, 09 Dec 2010 13:53:34 -0800 (PST) Received: by 161.129.204.104 with SMTP id o9mr11312804wbt.121.1291931613999; Thu, 09 Dec 2010 13:53:33 -0800 (PST) Received: from Asura.local (cpc2-lewi13-2-0-cust269.2-4.cable.virginmedia.com [161.129.204.104]) by mx.google.com with ESMTPS id 11sm1570090wbj.13.2161.129.204.104.53.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 09 Dec 2010 13:53:29 -0800 (PST) Message-ID: <[email protected]> Date: Thu, 09 Dec 2010 21:52:49 +0000 From: Pid <[email protected]> Organization: Pidster Inc User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20100825 Lightning/1.0b2 Thunderbird/3.1.3 MIME-Version: 1.0 To: [email protected] Subject: Re: Board Report References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 1.1.1 OpenPGP: id=62590808 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig0765ACF196C1BC4F61DBC0E3" X-Virus-Checked: Checked by ClamAV on apache.org --------------enig0765ACF196C1BC4F61DBC0E3 Content-Type: multipart/mixed; boundary="------------030108070804010705090701" This is a multi-part message in MIME format. --------------030108070804010705090701 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 12/9/10 9:42 PM, Kevan Miller wrote: >=20 > On Dec 9, 2010, at 4:34 PM, Pid wrote: >=20 >> I can do it now, if there's still time. >=20 > That's great. Should be time. Thanks! Short report do? http://wiki.apache.org/incubator/December2010 p --------------030108070804010705090701 Content-Type: application/pgp-keys; name="0x62590808.asc" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0x62590808.asc" -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) mQINBEvFfXkBEAClvXQ4bG3ib0nQQfEpmlZaZyAGi+4njhhDAP/n5Zbi2wLcAnlR WF3FyrSOnFns9V1gNA6zdLPhUs1KwH5vBDlU2ZkOF3b6pGhAdTr0HPefEBwz6StK Jlch9t+xJjV/llA2/n5UUkCLw3gqyJQMvbFSfzLT9YGF1ehsngvK/vRGIqZ+TIoC +lGasSJ8B692unnvDF+MSdNu7X2ioQJP/1SPLg+/fHGZQr3zdjf6BOJSHTd7yg6E /jCYe2F8TxdcoMdYuSNIf3B+whMHltq9HdHipZj5/JCo9tKyQuzk1I9kdgsFehIe fd4mnrwlv87CM0q6m4FgzivG6/gIJiddgfUHAqmRvDh5CtXHLzXEDGJEA8xkQ+Jc AAbgOYfGyYh+1D59U5R5qoUkVeb2tM6SUpHOYK9E8H5Pml4kHyXFctdq8kD5y+dN A46/ru3bQEYNcBlyGEpOPs8okmoBxYlUCMdH38YDLbBEverDh1tJZ6TrNWEr9if8 vtljEZc/Mebh9n6btImmrHszAs6M5qHNvuHaWfTuuXwPEhsdcFF0jLMREUMFRicc CSibwKxnHua1u9JlufYaJUeJifnI/ugpIS8Lbaaj3BDT9DIWVbIJKr5yAdFv3nVV IOiyhxQh85y6yOoXsTR80ADu5fvaXbiEOhD5hsvcRlP/q9m2Vxpul8O0ewARAQAB tClQaWQgKiAoU3R1YXJ0IFdpbGxpYW1zKSA8cGlkQHBpZHN0ZXIuY29tPokCNQQT AQoAHwUCS8bBKwIbAwULCQgHAwUVCgkICwMWAgMCHgECF4AACgkQC2YgUGJZCAig Hw/+PEuC10bCXKqvd9y0Iyvi1iqWVJIhL8cUW3eQsPdKy31PkipFokhRK54WAI3c qslF758ywz7jxJ26P27JoBRzCk8MChFvs/OJpZ3WTXG0RbKG1Nf5e9ZuDhKye/Ql xHD4Wxiavh9dzOB0x+FBYmjLyvyC1ElLmrhGnltCPR2k9ytV7GLJHCCbIP4s+Eg6 qyX/RysGAdHHdzeCgwGU79TaKTn5LNTxeuQmVbBk743YX2TBhxLwBOiwtUfj6t/l 4JGrHt/OdoPJCcxpb1FOHCjdfou/gkepkGJIwMviPWrd+tgb4ZG/+urKb+i/QCj4 pr58xjQrt4Q+bxTNZA0HnsE0Z5xXI6UCyavPnn55IxEFQMon4EoFBgKMEyZecrkw HuvL1BnkhPYKLL2Ox0Y6rZot3Sq75x5xWjP3uUMj8mLxwDULfFj8qxBGumaYxLr/ hJf78RvfnVaVOsovNXry5RxoVRHTAyOO4jwwtSGZs5lzLHqueKq9Ol5m8UON12Py r6wT8wBCU0Mu2TsbGzkld4pntERLLlEshsdkKFy+DfWpbEFcX4/lFMZwq0B9dpJO D/8grP7+CRuuNSNe7YYUaTAOrRJzJldvB97wjSINKcv+QYw+YojZxcKcNdFXkRi+ hH/ahTr6xhMKmsoL6Jyu/EtUcwGDZyOGINFPvdSqaeBmU7OJAhwEEwECAAYFAkxZ OTkACgkQEMAcWi9gWeelMw//ep5EUcJuwte+DZv9w2PiuDnm7nCU5B/uOmbVahsF nBHC8BzO50V0qsZmNcA+sJMUhr0WqJZ41V0sX3ROcfwpNe1xOIStQy+ftAj2w96K Hz68vH2yubVihr5c7SlNWgoVunVjliOJvOxnIDbg25c7yh7WxuCmqy3M9wSayH81 FWv2xZOfV6f9n5miENJB+b9k0i1OpcbAXg5LWC3OrraDIXPVwj+HR0Y4p6reYOk3 fU3JuCc22/+kzwCUcfOUE8pf6a7Ai9x3sPbmSGtw2BIooiGC3XKTmOpXhPmD+IdZ 8bsk5jezbRSKsysOXs2mm3Fi2Ng1fZ7EB4N8/TFXEVKGLcbnfFTZ/ip+gPSVXf1v YpUaNk22GVk5YV6P8t4JprfPl5nPnQMg290OC30RVPzYmFnDhABh7wkueyIpkgSt Z43unewtcY9S3irjlRadoy6uDZOVkxKGNvBnVzOxvnuktEB4g9eI/boEiz5Vkq3b Oh5CwYpJDDPJPRhCxZ1j75EaaMn6BW5TpO+ju7B0dsDxQEYiPddrTxWljmRI3p+F A7284TbSmajG//XxqVGun8EOARJ9pOkTsmN9s9eRDq1am2HaGZpXisTNYDOIi+gp Qv4vbVIStFLm0nCmB69Cq5TF5tGhAry4cu65pAKRdn1DNnazyo0FBf23qSg3I/x2 CMqJAjgEEwEKACICGwMFCwkIBwMFFQoJCAsDFgIDAh4BAheABQJLzX3iAhkBAAoJ EAtmIFBiWQgI+iQP/29WC9Q/Frz8nmJZZ+qCsQ7CbimGaSSsC/DCP0r10Gfe+BT7 wqgbD1NMJRvOIXw76GgXOGn31jcZQJLmz5oQrWAaiOgTdACEtaYoMZ6QDzE6HIeW 2+06hxVY0gCELuhJ31iou7qGSJVLwOhTsF3iTChuZT5dVrxIVYv1D9vc174popEj Ng0SKo9FXCfOuRls5gPKKKb3z98JqZjXh13LMG560On//ABaJIPVcb+ZWrAO9MLI hSuwhDvtuBZuFV5fUwFGONIPAVoHGuIZEU6bI1x6ddeQnRTnPSBycoEAc4s5cyR7 eDWDDhdfzXafKepX3aNCMp7bc8dAvGJ+33gLGzeY8Qcb2At4WpJ6gim9VVsHrE8G Uz71qDQh/KJAuiwj+pTM2EIcDYlSzX74keleNQJ/wAhSuJbsUUAxT9QF3PMU7PdF rV4JN1JGOAhiy2rR9/OnZHha0zVT5sRk1ZUxLS2EUCDqoHJi9ORSfZz2g1Q+oEL/ EiH6eFHS+RzOjL+KH3+tMN5D7yKB4k/GHqFRE/jh+8SqVQegnqDL8HCwDdjn/PnV IcALxMpPYEVvgl7ixRvU5ct3LgI89AnRZBxL/oIPO5Js2+wKye9cIeT0XOLOxjK1 hO8wb3NdLqlE91t5lk4SUtuyBtHqNjZn40pO7Wf8JlSf/eqh1EUyUjHiW7gLiEYE EBECAAYFAkyV0ZEACgkQHm578VwY+FQ5DgCgiid/m6whU8G15lHof4Gr0ERkpNcA oKA47nKZDX1Dp43X2P5mmdVZ21fMiQIcBBABAgAGBQJMlTwoAAoJEGE7sSaAUDkM vCUP/1A3NgrIwD61R7puDLK7VIaTPXMKW4coFNEMSHBobMR6qiiuQR9d2sNqAWJ5 W2ml0riNwyztVarJheXIa1TqcZFgmRK0nJ/nbOunk+h6LROgxdTrpPTwR3dl8HPr 3MNVMyD1gcTFJUk/xKo1MHQuCyUMaQKZ2JBtWk33nizrkQb5Jf1Lxz4I2TWQGXJX 0CLGnz0iFeDTlTJowDglbtjPyFDUFiS7cwd25jIHJSzjGQNEtwn40oLyKE4Vdxk4 nlglXuX1NRCguefnwVq677lavYjKAB6mh2SLknoBKsRvFGJgUYhGfZUdzBpy/Yy2 x8gOQmbHMfNHyD9TKr8AOx1GmvhNgNbAXLPVlC2EKrvh9IIhbMn6A1LclWRUtwin QGpZuQ/nlAfFHqyIP8KF/3ys/OB93F/vQ+K6D0GvZcYiOhDhl8D+beTITK/ariwg UImmcLsQbzWOr8Jws50X9VaqY+FiX/SsPh+8yklKxFrQdOWdf0Fgfl2O29cdobmF XwKev3Ym11d3uArGxcbh5QII9bo6TPKHHbB2Wb3E1f60D3SiZVwh8T/6C8pQRW8j Gj1MVYLUPtB5qCJeJDDqb5Z+L/ocBr5Bbs4wh6hzttDneddOEwPUMDzCoEfxxbUg yIdS9zbD57cQjvgOewvAO8uxjlhx6b/ACinX2phMPi/t7oggiQIcBBABCgAGBQJM ldScAAoJENIc0iPujg3V5YoP/0TlXHF0nIsNuSqpYpIozsRJrUkjGOUVDaMBPTNU 2LM8ilzKnlAV4VocI635x7P6tFWeBiaDVe4pX9e7hvMNmEtNjCCiGypxERMJqNXh m+N5rnyL6juXt0vWo7z5quRBbHVch1hLKqQmXXQLgrl4LMCIGarcSkn109cG3KW/ apldrBlIqRsiyIKwMwPLiB9sMdIGpyNmyqiC4lAkHwaSSVAyWsczjWN3bOVDKXju Pioq4d5CpQ19w7u+WzlVVUbQVfdBKxL09r/SZTt5GpmGLYdfoMG+SqAZL1UBGRnq o2G63fPhS1VHUwurrLK3cE6oy0i5Ct/Tgv0qe4NtOzVcUBDjqf0ooTwCHihpn5po mfzbLDDxxaRJlGI4pGbR6xLVMfMnOU+QfF1F5wjL1DVrUQIqSDalFB47/cw170JC +0tFwEm2dZe4s5z+0vmWdDK98pa8PsH/LOwkxpgnp2vdY4FVrRY3wR7GteCHiIXG uBZGPnwXrNlFQIvF/VKi27wAvTKLczyRKkjUfmri2ydtpnD8xhOMJdNNbFZrAxQs UVKTLAXJ+baQxwhyzZdW61ZzzwijwlCSjEYeWqkav15q9IeJhkAqvpKBSTvL7Guk 63R9WekpZWTsZNMBUkHEZ9/xNUg3vB7iWFh6GKiygFGRW1u2QDp2Y2itmtBumTAy Zz4BiQQcBBABCAAGBQJMlSJFAAoJEIqviNbYTkGukJIf/j4plsVCQZOYQIrkkd/h tlbs+YIXwom5TxGCppLBElPmyEyGBAf5s7RBPxl671Yn8hgb2aYG/5T98tH+KMzg 3NUVNC9lm3F3hBMPu3S9waeJkx/8HRzdzeFmP6euea+BgBM1sehWTUAqsG+0HhTH Vi7bXOouFNf9pDZkHi+GSQA+fHTnSpJ2bVu9t/IroPi9cnqPSNco5atSrlTdyXJN EyK7ui9KjfyISEU0wOIHY+Hlr6BxXlAoPl2AeysKJfcwKvuHNvWzfFa/Unbbne1W reI/W2Ta9bQj1G6xLIK1vsZDwt9OukVeaaFDqYtNVSVXFKJLFvHatJFU+DyEu9le D1obB8i5XvCKPRXp6iHUwDTSqBLyaJXz8FGlOG+hL2M++YtZXCZQEcEVhgIGCZ2l CYaX1W/ezPxHMeXJoQK+6yNlG/FiEj1pYycDyg4/hpTZvwyzRKuOj/MpYONBGGZI 8yVRXkRHgtKCEaVw/oaKZ45LZ42SBJ+kIXr07emm2pLhTrqrvSp4yUTmh8gYM2oQ vp3OZZOOBtEElIEoU1k/S/SchB6ADEGWCPA7CiEB6N3hhYTj2t+iDxII0c4e6f0U lhZwJw3EaqkTp1IyUkBALOLHacIloGLvAMLhinBUmR4GGwCr6WUM6TXSgFHriLvh LJVYnYPOo1W8KggS/353CVCnzO7gsatOga0R9EclB0EGzN8aF1Mu7KhkVjAitRBv V/sOYizOtaqay8SwyWNmVV8A/uZ7/I9dhssfPUphw9N+JSEUqstHYyE5NpTNAONf 8QKcOKsQ0M9br3TTIq5s6YQq8jJZRZEK3zowVzUzQ3IpHATWxTxMgRJVLCmYEukH D98ef50Bk9WLxeT2pxSRCDrVhmLDkrpCR4KnXUbmn2BsyU/GrJk6moMFqr/BxsvD HSpYar1EtA7YMuLFYQQcYFhFOOMu2xhCt8U5tGFLLDRq7g0jLlMIGXT1fwRaKsP/ IW0vaJBECxpSqfq4ZqEeiNbvmIfmMeqTa0214oM5L5/i5JhGfBBo1aShzYbG+Qa9 RPL6TGhkttDje/wQj2jVLKrWVnqcIMKStJ4Yl9YHRflVXS8vipkneCbCqw4fjzVR oOflkL8r7MScc7YYIfb5o5G0MQq8hSomCFqTmxOTd4LltQN8tX6vt+7NHf8fP76r 1hQXpfqc9b58DqSC6av2LPSAGYeqY0r55XJpb7KYqXZ9QlDDnhZboyzulOP5BiA1 N8InzCWICuam9bq6xKrmqTqngkttJdO+OlPgoaGwvaNqQ//jNMEDKArEg5o9Tz6a DTcx7pqIk/u3uMFOpnz4MlLH7oPPLGD6Q83E3DsMHHv/hHFNQoKH76hTPo4dMopF ltS0OFN0dWFydCBXaWxsaWFtcyAoSWRlbnRpdHkpIDxzdHVhcnQud2lsbGlhbXNA cGlkc3Rlci5jb20+iQI1BBMBCgAfBQJLxX15AhsDBQsJCAcDBRUKCQgLAxYCAwIe AQIXgAAKCRALZiBQYlkICM+AD/9LdUKcABy5cWxQohXDu40mZCLodP5A3boZF+L2 O9jpK/lUSnFewKEJznavs2RLCwpzRcJDNqRc6vEzOyrbQvAs6vMNygAGETB9uxaE Kesknj0ZxCsqqxV0VujHYdRlVg4qwsKftrXv4K5nCLkBRv3YZQ0JzcX/wRlfz81S lINoM/IuT5+QzCGKSjxrM1xrhxZgwHIitNCR5BHl+CsqjpjDPLJj1mFqPTLniKKU ZCB7uN2e38FYazKGUIeQXq/e989zTimvQ24AYUjoGnTuqg1liPd3pKq0ryAvdYZT Upj98CZZ6jCCkDisAOSJerwXZzB/o9ADX2mFJukdD3MXLRJcAdV1CrEg4DGau8w6 JYROgUc+C4RONmihsXKyhI7Nj97t822Rj1NAO7z3ptnAwSJGx6WSxFGvWht14vuQ Lf9bH6FzBlhIxUKhDWIqq29K22ck6Fqb5dHbRyE5253tWt0y48dx5W1kP6LOW9zh LN3NBw59SN4O8H6c2jP8j8qExeswpbECiq+gdnqMGkRjDKQwxf93OhmCbCTYXtZt gJttLVCg7gXXlNbTMrEfbWkZFd21RvGu3LTnWfZLtmKvg4Qe89UTAla/phpJKgYF /WAFbC9E2jmh8kQo+ETHw+EFWYy4RjjIthmGegGQ45KbxZA36woKHjsmnB0eZdA1 RUXf+YkCHAQTAQIABgUCTFk5OQAKCRAQwBxaL2BZ5/2eEACvvqFb9meRRLLwFl96 B8RWJa8F+tv5GuA+YiixUq2wCWz9y9NZLXRsUUZ8dVbcDphW+xxR5OiMrlRnOxq6 4nfY9YJpguQYv92Xa5P2LgsmDss+OSqeVyIxV/C29z4zAc7yPLiMihlUEw6+2o0f /ohShC7FBndAjXGTcMyvVvHIhR+wGmnjsN8NRlsq+Y56ZGanAo9zKR6udI/kRqZm /PO7guqRkJTgPmb8AX47J89v/Z/Wk3XQdSpTvZRPoUY2f+oOgwr8m4zBIqBGHwS8 bE8nHti0QNb4NMoeK9LtYI2Xr7Gz8JoIR8bmsRPTN5in1Lwvy85FkVK0rj2TL5IX dA1wX7J0K8bWL3mORn2yloKCmDYFtTirMfKsV/IItQeLW4K7omB7k5Fgr+JRtZjk jspluq3yVUUfz6Zd7G4aYX40uvugT2AA5Akp338z3/FlrBgeoKKc66Tu3FL27t3k a+N4BaPq29H9zglnh9zV7S4tkz+mtKCgnIOoZlyjHGz8XENvCgMHBKMod7v1g/Za IFsq+H5eh+pyIX0VX+PDBUIu8z6/i5NOJta7o/Q/hr8XzWXgz4pz2m+P9CxK9FsB pg66rrUeltJ5iRe648PWDeg2WsbERGi77mHGE3goOw3C0AdFra65jXJ+juAL891G e4YHzuX9lHonTud4ab+h703UZYkCIAQQAQIACgUCS8WWHQMFAXgACgkQrV7bt5Ps V+RqSRAAtthk5f7miyCB2PcxhumLbdMvWFpPk120R9zxkWMyd3+gPdzuRujOnBUA VaRoGXoA4gsb1G++fPVr6Qsv60CEuDsPXpgK0crxED2vtGV9gQe+mheCgjwucDUM BQVFCgnZD/QiYbJ5wJBVrEqvRdLKHHPTOmM7bC2HMAByLLIrnjHgxINsfYfUf8/N 9rf9gz2sOq0mGzVSaM86xbbjySxToYISYLbSws4HYGw+M/G++1d3H5DRGhZiGUMP 8GC0gEDAAcprW45btTzmCo6CD7tS2x3JD47RLtbPN8OxsXBnxynk89Kjbxlqp2gM CXJDsYmnp7zwfmwNEPbHUHL4oj6A27Zux9cjvyY8uSlB7vzrNVjPiEu2lhflx/Ah FK3Np3os0fSb5qHQqO+uVijX6XTHhv1ASnHKXTlqQdq+xf0H6bj7ilhC6UnwnbHz ybNeq/X4hSe12MfP6RglvpZjOGLBXZxK3hTCN0LCIFwR914iCOHVkzMplk7RosW5 qzWYhDFA17pyufaeCj6CWEWSAPb9nH0+iOPVR8BkwtRWUHaBt+xA61BJlEHZWRbW Xs0RteX8N0DPPAYJNBiXQ6YjXwwv3USrSX4u1IgiSLjK02PVQPO5mYEAW4MKKAtb D4yYPYuWv5B2tqJpn26FttSog1D+FflMiZrDv6isWwE8QYbxlP+IRgQQEQIABgUC TJXRkQAKCRAebnvxXBj4VEO8AKCQNiPgfoCBjP7pl99P5mztRWi76ACfaezwFf3I vCBLKtFBg6DTkda5C0qJAhwEEAECAAYFAkyVPCgACgkQYTuxJoBQOQzSZQ/8DC1M vAFq1QqnTOxKtphMCt2LTVTAfdsY0hwoBPpciO8xuPNS+jy2zDyWn5aN381pPRuB TuSPUoOmWfAdGC+6rJlHV+mdynPDObwRsOFfHD7MpkHi7zNxFrc+LCeR1WeLkc1n IyYQrAuVvYkMYitBaoj+dB/gSxv7vECpvHZ8yEViXk9fQEuq+gzy4FirYuUpJt1W ipIBa3wVoXQiMUYPsGTu4qcp2fnv68xSG+2jtzxDaA4PV2nERs+od8MpqJFQEJDz z/BlxYfs8pCBdC2EqfV7znQA8gsh6aT1aBKJEbRqqL7f60zy1k9BT+loA/dHval4 HwxCjdqBeBz1eB+8m2qgsESQbIkGiqPY/UHDNNuRHOpuGt4zNnIYAzqQVz3Ofgb/ wUKF/0PhXy1elAK9yHr22Zb9YjgYCzsUQxL2UIX2+s754YER+YQqFyckyZzXCGKm +IwzhWmcBVkSwy9hlsxUm7BCuM5mN2xwU95WxDJkgRKOfCR7zX5/eiCJQIE/Qgvr q5z6r4xIOw/IblDa2uaHLwv47zMUImpyA9kpl1Oaih8shHd8CgMrT6W16izWL0Yf idF9ByPwrmoN/bjoL0SYpEt9YhcXuNwrDDdnMG+TjTbt4JvLOfgpupw6f7h7Ridv yBOSELsCr8J/s2C2hIGVffVuQgdwKJT02tCqlOeJAhwEEAEKAAYFAkyV1JwACgkQ 0hzSI+6ODdVDjxAApyHe/t/pbkxYC6h01ECYpfgVn5Z5eXZhHlcwDHsE8rcUOqTs UrEwO/SkKN8ZKlD1NAZ8NTRRml2B/y+/Gkrjtql7QYD81J33JRPII/hGYU4Mj9u1 NRpkPaKUpbZFib6ffq2iugOgAkw1lF5h4eJ0WnwokNfKHp2sPHH4N+9igOxWHaXp MiNAHDAsvMOuvdOEsGhVB/1aZFaTOPzD7jfdbEKWFokSoJSTp0tp4BTut7A8eOo+ 1lrnc/nvEgnTrTWQXMwKWnrGjD6gYjoldN8pdezmPesivZwr5qgIyQVejGD5bIan 9gvMf61JAYe7iJwBJ2nz/+ixMEHODMYqaa685tYqdtQLnisXu9Dql2wnvgFEgr8n ij0aTh2GQF0hnyKyzQuOSe43++OxJOTC2gMYpSEPEAHnmZjij/2ik5iqYHMJtN+9 U5orarxu/dFGJBvIhyhoWVOtKX+8beeZxqodEijDpdF57Q5xa5SPyojzhBIBtECg 96wBd/AWkWXZfJHBsoVfV4gu2r/i/dN4jFyu7mfg9Dw1B7d8isEAPes3xpI5L1q/ 073WD+lYTXyJ9NdYgfTx9B/Ha9AUujc+Qx/CIM2fvgDkfC852jSNkac+l+sGLQS4 vdD8110DWLMniVBOZsmuun0Anx/auAsVqDisxJPDszOnnWWfZNVZSlqBDZSJBBwE EAEIAAYFAkyVIkUACgkQiq+I1thOQa7Mdh/+KGE06nLPiCOXXjZ0LpadQorlpCiK DEykoMLsqUT+RxpMvENlPAOUhUhFgcKReStYZk/sO+KK19NDBoU3LCeEs7qdS1ZF 385Rgf44Ki7n5szQDW8kGY/ycY7b8wAyNiGv20hehtpEsQOlSsKOkySngBf9zCqL WcnKQF/NmxTpf/7XzHrYrrRD/KqwlbvBO3emXxnh4gekzB0vcWg9Td/G2UABXoy1 RrraE7lJyx189yxVxmbHGu4fqLErAW9rgq/KzCFSBTDoX0iAyIb+pu64OYxDYzP9 3AdqtZE0o1Ikwoes5T+Tef5ZdYH0aOE9GfuRNLeFNI469pXPCIj7LiJ+Y6dCBvkj JqAHTukIc4ZgpEqRhdNQpe4UyjWv22e2lGqoEU5DlGK4KfrncCO7N5CdItotAAKD H7hIKYlh3rq6MZsKEfWZG0CFLUA0rIH0WIF65AkJm1fZm3ENjHAXH7WT9LiJ/1Iu W/lhiAOzWiq5QS3yeQFYIVSICuhL+Yv9hL3YWfj7sl98gPEUazTzQVRq9cfWmuYQ WNY0uLAu7Wmq775NCKw7FGIKIR+TTiJVRJUPXWCI2DJDbFfTdQIjhFDCEkA4Xiiz Y3Otl5qK0yuiPMk6TKaRmdzRAYe1HMc9priR4m1WWusrOKa4MEhrAFy6LC+j4vB9 I6WYpTPwfRPW7vMH+ri3OaO5y6MFR5A45/BYJ2CtOzUu1dbEWW5XN1jW774WDqFm mSS0f4gNw0shcsnFiGyOGqRWEzPJHu1d1w5arhshlUKQAP3NC7sbeKu2knHFBmt6 EB4iJsvcTjlA0VkXZpdCbIhn/jgkSkuWZUG7XwmuP9XitJlzBm7kI2tC9Zqo64s2 y9bIFwTcIXJicpLUXxhQhThP1JTyTYoUa4J1t50giXlG52q+CNWVUBJw2qdTjST8 fxdCQnOVVO6J7Dl+IIzQlaA5xj1NtmCMUpe0K9uaRM2CMFoDuabkUXgInG/cTnoe YQBdSBu6WB5VSOZWR+9DZkaMz+PrydwPOu0uZjvUVWUsNIF9Fh5JtmkE8yKkAvE5 HAneyG/38k0wd5XwFB5+2FjrhkCaSX3DLZLWxUfmAh9WMYWg4ogANpYpQrGhu7S9 CBpuUzQHZcvPkBW1T6NV5dcIPX30mKYjGi2UhK2UzsrPN9KIIqQHtZ/ErX3dkb28 RgqQymsuVdzNiGaNDNKM7H7qHfLrF8pdokG9XjpZIVx7j0qZ7HgRfvTiurgQzBxr Qnf5j6mdy5NvGdzPd+xlpSl5MF6VSOsIAMy/PEmC75H+YKsKW3tGbQunI6SsUMO5 k5Y6lGHU1Hf9f0XfOjIRlBZE2drIF2RBSw+KeiwNa9A6/rM9SwzsHm3MarQoUGlk c3RlciAoQnVzaW5lc3MpIDxwaWRAbmV1dHJhbGdyZXkubmV0PokCNQQTAQoAHwUC S8WJbQIbAwULCQgHAwUVCgkICwMWAgMCHgECF4AACgkQC2YgUGJZCAimBA/9HTco GT2XfjH681s7gUJr74noB0hn0Eq7vnx5WCy/j+SVsp0FBR/u4I5lg3YiYi5sAkhj v4oSfa5Yp+gd1jhOsIn3Ep+pq+Lkqj27CR9RWlGVrhP8Gek/Mdazc9qB0UPOWGVs B/tfXQKaCXasfMO8qe+PstAjOIJm1ZX1tQ9HftZW8n13eZdUuIglqacJTgY4wL/T 6mtxg1JRYQMOqk7frxnykD2iUxdbuwPPoZswWu43B488oMoldA+KEUH2AzkV8UDz P8tfzGeQ2XGoJZoo6OYZR2XSYjodiy3vPX/DAEQf3Yu79SKsJmZaSh0jH5RJ6ONc UnYx4vORQy1euOwixGOSBPhQALF7RF5C7rR8xl05Y+Lwvlg3k7ddJU5vovgCSMfE Tj9CcMBk+0CPUb/6vFulOXaXwaGA9o2cQ5sQif37zKn4BAXgXaKmI2yXQ7DWEwe1 gN3cn5RgKEoRa0gbab/MrWKvhFcnbPWb4vsWHTyGaPUUisoaEjXP7v05kHEC0lbb TEKazul+WZOPCq/zJJDni77k8y/SNZzDjn3uSO08Anw/E94I8jveIbN58hhz4UDb B3r8lPiQjVTuXReqv3d/Ear40wlQI0HZN/13sYPk4nwK695i/6v/Qkl8bYKpdy9i SO7YBxnkT3mVBe3QgqXRiYb3VkRZGKzIjuHWwn2JAhwEEwECAAYFAkxZOTkACgkQ EMAcWi9gWefiNBAAzFoTywQX/gqUsa94fEpUm7waeOIPIYaoFQiE2x8JqoFP2gUI ErZluHFrlNgYrIfDH1wHpJk8/xOj/QG51OwSg60yLIZcKBGhuTtI6sist2KP08xN dFJrZMnUjJSQE9P0HhRFnF53kCPYT+soGefEzEnVF72uPisEQLggYvWRNwxcWWXr NcKbm5djU1J0GShnokLvO44w6QjgrCFJozpIKhaprwuoKQCS4fUJOdatnqlRXMLD uhhqAwl3ATFIgAW0xIGNpLTmZq/f5wlal88EhZCqdsfXiAAV1f6QjkKYIslhoX5J KizvwR8dV2sz1QEkrh1J1OvLX1C9i/sp6Dti79I3SMg9UWRIsi9mKtclfo1RclT1 7qdQx/1oOJiPW9rocutMUaNlIAITT7wjq0ApAOaTpbuzgZxh4RNZfxxD420vNohM 6EcEZBzKqOMhWhrWrwK7RQ40rLkDSUClKt7a4693cDoGjpAvw9qVEpuqkK1V1acS bzohNKBQ0b8q/4gzKrZ6XWR1clv566FJV0ex1FMuwbiZk5/+o/r4d61CuP3LYuYH wjG58E7LCjhTWhsV813EKjtdV7Uv0kWDHxtEB+rPen/iVvISNdW3iOP/4fXIQuL5 K597QCU2fAEAmzMHIUkXKRZaApPAk0cF0l3vuBLNxNgsaKTb5+vvtOi7zeSJAiAE EAECAAoFAkvFlh0DBQF4AAoJEK1e27eT7FfkqSUQAM62wwslCZ7QczGENPPd25H+ QgWO7enuMTDtRo8Z0HtC9TvZeD6qcJC/uTabU2WkFled4PI0Cy4xSR68kbs/YC/Z ZgYJ+snzerIC4l+F+SxqW1XdHFbpQ0GqauLH3mv7CJ4kydUff6J1QL++5z9zfshh o1Iqi6ZBs/So0tDNZFYDxTm3uNDd56Pj4xh5X8GqlOMCxpQZJXj3BXMtNxt5YVnp Knrl4Q9025G3dKLlVRhVd8j52klN8rMbs1AUI4N5lSJf3LO21n+7FH6qHQz8zc/U cLj1ReRLdlfyB/GbtQJFDRTQQ+eYepYph34cuQVJOcQ94h0/ppVMK0rRF4fKeSl9 YO/pZ/vq8NFBBQZP58gn9lf6KaVkg2Hsj/kQPId3nbkrexK8tFpexeGltyuZsBIq X6RfNvb8AysZFJps7itWujYxaJn4A/2zlvQCGdTCAjWQXejYM0JL0MyrJXDWX3jh WuuWHkBgANvKgc+CtODEq+i31I28baIkd0+Jcd67RiMsZWA8kEGx8LrotShEhbhw S+2p2HqCDGdRqTQJVGGfovlKN6L+fna+SbWTzuarkuZmKQ5Q/EMaYDss/r0ilBip Hs3UEQIxH+lOLRj1OrMR3RWa/IBCf2sFj35ggvo9otEi7zh2M8l48eZHlOj+XzNf 6XatmW9h0NJ96JmDU4l0iQI1BBMBCgAfBQJLxYBUAhsDBQsJCAcDBRUKCQgLAxYC AwIeAQIXgAAKCRALZiBQYlkICDyWD/9Mq0cpCBD5hk8+3VcP/mD3LHsvuTcDWMwR NOiqUZpNrBhk1XSdBEcbDNYu6cLbr6uE67lQqMGMpheIYq3+RkmclybWuuIsuX2e f88AXX9J+jE+GQc0DxrCiZmsspd8xHRzbQVrz+T5tKRBpZIjI7v4i5qlMJCuZN+I KsRiZkq4QGx5kMjnYi83kqu/x0qwnmW30vOmz+OMCaZ5E2qGZSklFJgwl1F+3reP MnTVdG+2dAosre1KBrdluglmYYVMHPyBvGggqlPfgtKa0NPUfj6XWH8f0z6yjpYz Lo9v+anvwqOlCioJ0Re7dY4+bfinajqci7f81WE2yfQUPKl647pPFZHNxVZLBlkd /a5yM6e30BQC6LGT+3XTJi2nKTpZ97K0VGiQnIzGpJzOHZDeu6iR75sXjqRLk/6K nrQq4W4dTzq4bAxvh08IDKwSDvMzSotN2OVoPAQBK4vq65ymXIh8WGLvbmqsNHz2 hsjNAZjv9sWBu+qlpcFXXJVk0gZc6O2bLUXH9Td5pn9siEdqH5iZc0qz1dA/JXMw VfILKkeX35J61id5aMkCdibmYcnNYw4w6B5cLApiyiAJGjGJ/d6EnBukFqouivP/ BD2pdlqyL4b+lOhyTU7RChuJg85hNP5yWOdfv7c1wqbWxRscvyq3YQYRpxP2YbBx nc6XgJdlUohGBBARAgAGBQJMldGRAAoJEB5ue/FcGPhU8/QAn3z/6+v2m0GTBICM pDT+Gix/mRVtAJ9YG15wEeY2bYRQUokx6plNijuMeIkCHAQQAQIABgUCTJU8KAAK CRBhO7EmgFA5DJerEACV+Xw1jFsbtV0Ljm5o6se+izGQZjdlDBZr9GfltAZ1o/nY xUvCGR5uG6/lJP4TYX7OgD79EEgrQMFfxIRZZOuGPTUtOG+BLuIUOWNGUJ2cqgOG 33dINQyuMNPRqb6e7AtJSTSU+p9Am3soLP8ynCzk2OwiSxqPtRKA/jYNsz9M0MaY EPYUhfv1RA4GKP8qjvd8TynpHLQfYw48Qhm4UzyeCzrTyT2RuQ1cymb6hNFEw/qz Vm7VbzKdrgp6WIonaHkxmULpRwjtoIwfHQeZnqvBkvPyKoKfq6kcovdE+9fewLbi yKFZvCiH8+EGcVzZTugCQKB/kJ4mU1ywXkuaqq+y2ojtGXmrUF4jYKZqgTfI4LPB rXAjzZLW5XdUmgL4W1tS7ssZRSy8IWdoNdjnD7teXLSsWZu0atRAHGN5z6PT0c51 MYgqdojk4rPAT4gaU/h0ENRXnwCZPWP56HVU6Pi6/6SeA2SCKwYB2ykB0zucASvQ EijSL0WZ/T+di9whSmmRfQvC32Agce5S7T/zyRDBc8dF6nd9y+0ONRrqkU2T5uOc kaivdCLZor90TaqdNmGsxi40c/GLjU8xCRwdG7ef2b0zCBR0MwW5qBUqxVvFRXaW lq7o3J44DQfLBASUpkG+z/JMoJjUaM6SGsUTWZEBKhUOS+AaMO2lSmPRBp52/4kC HAQQAQoABgUCTJXUnAAKCRDSHNIj7o4N1Qh/D/oDkIycbImnbbI60U6hh1t8Acjz NQMsosvlHS0cP6T2XVXBDtJkHm5KcCYNGkXFHL+prpyyMzVKYyNB1Dus+S0mIVNZ AAahORpOrYeFoMSrzvYkDMwRboyfe2jv/YDfxXr+p9N3hR3MJTZgnCk0L+K49leP x92Fs6S2cVYL2Hx4JMHYdshetWXzmTHIMHJFLr8gPLzsmMUt1rJvSrSeA8c985re olBvKUmN6a07XDDG99CVj7/dHjXiC/bb5ng4tON6cRL9NCKRlaLuhBZfjjP2nS/C 5wZ9JoaktmxnibMUItPozIJO148FTDsWnoP4FR0K9HX+v0lmGIQBnlvjifpkFzm7 ObkD1iID3yJVv8tzeUePDVFgyl2UfD7bDCcZucjBLaLK9zZ00G748T57SZ8m6wuz urjlvVT1xdDlf2rwz/NOySxOAPiDd4kscAWCWSszAvd5LI5o58Epc3YdlJnbUpNT EB/pY17Zbsja30ub+BRXOebdV4kr4QV+RMsQOE1cZSUbWcWs+N/Aa+G867xeJgfX Zs55Q0FzaOJAFURwH5Az75/8sniYHliM1F1TDlgtFvU+MxSBhq+D+lm9lmjGQZAY LxDgQyaDFuchsR05j+xNZwalDv0IJ4Q/5iNVeT2qY2si4vUMIZ8o8BCE6C/rIyJ0 cSgTbYSQf944s2Lra4kEHAQQAQgABgUCTJUiRQAKCRCKr4jW2E5BrrPkH/9pQ52a Q+zaqWMF/wQlQTEZwWUtk6n//s6fKmIhuA1a9te04KSJ+49KeNzxT6GP3Po6y0KG GXtBO0Xdy7MS4hhuuyMN6oUoDMHjPZdpCf9IjW1rN9h2liB/CwxwsImT+HHlysJ5 i0xxrvpqzFmK2IbkhIsS3D31mxsETCzlUxZTZAKWoZ9bv/wHcGJGujNTXT61+Nny oupb2nd8oGbN26Y3co9VcDT76oywToLaluPKHzacfKkBLmy/E1HoI9zC9LmILvit SoOJO/824Tx1cXnsx+t5rXjsZeGjwSzof6uBpA6ETuoVVR4Q4BOtgR+r8y/z+ree kkFxfUNLc4x2eA1P6lS03z4pvpP5kBtoWxfWWzR6aKqWqP85vUeYA0MYEhx3b+OD NKU5KgdI6qugdwenJthGvkiRzO8eQIeNtMxJL/+ZsvDIeOnAiS4/m/xgWFW26eyN X3Of2yaR1UsbFz9Cz1vrABPtMd0HkA0BentDd3b2y18xsq4p3SyADT8Lt/TizX/H TPOVuu6FWVFPLpubm5fKrXkzXEfN0uZkrPo35UYJY8uKWieUiKH2ILT+64RM/vFw I84Yh+VeZy5+5XsO0vSG6kuoGF/Jj1v7ymj0ng3a1IaIpxp4Fl1ssC/4wdayIFpS DNDKSvhia7RUSVjgNMhXEJqxjrzD5PiE9LgxKeln+6PrkVZOxUWcDtAJcjwVcAV5 pgzsMDHW8liyW8AHHCFTIYW2Dpcd+3CmHCAfKPAtFzxr1U9MPmjxyTiy8JSf9138 dx7LWOBMPlyNuIBXG2yGq8ZOTHPvbxPD5JVf+RJEl7avy+fEewBa9gtL7K76W4VS 9d6xd2j/7L4VRIop/3Q1BCm6inZrXfFVwvpCMm4vWUNFXJ5dmgV0vvYzqcrYFdrk 5H68eMm9hCvaYGq4R/eO3ceat2MuiugKhNkUesKpZ7suHT8aP6WzTyMv9PU+lYcF ZDNrEHVaDsmod7S0hSAJ2BdRPZEQZYDTVpTe5E28T7QJk0B+Wx26x6JWhElRwNdA RiRcdyWJOoJi2SG4rff/mTtpakqakJMl2zYK7rGjWty20M/rDLaDTD40VvbGgsfx yvFNZgMZGAJwX4FivFvWGU6hq3t05QzbxskUWBbbizpaIeEKlv9oKQPy0MN0Z6uz lm85BdQdcMz8ywgzv3c3fEv5pq/nAJ6RyQ39N5yurZQpyDAW5NSAcIVwR1YO2oDL PVLVxmBlx0yMEzmMl+/umhY3UZt9yyoL2AJ6Yyp0f7pK2rH5id2y6aRDLbgMZxVO CPTdrG55a9t79PM+h/S/WL+lL6+6peMuBrYIZnzk11xgs59XKP+s4bOe8mtppFeM 2pqo1SBVdXVlEwnntBxQaWRzdGVyIDxwaWRzdGVyQGFwYWNoZS5vcmc+iQI1BBMB CgAfBQJME0utAhsDBQsJCAcDBRUKCQgLAxYCAwIeAQIXgAAKCRALZiBQYlkICHA/ EACALs3ddM7hjgsYta5lk03nGGW/QnNUc1p2tdjyNhZ4hWKp3ED5ZJD/pYZ2YGd+ habL9WSbsz/265orYokeXsHQFXn4XR6mabO2PnEKetEU9ZgGd5lEd5Av03kq9pHx vwZxYxg/+fQUT90LzrGDW3Adeh3iAKhqbdF6y/nYUsiBXg9iDqQJU5kRyj+1iqhF HHSH4mFrUL9F5OOxy9/NfRI5yj5tRHtUaThuQ8Vf19319O15zQHqoMBW1CtXkBql GZr2rGXizzmQxUCBCuVQjh5v/89E+SX7nTycESDUTXrA74SuRrxdMUFSDFdXEIy/ dIYMWqFHrYvVphco4YKUBzN4ytLXYXEQZvevx5SLdHW29mahhCEXOvVek7J7sXmR bU6BO37mR7BGTDjeDu7Ecl8BMNknhEKzwHrcLEmGsxreL5m40JWJECaXX38AI4/e MROz6llLVpr19Wu7Xe5kQrh7wlGKk0aCnfV1RJu3bvUtpf0gabYjPrlc1ew5uoGF AdUDkUrQwINfIOUsxVe+E3NEk7302LJHStGa5VyAmieJWuWk7aF5UmzDAOHmsl5A 3YdnEtdq+NsnmUIUtUDzrXTsiMe1UtiT3yXfU/uziJs5mzJyDzK/bvDn/zw/ZeTH 7jZ7l2umsCFkypJlzk48ODiMQR4EkjoCN6n8JcLNsNDwHYkCHAQTAQIABgUCTFk5 OQAKCRAQwBxaL2BZ54adD/9DA5l3Vb8dbWDj+mKn0Ry4tQWvfOqUKD4G+WCOQYS5 SMpGlkpaNO4EQeb3tZFMdu+RXiBZmoRnDEqMkceoXRyFfkPYc6HDm8s6Duune7DQ YJb3XcMSynS+5unHjrKcgA61v1hsdjUQ9OTLmwRXzWdOnsv7bWWrUcPUlph7xGk4 uXCrGdoCZFzF+2YL8BiJYlUjrLCru9BIjXwagqkBeciv5J2YbjSvLQtC1hCHsq2t /QQjODYj/HigCF544K/qg8cUjhry6gvJfWAkDuy5fstoaUf5Ezl8JSBiEuyNuYIR KSiaDbXiZEpqQ4uDccdLH+z9/AhTO9FCe14frHpN1u9D2yYo3EAsEmwpUVyV3zfU RqcoDLZ1R/WdLzKrskdKvVhD0vc9N4AjYIKfqBy9tQQH0Lni7oY+OYLx3Pgi4dfS RC0qi2TfwvrBYXkGF2XBFpHSDgOXMMgnJ5WTftS51UUUwa9Cy2XKrnXscq+z9YL9 fDhZmb+/NuW+PYs4YkQtqsFUM51JpOZtERcpgpuMpuKDbEG2x5o6ccsNNqtYrpfC agUD6Ere8vXh88vcvjflfvZmV27DuY5L+xUZsIqq24A4Oa2y12kIzHvLbH6nSF9N WflvEfyE6I50S1g9/1KH2NiT/Dph5/vX3U4HHFc7Q6wBPmcPG/Br/LRNaJMpKubS /IhGBBARAgAGBQJMldGRAAoJEB5ue/FcGPhUVx4AoOVq3JsoPPGFXxv6WUodBw3Q FeM3AJ9PrLupWJPeTDCu/AJCaHs7Do8XdIkCHAQQAQIABgUCTJU8KAAKCRBhO7Em gFA5DKCgD/oCO7hApEgW74PiSOC+YVinlF3W4qUttuSBJKXnGoY5IlnIbevR0+m+ o7QNQeJDhJV4MH3T1LtRUTDygF5YQAp3UknDZ4u8TIjQLyJhkABZ7xNMqVasa8cM mX8RLkiwjU2fTvuckFwTORifzh1eMbLLIVS4vCqz26X5NTLCQyFfl4g54f1JwYlj 5TC1k6XoXSo3BX6v3f9wRlD5gBXwRnx4T4QRHy97AwrdISkchAn/UA4tCwWNV0IY C5EnukLBLyOk7n5XKGGf9Pm8gBbWmsh6Cg6xKBBSnCwLt5DPzchmuBO3OScA72Hu jaio9ZlRCllBEu1Iz5qsTUlU6TfzycAgzR50fUXS2vJR8/k7wS7GzqS4oM+22hUf X4gy+eKyzRZqicg2Buw2FmzRyxHxb4dwlp7O9ffhNu6TXmilmliLbGbuYW7q9NGC eolQA70ljwaHh2x58SYGM9SYfvkh/RWL3aevcEXnEvTN2rnBRp6Z+D/3LswxTqEr EAu3c5ro7EEn/JMAa0g+SDciTasAmhx2eN1NBIigxHEeJo0NOLg8pucmWOUZnP7C V9AtSeMm7WJWLNvQN8R1of2WVRdXUI3fDW2NrEqdaW1fLno3fHyLLD+WDY44b4FT txCwP4w1aQJ0KDL7U8jDEJpqEqqtGcmFvbIvEPzR+35ppM9yYY9PYIkCHAQQAQoA BgUCTJXUnAAKCRDSHNIj7o4N1bJSEACtCKq3Go7TenalQiyPTR50OaWUopvUrhyv jvLAvNnmAh4XalbibGXbt1HcAxVsgAhQChEX+6rGphONYWASggNqDwAQtVIT6xgt 8zLjNIBh4KKHJhPKWS0/59yTBh9cvAOnHe+qo+yPgTgkPocTgyzGdZVXOMIKPoA4 taEOjHkSVjHmhz1NE8MxSl2D3Ly4kdpPUvcbqXGZSxB9P+RIqjTykBZVIljKtcFH sVbCJRY5L7XnzEqP6vSC2wLeO108DKCdA9h+dH6RT3l++NMRdet/ZJgnhEUpQ9ln DqVnXAZ52kMwiyPqsKpZQYZF7iCwfsQ/CaZmLogRbXSnTr73VbpzQfkRIhHZzHTW yUlllaYBQZfUA/c1MLt+JeNwqKCrICBhv2h+pGLMQrWECMmrnRAeupLFQi6eNfn5 /wyPYVSnbQv/cj0hbBh2r6JYZq36k3U1jpjMJXjeQ4artWILdB5JZ5O68PPVGmnP DZyZOtDT6rNQSl4cPxyny59N3G6fceHJzmAb61Yt8Y1nk773z0Vh5Ie+W51/AHK6 U4P4r9/WqgVuW/g1foT2oupF5HDfsaBvI3/bNnwMIhIxHg7/SC/bT8BDmPoSutlZ WKyl3NXCFcaNqxu/aJmZfzB9KxRY85mkLa1IoKMixMrE6qrWXt2D/mvxDwGd1x1Y +xHFHaYOlIkEHAQQAQgABgUCTJUiRQAKCRCKr4jW2E5BrksoH/0azGeZx8B9n4Xq 9Trs6AXROROiWsSrnezZXBQHBiB5bqqWZ5CYcTmxsBF8GCNgpiClAXPT44TwClOe yTsZDUaCVQpfKizeIdtGPYE6/JaDZbJ3RsqEEFF98HvGjCA+TQuTJzKznR7JkR7/ btsFpfx/KdHJj3TFgcoQ1Hy1Ia8X1V55Qyr+A/+sS0MsliwtEtnD4yaa1ecz2iQU jaxGnRjtN9iIaj1YCH28PpXUXBoraqPdvK76D2BTnP2wfY3EDGpV4f0XCDfqj/xk TWlgpqn3h8lLOg3+T8zM1QgKyzHRtixeWcR0OKJv5vUC4ojXQ0q3ChItwuS98A2A iPqVP7Ul9cPr1yayQmuXZP0QJiYmiplOLU7suCNT8J7kNgiluX8TpEWi0XPUMcUD eDcTs6dlYVmM6wsSltzXhUqerBjfGyLl0VPySlFFw/AiPgwo5M0Za20fOXMfm6uz sfMY6YarjpDNo/BaNT6oizNgw5L/Ai1wNCMNejV9aqS5WY1izUkej3j19MuxVkHB erjQ/ex2jUcrHE5w8Wk/FCB20l3WjV8qj79+47jWNAmjM0aSYR1bKznoJC4VJWD7 1bdglGxIkPakbEuyI5KUfK78hob4k/n0aUHnF38vnBKHrVhYiHM8+RHdl5ejugQt RrINvpHp6BwnlvrODhGVBR8Iws7TU3lZIfVv2wyHHJ1qqQOed0/4Bs30qb+43Uzp N/vLumF6wtILJeWyNHg8MIWbS32131NWVmVSmsLsphX1WIeA43chlpIDHr7c3OXp tWZO8uOsGku7gRKbzs8C55xtgXKLFe05cBFpePGz5+6z6rN1QtrajkD2zEA7kPHN pj/vqIzPw1uBFaU/PHpHvXu8ZVSoWA8odrH615z6xgtgfss7QYyS/fas5xxfkiSV LM8m1LF1tC8Gjf+fph139upEsUeHkR2bkebhj+rLJIkVkYxrPsL7hsppqm45s7g0 HIdOkh30zBh3ZFxPhS/rKN4XCwrfxFyCnr0YKuDr6vIvipCro6NXAyNgjcBAMKxv 8hVaS2YBD4ZRzrsSNrKdG4QYZci7UBDbFuMZJ7jE5z13TiFDxeke6AIDAe0AdW22 hNdoopfe3baBUlmYc9cpGY3Bf7eeHqpmw1A9kdXLdgAXtARbnJnl76atvmIUbVQo 6gjE1m8RfmhcbjcTKvRqFY2AGlAhAsgxV9HLCZS3+HXWXIMjGGE3/KW8VKI+bH6A 6PIPew9tdUkkfnu3u4Tdsh2K/F8azLxbM1QW9lpUQAu2he2ocCkcDbfftHzpqksZ vynIamR44gs87NTp5bN5YO+Zeu/tOv+g86OnR1WzT1K/cXVGPWFgS0vmLVm5UVnU Q4KsPs5etDJQaWRzdGVyIChJJ20gdGFsbGVyIHRoYW4gSSBsb29rKSA8cGlkQHBp ZHN0ZXIuY29tPokCHAQTAQIABgUCTFk5OQAKCRAQwBxaL2BZ5+o0D/4rPcQeJCbL SIQICuba9FfGID8NbR1o8AZeXlshdh4zd9PrUj3zkomeDa0H5uNFdbECzxfE1vkq /cYqUAPQK9lRPKhwFanNAsz1/4VHXqcC/mTO6VX8hmWzRqm2f46pRPeA90kn+hUv yhRXy2VdETOyt2VPQ2rdE/mQNuWrls8XQ2x+zRDSwCdM4vzlmBlqD6zx7ESibhxE TfsYIU+b9DsRTAyyoE3fTCRd1hHILmb0pliT+uMTVsLFsIGkiPkQbVK2A0K4rWRn YnEcHuPxDcCcn93meAcXqCF6jCa3/BbSxqbRxnVRakXo2/FJ6bWB71HuJJoluZPt G7M0Qgj7eINKx8+EqCyqAAntOJb9X5P9VadEUG3dbdvB+RRasxByf5dGyUU1yUkJ yIbJqvER4rQp1CCXQskuIQ+NhJRekXCLdwUnEK94umqQRc+7mauSeudkfPWv7P2Q oikrX2ht8UJa8i4ySv1SkdKJAvpObHH4qFJh3m9kegUc1NETKkvHtTfzuqrV781E yawkUXD/cMM30F20Wae/ECxg3Tgt2QCYOclTbEmG/VQIawn1s1TQ+eoBABMHziy4 3TzC9p9FPAN6v/uaMOlnZc8vrxCSWTwLcFgdYZuOWKG6Gh5ceLkpuaZt373ZLnwF o39GtVt4mt5N3HVS60v66rO44qvhbRSATYkCIAQQAQIACgUCS8WWGAMFAXgACgkQ rV7bt5PsV+S0/A//RlBktihHSufSg0UKRyiDAxdZEKXTgRB1SzqIP+8c46JBV6rd orbE4FeND2k0V9sP3G9ziuc3lHMPsSF6VYvIpgQaDqsXT4sxx7My2DXZAKyvqIze ElSikuRfsEfodE13G3VZJj2ZfqTqqTc2tjF2vWYeposxLQVbqvwq9fEdcTyjwB+I Vd8APe7Elg6hiRYsd5TfzWhTLoYtJRWDAMnVZcUHmuC8jftduJfmppzK0yUYLOCp G2DsJnLjuSI8nCDTzORMdaTAD2zjxWwtdDe4g/HpLxYenF2Mj1LIYU50g8iuaWNV vifFoTq+yh6eEWokoUmh+53YjRWVvCg3WJ+ixCNB/piTbRznfZ9fxnO+9ZxUwh0m 4AWVUlap4VMp/evWJX98Gyg/6CvvAzhFYhnuOAMX99BaSG34nn6EH/UI2hE/SeNo qzrRcOA6Tm8fP7A82IRZWMthlDAlMkO6G0ahzIK+2tXh0JL5G1e+CSLCcxSOnFV5 uBaf6Yd1hhDEh8Dmmso/SPswUUHQxfy97L+4PaUrd0POtedEcVxorQTNApRa4XRU cX1jtGQ5u+Y2wE/URkEqoyPZ1tTREUqcU4jd5rgr6rfD+3xPSjMWhbn+elIp6MAj 1zwSSILdxwuKrGCc17w8S8oNL0xO+iNK4TSNXBD32U9LrMm7COUTXzY6GU2JAjUE EwEKAB8FAkvFft8CGwMFCwkIBwMFFQoJCAsDFgIDAh4BAheAAAoJEAtmIFBiWQgI Tc0P/iJ0w1rEYWYc8Gpi9EcyvesyP8oSFFk9iAbAFQGNK0TrApYa4BLg4s/qHY5S 8XGaJcwUEPni7G50+Wc3H2/QUpV2kJsPjqbGJxngfMwVAWY3QAFX5qdnAL8elJWE vGXJFcHvDxuAxMtPAzHmNqMqzTHvwpH4oNk4mRqfLW9VBcqIMd690+SSV29wax+S sUeSSVKZY2nZ8y8ycDVtgGadIV8qdGBA5R4UkLCojetysoajJALjo+3yb9XGZXox tN6jITucWIyta6EWuWf/ErI/RH3XGd6qMKMMcXiJhzxHAl0j1RDsIxXpal263OIi QGotBiNLP91aDR6vu8Il0FUNi5GeS9qEm/GWiBPXSDdTnyZOy3/A629F4cbVnSWd 6AVDzxj3JozBCsYOGu4EpQZvyspXUWnYXXa3gEe9QNaWi47mlLTNhHC5DseF9l25 4W6m15Sk9lGRzjXJSp0RU4ucJOm+S89KOsDvCiqD+++xea9rEGXsJjGRh4DlGO+h mMvuW4NOV77zdFArvsnmJ8GssEUVdSvxo2wlQsYiEg9By9qqznth82JCHl82D4Rj iGjTLJAkt/kPrbHCqDdJDTRFWVlAmqXKo0rzV47kdV5QzDOdw+e6FHlO18g1vmvQ QWLVx8seFzKvuvl91j0CVQSZKC1Pc4i0wKYgAvmRPNZYb/z0iQI4BBMBCgAiAhsD BQsJCAcDBRUKCQgLAxYCAwIeAQIXgAUCS8WIxQIZAQAKCRALZiBQYlkICK1gEACX NiXa1ctofMvjGHkyajyt45HdbkSpvcEZG6uZCkninKVUFxYhsCCJ0UMYKlOS8TFY HqeorHhuNkJsKdFAuxFHHrSdUTbI81KVXZ84YDYyYx57pvjtd0uPPan8XQP3dKMW xI7A72vv7JYERLONHqAN4kPVdkOs5BDN2xT9DoQF51vGu9kLHpOKBlukn2Nvozm9 f8v/tQXiMoT+l7WKG3wKBEbmxz6iLklvVwwCiNt2tgqsgGjhAiHPak0Ab4UoKPYu yc8B1BNhojs6G1+UZxCXdp75GAKV29ULjPA70vC/WzOhu8EJ/A4LODsWZJLqQoKt sm8n7uhbrrlQzmOvk40LXBiQVe56DW1sWQoopuOfm0LJtuAnWjiIRNwjyQ2eqIxL OUCVpQEU9m2ufOpY3J3lhehhHeDCCRGh/7oIyVls1M9flmElGeVKPThagG5iv7EQ tuSCOE9LAJeOE20YiNbZk6EzWFY1RjXDvJptEsU+k9WRimy4LBZyMKaRTxfA6O6G TJsGmNirA30dmE/TsYYIFj99O363d2EWE2aGO32ETQcbikYFFfT4f/jY8DpktTSv 6iB/ODlQ2iRXYf5bPBWJ3b4mUpzm7uByxNOBT7QC3v9Ff97NGaMssWF8rX3us/yk ti439jF8jPp7Zjd95IEwLNAroe3DaAsJE0E73+2dwYhGBBARAgAGBQJMldGRAAoJ EB5ue/FcGPhUaBsAn3n2NUiF3ELrIAWnYboJM6znJRAjAJ96oMAx+IZM2GdmwiXO jXtUE0cs/IkCHAQQAQIABgUCTJU8KAAKCRBhO7EmgFA5DJYAD/wJy6ksZt+PT0eL /fPQEzODpBEiq5/6zLgLBUZClMKkteBZjntOcSpgoBndDPlf2nyS3mDwimPk5pnF cOi2IsD25dBkF3AMFND9diN+hk2Po2SZmV0Ib3Q72s5Q4YE4weIvgral2KGkfd7j JJfrIqiCYp+6VH8Otg2jjXbLZzEIrhD0T6+88fWm1SaC/1mDXhGkrIm8XAJeG2Q4 OI4V6AdH2TsrAXN8CKdYpQx8WH1tGDOISFSHahGgVvj4+Msyr60K7OHJwYOqavfy /wjEIkFGEcl+fBe286bV7Yxqj7VZUcxd98qloolhi0IuCV985xoEZrf7mCoOs+2T 6B/hO1Sk2dimh4zuhsM5uzYkOMMNU7g3J43K6RyVgbn0Iil3ZeXPcnWanKKfnq0w oLQHutrEWG6gSSrujCqvEbctiCCmC74Wf2BkB2p7DegQlh7a1s4+W72aLs4CVLGJ dzAZ1wEE9ik2qZ7Cy+m7C7uxQMSTy847hhVRZnHu/d0TDCYpoBemK3B0jb2xtEMp FIQ9V1a88FI+V7yyQQcdx/7JELYvqnhgnwGfQ3zUneSMLYGPdw4OzPsn4srOVODd 6duuv1Z/HmKon0MqjFpOwjN7mWA+cLhDTBLd2cCfIA1vrjtiwVQEze72qSY/BPSU XbYIriXNCt2Y6vABwKBGHDH52rhSlIkCHAQQAQoABgUCTJXUnAAKCRDSHNIj7o4N 1Q7nEADqyRodhe27LE17z+7B+wSeIoCg+JyD+CtmS2sEGsDr5nqjJPniwCPXT8b1 znYB5vhXQDO6bMosZGkGfgQlDaFscxbs6aVsUh+7KW1ccN87LNH/8mpFaKlqiPYr ABe2ns75o8jLSN0FOAx97nj+dFFB7P1Brz8DeIUWURrsPGjj3ElbhV90mNJD69Fs VBrHaDlZQEfaJG00ilQ6Wg5BbHp7Us94wg9hNOj/U0mnTzIyRaWcAibG8XWTO+Dr OIX61RllWRwY1VGY7xQ9NyM7+nIU9WeDp0x5dwnKCvrW8mh11nP2Sljh/nNoRIz2 PfdjKPCCInRaHfBsY+yZlQMUh5qtaW2Zl/STgPzE61dwljOfSPKv8+g6d63R4H1r 1cRs1jgZl+YsZvXZwPYNbS4rRRJ7NXowVFpaJhvof0MRKbsyN6YFkmsCXytSs8U+ kO9mlluyHBF4TARv3C+xhJooRqMoaxh6Y6bsdKx1xkO5ZHks2CzAPidk1rVGbXJg 6jZypfm7ighNjX7y0uRJdG4s41JhTmQiQYji7VICQ9uf3+8NwwWK3jAbkScvwDN9 /gLxKNIz64cq8rIqxAqKV+N6Ujd0WHrbqFfMOAX6jsMocfsxD2/xZQQ4Z/W1mgGz AAnHDXCC1y5d+r6MRbtDIFZoNP++wu3lINNMJW3vMWQf3Khn0IkEHAQQAQgABgUC TJUiRQAKCRCKr4jW2E5BrhGtH/9fojMEBEzXtrA0gLqQxc46M6uUvXdDU7d1+fNs CPMZuFLnWVV351d8g1mOD7KxHFoP+B1L0MHF8tSj+oiwMSoAIUI67s9VScn/JaTK TBRK80TfaWP3R3g9P5xVnOPXAoCgIIOiO+aErqHR+zSqFsriR3l0wrq1rd8U8aLW qBXL5WK57ilEoC95Qz7cpBjykFQhAikGVb4dXMIykpr1pK6dKhw2FGWejAU2bv67 FoWOlRclxthbqDgrolzTOmwo5XMpiDrbhwwi2ghtUyEPvNQIufyGuLVz8yJhz+0z 9LGBCjejuelbk1qE+FK3f9kfsvy+L4+Tih+jZgkqyhZcBrhmw+JnllBxt9TuYghU swYcDU23vMI/r1Sa5JFbqAu9PMO466Nq8MI5VVEEm31+siwoH6dFhhPhDFtE0u4H UFhhXIlHvDIpXSw1AMema1U2MtHZq5bbfHybGSvY+/7/9Emd1uavqjqwgxtO+iXw vvnkF1KsnBz5U2cnghQQuTGFv4zAA5VeKUtto5kGtGfM2Za95LYFhx8x1S3fiDN2 cLxIc1UcxSmnZWqIda8ZIz5tnbIadyisQuyIm2jtmXJYI93u4hD9vFz/VBP4fySM QKmqrUGC3ry/VBahmk9kTSevJ6N05uFqIbUx+CPQRwO3b45unpuVoTbs1OjX1qcU T0mDFUZHfedOR9YTKifOHG8m5soHV2NPTQSoMUo7vMNA9xkhHe6k1RCun8LWrf21 rHeL+1snDnOsbcNkPgRE1omCjf37ArAgiHY000Z9RcQ4RU6/X+2dGcMIAbYZ3DeK J4KWPRn68MHTjslVDsL2BTpQxc6ZnRNa9h/sSPRUwwb8Mn41vx+qwMrd6WzTmyV9 JkOqXbz8ZUfnAzLiPmukxK+7BK3MJTZJJ+DbbB4qPgmn4Q5Gc93iFeFke5505AWz aGKsK94vGJvF979r3jWjjG0upvCi96YYJP6jYGH7YJdSsLx7nSNzOWy/aBLxmrAM Klf5kwsypcffD5R99sbCAGCPibi+viJ/vEAurEmeBiSMA/9e7r/YIUD4FxGdlKVd nWpgoTEhTg/6ra2sGLXlVVPiKJCfYxCPwMUkf5O3t7CQ8XAmUD7Rbqo0NZ+Fmd2Q IoX/8IVSWnet0MuhgKHSY7RMZKCV+P6zzg2ak9pUnU8VM2iiCjNE8P5W5pihJPVm LZutkyfl3iGCFGD+iKASYorhOxCK3yoL8roXh85wO9NaRz/F9fZlBt/Z8lLOZLj3 n7Uj46CUPuWZ8JSoHnHAxB2bzjBRhdBu0Ay5HNM1abfiuQau/8TljOLIqLdho7Yd kSkN7o3ev1lX7F4orBH42NySg2s1B2SIrch1ajJg4aYXqq4o0cyRzI8BEAABAQAA AAAAAAAAAAAAAP/Y/+AAEEpGSUYAAQIAAGQAZAAA/+wAEUR1Y2t5AAEABAAAADwA AP/uAA5BZG9iZQBkwAAAAAH/2wCEAAYEBAQFBAYFBQYJBgUGCQsIBgYICwwKCgsK CgwQDAwMDAwMEAwODxAPDgwTExQUExMcGxsbHB8fHx8fHx8fHx8BBwcHDQwNGBAQ GBoVERUaHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8f Hx8fHx8fH//AABEIAGQAZAMBEQACEQEDEQH/xACaAAABBQEBAQAAAAAAAAAAAAAA AQIFBgcECAMBAQACAwEBAAAAAAAAAAAAAAAEBQIDBgEHEAACAQMCBQMCBAQFBQAA AAABAgMABAUREiFhExQGMUFRIgdxgTJCkaGxcvBSYiMVwYKyMyQRAAIBAwMCAwUH BQAAAAAAAAABAhEDBCExEkEFUWEicYGRwTLwodETIxQGsUJSYnL/2gAMAwEAAhED EQA/APK1AFAFAFAFAFAFAFAFAFAFAfeewv4IY557aWKCYawyujKjj5ViND+VYqab onseKSex8KyPQoAoAoAoDpx2MyWSuVtcfay3dw3ERQoztp86KDwrGU1FVbojxtLc u+P+xvnt0qtPDb2AOnC5mXcAflY+oR+dQZ90sx619hHnl211Pl5Z9n/JPH7Fb2N0 ycA4XHaq5aLmVI1K/wCqvMbudu7Lj9L8+pjZzITdNirYXxzN5uSaPF2jXLW6h5yC qqgJ0G5nKqNT6DWpty9GH1OhIlNR3LXhfs95FctuymmPQcTF9MkunyQDtQH21OvK oV7uUI/TqR7uXGO2pbLL7OePKg6rTTtrx3OR/wCISq+fdZ9KEWWdIlLfwDw3xxDm LuNLOCD6u6nleQgj2jB2jcfYBWb4rU829e9EdWzW8m5c9K1Ia2+6mFy2bt8PHipG s7uVbeK6nl3uWc7F3xEMuw66Ea+lSJdunCDny1Wun4m14coxcq6oyrs4/wDnuy0/ 2u66O3/T1Nun8Kuufor5Fjy9NfIsHgd74BY9e68liuLi9Rv/AI4UjWSALp+pgWXV tfTXhUbLhflpbaS6+JpyI3HpBpIvFl9zPt/dOLSa3ltkfRRLcwRNCvJlQvtH4LVb LAvx1Tr72RHjXY6rUs58Q8Xuo1nixVjfQOu5JoIYhGwPvuiC/wBaivLuRdG5J+1/ M1/uGtG2iLvfth4nmYjDHaR4Mwyq7XsDOeooBEkISV2HuDu9AeFSLedcjrrLy+ex uhfmtV6i/eK+N+N+NYw2uEgEZk07i4LB5ZSP88n/AEHAfFQMjJncdZEe7kOW+5IN OifW2mg9STwqKtyIpa7DRPNtLQWryAcOAC66/G8prWah40RsUH4IhrvCWsdzcXdh jxbXl1JG1+VXbv6aOEcgEqTrJxI/Ot6uya4t1S2NsbkvoZx5XKYPB2O/M3sNkFBY RDTqP/bEv1MT+FIWrl2VIqv28THjOcqRVTKfJPvbmriR7fx+NcdZLwSd1WS5cf5i W3Kn4AfnV1Y7TCKrP1P7ifawIr6tWUDJ5nL5SXq5K8mu5PUGZ2fT8AToPyqyt2ow VIpImwhGOyoc9vcTW1xFcQOY54XWSKQequp1Uj8CKzaTVGetV0E683X6+89bd1Op 77tdddfnWlNKCgyvT0KA6sflspjplmsLuW1kU7g0TsnEfOh41hO3GSpJVMZQUt1U 9b/ZWSPzDD201xeJiL27i37EQMLiaN3Ryu4j2Tdt58PSqS3gwldlbcn6divt2Vzl Cu2xLZTBS2eLxmXvZLZZcguhiXWCdW0bUMhJ6i8PX2PtWjMw3bt8k6rwMu5Yn5Ta rySZ04PwvJ39jc5mFUjt4FmZJ5yZHZoQdViiHoNy7S2o/OmJ2+VyHJukfvZhhYjn TWiZMp4Virfxy3zuZy88aXMMUqQwRorb5kDCNQ/ULnjy+alvtlmEOU5Ohvv4Fu3K XKT9L3My8t8vsfH8BLlAzS9CaPSLgryRu5UKGI2k7eP08OHxVbZx+dzjHROtK/Mh W7dXSPU8v5jKXWWyl1kbpy891I0jFjrpuOoUa+yjgK6m3bUIqK2RbwioqiOOszIK AKAKAND8UAUAlAaj9qPuDbWCJgsoypFuPY3D8E+s6tDIf2gt9SN+1vXgaqO44bk+ cN+v4or8vGb9UdzambGT6zXAjYxjY4uNCU19mD+h/wACqCU7jerbKtzm3q2yXw3m V/gYJLXF3e9JBr2eizoSR+r6uCcPU68RUzGzrtpU6eZKsZU4IiPIvJ5ZFOQ8ovBH YWyfUpYFdoHCJERURFPpoo1b0ryd65fklu+i2S+3izF3J3Z66nnL7i+f3vluVLjW HFW5IsbT0AHpvYD9xH8PSr/DxFZj/s92WtmyoLzZUqmG8KAKAKAKAkjZ8qAQ2nKg Gm05UAhs+VAah4F91Ex8MOP8kia4itwEtciFDyxp6BH14sB7Ecap8ztjk+VvTxXQ r8jDq6w+BomJ8ywuenubbBTEpaw9xcP0mjRBrpwDBdztVTdw526Oa38yHLHlHWSP O2ayeWzV491kLmS4diSgdiVUewVf0jh8CuqtWY21SKoXMLaiqJEd2hrYZiG1agE7 VqATt2oBO3egDoPQFp7PlQCGz5UA3tOVAIbPlQHXhcIuRzFlYtqqXMyRuy+oQn6i P+3WtV+5wg5eCMLk+MW/A9DYDxXAYKGWPEWQhjugrTMzM7OFH06sxPzXJ3smd1+p 1oVUrkpbme/c37ZYHH4eXN4eJreSOVTc2+4tEUlO3VFP6drEcAdKtu3585TUJ6ku xfbdGZUbTlV2TRDZ8qAb2fKgE7PlQDe05UAnaUBbOz5UAhs+VAN7PlQAbIgAlSA3 6SRwOnrpQEp4paFc7C4H1JHMy/3dJlX+bCoXcH+k/av6kfJ+g3qJ0it1G3/1oEUf AUaCuUaqV1SheWZKS48e8ptpW1Ec1pFCh9hKsbHT89TVnhW/1Lb8a/dU3Y69UX7T JzZ8q6UsxDZ8qAb2fKgENnyoBvacqATtOPpQFs7PlQCGz5UAR4+SWRIo1LySMERB 6lmOgA/E1jKSim3okD0f4z4FhX8RtcBmsZGxjgjkmhfRnSeQHqMsi8Q2o/aa+M9z 73eWXLIsXHRyaTWzittH8yyjbXGjRmXjfhtnafcnNWkQY2GHIWAOdzFpW3Rhj77Q mv8ACu8udylewrVyX13I1dPgU2aknxRfb+0jWM6fFV1q5yIEkZz5Bhy1r5OzLwkg s7uL+6FmV/5JVviXqTtrwbXxM7EtY+TZnps+VdMWYnZ8qAabPlQCGz5UA02fKgDs +VAWs2fKgE7PlQHf4rY5X/kxd2VneXN3YlJo+2hinRTqQCyNxPtppXOd4yVC27d+ ShbuVXhX3kq1GL1W6N/8VyGRurS3myqNDkJrcNLFInSfRJHClo9TtJU66V8n7nYt wk1ZfK2paPfdLqTIszTJ5jG437g5uCdtjXr75oyrB1EcYIkcjUdMp+724a13Xbbb nhW+vGPz29pS9wtNS519xI3nkGMki3LdwlSOB6iaaH86kW7Lj0KuTIm36Wbly8Nm 6yWvZ9o1yDqvXfeSo/sGhP41vb/L4t78q+4zUXFJmeW2JvbhXMds7NE5imUDirr6 gj1rqf3lr/JalrBc1WOqPm1kysVZdGU6EH2IqQnXVAYbPlXoENnyoBptOVAJ2fKg LI2we1AfJ5IhQFx+3nn3jHjwmhyNq8c8zcclGOpqnDRGQfUoU/GtcJ/LOyZuZNSt vlbitIefV+8uMK1ZlDScY3Oqlp8JbfGhb7v7ueBLexNFfSS70YERW8zEudNv07dS dNfQVyNn+OZqg1KFNerRJuYjhHk5W0v+4fiZ55reZXPZu5usRbTiwnjRQ10nbE/S okADMr7X2jXVTXa9osW7GMo3X+oq7a+w5fOlZdzkpVfkVfNYsyZmeyNpHJd5J5Jr U6KxCH1LH1Xpf000q8xMu3HH1/s09/T4mqzfSt+wtlh5FkcQ13DcYWaayklaWK7t ArynVQNZU3cf06a8NB81Uft4XIxamlLqnt7mR48XFa6lRyE9plr+W7dmt5TovThk dGUAkjfpt1bj6kVf42DCMEm+XmWGMvy40TqdCJFtAB10GmpOp/M1PSoqGwf26n4r 0B2g+KATs+VAJ2nKgOl49RQHNLaFvegOGbGO2vGgOEYzJW1x3VjcyWt0qNGk0Z4q r8G0B1GprXdsxuLjJVRhOCkqMmx5h5gvUR0tpleNgJGUhg+iqh/dqF0Zj8k1Vy7N b0o2R3iLxKu2OyrXhvTcSd4W39yGIcNyPxy9Ks1Yhw4UXHwJH5cacaaFxtvOslb2 UFvJjTPfksJblW2x6oAUb8H+rcPY/NUk+zyc3R+khfs3XTYh8pc5rMZAXd2Y4lie ToRxIATFJt0SVv3FSvDSrPDw1YWj1e/gSrNlQPrDbTD1NTTcdscbj1oDpQGgHUAU AUAnCgEO2gGN0vegGHo0A3/Y5UADoUA4dKgHjp0A8baAdQBQBQH/2YkCHAQTAQIA BgUCTFk5OQAKCRAQwBxaL2BZ50G6EACPPFAxumyI7I6wCxmWteHF/TwlOON0lmA6 /B3sOOxluj0C4d1Xx/qLIDcEMKmxVRQTF5JNUMLjseF43ToXYHi2QVJ/k6IMiGGV 8a6x2Wm/BbNLulVMn7qX+P9uKlzpDzMQweUqSnWuk1vENhCrM9bLC64q76aLdACr +bojsNDsTty2F5bQnlKrQCxtyY5Lo6OfLnZO/skegViwCIvhxE8FIS34Uiiviqle rUjRRZ/n3jZHyg+TO6pW5rxFxjrn0PXqSc6rmh/DZLv7+X7a7EZvyW+tr3/42KYy 78/6xFC4M588FOLNG1sj+HxsFWUnckqhDn8Pt8z34MyXStjkkDPJqUM77WsCJ1kr 8bNOmYdxCWSgof74TaApLL/MK3UxR96o/3yzy07xPzVh5EtQa1rQUI7G37vGotdq 5PT5uv3VJarx4sbiXXtfjxN2QYTI+suOU51oZgzC4AHqWx/zrnbOUPqy0aAMY5lc AqHfMLzn4HH8HGRogw3uYS79Fd2pdB00eRVfcQ9iZ3M9EgyeS/bD9VIFjIvNJPVQ BjU6NvVtcmsj9fCGVr0TSnyG0SZkjIN3vcIjHH0wOSeu8GQl5WdiZrReJRV8GmsT nxL3kAAQoWffyQlFqqoyhEYih0bK3+WeUvRegRzgmgIm3RgRM7Y7u6veekRZoI7B gUWMGk1Xt4kCIAQQAQIACgUCS8WWHgMFAXgACgkQrV7bt5PsV+TyfQ/9GIL6jGMP i0dIoGCgGSDncs+DgxOiTkjPo0Wd70bsJV4Tv1nhkLk9czNrMCm6yH5ED8H4zYEs aY9+dczIte1OWH8fC/nlaUlDD4/Qt850RfY4vNHedoQzH2+NpoxYsveryzCwUq49 rPWYKiw8BRpN98GsDmZsfNbZ3sA9p3AppNYFzVmkN4QqqTJ8S15citEQnV0j81f3 LrvnhpxHHoP4PgKJ6guInSIHQQc2h2ifwtQpGWkoDMpGMGY8hXvHWe972xP4CS+1 eduB3vnMxkDoKmc6km+XmbMpiW0lMMVvb0Ct90Dlvy7GziizJqGAtK463ok85mDu M+3iDdPOcEGneUZ3YmftKVFNrILsUTLp3xSoPDz5x/bgQPh+aetut6Zke3MvRyp7 +ddceUsHnRyRfVF1gdsWdCgNqsC0AF3LBS48uHoWVsnLDEe3dcRD9aH1ZD8leFtO 5u9SBTCJUZ0AfLbe1DD/7r4uLgTClzpafVOFPuZ/fH0becQ6euKksFTC980Hulln /mEribQSfGzI34WedcKk8S7H69llMm4WgVJU1jnhf3F7OyJo8CkzdupqWIm00uFm TXu2PrenmjdJEnep8CP6aaRrNybp0Z8UpnZjNmJ7YCciLJ8dXsr2t1/PMfrTQDpq GtFdeZsWtZHQNekFNRgLW0NmfddVvNkPMWGJAjUEEwEKAB8FAkvFgVQCGwMFCwkI BwMFFQoJCAsDFgIDAh4BAheAAAoJEAtmIFBiWQgIFNsP/2//2YK8VlBnwxuoiVna a3064H8J8rGm8ugXLrcVXp+0iWIFzQCEnYUITHXmBw5B6ezdJvRL/M7ibMHAPtVx ivkSrpARkGdaX65r8WxgVyquMUkqpywZFtmFwPzoxXnxXDb3G5QIrHlh9QCwLtFY BOAx1XZTK4AJSutwEOyFBSPxenGj2jB2J9hYW02lCSklcsjHMGFI2awM0XeusuyY dESmYDyh9Zr4SkU0GsDVUhhjWW6i3DI8OzIfR0kmef31dAXP6pt+yis+C5j2/S7c DMdWtGXvBfPK4SjxQXqkY1iwnIwz1ZmQXRMloS2PH1IDzWYVYGBmNG7kn6GgXAOt u+7KcmjTalJYFI9/W4HK1wcwsBNTQVQmORW3QB4baruQfzzFnqWKCOGoLPOH4Z0y yL0Z07SEHG9qjtymiBBw8AX/N2NVnKQPNb6FBM+ISNJBrnyx0sBT4/zJevc3QGUn p8eeRFGTtdlrm++740NK2YYehUO4L86TsWKgoRdnX/Hj0LNHAdCC0KIZhxiFIGyf muceXoV4yH5nAw93DatqpvN+wd/FtbBqGHA8c7przuttqsFmox/yAiR+CK01ojnv Y6c0rp2XjfS7A3DUjNtcbuE3D69ZdX2M29ZJlXwv5jieMWVDHdcII3vl0F9ko4L8 +8QtCdFG0E2b2YJpEOoMiGQaiEYEEBECAAYFAkyV0ZEACgkQHm578VwY+FQjAACc DvVbxLSgR2oMBeGSbxj2dQC+HhsAnjygf54lBCtiYJ9tajtrrZWgsMGbiQIcBBAB AgAGBQJMlTwoAAoJEGE7sSaAUDkMqB8QAKgAgt5uH5JTiof0s5wT4fb5P7PGUnoX sGx6ssU02WdtM3WKnBgm5iivMjCBlCEW1d2Hh4KKxTpRvfdNdFbL4gxhojpxiQje aMm6ePCB9nMN4oo+mpW3k3SJCsanbf+nrj7xGEu4KRR9AzejYBVmWxpjFNuGkH3d 56Is84XhK7XTjqGtShnzdK9ObZs2SqWPB9E0oua6U3kPm2LCzmzFKSJN6nFRzVLR KgNFR5p0zd3LfKQd7jVVoZDypFAHft/8NhebP/B/rwVQ0mCTu+pkO8cZB6AoBB4j sfrRVvc3ebK0D063Edma7FTdsKydNaAC+NcMryI8RnoRE+jJ7HkMLZ8kZl1IiKbE rmeO/J8+/2LOzCQE+gM8gWzRJ0byzQTyWnplrh0LvSkhLCYHykkCEgtnxTKMyMXe 0+d1iHKj6M+crbCSESf8J1ghPafJKhdbj5JM6CN4Wqa0ewDD+kzzjb3zfCdkoRoT O9flkMhZm+F0LLK53sl2mvDAACHeazuiMC6NPhUOF3gfQWMYUPIGxaUepllK4tCM 3iGO5XvD8wWPKQwfrYv6Xs7gI8q8omTg7F1Ly3OgZlBHDy3IPeBarEn0M91IWslr DzWm4a5YI8tgO3s75n53hRW/AVvvj2Z23up0FRC6pR1x4sAg+fNhtEpou0AaCAjJ JhiQK5rjWS9liQIcBBABCgAGBQJMldScAAoJENIc0iPujg3VnxkP/2g7STec2JtC nDYYo4DB4oROKxY1b4+UdXfH1TxX8hxeVTiJi0tL16pMkZFB+OWEoKhTjsLmXSQw IZnZVD9DgU067AOabeoMxgpalfGf4itZgcrbPw89Hbb6hf+9LVMDXFYYPO5ku1pb /w/iZqyuRZPlYZURUGcDd1kJSXxS1fpZYCfib4QksTvyWB6jL3Crh2Ulg7Hxr6A2 2KHAFHwl8cwVz3L8kJhNoCGKAT2sy+h+6vhwAr9hsid+ZnzpBXHGj3vPHPzzY67x GJFuVWAKhEfEXHrr0B/BOb/WalLMDojr+9LMc+PDbX1w9Ut12k7afbhZRlu3Tx2C 5Xn9ohngzZ4JxI2h4JCjIOD58NwZwJTaAIWeKsX6xGx1gkLEgfZ7xa9kgoSrrBG3 S5q+BMMZmOQeQWV6q0hVXnF3GARV8LMgrHq2M8BZSjtihfm8qkW/x57hQ5eEUzaA Nfyq6hYUG5ciG0bQc89qODSuouCO2wXFw5GraDDjsEg3iSq8lTo/uIADSV13qYKK bXd39apzpDB9RLgNzsMv2bECWx9SowZfiWfhXxyDETv1QeSkHjt6ZmYbHxgbZ0OG pZzx3txHUgW3+OEhWlwOy6ysj1vwiPKF5z9cluAoZsa/6/isntjZelL9SqzrlQcE fz+yGAGDLenYfAlXTptWahMI7sXS+wq8iQQcBBABCAAGBQJMlSJFAAoJEIqviNbY TkGuugkgAIA1mqAkyLv9TdiPRi/o9eKqG10mvY5a+OdwacPmH/8OgdLR0E5bLhC3 BQEct9pm4jaq0c46okkxSBqnDZA6TXftTefD53LnER5YYrjqWVTZqXioSV78mydX EVSliuD9OIwDecOS+/XO/IXYMNRNTuBtWedOuRw18bNZ0VLTfVexZjzAeVUY78bJ S6JcKoqoFVMfnz3REAm4DaV8P0kKxMf07JV0AES0S437igkxvyLHhNYZGj/GgRiZ HvbMoLZLpDEScgWFe7PbCu6liHts8PCnN0Gedrid+5bEn1Yb8fz+9KcA6dSDP1b1 v+/0DWPFqgC9YQyxIgW3hq/FtBp1biDDmLaaD5G+lmRjzAxKWBp9yT3gTJ/VT58y hXtJldKEBNumwpyVsWLPxUBwft71+HDDLLRXBTnsd7vnwCkGSgEHUlERNpAOiCNG khoWqEZFs7WgvdnoZJdOSKWd4+ox5MdgZ0CjbLbdbrq0e1Gydc2R/XVwPahJ0nHv aDQI741ZF9VrMi18ltdXmqv+Jj7wYVPeovokmL2MY0X9Zq1xKv6BWkYrfyJ778mz ORhIx8pZKRj1cs2HbUVXzJOHfZVF/kvFiQ9rBfnu1UYkaBpV2/3b7UrRBm0CqpZ8 qSVVpQnipTjEp2wI2Zo6xeJbLjNTTa02dLinPVlAbrCbxcPolBn5LZzNzgDMn/pH AXew7yW/Vx3nyiWQy7feI6CfMl6Red4VbXl3mkSW5PL7uGS7m4cOhkekLUrs8R1C WqsUWxTdmeqB6fm3fIYu967AnxoFsEIeBKyrVUrPLN4Rs/cEvKGa/1GEOg9ZxdXR WZHTuEv/iM/b2HaWk9HkD671+/aSIPz0qgL2jKoNP+4db3cadADiWHzqiXzB8Xvn pnGKcurBtcPgDdsJ0qLAJas6R7qbpBMVnYzGoK8caZjnHDK9BP0DeY/R8Gc1ykR0 qljz9RYFnJqMPlby+cK2u3AHrBGxc2nHbpkF/ltdnKvtQoFYkeZmtpCVPH1QuOjN 8kVcodUtt0EG/tixVAShgCnB0YQVhRBWzjcqvj+pEnK2pu5fPFFtBZkm1uULB7pc vaAtjLV7yPRJBloZP+R3xyktKfXa0OS7XjfSobBzYYj3zjDFVoq0OTbVNc8g0pLM xkPCrBKib5s5ZWokbhUNcU39Cfv1WTAynS2g8hVSU6itjfBNm0nYF/vNz2pLuhYw VjVHT2NnpWKNfJ1hm4pnINBClSkSn2g4WY42FXMkbBRAJ9/bnF/HKEmMe2O4ew+r MLMk+26Jefk+f+q2UlFV691I04nY2c9JeY55bJkmX1QnpFmWWhIm2rYVxD2jXgMo d4JPJE4ZfIqKJ8hHiyDpC7k4aC7uLDu0JlN0dWFydCBXaWxsaWFtcyA8c3dpbGxp YW1zQHZtd2FyZS5jb20+iQI1BBMBCgAfBQJMaXX5AhsDBQsJCAcDBRUKCQgLAxYC AwIeAQIXgAAKCRALZiBQYlkICHd0D/93SF6+rrGpe++6fnmiUQaGJtejOpT0sm+Z E5zhMAwOW84UeYg1UFKQJSrU6mF6+M5zjsRfKGIUxMabOUvNsco38t377BFhf9Bk OkoUqgTbcepRXRgBmCFsLNBd+cK5tK/TeKI6plrd0oWZTiiu69I4prbRGNupA5F5 vAXizBrg6tHewcv5XCZfVMBO3xheBMrXI4B83oQev1w8wbLiv7bJqB1A1Fsnx2dk eHI5A5M982pE7Oy1ynV1AhV3layxeNNdAIW1dEgHSBRuSa/dZ/1rwqvkAkSseZcz VpjyokTMOshNLKRJVx5cvphgvsL4Qk0fwlb9jJnt/HoPlNvfbTErYir373EKwZ1S OTVMgNrWGTTdA+8PV9s8C+JILl8AmVyF5gbMOJNSemXed1mpbAhjmGuZ6AoN3esK Uk97STgabU0lFk6Y0YKHf+x/Lg3ZC4MpT4nlic63kYMLUfQANOmsnjA+Jwwf+8Cb /N2MJN9eG+MzhW65g+0v+6PJP2n0HxSEC5xHYyulqDuXsRQ5J/XrJqbN5X8LB92o O+IL7aHUHnpGTqBS4X8dTkkAHTX4tJDEaNBN71Hrb+YxPWMVxu6QsW8rvQSd75aa 3TF3PMqOvNZDaf4tsA7UNrwaYHxOm92W1F7VLgHzgHzdZRwxl7Sw+0RswaZCfv85 7mT8KUBZ2YhGBBARAgAGBQJMldGRAAoJEB5ue/FcGPhUhjgAoIYaCIidFdgL1cUI WiwybLla+v1OAKCvCsP8RVZ9W411F3FOVn7YEFevp4kCHAQQAQIABgUCTJU8KAAK CRBhO7EmgFA5DFEjEACjWyOy2z+mfJdvmo10A4YXqxNXXSZXQcWtfF0sGQQV3o7T 3hKrX91QPYgjoUoPsRBxE1XUX29CIWiLRKJEoJHKaoVaXYjBvSStrlAA3MXJQD2y wrmrYLZGktAU9IJKhGeajCHAXgQY/rM2yYnhMle4Sx5gNmV6OLXOOgdoSiF7Ntlf VSe1eoHbABaZ641Ywcv2qoOFfZyunERYR66KhW1x2MQWcQU6nqGPk2IhbUduxY5O vmFKmOcbImoZs18ozIo0x1H2I5+Cc0oq59DIFy0o+WaLrrnFeTkvsOik/2jVjcyT MKqXDioQrr8X7m6EeGaSFF9Mw34nqH23hh8Jq5L7jiCzLqCtxQfm+7cw3n3sWCXd WJQN7yWNKkVxA8FkTSXCp4KQmpa2WgPRGmv3JT3DDDQaI5FGwIbVHG2vDAijOQL4 i+LyO0CuwbTHpdtAdc74DHvIYrc64xZu0z3MLAfPQS5PWBXdqJS7xg0zdVaOv+R8 xxrbf1WR2KQS3TQjQcmni1C851N6eQQ0Bd6BPg1ELg9EpSu9jRraEmH+Zv/HmU1r McxgDMm8y05Zv1jKsjS5s8QWjUuU6YPzv9Lp+isSJRj7NVCrTx65NgxDXbNsQev8 5NPx6iUTHBJEsJ8tqDpqttpDP55lvQDHQVp6VUsSsGK/NF9zB7AiOaTxTU3lsokC HAQQAQoABgUCTJXUnAAKCRDSHNIj7o4N1Sm1EADd3Kfmr3x2ab1Li8e4Qbol3O3l YgR+Jt79TF1VI+FSWeT7jS53o0VJlCMqh3Pfthnlj0x4yuZAt+YzDX+N4ZawNDBy Uvz6zRWxlYMUsaPNodqK3BEfPNXtV6WeVWx2uv3fcRXbtXOO7ZHimUfGOmmJR4lF x8WX9qWenXw3UJXqomaSEM/qMTMySRp2uTXSSaUO3D7cbV2rnjgGq2FgTnWETQ8G T4mhE3Fnxcg0cAcLqNcMNK3mn6/L/ifYY3AtQQ9UruK5cTEhkSROMIZ2DmqmwKiS CgUCVNnYOiUHgZIcanbJBw4B0N8EAWE432uKH2smfbHwIpTVPuXGtl1f//bxDhZJ LqY/1hmmzDXJlkOVrSM3CgMKUAAT/Re2U8T6T4Pau/ti2KAj6QEaLlWfzfUC+t2h yjI4ucinP+ldBRlYWr0uwDdpp65iFJUmesppQ2397hZgQRqk8ljn1HsleYKjiNAo cC4unKgyXwHYLjs0csOQYnSMRxyGauw/0MbZsjrLj8qwtFzktGteuuPGXVisJBOK T0ZhAcrLEH1zv07jgUQpwCDgx2n2CJbgum7uT7bFgzqW6c6voEAfXKcupCjgjhU/ sK0x+dRk00GJ8tBDLa26zNZCPjnnR+DwTStwfl6lkekbwg+VAuRtHaft27QC5ff7 Y9e939IBmYtLrFfap4kEHAQQAQgABgUCTJUiRQAKCRCKr4jW2E5Brm1+H/9Lfc9V 6hi4BpBMZh9RGpQh1bZ8U/ch39TUUDhfG8lC7TkzYN+H+S6/7uxug/no1+Yj/YCm hNmwkKycpdnl/37R6qGfeuFm8twuo8DiEvupp7Yorr4Fw1TpgpHs+qEtb+6jng0G RWZCR7YpFkWGg8ZrtG92P9qk9ynxj6ygpE4QDvOTpO7W+d4e7kuNBBqLhrnDvmY7 /sVMuQu4rOlTZa/k0srgscIt5pCPpGtVhRFM0OIJVhkJgPhM57onZW++uEpSg9SV MBWbx27FMYA+b9e/if7kp9A+pcyMel0G9AEKaim9h4He2TaENjRD0F21EGXnSua9 8uTsgMKiUZCd+3pFpqKHCHeGqLkpsI1g2G0wSr2RyOexjtS5c6ppFo8mTUg9YvEy ZLP8x1L/jVDQtr35Op6c1RhBTOiuGpcQT9fodX1KX/EAIjRGj614yXUvvCiEWGuF WvnRei4RblxNyt/7jnu8pdnHQNGy0nFkcPigwu77qxKpBS9LdMk7XgeVcvME4wnZ kM953Zk/YZc0MeN8EyqBxGImHBRu045/ji0BSMdFD5243G6bDUeoaqhBtm90GDUK cjKVGof877x1illUZMLE1zWx0Cqv2X38krrsoa3WPhhm4jw/R3slbQNAQ6HaL8QI AMEbbqo9Pf6xi+GVv38nW6sF/8gTaePFMmWhjqCQ9NXOgJQC2SEBVbkwzEo5D7b8 8ao65Z1kr5xS7AWgHUrMyr2SiT7Ab8478hVVJkBC3fjuVcGSdpMu1SIMDhbXKVhD 786or8up27iGTZSulqPqmLarIm8NPWwOY722HgCMoxuDZYw7WFji01VOPXz8Ncme PrMo9jHBHrtd5UCDVpnXUolJmkGMFMFWhTgsxgdcKuEf7eRs9QGWnGRHrcDppEUs 9OvQXFUvva87EAFFnCh24xwMddGWuXqGbT2UuMeLXEjazkPwXtp9bHGsxVPCDlQa jDy6RTcXNQEqKpsAx1LzQbJbo82hScjktgkfm2LSskGVm3Qb41FHRDEN4szRE84N 9UJCzt2X3RhpfHdsY8w2pSHNaHMD1DWUJBlRGsU4P+VXSXddihWdiq2I3TtgJTYS 9kB62gF49DBCbzGq0ELDyCwu+/YbBeP4Bpv+xSxXE2i1NhxUGjCw7nal+poPfIV7 rv+g5P0uqvad6XJ0q1EzXy2Ls1w9I+uJwNcDa9gZMdX4SGSTCUmcp3zZc29yQVMB j3RxPfP6R7CjRk1WYEiB7cbDk/GJ9h5/aKEYLt/I3zhn+HS/Yd8+DSY8rfT0hn2n ochLpRLwnfKaCi7D1PsvqE2ohpOrP39TGs5p9uKe+iYwpEr2cNAhedIO5jEvsHUE bBnfTiMeV8IVGPzvuQINBEvFfXkBEAC9GUNu8RZ/zY4BX8snhKcxZrv8FirsDPzc ASJn3RUSadGyJJw+0sf0pUg80Zj5nK3X4c/vqMeu3Du8X88CSLCW6BcKJu/jsFv3 qh9htzSiC+wIv+pdHyPLG+Wfqr75rxVOiQvGajPAIE2/jITbI4NYhq3SjzDjzn+Y ZeR5QsA2Uj7c8Kqnc9o6ZgZaNgkvN4vxfleRS8ubzW1HsfPaDIJzvg+u4E5lKWdq Nv1D+rUmshrrSgpVZD7m+SlMbAiC0Xrl2cpYB+oFeEPTM6v8+KORTNnJGVGFBTKG s6lzyrS8Pq411e4bSaoG9VHjaRahrmtw27kg58Hg9FZRtilQblLFWFxx/Rg/tAnz UBcll/xiKHpcshDAr1VKn8TcoFMjrzOPmfwxC6LOIdjLcY0XNSjUM6vNcnJrmsTK OgZGkD+JZk5pSsxnMWNU7VgKWO/Wmjvy5qUa7FZkh/A7FPus8eLf/711NstUB6+6 k/0eoZaVvtZ5MVKhBrkYscLNGOtaV7hwm+0cjQGLK/x0ntj6NciF9pMiGpC+AP0X VIv4rdjA4MC2ZMOf2UttfkzXWIab70MrvxJw9m3VknWOBXTzKDLzTtD4Y0AIGVyz qz86dHlrLXK5Zwort/tFOjpSp9SZUV09nSyT+re36V2VaOzEtZjpf4a1DinuIiQf ugVgb0QnjwARAQABiQIfBBgBCgAJBQJLxX15AhsMAAoJEAtmIFBiWQgIruQP/3YR vBzgcEQAXBrdh3Zfd7QRYJCk9xSNGGzzMVkIKH2n3nhRNRwplsARfnDKMu7ujh+N k3a1zUX8GK2+xhxt0XJ7jBrZoMtEPiSmjLkSSu2GYBbhVsNE3XYnxm19ZpvsNO72 qU4mEjTKElY7jI0oaWntLCJguW0wua4Sc43Nqg6cg1Ttv891l5d1eTk64S/PA9qm QyRG9lI5dtRqNLDlyMPzdWelP3lGzqLPc83HYHKCzjJ4Updfv2bU+eCW/qyyQkic CKyrka0KIyh3GXbHCqmGFuHJTknlF6MLdcEAInBNbjakeWTJinjcivPwPN5NwgSO yte+uI0UB5tWUvwoyqr4e8CJE80M0ZtTYN8rKJJx+/g6EvFUf+qxunanjEV6ZP2L fylVfLJsObnQN0Jv0ae47/F9b2SeWh/CaKtCxi0vzg+s+MKdBTXqUAIPBzQMyL// oq9VpQwqFFMD7fNBjBt2qKRYCmk/UFaqbtG7T6y6zcj/gobPr9QcJYM7FOaY6L0Q TA/H/qmf+xwt4klDsa4DwdVXXVCY0dYsJZ9crRJi61EojtCiC7Z4uMPrszl8+KXo I+u/kObNjQz6YQsKz3Hq4cZB4+n13x1pYZXKxNuwWF2JUQkGvcCg+wAkUKypIrcj c1OtnvugNcNVlwStx1wAekBg5u+QsmyaB/huA4TpuQINBEvFiB0BEACz8LRTLr0n ajj4u5xDZwJ5kWa45ClbiTHCSdePANZQqi7x8qOXdhZen23R8iBKMjLnEix/Hlgr A3OacsG/Xy/CqPxkupOTxklDfThKMH6aifjDr23N3i4ODTyYolh2a8lAKH0WgV1z 85RqjD6qu0nh9Xr3mb4GDFOOqs1ppNf6AzOLTMKFbOMLJ9SVHEgUNRvig4kUid6j AoNrmDLNn/KbtwWlHWtAz4nUCGZfGmMPVKnmg9mwEwfHm4r0/BN2sXK12zbyrqJT siDP4h0MIs81wlWBgHdxwXhBgBJK8vhy4sD2CXApjL2fbf5gjn3ApOdTKrpyTZpJ wRKlSeLkSy/BYKBzbSHmFz3HHTdn0u1aT/9gJYO4MGLhO/Kpm1Ht0aRHaoberswS iCpQQ77EPysJgiauyErRL0ynkDHfEbkBJGbgMjJZn8WYxYxAkVU3vYneEcHhmMZ4 At0gcLxN1/wJykMUiEw/uZmUYpdcVC36c/fM/6jCo6Y5QO6Ho5ENrwEVTSX8GTdU tsKFrDNh4blTcMmTKO9ijq8pNhZ/GpsZPVXpfx9QYH6dJx9Q9W0MLVx90WRdw+Tp DqdSkPOyQndlwsm0+ywPvDhAQ3Gjx5/XSt4WbfT1jYKd5+PQh5/1NyDc5YYQdRkf ftwk3PTDFqAgnTnG4SjFrCS4ImbCKiUvSwARAQABiQQ+BBgBCgAJBQJLxYgdAhsC AikJEAtmIFBiWQgIwV0gBBkBCgAGBQJLxYgdAAoJEGoM2OGpOvr9zPYP/3T/rytn OvMw9Pa4B5rvaQDRgWfCIR4apaEC2nZNjnkocl1tkP1b3wkH2X9DmAlpwqttj7No DJl/uqv4s/SUnB1RyPPBSTmaHmSaKVplSoD6DMh6I9WAbXYQ5lW0DAAE+a45/oiR r1FsE57xevT4p8Ss/QMlVFv6HSaOyqNIgES3/jSlxLBJji30+ZaMYUJCO+yUrdi+ i6oXdpKKodRcfKSMqAcNmadaYzzzfq48ZCcRRxjY4hzUh9mn6RIqwmBFOarQkRG8 jeyyCd2PBPm4yaPPop2/jKduGfQv99q4B+jdZEfm0ZQCGR1f5j+jDnG2lzPTUXZu UpSuSqz6yj2p/QBVaLDYW07HMARrLCii777gZOLMVf3hFMEyRH9uRc5qYalrGCM7 L7koVUzavY+igjo3mM5XFJ8LEvjmMOElRdtjxsyNe47+Eofs0cT6xhM1nKB0FIAm 0m7djGC5LlsWFEQeyvB6Fu7zsFAdQxepTyYX9jSE7an0gQofZq0RqfO0t8+T33NC kJox9YXD8wpkaGIi54EHK2a+dPF7GntH34w571YzUwJAjLia2fELneojGPtUm9u3 aCiPP6GskeGrBS3ZGiOJI4ebCrEYqe+fqzIlUpQRHsJh7B+BfvrkiXscwwceunYS JowU1Rjbruqe7fEkRoqMRhbF+F4ebnB2ZlU+CyYP/R1IwLOjX5MjylDtjVTVULqj UEeuvcRSR+movlF7fOgl5kp+WS7zLZ/ROKWXVJJFNgMTcTGDiy7tYE8c2+0wznZw Je/SQVgRfrob+Wo921vKX+odrESL7J/uGxJO8Ev6fFFXj2EnZFH55POK0LBy1AE5 Fz1Tkx+y/ASj+rq3+ELz51HaqMgYb00KL5x9hL/4H/tDMrkzFx2TDEhLDyKbzt0i 0+8oDUGRt+CBB5BhTsx0MbwQ162A4ZiR36E/jX/B5whZodD+xWf9r6ryHtudPSvm 3/cveeU89EuuKV1FoLQPQ0myshmLnSIVmLLCS1pVpommlNwFkORDRxdziMLuasSB GyKs//xepDSwTky6RihvkKxvKq1WQ/6YKpoS4cjsCUBeuSbWZi4WqGvonRfDmI7Z ehbw8W3BzMIQJjwbRqiqVdCd1FIrD+FNFKNjCo2M1HXTHsjLsYRh20atEZFAw8YP BH7nYeefDcPcJihagnqFEPDUVxz+b50vdCurH91Y/1LO03LVW4Yrt81hIS5q8Ato BAOyOVJ63HlWjDTy5ockVpB4sxIGd8+orp4+Ul9Ryr2Um/AiuVbkGG+6m1qXomMl AlDQ85XiQ9Xjs9ialxSjM7ZSot7Sf+3pUQnxiQionc1HZl0Yc+hKIqAvpPlgb8aD V3aJdCb6dFPeBGLz6ygX =3Dfs2D -----END PGP PUBLIC KEY BLOCK----- --------------030108070804010705090701-- --------------enig0765ACF196C1BC4F61DBC0E3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCgAGBQJNAU+1AAoJEGoM2OGpOvr9AgEP/AoBYM2Otxm/DsK1nUwzKFBj GHI4det0uE9VN15R55gKJhhP6JNajTfbUfHwOmrgo9NX8MOoccvyu7qdrKHpSJgx KR4vN/FX1SflskeEcsUe1uMBdbCvFtj2gTFIsP6CMymRcTunH+lNo+wAHnZc64iB oj9RHx6Pl2rSpKvRq4V1SHrZfmLBR83FrzbHYR4y4EpUstgGFT63ZtOIWkcgb2Mt PmkmJ8QIGwv7Ge69/DzNAR7pgXfIGR+1vLsdFpZfwa+5e3sBnKv9fOADirATXmXX Vhw38cDH8s5On2ePgdHAwPvfqoVySrgPrGCKATnwHx9tfrVNoHGEH2hhh8UWSVvq lnxznyJTPUZd1A4abIRjx8BlthDZo17bAwmir5RpYkpWfcTo6o/AuZ3rxMdq4dFU lO53ZWWQu5x2egc1ny9f5ms2IEzn1cyrvBL3A4WnApKXhDsa64ls00RyCOEfcnO7 DeO0DlXln3c2RtHumJbaKWXKIMHQOp+kdiE3M1Rxu47b/ZacM+CLGOR/WP1U+5bx HJcY9JzP8xjZGw8UnAoZfLQtPhzJByxwlw05lwbMhNyAHvoGYP8K4SjdloXrROF7 cktBonzWHxFgSgB4JjvCPZboYjCsSwOGIHOAJ3Hd+VUwUJAJYl/Cc9Xxd3c1JQqB Eb1OeZIWjfSoIJ95DNUG =X+LO -----END PGP SIGNATURE----- --------------enig0765ACF196C1BC4F61DBC0E3-- From [email protected] Thu Dec 09 22:19:42 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10432 invoked from network); 9 Dec 2010 22:19:41 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 9 Dec 2010 22:19:41 -0000 Received: (qmail 18329 invoked by uid 500); 9 Dec 2010 22:19:41 -0000 Delivered-To: [email protected] Received: (qmail 18313 invoked by uid 500); 9 Dec 2010 22:19:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <kitty-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 18305 invoked by uid 99); 9 Dec 2010 22:19:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Dec 2010 22:19:41 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qw0-f47.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Dec 2010 22:19:32 +0000 Received: by qwg5 with SMTP id 5so3057594qwg.6 for <[email protected]>; Thu, 09 Dec 2010 14:19:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=Pp7ieFbc2XaKOWIGXYKodEYATGi2vEcC9ttoIvmYjag=; b=ZueEf6y+DncrZignZWHqM2SvIwqWZzJT2Zf6tAk237fh3ITMW7uYkPirDH2m9oUIEY ptkxcHp7FIxkhM+6yCs3OpEnSmz2uaTrxnhqUxpZYZt/Ydu8KQ8jv40ty0CjfeOUG4LH nH4/kgLqmZYUEgO2wlfNSinU2DtqNWhMMHEyk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=mm9wHbbOLFnPjQiYDmTjcygbK0h6iG9E71m5+/NNQY61HvGRGZFQYep+bknATEVLTW B50gC6mi5bOMoHjdgTVDhsI7B0GCUVGW94Te4rKGuoM0QgfzXV26OVEfN2Om0kDx6iXI 187qLNnHS4hg5DkcLbpurD2cNaGuuQLw2iCfc= Received: by 161.129.204.104 with SMTP id kz21mr8352324qcb.230.1291933151713; Thu, 09 Dec 2010 14:19:11 -0800 (PST) Received: from coltrane-009027039152.raleigh.ibm.com (bi01p1.nc.us.ibm.com [161.129.204.104]) by mx.google.com with ESMTPS id t35sm1491812qco.42.2161.129.204.104.19.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 09 Dec 2010 14:19:10 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1082) Subject: Re: Board Report From: Kevan Miller <[email protected]> In-Reply-To: <[email protected]> Date: Thu, 9 Dec 2010 17:19:08 -0500 Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> To: [email protected] X-Mailer: Apple Mail (2.1082) X-Virus-Checked: Checked by ClamAV on apache.org On Dec 9, 2010, at 4:52 PM, Pid wrote: > On 12/9/10 9:42 PM, Kevan Miller wrote: >> >> On Dec 9, 2010, at 4:34 PM, Pid wrote: >> >>> I can do it now, if there's still time. >> >> That's great. Should be time. Thanks! > > Short report do? > > http://wiki.apache.org/incubator/December2010 Works for me. Thanks! --kevan From [email protected] Fri Dec 10 15:13:15 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71148 invoked from network); 10 Dec 2010 15:13:15 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 10 Dec 2010 15:13:15 -0000 Received: (qmail 65523 invoked by uid 500); 10 Dec 2010 15:13:15 -0000 Delivered-To: [email protected] Received: (qmail 65505 invoked by uid 500); 10 Dec 2010 15:13:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <kitty-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 65497 invoked by uid 99); 10 Dec 2010 15:13:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Dec 2010 15:13:14 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yx0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Dec 2010 15:13:06 +0000 Received: by yxd5 with SMTP id 5so2141637yxd.6 for <[email protected]>; Fri, 10 Dec 2010 07:12:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=p2JsZ6j1Xb1FMqI3Avbc43Iy5Qe3PhwZFHSNuLO9CRY=; b=VyZ1Pn/M8+AZ488E6ussmWx9w2YLZN1RA5ZUcks+ZhfiUgdcH1BuGy3Q5V9pO7i/B4 acGT3Mza54ueStUpybCaS57a+e+ruSywBgvEb7TDMPJyyuu7KuKpL2lBDlxUfh4FaRPK DFeU7JassWowDfjZ4K4k75YZafPgWsI/vQW9I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=ZHFvGqtQ7xUFvWWPY088aHuZ7kWp/u+GaKEHk1EIum8ZR8FRp/NJlDPJ5Z/re+tC5s BRoOqo7NPQgE0ObWGvAPSPgX2RnZvQyQrbSoccBGbXRDo0sCT0zA6+nHIROimh6ILbTE prBuSoarv7XF+bglevUpwI0mCslbzydsYVZJI= Received: by 161.129.204.104 with SMTP id f13mr1589160ybm.218.1291993966056; Fri, 10 Dec 2010 07:12:46 -0800 (PST) Received: from [161.129.204.104] (cpe-066-057-037-066.nc.res.rr.com [161.129.204.104]) by mx.google.com with ESMTPS id l4sm467875ybj.9.2161.129.204.104.12.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 10 Dec 2010 07:12:42 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1082) Subject: Re: Building From: Kevan Miller <[email protected]> In-Reply-To: <[email protected]> Date: Fri, 10 Dec 2010 10:12:41 -0500 Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> References: <[email protected]> To: [email protected] X-Mailer: Apple Mail (2.1082) On Dec 4, 2010, at 3:57 AM, Pid wrote: > Hi, > > Anyone have any thoughts as to which build tool we're going to use - > Gradle or Gant presumably? > > I'm leaning towards Gradle, but haven't got any meaningful experience in > either, so shout if you do. I've never used either of them. A fair number of Apache projects use maven. I'm happy with whatever the community decides... --kevan From [email protected] Mon Dec 13 12:47:31 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57961 invoked from network); 13 Dec 2010 12:47:31 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 13 Dec 2010 12:47:31 -0000 Received: (qmail 27487 invoked by uid 500); 13 Dec 2010 12:47:30 -0000 Delivered-To: [email protected] Received: (qmail 27136 invoked by uid 500); 13 Dec 2010 12:47:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <kitty-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 27118 invoked by uid 99); 13 Dec 2010 12:47:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Dec 2010 12:47:29 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ww0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Dec 2010 12:47:18 +0000 Received: by wwi17 with SMTP id 17so6066907wwi.0 for <[email protected]>; Mon, 13 Dec 2010 04:46:58 -0800 (PST) Received: by 161.129.204.104 with SMTP id be6mr1597307wbb.147.1292244418164; Mon, 13 Dec 2010 04:46:58 -0800 (PST) Received: from Asura.local ([161.129.204.104]) by mx.google.com with ESMTPS id m10sm4377974wbc.22.2161.129.204.104.46.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 13 Dec 2010 04:46:56 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 13 Dec 2010 12:46:59 +0000 From: Pid <[email protected]> Organization: Pidster Inc User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20100825 Lightning/1.0b2 Thunderbird/3.1.3 MIME-Version: 1.0 To: [email protected] Subject: Re: Building References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 1.1.1 OpenPGP: id=62590808 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigB88D328CB62B246575BB117C" X-Virus-Checked: Checked by ClamAV on apache.org --------------enigB88D328CB62B246575BB117C Content-Type: multipart/mixed; boundary="------------060304020601020302050009" This is a multi-part message in MIME format. --------------060304020601020302050009 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 10/12/2010 15:12, Kevan Miller wrote: >=20 > On Dec 4, 2010, at 3:57 AM, Pid wrote: >=20 >> Hi, >> >> Anyone have any thoughts as to which build tool we're going to use - >> Gradle or Gant presumably? >> >> I'm leaning towards Gradle, but haven't got any meaningful experience = in >> either, so shout if you do. >=20 > I've never used either of them. A fair number of Apache projects use ma= ven.=20 IMHO Maven is likely to be overkill for this project. I was thinking that a Groovy based build might be a good idea for a groovy based project. p > I'm happy with whatever the community decides... >=20 > --kevan >=20 --------------060304020601020302050009 Content-Type: application/pgp-keys; name="0x62590808.asc" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0x62590808.asc" -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) mQINBEvFfXkBEAClvXQ4bG3ib0nQQfEpmlZaZyAGi+4njhhDAP/n5Zbi2wLcAnlR WF3FyrSOnFns9V1gNA6zdLPhUs1KwH5vBDlU2ZkOF3b6pGhAdTr0HPefEBwz6StK Jlch9t+xJjV/llA2/n5UUkCLw3gqyJQMvbFSfzLT9YGF1ehsngvK/vRGIqZ+TIoC +lGasSJ8B692unnvDF+MSdNu7X2ioQJP/1SPLg+/fHGZQr3zdjf6BOJSHTd7yg6E /jCYe2F8TxdcoMdYuSNIf3B+whMHltq9HdHipZj5/JCo9tKyQuzk1I9kdgsFehIe fd4mnrwlv87CM0q6m4FgzivG6/gIJiddgfUHAqmRvDh5CtXHLzXEDGJEA8xkQ+Jc AAbgOYfGyYh+1D59U5R5qoUkVeb2tM6SUpHOYK9E8H5Pml4kHyXFctdq8kD5y+dN A46/ru3bQEYNcBlyGEpOPs8okmoBxYlUCMdH38YDLbBEverDh1tJZ6TrNWEr9if8 vtljEZc/Mebh9n6btImmrHszAs6M5qHNvuHaWfTuuXwPEhsdcFF0jLMREUMFRicc CSibwKxnHua1u9JlufYaJUeJifnI/ugpIS8Lbaaj3BDT9DIWVbIJKr5yAdFv3nVV IOiyhxQh85y6yOoXsTR80ADu5fvaXbiEOhD5hsvcRlP/q9m2Vxpul8O0ewARAQAB tClQaWQgKiAoU3R1YXJ0IFdpbGxpYW1zKSA8cGlkQHBpZHN0ZXIuY29tPokCNQQT AQoAHwUCS8bBKwIbAwULCQgHAwUVCgkICwMWAgMCHgECF4AACgkQC2YgUGJZCAig Hw/+PEuC10bCXKqvd9y0Iyvi1iqWVJIhL8cUW3eQsPdKy31PkipFokhRK54WAI3c qslF758ywz7jxJ26P27JoBRzCk8MChFvs/OJpZ3WTXG0RbKG1Nf5e9ZuDhKye/Ql xHD4Wxiavh9dzOB0x+FBYmjLyvyC1ElLmrhGnltCPR2k9ytV7GLJHCCbIP4s+Eg6 qyX/RysGAdHHdzeCgwGU79TaKTn5LNTxeuQmVbBk743YX2TBhxLwBOiwtUfj6t/l 4JGrHt/OdoPJCcxpb1FOHCjdfou/gkepkGJIwMviPWrd+tgb4ZG/+urKb+i/QCj4 pr58xjQrt4Q+bxTNZA0HnsE0Z5xXI6UCyavPnn55IxEFQMon4EoFBgKMEyZecrkw HuvL1BnkhPYKLL2Ox0Y6rZot3Sq75x5xWjP3uUMj8mLxwDULfFj8qxBGumaYxLr/ hJf78RvfnVaVOsovNXry5RxoVRHTAyOO4jwwtSGZs5lzLHqueKq9Ol5m8UON12Py r6wT8wBCU0Mu2TsbGzkld4pntERLLlEshsdkKFy+DfWpbEFcX4/lFMZwq0B9dpJO D/8grP7+CRuuNSNe7YYUaTAOrRJzJldvB97wjSINKcv+QYw+YojZxcKcNdFXkRi+ hH/ahTr6xhMKmsoL6Jyu/EtUcwGDZyOGINFPvdSqaeBmU7OJAhwEEwECAAYFAkxZ OTkACgkQEMAcWi9gWeelMw//ep5EUcJuwte+DZv9w2PiuDnm7nCU5B/uOmbVahsF nBHC8BzO50V0qsZmNcA+sJMUhr0WqJZ41V0sX3ROcfwpNe1xOIStQy+ftAj2w96K Hz68vH2yubVihr5c7SlNWgoVunVjliOJvOxnIDbg25c7yh7WxuCmqy3M9wSayH81 FWv2xZOfV6f9n5miENJB+b9k0i1OpcbAXg5LWC3OrraDIXPVwj+HR0Y4p6reYOk3 fU3JuCc22/+kzwCUcfOUE8pf6a7Ai9x3sPbmSGtw2BIooiGC3XKTmOpXhPmD+IdZ 8bsk5jezbRSKsysOXs2mm3Fi2Ng1fZ7EB4N8/TFXEVKGLcbnfFTZ/ip+gPSVXf1v YpUaNk22GVk5YV6P8t4JprfPl5nPnQMg290OC30RVPzYmFnDhABh7wkueyIpkgSt Z43unewtcY9S3irjlRadoy6uDZOVkxKGNvBnVzOxvnuktEB4g9eI/boEiz5Vkq3b Oh5CwYpJDDPJPRhCxZ1j75EaaMn6BW5TpO+ju7B0dsDxQEYiPddrTxWljmRI3p+F A7284TbSmajG//XxqVGun8EOARJ9pOkTsmN9s9eRDq1am2HaGZpXisTNYDOIi+gp Qv4vbVIStFLm0nCmB69Cq5TF5tGhAry4cu65pAKRdn1DNnazyo0FBf23qSg3I/x2 CMqJAjgEEwEKACICGwMFCwkIBwMFFQoJCAsDFgIDAh4BAheABQJLzX3iAhkBAAoJ EAtmIFBiWQgI+iQP/29WC9Q/Frz8nmJZZ+qCsQ7CbimGaSSsC/DCP0r10Gfe+BT7 wqgbD1NMJRvOIXw76GgXOGn31jcZQJLmz5oQrWAaiOgTdACEtaYoMZ6QDzE6HIeW 2+06hxVY0gCELuhJ31iou7qGSJVLwOhTsF3iTChuZT5dVrxIVYv1D9vc174popEj Ng0SKo9FXCfOuRls5gPKKKb3z98JqZjXh13LMG560On//ABaJIPVcb+ZWrAO9MLI hSuwhDvtuBZuFV5fUwFGONIPAVoHGuIZEU6bI1x6ddeQnRTnPSBycoEAc4s5cyR7 eDWDDhdfzXafKepX3aNCMp7bc8dAvGJ+33gLGzeY8Qcb2At4WpJ6gim9VVsHrE8G Uz71qDQh/KJAuiwj+pTM2EIcDYlSzX74keleNQJ/wAhSuJbsUUAxT9QF3PMU7PdF rV4JN1JGOAhiy2rR9/OnZHha0zVT5sRk1ZUxLS2EUCDqoHJi9ORSfZz2g1Q+oEL/ EiH6eFHS+RzOjL+KH3+tMN5D7yKB4k/GHqFRE/jh+8SqVQegnqDL8HCwDdjn/PnV IcALxMpPYEVvgl7ixRvU5ct3LgI89AnRZBxL/oIPO5Js2+wKye9cIeT0XOLOxjK1 hO8wb3NdLqlE91t5lk4SUtuyBtHqNjZn40pO7Wf8JlSf/eqh1EUyUjHiW7gLiEYE EBECAAYFAkyV0ZEACgkQHm578VwY+FQ5DgCgiid/m6whU8G15lHof4Gr0ERkpNcA oKA47nKZDX1Dp43X2P5mmdVZ21fMiQIcBBABAgAGBQJMlTwoAAoJEGE7sSaAUDkM vCUP/1A3NgrIwD61R7puDLK7VIaTPXMKW4coFNEMSHBobMR6qiiuQR9d2sNqAWJ5 W2ml0riNwyztVarJheXIa1TqcZFgmRK0nJ/nbOunk+h6LROgxdTrpPTwR3dl8HPr 3MNVMyD1gcTFJUk/xKo1MHQuCyUMaQKZ2JBtWk33nizrkQb5Jf1Lxz4I2TWQGXJX 0CLGnz0iFeDTlTJowDglbtjPyFDUFiS7cwd25jIHJSzjGQNEtwn40oLyKE4Vdxk4 nlglXuX1NRCguefnwVq677lavYjKAB6mh2SLknoBKsRvFGJgUYhGfZUdzBpy/Yy2 x8gOQmbHMfNHyD9TKr8AOx1GmvhNgNbAXLPVlC2EKrvh9IIhbMn6A1LclWRUtwin QGpZuQ/nlAfFHqyIP8KF/3ys/OB93F/vQ+K6D0GvZcYiOhDhl8D+beTITK/ariwg UImmcLsQbzWOr8Jws50X9VaqY+FiX/SsPh+8yklKxFrQdOWdf0Fgfl2O29cdobmF XwKev3Ym11d3uArGxcbh5QII9bo6TPKHHbB2Wb3E1f60D3SiZVwh8T/6C8pQRW8j Gj1MVYLUPtB5qCJeJDDqb5Z+L/ocBr5Bbs4wh6hzttDneddOEwPUMDzCoEfxxbUg yIdS9zbD57cQjvgOewvAO8uxjlhx6b/ACinX2phMPi/t7oggiQIcBBABCgAGBQJM ldScAAoJENIc0iPujg3V5YoP/0TlXHF0nIsNuSqpYpIozsRJrUkjGOUVDaMBPTNU 2LM8ilzKnlAV4VocI635x7P6tFWeBiaDVe4pX9e7hvMNmEtNjCCiGypxERMJqNXh m+N5rnyL6juXt0vWo7z5quRBbHVch1hLKqQmXXQLgrl4LMCIGarcSkn109cG3KW/ apldrBlIqRsiyIKwMwPLiB9sMdIGpyNmyqiC4lAkHwaSSVAyWsczjWN3bOVDKXju Pioq4d5CpQ19w7u+WzlVVUbQVfdBKxL09r/SZTt5GpmGLYdfoMG+SqAZL1UBGRnq o2G63fPhS1VHUwurrLK3cE6oy0i5Ct/Tgv0qe4NtOzVcUBDjqf0ooTwCHihpn5po mfzbLDDxxaRJlGI4pGbR6xLVMfMnOU+QfF1F5wjL1DVrUQIqSDalFB47/cw170JC +0tFwEm2dZe4s5z+0vmWdDK98pa8PsH/LOwkxpgnp2vdY4FVrRY3wR7GteCHiIXG uBZGPnwXrNlFQIvF/VKi27wAvTKLczyRKkjUfmri2ydtpnD8xhOMJdNNbFZrAxQs UVKTLAXJ+baQxwhyzZdW61ZzzwijwlCSjEYeWqkav15q9IeJhkAqvpKBSTvL7Guk 63R9WekpZWTsZNMBUkHEZ9/xNUg3vB7iWFh6GKiygFGRW1u2QDp2Y2itmtBumTAy Zz4BiQQcBBABCAAGBQJMlSJFAAoJEIqviNbYTkGukJIf/j4plsVCQZOYQIrkkd/h tlbs+YIXwom5TxGCppLBElPmyEyGBAf5s7RBPxl671Yn8hgb2aYG/5T98tH+KMzg 3NUVNC9lm3F3hBMPu3S9waeJkx/8HRzdzeFmP6euea+BgBM1sehWTUAqsG+0HhTH Vi7bXOouFNf9pDZkHi+GSQA+fHTnSpJ2bVu9t/IroPi9cnqPSNco5atSrlTdyXJN EyK7ui9KjfyISEU0wOIHY+Hlr6BxXlAoPl2AeysKJfcwKvuHNvWzfFa/Unbbne1W reI/W2Ta9bQj1G6xLIK1vsZDwt9OukVeaaFDqYtNVSVXFKJLFvHatJFU+DyEu9le D1obB8i5XvCKPRXp6iHUwDTSqBLyaJXz8FGlOG+hL2M++YtZXCZQEcEVhgIGCZ2l CYaX1W/ezPxHMeXJoQK+6yNlG/FiEj1pYycDyg4/hpTZvwyzRKuOj/MpYONBGGZI 8yVRXkRHgtKCEaVw/oaKZ45LZ42SBJ+kIXr07emm2pLhTrqrvSp4yUTmh8gYM2oQ vp3OZZOOBtEElIEoU1k/S/SchB6ADEGWCPA7CiEB6N3hhYTj2t+iDxII0c4e6f0U lhZwJw3EaqkTp1IyUkBALOLHacIloGLvAMLhinBUmR4GGwCr6WUM6TXSgFHriLvh LJVYnYPOo1W8KggS/353CVCnzO7gsatOga0R9EclB0EGzN8aF1Mu7KhkVjAitRBv V/sOYizOtaqay8SwyWNmVV8A/uZ7/I9dhssfPUphw9N+JSEUqstHYyE5NpTNAONf 8QKcOKsQ0M9br3TTIq5s6YQq8jJZRZEK3zowVzUzQ3IpHATWxTxMgRJVLCmYEukH D98ef50Bk9WLxeT2pxSRCDrVhmLDkrpCR4KnXUbmn2BsyU/GrJk6moMFqr/BxsvD HSpYar1EtA7YMuLFYQQcYFhFOOMu2xhCt8U5tGFLLDRq7g0jLlMIGXT1fwRaKsP/ IW0vaJBECxpSqfq4ZqEeiNbvmIfmMeqTa0214oM5L5/i5JhGfBBo1aShzYbG+Qa9 RPL6TGhkttDje/wQj2jVLKrWVnqcIMKStJ4Yl9YHRflVXS8vipkneCbCqw4fjzVR oOflkL8r7MScc7YYIfb5o5G0MQq8hSomCFqTmxOTd4LltQN8tX6vt+7NHf8fP76r 1hQXpfqc9b58DqSC6av2LPSAGYeqY0r55XJpb7KYqXZ9QlDDnhZboyzulOP5BiA1 N8InzCWICuam9bq6xKrmqTqngkttJdO+OlPgoaGwvaNqQ//jNMEDKArEg5o9Tz6a DTcx7pqIk/u3uMFOpnz4MlLH7oPPLGD6Q83E3DsMHHv/hHFNQoKH76hTPo4dMopF ltS0OFN0dWFydCBXaWxsaWFtcyAoSWRlbnRpdHkpIDxzdHVhcnQud2lsbGlhbXNA cGlkc3Rlci5jb20+iQI1BBMBCgAfBQJLxX15AhsDBQsJCAcDBRUKCQgLAxYCAwIe AQIXgAAKCRALZiBQYlkICM+AD/9LdUKcABy5cWxQohXDu40mZCLodP5A3boZF+L2 O9jpK/lUSnFewKEJznavs2RLCwpzRcJDNqRc6vEzOyrbQvAs6vMNygAGETB9uxaE Kesknj0ZxCsqqxV0VujHYdRlVg4qwsKftrXv4K5nCLkBRv3YZQ0JzcX/wRlfz81S lINoM/IuT5+QzCGKSjxrM1xrhxZgwHIitNCR5BHl+CsqjpjDPLJj1mFqPTLniKKU ZCB7uN2e38FYazKGUIeQXq/e989zTimvQ24AYUjoGnTuqg1liPd3pKq0ryAvdYZT Upj98CZZ6jCCkDisAOSJerwXZzB/o9ADX2mFJukdD3MXLRJcAdV1CrEg4DGau8w6 JYROgUc+C4RONmihsXKyhI7Nj97t822Rj1NAO7z3ptnAwSJGx6WSxFGvWht14vuQ Lf9bH6FzBlhIxUKhDWIqq29K22ck6Fqb5dHbRyE5253tWt0y48dx5W1kP6LOW9zh LN3NBw59SN4O8H6c2jP8j8qExeswpbECiq+gdnqMGkRjDKQwxf93OhmCbCTYXtZt gJttLVCg7gXXlNbTMrEfbWkZFd21RvGu3LTnWfZLtmKvg4Qe89UTAla/phpJKgYF /WAFbC9E2jmh8kQo+ETHw+EFWYy4RjjIthmGegGQ45KbxZA36woKHjsmnB0eZdA1 RUXf+YkCHAQTAQIABgUCTFk5OQAKCRAQwBxaL2BZ5/2eEACvvqFb9meRRLLwFl96 B8RWJa8F+tv5GuA+YiixUq2wCWz9y9NZLXRsUUZ8dVbcDphW+xxR5OiMrlRnOxq6 4nfY9YJpguQYv92Xa5P2LgsmDss+OSqeVyIxV/C29z4zAc7yPLiMihlUEw6+2o0f /ohShC7FBndAjXGTcMyvVvHIhR+wGmnjsN8NRlsq+Y56ZGanAo9zKR6udI/kRqZm /PO7guqRkJTgPmb8AX47J89v/Z/Wk3XQdSpTvZRPoUY2f+oOgwr8m4zBIqBGHwS8 bE8nHti0QNb4NMoeK9LtYI2Xr7Gz8JoIR8bmsRPTN5in1Lwvy85FkVK0rj2TL5IX dA1wX7J0K8bWL3mORn2yloKCmDYFtTirMfKsV/IItQeLW4K7omB7k5Fgr+JRtZjk jspluq3yVUUfz6Zd7G4aYX40uvugT2AA5Akp338z3/FlrBgeoKKc66Tu3FL27t3k a+N4BaPq29H9zglnh9zV7S4tkz+mtKCgnIOoZlyjHGz8XENvCgMHBKMod7v1g/Za IFsq+H5eh+pyIX0VX+PDBUIu8z6/i5NOJta7o/Q/hr8XzWXgz4pz2m+P9CxK9FsB pg66rrUeltJ5iRe648PWDeg2WsbERGi77mHGE3goOw3C0AdFra65jXJ+juAL891G e4YHzuX9lHonTud4ab+h703UZYkCIAQQAQIACgUCS8WWHQMFAXgACgkQrV7bt5Ps V+RqSRAAtthk5f7miyCB2PcxhumLbdMvWFpPk120R9zxkWMyd3+gPdzuRujOnBUA VaRoGXoA4gsb1G++fPVr6Qsv60CEuDsPXpgK0crxED2vtGV9gQe+mheCgjwucDUM BQVFCgnZD/QiYbJ5wJBVrEqvRdLKHHPTOmM7bC2HMAByLLIrnjHgxINsfYfUf8/N 9rf9gz2sOq0mGzVSaM86xbbjySxToYISYLbSws4HYGw+M/G++1d3H5DRGhZiGUMP 8GC0gEDAAcprW45btTzmCo6CD7tS2x3JD47RLtbPN8OxsXBnxynk89Kjbxlqp2gM CXJDsYmnp7zwfmwNEPbHUHL4oj6A27Zux9cjvyY8uSlB7vzrNVjPiEu2lhflx/Ah FK3Np3os0fSb5qHQqO+uVijX6XTHhv1ASnHKXTlqQdq+xf0H6bj7ilhC6UnwnbHz ybNeq/X4hSe12MfP6RglvpZjOGLBXZxK3hTCN0LCIFwR914iCOHVkzMplk7RosW5 qzWYhDFA17pyufaeCj6CWEWSAPb9nH0+iOPVR8BkwtRWUHaBt+xA61BJlEHZWRbW Xs0RteX8N0DPPAYJNBiXQ6YjXwwv3USrSX4u1IgiSLjK02PVQPO5mYEAW4MKKAtb D4yYPYuWv5B2tqJpn26FttSog1D+FflMiZrDv6isWwE8QYbxlP+IRgQQEQIABgUC TJXRkQAKCRAebnvxXBj4VEO8AKCQNiPgfoCBjP7pl99P5mztRWi76ACfaezwFf3I vCBLKtFBg6DTkda5C0qJAhwEEAECAAYFAkyVPCgACgkQYTuxJoBQOQzSZQ/8DC1M vAFq1QqnTOxKtphMCt2LTVTAfdsY0hwoBPpciO8xuPNS+jy2zDyWn5aN381pPRuB TuSPUoOmWfAdGC+6rJlHV+mdynPDObwRsOFfHD7MpkHi7zNxFrc+LCeR1WeLkc1n IyYQrAuVvYkMYitBaoj+dB/gSxv7vECpvHZ8yEViXk9fQEuq+gzy4FirYuUpJt1W ipIBa3wVoXQiMUYPsGTu4qcp2fnv68xSG+2jtzxDaA4PV2nERs+od8MpqJFQEJDz z/BlxYfs8pCBdC2EqfV7znQA8gsh6aT1aBKJEbRqqL7f60zy1k9BT+loA/dHval4 HwxCjdqBeBz1eB+8m2qgsESQbIkGiqPY/UHDNNuRHOpuGt4zNnIYAzqQVz3Ofgb/ wUKF/0PhXy1elAK9yHr22Zb9YjgYCzsUQxL2UIX2+s754YER+YQqFyckyZzXCGKm +IwzhWmcBVkSwy9hlsxUm7BCuM5mN2xwU95WxDJkgRKOfCR7zX5/eiCJQIE/Qgvr q5z6r4xIOw/IblDa2uaHLwv47zMUImpyA9kpl1Oaih8shHd8CgMrT6W16izWL0Yf idF9ByPwrmoN/bjoL0SYpEt9YhcXuNwrDDdnMG+TjTbt4JvLOfgpupw6f7h7Ridv yBOSELsCr8J/s2C2hIGVffVuQgdwKJT02tCqlOeJAhwEEAEKAAYFAkyV1JwACgkQ 0hzSI+6ODdVDjxAApyHe/t/pbkxYC6h01ECYpfgVn5Z5eXZhHlcwDHsE8rcUOqTs UrEwO/SkKN8ZKlD1NAZ8NTRRml2B/y+/Gkrjtql7QYD81J33JRPII/hGYU4Mj9u1 NRpkPaKUpbZFib6ffq2iugOgAkw1lF5h4eJ0WnwokNfKHp2sPHH4N+9igOxWHaXp MiNAHDAsvMOuvdOEsGhVB/1aZFaTOPzD7jfdbEKWFokSoJSTp0tp4BTut7A8eOo+ 1lrnc/nvEgnTrTWQXMwKWnrGjD6gYjoldN8pdezmPesivZwr5qgIyQVejGD5bIan 9gvMf61JAYe7iJwBJ2nz/+ixMEHODMYqaa685tYqdtQLnisXu9Dql2wnvgFEgr8n ij0aTh2GQF0hnyKyzQuOSe43++OxJOTC2gMYpSEPEAHnmZjij/2ik5iqYHMJtN+9 U5orarxu/dFGJBvIhyhoWVOtKX+8beeZxqodEijDpdF57Q5xa5SPyojzhBIBtECg 96wBd/AWkWXZfJHBsoVfV4gu2r/i/dN4jFyu7mfg9Dw1B7d8isEAPes3xpI5L1q/ 073WD+lYTXyJ9NdYgfTx9B/Ha9AUujc+Qx/CIM2fvgDkfC852jSNkac+l+sGLQS4 vdD8110DWLMniVBOZsmuun0Anx/auAsVqDisxJPDszOnnWWfZNVZSlqBDZSJBBwE EAEIAAYFAkyVIkUACgkQiq+I1thOQa7Mdh/+KGE06nLPiCOXXjZ0LpadQorlpCiK DEykoMLsqUT+RxpMvENlPAOUhUhFgcKReStYZk/sO+KK19NDBoU3LCeEs7qdS1ZF 385Rgf44Ki7n5szQDW8kGY/ycY7b8wAyNiGv20hehtpEsQOlSsKOkySngBf9zCqL WcnKQF/NmxTpf/7XzHrYrrRD/KqwlbvBO3emXxnh4gekzB0vcWg9Td/G2UABXoy1 RrraE7lJyx189yxVxmbHGu4fqLErAW9rgq/KzCFSBTDoX0iAyIb+pu64OYxDYzP9 3AdqtZE0o1Ikwoes5T+Tef5ZdYH0aOE9GfuRNLeFNI469pXPCIj7LiJ+Y6dCBvkj JqAHTukIc4ZgpEqRhdNQpe4UyjWv22e2lGqoEU5DlGK4KfrncCO7N5CdItotAAKD H7hIKYlh3rq6MZsKEfWZG0CFLUA0rIH0WIF65AkJm1fZm3ENjHAXH7WT9LiJ/1Iu W/lhiAOzWiq5QS3yeQFYIVSICuhL+Yv9hL3YWfj7sl98gPEUazTzQVRq9cfWmuYQ WNY0uLAu7Wmq775NCKw7FGIKIR+TTiJVRJUPXWCI2DJDbFfTdQIjhFDCEkA4Xiiz Y3Otl5qK0yuiPMk6TKaRmdzRAYe1HMc9priR4m1WWusrOKa4MEhrAFy6LC+j4vB9 I6WYpTPwfRPW7vMH+ri3OaO5y6MFR5A45/BYJ2CtOzUu1dbEWW5XN1jW774WDqFm mSS0f4gNw0shcsnFiGyOGqRWEzPJHu1d1w5arhshlUKQAP3NC7sbeKu2knHFBmt6 EB4iJsvcTjlA0VkXZpdCbIhn/jgkSkuWZUG7XwmuP9XitJlzBm7kI2tC9Zqo64s2 y9bIFwTcIXJicpLUXxhQhThP1JTyTYoUa4J1t50giXlG52q+CNWVUBJw2qdTjST8 fxdCQnOVVO6J7Dl+IIzQlaA5xj1NtmCMUpe0K9uaRM2CMFoDuabkUXgInG/cTnoe YQBdSBu6WB5VSOZWR+9DZkaMz+PrydwPOu0uZjvUVWUsNIF9Fh5JtmkE8yKkAvE5 HAneyG/38k0wd5XwFB5+2FjrhkCaSX3DLZLWxUfmAh9WMYWg4ogANpYpQrGhu7S9 CBpuUzQHZcvPkBW1T6NV5dcIPX30mKYjGi2UhK2UzsrPN9KIIqQHtZ/ErX3dkb28 RgqQymsuVdzNiGaNDNKM7H7qHfLrF8pdokG9XjpZIVx7j0qZ7HgRfvTiurgQzBxr Qnf5j6mdy5NvGdzPd+xlpSl5MF6VSOsIAMy/PEmC75H+YKsKW3tGbQunI6SsUMO5 k5Y6lGHU1Hf9f0XfOjIRlBZE2drIF2RBSw+KeiwNa9A6/rM9SwzsHm3MarQoUGlk c3RlciAoQnVzaW5lc3MpIDxwaWRAbmV1dHJhbGdyZXkubmV0PokCNQQTAQoAHwUC S8WJbQIbAwULCQgHAwUVCgkICwMWAgMCHgECF4AACgkQC2YgUGJZCAimBA/9HTco GT2XfjH681s7gUJr74noB0hn0Eq7vnx5WCy/j+SVsp0FBR/u4I5lg3YiYi5sAkhj v4oSfa5Yp+gd1jhOsIn3Ep+pq+Lkqj27CR9RWlGVrhP8Gek/Mdazc9qB0UPOWGVs B/tfXQKaCXasfMO8qe+PstAjOIJm1ZX1tQ9HftZW8n13eZdUuIglqacJTgY4wL/T 6mtxg1JRYQMOqk7frxnykD2iUxdbuwPPoZswWu43B488oMoldA+KEUH2AzkV8UDz P8tfzGeQ2XGoJZoo6OYZR2XSYjodiy3vPX/DAEQf3Yu79SKsJmZaSh0jH5RJ6ONc UnYx4vORQy1euOwixGOSBPhQALF7RF5C7rR8xl05Y+Lwvlg3k7ddJU5vovgCSMfE Tj9CcMBk+0CPUb/6vFulOXaXwaGA9o2cQ5sQif37zKn4BAXgXaKmI2yXQ7DWEwe1 gN3cn5RgKEoRa0gbab/MrWKvhFcnbPWb4vsWHTyGaPUUisoaEjXP7v05kHEC0lbb TEKazul+WZOPCq/zJJDni77k8y/SNZzDjn3uSO08Anw/E94I8jveIbN58hhz4UDb B3r8lPiQjVTuXReqv3d/Ear40wlQI0HZN/13sYPk4nwK695i/6v/Qkl8bYKpdy9i SO7YBxnkT3mVBe3QgqXRiYb3VkRZGKzIjuHWwn2JAhwEEwECAAYFAkxZOTkACgkQ EMAcWi9gWefiNBAAzFoTywQX/gqUsa94fEpUm7waeOIPIYaoFQiE2x8JqoFP2gUI ErZluHFrlNgYrIfDH1wHpJk8/xOj/QG51OwSg60yLIZcKBGhuTtI6sist2KP08xN dFJrZMnUjJSQE9P0HhRFnF53kCPYT+soGefEzEnVF72uPisEQLggYvWRNwxcWWXr NcKbm5djU1J0GShnokLvO44w6QjgrCFJozpIKhaprwuoKQCS4fUJOdatnqlRXMLD uhhqAwl3ATFIgAW0xIGNpLTmZq/f5wlal88EhZCqdsfXiAAV1f6QjkKYIslhoX5J KizvwR8dV2sz1QEkrh1J1OvLX1C9i/sp6Dti79I3SMg9UWRIsi9mKtclfo1RclT1 7qdQx/1oOJiPW9rocutMUaNlIAITT7wjq0ApAOaTpbuzgZxh4RNZfxxD420vNohM 6EcEZBzKqOMhWhrWrwK7RQ40rLkDSUClKt7a4693cDoGjpAvw9qVEpuqkK1V1acS bzohNKBQ0b8q/4gzKrZ6XWR1clv566FJV0ex1FMuwbiZk5/+o/r4d61CuP3LYuYH wjG58E7LCjhTWhsV813EKjtdV7Uv0kWDHxtEB+rPen/iVvISNdW3iOP/4fXIQuL5 K597QCU2fAEAmzMHIUkXKRZaApPAk0cF0l3vuBLNxNgsaKTb5+vvtOi7zeSJAiAE EAECAAoFAkvFlh0DBQF4AAoJEK1e27eT7FfkqSUQAM62wwslCZ7QczGENPPd25H+ QgWO7enuMTDtRo8Z0HtC9TvZeD6qcJC/uTabU2WkFled4PI0Cy4xSR68kbs/YC/Z ZgYJ+snzerIC4l+F+SxqW1XdHFbpQ0GqauLH3mv7CJ4kydUff6J1QL++5z9zfshh o1Iqi6ZBs/So0tDNZFYDxTm3uNDd56Pj4xh5X8GqlOMCxpQZJXj3BXMtNxt5YVnp Knrl4Q9025G3dKLlVRhVd8j52klN8rMbs1AUI4N5lSJf3LO21n+7FH6qHQz8zc/U cLj1ReRLdlfyB/GbtQJFDRTQQ+eYepYph34cuQVJOcQ94h0/ppVMK0rRF4fKeSl9 YO/pZ/vq8NFBBQZP58gn9lf6KaVkg2Hsj/kQPId3nbkrexK8tFpexeGltyuZsBIq X6RfNvb8AysZFJps7itWujYxaJn4A/2zlvQCGdTCAjWQXejYM0JL0MyrJXDWX3jh WuuWHkBgANvKgc+CtODEq+i31I28baIkd0+Jcd67RiMsZWA8kEGx8LrotShEhbhw S+2p2HqCDGdRqTQJVGGfovlKN6L+fna+SbWTzuarkuZmKQ5Q/EMaYDss/r0ilBip Hs3UEQIxH+lOLRj1OrMR3RWa/IBCf2sFj35ggvo9otEi7zh2M8l48eZHlOj+XzNf 6XatmW9h0NJ96JmDU4l0iQI1BBMBCgAfBQJLxYBUAhsDBQsJCAcDBRUKCQgLAxYC AwIeAQIXgAAKCRALZiBQYlkICDyWD/9Mq0cpCBD5hk8+3VcP/mD3LHsvuTcDWMwR NOiqUZpNrBhk1XSdBEcbDNYu6cLbr6uE67lQqMGMpheIYq3+RkmclybWuuIsuX2e f88AXX9J+jE+GQc0DxrCiZmsspd8xHRzbQVrz+T5tKRBpZIjI7v4i5qlMJCuZN+I KsRiZkq4QGx5kMjnYi83kqu/x0qwnmW30vOmz+OMCaZ5E2qGZSklFJgwl1F+3reP MnTVdG+2dAosre1KBrdluglmYYVMHPyBvGggqlPfgtKa0NPUfj6XWH8f0z6yjpYz Lo9v+anvwqOlCioJ0Re7dY4+bfinajqci7f81WE2yfQUPKl647pPFZHNxVZLBlkd /a5yM6e30BQC6LGT+3XTJi2nKTpZ97K0VGiQnIzGpJzOHZDeu6iR75sXjqRLk/6K nrQq4W4dTzq4bAxvh08IDKwSDvMzSotN2OVoPAQBK4vq65ymXIh8WGLvbmqsNHz2 hsjNAZjv9sWBu+qlpcFXXJVk0gZc6O2bLUXH9Td5pn9siEdqH5iZc0qz1dA/JXMw VfILKkeX35J61id5aMkCdibmYcnNYw4w6B5cLApiyiAJGjGJ/d6EnBukFqouivP/ BD2pdlqyL4b+lOhyTU7RChuJg85hNP5yWOdfv7c1wqbWxRscvyq3YQYRpxP2YbBx nc6XgJdlUohGBBARAgAGBQJMldGRAAoJEB5ue/FcGPhU8/QAn3z/6+v2m0GTBICM pDT+Gix/mRVtAJ9YG15wEeY2bYRQUokx6plNijuMeIkCHAQQAQIABgUCTJU8KAAK CRBhO7EmgFA5DJerEACV+Xw1jFsbtV0Ljm5o6se+izGQZjdlDBZr9GfltAZ1o/nY xUvCGR5uG6/lJP4TYX7OgD79EEgrQMFfxIRZZOuGPTUtOG+BLuIUOWNGUJ2cqgOG 33dINQyuMNPRqb6e7AtJSTSU+p9Am3soLP8ynCzk2OwiSxqPtRKA/jYNsz9M0MaY EPYUhfv1RA4GKP8qjvd8TynpHLQfYw48Qhm4UzyeCzrTyT2RuQ1cymb6hNFEw/qz Vm7VbzKdrgp6WIonaHkxmULpRwjtoIwfHQeZnqvBkvPyKoKfq6kcovdE+9fewLbi yKFZvCiH8+EGcVzZTugCQKB/kJ4mU1ywXkuaqq+y2ojtGXmrUF4jYKZqgTfI4LPB rXAjzZLW5XdUmgL4W1tS7ssZRSy8IWdoNdjnD7teXLSsWZu0atRAHGN5z6PT0c51 MYgqdojk4rPAT4gaU/h0ENRXnwCZPWP56HVU6Pi6/6SeA2SCKwYB2ykB0zucASvQ EijSL0WZ/T+di9whSmmRfQvC32Agce5S7T/zyRDBc8dF6nd9y+0ONRrqkU2T5uOc kaivdCLZor90TaqdNmGsxi40c/GLjU8xCRwdG7ef2b0zCBR0MwW5qBUqxVvFRXaW lq7o3J44DQfLBASUpkG+z/JMoJjUaM6SGsUTWZEBKhUOS+AaMO2lSmPRBp52/4kC HAQQAQoABgUCTJXUnAAKCRDSHNIj7o4N1Qh/D/oDkIycbImnbbI60U6hh1t8Acjz NQMsosvlHS0cP6T2XVXBDtJkHm5KcCYNGkXFHL+prpyyMzVKYyNB1Dus+S0mIVNZ AAahORpOrYeFoMSrzvYkDMwRboyfe2jv/YDfxXr+p9N3hR3MJTZgnCk0L+K49leP x92Fs6S2cVYL2Hx4JMHYdshetWXzmTHIMHJFLr8gPLzsmMUt1rJvSrSeA8c985re olBvKUmN6a07XDDG99CVj7/dHjXiC/bb5ng4tON6cRL9NCKRlaLuhBZfjjP2nS/C 5wZ9JoaktmxnibMUItPozIJO148FTDsWnoP4FR0K9HX+v0lmGIQBnlvjifpkFzm7 ObkD1iID3yJVv8tzeUePDVFgyl2UfD7bDCcZucjBLaLK9zZ00G748T57SZ8m6wuz urjlvVT1xdDlf2rwz/NOySxOAPiDd4kscAWCWSszAvd5LI5o58Epc3YdlJnbUpNT EB/pY17Zbsja30ub+BRXOebdV4kr4QV+RMsQOE1cZSUbWcWs+N/Aa+G867xeJgfX Zs55Q0FzaOJAFURwH5Az75/8sniYHliM1F1TDlgtFvU+MxSBhq+D+lm9lmjGQZAY LxDgQyaDFuchsR05j+xNZwalDv0IJ4Q/5iNVeT2qY2si4vUMIZ8o8BCE6C/rIyJ0 cSgTbYSQf944s2Lra4kEHAQQAQgABgUCTJUiRQAKCRCKr4jW2E5BrrPkH/9pQ52a Q+zaqWMF/wQlQTEZwWUtk6n//s6fKmIhuA1a9te04KSJ+49KeNzxT6GP3Po6y0KG GXtBO0Xdy7MS4hhuuyMN6oUoDMHjPZdpCf9IjW1rN9h2liB/CwxwsImT+HHlysJ5 i0xxrvpqzFmK2IbkhIsS3D31mxsETCzlUxZTZAKWoZ9bv/wHcGJGujNTXT61+Nny oupb2nd8oGbN26Y3co9VcDT76oywToLaluPKHzacfKkBLmy/E1HoI9zC9LmILvit SoOJO/824Tx1cXnsx+t5rXjsZeGjwSzof6uBpA6ETuoVVR4Q4BOtgR+r8y/z+ree kkFxfUNLc4x2eA1P6lS03z4pvpP5kBtoWxfWWzR6aKqWqP85vUeYA0MYEhx3b+OD NKU5KgdI6qugdwenJthGvkiRzO8eQIeNtMxJL/+ZsvDIeOnAiS4/m/xgWFW26eyN X3Of2yaR1UsbFz9Cz1vrABPtMd0HkA0BentDd3b2y18xsq4p3SyADT8Lt/TizX/H TPOVuu6FWVFPLpubm5fKrXkzXEfN0uZkrPo35UYJY8uKWieUiKH2ILT+64RM/vFw I84Yh+VeZy5+5XsO0vSG6kuoGF/Jj1v7ymj0ng3a1IaIpxp4Fl1ssC/4wdayIFpS DNDKSvhia7RUSVjgNMhXEJqxjrzD5PiE9LgxKeln+6PrkVZOxUWcDtAJcjwVcAV5 pgzsMDHW8liyW8AHHCFTIYW2Dpcd+3CmHCAfKPAtFzxr1U9MPmjxyTiy8JSf9138 dx7LWOBMPlyNuIBXG2yGq8ZOTHPvbxPD5JVf+RJEl7avy+fEewBa9gtL7K76W4VS 9d6xd2j/7L4VRIop/3Q1BCm6inZrXfFVwvpCMm4vWUNFXJ5dmgV0vvYzqcrYFdrk 5H68eMm9hCvaYGq4R/eO3ceat2MuiugKhNkUesKpZ7suHT8aP6WzTyMv9PU+lYcF ZDNrEHVaDsmod7S0hSAJ2BdRPZEQZYDTVpTe5E28T7QJk0B+Wx26x6JWhElRwNdA RiRcdyWJOoJi2SG4rff/mTtpakqakJMl2zYK7rGjWty20M/rDLaDTD40VvbGgsfx yvFNZgMZGAJwX4FivFvWGU6hq3t05QzbxskUWBbbizpaIeEKlv9oKQPy0MN0Z6uz lm85BdQdcMz8ywgzv3c3fEv5pq/nAJ6RyQ39N5yurZQpyDAW5NSAcIVwR1YO2oDL PVLVxmBlx0yMEzmMl+/umhY3UZt9yyoL2AJ6Yyp0f7pK2rH5id2y6aRDLbgMZxVO CPTdrG55a9t79PM+h/S/WL+lL6+6peMuBrYIZnzk11xgs59XKP+s4bOe8mtppFeM 2pqo1SBVdXVlEwnntBxQaWRzdGVyIDxwaWRzdGVyQGFwYWNoZS5vcmc+iQI1BBMB CgAfBQJME0utAhsDBQsJCAcDBRUKCQgLAxYCAwIeAQIXgAAKCRALZiBQYlkICHA/ EACALs3ddM7hjgsYta5lk03nGGW/QnNUc1p2tdjyNhZ4hWKp3ED5ZJD/pYZ2YGd+ habL9WSbsz/265orYokeXsHQFXn4XR6mabO2PnEKetEU9ZgGd5lEd5Av03kq9pHx vwZxYxg/+fQUT90LzrGDW3Adeh3iAKhqbdF6y/nYUsiBXg9iDqQJU5kRyj+1iqhF HHSH4mFrUL9F5OOxy9/NfRI5yj5tRHtUaThuQ8Vf19319O15zQHqoMBW1CtXkBql GZr2rGXizzmQxUCBCuVQjh5v/89E+SX7nTycESDUTXrA74SuRrxdMUFSDFdXEIy/ dIYMWqFHrYvVphco4YKUBzN4ytLXYXEQZvevx5SLdHW29mahhCEXOvVek7J7sXmR bU6BO37mR7BGTDjeDu7Ecl8BMNknhEKzwHrcLEmGsxreL5m40JWJECaXX38AI4/e MROz6llLVpr19Wu7Xe5kQrh7wlGKk0aCnfV1RJu3bvUtpf0gabYjPrlc1ew5uoGF AdUDkUrQwINfIOUsxVe+E3NEk7302LJHStGa5VyAmieJWuWk7aF5UmzDAOHmsl5A 3YdnEtdq+NsnmUIUtUDzrXTsiMe1UtiT3yXfU/uziJs5mzJyDzK/bvDn/zw/ZeTH 7jZ7l2umsCFkypJlzk48ODiMQR4EkjoCN6n8JcLNsNDwHYkCHAQTAQIABgUCTFk5 OQAKCRAQwBxaL2BZ54adD/9DA5l3Vb8dbWDj+mKn0Ry4tQWvfOqUKD4G+WCOQYS5 SMpGlkpaNO4EQeb3tZFMdu+RXiBZmoRnDEqMkceoXRyFfkPYc6HDm8s6Duune7DQ YJb3XcMSynS+5unHjrKcgA61v1hsdjUQ9OTLmwRXzWdOnsv7bWWrUcPUlph7xGk4 uXCrGdoCZFzF+2YL8BiJYlUjrLCru9BIjXwagqkBeciv5J2YbjSvLQtC1hCHsq2t /QQjODYj/HigCF544K/qg8cUjhry6gvJfWAkDuy5fstoaUf5Ezl8JSBiEuyNuYIR KSiaDbXiZEpqQ4uDccdLH+z9/AhTO9FCe14frHpN1u9D2yYo3EAsEmwpUVyV3zfU RqcoDLZ1R/WdLzKrskdKvVhD0vc9N4AjYIKfqBy9tQQH0Lni7oY+OYLx3Pgi4dfS RC0qi2TfwvrBYXkGF2XBFpHSDgOXMMgnJ5WTftS51UUUwa9Cy2XKrnXscq+z9YL9 fDhZmb+/NuW+PYs4YkQtqsFUM51JpOZtERcpgpuMpuKDbEG2x5o6ccsNNqtYrpfC agUD6Ere8vXh88vcvjflfvZmV27DuY5L+xUZsIqq24A4Oa2y12kIzHvLbH6nSF9N WflvEfyE6I50S1g9/1KH2NiT/Dph5/vX3U4HHFc7Q6wBPmcPG/Br/LRNaJMpKubS /IhGBBARAgAGBQJMldGRAAoJEB5ue/FcGPhUVx4AoOVq3JsoPPGFXxv6WUodBw3Q FeM3AJ9PrLupWJPeTDCu/AJCaHs7Do8XdIkCHAQQAQIABgUCTJU8KAAKCRBhO7Em gFA5DKCgD/oCO7hApEgW74PiSOC+YVinlF3W4qUttuSBJKXnGoY5IlnIbevR0+m+ o7QNQeJDhJV4MH3T1LtRUTDygF5YQAp3UknDZ4u8TIjQLyJhkABZ7xNMqVasa8cM mX8RLkiwjU2fTvuckFwTORifzh1eMbLLIVS4vCqz26X5NTLCQyFfl4g54f1JwYlj 5TC1k6XoXSo3BX6v3f9wRlD5gBXwRnx4T4QRHy97AwrdISkchAn/UA4tCwWNV0IY C5EnukLBLyOk7n5XKGGf9Pm8gBbWmsh6Cg6xKBBSnCwLt5DPzchmuBO3OScA72Hu jaio9ZlRCllBEu1Iz5qsTUlU6TfzycAgzR50fUXS2vJR8/k7wS7GzqS4oM+22hUf X4gy+eKyzRZqicg2Buw2FmzRyxHxb4dwlp7O9ffhNu6TXmilmliLbGbuYW7q9NGC eolQA70ljwaHh2x58SYGM9SYfvkh/RWL3aevcEXnEvTN2rnBRp6Z+D/3LswxTqEr EAu3c5ro7EEn/JMAa0g+SDciTasAmhx2eN1NBIigxHEeJo0NOLg8pucmWOUZnP7C V9AtSeMm7WJWLNvQN8R1of2WVRdXUI3fDW2NrEqdaW1fLno3fHyLLD+WDY44b4FT txCwP4w1aQJ0KDL7U8jDEJpqEqqtGcmFvbIvEPzR+35ppM9yYY9PYIkCHAQQAQoA BgUCTJXUnAAKCRDSHNIj7o4N1bJSEACtCKq3Go7TenalQiyPTR50OaWUopvUrhyv jvLAvNnmAh4XalbibGXbt1HcAxVsgAhQChEX+6rGphONYWASggNqDwAQtVIT6xgt 8zLjNIBh4KKHJhPKWS0/59yTBh9cvAOnHe+qo+yPgTgkPocTgyzGdZVXOMIKPoA4 taEOjHkSVjHmhz1NE8MxSl2D3Ly4kdpPUvcbqXGZSxB9P+RIqjTykBZVIljKtcFH sVbCJRY5L7XnzEqP6vSC2wLeO108DKCdA9h+dH6RT3l++NMRdet/ZJgnhEUpQ9ln DqVnXAZ52kMwiyPqsKpZQYZF7iCwfsQ/CaZmLogRbXSnTr73VbpzQfkRIhHZzHTW yUlllaYBQZfUA/c1MLt+JeNwqKCrICBhv2h+pGLMQrWECMmrnRAeupLFQi6eNfn5 /wyPYVSnbQv/cj0hbBh2r6JYZq36k3U1jpjMJXjeQ4artWILdB5JZ5O68PPVGmnP DZyZOtDT6rNQSl4cPxyny59N3G6fceHJzmAb61Yt8Y1nk773z0Vh5Ie+W51/AHK6 U4P4r9/WqgVuW/g1foT2oupF5HDfsaBvI3/bNnwMIhIxHg7/SC/bT8BDmPoSutlZ WKyl3NXCFcaNqxu/aJmZfzB9KxRY85mkLa1IoKMixMrE6qrWXt2D/mvxDwGd1x1Y +xHFHaYOlIkEHAQQAQgABgUCTJUiRQAKCRCKr4jW2E5BrksoH/0azGeZx8B9n4Xq 9Trs6AXROROiWsSrnezZXBQHBiB5bqqWZ5CYcTmxsBF8GCNgpiClAXPT44TwClOe yTsZDUaCVQpfKizeIdtGPYE6/JaDZbJ3RsqEEFF98HvGjCA+TQuTJzKznR7JkR7/ btsFpfx/KdHJj3TFgcoQ1Hy1Ia8X1V55Qyr+A/+sS0MsliwtEtnD4yaa1ecz2iQU jaxGnRjtN9iIaj1YCH28PpXUXBoraqPdvK76D2BTnP2wfY3EDGpV4f0XCDfqj/xk TWlgpqn3h8lLOg3+T8zM1QgKyzHRtixeWcR0OKJv5vUC4ojXQ0q3ChItwuS98A2A iPqVP7Ul9cPr1yayQmuXZP0QJiYmiplOLU7suCNT8J7kNgiluX8TpEWi0XPUMcUD eDcTs6dlYVmM6wsSltzXhUqerBjfGyLl0VPySlFFw/AiPgwo5M0Za20fOXMfm6uz sfMY6YarjpDNo/BaNT6oizNgw5L/Ai1wNCMNejV9aqS5WY1izUkej3j19MuxVkHB erjQ/ex2jUcrHE5w8Wk/FCB20l3WjV8qj79+47jWNAmjM0aSYR1bKznoJC4VJWD7 1bdglGxIkPakbEuyI5KUfK78hob4k/n0aUHnF38vnBKHrVhYiHM8+RHdl5ejugQt RrINvpHp6BwnlvrODhGVBR8Iws7TU3lZIfVv2wyHHJ1qqQOed0/4Bs30qb+43Uzp N/vLumF6wtILJeWyNHg8MIWbS32131NWVmVSmsLsphX1WIeA43chlpIDHr7c3OXp tWZO8uOsGku7gRKbzs8C55xtgXKLFe05cBFpePGz5+6z6rN1QtrajkD2zEA7kPHN pj/vqIzPw1uBFaU/PHpHvXu8ZVSoWA8odrH615z6xgtgfss7QYyS/fas5xxfkiSV LM8m1LF1tC8Gjf+fph139upEsUeHkR2bkebhj+rLJIkVkYxrPsL7hsppqm45s7g0 HIdOkh30zBh3ZFxPhS/rKN4XCwrfxFyCnr0YKuDr6vIvipCro6NXAyNgjcBAMKxv 8hVaS2YBD4ZRzrsSNrKdG4QYZci7UBDbFuMZJ7jE5z13TiFDxeke6AIDAe0AdW22 hNdoopfe3baBUlmYc9cpGY3Bf7eeHqpmw1A9kdXLdgAXtARbnJnl76atvmIUbVQo 6gjE1m8RfmhcbjcTKvRqFY2AGlAhAsgxV9HLCZS3+HXWXIMjGGE3/KW8VKI+bH6A 6PIPew9tdUkkfnu3u4Tdsh2K/F8azLxbM1QW9lpUQAu2he2ocCkcDbfftHzpqksZ vynIamR44gs87NTp5bN5YO+Zeu/tOv+g86OnR1WzT1K/cXVGPWFgS0vmLVm5UVnU Q4KsPs5etDJQaWRzdGVyIChJJ20gdGFsbGVyIHRoYW4gSSBsb29rKSA8cGlkQHBp ZHN0ZXIuY29tPokCHAQTAQIABgUCTFk5OQAKCRAQwBxaL2BZ5+o0D/4rPcQeJCbL SIQICuba9FfGID8NbR1o8AZeXlshdh4zd9PrUj3zkomeDa0H5uNFdbECzxfE1vkq /cYqUAPQK9lRPKhwFanNAsz1/4VHXqcC/mTO6VX8hmWzRqm2f46pRPeA90kn+hUv yhRXy2VdETOyt2VPQ2rdE/mQNuWrls8XQ2x+zRDSwCdM4vzlmBlqD6zx7ESibhxE TfsYIU+b9DsRTAyyoE3fTCRd1hHILmb0pliT+uMTVsLFsIGkiPkQbVK2A0K4rWRn YnEcHuPxDcCcn93meAcXqCF6jCa3/BbSxqbRxnVRakXo2/FJ6bWB71HuJJoluZPt G7M0Qgj7eINKx8+EqCyqAAntOJb9X5P9VadEUG3dbdvB+RRasxByf5dGyUU1yUkJ yIbJqvER4rQp1CCXQskuIQ+NhJRekXCLdwUnEK94umqQRc+7mauSeudkfPWv7P2Q oikrX2ht8UJa8i4ySv1SkdKJAvpObHH4qFJh3m9kegUc1NETKkvHtTfzuqrV781E yawkUXD/cMM30F20Wae/ECxg3Tgt2QCYOclTbEmG/VQIawn1s1TQ+eoBABMHziy4 3TzC9p9FPAN6v/uaMOlnZc8vrxCSWTwLcFgdYZuOWKG6Gh5ceLkpuaZt373ZLnwF o39GtVt4mt5N3HVS60v66rO44qvhbRSATYkCIAQQAQIACgUCS8WWGAMFAXgACgkQ rV7bt5PsV+S0/A//RlBktihHSufSg0UKRyiDAxdZEKXTgRB1SzqIP+8c46JBV6rd orbE4FeND2k0V9sP3G9ziuc3lHMPsSF6VYvIpgQaDqsXT4sxx7My2DXZAKyvqIze ElSikuRfsEfodE13G3VZJj2ZfqTqqTc2tjF2vWYeposxLQVbqvwq9fEdcTyjwB+I Vd8APe7Elg6hiRYsd5TfzWhTLoYtJRWDAMnVZcUHmuC8jftduJfmppzK0yUYLOCp G2DsJnLjuSI8nCDTzORMdaTAD2zjxWwtdDe4g/HpLxYenF2Mj1LIYU50g8iuaWNV vifFoTq+yh6eEWokoUmh+53YjRWVvCg3WJ+ixCNB/piTbRznfZ9fxnO+9ZxUwh0m 4AWVUlap4VMp/evWJX98Gyg/6CvvAzhFYhnuOAMX99BaSG34nn6EH/UI2hE/SeNo qzrRcOA6Tm8fP7A82IRZWMthlDAlMkO6G0ahzIK+2tXh0JL5G1e+CSLCcxSOnFV5 uBaf6Yd1hhDEh8Dmmso/SPswUUHQxfy97L+4PaUrd0POtedEcVxorQTNApRa4XRU cX1jtGQ5u+Y2wE/URkEqoyPZ1tTREUqcU4jd5rgr6rfD+3xPSjMWhbn+elIp6MAj 1zwSSILdxwuKrGCc17w8S8oNL0xO+iNK4TSNXBD32U9LrMm7COUTXzY6GU2JAjUE EwEKAB8FAkvFft8CGwMFCwkIBwMFFQoJCAsDFgIDAh4BAheAAAoJEAtmIFBiWQgI Tc0P/iJ0w1rEYWYc8Gpi9EcyvesyP8oSFFk9iAbAFQGNK0TrApYa4BLg4s/qHY5S 8XGaJcwUEPni7G50+Wc3H2/QUpV2kJsPjqbGJxngfMwVAWY3QAFX5qdnAL8elJWE vGXJFcHvDxuAxMtPAzHmNqMqzTHvwpH4oNk4mRqfLW9VBcqIMd690+SSV29wax+S sUeSSVKZY2nZ8y8ycDVtgGadIV8qdGBA5R4UkLCojetysoajJALjo+3yb9XGZXox tN6jITucWIyta6EWuWf/ErI/RH3XGd6qMKMMcXiJhzxHAl0j1RDsIxXpal263OIi QGotBiNLP91aDR6vu8Il0FUNi5GeS9qEm/GWiBPXSDdTnyZOy3/A629F4cbVnSWd 6AVDzxj3JozBCsYOGu4EpQZvyspXUWnYXXa3gEe9QNaWi47mlLTNhHC5DseF9l25 4W6m15Sk9lGRzjXJSp0RU4ucJOm+S89KOsDvCiqD+++xea9rEGXsJjGRh4DlGO+h mMvuW4NOV77zdFArvsnmJ8GssEUVdSvxo2wlQsYiEg9By9qqznth82JCHl82D4Rj iGjTLJAkt/kPrbHCqDdJDTRFWVlAmqXKo0rzV47kdV5QzDOdw+e6FHlO18g1vmvQ QWLVx8seFzKvuvl91j0CVQSZKC1Pc4i0wKYgAvmRPNZYb/z0iQI4BBMBCgAiAhsD BQsJCAcDBRUKCQgLAxYCAwIeAQIXgAUCS8WIxQIZAQAKCRALZiBQYlkICK1gEACX NiXa1ctofMvjGHkyajyt45HdbkSpvcEZG6uZCkninKVUFxYhsCCJ0UMYKlOS8TFY HqeorHhuNkJsKdFAuxFHHrSdUTbI81KVXZ84YDYyYx57pvjtd0uPPan8XQP3dKMW xI7A72vv7JYERLONHqAN4kPVdkOs5BDN2xT9DoQF51vGu9kLHpOKBlukn2Nvozm9 f8v/tQXiMoT+l7WKG3wKBEbmxz6iLklvVwwCiNt2tgqsgGjhAiHPak0Ab4UoKPYu yc8B1BNhojs6G1+UZxCXdp75GAKV29ULjPA70vC/WzOhu8EJ/A4LODsWZJLqQoKt sm8n7uhbrrlQzmOvk40LXBiQVe56DW1sWQoopuOfm0LJtuAnWjiIRNwjyQ2eqIxL OUCVpQEU9m2ufOpY3J3lhehhHeDCCRGh/7oIyVls1M9flmElGeVKPThagG5iv7EQ tuSCOE9LAJeOE20YiNbZk6EzWFY1RjXDvJptEsU+k9WRimy4LBZyMKaRTxfA6O6G TJsGmNirA30dmE/TsYYIFj99O363d2EWE2aGO32ETQcbikYFFfT4f/jY8DpktTSv 6iB/ODlQ2iRXYf5bPBWJ3b4mUpzm7uByxNOBT7QC3v9Ff97NGaMssWF8rX3us/yk ti439jF8jPp7Zjd95IEwLNAroe3DaAsJE0E73+2dwYhGBBARAgAGBQJMldGRAAoJ EB5ue/FcGPhUaBsAn3n2NUiF3ELrIAWnYboJM6znJRAjAJ96oMAx+IZM2GdmwiXO jXtUE0cs/IkCHAQQAQIABgUCTJU8KAAKCRBhO7EmgFA5DJYAD/wJy6ksZt+PT0eL /fPQEzODpBEiq5/6zLgLBUZClMKkteBZjntOcSpgoBndDPlf2nyS3mDwimPk5pnF cOi2IsD25dBkF3AMFND9diN+hk2Po2SZmV0Ib3Q72s5Q4YE4weIvgral2KGkfd7j JJfrIqiCYp+6VH8Otg2jjXbLZzEIrhD0T6+88fWm1SaC/1mDXhGkrIm8XAJeG2Q4 OI4V6AdH2TsrAXN8CKdYpQx8WH1tGDOISFSHahGgVvj4+Msyr60K7OHJwYOqavfy /wjEIkFGEcl+fBe286bV7Yxqj7VZUcxd98qloolhi0IuCV985xoEZrf7mCoOs+2T 6B/hO1Sk2dimh4zuhsM5uzYkOMMNU7g3J43K6RyVgbn0Iil3ZeXPcnWanKKfnq0w oLQHutrEWG6gSSrujCqvEbctiCCmC74Wf2BkB2p7DegQlh7a1s4+W72aLs4CVLGJ dzAZ1wEE9ik2qZ7Cy+m7C7uxQMSTy847hhVRZnHu/d0TDCYpoBemK3B0jb2xtEMp FIQ9V1a88FI+V7yyQQcdx/7JELYvqnhgnwGfQ3zUneSMLYGPdw4OzPsn4srOVODd 6duuv1Z/HmKon0MqjFpOwjN7mWA+cLhDTBLd2cCfIA1vrjtiwVQEze72qSY/BPSU XbYIriXNCt2Y6vABwKBGHDH52rhSlIkCHAQQAQoABgUCTJXUnAAKCRDSHNIj7o4N 1Q7nEADqyRodhe27LE17z+7B+wSeIoCg+JyD+CtmS2sEGsDr5nqjJPniwCPXT8b1 znYB5vhXQDO6bMosZGkGfgQlDaFscxbs6aVsUh+7KW1ccN87LNH/8mpFaKlqiPYr ABe2ns75o8jLSN0FOAx97nj+dFFB7P1Brz8DeIUWURrsPGjj3ElbhV90mNJD69Fs VBrHaDlZQEfaJG00ilQ6Wg5BbHp7Us94wg9hNOj/U0mnTzIyRaWcAibG8XWTO+Dr OIX61RllWRwY1VGY7xQ9NyM7+nIU9WeDp0x5dwnKCvrW8mh11nP2Sljh/nNoRIz2 PfdjKPCCInRaHfBsY+yZlQMUh5qtaW2Zl/STgPzE61dwljOfSPKv8+g6d63R4H1r 1cRs1jgZl+YsZvXZwPYNbS4rRRJ7NXowVFpaJhvof0MRKbsyN6YFkmsCXytSs8U+ kO9mlluyHBF4TARv3C+xhJooRqMoaxh6Y6bsdKx1xkO5ZHks2CzAPidk1rVGbXJg 6jZypfm7ighNjX7y0uRJdG4s41JhTmQiQYji7VICQ9uf3+8NwwWK3jAbkScvwDN9 /gLxKNIz64cq8rIqxAqKV+N6Ujd0WHrbqFfMOAX6jsMocfsxD2/xZQQ4Z/W1mgGz AAnHDXCC1y5d+r6MRbtDIFZoNP++wu3lINNMJW3vMWQf3Khn0IkEHAQQAQgABgUC TJUiRQAKCRCKr4jW2E5BrhGtH/9fojMEBEzXtrA0gLqQxc46M6uUvXdDU7d1+fNs CPMZuFLnWVV351d8g1mOD7KxHFoP+B1L0MHF8tSj+oiwMSoAIUI67s9VScn/JaTK TBRK80TfaWP3R3g9P5xVnOPXAoCgIIOiO+aErqHR+zSqFsriR3l0wrq1rd8U8aLW qBXL5WK57ilEoC95Qz7cpBjykFQhAikGVb4dXMIykpr1pK6dKhw2FGWejAU2bv67 FoWOlRclxthbqDgrolzTOmwo5XMpiDrbhwwi2ghtUyEPvNQIufyGuLVz8yJhz+0z 9LGBCjejuelbk1qE+FK3f9kfsvy+L4+Tih+jZgkqyhZcBrhmw+JnllBxt9TuYghU swYcDU23vMI/r1Sa5JFbqAu9PMO466Nq8MI5VVEEm31+siwoH6dFhhPhDFtE0u4H UFhhXIlHvDIpXSw1AMema1U2MtHZq5bbfHybGSvY+/7/9Emd1uavqjqwgxtO+iXw vvnkF1KsnBz5U2cnghQQuTGFv4zAA5VeKUtto5kGtGfM2Za95LYFhx8x1S3fiDN2 cLxIc1UcxSmnZWqIda8ZIz5tnbIadyisQuyIm2jtmXJYI93u4hD9vFz/VBP4fySM QKmqrUGC3ry/VBahmk9kTSevJ6N05uFqIbUx+CPQRwO3b45unpuVoTbs1OjX1qcU T0mDFUZHfedOR9YTKifOHG8m5soHV2NPTQSoMUo7vMNA9xkhHe6k1RCun8LWrf21 rHeL+1snDnOsbcNkPgRE1omCjf37ArAgiHY000Z9RcQ4RU6/X+2dGcMIAbYZ3DeK J4KWPRn68MHTjslVDsL2BTpQxc6ZnRNa9h/sSPRUwwb8Mn41vx+qwMrd6WzTmyV9 JkOqXbz8ZUfnAzLiPmukxK+7BK3MJTZJJ+DbbB4qPgmn4Q5Gc93iFeFke5505AWz aGKsK94vGJvF979r3jWjjG0upvCi96YYJP6jYGH7YJdSsLx7nSNzOWy/aBLxmrAM Klf5kwsypcffD5R99sbCAGCPibi+viJ/vEAurEmeBiSMA/9e7r/YIUD4FxGdlKVd nWpgoTEhTg/6ra2sGLXlVVPiKJCfYxCPwMUkf5O3t7CQ8XAmUD7Rbqo0NZ+Fmd2Q IoX/8IVSWnet0MuhgKHSY7RMZKCV+P6zzg2ak9pUnU8VM2iiCjNE8P5W5pihJPVm LZutkyfl3iGCFGD+iKASYorhOxCK3yoL8roXh85wO9NaRz/F9fZlBt/Z8lLOZLj3 n7Uj46CUPuWZ8JSoHnHAxB2bzjBRhdBu0Ay5HNM1abfiuQau/8TljOLIqLdho7Yd kSkN7o3ev1lX7F4orBH42NySg2s1B2SIrch1ajJg4aYXqq4o0cyRzI8BEAABAQAA AAAAAAAAAAAAAP/Y/+AAEEpGSUYAAQIAAGQAZAAA/+wAEUR1Y2t5AAEABAAAADwA AP/uAA5BZG9iZQBkwAAAAAH/2wCEAAYEBAQFBAYFBQYJBgUGCQsIBgYICwwKCgsK CgwQDAwMDAwMEAwODxAPDgwTExQUExMcGxsbHB8fHx8fHx8fHx8BBwcHDQwNGBAQ GBoVERUaHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8f Hx8fHx8fH//AABEIAGQAZAMBEQACEQEDEQH/xACaAAABBQEBAQAAAAAAAAAAAAAA AQIFBgcECAMBAQACAwEBAAAAAAAAAAAAAAAEBQIDBgEHEAACAQMCBQMCBAQFBQAA AAABAgMABAUREiFhExQGMUFRIgdxgTJCkaGxcvBSYiMVwYKyMyQRAAIBAwMCAwUH BQAAAAAAAAABAhEDBCExEkEFUWEicYGRwTLwodETIxQGsUJSYnL/2gAMAwEAAhED EQA/APK1AFAFAFAFAFAFAFAFAFAFAfeewv4IY557aWKCYawyujKjj5ViND+VYqab onseKSex8KyPQoAoAoAoDpx2MyWSuVtcfay3dw3ERQoztp86KDwrGU1FVbojxtLc u+P+xvnt0qtPDb2AOnC5mXcAflY+oR+dQZ90sx619hHnl211Pl5Z9n/JPH7Fb2N0 ycA4XHaq5aLmVI1K/wCqvMbudu7Lj9L8+pjZzITdNirYXxzN5uSaPF2jXLW6h5yC qqgJ0G5nKqNT6DWpty9GH1OhIlNR3LXhfs95FctuymmPQcTF9MkunyQDtQH21OvK oV7uUI/TqR7uXGO2pbLL7OePKg6rTTtrx3OR/wCISq+fdZ9KEWWdIlLfwDw3xxDm LuNLOCD6u6nleQgj2jB2jcfYBWb4rU829e9EdWzW8m5c9K1Ia2+6mFy2bt8PHipG s7uVbeK6nl3uWc7F3xEMuw66Ea+lSJdunCDny1Wun4m14coxcq6oyrs4/wDnuy0/ 2u66O3/T1Nun8Kuufor5Fjy9NfIsHgd74BY9e68liuLi9Rv/AI4UjWSALp+pgWXV tfTXhUbLhflpbaS6+JpyI3HpBpIvFl9zPt/dOLSa3ltkfRRLcwRNCvJlQvtH4LVb LAvx1Tr72RHjXY6rUs58Q8Xuo1nixVjfQOu5JoIYhGwPvuiC/wBaivLuRdG5J+1/ M1/uGtG2iLvfth4nmYjDHaR4Mwyq7XsDOeooBEkISV2HuDu9AeFSLedcjrrLy+ex uhfmtV6i/eK+N+N+NYw2uEgEZk07i4LB5ZSP88n/AEHAfFQMjJncdZEe7kOW+5IN OifW2mg9STwqKtyIpa7DRPNtLQWryAcOAC66/G8prWah40RsUH4IhrvCWsdzcXdh jxbXl1JG1+VXbv6aOEcgEqTrJxI/Ot6uya4t1S2NsbkvoZx5XKYPB2O/M3sNkFBY RDTqP/bEv1MT+FIWrl2VIqv28THjOcqRVTKfJPvbmriR7fx+NcdZLwSd1WS5cf5i W3Kn4AfnV1Y7TCKrP1P7ifawIr6tWUDJ5nL5SXq5K8mu5PUGZ2fT8AToPyqyt2ow VIpImwhGOyoc9vcTW1xFcQOY54XWSKQequp1Uj8CKzaTVGetV0E683X6+89bd1Op 77tdddfnWlNKCgyvT0KA6sflspjplmsLuW1kU7g0TsnEfOh41hO3GSpJVMZQUt1U 9b/ZWSPzDD201xeJiL27i37EQMLiaN3Ryu4j2Tdt58PSqS3gwldlbcn6divt2Vzl Cu2xLZTBS2eLxmXvZLZZcguhiXWCdW0bUMhJ6i8PX2PtWjMw3bt8k6rwMu5Yn5Ta rySZ04PwvJ39jc5mFUjt4FmZJ5yZHZoQdViiHoNy7S2o/OmJ2+VyHJukfvZhhYjn TWiZMp4Virfxy3zuZy88aXMMUqQwRorb5kDCNQ/ULnjy+alvtlmEOU5Ohvv4Fu3K XKT9L3My8t8vsfH8BLlAzS9CaPSLgryRu5UKGI2k7eP08OHxVbZx+dzjHROtK/Mh W7dXSPU8v5jKXWWyl1kbpy891I0jFjrpuOoUa+yjgK6m3bUIqK2RbwioqiOOszIK AKAKAND8UAUAlAaj9qPuDbWCJgsoypFuPY3D8E+s6tDIf2gt9SN+1vXgaqO44bk+ cN+v4or8vGb9UdzambGT6zXAjYxjY4uNCU19mD+h/wACqCU7jerbKtzm3q2yXw3m V/gYJLXF3e9JBr2eizoSR+r6uCcPU68RUzGzrtpU6eZKsZU4IiPIvJ5ZFOQ8ovBH YWyfUpYFdoHCJERURFPpoo1b0ryd65fklu+i2S+3izF3J3Z66nnL7i+f3vluVLjW HFW5IsbT0AHpvYD9xH8PSr/DxFZj/s92WtmyoLzZUqmG8KAKAKAKAkjZ8qAQ2nKg Gm05UAhs+VAah4F91Ex8MOP8kia4itwEtciFDyxp6BH14sB7Ecap8ztjk+VvTxXQ r8jDq6w+BomJ8ywuenubbBTEpaw9xcP0mjRBrpwDBdztVTdw526Oa38yHLHlHWSP O2ayeWzV491kLmS4diSgdiVUewVf0jh8CuqtWY21SKoXMLaiqJEd2hrYZiG1agE7 VqATt2oBO3egDoPQFp7PlQCGz5UA3tOVAIbPlQHXhcIuRzFlYtqqXMyRuy+oQn6i P+3WtV+5wg5eCMLk+MW/A9DYDxXAYKGWPEWQhjugrTMzM7OFH06sxPzXJ3smd1+p 1oVUrkpbme/c37ZYHH4eXN4eJreSOVTc2+4tEUlO3VFP6drEcAdKtu3585TUJ6ku xfbdGZUbTlV2TRDZ8qAb2fKgE7PlQDe05UAnaUBbOz5UAhs+VAN7PlQAbIgAlSA3 6SRwOnrpQEp4paFc7C4H1JHMy/3dJlX+bCoXcH+k/av6kfJ+g3qJ0it1G3/1oEUf AUaCuUaqV1SheWZKS48e8ptpW1Ec1pFCh9hKsbHT89TVnhW/1Lb8a/dU3Y69UX7T JzZ8q6UsxDZ8qAb2fKgENnyoBvacqATtOPpQFs7PlQCGz5UAR4+SWRIo1LySMERB 6lmOgA/E1jKSim3okD0f4z4FhX8RtcBmsZGxjgjkmhfRnSeQHqMsi8Q2o/aa+M9z 73eWXLIsXHRyaTWzittH8yyjbXGjRmXjfhtnafcnNWkQY2GHIWAOdzFpW3Rhj77Q mv8ACu8udylewrVyX13I1dPgU2aknxRfb+0jWM6fFV1q5yIEkZz5Bhy1r5OzLwkg s7uL+6FmV/5JVviXqTtrwbXxM7EtY+TZnps+VdMWYnZ8qAabPlQCGz5UA02fKgDs +VAWs2fKgE7PlQHf4rY5X/kxd2VneXN3YlJo+2hinRTqQCyNxPtppXOd4yVC27d+ ShbuVXhX3kq1GL1W6N/8VyGRurS3myqNDkJrcNLFInSfRJHClo9TtJU66V8n7nYt wk1ZfK2paPfdLqTIszTJ5jG437g5uCdtjXr75oyrB1EcYIkcjUdMp+724a13Xbbb nhW+vGPz29pS9wtNS519xI3nkGMki3LdwlSOB6iaaH86kW7Lj0KuTIm36Wbly8Nm 6yWvZ9o1yDqvXfeSo/sGhP41vb/L4t78q+4zUXFJmeW2JvbhXMds7NE5imUDirr6 gj1rqf3lr/JalrBc1WOqPm1kysVZdGU6EH2IqQnXVAYbPlXoENnyoBptOVAJ2fKg LI2we1AfJ5IhQFx+3nn3jHjwmhyNq8c8zcclGOpqnDRGQfUoU/GtcJ/LOyZuZNSt vlbitIefV+8uMK1ZlDScY3Oqlp8JbfGhb7v7ueBLexNFfSS70YERW8zEudNv07dS dNfQVyNn+OZqg1KFNerRJuYjhHk5W0v+4fiZ55reZXPZu5usRbTiwnjRQ10nbE/S okADMr7X2jXVTXa9osW7GMo3X+oq7a+w5fOlZdzkpVfkVfNYsyZmeyNpHJd5J5Jr U6KxCH1LH1Xpf000q8xMu3HH1/s09/T4mqzfSt+wtlh5FkcQ13DcYWaayklaWK7t ArynVQNZU3cf06a8NB81Uft4XIxamlLqnt7mR48XFa6lRyE9plr+W7dmt5TovThk dGUAkjfpt1bj6kVf42DCMEm+XmWGMvy40TqdCJFtAB10GmpOp/M1PSoqGwf26n4r 0B2g+KATs+VAJ2nKgOl49RQHNLaFvegOGbGO2vGgOEYzJW1x3VjcyWt0qNGk0Z4q r8G0B1GprXdsxuLjJVRhOCkqMmx5h5gvUR0tpleNgJGUhg+iqh/dqF0Zj8k1Vy7N b0o2R3iLxKu2OyrXhvTcSd4W39yGIcNyPxy9Ks1Yhw4UXHwJH5cacaaFxtvOslb2 UFvJjTPfksJblW2x6oAUb8H+rcPY/NUk+zyc3R+khfs3XTYh8pc5rMZAXd2Y4lie ToRxIATFJt0SVv3FSvDSrPDw1YWj1e/gSrNlQPrDbTD1NTTcdscbj1oDpQGgHUAU AUAnCgEO2gGN0vegGHo0A3/Y5UADoUA4dKgHjp0A8baAdQBQBQH/2YkCHAQTAQIA BgUCTFk5OQAKCRAQwBxaL2BZ50G6EACPPFAxumyI7I6wCxmWteHF/TwlOON0lmA6 /B3sOOxluj0C4d1Xx/qLIDcEMKmxVRQTF5JNUMLjseF43ToXYHi2QVJ/k6IMiGGV 8a6x2Wm/BbNLulVMn7qX+P9uKlzpDzMQweUqSnWuk1vENhCrM9bLC64q76aLdACr +bojsNDsTty2F5bQnlKrQCxtyY5Lo6OfLnZO/skegViwCIvhxE8FIS34Uiiviqle rUjRRZ/n3jZHyg+TO6pW5rxFxjrn0PXqSc6rmh/DZLv7+X7a7EZvyW+tr3/42KYy 78/6xFC4M588FOLNG1sj+HxsFWUnckqhDn8Pt8z34MyXStjkkDPJqUM77WsCJ1kr 8bNOmYdxCWSgof74TaApLL/MK3UxR96o/3yzy07xPzVh5EtQa1rQUI7G37vGotdq 5PT5uv3VJarx4sbiXXtfjxN2QYTI+suOU51oZgzC4AHqWx/zrnbOUPqy0aAMY5lc AqHfMLzn4HH8HGRogw3uYS79Fd2pdB00eRVfcQ9iZ3M9EgyeS/bD9VIFjIvNJPVQ BjU6NvVtcmsj9fCGVr0TSnyG0SZkjIN3vcIjHH0wOSeu8GQl5WdiZrReJRV8GmsT nxL3kAAQoWffyQlFqqoyhEYih0bK3+WeUvRegRzgmgIm3RgRM7Y7u6veekRZoI7B gUWMGk1Xt4kCIAQQAQIACgUCS8WWHgMFAXgACgkQrV7bt5PsV+TyfQ/9GIL6jGMP i0dIoGCgGSDncs+DgxOiTkjPo0Wd70bsJV4Tv1nhkLk9czNrMCm6yH5ED8H4zYEs aY9+dczIte1OWH8fC/nlaUlDD4/Qt850RfY4vNHedoQzH2+NpoxYsveryzCwUq49 rPWYKiw8BRpN98GsDmZsfNbZ3sA9p3AppNYFzVmkN4QqqTJ8S15citEQnV0j81f3 LrvnhpxHHoP4PgKJ6guInSIHQQc2h2ifwtQpGWkoDMpGMGY8hXvHWe972xP4CS+1 eduB3vnMxkDoKmc6km+XmbMpiW0lMMVvb0Ct90Dlvy7GziizJqGAtK463ok85mDu M+3iDdPOcEGneUZ3YmftKVFNrILsUTLp3xSoPDz5x/bgQPh+aetut6Zke3MvRyp7 +ddceUsHnRyRfVF1gdsWdCgNqsC0AF3LBS48uHoWVsnLDEe3dcRD9aH1ZD8leFtO 5u9SBTCJUZ0AfLbe1DD/7r4uLgTClzpafVOFPuZ/fH0becQ6euKksFTC980Hulln /mEribQSfGzI34WedcKk8S7H69llMm4WgVJU1jnhf3F7OyJo8CkzdupqWIm00uFm TXu2PrenmjdJEnep8CP6aaRrNybp0Z8UpnZjNmJ7YCciLJ8dXsr2t1/PMfrTQDpq GtFdeZsWtZHQNekFNRgLW0NmfddVvNkPMWGJAjUEEwEKAB8FAkvFgVQCGwMFCwkI BwMFFQoJCAsDFgIDAh4BAheAAAoJEAtmIFBiWQgIFNsP/2//2YK8VlBnwxuoiVna a3064H8J8rGm8ugXLrcVXp+0iWIFzQCEnYUITHXmBw5B6ezdJvRL/M7ibMHAPtVx ivkSrpARkGdaX65r8WxgVyquMUkqpywZFtmFwPzoxXnxXDb3G5QIrHlh9QCwLtFY BOAx1XZTK4AJSutwEOyFBSPxenGj2jB2J9hYW02lCSklcsjHMGFI2awM0XeusuyY dESmYDyh9Zr4SkU0GsDVUhhjWW6i3DI8OzIfR0kmef31dAXP6pt+yis+C5j2/S7c DMdWtGXvBfPK4SjxQXqkY1iwnIwz1ZmQXRMloS2PH1IDzWYVYGBmNG7kn6GgXAOt u+7KcmjTalJYFI9/W4HK1wcwsBNTQVQmORW3QB4baruQfzzFnqWKCOGoLPOH4Z0y yL0Z07SEHG9qjtymiBBw8AX/N2NVnKQPNb6FBM+ISNJBrnyx0sBT4/zJevc3QGUn p8eeRFGTtdlrm++740NK2YYehUO4L86TsWKgoRdnX/Hj0LNHAdCC0KIZhxiFIGyf muceXoV4yH5nAw93DatqpvN+wd/FtbBqGHA8c7przuttqsFmox/yAiR+CK01ojnv Y6c0rp2XjfS7A3DUjNtcbuE3D69ZdX2M29ZJlXwv5jieMWVDHdcII3vl0F9ko4L8 +8QtCdFG0E2b2YJpEOoMiGQaiEYEEBECAAYFAkyV0ZEACgkQHm578VwY+FQjAACc DvVbxLSgR2oMBeGSbxj2dQC+HhsAnjygf54lBCtiYJ9tajtrrZWgsMGbiQIcBBAB AgAGBQJMlTwoAAoJEGE7sSaAUDkMqB8QAKgAgt5uH5JTiof0s5wT4fb5P7PGUnoX sGx6ssU02WdtM3WKnBgm5iivMjCBlCEW1d2Hh4KKxTpRvfdNdFbL4gxhojpxiQje aMm6ePCB9nMN4oo+mpW3k3SJCsanbf+nrj7xGEu4KRR9AzejYBVmWxpjFNuGkH3d 56Is84XhK7XTjqGtShnzdK9ObZs2SqWPB9E0oua6U3kPm2LCzmzFKSJN6nFRzVLR KgNFR5p0zd3LfKQd7jVVoZDypFAHft/8NhebP/B/rwVQ0mCTu+pkO8cZB6AoBB4j sfrRVvc3ebK0D063Edma7FTdsKydNaAC+NcMryI8RnoRE+jJ7HkMLZ8kZl1IiKbE rmeO/J8+/2LOzCQE+gM8gWzRJ0byzQTyWnplrh0LvSkhLCYHykkCEgtnxTKMyMXe 0+d1iHKj6M+crbCSESf8J1ghPafJKhdbj5JM6CN4Wqa0ewDD+kzzjb3zfCdkoRoT O9flkMhZm+F0LLK53sl2mvDAACHeazuiMC6NPhUOF3gfQWMYUPIGxaUepllK4tCM 3iGO5XvD8wWPKQwfrYv6Xs7gI8q8omTg7F1Ly3OgZlBHDy3IPeBarEn0M91IWslr DzWm4a5YI8tgO3s75n53hRW/AVvvj2Z23up0FRC6pR1x4sAg+fNhtEpou0AaCAjJ JhiQK5rjWS9liQIcBBABCgAGBQJMldScAAoJENIc0iPujg3VnxkP/2g7STec2JtC nDYYo4DB4oROKxY1b4+UdXfH1TxX8hxeVTiJi0tL16pMkZFB+OWEoKhTjsLmXSQw IZnZVD9DgU067AOabeoMxgpalfGf4itZgcrbPw89Hbb6hf+9LVMDXFYYPO5ku1pb /w/iZqyuRZPlYZURUGcDd1kJSXxS1fpZYCfib4QksTvyWB6jL3Crh2Ulg7Hxr6A2 2KHAFHwl8cwVz3L8kJhNoCGKAT2sy+h+6vhwAr9hsid+ZnzpBXHGj3vPHPzzY67x GJFuVWAKhEfEXHrr0B/BOb/WalLMDojr+9LMc+PDbX1w9Ut12k7afbhZRlu3Tx2C 5Xn9ohngzZ4JxI2h4JCjIOD58NwZwJTaAIWeKsX6xGx1gkLEgfZ7xa9kgoSrrBG3 S5q+BMMZmOQeQWV6q0hVXnF3GARV8LMgrHq2M8BZSjtihfm8qkW/x57hQ5eEUzaA Nfyq6hYUG5ciG0bQc89qODSuouCO2wXFw5GraDDjsEg3iSq8lTo/uIADSV13qYKK bXd39apzpDB9RLgNzsMv2bECWx9SowZfiWfhXxyDETv1QeSkHjt6ZmYbHxgbZ0OG pZzx3txHUgW3+OEhWlwOy6ysj1vwiPKF5z9cluAoZsa/6/isntjZelL9SqzrlQcE fz+yGAGDLenYfAlXTptWahMI7sXS+wq8iQQcBBABCAAGBQJMlSJFAAoJEIqviNbY TkGuugkgAIA1mqAkyLv9TdiPRi/o9eKqG10mvY5a+OdwacPmH/8OgdLR0E5bLhC3 BQEct9pm4jaq0c46okkxSBqnDZA6TXftTefD53LnER5YYrjqWVTZqXioSV78mydX EVSliuD9OIwDecOS+/XO/IXYMNRNTuBtWedOuRw18bNZ0VLTfVexZjzAeVUY78bJ S6JcKoqoFVMfnz3REAm4DaV8P0kKxMf07JV0AES0S437igkxvyLHhNYZGj/GgRiZ HvbMoLZLpDEScgWFe7PbCu6liHts8PCnN0Gedrid+5bEn1Yb8fz+9KcA6dSDP1b1 v+/0DWPFqgC9YQyxIgW3hq/FtBp1biDDmLaaD5G+lmRjzAxKWBp9yT3gTJ/VT58y hXtJldKEBNumwpyVsWLPxUBwft71+HDDLLRXBTnsd7vnwCkGSgEHUlERNpAOiCNG khoWqEZFs7WgvdnoZJdOSKWd4+ox5MdgZ0CjbLbdbrq0e1Gydc2R/XVwPahJ0nHv aDQI741ZF9VrMi18ltdXmqv+Jj7wYVPeovokmL2MY0X9Zq1xKv6BWkYrfyJ778mz ORhIx8pZKRj1cs2HbUVXzJOHfZVF/kvFiQ9rBfnu1UYkaBpV2/3b7UrRBm0CqpZ8 qSVVpQnipTjEp2wI2Zo6xeJbLjNTTa02dLinPVlAbrCbxcPolBn5LZzNzgDMn/pH AXew7yW/Vx3nyiWQy7feI6CfMl6Red4VbXl3mkSW5PL7uGS7m4cOhkekLUrs8R1C WqsUWxTdmeqB6fm3fIYu967AnxoFsEIeBKyrVUrPLN4Rs/cEvKGa/1GEOg9ZxdXR WZHTuEv/iM/b2HaWk9HkD671+/aSIPz0qgL2jKoNP+4db3cadADiWHzqiXzB8Xvn pnGKcurBtcPgDdsJ0qLAJas6R7qbpBMVnYzGoK8caZjnHDK9BP0DeY/R8Gc1ykR0 qljz9RYFnJqMPlby+cK2u3AHrBGxc2nHbpkF/ltdnKvtQoFYkeZmtpCVPH1QuOjN 8kVcodUtt0EG/tixVAShgCnB0YQVhRBWzjcqvj+pEnK2pu5fPFFtBZkm1uULB7pc vaAtjLV7yPRJBloZP+R3xyktKfXa0OS7XjfSobBzYYj3zjDFVoq0OTbVNc8g0pLM xkPCrBKib5s5ZWokbhUNcU39Cfv1WTAynS2g8hVSU6itjfBNm0nYF/vNz2pLuhYw VjVHT2NnpWKNfJ1hm4pnINBClSkSn2g4WY42FXMkbBRAJ9/bnF/HKEmMe2O4ew+r MLMk+26Jefk+f+q2UlFV691I04nY2c9JeY55bJkmX1QnpFmWWhIm2rYVxD2jXgMo d4JPJE4ZfIqKJ8hHiyDpC7k4aC7uLDu0JlN0dWFydCBXaWxsaWFtcyA8c3dpbGxp YW1zQHZtd2FyZS5jb20+iQI1BBMBCgAfBQJMaXX5AhsDBQsJCAcDBRUKCQgLAxYC AwIeAQIXgAAKCRALZiBQYlkICHd0D/93SF6+rrGpe++6fnmiUQaGJtejOpT0sm+Z E5zhMAwOW84UeYg1UFKQJSrU6mF6+M5zjsRfKGIUxMabOUvNsco38t377BFhf9Bk OkoUqgTbcepRXRgBmCFsLNBd+cK5tK/TeKI6plrd0oWZTiiu69I4prbRGNupA5F5 vAXizBrg6tHewcv5XCZfVMBO3xheBMrXI4B83oQev1w8wbLiv7bJqB1A1Fsnx2dk eHI5A5M982pE7Oy1ynV1AhV3layxeNNdAIW1dEgHSBRuSa/dZ/1rwqvkAkSseZcz VpjyokTMOshNLKRJVx5cvphgvsL4Qk0fwlb9jJnt/HoPlNvfbTErYir373EKwZ1S OTVMgNrWGTTdA+8PV9s8C+JILl8AmVyF5gbMOJNSemXed1mpbAhjmGuZ6AoN3esK Uk97STgabU0lFk6Y0YKHf+x/Lg3ZC4MpT4nlic63kYMLUfQANOmsnjA+Jwwf+8Cb /N2MJN9eG+MzhW65g+0v+6PJP2n0HxSEC5xHYyulqDuXsRQ5J/XrJqbN5X8LB92o O+IL7aHUHnpGTqBS4X8dTkkAHTX4tJDEaNBN71Hrb+YxPWMVxu6QsW8rvQSd75aa 3TF3PMqOvNZDaf4tsA7UNrwaYHxOm92W1F7VLgHzgHzdZRwxl7Sw+0RswaZCfv85 7mT8KUBZ2YhGBBARAgAGBQJMldGRAAoJEB5ue/FcGPhUhjgAoIYaCIidFdgL1cUI WiwybLla+v1OAKCvCsP8RVZ9W411F3FOVn7YEFevp4kCHAQQAQIABgUCTJU8KAAK CRBhO7EmgFA5DFEjEACjWyOy2z+mfJdvmo10A4YXqxNXXSZXQcWtfF0sGQQV3o7T 3hKrX91QPYgjoUoPsRBxE1XUX29CIWiLRKJEoJHKaoVaXYjBvSStrlAA3MXJQD2y wrmrYLZGktAU9IJKhGeajCHAXgQY/rM2yYnhMle4Sx5gNmV6OLXOOgdoSiF7Ntlf VSe1eoHbABaZ641Ywcv2qoOFfZyunERYR66KhW1x2MQWcQU6nqGPk2IhbUduxY5O vmFKmOcbImoZs18ozIo0x1H2I5+Cc0oq59DIFy0o+WaLrrnFeTkvsOik/2jVjcyT MKqXDioQrr8X7m6EeGaSFF9Mw34nqH23hh8Jq5L7jiCzLqCtxQfm+7cw3n3sWCXd WJQN7yWNKkVxA8FkTSXCp4KQmpa2WgPRGmv3JT3DDDQaI5FGwIbVHG2vDAijOQL4 i+LyO0CuwbTHpdtAdc74DHvIYrc64xZu0z3MLAfPQS5PWBXdqJS7xg0zdVaOv+R8 xxrbf1WR2KQS3TQjQcmni1C851N6eQQ0Bd6BPg1ELg9EpSu9jRraEmH+Zv/HmU1r McxgDMm8y05Zv1jKsjS5s8QWjUuU6YPzv9Lp+isSJRj7NVCrTx65NgxDXbNsQev8 5NPx6iUTHBJEsJ8tqDpqttpDP55lvQDHQVp6VUsSsGK/NF9zB7AiOaTxTU3lsokC HAQQAQoABgUCTJXUnAAKCRDSHNIj7o4N1Sm1EADd3Kfmr3x2ab1Li8e4Qbol3O3l YgR+Jt79TF1VI+FSWeT7jS53o0VJlCMqh3Pfthnlj0x4yuZAt+YzDX+N4ZawNDBy Uvz6zRWxlYMUsaPNodqK3BEfPNXtV6WeVWx2uv3fcRXbtXOO7ZHimUfGOmmJR4lF x8WX9qWenXw3UJXqomaSEM/qMTMySRp2uTXSSaUO3D7cbV2rnjgGq2FgTnWETQ8G T4mhE3Fnxcg0cAcLqNcMNK3mn6/L/ifYY3AtQQ9UruK5cTEhkSROMIZ2DmqmwKiS CgUCVNnYOiUHgZIcanbJBw4B0N8EAWE432uKH2smfbHwIpTVPuXGtl1f//bxDhZJ LqY/1hmmzDXJlkOVrSM3CgMKUAAT/Re2U8T6T4Pau/ti2KAj6QEaLlWfzfUC+t2h yjI4ucinP+ldBRlYWr0uwDdpp65iFJUmesppQ2397hZgQRqk8ljn1HsleYKjiNAo cC4unKgyXwHYLjs0csOQYnSMRxyGauw/0MbZsjrLj8qwtFzktGteuuPGXVisJBOK T0ZhAcrLEH1zv07jgUQpwCDgx2n2CJbgum7uT7bFgzqW6c6voEAfXKcupCjgjhU/ sK0x+dRk00GJ8tBDLa26zNZCPjnnR+DwTStwfl6lkekbwg+VAuRtHaft27QC5ff7 Y9e939IBmYtLrFfap4kEHAQQAQgABgUCTJUiRQAKCRCKr4jW2E5Brm1+H/9Lfc9V 6hi4BpBMZh9RGpQh1bZ8U/ch39TUUDhfG8lC7TkzYN+H+S6/7uxug/no1+Yj/YCm hNmwkKycpdnl/37R6qGfeuFm8twuo8DiEvupp7Yorr4Fw1TpgpHs+qEtb+6jng0G RWZCR7YpFkWGg8ZrtG92P9qk9ynxj6ygpE4QDvOTpO7W+d4e7kuNBBqLhrnDvmY7 /sVMuQu4rOlTZa/k0srgscIt5pCPpGtVhRFM0OIJVhkJgPhM57onZW++uEpSg9SV MBWbx27FMYA+b9e/if7kp9A+pcyMel0G9AEKaim9h4He2TaENjRD0F21EGXnSua9 8uTsgMKiUZCd+3pFpqKHCHeGqLkpsI1g2G0wSr2RyOexjtS5c6ppFo8mTUg9YvEy ZLP8x1L/jVDQtr35Op6c1RhBTOiuGpcQT9fodX1KX/EAIjRGj614yXUvvCiEWGuF WvnRei4RblxNyt/7jnu8pdnHQNGy0nFkcPigwu77qxKpBS9LdMk7XgeVcvME4wnZ kM953Zk/YZc0MeN8EyqBxGImHBRu045/ji0BSMdFD5243G6bDUeoaqhBtm90GDUK cjKVGof877x1illUZMLE1zWx0Cqv2X38krrsoa3WPhhm4jw/R3slbQNAQ6HaL8QI AMEbbqo9Pf6xi+GVv38nW6sF/8gTaePFMmWhjqCQ9NXOgJQC2SEBVbkwzEo5D7b8 8ao65Z1kr5xS7AWgHUrMyr2SiT7Ab8478hVVJkBC3fjuVcGSdpMu1SIMDhbXKVhD 786or8up27iGTZSulqPqmLarIm8NPWwOY722HgCMoxuDZYw7WFji01VOPXz8Ncme PrMo9jHBHrtd5UCDVpnXUolJmkGMFMFWhTgsxgdcKuEf7eRs9QGWnGRHrcDppEUs 9OvQXFUvva87EAFFnCh24xwMddGWuXqGbT2UuMeLXEjazkPwXtp9bHGsxVPCDlQa jDy6RTcXNQEqKpsAx1LzQbJbo82hScjktgkfm2LSskGVm3Qb41FHRDEN4szRE84N 9UJCzt2X3RhpfHdsY8w2pSHNaHMD1DWUJBlRGsU4P+VXSXddihWdiq2I3TtgJTYS 9kB62gF49DBCbzGq0ELDyCwu+/YbBeP4Bpv+xSxXE2i1NhxUGjCw7nal+poPfIV7 rv+g5P0uqvad6XJ0q1EzXy2Ls1w9I+uJwNcDa9gZMdX4SGSTCUmcp3zZc29yQVMB j3RxPfP6R7CjRk1WYEiB7cbDk/GJ9h5/aKEYLt/I3zhn+HS/Yd8+DSY8rfT0hn2n ochLpRLwnfKaCi7D1PsvqE2ohpOrP39TGs5p9uKe+iYwpEr2cNAhedIO5jEvsHUE bBnfTiMeV8IVGPzvuQINBEvFfXkBEAC9GUNu8RZ/zY4BX8snhKcxZrv8FirsDPzc ASJn3RUSadGyJJw+0sf0pUg80Zj5nK3X4c/vqMeu3Du8X88CSLCW6BcKJu/jsFv3 qh9htzSiC+wIv+pdHyPLG+Wfqr75rxVOiQvGajPAIE2/jITbI4NYhq3SjzDjzn+Y ZeR5QsA2Uj7c8Kqnc9o6ZgZaNgkvN4vxfleRS8ubzW1HsfPaDIJzvg+u4E5lKWdq Nv1D+rUmshrrSgpVZD7m+SlMbAiC0Xrl2cpYB+oFeEPTM6v8+KORTNnJGVGFBTKG s6lzyrS8Pq411e4bSaoG9VHjaRahrmtw27kg58Hg9FZRtilQblLFWFxx/Rg/tAnz UBcll/xiKHpcshDAr1VKn8TcoFMjrzOPmfwxC6LOIdjLcY0XNSjUM6vNcnJrmsTK OgZGkD+JZk5pSsxnMWNU7VgKWO/Wmjvy5qUa7FZkh/A7FPus8eLf/711NstUB6+6 k/0eoZaVvtZ5MVKhBrkYscLNGOtaV7hwm+0cjQGLK/x0ntj6NciF9pMiGpC+AP0X VIv4rdjA4MC2ZMOf2UttfkzXWIab70MrvxJw9m3VknWOBXTzKDLzTtD4Y0AIGVyz qz86dHlrLXK5Zwort/tFOjpSp9SZUV09nSyT+re36V2VaOzEtZjpf4a1DinuIiQf ugVgb0QnjwARAQABiQIfBBgBCgAJBQJLxX15AhsMAAoJEAtmIFBiWQgIruQP/3YR vBzgcEQAXBrdh3Zfd7QRYJCk9xSNGGzzMVkIKH2n3nhRNRwplsARfnDKMu7ujh+N k3a1zUX8GK2+xhxt0XJ7jBrZoMtEPiSmjLkSSu2GYBbhVsNE3XYnxm19ZpvsNO72 qU4mEjTKElY7jI0oaWntLCJguW0wua4Sc43Nqg6cg1Ttv891l5d1eTk64S/PA9qm QyRG9lI5dtRqNLDlyMPzdWelP3lGzqLPc83HYHKCzjJ4Updfv2bU+eCW/qyyQkic CKyrka0KIyh3GXbHCqmGFuHJTknlF6MLdcEAInBNbjakeWTJinjcivPwPN5NwgSO yte+uI0UB5tWUvwoyqr4e8CJE80M0ZtTYN8rKJJx+/g6EvFUf+qxunanjEV6ZP2L fylVfLJsObnQN0Jv0ae47/F9b2SeWh/CaKtCxi0vzg+s+MKdBTXqUAIPBzQMyL// oq9VpQwqFFMD7fNBjBt2qKRYCmk/UFaqbtG7T6y6zcj/gobPr9QcJYM7FOaY6L0Q TA/H/qmf+xwt4klDsa4DwdVXXVCY0dYsJZ9crRJi61EojtCiC7Z4uMPrszl8+KXo I+u/kObNjQz6YQsKz3Hq4cZB4+n13x1pYZXKxNuwWF2JUQkGvcCg+wAkUKypIrcj c1OtnvugNcNVlwStx1wAekBg5u+QsmyaB/huA4TpuQINBEvFiB0BEACz8LRTLr0n ajj4u5xDZwJ5kWa45ClbiTHCSdePANZQqi7x8qOXdhZen23R8iBKMjLnEix/Hlgr A3OacsG/Xy/CqPxkupOTxklDfThKMH6aifjDr23N3i4ODTyYolh2a8lAKH0WgV1z 85RqjD6qu0nh9Xr3mb4GDFOOqs1ppNf6AzOLTMKFbOMLJ9SVHEgUNRvig4kUid6j AoNrmDLNn/KbtwWlHWtAz4nUCGZfGmMPVKnmg9mwEwfHm4r0/BN2sXK12zbyrqJT siDP4h0MIs81wlWBgHdxwXhBgBJK8vhy4sD2CXApjL2fbf5gjn3ApOdTKrpyTZpJ wRKlSeLkSy/BYKBzbSHmFz3HHTdn0u1aT/9gJYO4MGLhO/Kpm1Ht0aRHaoberswS iCpQQ77EPysJgiauyErRL0ynkDHfEbkBJGbgMjJZn8WYxYxAkVU3vYneEcHhmMZ4 At0gcLxN1/wJykMUiEw/uZmUYpdcVC36c/fM/6jCo6Y5QO6Ho5ENrwEVTSX8GTdU tsKFrDNh4blTcMmTKO9ijq8pNhZ/GpsZPVXpfx9QYH6dJx9Q9W0MLVx90WRdw+Tp DqdSkPOyQndlwsm0+ywPvDhAQ3Gjx5/XSt4WbfT1jYKd5+PQh5/1NyDc5YYQdRkf ftwk3PTDFqAgnTnG4SjFrCS4ImbCKiUvSwARAQABiQQ+BBgBCgAJBQJLxYgdAhsC AikJEAtmIFBiWQgIwV0gBBkBCgAGBQJLxYgdAAoJEGoM2OGpOvr9zPYP/3T/rytn OvMw9Pa4B5rvaQDRgWfCIR4apaEC2nZNjnkocl1tkP1b3wkH2X9DmAlpwqttj7No DJl/uqv4s/SUnB1RyPPBSTmaHmSaKVplSoD6DMh6I9WAbXYQ5lW0DAAE+a45/oiR r1FsE57xevT4p8Ss/QMlVFv6HSaOyqNIgES3/jSlxLBJji30+ZaMYUJCO+yUrdi+ i6oXdpKKodRcfKSMqAcNmadaYzzzfq48ZCcRRxjY4hzUh9mn6RIqwmBFOarQkRG8 jeyyCd2PBPm4yaPPop2/jKduGfQv99q4B+jdZEfm0ZQCGR1f5j+jDnG2lzPTUXZu UpSuSqz6yj2p/QBVaLDYW07HMARrLCii777gZOLMVf3hFMEyRH9uRc5qYalrGCM7 L7koVUzavY+igjo3mM5XFJ8LEvjmMOElRdtjxsyNe47+Eofs0cT6xhM1nKB0FIAm 0m7djGC5LlsWFEQeyvB6Fu7zsFAdQxepTyYX9jSE7an0gQofZq0RqfO0t8+T33NC kJox9YXD8wpkaGIi54EHK2a+dPF7GntH34w571YzUwJAjLia2fELneojGPtUm9u3 aCiPP6GskeGrBS3ZGiOJI4ebCrEYqe+fqzIlUpQRHsJh7B+BfvrkiXscwwceunYS JowU1Rjbruqe7fEkRoqMRhbF+F4ebnB2ZlU+CyYP/R1IwLOjX5MjylDtjVTVULqj UEeuvcRSR+movlF7fOgl5kp+WS7zLZ/ROKWXVJJFNgMTcTGDiy7tYE8c2+0wznZw Je/SQVgRfrob+Wo921vKX+odrESL7J/uGxJO8Ev6fFFXj2EnZFH55POK0LBy1AE5 Fz1Tkx+y/ASj+rq3+ELz51HaqMgYb00KL5x9hL/4H/tDMrkzFx2TDEhLDyKbzt0i 0+8oDUGRt+CBB5BhTsx0MbwQ162A4ZiR36E/jX/B5whZodD+xWf9r6ryHtudPSvm 3/cveeU89EuuKV1FoLQPQ0myshmLnSIVmLLCS1pVpommlNwFkORDRxdziMLuasSB GyKs//xepDSwTky6RihvkKxvKq1WQ/6YKpoS4cjsCUBeuSbWZi4WqGvonRfDmI7Z ehbw8W3BzMIQJjwbRqiqVdCd1FIrD+FNFKNjCo2M1HXTHsjLsYRh20atEZFAw8YP BH7nYeefDcPcJihagnqFEPDUVxz+b50vdCurH91Y/1LO03LVW4Yrt81hIS5q8Ato BAOyOVJ63HlWjDTy5ockVpB4sxIGd8+orp4+Ul9Ryr2Um/AiuVbkGG+6m1qXomMl AlDQ85XiQ9Xjs9ialxSjM7ZSot7Sf+3pUQnxiQionc1HZl0Yc+hKIqAvpPlgb8aD V3aJdCb6dFPeBGLz6ygX =3Dfs2D -----END PGP PUBLIC KEY BLOCK----- --------------060304020601020302050009-- --------------enigB88D328CB62B246575BB117C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCgAGBQJNBhXDAAoJEGoM2OGpOvr9ZI0P/3NQr3kShOY7zJQob4s1uGkl Ew+hj/UepZTUnfMevhMZvAS7S3v6kNBvuJ0fvGUwBWehKSz4F+7uv7n6mQSy58gH 5YxYskTwr3PiyZxqYYliC9PhQ2CQn87USuZgZqPwLBCLFqcDnAeykzqvPGv12IAl UTh+a0xRT9sU7L2C/MLEZwnVOElnvcEo8mlpqCyKaRfxOPX6C1etbNqLp1gjL/t+ 2oJ3Wdcjr8tZ+yyNIre0Qiw3PbsEINhndHHKR5MR4HM0WOjmYMWG9xDIBn1sUYek HyZ8Rn4ppM50JlqfsRnVro0X5WiO4oFoVwJMWfN2f7peYqZqgiulHk6PSRxTF4fH o4ZN39OCRxJa9M2PMq562RULXNcNb/ZgnHRbjzCej3HEiS0Ir0KvrEkqrRB5n+kv IWawspUjQpckISQkcZejTL/4DdIY0EERQav6nuZejajfz4UolifjbbRAMSNmpCcL 1m2dtVnpR+htYC9GkoamkWJkB2UPvPZ17zyStzxwS8wjhdZaYlyIv9yiVqqAgOKx dqE/nvMHGef8VNE5E+RlK47BpNGQjOXKOxExMmulLqfcFaDvru/ZmBaLoPzUYkVg ckzuz7GtVVfSwxk97sLtD7/pldqGnyj+zMkbc8sR6qDcGeYpLsQ6cKcFfd2a8vtA k2IyOTe690QwPL6PkBJp =yDtk -----END PGP SIGNATURE----- --------------enigB88D328CB62B246575BB117C-- From [email protected] Mon Dec 13 16:38:04 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77647 invoked from network); 13 Dec 2010 16:38:04 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 13 Dec 2010 16:38:04 -0000 Received: (qmail 38741 invoked by uid 500); 13 Dec 2010 16:38:04 -0000 Delivered-To: [email protected] Received: (qmail 38720 invoked by uid 500); 13 Dec 2010 16:38:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <kitty-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 38709 invoked by uid 99); 13 Dec 2010 16:38:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Dec 2010 16:38:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 13 Dec 2010 16:38:01 +0000 Received: (qmail 77576 invoked by uid 99); 13 Dec 2010 16:37:39 -0000 Received: from localhost.apache.org (HELO mail-ww0-f43.google.com) (161.129.204.104) (smtp-auth username msacks, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Dec 2010 16:37:39 +0000 Received: by wwi17 with SMTP id 17so6298000wwi.0 for <[email protected]>; Mon, 13 Dec 2010 08:37:37 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id x48mr3289033wek.4.1292258257784; Mon, 13 Dec 2010 08:37:37 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 13 Dec 2010 08:37:37 -0800 (PST) Date: Mon, 13 Dec 2010 08:37:37 -0800 Message-ID: <[email protected]> Subject: Tomcat bits for Kitty From: msacks <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi All, I recently presented on kitty at the Los Angeles Java User Group, and I received some useful feedback from the group there that I wanted to share for discussion here. Kitty has a roadmap item for performing Tomcat-specific tasks such as working with objects in the Catalina MBeanServer. We want to make Kitty specific to managing Tomcat servers for the purposes of making it more production-ready, but the following viewpoint was expressed from LAJUG: 1) That it is extremely useful to have a command-line JMX Client 2) That the Tomcat-specific bits should be designed as a plugin, so that if they would like to use Kitty for administering something else, they aren't limited to Tomcat only I wanted to present this to the group, because it is essentially a change of focus for Kitty if we were to take such an approach. Kitty currently has a roadmap item to become more Tomcat-specific, although it is a completely generic JMX client at this point and will work with any JMX implementation. Then we would be making the Tomcat-specific administration bits a pluggable module rather than built into the utility, such that if someone wanted to adopt Kitty for managing Cassandra, Geronimo, or any other JMX-aware application they would have the freedom to write a module and do so. I personally think this should be fine, although I would still prefer to focus on writing Tomcat-specific plugins first, and anyone else can write other plugins for other apps if they so choose. I wanted to get the feedback for level of effort on making the Tomcat methods pluggable. It also raises questions on how do you load specific plugins, do we change the focus of the project, etc. Thanks, Matthew Sacks From [email protected] Mon Dec 13 19:55:47 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5426 invoked from network); 13 Dec 2010 19:55:47 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 13 Dec 2010 19:55:47 -0000 Received: (qmail 34725 invoked by uid 500); 13 Dec 2010 19:55:47 -0000 Delivered-To: [email protected] Received: (qmail 34709 invoked by uid 500); 13 Dec 2010 19:55:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <kitty-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34701 invoked by uid 99); 13 Dec 2010 19:55:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Dec 2010 19:55:47 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-wy0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Dec 2010 19:55:47 +0000 Received: by wyb40 with SMTP id 40so6466835wyb.6 for <[email protected]>; Mon, 13 Dec 2010 11:55:25 -0800 (PST) Received: by 161.129.204.104 with SMTP id f10mr4823398wem.98.1292270125052; Mon, 13 Dec 2010 11:55:25 -0800 (PST) Received: from Asura.local (cpc2-lewi13-2-0-cust269.2-4.cable.virginmedia.com [161.129.204.104]) by mx.google.com with ESMTPS id f52sm2096273wes.35.2161.129.204.104.55.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 13 Dec 2010 11:55:21 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 13 Dec 2010 19:55:23 +0000 From: Pid <[email protected]> Organization: Pidster Inc User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20100825 Lightning/1.0b2 Thunderbird/3.1.3 MIME-Version: 1.0 To: [email protected] Subject: Re: Tomcat bits for Kitty References: <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 1.1.1 OpenPGP: id=62590808 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig290359726D94530D2245FF74" --------------enig290359726D94530D2245FF74 Content-Type: multipart/mixed; boundary="------------020402030500080309060408" This is a multi-part message in MIME format. --------------020402030500080309060408 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 13/12/2010 16:37, msacks wrote: > Hi All, > I recently presented on kitty at the Los Angeles Java User Group, and > I received some useful feedback from the group there that I wanted to > share for discussion here. Kitty has a roadmap item for performing > Tomcat-specific tasks such as working with objects in the Catalina > MBeanServer. We want to make Kitty specific to managing Tomcat servers > for the purposes of making it more production-ready, but the following > viewpoint was expressed from LAJUG: >=20 > 1) That it is extremely useful to have a command-line JMX Client > 2) That the Tomcat-specific bits should be designed as a plugin, so > that if they would like to use Kitty for administering something else, > they aren't limited to Tomcat only >=20 > I wanted to present this to the group, because it is essentially a > change of focus for Kitty if we were to take such an approach. Kitty > currently has a roadmap item to become more Tomcat-specific, although > it is a completely generic JMX client at this point and will work with > any JMX implementation. Then we would be making the Tomcat-specific > administration bits a pluggable module rather than built into the > utility, such that if someone wanted to adopt Kitty for managing > Cassandra, Geronimo, or any other JMX-aware application they would > have the freedom to write a module and do so. >=20 > I personally think this should be fine, although I would still prefer > to focus on writing Tomcat-specific plugins first, and anyone else can > write other plugins for other apps if they so choose. I wanted to get > the feedback for level of effort on making the Tomcat methods > pluggable. It also raises questions on how do you load specific > plugins, do we change the focus of the project, etc. +1 Modularity and abstraction is fine by me. We'll need to do this anyway to cope with differences between Tomcat 6.0 & 7.0 p >=20 > Thanks, > Matthew Sacks --------------020402030500080309060408 Content-Type: application/pgp-keys; name="0x62590808.asc" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0x62590808.asc" -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) mQINBEvFfXkBEAClvXQ4bG3ib0nQQfEpmlZaZyAGi+4njhhDAP/n5Zbi2wLcAnlR WF3FyrSOnFns9V1gNA6zdLPhUs1KwH5vBDlU2ZkOF3b6pGhAdTr0HPefEBwz6StK Jlch9t+xJjV/llA2/n5UUkCLw3gqyJQMvbFSfzLT9YGF1ehsngvK/vRGIqZ+TIoC +lGasSJ8B692unnvDF+MSdNu7X2ioQJP/1SPLg+/fHGZQr3zdjf6BOJSHTd7yg6E /jCYe2F8TxdcoMdYuSNIf3B+whMHltq9HdHipZj5/JCo9tKyQuzk1I9kdgsFehIe fd4mnrwlv87CM0q6m4FgzivG6/gIJiddgfUHAqmRvDh5CtXHLzXEDGJEA8xkQ+Jc AAbgOYfGyYh+1D59U5R5qoUkVeb2tM6SUpHOYK9E8H5Pml4kHyXFctdq8kD5y+dN A46/ru3bQEYNcBlyGEpOPs8okmoBxYlUCMdH38YDLbBEverDh1tJZ6TrNWEr9if8 vtljEZc/Mebh9n6btImmrHszAs6M5qHNvuHaWfTuuXwPEhsdcFF0jLMREUMFRicc CSibwKxnHua1u9JlufYaJUeJifnI/ugpIS8Lbaaj3BDT9DIWVbIJKr5yAdFv3nVV IOiyhxQh85y6yOoXsTR80ADu5fvaXbiEOhD5hsvcRlP/q9m2Vxpul8O0ewARAQAB tClQaWQgKiAoU3R1YXJ0IFdpbGxpYW1zKSA8cGlkQHBpZHN0ZXIuY29tPokCNQQT AQoAHwUCS8bBKwIbAwULCQgHAwUVCgkICwMWAgMCHgECF4AACgkQC2YgUGJZCAig Hw/+PEuC10bCXKqvd9y0Iyvi1iqWVJIhL8cUW3eQsPdKy31PkipFokhRK54WAI3c qslF758ywz7jxJ26P27JoBRzCk8MChFvs/OJpZ3WTXG0RbKG1Nf5e9ZuDhKye/Ql xHD4Wxiavh9dzOB0x+FBYmjLyvyC1ElLmrhGnltCPR2k9ytV7GLJHCCbIP4s+Eg6 qyX/RysGAdHHdzeCgwGU79TaKTn5LNTxeuQmVbBk743YX2TBhxLwBOiwtUfj6t/l 4JGrHt/OdoPJCcxpb1FOHCjdfou/gkepkGJIwMviPWrd+tgb4ZG/+urKb+i/QCj4 pr58xjQrt4Q+bxTNZA0HnsE0Z5xXI6UCyavPnn55IxEFQMon4EoFBgKMEyZecrkw HuvL1BnkhPYKLL2Ox0Y6rZot3Sq75x5xWjP3uUMj8mLxwDULfFj8qxBGumaYxLr/ hJf78RvfnVaVOsovNXry5RxoVRHTAyOO4jwwtSGZs5lzLHqueKq9Ol5m8UON12Py r6wT8wBCU0Mu2TsbGzkld4pntERLLlEshsdkKFy+DfWpbEFcX4/lFMZwq0B9dpJO D/8grP7+CRuuNSNe7YYUaTAOrRJzJldvB97wjSINKcv+QYw+YojZxcKcNdFXkRi+ hH/ahTr6xhMKmsoL6Jyu/EtUcwGDZyOGINFPvdSqaeBmU7OJAhwEEwECAAYFAkxZ OTkACgkQEMAcWi9gWeelMw//ep5EUcJuwte+DZv9w2PiuDnm7nCU5B/uOmbVahsF nBHC8BzO50V0qsZmNcA+sJMUhr0WqJZ41V0sX3ROcfwpNe1xOIStQy+ftAj2w96K Hz68vH2yubVihr5c7SlNWgoVunVjliOJvOxnIDbg25c7yh7WxuCmqy3M9wSayH81 FWv2xZOfV6f9n5miENJB+b9k0i1OpcbAXg5LWC3OrraDIXPVwj+HR0Y4p6reYOk3 fU3JuCc22/+kzwCUcfOUE8pf6a7Ai9x3sPbmSGtw2BIooiGC3XKTmOpXhPmD+IdZ 8bsk5jezbRSKsysOXs2mm3Fi2Ng1fZ7EB4N8/TFXEVKGLcbnfFTZ/ip+gPSVXf1v YpUaNk22GVk5YV6P8t4JprfPl5nPnQMg290OC30RVPzYmFnDhABh7wkueyIpkgSt Z43unewtcY9S3irjlRadoy6uDZOVkxKGNvBnVzOxvnuktEB4g9eI/boEiz5Vkq3b Oh5CwYpJDDPJPRhCxZ1j75EaaMn6BW5TpO+ju7B0dsDxQEYiPddrTxWljmRI3p+F A7284TbSmajG//XxqVGun8EOARJ9pOkTsmN9s9eRDq1am2HaGZpXisTNYDOIi+gp Qv4vbVIStFLm0nCmB69Cq5TF5tGhAry4cu65pAKRdn1DNnazyo0FBf23qSg3I/x2 CMqJAjgEEwEKACICGwMFCwkIBwMFFQoJCAsDFgIDAh4BAheABQJLzX3iAhkBAAoJ EAtmIFBiWQgI+iQP/29WC9Q/Frz8nmJZZ+qCsQ7CbimGaSSsC/DCP0r10Gfe+BT7 wqgbD1NMJRvOIXw76GgXOGn31jcZQJLmz5oQrWAaiOgTdACEtaYoMZ6QDzE6HIeW 2+06hxVY0gCELuhJ31iou7qGSJVLwOhTsF3iTChuZT5dVrxIVYv1D9vc174popEj Ng0SKo9FXCfOuRls5gPKKKb3z98JqZjXh13LMG560On//ABaJIPVcb+ZWrAO9MLI hSuwhDvtuBZuFV5fUwFGONIPAVoHGuIZEU6bI1x6ddeQnRTnPSBycoEAc4s5cyR7 eDWDDhdfzXafKepX3aNCMp7bc8dAvGJ+33gLGzeY8Qcb2At4WpJ6gim9VVsHrE8G Uz71qDQh/KJAuiwj+pTM2EIcDYlSzX74keleNQJ/wAhSuJbsUUAxT9QF3PMU7PdF rV4JN1JGOAhiy2rR9/OnZHha0zVT5sRk1ZUxLS2EUCDqoHJi9ORSfZz2g1Q+oEL/ EiH6eFHS+RzOjL+KH3+tMN5D7yKB4k/GHqFRE/jh+8SqVQegnqDL8HCwDdjn/PnV IcALxMpPYEVvgl7ixRvU5ct3LgI89AnRZBxL/oIPO5Js2+wKye9cIeT0XOLOxjK1 hO8wb3NdLqlE91t5lk4SUtuyBtHqNjZn40pO7Wf8JlSf/eqh1EUyUjHiW7gLiEYE EBECAAYFAkyV0ZEACgkQHm578VwY+FQ5DgCgiid/m6whU8G15lHof4Gr0ERkpNcA oKA47nKZDX1Dp43X2P5mmdVZ21fMiQIcBBABAgAGBQJMlTwoAAoJEGE7sSaAUDkM vCUP/1A3NgrIwD61R7puDLK7VIaTPXMKW4coFNEMSHBobMR6qiiuQR9d2sNqAWJ5 W2ml0riNwyztVarJheXIa1TqcZFgmRK0nJ/nbOunk+h6LROgxdTrpPTwR3dl8HPr 3MNVMyD1gcTFJUk/xKo1MHQuCyUMaQKZ2JBtWk33nizrkQb5Jf1Lxz4I2TWQGXJX 0CLGnz0iFeDTlTJowDglbtjPyFDUFiS7cwd25jIHJSzjGQNEtwn40oLyKE4Vdxk4 nlglXuX1NRCguefnwVq677lavYjKAB6mh2SLknoBKsRvFGJgUYhGfZUdzBpy/Yy2 x8gOQmbHMfNHyD9TKr8AOx1GmvhNgNbAXLPVlC2EKrvh9IIhbMn6A1LclWRUtwin QGpZuQ/nlAfFHqyIP8KF/3ys/OB93F/vQ+K6D0GvZcYiOhDhl8D+beTITK/ariwg UImmcLsQbzWOr8Jws50X9VaqY+FiX/SsPh+8yklKxFrQdOWdf0Fgfl2O29cdobmF XwKev3Ym11d3uArGxcbh5QII9bo6TPKHHbB2Wb3E1f60D3SiZVwh8T/6C8pQRW8j Gj1MVYLUPtB5qCJeJDDqb5Z+L/ocBr5Bbs4wh6hzttDneddOEwPUMDzCoEfxxbUg yIdS9zbD57cQjvgOewvAO8uxjlhx6b/ACinX2phMPi/t7oggiQIcBBABCgAGBQJM ldScAAoJENIc0iPujg3V5YoP/0TlXHF0nIsNuSqpYpIozsRJrUkjGOUVDaMBPTNU 2LM8ilzKnlAV4VocI635x7P6tFWeBiaDVe4pX9e7hvMNmEtNjCCiGypxERMJqNXh m+N5rnyL6juXt0vWo7z5quRBbHVch1hLKqQmXXQLgrl4LMCIGarcSkn109cG3KW/ apldrBlIqRsiyIKwMwPLiB9sMdIGpyNmyqiC4lAkHwaSSVAyWsczjWN3bOVDKXju Pioq4d5CpQ19w7u+WzlVVUbQVfdBKxL09r/SZTt5GpmGLYdfoMG+SqAZL1UBGRnq o2G63fPhS1VHUwurrLK3cE6oy0i5Ct/Tgv0qe4NtOzVcUBDjqf0ooTwCHihpn5po mfzbLDDxxaRJlGI4pGbR6xLVMfMnOU+QfF1F5wjL1DVrUQIqSDalFB47/cw170JC +0tFwEm2dZe4s5z+0vmWdDK98pa8PsH/LOwkxpgnp2vdY4FVrRY3wR7GteCHiIXG uBZGPnwXrNlFQIvF/VKi27wAvTKLczyRKkjUfmri2ydtpnD8xhOMJdNNbFZrAxQs UVKTLAXJ+baQxwhyzZdW61ZzzwijwlCSjEYeWqkav15q9IeJhkAqvpKBSTvL7Guk 63R9WekpZWTsZNMBUkHEZ9/xNUg3vB7iWFh6GKiygFGRW1u2QDp2Y2itmtBumTAy Zz4BiQQcBBABCAAGBQJMlSJFAAoJEIqviNbYTkGukJIf/j4plsVCQZOYQIrkkd/h tlbs+YIXwom5TxGCppLBElPmyEyGBAf5s7RBPxl671Yn8hgb2aYG/5T98tH+KMzg 3NUVNC9lm3F3hBMPu3S9waeJkx/8HRzdzeFmP6euea+BgBM1sehWTUAqsG+0HhTH Vi7bXOouFNf9pDZkHi+GSQA+fHTnSpJ2bVu9t/IroPi9cnqPSNco5atSrlTdyXJN EyK7ui9KjfyISEU0wOIHY+Hlr6BxXlAoPl2AeysKJfcwKvuHNvWzfFa/Unbbne1W reI/W2Ta9bQj1G6xLIK1vsZDwt9OukVeaaFDqYtNVSVXFKJLFvHatJFU+DyEu9le D1obB8i5XvCKPRXp6iHUwDTSqBLyaJXz8FGlOG+hL2M++YtZXCZQEcEVhgIGCZ2l CYaX1W/ezPxHMeXJoQK+6yNlG/FiEj1pYycDyg4/hpTZvwyzRKuOj/MpYONBGGZI 8yVRXkRHgtKCEaVw/oaKZ45LZ42SBJ+kIXr07emm2pLhTrqrvSp4yUTmh8gYM2oQ vp3OZZOOBtEElIEoU1k/S/SchB6ADEGWCPA7CiEB6N3hhYTj2t+iDxII0c4e6f0U lhZwJw3EaqkTp1IyUkBALOLHacIloGLvAMLhinBUmR4GGwCr6WUM6TXSgFHriLvh LJVYnYPOo1W8KggS/353CVCnzO7gsatOga0R9EclB0EGzN8aF1Mu7KhkVjAitRBv V/sOYizOtaqay8SwyWNmVV8A/uZ7/I9dhssfPUphw9N+JSEUqstHYyE5NpTNAONf 8QKcOKsQ0M9br3TTIq5s6YQq8jJZRZEK3zowVzUzQ3IpHATWxTxMgRJVLCmYEukH D98ef50Bk9WLxeT2pxSRCDrVhmLDkrpCR4KnXUbmn2BsyU/GrJk6moMFqr/BxsvD HSpYar1EtA7YMuLFYQQcYFhFOOMu2xhCt8U5tGFLLDRq7g0jLlMIGXT1fwRaKsP/ IW0vaJBECxpSqfq4ZqEeiNbvmIfmMeqTa0214oM5L5/i5JhGfBBo1aShzYbG+Qa9 RPL6TGhkttDje/wQj2jVLKrWVnqcIMKStJ4Yl9YHRflVXS8vipkneCbCqw4fjzVR oOflkL8r7MScc7YYIfb5o5G0MQq8hSomCFqTmxOTd4LltQN8tX6vt+7NHf8fP76r 1hQXpfqc9b58DqSC6av2LPSAGYeqY0r55XJpb7KYqXZ9QlDDnhZboyzulOP5BiA1 N8InzCWICuam9bq6xKrmqTqngkttJdO+OlPgoaGwvaNqQ//jNMEDKArEg5o9Tz6a DTcx7pqIk/u3uMFOpnz4MlLH7oPPLGD6Q83E3DsMHHv/hHFNQoKH76hTPo4dMopF ltS0OFN0dWFydCBXaWxsaWFtcyAoSWRlbnRpdHkpIDxzdHVhcnQud2lsbGlhbXNA cGlkc3Rlci5jb20+iQI1BBMBCgAfBQJLxX15AhsDBQsJCAcDBRUKCQgLAxYCAwIe AQIXgAAKCRALZiBQYlkICM+AD/9LdUKcABy5cWxQohXDu40mZCLodP5A3boZF+L2 O9jpK/lUSnFewKEJznavs2RLCwpzRcJDNqRc6vEzOyrbQvAs6vMNygAGETB9uxaE Kesknj0ZxCsqqxV0VujHYdRlVg4qwsKftrXv4K5nCLkBRv3YZQ0JzcX/wRlfz81S lINoM/IuT5+QzCGKSjxrM1xrhxZgwHIitNCR5BHl+CsqjpjDPLJj1mFqPTLniKKU ZCB7uN2e38FYazKGUIeQXq/e989zTimvQ24AYUjoGnTuqg1liPd3pKq0ryAvdYZT Upj98CZZ6jCCkDisAOSJerwXZzB/o9ADX2mFJukdD3MXLRJcAdV1CrEg4DGau8w6 JYROgUc+C4RONmihsXKyhI7Nj97t822Rj1NAO7z3ptnAwSJGx6WSxFGvWht14vuQ Lf9bH6FzBlhIxUKhDWIqq29K22ck6Fqb5dHbRyE5253tWt0y48dx5W1kP6LOW9zh LN3NBw59SN4O8H6c2jP8j8qExeswpbECiq+gdnqMGkRjDKQwxf93OhmCbCTYXtZt gJttLVCg7gXXlNbTMrEfbWkZFd21RvGu3LTnWfZLtmKvg4Qe89UTAla/phpJKgYF /WAFbC9E2jmh8kQo+ETHw+EFWYy4RjjIthmGegGQ45KbxZA36woKHjsmnB0eZdA1 RUXf+YkCHAQTAQIABgUCTFk5OQAKCRAQwBxaL2BZ5/2eEACvvqFb9meRRLLwFl96 B8RWJa8F+tv5GuA+YiixUq2wCWz9y9NZLXRsUUZ8dVbcDphW+xxR5OiMrlRnOxq6 4nfY9YJpguQYv92Xa5P2LgsmDss+OSqeVyIxV/C29z4zAc7yPLiMihlUEw6+2o0f /ohShC7FBndAjXGTcMyvVvHIhR+wGmnjsN8NRlsq+Y56ZGanAo9zKR6udI/kRqZm /PO7guqRkJTgPmb8AX47J89v/Z/Wk3XQdSpTvZRPoUY2f+oOgwr8m4zBIqBGHwS8 bE8nHti0QNb4NMoeK9LtYI2Xr7Gz8JoIR8bmsRPTN5in1Lwvy85FkVK0rj2TL5IX dA1wX7J0K8bWL3mORn2yloKCmDYFtTirMfKsV/IItQeLW4K7omB7k5Fgr+JRtZjk jspluq3yVUUfz6Zd7G4aYX40uvugT2AA5Akp338z3/FlrBgeoKKc66Tu3FL27t3k a+N4BaPq29H9zglnh9zV7S4tkz+mtKCgnIOoZlyjHGz8XENvCgMHBKMod7v1g/Za IFsq+H5eh+pyIX0VX+PDBUIu8z6/i5NOJta7o/Q/hr8XzWXgz4pz2m+P9CxK9FsB pg66rrUeltJ5iRe648PWDeg2WsbERGi77mHGE3goOw3C0AdFra65jXJ+juAL891G e4YHzuX9lHonTud4ab+h703UZYkCIAQQAQIACgUCS8WWHQMFAXgACgkQrV7bt5Ps V+RqSRAAtthk5f7miyCB2PcxhumLbdMvWFpPk120R9zxkWMyd3+gPdzuRujOnBUA VaRoGXoA4gsb1G++fPVr6Qsv60CEuDsPXpgK0crxED2vtGV9gQe+mheCgjwucDUM BQVFCgnZD/QiYbJ5wJBVrEqvRdLKHHPTOmM7bC2HMAByLLIrnjHgxINsfYfUf8/N 9rf9gz2sOq0mGzVSaM86xbbjySxToYISYLbSws4HYGw+M/G++1d3H5DRGhZiGUMP 8GC0gEDAAcprW45btTzmCo6CD7tS2x3JD47RLtbPN8OxsXBnxynk89Kjbxlqp2gM CXJDsYmnp7zwfmwNEPbHUHL4oj6A27Zux9cjvyY8uSlB7vzrNVjPiEu2lhflx/Ah FK3Np3os0fSb5qHQqO+uVijX6XTHhv1ASnHKXTlqQdq+xf0H6bj7ilhC6UnwnbHz ybNeq/X4hSe12MfP6RglvpZjOGLBXZxK3hTCN0LCIFwR914iCOHVkzMplk7RosW5 qzWYhDFA17pyufaeCj6CWEWSAPb9nH0+iOPVR8BkwtRWUHaBt+xA61BJlEHZWRbW Xs0RteX8N0DPPAYJNBiXQ6YjXwwv3USrSX4u1IgiSLjK02PVQPO5mYEAW4MKKAtb D4yYPYuWv5B2tqJpn26FttSog1D+FflMiZrDv6isWwE8QYbxlP+IRgQQEQIABgUC TJXRkQAKCRAebnvxXBj4VEO8AKCQNiPgfoCBjP7pl99P5mztRWi76ACfaezwFf3I vCBLKtFBg6DTkda5C0qJAhwEEAECAAYFAkyVPCgACgkQYTuxJoBQOQzSZQ/8DC1M vAFq1QqnTOxKtphMCt2LTVTAfdsY0hwoBPpciO8xuPNS+jy2zDyWn5aN381pPRuB TuSPUoOmWfAdGC+6rJlHV+mdynPDObwRsOFfHD7MpkHi7zNxFrc+LCeR1WeLkc1n IyYQrAuVvYkMYitBaoj+dB/gSxv7vECpvHZ8yEViXk9fQEuq+gzy4FirYuUpJt1W ipIBa3wVoXQiMUYPsGTu4qcp2fnv68xSG+2jtzxDaA4PV2nERs+od8MpqJFQEJDz z/BlxYfs8pCBdC2EqfV7znQA8gsh6aT1aBKJEbRqqL7f60zy1k9BT+loA/dHval4 HwxCjdqBeBz1eB+8m2qgsESQbIkGiqPY/UHDNNuRHOpuGt4zNnIYAzqQVz3Ofgb/ wUKF/0PhXy1elAK9yHr22Zb9YjgYCzsUQxL2UIX2+s754YER+YQqFyckyZzXCGKm +IwzhWmcBVkSwy9hlsxUm7BCuM5mN2xwU95WxDJkgRKOfCR7zX5/eiCJQIE/Qgvr q5z6r4xIOw/IblDa2uaHLwv47zMUImpyA9kpl1Oaih8shHd8CgMrT6W16izWL0Yf idF9ByPwrmoN/bjoL0SYpEt9YhcXuNwrDDdnMG+TjTbt4JvLOfgpupw6f7h7Ridv yBOSELsCr8J/s2C2hIGVffVuQgdwKJT02tCqlOeJAhwEEAEKAAYFAkyV1JwACgkQ 0hzSI+6ODdVDjxAApyHe/t/pbkxYC6h01ECYpfgVn5Z5eXZhHlcwDHsE8rcUOqTs UrEwO/SkKN8ZKlD1NAZ8NTRRml2B/y+/Gkrjtql7QYD81J33JRPII/hGYU4Mj9u1 NRpkPaKUpbZFib6ffq2iugOgAkw1lF5h4eJ0WnwokNfKHp2sPHH4N+9igOxWHaXp MiNAHDAsvMOuvdOEsGhVB/1aZFaTOPzD7jfdbEKWFokSoJSTp0tp4BTut7A8eOo+ 1lrnc/nvEgnTrTWQXMwKWnrGjD6gYjoldN8pdezmPesivZwr5qgIyQVejGD5bIan 9gvMf61JAYe7iJwBJ2nz/+ixMEHODMYqaa685tYqdtQLnisXu9Dql2wnvgFEgr8n ij0aTh2GQF0hnyKyzQuOSe43++OxJOTC2gMYpSEPEAHnmZjij/2ik5iqYHMJtN+9 U5orarxu/dFGJBvIhyhoWVOtKX+8beeZxqodEijDpdF57Q5xa5SPyojzhBIBtECg 96wBd/AWkWXZfJHBsoVfV4gu2r/i/dN4jFyu7mfg9Dw1B7d8isEAPes3xpI5L1q/ 073WD+lYTXyJ9NdYgfTx9B/Ha9AUujc+Qx/CIM2fvgDkfC852jSNkac+l+sGLQS4 vdD8110DWLMniVBOZsmuun0Anx/auAsVqDisxJPDszOnnWWfZNVZSlqBDZSJBBwE EAEIAAYFAkyVIkUACgkQiq+I1thOQa7Mdh/+KGE06nLPiCOXXjZ0LpadQorlpCiK DEykoMLsqUT+RxpMvENlPAOUhUhFgcKReStYZk/sO+KK19NDBoU3LCeEs7qdS1ZF 385Rgf44Ki7n5szQDW8kGY/ycY7b8wAyNiGv20hehtpEsQOlSsKOkySngBf9zCqL WcnKQF/NmxTpf/7XzHrYrrRD/KqwlbvBO3emXxnh4gekzB0vcWg9Td/G2UABXoy1 RrraE7lJyx189yxVxmbHGu4fqLErAW9rgq/KzCFSBTDoX0iAyIb+pu64OYxDYzP9 3AdqtZE0o1Ikwoes5T+Tef5ZdYH0aOE9GfuRNLeFNI469pXPCIj7LiJ+Y6dCBvkj JqAHTukIc4ZgpEqRhdNQpe4UyjWv22e2lGqoEU5DlGK4KfrncCO7N5CdItotAAKD H7hIKYlh3rq6MZsKEfWZG0CFLUA0rIH0WIF65AkJm1fZm3ENjHAXH7WT9LiJ/1Iu W/lhiAOzWiq5QS3yeQFYIVSICuhL+Yv9hL3YWfj7sl98gPEUazTzQVRq9cfWmuYQ WNY0uLAu7Wmq775NCKw7FGIKIR+TTiJVRJUPXWCI2DJDbFfTdQIjhFDCEkA4Xiiz Y3Otl5qK0yuiPMk6TKaRmdzRAYe1HMc9priR4m1WWusrOKa4MEhrAFy6LC+j4vB9 I6WYpTPwfRPW7vMH+ri3OaO5y6MFR5A45/BYJ2CtOzUu1dbEWW5XN1jW774WDqFm mSS0f4gNw0shcsnFiGyOGqRWEzPJHu1d1w5arhshlUKQAP3NC7sbeKu2knHFBmt6 EB4iJsvcTjlA0VkXZpdCbIhn/jgkSkuWZUG7XwmuP9XitJlzBm7kI2tC9Zqo64s2 y9bIFwTcIXJicpLUXxhQhThP1JTyTYoUa4J1t50giXlG52q+CNWVUBJw2qdTjST8 fxdCQnOVVO6J7Dl+IIzQlaA5xj1NtmCMUpe0K9uaRM2CMFoDuabkUXgInG/cTnoe YQBdSBu6WB5VSOZWR+9DZkaMz+PrydwPOu0uZjvUVWUsNIF9Fh5JtmkE8yKkAvE5 HAneyG/38k0wd5XwFB5+2FjrhkCaSX3DLZLWxUfmAh9WMYWg4ogANpYpQrGhu7S9 CBpuUzQHZcvPkBW1T6NV5dcIPX30mKYjGi2UhK2UzsrPN9KIIqQHtZ/ErX3dkb28 RgqQymsuVdzNiGaNDNKM7H7qHfLrF8pdokG9XjpZIVx7j0qZ7HgRfvTiurgQzBxr Qnf5j6mdy5NvGdzPd+xlpSl5MF6VSOsIAMy/PEmC75H+YKsKW3tGbQunI6SsUMO5 k5Y6lGHU1Hf9f0XfOjIRlBZE2drIF2RBSw+KeiwNa9A6/rM9SwzsHm3MarQoUGlk c3RlciAoQnVzaW5lc3MpIDxwaWRAbmV1dHJhbGdyZXkubmV0PokCNQQTAQoAHwUC S8WJbQIbAwULCQgHAwUVCgkICwMWAgMCHgECF4AACgkQC2YgUGJZCAimBA/9HTco GT2XfjH681s7gUJr74noB0hn0Eq7vnx5WCy/j+SVsp0FBR/u4I5lg3YiYi5sAkhj v4oSfa5Yp+gd1jhOsIn3Ep+pq+Lkqj27CR9RWlGVrhP8Gek/Mdazc9qB0UPOWGVs B/tfXQKaCXasfMO8qe+PstAjOIJm1ZX1tQ9HftZW8n13eZdUuIglqacJTgY4wL/T 6mtxg1JRYQMOqk7frxnykD2iUxdbuwPPoZswWu43B488oMoldA+KEUH2AzkV8UDz P8tfzGeQ2XGoJZoo6OYZR2XSYjodiy3vPX/DAEQf3Yu79SKsJmZaSh0jH5RJ6ONc UnYx4vORQy1euOwixGOSBPhQALF7RF5C7rR8xl05Y+Lwvlg3k7ddJU5vovgCSMfE Tj9CcMBk+0CPUb/6vFulOXaXwaGA9o2cQ5sQif37zKn4BAXgXaKmI2yXQ7DWEwe1 gN3cn5RgKEoRa0gbab/MrWKvhFcnbPWb4vsWHTyGaPUUisoaEjXP7v05kHEC0lbb TEKazul+WZOPCq/zJJDni77k8y/SNZzDjn3uSO08Anw/E94I8jveIbN58hhz4UDb B3r8lPiQjVTuXReqv3d/Ear40wlQI0HZN/13sYPk4nwK695i/6v/Qkl8bYKpdy9i SO7YBxnkT3mVBe3QgqXRiYb3VkRZGKzIjuHWwn2JAhwEEwECAAYFAkxZOTkACgkQ EMAcWi9gWefiNBAAzFoTywQX/gqUsa94fEpUm7waeOIPIYaoFQiE2x8JqoFP2gUI ErZluHFrlNgYrIfDH1wHpJk8/xOj/QG51OwSg60yLIZcKBGhuTtI6sist2KP08xN dFJrZMnUjJSQE9P0HhRFnF53kCPYT+soGefEzEnVF72uPisEQLggYvWRNwxcWWXr NcKbm5djU1J0GShnokLvO44w6QjgrCFJozpIKhaprwuoKQCS4fUJOdatnqlRXMLD uhhqAwl3ATFIgAW0xIGNpLTmZq/f5wlal88EhZCqdsfXiAAV1f6QjkKYIslhoX5J KizvwR8dV2sz1QEkrh1J1OvLX1C9i/sp6Dti79I3SMg9UWRIsi9mKtclfo1RclT1 7qdQx/1oOJiPW9rocutMUaNlIAITT7wjq0ApAOaTpbuzgZxh4RNZfxxD420vNohM 6EcEZBzKqOMhWhrWrwK7RQ40rLkDSUClKt7a4693cDoGjpAvw9qVEpuqkK1V1acS bzohNKBQ0b8q/4gzKrZ6XWR1clv566FJV0ex1FMuwbiZk5/+o/r4d61CuP3LYuYH wjG58E7LCjhTWhsV813EKjtdV7Uv0kWDHxtEB+rPen/iVvISNdW3iOP/4fXIQuL5 K597QCU2fAEAmzMHIUkXKRZaApPAk0cF0l3vuBLNxNgsaKTb5+vvtOi7zeSJAiAE EAECAAoFAkvFlh0DBQF4AAoJEK1e27eT7FfkqSUQAM62wwslCZ7QczGENPPd25H+ QgWO7enuMTDtRo8Z0HtC9TvZeD6qcJC/uTabU2WkFled4PI0Cy4xSR68kbs/YC/Z ZgYJ+snzerIC4l+F+SxqW1XdHFbpQ0GqauLH3mv7CJ4kydUff6J1QL++5z9zfshh o1Iqi6ZBs/So0tDNZFYDxTm3uNDd56Pj4xh5X8GqlOMCxpQZJXj3BXMtNxt5YVnp Knrl4Q9025G3dKLlVRhVd8j52klN8rMbs1AUI4N5lSJf3LO21n+7FH6qHQz8zc/U cLj1ReRLdlfyB/GbtQJFDRTQQ+eYepYph34cuQVJOcQ94h0/ppVMK0rRF4fKeSl9 YO/pZ/vq8NFBBQZP58gn9lf6KaVkg2Hsj/kQPId3nbkrexK8tFpexeGltyuZsBIq X6RfNvb8AysZFJps7itWujYxaJn4A/2zlvQCGdTCAjWQXejYM0JL0MyrJXDWX3jh WuuWHkBgANvKgc+CtODEq+i31I28baIkd0+Jcd67RiMsZWA8kEGx8LrotShEhbhw S+2p2HqCDGdRqTQJVGGfovlKN6L+fna+SbWTzuarkuZmKQ5Q/EMaYDss/r0ilBip Hs3UEQIxH+lOLRj1OrMR3RWa/IBCf2sFj35ggvo9otEi7zh2M8l48eZHlOj+XzNf 6XatmW9h0NJ96JmDU4l0iQI1BBMBCgAfBQJLxYBUAhsDBQsJCAcDBRUKCQgLAxYC AwIeAQIXgAAKCRALZiBQYlkICDyWD/9Mq0cpCBD5hk8+3VcP/mD3LHsvuTcDWMwR NOiqUZpNrBhk1XSdBEcbDNYu6cLbr6uE67lQqMGMpheIYq3+RkmclybWuuIsuX2e f88AXX9J+jE+GQc0DxrCiZmsspd8xHRzbQVrz+T5tKRBpZIjI7v4i5qlMJCuZN+I KsRiZkq4QGx5kMjnYi83kqu/x0qwnmW30vOmz+OMCaZ5E2qGZSklFJgwl1F+3reP MnTVdG+2dAosre1KBrdluglmYYVMHPyBvGggqlPfgtKa0NPUfj6XWH8f0z6yjpYz Lo9v+anvwqOlCioJ0Re7dY4+bfinajqci7f81WE2yfQUPKl647pPFZHNxVZLBlkd /a5yM6e30BQC6LGT+3XTJi2nKTpZ97K0VGiQnIzGpJzOHZDeu6iR75sXjqRLk/6K nrQq4W4dTzq4bAxvh08IDKwSDvMzSotN2OVoPAQBK4vq65ymXIh8WGLvbmqsNHz2 hsjNAZjv9sWBu+qlpcFXXJVk0gZc6O2bLUXH9Td5pn9siEdqH5iZc0qz1dA/JXMw VfILKkeX35J61id5aMkCdibmYcnNYw4w6B5cLApiyiAJGjGJ/d6EnBukFqouivP/ BD2pdlqyL4b+lOhyTU7RChuJg85hNP5yWOdfv7c1wqbWxRscvyq3YQYRpxP2YbBx nc6XgJdlUohGBBARAgAGBQJMldGRAAoJEB5ue/FcGPhU8/QAn3z/6+v2m0GTBICM pDT+Gix/mRVtAJ9YG15wEeY2bYRQUokx6plNijuMeIkCHAQQAQIABgUCTJU8KAAK CRBhO7EmgFA5DJerEACV+Xw1jFsbtV0Ljm5o6se+izGQZjdlDBZr9GfltAZ1o/nY xUvCGR5uG6/lJP4TYX7OgD79EEgrQMFfxIRZZOuGPTUtOG+BLuIUOWNGUJ2cqgOG 33dINQyuMNPRqb6e7AtJSTSU+p9Am3soLP8ynCzk2OwiSxqPtRKA/jYNsz9M0MaY EPYUhfv1RA4GKP8qjvd8TynpHLQfYw48Qhm4UzyeCzrTyT2RuQ1cymb6hNFEw/qz Vm7VbzKdrgp6WIonaHkxmULpRwjtoIwfHQeZnqvBkvPyKoKfq6kcovdE+9fewLbi yKFZvCiH8+EGcVzZTugCQKB/kJ4mU1ywXkuaqq+y2ojtGXmrUF4jYKZqgTfI4LPB rXAjzZLW5XdUmgL4W1tS7ssZRSy8IWdoNdjnD7teXLSsWZu0atRAHGN5z6PT0c51 MYgqdojk4rPAT4gaU/h0ENRXnwCZPWP56HVU6Pi6/6SeA2SCKwYB2ykB0zucASvQ EijSL0WZ/T+di9whSmmRfQvC32Agce5S7T/zyRDBc8dF6nd9y+0ONRrqkU2T5uOc kaivdCLZor90TaqdNmGsxi40c/GLjU8xCRwdG7ef2b0zCBR0MwW5qBUqxVvFRXaW lq7o3J44DQfLBASUpkG+z/JMoJjUaM6SGsUTWZEBKhUOS+AaMO2lSmPRBp52/4kC HAQQAQoABgUCTJXUnAAKCRDSHNIj7o4N1Qh/D/oDkIycbImnbbI60U6hh1t8Acjz NQMsosvlHS0cP6T2XVXBDtJkHm5KcCYNGkXFHL+prpyyMzVKYyNB1Dus+S0mIVNZ AAahORpOrYeFoMSrzvYkDMwRboyfe2jv/YDfxXr+p9N3hR3MJTZgnCk0L+K49leP x92Fs6S2cVYL2Hx4JMHYdshetWXzmTHIMHJFLr8gPLzsmMUt1rJvSrSeA8c985re olBvKUmN6a07XDDG99CVj7/dHjXiC/bb5ng4tON6cRL9NCKRlaLuhBZfjjP2nS/C 5wZ9JoaktmxnibMUItPozIJO148FTDsWnoP4FR0K9HX+v0lmGIQBnlvjifpkFzm7 ObkD1iID3yJVv8tzeUePDVFgyl2UfD7bDCcZucjBLaLK9zZ00G748T57SZ8m6wuz urjlvVT1xdDlf2rwz/NOySxOAPiDd4kscAWCWSszAvd5LI5o58Epc3YdlJnbUpNT EB/pY17Zbsja30ub+BRXOebdV4kr4QV+RMsQOE1cZSUbWcWs+N/Aa+G867xeJgfX Zs55Q0FzaOJAFURwH5Az75/8sniYHliM1F1TDlgtFvU+MxSBhq+D+lm9lmjGQZAY LxDgQyaDFuchsR05j+xNZwalDv0IJ4Q/5iNVeT2qY2si4vUMIZ8o8BCE6C/rIyJ0 cSgTbYSQf944s2Lra4kEHAQQAQgABgUCTJUiRQAKCRCKr4jW2E5BrrPkH/9pQ52a Q+zaqWMF/wQlQTEZwWUtk6n//s6fKmIhuA1a9te04KSJ+49KeNzxT6GP3Po6y0KG GXtBO0Xdy7MS4hhuuyMN6oUoDMHjPZdpCf9IjW1rN9h2liB/CwxwsImT+HHlysJ5 i0xxrvpqzFmK2IbkhIsS3D31mxsETCzlUxZTZAKWoZ9bv/wHcGJGujNTXT61+Nny oupb2nd8oGbN26Y3co9VcDT76oywToLaluPKHzacfKkBLmy/E1HoI9zC9LmILvit SoOJO/824Tx1cXnsx+t5rXjsZeGjwSzof6uBpA6ETuoVVR4Q4BOtgR+r8y/z+ree kkFxfUNLc4x2eA1P6lS03z4pvpP5kBtoWxfWWzR6aKqWqP85vUeYA0MYEhx3b+OD NKU5KgdI6qugdwenJthGvkiRzO8eQIeNtMxJL/+ZsvDIeOnAiS4/m/xgWFW26eyN X3Of2yaR1UsbFz9Cz1vrABPtMd0HkA0BentDd3b2y18xsq4p3SyADT8Lt/TizX/H TPOVuu6FWVFPLpubm5fKrXkzXEfN0uZkrPo35UYJY8uKWieUiKH2ILT+64RM/vFw I84Yh+VeZy5+5XsO0vSG6kuoGF/Jj1v7ymj0ng3a1IaIpxp4Fl1ssC/4wdayIFpS DNDKSvhia7RUSVjgNMhXEJqxjrzD5PiE9LgxKeln+6PrkVZOxUWcDtAJcjwVcAV5 pgzsMDHW8liyW8AHHCFTIYW2Dpcd+3CmHCAfKPAtFzxr1U9MPmjxyTiy8JSf9138 dx7LWOBMPlyNuIBXG2yGq8ZOTHPvbxPD5JVf+RJEl7avy+fEewBa9gtL7K76W4VS 9d6xd2j/7L4VRIop/3Q1BCm6inZrXfFVwvpCMm4vWUNFXJ5dmgV0vvYzqcrYFdrk 5H68eMm9hCvaYGq4R/eO3ceat2MuiugKhNkUesKpZ7suHT8aP6WzTyMv9PU+lYcF ZDNrEHVaDsmod7S0hSAJ2BdRPZEQZYDTVpTe5E28T7QJk0B+Wx26x6JWhElRwNdA RiRcdyWJOoJi2SG4rff/mTtpakqakJMl2zYK7rGjWty20M/rDLaDTD40VvbGgsfx yvFNZgMZGAJwX4FivFvWGU6hq3t05QzbxskUWBbbizpaIeEKlv9oKQPy0MN0Z6uz lm85BdQdcMz8ywgzv3c3fEv5pq/nAJ6RyQ39N5yurZQpyDAW5NSAcIVwR1YO2oDL PVLVxmBlx0yMEzmMl+/umhY3UZt9yyoL2AJ6Yyp0f7pK2rH5id2y6aRDLbgMZxVO CPTdrG55a9t79PM+h/S/WL+lL6+6peMuBrYIZnzk11xgs59XKP+s4bOe8mtppFeM 2pqo1SBVdXVlEwnntBxQaWRzdGVyIDxwaWRzdGVyQGFwYWNoZS5vcmc+iQI1BBMB CgAfBQJME0utAhsDBQsJCAcDBRUKCQgLAxYCAwIeAQIXgAAKCRALZiBQYlkICHA/ EACALs3ddM7hjgsYta5lk03nGGW/QnNUc1p2tdjyNhZ4hWKp3ED5ZJD/pYZ2YGd+ habL9WSbsz/265orYokeXsHQFXn4XR6mabO2PnEKetEU9ZgGd5lEd5Av03kq9pHx vwZxYxg/+fQUT90LzrGDW3Adeh3iAKhqbdF6y/nYUsiBXg9iDqQJU5kRyj+1iqhF HHSH4mFrUL9F5OOxy9/NfRI5yj5tRHtUaThuQ8Vf19319O15zQHqoMBW1CtXkBql GZr2rGXizzmQxUCBCuVQjh5v/89E+SX7nTycESDUTXrA74SuRrxdMUFSDFdXEIy/ dIYMWqFHrYvVphco4YKUBzN4ytLXYXEQZvevx5SLdHW29mahhCEXOvVek7J7sXmR bU6BO37mR7BGTDjeDu7Ecl8BMNknhEKzwHrcLEmGsxreL5m40JWJECaXX38AI4/e MROz6llLVpr19Wu7Xe5kQrh7wlGKk0aCnfV1RJu3bvUtpf0gabYjPrlc1ew5uoGF AdUDkUrQwINfIOUsxVe+E3NEk7302LJHStGa5VyAmieJWuWk7aF5UmzDAOHmsl5A 3YdnEtdq+NsnmUIUtUDzrXTsiMe1UtiT3yXfU/uziJs5mzJyDzK/bvDn/zw/ZeTH 7jZ7l2umsCFkypJlzk48ODiMQR4EkjoCN6n8JcLNsNDwHYkCHAQTAQIABgUCTFk5 OQAKCRAQwBxaL2BZ54adD/9DA5l3Vb8dbWDj+mKn0Ry4tQWvfOqUKD4G+WCOQYS5 SMpGlkpaNO4EQeb3tZFMdu+RXiBZmoRnDEqMkceoXRyFfkPYc6HDm8s6Duune7DQ YJb3XcMSynS+5unHjrKcgA61v1hsdjUQ9OTLmwRXzWdOnsv7bWWrUcPUlph7xGk4 uXCrGdoCZFzF+2YL8BiJYlUjrLCru9BIjXwagqkBeciv5J2YbjSvLQtC1hCHsq2t /QQjODYj/HigCF544K/qg8cUjhry6gvJfWAkDuy5fstoaUf5Ezl8JSBiEuyNuYIR KSiaDbXiZEpqQ4uDccdLH+z9/AhTO9FCe14frHpN1u9D2yYo3EAsEmwpUVyV3zfU RqcoDLZ1R/WdLzKrskdKvVhD0vc9N4AjYIKfqBy9tQQH0Lni7oY+OYLx3Pgi4dfS RC0qi2TfwvrBYXkGF2XBFpHSDgOXMMgnJ5WTftS51UUUwa9Cy2XKrnXscq+z9YL9 fDhZmb+/NuW+PYs4YkQtqsFUM51JpOZtERcpgpuMpuKDbEG2x5o6ccsNNqtYrpfC agUD6Ere8vXh88vcvjflfvZmV27DuY5L+xUZsIqq24A4Oa2y12kIzHvLbH6nSF9N WflvEfyE6I50S1g9/1KH2NiT/Dph5/vX3U4HHFc7Q6wBPmcPG/Br/LRNaJMpKubS /IhGBBARAgAGBQJMldGRAAoJEB5ue/FcGPhUVx4AoOVq3JsoPPGFXxv6WUodBw3Q FeM3AJ9PrLupWJPeTDCu/AJCaHs7Do8XdIkCHAQQAQIABgUCTJU8KAAKCRBhO7Em gFA5DKCgD/oCO7hApEgW74PiSOC+YVinlF3W4qUttuSBJKXnGoY5IlnIbevR0+m+ o7QNQeJDhJV4MH3T1LtRUTDygF5YQAp3UknDZ4u8TIjQLyJhkABZ7xNMqVasa8cM mX8RLkiwjU2fTvuckFwTORifzh1eMbLLIVS4vCqz26X5NTLCQyFfl4g54f1JwYlj 5TC1k6XoXSo3BX6v3f9wRlD5gBXwRnx4T4QRHy97AwrdISkchAn/UA4tCwWNV0IY C5EnukLBLyOk7n5XKGGf9Pm8gBbWmsh6Cg6xKBBSnCwLt5DPzchmuBO3OScA72Hu jaio9ZlRCllBEu1Iz5qsTUlU6TfzycAgzR50fUXS2vJR8/k7wS7GzqS4oM+22hUf X4gy+eKyzRZqicg2Buw2FmzRyxHxb4dwlp7O9ffhNu6TXmilmliLbGbuYW7q9NGC eolQA70ljwaHh2x58SYGM9SYfvkh/RWL3aevcEXnEvTN2rnBRp6Z+D/3LswxTqEr EAu3c5ro7EEn/JMAa0g+SDciTasAmhx2eN1NBIigxHEeJo0NOLg8pucmWOUZnP7C V9AtSeMm7WJWLNvQN8R1of2WVRdXUI3fDW2NrEqdaW1fLno3fHyLLD+WDY44b4FT txCwP4w1aQJ0KDL7U8jDEJpqEqqtGcmFvbIvEPzR+35ppM9yYY9PYIkCHAQQAQoA BgUCTJXUnAAKCRDSHNIj7o4N1bJSEACtCKq3Go7TenalQiyPTR50OaWUopvUrhyv jvLAvNnmAh4XalbibGXbt1HcAxVsgAhQChEX+6rGphONYWASggNqDwAQtVIT6xgt 8zLjNIBh4KKHJhPKWS0/59yTBh9cvAOnHe+qo+yPgTgkPocTgyzGdZVXOMIKPoA4 taEOjHkSVjHmhz1NE8MxSl2D3Ly4kdpPUvcbqXGZSxB9P+RIqjTykBZVIljKtcFH sVbCJRY5L7XnzEqP6vSC2wLeO108DKCdA9h+dH6RT3l++NMRdet/ZJgnhEUpQ9ln DqVnXAZ52kMwiyPqsKpZQYZF7iCwfsQ/CaZmLogRbXSnTr73VbpzQfkRIhHZzHTW yUlllaYBQZfUA/c1MLt+JeNwqKCrICBhv2h+pGLMQrWECMmrnRAeupLFQi6eNfn5 /wyPYVSnbQv/cj0hbBh2r6JYZq36k3U1jpjMJXjeQ4artWILdB5JZ5O68PPVGmnP DZyZOtDT6rNQSl4cPxyny59N3G6fceHJzmAb61Yt8Y1nk773z0Vh5Ie+W51/AHK6 U4P4r9/WqgVuW/g1foT2oupF5HDfsaBvI3/bNnwMIhIxHg7/SC/bT8BDmPoSutlZ WKyl3NXCFcaNqxu/aJmZfzB9KxRY85mkLa1IoKMixMrE6qrWXt2D/mvxDwGd1x1Y +xHFHaYOlIkEHAQQAQgABgUCTJUiRQAKCRCKr4jW2E5BrksoH/0azGeZx8B9n4Xq 9Trs6AXROROiWsSrnezZXBQHBiB5bqqWZ5CYcTmxsBF8GCNgpiClAXPT44TwClOe yTsZDUaCVQpfKizeIdtGPYE6/JaDZbJ3RsqEEFF98HvGjCA+TQuTJzKznR7JkR7/ btsFpfx/KdHJj3TFgcoQ1Hy1Ia8X1V55Qyr+A/+sS0MsliwtEtnD4yaa1ecz2iQU jaxGnRjtN9iIaj1YCH28PpXUXBoraqPdvK76D2BTnP2wfY3EDGpV4f0XCDfqj/xk TWlgpqn3h8lLOg3+T8zM1QgKyzHRtixeWcR0OKJv5vUC4ojXQ0q3ChItwuS98A2A iPqVP7Ul9cPr1yayQmuXZP0QJiYmiplOLU7suCNT8J7kNgiluX8TpEWi0XPUMcUD eDcTs6dlYVmM6wsSltzXhUqerBjfGyLl0VPySlFFw/AiPgwo5M0Za20fOXMfm6uz sfMY6YarjpDNo/BaNT6oizNgw5L/Ai1wNCMNejV9aqS5WY1izUkej3j19MuxVkHB erjQ/ex2jUcrHE5w8Wk/FCB20l3WjV8qj79+47jWNAmjM0aSYR1bKznoJC4VJWD7 1bdglGxIkPakbEuyI5KUfK78hob4k/n0aUHnF38vnBKHrVhYiHM8+RHdl5ejugQt RrINvpHp6BwnlvrODhGVBR8Iws7TU3lZIfVv2wyHHJ1qqQOed0/4Bs30qb+43Uzp N/vLumF6wtILJeWyNHg8MIWbS32131NWVmVSmsLsphX1WIeA43chlpIDHr7c3OXp tWZO8uOsGku7gRKbzs8C55xtgXKLFe05cBFpePGz5+6z6rN1QtrajkD2zEA7kPHN pj/vqIzPw1uBFaU/PHpHvXu8ZVSoWA8odrH615z6xgtgfss7QYyS/fas5xxfkiSV LM8m1LF1tC8Gjf+fph139upEsUeHkR2bkebhj+rLJIkVkYxrPsL7hsppqm45s7g0 HIdOkh30zBh3ZFxPhS/rKN4XCwrfxFyCnr0YKuDr6vIvipCro6NXAyNgjcBAMKxv 8hVaS2YBD4ZRzrsSNrKdG4QYZci7UBDbFuMZJ7jE5z13TiFDxeke6AIDAe0AdW22 hNdoopfe3baBUlmYc9cpGY3Bf7eeHqpmw1A9kdXLdgAXtARbnJnl76atvmIUbVQo 6gjE1m8RfmhcbjcTKvRqFY2AGlAhAsgxV9HLCZS3+HXWXIMjGGE3/KW8VKI+bH6A 6PIPew9tdUkkfnu3u4Tdsh2K/F8azLxbM1QW9lpUQAu2he2ocCkcDbfftHzpqksZ vynIamR44gs87NTp5bN5YO+Zeu/tOv+g86OnR1WzT1K/cXVGPWFgS0vmLVm5UVnU Q4KsPs5etDJQaWRzdGVyIChJJ20gdGFsbGVyIHRoYW4gSSBsb29rKSA8cGlkQHBp ZHN0ZXIuY29tPokCHAQTAQIABgUCTFk5OQAKCRAQwBxaL2BZ5+o0D/4rPcQeJCbL SIQICuba9FfGID8NbR1o8AZeXlshdh4zd9PrUj3zkomeDa0H5uNFdbECzxfE1vkq /cYqUAPQK9lRPKhwFanNAsz1/4VHXqcC/mTO6VX8hmWzRqm2f46pRPeA90kn+hUv yhRXy2VdETOyt2VPQ2rdE/mQNuWrls8XQ2x+zRDSwCdM4vzlmBlqD6zx7ESibhxE TfsYIU+b9DsRTAyyoE3fTCRd1hHILmb0pliT+uMTVsLFsIGkiPkQbVK2A0K4rWRn YnEcHuPxDcCcn93meAcXqCF6jCa3/BbSxqbRxnVRakXo2/FJ6bWB71HuJJoluZPt G7M0Qgj7eINKx8+EqCyqAAntOJb9X5P9VadEUG3dbdvB+RRasxByf5dGyUU1yUkJ yIbJqvER4rQp1CCXQskuIQ+NhJRekXCLdwUnEK94umqQRc+7mauSeudkfPWv7P2Q oikrX2ht8UJa8i4ySv1SkdKJAvpObHH4qFJh3m9kegUc1NETKkvHtTfzuqrV781E yawkUXD/cMM30F20Wae/ECxg3Tgt2QCYOclTbEmG/VQIawn1s1TQ+eoBABMHziy4 3TzC9p9FPAN6v/uaMOlnZc8vrxCSWTwLcFgdYZuOWKG6Gh5ceLkpuaZt373ZLnwF o39GtVt4mt5N3HVS60v66rO44qvhbRSATYkCIAQQAQIACgUCS8WWGAMFAXgACgkQ rV7bt5PsV+S0/A//RlBktihHSufSg0UKRyiDAxdZEKXTgRB1SzqIP+8c46JBV6rd orbE4FeND2k0V9sP3G9ziuc3lHMPsSF6VYvIpgQaDqsXT4sxx7My2DXZAKyvqIze ElSikuRfsEfodE13G3VZJj2ZfqTqqTc2tjF2vWYeposxLQVbqvwq9fEdcTyjwB+I Vd8APe7Elg6hiRYsd5TfzWhTLoYtJRWDAMnVZcUHmuC8jftduJfmppzK0yUYLOCp G2DsJnLjuSI8nCDTzORMdaTAD2zjxWwtdDe4g/HpLxYenF2Mj1LIYU50g8iuaWNV vifFoTq+yh6eEWokoUmh+53YjRWVvCg3WJ+ixCNB/piTbRznfZ9fxnO+9ZxUwh0m 4AWVUlap4VMp/evWJX98Gyg/6CvvAzhFYhnuOAMX99BaSG34nn6EH/UI2hE/SeNo qzrRcOA6Tm8fP7A82IRZWMthlDAlMkO6G0ahzIK+2tXh0JL5G1e+CSLCcxSOnFV5 uBaf6Yd1hhDEh8Dmmso/SPswUUHQxfy97L+4PaUrd0POtedEcVxorQTNApRa4XRU cX1jtGQ5u+Y2wE/URkEqoyPZ1tTREUqcU4jd5rgr6rfD+3xPSjMWhbn+elIp6MAj 1zwSSILdxwuKrGCc17w8S8oNL0xO+iNK4TSNXBD32U9LrMm7COUTXzY6GU2JAjUE EwEKAB8FAkvFft8CGwMFCwkIBwMFFQoJCAsDFgIDAh4BAheAAAoJEAtmIFBiWQgI Tc0P/iJ0w1rEYWYc8Gpi9EcyvesyP8oSFFk9iAbAFQGNK0TrApYa4BLg4s/qHY5S 8XGaJcwUEPni7G50+Wc3H2/QUpV2kJsPjqbGJxngfMwVAWY3QAFX5qdnAL8elJWE vGXJFcHvDxuAxMtPAzHmNqMqzTHvwpH4oNk4mRqfLW9VBcqIMd690+SSV29wax+S sUeSSVKZY2nZ8y8ycDVtgGadIV8qdGBA5R4UkLCojetysoajJALjo+3yb9XGZXox tN6jITucWIyta6EWuWf/ErI/RH3XGd6qMKMMcXiJhzxHAl0j1RDsIxXpal263OIi QGotBiNLP91aDR6vu8Il0FUNi5GeS9qEm/GWiBPXSDdTnyZOy3/A629F4cbVnSWd 6AVDzxj3JozBCsYOGu4EpQZvyspXUWnYXXa3gEe9QNaWi47mlLTNhHC5DseF9l25 4W6m15Sk9lGRzjXJSp0RU4ucJOm+S89KOsDvCiqD+++xea9rEGXsJjGRh4DlGO+h mMvuW4NOV77zdFArvsnmJ8GssEUVdSvxo2wlQsYiEg9By9qqznth82JCHl82D4Rj iGjTLJAkt/kPrbHCqDdJDTRFWVlAmqXKo0rzV47kdV5QzDOdw+e6FHlO18g1vmvQ QWLVx8seFzKvuvl91j0CVQSZKC1Pc4i0wKYgAvmRPNZYb/z0iQI4BBMBCgAiAhsD BQsJCAcDBRUKCQgLAxYCAwIeAQIXgAUCS8WIxQIZAQAKCRALZiBQYlkICK1gEACX NiXa1ctofMvjGHkyajyt45HdbkSpvcEZG6uZCkninKVUFxYhsCCJ0UMYKlOS8TFY HqeorHhuNkJsKdFAuxFHHrSdUTbI81KVXZ84YDYyYx57pvjtd0uPPan8XQP3dKMW xI7A72vv7JYERLONHqAN4kPVdkOs5BDN2xT9DoQF51vGu9kLHpOKBlukn2Nvozm9 f8v/tQXiMoT+l7WKG3wKBEbmxz6iLklvVwwCiNt2tgqsgGjhAiHPak0Ab4UoKPYu yc8B1BNhojs6G1+UZxCXdp75GAKV29ULjPA70vC/WzOhu8EJ/A4LODsWZJLqQoKt sm8n7uhbrrlQzmOvk40LXBiQVe56DW1sWQoopuOfm0LJtuAnWjiIRNwjyQ2eqIxL OUCVpQEU9m2ufOpY3J3lhehhHeDCCRGh/7oIyVls1M9flmElGeVKPThagG5iv7EQ tuSCOE9LAJeOE20YiNbZk6EzWFY1RjXDvJptEsU+k9WRimy4LBZyMKaRTxfA6O6G TJsGmNirA30dmE/TsYYIFj99O363d2EWE2aGO32ETQcbikYFFfT4f/jY8DpktTSv 6iB/ODlQ2iRXYf5bPBWJ3b4mUpzm7uByxNOBT7QC3v9Ff97NGaMssWF8rX3us/yk ti439jF8jPp7Zjd95IEwLNAroe3DaAsJE0E73+2dwYhGBBARAgAGBQJMldGRAAoJ EB5ue/FcGPhUaBsAn3n2NUiF3ELrIAWnYboJM6znJRAjAJ96oMAx+IZM2GdmwiXO jXtUE0cs/IkCHAQQAQIABgUCTJU8KAAKCRBhO7EmgFA5DJYAD/wJy6ksZt+PT0eL /fPQEzODpBEiq5/6zLgLBUZClMKkteBZjntOcSpgoBndDPlf2nyS3mDwimPk5pnF cOi2IsD25dBkF3AMFND9diN+hk2Po2SZmV0Ib3Q72s5Q4YE4weIvgral2KGkfd7j JJfrIqiCYp+6VH8Otg2jjXbLZzEIrhD0T6+88fWm1SaC/1mDXhGkrIm8XAJeG2Q4 OI4V6AdH2TsrAXN8CKdYpQx8WH1tGDOISFSHahGgVvj4+Msyr60K7OHJwYOqavfy /wjEIkFGEcl+fBe286bV7Yxqj7VZUcxd98qloolhi0IuCV985xoEZrf7mCoOs+2T 6B/hO1Sk2dimh4zuhsM5uzYkOMMNU7g3J43K6RyVgbn0Iil3ZeXPcnWanKKfnq0w oLQHutrEWG6gSSrujCqvEbctiCCmC74Wf2BkB2p7DegQlh7a1s4+W72aLs4CVLGJ dzAZ1wEE9ik2qZ7Cy+m7C7uxQMSTy847hhVRZnHu/d0TDCYpoBemK3B0jb2xtEMp FIQ9V1a88FI+V7yyQQcdx/7JELYvqnhgnwGfQ3zUneSMLYGPdw4OzPsn4srOVODd 6duuv1Z/HmKon0MqjFpOwjN7mWA+cLhDTBLd2cCfIA1vrjtiwVQEze72qSY/BPSU XbYIriXNCt2Y6vABwKBGHDH52rhSlIkCHAQQAQoABgUCTJXUnAAKCRDSHNIj7o4N 1Q7nEADqyRodhe27LE17z+7B+wSeIoCg+JyD+CtmS2sEGsDr5nqjJPniwCPXT8b1 znYB5vhXQDO6bMosZGkGfgQlDaFscxbs6aVsUh+7KW1ccN87LNH/8mpFaKlqiPYr ABe2ns75o8jLSN0FOAx97nj+dFFB7P1Brz8DeIUWURrsPGjj3ElbhV90mNJD69Fs VBrHaDlZQEfaJG00ilQ6Wg5BbHp7Us94wg9hNOj/U0mnTzIyRaWcAibG8XWTO+Dr OIX61RllWRwY1VGY7xQ9NyM7+nIU9WeDp0x5dwnKCvrW8mh11nP2Sljh/nNoRIz2 PfdjKPCCInRaHfBsY+yZlQMUh5qtaW2Zl/STgPzE61dwljOfSPKv8+g6d63R4H1r 1cRs1jgZl+YsZvXZwPYNbS4rRRJ7NXowVFpaJhvof0MRKbsyN6YFkmsCXytSs8U+ kO9mlluyHBF4TARv3C+xhJooRqMoaxh6Y6bsdKx1xkO5ZHks2CzAPidk1rVGbXJg 6jZypfm7ighNjX7y0uRJdG4s41JhTmQiQYji7VICQ9uf3+8NwwWK3jAbkScvwDN9 /gLxKNIz64cq8rIqxAqKV+N6Ujd0WHrbqFfMOAX6jsMocfsxD2/xZQQ4Z/W1mgGz AAnHDXCC1y5d+r6MRbtDIFZoNP++wu3lINNMJW3vMWQf3Khn0IkEHAQQAQgABgUC TJUiRQAKCRCKr4jW2E5BrhGtH/9fojMEBEzXtrA0gLqQxc46M6uUvXdDU7d1+fNs CPMZuFLnWVV351d8g1mOD7KxHFoP+B1L0MHF8tSj+oiwMSoAIUI67s9VScn/JaTK TBRK80TfaWP3R3g9P5xVnOPXAoCgIIOiO+aErqHR+zSqFsriR3l0wrq1rd8U8aLW qBXL5WK57ilEoC95Qz7cpBjykFQhAikGVb4dXMIykpr1pK6dKhw2FGWejAU2bv67 FoWOlRclxthbqDgrolzTOmwo5XMpiDrbhwwi2ghtUyEPvNQIufyGuLVz8yJhz+0z 9LGBCjejuelbk1qE+FK3f9kfsvy+L4+Tih+jZgkqyhZcBrhmw+JnllBxt9TuYghU swYcDU23vMI/r1Sa5JFbqAu9PMO466Nq8MI5VVEEm31+siwoH6dFhhPhDFtE0u4H UFhhXIlHvDIpXSw1AMema1U2MtHZq5bbfHybGSvY+/7/9Emd1uavqjqwgxtO+iXw vvnkF1KsnBz5U2cnghQQuTGFv4zAA5VeKUtto5kGtGfM2Za95LYFhx8x1S3fiDN2 cLxIc1UcxSmnZWqIda8ZIz5tnbIadyisQuyIm2jtmXJYI93u4hD9vFz/VBP4fySM QKmqrUGC3ry/VBahmk9kTSevJ6N05uFqIbUx+CPQRwO3b45unpuVoTbs1OjX1qcU T0mDFUZHfedOR9YTKifOHG8m5soHV2NPTQSoMUo7vMNA9xkhHe6k1RCun8LWrf21 rHeL+1snDnOsbcNkPgRE1omCjf37ArAgiHY000Z9RcQ4RU6/X+2dGcMIAbYZ3DeK J4KWPRn68MHTjslVDsL2BTpQxc6ZnRNa9h/sSPRUwwb8Mn41vx+qwMrd6WzTmyV9 JkOqXbz8ZUfnAzLiPmukxK+7BK3MJTZJJ+DbbB4qPgmn4Q5Gc93iFeFke5505AWz aGKsK94vGJvF979r3jWjjG0upvCi96YYJP6jYGH7YJdSsLx7nSNzOWy/aBLxmrAM Klf5kwsypcffD5R99sbCAGCPibi+viJ/vEAurEmeBiSMA/9e7r/YIUD4FxGdlKVd nWpgoTEhTg/6ra2sGLXlVVPiKJCfYxCPwMUkf5O3t7CQ8XAmUD7Rbqo0NZ+Fmd2Q IoX/8IVSWnet0MuhgKHSY7RMZKCV+P6zzg2ak9pUnU8VM2iiCjNE8P5W5pihJPVm LZutkyfl3iGCFGD+iKASYorhOxCK3yoL8roXh85wO9NaRz/F9fZlBt/Z8lLOZLj3 n7Uj46CUPuWZ8JSoHnHAxB2bzjBRhdBu0Ay5HNM1abfiuQau/8TljOLIqLdho7Yd kSkN7o3ev1lX7F4orBH42NySg2s1B2SIrch1ajJg4aYXqq4o0cyRzI8BEAABAQAA AAAAAAAAAAAAAP/Y/+AAEEpGSUYAAQIAAGQAZAAA/+wAEUR1Y2t5AAEABAAAADwA AP/uAA5BZG9iZQBkwAAAAAH/2wCEAAYEBAQFBAYFBQYJBgUGCQsIBgYICwwKCgsK CgwQDAwMDAwMEAwODxAPDgwTExQUExMcGxsbHB8fHx8fHx8fHx8BBwcHDQwNGBAQ GBoVERUaHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8f Hx8fHx8fH//AABEIAGQAZAMBEQACEQEDEQH/xACaAAABBQEBAQAAAAAAAAAAAAAA AQIFBgcECAMBAQACAwEBAAAAAAAAAAAAAAAEBQIDBgEHEAACAQMCBQMCBAQFBQAA AAABAgMABAUREiFhExQGMUFRIgdxgTJCkaGxcvBSYiMVwYKyMyQRAAIBAwMCAwUH BQAAAAAAAAABAhEDBCExEkEFUWEicYGRwTLwodETIxQGsUJSYnL/2gAMAwEAAhED EQA/APK1AFAFAFAFAFAFAFAFAFAFAfeewv4IY557aWKCYawyujKjj5ViND+VYqab onseKSex8KyPQoAoAoAoDpx2MyWSuVtcfay3dw3ERQoztp86KDwrGU1FVbojxtLc u+P+xvnt0qtPDb2AOnC5mXcAflY+oR+dQZ90sx619hHnl211Pl5Z9n/JPH7Fb2N0 ycA4XHaq5aLmVI1K/wCqvMbudu7Lj9L8+pjZzITdNirYXxzN5uSaPF2jXLW6h5yC qqgJ0G5nKqNT6DWpty9GH1OhIlNR3LXhfs95FctuymmPQcTF9MkunyQDtQH21OvK oV7uUI/TqR7uXGO2pbLL7OePKg6rTTtrx3OR/wCISq+fdZ9KEWWdIlLfwDw3xxDm LuNLOCD6u6nleQgj2jB2jcfYBWb4rU829e9EdWzW8m5c9K1Ia2+6mFy2bt8PHipG s7uVbeK6nl3uWc7F3xEMuw66Ea+lSJdunCDny1Wun4m14coxcq6oyrs4/wDnuy0/ 2u66O3/T1Nun8Kuufor5Fjy9NfIsHgd74BY9e68liuLi9Rv/AI4UjWSALp+pgWXV tfTXhUbLhflpbaS6+JpyI3HpBpIvFl9zPt/dOLSa3ltkfRRLcwRNCvJlQvtH4LVb LAvx1Tr72RHjXY6rUs58Q8Xuo1nixVjfQOu5JoIYhGwPvuiC/wBaivLuRdG5J+1/ M1/uGtG2iLvfth4nmYjDHaR4Mwyq7XsDOeooBEkISV2HuDu9AeFSLedcjrrLy+ex uhfmtV6i/eK+N+N+NYw2uEgEZk07i4LB5ZSP88n/AEHAfFQMjJncdZEe7kOW+5IN OifW2mg9STwqKtyIpa7DRPNtLQWryAcOAC66/G8prWah40RsUH4IhrvCWsdzcXdh jxbXl1JG1+VXbv6aOEcgEqTrJxI/Ot6uya4t1S2NsbkvoZx5XKYPB2O/M3sNkFBY RDTqP/bEv1MT+FIWrl2VIqv28THjOcqRVTKfJPvbmriR7fx+NcdZLwSd1WS5cf5i W3Kn4AfnV1Y7TCKrP1P7ifawIr6tWUDJ5nL5SXq5K8mu5PUGZ2fT8AToPyqyt2ow VIpImwhGOyoc9vcTW1xFcQOY54XWSKQequp1Uj8CKzaTVGetV0E683X6+89bd1Op 77tdddfnWlNKCgyvT0KA6sflspjplmsLuW1kU7g0TsnEfOh41hO3GSpJVMZQUt1U 9b/ZWSPzDD201xeJiL27i37EQMLiaN3Ryu4j2Tdt58PSqS3gwldlbcn6divt2Vzl Cu2xLZTBS2eLxmXvZLZZcguhiXWCdW0bUMhJ6i8PX2PtWjMw3bt8k6rwMu5Yn5Ta rySZ04PwvJ39jc5mFUjt4FmZJ5yZHZoQdViiHoNy7S2o/OmJ2+VyHJukfvZhhYjn TWiZMp4Virfxy3zuZy88aXMMUqQwRorb5kDCNQ/ULnjy+alvtlmEOU5Ohvv4Fu3K XKT9L3My8t8vsfH8BLlAzS9CaPSLgryRu5UKGI2k7eP08OHxVbZx+dzjHROtK/Mh W7dXSPU8v5jKXWWyl1kbpy891I0jFjrpuOoUa+yjgK6m3bUIqK2RbwioqiOOszIK AKAKAND8UAUAlAaj9qPuDbWCJgsoypFuPY3D8E+s6tDIf2gt9SN+1vXgaqO44bk+ cN+v4or8vGb9UdzambGT6zXAjYxjY4uNCU19mD+h/wACqCU7jerbKtzm3q2yXw3m V/gYJLXF3e9JBr2eizoSR+r6uCcPU68RUzGzrtpU6eZKsZU4IiPIvJ5ZFOQ8ovBH YWyfUpYFdoHCJERURFPpoo1b0ryd65fklu+i2S+3izF3J3Z66nnL7i+f3vluVLjW HFW5IsbT0AHpvYD9xH8PSr/DxFZj/s92WtmyoLzZUqmG8KAKAKAKAkjZ8qAQ2nKg Gm05UAhs+VAah4F91Ex8MOP8kia4itwEtciFDyxp6BH14sB7Ecap8ztjk+VvTxXQ r8jDq6w+BomJ8ywuenubbBTEpaw9xcP0mjRBrpwDBdztVTdw526Oa38yHLHlHWSP O2ayeWzV491kLmS4diSgdiVUewVf0jh8CuqtWY21SKoXMLaiqJEd2hrYZiG1agE7 VqATt2oBO3egDoPQFp7PlQCGz5UA3tOVAIbPlQHXhcIuRzFlYtqqXMyRuy+oQn6i P+3WtV+5wg5eCMLk+MW/A9DYDxXAYKGWPEWQhjugrTMzM7OFH06sxPzXJ3smd1+p 1oVUrkpbme/c37ZYHH4eXN4eJreSOVTc2+4tEUlO3VFP6drEcAdKtu3585TUJ6ku xfbdGZUbTlV2TRDZ8qAb2fKgE7PlQDe05UAnaUBbOz5UAhs+VAN7PlQAbIgAlSA3 6SRwOnrpQEp4paFc7C4H1JHMy/3dJlX+bCoXcH+k/av6kfJ+g3qJ0it1G3/1oEUf AUaCuUaqV1SheWZKS48e8ptpW1Ec1pFCh9hKsbHT89TVnhW/1Lb8a/dU3Y69UX7T JzZ8q6UsxDZ8qAb2fKgENnyoBvacqATtOPpQFs7PlQCGz5UAR4+SWRIo1LySMERB 6lmOgA/E1jKSim3okD0f4z4FhX8RtcBmsZGxjgjkmhfRnSeQHqMsi8Q2o/aa+M9z 73eWXLIsXHRyaTWzittH8yyjbXGjRmXjfhtnafcnNWkQY2GHIWAOdzFpW3Rhj77Q mv8ACu8udylewrVyX13I1dPgU2aknxRfb+0jWM6fFV1q5yIEkZz5Bhy1r5OzLwkg s7uL+6FmV/5JVviXqTtrwbXxM7EtY+TZnps+VdMWYnZ8qAabPlQCGz5UA02fKgDs +VAWs2fKgE7PlQHf4rY5X/kxd2VneXN3YlJo+2hinRTqQCyNxPtppXOd4yVC27d+ ShbuVXhX3kq1GL1W6N/8VyGRurS3myqNDkJrcNLFInSfRJHClo9TtJU66V8n7nYt wk1ZfK2paPfdLqTIszTJ5jG437g5uCdtjXr75oyrB1EcYIkcjUdMp+724a13Xbbb nhW+vGPz29pS9wtNS519xI3nkGMki3LdwlSOB6iaaH86kW7Lj0KuTIm36Wbly8Nm 6yWvZ9o1yDqvXfeSo/sGhP41vb/L4t78q+4zUXFJmeW2JvbhXMds7NE5imUDirr6 gj1rqf3lr/JalrBc1WOqPm1kysVZdGU6EH2IqQnXVAYbPlXoENnyoBptOVAJ2fKg LI2we1AfJ5IhQFx+3nn3jHjwmhyNq8c8zcclGOpqnDRGQfUoU/GtcJ/LOyZuZNSt vlbitIefV+8uMK1ZlDScY3Oqlp8JbfGhb7v7ueBLexNFfSS70YERW8zEudNv07dS dNfQVyNn+OZqg1KFNerRJuYjhHk5W0v+4fiZ55reZXPZu5usRbTiwnjRQ10nbE/S okADMr7X2jXVTXa9osW7GMo3X+oq7a+w5fOlZdzkpVfkVfNYsyZmeyNpHJd5J5Jr U6KxCH1LH1Xpf000q8xMu3HH1/s09/T4mqzfSt+wtlh5FkcQ13DcYWaayklaWK7t ArynVQNZU3cf06a8NB81Uft4XIxamlLqnt7mR48XFa6lRyE9plr+W7dmt5TovThk dGUAkjfpt1bj6kVf42DCMEm+XmWGMvy40TqdCJFtAB10GmpOp/M1PSoqGwf26n4r 0B2g+KATs+VAJ2nKgOl49RQHNLaFvegOGbGO2vGgOEYzJW1x3VjcyWt0qNGk0Z4q r8G0B1GprXdsxuLjJVRhOCkqMmx5h5gvUR0tpleNgJGUhg+iqh/dqF0Zj8k1Vy7N b0o2R3iLxKu2OyrXhvTcSd4W39yGIcNyPxy9Ks1Yhw4UXHwJH5cacaaFxtvOslb2 UFvJjTPfksJblW2x6oAUb8H+rcPY/NUk+zyc3R+khfs3XTYh8pc5rMZAXd2Y4lie ToRxIATFJt0SVv3FSvDSrPDw1YWj1e/gSrNlQPrDbTD1NTTcdscbj1oDpQGgHUAU AUAnCgEO2gGN0vegGHo0A3/Y5UADoUA4dKgHjp0A8baAdQBQBQH/2YkCHAQTAQIA BgUCTFk5OQAKCRAQwBxaL2BZ50G6EACPPFAxumyI7I6wCxmWteHF/TwlOON0lmA6 /B3sOOxluj0C4d1Xx/qLIDcEMKmxVRQTF5JNUMLjseF43ToXYHi2QVJ/k6IMiGGV 8a6x2Wm/BbNLulVMn7qX+P9uKlzpDzMQweUqSnWuk1vENhCrM9bLC64q76aLdACr +bojsNDsTty2F5bQnlKrQCxtyY5Lo6OfLnZO/skegViwCIvhxE8FIS34Uiiviqle rUjRRZ/n3jZHyg+TO6pW5rxFxjrn0PXqSc6rmh/DZLv7+X7a7EZvyW+tr3/42KYy 78/6xFC4M588FOLNG1sj+HxsFWUnckqhDn8Pt8z34MyXStjkkDPJqUM77WsCJ1kr 8bNOmYdxCWSgof74TaApLL/MK3UxR96o/3yzy07xPzVh5EtQa1rQUI7G37vGotdq 5PT5uv3VJarx4sbiXXtfjxN2QYTI+suOU51oZgzC4AHqWx/zrnbOUPqy0aAMY5lc AqHfMLzn4HH8HGRogw3uYS79Fd2pdB00eRVfcQ9iZ3M9EgyeS/bD9VIFjIvNJPVQ BjU6NvVtcmsj9fCGVr0TSnyG0SZkjIN3vcIjHH0wOSeu8GQl5WdiZrReJRV8GmsT nxL3kAAQoWffyQlFqqoyhEYih0bK3+WeUvRegRzgmgIm3RgRM7Y7u6veekRZoI7B gUWMGk1Xt4kCIAQQAQIACgUCS8WWHgMFAXgACgkQrV7bt5PsV+TyfQ/9GIL6jGMP i0dIoGCgGSDncs+DgxOiTkjPo0Wd70bsJV4Tv1nhkLk9czNrMCm6yH5ED8H4zYEs aY9+dczIte1OWH8fC/nlaUlDD4/Qt850RfY4vNHedoQzH2+NpoxYsveryzCwUq49 rPWYKiw8BRpN98GsDmZsfNbZ3sA9p3AppNYFzVmkN4QqqTJ8S15citEQnV0j81f3 LrvnhpxHHoP4PgKJ6guInSIHQQc2h2ifwtQpGWkoDMpGMGY8hXvHWe972xP4CS+1 eduB3vnMxkDoKmc6km+XmbMpiW0lMMVvb0Ct90Dlvy7GziizJqGAtK463ok85mDu M+3iDdPOcEGneUZ3YmftKVFNrILsUTLp3xSoPDz5x/bgQPh+aetut6Zke3MvRyp7 +ddceUsHnRyRfVF1gdsWdCgNqsC0AF3LBS48uHoWVsnLDEe3dcRD9aH1ZD8leFtO 5u9SBTCJUZ0AfLbe1DD/7r4uLgTClzpafVOFPuZ/fH0becQ6euKksFTC980Hulln /mEribQSfGzI34WedcKk8S7H69llMm4WgVJU1jnhf3F7OyJo8CkzdupqWIm00uFm TXu2PrenmjdJEnep8CP6aaRrNybp0Z8UpnZjNmJ7YCciLJ8dXsr2t1/PMfrTQDpq GtFdeZsWtZHQNekFNRgLW0NmfddVvNkPMWGJAjUEEwEKAB8FAkvFgVQCGwMFCwkI BwMFFQoJCAsDFgIDAh4BAheAAAoJEAtmIFBiWQgIFNsP/2//2YK8VlBnwxuoiVna a3064H8J8rGm8ugXLrcVXp+0iWIFzQCEnYUITHXmBw5B6ezdJvRL/M7ibMHAPtVx ivkSrpARkGdaX65r8WxgVyquMUkqpywZFtmFwPzoxXnxXDb3G5QIrHlh9QCwLtFY BOAx1XZTK4AJSutwEOyFBSPxenGj2jB2J9hYW02lCSklcsjHMGFI2awM0XeusuyY dESmYDyh9Zr4SkU0GsDVUhhjWW6i3DI8OzIfR0kmef31dAXP6pt+yis+C5j2/S7c DMdWtGXvBfPK4SjxQXqkY1iwnIwz1ZmQXRMloS2PH1IDzWYVYGBmNG7kn6GgXAOt u+7KcmjTalJYFI9/W4HK1wcwsBNTQVQmORW3QB4baruQfzzFnqWKCOGoLPOH4Z0y yL0Z07SEHG9qjtymiBBw8AX/N2NVnKQPNb6FBM+ISNJBrnyx0sBT4/zJevc3QGUn p8eeRFGTtdlrm++740NK2YYehUO4L86TsWKgoRdnX/Hj0LNHAdCC0KIZhxiFIGyf muceXoV4yH5nAw93DatqpvN+wd/FtbBqGHA8c7przuttqsFmox/yAiR+CK01ojnv Y6c0rp2XjfS7A3DUjNtcbuE3D69ZdX2M29ZJlXwv5jieMWVDHdcII3vl0F9ko4L8 +8QtCdFG0E2b2YJpEOoMiGQaiEYEEBECAAYFAkyV0ZEACgkQHm578VwY+FQjAACc DvVbxLSgR2oMBeGSbxj2dQC+HhsAnjygf54lBCtiYJ9tajtrrZWgsMGbiQIcBBAB AgAGBQJMlTwoAAoJEGE7sSaAUDkMqB8QAKgAgt5uH5JTiof0s5wT4fb5P7PGUnoX sGx6ssU02WdtM3WKnBgm5iivMjCBlCEW1d2Hh4KKxTpRvfdNdFbL4gxhojpxiQje aMm6ePCB9nMN4oo+mpW3k3SJCsanbf+nrj7xGEu4KRR9AzejYBVmWxpjFNuGkH3d 56Is84XhK7XTjqGtShnzdK9ObZs2SqWPB9E0oua6U3kPm2LCzmzFKSJN6nFRzVLR KgNFR5p0zd3LfKQd7jVVoZDypFAHft/8NhebP/B/rwVQ0mCTu+pkO8cZB6AoBB4j sfrRVvc3ebK0D063Edma7FTdsKydNaAC+NcMryI8RnoRE+jJ7HkMLZ8kZl1IiKbE rmeO/J8+/2LOzCQE+gM8gWzRJ0byzQTyWnplrh0LvSkhLCYHykkCEgtnxTKMyMXe 0+d1iHKj6M+crbCSESf8J1ghPafJKhdbj5JM6CN4Wqa0ewDD+kzzjb3zfCdkoRoT O9flkMhZm+F0LLK53sl2mvDAACHeazuiMC6NPhUOF3gfQWMYUPIGxaUepllK4tCM 3iGO5XvD8wWPKQwfrYv6Xs7gI8q8omTg7F1Ly3OgZlBHDy3IPeBarEn0M91IWslr DzWm4a5YI8tgO3s75n53hRW/AVvvj2Z23up0FRC6pR1x4sAg+fNhtEpou0AaCAjJ JhiQK5rjWS9liQIcBBABCgAGBQJMldScAAoJENIc0iPujg3VnxkP/2g7STec2JtC nDYYo4DB4oROKxY1b4+UdXfH1TxX8hxeVTiJi0tL16pMkZFB+OWEoKhTjsLmXSQw IZnZVD9DgU067AOabeoMxgpalfGf4itZgcrbPw89Hbb6hf+9LVMDXFYYPO5ku1pb /w/iZqyuRZPlYZURUGcDd1kJSXxS1fpZYCfib4QksTvyWB6jL3Crh2Ulg7Hxr6A2 2KHAFHwl8cwVz3L8kJhNoCGKAT2sy+h+6vhwAr9hsid+ZnzpBXHGj3vPHPzzY67x GJFuVWAKhEfEXHrr0B/BOb/WalLMDojr+9LMc+PDbX1w9Ut12k7afbhZRlu3Tx2C 5Xn9ohngzZ4JxI2h4JCjIOD58NwZwJTaAIWeKsX6xGx1gkLEgfZ7xa9kgoSrrBG3 S5q+BMMZmOQeQWV6q0hVXnF3GARV8LMgrHq2M8BZSjtihfm8qkW/x57hQ5eEUzaA Nfyq6hYUG5ciG0bQc89qODSuouCO2wXFw5GraDDjsEg3iSq8lTo/uIADSV13qYKK bXd39apzpDB9RLgNzsMv2bECWx9SowZfiWfhXxyDETv1QeSkHjt6ZmYbHxgbZ0OG pZzx3txHUgW3+OEhWlwOy6ysj1vwiPKF5z9cluAoZsa/6/isntjZelL9SqzrlQcE fz+yGAGDLenYfAlXTptWahMI7sXS+wq8iQQcBBABCAAGBQJMlSJFAAoJEIqviNbY TkGuugkgAIA1mqAkyLv9TdiPRi/o9eKqG10mvY5a+OdwacPmH/8OgdLR0E5bLhC3 BQEct9pm4jaq0c46okkxSBqnDZA6TXftTefD53LnER5YYrjqWVTZqXioSV78mydX EVSliuD9OIwDecOS+/XO/IXYMNRNTuBtWedOuRw18bNZ0VLTfVexZjzAeVUY78bJ S6JcKoqoFVMfnz3REAm4DaV8P0kKxMf07JV0AES0S437igkxvyLHhNYZGj/GgRiZ HvbMoLZLpDEScgWFe7PbCu6liHts8PCnN0Gedrid+5bEn1Yb8fz+9KcA6dSDP1b1 v+/0DWPFqgC9YQyxIgW3hq/FtBp1biDDmLaaD5G+lmRjzAxKWBp9yT3gTJ/VT58y hXtJldKEBNumwpyVsWLPxUBwft71+HDDLLRXBTnsd7vnwCkGSgEHUlERNpAOiCNG khoWqEZFs7WgvdnoZJdOSKWd4+ox5MdgZ0CjbLbdbrq0e1Gydc2R/XVwPahJ0nHv aDQI741ZF9VrMi18ltdXmqv+Jj7wYVPeovokmL2MY0X9Zq1xKv6BWkYrfyJ778mz ORhIx8pZKRj1cs2HbUVXzJOHfZVF/kvFiQ9rBfnu1UYkaBpV2/3b7UrRBm0CqpZ8 qSVVpQnipTjEp2wI2Zo6xeJbLjNTTa02dLinPVlAbrCbxcPolBn5LZzNzgDMn/pH AXew7yW/Vx3nyiWQy7feI6CfMl6Red4VbXl3mkSW5PL7uGS7m4cOhkekLUrs8R1C WqsUWxTdmeqB6fm3fIYu967AnxoFsEIeBKyrVUrPLN4Rs/cEvKGa/1GEOg9ZxdXR WZHTuEv/iM/b2HaWk9HkD671+/aSIPz0qgL2jKoNP+4db3cadADiWHzqiXzB8Xvn pnGKcurBtcPgDdsJ0qLAJas6R7qbpBMVnYzGoK8caZjnHDK9BP0DeY/R8Gc1ykR0 qljz9RYFnJqMPlby+cK2u3AHrBGxc2nHbpkF/ltdnKvtQoFYkeZmtpCVPH1QuOjN 8kVcodUtt0EG/tixVAShgCnB0YQVhRBWzjcqvj+pEnK2pu5fPFFtBZkm1uULB7pc vaAtjLV7yPRJBloZP+R3xyktKfXa0OS7XjfSobBzYYj3zjDFVoq0OTbVNc8g0pLM xkPCrBKib5s5ZWokbhUNcU39Cfv1WTAynS2g8hVSU6itjfBNm0nYF/vNz2pLuhYw VjVHT2NnpWKNfJ1hm4pnINBClSkSn2g4WY42FXMkbBRAJ9/bnF/HKEmMe2O4ew+r MLMk+26Jefk+f+q2UlFV691I04nY2c9JeY55bJkmX1QnpFmWWhIm2rYVxD2jXgMo d4JPJE4ZfIqKJ8hHiyDpC7k4aC7uLDu0JlN0dWFydCBXaWxsaWFtcyA8c3dpbGxp YW1zQHZtd2FyZS5jb20+iQI1BBMBCgAfBQJMaXX5AhsDBQsJCAcDBRUKCQgLAxYC AwIeAQIXgAAKCRALZiBQYlkICHd0D/93SF6+rrGpe++6fnmiUQaGJtejOpT0sm+Z E5zhMAwOW84UeYg1UFKQJSrU6mF6+M5zjsRfKGIUxMabOUvNsco38t377BFhf9Bk OkoUqgTbcepRXRgBmCFsLNBd+cK5tK/TeKI6plrd0oWZTiiu69I4prbRGNupA5F5 vAXizBrg6tHewcv5XCZfVMBO3xheBMrXI4B83oQev1w8wbLiv7bJqB1A1Fsnx2dk eHI5A5M982pE7Oy1ynV1AhV3layxeNNdAIW1dEgHSBRuSa/dZ/1rwqvkAkSseZcz VpjyokTMOshNLKRJVx5cvphgvsL4Qk0fwlb9jJnt/HoPlNvfbTErYir373EKwZ1S OTVMgNrWGTTdA+8PV9s8C+JILl8AmVyF5gbMOJNSemXed1mpbAhjmGuZ6AoN3esK Uk97STgabU0lFk6Y0YKHf+x/Lg3ZC4MpT4nlic63kYMLUfQANOmsnjA+Jwwf+8Cb /N2MJN9eG+MzhW65g+0v+6PJP2n0HxSEC5xHYyulqDuXsRQ5J/XrJqbN5X8LB92o O+IL7aHUHnpGTqBS4X8dTkkAHTX4tJDEaNBN71Hrb+YxPWMVxu6QsW8rvQSd75aa 3TF3PMqOvNZDaf4tsA7UNrwaYHxOm92W1F7VLgHzgHzdZRwxl7Sw+0RswaZCfv85 7mT8KUBZ2YhGBBARAgAGBQJMldGRAAoJEB5ue/FcGPhUhjgAoIYaCIidFdgL1cUI WiwybLla+v1OAKCvCsP8RVZ9W411F3FOVn7YEFevp4kCHAQQAQIABgUCTJU8KAAK CRBhO7EmgFA5DFEjEACjWyOy2z+mfJdvmo10A4YXqxNXXSZXQcWtfF0sGQQV3o7T 3hKrX91QPYgjoUoPsRBxE1XUX29CIWiLRKJEoJHKaoVaXYjBvSStrlAA3MXJQD2y wrmrYLZGktAU9IJKhGeajCHAXgQY/rM2yYnhMle4Sx5gNmV6OLXOOgdoSiF7Ntlf VSe1eoHbABaZ641Ywcv2qoOFfZyunERYR66KhW1x2MQWcQU6nqGPk2IhbUduxY5O vmFKmOcbImoZs18ozIo0x1H2I5+Cc0oq59DIFy0o+WaLrrnFeTkvsOik/2jVjcyT MKqXDioQrr8X7m6EeGaSFF9Mw34nqH23hh8Jq5L7jiCzLqCtxQfm+7cw3n3sWCXd WJQN7yWNKkVxA8FkTSXCp4KQmpa2WgPRGmv3JT3DDDQaI5FGwIbVHG2vDAijOQL4 i+LyO0CuwbTHpdtAdc74DHvIYrc64xZu0z3MLAfPQS5PWBXdqJS7xg0zdVaOv+R8 xxrbf1WR2KQS3TQjQcmni1C851N6eQQ0Bd6BPg1ELg9EpSu9jRraEmH+Zv/HmU1r McxgDMm8y05Zv1jKsjS5s8QWjUuU6YPzv9Lp+isSJRj7NVCrTx65NgxDXbNsQev8 5NPx6iUTHBJEsJ8tqDpqttpDP55lvQDHQVp6VUsSsGK/NF9zB7AiOaTxTU3lsokC HAQQAQoABgUCTJXUnAAKCRDSHNIj7o4N1Sm1EADd3Kfmr3x2ab1Li8e4Qbol3O3l YgR+Jt79TF1VI+FSWeT7jS53o0VJlCMqh3Pfthnlj0x4yuZAt+YzDX+N4ZawNDBy Uvz6zRWxlYMUsaPNodqK3BEfPNXtV6WeVWx2uv3fcRXbtXOO7ZHimUfGOmmJR4lF x8WX9qWenXw3UJXqomaSEM/qMTMySRp2uTXSSaUO3D7cbV2rnjgGq2FgTnWETQ8G T4mhE3Fnxcg0cAcLqNcMNK3mn6/L/ifYY3AtQQ9UruK5cTEhkSROMIZ2DmqmwKiS CgUCVNnYOiUHgZIcanbJBw4B0N8EAWE432uKH2smfbHwIpTVPuXGtl1f//bxDhZJ LqY/1hmmzDXJlkOVrSM3CgMKUAAT/Re2U8T6T4Pau/ti2KAj6QEaLlWfzfUC+t2h yjI4ucinP+ldBRlYWr0uwDdpp65iFJUmesppQ2397hZgQRqk8ljn1HsleYKjiNAo cC4unKgyXwHYLjs0csOQYnSMRxyGauw/0MbZsjrLj8qwtFzktGteuuPGXVisJBOK T0ZhAcrLEH1zv07jgUQpwCDgx2n2CJbgum7uT7bFgzqW6c6voEAfXKcupCjgjhU/ sK0x+dRk00GJ8tBDLa26zNZCPjnnR+DwTStwfl6lkekbwg+VAuRtHaft27QC5ff7 Y9e939IBmYtLrFfap4kEHAQQAQgABgUCTJUiRQAKCRCKr4jW2E5Brm1+H/9Lfc9V 6hi4BpBMZh9RGpQh1bZ8U/ch39TUUDhfG8lC7TkzYN+H+S6/7uxug/no1+Yj/YCm hNmwkKycpdnl/37R6qGfeuFm8twuo8DiEvupp7Yorr4Fw1TpgpHs+qEtb+6jng0G RWZCR7YpFkWGg8ZrtG92P9qk9ynxj6ygpE4QDvOTpO7W+d4e7kuNBBqLhrnDvmY7 /sVMuQu4rOlTZa/k0srgscIt5pCPpGtVhRFM0OIJVhkJgPhM57onZW++uEpSg9SV MBWbx27FMYA+b9e/if7kp9A+pcyMel0G9AEKaim9h4He2TaENjRD0F21EGXnSua9 8uTsgMKiUZCd+3pFpqKHCHeGqLkpsI1g2G0wSr2RyOexjtS5c6ppFo8mTUg9YvEy ZLP8x1L/jVDQtr35Op6c1RhBTOiuGpcQT9fodX1KX/EAIjRGj614yXUvvCiEWGuF WvnRei4RblxNyt/7jnu8pdnHQNGy0nFkcPigwu77qxKpBS9LdMk7XgeVcvME4wnZ kM953Zk/YZc0MeN8EyqBxGImHBRu045/ji0BSMdFD5243G6bDUeoaqhBtm90GDUK cjKVGof877x1illUZMLE1zWx0Cqv2X38krrsoa3WPhhm4jw/R3slbQNAQ6HaL8QI AMEbbqo9Pf6xi+GVv38nW6sF/8gTaePFMmWhjqCQ9NXOgJQC2SEBVbkwzEo5D7b8 8ao65Z1kr5xS7AWgHUrMyr2SiT7Ab8478hVVJkBC3fjuVcGSdpMu1SIMDhbXKVhD 786or8up27iGTZSulqPqmLarIm8NPWwOY722HgCMoxuDZYw7WFji01VOPXz8Ncme PrMo9jHBHrtd5UCDVpnXUolJmkGMFMFWhTgsxgdcKuEf7eRs9QGWnGRHrcDppEUs 9OvQXFUvva87EAFFnCh24xwMddGWuXqGbT2UuMeLXEjazkPwXtp9bHGsxVPCDlQa jDy6RTcXNQEqKpsAx1LzQbJbo82hScjktgkfm2LSskGVm3Qb41FHRDEN4szRE84N 9UJCzt2X3RhpfHdsY8w2pSHNaHMD1DWUJBlRGsU4P+VXSXddihWdiq2I3TtgJTYS 9kB62gF49DBCbzGq0ELDyCwu+/YbBeP4Bpv+xSxXE2i1NhxUGjCw7nal+poPfIV7 rv+g5P0uqvad6XJ0q1EzXy2Ls1w9I+uJwNcDa9gZMdX4SGSTCUmcp3zZc29yQVMB j3RxPfP6R7CjRk1WYEiB7cbDk/GJ9h5/aKEYLt/I3zhn+HS/Yd8+DSY8rfT0hn2n ochLpRLwnfKaCi7D1PsvqE2ohpOrP39TGs5p9uKe+iYwpEr2cNAhedIO5jEvsHUE bBnfTiMeV8IVGPzvuQINBEvFfXkBEAC9GUNu8RZ/zY4BX8snhKcxZrv8FirsDPzc ASJn3RUSadGyJJw+0sf0pUg80Zj5nK3X4c/vqMeu3Du8X88CSLCW6BcKJu/jsFv3 qh9htzSiC+wIv+pdHyPLG+Wfqr75rxVOiQvGajPAIE2/jITbI4NYhq3SjzDjzn+Y ZeR5QsA2Uj7c8Kqnc9o6ZgZaNgkvN4vxfleRS8ubzW1HsfPaDIJzvg+u4E5lKWdq Nv1D+rUmshrrSgpVZD7m+SlMbAiC0Xrl2cpYB+oFeEPTM6v8+KORTNnJGVGFBTKG s6lzyrS8Pq411e4bSaoG9VHjaRahrmtw27kg58Hg9FZRtilQblLFWFxx/Rg/tAnz UBcll/xiKHpcshDAr1VKn8TcoFMjrzOPmfwxC6LOIdjLcY0XNSjUM6vNcnJrmsTK OgZGkD+JZk5pSsxnMWNU7VgKWO/Wmjvy5qUa7FZkh/A7FPus8eLf/711NstUB6+6 k/0eoZaVvtZ5MVKhBrkYscLNGOtaV7hwm+0cjQGLK/x0ntj6NciF9pMiGpC+AP0X VIv4rdjA4MC2ZMOf2UttfkzXWIab70MrvxJw9m3VknWOBXTzKDLzTtD4Y0AIGVyz qz86dHlrLXK5Zwort/tFOjpSp9SZUV09nSyT+re36V2VaOzEtZjpf4a1DinuIiQf ugVgb0QnjwARAQABiQIfBBgBCgAJBQJLxX15AhsMAAoJEAtmIFBiWQgIruQP/3YR vBzgcEQAXBrdh3Zfd7QRYJCk9xSNGGzzMVkIKH2n3nhRNRwplsARfnDKMu7ujh+N k3a1zUX8GK2+xhxt0XJ7jBrZoMtEPiSmjLkSSu2GYBbhVsNE3XYnxm19ZpvsNO72 qU4mEjTKElY7jI0oaWntLCJguW0wua4Sc43Nqg6cg1Ttv891l5d1eTk64S/PA9qm QyRG9lI5dtRqNLDlyMPzdWelP3lGzqLPc83HYHKCzjJ4Updfv2bU+eCW/qyyQkic CKyrka0KIyh3GXbHCqmGFuHJTknlF6MLdcEAInBNbjakeWTJinjcivPwPN5NwgSO yte+uI0UB5tWUvwoyqr4e8CJE80M0ZtTYN8rKJJx+/g6EvFUf+qxunanjEV6ZP2L fylVfLJsObnQN0Jv0ae47/F9b2SeWh/CaKtCxi0vzg+s+MKdBTXqUAIPBzQMyL// oq9VpQwqFFMD7fNBjBt2qKRYCmk/UFaqbtG7T6y6zcj/gobPr9QcJYM7FOaY6L0Q TA/H/qmf+xwt4klDsa4DwdVXXVCY0dYsJZ9crRJi61EojtCiC7Z4uMPrszl8+KXo I+u/kObNjQz6YQsKz3Hq4cZB4+n13x1pYZXKxNuwWF2JUQkGvcCg+wAkUKypIrcj c1OtnvugNcNVlwStx1wAekBg5u+QsmyaB/huA4TpuQINBEvFiB0BEACz8LRTLr0n ajj4u5xDZwJ5kWa45ClbiTHCSdePANZQqi7x8qOXdhZen23R8iBKMjLnEix/Hlgr A3OacsG/Xy/CqPxkupOTxklDfThKMH6aifjDr23N3i4ODTyYolh2a8lAKH0WgV1z 85RqjD6qu0nh9Xr3mb4GDFOOqs1ppNf6AzOLTMKFbOMLJ9SVHEgUNRvig4kUid6j AoNrmDLNn/KbtwWlHWtAz4nUCGZfGmMPVKnmg9mwEwfHm4r0/BN2sXK12zbyrqJT siDP4h0MIs81wlWBgHdxwXhBgBJK8vhy4sD2CXApjL2fbf5gjn3ApOdTKrpyTZpJ wRKlSeLkSy/BYKBzbSHmFz3HHTdn0u1aT/9gJYO4MGLhO/Kpm1Ht0aRHaoberswS iCpQQ77EPysJgiauyErRL0ynkDHfEbkBJGbgMjJZn8WYxYxAkVU3vYneEcHhmMZ4 At0gcLxN1/wJykMUiEw/uZmUYpdcVC36c/fM/6jCo6Y5QO6Ho5ENrwEVTSX8GTdU tsKFrDNh4blTcMmTKO9ijq8pNhZ/GpsZPVXpfx9QYH6dJx9Q9W0MLVx90WRdw+Tp DqdSkPOyQndlwsm0+ywPvDhAQ3Gjx5/XSt4WbfT1jYKd5+PQh5/1NyDc5YYQdRkf ftwk3PTDFqAgnTnG4SjFrCS4ImbCKiUvSwARAQABiQQ+BBgBCgAJBQJLxYgdAhsC AikJEAtmIFBiWQgIwV0gBBkBCgAGBQJLxYgdAAoJEGoM2OGpOvr9zPYP/3T/rytn OvMw9Pa4B5rvaQDRgWfCIR4apaEC2nZNjnkocl1tkP1b3wkH2X9DmAlpwqttj7No DJl/uqv4s/SUnB1RyPPBSTmaHmSaKVplSoD6DMh6I9WAbXYQ5lW0DAAE+a45/oiR r1FsE57xevT4p8Ss/QMlVFv6HSaOyqNIgES3/jSlxLBJji30+ZaMYUJCO+yUrdi+ i6oXdpKKodRcfKSMqAcNmadaYzzzfq48ZCcRRxjY4hzUh9mn6RIqwmBFOarQkRG8 jeyyCd2PBPm4yaPPop2/jKduGfQv99q4B+jdZEfm0ZQCGR1f5j+jDnG2lzPTUXZu UpSuSqz6yj2p/QBVaLDYW07HMARrLCii777gZOLMVf3hFMEyRH9uRc5qYalrGCM7 L7koVUzavY+igjo3mM5XFJ8LEvjmMOElRdtjxsyNe47+Eofs0cT6xhM1nKB0FIAm 0m7djGC5LlsWFEQeyvB6Fu7zsFAdQxepTyYX9jSE7an0gQofZq0RqfO0t8+T33NC kJox9YXD8wpkaGIi54EHK2a+dPF7GntH34w571YzUwJAjLia2fELneojGPtUm9u3 aCiPP6GskeGrBS3ZGiOJI4ebCrEYqe+fqzIlUpQRHsJh7B+BfvrkiXscwwceunYS JowU1Rjbruqe7fEkRoqMRhbF+F4ebnB2ZlU+CyYP/R1IwLOjX5MjylDtjVTVULqj UEeuvcRSR+movlF7fOgl5kp+WS7zLZ/ROKWXVJJFNgMTcTGDiy7tYE8c2+0wznZw Je/SQVgRfrob+Wo921vKX+odrESL7J/uGxJO8Ev6fFFXj2EnZFH55POK0LBy1AE5 Fz1Tkx+y/ASj+rq3+ELz51HaqMgYb00KL5x9hL/4H/tDMrkzFx2TDEhLDyKbzt0i 0+8oDUGRt+CBB5BhTsx0MbwQ162A4ZiR36E/jX/B5whZodD+xWf9r6ryHtudPSvm 3/cveeU89EuuKV1FoLQPQ0myshmLnSIVmLLCS1pVpommlNwFkORDRxdziMLuasSB GyKs//xepDSwTky6RihvkKxvKq1WQ/6YKpoS4cjsCUBeuSbWZi4WqGvonRfDmI7Z ehbw8W3BzMIQJjwbRqiqVdCd1FIrD+FNFKNjCo2M1HXTHsjLsYRh20atEZFAw8YP BH7nYeefDcPcJihagnqFEPDUVxz+b50vdCurH91Y/1LO03LVW4Yrt81hIS5q8Ato BAOyOVJ63HlWjDTy5ockVpB4sxIGd8+orp4+Ul9Ryr2Um/AiuVbkGG+6m1qXomMl AlDQ85XiQ9Xjs9ialxSjM7ZSot7Sf+3pUQnxiQionc1HZl0Yc+hKIqAvpPlgb8aD V3aJdCb6dFPeBGLz6ygX =3Dfs2D -----END PGP PUBLIC KEY BLOCK----- --------------020402030500080309060408-- --------------enig290359726D94530D2245FF74 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCgAGBQJNBnorAAoJEGoM2OGpOvr9OJ0P/1KqfF5glSys6L2eUHfgIqS7 SRXGtMXJFJKTs40IujZj9B9THbxJo63vDaaPfbWIKBxYo5u1A9KhW0fMbQFBKERh MNhkTLK2G5TYoEyFXWSRXERuu6gF194cMg0zbuxryJYt6hs9Ushg9eGPBkBRUNkB mjRkDjcG0gfWmgIcEODtj5Z9piQOuIsMRf8WrHggZm9TqVjF8hgo7sC9drcJIHo4 Jqyt3/1cb77KqoJTYe8A2wTLplZMe74o+xC0R3YYak2uKKB0k1AchxoQSeOi/uAO x2haxQmi6dtxgiZLiNk/XM7QHu6oknx6hI7V5IFACdTG8f1DSSNhZKtdJxFBBG15 dDUeEuz49cPzd2A6SX+9IDPIkkjYLHFqW+XDjuE7xy6NLL6+sv8GSuN//PuQlA4V 8Djee0ybo9C/JfTwfhWB0lBGX2xnkJZOT6kKEXGQdmdlCcOEyX7mwvUHmYY+kH2L 1crRuJUxG+jSLSJL98f1MAfdMbL18saU7FNXDLc8WwAbX7bQ1IMPc/J/QPfRlUWd xfaHnKHOHFwvJqgVyNlzxJ/1spklTWokufuVJluTB3kzRKfTU3TBJMuRnhHX/Yxu YfFYFLmHKhligLD+aHxaSiMtN2L5WXU5etOqsWiyYBt4HhYgMS1BLLcIUM6oNyB0 K02bO4P6ziW4o/8S0M0D =6f8P -----END PGP SIGNATURE----- --------------enig290359726D94530D2245FF74-- From [email protected] Wed Dec 22 20:48:04 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89793 invoked from network); 22 Dec 2010 20:48:04 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 22 Dec 2010 20:48:04 -0000 Received: (qmail 13862 invoked by uid 500); 22 Dec 2010 20:48:04 -0000 Delivered-To: [email protected] Received: (qmail 13843 invoked by uid 500); 22 Dec 2010 20:48:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <kitty-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 78290 invoked by uid 99); 21 Dec 2010 22:50:25 -0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Message-ID: <25954616.253961292971801962.JavaMail.jira@thor> Date: Tue, 21 Dec 2010 17:50:01 -0500 (EST) From: "Matthew Sacks (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (KITTY-7) full port of kitty to Groovy In-Reply-To: <7046235.2021290887797292.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/KITTY-7?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthew Sacks closed KITTY-7. ----------------------------- Resolution: Fixed Kitty is now a Groovy implementation. > full port of kitty to Groovy > ---------------------------- > > Key: KITTY-7 > URL: https://issues.apache.org/jira/browse/KITTY-7 > Project: Kitty > Issue Type: Task > Reporter: Matthew Sacks > > fully port of kitty from Jython to Groovy. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Dec 23 20:55:13 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98326 invoked from network); 23 Dec 2010 20:55:13 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Dec 2010 20:55:13 -0000 Received: (qmail 27273 invoked by uid 500); 23 Dec 2010 20:55:13 -0000 Delivered-To: [email protected] Received: (qmail 27255 invoked by uid 500); 23 Dec 2010 20:55:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <kitty-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 27247 invoked by uid 99); 23 Dec 2010 20:55:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Dec 2010 20:55:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 23 Dec 2010 20:55:12 +0000 Received: (qmail 98215 invoked by uid 99); 23 Dec 2010 20:54:52 -0000 Received: from localhost.apache.org (HELO mail-ww0-f41.google.com) (161.129.204.104) (smtp-auth username msacks, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Dec 2010 20:54:52 +0000 Received: by wwi18 with SMTP id 18so6754341wwi.0 for <[email protected]>; Thu, 23 Dec 2010 12:54:50 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id h79mr9689725wej.49.1293137690643; Thu, 23 Dec 2010 12:54:50 -0800 (PST) Received: by 161.129.204.104 with HTTP; Thu, 23 Dec 2010 12:54:50 -0800 (PST) Date: Thu, 23 Dec 2010 12:54:50 -0800 Message-ID: <[email protected]> Subject: Building kitty From: msacks <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 I created a pom file and compiled with GMaven. I would like to propose using GMaven for building and running tests because it seems like the easiest way to go. Posting to the group for feedback. I am using the standard gmaven-archetype-basic archetype for structuring my project. I tried running it and got the following error: Mfizzle:src msacks$ java -version java version "1.6.0_22" Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261) Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03-307, mixed mode) Mfizzle:mvn msacks$ mvn compile [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building Example Project [INFO] task-segment: [compile] [INFO] ------------------------------------------------------------------------ [INFO] [groovy:generateStubs {execution: default}] [INFO] Generated 2 Java stubs [INFO] [resources:resources {execution: default-resources}] [WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /Users/msacks/kitty/mvn/src/main/resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 4 source files to /Users/msacks/kitty/mvn/target/classes [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure /Users/msacks/kitty/mvn/target/generated-sources/groovy-stubs/main/org/apache/kitty/test/ClientTest.java:[20,7] cannot access junit.framework.TestCase class file for junit.framework.TestCase not found public class ClientTest /Users/msacks/kitty/mvn/target/generated-sources/groovy-stubs/main/org/apache/kitty/test/TestGroovyShell.java:[17,29] package org.apache.kitty.utils does not exist I have attached the project + pom here: http://www.glasscodeinc.com/oss/kitty-mvn.tgz I suggest we should evaluate both GMaven and Gradle and just see what fits best. From [email protected] Fri Dec 24 10:43:15 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24131 invoked from network); 24 Dec 2010 10:43:15 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Dec 2010 10:43:15 -0000 Received: (qmail 41061 invoked by uid 500); 24 Dec 2010 10:43:15 -0000 Delivered-To: [email protected] Received: (qmail 41040 invoked by uid 500); 24 Dec 2010 10:43:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <kitty-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 41032 invoked by uid 99); 24 Dec 2010 10:43:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Dec 2010 10:43:14 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-wy0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Dec 2010 10:43:04 +0000 Received: by wyb40 with SMTP id 40so7066436wyb.6 for <[email protected]>; Fri, 24 Dec 2010 02:42:43 -0800 (PST) Received: by 161.129.204.104 with SMTP id m17mr5644851wbv.108.1293187363282; Fri, 24 Dec 2010 02:42:43 -0800 (PST) Received: from Asura.local (cpc15-lewi14-2-0-cust950.2-4.cable.virginmedia.com [161.129.204.104]) by mx.google.com with ESMTPS id q18sm6000334wbe.17.2161.129.204.104.42.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 24 Dec 2010 02:42:41 -0800 (PST) Message-ID: <[email protected]> Date: Fri, 24 Dec 2010 10:42:56 +0000 From: Pid <[email protected]> Organization: Pidster Inc User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20100825 Lightning/1.0b2 Thunderbird/3.1.3 MIME-Version: 1.0 To: [email protected] Subject: Re: Building kitty References: <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 1.1.1 OpenPGP: id=62590808 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig4E0A4EE37A3FD319E03CE23D" X-Virus-Checked: Checked by ClamAV on apache.org --------------enig4E0A4EE37A3FD319E03CE23D Content-Type: multipart/mixed; boundary="------------080502070304070207070006" This is a multi-part message in MIME format. --------------080502070304070207070006 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 23/12/2010 20:54, msacks wrote: > I created a pom file and compiled with GMaven. I would like to propose > using GMaven for building and running tests because it seems like the > easiest way to go. Posting to the group for feedback. I am using the > standard gmaven-archetype-basic archetype for structuring my project. I'm provisionally -0 to GMaven. I think Maven is overkill for this proje= ct. > I suggest we should evaluate both GMaven and Gradle and just see what f= its best. Sure. Gant is also an option. I'll try both out & post results. p --------------080502070304070207070006 Content-Type: application/pgp-keys; name="0x62590808.asc" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0x62590808.asc" -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) mQINBEvFfXkBEAClvXQ4bG3ib0nQQfEpmlZaZyAGi+4njhhDAP/n5Zbi2wLcAnlR WF3FyrSOnFns9V1gNA6zdLPhUs1KwH5vBDlU2ZkOF3b6pGhAdTr0HPefEBwz6StK Jlch9t+xJjV/llA2/n5UUkCLw3gqyJQMvbFSfzLT9YGF1ehsngvK/vRGIqZ+TIoC +lGasSJ8B692unnvDF+MSdNu7X2ioQJP/1SPLg+/fHGZQr3zdjf6BOJSHTd7yg6E /jCYe2F8TxdcoMdYuSNIf3B+whMHltq9HdHipZj5/JCo9tKyQuzk1I9kdgsFehIe fd4mnrwlv87CM0q6m4FgzivG6/gIJiddgfUHAqmRvDh5CtXHLzXEDGJEA8xkQ+Jc AAbgOYfGyYh+1D59U5R5qoUkVeb2tM6SUpHOYK9E8H5Pml4kHyXFctdq8kD5y+dN A46/ru3bQEYNcBlyGEpOPs8okmoBxYlUCMdH38YDLbBEverDh1tJZ6TrNWEr9if8 vtljEZc/Mebh9n6btImmrHszAs6M5qHNvuHaWfTuuXwPEhsdcFF0jLMREUMFRicc CSibwKxnHua1u9JlufYaJUeJifnI/ugpIS8Lbaaj3BDT9DIWVbIJKr5yAdFv3nVV IOiyhxQh85y6yOoXsTR80ADu5fvaXbiEOhD5hsvcRlP/q9m2Vxpul8O0ewARAQAB tClQaWQgKiAoU3R1YXJ0IFdpbGxpYW1zKSA8cGlkQHBpZHN0ZXIuY29tPokCNQQT AQoAHwUCS8bBKwIbAwULCQgHAwUVCgkICwMWAgMCHgECF4AACgkQC2YgUGJZCAig Hw/+PEuC10bCXKqvd9y0Iyvi1iqWVJIhL8cUW3eQsPdKy31PkipFokhRK54WAI3c qslF758ywz7jxJ26P27JoBRzCk8MChFvs/OJpZ3WTXG0RbKG1Nf5e9ZuDhKye/Ql xHD4Wxiavh9dzOB0x+FBYmjLyvyC1ElLmrhGnltCPR2k9ytV7GLJHCCbIP4s+Eg6 qyX/RysGAdHHdzeCgwGU79TaKTn5LNTxeuQmVbBk743YX2TBhxLwBOiwtUfj6t/l 4JGrHt/OdoPJCcxpb1FOHCjdfou/gkepkGJIwMviPWrd+tgb4ZG/+urKb+i/QCj4 pr58xjQrt4Q+bxTNZA0HnsE0Z5xXI6UCyavPnn55IxEFQMon4EoFBgKMEyZecrkw HuvL1BnkhPYKLL2Ox0Y6rZot3Sq75x5xWjP3uUMj8mLxwDULfFj8qxBGumaYxLr/ hJf78RvfnVaVOsovNXry5RxoVRHTAyOO4jwwtSGZs5lzLHqueKq9Ol5m8UON12Py r6wT8wBCU0Mu2TsbGzkld4pntERLLlEshsdkKFy+DfWpbEFcX4/lFMZwq0B9dpJO D/8grP7+CRuuNSNe7YYUaTAOrRJzJldvB97wjSINKcv+QYw+YojZxcKcNdFXkRi+ hH/ahTr6xhMKmsoL6Jyu/EtUcwGDZyOGINFPvdSqaeBmU7OJAhwEEwECAAYFAkxZ OTkACgkQEMAcWi9gWeelMw//ep5EUcJuwte+DZv9w2PiuDnm7nCU5B/uOmbVahsF nBHC8BzO50V0qsZmNcA+sJMUhr0WqJZ41V0sX3ROcfwpNe1xOIStQy+ftAj2w96K Hz68vH2yubVihr5c7SlNWgoVunVjliOJvOxnIDbg25c7yh7WxuCmqy3M9wSayH81 FWv2xZOfV6f9n5miENJB+b9k0i1OpcbAXg5LWC3OrraDIXPVwj+HR0Y4p6reYOk3 fU3JuCc22/+kzwCUcfOUE8pf6a7Ai9x3sPbmSGtw2BIooiGC3XKTmOpXhPmD+IdZ 8bsk5jezbRSKsysOXs2mm3Fi2Ng1fZ7EB4N8/TFXEVKGLcbnfFTZ/ip+gPSVXf1v YpUaNk22GVk5YV6P8t4JprfPl5nPnQMg290OC30RVPzYmFnDhABh7wkueyIpkgSt Z43unewtcY9S3irjlRadoy6uDZOVkxKGNvBnVzOxvnuktEB4g9eI/boEiz5Vkq3b Oh5CwYpJDDPJPRhCxZ1j75EaaMn6BW5TpO+ju7B0dsDxQEYiPddrTxWljmRI3p+F A7284TbSmajG//XxqVGun8EOARJ9pOkTsmN9s9eRDq1am2HaGZpXisTNYDOIi+gp Qv4vbVIStFLm0nCmB69Cq5TF5tGhAry4cu65pAKRdn1DNnazyo0FBf23qSg3I/x2 CMqJAjgEEwEKACICGwMFCwkIBwMFFQoJCAsDFgIDAh4BAheABQJLzX3iAhkBAAoJ EAtmIFBiWQgI+iQP/29WC9Q/Frz8nmJZZ+qCsQ7CbimGaSSsC/DCP0r10Gfe+BT7 wqgbD1NMJRvOIXw76GgXOGn31jcZQJLmz5oQrWAaiOgTdACEtaYoMZ6QDzE6HIeW 2+06hxVY0gCELuhJ31iou7qGSJVLwOhTsF3iTChuZT5dVrxIVYv1D9vc174popEj Ng0SKo9FXCfOuRls5gPKKKb3z98JqZjXh13LMG560On//ABaJIPVcb+ZWrAO9MLI hSuwhDvtuBZuFV5fUwFGONIPAVoHGuIZEU6bI1x6ddeQnRTnPSBycoEAc4s5cyR7 eDWDDhdfzXafKepX3aNCMp7bc8dAvGJ+33gLGzeY8Qcb2At4WpJ6gim9VVsHrE8G Uz71qDQh/KJAuiwj+pTM2EIcDYlSzX74keleNQJ/wAhSuJbsUUAxT9QF3PMU7PdF rV4JN1JGOAhiy2rR9/OnZHha0zVT5sRk1ZUxLS2EUCDqoHJi9ORSfZz2g1Q+oEL/ EiH6eFHS+RzOjL+KH3+tMN5D7yKB4k/GHqFRE/jh+8SqVQegnqDL8HCwDdjn/PnV IcALxMpPYEVvgl7ixRvU5ct3LgI89AnRZBxL/oIPO5Js2+wKye9cIeT0XOLOxjK1 hO8wb3NdLqlE91t5lk4SUtuyBtHqNjZn40pO7Wf8JlSf/eqh1EUyUjHiW7gLiEYE EBECAAYFAkyV0ZEACgkQHm578VwY+FQ5DgCgiid/m6whU8G15lHof4Gr0ERkpNcA oKA47nKZDX1Dp43X2P5mmdVZ21fMiQIcBBABAgAGBQJMlTwoAAoJEGE7sSaAUDkM vCUP/1A3NgrIwD61R7puDLK7VIaTPXMKW4coFNEMSHBobMR6qiiuQR9d2sNqAWJ5 W2ml0riNwyztVarJheXIa1TqcZFgmRK0nJ/nbOunk+h6LROgxdTrpPTwR3dl8HPr 3MNVMyD1gcTFJUk/xKo1MHQuCyUMaQKZ2JBtWk33nizrkQb5Jf1Lxz4I2TWQGXJX 0CLGnz0iFeDTlTJowDglbtjPyFDUFiS7cwd25jIHJSzjGQNEtwn40oLyKE4Vdxk4 nlglXuX1NRCguefnwVq677lavYjKAB6mh2SLknoBKsRvFGJgUYhGfZUdzBpy/Yy2 x8gOQmbHMfNHyD9TKr8AOx1GmvhNgNbAXLPVlC2EKrvh9IIhbMn6A1LclWRUtwin QGpZuQ/nlAfFHqyIP8KF/3ys/OB93F/vQ+K6D0GvZcYiOhDhl8D+beTITK/ariwg UImmcLsQbzWOr8Jws50X9VaqY+FiX/SsPh+8yklKxFrQdOWdf0Fgfl2O29cdobmF XwKev3Ym11d3uArGxcbh5QII9bo6TPKHHbB2Wb3E1f60D3SiZVwh8T/6C8pQRW8j Gj1MVYLUPtB5qCJeJDDqb5Z+L/ocBr5Bbs4wh6hzttDneddOEwPUMDzCoEfxxbUg yIdS9zbD57cQjvgOewvAO8uxjlhx6b/ACinX2phMPi/t7oggiQIcBBABCgAGBQJM ldScAAoJENIc0iPujg3V5YoP/0TlXHF0nIsNuSqpYpIozsRJrUkjGOUVDaMBPTNU 2LM8ilzKnlAV4VocI635x7P6tFWeBiaDVe4pX9e7hvMNmEtNjCCiGypxERMJqNXh m+N5rnyL6juXt0vWo7z5quRBbHVch1hLKqQmXXQLgrl4LMCIGarcSkn109cG3KW/ apldrBlIqRsiyIKwMwPLiB9sMdIGpyNmyqiC4lAkHwaSSVAyWsczjWN3bOVDKXju Pioq4d5CpQ19w7u+WzlVVUbQVfdBKxL09r/SZTt5GpmGLYdfoMG+SqAZL1UBGRnq o2G63fPhS1VHUwurrLK3cE6oy0i5Ct/Tgv0qe4NtOzVcUBDjqf0ooTwCHihpn5po mfzbLDDxxaRJlGI4pGbR6xLVMfMnOU+QfF1F5wjL1DVrUQIqSDalFB47/cw170JC +0tFwEm2dZe4s5z+0vmWdDK98pa8PsH/LOwkxpgnp2vdY4FVrRY3wR7GteCHiIXG uBZGPnwXrNlFQIvF/VKi27wAvTKLczyRKkjUfmri2ydtpnD8xhOMJdNNbFZrAxQs UVKTLAXJ+baQxwhyzZdW61ZzzwijwlCSjEYeWqkav15q9IeJhkAqvpKBSTvL7Guk 63R9WekpZWTsZNMBUkHEZ9/xNUg3vB7iWFh6GKiygFGRW1u2QDp2Y2itmtBumTAy Zz4BiQQcBBABCAAGBQJMlSJFAAoJEIqviNbYTkGukJIf/j4plsVCQZOYQIrkkd/h tlbs+YIXwom5TxGCppLBElPmyEyGBAf5s7RBPxl671Yn8hgb2aYG/5T98tH+KMzg 3NUVNC9lm3F3hBMPu3S9waeJkx/8HRzdzeFmP6euea+BgBM1sehWTUAqsG+0HhTH Vi7bXOouFNf9pDZkHi+GSQA+fHTnSpJ2bVu9t/IroPi9cnqPSNco5atSrlTdyXJN EyK7ui9KjfyISEU0wOIHY+Hlr6BxXlAoPl2AeysKJfcwKvuHNvWzfFa/Unbbne1W reI/W2Ta9bQj1G6xLIK1vsZDwt9OukVeaaFDqYtNVSVXFKJLFvHatJFU+DyEu9le D1obB8i5XvCKPRXp6iHUwDTSqBLyaJXz8FGlOG+hL2M++YtZXCZQEcEVhgIGCZ2l CYaX1W/ezPxHMeXJoQK+6yNlG/FiEj1pYycDyg4/hpTZvwyzRKuOj/MpYONBGGZI 8yVRXkRHgtKCEaVw/oaKZ45LZ42SBJ+kIXr07emm2pLhTrqrvSp4yUTmh8gYM2oQ vp3OZZOOBtEElIEoU1k/S/SchB6ADEGWCPA7CiEB6N3hhYTj2t+iDxII0c4e6f0U lhZwJw3EaqkTp1IyUkBALOLHacIloGLvAMLhinBUmR4GGwCr6WUM6TXSgFHriLvh LJVYnYPOo1W8KggS/353CVCnzO7gsatOga0R9EclB0EGzN8aF1Mu7KhkVjAitRBv V/sOYizOtaqay8SwyWNmVV8A/uZ7/I9dhssfPUphw9N+JSEUqstHYyE5NpTNAONf 8QKcOKsQ0M9br3TTIq5s6YQq8jJZRZEK3zowVzUzQ3IpHATWxTxMgRJVLCmYEukH D98ef50Bk9WLxeT2pxSRCDrVhmLDkrpCR4KnXUbmn2BsyU/GrJk6moMFqr/BxsvD HSpYar1EtA7YMuLFYQQcYFhFOOMu2xhCt8U5tGFLLDRq7g0jLlMIGXT1fwRaKsP/ IW0vaJBECxpSqfq4ZqEeiNbvmIfmMeqTa0214oM5L5/i5JhGfBBo1aShzYbG+Qa9 RPL6TGhkttDje/wQj2jVLKrWVnqcIMKStJ4Yl9YHRflVXS8vipkneCbCqw4fjzVR oOflkL8r7MScc7YYIfb5o5G0MQq8hSomCFqTmxOTd4LltQN8tX6vt+7NHf8fP76r 1hQXpfqc9b58DqSC6av2LPSAGYeqY0r55XJpb7KYqXZ9QlDDnhZboyzulOP5BiA1 N8InzCWICuam9bq6xKrmqTqngkttJdO+OlPgoaGwvaNqQ//jNMEDKArEg5o9Tz6a DTcx7pqIk/u3uMFOpnz4MlLH7oPPLGD6Q83E3DsMHHv/hHFNQoKH76hTPo4dMopF ltS0OFN0dWFydCBXaWxsaWFtcyAoSWRlbnRpdHkpIDxzdHVhcnQud2lsbGlhbXNA cGlkc3Rlci5jb20+iQI1BBMBCgAfBQJLxX15AhsDBQsJCAcDBRUKCQgLAxYCAwIe AQIXgAAKCRALZiBQYlkICM+AD/9LdUKcABy5cWxQohXDu40mZCLodP5A3boZF+L2 O9jpK/lUSnFewKEJznavs2RLCwpzRcJDNqRc6vEzOyrbQvAs6vMNygAGETB9uxaE Kesknj0ZxCsqqxV0VujHYdRlVg4qwsKftrXv4K5nCLkBRv3YZQ0JzcX/wRlfz81S lINoM/IuT5+QzCGKSjxrM1xrhxZgwHIitNCR5BHl+CsqjpjDPLJj1mFqPTLniKKU ZCB7uN2e38FYazKGUIeQXq/e989zTimvQ24AYUjoGnTuqg1liPd3pKq0ryAvdYZT Upj98CZZ6jCCkDisAOSJerwXZzB/o9ADX2mFJukdD3MXLRJcAdV1CrEg4DGau8w6 JYROgUc+C4RONmihsXKyhI7Nj97t822Rj1NAO7z3ptnAwSJGx6WSxFGvWht14vuQ Lf9bH6FzBlhIxUKhDWIqq29K22ck6Fqb5dHbRyE5253tWt0y48dx5W1kP6LOW9zh LN3NBw59SN4O8H6c2jP8j8qExeswpbECiq+gdnqMGkRjDKQwxf93OhmCbCTYXtZt gJttLVCg7gXXlNbTMrEfbWkZFd21RvGu3LTnWfZLtmKvg4Qe89UTAla/phpJKgYF /WAFbC9E2jmh8kQo+ETHw+EFWYy4RjjIthmGegGQ45KbxZA36woKHjsmnB0eZdA1 RUXf+YkCHAQTAQIABgUCTFk5OQAKCRAQwBxaL2BZ5/2eEACvvqFb9meRRLLwFl96 B8RWJa8F+tv5GuA+YiixUq2wCWz9y9NZLXRsUUZ8dVbcDphW+xxR5OiMrlRnOxq6 4nfY9YJpguQYv92Xa5P2LgsmDss+OSqeVyIxV/C29z4zAc7yPLiMihlUEw6+2o0f /ohShC7FBndAjXGTcMyvVvHIhR+wGmnjsN8NRlsq+Y56ZGanAo9zKR6udI/kRqZm /PO7guqRkJTgPmb8AX47J89v/Z/Wk3XQdSpTvZRPoUY2f+oOgwr8m4zBIqBGHwS8 bE8nHti0QNb4NMoeK9LtYI2Xr7Gz8JoIR8bmsRPTN5in1Lwvy85FkVK0rj2TL5IX dA1wX7J0K8bWL3mORn2yloKCmDYFtTirMfKsV/IItQeLW4K7omB7k5Fgr+JRtZjk jspluq3yVUUfz6Zd7G4aYX40uvugT2AA5Akp338z3/FlrBgeoKKc66Tu3FL27t3k a+N4BaPq29H9zglnh9zV7S4tkz+mtKCgnIOoZlyjHGz8XENvCgMHBKMod7v1g/Za IFsq+H5eh+pyIX0VX+PDBUIu8z6/i5NOJta7o/Q/hr8XzWXgz4pz2m+P9CxK9FsB pg66rrUeltJ5iRe648PWDeg2WsbERGi77mHGE3goOw3C0AdFra65jXJ+juAL891G e4YHzuX9lHonTud4ab+h703UZYkCIAQQAQIACgUCS8WWHQMFAXgACgkQrV7bt5Ps V+RqSRAAtthk5f7miyCB2PcxhumLbdMvWFpPk120R9zxkWMyd3+gPdzuRujOnBUA VaRoGXoA4gsb1G++fPVr6Qsv60CEuDsPXpgK0crxED2vtGV9gQe+mheCgjwucDUM BQVFCgnZD/QiYbJ5wJBVrEqvRdLKHHPTOmM7bC2HMAByLLIrnjHgxINsfYfUf8/N 9rf9gz2sOq0mGzVSaM86xbbjySxToYISYLbSws4HYGw+M/G++1d3H5DRGhZiGUMP 8GC0gEDAAcprW45btTzmCo6CD7tS2x3JD47RLtbPN8OxsXBnxynk89Kjbxlqp2gM CXJDsYmnp7zwfmwNEPbHUHL4oj6A27Zux9cjvyY8uSlB7vzrNVjPiEu2lhflx/Ah FK3Np3os0fSb5qHQqO+uVijX6XTHhv1ASnHKXTlqQdq+xf0H6bj7ilhC6UnwnbHz ybNeq/X4hSe12MfP6RglvpZjOGLBXZxK3hTCN0LCIFwR914iCOHVkzMplk7RosW5 qzWYhDFA17pyufaeCj6CWEWSAPb9nH0+iOPVR8BkwtRWUHaBt+xA61BJlEHZWRbW Xs0RteX8N0DPPAYJNBiXQ6YjXwwv3USrSX4u1IgiSLjK02PVQPO5mYEAW4MKKAtb D4yYPYuWv5B2tqJpn26FttSog1D+FflMiZrDv6isWwE8QYbxlP+IRgQQEQIABgUC TJXRkQAKCRAebnvxXBj4VEO8AKCQNiPgfoCBjP7pl99P5mztRWi76ACfaezwFf3I vCBLKtFBg6DTkda5C0qJAhwEEAECAAYFAkyVPCgACgkQYTuxJoBQOQzSZQ/8DC1M vAFq1QqnTOxKtphMCt2LTVTAfdsY0hwoBPpciO8xuPNS+jy2zDyWn5aN381pPRuB TuSPUoOmWfAdGC+6rJlHV+mdynPDObwRsOFfHD7MpkHi7zNxFrc+LCeR1WeLkc1n IyYQrAuVvYkMYitBaoj+dB/gSxv7vECpvHZ8yEViXk9fQEuq+gzy4FirYuUpJt1W ipIBa3wVoXQiMUYPsGTu4qcp2fnv68xSG+2jtzxDaA4PV2nERs+od8MpqJFQEJDz z/BlxYfs8pCBdC2EqfV7znQA8gsh6aT1aBKJEbRqqL7f60zy1k9BT+loA/dHval4 HwxCjdqBeBz1eB+8m2qgsESQbIkGiqPY/UHDNNuRHOpuGt4zNnIYAzqQVz3Ofgb/ wUKF/0PhXy1elAK9yHr22Zb9YjgYCzsUQxL2UIX2+s754YER+YQqFyckyZzXCGKm +IwzhWmcBVkSwy9hlsxUm7BCuM5mN2xwU95WxDJkgRKOfCR7zX5/eiCJQIE/Qgvr q5z6r4xIOw/IblDa2uaHLwv47zMUImpyA9kpl1Oaih8shHd8CgMrT6W16izWL0Yf idF9ByPwrmoN/bjoL0SYpEt9YhcXuNwrDDdnMG+TjTbt4JvLOfgpupw6f7h7Ridv yBOSELsCr8J/s2C2hIGVffVuQgdwKJT02tCqlOeJAhwEEAEKAAYFAkyV1JwACgkQ 0hzSI+6ODdVDjxAApyHe/t/pbkxYC6h01ECYpfgVn5Z5eXZhHlcwDHsE8rcUOqTs UrEwO/SkKN8ZKlD1NAZ8NTRRml2B/y+/Gkrjtql7QYD81J33JRPII/hGYU4Mj9u1 NRpkPaKUpbZFib6ffq2iugOgAkw1lF5h4eJ0WnwokNfKHp2sPHH4N+9igOxWHaXp MiNAHDAsvMOuvdOEsGhVB/1aZFaTOPzD7jfdbEKWFokSoJSTp0tp4BTut7A8eOo+ 1lrnc/nvEgnTrTWQXMwKWnrGjD6gYjoldN8pdezmPesivZwr5qgIyQVejGD5bIan 9gvMf61JAYe7iJwBJ2nz/+ixMEHODMYqaa685tYqdtQLnisXu9Dql2wnvgFEgr8n ij0aTh2GQF0hnyKyzQuOSe43++OxJOTC2gMYpSEPEAHnmZjij/2ik5iqYHMJtN+9 U5orarxu/dFGJBvIhyhoWVOtKX+8beeZxqodEijDpdF57Q5xa5SPyojzhBIBtECg 96wBd/AWkWXZfJHBsoVfV4gu2r/i/dN4jFyu7mfg9Dw1B7d8isEAPes3xpI5L1q/ 073WD+lYTXyJ9NdYgfTx9B/Ha9AUujc+Qx/CIM2fvgDkfC852jSNkac+l+sGLQS4 vdD8110DWLMniVBOZsmuun0Anx/auAsVqDisxJPDszOnnWWfZNVZSlqBDZSJBBwE EAEIAAYFAkyVIkUACgkQiq+I1thOQa7Mdh/+KGE06nLPiCOXXjZ0LpadQorlpCiK DEykoMLsqUT+RxpMvENlPAOUhUhFgcKReStYZk/sO+KK19NDBoU3LCeEs7qdS1ZF 385Rgf44Ki7n5szQDW8kGY/ycY7b8wAyNiGv20hehtpEsQOlSsKOkySngBf9zCqL WcnKQF/NmxTpf/7XzHrYrrRD/KqwlbvBO3emXxnh4gekzB0vcWg9Td/G2UABXoy1 RrraE7lJyx189yxVxmbHGu4fqLErAW9rgq/KzCFSBTDoX0iAyIb+pu64OYxDYzP9 3AdqtZE0o1Ikwoes5T+Tef5ZdYH0aOE9GfuRNLeFNI469pXPCIj7LiJ+Y6dCBvkj JqAHTukIc4ZgpEqRhdNQpe4UyjWv22e2lGqoEU5DlGK4KfrncCO7N5CdItotAAKD H7hIKYlh3rq6MZsKEfWZG0CFLUA0rIH0WIF65AkJm1fZm3ENjHAXH7WT9LiJ/1Iu W/lhiAOzWiq5QS3yeQFYIVSICuhL+Yv9hL3YWfj7sl98gPEUazTzQVRq9cfWmuYQ WNY0uLAu7Wmq775NCKw7FGIKIR+TTiJVRJUPXWCI2DJDbFfTdQIjhFDCEkA4Xiiz Y3Otl5qK0yuiPMk6TKaRmdzRAYe1HMc9priR4m1WWusrOKa4MEhrAFy6LC+j4vB9 I6WYpTPwfRPW7vMH+ri3OaO5y6MFR5A45/BYJ2CtOzUu1dbEWW5XN1jW774WDqFm mSS0f4gNw0shcsnFiGyOGqRWEzPJHu1d1w5arhshlUKQAP3NC7sbeKu2knHFBmt6 EB4iJsvcTjlA0VkXZpdCbIhn/jgkSkuWZUG7XwmuP9XitJlzBm7kI2tC9Zqo64s2 y9bIFwTcIXJicpLUXxhQhThP1JTyTYoUa4J1t50giXlG52q+CNWVUBJw2qdTjST8 fxdCQnOVVO6J7Dl+IIzQlaA5xj1NtmCMUpe0K9uaRM2CMFoDuabkUXgInG/cTnoe YQBdSBu6WB5VSOZWR+9DZkaMz+PrydwPOu0uZjvUVWUsNIF9Fh5JtmkE8yKkAvE5 HAneyG/38k0wd5XwFB5+2FjrhkCaSX3DLZLWxUfmAh9WMYWg4ogANpYpQrGhu7S9 CBpuUzQHZcvPkBW1T6NV5dcIPX30mKYjGi2UhK2UzsrPN9KIIqQHtZ/ErX3dkb28 RgqQymsuVdzNiGaNDNKM7H7qHfLrF8pdokG9XjpZIVx7j0qZ7HgRfvTiurgQzBxr Qnf5j6mdy5NvGdzPd+xlpSl5MF6VSOsIAMy/PEmC75H+YKsKW3tGbQunI6SsUMO5 k5Y6lGHU1Hf9f0XfOjIRlBZE2drIF2RBSw+KeiwNa9A6/rM9SwzsHm3MarQoUGlk c3RlciAoQnVzaW5lc3MpIDxwaWRAbmV1dHJhbGdyZXkubmV0PokCNQQTAQoAHwUC S8WJbQIbAwULCQgHAwUVCgkICwMWAgMCHgECF4AACgkQC2YgUGJZCAimBA/9HTco GT2XfjH681s7gUJr74noB0hn0Eq7vnx5WCy/j+SVsp0FBR/u4I5lg3YiYi5sAkhj v4oSfa5Yp+gd1jhOsIn3Ep+pq+Lkqj27CR9RWlGVrhP8Gek/Mdazc9qB0UPOWGVs B/tfXQKaCXasfMO8qe+PstAjOIJm1ZX1tQ9HftZW8n13eZdUuIglqacJTgY4wL/T 6mtxg1JRYQMOqk7frxnykD2iUxdbuwPPoZswWu43B488oMoldA+KEUH2AzkV8UDz P8tfzGeQ2XGoJZoo6OYZR2XSYjodiy3vPX/DAEQf3Yu79SKsJmZaSh0jH5RJ6ONc UnYx4vORQy1euOwixGOSBPhQALF7RF5C7rR8xl05Y+Lwvlg3k7ddJU5vovgCSMfE Tj9CcMBk+0CPUb/6vFulOXaXwaGA9o2cQ5sQif37zKn4BAXgXaKmI2yXQ7DWEwe1 gN3cn5RgKEoRa0gbab/MrWKvhFcnbPWb4vsWHTyGaPUUisoaEjXP7v05kHEC0lbb TEKazul+WZOPCq/zJJDni77k8y/SNZzDjn3uSO08Anw/E94I8jveIbN58hhz4UDb B3r8lPiQjVTuXReqv3d/Ear40wlQI0HZN/13sYPk4nwK695i/6v/Qkl8bYKpdy9i SO7YBxnkT3mVBe3QgqXRiYb3VkRZGKzIjuHWwn2JAhwEEwECAAYFAkxZOTkACgkQ EMAcWi9gWefiNBAAzFoTywQX/gqUsa94fEpUm7waeOIPIYaoFQiE2x8JqoFP2gUI ErZluHFrlNgYrIfDH1wHpJk8/xOj/QG51OwSg60yLIZcKBGhuTtI6sist2KP08xN dFJrZMnUjJSQE9P0HhRFnF53kCPYT+soGefEzEnVF72uPisEQLggYvWRNwxcWWXr NcKbm5djU1J0GShnokLvO44w6QjgrCFJozpIKhaprwuoKQCS4fUJOdatnqlRXMLD uhhqAwl3ATFIgAW0xIGNpLTmZq/f5wlal88EhZCqdsfXiAAV1f6QjkKYIslhoX5J KizvwR8dV2sz1QEkrh1J1OvLX1C9i/sp6Dti79I3SMg9UWRIsi9mKtclfo1RclT1 7qdQx/1oOJiPW9rocutMUaNlIAITT7wjq0ApAOaTpbuzgZxh4RNZfxxD420vNohM 6EcEZBzKqOMhWhrWrwK7RQ40rLkDSUClKt7a4693cDoGjpAvw9qVEpuqkK1V1acS bzohNKBQ0b8q/4gzKrZ6XWR1clv566FJV0ex1FMuwbiZk5/+o/r4d61CuP3LYuYH wjG58E7LCjhTWhsV813EKjtdV7Uv0kWDHxtEB+rPen/iVvISNdW3iOP/4fXIQuL5 K597QCU2fAEAmzMHIUkXKRZaApPAk0cF0l3vuBLNxNgsaKTb5+vvtOi7zeSJAiAE EAECAAoFAkvFlh0DBQF4AAoJEK1e27eT7FfkqSUQAM62wwslCZ7QczGENPPd25H+ QgWO7enuMTDtRo8Z0HtC9TvZeD6qcJC/uTabU2WkFled4PI0Cy4xSR68kbs/YC/Z ZgYJ+snzerIC4l+F+SxqW1XdHFbpQ0GqauLH3mv7CJ4kydUff6J1QL++5z9zfshh o1Iqi6ZBs/So0tDNZFYDxTm3uNDd56Pj4xh5X8GqlOMCxpQZJXj3BXMtNxt5YVnp Knrl4Q9025G3dKLlVRhVd8j52klN8rMbs1AUI4N5lSJf3LO21n+7FH6qHQz8zc/U cLj1ReRLdlfyB/GbtQJFDRTQQ+eYepYph34cuQVJOcQ94h0/ppVMK0rRF4fKeSl9 YO/pZ/vq8NFBBQZP58gn9lf6KaVkg2Hsj/kQPId3nbkrexK8tFpexeGltyuZsBIq X6RfNvb8AysZFJps7itWujYxaJn4A/2zlvQCGdTCAjWQXejYM0JL0MyrJXDWX3jh WuuWHkBgANvKgc+CtODEq+i31I28baIkd0+Jcd67RiMsZWA8kEGx8LrotShEhbhw S+2p2HqCDGdRqTQJVGGfovlKN6L+fna+SbWTzuarkuZmKQ5Q/EMaYDss/r0ilBip Hs3UEQIxH+lOLRj1OrMR3RWa/IBCf2sFj35ggvo9otEi7zh2M8l48eZHlOj+XzNf 6XatmW9h0NJ96JmDU4l0iQI1BBMBCgAfBQJLxYBUAhsDBQsJCAcDBRUKCQgLAxYC AwIeAQIXgAAKCRALZiBQYlkICDyWD/9Mq0cpCBD5hk8+3VcP/mD3LHsvuTcDWMwR NOiqUZpNrBhk1XSdBEcbDNYu6cLbr6uE67lQqMGMpheIYq3+RkmclybWuuIsuX2e f88AXX9J+jE+GQc0DxrCiZmsspd8xHRzbQVrz+T5tKRBpZIjI7v4i5qlMJCuZN+I KsRiZkq4QGx5kMjnYi83kqu/x0qwnmW30vOmz+OMCaZ5E2qGZSklFJgwl1F+3reP MnTVdG+2dAosre1KBrdluglmYYVMHPyBvGggqlPfgtKa0NPUfj6XWH8f0z6yjpYz Lo9v+anvwqOlCioJ0Re7dY4+bfinajqci7f81WE2yfQUPKl647pPFZHNxVZLBlkd /a5yM6e30BQC6LGT+3XTJi2nKTpZ97K0VGiQnIzGpJzOHZDeu6iR75sXjqRLk/6K nrQq4W4dTzq4bAxvh08IDKwSDvMzSotN2OVoPAQBK4vq65ymXIh8WGLvbmqsNHz2 hsjNAZjv9sWBu+qlpcFXXJVk0gZc6O2bLUXH9Td5pn9siEdqH5iZc0qz1dA/JXMw VfILKkeX35J61id5aMkCdibmYcnNYw4w6B5cLApiyiAJGjGJ/d6EnBukFqouivP/ BD2pdlqyL4b+lOhyTU7RChuJg85hNP5yWOdfv7c1wqbWxRscvyq3YQYRpxP2YbBx nc6XgJdlUohGBBARAgAGBQJMldGRAAoJEB5ue/FcGPhU8/QAn3z/6+v2m0GTBICM pDT+Gix/mRVtAJ9YG15wEeY2bYRQUokx6plNijuMeIkCHAQQAQIABgUCTJU8KAAK CRBhO7EmgFA5DJerEACV+Xw1jFsbtV0Ljm5o6se+izGQZjdlDBZr9GfltAZ1o/nY xUvCGR5uG6/lJP4TYX7OgD79EEgrQMFfxIRZZOuGPTUtOG+BLuIUOWNGUJ2cqgOG 33dINQyuMNPRqb6e7AtJSTSU+p9Am3soLP8ynCzk2OwiSxqPtRKA/jYNsz9M0MaY EPYUhfv1RA4GKP8qjvd8TynpHLQfYw48Qhm4UzyeCzrTyT2RuQ1cymb6hNFEw/qz Vm7VbzKdrgp6WIonaHkxmULpRwjtoIwfHQeZnqvBkvPyKoKfq6kcovdE+9fewLbi yKFZvCiH8+EGcVzZTugCQKB/kJ4mU1ywXkuaqq+y2ojtGXmrUF4jYKZqgTfI4LPB rXAjzZLW5XdUmgL4W1tS7ssZRSy8IWdoNdjnD7teXLSsWZu0atRAHGN5z6PT0c51 MYgqdojk4rPAT4gaU/h0ENRXnwCZPWP56HVU6Pi6/6SeA2SCKwYB2ykB0zucASvQ EijSL0WZ/T+di9whSmmRfQvC32Agce5S7T/zyRDBc8dF6nd9y+0ONRrqkU2T5uOc kaivdCLZor90TaqdNmGsxi40c/GLjU8xCRwdG7ef2b0zCBR0MwW5qBUqxVvFRXaW lq7o3J44DQfLBASUpkG+z/JMoJjUaM6SGsUTWZEBKhUOS+AaMO2lSmPRBp52/4kC HAQQAQoABgUCTJXUnAAKCRDSHNIj7o4N1Qh/D/oDkIycbImnbbI60U6hh1t8Acjz NQMsosvlHS0cP6T2XVXBDtJkHm5KcCYNGkXFHL+prpyyMzVKYyNB1Dus+S0mIVNZ AAahORpOrYeFoMSrzvYkDMwRboyfe2jv/YDfxXr+p9N3hR3MJTZgnCk0L+K49leP x92Fs6S2cVYL2Hx4JMHYdshetWXzmTHIMHJFLr8gPLzsmMUt1rJvSrSeA8c985re olBvKUmN6a07XDDG99CVj7/dHjXiC/bb5ng4tON6cRL9NCKRlaLuhBZfjjP2nS/C 5wZ9JoaktmxnibMUItPozIJO148FTDsWnoP4FR0K9HX+v0lmGIQBnlvjifpkFzm7 ObkD1iID3yJVv8tzeUePDVFgyl2UfD7bDCcZucjBLaLK9zZ00G748T57SZ8m6wuz urjlvVT1xdDlf2rwz/NOySxOAPiDd4kscAWCWSszAvd5LI5o58Epc3YdlJnbUpNT EB/pY17Zbsja30ub+BRXOebdV4kr4QV+RMsQOE1cZSUbWcWs+N/Aa+G867xeJgfX Zs55Q0FzaOJAFURwH5Az75/8sniYHliM1F1TDlgtFvU+MxSBhq+D+lm9lmjGQZAY LxDgQyaDFuchsR05j+xNZwalDv0IJ4Q/5iNVeT2qY2si4vUMIZ8o8BCE6C/rIyJ0 cSgTbYSQf944s2Lra4kEHAQQAQgABgUCTJUiRQAKCRCKr4jW2E5BrrPkH/9pQ52a Q+zaqWMF/wQlQTEZwWUtk6n//s6fKmIhuA1a9te04KSJ+49KeNzxT6GP3Po6y0KG GXtBO0Xdy7MS4hhuuyMN6oUoDMHjPZdpCf9IjW1rN9h2liB/CwxwsImT+HHlysJ5 i0xxrvpqzFmK2IbkhIsS3D31mxsETCzlUxZTZAKWoZ9bv/wHcGJGujNTXT61+Nny oupb2nd8oGbN26Y3co9VcDT76oywToLaluPKHzacfKkBLmy/E1HoI9zC9LmILvit SoOJO/824Tx1cXnsx+t5rXjsZeGjwSzof6uBpA6ETuoVVR4Q4BOtgR+r8y/z+ree kkFxfUNLc4x2eA1P6lS03z4pvpP5kBtoWxfWWzR6aKqWqP85vUeYA0MYEhx3b+OD NKU5KgdI6qugdwenJthGvkiRzO8eQIeNtMxJL/+ZsvDIeOnAiS4/m/xgWFW26eyN X3Of2yaR1UsbFz9Cz1vrABPtMd0HkA0BentDd3b2y18xsq4p3SyADT8Lt/TizX/H TPOVuu6FWVFPLpubm5fKrXkzXEfN0uZkrPo35UYJY8uKWieUiKH2ILT+64RM/vFw I84Yh+VeZy5+5XsO0vSG6kuoGF/Jj1v7ymj0ng3a1IaIpxp4Fl1ssC/4wdayIFpS DNDKSvhia7RUSVjgNMhXEJqxjrzD5PiE9LgxKeln+6PrkVZOxUWcDtAJcjwVcAV5 pgzsMDHW8liyW8AHHCFTIYW2Dpcd+3CmHCAfKPAtFzxr1U9MPmjxyTiy8JSf9138 dx7LWOBMPlyNuIBXG2yGq8ZOTHPvbxPD5JVf+RJEl7avy+fEewBa9gtL7K76W4VS 9d6xd2j/7L4VRIop/3Q1BCm6inZrXfFVwvpCMm4vWUNFXJ5dmgV0vvYzqcrYFdrk 5H68eMm9hCvaYGq4R/eO3ceat2MuiugKhNkUesKpZ7suHT8aP6WzTyMv9PU+lYcF ZDNrEHVaDsmod7S0hSAJ2BdRPZEQZYDTVpTe5E28T7QJk0B+Wx26x6JWhElRwNdA RiRcdyWJOoJi2SG4rff/mTtpakqakJMl2zYK7rGjWty20M/rDLaDTD40VvbGgsfx yvFNZgMZGAJwX4FivFvWGU6hq3t05QzbxskUWBbbizpaIeEKlv9oKQPy0MN0Z6uz lm85BdQdcMz8ywgzv3c3fEv5pq/nAJ6RyQ39N5yurZQpyDAW5NSAcIVwR1YO2oDL PVLVxmBlx0yMEzmMl+/umhY3UZt9yyoL2AJ6Yyp0f7pK2rH5id2y6aRDLbgMZxVO CPTdrG55a9t79PM+h/S/WL+lL6+6peMuBrYIZnzk11xgs59XKP+s4bOe8mtppFeM 2pqo1SBVdXVlEwnntBxQaWRzdGVyIDxwaWRzdGVyQGFwYWNoZS5vcmc+iQI1BBMB CgAfBQJME0utAhsDBQsJCAcDBRUKCQgLAxYCAwIeAQIXgAAKCRALZiBQYlkICHA/ EACALs3ddM7hjgsYta5lk03nGGW/QnNUc1p2tdjyNhZ4hWKp3ED5ZJD/pYZ2YGd+ habL9WSbsz/265orYokeXsHQFXn4XR6mabO2PnEKetEU9ZgGd5lEd5Av03kq9pHx vwZxYxg/+fQUT90LzrGDW3Adeh3iAKhqbdF6y/nYUsiBXg9iDqQJU5kRyj+1iqhF HHSH4mFrUL9F5OOxy9/NfRI5yj5tRHtUaThuQ8Vf19319O15zQHqoMBW1CtXkBql GZr2rGXizzmQxUCBCuVQjh5v/89E+SX7nTycESDUTXrA74SuRrxdMUFSDFdXEIy/ dIYMWqFHrYvVphco4YKUBzN4ytLXYXEQZvevx5SLdHW29mahhCEXOvVek7J7sXmR bU6BO37mR7BGTDjeDu7Ecl8BMNknhEKzwHrcLEmGsxreL5m40JWJECaXX38AI4/e MROz6llLVpr19Wu7Xe5kQrh7wlGKk0aCnfV1RJu3bvUtpf0gabYjPrlc1ew5uoGF AdUDkUrQwINfIOUsxVe+E3NEk7302LJHStGa5VyAmieJWuWk7aF5UmzDAOHmsl5A 3YdnEtdq+NsnmUIUtUDzrXTsiMe1UtiT3yXfU/uziJs5mzJyDzK/bvDn/zw/ZeTH 7jZ7l2umsCFkypJlzk48ODiMQR4EkjoCN6n8JcLNsNDwHYkCHAQTAQIABgUCTFk5 OQAKCRAQwBxaL2BZ54adD/9DA5l3Vb8dbWDj+mKn0Ry4tQWvfOqUKD4G+WCOQYS5 SMpGlkpaNO4EQeb3tZFMdu+RXiBZmoRnDEqMkceoXRyFfkPYc6HDm8s6Duune7DQ YJb3XcMSynS+5unHjrKcgA61v1hsdjUQ9OTLmwRXzWdOnsv7bWWrUcPUlph7xGk4 uXCrGdoCZFzF+2YL8BiJYlUjrLCru9BIjXwagqkBeciv5J2YbjSvLQtC1hCHsq2t /QQjODYj/HigCF544K/qg8cUjhry6gvJfWAkDuy5fstoaUf5Ezl8JSBiEuyNuYIR KSiaDbXiZEpqQ4uDccdLH+z9/AhTO9FCe14frHpN1u9D2yYo3EAsEmwpUVyV3zfU RqcoDLZ1R/WdLzKrskdKvVhD0vc9N4AjYIKfqBy9tQQH0Lni7oY+OYLx3Pgi4dfS RC0qi2TfwvrBYXkGF2XBFpHSDgOXMMgnJ5WTftS51UUUwa9Cy2XKrnXscq+z9YL9 fDhZmb+/NuW+PYs4YkQtqsFUM51JpOZtERcpgpuMpuKDbEG2x5o6ccsNNqtYrpfC agUD6Ere8vXh88vcvjflfvZmV27DuY5L+xUZsIqq24A4Oa2y12kIzHvLbH6nSF9N WflvEfyE6I50S1g9/1KH2NiT/Dph5/vX3U4HHFc7Q6wBPmcPG/Br/LRNaJMpKubS /IhGBBARAgAGBQJMldGRAAoJEB5ue/FcGPhUVx4AoOVq3JsoPPGFXxv6WUodBw3Q FeM3AJ9PrLupWJPeTDCu/AJCaHs7Do8XdIkCHAQQAQIABgUCTJU8KAAKCRBhO7Em gFA5DKCgD/oCO7hApEgW74PiSOC+YVinlF3W4qUttuSBJKXnGoY5IlnIbevR0+m+ o7QNQeJDhJV4MH3T1LtRUTDygF5YQAp3UknDZ4u8TIjQLyJhkABZ7xNMqVasa8cM mX8RLkiwjU2fTvuckFwTORifzh1eMbLLIVS4vCqz26X5NTLCQyFfl4g54f1JwYlj 5TC1k6XoXSo3BX6v3f9wRlD5gBXwRnx4T4QRHy97AwrdISkchAn/UA4tCwWNV0IY C5EnukLBLyOk7n5XKGGf9Pm8gBbWmsh6Cg6xKBBSnCwLt5DPzchmuBO3OScA72Hu jaio9ZlRCllBEu1Iz5qsTUlU6TfzycAgzR50fUXS2vJR8/k7wS7GzqS4oM+22hUf X4gy+eKyzRZqicg2Buw2FmzRyxHxb4dwlp7O9ffhNu6TXmilmliLbGbuYW7q9NGC eolQA70ljwaHh2x58SYGM9SYfvkh/RWL3aevcEXnEvTN2rnBRp6Z+D/3LswxTqEr EAu3c5ro7EEn/JMAa0g+SDciTasAmhx2eN1NBIigxHEeJo0NOLg8pucmWOUZnP7C V9AtSeMm7WJWLNvQN8R1of2WVRdXUI3fDW2NrEqdaW1fLno3fHyLLD+WDY44b4FT txCwP4w1aQJ0KDL7U8jDEJpqEqqtGcmFvbIvEPzR+35ppM9yYY9PYIkCHAQQAQoA BgUCTJXUnAAKCRDSHNIj7o4N1bJSEACtCKq3Go7TenalQiyPTR50OaWUopvUrhyv jvLAvNnmAh4XalbibGXbt1HcAxVsgAhQChEX+6rGphONYWASggNqDwAQtVIT6xgt 8zLjNIBh4KKHJhPKWS0/59yTBh9cvAOnHe+qo+yPgTgkPocTgyzGdZVXOMIKPoA4 taEOjHkSVjHmhz1NE8MxSl2D3Ly4kdpPUvcbqXGZSxB9P+RIqjTykBZVIljKtcFH sVbCJRY5L7XnzEqP6vSC2wLeO108DKCdA9h+dH6RT3l++NMRdet/ZJgnhEUpQ9ln DqVnXAZ52kMwiyPqsKpZQYZF7iCwfsQ/CaZmLogRbXSnTr73VbpzQfkRIhHZzHTW yUlllaYBQZfUA/c1MLt+JeNwqKCrICBhv2h+pGLMQrWECMmrnRAeupLFQi6eNfn5 /wyPYVSnbQv/cj0hbBh2r6JYZq36k3U1jpjMJXjeQ4artWILdB5JZ5O68PPVGmnP DZyZOtDT6rNQSl4cPxyny59N3G6fceHJzmAb61Yt8Y1nk773z0Vh5Ie+W51/AHK6 U4P4r9/WqgVuW/g1foT2oupF5HDfsaBvI3/bNnwMIhIxHg7/SC/bT8BDmPoSutlZ WKyl3NXCFcaNqxu/aJmZfzB9KxRY85mkLa1IoKMixMrE6qrWXt2D/mvxDwGd1x1Y +xHFHaYOlIkEHAQQAQgABgUCTJUiRQAKCRCKr4jW2E5BrksoH/0azGeZx8B9n4Xq 9Trs6AXROROiWsSrnezZXBQHBiB5bqqWZ5CYcTmxsBF8GCNgpiClAXPT44TwClOe yTsZDUaCVQpfKizeIdtGPYE6/JaDZbJ3RsqEEFF98HvGjCA+TQuTJzKznR7JkR7/ btsFpfx/KdHJj3TFgcoQ1Hy1Ia8X1V55Qyr+A/+sS0MsliwtEtnD4yaa1ecz2iQU jaxGnRjtN9iIaj1YCH28PpXUXBoraqPdvK76D2BTnP2wfY3EDGpV4f0XCDfqj/xk TWlgpqn3h8lLOg3+T8zM1QgKyzHRtixeWcR0OKJv5vUC4ojXQ0q3ChItwuS98A2A iPqVP7Ul9cPr1yayQmuXZP0QJiYmiplOLU7suCNT8J7kNgiluX8TpEWi0XPUMcUD eDcTs6dlYVmM6wsSltzXhUqerBjfGyLl0VPySlFFw/AiPgwo5M0Za20fOXMfm6uz sfMY6YarjpDNo/BaNT6oizNgw5L/Ai1wNCMNejV9aqS5WY1izUkej3j19MuxVkHB erjQ/ex2jUcrHE5w8Wk/FCB20l3WjV8qj79+47jWNAmjM0aSYR1bKznoJC4VJWD7 1bdglGxIkPakbEuyI5KUfK78hob4k/n0aUHnF38vnBKHrVhYiHM8+RHdl5ejugQt RrINvpHp6BwnlvrODhGVBR8Iws7TU3lZIfVv2wyHHJ1qqQOed0/4Bs30qb+43Uzp N/vLumF6wtILJeWyNHg8MIWbS32131NWVmVSmsLsphX1WIeA43chlpIDHr7c3OXp tWZO8uOsGku7gRKbzs8C55xtgXKLFe05cBFpePGz5+6z6rN1QtrajkD2zEA7kPHN pj/vqIzPw1uBFaU/PHpHvXu8ZVSoWA8odrH615z6xgtgfss7QYyS/fas5xxfkiSV LM8m1LF1tC8Gjf+fph139upEsUeHkR2bkebhj+rLJIkVkYxrPsL7hsppqm45s7g0 HIdOkh30zBh3ZFxPhS/rKN4XCwrfxFyCnr0YKuDr6vIvipCro6NXAyNgjcBAMKxv 8hVaS2YBD4ZRzrsSNrKdG4QYZci7UBDbFuMZJ7jE5z13TiFDxeke6AIDAe0AdW22 hNdoopfe3baBUlmYc9cpGY3Bf7eeHqpmw1A9kdXLdgAXtARbnJnl76atvmIUbVQo 6gjE1m8RfmhcbjcTKvRqFY2AGlAhAsgxV9HLCZS3+HXWXIMjGGE3/KW8VKI+bH6A 6PIPew9tdUkkfnu3u4Tdsh2K/F8azLxbM1QW9lpUQAu2he2ocCkcDbfftHzpqksZ vynIamR44gs87NTp5bN5YO+Zeu/tOv+g86OnR1WzT1K/cXVGPWFgS0vmLVm5UVnU Q4KsPs5etDJQaWRzdGVyIChJJ20gdGFsbGVyIHRoYW4gSSBsb29rKSA8cGlkQHBp ZHN0ZXIuY29tPokCHAQTAQIABgUCTFk5OQAKCRAQwBxaL2BZ5+o0D/4rPcQeJCbL SIQICuba9FfGID8NbR1o8AZeXlshdh4zd9PrUj3zkomeDa0H5uNFdbECzxfE1vkq /cYqUAPQK9lRPKhwFanNAsz1/4VHXqcC/mTO6VX8hmWzRqm2f46pRPeA90kn+hUv yhRXy2VdETOyt2VPQ2rdE/mQNuWrls8XQ2x+zRDSwCdM4vzlmBlqD6zx7ESibhxE TfsYIU+b9DsRTAyyoE3fTCRd1hHILmb0pliT+uMTVsLFsIGkiPkQbVK2A0K4rWRn YnEcHuPxDcCcn93meAcXqCF6jCa3/BbSxqbRxnVRakXo2/FJ6bWB71HuJJoluZPt G7M0Qgj7eINKx8+EqCyqAAntOJb9X5P9VadEUG3dbdvB+RRasxByf5dGyUU1yUkJ yIbJqvER4rQp1CCXQskuIQ+NhJRekXCLdwUnEK94umqQRc+7mauSeudkfPWv7P2Q oikrX2ht8UJa8i4ySv1SkdKJAvpObHH4qFJh3m9kegUc1NETKkvHtTfzuqrV781E yawkUXD/cMM30F20Wae/ECxg3Tgt2QCYOclTbEmG/VQIawn1s1TQ+eoBABMHziy4 3TzC9p9FPAN6v/uaMOlnZc8vrxCSWTwLcFgdYZuOWKG6Gh5ceLkpuaZt373ZLnwF o39GtVt4mt5N3HVS60v66rO44qvhbRSATYkCIAQQAQIACgUCS8WWGAMFAXgACgkQ rV7bt5PsV+S0/A//RlBktihHSufSg0UKRyiDAxdZEKXTgRB1SzqIP+8c46JBV6rd orbE4FeND2k0V9sP3G9ziuc3lHMPsSF6VYvIpgQaDqsXT4sxx7My2DXZAKyvqIze ElSikuRfsEfodE13G3VZJj2ZfqTqqTc2tjF2vWYeposxLQVbqvwq9fEdcTyjwB+I Vd8APe7Elg6hiRYsd5TfzWhTLoYtJRWDAMnVZcUHmuC8jftduJfmppzK0yUYLOCp G2DsJnLjuSI8nCDTzORMdaTAD2zjxWwtdDe4g/HpLxYenF2Mj1LIYU50g8iuaWNV vifFoTq+yh6eEWokoUmh+53YjRWVvCg3WJ+ixCNB/piTbRznfZ9fxnO+9ZxUwh0m 4AWVUlap4VMp/evWJX98Gyg/6CvvAzhFYhnuOAMX99BaSG34nn6EH/UI2hE/SeNo qzrRcOA6Tm8fP7A82IRZWMthlDAlMkO6G0ahzIK+2tXh0JL5G1e+CSLCcxSOnFV5 uBaf6Yd1hhDEh8Dmmso/SPswUUHQxfy97L+4PaUrd0POtedEcVxorQTNApRa4XRU cX1jtGQ5u+Y2wE/URkEqoyPZ1tTREUqcU4jd5rgr6rfD+3xPSjMWhbn+elIp6MAj 1zwSSILdxwuKrGCc17w8S8oNL0xO+iNK4TSNXBD32U9LrMm7COUTXzY6GU2JAjUE EwEKAB8FAkvFft8CGwMFCwkIBwMFFQoJCAsDFgIDAh4BAheAAAoJEAtmIFBiWQgI Tc0P/iJ0w1rEYWYc8Gpi9EcyvesyP8oSFFk9iAbAFQGNK0TrApYa4BLg4s/qHY5S 8XGaJcwUEPni7G50+Wc3H2/QUpV2kJsPjqbGJxngfMwVAWY3QAFX5qdnAL8elJWE vGXJFcHvDxuAxMtPAzHmNqMqzTHvwpH4oNk4mRqfLW9VBcqIMd690+SSV29wax+S sUeSSVKZY2nZ8y8ycDVtgGadIV8qdGBA5R4UkLCojetysoajJALjo+3yb9XGZXox tN6jITucWIyta6EWuWf/ErI/RH3XGd6qMKMMcXiJhzxHAl0j1RDsIxXpal263OIi QGotBiNLP91aDR6vu8Il0FUNi5GeS9qEm/GWiBPXSDdTnyZOy3/A629F4cbVnSWd 6AVDzxj3JozBCsYOGu4EpQZvyspXUWnYXXa3gEe9QNaWi47mlLTNhHC5DseF9l25 4W6m15Sk9lGRzjXJSp0RU4ucJOm+S89KOsDvCiqD+++xea9rEGXsJjGRh4DlGO+h mMvuW4NOV77zdFArvsnmJ8GssEUVdSvxo2wlQsYiEg9By9qqznth82JCHl82D4Rj iGjTLJAkt/kPrbHCqDdJDTRFWVlAmqXKo0rzV47kdV5QzDOdw+e6FHlO18g1vmvQ QWLVx8seFzKvuvl91j0CVQSZKC1Pc4i0wKYgAvmRPNZYb/z0iQI4BBMBCgAiAhsD BQsJCAcDBRUKCQgLAxYCAwIeAQIXgAUCS8WIxQIZAQAKCRALZiBQYlkICK1gEACX NiXa1ctofMvjGHkyajyt45HdbkSpvcEZG6uZCkninKVUFxYhsCCJ0UMYKlOS8TFY HqeorHhuNkJsKdFAuxFHHrSdUTbI81KVXZ84YDYyYx57pvjtd0uPPan8XQP3dKMW xI7A72vv7JYERLONHqAN4kPVdkOs5BDN2xT9DoQF51vGu9kLHpOKBlukn2Nvozm9 f8v/tQXiMoT+l7WKG3wKBEbmxz6iLklvVwwCiNt2tgqsgGjhAiHPak0Ab4UoKPYu yc8B1BNhojs6G1+UZxCXdp75GAKV29ULjPA70vC/WzOhu8EJ/A4LODsWZJLqQoKt sm8n7uhbrrlQzmOvk40LXBiQVe56DW1sWQoopuOfm0LJtuAnWjiIRNwjyQ2eqIxL OUCVpQEU9m2ufOpY3J3lhehhHeDCCRGh/7oIyVls1M9flmElGeVKPThagG5iv7EQ tuSCOE9LAJeOE20YiNbZk6EzWFY1RjXDvJptEsU+k9WRimy4LBZyMKaRTxfA6O6G TJsGmNirA30dmE/TsYYIFj99O363d2EWE2aGO32ETQcbikYFFfT4f/jY8DpktTSv 6iB/ODlQ2iRXYf5bPBWJ3b4mUpzm7uByxNOBT7QC3v9Ff97NGaMssWF8rX3us/yk ti439jF8jPp7Zjd95IEwLNAroe3DaAsJE0E73+2dwYhGBBARAgAGBQJMldGRAAoJ EB5ue/FcGPhUaBsAn3n2NUiF3ELrIAWnYboJM6znJRAjAJ96oMAx+IZM2GdmwiXO jXtUE0cs/IkCHAQQAQIABgUCTJU8KAAKCRBhO7EmgFA5DJYAD/wJy6ksZt+PT0eL /fPQEzODpBEiq5/6zLgLBUZClMKkteBZjntOcSpgoBndDPlf2nyS3mDwimPk5pnF cOi2IsD25dBkF3AMFND9diN+hk2Po2SZmV0Ib3Q72s5Q4YE4weIvgral2KGkfd7j JJfrIqiCYp+6VH8Otg2jjXbLZzEIrhD0T6+88fWm1SaC/1mDXhGkrIm8XAJeG2Q4 OI4V6AdH2TsrAXN8CKdYpQx8WH1tGDOISFSHahGgVvj4+Msyr60K7OHJwYOqavfy /wjEIkFGEcl+fBe286bV7Yxqj7VZUcxd98qloolhi0IuCV985xoEZrf7mCoOs+2T 6B/hO1Sk2dimh4zuhsM5uzYkOMMNU7g3J43K6RyVgbn0Iil3ZeXPcnWanKKfnq0w oLQHutrEWG6gSSrujCqvEbctiCCmC74Wf2BkB2p7DegQlh7a1s4+W72aLs4CVLGJ dzAZ1wEE9ik2qZ7Cy+m7C7uxQMSTy847hhVRZnHu/d0TDCYpoBemK3B0jb2xtEMp FIQ9V1a88FI+V7yyQQcdx/7JELYvqnhgnwGfQ3zUneSMLYGPdw4OzPsn4srOVODd 6duuv1Z/HmKon0MqjFpOwjN7mWA+cLhDTBLd2cCfIA1vrjtiwVQEze72qSY/BPSU XbYIriXNCt2Y6vABwKBGHDH52rhSlIkCHAQQAQoABgUCTJXUnAAKCRDSHNIj7o4N 1Q7nEADqyRodhe27LE17z+7B+wSeIoCg+JyD+CtmS2sEGsDr5nqjJPniwCPXT8b1 znYB5vhXQDO6bMosZGkGfgQlDaFscxbs6aVsUh+7KW1ccN87LNH/8mpFaKlqiPYr ABe2ns75o8jLSN0FOAx97nj+dFFB7P1Brz8DeIUWURrsPGjj3ElbhV90mNJD69Fs VBrHaDlZQEfaJG00ilQ6Wg5BbHp7Us94wg9hNOj/U0mnTzIyRaWcAibG8XWTO+Dr OIX61RllWRwY1VGY7xQ9NyM7+nIU9WeDp0x5dwnKCvrW8mh11nP2Sljh/nNoRIz2 PfdjKPCCInRaHfBsY+yZlQMUh5qtaW2Zl/STgPzE61dwljOfSPKv8+g6d63R4H1r 1cRs1jgZl+YsZvXZwPYNbS4rRRJ7NXowVFpaJhvof0MRKbsyN6YFkmsCXytSs8U+ kO9mlluyHBF4TARv3C+xhJooRqMoaxh6Y6bsdKx1xkO5ZHks2CzAPidk1rVGbXJg 6jZypfm7ighNjX7y0uRJdG4s41JhTmQiQYji7VICQ9uf3+8NwwWK3jAbkScvwDN9 /gLxKNIz64cq8rIqxAqKV+N6Ujd0WHrbqFfMOAX6jsMocfsxD2/xZQQ4Z/W1mgGz AAnHDXCC1y5d+r6MRbtDIFZoNP++wu3lINNMJW3vMWQf3Khn0IkEHAQQAQgABgUC TJUiRQAKCRCKr4jW2E5BrhGtH/9fojMEBEzXtrA0gLqQxc46M6uUvXdDU7d1+fNs CPMZuFLnWVV351d8g1mOD7KxHFoP+B1L0MHF8tSj+oiwMSoAIUI67s9VScn/JaTK TBRK80TfaWP3R3g9P5xVnOPXAoCgIIOiO+aErqHR+zSqFsriR3l0wrq1rd8U8aLW qBXL5WK57ilEoC95Qz7cpBjykFQhAikGVb4dXMIykpr1pK6dKhw2FGWejAU2bv67 FoWOlRclxthbqDgrolzTOmwo5XMpiDrbhwwi2ghtUyEPvNQIufyGuLVz8yJhz+0z 9LGBCjejuelbk1qE+FK3f9kfsvy+L4+Tih+jZgkqyhZcBrhmw+JnllBxt9TuYghU swYcDU23vMI/r1Sa5JFbqAu9PMO466Nq8MI5VVEEm31+siwoH6dFhhPhDFtE0u4H UFhhXIlHvDIpXSw1AMema1U2MtHZq5bbfHybGSvY+/7/9Emd1uavqjqwgxtO+iXw vvnkF1KsnBz5U2cnghQQuTGFv4zAA5VeKUtto5kGtGfM2Za95LYFhx8x1S3fiDN2 cLxIc1UcxSmnZWqIda8ZIz5tnbIadyisQuyIm2jtmXJYI93u4hD9vFz/VBP4fySM QKmqrUGC3ry/VBahmk9kTSevJ6N05uFqIbUx+CPQRwO3b45unpuVoTbs1OjX1qcU T0mDFUZHfedOR9YTKifOHG8m5soHV2NPTQSoMUo7vMNA9xkhHe6k1RCun8LWrf21 rHeL+1snDnOsbcNkPgRE1omCjf37ArAgiHY000Z9RcQ4RU6/X+2dGcMIAbYZ3DeK J4KWPRn68MHTjslVDsL2BTpQxc6ZnRNa9h/sSPRUwwb8Mn41vx+qwMrd6WzTmyV9 JkOqXbz8ZUfnAzLiPmukxK+7BK3MJTZJJ+DbbB4qPgmn4Q5Gc93iFeFke5505AWz aGKsK94vGJvF979r3jWjjG0upvCi96YYJP6jYGH7YJdSsLx7nSNzOWy/aBLxmrAM Klf5kwsypcffD5R99sbCAGCPibi+viJ/vEAurEmeBiSMA/9e7r/YIUD4FxGdlKVd nWpgoTEhTg/6ra2sGLXlVVPiKJCfYxCPwMUkf5O3t7CQ8XAmUD7Rbqo0NZ+Fmd2Q IoX/8IVSWnet0MuhgKHSY7RMZKCV+P6zzg2ak9pUnU8VM2iiCjNE8P5W5pihJPVm LZutkyfl3iGCFGD+iKASYorhOxCK3yoL8roXh85wO9NaRz/F9fZlBt/Z8lLOZLj3 n7Uj46CUPuWZ8JSoHnHAxB2bzjBRhdBu0Ay5HNM1abfiuQau/8TljOLIqLdho7Yd kSkN7o3ev1lX7F4orBH42NySg2s1B2SIrch1ajJg4aYXqq4o0cyRzI8BEAABAQAA AAAAAAAAAAAAAP/Y/+AAEEpGSUYAAQIAAGQAZAAA/+wAEUR1Y2t5AAEABAAAADwA AP/uAA5BZG9iZQBkwAAAAAH/2wCEAAYEBAQFBAYFBQYJBgUGCQsIBgYICwwKCgsK CgwQDAwMDAwMEAwODxAPDgwTExQUExMcGxsbHB8fHx8fHx8fHx8BBwcHDQwNGBAQ GBoVERUaHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8f Hx8fHx8fH//AABEIAGQAZAMBEQACEQEDEQH/xACaAAABBQEBAQAAAAAAAAAAAAAA AQIFBgcECAMBAQACAwEBAAAAAAAAAAAAAAAEBQIDBgEHEAACAQMCBQMCBAQFBQAA AAABAgMABAUREiFhExQGMUFRIgdxgTJCkaGxcvBSYiMVwYKyMyQRAAIBAwMCAwUH BQAAAAAAAAABAhEDBCExEkEFUWEicYGRwTLwodETIxQGsUJSYnL/2gAMAwEAAhED EQA/APK1AFAFAFAFAFAFAFAFAFAFAfeewv4IY557aWKCYawyujKjj5ViND+VYqab onseKSex8KyPQoAoAoAoDpx2MyWSuVtcfay3dw3ERQoztp86KDwrGU1FVbojxtLc u+P+xvnt0qtPDb2AOnC5mXcAflY+oR+dQZ90sx619hHnl211Pl5Z9n/JPH7Fb2N0 ycA4XHaq5aLmVI1K/wCqvMbudu7Lj9L8+pjZzITdNirYXxzN5uSaPF2jXLW6h5yC qqgJ0G5nKqNT6DWpty9GH1OhIlNR3LXhfs95FctuymmPQcTF9MkunyQDtQH21OvK oV7uUI/TqR7uXGO2pbLL7OePKg6rTTtrx3OR/wCISq+fdZ9KEWWdIlLfwDw3xxDm LuNLOCD6u6nleQgj2jB2jcfYBWb4rU829e9EdWzW8m5c9K1Ia2+6mFy2bt8PHipG s7uVbeK6nl3uWc7F3xEMuw66Ea+lSJdunCDny1Wun4m14coxcq6oyrs4/wDnuy0/ 2u66O3/T1Nun8Kuufor5Fjy9NfIsHgd74BY9e68liuLi9Rv/AI4UjWSALp+pgWXV tfTXhUbLhflpbaS6+JpyI3HpBpIvFl9zPt/dOLSa3ltkfRRLcwRNCvJlQvtH4LVb LAvx1Tr72RHjXY6rUs58Q8Xuo1nixVjfQOu5JoIYhGwPvuiC/wBaivLuRdG5J+1/ M1/uGtG2iLvfth4nmYjDHaR4Mwyq7XsDOeooBEkISV2HuDu9AeFSLedcjrrLy+ex uhfmtV6i/eK+N+N+NYw2uEgEZk07i4LB5ZSP88n/AEHAfFQMjJncdZEe7kOW+5IN OifW2mg9STwqKtyIpa7DRPNtLQWryAcOAC66/G8prWah40RsUH4IhrvCWsdzcXdh jxbXl1JG1+VXbv6aOEcgEqTrJxI/Ot6uya4t1S2NsbkvoZx5XKYPB2O/M3sNkFBY RDTqP/bEv1MT+FIWrl2VIqv28THjOcqRVTKfJPvbmriR7fx+NcdZLwSd1WS5cf5i W3Kn4AfnV1Y7TCKrP1P7ifawIr6tWUDJ5nL5SXq5K8mu5PUGZ2fT8AToPyqyt2ow VIpImwhGOyoc9vcTW1xFcQOY54XWSKQequp1Uj8CKzaTVGetV0E683X6+89bd1Op 77tdddfnWlNKCgyvT0KA6sflspjplmsLuW1kU7g0TsnEfOh41hO3GSpJVMZQUt1U 9b/ZWSPzDD201xeJiL27i37EQMLiaN3Ryu4j2Tdt58PSqS3gwldlbcn6divt2Vzl Cu2xLZTBS2eLxmXvZLZZcguhiXWCdW0bUMhJ6i8PX2PtWjMw3bt8k6rwMu5Yn5Ta rySZ04PwvJ39jc5mFUjt4FmZJ5yZHZoQdViiHoNy7S2o/OmJ2+VyHJukfvZhhYjn TWiZMp4Virfxy3zuZy88aXMMUqQwRorb5kDCNQ/ULnjy+alvtlmEOU5Ohvv4Fu3K XKT9L3My8t8vsfH8BLlAzS9CaPSLgryRu5UKGI2k7eP08OHxVbZx+dzjHROtK/Mh W7dXSPU8v5jKXWWyl1kbpy891I0jFjrpuOoUa+yjgK6m3bUIqK2RbwioqiOOszIK AKAKAND8UAUAlAaj9qPuDbWCJgsoypFuPY3D8E+s6tDIf2gt9SN+1vXgaqO44bk+ cN+v4or8vGb9UdzambGT6zXAjYxjY4uNCU19mD+h/wACqCU7jerbKtzm3q2yXw3m V/gYJLXF3e9JBr2eizoSR+r6uCcPU68RUzGzrtpU6eZKsZU4IiPIvJ5ZFOQ8ovBH YWyfUpYFdoHCJERURFPpoo1b0ryd65fklu+i2S+3izF3J3Z66nnL7i+f3vluVLjW HFW5IsbT0AHpvYD9xH8PSr/DxFZj/s92WtmyoLzZUqmG8KAKAKAKAkjZ8qAQ2nKg Gm05UAhs+VAah4F91Ex8MOP8kia4itwEtciFDyxp6BH14sB7Ecap8ztjk+VvTxXQ r8jDq6w+BomJ8ywuenubbBTEpaw9xcP0mjRBrpwDBdztVTdw526Oa38yHLHlHWSP O2ayeWzV491kLmS4diSgdiVUewVf0jh8CuqtWY21SKoXMLaiqJEd2hrYZiG1agE7 VqATt2oBO3egDoPQFp7PlQCGz5UA3tOVAIbPlQHXhcIuRzFlYtqqXMyRuy+oQn6i P+3WtV+5wg5eCMLk+MW/A9DYDxXAYKGWPEWQhjugrTMzM7OFH06sxPzXJ3smd1+p 1oVUrkpbme/c37ZYHH4eXN4eJreSOVTc2+4tEUlO3VFP6drEcAdKtu3585TUJ6ku xfbdGZUbTlV2TRDZ8qAb2fKgE7PlQDe05UAnaUBbOz5UAhs+VAN7PlQAbIgAlSA3 6SRwOnrpQEp4paFc7C4H1JHMy/3dJlX+bCoXcH+k/av6kfJ+g3qJ0it1G3/1oEUf AUaCuUaqV1SheWZKS48e8ptpW1Ec1pFCh9hKsbHT89TVnhW/1Lb8a/dU3Y69UX7T JzZ8q6UsxDZ8qAb2fKgENnyoBvacqATtOPpQFs7PlQCGz5UAR4+SWRIo1LySMERB 6lmOgA/E1jKSim3okD0f4z4FhX8RtcBmsZGxjgjkmhfRnSeQHqMsi8Q2o/aa+M9z 73eWXLIsXHRyaTWzittH8yyjbXGjRmXjfhtnafcnNWkQY2GHIWAOdzFpW3Rhj77Q mv8ACu8udylewrVyX13I1dPgU2aknxRfb+0jWM6fFV1q5yIEkZz5Bhy1r5OzLwkg s7uL+6FmV/5JVviXqTtrwbXxM7EtY+TZnps+VdMWYnZ8qAabPlQCGz5UA02fKgDs +VAWs2fKgE7PlQHf4rY5X/kxd2VneXN3YlJo+2hinRTqQCyNxPtppXOd4yVC27d+ ShbuVXhX3kq1GL1W6N/8VyGRurS3myqNDkJrcNLFInSfRJHClo9TtJU66V8n7nYt wk1ZfK2paPfdLqTIszTJ5jG437g5uCdtjXr75oyrB1EcYIkcjUdMp+724a13Xbbb nhW+vGPz29pS9wtNS519xI3nkGMki3LdwlSOB6iaaH86kW7Lj0KuTIm36Wbly8Nm 6yWvZ9o1yDqvXfeSo/sGhP41vb/L4t78q+4zUXFJmeW2JvbhXMds7NE5imUDirr6 gj1rqf3lr/JalrBc1WOqPm1kysVZdGU6EH2IqQnXVAYbPlXoENnyoBptOVAJ2fKg LI2we1AfJ5IhQFx+3nn3jHjwmhyNq8c8zcclGOpqnDRGQfUoU/GtcJ/LOyZuZNSt vlbitIefV+8uMK1ZlDScY3Oqlp8JbfGhb7v7ueBLexNFfSS70YERW8zEudNv07dS dNfQVyNn+OZqg1KFNerRJuYjhHk5W0v+4fiZ55reZXPZu5usRbTiwnjRQ10nbE/S okADMr7X2jXVTXa9osW7GMo3X+oq7a+w5fOlZdzkpVfkVfNYsyZmeyNpHJd5J5Jr U6KxCH1LH1Xpf000q8xMu3HH1/s09/T4mqzfSt+wtlh5FkcQ13DcYWaayklaWK7t ArynVQNZU3cf06a8NB81Uft4XIxamlLqnt7mR48XFa6lRyE9plr+W7dmt5TovThk dGUAkjfpt1bj6kVf42DCMEm+XmWGMvy40TqdCJFtAB10GmpOp/M1PSoqGwf26n4r 0B2g+KATs+VAJ2nKgOl49RQHNLaFvegOGbGO2vGgOEYzJW1x3VjcyWt0qNGk0Z4q r8G0B1GprXdsxuLjJVRhOCkqMmx5h5gvUR0tpleNgJGUhg+iqh/dqF0Zj8k1Vy7N b0o2R3iLxKu2OyrXhvTcSd4W39yGIcNyPxy9Ks1Yhw4UXHwJH5cacaaFxtvOslb2 UFvJjTPfksJblW2x6oAUb8H+rcPY/NUk+zyc3R+khfs3XTYh8pc5rMZAXd2Y4lie ToRxIATFJt0SVv3FSvDSrPDw1YWj1e/gSrNlQPrDbTD1NTTcdscbj1oDpQGgHUAU AUAnCgEO2gGN0vegGHo0A3/Y5UADoUA4dKgHjp0A8baAdQBQBQH/2YkCHAQTAQIA BgUCTFk5OQAKCRAQwBxaL2BZ50G6EACPPFAxumyI7I6wCxmWteHF/TwlOON0lmA6 /B3sOOxluj0C4d1Xx/qLIDcEMKmxVRQTF5JNUMLjseF43ToXYHi2QVJ/k6IMiGGV 8a6x2Wm/BbNLulVMn7qX+P9uKlzpDzMQweUqSnWuk1vENhCrM9bLC64q76aLdACr +bojsNDsTty2F5bQnlKrQCxtyY5Lo6OfLnZO/skegViwCIvhxE8FIS34Uiiviqle rUjRRZ/n3jZHyg+TO6pW5rxFxjrn0PXqSc6rmh/DZLv7+X7a7EZvyW+tr3/42KYy 78/6xFC4M588FOLNG1sj+HxsFWUnckqhDn8Pt8z34MyXStjkkDPJqUM77WsCJ1kr 8bNOmYdxCWSgof74TaApLL/MK3UxR96o/3yzy07xPzVh5EtQa1rQUI7G37vGotdq 5PT5uv3VJarx4sbiXXtfjxN2QYTI+suOU51oZgzC4AHqWx/zrnbOUPqy0aAMY5lc AqHfMLzn4HH8HGRogw3uYS79Fd2pdB00eRVfcQ9iZ3M9EgyeS/bD9VIFjIvNJPVQ BjU6NvVtcmsj9fCGVr0TSnyG0SZkjIN3vcIjHH0wOSeu8GQl5WdiZrReJRV8GmsT nxL3kAAQoWffyQlFqqoyhEYih0bK3+WeUvRegRzgmgIm3RgRM7Y7u6veekRZoI7B gUWMGk1Xt4kCIAQQAQIACgUCS8WWHgMFAXgACgkQrV7bt5PsV+TyfQ/9GIL6jGMP i0dIoGCgGSDncs+DgxOiTkjPo0Wd70bsJV4Tv1nhkLk9czNrMCm6yH5ED8H4zYEs aY9+dczIte1OWH8fC/nlaUlDD4/Qt850RfY4vNHedoQzH2+NpoxYsveryzCwUq49 rPWYKiw8BRpN98GsDmZsfNbZ3sA9p3AppNYFzVmkN4QqqTJ8S15citEQnV0j81f3 LrvnhpxHHoP4PgKJ6guInSIHQQc2h2ifwtQpGWkoDMpGMGY8hXvHWe972xP4CS+1 eduB3vnMxkDoKmc6km+XmbMpiW0lMMVvb0Ct90Dlvy7GziizJqGAtK463ok85mDu M+3iDdPOcEGneUZ3YmftKVFNrILsUTLp3xSoPDz5x/bgQPh+aetut6Zke3MvRyp7 +ddceUsHnRyRfVF1gdsWdCgNqsC0AF3LBS48uHoWVsnLDEe3dcRD9aH1ZD8leFtO 5u9SBTCJUZ0AfLbe1DD/7r4uLgTClzpafVOFPuZ/fH0becQ6euKksFTC980Hulln /mEribQSfGzI34WedcKk8S7H69llMm4WgVJU1jnhf3F7OyJo8CkzdupqWIm00uFm TXu2PrenmjdJEnep8CP6aaRrNybp0Z8UpnZjNmJ7YCciLJ8dXsr2t1/PMfrTQDpq GtFdeZsWtZHQNekFNRgLW0NmfddVvNkPMWGJAjUEEwEKAB8FAkvFgVQCGwMFCwkI BwMFFQoJCAsDFgIDAh4BAheAAAoJEAtmIFBiWQgIFNsP/2//2YK8VlBnwxuoiVna a3064H8J8rGm8ugXLrcVXp+0iWIFzQCEnYUITHXmBw5B6ezdJvRL/M7ibMHAPtVx ivkSrpARkGdaX65r8WxgVyquMUkqpywZFtmFwPzoxXnxXDb3G5QIrHlh9QCwLtFY BOAx1XZTK4AJSutwEOyFBSPxenGj2jB2J9hYW02lCSklcsjHMGFI2awM0XeusuyY dESmYDyh9Zr4SkU0GsDVUhhjWW6i3DI8OzIfR0kmef31dAXP6pt+yis+C5j2/S7c DMdWtGXvBfPK4SjxQXqkY1iwnIwz1ZmQXRMloS2PH1IDzWYVYGBmNG7kn6GgXAOt u+7KcmjTalJYFI9/W4HK1wcwsBNTQVQmORW3QB4baruQfzzFnqWKCOGoLPOH4Z0y yL0Z07SEHG9qjtymiBBw8AX/N2NVnKQPNb6FBM+ISNJBrnyx0sBT4/zJevc3QGUn p8eeRFGTtdlrm++740NK2YYehUO4L86TsWKgoRdnX/Hj0LNHAdCC0KIZhxiFIGyf muceXoV4yH5nAw93DatqpvN+wd/FtbBqGHA8c7przuttqsFmox/yAiR+CK01ojnv Y6c0rp2XjfS7A3DUjNtcbuE3D69ZdX2M29ZJlXwv5jieMWVDHdcII3vl0F9ko4L8 +8QtCdFG0E2b2YJpEOoMiGQaiEYEEBECAAYFAkyV0ZEACgkQHm578VwY+FQjAACc DvVbxLSgR2oMBeGSbxj2dQC+HhsAnjygf54lBCtiYJ9tajtrrZWgsMGbiQIcBBAB AgAGBQJMlTwoAAoJEGE7sSaAUDkMqB8QAKgAgt5uH5JTiof0s5wT4fb5P7PGUnoX sGx6ssU02WdtM3WKnBgm5iivMjCBlCEW1d2Hh4KKxTpRvfdNdFbL4gxhojpxiQje aMm6ePCB9nMN4oo+mpW3k3SJCsanbf+nrj7xGEu4KRR9AzejYBVmWxpjFNuGkH3d 56Is84XhK7XTjqGtShnzdK9ObZs2SqWPB9E0oua6U3kPm2LCzmzFKSJN6nFRzVLR KgNFR5p0zd3LfKQd7jVVoZDypFAHft/8NhebP/B/rwVQ0mCTu+pkO8cZB6AoBB4j sfrRVvc3ebK0D063Edma7FTdsKydNaAC+NcMryI8RnoRE+jJ7HkMLZ8kZl1IiKbE rmeO/J8+/2LOzCQE+gM8gWzRJ0byzQTyWnplrh0LvSkhLCYHykkCEgtnxTKMyMXe 0+d1iHKj6M+crbCSESf8J1ghPafJKhdbj5JM6CN4Wqa0ewDD+kzzjb3zfCdkoRoT O9flkMhZm+F0LLK53sl2mvDAACHeazuiMC6NPhUOF3gfQWMYUPIGxaUepllK4tCM 3iGO5XvD8wWPKQwfrYv6Xs7gI8q8omTg7F1Ly3OgZlBHDy3IPeBarEn0M91IWslr DzWm4a5YI8tgO3s75n53hRW/AVvvj2Z23up0FRC6pR1x4sAg+fNhtEpou0AaCAjJ JhiQK5rjWS9liQIcBBABCgAGBQJMldScAAoJENIc0iPujg3VnxkP/2g7STec2JtC nDYYo4DB4oROKxY1b4+UdXfH1TxX8hxeVTiJi0tL16pMkZFB+OWEoKhTjsLmXSQw IZnZVD9DgU067AOabeoMxgpalfGf4itZgcrbPw89Hbb6hf+9LVMDXFYYPO5ku1pb /w/iZqyuRZPlYZURUGcDd1kJSXxS1fpZYCfib4QksTvyWB6jL3Crh2Ulg7Hxr6A2 2KHAFHwl8cwVz3L8kJhNoCGKAT2sy+h+6vhwAr9hsid+ZnzpBXHGj3vPHPzzY67x GJFuVWAKhEfEXHrr0B/BOb/WalLMDojr+9LMc+PDbX1w9Ut12k7afbhZRlu3Tx2C 5Xn9ohngzZ4JxI2h4JCjIOD58NwZwJTaAIWeKsX6xGx1gkLEgfZ7xa9kgoSrrBG3 S5q+BMMZmOQeQWV6q0hVXnF3GARV8LMgrHq2M8BZSjtihfm8qkW/x57hQ5eEUzaA Nfyq6hYUG5ciG0bQc89qODSuouCO2wXFw5GraDDjsEg3iSq8lTo/uIADSV13qYKK bXd39apzpDB9RLgNzsMv2bECWx9SowZfiWfhXxyDETv1QeSkHjt6ZmYbHxgbZ0OG pZzx3txHUgW3+OEhWlwOy6ysj1vwiPKF5z9cluAoZsa/6/isntjZelL9SqzrlQcE fz+yGAGDLenYfAlXTptWahMI7sXS+wq8iQQcBBABCAAGBQJMlSJFAAoJEIqviNbY TkGuugkgAIA1mqAkyLv9TdiPRi/o9eKqG10mvY5a+OdwacPmH/8OgdLR0E5bLhC3 BQEct9pm4jaq0c46okkxSBqnDZA6TXftTefD53LnER5YYrjqWVTZqXioSV78mydX EVSliuD9OIwDecOS+/XO/IXYMNRNTuBtWedOuRw18bNZ0VLTfVexZjzAeVUY78bJ S6JcKoqoFVMfnz3REAm4DaV8P0kKxMf07JV0AES0S437igkxvyLHhNYZGj/GgRiZ HvbMoLZLpDEScgWFe7PbCu6liHts8PCnN0Gedrid+5bEn1Yb8fz+9KcA6dSDP1b1 v+/0DWPFqgC9YQyxIgW3hq/FtBp1biDDmLaaD5G+lmRjzAxKWBp9yT3gTJ/VT58y hXtJldKEBNumwpyVsWLPxUBwft71+HDDLLRXBTnsd7vnwCkGSgEHUlERNpAOiCNG khoWqEZFs7WgvdnoZJdOSKWd4+ox5MdgZ0CjbLbdbrq0e1Gydc2R/XVwPahJ0nHv aDQI741ZF9VrMi18ltdXmqv+Jj7wYVPeovokmL2MY0X9Zq1xKv6BWkYrfyJ778mz ORhIx8pZKRj1cs2HbUVXzJOHfZVF/kvFiQ9rBfnu1UYkaBpV2/3b7UrRBm0CqpZ8 qSVVpQnipTjEp2wI2Zo6xeJbLjNTTa02dLinPVlAbrCbxcPolBn5LZzNzgDMn/pH AXew7yW/Vx3nyiWQy7feI6CfMl6Red4VbXl3mkSW5PL7uGS7m4cOhkekLUrs8R1C WqsUWxTdmeqB6fm3fIYu967AnxoFsEIeBKyrVUrPLN4Rs/cEvKGa/1GEOg9ZxdXR WZHTuEv/iM/b2HaWk9HkD671+/aSIPz0qgL2jKoNP+4db3cadADiWHzqiXzB8Xvn pnGKcurBtcPgDdsJ0qLAJas6R7qbpBMVnYzGoK8caZjnHDK9BP0DeY/R8Gc1ykR0 qljz9RYFnJqMPlby+cK2u3AHrBGxc2nHbpkF/ltdnKvtQoFYkeZmtpCVPH1QuOjN 8kVcodUtt0EG/tixVAShgCnB0YQVhRBWzjcqvj+pEnK2pu5fPFFtBZkm1uULB7pc vaAtjLV7yPRJBloZP+R3xyktKfXa0OS7XjfSobBzYYj3zjDFVoq0OTbVNc8g0pLM xkPCrBKib5s5ZWokbhUNcU39Cfv1WTAynS2g8hVSU6itjfBNm0nYF/vNz2pLuhYw VjVHT2NnpWKNfJ1hm4pnINBClSkSn2g4WY42FXMkbBRAJ9/bnF/HKEmMe2O4ew+r MLMk+26Jefk+f+q2UlFV691I04nY2c9JeY55bJkmX1QnpFmWWhIm2rYVxD2jXgMo d4JPJE4ZfIqKJ8hHiyDpC7k4aC7uLDu0JlN0dWFydCBXaWxsaWFtcyA8c3dpbGxp YW1zQHZtd2FyZS5jb20+iQI1BBMBCgAfBQJMaXX5AhsDBQsJCAcDBRUKCQgLAxYC AwIeAQIXgAAKCRALZiBQYlkICHd0D/93SF6+rrGpe++6fnmiUQaGJtejOpT0sm+Z E5zhMAwOW84UeYg1UFKQJSrU6mF6+M5zjsRfKGIUxMabOUvNsco38t377BFhf9Bk OkoUqgTbcepRXRgBmCFsLNBd+cK5tK/TeKI6plrd0oWZTiiu69I4prbRGNupA5F5 vAXizBrg6tHewcv5XCZfVMBO3xheBMrXI4B83oQev1w8wbLiv7bJqB1A1Fsnx2dk eHI5A5M982pE7Oy1ynV1AhV3layxeNNdAIW1dEgHSBRuSa/dZ/1rwqvkAkSseZcz VpjyokTMOshNLKRJVx5cvphgvsL4Qk0fwlb9jJnt/HoPlNvfbTErYir373EKwZ1S OTVMgNrWGTTdA+8PV9s8C+JILl8AmVyF5gbMOJNSemXed1mpbAhjmGuZ6AoN3esK Uk97STgabU0lFk6Y0YKHf+x/Lg3ZC4MpT4nlic63kYMLUfQANOmsnjA+Jwwf+8Cb /N2MJN9eG+MzhW65g+0v+6PJP2n0HxSEC5xHYyulqDuXsRQ5J/XrJqbN5X8LB92o O+IL7aHUHnpGTqBS4X8dTkkAHTX4tJDEaNBN71Hrb+YxPWMVxu6QsW8rvQSd75aa 3TF3PMqOvNZDaf4tsA7UNrwaYHxOm92W1F7VLgHzgHzdZRwxl7Sw+0RswaZCfv85 7mT8KUBZ2YhGBBARAgAGBQJMldGRAAoJEB5ue/FcGPhUhjgAoIYaCIidFdgL1cUI WiwybLla+v1OAKCvCsP8RVZ9W411F3FOVn7YEFevp4kCHAQQAQIABgUCTJU8KAAK CRBhO7EmgFA5DFEjEACjWyOy2z+mfJdvmo10A4YXqxNXXSZXQcWtfF0sGQQV3o7T 3hKrX91QPYgjoUoPsRBxE1XUX29CIWiLRKJEoJHKaoVaXYjBvSStrlAA3MXJQD2y wrmrYLZGktAU9IJKhGeajCHAXgQY/rM2yYnhMle4Sx5gNmV6OLXOOgdoSiF7Ntlf VSe1eoHbABaZ641Ywcv2qoOFfZyunERYR66KhW1x2MQWcQU6nqGPk2IhbUduxY5O vmFKmOcbImoZs18ozIo0x1H2I5+Cc0oq59DIFy0o+WaLrrnFeTkvsOik/2jVjcyT MKqXDioQrr8X7m6EeGaSFF9Mw34nqH23hh8Jq5L7jiCzLqCtxQfm+7cw3n3sWCXd WJQN7yWNKkVxA8FkTSXCp4KQmpa2WgPRGmv3JT3DDDQaI5FGwIbVHG2vDAijOQL4 i+LyO0CuwbTHpdtAdc74DHvIYrc64xZu0z3MLAfPQS5PWBXdqJS7xg0zdVaOv+R8 xxrbf1WR2KQS3TQjQcmni1C851N6eQQ0Bd6BPg1ELg9EpSu9jRraEmH+Zv/HmU1r McxgDMm8y05Zv1jKsjS5s8QWjUuU6YPzv9Lp+isSJRj7NVCrTx65NgxDXbNsQev8 5NPx6iUTHBJEsJ8tqDpqttpDP55lvQDHQVp6VUsSsGK/NF9zB7AiOaTxTU3lsokC HAQQAQoABgUCTJXUnAAKCRDSHNIj7o4N1Sm1EADd3Kfmr3x2ab1Li8e4Qbol3O3l YgR+Jt79TF1VI+FSWeT7jS53o0VJlCMqh3Pfthnlj0x4yuZAt+YzDX+N4ZawNDBy Uvz6zRWxlYMUsaPNodqK3BEfPNXtV6WeVWx2uv3fcRXbtXOO7ZHimUfGOmmJR4lF x8WX9qWenXw3UJXqomaSEM/qMTMySRp2uTXSSaUO3D7cbV2rnjgGq2FgTnWETQ8G T4mhE3Fnxcg0cAcLqNcMNK3mn6/L/ifYY3AtQQ9UruK5cTEhkSROMIZ2DmqmwKiS CgUCVNnYOiUHgZIcanbJBw4B0N8EAWE432uKH2smfbHwIpTVPuXGtl1f//bxDhZJ LqY/1hmmzDXJlkOVrSM3CgMKUAAT/Re2U8T6T4Pau/ti2KAj6QEaLlWfzfUC+t2h yjI4ucinP+ldBRlYWr0uwDdpp65iFJUmesppQ2397hZgQRqk8ljn1HsleYKjiNAo cC4unKgyXwHYLjs0csOQYnSMRxyGauw/0MbZsjrLj8qwtFzktGteuuPGXVisJBOK T0ZhAcrLEH1zv07jgUQpwCDgx2n2CJbgum7uT7bFgzqW6c6voEAfXKcupCjgjhU/ sK0x+dRk00GJ8tBDLa26zNZCPjnnR+DwTStwfl6lkekbwg+VAuRtHaft27QC5ff7 Y9e939IBmYtLrFfap4kEHAQQAQgABgUCTJUiRQAKCRCKr4jW2E5Brm1+H/9Lfc9V 6hi4BpBMZh9RGpQh1bZ8U/ch39TUUDhfG8lC7TkzYN+H+S6/7uxug/no1+Yj/YCm hNmwkKycpdnl/37R6qGfeuFm8twuo8DiEvupp7Yorr4Fw1TpgpHs+qEtb+6jng0G RWZCR7YpFkWGg8ZrtG92P9qk9ynxj6ygpE4QDvOTpO7W+d4e7kuNBBqLhrnDvmY7 /sVMuQu4rOlTZa/k0srgscIt5pCPpGtVhRFM0OIJVhkJgPhM57onZW++uEpSg9SV MBWbx27FMYA+b9e/if7kp9A+pcyMel0G9AEKaim9h4He2TaENjRD0F21EGXnSua9 8uTsgMKiUZCd+3pFpqKHCHeGqLkpsI1g2G0wSr2RyOexjtS5c6ppFo8mTUg9YvEy ZLP8x1L/jVDQtr35Op6c1RhBTOiuGpcQT9fodX1KX/EAIjRGj614yXUvvCiEWGuF WvnRei4RblxNyt/7jnu8pdnHQNGy0nFkcPigwu77qxKpBS9LdMk7XgeVcvME4wnZ kM953Zk/YZc0MeN8EyqBxGImHBRu045/ji0BSMdFD5243G6bDUeoaqhBtm90GDUK cjKVGof877x1illUZMLE1zWx0Cqv2X38krrsoa3WPhhm4jw/R3slbQNAQ6HaL8QI AMEbbqo9Pf6xi+GVv38nW6sF/8gTaePFMmWhjqCQ9NXOgJQC2SEBVbkwzEo5D7b8 8ao65Z1kr5xS7AWgHUrMyr2SiT7Ab8478hVVJkBC3fjuVcGSdpMu1SIMDhbXKVhD 786or8up27iGTZSulqPqmLarIm8NPWwOY722HgCMoxuDZYw7WFji01VOPXz8Ncme PrMo9jHBHrtd5UCDVpnXUolJmkGMFMFWhTgsxgdcKuEf7eRs9QGWnGRHrcDppEUs 9OvQXFUvva87EAFFnCh24xwMddGWuXqGbT2UuMeLXEjazkPwXtp9bHGsxVPCDlQa jDy6RTcXNQEqKpsAx1LzQbJbo82hScjktgkfm2LSskGVm3Qb41FHRDEN4szRE84N 9UJCzt2X3RhpfHdsY8w2pSHNaHMD1DWUJBlRGsU4P+VXSXddihWdiq2I3TtgJTYS 9kB62gF49DBCbzGq0ELDyCwu+/YbBeP4Bpv+xSxXE2i1NhxUGjCw7nal+poPfIV7 rv+g5P0uqvad6XJ0q1EzXy2Ls1w9I+uJwNcDa9gZMdX4SGSTCUmcp3zZc29yQVMB j3RxPfP6R7CjRk1WYEiB7cbDk/GJ9h5/aKEYLt/I3zhn+HS/Yd8+DSY8rfT0hn2n ochLpRLwnfKaCi7D1PsvqE2ohpOrP39TGs5p9uKe+iYwpEr2cNAhedIO5jEvsHUE bBnfTiMeV8IVGPzvuQINBEvFfXkBEAC9GUNu8RZ/zY4BX8snhKcxZrv8FirsDPzc ASJn3RUSadGyJJw+0sf0pUg80Zj5nK3X4c/vqMeu3Du8X88CSLCW6BcKJu/jsFv3 qh9htzSiC+wIv+pdHyPLG+Wfqr75rxVOiQvGajPAIE2/jITbI4NYhq3SjzDjzn+Y ZeR5QsA2Uj7c8Kqnc9o6ZgZaNgkvN4vxfleRS8ubzW1HsfPaDIJzvg+u4E5lKWdq Nv1D+rUmshrrSgpVZD7m+SlMbAiC0Xrl2cpYB+oFeEPTM6v8+KORTNnJGVGFBTKG s6lzyrS8Pq411e4bSaoG9VHjaRahrmtw27kg58Hg9FZRtilQblLFWFxx/Rg/tAnz UBcll/xiKHpcshDAr1VKn8TcoFMjrzOPmfwxC6LOIdjLcY0XNSjUM6vNcnJrmsTK OgZGkD+JZk5pSsxnMWNU7VgKWO/Wmjvy5qUa7FZkh/A7FPus8eLf/711NstUB6+6 k/0eoZaVvtZ5MVKhBrkYscLNGOtaV7hwm+0cjQGLK/x0ntj6NciF9pMiGpC+AP0X VIv4rdjA4MC2ZMOf2UttfkzXWIab70MrvxJw9m3VknWOBXTzKDLzTtD4Y0AIGVyz qz86dHlrLXK5Zwort/tFOjpSp9SZUV09nSyT+re36V2VaOzEtZjpf4a1DinuIiQf ugVgb0QnjwARAQABiQIfBBgBCgAJBQJLxX15AhsMAAoJEAtmIFBiWQgIruQP/3YR vBzgcEQAXBrdh3Zfd7QRYJCk9xSNGGzzMVkIKH2n3nhRNRwplsARfnDKMu7ujh+N k3a1zUX8GK2+xhxt0XJ7jBrZoMtEPiSmjLkSSu2GYBbhVsNE3XYnxm19ZpvsNO72 qU4mEjTKElY7jI0oaWntLCJguW0wua4Sc43Nqg6cg1Ttv891l5d1eTk64S/PA9qm QyRG9lI5dtRqNLDlyMPzdWelP3lGzqLPc83HYHKCzjJ4Updfv2bU+eCW/qyyQkic CKyrka0KIyh3GXbHCqmGFuHJTknlF6MLdcEAInBNbjakeWTJinjcivPwPN5NwgSO yte+uI0UB5tWUvwoyqr4e8CJE80M0ZtTYN8rKJJx+/g6EvFUf+qxunanjEV6ZP2L fylVfLJsObnQN0Jv0ae47/F9b2SeWh/CaKtCxi0vzg+s+MKdBTXqUAIPBzQMyL// oq9VpQwqFFMD7fNBjBt2qKRYCmk/UFaqbtG7T6y6zcj/gobPr9QcJYM7FOaY6L0Q TA/H/qmf+xwt4klDsa4DwdVXXVCY0dYsJZ9crRJi61EojtCiC7Z4uMPrszl8+KXo I+u/kObNjQz6YQsKz3Hq4cZB4+n13x1pYZXKxNuwWF2JUQkGvcCg+wAkUKypIrcj c1OtnvugNcNVlwStx1wAekBg5u+QsmyaB/huA4TpuQINBEvFiB0BEACz8LRTLr0n ajj4u5xDZwJ5kWa45ClbiTHCSdePANZQqi7x8qOXdhZen23R8iBKMjLnEix/Hlgr A3OacsG/Xy/CqPxkupOTxklDfThKMH6aifjDr23N3i4ODTyYolh2a8lAKH0WgV1z 85RqjD6qu0nh9Xr3mb4GDFOOqs1ppNf6AzOLTMKFbOMLJ9SVHEgUNRvig4kUid6j AoNrmDLNn/KbtwWlHWtAz4nUCGZfGmMPVKnmg9mwEwfHm4r0/BN2sXK12zbyrqJT siDP4h0MIs81wlWBgHdxwXhBgBJK8vhy4sD2CXApjL2fbf5gjn3ApOdTKrpyTZpJ wRKlSeLkSy/BYKBzbSHmFz3HHTdn0u1aT/9gJYO4MGLhO/Kpm1Ht0aRHaoberswS iCpQQ77EPysJgiauyErRL0ynkDHfEbkBJGbgMjJZn8WYxYxAkVU3vYneEcHhmMZ4 At0gcLxN1/wJykMUiEw/uZmUYpdcVC36c/fM/6jCo6Y5QO6Ho5ENrwEVTSX8GTdU tsKFrDNh4blTcMmTKO9ijq8pNhZ/GpsZPVXpfx9QYH6dJx9Q9W0MLVx90WRdw+Tp DqdSkPOyQndlwsm0+ywPvDhAQ3Gjx5/XSt4WbfT1jYKd5+PQh5/1NyDc5YYQdRkf ftwk3PTDFqAgnTnG4SjFrCS4ImbCKiUvSwARAQABiQQ+BBgBCgAJBQJLxYgdAhsC AikJEAtmIFBiWQgIwV0gBBkBCgAGBQJLxYgdAAoJEGoM2OGpOvr9zPYP/3T/rytn OvMw9Pa4B5rvaQDRgWfCIR4apaEC2nZNjnkocl1tkP1b3wkH2X9DmAlpwqttj7No DJl/uqv4s/SUnB1RyPPBSTmaHmSaKVplSoD6DMh6I9WAbXYQ5lW0DAAE+a45/oiR r1FsE57xevT4p8Ss/QMlVFv6HSaOyqNIgES3/jSlxLBJji30+ZaMYUJCO+yUrdi+ i6oXdpKKodRcfKSMqAcNmadaYzzzfq48ZCcRRxjY4hzUh9mn6RIqwmBFOarQkRG8 jeyyCd2PBPm4yaPPop2/jKduGfQv99q4B+jdZEfm0ZQCGR1f5j+jDnG2lzPTUXZu UpSuSqz6yj2p/QBVaLDYW07HMARrLCii777gZOLMVf3hFMEyRH9uRc5qYalrGCM7 L7koVUzavY+igjo3mM5XFJ8LEvjmMOElRdtjxsyNe47+Eofs0cT6xhM1nKB0FIAm 0m7djGC5LlsWFEQeyvB6Fu7zsFAdQxepTyYX9jSE7an0gQofZq0RqfO0t8+T33NC kJox9YXD8wpkaGIi54EHK2a+dPF7GntH34w571YzUwJAjLia2fELneojGPtUm9u3 aCiPP6GskeGrBS3ZGiOJI4ebCrEYqe+fqzIlUpQRHsJh7B+BfvrkiXscwwceunYS JowU1Rjbruqe7fEkRoqMRhbF+F4ebnB2ZlU+CyYP/R1IwLOjX5MjylDtjVTVULqj UEeuvcRSR+movlF7fOgl5kp+WS7zLZ/ROKWXVJJFNgMTcTGDiy7tYE8c2+0wznZw Je/SQVgRfrob+Wo921vKX+odrESL7J/uGxJO8Ev6fFFXj2EnZFH55POK0LBy1AE5 Fz1Tkx+y/ASj+rq3+ELz51HaqMgYb00KL5x9hL/4H/tDMrkzFx2TDEhLDyKbzt0i 0+8oDUGRt+CBB5BhTsx0MbwQ162A4ZiR36E/jX/B5whZodD+xWf9r6ryHtudPSvm 3/cveeU89EuuKV1FoLQPQ0myshmLnSIVmLLCS1pVpommlNwFkORDRxdziMLuasSB GyKs//xepDSwTky6RihvkKxvKq1WQ/6YKpoS4cjsCUBeuSbWZi4WqGvonRfDmI7Z ehbw8W3BzMIQJjwbRqiqVdCd1FIrD+FNFKNjCo2M1HXTHsjLsYRh20atEZFAw8YP BH7nYeefDcPcJihagnqFEPDUVxz+b50vdCurH91Y/1LO03LVW4Yrt81hIS5q8Ato BAOyOVJ63HlWjDTy5ockVpB4sxIGd8+orp4+Ul9Ryr2Um/AiuVbkGG+6m1qXomMl AlDQ85XiQ9Xjs9ialxSjM7ZSot7Sf+3pUQnxiQionc1HZl0Yc+hKIqAvpPlgb8aD V3aJdCb6dFPeBGLz6ygX =3Dfs2D -----END PGP PUBLIC KEY BLOCK----- --------------080502070304070207070006-- --------------enig4E0A4EE37A3FD319E03CE23D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCgAGBQJNFHk0AAoJEGoM2OGpOvr9NgcP/jX/uCLnvgXxaAt2t7GmUwwy azDtpJKpefi7k6vfTwpIS7iQcBm8Ia3VwM/wx8dXbJTigTJ2OH4zqgv55+fHFDBp YaEnLrrfLq4C42phhuFttafSfqErQCp9cN0oq6Spy6BQp/OoivJTAiGichNsYGwO BAEh6r7WpeklfX3zThKVqbJHYjkFnWNYoO1yvEAGmYyYSnWmZrW68beE5kgkgvLO vbK2gbiEh6jcC2KU+POEPSBzlCMPhtNV0uKQVmH8kb7f42TWwFNWYi7SdsQlcdab cB3zuA2ERX8WDTszkS+CRptQwRDrbhpFCLpCfBo3Y0270bIEwqcO90VCegCrZGOI rYdcbqACcCHQ2BMMoV3OSUEGTbbIqhq8MoOddziFz75hgTrSYMj6GxHqCN8Z4Y3x IIiRSXAjHcfXEXI0WWcCwh2F3JlF7caf/TmTYed9hDpMPPAwouH0N2lU64gNy48B LkYSNy14q8hTWQXSrFDZYmbACx+NXAiqasYHiMC8e4874LOSEHLp/mpdntcTyAib 7lvkOqG7UoovUSNxsSCGkyrseMjllVz7gJQ2LgsGqmHlrOTXVmoIOseVTtHerHFu /Jwn5WyJCzfevN68HF1vWlSeg9PnGGYB/XdLlrFNPM/2PvJcSvYAxEZnDDkuagwL 1BgOEGqUXBMs2wdMvnpo =1s77 -----END PGP SIGNATURE----- --------------enig4E0A4EE37A3FD319E03CE23D--
From [email protected] Fri Apr 11 19:23:00 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34180 invoked from network); 11 Apr 2008 19:23:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Apr 2008 19:23:00 -0000 Received: (qmail 48576 invoked by uid 500); 11 Apr 2008 19:23:01 -0000 Delivered-To: [email protected] Received: (qmail 48564 invoked by uid 500); 11 Apr 2008 19:23:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <security-cvs.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 48553 invoked by uid 99); 11 Apr 2008 19:23:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Apr 2008 12:23:00 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Apr 2008 19:22:15 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 98C3E1A9832; Fri, 11 Apr 2008 12:22:33 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r647272 - in /xml/security/trunk: ./ src/org/jcp/xml/dsig/internal/ src/org/jcp/xml/dsig/internal/dom/ src_unitTests/javax/xml/crypto/test/ src_unitTests/javax/xml/crypto/test/dsig/ Date: Fri, 11 Apr 2008 19:22:27 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: mullan Date: Fri Apr 11 12:22:21 2008 New Revision: 647272 URL: http://svn.apache.org/viewvc?rev=647272&view=rev Log: Fixed bug 44810: Add support for more XMLDSig algorithms listed in RFC 4051 Removed: xml/security/trunk/src/org/jcp/xml/dsig/internal/HmacSHA1.java xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMDSASignatureMethod.java xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMRSASignatureMethod.java xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMSHADigestMethod.java Modified: xml/security/trunk/CHANGELOG.txt xml/security/trunk/src/org/jcp/xml/dsig/internal/MacOutputStream.java xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMCanonicalizationMethod.java xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMDigestMethod.java xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMHMACSignatureMethod.java xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMKeyInfo.java xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMKeyName.java xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMKeyValue.java xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMManifest.java xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMReference.java xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMRetrievalMethod.java xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMSignatureMethod.java xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMSignatureProperties.java xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMSignatureProperty.java xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMSignedInfo.java xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMTransform.java xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMX509Data.java xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMX509IssuerSerial.java xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMXMLObject.java xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMXMLSignature.java xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMXMLSignatureFactory.java xml/security/trunk/src_unitTests/javax/xml/crypto/test/KeySelectors.java xml/security/trunk/src_unitTests/javax/xml/crypto/test/dsig/XMLSignatureTest.java Modified: xml/security/trunk/CHANGELOG.txt URL: http://svn.apache.org/viewvc/xml/security/trunk/CHANGELOG.txt?rev=647272&r1=647271&r2=647272&view=diff ============================================================================== --- xml/security/trunk/CHANGELOG.txt (original) +++ xml/security/trunk/CHANGELOG.txt Fri Apr 11 12:22:21 2008 @@ -1,5 +1,6 @@ Changelog for "Apache xml-security" <http://xml.apache.org/security/> New in ... + Fixed bug 44810: Add support for more XMLDSig algorithms listed in RFC 4051 Fixed bug 44629: Switch order of XML Signature validation steps Fixed bug 44617: Regression when processing XPath transform Fixed bug 44586: XMLX509IssuerSerial.getIssuerName incorrectly escapes '#' in hex values Modified: xml/security/trunk/src/org/jcp/xml/dsig/internal/MacOutputStream.java URL: http://svn.apache.org/viewvc/xml/security/trunk/src/org/jcp/xml/dsig/internal/MacOutputStream.java?rev=647272&r1=647271&r2=647272&view=diff ============================================================================== --- xml/security/trunk/src/org/jcp/xml/dsig/internal/MacOutputStream.java (original) +++ xml/security/trunk/src/org/jcp/xml/dsig/internal/MacOutputStream.java Fri Apr 11 12:22:21 2008 @@ -17,20 +17,20 @@ package org.jcp.xml.dsig.internal; import java.io.ByteArrayOutputStream; +import javax.crypto.Mac; /** - * Derived from Apache sources and changed to use HmacSHA1 objects - * objects instead of org.apache.xml.security.algorithms.SignatureAlgorithm - * objects. + * Derived from Apache sources and changed to use Mac objects instead of + * org.apache.xml.security.algorithms.SignatureAlgorithm objects. * * @author raul * @author Sean Mullan * */ public class MacOutputStream extends ByteArrayOutputStream { - private final HmacSHA1 mac; + private final Mac mac; - public MacOutputStream(HmacSHA1 mac) { + public MacOutputStream(Mac mac) { this.mac = mac; } Modified: xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMCanonicalizationMethod.java URL: http://svn.apache.org/viewvc/xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMCanonicalizationMethod.java?rev=647272&r1=647271&r2=647272&view=diff ============================================================================== --- xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMCanonicalizationMethod.java (original) +++ xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMCanonicalizationMethod.java Fri Apr 11 12:22:21 2008 @@ -99,8 +99,7 @@ } public int hashCode() { -// uncomment when JDK 1.4 is required -// assert false : "hashCode not designed"; + assert false : "hashCode not designed"; return 42; } } Modified: xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMDigestMethod.java URL: http://svn.apache.org/viewvc/xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMDigestMethod.java?rev=647272&r1=647271&r2=647272&view=diff ============================================================================== --- xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMDigestMethod.java (original) +++ xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMDigestMethod.java Fri Apr 11 12:22:21 2008 @@ -41,6 +41,8 @@ public abstract class DOMDigestMethod extends DOMStructure implements DigestMethod { + final static String SHA384 = + "http://www.w3.org/2001/04/xmldsig-more#sha384"; // see RFC 4051 private DigestMethodParameterSpec params; /** @@ -50,7 +52,7 @@ * @throws InvalidAlgorithmParameterException if the parameters are not * appropriate for this digest method */ - protected DOMDigestMethod(AlgorithmParameterSpec params) + DOMDigestMethod(AlgorithmParameterSpec params) throws InvalidAlgorithmParameterException { if (params != null && !(params instanceof DigestMethodParameterSpec)) { throw new InvalidAlgorithmParameterException @@ -67,7 +69,7 @@ * * @param dmElem a DigestMethod element */ - protected DOMDigestMethod(Element dmElem) throws MarshalException { + DOMDigestMethod(Element dmElem) throws MarshalException { Element paramsElem = DOMUtils.getFirstChildElement(dmElem); if (paramsElem != null) { params = unmarshalParams(paramsElem); @@ -82,25 +84,37 @@ static DigestMethod unmarshal(Element dmElem) throws MarshalException { String alg = DOMUtils.getAttributeValue(dmElem, "Algorithm"); if (alg.equals(DigestMethod.SHA1)) { - return DOMSHADigestMethod.SHA1(dmElem); + return new SHA1(dmElem); } else if (alg.equals(DigestMethod.SHA256)) { - return DOMSHADigestMethod.SHA256(dmElem); + return new SHA256(dmElem); + } else if (alg.equals(SHA384)) { + return new SHA384(dmElem); } else if (alg.equals(DigestMethod.SHA512)) { - return DOMSHADigestMethod.SHA512(dmElem); + return new SHA512(dmElem); } else { - throw new MarshalException("unsupported digest algorithm: " + alg); + throw new MarshalException + ("unsupported DigestMethod algorithm: " + alg); } } /** - * Checks if the specified parameters are valid for this algorithm. + * Checks if the specified parameters are valid for this algorithm. By + * default, this method throws an exception if parameters are specified + * since most DigestMethod algorithms do not have parameters. Subclasses + * should override it if they have parameters. * * @param params the algorithm-specific params (may be <code>null</code>) * @throws InvalidAlgorithmParameterException if the parameters are not * appropriate for this digest method */ - protected abstract void checkParams(DigestMethodParameterSpec params) - throws InvalidAlgorithmParameterException; + void checkParams(DigestMethodParameterSpec params) + throws InvalidAlgorithmParameterException { + if (params != null) { + throw new InvalidAlgorithmParameterException("no parameters " + + "should be specified for the " + getMessageDigestAlgorithm() + + " DigestMethod algorithm"); + } + } public final AlgorithmParameterSpec getParameterSpec() { return params; @@ -108,15 +122,20 @@ /** * Unmarshals <code>DigestMethodParameterSpec</code> from the specified - * <code>Element</code>. Subclasses should implement this to unmarshal - * the algorithm-specific parameters. + * <code>Element</code>. By default, this method throws an exception since + * most DigestMethod algorithms do not have parameters. Subclasses should + * override it if they have parameters. * * @param paramsElem the <code>Element</code> holding the input params * @return the algorithm-specific <code>DigestMethodParameterSpec</code> * @throws MarshalException if the parameters cannot be unmarshalled */ - protected abstract DigestMethodParameterSpec - unmarshalParams(Element paramsElem) throws MarshalException; + DigestMethodParameterSpec + unmarshalParams(Element paramsElem) throws MarshalException { + throw new MarshalException("no parameters should " + + "be specified for the " + getMessageDigestAlgorithm() + + " DigestMethod algorithm"); + } /** * This method invokes the abstract {@link #marshalParams marshalParams} @@ -154,24 +173,93 @@ } public int hashCode() { - // uncomment when JDK 1.4 is required - // assert false : "hashCode not designed"; + assert false : "hashCode not designed"; return 51; } /** * Marshals the algorithm-specific parameters to an Element and - * appends it to the specified parent element. + * appends it to the specified parent element. By default, this method + * throws an exception since most DigestMethod algorithms do not have + * parameters. Subclasses should override it if they have parameters. * * @param parent the parent element to append the parameters to * @param the namespace prefix to use * @throws MarshalException if the parameters cannot be marshalled */ - protected abstract void marshalParams(Element parent, String prefix) - throws MarshalException; + void marshalParams(Element parent, String prefix) + throws MarshalException { + throw new MarshalException("no parameters should " + + "be specified for the " + getMessageDigestAlgorithm() + + " DigestMethod algorithm"); + } /** * Returns the MessageDigest standard algorithm name. */ abstract String getMessageDigestAlgorithm(); + + static final class SHA1 extends DOMDigestMethod { + SHA1(AlgorithmParameterSpec params) + throws InvalidAlgorithmParameterException { + super(params); + } + SHA1(Element dmElem) throws MarshalException { + super(dmElem); + } + public String getAlgorithm() { + return DigestMethod.SHA1; + } + String getMessageDigestAlgorithm() { + return "SHA-1"; + } + } + + static final class SHA256 extends DOMDigestMethod { + SHA256(AlgorithmParameterSpec params) + throws InvalidAlgorithmParameterException { + super(params); + } + SHA256(Element dmElem) throws MarshalException { + super(dmElem); + } + public String getAlgorithm() { + return DigestMethod.SHA256; + } + String getMessageDigestAlgorithm() { + return "SHA-256"; + } + } + + static final class SHA384 extends DOMDigestMethod { + SHA384(AlgorithmParameterSpec params) + throws InvalidAlgorithmParameterException { + super(params); + } + SHA384(Element dmElem) throws MarshalException { + super(dmElem); + } + public String getAlgorithm() { + return SHA384; + } + String getMessageDigestAlgorithm() { + return "SHA-384"; + } + } + + static final class SHA512 extends DOMDigestMethod { + SHA512(AlgorithmParameterSpec params) + throws InvalidAlgorithmParameterException { + super(params); + } + SHA512(Element dmElem) throws MarshalException { + super(dmElem); + } + public String getAlgorithm() { + return DigestMethod.SHA512; + } + String getMessageDigestAlgorithm() { + return "SHA-512"; + } + } } Modified: xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMHMACSignatureMethod.java URL: http://svn.apache.org/viewvc/xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMHMACSignatureMethod.java?rev=647272&r1=647271&r2=647272&view=diff ============================================================================== --- xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMHMACSignatureMethod.java (original) +++ xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMHMACSignatureMethod.java Fri Apr 11 12:22:21 2008 @@ -26,15 +26,18 @@ import javax.xml.crypto.dsig.*; import javax.xml.crypto.dsig.spec.HMACParameterSpec; import javax.xml.crypto.dsig.spec.SignatureMethodParameterSpec; -import org.jcp.xml.dsig.internal.HmacSHA1; import java.security.InvalidAlgorithmParameterException; import java.security.InvalidKeyException; import java.security.Key; +import java.security.MessageDigest; +import java.security.NoSuchAlgorithmException; import java.security.SignatureException; import java.security.spec.AlgorithmParameterSpec; import java.util.logging.Level; import java.util.logging.Logger; +import javax.crypto.Mac; +import javax.crypto.SecretKey; import org.w3c.dom.Document; import org.w3c.dom.Element; @@ -45,10 +48,11 @@ * * @author Sean Mullan */ -public final class DOMHMACSignatureMethod extends DOMSignatureMethod { +public abstract class DOMHMACSignatureMethod extends DOMSignatureMethod { - private static Logger log = Logger.getLogger("org.jcp.xml.dsig.internal.dom"); - private HmacSHA1 hmac = new HmacSHA1(); + private static Logger log = + Logger.getLogger("org.jcp.xml.dsig.internal.dom"); + private Mac hmac; private int outputLength; /** @@ -57,9 +61,9 @@ * @param params algorithm-specific parameters (may be <code>null</code>) * @throws InvalidAlgorithmParameterException if params are inappropriate */ - public DOMHMACSignatureMethod(AlgorithmParameterSpec params) + DOMHMACSignatureMethod(AlgorithmParameterSpec params) throws InvalidAlgorithmParameterException { - super(SignatureMethod.HMAC_SHA1, params); + super(params); } /** @@ -67,11 +71,11 @@ * * @param smElem a SignatureMethod element */ - public DOMHMACSignatureMethod(Element smElem) throws MarshalException { + DOMHMACSignatureMethod(Element smElem) throws MarshalException { super(smElem); } - protected void checkParams(SignatureMethodParameterSpec params) + void checkParams(SignatureMethodParameterSpec params) throws InvalidAlgorithmParameterException { if (params != null) { if (!(params instanceof HMACParameterSpec)) { @@ -89,7 +93,7 @@ } } - protected SignatureMethodParameterSpec unmarshalParams(Element paramsElem) + SignatureMethodParameterSpec unmarshalParams(Element paramsElem) throws MarshalException { outputLength = new Integer (paramsElem.getFirstChild().getNodeValue()).intValue(); @@ -99,7 +103,7 @@ return new HMACParameterSpec(outputLength); } - protected void marshalParams(Element parent, String prefix) + void marshalParams(Element parent, String prefix) throws MarshalException { Document ownerDoc = DOMUtils.getOwnerDocument(parent); @@ -111,38 +115,73 @@ parent.appendChild(hmacElem); } - public boolean verify(Key key, DOMSignedInfo si, byte[] sig, + boolean verify(Key key, DOMSignedInfo si, byte[] sig, XMLValidateContext context) throws InvalidKeyException, SignatureException, XMLSignatureException { if (key == null || si == null || sig == null) { - throw new NullPointerException - ("key, signedinfo or signature data can't be null"); + throw new NullPointerException(); + } + if (!(key instanceof SecretKey)) { + throw new InvalidKeyException("key must be SecretKey"); + } + if (hmac == null) { + try { + hmac = Mac.getInstance(getSignatureAlgorithm()); + } catch (NoSuchAlgorithmException nsae) { + throw new XMLSignatureException(nsae); + } } if (log.isLoggable(Level.FINE)) { log.log(Level.FINE, "outputLength = " + outputLength); - } - hmac.init(key, outputLength); - si.canonicalize(context, new MacOutputStream(hmac)); - return hmac.verify(sig); + } + hmac.init((SecretKey) key); + si.canonicalize(context, new MacOutputStream(hmac)); + byte[] result = hmac.doFinal(); + if (log.isLoggable(Level.FINE)) { + log.log(Level.FINE, "resultLength = " + result.length); + } + if (outputLength != -1) { + int byteLength = outputLength/8; + if (result.length > byteLength) { + byte[] truncated = new byte[byteLength]; + System.arraycopy(result, 0, truncated, 0, byteLength); + result = truncated; + } + } + + return MessageDigest.isEqual(sig, result); } - public byte[] sign(Key key, DOMSignedInfo si, XMLSignContext context) + byte[] sign(Key key, DOMSignedInfo si, XMLSignContext context) throws InvalidKeyException, XMLSignatureException { if (key == null || si == null) { throw new NullPointerException(); } - hmac.init(key, outputLength); - si.canonicalize(context, new MacOutputStream(hmac)); - - try { - return hmac.sign(); - } catch (SignatureException se) { - // should never occur! - throw new RuntimeException(se.getMessage()); + if (!(key instanceof SecretKey)) { + throw new InvalidKeyException("key must be SecretKey"); + } + if (hmac == null) { + try { + hmac = Mac.getInstance(getSignatureAlgorithm()); + } catch (NoSuchAlgorithmException nsae) { + throw new XMLSignatureException(nsae); + } + } + hmac.init((SecretKey) key); + si.canonicalize(context, new MacOutputStream(hmac)); + byte[] result = hmac.doFinal(); + if (outputLength != -1) { + int byteLength = outputLength/8; + if (result.length > byteLength) { + byte[] truncated = new byte[byteLength]; + System.arraycopy(result, 0, truncated, 0, byteLength); + result = truncated; + } } + return result; } - public boolean paramsEqual(AlgorithmParameterSpec spec) { + boolean paramsEqual(AlgorithmParameterSpec spec) { if (getParameterSpec() == spec) { return true; } @@ -152,5 +191,69 @@ HMACParameterSpec ospec = (HMACParameterSpec) spec; return (outputLength == ospec.getOutputLength()); + } + + static final class SHA1 extends DOMHMACSignatureMethod { + SHA1(AlgorithmParameterSpec params) + throws InvalidAlgorithmParameterException { + super(params); + } + SHA1(Element dmElem) throws MarshalException { + super(dmElem); + } + public String getAlgorithm() { + return SignatureMethod.HMAC_SHA1; + } + String getSignatureAlgorithm() { + return "HmacSHA1"; + } + } + + static final class SHA256 extends DOMHMACSignatureMethod { + SHA256(AlgorithmParameterSpec params) + throws InvalidAlgorithmParameterException { + super(params); + } + SHA256(Element dmElem) throws MarshalException { + super(dmElem); + } + public String getAlgorithm() { + return HMAC_SHA256; + } + String getSignatureAlgorithm() { + return "HmacSHA256"; + } + } + + static final class SHA384 extends DOMHMACSignatureMethod { + SHA384(AlgorithmParameterSpec params) + throws InvalidAlgorithmParameterException { + super(params); + } + SHA384(Element dmElem) throws MarshalException { + super(dmElem); + } + public String getAlgorithm() { + return HMAC_SHA384; + } + String getSignatureAlgorithm() { + return "HmacSHA384"; + } + } + + static final class SHA512 extends DOMHMACSignatureMethod { + SHA512(AlgorithmParameterSpec params) + throws InvalidAlgorithmParameterException { + super(params); + } + SHA512(Element dmElem) throws MarshalException { + super(dmElem); + } + public String getAlgorithm() { + return HMAC_SHA512; + } + String getSignatureAlgorithm() { + return "HmacSHA512"; + } } } Modified: xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMKeyInfo.java URL: http://svn.apache.org/viewvc/xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMKeyInfo.java?rev=647272&r1=647271&r2=647272&view=diff ============================================================================== --- xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMKeyInfo.java (original) +++ xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMKeyInfo.java Fri Apr 11 12:22:21 2008 @@ -199,8 +199,7 @@ } public int hashCode() { -// uncomment when JDK 1.4 is required -// assert false : "hashCode not designed"; + assert false : "hashCode not designed"; return 43; } } Modified: xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMKeyName.java URL: http://svn.apache.org/viewvc/xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMKeyName.java?rev=647272&r1=647271&r2=647272&view=diff ============================================================================== --- xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMKeyName.java (original) +++ xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMKeyName.java Fri Apr 11 12:22:21 2008 @@ -88,8 +88,7 @@ } public int hashCode() { -// uncomment when JDK 1.4 is required -// assert false : "hashCode not designed"; + assert false : "hashCode not designed"; return 44; } } Modified: xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMKeyValue.java URL: http://svn.apache.org/viewvc/xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMKeyValue.java?rev=647272&r1=647271&r2=647272&view=diff ============================================================================== --- xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMKeyValue.java (original) +++ xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMKeyValue.java Fri Apr 11 12:22:21 2008 @@ -267,8 +267,7 @@ } public int hashCode() { -// uncomment when JDK 1.4 is required -// assert false : "hashCode not designed"; + assert false : "hashCode not designed"; return 45; } } Modified: xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMManifest.java URL: http://svn.apache.org/viewvc/xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMManifest.java?rev=647272&r1=647271&r2=647272&view=diff ============================================================================== --- xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMManifest.java (original) +++ xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMManifest.java Fri Apr 11 12:22:21 2008 @@ -133,8 +133,7 @@ } public int hashCode() { -// uncomment when JDK 1.4 is required -// assert false : "hashCode not designed"; + assert false : "hashCode not designed"; return 46; } } Modified: xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMReference.java URL: http://svn.apache.org/viewvc/xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMReference.java?rev=647272&r1=647271&r2=647272&view=diff ============================================================================== --- xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMReference.java (original) +++ xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMReference.java Fri Apr 11 12:22:21 2008 @@ -512,8 +512,7 @@ } public int hashCode() { - // uncomment when JDK 1.4 is required - // assert false : "hashCode not designed"; + assert false : "hashCode not designed"; return 47; } Modified: xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMRetrievalMethod.java URL: http://svn.apache.org/viewvc/xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMRetrievalMethod.java?rev=647272&r1=647271&r2=647272&view=diff ============================================================================== --- xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMRetrievalMethod.java (original) +++ xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMRetrievalMethod.java Fri Apr 11 12:22:21 2008 @@ -251,8 +251,7 @@ } public int hashCode() { - // uncomment when JDK 1.4 is required - // assert false : "hashCode not designed"; + assert false : "hashCode not designed"; return 48; } } Modified: xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMSignatureMethod.java URL: http://svn.apache.org/viewvc/xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMSignatureMethod.java?rev=647272&r1=647271&r2=647272&view=diff ============================================================================== --- xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMSignatureMethod.java (original) +++ xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMSignatureMethod.java Fri Apr 11 12:22:21 2008 @@ -27,12 +27,17 @@ import javax.xml.crypto.dsig.*; import javax.xml.crypto.dsig.spec.SignatureMethodParameterSpec; +import java.io.IOException; import java.security.*; import java.security.spec.AlgorithmParameterSpec; +import java.util.logging.Level; +import java.util.logging.Logger; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; +import org.jcp.xml.dsig.internal.SignerOutputStream; + /** * DOM-based abstract implementation of SignatureMethod. * @@ -41,32 +46,41 @@ public abstract class DOMSignatureMethod extends DOMStructure implements SignatureMethod { - private String algorithm; + private static Logger log = + Logger.getLogger("org.jcp.xml.dsig.internal.dom"); + + // see RFC 4051 for these algorithm definitions + final static String RSA_SHA256 = + "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"; + final static String RSA_SHA384 = + "http://www.w3.org/2001/04/xmldsig-more#rsa-sha384"; + final static String RSA_SHA512 = + "http://www.w3.org/2001/04/xmldsig-more#rsa-sha512"; + final static String HMAC_SHA256 = + "http://www.w3.org/2001/04/xmldsig-more#hmac-sha256"; + final static String HMAC_SHA384 = + "http://www.w3.org/2001/04/xmldsig-more#hmac-sha384"; + final static String HMAC_SHA512 = + "http://www.w3.org/2001/04/xmldsig-more#hmac-sha512"; + private SignatureMethodParameterSpec params; + private Signature signature; /** * Creates a <code>DOMSignatureMethod</code>. * - * @param algorithm the URI identifying the signature algorithm * @param params the algorithm-specific params (may be <code>null</code>) - * @throws NullPointerException if <code>algorithm</code> is - * <code>null</code> * @throws InvalidAlgorithmParameterException if the parameters are not * appropriate for this signature method */ - protected DOMSignatureMethod(String algorithm, - AlgorithmParameterSpec params) + DOMSignatureMethod(AlgorithmParameterSpec params) throws InvalidAlgorithmParameterException { - if (algorithm == null) { - throw new NullPointerException("algorithm cannot be null"); - } if (params != null && !(params instanceof SignatureMethodParameterSpec)) { throw new InvalidAlgorithmParameterException ("params must be of type SignatureMethodParameterSpec"); } checkParams((SignatureMethodParameterSpec) params); - this.algorithm = algorithm; this.params = (SignatureMethodParameterSpec) params; } @@ -77,8 +91,7 @@ * * @param smElem a SignatureMethod element */ - protected DOMSignatureMethod(Element smElem) throws MarshalException { - algorithm = DOMUtils.getAttributeValue(smElem, "Algorithm"); + DOMSignatureMethod(Element smElem) throws MarshalException { Element paramsElem = DOMUtils.getFirstChildElement(smElem); if (paramsElem != null) { params = unmarshalParams(paramsElem); @@ -92,47 +105,69 @@ static SignatureMethod unmarshal(Element smElem) throws MarshalException { String alg = DOMUtils.getAttributeValue(smElem, "Algorithm"); - if (alg.equals(SignatureMethod.HMAC_SHA1)) { - return new DOMHMACSignatureMethod(smElem); - } else if (alg.equals(SignatureMethod.RSA_SHA1)) { - return new DOMRSASignatureMethod(smElem); + if (alg.equals(SignatureMethod.RSA_SHA1)) { + return new SHA1withRSA(smElem); + } else if (alg.equals(RSA_SHA256)) { + return new SHA256withRSA(smElem); + } else if (alg.equals(RSA_SHA384)) { + return new SHA384withRSA(smElem); + } else if (alg.equals(RSA_SHA512)) { + return new SHA512withRSA(smElem); } else if (alg.equals(SignatureMethod.DSA_SHA1)) { - return new DOMDSASignatureMethod(smElem); + return new SHA1withDSA(smElem); + } else if (alg.equals(SignatureMethod.HMAC_SHA1)) { + return new DOMHMACSignatureMethod.SHA1(smElem); + } else if (alg.equals(HMAC_SHA256)) { + return new DOMHMACSignatureMethod.SHA256(smElem); + } else if (alg.equals(HMAC_SHA384)) { + return new DOMHMACSignatureMethod.SHA384(smElem); + } else if (alg.equals(HMAC_SHA512)) { + return new DOMHMACSignatureMethod.SHA512(smElem); } else { - throw new MarshalException("unsupported signature algorithm: " - + alg); + throw new MarshalException + ("unsupported SignatureMethod algorithm: " + alg); } } /** - * Checks if the specified parameters are valid for this algorithm. + * Checks if the specified parameters are valid for this algorithm. By + * default, this method throws an exception if parameters are specified + * since most SignatureMethod algorithms do not have parameters. Subclasses + * should override it if they have parameters. * * @param params the algorithm-specific params (may be <code>null</code>) * @throws InvalidAlgorithmParameterException if the parameters are not * appropriate for this signature method */ - protected abstract void checkParams(SignatureMethodParameterSpec params) - throws InvalidAlgorithmParameterException; + void checkParams(SignatureMethodParameterSpec params) + throws InvalidAlgorithmParameterException { + if (params != null) { + throw new InvalidAlgorithmParameterException("no parameters " + + "should be specified for the " + getSignatureAlgorithm() + + " SignatureMethod algorithm"); + } + } public final AlgorithmParameterSpec getParameterSpec() { return params; } - public final String getAlgorithm() { - return algorithm; - } - /** * Unmarshals <code>SignatureMethodParameterSpec</code> from the specified - * <code>Element</code>. Subclasses should implement this to unmarshal - * the algorithm-specific parameters. + * <code>Element</code>. By default, this method throws an exception since + * most SignatureMethod algorithms do not have parameters. Subclasses should + * override it if they have parameters. * * @param paramsElem the <code>Element</code> holding the input params * @return the algorithm-specific <code>SignatureMethodParameterSpec</code> * @throws MarshalException if the parameters cannot be unmarshalled */ - protected abstract SignatureMethodParameterSpec - unmarshalParams(Element paramsElem) throws MarshalException; + SignatureMethodParameterSpec + unmarshalParams(Element paramsElem) throws MarshalException { + throw new MarshalException("no parameters should " + + "be specified for the " + getSignatureAlgorithm() + + " SignatureMethod algorithm"); + } /** * This method invokes the abstract {@link #marshalParams marshalParams} @@ -144,7 +179,7 @@ Element smElem = DOMUtils.createElement (ownerDoc, "SignatureMethod", XMLSignature.XMLNS, dsPrefix); - DOMUtils.setAttribute(smElem, "Algorithm", algorithm); + DOMUtils.setAttribute(smElem, "Algorithm", getAlgorithm()); if (params != null) { marshalParams(smElem, dsPrefix); @@ -171,9 +206,44 @@ * as the passed in signature is improperly encoded * @throws XMLSignatureException if an unexpected error occurs */ - public abstract boolean verify(Key key, DOMSignedInfo si, byte[] signature, - XMLValidateContext context) throws InvalidKeyException, SignatureException, - XMLSignatureException; + boolean verify(Key key, DOMSignedInfo si, byte[] sig, + XMLValidateContext context) throws InvalidKeyException, + SignatureException, XMLSignatureException { + if (key == null || si == null || sig == null) { + throw new NullPointerException(); + } + + if (!(key instanceof PublicKey)) { + throw new InvalidKeyException("key must be PublicKey"); + } + if (signature == null) { + try { + Provider p = (Provider) context.getProperty + ("org.jcp.xml.dsig.internal.dom.SignatureProvider"); + signature = (p == null) + ? Signature.getInstance(getSignatureAlgorithm()) + : Signature.getInstance(getSignatureAlgorithm(), p); + } catch (NoSuchAlgorithmException nsae) { + throw new XMLSignatureException(nsae); + } + } + signature.initVerify((PublicKey) key); + if (log.isLoggable(Level.FINE)) { + log.log(Level.FINE, "Signature provider:"+ signature.getProvider()); + log.log(Level.FINE, "verifying with key: " + key); + } + si.canonicalize(context, new SignerOutputStream(signature)); + + if (getAlgorithm().equals(SignatureMethod.DSA_SHA1)) { + try { + return signature.verify(convertXMLDSIGtoASN1(sig)); + } catch (IOException ioe) { + throw new XMLSignatureException(ioe); + } + } else { + return signature.verify(sig); + } + } /** * Signs the bytes with the specified key, using the underlying @@ -189,19 +259,68 @@ * the wrong type, or parameters are missing, etc * @throws XMLSignatureException if an unexpected error occurs */ - public abstract byte[] sign(Key key, DOMSignedInfo si, XMLSignContext context) - throws InvalidKeyException, XMLSignatureException; + byte[] sign(Key key, DOMSignedInfo si, XMLSignContext context) + throws InvalidKeyException, XMLSignatureException { + if (key == null || si == null) { + throw new NullPointerException(); + } + + if (!(key instanceof PrivateKey)) { + throw new InvalidKeyException("key must be PrivateKey"); + } + if (signature == null) { + try { + Provider p = (Provider) context.getProperty + ("org.jcp.xml.dsig.internal.dom.SignatureProvider"); + signature = (p == null) + ? Signature.getInstance(getSignatureAlgorithm()) + : Signature.getInstance(getSignatureAlgorithm(), p); + } catch (NoSuchAlgorithmException nsae) { + throw new XMLSignatureException(nsae); + } + } + signature.initSign((PrivateKey) key); + if (log.isLoggable(Level.FINE)) { + log.log(Level.FINE, "Signature provider:" +signature.getProvider()); + log.log(Level.FINE, "Signing with key: " + key); + } + + si.canonicalize(context, new SignerOutputStream(signature)); + + try { + if (getAlgorithm().equals(SignatureMethod.DSA_SHA1)) { + return convertASN1toXMLDSIG(signature.sign()); + } else { + return signature.sign(); + } + } catch (SignatureException se) { + throw new XMLSignatureException(se); + } catch (IOException ioe) { + throw new XMLSignatureException(ioe); + } + } /** * Marshals the algorithm-specific parameters to an Element and - * appends it to the specified parent element. + * appends it to the specified parent element. By default, this method + * throws an exception since most SignatureMethod algorithms do not have + * parameters. Subclasses should override it if they have parameters. * * @param parent the parent element to append the parameters to * @param paramsPrefix the algorithm parameters prefix to use * @throws MarshalException if the parameters cannot be marshalled */ - protected abstract void marshalParams(Element parent, String paramsPrefix) - throws MarshalException; + void marshalParams(Element parent, String paramsPrefix) + throws MarshalException { + throw new MarshalException("no parameters should " + + "be specified for the " + getSignatureAlgorithm() + + " SignatureMethod algorithm"); + } + + /** + * Returns the java.security.Signature standard algorithm name. + */ + abstract String getSignatureAlgorithm(); /** * Returns true if parameters are equal; false otherwise. @@ -209,7 +328,9 @@ * Subclasses should override this method to compare algorithm-specific * parameters. */ - protected abstract boolean paramsEqual(AlgorithmParameterSpec spec); + boolean paramsEqual(AlgorithmParameterSpec spec) { + return (getParameterSpec() == spec); + } public boolean equals(Object o) { if (this == o) { @@ -221,13 +342,187 @@ } SignatureMethod osm = (SignatureMethod) o; - return (algorithm.equals(osm.getAlgorithm()) && + return (getAlgorithm().equals(osm.getAlgorithm()) && paramsEqual(osm.getParameterSpec())); } + /** + * Converts an ASN.1 DSA value to a XML Signature DSA Value. + * + * The JAVA JCE DSA Signature algorithm creates ASN.1 encoded (r,s) value + * pairs; the XML Signature requires the core BigInteger values. + * + * @param asn1Bytes + * + * @throws IOException + * @see <A HREF="http://www.w3.org/TR/xmldsig-core/#dsa-sha1">6.4.1 DSA</A> + */ + private static byte[] convertASN1toXMLDSIG(byte asn1Bytes[]) + throws IOException { + + byte rLength = asn1Bytes[3]; + int i; + + for (i = rLength; (i > 0) && (asn1Bytes[(4 + rLength) - i] == 0); i--); + + byte sLength = asn1Bytes[5 + rLength]; + int j; + + for (j = sLength; + (j > 0) && (asn1Bytes[(6 + rLength + sLength) - j] == 0); j--); + + if ((asn1Bytes[0] != 48) || (asn1Bytes[1] != asn1Bytes.length - 2) + || (asn1Bytes[2] != 2) || (i > 20) + || (asn1Bytes[4 + rLength] != 2) || (j > 20)) { + throw new IOException("Invalid ASN.1 format of DSA signature"); + } else { + byte xmldsigBytes[] = new byte[40]; + + System.arraycopy(asn1Bytes, (4+rLength)-i, xmldsigBytes, 20-i, i); + System.arraycopy(asn1Bytes, (6+rLength+sLength)-j, xmldsigBytes, + 40 - j, j); + + return xmldsigBytes; + } + } + + /** + * Converts a XML Signature DSA Value to an ASN.1 DSA value. + * + * The JAVA JCE DSA Signature algorithm creates ASN.1 encoded (r,s) value + * pairs; the XML Signature requires the core BigInteger values. + * + * @param xmldsigBytes + * + * @throws IOException + * @see <A HREF="http://www.w3.org/TR/xmldsig-core/#dsa-sha1">6.4.1 DSA</A> + */ + private static byte[] convertXMLDSIGtoASN1(byte xmldsigBytes[]) + throws IOException { + + if (xmldsigBytes.length != 40) { + throw new IOException("Invalid XMLDSIG format of DSA signature"); + } + + int i; + + for (i = 20; (i > 0) && (xmldsigBytes[20 - i] == 0); i--); + + int j = i; + + if (xmldsigBytes[20 - i] < 0) { + j += 1; + } + + int k; + + for (k = 20; (k > 0) && (xmldsigBytes[40 - k] == 0); k--); + + int l = k; + + if (xmldsigBytes[40 - k] < 0) { + l += 1; + } + + byte asn1Bytes[] = new byte[6 + j + l]; + + asn1Bytes[0] = 48; + asn1Bytes[1] = (byte) (4 + j + l); + asn1Bytes[2] = 2; + asn1Bytes[3] = (byte) j; + + System.arraycopy(xmldsigBytes, 20 - i, asn1Bytes, (4 + j) - i, i); + + asn1Bytes[4 + j] = 2; + asn1Bytes[5 + j] = (byte) l; + + System.arraycopy(xmldsigBytes, 40 - k, asn1Bytes, (6 + j + l) - k, k); + + return asn1Bytes; + } + public int hashCode() { - // uncomment when JDK 1.4 is required - // assert false : "hashCode not designed"; + assert false : "hashCode not designed"; return 57; + } + + static final class SHA1withRSA extends DOMSignatureMethod { + SHA1withRSA(AlgorithmParameterSpec params) + throws InvalidAlgorithmParameterException { + super(params); + } + SHA1withRSA(Element dmElem) throws MarshalException { + super(dmElem); + } + public String getAlgorithm() { + return SignatureMethod.RSA_SHA1; + } + String getSignatureAlgorithm() { + return "SHA1withRSA"; + } + } + + static final class SHA256withRSA extends DOMSignatureMethod { + SHA256withRSA(AlgorithmParameterSpec params) + throws InvalidAlgorithmParameterException { + super(params); + } + SHA256withRSA(Element dmElem) throws MarshalException { + super(dmElem); + } + public String getAlgorithm() { + return RSA_SHA256; + } + String getSignatureAlgorithm() { + return "SHA256withRSA"; + } + } + + static final class SHA384withRSA extends DOMSignatureMethod { + SHA384withRSA(AlgorithmParameterSpec params) + throws InvalidAlgorithmParameterException { + super(params); + } + SHA384withRSA(Element dmElem) throws MarshalException { + super(dmElem); + } + public String getAlgorithm() { + return RSA_SHA384; + } + String getSignatureAlgorithm() { + return "SHA384withRSA"; + } + } + + static final class SHA512withRSA extends DOMSignatureMethod { + SHA512withRSA(AlgorithmParameterSpec params) + throws InvalidAlgorithmParameterException { + super(params); + } + SHA512withRSA(Element dmElem) throws MarshalException { + super(dmElem); + } + public String getAlgorithm() { + return RSA_SHA512; + } + String getSignatureAlgorithm() { + return "SHA512withRSA"; + } + } + + static final class SHA1withDSA extends DOMSignatureMethod { + SHA1withDSA(AlgorithmParameterSpec params) + throws InvalidAlgorithmParameterException { + super(params); + } + SHA1withDSA(Element dmElem) throws MarshalException { + super(dmElem); + } + public String getAlgorithm() { + return SignatureMethod.DSA_SHA1; + } + String getSignatureAlgorithm() { + return "SHA1withDSA"; + } } } Modified: xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMSignatureProperties.java URL: http://svn.apache.org/viewvc/xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMSignatureProperties.java?rev=647272&r1=647271&r2=647272&view=diff ============================================================================== --- xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMSignatureProperties.java (original) +++ xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMSignatureProperties.java Fri Apr 11 12:22:21 2008 @@ -145,8 +145,7 @@ } public int hashCode() { - // uncomment when JDK 1.4 is required - // assert false : "hashCode not designed"; + assert false : "hashCode not designed"; return 49; } } Modified: xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMSignatureProperty.java URL: http://svn.apache.org/viewvc/xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMSignatureProperty.java?rev=647272&r1=647271&r2=647272&view=diff ============================================================================== --- xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMSignatureProperty.java (original) +++ xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMSignatureProperty.java Fri Apr 11 12:22:21 2008 @@ -156,8 +156,7 @@ } public int hashCode() { - // uncomment when JDK 1.4 is required - // assert false : "hashCode not designed"; + assert false : "hashCode not designed"; return 50; } Modified: xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMSignedInfo.java URL: http://svn.apache.org/viewvc/xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMSignedInfo.java?rev=647272&r1=647271&r2=647272&view=diff ============================================================================== --- xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMSignedInfo.java (original) +++ xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMSignedInfo.java Fri Apr 11 12:22:21 2008 @@ -261,8 +261,7 @@ } public int hashCode() { - // uncomment when JDK 1.4 is required - // assert false : "hashCode not designed"; + assert false : "hashCode not designed"; return 59; } } Modified: xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMTransform.java URL: http://svn.apache.org/viewvc/xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMTransform.java?rev=647272&r1=647271&r2=647272&view=diff ============================================================================== --- xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMTransform.java (original) +++ xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMTransform.java Fri Apr 11 12:22:21 2008 @@ -165,8 +165,7 @@ } public int hashCode() { - // uncomment when JDK 1.4 is required - // assert false : "hashCode not designed"; + assert false : "hashCode not designed"; return 58; } Modified: xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMX509Data.java URL: http://svn.apache.org/viewvc/xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMX509Data.java?rev=647272&r1=647271&r2=647272&view=diff ============================================================================== --- xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMX509Data.java (original) +++ xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMX509Data.java Fri Apr 11 12:22:21 2008 @@ -280,8 +280,7 @@ } public int hashCode() { - // uncomment when JDK 1.4 is required - // assert false : "hashCode not designed"; + assert false : "hashCode not designed"; return 56; } } Modified: xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMX509IssuerSerial.java URL: http://svn.apache.org/viewvc/xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMX509IssuerSerial.java?rev=647272&r1=647271&r2=647272&view=diff ============================================================================== --- xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMX509IssuerSerial.java (original) +++ xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMX509IssuerSerial.java Fri Apr 11 12:22:21 2008 @@ -119,8 +119,7 @@ } public int hashCode() { - // uncomment when JDK 1.4 is required - // assert false : "hashCode not designed"; + assert false : "hashCode not designed"; return 52; } } Modified: xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMXMLObject.java URL: http://svn.apache.org/viewvc/xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMXMLObject.java?rev=647272&r1=647271&r2=647272&view=diff ============================================================================== --- xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMXMLObject.java (original) +++ xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMXMLObject.java Fri Apr 11 12:22:21 2008 @@ -184,8 +184,7 @@ } public int hashCode() { - // uncomment when JDK 1.4 is required - // assert false : "hashCode not designed"; + assert false : "hashCode not designed"; return 53; } Modified: xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMXMLSignature.java URL: http://svn.apache.org/viewvc/xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMXMLSignature.java?rev=647272&r1=647271&r2=647272&view=diff ============================================================================== --- xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMXMLSignature.java (original) +++ xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMXMLSignature.java Fri Apr 11 12:22:21 2008 @@ -426,8 +426,7 @@ } public int hashCode() { - // uncomment when JDK 1.4 is required - // assert false : "hashCode not designed"; + assert false : "hashCode not designed"; return 54; } Modified: xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMXMLSignatureFactory.java URL: http://svn.apache.org/viewvc/xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMXMLSignatureFactory.java?rev=647272&r1=647271&r2=647272&view=diff ============================================================================== --- xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMXMLSignatureFactory.java (original) +++ xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMXMLSignatureFactory.java Fri Apr 11 12:22:21 2008 @@ -187,11 +187,13 @@ throw new NullPointerException(); } if (algorithm.equals(DigestMethod.SHA1)) { - return DOMSHADigestMethod.SHA1(params); + return new DOMDigestMethod.SHA1(params); } else if (algorithm.equals(DigestMethod.SHA256)) { - return DOMSHADigestMethod.SHA256(params); + return new DOMDigestMethod.SHA256(params); + } else if (algorithm.equals(DOMDigestMethod.SHA384)) { + return new DOMDigestMethod.SHA384(params); } else if (algorithm.equals(DigestMethod.SHA512)) { - return DOMSHADigestMethod.SHA512(params); + return new DOMDigestMethod.SHA512(params); } else { throw new NoSuchAlgorithmException("unsupported algorithm"); } @@ -203,15 +205,27 @@ if (algorithm == null) { throw new NullPointerException(); } - if (algorithm.equals(SignatureMethod.HMAC_SHA1)) { - return new DOMHMACSignatureMethod(params); - } else if (algorithm.equals(SignatureMethod.RSA_SHA1)) { - return new DOMRSASignatureMethod(params); + if (algorithm.equals(SignatureMethod.RSA_SHA1)) { + return new DOMSignatureMethod.SHA1withRSA(params); + } else if (algorithm.equals(DOMSignatureMethod.RSA_SHA256)) { + return new DOMSignatureMethod.SHA256withRSA(params); + } else if (algorithm.equals(DOMSignatureMethod.RSA_SHA384)) { + return new DOMSignatureMethod.SHA384withRSA(params); + } else if (algorithm.equals(DOMSignatureMethod.RSA_SHA512)) { + return new DOMSignatureMethod.SHA512withRSA(params); } else if (algorithm.equals(SignatureMethod.DSA_SHA1)) { - return new DOMDSASignatureMethod(params); - } else { - throw new NoSuchAlgorithmException("unsupported algorithm"); - } + return new DOMSignatureMethod.SHA1withDSA(params); + } else if (algorithm.equals(SignatureMethod.HMAC_SHA1)) { + return new DOMHMACSignatureMethod.SHA1(params); + } else if (algorithm.equals(DOMSignatureMethod.HMAC_SHA256)) { + return new DOMHMACSignatureMethod.SHA256(params); + } else if (algorithm.equals(DOMSignatureMethod.HMAC_SHA384)) { + return new DOMHMACSignatureMethod.SHA384(params); + } else if (algorithm.equals(DOMSignatureMethod.HMAC_SHA512)) { + return new DOMHMACSignatureMethod.SHA512(params); + } else { + throw new NoSuchAlgorithmException("unsupported algorithm"); + } } public Transform newTransform(String algorithm, Modified: xml/security/trunk/src_unitTests/javax/xml/crypto/test/KeySelectors.java URL: http://svn.apache.org/viewvc/xml/security/trunk/src_unitTests/javax/xml/crypto/test/KeySelectors.java?rev=647272&r1=647271&r2=647272&view=diff ============================================================================== --- xml/security/trunk/src_unitTests/javax/xml/crypto/test/KeySelectors.java (original) +++ xml/security/trunk/src_unitTests/javax/xml/crypto/test/KeySelectors.java Fri Apr 11 12:22:21 2008 @@ -79,7 +79,7 @@ } public byte[] getEncoded() { - return bytes; + return (byte[]) bytes.clone(); } }; } Modified: xml/security/trunk/src_unitTests/javax/xml/crypto/test/dsig/XMLSignatureTest.java URL: http://svn.apache.org/viewvc/xml/security/trunk/src_unitTests/javax/xml/crypto/test/dsig/XMLSignatureTest.java?rev=647272&r1=647271&r2=647272&view=diff ============================================================================== --- xml/security/trunk/src_unitTests/javax/xml/crypto/test/dsig/XMLSignatureTest.java (original) +++ xml/security/trunk/src_unitTests/javax/xml/crypto/test/dsig/XMLSignatureTest.java Fri Apr 11 12:22:21 2008 @@ -221,7 +221,7 @@ "support " + SIGN_KEYS[i].getAlgorithm()); } catch (Exception e) { assertTrue(e.getMessage(), - e.getCause() instanceof InvalidKeyException); + e.getCause() instanceof NoSuchAlgorithmException); } } } From [email protected] Mon Apr 14 18:36:21 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17728 invoked from network); 14 Apr 2008 18:36:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Apr 2008 18:36:21 -0000 Received: (qmail 86021 invoked by uid 500); 14 Apr 2008 18:36:22 -0000 Delivered-To: [email protected] Received: (qmail 86007 invoked by uid 500); 14 Apr 2008 18:36:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <security-cvs.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 85996 invoked by uid 99); 14 Apr 2008 18:36:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Apr 2008 11:36:22 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Apr 2008 18:35:48 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1CC0C1A983A; Mon, 14 Apr 2008 11:36:01 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r647924 - in /xml/security/trunk: CHANGELOG.txt build.xml Date: Mon, 14 Apr 2008 18:36:00 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: mullan Date: Mon Apr 14 11:35:58 2008 New Revision: 647924 URL: http://svn.apache.org/viewvc?rev=647924&view=rev Log: Prepare for 1.4.2beta2 release Modified: xml/security/trunk/CHANGELOG.txt xml/security/trunk/build.xml Modified: xml/security/trunk/CHANGELOG.txt URL: http://svn.apache.org/viewvc/xml/security/trunk/CHANGELOG.txt?rev=647924&r1=647923&r2=647924&view=diff ============================================================================== --- xml/security/trunk/CHANGELOG.txt (original) +++ xml/security/trunk/CHANGELOG.txt Mon Apr 14 11:35:58 2008 @@ -1,6 +1,8 @@ Changelog for "Apache xml-security" <http://xml.apache.org/security/> -New in ... +New in v1.4.2beta2 Fixed bug 44810: Add support for more XMLDSig algorithms listed in RFC 4051 + Fixed bug 44617: Regression when processing XPath transform (additional fix) +New in v1.4.2beta1 Fixed bug 44629: Switch order of XML Signature validation steps Fixed bug 44617: Regression when processing XPath transform Fixed bug 44586: XMLX509IssuerSerial.getIssuerName incorrectly escapes '#' in hex values Modified: xml/security/trunk/build.xml URL: http://svn.apache.org/viewvc/xml/security/trunk/build.xml?rev=647924&r1=647923&r2=647924&view=diff ============================================================================== --- xml/security/trunk/build.xml (original) +++ xml/security/trunk/build.xml Mon Apr 14 11:35:58 2008 @@ -16,7 +16,7 @@ <property name="product.version.major" value="1"/> <property name="product.version.minor" value="4"/> - <property name="product.version.level" value="2beta1"/> + <property name="product.version.level" value="2beta2"/> <property name="product.version" value="${product.version.major}.${product.version.minor}.${product.version.level}"/> <property name="product_version" From [email protected] Mon Apr 14 18:57:32 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29640 invoked from network); 14 Apr 2008 18:57:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Apr 2008 18:57:32 -0000 Received: (qmail 26292 invoked by uid 500); 14 Apr 2008 18:57:33 -0000 Delivered-To: [email protected] Received: (qmail 26270 invoked by uid 500); 14 Apr 2008 18:57:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <security-cvs.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 26259 invoked by uid 99); 14 Apr 2008 18:57:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Apr 2008 11:57:33 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Apr 2008 18:56:58 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C1B171A9832; Mon, 14 Apr 2008 11:57:11 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r647933 - /xml/security/tags/J_1_4_2_Beta2/ Date: Mon, 14 Apr 2008 18:57:11 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: mullan Date: Mon Apr 14 11:57:10 2008 New Revision: 647933 URL: http://svn.apache.org/viewvc?rev=647933&view=rev Log: Tagging the 1.4.2beta2 Java XMLSec release Added: xml/security/tags/J_1_4_2_Beta2/ - copied from r647932, xml/security/trunk/ From [email protected] Thu Apr 24 14:38:39 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26324 invoked from network); 24 Apr 2008 14:38:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Apr 2008 14:38:39 -0000 Received: (qmail 46356 invoked by uid 500); 24 Apr 2008 14:38:40 -0000 Delivered-To: [email protected] Received: (qmail 46336 invoked by uid 500); 24 Apr 2008 14:38:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <security-cvs.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 46325 invoked by uid 99); 24 Apr 2008 14:38:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Apr 2008 07:38:40 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Apr 2008 14:37:55 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0C77A1A983A; Thu, 24 Apr 2008 07:38:15 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r651278 - in /xml/security/trunk: ./ src/org/apache/xml/security/signature/ src/org/apache/xml/security/utils/ Date: Thu, 24 Apr 2008 14:38:12 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: mullan Date: Thu Apr 24 07:38:10 2008 New Revision: 651278 URL: http://svn.apache.org/viewvc?rev=651278&view=rev Log: Fixed bug 44863: Improved logging in signature handling Modified: xml/security/trunk/CHANGELOG.txt xml/security/trunk/src/org/apache/xml/security/signature/Reference.java xml/security/trunk/src/org/apache/xml/security/signature/XMLSignature.java xml/security/trunk/src/org/apache/xml/security/utils/DigesterOutputStream.java xml/security/trunk/src/org/apache/xml/security/utils/SignerOutputStream.java Modified: xml/security/trunk/CHANGELOG.txt URL: http://svn.apache.org/viewvc/xml/security/trunk/CHANGELOG.txt?rev=651278&r1=651277&r2=651278&view=diff ============================================================================== --- xml/security/trunk/CHANGELOG.txt (original) +++ xml/security/trunk/CHANGELOG.txt Thu Apr 24 07:38:10 2008 @@ -1,4 +1,6 @@ Changelog for "Apache xml-security" <http://xml.apache.org/security/> +New in ... + Fixed bug 44863: Improved logging in signature handling. Thanks to Wally Dennis. New in v1.4.2beta2 Fixed bug 44810: Add support for more XMLDSig algorithms listed in RFC 4051 Fixed bug 44617: Regression when processing XPath transform (additional fix) Modified: xml/security/trunk/src/org/apache/xml/security/signature/Reference.java URL: http://svn.apache.org/viewvc/xml/security/trunk/src/org/apache/xml/security/signature/Reference.java?rev=651278&r1=651277&r2=651278&view=diff ============================================================================== --- xml/security/trunk/src/org/apache/xml/security/signature/Reference.java (original) +++ xml/security/trunk/src/org/apache/xml/security/signature/Reference.java Thu Apr 24 07:38:10 2008 @@ -757,6 +757,8 @@ if (!equal) { log.warn("Verification failed for URI \"" + this.getURI() + "\""); + log.warn("Expected Digest: " + Base64.encode(elemDig)); + log.warn("Actual Digest: " + Base64.encode(calcDig)); } else { log.info("Verification successful for URI \"" + this.getURI() + "\""); } Modified: xml/security/trunk/src/org/apache/xml/security/signature/XMLSignature.java URL: http://svn.apache.org/viewvc/xml/security/trunk/src/org/apache/xml/security/signature/XMLSignature.java?rev=651278&r1=651277&r2=651278&view=diff ============================================================================== --- xml/security/trunk/src/org/apache/xml/security/signature/XMLSignature.java (original) +++ xml/security/trunk/src/org/apache/xml/security/signature/XMLSignature.java Thu Apr 24 07:38:10 2008 @@ -621,6 +621,7 @@ //Have SignatureAlgorithm sign the input bytes and compare them to the //bytes that were stored in the signature. if (!sa.verify(sigBytes)) { + log.warn("Signature verification failed."); return false; } Modified: xml/security/trunk/src/org/apache/xml/security/utils/DigesterOutputStream.java URL: http://svn.apache.org/viewvc/xml/security/trunk/src/org/apache/xml/security/utils/DigesterOutputStream.java?rev=651278&r1=651277&r2=651278&view=diff ============================================================================== --- xml/security/trunk/src/org/apache/xml/security/utils/DigesterOutputStream.java (original) +++ xml/security/trunk/src/org/apache/xml/security/utils/DigesterOutputStream.java Thu Apr 24 07:38:10 2008 @@ -1,5 +1,5 @@ /* - * Copyright 1999-2004 The Apache Software Foundation. + * Copyright 1999-2008 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,32 +27,44 @@ public class DigesterOutputStream extends ByteArrayOutputStream { final static byte none[]="error".getBytes(); final MessageDigestAlgorithm mda; - /** - * @param mda - */ - public DigesterOutputStream(MessageDigestAlgorithm mda) { + static org.apache.commons.logging.Log log = + org.apache.commons.logging.LogFactory.getLog + (DigesterOutputStream.class.getName()); + + /** + * @param mda + */ + public DigesterOutputStream(MessageDigestAlgorithm mda) { this.mda=mda; - } + } /** @inheritDoc */ - public byte[] toByteArray() { - return none; - } + public byte[] toByteArray() { + return none; + } - /** @inheritDoc */ - public void write(byte[] arg0) { - mda.update(arg0); - } + /** @inheritDoc */ + public void write(byte[] arg0) { + write(arg0, 0, arg0.length); + } /** @inheritDoc */ - public void write(int arg0) { - mda.update((byte)arg0); - } + public void write(int arg0) { + mda.update((byte)arg0); + } /** @inheritDoc */ - public void write(byte[] arg0, int arg1, int arg2) { - mda.update(arg0, arg1, arg2); - } + public void write(byte[] arg0, int arg1, int arg2) { + if (log.isDebugEnabled()) { + log.debug("Pre-digested input:"); + StringBuffer sb = new StringBuffer(arg2); + for (int i=arg1; i<(arg1+arg2); i++) { + sb.append((char) arg0[i]); + } + log.debug(sb.toString()); + } + mda.update(arg0, arg1, arg2); + } /** * @return the digest value Modified: xml/security/trunk/src/org/apache/xml/security/utils/SignerOutputStream.java URL: http://svn.apache.org/viewvc/xml/security/trunk/src/org/apache/xml/security/utils/SignerOutputStream.java?rev=651278&r1=651277&r2=651278&view=diff ============================================================================== --- xml/security/trunk/src/org/apache/xml/security/utils/SignerOutputStream.java (original) +++ xml/security/trunk/src/org/apache/xml/security/utils/SignerOutputStream.java Thu Apr 24 07:38:10 2008 @@ -1,5 +1,5 @@ /* - * Copyright 1999-2004 The Apache Software Foundation. + * Copyright 1999-2008 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,10 @@ public class SignerOutputStream extends ByteArrayOutputStream { final static byte none[]="error".getBytes(); final SignatureAlgorithm sa; + static org.apache.commons.logging.Log log = + org.apache.commons.logging.LogFactory.getLog + (SignerOutputStream.class.getName()); + /** * @param sa */ @@ -43,10 +47,10 @@ /** @inheritDoc */ public void write(byte[] arg0) { try { - sa.update(arg0); - } catch (XMLSignatureException e) { + sa.update(arg0); + } catch (XMLSignatureException e) { throw new RuntimeException(""+e); - } + } } /** @inheritDoc */ @@ -60,12 +64,18 @@ /** @inheritDoc */ public void write(byte[] arg0, int arg1, int arg2) { + if (log.isDebugEnabled()) { + log.debug("Canonicalized SignedInfo:"); + StringBuffer sb = new StringBuffer(arg2); + for (int i=arg1; i<(arg1+arg2); i++) { + sb.append((char) arg0[i]); + } + log.debug(sb.toString()); + } try { sa.update(arg0,arg1,arg2); } catch (XMLSignatureException e) { throw new RuntimeException(""+e); } } - - } From [email protected] Thu Apr 24 17:56:16 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38031 invoked from network); 24 Apr 2008 17:56:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Apr 2008 17:56:16 -0000 Received: (qmail 56421 invoked by uid 500); 24 Apr 2008 17:56:15 -0000 Delivered-To: [email protected] Received: (qmail 56406 invoked by uid 500); 24 Apr 2008 17:56:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <security-cvs.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 56395 invoked by uid 99); 24 Apr 2008 17:56:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Apr 2008 10:56:15 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Apr 2008 17:55:39 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id DF8CC1A9832; Thu, 24 Apr 2008 10:55:52 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r651328 - /xml/security/trunk/build.xml Date: Thu, 24 Apr 2008 17:55:51 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: mullan Date: Thu Apr 24 10:55:47 2008 New Revision: 651328 URL: http://svn.apache.org/viewvc?rev=651328&view=rev Log: Remove target that downloads bouncy castle jar.. In order to use your own jce, you now must set lib.jce to the pathname of the jar file. Otherwise, it will use the jce configured in the jdk. Modified: xml/security/trunk/build.xml Modified: xml/security/trunk/build.xml URL: http://svn.apache.org/viewvc/xml/security/trunk/build.xml?rev=651328&r1=651327&r2=651328&view=diff ============================================================================== --- xml/security/trunk/build.xml (original) +++ xml/security/trunk/build.xml Thu Apr 24 10:55:47 2008 @@ -240,26 +240,6 @@ </target > <!-- check targets --> - <target depends="init" name="do.check.libs.jce" > - <condition property="has.jce.provider" > - <available file="${lib.jce}" /> - </condition > - </target > - - <target name="do.check.libs" - depends="do.check.libs.jce" - unless="has.jce.provider" > - <setproxy proxyhost="${proxy.host}" - proxyport="${proxy.port}" /> - <get src="${jce.provider.source}/${jce.provider.jar}" - dest="${lib.jce}" - verbose="true" /> - <checksum file="${lib.jce}" - algorithm="${checksum.algorithm}" - property="${checksum.value}" - verifyproperty="jce.checksum.ok" /> - <property name="has.jce.provider" value="true"/> - </target > <target name="do.check.forrest"> <property environment="env"/> @@ -298,9 +278,8 @@ </target> <!-- source --> <target name="build.src" - depends="do.check.libs,do.build.src,env.mk.dirs,do.check.bindist" - unless="is.bin.dist" - if="has.jce.provider" > + depends="do.build.src,env.mk.dirs,do.check.bindist" + unless="is.bin.dist"> <javac target="1.4" source="1.4" srcdir="${dir.src}" destdir="${dir.build.bin}" debug="${build.compile.debug}"> From [email protected] Fri Apr 25 16:38:15 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80974 invoked from network); 25 Apr 2008 16:38:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Apr 2008 16:38:15 -0000 Received: (qmail 69215 invoked by uid 500); 25 Apr 2008 16:38:17 -0000 Delivered-To: [email protected] Received: (qmail 69201 invoked by uid 500); 25 Apr 2008 16:38:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <security-cvs.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 69182 invoked by uid 99); 25 Apr 2008 16:38:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Apr 2008 09:38:17 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Apr 2008 16:37:29 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 15D781A9832; Fri, 25 Apr 2008 09:37:43 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r651640 - /xml/security/trunk/INSTALL Date: Fri, 25 Apr 2008 16:37:42 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: mullan Date: Fri Apr 25 09:37:41 2008 New Revision: 651640 URL: http://svn.apache.org/viewvc?rev=651640&view=rev Log: Made some improvements for 1.4.2 release. Removed the JCE BouncyCasle section as that feature has been removed. Modified: xml/security/trunk/INSTALL Modified: xml/security/trunk/INSTALL URL: http://svn.apache.org/viewvc/xml/security/trunk/INSTALL?rev=651640&r1=651639&r2=651640&view=diff ============================================================================== --- xml/security/trunk/INSTALL (original) +++ xml/security/trunk/INSTALL Fri Apr 25 09:37:41 2008 @@ -1,46 +1,48 @@ -XML Security v1.1.0 Released +XML Security v1.4.2 Released --------------------- - We are proud to announce the 1.1.0 final + We are proud to announce the 1.4.2 final release of the XML Security package. About XML Security ------------------ The XML Security project is an implementation of security related XML standards. Currently, it includes - implementations of W3C recommendations "Canonical XML" - and "XML Signature Syntax and Processing". It also - includes a beta implementation of "XML Encryption - Syntax and Processing". + implementations of W3C recommendations "Canonical XML", + "Canonical XML 1.1", "XML Signature Syntax and Processing", + and "XML Encryption Syntax and Processing". Basically, this means that you can use this software for creating and verifying digital signatures which are expressed in XML and sign both XML and/or arbitrary - contents. + contents. You can use the standard JSR 105 (Java XML + Digital Signature) API or the non-standard Apache XMLSec API. - You can now also use the library to encrypt and decrypt - portions of XML documents. + You can also use the library to encrypt and decrypt + portions of XML documents. Only the non-standard Apache + XMLSec API is supported, as the JSR 106 (Java XML Digital Encryption) + API is still in development. For more information about the XML Security project, please go to -http://xml.apache.org/security/ +http://santuario.apache.org/ For more information about XML Signature, go to http://www.w3.org/Signature/ -For pointers about XML Security in general, please go to -http://www.nue.et-inf.uni-siegen.de/~geuer-pollmann/xml_security.html +For more information about XML Encryption, go to +http://www.w3.org/Encryption/ --------------------------------------------------------- -Downloads for XML Security v1.1.0 are available at -http://xml.apache.org/security/dist/ +Downloads for XML Security v1.4.2 are available at +http://xml.apache.org/security/dist/java-library/ The source distibution is available at -http://xml.apache.org/security/dist/xml-security-src-1_1_0.zip -http://xml.apache.org/security/dist/xml-security-src-1_1_0.zip.sig +http://xml.apache.org/security/dist/xml-security-src-1_4_2.zip +http://xml.apache.org/security/dist/xml-security-src-1_4_2.zip.sig The binary distibution is available at -http://xml.apache.org/security/dist/xml-security-bin-1_1_0.zip -http://xml.apache.org/security/dist/xml-security-bin-1_1_0.zip.sig +http://xml.apache.org/security/dist/xml-security-bin-1_4_2.zip +http://xml.apache.org/security/dist/xml-security-bin-1_4_2.zip.sig --------------------------------------------------------- @@ -53,19 +55,20 @@ The source distibution does _not_ include - JavaDocs - the required (binary JAR) libraries. - The libraries are available under http://xml.apache.org/ . It requires - - Jakarta ANT (1.6 or above) as build/make tool - - Apache Xerces v2.6.2 or above - http://xml.apache.org/dist/xerces-j/ - - Apache Xalan v2.6 or above - - Apache Log4J + - JDK 1.4.2 or above + - ANT (1.6 or above) as build/make tool (http://ant.apache.org) + - Apache commons logging (v1.0.4 or above recommended): + http://commons.apache.org + - Apache Xerces (v2.7.1 or above receommended): http://xerces.apache.org + - Apache Xalan (v2.7 or above recommended): http://xalan.apache.org - JUnit 3.7 or above - - A JCE Cryptographic Service Provider. - The distibution uses the BounceCastle JCE as a default provider. - When you first start ant for compiling, the JCE JAR is downloaded - from http://www.bouncycastle.org/ . This hook is included to - circumvent US export restrictions. + +Copy the required jars into the "libs" directory. +If necessary, modify the ant properties in build.xml to the locations of +the jar files. +Set JAVA_HOME to the JDK root directory. +To build the binaries and run all of the tests, run "ant test". --------------------------------------------------------- @@ -75,42 +78,7 @@ - test vectors for the unit tests - Generated JavaDocs - The complete library compiled - - All required libaries (but not the JCE which is downloaded online). - ---------------------------------------------------------- - -Download of the JCE - -The ant make tools initiates an automated download of the BouncyCastle JCE. -The file is downloaded into the libs/ directory and a "bc-" is prepended -to the filename. This is done because we want the provider name (bc means -BouncyCastle) being visible in the JAR's filename. - -If you are a little paranoid like all security people and don't want ant to -make automated downloads or your firewall doesn't permit it, look in the -./build.xml file for the properties called - -<property - name="jce.download.file" - value="jce-jdk13-129.jar" /> -<property - name="jce.download" - value="http://www.bouncycastle.org/download/${jce.download.file}" /> -<property - name="lib.jce" - value="${libs}/bc-${jce.download.file}" /> - -Here you can see that the file - -http://www.bouncycastle.org/download/jce-jdk13-129.jar - -is downloaded and stored in the location - -libs/bc-jce-jdk13-129.jar - -If you do this by hand (pointing you favourite web browser and download it -yourself), simply put a "bc-" in front of the filename and put it to ./libs/, -then ant won't try to make a download. + - All required libaries --------------------------------------------------------- @@ -118,5 +86,3 @@ mailto:[email protected] --------------------------------------------------------- - -
From [email protected] Wed Jun 02 16:16:11 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13636 invoked from network); 2 Jun 2010 16:16:11 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Jun 2010 16:16:11 -0000 Received: (qmail 9105 invoked by uid 500); 2 Jun 2010 16:16:11 -0000 Delivered-To: [email protected] Received: (qmail 9070 invoked by uid 500); 2 Jun 2010 16:16:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <docs.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 9063 invoked by uid 99); 2 Jun 2010 16:16:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jun 2010 16:16:10 +0000 X-ASF-Spam-Status: No, hits=-1533.3 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jun 2010 16:16:09 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id AD1B017DB7 for <[email protected]>; Wed, 2 Jun 2010 16:15:48 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki <[email protected]> To: Apache Wiki <[email protected]> Date: Wed, 02 Jun 2010 16:15:48 -0000 Message-ID: <[email protected]> Subject: =?utf-8?q?=5BCocoon_Wiki=5D_Update_of_=22ProductsBuiltOnCocoon=22_by_caro?= =?utf-8?q?lyn_joseph?= Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cocoon Wiki" for ch= ange notification. The "ProductsBuiltOnCocoon" page has been changed by carolyn joseph. The comment on this change is: wire2air is a US based company engaged in pr= oviding sms gateway, bulk sms, mobile contents delivery(like ringtones, wal= lpapers, videos, images, animations)and mobile marketing solutions and plat= forms.. http://wiki.apache.org/cocoon/ProductsBuiltOnCocoon?action=3Ddiff&rev1=3D14= &rev2=3D15 -------------------------------------------------- = ''How can we confirm SMS Gateway is built on Cocoon? The site and softwa= re both appear to be php based. This wiki is actively monitored for abuse = and this appears to be a candidate for removal. If you posted this link, p= lease provide some proof at [email protected]'' * [[http://www.visualtron.com|SMS Gateway]] -- SMS Application Gateway + * [[http://www.wire2air.com|SMS Gateway]] -- SMS Gateway Application =20 From [email protected] Tue Jun 08 16:21:21 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78322 invoked from network); 8 Jun 2010 16:21:21 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 8 Jun 2010 16:21:21 -0000 Received: (qmail 82175 invoked by uid 500); 8 Jun 2010 16:21:21 -0000 Delivered-To: [email protected] Received: (qmail 82123 invoked by uid 500); 8 Jun 2010 16:21:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <docs.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 82116 invoked by uid 99); 8 Jun 2010 16:21:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jun 2010 16:21:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jun 2010 16:21:18 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id F0D1E1761E for <[email protected]>; Tue, 8 Jun 2010 16:20:56 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki <[email protected]> To: Apache Wiki <[email protected]> Date: Tue, 08 Jun 2010 16:20:56 -0000 Message-ID: <[email protected]> Subject: =?utf-8?q?=5BCocoon_Wiki=5D_Update_of_=22ProductsBuiltOnCocoon=22_by_caro?= =?utf-8?q?lyn_joseph?= X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cocoon Wiki" for ch= ange notification. The "ProductsBuiltOnCocoon" page has been changed by carolyn joseph. The comment on this change is: Txtimpact is a US based company engaged in p= roviding sms gateway, bulk sms, mobile contents delivery(wallpapers, videos= , images, animations)and mobile marketing solutions and platforms.. http://wiki.apache.org/cocoon/ProductsBuiltOnCocoon?action=3Ddiff&rev1=3D15= &rev2=3D16 -------------------------------------------------- ''How can we confirm SMS Gateway is built on Cocoon? The site and softwa= re both appear to be php based. This wiki is actively monitored for abuse = and this appears to be a candidate for removal. If you posted this link, p= lease provide some proof at [email protected]'' * [[http://www.visualtron.com|SMS Gateway]] -- SMS Application Gateway * [[http://www.wire2air.com|SMS Gateway]] -- SMS Gateway Application + * [[http://www.txtimpact.com|Mobile Marketing]] -- Mobile Marketing =20 From [email protected] Fri Jun 11 14:50:40 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52971 invoked from network); 11 Jun 2010 14:50:40 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 11 Jun 2010 14:50:40 -0000 Received: (qmail 58447 invoked by uid 500); 11 Jun 2010 14:50:40 -0000 Delivered-To: [email protected] Received: (qmail 58409 invoked by uid 500); 11 Jun 2010 14:50:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <docs.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 58402 invoked by uid 99); 11 Jun 2010 14:50:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jun 2010 14:50:39 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=HK_RANDOM_ENVFROM,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO lo.gmane.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jun 2010 14:50:32 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from <[email protected]>) id 1ON5Yb-0006qc-Al for [email protected]; Fri, 11 Jun 2010 16:50:05 +0200 Received: from 161.129.204.104 ([161.129.204.104]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <[email protected]>; Fri, 11 Jun 2010 16:50:05 +0200 Received: from webmaster by 161.129.204.104 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <[email protected]>; Fri, 11 Jun 2010 16:50:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: [email protected] connect(): No such file or directory From: Greg <[email protected]> Subject: Tutorial on Cocoon site : Modularize Cocoon apps (Using blocks) Date: Fri, 11 Jun 2010 14:37:56 +0000 (UTC) Lines: 21 Message-ID: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: [email protected] X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 161.129.204.104 (Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:161.129.204.104) Gecko/20100315 Firefox/3.5.9) Hello, in the section "Connect two blocks" (http://cocoon.apache.org/2.2/1291_1_1.html) then I do : cd myBlock1 mvn jetty:run I have : ... 1 required artifact is missing. for artifact: com.polymorphisme:myBlock1:jar:1.0.0 from the specified remote repositories: central (http://repo1.maven.org/maven2) I have not find the problem ? Have you got an idea ? Thanks. From [email protected] Fri Jun 11 17:54:25 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23468 invoked from network); 11 Jun 2010 17:54:25 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 11 Jun 2010 17:54:25 -0000 Received: (qmail 32191 invoked by uid 500); 11 Jun 2010 17:54:25 -0000 Delivered-To: [email protected] Received: (qmail 32162 invoked by uid 500); 11 Jun 2010 17:54:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <docs.cocoon.apache.org> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 99832 invoked by uid 99); 11 Jun 2010 15:18:39 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=AWL,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Subject: RE: Tutorial on Cocoon site : Modularize Cocoon apps (Using blocks) Date: Fri, 11 Jun 2010 17:22:24 +0200 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Tutorial on Cocoon site : Modularize Cocoon apps (Using blocks) Thread-Index: AcsJdaTC86s6xh7ETJy0SobYRZAkHAABBteQ References: <[email protected]> From: "Robby Pelssers" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 11 Jun 2010 15:18:09.0460 (UTC) FILETIME=[4CD03F40:01CB0979] First do 1)cd myBlock1 2) do 1 time installation into your local repository so it's known mvn install 3) now you should be able to do mvn jetty:run Kind regards, Robby Pelssers =20 -----Original Message----- From: Greg [mailto:[email protected]]=20 Sent: Friday, June 11, 2010 4:38 PM To: [email protected] Subject: Tutorial on Cocoon site : Modularize Cocoon apps (Using blocks) Hello, in the section "Connect two blocks" = (http://cocoon.apache.org/2.2/1291_1_1.html) then I do : cd myBlock1 mvn jetty:run=20 I have : ... 1 required artifact is missing. for artifact: com.polymorphisme:myBlock1:jar:1.0.0 from the specified remote repositories: central (http://repo1.maven.org/maven2) I have not find the problem ? Have you got an idea ? Thanks. From [email protected] Wed Jun 23 13:47:10 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 32893 invoked from network); 23 Jun 2010 13:47:10 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Jun 2010 13:47:10 -0000 Received: (qmail 43816 invoked by uid 500); 23 Jun 2010 13:47:10 -0000 Delivered-To: [email protected] Received: (qmail 43704 invoked by uid 500); 23 Jun 2010 13:47:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <docs.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 43697 invoked by uid 99); 23 Jun 2010 13:47:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jun 2010 13:47:07 +0000 X-ASF-Spam-Status: No, hits=-1571.5 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jun 2010 13:47:06 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id 711AC17D1B for <[email protected]>; Wed, 23 Jun 2010 13:46:46 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki <[email protected]> To: Apache Wiki <[email protected]> Date: Wed, 23 Jun 2010 13:46:46 -0000 Message-ID: <[email protected]> Subject: =?utf-8?q?ProductsBuiltOnCocoon_reverted_to_revision_14_on_Cocoon_Wiki?= Dear wiki user, You have subscribed to a wiki page "Cocoon Wiki" for change notification. The page ProductsBuiltOnCocoon has been reverted to revision 14 by VadimGri= tsenko. The comment on this change is: spam. http://wiki.apache.org/cocoon/ProductsBuiltOnCocoon?action=3Ddiff&rev1=3D16= &rev2=3D17 -------------------------------------------------- = ''How can we confirm SMS Gateway is built on Cocoon? The site and softwa= re both appear to be php based. This wiki is actively monitored for abuse = and this appears to be a candidate for removal. If you posted this link, p= lease provide some proof at [email protected]'' * [[http://www.visualtron.com|SMS Gateway]] -- SMS Application Gateway - * [[http://www.wire2air.com|SMS Gateway]] -- SMS Gateway Application - * [[http://www.txtimpact.com|Mobile Marketing]] -- Mobile Marketing =20 From [email protected] Wed Jun 23 13:49:45 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33445 invoked from network); 23 Jun 2010 13:49:45 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Jun 2010 13:49:45 -0000 Received: (qmail 51314 invoked by uid 500); 23 Jun 2010 13:49:45 -0000 Delivered-To: [email protected] Received: (qmail 51248 invoked by uid 500); 23 Jun 2010 13:49:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <docs.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 51241 invoked by uid 99); 23 Jun 2010 13:49:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jun 2010 13:49:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jun 2010 13:49:41 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id 0923817D1B for <[email protected]>; Wed, 23 Jun 2010 13:49:20 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki <[email protected]> To: Apache Wiki <[email protected]> Date: Wed, 23 Jun 2010 13:49:19 -0000 Message-ID: <[email protected]> Subject: =?utf-8?q?=5BCocoon_Wiki=5D_Trivial_Update_of_=22ProductsBuiltOnCocoon=22?= =?utf-8?q?_by_VadimGritsenko?= X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cocoon Wiki" for ch= ange notification. The "ProductsBuiltOnCocoon" page has been changed by VadimGritsenko. The comment on this change is: more spam. http://wiki.apache.org/cocoon/ProductsBuiltOnCocoon?action=3Ddiff&rev1=3D17= &rev2=3D18 -------------------------------------------------- * [[http://www.jxreports.com|JXReports]] -- Cocoon MS-Excel Report Solu= tions * [[http://www.triplemind.com|Triplebase]] -- ASP-Solution for Travel A= gencies for rapid Portal and Online Booking System buildup. = - ''How can we confirm SMS Gateway is built on Cocoon? The site and softwa= re both appear to be php based. This wiki is actively monitored for abuse = and this appears to be a candidate for removal. If you posted this link, p= lease provide some proof at [email protected]'' - * [[http://www.visualtron.com|SMS Gateway]] -- SMS Application Gateway -=20 From [email protected] Mon Jun 28 20:37:46 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51102 invoked from network); 28 Jun 2010 20:37:46 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 28 Jun 2010 20:37:46 -0000 Received: (qmail 65694 invoked by uid 500); 28 Jun 2010 20:37:46 -0000 Delivered-To: [email protected] Received: (qmail 65645 invoked by uid 500); 28 Jun 2010 20:37:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <docs.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 65633 invoked by uid 99); 28 Jun 2010 20:37:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jun 2010 20:37:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jun 2010 20:37:43 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id 0EC9B16E29 for <[email protected]>; Mon, 28 Jun 2010 20:36:52 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki <[email protected]> To: Apache Wiki <[email protected]> Date: Mon, 28 Jun 2010 20:36:52 -0000 Message-ID: <[email protected]> Subject: =?utf-8?q?=5BCocoon_Wiki=5D_Trivial_Update_of_=22UnderstandingCocoonLoggi?= =?utf-8?q?ng=22_by_LarsHuttar?= X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cocoon Wiki" for ch= ange notification. The "UnderstandingCocoonLogging" page has been changed by LarsHuttar. The comment on this change is: fixed a place where triple curly braces were= n't working (first example). http://wiki.apache.org/cocoon/UnderstandingCocoonLogging?action=3Ddiff&rev1= =3D6&rev2=3D7 -------------------------------------------------- = For example: = = - {{{<factory + {{{ - class=3D"org.apache.cocoon.util.log.CocoonTargetFactory" + <factory class=3D"org.apache.cocoon.util.log.CocoonTargetFactory" type=3D"cocoon"/> }}} =20 From [email protected] Wed Jun 30 09:06:00 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9027 invoked from network); 30 Jun 2010 09:06:00 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 30 Jun 2010 09:06:00 -0000 Received: (qmail 54474 invoked by uid 500); 30 Jun 2010 09:06:00 -0000 Delivered-To: [email protected] Received: (qmail 54349 invoked by uid 500); 30 Jun 2010 09:05:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <docs.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 54341 invoked by uid 99); 30 Jun 2010 09:05:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jun 2010 09:05:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jun 2010 09:05:54 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id CC5FA17DBA for <[email protected]>; Wed, 30 Jun 2010 09:05:03 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki <[email protected]> To: Apache Wiki <[email protected]> Date: Wed, 30 Jun 2010 09:05:03 -0000 Message-ID: <[email protected]> Subject: =?utf-8?q?=5BCocoon_Wiki=5D_Update_of_=22tuanzhang=22_by_tuanzhang?= X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cocoon Wiki" for ch= ange notification. The "tuanzhang" page has been changed by tuanzhang. The comment on this change is: wholeasle nfl jersey . http://wiki.apache.org/cocoon/tuanzhang -------------------------------------------------- New page: A young man working in Beijing that, with a strength, became a milkman. Soo= n, his own efforts, set up to send milk company. Because he is honest and t= rustworthy, quality service, and after several years of hard work, his comp= any quickly developed into 20 million households in the size of subscribers. His conversation with a friend advertise suddenly thought, the company has = 20 million households in subscribers is a huge network is not it? This netw= ork is used only to send milk is a waste, why not use that as the carrier, = was rushed to the delivery of milk ads as well as coaches do? So, he set up= advertising media company. Company Advertising staff, part-time by the mil= kman. The initial victory, he decided to give milk as the carrier network, they s= ell more business. He then co-operation with a number of shopping malls, e-= commerce and distribution, also founder of magazine advertising, new busine= ss are relying on the company roll out this network, its profit is much hig= her than the profits of milk delivery. Milk, development of client is set to open to 30 million, and employees fro= m the first three individuals to the current 2,800, 2,000 yuan of assets fr= om the initial surge to the present 150 million yuan. This has become a you= ng man named Wu Zuoren billionaire, his company received the "Third Nationa= l civilized community contribution" award, he also received "Top Ten Beijin= g foreign youth" title. The opportunity is fair for any person, around us, when it is not dressed g= orgeously dressed, but the ordinary, simply insignificant. Looks brilliant = opportunity instead of opportunity, a trap; real opportunity is the first s= imple, and only through active and industrious, it only becomes particularl= y gorgeous. [[http://www.nfl-jersey6.com]] wholeasle nfl jersey
From [email protected] Mon Jun 21 14:22:41 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76795 invoked from network); 21 Jun 2010 14:22:40 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 21 Jun 2010 14:22:40 -0000 Received: (qmail 9878 invoked by uid 500); 21 Jun 2010 14:22:40 -0000 Delivered-To: [email protected] Received: (qmail 9763 invoked by uid 500); 21 Jun 2010 14:22:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cvs.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 9756 invoked by uid 99); 21 Jun 2010 14:22:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jun 2010 14:22:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jun 2010 14:22:36 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id EFEA42388994; Mon, 21 Jun 2010 14:21:49 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r956597 - in /cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb: InMemoryLRUMarshallerCache.java JAXBGenerator.java Date: Mon, 21 Jun 2010 14:21:49 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: simonetripodi Date: Mon Jun 21 14:21:49 2010 New Revision: 956597 URL: http://svn.apache.org/viewvc?rev=956597&view=rev Log: optimized the jaxb Marshaller instances creation using a memory-based LRU cache Added: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/InMemoryLRUMarshallerCache.java (with props) Modified: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java Added: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/InMemoryLRUMarshallerCache.java URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/InMemoryLRUMarshallerCache.java?rev=956597&view=auto ============================================================================== --- cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/InMemoryLRUMarshallerCache.java (added) +++ cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/InMemoryLRUMarshallerCache.java Mon Jun 21 14:21:49 2010 @@ -0,0 +1,96 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.cocoon.optional.pipeline.components.sax.jaxb; + +import java.io.Serializable; +import java.util.LinkedHashMap; +import java.util.Map; + +import javax.xml.bind.JAXBContext; +import javax.xml.bind.JAXBException; +import javax.xml.bind.Marshaller; + +/** + * @version $Id$ + */ +final class InMemoryLRUMarshallerCache implements Serializable { + + /** + * This class serial version UID. + */ + private static final long serialVersionUID = 1L; + + /** + * The fixed cache size. + */ + private static final int CACHE_SIZE = 255; + + /** + * The fixed cache load factor. + */ + private static final float LOAD_FACTOR = 0.75f; + + /** + * The fixed cache capacity. + */ + private static final int CACHE_CAPACITY = (int) Math.ceil(CACHE_SIZE / LOAD_FACTOR) + 1; + + /** + * The map that implements the LRU cache. + */ + private final Map<Class<?>, JAXBContext> data = new LinkedHashMap<Class<?>, JAXBContext>(CACHE_CAPACITY, LOAD_FACTOR) { + /** + * This class serialVersionUID. + */ + private static final long serialVersionUID = 1L; + + /** + * {@inheritDoc} + */ + @Override + protected boolean removeEldestEntry(Map.Entry<Class<?>, JAXBContext> eldest) { + return size() > CACHE_SIZE; + } + }; + + /** + * Creates the JAXBContext and stores it if the class parameter has never + * previously analyzed, otherwise gets it from a local cache; finally it uses + * it to create the Marshaller. + * + * @param clazz the class for which the Marshaller has to be created. + * @return the JAXB Marshaller. + * @throws JAXBException if any error occurs. + */ + public Marshaller getMarshaller(Class<?> clazz) throws JAXBException { + if (clazz == null) { + throw new IllegalArgumentException("Parameter 'clazz' must not be null"); + } + + JAXBContext jaxbContext = null; + + if (this.data.containsKey(clazz)) { + jaxbContext = this.data.get(clazz); + } else { + jaxbContext = JAXBContext.newInstance(clazz); + this.data.put(clazz, jaxbContext); + } + + return jaxbContext.createMarshaller(); + } + +} Propchange: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/InMemoryLRUMarshallerCache.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/InMemoryLRUMarshallerCache.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/InMemoryLRUMarshallerCache.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java?rev=956597&r1=956596&r2=956597&view=diff ============================================================================== --- cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java (original) +++ cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java Mon Jun 21 14:21:49 2010 @@ -18,7 +18,6 @@ */ package org.apache.cocoon.optional.pipeline.components.sax.jaxb; -import javax.xml.bind.JAXBContext; import javax.xml.bind.JAXBException; import javax.xml.bind.Marshaller; @@ -34,6 +33,8 @@ import org.apache.cocoon.sax.AbstractSAX */ public final class JAXBGenerator extends AbstractSAXGenerator implements CachingPipelineComponent { + private static final InMemoryLRUMarshallerCache MARSHALLER_CACHE = new InMemoryLRUMarshallerCache(); + private final Object toBeMarshalled; public JAXBGenerator(Object toBeMarshalled) { @@ -45,8 +46,7 @@ public final class JAXBGenerator extends public void execute() { try { - JAXBContext jaxbContext = JAXBContext.newInstance(this.toBeMarshalled.getClass()); - Marshaller xmlMarshaller = jaxbContext.createMarshaller(); + Marshaller xmlMarshaller = MARSHALLER_CACHE.getMarshaller(this.toBeMarshalled.getClass()); xmlMarshaller.marshal(this.toBeMarshalled, this.getSAXConsumer()); } catch (JAXBException e) { throw new ProcessingException("Impossible to marshal object of type " From [email protected] Thu Jun 24 08:00:23 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27302 invoked from network); 24 Jun 2010 08:00:23 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Jun 2010 08:00:23 -0000 Received: (qmail 61053 invoked by uid 500); 24 Jun 2010 08:00:23 -0000 Delivered-To: [email protected] Received: (qmail 60944 invoked by uid 500); 24 Jun 2010 08:00:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cvs.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 60937 invoked by uid 99); 24 Jun 2010 08:00:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jun 2010 08:00:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jun 2010 08:00:15 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 2CE0823888E4; Thu, 24 Jun 2010 07:59:22 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r957445 - in /cocoon/cocoon3/trunk/cocoon-optional/src: main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/ test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/ Date: Thu, 24 Jun 2010 07:59:22 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: simonetripodi Date: Thu Jun 24 07:59:21 2010 New Revision: 957445 URL: http://svn.apache.org/viewvc?rev=957445&view=rev Log: started adding array/list support + array test case extracted ObjectCacheKey inner class Added: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/ObjectCacheKey.java (with props) Modified: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/InMemoryLRUMarshallerCache.java cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/Animal.java cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGeneratorTestCase.java Modified: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/InMemoryLRUMarshallerCache.java URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/InMemoryLRUMarshallerCache.java?rev=957445&r1=957444&r2=957445&view=diff ============================================================================== --- cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/InMemoryLRUMarshallerCache.java (original) +++ cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/InMemoryLRUMarshallerCache.java Thu Jun 24 07:59:21 2010 @@ -49,6 +49,19 @@ final class InMemoryLRUMarshallerCache i */ private static final int CACHE_CAPACITY = (int) Math.ceil(CACHE_SIZE / LOAD_FACTOR) + 1; + private static final InMemoryLRUMarshallerCache INSTANCE = new InMemoryLRUMarshallerCache(); + + public static InMemoryLRUMarshallerCache getInstance() { + return INSTANCE; + } + + /** + * This class can't be instantiated. + */ + private InMemoryLRUMarshallerCache() { + // do nothing + } + /** * The map that implements the LRU cache. */ Modified: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java?rev=957445&r1=957444&r2=957445&view=diff ============================================================================== --- cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java (original) +++ cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java Thu Jun 24 07:59:21 2010 @@ -18,25 +18,36 @@ */ package org.apache.cocoon.optional.pipeline.components.sax.jaxb; -import javax.xml.bind.JAXBException; import javax.xml.bind.Marshaller; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; import org.apache.cocoon.pipeline.ProcessingException; -import org.apache.cocoon.pipeline.caching.AbstractCacheKey; import org.apache.cocoon.pipeline.caching.CacheKey; import org.apache.cocoon.pipeline.component.CachingPipelineComponent; import org.apache.cocoon.pipeline.util.StringRepresentation; import org.apache.cocoon.sax.AbstractSAXGenerator; +import org.xml.sax.helpers.AttributesImpl; /** * SAX generator that produces SAX events from Object using the JAXB marshaller. */ public final class JAXBGenerator extends AbstractSAXGenerator implements CachingPipelineComponent { - private static final InMemoryLRUMarshallerCache MARSHALLER_CACHE = new InMemoryLRUMarshallerCache(); + private static final String DEFAULT = "##default"; + + private static final String UTF_8 = "UTF-8"; + + private static final String EMPTY = ""; + + private final InMemoryLRUMarshallerCache marshallerCache = InMemoryLRUMarshallerCache.getInstance(); private final Object toBeMarshalled; + private String charset = UTF_8; + + private boolean formattedOutput = false; + public JAXBGenerator(Object toBeMarshalled) { if (toBeMarshalled == null) { throw new IllegalArgumentException("Argument 'toBeMarshalled' must not be null"); @@ -44,71 +55,120 @@ public final class JAXBGenerator extends this.toBeMarshalled = toBeMarshalled; } - public void execute() { - try { - Marshaller xmlMarshaller = MARSHALLER_CACHE.getMarshaller(this.toBeMarshalled.getClass()); - xmlMarshaller.marshal(this.toBeMarshalled, this.getSAXConsumer()); - } catch (JAXBException e) { - throw new ProcessingException("Impossible to marshal object of type " - + this.toBeMarshalled.getClass() - + " to XML", e); - } + public String getCharset() { + return this.charset; } - @Override - public String toString() { - return StringRepresentation.buildString(this, "toBeMarshalled=" + this.toBeMarshalled); + public void setCharset(String charset) { + this.charset = charset; } - public CacheKey constructCacheKey() { - return new ObjectCacheKey(this.toBeMarshalled); + public boolean isFormattedOutput() { + return this.formattedOutput; } - private final class ObjectCacheKey extends AbstractCacheKey { + public void setFormattedOutput(boolean formattedOutput) { + this.formattedOutput = formattedOutput; + } - private static final long serialVersionUID = 1L; + public void execute() { + // retrieve the right type has to be marshaled + String xmlRootElementName = null; + String xmlRootElementNameSpace = null; + boolean pluralize = false; + Class<?> type = this.toBeMarshalled.getClass(); + + // analyze generics for collections + if (Iterable.class.isAssignableFrom(type)) { + pluralize = true; + // TODO extract the generic type!!! + } else if (type.isArray()) { // else get array type + pluralize = true; + type = type.getComponentType(); + } + // otherwise is the passed argument type + + // validate the type can be marshaled using JAXB + if (!type.isAnnotationPresent(XmlRootElement.class) + && !type.isAnnotationPresent(XmlType.class)) { + throw new IllegalArgumentException("Object of type " + + type.getName() + + " can't be marshalled since neither of " + + XmlRootElement.class.getName() + + " or " + + XmlType.class.getName() + + " are present"); + } + + // get the root element name if needed + if (pluralize) { + String name = null; + if (type.isAnnotationPresent(XmlRootElement.class)) { + XmlRootElement xmlRootElement = type.getAnnotation(XmlRootElement.class); + name = xmlRootElement.name(); + xmlRootElementNameSpace = xmlRootElement.namespace(); + } else if (type.isAnnotationPresent(XmlType.class)) { + XmlType xmlType = type.getAnnotation(XmlType.class); + name = xmlType.name(); + xmlRootElementNameSpace = xmlType.namespace(); + } - private final Object obj; + if (name != null && !DEFAULT.equals(name)) { + xmlRootElementName = name; + } else { + xmlRootElementName = type.getSimpleName(); + } - public ObjectCacheKey(Object obj) { - this.obj = obj; - } + if (DEFAULT.equals(xmlRootElementNameSpace)) { + xmlRootElementNameSpace = EMPTY; + } - public Object getObj() { - return this.obj; + // pluralize + // TODO has to be improved, see PluralStemmers reference impl + xmlRootElementName += 's'; } - @Override - public boolean equals(Object other) { - if (!(other instanceof ObjectCacheKey)) { - return false; + try { + Marshaller xmlMarshaller = marshallerCache.getMarshaller(type); + if (this.charset != null) { + xmlMarshaller.setProperty(Marshaller.JAXB_ENCODING, this.charset); } + xmlMarshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, this.formattedOutput); - ObjectCacheKey otherCacheKey = (ObjectCacheKey) other; - return this.obj.equals(otherCacheKey.getObj()); - } - - @Override - public int hashCode() { - return this.obj.hashCode(); + // setup the Marshaler if a collection has to be marshaled + if (pluralize) { + xmlMarshaller.setProperty(Marshaller.JAXB_FRAGMENT, true); + this.getSAXConsumer().startDocument(); + this.getSAXConsumer().startElement(xmlRootElementNameSpace, xmlRootElementName, xmlRootElementName, new AttributesImpl()); + + if (Iterable.class.isAssignableFrom(this.toBeMarshalled.getClass())) { + for (Object object : (Iterable<Object>) this.toBeMarshalled) { + xmlMarshaller.marshal(object, this.getSAXConsumer()); + } + } else if (this.toBeMarshalled.getClass().isArray()) { + for (Object object : (Object[]) this.toBeMarshalled) { + xmlMarshaller.marshal(object, this.getSAXConsumer()); + } + } + + this.getSAXConsumer().endElement(xmlRootElementNameSpace, xmlRootElementName, xmlRootElementName); + this.getSAXConsumer().endDocument(); + } else { + xmlMarshaller.marshal(this.toBeMarshalled, this.getSAXConsumer()); + } + } catch (Exception e) { + throw new ProcessingException("Impossible to marshal object of type " + + this.toBeMarshalled.getClass() + + " to XML", e); } + } - /** - * {@inheritDoc} - * - * @see org.apache.cocoon.pipeline.caching.CacheKey#isValid(org.apache.cocoon.pipeline.caching.CacheKey) - */ - public long getLastModified() { - return -1; - } + public CacheKey constructCacheKey() { + return new ObjectCacheKey(this.toBeMarshalled); + } - /** - * {@inheritDoc} - * - * @see org.apache.cocoon.pipeline.caching.CacheKey#isValid(org.apache.cocoon.pipeline.caching.CacheKey) - */ - public boolean isValid(CacheKey other) { - return this.equals(other); - } + @Override + public String toString() { + return StringRepresentation.buildString(this, "toBeMarshalled=" + this.toBeMarshalled); } } Added: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/ObjectCacheKey.java URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/ObjectCacheKey.java?rev=957445&view=auto ============================================================================== --- cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/ObjectCacheKey.java (added) +++ cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/ObjectCacheKey.java Thu Jun 24 07:59:21 2010 @@ -0,0 +1,73 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.cocoon.optional.pipeline.components.sax.jaxb; + +import org.apache.cocoon.pipeline.caching.AbstractCacheKey; +import org.apache.cocoon.pipeline.caching.CacheKey; + +/** + * @version $Id$ + */ +final class ObjectCacheKey extends AbstractCacheKey { + + private static final long serialVersionUID = 1L; + + private final Object obj; + + public ObjectCacheKey(Object obj) { + this.obj = obj; + } + + public Object getObj() { + return this.obj; + } + + @Override + public boolean equals(Object other) { + if (!(other instanceof ObjectCacheKey)) { + return false; + } + + ObjectCacheKey otherCacheKey = (ObjectCacheKey) other; + return this.obj.equals(otherCacheKey.getObj()); + } + + @Override + public int hashCode() { + return this.obj.hashCode(); + } + + /** + * {@inheritDoc} + * + * @see org.apache.cocoon.pipeline.caching.CacheKey#isValid(org.apache.cocoon.pipeline.caching.CacheKey) + */ + public long getLastModified() { + return -1; + } + + /** + * {@inheritDoc} + * + * @see org.apache.cocoon.pipeline.caching.CacheKey#isValid(org.apache.cocoon.pipeline.caching.CacheKey) + */ + public boolean isValid(CacheKey other) { + return this.equals(other); + } +} Propchange: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/ObjectCacheKey.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/ObjectCacheKey.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/ObjectCacheKey.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/Animal.java URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/Animal.java?rev=957445&r1=957444&r2=957445&view=diff ============================================================================== --- cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/Animal.java (original) +++ cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/Animal.java Thu Jun 24 07:59:21 2010 @@ -22,7 +22,7 @@ import javax.xml.bind.annotation.XmlAttr import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; -@XmlRootElement +@XmlRootElement(name = "animal") @XmlAccessorType(XmlAccessType.FIELD) final class Animal { Modified: cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGeneratorTestCase.java URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGeneratorTestCase.java?rev=957445&r1=957444&r2=957445&view=diff ============================================================================== --- cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGeneratorTestCase.java (original) +++ cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGeneratorTestCase.java Thu Jun 24 07:59:21 2010 @@ -31,8 +31,20 @@ import org.junit.Test; public final class JAXBGeneratorTestCase { + // @Test + public void testPipelineWithBean() throws Exception { + Animal animal = new Animal(); + animal.setAge(5); + animal.setCall("Dook"); + animal.setColour("albino"); + animal.setLatinName("Mustela putoris furo"); + animal.setName("Lector"); + + this.internalAssert(animal, "<?xml version=\"1.0\" encoding=\"UTF-8\"?><animal><call>Dook</call><colour>albino</colour><latinName>Mustela putoris furo</latinName><name>Lector</name><age>5</age></animal>"); + } + @Test - public void testPipelineWithBeanGenerator() throws Exception { + public void testPipelineWithBeanArray() throws Exception { Animal animal = new Animal(); animal.setAge(5); animal.setCall("Dook"); @@ -40,17 +52,20 @@ public final class JAXBGeneratorTestCase animal.setLatinName("Mustela putoris furo"); animal.setName("Lector"); + this.internalAssert(new Animal[]{ animal, animal }, + "<?xml version=\"1.0\" encoding=\"UTF-8\"?><animals><animal><call>Dook</call><colour>albino</colour><latinName>Mustela putoris furo</latinName><name>Lector</name><age>5</age></animal><animal><call>Dook</call><colour>albino</colour><latinName>Mustela putoris furo</latinName><name>Lector</name><age>5</age></animal></animals>"); + } + + private void internalAssert(Object toBeMarshalled, String expected) throws Exception { Pipeline<SAXPipelineComponent> pipeline = new NonCachingPipeline<SAXPipelineComponent>(); - pipeline.addComponent(new JAXBGenerator(animal)); + pipeline.addComponent(new JAXBGenerator(toBeMarshalled)); pipeline.addComponent(new XMLSerializer()); ByteArrayOutputStream baos = new ByteArrayOutputStream(); pipeline.setup(baos); pipeline.execute(); - Diff diff = new Diff( - "<?xml version=\"1.0\" encoding=\"UTF-8\"?><animal><call>Dook</call><colour>albino</colour><latinName>Mustela putoris furo</latinName><name>Lector</name><age>5</age></animal>", - new String(baos.toByteArray())); + Diff diff = new Diff(expected, new String(baos.toByteArray())); assertTrue("Bean generation didn't work as expected " + diff, diff.identical()); } From [email protected] Thu Jun 24 09:12:19 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48031 invoked from network); 24 Jun 2010 09:12:19 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Jun 2010 09:12:19 -0000 Received: (qmail 37291 invoked by uid 500); 24 Jun 2010 09:12:18 -0000 Delivered-To: [email protected] Received: (qmail 37169 invoked by uid 500); 24 Jun 2010 09:12:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cvs.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 37162 invoked by uid 99); 24 Jun 2010 09:12:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jun 2010 09:12:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jun 2010 09:12:14 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1273D23889E7; Thu, 24 Jun 2010 09:11:22 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r957464 - /cocoon/cocoon3/trunk/cocoon-sax/pom.xml Date: Thu, 24 Jun 2010 09:11:22 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: simonetripodi Date: Thu Jun 24 09:11:21 2010 New Revision: 957464 URL: http://svn.apache.org/viewvc?rev=957464&view=rev Log: added bcel test dependency to fix Gump builds Modified: cocoon/cocoon3/trunk/cocoon-sax/pom.xml Modified: cocoon/cocoon3/trunk/cocoon-sax/pom.xml URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sax/pom.xml?rev=957464&r1=957463&r2=957464&view=diff ============================================================================== --- cocoon/cocoon3/trunk/cocoon-sax/pom.xml (original) +++ cocoon/cocoon3/trunk/cocoon-sax/pom.xml Thu Jun 24 09:11:21 2010 @@ -86,6 +86,12 @@ </exclusion> </exclusions> </dependency> + <dependency> + <groupId>org.apache.bcel</groupId> + <artifactId>bcel</artifactId> + <version>5.2</version> + <scope>test</scope> + </dependency> </dependencies> <build> From [email protected] Sat Jun 26 17:08:06 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5948 invoked from network); 26 Jun 2010 17:08:05 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Jun 2010 17:08:05 -0000 Received: (qmail 42106 invoked by uid 500); 26 Jun 2010 17:08:05 -0000 Delivered-To: [email protected] Received: (qmail 41996 invoked by uid 500); 26 Jun 2010 17:08:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cvs.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 41989 invoked by uid 99); 26 Jun 2010 17:08:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jun 2010 17:08:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jun 2010 17:08:01 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 4C90C2388903; Sat, 26 Jun 2010 17:07:08 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r958243 - in /cocoon/cocoon3/trunk/cocoon-optional/src: main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/ test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/ Date: Sat, 26 Jun 2010 17:07:08 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: simonetripodi Date: Sat Jun 26 17:07:07 2010 New Revision: 958243 URL: http://svn.apache.org/viewvc?rev=958243&view=rev Log: added the collection generic type support Added: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/GenericUtils.java (with props) Modified: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGeneratorTestCase.java Added: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/GenericUtils.java URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/GenericUtils.java?rev=958243&view=auto ============================================================================== --- cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/GenericUtils.java (added) +++ cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/GenericUtils.java Sat Jun 26 17:07:07 2010 @@ -0,0 +1,72 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.cocoon.optional.pipeline.components.sax.jaxb; + +import java.lang.reflect.ParameterizedType; +import java.lang.reflect.Type; + +/** + * @version $Id$ + */ +class GenericUtils { + + /** + * This class can't be instantiated. + */ + private GenericUtils() { + // do nothing + } + + /** + * Returns the type from super class's type parameter. + */ + public static Type getSuperclassTypeParameter(Class<?> subclass) { + Type superclass = subclass.getGenericSuperclass(); + if (!(superclass instanceof ParameterizedType)) { + throw new RuntimeException("Missing type parameter."); + } + ParameterizedType parameterized = (ParameterizedType) superclass; + return parameterized.getActualTypeArguments()[0]; + } + + /** + * Get the class of the parameter of the provided parameterized type. If the + * type is a Class, then <code>null</code> is returned. If the type is + * ParameterizedType, then the actual type argument is returned. + * <p> + * E.g. if type is <code>String.class</code>, then <code>null</code> is + * returned. If type is <code>List&lt;String&gt;</code>, then + * <code>String.class</code> is returned. + * <p> + * In case the type has more than one parameter, only the type of the first + * parameter is returned by this method. + * + * @param type the type to return the class of the parameter for + * @return the class of the generic parameter of type + */ + public static Class<?> getGenericParamType(Type type) { + Class<?> generic = null; + if (type instanceof ParameterizedType) { + ParameterizedType parameterizedType = (ParameterizedType) type; + Type[] actualTypeArguments = parameterizedType.getActualTypeArguments(); + generic = (Class<?>) actualTypeArguments[0]; + } + return generic; + } +} Propchange: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/GenericUtils.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/GenericUtils.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/GenericUtils.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java?rev=958243&r1=958242&r2=958243&view=diff ============================================================================== --- cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java (original) +++ cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java Sat Jun 26 17:07:07 2010 @@ -18,6 +18,8 @@ */ package org.apache.cocoon.optional.pipeline.components.sax.jaxb; +import java.lang.reflect.Type; + import javax.xml.bind.Marshaller; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; @@ -32,7 +34,7 @@ import org.xml.sax.helpers.AttributesImp /** * SAX generator that produces SAX events from Object using the JAXB marshaller. */ -public final class JAXBGenerator extends AbstractSAXGenerator implements CachingPipelineComponent { +public abstract class JAXBGenerator<T> extends AbstractSAXGenerator implements CachingPipelineComponent { private static final String DEFAULT = "##default"; @@ -42,17 +44,36 @@ public final class JAXBGenerator extends private final InMemoryLRUMarshallerCache marshallerCache = InMemoryLRUMarshallerCache.getInstance(); - private final Object toBeMarshalled; + private final T toBeMarshalled; + + private final Class<?> type; private String charset = UTF_8; private boolean formattedOutput = false; - public JAXBGenerator(Object toBeMarshalled) { + private boolean pluralize = false; + + public JAXBGenerator(T toBeMarshalled) { if (toBeMarshalled == null) { throw new IllegalArgumentException("Argument 'toBeMarshalled' must not be null"); } this.toBeMarshalled = toBeMarshalled; + Class<?> rawType = toBeMarshalled.getClass(); + // analyze generics for collections + if (Iterable.class.isAssignableFrom(rawType)) { + Type type = GenericUtils.getSuperclassTypeParameter(this.getClass()); + if (type == null) { + throw new IllegalArgumentException("Generic type is not defined"); + } + this.type = GenericUtils.getGenericParamType(type); + this.pluralize = true; + } else if (rawType.isArray()) { // else get array type + this.pluralize = true; + this.type = rawType.getComponentType(); + } else { // otherwise is the passed argument type + this.type = rawType; + } } public String getCharset() { @@ -71,26 +92,14 @@ public final class JAXBGenerator extends this.formattedOutput = formattedOutput; } - public void execute() { + public final void execute() { // retrieve the right type has to be marshaled String xmlRootElementName = null; String xmlRootElementNameSpace = null; - boolean pluralize = false; - Class<?> type = this.toBeMarshalled.getClass(); - - // analyze generics for collections - if (Iterable.class.isAssignableFrom(type)) { - pluralize = true; - // TODO extract the generic type!!! - } else if (type.isArray()) { // else get array type - pluralize = true; - type = type.getComponentType(); - } - // otherwise is the passed argument type // validate the type can be marshaled using JAXB - if (!type.isAnnotationPresent(XmlRootElement.class) - && !type.isAnnotationPresent(XmlType.class)) { + if (!this.type.isAnnotationPresent(XmlRootElement.class) + && !this.type.isAnnotationPresent(XmlType.class)) { throw new IllegalArgumentException("Object of type " + type.getName() + " can't be marshalled since neither of " @@ -101,14 +110,14 @@ public final class JAXBGenerator extends } // get the root element name if needed - if (pluralize) { + if (this.pluralize) { String name = null; - if (type.isAnnotationPresent(XmlRootElement.class)) { - XmlRootElement xmlRootElement = type.getAnnotation(XmlRootElement.class); + if (this.type.isAnnotationPresent(XmlRootElement.class)) { + XmlRootElement xmlRootElement = this.type.getAnnotation(XmlRootElement.class); name = xmlRootElement.name(); xmlRootElementNameSpace = xmlRootElement.namespace(); - } else if (type.isAnnotationPresent(XmlType.class)) { - XmlType xmlType = type.getAnnotation(XmlType.class); + } else if (this.type.isAnnotationPresent(XmlType.class)) { + XmlType xmlType = this.type.getAnnotation(XmlType.class); name = xmlType.name(); xmlRootElementNameSpace = xmlType.namespace(); } @@ -123,20 +132,19 @@ public final class JAXBGenerator extends xmlRootElementNameSpace = EMPTY; } - // pluralize // TODO has to be improved, see PluralStemmers reference impl xmlRootElementName += 's'; } try { - Marshaller xmlMarshaller = marshallerCache.getMarshaller(type); + Marshaller xmlMarshaller = this.marshallerCache.getMarshaller(type); if (this.charset != null) { xmlMarshaller.setProperty(Marshaller.JAXB_ENCODING, this.charset); } xmlMarshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, this.formattedOutput); // setup the Marshaler if a collection has to be marshaled - if (pluralize) { + if (this.pluralize) { xmlMarshaller.setProperty(Marshaller.JAXB_FRAGMENT, true); this.getSAXConsumer().startDocument(); this.getSAXConsumer().startElement(xmlRootElementNameSpace, xmlRootElementName, xmlRootElementName, new AttributesImpl()); Modified: cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGeneratorTestCase.java URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGeneratorTestCase.java?rev=958243&r1=958242&r2=958243&view=diff ============================================================================== --- cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGeneratorTestCase.java (original) +++ cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGeneratorTestCase.java Sat Jun 26 17:07:07 2010 @@ -21,6 +21,8 @@ package org.apache.cocoon.optional.pipel import static junit.framework.Assert.assertTrue; import java.io.ByteArrayOutputStream; +import java.util.ArrayList; +import java.util.List; import org.apache.cocoon.pipeline.NonCachingPipeline; import org.apache.cocoon.pipeline.Pipeline; @@ -29,9 +31,12 @@ import org.apache.cocoon.sax.component.X import org.custommonkey.xmlunit.Diff; import org.junit.Test; +/** + * $Id$ + */ public final class JAXBGeneratorTestCase { - // @Test + @Test public void testPipelineWithBean() throws Exception { Animal animal = new Animal(); animal.setAge(5); @@ -40,7 +45,8 @@ public final class JAXBGeneratorTestCase animal.setLatinName("Mustela putoris furo"); animal.setName("Lector"); - this.internalAssert(animal, "<?xml version=\"1.0\" encoding=\"UTF-8\"?><animal><call>Dook</call><colour>albino</colour><latinName>Mustela putoris furo</latinName><name>Lector</name><age>5</age></animal>"); + this.internalAssert(new JAXBGenerator<Animal>(animal) {}, + "<?xml version=\"1.0\" encoding=\"UTF-8\"?><animal><call>Dook</call><colour>albino</colour><latinName>Mustela putoris furo</latinName><name>Lector</name><age>5</age></animal>"); } @Test @@ -52,13 +58,30 @@ public final class JAXBGeneratorTestCase animal.setLatinName("Mustela putoris furo"); animal.setName("Lector"); - this.internalAssert(new Animal[]{ animal, animal }, + this.internalAssert(new JAXBGenerator<Animal[]>(new Animal[]{ animal, animal }) {}, + "<?xml version=\"1.0\" encoding=\"UTF-8\"?><animals><animal><call>Dook</call><colour>albino</colour><latinName>Mustela putoris furo</latinName><name>Lector</name><age>5</age></animal><animal><call>Dook</call><colour>albino</colour><latinName>Mustela putoris furo</latinName><name>Lector</name><age>5</age></animal></animals>"); + } + + @Test + public void testPipelineWithBeanList() throws Exception { + Animal animal = new Animal(); + animal.setAge(5); + animal.setCall("Dook"); + animal.setColour("albino"); + animal.setLatinName("Mustela putoris furo"); + animal.setName("Lector"); + + List<Animal> animals = new ArrayList<Animal>(); + animals.add(animal); + animals.add(animal); + + this.internalAssert(new JAXBGenerator<List<Animal>>(animals) {}, "<?xml version=\"1.0\" encoding=\"UTF-8\"?><animals><animal><call>Dook</call><colour>albino</colour><latinName>Mustela putoris furo</latinName><name>Lector</name><age>5</age></animal><animal><call>Dook</call><colour>albino</colour><latinName>Mustela putoris furo</latinName><name>Lector</name><age>5</age></animal></animals>"); } - private void internalAssert(Object toBeMarshalled, String expected) throws Exception { + private void internalAssert(JAXBGenerator<?> generator, String expected) throws Exception { Pipeline<SAXPipelineComponent> pipeline = new NonCachingPipeline<SAXPipelineComponent>(); - pipeline.addComponent(new JAXBGenerator(toBeMarshalled)); + pipeline.addComponent(generator); pipeline.addComponent(new XMLSerializer()); ByteArrayOutputStream baos = new ByteArrayOutputStream(); From [email protected] Sat Jun 26 17:16:57 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7057 invoked from network); 26 Jun 2010 17:16:57 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Jun 2010 17:16:57 -0000 Received: (qmail 44741 invoked by uid 500); 26 Jun 2010 17:16:56 -0000 Delivered-To: [email protected] Received: (qmail 44663 invoked by uid 500); 26 Jun 2010 17:16:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cvs.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 44656 invoked by uid 99); 26 Jun 2010 17:16:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jun 2010 17:16:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jun 2010 17:16:54 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 66A812388903; Sat, 26 Jun 2010 17:16:01 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r958246 - /cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java Date: Sat, 26 Jun 2010 17:16:01 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: simonetripodi Date: Sat Jun 26 17:16:01 2010 New Revision: 958246 URL: http://svn.apache.org/viewvc?rev=958246&view=rev Log: finalized methods have not to be rewritten Modified: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java Modified: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java?rev=958246&r1=958245&r2=958246&view=diff ============================================================================== --- cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java (original) +++ cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java Sat Jun 26 17:16:01 2010 @@ -76,19 +76,19 @@ public abstract class JAXBGenerator<T> e } } - public String getCharset() { + public final String getCharset() { return this.charset; } - public void setCharset(String charset) { + public final void setCharset(String charset) { this.charset = charset; } - public boolean isFormattedOutput() { + public final boolean isFormattedOutput() { return this.formattedOutput; } - public void setFormattedOutput(boolean formattedOutput) { + public final void setFormattedOutput(boolean formattedOutput) { this.formattedOutput = formattedOutput; } @@ -171,7 +171,7 @@ public abstract class JAXBGenerator<T> e } } - public CacheKey constructCacheKey() { + public final CacheKey constructCacheKey() { return new ObjectCacheKey(this.toBeMarshalled); } From [email protected] Sat Jun 26 17:19:17 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7545 invoked from network); 26 Jun 2010 17:19:16 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Jun 2010 17:19:16 -0000 Received: (qmail 47083 invoked by uid 500); 26 Jun 2010 17:19:16 -0000 Delivered-To: [email protected] Received: (qmail 47018 invoked by uid 500); 26 Jun 2010 17:19:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cvs.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 46997 invoked by uid 99); 26 Jun 2010 17:19:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jun 2010 17:19:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jun 2010 17:19:13 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 3AADC2388903; Sat, 26 Jun 2010 17:18:21 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r958248 - /cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java Date: Sat, 26 Jun 2010 17:18:21 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: simonetripodi Date: Sat Jun 26 17:18:20 2010 New Revision: 958248 URL: http://svn.apache.org/viewvc?rev=958248&view=rev Log: fixed exception messages Modified: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java Modified: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java?rev=958248&r1=958247&r2=958248&view=diff ============================================================================== --- cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java (original) +++ cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java Sat Jun 26 17:18:20 2010 @@ -101,7 +101,7 @@ public abstract class JAXBGenerator<T> e if (!this.type.isAnnotationPresent(XmlRootElement.class) && !this.type.isAnnotationPresent(XmlType.class)) { throw new IllegalArgumentException("Object of type " - + type.getName() + + this.type.getName() + " can't be marshalled since neither of " + XmlRootElement.class.getName() + " or " @@ -125,7 +125,7 @@ public abstract class JAXBGenerator<T> e if (name != null && !DEFAULT.equals(name)) { xmlRootElementName = name; } else { - xmlRootElementName = type.getSimpleName(); + xmlRootElementName = this.type.getSimpleName(); } if (DEFAULT.equals(xmlRootElementNameSpace)) { @@ -166,7 +166,7 @@ public abstract class JAXBGenerator<T> e } } catch (Exception e) { throw new ProcessingException("Impossible to marshal object of type " - + this.toBeMarshalled.getClass() + + this.type + " to XML", e); } } From [email protected] Wed Jun 30 07:41:40 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81339 invoked from network); 30 Jun 2010 07:41:40 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 30 Jun 2010 07:41:40 -0000 Received: (qmail 57982 invoked by uid 500); 30 Jun 2010 07:41:40 -0000 Delivered-To: [email protected] Received: (qmail 57865 invoked by uid 500); 30 Jun 2010 07:41:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cvs.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 57858 invoked by uid 99); 30 Jun 2010 07:41:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jun 2010 07:41:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jun 2010 07:41:34 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A4D5323888CE; Wed, 30 Jun 2010 07:40:41 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r959219 - /cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/core/container/spring/avalon/PoolableProxyHandler.java Date: Wed, 30 Jun 2010 07:40:41 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: jasha Date: Wed Jun 30 07:40:41 2010 New Revision: 959219 URL: http://svn.apache.org/viewvc?rev=959219&view=rev Log: COCOON-2259 Fix for Memory leak in PoolableProxyHandler. Patch by Alexander Daniel. Modified: cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/core/container/spring/avalon/PoolableProxyHandler.java Modified: cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/core/container/spring/avalon/PoolableProxyHandler.java URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/core/container/spring/avalon/PoolableProxyHandler.java?rev=959219&r1=959218&r2=959219&view=diff ============================================================================== --- cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/core/container/spring/avalon/PoolableProxyHandler.java (original) +++ cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/core/container/spring/avalon/PoolableProxyHandler.java Wed Jun 30 07:40:41 2010 @@ -20,6 +20,8 @@ import java.lang.reflect.InvocationHandl import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.springframework.web.context.request.RequestAttributes; import org.springframework.web.context.request.RequestContextHolder; @@ -31,13 +33,16 @@ import org.springframework.web.context.r */ public class PoolableProxyHandler implements InvocationHandler, Runnable { + /** Logger (we use the same logging mechanism as Spring!) */ + private final Log log = LogFactory.getLog(getClass()); + private final ThreadLocal componentHolder = new ThreadLocal(); private final PoolableFactoryBean handler; private final String attributeName; public PoolableProxyHandler(PoolableFactoryBean handler) { this.handler = handler; - this.attributeName = PoolableProxyHandler.class.getName() + '/' + this.handler.hashCode(); + this.attributeName = PoolableProxyHandler.class.getName() + '/' + this.hashCode(); // see https://issues.apache.org/jira/browse/COCOON-2259 } /** @@ -66,6 +71,9 @@ public class PoolableProxyHandler implem if ( this.componentHolder.get() == null ) { this.componentHolder.set(this.handler.getFromPool()); RequestContextHolder.currentRequestAttributes().registerDestructionCallback(this.attributeName, this, RequestAttributes.SCOPE_REQUEST); + if (log.isDebugEnabled()) { + log.debug("getFromPool attributeName=" + attributeName + " class=" + componentHolder.get().getClass()); + } } try { return method.invoke(this.componentHolder.get(), args); @@ -81,6 +89,13 @@ public class PoolableProxyHandler implem final Object o = this.componentHolder.get(); if ( o != null ) { this.handler.putIntoPool(o); + if (log.isDebugEnabled()) { + log.debug("putIntoPool attributeName=" + attributeName + " class=" + componentHolder.get().getClass()); + } + } else { + if (log.isDebugEnabled()) { + log.debug("no object to put into pool attributeName=" + attributeName); + } } this.componentHolder.set(null); } From [email protected] Wed Jun 30 19:27:41 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13083 invoked from network); 30 Jun 2010 19:27:40 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 30 Jun 2010 19:27:40 -0000 Received: (qmail 38171 invoked by uid 500); 30 Jun 2010 19:27:40 -0000 Delivered-To: [email protected] Received: (qmail 38116 invoked by uid 500); 30 Jun 2010 19:27:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cvs.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 38109 invoked by uid 99); 30 Jun 2010 19:27:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jun 2010 19:27:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jun 2010 19:27:36 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 30AE2238897A; Wed, 30 Jun 2010 19:26:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r959417 - in /cocoon/cocoon3/trunk/cocoon-optional/src: main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/ test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/ Date: Wed, 30 Jun 2010 19:26:12 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: simonetripodi Date: Wed Jun 30 19:26:11 2010 New Revision: 959417 URL: http://svn.apache.org/viewvc?rev=959417&view=rev Log: JAXB generator made final changed API to marshal objects Added: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/GenericType.java (with props) Removed: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/GenericUtils.java Modified: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/Animal.java cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGeneratorTestCase.java Added: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/GenericType.java URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/GenericType.java?rev=959417&view=auto ============================================================================== --- cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/GenericType.java (added) +++ cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/GenericType.java Wed Jun 30 19:26:11 2010 @@ -0,0 +1,79 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.cocoon.optional.pipeline.components.sax.jaxb; + +import java.lang.reflect.ParameterizedType; +import java.lang.reflect.Type; + +/** + * @version $Id$ + */ +public abstract class GenericType<T> { + + private final T object; + + private final Class<?> rawType; + + private final Class<?> type; + + public GenericType(T object) { + this.object = object; + this.rawType = object.getClass(); + + Type superclass = this.getClass().getGenericSuperclass(); + if (!(superclass instanceof ParameterizedType)) { + throw new RuntimeException("Missing type parameter."); + } + ParameterizedType parameterized = (ParameterizedType) superclass; + Type type = parameterized.getActualTypeArguments()[0]; + if (type instanceof ParameterizedType) { + ParameterizedType parameterizedType = (ParameterizedType) type; + Type[] actualTypeArguments = parameterizedType.getActualTypeArguments(); + this.type = (Class<?>) actualTypeArguments[0]; + } else { + this.type = null; + } + } + + public final T getObject() { + return this.object; + } + + public final Class<?> getRawType() { + return this.rawType; + } + + public final Class<?> getType() { + return this.type; + } + + @Override + public String toString() { + return "{ object=" + + this.object + + ", rawType=" + + this.rawType + + ", type=" + + this.type + + " }"; + } + + + +} Propchange: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/GenericType.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/GenericType.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/GenericType.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java?rev=959417&r1=959416&r2=959417&view=diff ============================================================================== --- cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java (original) +++ cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java Wed Jun 30 19:26:11 2010 @@ -18,8 +18,6 @@ */ package org.apache.cocoon.optional.pipeline.components.sax.jaxb; -import java.lang.reflect.Type; - import javax.xml.bind.Marshaller; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; @@ -34,74 +32,68 @@ import org.xml.sax.helpers.AttributesImp /** * SAX generator that produces SAX events from Object using the JAXB marshaller. */ -public abstract class JAXBGenerator<T> extends AbstractSAXGenerator implements CachingPipelineComponent { - - private static final String DEFAULT = "##default"; +public class JAXBGenerator extends AbstractSAXGenerator implements CachingPipelineComponent { - private static final String UTF_8 = "UTF-8"; + private static String DEFAULT = "##default"; - private static final String EMPTY = ""; + private static String UTF_8 = "UTF-8"; - private final InMemoryLRUMarshallerCache marshallerCache = InMemoryLRUMarshallerCache.getInstance(); + private static String EMPTY = ""; - private final T toBeMarshalled; + private InMemoryLRUMarshallerCache marshallerCache = InMemoryLRUMarshallerCache.getInstance(); - private final Class<?> type; + private GenericType<?> toBeMarshalled; private String charset = UTF_8; private boolean formattedOutput = false; - private boolean pluralize = false; - - public JAXBGenerator(T toBeMarshalled) { + public JAXBGenerator(GenericType<?> toBeMarshalled) { if (toBeMarshalled == null) { throw new IllegalArgumentException("Argument 'toBeMarshalled' must not be null"); } this.toBeMarshalled = toBeMarshalled; - Class<?> rawType = toBeMarshalled.getClass(); - // analyze generics for collections - if (Iterable.class.isAssignableFrom(rawType)) { - Type type = GenericUtils.getSuperclassTypeParameter(this.getClass()); - if (type == null) { - throw new IllegalArgumentException("Generic type is not defined"); - } - this.type = GenericUtils.getGenericParamType(type); - this.pluralize = true; - } else if (rawType.isArray()) { // else get array type - this.pluralize = true; - this.type = rawType.getComponentType(); - } else { // otherwise is the passed argument type - this.type = rawType; - } } - public final String getCharset() { + public String getCharset() { return this.charset; } - public final void setCharset(String charset) { + public void setCharset(String charset) { this.charset = charset; } - public final boolean isFormattedOutput() { + public boolean isFormattedOutput() { return this.formattedOutput; } - public final void setFormattedOutput(boolean formattedOutput) { + public void setFormattedOutput(boolean formattedOutput) { this.formattedOutput = formattedOutput; } - public final void execute() { + public void execute() { // retrieve the right type has to be marshaled String xmlRootElementName = null; String xmlRootElementNameSpace = null; + boolean pluralize = false; + Class<?> type; + + // analyze generics for collections + if (Iterable.class.isAssignableFrom(toBeMarshalled.getRawType())) { + type = this.toBeMarshalled.getType(); + pluralize = true; + } else if (this.toBeMarshalled.getRawType().isArray()) { // else get array type + pluralize = true; + type = this.toBeMarshalled.getRawType().getComponentType(); + } else { // otherwise is the passed argument type + type = this.toBeMarshalled.getRawType(); + } // validate the type can be marshaled using JAXB - if (!this.type.isAnnotationPresent(XmlRootElement.class) - && !this.type.isAnnotationPresent(XmlType.class)) { + if (!type.isAnnotationPresent(XmlRootElement.class) + && !type.isAnnotationPresent(XmlType.class)) { throw new IllegalArgumentException("Object of type " - + this.type.getName() + + type.getName() + " can't be marshalled since neither of " + XmlRootElement.class.getName() + " or " @@ -110,14 +102,14 @@ public abstract class JAXBGenerator<T> e } // get the root element name if needed - if (this.pluralize) { + if (pluralize) { String name = null; - if (this.type.isAnnotationPresent(XmlRootElement.class)) { - XmlRootElement xmlRootElement = this.type.getAnnotation(XmlRootElement.class); + if (type.isAnnotationPresent(XmlRootElement.class)) { + XmlRootElement xmlRootElement = type.getAnnotation(XmlRootElement.class); name = xmlRootElement.name(); xmlRootElementNameSpace = xmlRootElement.namespace(); - } else if (this.type.isAnnotationPresent(XmlType.class)) { - XmlType xmlType = this.type.getAnnotation(XmlType.class); + } else if (type.isAnnotationPresent(XmlType.class)) { + XmlType xmlType = type.getAnnotation(XmlType.class); name = xmlType.name(); xmlRootElementNameSpace = xmlType.namespace(); } @@ -125,7 +117,7 @@ public abstract class JAXBGenerator<T> e if (name != null && !DEFAULT.equals(name)) { xmlRootElementName = name; } else { - xmlRootElementName = this.type.getSimpleName(); + xmlRootElementName = type.getSimpleName(); } if (DEFAULT.equals(xmlRootElementNameSpace)) { @@ -144,17 +136,17 @@ public abstract class JAXBGenerator<T> e xmlMarshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, this.formattedOutput); // setup the Marshaler if a collection has to be marshaled - if (this.pluralize) { + if (pluralize) { xmlMarshaller.setProperty(Marshaller.JAXB_FRAGMENT, true); this.getSAXConsumer().startDocument(); this.getSAXConsumer().startElement(xmlRootElementNameSpace, xmlRootElementName, xmlRootElementName, new AttributesImpl()); - if (Iterable.class.isAssignableFrom(this.toBeMarshalled.getClass())) { - for (Object object : (Iterable<Object>) this.toBeMarshalled) { + if (Iterable.class.isAssignableFrom(this.toBeMarshalled.getRawType())) { + for (Object object : (Iterable<Object>) this.toBeMarshalled.getObject()) { xmlMarshaller.marshal(object, this.getSAXConsumer()); } - } else if (this.toBeMarshalled.getClass().isArray()) { - for (Object object : (Object[]) this.toBeMarshalled) { + } else if (this.toBeMarshalled.getRawType().isArray()) { + for (Object object : (Object[]) this.toBeMarshalled.getObject()) { xmlMarshaller.marshal(object, this.getSAXConsumer()); } } @@ -162,16 +154,16 @@ public abstract class JAXBGenerator<T> e this.getSAXConsumer().endElement(xmlRootElementNameSpace, xmlRootElementName, xmlRootElementName); this.getSAXConsumer().endDocument(); } else { - xmlMarshaller.marshal(this.toBeMarshalled, this.getSAXConsumer()); + xmlMarshaller.marshal(this.toBeMarshalled.getObject(), this.getSAXConsumer()); } } catch (Exception e) { throw new ProcessingException("Impossible to marshal object of type " - + this.type + + type + " to XML", e); } } - public final CacheKey constructCacheKey() { + public CacheKey constructCacheKey() { return new ObjectCacheKey(this.toBeMarshalled); } Modified: cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/Animal.java URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/Animal.java?rev=959417&r1=959416&r2=959417&view=diff ============================================================================== --- cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/Animal.java (original) +++ cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/Animal.java Wed Jun 30 19:26:11 2010 @@ -18,7 +18,6 @@ package org.apache.cocoon.optional.pipel import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; @@ -81,4 +80,19 @@ final class Animal { this.age = age; } + @Override + public String toString() { + return "Animal [call=" + + call + + ", colour=" + + colour + + ", latinName=" + + latinName + + ", name=" + + name + + ", age=" + + age + + "]"; + } + } Modified: cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGeneratorTestCase.java URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGeneratorTestCase.java?rev=959417&r1=959416&r2=959417&view=diff ============================================================================== --- cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGeneratorTestCase.java (original) +++ cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGeneratorTestCase.java Wed Jun 30 19:26:11 2010 @@ -45,7 +45,7 @@ public final class JAXBGeneratorTestCase animal.setLatinName("Mustela putoris furo"); animal.setName("Lector"); - this.internalAssert(new JAXBGenerator<Animal>(animal) {}, + this.internalAssert(new GenericType<Animal>(animal) {}, "<?xml version=\"1.0\" encoding=\"UTF-8\"?><animal><call>Dook</call><colour>albino</colour><latinName>Mustela putoris furo</latinName><name>Lector</name><age>5</age></animal>"); } @@ -58,7 +58,7 @@ public final class JAXBGeneratorTestCase animal.setLatinName("Mustela putoris furo"); animal.setName("Lector"); - this.internalAssert(new JAXBGenerator<Animal[]>(new Animal[]{ animal, animal }) {}, + this.internalAssert(new GenericType<Animal[]>(new Animal[]{ animal, animal }) {}, "<?xml version=\"1.0\" encoding=\"UTF-8\"?><animals><animal><call>Dook</call><colour>albino</colour><latinName>Mustela putoris furo</latinName><name>Lector</name><age>5</age></animal><animal><call>Dook</call><colour>albino</colour><latinName>Mustela putoris furo</latinName><name>Lector</name><age>5</age></animal></animals>"); } @@ -75,13 +75,13 @@ public final class JAXBGeneratorTestCase animals.add(animal); animals.add(animal); - this.internalAssert(new JAXBGenerator<List<Animal>>(animals) {}, + this.internalAssert(new GenericType<List<Animal>>(animals) {}, "<?xml version=\"1.0\" encoding=\"UTF-8\"?><animals><animal><call>Dook</call><colour>albino</colour><latinName>Mustela putoris furo</latinName><name>Lector</name><age>5</age></animal><animal><call>Dook</call><colour>albino</colour><latinName>Mustela putoris furo</latinName><name>Lector</name><age>5</age></animal></animals>"); } - private void internalAssert(JAXBGenerator<?> generator, String expected) throws Exception { + private void internalAssert(GenericType<?> genericType, String expected) throws Exception { Pipeline<SAXPipelineComponent> pipeline = new NonCachingPipeline<SAXPipelineComponent>(); - pipeline.addComponent(generator); + pipeline.addComponent(new JAXBGenerator(genericType)); pipeline.addComponent(new XMLSerializer()); ByteArrayOutputStream baos = new ByteArrayOutputStream();
From [email protected] Fri Jan 01 02:18:17 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4066 invoked from network); 1 Jan 2010 02:18:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Jan 2010 02:18:17 -0000 Received: (qmail 6178 invoked by uid 500); 1 Jan 2010 02:18:16 -0000 Delivered-To: [email protected] Received: (qmail 6106 invoked by uid 500); 1 Jan 2010 02:18:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6098 invoked by uid 99); 1 Jan 2010 02:18:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jan 2010 02:18:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jan 2010 02:18:14 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 52825234C045 for <[email protected]>; Thu, 31 Dec 2009 18:17:53 -0800 (PST) Message-ID: <{{EMAIL+PHONE}}> Date: Fri, 1 Jan 2010 02:17:53 +0000 (UTC) From: "Lauri Lehtinen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Issue Comment Edited: (WW-3363) Custom struts.multipart.parser is ignored as of 2.1.8 In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-3363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47202#action_47202 ] Lauri Lehtinen edited comment on WW-3363 at 1/1/10 2:16 AM: ------------------------------------------------------------ Here's what I found after looking into it a bit more: A new StrutsConstant STRUTS_MULTIPART_HANDLER was introduced in 2.1.8. The default value is set to "jakarta" in the struts-default.xml in 2.1.8 (line 49). If this value is not overridden, a custom value for STRUTS_MULTIPART_PARSER seems to be ignored due to how Dispatcher now works. The workaround that worked for me was to define the following in my struts.xml: <constant name="struts.multipart.parser" value="com.systemout.pdf.webapp.base.multipart.MonitoredMultiPartRequest" /> <constant name="struts.multipart.handler" value="com.systemout.pdf.webapp.base.multipart.MonitoredMultiPartRequest" /> Leaving either one out causes my handler/parser to not get used. I may not fully understand the difference between the handler and the parser, but for my purposes one of them seems redundant. In any case, I did not find any documentation regarding this change in the 2.1.6 -> 2.1.8 migration notes. was (Author: lehtinen): Here's what I found after looking into it a bit more: A new StrutsConstant STRUTS_MULTIPART_HANDLER was introduced in 2.1.8. The default value is set to "jakarta" in the struts-default.xml in 2.1.8 (line 49). If this value is not overridden, a custom value for STRUTS_MULTIPART_PARSER seems to be ignored due to how Dispatcher now works. The workaround that worked for me was to define the following in my struts.xml: <constant name="struts.multipart.parser" value="com.systemout.pdf.webapp.base.multipart.MonitoredMultiPartRequest" /> <constant name="struts.multipart.handler" value="com.systemout.pdf.webapp.base.multipart.MonitoredMultiPartRequest" /> Leaving either one out causes my handler/parser to not get used. I may not fully understand the difference between the handler and the parser, but for my purposes one of them seems redundant. In any case, I did not find any documentation regarding this change in the 2.1.8 release notes. > Custom struts.multipart.parser is ignored as of 2.1.8 > ----------------------------------------------------- > > Key: WW-3363 > URL: https://issues.apache.org/struts/browse/WW-3363 > Project: Struts 2 > Issue Type: Bug > Affects Versions: 2.1.8 > Reporter: Lauri Lehtinen > > This issue appears when I update my struts2 dependency from 2.1.6 to 2.1.8, and disappears when reverting. Here are some facts I've gathered so far: > In my struts.xml: > <constant name="struts.multipart.parser" value="com.systemout.pdf.webapp.base.multipart.MonitoredMultiPartRequest" /> > Tomcat startup: > ... > 09-12-31 13:36:54 DEBUG org.apache.struts2.config.BeanSelectionProvider - Choosing bean (class com.systemout.pdf.webapp.base.multipart.MonitoredMultiPartRequest) for interface org.apache.struts2.dispatcher.multipart.MultiPartRequest > ... > On file upload, debugging in org.apache.struts2.dispatcher.Dispatcher.java, after line 697 has been executed, multiNames contains: [default, jakarta, struts] and multipartHandlerName is set to "jakarta" > My custom MonitoredMultiPartRequest is never instantiated, instead, JakartaMultiPartRequest is used. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jan 01 15:59:06 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83042 invoked from network); 1 Jan 2010 15:59:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Jan 2010 15:59:06 -0000 Received: (qmail 41307 invoked by uid 500); 1 Jan 2010 15:59:05 -0000 Delivered-To: [email protected] Received: (qmail 41223 invoked by uid 500); 1 Jan 2010 15:59:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 41215 invoked by uid 99); 1 Jan 2010 15:59:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jan 2010 15:59:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jan 2010 15:59:03 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C29E3234C495 for <[email protected]>; Fri, 1 Jan 2010 07:58:43 -0800 (PST) Message-ID: <[email protected]> Date: Fri, 1 Jan 2010 15:58:43 +0000 (UTC) From: "Benjamin McCann (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-2754) Source code for GXP result In-Reply-To: <691618818.1218138985038.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 [ https://issues.apache.org/struts/browse/WW-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47210#action_47210 ] Benjamin McCann commented on WW-2754: ------------------------------------- Any update on getting this checked in? Thanks. > Source code for GXP result > --------------------------- > > Key: WW-2754 > URL: https://issues.apache.org/struts/browse/WW-2754 > Project: Struts 2 > Issue Type: Temp > Reporter: Musachy Barroso > Fix For: Future > > Attachments: gxp.webwork.tar.gz, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip > > > Thanks to the google and the GXP guys for sending us the code -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jan 01 23:19:13 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85587 invoked from network); 1 Jan 2010 23:19:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Jan 2010 23:19:12 -0000 Received: (qmail 2757 invoked by uid 500); 1 Jan 2010 23:19:11 -0000 Delivered-To: [email protected] Received: (qmail 2715 invoked by uid 500); 1 Jan 2010 23:19:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 2603 invoked by uid 99); 1 Jan 2010 23:19:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jan 2010 23:19:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jan 2010 23:19:05 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A3C97234C495 for <[email protected]>; Fri, 1 Jan 2010 15:18:43 -0800 (PST) Message-ID: <[email protected]> Date: Fri, 1 Jan 2010 23:18:43 +0000 (UTC) From: "Fagner Moura (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-3308) javassist trouble on JBoss 5.1 In-Reply-To: <28192814.1256920250503.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-3308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47211#action_47211 ] Fagner Moura commented on WW-3308: ---------------------------------- i remove dependency from struts2-core 2.1.8 and declare xwork-core 2.1.6 explicity, then works. :-) <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-core</artifactId> <version>161.129.204.104</version> <exclusions> <exclusion> <groupId>com.opensymphony</groupId> <artifactId>xwork-core</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.opensymphony</groupId> <artifactId>xwork-core</artifactId> <version>2.1.6</version> </dependency> > javassist trouble on JBoss 5.1 > ------------------------------ > > Key: WW-3308 > URL: https://issues.apache.org/struts/browse/WW-3308 > Project: Struts 2 > Issue Type: Bug > Components: Other > Affects Versions: 2.1.8 > Environment: JBoss 5.1 GA, Struts 2.1.8 > Reporter: Mykyta Kostovskyy > Assignee: Lukasz Lenart > Priority: Critical > > While deploying application that contains Struts 2.1.8 get the following error: > 17:28:34,437 ERROR [BasicLazyInitializer] Javassist Enhancement failed: hello.Message > java.lang.RuntimeException: java.lang.IllegalArgumentException: Can not set static javassist.util.proxy.MethodFilter field hello.Message_$$_javassist_14._method_filter to org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer$1 > at javassist.util.proxy.ProxyFactory.setField(ProxyFactory.java:358) > at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:341) > at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:314) > at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:273) > at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxyFactory(JavassistLazyInitializer.java:162) > at org.hibernate.proxy.pojo.javassist.JavassistProxyFactory.postInstantiate(JavassistProxyFactory.java:66) > at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:183) > at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:158) > at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:76) > at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEntityModeToTuplizerMapping.java:80) > at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:325) > at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:457) > at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:131) > at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:84) > at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:261) > at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327) > at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867) > at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669) > at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132) > at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:224) > at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:291) > at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369) > at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335) > at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473) > at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) > at java.security.AccessController.doPrivileged(Native Method) > at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) > at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) > at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) > at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) > at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) > at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) > at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423) > at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) > at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380) > at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255) > at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199) > at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) > at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910) > at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393) > at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310) > at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142) > at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461) > at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) > at org.jboss.web.deployers.WebModule.start(WebModule.java:97) > at sun.reflect.GeneratedMethodAccessor381.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) > at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) > at $Proxy38.start(Unknown Source) > at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) > at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37) > at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) > at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) > at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) > at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) > at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) > at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) > at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) > at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) > at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) > at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) > at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) > at org.jboss.system.ServiceController.doChange(ServiceController.java:688) > at org.jboss.system.ServiceController.start(ServiceController.java:460) > at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163) > at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99) > at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46) > at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) > at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) > at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) > at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) > at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) > at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178) > at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) > at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) > at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) > at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) > at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) > at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) > at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) > at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) > at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) > at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702) > at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) > at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:362) > at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) > at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:619) > Caused by: java.lang.IllegalArgumentException: Can not set static javassist.util.proxy.MethodFilter field hello.Message_$$_javassist_14._method_filter to org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer$1 > at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:146) > at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:150) > at sun.reflect.UnsafeStaticObjectFieldAccessorImpl.set(UnsafeStaticObjectFieldAccessorImpl.java:61) > at java.lang.reflect.Field.set(Field.java:657) > at javassist.util.proxy.ProxyFactory.setField(ProxyFactory.java:354) > ... 100 more > This is due to the fact, that xworks-core-2.1.6.jar that is a part of Struts 2.1.8 is delivered with javassist code inside, that conflicts with the one inside of JBoss. > Please help to resolve the problem, since Struts 2.1.8 does not work with previous versions of xworks. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jan 01 23:27:08 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87018 invoked from network); 1 Jan 2010 23:27:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Jan 2010 23:27:08 -0000 Received: (qmail 6448 invoked by uid 500); 1 Jan 2010 23:27:08 -0000 Delivered-To: [email protected] Received: (qmail 6374 invoked by uid 500); 1 Jan 2010 23:27:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6366 invoked by uid 99); 1 Jan 2010 23:27:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jan 2010 23:27:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jan 2010 23:27:05 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B02A7234C495 for <[email protected]>; Fri, 1 Jan 2010 15:26:43 -0800 (PST) Message-ID: <{{EMAIL+PHONE}}> Date: Fri, 1 Jan 2010 23:26:43 +0000 (UTC) From: "Fagner Moura (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Issue Comment Edited: (WW-3308) javassist trouble on JBoss 5.1 In-Reply-To: <28192814.1256920250503.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-3308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47211#action_47211 ] Fagner Moura edited comment on WW-3308 at 1/1/10 11:25 PM: ----------------------------------------------------------- i remove javassist package manually from xwork-core 2.1.6 then works. was (Author: fagnermoura): i remove dependency from struts2-core 2.1.8 and declare xwork-core 2.1.6 explicity, then works. :-) <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-core</artifactId> <version>161.129.204.104</version> <exclusions> <exclusion> <groupId>com.opensymphony</groupId> <artifactId>xwork-core</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.opensymphony</groupId> <artifactId>xwork-core</artifactId> <version>2.1.6</version> </dependency> > javassist trouble on JBoss 5.1 > ------------------------------ > > Key: WW-3308 > URL: https://issues.apache.org/struts/browse/WW-3308 > Project: Struts 2 > Issue Type: Bug > Components: Other > Affects Versions: 2.1.8 > Environment: JBoss 5.1 GA, Struts 2.1.8 > Reporter: Mykyta Kostovskyy > Assignee: Lukasz Lenart > Priority: Critical > > While deploying application that contains Struts 2.1.8 get the following error: > 17:28:34,437 ERROR [BasicLazyInitializer] Javassist Enhancement failed: hello.Message > java.lang.RuntimeException: java.lang.IllegalArgumentException: Can not set static javassist.util.proxy.MethodFilter field hello.Message_$$_javassist_14._method_filter to org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer$1 > at javassist.util.proxy.ProxyFactory.setField(ProxyFactory.java:358) > at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:341) > at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:314) > at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:273) > at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxyFactory(JavassistLazyInitializer.java:162) > at org.hibernate.proxy.pojo.javassist.JavassistProxyFactory.postInstantiate(JavassistProxyFactory.java:66) > at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:183) > at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:158) > at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:76) > at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEntityModeToTuplizerMapping.java:80) > at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:325) > at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:457) > at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:131) > at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:84) > at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:261) > at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327) > at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867) > at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669) > at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132) > at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:224) > at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:291) > at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369) > at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335) > at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473) > at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) > at java.security.AccessController.doPrivileged(Native Method) > at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) > at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) > at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) > at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) > at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) > at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) > at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423) > at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) > at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380) > at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255) > at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199) > at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) > at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910) > at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393) > at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310) > at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142) > at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461) > at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) > at org.jboss.web.deployers.WebModule.start(WebModule.java:97) > at sun.reflect.GeneratedMethodAccessor381.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) > at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) > at $Proxy38.start(Unknown Source) > at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) > at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37) > at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) > at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) > at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) > at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) > at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) > at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) > at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) > at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) > at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) > at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) > at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) > at org.jboss.system.ServiceController.doChange(ServiceController.java:688) > at org.jboss.system.ServiceController.start(ServiceController.java:460) > at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163) > at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99) > at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46) > at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) > at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) > at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) > at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) > at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) > at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178) > at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) > at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) > at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) > at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) > at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) > at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) > at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) > at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) > at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) > at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702) > at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) > at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:362) > at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) > at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:619) > Caused by: java.lang.IllegalArgumentException: Can not set static javassist.util.proxy.MethodFilter field hello.Message_$$_javassist_14._method_filter to org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer$1 > at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:146) > at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:150) > at sun.reflect.UnsafeStaticObjectFieldAccessorImpl.set(UnsafeStaticObjectFieldAccessorImpl.java:61) > at java.lang.reflect.Field.set(Field.java:657) > at javassist.util.proxy.ProxyFactory.setField(ProxyFactory.java:354) > ... 100 more > This is due to the fact, that xworks-core-2.1.6.jar that is a part of Struts 2.1.8 is delivered with javassist code inside, that conflicts with the one inside of JBoss. > Please help to resolve the problem, since Struts 2.1.8 does not work with previous versions of xworks. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jan 01 23:31:08 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88788 invoked from network); 1 Jan 2010 23:31:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Jan 2010 23:31:08 -0000 Received: (qmail 14444 invoked by uid 500); 1 Jan 2010 23:31:07 -0000 Delivered-To: [email protected] Received: (qmail 14372 invoked by uid 500); 1 Jan 2010 23:31:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 14364 invoked by uid 99); 1 Jan 2010 23:31:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jan 2010 23:31:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jan 2010 23:31:05 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 727F5234C1F1 for <[email protected]>; Fri, 1 Jan 2010 15:30:43 -0800 (PST) Message-ID: <[email protected]> Date: Fri, 1 Jan 2010 23:30:43 +0000 (UTC) From: "Fagner Moura (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Issue Comment Edited: (WW-3308) javassist trouble on JBoss 5.1 In-Reply-To: <28192814.1256920250503.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-3308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47211#action_47211 ] Fagner Moura edited comment on WW-3308 at 1/1/10 11:30 PM: ----------------------------------------------------------- i remove javassist and ongl package manually from xwork-core 2.1.6 then works. when a version will be released with this fixture? was (Author: fagnermoura): i remove javassist package manually from xwork-core 2.1.6 then works. > javassist trouble on JBoss 5.1 > ------------------------------ > > Key: WW-3308 > URL: https://issues.apache.org/struts/browse/WW-3308 > Project: Struts 2 > Issue Type: Bug > Components: Other > Affects Versions: 2.1.8 > Environment: JBoss 5.1 GA, Struts 2.1.8 > Reporter: Mykyta Kostovskyy > Assignee: Lukasz Lenart > Priority: Critical > > While deploying application that contains Struts 2.1.8 get the following error: > 17:28:34,437 ERROR [BasicLazyInitializer] Javassist Enhancement failed: hello.Message > java.lang.RuntimeException: java.lang.IllegalArgumentException: Can not set static javassist.util.proxy.MethodFilter field hello.Message_$$_javassist_14._method_filter to org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer$1 > at javassist.util.proxy.ProxyFactory.setField(ProxyFactory.java:358) > at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:341) > at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:314) > at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:273) > at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxyFactory(JavassistLazyInitializer.java:162) > at org.hibernate.proxy.pojo.javassist.JavassistProxyFactory.postInstantiate(JavassistProxyFactory.java:66) > at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:183) > at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:158) > at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:76) > at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEntityModeToTuplizerMapping.java:80) > at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:325) > at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:457) > at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:131) > at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:84) > at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:261) > at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327) > at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867) > at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669) > at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132) > at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:224) > at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:291) > at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369) > at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335) > at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473) > at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) > at java.security.AccessController.doPrivileged(Native Method) > at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) > at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) > at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) > at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) > at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) > at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) > at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423) > at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) > at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380) > at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255) > at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199) > at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) > at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910) > at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393) > at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310) > at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142) > at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461) > at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) > at org.jboss.web.deployers.WebModule.start(WebModule.java:97) > at sun.reflect.GeneratedMethodAccessor381.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) > at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) > at $Proxy38.start(Unknown Source) > at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) > at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37) > at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) > at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) > at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) > at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) > at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) > at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) > at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) > at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) > at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) > at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) > at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) > at org.jboss.system.ServiceController.doChange(ServiceController.java:688) > at org.jboss.system.ServiceController.start(ServiceController.java:460) > at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163) > at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99) > at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46) > at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) > at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) > at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) > at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) > at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) > at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178) > at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) > at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) > at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) > at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) > at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) > at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) > at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) > at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) > at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) > at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702) > at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) > at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:362) > at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) > at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:619) > Caused by: java.lang.IllegalArgumentException: Can not set static javassist.util.proxy.MethodFilter field hello.Message_$$_javassist_14._method_filter to org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer$1 > at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:146) > at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:150) > at sun.reflect.UnsafeStaticObjectFieldAccessorImpl.set(UnsafeStaticObjectFieldAccessorImpl.java:61) > at java.lang.reflect.Field.set(Field.java:657) > at javassist.util.proxy.ProxyFactory.setField(ProxyFactory.java:354) > ... 100 more > This is due to the fact, that xworks-core-2.1.6.jar that is a part of Struts 2.1.8 is delivered with javassist code inside, that conflicts with the one inside of JBoss. > Please help to resolve the problem, since Struts 2.1.8 does not work with previous versions of xworks. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jan 01 23:33:08 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89129 invoked from network); 1 Jan 2010 23:33:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Jan 2010 23:33:07 -0000 Received: (qmail 15739 invoked by uid 500); 1 Jan 2010 23:33:07 -0000 Delivered-To: [email protected] Received: (qmail 15690 invoked by uid 500); 1 Jan 2010 23:33:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 15682 invoked by uid 99); 1 Jan 2010 23:33:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jan 2010 23:33:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jan 2010 23:33:04 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id AC71C234C1F1 for <[email protected]>; Fri, 1 Jan 2010 15:32:43 -0800 (PST) Message-ID: <[email protected]> Date: Fri, 1 Jan 2010 23:32:43 +0000 (UTC) From: "Fagner Moura (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Issue Comment Edited: (WW-3308) javassist trouble on JBoss 5.1 In-Reply-To: <28192814.1256920250503.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-3308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47211#action_47211 ] Fagner Moura edited comment on WW-3308 at 1/1/10 11:31 PM: ----------------------------------------------------------- i remove javassist and ongl package manually from xwork-core 2.1.6 then works. when a version will be released with this fix? was (Author: fagnermoura): i remove javassist and ongl package manually from xwork-core 2.1.6 then works. when a version will be released with this fixture? > javassist trouble on JBoss 5.1 > ------------------------------ > > Key: WW-3308 > URL: https://issues.apache.org/struts/browse/WW-3308 > Project: Struts 2 > Issue Type: Bug > Components: Other > Affects Versions: 2.1.8 > Environment: JBoss 5.1 GA, Struts 2.1.8 > Reporter: Mykyta Kostovskyy > Assignee: Lukasz Lenart > Priority: Critical > > While deploying application that contains Struts 2.1.8 get the following error: > 17:28:34,437 ERROR [BasicLazyInitializer] Javassist Enhancement failed: hello.Message > java.lang.RuntimeException: java.lang.IllegalArgumentException: Can not set static javassist.util.proxy.MethodFilter field hello.Message_$$_javassist_14._method_filter to org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer$1 > at javassist.util.proxy.ProxyFactory.setField(ProxyFactory.java:358) > at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:341) > at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:314) > at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:273) > at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxyFactory(JavassistLazyInitializer.java:162) > at org.hibernate.proxy.pojo.javassist.JavassistProxyFactory.postInstantiate(JavassistProxyFactory.java:66) > at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:183) > at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:158) > at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:76) > at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEntityModeToTuplizerMapping.java:80) > at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:325) > at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:457) > at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:131) > at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:84) > at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:261) > at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327) > at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867) > at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669) > at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132) > at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:224) > at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:291) > at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369) > at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335) > at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473) > at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) > at java.security.AccessController.doPrivileged(Native Method) > at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) > at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) > at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) > at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) > at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) > at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) > at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423) > at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) > at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380) > at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255) > at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199) > at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) > at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910) > at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393) > at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310) > at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142) > at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461) > at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) > at org.jboss.web.deployers.WebModule.start(WebModule.java:97) > at sun.reflect.GeneratedMethodAccessor381.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) > at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) > at $Proxy38.start(Unknown Source) > at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) > at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37) > at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) > at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) > at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) > at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) > at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) > at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) > at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) > at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) > at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) > at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) > at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) > at org.jboss.system.ServiceController.doChange(ServiceController.java:688) > at org.jboss.system.ServiceController.start(ServiceController.java:460) > at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163) > at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99) > at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46) > at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) > at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) > at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) > at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) > at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) > at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178) > at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) > at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) > at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) > at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) > at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) > at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) > at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) > at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) > at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) > at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702) > at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) > at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:362) > at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) > at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:619) > Caused by: java.lang.IllegalArgumentException: Can not set static javassist.util.proxy.MethodFilter field hello.Message_$$_javassist_14._method_filter to org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer$1 > at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:146) > at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:150) > at sun.reflect.UnsafeStaticObjectFieldAccessorImpl.set(UnsafeStaticObjectFieldAccessorImpl.java:61) > at java.lang.reflect.Field.set(Field.java:657) > at javassist.util.proxy.ProxyFactory.setField(ProxyFactory.java:354) > ... 100 more > This is due to the fact, that xworks-core-2.1.6.jar that is a part of Struts 2.1.8 is delivered with javassist code inside, that conflicts with the one inside of JBoss. > Please help to resolve the problem, since Struts 2.1.8 does not work with previous versions of xworks. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sun Jan 03 07:40:06 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1096 invoked from network); 3 Jan 2010 07:40:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Jan 2010 07:40:05 -0000 Received: (qmail 7614 invoked by uid 500); 3 Jan 2010 07:40:05 -0000 Delivered-To: [email protected] Received: (qmail 7559 invoked by uid 500); 3 Jan 2010 07:40:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7548 invoked by uid 99); 3 Jan 2010 07:40:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jan 2010 07:40:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jan 2010 07:40:03 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id AB53A234C1F1 for <[email protected]>; Sat, 2 Jan 2010 23:39:43 -0800 (PST) Message-ID: <[email protected]> Date: Sun, 3 Jan 2010 07:39:43 +0000 (UTC) From: "Rahul Mohan (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (WW-3364) Using convertors in JSON serialization MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 Using convertors in JSON serialization -------------------------------------- Key: WW-3364 URL: https://issues.apache.org/struts/browse/WW-3364 Project: Struts 2 Issue Type: Improvement Affects Versions: 2.1.8 Reporter: Rahul Mohan The bundled JSON plugin does not use registered convertors for data conversion. This seriously affects the implementation of gracefully degrading ajax apps. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jan 04 08:57:20 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15231 invoked from network); 4 Jan 2010 07:24:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Jan 2010 07:24:09 -0000 Received: (qmail 68626 invoked by uid 500); 4 Jan 2010 07:24:09 -0000 Delivered-To: [email protected] Received: (qmail 68555 invoked by uid 500); 4 Jan 2010 07:24:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 68547 invoked by uid 99); 4 Jan 2010 07:24:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2010 07:24:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2010 07:24:06 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id BE0D9234C04C for <[email protected]>; Sun, 3 Jan 2010 23:23:44 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 4 Jan 2010 07:23:44 +0000 (UTC) From: "jession ji (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (WW-3365) There will be no log4j error message while it displays warning "The visited object is null, VisitorValidator will not be able to handle validation properly. Please make sure the visited object is not null for VisitorValidator to function properly" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org There will be no log4j error message while it displays warning "The visited object is null, VisitorValidator will not be able to handle validation properly. Please make sure the visited object is not null for VisitorValidator to function properly" ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Key: WW-3365 URL: https://issues.apache.org/struts/browse/WW-3365 Project: Struts 2 Issue Type: Bug Components: Core Interceptors Affects Versions: 2.1.2 Environment: Tomcat 6.0 + Struts 2.1.2 Reporter: jession ji We use log4j debug in all validator methods to get the detail for illegal input. And we found that there will might be no log4j log and a waring on tomcat server "The visited object is null, VisitorValidator will not be able to handle validation properly. Please make sure the visited object is not null for VisitorValidator to function properly". It will be OK after we restart tomcat server. This issue can not be found every time. Could anyone give me some advice? public void validate(Object object) throws ValidationException { String fieldName = getFieldName(); String val = (String) getFieldValue(fieldName, object); wbxLogger.logInfo("Field:" + fieldName + " &Value:" + val); if (val == null || val.length() <= 0) { // use a required validator for these return; } try { val = UTF8ValidateUtil.getUTFString(val); }catch (UnsupportedEncodingException e){ return; } if (doTrim) { val = val.trim(); if (val.length() <= 0) { // use a required validator return; } } if ((minLength > -1) && (val.length() < minLength)) { addFieldError(fieldName, object); } else if ((maxLength > -1) && (val.length() > maxLength)) { wbxLogger.logError("Input validation max length checking failure:"+fieldName); addFieldError(fieldName, object); } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jan 04 08:57:37 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15373 invoked from network); 4 Jan 2010 07:30:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Jan 2010 07:30:13 -0000 Received: (qmail 71779 invoked by uid 500); 4 Jan 2010 07:30:12 -0000 Delivered-To: [email protected] Received: (qmail 71727 invoked by uid 500); 4 Jan 2010 07:30:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71719 invoked by uid 99); 4 Jan 2010 07:30:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2010 07:30:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2010 07:30:09 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id BB0DE234C04C for <[email protected]>; Sun, 3 Jan 2010 23:29:46 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 4 Jan 2010 07:29:46 +0000 (UTC) From: "jession ji (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (WW-3365) There will be no log4j error message while it displays warning "The visited object is null, VisitorValidator will not be able to handle validation properly. Please make sure the visited object is not null for VisitorValidator to function properly" In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-3365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jession ji updated WW-3365: --------------------------- Description: We use log4j debug in all validator methods to get the detail for illegal input. And we found that there will might be no log4j log and a waring on tomcat server "The visited object is null, VisitorValidator will not be able to handle validation properly. Please make sure the visited object is not null for VisitorValidator to function properly". It will be OK after we restart tomcat server. This issue can not be found every time. Could anyone give me some advice? public void validate(Object object) throws ValidationException { String fieldName = getFieldName(); String val = (String) getFieldValue(fieldName, object); log.logInfo("Field:" + fieldName + " &Value:" + val); if ((minLength > -1) && (val.length() < minLength)) { addFieldError(fieldName, object); } else if ((maxLength > -1) && (val.length() > maxLength)) { log.logError("Input validation max length checking failure:"+fieldName); addFieldError(fieldName, object); } was: We use log4j debug in all validator methods to get the detail for illegal input. And we found that there will might be no log4j log and a waring on tomcat server "The visited object is null, VisitorValidator will not be able to handle validation properly. Please make sure the visited object is not null for VisitorValidator to function properly". It will be OK after we restart tomcat server. This issue can not be found every time. Could anyone give me some advice? public void validate(Object object) throws ValidationException { String fieldName = getFieldName(); String val = (String) getFieldValue(fieldName, object); wbxLogger.logInfo("Field:" + fieldName + " &Value:" + val); if (val == null || val.length() <= 0) { // use a required validator for these return; } try { val = UTF8ValidateUtil.getUTFString(val); }catch (UnsupportedEncodingException e){ return; } if (doTrim) { val = val.trim(); if (val.length() <= 0) { // use a required validator return; } } if ((minLength > -1) && (val.length() < minLength)) { addFieldError(fieldName, object); } else if ((maxLength > -1) && (val.length() > maxLength)) { wbxLogger.logError("Input validation max length checking failure:"+fieldName); addFieldError(fieldName, object); } > There will be no log4j error message while it displays warning "The visited object is null, VisitorValidator will not be able to handle validation properly. Please make sure the visited object is not null for VisitorValidator to function properly" > ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: WW-3365 > URL: https://issues.apache.org/struts/browse/WW-3365 > Project: Struts 2 > Issue Type: Bug > Components: Core Interceptors > Affects Versions: 2.1.2 > Environment: Tomcat 6.0 + Struts 2.1.2 > Reporter: jession ji > > We use log4j debug in all validator methods to get the detail for illegal input. And we found that there will might be no log4j log and a waring on tomcat server "The visited object is null, VisitorValidator will not be able to handle validation properly. Please make sure the visited object is not null for VisitorValidator to function properly". It will be OK after we restart tomcat server. This issue can not be found every time. Could anyone give me some advice? > public void validate(Object object) throws ValidationException { > String fieldName = getFieldName(); > String val = (String) getFieldValue(fieldName, object); > log.logInfo("Field:" + fieldName + " &Value:" + val); > if ((minLength > -1) && (val.length() < minLength)) { > addFieldError(fieldName, object); > } else if ((maxLength > -1) && (val.length() > maxLength)) { > log.logError("Input validation max length checking failure:"+fieldName); > addFieldError(fieldName, object); > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jan 04 18:32:07 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20822 invoked from network); 4 Jan 2010 18:32:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Jan 2010 18:32:07 -0000 Received: (qmail 60508 invoked by uid 500); 4 Jan 2010 18:32:07 -0000 Delivered-To: [email protected] Received: (qmail 60430 invoked by uid 500); 4 Jan 2010 18:32:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 60422 invoked by uid 99); 4 Jan 2010 18:32:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2010 18:32:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2010 18:32:04 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B7A6229A0012 for <[email protected]>; Mon, 4 Jan 2010 10:31:43 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 4 Jan 2010 18:31:43 +0000 (UTC) From: "Wes Wannemacher (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-3363) Custom struts.multipart.parser is ignored as of 2.1.8 In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-3363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47212#action_47212 ] Wes Wannemacher commented on WW-3363: ------------------------------------- Yea, that was a change added to 2.1.8. I think that all that you need to to is the following - (create a bean that implements the MultiPartRequest interface and configure it -) <bean type="org.apache.struts2.dispatcher.multipart.MultiPartRequest" name="upload-plugin" class="org.apache.struts2.fileupload.EnhancedJakartaMultiPartRequest"/> (change the constant so that the dispatcher uses your bean -) <constant name="struts.multipart.handler" value="upload-plugin"/> I am going to change this bug so that it reflects that we need documentation. > Custom struts.multipart.parser is ignored as of 2.1.8 > ----------------------------------------------------- > > Key: WW-3363 > URL: https://issues.apache.org/struts/browse/WW-3363 > Project: Struts 2 > Issue Type: Bug > Affects Versions: 2.1.8 > Reporter: Lauri Lehtinen > > This issue appears when I update my struts2 dependency from 2.1.6 to 2.1.8, and disappears when reverting. Here are some facts I've gathered so far: > In my struts.xml: > <constant name="struts.multipart.parser" value="com.systemout.pdf.webapp.base.multipart.MonitoredMultiPartRequest" /> > Tomcat startup: > ... > 09-12-31 13:36:54 DEBUG org.apache.struts2.config.BeanSelectionProvider - Choosing bean (class com.systemout.pdf.webapp.base.multipart.MonitoredMultiPartRequest) for interface org.apache.struts2.dispatcher.multipart.MultiPartRequest > ... > On file upload, debugging in org.apache.struts2.dispatcher.Dispatcher.java, after line 697 has been executed, multiNames contains: [default, jakarta, struts] and multipartHandlerName is set to "jakarta" > My custom MonitoredMultiPartRequest is never instantiated, instead, JakartaMultiPartRequest is used. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jan 04 18:34:06 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27871 invoked from network); 4 Jan 2010 18:34:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Jan 2010 18:34:05 -0000 Received: (qmail 63069 invoked by uid 500); 4 Jan 2010 18:34:05 -0000 Delivered-To: [email protected] Received: (qmail 62982 invoked by uid 500); 4 Jan 2010 18:34:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 62974 invoked by uid 99); 4 Jan 2010 18:34:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2010 18:34:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2010 18:34:04 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A6DAE29A0012 for <[email protected]>; Mon, 4 Jan 2010 10:33:44 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 4 Jan 2010 18:33:44 +0000 (UTC) From: "Wes Wannemacher (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (WW-3363) MultiPartRequest documentation needs updated per 2.1.8 enhancements In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 [ https://issues.apache.org/struts/browse/WW-3363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wes Wannemacher updated WW-3363: -------------------------------- Component/s: Documentation Summary: MultiPartRequest documentation needs updated per 2.1.8 enhancements (was: Custom struts.multipart.parser is ignored as of 2.1.8) Updating issue to reflect necessary documentation updates > MultiPartRequest documentation needs updated per 2.1.8 enhancements > ------------------------------------------------------------------- > > Key: WW-3363 > URL: https://issues.apache.org/struts/browse/WW-3363 > Project: Struts 2 > Issue Type: Bug > Components: Documentation > Affects Versions: 2.1.8 > Reporter: Lauri Lehtinen > > This issue appears when I update my struts2 dependency from 2.1.6 to 2.1.8, and disappears when reverting. Here are some facts I've gathered so far: > In my struts.xml: > <constant name="struts.multipart.parser" value="com.systemout.pdf.webapp.base.multipart.MonitoredMultiPartRequest" /> > Tomcat startup: > ... > 09-12-31 13:36:54 DEBUG org.apache.struts2.config.BeanSelectionProvider - Choosing bean (class com.systemout.pdf.webapp.base.multipart.MonitoredMultiPartRequest) for interface org.apache.struts2.dispatcher.multipart.MultiPartRequest > ... > On file upload, debugging in org.apache.struts2.dispatcher.Dispatcher.java, after line 697 has been executed, multiNames contains: [default, jakarta, struts] and multipartHandlerName is set to "jakarta" > My custom MonitoredMultiPartRequest is never instantiated, instead, JakartaMultiPartRequest is used. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 05 11:18:14 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69985 invoked from network); 5 Jan 2010 11:18:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Jan 2010 11:18:14 -0000 Received: (qmail 86189 invoked by uid 500); 5 Jan 2010 11:18:14 -0000 Delivered-To: [email protected] Received: (qmail 86113 invoked by uid 500); 5 Jan 2010 11:18:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 86105 invoked by uid 99); 5 Jan 2010 11:18:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jan 2010 11:18:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jan 2010 11:18:04 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C97B3234C1E9 for <[email protected]>; Tue, 5 Jan 2010 03:17:43 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 5 Jan 2010 11:17:43 +0000 (UTC) From: =?UTF-8?Q?Antonio_S=C3=A1nchez_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Created: (WW-3366) Documentarion error for maven archetype in 161.129.204.104 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org Documentarion error for maven archetype in 161.129.204.104 -------------------------------------------------- Key: WW-3366 URL: https://issues.apache.org/struts/browse/WW-3366 Project: Struts 2 Issue Type: Bug Components: Documentation Affects Versions: 2.1.8 Environment: Apache Maven 2.2.1 (rdebian-1) Java version: 1.6.0_16 Java home: /usr/lib/jvm/java-6-sun-161.129.204.104/jre Default locale: es_ES, platform encoding: UTF-8 OS name: "linux" version: "2.6.31-16-generic" arch: "i386" Family: "unix" Reporter: Antonio S=C3=A1nchez Documentation page: http://struts.apache.org/2.x/docs/struts-2-maven-archetypes.html#Struts2Mav= enArchetypes-CreatinganApplicationUsingaMavenArchetype States: mvn archetype:generate -B \ -DgroupId=3Dtutorial \ -DartifactId=3Dtutorial \ -DarchetypeGroupId=3Dorg.apache.struts \ -DarchetypeArtifactId=3Dstruts2-archetype-blank \ -DarchetypeVersion=3D161.129.204.104 But fails: ... [WARNING] No archetype repository found. Falling back to central repository= (http://repo1.maven.org/maven2).=20 [WARNING] Use -DarchetypeRepository=3D<your repository> if archetype's repo= sitory is elsewhere. Downloading: http://repo1.maven.org/maven2/org/apache/struts/struts2-archet= ype-blank/161.129.204.104/struts2-archetype-blank-161.129.204.104.jar [INFO] Unable to find resource 'org.apache.struts:struts2-archetype-blank:j= ar:161.129.204.104' in repository struts2-archetype-blank-repo (http://repo1.maven.= org/maven2) Downloading: http://repo1.maven.org/maven2/org/apache/struts/struts2-archet= ype-blank/161.129.204.104/struts2-archetype-blank-161.129.204.104.jar [INFO] Unable to find resource 'org.apache.struts:struts2-archetype-blank:j= ar:161.129.204.104' in repository central (http://repo1.maven.org/maven2) [INFO] --------------------------------------------------------------------= ---- [ERROR] BUILD FAILURE [INFO] --------------------------------------------------------------------= ---- [INFO] The desired archetype does not exist (org.apache.struts:struts2-arch= etype-blank:161.129.204.104) ... Related to bug: WW-3141 My comments: 1. Include maven archetypes for the corresponding version in each struts2 r= elease, I mean, maven stuff should be in the release checklist: do not rele= ase until the corresponding maven stuff is developed, tested and uploaded t= o maven repositories. 2, Anyway, if it is valid to use a different archetype <version>, state it = as part of the documentation. For instance, state tha version "-DarchetypeV= ersion=3D161.129.204.104" (or whatever) will also work for 161.129.204.104 (or whatever). = This is useful to developers not familiar to maven. Maven archetypes usage should be devoted more attention, they can be very u= seful specially if we bear in mind that struts2 ide plugins are not support= ed in struts2 project (but maybe I'm wrong). --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 05 11:40:09 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75664 invoked from network); 5 Jan 2010 11:40:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Jan 2010 11:40:09 -0000 Received: (qmail 14033 invoked by uid 500); 5 Jan 2010 11:40:08 -0000 Delivered-To: [email protected] Received: (qmail 14011 invoked by uid 500); 5 Jan 2010 11:40:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 14003 invoked by uid 99); 5 Jan 2010 11:40:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jan 2010 11:40:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jan 2010 11:40:06 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 30AD0234C04C for <[email protected]>; Tue, 5 Jan 2010 03:39:45 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 5 Jan 2010 11:39:45 +0000 (UTC) From: =?UTF-8?Q?Antonio_S=C3=A1nchez_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Created: (WW-3367) Involve in IDE support for Struts2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org Involve in IDE support for Struts2 ---------------------------------- Key: WW-3367 URL: https://issues.apache.org/struts/browse/WW-3367 Project: Struts 2 Issue Type: New Feature Components: Other Affects Versions: Future Environment: N/A Reporter: Antonio S=C3=A1nchez I believe that productivity is decisive when the time comes for choosing an= d using any application framework. IDEs greatly improves productivity. I'm just evaluating struts2 by now and I use Netbeans. I have found that th= e only struts2 plugin for NB is not officially supported by the struts2 pro= ject (maybe I'm wrong). This plugin is not bad but It may be improved and i= t may take time to make it compatible with the latest releases of the IDE. As a product evaluator it would provide a lot of confidence to me if there = were some kind of official involvement between IDE project and framework pr= oject in order to have both framework and IDE releases synchronized. This cooperation could at least be considered for the most popular ides, li= ke NetBeans and Eclipse. I strongly believe this would be a very important point in decision making = (for both framework and ide). --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 05 11:54:15 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83707 invoked from network); 5 Jan 2010 11:54:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Jan 2010 11:54:15 -0000 Received: (qmail 37304 invoked by uid 500); 5 Jan 2010 11:54:14 -0000 Delivered-To: [email protected] Received: (qmail 37259 invoked by uid 500); 5 Jan 2010 11:54:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 37251 invoked by uid 99); 5 Jan 2010 11:54:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jan 2010 11:54:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jan 2010 11:54:05 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 40651234C04C for <[email protected]>; Tue, 5 Jan 2010 03:53:44 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 5 Jan 2010 11:53:44 +0000 (UTC) From: "Lukasz Lenart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-3366) Documentarion error for maven archetype in 161.129.204.104 In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-3366?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D47214= #action_47214 ]=20 Lukasz Lenart commented on WW-3366: ----------------------------------- Archetypes are ready to be released - the vote is in progress You can try to use staging repo as below mvn archetype:generate -DarchetypeCatalog=3Dhttp://people.apache.org/builds= /struts/161.129.204.104/m2-staging-repository/ Regards -- Lukasz > Documentarion error for maven archetype in 161.129.204.104 > -------------------------------------------------- > > Key: WW-3366 > URL: https://issues.apache.org/struts/browse/WW-3366 > Project: Struts 2 > Issue Type: Bug > Components: Documentation > Affects Versions: 2.1.8 > Environment: Apache Maven 2.2.1 (rdebian-1) > Java version: 1.6.0_16 > Java home: /usr/lib/jvm/java-6-sun-161.129.204.104/jre > Default locale: es_ES, platform encoding: UTF-8 > OS name: "linux" version: "2.6.31-16-generic" arch: "i386" Family: "unix" > Reporter: Antonio S=C3=A1nchez > > Documentation page: > http://struts.apache.org/2.x/docs/struts-2-maven-archetypes.html#Struts2M= avenArchetypes-CreatinganApplicationUsingaMavenArchetype > States: > mvn archetype:generate -B \ > -DgroupId=3Dtutorial \ > -DartifactId=3Dtutorial \ > -DarchetypeGroupId=3Dorg.apache.struts \ > -DarchetypeArtifactId=3Dstruts2-archetype-blank \ > -DarchetypeVersion=3D161.129.204.104 > But fails: > ... > [WARNING] No archetype repository found. Falling back to central reposito= ry (http://repo1.maven.org/maven2).=20 > [WARNING] Use -DarchetypeRepository=3D<your repository> if archetype's re= pository is elsewhere. > Downloading: http://repo1.maven.org/maven2/org/apache/struts/struts2-arch= etype-blank/161.129.204.104/struts2-archetype-blank-161.129.204.104.jar > [INFO] Unable to find resource 'org.apache.struts:struts2-archetype-blank= :jar:161.129.204.104' in repository struts2-archetype-blank-repo (http://repo1.mave= n.org/maven2) > Downloading: http://repo1.maven.org/maven2/org/apache/struts/struts2-arch= etype-blank/161.129.204.104/struts2-archetype-blank-161.129.204.104.jar > [INFO] Unable to find resource 'org.apache.struts:struts2-archetype-blank= :jar:161.129.204.104' in repository central (http://repo1.maven.org/maven2) > [INFO] ------------------------------------------------------------------= ------ > [ERROR] BUILD FAILURE > [INFO] ------------------------------------------------------------------= ------ > [INFO] The desired archetype does not exist (org.apache.struts:struts2-ar= chetype-blank:161.129.204.104) > ... > Related to bug: WW-3141 > My comments: > 1. Include maven archetypes for the corresponding version in each struts2= release, I mean, maven stuff should be in the release checklist: do not re= lease until the corresponding maven stuff is developed, tested and uploaded= to maven repositories. > 2, Anyway, if it is valid to use a different archetype <version>, state i= t as part of the documentation. For instance, state tha version "-Darchetyp= eVersion=3D161.129.204.104" (or whatever) will also work for 161.129.204.104 (or whatever)= . This is useful to developers not familiar to maven. > Maven archetypes usage should be devoted more attention, they can be very= useful specially if we bear in mind that struts2 ide plugins are not suppo= rted in struts2 project (but maybe I'm wrong). --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 05 12:57:13 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7333 invoked from network); 5 Jan 2010 12:57:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Jan 2010 12:57:13 -0000 Received: (qmail 5532 invoked by uid 500); 5 Jan 2010 12:57:12 -0000 Delivered-To: [email protected] Received: (qmail 5448 invoked by uid 500); 5 Jan 2010 12:57:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 5440 invoked by uid 99); 5 Jan 2010 12:57:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jan 2010 12:57:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jan 2010 12:57:05 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id DC058234C04C for <[email protected]>; Tue, 5 Jan 2010 04:56:44 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 5 Jan 2010 12:56:44 +0000 (UTC) From: =?UTF-8?Q?Antonio_S=C3=A1nchez_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-3366) Documentarion error for maven archetype in 161.129.204.104 In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 [ https://issues.apache.org/struts/browse/WW-3366?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D47215= #action_47215 ]=20 Antonio S=C3=A1nchez commented on WW-3366: ------------------------------------- Lukasz: In order to be considered the final comments in the report: should I reques= t an Enhancement for them? > Documentarion error for maven archetype in 161.129.204.104 > -------------------------------------------------- > > Key: WW-3366 > URL: https://issues.apache.org/struts/browse/WW-3366 > Project: Struts 2 > Issue Type: Bug > Components: Documentation > Affects Versions: 2.1.8 > Environment: Apache Maven 2.2.1 (rdebian-1) > Java version: 1.6.0_16 > Java home: /usr/lib/jvm/java-6-sun-161.129.204.104/jre > Default locale: es_ES, platform encoding: UTF-8 > OS name: "linux" version: "2.6.31-16-generic" arch: "i386" Family: "unix" > Reporter: Antonio S=C3=A1nchez > > Documentation page: > http://struts.apache.org/2.x/docs/struts-2-maven-archetypes.html#Struts2M= avenArchetypes-CreatinganApplicationUsingaMavenArchetype > States: > mvn archetype:generate -B \ > -DgroupId=3Dtutorial \ > -DartifactId=3Dtutorial \ > -DarchetypeGroupId=3Dorg.apache.struts \ > -DarchetypeArtifactId=3Dstruts2-archetype-blank \ > -DarchetypeVersion=3D161.129.204.104 > But fails: > ... > [WARNING] No archetype repository found. Falling back to central reposito= ry (http://repo1.maven.org/maven2).=20 > [WARNING] Use -DarchetypeRepository=3D<your repository> if archetype's re= pository is elsewhere. > Downloading: http://repo1.maven.org/maven2/org/apache/struts/struts2-arch= etype-blank/161.129.204.104/struts2-archetype-blank-161.129.204.104.jar > [INFO] Unable to find resource 'org.apache.struts:struts2-archetype-blank= :jar:161.129.204.104' in repository struts2-archetype-blank-repo (http://repo1.mave= n.org/maven2) > Downloading: http://repo1.maven.org/maven2/org/apache/struts/struts2-arch= etype-blank/161.129.204.104/struts2-archetype-blank-161.129.204.104.jar > [INFO] Unable to find resource 'org.apache.struts:struts2-archetype-blank= :jar:161.129.204.104' in repository central (http://repo1.maven.org/maven2) > [INFO] ------------------------------------------------------------------= ------ > [ERROR] BUILD FAILURE > [INFO] ------------------------------------------------------------------= ------ > [INFO] The desired archetype does not exist (org.apache.struts:struts2-ar= chetype-blank:161.129.204.104) > ... > Related to bug: WW-3141 > My comments: > 1. Include maven archetypes for the corresponding version in each struts2= release, I mean, maven stuff should be in the release checklist: do not re= lease until the corresponding maven stuff is developed, tested and uploaded= to maven repositories. > 2, Anyway, if it is valid to use a different archetype <version>, state i= t as part of the documentation. For instance, state tha version "-Darchetyp= eVersion=3D161.129.204.104" (or whatever) will also work for 161.129.204.104 (or whatever)= . This is useful to developers not familiar to maven. > Maven archetypes usage should be devoted more attention, they can be very= useful specially if we bear in mind that struts2 ide plugins are not suppo= rted in struts2 project (but maybe I'm wrong). --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 05 17:51:07 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28509 invoked from network); 5 Jan 2010 17:51:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Jan 2010 17:51:06 -0000 Received: (qmail 84675 invoked by uid 500); 5 Jan 2010 17:51:06 -0000 Delivered-To: [email protected] Received: (qmail 84600 invoked by uid 500); 5 Jan 2010 17:51:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84591 invoked by uid 99); 5 Jan 2010 17:51:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jan 2010 17:51:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jan 2010 17:51:05 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 1D1A4234C04C for <[email protected]>; Tue, 5 Jan 2010 09:50:44 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 5 Jan 2010 17:50:44 +0000 (UTC) From: "David Mc (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (WW-3368) ConventionUnknownHandler doesn't play nicely with rest plugin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 ConventionUnknownHandler doesn't play nicely with rest plugin ------------------------------------------------------------- Key: WW-3368 URL: https://issues.apache.org/struts/browse/WW-3368 Project: Struts 2 Issue Type: Bug Components: Plugin - Convention, Plugin - REST Affects Versions: 2.1.8 Reporter: David Mc Priority: Minor ConventionUnknownHandler's handleUnknownActionMethod() always throws a NoSuchMethodException which does not play nicely with the REST plugin. The REST plugin will take urls such as /x/y/z and try and call a z() method on the action. If no such method exists, the desired behavior should be a 404 and not an error. My codebase has a second UnknownHandler implementation that takes care of the 404, but because the ConventionUnknownHandler throws an error rather than returning null, it never gets a chance to execute. The behavior that ConventionUnknownHandler should follow is to return null and allow any other registered handlers have a shot at dealing with the missing method. I have created a local patch with this change, and it works correctly. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 05 17:53:08 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29341 invoked from network); 5 Jan 2010 17:53:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Jan 2010 17:53:08 -0000 Received: (qmail 86203 invoked by uid 500); 5 Jan 2010 17:53:07 -0000 Delivered-To: [email protected] Received: (qmail 86171 invoked by uid 500); 5 Jan 2010 17:53:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 86163 invoked by uid 99); 5 Jan 2010 17:53:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jan 2010 17:53:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jan 2010 17:53:05 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 95CE8234C04C for <[email protected]>; Tue, 5 Jan 2010 09:52:43 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 5 Jan 2010 17:52:43 +0000 (UTC) From: "David Mc (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-3368) ConventionUnknownHandler doesn't play nicely with rest plugin In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-3368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47216#action_47216 ] David Mc commented on WW-3368: ------------------------------ In case it isn't obvious, here is the patch to src/plugins/convention/src/main/java/org/apache/struts2/convention/ConventionUnknownHandler.java 412c412 < throw new NoSuchMethodException(); --- > return null; > ConventionUnknownHandler doesn't play nicely with rest plugin > ------------------------------------------------------------- > > Key: WW-3368 > URL: https://issues.apache.org/struts/browse/WW-3368 > Project: Struts 2 > Issue Type: Bug > Components: Plugin - Convention, Plugin - REST > Affects Versions: 2.1.8 > Reporter: David Mc > Priority: Minor > > ConventionUnknownHandler's handleUnknownActionMethod() always throws a NoSuchMethodException which does not play nicely with the REST plugin. The REST plugin will take urls such as /x/y/z and try and call a z() method on the action. If no such method exists, the desired behavior should be a 404 and not an error. My codebase has a second UnknownHandler implementation that takes care of the 404, but because the ConventionUnknownHandler throws an error rather than returning null, it never gets a chance to execute. The behavior that ConventionUnknownHandler should follow is to return null and allow any other registered handlers have a shot at dealing with the missing method. I have created a local patch with this change, and it works correctly. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 05 17:59:12 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30879 invoked from network); 5 Jan 2010 17:59:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Jan 2010 17:59:11 -0000 Received: (qmail 88461 invoked by uid 500); 5 Jan 2010 17:59:11 -0000 Delivered-To: [email protected] Received: (qmail 88405 invoked by uid 500); 5 Jan 2010 17:59:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 88397 invoked by uid 99); 5 Jan 2010 17:59:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jan 2010 17:59:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jan 2010 17:59:04 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 78973234C04C for <[email protected]>; Tue, 5 Jan 2010 09:58:43 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 5 Jan 2010 17:58:43 +0000 (UTC) From: "Lukasz Lenart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (WW-3368) ConventionUnknownHandler doesn't play nicely with rest plugin In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-3368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart resolved WW-3368. ------------------------------- Resolution: Fixed Fix Version/s: 2.2.x Assignee: Lukasz Lenart Solved, thanks for the patch! Regards -- Lukasz > ConventionUnknownHandler doesn't play nicely with rest plugin > ------------------------------------------------------------- > > Key: WW-3368 > URL: https://issues.apache.org/struts/browse/WW-3368 > Project: Struts 2 > Issue Type: Bug > Components: Plugin - Convention, Plugin - REST > Affects Versions: 2.1.8 > Reporter: David Mc > Assignee: Lukasz Lenart > Priority: Minor > Fix For: 2.2.x > > > ConventionUnknownHandler's handleUnknownActionMethod() always throws a NoSuchMethodException which does not play nicely with the REST plugin. The REST plugin will take urls such as /x/y/z and try and call a z() method on the action. If no such method exists, the desired behavior should be a 404 and not an error. My codebase has a second UnknownHandler implementation that takes care of the 404, but because the ConventionUnknownHandler throws an error rather than returning null, it never gets a chance to execute. The behavior that ConventionUnknownHandler should follow is to return null and allow any other registered handlers have a shot at dealing with the missing method. I have created a local patch with this change, and it works correctly. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jan 06 06:57:06 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83895 invoked from network); 6 Jan 2010 06:57:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Jan 2010 06:57:06 -0000 Received: (qmail 84197 invoked by uid 500); 6 Jan 2010 06:57:06 -0000 Delivered-To: [email protected] Received: (qmail 84133 invoked by uid 500); 6 Jan 2010 06:57:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84125 invoked by uid 99); 6 Jan 2010 06:57:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2010 06:57:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2010 06:57:05 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id F0A54234C052 for <[email protected]>; Tue, 5 Jan 2010 22:56:44 -0800 (PST) Message-ID: <[email protected]> Date: Wed, 6 Jan 2010 06:56:44 +0000 (UTC) From: "Iwasa Kazmi (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (WW-3369) bad link on "Version Notes 161.129.204.104" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 bad link on "Version Notes 161.129.204.104" ----------------------------------- Key: WW-3369 URL: https://issues.apache.org/struts/browse/WW-3369 Project: Struts 2 Issue Type: Bug Components: Documentation Affects Versions: 161.129.204.104 Reporter: Iwasa Kazmi Priority: Minor In http://struts.apache.org/161.129.204.104/docs/version-notes-2181.html , Issue List -> "Struts 2.1.9 TODO" has bad URL. ("hhttps://...") -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jan 06 07:19:07 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87188 invoked from network); 6 Jan 2010 07:19:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Jan 2010 07:19:07 -0000 Received: (qmail 92317 invoked by uid 500); 6 Jan 2010 07:19:06 -0000 Delivered-To: [email protected] Received: (qmail 92254 invoked by uid 500); 6 Jan 2010 07:19:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 92246 invoked by uid 99); 6 Jan 2010 07:19:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2010 07:19:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2010 07:19:04 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 7F421234C04C for <[email protected]>; Tue, 5 Jan 2010 23:18:43 -0800 (PST) Message-ID: <[email protected]> Date: Wed, 6 Jan 2010 07:18:43 +0000 (UTC) From: "Lukasz Lenart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (WW-3369) bad link on "Version Notes 161.129.204.104" In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-3369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart resolved WW-3369. ------------------------------- Resolution: Fixed Fix Version/s: 2.2.0 Assignee: Lukasz Lenart Solved, thanks for reporting. As this page is created during release, you can check it here http://cwiki.apache.org/confluence/display/WW/Version+Notes+161.129.204.104 Regards -- Lukasz > bad link on "Version Notes 161.129.204.104" > ----------------------------------- > > Key: WW-3369 > URL: https://issues.apache.org/struts/browse/WW-3369 > Project: Struts 2 > Issue Type: Bug > Components: Documentation > Affects Versions: 161.129.204.104 > Reporter: Iwasa Kazmi > Assignee: Lukasz Lenart > Priority: Minor > Fix For: 2.2.0 > > > In http://struts.apache.org/161.129.204.104/docs/version-notes-2181.html , > Issue List -> "Struts 2.1.9 TODO" has bad URL. > ("hhttps://...") -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jan 06 07:23:08 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87600 invoked from network); 6 Jan 2010 07:23:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Jan 2010 07:23:08 -0000 Received: (qmail 95336 invoked by uid 500); 6 Jan 2010 07:23:07 -0000 Delivered-To: [email protected] Received: (qmail 95277 invoked by uid 500); 6 Jan 2010 07:23:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 95269 invoked by uid 99); 6 Jan 2010 07:23:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2010 07:23:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2010 07:23:05 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 7F2ED234C04C for <[email protected]>; Tue, 5 Jan 2010 23:22:43 -0800 (PST) Message-ID: <[email protected]> Date: Wed, 6 Jan 2010 07:22:43 +0000 (UTC) From: "Lukasz Lenart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (WW-3308) javassist trouble on JBoss 5.1 In-Reply-To: <28192814.1256920250503.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-3308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart resolved WW-3308. ------------------------------- Resolution: Fixed Fix Version/s: 2.2.0 As soon as Xwork will be moved into right place in Struts2 project ;-) Xwork is now part of Struts2. Regards -- Lukasz > javassist trouble on JBoss 5.1 > ------------------------------ > > Key: WW-3308 > URL: https://issues.apache.org/struts/browse/WW-3308 > Project: Struts 2 > Issue Type: Bug > Components: Other > Affects Versions: 2.1.8 > Environment: JBoss 5.1 GA, Struts 2.1.8 > Reporter: Mykyta Kostovskyy > Assignee: Lukasz Lenart > Priority: Critical > Fix For: 2.2.0 > > > While deploying application that contains Struts 2.1.8 get the following error: > 17:28:34,437 ERROR [BasicLazyInitializer] Javassist Enhancement failed: hello.Message > java.lang.RuntimeException: java.lang.IllegalArgumentException: Can not set static javassist.util.proxy.MethodFilter field hello.Message_$$_javassist_14._method_filter to org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer$1 > at javassist.util.proxy.ProxyFactory.setField(ProxyFactory.java:358) > at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:341) > at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:314) > at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:273) > at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxyFactory(JavassistLazyInitializer.java:162) > at org.hibernate.proxy.pojo.javassist.JavassistProxyFactory.postInstantiate(JavassistProxyFactory.java:66) > at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:183) > at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:158) > at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:76) > at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEntityModeToTuplizerMapping.java:80) > at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:325) > at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:457) > at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:131) > at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:84) > at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:261) > at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327) > at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867) > at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669) > at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132) > at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:224) > at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:291) > at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369) > at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335) > at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473) > at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) > at java.security.AccessController.doPrivileged(Native Method) > at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) > at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) > at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) > at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) > at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) > at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) > at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423) > at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) > at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380) > at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255) > at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199) > at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) > at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910) > at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393) > at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310) > at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142) > at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461) > at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) > at org.jboss.web.deployers.WebModule.start(WebModule.java:97) > at sun.reflect.GeneratedMethodAccessor381.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) > at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) > at $Proxy38.start(Unknown Source) > at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) > at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37) > at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) > at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) > at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) > at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) > at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) > at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) > at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) > at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) > at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) > at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) > at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) > at org.jboss.system.ServiceController.doChange(ServiceController.java:688) > at org.jboss.system.ServiceController.start(ServiceController.java:460) > at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163) > at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99) > at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46) > at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) > at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) > at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) > at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) > at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) > at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178) > at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) > at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) > at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) > at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) > at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) > at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) > at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) > at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) > at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) > at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702) > at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) > at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:362) > at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) > at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:619) > Caused by: java.lang.IllegalArgumentException: Can not set static javassist.util.proxy.MethodFilter field hello.Message_$$_javassist_14._method_filter to org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer$1 > at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:146) > at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:150) > at sun.reflect.UnsafeStaticObjectFieldAccessorImpl.set(UnsafeStaticObjectFieldAccessorImpl.java:61) > at java.lang.reflect.Field.set(Field.java:657) > at javassist.util.proxy.ProxyFactory.setField(ProxyFactory.java:354) > ... 100 more > This is due to the fact, that xworks-core-2.1.6.jar that is a part of Struts 2.1.8 is delivered with javassist code inside, that conflicts with the one inside of JBoss. > Please help to resolve the problem, since Struts 2.1.8 does not work with previous versions of xworks. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jan 06 08:48:05 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2455 invoked from network); 6 Jan 2010 08:48:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Jan 2010 08:48:05 -0000 Received: (qmail 54612 invoked by uid 500); 6 Jan 2010 08:48:05 -0000 Delivered-To: [email protected] Received: (qmail 54549 invoked by uid 500); 6 Jan 2010 08:48:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 54541 invoked by uid 99); 6 Jan 2010 08:48:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2010 08:48:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2010 08:48:04 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id EBC64234C4A9 for <[email protected]>; Wed, 6 Jan 2010 00:47:43 -0800 (PST) Message-ID: <[email protected]> Date: Wed, 6 Jan 2010 08:47:43 +0000 (UTC) From: "Lukasz Lenart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-2167) Memory leak when app stopped In-Reply-To: <19598828.1189451676206.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 [ https://issues.apache.org/struts/browse/WW-2167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47220#action_47220 ] Lukasz Lenart commented on WW-2167: ----------------------------------- I investigated the code and the issue can be closed. Using the new filters will solve the problem either integration with Sitemesh or without Sitemesh. Regards -- Lukasz > Memory leak when app stopped > ---------------------------- > > Key: WW-2167 > URL: https://issues.apache.org/struts/browse/WW-2167 > Project: Struts 2 > Issue Type: Bug > Affects Versions: 2.0.9 > Environment: WebSphere 161.129.204.104 (non-network deploy) on Windows XP Professional > java version "1.5.0" > Java(TM) 2 Runtime Environment, Standard Edition (build pwi32devifx-20070608 (SR5+IY99712)) > IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223-20070426 (JIT enabled) > J9VM - 20070420_12448_lHdSMR > JIT - 20070419_1806_r8 > GC - 200704_19) > JCL - 20070608 > Reporter: Adam Crume > Fix For: 2.1.9 > > Attachments: ActionContextReleasingFilterDispatcher.java, FilterDispatcher_leak-fix.java, log_leak.png > > > Struts 2 somehow prevents the app's classes from being garbage collected when the application is stopped or undeployed. > I created a barebones Struts 2 app with an action with the following code: > private static final Object x = new Object() { > { > System.out.println("================== Object created: " + hashCode() + " ==================="); > } > protected void finalize() throws Throwable { > System.out.println("**************** Object finalized: " + hashCode() + " *********************"); > }; > }; > Because of this static field, a message should be printed when the class is initialized and when it is garbage collected. "Object created" would be printed out whenever I went to the action for the first time, but restarting the app never printed "Object finalized." This is not an issue with garbage collection in my web container because doing the same thing with a servlet resulted in both messages being printed. > One problem is that the FilterDispatcher.init() method sets a ThreadLocal but never clears it. I fixed that by adding ActionContext.setContext(null); to the end of the init() method, but that didn't solve the larger problem. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jan 06 08:50:05 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2678 invoked from network); 6 Jan 2010 08:50:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Jan 2010 08:50:05 -0000 Received: (qmail 55237 invoked by uid 500); 6 Jan 2010 08:50:04 -0000 Delivered-To: [email protected] Received: (qmail 55175 invoked by uid 500); 6 Jan 2010 08:50:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55167 invoked by uid 99); 6 Jan 2010 08:50:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2010 08:50:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2010 08:50:03 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C134E234C4AA for <[email protected]>; Wed, 6 Jan 2010 00:49:43 -0800 (PST) Message-ID: <[email protected]> Date: Wed, 6 Jan 2010 08:49:43 +0000 (UTC) From: "Lukasz Lenart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (WW-2167) Memory leak when app stopped In-Reply-To: <19598828.1189451676206.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 [ https://issues.apache.org/struts/browse/WW-2167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart closed WW-2167. ----------------------------- Resolution: Fixed Fix Version/s: (was: 2.1.9) 161.129.204.104 Already solved > Memory leak when app stopped > ---------------------------- > > Key: WW-2167 > URL: https://issues.apache.org/struts/browse/WW-2167 > Project: Struts 2 > Issue Type: Bug > Affects Versions: 2.0.9 > Environment: WebSphere 161.129.204.104 (non-network deploy) on Windows XP Professional > java version "1.5.0" > Java(TM) 2 Runtime Environment, Standard Edition (build pwi32devifx-20070608 (SR5+IY99712)) > IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223-20070426 (JIT enabled) > J9VM - 20070420_12448_lHdSMR > JIT - 20070419_1806_r8 > GC - 200704_19) > JCL - 20070608 > Reporter: Adam Crume > Fix For: 161.129.204.104 > > Attachments: ActionContextReleasingFilterDispatcher.java, FilterDispatcher_leak-fix.java, log_leak.png > > > Struts 2 somehow prevents the app's classes from being garbage collected when the application is stopped or undeployed. > I created a barebones Struts 2 app with an action with the following code: > private static final Object x = new Object() { > { > System.out.println("================== Object created: " + hashCode() + " ==================="); > } > protected void finalize() throws Throwable { > System.out.println("**************** Object finalized: " + hashCode() + " *********************"); > }; > }; > Because of this static field, a message should be printed when the class is initialized and when it is garbage collected. "Object created" would be printed out whenever I went to the action for the first time, but restarting the app never printed "Object finalized." This is not an issue with garbage collection in my web container because doing the same thing with a servlet resulted in both messages being printed. > One problem is that the FilterDispatcher.init() method sets a ThreadLocal but never clears it. I fixed that by adding ActionContext.setContext(null); to the end of the init() method, but that didn't solve the larger problem. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jan 06 09:54:14 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24825 invoked from network); 6 Jan 2010 09:54:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Jan 2010 09:54:14 -0000 Received: (qmail 23432 invoked by uid 500); 6 Jan 2010 09:54:14 -0000 Delivered-To: [email protected] Received: (qmail 23370 invoked by uid 500); 6 Jan 2010 09:54:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23362 invoked by uid 99); 6 Jan 2010 09:54:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2010 09:54:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2010 09:54:05 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B9D9E234C04C for <[email protected]>; Wed, 6 Jan 2010 01:53:43 -0800 (PST) Message-ID: <[email protected]> Date: Wed, 6 Jan 2010 09:53:43 +0000 (UTC) From: "Lukasz Lenart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-3366) Documentarion error for maven archetype in 161.129.204.104 In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-3366?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D47222= #action_47222 ]=20 Lukasz Lenart commented on WW-3366: ----------------------------------- Ad.1 Yes, you are right and I will try to move Struts2 archetypes inside Struts2= project to be a submodule and included in release process of whole project Ad.2 It isn't so obvious but there were only few archetypes released so far, so = it will be better to put a list of available versions of archetypes Regards -- Lukasz > Documentarion error for maven archetype in 161.129.204.104 > -------------------------------------------------- > > Key: WW-3366 > URL: https://issues.apache.org/struts/browse/WW-3366 > Project: Struts 2 > Issue Type: Bug > Components: Documentation > Affects Versions: 2.1.8 > Environment: Apache Maven 2.2.1 (rdebian-1) > Java version: 1.6.0_16 > Java home: /usr/lib/jvm/java-6-sun-161.129.204.104/jre > Default locale: es_ES, platform encoding: UTF-8 > OS name: "linux" version: "2.6.31-16-generic" arch: "i386" Family: "unix" > Reporter: Antonio S=C3=A1nchez > > Documentation page: > http://struts.apache.org/2.x/docs/struts-2-maven-archetypes.html#Struts2M= avenArchetypes-CreatinganApplicationUsingaMavenArchetype > States: > mvn archetype:generate -B \ > -DgroupId=3Dtutorial \ > -DartifactId=3Dtutorial \ > -DarchetypeGroupId=3Dorg.apache.struts \ > -DarchetypeArtifactId=3Dstruts2-archetype-blank \ > -DarchetypeVersion=3D161.129.204.104 > But fails: > ... > [WARNING] No archetype repository found. Falling back to central reposito= ry (http://repo1.maven.org/maven2).=20 > [WARNING] Use -DarchetypeRepository=3D<your repository> if archetype's re= pository is elsewhere. > Downloading: http://repo1.maven.org/maven2/org/apache/struts/struts2-arch= etype-blank/161.129.204.104/struts2-archetype-blank-161.129.204.104.jar > [INFO] Unable to find resource 'org.apache.struts:struts2-archetype-blank= :jar:161.129.204.104' in repository struts2-archetype-blank-repo (http://repo1.mave= n.org/maven2) > Downloading: http://repo1.maven.org/maven2/org/apache/struts/struts2-arch= etype-blank/161.129.204.104/struts2-archetype-blank-161.129.204.104.jar > [INFO] Unable to find resource 'org.apache.struts:struts2-archetype-blank= :jar:161.129.204.104' in repository central (http://repo1.maven.org/maven2) > [INFO] ------------------------------------------------------------------= ------ > [ERROR] BUILD FAILURE > [INFO] ------------------------------------------------------------------= ------ > [INFO] The desired archetype does not exist (org.apache.struts:struts2-ar= chetype-blank:161.129.204.104) > ... > Related to bug: WW-3141 > My comments: > 1. Include maven archetypes for the corresponding version in each struts2= release, I mean, maven stuff should be in the release checklist: do not re= lease until the corresponding maven stuff is developed, tested and uploaded= to maven repositories. > 2, Anyway, if it is valid to use a different archetype <version>, state i= t as part of the documentation. For instance, state tha version "-Darchetyp= eVersion=3D161.129.204.104" (or whatever) will also work for 161.129.204.104 (or whatever)= . This is useful to developers not familiar to maven. > Maven archetypes usage should be devoted more attention, they can be very= useful specially if we bear in mind that struts2 ide plugins are not suppo= rted in struts2 project (but maybe I'm wrong). --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jan 06 10:30:08 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39921 invoked from network); 6 Jan 2010 10:30:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Jan 2010 10:30:08 -0000 Received: (qmail 58579 invoked by uid 500); 6 Jan 2010 10:30:07 -0000 Delivered-To: [email protected] Received: (qmail 58503 invoked by uid 500); 6 Jan 2010 10:30:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58495 invoked by uid 99); 6 Jan 2010 10:30:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2010 10:30:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2010 10:30:05 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 430B9234C04C for <[email protected]>; Wed, 6 Jan 2010 02:29:44 -0800 (PST) Message-ID: <[email protected]> Date: Wed, 6 Jan 2010 10:29:44 +0000 (UTC) From: "Iwasa Kazmi (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (WW-3355) s:form tag render action URL with query string incorrectly In-Reply-To: <1868210769.1260715062571.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-3355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Iwasa Kazmi updated WW-3355: ---------------------------- Attachment: DefaultActionMapper.java.diff Here is my patch to resolve this problem. Currently, the return value of the orig.getExtension() overrides the return value of the getDefaultExtension(). So if the requested URI had no extension, the new extension will be null. (and query-string will not be added) I modified so that the default extension ("action") will be added if the requested URI had no extension. But it may causes compatibility issue. > s:form tag render action URL with query string incorrectly > ---------------------------------------------------------- > > Key: WW-3355 > URL: https://issues.apache.org/struts/browse/WW-3355 > Project: Struts 2 > Issue Type: Bug > Components: Plugin - Tags > Affects Versions: 2.1.8 > Reporter: Iwasa Kazmi > Attachments: DefaultActionMapper.java.diff > > > Normally, > <s:form action="%{'Simple?a=123&b=234'}"> > would be rendered as: > <form action="/mysite/Simple.action?a=123&amp;b=234" ... > > But if the ".action" suffix is omitted in the request URL, > (e.g. http://localhost/mysite/Simple ) > it will be rendered as: > <form action="/mysite/Simple" ... > > The query string is not appended. > In org.apache.struts2.dispatcher.mapper.DefaultActionMapper#getUriFromActionMapping(), > query string is appended only in case that the extension is provided. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jan 06 10:54:07 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51011 invoked from network); 6 Jan 2010 10:54:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Jan 2010 10:54:07 -0000 Received: (qmail 81785 invoked by uid 500); 6 Jan 2010 10:54:06 -0000 Delivered-To: [email protected] Received: (qmail 81722 invoked by uid 500); 6 Jan 2010 10:54:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81714 invoked by uid 99); 6 Jan 2010 10:54:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2010 10:54:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2010 10:54:04 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A20E8234C1E9 for <[email protected]>; Wed, 6 Jan 2010 02:53:43 -0800 (PST) Message-ID: <[email protected]> Date: Wed, 6 Jan 2010 10:53:43 +0000 (UTC) From: "Lukasz Lenart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (WW-3355) s:form tag render action URL with query string incorrectly In-Reply-To: <1868210769.1260715062571.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-3355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart updated WW-3355: ------------------------------ Attachment: DefaultActionMapper-WW-3355.patch > s:form tag render action URL with query string incorrectly > ---------------------------------------------------------- > > Key: WW-3355 > URL: https://issues.apache.org/struts/browse/WW-3355 > Project: Struts 2 > Issue Type: Bug > Components: Plugin - Tags > Affects Versions: 2.1.8 > Reporter: Iwasa Kazmi > Attachments: DefaultActionMapper-WW-3355.patch, DefaultActionMapper.java.diff > > > Normally, > <s:form action="%{'Simple?a=123&b=234'}"> > would be rendered as: > <form action="/mysite/Simple.action?a=123&amp;b=234" ... > > But if the ".action" suffix is omitted in the request URL, > (e.g. http://localhost/mysite/Simple ) > it will be rendered as: > <form action="/mysite/Simple" ... > > The query string is not appended. > In org.apache.struts2.dispatcher.mapper.DefaultActionMapper#getUriFromActionMapping(), > query string is appended only in case that the extension is provided. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jan 06 10:54:07 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51055 invoked from network); 6 Jan 2010 10:54:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Jan 2010 10:54:07 -0000 Received: (qmail 82046 invoked by uid 500); 6 Jan 2010 10:54:07 -0000 Delivered-To: [email protected] Received: (qmail 81981 invoked by uid 500); 6 Jan 2010 10:54:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81816 invoked by uid 99); 6 Jan 2010 10:54:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2010 10:54:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2010 10:54:04 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 93DD3234C04C for <[email protected]>; Wed, 6 Jan 2010 02:53:43 -0800 (PST) Message-ID: <[email protected]> Date: Wed, 6 Jan 2010 10:53:43 +0000 (UTC) From: "Lukasz Lenart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-3355) s:form tag render action URL with query string incorrectly In-Reply-To: <1868210769.1260715062571.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-3355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47224#action_47224 ] Lukasz Lenart commented on WW-3355: ----------------------------------- I checked it and if you specify empty extension like this struts.action.extension= you will get the same problem again. Maybe it will be better to move params.length() > 0 ... outside extension checking condition? right now: if (extension != null) { if (extension.length() == 0 || (extension.length() > 0 && uri.indexOf('.' + extension) == -1)) { if (extension.length() > 0) { uri.append(".").append(extension); } if (params.length() > 0) { uri.append(params); } } } after: if (extension != null) { if (extension.length() == 0 || (extension.length() > 0 && uri.indexOf('.' + extension) == -1)) { if (extension.length() > 0) { uri.append(".").append(extension); } } } if (params.length() > 0) { uri.append(params); } Patch provided Regards -- Lukasz > s:form tag render action URL with query string incorrectly > ---------------------------------------------------------- > > Key: WW-3355 > URL: https://issues.apache.org/struts/browse/WW-3355 > Project: Struts 2 > Issue Type: Bug > Components: Plugin - Tags > Affects Versions: 2.1.8 > Reporter: Iwasa Kazmi > Attachments: DefaultActionMapper-WW-3355.patch, DefaultActionMapper.java.diff > > > Normally, > <s:form action="%{'Simple?a=123&b=234'}"> > would be rendered as: > <form action="/mysite/Simple.action?a=123&amp;b=234" ... > > But if the ".action" suffix is omitted in the request URL, > (e.g. http://localhost/mysite/Simple ) > it will be rendered as: > <form action="/mysite/Simple" ... > > The query string is not appended. > In org.apache.struts2.dispatcher.mapper.DefaultActionMapper#getUriFromActionMapping(), > query string is appended only in case that the extension is provided. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jan 06 13:36:08 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10090 invoked from network); 6 Jan 2010 13:36:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Jan 2010 13:36:08 -0000 Received: (qmail 91607 invoked by uid 500); 6 Jan 2010 13:36:07 -0000 Delivered-To: [email protected] Received: (qmail 91560 invoked by uid 500); 6 Jan 2010 13:36:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 91552 invoked by uid 99); 6 Jan 2010 13:36:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2010 13:36:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2010 13:36:05 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id EA371234C4AA for <[email protected]>; Wed, 6 Jan 2010 05:35:44 -0800 (PST) Message-ID: <[email protected]> Date: Wed, 6 Jan 2010 13:35:44 +0000 (UTC) From: "Denis Cabasson (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-2128) Upgrade to OGNL 2.7 In-Reply-To: <14836309.1187810915155.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-2128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47225#action_47225 ] Denis Cabasson commented on WW-2128: ------------------------------------ Is this ticket still opened? It seems to have been actually applied, as struts 161.129.204.104 is shipping with the new version of ognl (2.7.3). > Upgrade to OGNL 2.7 > ------------------- > > Key: WW-2128 > URL: https://issues.apache.org/struts/browse/WW-2128 > Project: Struts 2 > Issue Type: Improvement > Affects Versions: 2.1.0 > Reporter: James Holmes > Assignee: Rainer Hermanns > Fix For: 2.2.x > > Attachments: ognl27-support.patch > > > Upgrade the Struts 2 dependency on OGNL from 2.6.11 to 2.7. > Note that this ticket is for a simple JAR upgrade and does not encompass updating any code to take advantage of the performance enhancements available in OGNL 2.7. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jan 07 09:15:05 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97200 invoked from network); 7 Jan 2010 09:15:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Jan 2010 09:15:05 -0000 Received: (qmail 91784 invoked by uid 500); 7 Jan 2010 09:15:05 -0000 Delivered-To: [email protected] Received: (qmail 91702 invoked by uid 500); 7 Jan 2010 09:15:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 91694 invoked by uid 99); 7 Jan 2010 09:15:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jan 2010 09:15:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jan 2010 09:15:04 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D0957234C052 for <[email protected]>; Thu, 7 Jan 2010 01:14:43 -0800 (PST) Message-ID: <[email protected]> Date: Thu, 7 Jan 2010 09:14:43 +0000 (UTC) From: "beowulf2005 (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (WW-3370) Attribute "disabled" of dojo anchor, dojo submit doesn't work! MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 Attribute "disabled" of dojo anchor, dojo submit doesn't work! -------------------------------------------------------------- Key: WW-3370 URL: https://issues.apache.org/struts/browse/WW-3370 Project: Struts 2 Issue Type: Bug Components: Plugin - Dojo Tags Reporter: beowulf2005 Attribute "disabled" of dojo anchor, dojo submit doesn't work! <sx:submit disabled="true" ...other attr.../> does not work under firefox 3. <sx:submit disabled="disabled" ...other attr.../>, <sx:submit disabled="'true'" ...other attr.../> and <sx:submit disabled="'disabled'" ...other attr.../> don't work too. The same case happens also on <sx:a />. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jan 07 10:46:50 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38464 invoked from network); 7 Jan 2010 10:46:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Jan 2010 10:46:50 -0000 Received: (qmail 98719 invoked by uid 500); 7 Jan 2010 10:46:49 -0000 Delivered-To: [email protected] Received: (qmail 98660 invoked by uid 500); 7 Jan 2010 10:46:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 98652 invoked by uid 99); 7 Jan 2010 10:46:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jan 2010 10:46:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jan 2010 10:46:48 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B727C234C1E9 for <[email protected]>; Thu, 7 Jan 2010 02:46:28 -0800 (PST) Message-ID: <[email protected]> Date: Thu, 7 Jan 2010 10:46:28 +0000 (UTC) From: "Lukasz Lenart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (WW-3370) Attribute "disabled" of dojo anchor, dojo submit doesn't work! In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 [ https://issues.apache.org/struts/browse/WW-3370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart closed WW-3370. ----------------------------- Resolution: Won't Fix Assignee: Lukasz Lenart Dojo plugin is deprecated, if you want you can provide a patch or switch to other AJAX framework eg. jQuery Regards -- Lukasz > Attribute "disabled" of dojo anchor, dojo submit doesn't work! > -------------------------------------------------------------- > > Key: WW-3370 > URL: https://issues.apache.org/struts/browse/WW-3370 > Project: Struts 2 > Issue Type: Bug > Components: Plugin - Dojo Tags > Reporter: beowulf2005 > Assignee: Lukasz Lenart > > Attribute "disabled" of dojo anchor, dojo submit doesn't work! > <sx:submit disabled="true" ...other attr.../> does not work under firefox 3. > <sx:submit disabled="disabled" ...other attr.../>, <sx:submit disabled="'true'" ...other attr.../> and <sx:submit disabled="'disabled'" ...other attr.../> don't work too. > The same case happens also on <sx:a />. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jan 08 04:49:09 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76554 invoked from network); 8 Jan 2010 04:49:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Jan 2010 04:49:09 -0000 Received: (qmail 48925 invoked by uid 500); 8 Jan 2010 04:49:08 -0000 Delivered-To: [email protected] Received: (qmail 48870 invoked by uid 500); 8 Jan 2010 04:49:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48862 invoked by uid 99); 8 Jan 2010 04:49:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jan 2010 04:49:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jan 2010 04:49:07 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C128F234C052 for <[email protected]>; Thu, 7 Jan 2010 20:48:46 -0800 (PST) Message-ID: <[email protected]> Date: Fri, 8 Jan 2010 04:48:46 +0000 (UTC) From: "zhouyanming (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-3330) <@s.action> broken in sitemesh freemarker decorator page In-Reply-To: <90677255.1258272914422.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 [ https://issues.apache.org/struts/browse/WW-3330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47227#action_47227 ] zhouyanming commented on WW-3330: --------------------------------- finally I find a solution 1.add a few lines code to org.apache.struts2.views.freemarker.FreemarkerResult.preTemplateProcess(Template template, TemplateModel model) if(ServletActionContext.getRequest().getAttribute(StrutsStatics.STRUTS_ACTION_TAG_INVOCATION) != null){ response.setContentType(null); //trigger com.opensymphony.module.sitemesh.filter.PageResponseWrapper.deactivateSiteMesh() return true; } 2.refactor code in com.opensymphony.module.sitemesh.filter.PageResponseWrapper.setContentType(String type) public void setContentType(String type) { boolean deactivate = false; if (type != null) { super.setContentType(type); HttpContentType httpContentType = new HttpContentType(type); if (parserSelector.shouldParsePage(httpContentType.getType())) { activateSiteMesh(httpContentType.getType(), httpContentType.getEncoding()); } else { deactivate = true; } }else{ deactivate = true; } if(deactivate) deactivateSiteMesh(); } this solution have such restriction 1.must hack sitemesh 2.response.setContentType(null); is incompatibility with non-sitemesh app,it will override previous ContentType. Is there any perfect solution to trigger deactivateSiteMesh? > <@s.action> broken in sitemesh freemarker decorator page > -------------------------------------------------------- > > Key: WW-3330 > URL: https://issues.apache.org/struts/browse/WW-3330 > Project: Struts 2 > Issue Type: Bug > Components: Plugin - SiteMesh > Reporter: zhouyanming > Assignee: Musachy Barroso > Priority: Blocker > Fix For: 2.2.0 > > > broken since this patch https://issues.apache.org/struts/browse/WW-3291 > <div id="left"><@s.action name="left" executeResult="true" /></div> > <div id="content">${body}</div> > <div id="right"><@s.action name="right" executeResult="true" /></div> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jan 11 07:34:09 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80668 invoked from network); 11 Jan 2010 07:34:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Jan 2010 07:34:09 -0000 Received: (qmail 68422 invoked by uid 500); 11 Jan 2010 07:34:08 -0000 Delivered-To: [email protected] Received: (qmail 68373 invoked by uid 500); 11 Jan 2010 07:34:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 68365 invoked by uid 99); 11 Jan 2010 07:34:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2010 07:34:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2010 07:34:05 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 959A1234C1EE for <[email protected]>; Sun, 10 Jan 2010 23:33:44 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 11 Jan 2010 07:33:44 +0000 (UTC) From: "Hemrajsinh (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (WW-3371) Problem in redirecting action in struts.xml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org Problem in redirecting action in struts.xml ------------------------------------------- Key: WW-3371 URL: https://issues.apache.org/struts/browse/WW-3371 Project: Struts 2 Issue Type: Bug Components: Core Actions Affects Versions: 2.1.6 Environment: OS acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b Windows XP SP2 Iacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b MyEclipse 5.1 J2EE 1.4 jdk 1.6 tomcat 6.0 Reporter: Hemrajsinh Priority: Blocker I found one problem when i was using "redirect" action in Struts2. My Struts.xml file is as follow>>>> <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd"> <struts> <package name="default" extends="struts-default"> <action name="logIn"> <result>userLogin.jsp</result> </action> <action name="addUser"> <result>addUser.jsp</result> </action> <action name="manageUser" method="display" class="pck.ManageUser"> <result name="success">manageUser.jsp</result> </action> <action name="deleteUser" class="pck.ManageUser" method="deleteUser"> <result name="success" type="redirect">manageUser</result> </action> <action name="userVerify" class="pck.UserLoginAction" method="execute"> <result name="success">WelcomeUser.jsp</result> </action> <action name="AddUserAction" class="pck.AddUserAction"> <result name="success">firstPg.jsp</result> </action> <action name="UpdateUser" class="pck.ManageUser" method="updateOrSave"> <result name="updated" type="redirect">manageUser</result> </action> <action name="editUser" method="displayForUpdate" class="pck.ManageUser"> <result>updateUser.jsp</result> </action> <action name="deleteUser" method="deleteUser" class="pck.ManageUser"> <result name="deleteSuccess" type="redirect"> ManageUser.jsp </result> </action> </package> </struts> when i am using this file in my application tomcat gives following error>>> type Status report message No result defined for action pck.ManageUser and result success description The requested resource (No result defined for action pck.ManageUser and result success) is not available. And after many trials i found one solution for this problem. I just made one minor change in struts.xml file. I cut the action <action name="deleteUser" class="pck.ManageUser" method="deleteUser"> <result name="success" type="redirect">manageUser</result> </action> and paste it at the end, which is as followacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b Mdified struts.xml is>>>>> <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd"> <struts> <package name="default" extends="struts-default"> <action name="logIn"> <result>userLogin.jsp</result> </action> <action name="addUser"> <result>addUser.jsp</result> </action> <action name="manageUser" method="display" class="pck.ManageUser"> <result name="success">manageUser.jsp</result> </action> <action name="userVerify" class="pck.UserLoginAction" method="execute"> <result name="success">WelcomeUser.jsp</result> </action> <action name="AddUserAction" class="pck.AddUserAction"> <result name="success">firstPg.jsp</result> </action> <action name="UpdateUser" class="pck.ManageUser" method="updateOrSave"> <result name="updated" type="redirect">manageUser</result> </action> <action name="editUser" method="displayForUpdate" class="pck.ManageUser"> <result>updateUser.jsp</result> </action> <action name="deleteUser" method="deleteUser" class="pck.ManageUser"> <result name="deleteSuccess" type="redirect"> ManageUser.jsp </result> </action> <action name="deleteUser" class="pck.ManageUser" method="deleteUser"> <result name="success" type="redirect">manageUser</result> </action> </package> </struts> Is this a problem of struts2? I don't know about this. I am just a beginner in Struts. If You find any solution please let me know. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jan 11 08:30:09 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92374 invoked from network); 11 Jan 2010 08:30:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Jan 2010 08:30:08 -0000 Received: (qmail 14328 invoked by uid 500); 11 Jan 2010 08:30:08 -0000 Delivered-To: [email protected] Received: (qmail 14278 invoked by uid 500); 11 Jan 2010 08:30:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 14270 invoked by uid 99); 11 Jan 2010 08:30:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2010 08:30:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2010 08:30:05 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 279AA234C1EE for <[email protected]>; Mon, 11 Jan 2010 00:29:44 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 11 Jan 2010 08:29:44 +0000 (UTC) From: "Lukasz Lenart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (WW-3371) Problem in redirecting action in struts.xml In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-3371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart closed WW-3371. ----------------------------- Resolution: Not A Problem Assignee: Lukasz Lenart Please ask question on Struts User Group [1] instead filling bug report. You can also check documentation first [2] [3] , 'redirect' result is used to redirect to web resource not to anther action [1] http://struts.apache.org/mail.html [2] http://struts.apache.org/2.x/docs/result-types.html [3] http://struts.apache.org/2.x/docs/redirect-action-result.html Regards -- Lukasz > Problem in redirecting action in struts.xml > ------------------------------------------- > > Key: WW-3371 > URL: https://issues.apache.org/struts/browse/WW-3371 > Project: Struts 2 > Issue Type: Bug > Components: Core Actions > Affects Versions: 2.1.6 > Environment: OS acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b Windows XP SP2 > Iacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b MyEclipse 5.1 > J2EE 1.4 > jdk 1.6 > tomcat 6.0 > Reporter: Hemrajsinh > Assignee: Lukasz Lenart > Priority: Blocker > > I found one problem when i was using "redirect" action in Struts2. > My Struts.xml file is as follow>>>> > <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" > "http://struts.apache.org/dtds/struts-2.0.dtd"> > <struts> > <package name="default" extends="struts-default"> > <action name="logIn"> > <result>userLogin.jsp</result> > </action> > <action name="addUser"> > <result>addUser.jsp</result> > </action> > <action name="manageUser" method="display" > class="pck.ManageUser"> > <result name="success">manageUser.jsp</result> > </action> > <action name="deleteUser" class="pck.ManageUser" > method="deleteUser"> > <result name="success" type="redirect">manageUser</result> > </action> > <action name="userVerify" class="pck.UserLoginAction" > method="execute"> > <result name="success">WelcomeUser.jsp</result> > </action> > <action name="AddUserAction" class="pck.AddUserAction"> > <result name="success">firstPg.jsp</result> > </action> > <action name="UpdateUser" class="pck.ManageUser" > method="updateOrSave"> > <result name="updated" type="redirect">manageUser</result> > </action> > <action name="editUser" method="displayForUpdate" > class="pck.ManageUser"> > <result>updateUser.jsp</result> > </action> > <action name="deleteUser" method="deleteUser" > class="pck.ManageUser"> > <result name="deleteSuccess" type="redirect"> > ManageUser.jsp > </result> > </action> > </package> > </struts> > when i am using this file in my application tomcat gives following error>>> > type Status report > message No result defined for action pck.ManageUser and result success > description The requested resource (No result defined for action pck.ManageUser and result success) is not available. > And after many trials i found one solution for this problem. > I just made one minor change in struts.xml file. > I cut the action > <action name="deleteUser" class="pck.ManageUser" > method="deleteUser"> > <result name="success" type="redirect">manageUser</result> > </action> > and paste it at the end, which is as followacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b > Mdified struts.xml is>>>>> > <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" > "http://struts.apache.org/dtds/struts-2.0.dtd"> > <struts> > <package name="default" extends="struts-default"> > <action name="logIn"> > <result>userLogin.jsp</result> > </action> > <action name="addUser"> > <result>addUser.jsp</result> > </action> > <action name="manageUser" method="display" > class="pck.ManageUser"> > <result name="success">manageUser.jsp</result> > </action> > > <action name="userVerify" class="pck.UserLoginAction" > method="execute"> > <result name="success">WelcomeUser.jsp</result> > </action> > <action name="AddUserAction" class="pck.AddUserAction"> > <result name="success">firstPg.jsp</result> > </action> > <action name="UpdateUser" class="pck.ManageUser" > method="updateOrSave"> > <result name="updated" type="redirect">manageUser</result> > </action> > <action name="editUser" method="displayForUpdate" > class="pck.ManageUser"> > <result>updateUser.jsp</result> > </action> > <action name="deleteUser" method="deleteUser" > class="pck.ManageUser"> > <result name="deleteSuccess" type="redirect"> > ManageUser.jsp > </result> > </action> > > <action name="deleteUser" class="pck.ManageUser" > method="deleteUser"> > <result name="success" type="redirect">manageUser</result> > </action> > </package> > </struts> > Is this a problem of struts2? > I don't know about this. I am just a beginner in Struts. > If You find any solution please let me know. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jan 11 20:53:09 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28806 invoked from network); 11 Jan 2010 20:53:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Jan 2010 20:53:09 -0000 Received: (qmail 91917 invoked by uid 500); 11 Jan 2010 20:53:08 -0000 Delivered-To: [email protected] Received: (qmail 91854 invoked by uid 500); 11 Jan 2010 20:53:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 91846 invoked by uid 99); 11 Jan 2010 20:53:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2010 20:53:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2010 20:53:06 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 70E42234C1EE for <[email protected]>; Mon, 11 Jan 2010 12:52:45 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 11 Jan 2010 20:52:45 +0000 (UTC) From: "Matthew Payne (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (WW-3372) Convention Plugin breaks settings for freemarker configuration. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org Convention Plugin breaks settings for freemarker configuration. ----------------------------------------------------------------- Key: WW-3372 URL: https://issues.apache.org/struts/browse/WW-3372 Project: Struts 2 Issue Type: Bug Components: Plugin - Convention Affects Versions: 2.1.8 Reporter: Matthew Payne In an application that locates freemarker resources correctly the introduction of the convention plugins breaks sitemesh/freemarker from finding global macros or includes that are on the classpath(or in classes) macro libs are set as: <property name="macroLibraries"> <props> <prop key="l">/WEB-INF/macros/layout.ftl</prop> <prop key="cn">/WEB-INF/macros/contentNode.ftl</prop> <prop key="auth">/WEB-INF/macros/acl.ftl</prop> <!-- from classpath in search jar --> <prop key="pager">/macros/pager.ftl</prop> <prop key="r">/macros/results.ftl</prop> </props> </property> When the convention plugin is introduced page.ftl and results.ftl can no longer be found. These are located in /WEB-INF/classes or inside a .jar file that is in the classpath. It seems as if the convention plugin changes the templateLoaderPaths configuration of freemarker itself, which in this case is ---> <property name="templateLoaderPaths"> <list> <value>/WEB-INF/freemarker</value> <value>/</value> <value>classpath:/</value> </list> </property> ^^ from above classpath:/ resources are no longer found. Why does this plugin affect such things? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jan 11 22:47:09 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89870 invoked from network); 11 Jan 2010 22:47:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Jan 2010 22:47:08 -0000 Received: (qmail 54576 invoked by uid 500); 11 Jan 2010 22:47:07 -0000 Delivered-To: [email protected] Received: (qmail 54524 invoked by uid 500); 11 Jan 2010 22:47:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 54389 invoked by uid 99); 11 Jan 2010 22:47:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2010 22:47:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2010 22:47:04 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 9AB46234C052 for <[email protected]>; Mon, 11 Jan 2010 14:46:43 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 11 Jan 2010 22:46:43 +0000 (UTC) From: "Daniel Northam (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (WW-3373) Weblogic 11g throwing java.lang.NullPointerException MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org Weblogic 11g throwing java.lang.NullPointerException ---------------------------------------------------- Key: WW-3373 URL: https://issues.apache.org/struts/browse/WW-3373 Project: Struts 2 Issue Type: Bug Components: Dispatch Filter Affects Versions: 2.1.8 Environment: Weblogic 11g, running on RHEL 5.3 x86. JVM = jrockit_160_14_R27.6.5-32 Reporter: Daniel Northam WAR file works with TOMCAT 6. When I deploy to WEBLOGIC 11g the following NPE is given. Been searching Google and struts issues, but have not been able to find a solution. My knowledge of Java is next to none. Can Someone point me into the right direction? 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1263248899938> <BEA-101020> <[ServletContext@25367851[app:www module:XXX.war path:/XXX spec-version:2.5]] Servlet failed with Exception java.lang.NullPointerException at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:645) at org.apache.struts2.dispatcher.Dispatcher.sendError(Dispatcher.java:725) at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488) at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:467) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 12 03:07:09 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83224 invoked from network); 12 Jan 2010 03:07:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jan 2010 03:07:09 -0000 Received: (qmail 93266 invoked by uid 500); 12 Jan 2010 03:07:08 -0000 Delivered-To: [email protected] Received: (qmail 93081 invoked by uid 500); 12 Jan 2010 03:07:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 92541 invoked by uid 99); 12 Jan 2010 03:07:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jan 2010 03:07:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jan 2010 03:07:05 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 84E27234C052 for <[email protected]>; Mon, 11 Jan 2010 19:06:44 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 12 Jan 2010 03:06:44 +0000 (UTC) From: "terence (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (WW-3374) is plugin-convention bug ? can not find Action.class, Result.class which annotation in class MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org is plugin-convention bug ? can not find Action.class, Result.class which annotation in class --------------------------------------------------------------------------------------------- Key: WW-3374 URL: https://issues.apache.org/struts/browse/WW-3374 Project: Struts 2 Issue Type: Bug Components: Plugin - Convention Affects Versions: 2.1.8 Environment: windows xp professional sp3 , eclipse3.3 , tomcat6.0, Reporter: terence flowing is the contents of struts.xml configuration files <struts> <constant name="struts.convention.package.locators" value="test" /> <constant name="struts.convention.classes.reload" value="true" /> <constant name="struts.devMode" value="true" /> <constant name="struts.objectFactory.spring.autoWire.alwaysRespect" value="true" /> <constant name="struts.action.extension" value="action" /> </struts> my class annotation @Override @Action( value="test", results={@Result(name="success",type="dispatcher",location="result.jsp")}, interceptorRefs={@InterceptorRef("timer")}) public String execute() throws Exception { return SUCCESS; } when i start up tomcat the exception is java.io.FileNotFoundException: D:\tomcat\webapps\proc\WEB-INF\classes\org\apache\struts2\convention\annotation\InterceptorRef.class D:\tomcat\webapps\proc\WEB-INF\classes\org\apache\struts2\convention\annotation\Result.class D:\tomcat\webapps\proc\WEB-INF\classes\org\apache\struts2\convention\annotation\Action.class struts2 is still working and annotation @Action , @Result , @InterceptorRef is also work. coincidentally that :InterceptorRef.class , Result.class , Action.class is my class annotation. when i delete the <constant name="struts.convention.package.locators" value="test" /> tomcat normal startup , but the annotation doesn't work . i am not sure it is a bug ? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 12 11:50:06 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60244 invoked from network); 12 Jan 2010 11:50:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jan 2010 11:50:06 -0000 Received: (qmail 86305 invoked by uid 500); 12 Jan 2010 11:50:05 -0000 Delivered-To: [email protected] Received: (qmail 86211 invoked by uid 500); 12 Jan 2010 11:50:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 86203 invoked by uid 99); 12 Jan 2010 11:50:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jan 2010 11:50:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jan 2010 11:50:04 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id EB3F6234C052 for <[email protected]>; Tue, 12 Jan 2010 03:49:43 -0800 (PST) Message-ID: <{{EMAIL+PHONE}}> Date: Tue, 12 Jan 2010 11:49:43 +0000 (UTC) From: "Lukasz Lenart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (WW-3374) is plugin-convention bug ? can not find Action.class, Result.class which annotation in class In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 [ https://issues.apache.org/struts/browse/WW-3374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart closed WW-3374. ----------------------------- Resolution: Not A Problem Assignee: Lukasz Lenart Please ask question on Struts User Group [1] and did you add convention plugin jar? [1] http://struts.apache.org/mail.html Regards -- Lukasz > is plugin-convention bug ? can not find Action.class, Result.class which annotation in class > --------------------------------------------------------------------------------------------- > > Key: WW-3374 > URL: https://issues.apache.org/struts/browse/WW-3374 > Project: Struts 2 > Issue Type: Bug > Components: Plugin - Convention > Affects Versions: 2.1.8 > Environment: windows xp professional sp3 , eclipse3.3 , tomcat6.0, > Reporter: terence > Assignee: Lukasz Lenart > > flowing is the contents of struts.xml configuration files > <struts> > <constant name="struts.convention.package.locators" value="test" /> > <constant name="struts.convention.classes.reload" value="true" /> > <constant name="struts.devMode" value="true" /> > <constant name="struts.objectFactory.spring.autoWire.alwaysRespect" value="true" /> > <constant name="struts.action.extension" value="action" /> > </struts> > my class annotation > @Override > @Action( > value="test", > results={@Result(name="success",type="dispatcher",location="result.jsp")}, > interceptorRefs={@InterceptorRef("timer")}) > public String execute() throws Exception { > return SUCCESS; > } > when i start up tomcat the exception is > java.io.FileNotFoundException: > D:\tomcat\webapps\proc\WEB-INF\classes\org\apache\struts2\convention\annotation\InterceptorRef.class > D:\tomcat\webapps\proc\WEB-INF\classes\org\apache\struts2\convention\annotation\Result.class > D:\tomcat\webapps\proc\WEB-INF\classes\org\apache\struts2\convention\annotation\Action.class > struts2 is still working and annotation @Action , @Result , @InterceptorRef is also work. > coincidentally that :InterceptorRef.class , Result.class , Action.class is my class annotation. > when i delete the > <constant name="struts.convention.package.locators" value="test" /> > tomcat normal startup , but the annotation doesn't work . > i am not sure it is a bug ? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 12 11:54:07 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61420 invoked from network); 12 Jan 2010 11:54:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jan 2010 11:54:07 -0000 Received: (qmail 91760 invoked by uid 500); 12 Jan 2010 11:54:07 -0000 Delivered-To: [email protected] Received: (qmail 91678 invoked by uid 500); 12 Jan 2010 11:54:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 91670 invoked by uid 99); 12 Jan 2010 11:54:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jan 2010 11:54:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jan 2010 11:54:04 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 96D96234C052 for <[email protected]>; Tue, 12 Jan 2010 03:53:43 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 12 Jan 2010 11:53:43 +0000 (UTC) From: "Lukasz Lenart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-3373) Weblogic 11g throwing java.lang.NullPointerException In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-3373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47230#action_47230 ] Lukasz Lenart commented on WW-3373: ----------------------------------- Do you have spaces in path to war file like below? /opt/weblogic /server/webapp Regards -- Lukasz > Weblogic 11g throwing java.lang.NullPointerException > ---------------------------------------------------- > > Key: WW-3373 > URL: https://issues.apache.org/struts/browse/WW-3373 > Project: Struts 2 > Issue Type: Bug > Components: Dispatch Filter > Affects Versions: 2.1.8 > Environment: Weblogic 11g, running on RHEL 5.3 x86. JVM = jrockit_160_14_R27.6.5-32 > Reporter: Daniel > > WAR file works with TOMCAT 6. When I deploy to WEBLOGIC 11g the following NPE is given. Been searching Google and struts issues, but have not been able to find a solution. My knowledge of Java is next to none. > Can Someone point me into the right direction? > 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1263248899938> <BEA-101020> <[ServletContext@25367851[app:www module:XXX.war path:/XXX spec-version:2.5]] Servlet failed with Exception > java.lang.NullPointerException > at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:645) > at org.apache.struts2.dispatcher.Dispatcher.sendError(Dispatcher.java:725) > at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488) > at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:467) > at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) > at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592) > at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) > at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202) > at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108) > at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432) > at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) > at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 12 15:12:08 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64595 invoked from network); 12 Jan 2010 15:12:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jan 2010 15:12:08 -0000 Received: (qmail 98038 invoked by uid 500); 12 Jan 2010 15:12:07 -0000 Delivered-To: [email protected] Received: (qmail 97989 invoked by uid 500); 12 Jan 2010 15:12:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 97981 invoked by uid 99); 12 Jan 2010 15:12:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jan 2010 15:12:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jan 2010 15:12:06 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 8BEF6234C052 for <[email protected]>; Tue, 12 Jan 2010 07:11:46 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 12 Jan 2010 15:11:46 +0000 (UTC) From: "Sam Sorrell (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (WW-3375) <s:if> inside <s:url> is not being processed -- entire conditional is ignored. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 <s:if> inside <s:url> is not being processed -- entire conditional is ignored. ------------------------------------------------------------------------------ Key: WW-3375 URL: https://issues.apache.org/struts/browse/WW-3375 Project: Struts 2 Issue Type: Bug Components: Plugin - Tags Affects Versions: 2.1.8 Environment: Glassfish v2.1.1 Reporter: Sam Sorrell Priority: Minor When an "if" tag is placed within a "url" tag, the "if" tag is completely ignored. For the following example the resulting url will not have a "page" parameter regradless of the value of "parameter". <s:url id="myHelpUrl" action="myHelpAction" namespace="/myNamespace"> <s:param name="section" value="%{'Section'}"/> <s:param name="component" value="%{'Component'}"/> <s:if test="%{bean.primaryKey != null"> <s:param name="page" value="%{'Update'}"/> </s:if> <s:else> <s:param name="page" value="%{'Add'}"/> </s:else> </s:url> By contrast, the following less concise version has the "page" parameter: <s:if test="%{bean.primaryKey != null}"> <s:url id="myHelpUrl" action="myHelpAction" namespace="/myNamespace"> <s:param name="section" value="%{'Section'}"/> <s:param name="component" value="%{'Component'}"/> <s:param name="page" value="%{'Update'}"/> </s:url> </s:if> <s:else> <s:url id="myHelpUrl" action="myHelpAction" namespace="/myNamespace"> <s:param name="section" value="%{'Section'}"/> <s:param name="component" value="%{'Component'}"/> <s:param name="page" value="%{'Add'}"/> </s:url> </s:else> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 12 15:14:11 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65537 invoked from network); 12 Jan 2010 15:14:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jan 2010 15:14:11 -0000 Received: (qmail 1463 invoked by uid 500); 12 Jan 2010 15:14:10 -0000 Delivered-To: [email protected] Received: (qmail 1408 invoked by uid 500); 12 Jan 2010 15:14:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 1399 invoked by uid 99); 12 Jan 2010 15:14:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jan 2010 15:14:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jan 2010 15:14:08 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 2BEA9234C052 for <[email protected]>; Tue, 12 Jan 2010 07:13:47 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 12 Jan 2010 15:13:47 +0000 (UTC) From: "Sam Sorrell (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-3375) <s:if> inside <s:url> is not being processed -- entire conditional is ignored. In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-3375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47231#action_47231 ] Sam Sorrell commented on WW-3375: --------------------------------- The "parameter" metioned in the text is the if's "bean.primaryKey". This was tested with null and non-null, but not with other conditions. > <s:if> inside <s:url> is not being processed -- entire conditional is ignored. > ------------------------------------------------------------------------------ > > Key: WW-3375 > URL: https://issues.apache.org/struts/browse/WW-3375 > Project: Struts 2 > Issue Type: Bug > Components: Plugin - Tags > Affects Versions: 2.1.8 > Environment: Glassfish v2.1.1 > Reporter: Sam Sorrell > Priority: Minor > > When an "if" tag is placed within a "url" tag, the "if" tag is completely ignored. For the following example the resulting url will not have a "page" parameter regradless of the value of "parameter". > <s:url id="myHelpUrl" action="myHelpAction" namespace="/myNamespace"> > <s:param name="section" value="%{'Section'}"/> > <s:param name="component" value="%{'Component'}"/> > <s:if test="%{bean.primaryKey != null"> > <s:param name="page" value="%{'Update'}"/> > </s:if> > <s:else> > <s:param name="page" value="%{'Add'}"/> > </s:else> > </s:url> > By contrast, the following less concise version has the "page" parameter: > <s:if test="%{bean.primaryKey != null}"> > <s:url id="myHelpUrl" action="myHelpAction" namespace="/myNamespace"> > <s:param name="section" value="%{'Section'}"/> > <s:param name="component" value="%{'Component'}"/> > <s:param name="page" value="%{'Update'}"/> > </s:url> > </s:if> > <s:else> > <s:url id="myHelpUrl" action="myHelpAction" namespace="/myNamespace"> > <s:param name="section" value="%{'Section'}"/> > <s:param name="component" value="%{'Component'}"/> > <s:param name="page" value="%{'Add'}"/> > </s:url> > </s:else> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 12 16:14:08 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84504 invoked from network); 12 Jan 2010 16:14:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jan 2010 16:14:08 -0000 Received: (qmail 6509 invoked by uid 500); 12 Jan 2010 16:14:07 -0000 Delivered-To: [email protected] Received: (qmail 6458 invoked by uid 500); 12 Jan 2010 16:14:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6450 invoked by uid 99); 12 Jan 2010 16:14:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jan 2010 16:14:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jan 2010 16:14:05 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 9FAB9234C052 for <[email protected]>; Tue, 12 Jan 2010 08:13:44 -0800 (PST) Message-ID: <{{EMAIL+PHONE}}> Date: Tue, 12 Jan 2010 16:13:44 +0000 (UTC) From: "Hojin Joy (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (WW-3376) s:action with executeResult="true" giving infinite loop resulting stack over flow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org s:action with executeResult="true" giving infinite loop resulting stack over flow --------------------------------------------------------------------------------- Key: WW-3376 URL: https://issues.apache.org/struts/browse/WW-3376 Project: Struts 2 Issue Type: Bug Components: Core Actions Affects Versions: 2.1.6 Environment: windows xp , Reporter: Hojin Joy while using validation , whenever validation fail , control should back to the input jsp .But I am having s:action in the jsp for getting radio button list and when validaton failed the control comes to input jsp page but unable to call s:action. for that i added executeResult="true" but now i am getting stack over flow alert message when the first time page loads seems like a bug -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 12 16:50:05 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95932 invoked from network); 12 Jan 2010 16:50:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jan 2010 16:50:05 -0000 Received: (qmail 68964 invoked by uid 500); 12 Jan 2010 16:50:05 -0000 Delivered-To: [email protected] Received: (qmail 68899 invoked by uid 500); 12 Jan 2010 16:50:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 68891 invoked by uid 99); 12 Jan 2010 16:50:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jan 2010 16:50:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jan 2010 16:50:04 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id BD7D9234C052 for <[email protected]>; Tue, 12 Jan 2010 08:49:43 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 12 Jan 2010 16:49:43 +0000 (UTC) From: "Daniel (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-3373) Weblogic 11g throwing java.lang.NullPointerException In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 [ https://issues.apache.org/struts/browse/WW-3373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47232#action_47232 ] Daniel commented on WW-3373: ---------------------------- Yes, it looks like I do.. / opt/ Oracle/ Middleware/ wl_domains/ managed_domain/ servers/ WEBLOGIC1/ upload/ XXX. war what I got when I copied and paste to notepad from weblogic console;; Any idea where I can go to fix this up? looking through the docs and config files now... > Weblogic 11g throwing java.lang.NullPointerException > ---------------------------------------------------- > > Key: WW-3373 > URL: https://issues.apache.org/struts/browse/WW-3373 > Project: Struts 2 > Issue Type: Bug > Components: Dispatch Filter > Affects Versions: 2.1.8 > Environment: Weblogic 11g, running on RHEL 5.3 x86. JVM = jrockit_160_14_R27.6.5-32 > Reporter: Daniel > > WAR file works with TOMCAT 6. When I deploy to WEBLOGIC 11g the following NPE is given. Been searching Google and struts issues, but have not been able to find a solution. My knowledge of Java is next to none. > Can Someone point me into the right direction? > 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1263248899938> <BEA-101020> <[ServletContext@25367851[app:www module:XXX.war path:/XXX spec-version:2.5]] Servlet failed with Exception > java.lang.NullPointerException > at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:645) > at org.apache.struts2.dispatcher.Dispatcher.sendError(Dispatcher.java:725) > at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488) > at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:467) > at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) > at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592) > at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) > at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202) > at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108) > at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432) > at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) > at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 12 16:54:06 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96983 invoked from network); 12 Jan 2010 16:54:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jan 2010 16:54:05 -0000 Received: (qmail 74215 invoked by uid 500); 12 Jan 2010 16:54:05 -0000 Delivered-To: [email protected] Received: (qmail 74143 invoked by uid 500); 12 Jan 2010 16:54:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74135 invoked by uid 99); 12 Jan 2010 16:54:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jan 2010 16:54:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jan 2010 16:54:04 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 679CA234C052 for <[email protected]>; Tue, 12 Jan 2010 08:53:44 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 12 Jan 2010 16:53:43 +0000 (UTC) From: "Daniel (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-3373) Weblogic 11g throwing java.lang.NullPointerException In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 [ https://issues.apache.org/struts/browse/WW-3373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47233#action_47233 ] Daniel commented on WW-3373: ---------------------------- However, there are no spaces in config/config.xml <source-path>servers/WEBLOGIC1/upload/XXX.war</source-path> > Weblogic 11g throwing java.lang.NullPointerException > ---------------------------------------------------- > > Key: WW-3373 > URL: https://issues.apache.org/struts/browse/WW-3373 > Project: Struts 2 > Issue Type: Bug > Components: Dispatch Filter > Affects Versions: 2.1.8 > Environment: Weblogic 11g, running on RHEL 5.3 x86. JVM = jrockit_160_14_R27.6.5-32 > Reporter: Daniel > > WAR file works with TOMCAT 6. When I deploy to WEBLOGIC 11g the following NPE is given. Been searching Google and struts issues, but have not been able to find a solution. My knowledge of Java is next to none. > Can Someone point me into the right direction? > 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1263248899938> <BEA-101020> <[ServletContext@25367851[app:www module:XXX.war path:/XXX spec-version:2.5]] Servlet failed with Exception > java.lang.NullPointerException > at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:645) > at org.apache.struts2.dispatcher.Dispatcher.sendError(Dispatcher.java:725) > at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488) > at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:467) > at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) > at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592) > at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) > at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202) > at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108) > at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432) > at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) > at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 12 21:16:07 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15314 invoked from network); 12 Jan 2010 21:16:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jan 2010 21:16:07 -0000 Received: (qmail 96827 invoked by uid 500); 12 Jan 2010 21:16:07 -0000 Delivered-To: [email protected] Received: (qmail 96751 invoked by uid 500); 12 Jan 2010 21:16:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 96743 invoked by uid 99); 12 Jan 2010 21:16:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jan 2010 21:16:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jan 2010 21:16:04 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A81B6234C052 for <[email protected]>; Tue, 12 Jan 2010 13:15:43 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 12 Jan 2010 21:15:43 +0000 (UTC) From: "Daniel (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-3373) Weblogic 11g throwing java.lang.NullPointerException In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-3373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47234#action_47234 ] Daniel commented on WW-3373: ---------------------------- Also, I deployed the struts 2 blank sample application to weblogic 11g and I get the same behavior; 404 when re-directing to the .action page. So not sure if this is a incompatibility issue between struts 2 and weblogic 11g or if there is some permissions configuration issue with weblogic and struts 2.. > Weblogic 11g throwing java.lang.NullPointerException > ---------------------------------------------------- > > Key: WW-3373 > URL: https://issues.apache.org/struts/browse/WW-3373 > Project: Struts 2 > Issue Type: Bug > Components: Dispatch Filter > Affects Versions: 2.1.8 > Environment: Weblogic 11g, running on RHEL 5.3 x86. JVM = jrockit_160_14_R27.6.5-32 > Reporter: Daniel > > WAR file works with TOMCAT 6. When I deploy to WEBLOGIC 11g the following NPE is given. Been searching Google and struts issues, but have not been able to find a solution. My knowledge of Java is next to none. > Can Someone point me into the right direction? > 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1263248899938> <BEA-101020> <[ServletContext@25367851[app:www module:XXX.war path:/XXX spec-version:2.5]] Servlet failed with Exception > java.lang.NullPointerException > at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:645) > at org.apache.struts2.dispatcher.Dispatcher.sendError(Dispatcher.java:725) > at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488) > at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:467) > at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) > at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592) > at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) > at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202) > at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108) > at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432) > at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) > at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jan 14 15:17:09 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61325 invoked from network); 14 Jan 2010 15:17:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jan 2010 15:17:09 -0000 Received: (qmail 12851 invoked by uid 500); 14 Jan 2010 15:17:08 -0000 Delivered-To: [email protected] Received: (qmail 12813 invoked by uid 500); 14 Jan 2010 15:17:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 12805 invoked by uid 99); 14 Jan 2010 15:17:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jan 2010 15:17:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jan 2010 15:17:05 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 37FBB234C1EE for <[email protected]>; Thu, 14 Jan 2010 07:16:44 -0800 (PST) Message-ID: <[email protected]> Date: Thu, 14 Jan 2010 15:16:44 +0000 (UTC) From: "Lukasz Lenart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (WW-3260) PrefixBasedActionMapper In-Reply-To: <353492494.1253805829927.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-3260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart reassigned WW-3260: --------------------------------- Assignee: Lukasz Lenart > PrefixBasedActionMapper > ----------------------- > > Key: WW-3260 > URL: https://issues.apache.org/struts/browse/WW-3260 > Project: Struts 2 > Issue Type: New Feature > Reporter: Dale Newfield > Assignee: Lukasz Lenart > Priority: Minor > Fix For: 2.1.9 > > Attachments: PrefixBasedActionMapper.java > > > There are periodic requests for this on the mailing list, but I've yet to build a set of test cases, so I offer this code in hopes that someone will massage it into shape that might be added to the project. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jan 14 19:41:11 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70365 invoked from network); 14 Jan 2010 19:41:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jan 2010 19:41:10 -0000 Received: (qmail 98551 invoked by uid 500); 14 Jan 2010 19:41:10 -0000 Delivered-To: [email protected] Received: (qmail 98506 invoked by uid 500); 14 Jan 2010 19:41:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 98498 invoked by uid 99); 14 Jan 2010 19:41:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jan 2010 19:41:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jan 2010 19:41:06 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 4D29D234C1EE for <[email protected]>; Thu, 14 Jan 2010 11:40:45 -0800 (PST) Message-ID: <[email protected]> Date: Thu, 14 Jan 2010 19:40:45 +0000 (UTC) From: "Matthew Payne (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (WW-3372) Convention Plugin is incompatible with wildcard mappings In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-3372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthew Payne updated WW-3372: ------------------------------ Description: When the convention plugin is enabled, wildcard mappings no longer work The following should apply to serveral levels deep. <package name="publicPages" extends="pmlDefault" namespace="/pages/PML_Public"> <action name="**" class="com.pennmutual.website.actions.BasePMLAppAction"> <result name="success" type="freemarker">{1}.html</result> </action> </package> If I set <constant name="struts.convention.result.flatLayout" value="false" /> The convention plugin blows up on .svn folders (which should be ignored). Caused by: Unable to find a result type for extension [svn/] in location attribute [/sitemap/.svn/]. - [unknown location] at org.apache.struts2.convention.DefaultResultMapBuilder$ResultInfo.determineType(DefaultResultMapBuilder.java:497) at org.apache.struts2.convention.DefaultResultMapBuilder$ResultInfo.<init>(DefaultResultMapBuilder.java:460) at org.apache.struts2.convention.DefaultResultMapBuilder.makeResults(DefaultResultMapBuilder.java:355) at org.apache.struts2.convention.DefaultResultMapBuilder.createFromResources(DefaultResultMapBuilder.java:261) at org.apache.struts2.convention.DefaultResultMapBuilder.build(DefaultResultMapBuilder.java:191) at org.apache.struts2.convention.PackageBasedActionConfigBuilder.createActionConfig(PackageBasedActionConfigBuilder.java:800) at org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildConfiguration(PackageBasedActionConfigBuilder.java:572) at org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs(PackageBasedActionConfigBuilder.java:318) at org.apache.struts2.convention.ClasspathPackageProvider.loadPackages(ClasspathPackageProvider.java:53) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:204) at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55) ... 17 more 2010-01-14 14:32:40.acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bWARN: Failed startup of context org.mortbay.jetty.plugin.Jetty6PluginWebAppContext@54777e{/pmlwebsite,C:\fast\java\workspaces\website\pmlwebsite\trunk\src\main\webapp} Unable to load configuration. - [unknown location] at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:431) at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69) at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter.init(StrutsPrepareFilter.java:50) at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:653) at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466) at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:124) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.plugin.AbstractJettyRunMojo.restartWebApp(AbstractJettyRunMojo.java:458) at org.mortbay.jetty.plugin.util.ConsoleScanner.restartWebApp(ConsoleScanner.java:95) at org.mortbay.jetty.plugin.util.ConsoleScanner.checkSystemInput(ConsoleScanner.java:58) at org.mortbay.jetty.plugin.util.ConsoleScanner.run(ConsoleScanner.java:28) Caused by: Unable to load configuration. - [unknown location] at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58) at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:374) at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:418) ... Initial findings were below, however it think below may be caused by the files never getting mapped to an action---> In an application that locates freemarker resources correctly the introduction of the convention plugins breaks sitemesh/freemarker from finding global macros or includes that are on the classpath(or in classes) macro libs are set as: <property name="macroLibraries"> <props> <prop key="l">/WEB-INF/macros/layout.ftl</prop> <prop key="cn">/WEB-INF/macros/contentNode.ftl</prop> <prop key="auth">/WEB-INF/macros/acl.ftl</prop> <!-- from classpath in search jar --> <prop key="pager">/macros/pager.ftl</prop> <prop key="r">/macros/results.ftl</prop> </props> </property> When the convention plugin is introduced page.ftl and results.ftl can no longer be found. These are located in /WEB-INF/classes or inside a .jar file that is in the classpath. It seems as if the convention plugin changes the templateLoaderPaths configuration of freemarker itself, which in this case is ---> <property name="templateLoaderPaths"> <list> <value>/WEB-INF/freemarker</value> <value>/</value> <value>classpath:/</value> </list> </property> ^^ from above classpath:/ resources are no longer found. Why does this plugin affect such things? was: In an application that locates freemarker resources correctly the introduction of the convention plugins breaks sitemesh/freemarker from finding global macros or includes that are on the classpath(or in classes) macro libs are set as: <property name="macroLibraries"> <props> <prop key="l">/WEB-INF/macros/layout.ftl</prop> <prop key="cn">/WEB-INF/macros/contentNode.ftl</prop> <prop key="auth">/WEB-INF/macros/acl.ftl</prop> <!-- from classpath in search jar --> <prop key="pager">/macros/pager.ftl</prop> <prop key="r">/macros/results.ftl</prop> </props> </property> When the convention plugin is introduced page.ftl and results.ftl can no longer be found. These are located in /WEB-INF/classes or inside a .jar file that is in the classpath. It seems as if the convention plugin changes the templateLoaderPaths configuration of freemarker itself, which in this case is ---> <property name="templateLoaderPaths"> <list> <value>/WEB-INF/freemarker</value> <value>/</value> <value>classpath:/</value> </list> </property> ^^ from above classpath:/ resources are no longer found. Why does this plugin affect such things? Summary: Convention Plugin is incompatible with wildcard mappings (was: Convention Plugin breaks settings for freemarker configuration. ) > Convention Plugin is incompatible with wildcard mappings > -------------------------------------------------------- > > Key: WW-3372 > URL: https://issues.apache.org/struts/browse/WW-3372 > Project: Struts 2 > Issue Type: Bug > Components: Plugin - Convention > Affects Versions: 2.1.8 > Reporter: Matthew Payne > > When the convention plugin is enabled, wildcard mappings no longer work > The following should apply to serveral levels deep. > <package name="publicPages" extends="pmlDefault" namespace="/pages/PML_Public"> > <action name="**" class="com.pennmutual.website.actions.BasePMLAppAction"> > <result name="success" type="freemarker">{1}.html</result> > </action> > </package> > If I set <constant name="struts.convention.result.flatLayout" value="false" /> > The convention plugin blows up on .svn folders (which should be ignored). > Caused by: Unable to find a result type for extension [svn/] in location attribute [/sitemap/.svn/]. - [unknown location] > at org.apache.struts2.convention.DefaultResultMapBuilder$ResultInfo.determineType(DefaultResultMapBuilder.java:497) > at org.apache.struts2.convention.DefaultResultMapBuilder$ResultInfo.<init>(DefaultResultMapBuilder.java:460) > at org.apache.struts2.convention.DefaultResultMapBuilder.makeResults(DefaultResultMapBuilder.java:355) > at org.apache.struts2.convention.DefaultResultMapBuilder.createFromResources(DefaultResultMapBuilder.java:261) > at org.apache.struts2.convention.DefaultResultMapBuilder.build(DefaultResultMapBuilder.java:191) > at org.apache.struts2.convention.PackageBasedActionConfigBuilder.createActionConfig(PackageBasedActionConfigBuilder.java:800) > at org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildConfiguration(PackageBasedActionConfigBuilder.java:572) > at org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs(PackageBasedActionConfigBuilder.java:318) > at org.apache.struts2.convention.ClasspathPackageProvider.loadPackages(ClasspathPackageProvider.java:53) > at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:204) > at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55) > ... 17 more > 2010-01-14 14:32:40.acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bWARN: Failed startup of context org.mortbay.jetty.plugin.Jetty6PluginWebAppContext@54777e{/pmlwebsite,C:\fast\java\workspaces\website\pmlwebsite\trunk\src\main\webapp} > Unable to load configuration. - [unknown location] > at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:431) > at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69) > at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter.init(StrutsPrepareFilter.java:50) > at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) > at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) > at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:653) > at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) > at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239) > at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) > at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466) > at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:124) > at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) > at org.mortbay.jetty.plugin.AbstractJettyRunMojo.restartWebApp(AbstractJettyRunMojo.java:458) > at org.mortbay.jetty.plugin.util.ConsoleScanner.restartWebApp(ConsoleScanner.java:95) > at org.mortbay.jetty.plugin.util.ConsoleScanner.checkSystemInput(ConsoleScanner.java:58) > at org.mortbay.jetty.plugin.util.ConsoleScanner.run(ConsoleScanner.java:28) > Caused by: Unable to load configuration. - [unknown location] > at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58) > at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:374) > at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:418) > ... > Initial findings were below, however it think below may be caused by the files never getting mapped to an action---> > In an application that locates freemarker resources correctly the introduction of the convention plugins breaks sitemesh/freemarker from finding global macros or includes that are on the classpath(or in classes) > macro libs are set as: > <property name="macroLibraries"> > <props> > <prop key="l">/WEB-INF/macros/layout.ftl</prop> > <prop key="cn">/WEB-INF/macros/contentNode.ftl</prop> > <prop key="auth">/WEB-INF/macros/acl.ftl</prop> > <!-- from classpath in search jar --> > <prop key="pager">/macros/pager.ftl</prop> > <prop key="r">/macros/results.ftl</prop> > </props> > </property> > When the convention plugin is introduced page.ftl and results.ftl can no longer be found. These are located in /WEB-INF/classes or inside a .jar file that is in the classpath. It seems as if the convention plugin changes the templateLoaderPaths configuration of freemarker itself, which in this case is ---> > <property name="templateLoaderPaths"> > <list> > <value>/WEB-INF/freemarker</value> > <value>/</value> > <value>classpath:/</value> > </list> > </property> > ^^ from above classpath:/ resources are no longer found. > Why does this plugin affect such things? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jan 15 19:18:13 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85868 invoked from network); 15 Jan 2010 19:18:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Jan 2010 19:18:13 -0000 Received: (qmail 66965 invoked by uid 500); 15 Jan 2010 19:18:12 -0000 Delivered-To: [email protected] Received: (qmail 66901 invoked by uid 500); 15 Jan 2010 19:18:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 66893 invoked by uid 99); 15 Jan 2010 19:18:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jan 2010 19:18:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jan 2010 19:18:09 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id DD858234C495 for <[email protected]>; Fri, 15 Jan 2010 11:17:48 -0800 (PST) Message-ID: <[email protected]> Date: Fri, 15 Jan 2010 19:17:48 +0000 (UTC) From: "Musachy Barroso (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (WW-3329) ${Parameters.xxx} in freemarker view is broken In-Reply-To: <1157021852.1258194853227.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-3329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Musachy Barroso resolved WW-3329. --------------------------------- Resolution: Fixed patch merged, please confirm if it works > ${Parameters.xxx} in freemarker view is broken > ---------------------------------------------- > > Key: WW-3329 > URL: https://issues.apache.org/struts/browse/WW-3329 > Project: Struts 2 > Issue Type: Bug > Components: Other > Affects Versions: 2.2.0 > Reporter: zhouyanming > Assignee: Musachy Barroso > Priority: Blocker > Fix For: 2.2.0 > > Attachments: patch.diff > > > "Parameters" was instead by ".freemarker.RequestParameters" in FreemakerManager > protected ScopesHashModel buildScopesHashModel( > ServletContext servletContext, HttpServletRequest request, > HttpServletResponse response, ObjectWrapper wrapper, > ValueStack stack) ; -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Jan 16 10:40:08 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44673 invoked from network); 16 Jan 2010 10:40:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Jan 2010 10:40:08 -0000 Received: (qmail 2619 invoked by uid 500); 16 Jan 2010 10:40:08 -0000 Delivered-To: [email protected] Received: (qmail 2559 invoked by uid 500); 16 Jan 2010 10:40:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 2551 invoked by uid 99); 16 Jan 2010 10:40:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jan 2010 10:40:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jan 2010 10:40:05 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 0F03F234C498 for <[email protected]>; Sat, 16 Jan 2010 02:39:44 -0800 (PST) Message-ID: <[email protected]> Date: Sat, 16 Jan 2010 10:39:44 +0000 (UTC) From: "Rene Gielen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (SB-111) Portlet 2: Multipart handling is triggered while processing Event phase, causing illegal getContentType() to be issued MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org Portlet 2: Multipart handling is triggered while processing Event phase, causing illegal getContentType() to be issued ---------------------------------------------------------------------------------------------------------------------- Key: SB-111 URL: https://issues.apache.org/struts/browse/SB-111 Project: Struts Sandbox Issue Type: Bug Components: Portlet 2 Plugin Reporter: Rene Gielen Priority: Critical -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Jan 16 10:48:08 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45342 invoked from network); 16 Jan 2010 10:48:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Jan 2010 10:48:08 -0000 Received: (qmail 4326 invoked by uid 500); 16 Jan 2010 10:48:08 -0000 Delivered-To: [email protected] Received: (qmail 4260 invoked by uid 500); 16 Jan 2010 10:48:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4252 invoked by uid 99); 16 Jan 2010 10:48:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jan 2010 10:48:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jan 2010 10:48:05 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 4891B234C498 for <[email protected]>; Sat, 16 Jan 2010 02:47:44 -0800 (PST) Message-ID: <[email protected]> Date: Sat, 16 Jan 2010 10:47:44 +0000 (UTC) From: "Rene Gielen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (SB-111) Portlet 2: Multipart handling is triggered while processing Event phase, causing illegal getContentType() to be issued In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/SB-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rene Gielen closed SB-111. -------------------------- Resolution: Fixed Fixed in SVN > Portlet 2: Multipart handling is triggered while processing Event phase, causing illegal getContentType() to be issued > ---------------------------------------------------------------------------------------------------------------------- > > Key: SB-111 > URL: https://issues.apache.org/struts/browse/SB-111 > Project: Struts Sandbox > Issue Type: Bug > Components: Portlet 2 Plugin > Reporter: Rene Gielen > Priority: Critical > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jan 18 02:35:08 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93389 invoked from network); 18 Jan 2010 02:35:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Jan 2010 02:35:07 -0000 Received: (qmail 79146 invoked by uid 500); 18 Jan 2010 02:35:07 -0000 Delivered-To: [email protected] Received: (qmail 79016 invoked by uid 500); 18 Jan 2010 02:35:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 79008 invoked by uid 99); 18 Jan 2010 02:35:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jan 2010 02:35:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jan 2010 02:35:05 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 6A106234C4A7 for <[email protected]>; Sun, 17 Jan 2010 18:34:45 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 18 Jan 2010 02:34:45 +0000 (UTC) From: "zhouyanming (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-3329) ${Parameters.xxx} in freemarker view is broken In-Reply-To: <1157021852.1258194853227.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 [ https://issues.apache.org/struts/browse/WW-3329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47237#action_47237 ] zhouyanming commented on WW-3329: --------------------------------- it works fine for Parameters.xxx but there is another problem if (session != null) { sessionModel = (HttpSessionHashModel) session.getAttribute(ATTR_SESSION_MODEL); if (sessionModel == null) { sessionModel = new HttpSessionHashModel(session, wrapper); session.setAttribute(ATTR_SESSION_MODEL, sessionModel); } model.put(KEY_SESSION, new HttpSessionHashModel(session, wrapper)); } some app store session into shared memory or database for SNA,and objects in session is the less the better so I don't think it's necessary to put sessionModel into session,It's better construct it during every request. > ${Parameters.xxx} in freemarker view is broken > ---------------------------------------------- > > Key: WW-3329 > URL: https://issues.apache.org/struts/browse/WW-3329 > Project: Struts 2 > Issue Type: Bug > Components: Other > Affects Versions: 2.2.0 > Reporter: zhouyanming > Assignee: Musachy Barroso > Priority: Blocker > Fix For: 2.2.0 > > Attachments: patch.diff > > > "Parameters" was instead by ".freemarker.RequestParameters" in FreemakerManager > protected ScopesHashModel buildScopesHashModel( > ServletContext servletContext, HttpServletRequest request, > HttpServletResponse response, ObjectWrapper wrapper, > ValueStack stack) ; -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jan 18 09:26:11 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16142 invoked from network); 18 Jan 2010 09:26:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Jan 2010 09:26:11 -0000 Received: (qmail 39292 invoked by uid 500); 18 Jan 2010 09:26:10 -0000 Delivered-To: [email protected] Received: (qmail 39247 invoked by uid 500); 18 Jan 2010 09:26:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 39239 invoked by uid 99); 18 Jan 2010 09:26:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jan 2010 09:26:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jan 2010 09:26:08 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 1B78E234C495 for <[email protected]>; Mon, 18 Jan 2010 01:25:47 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 18 Jan 2010 09:25:47 +0000 (UTC) From: "Xavier Poinsard (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (STR-3195) Documentation still mentions contextRelative for forward MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org Documentation still mentions contextRelative for forward -------------------------------------------------------- Key: STR-3195 URL: https://issues.apache.org/struts/browse/STR-3195 Project: Struts 1 Issue Type: Bug Components: Documentation Affects Versions: 1.3.10 Reporter: Xavier Poinsard Priority: Minor While contextRelative attribute for forward configuration has been removed from code and dtd ( http://wiki.apache.org/struts/StrutsUpgradeNotes12to13 ), the documentation (for example http://struts.apache.org/1.x/userGuide/configuration.html ) still mentions it. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 19 04:21:47 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49385 invoked from network); 19 Jan 2010 04:21:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jan 2010 04:21:47 -0000 Received: (qmail 66182 invoked by uid 500); 19 Jan 2010 04:21:46 -0000 Delivered-To: [email protected] Received: (qmail 66101 invoked by uid 500); 19 Jan 2010 04:21:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 66093 invoked by uid 99); 19 Jan 2010 04:21:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 04:21:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 04:21:44 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 9EC6C234C04C for <[email protected]>; Mon, 18 Jan 2010 20:21:24 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 19 Jan 2010 04:21:24 +0000 (UTC) From: "Puneet Sachdev (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-2774) default resource bundles don't load via TextProvider (they have to load via ResourceBundle.getBundle) In-Reply-To: <1204338141.1219178485131.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 [ https://issues.apache.org/struts/browse/WW-2774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47240#action_47240 ] Puneet Sachdev commented on WW-2774: ------------------------------------ Any update on a patch for this...we want the resource bundles to be loaded from a content management system using HTTP..?? > default resource bundles don't load via TextProvider (they have to load via ResourceBundle.getBundle) > ----------------------------------------------------------------------------------------------------- > > Key: WW-2774 > URL: https://issues.apache.org/struts/browse/WW-2774 > Project: Struts 2 > Issue Type: Improvement > Components: Other > Affects Versions: 161.129.204.104 > Reporter: Brian Repko > Fix For: Future > > > LocalizedTextUtil.findDefaultText calls LocalizedTextUtil.findResourceBundle directly in order to load ResourceBundles rather than going through TextProvider.getTexts. By having defaults come from TextProvider we can implement ResourceBundles that come from Spring (MessageSource) or implement our own factories (including calling ResourceBundle.getBundle with a ResourceBundle.Control object on JDK6). > We have a database-based content management system that does not implement ResourceBundle but does implement MessageSource. We plan to use the Spring classes to wrap MessageSource but cannot do so for default messages. Our fallback is to name our MessageSources based on packages / classes and have nothing in the defaults except for xwork-messages. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 19 07:27:53 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7784 invoked from network); 19 Jan 2010 07:27:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jan 2010 07:27:53 -0000 Received: (qmail 74381 invoked by uid 500); 19 Jan 2010 07:27:52 -0000 Delivered-To: [email protected] Received: (qmail 74347 invoked by uid 500); 19 Jan 2010 07:27:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74339 invoked by uid 99); 19 Jan 2010 07:27:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 07:27:52 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 07:27:45 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D5899234C495 for <[email protected]>; Mon, 18 Jan 2010 23:27:24 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 19 Jan 2010 07:27:24 +0000 (UTC) From: "Lukasz Lenart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-2774) default resource bundles don't load via TextProvider (they have to load via ResourceBundle.getBundle) In-Reply-To: <1204338141.1219178485131.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 [ https://issues.apache.org/struts/browse/WW-2774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47241#action_47241 ] Lukasz Lenart commented on WW-2774: ----------------------------------- I think the problem is related to bug in Xwork http://jira.opensymphony.com/browse/XW-572 which is already solved, please take a look on it and make a comment if it helps you. Regards -- Lukasz > default resource bundles don't load via TextProvider (they have to load via ResourceBundle.getBundle) > ----------------------------------------------------------------------------------------------------- > > Key: WW-2774 > URL: https://issues.apache.org/struts/browse/WW-2774 > Project: Struts 2 > Issue Type: Improvement > Components: Other > Affects Versions: 161.129.204.104 > Reporter: Brian Repko > Fix For: Future > > > LocalizedTextUtil.findDefaultText calls LocalizedTextUtil.findResourceBundle directly in order to load ResourceBundles rather than going through TextProvider.getTexts. By having defaults come from TextProvider we can implement ResourceBundles that come from Spring (MessageSource) or implement our own factories (including calling ResourceBundle.getBundle with a ResourceBundle.Control object on JDK6). > We have a database-based content management system that does not implement ResourceBundle but does implement MessageSource. We plan to use the Spring classes to wrap MessageSource but cannot do so for default messages. Our fallback is to name our MessageSources based on packages / classes and have nothing in the defaults except for xwork-messages. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 19 12:05:46 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1585 invoked from network); 19 Jan 2010 12:05:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jan 2010 12:05:46 -0000 Received: (qmail 53525 invoked by uid 500); 19 Jan 2010 12:05:45 -0000 Delivered-To: [email protected] Received: (qmail 53413 invoked by uid 500); 19 Jan 2010 12:05:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 53368 invoked by uid 99); 19 Jan 2010 12:05:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 12:05:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 12:05:44 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 687AB234C04C for <[email protected]>; Tue, 19 Jan 2010 04:05:24 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 19 Jan 2010 12:05:24 +0000 (UTC) From: "zhoujinjun (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (STR-3196) tiles insert error doInclude MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 tiles insert error doInclude ----------------------------- Key: STR-3196 URL: https://issues.apache.org/struts/browse/STR-3196 Project: Struts 1 Issue Type: New Feature Components: Tiles 1 Plugin Affects Versions: 1.3.8 Environment: weblogic 9.2 redhat as 5 Reporter: zhoujinjun Can not be used <tiles:insert> Otherwise, the following error! Definition: <tiles:insert attribute='menu' /> ========================================= tiles-defs.xml <definition name="layout.base" page="/ems/base.jsp"> <put name="menu" value="/ems/menu.jsp"/> </definition> java.lang.NoSuchMethodError: doInclude at org.apache.struts.tiles.taglib.InsertTag.doInclude(InsertTag.java:764) at org.apache.struts.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:896) at org.apache.struts.tiles.taglib.InsertTag.doEndTag(InsertTag.java:465) at jsp_servlet._demo.__base._jsp__tag0(__base.java:132) at jsp_servlet._demo.__base._jspService(__base.java:97) at weblogic.servlet.jsp.JspBase.service(JspBase.java:34) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:394) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:530) at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:266) at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1062) at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263) at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239) at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:302) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at com.shujia.commons.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3242) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 19 15:33:47 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95180 invoked from network); 19 Jan 2010 15:33:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jan 2010 15:33:46 -0000 Received: (qmail 68286 invoked by uid 500); 19 Jan 2010 15:33:45 -0000 Delivered-To: [email protected] Received: (qmail 68240 invoked by uid 500); 19 Jan 2010 15:33:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 68204 invoked by uid 99); 19 Jan 2010 15:33:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 15:33:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 15:33:44 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id AF389234C498 for <[email protected]>; Tue, 19 Jan 2010 07:33:24 -0800 (PST) Message-ID: <{{EMAIL+PHONE}}> Date: Tue, 19 Jan 2010 15:33:24 +0000 (UTC) From: "Lukasz Lenart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (WW-2754) Source code for GXP result In-Reply-To: <691618818.1218138985038.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 [ https://issues.apache.org/struts/browse/WW-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart reassigned WW-2754: --------------------------------- Assignee: Lukasz Lenart > Source code for GXP result > --------------------------- > > Key: WW-2754 > URL: https://issues.apache.org/struts/browse/WW-2754 > Project: Struts 2 > Issue Type: Temp > Reporter: Musachy Barroso > Assignee: Lukasz Lenart > Fix For: Future > > Attachments: gxp.webwork.tar.gz, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip > > > Thanks to the google and the GXP guys for sending us the code -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 19 15:33:50 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95271 invoked from network); 19 Jan 2010 15:33:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jan 2010 15:33:50 -0000 Received: (qmail 68769 invoked by uid 500); 19 Jan 2010 15:33:50 -0000 Delivered-To: [email protected] Received: (qmail 68740 invoked by uid 500); 19 Jan 2010 15:33:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 68732 invoked by uid 99); 19 Jan 2010 15:33:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 15:33:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 15:33:45 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A66E9234C04C for <[email protected]>; Tue, 19 Jan 2010 07:33:24 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 19 Jan 2010 15:33:24 +0000 (UTC) From: "Lukasz Lenart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (WW-3354) Update pom.xml for struts2-gxp-plugin to use latest versions of Struts 2 and GXP In-Reply-To: <609711000.1260606703487.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-3354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart reassigned WW-3354: --------------------------------- Assignee: Lukasz Lenart > Update pom.xml for struts2-gxp-plugin to use latest versions of Struts 2 and GXP > -------------------------------------------------------------------------------- > > Key: WW-3354 > URL: https://issues.apache.org/struts/browse/WW-3354 > Project: Struts 2 > Issue Type: Improvement > Affects Versions: 2.1.8 > Reporter: Benjamin McCann > Assignee: Lukasz Lenart > Priority: Minor > Attachments: pom.xml.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 19 15:43:45 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98315 invoked from network); 19 Jan 2010 15:43:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jan 2010 15:43:45 -0000 Received: (qmail 87121 invoked by uid 500); 19 Jan 2010 15:43:45 -0000 Delivered-To: [email protected] Received: (qmail 87085 invoked by uid 500); 19 Jan 2010 15:43:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 87077 invoked by uid 99); 19 Jan 2010 15:43:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 15:43:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 15:43:44 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 50D51234C1F1 for <[email protected]>; Tue, 19 Jan 2010 07:43:24 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 19 Jan 2010 15:43:24 +0000 (UTC) From: "Benjamin McCann (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-3354) Update pom.xml for struts2-gxp-plugin to use latest versions of Struts 2 and GXP In-Reply-To: <609711000.1260606703487.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 [ https://issues.apache.org/struts/browse/WW-3354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47242#action_47242 ] Benjamin McCann commented on WW-3354: ------------------------------------- I filed this bug before becoming too familiar with the plugin. I think the better thing to do would be to delete all the existing source and replace it with https://issues.apache.org/struts/browse/WW-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > Update pom.xml for struts2-gxp-plugin to use latest versions of Struts 2 and GXP > -------------------------------------------------------------------------------- > > Key: WW-3354 > URL: https://issues.apache.org/struts/browse/WW-3354 > Project: Struts 2 > Issue Type: Improvement > Affects Versions: 2.1.8 > Reporter: Benjamin McCann > Assignee: Lukasz Lenart > Priority: Minor > Attachments: pom.xml.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 19 15:45:45 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99020 invoked from network); 19 Jan 2010 15:45:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jan 2010 15:45:45 -0000 Received: (qmail 90394 invoked by uid 500); 19 Jan 2010 15:45:45 -0000 Delivered-To: [email protected] Received: (qmail 90371 invoked by uid 500); 19 Jan 2010 15:45:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 90363 invoked by uid 99); 19 Jan 2010 15:45:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 15:45:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 15:45:44 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 692AB234C04C for <[email protected]>; Tue, 19 Jan 2010 07:45:24 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 19 Jan 2010 15:45:24 +0000 (UTC) From: "Lukasz Lenart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-3354) Update pom.xml for struts2-gxp-plugin to use latest versions of Struts 2 and GXP In-Reply-To: <609711000.1260606703487.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 [ https://issues.apache.org/struts/browse/WW-3354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47243#action_47243 ] Lukasz Lenart commented on WW-3354: ----------------------------------- So then, this issue can be closed? Regards -- Lukasz > Update pom.xml for struts2-gxp-plugin to use latest versions of Struts 2 and GXP > -------------------------------------------------------------------------------- > > Key: WW-3354 > URL: https://issues.apache.org/struts/browse/WW-3354 > Project: Struts 2 > Issue Type: Improvement > Affects Versions: 2.1.8 > Reporter: Benjamin McCann > Assignee: Lukasz Lenart > Priority: Minor > Attachments: pom.xml.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 19 15:47:47 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 775 invoked from network); 19 Jan 2010 15:47:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jan 2010 15:47:46 -0000 Received: (qmail 95507 invoked by uid 500); 19 Jan 2010 15:47:46 -0000 Delivered-To: [email protected] Received: (qmail 95480 invoked by uid 500); 19 Jan 2010 15:47:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 95472 invoked by uid 99); 19 Jan 2010 15:47:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 15:47:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 15:47:45 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 88437234C1F1 for <[email protected]>; Tue, 19 Jan 2010 07:47:25 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 19 Jan 2010 15:47:25 +0000 (UTC) From: "Lukasz Lenart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-2754) Source code for GXP result In-Reply-To: <691618818.1218138985038.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 [ https://issues.apache.org/struts/browse/WW-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47244#action_47244 ] Lukasz Lenart commented on WW-2754: ----------------------------------- I will commit your changes to sandbox and hopefully we will be able to move it to Struts 2 trunk after all. Regards -- Lukasz > Source code for GXP result > --------------------------- > > Key: WW-2754 > URL: https://issues.apache.org/struts/browse/WW-2754 > Project: Struts 2 > Issue Type: Temp > Reporter: Musachy Barroso > Assignee: Lukasz Lenart > Fix For: Future > > Attachments: gxp.webwork.tar.gz, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip > > > Thanks to the google and the GXP guys for sending us the code -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 19 15:51:46 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2393 invoked from network); 19 Jan 2010 15:51:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jan 2010 15:51:46 -0000 Received: (qmail 1676 invoked by uid 500); 19 Jan 2010 15:51:45 -0000 Delivered-To: [email protected] Received: (qmail 1615 invoked by uid 500); 19 Jan 2010 15:51:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 1602 invoked by uid 99); 19 Jan 2010 15:51:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 15:51:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 15:51:44 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 88607234C1F1 for <[email protected]>; Tue, 19 Jan 2010 07:51:24 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 19 Jan 2010 15:51:24 +0000 (UTC) From: "Benjamin McCann (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-3354) Update pom.xml for struts2-gxp-plugin to use latest versions of Struts 2 and GXP In-Reply-To: <609711000.1260606703487.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 [ https://issues.apache.org/struts/browse/WW-3354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47245#action_47245 ] Benjamin McCann commented on WW-3354: ------------------------------------- Sure, if you do delete the existing source, then feel free to close this issue. > Update pom.xml for struts2-gxp-plugin to use latest versions of Struts 2 and GXP > -------------------------------------------------------------------------------- > > Key: WW-3354 > URL: https://issues.apache.org/struts/browse/WW-3354 > Project: Struts 2 > Issue Type: Improvement > Affects Versions: 2.1.8 > Reporter: Benjamin McCann > Assignee: Lukasz Lenart > Priority: Minor > Attachments: pom.xml.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 19 16:43:56 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33090 invoked from network); 19 Jan 2010 16:43:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jan 2010 16:43:55 -0000 Received: (qmail 8693 invoked by uid 500); 19 Jan 2010 16:43:55 -0000 Delivered-To: [email protected] Received: (qmail 8641 invoked by uid 500); 19 Jan 2010 16:43:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 8633 invoked by uid 99); 19 Jan 2010 16:43:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 16:43:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 16:43:45 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 7F461234C1F1 for <[email protected]>; Tue, 19 Jan 2010 08:43:24 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 19 Jan 2010 16:43:24 +0000 (UTC) From: "Roland McIntosh (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-3181) Struts2 showcase does not deploy on JBoss 5.1 In-Reply-To: <694540824.1247169419038.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-3181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47246#action_47246 ] Roland McIntosh commented on WW-3181: ------------------------------------- I can verify that this is also a problem with the Struts2 2.1.8 showcase > Struts2 showcase does not deploy on JBoss 5.1 > --------------------------------------------- > > Key: WW-3181 > URL: https://issues.apache.org/struts/browse/WW-3181 > Project: Struts 2 > Issue Type: Bug > Affects Versions: 2.1.6 > Environment: Windows XP, JDK 1.6, JBoss 5.1 GA > Reporter: Joerg Friedrich > Fix For: 2.1.9 > > > I have tried to deploy the Struts2 showcase (struts2-showcase-2.1.6.war) on JBoss 5.1 (out of the box configuration). > I unzipped the war file into the JBoss server default/deploy/struts.war directory (exploded mode). > I started JBoss. Everything went okay. > I modified the WEB-INF/web.xml file and uncommented the following: > <filter> > <filter-name>struts</filter-name> > <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class> > </filter> > I again started JBoss and got the following error: > ring.StrutsSpringObjectFactory:31) - ... initialized Struts-Spring integration s > uccessfully > 19:39:39,796 ERROR [[/struts]] Exception starting filter struts > java.lang.RuntimeException: java.lang.RuntimeException: com.opensymphony.xwork2. > inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$Missing > DependencyException: No mapping found for dependency [type=java.lang.String, nam > e='actionPackages'] in public void org.apache.struts2.config.ClasspathPackagePro > vider.setActionPackages(java.lang.String). > at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBui > lder.java:132) > at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:51) > at com.opensymphony.xwork2.inject.ContainerImpl.getInstance(ContainerImp > l.java:507) > at com.opensymphony.xwork2.inject.ContainerImpl$8.call(ContainerImpl.jav > a:540) > at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerI > mpl.java:574) > at com.opensymphony.xwork2.inject.ContainerImpl.getInstance(ContainerImp > l.java:538) > at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContai > ner(DefaultConfiguration.java:198) > .... > .... > .... > Caused by: java.lang.RuntimeException: com.opensymphony.xwork2.inject.Dependency > Exception: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyExcepti > on: No mapping found for dependency [type=java.lang.String, name='actionPackages > '] in public void org.apache.struts2.config.ClasspathPackageProvider.setActionPa > ckages(java.lang.String). > .... > I can change this error by replacing the xworks-2.1.2.jar file in WEB-INF/lib with xworks-2.1.3.jar to: > Unable to load configuration. - Class: java.io.File > File: File.java > Method: <init> > Line: 366 - java/io/File.java:366:-1 > at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration( > ConfigurationManager.java:58) > at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Di > spatcher.java:360) > at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:403) > at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher. > java:190) > at org.apache.catalina.core.ApplicationFilterConfig.getFilter(Applicatio > nFilterConfig.java:234) > at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Applica > tionFilterConfig.java:332) > at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFi > lterConfig.java:90) > ... > ... > Caused by: Caught exception while loading file struts-default.xml - Class: java. > io.File > File: File.java > Method: <init> > Line: 366 - java/io/File.java:366:-1 > at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loa > dConfigurationFiles(XmlConfigurationProvider.java:894) > at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loa > dDocuments(XmlConfigurationProvider.java:144) > at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.ini > t(XmlConfigurationProvider.java:111) > at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContai > ner(DefaultConfiguration.java:164) > at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration( > ConfigurationManager.java:55) > ... 75 more > JBoss has some peculiar classpath handling, so I have played around with that as well. For example I have added the following file jboss-web.xml to WEB-INF: > <?xml version="1.0"?> > <!DOCTYPE jboss-web PUBLIC > "-//JBoss//DTD Web Application 5.0//EN" > "http://www.jboss.org/j2ee/dtd/jboss-web_5_0.dtd"> > <jboss-web> > <class-loading java2ClassLoadingCompliance="false"> > <loader-repository> > com.struts:loader=struts.war > <loader-repository-config>java2ParentDelegation=false</loader-repository-config> > </loader-repository> > </class-loading> > </jboss-web> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jan 20 05:31:49 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15424 invoked from network); 20 Jan 2010 05:31:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Jan 2010 05:31:48 -0000 Received: (qmail 29652 invoked by uid 500); 20 Jan 2010 05:31:48 -0000 Delivered-To: [email protected] Received: (qmail 29531 invoked by uid 500); 20 Jan 2010 05:31:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 29523 invoked by uid 99); 20 Jan 2010 05:31:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jan 2010 05:31:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jan 2010 05:31:46 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 2BBD0234C4A7 for <[email protected]>; Tue, 19 Jan 2010 21:31:26 -0800 (PST) Message-ID: <[email protected]> Date: Wed, 20 Jan 2010 05:31:26 +0000 (UTC) From: "zhoujinjun (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (STR-3196) tiles insert error doInclude In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 [ https://issues.apache.org/struts/browse/STR-3196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] zhoujinjun updated STR-3196: ---------------------------- it's ok struts 1.1 with struts 1.3 Packet collisions > tiles insert error doInclude > ----------------------------- > > Key: STR-3196 > URL: https://issues.apache.org/struts/browse/STR-3196 > Project: Struts 1 > Issue Type: New Feature > Components: Tiles 1 Plugin > Affects Versions: 1.3.8 > Environment: weblogic 9.2 > redhat as 5 > Reporter: zhoujinjun > > Can not be used <tiles:insert> > Otherwise, the following error! > Definition: > <tiles:insert attribute='menu' /> > ========================================= > tiles-defs.xml > <definition name="layout.base" page="/ems/base.jsp"> > <put name="menu" value="/ems/menu.jsp"/> > </definition> > java.lang.NoSuchMethodError: doInclude > at org.apache.struts.tiles.taglib.InsertTag.doInclude(InsertTag.java:764) > at org.apache.struts.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:896) > at org.apache.struts.tiles.taglib.InsertTag.doEndTag(InsertTag.java:465) > at jsp_servlet._demo.__base._jsp__tag0(__base.java:132) > at jsp_servlet._demo.__base._jspService(__base.java:97) > at weblogic.servlet.jsp.JspBase.service(JspBase.java:34) > at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) > at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) > at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) > at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:394) > at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309) > at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) > at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:530) > at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:266) > at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1062) > at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263) > at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239) > at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:302) > at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229) > at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) > at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) > at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) > at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) > at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) > at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) > at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) > at com.shujia.commons.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122) > at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) > at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3242) > at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jan 22 12:23:49 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45949 invoked from network); 22 Jan 2010 12:23:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Jan 2010 12:23:49 -0000 Received: (qmail 17649 invoked by uid 500); 22 Jan 2010 12:23:48 -0000 Delivered-To: [email protected] Received: (qmail 17614 invoked by uid 500); 22 Jan 2010 12:23:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 17606 invoked by uid 99); 22 Jan 2010 12:23:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jan 2010 12:23:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jan 2010 12:23:45 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A1C5A29A0012 for <[email protected]>; Fri, 22 Jan 2010 04:23:24 -0800 (PST) Message-ID: <[email protected]> Date: Fri, 22 Jan 2010 12:23:24 +0000 (UTC) From: "Philipp Leusmann (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (WW-3377) template location is not properly resolved when using action-tag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org template location is not properly resolved when using action-tag ---------------------------------------------------------------- Key: WW-3377 URL: https://issues.apache.org/struts/browse/WW-3377 Project: Struts 2 Issue Type: Bug Affects Versions: 2.1.8 Reporter: Philipp Leusmann if an action-tag with executeResults=true includes an action from a different namespace and the template location of the included action in struts.xml is expressed relative to the namespace, template-loading for the included action fails. The template of the included action is searched for in the directory belonging to the namespace of the including action. Example: struts.xml: <package name="p1" extends="struts-default" namespace="/ns1"> <action name="includingAction"> <result type="freemarker" name="success">includer.ftl</result> </action> </package> <package name="p2" extends="struts-default" namespace="/ns2"> <action name="includedAction"> <result type="freemarker" name="success">included.ftl</result> </action> </package> and in includer.ftl: <@s.action name=includedAction" namespace="ns2" executeResults=true /> Will result in an Exception: ERROR ActionComponent:27 - Could not execute action: /ns1/includingAction java.io.FileNotFoundException: Template /ns1/included.ftl not found. at freemarker.template.Configuration.getTemplate(Configuration.java:489) at freemarker.template.Configuration.getTemplate(Configuration.java:459) at org.apache.struts2.views.freemarker.FreemarkerResult.doExecute(FreemarkerResult.java:168) [...] -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sun Jan 24 05:36:52 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92427 invoked from network); 24 Jan 2010 05:36:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jan 2010 05:36:52 -0000 Received: (qmail 93081 invoked by uid 500); 24 Jan 2010 05:36:51 -0000 Delivered-To: [email protected] Received: (qmail 92987 invoked by uid 500); 24 Jan 2010 05:36:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 92979 invoked by uid 99); 24 Jan 2010 05:36:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Jan 2010 05:36:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Jan 2010 05:36:46 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E0AFE234C4A9 for <[email protected]>; Sat, 23 Jan 2010 21:36:25 -0800 (PST) Message-ID: <[email protected]> Date: Sun, 24 Jan 2010 05:36:25 +0000 (UTC) From: "Nuwan Chandrasoma (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-2754) Source code for GXP result In-Reply-To: <691618818.1218138985038.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47248#action_47248 ] Nuwan Chandrasoma commented on WW-2754: --------------------------------------- Thanks everyone for the great work, i was able to get this plugin working and ran a small example. i had to do few changes to the pom.xml file to get this compile. 1. it was complaining about the source version. so had to integrate the maven-compiler-plugin <build> <defaultGoal>install</defaultGoal> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> </plugins> </build> 2. this was using google collection framkework rc5, google has released 1.0 final version changed the dependence version <dependency> <groupId>com.google.collections</groupId> <artifactId>google-collections</artifactId> <version>1.0</version> </dependency> Regards, Nuwan C. > Source code for GXP result > --------------------------- > > Key: WW-2754 > URL: https://issues.apache.org/struts/browse/WW-2754 > Project: Struts 2 > Issue Type: Temp > Reporter: Musachy Barroso > Assignee: Lukasz Lenart > Fix For: Future > > Attachments: gxp.webwork.tar.gz, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip > > > Thanks to the google and the GXP guys for sending us the code -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sun Jan 24 05:42:49 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94536 invoked from network); 24 Jan 2010 05:42:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jan 2010 05:42:48 -0000 Received: (qmail 93636 invoked by uid 500); 24 Jan 2010 05:42:47 -0000 Delivered-To: [email protected] Received: (qmail 93567 invoked by uid 500); 24 Jan 2010 05:42:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 93559 invoked by uid 99); 24 Jan 2010 05:42:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Jan 2010 05:42:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Jan 2010 05:42:44 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 60A6B234C4AA for <[email protected]>; Sat, 23 Jan 2010 21:42:24 -0800 (PST) Message-ID: <[email protected]> Date: Sun, 24 Jan 2010 05:42:24 +0000 (UTC) From: "Nuwan Chandrasoma (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-2754) Source code for GXP result In-Reply-To: <691618818.1218138985038.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 [ https://issues.apache.org/struts/browse/WW-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47249#action_47249 ] Nuwan Chandrasoma commented on WW-2754: --------------------------------------- Hi Benjamin McCann, i used the below code in the pom.xml to generate gxp to java in my maven build, hope this will help you also. <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <phase>generate-sources</phase> <configuration> <tasks> <taskdef name="gxpc" classname="com.google.gxp.compiler.ant.GxpcTask" classpathref="maven.compile.classpath" /> <gxpc srcdir="${basedir}\src\main\java" srcpaths="${basedir}\src\main\java" destdir="${basedir}\target\generated-sources" target="com.xxxss.s2.example.message" i18nwarn="false" /> <copy todir="${basedir}\src\main\java"> <fileset dir="${basedir}\target\generated-sources" /> </copy> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> Thanks, Nuwan C. > Source code for GXP result > --------------------------- > > Key: WW-2754 > URL: https://issues.apache.org/struts/browse/WW-2754 > Project: Struts 2 > Issue Type: Temp > Reporter: Musachy Barroso > Assignee: Lukasz Lenart > Fix For: Future > > Attachments: gxp.webwork.tar.gz, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip > > > Thanks to the google and the GXP guys for sending us the code -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jan 25 03:58:48 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34004 invoked from network); 25 Jan 2010 03:58:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jan 2010 03:58:48 -0000 Received: (qmail 83812 invoked by uid 500); 25 Jan 2010 03:58:48 -0000 Delivered-To: [email protected] Received: (qmail 83593 invoked by uid 500); 25 Jan 2010 03:58:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 83585 invoked by uid 99); 25 Jan 2010 03:58:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jan 2010 03:58:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jan 2010 03:58:45 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 3C388234C4A7 for <[email protected]>; Sun, 24 Jan 2010 19:58:25 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 25 Jan 2010 03:58:25 +0000 (UTC) From: "Benjamin McCann (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-2754) Source code for GXP result In-Reply-To: <691618818.1218138985038.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 [ https://issues.apache.org/struts/browse/WW-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47250#action_47250 ] Benjamin McCann commented on WW-2754: ------------------------------------- Thanks Nuwan. I'm glad you had success with it! The plugin code you shared will be very helpful for me. I wanted to do something along those lines, but am not too familiar with Maven. Hopefully we can get this checked in soon and then I can share this with others I know who would like to continue making improvements such as getting the GXP jar into the Google Maven repository. > Source code for GXP result > --------------------------- > > Key: WW-2754 > URL: https://issues.apache.org/struts/browse/WW-2754 > Project: Struts 2 > Issue Type: Temp > Reporter: Musachy Barroso > Assignee: Lukasz Lenart > Fix For: Future > > Attachments: gxp.webwork.tar.gz, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip > > > Thanks to the google and the GXP guys for sending us the code -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jan 25 15:26:49 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56052 invoked from network); 25 Jan 2010 15:26:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jan 2010 15:26:49 -0000 Received: (qmail 51702 invoked by uid 500); 25 Jan 2010 15:26:49 -0000 Delivered-To: [email protected] Received: (qmail 51624 invoked by uid 500); 25 Jan 2010 15:26:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51600 invoked by uid 99); 25 Jan 2010 15:26:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jan 2010 15:26:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jan 2010 15:26:45 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id AE4FA29A0016 for <[email protected]>; Mon, 25 Jan 2010 07:26:24 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 25 Jan 2010 15:26:24 +0000 (UTC) From: "Maciej M (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (STR-3193) Locale Date Validation with Client Side Javascript In-Reply-To: <1119716720.1248885539599.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/STR-3193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47251#action_47251 ] Maciej M commented on STR-3193: ------------------------------- David shouldn't we use DateFormat.DEFAULT instead of SHORT, we wan't to have default pattern. > Locale Date Validation with Client Side Javascript > -------------------------------------------------- > > Key: STR-3193 > URL: https://issues.apache.org/struts/browse/STR-3193 > Project: Struts 1 > Issue Type: Bug > Components: Tag Libraries > Affects Versions: 1.3.10 > Environment: Windows XP or Suse 10.2, JBoss 4.2.3, Struts 1.3.10, JDK1.5_16 > Reporter: David Webb > Assignee: Paul Benedict > Fix For: Pending Review > > Attachments: JavascriptValidatorTag.java.patch, Struts.patch > > > This bug has to do with the struts-taglib package, specifically the code generated by <html:javascript> which comes from the org.apache.struts.taglib.html.JavascriptValidatorTag class. > My implementation of the patch may not be the most effective way to accomplish this, but the bug prevents a true Locale specific implementation of Forms with Dates. > From the Struts Validation Documentation (which holds true on the server side validation): > "If no pattern is specified the default short date format is assumed." > However, if you define a Form Field as a "date" with no pattern, the client side javascript does not render the datePattern in the javascript and causes a clientside js NPE when checking the length of this.datePattern. > I have added an additional method for formatting the Locale SHORT date format to fill out in the MM, dd, and yyyy elements required by the static javascript generator from the Commons-Validator project. > The real patch is when looping over form fields from validation.xml. I check if it is a type "date" then keep track of whether or not a var named "datePattern" exists. If not, I add datePattern based on the Local passed in. > Please let me know if I can help. This is a really important feature for my application. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jan 25 16:08:48 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69625 invoked from network); 25 Jan 2010 16:08:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jan 2010 16:08:48 -0000 Received: (qmail 17321 invoked by uid 500); 25 Jan 2010 16:08:47 -0000 Delivered-To: [email protected] Received: (qmail 17289 invoked by uid 500); 25 Jan 2010 16:08:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 17281 invoked by uid 99); 25 Jan 2010 16:08:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jan 2010 16:08:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jan 2010 16:08:45 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 750A729A0017 for <[email protected]>; Mon, 25 Jan 2010 08:08:24 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 25 Jan 2010 16:08:24 +0000 (UTC) From: "David Webb (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (STR-3193) Locale Date Validation with Client Side Javascript In-Reply-To: <1119716720.1248885539599.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/STR-3193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47253#action_47253 ] David Webb commented on STR-3193: --------------------------------- That sounds fine. The important thing is that is uses a standard pattern that the validator can use. Thanks. > Locale Date Validation with Client Side Javascript > -------------------------------------------------- > > Key: STR-3193 > URL: https://issues.apache.org/struts/browse/STR-3193 > Project: Struts 1 > Issue Type: Bug > Components: Tag Libraries > Affects Versions: 1.3.10 > Environment: Windows XP or Suse 10.2, JBoss 4.2.3, Struts 1.3.10, JDK1.5_16 > Reporter: David Webb > Assignee: Paul Benedict > Fix For: Pending Review > > Attachments: JavascriptValidatorTag.java.patch, Struts.patch > > > This bug has to do with the struts-taglib package, specifically the code generated by <html:javascript> which comes from the org.apache.struts.taglib.html.JavascriptValidatorTag class. > My implementation of the patch may not be the most effective way to accomplish this, but the bug prevents a true Locale specific implementation of Forms with Dates. > From the Struts Validation Documentation (which holds true on the server side validation): > "If no pattern is specified the default short date format is assumed." > However, if you define a Form Field as a "date" with no pattern, the client side javascript does not render the datePattern in the javascript and causes a clientside js NPE when checking the length of this.datePattern. > I have added an additional method for formatting the Locale SHORT date format to fill out in the MM, dd, and yyyy elements required by the static javascript generator from the Commons-Validator project. > The real patch is when looping over form fields from validation.xml. I check if it is a type "date" then keep track of whether or not a var named "datePattern" exists. If not, I add datePattern based on the Local passed in. > Please let me know if I can help. This is a really important feature for my application. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jan 25 22:53:46 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58388 invoked from network); 25 Jan 2010 22:53:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jan 2010 22:53:45 -0000 Received: (qmail 37392 invoked by uid 500); 25 Jan 2010 22:53:45 -0000 Delivered-To: [email protected] Received: (qmail 37315 invoked by uid 500); 25 Jan 2010 22:53:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 37305 invoked by uid 99); 25 Jan 2010 22:53:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jan 2010 22:53:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jan 2010 22:53:44 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 82DD429A0017 for <[email protected]>; Mon, 25 Jan 2010 14:53:24 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 25 Jan 2010 22:53:24 +0000 (UTC) From: "Maciej M (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (STR-3193) Locale Date Validation with Client Side Javascript In-Reply-To: <1119716720.1248885539599.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 [ https://issues.apache.org/struts/browse/STR-3193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47254#action_47254 ] Maciej M commented on STR-3193: ------------------------------- I've voted for it so let's wait for the fix. > Locale Date Validation with Client Side Javascript > -------------------------------------------------- > > Key: STR-3193 > URL: https://issues.apache.org/struts/browse/STR-3193 > Project: Struts 1 > Issue Type: Bug > Components: Tag Libraries > Affects Versions: 1.3.10 > Environment: Windows XP or Suse 10.2, JBoss 4.2.3, Struts 1.3.10, JDK1.5_16 > Reporter: David Webb > Assignee: Paul Benedict > Fix For: Pending Review > > Attachments: JavascriptValidatorTag.java.patch, Struts.patch > > > This bug has to do with the struts-taglib package, specifically the code generated by <html:javascript> which comes from the org.apache.struts.taglib.html.JavascriptValidatorTag class. > My implementation of the patch may not be the most effective way to accomplish this, but the bug prevents a true Locale specific implementation of Forms with Dates. > From the Struts Validation Documentation (which holds true on the server side validation): > "If no pattern is specified the default short date format is assumed." > However, if you define a Form Field as a "date" with no pattern, the client side javascript does not render the datePattern in the javascript and causes a clientside js NPE when checking the length of this.datePattern. > I have added an additional method for formatting the Locale SHORT date format to fill out in the MM, dd, and yyyy elements required by the static javascript generator from the Commons-Validator project. > The real patch is when looping over form fields from validation.xml. I check if it is a type "date" then keep track of whether or not a var named "datePattern" exists. If not, I add datePattern based on the Local passed in. > Please let me know if I can help. This is a really important feature for my application. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 26 10:47:46 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81901 invoked from network); 26 Jan 2010 10:47:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Jan 2010 10:47:46 -0000 Received: (qmail 62454 invoked by uid 500); 26 Jan 2010 10:47:46 -0000 Delivered-To: [email protected] Received: (qmail 62373 invoked by uid 500); 26 Jan 2010 10:47:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 62365 invoked by uid 99); 26 Jan 2010 10:47:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jan 2010 10:47:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jan 2010 10:47:44 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 64699234C4B8 for <[email protected]>; Tue, 26 Jan 2010 02:47:24 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 26 Jan 2010 10:47:24 +0000 (UTC) From: "Mohamed El Kashef (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (STR-1569) FormFile implementations should be serializable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 [ https://issues.apache.org/struts/browse/STR-1569?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D4725= 5#action_47255 ]=20 Mohamed El Kashef commented on STR-1569: ---------------------------------------- I don't think that this bug was fixed. In version 1.3.10 the class FileForm= is still not serialisable. Could someone please give me more details about= this bug. Thank you in advance > FormFile implementations should be serializable > ----------------------------------------------- > > Key: STR-1569 > URL: https://issues.apache.org/struts/browse/STR-1569 > Project: Struts 1 > Issue Type: Improvement > Components: Core > Affects Versions: 1.1.0 > Environment: Operating System: other > Platform: Other > Reporter: Ryan Barker > Priority: Minor > Fix For: 1.2 Family > > > Side Note: Version for this bug is 1.1 Final which is not currently added= to the > Version list > Issue: Placing a FormFile (CommonsMultipartRequestHandler.CommonsFormFile= for > example) into the users session will throw an IllegalArgumentException wh= en the > session is serialized to disk or to a clustered machine on J2EE compliant > webservers (Weblogic for example). Note that java.io.File does implement > Serializable. > The issue manifests itself in wizard style applications where the file is= first > uploaded and then other web requests, such as creating a parse format, mu= st be > made before the file is manipulated and saved to a database. The natural > implementation of this style of application would be to have a FormFile a= s one > of the properties of the ActionForm, and save the form in the session. Si= nce it > is not serializable, the app server is allowed to throw an exception. > Work around steps: > 1) Use request scoped ActionForm for the file upload. > 2) In the Action, write the FormFile to a temporary file created with > File.createTempFile > 3) Finally place the File in the session or a session scoped ActionForm > Fix: > Make FormFile implementations, and any other object that would be stored = in an > ActionForm implement the java.io.Serializable interface. > Reference material from J2EE1.3 spec Section 6.5 on Servlet 2.3 requireme= nts: > A J2EE distributable web application may place only objects of the follow= ing > types into a javax.servlet.http.HttpSession object using the setAttribute= or > putValue methods: > =C2=95 java.io.Serializable > =C2=95 javax.ejb.EJBObject > =C2=95 javax.ejb.EJBHome > =C2=95 javax.transaction.UserTransaction > =C2=95 a javax.naming.Context object for the java:comp/env context > Web containers may throw an IllegalArgumentException if an object that is > not one of the above types is passed to the setAttribute or putValue meth= ods of > an HttpSession object corresponding to a J2EE distributable session. > Please feel free to contact me regarding this bug. > Ryan Barker --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 26 13:15:48 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34513 invoked from network); 26 Jan 2010 13:15:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Jan 2010 13:15:48 -0000 Received: (qmail 14857 invoked by uid 500); 26 Jan 2010 13:15:47 -0000 Delivered-To: [email protected] Received: (qmail 14791 invoked by uid 500); 26 Jan 2010 13:15:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 14782 invoked by uid 99); 26 Jan 2010 13:15:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jan 2010 13:15:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jan 2010 13:15:45 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 68EF329A0012 for <[email protected]>; Tue, 26 Jan 2010 05:15:24 -0800 (PST) Message-ID: <{{EMAIL+PHONE}}> Date: Tue, 26 Jan 2010 13:15:24 +0000 (UTC) From: "Lukasz Lenart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-2754) Source code for GXP result In-Reply-To: <691618818.1218138985038.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47256#action_47256 ] Lukasz Lenart commented on WW-2754: ----------------------------------- Is it possible to use Struts 2 tags with that result? Regards -- Lukasz > Source code for GXP result > --------------------------- > > Key: WW-2754 > URL: https://issues.apache.org/struts/browse/WW-2754 > Project: Struts 2 > Issue Type: Temp > Reporter: Musachy Barroso > Assignee: Lukasz Lenart > Fix For: Future > > Attachments: gxp.webwork.tar.gz, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip > > > Thanks to the google and the GXP guys for sending us the code -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 26 13:39:46 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49218 invoked from network); 26 Jan 2010 13:39:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Jan 2010 13:39:46 -0000 Received: (qmail 46627 invoked by uid 500); 26 Jan 2010 13:39:45 -0000 Delivered-To: [email protected] Received: (qmail 46578 invoked by uid 500); 26 Jan 2010 13:39:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 46570 invoked by uid 99); 26 Jan 2010 13:39:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jan 2010 13:39:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jan 2010 13:39:44 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 558E2234C1EF for <[email protected]>; Tue, 26 Jan 2010 05:39:24 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 26 Jan 2010 13:39:24 +0000 (UTC) From: "nandagopal (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (WW-3378) Struts dojo auto completer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 Struts dojo auto completer -------------------------- Key: WW-3378 URL: https://issues.apache.org/struts/browse/WW-3378 Project: Struts 2 Issue Type: Bug Components: Plugin - Dojo Tags Affects Versions: 2.1.8 Environment: windows mysql ie 7 Reporter: nandagopal Assignee: Ian Roughley based on a tutorial,i created an action called AutoCompleteCityAction and configured in struts.xml like .....Action.java package ajaxstruts; import java.util.List; import java.util.Map; import java.util.HashMap; import com.opensymphony.xwork2.ActionSupport; public class AutoCompleteCityAction extends ActionSupport { Map<String,String> json; String city; CitiesDAO dao; public Map<String, String> getJson () { return json; } public void setJson (Map<String, String> json ) { this.json = json; } public String getCity () { return city; } public void setCity (String city ) { this.city = city; } public AutoCompleteCityAction() { } public String execute()throws Exception { return SUCCESS; } public String getCities() { if(city != null && (!city.isEmpty())) { json = new HashMap<String,String>(); dao = new CitiesDAO(); List<City> list = dao.getCities(city); for(City city: list) { json.put(""+city.getCityId(),city.getCityName()+","+city.getStateName()); } } return SUCCESS; } } <package name="ajaxstruts" extends="json-default"> <action name="autoComplete" class="ajaxstruts.AutoCompleteCityAction" > <result type="json"> <param name="root">json</param> </result> </action> </package> then written as .jsp <%@ taglib prefix="s" uri="/struts-tags" %> <%@ taglib prefix="sx" uri="/struts-dojo-tags" %> <html> <head> <sx:head /> </head> <body> <div align="center"> <s:label name="City" value="Choose City:" /> <s:url id="cityList" action="autoComplete" method="getCities" /> <sx:autocompleter name="city" href="{%cityList}" size="20" /> </div> </body> </html> when i am running the text box is showing "message type number" but no auto completion [even after adding autoComplete="true" ] please look into -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 26 13:47:48 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57413 invoked from network); 26 Jan 2010 13:47:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Jan 2010 13:47:48 -0000 Received: (qmail 58289 invoked by uid 500); 26 Jan 2010 13:47:47 -0000 Delivered-To: [email protected] Received: (qmail 58233 invoked by uid 500); 26 Jan 2010 13:47:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58225 invoked by uid 99); 26 Jan 2010 13:47:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jan 2010 13:47:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jan 2010 13:47:45 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 58363234C1EF for <[email protected]>; Tue, 26 Jan 2010 05:47:24 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 26 Jan 2010 13:47:24 +0000 (UTC) From: "Lukasz Lenart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (WW-3378) Struts dojo auto completer In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-3378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart closed WW-3378. ----------------------------- Resolution: Won't Fix The Dojo plugin is deprecated, please ask for help on the Struts user group. Regards -- Lukasz > Struts dojo auto completer > -------------------------- > > Key: WW-3378 > URL: https://issues.apache.org/struts/browse/WW-3378 > Project: Struts 2 > Issue Type: Bug > Components: Plugin - Dojo Tags > Affects Versions: 2.1.8 > Environment: windows mysql ie 7 > Reporter: nandagopal > Assignee: Ian Roughley > > based on a tutorial,i created an action called AutoCompleteCityAction and configured in struts.xml like > .....Action.java > package ajaxstruts; > import java.util.List; > import java.util.Map; > import java.util.HashMap; > import com.opensymphony.xwork2.ActionSupport; > public class AutoCompleteCityAction extends ActionSupport { > Map<String,String> json; > String city; > CitiesDAO dao; > public Map<String, String> getJson () { > return json; > } > public void setJson (Map<String, String> json ) { > this.json = json; > } > public String getCity () { > return city; > } > public void setCity (String city ) { > this.city = city; > } > > public AutoCompleteCityAction() { > > } > > public String execute()throws Exception { > return SUCCESS; > } > > public String getCities() { > if(city != null && (!city.isEmpty())) { > json = new HashMap<String,String>(); > dao = new CitiesDAO(); > List<City> list = dao.getCities(city); > for(City city: list) { > json.put(""+city.getCityId(),city.getCityName()+","+city.getStateName()); > } > } > return SUCCESS; > } > > } > <package name="ajaxstruts" > extends="json-default"> > <action name="autoComplete" > class="ajaxstruts.AutoCompleteCityAction" > > > <result type="json"> > <param name="root">json</param> > </result> > </action> > </package> > then written as .jsp > <%@ taglib prefix="s" uri="/struts-tags" %> > <%@ taglib prefix="sx" uri="/struts-dojo-tags" %> > > <html> > <head> > <sx:head /> > </head> > <body> > <div align="center"> > <s:label name="City" value="Choose City:" /> > <s:url id="cityList" action="autoComplete" method="getCities" /> > <sx:autocompleter name="city" href="{%cityList}" > size="20" /> > > </div> > </body> > </html> > when i am running > the text box is showing > "message > type > number" > but no auto completion [even after adding autoComplete="true" ] > please look into -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jan 26 16:21:49 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29018 invoked from network); 26 Jan 2010 16:21:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Jan 2010 16:21:49 -0000 Received: (qmail 25681 invoked by uid 500); 26 Jan 2010 16:21:48 -0000 Delivered-To: [email protected] Received: (qmail 25571 invoked by uid 500); 26 Jan 2010 16:21:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 25544 invoked by uid 99); 26 Jan 2010 16:21:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jan 2010 16:21:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jan 2010 16:21:46 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 26D43234C4B2 for <[email protected]>; Tue, 26 Jan 2010 08:21:25 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 26 Jan 2010 16:21:25 +0000 (UTC) From: "Benjamin McCann (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-2754) Source code for GXP result In-Reply-To: <691618818.1218138985038.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47258#action_47258 ] Benjamin McCann commented on WW-2754: ------------------------------------- I'm guessing you'd have a hard time using Struts tags in a GXP page because the GXP compiler would probably barf on them. I've never tried though as the GXP tags are meant to be a replacement for the Struts tags. > Source code for GXP result > --------------------------- > > Key: WW-2754 > URL: https://issues.apache.org/struts/browse/WW-2754 > Project: Struts 2 > Issue Type: Temp > Reporter: Musachy Barroso > Assignee: Lukasz Lenart > Fix For: Future > > Attachments: gxp.webwork.tar.gz, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip > > > Thanks to the google and the GXP guys for sending us the code -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jan 27 07:57:13 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5029 invoked from network); 27 Jan 2010 07:57:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jan 2010 07:57:13 -0000 Received: (qmail 79623 invoked by uid 500); 27 Jan 2010 07:57:12 -0000 Delivered-To: [email protected] Received: (qmail 79502 invoked by uid 500); 27 Jan 2010 07:57:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 79488 invoked by uid 99); 27 Jan 2010 07:57:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jan 2010 07:57:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jan 2010 07:57:09 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C0AA5234C045 for <[email protected]>; Tue, 26 Jan 2010 23:56:47 -0800 (PST) Message-ID: <[email protected]> Date: Wed, 27 Jan 2010 07:56:47 +0000 (UTC) From: "Lukasz Lenart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (WW-2754) Source code for GXP result In-Reply-To: <691618818.1218138985038.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart updated WW-2754: ------------------------------ Attachment: struts2-gxp-demo.zip Simple Maven base demo to show how to use the plugin Regards -- Lukasz > Source code for GXP result > --------------------------- > > Key: WW-2754 > URL: https://issues.apache.org/struts/browse/WW-2754 > Project: Struts 2 > Issue Type: Temp > Reporter: Musachy Barroso > Assignee: Lukasz Lenart > Fix For: Future > > Attachments: gxp.webwork.tar.gz, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts2-gxp-demo.zip > > > Thanks to the google and the GXP guys for sending us the code -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jan 27 07:57:13 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5022 invoked from network); 27 Jan 2010 07:57:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jan 2010 07:57:13 -0000 Received: (qmail 79556 invoked by uid 500); 27 Jan 2010 07:57:12 -0000 Delivered-To: [email protected] Received: (qmail 79487 invoked by uid 500); 27 Jan 2010 07:57:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 79479 invoked by uid 99); 27 Jan 2010 07:57:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jan 2010 07:57:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jan 2010 07:57:10 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E662F234C1EF for <[email protected]>; Tue, 26 Jan 2010 23:56:49 -0800 (PST) Message-ID: <[email protected]> Date: Wed, 27 Jan 2010 07:56:49 +0000 (UTC) From: "Lukasz Lenart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (WW-2754) Source code for GXP result In-Reply-To: <691618818.1218138985038.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 [ https://issues.apache.org/struts/browse/WW-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart resolved WW-2754. ------------------------------- Resolution: Fixed Done, the whole source come is in repo and I attached simple demo. Regards -- Lukasz > Source code for GXP result > --------------------------- > > Key: WW-2754 > URL: https://issues.apache.org/struts/browse/WW-2754 > Project: Struts 2 > Issue Type: Temp > Reporter: Musachy Barroso > Assignee: Lukasz Lenart > Fix For: Future > > Attachments: gxp.webwork.tar.gz, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts2-gxp-demo.zip > > > Thanks to the google and the GXP guys for sending us the code -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jan 27 08:04:46 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7750 invoked from network); 27 Jan 2010 08:04:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jan 2010 08:04:46 -0000 Received: (qmail 96295 invoked by uid 500); 27 Jan 2010 08:04:45 -0000 Delivered-To: [email protected] Received: (qmail 96231 invoked by uid 500); 27 Jan 2010 08:04:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 96223 invoked by uid 99); 27 Jan 2010 08:04:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jan 2010 08:04:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jan 2010 08:04:44 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C885A234C1EF for <[email protected]>; Wed, 27 Jan 2010 00:04:24 -0800 (PST) Message-ID: <[email protected]> Date: Wed, 27 Jan 2010 08:04:24 +0000 (UTC) From: "Lukasz Lenart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (WW-2754) Source code for GXP result In-Reply-To: <691618818.1218138985038.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 [ https://issues.apache.org/struts/browse/WW-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart updated WW-2754: ------------------------------ Component/s: "New" API > Source code for GXP result > --------------------------- > > Key: WW-2754 > URL: https://issues.apache.org/struts/browse/WW-2754 > Project: Struts 2 > Issue Type: Temp > Components: "New" API > Reporter: Musachy Barroso > Assignee: Lukasz Lenart > Fix For: 2.2.0 > > Attachments: gxp.webwork.tar.gz, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts2-gxp-demo.zip > > > Thanks to the google and the GXP guys for sending us the code -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jan 27 08:04:47 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7794 invoked from network); 27 Jan 2010 08:04:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jan 2010 08:04:46 -0000 Received: (qmail 96566 invoked by uid 500); 27 Jan 2010 08:04:46 -0000 Delivered-To: [email protected] Received: (qmail 96498 invoked by uid 500); 27 Jan 2010 08:04:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 96302 invoked by uid 99); 27 Jan 2010 08:04:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jan 2010 08:04:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jan 2010 08:04:45 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id F2008234C1F0 for <[email protected]>; Wed, 27 Jan 2010 00:04:24 -0800 (PST) Message-ID: <[email protected]> Date: Wed, 27 Jan 2010 08:04:24 +0000 (UTC) From: "Lukasz Lenart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (WW-2754) Source code for GXP result In-Reply-To: <691618818.1218138985038.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 [ https://issues.apache.org/struts/browse/WW-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart updated WW-2754: ------------------------------ Fix Version/s: (was: Future) 2.2.0 > Source code for GXP result > --------------------------- > > Key: WW-2754 > URL: https://issues.apache.org/struts/browse/WW-2754 > Project: Struts 2 > Issue Type: Temp > Components: "New" API > Reporter: Musachy Barroso > Assignee: Lukasz Lenart > Fix For: 2.2.0 > > Attachments: gxp.webwork.tar.gz, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts2-gxp-demo.zip > > > Thanks to the google and the GXP guys for sending us the code -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jan 27 09:18:50 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44263 invoked from network); 27 Jan 2010 09:18:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jan 2010 09:18:50 -0000 Received: (qmail 94439 invoked by uid 500); 27 Jan 2010 09:18:50 -0000 Delivered-To: [email protected] Received: (qmail 94371 invoked by uid 500); 27 Jan 2010 09:18:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 94363 invoked by uid 99); 27 Jan 2010 09:18:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jan 2010 09:18:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jan 2010 09:18:48 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C681429A0011 for <[email protected]>; Wed, 27 Jan 2010 01:18:28 -0800 (PST) Message-ID: <[email protected]> Date: Wed, 27 Jan 2010 09:18:28 +0000 (UTC) From: "Lukasz Lenart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (WW-3354) Update pom.xml for struts2-gxp-plugin to use latest versions of Struts 2 and GXP In-Reply-To: <609711000.1260606703487.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 [ https://issues.apache.org/struts/browse/WW-3354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart resolved WW-3354. ------------------------------- Resolution: Fixed Fix Version/s: 2.2.0 Done, new struts2-gxp-plugin is in sandbox Regards -- Lukasz > Update pom.xml for struts2-gxp-plugin to use latest versions of Struts 2 and GXP > -------------------------------------------------------------------------------- > > Key: WW-3354 > URL: https://issues.apache.org/struts/browse/WW-3354 > Project: Struts 2 > Issue Type: Improvement > Affects Versions: 2.1.8 > Reporter: Benjamin McCann > Assignee: Lukasz Lenart > Priority: Minor > Fix For: 2.2.0 > > Attachments: pom.xml.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jan 27 09:28:46 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52057 invoked from network); 27 Jan 2010 09:28:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jan 2010 09:28:46 -0000 Received: (qmail 14251 invoked by uid 500); 27 Jan 2010 09:28:45 -0000 Delivered-To: [email protected] Received: (qmail 14213 invoked by uid 500); 27 Jan 2010 09:28:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 14168 invoked by uid 99); 27 Jan 2010 09:28:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jan 2010 09:28:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jan 2010 09:28:45 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E3E8A234C1F0 for <[email protected]>; Wed, 27 Jan 2010 01:28:24 -0800 (PST) Message-ID: <[email protected]> Date: Wed, 27 Jan 2010 09:28:24 +0000 (UTC) From: "Benjamin McCann (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-2754) Source code for GXP result In-Reply-To: <691618818.1218138985038.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 [ https://issues.apache.org/struts/browse/WW-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47262#action_47262 ] Benjamin McCann commented on WW-2754: ------------------------------------- Awesome. Thanks! I'll try to keep things rolling on this plug-in. > Source code for GXP result > --------------------------- > > Key: WW-2754 > URL: https://issues.apache.org/struts/browse/WW-2754 > Project: Struts 2 > Issue Type: Temp > Components: "New" API > Reporter: Musachy Barroso > Assignee: Lukasz Lenart > Fix For: 2.2.0 > > Attachments: gxp.webwork.tar.gz, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts2-gxp-demo.zip > > > Thanks to the google and the GXP guys for sending us the code -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jan 28 21:40:50 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71201 invoked from network); 28 Jan 2010 21:40:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Jan 2010 21:40:50 -0000 Received: (qmail 58362 invoked by uid 500); 28 Jan 2010 21:40:47 -0000 Delivered-To: [email protected] Received: (qmail 57733 invoked by uid 500); 28 Jan 2010 21:40:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 57725 invoked by uid 99); 28 Jan 2010 21:40:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jan 2010 21:40:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jan 2010 21:40:45 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 5D62C29A0011 for <[email protected]>; Thu, 28 Jan 2010 13:40:25 -0800 (PST) Message-ID: <[email protected]> Date: Thu, 28 Jan 2010 21:40:25 +0000 (UTC) From: "David Abeita (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (STR-3197) Memory leak detected in org.apache.struts.tiles.xmlDefinition.I18nFactorySet In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 [ https://issues.apache.org/struts/browse/STR-3197?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] David Abeita updated STR-3197: ------------------------------ Attachment: patchfile.txt > Memory leak detected in org.apache.struts.tiles.xmlDefinition.I18nFactory= Set > -------------------------------------------------------------------------= --- > > Key: STR-3197 > URL: https://issues.apache.org/struts/browse/STR-3197 > Project: Struts 1 > Issue Type: Bug > Components: Tiles 1 Plugin > Affects Versions: 1.1.1, 1.3.8 > Environment: AIX, Windows, WebSphere 6.1, DB2 9.5 > Reporter: David Abeita > Attachments: patchfile.txt > > > During performance testing we discovered an Out of Memory exception. Whi= le looking into the heap dump produced, I detected two separate tiles objec= ts (namely org.apache.struts.tiles.xmlDefinition.XmlParser and org.apache.s= truts.tiles.xmlDefinition.DefinitionsFactory) which combined were consuming= 285 meg. After further analysis of the code in org.apache.struts.tiles.x= mlDefinition.I18nFactorySet, I discovered that for each tile config file be= ing processed by org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parse= XmlFile(ServletContext servletContext, String filename, XmlDefinitionsSet = xmlDefinitions) was creating a new XmlParser() to parse the tiles config fi= le and put into an XmlDefinitionsSet. The new XmlDefinitionsSet is ultimat= ely used to construct org.apache.struts.tiles.xmlDefinition.DefinitionsFact= ory. After the last file is processed the XmlParser is kept in memory and = no longer performs the necessary function after initializing Tiles is compl= ete. The underlying SAXParser and other objects are still there consuming = resources. =20 > I removed the following code from org.apache.struts.tiles.xmlDefinition.I= 18nFactorySet. > /** > * XML parser used. > * Attribute is transient to allow serialization. In this implementaiton, > * xmlParser is created each time we need it ;-(. > */ > protected transient XmlParser xmlParser; > And changed the following in the method parseXmlFile( ServletContext serv= letContext, String filename, XmlDefinitionsSet xmlDefinitions) > I've included a patch file with changes also. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jan 28 21:40:51 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71252 invoked from network); 28 Jan 2010 21:40:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Jan 2010 21:40:51 -0000 Received: (qmail 59216 invoked by uid 500); 28 Jan 2010 21:40:48 -0000 Delivered-To: [email protected] Received: (qmail 59176 invoked by uid 500); 28 Jan 2010 21:40:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 59152 invoked by uid 99); 28 Jan 2010 21:40:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jan 2010 21:40:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jan 2010 21:40:46 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 12EF0234C1F0 for <[email protected]>; Thu, 28 Jan 2010 13:40:25 -0800 (PST) Message-ID: <[email protected]> Date: Thu, 28 Jan 2010 21:40:25 +0000 (UTC) From: "David Abeita (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (STR-3197) Memory leak detected in org.apache.struts.tiles.xmlDefinition.I18nFactorySet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org Memory leak detected in org.apache.struts.tiles.xmlDefinition.I18nFactorySe= t ---------------------------------------------------------------------------= - Key: STR-3197 URL: https://issues.apache.org/struts/browse/STR-3197 Project: Struts 1 Issue Type: Bug Components: Tiles 1 Plugin Affects Versions: 1.3.8, 1.1.1 Environment: AIX, Windows, WebSphere 6.1, DB2 9.5 Reporter: David Abeita Attachments: patchfile.txt During performance testing we discovered an Out of Memory exception. While= looking into the heap dump produced, I detected two separate tiles objects= (namely org.apache.struts.tiles.xmlDefinition.XmlParser and org.apache.str= uts.tiles.xmlDefinition.DefinitionsFactory) which combined were consuming 2= 85 meg. After further analysis of the code in org.apache.struts.tiles.xml= Definition.I18nFactorySet, I discovered that for each tile config file bein= g processed by org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXm= lFile(ServletContext servletContext, String filename, XmlDefinitionsSet xm= lDefinitions) was creating a new XmlParser() to parse the tiles config file= and put into an XmlDefinitionsSet. The new XmlDefinitionsSet is ultimatel= y used to construct org.apache.struts.tiles.xmlDefinition.DefinitionsFactor= y. After the last file is processed the XmlParser is kept in memory and no= longer performs the necessary function after initializing Tiles is complet= e. The underlying SAXParser and other objects are still there consuming re= sources. =20 I removed the following code from org.apache.struts.tiles.xmlDefinition.I18= nFactorySet. /** * XML parser used. * Attribute is transient to allow serialization. In this implementaiton, * xmlParser is created each time we need it ;-(. */ protected transient XmlParser xmlParser; And changed the following in the method parseXmlFile( ServletContext servle= tContext, String filename, XmlDefinitionsSet xmlDefinitions) I've included a patch file with changes also. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jan 29 05:49:01 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42334 invoked from network); 29 Jan 2010 05:49:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Jan 2010 05:49:01 -0000 Received: (qmail 64875 invoked by uid 500); 29 Jan 2010 05:49:01 -0000 Delivered-To: [email protected] Received: (qmail 64781 invoked by uid 500); 29 Jan 2010 05:48:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 64773 invoked by uid 99); 29 Jan 2010 05:48:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jan 2010 05:48:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jan 2010 05:48:49 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 20B5E234C1F0 for <[email protected]>; Thu, 28 Jan 2010 21:48:28 -0800 (PST) Message-ID: <[email protected]> Date: Fri, 29 Jan 2010 05:48:28 +0000 (UTC) From: "lyh (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (WW-3379) Using apache urlrewrite to @ result redirectAction invalid after addActionMessage and addActionError MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org Using apache urlrewrite to @ result redirectAction invalid after addActionM= essage and addActionError ---------------------------------------------------------------------------= ------------------------- Key: WW-3379 URL: https://issues.apache.org/struts/browse/WW-3379 Project: Struts 2 Issue Type: Bug Components: Core Actions Affects Versions: 2.1.8 Environment: Core Interceptors Reporter: lyh My code=EF=BC=9A @Namespace("/app") @Results({ @Result(name=3D"success", type=3D"redirectAction", params =3D {"actionN= ame" , "orders"}), }) public class OrdersController extends ActionSupport implements ModelDriven<= Object>{ // GET /orders public HttpHeaders index() { list =3D ordersService.getAll(); System.out.println(this.getActionMessages()); // use apache urlrewr= ite After no value here return new DefaultHttpHeaders("index").disableCaching(); } } //=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D @Namespace("/app") @Results({ @Result(name=3D"success", type=3D"redirectAction", params =3D { "action= Name" , "orders"}) }) public class OrdersBatchController extends ActionSupport { =09private static final long serialVersionUID =3D 6072741035167921283L; =09 =09//POST /orders-batch =09public String create() { =09=09addActionMessage("Order-batch removed successfully"); =09=09return SUCCESS; =09} } If you did not use apache urlrewrite the code above is no problem. post -> http://www.demo.com/app/orders-batch to orders success In the orders of the index method to obtain actionMessage According to the actual situation into the domain name: http://app.demo.com/orders-batch (Actually equal to http://www.demo.com/app= /orders-batch) I have a corresponding change in s: from to ensure that requests to orderBa= tchController the create method. However, @ result success can not find the corresponding controller, and gi= ves error: namespace: / app / app I re-configured as: @ Result (name =3D "success", type =3D "redirectAction", params =3D ( "= namespace ",""," actionName", "orders")) Note: namespace =3D "" correctly when it is requested. But such problems, and my orders, or the index method actionMessages not ac= tionErrors for access, and I do not know why, I need help. Thanks --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jan 29 09:41:49 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23059 invoked from network); 29 Jan 2010 09:41:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Jan 2010 09:41:49 -0000 Received: (qmail 82236 invoked by uid 500); 29 Jan 2010 09:41:49 -0000 Delivered-To: [email protected] Received: (qmail 82183 invoked by uid 500); 29 Jan 2010 09:41:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 82170 invoked by uid 99); 29 Jan 2010 09:41:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jan 2010 09:41:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jan 2010 09:41:46 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C5C6D234C4AC for <[email protected]>; Fri, 29 Jan 2010 01:41:24 -0800 (PST) Message-ID: <[email protected]> Date: Fri, 29 Jan 2010 09:41:24 +0000 (UTC) From: "D.Bohni (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (WW-3380) Validation: java.lang.NoSuchMethodException if method begins with do* MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org Validation: java.lang.NoSuchMethodException if method begins with do* --------------------------------------------------------------------- Key: WW-3380 URL: https://issues.apache.org/struts/browse/WW-3380 Project: Struts 2 Issue Type: Bug Affects Versions: 2.1.8 Environment: Windows XP, Apache Tomcat 6 / Bea Weblogic 9.2 Reporter: D.Bohni The validation interceptor tries to invoke the method save() instead of doSave(). Struts XML: <action name="card_*" class="packageStrukture.CardAction" method="{1}"> <result name="success">/cardList.jsp</result> <result name="input">/cardForm.jsp</result> </action> Name of the validation xml file is: CardAction-card_save-validation.xml When you try to invoke the action card_save you will get an NoSuchMethodException packageStrukture.CardAction.save() . The method in the CardAction class is doSave() not save(). When i change the name from doSave() to save(), the validation works fine! java.lang.NoSuchMethodException: packageStrukture.CardAction.save() java.lang.Class.getMethod(Unknown Source) com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:150) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:252) org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:122) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:179) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:235) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:89) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:126) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:138) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:165) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:179) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52) org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488) org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129) com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:102) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) java.lang.Thread.run(Unknown Source) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jan 29 10:15:48 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41496 invoked from network); 29 Jan 2010 10:15:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Jan 2010 10:15:48 -0000 Received: (qmail 26096 invoked by uid 500); 29 Jan 2010 10:15:48 -0000 Delivered-To: [email protected] Received: (qmail 26026 invoked by uid 500); 29 Jan 2010 10:15:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26018 invoked by uid 99); 29 Jan 2010 10:15:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jan 2010 10:15:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jan 2010 10:15:45 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 7F615234C4AC for <[email protected]>; Fri, 29 Jan 2010 02:15:24 -0800 (PST) Message-ID: <[email protected]> Date: Fri, 29 Jan 2010 10:15:24 +0000 (UTC) From: "David Abeita (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (STR-3197) Memory leak detected in org.apache.struts.tiles.xmlDefinition.I18nFactorySet In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/STR-3197?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] David Abeita updated STR-3197: ------------------------------ Description:=20 During performance testing we discovered an Out of Memory exception. While= looking into the heap dump produced, I detected two separate tiles objects= (namely org.apache.struts.tiles.xmlDefinition.XmlParser and org.apache.str= uts.tiles.xmlDefinition.DefinitionsFactory) which combined were consuming 2= 85 meg (we have a lot of tiles definitions). After further analysis of the = code in org.apache.struts.tiles.xmlDefinition.I18nFactorySet, I discovered= that for each tile config file being processed by org.apache.struts.tiles.= xmlDefinition.I18nFactorySet.parseXmlFile(ServletContext servletContext, St= ring filename, XmlDefinitionsSet xmlDefinitions) was creating a new XmlPar= ser() to parse the tiles config file and put into an XmlDefinitionsSet. Th= e new XmlDefinitionsSet is ultimately used to construct org.apache.struts.t= iles.xmlDefinition.DefinitionsFactory. After the last file is processed th= e XmlParser is kept in memory and no longer performs the necessary function= after initializing Tiles is complete. The underlying SAXParser and other = objects are still there consuming resources. =20 I removed the following code from org.apache.struts.tiles.xmlDefinition.I18= nFactorySet. /** * XML parser used. * Attribute is transient to allow serialization. In this implementaiton, * xmlParser is created each time we need it ;-(. */ protected transient XmlParser xmlParser; And changed the following in the method parseXmlFile( ServletContext servle= tContext, String filename, XmlDefinitionsSet xmlDefinitions) I've included a patch file with changes also. was: During performance testing we discovered an Out of Memory exception. While= looking into the heap dump produced, I detected two separate tiles objects= (namely org.apache.struts.tiles.xmlDefinition.XmlParser and org.apache.str= uts.tiles.xmlDefinition.DefinitionsFactory) which combined were consuming 2= 85 meg. After further analysis of the code in org.apache.struts.tiles.xml= Definition.I18nFactorySet, I discovered that for each tile config file bein= g processed by org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXm= lFile(ServletContext servletContext, String filename, XmlDefinitionsSet xm= lDefinitions) was creating a new XmlParser() to parse the tiles config file= and put into an XmlDefinitionsSet. The new XmlDefinitionsSet is ultimatel= y used to construct org.apache.struts.tiles.xmlDefinition.DefinitionsFactor= y. After the last file is processed the XmlParser is kept in memory and no= longer performs the necessary function after initializing Tiles is complet= e. The underlying SAXParser and other objects are still there consuming re= sources. =20 I removed the following code from org.apache.struts.tiles.xmlDefinition.I18= nFactorySet. /** * XML parser used. * Attribute is transient to allow serialization. In this implementaiton, * xmlParser is created each time we need it ;-(. */ protected transient XmlParser xmlParser; And changed the following in the method parseXmlFile( ServletContext servle= tContext, String filename, XmlDefinitionsSet xmlDefinitions) I've included a patch file with changes also. > Memory leak detected in org.apache.struts.tiles.xmlDefinition.I18nFactory= Set > -------------------------------------------------------------------------= --- > > Key: STR-3197 > URL: https://issues.apache.org/struts/browse/STR-3197 > Project: Struts 1 > Issue Type: Bug > Components: Tiles 1 Plugin > Affects Versions: 1.1.1, 1.3.8 > Environment: AIX, Windows, WebSphere 6.1, DB2 9.5 > Reporter: David Abeita > Attachments: patchfile.txt > > > During performance testing we discovered an Out of Memory exception. Whi= le looking into the heap dump produced, I detected two separate tiles objec= ts (namely org.apache.struts.tiles.xmlDefinition.XmlParser and org.apache.s= truts.tiles.xmlDefinition.DefinitionsFactory) which combined were consuming= 285 meg (we have a lot of tiles definitions). After further analysis of th= e code in org.apache.struts.tiles.xmlDefinition.I18nFactorySet, I discover= ed that for each tile config file being processed by org.apache.struts.tile= s.xmlDefinition.I18nFactorySet.parseXmlFile(ServletContext servletContext, = String filename, XmlDefinitionsSet xmlDefinitions) was creating a new XmlP= arser() to parse the tiles config file and put into an XmlDefinitionsSet. = The new XmlDefinitionsSet is ultimately used to construct org.apache.struts= .tiles.xmlDefinition.DefinitionsFactory. After the last file is processed = the XmlParser is kept in memory and no longer performs the necessary functi= on after initializing Tiles is complete. The underlying SAXParser and othe= r objects are still there consuming resources. =20 > I removed the following code from org.apache.struts.tiles.xmlDefinition.I= 18nFactorySet. > /** > * XML parser used. > * Attribute is transient to allow serialization. In this implementaiton, > * xmlParser is created each time we need it ;-(. > */ > protected transient XmlParser xmlParser; > And changed the following in the method parseXmlFile( ServletContext serv= letContext, String filename, XmlDefinitionsSet xmlDefinitions) > I've included a patch file with changes also. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jan 29 22:49:49 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10685 invoked from network); 29 Jan 2010 22:49:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Jan 2010 22:49:49 -0000 Received: (qmail 3765 invoked by uid 500); 29 Jan 2010 22:49:48 -0000 Delivered-To: [email protected] Received: (qmail 3685 invoked by uid 500); 29 Jan 2010 22:49:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <issues.struts.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 3676 invoked by uid 99); 29 Jan 2010 22:49:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jan 2010 22:49:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jan 2010 22:49:46 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 6AB1029A001D for <[email protected]>; Fri, 29 Jan 2010 14:49:24 -0800 (PST) Message-ID: <[email protected]> Date: Fri, 29 Jan 2010 22:49:24 +0000 (UTC) From: "John Krueger (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WW-2754) Source code for GXP result In-Reply-To: <691618818.1218138985038.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47267#action_47267 ] John Krueger commented on WW-2754: ---------------------------------- I think the struts-plugin.xml file needs to be checked in. I can't find it in the code that was checked into the sandbox but it is in the zip file. > Source code for GXP result > --------------------------- > > Key: WW-2754 > URL: https://issues.apache.org/struts/browse/WW-2754 > Project: Struts 2 > Issue Type: Temp > Components: "New" API > Reporter: Musachy Barroso > Assignee: Lukasz Lenart > Fix For: 2.2.0 > > Attachments: gxp.webwork.tar.gz, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts2-gxp-demo.zip > > > Thanks to the google and the GXP guys for sending us the code -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
From [email protected] Wed Jul 04 02:23:31 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11198 invoked from network); 4 Jul 2007 02:23:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Jul 2007 02:23:31 -0000 Received: (qmail 11168 invoked by uid 500); 4 Jul 2007 02:23:34 -0000 Delivered-To: [email protected] Received: (qmail 10989 invoked by uid 500); 4 Jul 2007 02:23:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> Reply-To: [email protected] List-Id: <dev.xmlbeans.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 10978 invoked by uid 500); 4 Jul 2007 02:23:33 -0000 Delivered-To: [email protected] Received: (qmail 10975 invoked by uid 99); 4 Jul 2007 02:23:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jul 2007 19:23:33 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jul 2007 19:23:25 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 3E4E07141F1 for <[email protected]>; Tue, 3 Jul 2007 19:23:05 -0700 (PDT) Message-ID: <16194543.1183515785252.JavaMail.jira@brutus> Date: Tue, 3 Jul 2007 19:23:05 -0700 (PDT) From: "Helen Liu (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (XMLBEANS-338) After "save", the xml file becomes incomplete In-Reply-To: <17663150.1183108264833.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XMLBEANS-338?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12510044 ]=20 Helen Liu commented on XMLBEANS-338: ------------------------------------ Hi Danner,=20 Following is my answer about your questions. 1.Can you repro this just using your java src. I'm not very sure what you mean of "repro this just using your java src". "= obj.save( writer, prettyPrintOpts );" is our java source code, and we can r= eproduce this issue. 2.Also, why is there an extra PI in your instance. Actually, From the second PI is what xmlbean will deal with. The other cont= ent will be removed by our program. So the xml that xmlbean will deal with = is as following: <?xml version=3D"1.0" encoding=3D"UTF-8" standalone=3D"yes"?> <ns1:Package Name=3D"Workflow" Id=3D"Workflow" xmlns:ns1=3D"http://www.wfmc= .org/XPDL1.0"> <ns1:PackageHeader> <ns1:XPDLVersion>1.0</ns1:XPDLVersion> <ns1:Vendor>HP</ns1:Vendor> <ns1:Created></ns1:Created> </ns1:PackageHeader> <ns1:RedefinableHeader PublicationStatus=3D""></ns1:RedefinableHeader> <ns1:ConformanceClass GraphConformance=3D"NON_BLOCKED"></ns1:ConformanceCla= ss> <ns1:WorkflowProcesses> <ns1:WorkflowProcess Name=3D"IBS Add 12" AccessLevel=3D"PUBLIC" Id=3D"IBS A= dd 12"> <ns1:ProcessHeader DurationUnit=3D"D"> <ns1:Created></ns1:Created> </ns1:ProcessHeader> <ns1:RedefinableHeader PublicationStatus=3D""></ns1:RedefinableHeader> <ns1:Activities> <ns1:Activity Id=3D"Notify Target"> <ns1:Implementation> <ns1:No></ns1:No> </ns1:Implementation> <ns1:FinishMode> <ns1:Automatic></ns1:Automatic> </ns1:FinishMode> <ns1:TransitionRestrictions> <ns1:TransitionRestriction> <ns1:Join Type=3D"XOR"></ns1:Join> <ns1:Split Type=3D"XOR"></ns1:Split> </ns1:TransitionRestriction> </ns1:TransitionRestrictions> <ns1:ExtendedAttributes> <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"151"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"602"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extended= Attribute> <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D""></ns1:ExtendedAtt= ribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedAtt= ribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> <ns1:Actions> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.callsub" Id=3D"Ca= llSubworkflow"> <ns1:FixedParams> <ns1:Param Name=3D"tempId" IsText=3D"false" Value=3D"&quot;IBS Notification= &quot;"></ns1:Param> <ns1:Param Name=3D"callMode" IsText=3D"false"></ns1:Param> <ns1:Param Name=3D"activityId" IsText=3D"false" Value=3D"&quot;success&quot= ;"></ns1:Param> <ns1:Param Name=3D"childCallback" IsText=3D"false"></ns1:Param> </ns1:FixedParams> </ns1:Action> </ns1:Actions> </ns1:ExtendedAttribute> </ns1:ExtendedAttributes> </ns1:Activity> <ns1:Activity Id=3D"Prepare Oracle"> <ns1:Implementation> <ns1:No></ns1:No> </ns1:Implementation> <ns1:FinishMode> <ns1:Automatic></ns1:Automatic> </ns1:FinishMode> <ns1:ExtendedAttributes> <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"151"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"372"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extended= Attribute> <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D""></ns1:ExtendedAtt= ribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedAtt= ribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> <ns1:Actions> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Servic= e"> <ns1:FixedParams> <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"ExternalCall"></ns1:Param> <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> </ns1:FixedParams> <ns1:Params> <ns1:Param Name=3D"External Call Name" IsText=3D"false" Value=3D"&quot;User= EnableDisableWFExtCall&quot;"></ns1:Param> <ns1:Param Name=3D"requestId" IsText=3D"false" Value=3D"toInt($RequestId)">= </ns1:Param> <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></ns= 1:Param> <ns1:Param Name=3D"block Id" IsText=3D"false" Value=3D"$_blockId"></ns1:Par= am> </ns1:Params> </ns1:Action> </ns1:Actions> </ns1:ExtendedAttribute> </ns1:ExtendedAttributes> </ns1:Activity> <ns1:Activity Id=3D"OM Approval"> <ns1:Implementation> <ns1:No></ns1:No> </ns1:Implementation> <ns1:FinishMode> <ns1:Manual></ns1:Manual> </ns1:FinishMode> <ns1:TransitionRestrictions> <ns1:TransitionRestriction> <ns1:Join Type=3D""></ns1:Join> <ns1:Split Type=3D"XOR"></ns1:Split> </ns1:TransitionRestriction> </ns1:TransitionRestrictions> <ns1:ExtendedAttributes> <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"301"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"170"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extended= Attribute> <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D"approvalActivity"><= /ns1:ExtendedAttribute> <ns1:ExtendedAttribute Name=3D"blockType" Value=3D"approval"></ns1:Extended= Attribute> <ns1:ExtendedAttribute Name=3D"joinCount" Value=3D"1"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"roleName" Value=3D"OM Approvers"></ns1:Exten= dedAttribute> <ns1:ExtendedAttribute Name=3D"blockId" Value=3D"defaultBlockId"></ns1:Exte= ndedAttribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedAtt= ribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> <ns1:Actions> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id=3D= "MapCollection"> <ns1:FixedParams> <ns1:Param Name=3D"isNew" IsText=3D"false" Value=3D"true"></ns1:Param> <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$ProvisionMap"></ns1:Par= am> <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;errorEvent&= quot;"></ns1:Param> <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;Approve&qu= ot;"></ns1:Param> </ns1:FixedParams> </ns1:Action> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Servic= e"> <ns1:FixedParams> <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"GetApproversBySpecifiedRol= e"></ns1:Param> <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D"OMApprovers"></ns1:Par= am> </ns1:FixedParams> <ns1:Params> <ns1:Param Name=3D"request Id" IsText=3D"false" Value=3D"toInt($RequestId)"= ></ns1:Param> <ns1:Param Name=3D"wf Instance Id" IsText=3D"false" Value=3D"$_instId"></ns= 1:Param> <ns1:Param Name=3D"wf Activity Id" IsText=3D"false" Value=3D"_activityId"><= /ns1:Param> </ns1:Params> </ns1:Action> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Servic= e"> <ns1:FixedParams> <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"CreateWorkflowTask"></ns1:= Param> <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> </ns1:FixedParams> <ns1:Params> <ns1:Param Name=3D"request Id" IsText=3D"false" Value=3D"toInt($RequestId)"= ></ns1:Param> <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></ns= 1:Param> <ns1:Param Name=3D"wf instance activity Id" IsText=3D"false" Value=3D"_inst= ActivityId"></ns1:Param> <ns1:Param Name=3D"wf current activity" IsText=3D"true" Value=3D"_activityI= d"></ns1:Param> <ns1:Param Name=3D"Approver List Variable" IsText=3D"false" Value=3D"OMAppr= overs"></ns1:Param> </ns1:Params> </ns1:Action> </ns1:Actions> </ns1:ExtendedAttribute> </ns1:ExtendedAttributes> </ns1:Activity> <ns1:Activity Id=3D"end"> <ns1:Implementation> <ns1:No></ns1:No> </ns1:Implementation> <ns1:FinishMode> <ns1:Automatic></ns1:Automatic> </ns1:FinishMode> <ns1:TransitionRestrictions> <ns1:TransitionRestriction> <ns1:Join Type=3D"XOR"></ns1:Join> <ns1:Split Type=3D"XOR"></ns1:Split> </ns1:TransitionRestriction> </ns1:TransitionRestrictions> <ns1:ExtendedAttributes> <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"150"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"652"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extended= Attribute> <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D""></ns1:ExtendedAtt= ribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedAtt= ribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> <ns1:Actions></ns1:Actions> </ns1:ExtendedAttribute> </ns1:ExtendedAttributes> </ns1:Activity> <ns1:Activity Id=3D"LogException"> <ns1:Implementation> <ns1:No></ns1:No> </ns1:Implementation> <ns1:FinishMode> <ns1:Automatic></ns1:Automatic> </ns1:FinishMode> <ns1:ExtendedAttributes> <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"591"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"372"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extended= Attribute> <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D""></ns1:ExtendedAtt= ribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedAtt= ribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> <ns1:Actions> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.logmsg" Id=3D"Log= "> <ns1:FixedParams> <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"&quot;*** Exception has= occured while sending an error notification: &quot; + $_exceptionList"></n= s1:Param> </ns1:FixedParams> </ns1:Action> </ns1:Actions> </ns1:ExtendedAttribute> </ns1:ExtendedAttributes> </ns1:Activity> <ns1:Activity Id=3D"Notify Optional Profile"> <ns1:Implementation> <ns1:No></ns1:No> </ns1:Implementation> <ns1:FinishMode> <ns1:Automatic></ns1:Automatic> </ns1:FinishMode> <ns1:ExtendedAttributes> <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"345"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"309"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extended= Attribute> <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D"blockActivity"></ns= 1:ExtendedAttribute> <ns1:ExtendedAttribute Name=3D"blockId" Value=3D"defaultBlockId"></ns1:Exte= ndedAttribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedAtt= ribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> <ns1:Actions> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.callsub" Id=3D"Ca= llSubworkflow"> <ns1:FixedParams> <ns1:Param Name=3D"tempId" IsText=3D"false" Value=3D"&quot;IBS Notification= &quot;"></ns1:Param> <ns1:Param Name=3D"callMode" IsText=3D"false"></ns1:Param> <ns1:Param Name=3D"activityId" IsText=3D"false" Value=3D"&quot;Optional Pro= file&quot;"></ns1:Param> <ns1:Param Name=3D"childCallback" IsText=3D"false" Value=3D"true"></ns1:Par= am> </ns1:FixedParams> </ns1:Action> </ns1:Actions> </ns1:ExtendedAttribute> </ns1:ExtendedAttributes> </ns1:Activity> <ns1:Activity Id=3D"Notify Error"> <ns1:Implementation> <ns1:No></ns1:No> </ns1:Implementation> <ns1:FinishMode> <ns1:Automatic></ns1:Automatic> </ns1:FinishMode> <ns1:TransitionRestrictions> <ns1:TransitionRestriction> <ns1:Join Type=3D"XOR"></ns1:Join> <ns1:Split Type=3D"XOR"></ns1:Split> </ns1:TransitionRestriction> </ns1:TransitionRestrictions> <ns1:ExtendedAttributes> <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"451"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"431"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extended= Attribute> <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D""></ns1:ExtendedAtt= ribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedAtt= ribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> <ns1:Actions> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.callsub" Id=3D"Ca= llSubworkflow"> <ns1:FixedParams> <ns1:Param Name=3D"tempId" IsText=3D"false" Value=3D"&quot;IBS Notification= &quot;"></ns1:Param> <ns1:Param Name=3D"callMode" IsText=3D"false"></ns1:Param> <ns1:Param Name=3D"activityId" IsText=3D"false" Value=3D"&quot;error&quot;"= ></ns1:Param> <ns1:Param Name=3D"childCallback" IsText=3D"false"></ns1:Param> </ns1:FixedParams> </ns1:Action> </ns1:Actions> </ns1:ExtendedAttribute> </ns1:ExtendedAttributes> </ns1:Activity> <ns1:Activity Id=3D"Notify Rejected"> <ns1:Implementation> <ns1:No></ns1:No> </ns1:Implementation> <ns1:FinishMode> <ns1:Automatic></ns1:Automatic> </ns1:FinishMode> <ns1:TransitionRestrictions> <ns1:TransitionRestriction> <ns1:Join Type=3D"XOR"></ns1:Join> <ns1:Split Type=3D""></ns1:Split> </ns1:TransitionRestriction> </ns1:TransitionRestrictions> <ns1:ExtendedAttributes> <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"452"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"70"></ns1:ExtendedAttribut= e> <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extended= Attribute> <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D"blockActivity"></ns= 1:ExtendedAttribute> <ns1:ExtendedAttribute Name=3D"blockId" Value=3D"defaultBlockId"></ns1:Exte= ndedAttribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedAtt= ribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> <ns1:Actions> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.callsub" Id=3D"Ca= llSubworkflow"> <ns1:FixedParams> <ns1:Param Name=3D"tempId" IsText=3D"false" Value=3D"&quot;IBS Notification= &quot;"></ns1:Param> <ns1:Param Name=3D"callMode" IsText=3D"false"></ns1:Param> <ns1:Param Name=3D"activityId" IsText=3D"false" Value=3D"&quot;rejected&quo= t;"></ns1:Param> <ns1:Param Name=3D"childCallback" IsText=3D"false"></ns1:Param> </ns1:FixedParams> </ns1:Action> </ns1:Actions> </ns1:ExtendedAttribute> </ns1:ExtendedAttributes> </ns1:Activity> <ns1:Activity Id=3D"Provision"> <ns1:Implementation> <ns1:No></ns1:No> </ns1:Implementation> <ns1:FinishMode> <ns1:Manual></ns1:Manual> </ns1:FinishMode> <ns1:TransitionRestrictions> <ns1:TransitionRestriction> <ns1:Join Type=3D"XOR"></ns1:Join> <ns1:Split Type=3D"XOR"></ns1:Split> </ns1:TransitionRestriction> </ns1:TransitionRestrictions> <ns1:ExtendedAttributes> <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"151"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"432"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extended= Attribute> <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D"provisionActivity">= </ns1:ExtendedAttribute> <ns1:ExtendedAttribute Name=3D"blockType" Value=3D"provisioning"></ns1:Exte= ndedAttribute> <ns1:ExtendedAttribute Name=3D"blockId" Value=3D"Provision"></ns1:ExtendedA= ttribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedAtt= ribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> <ns1:Actions> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id=3D= "MapCollection"> <ns1:FixedParams> <ns1:Param Name=3D"isNew" IsText=3D"false" Value=3D"true"></ns1:Param> <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$ProvisionMap"></ns1:Par= am> <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;errorEvent&= quot;"></ns1:Param> <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;Provisioni= ng&quot;"></ns1:Param> </ns1:FixedParams> </ns1:Action> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Servic= e"> <ns1:FixedParams> <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"ProvisioningTask"></ns1:Pa= ram> <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D"provisioningResult"></= ns1:Param> </ns1:FixedParams> <ns1:Params> <ns1:Param Name=3D"request Id" IsText=3D"false" Value=3D"toInt($RequestId)"= ></ns1:Param> <ns1:Param Name=3D"retry number" IsText=3D"false" Value=3D"toInt($RC)"></ns= 1:Param> <ns1:Param Name=3D"instance Id" IsText=3D"false" Value=3D"$_instId"></ns1:P= aram> <ns1:Param Name=3D"block Id" IsText=3D"false" Value=3D"$_blockId"></ns1:Par= am> <ns1:Param Name=3D"wf instance activity Id" IsText=3D"false" Value=3D"_inst= ActivityId"></ns1:Param> </ns1:Params> </ns1:Action> </ns1:Actions> </ns1:ExtendedAttribute> </ns1:ExtendedAttributes> </ns1:Activity> <ns1:Activity Id=3D"Prepare Top Secret"> <ns1:Implementation> <ns1:No></ns1:No> </ns1:Implementation> <ns1:FinishMode> <ns1:Automatic></ns1:Automatic> </ns1:FinishMode> <ns1:TransitionRestrictions> <ns1:TransitionRestriction> <ns1:Join Type=3D""></ns1:Join> <ns1:Split Type=3D"XOR"></ns1:Split> </ns1:TransitionRestriction> </ns1:TransitionRestrictions> <ns1:ExtendedAttributes> <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"150"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"310"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extended= Attribute> <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D""></ns1:ExtendedAtt= ribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedAtt= ribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> <ns1:Actions> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.setvar" Id=3D"Set= Var"> <ns1:FixedParams> <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"GenerateNewIbsId"></ns1:= Param> <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"&quot;UE&quot;"></ns1:P= aram> </ns1:FixedParams> </ns1:Action> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Servic= e"> <ns1:FixedParams> <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"ExternalCall"></ns1:Param> <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> </ns1:FixedParams> <ns1:Params> <ns1:Param Name=3D"External Call Name" IsText=3D"false" Value=3D"&quot;User= EnableDisableWFExtCall&quot;"></ns1:Param> <ns1:Param Name=3D"requestId" IsText=3D"false" Value=3D"toInt($RequestId)">= </ns1:Param> <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></ns= 1:Param> <ns1:Param Name=3D"block Id" IsText=3D"false" Value=3D"$_blockId"></ns1:Par= am> </ns1:Params> </ns1:Action> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id=3D= "MapCollection"> <ns1:FixedParams> <ns1:Param Name=3D"isNew" IsText=3D"false" Value=3D"true"></ns1:Param> <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$AttributeResourceMap"><= /ns1:Param> <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;FieldName&q= uot;"></ns1:Param> <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;IBSOptiona= lProfiles&quot;"></ns1:Param> </ns1:FixedParams> </ns1:Action> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Servic= e"> <ns1:FixedParams> <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"ExternalCall"></ns1:Param> <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> </ns1:FixedParams> <ns1:Params> <ns1:Param Name=3D"External Call Name" IsText=3D"false" Value=3D"&quot;User= EnableDisableWFExtCall&quot;"></ns1:Param> <ns1:Param Name=3D"requestId" IsText=3D"false" Value=3D"toInt($RequestId)">= </ns1:Param> <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></ns= 1:Param> <ns1:Param Name=3D"block Id" IsText=3D"false" Value=3D"$_blockId"></ns1:Par= am> </ns1:Params> </ns1:Action> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id=3D= "MapCollection"> <ns1:FixedParams> <ns1:Param Name=3D"isNew" IsText=3D"false"></ns1:Param> <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$AttributeResourceMap"><= /ns1:Param> <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;FieldName&q= uot;"></ns1:Param> <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;IBSExcepti= onRequest&quot;"></ns1:Param> </ns1:FixedParams> </ns1:Action> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Servic= e"> <ns1:FixedParams> <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"ExternalCall"></ns1:Param> <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> </ns1:FixedParams> <ns1:Params> <ns1:Param Name=3D"External Call Name" IsText=3D"false" Value=3D"&quot;User= EnableDisableWFExtCall&quot;"></ns1:Param> <ns1:Param Name=3D"requestId" IsText=3D"false" Value=3D"toInt($RequestId)">= </ns1:Param> <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></ns= 1:Param> <ns1:Param Name=3D"block Id" IsText=3D"false" Value=3D"$_blockId"></ns1:Par= am> </ns1:Params> </ns1:Action> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.setvar" Id=3D"Set= Var"> <ns1:FixedParams> <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"Send_Notification"></ns1= :Param> <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"((!equal($IBSOptionalPr= ofiles,null)) &amp;&amp; (!equal($IBSOptionalProfiles,&quot;&quot;))) || ((= !equal($IBSExceptionRequest,null)) &amp;&amp; (!equal($IBSExceptionRequest,= &quot;&quot;)))"></ns1:Param> </ns1:FixedParams> </ns1:Action> </ns1:Actions> </ns1:ExtendedAttribute> </ns1:ExtendedAttributes> </ns1:Activity> <ns1:Activity Id=3D"Retry"> <ns1:Implementation> <ns1:No></ns1:No> </ns1:Implementation> <ns1:FinishMode> <ns1:Manual></ns1:Manual> </ns1:FinishMode> <ns1:ExtendedAttributes> <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"13"></ns1:ExtendedAttribut= e> <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"378"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extended= Attribute> <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D"blockActivity"></ns= 1:ExtendedAttribute> <ns1:ExtendedAttribute Name=3D"blockId" Value=3D"Retry"></ns1:ExtendedAttri= bute> <ns1:ExtendedAttribute Name=3D"timeoutLength" Value=3D"60 secs"></ns1:Exten= dedAttribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedAtt= ribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> <ns1:Actions> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.setvar" Id=3D"Set= Var"> <ns1:FixedParams> <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$RC"></ns1:Param> <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"$RC+1"></ns1:Param> </ns1:FixedParams> </ns1:Action> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.logmsg" Id=3D"Log= "> <ns1:FixedParams> <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"&quot;Provisioning atte= mpt failed. Waiting to retry.&quot;"></ns1:Param> </ns1:FixedParams> </ns1:Action> </ns1:Actions> </ns1:ExtendedAttribute> </ns1:ExtendedAttributes> </ns1:Activity> <ns1:Activity Id=3D"BSA Rejection"> <ns1:Implementation> <ns1:No></ns1:No> </ns1:Implementation> <ns1:FinishMode> <ns1:Automatic></ns1:Automatic> </ns1:FinishMode> <ns1:ExtendedAttributes> <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"391"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"233"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extended= Attribute> <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D""></ns1:ExtendedAtt= ribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedAtt= ribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> <ns1:Actions> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.callsub" Id=3D"Ca= llSubworkflow"> <ns1:FixedParams> <ns1:Param Name=3D"tempId" IsText=3D"false" Value=3D"&quot;IBS Notification= &quot;"></ns1:Param> <ns1:Param Name=3D"callMode" IsText=3D"false"></ns1:Param> <ns1:Param Name=3D"activityId" IsText=3D"false" Value=3D"&quot;rejected&quo= t;"></ns1:Param> <ns1:Param Name=3D"childCallback" IsText=3D"false"></ns1:Param> </ns1:FixedParams> </ns1:Action> </ns1:Actions> </ns1:ExtendedAttribute> </ns1:ExtendedAttributes> </ns1:Activity> <ns1:Activity Id=3D"CS-Director-Approval"> <ns1:Implementation> <ns1:No></ns1:No> </ns1:Implementation> <ns1:FinishMode> <ns1:Manual></ns1:Manual> </ns1:FinishMode> <ns1:TransitionRestrictions> <ns1:TransitionRestriction> <ns1:Join Type=3D""></ns1:Join> <ns1:Split Type=3D"XOR"></ns1:Split> </ns1:TransitionRestriction> </ns1:TransitionRestrictions> <ns1:ExtendedAttributes> <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"10"></ns1:ExtendedAttribut= e> <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"111"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extended= Attribute> <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D"approvalActivity"><= /ns1:ExtendedAttribute> <ns1:ExtendedAttribute Name=3D"blockId" Value=3D"defaultBlockId"></ns1:Exte= ndedAttribute> <ns1:ExtendedAttribute Name=3D"joinCount" Value=3D"1"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"blockType" Value=3D"approval"></ns1:Extended= Attribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedAtt= ribute> <ns1:ExtendedAttribute Name=3D"roleName" Value=3D"CS Director"></ns1:Extend= edAttribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> <ns1:Actions> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id=3D= "MapCollection"> <ns1:FixedParams> <ns1:Param Name=3D"isNew" IsText=3D"false" Value=3D"true"></ns1:Param> <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$ProvisionMap"></ns1:Par= am> <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;errorEvent&= quot;"></ns1:Param> <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;Approval&q= uot;"></ns1:Param> </ns1:FixedParams> </ns1:Action> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Servic= e"> <ns1:FixedParams> <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"GetApproversBySpecifiedRol= e"></ns1:Param> <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D"CSApprovers"></ns1:Par= am> </ns1:FixedParams> <ns1:Params> <ns1:Param Name=3D"request Id" IsText=3D"false" Value=3D"toInt($RequestId)"= ></ns1:Param> <ns1:Param Name=3D"wf Instance Id" IsText=3D"false" Value=3D"$_instId"></ns= 1:Param> <ns1:Param Name=3D"wf Activity Id" IsText=3D"false" Value=3D"_activityId"><= /ns1:Param> </ns1:Params> </ns1:Action> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Servic= e"> <ns1:FixedParams> <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"CreateWorkflowTask"></ns1:= Param> <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> </ns1:FixedParams> <ns1:Params> <ns1:Param Name=3D"request Id" IsText=3D"false" Value=3D"toInt($RequestId)"= ></ns1:Param> <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></ns= 1:Param> <ns1:Param Name=3D"wf instance activity Id" IsText=3D"false" Value=3D"_inst= ActivityId"></ns1:Param> <ns1:Param Name=3D"wf current activity" IsText=3D"true" Value=3D"_activityI= d"></ns1:Param> <ns1:Param Name=3D"Approver List Variable" IsText=3D"false" Value=3D"CSAppr= overs"></ns1:Param> </ns1:Params> </ns1:Action> </ns1:Actions> </ns1:ExtendedAttribute> </ns1:ExtendedAttributes> </ns1:Activity> <ns1:Activity Id=3D"Prepare Request"> <ns1:Implementation> <ns1:No></ns1:No> </ns1:Implementation> <ns1:FinishMode> <ns1:Automatic></ns1:Automatic> </ns1:FinishMode> <ns1:TransitionRestrictions> <ns1:TransitionRestriction> <ns1:Join Type=3D"XOR"></ns1:Join> <ns1:Split Type=3D"XOR"></ns1:Split> </ns1:TransitionRestriction> </ns1:TransitionRestrictions> <ns1:ExtendedAttributes> <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"151"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"60"></ns1:ExtendedAttribut= e> <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extended= Attribute> <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D"blockActivity"></ns= 1:ExtendedAttribute> <ns1:ExtendedAttribute Name=3D"blockId" Value=3D"defaultBlockId"></ns1:Exte= ndedAttribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedAtt= ribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> <ns1:Actions> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id=3D= "MapCollection"> <ns1:FixedParams> <ns1:Param Name=3D"isNew" IsText=3D"false" Value=3D"true"></ns1:Param> <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$ProvisionMap"></ns1:Par= am> <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;errorEvent&= quot;"></ns1:Param> <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;Approval&q= uot;"></ns1:Param> </ns1:FixedParams> </ns1:Action> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id=3D= "MapCollection"> <ns1:FixedParams> <ns1:Param Name=3D"isNew" IsText=3D"false" Value=3D"true"></ns1:Param> <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$AttributeResourceMap"><= /ns1:Param> <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;FieldName&q= uot;"></ns1:Param> <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;Department= ID&quot;"></ns1:Param> </ns1:FixedParams> </ns1:Action> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Servic= e"> <ns1:FixedParams> <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"ExternalCall"></ns1:Param> <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> </ns1:FixedParams> <ns1:Params> <ns1:Param Name=3D"External Call Name" IsText=3D"false" Value=3D"&quot;SetW= orkflowVariable&quot;"></ns1:Param> <ns1:Param Name=3D"requestId" IsText=3D"false" Value=3D"toInt($RequestId)">= </ns1:Param> <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></ns= 1:Param> <ns1:Param Name=3D"block Id" IsText=3D"false" Value=3D"$_blockId"></ns1:Par= am> </ns1:Params> </ns1:Action> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id=3D= "MapCollection"> <ns1:FixedParams> <ns1:Param Name=3D"isNew" IsText=3D"false"></ns1:Param> <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$AttributeResourceMap"><= /ns1:Param> <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;FieldName&q= uot;"></ns1:Param> <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;IBSAttest&= quot;"></ns1:Param> </ns1:FixedParams> </ns1:Action> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Servic= e"> <ns1:FixedParams> <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"ExternalCall"></ns1:Param> <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> </ns1:FixedParams> <ns1:Params> <ns1:Param Name=3D"External Call Name" IsText=3D"false" Value=3D"&quot;SetW= orkflowVariable&quot;"></ns1:Param> <ns1:Param Name=3D"requestId" IsText=3D"false" Value=3D"toInt($RequestId)">= </ns1:Param> <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></ns= 1:Param> <ns1:Param Name=3D"block Id" IsText=3D"false" Value=3D"$_blockId"></ns1:Par= am> </ns1:Params> </ns1:Action> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.setvar" Id=3D"Set= Var"> <ns1:FixedParams> <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"OM_Level"></ns1:Param> <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"equal($DepartmentID,&qu= ot;CB00016707&quot;)"></ns1:Param> </ns1:FixedParams> </ns1:Action> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.setvar" Id=3D"Set= Var"> <ns1:FixedParams> <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"UM_Level"></ns1:Param> <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"(equal($DepartmentID,&q= uot;CB00016784&quot;)) || (equal($DepartmentID,&quot;CB00016793&quot;)) || = (equal($DepartmentID,&quot;CB00016823&quot;)) || (equal($DepartmentID,&quot= ;CB00021077&quot;))"></ns1:Param> </ns1:FixedParams> </ns1:Action> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.setvar" Id=3D"Set= Var"> <ns1:FixedParams> <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"AssociateRecon"></ns1:Pa= ram> <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"(equal($IBSAttest,&quot= ;&quot;) || equal($IBSAttest,&quot; &quot;) || equal($IBSAttest,null)) &amp= ;&amp; !OM_Level &amp;&amp; !UM_Level"></ns1:Param> </ns1:FixedParams> </ns1:Action> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.setvar" Id=3D"Set= Var"> <ns1:FixedParams> <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"OmLevelRecon"></ns1:Para= m> <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"(equal($IBSAttest,&quot= ;&quot;) || equal($IBSAttest,&quot; &quot;) || equal($IBSAttest,null)) &amp= ;&amp; OM_Level"></ns1:Param> </ns1:FixedParams> </ns1:Action> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.setvar" Id=3D"Set= Var"> <ns1:FixedParams> <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"UmLevelRecon"></ns1:Para= m> <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"(equal($IBSAttest,&quot= ;&quot;) || equal($IBSAttest,&quot; &quot;) || equal($IBSAttest,null)) &amp= ;&amp; UM_Level"></ns1:Param> </ns1:FixedParams> </ns1:Action> </ns1:Actions> </ns1:ExtendedAttribute> </ns1:ExtendedAttributes> </ns1:Activity> <ns1:Activity Id=3D"UM Approval"> <ns1:Implementation> <ns1:No></ns1:No> </ns1:Implementation> <ns1:FinishMode> <ns1:Manual></ns1:Manual> </ns1:FinishMode> <ns1:TransitionRestrictions> <ns1:TransitionRestriction> <ns1:Join Type=3D""></ns1:Join> <ns1:Split Type=3D"XOR"></ns1:Split> </ns1:TransitionRestriction> </ns1:TransitionRestrictions> <ns1:ExtendedAttributes> <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"104"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"142"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extended= Attribute> <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D"blockActivity"></ns= 1:ExtendedAttribute> <ns1:ExtendedAttribute Name=3D"blockId" Value=3D"defaultBlockId"></ns1:Exte= ndedAttribute> <ns1:ExtendedAttribute Name=3D"blockType" Value=3D"approval"></ns1:Extended= Attribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedAtt= ribute> <ns1:ExtendedAttribute Name=3D"roleName" Value=3D"UM Approvers"></ns1:Exten= dedAttribute> <ns1:ExtendedAttribute Name=3D"joinCount" Value=3D"1"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> <ns1:Actions> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id=3D= "MapCollection"> <ns1:FixedParams> <ns1:Param Name=3D"isNew" IsText=3D"false" Value=3D"true"></ns1:Param> <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$ProvisionMap"></ns1:Par= am> <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;errorEvent&= quot;"></ns1:Param> <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;Approval&q= uot;"></ns1:Param> </ns1:FixedParams> </ns1:Action> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Servic= e"> <ns1:FixedParams> <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"GetApproversBySpecifiedRol= e"></ns1:Param> <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D"UMApprovers"></ns1:Par= am> </ns1:FixedParams> <ns1:Params> <ns1:Param Name=3D"request Id" IsText=3D"false" Value=3D"toInt($RequestId)"= ></ns1:Param> <ns1:Param Name=3D"wf Instance Id" IsText=3D"false" Value=3D"$_instId"></ns= 1:Param> <ns1:Param Name=3D"wf Activity Id" IsText=3D"false" Value=3D"_activityId"><= /ns1:Param> </ns1:Params> </ns1:Action> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Servic= e"> <ns1:FixedParams> <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"CreateWorkflowTask"></ns1:= Param> <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> </ns1:FixedParams> <ns1:Params> <ns1:Param Name=3D"request Id" IsText=3D"false" Value=3D"toInt($RequestId)"= ></ns1:Param> <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></ns= 1:Param> <ns1:Param Name=3D"wf instance activity Id" IsText=3D"false" Value=3D"_inst= ActivityId"></ns1:Param> <ns1:Param Name=3D"wf current activity" IsText=3D"true" Value=3D"_activityI= d"></ns1:Param> <ns1:Param Name=3D"Approver List Variable" IsText=3D"false" Value=3D"UMAppr= overs"></ns1:Param> </ns1:Params> </ns1:Action> </ns1:Actions> </ns1:ExtendedAttribute> </ns1:ExtendedAttributes> </ns1:Activity> <ns1:Activity Id=3D"errorEnd"> <ns1:Implementation> <ns1:No></ns1:No> </ns1:Implementation> <ns1:FinishMode> <ns1:Automatic></ns1:Automatic> </ns1:FinishMode> <ns1:TransitionRestrictions> <ns1:TransitionRestriction> <ns1:Join Type=3D"XOR"></ns1:Join> <ns1:Split Type=3D"XOR"></ns1:Split> </ns1:TransitionRestriction> </ns1:TransitionRestrictions> <ns1:ExtendedAttributes> <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"452"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"309"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extended= Attribute> <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D""></ns1:ExtendedAtt= ribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedAtt= ribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> <ns1:Actions></ns1:Actions> </ns1:ExtendedAttribute> </ns1:ExtendedAttributes> </ns1:Activity> <ns1:Activity Id=3D"catchException"> <ns1:Implementation> <ns1:No></ns1:No> </ns1:Implementation> <ns1:FinishMode> <ns1:Automatic></ns1:Automatic> </ns1:FinishMode> <ns1:TransitionRestrictions> <ns1:TransitionRestriction> <ns1:Join Type=3D"XOR"></ns1:Join> <ns1:Split Type=3D"XOR"></ns1:Split> </ns1:TransitionRestriction> </ns1:TransitionRestrictions> <ns1:ExtendedAttributes> <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"591"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"251"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extended= Attribute> <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D""></ns1:ExtendedAtt= ribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedAtt= ribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> <ns1:Actions> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Servic= e"> <ns1:FixedParams> <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"GenericEmailNotification">= </ns1:Param> <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> </ns1:FixedParams> <ns1:Params> <ns1:Param Name=3D"requestId" IsText=3D"false" Value=3D"toInt($RequestId)">= </ns1:Param> <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></ns= 1:Param> <ns1:Param Name=3D"Email Template" IsText=3D"false" Value=3D"&quot;Provisio= ning Failed&quot;"></ns1:Param> <ns1:Param Name=3D"Name-value Map Variable" IsText=3D"false" Value=3D"$Prov= isionMap"></ns1:Param> </ns1:Params> </ns1:Action> </ns1:Actions> </ns1:ExtendedAttribute> </ns1:ExtendedAttributes> </ns1:Activity> <ns1:Activity Id=3D"BSA Approval"> <ns1:Implementation> <ns1:No></ns1:No> </ns1:Implementation> <ns1:FinishMode> <ns1:Manual></ns1:Manual> </ns1:FinishMode> <ns1:TransitionRestrictions> <ns1:TransitionRestriction> <ns1:Join Type=3D"XOR"></ns1:Join> <ns1:Split Type=3D"XOR"></ns1:Split> </ns1:TransitionRestriction> </ns1:TransitionRestrictions> <ns1:ExtendedAttributes> <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"150"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"232"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extended= Attribute> <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D"approvalActivity"><= /ns1:ExtendedAttribute> <ns1:ExtendedAttribute Name=3D"blockType" Value=3D"approval"></ns1:Extended= Attribute> <ns1:ExtendedAttribute Name=3D"joinCount" Value=3D"1"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"blockId" Value=3D"defaultBlockId"></ns1:Exte= ndedAttribute> <ns1:ExtendedAttribute Name=3D"roleName" Value=3D"BSA Approvers"></ns1:Exte= ndedAttribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedAtt= ribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> <ns1:Actions> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id=3D= "MapCollection"> <ns1:FixedParams> <ns1:Param Name=3D"isNew" IsText=3D"false" Value=3D"true"></ns1:Param> <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$ProvisionMap"></ns1:Par= am> <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;errorEvent&= quot;"></ns1:Param> <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;Approval&q= uot;"></ns1:Param> </ns1:FixedParams> </ns1:Action> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Servic= e"> <ns1:FixedParams> <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"GetApproversBySpecifiedRol= e"></ns1:Param> <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D"BSAApprovers"></ns1:Pa= ram> </ns1:FixedParams> <ns1:Params> <ns1:Param Name=3D"request Id" IsText=3D"false" Value=3D"toInt($RequestId)"= ></ns1:Param> <ns1:Param Name=3D"wf Instance Id" IsText=3D"false" Value=3D"$_instId"></ns= 1:Param> <ns1:Param Name=3D"wf Activity Id" IsText=3D"false" Value=3D"_activityId"><= /ns1:Param> </ns1:Params> </ns1:Action> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Servic= e"> <ns1:FixedParams> <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"NotifySelectedApprovers"><= /ns1:Param> <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> </ns1:FixedParams> <ns1:Params> <ns1:Param Name=3D"requestId" IsText=3D"false" Value=3D"toInt($RequestId)">= </ns1:Param> <ns1:Param Name=3D"wf Instance Id" IsText=3D"false" Value=3D"$_instId"></ns= 1:Param> <ns1:Param Name=3D"Notification Action" IsText=3D"false" Value=3D"&quot;App= rove&quot;"></ns1:Param> <ns1:Param Name=3D"Approver List Variable" IsText=3D"false" Value=3D"BSAApp= rovers"></ns1:Param> </ns1:Params> </ns1:Action> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Servic= e"> <ns1:FixedParams> <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"CreateWorkflowTask"></ns1:= Param> <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> </ns1:FixedParams> <ns1:Params> <ns1:Param Name=3D"request Id" IsText=3D"false" Value=3D"toInt($RequestId)"= ></ns1:Param> <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></ns= 1:Param> <ns1:Param Name=3D"wf instance activity Id" IsText=3D"false" Value=3D"_inst= ActivityId"></ns1:Param> <ns1:Param Name=3D"wf current activity" IsText=3D"false" Value=3D"_activity= Id"></ns1:Param> <ns1:Param Name=3D"Approver List Variable" IsText=3D"false" Value=3D"BSAApp= rovers"></ns1:Param> </ns1:Params> </ns1:Action> </ns1:Actions> </ns1:ExtendedAttribute> </ns1:ExtendedAttributes> </ns1:Activity> <ns1:Activity Id=3D"PostProvision"> <ns1:Implementation> <ns1:No></ns1:No> </ns1:Implementation> <ns1:FinishMode> <ns1:Automatic></ns1:Automatic> </ns1:FinishMode> <ns1:TransitionRestrictions> <ns1:TransitionRestriction> <ns1:Join Type=3D"XOR"></ns1:Join> <ns1:Split Type=3D"XOR"></ns1:Split> </ns1:TransitionRestriction> </ns1:TransitionRestrictions> <ns1:ExtendedAttributes> <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"150"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"550"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extended= Attribute> <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D"postProvisionActivi= ty"></ns1:ExtendedAttribute> <ns1:ExtendedAttribute Name=3D"blockType" Value=3D"postprovisioning"></ns1:= ExtendedAttribute> <ns1:ExtendedAttribute Name=3D"blockId" Value=3D"PostProvision"></ns1:Exten= dedAttribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedAtt= ribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> <ns1:Actions> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id=3D= "MapCollection"> <ns1:FixedParams> <ns1:Param Name=3D"isNew" IsText=3D"false" Value=3D"true"></ns1:Param> <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$ProvisionMap"></ns1:Par= am> <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;errorEvent&= quot;"></ns1:Param> <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;Post Provi= sioning&quot;"></ns1:Param> </ns1:FixedParams> </ns1:Action> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Servic= e"> <ns1:FixedParams> <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"StatedPostProvision"></ns1= :Param> <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D"PPC"></ns1:Param> </ns1:FixedParams> <ns1:Params> <ns1:Param Name=3D"request Id" IsText=3D"false" Value=3D"toInt($RequestId)"= ></ns1:Param> <ns1:Param Name=3D"instance Id" IsText=3D"false" Value=3D"toInt($_instId)">= </ns1:Param> <ns1:Param Name=3D"block Id" IsText=3D"false" Value=3D"$_blockId"></ns1:Par= am> </ns1:Params> </ns1:Action> </ns1:Actions> </ns1:ExtendedAttribute> </ns1:ExtendedAttributes> </ns1:Activity> <ns1:Activity Id=3D"begin"> <ns1:Implementation> <ns1:No></ns1:No> </ns1:Implementation> <ns1:FinishMode> <ns1:Automatic></ns1:Automatic> </ns1:FinishMode> <ns1:ExtendedAttributes> <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"152"></ns1:ExtendedAttribu= te> <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"11"></ns1:ExtendedAttribut= e> <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extended= Attribute> <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D""></ns1:ExtendedAtt= ribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedAtt= ribute> <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> <ns1:Actions> <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.setvar" Id=3D"Set= Var"> <ns1:FixedParams> <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$RC"></ns1:Param> <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"0"></ns1:Param> </ns1:FixedParams> </ns1:Action> </ns1:Actions> </ns1:ExtendedAttribute> </ns1:ExtendedAttributes> </ns1:Activity> </ns1:Activities> <ns1:Transitions> <ns1:Transition Id=3D"Notify Error.Activity_19" To=3D"errorEnd" From=3D"Not= ify Error"> <ns1:Description></ns1:Description> </ns1:Transition> <ns1:Transition Id=3D"catchException.errorEnd" To=3D"errorEnd" From=3D"catc= hException"> <ns1:Description></ns1:Description> </ns1:Transition> <ns1:Transition Id=3D"LogException.errorEnd" To=3D"errorEnd" From=3D"LogExc= eption"> <ns1:Description></ns1:Description> </ns1:Transition> <ns1:Transition Id=3D"catchException.LogException" To=3D"LogException" From= =3D"catchException"> <ns1:Condition>exception</ns1:Condition> <ns1:Description></ns1:Description> </ns1:Transition> <ns1:Transition Id=3D"Provision.Retry" To=3D"Retry" From=3D"Provision"> <ns1:Condition>(!equal(provisioningResult,102)) &amp;&amp; $RC&lt;4</ns1:Co= ndition> <ns1:Description></ns1:Description> </ns1:Transition> <ns1:Transition Id=3D"Retry.Provision" To=3D"Provision" From=3D"Retry"> <ns1:Description></ns1:Description> </ns1:Transition> <ns1:Transition Id=3D"PostProvision.Notify Error" To=3D"Notify Error" From= =3D"PostProvision"> <ns1:Condition></ns1:Condition> <ns1:Description></ns1:Description> </ns1:Transition> <ns1:Transition Id=3D"Provision.Notify Error" To=3D"Notify Error" From=3D"P= rovision"> <ns1:Description></ns1:Description> </ns1:Transition> <ns1:Transition Id=3D"catchException.LogException" To=3D"LogException" From= =3D"catchException"> <ns1:Description></ns1:Description> </ns1:Transition> <ns1:Transition Id=3D"CBM-Approval.Notify Rejected" To=3D"Notify Rejected" = From=3D"UM Approval"> <ns1:Description></ns1:Description> </ns1:Transition> <ns1:Transition Id=3D"Notify Rejected.errorEnd" To=3D"errorEnd" From=3D"Not= ify Rejected"> <ns1:Description></ns1:Description> </ns1:Transition> <ns1:Transition Id=3D"SIG_Approval.C_Approval" To=3D"BSA Approval" From=3D"= CS-Director-Approval"> <ns1:Condition>equal(approverAction,"approved")</ns1:Condition> <ns1:Description></ns1:Description> </ns1:Transition> <ns1:Transition Id=3D"SIG_Approval.Notify Rejected" To=3D"Notify Rejected" = From=3D"CS-Director-Approval"> <ns1:Description></ns1:Description> </ns1:Transition> <ns1:Transition Id=3D"begin.Prepare Request" To=3D"Prepare Request" From=3D= "begin"> <ns1:Description></ns1:Description> </ns1:Transition> <ns1:Transition Id=3D"Notify Target.end" To=3D"end" From=3D"Notify Target"> <ns1:Description></ns1:Description> </ns1:Transition> <ns1:Transition Id=3D"Prepare Request.SIG_Approval" To=3D"CS-Director-Appro= val" From=3D"Prepare Request"> <ns1:Condition>OmLevelRecon</ns1:Condition> <ns1:Description></ns1:Description> </ns1:Transition> <ns1:Transition Id=3D"Prepare Request.OM Approval" To=3D"OM Approval" From= =3D"Prepare Request"> <ns1:Condition>UmLevelRecon</ns1:Condition> <ns1:Description></ns1:Description> </ns1:Transition> <ns1:Transition Id=3D"Prepare Request.UM Approval" To=3D"UM Approval" From= =3D"Prepare Request"> <ns1:Condition>AssociateRecon</ns1:Condition> <ns1:Description></ns1:Description> </ns1:Transition> <ns1:Transition Id=3D"OM Approval.BSA Approval" To=3D"BSA Approval" From=3D= "OM Approval"> <ns1:Condition>equal(approverAction,"approved")</ns1:Condition> <ns1:Description></ns1:Description> </ns1:Transition> <ns1:Transition Id=3D"UM Approval.BSA Approval" To=3D"BSA Approval" From=3D= "UM Approval"> <ns1:Condition>equal(approverAction,"approved")</ns1:Condition> <ns1:Description></ns1:Description> </ns1:Transition> <ns1:Transition Id=3D"OM Approval.Notify Rejected" To=3D"Notify Rejected" F= rom=3D"OM Approval"> <ns1:Description></ns1:Description> </ns1:Transition> <ns1:Transition Id=3D"Prepare Oracle.Provision" To=3D"Provision" From=3D"Pr= epare Oracle"> <ns1:Description></ns1:Description> </ns1:Transition> <ns1:Transition Id=3D"BSA Approval.Prepare Top Secret" To=3D"Prepare Top Se= cret" From=3D"BSA Approval"> <ns1:Condition>equal(approverAction,"approved")</ns1:Condition> <ns1:Description></ns1:Description> </ns1:Transition> <ns1:Transition Id=3D"Prepare Top Secret.Prepare Oracle" To=3D"Prepare Orac= le" From=3D"Prepare Top Secret"> <ns1:Description></ns1:Description> </ns1:Transition> <ns1:Transition Id=3D"PostProvision.Notify Target" To=3D"Notify Target" Fro= m=3D"PostProvision"> <ns1:Condition>PPC</ns1:Condition> <ns1:Description></ns1:Description> </ns1:Transition> <ns1:Transition Id=3D"BSA Approval.BSA Rejection" To=3D"BSA Rejection" From= =3D"BSA Approval"> <ns1:Description></ns1:Description> </ns1:Transition> <ns1:Transition Id=3D"BSA Rejection.errorEnd" To=3D"errorEnd" From=3D"BSA R= ejection"> <ns1:Description></ns1:Description> </ns1:Transition> <ns1:Transition Id=3D"Prepare Top Secret.Notify Optional Profile" To=3D"Not= ify Optional Profile" From=3D"Prepare Top Secret"> <ns1:Condition>Send_Notification</ns1:Condition> <ns1:Description></ns1:Description> </ns1:Transition> <ns1:Transition Id=3D"Notify Optional Profile.Prepare Oracle" To=3D"Prepare= Oracle" From=3D"Notify Optional Profile"> <ns1:Description></ns1:Description> </ns1:Transition> <ns1:Transition Id=3D"Provision.PostProvision" To=3D"PostProvision" From=3D= "Provision"> <ns1:Condition>equal(provisioningResult,102) || ( equal(provisioningResult,= 105) &amp;&amp; $RC &gt;3)</ns1:Condition> <ns1:Description></ns1:Description> </ns1:Transition> <ns1:Transition Id=3D"Prepare Request.BSA Approval" To=3D"BSA Approval" Fro= m=3D"Prepare Request"> <ns1:Description></ns1:Description> </ns1:Transition> </ns1:Transitions> <ns1:ExtendedAttributes></ns1:ExtendedAttributes> </ns1:WorkflowProcess> </ns1:WorkflowProcesses> <ns1:ExtendedAttributes> <ns1:ExtendedAttribute Name=3D"MadeBy" Value=3D"HP"></ns1:ExtendedAttribute= > <ns1:ExtendedAttribute Name=3D"Version" Value=3D""></ns1:ExtendedAttribute> </ns1:ExtendedAttributes> </ns1:Package> =20 =20 Best Regards Liu Fei (Helen) ext. 8278 -----Original Message----- From: Jacob Danner (JIRA) [mailto:[email protected]] Sent: 2007=E5=B9=B46=E6=9C=8829=E6=97=A5 23:23 To: Liu, Fei (TSG-GDCC-SH/OVSI) Subject: [jira] Commented: (XMLBEANS-338) After "save", the xml file become= s incomplete [ https://issues.apache.org/jira/browse/XMLBEANS-338?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509127 ] Jacob Danner commented on XMLBEANS-338: --------------------------------------- Can you repro this just using your java src. Also, why is there an extra PI in your instance. RE: <XMLItem><?xml version=3D"1.0" encoding=3D"UTF-8" standalone=3D"yes"?> <ns1:Package Name=3D"Workflow" Id=3D"Workflow" xmlns:ns1=3D"http://www.wfmc= .org/XPDL1.0"> <ns1:PackageHeader> Thanks, -Jacob Danner > After "save", the xml file becomes incomplete > --------------------------------------------- > > Key: XMLBEANS-338 > URL: https://issues.apache.org/jira/browse/XMLBEANS-338 > Project: XMLBeans > Issue Type: Bug > Components: XmlObject > Environment: OS: Windows 2003 Server > App Server: Weblogic 9.2 mp1 > Reporter: Helen Liu > Priority: Critical > > Hi, > We are the xmlbean user. > Recently, we encounter a strange issue, that is, when the program execute= the following code, the xml file become incomplete. > obj.save( writer, prettyPrintOpts ); > Here, "obj" is an object of org.apache.xmlbeans.XmlObject; > "writer" is an instance of java.io.StringWriter; > "prettyPrintOpts" is org.apache.xmlbeans.XmlOptions; > In "obj", everything is well, the xml file is complete, but after "obj.sa= ve( writer, prettyPrintOpts );", the string in writer is incomplete, the la= st charactors is "<Pac", instead of "</Package>". > But if I add some attributes or delete some attributes in "Action" node, = this issue would be gone. > And only this xml file has this issue. > Any idea about this problem should be appreciated! > Following is the xml file: > <?xml version=3D"1.0" encoding=3D"UTF-8" standalone=3D"yes"?> > <ns1:ConfigInfo xmlns:ns1=3D"http://configload/Common"><ns1:Header Create= Time=3D"Wed Feb 08 12:02:07 EST 2006" CreateBy=3D"sisa" Version=3D"4.0" Typ= e=3D"wfTemplate"><ns1:Keys><ns1:Key Value=3D"IBS Add 12"></ns1:Key></ns1:Ke= ys></ns1:Header><ns1:Body><XMLItem><?xml version=3D"1.0" encoding=3D"UTF-8"= standalone=3D"yes"?> > <ns1:Package Name=3D"Workflow" Id=3D"Workflow" xmlns:ns1=3D"http://www.wf= mc.org/XPDL1.0"> > <ns1:PackageHeader> > <ns1:XPDLVersion>1.0</ns1:XPDLVersion> > <ns1:Vendor>HP</ns1:Vendor> > <ns1:Created></ns1:Created> > </ns1:PackageHeader> > <ns1:RedefinableHeader PublicationStatus=3D""></ns1:RedefinableHeader> > <ns1:ConformanceClass GraphConformance=3D"NON_BLOCKED"></ns1:ConformanceC= lass> > <ns1:WorkflowProcesses> > <ns1:WorkflowProcess Name=3D"IBS Add 12" AccessLevel=3D"PUBLIC" Id=3D"IBS= Add 12"> > <ns1:ProcessHeader DurationUnit=3D"D"> > <ns1:Created></ns1:Created> > </ns1:ProcessHeader> > <ns1:RedefinableHeader PublicationStatus=3D""></ns1:RedefinableHeader> > <ns1:Activities> > <ns1:Activity Id=3D"Notify Target"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=3D"XOR"></ns1:Join> > <ns1:Split Type=3D"XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"151"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"602"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D""></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.callsub" Id=3D"= CallSubworkflow"> > <ns1:FixedParams> > <ns1:Param Name=3D"tempId" IsText=3D"false" Value=3D"&quot;IBS Notificati= on&quot;"></ns1:Param> > <ns1:Param Name=3D"callMode" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"activityId" IsText=3D"false" Value=3D"&quot;success&qu= ot;"></ns1:Param> > <ns1:Param Name=3D"childCallback" IsText=3D"false"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"Prepare Oracle"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"151"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"372"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D""></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"ExternalCall"></ns1:Para= m> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"External Call Name" IsText=3D"false" Value=3D"&quot;Us= erEnableDisableWFExtCall&quot;"></ns1:Param> > <ns1:Param Name=3D"requestId" IsText=3D"false" Value=3D"toInt($RequestId)= "></ns1:Param> > <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"block Id" IsText=3D"false" Value=3D"$_blockId"></ns1:P= aram> > </ns1:Params> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"OM Approval"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Manual></ns1:Manual> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=3D""></ns1:Join> > <ns1:Split Type=3D"XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"301"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"170"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D"approvalActivity"= ></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name=3D"blockType" Value=3D"approval"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"joinCount" Value=3D"1"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"roleName" Value=3D"OM Approvers"></ns1:Ext= endedAttribute> > <ns1:ExtendedAttribute Name=3D"blockId" Value=3D"defaultBlockId"></ns1:Ex= tendedAttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id= =3D"MapCollection"> > <ns1:FixedParams> > <ns1:Param Name=3D"isNew" IsText=3D"false" Value=3D"true"></ns1:Param> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$ProvisionMap"></ns1:P= aram> > <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;errorEven= t&quot;"></ns1:Param> > <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;Approve&= quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"GetApproversBySpecifiedR= ole"></ns1:Param> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D"OMApprovers"></ns1:P= aram> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"request Id" IsText=3D"false" Value=3D"toInt($RequestId= )"></ns1:Param> > <ns1:Param Name=3D"wf Instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"wf Activity Id" IsText=3D"false" Value=3D"_activityId"= ></ns1:Param> > </ns1:Params> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"CreateWorkflowTask"></ns= 1:Param> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"request Id" IsText=3D"false" Value=3D"toInt($RequestId= )"></ns1:Param> > <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"wf instance activity Id" IsText=3D"false" Value=3D"_in= stActivityId"></ns1:Param> > <ns1:Param Name=3D"wf current activity" IsText=3D"true" Value=3D"_activit= yId"></ns1:Param> > <ns1:Param Name=3D"Approver List Variable" IsText=3D"false" Value=3D"OMAp= provers"></ns1:Param> > </ns1:Params> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"end"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=3D"XOR"></ns1:Join> > <ns1:Split Type=3D"XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"150"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"652"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D""></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions></ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"LogException"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"591"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"372"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D""></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.logmsg" Id=3D"L= og"> > <ns1:FixedParams> > <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"&quot;*** Exception h= as occured while sending an error notification: &quot; + $_exceptionList"><= /ns1:Param> > </ns1:FixedParams> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"Notify Optional Profile"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"345"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"309"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D"blockActivity"></= ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name=3D"blockId" Value=3D"defaultBlockId"></ns1:Ex= tendedAttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.callsub" Id=3D"= CallSubworkflow"> > <ns1:FixedParams> > <ns1:Param Name=3D"tempId" IsText=3D"false" Value=3D"&quot;IBS Notificati= on&quot;"></ns1:Param> > <ns1:Param Name=3D"callMode" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"activityId" IsText=3D"false" Value=3D"&quot;Optional P= rofile&quot;"></ns1:Param> > <ns1:Param Name=3D"childCallback" IsText=3D"false" Value=3D"true"></ns1:P= aram> > </ns1:FixedParams> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"Notify Error"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=3D"XOR"></ns1:Join> > <ns1:Split Type=3D"XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"451"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"431"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D""></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.callsub" Id=3D"= CallSubworkflow"> > <ns1:FixedParams> > <ns1:Param Name=3D"tempId" IsText=3D"false" Value=3D"&quot;IBS Notificati= on&quot;"></ns1:Param> > <ns1:Param Name=3D"callMode" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"activityId" IsText=3D"false" Value=3D"&quot;error&quot= ;"></ns1:Param> > <ns1:Param Name=3D"childCallback" IsText=3D"false"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"Notify Rejected"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=3D"XOR"></ns1:Join> > <ns1:Split Type=3D""></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"452"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"70"></ns1:ExtendedAttrib= ute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D"blockActivity"></= ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name=3D"blockId" Value=3D"defaultBlockId"></ns1:Ex= tendedAttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.callsub" Id=3D"= CallSubworkflow"> > <ns1:FixedParams> > <ns1:Param Name=3D"tempId" IsText=3D"false" Value=3D"&quot;IBS Notificati= on&quot;"></ns1:Param> > <ns1:Param Name=3D"callMode" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"activityId" IsText=3D"false" Value=3D"&quot;rejected&q= uot;"></ns1:Param> > <ns1:Param Name=3D"childCallback" IsText=3D"false"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"Provision"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Manual></ns1:Manual> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=3D"XOR"></ns1:Join> > <ns1:Split Type=3D"XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"151"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"432"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D"provisionActivity= "></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name=3D"blockType" Value=3D"provisioning"></ns1:Ex= tendedAttribute> > <ns1:ExtendedAttribute Name=3D"blockId" Value=3D"Provision"></ns1:Extende= dAttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id= =3D"MapCollection"> > <ns1:FixedParams> > <ns1:Param Name=3D"isNew" IsText=3D"false" Value=3D"true"></ns1:Param> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$ProvisionMap"></ns1:P= aram> > <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;errorEven= t&quot;"></ns1:Param> > <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;Provisio= ning&quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"ProvisioningTask"></ns1:= Param> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D"provisioningResult">= </ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"request Id" IsText=3D"false" Value=3D"toInt($RequestId= )"></ns1:Param> > <ns1:Param Name=3D"retry number" IsText=3D"false" Value=3D"toInt($RC)"></= ns1:Param> > <ns1:Param Name=3D"instance Id" IsText=3D"false" Value=3D"$_instId"></ns1= :Param> > <ns1:Param Name=3D"block Id" IsText=3D"false" Value=3D"$_blockId"></ns1:P= aram> > <ns1:Param Name=3D"wf instance activity Id" IsText=3D"false" Value=3D"_in= stActivityId"></ns1:Param> > </ns1:Params> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"Prepare Top Secret"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=3D""></ns1:Join> > <ns1:Split Type=3D"XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"150"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"310"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D""></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.setvar" Id=3D"S= etVar"> > <ns1:FixedParams> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"GenerateNewIbsId"></ns= 1:Param> > <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"&quot;UE&quot;"></ns1= :Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"ExternalCall"></ns1:Para= m> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"External Call Name" IsText=3D"false" Value=3D"&quot;Us= erEnableDisableWFExtCall&quot;"></ns1:Param> > <ns1:Param Name=3D"requestId" IsText=3D"false" Value=3D"toInt($RequestId)= "></ns1:Param> > <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"block Id" IsText=3D"false" Value=3D"$_blockId"></ns1:P= aram> > </ns1:Params> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id= =3D"MapCollection"> > <ns1:FixedParams> > <ns1:Param Name=3D"isNew" IsText=3D"false" Value=3D"true"></ns1:Param> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$AttributeResourceMap"= ></ns1:Param> > <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;FieldName= &quot;"></ns1:Param> > <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;IBSOptio= nalProfiles&quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"ExternalCall"></ns1:Para= m> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"External Call Name" IsText=3D"false" Value=3D"&quot;Us= erEnableDisableWFExtCall&quot;"></ns1:Param> > <ns1:Param Name=3D"requestId" IsText=3D"false" Value=3D"toInt($RequestId)= "></ns1:Param> > <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"block Id" IsText=3D"false" Value=3D"$_blockId"></ns1:P= aram> > </ns1:Params> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id= =3D"MapCollection"> > <ns1:FixedParams> > <ns1:Param Name=3D"isNew" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$AttributeResourceMap"= ></ns1:Param> > <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;FieldName= &quot;"></ns1:Param> > <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;IBSExcep= tionRequest&quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"ExternalCall"></ns1:Para= m> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"External Call Name" IsText=3D"false" Value=3D"&quot;Us= erEnableDisableWFExtCall&quot;"></ns1:Param> > <ns1:Param Name=3D"requestId" IsText=3D"false" Value=3D"toInt($RequestId)= "></ns1:Param> > <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"block Id" IsText=3D"false" Value=3D"$_blockId"></ns1:P= aram> > </ns1:Params> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.setvar" Id=3D"S= etVar"> > <ns1:FixedParams> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"Send_Notification"></n= s1:Param> > <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"((!equal($IBSOptional= Profiles,null)) &amp;&amp; (!equal($IBSOptionalProfiles,&quot;&quot;))) || = ((!equal($IBSExceptionRequest,null)) &amp;&amp; (!equal($IBSExceptionReques= t,&quot;&quot;)))"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"Retry"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Manual></ns1:Manual> > </ns1:FinishMode> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"13"></ns1:ExtendedAttrib= ute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"378"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D"blockActivity"></= ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name=3D"blockId" Value=3D"Retry"></ns1:ExtendedAtt= ribute> > <ns1:ExtendedAttribute Name=3D"timeoutLength" Value=3D"60 secs"></ns1:Ext= endedAttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.setvar" Id=3D"S= etVar"> > <ns1:FixedParams> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$RC"></ns1:Param> > <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"$RC+1"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.logmsg" Id=3D"L= og"> > <ns1:FixedParams> > <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"&quot;Provisioning at= tempt failed. Waiting to retry.&quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"BSA Rejection"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"391"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"233"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D""></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.callsub" Id=3D"= CallSubworkflow"> > <ns1:FixedParams> > <ns1:Param Name=3D"tempId" IsText=3D"false" Value=3D"&quot;IBS Notificati= on&quot;"></ns1:Param> > <ns1:Param Name=3D"callMode" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"activityId" IsText=3D"false" Value=3D"&quot;rejected&q= uot;"></ns1:Param> > <ns1:Param Name=3D"childCallback" IsText=3D"false"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"CS-Director-Approval"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Manual></ns1:Manual> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=3D""></ns1:Join> > <ns1:Split Type=3D"XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"10"></ns1:ExtendedAttrib= ute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"111"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D"approvalActivity"= ></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name=3D"blockId" Value=3D"defaultBlockId"></ns1:Ex= tendedAttribute> > <ns1:ExtendedAttribute Name=3D"joinCount" Value=3D"1"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"blockType" Value=3D"approval"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"roleName" Value=3D"CS Director"></ns1:Exte= ndedAttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id= =3D"MapCollection"> > <ns1:FixedParams> > <ns1:Param Name=3D"isNew" IsText=3D"false" Value=3D"true"></ns1:Param> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$ProvisionMap"></ns1:P= aram> > <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;errorEven= t&quot;"></ns1:Param> > <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;Approval= &quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"GetApproversBySpecifiedR= ole"></ns1:Param> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D"CSApprovers"></ns1:P= aram> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"request Id" IsText=3D"false" Value=3D"toInt($RequestId= )"></ns1:Param> > <ns1:Param Name=3D"wf Instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"wf Activity Id" IsText=3D"false" Value=3D"_activityId"= ></ns1:Param> > </ns1:Params> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"CreateWorkflowTask"></ns= 1:Param> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"request Id" IsText=3D"false" Value=3D"toInt($RequestId= )"></ns1:Param> > <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"wf instance activity Id" IsText=3D"false" Value=3D"_in= stActivityId"></ns1:Param> > <ns1:Param Name=3D"wf current activity" IsText=3D"true" Value=3D"_activit= yId"></ns1:Param> > <ns1:Param Name=3D"Approver List Variable" IsText=3D"false" Value=3D"CSAp= provers"></ns1:Param> > </ns1:Params> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"Prepare Request"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=3D"XOR"></ns1:Join> > <ns1:Split Type=3D"XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"151"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"60"></ns1:ExtendedAttrib= ute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D"blockActivity"></= ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name=3D"blockId" Value=3D"defaultBlockId"></ns1:Ex= tendedAttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id= =3D"MapCollection"> > <ns1:FixedParams> > <ns1:Param Name=3D"isNew" IsText=3D"false" Value=3D"true"></ns1:Param> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$ProvisionMap"></ns1:P= aram> > <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;errorEven= t&quot;"></ns1:Param> > <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;Approval= &quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id= =3D"MapCollection"> > <ns1:FixedParams> > <ns1:Param Name=3D"isNew" IsText=3D"false" Value=3D"true"></ns1:Param> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$AttributeResourceMap"= ></ns1:Param> > <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;FieldName= &quot;"></ns1:Param> > <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;Departme= ntID&quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"ExternalCall"></ns1:Para= m> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"External Call Name" IsText=3D"false" Value=3D"&quot;Se= tWorkflowVariable&quot;"></ns1:Param> > <ns1:Param Name=3D"requestId" IsText=3D"false" Value=3D"toInt($RequestId)= "></ns1:Param> > <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"block Id" IsText=3D"false" Value=3D"$_blockId"></ns1:P= aram> > </ns1:Params> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id= =3D"MapCollection"> > <ns1:FixedParams> > <ns1:Param Name=3D"isNew" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$AttributeResourceMap"= ></ns1:Param> > <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;FieldName= &quot;"></ns1:Param> > <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;IBSAttes= t&quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"ExternalCall"></ns1:Para= m> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"External Call Name" IsText=3D"false" Value=3D"&quot;Se= tWorkflowVariable&quot;"></ns1:Param> > <ns1:Param Name=3D"requestId" IsText=3D"false" Value=3D"toInt($RequestId)= "></ns1:Param> > <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"block Id" IsText=3D"false" Value=3D"$_blockId"></ns1:P= aram> > </ns1:Params> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.setvar" Id=3D"S= etVar"> > <ns1:FixedParams> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"OM_Level"></ns1:Param> > <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"equal($DepartmentID,&= quot;CB00016707&quot;)"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.setvar" Id=3D"S= etVar"> > <ns1:FixedParams> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"UM_Level"></ns1:Param> > <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"(equal($DepartmentID,= &quot;CB00016784&quot;)) || (equal($DepartmentID,&quot;CB00016793&quot;)) |= | (equal($DepartmentID,&quot;CB00016823&quot;)) || (equal($DepartmentID,&qu= ot;CB00021077&quot;))"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.setvar" Id=3D"S= etVar"> > <ns1:FixedParams> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"AssociateRecon"></ns1:= Param> > <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"(equal($IBSAttest,&qu= ot;&quot;) || equal($IBSAttest,&quot; &quot;) || equal($IBSAttest,null)) &a= mp;&amp; !OM_Level &amp;&amp; !UM_Level"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.setvar" Id=3D"S= etVar"> > <ns1:FixedParams> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"OmLevelRecon"></ns1:Pa= ram> > <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"(equal($IBSAttest,&qu= ot;&quot;) || equal($IBSAttest,&quot; &quot;) || equal($IBSAttest,null)) &a= mp;&amp; OM_Level"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.setvar" Id=3D"S= etVar"> > <ns1:FixedParams> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"UmLevelRecon"></ns1:Pa= ram> > <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"(equal($IBSAttest,&qu= ot;&quot;) || equal($IBSAttest,&quot; &quot;) || equal($IBSAttest,null)) &a= mp;&amp; UM_Level"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"UM Approval"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Manual></ns1:Manual> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=3D""></ns1:Join> > <ns1:Split Type=3D"XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"104"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"142"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D"blockActivity"></= ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name=3D"blockId" Value=3D"defaultBlockId"></ns1:Ex= tendedAttribute> > <ns1:ExtendedAttribute Name=3D"blockType" Value=3D"approval"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"roleName" Value=3D"UM Approvers"></ns1:Ext= endedAttribute> > <ns1:ExtendedAttribute Name=3D"joinCount" Value=3D"1"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id= =3D"MapCollection"> > <ns1:FixedParams> > <ns1:Param Name=3D"isNew" IsText=3D"false" Value=3D"true"></ns1:Param> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$ProvisionMap"></ns1:P= aram> > <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;errorEven= t&quot;"></ns1:Param> > <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;Approval= &quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"GetApproversBySpecifiedR= ole"></ns1:Param> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D"UMApprovers"></ns1:P= aram> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"request Id" IsText=3D"false" Value=3D"toInt($RequestId= )"></ns1:Param> > <ns1:Param Name=3D"wf Instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"wf Activity Id" IsText=3D"false" Value=3D"_activityId"= ></ns1:Param> > </ns1:Params> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"CreateWorkflowTask"></ns= 1:Param> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"request Id" IsText=3D"false" Value=3D"toInt($RequestId= )"></ns1:Param> > <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"wf instance activity Id" IsText=3D"false" Value=3D"_in= stActivityId"></ns1:Param> > <ns1:Param Name=3D"wf current activity" IsText=3D"true" Value=3D"_activit= yId"></ns1:Param> > <ns1:Param Name=3D"Approver List Variable" IsText=3D"false" Value=3D"UMAp= provers"></ns1:Param> > </ns1:Params> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"errorEnd"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=3D"XOR"></ns1:Join> > <ns1:Split Type=3D"XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"452"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"309"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D""></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions></ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"catchException"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=3D"XOR"></ns1:Join> > <ns1:Split Type=3D"XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"591"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"251"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D""></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"GenericEmailNotification= "></ns1:Param> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"requestId" IsText=3D"false" Value=3D"toInt($RequestId)= "></ns1:Param> > <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"Email Template" IsText=3D"false" Value=3D"&quot;Provis= ioning Failed&quot;"></ns1:Param> > <ns1:Param Name=3D"Name-value Map Variable" IsText=3D"false" Value=3D"$Pr= ovisionMap"></ns1:Param> > </ns1:Params> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"BSA Approval"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Manual></ns1:Manual> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=3D"XOR"></ns1:Join> > <ns1:Split Type=3D"XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"150"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"232"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D"approvalActivity"= ></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name=3D"blockType" Value=3D"approval"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"joinCount" Value=3D"1"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"blockId" Value=3D"defaultBlockId"></ns1:Ex= tendedAttribute> > <ns1:ExtendedAttribute Name=3D"roleName" Value=3D"BSA Approvers"></ns1:Ex= tendedAttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id= =3D"MapCollection"> > <ns1:FixedParams> > <ns1:Param Name=3D"isNew" IsText=3D"false" Value=3D"true"></ns1:Param> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$ProvisionMap"></ns1:P= aram> > <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;errorEven= t&quot;"></ns1:Param> > <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;Approval= &quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"GetApproversBySpecifiedR= ole"></ns1:Param> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D"BSAApprovers"></ns1:= Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"request Id" IsText=3D"false" Value=3D"toInt($RequestId= )"></ns1:Param> > <ns1:Param Name=3D"wf Instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"wf Activity Id" IsText=3D"false" Value=3D"_activityId"= ></ns1:Param> > </ns1:Params> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"NotifySelectedApprovers"= ></ns1:Param> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"requestId" IsText=3D"false" Value=3D"toInt($RequestId)= "></ns1:Param> > <ns1:Param Name=3D"wf Instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"Notification Action" IsText=3D"false" Value=3D"&quot;A= pprove&quot;"></ns1:Param> > <ns1:Param Name=3D"Approver List Variable" IsText=3D"false" Value=3D"BSAA= pprovers"></ns1:Param> > </ns1:Params> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"CreateWorkflowTask"></ns= 1:Param> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"request Id" IsText=3D"false" Value=3D"toInt($RequestId= )"></ns1:Param> > <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"wf instance activity Id" IsText=3D"false" Value=3D"_in= stActivityId"></ns1:Param> > <ns1:Param Name=3D"wf current activity" IsText=3D"false" Value=3D"_activi= tyId"></ns1:Param> > <ns1:Param Name=3D"Approver List Variable" IsText=3D"false" Value=3D"BSAA= pprovers"></ns1:Param> > </ns1:Params> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"PostProvision"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=3D"XOR"></ns1:Join> > <ns1:Split Type=3D"XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"150"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"550"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D"postProvisionActi= vity"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name=3D"blockType" Value=3D"postprovisioning"></ns= 1:ExtendedAttribute> > <ns1:ExtendedAttribute Name=3D"blockId" Value=3D"PostProvision"></ns1:Ext= endedAttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id= =3D"MapCollection"> > <ns1:FixedParams> > <ns1:Param Name=3D"isNew" IsText=3D"false" Value=3D"true"></ns1:Param> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$ProvisionMap"></ns1:P= aram> > <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;errorEven= t&quot;"></ns1:Param> > <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;Post Pro= visioning&quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"StatedPostProvision"></n= s1:Param> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D"PPC"></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"request Id" IsText=3D"false" Value=3D"toInt($RequestId= )"></ns1:Param> > <ns1:Param Name=3D"instance Id" IsText=3D"false" Value=3D"toInt($_instId)= "></ns1:Param> > <ns1:Param Name=3D"block Id" IsText=3D"false" Value=3D"$_blockId"></ns1:P= aram> > </ns1:Params> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"begin"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"152"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"11"></ns1:ExtendedAttrib= ute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D""></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.setvar" Id=3D"S= etVar"> > <ns1:FixedParams> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$RC"></ns1:Param> > <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"0"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > </ns1:Activities> > <ns1:Transitions> > <ns1:Transition Id=3D"Notify Error.Activity_19" To=3D"errorEnd" From=3D"N= otify Error"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"catchException.errorEnd" To=3D"errorEnd" From=3D"ca= tchException"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"LogException.errorEnd" To=3D"errorEnd" From=3D"LogE= xception"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"catchException.LogException" To=3D"LogException" Fr= om=3D"catchException"> > <ns1:Condition>exception</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"Provision.Retry" To=3D"Retry" From=3D"Provision"> > <ns1:Condition>(!equal(provisioningResult,102)) &amp;&amp; $RC&lt;4</ns1:= Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"Retry.Provision" To=3D"Provision" From=3D"Retry"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"PostProvision.Notify Error" To=3D"Notify Error" Fro= m=3D"PostProvision"> > <ns1:Condition></ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"Provision.Notify Error" To=3D"Notify Error" From=3D= "Provision"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"catchException.LogException" To=3D"LogException" Fr= om=3D"catchException"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"CBM-Approval.Notify Rejected" To=3D"Notify Rejected= " From=3D"UM Approval"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"Notify Rejected.errorEnd" To=3D"errorEnd" From=3D"N= otify Rejected"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"SIG_Approval.C_Approval" To=3D"BSA Approval" From= =3D"CS-Director-Approval"> > <ns1:Condition>equal(approverAction,"approved")</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"SIG_Approval.Notify Rejected" To=3D"Notify Rejected= " From=3D"CS-Director-Approval"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"begin.Prepare Request" To=3D"Prepare Request" From= =3D"begin"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"Notify Target.end" To=3D"end" From=3D"Notify Target= "> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"Prepare Request.SIG_Approval" To=3D"CS-Director-App= roval" From=3D"Prepare Request"> > <ns1:Condition>OmLevelRecon</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"Prepare Request.OM Approval" To=3D"OM Approval" Fro= m=3D"Prepare Request"> > <ns1:Condition>UmLevelRecon</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"Prepare Request.UM Approval" To=3D"UM Approval" Fro= m=3D"Prepare Request"> > <ns1:Condition>AssociateRecon</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"OM Approval.BSA Approval" To=3D"BSA Approval" From= =3D"OM Approval"> > <ns1:Condition>equal(approverAction,"approved")</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"UM Approval.BSA Approval" To=3D"BSA Approval" From= =3D"UM Approval"> > <ns1:Condition>equal(approverAction,"approved")</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"OM Approval.Notify Rejected" To=3D"Notify Rejected"= From=3D"OM Approval"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"Prepare Oracle.Provision" To=3D"Provision" From=3D"= Prepare Oracle"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"BSA Approval.Prepare Top Secret" To=3D"Prepare Top = Secret" From=3D"BSA Approval"> > <ns1:Condition>equal(approverAction,"approved")</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"Prepare Top Secret.Prepare Oracle" To=3D"Prepare Or= acle" From=3D"Prepare Top Secret"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"PostProvision.Notify Target" To=3D"Notify Target" F= rom=3D"PostProvision"> > <ns1:Condition>PPC</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"BSA Approval.BSA Rejection" To=3D"BSA Rejection" Fr= om=3D"BSA Approval"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"BSA Rejection.errorEnd" To=3D"errorEnd" From=3D"BSA= Rejection"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"Prepare Top Secret.Notify Optional Profile" To=3D"N= otify Optional Profile" From=3D"Prepare Top Secret"> > <ns1:Condition>Send_Notification</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"Notify Optional Profile.Prepare Oracle" To=3D"Prepa= re Oracle" From=3D"Notify Optional Profile"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"Provision.PostProvision" To=3D"PostProvision" From= =3D"Provision"> > <ns1:Condition>equal(provisioningResult,102) || ( equal(provisioningResul= t,105) &amp;&amp; $RC &gt;3)</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"Prepare Request.BSA Approval" To=3D"BSA Approval" F= rom=3D"Prepare Request"> > <ns1:Description></ns1:Description> > </ns1:Transition> > </ns1:Transitions> > <ns1:ExtendedAttributes></ns1:ExtendedAttributes> > </ns1:WorkflowProcess> > </ns1:WorkflowProcesses> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"MadeBy" Value=3D"HP"></ns1:ExtendedAttribu= te> > <ns1:ExtendedAttribute Name=3D"Version" Value=3D""></ns1:ExtendedAttribut= e> > </ns1:ExtendedAttributes> > </ns1:Package> > After "save", the xml file becomes incomplete > --------------------------------------------- > > Key: XMLBEANS-338 > URL: https://issues.apache.org/jira/browse/XMLBEANS-338 > Project: XMLBeans > Issue Type: Bug > Components: XmlObject > Environment: OS: Windows 2003 Server > App Server: Weblogic 9.2 mp1 > Reporter: Helen Liu > Priority: Critical > > Hi, > We are the xmlbean user. > Recently, we encounter a strange issue, that is, when the program execute= the following code, the xml file become incomplete. > obj.save( writer, prettyPrintOpts ); > Here, "obj" is an object of org.apache.xmlbeans.XmlObject; > "writer" is an instance of java.io.StringWriter; > "prettyPrintOpts" is org.apache.xmlbeans.XmlOptions; > In "obj", everything is well, the xml file is complete, but after "obj.sa= ve( writer, prettyPrintOpts );", the string in writer is incomplete, the la= st charactors is "<Pac", instead of "</Package>". > But if I add some attributes or delete some attributes in "Action" node, = this issue would be gone. > And only this xml file has this issue. > Any idea about this problem should be appreciated! > Following is the xml file: > <?xml version=3D"1.0" encoding=3D"UTF-8" standalone=3D"yes"?> > <ns1:ConfigInfo xmlns:ns1=3D"http://configload/Common"><ns1:Header Create= Time=3D"Wed Feb 08 12:02:07 EST 2006" CreateBy=3D"sisa" Version=3D"4.0" Typ= e=3D"wfTemplate"><ns1:Keys><ns1:Key Value=3D"IBS Add 12"></ns1:Key></ns1:Ke= ys></ns1:Header><ns1:Body><XMLItem><?xml version=3D"1.0" encoding=3D"UTF-8"= standalone=3D"yes"?> > <ns1:Package Name=3D"Workflow" Id=3D"Workflow" xmlns:ns1=3D"http://www.wf= mc.org/XPDL1.0"> > <ns1:PackageHeader> > <ns1:XPDLVersion>1.0</ns1:XPDLVersion> > <ns1:Vendor>HP</ns1:Vendor> > <ns1:Created></ns1:Created> > </ns1:PackageHeader> > <ns1:RedefinableHeader PublicationStatus=3D""></ns1:RedefinableHeader> > <ns1:ConformanceClass GraphConformance=3D"NON_BLOCKED"></ns1:ConformanceC= lass> > <ns1:WorkflowProcesses> > <ns1:WorkflowProcess Name=3D"IBS Add 12" AccessLevel=3D"PUBLIC" Id=3D"IBS= Add 12"> > <ns1:ProcessHeader DurationUnit=3D"D"> > <ns1:Created></ns1:Created> > </ns1:ProcessHeader> > <ns1:RedefinableHeader PublicationStatus=3D""></ns1:RedefinableHeader> > <ns1:Activities> > <ns1:Activity Id=3D"Notify Target"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=3D"XOR"></ns1:Join> > <ns1:Split Type=3D"XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"151"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"602"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D""></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.callsub" Id=3D"= CallSubworkflow"> > <ns1:FixedParams> > <ns1:Param Name=3D"tempId" IsText=3D"false" Value=3D"&quot;IBS Notificati= on&quot;"></ns1:Param> > <ns1:Param Name=3D"callMode" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"activityId" IsText=3D"false" Value=3D"&quot;success&qu= ot;"></ns1:Param> > <ns1:Param Name=3D"childCallback" IsText=3D"false"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"Prepare Oracle"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"151"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"372"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D""></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"ExternalCall"></ns1:Para= m> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"External Call Name" IsText=3D"false" Value=3D"&quot;Us= erEnableDisableWFExtCall&quot;"></ns1:Param> > <ns1:Param Name=3D"requestId" IsText=3D"false" Value=3D"toInt($RequestId)= "></ns1:Param> > <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"block Id" IsText=3D"false" Value=3D"$_blockId"></ns1:P= aram> > </ns1:Params> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"OM Approval"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Manual></ns1:Manual> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=3D""></ns1:Join> > <ns1:Split Type=3D"XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"301"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"170"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D"approvalActivity"= ></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name=3D"blockType" Value=3D"approval"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"joinCount" Value=3D"1"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"roleName" Value=3D"OM Approvers"></ns1:Ext= endedAttribute> > <ns1:ExtendedAttribute Name=3D"blockId" Value=3D"defaultBlockId"></ns1:Ex= tendedAttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id= =3D"MapCollection"> > <ns1:FixedParams> > <ns1:Param Name=3D"isNew" IsText=3D"false" Value=3D"true"></ns1:Param> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$ProvisionMap"></ns1:P= aram> > <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;errorEven= t&quot;"></ns1:Param> > <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;Approve&= quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"GetApproversBySpecifiedR= ole"></ns1:Param> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D"OMApprovers"></ns1:P= aram> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"request Id" IsText=3D"false" Value=3D"toInt($RequestId= )"></ns1:Param> > <ns1:Param Name=3D"wf Instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"wf Activity Id" IsText=3D"false" Value=3D"_activityId"= ></ns1:Param> > </ns1:Params> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"CreateWorkflowTask"></ns= 1:Param> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"request Id" IsText=3D"false" Value=3D"toInt($RequestId= )"></ns1:Param> > <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"wf instance activity Id" IsText=3D"false" Value=3D"_in= stActivityId"></ns1:Param> > <ns1:Param Name=3D"wf current activity" IsText=3D"true" Value=3D"_activit= yId"></ns1:Param> > <ns1:Param Name=3D"Approver List Variable" IsText=3D"false" Value=3D"OMAp= provers"></ns1:Param> > </ns1:Params> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"end"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=3D"XOR"></ns1:Join> > <ns1:Split Type=3D"XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"150"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"652"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D""></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions></ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"LogException"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"591"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"372"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D""></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.logmsg" Id=3D"L= og"> > <ns1:FixedParams> > <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"&quot;*** Exception h= as occured while sending an error notification: &quot; + $_exceptionList"><= /ns1:Param> > </ns1:FixedParams> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"Notify Optional Profile"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"345"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"309"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D"blockActivity"></= ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name=3D"blockId" Value=3D"defaultBlockId"></ns1:Ex= tendedAttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.callsub" Id=3D"= CallSubworkflow"> > <ns1:FixedParams> > <ns1:Param Name=3D"tempId" IsText=3D"false" Value=3D"&quot;IBS Notificati= on&quot;"></ns1:Param> > <ns1:Param Name=3D"callMode" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"activityId" IsText=3D"false" Value=3D"&quot;Optional P= rofile&quot;"></ns1:Param> > <ns1:Param Name=3D"childCallback" IsText=3D"false" Value=3D"true"></ns1:P= aram> > </ns1:FixedParams> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"Notify Error"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=3D"XOR"></ns1:Join> > <ns1:Split Type=3D"XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"451"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"431"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D""></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.callsub" Id=3D"= CallSubworkflow"> > <ns1:FixedParams> > <ns1:Param Name=3D"tempId" IsText=3D"false" Value=3D"&quot;IBS Notificati= on&quot;"></ns1:Param> > <ns1:Param Name=3D"callMode" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"activityId" IsText=3D"false" Value=3D"&quot;error&quot= ;"></ns1:Param> > <ns1:Param Name=3D"childCallback" IsText=3D"false"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"Notify Rejected"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=3D"XOR"></ns1:Join> > <ns1:Split Type=3D""></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"452"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"70"></ns1:ExtendedAttrib= ute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D"blockActivity"></= ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name=3D"blockId" Value=3D"defaultBlockId"></ns1:Ex= tendedAttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.callsub" Id=3D"= CallSubworkflow"> > <ns1:FixedParams> > <ns1:Param Name=3D"tempId" IsText=3D"false" Value=3D"&quot;IBS Notificati= on&quot;"></ns1:Param> > <ns1:Param Name=3D"callMode" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"activityId" IsText=3D"false" Value=3D"&quot;rejected&q= uot;"></ns1:Param> > <ns1:Param Name=3D"childCallback" IsText=3D"false"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"Provision"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Manual></ns1:Manual> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=3D"XOR"></ns1:Join> > <ns1:Split Type=3D"XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"151"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"432"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D"provisionActivity= "></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name=3D"blockType" Value=3D"provisioning"></ns1:Ex= tendedAttribute> > <ns1:ExtendedAttribute Name=3D"blockId" Value=3D"Provision"></ns1:Extende= dAttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id= =3D"MapCollection"> > <ns1:FixedParams> > <ns1:Param Name=3D"isNew" IsText=3D"false" Value=3D"true"></ns1:Param> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$ProvisionMap"></ns1:P= aram> > <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;errorEven= t&quot;"></ns1:Param> > <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;Provisio= ning&quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"ProvisioningTask"></ns1:= Param> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D"provisioningResult">= </ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"request Id" IsText=3D"false" Value=3D"toInt($RequestId= )"></ns1:Param> > <ns1:Param Name=3D"retry number" IsText=3D"false" Value=3D"toInt($RC)"></= ns1:Param> > <ns1:Param Name=3D"instance Id" IsText=3D"false" Value=3D"$_instId"></ns1= :Param> > <ns1:Param Name=3D"block Id" IsText=3D"false" Value=3D"$_blockId"></ns1:P= aram> > <ns1:Param Name=3D"wf instance activity Id" IsText=3D"false" Value=3D"_in= stActivityId"></ns1:Param> > </ns1:Params> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"Prepare Top Secret"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=3D""></ns1:Join> > <ns1:Split Type=3D"XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"150"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"310"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D""></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.setvar" Id=3D"S= etVar"> > <ns1:FixedParams> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"GenerateNewIbsId"></ns= 1:Param> > <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"&quot;UE&quot;"></ns1= :Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"ExternalCall"></ns1:Para= m> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"External Call Name" IsText=3D"false" Value=3D"&quot;Us= erEnableDisableWFExtCall&quot;"></ns1:Param> > <ns1:Param Name=3D"requestId" IsText=3D"false" Value=3D"toInt($RequestId)= "></ns1:Param> > <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"block Id" IsText=3D"false" Value=3D"$_blockId"></ns1:P= aram> > </ns1:Params> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id= =3D"MapCollection"> > <ns1:FixedParams> > <ns1:Param Name=3D"isNew" IsText=3D"false" Value=3D"true"></ns1:Param> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$AttributeResourceMap"= ></ns1:Param> > <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;FieldName= &quot;"></ns1:Param> > <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;IBSOptio= nalProfiles&quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"ExternalCall"></ns1:Para= m> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"External Call Name" IsText=3D"false" Value=3D"&quot;Us= erEnableDisableWFExtCall&quot;"></ns1:Param> > <ns1:Param Name=3D"requestId" IsText=3D"false" Value=3D"toInt($RequestId)= "></ns1:Param> > <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"block Id" IsText=3D"false" Value=3D"$_blockId"></ns1:P= aram> > </ns1:Params> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id= =3D"MapCollection"> > <ns1:FixedParams> > <ns1:Param Name=3D"isNew" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$AttributeResourceMap"= ></ns1:Param> > <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;FieldName= &quot;"></ns1:Param> > <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;IBSExcep= tionRequest&quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"ExternalCall"></ns1:Para= m> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"External Call Name" IsText=3D"false" Value=3D"&quot;Us= erEnableDisableWFExtCall&quot;"></ns1:Param> > <ns1:Param Name=3D"requestId" IsText=3D"false" Value=3D"toInt($RequestId)= "></ns1:Param> > <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"block Id" IsText=3D"false" Value=3D"$_blockId"></ns1:P= aram> > </ns1:Params> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.setvar" Id=3D"S= etVar"> > <ns1:FixedParams> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"Send_Notification"></n= s1:Param> > <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"((!equal($IBSOptional= Profiles,null)) &amp;&amp; (!equal($IBSOptionalProfiles,&quot;&quot;))) || = ((!equal($IBSExceptionRequest,null)) &amp;&amp; (!equal($IBSExceptionReques= t,&quot;&quot;)))"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"Retry"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Manual></ns1:Manual> > </ns1:FinishMode> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"13"></ns1:ExtendedAttrib= ute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"378"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D"blockActivity"></= ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name=3D"blockId" Value=3D"Retry"></ns1:ExtendedAtt= ribute> > <ns1:ExtendedAttribute Name=3D"timeoutLength" Value=3D"60 secs"></ns1:Ext= endedAttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.setvar" Id=3D"S= etVar"> > <ns1:FixedParams> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$RC"></ns1:Param> > <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"$RC+1"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.logmsg" Id=3D"L= og"> > <ns1:FixedParams> > <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"&quot;Provisioning at= tempt failed. Waiting to retry.&quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"BSA Rejection"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"391"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"233"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D""></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.callsub" Id=3D"= CallSubworkflow"> > <ns1:FixedParams> > <ns1:Param Name=3D"tempId" IsText=3D"false" Value=3D"&quot;IBS Notificati= on&quot;"></ns1:Param> > <ns1:Param Name=3D"callMode" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"activityId" IsText=3D"false" Value=3D"&quot;rejected&q= uot;"></ns1:Param> > <ns1:Param Name=3D"childCallback" IsText=3D"false"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"CS-Director-Approval"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Manual></ns1:Manual> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=3D""></ns1:Join> > <ns1:Split Type=3D"XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"10"></ns1:ExtendedAttrib= ute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"111"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D"approvalActivity"= ></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name=3D"blockId" Value=3D"defaultBlockId"></ns1:Ex= tendedAttribute> > <ns1:ExtendedAttribute Name=3D"joinCount" Value=3D"1"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"blockType" Value=3D"approval"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"roleName" Value=3D"CS Director"></ns1:Exte= ndedAttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id= =3D"MapCollection"> > <ns1:FixedParams> > <ns1:Param Name=3D"isNew" IsText=3D"false" Value=3D"true"></ns1:Param> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$ProvisionMap"></ns1:P= aram> > <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;errorEven= t&quot;"></ns1:Param> > <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;Approval= &quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"GetApproversBySpecifiedR= ole"></ns1:Param> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D"CSApprovers"></ns1:P= aram> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"request Id" IsText=3D"false" Value=3D"toInt($RequestId= )"></ns1:Param> > <ns1:Param Name=3D"wf Instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"wf Activity Id" IsText=3D"false" Value=3D"_activityId"= ></ns1:Param> > </ns1:Params> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"CreateWorkflowTask"></ns= 1:Param> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"request Id" IsText=3D"false" Value=3D"toInt($RequestId= )"></ns1:Param> > <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"wf instance activity Id" IsText=3D"false" Value=3D"_in= stActivityId"></ns1:Param> > <ns1:Param Name=3D"wf current activity" IsText=3D"true" Value=3D"_activit= yId"></ns1:Param> > <ns1:Param Name=3D"Approver List Variable" IsText=3D"false" Value=3D"CSAp= provers"></ns1:Param> > </ns1:Params> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"Prepare Request"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=3D"XOR"></ns1:Join> > <ns1:Split Type=3D"XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"151"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"60"></ns1:ExtendedAttrib= ute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D"blockActivity"></= ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name=3D"blockId" Value=3D"defaultBlockId"></ns1:Ex= tendedAttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id= =3D"MapCollection"> > <ns1:FixedParams> > <ns1:Param Name=3D"isNew" IsText=3D"false" Value=3D"true"></ns1:Param> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$ProvisionMap"></ns1:P= aram> > <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;errorEven= t&quot;"></ns1:Param> > <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;Approval= &quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id= =3D"MapCollection"> > <ns1:FixedParams> > <ns1:Param Name=3D"isNew" IsText=3D"false" Value=3D"true"></ns1:Param> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$AttributeResourceMap"= ></ns1:Param> > <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;FieldName= &quot;"></ns1:Param> > <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;Departme= ntID&quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"ExternalCall"></ns1:Para= m> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"External Call Name" IsText=3D"false" Value=3D"&quot;Se= tWorkflowVariable&quot;"></ns1:Param> > <ns1:Param Name=3D"requestId" IsText=3D"false" Value=3D"toInt($RequestId)= "></ns1:Param> > <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"block Id" IsText=3D"false" Value=3D"$_blockId"></ns1:P= aram> > </ns1:Params> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id= =3D"MapCollection"> > <ns1:FixedParams> > <ns1:Param Name=3D"isNew" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$AttributeResourceMap"= ></ns1:Param> > <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;FieldName= &quot;"></ns1:Param> > <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;IBSAttes= t&quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"ExternalCall"></ns1:Para= m> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"External Call Name" IsText=3D"false" Value=3D"&quot;Se= tWorkflowVariable&quot;"></ns1:Param> > <ns1:Param Name=3D"requestId" IsText=3D"false" Value=3D"toInt($RequestId)= "></ns1:Param> > <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"block Id" IsText=3D"false" Value=3D"$_blockId"></ns1:P= aram> > </ns1:Params> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.setvar" Id=3D"S= etVar"> > <ns1:FixedParams> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"OM_Level"></ns1:Param> > <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"equal($DepartmentID,&= quot;CB00016707&quot;)"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.setvar" Id=3D"S= etVar"> > <ns1:FixedParams> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"UM_Level"></ns1:Param> > <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"(equal($DepartmentID,= &quot;CB00016784&quot;)) || (equal($DepartmentID,&quot;CB00016793&quot;)) |= | (equal($DepartmentID,&quot;CB00016823&quot;)) || (equal($DepartmentID,&qu= ot;CB00021077&quot;))"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.setvar" Id=3D"S= etVar"> > <ns1:FixedParams> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"AssociateRecon"></ns1:= Param> > <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"(equal($IBSAttest,&qu= ot;&quot;) || equal($IBSAttest,&quot; &quot;) || equal($IBSAttest,null)) &a= mp;&amp; !OM_Level &amp;&amp; !UM_Level"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.setvar" Id=3D"S= etVar"> > <ns1:FixedParams> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"OmLevelRecon"></ns1:Pa= ram> > <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"(equal($IBSAttest,&qu= ot;&quot;) || equal($IBSAttest,&quot; &quot;) || equal($IBSAttest,null)) &a= mp;&amp; OM_Level"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.setvar" Id=3D"S= etVar"> > <ns1:FixedParams> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"UmLevelRecon"></ns1:Pa= ram> > <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"(equal($IBSAttest,&qu= ot;&quot;) || equal($IBSAttest,&quot; &quot;) || equal($IBSAttest,null)) &a= mp;&amp; UM_Level"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"UM Approval"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Manual></ns1:Manual> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=3D""></ns1:Join> > <ns1:Split Type=3D"XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"104"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"142"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D"blockActivity"></= ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name=3D"blockId" Value=3D"defaultBlockId"></ns1:Ex= tendedAttribute> > <ns1:ExtendedAttribute Name=3D"blockType" Value=3D"approval"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"roleName" Value=3D"UM Approvers"></ns1:Ext= endedAttribute> > <ns1:ExtendedAttribute Name=3D"joinCount" Value=3D"1"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id= =3D"MapCollection"> > <ns1:FixedParams> > <ns1:Param Name=3D"isNew" IsText=3D"false" Value=3D"true"></ns1:Param> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$ProvisionMap"></ns1:P= aram> > <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;errorEven= t&quot;"></ns1:Param> > <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;Approval= &quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"GetApproversBySpecifiedR= ole"></ns1:Param> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D"UMApprovers"></ns1:P= aram> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"request Id" IsText=3D"false" Value=3D"toInt($RequestId= )"></ns1:Param> > <ns1:Param Name=3D"wf Instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"wf Activity Id" IsText=3D"false" Value=3D"_activityId"= ></ns1:Param> > </ns1:Params> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"CreateWorkflowTask"></ns= 1:Param> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"request Id" IsText=3D"false" Value=3D"toInt($RequestId= )"></ns1:Param> > <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"wf instance activity Id" IsText=3D"false" Value=3D"_in= stActivityId"></ns1:Param> > <ns1:Param Name=3D"wf current activity" IsText=3D"true" Value=3D"_activit= yId"></ns1:Param> > <ns1:Param Name=3D"Approver List Variable" IsText=3D"false" Value=3D"UMAp= provers"></ns1:Param> > </ns1:Params> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"errorEnd"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=3D"XOR"></ns1:Join> > <ns1:Split Type=3D"XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"452"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"309"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D""></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions></ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"catchException"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=3D"XOR"></ns1:Join> > <ns1:Split Type=3D"XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"591"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"251"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D""></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"GenericEmailNotification= "></ns1:Param> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"requestId" IsText=3D"false" Value=3D"toInt($RequestId)= "></ns1:Param> > <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"Email Template" IsText=3D"false" Value=3D"&quot;Provis= ioning Failed&quot;"></ns1:Param> > <ns1:Param Name=3D"Name-value Map Variable" IsText=3D"false" Value=3D"$Pr= ovisionMap"></ns1:Param> > </ns1:Params> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"BSA Approval"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Manual></ns1:Manual> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=3D"XOR"></ns1:Join> > <ns1:Split Type=3D"XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"150"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"232"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D"approvalActivity"= ></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name=3D"blockType" Value=3D"approval"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"joinCount" Value=3D"1"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"blockId" Value=3D"defaultBlockId"></ns1:Ex= tendedAttribute> > <ns1:ExtendedAttribute Name=3D"roleName" Value=3D"BSA Approvers"></ns1:Ex= tendedAttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id= =3D"MapCollection"> > <ns1:FixedParams> > <ns1:Param Name=3D"isNew" IsText=3D"false" Value=3D"true"></ns1:Param> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$ProvisionMap"></ns1:P= aram> > <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;errorEven= t&quot;"></ns1:Param> > <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;Approval= &quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"GetApproversBySpecifiedR= ole"></ns1:Param> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D"BSAApprovers"></ns1:= Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"request Id" IsText=3D"false" Value=3D"toInt($RequestId= )"></ns1:Param> > <ns1:Param Name=3D"wf Instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"wf Activity Id" IsText=3D"false" Value=3D"_activityId"= ></ns1:Param> > </ns1:Params> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"NotifySelectedApprovers"= ></ns1:Param> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"requestId" IsText=3D"false" Value=3D"toInt($RequestId)= "></ns1:Param> > <ns1:Param Name=3D"wf Instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"Notification Action" IsText=3D"false" Value=3D"&quot;A= pprove&quot;"></ns1:Param> > <ns1:Param Name=3D"Approver List Variable" IsText=3D"false" Value=3D"BSAA= pprovers"></ns1:Param> > </ns1:Params> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"CreateWorkflowTask"></ns= 1:Param> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"request Id" IsText=3D"false" Value=3D"toInt($RequestId= )"></ns1:Param> > <ns1:Param Name=3D"wf instance Id" IsText=3D"false" Value=3D"$_instId"></= ns1:Param> > <ns1:Param Name=3D"wf instance activity Id" IsText=3D"false" Value=3D"_in= stActivityId"></ns1:Param> > <ns1:Param Name=3D"wf current activity" IsText=3D"false" Value=3D"_activi= tyId"></ns1:Param> > <ns1:Param Name=3D"Approver List Variable" IsText=3D"false" Value=3D"BSAA= pprovers"></ns1:Param> > </ns1:Params> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"PostProvision"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=3D"XOR"></ns1:Join> > <ns1:Split Type=3D"XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"150"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"550"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D"postProvisionActi= vity"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name=3D"blockType" Value=3D"postprovisioning"></ns= 1:ExtendedAttribute> > <ns1:ExtendedAttribute Name=3D"blockId" Value=3D"PostProvision"></ns1:Ext= endedAttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.additemmap" Id= =3D"MapCollection"> > <ns1:FixedParams> > <ns1:Param Name=3D"isNew" IsText=3D"false" Value=3D"true"></ns1:Param> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$ProvisionMap"></ns1:P= aram> > <ns1:Param Name=3D"elementName" IsText=3D"false" Value=3D"&quot;errorEven= t&quot;"></ns1:Param> > <ns1:Param Name=3D"elementValue" IsText=3D"false" Value=3D"&quot;Post Pro= visioning&quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.app" Id=3D"Serv= ice"> > <ns1:FixedParams> > <ns1:Param Name=3D"id" IsText=3D"false" Value=3D"StatedPostProvision"></n= s1:Param> > <ns1:Param Name=3D"async" IsText=3D"false"></ns1:Param> > <ns1:Param Name=3D"retVar" IsText=3D"false" Value=3D"PPC"></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name=3D"request Id" IsText=3D"false" Value=3D"toInt($RequestId= )"></ns1:Param> > <ns1:Param Name=3D"instance Id" IsText=3D"false" Value=3D"toInt($_instId)= "></ns1:Param> > <ns1:Param Name=3D"block Id" IsText=3D"false" Value=3D"$_blockId"></ns1:P= aram> > </ns1:Params> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id=3D"begin"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"XOffset" Value=3D"152"></ns1:ExtendedAttri= bute> > <ns1:ExtendedAttribute Name=3D"YOffset" Value=3D"11"></ns1:ExtendedAttrib= ute> > <ns1:ExtendedAttribute Name=3D"ActionVertexType" Value=3D"0"></ns1:Extend= edAttribute> > <ns1:ExtendedAttribute Name=3D"activityTypeId" Value=3D""></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"></ns1:ExtendedA= ttribute> > <ns1:ExtendedAttribute Name=3D"actions" Value=3D"actions"> > <ns1:Actions> > <ns1:Action Name=3D"workflowstudio.customactiondefine.xml.setvar" Id=3D"S= etVar"> > <ns1:FixedParams> > <ns1:Param Name=3D"name" IsText=3D"false" Value=3D"$RC"></ns1:Param> > <ns1:Param Name=3D"value" IsText=3D"false" Value=3D"0"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > </ns1:Activities> > <ns1:Transitions> > <ns1:Transition Id=3D"Notify Error.Activity_19" To=3D"errorEnd" From=3D"N= otify Error"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"catchException.errorEnd" To=3D"errorEnd" From=3D"ca= tchException"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"LogException.errorEnd" To=3D"errorEnd" From=3D"LogE= xception"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"catchException.LogException" To=3D"LogException" Fr= om=3D"catchException"> > <ns1:Condition>exception</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"Provision.Retry" To=3D"Retry" From=3D"Provision"> > <ns1:Condition>(!equal(provisioningResult,102)) &amp;&amp; $RC&lt;4</ns1:= Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"Retry.Provision" To=3D"Provision" From=3D"Retry"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"PostProvision.Notify Error" To=3D"Notify Error" Fro= m=3D"PostProvision"> > <ns1:Condition></ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"Provision.Notify Error" To=3D"Notify Error" From=3D= "Provision"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"catchException.LogException" To=3D"LogException" Fr= om=3D"catchException"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"CBM-Approval.Notify Rejected" To=3D"Notify Rejected= " From=3D"UM Approval"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"Notify Rejected.errorEnd" To=3D"errorEnd" From=3D"N= otify Rejected"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"SIG_Approval.C_Approval" To=3D"BSA Approval" From= =3D"CS-Director-Approval"> > <ns1:Condition>equal(approverAction,"approved")</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"SIG_Approval.Notify Rejected" To=3D"Notify Rejected= " From=3D"CS-Director-Approval"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"begin.Prepare Request" To=3D"Prepare Request" From= =3D"begin"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"Notify Target.end" To=3D"end" From=3D"Notify Target= "> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"Prepare Request.SIG_Approval" To=3D"CS-Director-App= roval" From=3D"Prepare Request"> > <ns1:Condition>OmLevelRecon</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"Prepare Request.OM Approval" To=3D"OM Approval" Fro= m=3D"Prepare Request"> > <ns1:Condition>UmLevelRecon</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"Prepare Request.UM Approval" To=3D"UM Approval" Fro= m=3D"Prepare Request"> > <ns1:Condition>AssociateRecon</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"OM Approval.BSA Approval" To=3D"BSA Approval" From= =3D"OM Approval"> > <ns1:Condition>equal(approverAction,"approved")</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"UM Approval.BSA Approval" To=3D"BSA Approval" From= =3D"UM Approval"> > <ns1:Condition>equal(approverAction,"approved")</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"OM Approval.Notify Rejected" To=3D"Notify Rejected"= From=3D"OM Approval"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"Prepare Oracle.Provision" To=3D"Provision" From=3D"= Prepare Oracle"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"BSA Approval.Prepare Top Secret" To=3D"Prepare Top = Secret" From=3D"BSA Approval"> > <ns1:Condition>equal(approverAction,"approved")</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"Prepare Top Secret.Prepare Oracle" To=3D"Prepare Or= acle" From=3D"Prepare Top Secret"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"PostProvision.Notify Target" To=3D"Notify Target" F= rom=3D"PostProvision"> > <ns1:Condition>PPC</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"BSA Approval.BSA Rejection" To=3D"BSA Rejection" Fr= om=3D"BSA Approval"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"BSA Rejection.errorEnd" To=3D"errorEnd" From=3D"BSA= Rejection"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"Prepare Top Secret.Notify Optional Profile" To=3D"N= otify Optional Profile" From=3D"Prepare Top Secret"> > <ns1:Condition>Send_Notification</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"Notify Optional Profile.Prepare Oracle" To=3D"Prepa= re Oracle" From=3D"Notify Optional Profile"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"Provision.PostProvision" To=3D"PostProvision" From= =3D"Provision"> > <ns1:Condition>equal(provisioningResult,102) || ( equal(provisioningResul= t,105) &amp;&amp; $RC &gt;3)</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id=3D"Prepare Request.BSA Approval" To=3D"BSA Approval" F= rom=3D"Prepare Request"> > <ns1:Description></ns1:Description> > </ns1:Transition> > </ns1:Transitions> > <ns1:ExtendedAttributes></ns1:ExtendedAttributes> > </ns1:WorkflowProcess> > </ns1:WorkflowProcesses> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name=3D"MadeBy" Value=3D"HP"></ns1:ExtendedAttribu= te> > <ns1:ExtendedAttribute Name=3D"Version" Value=3D""></ns1:ExtendedAttribut= e> > </ns1:ExtendedAttributes> > </ns1:Package> > </XMLItem> > </ns1:Body></ns1:ConfigInfo> --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jul 04 04:54:28 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55169 invoked from network); 4 Jul 2007 04:54:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Jul 2007 04:54:27 -0000 Received: (qmail 32203 invoked by uid 500); 4 Jul 2007 04:54:30 -0000 Delivered-To: [email protected] Received: (qmail 32167 invoked by uid 500); 4 Jul 2007 04:54:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> Reply-To: [email protected] List-Id: <dev.xmlbeans.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 32156 invoked by uid 500); 4 Jul 2007 04:54:29 -0000 Delivered-To: [email protected] Received: (qmail 32153 invoked by uid 99); 4 Jul 2007 04:54:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jul 2007 21:54:29 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jul 2007 21:54:25 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B01EA7141F1 for <[email protected]>; Tue, 3 Jul 2007 21:54:04 -0700 (PDT) Message-ID: <9555283.1183524844718.JavaMail.jira@brutus> Date: Tue, 3 Jul 2007 21:54:04 -0700 (PDT) From: "Jacob Danner (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (XMLBEANS-338) After "save", the xml file becomes incomplete In-Reply-To: <17663150.1183108264833.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XMLBEANS-338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12510061 ] Jacob Danner commented on XMLBEANS-338: --------------------------------------- Hi Helen, 1.Can you repro this just using your java src. I meant is it possible to execute the failing code outside of your environment (RE: OS: Windows 2003 Server > App Server: Weblogic 9.2 mp1) via like a main method (RE: public static void main(String[] args) ) I don't have the problem when I execute code like the following: XmlOptions xOpt = new XmlOptions().setSavePrettyPrint(); XmlObject xo = XmlObject.Factory.parse("<String with your content above />"); xo.save(new FileWrite(..), xOpt) > After "save", the xml file becomes incomplete > --------------------------------------------- > > Key: XMLBEANS-338 > URL: https://issues.apache.org/jira/browse/XMLBEANS-338 > Project: XMLBeans > Issue Type: Bug > Components: XmlObject > Environment: OS: Windows 2003 Server > App Server: Weblogic 9.2 mp1 > Reporter: Helen Liu > Priority: Critical > > Hi, > We are the xmlbean user. > Recently, we encounter a strange issue, that is, when the program execute the following code, the xml file become incomplete. > obj.save( writer, prettyPrintOpts ); > Here, "obj" is an object of org.apache.xmlbeans.XmlObject; > "writer" is an instance of java.io.StringWriter; > "prettyPrintOpts" is org.apache.xmlbeans.XmlOptions; > In "obj", everything is well, the xml file is complete, but after "obj.save( writer, prettyPrintOpts );", the string in writer is incomplete, the last charactors is "<Pac", instead of "</Package>". > But if I add some attributes or delete some attributes in "Action" node, this issue would be gone. > And only this xml file has this issue. > Any idea about this problem should be appreciated! > Following is the xml file: > <?xml version="1.0" encoding="UTF-8" standalone="yes"?> > <ns1:ConfigInfo xmlns:ns1="http://configload/Common"><ns1:Header CreateTime="Wed Feb 08 12:02:07 EST 2006" CreateBy="sisa" Version="4.0" Type="wfTemplate"><ns1:Keys><ns1:Key Value="IBS Add 12"></ns1:Key></ns1:Keys></ns1:Header><ns1:Body><XMLItem><?xml version="1.0" encoding="UTF-8" standalone="yes"?> > <ns1:Package Name="Workflow" Id="Workflow" xmlns:ns1="http://www.wfmc.org/XPDL1.0"> > <ns1:PackageHeader> > <ns1:XPDLVersion>1.0</ns1:XPDLVersion> > <ns1:Vendor>HP</ns1:Vendor> > <ns1:Created></ns1:Created> > </ns1:PackageHeader> > <ns1:RedefinableHeader PublicationStatus=""></ns1:RedefinableHeader> > <ns1:ConformanceClass GraphConformance="NON_BLOCKED"></ns1:ConformanceClass> > <ns1:WorkflowProcesses> > <ns1:WorkflowProcess Name="IBS Add 12" AccessLevel="PUBLIC" Id="IBS Add 12"> > <ns1:ProcessHeader DurationUnit="D"> > <ns1:Created></ns1:Created> > </ns1:ProcessHeader> > <ns1:RedefinableHeader PublicationStatus=""></ns1:RedefinableHeader> > <ns1:Activities> > <ns1:Activity Id="Notify Target"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type="XOR"></ns1:Join> > <ns1:Split Type="XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name="XOffset" Value="151"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="YOffset" Value="602"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="ActionVertexType" Value="0"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="activityTypeId" Value=""></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"> > <ns1:Actions> > <ns1:Action Name="workflowstudio.customactiondefine.xml.callsub" Id="CallSubworkflow"> > <ns1:FixedParams> > <ns1:Param Name="tempId" IsText="false" Value="&quot;IBS Notification&quot;"></ns1:Param> > <ns1:Param Name="callMode" IsText="false"></ns1:Param> > <ns1:Param Name="activityId" IsText="false" Value="&quot;success&quot;"></ns1:Param> > <ns1:Param Name="childCallback" IsText="false"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id="Prepare Oracle"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name="XOffset" Value="151"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="YOffset" Value="372"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="ActionVertexType" Value="0"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="activityTypeId" Value=""></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"> > <ns1:Actions> > <ns1:Action Name="workflowstudio.customactiondefine.xml.app" Id="Service"> > <ns1:FixedParams> > <ns1:Param Name="id" IsText="false" Value="ExternalCall"></ns1:Param> > <ns1:Param Name="async" IsText="false"></ns1:Param> > <ns1:Param Name="retVar" IsText="false" Value=""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name="External Call Name" IsText="false" Value="&quot;UserEnableDisableWFExtCall&quot;"></ns1:Param> > <ns1:Param Name="requestId" IsText="false" Value="toInt($RequestId)"></ns1:Param> > <ns1:Param Name="wf instance Id" IsText="false" Value="$_instId"></ns1:Param> > <ns1:Param Name="block Id" IsText="false" Value="$_blockId"></ns1:Param> > </ns1:Params> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id="OM Approval"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Manual></ns1:Manual> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=""></ns1:Join> > <ns1:Split Type="XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name="XOffset" Value="301"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="YOffset" Value="170"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="ActionVertexType" Value="0"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="activityTypeId" Value="approvalActivity"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="blockType" Value="approval"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="joinCount" Value="1"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="roleName" Value="OM Approvers"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="blockId" Value="defaultBlockId"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"> > <ns1:Actions> > <ns1:Action Name="workflowstudio.customactiondefine.xml.additemmap" Id="MapCollection"> > <ns1:FixedParams> > <ns1:Param Name="isNew" IsText="false" Value="true"></ns1:Param> > <ns1:Param Name="name" IsText="false" Value="$ProvisionMap"></ns1:Param> > <ns1:Param Name="elementName" IsText="false" Value="&quot;errorEvent&quot;"></ns1:Param> > <ns1:Param Name="elementValue" IsText="false" Value="&quot;Approve&quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name="workflowstudio.customactiondefine.xml.app" Id="Service"> > <ns1:FixedParams> > <ns1:Param Name="id" IsText="false" Value="GetApproversBySpecifiedRole"></ns1:Param> > <ns1:Param Name="async" IsText="false"></ns1:Param> > <ns1:Param Name="retVar" IsText="false" Value="OMApprovers"></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name="request Id" IsText="false" Value="toInt($RequestId)"></ns1:Param> > <ns1:Param Name="wf Instance Id" IsText="false" Value="$_instId"></ns1:Param> > <ns1:Param Name="wf Activity Id" IsText="false" Value="_activityId"></ns1:Param> > </ns1:Params> > </ns1:Action> > <ns1:Action Name="workflowstudio.customactiondefine.xml.app" Id="Service"> > <ns1:FixedParams> > <ns1:Param Name="id" IsText="false" Value="CreateWorkflowTask"></ns1:Param> > <ns1:Param Name="async" IsText="false"></ns1:Param> > <ns1:Param Name="retVar" IsText="false" Value=""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name="request Id" IsText="false" Value="toInt($RequestId)"></ns1:Param> > <ns1:Param Name="wf instance Id" IsText="false" Value="$_instId"></ns1:Param> > <ns1:Param Name="wf instance activity Id" IsText="false" Value="_instActivityId"></ns1:Param> > <ns1:Param Name="wf current activity" IsText="true" Value="_activityId"></ns1:Param> > <ns1:Param Name="Approver List Variable" IsText="false" Value="OMApprovers"></ns1:Param> > </ns1:Params> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id="end"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type="XOR"></ns1:Join> > <ns1:Split Type="XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name="XOffset" Value="150"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="YOffset" Value="652"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="ActionVertexType" Value="0"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="activityTypeId" Value=""></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"> > <ns1:Actions></ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id="LogException"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name="XOffset" Value="591"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="YOffset" Value="372"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="ActionVertexType" Value="0"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="activityTypeId" Value=""></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"> > <ns1:Actions> > <ns1:Action Name="workflowstudio.customactiondefine.xml.logmsg" Id="Log"> > <ns1:FixedParams> > <ns1:Param Name="value" IsText="false" Value="&quot;*** Exception has occured while sending an error notification: &quot; + $_exceptionList"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id="Notify Optional Profile"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name="XOffset" Value="345"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="YOffset" Value="309"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="ActionVertexType" Value="0"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="activityTypeId" Value="blockActivity"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="blockId" Value="defaultBlockId"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"> > <ns1:Actions> > <ns1:Action Name="workflowstudio.customactiondefine.xml.callsub" Id="CallSubworkflow"> > <ns1:FixedParams> > <ns1:Param Name="tempId" IsText="false" Value="&quot;IBS Notification&quot;"></ns1:Param> > <ns1:Param Name="callMode" IsText="false"></ns1:Param> > <ns1:Param Name="activityId" IsText="false" Value="&quot;Optional Profile&quot;"></ns1:Param> > <ns1:Param Name="childCallback" IsText="false" Value="true"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id="Notify Error"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type="XOR"></ns1:Join> > <ns1:Split Type="XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name="XOffset" Value="451"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="YOffset" Value="431"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="ActionVertexType" Value="0"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="activityTypeId" Value=""></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"> > <ns1:Actions> > <ns1:Action Name="workflowstudio.customactiondefine.xml.callsub" Id="CallSubworkflow"> > <ns1:FixedParams> > <ns1:Param Name="tempId" IsText="false" Value="&quot;IBS Notification&quot;"></ns1:Param> > <ns1:Param Name="callMode" IsText="false"></ns1:Param> > <ns1:Param Name="activityId" IsText="false" Value="&quot;error&quot;"></ns1:Param> > <ns1:Param Name="childCallback" IsText="false"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id="Notify Rejected"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type="XOR"></ns1:Join> > <ns1:Split Type=""></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name="XOffset" Value="452"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="YOffset" Value="70"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="ActionVertexType" Value="0"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="activityTypeId" Value="blockActivity"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="blockId" Value="defaultBlockId"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"> > <ns1:Actions> > <ns1:Action Name="workflowstudio.customactiondefine.xml.callsub" Id="CallSubworkflow"> > <ns1:FixedParams> > <ns1:Param Name="tempId" IsText="false" Value="&quot;IBS Notification&quot;"></ns1:Param> > <ns1:Param Name="callMode" IsText="false"></ns1:Param> > <ns1:Param Name="activityId" IsText="false" Value="&quot;rejected&quot;"></ns1:Param> > <ns1:Param Name="childCallback" IsText="false"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id="Provision"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Manual></ns1:Manual> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type="XOR"></ns1:Join> > <ns1:Split Type="XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name="XOffset" Value="151"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="YOffset" Value="432"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="ActionVertexType" Value="0"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="activityTypeId" Value="provisionActivity"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="blockType" Value="provisioning"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="blockId" Value="Provision"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"> > <ns1:Actions> > <ns1:Action Name="workflowstudio.customactiondefine.xml.additemmap" Id="MapCollection"> > <ns1:FixedParams> > <ns1:Param Name="isNew" IsText="false" Value="true"></ns1:Param> > <ns1:Param Name="name" IsText="false" Value="$ProvisionMap"></ns1:Param> > <ns1:Param Name="elementName" IsText="false" Value="&quot;errorEvent&quot;"></ns1:Param> > <ns1:Param Name="elementValue" IsText="false" Value="&quot;Provisioning&quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name="workflowstudio.customactiondefine.xml.app" Id="Service"> > <ns1:FixedParams> > <ns1:Param Name="id" IsText="false" Value="ProvisioningTask"></ns1:Param> > <ns1:Param Name="async" IsText="false"></ns1:Param> > <ns1:Param Name="retVar" IsText="false" Value="provisioningResult"></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name="request Id" IsText="false" Value="toInt($RequestId)"></ns1:Param> > <ns1:Param Name="retry number" IsText="false" Value="toInt($RC)"></ns1:Param> > <ns1:Param Name="instance Id" IsText="false" Value="$_instId"></ns1:Param> > <ns1:Param Name="block Id" IsText="false" Value="$_blockId"></ns1:Param> > <ns1:Param Name="wf instance activity Id" IsText="false" Value="_instActivityId"></ns1:Param> > </ns1:Params> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id="Prepare Top Secret"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=""></ns1:Join> > <ns1:Split Type="XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name="XOffset" Value="150"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="YOffset" Value="310"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="ActionVertexType" Value="0"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="activityTypeId" Value=""></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"> > <ns1:Actions> > <ns1:Action Name="workflowstudio.customactiondefine.xml.setvar" Id="SetVar"> > <ns1:FixedParams> > <ns1:Param Name="name" IsText="false" Value="GenerateNewIbsId"></ns1:Param> > <ns1:Param Name="value" IsText="false" Value="&quot;UE&quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name="workflowstudio.customactiondefine.xml.app" Id="Service"> > <ns1:FixedParams> > <ns1:Param Name="id" IsText="false" Value="ExternalCall"></ns1:Param> > <ns1:Param Name="async" IsText="false"></ns1:Param> > <ns1:Param Name="retVar" IsText="false" Value=""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name="External Call Name" IsText="false" Value="&quot;UserEnableDisableWFExtCall&quot;"></ns1:Param> > <ns1:Param Name="requestId" IsText="false" Value="toInt($RequestId)"></ns1:Param> > <ns1:Param Name="wf instance Id" IsText="false" Value="$_instId"></ns1:Param> > <ns1:Param Name="block Id" IsText="false" Value="$_blockId"></ns1:Param> > </ns1:Params> > </ns1:Action> > <ns1:Action Name="workflowstudio.customactiondefine.xml.additemmap" Id="MapCollection"> > <ns1:FixedParams> > <ns1:Param Name="isNew" IsText="false" Value="true"></ns1:Param> > <ns1:Param Name="name" IsText="false" Value="$AttributeResourceMap"></ns1:Param> > <ns1:Param Name="elementName" IsText="false" Value="&quot;FieldName&quot;"></ns1:Param> > <ns1:Param Name="elementValue" IsText="false" Value="&quot;IBSOptionalProfiles&quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name="workflowstudio.customactiondefine.xml.app" Id="Service"> > <ns1:FixedParams> > <ns1:Param Name="id" IsText="false" Value="ExternalCall"></ns1:Param> > <ns1:Param Name="async" IsText="false"></ns1:Param> > <ns1:Param Name="retVar" IsText="false" Value=""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name="External Call Name" IsText="false" Value="&quot;UserEnableDisableWFExtCall&quot;"></ns1:Param> > <ns1:Param Name="requestId" IsText="false" Value="toInt($RequestId)"></ns1:Param> > <ns1:Param Name="wf instance Id" IsText="false" Value="$_instId"></ns1:Param> > <ns1:Param Name="block Id" IsText="false" Value="$_blockId"></ns1:Param> > </ns1:Params> > </ns1:Action> > <ns1:Action Name="workflowstudio.customactiondefine.xml.additemmap" Id="MapCollection"> > <ns1:FixedParams> > <ns1:Param Name="isNew" IsText="false"></ns1:Param> > <ns1:Param Name="name" IsText="false" Value="$AttributeResourceMap"></ns1:Param> > <ns1:Param Name="elementName" IsText="false" Value="&quot;FieldName&quot;"></ns1:Param> > <ns1:Param Name="elementValue" IsText="false" Value="&quot;IBSExceptionRequest&quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name="workflowstudio.customactiondefine.xml.app" Id="Service"> > <ns1:FixedParams> > <ns1:Param Name="id" IsText="false" Value="ExternalCall"></ns1:Param> > <ns1:Param Name="async" IsText="false"></ns1:Param> > <ns1:Param Name="retVar" IsText="false" Value=""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name="External Call Name" IsText="false" Value="&quot;UserEnableDisableWFExtCall&quot;"></ns1:Param> > <ns1:Param Name="requestId" IsText="false" Value="toInt($RequestId)"></ns1:Param> > <ns1:Param Name="wf instance Id" IsText="false" Value="$_instId"></ns1:Param> > <ns1:Param Name="block Id" IsText="false" Value="$_blockId"></ns1:Param> > </ns1:Params> > </ns1:Action> > <ns1:Action Name="workflowstudio.customactiondefine.xml.setvar" Id="SetVar"> > <ns1:FixedParams> > <ns1:Param Name="name" IsText="false" Value="Send_Notification"></ns1:Param> > <ns1:Param Name="value" IsText="false" Value="((!equal($IBSOptionalProfiles,null)) &amp;&amp; (!equal($IBSOptionalProfiles,&quot;&quot;))) || ((!equal($IBSExceptionRequest,null)) &amp;&amp; (!equal($IBSExceptionRequest,&quot;&quot;)))"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id="Retry"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Manual></ns1:Manual> > </ns1:FinishMode> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name="XOffset" Value="13"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="YOffset" Value="378"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="ActionVertexType" Value="0"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="activityTypeId" Value="blockActivity"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="blockId" Value="Retry"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="timeoutLength" Value="60 secs"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"> > <ns1:Actions> > <ns1:Action Name="workflowstudio.customactiondefine.xml.setvar" Id="SetVar"> > <ns1:FixedParams> > <ns1:Param Name="name" IsText="false" Value="$RC"></ns1:Param> > <ns1:Param Name="value" IsText="false" Value="$RC+1"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name="workflowstudio.customactiondefine.xml.logmsg" Id="Log"> > <ns1:FixedParams> > <ns1:Param Name="value" IsText="false" Value="&quot;Provisioning attempt failed. Waiting to retry.&quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id="BSA Rejection"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name="XOffset" Value="391"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="YOffset" Value="233"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="ActionVertexType" Value="0"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="activityTypeId" Value=""></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"> > <ns1:Actions> > <ns1:Action Name="workflowstudio.customactiondefine.xml.callsub" Id="CallSubworkflow"> > <ns1:FixedParams> > <ns1:Param Name="tempId" IsText="false" Value="&quot;IBS Notification&quot;"></ns1:Param> > <ns1:Param Name="callMode" IsText="false"></ns1:Param> > <ns1:Param Name="activityId" IsText="false" Value="&quot;rejected&quot;"></ns1:Param> > <ns1:Param Name="childCallback" IsText="false"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id="CS-Director-Approval"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Manual></ns1:Manual> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=""></ns1:Join> > <ns1:Split Type="XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name="XOffset" Value="10"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="YOffset" Value="111"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="ActionVertexType" Value="0"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="activityTypeId" Value="approvalActivity"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="blockId" Value="defaultBlockId"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="joinCount" Value="1"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="blockType" Value="approval"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="roleName" Value="CS Director"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"> > <ns1:Actions> > <ns1:Action Name="workflowstudio.customactiondefine.xml.additemmap" Id="MapCollection"> > <ns1:FixedParams> > <ns1:Param Name="isNew" IsText="false" Value="true"></ns1:Param> > <ns1:Param Name="name" IsText="false" Value="$ProvisionMap"></ns1:Param> > <ns1:Param Name="elementName" IsText="false" Value="&quot;errorEvent&quot;"></ns1:Param> > <ns1:Param Name="elementValue" IsText="false" Value="&quot;Approval&quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name="workflowstudio.customactiondefine.xml.app" Id="Service"> > <ns1:FixedParams> > <ns1:Param Name="id" IsText="false" Value="GetApproversBySpecifiedRole"></ns1:Param> > <ns1:Param Name="async" IsText="false"></ns1:Param> > <ns1:Param Name="retVar" IsText="false" Value="CSApprovers"></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name="request Id" IsText="false" Value="toInt($RequestId)"></ns1:Param> > <ns1:Param Name="wf Instance Id" IsText="false" Value="$_instId"></ns1:Param> > <ns1:Param Name="wf Activity Id" IsText="false" Value="_activityId"></ns1:Param> > </ns1:Params> > </ns1:Action> > <ns1:Action Name="workflowstudio.customactiondefine.xml.app" Id="Service"> > <ns1:FixedParams> > <ns1:Param Name="id" IsText="false" Value="CreateWorkflowTask"></ns1:Param> > <ns1:Param Name="async" IsText="false"></ns1:Param> > <ns1:Param Name="retVar" IsText="false" Value=""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name="request Id" IsText="false" Value="toInt($RequestId)"></ns1:Param> > <ns1:Param Name="wf instance Id" IsText="false" Value="$_instId"></ns1:Param> > <ns1:Param Name="wf instance activity Id" IsText="false" Value="_instActivityId"></ns1:Param> > <ns1:Param Name="wf current activity" IsText="true" Value="_activityId"></ns1:Param> > <ns1:Param Name="Approver List Variable" IsText="false" Value="CSApprovers"></ns1:Param> > </ns1:Params> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id="Prepare Request"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type="XOR"></ns1:Join> > <ns1:Split Type="XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name="XOffset" Value="151"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="YOffset" Value="60"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="ActionVertexType" Value="0"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="activityTypeId" Value="blockActivity"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="blockId" Value="defaultBlockId"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"> > <ns1:Actions> > <ns1:Action Name="workflowstudio.customactiondefine.xml.additemmap" Id="MapCollection"> > <ns1:FixedParams> > <ns1:Param Name="isNew" IsText="false" Value="true"></ns1:Param> > <ns1:Param Name="name" IsText="false" Value="$ProvisionMap"></ns1:Param> > <ns1:Param Name="elementName" IsText="false" Value="&quot;errorEvent&quot;"></ns1:Param> > <ns1:Param Name="elementValue" IsText="false" Value="&quot;Approval&quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name="workflowstudio.customactiondefine.xml.additemmap" Id="MapCollection"> > <ns1:FixedParams> > <ns1:Param Name="isNew" IsText="false" Value="true"></ns1:Param> > <ns1:Param Name="name" IsText="false" Value="$AttributeResourceMap"></ns1:Param> > <ns1:Param Name="elementName" IsText="false" Value="&quot;FieldName&quot;"></ns1:Param> > <ns1:Param Name="elementValue" IsText="false" Value="&quot;DepartmentID&quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name="workflowstudio.customactiondefine.xml.app" Id="Service"> > <ns1:FixedParams> > <ns1:Param Name="id" IsText="false" Value="ExternalCall"></ns1:Param> > <ns1:Param Name="async" IsText="false"></ns1:Param> > <ns1:Param Name="retVar" IsText="false" Value=""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name="External Call Name" IsText="false" Value="&quot;SetWorkflowVariable&quot;"></ns1:Param> > <ns1:Param Name="requestId" IsText="false" Value="toInt($RequestId)"></ns1:Param> > <ns1:Param Name="wf instance Id" IsText="false" Value="$_instId"></ns1:Param> > <ns1:Param Name="block Id" IsText="false" Value="$_blockId"></ns1:Param> > </ns1:Params> > </ns1:Action> > <ns1:Action Name="workflowstudio.customactiondefine.xml.additemmap" Id="MapCollection"> > <ns1:FixedParams> > <ns1:Param Name="isNew" IsText="false"></ns1:Param> > <ns1:Param Name="name" IsText="false" Value="$AttributeResourceMap"></ns1:Param> > <ns1:Param Name="elementName" IsText="false" Value="&quot;FieldName&quot;"></ns1:Param> > <ns1:Param Name="elementValue" IsText="false" Value="&quot;IBSAttest&quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name="workflowstudio.customactiondefine.xml.app" Id="Service"> > <ns1:FixedParams> > <ns1:Param Name="id" IsText="false" Value="ExternalCall"></ns1:Param> > <ns1:Param Name="async" IsText="false"></ns1:Param> > <ns1:Param Name="retVar" IsText="false" Value=""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name="External Call Name" IsText="false" Value="&quot;SetWorkflowVariable&quot;"></ns1:Param> > <ns1:Param Name="requestId" IsText="false" Value="toInt($RequestId)"></ns1:Param> > <ns1:Param Name="wf instance Id" IsText="false" Value="$_instId"></ns1:Param> > <ns1:Param Name="block Id" IsText="false" Value="$_blockId"></ns1:Param> > </ns1:Params> > </ns1:Action> > <ns1:Action Name="workflowstudio.customactiondefine.xml.setvar" Id="SetVar"> > <ns1:FixedParams> > <ns1:Param Name="name" IsText="false" Value="OM_Level"></ns1:Param> > <ns1:Param Name="value" IsText="false" Value="equal($DepartmentID,&quot;CB00016707&quot;)"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name="workflowstudio.customactiondefine.xml.setvar" Id="SetVar"> > <ns1:FixedParams> > <ns1:Param Name="name" IsText="false" Value="UM_Level"></ns1:Param> > <ns1:Param Name="value" IsText="false" Value="(equal($DepartmentID,&quot;CB00016784&quot;)) || (equal($DepartmentID,&quot;CB00016793&quot;)) || (equal($DepartmentID,&quot;CB00016823&quot;)) || (equal($DepartmentID,&quot;CB00021077&quot;))"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name="workflowstudio.customactiondefine.xml.setvar" Id="SetVar"> > <ns1:FixedParams> > <ns1:Param Name="name" IsText="false" Value="AssociateRecon"></ns1:Param> > <ns1:Param Name="value" IsText="false" Value="(equal($IBSAttest,&quot;&quot;) || equal($IBSAttest,&quot; &quot;) || equal($IBSAttest,null)) &amp;&amp; !OM_Level &amp;&amp; !UM_Level"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name="workflowstudio.customactiondefine.xml.setvar" Id="SetVar"> > <ns1:FixedParams> > <ns1:Param Name="name" IsText="false" Value="OmLevelRecon"></ns1:Param> > <ns1:Param Name="value" IsText="false" Value="(equal($IBSAttest,&quot;&quot;) || equal($IBSAttest,&quot; &quot;) || equal($IBSAttest,null)) &amp;&amp; OM_Level"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name="workflowstudio.customactiondefine.xml.setvar" Id="SetVar"> > <ns1:FixedParams> > <ns1:Param Name="name" IsText="false" Value="UmLevelRecon"></ns1:Param> > <ns1:Param Name="value" IsText="false" Value="(equal($IBSAttest,&quot;&quot;) || equal($IBSAttest,&quot; &quot;) || equal($IBSAttest,null)) &amp;&amp; UM_Level"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id="UM Approval"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Manual></ns1:Manual> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type=""></ns1:Join> > <ns1:Split Type="XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name="XOffset" Value="104"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="YOffset" Value="142"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="ActionVertexType" Value="0"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="activityTypeId" Value="blockActivity"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="blockId" Value="defaultBlockId"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="blockType" Value="approval"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="roleName" Value="UM Approvers"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="joinCount" Value="1"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"> > <ns1:Actions> > <ns1:Action Name="workflowstudio.customactiondefine.xml.additemmap" Id="MapCollection"> > <ns1:FixedParams> > <ns1:Param Name="isNew" IsText="false" Value="true"></ns1:Param> > <ns1:Param Name="name" IsText="false" Value="$ProvisionMap"></ns1:Param> > <ns1:Param Name="elementName" IsText="false" Value="&quot;errorEvent&quot;"></ns1:Param> > <ns1:Param Name="elementValue" IsText="false" Value="&quot;Approval&quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name="workflowstudio.customactiondefine.xml.app" Id="Service"> > <ns1:FixedParams> > <ns1:Param Name="id" IsText="false" Value="GetApproversBySpecifiedRole"></ns1:Param> > <ns1:Param Name="async" IsText="false"></ns1:Param> > <ns1:Param Name="retVar" IsText="false" Value="UMApprovers"></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name="request Id" IsText="false" Value="toInt($RequestId)"></ns1:Param> > <ns1:Param Name="wf Instance Id" IsText="false" Value="$_instId"></ns1:Param> > <ns1:Param Name="wf Activity Id" IsText="false" Value="_activityId"></ns1:Param> > </ns1:Params> > </ns1:Action> > <ns1:Action Name="workflowstudio.customactiondefine.xml.app" Id="Service"> > <ns1:FixedParams> > <ns1:Param Name="id" IsText="false" Value="CreateWorkflowTask"></ns1:Param> > <ns1:Param Name="async" IsText="false"></ns1:Param> > <ns1:Param Name="retVar" IsText="false" Value=""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name="request Id" IsText="false" Value="toInt($RequestId)"></ns1:Param> > <ns1:Param Name="wf instance Id" IsText="false" Value="$_instId"></ns1:Param> > <ns1:Param Name="wf instance activity Id" IsText="false" Value="_instActivityId"></ns1:Param> > <ns1:Param Name="wf current activity" IsText="true" Value="_activityId"></ns1:Param> > <ns1:Param Name="Approver List Variable" IsText="false" Value="UMApprovers"></ns1:Param> > </ns1:Params> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id="errorEnd"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type="XOR"></ns1:Join> > <ns1:Split Type="XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name="XOffset" Value="452"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="YOffset" Value="309"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="ActionVertexType" Value="0"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="activityTypeId" Value=""></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"> > <ns1:Actions></ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id="catchException"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type="XOR"></ns1:Join> > <ns1:Split Type="XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name="XOffset" Value="591"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="YOffset" Value="251"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="ActionVertexType" Value="0"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="activityTypeId" Value=""></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"> > <ns1:Actions> > <ns1:Action Name="workflowstudio.customactiondefine.xml.app" Id="Service"> > <ns1:FixedParams> > <ns1:Param Name="id" IsText="false" Value="GenericEmailNotification"></ns1:Param> > <ns1:Param Name="async" IsText="false"></ns1:Param> > <ns1:Param Name="retVar" IsText="false" Value=""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name="requestId" IsText="false" Value="toInt($RequestId)"></ns1:Param> > <ns1:Param Name="wf instance Id" IsText="false" Value="$_instId"></ns1:Param> > <ns1:Param Name="Email Template" IsText="false" Value="&quot;Provisioning Failed&quot;"></ns1:Param> > <ns1:Param Name="Name-value Map Variable" IsText="false" Value="$ProvisionMap"></ns1:Param> > </ns1:Params> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id="BSA Approval"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Manual></ns1:Manual> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type="XOR"></ns1:Join> > <ns1:Split Type="XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name="XOffset" Value="150"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="YOffset" Value="232"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="ActionVertexType" Value="0"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="activityTypeId" Value="approvalActivity"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="blockType" Value="approval"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="joinCount" Value="1"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="blockId" Value="defaultBlockId"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="roleName" Value="BSA Approvers"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"> > <ns1:Actions> > <ns1:Action Name="workflowstudio.customactiondefine.xml.additemmap" Id="MapCollection"> > <ns1:FixedParams> > <ns1:Param Name="isNew" IsText="false" Value="true"></ns1:Param> > <ns1:Param Name="name" IsText="false" Value="$ProvisionMap"></ns1:Param> > <ns1:Param Name="elementName" IsText="false" Value="&quot;errorEvent&quot;"></ns1:Param> > <ns1:Param Name="elementValue" IsText="false" Value="&quot;Approval&quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name="workflowstudio.customactiondefine.xml.app" Id="Service"> > <ns1:FixedParams> > <ns1:Param Name="id" IsText="false" Value="GetApproversBySpecifiedRole"></ns1:Param> > <ns1:Param Name="async" IsText="false"></ns1:Param> > <ns1:Param Name="retVar" IsText="false" Value="BSAApprovers"></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name="request Id" IsText="false" Value="toInt($RequestId)"></ns1:Param> > <ns1:Param Name="wf Instance Id" IsText="false" Value="$_instId"></ns1:Param> > <ns1:Param Name="wf Activity Id" IsText="false" Value="_activityId"></ns1:Param> > </ns1:Params> > </ns1:Action> > <ns1:Action Name="workflowstudio.customactiondefine.xml.app" Id="Service"> > <ns1:FixedParams> > <ns1:Param Name="id" IsText="false" Value="NotifySelectedApprovers"></ns1:Param> > <ns1:Param Name="async" IsText="false"></ns1:Param> > <ns1:Param Name="retVar" IsText="false" Value=""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name="requestId" IsText="false" Value="toInt($RequestId)"></ns1:Param> > <ns1:Param Name="wf Instance Id" IsText="false" Value="$_instId"></ns1:Param> > <ns1:Param Name="Notification Action" IsText="false" Value="&quot;Approve&quot;"></ns1:Param> > <ns1:Param Name="Approver List Variable" IsText="false" Value="BSAApprovers"></ns1:Param> > </ns1:Params> > </ns1:Action> > <ns1:Action Name="workflowstudio.customactiondefine.xml.app" Id="Service"> > <ns1:FixedParams> > <ns1:Param Name="id" IsText="false" Value="CreateWorkflowTask"></ns1:Param> > <ns1:Param Name="async" IsText="false"></ns1:Param> > <ns1:Param Name="retVar" IsText="false" Value=""></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name="request Id" IsText="false" Value="toInt($RequestId)"></ns1:Param> > <ns1:Param Name="wf instance Id" IsText="false" Value="$_instId"></ns1:Param> > <ns1:Param Name="wf instance activity Id" IsText="false" Value="_instActivityId"></ns1:Param> > <ns1:Param Name="wf current activity" IsText="false" Value="_activityId"></ns1:Param> > <ns1:Param Name="Approver List Variable" IsText="false" Value="BSAApprovers"></ns1:Param> > </ns1:Params> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id="PostProvision"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:TransitionRestrictions> > <ns1:TransitionRestriction> > <ns1:Join Type="XOR"></ns1:Join> > <ns1:Split Type="XOR"></ns1:Split> > </ns1:TransitionRestriction> > </ns1:TransitionRestrictions> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name="XOffset" Value="150"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="YOffset" Value="550"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="ActionVertexType" Value="0"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="activityTypeId" Value="postProvisionActivity"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="blockType" Value="postprovisioning"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="blockId" Value="PostProvision"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"> > <ns1:Actions> > <ns1:Action Name="workflowstudio.customactiondefine.xml.additemmap" Id="MapCollection"> > <ns1:FixedParams> > <ns1:Param Name="isNew" IsText="false" Value="true"></ns1:Param> > <ns1:Param Name="name" IsText="false" Value="$ProvisionMap"></ns1:Param> > <ns1:Param Name="elementName" IsText="false" Value="&quot;errorEvent&quot;"></ns1:Param> > <ns1:Param Name="elementValue" IsText="false" Value="&quot;Post Provisioning&quot;"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > <ns1:Action Name="workflowstudio.customactiondefine.xml.app" Id="Service"> > <ns1:FixedParams> > <ns1:Param Name="id" IsText="false" Value="StatedPostProvision"></ns1:Param> > <ns1:Param Name="async" IsText="false"></ns1:Param> > <ns1:Param Name="retVar" IsText="false" Value="PPC"></ns1:Param> > </ns1:FixedParams> > <ns1:Params> > <ns1:Param Name="request Id" IsText="false" Value="toInt($RequestId)"></ns1:Param> > <ns1:Param Name="instance Id" IsText="false" Value="toInt($_instId)"></ns1:Param> > <ns1:Param Name="block Id" IsText="false" Value="$_blockId"></ns1:Param> > </ns1:Params> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > <ns1:Activity Id="begin"> > <ns1:Implementation> > <ns1:No></ns1:No> > </ns1:Implementation> > <ns1:FinishMode> > <ns1:Automatic></ns1:Automatic> > </ns1:FinishMode> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name="XOffset" Value="152"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="YOffset" Value="11"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="ActionVertexType" Value="0"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="activityTypeId" Value=""></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="actions" Value="actions"> > <ns1:Actions> > <ns1:Action Name="workflowstudio.customactiondefine.xml.setvar" Id="SetVar"> > <ns1:FixedParams> > <ns1:Param Name="name" IsText="false" Value="$RC"></ns1:Param> > <ns1:Param Name="value" IsText="false" Value="0"></ns1:Param> > </ns1:FixedParams> > </ns1:Action> > </ns1:Actions> > </ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Activity> > </ns1:Activities> > <ns1:Transitions> > <ns1:Transition Id="Notify Error.Activity_19" To="errorEnd" From="Notify Error"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id="catchException.errorEnd" To="errorEnd" From="catchException"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id="LogException.errorEnd" To="errorEnd" From="LogException"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id="catchException.LogException" To="LogException" From="catchException"> > <ns1:Condition>exception</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id="Provision.Retry" To="Retry" From="Provision"> > <ns1:Condition>(!equal(provisioningResult,102)) &amp;&amp; $RC&lt;4</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id="Retry.Provision" To="Provision" From="Retry"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id="PostProvision.Notify Error" To="Notify Error" From="PostProvision"> > <ns1:Condition></ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id="Provision.Notify Error" To="Notify Error" From="Provision"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id="catchException.LogException" To="LogException" From="catchException"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id="CBM-Approval.Notify Rejected" To="Notify Rejected" From="UM Approval"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id="Notify Rejected.errorEnd" To="errorEnd" From="Notify Rejected"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id="SIG_Approval.C_Approval" To="BSA Approval" From="CS-Director-Approval"> > <ns1:Condition>equal(approverAction,"approved")</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id="SIG_Approval.Notify Rejected" To="Notify Rejected" From="CS-Director-Approval"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id="begin.Prepare Request" To="Prepare Request" From="begin"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id="Notify Target.end" To="end" From="Notify Target"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id="Prepare Request.SIG_Approval" To="CS-Director-Approval" From="Prepare Request"> > <ns1:Condition>OmLevelRecon</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id="Prepare Request.OM Approval" To="OM Approval" From="Prepare Request"> > <ns1:Condition>UmLevelRecon</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id="Prepare Request.UM Approval" To="UM Approval" From="Prepare Request"> > <ns1:Condition>AssociateRecon</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id="OM Approval.BSA Approval" To="BSA Approval" From="OM Approval"> > <ns1:Condition>equal(approverAction,"approved")</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id="UM Approval.BSA Approval" To="BSA Approval" From="UM Approval"> > <ns1:Condition>equal(approverAction,"approved")</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id="OM Approval.Notify Rejected" To="Notify Rejected" From="OM Approval"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id="Prepare Oracle.Provision" To="Provision" From="Prepare Oracle"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id="BSA Approval.Prepare Top Secret" To="Prepare Top Secret" From="BSA Approval"> > <ns1:Condition>equal(approverAction,"approved")</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id="Prepare Top Secret.Prepare Oracle" To="Prepare Oracle" From="Prepare Top Secret"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id="PostProvision.Notify Target" To="Notify Target" From="PostProvision"> > <ns1:Condition>PPC</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id="BSA Approval.BSA Rejection" To="BSA Rejection" From="BSA Approval"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id="BSA Rejection.errorEnd" To="errorEnd" From="BSA Rejection"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id="Prepare Top Secret.Notify Optional Profile" To="Notify Optional Profile" From="Prepare Top Secret"> > <ns1:Condition>Send_Notification</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id="Notify Optional Profile.Prepare Oracle" To="Prepare Oracle" From="Notify Optional Profile"> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id="Provision.PostProvision" To="PostProvision" From="Provision"> > <ns1:Condition>equal(provisioningResult,102) || ( equal(provisioningResult,105) &amp;&amp; $RC &gt;3)</ns1:Condition> > <ns1:Description></ns1:Description> > </ns1:Transition> > <ns1:Transition Id="Prepare Request.BSA Approval" To="BSA Approval" From="Prepare Request"> > <ns1:Description></ns1:Description> > </ns1:Transition> > </ns1:Transitions> > <ns1:ExtendedAttributes></ns1:ExtendedAttributes> > </ns1:WorkflowProcess> > </ns1:WorkflowProcesses> > <ns1:ExtendedAttributes> > <ns1:ExtendedAttribute Name="MadeBy" Value="HP"></ns1:ExtendedAttribute> > <ns1:ExtendedAttribute Name="Version" Value=""></ns1:ExtendedAttribute> > </ns1:ExtendedAttributes> > </ns1:Package> > </XMLItem> > </ns1:Body></ns1:ConfigInfo> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Jul 12 17:06:55 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53886 invoked from network); 12 Jul 2007 17:06:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jul 2007 17:06:52 -0000 Received: (qmail 14647 invoked by uid 500); 12 Jul 2007 17:06:54 -0000 Delivered-To: [email protected] Received: (qmail 14579 invoked by uid 500); 12 Jul 2007 17:06:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> Reply-To: [email protected] List-Id: <dev.xmlbeans.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 14520 invoked by uid 500); 12 Jul 2007 17:06:53 -0000 Delivered-To: [email protected] Received: (qmail 14511 invoked by uid 99); 12 Jul 2007 17:06:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jul 2007 10:06:53 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jul 2007 10:06:50 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id EDE0D71421C for <[email protected]>; Thu, 12 Jul 2007 10:06:11 -0700 (PDT) Message-ID: <16190326.1184259971971.JavaMail.jira@brutus> Date: Thu, 12 Jul 2007 10:06:11 -0700 (PDT) From: "Cezar Andrei (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (XMLBEANS-335) org.apache.xmlbeans.XmlException: error: Unexpected end of file in CDATA section when saving large documents In-Reply-To: <10892937.1182778228815.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XMLBEANS-335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Cezar Andrei resolved XMLBEANS-335. ----------------------------------- Resolution: Fixed This should have already been fixed. See diff at http://svn.apache.org/viewvc/xmlbeans/trunk/src/store/org/apache/xmlbeans/impl/store/Saver.java?r1=532896&r2=546185&diff_format=h Please check with latest source, if the problem still persists please reopen. > org.apache.xmlbeans.XmlException: error: Unexpected end of file in CDATA section when saving large documents > ------------------------------------------------------------------------------------------------------------ > > Key: XMLBEANS-335 > URL: https://issues.apache.org/jira/browse/XMLBEANS-335 > Project: XMLBeans > Issue Type: Bug > Affects Versions: Version 2.2.1, Version 2.3 > Reporter: Johan Gilliusson > > There is a bug in the class org.apache.xmlbeans.impl.store.Saver and its inner class TextSaver. The error occurs rarely and is hard to reproduce but in certain circumstances it gives an org.apache.xmlbeans.XmlException: error: Unexpected end of file in CDATA section when saving an xml document. The problem is in the private method resize that calculates the number of free bytes wrong when resize is done on an empty buffer. The number of free bytes is set to "_free += newBuf.length" but since the buffer was empty _free will take the value of previous buffers length + new buffers length. It should instead be _free = newBuf.length. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Jul 12 17:35:49 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69413 invoked from network); 12 Jul 2007 17:35:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jul 2007 17:35:49 -0000 Received: (qmail 84490 invoked by uid 500); 12 Jul 2007 17:35:51 -0000 Delivered-To: [email protected] Received: (qmail 84452 invoked by uid 500); 12 Jul 2007 17:35:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> Reply-To: [email protected] List-Id: <dev.xmlbeans.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 84405 invoked by uid 500); 12 Jul 2007 17:35:51 -0000 Delivered-To: [email protected] Received: (qmail 84389 invoked by uid 99); 12 Jul 2007 17:35:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jul 2007 10:35:51 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jul 2007 10:35:46 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 3DFB2714236 for <[email protected]>; Thu, 12 Jul 2007 10:35:07 -0700 (PDT) Message-ID: <6861350.1184261707250.JavaMail.jira@brutus> Date: Thu, 12 Jul 2007 10:35:07 -0700 (PDT) From: "Cezar Andrei (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (XMLBEANS-337) Large CDATA truncated in save() In-Reply-To: <29454777.1183046005993.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XMLBEANS-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Cezar Andrei resolved XMLBEANS-337. ----------------------------------- Resolution: Fixed Fix Version/s: Version 2.3.1 As can be seen at the following location this has already been fixed, unfortunately immediately after v2.3.0 was released. http://svn.apache.org/viewvc/xmlbeans/trunk/src/store/org/apache/xmlbeans/impl/store/Saver.java?r1=532896&r2=546185&pathrev=546185&diff_format=h > Large CDATA truncated in save() > ------------------------------- > > Key: XMLBEANS-337 > URL: https://issues.apache.org/jira/browse/XMLBEANS-337 > Project: XMLBeans > Issue Type: Bug > Components: XmlObject > Affects Versions: Version 2.2, Version 2.3 > Environment: i386, win, jdk1.4/1.5 > Reporter: Martin Dvorak > Fix For: Version 2.3.1 > > Attachments: cdata.rptdesign > > > I have a XML document (25k) that contains several CDATA sections. When the document is written using save() method (I tried multiple streams/file/...), one of the CDATA sections (large one) is not completely written - there is missing part of the CDATA section content and the finishing mark (]]>). > Parsed document looks like: > <report...> > ... > <![CDATA[ > ... > <xyz/> > ... > ]]></xml-property> > </report> > Corrupted version produced by save(): > <report...> > ... > <![CDATA[ > ... > <xy</xml-property> > </report> > I.e. the rest of the document is written properly. > To reproduce my issue just parse the attached XML document (even as xsd:any) and save it back. Then compare both files. > (I suspected org.apache.xmlbeans.impl.store.Saver, that buffers are not properly flushed. As quickfix I extended buffer sizes and it helped. Presuming that my issue might have the same cause as #XMLBEANS-335) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Jul 12 17:37:49 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70013 invoked from network); 12 Jul 2007 17:37:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jul 2007 17:37:48 -0000 Received: (qmail 88109 invoked by uid 500); 12 Jul 2007 17:37:51 -0000 Delivered-To: [email protected] Received: (qmail 87915 invoked by uid 500); 12 Jul 2007 17:37:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> Reply-To: [email protected] List-Id: <dev.xmlbeans.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 87881 invoked by uid 500); 12 Jul 2007 17:37:50 -0000 Delivered-To: [email protected] Received: (qmail 87871 invoked by uid 99); 12 Jul 2007 17:37:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jul 2007 10:37:50 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jul 2007 10:37:46 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D5E63714240 for <[email protected]>; Thu, 12 Jul 2007 10:37:07 -0700 (PDT) Message-ID: <9936566.1184261827872.JavaMail.jira@brutus> Date: Thu, 12 Jul 2007 10:37:07 -0700 (PDT) From: "Cezar Andrei (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (XMLBEANS-335) org.apache.xmlbeans.XmlException: error: Unexpected end of file in CDATA section when saving large documents In-Reply-To: <10892937.1182778228815.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XMLBEANS-335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Cezar Andrei updated XMLBEANS-335: ---------------------------------- Fix Version/s: Version 2.3.1 > org.apache.xmlbeans.XmlException: error: Unexpected end of file in CDATA section when saving large documents > ------------------------------------------------------------------------------------------------------------ > > Key: XMLBEANS-335 > URL: https://issues.apache.org/jira/browse/XMLBEANS-335 > Project: XMLBeans > Issue Type: Bug > Affects Versions: Version 2.2.1, Version 2.3 > Reporter: Johan Gilliusson > Fix For: Version 2.3.1 > > > There is a bug in the class org.apache.xmlbeans.impl.store.Saver and its inner class TextSaver. The error occurs rarely and is hard to reproduce but in certain circumstances it gives an org.apache.xmlbeans.XmlException: error: Unexpected end of file in CDATA section when saving an xml document. The problem is in the private method resize that calculates the number of free bytes wrong when resize is done on an empty buffer. The number of free bytes is set to "_free += newBuf.length" but since the buffer was empty _free will take the value of previous buffers length + new buffers length. It should instead be _free = newBuf.length. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jul 13 08:45:50 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65494 invoked from network); 13 Jul 2007 08:45:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Jul 2007 08:45:49 -0000 Received: (qmail 22926 invoked by uid 500); 13 Jul 2007 08:45:52 -0000 Delivered-To: [email protected] Received: (qmail 22896 invoked by uid 500); 13 Jul 2007 08:45:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> Reply-To: [email protected] List-Id: <dev.xmlbeans.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 22819 invoked by uid 500); 13 Jul 2007 08:45:51 -0000 Delivered-To: [email protected] Received: (qmail 22800 invoked by uid 99); 13 Jul 2007 08:45:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jul 2007 01:45:51 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jul 2007 01:45:47 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 3AB27714236 for <[email protected]>; Fri, 13 Jul 2007 01:45:08 -0700 (PDT) Message-ID: <2096299.1184316308232.JavaMail.jira@brutus> Date: Fri, 13 Jul 2007 01:45:08 -0700 (PDT) From: "Srinath (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (XMLBEANS-321) XmlBeans reports incorrect line numbers for Identity constraints In-Reply-To: <15215636.1175503772375.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XMLBEANS-321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Srinath updated XMLBEANS-321: ----------------------------- Attachment: simpleKeyref.xsd key_keyref.xml Are there any updates/findings on this bug? I am attaching a sample xsd and an xml to demonstrate the problem. Hope it helps. > XmlBeans reports incorrect line numbers for Identity constraints > ---------------------------------------------------------------- > > Key: XMLBEANS-321 > URL: https://issues.apache.org/jira/browse/XMLBEANS-321 > Project: XMLBeans > Issue Type: Bug > Components: Validator > Affects Versions: Version 2.2 > Environment: Linux 2.6.12-1.1381_FC3 x86_64 > Reporter: Srinath > Fix For: TBD > > Attachments: key_keyref.xml, simpleKeyref.xsd > > > I have defined some Identity constraints in my schema using Key and KeyRef constructs. > When I validate a sample document with the xmlbeans generated for that schema, the line number seems to be incorrect. This happens only for Identity constraints. > It appears that the line number reported is always that of the last opening tag in the entire document being validated irrespective of where the constraint is violated. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Jul 14 11:35:50 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50024 invoked from network); 14 Jul 2007 11:35:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jul 2007 11:35:49 -0000 Received: (qmail 18505 invoked by uid 500); 14 Jul 2007 11:35:52 -0000 Delivered-To: [email protected] Received: (qmail 18326 invoked by uid 500); 14 Jul 2007 11:35:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> Reply-To: [email protected] List-Id: <dev.xmlbeans.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 18261 invoked by uid 500); 14 Jul 2007 11:35:51 -0000 Delivered-To: [email protected] Received: (qmail 18246 invoked by uid 99); 14 Jul 2007 11:35:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Jul 2007 04:35:51 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Jul 2007 04:35:47 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A0013714228 for <[email protected]>; Sat, 14 Jul 2007 04:35:07 -0700 (PDT) Message-ID: <20252746.1184412907651.JavaMail.jira@brutus> Date: Sat, 14 Jul 2007 04:35:07 -0700 (PDT) From: "Srinath (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (XMLBEANS-321) XmlBeans reports incorrect line numbers for Identity constraints In-Reply-To: <15215636.1175503772375.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XMLBEANS-321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Srinath updated XMLBEANS-321: ----------------------------- Attachment: patch_xmlbeans321.diff I tried to debug this problem and I have a fix for it which I have attached along with this comment. The IdentityConstraint.java was not implemented in a way to show the line number of the invalid reference. I did not want to touch the existing code without fully analyzing the implications. The fix is implemented in a safe way so that it does not break anything that is existing. I am sure this patch cannot be accepted as it is, but it works for me :). > XmlBeans reports incorrect line numbers for Identity constraints > ---------------------------------------------------------------- > > Key: XMLBEANS-321 > URL: https://issues.apache.org/jira/browse/XMLBEANS-321 > Project: XMLBeans > Issue Type: Bug > Components: Validator > Affects Versions: Version 2.2 > Environment: Linux 2.6.12-1.1381_FC3 x86_64 > Reporter: Srinath > Fix For: TBD > > Attachments: key_keyref.xml, patch_xmlbeans321.diff, simpleKeyref.xsd > > > I have defined some Identity constraints in my schema using Key and KeyRef constructs. > When I validate a sample document with the xmlbeans generated for that schema, the line number seems to be incorrect. This happens only for Identity constraints. > It appears that the line number reported is always that of the last opening tag in the entire document being validated irrespective of where the constraint is violated. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jul 17 13:50:45 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38347 invoked from network); 17 Jul 2007 13:50:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jul 2007 13:50:44 -0000 Received: (qmail 62836 invoked by uid 500); 17 Jul 2007 12:48:46 -0000 Delivered-To: [email protected] Received: (qmail 62744 invoked by uid 500); 17 Jul 2007 12:48:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> Reply-To: [email protected] List-Id: <dev.xmlbeans.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 62709 invoked by uid 99); 17 Jul 2007 12:48:46 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jul 2007 05:48:46 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO xmrt0101.northgrum.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jul 2007 05:48:43 -0700 Received: from XBHT0001.northgrum.com ([161.129.204.104]) by xmrt0101.northgrum.com with InterScan Message Security Suite; Tue, 17 Jul 2007 05:47:08 -0700 Received: from XPFVAD01.northgrum.com ([161.129.204.104]) by XBHT0001.northgrum.com with Microsoft SMTPSVC(314)746-8455); Tue, 17 Jul 2007 08:48:21 -0400 Received: from XMBVAD01.northgrum.com ([161.129.204.104]) by XPFVAD01.northgrum.com with Microsoft SMTPSVC(314)746-8455); Tue, 17 Jul 2007 08:48:21 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7C870.C17B63B9" Subject: Enumerated types base index Date: Tue, 17 Jul 2007 08:48:21 -0400 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Enumerated types base index Thread-Index: AcfIcMGWSLj1HZihRt6nLDFi/NpiCw== From: "Green, Jason M." <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 17 Jul 2007 12:48:21.0790 (UTC) FILETIME=[C1DFA3E0:01C7C870] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C7C870.C17B63B9 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hey all, I have been attempting to use the Enum.forInt method for some of my enumerated types. I am passing in a value that is provided in a text file. Often times the value is zero, but when I pass that in, I get a XmlValueNotNillableException. I know what this means, but I am confused as to why the enumerated values would start at 1 and not 0. In the schema, there is obv no numberign associated. Since nearly every language that I know of is 0 based, why would this be 1 based? Is there a way to change this? Thanks, Jason=20 ------_=_NextPart_001_01C7C870.C17B63B9 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 6.5.7652.24"> <TITLE>Enumerated types base index</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P><FONT SIZE=3D2 FACE=3D"Arial">Hey all,</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">I have been attempting to use the = Enum.forInt method for some of my enumerated types.&nbsp; I am passing = in a value that is provided in a text file.&nbsp; Often times the value = is zero, but when I pass that in, I get a = XmlValueNotNillableException.&nbsp; I know what this means, but I am = confused as to why the enumerated values would start at 1 and not = 0.&nbsp; In the schema, there is obv no numberign associated.&nbsp; = Since nearly every language that I know of is 0 based, why would this be = 1 based?&nbsp; Is there a way to change this?</FONT></P> <P><FONT SIZE=3D2 FACE=3D"Arial">Thanks,</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial">Jason </FONT> </P> </BODY> </HTML> ------_=_NextPart_001_01C7C870.C17B63B9-- From [email protected] Tue Jul 17 15:20:04 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59660 invoked from network); 17 Jul 2007 15:20:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jul 2007 15:20:03 -0000 Received: (qmail 14570 invoked by uid 500); 17 Jul 2007 15:20:03 -0000 Delivered-To: [email protected] Received: (qmail 14523 invoked by uid 500); 17 Jul 2007 15:20:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> Reply-To: [email protected] List-Id: <dev.xmlbeans.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 14512 invoked by uid 99); 17 Jul 2007 15:20:03 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jul 2007 08:20:03 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO an-out-0708.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jul 2007 08:19:58 -0700 Received: by an-out-0708.google.com with SMTP id d23so345480and for <[email protected]>; Tue, 17 Jul 2007 08:19:37 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=hGdR7ukGLymZKzdhKvF44LwwUj/04eigma4aF0K5vmSdEbS5boTOzGh6Yg8PKaLzvUXB72xG36rVjbNzEx9abTSpQj/CXar3RdWh7qlZFbr2wZ5/G69+rXgwfh7313QdAPT0Rv5IaIt+3f1BNe0uHOkN9LiJgk4wFFImPwdT8VU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=pL5qtz6FlKKuEaEcuQDbJ1qp1AhnW0J+uweqZaNKL2Bw3UUHG7kQ1SAgNF4Nj2eoJsIJVhQ6RYH5/jJeY+GEI7Mj77+IdsS7W3hnlR2NAsj9mYT9xvA1dfxcsf8NWybuKd7iCZfhInOz/ifSYDFmtSQzJQOF+N4eIAP4KgZqef0= Received: by 161.129.204.104 with SMTP id 12mr259088anm.1184685577298; Tue, 17 Jul 2007 08:19:37 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 17 Jul 2007 08:19:37 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 17 Jul 2007 08:19:37 -0700 From: "Jacob Danner" <[email protected]> To: [email protected] Subject: Re: Enumerated types base index In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_85967_11827632.1184685577109" References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_85967_11827632.1184685577109 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Jason, I'm not sure why this is the case, but if its really an issue, I think you could modify the generated src or modify your index to [email protected]. static final int INT_FOO = 1; static final int INT_BAZ = 2; I've attached an example src file in case you wanted to [email protected]. I've never needed an Enum value to have a int val beginning at zero switch(enumVal) case Enum.INT_FOO: doSomething(); break; // .... And so using this code, I do not need the enumeration value to be a specific int. This also makes the code a little easier to read as well. Hope this helps, -Jacob Danner On 7/17/07, Green, Jason M. <[email protected]> wrote: > > > > Hey all, > I have been attempting to use the Enum.forInt method for some of my > enumerated types. I am passing in a value that is provided in a text file. > Often times the value is zero, but when I pass that in, I get a > XmlValueNotNillableException. I know what this means, but I am confused as > to why the enumerated values would start at 1 and not 0. In the schema, > there is obv no numberign associated. Since nearly every language that I > know of is 0 based, why would this be 1 based? Is there a way to change > this? > > Thanks, > > Jason ------=_Part_85967_11827632.1184685577109 Content-Type: application/octet-stream; name=TextEnum.java Content-Transfer-Encoding: base64 X-Attachment-Id: f_f48ivvu1 Content-Disposition: attachment; filename="TextEnum.java" LyoNCiAqIFhNTCBUeXBlOiAgVGV4dEVudW0NCiAqIE5hbWVzcGFjZTogDQogKiBKYXZhIHR5cGU6 IG5vTmFtZXNwYWNlLlRleHRFbnVtDQogKg0KICogQXV0b21hdGljYWxseSBnZW5lcmF0ZWQgLSBk byBub3QgbW9kaWZ5Lg0KICovDQpwYWNrYWdlIG5vTmFtZXNwYWNlOw0KDQoNCi8qKg0KICogQW4g WE1MIFRleHRFbnVtKEApLg0KICoNCiAqIFRoaXMgaXMgYW4gYXRvbWljIHR5cGUgdGhhdCBpcyBh IHJlc3RyaWN0aW9uIG9mIG5vTmFtZXNwYWNlLlRleHRFbnVtLg0KICovDQpwdWJsaWMgaW50ZXJm YWNlIFRleHRFbnVtIGV4dGVuZHMgb3JnLmFwYWNoZS54bWxiZWFucy5YbWxTdHJpbmcNCnsNCiAg ICBwdWJsaWMgc3RhdGljIGZpbmFsIG9yZy5hcGFjaGUueG1sYmVhbnMuU2NoZW1hVHlwZSB0eXBl ID0gKG9yZy5hcGFjaGUueG1sYmVhbnMuU2NoZW1hVHlwZSkNCiAgICAgICAgb3JnLmFwYWNoZS54 bWxiZWFucy5YbWxCZWFucy50eXBlU3lzdGVtRm9yQ2xhc3NMb2FkZXIoVGV4dEVudW0uY2xhc3Mu Z2V0Q2xhc3NMb2FkZXIoKSwgInNjaGVtYW9yZ19hcGFjaGVfeG1sYmVhbnMuc3lzdGVtLnMyQkM4 NDVCMEI3MTBFMzA1N0ZGM0NCREUyQjFENTk2NiIpLnJlc29sdmVIYW5kbGUoInRleHRlbnVtZTU1 N3R5cGUiKTsNCiAgICANCiAgICBvcmcuYXBhY2hlLnhtbGJlYW5zLlN0cmluZ0VudW1BYnN0cmFj dEJhc2UgZW51bVZhbHVlKCk7DQogICAgdm9pZCBzZXQob3JnLmFwYWNoZS54bWxiZWFucy5TdHJp bmdFbnVtQWJzdHJhY3RCYXNlIGUpOw0KICAgIA0KICAgIHN0YXRpYyBmaW5hbCBFbnVtIEZPTyA9 IEVudW0uZm9yU3RyaW5nKCJmb28iKTsNCiAgICBzdGF0aWMgZmluYWwgRW51bSBCQVogPSBFbnVt LmZvclN0cmluZygiYmF6Iik7DQogICAgDQogICAgc3RhdGljIGZpbmFsIGludCBJTlRfRk9PID0g RW51bS5JTlRfRk9POw0KICAgIHN0YXRpYyBmaW5hbCBpbnQgSU5UX0JBWiA9IEVudW0uSU5UX0JB WjsNCiAgICANCiAgICAvKioNCiAgICAgKiBFbnVtZXJhdGlvbiB2YWx1ZSBjbGFzcyBmb3Igbm9O YW1lc3BhY2UuVGV4dEVudW0uDQogICAgICogVGhlc2UgZW51bSB2YWx1ZXMgY2FuIGJlIHVzZWQg YXMgZm9sbG93czoNCiAgICAgKiA8cHJlPg0KICAgICAqIGVudW0udG9TdHJpbmcoKTsgLy8gcmV0 dXJucyB0aGUgc3RyaW5nIHZhbHVlIG9mIHRoZSBlbnVtDQogICAgICogZW51bS5pbnRWYWx1ZSgp OyAvLyByZXR1cm5zIGFuIGludCB2YWx1ZSwgdXNlZnVsIGZvciBzd2l0Y2hlcw0KICAgICAqIC8v IGUuZy4sIGNhc2UgRW51bS5JTlRfRk9PDQogICAgICogRW51bS5mb3JTdHJpbmcocyk7IC8vIHJl dHVybnMgdGhlIGVudW0gdmFsdWUgZm9yIGEgc3RyaW5nDQogICAgICogRW51bS5mb3JJbnQoaSk7 IC8vIHJldHVybnMgdGhlIGVudW0gdmFsdWUgZm9yIGFuIGludA0KICAgICAqIDwvcHJlPg0KICAg ICAqIEVudW1lcmF0aW9uIG9iamVjdHMgYXJlIGltbXV0YWJsZSBzaW5nbGV0b24gb2JqZWN0cyB0 aGF0DQogICAgICogY2FuIGJlIGNvbXBhcmVkIHVzaW5nID09IG9iamVjdCBlcXVhbGl0eS4gVGhl eSBoYXZlIG5vDQogICAgICogcHVibGljIGNvbnN0cnVjdG9yLiBTZWUgdGhlIGNvbnN0YW50cyBk ZWZpbmVkIHdpdGhpbiB0aGlzDQogICAgICogY2xhc3MgZm9yIGFsbCB0aGUgdmFsaWQgdmFsdWVz Lg0KICAgICAqLw0KICAgIHN0YXRpYyBmaW5hbCBjbGFzcyBFbnVtIGV4dGVuZHMgb3JnLmFwYWNo ZS54bWxiZWFucy5TdHJpbmdFbnVtQWJzdHJhY3RCYXNlDQogICAgew0KICAgICAgICAvKioNCiAg ICAgICAgICogUmV0dXJucyB0aGUgZW51bSB2YWx1ZSBmb3IgYSBzdHJpbmcsIG9yIG51bGwgaWYg bm9uZS4NCiAgICAgICAgICovDQogICAgICAgIHB1YmxpYyBzdGF0aWMgRW51bSBmb3JTdHJpbmco amF2YS5sYW5nLlN0cmluZyBzKQ0KICAgICAgICAgICAgeyByZXR1cm4gKEVudW0pdGFibGUuZm9y U3RyaW5nKHMpOyB9DQogICAgICAgIC8qKg0KICAgICAgICAgKiBSZXR1cm5zIHRoZSBlbnVtIHZh bHVlIGNvcnJlc3BvbmRpbmcgdG8gYW4gaW50LCBvciBudWxsIGlmIG5vbmUuDQogICAgICAgICAq Lw0KICAgICAgICBwdWJsaWMgc3RhdGljIEVudW0gZm9ySW50KGludCBpKQ0KICAgICAgICAgICAg eyByZXR1cm4gKEVudW0pdGFibGUuZm9ySW50KGkpOyB9DQogICAgICAgIA0KICAgICAgICBwcml2 YXRlIEVudW0oamF2YS5sYW5nLlN0cmluZyBzLCBpbnQgaSkNCiAgICAgICAgICAgIHsgc3VwZXIo cywgaSk7IH0NCiAgICAgICAgDQogICAgICAgIHN0YXRpYyBmaW5hbCBpbnQgSU5UX0ZPTyA9IDE7 DQogICAgICAgIHN0YXRpYyBmaW5hbCBpbnQgSU5UX0JBWiA9IDI7DQogICAgICAgIA0KICAgICAg ICBwdWJsaWMgc3RhdGljIGZpbmFsIG9yZy5hcGFjaGUueG1sYmVhbnMuU3RyaW5nRW51bUFic3Ry YWN0QmFzZS5UYWJsZSB0YWJsZSA9DQogICAgICAgICAgICBuZXcgb3JnLmFwYWNoZS54bWxiZWFu cy5TdHJpbmdFbnVtQWJzdHJhY3RCYXNlLlRhYmxlDQogICAgICAgICgNCiAgICAgICAgICAgIG5l dyBFbnVtW10NCiAgICAgICAgICAgIHsNCiAgICAgICAgICAgICAgICBuZXcgRW51bSgiZm9vIiwg SU5UX0ZPTyksDQogICAgICAgICAgICAgICAgbmV3IEVudW0oImJheiIsIElOVF9CQVopLA0KICAg ICAgICAgICAgfQ0KICAgICAgICApOw0KICAgICAgICBwcml2YXRlIHN0YXRpYyBmaW5hbCBsb25n IHNlcmlhbFZlcnNpb25VSUQgPSAxTDsNCiAgICAgICAgcHJpdmF0ZSBqYXZhLmxhbmcuT2JqZWN0 IHJlYWRSZXNvbHZlKCkgeyByZXR1cm4gZm9ySW50KGludFZhbHVlKCkpOyB9IA0KICAgIH0NCiAg ICANCiAgICAvKioNCiAgICAgKiBBIGZhY3RvcnkgY2xhc3Mgd2l0aCBzdGF0aWMgbWV0aG9kcyBm b3IgY3JlYXRpbmcgaW5zdGFuY2VzDQogICAgICogb2YgdGhpcyB0eXBlLg0KICAgICAqLw0KICAg IA0KICAgIHB1YmxpYyBzdGF0aWMgZmluYWwgY2xhc3MgRmFjdG9yeQ0KICAgIHsNCiAgICAgICAg cHVibGljIHN0YXRpYyBub05hbWVzcGFjZS5UZXh0RW51bSBuZXdWYWx1ZShqYXZhLmxhbmcuT2Jq ZWN0IG9iaikgew0KICAgICAgICAgIHJldHVybiAobm9OYW1lc3BhY2UuVGV4dEVudW0pIHR5cGUu bmV3VmFsdWUoIG9iaiApOyB9DQogICAgICAgIA0KICAgICAgICBwdWJsaWMgc3RhdGljIG5vTmFt ZXNwYWNlLlRleHRFbnVtIG5ld0luc3RhbmNlKCkgew0KICAgICAgICAgIHJldHVybiAobm9OYW1l c3BhY2UuVGV4dEVudW0pIG9yZy5hcGFjaGUueG1sYmVhbnMuWG1sQmVhbnMuZ2V0Q29udGV4dFR5 cGVMb2FkZXIoKS5uZXdJbnN0YW5jZSggdHlwZSwgbnVsbCApOyB9DQogICAgICAgIA0KICAgICAg ICBwdWJsaWMgc3RhdGljIG5vTmFtZXNwYWNlLlRleHRFbnVtIG5ld0luc3RhbmNlKG9yZy5hcGFj aGUueG1sYmVhbnMuWG1sT3B0aW9ucyBvcHRpb25zKSB7DQogICAgICAgICAgcmV0dXJuIChub05h bWVzcGFjZS5UZXh0RW51bSkgb3JnLmFwYWNoZS54bWxiZWFucy5YbWxCZWFucy5nZXRDb250ZXh0 VHlwZUxvYWRlcigpLm5ld0luc3RhbmNlKCB0eXBlLCBvcHRpb25zICk7IH0NCiAgICAgICAgDQog ICAgICAgIC8qKiBAcGFyYW0geG1sQXNTdHJpbmcgdGhlIHN0cmluZyB2YWx1ZSB0byBwYXJzZSAq Lw0KICAgICAgICBwdWJsaWMgc3RhdGljIG5vTmFtZXNwYWNlLlRleHRFbnVtIHBhcnNlKGphdmEu bGFuZy5TdHJpbmcgeG1sQXNTdHJpbmcpIHRocm93cyBvcmcuYXBhY2hlLnhtbGJlYW5zLlhtbEV4 Y2VwdGlvbiB7DQogICAgICAgICAgcmV0dXJuIChub05hbWVzcGFjZS5UZXh0RW51bSkgb3JnLmFw YWNoZS54bWxiZWFucy5YbWxCZWFucy5nZXRDb250ZXh0VHlwZUxvYWRlcigpLnBhcnNlKCB4bWxB c1N0cmluZywgdHlwZSwgbnVsbCApOyB9DQogICAgICAgIA0KICAgICAgICBwdWJsaWMgc3RhdGlj IG5vTmFtZXNwYWNlLlRleHRFbnVtIHBhcnNlKGphdmEubGFuZy5TdHJpbmcgeG1sQXNTdHJpbmcs IG9yZy5hcGFjaGUueG1sYmVhbnMuWG1sT3B0aW9ucyBvcHRpb25zKSB0aHJvd3Mgb3JnLmFwYWNo ZS54bWxiZWFucy5YbWxFeGNlcHRpb24gew0KICAgICAgICAgIHJldHVybiAobm9OYW1lc3BhY2Uu VGV4dEVudW0pIG9yZy5hcGFjaGUueG1sYmVhbnMuWG1sQmVhbnMuZ2V0Q29udGV4dFR5cGVMb2Fk ZXIoKS5wYXJzZSggeG1sQXNTdHJpbmcsIHR5cGUsIG9wdGlvbnMgKTsgfQ0KICAgICAgICANCiAg ICAgICAgLyoqIEBwYXJhbSBmaWxlIHRoZSBmaWxlIGZyb20gd2hpY2ggdG8gbG9hZCBhbiB4bWwg ZG9jdW1lbnQgKi8NCiAgICAgICAgcHVibGljIHN0YXRpYyBub05hbWVzcGFjZS5UZXh0RW51bSBw YXJzZShqYXZhLmlvLkZpbGUgZmlsZSkgdGhyb3dzIG9yZy5hcGFjaGUueG1sYmVhbnMuWG1sRXhj ZXB0aW9uLCBqYXZhLmlvLklPRXhjZXB0aW9uIHsNCiAgICAgICAgICByZXR1cm4gKG5vTmFtZXNw YWNlLlRleHRFbnVtKSBvcmcuYXBhY2hlLnhtbGJlYW5zLlhtbEJlYW5zLmdldENvbnRleHRUeXBl TG9hZGVyKCkucGFyc2UoIGZpbGUsIHR5cGUsIG51bGwgKTsgfQ0KICAgICAgICANCiAgICAgICAg cHVibGljIHN0YXRpYyBub05hbWVzcGFjZS5UZXh0RW51bSBwYXJzZShqYXZhLmlvLkZpbGUgZmls ZSwgb3JnLmFwYWNoZS54bWxiZWFucy5YbWxPcHRpb25zIG9wdGlvbnMpIHRocm93cyBvcmcuYXBh Y2hlLnhtbGJlYW5zLlhtbEV4Y2VwdGlvbiwgamF2YS5pby5JT0V4Y2VwdGlvbiB7DQogICAgICAg ICAgcmV0dXJuIChub05hbWVzcGFjZS5UZXh0RW51bSkgb3JnLmFwYWNoZS54bWxiZWFucy5YbWxC ZWFucy5nZXRDb250ZXh0VHlwZUxvYWRlcigpLnBhcnNlKCBmaWxlLCB0eXBlLCBvcHRpb25zICk7 IH0NCiAgICAgICAgDQogICAgICAgIHB1YmxpYyBzdGF0aWMgbm9OYW1lc3BhY2UuVGV4dEVudW0g cGFyc2UoamF2YS5uZXQuVVJMIHUpIHRocm93cyBvcmcuYXBhY2hlLnhtbGJlYW5zLlhtbEV4Y2Vw dGlvbiwgamF2YS5pby5JT0V4Y2VwdGlvbiB7DQogICAgICAgICAgcmV0dXJuIChub05hbWVzcGFj ZS5UZXh0RW51bSkgb3JnLmFwYWNoZS54bWxiZWFucy5YbWxCZWFucy5nZXRDb250ZXh0VHlwZUxv YWRlcigpLnBhcnNlKCB1LCB0eXBlLCBudWxsICk7IH0NCiAgICAgICAgDQogICAgICAgIHB1Ymxp YyBzdGF0aWMgbm9OYW1lc3BhY2UuVGV4dEVudW0gcGFyc2UoamF2YS5uZXQuVVJMIHUsIG9yZy5h cGFjaGUueG1sYmVhbnMuWG1sT3B0aW9ucyBvcHRpb25zKSB0aHJvd3Mgb3JnLmFwYWNoZS54bWxi ZWFucy5YbWxFeGNlcHRpb24sIGphdmEuaW8uSU9FeGNlcHRpb24gew0KICAgICAgICAgIHJldHVy biAobm9OYW1lc3BhY2UuVGV4dEVudW0pIG9yZy5hcGFjaGUueG1sYmVhbnMuWG1sQmVhbnMuZ2V0 Q29udGV4dFR5cGVMb2FkZXIoKS5wYXJzZSggdSwgdHlwZSwgb3B0aW9ucyApOyB9DQogICAgICAg IA0KICAgICAgICBwdWJsaWMgc3RhdGljIG5vTmFtZXNwYWNlLlRleHRFbnVtIHBhcnNlKGphdmEu aW8uSW5wdXRTdHJlYW0gaXMpIHRocm93cyBvcmcuYXBhY2hlLnhtbGJlYW5zLlhtbEV4Y2VwdGlv biwgamF2YS5pby5JT0V4Y2VwdGlvbiB7DQogICAgICAgICAgcmV0dXJuIChub05hbWVzcGFjZS5U ZXh0RW51bSkgb3JnLmFwYWNoZS54bWxiZWFucy5YbWxCZWFucy5nZXRDb250ZXh0VHlwZUxvYWRl cigpLnBhcnNlKCBpcywgdHlwZSwgbnVsbCApOyB9DQogICAgICAgIA0KICAgICAgICBwdWJsaWMg c3RhdGljIG5vTmFtZXNwYWNlLlRleHRFbnVtIHBhcnNlKGphdmEuaW8uSW5wdXRTdHJlYW0gaXMs IG9yZy5hcGFjaGUueG1sYmVhbnMuWG1sT3B0aW9ucyBvcHRpb25zKSB0aHJvd3Mgb3JnLmFwYWNo ZS54bWxiZWFucy5YbWxFeGNlcHRpb24sIGphdmEuaW8uSU9FeGNlcHRpb24gew0KICAgICAgICAg IHJldHVybiAobm9OYW1lc3BhY2UuVGV4dEVudW0pIG9yZy5hcGFjaGUueG1sYmVhbnMuWG1sQmVh bnMuZ2V0Q29udGV4dFR5cGVMb2FkZXIoKS5wYXJzZSggaXMsIHR5cGUsIG9wdGlvbnMgKTsgfQ0K ICAgICAgICANCiAgICAgICAgcHVibGljIHN0YXRpYyBub05hbWVzcGFjZS5UZXh0RW51bSBwYXJz ZShqYXZhLmlvLlJlYWRlciByKSB0aHJvd3Mgb3JnLmFwYWNoZS54bWxiZWFucy5YbWxFeGNlcHRp b24sIGphdmEuaW8uSU9FeGNlcHRpb24gew0KICAgICAgICAgIHJldHVybiAobm9OYW1lc3BhY2Uu VGV4dEVudW0pIG9yZy5hcGFjaGUueG1sYmVhbnMuWG1sQmVhbnMuZ2V0Q29udGV4dFR5cGVMb2Fk ZXIoKS5wYXJzZSggciwgdHlwZSwgbnVsbCApOyB9DQogICAgICAgIA0KICAgICAgICBwdWJsaWMg c3RhdGljIG5vTmFtZXNwYWNlLlRleHRFbnVtIHBhcnNlKGphdmEuaW8uUmVhZGVyIHIsIG9yZy5h cGFjaGUueG1sYmVhbnMuWG1sT3B0aW9ucyBvcHRpb25zKSB0aHJvd3Mgb3JnLmFwYWNoZS54bWxi ZWFucy5YbWxFeGNlcHRpb24sIGphdmEuaW8uSU9FeGNlcHRpb24gew0KICAgICAgICAgIHJldHVy biAobm9OYW1lc3BhY2UuVGV4dEVudW0pIG9yZy5hcGFjaGUueG1sYmVhbnMuWG1sQmVhbnMuZ2V0 Q29udGV4dFR5cGVMb2FkZXIoKS5wYXJzZSggciwgdHlwZSwgb3B0aW9ucyApOyB9DQogICAgICAg IA0KICAgICAgICBwdWJsaWMgc3RhdGljIG5vTmFtZXNwYWNlLlRleHRFbnVtIHBhcnNlKGphdmF4 LnhtbC5zdHJlYW0uWE1MU3RyZWFtUmVhZGVyIHNyKSB0aHJvd3Mgb3JnLmFwYWNoZS54bWxiZWFu cy5YbWxFeGNlcHRpb24gew0KICAgICAgICAgIHJldHVybiAobm9OYW1lc3BhY2UuVGV4dEVudW0p IG9yZy5hcGFjaGUueG1sYmVhbnMuWG1sQmVhbnMuZ2V0Q29udGV4dFR5cGVMb2FkZXIoKS5wYXJz ZSggc3IsIHR5cGUsIG51bGwgKTsgfQ0KICAgICAgICANCiAgICAgICAgcHVibGljIHN0YXRpYyBu b05hbWVzcGFjZS5UZXh0RW51bSBwYXJzZShqYXZheC54bWwuc3RyZWFtLlhNTFN0cmVhbVJlYWRl ciBzciwgb3JnLmFwYWNoZS54bWxiZWFucy5YbWxPcHRpb25zIG9wdGlvbnMpIHRocm93cyBvcmcu YXBhY2hlLnhtbGJlYW5zLlhtbEV4Y2VwdGlvbiB7DQogICAgICAgICAgcmV0dXJuIChub05hbWVz cGFjZS5UZXh0RW51bSkgb3JnLmFwYWNoZS54bWxiZWFucy5YbWxCZWFucy5nZXRDb250ZXh0VHlw ZUxvYWRlcigpLnBhcnNlKCBzciwgdHlwZSwgb3B0aW9ucyApOyB9DQogICAgICAgIA0KICAgICAg ICBwdWJsaWMgc3RhdGljIG5vTmFtZXNwYWNlLlRleHRFbnVtIHBhcnNlKG9yZy53M2MuZG9tLk5v ZGUgbm9kZSkgdGhyb3dzIG9yZy5hcGFjaGUueG1sYmVhbnMuWG1sRXhjZXB0aW9uIHsNCiAgICAg ICAgICByZXR1cm4gKG5vTmFtZXNwYWNlLlRleHRFbnVtKSBvcmcuYXBhY2hlLnhtbGJlYW5zLlht bEJlYW5zLmdldENvbnRleHRUeXBlTG9hZGVyKCkucGFyc2UoIG5vZGUsIHR5cGUsIG51bGwgKTsg fQ0KICAgICAgICANCiAgICAgICAgcHVibGljIHN0YXRpYyBub05hbWVzcGFjZS5UZXh0RW51bSBw YXJzZShvcmcudzNjLmRvbS5Ob2RlIG5vZGUsIG9yZy5hcGFjaGUueG1sYmVhbnMuWG1sT3B0aW9u cyBvcHRpb25zKSB0aHJvd3Mgb3JnLmFwYWNoZS54bWxiZWFucy5YbWxFeGNlcHRpb24gew0KICAg ICAgICAgIHJldHVybiAobm9OYW1lc3BhY2UuVGV4dEVudW0pIG9yZy5hcGFjaGUueG1sYmVhbnMu WG1sQmVhbnMuZ2V0Q29udGV4dFR5cGVMb2FkZXIoKS5wYXJzZSggbm9kZSwgdHlwZSwgb3B0aW9u cyApOyB9DQogICAgICAgIA0KICAgICAgICAvKiogQGRlcHJlY2F0ZWQge0BsaW5rIG9yZy5hcGFj aGUueG1sYmVhbnMueG1sLnN0cmVhbS5YTUxJbnB1dFN0cmVhbX0gKi8NCiAgICAgICAgcHVibGlj IHN0YXRpYyBub05hbWVzcGFjZS5UZXh0RW51bSBwYXJzZShvcmcuYXBhY2hlLnhtbGJlYW5zLnht bC5zdHJlYW0uWE1MSW5wdXRTdHJlYW0geGlzKSB0aHJvd3Mgb3JnLmFwYWNoZS54bWxiZWFucy5Y bWxFeGNlcHRpb24sIG9yZy5hcGFjaGUueG1sYmVhbnMueG1sLnN0cmVhbS5YTUxTdHJlYW1FeGNl cHRpb24gew0KICAgICAgICAgIHJldHVybiAobm9OYW1lc3BhY2UuVGV4dEVudW0pIG9yZy5hcGFj aGUueG1sYmVhbnMuWG1sQmVhbnMuZ2V0Q29udGV4dFR5cGVMb2FkZXIoKS5wYXJzZSggeGlzLCB0 eXBlLCBudWxsICk7IH0NCiAgICAgICAgDQogICAgICAgIC8qKiBAZGVwcmVjYXRlZCB7QGxpbmsg b3JnLmFwYWNoZS54bWxiZWFucy54bWwuc3RyZWFtLlhNTElucHV0U3RyZWFtfSAqLw0KICAgICAg ICBwdWJsaWMgc3RhdGljIG5vTmFtZXNwYWNlLlRleHRFbnVtIHBhcnNlKG9yZy5hcGFjaGUueG1s YmVhbnMueG1sLnN0cmVhbS5YTUxJbnB1dFN0cmVhbSB4aXMsIG9yZy5hcGFjaGUueG1sYmVhbnMu WG1sT3B0aW9ucyBvcHRpb25zKSB0aHJvd3Mgb3JnLmFwYWNoZS54bWxiZWFucy5YbWxFeGNlcHRp b24sIG9yZy5hcGFjaGUueG1sYmVhbnMueG1sLnN0cmVhbS5YTUxTdHJlYW1FeGNlcHRpb24gew0K ICAgICAgICAgIHJldHVybiAobm9OYW1lc3BhY2UuVGV4dEVudW0pIG9yZy5hcGFjaGUueG1sYmVh bnMuWG1sQmVhbnMuZ2V0Q29udGV4dFR5cGVMb2FkZXIoKS5wYXJzZSggeGlzLCB0eXBlLCBvcHRp b25zICk7IH0NCiAgICAgICAgDQogICAgICAgIC8qKiBAZGVwcmVjYXRlZCB7QGxpbmsgb3JnLmFw YWNoZS54bWxiZWFucy54bWwuc3RyZWFtLlhNTElucHV0U3RyZWFtfSAqLw0KICAgICAgICBwdWJs aWMgc3RhdGljIG9yZy5hcGFjaGUueG1sYmVhbnMueG1sLnN0cmVhbS5YTUxJbnB1dFN0cmVhbSBu ZXdWYWxpZGF0aW5nWE1MSW5wdXRTdHJlYW0ob3JnLmFwYWNoZS54bWxiZWFucy54bWwuc3RyZWFt LlhNTElucHV0U3RyZWFtIHhpcykgdGhyb3dzIG9yZy5hcGFjaGUueG1sYmVhbnMuWG1sRXhjZXB0 aW9uLCBvcmcuYXBhY2hlLnhtbGJlYW5zLnhtbC5zdHJlYW0uWE1MU3RyZWFtRXhjZXB0aW9uIHsN CiAgICAgICAgICByZXR1cm4gb3JnLmFwYWNoZS54bWxiZWFucy5YbWxCZWFucy5nZXRDb250ZXh0 VHlwZUxvYWRlcigpLm5ld1ZhbGlkYXRpbmdYTUxJbnB1dFN0cmVhbSggeGlzLCB0eXBlLCBudWxs ICk7IH0NCiAgICAgICAgDQogICAgICAgIC8qKiBAZGVwcmVjYXRlZCB7QGxpbmsgb3JnLmFwYWNo ZS54bWxiZWFucy54bWwuc3RyZWFtLlhNTElucHV0U3RyZWFtfSAqLw0KICAgICAgICBwdWJsaWMg c3RhdGljIG9yZy5hcGFjaGUueG1sYmVhbnMueG1sLnN0cmVhbS5YTUxJbnB1dFN0cmVhbSBuZXdW YWxpZGF0aW5nWE1MSW5wdXRTdHJlYW0ob3JnLmFwYWNoZS54bWxiZWFucy54bWwuc3RyZWFtLlhN TElucHV0U3RyZWFtIHhpcywgb3JnLmFwYWNoZS54bWxiZWFucy5YbWxPcHRpb25zIG9wdGlvbnMp IHRocm93cyBvcmcuYXBhY2hlLnhtbGJlYW5zLlhtbEV4Y2VwdGlvbiwgb3JnLmFwYWNoZS54bWxi ZWFucy54bWwuc3RyZWFtLlhNTFN0cmVhbUV4Y2VwdGlvbiB7DQogICAgICAgICAgcmV0dXJuIG9y Zy5hcGFjaGUueG1sYmVhbnMuWG1sQmVhbnMuZ2V0Q29udGV4dFR5cGVMb2FkZXIoKS5uZXdWYWxp ZGF0aW5nWE1MSW5wdXRTdHJlYW0oIHhpcywgdHlwZSwgb3B0aW9ucyApOyB9DQogICAgICAgIA0K ICAgICAgICBwcml2YXRlIEZhY3RvcnkoKSB7IH0gLy8gTm8gaW5zdGFuY2Ugb2YgdGhpcyBjbGFz cyBhbGxvd2VkDQogICAgfQ0KfQ0K ------=_Part_85967_11827632.1184685577109 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] ------=_Part_85967_11827632.1184685577109-- From [email protected] Tue Jul 17 15:40:24 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65767 invoked from network); 17 Jul 2007 15:40:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jul 2007 15:40:23 -0000 Received: (qmail 73451 invoked by uid 500); 17 Jul 2007 15:40:23 -0000 Delivered-To: [email protected] Received: (qmail 73423 invoked by uid 500); 17 Jul 2007 15:40:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> Reply-To: [email protected] List-Id: <dev.xmlbeans.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 73412 invoked by uid 99); 17 Jul 2007 15:40:23 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jul 2007 08:40:23 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp.cbsh.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jul 2007 08:40:18 -0700 Received: from zixvpmgateway.cbsh.com (unknown [161.129.204.104]) by smtp.cbsh.com (Postfix) with ESMTP id A01A311804F for <[email protected]>; Tue, 17 Jul 2007 10:39:56 -0500 (CDT) Received: from kc-encrypt2.cbsh.com (ZixVPM [161.129.204.104]) by Outbound.cbsh.com (Proprietary) with ESMTP id 843854BE01 for <[email protected]>; Tue, 17 Jul 2007 10:39:56 -0500 (CDT) Received: from kc-exc2.cbsh.com (zixvpmgateway.cbsh.com [161.129.204.104]) by zixvpmgateway.cbsh.com (Proprietary) with ESMTP id B21DE4BDFB for <[email protected]>; Tue, 17 Jul 2007 10:39:54 -0500 (CDT) Received: from kc-exc3.cbsh.com ([161.129.204.104]) by kc-exc2.cbsh.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 17 Jul 2007 10:39:54 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6619.12 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: Enumerated types Date: Tue, 17 Jul 2007 10:39:54 -0500 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Enumerated types Thread-Index: AcfIhfYvhbJF9rzvRAuCQygopso6bwAAMs/A From: "Kuang, Siwei" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 17 Jul 2007 15:39:54.0671 (UTC) FILETIME=[B8E8A3F0:01C7C888] X-Virus-Checked: Checked by ClamAV on apache.org I have a different issue about the enumeration from Xmlbeans. I look for a way to enable or disable enumeration check without having to modify, (say, add/remove one item defined in the schema enumeration block and recompile to Java type via Xmlbeans). In other words, I try to find a way to by-pass the enumeration validation check when parsing an XML document.=20 There are always new items from XML document beyond what have already defined in the schema enumeration block. If this happens, Xmlbeans always give an error, saying "XmlOutofRangeException". I was intent to work around this without modifying the schema, but couldn't get it work. Any idea or suggestion is appreciated. Siwei Kuang -----Original Message----- From: Jacob Danner [mailto:[email protected]]=20 Sent: Tuesday, July 17, 2007 10:20 AM To: [email protected] Subject: Re: Enumerated types base index Hi Jason, I'm not sure why this is the case, but if its really an issue, I think you could modify the generated src or modify your index to [email protected]. static final int INT_FOO =3D 1; static final int INT_BAZ =3D 2; I've attached an example src file in case you wanted to [email protected]. I've never needed an Enum value to have a int val beginning at zero switch(enumVal) case Enum.INT_FOO: doSomething(); break; // .... And so using this code, I do not need the enumeration value to be a specific int. This also makes the code a little easier to read as well. Hope this helps, -Jacob Danner On 7/17/07, Green, Jason M. <[email protected]> wrote: > > > > Hey all, > I have been attempting to use the Enum.forInt method for some of my=20 > enumerated types. I am passing in a value that is provided in a text file. > Often times the value is zero, but when I pass that in, I get a=20 > XmlValueNotNillableException. I know what this means, but I am=20 > confused as to why the enumerated values would start at 1 and not 0. =20 > In the schema, there is obv no numberign associated. Since nearly=20 > every language that I know of is 0 based, why would this be 1 based? =20 > Is there a way to change this? > > Thanks, > > Jason *************************************************************************= **** If you wish to communicate securely with Commerce Bank and its affiliates, you must log into your account under Online Services at=20 http://www.commercebank.com or use the Commerce Bank Secure Email Message Center at https://securemail.commercebank.com NOTICE: This electronic mail message and any attached files are confidential. The information is exclusively for the use of the individual or entity intended as the recipient. If you are not the intended recipient, any use, copying, printing, reviewing, retention, disclosure, distribution or forwarding of the message or any attached file is not authorized and is strictly prohibited. If you have received this electronic mail message in error, please advise the sender by reply electronic mail immediately and permanently delete the original transmission, any attachments and any copies of this message from your computer system. *************************************************************************= **** --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jul 17 16:55:48 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4286 invoked from network); 17 Jul 2007 16:55:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jul 2007 16:55:46 -0000 Received: (qmail 50609 invoked by uid 500); 17 Jul 2007 16:55:43 -0000 Delivered-To: [email protected] Received: (qmail 50586 invoked by uid 500); 17 Jul 2007 16:55:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> Reply-To: [email protected] List-Id: <dev.xmlbeans.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 50575 invoked by uid 99); 17 Jul 2007 16:55:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jul 2007 09:55:43 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO an-out-0708.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jul 2007 09:55:38 -0700 Received: by an-out-0708.google.com with SMTP id d23so353721and for <[email protected]>; Tue, 17 Jul 2007 09:55:17 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=R6MNUPcSlSCqEztY+qeQnRC3GUGVZ15RkS723HcUW9U28zZMJsdfhJj1zyQYEC3i2bTbPMQk7RtSg2VXkSSupegmHURcCTvJdBL9TVq5AY/VVMEAgsAA4OK+1RQNfnGHeUrRQuCo/i/vmGnYB0nK5VTwlwyTtmJBi9/jBdc67dM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hhUNrT+mNBTwqK/IaMCbwPZ6RTN5KbRPequ9IMNgnqtINkMPnvB57NPyGOTwoq7AznBmB1X56nFv+0L00m55QDBdH4OFG5aUDX2w7riJqR3uA5vaN4OMnOi1oMmJaxpxgJqoaeshz/BNgU6vsej5wiFWgkvu0M4w//eA43rgRGg= Received: by 161.129.204.104 with SMTP id p7mr326880ane.1184691316214; Tue, 17 Jul 2007 09:55:16 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 17 Jul 2007 09:55:16 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 17 Jul 2007 09:55:16 -0700 From: "Jacob Danner" <[email protected]> To: [email protected] Subject: Re: Enumerated types Cc: [email protected] In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi Siwei, I have to ask, why the need for enumerations if you don't want the check or validation. Why not just use a String type? As far as I understand xsd:enumerations to work, they say, you can only use value A, B, or C. If the value is NOT A, B, or C then this is not a valid enumeration. Back to your problem, if you are doing something like SomeXmlObject.Factory.parse(...) and don't want this to fail validation, you might be able to try using the XmlOptions API with methods setCompileNoValidation() Hope this helps, -Jacob Danner On 7/17/07, Kuang, Siwei <[email protected]> wrote: > I have a different issue about the enumeration from Xmlbeans. I look for > a way to enable or disable enumeration check without having to modify, > (say, add/remove one item defined in the schema enumeration block and > recompile to Java type via Xmlbeans). In other words, I try to find a > way to by-pass the enumeration validation check when parsing an XML > document. > > There are always new items from XML document beyond what have already > defined in the schema enumeration block. If this happens, Xmlbeans > always give an error, saying "XmlOutofRangeException". I was intent to > work around this without modifying the schema, but couldn't get it work. > > Any idea or suggestion is appreciated. > > Siwei Kuang > > -----Original Message----- > From: Jacob Danner [mailto:[email protected]] > Sent: Tuesday, July 17, 2007 10:20 AM > To: [email protected] > Subject: Re: Enumerated types base index > > Hi Jason, > I'm not sure why this is the case, but if its really an issue, I think > you could modify the generated src or modify your index to [email protected]. > > static final int INT_FOO = 1; > static final int INT_BAZ = 2; > > I've attached an example src file in case you wanted to [email protected]. > I've never needed an Enum value to have a int val beginning at zero > > switch(enumVal) > case Enum.INT_FOO: > doSomething(); > break; > // .... > > And so using this code, I do not need the enumeration value to be a > specific int. This also makes the code a little easier to read as well. > > Hope this helps, > -Jacob Danner > > > On 7/17/07, Green, Jason M. <[email protected]> wrote: > > > > > > > > Hey all, > > I have been attempting to use the Enum.forInt method for some of my > > enumerated types. I am passing in a value that is provided in a text > file. > > Often times the value is zero, but when I pass that in, I get a > > XmlValueNotNillableException. I know what this means, but I am > > confused as to why the enumerated values would start at 1 and not 0. > > In the schema, there is obv no numberign associated. Since nearly > > every language that I know of is 0 based, why would this be 1 based? > > Is there a way to change this? > > > > Thanks, > > > > Jason > > > > ***************************************************************************** > If you wish to communicate securely with Commerce Bank and its > affiliates, you must log into your account under Online Services at > http://www.commercebank.com or use the Commerce Bank Secure > Email Message Center at https://securemail.commercebank.com > > NOTICE: This electronic mail message and any attached files are > confidential. The information is exclusively for the use of the > individual or entity intended as the recipient. If you are not > the intended recipient, any use, copying, printing, reviewing, > retention, disclosure, distribution or forwarding of the message > or any attached file is not authorized and is strictly prohibited. > If you have received this electronic mail message in error, please > advise the sender by reply electronic mail immediately and > permanently delete the original transmission, any attachments > and any copies of this message from your computer system. > ***************************************************************************** > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jul 17 17:01:51 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9357 invoked from network); 17 Jul 2007 17:01:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jul 2007 17:01:51 -0000 Received: (qmail 70183 invoked by uid 500); 17 Jul 2007 17:01:51 -0000 Delivered-To: [email protected] Received: (qmail 70165 invoked by uid 500); 17 Jul 2007 17:01:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> Reply-To: [email protected] List-Id: <dev.xmlbeans.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 70142 invoked by uid 99); 17 Jul 2007 17:01:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jul 2007 10:01:51 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp.cbsh.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jul 2007 10:01:46 -0700 Received: from zixvpmgateway.cbsh.com (unknown [161.129.204.104]) by smtp.cbsh.com (Postfix) with ESMTP id EC26911803F for <[email protected]>; Tue, 17 Jul 2007 12:01:25 -0500 (CDT) Received: from kc-encrypt1.cbsh.com (ZixVPM [161.129.204.104]) by Outbound.cbsh.com (Proprietary) with ESMTP id DB01FA7B1F for <[email protected]>; Tue, 17 Jul 2007 12:01:25 -0500 (CDT) Received: from kc-exc2.cbsh.com (zixvpmgateway.cbsh.com [161.129.204.104]) by zixvpmgateway.cbsh.com (Proprietary) with ESMTP id BCEF11C3254 for <[email protected]>; Tue, 17 Jul 2007 12:01:23 -0500 (CDT) Received: from kc-exc3.cbsh.com ([161.129.204.104]) by kc-exc2.cbsh.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 17 Jul 2007 12:01:22 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6619.12 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: Enumerated types Date: Tue, 17 Jul 2007 12:01:22 -0500 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Enumerated types Thread-Index: AcfIk1BB5th9RnZ2Q0WO27FuqboplQAAB7wQ From: "Kuang, Siwei" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 17 Jul 2007 17:01:22.0843 (UTC) FILETIME=[1A7C7EB0:01C7C894] X-Virus-Checked: Checked by ClamAV on apache.org Yeah, this is what I did to remove the enumeration block from schema. Also, I tried the XmlOption - setCompileNoValidation() as well as passing "null" for XmlOption. Neither of them really works. Schemas were created by somebody else long ago. I wish there were an option to easily enable/disable the enumeration check without having to modify the schema. Thanks for your reply, though. Siwei=20 -----Original Message----- From: Jacob Danner [mailto:[email protected]]=20 Sent: Tuesday, July 17, 2007 11:55 AM To: [email protected] Cc: [email protected] Subject: Re: Enumerated types Hi Siwei, I have to ask, why the need for enumerations if you don't want the check or validation. Why not just use a String type? As far as I understand xsd:enumerations to work, they say, you can only use value A, B, or C. If the value is NOT A, B, or C then this is not a valid enumeration. Back to your problem, if you are doing something like SomeXmlObject.Factory.parse(...) and don't want this to fail validation, you might be able to try using the XmlOptions API with methods setCompileNoValidation() Hope this helps, -Jacob Danner On 7/17/07, Kuang, Siwei <[email protected]> wrote: > I have a different issue about the enumeration from Xmlbeans. I look=20 > for a way to enable or disable enumeration check without having to=20 > modify, (say, add/remove one item defined in the schema enumeration=20 > block and recompile to Java type via Xmlbeans). In other words, I try=20 > to find a way to by-pass the enumeration validation check when parsing > an XML document. > > There are always new items from XML document beyond what have already=20 > defined in the schema enumeration block. If this happens, Xmlbeans=20 > always give an error, saying "XmlOutofRangeException". I was intent to > work around this without modifying the schema, but couldn't get it work. > > Any idea or suggestion is appreciated. > > Siwei Kuang > > -----Original Message----- > From: Jacob Danner [mailto:[email protected]] > Sent: Tuesday, July 17, 2007 10:20 AM > To: [email protected] > Subject: Re: Enumerated types base index > > Hi Jason, > I'm not sure why this is the case, but if its really an issue, I think > you could modify the generated src or modify your index to [email protected]. > > static final int INT_FOO =3D 1; > static final int INT_BAZ =3D 2; > > I've attached an example src file in case you wanted to [email protected]. > I've never needed an Enum value to have a int val beginning at zero > > switch(enumVal) > case Enum.INT_FOO: > doSomething(); > break; > // .... > > And so using this code, I do not need the enumeration value to be a=20 > specific int. This also makes the code a little easier to read as well. > > Hope this helps, > -Jacob Danner > > > On 7/17/07, Green, Jason M. <[email protected]> wrote: > > > > > > > > Hey all, > > I have been attempting to use the Enum.forInt method for some of my=20 > > enumerated types. I am passing in a value that is provided in a=20 > > text > file. > > Often times the value is zero, but when I pass that in, I get a=20 > > XmlValueNotNillableException. I know what this means, but I am=20 > > confused as to why the enumerated values would start at 1 and not 0. > > In the schema, there is obv no numberign associated. Since nearly=20 > > every language that I know of is 0 based, why would this be 1 based? > > Is there a way to change this? > > > > Thanks, > > > > Jason > > > > ********************************************************************** > ******* If you wish to communicate securely with Commerce Bank and its > affiliates, you must log into your account under Online Services at=20 > http://www.commercebank.com or use the Commerce Bank Secure Email=20 > Message Center at https://securemail.commercebank.com > > NOTICE: This electronic mail message and any attached files are=20 > confidential. The information is exclusively for the use of the=20 > individual or entity intended as the recipient. If you are not the=20 > intended recipient, any use, copying, printing, reviewing, retention,=20 > disclosure, distribution or forwarding of the message or any attached=20 > file is not authorized and is strictly prohibited. > If you have received this electronic mail message in error, please=20 > advise the sender by reply electronic mail immediately and permanently > delete the original transmission, any attachments and any copies of=20 > this message from your computer system. > ********************************************************************** > ******* > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] *************************************************************************= **** If you wish to communicate securely with Commerce Bank and its affiliates, you must log into your account under Online Services at=20 http://www.commercebank.com or use the Commerce Bank Secure Email Message Center at https://securemail.commercebank.com NOTICE: This electronic mail message and any attached files are confidential. The information is exclusively for the use of the individual or entity intended as the recipient. If you are not the intended recipient, any use, copying, printing, reviewing, retention, disclosure, distribution or forwarding of the message or any attached file is not authorized and is strictly prohibited. If you have received this electronic mail message in error, please advise the sender by reply electronic mail immediately and permanently delete the original transmission, any attachments and any copies of this message from your computer system. *************************************************************************= **** --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jul 20 01:04:00 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98273 invoked from network); 20 Jul 2007 01:03:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Jul 2007 01:03:58 -0000 Received: (qmail 39698 invoked by uid 500); 20 Jul 2007 01:03:29 -0000 Delivered-To: [email protected] Received: (qmail 39670 invoked by uid 500); 20 Jul 2007 01:03:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> Reply-To: [email protected] List-Id: <dev.xmlbeans.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 39655 invoked by uid 500); 20 Jul 2007 01:03:29 -0000 Delivered-To: [email protected] Received: (qmail 39652 invoked by uid 99); 20 Jul 2007 01:03:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jul 2007 18:03:29 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jul 2007 18:03:26 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 4CC9E714187 for <[email protected]>; Thu, 19 Jul 2007 18:03:06 -0700 (PDT) Message-ID: <25554105.1184893386303.JavaMail.jira@brutus> Date: Thu, 19 Jul 2007 18:03:06 -0700 (PDT) From: "jackychang (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XMLBEANS-339) Wrong handling for IdentityConstraint for key <selector xpath="."> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Wrong handling for IdentityConstraint for key <selector xpath="."> ------------------------------------------------------------------ Key: XMLBEANS-339 URL: https://issues.apache.org/jira/browse/XMLBEANS-339 Project: XMLBeans Issue Type: Bug Components: XmlObject Affects Versions: Version 2.3 Environment: Windows2000 on PC. Reporter: jackychang This problem existed in 2.2.0 and 2.3.0. When I create a key and keyref in schema like <xsd:element name="root"> <xsd:complexType> <xsd:sequence minOccurs="1" maxOccurs="1"> <xsd:element name="AAA" type="myAAA"/> <xsd:element name="BBB" type="myBBB"/> <xsd:element name="CCC" type="xsd:string"/> </xsd:sequence> <xsd:attribute name="id" type="xsd:string" use="required"/> </xsd:complexType> <xsd:keyref name="myIdref" refer="myId"> <xsd:selector xpath="."/> <xsd:field xpath="@id"/> </xsd:keyref> <xsd:key name="myId"> <xsd:selector xpath="."/> <xsd:field xpath="CCC"/> </xsd:key> </xsd:element> <xsd:complexType name="myAAA"> <xsd:sequence minOccurs="1"> <xsd:element name="a" minOccurs="1" maxOccurs="unbounded"> <xsd:complexType> <xsd:sequence> <xsd:element name="DDD" type="xsd:string"/> </xsd:sequence> <xsd:attribute name="id" type="xsd:NCName" use="required"/> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> <xsd:complexType name="myBBB"> <xsd:sequence minOccurs="1"> <xsd:element name="b" minOccurs="1" maxOccurs="unbounded"> <xsd:complexType> <xsd:attribute name="idref" type="xsd:NCName" use="required"/> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:schema> The Xmlbeans validator will throw an exception said like "keyref can't find the key value". But if I use the following key and keyref definition, <xsd:keyref name="myIdref" refer="myId"> <xsd:selector xpath="./CCC"/> <xsd:field xpath="."/> </xsd:keyref> <xsd:key name="myId"> <xsd:selector xpath="."/> <xsd:field xpath="@id"/> </xsd:key> Everything works well. Being curious what happen in code, I open the code and debug it. What I found is "IdentityConstraint.java" wrongly handle the keyrefstat 'remove'. IdentityConstraint build a chain of selectorstate, fieldstat and keyrefstate. But when handling 'addKeyValues' in keyrefstat remove method, the selector has no any value at all in above first case. I can't explain why the selector can't be assigned with correct field value, but it happened as it. Therefore I think you must take care of it. The following code piece is my modification for remove method in keyrefstate. void remove(Event e) { // First check if there are any keys at the same stack level as this // that may contribute key values to me + Set _myvalues = new LinkedHashSet(); // define a values for addKeyValues to keyref for (ConstraintState cs = _next ; cs != null && cs != _elementStack._savePoint ; cs = cs._next) { if (cs instanceof SelectorState) { SelectorState sel = (SelectorState)cs; if (sel._constraint == _constraint.getReferencedKey()) { + if (!sel._values.isEmpty()) // if the selector has no value, I must use its field value instead. addKeyValues(sel._values, false); + else { // sometimes selector has no values, but field does have! + for (ConstraintState cs2 = _next; cs2 !=null && cs2 != _elementStack._savePoint ; cs2 = cs2._next) { + if (cs2 instanceof FieldState) { // I will find the fieldstate. If this fieldstate belongs to above selector, I will try to put the value to keyValues. + FieldState fie = (FieldState)cs2; + if (fie._selector == sel) { + _myvalues.add(fie._value); + } + } + } + } } } } + addKeyValues(_myvalues, false); I'm sure if this solution is OK for your project. But it seems solve my problem completely. I hope you can fix this bug as soon as possible. /zhi -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Jul 21 00:41:28 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91092 invoked from network); 21 Jul 2007 00:41:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Jul 2007 00:41:28 -0000 Received: (qmail 54158 invoked by uid 500); 21 Jul 2007 00:41:29 -0000 Delivered-To: [email protected] Received: (qmail 54132 invoked by uid 500); 21 Jul 2007 00:41:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> Reply-To: [email protected] List-Id: <dev.xmlbeans.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 54116 invoked by uid 500); 21 Jul 2007 00:41:29 -0000 Delivered-To: [email protected] Received: (qmail 54112 invoked by uid 99); 21 Jul 2007 00:41:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jul 2007 17:41:29 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jul 2007 17:41:26 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 46F4E714210 for <[email protected]>; Fri, 20 Jul 2007 17:41:06 -0700 (PDT) Message-ID: <22587627.1184978466270.JavaMail.jira@brutus> Date: Fri, 20 Jul 2007 17:41:06 -0700 (PDT) From: "Daniel LaPrade (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XMLBEANS-340) "derivation-ok-restriction.5.1" failure thrown incorrectly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org "derivation-ok-restriction.5.1" failure thrown incorrectly ----------------------------------------------------------- Key: XMLBEANS-340 URL: https://issues.apache.org/jira/browse/XMLBEANS-340 Project: XMLBeans Issue Type: Bug Affects Versions: Version 2.3 Environment: MacOSX, Java1.5 Reporter: Daniel LaPrade I downloaded the DublinCore xml schemas and tried to create xmlbeans of them and got several "derivation-ok-restriction.5.1" error messages: [xmlbean] schemas/dcterms.xsd:130:3: error: derivation-ok-restriction.5.1: A complex type with a simple content model can only restrict a complex type with simple or mixed content model. The problem is here is the line in question: <xs:complexType name="MESH"> <xs:simpleContent> <xs:restriction base="dc:SimpleLiteral"> <xs:simpleType> <xs:restriction base="xs:string"/> </xs:simpleType> <xs:attribute ref="xml:lang" use="prohibited"/> </xs:restriction> </xs:simpleContent> </xs:complexType> Here is the base for the restriction: <xs:complexType name="SimpleLiteral"> <xs:complexContent mixed="true"> <xs:restriction base="xs:anyType"> <xs:sequence> <xs:any processContents="lax" minOccurs="0" maxOccurs="0"/> </xs:sequence> <xs:attribute ref="xml:lang" use="optional"/> </xs:restriction> </xs:complexContent> </xs:complexType> As you can see, the complex type with a simple content model is restricting a complex type with mixed content model. This seems like an error. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 23 16:02:06 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1757 invoked from network); 23 Jul 2007 16:02:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Jul 2007 16:02:05 -0000 Received: (qmail 4720 invoked by uid 500); 23 Jul 2007 16:02:07 -0000 Delivered-To: [email protected] Received: (qmail 4518 invoked by uid 500); 23 Jul 2007 16:02:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> Reply-To: [email protected] List-Id: <dev.xmlbeans.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 4507 invoked by uid 500); 23 Jul 2007 16:02:06 -0000 Delivered-To: [email protected] Received: (qmail 4504 invoked by uid 99); 23 Jul 2007 16:02:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jul 2007 09:02:06 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jul 2007 09:02:04 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 571B8714211 for <[email protected]>; Mon, 23 Jul 2007 09:01:33 -0700 (PDT) Message-ID: <13215589.1185206493354.JavaMail.jira@brutus> Date: Mon, 23 Jul 2007 09:01:33 -0700 (PDT) From: "Jacob Danner (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (XMLBEANS-340) "derivation-ok-restriction.5.1" failure thrown incorrectly In-Reply-To: <22587627.1184978466270.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XMLBEANS-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacob Danner updated XMLBEANS-340: ---------------------------------- Priority: Minor (was: Major) > "derivation-ok-restriction.5.1" failure thrown incorrectly > ----------------------------------------------------------- > > Key: XMLBEANS-340 > URL: https://issues.apache.org/jira/browse/XMLBEANS-340 > Project: XMLBeans > Issue Type: Bug > Affects Versions: Version 2.3 > Environment: MacOSX, Java1.5 > Reporter: kombi > Priority: Minor > > I downloaded the DublinCore xml schemas and tried to create xmlbeans of them and got several "derivation-ok-restriction.5.1" error messages: > [xmlbean] schemas/dcterms.xsd:130:3: error: derivation-ok-restriction.5.1: A complex type with a simple content model can only restrict a complex type with simple or mixed content model. > The problem is here is the line in question: > <xs:complexType name="MESH"> > <xs:simpleContent> > <xs:restriction base="dc:SimpleLiteral"> > <xs:simpleType> > <xs:restriction base="xs:string"/> > </xs:simpleType> > <xs:attribute ref="xml:lang" use="prohibited"/> > </xs:restriction> > </xs:simpleContent> > </xs:complexType> > Here is the base for the restriction: > <xs:complexType name="SimpleLiteral"> > <xs:complexContent mixed="true"> > <xs:restriction base="xs:anyType"> > <xs:sequence> > <xs:any processContents="lax" minOccurs="0" maxOccurs="0"/> > </xs:sequence> > <xs:attribute ref="xml:lang" use="optional"/> > </xs:restriction> > </xs:complexContent> > </xs:complexType> > As you can see, the complex type with a simple content model is restricting a complex type with mixed content model. > This seems like an error. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 23 16:02:16 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1812 invoked from network); 23 Jul 2007 16:02:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Jul 2007 16:02:15 -0000 Received: (qmail 5155 invoked by uid 500); 23 Jul 2007 16:02:17 -0000 Delivered-To: [email protected] Received: (qmail 4950 invoked by uid 500); 23 Jul 2007 16:02:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> Reply-To: [email protected] List-Id: <dev.xmlbeans.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 4920 invoked by uid 500); 23 Jul 2007 16:02:16 -0000 Delivered-To: [email protected] Received: (qmail 4917 invoked by uid 99); 23 Jul 2007 16:02:16 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jul 2007 09:02:16 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jul 2007 09:02:13 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 21A3F714222 for <[email protected]>; Mon, 23 Jul 2007 09:01:35 -0700 (PDT) Message-ID: <4242731.1185206495135.JavaMail.jira@brutus> Date: Mon, 23 Jul 2007 09:01:35 -0700 (PDT) From: "Jacob Danner (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (XMLBEANS-340) "derivation-ok-restriction.5.1" failure thrown incorrectly In-Reply-To: <22587627.1184978466270.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XMLBEANS-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacob Danner resolved XMLBEANS-340. ----------------------------------- Resolution: Won't Fix Assignee: Jacob Danner This is a valid error in the XSD, and the validation in xmlbeans is why you are seeing this error. If you are curious about the where's and why's of the error, more information can be found at: http://www.w3.org/TR/xmlschema11-1/#derivation-ok-restriction There are some other warnings also: dc.xsd:63:7: warning: p-props-correct.2.2: maxOccurs must be greater than or equal to 1. <xs:any processContents="lax" minOccurs="0" maxOccurs="0"/> To make the XSD compile using xmlbeans scomp target, try the following: scomp -noupa -nopvr *.xsd dc.xsd:63:7: warning: p-props-correct.2.2: maxOccurs must be greater than or equal to 1. Time to build schema type system: 4.375 seconds Time to generate code: 3.813 seconds Time to compile code: 12.031 seconds Compiled types to: xmltypes.jar (it worked for me) Since XmlBeans does not control the XSDs in question, I think it best bet would be to contact the group or person you recieved the XSD from. > "derivation-ok-restriction.5.1" failure thrown incorrectly > ----------------------------------------------------------- > > Key: XMLBEANS-340 > URL: https://issues.apache.org/jira/browse/XMLBEANS-340 > Project: XMLBeans > Issue Type: Bug > Affects Versions: Version 2.3 > Environment: MacOSX, Java1.5 > Reporter: kombi > Assignee: Jacob Danner > Priority: Minor > > I downloaded the DublinCore xml schemas and tried to create xmlbeans of them and got several "derivation-ok-restriction.5.1" error messages: > [xmlbean] schemas/dcterms.xsd:130:3: error: derivation-ok-restriction.5.1: A complex type with a simple content model can only restrict a complex type with simple or mixed content model. > The problem is here is the line in question: > <xs:complexType name="MESH"> > <xs:simpleContent> > <xs:restriction base="dc:SimpleLiteral"> > <xs:simpleType> > <xs:restriction base="xs:string"/> > </xs:simpleType> > <xs:attribute ref="xml:lang" use="prohibited"/> > </xs:restriction> > </xs:simpleContent> > </xs:complexType> > Here is the base for the restriction: > <xs:complexType name="SimpleLiteral"> > <xs:complexContent mixed="true"> > <xs:restriction base="xs:anyType"> > <xs:sequence> > <xs:any processContents="lax" minOccurs="0" maxOccurs="0"/> > </xs:sequence> > <xs:attribute ref="xml:lang" use="optional"/> > </xs:restriction> > </xs:complexContent> > </xs:complexType> > As you can see, the complex type with a simple content model is restricting a complex type with mixed content model. > This seems like an error. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 23 18:58:56 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69840 invoked from network); 23 Jul 2007 18:58:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Jul 2007 18:58:55 -0000 Received: (qmail 35658 invoked by uid 500); 23 Jul 2007 18:58:56 -0000 Delivered-To: [email protected] Received: (qmail 35481 invoked by uid 500); 23 Jul 2007 18:58:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> Reply-To: [email protected] List-Id: <dev.xmlbeans.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 35470 invoked by uid 500); 23 Jul 2007 18:58:55 -0000 Delivered-To: [email protected] Received: (qmail 34986 invoked by uid 99); 23 Jul 2007 18:58:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jul 2007 11:58:53 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jul 2007 11:58:51 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 87E107141FE for <[email protected]>; Mon, 23 Jul 2007 11:58:31 -0700 (PDT) Message-ID: <7593546.1185217111552.JavaMail.jira@brutus> Date: Mon, 23 Jul 2007 11:58:31 -0700 (PDT) From: "kombi (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (XMLBEANS-340) "derivation-ok-restriction.5.1" failure thrown incorrectly In-Reply-To: <22587627.1184978466270.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XMLBEANS-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12514726 ] kombi commented on XMLBEANS-340: -------------------------------- I reviewed that document, and it does not seem that my schema violates any restrictions listed. Which violation is being thrown from your reference document for: [xmlbean] schemas/dcterms.xsd:130:3: error: derivation-ok-restriction.5.1: A complex type with a simple content model can only restrict a complex type with simple or mixed content model. for the schema, I listed above. I am able to validate schema with other tools such as OxygenXML. > "derivation-ok-restriction.5.1" failure thrown incorrectly > ----------------------------------------------------------- > > Key: XMLBEANS-340 > URL: https://issues.apache.org/jira/browse/XMLBEANS-340 > Project: XMLBeans > Issue Type: Bug > Affects Versions: Version 2.3 > Environment: MacOSX, Java1.5 > Reporter: kombi > Assignee: Jacob Danner > Priority: Minor > > I downloaded the DublinCore xml schemas and tried to create xmlbeans of them and got several "derivation-ok-restriction.5.1" error messages: > [xmlbean] schemas/dcterms.xsd:130:3: error: derivation-ok-restriction.5.1: A complex type with a simple content model can only restrict a complex type with simple or mixed content model. > The problem is here is the line in question: > <xs:complexType name="MESH"> > <xs:simpleContent> > <xs:restriction base="dc:SimpleLiteral"> > <xs:simpleType> > <xs:restriction base="xs:string"/> > </xs:simpleType> > <xs:attribute ref="xml:lang" use="prohibited"/> > </xs:restriction> > </xs:simpleContent> > </xs:complexType> > Here is the base for the restriction: > <xs:complexType name="SimpleLiteral"> > <xs:complexContent mixed="true"> > <xs:restriction base="xs:anyType"> > <xs:sequence> > <xs:any processContents="lax" minOccurs="0" maxOccurs="0"/> > </xs:sequence> > <xs:attribute ref="xml:lang" use="optional"/> > </xs:restriction> > </xs:complexContent> > </xs:complexType> > As you can see, the complex type with a simple content model is restricting a complex type with mixed content model. > This seems like an error. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jul 24 14:37:53 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92110 invoked from network); 24 Jul 2007 14:37:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2007 14:37:53 -0000 Received: (qmail 22931 invoked by uid 500); 24 Jul 2007 14:37:54 -0000 Delivered-To: [email protected] Received: (qmail 22909 invoked by uid 500); 24 Jul 2007 14:37:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> Reply-To: [email protected] List-Id: <dev.xmlbeans.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 22898 invoked by uid 500); 24 Jul 2007 14:37:53 -0000 Delivered-To: [email protected] Received: (qmail 22893 invoked by uid 99); 24 Jul 2007 14:37:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2007 07:37:53 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2007 07:37:51 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 5C57B7141ED for <[email protected]>; Tue, 24 Jul 2007 07:37:31 -0700 (PDT) Message-ID: <30039041.1185287851376.JavaMail.jira@brutus> Date: Tue, 24 Jul 2007 07:37:31 -0700 (PDT) From: "kombi (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Reopened: (XMLBEANS-340) "derivation-ok-restriction.5.1" failure thrown incorrectly In-Reply-To: <22587627.1184978466270.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XMLBEANS-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] kombi reopened XMLBEANS-340: ---------------------------- Read my comments > "derivation-ok-restriction.5.1" failure thrown incorrectly > ----------------------------------------------------------- > > Key: XMLBEANS-340 > URL: https://issues.apache.org/jira/browse/XMLBEANS-340 > Project: XMLBeans > Issue Type: Bug > Affects Versions: Version 2.3 > Environment: MacOSX, Java1.5 > Reporter: kombi > Assignee: Jacob Danner > Priority: Minor > > I downloaded the DublinCore xml schemas and tried to create xmlbeans of them and got several "derivation-ok-restriction.5.1" error messages: > [xmlbean] schemas/dcterms.xsd:130:3: error: derivation-ok-restriction.5.1: A complex type with a simple content model can only restrict a complex type with simple or mixed content model. > The problem is here is the line in question: > <xs:complexType name="MESH"> > <xs:simpleContent> > <xs:restriction base="dc:SimpleLiteral"> > <xs:simpleType> > <xs:restriction base="xs:string"/> > </xs:simpleType> > <xs:attribute ref="xml:lang" use="prohibited"/> > </xs:restriction> > </xs:simpleContent> > </xs:complexType> > Here is the base for the restriction: > <xs:complexType name="SimpleLiteral"> > <xs:complexContent mixed="true"> > <xs:restriction base="xs:anyType"> > <xs:sequence> > <xs:any processContents="lax" minOccurs="0" maxOccurs="0"/> > </xs:sequence> > <xs:attribute ref="xml:lang" use="optional"/> > </xs:restriction> > </xs:complexContent> > </xs:complexType> > As you can see, the complex type with a simple content model is restricting a complex type with mixed content model. > This seems like an error. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jul 24 19:42:54 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97210 invoked from network); 24 Jul 2007 19:42:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2007 19:42:53 -0000 Received: (qmail 16700 invoked by uid 500); 24 Jul 2007 19:42:54 -0000 Delivered-To: [email protected] Received: (qmail 16607 invoked by uid 500); 24 Jul 2007 19:42:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> Reply-To: [email protected] List-Id: <dev.xmlbeans.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 16591 invoked by uid 500); 24 Jul 2007 19:42:53 -0000 Delivered-To: [email protected] Received: (qmail 16588 invoked by uid 99); 24 Jul 2007 19:42:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2007 12:42:53 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2007 12:42:51 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 48B2571418E for <[email protected]>; Tue, 24 Jul 2007 12:42:31 -0700 (PDT) Message-ID: <28216028.1185306151295.JavaMail.jira@brutus> Date: Tue, 24 Jul 2007 12:42:31 -0700 (PDT) From: "Jacob Danner (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (XMLBEANS-340) "derivation-ok-restriction.5.1" failure thrown incorrectly In-Reply-To: <22587627.1184978466270.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XMLBEANS-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515072 ] Jacob Danner commented on XMLBEANS-340: --------------------------------------- Hi Kombi, will compiling the XSD with scomp -noupa -nopvr *.xsd not work for you until we can investigate this further? I'll look into this further. In the meantime the offending sections of the XSD are: <xs:complexType name="TGN"> <xs:simpleContent> <xs:restriction base="dc:SimpleLiteral"> <xs:simpleType> <xs:restriction base="xs:string"/> </xs:simpleType> <xs:attribute ref="xml:lang" use="prohibited"/> </xs:restriction> </xs:simpleContent> </xs:complexType> <xs:complexType name="SimpleLiteral"> <xs:annotation> <xs:documentation xml:lang="en"> This is the default type for all of the DC elements. It permits text content only with optional xml:lang attribute. Text is allowed because mixed="true", but sub-elements are disallowed because minOccurs="0" and maxOccurs="0" are on the xs:any tag. This complexType allows for restriction or extension permitting child elements. </xs:documentation> </xs:annotation> <xs:complexContent mixed="true"> <xs:restriction base="xs:anyType"> <xs:sequence> <xs:any processContents="lax" minOccurs="0" maxOccurs="0"/> </xs:sequence> <xs:attribute ref="xml:lang" use="optional"/> </xs:restriction> </xs:complexContent> </xs:complexType> Also, the W3C schema validator had no problems with a HACKHACK XSD I whipped up to repro this problem Here is the output Schema validating with XSV 2.10-1 of 2005/04/22 13:10:49 * Target: file:/usr/local/XSV/xsvlog/tmpGJDucGuploaded (Real name: foo.xsd) * docElt: {http://www.w3.org/2001/XMLSchema}schema * Validation was strict, starting with type [Anonymous] * The schema(s) used for schema-validation had no errors * No schema-validity problems were found in the target http://www.w3.org/2001/03/webdata/xsv > "derivation-ok-restriction.5.1" failure thrown incorrectly > ----------------------------------------------------------- > > Key: XMLBEANS-340 > URL: https://issues.apache.org/jira/browse/XMLBEANS-340 > Project: XMLBeans > Issue Type: Bug > Affects Versions: Version 2.3 > Environment: MacOSX, Java1.5 > Reporter: kombi > Assignee: Jacob Danner > Priority: Minor > > I downloaded the DublinCore xml schemas and tried to create xmlbeans of them and got several "derivation-ok-restriction.5.1" error messages: > [xmlbean] schemas/dcterms.xsd:130:3: error: derivation-ok-restriction.5.1: A complex type with a simple content model can only restrict a complex type with simple or mixed content model. > The problem is here is the line in question: > <xs:complexType name="MESH"> > <xs:simpleContent> > <xs:restriction base="dc:SimpleLiteral"> > <xs:simpleType> > <xs:restriction base="xs:string"/> > </xs:simpleType> > <xs:attribute ref="xml:lang" use="prohibited"/> > </xs:restriction> > </xs:simpleContent> > </xs:complexType> > Here is the base for the restriction: > <xs:complexType name="SimpleLiteral"> > <xs:complexContent mixed="true"> > <xs:restriction base="xs:anyType"> > <xs:sequence> > <xs:any processContents="lax" minOccurs="0" maxOccurs="0"/> > </xs:sequence> > <xs:attribute ref="xml:lang" use="optional"/> > </xs:restriction> > </xs:complexContent> > </xs:complexType> > As you can see, the complex type with a simple content model is restricting a complex type with mixed content model. > This seems like an error. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jul 24 19:49:16 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99116 invoked from network); 24 Jul 2007 19:49:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2007 19:49:16 -0000 Received: (qmail 30611 invoked by uid 500); 24 Jul 2007 19:49:17 -0000 Delivered-To: [email protected] Received: (qmail 30412 invoked by uid 500); 24 Jul 2007 19:49:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> Reply-To: [email protected] List-Id: <dev.xmlbeans.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 30367 invoked by uid 500); 24 Jul 2007 19:49:16 -0000 Delivered-To: [email protected] Received: (qmail 30331 invoked by uid 99); 24 Jul 2007 19:49:16 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2007 12:49:16 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2007 12:49:13 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C82A971420C for <[email protected]>; Tue, 24 Jul 2007 12:48:33 -0700 (PDT) Message-ID: <30911553.1185306513817.JavaMail.jira@brutus> Date: Tue, 24 Jul 2007 12:48:33 -0700 (PDT) From: "Jacob Danner (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (XMLBEANS-340) "derivation-ok-restriction.5.1" failure thrown incorrectly In-Reply-To: <22587627.1184978466270.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XMLBEANS-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacob Danner updated XMLBEANS-340: ---------------------------------- Attachment: xmlbeans-340.xsd I've attached the simple xsd used to repro this issue without all of the imported/included XSDs. Not intended for inclusion with svn srcs. > "derivation-ok-restriction.5.1" failure thrown incorrectly > ----------------------------------------------------------- > > Key: XMLBEANS-340 > URL: https://issues.apache.org/jira/browse/XMLBEANS-340 > Project: XMLBeans > Issue Type: Bug > Affects Versions: Version 2.3 > Environment: MacOSX, Java1.5 > Reporter: kombi > Assignee: Jacob Danner > Priority: Minor > Attachments: xmlbeans-340.xsd > > > I downloaded the DublinCore xml schemas and tried to create xmlbeans of them and got several "derivation-ok-restriction.5.1" error messages: > [xmlbean] schemas/dcterms.xsd:130:3: error: derivation-ok-restriction.5.1: A complex type with a simple content model can only restrict a complex type with simple or mixed content model. > The problem is here is the line in question: > <xs:complexType name="MESH"> > <xs:simpleContent> > <xs:restriction base="dc:SimpleLiteral"> > <xs:simpleType> > <xs:restriction base="xs:string"/> > </xs:simpleType> > <xs:attribute ref="xml:lang" use="prohibited"/> > </xs:restriction> > </xs:simpleContent> > </xs:complexType> > Here is the base for the restriction: > <xs:complexType name="SimpleLiteral"> > <xs:complexContent mixed="true"> > <xs:restriction base="xs:anyType"> > <xs:sequence> > <xs:any processContents="lax" minOccurs="0" maxOccurs="0"/> > </xs:sequence> > <xs:attribute ref="xml:lang" use="optional"/> > </xs:restriction> > </xs:complexContent> > </xs:complexType> > As you can see, the complex type with a simple content model is restricting a complex type with mixed content model. > This seems like an error. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jul 25 12:33:55 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51384 invoked from network); 25 Jul 2007 12:33:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jul 2007 12:33:54 -0000 Received: (qmail 89054 invoked by uid 500); 25 Jul 2007 12:33:54 -0000 Delivered-To: [email protected] Received: (qmail 89018 invoked by uid 500); 25 Jul 2007 12:33:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> Reply-To: [email protected] List-Id: <dev.xmlbeans.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 89007 invoked by uid 500); 25 Jul 2007 12:33:54 -0000 Delivered-To: [email protected] Received: (qmail 89004 invoked by uid 99); 25 Jul 2007 12:33:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2007 05:33:54 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2007 05:33:52 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 4D7997141EE for <[email protected]>; Wed, 25 Jul 2007 05:33:32 -0700 (PDT) Message-ID: <7309511.1185366812314.JavaMail.jira@brutus> Date: Wed, 25 Jul 2007 05:33:32 -0700 (PDT) From: "kombi (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (XMLBEANS-340) "derivation-ok-restriction.5.1" failure thrown incorrectly In-Reply-To: <22587627.1184978466270.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XMLBEANS-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515280 ] kombi commented on XMLBEANS-340: -------------------------------- Jacob, I actually noticed this issue while trying to generate code using Axis2, xfire, and cxf. I decided to download the xmlbeans directly and try to generate code when I realized it was xmlbeans specific. Just an fyi. > "derivation-ok-restriction.5.1" failure thrown incorrectly > ----------------------------------------------------------- > > Key: XMLBEANS-340 > URL: https://issues.apache.org/jira/browse/XMLBEANS-340 > Project: XMLBeans > Issue Type: Bug > Affects Versions: Version 2.3 > Environment: MacOSX, Java1.5 > Reporter: kombi > Assignee: Jacob Danner > Priority: Minor > Attachments: xmlbeans-340.xsd > > > I downloaded the DublinCore xml schemas and tried to create xmlbeans of them and got several "derivation-ok-restriction.5.1" error messages: > [xmlbean] schemas/dcterms.xsd:130:3: error: derivation-ok-restriction.5.1: A complex type with a simple content model can only restrict a complex type with simple or mixed content model. > The problem is here is the line in question: > <xs:complexType name="MESH"> > <xs:simpleContent> > <xs:restriction base="dc:SimpleLiteral"> > <xs:simpleType> > <xs:restriction base="xs:string"/> > </xs:simpleType> > <xs:attribute ref="xml:lang" use="prohibited"/> > </xs:restriction> > </xs:simpleContent> > </xs:complexType> > Here is the base for the restriction: > <xs:complexType name="SimpleLiteral"> > <xs:complexContent mixed="true"> > <xs:restriction base="xs:anyType"> > <xs:sequence> > <xs:any processContents="lax" minOccurs="0" maxOccurs="0"/> > </xs:sequence> > <xs:attribute ref="xml:lang" use="optional"/> > </xs:restriction> > </xs:complexContent> > </xs:complexType> > As you can see, the complex type with a simple content model is restricting a complex type with mixed content model. > This seems like an error. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 30 13:54:35 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2781 invoked from network); 30 Jul 2007 13:54:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Jul 2007 13:54:32 -0000 Received: (qmail 86111 invoked by uid 500); 30 Jul 2007 13:54:18 -0000 Delivered-To: [email protected] Received: (qmail 86012 invoked by uid 500); 30 Jul 2007 13:54:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> Reply-To: [email protected] List-Id: <dev.xmlbeans.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 85990 invoked by uid 500); 30 Jul 2007 13:54:17 -0000 Delivered-To: [email protected] Received: (qmail 85979 invoked by uid 99); 30 Jul 2007 13:54:17 -0000 Received: from Unknown (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2007 06:54:17 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2007 13:54:15 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 765F7714209 for <[email protected]>; Mon, 30 Jul 2007 06:53:55 -0700 (PDT) Message-ID: <7889502.1185803635482.JavaMail.jira@brutus> Date: Mon, 30 Jul 2007 06:53:55 -0700 (PDT) From: "kombi (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (XMLBEANS-340) "derivation-ok-restriction.5.1" failure thrown incorrectly In-Reply-To: <22587627.1184978466270.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XMLBEANS-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] kombi updated XMLBEANS-340: --------------------------- Priority: Major (was: Minor) > "derivation-ok-restriction.5.1" failure thrown incorrectly > ----------------------------------------------------------- > > Key: XMLBEANS-340 > URL: https://issues.apache.org/jira/browse/XMLBEANS-340 > Project: XMLBeans > Issue Type: Bug > Affects Versions: Version 2.3 > Environment: MacOSX, Java1.5 > Reporter: kombi > Assignee: Jacob Danner > Attachments: xmlbeans-340.xsd > > > I downloaded the DublinCore xml schemas and tried to create xmlbeans of them and got several "derivation-ok-restriction.5.1" error messages: > [xmlbean] schemas/dcterms.xsd:130:3: error: derivation-ok-restriction.5.1: A complex type with a simple content model can only restrict a complex type with simple or mixed content model. > The problem is here is the line in question: > <xs:complexType name="MESH"> > <xs:simpleContent> > <xs:restriction base="dc:SimpleLiteral"> > <xs:simpleType> > <xs:restriction base="xs:string"/> > </xs:simpleType> > <xs:attribute ref="xml:lang" use="prohibited"/> > </xs:restriction> > </xs:simpleContent> > </xs:complexType> > Here is the base for the restriction: > <xs:complexType name="SimpleLiteral"> > <xs:complexContent mixed="true"> > <xs:restriction base="xs:anyType"> > <xs:sequence> > <xs:any processContents="lax" minOccurs="0" maxOccurs="0"/> > </xs:sequence> > <xs:attribute ref="xml:lang" use="optional"/> > </xs:restriction> > </xs:complexContent> > </xs:complexType> > As you can see, the complex type with a simple content model is restricting a complex type with mixed content model. > This seems like an error. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jul 30 20:51:47 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92827 invoked from network); 30 Jul 2007 20:51:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Jul 2007 20:51:46 -0000 Received: (qmail 91508 invoked by uid 500); 30 Jul 2007 20:51:45 -0000 Delivered-To: [email protected] Received: (qmail 91485 invoked by uid 500); 30 Jul 2007 20:51:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> Reply-To: [email protected] List-Id: <dev.xmlbeans.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 91474 invoked by uid 99); 30 Jul 2007 20:51:45 -0000 Received: from Unknown (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2007 13:51:45 -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: local policy includes SPF [email protected]) Received: from [161.129.204.104] (HELO exprod7og61.obsmtp.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 30 Jul 2007 20:51:34 +0000 Received: from source ([161.129.204.104]) by exprod7ob61.obsmtp.com ([161.129.204.104]) with SMTP; Mon, 30 Jul 2007 13:50:20 PDT X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7D2EB.547FE5DE" Subject: Getting deprecatrion warnings when compiling generated xmlbean classes. Date: Mon, 30 Jul 2007 15:50:58 -0500 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Getting deprecatrion warnings when compiling generated xmlbean classes. Thread-index: AcfS61TNPBai157lRButrFC0qmcsbA== From: "Kurt Roy" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C7D2EB.547FE5DE Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-NAIMIME-Disclaimer: 1 X-NAIMIME-Modified: 1 Hello, =20 When compiling generated XmlBeans classes, we always get deprecation warnings such as the following: =20 [javacwithoverlap] C:\prosrm\build\tmp\src\com\prosrm\ui\web\datainterface\xmlbeans\impl\Dr illdownXmlBeanImpl.java:146: warning: [deprecation] set(java.lang.String) in org.apache.xmlbeans.SimpleValue has been deprecated [javacwithoverlap] public static class DimLevelImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.prosrm.ui.web.datainterface =2Exmlbeans.DrilldownXmlBean.DimLevel [javacwithoverlap] ^ [javacwithoverlap] C:\prosrm\build\tmp\src\com\prosrm\ui\web\datainterface\xmlbeans\impl\Dr illdownXmlBeanImpl.java:146: warning: [deprecation] objectValue() in org.apache.xmlbeans.SimpleValue has been deprecated [javacwithoverlap] public static class DimLevelImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.prosrm.ui.web.datainterface =2Exmlbeans.DrilldownXmlBean.DimLevel [javacwithoverlap] ^ =20 =20 It seems that most if not all deprecation warnings are generated from internal xmlbeans class org.apache.xmlbeans.SimpleValue.=20 =20 We tried with XmlBeans 2.2.0 and setting source generation to java 1.5 (defaults to 1.4). We also tried XmlBeans 2.3.0. =20 Is there any way (besides turning off deprecation warnings on javac) to make these go away?=20 =20 Here is the xsd fragment: =20 <xsd:complexType name=3D"parameters" mixed=3D"false"> <xsd:annotation> <xsd:documentation>Data Communication parameters.</xsd:documentation> </xsd:annotation> <xsd:sequence> . . . <xsd:element name=3D"drilldown" type=3D"comm:drilldown" minOccurs=3D= "0" maxOccurs=3D"1"/> =20 =2E . . =20 <xsd:complexType name=3D"drilldown" mixed=3D"false"> <xsd:annotation> <xsd:documentation>Data Communication drill down parameters.</xsd:documentation> </xsd:annotation> <xsd:sequence> <xsd:element name=3D"dimLevel" minOccurs=3D"1" maxOccurs=3D"unbound= ed"> <xsd:complexType> <xsd:attribute name=3D"column" form=3D"unqualified" type=3D"xsd:string" use=3D"required"/> <xsd:attribute name=3D"value" form=3D"unqualified" type=3D"xsd:string" use=3D"required"/> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> =20 Thanks, Kurt Roy | PROS | Software Architect, Software Development phone: (314)746-8455 | email: [email protected]=20 Save the Date for the 14th Annual PROS Summit * April 20-23, 2008 at the Hilton Americas Hotel in Houston, Texas * www.prospricing.com <http://www.prospricing.com/>=20 =20 The information contained in this email may be confidential and/or legall= y privileged. It has been sent for the sole use of the intended recipient= (s). If the reader of this message is not an intended recipient, you are = hereby notified that any unauthorized review, use, disclosure, disseminat= ion, distribution, or copying of this communication, or any of its conten= ts, is strictly prohibited. If you have received this communication in er= ror, please contact the sender by reply email and destroy all copies of t= he original message. Thank you=0A=0A ------_=_NextPart_001_01C7D2EB.547FE5DE Content-Type: text/HTML; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-NAIMIME-Disclaimer: 1 X-NAIMIME-Modified: 1 <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-mi= crosoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:wo= rd" xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" xmlns=3D"htt= p://www.w3.org/TR/REC-html40" xmlns:ns0=3D"urn:schemas-microsoft-com:office:smarttags"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii"= > <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <o:SmartTagType namespaceuri=3D"urn:schemas-microsoft-com:office:smarttag= s" name=3D"State"/> <o:SmartTagType namespaceuri=3D"urn:schemas-microsoft-com:office:smarttag= s" name=3D"place"/> <o:SmartTagType namespaceuri=3D"urn:schemas-microsoft-com:office:smarttag= s" name=3D"City"/> <!--[if !mso]> <style> st1\:*{behavior:url(#default#ieooui) } </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face =09{font-family:Verdana; =09panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal =09{margin:0in; =09margin-bottom:.0001pt; =09font-size:12.0pt; =09font-family:"Times New Roman";} a:link, span.MsoHyperlink =09{color:blue; =09text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed =09{color:purple; =09text-decoration:underline;} span.EmailStyle17 =09{mso-style-type:personal-compose; =09font-family:Arial; =09color:windowtext;} @page Section1 =09{size:8.5in 11.0in; =09margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 =09{page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>Hello,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>When compiling generated XmlBeans classes, we always g= et deprecation warnings such as the following:<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>[javacwithoverlap] C:\prosrm\build\tmp\src\com\prosrm\ui\web\datainterface\xmlbeans\impl\Dri= lldownXmlBeanImpl.java:146: warning: [deprecation] set(java.lang.String) in org.apache.xmlbeans.Simpl= eValue has been deprecated<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>[javacwithoverlap]&nbsp;&nbsp;&nbsp;&nbsp; public stat= ic class DimLevelImpl extends org.apache.xmlbeans.impl.values.XmlComplexCont= entImpl implements com.prosrm.ui.web.datainterface<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>.xmlbeans.DrilldownXmlBean.DimLevel<o:p></o:p></span><= /font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>[javacwithoverlap]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>[javacwithoverlap] C:\prosrm\build\tmp\src\com\prosrm\= ui\web\datainterface\xmlbeans\impl\DrilldownXmlBeanImpl.java:146: warning: [deprecation] objectValue() in<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>org.apache.xmlbeans.SimpleValue has been deprecated<o:= p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>[javacwithoverlap]&nbsp;&nbsp;&nbsp;&nbsp; public stat= ic class DimLevelImpl extends org.apache.xmlbeans.impl.values.XmlComplexCont= entImpl implements com.prosrm.ui.web.datainterface<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>.xmlbeans.DrilldownXmlBean.DimLevel<o:p></o:p></span><= /font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>[javacwithoverlap]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>It seems that most if not all deprecation warnings are generated from internal xmlbeans class org.apache.xmlbeans.SimpleValue. <= o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>We tried with XmlBeans 2.2.0 and setting source genera= tion to java 1.5 (defaults to 1.4). We also tried XmlBeans 2.3.0.<o:p></o:p></spa= n></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>Is there any way (besides turning off deprecation warn= ings on javac) to make these go away? <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>Here is the xsd fragment:<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>&nbsp; &lt;xsd:complexType name=3D&quot;parameters&quo= t; mixed=3D&quot;false&quot;&gt;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp; &lt;xsd:annotation&gt;<o:p></o:p></= span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xsd:documentation&g= t;Data Communication parameters.&lt;/xsd:documentation&gt;<o:p></o:p></span></fo= nt></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>&nbsp; &nbsp;&nbsp;&lt;/xsd:annotation&gt;<o:p></o:p><= /span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp; &lt;xsd:sequence&gt;<o:p></o:p></sp= an></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; . . .<o:p></o:p></span>= </font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xsd:element name=3D&quot;drilldown&quot; type=3D&quot;comm:drilldown&quot; minOccurs=3D= &quot;0&quot; maxOccurs=3D&quot;1&quot;/&gt;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>. . .<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>&nbsp; &lt;xsd:complexType name=3D&quot;drilldown&quot= ; mixed=3D&quot;false&quot;&gt;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp; &lt;xsd:annotation&gt;<o:p></o:p></= span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xsd:documentation&g= t;Data Communication drill down parameters.&lt;/xsd:documentation&gt;<o:p></o:p>= </span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp; &lt;/xsd:annotation&gt;<o:p></o:p><= /span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp; &lt;xsd:sequence&gt;<o:p></o:p></sp= an></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xsd:element name=3D&quot;dimLevel&quot; minOccurs=3D&quot;1&quot; maxOccurs=3D&quot;unbounded&quot;&gt;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xsd:complexType&gt;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xsd:attribute name=3D&quot;column&quot; form=3D&quot;unqualified&quot= ; type=3D&quot;xsd:string&quot; use=3D&quot;required&quot;/&gt;<o:p></o:p><= /span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xsd:attribute name=3D&quot;value&quot; form=3D&quot;unqualified&quot; type=3D&quot;xsd:string&quot; use=3D&quot;required&quot;/&gt;<o:p></o:p><= /span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xsd:complexType&gt;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xsd:element&gt;<o:= p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp; &lt;/xsd:sequence&gt;<o:p></o:p></s= pan></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>&nbsp; &lt;/xsd:complexType&gt;<o:p></o:p></span></fon= t></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>Thanks,<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a= lt:auto'><b><font size=3D1 color=3D"#2020a0" face=3DVerdana><span style=3D'font-size:7.5pt;= font-family: Verdana;color:#2020A0;font-weight:bold'>Kurt Roy</span></font></b><font s= ize=3D1 color=3D"#2020a0" face=3DVerdana><span style=3D'font-size:7.5pt;font-fami= ly:Verdana; color:#2020A0'>&nbsp;|&nbsp;PROS&nbsp;| Software Architect, Software Development</span></font><font color=3D"#1f497d"><span style=3D'color:#1F= 497D'><br> </span></font><b><font size=3D1 color=3D"#2020a0" face=3DVerdana><span style=3D'font-size:7.5pt;font-family:Verdana;color:#2020A0;font-weight:bo= ld'>phone:</span></font></b><font size=3D1 color=3D"#2020a0" face=3DVerdana><span style=3D'font-size:7.5pt;= font-family: Verdana;color:#2020A0'> +1&nbsp;(314)746-8455 | <b><span style=3D'font-wei= ght: bold'>email:</span></b>&nbsp;<a href=3D"mailto:[email protected]" title=3D"mailto:[email protected]">[email protected]</a> <o:p></o:p= ></span></font></p> <p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a= lt:auto'><font size=3D1 color=3Dnavy face=3DVerdana><span style=3D'font-size:7.5pt;font-= family:Verdana; color:navy'>Save the Date for the 14<sup>th</sup> Annual PROS </span></fo= nt><font size=3D1 face=3DVerdana><span style=3D'font-size:7.5pt;font-family:Verdan= a'><ns0:City w:insAuthor=3D"kroy" w:insDate=3D"2007-07-30T15:27:00Z" w:endInsAuthor=3D= "kroy" w:endInsDate=3D"2007-07-30T15:27:00Z"><st1:City w:st=3D"on"><font color=3D= navy><span style=3D'color:navy'>Summit</span></font></st1:City></ns0:City><font color=3Dnavy><span style=3D'color:navy'> </span></font><font color=3D"#20= 20a0"><span style=3D'color:#2020A0'>&#8226;&nbsp;</span></font><font color=3Dnavy><sp= an style=3D'color:navy'>April 20-23, 2008 at the Hilton Americas Hotel in <U= 1:PLACE u2:st=3D"on"></span></font><ns0:place w:insAuthor=3D"kroy" w:insDate=3D"2007-07-30T15:27:00Z" w:endInsAuthor=3D= "kroy" w:endInsDate=3D"2007-07-30T15:27:00Z"><u3:CITY u2:st=3D"on"><ST1:PLACE u= 2:st=3D"on"><ns0:City w:insAuthor=3D"kroy" w:insDate=3D"2007-07-30T15:27:00Z" w:endInsAuthor=3D= "kroy" w:endInsDate=3D"2007-07-30T15:27:00Z"><st1:place w:st=3D"on"><st1:City = w:st=3D"on"><font color=3Dnavy><span style=3D'color:navy'>Houston</ST1:PLACE></u3:CITY>= </U1:PLACE></span></font></st1:City></ns0:City></st1:place><font color=3Dnavy><span style=3D'color:navy'>, <U2:STATE u4:st=3D"on"></span>= </font><ns0:State w:insAuthor=3D"kroy" w:insDate=3D"2007-07-30T15:27:00Z" w:endInsAuthor=3D= "kroy" w:endInsDate=3D"2007-07-30T15:27:00Z"><st1:State w:st=3D"on"><font colo= r=3Dnavy><span style=3D'color:navy'>Texas</U2:STATE></span></font></st1:State></ns0:S= tate></ns0:place><font color=3Dnavy><span style=3D'color:navy'>&nbsp;</span></font><font color=3D= "#2020a0"><span style=3D'color:#2020A0'>&#8226;</span></font><font color=3Dnavy><span style=3D'color:navy'> <a href=3D"http://www.prospricing.com/" title=3D"http://www.prospricing.com/"><font color=3D"#003366" title=3D"http://www.prospricing.com/"><span title=3D"http://www.prosprici= ng.com/"><span style=3D'color:#003366'>www.prospricing.com</span></span></font></a></spa= n></font></span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D= 'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> </div> <DIV><P><HR> The information contained in this email may be confidential and/or legall= y privileged. It has been sent for the sole use of the intended recipient= (s). If the reader of this message is not an intended recipient, you are = hereby notified that any unauthorized review, use, disclosure, disseminat= ion, distribution, or copying of this communication, or any of its conten= ts, is strictly prohibited. If you have received this communication in er= ror, please contact the sender by reply email and destroy all copies of t= he original message. Thank you<BR>=0A<BR>=0A </P></DIV> </body> </html> ------_=_NextPart_001_01C7D2EB.547FE5DE-- From [email protected] Mon Jul 30 21:46:04 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9576 invoked from network); 30 Jul 2007 21:46:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Jul 2007 21:46:03 -0000 Received: (qmail 26478 invoked by uid 500); 30 Jul 2007 21:46:03 -0000 Delivered-To: [email protected] Received: (qmail 26460 invoked by uid 500); 30 Jul 2007 21:46:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> Reply-To: [email protected] List-Id: <dev.xmlbeans.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 26449 invoked by uid 99); 30 Jul 2007 21:46:02 -0000 Received: from Unknown (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2007 14:46:02 -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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO repmmg02.bea.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2007 21:45:53 +0000 Received: from repmmr02.bea.com (repmmr02.bea.com [161.129.204.104]) by repmmg02.bea.com (Switch-3.2.7/Switch-3.2.7) with ESMTP id l6ULjW7L014935 for <[email protected]>; Mon, 30 Jul 2007 14:45:32 -0700 Received: from repbex02.amer.bea.com (repbex02.bea.com [161.129.204.104]) by repmmr02.bea.com (Switch-3.2.7/Switch-3.2.7) with ESMTP id l6ULisRe003260 for <[email protected]>; Mon, 30 Jul 2007 14:44:55 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7D2F2.F3043DDA" Subject: RE: Getting deprecatrion warnings when compiling generated xmlbean classes. Date: Mon, 30 Jul 2007 14:45:25 -0700 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Getting deprecatrion warnings when compiling generated xmlbean classes. Thread-Index: AcfS61TNPBai157lRButrFC0qmcsbAAB0+BA References: <[email protected]> From: "Radu Preotiuc-Pietro" <[email protected]> To: <[email protected]> x-BEA-PMX-Instructions: AV x-BEA-MM: Internal-To-External X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C7D2F2.F3043DDA Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit It is because in SimpleValue.java we have replaced all the methods of the form "intValue()" with "getValueAsInt()", but we have not removed the old values so that code that is using those doesn't need to change. I am thinking maybe someday we will remove those, but in the meantime I reccomend turning the deprecation warnings off... Radu ________________________________ From: Kurt Roy [mailto:[email protected]] Sent: Monday, July 30, 2007 1:51 PM To: [email protected] Subject: Getting deprecatrion warnings when compiling generated xmlbean classes. Hello, When compiling generated XmlBeans classes, we always get deprecation warnings such as the following: [javacwithoverlap] C:\prosrm\build\tmp\src\com\prosrm\ui\web\datainterface\xmlbeans\impl\Dr illdownXmlBeanImpl.java:146: warning: [deprecation] set(java.lang.String) in org.apache.xmlbeans.SimpleValue has been deprecated [javacwithoverlap] public static class DimLevelImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.prosrm.ui.web.datainterface .xmlbeans.DrilldownXmlBean.DimLevel [javacwithoverlap] ^ [javacwithoverlap] C:\prosrm\build\tmp\src\com\prosrm\ui\web\datainterface\xmlbeans\impl\Dr illdownXmlBeanImpl.java:146: warning: [deprecation] objectValue() in org.apache.xmlbeans.SimpleValue has been deprecated [javacwithoverlap] public static class DimLevelImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.prosrm.ui.web.datainterface .xmlbeans.DrilldownXmlBean.DimLevel [javacwithoverlap] ^ It seems that most if not all deprecation warnings are generated from internal xmlbeans class org.apache.xmlbeans.SimpleValue. We tried with XmlBeans 2.2.0 and setting source generation to java 1.5 (defaults to 1.4). We also tried XmlBeans 2.3.0. Is there any way (besides turning off deprecation warnings on javac) to make these go away? Here is the xsd fragment: <xsd:complexType name="parameters" mixed="false"> <xsd:annotation> <xsd:documentation>Data Communication parameters.</xsd:documentation> </xsd:annotation> <xsd:sequence> . . . <xsd:element name="drilldown" type="comm:drilldown" minOccurs="0" maxOccurs="1"/> . . . <xsd:complexType name="drilldown" mixed="false"> <xsd:annotation> <xsd:documentation>Data Communication drill down parameters.</xsd:documentation> </xsd:annotation> <xsd:sequence> <xsd:element name="dimLevel" minOccurs="1" maxOccurs="unbounded"> <xsd:complexType> <xsd:attribute name="column" form="unqualified" type="xsd:string" use="required"/> <xsd:attribute name="value" form="unqualified" type="xsd:string" use="required"/> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> Thanks, Kurt Roy | PROS | Software Architect, Software Development phone: (314)746-8455 | email: [email protected] Save the Date for the 14th Annual PROS Summit * April 20-23, 2008 at the Hilton Americas Hotel in Houston, Texas * www.prospricing.com <http://www.prospricing.com/> ________________________________ The information contained in this email may be confidential and/or legally privileged. It has been sent for the sole use of the intended recipient(s). If the reader of this message is not an intended recipient, you are hereby notified that any unauthorized review, use, disclosure, dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please contact the sender by reply email and destroy all copies of the original message. Thank you Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. ------_=_NextPart_001_01C7D2F2.F3043DDA Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = "urn:schemas-microsoft-com:vml" xmlns:o = "urn:schemas-microsoft-com:office:office" xmlns:w = "urn:schemas-microsoft-com:office:word" xmlns:st1 = "urn:schemas-microsoft-com:office:smarttags" xmlns:ns0 = "urn:schemas-microsoft-com:office:smarttags"><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.2900.3132" name=GENERATOR><o:SmartTagType name="State" namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType name="place" namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType name="City" namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]> <STYLE>st1\:* { BEHAVIOR: url(#default#ieooui) } </STYLE> <![endif]--> <STYLE>@font-face { font-family: Verdana; } @page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; } P.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman" } LI.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman" } DIV.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman" } A:link { COLOR: blue; TEXT-DECORATION: underline } SPAN.MsoHyperlink { COLOR: blue; TEXT-DECORATION: underline } A:visited { COLOR: purple; TEXT-DECORATION: underline } SPAN.MsoHyperlinkFollowed { COLOR: purple; TEXT-DECORATION: underline } SPAN.EmailStyle17 { COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose } DIV.Section1 { page: Section1 } </STYLE> </HEAD> <BODY lang=EN-US vLink=purple link=blue> <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN class=401184321-30072007>It is because in SimpleValue.java we have replaced all the methods of the form "intValue()" with "getValueAsInt()", but we have not removed the old values so that code that is using those doesn't need to change. I am thinking maybe someday we will remove those, but in the meantime I reccomend turning the deprecation warnings off...</SPAN></FONT></DIV> <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN class=401184321-30072007></SPAN></FONT>&nbsp;</DIV> <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN class=401184321-30072007>Radu</SPAN></FONT></DIV><BR> <BLOCKQUOTE dir=ltr style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px"> <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left> <HR tabIndex=-1> <FONT face=Tahoma size=2><B>From:</B> Kurt Roy [mailto:[email protected]] <BR><B>Sent:</B> Monday, July 30, 2007 1:51 PM<BR><B>To:</B> [email protected]<BR><B>Subject:</B> Getting deprecatrion warnings when compiling generated xmlbean classes.<BR></FONT><BR></DIV> <DIV></DIV> <DIV class=Section1> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hello,<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">When compiling generated XmlBeans classes, we always get deprecation warnings such as the following:<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">[javacwithoverlap] C:\prosrm\build\tmp\src\com\prosrm\ui\web\datainterface\xmlbeans\impl\DrilldownXmlBeanImpl.java:146: warning: [deprecation] set(java.lang.String) in org.apache.xmlbeans.SimpleValue has been deprecated<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">[javacwithoverlap]&nbsp;&nbsp;&nbsp;&nbsp; public static class DimLevelImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.prosrm.ui.web.datainterface<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">.xmlbeans.DrilldownXmlBean.DimLevel<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">[javacwithoverlap]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">[javacwithoverlap] C:\prosrm\build\tmp\src\com\prosrm\ui\web\datainterface\xmlbeans\impl\DrilldownXmlBeanImpl.java:146: warning: [deprecation] objectValue() in<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">org.apache.xmlbeans.SimpleValue has been deprecated<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">[javacwithoverlap]&nbsp;&nbsp;&nbsp;&nbsp; public static class DimLevelImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.prosrm.ui.web.datainterface<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">.xmlbeans.DrilldownXmlBean.DimLevel<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">[javacwithoverlap]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">It seems that most if not all deprecation warnings are generated from internal xmlbeans class org.apache.xmlbeans.SimpleValue. <o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">We tried with XmlBeans 2.2.0 and setting source generation to java 1.5 (defaults to 1.4). We also tried XmlBeans 2.3.0.<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Is there any way (besides turning off deprecation warnings on javac) to make these go away? <o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Here is the xsd fragment:<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp; &lt;xsd:complexType name="parameters" mixed="false"&gt;<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp; &lt;xsd:annotation&gt;<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xsd:documentation&gt;Data Communication parameters.&lt;/xsd:documentation&gt;<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp; &nbsp;&nbsp;&lt;/xsd:annotation&gt;<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp; &lt;xsd:sequence&gt;<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; . . .<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xsd:element name="drilldown" type="comm:drilldown" minOccurs="0" maxOccurs="1"/&gt;<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">. . .<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp; &lt;xsd:complexType name="drilldown" mixed="false"&gt;<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp; &lt;xsd:annotation&gt;<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xsd:documentation&gt;Data Communication drill down parameters.&lt;/xsd:documentation&gt;<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp; &lt;/xsd:annotation&gt;<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp; &lt;xsd:sequence&gt;<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xsd:element name="dimLevel" minOccurs="1" maxOccurs="unbounded"&gt;<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xsd:complexType&gt;<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xsd:attribute name="column" form="unqualified" type="xsd:string" use="required"/&gt;<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xsd:attribute name="value" form="unqualified" type="xsd:string" use="required"/&gt;<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xsd:complexType&gt;<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xsd:element&gt;<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp; &lt;/xsd:sequence&gt;<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp; &lt;/xsd:complexType&gt;<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks,<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><B><FONT face=Verdana color=#2020a0 size=1><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 7.5pt; COLOR: #2020a0; FONT-FAMILY: Verdana">Kurt Roy</SPAN></FONT></B><FONT face=Verdana color=#2020a0 size=1><SPAN style="FONT-SIZE: 7.5pt; COLOR: #2020a0; FONT-FAMILY: Verdana">&nbsp;|&nbsp;PROS&nbsp;| Software Architect, Software Development</SPAN></FONT><FONT color=#1f497d><SPAN style="COLOR: #1f497d"><BR></SPAN></FONT><B><FONT face=Verdana color=#2020a0 size=1><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 7.5pt; COLOR: #2020a0; FONT-FAMILY: Verdana">phone:</SPAN></FONT></B><FONT face=Verdana color=#2020a0 size=1><SPAN style="FONT-SIZE: 7.5pt; COLOR: #2020a0; FONT-FAMILY: Verdana"> +1&nbsp;(314)746-8455 | <B><SPAN style="FONT-WEIGHT: bold">email:</SPAN></B>&nbsp;<A title=mailto:[email protected] href="mailto:[email protected]">[email protected]</A> <o:p></o:p></SPAN></FONT></P> <P class=MsoNormal style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><FONT face=Verdana color=navy size=1><SPAN style="FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: Verdana">Save the Date for the 14<SUP>th</SUP> Annual PROS </SPAN></FONT><FONT face=Verdana size=1><SPAN style="FONT-SIZE: 7.5pt; FONT-FAMILY: Verdana"><ns0:City w:endInsDate="2007-07-30T15:27:00Z" w:endInsAuthor="kroy" w:insDate="2007-07-30T15:27:00Z" w:insAuthor="kroy"><st1:City w:st="on"><FONT color=navy><SPAN style="COLOR: navy">Summit</SPAN></FONT></st1:City></ns0:City><FONT color=navy><SPAN style="COLOR: navy"> </SPAN></FONT><FONT color=#2020a0><SPAN style="COLOR: #2020a0">&#8226;&nbsp;</SPAN></FONT><FONT color=navy><SPAN style="COLOR: navy">April 20-23, 2008 at the Hilton Americas Hotel in <U1:PLACE u2:st="on"></SPAN></FONT><ns0:place w:endInsDate="2007-07-30T15:27:00Z" w:endInsAuthor="kroy" w:insDate="2007-07-30T15:27:00Z" w:insAuthor="kroy"><U3:CITY u2:st="on"><ST1:PLACE u2:st="on"><ns0:City w:endInsDate="2007-07-30T15:27:00Z" w:endInsAuthor="kroy" w:insDate="2007-07-30T15:27:00Z" w:insAuthor="kroy"><st1:place w:st="on"><st1:City w:st="on"><FONT color=navy><SPAN style="COLOR: navy">Houston</st1:place></U3:CITY></U1:PLACE></SPAN></FONT></st1:City></ns0:City></ST1:PLACE><FONT color=navy><SPAN style="COLOR: navy">, <U2:STATE u4:st="on"></SPAN></FONT><ns0:State w:endInsDate="2007-07-30T15:27:00Z" w:endInsAuthor="kroy" w:insDate="2007-07-30T15:27:00Z" w:insAuthor="kroy"><st1:State w:st="on"><FONT color=navy><SPAN style="COLOR: navy">Texas</U2:STATE></SPAN></FONT></st1:State></ns0:State></ns0:place><FONT color=navy><SPAN style="COLOR: navy">&nbsp;</SPAN></FONT><FONT color=#2020a0><SPAN style="COLOR: #2020a0">&#8226;</SPAN></FONT><FONT color=navy><SPAN style="COLOR: navy"> <A title=http://www.prospricing.com/ href="http://www.prospricing.com/"><FONT title=http://www.prospricing.com/ color=#003366><SPAN title=http://www.prospricing.com/><SPAN style="COLOR: #003366">www.prospricing.com</SPAN></SPAN></FONT></A></SPAN></FONT></SPAN></FONT><o:p></o:p></P> <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"><o:p>&nbsp;</o:p></SPAN></FONT></P></DIV> <DIV> <P> <HR> The information contained in this email may be confidential and/or legally privileged. It has been sent for the sole use of the intended recipient(s). If the reader of this message is not an intended recipient, you are hereby notified that any unauthorized review, use, disclosure, dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please contact the sender by reply email and destroy all copies of the original message. Thank you<BR><BR> <P></P></DIV></BLOCKQUOTE></BODY></HTML> <br> Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. ------_=_NextPart_001_01C7D2F2.F3043DDA-- From [email protected] Tue Jul 31 19:59:52 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14380 invoked from network); 31 Jul 2007 19:59:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jul 2007 19:59:51 -0000 Received: (qmail 4395 invoked by uid 500); 31 Jul 2007 19:59:50 -0000 Delivered-To: [email protected] Received: (qmail 4371 invoked by uid 500); 31 Jul 2007 19:59:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> Reply-To: [email protected] List-Id: <dev.xmlbeans.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 4360 invoked by uid 99); 31 Jul 2007 19:59:50 -0000 Received: from Unknown (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2007 12:59:50 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO repmmg02.bea.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2007 19:59:44 +0000 Received: from repmmr02.bea.com (repmmr02.bea.com [161.129.204.104]) by repmmg02.bea.com (Switch-3.2.7/Switch-3.2.7) with ESMTP id l6VJxM5t003209 for <[email protected]>; Tue, 31 Jul 2007 12:59:22 -0700 Received: from repbex02.amer.bea.com (repbex02.bea.com [161.129.204.104]) by repmmr02.bea.com (Switch-3.2.7/Switch-3.2.7) with ESMTP id l6VJwjj6023361 for <[email protected]>; Tue, 31 Jul 2007 12:58:45 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Proposal - Jacob Danner as Apache XMLBeans Committer Date: Tue, 31 Jul 2007 12:59:19 -0700 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Proposal - Jacob Danner as Apache XMLBeans Committer Thread-Index: AcfPt0l8qXkKOIzSQZCBWNbMADYvRgD9cyOw From: "Cezar Andrei" <[email protected]> To: <[email protected]> x-BEA-PMX-Instructions: AV x-BEA-MM: Internal-To-External X-Virus-Checked: Checked by ClamAV on apache.org Hello all, I'd like to propose Jacob Danner to become a committer for the Apache XMLBeans project. Jacob has been a contributor almost from the beginning of the project providing patches and tests. He has also helped to evangelize the XMLBeans project by speaking on it at conferences like JavaOne and BEAWorld. He is active in the community answering many questions and was especially helpful with the last release XMLBeans v2.3.0 filtering JIRA bugs and evaluating patches. If there are no objections I'll follow with a vote. Cezar Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jul 31 20:21:56 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24292 invoked from network); 31 Jul 2007 20:21:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jul 2007 20:21:48 -0000 Received: (qmail 52763 invoked by uid 500); 31 Jul 2007 20:21:45 -0000 Delivered-To: [email protected] Received: (qmail 52724 invoked by uid 500); 31 Jul 2007 20:21:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> Reply-To: [email protected] List-Id: <dev.xmlbeans.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 52685 invoked by uid 99); 31 Jul 2007 20:21:44 -0000 Received: from Unknown (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2007 13:21:44 -0700 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2007 20:21:37 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1IFyDU-0006MU-TS for [email protected]; Tue, 31 Jul 2007 13:21:16 -0700 Message-ID: <[email protected]> Date: Tue, 31 Jul 2007 13:21:16 -0700 (PDT) From: ojasrege <[email protected]> To: [email protected] Subject: adding data members and methods to generated classes that will not produce XML MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org I want to use XMLBeans XMLObject for a project, but for the classes generated by XMLBeans, I want to add some additional data members and methods to handle program state that I do not want to have written out to an XML document. I have been using .NET's system.xml.XmlParser class, and it provides this sort of capability. In looking at the code produced by XMLObject, it looks possible. Question: Does anyone have any thoughts on the best way to accomplish what I want to do? Is there a good design pattern to follow? Question: Are there any gotchas in doing this? The only immediate one I can think of is that everytime the .java files are regenerated by XMLObject, I will have to reinsert my data members and methods. -- View this message in context: http://www.nabble.com/adding-data-members-and-methods-to-generated-classes-that-will-not-produce-XML-tf4196225.html#a11934308 Sent from the Xml Beans - Dev mailing list [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jul 31 20:37:00 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30227 invoked from network); 31 Jul 2007 20:36:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jul 2007 20:36:06 -0000 Received: (qmail 78568 invoked by uid 500); 31 Jul 2007 20:36:06 -0000 Delivered-To: [email protected] Received: (qmail 78553 invoked by uid 500); 31 Jul 2007 20:36:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> Reply-To: [email protected] List-Id: <dev.xmlbeans.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 78542 invoked by uid 99); 31 Jul 2007 20:36:06 -0000 Received: from Unknown (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2007 13:36:06 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO an-out-0708.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2007 20:35:59 +0000 Received: by an-out-0708.google.com with SMTP id d23so402986and for <[email protected]>; Tue, 31 Jul 2007 13:35:39 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NV9lWhBUp8/Bq5dAdxyFiHjlgD+6KbUSEplh6BuCfGvj+ZYtzMl1h9ITnwPocgjTDev73Afl1NOX+NCS1iOwmRNTWIcmaAwSF6bWEov1Kvcw+kgFrbChRJIzzNKm43zGFn99kv6Rgp3aTgtljv60VmYTvmZFaMP13ckPpf61EG0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EHayoThsDHGJ059yPgcHuAJYSjW0kwCJQQYm4knfeMLnTeBsblOnXUBljqLiiT77he/NgipIJGwlwOziqNgKEdnFBL12kgou99weLyCMGknU55B+PQGeEOuIhcnG4MAVY4pCcn/MIY1O5PFwKsu+PR70tC9lSYAJgdMn6hMhVBQ= Received: by 161.129.204.104 with SMTP id 19mr5556617ani.1185914138300; Tue, 31 Jul 2007 13:35:38 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 31 Jul 2007 13:35:37 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 31 Jul 2007 13:35:37 -0700 From: "Jacob Danner" <[email protected]> To: [email protected] Subject: Re: adding data members and methods to generated classes that will not produce XML In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org I think what you are asking for is possible via the extension mechanism in XMLBeans. Its an advanced feature, but isn't too difficult to use. I think the first place you should go is http://wiki.apache.org/xmlbeans/ExtensionInterfacesFeature then grab a snapshot of the svn srcs and take a peek at the test code for this feature. If you have any further questions on how the feature works, don't hesitate to post to the list. You may however want to post to [email protected] as thats a more appropriate forum for these kinds of questions. Best of luck, -Jacob Danner On 7/31/07, ojasrege <[email protected]> wrote: > > I want to use XMLBeans XMLObject for a project, but for the classes generated > by XMLBeans, I want to add some additional data members and methods to > handle program state that I do not want to have written out to an XML > document. > > I have been using .NET's system.xml.XmlParser class, and it provides this > sort of capability. > > In looking at the code produced by XMLObject, it looks possible. > > Question: Does anyone have any thoughts on the best way to accomplish what I > want to do? Is there a good design pattern to follow? > > Question: Are there any gotchas in doing this? The only immediate one I can > think of is that everytime the .java files are regenerated by XMLObject, I > will have to reinsert my data members and methods. > > -- > View this message in context: http://www.nabble.com/adding-data-members-and-methods-to-generated-classes-that-will-not-produce-XML-tf4196225.html#a11934308 > Sent from the Xml Beans - Dev mailing list [email protected]. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jul 31 20:59:58 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39143 invoked from network); 31 Jul 2007 20:59:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jul 2007 20:59:57 -0000 Received: (qmail 24748 invoked by uid 500); 31 Jul 2007 20:59:56 -0000 Delivered-To: [email protected] Received: (qmail 24715 invoked by uid 500); 31 Jul 2007 20:59:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> Reply-To: [email protected] List-Id: <dev.xmlbeans.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 24704 invoked by uid 99); 31 Jul 2007 20:59:56 -0000 Received: from Unknown (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2007 13:59:56 -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: local policy includes SPF [email protected]) Received: from [161.129.204.104] (HELO exprod7og57.obsmtp.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 31 Jul 2007 20:59:45 +0000 Received: from source ([161.129.204.104]) by exprod7ob57.obsmtp.com ([161.129.204.104]) with SMTP; Tue, 31 Jul 2007 13:59:13 PDT X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7D3B5.6F7F2AFF" Subject: RE: Getting deprecatrion warnings when compiling generated xmlbean classes. Date: Tue, 31 Jul 2007 15:57:41 -0500 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Getting deprecatrion warnings when compiling generated xmlbean classes. Thread-index: AcfS61TNPBai157lRButrFC0qmcsbAAB0+BAADBxxNA= References: <[email protected]> <[email protected]> From: "Kurt Roy" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C7D3B5.6F7F2AFF Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, =20 Please let me clarify -=20 =20 The deprecation warnings are coming from the generated XmlBeans classes when they are compiled - not from our application code that uses the generated classes. =20 We have been using XmlBeans for about 6 mos now. People are hapy with it, and are really starting to use it in many of our applications. Unfortunately, because of this, we are generating more than 10,000 warnings nightly because of this. We always compile with the option to display warnings, and fix anything that generates them as part of our continuous integration program.=20 =20 Is there any way to stop this short of turning off deprecation warnings on the compile? Our Architecture team is vehemently opposed to this solution.=20 =20 In fact, we are open to the possibility of allocating resources to fix this problem in XmlBeans if it is indeed a problem. =20 Thanks for your time and support. Kurt Roy | PROS | Software Architect, Software Development phone: (314)746-8455 | email: [email protected]=20 Save the Date for the 14th Annual PROS Summit * April 20-23, 2008 at the Hilton Americas Hotel in Houston, Texas * www.prospricing.com <http://www.prospricing.com/>=20 ________________________________ From: Radu Preotiuc-Pietro [mailto:[email protected]]=20 Sent: Monday, July 30, 2007 4:45 PM To: [email protected] Subject: RE: Getting deprecatrion warnings when compiling generated xmlbean classes. =20 It is because in SimpleValue.java we have replaced all the methods of the form "intValue()" with "getValueAsInt()", but we have not removed the old values so that code that is using those doesn't need to change. I am thinking maybe someday we will remove those, but in the meantime I reccomend turning the deprecation warnings off... =20 Radu =20 =09 ________________________________ From: Kurt Roy [mailto:[email protected]]=20 Sent: Monday, July 30, 2007 1:51 PM To: [email protected] Subject: Getting deprecatrion warnings when compiling generated xmlbean classes. Hello, =20 When compiling generated XmlBeans classes, we always get deprecation warnings such as the following: =20 [javacwithoverlap] C:\prosrm\build\tmp\src\com\prosrm\ui\web\datainterface\xmlbeans\impl\Dr illdownXmlBeanImpl.java:146: warning: [deprecation] set(java.lang.String) in org.apache.xmlbeans.SimpleValue has been deprecated [javacwithoverlap] public static class DimLevelImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.prosrm.ui.web.datainterface .xmlbeans.DrilldownXmlBean.DimLevel [javacwithoverlap] ^ [javacwithoverlap] C:\prosrm\build\tmp\src\com\prosrm\ui\web\datainterface\xmlbeans\impl\Dr illdownXmlBeanImpl.java:146: warning: [deprecation] objectValue() in org.apache.xmlbeans.SimpleValue has been deprecated [javacwithoverlap] public static class DimLevelImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.prosrm.ui.web.datainterface .xmlbeans.DrilldownXmlBean.DimLevel [javacwithoverlap] ^ =20 =20 It seems that most if not all deprecation warnings are generated from internal xmlbeans class org.apache.xmlbeans.SimpleValue.=20 =20 We tried with XmlBeans 2.2.0 and setting source generation to java 1.5 (defaults to 1.4). We also tried XmlBeans 2.3.0. =20 Is there any way (besides turning off deprecation warnings on javac) to make these go away?=20 =20 Here is the xsd fragment: =20 <xsd:complexType name=3D"parameters" mixed=3D"false"> <xsd:annotation> <xsd:documentation>Data Communication parameters.</xsd:documentation> </xsd:annotation> <xsd:sequence> . . . <xsd:element name=3D"drilldown" type=3D"comm:drilldown" minOccurs=3D"0" maxOccurs=3D"1"/> =20 . . . =20 <xsd:complexType name=3D"drilldown" mixed=3D"false"> <xsd:annotation> <xsd:documentation>Data Communication drill down parameters.</xsd:documentation> </xsd:annotation> <xsd:sequence> <xsd:element name=3D"dimLevel" minOccurs=3D"1" maxOccurs=3D"unbounded"> <xsd:complexType> <xsd:attribute name=3D"column" form=3D"unqualified" type=3D"xsd:string" use=3D"required"/> <xsd:attribute name=3D"value" form=3D"unqualified" type=3D"xsd:string" use=3D"required"/> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> =20 Thanks, Kurt Roy | PROS | Software Architect, Software Development phone: (314)746-8455 | email: [email protected]=20 Save the Date for the 14th Annual PROS Summit * April 20-23, 2008 at the Hilton Americas Hotel in Houston, Texas * www.prospricing.com <http://www.prospricing.com/>=20 =20 =09 ________________________________ The information contained in this email may be confidential and/or legally privileged. It has been sent for the sole use of the intended recipient(s). If the reader of this message is not an intended recipient, you are hereby notified that any unauthorized review, use, disclosure, dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please contact the sender by reply email and destroy all copies of the original message. Thank you Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. ------_=_NextPart_001_01C7D3B5.6F7F2AFF Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--><o:SmartTagType namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" = name=3D"State"/> <o:SmartTagType = namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" name=3D"place"/> <o:SmartTagType = namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" name=3D"City"/> <!--[if !mso]> <style> st1\:*{behavior:url(#default#ieooui) } </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face {font-family:Verdana; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} p {mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; font-size:12.0pt; font-family:"Times New Roman";} span.EmailStyle17 {mso-style-type:personal; font-family:Arial; color:windowtext;} span.EmailStyle19 {mso-style-type:personal-reply; font-family:Arial; color:navy;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Hello,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Please let me clarify &#8211; = <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>The deprecation warnings are coming = from the generated XmlBeans classes when they are compiled &#8211; not from = our application code that uses the generated = classes.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>We have been using XmlBeans for = about 6 mos now. People are hapy with it, &nbsp;and are really starting to use = it in many of our applications. Unfortunately, because of this, we are generating more = than 10,000 warnings nightly because of this. We always compile with the option to = display warnings, and fix anything that generates them as part of our continuous integration program. <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Is there any way to stop this short = of turning off deprecation warnings on the compile? Our Architecture team = is vehemently opposed to this solution. <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>In fact, we are open to the = possibility of allocating resources to fix this problem in XmlBeans if it is indeed a = problem.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Thanks for your time and = support.<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><font size=3D1 color=3D"#2020a0" face=3DVerdana><span = style=3D'font-size:7.5pt;font-family: Verdana;color:#2020A0;font-weight:bold'>Kurt Roy</span></font></b><font = size=3D1 color=3D"#2020a0" face=3DVerdana><span = style=3D'font-size:7.5pt;font-family:Verdana; color:#2020A0'>&nbsp;|&nbsp;PROS&nbsp;| Software Architect, Software Development</span></font><font color=3D"#1f497d"><span = style=3D'color:#1F497D'><br> </span></font><b><font size=3D1 color=3D"#2020a0" face=3DVerdana><span style=3D'font-size:7.5pt;font-family:Verdana;color:#2020A0;font-weight:bo= ld'>phone:</span></font></b><font size=3D1 color=3D"#2020a0" face=3DVerdana><span = style=3D'font-size:7.5pt;font-family: Verdana;color:#2020A0'> +1&nbsp;(314)746-8455 | <b><span = style=3D'font-weight: bold'>email:</span></b>&nbsp;<a href=3D"mailto:[email protected]" title=3D"mailto:[email protected]">[email protected]</a> = <o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=3D1 color=3Dnavy face=3DVerdana><span = style=3D'font-size:7.5pt;font-family:Verdana; color:navy'>Save the Date for the 14<sup>th</sup> Annual PROS <st1:City = w:st=3D"on">Summit</st1:City> </span></font><font size=3D1 color=3D"#2020a0" face=3DVerdana><span = style=3D'font-size: 7.5pt;font-family:Verdana;color:#2020A0'>&#8226;&nbsp;</span></font><font= size=3D1 color=3Dnavy face=3DVerdana><span = style=3D'font-size:7.5pt;font-family:Verdana; color:navy'>April 20-23, 2008 at the Hilton Americas Hotel in <U1:PLACE = u2:st=3D"on"><st1:place w:st=3D"on"><st1:City w:st=3D"on"><U3:CITY u2:st=3D"on"><ST1:PLACE = u2:st=3D"on">Houston</ST1:PLACE></U3:CITY></U1:PLACE></st1:City>, <U2:STATE u4:st=3D"on"><st1:State = w:st=3D"on">Texas</U2:STATE></st1:State></st1:place>&nbsp;</span></font><= font size=3D1 color=3D"#2020a0" face=3DVerdana><span = style=3D'font-size:7.5pt;font-family: Verdana;color:#2020A0'>&#8226;</span></font><font size=3D1 color=3Dnavy face=3DVerdana><span = style=3D'font-size:7.5pt;font-family:Verdana;color:navy'> <a href=3D"http://www.prospricing.com/" = title=3D"http://www.prospricing.com/"><font color=3D"#003366" title=3D"http://www.prospricing.com/"><span title=3D"http://www.prospricing.com/"><span = style=3D'color:#003366'>www.prospricing.com</span></span></font></a></spa= n></font><o:p></o:p></p> <div> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font = size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'> <hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1> </span></font></div> <p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma;font-weight:bold'>From:</span></font></b><font = size=3D2 face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'> Radu Preotiuc-Pietro [mailto:[email protected]] <br> <b><span style=3D'font-weight:bold'>Sent:</span></b> Monday, July 30, = 2007 4:45 PM<br> <b><span style=3D'font-weight:bold'>To:</span></b> = [email protected]<br> <b><span style=3D'font-weight:bold'>Subject:</span></b> RE: Getting = deprecatrion warnings when compiling generated xmlbean = classes.</span></font><o:p></o:p></p> </div> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:blue'>It is because in SimpleValue.java = we have replaced all the methods of the form &quot;intValue()&quot; with &quot;getValueAsInt()&quot;, but we have not removed the old values so = that code that is using those doesn't need to change. I am thinking maybe = someday we will remove those, but in the meantime I reccomend turning the = deprecation warnings off...</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>&nbsp;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:blue'>Radu</span></font><o:p></o:p></p> <blockquote style=3D'border:none;border-left:solid blue = 1.5pt;padding:0in 0in 0in 4.0pt; margin-left:3.75pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'= > <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font = size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'> <hr size=3D2 width=3D"100%" align=3Dcenter tabIndex=3D-1> </span></font></div> <p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><b><font size=3D2 = face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</spa= n></font></b><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt;font-family:Tahoma'> Kurt Roy [mailto:[email protected]] <br> <b><span style=3D'font-weight:bold'>Sent:</span></b> Monday, July 30, = 2007 1:51 PM<br> <b><span style=3D'font-weight:bold'>To:</span></b> = [email protected]<br> <b><span style=3D'font-weight:bold'>Subject:</span></b> Getting = deprecatrion warnings when compiling generated xmlbean = classes.</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Hello,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>When compiling generated XmlBeans classes, we always = get deprecation warnings such as the following:<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>[javacwithoverlap] = C:\prosrm\build\tmp\src\com\prosrm\ui\web\datainterface\xmlbeans\impl\Dri= lldownXmlBeanImpl.java:146: warning: [deprecation] set(java.lang.String) in = org.apache.xmlbeans.SimpleValue has been deprecated<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>[javacwithoverlap]&nbsp;&nbsp;&nbsp;&nbsp; public = static class DimLevelImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.prosrm.ui.web.datainterface<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>.xmlbeans.DrilldownXmlBean.DimLevel<o:p></o:p></span><= /font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>[javacwithoverlap]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>[javacwithoverlap] C:\prosrm\build\tmp\src\com\prosrm\ui\web\datainterface\xmlbeans\impl\Dri= lldownXmlBeanImpl.java:146: warning: [deprecation] objectValue() in<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>org.apache.xmlbeans.SimpleValue has been = deprecated<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>[javacwithoverlap]&nbsp;&nbsp;&nbsp;&nbsp; public = static class DimLevelImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.prosrm.ui.web.datainterface<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>.xmlbeans.DrilldownXmlBean.DimLevel<o:p></o:p></span><= /font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>[javacwithoverlap]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>It seems that most if not all deprecation warnings = are generated from internal xmlbeans class org.apache.xmlbeans.SimpleValue. = <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>We tried with XmlBeans 2.2.0 and setting source = generation to java 1.5 (defaults to 1.4). We also tried XmlBeans = 2.3.0.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Is there any way (besides turning off deprecation = warnings on javac) to make these go away? <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Here is the xsd = fragment:<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp; &lt;xsd:complexType = name=3D&quot;parameters&quot; mixed=3D&quot;false&quot;&gt;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp; = &lt;xsd:annotation&gt;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;xsd:documentation&gt;Data Communication = parameters.&lt;/xsd:documentation&gt;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp; = &nbsp;&nbsp;&lt;/xsd:annotation&gt;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp; = &lt;xsd:sequence&gt;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; . . = .<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xsd:element name=3D&quot;drilldown&quot; type=3D&quot;comm:drilldown&quot; minOccurs=3D&quot;0&quot; = maxOccurs=3D&quot;1&quot;/&gt;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>. . .<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp; &lt;xsd:complexType = name=3D&quot;drilldown&quot; mixed=3D&quot;false&quot;&gt;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp; = &lt;xsd:annotation&gt;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;xsd:documentation&gt;Data Communication drill down = parameters.&lt;/xsd:documentation&gt;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp; = &lt;/xsd:annotation&gt;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp; = &lt;xsd:sequence&gt;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xsd:element name=3D&quot;dimLevel&quot; minOccurs=3D&quot;1&quot; maxOccurs=3D&quot;unbounded&quot;&gt;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xsd:complexType&gt;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &lt;xsd:attribute name=3D&quot;column&quot; = form=3D&quot;unqualified&quot; type=3D&quot;xsd:string&quot; = use=3D&quot;required&quot;/&gt;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &lt;xsd:attribute name=3D&quot;value&quot; = form=3D&quot;unqualified&quot; type=3D&quot;xsd:string&quot; = use=3D&quot;required&quot;/&gt;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xsd:complexType&gt;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;/xsd:element&gt;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;&nbsp;&nbsp; = &lt;/xsd:sequence&gt;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp; = &lt;/xsd:complexType&gt;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Thanks,<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><font size=3D1 color=3D"#2020a0" face=3DVerdana><span = style=3D'font-size:7.5pt;font-family: Verdana;color:#2020A0;font-weight:bold'>Kurt Roy</span></font></b><font = size=3D1 color=3D"#2020a0" face=3DVerdana><span = style=3D'font-size:7.5pt;font-family:Verdana; color:#2020A0'>&nbsp;|&nbsp;PROS&nbsp;| Software Architect, Software Development</span></font><font color=3D"#1f497d"><span = style=3D'color:#1F497D'><br> </span></font><b><font size=3D1 color=3D"#2020a0" face=3DVerdana><span style=3D'font-size:7.5pt;font-family:Verdana;color:#2020A0;font-weight:bo= ld'>phone:</span></font></b><font size=3D1 color=3D"#2020a0" face=3DVerdana><span = style=3D'font-size:7.5pt;font-family: Verdana;color:#2020A0'> +1&nbsp;(314)746-8455 | <b><span = style=3D'font-weight: bold'>email:</span></b>&nbsp;<a href=3D"mailto:[email protected]" title=3D"mailto:[email protected]">[email protected]</a> = <o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=3D1 color=3Dnavy face=3DVerdana><span = style=3D'font-size:7.5pt;font-family:Verdana; color:navy'>Save the Date for the 14<sup>th</sup> Annual PROS <st1:City = w:st=3D"on">Summit</st1:City> </span></font><font size=3D1 color=3D"#2020a0" face=3DVerdana><span = style=3D'font-size: 7.5pt;font-family:Verdana;color:#2020A0'>&#8226;&nbsp;</span></font><font= size=3D1 color=3Dnavy face=3DVerdana><span = style=3D'font-size:7.5pt;font-family:Verdana; color:navy'>April 20-23, 2008 at the Hilton Americas Hotel in <U1:PLACE = u2:st=3D"on"><st1:place w:st=3D"on"><st1:City w:st=3D"on"><U3:CITY u2:st=3D"on"><ST1:PLACE = u2:st=3D"on">Houston</ST1:PLACE></U3:CITY></U1:PLACE></st1:City>, <U2:STATE u4:st=3D"on"><st1:State = w:st=3D"on">Texas</U2:STATE></st1:State></st1:place>&nbsp;</span></font><= font size=3D1 color=3D"#2020a0" face=3DVerdana><span = style=3D'font-size:7.5pt;font-family: Verdana;color:#2020A0'>&#8226;</span></font><font size=3D1 color=3Dnavy face=3DVerdana><span = style=3D'font-size:7.5pt;font-family:Verdana;color:navy'> <a href=3D"http://www.prospricing.com/" = title=3D"http://www.prospricing.com/"><font color=3D"#003366" title=3D"http://www.prospricing.com/"><span title=3D"http://www.prospricing.com/"><span = style=3D'color:#003366'>www.prospricing.com</span></span></font></a></spa= n></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> <div> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font = size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'> <hr size=3D2 width=3D"100%" align=3Dcenter> </span></font></div> <p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>The = information contained in this email may be confidential and/or legally privileged. It has been = sent for the sole use of the intended recipient(s). If the reader of this = message is not an intended recipient, you are hereby notified that any unauthorized review, use, disclosure, dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you = have received this communication in error, please contact the sender by reply = email and destroy all copies of the original message. Thank = you<o:p></o:p></span></font></p> </div> </blockquote> </div> </body> </html> <br> Notice: This email message, together with any attachments, may contain = information of BEA Systems, Inc., its subsidiaries and affiliated = entities, that may be confidential, proprietary, copyrighted and/or = legally privileged, and is intended solely for the use of the individual = or entity named in this message. If you are not the intended recipient, = and have received this message in error, please immediately return this = by email and then delete it. ------_=_NextPart_001_01C7D3B5.6F7F2AFF-- From [email protected] Tue Jul 31 23:51:14 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18610 invoked from network); 31 Jul 2007 23:51:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jul 2007 23:51:13 -0000 Received: (qmail 49917 invoked by uid 500); 31 Jul 2007 23:51:13 -0000 Delivered-To: [email protected] Received: (qmail 49725 invoked by uid 500); 31 Jul 2007 23:51:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> Reply-To: [email protected] List-Id: <dev.xmlbeans.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 49714 invoked by uid 99); 31 Jul 2007 23:51:13 -0000 Received: from Unknown (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2007 16:51:13 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO repmmg02.bea.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2007 23:51:05 +0000 Received: from repmmr02.bea.com (repmmr02.bea.com [161.129.204.104]) by repmmg02.bea.com (Switch-3.2.7/Switch-3.2.7) with ESMTP id l6VNohUP026633 for <[email protected]>; Tue, 31 Jul 2007 16:50:43 -0700 Received: from repbex02.amer.bea.com (repbex02.bea.com [161.129.204.104]) by repmmr02.bea.com (Switch-3.2.7/Switch-3.2.7) with ESMTP id l6VNo5G6021433 for <[email protected]>; Tue, 31 Jul 2007 16:50:06 -0700 Received: from 161.129.204.104 ([161.129.204.104]) by repbex02.amer.bea.com ([161.129.204.104]) with Microsoft Exchange Server HTTP-DAV ; Tue, 31 Jul 2007 23:50:41 +0000 Received: from radup02.bea.com by repbex02.amer.bea.com; 31 Jul 2007 16:50:41 -0700 Subject: RE: Getting deprecatrion warnings when compiling generated xmlbean classes. From: Radu Preotiuc-Pietro <[email protected]> To: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 31 Jul 2007 16:50:40 -0700 Message-Id: <[email protected]> Mime-Version: 1.0 X-Mailer: Evolution 161.129.204.104 (161.129.204.104-3.fc6) x-BEA-PMX-Instructions: AV x-BEA-MM: Internal-To-External X-Virus-Checked: Checked by ClamAV on apache.org I have looked at this a little bit and here are my findings: SimpleValue.java declares methods like "objectValue()" which have been deprecated and replaced with "getObjectValue()", but XmlObjectBase (which implements SimpleValue) does not have @deprecated on the implementation for these methods. Now, the JDK1.4 compiler doesn't mind, but the JDK 1.5 one gives deprecation warnings, even for classes that extend XmlObjectBase without overriding any of the deprecated methods. That seems a little surprising to me, but this is what happens. So the fix is to change XmlObjectBase and mark all those methods as deprecated. This is something that I could do, but not right away. So if you would take a stab at making this change in your "local" copy of XmlBeans, Kurt, that will help us confirm that this is the right fix for you. Thanks, Radu On Tue, 2007-07-31 at 15:57 -0500, Kurt Roy wrote: > Hello, >=20 > =20 >=20 > Please let me clarify =E2=80=93=20 >=20 > =20 >=20 > The deprecation warnings are coming from the generated XmlBeans > classes when they are compiled =E2=80=93 not from our application code th= at > uses the generated classes. >=20 > =20 >=20 > We have been using XmlBeans for about 6 mos now. People are hapy with > it, and are really starting to use it in many of our applications. > Unfortunately, because of this, we are generating more than 10,000 > warnings nightly because of this. We always compile with the option to > display warnings, and fix anything that generates them as part of our > continuous integration program.=20 >=20 > =20 >=20 > Is there any way to stop this short of turning off deprecation > warnings on the compile? Our Architecture team is vehemently opposed > to this solution.=20 >=20 > =20 >=20 > In fact, we are open to the possibility of allocating resources to fix > this problem in XmlBeans if it is indeed a problem. >=20 > =20 >=20 > Thanks for your time and support. >=20 > Kurt Roy | PROS | Software Architect, Software Development > phone: (314)746-8455 | email: [email protected]=20 >=20 > Save the Date for the 14th Annual PROS Summit=E2=80=A2 April 20-23, 2008 = at > the Hilton Americas Hotel in Houston, Texas =E2=80=A2 www.prospricing.com >=20 > =20 > ______________________________________________________________________ > From: Radu Preotiuc-Pietro [mailto:[email protected]]=20 > Sent: Monday, July 30, 2007 4:45 PM > To: [email protected] > Subject: RE: Getting deprecatrion warnings when compiling generated > xmlbean classes. >=20 >=20 > =20 >=20 > It is because in SimpleValue.java we have replaced all the methods of > the form "intValue()" with "getValueAsInt()", but we have not removed > the old values so that code that is using those doesn't need to > change. I am thinking maybe someday we will remove those, but in the > meantime I reccomend turning the deprecation warnings off... >=20 > =20 >=20 > Radu >=20 > =20 > =20 > =20 > ______________________________________________________________ > From: Kurt Roy [mailto:[email protected]]=20 > Sent: Monday, July 30, 2007 1:51 PM > To: [email protected] > Subject: Getting deprecatrion warnings when compiling > generated xmlbean classes. > =20 > Hello, > =20 > =20 > =20 > When compiling generated XmlBeans classes, we always get > deprecation warnings such as the following: > =20 > =20 > =20 > [javacwithoverlap] C:\prosrm\build\tmp\src\com\prosrm\ui\web > \datainterface\xmlbeans\impl\DrilldownXmlBeanImpl.java:146: > warning: [deprecation] set(java.lang.String) in > org.apache.xmlbeans.SimpleValue has been deprecated > =20 > [javacwithoverlap] public static class DimLevelImpl > extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl > implements com.prosrm.ui.web.datainterface > =20 > .xmlbeans.DrilldownXmlBean.DimLevel > =20 > [javacwithoverlap] ^ > =20 > [javacwithoverlap] C:\prosrm\build\tmp\src\com\prosrm\ui\web > \datainterface\xmlbeans\impl\DrilldownXmlBeanImpl.java:146: > warning: [deprecation] objectValue() in > =20 > org.apache.xmlbeans.SimpleValue has been deprecated > =20 > [javacwithoverlap] public static class DimLevelImpl > extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl > implements com.prosrm.ui.web.datainterface > =20 > .xmlbeans.DrilldownXmlBean.DimLevel > =20 > [javacwithoverlap] ^ > =20 > =20 > =20 > =20 > =20 > It seems that most if not all deprecation warnings are > generated from internal xmlbeans class > org.apache.xmlbeans.SimpleValue.=20 > =20 > =20 > =20 > We tried with XmlBeans 2.2.0 and setting source generation to > java 1.5 (defaults to 1.4). We also tried XmlBeans 2.3.0. > =20 > =20 > =20 > Is there any way (besides turning off deprecation warnings on > javac) to make these go away?=20 > =20 > =20 > =20 > Here is the xsd fragment: > =20 > =20 > =20 > <xsd:complexType name=3D"parameters" mixed=3D"false"> > =20 > <xsd:annotation> > =20 > <xsd:documentation>Data Communication > parameters.</xsd:documentation> > =20 > </xsd:annotation> > =20 > <xsd:sequence> > =20 > . . . > =20 > <xsd:element name=3D"drilldown" type=3D"comm:drilldown" > minOccurs=3D"0" maxOccurs=3D"1"/> > =20 > =20 > =20 > . . . > =20 > =20 > =20 > <xsd:complexType name=3D"drilldown" mixed=3D"false"> > =20 > <xsd:annotation> > =20 > <xsd:documentation>Data Communication drill down > parameters.</xsd:documentation> > =20 > </xsd:annotation> > =20 > <xsd:sequence> > =20 > <xsd:element name=3D"dimLevel" minOccurs=3D"1" > maxOccurs=3D"unbounded"> > =20 > <xsd:complexType> > =20 > <xsd:attribute name=3D"column" form=3D"unqualified" > type=3D"xsd:string" use=3D"required"/> > =20 > <xsd:attribute name=3D"value" form=3D"unqualified" > type=3D"xsd:string" use=3D"required"/> > =20 > </xsd:complexType> > =20 > </xsd:element> > =20 > </xsd:sequence> > =20 > </xsd:complexType> > =20 > =20 > =20 > Thanks, > =20 > Kurt Roy | PROS | Software Architect, Software Development > phone: (314)746-8455 | email: [email protected]=20 > =20 > Save the Date for the 14th Annual PROS Summit=E2=80=A2 April 20-2= 3, > 2008 at the Hilton Americas Hotel in Houston, Texas =E2=80=A2 > www.prospricing.com > =20 > =20 > =20 > =20 > ______________________________________________________________ > The information contained in this email may be confidential > and/or legally privileged. It has been sent for the sole use > of the intended recipient(s). If the reader of this message is > not an intended recipient, you are hereby notified that any > unauthorized review, use, disclosure, dissemination, > distribution, or copying of this communication, or any of its > contents, is strictly prohibited. If you have received this > communication in error, please contact the sender by reply > email and destroy all copies of the original message. Thank > you > =20 > =20 >=20 > Notice: This email message, together with any attachments, may contain > information of BEA Systems, Inc., its subsidiaries and affiliated > entities, that may be confidential, proprietary, copyrighted and/or > legally privileged, and is intended solely for the use of the > individual or entity named in this message. If you are not the > intended recipient, and have received this message in error, please > immediately return this by email and then delete it. Notice: This email message, together with any attachments, may contain inf= ormation of BEA Systems, Inc., its subsidiaries and affiliated entiti= es, that may be confidential, proprietary, copyrighted and/or legally p= rivileged, and is intended solely for the use of the individual or entity n= amed in this message. If you are not the intended recipient, and have recei= ved this message in error, please immediately return this by email and then= delete it. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Tue Nov 04 13:28:30 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67600 invoked from network); 4 Nov 2008 13:28:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Nov 2008 13:28:30 -0000 Received: (qmail 463 invoked by uid 500); 4 Nov 2008 13:28:36 -0000 Delivered-To: [email protected] Received: (qmail 220 invoked by uid 500); 4 Nov 2008 13:28:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 202 invoked by uid 99); 4 Nov 2008 13:28:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Nov 2008 05:28:35 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Nov 2008 13:27:18 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1KxLws-0003Gz-Qj for [email protected]; Tue, 04 Nov 2008 05:27:58 -0800 Message-ID: <[email protected]> Date: Tue, 4 Nov 2008 05:27:58 -0800 (PST) From: schlud <[email protected]> To: [email protected] Subject: RE: Set & Get MemoryAppender from a named Logger In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hello Francine Thanks, that was what I had searched for! For setting an appender, i would make something like this: Hierarchy hier = (Hierarchy)LogManager.GetRepository(); Logger mylog = (Logger)hier.GetLogger("MyNamedLogger1"); IAppender memap = new MemoryAppender(); memap.Name = "blabla"; mylog.AddAppender(memap); Have a great time! bye Francine Taylor wrote: > > Try this: > > Hierarchy hier = (Hierarchy)LogManager.GetRepository(); > Logger mylog = (Logger)hier.GetLogger("MyNamedLogger1"); > IAppender myap = mylog.GetAppender("MyNamedAppender"); > > There is only one problem with this, and that is that if the logger > doesn't exist, log4net will create it. myap will still return as null, > because the newly created logger won't have that appender, but then > you've got a junk logger in your repository. > > You can prevent that by replacing your GetLogger() call with a looping > search: > > Hierarchy hier = (Hierarchy)LogManager.GetRepository(); > foreach (ILogger l in hier.GetCurrentLoggers()) { > if (l.Name.Equals(loggerName)) { > IAppender myap = l.GetAppender("MyNamedAppender"); > if (myap != null) { > // do stuff > } > } > } > > ...but then you're back to looping. > > -----Original Message----- > From: schlud [mailto:[email protected]] > Sent: Friday, October 31, 2008 6:15 AM > To: [email protected] > Subject: Set & Get MemoryAppender from a named Logger > > > Following statements are not supportet... > > // Getting a Specific Appender from a specific logger > IAppender myapp = > LogManager.GetLogger("MyNamedLogger1").GetAppender("MyNamedAppender"); > > // attaching a specific Appender to a specific logger > LogManager.GetLogger("MyNamedLogger1").SetAppender("MyNamedAppender"); > > > How can I access a desired Appender of a known logger directly, without > iterating over all Appenders and query thier names? > > > How can I attach a specific Appender to an Specific Logger ? > Thanks in Advance > > > -- > View this message in context: > http://www.nabble.com/Set---Get-MemoryAppender-from-a-named-Logger-tp202 > 65747p20265747.html > Sent from the Log4net - Users mailing list [email protected]. > > > ========================================== > NOTICE: The contents of this e-mail message and any attachments are > intended solely for the addressee(s) named in this message. This > communication is intended to be and to remain confidential. If you are not > the intended recipient of this message, or if this message has been > addressed to you in error, please immediately alert the sender by reply > e-mail and then delete this message and its attachments. Do not deliver, > distribute or copy this message and/or any attachments and if you are not > the intended recipient, do not disclose the contents or take any action in > reliance upon the information contained in this communication or any > attachments. > Thank you > > -- View this message in context: http://www.nabble.com/Set---Get-MemoryAppender-from-a-named-Logger-tp20265747p20322232.html Sent from the Log4net - Users mailing list [email protected]. From [email protected] Tue Nov 04 17:37:49 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25565 invoked from network); 4 Nov 2008 17:37:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Nov 2008 17:37:49 -0000 Received: (qmail 80177 invoked by uid 500); 4 Nov 2008 17:37:51 -0000 Delivered-To: [email protected] Received: (qmail 80152 invoked by uid 500); 4 Nov 2008 17:37:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 80133 invoked by uid 99); 4 Nov 2008 17:37:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Nov 2008 09:37:50 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO QMTA03.emeryville.ca.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Nov 2008 17:36:29 +0000 Received: from OMTA03.emeryville.ca.mail.comcast.net ([161.129.204.104]) by QMTA03.emeryville.ca.mail.comcast.net with comcast id azsi1a0010b6N64A35d2Hr; Tue, 04 Nov 2008 17:37:02 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by OMTA03.emeryville.ca.mail.comcast.net with comcast id b5bA1a00H0BBgh68P5d144; Tue, 04 Nov 2008 17:37:02 +0000 X-Authority-Analysis: v=1.0 c=1 a=L6GmFSGSiUUA:10 a=Z0nPUp28AlMA:10 a=5ium8Q7kAAAA:8 a=_R-yznc0AAAA:8 a=CE2_NgT7-U_7hIQRuz8A:9 a=WGpXNH_cH-2y8PI0-dcA:7 a=nTUuurSaN7L0JJnSThJwETisTrkA:4 a=88iI8knYSJUA:10 a=8b0TY1xhFYQA:10 Message-Id: <[email protected]> From: Curt Arnold <[email protected]> To: Log4NET User <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: ApacheCon live video streaming available; keynotes and Apache 101 are free Date: Tue, 4 Nov 2008 11:37:01 -0600 X-Mailer: Apple Mail (2.929.2) X-Virus-Checked: Checked by ClamAV on apache.org Can't make ApacheCon this week in New Orleans? You can still watch all the keynotes, Apache 101 sessions, and system administration track in live video streams: http://streaming.linux-magazin.de/en/program_apacheconus08.htm?ann Keynotes and the Apache 101 lunchtime sessions are free; the full sysadmin track, including httpd performance, security, and server stack administration talks are available for a fee. Keynotes include: - David Recordon, Six Apart (Wednesday 09:30) "Learning from Apache to create Open Specifications" - Shahani Markus Weerawarana, Ph.D. (Thursday 11:30) "Standing on the Shoulders of Giants" - Sam Ramji, Microsoft (Friday 11:30) "struct.new("future", :open, :microsoft)" Reminder: New Orleans is CST or UTC/GMT -6 hours. Advance notice: ApacheCon EU 2009 returns to Amsterdam, 23-27 March. We had a great response to our CFP and look forward to announcing the schedule in the next month. Regards -- Lars Eilebrecht - V.P., Conference Planning [email protected] - http://www.us.apachecon.com From [email protected] Wed Nov 05 12:05:34 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27704 invoked from network); 5 Nov 2008 12:05:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Nov 2008 12:05:33 -0000 Received: (qmail 75583 invoked by uid 500); 5 Nov 2008 12:05:40 -0000 Delivered-To: [email protected] Received: (qmail 75185 invoked by uid 500); 5 Nov 2008 12:05:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 75174 invoked by uid 99); 5 Nov 2008 12:05:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Nov 2008 04:05:38 -0800 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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO bay0-omc1-s21.bay0.hotmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Nov 2008 12:04:21 +0000 Received: from BAY102-W18 ([161.129.204.104]) by bay0-omc1-s21.bay0.hotmail.com with Microsoft SMTPSVC(856)577-9584); Wed, 5 Nov 2008 04:04:41 -0800 Message-ID: <[email protected]> Content-Type: multipart/alternative; boundary="_e97c3f61-610d-4dad-bf91-61674e862a63_" X-Originating-IP: [161.129.204.104] From: Paul Franklin <[email protected]> To: <[email protected]> Subject: FW: Problems with Network Drive Date: Wed, 5 Nov 2008 12:04:41 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 05 Nov 2008 12:04:41.0933 (UTC) FILETIME=[AF5BEFD0:01C93F3E] X-Virus-Checked: Checked by ClamAV on apache.org --_e97c3f61-610d-4dad-bf91-61674e862a63_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am trying to log to a Network Drive using a RollingFileAppender but am ha= ving problems. When I set the file parameter value to a UNC value (\\serve= rname\sharename\Alert.txt) it works fine However=2C when I try to set it to= a mapped drive value which refers to the same path it fails. The internal = debug is showing this: log4net:ERROR [RollingFileAppender] No output stream= or file set for the appender named [TDALog].log4net: FileAppender: Opening= file for writing [T:\Alert.txt] append [True]log4net:ERROR [RollingFileApp= ender] Unable to acquire lock on file T:\Alert.txt. Could not find a part o= f the path 'T:\'.log4net:ERROR [RollingFileAppender] OpenFile(T:\Alert.txt= =2CTrue) call failed.log4net.Appender.FileAppender+LockingStream+LockStateE= xception: The file is not currently locked at log4net.Appender.FileAppend= er.LockingStream.get_CanWrite() at System.IO.StreamWriter..ctor(Stream st= ream=2C Encoding encoding=2C Int32 bufferSize) at System.IO.StreamWriter.= .ctor(Stream stream=2C Encoding encoding) at log4net.Appender.FileAppende= r.OpenFile(String fileName=2C Boolean append) at log4net.Appender.Rolling= FileAppender.OpenFile(String fileName=2C Boolean append) at log4net.Appen= der.FileAppender.SafeOpenFile(String fileName=2C Boolean append)log4net:ERR= OR [RollingFileAppender] No output stream or file set for the appender name= d [TDALog]. When I use UNC for the same file it works okay: log4net: FileAp= pender: Opening file for writing [\\uncdrive\share\Alert.txt] append [True]= log4net: XmlHierarchyConfigurator: Created Appender [TDALog]log4net: XmlHie= rarchyConfigurator: Adding appender named [TDALog] to logger [root].log4net= : XmlHierarchyConfigurator: Retrieving an instance of log4net.Repository.Lo= gger for logger [tda].log4net: XmlHierarchyConfigurator: Setting [trustda] = additivity to [True].log4net: XmlHierarchyConfigurator: Logger [trustda] Le= vel string is [DEBUG].log4net: XmlHierarchyConfigurator: Logger [trustda] l= evel set to [name=3D"DEBUG"=2Cvalue=3D30000].log4net: XmlHierarchyConfigura= tor: Adding appender named [TDALog] to logger [tda]. Any ideas? We would on= ly use UNC as a last resort because the application is going to be distribu= ted to multiple sites which all use a common drive mapping letter Click here for FREE customisable desktop wallpapers. Get them Now! _________________________________________________________________ See the most popular videos on the web=20 http://clk.atdmt.com/GBL/go/115454061/direct/01/= --_e97c3f61-610d-4dad-bf91-61674e862a63_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <style> .hmmessage P { margin:0px=3B padding:0px } body.hmmessage { font-size: 10pt=3B font-family:Verdana } </style> </head> <body class=3D'hmmessage'> <STYLE> .ExternalClass .EC_hmmessage P {padding:0px=3B} .ExternalClass body.EC_hmmessage {font-size:10pt=3Bfont-family:Verdana=3B} </STYLE> I am trying to log to a Network Drive using a RollingFileAppender but am ha= ving problems. <BR>&nbsp=3B<BR>When I set the file parameter value to a UNC= value (<A>\\servername\sharename\<FONT color=3D#444444>Alert.txt</FONT></A= >) it works fine<BR>&nbsp=3B<BR>However=2C when I try to set it to a mapped= drive value which refers to the same path it fails.<BR>&nbsp=3B<BR>The int= ernal debug is showing this:<BR>&nbsp=3B<BR>log4net:ERROR [RollingFileAppen= der] No output stream or file set for the appender named [TDALog].<BR>log4n= et: FileAppender: Opening file for writing [T:\Alert.txt] append [True]<BR>= log4net:ERROR [RollingFileAppender] Unable to acquire lock on file T:\Alert= .txt. Could not find a part of the path 'T:\'.<BR>log4net:ERROR [RollingFil= eAppender] OpenFile(T:\Alert.txt=2CTrue) call failed.<BR>log4net.Appender.F= ileAppender+LockingStream+LockStateException: The file is not currently loc= ked<BR>&[email protected]_= CanWrite()<BR>&[email protected](Stream strea= m=2C Encoding encoding=2C Int32 bufferSize)<BR>&[email protected]= O.StreamWriter..ctor(Stream stream=2C Encoding encoding)<BR>&nbsp=3B&nbsp= [email protected](String fileName=2C Boolean ap= pend)<BR>&[email protected](= String fileName=2C Boolean append)<BR>&[email protected].= FileAppender.SafeOpenFile(String fileName=2C Boolean append)<BR>log4net:ERR= OR [RollingFileAppender] No output stream or file set for the appender name= d [TDALog].<BR>&nbsp=3B<BR>When I use UNC for the same file it works okay:<= BR>&nbsp=3B<BR>log4net: FileAppender: Opening file for writing [\\<EM>uncdr= ive</EM>\<EM>share</EM>\Alert.txt] append [True]<BR>log4net: XmlHierarchyCo= nfigurator: Created Appender [TDALog]<BR>log4net: XmlHierarchyConfigurator:= Adding appender named [TDALog] to logger [root].<BR>log4net: XmlHierarchyC= onfigurator: Retrieving an instance of log4net.Repository.Logger for logger= [tda].<BR>log4net: XmlHierarchyConfigurator: Setting [trustda] additivity = to [True].<BR>log4net: XmlHierarchyConfigurator: Logger [trustda] Level str= ing is [DEBUG].<BR>log4net: XmlHierarchyConfigurator: Logger [trustda] leve= l set to [name=3D"DEBUG"=2Cvalue=3D30000].<BR>log4net: XmlHierarchyConfigur= ator: Adding appender named [TDALog] to logger [tda].<BR>&nbsp=3B<BR>Any id= eas?<BR>&nbsp=3B<BR>We would only use UNC as a last resort because the appl= ication is going to be distributed to multiple sites which all use a common= drive mapping letter<BR><BR><BR> <HR> Click here for FREE customisable desktop wallpapers. <A href=3D"http://wall= papers.msn.com/?ocid=3D[B001MSN42A0716B]">Get them Now!</A><br /><hr />Read= amazing stories to your kids on Messenger <a href=3D'http://clk.atdmt.com/= UKM/go/117588488/direct/01/' target=3D'_new'>Try it Now!</a></body> </html>= --_e97c3f61-610d-4dad-bf91-61674e862a63_-- From [email protected] Thu Nov 06 06:10:26 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36063 invoked from network); 6 Nov 2008 06:10:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Nov 2008 06:10:26 -0000 Received: (qmail 73387 invoked by uid 500); 6 Nov 2008 06:10:32 -0000 Delivered-To: [email protected] Received: (qmail 73364 invoked by uid 500); 6 Nov 2008 06:10:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 73353 invoked by uid 99); 6 Nov 2008 06:10:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Nov 2008 22:10:31 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO vs5923.vserver4free.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 06:09:14 +0000 Received: from [161.129.204.104] (pD9529F92.dip0.t-ipconnect.de [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by vs5923.vserver4free.de (Postfix) with ESMTP id 87487211B4 for <[email protected]>; Thu, 6 Nov 2008 07:09:22 +0100 (CET) Message-ID: <[email protected]> Date: Thu, 06 Nov 2008 07:08:49 +0100 From: Steve Wagner <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:161.129.204.104) Gecko/20080914 Lightning/0.9 Thunderbird/161.129.204.104 Mnenhy/161.129.204.1046 MIME-Version: 1.0 To: Log4NET User <[email protected]> Subject: Re: FW: Problems with Network Drive References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org May i am wrong, but as far as i know are mapped network drives only visible for the current which created it and not for the entry system. UNC Pathes are the most common way to access a network share. Steve Paul Franklin schrieb: > > > I am trying to log to a Network Drive using a RollingFileAppender but am having problems. When I set the file parameter value to a UNC value (\\servername\sharename\Alert.txt) it works fine However, when I try to set it to a mapped drive value which refers to the same path it fails. The internal debug is showing this: log4net:ERROR [RollingFileAppender] No output stream or file set for the appender named [TDALog].log4net: FileAppender: Opening file for writing [T:\Alert.txt] append [True]log4net:ERROR [RollingFileAppender] Unable to acquire lock on file T:\Alert.txt. Could not find a part of the path 'T:\'.log4net:ERROR [RollingFileAppender] OpenFile(T:\Alert.txt,True) call failed.log4net.Appender.FileAppender+LockingStream+LockStateException: The file is not currently locked at log4net.Appender.FileAppender.LockingStream.get_CanWrite() at System.IO.StreamWriter..ctor(Stream stream, Encoding encoding, Int32 bufferSize) at System.IO.StreamWriter..ctor(Stream stream, Encoding encoding) at log4net.Appender.FileAppender.OpenFile(String fileName, Boolean append) at log4net.Appender.RollingFileAppender.OpenFile(String fileName, Boolean append) at log4net.Appender.FileAppender.SafeOpenFile(String fileName, Boolean append)log4net:ERROR [RollingFileAppender] No output stream or file set for the appender named [TDALog]. When I use UNC for the same file it works okay: log4net: FileAppender: Opening file for writing [\\uncdrive\share\Alert.txt] append [True]log4net: XmlHierarchyConfigurator: Created Appender [TDALog]log4net: XmlHierarchyConfigurator: Adding appender named [TDALog] to logger [root].log4net: XmlHierarchyConfigurator: Retrieving an instance of log4net.Repository.Logger for logger [tda].log4net: XmlHierarchyConfigurator: Setting [trustda] additivity to [True].log4net: XmlHierarchyConfigurator: Logger [trustda] Level string is [DEBUG].log4net: XmlHierarchyConfigurator: Logger [trustda] level set to [name="DEBUG",value=30000].log4n et: XmlHierarchyConfigurator: Adding appender named [TDALog] to logger [tda]. Any ideas? We would only use UNC as a last resort because the application is going to be distributed to multiple sites which all use a common drive mapping letter > > Click here for FREE customisable desktop wallpapers. Get them Now! > _________________________________________________________________ > See the most popular videos on the web > http://clk.atdmt.com/GBL/go/115454061/direct/01/ From [email protected] Thu Nov 06 12:00:11 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75303 invoked from network); 6 Nov 2008 12:00:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Nov 2008 12:00:11 -0000 Received: (qmail 55168 invoked by uid 500); 6 Nov 2008 12:00:17 -0000 Delivered-To: [email protected] Received: (qmail 55133 invoked by uid 500); 6 Nov 2008 12:00:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 55122 invoked by uid 99); 6 Nov 2008 12:00:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 04:00:16 -0800 X-ASF-Spam-Status: No, hits=-2.0 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO WA4EHSOBE005.bigfish.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 11:58:56 +0000 Received: from mail177-wa4-R.bigfish.com (161.129.204.104) by WA4EHSOBE005.bigfish.com (161.129.204.104) with Microsoft SMTP Server id 8.1.291.1; Thu, 6 Nov 2008 11:59:36 +0000 Received: from mail177-wa4 (localhost.localdomain [161.129.204.104]) by mail177-wa4-R.bigfish.com (Postfix) with ESMTP id DA89115506F4 for <[email protected]>; Thu, 6 Nov 2008 11:59:35 +0000 (UTC) X-BigFish: VS-6(zz1443R19c2kzzzz2f39iz2dh6bh61h) X-Spam-TCS-SCL: 0:0 X-FB-SS: 5, Received: by mail177-wa4 (MessageSwitch) id 1225972773954599_32351; Thu, 6 Nov 2008 11:59:33 +0000 (UCT) Received: from ebs-exch01.ebsglobal.net (webmail.ebsglobal.net [161.129.204.104]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail177-wa4.bigfish.com (Postfix) with ESMTP id 6BF4E5D0068 for <[email protected]>; Thu, 6 Nov 2008 11:59:33 +0000 (UTC) Received: from ebs-exch01.EBSGlobal.net ([161.129.204.104]) by ebs-exch01.EBSGlobal.net ([161.129.204.104]) with mapi; Thu, 6 Nov 2008 11:59:31 +0000 From: "Gourlay, Colin" <[email protected]> To: Log4NET User <[email protected]> Date: Thu, 6 Nov 2008 11:59:28 +0000 Subject: SQL 2005 Database Mirroring Support Thread-Topic: SQL 2005 Database Mirroring Support Thread-Index: AclABx7LeDKSeqlERRG9sxB5cvHsKg== Message-ID: <[email protected]> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-GB Content-Type: multipart/alternative; boundary="_000_7E418EB425E58A49BCCEC5A4450F7B1E24093DAC85ebsexch01EBSG_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_7E418EB425E58A49BCCEC5A4450F7B1E24093DAC85ebsexch01EBSG_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Does log4net support the database mirroring feature in SQL 2005? It logs quite happily when logging to our primary database but when I failo= ver logging ceases to work - in that nothing is logged - when I failback lo= gging works as before. The mirroring has been configured correctly (test h= as been done to verify this) so I think I can rule this out. Other than the following entry (as per http://blogs.technet.com/johnbaker/a= rchive/2005/10/06/412126.aspx) included in my connection string is there so= mething else required? failover partner=3DMyFailoverDatabaseServer Is there anything else I should be considering? Thanks in advance. Colin ________________________________ Edinburgh Business School is a Charity Registered in Scotland, SC026900 --_000_7E418EB425E58A49BCCEC5A4450F7B1E24093DAC85ebsexch01EBSG_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"= > <meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} code {mso-style-priority:99; font-family:"Courier New";} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} .MsoChpDefault {mso-style-type:export-only;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt;} div.Section1 {page:Section1;} --> </style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3D"EN-US" link=3D"blue" vlink=3D"purple"> <div class=3D"Section1"> <p class=3D"MsoNormal">Does log4net support the database mirroring feature = in SQL 2005? <o:p></o:p></p> <p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p> <p class=3D"MsoNormal">It logs quite happily when logging to our primary da= tabase but when I failover logging ceases to work &#8211; in that nothing i= s logged &#8211; when I failback logging works as before.&nbsp; The mirrori= ng has been configured correctly (test has been done to verify this) so I think I can rule this out.<o:p></o:p></p> <p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p> <p class=3D"MsoNormal">Other than the following entry (as per <a href=3D"ht= tp://blogs.technet.com/johnbaker/archive/2005/10/06/412126.aspx"> http://blogs.technet.com/johnbaker/archive/2005/10/06/412126.aspx</a>) incl= uded in my connection string is there something else required?<o:p></o:p></= p> <p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p> <p class=3D"MsoNormal"><code><span lang=3D"EN" style=3D"font-size:10.0pt">f= ailover partner=3DMyFailoverDatabaseServer</span></code><o:p></o:p></p> <p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p> <p class=3D"MsoNormal">Is there anything else I should be considering?<o:p>= </o:p></p> <p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p> <p class=3D"MsoNormal">Thanks in advance.<o:p></o:p></p> <p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p> <p class=3D"MsoNormal">Colin<o:p></o:p></p> <p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p> <p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p> <p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p> <p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p> </div> <br> <hr> <font face=3D"Arial" color=3D"Gray" size=3D"1"><br> Edinburgh Business School is a Charity Registered in Scotland, SC026900<br> </font> </body> </html> --_000_7E418EB425E58A49BCCEC5A4450F7B1E24093DAC85ebsexch01EBSG_-- From [email protected] Thu Nov 06 13:06:46 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96899 invoked from network); 6 Nov 2008 13:06:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Nov 2008 13:06:46 -0000 Received: (qmail 28397 invoked by uid 500); 6 Nov 2008 13:06:51 -0000 Delivered-To: [email protected] Received: (qmail 28376 invoked by uid 500); 6 Nov 2008 13:06:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 28361 invoked by uid 99); 6 Nov 2008 13:06:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 05:06:51 -0800 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO vbdtrend2.vbd.no) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 13:05:30 +0000 Received: from vbdex.vbd.no ([161.129.204.104]) by vbdtrend2 with InterScan Messaging Security Suite; Thu, 06 Nov 2008 14:06:06 +0100 Keywords: disclaimer X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4325 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C94010.6D2C7A1D" Subject: RE: SQL 2005 Database Mirroring Support Date: Thu, 6 Nov 2008 14:06:05 +0100 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: SQL 2005 Database Mirroring Support thread-index: AclABx7LeDKSeqlERRG9sxB5cvHsKgABgAbw References: <[email protected]> From: "Dag Christensen" <[email protected]> To: "Log4NET User" <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C94010.6D2C7A1D Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Should be handled transparently if you're using SqlClient or native client and a correct connection string. I think log4net uses OLE DB by default, you might want to try changing this to SqlClient. =20 If it still doesn't work, try setting your appender's ReconnectOnError to true. =20 It would also be helpful if you posted the versions you're using (log4net, SQL server 2005 service pack?, .NET framework version and service pack?) and your log4net configuration. =20 Best wishes, Dag =20 =20 From: Gourlay, Colin [mailto:[email protected]]=20 Sent: Thursday, November 06, 2008 12:59 PM To: Log4NET User Subject: SQL 2005 Database Mirroring Support =20 Does log4net support the database mirroring feature in SQL 2005?=20 =20 It logs quite happily when logging to our primary database but when I failover logging ceases to work - in that nothing is logged - when I failback logging works as before. The mirroring has been configured correctly (test has been done to verify this) so I think I can rule this out. =20 Other than the following entry (as per http://blogs.technet.com/johnbaker/archive/2005/10/06/412126.aspx) included in my connection string is there something else required? =20 failover partner=3DMyFailoverDatabaseServer =20 Is there anything else I should be considering? =20 Thanks in advance. =20 Colin =20 =20 =20 =20 =20 ________________________________ Edinburgh Business School is a Charity Registered in Scotland, SC026900 ###########################################=0A= =0A= This message has been scanned by F-Secure Anti-Virus for Microsoft = Exchange.=0A= For more information, connect to http://www.f-secure.com/ ------_=_NextPart_001_01C94010.6D2C7A1D Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:x=3D"urn:schemas-microsoft-com:office:excel" = xmlns:p=3D"urn:schemas-microsoft-com:office:powerpoint" = xmlns:a=3D"urn:schemas-microsoft-com:office:access" = xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" = xmlns:s=3D"uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" = xmlns:rs=3D"urn:schemas-microsoft-com:rowset" xmlns:z=3D"#RowsetSchema" = xmlns:b=3D"urn:schemas-microsoft-com:office:publisher" = xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadsheet" = xmlns:c=3D"urn:schemas-microsoft-com:office:component:spreadsheet" = xmlns:odc=3D"urn:schemas-microsoft-com:office:odc" = xmlns:oa=3D"urn:schemas-microsoft-com:office:activation" = xmlns:html=3D"http://www.w3.org/TR/REC-html40" = xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" xmlns:D=3D"DAV:" = xmlns:x2=3D"http://schemas.microsoft.com/office/excel/2003/xml" = xmlns:ois=3D"http://schemas.microsoft.com/sharepoint/soap/ois/" = xmlns:dir=3D"http://schemas.microsoft.com/sharepoint/soap/directory/" = xmlns:ds=3D"http://www.w3.org/2000/09/xmldsig#" = xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint/dsp" = xmlns:udc=3D"http://schemas.microsoft.com/data/udc" = xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" = xmlns:sub=3D"http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/"= xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#" = xmlns:sp=3D"http://schemas.microsoft.com/sharepoint/" = xmlns:sps=3D"http://schemas.microsoft.com/sharepoint/soap/" = xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" = xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile" = xmlns:wf=3D"http://schemas.microsoft.com/sharepoint/soap/workflow/" = xmlns:mver=3D"http://schemas.openxmlformats.org/markup-compatibility/2006= " xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns:mrels=3D"http://schemas.openxmlformats.org/package/2006/relationshi= ps" = xmlns:ex12t=3D"http://schemas.microsoft.com/exchange/services/2006/types"= = xmlns:ex12m=3D"http://schemas.microsoft.com/exchange/services/2006/messag= es" xmlns:Z=3D"urn:schemas-microsoft-com:" xmlns:st=3D"&#1;" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} code {mso-style-priority:99; font-family:"Courier New";} span.EmailStyle18 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:windowtext;} span.EmailStyle19 {mso-style-type:personal-reply; font-family:"Arial","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= >Should be handled transparently if you&#8217;re using SqlClient or native = client and a correct connection string. I think log4net uses OLE DB by default, you = might want to try changing this to SqlClient.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= ><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= >If it still doesn&#8217;t work, try setting your appender&#8217;s = ReconnectOnError to true.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= ><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= >It would also be helpful if you posted the versions you&#8217;re using = (log4net, SQL server 2005 service pack?, .NET framework version and service pack?) and = your log4net configuration.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= ><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= >Best wishes,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= >Dag<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= ><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= ><o:p>&nbsp;</o:p></span></font></p> <div> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt = 0cm 0cm 0cm'> <p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:"Tahoma","sans-serif";font-weight:bold'>From:</span></font></= b><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Gourlay, Colin [mailto:[email protected]] <br> <b><span style=3D'font-weight:bold'>Sent:</span></b> Thursday, November = 06, 2008 12:59 PM<br> <b><span style=3D'font-weight:bold'>To:</span></b> Log4NET User<br> <b><span style=3D'font-weight:bold'>Subject:</span></b> SQL 2005 = Database Mirroring Support<o:p></o:p></span></font></p> </div> </div> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>Does log4net support the database mirroring feature in SQL 2005? = <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>It logs quite happily when logging to our primary database but when I = failover logging ceases to work &#8211; in that nothing is logged &#8211; when I failback logging works as before.&nbsp; The mirroring has been = configured correctly (test has been done to verify this) so I think I can rule this = out.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>Other than the following entry (as per <a href=3D"http://blogs.technet.com/johnbaker/archive/2005/10/06/412126.aspx= ">http://blogs.technet.com/johnbaker/archive/2005/10/06/412126.aspx</a>) included in my connection string is there something else = required?<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><code><font size=3D2 face=3D"Courier New"><span = lang=3DEN style=3D'font-size:10.0pt'>failover = partner=3DMyFailoverDatabaseServer</span></font></code><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>Is there anything else I should be = considering?<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>Thanks in advance.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>Colin<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt;font-family:"Times New = Roman","serif"'><o:p>&nbsp;</o:p></span></font></p> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font = size=3D3 face=3D"Times New Roman"><span = style=3D'font-size:12.0pt;font-family:"Times New Roman","serif"'> <hr size=3D2 width=3D"100%" align=3Dcenter> </span></font></div> <p class=3DMsoNormal><font size=3D1 color=3Dgray face=3DArial><span = style=3D'font-size: 7.5pt;font-family:"Arial","sans-serif";color:gray'><br> Edinburgh Business School is a Charity Registered in Scotland, = SC026900</span></font><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></font></p> </div> ###########################################<br><br>This message has been = scanned by F-Secure Anti-Virus for Microsoft Exchange.<br>For more = information, connect to http://www.f-secure.com/</body> </html> ------_=_NextPart_001_01C94010.6D2C7A1D-- From [email protected] Sun Nov 09 09:37:32 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82043 invoked from network); 9 Nov 2008 09:37:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Nov 2008 09:37:32 -0000 Received: (qmail 83387 invoked by uid 500); 9 Nov 2008 09:37:38 -0000 Delivered-To: [email protected] Received: (qmail 83273 invoked by uid 500); 9 Nov 2008 09:37:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 83262 invoked by uid 99); 9 Nov 2008 09:37:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Nov 2008 01:37:38 -0800 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO out2.bezeqint.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Nov 2008 09:36:16 +0000 Received: from mail.dbsophic.com (bzq-219-145-62.static.bezeqint.net [161.129.204.104]) by out2.bezeqint.net (Postfix) with ESMTPA id B5BF8210443 for <[email protected]>; Sun, 9 Nov 2008 11:33:55 +0200 (IST) Received: from ex01.dbsophicHQ.com ([161.129.204.104]) by ex01.dbsophicHQ.com ([161.129.204.104]) with mapi; Sun, 9 Nov 2008 11:36:14 +0200 From: Vitaliy <[email protected]> To: "[email protected]" <[email protected]> Date: Sun, 9 Nov 2008 11:36:13 +0200 Subject: Printing a log message of level 'ALL' Thread-Topic: Printing a log message of level 'ALL' Thread-Index: AclCTprmRrLzGuPwQ72ersvdtLtSYg== Message-ID: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_B0DE8B66453D0F4AA67D2A150934999B048C0D8E33ex01dbsophicH_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_B0DE8B66453D0F4AA67D2A150934999B048C0D8E33ex01dbsophicH_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, In some cases I would like to print messages to the log of my application, At a level lower than 'DEBUG'. I've noticed in the documentation that the level 'ALL' should do it, But I failed to find a way to print messages for this level. For instance ILog interface has methods for printing messages of levels: 'D= EBUG', 'INFO', 'WARN', 'ERROR', 'FATAL', But none for the level 'ALL'. What's the obvious I'm missing? Is there any other built-in way to print to 'ALL', Or should I extend that interface, and implement it myself? I would really appreciate any help, Vitaliy --_000_B0DE8B66453D0F4AA67D2A150934999B048C0D8E33ex01dbsophicH_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"= > <meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} .MsoChpDefault {mso-style-type:export-only;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.Section1 {page:Section1;} --> </style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3D"EN-US" link=3D"blue" vlink=3D"purple"> <div class=3D"Section1"> <p class=3D"MsoNormal">Hi,<o:p></o:p></p> <p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p> <p class=3D"MsoNormal">In some cases I would like to print messages to the = log of my application,<o:p></o:p></p> <p class=3D"MsoNormal">At a level lower than &#8216;DEBUG&#8217;.<o:p></o:p= ></p> <p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p> <p class=3D"MsoNormal">I&#8217;ve noticed in the documentation that the lev= el &#8216;ALL&#8217; should do it,<o:p></o:p></p> <p class=3D"MsoNormal">But I failed to find a way to print messages for thi= s level.<o:p></o:p></p> <p class=3D"MsoNormal">For instance ILog interface has methods for printing= messages of levels: &#8216;DEBUG&#8217;, &#8216;INFO&#8217;, &#8216;WARN&#= 8217;, &#8216;ERROR&#8217;, &#8216;FATAL&#8217;,<o:p></o:p></p> <p class=3D"MsoNormal">But none for the level &#8216;ALL&#8217;.<o:p></o:p>= </p> <p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p> <p class=3D"MsoNormal">What&#8217;s the obvious I&#8217;m missing?<o:p></o:= p></p> <p class=3D"MsoNormal">Is there any other built-in way to print to &#8216;A= LL&#8217;,<o:p></o:p></p> <p class=3D"MsoNormal">Or should I extend that interface, and implement it = myself?<o:p></o:p></p> <p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p> <p class=3D"MsoNormal">I would really appreciate any help,<o:p></o:p></p> <p class=3D"MsoNormal">Vitaliy<o:p></o:p></p> </div> <br> <br> __________ Information from ESET NOD32 Antivirus, version of virus signatur= e database 3597 (20081108) __________<br> <br> The message was checked by ESET NOD32 Antivirus.<br> <br> <a href=3D"http://www.eset.com">http://www.eset.com</a><br> </body> </html> --_000_B0DE8B66453D0F4AA67D2A150934999B048C0D8E33ex01dbsophicH_-- From [email protected] Sun Nov 09 11:13:06 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42734 invoked from network); 9 Nov 2008 11:13:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Nov 2008 11:13:04 -0000 Received: (qmail 3789 invoked by uid 500); 9 Nov 2008 11:13:10 -0000 Delivered-To: [email protected] Received: (qmail 3754 invoked by uid 500); 9 Nov 2008 11:13:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 3743 invoked by uid 99); 9 Nov 2008 11:13:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Nov 2008 03:13:09 -0800 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO vbdtrend2.vbd.no) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Nov 2008 11:11:47 +0000 Received: from vbdex.vbd.no ([161.129.204.104]) by vbdtrend2 with InterScan Messaging Security Suite; Sun, 09 Nov 2008 12:12:21 +0100 Keywords: disclaimer X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4325 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C9425C.08F4B5FF" Subject: RE: Printing a log message of level 'ALL' Date: Sun, 9 Nov 2008 12:12:20 +0100 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Printing a log message of level 'ALL' thread-index: AclCTprmRrLzGuPwQ72ersvdtLtSYgACGB5g References: <[email protected]> From: "Dag Christensen" <[email protected]> To: "Log4NET User" <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C9425C.08F4B5FF Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable You can invoke log.Logger.Log passing log4net.Core.Level.Verbose as the log level. =20 Levels in log4net are integers in increasing order. If the level of your log event is equal to or higher than your logger's level the event will be passed on to its appenders. Level.All equals int.MinValue, Level.Verbose.Value=3D 10000, Level.Debug.Value=3D 30000 etc. Level.Off (int.MaxValue) disables all logging. =20 Hope this helps, =20 Dag =20 ________________________________ Dag Christensen Senior Developer, Visma Retail AS Switchboard : (856)577-9584 ________________________________ =20 From: Vitaliy [mailto:[email protected]]=20 Sent: Sunday, November 09, 2008 10:36 AM To: [email protected] Subject: Printing a log message of level 'ALL' =20 Hi, =20 In some cases I would like to print messages to the log of my application, At a level lower than 'DEBUG'. =20 I've noticed in the documentation that the level 'ALL' should do it, But I failed to find a way to print messages for this level. For instance ILog interface has methods for printing messages of levels: 'DEBUG', 'INFO', 'WARN', 'ERROR', 'FATAL', But none for the level 'ALL'. =20 What's the obvious I'm missing? Is there any other built-in way to print to 'ALL', Or should I extend that interface, and implement it myself? =20 I would really appreciate any help, Vitaliy __________ Information from ESET NOD32 Antivirus, version of virus signature database 3597 (20081108) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ###########################################=0A= =0A= This message has been scanned by F-Secure Anti-Virus for Microsoft = Exchange.=0A= For more information, connect to http://www.f-secure.com/ ------_=_NextPart_001_01C9425C.08F4B5FF Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:x=3D"urn:schemas-microsoft-com:office:excel" = xmlns:p=3D"urn:schemas-microsoft-com:office:powerpoint" = xmlns:a=3D"urn:schemas-microsoft-com:office:access" = xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" = xmlns:s=3D"uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" = xmlns:rs=3D"urn:schemas-microsoft-com:rowset" xmlns:z=3D"#RowsetSchema" = xmlns:b=3D"urn:schemas-microsoft-com:office:publisher" = xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadsheet" = xmlns:c=3D"urn:schemas-microsoft-com:office:component:spreadsheet" = xmlns:odc=3D"urn:schemas-microsoft-com:office:odc" = xmlns:oa=3D"urn:schemas-microsoft-com:office:activation" = xmlns:html=3D"http://www.w3.org/TR/REC-html40" = xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" xmlns:D=3D"DAV:" = xmlns:x2=3D"http://schemas.microsoft.com/office/excel/2003/xml" = xmlns:ois=3D"http://schemas.microsoft.com/sharepoint/soap/ois/" = xmlns:dir=3D"http://schemas.microsoft.com/sharepoint/soap/directory/" = xmlns:ds=3D"http://www.w3.org/2000/09/xmldsig#" = xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint/dsp" = xmlns:udc=3D"http://schemas.microsoft.com/data/udc" = xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" = xmlns:sub=3D"http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/"= xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#" = xmlns:sp=3D"http://schemas.microsoft.com/sharepoint/" = xmlns:sps=3D"http://schemas.microsoft.com/sharepoint/soap/" = xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" = xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile" = xmlns:wf=3D"http://schemas.microsoft.com/sharepoint/soap/workflow/" = xmlns:mver=3D"http://schemas.openxmlformats.org/markup-compatibility/2006= " xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns:mrels=3D"http://schemas.openxmlformats.org/package/2006/relationshi= ps" = xmlns:ex12t=3D"http://schemas.microsoft.com/exchange/services/2006/types"= = xmlns:ex12m=3D"http://schemas.microsoft.com/exchange/services/2006/messag= es" xmlns:Z=3D"urn:schemas-microsoft-com:" xmlns:st=3D"&#1;" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:windowtext;} span.EmailStyle18 {mso-style-type:personal-reply; font-family:"Arial","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= >You can invoke log.Logger.Log passing log4net.Core.Level.Verbose as the log = level.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= ><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= >Levels in log4net are integers in increasing order. If the level of your log = event is equal to or higher than your logger&#8217;s level the event will be passed on = to its appenders. Level.All equals int.MinValue, Level.Verbose.Value=3D 10000, = Level.Debug.Value=3D 30000 etc. Level.Off (int.MaxValue) disables all = logging.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= ><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= >Hope this helps,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= ><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= >Dag<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= ><o:p>&nbsp;</o:p></span></font></p> <div> <div class=3DMsoNormal align=3Dcenter = style=3D'text-align:center;background:white'><font size=3D2 color=3D"#1f497d" face=3DCalibri><span = style=3D'font-size:11.0pt;color:#1F497D'> <hr size=3D3 width=3D"100%" noshade style=3D'color:#516C86' = align=3Dcenter> </span></font></div> <p class=3DMsoNormal style=3D'background:white'><b><font size=3D2 = color=3D"#1f497d" face=3DArial><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"; color:#1F497D;font-weight:bold'>Dag Christensen</span></font></b><font = size=3D3 color=3D"#1f497d" face=3D"Times New Roman"><span = style=3D'font-size:12.0pt; font-family:"Times New Roman","serif";color:#1F497D'><br> </span></font><font size=3D1 color=3D"#1f497d" face=3DArial><span = style=3D'font-size: 7.5pt;font-family:"Arial","sans-serif";color:#1F497D'>Senior Developer, = Visma Retail AS</span></font><font size=3D3 color=3D"#1f497d" face=3D"Times = New Roman"><span style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif";color:#1F497D'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'background:white'><b><font size=3D1 = color=3D"#1f497d" face=3DArial><span = style=3D'font-size:7.5pt;font-family:"Arial","sans-serif"; color:#1F497D;font-weight:bold'>Switchboard</span></font></b><font = size=3D1 color=3D"#1f497d" face=3DArial><span = style=3D'font-size:7.5pt;font-family:"Arial","sans-serif"; color:#1F497D'> : (856)577-9584</span></font><font size=3D3 = color=3D"#1f497d" face=3D"Times New Roman"><span = style=3D'font-size:12.0pt;font-family:"Times New Roman","serif"; color:#1F497D'><o:p></o:p></span></font></p> <div class=3DMsoNormal align=3Dcenter = style=3D'text-align:center;background:white'><font size=3D2 color=3D"#1f497d" face=3DCalibri><span = style=3D'font-size:11.0pt;color:#1F497D'> <hr size=3D3 width=3D"100%" noshade style=3D'color:#516C86' = align=3Dcenter> </span></font></div> </div> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= ><o:p>&nbsp;</o:p></span></font></p> <div> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt = 0cm 0cm 0cm'> <p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:"Tahoma","sans-serif";font-weight:bold'>From:</span></font></= b><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Vitaliy [mailto:[email protected]] <br> <b><span style=3D'font-weight:bold'>Sent:</span></b> Sunday, November = 09, 2008 10:36 AM<br> <b><span style=3D'font-weight:bold'>To:</span></b> [email protected]<br> <b><span style=3D'font-weight:bold'>Subject:</span></b> Printing a log = message of level 'ALL'<o:p></o:p></span></font></p> </div> </div> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>Hi,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>In some cases I would like to print messages to the log of my = application,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>At a level lower than &#8216;DEBUG&#8217;.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>I&#8217;ve noticed in the documentation that the level &#8216;ALL&#8217; should do = it,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>But I failed to find a way to print messages for this = level.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>For instance ILog interface has methods for printing messages of levels: &#8216;DEBUG&#8217;, &#8216;INFO&#8217;, &#8216;WARN&#8217;, &#8216;ERROR&#8217;, &#8216;FATAL&#8217;,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>But none for the level &#8216;ALL&#8217;.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>What&#8217;s the obvious I&#8217;m missing?<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>Is there any other built-in way to print to = &#8216;ALL&#8217;,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>Or should I extend that interface, and implement it = myself?<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>I would really appreciate any help,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>Vitaliy<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt;font-family:"Times New Roman","serif"'><br> <br> __________ Information from ESET NOD32 Antivirus, version of virus = signature database 3597 (20081108) __________<br> <br> The message was checked by ESET NOD32 Antivirus.<br> <br> <a = href=3D"http://www.eset.com">http://www.eset.com</a><o:p></o:p></span></f= ont></p> </div> ###########################################<br><br>This message has been = scanned by F-Secure Anti-Virus for Microsoft Exchange.<br>For more = information, connect to http://www.f-secure.com/</body> </html> ------_=_NextPart_001_01C9425C.08F4B5FF-- From [email protected] Sun Nov 09 18:45:08 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94241 invoked from network); 9 Nov 2008 18:45:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Nov 2008 18:45:08 -0000 Received: (qmail 17019 invoked by uid 500); 9 Nov 2008 18:45:14 -0000 Delivered-To: [email protected] Received: (qmail 16993 invoked by uid 500); 9 Nov 2008 18:45:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 16982 invoked by uid 99); 9 Nov 2008 18:45:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Nov 2008 10:45:14 -0800 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO out4.bezeqint.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Nov 2008 18:43:52 +0000 Received: from mail.dbsophic.com (bzq-219-145-62.static.bezeqint.net [161.129.204.104]) by out4.bezeqint.net (Postfix) with ESMTPA id 4F3F8B087E4; Sun, 9 Nov 2008 20:36:31 +0200 (IST) Received: from ex01.dbsophicHQ.com ([161.129.204.104]) by ex01.dbsophicHQ.com ([161.129.204.104]) with mapi; Sun, 9 Nov 2008 20:32:49 +0200 From: Vitaliy <[email protected]> To: "[email protected]" <[email protected]> CC: Log4NET User <[email protected]> Date: Sun, 9 Nov 2008 20:32:47 +0200 Subject: RE: Printing a log message of level 'ALL' Thread-Topic: Printing a log message of level 'ALL' Thread-Index: AclCTprmRrLzGuPwQ72ersvdtLtSYgACGB5gABCf5zA= Message-ID: <[email protected]> References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_B0DE8B66453D0F4AA67D2A150934999B048C0D8E6Dex01dbsophicH_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_B0DE8B66453D0F4AA67D2A150934999B048C0D8E6Dex01dbsophicH_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Thanks! That did it. Vitaliy From: Dag Christensen [mailto:[email protected]] Sent: Sunday, November 09, 2008 13:12 To: Log4NET User Subject: RE: Printing a log message of level 'ALL' You can invoke log.Logger.Log passing log4net.Core.Level.Verbose as the log= level. Levels in log4net are integers in increasing order. If the level of your lo= g event is equal to or higher than your logger's level the event will be pa= ssed on to its appenders. Level.All equals int.MinValue, Level.Verbose.Valu= e=3D 10000, Level.Debug.Value=3D 30000 etc. Level.Off (int.MaxValue) disabl= es all logging. Hope this helps, Dag ________________________________ Dag Christensen Senior Developer, Visma Retail AS Switchboard : (856)577-9584 ________________________________ From: Vitaliy [mailto:[email protected]] Sent: Sunday, November 09, 2008 10:36 AM To: [email protected] Subject: Printing a log message of level 'ALL' Hi, In some cases I would like to print messages to the log of my application, At a level lower than 'DEBUG'. I've noticed in the documentation that the level 'ALL' should do it, But I failed to find a way to print messages for this level. For instance ILog interface has methods for printing messages of levels: 'D= EBUG', 'INFO', 'WARN', 'ERROR', 'FATAL', But none for the level 'ALL'. What's the obvious I'm missing? Is there any other built-in way to print to 'ALL', Or should I extend that interface, and implement it myself? I would really appreciate any help, Vitaliy __________ Information from ESET NOD32 Antivirus, version of virus signatur= e database 3597 (20081108) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange= . For more information, connect to http://www.f-secure.com/ --_000_B0DE8B66453D0F4AA67D2A150934999B048C0D8E6Dex01dbsophicH_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:x=3D"urn:schemas-microsoft-com:office:excel" xmlns:p=3D"urn:schemas-m= icrosoft-com:office:powerpoint" xmlns:a=3D"urn:schemas-microsoft-com:office= :access" xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s=3D"= uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs=3D"urn:schemas-microsof= t-com:rowset" xmlns:z=3D"#RowsetSchema" xmlns:b=3D"urn:schemas-microsoft-co= m:office:publisher" xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadshee= t" xmlns:c=3D"urn:schemas-microsoft-com:office:component:spreadsheet" xmlns= :odc=3D"urn:schemas-microsoft-com:office:odc" xmlns:oa=3D"urn:schemas-micro= soft-com:office:activation" xmlns:html=3D"http://www.w3.org/TR/REC-html40" = xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" xmlns:D=3D"DAV:" xmln= s:x2=3D"http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois=3D"ht= tp://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir=3D"http://schema= s.microsoft.com/sharepoint/soap/directory/" xmlns:ds=3D"http://www.w3.org/2= 000/09/xmldsig#" xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint/dsp" = xmlns:udc=3D"http://schemas.microsoft.com/data/udc" xmlns:xsd=3D"http://www= .w3.org/2001/XMLSchema" xmlns:sub=3D"http://schemas.microsoft.com/sharepoin= t/soap/2002/1/alerts/" xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#" xmlns= :sp=3D"http://schemas.microsoft.com/sharepoint/" xmlns:sps=3D"http://schema= s.microsoft.com/sharepoint/soap/" xmlns:xsi=3D"http://www.w3.org/2001/XMLSc= hema-instance" xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile= " xmlns:wf=3D"http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns= :mver=3D"http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns= :m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels=3D"http= ://schemas.openxmlformats.org/package/2006/relationships" xmlns:ex12t=3D"ht= tp://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m=3D"htt= p://schemas.microsoft.com/exchange/services/2006/messages" xmlns:Z=3D"urn:s= chemas-microsoft-com:" xmlns:st=3D"&#1;" xmlns=3D"http://www.w3.org/TR/REC-= html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-ascii"= > <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:windowtext;} span.EmailStyle18 {mso-style-type:personal; font-family:"Arial","sans-serif"; color:#1F497D;} span.EmailStyle19 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><span style=3D'color:#1F497D'>Thanks!<o:p></o:p></span= ></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>That did it.<o:p></o:p><= /span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>Vitaliy<o:p></o:p></span= ></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <div> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in = 0in 0in'> <p class=3DMsoNormal><b><span style=3D'font-size:10.0pt;font-family:"Tahoma= ","sans-serif"'>From:</span></b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Dag Christens= en [mailto:[email protected]] <br> <b>Sent:</b> Sunday, November 09, 2008 13:12<br> <b>To:</b> Log4NET User<br> <b>Subject:</b> RE: Printing a log message of level 'ALL'<o:p></o:p></span>= </p> </div> </div> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'>You can invoke log.Logger.Log passing log4net.Core.Level.Ver= bose as the log level.<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'>Levels in log4net are integers in increasing order. If the l= evel of your log event is equal to or higher than your logger&#8217;s level the = event will be passed on to its appenders. Level.All equals int.MinValue, Level.Verbose.Value=3D 10000, Level.Debug.Value=3D 30000 etc. Level.Off (int.MaxValue) disables all logging.<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'>Hope this helps,<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'>Dag<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <div> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center;background= :white'><span style=3D'color:#1F497D'> <hr size=3D3 width=3D"100%" noshade style=3D'color:#516C86' align=3Dcenter> </span></div> <p class=3DMsoNormal style=3D'background:white'><b><span style=3D'font-size= :10.0pt; font-family:"Arial","sans-serif";color:#1F497D'>Dag Christensen</span></b><= span style=3D'font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F49= 7D'><br> </span><span style=3D'font-size:7.5pt;font-family:"Arial","sans-serif"; color:#1F497D'>Senior Developer, Visma Retail AS</span><span style=3D'font-= size: 12.0pt;font-family:"Times New Roman","serif";color:#1F497D'><o:p></o:p></sp= an></p> <p class=3DMsoNormal style=3D'background:white'><b><span style=3D'font-size= :7.5pt; font-family:"Arial","sans-serif";color:#1F497D'>Switchboard</span></b><span style=3D'font-size:7.5pt;font-family:"Arial","sans-serif";color:#1F497D'> := +47 33 34 94 00</span><span style=3D'font-size:12.0pt;font-family:"Times New Ro= man","serif"; color:#1F497D'><o:p></o:p></span></p> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center;background= :white'><span style=3D'color:#1F497D'> <hr size=3D3 width=3D"100%" noshade style=3D'color:#516C86' align=3Dcenter> </span></div> </div> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <div> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in = 0in 0in'> <p class=3DMsoNormal><b><span style=3D'font-size:10.0pt;font-family:"Tahoma= ","sans-serif"'>From:</span></b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Vitaliy [mailto:[email protected]] <br> <b>Sent:</b> Sunday, November 09, 2008 10:36 AM<br> <b>To:</b> [email protected]<br> <b>Subject:</b> Printing a log message of level 'ALL'<o:p></o:p></span></p> </div> </div> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>Hi,<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>In some cases I would like to print messages to the lo= g of my application,<o:p></o:p></p> <p class=3DMsoNormal>At a level lower than &#8216;DEBUG&#8217;.<o:p></o:p><= /p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>I&#8217;ve noticed in the documentation that the level= &#8216;ALL&#8217; should do it,<o:p></o:p></p> <p class=3DMsoNormal>But I failed to find a way to print messages for this = level.<o:p></o:p></p> <p class=3DMsoNormal>For instance ILog interface has methods for printing messages of levels: &#8216;DEBUG&#8217;, &#8216;INFO&#8217;, &#8216;WARN&#8= 217;, &#8216;ERROR&#8217;, &#8216;FATAL&#8217;,<o:p></o:p></p> <p class=3DMsoNormal>But none for the level &#8216;ALL&#8217;.<o:p></o:p></= p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>What&#8217;s the obvious I&#8217;m missing?<o:p></o:p>= </p> <p class=3DMsoNormal>Is there any other built-in way to print to &#8216;ALL= &#8217;,<o:p></o:p></p> <p class=3DMsoNormal>Or should I extend that interface, and implement it my= self?<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>I would really appreciate any help,<o:p></o:p></p> <p class=3DMsoNormal>Vitaliy<o:p></o:p></p> <p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New= Roman","serif"'><br> <br> __________ Information from ESET NOD32 Antivirus, version of virus signatur= e database 3597 (20081108) __________<br> <br> The message was checked by ESET NOD32 Antivirus.<br> <br> <a href=3D"http://www.eset.com">http://www.eset.com</a><o:p></o:p></span></= p> <p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New= Roman","serif"'>###########################################<br> <br> This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange= .<br> For more information, connect to http://www.f-secure.com/<o:p></o:p></span>= </p> </div> </body> </html> --_000_B0DE8B66453D0F4AA67D2A150934999B048C0D8E6Dex01dbsophicH_-- From [email protected] Mon Nov 10 09:57:45 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2101 invoked from network); 10 Nov 2008 09:57:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Nov 2008 09:57:45 -0000 Received: (qmail 89697 invoked by uid 500); 10 Nov 2008 09:57:51 -0000 Delivered-To: [email protected] Received: (qmail 89667 invoked by uid 500); 10 Nov 2008 09:57:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 89651 invoked by uid 99); 10 Nov 2008 09:57:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Nov 2008 01:57:51 -0800 X-ASF-Spam-Status: No, hits=4.8 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WEIRD_QUOTING X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO bay0-omc1-s33.bay0.hotmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Nov 2008 09:56:29 +0000 Received: from BAY102-W11 ([161.129.204.104]) by bay0-omc1-s33.bay0.hotmail.com with Microsoft SMTPSVC(856)577-9584); Mon, 10 Nov 2008 01:57:11 -0800 Message-ID: <[email protected]> Content-Type: multipart/alternative; boundary="_de6e8773-8af2-4411-9057-c09ac42de527_" X-Originating-IP: [161.129.204.104] From: Paul Franklin <[email protected]> To: <[email protected]> Subject: RE: Problems with Network Drive Date: Mon, 10 Nov 2008 09:57:11 +0000 Importance: Normal In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> MIME-Version: 1.0 X-OriginalArrivalTime: 10 Nov 2008 09:57:11.0663 (UTC) FILETIME=[B3821FF0:01C9431A] X-Virus-Checked: Checked by ClamAV on apache.org --_de6e8773-8af2-4411-9057-c09ac42de527_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Steve=2C I am aware that mapped drives are only visible to the current user. Our Win= dows service is started using a specific user account and our VB.NET applic= ation is able to cope with reading in configuration files (including the lo= g4net.xml file itself) from a UNC or mapped drive using the following bit o= f code: =20 Private Sub New(ByVal configFile As String) 'check that the config file is mapped drive ConfigurationFileDetails =3D configFile =20 If Not configFile.StartsWith("\\") Then 'convert mapped drive letter Dim search As New Management.ManagementObjectSearcher("SELECT RemoteName = FROM win32_NetworkConnection WHERE LocalName =3D """ + configFile.Substring= (0=2C 2) + """") Dim remoteName As String Dim mgmtObjCollection As Management.ManagementObjectCollection =3D search= .Get() For Each mgmtObj As Management.ManagementObject In mgmtObjCollection remoteName =3D mgmtObj("RemoteName").ToString If Not IsNothing(remoteName) Then remoteName +=3D configFile.Substring(2) ConfigurationFileDetails =3D remoteName End If Next End If =20 =20 I was hoping that there might be something similar in log4net itself? =20 Paul > Date: Thu=2C 6 Nov 2008 07:08:49 +0100> From: [email protected]> To: log4ne= [email protected]> Subject: Re: FW: Problems with Network Drive> > = May i am wrong=2C but as far as i know are mapped network drives only> visi= ble for the current which created it and not for the entry system.> UNC Pat= hes are the most common way to access a network share.> > Steve> > Paul Fra= nklin schrieb:> > > > > > I am trying to log to a Network Drive using a Rol= lingFileAppender but am having problems. When I set the file parameter valu= e to a UNC value (\\servername\sharename\Alert.txt) it works fine However= =2C when I try to set it to a mapped drive value which refers to the same p= ath it fails. The internal debug is showing this: log4net:ERROR [RollingFil= eAppender] No output stream or file set for the appender named [TDALog].log= 4net: FileAppender: Opening file for writing [T:\Alert.txt] append [True]lo= g4net:ERROR [RollingFileAppender] Unable to acquire lock on file T:\Alert.t= xt. Could not find a part of the path 'T:\'.log4net:ERROR [RollingFileAppen= der] OpenFile(T:\Alert.txt=2CTrue) call failed.log4net.Appender.FileAppende= r+LockingStream+LockStateException: The file is not currently locked at log= 4net.Appender.FileAppender.LockingStream.get_CanWrite() at System.IO.Stream= Writer..ctor(Stream stream=2C Encoding encoding=2C Int32 bufferSize) at Sys= tem.IO.StreamWriter..ctor(Stream stream=2C > Encoding encoding) at log4net.= Appender.FileAppender.OpenFile(String fileName=2C Boolean append) at log4ne= t.Appender.RollingFileAppender.OpenFile(String fileName=2C Boolean append) = at log4net.Appender.FileAppender.SafeOpenFile(String fileName=2C Boolean ap= pend)log4net:ERROR [RollingFileAppender] No output stream or file set for t= he appender named [TDALog]. When I use UNC for the same file it works okay:= log4net: FileAppender: Opening file for writing [\\uncdrive\share\Alert.tx= t] append [True]log4net: XmlHierarchyConfigurator: Created Appender [TDALog= ]log4net: XmlHierarchyConfigurator: Adding appender named [TDALog] to logge= r [root].log4net: XmlHierarchyConfigurator: Retrieving an instance of log4n= et.Repository.Logger for logger [tda].log4net: XmlHierarchyConfigurator: Se= tting [trustda] additivity to [True].log4net: XmlHierarchyConfigurator: Log= ger [trustda] Level string is [DEBUG].log4net: XmlHierarchyConfigurator: Lo= gger [trustda] level set to [name=3D"DEBUG"=2Cvalue=3D30000].log4n> et: Xml= HierarchyConfigurator: Adding appender named [TDALog] to logger [tda]. Any = ideas? We would only use UNC as a last resort because the application is go= ing to be distributed to multiple sites which all use a common drive mappin= g letter> > > > Click here for FREE customisable desktop wallpapers. Get th= em Now!> > ________________________________________________________________= _> > See the most popular videos on the web > > http://clk.atdmt.com/GBL/go= /115454061/direct/01/ _________________________________________________________________ BigSnapSearch.com - 24 prizes a day=2C every day - Search Now! http://clk.atdmt.com/UKM/go/117442309/direct/01/= --_de6e8773-8af2-4411-9057-c09ac42de527_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <style> .hmmessage P { margin:0px=3B padding:0px } body.hmmessage { font-size: 10pt=3B font-family:Verdana } </style> </head> <body class=3D'hmmessage'> Steve=2C<BR> I am aware that mapped drives are only visible to the current user. Our Win= dows service is started using a specific user account and our VB.NET applic= ation is able to cope with reading in configuration&nbsp=3Bfiles (including= the log4net.xml file itself)&nbsp=3Bfrom a UNC or mapped drive&nbsp=3Busin= g the following bit of code:<BR><FONT size=3D2> </FONT><FONT color=3D#0000ff size=3D2></FONT>&nbsp=3B<BR> <FONT color=3D#0000ff size=3D2>Private</FONT><FONT size=3D2> </FONT><FONT c= olor=3D#0000ff size=3D2>Sub</FONT><FONT size=3D2> </FONT><FONT color=3D#000= 0ff size=3D2>New</FONT><FONT size=3D2>(</FONT><FONT color=3D#0000ff size=3D= 2>ByVal</FONT><FONT size=3D2> configFile </FONT><FONT color=3D#0000ff size= =3D2>As</FONT><FONT size=3D2> </FONT><FONT color=3D#0000ff size=3D2>String<= /FONT><FONT size=3D2>)<BR></FONT><FONT size=3D2> </FONT><FONT color=3D#008000 size=3D2>'check that the config file is mapped= drive<BR></FONT><FONT size=3D2> ConfigurationFileDetails =3D configFile<BR> </FONT><FONT color=3D#0000ff size=3D2></FONT>&nbsp=3B<BR> <FONT color=3D#0000ff size=3D2>If</FONT><FONT size=3D2> </FONT><FONT color= =3D#0000ff size=3D2>Not</FONT><FONT size=3D2> configFile.StartsWith(</FONT>= <FONT color=3D#a31515 size=3D2>"\\"</FONT><FONT size=3D2>) </FONT><FONT col= or=3D#0000ff size=3D2>Then<BR></FONT><FONT size=3D2> </FONT><FONT color=3D#008000 size=3D2>&nbsp=3B 'convert mapped drive letter= <BR></FONT><FONT size=3D2> </FONT><FONT color=3D#0000ff size=3D2>&nbsp=3B Dim</FONT><FONT size=3D2> se= arch </FONT><FONT color=3D#0000ff size=3D2>As</FONT><FONT size=3D2> </FONT>= <FONT color=3D#0000ff size=3D2>New</FONT><FONT size=3D2> Management.Managem= entObjectSearcher(</FONT><FONT color=3D#a31515 size=3D2>"SELECT RemoteName = FROM win32_NetworkConnection WHERE LocalName =3D """</FONT><FONT size=3D2> = +</FONT><FONT size=3D2> configFile.Substring(0=2C 2) + </FONT><FONT color= =3D#a31515 size=3D2>""""</FONT><FONT size=3D2>)<BR> </FONT><FONT color=3D#0000ff size=3D2>&nbsp=3B Dim</FONT><FONT size=3D2> re= moteName </FONT><FONT color=3D#0000ff size=3D2>As</FONT><FONT size=3D2> </F= ONT><FONT color=3D#0000ff size=3D2>String<BR></FONT><FONT size=3D2> </FONT><FONT color=3D#0000ff size=3D2>&nbsp=3B Dim</FONT><FONT size=3D2> mg= mtObjCollection </FONT><FONT color=3D#0000ff size=3D2>As</FONT><FONT size= =3D2> Management.ManagementObjectCollection =3D search.Get()<BR> </FONT><FONT color=3D#0000ff size=3D2>&nbsp=3B For</FONT><FONT size=3D2> </= FONT><FONT color=3D#0000ff size=3D2>Each</FONT><FONT size=3D2> mgmtObj </FO= NT><FONT color=3D#0000ff size=3D2>As</FONT><FONT size=3D2> Management.Manag= ementObject </FONT><FONT color=3D#0000ff size=3D2>In</FONT><FONT size=3D2> = mgmtObjCollection<BR> &nbsp=3B&nbsp=3B&nbsp=3B remoteName =3D mgmtObj(</FONT><FONT color=3D#a3151= 5 size=3D2>"RemoteName"</FONT><FONT size=3D2>).ToString<BR> </FONT><FONT color=3D#0000ff size=3D2>&nbsp=3B&nbsp=3B&nbsp=3B If</FONT><FO= NT size=3D2> </FONT><FONT color=3D#0000ff size=3D2>Not</FONT><FONT size=3D2= > IsNothing(remoteName) </FONT><FONT color=3D#0000ff size=3D2>Then<BR></FON= T><FONT size=3D2> &nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B remoteName +=3D configFile= .Substring(2)<BR> &nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B ConfigurationFileDetails = =3D remoteName<BR> </FONT><FONT color=3D#0000ff size=3D2>&nbsp=3B&nbsp=3B&nbsp=3B End</FONT><F= ONT size=3D2> </FONT><FONT color=3D#0000ff size=3D2>If<BR></FONT><FONT size= =3D2> </FONT><FONT color=3D#0000ff size=3D2>&nbsp=3B Next<BR></FONT><FONT size=3D= 2> </FONT><FONT color=3D#0000ff size=3D2>End</FONT><FONT size=3D2> </FONT><FON= T color=3D#0000ff size=3D2>If<BR> </FONT>&nbsp=3B<BR> &nbsp=3B<BR> I was hoping that there might be something similar in log4net itself?<BR> &nbsp=3B<BR> Paul<BR> <BR><BR>&gt=3B Date: Thu=2C 6 Nov 2008 07:08:49 +0100<BR>&gt=3B From: lists= @lanwin.de<BR>&gt=3B To: [email protected]<BR>&gt=3B Subject:= Re: FW: Problems with Network Drive<BR>&gt=3B <BR>&gt=3B May i am wrong=2C= but as far as i know are mapped network drives only<BR>&gt=3B visible for = the current which created it and not for the entry system.<BR>&gt=3B UNC Pa= thes are the most common way to access a network share.<BR>&gt=3B <BR>&gt= =3B Steve<BR>&gt=3B <BR>&gt=3B Paul Franklin schrieb:<BR>&gt=3B &gt=3B <BR>= &gt=3B &gt=3B <BR>&gt=3B &gt=3B I am trying to log to a Network Drive using= a RollingFileAppender but am having problems. When I set the file paramete= r value to a UNC value (\\servername\sharename\Alert.txt) it works fine How= ever=2C when I try to set it to a mapped drive value which refers to the sa= me path it fails. The internal debug is showing this: log4net:ERROR [Rollin= gFileAppender] No output stream or file set for the appender named [TDALog]= .log4net: FileAppender: Opening file for writing [T:\Alert.txt] append [Tru= e]log4net:ERROR [RollingFileAppender] Unable to acquire lock on file T:\Ale= rt.txt. Could not find a part of the path 'T:\'.log4net:ERROR [RollingFileA= ppender] OpenFile(T:\Alert.txt=2CTrue) call failed.log4net.Appender.FileApp= ender+LockingStream+LockStateException: The file is not currently locked at= log4net.Appender.FileAppender.LockingStream.get_CanWrite() at System.IO.St= reamWriter..ctor(Stream stream=2C Encoding encoding=2C Int32 bufferSize) at= System.IO.StreamWriter..ctor(Stream stream=2C <BR>&gt=3B Encoding encoding= ) at log4net.Appender.FileAppender.OpenFile(String fileName=2C Boolean appe= nd) at log4net.Appender.RollingFileAppender.OpenFile(String fileName=2C Boo= lean append) at log4net.Appender.FileAppender.SafeOpenFile(String fileName= =2C Boolean append)log4net:ERROR [RollingFileAppender] No output stream or = file set for the appender named [TDALog]. When I use UNC for the same file = it works okay: log4net: FileAppender: Opening file for writing [\\uncdrive\= share\Alert.txt] append [True]log4net: XmlHierarchyConfigurator: Created Ap= pender [TDALog]log4net: XmlHierarchyConfigurator: Adding appender named [TD= ALog] to logger [root].log4net: XmlHierarchyConfigurator: Retrieving an ins= tance of log4net.Repository.Logger for logger [tda].log4net: XmlHierarchyCo= nfigurator: Setting [trustda] additivity to [True].log4net: XmlHierarchyCon= figurator: Logger [trustda] Level string is [DEBUG].log4net: XmlHierarchyCo= nfigurator: Logger [trustda] level set to [name=3D"DEBUG"=2Cvalue=3D30000].= log4n<BR>&gt=3B et: XmlHierarchyConfigurator: Adding appender named [TDALog= ] to logger [tda]. Any ideas? We would only use UNC as a last resort becaus= e the application is going to be distributed to multiple sites which all us= e a common drive mapping letter<BR>&gt=3B &gt=3B <BR>&gt=3B &gt=3B Click he= re for FREE customisable desktop wallpapers. Get them Now!<BR>&gt=3B &gt=3B= _________________________________________________________________<BR>&gt= =3B &gt=3B See the most popular videos on the web <BR>&gt=3B &gt=3B http://= clk.atdmt.com/GBL/go/115454061/direct/01/<BR><BR><br /><hr />Click here for= FREE customisable desktop wallpapers. <a href=3D'http://wallpapers.msn.com= /?ocid=3D[B001MSN42A0716B]' target=3D'_new'>Get them Now!</a></body> </html>= --_de6e8773-8af2-4411-9057-c09ac42de527_-- From [email protected] Mon Nov 10 11:31:30 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37885 invoked from network); 10 Nov 2008 11:31:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Nov 2008 11:31:30 -0000 Received: (qmail 77710 invoked by uid 500); 10 Nov 2008 11:31:36 -0000 Delivered-To: [email protected] Received: (qmail 77522 invoked by uid 500); 10 Nov 2008 11:31:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 77511 invoked by uid 99); 10 Nov 2008 11:31:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Nov 2008 03:31:36 -0800 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=SPF_NEUTRAL,WEIRD_QUOTING X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO vbdtrend2.vbd.no) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Nov 2008 11:30:15 +0000 Received: from vbdex.vbd.no ([161.129.204.104]) by vbdtrend2 with InterScan Messaging Security Suite; Mon, 10 Nov 2008 12:30:55 +0100 Keywords: disclaimer X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4325 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Problems with Network Drive Date: Mon, 10 Nov 2008 12:30:53 +0100 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Problems with Network Drive thread-index: AclDGsp8dDk4oMclQwSHJeFbWZKV/gADED6Q References: <[email protected]> <[email protected]> <[email protected]> From: "Dag Christensen" <[email protected]> To: "Log4NET User" <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org I don't think I understand what the problem is? You're saying writing to UNC is fine, while log4net complains about T: = being unavailable? As Steve says, this indicates that T: isn't mapped = for the logged on user (did the login script run successfully?) Re your code below: If T: and the UNC path both points to the same = folder for the logged on user, why would you (or log4net) want to = translate T: to its equivalent UNC path? Have you tried writing directly to "T:\" from your service? (from = outside log4net) I don't think you'll see usage of WMI in core log4net. I haven't tried = this myself, but I believe you can override RollingFileAppender's File = {get; set; } if you want to implement the code you posted. Best wishes, Dag From: Paul Franklin [mailto:[email protected]]=20 Sent: Monday, November 10, 2008 10:57 AM To: [email protected] Subject: RE: Problems with Network Drive Steve, I am aware that mapped drives are only visible to the current user. Our = Windows service is started using a specific user account and our VB.NET = application is able to cope with reading in configuration files = (including the log4net.xml file itself) from a UNC or mapped drive using = the following bit of code: =20 Private Sub New(ByVal configFile As String) 'check that the config file is mapped drive ConfigurationFileDetails =3D configFile =20 If Not configFile.StartsWith("\\") Then 'convert mapped drive letter Dim search As New Management.ManagementObjectSearcher("SELECT = RemoteName FROM win32_NetworkConnection WHERE LocalName =3D """ + = configFile.Substring(0, 2) + """") Dim remoteName As String Dim mgmtObjCollection As Management.ManagementObjectCollection =3D = search.Get() For Each mgmtObj As Management.ManagementObject In mgmtObjCollection remoteName =3D mgmtObj("RemoteName").ToString If Not IsNothing(remoteName) Then remoteName +=3D configFile.Substring(2) ConfigurationFileDetails =3D remoteName End If Next End If =20 =20 I was hoping that there might be something similar in log4net itself? =20 Paul > Date: Thu, 6 Nov 2008 07:08:49 +0100 > From: [email protected] > To: [email protected] > Subject: Re: FW: Problems with Network Drive >=20 > May i am wrong, but as far as i know are mapped network drives only > visible for the current which created it and not for the entry system. > UNC Pathes are the most common way to access a network share. >=20 > Steve >=20 > Paul Franklin schrieb: > >=20 > >=20 > > I am trying to log to a Network Drive using a RollingFileAppender = but am having problems. When I set the file parameter value to a UNC = value (\\servername\sharename\Alert.txt) it works fine However, when I = try to set it to a mapped drive value which refers to the same path it = fails. The internal debug is showing this: log4net:ERROR = [RollingFileAppender] No output stream or file set for the appender = named [TDALog].log4net: FileAppender: Opening file for writing = [T:\Alert.txt] append [True]log4net:ERROR [RollingFileAppender] Unable = to acquire lock on file T:\Alert.txt. Could not find a part of the path = 'T:\'.log4net:ERROR [RollingFileAppender] OpenFile(T:\Alert.txt,True) = call = failed.log4net.Appender.FileAppender+LockingStream+LockStateException: = The file is not currently locked at = log4net.Appender.FileAppender.LockingStream.get_CanWrite() at = System.IO.StreamWriter..ctor(Stream stream, Encoding encoding, Int32 = bufferSize) at System.IO.StreamWriter..ctor(Stream stream,=20 > Encoding encoding) at log4net.Appender.FileAppender.OpenFile(String = fileName, Boolean append) at = log4net.Appender.RollingFileAppender.OpenFile(String fileName, Boolean = append) at log4net.Appender.FileAppender.SafeOpenFile(String fileName, = Boolean append)log4net:ERROR [RollingFileAppender] No output stream or = file set for the appender named [TDALog]. When I use UNC for the same = file it works okay: log4net: FileAppender: Opening file for writing = [\\uncdrive\share\Alert.txt] append [True]log4net: = XmlHierarchyConfigurator: Created Appender [TDALog]log4net: = XmlHierarchyConfigurator: Adding appender named [TDALog] to logger = [root].log4net: XmlHierarchyConfigurator: Retrieving an instance of = log4net.Repository.Logger for logger [tda].log4net: = XmlHierarchyConfigurator: Setting [trustda] additivity to = [True].log4net: XmlHierarchyConfigurator: Logger [trustda] Level string = is [DEBUG].log4net: XmlHierarchyConfigurator: Logger [trustda] level set = to [name=3D"DEBUG",value=3D30000].log4n > et: XmlHierarchyConfigurator: Adding appender named [TDALog] to logger = [tda]. Any ideas? We would only use UNC as a last resort because the = application is going to be distributed to multiple sites which all use a = common drive mapping letter > >=20 > > Click here for FREE customisable desktop wallpapers. Get them Now! > > _________________________________________________________________ > > See the most popular videos on the web=20 > > http://clk.atdmt.com/GBL/go/115454061/direct/01/ ________________________________________ Click here for FREE customisable desktop wallpapers. Get them Now! ###########################################=0A= =0A= This message has been scanned by F-Secure Anti-Virus for Microsoft = Exchange.=0A= For more information, connect to http://www.f-secure.com/ From [email protected] Mon Nov 10 11:51:13 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41384 invoked from network); 10 Nov 2008 11:51:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Nov 2008 11:51:13 -0000 Received: (qmail 3164 invoked by uid 500); 10 Nov 2008 11:51:19 -0000 Delivered-To: [email protected] Received: (qmail 2949 invoked by uid 500); 10 Nov 2008 11:51:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 2938 invoked by uid 99); 10 Nov 2008 11:51:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Nov 2008 03:51:17 -0800 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: local policy) Received: from [161.129.204.104] (HELO tlvcas01.nice.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Nov 2008 11:49:57 +0000 Received: from tlvcas02.nice.com (161.129.204.104) by tlvcas01.nice.com (161.129.204.104) with Microsoft SMTP Server (TLS) id 8.1.278.0; Mon, 10 Nov 2008 13:50:17 +0200 Received: from TLVMBX01.nice.com ([161.129.204.104]) by tlvcas02.nice.com ([161.129.204.104]) with mapi; Mon, 10 Nov 2008 13:50:17 +0200 From: Chen Sued <[email protected]> To: "[email protected]" <[email protected]> Date: Mon, 10 Nov 2008 13:50:16 +0200 Subject: Configuring appenders through code Thread-Topic: Configuring appenders through code Thread-Index: AclDKn/N7I0sin6xRQqjearADLBkAA== Message-ID: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_70ADDDBDE980A74CA668EB936B191AFD54CD7A6F1ETLVMBX01nicec_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_70ADDDBDE980A74CA668EB936B191AFD54CD7A6F1ETLVMBX01nicec_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I'm configuring a log4net file appender through code. 1. I would like to add some machine details at the top of each log file (no= te: this is not a regular header! Its details are picked Via code, and should be written once at the top of each newly opened log fi= le). In order to add this info to each file, I would have to get some sort of an event for a new file being opened (after previous file has reached maximum size as configured). How could I get such an event? How could I add details at the head of each = new log file, without using the 'Header' option? 2. Regardless the previous question, is there a way to set the log file hea= der and footer via code? (The header and footer properties are read-only). Best Regards, Chen Sued Software Engineer Core Applications, R&D NICE Systems Ltd. Israel (T) (856)577-9584 (F) (856)577-9584 [email protected]<mailto:[email protected]> www.nice.com<http://www.nice.com> --_000_70ADDDBDE980A74CA668EB936B191AFD54CD7A6F1ETLVMBX01nicec_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:sc= hemas-microsoft-com:office:word" xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-ascii"= > <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Verdana; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:Arial; color:windowtext;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1= 0.0pt; font-family:Arial'>Hi,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1= 0.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1= 0.0pt; font-family:Arial'>I'm configuring a log4net file appender through code.<o:= p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1= 0.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1= 0.0pt; font-family:Arial'>1. I would like to add some machine details at the top o= f each log file (note: this is not a regular header! Its details are picked <= o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1= 0.0pt; font-family:Arial'>Via code, and should be written once at the top of each newly opened log file). In order to add this info to each file, <o:p></o:p>= </span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1= 0.0pt; font-family:Arial'>I would have to get some sort of an event for a new file being opened<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1= 0.0pt; font-family:Arial'>(after previous file has reached maximum size as configured).<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1= 0.0pt; font-family:Arial'>How could I get such an event? How could I add details a= t the head of each new log file, without using the &#8216;Header&#8217; optio= n?<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1= 0.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1= 0.0pt; font-family:Arial'>2. Regardless the previous question, is there a way to s= et the log file header and footer via code? <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1= 0.0pt; font-family:Arial'>(The header and footer properties are read-only).<o:p></= o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1= 0.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1= 0.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DVerdana><span style= =3D'font-size: 10.0pt;font-family:Verdana;color:navy'>Best Regards,</span></font><o:p></o:= p></p> <p class=3DMsoNormal><b><font size=3D2 color=3Dnavy face=3DVerdana><span style=3D'font-size:10.0pt;font-family:Verdana;color:navy;font-weight:bold'>= Chen&nbsp;Sued</span></font></b><o:p></o:p></p> <p class=3DMsoNormal><strong><b><font size=3D1 color=3Dgray face=3DVerdana>= <span style=3D'font-size:7.5pt;font-family:Verdana;color:gray'>Software Engineer<= o:p></o:p></span></font></b></strong></p> <p class=3DMsoNormal><b><font size=3D1 color=3Dgray face=3DVerdana><span style=3D'font-size:7.5pt;font-family:Verdana;color:gray;font-weight:bold'>C= ore Applications, R&amp;D</span></font></b><o:p></o:p></p> <p class=3DMsoNormal><font size=3D1 color=3Dgray face=3DVerdana><span lang= =3DDE style=3D'font-size:7.5pt;font-family:Verdana;color:gray'>NICE Systems Ltd. = Israel<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dgray face=3DVerdana><span lang= =3DDE style=3D'font-size:7.5pt;font-family:Verdana;color:gray'><o:p>&nbsp;</o:p><= /span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DVerdana><span lang= =3DFR style=3D'font-size:7.5pt;font-family:Verdana;color:navy'>(T) + (972) 9 7753= 127<br> (F) (856)577-9584<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DVerdana><span lang= =3DFR style=3D'font-size:7.5pt;font-family:Verdana;color:navy'><a href=3D"mailto:[email protected]" title=3D"mailto:[email protected]">Chen.Su= [email protected]</a></span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D3 color=3Dnavy face=3DVerdana><span lang= =3DFR style=3D'font-size:12.0pt;font-family:Verdana;color:navy'><a href=3D"http://www.nice.com" title=3D"http://www.nice.com/&#10;http://www.n= ice.com/"><font size=3D1 title=3D"http://www.nice.com/"><span title=3D"http://www.nice.com/= "><span style=3D'font-size:7.5pt'>www.nice.com</span></span></font></a></span></fon= t><o:p></o:p></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D= 'font-size: 12.0pt'>&nbsp;</span></font><font color=3Dnavy face=3DVerdana><span lang=3D= FR style=3D'font-family:Verdana;color:navy'><o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D= 'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> </div> </body> </html> --_000_70ADDDBDE980A74CA668EB936B191AFD54CD7A6F1ETLVMBX01nicec_-- From [email protected] Mon Nov 10 15:13:29 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47328 invoked from network); 10 Nov 2008 15:13:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Nov 2008 15:13:29 -0000 Received: (qmail 60869 invoked by uid 500); 10 Nov 2008 15:13:35 -0000 Delivered-To: [email protected] Received: (qmail 60844 invoked by uid 500); 10 Nov 2008 15:13:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 60833 invoked by uid 99); 10 Nov 2008 15:13:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Nov 2008 07:13:35 -0800 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_HOTMAIL_RCVD2,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Nov 2008 15:12:13 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1KzYRj-00007z-GJ for [email protected]; Mon, 10 Nov 2008 07:12:55 -0800 Message-ID: <[email protected]> Date: Mon, 10 Nov 2008 07:12:55 -0800 (PST) From: asunar <[email protected]> To: [email protected] Subject: Rolling database table appender (AdoNetAppender) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org Scenario: ASP.NET 2.0 application using AdoNetAppender to log custom data to a SQL Server 2005 database table. Question: Is there a way to configure log4net so that the size of the database table or number of records in the table don't exceed a certain threshold? For ex. Can we configure log4net to * delete oldest records if table rowcount is greater than X OR * delete oldest records if table size is greater than X KB * delete records that are older than mm/dd/yyyy ? Thanks. -- View this message in context: http://www.nabble.com/Rolling-database-table-appender-%28AdoNetAppender%29-tp20421785p20421785.html Sent from the Log4net - Users mailing list [email protected]. From [email protected] Tue Nov 11 16:08:26 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 72598 invoked from network); 11 Nov 2008 16:08:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Nov 2008 16:08:26 -0000 Received: (qmail 9284 invoked by uid 500); 11 Nov 2008 16:08:33 -0000 Delivered-To: [email protected] Received: (qmail 8871 invoked by uid 500); 11 Nov 2008 16:08:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 8859 invoked by uid 99); 11 Nov 2008 16:08:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Nov 2008 08:08:32 -0800 X-ASF-Spam-Status: No, hits=-0.8 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO VA3EHSOBE002.bigfish.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Nov 2008 16:07:09 +0000 Received: from mail51-va3-R.bigfish.com (161.129.204.104) by VA3EHSOBE002.bigfish.com (161.129.204.104) with Microsoft SMTP Server id 8.1.291.1; Tue, 11 Nov 2008 16:07:49 +0000 Received: from mail51-va3 (localhost.localdomain [161.129.204.104]) by mail51-va3-R.bigfish.com (Postfix) with ESMTP id 26AD0189006E for <[email protected]>; Tue, 11 Nov 2008 16:07:49 +0000 (UTC) X-BigFish: VS-47(zz1417L9370P14e0Q1443R936fO12c9M9371P19c2kzzzz2f39iz2dh6bh61h) X-Spam-TCS-SCL: 0:0 X-FB-SS: 5, Received: by mail51-va3 (MessageSwitch) id 1226419664348520_21332; Tue, 11 Nov 2008 16:07:44 +0000 (UCT) Received: from ebs-exch01.ebsglobal.net (webmail.ebsglobal.net [161.129.204.104]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail51-va3.bigfish.com (Postfix) with ESMTP id B727E12B8066 for <[email protected]>; Tue, 11 Nov 2008 16:07:43 +0000 (UTC) Received: from ebs-exch01.EBSGlobal.net ([161.129.204.104]) by ebs-exch01.EBSGlobal.net ([161.129.204.104]) with mapi; Tue, 11 Nov 2008 16:07:40 +0000 From: "Gourlay, Colin" <[email protected]> To: Log4NET User <[email protected]> Date: Tue, 11 Nov 2008 16:07:33 +0000 Subject: RE: SQL 2005 Database Mirroring Support Thread-Topic: SQL 2005 Database Mirroring Support Thread-Index: AclABx7LeDKSeqlERRG9sxB5cvHsKgABgAbwAQJc00A= Message-ID: <[email protected]> References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-GB Content-Type: multipart/alternative; boundary="_000_7E418EB425E58A49BCCEC5A4450F7B1E24093DAFDBebsexch01EBSG_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_7E418EB425E58A49BCCEC5A4450F7B1E24093DAFDBebsexch01EBSG_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Dag. Thanks for your response. Unfortunately I am still no further forward on t= his despite following your suggestion. I have included further information= if this helps. Suggestions/Advice are very much appreciated. Both servers are fully service packed and are running with Log4Net v1.2.10 SQL 2005 .Net 3.5 My log4net configuration is as follows: <log4net> <root> <level value=3D"DEBUG" /> <appender-ref ref=3D"LogToS= qlServer"/> </root> <appender name=3D"LogToSqlServer" type=3D"l= og4net.Appender.AdoNetAppender"> <filter type=3D"log4net.Fil= ter.LoggerMatchFilter"> <loggerToMa= tch value=3D"NHibernate" /> <acceptOnMa= tch value=3D"false" /> </filter> <bufferSize value=3D"0"/> <!--<threshold value=3D"DEB= UG"/>--> <connectionType value=3D"Sy= stem.Data.SqlClient.SqlConnection, System.Data, Version=3D1.0.3300.0, Cultu= re=3Dneutral, PublicKeyToken=3Db77a5c561934e089"/> <connectionString value=3D"= data source=3D<SERVER-NAME-IS-HERE>;initial catalog=3D<LOGGING-DATABASE-IS-= HERE>;integrated security=3Dtrue;"/> <commandText value=3D"EXEC = <STORED-PROC-NAME-IS-HERE> @User, @Logger, @LoggingLevel, @Message"/> <parameter> <parameterN= ame value=3D"@User"/> <dbType val= ue=3D"String"/> <size value= =3D"255"/> <layout typ= e=3D"log4net.Layout.PatternLayout"> = <conversionPattern value=3D"%identity"/> </layout> </parameter> <parameter> <parameterN= ame value=3D"@Logger"/> <dbType val= ue=3D"String"/> <size value= =3D"255"/> <layout typ= e=3D"log4net.Layout.PatternLayout" value=3D"%logger"/> </parameter> <parameter> <parameterN= ame value=3D"@LoggingLevel"/> <dbType val= ue=3D"String"/> <size value= =3D"50"/> <layout typ= e=3D"log4net.Layout.PatternLayout" value=3D"%level"/> </parameter> <parameter> <parameterN= ame value=3D"@Message"/> <dbType val= ue=3D"String"/> <size value= =3D"4000"/> <layout typ= e=3D"log4net.Layout.PatternLayout" value=3D"%message"/> </parameter> </appender> </log4net> From: Dag Christensen [mailto:[email protected]] Sent: 06 November 2008 13:06 To: Log4NET User Subject: RE: SQL 2005 Database Mirroring Support Importance: Low Should be handled transparently if you're using SqlClient or native client = and a correct connection string. I think log4net uses OLE DB by default, yo= u might want to try changing this to SqlClient. If it still doesn't work, try setting your appender's ReconnectOnError to t= rue. It would also be helpful if you posted the versions you're using (log4net, = SQL server 2005 service pack?, .NET framework version and service pack?) an= d your log4net configuration. Best wishes, Dag From: Gourlay, Colin [mailto:[email protected]] Sent: Thursday, November 06, 2008 12:59 PM To: Log4NET User Subject: SQL 2005 Database Mirroring Support Does log4net support the database mirroring feature in SQL 2005? It logs quite happily when logging to our primary database but when I failo= ver logging ceases to work - in that nothing is logged - when I failback lo= gging works as before. The mirroring has been configured correctly (test h= as been done to verify this) so I think I can rule this out. Other than the following entry (as per http://blogs.technet.com/johnbaker/a= rchive/2005/10/06/412126.aspx) included in my connection string is there so= mething else required? failover partner=3DMyFailoverDatabaseServer Is there anything else I should be considering? Thanks in advance. Colin ________________________________ Edinburgh Business School is a Charity Registered in Scotland, SC026900 ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange= . For more information, connect to http://www.f-secure.com/ --_000_7E418EB425E58A49BCCEC5A4450F7B1E24093DAFDBebsexch01EBSG_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:x=3D"urn:schemas-microsoft-com:office:excel" xmlns:p=3D"urn:schemas-m= icrosoft-com:office:powerpoint" xmlns:a=3D"urn:schemas-microsoft-com:office= :access" xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s=3D"= uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs=3D"urn:schemas-microsof= t-com:rowset" xmlns:z=3D"#RowsetSchema" xmlns:b=3D"urn:schemas-microsoft-co= m:office:publisher" xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadshee= t" xmlns:c=3D"urn:schemas-microsoft-com:office:component:spreadsheet" xmlns= :odc=3D"urn:schemas-microsoft-com:office:odc" xmlns:oa=3D"urn:schemas-micro= soft-com:office:activation" xmlns:html=3D"http://www.w3.org/TR/REC-html40" = xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" xmlns:D=3D"DAV:" xmln= s:x2=3D"http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois=3D"ht= tp://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir=3D"http://schema= s.microsoft.com/sharepoint/soap/directory/" xmlns:ds=3D"http://www.w3.org/2= 000/09/xmldsig#" xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint/dsp" = xmlns:udc=3D"http://schemas.microsoft.com/data/udc" xmlns:xsd=3D"http://www= .w3.org/2001/XMLSchema" xmlns:sub=3D"http://schemas.microsoft.com/sharepoin= t/soap/2002/1/alerts/" xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#" xmlns= :sp=3D"http://schemas.microsoft.com/sharepoint/" xmlns:sps=3D"http://schema= s.microsoft.com/sharepoint/soap/" xmlns:xsi=3D"http://www.w3.org/2001/XMLSc= hema-instance" xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile= " xmlns:wf=3D"http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns= :mver=3D"http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns= :m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels=3D"http= ://schemas.openxmlformats.org/package/2006/relationships" xmlns:ex12t=3D"ht= tp://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m=3D"htt= p://schemas.microsoft.com/exchange/services/2006/messages" xmlns:Z=3D"urn:s= chemas-microsoft-com:" xmlns:st=3D"&#1;" xmlns=3D"http://www.w3.org/TR/REC-= html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} code {mso-style-priority:99; font-family:"Courier New";} span.EmailStyle18 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:windowtext;} span.EmailStyle19 {mso-style-type:personal; font-family:"Arial","sans-serif"; color:#1F497D;} span.EmailStyle20 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><span style=3D'color:#1F497D'>Hi Dag.<o:p></o:p></span= ></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>Thanks for your response= .&nbsp; Unfortunately I am still no further forward on this despite following your suggestion.&nbsp; I have included further information if this helps.&nbsp; Suggestions/Advice are very much appreciated.<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>Both servers are fully s= ervice packed and are running with <o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>Log4Net &nbsp;v1.2.10<o:= p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>SQL 2005<o:p></o:p></spa= n></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>.Net 3.5 <o:p></o:p></sp= an></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>My log4net configuration= is as follows:<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <p class=3DMsoNormal style=3D'text-indent:36.0pt'><span style=3D'color:#1F4= 97D'>&lt;log4net&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp; &lt;root&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;level value=3D&quot;DEBUG&quot; /&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;appender-ref ref=3D&quot;LogToSqlServer&quot;/&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp; &lt;/root&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp; &lt;appender name=3D&quot;LogToSqlServer&quot; type=3D&quot;log4net.Appender.AdoNetAppender&quot;&gt;<o:p></o:p></span></p= > <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;filter type=3D&quot;log4net.Filter.LoggerMatchFilter&quot;&gt;<o:p></o:p></span></= p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;loggerToMatch value=3D&quot;NHibernate&quot; /&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;acceptOnMatch value=3D&quot;false&quot; /&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/filter&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;bufferSize value=3D&quot;0&quot;/&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--&lt;threshold value=3D&quot;DEBUG&quot;/&gt;--&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;connectionType value=3D&quot;System.Data.SqlClient.SqlConnection, System.Data, Version=3D1.0.3300.0, Culture=3Dneutral, PublicKeyToken=3Db77a5c561934e089&= quot;/&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;connectionString value=3D&quot;data source=3D&lt;SERVER-NAME-IS-HERE&gt;;initial catalog=3D&= lt;LOGGING-DATABASE-IS-HERE&gt;;integrated security=3Dtrue;&quot;/&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;commandText value=3D&quot;EXEC &lt;STORED-PROC-NAME-IS-HERE&gt; @User, @Logger, @LoggingLevel, @Message&quot;/&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterName value=3D&quot;@User&quot;/&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dbType value=3D&quot;String&quot;/&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;size value=3D&quot;255&quot;/&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;layout type=3D&quot;log4net.Layout.PatternLayout&quot;&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &lt;conversionPattern value=3D&quot;%identity&quot;/&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/layout&gt;<o:p>= </o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameter&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterName value=3D&quot;@Logger&quot;/&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dbType value=3D&quot;String&quot;/&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;size value=3D&quot;255&quot;/&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;layout type=3D&quot;log4net.Layout.PatternLayout&quot; value=3D&quot;%logger&quot;= /&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameter&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterName value=3D&quot;@LoggingLevel&quot;/&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dbType value=3D&quot;String&quot;/&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;size value=3D&quot;50&quot;/&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;layout type=3D&quot;log4net.Layout.PatternLayout&quot; value=3D&quot;%level&quot;/= &gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameter&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterName value=3D&quot;@Message&quot;/&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dbType value=3D&quot;String&quot;/&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;size value=3D&quot;4000&quot;/&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;layout type=3D&quot;log4net.Layout.PatternLayout&quot; value=3D&quot;%message&quot= ;/&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameter&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp; &lt;/appender&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/log= 4net&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <div> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm = 0cm 0cm'> <p class=3DMsoNormal><b><span style=3D'font-size:10.0pt;font-family:"Tahoma= ","sans-serif"'>From:</span></b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Dag Christens= en [mailto:[email protected]] <br> <b>Sent:</b> 06 November 2008 13:06<br> <b>To:</b> Log4NET User<br> <b>Subject:</b> RE: SQL 2005 Database Mirroring Support<br> <b>Importance:</b> Low<o:p></o:p></span></p> </div> </div> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'>Should be handled transparently if you&#8217;re using SqlCli= ent or native client and a correct connection string. I think log4net uses OLE = DB by default, you might want to try changing this to SqlClient.<o:p></o:p></s= pan></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'>If it still doesn&#8217;t work, try setting your appender&#8217;s ReconnectOnError to true.<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'>It would also be helpful if you posted the versions you&#821= 7;re using (log4net, SQL server 2005 service pack?, .NET framework version and service pack?) and your log4net configuration.<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'>Best wishes,<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'>Dag<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <div> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm = 0cm 0cm'> <p class=3DMsoNormal><b><span style=3D'font-size:10.0pt;font-family:"Tahoma= ","sans-serif"'>From:</span></b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Gourlay, Coli= n [mailto:[email protected]] <br> <b>Sent:</b> Thursday, November 06, 2008 12:59 PM<br> <b>To:</b> Log4NET User<br> <b>Subject:</b> SQL 2005 Database Mirroring Support<o:p></o:p></span></p> </div> </div> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>Does log4net support the database mirroring feature in= SQL 2005? <o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>It logs quite happily when logging to our primary data= base but when I failover logging ceases to work &#8211; in that nothing is logge= d &#8211; when I failback logging works as before.&nbsp; The mirroring has be= en configured correctly (test has been done to verify this) so I think I can r= ule this out.<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>Other than the following entry (as per <a href=3D"http://blogs.technet.com/johnbaker/archive/2005/10/06/412126.aspx">= http://blogs.technet.com/johnbaker/archive/2005/10/06/412126.aspx</a>) included in my connection string is there something else required?<o:p></o:= p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal><code><span lang=3DEN style=3D'font-size:10.0pt'>failo= ver partner=3DMyFailoverDatabaseServer</span></code><o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>Is there anything else I should be considering?<o:p></= o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>Thanks in advance.<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>Colin<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New= Roman","serif"'><o:p>&nbsp;</o:p></span></p> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><span style=3D'font-size:12.0pt;font-family:"Times New Roman","serif"'> <hr size=3D2 width=3D"100%" align=3Dcenter> </span></div> <p class=3DMsoNormal><span style=3D'font-size:7.5pt;font-family:"Arial","sa= ns-serif"; color:gray'><br> Edinburgh Business School is a Charity Registered in Scotland, SC026900</sp= an><span style=3D'font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p= ></span></p> <p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New= Roman","serif"'>###########################################<br> <br> This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange= .<br> For more information, connect to http://www.f-secure.com/<o:p></o:p></span>= </p> </div> </body> </html> --_000_7E418EB425E58A49BCCEC5A4450F7B1E24093DAFDBebsexch01EBSG_-- From [email protected] Tue Nov 11 21:34:52 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60451 invoked from network); 11 Nov 2008 21:34:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Nov 2008 21:34:52 -0000 Received: (qmail 32234 invoked by uid 500); 11 Nov 2008 21:34:58 -0000 Delivered-To: [email protected] Received: (qmail 32210 invoked by uid 500); 11 Nov 2008 21:34:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 32199 invoked by uid 99); 11 Nov 2008 21:34:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Nov 2008 13:34:58 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Nov 2008 21:33:37 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1L00sO-0002yz-5V for [email protected]; Tue, 11 Nov 2008 13:34:20 -0800 Message-ID: <[email protected]> Date: Tue, 11 Nov 2008 13:34:20 -0800 (PST) From: talktopete <[email protected]> To: [email protected] Subject: Trying to set up an EXTREMELY SIMPLE event log feature... and failing terribly! Please help a newbie MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org Hi and thanks in advance for the help. I'm tearing my hair out over here trying to get this to work: a siple logger that writes to the application section of the event log. This is using log4net 161.129.204.104 Here is the app config: -------------------------------------------------------------- <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /> </configSections> <log4net> <appender name="EventLogAppender" type="log4net.Appender.EventLogAppender" > <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" /> </layout> </appender> <root> <level value="ALL" /> <appender-ref ref="EventLogAppender" /> </root> </log4net> </configuration> -------------------------------------------------------------------- here is my code: log4net.Config.XmlConfigurator.Configure(); logger = LogManager.GetLogger("EventLogAppender"); logger.Error("test"); ------------------------------------------------------------------- No errors, nothing happens! I notice that there are no appenders. nothing is written to the event log. I am tearing my hair out trying to figure out what is going on, can somebody help? -- View this message in context: http://www.nabble.com/Trying-to-set-up-an--EXTREMELY-SIMPLE-event-log-feature...-and-failing-terribly%21-Please-help-a-newbie-tp20448428p20448428.html Sent from the Log4net - Users mailing list [email protected]. From [email protected] Tue Nov 11 22:05:30 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87919 invoked from network); 11 Nov 2008 22:05:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Nov 2008 22:05:30 -0000 Received: (qmail 96063 invoked by uid 500); 11 Nov 2008 22:05:36 -0000 Delivered-To: [email protected] Received: (qmail 96045 invoked by uid 500); 11 Nov 2008 22:05:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 96034 invoked by uid 99); 11 Nov 2008 22:05:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Nov 2008 14:05:36 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=MIME_QP_LONG_LINE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.genesis-fs.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Nov 2008 22:04:14 +0000 X-AuditID: c0a80207-000005300000060c-8b-491a01b32ae3 Received: from pdx0ech02.gfs.dom ([161.129.204.104]) by mail.genesis-fs.com with Microsoft SMTPSVC(856)577-9584); Tue, 11 Nov 2008 14:05:39 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Trying to set up an EXTREMELY SIMPLE event log feature... and failing terribly! Please help a newbie Date: Tue, 11 Nov 2008 14:05:10 -0800 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Trying to set up an EXTREMELY SIMPLE event log feature... and failing terribly! Please help a newbie thread-index: AclERVrt9tYtxByTSUmE59OljFK19gAA0uNw References: <[email protected]> From: "Francine Taylor" <[email protected]> To: "Log4NET User" <[email protected]> X-Brightmail-Tracker: AAAAAA== X-Virus-Checked: Checked by ClamAV on apache.org You didn't mention what type of application this is being run from. I have two suggestions for error checking, don't know if they will help. The first is that if you are getting errors, you won't be able to see them unless you are running from a console application (or unless you set up a trace appender to grab the errors, I haven't done that so you'll have to google for it). This will tell you if the problem is with the error logging itself. The second is a method which will tell you how your log4net is configured. It's written in C#, so you may need to translate. This should tell you if it is your log4net configuration process which is going astray. public static string GetHierarchyInformation() { Hierarchy hier =3D (Hierarchy)LogManager.GetRepository(); StringBuilder sb =3D new StringBuilder(); // first, look for it in the root sb.AppendLine("Root Information:"); sb.Append(" Name: " + hier.Name); sb.AppendLine(" Threshold: " + hier.Threshold.ToString()); sb.Append(" Root Appenders: "); foreach (IAppender a in hier.Root.Appenders) { sb.Append(a.Name + ", "); } sb.AppendLine(""); sb.AppendLine("Hierarchy Appenders:"); foreach (IAppender a in hier.GetAppenders()) { sb.AppendLine(FormatAppenderLine(a)); } sb.AppendLine("Loggers:"); foreach (ILogger l in hier.GetCurrentLoggers()) { Logger log =3D (Logger)l; sb.Append(" " + log.Name); sb.Append(" Additivity: " + log.Additivity.ToString()); sb.Append(" Level: "); if (log.Level =3D=3D null) { sb.Append("null"); } else { sb.Append(log.Level.ToString()); } sb.AppendLine(""); foreach (IAppender appender in log.Appenders) { sb.AppendLine(FormatAppenderLine(appender)); } } return sb.ToString(); } private static string FormatAppenderLine(IAppender appender) { StringBuilder sb2 =3D new StringBuilder(); sb2.Append(" Appender: " + appender.Name); sb2.Append(" Type: " + appender.GetType().ToString()); if (appender is log4net.Appender.FileAppender) { FileAppender app =3D (FileAppender)appender; sb2.Append(" File: " + app.File); } else if (appender is log4net.Appender.RollingFileAppender) { RollingFileAppender app =3D (RollingFileAppender)appender; sb2.Append(" File: " + app.File); } else if (appender is log4net.Appender.SmtpAppender) { SmtpAppender app =3D (SmtpAppender)appender; sb2.Append(" To: " + app.To); } return sb2.ToString(); } -----Original Message----- From: talktopete [mailto:[email protected]] Sent: Tuesday, November 11, 2008 1:34 PM To: [email protected] Subject: Trying to set up an EXTREMELY SIMPLE event log feature... and failing terribly! Please help a newbie Hi and thanks in advance for the help. I'm tearing my hair out over here trying to get this to work: a siple logger that writes to the application section of the event log. This is using log4net 161.129.204.104 Here is the app config: -------------------------------------------------------------- <?xml version=3D"1.0" encoding=3D"utf-8" ?> <configuration> <configSections> <section name=3D"log4net" type=3D"log4net.Config.Log4NetConfigurationSectionHandler, log4net" /> </configSections> <log4net> <appender name=3D"EventLogAppender" type=3D"log4net.Appender.EventLogAppender" > <layout type=3D"log4net.Layout.PatternLayout"> <conversionPattern value=3D"%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" /> </layout> </appender> <root> <level value=3D"ALL" /> <appender-ref ref=3D"EventLogAppender" /> </root> </log4net> </configuration> -------------------------------------------------------------------- here is my code: log4net.Config.XmlConfigurator.Configure(); logger =3D LogManager.GetLogger("EventLogAppender"); logger.Error("test"); ------------------------------------------------------------------- No errors, nothing happens! I notice that there are no appenders. nothing is written to the event log. I am tearing my hair out trying to figure out what is going on, can somebody help? -- View this message in context: http://www.nabble.com/Trying-to-set-up-an--EXTREMELY-SIMPLE-event-log-fe ature...-and-failing-terribly%21-Please-help-a-newbie-tp20448428p2044842 8.html Sent from the Log4net - Users mailing list [email protected]. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= NOTICE: The contents of this e-mail message and any attachments are intended= solely for the addressee(s) named in this message. This communication is in= tended to be and to remain confidential. If you are not the intended recipie= nt of this message, or if this message has been addressed to you in error, p= lease immediately alert the sender by reply e-mail and then delete this mess= age and its attachments. Do not deliver, distribute or copy this message and= /or any attachments and if you are not the intended recipient, do not disclo= se the contents or take any action in reliance upon the information containe= d in this communication or any attachments.=0A= Thank you From [email protected] Tue Nov 11 22:13:29 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94801 invoked from network); 11 Nov 2008 22:13:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Nov 2008 22:13:29 -0000 Received: (qmail 15509 invoked by uid 500); 11 Nov 2008 22:13:35 -0000 Delivered-To: [email protected] Received: (qmail 15489 invoked by uid 500); 11 Nov 2008 22:13:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 15478 invoked by uid 99); 11 Nov 2008 22:13:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Nov 2008 14:13:35 -0800 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: local policy) Received: from [161.129.204.104] (HELO web30501.mail.mud.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 11 Nov 2008 22:12:12 +0000 Received: (qmail 4429 invoked by uid 60001); 11 Nov 2008 22:11:53 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=RjwZfMNuw6A/PWVFJnsd9tScbWFF40zoDVjfEkctTtqaKDBfKOTrmB4bIneHnojRPdhmWKSnr/tVGFW4sHEpvtI1ChCMFTE+qR0hcJKB+ATJjHhEchvTWOmRv9Pjigu4jj1p+8uqrTOIVF3aq4IZq0N9kfTNQ8sEFu0Ut8MKmAs=; X-YMail-OSG: 8reY040VM1n1H0Hfv1D2uja.nMScw6JhLeZhS7o0RYZd8qDljWflOJnKfWMDa.PW8ClNqwQP1lVdGMEL7.hddMwsGo.5G9FXeS9ac3UhqYtxuriYM9GWcXp7nlkeme9zcGL_3cG3_NqaubP9DgpQwqWFXut7Xm75Gj1dBOoiI0tfzIRZcF_0sB_UyA-- Received: from [161.129.204.104] by web30501.mail.mud.yahoo.com via HTTP; Tue, 11 Nov 2008 14:11:53 PST X-Mailer: YahooMailRC/1155.20 YahooMailWebService/0.7.260.1 References: <[email protected]> <[email protected]> <[email protected]> Date: Tue, 11 Nov 2008 14:11:53 -0800 (PST) From: Ron Grabowski <[email protected]> Subject: Re: SQL 2005 Database Mirroring Support To: Log4NET User <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-2051670650-1226441513=:3634" Message-ID: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org --0-2051670650-1226441513=:3634 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable What does log4net report as the error when you turn on internal debugging?= =0A=0A=0A=0A=0A________________________________=0AFrom: "Gourlay, Colin" <c= [email protected]>=0ATo: Log4NET User <[email protected]>=0ASen= t: Tuesday, November 11, 2008 11:07:33 AM=0ASubject: RE: SQL 2005 Database = Mirroring Support=0A=0A =0AHi Dag.=0A =0AThanks for your response. =0AUnfor= tunately I am still no further forward on this despite following your=0Asug= gestion. I have included further information if this helps. =0ASuggestions= /Advice are very much appreciated.=0A =0ABoth servers are fully service=0Ap= acked and are running with =0A =0ALog4Net v1.2.10=0ASQL 2005=0A.Net 3.5 = =0A =0AMy log4net configuration is as=0Afollows:=0A =0A<log4net>=0A = <root>=0A = <level=0Avalue=3D"DEBUG" />=0A = <appender-ref=0Aref=3D"LogToSqlServer"/>=0A = </root>=0A =0A <appender=0Aname=3D"= LogToSqlServer"=0Atype=3D"log4net.Appender.AdoNetAppender">=0A = =0A = <filter=0Atype=3D"log4net.Filter.LoggerMatchFilter">=0A = <loggerToMatch=0Aval= ue=3D"NHibernate" />=0A = <acceptOnMatch=0Avalue=3D"false" />=0A = </filter>=0A =0A =0A = <bufferSize=0Avalue=3D"0"/>=0A = <!--<threshold=0Avalue=3D"DEBUG"/>-->=0A = <connectionType=0Avalue=3D"System.Data.SqlC= lient.SqlConnection, System.Data,=0AVersion=3D1.0.3300.0, Culture=3Dneutral= , PublicKeyToken=3Db77a5c561934e089"/>=0A = <connectionString=0Avalue=3D"data source=3D<SERVER-NAME-IS-HE= RE>;initial catalog=3D<LOGGING-DATABASE-IS-HERE>;integrated=0Asecurity=3Dtr= ue;"/>=0A <commandText=0Aval= ue=3D"EXEC <STORED-PROC-NAME-IS-HERE> @User, @Logger,=0A@LoggingLevel, @Mes= sage"/>=0A <parameter>=0A = <parameterName= =0Avalue=3D"@User"/>=0A = <dbType=0Avalue=3D"String"/>=0A = <size=0Avalue=3D"255"/>=0A = <layout=0Atype=3D"log4net.La= yout.PatternLayout">=0A = <conversionPattern=0Avalue=3D"%identity"/>=0A = </layout>=0A = </parameter>=0A = <parameter>=0A = <parameterName=0Avalue=3D"@Logger"/>= =0A <dbType= =0Avalue=3D"String"/>=0A = <size=0Avalue=3D"255"/>=0A = <layout=0Atype=3D"log4net.Layout.PatternLayout"= value=3D"%logger"/>=0A </pa= rameter>=0A <parameter>=0A = <parameterNam= e=0Avalue=3D"@LoggingLevel"/>=0A = <dbType=0Avalue=3D"String"/>=0A = <size=0Avalue=3D"50"/>=0A = <layout=0Atype=3D"lo= g4net.Layout.PatternLayout" value=3D"%level"/>=0A = </parameter>=0A = <parameter>=0A = <parameterName=0Avalue=3D"@Message"/>=0A = <dbType=0Avalue=3D"String"/>=0A = <size=0Avalue= =3D"4000"/>=0A = <layout=0Atype=3D"log4net.Layout.PatternLayout" value=3D"%message"/>=0A = </parameter>=0A = </appender>=0A </log4net>=0A =0AFrom:Dag = Christensen=0A[mailto:[email protected]] =0ASent: 06 November = 2008 13:06=0ATo: Log4NET User=0ASubject: RE: SQL 2005 Database Mirroring Su= pport=0AImportance: Low=0A =0AShould be handled transparently if you=92re u= sing SqlClient=0Aor native client and a correct connection string. I think = log4net uses OLE DB=0Aby default, you might want to try changing this to Sq= lClient.=0A =0AIf it still doesn=92t work, try setting your=0Aappender=92s = ReconnectOnError to true.=0A =0AIt would also be helpful if you posted the = versions you=92re=0Ausing (log4net, SQL server 2005 service pack?, .NET fra= mework version and=0Aservice pack?) and your log4net configuration.=0A =0AB= est wishes,=0ADag=0A =0A =0AFrom:Gourlay, Colin=0A[mailto:[email protected]]= =0ASent: Thursday, November 06, 2008 12:59 PM=0ATo: Log4NET User=0ASubject= : SQL 2005 Database Mirroring Support=0A =0ADoes log4net support the databa= se mirroring feature in SQL=0A2005? =0A =0AIt logs quite happily when loggi= ng to our primary database=0Abut when I failover logging ceases to work =96= in that nothing is logged=0A=96 when I failback logging works as before. = The mirroring has been=0Aconfigured correctly (test has been done to verify= this) so I think I can rule=0Athis out.=0A =0AOther than the following ent= ry (as per http://blogs.technet.com/johnbaker/archive/2005/10/06/412126.asp= x)=0Aincluded in my connection string is there something else required?=0A = =0Afailover=0Apartner=3DMyFailoverDatabaseServer=0A =0AIs there anything el= se I should be considering?=0A =0AThanks in advance.=0A =0AColin=0A =0A =0A= =0A =0A =0A=0A________________________________=0A =0A=0AEdinburgh Business= School is a Charity Registered in Scotland, SC026900=0A###################= ########################=0A=0AThis message has been scanned by F-Secure Ant= i-Virus for Microsoft Exchange.=0AFor more information, connect to http://w= ww.f-secure.com/ --0-2051670650-1226441513=:3634 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable <html><head><style type=3D"text/css"><!-- DIV {margin:0px;} --></style></he= ad><body><div style=3D"font-family:times new roman,new york,times,serif;fon= t-size:12pt"><div>What does log4net report as the error when you turn on in= ternal debugging?<br></div><div style=3D"font-family: times new roman,new y= ork,times,serif; font-size: 12pt;"><br><div style=3D"font-family: times new= roman,new york,times,serif; font-size: 12pt;"><font size=3D"2" face=3D"Tah= oma"><hr size=3D"1"><b><span style=3D"font-weight: bold;">From:</span></b> = "Gourlay, Colin" &lt;[email protected]&gt;<br><b><span style=3D"font-weight:= bold;">To:</span></b> Log4NET User &lt;[email protected]&gt;= <br><b><span style=3D"font-weight: bold;">Sent:</span></b> Tuesday, Novembe= r 11, 2008 11:07:33 AM<br><b><span style=3D"font-weight: bold;">Subject:</s= pan></b> RE: SQL 2005 Database Mirroring Support<br></font><br>=0A=0A=0A = =0A =0A=0A<style>=0A<!--=0A =0A _filtered {font-family:Calibri;panose-1:2 1= 5 5 2 2 2 4 3 2 4;}=0A _filtered {font-family:Tahoma;panose-1:2 11 6 4 3 5 = 4 4 2 4;}=0A =0Ap.MsoNormal, li.MsoNormal, div.MsoNormal=0A=09{margin:0cm;m= argin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri", "sans-serif";}= =0Aa:link, span.MsoHyperlink=0A=09{color:blue;text-decoration:underline;}= =0Aa:visited, span.MsoHyperlinkFollowed=0A=09{color:purple;text-decoration:= underline;}=0Acode=0A=09{font-family:"Courier New";}=0Aspan.EmailStyle18=0A= =09{font-family:"Calibri", "sans-serif";color:windowtext;}=0Aspan.EmailStyl= e19=0A=09{font-family:"Arial", "sans-serif";color:#1F497D;}=0Aspan.EmailSty= le20=0A=09{font-family:"Calibri", "sans-serif";color:#1F497D;}=0A.MsoChpDef= ault=0A=09{font-size:10.0pt;}=0A _filtered {margin:72.0pt 72.0pt 72.0pt 72.= 0pt;}=0Adiv.Section1=0A=09{}=0A-->=0A</style>=0A=0A=0A=0A<div class=3D"Sect= ion1">=0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);"= >Hi Dag.</span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(= 31, 73, 125);"> &nbsp;</span></p> =0A=0A<p class=3D"MsoNormal"><span style= =3D"color: rgb(31, 73, 125);">Thanks for your response.&nbsp;=0AUnfortunate= ly I am still no further forward on this despite following your=0Asuggestio= n.&nbsp; I have included further information if this helps.&nbsp;=0ASuggest= ions/Advice are very much appreciated.</span></p> =0A=0A<p class=3D"MsoNorm= al"><span style=3D"color: rgb(31, 73, 125);"> &nbsp;</span></p> =0A=0A<p cl= ass=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">Both servers are= fully service=0Apacked and are running with </span></p> =0A=0A<p class=3D"= MsoNormal"><span style=3D"color: rgb(31, 73, 125);"> &nbsp;</span></p> =0A= =0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">Log4Net = &nbsp;v1.2.10</span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color:= rgb(31, 73, 125);">SQL 2005</span></p> =0A=0A<p class=3D"MsoNormal"><span = style=3D"color: rgb(31, 73, 125);">.Net 3.5 </span></p> =0A=0A<p class=3D"M= soNormal"><span style=3D"color: rgb(31, 73, 125);"> &nbsp;</span></p> =0A= =0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">My log4n= et configuration is as=0Afollows:</span></p> =0A=0A<p class=3D"MsoNormal"><= span style=3D"color: rgb(31, 73, 125);"> &nbsp;</span></p> =0A=0A<p class= =3D"MsoNormal" style=3D"text-indent: 36pt;"><span style=3D"color: rgb(31, 7= 3, 125);">&lt;log4net&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><span sty= le=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ro= ot&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31= , 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;= level=0Avalue=3D"DEBUG" /&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><span= style=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp; &lt;appender-ref=0Aref=3D"LogToSqlServer"/&gt;</span></p= > =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/root&gt;</span></p> =0A=0A<p class= =3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);"> &nbsp;</span></p> = =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;appender=0Aname=3D"LogToSqlServer"=0Aty= pe=3D"log4net.Appender.AdoNetAppender"&gt;</span></p> =0A=0A<p class=3D"Mso= Normal"><span style=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></p> =0A=0A<p class=3D"MsoNormal"><s= pan style=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp; &lt;filter=0Atype=3D"log4net.Filter.LoggerMatchFilter= "&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31,= 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp; &lt;loggerToMatch=0Avalue=3D"NHibernate" /&gt;</span></p> = =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &= lt;acceptOnMatch=0Avalue=3D"false" /&gt;</span></p> =0A=0A<p class=3D"MsoNo= rmal"><span style=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/filter&gt;</span></p> =0A=0A<p class=3D"= MsoNormal"><span style=3D"color: rgb(31, 73, 125);"> &nbsp;</span></p> =0A= =0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);"> &nbsp;<= /span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 1= 25);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;bufferS= ize=0Avalue=3D"0"/&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><span style= =3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp; &lt;!--&lt;threshold=0Avalue=3D"DEBUG"/&gt;--&gt;</span></p> = =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;connectionType=0Av= alue=3D"System.Data.SqlClient.SqlConnection, System.Data,=0AVersion=3D1.0.3= 300.0, Culture=3Dneutral, PublicKeyToken=3Db77a5c561934e089"/&gt;</span></p= > =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;connectionString= =0Avalue=3D"data source=3D&lt;SERVER-NAME-IS-HERE&gt;;initial catalog=3D&lt= ;LOGGING-DATABASE-IS-HERE&gt;;integrated=0Asecurity=3Dtrue;"/&gt;</span></p= > =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;commandText=0Ava= lue=3D"EXEC &lt;STORED-PROC-NAME-IS-HERE&gt; @User, @Logger,=0A@LoggingLeve= l, @Message"/&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"co= lor: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp; &lt;parameter&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><span styl= e=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterName=0Avalue=3D"@User"/&gt;= </span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, = 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp; &lt;dbType=0Avalue=3D"String"/&gt;</span></p> =0A=0A<p class=3D"= MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;size=0Avalue=3D= "255"/&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rg= b(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; &lt;layout=0Atype=3D"log4net.Layout.PatternLayout"&gt;= </span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, = 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;conversionPattern=0Avalue=3D"%identity"= /&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31,= 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp; &lt;/layout&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><sp= an style=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; &lt;/parameter&gt;</span></p> =0A=0A<p class=3D"MsoNor= mal"><span style=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter&gt;</span></p> =0A=0A<p class=3D= "MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterName= =0Avalue=3D"@Logger"/&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><span sty= le=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dbType=0Avalue=3D"String"/&gt;</spa= n></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);= ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp; &lt;size=0Avalue=3D"255"/&gt;</span></p> =0A=0A<p class=3D"MsoNormal"= ><span style=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;layout=0Atype=3D"log4net.= Layout.PatternLayout" value=3D"%logger"/&gt;</span></p> =0A=0A<p class=3D"M= soNormal"><span style=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameter&gt;</span></p> =0A=0A<p cl= ass=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter&gt;</span></p> =0A= =0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;= parameterName=0Avalue=3D"@LoggingLevel"/&gt;</span></p> =0A=0A<p class=3D"M= soNormal"><span style=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dbType=0Avalue= =3D"String"/&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"col= or: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp; &lt;size=0Avalue=3D"50"/&gt;</span></p> =0A=0A<p= class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;layou= t=0Atype=3D"log4net.Layout.PatternLayout" value=3D"%level"/&gt;</span></p> = =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameter&gt;</sp= an></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125)= ;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter&= gt;</span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 7= 3, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp; &lt;parameterName=0Avalue=3D"@Message"/&gt;</span></p> =0A=0A= <p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dbT= ype=0Avalue=3D"String"/&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><span s= tyle=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;size=0Avalue=3D"4000"/&gt;</span>= </p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp; &lt;layout=0Atype=3D"log4net.Layout.PatternLayout" value=3D"%message"/&= gt;</span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 7= 3, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/pa= rameter&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: r= gb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/appender&gt;</s= pan></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125= );">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp; &lt;/log4net&gt;</span></p> =0A=0A<p class=3D"MsoNormal= "><span style=3D"color: rgb(31, 73, 125);"> &nbsp;</span></p> =0A=0A<div>= =0A=0A<div style=3D"border-style: solid none none; border-color: rgb(181, 1= 96, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium = medium; padding: 3pt 0cm 0cm;">=0A=0A<p class=3D"MsoNormal"><b><span style= =3D"font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;= ;">From:</span></b><span style=3D"font-size: 10pt; font-family: &quot;Tahom= a&quot;,&quot;sans-serif&quot;;"> Dag Christensen=0A[mailto:Dag.Christensen= @vismaretail.no] <br>=0A<b>Sent:</b> 06 November 2008 13:06<br>=0A<b>To:</b= > Log4NET User<br>=0A<b>Subject:</b> RE: SQL 2005 Database Mirroring Suppor= t<br>=0A<b>Importance:</b> Low</span></p> =0A=0A</div>=0A=0A</div>=0A=0A<p = class=3D"MsoNormal"> &nbsp;</p> =0A=0A<p class=3D"MsoNormal"><span style=3D= "font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; co= lor: rgb(31, 73, 125);">Should be handled transparently if you=92re using S= qlClient=0Aor native client and a correct connection string. I think log4ne= t uses OLE DB=0Aby default, you might want to try changing this to SqlClien= t.</span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"font-size: 10pt; = font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 1= 25);"> &nbsp;</span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"font-s= ize: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: rg= b(31, 73, 125);">If it still doesn=92t work, try setting your=0Aappender=92= s ReconnectOnError to true.</span></p> =0A=0A<p class=3D"MsoNormal"><span s= tyle=3D"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&qu= ot;; color: rgb(31, 73, 125);"> &nbsp;</span></p> =0A=0A<p class=3D"MsoNorm= al"><span style=3D"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sa= ns-serif&quot;; color: rgb(31, 73, 125);">It would also be helpful if you p= osted the versions you=92re=0Ausing (log4net, SQL server 2005 service pack?= , .NET framework version and=0Aservice pack?) and your log4net configuratio= n.</span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"font-size: 10pt; = font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 1= 25);"> &nbsp;</span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"font-s= ize: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: rg= b(31, 73, 125);">Best wishes,</span></p> =0A=0A<p class=3D"MsoNormal"><span= style=3D"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&= quot;; color: rgb(31, 73, 125);">Dag</span></p> =0A=0A<p class=3D"MsoNormal= "><span style=3D"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans= -serif&quot;; color: rgb(31, 73, 125);"> &nbsp;</span></p> =0A=0A<p class= =3D"MsoNormal"><span style=3D"font-size: 10pt; font-family: &quot;Arial&quo= t;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);"> &nbsp;</span></p> =0A= =0A<div>=0A=0A<div style=3D"border-style: solid none none; border-color: rg= b(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt= medium medium; padding: 3pt 0cm 0cm;">=0A=0A<p class=3D"MsoNormal"><b><spa= n style=3D"font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-seri= f&quot;;">From:</span></b><span style=3D"font-size: 10pt; font-family: &quo= t;Tahoma&quot;,&quot;sans-serif&quot;;"> Gourlay, Colin=0A[mailto:[email protected]= w.ac.uk] <br>=0A<b>Sent:</b> Thursday, November 06, 2008 12:59 PM<br>=0A<b>= To:</b> Log4NET User<br>=0A<b>Subject:</b> SQL 2005 Database Mirroring Supp= ort</span></p> =0A=0A</div>=0A=0A</div>=0A=0A<p class=3D"MsoNormal"> &nbsp;= </p> =0A=0A<p class=3D"MsoNormal">Does log4net support the database mirrori= ng feature in SQL=0A2005? </p> =0A=0A<p class=3D"MsoNormal"> &nbsp;</p> =0A= =0A<p class=3D"MsoNormal">It logs quite happily when logging to our primary= database=0Abut when I failover logging ceases to work =96 in that nothing = is logged=0A=96 when I failback logging works as before.&nbsp; The mirrorin= g has been=0Aconfigured correctly (test has been done to verify this) so I = think I can rule=0Athis out.</p> =0A=0A<p class=3D"MsoNormal"> &nbsp;</p> = =0A=0A<p class=3D"MsoNormal">Other than the following entry (as per <a rel= =3D"nofollow" target=3D"_blank" href=3D"http://blogs.technet.com/johnbaker/= archive/2005/10/06/412126.aspx">http://blogs.technet.com/johnbaker/archive/= 2005/10/06/412126.aspx</a>)=0Aincluded in my connection string is there som= ething else required?</p> =0A=0A<p class=3D"MsoNormal"> &nbsp;</p> =0A=0A<p= class=3D"MsoNormal"><code><span style=3D"font-size: 10pt;" lang=3D"EN">fai= lover=0Apartner=3DMyFailoverDatabaseServer</span></code></p> =0A=0A<p class= =3D"MsoNormal"> &nbsp;</p> =0A=0A<p class=3D"MsoNormal">Is there anything e= lse I should be considering?</p> =0A=0A<p class=3D"MsoNormal"> &nbsp;</p> = =0A=0A<p class=3D"MsoNormal">Thanks in advance.</p> =0A=0A<p class=3D"MsoNo= rmal"> &nbsp;</p> =0A=0A<p class=3D"MsoNormal">Colin</p> =0A=0A<p class=3D"= MsoNormal"> &nbsp;</p> =0A=0A<p class=3D"MsoNormal"> &nbsp;</p> =0A=0A<p cl= ass=3D"MsoNormal"> &nbsp;</p> =0A=0A<p class=3D"MsoNormal"> &nbsp;</p> =0A= =0A<p class=3D"MsoNormal"><span style=3D"font-size: 12pt; font-family: &quo= t;Times New Roman&quot;,&quot;serif&quot;;"> &nbsp;</span></p> =0A=0A<div c= lass=3D"MsoNormal" style=3D"text-align: center;" align=3D"center"><span sty= le=3D"font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif= &quot;;">=0A=0A<hr size=3D"2" width=3D"100%" align=3D"center">=0A=0A</span>= </div>=0A=0A<p class=3D"MsoNormal"><span style=3D"font-size: 7.5pt; font-fa= mily: &quot;Arial&quot;,&quot;sans-serif&quot;; color: gray;"><br>=0AEdinbu= rgh Business School is a Charity Registered in Scotland, SC026900</span><sp= an style=3D"font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot= ;serif&quot;;"></span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"font= -size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;">#= ##########################################<br>=0A<br>=0AThis message has be= en scanned by F-Secure Anti-Virus for Microsoft Exchange.<br>=0AFor more in= formation, connect to http://www.f-secure.com/</span></p> =0A=0A</div>=0A= =0A</div></div></div></body></html> --0-2051670650-1226441513=:3634-- From [email protected] Tue Nov 11 22:26:07 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4715 invoked from network); 11 Nov 2008 22:26:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Nov 2008 22:26:07 -0000 Received: (qmail 33891 invoked by uid 500); 11 Nov 2008 22:26:13 -0000 Delivered-To: [email protected] Received: (qmail 33878 invoked by uid 500); 11 Nov 2008 22:26:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 33866 invoked by uid 99); 11 Nov 2008 22:26:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Nov 2008 14:26:13 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Nov 2008 22:24:51 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1L01fy-0005Cq-F7 for [email protected]; Tue, 11 Nov 2008 14:25:34 -0800 Message-ID: <[email protected]> Date: Tue, 11 Nov 2008 14:25:34 -0800 (PST) From: talktopete <[email protected]> To: [email protected] Subject: RE: Trying to set up an EXTREMELY SIMPLE event log feature... and failing terribly! Please help a newbie In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org This IS a console application, .net 3.5, and the app.config file is set to always copy on build, so that rules out number one. I ran the code you suggested, and yielded this information: --------------------------------------------------------------------------- Root Information: Name: log4net-default-repository Threshold: ALL Root Appenders: EventLogAppender, Hierarchy Appenders: Appender: EventLogAppender Type: log4net.Appender.EventLogAppender Loggers: EventLogAppender Additivity: True Level: null -------------------------------------------------------------------------- Does anything in there jump out at you, such as the "Level" perhaps? Francine Taylor wrote: > > You didn't mention what type of application this is being run from. I > have two suggestions for error checking, don't know if they will help. > > The first is that if you are getting errors, you won't be able to see > them unless you are running from a console application (or unless you > set up a trace appender to grab the errors, I haven't done that so > you'll have to google for it). This will tell you if the problem is > with the error logging itself. > > The second is a method which will tell you how your log4net is > configured. It's written in C#, so you may need to translate. This > should tell you if it is your log4net configuration process which is > going astray. > > public static string GetHierarchyInformation() { > > Hierarchy hier = (Hierarchy)LogManager.GetRepository(); > > StringBuilder sb = new StringBuilder(); > > // first, look for it in the root > sb.AppendLine("Root Information:"); > sb.Append(" Name: " + hier.Name); > sb.AppendLine(" Threshold: " + hier.Threshold.ToString()); > > sb.Append(" Root Appenders: "); > foreach (IAppender a in hier.Root.Appenders) { > sb.Append(a.Name + ", "); > } > sb.AppendLine(""); > sb.AppendLine("Hierarchy Appenders:"); > foreach (IAppender a in hier.GetAppenders()) { > sb.AppendLine(FormatAppenderLine(a)); > } > > sb.AppendLine("Loggers:"); > foreach (ILogger l in hier.GetCurrentLoggers()) { > > Logger log = (Logger)l; > sb.Append(" " + log.Name); > sb.Append(" Additivity: " + log.Additivity.ToString()); > > sb.Append(" Level: "); > if (log.Level == null) { > sb.Append("null"); > } > else { > sb.Append(log.Level.ToString()); > } > sb.AppendLine(""); > foreach (IAppender appender in log.Appenders) { > sb.AppendLine(FormatAppenderLine(appender)); > } > } > return sb.ToString(); > } > private static string FormatAppenderLine(IAppender appender) { > StringBuilder sb2 = new StringBuilder(); > sb2.Append(" Appender: " + appender.Name); > sb2.Append(" Type: " + appender.GetType().ToString()); > > if (appender is log4net.Appender.FileAppender) { > FileAppender app = (FileAppender)appender; > sb2.Append(" File: " + app.File); > } > else if (appender is log4net.Appender.RollingFileAppender) { > RollingFileAppender app = (RollingFileAppender)appender; > sb2.Append(" File: " + app.File); > } > else if (appender is log4net.Appender.SmtpAppender) { > SmtpAppender app = (SmtpAppender)appender; > sb2.Append(" To: " + app.To); > } > return sb2.ToString(); > } > > > -----Original Message----- > From: talktopete [mailto:[email protected]] > Sent: Tuesday, November 11, 2008 1:34 PM > To: [email protected] > Subject: Trying to set up an EXTREMELY SIMPLE event log feature... and > failing terribly! Please help a newbie > > > Hi and thanks in advance for the help. > I'm tearing my hair out over here trying to get this to work: a siple > logger > that writes to the application section of the event log. > > This is using log4net 161.129.204.104 > Here is the app config: > -------------------------------------------------------------- > <?xml version="1.0" encoding="utf-8" ?> > <configuration> > <configSections> > <section name="log4net" > type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /> > </configSections> > > <log4net> > <appender name="EventLogAppender" > type="log4net.Appender.EventLogAppender" > > <layout type="log4net.Layout.PatternLayout"> > <conversionPattern value="%date [%thread] %-5level %logger > [%property{NDC}] - %message%newline" /> > </layout> > </appender> > <root> > <level value="ALL" /> > <appender-ref ref="EventLogAppender" /> > </root> > </log4net> > </configuration> > -------------------------------------------------------------------- > here is my code: > log4net.Config.XmlConfigurator.Configure(); > logger = LogManager.GetLogger("EventLogAppender"); > logger.Error("test"); > ------------------------------------------------------------------- > > No errors, nothing happens! I notice that there are no appenders. > nothing is written to the event log. > > I am tearing my hair out trying to figure out what is going on, can > somebody > help? > -- > View this message in context: > http://www.nabble.com/Trying-to-set-up-an--EXTREMELY-SIMPLE-event-log-fe > ature...-and-failing-terribly%21-Please-help-a-newbie-tp20448428p2044842 > 8.html > Sent from the Log4net - Users mailing list [email protected]. > > > ========================================== > NOTICE: The contents of this e-mail message and any attachments are > intended solely for the addressee(s) named in this message. This > communication is intended to be and to remain confidential. If you are not > the intended recipient of this message, or if this message has been > addressed to you in error, please immediately alert the sender by reply > e-mail and then delete this message and its attachments. Do not deliver, > distribute or copy this message and/or any attachments and if you are not > the intended recipient, do not disclose the contents or take any action in > reliance upon the information contained in this communication or any > attachments. > Thank you > > -- View this message in context: http://www.nabble.com/Trying-to-set-up-an--EXTREMELY-SIMPLE-event-log-feature...-and-failing-terribly%21-Please-help-a-newbie-tp20448428p20449791.html Sent from the Log4net - Users mailing list [email protected]. From [email protected] Tue Nov 11 22:51:03 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17775 invoked from network); 11 Nov 2008 22:51:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Nov 2008 22:51:03 -0000 Received: (qmail 86311 invoked by uid 500); 11 Nov 2008 22:51:08 -0000 Delivered-To: [email protected] Received: (qmail 86210 invoked by uid 500); 11 Nov 2008 22:51:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 86199 invoked by uid 99); 11 Nov 2008 22:51:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Nov 2008 14:51:08 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO srv01.corp.redriversystems.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Nov 2008 22:49:46 +0000 Received: from srv01.corp.redriversystems.com ([161.129.204.104]) by srv01.corp.redriversystems.com ([161.129.204.104]) with mapi; Tue, 11 Nov 2008 16:47:59 -0600 From: <[email protected]> To: <[email protected]> Date: Tue, 11 Nov 2008 16:50:29 -0600 Subject: RE: Trying to set up an EXTREMELY SIMPLE event log feature... and failing terribly! Please help a newbie Thread-Topic: Trying to set up an EXTREMELY SIMPLE event log feature... and failing terribly! Please help a newbie Thread-Index: AclETDQxWHVTEB+qRByrV9C8clUVFQAA4u+Q Message-ID: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Try using "System.Configuration.IgnoreSectionHandler" as the type for the c= onfiguration section handler. -----Original Message----- From: talktopete [mailto:[email protected]] Sent: Tuesday, November 11, 2008 4:26 PM To: [email protected] Subject: RE: Trying to set up an EXTREMELY SIMPLE event log feature... and = failing terribly! Please help a newbie This IS a console application, .net 3.5, and the app.config file is set to always copy on build, so that rules out number one. I ran the code you suggested, and yielded this information: --------------------------------------------------------------------------- Root Information: Name: log4net-default-repository Threshold: ALL Root Appenders: EventLogAppender, Hierarchy Appenders: Appender: EventLogAppender Type: log4net.Appender.EventLogAppender Loggers: EventLogAppender Additivity: True Level: null -------------------------------------------------------------------------- Does anything in there jump out at you, such as the "Level" perhaps? Francine Taylor wrote: > > You didn't mention what type of application this is being run from. I > have two suggestions for error checking, don't know if they will help. > > The first is that if you are getting errors, you won't be able to see > them unless you are running from a console application (or unless you > set up a trace appender to grab the errors, I haven't done that so > you'll have to google for it). This will tell you if the problem is > with the error logging itself. > > The second is a method which will tell you how your log4net is > configured. It's written in C#, so you may need to translate. This > should tell you if it is your log4net configuration process which is > going astray. > > public static string GetHierarchyInformation() { > > Hierarchy hier =3D (Hierarchy)LogManager.GetRepository(); > > StringBuilder sb =3D new StringBuilder(); > > // first, look for it in the root > sb.AppendLine("Root Information:"); > sb.Append(" Name: " + hier.Name); > sb.AppendLine(" Threshold: " + hier.Threshold.ToString()); > > sb.Append(" Root Appenders: "); > foreach (IAppender a in hier.Root.Appenders) { > sb.Append(a.Name + ", "); > } > sb.AppendLine(""); > sb.AppendLine("Hierarchy Appenders:"); > foreach (IAppender a in hier.GetAppenders()) { > sb.AppendLine(FormatAppenderLine(a)); > } > > sb.AppendLine("Loggers:"); > foreach (ILogger l in hier.GetCurrentLoggers()) { > > Logger log =3D (Logger)l; > sb.Append(" " + log.Name); > sb.Append(" Additivity: " + log.Additivity.ToString()); > > sb.Append(" Level: "); > if (log.Level =3D=3D null) { > sb.Append("null"); > } > else { > sb.Append(log.Level.ToString()); > } > sb.AppendLine(""); > foreach (IAppender appender in log.Appenders) { > sb.AppendLine(FormatAppenderLine(appender)); > } > } > return sb.ToString(); > } > private static string FormatAppenderLine(IAppender appender) { > StringBuilder sb2 =3D new StringBuilder(); > sb2.Append(" Appender: " + appender.Name); > sb2.Append(" Type: " + appender.GetType().ToString()); > > if (appender is log4net.Appender.FileAppender) { > FileAppender app =3D (FileAppender)appender; > sb2.Append(" File: " + app.File); > } > else if (appender is log4net.Appender.RollingFileAppender) { > RollingFileAppender app =3D (RollingFileAppender)appender= ; > sb2.Append(" File: " + app.File); > } > else if (appender is log4net.Appender.SmtpAppender) { > SmtpAppender app =3D (SmtpAppender)appender; > sb2.Append(" To: " + app.To); > } > return sb2.ToString(); > } > > > -----Original Message----- > From: talktopete [mailto:[email protected]] > Sent: Tuesday, November 11, 2008 1:34 PM > To: [email protected] > Subject: Trying to set up an EXTREMELY SIMPLE event log feature... and > failing terribly! Please help a newbie > > > Hi and thanks in advance for the help. > I'm tearing my hair out over here trying to get this to work: a siple > logger > that writes to the application section of the event log. > > This is using log4net 161.129.204.104 > Here is the app config: > -------------------------------------------------------------- > <?xml version=3D"1.0" encoding=3D"utf-8" ?> > <configuration> > <configSections> > <section name=3D"log4net" > type=3D"log4net.Config.Log4NetConfigurationSectionHandler, log4net" /> > </configSections> > > <log4net> > <appender name=3D"EventLogAppender" > type=3D"log4net.Appender.EventLogAppender" > > <layout type=3D"log4net.Layout.PatternLayout"> > <conversionPattern value=3D"%date [%thread] %-5level %logger > [%property{NDC}] - %message%newline" /> > </layout> > </appender> > <root> > <level value=3D"ALL" /> > <appender-ref ref=3D"EventLogAppender" /> > </root> > </log4net> > </configuration> > -------------------------------------------------------------------- > here is my code: > log4net.Config.XmlConfigurator.Configure(); > logger =3D LogManager.GetLogger("EventLogAppender"); > logger.Error("test"); > ------------------------------------------------------------------- > > No errors, nothing happens! I notice that there are no appenders. > nothing is written to the event log. > > I am tearing my hair out trying to figure out what is going on, can > somebody > help? > -- > View this message in context: > http://www.nabble.com/Trying-to-set-up-an--EXTREMELY-SIMPLE-event-log-fe > ature...-and-failing-terribly%21-Please-help-a-newbie-tp20448428p2044842 > 8.html > Sent from the Log4net - Users mailing list [email protected]. > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > NOTICE: The contents of this e-mail message and any attachments are > intended solely for the addressee(s) named in this message. This > communication is intended to be and to remain confidential. If you are no= t > the intended recipient of this message, or if this message has been > addressed to you in error, please immediately alert the sender by reply > e-mail and then delete this message and its attachments. Do not deliver, > distribute or copy this message and/or any attachments and if you are not > the intended recipient, do not disclose the contents or take any action i= n > reliance upon the information contained in this communication or any > attachments. > Thank you > > -- View this message in context: http://www.nabble.com/Trying-to-set-up-an--EX= TREMELY-SIMPLE-event-log-feature...-and-failing-terribly%21-Please-help-a-n= ewbie-tp20448428p20449791.html Sent from the Log4net - Users mailing list [email protected]. From [email protected] Tue Nov 11 23:43:18 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34411 invoked from network); 11 Nov 2008 23:43:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Nov 2008 23:43:18 -0000 Received: (qmail 46298 invoked by uid 500); 11 Nov 2008 23:43:25 -0000 Delivered-To: [email protected] Received: (qmail 46263 invoked by uid 500); 11 Nov 2008 23:43:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 46252 invoked by uid 99); 11 Nov 2008 23:43:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Nov 2008 15:43:24 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Nov 2008 23:42:03 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1L02sf-0007z5-Nz for [email protected]; Tue, 11 Nov 2008 15:42:45 -0800 Message-ID: <[email protected]> Date: Tue, 11 Nov 2008 15:42:45 -0800 (PST) From: talktopete <[email protected]> To: [email protected] Subject: RE: Trying to set up an EXTREMELY SIMPLE event log feature... and failing terribly! Please help a newbie In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org I set my config section handler to: <configSections> <section name="log4net" type="System.Configuration.IgnoreSectionHandler" /> </configSections> and it gave the exact same behavior, no error messages, and nothing in the event log.:confused: gary.grubbs wrote: > > Try using "System.Configuration.IgnoreSectionHandler" as the type for the > configuration section handler. > > -----Original Message----- > From: talktopete [mailto:[email protected]] > Sent: Tuesday, November 11, 2008 4:26 PM > To: [email protected] > Subject: RE: Trying to set up an EXTREMELY SIMPLE event log feature... and > failing terribly! Please help a newbie > > > This IS a console application, .net 3.5, and the app.config file is set to > always copy on build, so that rules out number one. > > I ran the code you suggested, and yielded this information: > --------------------------------------------------------------------------- > Root Information: > Name: log4net-default-repository Threshold: ALL > Root Appenders: EventLogAppender, > Hierarchy Appenders: > Appender: EventLogAppender Type: log4net.Appender.EventLogAppender > Loggers: > EventLogAppender Additivity: True Level: null > -------------------------------------------------------------------------- > > Does anything in there jump out at you, such as the "Level" perhaps? > > > > Francine Taylor wrote: >> >> You didn't mention what type of application this is being run from. I >> have two suggestions for error checking, don't know if they will help. >> >> The first is that if you are getting errors, you won't be able to see >> them unless you are running from a console application (or unless you >> set up a trace appender to grab the errors, I haven't done that so >> you'll have to google for it). This will tell you if the problem is >> with the error logging itself. >> >> The second is a method which will tell you how your log4net is >> configured. It's written in C#, so you may need to translate. This >> should tell you if it is your log4net configuration process which is >> going astray. >> >> public static string GetHierarchyInformation() { >> >> Hierarchy hier = (Hierarchy)LogManager.GetRepository(); >> >> StringBuilder sb = new StringBuilder(); >> >> // first, look for it in the root >> sb.AppendLine("Root Information:"); >> sb.Append(" Name: " + hier.Name); >> sb.AppendLine(" Threshold: " + hier.Threshold.ToString()); >> >> sb.Append(" Root Appenders: "); >> foreach (IAppender a in hier.Root.Appenders) { >> sb.Append(a.Name + ", "); >> } >> sb.AppendLine(""); >> sb.AppendLine("Hierarchy Appenders:"); >> foreach (IAppender a in hier.GetAppenders()) { >> sb.AppendLine(FormatAppenderLine(a)); >> } >> >> sb.AppendLine("Loggers:"); >> foreach (ILogger l in hier.GetCurrentLoggers()) { >> >> Logger log = (Logger)l; >> sb.Append(" " + log.Name); >> sb.Append(" Additivity: " + log.Additivity.ToString()); >> >> sb.Append(" Level: "); >> if (log.Level == null) { >> sb.Append("null"); >> } >> else { >> sb.Append(log.Level.ToString()); >> } >> sb.AppendLine(""); >> foreach (IAppender appender in log.Appenders) { >> sb.AppendLine(FormatAppenderLine(appender)); >> } >> } >> return sb.ToString(); >> } >> private static string FormatAppenderLine(IAppender appender) { >> StringBuilder sb2 = new StringBuilder(); >> sb2.Append(" Appender: " + appender.Name); >> sb2.Append(" Type: " + appender.GetType().ToString()); >> >> if (appender is log4net.Appender.FileAppender) { >> FileAppender app = (FileAppender)appender; >> sb2.Append(" File: " + app.File); >> } >> else if (appender is log4net.Appender.RollingFileAppender) { >> RollingFileAppender app = (RollingFileAppender)appender; >> sb2.Append(" File: " + app.File); >> } >> else if (appender is log4net.Appender.SmtpAppender) { >> SmtpAppender app = (SmtpAppender)appender; >> sb2.Append(" To: " + app.To); >> } >> return sb2.ToString(); >> } >> >> >> -----Original Message----- >> From: talktopete [mailto:[email protected]] >> Sent: Tuesday, November 11, 2008 1:34 PM >> To: [email protected] >> Subject: Trying to set up an EXTREMELY SIMPLE event log feature... and >> failing terribly! Please help a newbie >> >> >> Hi and thanks in advance for the help. >> I'm tearing my hair out over here trying to get this to work: a siple >> logger >> that writes to the application section of the event log. >> >> This is using log4net 161.129.204.104 >> Here is the app config: >> -------------------------------------------------------------- >> <?xml version="1.0" encoding="utf-8" ?> >> <configuration> >> <configSections> >> <section name="log4net" >> type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /> >> </configSections> >> >> <log4net> >> <appender name="EventLogAppender" >> type="log4net.Appender.EventLogAppender" > >> <layout type="log4net.Layout.PatternLayout"> >> <conversionPattern value="%date [%thread] %-5level %logger >> [%property{NDC}] - %message%newline" /> >> </layout> >> </appender> >> <root> >> <level value="ALL" /> >> <appender-ref ref="EventLogAppender" /> >> </root> >> </log4net> >> </configuration> >> -------------------------------------------------------------------- >> here is my code: >> log4net.Config.XmlConfigurator.Configure(); >> logger = LogManager.GetLogger("EventLogAppender"); >> logger.Error("test"); >> ------------------------------------------------------------------- >> >> No errors, nothing happens! I notice that there are no appenders. >> nothing is written to the event log. >> >> I am tearing my hair out trying to figure out what is going on, can >> somebody >> help? >> -- >> View this message in context: >> http://www.nabble.com/Trying-to-set-up-an--EXTREMELY-SIMPLE-event-log-fe >> ature...-and-failing-terribly%21-Please-help-a-newbie-tp20448428p2044842 >> 8.html >> Sent from the Log4net - Users mailing list [email protected]. >> >> >> ========================================== >> NOTICE: The contents of this e-mail message and any attachments are >> intended solely for the addressee(s) named in this message. This >> communication is intended to be and to remain confidential. If you are >> not >> the intended recipient of this message, or if this message has been >> addressed to you in error, please immediately alert the sender by reply >> e-mail and then delete this message and its attachments. Do not deliver, >> distribute or copy this message and/or any attachments and if you are not >> the intended recipient, do not disclose the contents or take any action >> in >> reliance upon the information contained in this communication or any >> attachments. >> Thank you >> >> > > -- > View this message in context: > http://www.nabble.com/Trying-to-set-up-an--EXTREMELY-SIMPLE-event-log-feature...-and-failing-terribly%21-Please-help-a-newbie-tp20448428p20449791.html > Sent from the Log4net - Users mailing list [email protected]. > > > -- View this message in context: http://www.nabble.com/Trying-to-set-up-an--EXTREMELY-SIMPLE-event-log-feature...-and-failing-terribly%21-Please-help-a-newbie-tp20448428p20451002.html Sent from the Log4net - Users mailing list [email protected]. From [email protected] Wed Nov 12 00:00:21 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39207 invoked from network); 12 Nov 2008 00:00:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Nov 2008 00:00:21 -0000 Received: (qmail 67405 invoked by uid 500); 12 Nov 2008 00:00:27 -0000 Delivered-To: [email protected] Received: (qmail 67383 invoked by uid 500); 12 Nov 2008 00:00:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 67372 invoked by uid 99); 12 Nov 2008 00:00:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Nov 2008 16:00:27 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO srv01.corp.redriversystems.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Nov 2008 23:59:05 +0000 Received: from srv01.corp.redriversystems.com ([161.129.204.104]) by srv01.corp.redriversystems.com ([161.129.204.104]) with mapi; Tue, 11 Nov 2008 17:57:22 -0600 From: <[email protected]> To: <[email protected]> Date: Tue, 11 Nov 2008 17:59:50 -0600 Subject: RE: Trying to set up an EXTREMELY SIMPLE event log feature... and failing terribly! Please help a newbie Thread-Topic: Trying to set up an EXTREMELY SIMPLE event log feature... and failing terribly! Please help a newbie Thread-Index: AclEVv0p/oJpk2G+SU2HW0mPwKdT5AAAbwpg Message-ID: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org I tried your code, as originally posted, locally and it works with the addi= tion of the declaration of the logger variable ("ILog logger;"). The messa= ge should output to the "Application" log. Couple of questions: Are you expecting it to create and log to a "EventLogAppender" log? Have you tried running this locally and checking your local event log? If no, have you validated that security is correctly set/configured to allo= w you to write to the event log of the remote machine? -----Original Message----- From: talktopete [mailto:[email protected]] Sent: Tuesday, November 11, 2008 5:43 PM To: [email protected] Subject: RE: Trying to set up an EXTREMELY SIMPLE event log feature... and = failing terribly! Please help a newbie I set my config section handler to: <configSections> <section name=3D"log4net" type=3D"System.Configuration.IgnoreSectionHan= dler" /> </configSections> and it gave the exact same behavior, no error messages, and nothing in the event log.:confused: gary.grubbs wrote: > > Try using "System.Configuration.IgnoreSectionHandler" as the type for the > configuration section handler. > > -----Original Message----- > From: talktopete [mailto:[email protected]] > Sent: Tuesday, November 11, 2008 4:26 PM > To: [email protected] > Subject: RE: Trying to set up an EXTREMELY SIMPLE event log feature... an= d > failing terribly! Please help a newbie > > > This IS a console application, .net 3.5, and the app.config file is set t= o > always copy on build, so that rules out number one. > > I ran the code you suggested, and yielded this information: > -------------------------------------------------------------------------= -- > Root Information: > Name: log4net-default-repository Threshold: ALL > Root Appenders: EventLogAppender, > Hierarchy Appenders: > Appender: EventLogAppender Type: log4net.Appender.EventLogAppender > Loggers: > EventLogAppender Additivity: True Level: null > -------------------------------------------------------------------------= - > > Does anything in there jump out at you, such as the "Level" perhaps? > > > > Francine Taylor wrote: >> >> You didn't mention what type of application this is being run from. I >> have two suggestions for error checking, don't know if they will help. >> >> The first is that if you are getting errors, you won't be able to see >> them unless you are running from a console application (or unless you >> set up a trace appender to grab the errors, I haven't done that so >> you'll have to google for it). This will tell you if the problem is >> with the error logging itself. >> >> The second is a method which will tell you how your log4net is >> configured. It's written in C#, so you may need to translate. This >> should tell you if it is your log4net configuration process which is >> going astray. >> >> public static string GetHierarchyInformation() { >> >> Hierarchy hier =3D (Hierarchy)LogManager.GetRepository(); >> >> StringBuilder sb =3D new StringBuilder(); >> >> // first, look for it in the root >> sb.AppendLine("Root Information:"); >> sb.Append(" Name: " + hier.Name); >> sb.AppendLine(" Threshold: " + hier.Threshold.ToString()); >> >> sb.Append(" Root Appenders: "); >> foreach (IAppender a in hier.Root.Appenders) { >> sb.Append(a.Name + ", "); >> } >> sb.AppendLine(""); >> sb.AppendLine("Hierarchy Appenders:"); >> foreach (IAppender a in hier.GetAppenders()) { >> sb.AppendLine(FormatAppenderLine(a)); >> } >> >> sb.AppendLine("Loggers:"); >> foreach (ILogger l in hier.GetCurrentLoggers()) { >> >> Logger log =3D (Logger)l; >> sb.Append(" " + log.Name); >> sb.Append(" Additivity: " + log.Additivity.ToString()); >> >> sb.Append(" Level: "); >> if (log.Level =3D=3D null) { >> sb.Append("null"); >> } >> else { >> sb.Append(log.Level.ToString()); >> } >> sb.AppendLine(""); >> foreach (IAppender appender in log.Appenders) { >> sb.AppendLine(FormatAppenderLine(appender)); >> } >> } >> return sb.ToString(); >> } >> private static string FormatAppenderLine(IAppender appender) { >> StringBuilder sb2 =3D new StringBuilder(); >> sb2.Append(" Appender: " + appender.Name); >> sb2.Append(" Type: " + appender.GetType().ToString()); >> >> if (appender is log4net.Appender.FileAppender) { >> FileAppender app =3D (FileAppender)appender; >> sb2.Append(" File: " + app.File); >> } >> else if (appender is log4net.Appender.RollingFileAppender) { >> RollingFileAppender app =3D (RollingFileAppender)appende= r; >> sb2.Append(" File: " + app.File); >> } >> else if (appender is log4net.Appender.SmtpAppender) { >> SmtpAppender app =3D (SmtpAppender)appender; >> sb2.Append(" To: " + app.To); >> } >> return sb2.ToString(); >> } >> >> >> -----Original Message----- >> From: talktopete [mailto:[email protected]] >> Sent: Tuesday, November 11, 2008 1:34 PM >> To: [email protected] >> Subject: Trying to set up an EXTREMELY SIMPLE event log feature... and >> failing terribly! Please help a newbie >> >> >> Hi and thanks in advance for the help. >> I'm tearing my hair out over here trying to get this to work: a siple >> logger >> that writes to the application section of the event log. >> >> This is using log4net 161.129.204.104 >> Here is the app config: >> -------------------------------------------------------------- >> <?xml version=3D"1.0" encoding=3D"utf-8" ?> >> <configuration> >> <configSections> >> <section name=3D"log4net" >> type=3D"log4net.Config.Log4NetConfigurationSectionHandler, log4net" /> >> </configSections> >> >> <log4net> >> <appender name=3D"EventLogAppender" >> type=3D"log4net.Appender.EventLogAppender" > >> <layout type=3D"log4net.Layout.PatternLayout"> >> <conversionPattern value=3D"%date [%thread] %-5level %logger >> [%property{NDC}] - %message%newline" /> >> </layout> >> </appender> >> <root> >> <level value=3D"ALL" /> >> <appender-ref ref=3D"EventLogAppender" /> >> </root> >> </log4net> >> </configuration> >> -------------------------------------------------------------------- >> here is my code: >> log4net.Config.XmlConfigurator.Configure(); >> logger =3D LogManager.GetLogger("EventLogAppender"); >> logger.Error("test"); >> ------------------------------------------------------------------- >> >> No errors, nothing happens! I notice that there are no appenders. >> nothing is written to the event log. >> >> I am tearing my hair out trying to figure out what is going on, can >> somebody >> help? >> -- >> View this message in context: >> http://www.nabble.com/Trying-to-set-up-an--EXTREMELY-SIMPLE-event-log-fe >> ature...-and-failing-terribly%21-Please-help-a-newbie-tp20448428p2044842 >> 8.html >> Sent from the Log4net - Users mailing list [email protected]. >> >> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> NOTICE: The contents of this e-mail message and any attachments are >> intended solely for the addressee(s) named in this message. This >> communication is intended to be and to remain confidential. If you are >> not >> the intended recipient of this message, or if this message has been >> addressed to you in error, please immediately alert the sender by reply >> e-mail and then delete this message and its attachments. Do not deliver, >> distribute or copy this message and/or any attachments and if you are no= t >> the intended recipient, do not disclose the contents or take any action >> in >> reliance upon the information contained in this communication or any >> attachments. >> Thank you >> >> > > -- > View this message in context: > http://www.nabble.com/Trying-to-set-up-an--EXTREMELY-SIMPLE-event-log-fea= ture...-and-failing-terribly%21-Please-help-a-newbie-tp20448428p20449791.ht= ml > Sent from the Log4net - Users mailing list [email protected]. > > > -- View this message in context: http://www.nabble.com/Trying-to-set-up-an--EX= TREMELY-SIMPLE-event-log-feature...-and-failing-terribly%21-Please-help-a-n= ewbie-tp20448428p20451002.html Sent from the Log4net - Users mailing list [email protected]. From [email protected] Wed Nov 12 00:03:00 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40474 invoked from network); 12 Nov 2008 00:03:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Nov 2008 00:03:00 -0000 Received: (qmail 70172 invoked by uid 500); 12 Nov 2008 00:03:07 -0000 Delivered-To: [email protected] Received: (qmail 70150 invoked by uid 500); 12 Nov 2008 00:03:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 70139 invoked by uid 99); 12 Nov 2008 00:03:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Nov 2008 16:03:07 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO web30501.mail.mud.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 12 Nov 2008 00:01:46 +0000 Received: (qmail 91048 invoked by uid 60001); 12 Nov 2008 00:02:29 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=Zh96gYBU6M+eGI8kEy5l8zQQcPxUzZugUombGhbyf+bGFHh99grAJQncT7w1uMjeTFfNMAjKNLAwDlGcrvdM3FJX0QLV8rIHAyfhVsO+XnG5i+TvdxuKgBydIRWolonCQ0u6x2mBqiuUZOcszjwGZ9DODekd88lUYgzwkbcuGoQ=; X-YMail-OSG: W9E1K9sVM1mkwFZTZ7z1Ho8G572lyB_SUFiNxRCJo_k9conAN7_pmuY1QjN7VGcQrjkB90DctIXpZriChc3Zb7u50dOjY254cQKLhJsb4pGWn9skyUJhrLyXj9mErkJB77VcQ146wdXGeC9lh2F8WZsKu_9YQOMRSV8kSd8YlnYyV6978fqG4_a5SQ-- Received: from [161.129.204.104] by web30501.mail.mud.yahoo.com via HTTP; Tue, 11 Nov 2008 16:02:28 PST X-Mailer: YahooMailRC/1155.20 YahooMailWebService/0.7.260.1 References: <[email protected]> Date: Tue, 11 Nov 2008 16:02:28 -0800 (PST) From: Ron Grabowski <[email protected]> Subject: Re: Trying to set up an EXTREMELY SIMPLE event log feature... and failing terribly! Please help a newbie To: Log4NET User <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org The first thing I would is to make sure log4net itself is working. Your config file runs correctly when I add a ConsoleAppender: <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /> </configSections> <log4net> <appender name="EventLogAppender" type="log4net.Appender.EventLogAppender" > <layout type="log4net.Layout.SimpleLayout" /> </appender> <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" > <layout type="log4net.Layout.SimpleLayout" /> </appender> <root> <level value="ALL" /> <appender-ref ref="EventLogAppender" /> <appender-ref ref="ConsoleAppender" /> </root> </log4net> </configuration> I can also see the entries in the Event Log. Internal debugging: <appSettings> <add key="log4net.Internal.Debug" value="true" /> </appSettings> didn't show any problems. Do you get an exceptions when internal debugging is turned on? From what I can tell it looks like there's something wrong with the machine its running on. ----- Original Message ---- From: talktopete <[email protected]> To: [email protected] Sent: Tuesday, November 11, 2008 4:34:20 PM Subject: Trying to set up an EXTREMELY SIMPLE event log feature... and failing terribly! Please help a newbie Hi and thanks in advance for the help. I'm tearing my hair out over here trying to get this to work: a siple logger that writes to the application section of the event log. This is using log4net 161.129.204.104 Here is the app config: -------------------------------------------------------------- <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /> </configSections> <log4net> <appender name="EventLogAppender" type="log4net.Appender.EventLogAppender" > <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" /> </layout> </appender> <root> <level value="ALL" /> <appender-ref ref="EventLogAppender" /> </root> </log4net> </configuration> -------------------------------------------------------------------- here is my code: log4net.Config.XmlConfigurator.Configure(); logger = LogManager.GetLogger("EventLogAppender"); logger.Error("test"); ------------------------------------------------------------------- No errors, nothing happens! I notice that there are no appenders. nothing is written to the event log. I am tearing my hair out trying to figure out what is going on, can somebody help? -- View this message in context: http://www.nabble.com/Trying-to-set-up-an--EXTREMELY-SIMPLE-event-log-feature...-and-failing-terribly%21-Please-help-a-newbie-tp20448428p20448428.html Sent from the Log4net - Users mailing list [email protected]. From [email protected] Wed Nov 12 00:19:16 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42836 invoked from network); 12 Nov 2008 00:19:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Nov 2008 00:19:16 -0000 Received: (qmail 78575 invoked by uid 500); 12 Nov 2008 00:19:22 -0000 Delivered-To: [email protected] Received: (qmail 78549 invoked by uid 500); 12 Nov 2008 00:19:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 78538 invoked by uid 99); 12 Nov 2008 00:19:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Nov 2008 16:19:22 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Nov 2008 00:18:02 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1L03RV-00015B-8U for [email protected]; Tue, 11 Nov 2008 16:18:45 -0800 Message-ID: <[email protected]> Date: Tue, 11 Nov 2008 16:18:45 -0800 (PST) From: talktopete <[email protected]> To: [email protected] Subject: Re: Trying to set up an EXTREMELY SIMPLE event log feature... and failing terribly! Please help a newbie In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org By golly, you got it!!! By changing my layout to log4net.Layout.SimpleLayout, it started working! The problem was with the layout format: ------------------------------------------------------------------------------ "%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" ------------------------------------------------------------------------------ something in there caused the logger to fail. What is annoying is how silently it failed, I wish there was an option to make log4net throw verbose, easy-to-understand exceptions! I got the layout string from various examples on the google. Go figure someone posted code that fails... Ron Grabowski wrote: > > The first thing I would is to make sure log4net itself is working. Your > config file runs correctly when I add a ConsoleAppender: > > <?xml version="1.0" encoding="utf-8" ?> > <configuration> > <configSections> > <section name="log4net" > type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /> > </configSections> > <log4net> > <appender name="EventLogAppender" > type="log4net.Appender.EventLogAppender" > > <layout type="log4net.Layout.SimpleLayout" /> > </appender> > <appender name="ConsoleAppender" > type="log4net.Appender.ConsoleAppender" > > <layout type="log4net.Layout.SimpleLayout" /> > </appender> > <root> > <level value="ALL" /> > <appender-ref ref="EventLogAppender" /> > <appender-ref ref="ConsoleAppender" /> > </root> > </log4net> > </configuration> > > I can also see the entries in the Event Log. Internal debugging: > > <appSettings> > <add key="log4net.Internal.Debug" value="true" /> > </appSettings> > > didn't show any problems. Do you get an exceptions when internal debugging > is turned on? From what I can tell it looks like there's something wrong > with the machine its running on. > > > > ----- Original Message ---- > From: talktopete <[email protected]> > To: [email protected] > Sent: Tuesday, November 11, 2008 4:34:20 PM > Subject: Trying to set up an EXTREMELY SIMPLE event log feature... and > failing terribly! Please help a newbie > > > Hi and thanks in advance for the help. > I'm tearing my hair out over here trying to get this to work: a siple > logger > that writes to the application section of the event log. > > This is using log4net 161.129.204.104 > Here is the app config: > -------------------------------------------------------------- > <?xml version="1.0" encoding="utf-8" ?> > <configuration> > <configSections> > <section name="log4net" > type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /> > </configSections> > > <log4net> > <appender name="EventLogAppender" > type="log4net.Appender.EventLogAppender" > > <layout type="log4net.Layout.PatternLayout"> > <conversionPattern value="%date [%thread] %-5level %logger > [%property{NDC}] - %message%newline" /> > </layout> > </appender> > <root> > <level value="ALL" /> > <appender-ref ref="EventLogAppender" /> > </root> > </log4net> > </configuration> > -------------------------------------------------------------------- > here is my code: > log4net.Config.XmlConfigurator.Configure(); > logger = LogManager.GetLogger("EventLogAppender"); > logger.Error("test"); > ------------------------------------------------------------------- > > No errors, nothing happens! I notice that there are no appenders. > nothing is written to the event log. > > I am tearing my hair out trying to figure out what is going on, can > somebody > help? > -- > View this message in context: > http://www.nabble.com/Trying-to-set-up-an--EXTREMELY-SIMPLE-event-log-feature...-and-failing-terribly%21-Please-help-a-newbie-tp20448428p20448428.html > Sent from the Log4net - Users mailing list [email protected]. > > -- View this message in context: http://www.nabble.com/Trying-to-set-up-an--EXTREMELY-SIMPLE-event-log-feature...-and-failing-terribly%21-Please-help-a-newbie-tp20448428p20451489.html Sent from the Log4net - Users mailing list [email protected]. From [email protected] Wed Nov 12 07:47:07 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65353 invoked from network); 12 Nov 2008 07:47:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Nov 2008 07:47:06 -0000 Received: (qmail 17581 invoked by uid 500); 12 Nov 2008 07:47:13 -0000 Delivered-To: [email protected] Received: (qmail 17557 invoked by uid 500); 12 Nov 2008 07:47:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 17543 invoked by uid 99); 12 Nov 2008 07:47:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Nov 2008 23:47:13 -0800 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO vbdtrend2.vbd.no) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Nov 2008 07:45:49 +0000 Received: from vbdex.vbd.no ([161.129.204.104]) by vbdtrend2 with InterScan Messaging Security Suite; Wed, 12 Nov 2008 08:46:25 +0100 Keywords: disclaimer X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4325 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C9449A.C3B75E05" Subject: RE: SQL 2005 Database Mirroring Support Date: Wed, 12 Nov 2008 08:46:26 +0100 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: SQL 2005 Database Mirroring Support thread-index: AclESr2YW+LeMJfARCuSlPW8QYwOWgAS0oFQ References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: "Dag Christensen" <[email protected]> To: "Log4NET User" <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C9449A.C3B75E05 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable You're using .NET framework 1.x's SqlClient which doesn't support transparent database mirroring. The correct type name is: System.Data.SqlClient.SqlConnection, System.Data, Version=3D161.129.204.104, Culture=3Dneutral, PublicKeyToken=3Db77a5c561934e089 (you can verify this name using typeof(SqlConnection).AssemblyQualifiedName)) =20 You should specify a failover partner in your connection string in case the principal server is offline when you make the initial connection: Data Source=3D<SQLA>;Failover Partner=3D<SQLB>;Initial Catalog=3D<..>;Integrated Security=3DTrue =20 I also assume you're running Sql Server 2005 SP1 or later? SQL server 2005 pre-SP1 doesn't officially support mirroring in production use. =20 Best wishes, Dag =20 =20 From: Ron Grabowski [mailto:[email protected]]=20 Sent: Tuesday, November 11, 2008 11:12 PM To: Log4NET User Subject: Re: SQL 2005 Database Mirroring Support =20 What does log4net report as the error when you turn on internal debugging? =20 ________________________________ From: "Gourlay, Colin" <[email protected]> To: Log4NET User <[email protected]> Sent: Tuesday, November 11, 2008 11:07:33 AM Subject: RE: SQL 2005 Database Mirroring Support Hi Dag. =20 Thanks for your response. Unfortunately I am still no further forward on this despite following your suggestion. I have included further information if this helps. Suggestions/Advice are very much appreciated. =20 Both servers are fully service packed and are running with=20 =20 Log4Net v1.2.10 SQL 2005 .Net 3.5=20 =20 My log4net configuration is as follows: =20 <log4net> <root> <level value=3D"DEBUG" = /> <appender-ref ref=3D"LogToSqlServer"/> </root> =20 <appender name=3D"LogToSqlServer" type=3D"log4net.Appender.AdoNetAppender"> =20 <filter type=3D"log4net.Filter.LoggerMatchFilter"> =20 <loggerToMatch value=3D"NHibernate" /> =20 <acceptOnMatch value=3D"false" /> </filter> =20 =20 <bufferSize = value=3D"0"/> <!--<threshold value=3D"DEBUG"/>--> <connectionType value=3D"System.Data.SqlClient.SqlConnection, System.Data, Version=3D1.0.3300.0, Culture=3Dneutral, = PublicKeyToken=3Db77a5c561934e089"/> <connectionString value=3D"data source=3D<SERVER-NAME-IS-HERE>;initial catalog=3D<LOGGING-DATABASE-IS-HERE>;integrated security=3Dtrue;"/> <commandText = value=3D"EXEC <STORED-PROC-NAME-IS-HERE> @User, @Logger, @LoggingLevel, @Message"/> <parameter> =20 <parameterName value=3D"@User"/> <dbType value=3D"String"/> <size value=3D"255"/> <layout type=3D"log4net.Layout.PatternLayout"> =20 <conversionPattern value=3D"%identity"/> =20 </layout> </parameter> <parameter> =20 <parameterName value=3D"@Logger"/> <dbType value=3D"String"/> <size value=3D"255"/> <layout type=3D"log4net.Layout.PatternLayout" value=3D"%logger"/> </parameter> <parameter> =20 <parameterName value=3D"@LoggingLevel"/> <dbType value=3D"String"/> <size value=3D"50"/> <layout type=3D"log4net.Layout.PatternLayout" value=3D"%level"/> </parameter> <parameter> =20 <parameterName value=3D"@Message"/> <dbType value=3D"String"/> <size value=3D"4000"/> <layout type=3D"log4net.Layout.PatternLayout" value=3D"%message"/> </parameter> </appender> </log4net> =20 From: Dag Christensen [mailto:[email protected]]=20 Sent: 06 November 2008 13:06 To: Log4NET User Subject: RE: SQL 2005 Database Mirroring Support Importance: Low =20 Should be handled transparently if you're using SqlClient or native client and a correct connection string. I think log4net uses OLE DB by default, you might want to try changing this to SqlClient. =20 If it still doesn't work, try setting your appender's ReconnectOnError to true. =20 It would also be helpful if you posted the versions you're using (log4net, SQL server 2005 service pack?, .NET framework version and service pack?) and your log4net configuration. =20 Best wishes, Dag =20 =20 From: Gourlay, Colin [mailto:[email protected]]=20 Sent: Thursday, November 06, 2008 12:59 PM To: Log4NET User Subject: SQL 2005 Database Mirroring Support =20 Does log4net support the database mirroring feature in SQL 2005?=20 =20 It logs quite happily when logging to our primary database but when I failover logging ceases to work - in that nothing is logged - when I failback logging works as before. The mirroring has been configured correctly (test has been done to verify this) so I think I can rule this out. =20 Other than the following entry (as per http://blogs.technet.com/johnbaker/archive/2005/10/06/412126.aspx) included in my connection string is there something else required? =20 failover partner=3DMyFailoverDatabaseServer =20 Is there anything else I should be considering? =20 Thanks in advance. =20 Colin =20 =20 =20 =20 =20 ________________________________ Edinburgh Business School is a Charity Registered in Scotland, SC026900 ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/ ###########################################=0A= =0A= This message has been scanned by F-Secure Anti-Virus for Microsoft = Exchange.=0A= For more information, connect to http://www.f-secure.com/ ------_=_NextPart_001_01C9449A.C3B75E05 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:x=3D"urn:schemas-microsoft-com:office:excel" = xmlns:p=3D"urn:schemas-microsoft-com:office:powerpoint" = xmlns:a=3D"urn:schemas-microsoft-com:office:access" = xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" = xmlns:s=3D"uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" = xmlns:rs=3D"urn:schemas-microsoft-com:rowset" xmlns:z=3D"#RowsetSchema" = xmlns:b=3D"urn:schemas-microsoft-com:office:publisher" = xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadsheet" = xmlns:c=3D"urn:schemas-microsoft-com:office:component:spreadsheet" = xmlns:odc=3D"urn:schemas-microsoft-com:office:odc" = xmlns:oa=3D"urn:schemas-microsoft-com:office:activation" = xmlns:html=3D"http://www.w3.org/TR/REC-html40" = xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" xmlns:D=3D"DAV:" = xmlns:x2=3D"http://schemas.microsoft.com/office/excel/2003/xml" = xmlns:ois=3D"http://schemas.microsoft.com/sharepoint/soap/ois/" = xmlns:dir=3D"http://schemas.microsoft.com/sharepoint/soap/directory/" = xmlns:ds=3D"http://www.w3.org/2000/09/xmldsig#" = xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint/dsp" = xmlns:udc=3D"http://schemas.microsoft.com/data/udc" = xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" = xmlns:sub=3D"http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/"= xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#" = xmlns:sp=3D"http://schemas.microsoft.com/sharepoint/" = xmlns:sps=3D"http://schemas.microsoft.com/sharepoint/soap/" = xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" = xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile" = xmlns:wf=3D"http://schemas.microsoft.com/sharepoint/soap/workflow/" = xmlns:mver=3D"http://schemas.openxmlformats.org/markup-compatibility/2006= " xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns:mrels=3D"http://schemas.openxmlformats.org/package/2006/relationshi= ps" = xmlns:ex12t=3D"http://schemas.microsoft.com/exchange/services/2006/types"= = xmlns:ex12m=3D"http://schemas.microsoft.com/exchange/services/2006/messag= es" xmlns:Z=3D"urn:schemas-microsoft-com:" xmlns:st=3D"&#1;" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} code {mso-style-priority:99; font-family:"Courier New";} p.msochpdefault, li.msochpdefault, div.msochpdefault {mso-style-name:msochpdefault; mso-margin-top-alt:auto; margin-right:0cm; mso-margin-bottom-alt:auto; margin-left:0cm; font-size:10.0pt; font-family:"Times New Roman","serif";} span.emailstyle18 {mso-style-name:emailstyle18; font-family:"Calibri","sans-serif"; color:windowtext;} span.emailstyle19 {mso-style-name:emailstyle19; font-family:"Arial","sans-serif"; color:#1F497D;} span.emailstyle20 {mso-style-name:emailstyle20; font-family:"Calibri","sans-serif"; color:#1F497D;} span.EmailStyle22 {mso-style-type:personal-reply; font-family:"Arial","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>You&#8217;re using .NET = framework 1.x&#8217;s SqlClient which doesn&#8217;t support transparent database mirroring. = The correct type name is:</span></font><font size=3D2 color=3D"#1f497d" = face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= ><o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>System.Data.SqlClient.SqlConnect= ion, System.Data, Version=3D161.129.204.104, Culture=3Dneutral, = PublicKeyToken=3Db77a5c561934e089<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>(you can verify this name using = typeof(SqlConnection).AssemblyQualifiedName))<o:p></o:p></span></font></p= > <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'><o:p>&nbsp;</o:p></span></font><= /p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>You should specify a failover = partner in your connection string in case the principal server is offline when you = make the initial connection:<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>Data = Source=3D&lt;SQLA&gt;;Failover Partner=3D&lt;SQLB&gt;;Initial Catalog=3D&lt;..&gt;;Integrated = Security=3DTrue<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'><o:p>&nbsp;</o:p></span></font><= /p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>I also assume you&#8217;re = running Sql Server 2005 SP1 or later? SQL server 2005 pre-SP1 doesn&#8217;t officially = support mirroring in production use.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'><o:p>&nbsp;</o:p></span></font><= /p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>Best = wishes,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>Dag<o:p></o:p></span></font></p>= <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'><o:p>&nbsp;</o:p></span></font><= /p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= ><o:p>&nbsp;</o:p></span></font></p> <div> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt = 0cm 0cm 0cm'> <p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:"Tahoma","sans-serif";font-weight:bold'>From:</span></font></= b><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Ron Grabowski [mailto:[email protected]] <br> <b><span style=3D'font-weight:bold'>Sent:</span></b> Tuesday, November = 11, 2008 11:12 PM<br> <b><span style=3D'font-weight:bold'>To:</span></b> Log4NET User<br> <b><span style=3D'font-weight:bold'>Subject:</span></b> Re: SQL 2005 = Database Mirroring Support<o:p></o:p></span></font></p> </div> </div> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p> <div> <div> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>What does log4net report as the error when you turn on internal = debugging?<o:p></o:p></span></font></p> </div> <div> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p> <div> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font = size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <hr size=3D1 width=3D"100%" align=3Dcenter> </span></font></div> <p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><b><font size=3D2 = face=3DTahoma><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif";font-weight:b= old'>From:</span></font></b><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> &quot;Gourlay, Colin&quot; &lt;[email protected]&gt;<br> <b><span style=3D'font-weight:bold'>To:</span></b> Log4NET User &lt;[email protected]&gt;<br> <b><span style=3D'font-weight:bold'>Sent:</span></b> Tuesday, November = 11, 2008 11:07:33 AM<br> <b><span style=3D'font-weight:bold'>Subject:</span></b> RE: SQL 2005 = Database Mirroring Support</span></font><font size=3D3 face=3D"Times New = Roman"><span style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></font></p> <div> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>Hi = Dag.</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;</span></font><o:p></o:p><= /p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>Thanks for your response.&nbsp; = Unfortunately I am still no further forward on this despite following your = suggestion.&nbsp; I have included further information if this helps.&nbsp; = Suggestions/Advice are very much appreciated.</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;</span></font><o:p></o:p><= /p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>Both servers are fully service = packed and are running with </span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;</span></font><o:p></o:p><= /p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>Log4Net = &nbsp;v1.2.10</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>SQL = 2005</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>.Net 3.5 = </span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;</span></font><o:p></o:p><= /p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>My log4net configuration is as = follows:</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;</span></font><o:p></o:p><= /p> <p class=3DMsoNormal style=3D'text-indent:36.0pt'><font size=3D2 = color=3D"#1f497d" face=3DCalibri><span = style=3D'font-size:11.0pt;color:#1F497D'>&lt;log4net&gt;</span></font><o:= p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp; &lt;root&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;level value=3D&quot;DEBUG&quot; /&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;appender-ref = ref=3D&quot;LogToSqlServer&quot;/&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp; &lt;/root&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;</span></font><o:p></o:p><= /p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp; &lt;appender name=3D&quot;LogToSqlServer&quot; = type=3D&quot;log4net.Appender.AdoNetAppender&quot;&gt;</span></font><o:p>= </o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;filter = type=3D&quot;log4net.Filter.LoggerMatchFilter&quot;&gt;</span></font><o:p= ></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;loggerToMatch value=3D&quot;NHibernate&quot; = /&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;acceptOnMatch value=3D&quot;false&quot; = /&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/filter&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;</span></font><o:p></o:p><= /p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;</span></font><o:p></o:p><= /p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;bufferSize value=3D&quot;0&quot;/&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--&lt;threshold = value=3D&quot;DEBUG&quot;/&gt;--&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;connectionType value=3D&quot;System.Data.SqlClient.SqlConnection, System.Data, Version=3D1.0.3300.0, Culture=3Dneutral, PublicKeyToken=3Db77a5c561934e089&quot;/&gt;</span></font><o:p></o:p></p>= <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;connectionString value=3D&quot;data = source=3D&lt;SERVER-NAME-IS-HERE&gt;;initial catalog=3D&lt;LOGGING-DATABASE-IS-HERE&gt;;integrated = security=3Dtrue;&quot;/&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;commandText value=3D&quot;EXEC &lt;STORED-PROC-NAME-IS-HERE&gt; = @User, @Logger, @LoggingLevel, @Message&quot;/&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterName = value=3D&quot;@User&quot;/&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dbType value=3D&quot;String&quot;/&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;size value=3D&quot;255&quot;/&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;layout = type=3D&quot;log4net.Layout.PatternLayout&quot;&gt;</span></font><o:p></o= :p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp; &lt;conversionPattern = value=3D&quot;%identity&quot;/&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/layout&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameter&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterName = value=3D&quot;@Logger&quot;/&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dbType value=3D&quot;String&quot;/&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;size value=3D&quot;255&quot;/&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;layout type=3D&quot;log4net.Layout.PatternLayout&quot; = value=3D&quot;%logger&quot;/&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameter&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterName = value=3D&quot;@LoggingLevel&quot;/&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dbType value=3D&quot;String&quot;/&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;size value=3D&quot;50&quot;/&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;layout type=3D&quot;log4net.Layout.PatternLayout&quot; value=3D&quot;%level&quot;/&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameter&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterName = value=3D&quot;@Message&quot;/&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dbType value=3D&quot;String&quot;/&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;size value=3D&quot;4000&quot;/&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;layout type=3D&quot;log4net.Layout.PatternLayout&quot; value=3D&quot;%message&quot;/&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameter&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp; &lt;/appender&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/log4net&gt;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;</span></font><o:p></o:p><= /p> <div> <div style=3D'border:none;border-top:solid windowtext = 1.0pt;padding:3.0pt 0cm 0cm 0cm; border-color:-moz-use-text-color -moz-use-text-color'> <p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:"Tahoma","sans-serif";font-weight:bold'>From:</span></font></= b><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Dag Christensen [mailto:[email protected]] <br> <b><span style=3D'font-weight:bold'>Sent:</span></b> 06 November 2008 = 13:06<br> <b><span style=3D'font-weight:bold'>To:</span></b> Log4NET User<br> <b><span style=3D'font-weight:bold'>Subject:</span></b> RE: SQL 2005 = Database Mirroring Support<br> <b><span style=3D'font-weight:bold'>Importance:</span></b> = Low</span></font><o:p></o:p></p> </div> </div> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>&nbsp;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= >Should be handled transparently if you&#8217;re using SqlClient or native = client and a correct connection string. I think log4net uses OLE DB by default, you = might want to try changing this to SqlClient.</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= >&nbsp;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= >If it still doesn&#8217;t work, try setting your appender&#8217;s = ReconnectOnError to true.</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= >&nbsp;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= >It would also be helpful if you posted the versions you&#8217;re using = (log4net, SQL server 2005 service pack?, .NET framework version and service pack?) = and your log4net configuration.</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= >&nbsp;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= >Best wishes,</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= >Dag</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= >&nbsp;</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'= >&nbsp;</span></font><o:p></o:p></p> <div> <div style=3D'border:none;border-top:solid windowtext = 1.0pt;padding:3.0pt 0cm 0cm 0cm; border-color:-moz-use-text-color -moz-use-text-color'> <p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:"Tahoma","sans-serif";font-weight:bold'>From:</span></font></= b><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Gourlay, Colin [mailto:[email protected]] <br> <b><span style=3D'font-weight:bold'>Sent:</span></b> Thursday, November = 06, 2008 12:59 PM<br> <b><span style=3D'font-weight:bold'>To:</span></b> Log4NET User<br> <b><span style=3D'font-weight:bold'>Subject:</span></b> SQL 2005 = Database Mirroring Support</span></font><o:p></o:p></p> </div> </div> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>&nbsp;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>Does log4net support the database mirroring feature in SQL 2005? = <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>&nbsp;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>It logs quite happily when logging to our primary database but when I = failover logging ceases to work &#8211; in that nothing is logged &#8211; when I = failback logging works as before.&nbsp; The mirroring has been configured = correctly (test has been done to verify this) so I think I can rule this = out.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>&nbsp;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>Other than the following entry (as per <a href=3D"http://blogs.technet.com/johnbaker/archive/2005/10/06/412126.aspx= " target=3D"_blank">http://blogs.technet.com/johnbaker/archive/2005/10/06/4= 12126.aspx</a>) included in my connection string is there something else = required?<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>&nbsp;<o:p></o:p></span></font></p> <p class=3DMsoNormal><code><font size=3D2 face=3D"Courier New"><span = lang=3DEN style=3D'font-size:10.0pt'>failover = partner=3DMyFailoverDatabaseServer</span></font></code><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>&nbsp;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>Is there anything else I should be = considering?<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>&nbsp;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>Thanks in advance.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>&nbsp;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>Colin<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>&nbsp;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>&nbsp;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>&nbsp;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'>&nbsp;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt;font-family:"Times New = Roman","serif"'>&nbsp;</span></font><o:p></o:p></p> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font = size=3D3 face=3D"Times New Roman"><span = style=3D'font-size:12.0pt;font-family:"Times New Roman","serif"'> <hr size=3D2 width=3D"100%" align=3Dcenter> </span></font></div> <p class=3DMsoNormal><font size=3D1 color=3Dgray face=3DArial><span = style=3D'font-size: 7.5pt;font-family:"Arial","sans-serif";color:gray'><br> Edinburgh Business School is a Charity Registered in Scotland, = SC026900</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt;font-family:"Times New = Roman","serif"'>###########################################<br> <br> This message has been scanned by F-Secure Anti-Virus for Microsoft = Exchange.<br> For more information, connect to = http://www.f-secure.com/</span></font><o:p></o:p></p> </div> </div> </div> </div> </div> ###########################################<br><br>This message has been = scanned by F-Secure Anti-Virus for Microsoft Exchange.<br>For more = information, connect to http://www.f-secure.com/</body> </html> ------_=_NextPart_001_01C9449A.C3B75E05-- From [email protected] Wed Nov 12 12:06:16 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89361 invoked from network); 12 Nov 2008 12:06:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Nov 2008 12:06:16 -0000 Received: (qmail 37203 invoked by uid 500); 12 Nov 2008 12:06:22 -0000 Delivered-To: [email protected] Received: (qmail 37185 invoked by uid 500); 12 Nov 2008 12:06:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 37174 invoked by uid 99); 12 Nov 2008 12:06:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Nov 2008 04:06:21 -0800 X-ASF-Spam-Status: No, hits=-0.8 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO SG2EHSOBE002.bigfish.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Nov 2008 12:04:59 +0000 Received: from mail9-sin-R.bigfish.com (161.129.204.104) by SG2EHSOBE002.bigfish.com (161.129.204.104) with Microsoft SMTP Server id 8.1.291.1; Wed, 12 Nov 2008 12:05:16 +0000 Received: from mail9-sin (localhost.localdomain [161.129.204.104]) by mail9-sin-R.bigfish.com (Postfix) with ESMTP id 12E82550167 for <[email protected]>; Wed, 12 Nov 2008 12:05:16 +0000 (UTC) X-BigFish: VS-49(zz1417L9370P14e0Q1443R936fO12c9M9371Pf4eM94f8k19c2kzzzz2f39iz2dh6bh61h) X-Spam-TCS-SCL: 0:0 Received: by mail9-sin (MessageSwitch) id 1226491510789929_28069; Wed, 12 Nov 2008 12:05:10 +0000 (UCT) Received: from ebs-exch01.ebsglobal.net (webmail.ebsglobal.net [161.129.204.104]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail9-sin.bigfish.com (Postfix) with ESMTP id CDD9DF68065 for <[email protected]>; Wed, 12 Nov 2008 12:05:09 +0000 (UTC) Received: from ebs-exch01.EBSGlobal.net ([161.129.204.104]) by ebs-exch01.EBSGlobal.net ([161.129.204.104]) with mapi; Wed, 12 Nov 2008 12:05:05 +0000 From: "Gourlay, Colin" <[email protected]> To: Log4NET User <[email protected]> Date: Wed, 12 Nov 2008 12:05:01 +0000 Subject: RE: SQL 2005 Database Mirroring Support Thread-Topic: SQL 2005 Database Mirroring Support Thread-Index: AclESr3a4rBzN5t/SCuLMCnZOJhZSwAc16oA Message-ID: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-GB Content-Type: multipart/alternative; boundary="_000_7E418EB425E58A49BCCEC5A4450F7B1E24093DB08Cebsexch01EBSG_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_7E418EB425E58A49BCCEC5A4450F7B1E24093DB08Cebsexch01EBSG_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello. When I turn on internal debugging I get [email protected]. This is a web application (using Windows authentication) and the user has w= rite permissions to the folder I created where I wanted the log4net debuggi= ng output be rendered to. In case this is significant I added the following to the web.config file: = <add key=3D"log4net.Internal.Debug" value=3D"true"/> And added the following to the logging.config file (the logging information= is held in a separate config file). I use ConfigureAndWatch() to pick up = the changes but just to be sure that it picked up the additions I restarted= the web site in IIS. <system.diagnostics> <trace autoflush=3D"true"> <listeners> <add name=3D"textWriterTraceListener" type=3D"System.Diagnostics.TextWriterTraceListener" initializeData=3D"C:\tmp\log4net.txt" /> </listeners> </trace> </system.diagnostics> Any thoughts? Colin From: Ron Grabowski [mailto:[email protected]] Sent: 11 November 2008 22:12 To: Log4NET User Subject: Re: SQL 2005 Database Mirroring Support Importance: Low What does log4net report as the error when you turn on internal debugging? ________________________________ From: "Gourlay, Colin" <[email protected]> To: Log4NET User <[email protected]> Sent: Tuesday, November 11, 2008 11:07:33 AM Subject: RE: SQL 2005 Database Mirroring Support Hi Dag. Thanks for your response. Unfortunately I am still no further forward on t= his despite following your suggestion. I have included further information= if this helps. Suggestions/Advice are very much appreciated. Both servers are fully service packed and are running with Log4Net v1.2.10 SQL 2005 .Net 3.5 My log4net configuration is as follows: <log4net> <root> <level value=3D"DEBUG" /> <appender-ref ref=3D"LogToS= qlServer"/> </root> <appender name=3D"LogToSqlServer" type=3D"l= og4net.Appender.AdoNetAppender"> <filter type=3D"log4net.Fil= ter.LoggerMatchFilter"> <loggerToMa= tch value=3D"NHibernate" /> <acceptOnMa= tch value=3D"false" /> </filter> <bufferSize value=3D"0"/> <!--<threshold value=3D"DEB= UG"/>--> <connectionType value=3D"Sy= stem.Data.SqlClient.SqlConnection, System.Data, Version=3D1.0.3300.0, Cultu= re=3Dneutral, PublicKeyToken=3Db77a5c561934e089"/> <connectionString value=3D"= data source=3D<SERVER-NAME-IS-HERE>;initial catalog=3D<LOGGING-DATABASE-IS-= HERE>;integrated security=3Dtrue;"/> <commandText value=3D"EXEC = <STORED-PROC-NAME-IS-HERE> @User, @Logger, @LoggingLevel, @Message"/> <parameter> <parameterN= ame value=3D"@User"/> <dbType val= ue=3D"String"/> <size value= =3D"255"/> <layout typ= e=3D"log4net.Layout.PatternLayout"> = <conversionPattern value=3D"%identity"/> </layout> </parameter> <parameter> <parameterN= ame value=3D"@Logger"/> <dbType val= ue=3D"String"/> <size value= =3D"255"/> <layout typ= e=3D"log4net.Layout.PatternLayout" value=3D"%logger"/> </parameter> <parameter> <parameterN= ame value=3D"@LoggingLevel"/> <dbType val= ue=3D"String"/> <size value= =3D"50"/> <layout typ= e=3D"log4net.Layout.PatternLayout" value=3D"%level"/> </parameter> <parameter> <parameterN= ame value=3D"@Message"/> <dbType val= ue=3D"String"/> <size value= =3D"4000"/> <layout typ= e=3D"log4net.Layout.PatternLayout" value=3D"%message"/> </parameter> </appender> </log4net> From: Dag Christensen [mailto:[email protected]] Sent: 06 November 2008 13:06 To: Log4NET User Subject: RE: SQL 2005 Database Mirroring Support Importance: Low Should be handled transparently if you're using SqlClient or native client = and a correct connection string. I think log4net uses OLE DB by default, yo= u might want to try changing this to SqlClient. If it still doesn't work, try setting your appender's ReconnectOnError to t= rue. It would also be helpful if you posted the versions you're using (log4net, = SQL server 2005 service pack?, .NET framework version and service pack?) an= d your log4net configuration. Best wishes, Dag From: Gourlay, Colin [mailto:[email protected]] Sent: Thursday, November 06, 2008 12:59 PM To: Log4NET User Subject: SQL 2005 Database Mirroring Support Does log4net support the database mirroring feature in SQL 2005? It logs quite happily when logging to our primary database but when I failo= ver logging ceases to work - in that nothing is logged - when I failback lo= gging works as before. The mirroring has been configured correctly (test h= as been done to verify this) so I think I can rule this out. Other than the following entry (as per http://blogs.technet.com/johnbaker/a= rchive/2005/10/06/412126.aspx) included in my connection string is there so= mething else required? failover partner=3DMyFailoverDatabaseServer Is there anything else I should be considering? Thanks in advance. Colin ________________________________ Edinburgh Business School is a Charity Registered in Scotland, SC026900 ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange= . For more information, connect to http://www.f-secure.com/ --_000_7E418EB425E58A49BCCEC5A4450F7B1E24093DB08Cebsexch01EBSG_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:x=3D"urn:schemas-microsoft-com:office:excel" xmlns:p=3D"urn:schemas-m= icrosoft-com:office:powerpoint" xmlns:a=3D"urn:schemas-microsoft-com:office= :access" xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s=3D"= uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs=3D"urn:schemas-microsof= t-com:rowset" xmlns:z=3D"#RowsetSchema" xmlns:b=3D"urn:schemas-microsoft-co= m:office:publisher" xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadshee= t" xmlns:c=3D"urn:schemas-microsoft-com:office:component:spreadsheet" xmlns= :odc=3D"urn:schemas-microsoft-com:office:odc" xmlns:oa=3D"urn:schemas-micro= soft-com:office:activation" xmlns:html=3D"http://www.w3.org/TR/REC-html40" = xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" xmlns:D=3D"DAV:" xmln= s:x2=3D"http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois=3D"ht= tp://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir=3D"http://schema= s.microsoft.com/sharepoint/soap/directory/" xmlns:ds=3D"http://www.w3.org/2= 000/09/xmldsig#" xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint/dsp" = xmlns:udc=3D"http://schemas.microsoft.com/data/udc" xmlns:xsd=3D"http://www= .w3.org/2001/XMLSchema" xmlns:sub=3D"http://schemas.microsoft.com/sharepoin= t/soap/2002/1/alerts/" xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#" xmlns= :sp=3D"http://schemas.microsoft.com/sharepoint/" xmlns:sps=3D"http://schema= s.microsoft.com/sharepoint/soap/" xmlns:xsi=3D"http://www.w3.org/2001/XMLSc= hema-instance" xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile= " xmlns:wf=3D"http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns= :mver=3D"http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns= :m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels=3D"http= ://schemas.openxmlformats.org/package/2006/relationships" xmlns:ex12t=3D"ht= tp://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m=3D"htt= p://schemas.microsoft.com/exchange/services/2006/messages" xmlns:Z=3D"urn:s= chemas-microsoft-com:" xmlns:st=3D"&#1;" xmlns=3D"http://www.w3.org/TR/REC-= html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-ascii"= > <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:Wingdings; panose-1:5 0 0 0 0 0 0 0 0 0;} @font-face {font-family:Wingdings; panose-1:5 0 0 0 0 0 0 0 0 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} code {mso-style-priority:99; font-family:"Courier New";} pre {mso-style-priority:99; mso-style-link:"HTML Preformatted Char"; margin:0cm; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Courier New";} p.msochpdefault, li.msochpdefault, div.msochpdefault {mso-style-name:msochpdefault; mso-margin-top-alt:auto; margin-right:0cm; mso-margin-bottom-alt:auto; margin-left:0cm; font-size:10.0pt; font-family:"Times New Roman","serif";} span.emailstyle18 {mso-style-name:emailstyle18; font-family:"Calibri","sans-serif"; color:windowtext;} span.emailstyle19 {mso-style-name:emailstyle19; font-family:"Arial","sans-serif"; color:#1F497D;} span.emailstyle20 {mso-style-name:emailstyle20; font-family:"Calibri","sans-serif"; color:#1F497D;} span.EmailStyle22 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} span.HTMLPreformattedChar {mso-style-name:"HTML Preformatted Char"; mso-style-priority:99; mso-style-link:"HTML Preformatted"; font-family:"Courier New";} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt;} div.Section1 {page:Section1;} /* List Definitions */ @list l0 {mso-list-id:776798370; mso-list-template-ids:-485450954;} @list l0:level1 {mso-level-number-format:bullet; mso-level-text:\F0B7; mso-level-tab-stop:36.0pt; mso-level-number-position:left; text-indent:-18.0pt; mso-ansi-font-size:10.0pt; font-family:Symbol;} ol {margin-bottom:0cm;} ul {margin-bottom:0cm;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><span style=3D'color:black'>Hello.<o:p></o:p></span></= p> <p class=3DMsoNormal><span style=3D'color:black'><o:p>&nbsp;</o:p></span></= p> <p class=3DMsoNormal><span style=3D'color:black'>When I turn on internal de= bugging I get [email protected].<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:black'><o:p>&nbsp;</o:p></span></= p> <p class=3DMsoNormal><span style=3D'color:black'>This is a web application = (using Windows authentication) and the user has write permissions to the folder I created where I wanted the log4net debugging output be rendered to.<o:p></o= :p></span></p> <p class=3DMsoNormal><span style=3D'color:black'><o:p>&nbsp;</o:p></span></= p> <pre><span style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:black'>In case this is significant I&nbsp; added the following to the= web.config file: </span><span style=3D'font-size:11.0pt;color:black'>&lt;add key=3D&quot;log4net.Internal= .Debug&quot; value=3D&quot;true&quot;/&gt; <o:p></o:p></span></pre><pre><sp= an style=3D'font-size:11.0pt;color:black'><o:p>&nbsp;</o:p></span></pre><pre><= span style=3D'font-size:11.0pt;color:black'>And added the following to the loggi= ng.config file (the logging information is held in a separate config file).= &nbsp; I use ConfigureAndWatch() to pick up the changes but just to be sure= that it picked up the additions I restarted the web site in IIS.<o:p></o:p= ></span></pre><pre><span style=3D'font-size:11.0pt;color:black'><o:p>&nbsp;</o:p></span></pre><pre><= span style=3D'font-size:11.0pt;color:black'>&nbsp;&nbsp;&nbsp; &lt;system.diagno= stics&gt;<o:p></o:p></span></pre><pre><span style=3D'font-size:11.0pt;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp; &lt;trace autoflush=3D&quot;true&quot;&gt;<o:p></o:p></span></pre><p= re><span style=3D'font-size:11.0pt;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;listeners&gt;<o:p></o:p></span></pre><pr= e><span style=3D'font-size:11.0pt;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;add <o:p></o:p><= /span></pre><pre><span style=3D'font-size:11.0pt;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;name=3D&quot;textWriterTraceListener&quot; <o:p></o:p></span></pre= ><pre><span style=3D'font-size:11.0pt;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;type=3D&quot;System.Diagnostics.TextWriterTraceListener&quot; <o:p= ></o:p></span></pre><pre><span style=3D'font-size:11.0pt;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;initializeData=3D&quot;C:\tmp\log4net.txt&quot; /&gt;<o:p></o:p></= span></pre><pre><span style=3D'font-size:11.0pt;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/listeners&gt;<o:p></o:p></span></pre><p= re><span style=3D'font-size:11.0pt;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp; &lt;/trace&gt;<o:p></o:p></span></pre><pre><span style=3D'font-size:11.0pt;color:black'>&nbsp;&nbsp;&nbsp; &lt;/system.diagn= ostics&gt;<o:p></o:p></span></pre><pre><span style=3D'font-size:11.0pt;color:black'><o:p>&nbsp;</o:p></span></pre><pre><= span style=3D'font-size:11.0pt;color:black'><o:p>&nbsp;</o:p></span></pre><pre><= span style=3D'font-size:11.0pt;color:black'>Any thoughts?<o:p></o:p></span></pre= ><pre><span style=3D'font-size:11.0pt;color:black'><o:p>&nbsp;</o:p></span></pre><pre><= span style=3D'font-size:11.0pt;color:black'>Colin<o:p></o:p></span></pre><pre><o= :p>&nbsp;</o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre><o:p>&nbsp;</o:p></pr= e> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <div> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm = 0cm 0cm'> <p class=3DMsoNormal><b><span style=3D'font-size:10.0pt;font-family:"Tahoma= ","sans-serif"'>From:</span></b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Ron Grabowski [mailto:[email protected]] <br> <b>Sent:</b> 11 November 2008 22:12<br> <b>To:</b> Log4NET User<br> <b>Subject:</b> Re: SQL 2005 Database Mirroring Support<br> <b>Importance:</b> Low<o:p></o:p></span></p> </div> </div> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <div> <div> <p class=3DMsoNormal>What does log4net report as the error when you turn on internal debugging?<o:p></o:p></p> </div> <div> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <div> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <hr size=3D1 width=3D"100%" align=3Dcenter> </span></div> <p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><b><span style=3D'font-= size:10.0pt; font-family:"Tahoma","sans-serif"'>From:</span></b><span style=3D'font-size= :10.0pt; font-family:"Tahoma","sans-serif"'> &quot;Gourlay, Colin&quot; &lt;[email protected]&gt;<br> <b>To:</b> Log4NET User &lt;[email protected]&gt;<br> <b>Sent:</b> Tuesday, November 11, 2008 11:07:33 AM<br> <b>Subject:</b> RE: SQL 2005 Database Mirroring Support</span><span style=3D'font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p= ></span></p> <div> <p class=3DMsoNormal><span style=3D'color:#1F497D'>Hi Dag.</span><o:p></o:p= ></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;</span><o:p></o:p>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>Thanks for your response= .&nbsp; Unfortunately I am still no further forward on this despite following your suggestion.&nbsp; I have included further information if this helps.&nbsp; Suggestions/Advice are very much appreciated.</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;</span><o:p></o:p>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>Both servers are fully s= ervice packed and are running with </span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;</span><o:p></o:p>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>Log4Net &nbsp;v1.2.10</s= pan><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>SQL 2005</span><o:p></o:= p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>.Net 3.5 </span><o:p></o= :p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;</span><o:p></o:p>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>My log4net configuration= is as follows:</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;</span><o:p></o:p>= </p> <p class=3DMsoNormal style=3D'text-indent:36.0pt'><span style=3D'color:#1F4= 97D'>&lt;log4net&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp; &lt;root&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;level value=3D&quot;DEBUG&quot; /&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;appender-ref ref=3D&quot;LogToSqlServer&quot;/&gt;</span><o:p></o:p></p= > <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp; &lt;/root&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;</span><o:p></o:p>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp; &lt;appender name=3D&quot;LogToSqlServer&quot; type=3D&quot;log4net.Appende= r.AdoNetAppender&quot;&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;filter type=3D&quot;log4net.Filter.LoggerMatchFilter&quot;&gt;</span><o= :p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;loggerToMatch value=3D&quot;NHibernate&quot; /&gt;</span><o:p></o:p></p= > <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;acceptOnMatch value=3D&quot;false&quot; /&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/filter&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;</span><o:p></o:p>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;</span><o:p></o:p>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;bufferSize value=3D&quot;0&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--&lt;threshold value=3D&quot;DEBUG&quot;/&gt;--&gt;</span><o:p></o:p>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;connectionType value=3D&quot;System.Data.SqlClient.SqlConnection, System.Data, Version=3D1.0.3300.0, Culture=3Dneutral, PublicKeyToken=3Db77a5c561934e089&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;connectionString value=3D&quot;data source=3D&lt;SERVER-NAME-IS-HERE&gt;;initial catalog=3D&lt;LOGGING-DATABASE-IS-HERE&gt;;integrated security=3Dtrue;&quot= ;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;commandText value=3D&quot;EXEC &lt;STORED-PROC-NAME-IS-HERE&gt; @User, @Logger, @LoggingLevel, @Message&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterName value=3D&quot;@User&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dbType value=3D&quot;String&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;size value=3D&quot;255&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;layout type=3D&quot;log4net.Layout.PatternLayout&quot;&gt;</span><o:p><= /o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;conversionPattern value=3D&quot;%identity&quot;/&gt;</span><o:p></o:p><= /p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/layout&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameter&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterName value=3D&quot;@Logger&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dbType value=3D&quot;String&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;size value=3D&quot;255&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;layout type=3D&quot;log4net.Layout.PatternLayout&quot; value=3D&quot;%logger&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameter&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterName value=3D&quot;@LoggingLevel&quot;/&gt;</span><o:p></o:p><= /p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dbType value=3D&quot;String&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;size value=3D&quot;50&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;layout type=3D&quot;log4net.Layout.PatternLayout&quot; value=3D&quot;%level&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameter&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterName value=3D&quot;@Message&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dbType value=3D&quot;String&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;size value=3D&quot;4000&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;layout type=3D&quot;log4net.Layout.PatternLayout&quot; value=3D&quot;%message&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameter&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp; &lt;/appender&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/log4net&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;</span><o:p></o:p>= </p> <div> <div style=3D'border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0= cm 0cm 0cm; border-color:-moz-use-text-color -moz-use-text-color'> <p class=3DMsoNormal><b><span style=3D'font-size:10.0pt;font-family:"Tahoma= ","sans-serif"'>From:</span></b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Dag Christens= en [mailto:[email protected]] <br> <b>Sent:</b> 06 November 2008 13:06<br> <b>To:</b> Log4NET User<br> <b>Subject:</b> RE: SQL 2005 Database Mirroring Support<br> <b>Importance:</b> Low</span><o:p></o:p></p> </div> </div> <p class=3DMsoNormal>&nbsp;<o:p></o:p></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'>Should be handled transparently if you&#8217;re using SqlCli= ent or native client and a correct connection string. I think log4net uses OLE DB = by default, you might want to try changing this to SqlClient.</span><o:p></o:p= ></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'>&nbsp;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'>If it still doesn&#8217;t work, try setting your appender&#8= 217;s ReconnectOnError to true.</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'>&nbsp;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'>It would also be helpful if you posted the versions you&#821= 7;re using (log4net, SQL server 2005 service pack?, .NET framework version and service pack?) and your log4net configuration.</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'>&nbsp;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'>Best wishes,</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'>Dag</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'>&nbsp;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'>&nbsp;</span><o:p></o:p></p> <div> <div style=3D'border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0= cm 0cm 0cm; border-color:-moz-use-text-color -moz-use-text-color'> <p class=3DMsoNormal><b><span style=3D'font-size:10.0pt;font-family:"Tahoma= ","sans-serif"'>From:</span></b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Gourlay, Coli= n [mailto:[email protected]] <br> <b>Sent:</b> Thursday, November 06, 2008 12:59 PM<br> <b>To:</b> Log4NET User<br> <b>Subject:</b> SQL 2005 Database Mirroring Support</span><o:p></o:p></p> </div> </div> <p class=3DMsoNormal>&nbsp;<o:p></o:p></p> <p class=3DMsoNormal>Does log4net support the database mirroring feature in= SQL 2005? <o:p></o:p></p> <p class=3DMsoNormal>&nbsp;<o:p></o:p></p> <p class=3DMsoNormal>It logs quite happily when logging to our primary data= base but when I failover logging ceases to work &#8211; in that nothing is logge= d &#8211; when I failback logging works as before.&nbsp; The mirroring has been configured correctly (test has been done to verify this) so I think I can rule this ou= t.<o:p></o:p></p> <p class=3DMsoNormal>&nbsp;<o:p></o:p></p> <p class=3DMsoNormal>Other than the following entry (as per <a href=3D"http://blogs.technet.com/johnbaker/archive/2005/10/06/412126.aspx" target=3D"_blank">http://blogs.technet.com/johnbaker/archive/2005/10/06/412= 126.aspx</a>) included in my connection string is there something else required?<o:p></o:= p></p> <p class=3DMsoNormal>&nbsp;<o:p></o:p></p> <p class=3DMsoNormal><code><span lang=3DEN style=3D'font-size:10.0pt'>failo= ver partner=3DMyFailoverDatabaseServer</span></code><o:p></o:p></p> <p class=3DMsoNormal>&nbsp;<o:p></o:p></p> <p class=3DMsoNormal>Is there anything else I should be considering?<o:p></= o:p></p> <p class=3DMsoNormal>&nbsp;<o:p></o:p></p> <p class=3DMsoNormal>Thanks in advance.<o:p></o:p></p> <p class=3DMsoNormal>&nbsp;<o:p></o:p></p> <p class=3DMsoNormal>Colin<o:p></o:p></p> <p class=3DMsoNormal>&nbsp;<o:p></o:p></p> <p class=3DMsoNormal>&nbsp;<o:p></o:p></p> <p class=3DMsoNormal>&nbsp;<o:p></o:p></p> <p class=3DMsoNormal>&nbsp;<o:p></o:p></p> <p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New= Roman","serif"'>&nbsp;</span><o:p></o:p></p> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><span style=3D'font-size:12.0pt;font-family:"Times New Roman","serif"'> <hr size=3D2 width=3D"100%" align=3Dcenter> </span></div> <p class=3DMsoNormal><span style=3D'font-size:7.5pt;font-family:"Arial","sa= ns-serif"; color:gray'><br> Edinburgh Business School is a Charity Registered in Scotland, SC026900</sp= an><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New= Roman","serif"'>###########################################<br> <br> This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange= .<br> For more information, connect to http://www.f-secure.com/</span><o:p></o:p>= </p> </div> </div> </div> </div> </div> </body> </html> --_000_7E418EB425E58A49BCCEC5A4450F7B1E24093DB08Cebsexch01EBSG_-- From [email protected] Wed Nov 12 12:09:24 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89948 invoked from network); 12 Nov 2008 12:09:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Nov 2008 12:09:24 -0000 Received: (qmail 43319 invoked by uid 500); 12 Nov 2008 12:09:31 -0000 Delivered-To: [email protected] Received: (qmail 42920 invoked by uid 500); 12 Nov 2008 12:09:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 42909 invoked by uid 99); 12 Nov 2008 12:09:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Nov 2008 04:09:30 -0800 X-ASF-Spam-Status: No, hits=-2.0 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO SG2EHSOBE001.bigfish.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Nov 2008 12:08:07 +0000 Received: from mail192-sin-R.bigfish.com (161.129.204.104) by SG2EHSOBE001.bigfish.com (161.129.204.104) with Microsoft SMTP Server id 8.1.291.1; Wed, 12 Nov 2008 12:08:27 +0000 Received: from mail192-sin (localhost.localdomain [161.129.204.104]) by mail192-sin-R.bigfish.com (Postfix) with ESMTP id 8ACAD1288138 for <[email protected]>; Wed, 12 Nov 2008 12:08:27 +0000 (UTC) X-BigFish: VS-52(zz1417L9370P14e0Q1443R936fO12c9M9371Pf4eM19c2kzzzz2f39iz2dh6bh61h) X-Spam-TCS-SCL: 0:0 Received: by mail192-sin (MessageSwitch) id 1226491691725348_11545; Wed, 12 Nov 2008 12:08:11 +0000 (UCT) Received: from ebs-exch01.ebsglobal.net (webmail.ebsglobal.net [161.129.204.104]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail192-sin.bigfish.com (Postfix) with ESMTP id E7302C70072 for <[email protected]>; Wed, 12 Nov 2008 12:08:09 +0000 (UTC) Received: from ebs-exch01.EBSGlobal.net ([161.129.204.104]) by ebs-exch01.EBSGlobal.net ([161.129.204.104]) with mapi; Wed, 12 Nov 2008 12:08:07 +0000 From: "Gourlay, Colin" <[email protected]> To: Log4NET User <[email protected]> Date: Wed, 12 Nov 2008 12:08:06 +0000 Subject: RE: SQL 2005 Database Mirroring Support Thread-Topic: SQL 2005 Database Mirroring Support Thread-Index: AclESr2YW+LeMJfARCuSlPW8QYwOWgAS0oFQAAo+P4A= Message-ID: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-GB Content-Type: multipart/alternative; boundary="_000_7E418EB425E58A49BCCEC5A4450F7B1E24093DB08Febsexch01EBSG_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_7E418EB425E58A49BCCEC5A4450F7B1E24093DB08Febsexch01EBSG_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello again Dag. Updated my config file as per your suggestion and now the application is no= t logging to the primary database or the failover database. I tried to enable log4net's internal debugging but no file with information= is being created (permissions to create the file had been granted to the u= ser running the application). I am running SP1 on SQL Server 2005. Any thoughts? Cheers Colin From: Dag Christensen [mailto:[email protected]] Sent: 12 November 2008 07:46 To: Log4NET User Subject: RE: SQL 2005 Database Mirroring Support Importance: Low You're using .NET framework 1.x's SqlClient which doesn't support transpare= nt database mirroring. The correct type name is: System.Data.SqlClient.SqlConnection, System.Data, Version=3D161.129.204.104, Cultur= e=3Dneutral, PublicKeyToken=3Db77a5c561934e089 (you can verify this name using typeof(SqlConnection).AssemblyQualifiedName= )) You should specify a failover partner in your connection string in case the= principal server is offline when you make the initial connection: Data Source=3D<SQLA>;Failover Partner=3D<SQLB>;Initial Catalog=3D<..>;Integ= rated Security=3DTrue I also assume you're running Sql Server 2005 SP1 or later? SQL server 2005 = pre-SP1 doesn't officially support mirroring in production use. Best wishes, Dag From: Ron Grabowski [mailto:[email protected]] Sent: Tuesday, November 11, 2008 11:12 PM To: Log4NET User Subject: Re: SQL 2005 Database Mirroring Support What does log4net report as the error when you turn on internal debugging? ________________________________ From: "Gourlay, Colin" <[email protected]> To: Log4NET User <[email protected]> Sent: Tuesday, November 11, 2008 11:07:33 AM Subject: RE: SQL 2005 Database Mirroring Support Hi Dag. Thanks for your response. Unfortunately I am still no further forward on t= his despite following your suggestion. I have included further information= if this helps. Suggestions/Advice are very much appreciated. Both servers are fully service packed and are running with Log4Net v1.2.10 SQL 2005 .Net 3.5 My log4net configuration is as follows: <log4net> <root> <level value=3D"DEBUG" /> <appender-ref ref=3D"LogToS= qlServer"/> </root> <appender name=3D"LogToSqlServer" type=3D"l= og4net.Appender.AdoNetAppender"> <filter type=3D"log4net.Fil= ter.LoggerMatchFilter"> <loggerToMa= tch value=3D"NHibernate" /> <acceptOnMa= tch value=3D"false" /> </filter> <bufferSize value=3D"0"/> <!--<threshold value=3D"DEB= UG"/>--> <connectionType value=3D"Sy= stem.Data.SqlClient.SqlConnection, System.Data, Version=3D1.0.3300.0, Cultu= re=3Dneutral, PublicKeyToken=3Db77a5c561934e089"/> <connectionString value=3D"= data source=3D<SERVER-NAME-IS-HERE>;initial catalog=3D<LOGGING-DATABASE-IS-= HERE>;integrated security=3Dtrue;"/> <commandText value=3D"EXEC = <STORED-PROC-NAME-IS-HERE> @User, @Logger, @LoggingLevel, @Message"/> <parameter> <parameterN= ame value=3D"@User"/> <dbType val= ue=3D"String"/> <size value= =3D"255"/> <layout typ= e=3D"log4net.Layout.PatternLayout"> = <conversionPattern value=3D"%identity"/> </layout> </parameter> <parameter> <parameterN= ame value=3D"@Logger"/> <dbType val= ue=3D"String"/> <size value= =3D"255"/> <layout typ= e=3D"log4net.Layout.PatternLayout" value=3D"%logger"/> </parameter> <parameter> <parameterN= ame value=3D"@LoggingLevel"/> <dbType val= ue=3D"String"/> <size value= =3D"50"/> <layout typ= e=3D"log4net.Layout.PatternLayout" value=3D"%level"/> </parameter> <parameter> <parameterN= ame value=3D"@Message"/> <dbType val= ue=3D"String"/> <size value= =3D"4000"/> <layout typ= e=3D"log4net.Layout.PatternLayout" value=3D"%message"/> </parameter> </appender> </log4net> From: Dag Christensen [mailto:[email protected]] Sent: 06 November 2008 13:06 To: Log4NET User Subject: RE: SQL 2005 Database Mirroring Support Importance: Low Should be handled transparently if you're using SqlClient or native client = and a correct connection string. I think log4net uses OLE DB by default, yo= u might want to try changing this to SqlClient. If it still doesn't work, try setting your appender's ReconnectOnError to t= rue. It would also be helpful if you posted the versions you're using (log4net, = SQL server 2005 service pack?, .NET framework version and service pack?) an= d your log4net configuration. Best wishes, Dag From: Gourlay, Colin [mailto:[email protected]] Sent: Thursday, November 06, 2008 12:59 PM To: Log4NET User Subject: SQL 2005 Database Mirroring Support Does log4net support the database mirroring feature in SQL 2005? It logs quite happily when logging to our primary database but when I failo= ver logging ceases to work - in that nothing is logged - when I failback lo= gging works as before. The mirroring has been configured correctly (test h= as been done to verify this) so I think I can rule this out. Other than the following entry (as per http://blogs.technet.com/johnbaker/a= rchive/2005/10/06/412126.aspx) included in my connection string is there so= mething else required? failover partner=3DMyFailoverDatabaseServer Is there anything else I should be considering? Thanks in advance. Colin ________________________________ Edinburgh Business School is a Charity Registered in Scotland, SC026900 ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange= . For more information, connect to http://www.f-secure.com/ ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange= . For more information, connect to http://www.f-secure.com/ --_000_7E418EB425E58A49BCCEC5A4450F7B1E24093DB08Febsexch01EBSG_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:x=3D"urn:schemas-microsoft-com:office:excel" xmlns:p=3D"urn:schemas-m= icrosoft-com:office:powerpoint" xmlns:a=3D"urn:schemas-microsoft-com:office= :access" xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s=3D"= uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs=3D"urn:schemas-microsof= t-com:rowset" xmlns:z=3D"#RowsetSchema" xmlns:b=3D"urn:schemas-microsoft-co= m:office:publisher" xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadshee= t" xmlns:c=3D"urn:schemas-microsoft-com:office:component:spreadsheet" xmlns= :odc=3D"urn:schemas-microsoft-com:office:odc" xmlns:oa=3D"urn:schemas-micro= soft-com:office:activation" xmlns:html=3D"http://www.w3.org/TR/REC-html40" = xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" xmlns:D=3D"DAV:" xmln= s:x2=3D"http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois=3D"ht= tp://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir=3D"http://schema= s.microsoft.com/sharepoint/soap/directory/" xmlns:ds=3D"http://www.w3.org/2= 000/09/xmldsig#" xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint/dsp" = xmlns:udc=3D"http://schemas.microsoft.com/data/udc" xmlns:xsd=3D"http://www= .w3.org/2001/XMLSchema" xmlns:sub=3D"http://schemas.microsoft.com/sharepoin= t/soap/2002/1/alerts/" xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#" xmlns= :sp=3D"http://schemas.microsoft.com/sharepoint/" xmlns:sps=3D"http://schema= s.microsoft.com/sharepoint/soap/" xmlns:xsi=3D"http://www.w3.org/2001/XMLSc= hema-instance" xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile= " xmlns:wf=3D"http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns= :mver=3D"http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns= :m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels=3D"http= ://schemas.openxmlformats.org/package/2006/relationships" xmlns:ex12t=3D"ht= tp://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m=3D"htt= p://schemas.microsoft.com/exchange/services/2006/messages" xmlns:Z=3D"urn:s= chemas-microsoft-com:" xmlns:st=3D"&#1;" xmlns=3D"http://www.w3.org/TR/REC-= html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-ascii"= > <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} code {mso-style-priority:99; font-family:"Courier New";} p.msochpdefault, li.msochpdefault, div.msochpdefault {mso-style-name:msochpdefault; mso-margin-top-alt:auto; margin-right:0cm; mso-margin-bottom-alt:auto; margin-left:0cm; font-size:10.0pt; font-family:"Times New Roman","serif";} span.emailstyle18 {mso-style-name:emailstyle18; font-family:"Calibri","sans-serif"; color:windowtext;} span.emailstyle19 {mso-style-name:emailstyle19; font-family:"Arial","sans-serif"; color:#1F497D;} span.emailstyle20 {mso-style-name:emailstyle20; font-family:"Calibri","sans-serif"; color:#1F497D;} span.EmailStyle22 {mso-style-type:personal; font-family:"Arial","sans-serif"; color:#1F497D;} span.EmailStyle23 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><span style=3D'color:#1F497D'>Hello again Dag.<o:p></o= :p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>Updated my config file a= s per your suggestion and now the application is not logging to the primary datab= ase or the failover database.<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>I tried to enable log4ne= t&#8217;s internal debugging but no file with information is being created (permissio= ns to create the file had been granted to the user running the application).<o= :p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>I am running SP1 on SQL = Server 2005.<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>Any thoughts?<o:p></o:p>= </span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>Cheers<o:p></o:p></span>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>Colin<o:p></o:p></span><= /p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <div> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm = 0cm 0cm'> <p class=3DMsoNormal><b><span style=3D'font-size:10.0pt;font-family:"Tahoma= ","sans-serif"'>From:</span></b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Dag Christens= en [mailto:[email protected]] <br> <b>Sent:</b> 12 November 2008 07:46<br> <b>To:</b> Log4NET User<br> <b>Subject:</b> RE: SQL 2005 Database Mirroring Support<br> <b>Importance:</b> Low<o:p></o:p></span></p> </div> </div> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>You&#8217;re using .NET = framework 1.x&#8217;s SqlClient which doesn&#8217;t support transparent database mirr= oring. The correct type name is:</span><span style=3D'font-size:10.0pt;font-family:"Ar= ial","sans-serif"; color:#1F497D'><o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>System.Data.SqlClient.Sq= lConnection, System.Data, Version=3D161.129.204.104, Culture=3Dneutral, PublicKeyToken=3Db77a5c5= 61934e089<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>(you can verify this nam= e using typeof(SqlConnection).AssemblyQualifiedName))<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>You should specify a fai= lover partner in your connection string in case the principal server is offline w= hen you make the initial connection:<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>Data Source=3D&lt;SQLA&g= t;;Failover Partner=3D&lt;SQLB&gt;;Initial Catalog=3D&lt;..&gt;;Integrated Security=3DT= rue<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>I also assume you&#8217;= re running Sql Server 2005 SP1 or later? SQL server 2005 pre-SP1 doesn&#8217;t officially = support mirroring in production use.<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>Best wishes,<o:p></o:p><= /span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>Dag<o:p></o:p></span></p= > <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <div> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm = 0cm 0cm'> <p class=3DMsoNormal><b><span style=3D'font-size:10.0pt;font-family:"Tahoma= ","sans-serif"'>From:</span></b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Ron Grabowski [mailto:[email protected]] <br> <b>Sent:</b> Tuesday, November 11, 2008 11:12 PM<br> <b>To:</b> Log4NET User<br> <b>Subject:</b> Re: SQL 2005 Database Mirroring Support<o:p></o:p></span></= p> </div> </div> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <div> <div> <p class=3DMsoNormal>What does log4net report as the error when you turn on internal debugging?<o:p></o:p></p> </div> <div> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <div> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <hr size=3D1 width=3D"100%" align=3Dcenter> </span></div> <p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><b><span style=3D'font-= size:10.0pt; font-family:"Tahoma","sans-serif"'>From:</span></b><span style=3D'font-size= :10.0pt; font-family:"Tahoma","sans-serif"'> &quot;Gourlay, Colin&quot; &lt;[email protected]&gt;<br> <b>To:</b> Log4NET User &lt;[email protected]&gt;<br> <b>Sent:</b> Tuesday, November 11, 2008 11:07:33 AM<br> <b>Subject:</b> RE: SQL 2005 Database Mirroring Support</span><span style=3D'font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p= ></span></p> <div> <p class=3DMsoNormal><span style=3D'color:#1F497D'>Hi Dag.</span><o:p></o:p= ></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;</span><o:p></o:p>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>Thanks for your response= .&nbsp; Unfortunately I am still no further forward on this despite following your suggestion.&nb= sp; I have included further information if this helps.&nbsp; Suggestions/Advice= are very much appreciated.</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;</span><o:p></o:p>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>Both servers are fully s= ervice packed and are running with </span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;</span><o:p></o:p>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>Log4Net &nbsp;v1.2.10</s= pan><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>SQL 2005</span><o:p></o:= p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>.Net 3.5 </span><o:p></o= :p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;</span><o:p></o:p>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>My log4net configuration= is as follows:</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;</span><o:p></o:p>= </p> <p class=3DMsoNormal style=3D'text-indent:36.0pt'><span style=3D'color:#1F4= 97D'>&lt;log4net&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp; &lt;root&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;level value=3D&quot;DEBUG&quot; /&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;appender-ref ref=3D&quot;LogToSqlServer&quot;/&gt;</span><o:p></o:p></p= > <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp; &lt;/root&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;</span><o:p></o:p>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp; &lt;appender name=3D&quot;LogToSqlServer&quot; type=3D&quot;log4net.Appende= r.AdoNetAppender&quot;&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;filter type=3D&quot;log4net.Filter.LoggerMatchFilter&quot;&gt;</span><o= :p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;loggerToMatch value=3D&quot;NHibernate&quot; /&gt;</span><o:p></o:p></p= > <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;acceptOnMatch value=3D&quot;false&quot; /&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/filter&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;</span><o:p></o:p>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;</span><o:p></o:p>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;bufferSize value=3D&quot;0&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--&lt;threshold value=3D&quot;DEBUG&quot;/&gt;--&gt;</span><o:p></o:p>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;connectionType value=3D&quot;System.Data.SqlClient.SqlConnection, System.Data, Version=3D1.0.3300.0, Culture=3Dneutral, PublicKeyToken=3Db77a5c561934e089&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;connectionString value=3D&quot;data source=3D&lt;SERVER-NAME-IS-HERE&gt= ;;initial catalog=3D&lt;LOGGING-DATABASE-IS-HERE&gt;;integrated security=3Dtrue;&quot= ;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;commandText value=3D&quot;EXEC &lt;STORED-PROC-NAME-IS-HERE&gt; @User, @Logger, @LoggingLevel, @Message&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterName value=3D&quot;@User&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dbType value=3D&quot;String&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;size value=3D&quot;255&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;layout type=3D&quot;log4net.Layout.PatternLayout&quot;&gt;</span><o:p><= /o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;conversionPattern value=3D&quot;%identity&quot;/&gt;</span><o:p></o:p><= /p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/layout&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameter&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterName value=3D&quot;@Logger&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dbType value=3D&quot;String&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;size value=3D&quot;255&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;layout type=3D&quot;log4net.Layout.PatternLayout&quot; value=3D&quot;%logger&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameter&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterName value=3D&quot;@LoggingLevel&quot;/&gt;</span><o:p></o:p><= /p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dbType value=3D&quot;String&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;size value=3D&quot;50&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;layout type=3D&quot;log4net.Layout.PatternLayout&quot; value=3D&quot;%level&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameter&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterName value=3D&quot;@Message&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dbType value=3D&quot;String&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;size value=3D&quot;4000&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;layout type=3D&quot;log4net.Layout.PatternLayout&quot; value=3D&quot;%message&quot;/&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameter&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp; &lt;/appender&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/log4net&gt;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;</span><o:p></o:p>= </p> <div> <div style=3D'border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0= cm 0cm 0cm; border-color:-moz-use-text-color -moz-use-text-color'> <p class=3DMsoNormal><b><span style=3D'font-size:10.0pt;font-family:"Tahoma= ","sans-serif"'>From:</span></b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Dag Christens= en [mailto:[email protected]] <br> <b>Sent:</b> 06 November 2008 13:06<br> <b>To:</b> Log4NET User<br> <b>Subject:</b> RE: SQL 2005 Database Mirroring Support<br> <b>Importance:</b> Low</span><o:p></o:p></p> </div> </div> <p class=3DMsoNormal>&nbsp;<o:p></o:p></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'>Should be handled transparently if you&#8217;re using SqlCli= ent or native client and a correct connection string. I think log4net uses OLE DB = by default, you might want to try changing this to SqlClient.</span><o:p></o:p= ></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'>&nbsp;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'>If it still doesn&#8217;t work, try setting your appender&#8= 217;s ReconnectOnError to true.</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'>&nbsp;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'>It would also be helpful if you posted the versions you&#821= 7;re using (log4net, SQL server 2005 service pack?, .NET framework version and service pack?) and your log4net configuration.</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'>&nbsp;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'>Best wishes,</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'>Dag</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'>&nbsp;</span><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial","s= ans-serif"; color:#1F497D'>&nbsp;</span><o:p></o:p></p> <div> <div style=3D'border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0= cm 0cm 0cm; border-color:-moz-use-text-color -moz-use-text-color'> <p class=3DMsoNormal><b><span style=3D'font-size:10.0pt;font-family:"Tahoma= ","sans-serif"'>From:</span></b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Gourlay, Coli= n [mailto:[email protected]] <br> <b>Sent:</b> Thursday, November 06, 2008 12:59 PM<br> <b>To:</b> Log4NET User<br> <b>Subject:</b> SQL 2005 Database Mirroring Support</span><o:p></o:p></p> </div> </div> <p class=3DMsoNormal>&nbsp;<o:p></o:p></p> <p class=3DMsoNormal>Does log4net support the database mirroring feature in= SQL 2005? <o:p></o:p></p> <p class=3DMsoNormal>&nbsp;<o:p></o:p></p> <p class=3DMsoNormal>It logs quite happily when logging to our primary data= base but when I failover logging ceases to work &#8211; in that nothing is logge= d &#8211; when I failback logging works as before.&nbsp; The mirroring has been configured correctly (test has been done to verify this) so I think I can rule this ou= t.<o:p></o:p></p> <p class=3DMsoNormal>&nbsp;<o:p></o:p></p> <p class=3DMsoNormal>Other than the following entry (as per <a href=3D"http://blogs.technet.com/johnbaker/archive/2005/10/06/412126.aspx" target=3D"_blank">http://blogs.technet.com/johnbaker/archive/2005/10/06/412= 126.aspx</a>) included in my connection string is there something else required?<o:p></o:= p></p> <p class=3DMsoNormal>&nbsp;<o:p></o:p></p> <p class=3DMsoNormal><code><span lang=3DEN style=3D'font-size:10.0pt'>failo= ver partner=3DMyFailoverDatabaseServer</span></code><o:p></o:p></p> <p class=3DMsoNormal>&nbsp;<o:p></o:p></p> <p class=3DMsoNormal>Is there anything else I should be considering?<o:p></= o:p></p> <p class=3DMsoNormal>&nbsp;<o:p></o:p></p> <p class=3DMsoNormal>Thanks in advance.<o:p></o:p></p> <p class=3DMsoNormal>&nbsp;<o:p></o:p></p> <p class=3DMsoNormal>Colin<o:p></o:p></p> <p class=3DMsoNormal>&nbsp;<o:p></o:p></p> <p class=3DMsoNormal>&nbsp;<o:p></o:p></p> <p class=3DMsoNormal>&nbsp;<o:p></o:p></p> <p class=3DMsoNormal>&nbsp;<o:p></o:p></p> <p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New= Roman","serif"'>&nbsp;</span><o:p></o:p></p> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><span style=3D'font-size:12.0pt;font-family:"Times New Roman","serif"'> <hr size=3D2 width=3D"100%" align=3Dcenter> </span></div> <p class=3DMsoNormal><span style=3D'font-size:7.5pt;font-family:"Arial","sa= ns-serif"; color:gray'><br> Edinburgh Business School is a Charity Registered in Scotland, SC026900</sp= an><o:p></o:p></p> <p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New= Roman","serif"'>###########################################<br> <br> This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange= .<br> For more information, connect to http://www.f-secure.com/</span><o:p></o:p>= </p> </div> </div> </div> </div> <p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New= Roman","serif"'>###########################################<br> <br> This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange= .<br> For more information, connect to http://www.f-secure.com/<o:p></o:p></span>= </p> </div> </body> </html> --_000_7E418EB425E58A49BCCEC5A4450F7B1E24093DB08Febsexch01EBSG_-- From [email protected] Wed Nov 12 12:37:48 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4000 invoked from network); 12 Nov 2008 12:37:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Nov 2008 12:37:48 -0000 Received: (qmail 77374 invoked by uid 500); 12 Nov 2008 12:37:53 -0000 Delivered-To: [email protected] Received: (qmail 77349 invoked by uid 500); 12 Nov 2008 12:37:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 77338 invoked by uid 99); 12 Nov 2008 12:37:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Nov 2008 04:37:53 -0800 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: local policy) Received: from [161.129.204.104] (HELO web30504.mail.mud.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 12 Nov 2008 12:36:30 +0000 Received: (qmail 36268 invoked by uid 60001); 12 Nov 2008 12:37:12 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=WPB8UoljF5R/YmkF9Eq/BUbgKxfQP2nH2CFQ8+uq9P11whc1YCHEbZGjHkfzSz43kCv2G9msIPJrfKjvJYbWLOneN9Vm8aqI/izl3sSuqtmXMWEOdqonhiGJfKS2f3aSN2qN4fqhdLNue3AheWGDC/fBEqBCjWJaU24aA+QIV/w=; X-YMail-OSG: l0dkHiQVM1mmgkN0rvdR8mAJ4LsvFScTkbDSQA6xKGrbxbYMaFZfd7MC.My1ZAOu7WND9kTR5g5v1MS84gcTin2BpfC4zQTyJyeeaGGhoaKk3kCzgI_lFooRSbK2t7MzK1hlso7QH3PyVRHkq97vOJPwI5mCWj42ciYdsBhe1oqJD.NJdcuoxNATCA-- Received: from [161.129.204.104] by web30504.mail.mud.yahoo.com via HTTP; Wed, 12 Nov 2008 04:37:12 PST X-Mailer: YahooMailRC/1155.20 YahooMailWebService/0.7.260.1 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Wed, 12 Nov 2008 04:37:12 -0800 (PST) From: Ron Grabowski <[email protected]> Subject: Re: SQL 2005 Database Mirroring Support To: Log4NET User <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-983758631-1226493432=:34074" Message-ID: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org --0-983758631-1226493432=:34074 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable The system.diagnostics node needs to go in App.Config. log4net produces qui= te a bit of internal debug messages even if there isn't a problem so you sh= ould at least be seeing that.=0A=0A=0A=0A=0A_______________________________= _=0AFrom: "Gourlay, Colin" <[email protected]>=0ATo: Log4NET User <log4net-u= [email protected]>=0ASent: Wednesday, November 12, 2008 7:05:01 AM=0AS= ubject: RE: SQL 2005 Database Mirroring Support=0A=0A =0AHello.=0A =0AWhen = I turn on internal debugging=0AI get [email protected].=0A =0AThis is a web ap= plication (using=0AWindows authentication) and the user has write permissio= ns to the folder I=0Acreated where I wanted the log4net debugging output be= rendered to.=0A =0AIn case this is significant I added the following to t= he web.config file: <add key=3D"log4net.Internal.Debug" value=3D"true"/> = =0A =0AAnd added the following to the logging.config file (the logging inf= ormation is held in a separate config file). I use ConfigureAndWatch() to = pick up the changes but just to be sure that it picked up the additions I r= estarted the web site in IIS.=0A =0A <system.diagnostics>=0A <tr= ace autoflush=3D"true">=0A <listeners>=0A <add = =0A name=3D"textWriterTraceListener" =0A = type=3D"System.Diagnostics.TextWriterTraceListener" =0A = initializeData=3D"C:\tmp\log4net.txt" />=0A </listeners>=0A = </trace>=0A </system.diagnostics>=0A =0A =0AAny thoughts?=0A = =0AColin=0A =0A =0A =0A =0A =0AFrom:Ron Grabowski=0A[mailto:rongrabowski= @yahoo.com] =0ASent: 11 November 2008 22:12=0ATo: Log4NET User=0ASubject: R= e: SQL 2005 Database Mirroring Support=0AImportance: Low=0A =0AWhat does lo= g4net report as the error when you turn on=0Ainternal debugging?=0A =0A=0A_= _______________________________=0A =0AFrom:"Gourlay, Colin"=0A<[email protected]= c.uk>=0ATo: Log4NET User <[email protected]>=0ASent: Tuesday,= November 11, 2008 11:07:33 AM=0ASubject: RE: SQL 2005 Database Mirroring S= upport=0AHi Dag.=0A =0AThanks for your response. =0AUnfortunately I am stil= l no further forward on this despite following your=0Asuggestion. I have i= ncluded further information if this helps. =0ASuggestions/Advice are very m= uch appreciated.=0A =0ABoth servers are fully service=0Apacked and are runn= ing with =0A =0ALog4Net v1.2.10=0ASQL 2005=0A.Net 3.5 =0A =0AMy log4net co= nfiguration is as=0Afollows:=0A =0A<log4net>=0A = =0A<root>=0A =0A<level val= ue=3D"DEBUG" />=0A =0A<append= er-ref ref=3D"LogToSqlServer"/>=0A =0A</root>= =0A =0A =0A<appender name=3D"LogToSqlServer" = type=3D"log4net.Appender.AdoNetAppender">=0A = =0A =0A<filt= er type=3D"log4net.Filter.LoggerMatchFilter">=0A = =0A<loggerToMatch value=3D"NHibernate" = />=0A =0A<acc= eptOnMatch value=3D"false" />=0A = =0A</filter>=0A =0A =0A = =0A<bufferSize value=3D"0"/>=0A = =0A<!--<threshold value=3D"DEBUG"/>-->=0A = =0A<connectionType value=3D"System.Data.SqlClient.SqlConnec= tion,=0ASystem.Data, Version=3D1.0.3300.0, Culture=3Dneutral,=0APublicKeyTo= ken=3Db77a5c561934e089"/>=0A = =0A<connectionString value=3D"data=0Asource=3D<SERVER-NAME-IS-HERE>;initial= =0Acatalog=3D<LOGGING-DATABASE-IS-HERE>;integrated security=3Dtrue;"/>=0A = =0A<commandText value=3D"EXEC = <STORED-PROC-NAME-IS-HERE> @User,=0A@Logger, @LoggingLevel, @Message"/>=0A = =0A<parameter>=0A = =0A<parameterName value= =3D"@User"/>=0A = =0A<dbType value=3D"String"/>=0A = =0A<size value=3D"255"/>=0A = =0A<layout type=3D"log4net.Layout.Pat= ternLayout">=0A = =0A<conversionPattern value=3D"%identity"/>=0A = =0A</layout>=0A = =0A</parameter>=0A = =0A<parameter>=0A = =0A<parameterName value=3D"@Logger"/>=0A= =0A<dbType v= alue=3D"String"/>=0A = =0A<size value=3D"255"/>=0A = =0A<layout type=3D"log4net.Layout.PatternLayout"=0Av= alue=3D"%logger"/>=0A =0A</pa= rameter>=0A =0A<parameter>=0A= =0A<paramete= rName value=3D"@LoggingLevel"/>=0A = =0A<dbType value=3D"String"/>=0A = =0A<size value=3D"50"/>=0A = =0A<layout type=3D"= log4net.Layout.PatternLayout"=0Avalue=3D"%level"/>=0A = =0A</parameter>=0A = =0A<parameter>=0A = =0A<parameterName value=3D"@Message"/>=0A = =0A<dbType value=3D"String= "/>=0A =0A<si= ze value=3D"4000"/>=0A = =0A<layout type=3D"log4net.Layout.PatternLayout"=0Avalue=3D"%mess= age"/>=0A =0A</parameter>=0A = =0A</appender>=0A =0A</log4net>= =0A =0AFrom:Dag Christensen=0A[mailto:[email protected]] =0ASe= nt: 06 November 2008 13:06=0ATo: Log4NET User=0ASubject: RE: SQL 2005 Datab= ase Mirroring Support=0AImportance: Low=0A =0AShould be handled transparent= ly if you=92re using SqlClient or=0Anative client and a correct connection = string. I think log4net uses OLE DB by=0Adefault, you might want to try cha= nging this to SqlClient.=0A =0AIf it still doesn=92t work, try setting your= appender=92s=0AReconnectOnError to true.=0A =0AIt would also be helpful if= you posted the versions you=92re using=0A(log4net, SQL server 2005 service= pack?, .NET framework version and service=0Apack?) and your log4net config= uration.=0A =0ABest wishes,=0ADag=0A =0A =0AFrom:Gourlay, Colin=0A[mailto:c= [email protected]] =0ASent: Thursday, November 06, 2008 12:59 PM=0ATo: Log4NE= T User=0ASubject: SQL 2005 Database Mirroring Support=0A =0ADoes log4net su= pport the database mirroring feature in SQL=0A2005? =0A =0AIt logs quite ha= ppily when logging to our primary database=0Abut when I failover logging ce= ases to work =96 in that nothing is logged =96 when I=0Afailback logging wo= rks as before. The mirroring has been configured=0Acorrectly (test has bee= n done to verify this) so I think I can rule this out.=0A =0AOther than the= following entry (as per http://blogs.technet.com/johnbaker/archive/2005/10= /06/412126.aspx)=0Aincluded in my connection string is there something else= required?=0A =0Afailover=0Apartner=3DMyFailoverDatabaseServer=0A =0AIs the= re anything else I should be considering?=0A =0AThanks in advance.=0A =0ACo= lin=0A =0A =0A =0A =0A =0A=0A________________________________=0A =0A=0AEdin= burgh Business School is a Charity Registered in Scotland, SC026900=0A#####= ######################################=0A=0AThis message has been scanned b= y F-Secure Anti-Virus for Microsoft Exchange.=0AFor more information, conne= ct to http://www.f-secure.com/ --0-983758631-1226493432=:34074 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable <html><head><style type=3D"text/css"><!-- DIV {margin:0px;} --></style></he= ad><body><div style=3D"font-family:times new roman,new york,times,serif;fon= t-size:12pt"><div>The system.diagnostics node needs to go in App.Config. lo= g4net produces quite a bit of internal debug messages even if there isn't a= problem so you should at least be seeing that.<br></div><div style=3D"font= -family: times new roman,new york,times,serif; font-size: 12pt;"><br><div s= tyle=3D"font-family: times new roman,new york,times,serif; font-size: 12pt;= "><font size=3D"2" face=3D"Tahoma"><hr size=3D"1"><b><span style=3D"font-we= ight: bold;">From:</span></b> "Gourlay, Colin" &lt;[email protected]&gt;<br>= <b><span style=3D"font-weight: bold;">To:</span></b> Log4NET User &lt;log4n= [email protected]&gt;<br><b><span style=3D"font-weight: bold;">Sen= t:</span></b> Wednesday, November 12, 2008 7:05:01 AM<br><b><span style=3D"= font-weight: bold;">Subject:</span></b> RE: SQL 2005 Database Mirroring Support<br></font><br>=0A=0A=0A =0A =0A=0A<style>=0A<!--=0A =0A _filtered = {font-family:Wingdings;panose-1:5 0 0 0 0 0 0 0 0 0;}=0A _filtered {font-fa= mily:Wingdings;panose-1:5 0 0 0 0 0 0 0 0 0;}=0A _filtered {font-family:Cal= ibri;panose-1:2 15 5 2 2 2 4 3 2 4;}=0A _filtered {font-family:Tahoma;panos= e-1:2 11 6 4 3 5 4 4 2 4;}=0A =0Ap.MsoNormal, li.MsoNormal, div.MsoNormal= =0A=09{margin:0cm;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calib= ri", "sans-serif";}=0Aa:link, span.MsoHyperlink=0A=09{color:blue;text-decor= ation:underline;}=0Aa:visited, span.MsoHyperlinkFollowed=0A=09{color:purple= ;text-decoration:underline;}=0Acode=0A=09{font-family:"Courier New";}=0Apre= =0A=09{margin:0cm;margin-bottom:.0001pt;font-size:10.0pt;font-family:"Couri= er New";}=0Ap.msochpdefault, li.msochpdefault, div.msochpdefault=0A=09{marg= in-right:0cm;margin-left:0cm;font-size:10.0pt;font-family:"Times New Roman"= , "serif";}=0Aspan.emailstyle18=0A=09{font-family:"Calibri", "sans-serif";c= olor:windowtext;}=0Aspan.emailstyle19=0A=09{font-family:"Arial", "sans-seri= f";color:#1F497D;}=0Aspan.emailstyle20=0A=09{font-family:"Calibri", "sans-s= erif";color:#1F497D;}=0Aspan.EmailStyle22=0A=09{font-family:"Calibri", "san= s-serif";color:#1F497D;}=0Aspan.HTMLPreformattedChar=0A=09{font-family:"Cou= rier New";}=0A.MsoChpDefault=0A=09{font-size:10.0pt;}=0A _filtered {margin:= 72.0pt 72.0pt 72.0pt 72.0pt;}=0Adiv.Section1=0A=09{}=0A =0A _filtered {}=0A= _filtered {font-family:Symbol;}=0Aol=0A=09{margin-bottom:0cm;}=0Aul=0A=09{= margin-bottom:0cm;}=0A-->=0A</style>=0A=0A=0A=0A<div class=3D"Section1">=0A= =0A<p class=3D"MsoNormal"><span style=3D"color: black;">Hello.</span></p> = =0A=0A<p class=3D"MsoNormal"><span style=3D"color: black;"> &nbsp;</span></= p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: black;">When I turn o= n internal debugging=0AI get [email protected].</span></p> =0A=0A<p class=3D"M= soNormal"><span style=3D"color: black;"> &nbsp;</span></p> =0A=0A<p class= =3D"MsoNormal"><span style=3D"color: black;">This is a web application (usi= ng=0AWindows authentication) and the user has write permissions to the fold= er I=0Acreated where I wanted the log4net debugging output be rendered to.<= /span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: black;"> &nbs= p;</span></p> =0A=0A<pre><span style=3D"font-size: 11pt; font-family: &quot= ;Calibri&quot;,&quot;sans-serif&quot;; color: black;">In case this is signi= ficant I&nbsp; added the following to the web.config file: </span><span sty= le=3D"font-size: 11pt; color: black;">&lt;add key=3D"log4net.Internal.Debug= " value=3D"true"/&gt; </span></pre><pre><span style=3D"font-size: 11pt; col= or: black;"> &nbsp;</span></pre><pre><span style=3D"font-size: 11pt; color:= black;">And added the following to the logging.config file (the logging in= formation is held in a separate config file).&nbsp; I use ConfigureAndWatch= () to pick up the changes but just to be sure that it picked up the additio= ns I restarted the web site in IIS.</span></pre><pre><span style=3D"font-si= ze: 11pt; color: black;"> &nbsp;</span></pre><pre><span style=3D"font-size:= 11pt; color: black;">&nbsp;&nbsp;&nbsp; &lt;system.diagnostics&gt;</span><= /pre><pre><span style=3D"font-size: 11pt; color: black;">&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp; &lt;trace autoflush=3D"true"&gt;</span></pre><pre><span style=3D"font-size= : 11pt; color: black;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp; &lt;listeners&gt;</span></pre><pre><span style=3D"font-size:= 11pt; color: black;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;add </span></pre><pre><span style= =3D"font-size: 11pt; color: black;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;name=3D"textWriterTraceListener" </span></pre><pre><span style=3D"fon= t-size: 11pt; color: black;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t= ype=3D"System.Diagnostics.TextWriterTraceListener" </span></pre><pre><span = style=3D"font-size: 11pt; color: black;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;initializeData=3D"C:\= tmp\log4net.txt" /&gt;</span></pre><pre><span style=3D"font-size: 11pt; col= or: black;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp; &lt;/listeners&gt;</span></pre><pre><span style=3D"font-size: 11pt; col= or: black;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/trace&gt;</span= ></pre><pre><span style=3D"font-size: 11pt; color: black;">&nbsp;&nbsp;&nbs= p; &lt;/system.diagnostics&gt;</span></pre><pre><span style=3D"font-size: 1= 1pt; color: black;"> &nbsp;</span></pre><pre><span style=3D"font-size: 11pt= ; color: black;"> &nbsp;</span></pre><pre><span style=3D"font-size: 11pt; c= olor: black;">Any thoughts?</span></pre><pre><span style=3D"font-size: 11pt= ; color: black;"> &nbsp;</span></pre><pre><span style=3D"font-size: 11pt; c= olor: black;">Colin</span></pre><pre> &nbsp;</pre><pre> &nbsp;</pre><pre> &= nbsp;</pre> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, = 125);"> &nbsp;</span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color= : rgb(31, 73, 125);"> &nbsp;</span></p> =0A=0A<div>=0A=0A<div style=3D"bord= er-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-c= olor -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm= 0cm;">=0A=0A<p class=3D"MsoNormal"><b><span style=3D"font-size: 10pt; font= -family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">From:</span></b><span = style=3D"font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&= quot;;"> Ron Grabowski=0A[mailto:[email protected]] <br>=0A<b>Sent:</b= > 11 November 2008 22:12<br>=0A<b>To:</b> Log4NET User<br>=0A<b>Subject:</b= > Re: SQL 2005 Database Mirroring Support<br>=0A<b>Importance:</b> Low</spa= n></p> =0A=0A</div>=0A=0A</div>=0A=0A<p class=3D"MsoNormal"> &nbsp;</p> =0A= =0A<div>=0A=0A<div>=0A=0A<p class=3D"MsoNormal">What does log4net report as= the error when you turn on=0Ainternal debugging?</p> =0A=0A</div>=0A=0A<di= v>=0A=0A<p class=3D"MsoNormal"> &nbsp;</p> =0A=0A<div>=0A=0A<div class=3D"M= soNormal" style=3D"text-align: center;" align=3D"center"><span style=3D"fon= t-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">=0A= =0A<hr size=3D"1" width=3D"100%" align=3D"center">=0A=0A</span></div>=0A=0A= <p class=3D"MsoNormal" style=3D"margin-bottom: 12pt;"><b><span style=3D"fon= t-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">From= :</span></b><span style=3D"font-size: 10pt; font-family: &quot;Tahoma&quot;= ,&quot;sans-serif&quot;;"> "Gourlay, Colin"=0A&lt;[email protected]&gt;<br>= =0A<b>To:</b> Log4NET User &lt;[email protected]&gt;<br>=0A<b= >Sent:</b> Tuesday, November 11, 2008 11:07:33 AM<br>=0A<b>Subject:</b> RE:= SQL 2005 Database Mirroring Support</span><span style=3D"font-size: 12pt; = font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"></span></p> = =0A=0A<div>=0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 1= 25);">Hi Dag.</span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color:= rgb(31, 73, 125);">&nbsp;</span></p> =0A=0A<p class=3D"MsoNormal"><span st= yle=3D"color: rgb(31, 73, 125);">Thanks for your response.&nbsp;=0AUnfortun= ately I am still no further forward on this despite following your=0Asugges= tion.&nbsp; I have included further information if this helps.&nbsp;=0ASugg= estions/Advice are very much appreciated.</span></p> =0A=0A<p class=3D"MsoN= ormal"><span style=3D"color: rgb(31, 73, 125);">&nbsp;</span></p> =0A=0A<p = class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">Both servers a= re fully service=0Apacked and are running with </span></p> =0A=0A<p class= =3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&nbsp;</span></p> = =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">Log4N= et &nbsp;v1.2.10</span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"col= or: rgb(31, 73, 125);">SQL 2005</span></p> =0A=0A<p class=3D"MsoNormal"><sp= an style=3D"color: rgb(31, 73, 125);">.Net 3.5 </span></p> =0A=0A<p class= =3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&nbsp;</span></p> = =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">My lo= g4net configuration is as=0Afollows:</span></p> =0A=0A<p class=3D"MsoNormal= "><span style=3D"color: rgb(31, 73, 125);">&nbsp;</span></p> =0A=0A<p class= =3D"MsoNormal" style=3D"text-indent: 36pt;"><span style=3D"color: rgb(31, 7= 3, 125);">&lt;log4net&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><span sty= le=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=0A&lt;= root&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(= 31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=0A= &lt;level value=3D"DEBUG" /&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><sp= an style=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;=0A&lt;appender-ref ref=3D"LogToSqlServer"/&gt;</span><= /p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=0A&lt;/root&gt;</span></p> =0A=0A<p cla= ss=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&nbsp;</span></p>= =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=0A&lt;appender name=3D"LogToSqlServer" typ= e=3D"log4net.Appender.AdoNetAppender"&gt;</span></p> =0A=0A<p class=3D"MsoN= ormal"><span style=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=0A</span></p> =0A=0A<p class=3D"MsoNormal"><= span style=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;=0A&lt;filter type=3D"log4net.Filter.LoggerMatchFilte= r"&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31= , 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;=0A&lt;loggerToMatch value=3D"NHibernate" /&gt;</span></p> = =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= =0A&lt;acceptOnMatch value=3D"false" /&gt;</span></p> =0A=0A<p class=3D"Mso= Normal"><span style=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=0A&lt;/filter&gt;</span></p> =0A=0A<p class= =3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&nbsp;</span></p> = =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&nbsp= ;</span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73,= 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=0A&lt;buf= ferSize value=3D"0"/&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><span styl= e=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;=0A&lt;!--&lt;threshold value=3D"DEBUG"/&gt;--&gt;</span></p> = =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=0A&lt;connectionType v= alue=3D"System.Data.SqlClient.SqlConnection,=0ASystem.Data, Version=3D1.0.3= 300.0, Culture=3Dneutral,=0APublicKeyToken=3Db77a5c561934e089"/&gt;</span><= /p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=0A&lt;connectionSt= ring value=3D"data=0Asource=3D&lt;SERVER-NAME-IS-HERE&gt;;initial=0Acatalog= =3D&lt;LOGGING-DATABASE-IS-HERE&gt;;integrated security=3Dtrue;"/&gt;</span= ></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);"= >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=0A&lt;commandTex= t value=3D"EXEC &lt;STORED-PROC-NAME-IS-HERE&gt; @User,=0A@Logger, @Logging= Level, @Message"/&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><span style= =3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;=0A&lt;parameter&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><s= pan style=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=0A&lt;parameterName value=3D"@Us= er"/&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(= 31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;=0A&lt;dbType value=3D"String"/&gt;</span></p> =0A=0A<p c= lass=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=0A&lt;size = value=3D"255"/&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"c= olor: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;=0A&lt;layout type=3D"log4net.Layout.PatternLay= out"&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(= 31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=0A&lt;conversionPattern value=3D"%i= dentity"/&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color:= rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;=0A&lt;/layout&gt;</span></p> =0A=0A<p class=3D"MsoN= ormal"><span style=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=0A&lt;/parameter&gt;</span></p> =0A=0A<p cla= ss=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=0A&lt;parameter&gt;</span></p> =0A= =0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=0A&l= t;parameterName value=3D"@Logger"/&gt;</span></p> =0A=0A<p class=3D"MsoNorm= al"><span style=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=0A&lt;dbType value=3D"Stri= ng"/&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(= 31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;=0A&lt;size value=3D"255"/&gt;</span></p> =0A=0A<p class= =3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=0A&lt;layout ty= pe=3D"log4net.Layout.PatternLayout"=0Avalue=3D"%logger"/&gt;</span></p> =0A= =0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=0A&lt;/parameter&gt;</spa= n></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);= ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=0A&lt;parameter= &gt;</span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, = 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;=0A&lt;parameterName value=3D"@LoggingLevel"/&gt;</span></p> = =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= =0A&lt;dbType value=3D"String"/&gt;</span></p> =0A=0A<p class=3D"MsoNormal"= ><span style=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=0A&lt;size value=3D"50"/&gt;<= /span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 1= 25);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;=0A&lt;layout type=3D"log4net.Layout.PatternLayout"=0Avalue=3D"%le= vel"/&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb= (31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= =0A&lt;/parameter&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><span style= =3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;=0A&lt;parameter&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><s= pan style=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=0A&lt;parameterName value=3D"@Me= ssage"/&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: r= gb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;=0A&lt;dbType value=3D"String"/&gt;</span></p> =0A=0A<= p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=0A&lt;si= ze value=3D"4000"/&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><span style= =3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=0A&lt;layout type=3D"log4net.Layout.Patte= rnLayout"=0Avalue=3D"%message"/&gt;</span></p> =0A=0A<p class=3D"MsoNormal"= ><span style=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;=0A&lt;/parameter&gt;</span></p> =0A=0A<p class=3D"= MsoNormal"><span style=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;=0A&lt;/appender&gt;</span></p> =0A=0A<p class=3D"MsoNormal"><= span style=3D"color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=0A&lt;/log4net&gt;<= /span></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"color: rgb(31, 73, 1= 25);">&nbsp;</span></p> =0A=0A<div>=0A=0A<div style=3D"border-style: solid = none none; border-color: windowtext -moz-use-text-color -moz-use-text-color= ; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">=0A=0A<p class=3D= "MsoNormal"><b><span style=3D"font-size: 10pt; font-family: &quot;Tahoma&qu= ot;,&quot;sans-serif&quot;;">From:</span></b><span style=3D"font-size: 10pt= ; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;"> Dag Christensen= =0A[mailto:[email protected]] <br>=0A<b>Sent:</b> 06 November = 2008 13:06<br>=0A<b>To:</b> Log4NET User<br>=0A<b>Subject:</b> RE: SQL 2005= Database Mirroring Support<br>=0A<b>Importance:</b> Low</span></p> =0A=0A<= /div>=0A=0A</div>=0A=0A<p class=3D"MsoNormal">&nbsp;</p> =0A=0A<p class=3D"= MsoNormal"><span style=3D"font-size: 10pt; font-family: &quot;Arial&quot;,&= quot;sans-serif&quot;; color: rgb(31, 73, 125);">Should be handled transpar= ently if you=92re using SqlClient or=0Anative client and a correct connecti= on string. I think log4net uses OLE DB by=0Adefault, you might want to try = changing this to SqlClient.</span></p> =0A=0A<p class=3D"MsoNormal"><span s= tyle=3D"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&qu= ot;; color: rgb(31, 73, 125);">&nbsp;</span></p> =0A=0A<p class=3D"MsoNorma= l"><span style=3D"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;san= s-serif&quot;; color: rgb(31, 73, 125);">If it still doesn=92t work, try se= tting your appender=92s=0AReconnectOnError to true.</span></p> =0A=0A<p cla= ss=3D"MsoNormal"><span style=3D"font-size: 10pt; font-family: &quot;Arial&q= uot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">&nbsp;</span></p> = =0A=0A<p class=3D"MsoNormal"><span style=3D"font-size: 10pt; font-family: &= quot;Arial&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">It would= also be helpful if you posted the versions you=92re using=0A(log4net, SQL = server 2005 service pack?, .NET framework version and service=0Apack?) and = your log4net configuration.</span></p> =0A=0A<p class=3D"MsoNormal"><span s= tyle=3D"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&qu= ot;; color: rgb(31, 73, 125);">&nbsp;</span></p> =0A=0A<p class=3D"MsoNorma= l"><span style=3D"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;san= s-serif&quot;; color: rgb(31, 73, 125);">Best wishes,</span></p> =0A=0A<p c= lass=3D"MsoNormal"><span style=3D"font-size: 10pt; font-family: &quot;Arial= &quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">Dag</span></p> =0A= =0A<p class=3D"MsoNormal"><span style=3D"font-size: 10pt; font-family: &quo= t;Arial&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">&nbsp;</spa= n></p> =0A=0A<p class=3D"MsoNormal"><span style=3D"font-size: 10pt; font-fa= mily: &quot;Arial&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">&= nbsp;</span></p> =0A=0A<div>=0A=0A<div style=3D"border-style: solid none no= ne; border-color: windowtext -moz-use-text-color -moz-use-text-color; borde= r-width: 1pt medium medium; padding: 3pt 0cm 0cm;">=0A=0A<p class=3D"MsoNor= mal"><b><span style=3D"font-size: 10pt; font-family: &quot;Tahoma&quot;,&qu= ot;sans-serif&quot;;">From:</span></b><span style=3D"font-size: 10pt; font-= family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;"> Gourlay, Colin=0A[mail= to:[email protected]] <br>=0A<b>Sent:</b> Thursday, November 06, 2008 12:59 = PM<br>=0A<b>To:</b> Log4NET User<br>=0A<b>Subject:</b> SQL 2005 Database Mi= rroring Support</span></p> =0A=0A</div>=0A=0A</div>=0A=0A<p class=3D"MsoNor= mal">&nbsp;</p> =0A=0A<p class=3D"MsoNormal">Does log4net support the datab= ase mirroring feature in SQL=0A2005? </p> =0A=0A<p class=3D"MsoNormal">&nbs= p;</p> =0A=0A<p class=3D"MsoNormal">It logs quite happily when logging to o= ur primary database=0Abut when I failover logging ceases to work =96 in tha= t nothing is logged =96 when I=0Afailback logging works as before.&nbsp; Th= e mirroring has been configured=0Acorrectly (test has been done to verify t= his) so I think I can rule this out.</p> =0A=0A<p class=3D"MsoNormal">&nbsp= ;</p> =0A=0A<p class=3D"MsoNormal">Other than the following entry (as per <= a rel=3D"nofollow" target=3D"_blank" href=3D"http://blogs.technet.com/johnb= aker/archive/2005/10/06/412126.aspx">http://blogs.technet.com/johnbaker/arc= hive/2005/10/06/412126.aspx</a>)=0Aincluded in my connection string is ther= e something else required?</p> =0A=0A<p class=3D"MsoNormal">&nbsp;</p> =0A= =0A<p class=3D"MsoNormal"><code><span style=3D"font-size: 10pt;" lang=3D"EN= ">failover=0Apartner=3DMyFailoverDatabaseServer</span></code></p> =0A=0A<p = class=3D"MsoNormal">&nbsp;</p> =0A=0A<p class=3D"MsoNormal">Is there anythi= ng else I should be considering?</p> =0A=0A<p class=3D"MsoNormal">&nbsp;</p= > =0A=0A<p class=3D"MsoNormal">Thanks in advance.</p> =0A=0A<p class=3D"Mso= Normal">&nbsp;</p> =0A=0A<p class=3D"MsoNormal">Colin</p> =0A=0A<p class=3D= "MsoNormal">&nbsp;</p> =0A=0A<p class=3D"MsoNormal">&nbsp;</p> =0A=0A<p cla= ss=3D"MsoNormal">&nbsp;</p> =0A=0A<p class=3D"MsoNormal">&nbsp;</p> =0A=0A<= p class=3D"MsoNormal"><span style=3D"font-size: 12pt; font-family: &quot;Ti= mes New Roman&quot;,&quot;serif&quot;;">&nbsp;</span></p> =0A=0A<div class= =3D"MsoNormal" style=3D"text-align: center;" align=3D"center"><span style= =3D"font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&q= uot;;">=0A=0A<hr size=3D"2" width=3D"100%" align=3D"center">=0A=0A</span></= div>=0A=0A<p class=3D"MsoNormal"><span style=3D"font-size: 7.5pt; font-fami= ly: &quot;Arial&quot;,&quot;sans-serif&quot;; color: gray;"><br>=0AEdinburg= h Business School is a Charity Registered in Scotland, SC026900</span></p> = =0A=0A<p class=3D"MsoNormal"><span style=3D"font-size: 12pt; font-family: &= quot;Times New Roman&quot;,&quot;serif&quot;;">############################= ###############<br>=0A<br>=0AThis message has been scanned by F-Secure Anti= -Virus for Microsoft Exchange.<br>=0AFor more information, connect to http:= //www.f-secure.com/</span></p> =0A=0A</div>=0A=0A</div>=0A=0A</div>=0A=0A</= div>=0A=0A</div>=0A=0A</div></div></div></body></html> --0-983758631-1226493432=:34074-- From [email protected] Fri Nov 14 06:57:19 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6952 invoked from network); 14 Nov 2008 06:57:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Nov 2008 06:57:18 -0000 Received: (qmail 48957 invoked by uid 500); 14 Nov 2008 06:57:25 -0000 Delivered-To: [email protected] Received: (qmail 48927 invoked by uid 500); 14 Nov 2008 06:57:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 48914 invoked by uid 99); 14 Nov 2008 06:57:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Nov 2008 22:57:25 -0800 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,SPF_PASS,WHOIS_NETSOLPR X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail191.messagelabs.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Nov 2008 06:56:02 +0000 X-VirusChecked: Checked X-Env-Sender: [email protected] X-Msg-Ref: server-14.tower-191.messagelabs.com!1226645830!17815464!1 X-StarScan-Version: 161.129.204.104.2; banners=bunnings.com.au,-,- X-Originating-IP: [161.129.204.104] Received: (qmail 27511 invoked from network); 14 Nov 2008 06:57:13 -0000 Received: from unknown (HELO mail.bunnings.com.au) (161.129.204.104) by server-14.tower-191.messagelabs.com with RC4-SHA encrypted SMTP; 14 Nov 2008 06:57:13 -0000 Received: from leopard-fe.internal.bunnings.com.au (161.129.204.104) by puffadder.bunnings.com.au (161.129.204.104) with Microsoft SMTP Server id 8.0.744.0; Fri, 14 Nov 2008 15:56:28 +0900 Received: from WA-MAIL.internal.bunnings.com.au ([161.129.204.104]) by leopard-fe.internal.bunnings.com.au with Microsoft SMTPSVC(856)577-9584); Fri, 14 Nov 2008 15:56:40 +0900 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C94626.2579295A" Subject: AdoNetAppender connection timeouts Date: Fri, 14 Nov 2008 15:56:40 +0900 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: AdoNetAppender connection timeouts Thread-Index: AclGJiaUaMfaEUONT1qFw5+FZUE/sg== From: Hadley Willan <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 14 Nov 2008 06:56:40.0824 (UTC) FILETIME=[257A3F80:01C94626] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C94626.2579295A Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi=20peoples, =20 How=20does=20the=20ADO.Net=20appender=20handle=20intermittent=20connection= s? =20 I'm=20assuming=20that=20it's=20holding=20a=20connection=20open=20and=20app= ending? I=20have=20<bufferSize=20value=3D"0">=20set=20to=20ensure=20an=20immediate= =20call=20to=20a stored=20proc=20for=20logging. =20 So=20basically,=20do=20I=20need=20to=20worry=20about=20whether=20or=20not=20= my=20connection=20to the=20other=20end=20exists? Could=20the=20lack=20of=20a=20network=20connection=20translate=20to=20a=20= pause=20in=20the=20app when=20the=20log=20statement=20gets=20written?=20 Or=20is=20all=20logging=20an=20asynchronous=20thread=20that=20doesn't=20af= fect=20the=20caller? =20 Thanks=20in=20advance. Hadley =20 =20 =20 =20 =20 ************************************************************************ Bunnings=20Legal=20Disclaimer: 1)=20=20=20=20=20This=20email=20is=20confidential=20and=20may=20contain=20= legally=20privileged information.=20=20If=20you=20are=20not=20the=20intended=20recipient,=20you= =20must=20not disclose=20or=20use=20the=20information=20contained=20in=20it.=20=20If=20y= ou=20have=20received this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and delete=20the=20document. 2)=20=20=20=20=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20= Group=20Limited. are=20scanned=20for=20content.=20=20Any=20material=20deemed=20to=20contain= =20inappropriate subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all parties=20concerned. ************************************************************************ ------_=_NextPart_001_01C94626.2579295A Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html=20xmlns:o=3D"urn:schemas-microsoft-com:office:office"=20xmlns:w=3D"u= rn:schemas-microsoft-com:office:word"=20xmlns=3D"http://www.w3.org/TR/REC-= html40"> <head> <META=20HTTP-EQUIV=3D"Content-Type"=20CONTENT=3D"text/html;=20charset=3Dus= -ascii"> <meta=20name=3DGenerator=20content=3D"Microsoft=20Word=2011=20(filtered=20= medium)"> <style> <!-- =20/*=20Style=20Definitions=20*/ =20p.MsoNormal,=20li.MsoNormal,=20div.MsoNormal =09{margin:0cm; =09margin-bottom:.0001pt; =09font-size:12.0pt; =09font-family:"Times=20New=20Roman";} a:link,=20span.MsoHyperlink =09{color:blue; =09text-decoration:underline;} a:visited,=20span.MsoHyperlinkFollowed =09{color:purple; =09text-decoration:underline;} span.EmailStyle17 =09{mso-style-type:personal-compose; =09font-family:Arial; =09color:windowtext;} @page=20Section1 =09{size:595.3pt=20841.9pt; =09margin:72.0pt=2090.0pt=2072.0pt=2090.0pt;} div.Section1 =09{page:Section1;} --> </style> </head> <body=20lang=3DEN-AU=20link=3Dblue=20vlink=3Dpurple> <div=20class=3DSection1> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Hi=20peoples,<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>How=20does=20the=20ADO.Net=20appender=20handle=20interm= ittent connections?<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>I&#8217;m=20assuming=20that=20it&#8217;s=20holding=20a=20= connection=20open and=20appending?<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>I=20have=20&lt;bufferSize=20value=3D&#8221;0&#8221;&gt;= =20set=20to ensure=20an=20immediate=20call=20to=20a=20stored=20proc=20for=20logging.<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>So=20basically,=20do=20I=20need=20to=20worry=20about=20= whether=20or=20not=20my connection=20to=20the=20other=20end=20exists?<o:p></o:p></span></font></p>= <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Could=20the=20lack=20of=20a=20network=20connection=20tr= anslate=20to=20a=20pause in=20the=20app=20when=20the=20log=20statement=20gets=20written?=20<o:p></o= :p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Or=20is=20all=20logging=20an=20asynchronous=20thread=20= that=20doesn&#8217;t=20affect the=20caller?<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Thanks=20in=20advance.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Hadley<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> </div> <BR> ************************************************************************<B= R> Bunnings=20Legal=20Disclaimer:<BR> <BR> 1)=20=20=20=20=20This=20email=20is=20confidential=20and=20may=20contain=20= legally=20privileged<BR> information.=20=20If=20you=20are=20not=20the=20intended=20recipient,=20you= =20must=20not<BR> disclose=20or=20use=20the=20information=20contained=20in=20it.=20=20If=20y= ou=20have=20received<BR> this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and<BR> delete=20the=20document.<BR> <BR> 2)=20=20=20=20=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20= Group=20Limited.<BR> are=20scanned=20for=20content.=20=20Any=20material=20deemed=20to=20contain= =20inappropriate<BR> subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all<BR> parties=20concerned.<BR> ************************************************************************<B= R> </body> </html> ------_=_NextPart_001_01C94626.2579295A-- From [email protected] Sun Nov 16 15:56:19 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7349 invoked from network); 16 Nov 2008 15:56:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Nov 2008 15:56:19 -0000 Received: (qmail 19013 invoked by uid 500); 16 Nov 2008 15:56:26 -0000 Delivered-To: [email protected] Received: (qmail 18982 invoked by uid 500); 16 Nov 2008 15:56:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 18971 invoked by uid 99); 16 Nov 2008 15:56:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Nov 2008 07:56:25 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_NETSOLPR X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO web30503.mail.mud.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 16 Nov 2008 15:55:02 +0000 Received: (qmail 41724 invoked by uid 60001); 16 Nov 2008 15:54:43 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=jUCNLDmgynLoIVBGBgfg1LF1s4E744n/f3iCQtjBPn+Y6vr6n5pubdm1znPY4rvgNYmZ9uE52CY/l6Ypyuwuc/eGJ+a9KzB6aitzKwUM5d1fZo+/4pW5f4RiBWt1PPtAlXFWC7QKWU13b4Mmr8JcNIQHuB96NNvEjZx33ztnQLM=; X-YMail-OSG: liNxeJAVM1mwLfqtv9zFQBFs1z_zXBAKAMEMQuV3Ilq2c9bHcwG4qGbvwJh1nxTXUzyYifDEMFxdEC5IhoR7kCz4vVKUL89GkXkBTRHPI1WFAmwAK6iA79y_mnQaz_SL_wKRJ7kBaWQEQgy1ldf3PpTHUZudS9AXvMpfkqG_RlvA7D8udrX6XaHB6w-- Received: from [161.129.204.104] by web30503.mail.mud.yahoo.com via HTTP; Sun, 16 Nov 2008 07:54:43 PST X-Mailer: YahooMailRC/1155.29 YahooMailWebService/0.7.260.1 References: <[email protected]> Date: Sun, 16 Nov 2008 07:54:43 -0800 (PST) From: Ron Grabowski <[email protected]> Subject: Re: AdoNetAppender connection timeouts To: Log4NET User <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-458292568-1226850883=:41644" Message-ID: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org --0-458292568-1226850883=:41644 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable The AdoNetAppender keeps a reference to an open connection. At some point i= t ensures the connection is open:=0A=0A// shortened somewhat...the actual c= ode is longer=0Aif (m_reconnectOnError && m_dbConnection.State !=3D Connect= ionState.Open)=0A{=0A LogLog.Debug("Attempting to reconnect to database..."= );=0A InitializeDatabaseConnection();=0A InitializeDatabaseCommand();=0A}= =0A=0AThe AdoNetAppender is not async by default. If you're on SqlServer I'= d recommend taking a look at an appender that Ayende wrote:=0A=0Ahttps://rh= ino-tools.svn.sourceforge.net/svnroot/rhino-tools/trunk/rhino-commons/Rhino= .Commons/Logging/AsyncBulkInsertAppender.cs=0A=0Awhichs usess the SqlBulkCo= py (very fast!) and background threads to write log messages to the databas= e. =0A=0A=0A=0A=0A________________________________=0AFrom: Hadley Willan <H= [email protected]>=0ATo: [email protected]=0ASent: Frida= y, November 14, 2008 1:56:40 AM=0ASubject: AdoNetAppender connection timeou= ts=0A=0A =0AHi peoples,=0A =0AHow does the ADO.Net appender handle intermit= tent=0Aconnections?=0A =0AI=92m assuming that it=92s holding a connection o= pen=0Aand appending?=0AI have <bufferSize value=3D=940=94> set to=0Aensure = an immediate call to a stored proc for logging.=0A =0ASo basically, do I ne= ed to worry about whether or not my=0Aconnection to the other end exists?= =0ACould the lack of a network connection translate to a pause=0Ain the app= when the log statement gets written? =0AOr is all logging an asynchronous = thread that doesn=92t affect=0Athe caller?=0A =0AThanks in advance.=0AHadle= y=0A =0A =0A =0A =0A =0A***************************************************= *********************=0ABunnings Legal Disclaimer:=0A=0A1) This email i= s confidential and may contain legally privileged=0Ainformation. If you ar= e not the intended recipient, you must not=0Adisclose or use the informatio= n contained in it. If you have received=0Athis email in error, please noti= fy us immediately by return email and=0Adelete the document.=0A=0A2) Al= l emails sent to and sent from Bunnings Group Limited.=0Aare scanned for co= ntent. Any material deemed to contain inappropriate=0Asubject matter will = be reported to the email administrator of all=0Aparties concerned.=0A******= ******************************************************************=0A --0-458292568-1226850883=:41644 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable <html><head><style type=3D"text/css"><!-- DIV {margin:0px;} --></style></he= ad><body><div style=3D"font-family:times new roman,new york,times,serif;fon= t-size:12pt"><div>The AdoNetAppender keeps a reference to an open connectio= n. At some point it ensures the connection is open:<br><br>// shortened som= ewhat...the actual code is longer<br>if (m_reconnectOnError &amp;&amp; m_db= Connection.State !=3D ConnectionState.Open)<br>{<br>&nbsp;LogLog.Debug("Att= empting to reconnect to database...");<br>&nbsp;InitializeDatabaseConnectio= n();<br>&nbsp;InitializeDatabaseCommand();<br>}<br><br>The AdoNetAppender i= s not async by default. If you're on SqlServer I'd recommend taking a look = at an appender that Ayende wrote:<br><br>https://rhino-tools.svn.sourceforg= e.net/svnroot/rhino-tools/trunk/rhino-commons/Rhino.Commons/Logging/AsyncBu= lkInsertAppender.cs<br><br>whichs usess the SqlBulkCopy (very fast!) and ba= ckground threads to write log messages to the database. <br></div><div style=3D"font-family: times new roman,new york,times,serif; font-size: 12p= t;"><br><div style=3D"font-family: times new roman,new york,times,serif; fo= nt-size: 12pt;"><font size=3D"2" face=3D"Tahoma"><hr size=3D"1"><b><span st= yle=3D"font-weight: bold;">From:</span></b> Hadley Willan &lt;HWillan@bunni= ngs.com.au&gt;<br><b><span style=3D"font-weight: bold;">To:</span></b> log4= [email protected]<br><b><span style=3D"font-weight: bold;">Sent:<= /span></b> Friday, November 14, 2008 1:56:40 AM<br><b><span style=3D"font-w= eight: bold;">Subject:</span></b> AdoNetAppender connection timeouts<br></f= ont><br>=0A=0A=0A =0A =0A<style>=0A<!--=0A =0Ap.MsoNormal, li.MsoNormal, di= v.MsoNormal=0A=09{margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-fa= mily:"Times New Roman";}=0Aa:link, span.MsoHyperlink=0A=09{color:blue;text-= decoration:underline;}=0Aa:visited, span.MsoHyperlinkFollowed=0A=09{color:p= urple;text-decoration:underline;}=0Aspan.EmailStyle17=0A=09{font-family:Ari= al;color:windowtext;}=0A _filtered {margin:72.0pt 90.0pt 72.0pt 90.0pt;}=0A= div.Section1=0A=09{}=0A-->=0A</style>=0A=0A=0A=0A<div class=3D"Section1">= =0A=0A<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D= "font-size: 10pt; font-family: Arial;">Hi peoples,</span></font></p> =0A=0A= <p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-= size: 10pt; font-family: Arial;"> &nbsp;</span></font></p> =0A=0A<p class= =3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-size: 10= pt; font-family: Arial;">How does the ADO.Net appender handle intermittent= =0Aconnections?</span></font></p> =0A=0A<p class=3D"MsoNormal"><font size= =3D"2" face=3D"Arial"><span style=3D"font-size: 10pt; font-family: Arial;">= &nbsp;</span></font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" fac= e=3D"Arial"><span style=3D"font-size: 10pt; font-family: Arial;">I=92m assu= ming that it=92s holding a connection open=0Aand appending?</span></font></= p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style= =3D"font-size: 10pt; font-family: Arial;">I have &lt;bufferSize value=3D=94= 0=94&gt; set to=0Aensure an immediate call to a stored proc for logging.</s= pan></font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial= "><span style=3D"font-size: 10pt; font-family: Arial;"> &nbsp;</span></font= ></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span st= yle=3D"font-size: 10pt; font-family: Arial;">So basically, do I need to wor= ry about whether or not my=0Aconnection to the other end exists?</span></fo= nt></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span = style=3D"font-size: 10pt; font-family: Arial;">Could the lack of a network = connection translate to a pause=0Ain the app when the log statement gets wr= itten? </span></font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" fac= e=3D"Arial"><span style=3D"font-size: 10pt; font-family: Arial;">Or is all = logging an asynchronous thread that doesn=92t affect=0Athe caller?</span></= font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><spa= n style=3D"font-size: 10pt; font-family: Arial;"> &nbsp;</span></font></p> = =0A=0A<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D= "font-size: 10pt; font-family: Arial;">Thanks in advance.</span></font></p>= =0A=0A<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style= =3D"font-size: 10pt; font-family: Arial;">Hadley</span></font></p> =0A=0A<p= class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-si= ze: 10pt; font-family: Arial;"> &nbsp;</span></font></p> =0A=0A<p class=3D"= MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-size: 10pt; = font-family: Arial;"> &nbsp;</span></font></p> =0A=0A<p class=3D"MsoNormal"= ><font size=3D"2" face=3D"Arial"><span style=3D"font-size: 10pt; font-famil= y: Arial;"> &nbsp;</span></font></p> =0A=0A<p class=3D"MsoNormal"><font siz= e=3D"2" face=3D"Arial"><span style=3D"font-size: 10pt; font-family: Arial;"= > &nbsp;</span></font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" fa= ce=3D"Arial"><span style=3D"font-size: 10pt; font-family: Arial;"> &nbsp;</= span></font></p> =0A=0A</div>=0A=0A=0A<br>=0A******************************= ******************************************<br>=0ABunnings Legal Disclaimer:= <br>=0A<br>=0A1) This email is confidential and may contain legally pri= vileged<br>=0Ainformation. If you are not the intended recipient, you must= not<br>=0Adisclose or use the information contained in it. If you have re= ceived<br>=0Athis email in error, please notify us immediately by return em= ail and<br>=0Adelete the document.<br>=0A<br>=0A2) All emails sent to a= nd sent from Bunnings Group Limited.<br>=0Aare scanned for content. Any ma= terial deemed to contain inappropriate<br>=0Asubject matter will be reporte= d to the email administrator of all<br>=0Aparties concerned.<br>=0A********= ****************************************************************<br>=0A</di= v></div></div></body></html> --0-458292568-1226850883=:41644-- From [email protected] Mon Nov 17 00:19:31 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6671 invoked from network); 17 Nov 2008 00:19:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Nov 2008 00:19:30 -0000 Received: (qmail 46529 invoked by uid 500); 17 Nov 2008 00:19:36 -0000 Delivered-To: [email protected] Received: (qmail 46508 invoked by uid 500); 17 Nov 2008 00:19:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 46497 invoked by uid 99); 17 Nov 2008 00:19:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Nov 2008 16:19:36 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_MED,SPF_PASS,WHOIS_NETSOLPR X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail143.messagelabs.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Nov 2008 00:18:12 +0000 X-VirusChecked: Checked X-Env-Sender: [email protected] X-Msg-Ref: server-15.tower-143.messagelabs.com!1226881006!18168545!2 X-StarScan-Version: 161.129.204.104.2; banners=bunnings.com.au,-,- X-Originating-IP: [161.129.204.104] Received: (qmail 9162 invoked from network); 17 Nov 2008 00:16:51 -0000 Received: from unknown (HELO mail.bunnings.com.au) (161.129.204.104) by server-15.tower-143.messagelabs.com with RC4-SHA encrypted SMTP; 17 Nov 2008 00:16:51 -0000 Received: from leopard-fe.internal.bunnings.com.au (161.129.204.104) by puffadder.bunnings.com.au (161.129.204.104) with Microsoft SMTP Server id 8.0.744.0; Mon, 17 Nov 2008 09:16:34 +0900 Received: from WA-MAIL.internal.bunnings.com.au ([161.129.204.104]) by leopard-fe.internal.bunnings.com.au with Microsoft SMTPSVC(856)577-9584); Mon, 17 Nov 2008 09:16:46 +0900 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C94849.C721FD71" Subject: RE: AdoNetAppender connection timeouts Date: Mon, 17 Nov 2008 09:16:46 +0900 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: AdoNetAppender connection timeouts Thread-Index: AclIBCiwNtO97iWJQQqjVGLqTfI2HAARKs2w From: Hadley Willan <[email protected]> To: Log4NET User <[email protected]> X-OriginalArrivalTime: 17 Nov 2008 00:16:46.0807 (UTC) FILETIME=[C72B0E70:01C94849] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C94849.C721FD71 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Thanks=20for=20getting=20back=20to=20me=20Ron. =20 Okay,=20that's=20good=20news,=20that=20it'll=20try=20and=20reopen=20the=20= connection. =20 We=20tend=20to=20use=20buffer=20size=20of=200=20to=20avoid=20any=20build=20= up,=20so=20I'm=20not=20sure I'd=20gain=20anything=20by=20using=20the=20Rhino-tools=20logging,=20but=20= thanks=20for bringing=20it=20to=20my=20attention. =20 Regards Hadley =20 ________________________________ From:=20Ron=20Grabowski=20[mailto:[email protected]]=20 Sent:=20Monday,=2017=20November=202008=2000:55 To:=20Log4NET=20User Subject:=20Re:=20AdoNetAppender=20connection=20timeouts =20 The=20AdoNetAppender=20keeps=20a=20reference=20to=20an=20open=20connection= .=20At=20some point=20it=20ensures=20the=20connection=20is=20open: //=20shortened=20somewhat...the=20actual=20code=20is=20longer if=20(m_reconnectOnError=20&&=20m_dbConnection.State=20!=3D=20ConnectionSt= ate.Open) { =20LogLog.Debug("Attempting=20to=20reconnect=20to=20database..."); =20InitializeDatabaseConnection(); =20InitializeDatabaseCommand(); } The=20AdoNetAppender=20is=20not=20async=20by=20default.=20If=20you're=20on= =20SqlServer=20I'd recommend=20taking=20a=20look=20at=20an=20appender=20that=20Ayende=20wrote= : https://rhino-tools.svn.sourceforge.net/svnroot/rhino-tools/trunk/rhino- commons/Rhino.Commons/Logging/AsyncBulkInsertAppender.cs whichs=20usess=20the=20SqlBulkCopy=20(very=20fast!)=20and=20background=20t= hreads=20to write=20log=20messages=20to=20the=20database.=20 =20 ________________________________ From:=20Hadley=20Willan=20<[email protected]> To:[email protected] Sent:=20Friday,=20November=2014,=202008=201:56:40=20AM Subject:=20AdoNetAppender=20connection=20timeouts Hi=20peoples, =20 How=20does=20the=20ADO.Net=20appender=20handle=20intermittent=20connection= s? =20 I'm=20assuming=20that=20it's=20holding=20a=20connection=20open=20and=20app= ending? I=20have=20<bufferSize=20value=3D"0">=20set=20to=20ensure=20an=20immediate= =20call=20to=20a stored=20proc=20for=20logging. =20 So=20basically,=20do=20I=20need=20to=20worry=20about=20whether=20or=20not=20= my=20connection=20to the=20other=20end=20exists? Could=20the=20lack=20of=20a=20network=20connection=20translate=20to=20a=20= pause=20in=20the=20app when=20the=20log=20statement=20gets=20written?=20 Or=20is=20all=20logging=20an=20asynchronous=20thread=20that=20doesn't=20af= fect=20the=20caller? =20 Thanks=20in=20advance. Hadley =20 =20 =20 =20 =20 ************************************************************************ Bunnings=20Legal=20Disclaimer: 1)=20This=20email=20is=20confidential=20and=20may=20contain=20legally=20pr= ivileged information.=20If=20you=20are=20not=20the=20intended=20recipient,=20you=20= must=20not disclose=20or=20use=20the=20information=20contained=20in=20it.=20If=20you=20= have=20received this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and delete=20the=20document. 2)=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20Group=20Lim= ited. are=20scanned=20for=20content.=20Any=20material=20deemed=20to=20contain=20= inappropriate subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all parties=20concerned. ************************************************************************ ************************************************************************ Bunnings=20Legal=20Disclaimer: 1)=20=20=20=20=20This=20email=20is=20confidential=20and=20may=20contain=20= legally=20privileged information.=20=20If=20you=20are=20not=20the=20intended=20recipient,=20you= =20must=20not disclose=20or=20use=20the=20information=20contained=20in=20it.=20=20If=20y= ou=20have=20received this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and delete=20the=20document. 2)=20=20=20=20=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20= Group=20Limited. are=20scanned=20for=20content.=20=20Any=20material=20deemed=20to=20contain= =20inappropriate subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all parties=20concerned. ************************************************************************ ------_=_NextPart_001_01C94849.C721FD71 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html=20xmlns:v=3D"urn:schemas-microsoft-com:vml"=20xmlns:o=3D"urn:schemas= -microsoft-com:office:office"=20xmlns:w=3D"urn:schemas-microsoft-com:offic= e:word"=20xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags"=20xmlns= =3D"http://www.w3.org/TR/REC-html40"> <head> <META=20HTTP-EQUIV=3D"Content-Type"=20CONTENT=3D"text/html;=20charset=3Dus= -ascii"> <meta=20name=3DGenerator=20content=3D"Microsoft=20Word=2011=20(filtered=20= medium)"> <!--[if=20!mso]> <style> v\:*=20{behavior:url(#default#VML);} o\:*=20{behavior:url(#default#VML);} w\:*=20{behavior:url(#default#VML);} .shape=20{behavior:url(#default#VML);} </style> <![endif]--><o:SmartTagType =20namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"=20name=3D"P= ersonName"/> <!--[if=20!mso]> <style> st1\:*{behavior:url(#default#ieooui)=20} </style> <![endif]--> <style> <!-- _filtered=20{margin:72.0pt=2090.0pt=2072.0pt=2090.0pt;} =20/*=20Font=20Definitions=20*/ =20@font-face =09{font-family:Tahoma; =09panose-1:2=2011=206=204=203=205=204=204=202=204;} =20/*=20Style=20Definitions=20*/ =20p.MsoNormal,=20li.MsoNormal,=20div.MsoNormal =09{margin:0cm; =09margin-bottom:.0001pt; =09font-size:12.0pt; =09font-family:"Times=20New=20Roman";} a:link,=20span.MsoHyperlink =09{color:blue; =09text-decoration:underline;} a:visited,=20span.MsoHyperlinkFollowed =09{color:purple; =09text-decoration:underline;} span.emailstyle17 =09{font-family:Arial; =09color:windowtext;} span.EmailStyle18 =09{mso-style-type:personal-reply; =09font-family:Arial; =09color:navy;} @page=20Section1 =09{size:595.3pt=20841.9pt; =09margin:72.0pt=2090.0pt=2072.0pt=2090.0pt;} div.Section1 =09{page:Section1;} --> </style> </head> <body=20lang=3DEN-AU=20link=3Dblue=20vlink=3Dpurple> <div=20class=3DSection1> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Thanks=20for=20getting=20back=20to=20= me=20Ron.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Okay,=20that&#8217;s=20good=20news,=20= that=20it&#8217;ll=20try=20and reopen=20the=20connection.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>We=20tend=20to=20use=20buffer=20size=20= of=200=20to=20avoid any=20build=20up,=20so=20I&#8217;m=20not=20sure=20I&#8217;d=20gain=20anyth= ing=20by=20using=20the=20Rhino-tools=20logging, but=20thanks=20for=20bringing=20it=20to=20my=20attention.<o:p></o:p></span= ></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Regards<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Hadley<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <div> <div=20class=3DMsoNormal=20align=3Dcenter=20style=3D'text-align:center'><f= ont=20size=3D3 face=3D"Times=20New=20Roman"><span=20lang=3DEN-US=20style=3D'font-size:12.= 0pt'> <hr=20size=3D2=20width=3D"100%"=20align=3Dcenter=20tabindex=3D-1> </span></font></div> <p=20class=3DMsoNormal><b><font=20size=3D2=20face=3DTahoma><span=20lang=3D= EN-US style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span= ></font></b><font size=3D2=20face=3DTahoma><span=20lang=3DEN-US=20style=3D'font-size:10.0pt;= font-family:Tahoma'> Ron=20Grabowski=20[mailto:[email protected]]=20<br> <b><span=20style=3D'font-weight:bold'>Sent:</span></b>=20Monday,=2017=20No= vember=202008 00:55<br> <b><span=20style=3D'font-weight:bold'>To:</span></b>=20Log4NET=20User<br> <b><span=20style=3D'font-weight:bold'>Subject:</span></b>=20Re:=20AdoNetAp= pender connection=20timeouts</span></font><span=20lang=3DEN-US><o:p></o:p></span>= </p> </div> <p=20class=3DMsoNormal><font=20size=3D3=20face=3D"Times=20New=20Roman"><sp= an=20style=3D'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> <div> <div> <p=20class=3DMsoNormal><font=20size=3D3=20face=3D"Times=20New=20Roman"><sp= an=20style=3D'font-size: 12.0pt'>The=20AdoNetAppender=20keeps=20a=20reference=20to=20an=20open=20co= nnection.=20At=20some point=20it=20ensures=20the=20connection=20is=20open:<br> <br> //=20shortened=20somewhat...the=20actual=20code=20is=20longer<br> if=20(m_reconnectOnError=20&amp;&amp;=20m_dbConnection.State=20!=3D=20Conn= ectionState.Open)<br> {<br> &nbsp;LogLog.Debug(&quot;Attempting=20to=20reconnect=20to=20database...&qu= ot;);<br> &nbsp;InitializeDatabaseConnection();<br> &nbsp;InitializeDatabaseCommand();<br> }<br> <br> The=20AdoNetAppender=20is=20not=20async=20by=20default.=20If=20you're=20on= =20SqlServer=20I'd recommend=20taking=20a=20look=20at=20an=20appender=20that=20Ayende=20wrote= :<br> <br> https://rhino-tools.svn.sourceforge.net/svnroot/rhino-tools/trunk/rhino-co= mmons/Rhino.Commons/Logging/AsyncBulkInsertAppender.cs<br> <br> whichs=20usess=20the=20SqlBulkCopy=20(very=20fast!)=20and=20background=20t= hreads=20to=20write=20log messages=20to=20the=20database.=20<o:p></o:p></span></font></p> </div> <div> <p=20class=3DMsoNormal><font=20size=3D3=20face=3D"Times=20New=20Roman"><sp= an=20style=3D'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> <div> <div=20class=3DMsoNormal=20align=3Dcenter=20style=3D'text-align:center'><f= ont=20size=3D2 face=3DTahoma><span=20style=3D'font-size:10.0pt;font-family:Tahoma'> <hr=20size=3D1=20width=3D"100%"=20align=3Dcenter> </span></font></div> <p=20class=3DMsoNormal=20style=3D'margin-bottom:12.0pt'><b><font=20size=3D= 2=20face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span= ></font></b><font size=3D2=20face=3DTahoma><span=20style=3D'font-size:10.0pt;font-family:Tah= oma'>=20<st1:PersonName w:st=3D"on">Hadley=20Willan</st1:PersonName>=20&lt;[email protected]= &gt;<br> <b><span=20style=3D'font-weight:bold'>To:</span></b>=20<st1:PersonName=20w= :st=3D"on">[email protected]</st1:PersonName><br> <b><span=20style=3D'font-weight:bold'>Sent:</span></b>=20Friday,=20Novembe= r=2014,=202008 1:56:40=20AM<br> <b><span=20style=3D'font-weight:bold'>Subject:</span></b>=20AdoNetAppender= =20connection timeouts</span></font><o:p></o:p></p> <div> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Hi=20peoples,</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>How=20does=20the=20ADO.Net=20appender=20handle=20interm= ittent connections?</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>I&#8217;m=20assuming=20that=20it&#8217;s=20holding=20a=20= connection=20open=20and appending?</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>I=20have=20&lt;bufferSize=20value=3D&#8221;0&#8221;&gt;= =20set=20to=20ensure=20an immediate=20call=20to=20a=20stored=20proc=20for=20logging.</span></font><o= :p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>So=20basically,=20do=20I=20need=20to=20worry=20about=20= whether=20or=20not=20my connection=20to=20the=20other=20end=20exists?</span></font><o:p></o:p></p>= <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Could=20the=20lack=20of=20a=20network=20connection=20tr= anslate=20to=20a=20pause in=20the=20app=20when=20the=20log=20statement=20gets=20written?=20</span><= /font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Or=20is=20all=20logging=20an=20asynchronous=20thread=20= that=20doesn&#8217;t=20affect the=20caller?</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Thanks=20in=20advance.</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Hadley</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> </div> <p=20class=3DMsoNormal><font=20size=3D3=20face=3D"Times=20New=20Roman"><sp= an=20style=3D'font-size: 12.0pt'><br> ************************************************************************<b= r> Bunnings=20Legal=20Disclaimer:<br> <br> 1)=20This=20email=20is=20confidential=20and=20may=20contain=20legally=20pr= ivileged<br> information.=20If=20you=20are=20not=20the=20intended=20recipient,=20you=20= must=20not<br> disclose=20or=20use=20the=20information=20contained=20in=20it.=20If=20you=20= have=20received<br> this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and<br> delete=20the=20document.<br> <br> 2)=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20Group=20Lim= ited.<br> are=20scanned=20for=20content.=20Any=20material=20deemed=20to=20contain=20= inappropriate<br> subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all<br> parties=20concerned.<br> ************************************************************************<o= :p></o:p></span></font></p> </div> </div> </div> </div> <BR> ************************************************************************<B= R> Bunnings=20Legal=20Disclaimer:<BR> <BR> 1)=20=20=20=20=20This=20email=20is=20confidential=20and=20may=20contain=20= legally=20privileged<BR> information.=20=20If=20you=20are=20not=20the=20intended=20recipient,=20you= =20must=20not<BR> disclose=20or=20use=20the=20information=20contained=20in=20it.=20=20If=20y= ou=20have=20received<BR> this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and<BR> delete=20the=20document.<BR> <BR> 2)=20=20=20=20=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20= Group=20Limited.<BR> are=20scanned=20for=20content.=20=20Any=20material=20deemed=20to=20contain= =20inappropriate<BR> subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all<BR> parties=20concerned.<BR> ************************************************************************<B= R> </body> </html> ------_=_NextPart_001_01C94849.C721FD71-- From [email protected] Mon Nov 17 00:48:10 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10757 invoked from network); 17 Nov 2008 00:48:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Nov 2008 00:48:10 -0000 Received: (qmail 63575 invoked by uid 500); 17 Nov 2008 00:48:17 -0000 Delivered-To: [email protected] Received: (qmail 63551 invoked by uid 500); 17 Nov 2008 00:48:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 63540 invoked by uid 99); 17 Nov 2008 00:48:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Nov 2008 16:48:17 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_MED,SPF_PASS,WHOIS_NETSOLPR X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail172.messagelabs.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Nov 2008 00:46:54 +0000 X-VirusChecked: Checked X-Env-Sender: [email protected] X-Msg-Ref: server-8.tower-172.messagelabs.com!1226882854!23046539!1 X-StarScan-Version: 161.129.204.104.2; banners=bunnings.com.au,-,- X-Originating-IP: [161.129.204.104] Received: (qmail 7508 invoked from network); 17 Nov 2008 00:47:37 -0000 Received: from unknown (HELO mail.bunnings.com.au) (161.129.204.104) by server-8.tower-172.messagelabs.com with RC4-SHA encrypted SMTP; 17 Nov 2008 00:47:37 -0000 Received: from leopard-fe.internal.bunnings.com.au (161.129.204.104) by puffadder.bunnings.com.au (161.129.204.104) with Microsoft SMTP Server id 8.0.744.0; Mon, 17 Nov 2008 09:47:21 +0900 Received: from WA-MAIL.internal.bunnings.com.au ([161.129.204.104]) by leopard-fe.internal.bunnings.com.au with Microsoft SMTPSVC(856)577-9584); Mon, 17 Nov 2008 09:47:33 +0900 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C9484E.14158C78" Subject: RE: AdoNetAppender connection timeouts Date: Mon, 17 Nov 2008 09:47:33 +0900 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: AdoNetAppender connection timeouts Thread-Index: AclIBCiwNtO97iWJQQqjVGLqTfI2HAASbMvg From: Hadley Willan <[email protected]> To: Log4NET User <[email protected]> X-OriginalArrivalTime: 17 Nov 2008 00:47:33.0917 (UTC) FILETIME=[1421ACD0:01C9484E] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C9484E.14158C78 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Actually, =20 I=20was=20just=20thinking=20about=20TCP=20timeouts=20and=20lockups=20to=20= the=20caller. Is=20the=20log4net=20logging=20done=20in=20a=20separate=20thread=20to=20th= e=20caller?=20 =20 If=20the=20connection=20to=20the=20DB=20goes=20away,=20it's=20good=20that=20= it'll=20reconnect, but=20during=20that=20connection=20time,=20how=20does=20log4net=20handle=20= the=20timeout? =20 Thanks Hadley =20 ________________________________ From:=20Ron=20Grabowski=20[mailto:[email protected]]=20 Sent:=20Monday,=2017=20November=202008=2000:55 To:=20Log4NET=20User Subject:=20Re:=20AdoNetAppender=20connection=20timeouts =20 The=20AdoNetAppender=20keeps=20a=20reference=20to=20an=20open=20connection= .=20At=20some point=20it=20ensures=20the=20connection=20is=20open: //=20shortened=20somewhat...the=20actual=20code=20is=20longer if=20(m_reconnectOnError=20&&=20m_dbConnection.State=20!=3D=20ConnectionSt= ate.Open) { =20LogLog.Debug("Attempting=20to=20reconnect=20to=20database..."); =20InitializeDatabaseConnection(); =20InitializeDatabaseCommand(); } The=20AdoNetAppender=20is=20not=20async=20by=20default.=20If=20you're=20on= =20SqlServer=20I'd recommend=20taking=20a=20look=20at=20an=20appender=20that=20Ayende=20wrote= : https://rhino-tools.svn.sourceforge.net/svnroot/rhino-tools/trunk/rhino- commons/Rhino.Commons/Logging/AsyncBulkInsertAppender.cs whichs=20usess=20the=20SqlBulkCopy=20(very=20fast!)=20and=20background=20t= hreads=20to write=20log=20messages=20to=20the=20database.=20 =20 ________________________________ From:=20Hadley=20Willan=20<[email protected]> To:[email protected] Sent:=20Friday,=20November=2014,=202008=201:56:40=20AM Subject:=20AdoNetAppender=20connection=20timeouts Hi=20peoples, =20 How=20does=20the=20ADO.Net=20appender=20handle=20intermittent=20connection= s? =20 I'm=20assuming=20that=20it's=20holding=20a=20connection=20open=20and=20app= ending? I=20have=20<bufferSize=20value=3D"0">=20set=20to=20ensure=20an=20immediate= =20call=20to=20a stored=20proc=20for=20logging. =20 So=20basically,=20do=20I=20need=20to=20worry=20about=20whether=20or=20not=20= my=20connection=20to the=20other=20end=20exists? Could=20the=20lack=20of=20a=20network=20connection=20translate=20to=20a=20= pause=20in=20the=20app when=20the=20log=20statement=20gets=20written?=20 Or=20is=20all=20logging=20an=20asynchronous=20thread=20that=20doesn't=20af= fect=20the=20caller? =20 Thanks=20in=20advance. Hadley =20 =20 =20 =20 =20 ************************************************************************ Bunnings=20Legal=20Disclaimer: 1)=20This=20email=20is=20confidential=20and=20may=20contain=20legally=20pr= ivileged information.=20If=20you=20are=20not=20the=20intended=20recipient,=20you=20= must=20not disclose=20or=20use=20the=20information=20contained=20in=20it.=20If=20you=20= have=20received this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and delete=20the=20document. 2)=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20Group=20Lim= ited. are=20scanned=20for=20content.=20Any=20material=20deemed=20to=20contain=20= inappropriate subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all parties=20concerned. ************************************************************************ ************************************************************************ Bunnings=20Legal=20Disclaimer: 1)=20=20=20=20=20This=20email=20is=20confidential=20and=20may=20contain=20= legally=20privileged information.=20=20If=20you=20are=20not=20the=20intended=20recipient,=20you= =20must=20not disclose=20or=20use=20the=20information=20contained=20in=20it.=20=20If=20y= ou=20have=20received this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and delete=20the=20document. 2)=20=20=20=20=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20= Group=20Limited. are=20scanned=20for=20content.=20=20Any=20material=20deemed=20to=20contain= =20inappropriate subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all parties=20concerned. ************************************************************************ ------_=_NextPart_001_01C9484E.14158C78 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html=20xmlns:v=3D"urn:schemas-microsoft-com:vml"=20xmlns:o=3D"urn:schemas= -microsoft-com:office:office"=20xmlns:w=3D"urn:schemas-microsoft-com:offic= e:word"=20xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags"=20xmlns= =3D"http://www.w3.org/TR/REC-html40"> <head> <META=20HTTP-EQUIV=3D"Content-Type"=20CONTENT=3D"text/html;=20charset=3Dus= -ascii"> <meta=20name=3DGenerator=20content=3D"Microsoft=20Word=2011=20(filtered=20= medium)"> <!--[if=20!mso]> <style> v\:*=20{behavior:url(#default#VML);} o\:*=20{behavior:url(#default#VML);} w\:*=20{behavior:url(#default#VML);} .shape=20{behavior:url(#default#VML);} </style> <![endif]--><o:SmartTagType =20namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"=20name=3D"P= ersonName"/> <!--[if=20!mso]> <style> st1\:*{behavior:url(#default#ieooui)=20} </style> <![endif]--> <style> <!-- _filtered=20{margin:72.0pt=2090.0pt=2072.0pt=2090.0pt;} =20/*=20Font=20Definitions=20*/ =20@font-face =09{font-family:Tahoma; =09panose-1:2=2011=206=204=203=205=204=204=202=204;} =20/*=20Style=20Definitions=20*/ =20p.MsoNormal,=20li.MsoNormal,=20div.MsoNormal =09{margin:0cm; =09margin-bottom:.0001pt; =09font-size:12.0pt; =09font-family:"Times=20New=20Roman";} a:link,=20span.MsoHyperlink =09{color:blue; =09text-decoration:underline;} a:visited,=20span.MsoHyperlinkFollowed =09{color:purple; =09text-decoration:underline;} span.emailstyle17 =09{font-family:Arial; =09color:windowtext;} span.EmailStyle18 =09{mso-style-type:personal-reply; =09font-family:Arial; =09color:navy;} @page=20Section1 =09{size:595.3pt=20841.9pt; =09margin:72.0pt=2090.0pt=2072.0pt=2090.0pt;} div.Section1 =09{page:Section1;} --> </style> </head> <body=20lang=3DEN-AU=20link=3Dblue=20vlink=3Dpurple> <div=20class=3DSection1> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Actually,<o:p></o:p></span></font></p= > <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>I=20was=20just=20thinking=20about=20T= CP=20timeouts=20and lockups=20to=20the=20caller.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Is=20the=20log4net=20logging=20done=20= in=20a=20separate=20thread to=20the=20caller?=20<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>If=20the=20connection=20to=20the=20DB= =20goes=20away,=20it&#8217;s good=20that=20it&#8217;ll=20reconnect,=20but=20during=20that=20connection=20= time,=20how=20does=20log4net=20handle the=20timeout?<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Thanks<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Hadley<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <div> <div=20class=3DMsoNormal=20align=3Dcenter=20style=3D'text-align:center'><f= ont=20size=3D3 face=3D"Times=20New=20Roman"><span=20lang=3DEN-US=20style=3D'font-size:12.= 0pt'> <hr=20size=3D2=20width=3D"100%"=20align=3Dcenter=20tabindex=3D-1> </span></font></div> <p=20class=3DMsoNormal><b><font=20size=3D2=20face=3DTahoma><span=20lang=3D= EN-US style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span= ></font></b><font size=3D2=20face=3DTahoma><span=20lang=3DEN-US=20style=3D'font-size:10.0pt;= font-family:Tahoma'> Ron=20Grabowski=20[mailto:[email protected]]=20<br> <b><span=20style=3D'font-weight:bold'>Sent:</span></b>=20Monday,=2017=20No= vember=202008 00:55<br> <b><span=20style=3D'font-weight:bold'>To:</span></b>=20Log4NET=20User<br> <b><span=20style=3D'font-weight:bold'>Subject:</span></b>=20Re:=20AdoNetAp= pender connection=20timeouts</span></font><span=20lang=3DEN-US><o:p></o:p></span>= </p> </div> <p=20class=3DMsoNormal><font=20size=3D3=20face=3D"Times=20New=20Roman"><sp= an=20style=3D'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> <div> <div> <p=20class=3DMsoNormal><font=20size=3D3=20face=3D"Times=20New=20Roman"><sp= an=20style=3D'font-size: 12.0pt'>The=20AdoNetAppender=20keeps=20a=20reference=20to=20an=20open=20co= nnection.=20At=20some point=20it=20ensures=20the=20connection=20is=20open:<br> <br> //=20shortened=20somewhat...the=20actual=20code=20is=20longer<br> if=20(m_reconnectOnError=20&amp;&amp;=20m_dbConnection.State=20!=3D=20Conn= ectionState.Open)<br> {<br> &nbsp;LogLog.Debug(&quot;Attempting=20to=20reconnect=20to=20database...&qu= ot;);<br> &nbsp;InitializeDatabaseConnection();<br> &nbsp;InitializeDatabaseCommand();<br> }<br> <br> The=20AdoNetAppender=20is=20not=20async=20by=20default.=20If=20you're=20on= =20SqlServer=20I'd recommend=20taking=20a=20look=20at=20an=20appender=20that=20Ayende=20wrote= :<br> <br> https://rhino-tools.svn.sourceforge.net/svnroot/rhino-tools/trunk/rhino-co= mmons/Rhino.Commons/Logging/AsyncBulkInsertAppender.cs<br> <br> whichs=20usess=20the=20SqlBulkCopy=20(very=20fast!)=20and=20background=20t= hreads=20to=20write=20log messages=20to=20the=20database.=20<o:p></o:p></span></font></p> </div> <div> <p=20class=3DMsoNormal><font=20size=3D3=20face=3D"Times=20New=20Roman"><sp= an=20style=3D'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> <div> <div=20class=3DMsoNormal=20align=3Dcenter=20style=3D'text-align:center'><f= ont=20size=3D2 face=3DTahoma><span=20style=3D'font-size:10.0pt;font-family:Tahoma'> <hr=20size=3D1=20width=3D"100%"=20align=3Dcenter> </span></font></div> <p=20class=3DMsoNormal=20style=3D'margin-bottom:12.0pt'><b><font=20size=3D= 2=20face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span= ></font></b><font size=3D2=20face=3DTahoma><span=20style=3D'font-size:10.0pt;font-family:Tah= oma'>=20<st1:PersonName w:st=3D"on">Hadley=20Willan</st1:PersonName>=20&lt;[email protected]= &gt;<br> <b><span=20style=3D'font-weight:bold'>To:</span></b>=20<st1:PersonName=20w= :st=3D"on">[email protected]</st1:PersonName><br> <b><span=20style=3D'font-weight:bold'>Sent:</span></b>=20Friday,=20Novembe= r=2014,=202008 1:56:40=20AM<br> <b><span=20style=3D'font-weight:bold'>Subject:</span></b>=20AdoNetAppender= =20connection timeouts</span></font><o:p></o:p></p> <div> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Hi=20peoples,</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>How=20does=20the=20ADO.Net=20appender=20handle=20interm= ittent connections?</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>I&#8217;m=20assuming=20that=20it&#8217;s=20holding=20a=20= connection=20open=20and appending?</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>I=20have=20&lt;bufferSize=20value=3D&#8221;0&#8221;&gt;= =20set=20to=20ensure=20an immediate=20call=20to=20a=20stored=20proc=20for=20logging.</span></font><o= :p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>So=20basically,=20do=20I=20need=20to=20worry=20about=20= whether=20or=20not=20my connection=20to=20the=20other=20end=20exists?</span></font><o:p></o:p></p>= <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Could=20the=20lack=20of=20a=20network=20connection=20tr= anslate=20to=20a=20pause in=20the=20app=20when=20the=20log=20statement=20gets=20written?=20</span><= /font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Or=20is=20all=20logging=20an=20asynchronous=20thread=20= that=20doesn&#8217;t=20affect the=20caller?</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Thanks=20in=20advance.</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Hadley</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> </div> <p=20class=3DMsoNormal><font=20size=3D3=20face=3D"Times=20New=20Roman"><sp= an=20style=3D'font-size: 12.0pt'><br> ************************************************************************<b= r> Bunnings=20Legal=20Disclaimer:<br> <br> 1)=20This=20email=20is=20confidential=20and=20may=20contain=20legally=20pr= ivileged<br> information.=20If=20you=20are=20not=20the=20intended=20recipient,=20you=20= must=20not<br> disclose=20or=20use=20the=20information=20contained=20in=20it.=20If=20you=20= have=20received<br> this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and<br> delete=20the=20document.<br> <br> 2)=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20Group=20Lim= ited.<br> are=20scanned=20for=20content.=20Any=20material=20deemed=20to=20contain=20= inappropriate<br> subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all<br> parties=20concerned.<br> ************************************************************************<o= :p></o:p></span></font></p> </div> </div> </div> </div> <BR> ************************************************************************<B= R> Bunnings=20Legal=20Disclaimer:<BR> <BR> 1)=20=20=20=20=20This=20email=20is=20confidential=20and=20may=20contain=20= legally=20privileged<BR> information.=20=20If=20you=20are=20not=20the=20intended=20recipient,=20you= =20must=20not<BR> disclose=20or=20use=20the=20information=20contained=20in=20it.=20=20If=20y= ou=20have=20received<BR> this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and<BR> delete=20the=20document.<BR> <BR> 2)=20=20=20=20=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20= Group=20Limited.<BR> are=20scanned=20for=20content.=20=20Any=20material=20deemed=20to=20contain= =20inappropriate<BR> subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all<BR> parties=20concerned.<BR> ************************************************************************<B= R> </body> </html> ------_=_NextPart_001_01C9484E.14158C78-- From [email protected] Mon Nov 17 05:32:40 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29966 invoked from network); 17 Nov 2008 05:32:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Nov 2008 05:32:40 -0000 Received: (qmail 92856 invoked by uid 500); 17 Nov 2008 05:32:47 -0000 Delivered-To: [email protected] Received: (qmail 92829 invoked by uid 500); 17 Nov 2008 05:32:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 92818 invoked by uid 99); 17 Nov 2008 05:32:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Nov 2008 21:32:46 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_MED,SPF_PASS,WHOIS_NETSOLPR X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail138.messagelabs.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Nov 2008 05:31:23 +0000 X-VirusChecked: Checked X-Env-Sender: [email protected] X-Msg-Ref: server-15.tower-138.messagelabs.com!1226899776!29269073!34 X-StarScan-Version: 161.129.204.104.2; banners=bunnings.com.au,-,- X-Originating-IP: [161.129.204.104] Received: (qmail 24532 invoked from network); 17 Nov 2008 05:30:05 -0000 Received: from unknown (HELO mail.bunnings.com.au) (161.129.204.104) by server-15.tower-138.messagelabs.com with RC4-SHA encrypted SMTP; 17 Nov 2008 05:30:05 -0000 Received: from leopard-fe.internal.bunnings.com.au (161.129.204.104) by puffadder.bunnings.com.au (161.129.204.104) with Microsoft SMTP Server id 8.0.744.0; Mon, 17 Nov 2008 14:29:48 +0900 Received: from WA-MAIL.internal.bunnings.com.au ([161.129.204.104]) by leopard-fe.internal.bunnings.com.au with Microsoft SMTPSVC(856)577-9584); Mon, 17 Nov 2008 14:16:28 +0900 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C94873.A3A8FF06" Subject: RE: AdoNetAppender connection timeouts Date: Mon, 17 Nov 2008 14:16:26 +0900 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: AdoNetAppender connection timeouts Thread-Index: AclIBCiwNtO97iWJQQqjVGLqTfI2HAASbMvgAAkD7CA= From: Hadley Willan <[email protected]> To: Log4NET User <[email protected]> X-OriginalArrivalTime: 17 Nov 2008 05:16:28.0182 (UTC) FILETIME=[A4E72360:01C94873] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C94873.A3A8FF06 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi=20all, =20 I've=20done=20some=20testing=20by=20writing=20a=20small=20test=20app=20tha= t=20loops=20through, throws=20an=20ArgumentException,=20gets=20caught=20and=20logs=20the=20exce= ption=20to log4net. My=20config=20has=20both=20a=20local=20file=20appender=20and=20an=20ADO=20= Net=20appender. There's=20an=20artificial=20Sleep=20for=20a=20second=20in=20the=20loop=20s= o=20that=20it=20doesn't just=20race=20by. I've=20placed=20a=20StopWatch=20around=20the=20log4net=20call=20and=20set=20= ReconnectOnError to=20true. =20 The=20behaviour=20I'm=20seeing=20is=20that=20the=20reconnect=20gets=20done= =20every=20few seconds. At=20the=20end=20of=20the=20email=20is=20a=20section=20of=20my=20console=20= output=20from=20the=20test. I=20unplugged=20the=20network=20cable=20at=20around=2020=20and=20plugged=20= it=20back=20in=20at=2050 there=20was=20a=20total=20of=20120=20loops. During=20the=20disconnection=20there's=20delays=20of=20up=20to=2015s=20as=20= a=20reconnection attempt=20is=20made. =20 Two=20questions. 1.=09Is=20it=20possible=20to=20specify=20how=20long=20to=20wait=20between=20= reconnection attempts?=20Eg.=20=20DelayBetweenReconnectionSeconds=3D"60"=20=20eg,=20wai= t=20a=20minute before=20trying=20to=20reconnect=20again. 2.=09Given=20the=20delays,=20I'd=20say=20the=20reconnection=20attempt=20is= =20a=20blocking call...=20Is=20there=20any=20way=20this=20can=20be=20an=20asynchronous=20c= all=20that=20changes the=20connected=20state=20flag=20if=20it=20succeeds?=20This=20would=20allo= w=20for=20a=20fast return=20of=20the=20log=20attempt.=20Yes,=20the=20message=20being=20logged= =20is=20lost,=20but=20it doesn't=20halt=20the=20calling=20code=20and=20introduce=20delays=20into=20= the=20application. =20 Thanks=20in=20advance. Hadley =20 Timing[12]=20(6)ms Timing[13]=20(3)ms Timing[14]=20(10)ms Timing[15]=20(3)ms Timing[16]=20(3)ms Timing[17]=20(6)ms Timing[18]=20(3)ms Timing[19]=20(8)ms Timing[20]=20(9446)ms Timing[21]=20(14830)ms Timing[22]=20(14830)ms Timing[23]=20(7)ms Timing[24]=20(6)ms Timing[25]=20(6)ms Timing[26]=20(6)ms Timing[27]=20(14830)ms Timing[28]=20(6)ms Timing[29]=20(6)ms Timing[30]=20(6)ms Timing[31]=20(6)ms Timing[32]=20(6)ms Timing[33]=20(6)ms Timing[34]=20(6)ms Timing[35]=20(6)ms Timing[36]=20(6)ms Timing[37]=20(14829)ms Timing[38]=20(14830)ms Timing[39]=20(14829)ms Timing[40]=20(6)ms Timing[41]=20(6)ms Timing[42]=20(6)ms Timing[43]=20(6)ms Timing[44]=20(14829)ms Timing[45]=20(14829)ms Timing[46]=20(6)ms Timing[47]=20(6)ms Timing[48]=20(6)ms Timing[49]=20(6)ms Timing[50]=20(41554)ms Timing[51]=20(8)ms Timing[52]=20(3)ms Timing[53]=20(3)ms Timing[54]=20(3)ms Timing[55]=20(3)ms =20 ________________________________ From:=20Hadley=20Willan=20[mailto:[email protected]]=20 Sent:=20Monday,=2017=20November=202008=2009:48 To:=20Log4NET=20User Subject:=20RE:=20AdoNetAppender=20connection=20timeouts =20 Actually, =20 I=20was=20just=20thinking=20about=20TCP=20timeouts=20and=20lockups=20to=20= the=20caller. Is=20the=20log4net=20logging=20done=20in=20a=20separate=20thread=20to=20th= e=20caller?=20 =20 If=20the=20connection=20to=20the=20DB=20goes=20away,=20it's=20good=20that=20= it'll=20reconnect, but=20during=20that=20connection=20time,=20how=20does=20log4net=20handle=20= the=20timeout? =20 Thanks Hadley =20 ________________________________ From:=20Ron=20Grabowski=20[mailto:[email protected]]=20 Sent:=20Monday,=2017=20November=202008=2000:55 To:=20Log4NET=20User Subject:=20Re:=20AdoNetAppender=20connection=20timeouts =20 The=20AdoNetAppender=20keeps=20a=20reference=20to=20an=20open=20connection= .=20At=20some point=20it=20ensures=20the=20connection=20is=20open: //=20shortened=20somewhat...the=20actual=20code=20is=20longer if=20(m_reconnectOnError=20&&=20m_dbConnection.State=20!=3D=20ConnectionSt= ate.Open) { =20LogLog.Debug("Attempting=20to=20reconnect=20to=20database..."); =20InitializeDatabaseConnection(); =20InitializeDatabaseCommand(); } The=20AdoNetAppender=20is=20not=20async=20by=20default.=20If=20you're=20on= =20SqlServer=20I'd recommend=20taking=20a=20look=20at=20an=20appender=20that=20Ayende=20wrote= : https://rhino-tools.svn.sourceforge.net/svnroot/rhino-tools/trunk/rhino- commons/Rhino.Commons/Logging/AsyncBulkInsertAppender.cs whichs=20usess=20the=20SqlBulkCopy=20(very=20fast!)=20and=20background=20t= hreads=20to write=20log=20messages=20to=20the=20database.=20 =20 ________________________________ From:=20Hadley=20Willan=20<[email protected]> To:[email protected] Sent:=20Friday,=20November=2014,=202008=201:56:40=20AM Subject:=20AdoNetAppender=20connection=20timeouts Hi=20peoples, =20 How=20does=20the=20ADO.Net=20appender=20handle=20intermittent=20connection= s? =20 I'm=20assuming=20that=20it's=20holding=20a=20connection=20open=20and=20app= ending? I=20have=20<bufferSize=20value=3D"0">=20set=20to=20ensure=20an=20immediate= =20call=20to=20a stored=20proc=20for=20logging. =20 So=20basically,=20do=20I=20need=20to=20worry=20about=20whether=20or=20not=20= my=20connection=20to the=20other=20end=20exists? Could=20the=20lack=20of=20a=20network=20connection=20translate=20to=20a=20= pause=20in=20the=20app when=20the=20log=20statement=20gets=20written?=20 Or=20is=20all=20logging=20an=20asynchronous=20thread=20that=20doesn't=20af= fect=20the=20caller? =20 Thanks=20in=20advance. Hadley =20 =20 =20 =20 =20 ************************************************************************ Bunnings=20Legal=20Disclaimer: 1)=20This=20email=20is=20confidential=20and=20may=20contain=20legally=20pr= ivileged information.=20If=20you=20are=20not=20the=20intended=20recipient,=20you=20= must=20not disclose=20or=20use=20the=20information=20contained=20in=20it.=20If=20you=20= have=20received this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and delete=20the=20document. 2)=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20Group=20Lim= ited. are=20scanned=20for=20content.=20Any=20material=20deemed=20to=20contain=20= inappropriate subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all parties=20concerned. ************************************************************************ ************************************************************************ Bunnings=20Legal=20Disclaimer: 1)=20This=20email=20is=20confidential=20and=20may=20contain=20legally=20pr= ivileged information.=20If=20you=20are=20not=20the=20intended=20recipient,=20you=20= must=20not disclose=20or=20use=20the=20information=20contained=20in=20it.=20If=20you=20= have=20received this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and delete=20the=20document. 2)=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20Group=20Lim= ited. are=20scanned=20for=20content.=20Any=20material=20deemed=20to=20contain=20= inappropriate subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all parties=20concerned. ************************************************************************ ************************************************************************ Bunnings=20Legal=20Disclaimer: 1)=20=20=20=20=20This=20email=20is=20confidential=20and=20may=20contain=20= legally=20privileged information.=20=20If=20you=20are=20not=20the=20intended=20recipient,=20you= =20must=20not disclose=20or=20use=20the=20information=20contained=20in=20it.=20=20If=20y= ou=20have=20received this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and delete=20the=20document. 2)=20=20=20=20=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20= Group=20Limited. are=20scanned=20for=20content.=20=20Any=20material=20deemed=20to=20contain= =20inappropriate subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all parties=20concerned. ************************************************************************ ------_=_NextPart_001_01C94873.A3A8FF06 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html=20xmlns:v=3D"urn:schemas-microsoft-com:vml"=20xmlns:o=3D"urn:schemas= -microsoft-com:office:office"=20xmlns:w=3D"urn:schemas-microsoft-com:offic= e:word"=20xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags"=20xmlns= =3D"http://www.w3.org/TR/REC-html40"> <head> <META=20HTTP-EQUIV=3D"Content-Type"=20CONTENT=3D"text/html;=20charset=3Dus= -ascii"> <meta=20name=3DGenerator=20content=3D"Microsoft=20Word=2011=20(filtered=20= medium)"> <!--[if=20!mso]> <style> v\:*=20{behavior:url(#default#VML);} o\:*=20{behavior:url(#default#VML);} w\:*=20{behavior:url(#default#VML);} .shape=20{behavior:url(#default#VML);} </style> <![endif]--><o:SmartTagType =20namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"=20name=3D"P= ersonName"/> <!--[if=20!mso]> <style> st1\:*{behavior:url(#default#ieooui)=20} </style> <![endif]--> <style> <!-- _filtered=20{margin:72.0pt=2090.0pt=2072.0pt=2090.0pt;} =20/*=20Font=20Definitions=20*/ =20@font-face =09{font-family:Tahoma; =09panose-1:2=2011=206=204=203=205=204=204=202=204;} =20/*=20Style=20Definitions=20*/ =20p.MsoNormal,=20li.MsoNormal,=20div.MsoNormal =09{margin:0cm; =09margin-bottom:.0001pt; =09font-size:12.0pt; =09font-family:"Times=20New=20Roman";} a:link,=20span.MsoHyperlink =09{color:blue; =09text-decoration:underline;} a:visited,=20span.MsoHyperlinkFollowed =09{color:purple; =09text-decoration:underline;} span.emailstyle17 =09{font-family:Arial; =09color:windowtext;} span.EmailStyle18 =09{mso-style-type:personal; =09font-family:Arial; =09color:navy;} span.EmailStyle19 =09{mso-style-type:personal-reply; =09font-family:Arial; =09color:navy;} @page=20Section1 =09{size:595.3pt=20841.9pt; =09margin:72.0pt=2090.0pt=2072.0pt=2090.0pt;} div.Section1 =09{page:Section1;} =20/*=20List=20Definitions=20*/ =20@list=20l0 =09{mso-list-id:1096948085; =09mso-list-type:hybrid; =09mso-list-template-ids:1048578374=20201916431=20201916441=20201916443=20= 201916431=20201916441=20201916443=20201916431=20201916441=20201916443;} @list=20l0:level1 =09{mso-level-tab-stop:36.0pt; =09mso-level-number-position:left; =09text-indent:-18.0pt;} ol =09{margin-bottom:0cm;} ul =09{margin-bottom:0cm;} --> </style> </head> <body=20lang=3DEN-AU=20link=3Dblue=20vlink=3Dpurple> <div=20class=3DSection1> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Hi=20all,<o:p></o:p></span></font></p= > <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>I&#8217;ve=20done=20some=20testing=20= by=20writing=20a small=20test=20app=20that=20loops=20through,=20throws=20an=20ArgumentExcep= tion,=20gets=20caught=20and logs=20the=20exception=20to=20log4net.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>My=20config=20has=20both=20a=20local=20= file=20appender and=20an=20ADO=20Net=20appender.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>There&#8217;s=20an=20artificial=20Sle= ep=20for=20a second=20in=20the=20loop=20so=20that=20it=20doesn&#8217;t=20just=20race=20= by.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>I&#8217;ve=20placed=20a=20StopWatch=20= around=20the log4net=20call=20and=20set=20ReconnectOnError=20to=20true.<o:p></o:p></spa= n></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>The=20behaviour=20I&#8217;m=20seeing=20= is=20that=20the reconnect=20gets=20done=20every=20few=20seconds.<o:p></o:p></span></font><= /p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>At=20the=20end=20of=20the=20email=20i= s=20a=20section=20of=20my console=20output=20from=20the=20test.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>I=20unplugged=20the=20network=20cable= =20at=20around=2020 and=20plugged=20it=20back=20in=20at=2050=20there=20was=20a=20total=20of=20= 120=20loops.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>During=20the=20disconnection=20there&= #8217;s delays=20of=20up=20to=2015s=20as=20a=20reconnection=20attempt=20is=20made.= <o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Two=20questions.<o:p></o:p></span></f= ont></p> <ol=20style=3D'margin-top:0cm'=20start=3D1=20type=3D1> =20<li=20class=3DMsoNormal=20style=3D'color:navy;mso-list:l0=20level1=20lf= o1'><font=20size=3D2 =20=20=20=20=20color=3Dnavy=20face=3DArial><span=20style=3D'font-size:10.0= pt;font-family:Arial'>Is =20=20=20=20=20it=20possible=20to=20specify=20how=20long=20to=20wait=20bet= ween=20reconnection=20attempts?=20Eg.&nbsp; =20=20=20=20=20DelayBetweenReconnectionSeconds=3D&#8221;60&#8221;=20&nbsp;= eg,=20wait=20a=20minute=20before =20=20=20=20=20trying=20to=20reconnect=20again.<o:p></o:p></span></font></= li> =20<li=20class=3DMsoNormal=20style=3D'color:navy;mso-list:l0=20level1=20lf= o1'><font=20size=3D2 =20=20=20=20=20color=3Dnavy=20face=3DArial><span=20style=3D'font-size:10.0= pt;font-family:Arial'>Given =20=20=20=20=20the=20delays,=20I&#8217;d=20say=20the=20reconnection=20atte= mpt=20is=20a=20blocking=20call&#8230; =20=20=20=20=20Is=20there=20any=20way=20this=20can=20be=20an=20asynchronou= s=20call=20that=20changes=20the =20=20=20=20=20connected=20state=20flag=20if=20it=20succeeds?=20This=20wou= ld=20allow=20for=20a=20fast=20return=20of =20=20=20=20=20the=20log=20attempt.=20Yes,=20the=20message=20being=20logge= d=20is=20lost,=20but=20it=20doesn&#8217;t =20=20=20=20=20halt=20the=20calling=20code=20and=20introduce=20delays=20in= to=20the=20application.=20<o:p></o:p></span></font></li> </ol> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Thanks=20in=20advance.<o:p></o:p></sp= an></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Hadley<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[12]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[13]=20(3)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[14]=20(10)ms<= o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[15]=20(3)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[16]=20(3)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[17]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[18]=20(3)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[19]=20(8)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[20]=20(9446)m= s<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[21]=20(14830)= ms<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[22]=20(14830)= ms<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[23]=20(7)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[24]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[25]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[26]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[27]=20(14830)= ms<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[28]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[29]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[30]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[31]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[32]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[33]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[34]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[35]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[36]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[37]=20(14829)= ms<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[38]=20(14830)= ms<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[39]=20(14829)= ms<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[40]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[41]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[42]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[43]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[44]=20(14829)= ms<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[45]=20(14829)= ms<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[46]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[47]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[48]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[49]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[50]=20(41554)= ms<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[51]=20(8)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[52]=20(3)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[53]=20(3)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[54]=20(3)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D1=20face=3D"Courier=20New"><span=20s= tyle=3D'font-size:8.0pt; font-family:"Courier=20New"'>Timing[55]=20(3)ms</span></font><font=20size=3D= 2 color=3Dnavy=20face=3DArial><span=20style=3D'font-size:10.0pt;font-family:= Arial; color:navy'><o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <div> <div=20class=3DMsoNormal=20align=3Dcenter=20style=3D'text-align:center'><f= ont=20size=3D3 face=3D"Times=20New=20Roman"><span=20lang=3DEN-US=20style=3D'font-size:12.= 0pt'> <hr=20size=3D2=20width=3D"100%"=20align=3Dcenter=20tabindex=3D-1> </span></font></div> <p=20class=3DMsoNormal><b><font=20size=3D2=20face=3DTahoma><span=20lang=3D= EN-US style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span= ></font></b><font size=3D2=20face=3DTahoma><span=20lang=3DEN-US=20style=3D'font-size:10.0pt;= font-family:Tahoma'> <st1:PersonName=20w:st=3D"on">Hadley=20Willan</st1:PersonName> [mailto:[email protected]]=20<br> <b><span=20style=3D'font-weight:bold'>Sent:</span></b>=20Monday,=2017=20No= vember=202008 09:48<br> <b><span=20style=3D'font-weight:bold'>To:</span></b>=20<st1:PersonName=20w= :st=3D"on">Log4NET =20User</st1:PersonName><br> <b><span=20style=3D'font-weight:bold'>Subject:</span></b>=20RE:=20AdoNetAp= pender connection=20timeouts</span></font><span=20lang=3DEN-US><o:p></o:p></span>= </p> </div> <p=20class=3DMsoNormal><font=20size=3D3=20face=3D"Times=20New=20Roman"><sp= an=20style=3D'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Actually,<o:p></o:p></span></font></p= > <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>I=20was=20just=20thinking=20about=20T= CP=20timeouts=20and lockups=20to=20the=20caller.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Is=20the=20log4net=20logging=20done=20= in=20a=20separate thread=20to=20the=20caller?=20<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>If=20the=20connection=20to=20the=20DB= =20goes=20away, it&#8217;s=20good=20that=20it&#8217;ll=20reconnect,=20but=20during=20that=20= connection=20time, how=20does=20log4net=20handle=20the=20timeout?<o:p></o:p></span></font></p= > <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Thanks<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Hadley<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <div> <div=20class=3DMsoNormal=20align=3Dcenter=20style=3D'text-align:center'><f= ont=20size=3D3 face=3D"Times=20New=20Roman"><span=20lang=3DEN-US=20style=3D'font-size:12.= 0pt'> <hr=20size=3D2=20width=3D"100%"=20align=3Dcenter=20tabindex=3D-1> </span></font></div> <p=20class=3DMsoNormal><b><font=20size=3D2=20face=3DTahoma><span=20lang=3D= EN-US style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span= ></font></b><font size=3D2=20face=3DTahoma><span=20lang=3DEN-US=20style=3D'font-size:10.0pt;= font-family:Tahoma'> Ron=20Grabowski=20[mailto:[email protected]]=20<br> <b><span=20style=3D'font-weight:bold'>Sent:</span></b>=20Monday,=2017=20No= vember=202008 00:55<br> <b><span=20style=3D'font-weight:bold'>To:</span></b>=20<st1:PersonName=20w= :st=3D"on">Log4NET =20User</st1:PersonName><br> <b><span=20style=3D'font-weight:bold'>Subject:</span></b>=20Re:=20AdoNetAp= pender connection=20timeouts</span></font><span=20lang=3DEN-US><o:p></o:p></span>= </p> </div> <p=20class=3DMsoNormal><font=20size=3D3=20face=3D"Times=20New=20Roman"><sp= an=20style=3D'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> <div> <div> <p=20class=3DMsoNormal><font=20size=3D3=20face=3D"Times=20New=20Roman"><sp= an=20style=3D'font-size: 12.0pt'>The=20AdoNetAppender=20keeps=20a=20reference=20to=20an=20open=20co= nnection.=20At=20some point=20it=20ensures=20the=20connection=20is=20open:<br> <br> //=20shortened=20somewhat...the=20actual=20code=20is=20longer<br> if=20(m_reconnectOnError=20&amp;&amp;=20m_dbConnection.State=20!=3D=20Conn= ectionState.Open)<br> {<br> &nbsp;LogLog.Debug(&quot;Attempting=20to=20reconnect=20to=20database...&qu= ot;);<br> &nbsp;InitializeDatabaseConnection();<br> &nbsp;InitializeDatabaseCommand();<br> }<br> <br> The=20AdoNetAppender=20is=20not=20async=20by=20default.=20If=20you're=20on= =20SqlServer=20I'd recommend=20taking=20a=20look=20at=20an=20appender=20that=20Ayende=20wrote= :<br> <br> https://rhino-tools.svn.sourceforge.net/svnroot/rhino-tools/trunk/rhino-co= mmons/Rhino.Commons/Logging/AsyncBulkInsertAppender.cs<br> <br> whichs=20usess=20the=20SqlBulkCopy=20(very=20fast!)=20and=20background=20t= hreads=20to=20write=20log messages=20to=20the=20database.=20<o:p></o:p></span></font></p> </div> <div> <p=20class=3DMsoNormal><font=20size=3D3=20face=3D"Times=20New=20Roman"><sp= an=20style=3D'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> <div> <div=20class=3DMsoNormal=20align=3Dcenter=20style=3D'text-align:center'><f= ont=20size=3D2 face=3DTahoma><span=20style=3D'font-size:10.0pt;font-family:Tahoma'> <hr=20size=3D1=20width=3D"100%"=20align=3Dcenter> </span></font></div> <p=20class=3DMsoNormal=20style=3D'margin-bottom:12.0pt'><b><font=20size=3D= 2=20face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span= ></font></b><font size=3D2=20face=3DTahoma><span=20style=3D'font-size:10.0pt;font-family:Tah= oma'>=20<st1:PersonName w:st=3D"on">Hadley=20Willan</st1:PersonName>=20&lt;[email protected]= &gt;<br> <b><span=20style=3D'font-weight:bold'>To:</span></b>=20<st1:PersonName=20w= :st=3D"on">[email protected]</st1:PersonName><br> <b><span=20style=3D'font-weight:bold'>Sent:</span></b>=20Friday,=20Novembe= r=2014,=202008 1:56:40=20AM<br> <b><span=20style=3D'font-weight:bold'>Subject:</span></b>=20AdoNetAppender= =20connection timeouts</span></font><o:p></o:p></p> <div> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Hi=20peoples,</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>How=20does=20the=20ADO.Net=20appender=20handle=20interm= ittent connections?</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>I&#8217;m=20assuming=20that=20it&#8217;s=20holding=20a=20= connection=20open and=20appending?</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>I=20have=20&lt;bufferSize=20value=3D&#8221;0&#8221;&gt;= =20set=20to ensure=20an=20immediate=20call=20to=20a=20stored=20proc=20for=20logging.</= span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>So=20basically,=20do=20I=20need=20to=20worry=20about=20= whether=20or=20not=20my connection=20to=20the=20other=20end=20exists?</span></font><o:p></o:p></p>= <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Could=20the=20lack=20of=20a=20network=20connection=20tr= anslate=20to=20a=20pause in=20the=20app=20when=20the=20log=20statement=20gets=20written?=20</span><= /font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Or=20is=20all=20logging=20an=20asynchronous=20thread=20= that=20doesn&#8217;t affect=20the=20caller?</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Thanks=20in=20advance.</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Hadley</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> </div> <p=20class=3DMsoNormal><font=20size=3D3=20face=3D"Times=20New=20Roman"><sp= an=20style=3D'font-size: 12.0pt'><br> ************************************************************************<b= r> Bunnings=20Legal=20Disclaimer:<br> <br> 1)=20This=20email=20is=20confidential=20and=20may=20contain=20legally=20pr= ivileged<br> information.=20If=20you=20are=20not=20the=20intended=20recipient,=20you=20= must=20not<br> disclose=20or=20use=20the=20information=20contained=20in=20it.=20If=20you=20= have=20received<br> this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and<br> delete=20the=20document.<br> <br> 2)=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20Group=20Lim= ited.<br> are=20scanned=20for=20content.=20Any=20material=20deemed=20to=20contain=20= inappropriate<br> subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all<br> parties=20concerned.<br> ************************************************************************<o= :p></o:p></span></font></p> </div> </div> </div> <p=20class=3DMsoNormal><font=20size=3D3=20face=3D"Times=20New=20Roman"><sp= an=20style=3D'font-size: 12.0pt'><br> ************************************************************************<b= r> Bunnings=20Legal=20Disclaimer:<br> <br> 1)=20This=20email=20is=20confidential=20and=20may=20contain=20legally=20pr= ivileged<br> information.=20If=20you=20are=20not=20the=20intended=20recipient,=20you=20= must=20not<br> disclose=20or=20use=20the=20information=20contained=20in=20it.=20If=20you=20= have=20received<br> this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and<br> delete=20the=20document.<br> <br> 2)=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20Group=20Lim= ited.<br> are=20scanned=20for=20content.=20Any=20material=20deemed=20to=20contain=20= inappropriate<br> subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all<br> parties=20concerned.<br> ************************************************************************<o= :p></o:p></span></font></p> </div> <BR> ************************************************************************<B= R> Bunnings=20Legal=20Disclaimer:<BR> <BR> 1)=20=20=20=20=20This=20email=20is=20confidential=20and=20may=20contain=20= legally=20privileged<BR> information.=20=20If=20you=20are=20not=20the=20intended=20recipient,=20you= =20must=20not<BR> disclose=20or=20use=20the=20information=20contained=20in=20it.=20=20If=20y= ou=20have=20received<BR> this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and<BR> delete=20the=20document.<BR> <BR> 2)=20=20=20=20=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20= Group=20Limited.<BR> are=20scanned=20for=20content.=20=20Any=20material=20deemed=20to=20contain= =20inappropriate<BR> subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all<BR> parties=20concerned.<BR> ************************************************************************<B= R> </body> </html> ------_=_NextPart_001_01C94873.A3A8FF06-- From [email protected] Mon Nov 17 05:56:51 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39266 invoked from network); 17 Nov 2008 05:56:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Nov 2008 05:56:51 -0000 Received: (qmail 6844 invoked by uid 500); 17 Nov 2008 05:56:58 -0000 Delivered-To: [email protected] Received: (qmail 6821 invoked by uid 500); 17 Nov 2008 05:56:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 6810 invoked by uid 99); 17 Nov 2008 05:56:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Nov 2008 21:56:57 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_MED,SPF_PASS,WHOIS_NETSOLPR X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail143.messagelabs.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Nov 2008 05:55:33 +0000 X-VirusChecked: Checked X-Env-Sender: [email protected] X-Msg-Ref: server-10.tower-143.messagelabs.com!1226901350!296680!15 X-StarScan-Version: 161.129.204.104.2; banners=bunnings.com.au,-,- X-Originating-IP: [161.129.204.104] Received: (qmail 14216 invoked from network); 17 Nov 2008 05:56:16 -0000 Received: from unknown (HELO mail.bunnings.com.au) (161.129.204.104) by server-10.tower-143.messagelabs.com with RC4-SHA encrypted SMTP; 17 Nov 2008 05:56:16 -0000 Received: from leopard-fe.internal.bunnings.com.au (161.129.204.104) by puffadder.bunnings.com.au (161.129.204.104) with Microsoft SMTP Server id 8.0.744.0; Mon, 17 Nov 2008 14:55:12 +0900 Received: from WA-MAIL.internal.bunnings.com.au ([161.129.204.104]) by leopard-fe.internal.bunnings.com.au with Microsoft SMTPSVC(856)577-9584); Mon, 17 Nov 2008 14:55:24 +0900 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C94879.15C66F7F" Subject: RE: AdoNetAppender connection timeouts Date: Mon, 17 Nov 2008 14:55:25 +0900 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: AdoNetAppender connection timeouts Thread-Index: AclIBCiwNtO97iWJQQqjVGLqTfI2HAASbMvgAAkD7CAAAb2mgA== From: Hadley Willan <[email protected]> To: Log4NET User <[email protected]> X-OriginalArrivalTime: 17 Nov 2008 05:55:24.0917 (UTC) FILETIME=[15B49A50:01C94879] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C94879.15C66F7F Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi=20all, =20 Shortly=20after=20that=20last=20email,=20I=20went=20and=20read=20the=20doc= s=20for=20the ReconnectOnError http://logging.apache.org/log4net/release/sdk/log4net.Appender.AdoNetApp ender.ReconnectOnError.html =20 I=20changed=20my=20connection=20string=20to=20have=20"Connect=20Timeout=3D= 1"=20so=20that there's=20only=201=20sec=20for=20a=20connection=20timeout. This=20helped=20reduce=20the=20lag=20noticeably=20on=20a=20reconnect. =20 Still,=20it=20would=20be=20nice=20if=20I=20could=20control=20the=20time=20= between=20reconnection attempts=20and=20if=20the=20connection=20stuff=20happened=20in=20its=20own= =20thread. =20 Regards Hadley =20 ________________________________ From:=20Hadley=20Willan=20[mailto:[email protected]]=20 Sent:=20Monday,=2017=20November=202008=2014:16 To:=20Log4NET=20User Subject:=20RE:=20AdoNetAppender=20connection=20timeouts =20 Hi=20all, =20 I've=20done=20some=20testing=20by=20writing=20a=20small=20test=20app=20tha= t=20loops=20through, throws=20an=20ArgumentException,=20gets=20caught=20and=20logs=20the=20exce= ption=20to log4net. My=20config=20has=20both=20a=20local=20file=20appender=20and=20an=20ADO=20= Net=20appender. There's=20an=20artificial=20Sleep=20for=20a=20second=20in=20the=20loop=20s= o=20that=20it=20doesn't just=20race=20by. I've=20placed=20a=20StopWatch=20around=20the=20log4net=20call=20and=20set=20= ReconnectOnError to=20true. =20 The=20behaviour=20I'm=20seeing=20is=20that=20the=20reconnect=20gets=20done= =20every=20few seconds. At=20the=20end=20of=20the=20email=20is=20a=20section=20of=20my=20console=20= output=20from=20the=20test. I=20unplugged=20the=20network=20cable=20at=20around=2020=20and=20plugged=20= it=20back=20in=20at=2050 there=20was=20a=20total=20of=20120=20loops. During=20the=20disconnection=20there's=20delays=20of=20up=20to=2015s=20as=20= a=20reconnection attempt=20is=20made. =20 Two=20questions. 1.=09Is=20it=20possible=20to=20specify=20how=20long=20to=20wait=20between=20= reconnection attempts?=20Eg.=20=20DelayBetweenReconnectionSeconds=3D"60"=20=20eg,=20wai= t=20a=20minute before=20trying=20to=20reconnect=20again. 2.=09Given=20the=20delays,=20I'd=20say=20the=20reconnection=20attempt=20is= =20a=20blocking call...=20Is=20there=20any=20way=20this=20can=20be=20an=20asynchronous=20c= all=20that=20changes the=20connected=20state=20flag=20if=20it=20succeeds?=20This=20would=20allo= w=20for=20a=20fast return=20of=20the=20log=20attempt.=20Yes,=20the=20message=20being=20logged= =20is=20lost,=20but=20it doesn't=20halt=20the=20calling=20code=20and=20introduce=20delays=20into=20= the=20application. =20 Thanks=20in=20advance. Hadley =20 Timing[12]=20(6)ms Timing[13]=20(3)ms Timing[14]=20(10)ms Timing[15]=20(3)ms Timing[16]=20(3)ms Timing[17]=20(6)ms Timing[18]=20(3)ms Timing[19]=20(8)ms Timing[20]=20(9446)ms Timing[21]=20(14830)ms Timing[22]=20(14830)ms Timing[23]=20(7)ms Timing[24]=20(6)ms Timing[25]=20(6)ms Timing[26]=20(6)ms Timing[27]=20(14830)ms Timing[28]=20(6)ms Timing[29]=20(6)ms Timing[30]=20(6)ms Timing[31]=20(6)ms Timing[32]=20(6)ms Timing[33]=20(6)ms Timing[34]=20(6)ms Timing[35]=20(6)ms Timing[36]=20(6)ms Timing[37]=20(14829)ms Timing[38]=20(14830)ms Timing[39]=20(14829)ms Timing[40]=20(6)ms Timing[41]=20(6)ms Timing[42]=20(6)ms Timing[43]=20(6)ms Timing[44]=20(14829)ms Timing[45]=20(14829)ms Timing[46]=20(6)ms Timing[47]=20(6)ms Timing[48]=20(6)ms Timing[49]=20(6)ms Timing[50]=20(41554)ms Timing[51]=20(8)ms Timing[52]=20(3)ms Timing[53]=20(3)ms Timing[54]=20(3)ms Timing[55]=20(3)ms =20 ________________________________ From:=20Hadley=20Willan=20[mailto:[email protected]]=20 Sent:=20Monday,=2017=20November=202008=2009:48 To:=20Log4NET=20User Subject:=20RE:=20AdoNetAppender=20connection=20timeouts =20 Actually, =20 I=20was=20just=20thinking=20about=20TCP=20timeouts=20and=20lockups=20to=20= the=20caller. Is=20the=20log4net=20logging=20done=20in=20a=20separate=20thread=20to=20th= e=20caller?=20 =20 If=20the=20connection=20to=20the=20DB=20goes=20away,=20it's=20good=20that=20= it'll=20reconnect, but=20during=20that=20connection=20time,=20how=20does=20log4net=20handle=20= the=20timeout? =20 Thanks Hadley =20 ________________________________ From:=20Ron=20Grabowski=20[mailto:[email protected]]=20 Sent:=20Monday,=2017=20November=202008=2000:55 To:=20Log4NET=20User Subject:=20Re:=20AdoNetAppender=20connection=20timeouts =20 The=20AdoNetAppender=20keeps=20a=20reference=20to=20an=20open=20connection= .=20At=20some point=20it=20ensures=20the=20connection=20is=20open: //=20shortened=20somewhat...the=20actual=20code=20is=20longer if=20(m_reconnectOnError=20&&=20m_dbConnection.State=20!=3D=20ConnectionSt= ate.Open) { =20LogLog.Debug("Attempting=20to=20reconnect=20to=20database..."); =20InitializeDatabaseConnection(); =20InitializeDatabaseCommand(); } The=20AdoNetAppender=20is=20not=20async=20by=20default.=20If=20you're=20on= =20SqlServer=20I'd recommend=20taking=20a=20look=20at=20an=20appender=20that=20Ayende=20wrote= : https://rhino-tools.svn.sourceforge.net/svnroot/rhino-tools/trunk/rhino- commons/Rhino.Commons/Logging/AsyncBulkInsertAppender.cs whichs=20usess=20the=20SqlBulkCopy=20(very=20fast!)=20and=20background=20t= hreads=20to write=20log=20messages=20to=20the=20database.=20 =20 ________________________________ From:=20Hadley=20Willan=20<[email protected]> To:[email protected] Sent:=20Friday,=20November=2014,=202008=201:56:40=20AM Subject:=20AdoNetAppender=20connection=20timeouts Hi=20peoples, =20 How=20does=20the=20ADO.Net=20appender=20handle=20intermittent=20connection= s? =20 I'm=20assuming=20that=20it's=20holding=20a=20connection=20open=20and=20app= ending? I=20have=20<bufferSize=20value=3D"0">=20set=20to=20ensure=20an=20immediate= =20call=20to=20a stored=20proc=20for=20logging. =20 So=20basically,=20do=20I=20need=20to=20worry=20about=20whether=20or=20not=20= my=20connection=20to the=20other=20end=20exists? Could=20the=20lack=20of=20a=20network=20connection=20translate=20to=20a=20= pause=20in=20the=20app when=20the=20log=20statement=20gets=20written?=20 Or=20is=20all=20logging=20an=20asynchronous=20thread=20that=20doesn't=20af= fect=20the=20caller? =20 Thanks=20in=20advance. Hadley =20 =20 =20 =20 =20 ************************************************************************ Bunnings=20Legal=20Disclaimer: 1)=20This=20email=20is=20confidential=20and=20may=20contain=20legally=20pr= ivileged information.=20If=20you=20are=20not=20the=20intended=20recipient,=20you=20= must=20not disclose=20or=20use=20the=20information=20contained=20in=20it.=20If=20you=20= have=20received this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and delete=20the=20document. 2)=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20Group=20Lim= ited. are=20scanned=20for=20content.=20Any=20material=20deemed=20to=20contain=20= inappropriate subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all parties=20concerned. ************************************************************************ ************************************************************************ Bunnings=20Legal=20Disclaimer: 1)=20This=20email=20is=20confidential=20and=20may=20contain=20legally=20pr= ivileged information.=20If=20you=20are=20not=20the=20intended=20recipient,=20you=20= must=20not disclose=20or=20use=20the=20information=20contained=20in=20it.=20If=20you=20= have=20received this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and delete=20the=20document. 2)=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20Group=20Lim= ited. are=20scanned=20for=20content.=20Any=20material=20deemed=20to=20contain=20= inappropriate subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all parties=20concerned. ************************************************************************ ************************************************************************ Bunnings=20Legal=20Disclaimer: 1)=20This=20email=20is=20confidential=20and=20may=20contain=20legally=20pr= ivileged information.=20If=20you=20are=20not=20the=20intended=20recipient,=20you=20= must=20not disclose=20or=20use=20the=20information=20contained=20in=20it.=20If=20you=20= have=20received this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and delete=20the=20document. 2)=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20Group=20Lim= ited. are=20scanned=20for=20content.=20Any=20material=20deemed=20to=20contain=20= inappropriate subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all parties=20concerned. ************************************************************************ ************************************************************************ Bunnings=20Legal=20Disclaimer: 1)=20=20=20=20=20This=20email=20is=20confidential=20and=20may=20contain=20= legally=20privileged information.=20=20If=20you=20are=20not=20the=20intended=20recipient,=20you= =20must=20not disclose=20or=20use=20the=20information=20contained=20in=20it.=20=20If=20y= ou=20have=20received this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and delete=20the=20document. 2)=20=20=20=20=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20= Group=20Limited. are=20scanned=20for=20content.=20=20Any=20material=20deemed=20to=20contain= =20inappropriate subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all parties=20concerned. ************************************************************************ ------_=_NextPart_001_01C94879.15C66F7F Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html=20xmlns:v=3D"urn:schemas-microsoft-com:vml"=20xmlns:o=3D"urn:schemas= -microsoft-com:office:office"=20xmlns:w=3D"urn:schemas-microsoft-com:offic= e:word"=20xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags"=20xmlns= =3D"http://www.w3.org/TR/REC-html40"> <head> <META=20HTTP-EQUIV=3D"Content-Type"=20CONTENT=3D"text/html;=20charset=3Dus= -ascii"> <meta=20name=3DGenerator=20content=3D"Microsoft=20Word=2011=20(filtered=20= medium)"> <!--[if=20!mso]> <style> v\:*=20{behavior:url(#default#VML);} o\:*=20{behavior:url(#default#VML);} w\:*=20{behavior:url(#default#VML);} .shape=20{behavior:url(#default#VML);} </style> <![endif]--><o:SmartTagType =20namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"=20name=3D"P= ersonName"/> <!--[if=20!mso]> <style> st1\:*{behavior:url(#default#ieooui)=20} </style> <![endif]--> <style> <!-- _filtered=20{margin:72.0pt=2090.0pt=2072.0pt=2090.0pt;} =20/*=20Font=20Definitions=20*/ =20@font-face =09{font-family:Tahoma; =09panose-1:2=2011=206=204=203=205=204=204=202=204;} =20/*=20Style=20Definitions=20*/ =20p.MsoNormal,=20li.MsoNormal,=20div.MsoNormal =09{margin:0cm; =09margin-bottom:.0001pt; =09font-size:12.0pt; =09font-family:"Times=20New=20Roman";} a:link,=20span.MsoHyperlink =09{color:blue; =09text-decoration:underline;} a:visited,=20span.MsoHyperlinkFollowed =09{color:purple; =09text-decoration:underline;} span.emailstyle17 =09{font-family:Arial; =09color:windowtext;} span.EmailStyle18 =09{mso-style-type:personal; =09font-family:Arial; =09color:navy;} span.EmailStyle19 =09{mso-style-type:personal; =09font-family:Arial; =09color:navy;} span.EmailStyle20 =09{mso-style-type:personal-reply; =09font-family:Arial; =09color:navy;} @page=20Section1 =09{size:595.3pt=20841.9pt; =09margin:72.0pt=2090.0pt=2072.0pt=2090.0pt;} div.Section1 =09{page:Section1;} =20/*=20List=20Definitions=20*/ =20@list=20l0 =09{mso-list-id:1096948085; =09mso-list-type:hybrid; =09mso-list-template-ids:1048578374=20201916431=20201916441=20201916443=20= 201916431=20201916441=20201916443=20201916431=20201916441=20201916443;} @list=20l0:level1 =09{mso-level-tab-stop:36.0pt; =09mso-level-number-position:left; =09text-indent:-18.0pt;} @list=20l0:level2 =09{mso-level-tab-stop:72.0pt; =09mso-level-number-position:left; =09text-indent:-18.0pt;} @list=20l0:level3 =09{mso-level-tab-stop:108.0pt; =09mso-level-number-position:left; =09text-indent:-18.0pt;} @list=20l0:level4 =09{mso-level-tab-stop:144.0pt; =09mso-level-number-position:left; =09text-indent:-18.0pt;} @list=20l0:level5 =09{mso-level-tab-stop:180.0pt; =09mso-level-number-position:left; =09text-indent:-18.0pt;} @list=20l0:level6 =09{mso-level-tab-stop:216.0pt; =09mso-level-number-position:left; =09text-indent:-18.0pt;} @list=20l0:level7 =09{mso-level-tab-stop:252.0pt; =09mso-level-number-position:left; =09text-indent:-18.0pt;} @list=20l0:level8 =09{mso-level-tab-stop:288.0pt; =09mso-level-number-position:left; =09text-indent:-18.0pt;} @list=20l0:level9 =09{mso-level-tab-stop:324.0pt; =09mso-level-number-position:left; =09text-indent:-18.0pt;} @list=20l1 =09{mso-list-id:1530996270; =09mso-list-template-ids:-516904902;} ol =09{margin-bottom:0cm;} ul =09{margin-bottom:0cm;} --> </style> </head> <body=20lang=3DEN-AU=20link=3Dblue=20vlink=3Dpurple> <div=20class=3DSection1> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Hi=20all,<o:p></o:p></span></font></p= > <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Shortly=20after=20that=20last=20email= ,=20I=20went=20and read=20the=20docs=20for=20the=20ReconnectOnError<o:p></o:p></span></font><= /p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><a href=3D"http://logging.apache.org/log4net/release/sdk/log4net.Appender.Ado= NetAppender.ReconnectOnError.html">http://logging.apache.org/log4net/relea= se/sdk/log4net.Appender.AdoNetAppender.ReconnectOnError.html</a><o:p></o:p= ></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>I=20changed=20my=20connection=20strin= g=20to=20have=20&#8220;Connect Timeout=3D1&#8221;=20so=20that=20there&#8217;s=20only=201=20sec=20for=20a=20= connection=20timeout.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>This=20helped=20reduce=20the=20lag=20= noticeably=20on=20a reconnect.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Still,=20it=20would=20be=20nice=20if=20= I=20could=20control the=20time=20between=20reconnection=20attempts=20and=20if=20the=20connecti= on=20stuff=20happened=20in its=20own=20thread.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Regards<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Hadley<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <div> <div=20class=3DMsoNormal=20align=3Dcenter=20style=3D'text-align:center'><f= ont=20size=3D3 face=3D"Times=20New=20Roman"><span=20lang=3DEN-US=20style=3D'font-size:12.= 0pt'> <hr=20size=3D2=20width=3D"100%"=20align=3Dcenter=20tabindex=3D-1> </span></font></div> <p=20class=3DMsoNormal><b><font=20size=3D2=20face=3DTahoma><span=20lang=3D= EN-US style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span= ></font></b><font size=3D2=20face=3DTahoma><span=20lang=3DEN-US=20style=3D'font-size:10.0pt;= font-family:Tahoma'> <st1:PersonName=20w:st=3D"on">Hadley=20Willan</st1:PersonName> [mailto:[email protected]]=20<br> <b><span=20style=3D'font-weight:bold'>Sent:</span></b>=20Monday,=2017=20No= vember=202008 14:16<br> <b><span=20style=3D'font-weight:bold'>To:</span></b>=20<st1:PersonName=20w= :st=3D"on">Log4NET =20User</st1:PersonName><br> <b><span=20style=3D'font-weight:bold'>Subject:</span></b>=20RE:=20AdoNetAp= pender connection=20timeouts</span></font><span=20lang=3DEN-US><o:p></o:p></span>= </p> </div> <p=20class=3DMsoNormal><font=20size=3D3=20face=3D"Times=20New=20Roman"><sp= an=20style=3D'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Hi=20all,<o:p></o:p></span></font></p= > <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>I&#8217;ve=20done=20some=20testing=20= by=20writing=20a small=20test=20app=20that=20loops=20through,=20throws=20an=20ArgumentExcep= tion,=20gets=20caught=20and logs=20the=20exception=20to=20log4net.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>My=20config=20has=20both=20a=20local=20= file=20appender and=20an=20ADO=20Net=20appender.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>There&#8217;s=20an=20artificial=20Sle= ep=20for=20a second=20in=20the=20loop=20so=20that=20it=20doesn&#8217;t=20just=20race=20= by.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>I&#8217;ve=20placed=20a=20StopWatch=20= around=20the log4net=20call=20and=20set=20ReconnectOnError=20to=20true.<o:p></o:p></spa= n></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>The=20behaviour=20I&#8217;m=20seeing=20= is=20that=20the reconnect=20gets=20done=20every=20few=20seconds.<o:p></o:p></span></font><= /p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>At=20the=20end=20of=20the=20email=20i= s=20a=20section=20of=20my console=20output=20from=20the=20test.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>I=20unplugged=20the=20network=20cable= =20at=20around=2020 and=20plugged=20it=20back=20in=20at=2050=20there=20was=20a=20total=20of=20= 120=20loops.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>During=20the=20disconnection=20there&= #8217;s delays=20of=20up=20to=2015s=20as=20a=20reconnection=20attempt=20is=20made.= <o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Two=20questions.<o:p></o:p></span></f= ont></p> <ol=20style=3D'margin-top:0cm'=20start=3D1=20type=3D1> =20<li=20class=3DMsoNormal=20style=3D'color:navy;mso-list:l0=20level1=20lf= o3'><font=20size=3D2 =20=20=20=20=20color=3Dnavy=20face=3DArial><span=20style=3D'font-size:10.0= pt;font-family:Arial'>Is =20=20=20=20=20it=20possible=20to=20specify=20how=20long=20to=20wait=20bet= ween=20reconnection=20attempts? =20=20=20=20=20Eg.&nbsp;=20DelayBetweenReconnectionSeconds=3D&#8221;60&#82= 21;=20&nbsp;eg,=20wait =20=20=20=20=20a=20minute=20before=20trying=20to=20reconnect=20again.<o:p>= </o:p></span></font></li> =20<li=20class=3DMsoNormal=20style=3D'color:navy;mso-list:l0=20level1=20lf= o3'><font=20size=3D2 =20=20=20=20=20color=3Dnavy=20face=3DArial><span=20style=3D'font-size:10.0= pt;font-family:Arial'>Given =20=20=20=20=20the=20delays,=20I&#8217;d=20say=20the=20reconnection=20atte= mpt=20is=20a=20blocking =20=20=20=20=20call&#8230;=20Is=20there=20any=20way=20this=20can=20be=20an= =20asynchronous=20call=20that=20changes =20=20=20=20=20the=20connected=20state=20flag=20if=20it=20succeeds?=20This= =20would=20allow=20for=20a=20fast =20=20=20=20=20return=20of=20the=20log=20attempt.=20Yes,=20the=20message=20= being=20logged=20is=20lost,=20but=20it =20=20=20=20=20doesn&#8217;t=20halt=20the=20calling=20code=20and=20introdu= ce=20delays=20into=20the =20=20=20=20=20application.=20<o:p></o:p></span></font></li> </ol> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Thanks=20in=20advance.<o:p></o:p></sp= an></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Hadley<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[12]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[13]=20(3)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[14]=20(10)ms<= o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[15]=20(3)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[16]=20(3)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[17]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[18]=20(3)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[19]=20(8)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[20]=20(9446)m= s<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[21]=20(14830)= ms<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[22]=20(14830)= ms<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[23]=20(7)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[24]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[25]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[26]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[27]=20(14830)= ms<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[28]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[29]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[30]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[31]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[32]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[33]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[34]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[35]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[36]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[37]=20(14829)= ms<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[38]=20(14830)= ms<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[39]=20(14829)= ms<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[40]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[41]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[42]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[43]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[44]=20(14829)= ms<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[45]=20(14829)= ms<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[46]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[47]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[48]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[49]=20(6)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[50]=20(41554)= ms<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[51]=20(8)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[52]=20(3)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[53]=20(3)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D1=20= face=3D"Courier=20New"><span style=3D'font-size:8.0pt;font-family:"Courier=20New"'>Timing[54]=20(3)ms<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D1=20face=3D"Courier=20New"><span=20s= tyle=3D'font-size:8.0pt; font-family:"Courier=20New"'>Timing[55]=20(3)ms</span></font><font=20size=3D= 2 color=3Dnavy=20face=3DArial><span=20style=3D'font-size:10.0pt;font-family:= Arial; color:navy'><o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <div> <div=20class=3DMsoNormal=20align=3Dcenter=20style=3D'text-align:center'><f= ont=20size=3D3 face=3D"Times=20New=20Roman"><span=20lang=3DEN-US=20style=3D'font-size:12.= 0pt'> <hr=20size=3D2=20width=3D"100%"=20align=3Dcenter=20tabindex=3D-1> </span></font></div> <p=20class=3DMsoNormal><b><font=20size=3D2=20face=3DTahoma><span=20lang=3D= EN-US style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span= ></font></b><font size=3D2=20face=3DTahoma><span=20lang=3DEN-US=20style=3D'font-size:10.0pt;= font-family:Tahoma'> <st1:PersonName=20w:st=3D"on">Hadley=20Willan</st1:PersonName> [mailto:[email protected]]=20<br> <b><span=20style=3D'font-weight:bold'>Sent:</span></b>=20Monday,=2017=20No= vember=202008 09:48<br> <b><span=20style=3D'font-weight:bold'>To:</span></b>=20<st1:PersonName=20w= :st=3D"on">Log4NET =20User</st1:PersonName><br> <b><span=20style=3D'font-weight:bold'>Subject:</span></b>=20RE:=20AdoNetAp= pender connection=20timeouts</span></font><span=20lang=3DEN-US><o:p></o:p></span>= </p> </div> <p=20class=3DMsoNormal><font=20size=3D3=20face=3D"Times=20New=20Roman"><sp= an=20style=3D'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Actually,<o:p></o:p></span></font></p= > <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>I=20was=20just=20thinking=20about=20T= CP=20timeouts=20and lockups=20to=20the=20caller.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Is=20the=20log4net=20logging=20done=20= in=20a=20separate thread=20to=20the=20caller?=20<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>If=20the=20connection=20to=20the=20DB= =20goes=20away, it&#8217;s=20good=20that=20it&#8217;ll=20reconnect,=20but=20during=20that=20= connection=20time, how=20does=20log4net=20handle=20the=20timeout?<o:p></o:p></span></font></p= > <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Thanks<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Hadley<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <div> <div=20class=3DMsoNormal=20align=3Dcenter=20style=3D'text-align:center'><f= ont=20size=3D3 face=3D"Times=20New=20Roman"><span=20lang=3DEN-US=20style=3D'font-size:12.= 0pt'> <hr=20size=3D2=20width=3D"100%"=20align=3Dcenter=20tabindex=3D-1> </span></font></div> <p=20class=3DMsoNormal><b><font=20size=3D2=20face=3DTahoma><span=20lang=3D= EN-US style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span= ></font></b><font size=3D2=20face=3DTahoma><span=20lang=3DEN-US=20style=3D'font-size:10.0pt;= font-family:Tahoma'> Ron=20Grabowski=20[mailto:[email protected]]=20<br> <b><span=20style=3D'font-weight:bold'>Sent:</span></b>=20Monday,=2017=20No= vember=202008 00:55<br> <b><span=20style=3D'font-weight:bold'>To:</span></b>=20<st1:PersonName=20w= :st=3D"on">Log4NET =20User</st1:PersonName><br> <b><span=20style=3D'font-weight:bold'>Subject:</span></b>=20Re:=20AdoNetAp= pender connection=20timeouts</span></font><span=20lang=3DEN-US><o:p></o:p></span>= </p> </div> <p=20class=3DMsoNormal><font=20size=3D3=20face=3D"Times=20New=20Roman"><sp= an=20style=3D'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> <div> <div> <p=20class=3DMsoNormal><font=20size=3D3=20face=3D"Times=20New=20Roman"><sp= an=20style=3D'font-size: 12.0pt'>The=20AdoNetAppender=20keeps=20a=20reference=20to=20an=20open=20co= nnection.=20At=20some point=20it=20ensures=20the=20connection=20is=20open:<br> <br> //=20shortened=20somewhat...the=20actual=20code=20is=20longer<br> if=20(m_reconnectOnError=20&amp;&amp;=20m_dbConnection.State=20!=3D=20Conn= ectionState.Open)<br> {<br> &nbsp;LogLog.Debug(&quot;Attempting=20to=20reconnect=20to=20database...&qu= ot;);<br> &nbsp;InitializeDatabaseConnection();<br> &nbsp;InitializeDatabaseCommand();<br> }<br> <br> The=20AdoNetAppender=20is=20not=20async=20by=20default.=20If=20you're=20on= =20SqlServer=20I'd recommend=20taking=20a=20look=20at=20an=20appender=20that=20Ayende=20wrote= :<br> <br> https://rhino-tools.svn.sourceforge.net/svnroot/rhino-tools/trunk/rhino-co= mmons/Rhino.Commons/Logging/AsyncBulkInsertAppender.cs<br> <br> whichs=20usess=20the=20SqlBulkCopy=20(very=20fast!)=20and=20background=20t= hreads=20to=20write=20log messages=20to=20the=20database.=20<o:p></o:p></span></font></p> </div> <div> <p=20class=3DMsoNormal><font=20size=3D3=20face=3D"Times=20New=20Roman"><sp= an=20style=3D'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> <div> <div=20class=3DMsoNormal=20align=3Dcenter=20style=3D'text-align:center'><f= ont=20size=3D2 face=3DTahoma><span=20style=3D'font-size:10.0pt;font-family:Tahoma'> <hr=20size=3D1=20width=3D"100%"=20align=3Dcenter> </span></font></div> <p=20class=3DMsoNormal=20style=3D'margin-bottom:12.0pt'><b><font=20size=3D= 2=20face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span= ></font></b><font size=3D2=20face=3DTahoma><span=20style=3D'font-size:10.0pt;font-family:Tah= oma'>=20<st1:PersonName w:st=3D"on">Hadley=20Willan</st1:PersonName>=20&lt;[email protected]= &gt;<br> <b><span=20style=3D'font-weight:bold'>To:</span></b>=20<st1:PersonName=20w= :st=3D"on">[email protected]</st1:PersonName><br> <b><span=20style=3D'font-weight:bold'>Sent:</span></b>=20Friday,=20Novembe= r=2014,=202008 1:56:40=20AM<br> <b><span=20style=3D'font-weight:bold'>Subject:</span></b>=20AdoNetAppender= =20connection timeouts</span></font><o:p></o:p></p> <div> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Hi=20peoples,</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>How=20does=20the=20ADO.Net=20appender=20handle=20interm= ittent connections?</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>I&#8217;m=20assuming=20that=20it&#8217;s=20holding=20a=20= connection=20open and=20appending?</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>I=20have=20&lt;bufferSize=20value=3D&#8221;0&#8221;&gt;= =20set=20to=20ensure an=20immediate=20call=20to=20a=20stored=20proc=20for=20logging.</span></fo= nt><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>So=20basically,=20do=20I=20need=20to=20worry=20about=20= whether=20or=20not=20my connection=20to=20the=20other=20end=20exists?</span></font><o:p></o:p></p>= <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Could=20the=20lack=20of=20a=20network=20connection=20tr= anslate=20to=20a=20pause in=20the=20app=20when=20the=20log=20statement=20gets=20written?=20</span><= /font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Or=20is=20all=20logging=20an=20asynchronous=20thread=20= that=20doesn&#8217;t affect=20the=20caller?</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Thanks=20in=20advance.</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Hadley</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>&nbsp;</span></font><o:p></o:p></p> </div> <p=20class=3DMsoNormal><font=20size=3D3=20face=3D"Times=20New=20Roman"><sp= an=20style=3D'font-size: 12.0pt'><br> ************************************************************************<b= r> Bunnings=20Legal=20Disclaimer:<br> <br> 1)=20This=20email=20is=20confidential=20and=20may=20contain=20legally=20pr= ivileged<br> information.=20If=20you=20are=20not=20the=20intended=20recipient,=20you=20= must=20not<br> disclose=20or=20use=20the=20information=20contained=20in=20it.=20If=20you=20= have=20received<br> this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and<br> delete=20the=20document.<br> <br> 2)=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20Group=20Lim= ited.<br> are=20scanned=20for=20content.=20Any=20material=20deemed=20to=20contain=20= inappropriate<br> subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all<br> parties=20concerned.<br> ************************************************************************<o= :p></o:p></span></font></p> </div> </div> </div> <p=20class=3DMsoNormal><font=20size=3D3=20face=3D"Times=20New=20Roman"><sp= an=20style=3D'font-size: 12.0pt'><br> ************************************************************************<b= r> Bunnings=20Legal=20Disclaimer:<br> <br> 1)=20This=20email=20is=20confidential=20and=20may=20contain=20legally=20pr= ivileged<br> information.=20If=20you=20are=20not=20the=20intended=20recipient,=20you=20= must=20not<br> disclose=20or=20use=20the=20information=20contained=20in=20it.=20If=20you=20= have=20received<br> this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and<br> delete=20the=20document.<br> <br> 2)=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20Group=20Lim= ited.<br> are=20scanned=20for=20content.=20Any=20material=20deemed=20to=20contain=20= inappropriate<br> subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all<br> parties=20concerned.<br> ************************************************************************<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D3=20face=3D"Times=20New=20Roman"><sp= an=20style=3D'font-size: 12.0pt'><br> ************************************************************************<b= r> Bunnings=20Legal=20Disclaimer:<br> <br> 1)=20This=20email=20is=20confidential=20and=20may=20contain=20legally=20pr= ivileged<br> information.=20If=20you=20are=20not=20the=20intended=20recipient,=20you=20= must=20not<br> disclose=20or=20use=20the=20information=20contained=20in=20it.=20If=20you=20= have=20received<br> this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and<br> delete=20the=20document.<br> <br> 2)=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20Group=20Lim= ited.<br> are=20scanned=20for=20content.=20Any=20material=20deemed=20to=20contain=20= inappropriate<br> subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all<br> parties=20concerned.<br> ************************************************************************<o= :p></o:p></span></font></p> </div> <BR> ************************************************************************<B= R> Bunnings=20Legal=20Disclaimer:<BR> <BR> 1)=20=20=20=20=20This=20email=20is=20confidential=20and=20may=20contain=20= legally=20privileged<BR> information.=20=20If=20you=20are=20not=20the=20intended=20recipient,=20you= =20must=20not<BR> disclose=20or=20use=20the=20information=20contained=20in=20it.=20=20If=20y= ou=20have=20received<BR> this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and<BR> delete=20the=20document.<BR> <BR> 2)=20=20=20=20=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20= Group=20Limited.<BR> are=20scanned=20for=20content.=20=20Any=20material=20deemed=20to=20contain= =20inappropriate<BR> subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all<BR> parties=20concerned.<BR> ************************************************************************<B= R> </body> </html> ------_=_NextPart_001_01C94879.15C66F7F-- From [email protected] Thu Nov 20 03:48:12 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88905 invoked from network); 20 Nov 2008 03:48:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Nov 2008 03:48:12 -0000 Received: (qmail 37475 invoked by uid 500); 20 Nov 2008 03:48:19 -0000 Delivered-To: [email protected] Received: (qmail 37446 invoked by uid 500); 20 Nov 2008 03:48:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 37434 invoked by uid 99); 20 Nov 2008 03:48:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Nov 2008 19:48:19 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_NETSOLPR X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO web30507.mail.mud.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 20 Nov 2008 03:46:54 +0000 Received: (qmail 75255 invoked by uid 60001); 20 Nov 2008 03:46:34 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=3xNCa9WUUt+Fewwd5kQH04i9No8JbweRXTvdjgsGhFcK/hKRvzIke8RIP7FGHc5WU/KXK7EgZchpRRxRJUoO97/3Kav4TnO/dLHUkexxQBoHrSAdhy3r7OCZDEPK+FVfyVLNj7fr7j5JmyucE3IUcjd0DtySpRzjLMMczch6EbE=; X-YMail-OSG: Nn4GTqoVM1nsYP4w88tvmpMq.EFJgXVJEDEF9y0ducqE8Kt9DS03gAHgnfyf3smMqO5u9ShLU3.5z1nAj7JM8B9SR9PSWTXpba7tlvN7WoJ7aggorc0HlSCKTneloG2nAaVeWL65L8lL80FrSQFXLGb.jJ1xiZW5vebdnl8wJCWPIclgI6t.jZDSFA-- Received: from [161.129.204.104] by web30507.mail.mud.yahoo.com via HTTP; Wed, 19 Nov 2008 19:46:34 PST X-Mailer: YahooMailRC/1155.32 YahooMailWebService/0.7.260.1 References: <[email protected]> Date: Wed, 19 Nov 2008 19:46:34 -0800 (PST) From: Ron Grabowski <[email protected]> Subject: Re: AdoNetAppender connection timeouts To: Log4NET User <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-621503786-1227152794=:75061" Message-ID: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org --0-621503786-1227152794=:75061 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Sounds like you want to extend AdoNetAppender, add a Timer with a callback = that periodically ensures the Connection is connected every X seconds.=0A= =0A=0A=0A=0A________________________________=0AFrom: Hadley Willan <HWillan= @bunnings.com.au>=0ATo: Log4NET User <[email protected]>=0ASe= nt: Monday, November 17, 2008 12:55:25 AM=0ASubject: RE: AdoNetAppender con= nection timeouts=0A=0A =0AHi all,=0A =0AShortly after that last email, I we= nt and=0Aread the docs for the ReconnectOnError=0Ahttp://logging.apache.org= /log4net/release/sdk/log4net.Appender.AdoNetAppender.ReconnectOnError.html= =0A =0AI changed my connection string to have =93Connect=0ATimeout=3D1=94 s= o that there=92s only 1 sec for a connection timeout.=0AThis helped reduce = the lag noticeably on a=0Areconnect.=0A =0AStill, it would be nice if I cou= ld control=0Athe time between reconnection attempts and if the connection s= tuff happened in=0Aits own thread.=0A =0ARegards=0AHadley=0A =0A=0A________= ________________________=0A =0AFrom:Hadley Willan =0A[mailto:HWillan@bunnin= gs.com.au] =0ASent: Monday, 17 November 2008=0A14:16=0ATo: Log4NET User=0AS= ubject: RE: AdoNetAppender=0Aconnection timeouts=0A =0AHi all,=0A =0AI=92ve= done some testing by writing a=0Asmall test app that loops through, throws= an ArgumentException, gets caught and=0Alogs the exception to log4net.=0AM= y config has both a local file appender=0Aand an ADO Net appender.=0AThere= =92s an artificial Sleep for a=0Asecond in the loop so that it doesn=92t ju= st race by.=0AI=92ve placed a StopWatch around the=0Alog4net call and set R= econnectOnError to true.=0A =0AThe behaviour I=92m seeing is that the=0Arec= onnect gets done every few seconds.=0AAt the end of the email is a section = of my=0Aconsole output from the test.=0AI unplugged the network cable at ar= ound 20=0Aand plugged it back in at 50 there was a total of 120 loops.=0ADu= ring the disconnection there=92s=0Adelays of up to 15s as a reconnection at= tempt is made.=0A =0ATwo questions.=0A=091. Is it possible to specify how l= ong to wait between reconnection attempts? Eg. DelayBetweenReconnectionSec= onds=3D=9460=94 eg, wait a minute before trying to reconnect again.=0A=092= . Given the delays, I=92d say the reconnection attempt is a blocking call= =85 Is there any way this can be an asynchronous call that changes the conn= ected state flag if it succeeds? This would allow for a fast return of the = log attempt. Yes, the message being logged is lost, but it doesn=92t halt t= he calling code and introduce delays into the application. =0A =0AThanks in= advance.=0AHadley=0A =0ATiming[12] (6)ms=0ATiming[13] (3)ms=0ATiming[14] (= 10)ms=0ATiming[15] (3)ms=0ATiming[16] (3)ms=0ATiming[17] (6)ms=0ATiming[18]= (3)ms=0ATiming[19] (8)ms=0ATiming[20] (9446)ms=0ATiming[21] (14830)ms=0ATi= ming[22] (14830)ms=0ATiming[23] (7)ms=0ATiming[24] (6)ms=0ATiming[25] (6)ms= =0ATiming[26] (6)ms=0ATiming[27] (14830)ms=0ATiming[28] (6)ms=0ATiming[29] = (6)ms=0ATiming[30] (6)ms=0ATiming[31] (6)ms=0ATiming[32] (6)ms=0ATiming[33]= (6)ms=0ATiming[34] (6)ms=0ATiming[35] (6)ms=0ATiming[36] (6)ms=0ATiming[37= ] (14829)ms=0ATiming[38] (14830)ms=0ATiming[39] (14829)ms=0ATiming[40] (6)m= s=0ATiming[41] (6)ms=0ATiming[42] (6)ms=0ATiming[43] (6)ms=0ATiming[44] (14= 829)ms=0ATiming[45] (14829)ms=0ATiming[46] (6)ms=0ATiming[47] (6)ms=0ATimin= g[48] (6)ms=0ATiming[49] (6)ms=0ATiming[50] (41554)ms=0ATiming[51] (8)ms=0A= Timing[52] (3)ms=0ATiming[53] (3)ms=0ATiming[54] (3)ms=0ATiming[55] (3)ms= =0A =0A=0A________________________________=0A =0AFrom:Hadley Willan =0A[mai= lto:[email protected]] =0ASent: Monday, 17 November 2008=0A09:48=0ATo= : Log4NET User=0ASubject: RE: AdoNetAppender=0Aconnection timeouts=0A =0AAc= tually,=0A =0AI was just thinking about TCP timeouts and=0Alockups to the c= aller.=0AIs the log4net logging done in a separate=0Athread to the caller? = =0A =0AIf the connection to the DB goes away,=0Ait=92s good that it=92ll re= connect, but during that connection time,=0Ahow does log4net handle the tim= eout?=0A =0AThanks=0AHadley=0A =0A=0A________________________________=0A = =0AFrom:Ron Grabowski [mailto:[email protected]] =0ASent: Monday, 17 N= ovember 2008=0A00:55=0ATo: Log4NET User=0ASubject: Re: AdoNetAppender=0Acon= nection timeouts=0A =0AThe AdoNetAppender keeps a reference to an open conn= ection. At some=0Apoint it ensures the connection is open:=0A=0A// shortene= d somewhat...the actual code is longer=0Aif (m_reconnectOnError && m_dbConn= ection.State !=3D ConnectionState.Open)=0A{=0A LogLog.Debug("Attempting to = reconnect to database...");=0A InitializeDatabaseConnection();=0A Initializ= eDatabaseCommand();=0A}=0A=0AThe AdoNetAppender is not async by default. If= you're on SqlServer I'd=0Arecommend taking a look at an appender that Ayen= de wrote:=0A=0Ahttps://rhino-tools.svn.sourceforge.net/svnroot/rhino-tools/= trunk/rhino-commons/Rhino.Commons/Logging/AsyncBulkInsertAppender.cs=0A=0Aw= hichs usess the SqlBulkCopy (very fast!) and background threads to write lo= g=0Amessages to the database. =0A =0A=0A________________________________=0A= =0AFrom:Hadley Willan <[email protected]>=0ATo: log4net-user@logging= .apache.org=0ASent: Friday, November 14, 2008=0A1:56:40 AM=0ASubject: AdoNe= tAppender connection=0Atimeouts=0AHi peoples,=0A =0AHow does the ADO.Net ap= pender handle intermittent=0Aconnections?=0A =0AI=92m assuming that it=92s = holding a connection open=0Aand appending?=0AI have <bufferSize value=3D=94= 0=94> set to ensure=0Aan immediate call to a stored proc for logging.=0A = =0ASo basically, do I need to worry about whether or not my=0Aconnection to= the other end exists?=0ACould the lack of a network connection translate t= o a pause=0Ain the app when the log statement gets written? =0AOr is all lo= gging an asynchronous thread that doesn=92t=0Aaffect the caller?=0A =0AThan= ks in advance.=0AHadley=0A =0A =0A =0A =0A =0A=0A**************************= **********************************************=0ABunnings Legal Disclaimer:= =0A=0A1) This email is confidential and may contain legally privileged=0Ain= formation. If you are not the intended recipient, you must not=0Adisclose o= r use the information contained in it. If you have received=0Athis email in= error, please notify us immediately by return email and=0Adelete the docum= ent.=0A=0A2) All emails sent to and sent from Bunnings Group Limited.=0Aare= scanned for content. Any material deemed to contain inappropriate=0Asubjec= t matter will be reported to the email administrator of all=0Aparties conce= rned.=0A*******************************************************************= *****=0A=0A****************************************************************= ********=0ABunnings Legal Disclaimer:=0A=0A1) This email is confidential an= d may contain legally privileged=0Ainformation. If you are not the intended= recipient, you must not=0Adisclose or use the information contained in it.= If you have received=0Athis email in error, please notify us immediately b= y return email and=0Adelete the document.=0A=0A2) All emails sent to and se= nt from Bunnings Group Limited.=0Aare scanned for content. Any material dee= med to contain inappropriate=0Asubject matter will be reported to the email= administrator of all=0Aparties concerned.=0A******************************= ******************************************=0A=0A***************************= *********************************************=0ABunnings Legal Disclaimer:= =0A=0A1) This email is confidential and may contain legally privileged=0Ain= formation. If you are not the intended recipient, you must not=0Adisclose o= r use the information contained in it. If you have received=0Athis email in= error, please notify us immediately by return email and=0Adelete the docum= ent.=0A=0A2) All emails sent to and sent from Bunnings Group Limited.=0Aare= scanned for content. Any material deemed to contain inappropriate=0Asubjec= t matter will be reported to the email administrator of all=0Aparties conce= rned.=0A*******************************************************************= *****=0A*******************************************************************= *****=0ABunnings Legal Disclaimer:=0A=0A1) This email is confidential a= nd may contain legally privileged=0Ainformation. If you are not the intend= ed recipient, you must not=0Adisclose or use the information contained in i= t. If you have received=0Athis email in error, please notify us immediatel= y by return email and=0Adelete the document.=0A=0A2) All emails sent to= and sent from Bunnings Group Limited.=0Aare scanned for content. Any mate= rial deemed to contain inappropriate=0Asubject matter will be reported to t= he email administrator of all=0Aparties concerned.=0A**********************= **************************************************=0A --0-621503786-1227152794=:75061 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable <html><head><style type=3D"text/css"><!-- DIV {margin:0px;} --></style></he= ad><body><div style=3D"font-family:times new roman,new york,times,serif;fon= t-size:12pt"><div>Sounds like you want to extend AdoNetAppender, add a Time= r with a callback that periodically ensures the Connection is connected eve= ry X seconds.<br></div><div style=3D"font-family: times new roman,new york,= times,serif; font-size: 12pt;"><br><div style=3D"font-family: times new rom= an,new york,times,serif; font-size: 12pt;"><font size=3D"2" face=3D"Tahoma"= ><hr size=3D"1"><b><span style=3D"font-weight: bold;">From:</span></b> Hadl= ey Willan &lt;[email protected]&gt;<br><b><span style=3D"font-weight:= bold;">To:</span></b> Log4NET User &lt;[email protected]&gt;= <br><b><span style=3D"font-weight: bold;">Sent:</span></b> Monday, November= 17, 2008 12:55:25 AM<br><b><span style=3D"font-weight: bold;">Subject:</sp= an></b> RE: AdoNetAppender connection timeouts<br></font><br>=0A=0A=0A =0A = =0A=0A =0A=0A<style>=0A<!--=0A_filtered {margin:72.0pt 90.0pt 72.0pt 90.0pt= ;}=0A=0A =0A _filtered {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}= =0A =0Ap.MsoNormal, li.MsoNormal, div.MsoNormal=0A=09{margin:0cm;margin-bot= tom:.0001pt;font-size:12.0pt;font-family:"Times New Roman";}=0Aa:link, span= .MsoHyperlink=0A=09{color:blue;text-decoration:underline;}=0Aa:visited, spa= n.MsoHyperlinkFollowed=0A=09{color:purple;text-decoration:underline;}=0Aspa= n.emailstyle17=0A=09{font-family:Arial;color:windowtext;}=0Aspan.EmailStyle= 18=0A=09{font-family:Arial;color:navy;}=0Aspan.EmailStyle19=0A=09{font-fami= ly:Arial;color:navy;}=0Aspan.EmailStyle20=0A=09{font-family:Arial;color:nav= y;}=0A _filtered {margin:72.0pt 90.0pt 72.0pt 90.0pt;}=0Adiv.Section1=0A=09= {}=0A =0A _filtered {}=0A _filtered {}=0A _filtered {}=0A _filtered {}=0A _= filtered {}=0A _filtered {}=0A _filtered {}=0A _filtered {}=0A _filtered {}= =0A _filtered {}=0A _filtered {}=0Aol=0A=09{margin-bottom:0cm;}=0Aul=0A=09{= margin-bottom:0cm;}=0A-->=0A</style>=0A=0A=0A=0A<div class=3D"Section1">=0A= =0A<p class=3D"MsoNormal"><font size=3D"2" color=3D"navy" face=3D"Arial"><s= pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">Hi all,</sp= an></font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" color=3D"navy"= face=3D"Arial"><span style=3D"font-size: 10pt; font-family: Arial; color: = navy;"> &nbsp;</span></font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D= "2" color=3D"navy" face=3D"Arial"><span style=3D"font-size: 10pt; font-fami= ly: Arial; color: navy;">Shortly after that last email, I went and=0Aread t= he docs for the ReconnectOnError</span></font></p> =0A=0A<p class=3D"MsoNor= mal"><font size=3D"2" color=3D"navy" face=3D"Arial"><span style=3D"font-siz= e: 10pt; font-family: Arial; color: navy;"><a rel=3D"nofollow" target=3D"_b= lank" href=3D"http://logging.apache.org/log4net/release/sdk/log4net.Appende= r.AdoNetAppender.ReconnectOnError.html">http://logging.apache.org/log4net/r= elease/sdk/log4net.Appender.AdoNetAppender.ReconnectOnError.html</a></span>= </font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" color=3D"navy" fa= ce=3D"Arial"><span style=3D"font-size: 10pt; font-family: Arial; color: nav= y;"> &nbsp;</span></font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2"= color=3D"navy" face=3D"Arial"><span style=3D"font-size: 10pt; font-family:= Arial; color: navy;">I changed my connection string to have =93Connect=0AT= imeout=3D1=94 so that there=92s only 1 sec for a connection timeout.</span>= </font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" color=3D"navy" fa= ce=3D"Arial"><span style=3D"font-size: 10pt; font-family: Arial; color: nav= y;">This helped reduce the lag noticeably on a=0Areconnect.</span></font></= p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" color=3D"navy" face=3D"Ari= al"><span style=3D"font-size: 10pt; font-family: Arial; color: navy;"> &nbs= p;</span></font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" color=3D= "navy" face=3D"Arial"><span style=3D"font-size: 10pt; font-family: Arial; c= olor: navy;">Still, it would be nice if I could control=0Athe time between = reconnection attempts and if the connection stuff happened in=0Aits own thr= ead.</span></font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" color= =3D"navy" face=3D"Arial"><span style=3D"font-size: 10pt; font-family: Arial= ; color: navy;"> &nbsp;</span></font></p> =0A=0A<p class=3D"MsoNormal"><fon= t size=3D"2" color=3D"navy" face=3D"Arial"><span style=3D"font-size: 10pt; = font-family: Arial; color: navy;">Regards</span></font></p> =0A=0A<p class= =3D"MsoNormal"><font size=3D"2" color=3D"navy" face=3D"Arial"><span style= =3D"font-size: 10pt; font-family: Arial; color: navy;">Hadley</span></font>= </p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" color=3D"navy" face=3D"A= rial"><span style=3D"font-size: 10pt; font-family: Arial; color: navy;"> &n= bsp;</span></font></p> =0A=0A<div>=0A=0A<div class=3D"MsoNormal" style=3D"t= ext-align: center;" align=3D"center"><font size=3D"3" face=3D"Times New Rom= an"><span style=3D"font-size: 12pt;" lang=3D"EN-US">=0A=0A<hr tabindex=3D"-= 1" size=3D"2" width=3D"100%" align=3D"center">=0A=0A</span></font></div>=0A= =0A<p class=3D"MsoNormal"><b><font size=3D"2" face=3D"Tahoma"><span style= =3D"font-size: 10pt; font-family: Tahoma; font-weight: bold;" lang=3D"EN-US= ">From:</span></font></b><font size=3D"2" face=3D"Tahoma"><span style=3D"fo= nt-size: 10pt; font-family: Tahoma;" lang=3D"EN-US">=0A Hadley Willan =0A[m= ailto:[email protected]] <br>=0A<b><span style=3D"font-weight: bold;"= >Sent:</span></b> Monday, 17 November 2008=0A14:16<br>=0A<b><span style=3D"= font-weight: bold;">To:</span></b> Log4NET=0A User<br>=0A<b><span style=3D"= font-weight: bold;">Subject:</span></b> RE: AdoNetAppender=0Aconnection tim= eouts</span></font><span lang=3D"EN-US"></span></p> =0A=0A</div>=0A=0A<p cl= ass=3D"MsoNormal"><font size=3D"3" face=3D"Times New Roman"><span style=3D"= font-size: 12pt;"> &nbsp;</span></font></p> =0A=0A<p class=3D"MsoNormal"><f= ont size=3D"2" color=3D"navy" face=3D"Arial"><span style=3D"font-size: 10pt= ; font-family: Arial; color: navy;">Hi all,</span></font></p> =0A=0A<p clas= s=3D"MsoNormal"><font size=3D"2" color=3D"navy" face=3D"Arial"><span style= =3D"font-size: 10pt; font-family: Arial; color: navy;"> &nbsp;</span></font= ></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" color=3D"navy" face=3D"= Arial"><span style=3D"font-size: 10pt; font-family: Arial; color: navy;">I= =92ve done some testing by writing a=0Asmall test app that loops through, t= hrows an ArgumentException, gets caught and=0Alogs the exception to log4net= .</span></font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" color=3D"= navy" face=3D"Arial"><span style=3D"font-size: 10pt; font-family: Arial; co= lor: navy;">My config has both a local file appender=0Aand an ADO Net appen= der.</span></font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" color= =3D"navy" face=3D"Arial"><span style=3D"font-size: 10pt; font-family: Arial= ; color: navy;">There=92s an artificial Sleep for a=0Asecond in the loop so= that it doesn=92t just race by.</span></font></p> =0A=0A<p class=3D"MsoNor= mal"><font size=3D"2" color=3D"navy" face=3D"Arial"><span style=3D"font-siz= e: 10pt; font-family: Arial; color: navy;">I=92ve placed a StopWatch around= the=0Alog4net call and set ReconnectOnError to true.</span></font></p> =0A= =0A<p class=3D"MsoNormal"><font size=3D"2" color=3D"navy" face=3D"Arial"><s= pan style=3D"font-size: 10pt; font-family: Arial; color: navy;"> &nbsp;</sp= an></font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" color=3D"navy"= face=3D"Arial"><span style=3D"font-size: 10pt; font-family: Arial; color: = navy;">The behaviour I=92m seeing is that the=0Areconnect gets done every f= ew seconds.</span></font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2"= color=3D"navy" face=3D"Arial"><span style=3D"font-size: 10pt; font-family:= Arial; color: navy;">At the end of the email is a section of my=0Aconsole = output from the test.</span></font></p> =0A=0A<p class=3D"MsoNormal"><font = size=3D"2" color=3D"navy" face=3D"Arial"><span style=3D"font-size: 10pt; fo= nt-family: Arial; color: navy;">I unplugged the network cable at around 20= =0Aand plugged it back in at 50 there was a total of 120 loops.</span></fon= t></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" color=3D"navy" face=3D= "Arial"><span style=3D"font-size: 10pt; font-family: Arial; color: navy;">D= uring the disconnection there=92s=0Adelays of up to 15s as a reconnection a= ttempt is made.</span></font></p> =0A=0A<p class=3D"MsoNormal"><font size= =3D"2" color=3D"navy" face=3D"Arial"><span style=3D"font-size: 10pt; font-f= amily: Arial; color: navy;"> &nbsp;</span></font></p> =0A=0A<p class=3D"Mso= Normal"><font size=3D"2" color=3D"navy" face=3D"Arial"><span style=3D"font-= size: 10pt; font-family: Arial; color: navy;">Two questions.</span></font><= /p> =0A=0A<ol style=3D"margin-top: 0cm;" start=3D"1" type=3D"1">=0A <li cla= ss=3D"MsoNormal" style=3D"color: navy;"><font size=3D"2" color=3D"navy" fac= e=3D"Arial"><span style=3D"font-size: 10pt; font-family: Arial;">Is=0A = it possible to specify how long to wait between reconnection attempts?=0A = Eg.&nbsp; DelayBetweenReconnectionSeconds=3D=9460=94 &nbsp;eg, wait=0A = a minute before trying to reconnect again.</span></font></li> =0A <li cl= ass=3D"MsoNormal" style=3D"color: navy;"><font size=3D"2" color=3D"navy" fa= ce=3D"Arial"><span style=3D"font-size: 10pt; font-family: Arial;">Given=0A = the delays, I=92d say the reconnection attempt is a blocking=0A cal= l=85 Is there any way this can be an asynchronous call that changes=0A = the connected state flag if it succeeds? This would allow for a fast=0A = return of the log attempt. Yes, the message being logged is lost, but it= =0A doesn=92t halt the calling code and introduce delays into the=0A = application. </span></font></li> =0A</ol>=0A=0A<p class=3D"MsoNormal"><fo= nt size=3D"2" color=3D"navy" face=3D"Arial"><span style=3D"font-size: 10pt;= font-family: Arial; color: navy;"> &nbsp;</span></font></p> =0A=0A<p class= =3D"MsoNormal"><font size=3D"2" color=3D"navy" face=3D"Arial"><span style= =3D"font-size: 10pt; font-family: Arial; color: navy;">Thanks in advance.</= span></font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" color=3D"nav= y" face=3D"Arial"><span style=3D"font-size: 10pt; font-family: Arial; color= : navy;">Hadley</span></font></p> =0A=0A<p class=3D"MsoNormal"><font size= =3D"2" color=3D"navy" face=3D"Arial"><span style=3D"font-size: 10pt; font-f= amily: Arial; color: navy;"> &nbsp;</span></font></p> =0A=0A<p class=3D"Mso= Normal" style=3D""><font size=3D"1" face=3D"Courier New"><span style=3D"fon= t-size: 8pt; font-family: &quot;Courier New&quot;;">Timing[12] (6)ms</span>= </font></p> =0A=0A<p class=3D"MsoNormal" style=3D""><font size=3D"1" face= =3D"Courier New"><span style=3D"font-size: 8pt; font-family: &quot;Courier = New&quot;;">Timing[13] (3)ms</span></font></p> =0A=0A<p class=3D"MsoNormal"= style=3D""><font size=3D"1" face=3D"Courier New"><span style=3D"font-size:= 8pt; font-family: &quot;Courier New&quot;;">Timing[14] (10)ms</span></font= ></p> =0A=0A<p class=3D"MsoNormal" style=3D""><font size=3D"1" face=3D"Cour= ier New"><span style=3D"font-size: 8pt; font-family: &quot;Courier New&quot= ;;">Timing[15] (3)ms</span></font></p> =0A=0A<p class=3D"MsoNormal" style= =3D""><font size=3D"1" face=3D"Courier New"><span style=3D"font-size: 8pt; = font-family: &quot;Courier New&quot;;">Timing[16] (3)ms</span></font></p> = =0A=0A<p class=3D"MsoNormal" style=3D""><font size=3D"1" face=3D"Courier Ne= w"><span style=3D"font-size: 8pt; font-family: &quot;Courier New&quot;;">Ti= ming[17] (6)ms</span></font></p> =0A=0A<p class=3D"MsoNormal" style=3D""><f= ont size=3D"1" face=3D"Courier New"><span style=3D"font-size: 8pt; font-fam= ily: &quot;Courier New&quot;;">Timing[18] (3)ms</span></font></p> =0A=0A<p = class=3D"MsoNormal" style=3D""><font size=3D"1" face=3D"Courier New"><span = style=3D"font-size: 8pt; font-family: &quot;Courier New&quot;;">Timing[19] = (8)ms</span></font></p> =0A=0A<p class=3D"MsoNormal" style=3D""><font size= =3D"1" face=3D"Courier New"><span style=3D"font-size: 8pt; font-family: &qu= ot;Courier New&quot;;">Timing[20] (9446)ms</span></font></p> =0A=0A<p class= =3D"MsoNormal" style=3D""><font size=3D"1" face=3D"Courier New"><span style= =3D"font-size: 8pt; font-family: &quot;Courier New&quot;;">Timing[21] (1483= 0)ms</span></font></p> =0A=0A<p class=3D"MsoNormal" style=3D""><font size= =3D"1" face=3D"Courier New"><span style=3D"font-size: 8pt; font-family: &qu= ot;Courier New&quot;;">Timing[22] (14830)ms</span></font></p> =0A=0A<p clas= s=3D"MsoNormal" style=3D""><font size=3D"1" face=3D"Courier New"><span styl= e=3D"font-size: 8pt; font-family: &quot;Courier New&quot;;">Timing[23] (7)m= s</span></font></p> =0A=0A<p class=3D"MsoNormal" style=3D""><font size=3D"1= " face=3D"Courier New"><span style=3D"font-size: 8pt; font-family: &quot;Co= urier New&quot;;">Timing[24] (6)ms</span></font></p> =0A=0A<p class=3D"MsoN= ormal" style=3D""><font size=3D"1" face=3D"Courier New"><span style=3D"font= -size: 8pt; font-family: &quot;Courier New&quot;;">Timing[25] (6)ms</span><= /font></p> =0A=0A<p class=3D"MsoNormal" style=3D""><font size=3D"1" face=3D= "Courier New"><span style=3D"font-size: 8pt; font-family: &quot;Courier New= &quot;;">Timing[26] (6)ms</span></font></p> =0A=0A<p class=3D"MsoNormal" st= yle=3D""><font size=3D"1" face=3D"Courier New"><span style=3D"font-size: 8p= t; font-family: &quot;Courier New&quot;;">Timing[27] (14830)ms</span></font= ></p> =0A=0A<p class=3D"MsoNormal" style=3D""><font size=3D"1" face=3D"Cour= ier New"><span style=3D"font-size: 8pt; font-family: &quot;Courier New&quot= ;;">Timing[28] (6)ms</span></font></p> =0A=0A<p class=3D"MsoNormal" style= =3D""><font size=3D"1" face=3D"Courier New"><span style=3D"font-size: 8pt; = font-family: &quot;Courier New&quot;;">Timing[29] (6)ms</span></font></p> = =0A=0A<p class=3D"MsoNormal" style=3D""><font size=3D"1" face=3D"Courier Ne= w"><span style=3D"font-size: 8pt; font-family: &quot;Courier New&quot;;">Ti= ming[30] (6)ms</span></font></p> =0A=0A<p class=3D"MsoNormal" style=3D""><f= ont size=3D"1" face=3D"Courier New"><span style=3D"font-size: 8pt; font-fam= ily: &quot;Courier New&quot;;">Timing[31] (6)ms</span></font></p> =0A=0A<p = class=3D"MsoNormal" style=3D""><font size=3D"1" face=3D"Courier New"><span = style=3D"font-size: 8pt; font-family: &quot;Courier New&quot;;">Timing[32] = (6)ms</span></font></p> =0A=0A<p class=3D"MsoNormal" style=3D""><font size= =3D"1" face=3D"Courier New"><span style=3D"font-size: 8pt; font-family: &qu= ot;Courier New&quot;;">Timing[33] (6)ms</span></font></p> =0A=0A<p class=3D= "MsoNormal" style=3D""><font size=3D"1" face=3D"Courier New"><span style=3D= "font-size: 8pt; font-family: &quot;Courier New&quot;;">Timing[34] (6)ms</s= pan></font></p> =0A=0A<p class=3D"MsoNormal" style=3D""><font size=3D"1" fa= ce=3D"Courier New"><span style=3D"font-size: 8pt; font-family: &quot;Courie= r New&quot;;">Timing[35] (6)ms</span></font></p> =0A=0A<p class=3D"MsoNorma= l" style=3D""><font size=3D"1" face=3D"Courier New"><span style=3D"font-siz= e: 8pt; font-family: &quot;Courier New&quot;;">Timing[36] (6)ms</span></fon= t></p> =0A=0A<p class=3D"MsoNormal" style=3D""><font size=3D"1" face=3D"Cou= rier New"><span style=3D"font-size: 8pt; font-family: &quot;Courier New&quo= t;;">Timing[37] (14829)ms</span></font></p> =0A=0A<p class=3D"MsoNormal" st= yle=3D""><font size=3D"1" face=3D"Courier New"><span style=3D"font-size: 8p= t; font-family: &quot;Courier New&quot;;">Timing[38] (14830)ms</span></font= ></p> =0A=0A<p class=3D"MsoNormal" style=3D""><font size=3D"1" face=3D"Cour= ier New"><span style=3D"font-size: 8pt; font-family: &quot;Courier New&quot= ;;">Timing[39] (14829)ms</span></font></p> =0A=0A<p class=3D"MsoNormal" sty= le=3D""><font size=3D"1" face=3D"Courier New"><span style=3D"font-size: 8pt= ; font-family: &quot;Courier New&quot;;">Timing[40] (6)ms</span></font></p>= =0A=0A<p class=3D"MsoNormal" style=3D""><font size=3D"1" face=3D"Courier N= ew"><span style=3D"font-size: 8pt; font-family: &quot;Courier New&quot;;">T= iming[41] (6)ms</span></font></p> =0A=0A<p class=3D"MsoNormal" style=3D""><= font size=3D"1" face=3D"Courier New"><span style=3D"font-size: 8pt; font-fa= mily: &quot;Courier New&quot;;">Timing[42] (6)ms</span></font></p> =0A=0A<p= class=3D"MsoNormal" style=3D""><font size=3D"1" face=3D"Courier New"><span= style=3D"font-size: 8pt; font-family: &quot;Courier New&quot;;">Timing[43]= (6)ms</span></font></p> =0A=0A<p class=3D"MsoNormal" style=3D""><font size= =3D"1" face=3D"Courier New"><span style=3D"font-size: 8pt; font-family: &qu= ot;Courier New&quot;;">Timing[44] (14829)ms</span></font></p> =0A=0A<p clas= s=3D"MsoNormal" style=3D""><font size=3D"1" face=3D"Courier New"><span styl= e=3D"font-size: 8pt; font-family: &quot;Courier New&quot;;">Timing[45] (148= 29)ms</span></font></p> =0A=0A<p class=3D"MsoNormal" style=3D""><font size= =3D"1" face=3D"Courier New"><span style=3D"font-size: 8pt; font-family: &qu= ot;Courier New&quot;;">Timing[46] (6)ms</span></font></p> =0A=0A<p class=3D= "MsoNormal" style=3D""><font size=3D"1" face=3D"Courier New"><span style=3D= "font-size: 8pt; font-family: &quot;Courier New&quot;;">Timing[47] (6)ms</s= pan></font></p> =0A=0A<p class=3D"MsoNormal" style=3D""><font size=3D"1" fa= ce=3D"Courier New"><span style=3D"font-size: 8pt; font-family: &quot;Courie= r New&quot;;">Timing[48] (6)ms</span></font></p> =0A=0A<p class=3D"MsoNorma= l" style=3D""><font size=3D"1" face=3D"Courier New"><span style=3D"font-siz= e: 8pt; font-family: &quot;Courier New&quot;;">Timing[49] (6)ms</span></fon= t></p> =0A=0A<p class=3D"MsoNormal" style=3D""><font size=3D"1" face=3D"Cou= rier New"><span style=3D"font-size: 8pt; font-family: &quot;Courier New&quo= t;;">Timing[50] (41554)ms</span></font></p> =0A=0A<p class=3D"MsoNormal" st= yle=3D""><font size=3D"1" face=3D"Courier New"><span style=3D"font-size: 8p= t; font-family: &quot;Courier New&quot;;">Timing[51] (8)ms</span></font></p= > =0A=0A<p class=3D"MsoNormal" style=3D""><font size=3D"1" face=3D"Courier = New"><span style=3D"font-size: 8pt; font-family: &quot;Courier New&quot;;">= Timing[52] (3)ms</span></font></p> =0A=0A<p class=3D"MsoNormal" style=3D"">= <font size=3D"1" face=3D"Courier New"><span style=3D"font-size: 8pt; font-f= amily: &quot;Courier New&quot;;">Timing[53] (3)ms</span></font></p> =0A=0A<= p class=3D"MsoNormal" style=3D""><font size=3D"1" face=3D"Courier New"><spa= n style=3D"font-size: 8pt; font-family: &quot;Courier New&quot;;">Timing[54= ] (3)ms</span></font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"1" fac= e=3D"Courier New"><span style=3D"font-size: 8pt; font-family: &quot;Courier= New&quot;;">Timing[55] (3)ms</span></font><font size=3D"2" color=3D"navy" = face=3D"Arial"><span style=3D"font-size: 10pt; font-family: Arial; color: n= avy;"></span></font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" colo= r=3D"navy" face=3D"Arial"><span style=3D"font-size: 10pt; font-family: Aria= l; color: navy;"> &nbsp;</span></font></p> =0A=0A<div>=0A=0A<div class=3D"M= soNormal" style=3D"text-align: center;" align=3D"center"><font size=3D"3" f= ace=3D"Times New Roman"><span style=3D"font-size: 12pt;" lang=3D"EN-US">=0A= =0A<hr tabindex=3D"-1" size=3D"2" width=3D"100%" align=3D"center">=0A=0A</s= pan></font></div>=0A=0A<p class=3D"MsoNormal"><b><font size=3D"2" face=3D"T= ahoma"><span style=3D"font-size: 10pt; font-family: Tahoma; font-weight: bo= ld;" lang=3D"EN-US">From:</span></font></b><font size=3D"2" face=3D"Tahoma"= ><span style=3D"font-size: 10pt; font-family: Tahoma;" lang=3D"EN-US">=0A H= adley Willan =0A[mailto:[email protected]] <br>=0A<b><span style=3D"f= ont-weight: bold;">Sent:</span></b> Monday, 17 November 2008=0A09:48<br>=0A= <b><span style=3D"font-weight: bold;">To:</span></b> Log4NET=0A User<br>=0A= <b><span style=3D"font-weight: bold;">Subject:</span></b> RE: AdoNetAppende= r=0Aconnection timeouts</span></font><span lang=3D"EN-US"></span></p> =0A= =0A</div>=0A=0A<p class=3D"MsoNormal"><font size=3D"3" face=3D"Times New Ro= man"><span style=3D"font-size: 12pt;"> &nbsp;</span></font></p> =0A=0A<p cl= ass=3D"MsoNormal"><font size=3D"2" color=3D"navy" face=3D"Arial"><span styl= e=3D"font-size: 10pt; font-family: Arial; color: navy;">Actually,</span></f= ont></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" color=3D"navy" face= =3D"Arial"><span style=3D"font-size: 10pt; font-family: Arial; color: navy;= "> &nbsp;</span></font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" c= olor=3D"navy" face=3D"Arial"><span style=3D"font-size: 10pt; font-family: A= rial; color: navy;">I was just thinking about TCP timeouts and=0Alockups to= the caller.</span></font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2= " color=3D"navy" face=3D"Arial"><span style=3D"font-size: 10pt; font-family= : Arial; color: navy;">Is the log4net logging done in a separate=0Athread t= o the caller? </span></font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D= "2" color=3D"navy" face=3D"Arial"><span style=3D"font-size: 10pt; font-fami= ly: Arial; color: navy;"> &nbsp;</span></font></p> =0A=0A<p class=3D"MsoNor= mal"><font size=3D"2" color=3D"navy" face=3D"Arial"><span style=3D"font-siz= e: 10pt; font-family: Arial; color: navy;">If the connection to the DB goes= away,=0Ait=92s good that it=92ll reconnect, but during that connection tim= e,=0Ahow does log4net handle the timeout?</span></font></p> =0A=0A<p class= =3D"MsoNormal"><font size=3D"2" color=3D"navy" face=3D"Arial"><span style= =3D"font-size: 10pt; font-family: Arial; color: navy;"> &nbsp;</span></font= ></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" color=3D"navy" face=3D"= Arial"><span style=3D"font-size: 10pt; font-family: Arial; color: navy;">Th= anks</span></font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" color= =3D"navy" face=3D"Arial"><span style=3D"font-size: 10pt; font-family: Arial= ; color: navy;">Hadley</span></font></p> =0A=0A<p class=3D"MsoNormal"><font= size=3D"2" color=3D"navy" face=3D"Arial"><span style=3D"font-size: 10pt; f= ont-family: Arial; color: navy;"> &nbsp;</span></font></p> =0A=0A<div>=0A= =0A<div class=3D"MsoNormal" style=3D"text-align: center;" align=3D"center">= <font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: 12pt;" = lang=3D"EN-US">=0A=0A<hr tabindex=3D"-1" size=3D"2" width=3D"100%" align=3D= "center">=0A=0A</span></font></div>=0A=0A<p class=3D"MsoNormal"><b><font si= ze=3D"2" face=3D"Tahoma"><span style=3D"font-size: 10pt; font-family: Tahom= a; font-weight: bold;" lang=3D"EN-US">From:</span></font></b><font size=3D"= 2" face=3D"Tahoma"><span style=3D"font-size: 10pt; font-family: Tahoma;" la= ng=3D"EN-US">=0ARon Grabowski [mailto:[email protected]] <br>=0A<b><sp= an style=3D"font-weight: bold;">Sent:</span></b> Monday, 17 November 2008= =0A00:55<br>=0A<b><span style=3D"font-weight: bold;">To:</span></b> Log4NET= =0A User<br>=0A<b><span style=3D"font-weight: bold;">Subject:</span></b> Re= : AdoNetAppender=0Aconnection timeouts</span></font><span lang=3D"EN-US"></= span></p> =0A=0A</div>=0A=0A<p class=3D"MsoNormal"><font size=3D"3" face=3D= "Times New Roman"><span style=3D"font-size: 12pt;"> &nbsp;</span></font></p= > =0A=0A<div>=0A=0A<div>=0A=0A<p class=3D"MsoNormal"><font size=3D"3" face= =3D"Times New Roman"><span style=3D"font-size: 12pt;">The AdoNetAppender ke= eps a reference to an open connection. At some=0Apoint it ensures the conne= ction is open:<br>=0A<br>=0A// shortened somewhat...the actual code is long= er<br>=0Aif (m_reconnectOnError &amp;&amp; m_dbConnection.State !=3D Connec= tionState.Open)<br>=0A{<br>=0A&nbsp;LogLog.Debug("Attempting to reconnect t= o database...");<br>=0A&nbsp;InitializeDatabaseConnection();<br>=0A&nbsp;In= itializeDatabaseCommand();<br>=0A}<br>=0A<br>=0AThe AdoNetAppender is not a= sync by default. If you're on SqlServer I'd=0Arecommend taking a look at an= appender that Ayende wrote:<br>=0A<br>=0Ahttps://rhino-tools.svn.sourcefor= ge.net/svnroot/rhino-tools/trunk/rhino-commons/Rhino.Commons/Logging/AsyncB= ulkInsertAppender.cs<br>=0A<br>=0Awhichs usess the SqlBulkCopy (very fast!)= and background threads to write log=0Amessages to the database. </span></f= ont></p> =0A=0A</div>=0A=0A<div>=0A=0A<p class=3D"MsoNormal"><font size=3D"= 3" face=3D"Times New Roman"><span style=3D"font-size: 12pt;"> &nbsp;</span>= </font></p> =0A=0A<div>=0A=0A<div class=3D"MsoNormal" style=3D"text-align: = center;" align=3D"center"><font size=3D"2" face=3D"Tahoma"><span style=3D"f= ont-size: 10pt; font-family: Tahoma;">=0A=0A<hr size=3D"1" width=3D"100%" a= lign=3D"center">=0A=0A</span></font></div>=0A=0A<p class=3D"MsoNormal" styl= e=3D"margin-bottom: 12pt;"><b><font size=3D"2" face=3D"Tahoma"><span style= =3D"font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span><= /font></b><font size=3D"2" face=3D"Tahoma"><span style=3D"font-size: 10pt; = font-family: Tahoma;">=0A Hadley Willan &lt;[email protected]&gt;<br>= =0A<b><span style=3D"font-weight: bold;">To:</span></b> log4net-user@loggin= g.apache.org<br>=0A<b><span style=3D"font-weight: bold;">Sent:</span></b> F= riday, November 14, 2008=0A1:56:40 AM<br>=0A<b><span style=3D"font-weight: = bold;">Subject:</span></b> AdoNetAppender connection=0Atimeouts</span></fon= t></p> =0A=0A<div>=0A=0A<p class=3D"MsoNormal"><font size=3D"2" face=3D"Ari= al"><span style=3D"font-size: 10pt; font-family: Arial;">Hi peoples,</span>= </font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><s= pan style=3D"font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>= =0A=0A<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style= =3D"font-size: 10pt; font-family: Arial;">How does the ADO.Net appender han= dle intermittent=0Aconnections?</span></font></p> =0A=0A<p class=3D"MsoNorm= al"><font size=3D"2" face=3D"Arial"><span style=3D"font-size: 10pt; font-fa= mily: Arial;">&nbsp;</span></font></p> =0A=0A<p class=3D"MsoNormal"><font s= ize=3D"2" face=3D"Arial"><span style=3D"font-size: 10pt; font-family: Arial= ;">I=92m assuming that it=92s holding a connection open=0Aand appending?</s= pan></font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial= "><span style=3D"font-size: 10pt; font-family: Arial;">I have &lt;bufferSiz= e value=3D=940=94&gt; set to ensure=0Aan immediate call to a stored proc fo= r logging.</span></font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" = face=3D"Arial"><span style=3D"font-size: 10pt; font-family: Arial;">&nbsp;<= /span></font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" face=3D"Ari= al"><span style=3D"font-size: 10pt; font-family: Arial;">So basically, do I= need to worry about whether or not my=0Aconnection to the other end exists= ?</span></font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" face=3D"A= rial"><span style=3D"font-size: 10pt; font-family: Arial;">Could the lack o= f a network connection translate to a pause=0Ain the app when the log state= ment gets written? </span></font></p> =0A=0A<p class=3D"MsoNormal"><font si= ze=3D"2" face=3D"Arial"><span style=3D"font-size: 10pt; font-family: Arial;= ">Or is all logging an asynchronous thread that doesn=92t=0Aaffect the call= er?</span></font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" face=3D= "Arial"><span style=3D"font-size: 10pt; font-family: Arial;">&nbsp;</span><= /font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><sp= an style=3D"font-size: 10pt; font-family: Arial;">Thanks in advance.</span>= </font></p> =0A=0A<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><s= pan style=3D"font-size: 10pt; font-family: Arial;">Hadley</span></font></p>= =0A=0A<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style= =3D"font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p> =0A=0A<p= class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-si= ze: 10pt; font-family: Arial;">&nbsp;</span></font></p> =0A=0A<p class=3D"M= soNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-size: 10pt; f= ont-family: Arial;">&nbsp;</span></font></p> =0A=0A<p class=3D"MsoNormal"><= font size=3D"2" face=3D"Arial"><span style=3D"font-size: 10pt; font-family:= Arial;">&nbsp;</span></font></p> =0A=0A<p class=3D"MsoNormal"><font size= =3D"2" face=3D"Arial"><span style=3D"font-size: 10pt; font-family: Arial;">= &nbsp;</span></font></p> =0A=0A</div>=0A=0A<p class=3D"MsoNormal"><font siz= e=3D"3" face=3D"Times New Roman"><span style=3D"font-size: 12pt;"><br>=0A**= **********************************************************************<br>= =0ABunnings Legal Disclaimer:<br>=0A<br>=0A1) This email is confidential an= d may contain legally privileged<br>=0Ainformation. If you are not the inte= nded recipient, you must not<br>=0Adisclose or use the information containe= d in it. If you have received<br>=0Athis email in error, please notify us i= mmediately by return email and<br>=0Adelete the document.<br>=0A<br>=0A2) A= ll emails sent to and sent from Bunnings Group Limited.<br>=0Aare scanned f= or content. Any material deemed to contain inappropriate<br>=0Asubject matt= er will be reported to the email administrator of all<br>=0Aparties concern= ed.<br>=0A*****************************************************************= *******</span></font></p> =0A=0A</div>=0A=0A</div>=0A=0A</div>=0A=0A<p clas= s=3D"MsoNormal"><font size=3D"3" face=3D"Times New Roman"><span style=3D"fo= nt-size: 12pt;"><br>=0A****************************************************= ********************<br>=0ABunnings Legal Disclaimer:<br>=0A<br>=0A1) This = email is confidential and may contain legally privileged<br>=0Ainformation.= If you are not the intended recipient, you must not<br>=0Adisclose or use = the information contained in it. If you have received<br>=0Athis email in e= rror, please notify us immediately by return email and<br>=0Adelete the doc= ument.<br>=0A<br>=0A2) All emails sent to and sent from Bunnings Group Limi= ted.<br>=0Aare scanned for content. Any material deemed to contain inapprop= riate<br>=0Asubject matter will be reported to the email administrator of a= ll<br>=0Aparties concerned.<br>=0A*****************************************= *******************************</span></font></p> =0A=0A<p class=3D"MsoNorm= al"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: 12p= t;"><br>=0A****************************************************************= ********<br>=0ABunnings Legal Disclaimer:<br>=0A<br>=0A1) This email is con= fidential and may contain legally privileged<br>=0Ainformation. If you are = not the intended recipient, you must not<br>=0Adisclose or use the informat= ion contained in it. If you have received<br>=0Athis email in error, please= notify us immediately by return email and<br>=0Adelete the document.<br>= =0A<br>=0A2) All emails sent to and sent from Bunnings Group Limited.<br>= =0Aare scanned for content. Any material deemed to contain inappropriate<br= >=0Asubject matter will be reported to the email administrator of all<br>= =0Aparties concerned.<br>=0A***********************************************= *************************</span></font></p> =0A=0A</div>=0A=0A=0A<br>=0A***= *********************************************************************<br>= =0ABunnings Legal Disclaimer:<br>=0A<br>=0A1) This email is confidentia= l and may contain legally privileged<br>=0Ainformation. If you are not the= intended recipient, you must not<br>=0Adisclose or use the information con= tained in it. If you have received<br>=0Athis email in error, please notif= y us immediately by return email and<br>=0Adelete the document.<br>=0A<br>= =0A2) All emails sent to and sent from Bunnings Group Limited.<br>=0Aar= e scanned for content. Any material deemed to contain inappropriate<br>=0A= subject matter will be reported to the email administrator of all<br>=0Apar= ties concerned.<br>=0A*****************************************************= *******************<br>=0A</div></div></div></body></html> --0-621503786-1227152794=:75061-- From [email protected] Thu Nov 20 14:57:53 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55849 invoked from network); 20 Nov 2008 14:57:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Nov 2008 14:57:52 -0000 Received: (qmail 65281 invoked by uid 500); 20 Nov 2008 14:57:46 -0000 Delivered-To: [email protected] Received: (qmail 65142 invoked by uid 500); 20 Nov 2008 14:57:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 65104 invoked by uid 99); 20 Nov 2008 14:57:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Nov 2008 06:57:46 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO world2.sdm.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Nov 2008 14:56:22 +0000 Received: from mucns1 ([161.129.204.104] helo=mucns1.sdm.de) by world2.sdm.de with esmtp (MTA) id 1L3Axt-0002op-WC for [email protected]; Thu, 20 Nov 2008 15:57:06 +0100 Received: from sdmmail1.sdm.de ([161.129.204.104]) by mucns1.sdm.de with esmtp (MTA) id 1L3Axt-0001PI-Nr for [email protected]; Thu, 20 Nov 2008 15:57:05 +0100 Received: from mucmail4.sdm.de ([161.129.204.104]) by sdmmail1.sdm.de with Microsoft SMTPSVC(856)577-9584); Thu, 20 Nov 2008 15:57:05 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C94B20.40A8FB65" Subject: How to add extra information to log entries transparently? Date: Thu, 20 Nov 2008 15:56:37 +0100 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to add extra information to log entries transparently? Thread-Index: AclLIC/2gxj3dha8RkmY2Su1WJQJng== From: <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 20 Nov 2008 14:57:05.0627 (UTC) FILETIME=[40E0A2B0:01C94B20] X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C94B20.40A8FB65 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello everybody, =20 I have an application with a vast number of existing log statements. Now = we have the new requirement to prefix each log entry depending on some = user input (i.e. no static text).=20 =20 An example: In the application, there is a statement log.debug('foo') and we expect a log entry like abcdef: foo where abcdef is a hash we generate on the fly. =20 Unfortunately I did not use a wrapper class, and obviously I don't want = to modify all log statements. Is there a way to add a custom Filter or Layout to Log4Net in order to = achieve this task? How can this be done? I also thought about using an object renderer, but seemingly for strings = the renderers are bypassed, making them unusable for the [email protected]. =20 Thanks for any hints! =20 Best regards, Max =20 ------_=_NextPart_001_01C94B20.40A8FB65 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.6000.16735" name=3DGENERATOR></HEAD> <BODY> <DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D937044614-20112008>Hello=20 everybody,</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D937044614-20112008></SPAN></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial><FONT size=3D2><SPAN = class=3D937044614-20112008>I have an=20 application with a vast number of existing log statements. Now we have = the new=20 requirement to prefix each log entry depending on some user input (i.e. = no=20 static text). </SPAN></FONT></FONT></DIV> <DIV><FONT face=3DArial><FONT size=3D2><SPAN=20 class=3D937044614-20112008></SPAN></FONT></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial><FONT size=3D2><SPAN = class=3D937044614-20112008></SPAN><SPAN=20 class=3D937044614-20112008>An example: In the application, there is a=20 statement</SPAN></FONT></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN = class=3D937044614-20112008>&nbsp;&nbsp;&nbsp;=20 log.debug('foo')</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D937044614-20112008>and we = expect a=20 log&nbsp;entry like</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN = class=3D937044614-20112008>&nbsp;&nbsp;&nbsp;=20 abcdef: foo</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D937044614-20112008>where = abcdef is a=20 hash we generate on the fly.</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D937044614-20112008></SPAN></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D937044614-20112008><SPAN=20 class=3D484525314-20112008>Unfortunately&nbsp;I did not use a wrapper = class, and=20 obviously I don't want to modify all log = statements.</SPAN></SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D937044614-20112008>Is = there a way to=20 add a custom Filter or Layout to Log4Net in order to achieve this task? = How can=20 this be done?</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D937044614-20112008>I also = thought about=20 using an object renderer, but seemingly for strings the renderers are = bypassed,=20 making them unusable for the [email protected].</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D937044614-20112008></SPAN></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D937044614-20112008>Thanks = for any=20 hints!</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D937044614-20112008></SPAN></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D937044614-20112008>Best=20 regards,</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN = class=3D937044614-20112008>&nbsp;&nbsp;&nbsp;=20 Max</SPAN></FONT></DIV> <DIV><SPAN = class=3D937044614-20112008></SPAN>&nbsp;</DIV></DIV></BODY></HTML> ------_=_NextPart_001_01C94B20.40A8FB65-- From [email protected] Fri Nov 21 02:05:14 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69502 invoked from network); 21 Nov 2008 02:05:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Nov 2008 02:05:14 -0000 Received: (qmail 40415 invoked by uid 500); 21 Nov 2008 02:05:21 -0000 Delivered-To: [email protected] Received: (qmail 40392 invoked by uid 500); 21 Nov 2008 02:05:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 40380 invoked by uid 99); 21 Nov 2008 02:05:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Nov 2008 18:05:21 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail137.messagelabs.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Nov 2008 02:03:58 +0000 X-VirusChecked: Checked X-Env-Sender: [email protected] X-Msg-Ref: server-2.tower-137.messagelabs.com!1227233077!40804925!1 X-StarScan-Version: 161.129.204.104.2; banners=bunnings.com.au,-,- X-Originating-IP: [161.129.204.104] Received: (qmail 29195 invoked from network); 21 Nov 2008 02:04:40 -0000 Received: from unknown (HELO mail.bunnings.com.au) (161.129.204.104) by server-2.tower-137.messagelabs.com with RC4-SHA encrypted SMTP; 21 Nov 2008 02:04:40 -0000 Received: from leopard-fe.internal.bunnings.com.au (161.129.204.104) by puffadder.bunnings.com.au (161.129.204.104) with Microsoft SMTP Server id 8.0.744.0; Fri, 21 Nov 2008 11:04:23 +0900 Received: from WA-MAIL.internal.bunnings.com.au ([161.129.204.104]) by leopard-fe.internal.bunnings.com.au with Microsoft SMTPSVC(856)577-9584); Fri, 21 Nov 2008 11:04:36 +0900 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C94B7D.80DFECDF" Subject: RollingFileAppender date pattern Date: Fri, 21 Nov 2008 11:04:36 +0900 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: RollingFileAppender date pattern Thread-Index: AclLfYDDWRQoWl01QL2oWK7cH1oj0g== From: Hadley Willan <[email protected]> To: Log4NET User <[email protected]> X-OriginalArrivalTime: 21 Nov 2008 02:04:36.0139 (UTC) FILETIME=[80D7C7B0:01C94B7D] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C94B7D.80DFECDF Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi=20all, =20 I'm=20fine=20tuning=20the=20logging=20but=20it's=20not=20quite=20right... What=20I=20want=20is=20for=20the=20file=20to=20roll=20at=20midnight=20to=20= a=20new=20date=20pattern file=20and=20roll=20within=20the=20same=20day=20if=20it=20reaches=2050MB. =20 Eg.=20=20 Start=20up=20application,=2021-NOV-2008,=20=20=20file=20gets=20created myComp.Job=20Scheduler=20Service.20081121.log.txt =20 ideally,=20service=20continues=20to=20run,=20midnight=20rolls=20around=20a= nd=20there's=20a new=20file=20created=20for=20the=2022nd=20and=20entries=20go=20to=20that. myComp.Job=20Scheduler=20Service.20081122.log.txt =20 Problem=20is=20I'm=20not=20getting=20that...=20I'm=20getting=20a=20roll=20= of=20the=20current file=20suffixed=20with=20the=20starting=20date?=20And=20logging=20continue= s=20to=20the=20same "21st"=20file=20pattern myComp.Job=20Scheduler=20Service.20081121.log.txt=20<--=20latest=20entries= =20in=20here myComp.Job=20Scheduler=20Service.20081121.log.txt20081121=20<--=20rolled=20= file=20at midnight. =20 I've=20tried=20setting=20the=20rollingStyle=20to=20Date=20or=20Composite,=20= but=20that hasn't=20worked=20either. =20 This=20is=20possible?? Below=20is=20the=20config=20options.=20I'd=20appreciate=20any=20help. =20 Also,=20I=20may=20have=20misinterpreted=20the=20maxSizeRollBackups...=20=20= I've=20assumed that=20would=20keep=2010=20days=20worth=20of=20log=20files=20and=20then=20= start=20deleting=20older log=20files=20for=20me,=20but=20I'm=20beginning=20to=20think=20that=20only= =20applies=20to=20the rolls=20with=20a=20day? So=20I'll=20have=20to=20clean=20up=20any=20log=20files=20OLDER=20than=2010= =20days? =20 Thanks=20in=20advance. Hadley =20 =20 =20=20<!--=20local=20messages--> =20=20<appender=20name=3D"LocalRollingFileAppender" type=3D"log4net.Appender.RollingFileAppender"> =20=20=20=20<file=20type=3D"log4net.Util.PatternString" =20=20=20=20=20=20=20=20=20=20value=3D"${ALLUSERSPROFILE}\Application=20Da= ta\Job Scheduler\%env{COMPUTERNAME}.Job=20Scheduler Service.%date{yyyyMMdd}.log.txt"=20/> =20=20=20=20<!--=20if=20an=20existing=20file=20is=20there,=20continue=20an= d=20append=20to=20it=20--> =20=20=20=20<appendToFile=20value=3D"true"=20/> =20=20=20=20<rollingStyle=20value=3D"Composite"=20/> =20=20=20=20<!--=20roll=20on=20a=20full=20date=20change,=20use=20yyyyMMdd-= HH=20for=20hourly=20--> =20=20=20=20<datePattern=20value=3D"yyyyMMdd"=20/> =20=20=20=20<!--=20keeps=20up=20to=2010=20of=20these=20files,=20for=20an=20= entire=20DAY,=20IGNORE=20The size=20=20--> =20=20=20=20<maxSizeRollBackups=20value=3D"10"=20/> =20=20=20=20<!--=20within=20a=20day,=20if=20the=20file=20size=20reaches=20= 50MB,=20roll=20it=20too=20--> =20=20=20=20<!--=20because=20it's=20text,=20Log=20file=20service=20will=20= zip=20this=20down=20to around=205MB=20=20--> =20=20=20=20<!--=205MB=20for=20mailing=20a=20log=20file=20is=20a=20safe=20= size,=20most=20servers=20won't bounce=20that=20--> =20=20=20=20<maximumFileSize=20value=3D"50MB"=20/> =20=20=20=20<!--=20layout,=20including=20our=20custom=20property,=20custom= AssemblyName--> =20=20=20=20<layout=20type=3D"log4net.Layout.PatternLayout"> =20=20=20=20=20=20<conversionPattern=20value=3D"%-5level=20%date=20%-50%ty= pe=20%-40%method %message%newline"=20/> =20=20=20=20</layout> =20=20</appender> ************************************************************************ Bunnings=20Legal=20Disclaimer: 1)=20=20=20=20=20This=20email=20is=20confidential=20and=20may=20contain=20= legally=20privileged information.=20=20If=20you=20are=20not=20the=20intended=20recipient,=20you= =20must=20not disclose=20or=20use=20the=20information=20contained=20in=20it.=20=20If=20y= ou=20have=20received this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and delete=20the=20document. 2)=20=20=20=20=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20= Group=20Limited. are=20scanned=20for=20content.=20=20Any=20material=20deemed=20to=20contain= =20inappropriate subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all parties=20concerned. ************************************************************************ ------_=_NextPart_001_01C94B7D.80DFECDF Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html=20xmlns:o=3D"urn:schemas-microsoft-com:office:office"=20xmlns:w=3D"u= rn:schemas-microsoft-com:office:word"=20xmlns=3D"http://www.w3.org/TR/REC-= html40"> <head> <META=20HTTP-EQUIV=3D"Content-Type"=20CONTENT=3D"text/html;=20charset=3Dus= -ascii"> <meta=20name=3DGenerator=20content=3D"Microsoft=20Word=2011=20(filtered=20= medium)"> <style> <!-- =20/*=20Font=20Definitions=20*/ =20@font-face =09{font-family:Wingdings; =09panose-1:5=200=200=200=200=200=200=200=200=200;} =20/*=20Style=20Definitions=20*/ =20p.MsoNormal,=20li.MsoNormal,=20div.MsoNormal =09{margin:0cm; =09margin-bottom:.0001pt; =09font-size:12.0pt; =09font-family:"Times=20New=20Roman";} a:link,=20span.MsoHyperlink =09{color:blue; =09text-decoration:underline;} a:visited,=20span.MsoHyperlinkFollowed =09{color:purple; =09text-decoration:underline;} span.EmailStyle17 =09{mso-style-type:personal-compose; =09font-family:Arial; =09color:windowtext;} @page=20Section1 =09{size:595.3pt=20841.9pt; =09margin:72.0pt=2090.0pt=2072.0pt=2090.0pt;} div.Section1 =09{page:Section1;} --> </style> </head> <body=20lang=3DEN-AU=20link=3Dblue=20vlink=3Dpurple> <div=20class=3DSection1> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Hi=20all,<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>I&#8217;m=20fine=20tuning=20the=20logging=20but=20it&#8= 217;s=20not=20quite right&#8230;<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>What=20I=20want=20is=20for=20the=20file=20to=20roll=20a= t=20midnight=20to=20a=20new date=20pattern=20file=20and=20roll=20within=20the=20same=20day=20if=20it=20= reaches=2050MB.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Eg.&nbsp;=20<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Start=20up=20application,=2021-NOV-2008,&nbsp;&nbsp;=20= file=20gets=20created<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3D"Courier=20New"><span=20s= tyle=3D'font-size:10.0pt; font-family:"Courier=20New"'>myComp.Job=20Scheduler=20Service.20081121.log= .txt<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>ideally,=20service=20continues=20to=20run,=20midnight=20= rolls=20around=20and there&#8217;s=20a=20new=20file=20created=20for=20the=2022<sup>nd</sup>=20a= nd=20entries=20go=20to that.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3D"Courier=20New"><span=20s= tyle=3D'font-size:10.0pt; font-family:"Courier=20New"'>myComp.Job=20Scheduler=20Service.20081122.log= .txt<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Problem=20is=20I&#8217;m=20not=20getting=20that&#8230;=20= I&#8217;m getting=20a=20roll=20of=20the=20current=20file=20suffixed=20with=20the=20s= tarting=20date?=20And=20logging continues=20to=20the=20same=20&#8220;21<sup>st</sup>&#8221;=20file=20patte= rn<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3D"Courier=20New"><span=20s= tyle=3D'font-size:10.0pt; font-family:"Courier=20New"'>myComp.Job=20Scheduler=20Service.20081121.log= .txt=20</span></font><font size=3D2=20face=3DWingdings><span=20style=3D'font-size:10.0pt;font-family:= Wingdings'>&szlig;</span></font><font size=3D2=20face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-f= amily:"Courier=20New"'> latest=20entries=20in=20here<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3D"Courier=20New"><span=20s= tyle=3D'font-size:10.0pt; font-family:"Courier=20New"'>myComp.Job=20Scheduler=20Service.20081121.log= .txt20081121 </span></font><font=20size=3D2=20face=3DWingdings><span=20style=3D'font-si= ze:10.0pt; font-family:Wingdings'>&szlig;</span></font><font=20size=3D2=20face=3D"Cou= rier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New"'>=20rolled=20file=20= at=20midnight.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>I&#8217;ve=20tried=20setting=20the=20rollingStyle=20to=20= <b><span style=3D'font-weight:bold'>Date</span></b>=20or=20<b><span=20style=3D'font= -weight:bold'>Composite</span></b>, but=20that=20hasn&#8217;t=20worked=20either.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>This=20is=20possible??<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Below=20is=20the=20config=20options.=20I&#8217;d=20appr= eciate=20any=20help.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Also,=20I=20may=20have=20misinterpreted=20the=20maxSize= RollBackups&#8230;&nbsp; I&#8217;ve=20assumed=20that=20would=20keep=2010=20days=20worth=20of=20log=20= files=20and=20then=20start deleting=20older=20log=20files=20for=20me,=20but=20I&#8217;m=20beginning=20= to=20think=20that=20only applies=20to=20the=20rolls=20with=20a=20day?<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>So=20I&#8217;ll=20have=20to=20clean=20up=20any=20log=20= files=20OLDER=20than=2010 days?<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Thanks=20in=20advance.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Hadley<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;=20&lt;!--</span></font><font=20size=3D2=20color=3Dgreen= =20face=3D"Courier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:green'>=20loca= l=20messages</span></font><font size=3D2=20color=3Dblue=20face=3D"Courier=20New"><span=20style=3D'font-siz= e:10.0pt;font-family: "Courier=20New";color:blue'>--&gt;<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;=20&lt;</span></font><font=20size=3D2=20color=3D"#a31515= "=20face=3D"Courier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:#A31515'>appen= der</span></font><font size=3D2=20color=3Dblue=20face=3D"Courier=20New"><span=20style=3D'font-siz= e:10.0pt;font-family: "Courier=20New";color:blue'>=20</span></font><font=20size=3D2=20color=3Dre= d face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:red'>name</span></font><font=20size=3D2=20color=3Dblue=20face=3D"Cou= rier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:blue'>=3D</spa= n></font><font size=3D2=20face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-f= amily:"Courier=20New"'>&quot;<font color=3Dblue><span=20style=3D'color:blue'>LocalRollingFileAppender</span><= /font>&quot;<font color=3Dblue><span=20style=3D'color:blue'>=20</span></font><font=20color=3D= red><span style=3D'color:red'>type</span></font><font=20color=3Dblue><span=20style=3D= 'color:blue'>=3D</span></font>&quot;<font color=3Dblue><span=20style=3D'color:blue'>log4net.Appender.RollingFileAppe= nder</span></font>&quot;<font color=3Dblue><span=20style=3D'color:blue'>&gt;<o:p></o:p></span></font></s= pan></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;</span></font><font=20size=3D2=20colo= r=3D"#a31515" face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:#A31515'>file</span></font><font=20size=3D2=20color=3Dblue=20face=3D= "Courier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:blue'>=20</spa= n></font><font size=3D2=20color=3Dred=20face=3D"Courier=20New"><span=20style=3D'font-size= :10.0pt;font-family: "Courier=20New";color:red'>type</span></font><font=20size=3D2=20color=3Dbl= ue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>=3D</span></font><font=20size=3D2=20face=3D"Courier=20New"><sp= an style=3D'font-size:10.0pt;font-family:"Courier=20New"'>&quot;<font=20color= =3Dblue><span style=3D'color:blue'>log4net.Util.PatternString</span></font>&quot;<o:p></= o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20</spa= n></font><font=20size=3D2=20color=3Dred=20face=3D"Courier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:red'>value</sp= an></font><font size=3D2=20color=3Dblue=20face=3D"Courier=20New"><span=20style=3D'font-siz= e:10.0pt;font-family: "Courier=20New";color:blue'>=3D</span></font><font=20size=3D2=20face=3D"Co= urier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New"'>&quot;<font=20color= =3Dblue><span style=3D'color:blue'>${ALLUSERSPROFILE}\Application=20Data\Job Scheduler\%env{COMPUTERNAME}.Job=20Scheduler=20Service.%date{yyyyMMdd}.log= .txt</span></font>&quot;<font color=3Dblue><span=20style=3D'color:blue'>=20/&gt;<o:p></o:p></span></font= ></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;!--</span></font><font=20size=3D2=20c= olor=3Dgreen=20face=3D"Courier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:green'>=20if=20= an=20existing file=20is=20there,=20continue=20and=20append=20to=20it=20</span></font><fo= nt=20size=3D2=20color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>--&gt;<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;</span></font><font=20size=3D2=20colo= r=3D"#a31515" face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:#A31515'>appendToFile</span></font><font=20size=3D2=20color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>=20</span></font><font=20size=3D2=20color=3Dred=20face=3D"Cour= ier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:red'>value</sp= an></font><font size=3D2=20color=3Dblue=20face=3D"Courier=20New"><span=20style=3D'font-siz= e:10.0pt;font-family: "Courier=20New";color:blue'>=3D</span></font><font=20size=3D2=20face=3D"Co= urier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New"'>&quot;<font=20color= =3Dblue><span style=3D'color:blue'>true</span></font>&quot;<font=20color=3Dblue><span style=3D'color:blue'>=20/&gt;<o:p></o:p></span></font></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;</span></font><font=20size=3D2=20colo= r=3D"#a31515" face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:#A31515'>rollingStyle</span></font><font=20size=3D2=20color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>=20</span></font><font=20size=3D2=20color=3Dred=20face=3D"Cour= ier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:red'>value</sp= an></font><font size=3D2=20color=3Dblue=20face=3D"Courier=20New"><span=20style=3D'font-siz= e:10.0pt;font-family: "Courier=20New";color:blue'>=3D</span></font><font=20size=3D2=20face=3D"Co= urier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New"'>&quot;<font=20color= =3Dblue><span style=3D'color:blue'>Composite</span></font>&quot;<font=20color=3Dblue><sp= an style=3D'color:blue'>=20/&gt;<o:p></o:p></span></font></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;!--</span></font><font=20size=3D2=20c= olor=3Dgreen=20face=3D"Courier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:green'>=20roll= =20on=20a=20full date=20change,=20use=20yyyyMMdd-HH=20for=20hourly=20</span></font><font=20= size=3D2=20color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>--&gt;<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;</span></font><font=20size=3D2=20colo= r=3D"#a31515" face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:#A31515'>datePattern</span></font><font=20size=3D2=20color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>=20</span></font><font=20size=3D2=20color=3Dred=20face=3D"Cour= ier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:red'>value</sp= an></font><font size=3D2=20color=3Dblue=20face=3D"Courier=20New"><span=20style=3D'font-siz= e:10.0pt;font-family: "Courier=20New";color:blue'>=3D</span></font><font=20size=3D2=20face=3D"Co= urier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New"'>&quot;<font=20color= =3Dblue><span style=3D'color:blue'>yyyyMMdd</span></font>&quot;<font=20color=3Dblue><spa= n style=3D'color:blue'>=20/&gt;<o:p></o:p></span></font></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;!--</span></font><font=20size=3D2=20c= olor=3Dgreen=20face=3D"Courier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:green'>=20keep= s=20up=20to=2010 of=20these=20files,=20for=20an=20entire=20DAY,=20IGNORE=20The=20size&nbsp;= =20</span></font><font=20size=3D2 color=3Dblue=20face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;fo= nt-family:"Courier=20New"; color:blue'>--&gt;<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;</span></font><font=20size=3D2=20colo= r=3D"#a31515" face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:#A31515'>maxSizeRollBackups</span></font><font=20size=3D2=20color=3D= blue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>=20</span></font><font=20size=3D2=20color=3Dred=20face=3D"Cour= ier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:red'>value</sp= an></font><font size=3D2=20color=3Dblue=20face=3D"Courier=20New"><span=20style=3D'font-siz= e:10.0pt;font-family: "Courier=20New";color:blue'>=3D</span></font><font=20size=3D2=20face=3D"Co= urier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New"'>&quot;<font=20color= =3Dblue><span style=3D'color:blue'>10</span></font>&quot;<font=20color=3Dblue><span style=3D'color:blue'>=20/&gt;<o:p></o:p></span></font></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;!--</span></font><font=20size=3D2=20c= olor=3Dgreen=20face=3D"Courier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:green'>=20with= in=20a=20day, if=20the=20file=20size=20reaches=2050MB,=20roll=20it=20too=20</span></font= ><font=20size=3D2 color=3Dblue=20face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;fo= nt-family:"Courier=20New"; color:blue'>--&gt;<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;!--</span></font><font=20size=3D2=20c= olor=3Dgreen=20face=3D"Courier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:green'>=20beca= use=20it's text,=20Log=20file=20service=20will=20zip=20this=20down=20to=20around=205M= B=20&nbsp;</span></font><font size=3D2=20color=3Dblue=20face=3D"Courier=20New"><span=20style=3D'font-siz= e:10.0pt;font-family: "Courier=20New";color:blue'>--&gt;<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;!--</span></font><font=20size=3D2=20c= olor=3Dgreen=20face=3D"Courier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:green'>=205MB=20= for=20mailing a=20log=20file=20is=20a=20safe=20size,=20most=20servers=20won't=20bounce=20= that=20</span></font><font size=3D2=20color=3Dblue=20face=3D"Courier=20New"><span=20style=3D'font-siz= e:10.0pt;font-family: "Courier=20New";color:blue'>--&gt;<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;</span></font><font=20size=3D2=20colo= r=3D"#a31515" face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:#A31515'>maximumFileSize</span></font><font=20size=3D2=20color=3Dblu= e face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>=20</span></font><font=20size=3D2=20color=3Dred=20face=3D"Cour= ier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:red'>value</sp= an></font><font size=3D2=20color=3Dblue=20face=3D"Courier=20New"><span=20style=3D'font-siz= e:10.0pt;font-family: "Courier=20New";color:blue'>=3D</span></font><font=20size=3D2=20face=3D"Co= urier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New"'>&quot;<font=20color= =3Dblue><span style=3D'color:blue'>50MB</span></font>&quot;<font=20color=3Dblue><span style=3D'color:blue'>=20/&gt;<o:p></o:p></span></font></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;!--</span></font><font=20size=3D2=20c= olor=3Dgreen=20face=3D"Courier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:green'>=20layo= ut, including=20our=20custom=20property,=20customAssemblyName</span></font><fo= nt=20size=3D2 color=3Dblue=20face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;fo= nt-family:"Courier=20New"; color:blue'>--&gt;<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;</span></font><font=20size=3D2=20colo= r=3D"#a31515" face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:#A31515'>layout</span></font><font=20size=3D2=20color=3Dblue=20face=3D= "Courier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:blue'>=20</spa= n></font><font size=3D2=20color=3Dred=20face=3D"Courier=20New"><span=20style=3D'font-size= :10.0pt;font-family: "Courier=20New";color:red'>type</span></font><font=20size=3D2=20color=3Dbl= ue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>=3D</span></font><font=20size=3D2=20face=3D"Courier=20New"><sp= an style=3D'font-size:10.0pt;font-family:"Courier=20New"'>&quot;<font=20color= =3Dblue><span style=3D'color:blue'>log4net.Layout.PatternLayout</span></font>&quot;<font= color=3Dblue><span=20style=3D'color:blue'>&gt;<o:p></o:p></span></font></s= pan></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20&lt;</span></font><font=20siz= e=3D2=20color=3D"#a31515" face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:#A31515'>conversionPattern</span></font><font=20size=3D2=20color=3Db= lue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>=20</span></font><font=20size=3D2=20color=3Dred=20face=3D"Cour= ier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:red'>value</sp= an></font><font size=3D2=20color=3Dblue=20face=3D"Courier=20New"><span=20style=3D'font-siz= e:10.0pt;font-family: "Courier=20New";color:blue'>=3D</span></font><font=20size=3D2=20face=3D"Co= urier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New"'>&quot;<font=20color= =3Dblue><span style=3D'color:blue'>%-5level=20%date=20%-50%type=20%-40%method=20%message= %newline</span></font>&quot;<font color=3Dblue><span=20style=3D'color:blue'>=20/&gt;<o:p></o:p></span></font= ></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;/</span></font><font=20size=3D2=20col= or=3D"#a31515" face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:#A31515'>layout</span></font><font=20size=3D2=20color=3Dblue=20face=3D= "Courier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:blue'>&gt;<o:p= ></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dblue=20face=3D"Courier=20= New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:blue'>&nbsp;=20= &lt;/</span></font><font size=3D2=20color=3D"#a31515"=20face=3D"Courier=20New"><span=20style=3D'fon= t-size:10.0pt; font-family:"Courier=20New";color:#A31515'>appender</span></font><font=20s= ize=3D2 color=3Dblue=20face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;fo= nt-family:"Courier=20New"; color:blue'>&gt;</span></font><font=20size=3D2=20face=3DArial><span=20styl= e=3D'font-size: 10.0pt;font-family:Arial'><o:p></o:p></span></font></p> </div> <BR> ************************************************************************<B= R> Bunnings=20Legal=20Disclaimer:<BR> <BR> 1)=20=20=20=20=20This=20email=20is=20confidential=20and=20may=20contain=20= legally=20privileged<BR> information.=20=20If=20you=20are=20not=20the=20intended=20recipient,=20you= =20must=20not<BR> disclose=20or=20use=20the=20information=20contained=20in=20it.=20=20If=20y= ou=20have=20received<BR> this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and<BR> delete=20the=20document.<BR> <BR> 2)=20=20=20=20=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20= Group=20Limited.<BR> are=20scanned=20for=20content.=20=20Any=20material=20deemed=20to=20contain= =20inappropriate<BR> subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all<BR> parties=20concerned.<BR> ************************************************************************<B= R> </body> </html> ------_=_NextPart_001_01C94B7D.80DFECDF-- From [email protected] Fri Nov 21 12:39:10 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38325 invoked from network); 21 Nov 2008 12:39:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Nov 2008 12:39:10 -0000 Received: (qmail 87541 invoked by uid 500); 21 Nov 2008 12:39:18 -0000 Delivered-To: [email protected] Received: (qmail 87475 invoked by uid 500); 21 Nov 2008 12:39:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 87464 invoked by uid 99); 21 Nov 2008 12:39:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Nov 2008 04:39:17 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=FUZZY_CREDIT,HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO SMTP1.calyon.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Nov 2008 12:37:52 +0000 Received: from amalthee.dcmc.creditlyonnais.fr ([161.129.204.104]) by SMTP1.calyon.com with ESMTP; 21 Nov 2008 13:38:45 +0100 Received: from galatee.cm.par.emea.cib ([161.129.204.104] [161.129.204.104]) by amalthee.dcmc.creditlyonnais.fr with ESMTP for [email protected]; Fri, 21 Nov 2008 14:00:37 +0100 Received: from mxmxpa01.MSX.CIB (mxmxpa01.MSX.CIB [161.129.204.104]) by galatee.cm.par.emea.cib with ESMTP for [email protected]; Fri, 21 Nov 2008 13:37:34 +0100 Received: from MXMXPA26.MSX.CIB ([161.129.204.104]) by mxmxpa01.MSX.CIB with Microsoft SMTPSVC(856)577-9584); Fri, 21 Nov 2008 13:37:34 +0100 Received: from MXCU02MX1.MSX.CIB ([161.129.204.104]) by MXMXPA26.MSX.CIB with Microsoft SMTPSVC(856)577-9584); Fri, 21 Nov 2008 13:37:34 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----------7NhE3WuB9OnU6N9D2A0R5Y7" X-MimeOLE: Produced By Microsoft Exchange V6.5 Subject: getting access to logfile programmatically Date: Fri, 21 Nov 2008 13:37:17 +0100 Message-Id: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: getting access to logfile programmatically Thread-Index: AclL1eOOu5J/mlpmQ4CeeGNrhDr/oQ== From: Graham Walsh <[email protected]> To: "Log4NET User" <[email protected]> X-OriginalArrivalTime: 21 Nov 2008 12:37:34.0236 (UTC) FILETIME=[ED8D7DC0:01C94BD5] X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------------7NhE3WuB9OnU6N9D2A0R5Y7 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C94BD5.EDA2AA5E" This is a multi-part message in MIME format. ------_=_NextPart_001_01C94BD5.EDA2AA5E Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, =20 I have a distributed application running here and from time to time (when there's an error) we need to retrieve the logfile from the server. I need to do this programmatically. Can anybody tell me whats the best way to achieve this? I have configured my server side loggers thus; private static ILog logger =3D LogManager.GetLogger(typeof(MyClass)); =20 and they work just fine. Now I need to just get my hands on the file or ideally the contents of the logile via the log4net interfaces. Can anybody tell me how I can achieve this. Thanks much and have a nice weekend =20 Graham ------_=_NextPart_001_01C94BD5.EDA2AA5E Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <META content=3D"MSHTML 6.00.2900.3354" name=3DGENERATOR></HEAD> <BODY> <DIV> <P><FONT face=3DArial size=3D2><SPAN = class=3D468093512-21112008>Hi,</SPAN></FONT></P> <P><FONT face=3DArial size=3D2><SPAN=20 class=3D468093512-21112008></SPAN></FONT>&nbsp;</P> <P><FONT face=3DArial size=3D2><SPAN class=3D468093512-21112008>I have a = distributed=20 application running here and from time to time (when there's an error) = we need=20 to retrieve the logfile from the server. I need to do this = programmatically. Can=20 anybody tell me whats the best way to achieve this? I have configured my = server=20 side loggers thus;</SPAN></FONT></P> <P><FONT size=3D2><FONT face=3DArial><FONT>private</FONT> static ILog = logger =3D=20 LogManager.GetLogger(typeof(<SPAN=20 class=3D468093512-21112008>MyClass</SPAN>));</FONT></FONT></P> <P><FONT face=3DArial size=3D2></FONT>&nbsp;</P> <P><SPAN class=3D468093512-21112008><FONT face=3DArial size=3D2>and they = work just=20 fine. Now I need to just get my hands on the file or ideally the = contents of the=20 logile via the log4net interfaces. Can anybody tell me how I can achieve = this.=20 Thanks much and have a nice weekend</FONT></SPAN></P> <P><SPAN class=3D468093512-21112008><FONT face=3DArial=20 size=3D2></FONT></SPAN>&nbsp;</P> <P><SPAN class=3D468093512-21112008><FONT face=3DArial=20 size=3D2>Graham</FONT></SPAN></P></DIV></BODY></HTML> ------_=_NextPart_001_01C94BD5.EDA2AA5E-- ------------7NhE3WuB9OnU6N9D2A0R5Y7 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Ce message et ses pi=E8ces jointes (le "message") est destin=E9 à l'usage exclusif de son destinataire. Si vous recevez ce message par erreur, merci d'en aviser imm=E9diatement l'exp=E9diteur et de le d=E9truire ensuite. Le pr=E9sent message pouvant =EAtre alt=E9r=E9 =E0 notre insu, CALYON Cr=E9dit Agricole CIB ne peut pas =EAtre engag=E9 par son contenu. Tous droits r=E9serv=E9s. This message and/or any attachments (the "message") is intended for the sole use of its addressee. If you are not the addressee, please immediately notify the sender and then destroy the message. As this message and/or any attachments may have been altered without our knowledge, its content is not legally binding on CALYON Cr=E9dit Agricole CIB. All rights reserved. ------------7NhE3WuB9OnU6N9D2A0R5Y7-- From [email protected] Mon Nov 24 06:29:42 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94512 invoked from network); 24 Nov 2008 06:29:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Nov 2008 06:29:42 -0000 Received: (qmail 54057 invoked by uid 500); 24 Nov 2008 06:29:51 -0000 Delivered-To: [email protected] Received: (qmail 54027 invoked by uid 500); 24 Nov 2008 06:29:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 54016 invoked by uid 99); 24 Nov 2008 06:29:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Nov 2008 22:29:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail190.messagelabs.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Nov 2008 06:28:22 +0000 X-VirusChecked: Checked X-Env-Sender: [email protected] X-Msg-Ref: server-15.tower-190.messagelabs.com!1227508019!63912797!1 X-StarScan-Version: 6.0.0; banners=bunnings.com.au,-,- X-Originating-IP: [161.129.204.104] Received: (qmail 5867 invoked from network); 24 Nov 2008 06:27:01 -0000 Received: from unknown (HELO mail.bunnings.com.au) (161.129.204.104) by server-15.tower-190.messagelabs.com with RC4-SHA encrypted SMTP; 24 Nov 2008 06:27:01 -0000 Received: from leopard-fe.internal.bunnings.com.au (161.129.204.104) by puffadder.bunnings.com.au (161.129.204.104) with Microsoft SMTP Server id 8.0.744.0; Mon, 24 Nov 2008 15:26:44 +0900 Received: from WA-MAIL.internal.bunnings.com.au ([161.129.204.104]) by leopard-fe.internal.bunnings.com.au with Microsoft SMTPSVC(856)577-9584); Mon, 24 Nov 2008 15:26:57 +0900 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C94DFD.A6AF251C" Subject: RE: RollingFileAppender date pattern Date: Mon, 24 Nov 2008 15:26:57 +0900 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: RollingFileAppender date pattern Thread-Index: AclLfYDDWRQoWl01QL2oWK7cH1oj0gCfnLEg From: Hadley Willan <[email protected]> To: Log4NET User <[email protected]> X-OriginalArrivalTime: 24 Nov 2008 06:26:57.0601 (UTC) FILETIME=[A6B98310:01C94DFD] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C94DFD.A6AF251C Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Okay, =20 I=20wrote=20a=20small=20test=20app=20so=20I=20could=20get=20this=20right.=20= =20Seems=20to=20have helped=20as=20I=20think=20I=20understand=20this=20better=20now. 1.=09Yes=20it=20is=20possible=20to=20have=20the=20appender=20roll=20the=20= filename=20on=20the date=20change 2.=09Yes=20it=20is=20possible=20to=20specify=20where=20the=20appender=20pl= aces=20the=20date pattern =20 If=20I=20use=20 =20=20=20=20<staticLogFileName=20value=3D"false"=20/> Then=20the=20file=20name=20is=20always=20generated=20on=20the=20date=20rol= l=20over. =20 If=20I=20use=20a=20better=20date=20format=20string=20with=20a=20literal=20= tacked=20on=20the=20end,=20I get=20the=20file=20names=20I'm=20after. =20=20=20=20<datePattern=20value=3D"yyyyMMdd'.log.txt'"=20/> =20 All=20you=20need=20to=20do=20is=20modify=20the=20original=20file=20value=20= to=20exclude=20the original=20%date=20I=20was=20using,=20as=20the=20appender=20adds=20this=20= for=20me. =20=20=20=20<file=20type=3D"log4net.Util.PatternString" =20=20=20=20=20=20=20=20=20=20value=3D"${ALLUSERSPROFILE}\Application=20Da= ta\Job Scheduler\%env{COMPUTERNAME}.Job=20Scheduler=20Service"=20/> =20 Then=20I=20get=20the=20filename=20pattern=20I'm=20after. myComp.Job=20Scheduler=20Service.20081121.log.txt myComp.Job=20Scheduler=20Service.20081122.log.txt myComp.Job=20Scheduler=20Service.20081123.log.txt =20 The=20only=20question=20that=20remains=20is... Can=20I=20specify=20a=20pattern=20for=20WHERE=20the=20appender=20should=20= place=20the=20suffix of=20what=20number=20this=20is=20when=20doing=20a=20maxSizeRollBackups=20?= ? <maxSizeRollBackups=20value=3D"10"=20/> =20 I'll=20keep=2010=20files=20for=20a=20given=20day.=20But=20the=20file=20nam= e=20is=20coming=20out as... myComp.Job=20Scheduler=20Service.20081121.log.txt myComp.Job=20Scheduler=20Service.20081121.log.txt.1 myComp.Job=20Scheduler=20Service.20081121.log.txt.2 myComp.Job=20Scheduler=20Service.20081121.log.txt.3 =20 whereas=20I'd=20prefer myComp.Job=20Scheduler=20Service.20081121.log.txt myComp.Job=20Scheduler=20Service.20081121.1.log.txt myComp.Job=20Scheduler=20Service.20081121.2.log.txt myComp.Job=20Scheduler=20Service.20081121.3.log.txt =20 Thanks=20in=20advance=20if=20someone=20can=20help=20with=20this. Hadley =20 ________________________________ From:=20Hadley=20Willan=20[mailto:[email protected]]=20 Sent:=20Friday,=2021=20November=202008=2011:05 To:=20Log4NET=20User Subject:=20RollingFileAppender=20date=20pattern =20 Hi=20all, =20 I'm=20fine=20tuning=20the=20logging=20but=20it's=20not=20quite=20right... What=20I=20want=20is=20for=20the=20file=20to=20roll=20at=20midnight=20to=20= a=20new=20date=20pattern file=20and=20roll=20within=20the=20same=20day=20if=20it=20reaches=2050MB. =20 Eg.=20=20 Start=20up=20application,=2021-NOV-2008,=20=20=20file=20gets=20created myComp.Job=20Scheduler=20Service.20081121.log.txt =20 ideally,=20service=20continues=20to=20run,=20midnight=20rolls=20around=20a= nd=20there's=20a new=20file=20created=20for=20the=2022nd=20and=20entries=20go=20to=20that. myComp.Job=20Scheduler=20Service.20081122.log.txt =20 Problem=20is=20I'm=20not=20getting=20that...=20I'm=20getting=20a=20roll=20= of=20the=20current file=20suffixed=20with=20the=20starting=20date?=20And=20logging=20continue= s=20to=20the=20same "21st"=20file=20pattern myComp.Job=20Scheduler=20Service.20081121.log.txt=20<--=20latest=20entries= =20in=20here myComp.Job=20Scheduler=20Service.20081121.log.txt20081121=20<--=20rolled=20= file=20at midnight. =20 I've=20tried=20setting=20the=20rollingStyle=20to=20Date=20or=20Composite,=20= but=20that hasn't=20worked=20either. =20 This=20is=20possible?? Below=20is=20the=20config=20options.=20I'd=20appreciate=20any=20help. =20 Also,=20I=20may=20have=20misinterpreted=20the=20maxSizeRollBackups...=20=20= I've=20assumed that=20would=20keep=2010=20days=20worth=20of=20log=20files=20and=20then=20= start=20deleting=20older log=20files=20for=20me,=20but=20I'm=20beginning=20to=20think=20that=20only= =20applies=20to=20the rolls=20with=20a=20day? So=20I'll=20have=20to=20clean=20up=20any=20log=20files=20OLDER=20than=2010= =20days? =20 Thanks=20in=20advance. Hadley =20 =20 =20=20<!--=20local=20messages--> =20=20<appender=20name=3D"LocalRollingFileAppender" type=3D"log4net.Appender.RollingFileAppender"> =20=20=20=20<file=20type=3D"log4net.Util.PatternString" =20=20=20=20=20=20=20=20=20=20value=3D"${ALLUSERSPROFILE}\Application=20Da= ta\Job Scheduler\%env{COMPUTERNAME}.Job=20Scheduler Service.%date{yyyyMMdd}.log.txt"=20/> =20=20=20=20<!--=20if=20an=20existing=20file=20is=20there,=20continue=20an= d=20append=20to=20it=20--> =20=20=20=20<appendToFile=20value=3D"true"=20/> =20=20=20=20<rollingStyle=20value=3D"Composite"=20/> =20=20=20=20<!--=20roll=20on=20a=20full=20date=20change,=20use=20yyyyMMdd-= HH=20for=20hourly=20--> =20=20=20=20<datePattern=20value=3D"yyyyMMdd"=20/> =20=20=20=20<!--=20keeps=20up=20to=2010=20of=20these=20files,=20for=20an=20= entire=20DAY,=20IGNORE=20The size=20=20--> =20=20=20=20<maxSizeRollBackups=20value=3D"10"=20/> =20=20=20=20<!--=20within=20a=20day,=20if=20the=20file=20size=20reaches=20= 50MB,=20roll=20it=20too=20--> =20=20=20=20<!--=20because=20it's=20text,=20Log=20file=20service=20will=20= zip=20this=20down=20to around=205MB=20=20--> =20=20=20=20<!--=205MB=20for=20mailing=20a=20log=20file=20is=20a=20safe=20= size,=20most=20servers=20won't bounce=20that=20--> =20=20=20=20<maximumFileSize=20value=3D"50MB"=20/> =20=20=20=20<!--=20layout,=20including=20our=20custom=20property,=20custom= AssemblyName--> =20=20=20=20<layout=20type=3D"log4net.Layout.PatternLayout"> =20=20=20=20=20=20<conversionPattern=20value=3D"%-5level=20%date=20%-50%ty= pe=20%-40%method %message%newline"=20/> =20=20=20=20</layout> =20=20</appender> ************************************************************************ Bunnings=20Legal=20Disclaimer: 1)=20This=20email=20is=20confidential=20and=20may=20contain=20legally=20pr= ivileged information.=20If=20you=20are=20not=20the=20intended=20recipient,=20you=20= must=20not disclose=20or=20use=20the=20information=20contained=20in=20it.=20If=20you=20= have=20received this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and delete=20the=20document. 2)=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20Group=20Lim= ited. are=20scanned=20for=20content.=20Any=20material=20deemed=20to=20contain=20= inappropriate subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all parties=20concerned. ************************************************************************ ************************************************************************ Bunnings=20Legal=20Disclaimer: 1)=20=20=20=20=20This=20email=20is=20confidential=20and=20may=20contain=20= legally=20privileged information.=20=20If=20you=20are=20not=20the=20intended=20recipient,=20you= =20must=20not disclose=20or=20use=20the=20information=20contained=20in=20it.=20=20If=20y= ou=20have=20received this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and delete=20the=20document. 2)=20=20=20=20=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20= Group=20Limited. are=20scanned=20for=20content.=20=20Any=20material=20deemed=20to=20contain= =20inappropriate subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all parties=20concerned. ************************************************************************ ------_=_NextPart_001_01C94DFD.A6AF251C Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html=20xmlns:v=3D"urn:schemas-microsoft-com:vml"=20xmlns:o=3D"urn:schemas= -microsoft-com:office:office"=20xmlns:w=3D"urn:schemas-microsoft-com:offic= e:word"=20xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags"=20xmlns= =3D"http://www.w3.org/TR/REC-html40"> <head> <META=20HTTP-EQUIV=3D"Content-Type"=20CONTENT=3D"text/html;=20charset=3Dus= -ascii"> <meta=20name=3DGenerator=20content=3D"Microsoft=20Word=2011=20(filtered=20= medium)"> <!--[if=20!mso]> <style> v\:*=20{behavior:url(#default#VML);} o\:*=20{behavior:url(#default#VML);} w\:*=20{behavior:url(#default#VML);} .shape=20{behavior:url(#default#VML);} </style> <![endif]--><o:SmartTagType =20namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"=20name=3D"P= ersonName"/> <!--[if=20!mso]> <style> st1\:*{behavior:url(#default#ieooui)=20} </style> <![endif]--> <style> <!-- =20/*=20Font=20Definitions=20*/ =20@font-face =09{font-family:Wingdings; =09panose-1:5=200=200=200=200=200=200=200=200=200;} @font-face =09{font-family:Tahoma; =09panose-1:2=2011=206=204=203=205=204=204=202=204;} =20/*=20Style=20Definitions=20*/ =20p.MsoNormal,=20li.MsoNormal,=20div.MsoNormal =09{margin:0cm; =09margin-bottom:.0001pt; =09font-size:12.0pt; =09font-family:"Times=20New=20Roman";} a:link,=20span.MsoHyperlink =09{color:blue; =09text-decoration:underline;} a:visited,=20span.MsoHyperlinkFollowed =09{color:purple; =09text-decoration:underline;} span.EmailStyle17 =09{mso-style-type:personal; =09font-family:Arial; =09color:windowtext;} span.EmailStyle18 =09{mso-style-type:personal-reply; =09font-family:Arial; =09color:navy;} @page=20Section1 =09{size:595.3pt=20841.9pt; =09margin:72.0pt=2090.0pt=2072.0pt=2090.0pt;} div.Section1 =09{page:Section1;} =20/*=20List=20Definitions=20*/ =20@list=20l0 =09{mso-list-id:993724010; =09mso-list-type:hybrid; =09mso-list-template-ids:-268926198=20201916431=20201916441=20201916443=20= 201916431=20201916441=20201916443=20201916431=20201916441=20201916443;} @list=20l0:level1 =09{mso-level-tab-stop:36.0pt; =09mso-level-number-position:left; =09text-indent:-18.0pt;} ol =09{margin-bottom:0cm;} ul =09{margin-bottom:0cm;} --> </style> </head> <body=20lang=3DEN-AU=20link=3Dblue=20vlink=3Dpurple> <div=20class=3DSection1> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dblack=20face=3DArial><sp= an=20style=3D'font-size: 10.0pt;font-family:Arial;color:black'>Okay,<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dblack=20face=3DArial><sp= an=20style=3D'font-size: 10.0pt;font-family:Arial;color:black'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dblack=20face=3DArial><sp= an=20style=3D'font-size: 10.0pt;font-family:Arial;color:black'>I=20wrote=20a=20small=20test=20app=20= so=20I=20could=20get this=20right.&nbsp;=20Seems=20to=20have=20helped=20as=20I=20think=20I=20un= derstand=20this=20better=20now.<o:p></o:p></span></font></p> <ol=20style=3D'margin-top:0cm'=20start=3D1=20type=3D1> =20<li=20class=3DMsoNormal=20style=3D'color:black;mso-list:l0=20level1=20l= fo1'><font=20size=3D2 =20=20=20=20=20color=3Dblack=20face=3DArial><span=20style=3D'font-size:10.= 0pt;font-family:Arial'>Yes =20=20=20=20=20it=20is=20possible=20to=20have=20the=20appender=20roll=20th= e=20filename=20on=20the=20date=20change<o:p></o:p></span></font></li> =20<li=20class=3DMsoNormal=20style=3D'color:black;mso-list:l0=20level1=20l= fo1'><font=20size=3D2 =20=20=20=20=20color=3Dblack=20face=3DArial><span=20style=3D'font-size:10.= 0pt;font-family:Arial'>Yes =20=20=20=20=20it=20is=20possible=20to=20specify=20where=20the=20appender=20= places=20the=20date=20pattern<o:p></o:p></span></font></li> </ol> <p=20class=3DMsoNormal=20style=3D'margin-left:18.0pt'><font=20size=3D2=20c= olor=3Dblack face=3DArial><span=20style=3D'font-size:10.0pt;font-family:Arial;color:bla= ck'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dblack=20face=3DArial><sp= an=20style=3D'font-size: 10.0pt;font-family:Arial;color:black'>If=20I=20use=20<o:p></o:p></span></f= ont></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;</span></font><font=20size=3D2=20colo= r=3D"#a31515" face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:#A31515'>staticLogFileName</span></font><font=20size=3D2=20color=3Db= lue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>=20</span></font><font=20size=3D2=20color=3Dred=20face=3D"Cour= ier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:red'>value</sp= an></font><font size=3D2=20color=3Dblue=20face=3D"Courier=20New"><span=20style=3D'font-siz= e:10.0pt;font-family: "Courier=20New";color:blue'>=3D</span></font><font=20size=3D2=20face=3D"Co= urier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New"'>&quot;<font=20color= =3Dblue><span style=3D'color:blue'>false</span></font>&quot;<font=20color=3Dblue><span style=3D'color:blue'>=20/&gt;<o:p></o:p></span></font></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dblack=20face=3DArial><sp= an=20style=3D'font-size: 10.0pt;font-family:Arial;color:black'>Then=20the=20file=20name=20is=20alwa= ys=20generated=20on the=20date=20roll=20over.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dblack=20face=3DArial><sp= an=20style=3D'font-size: 10.0pt;font-family:Arial;color:black'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dblack=20face=3DArial><sp= an=20style=3D'font-size: 10.0pt;font-family:Arial;color:black'>If=20I=20use=20a=20better=20date=20f= ormat=20string=20with a=20literal=20tacked=20on=20the=20end,=20I=20get=20the=20file=20names=20I&= #8217;m=20after.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;</span></font><font=20size=3D2=20colo= r=3D"#a31515" face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:#A31515'>datePattern</span></font><font=20size=3D2=20color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>=20</span></font><font=20size=3D2=20color=3Dred=20face=3D"Cour= ier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:red'>value</sp= an></font><font size=3D2=20color=3Dblue=20face=3D"Courier=20New"><span=20style=3D'font-siz= e:10.0pt;font-family: "Courier=20New";color:blue'>=3D</span></font><font=20size=3D2=20face=3D"Co= urier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New"'>&quot;<font=20color= =3Dblue><span style=3D'color:blue'>yyyyMMdd&#8217;.log.txt&#8217;</span></font>&quot;<fo= nt color=3Dblue><span=20style=3D'color:blue'>=20/&gt;<o:p></o:p></span></font= ></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblack face=3DArial><span=20style=3D'font-size:10.0pt;font-family:Arial;color:bla= ck'>All=20you need=20to=20do=20is=20modify=20the=20original=20file=20value=20to=20exclud= e=20the=20original=20%date=20I was=20using,=20as=20the=20appender=20adds=20this=20for=20me.<o:p></o:p></s= pan></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;</span></font><font=20size=3D2=20colo= r=3D"#a31515" face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:#A31515'>file</span></font><font=20size=3D2=20color=3Dblue=20face=3D= "Courier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:blue'>=20</spa= n></font><font size=3D2=20color=3Dred=20face=3D"Courier=20New"><span=20style=3D'font-size= :10.0pt;font-family: "Courier=20New";color:red'>type</span></font><font=20size=3D2=20color=3Dbl= ue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>=3D</span></font><font=20size=3D2=20face=3D"Courier=20New"><sp= an style=3D'font-size:10.0pt;font-family:"Courier=20New"'>&quot;<font=20color= =3Dblue><span style=3D'color:blue'>log4net.Util.PatternString</span></font>&quot;<o:p></= o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20</spa= n></font><font size=3D2=20color=3Dred=20face=3D"Courier=20New"><span=20style=3D'font-size= :10.0pt;font-family: "Courier=20New";color:red'>value</span></font><font=20size=3D2=20color=3Db= lue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>=3D</span></font><font=20size=3D2=20face=3D"Courier=20New"><sp= an style=3D'font-size:10.0pt;font-family:"Courier=20New"'>&quot;<font=20color= =3Dblue><span style=3D'color:blue'>${ALLUSERSPROFILE}\Application=20Data\Job=20Scheduler= \%env{COMPUTERNAME}.Job Scheduler=20Service</span></font>&quot;<font=20color=3Dblue><span=20style=3D= 'color:blue'> /&gt;<o:p></o:p></span></font></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dblack=20face=3DArial><sp= an=20style=3D'font-size: 10.0pt;font-family:Arial;color:black'>Then=20I=20get=20the=20filename=20pa= ttern=20I&#8217;m after.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3D"Courier=20New"><span=20s= tyle=3D'font-size:10.0pt; font-family:"Courier=20New"'>myComp.Job=20Scheduler=20Service.20081121.log= .txt<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3D"Courier=20New"><span=20s= tyle=3D'font-size:10.0pt; font-family:"Courier=20New"'>myComp.Job=20Scheduler=20Service.20081122.log= .txt<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3D"Courier=20New"><span=20s= tyle=3D'font-size:10.0pt; font-family:"Courier=20New"'>myComp.Job=20Scheduler=20Service.20081123.log= .txt<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3D"Courier=20New"><span=20s= tyle=3D'font-size:10.0pt; font-family:"Courier=20New"'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><b><font=20size=3D2=20color=3Dblack=20face=3DArial>= <span style=3D'font-size:10.0pt;font-family:Arial;color:black;font-weight:bold'>= The only=20question=20that=20remains=20is&#8230;<o:p></o:p></span></font></b><= /p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dblack=20face=3DArial><sp= an=20style=3D'font-size: 10.0pt;font-family:Arial;color:black'>Can=20I=20specify=20a=20pattern=20fo= r=20<i><span style=3D'font-style:italic'>WHERE</span></i>=20the=20appender=20should=20p= lace=20the=20<b><span style=3D'font-weight:bold'>suffix</span></b>=20of=20what=20number=20this=20= is=20when=20doing=20a maxSizeRollBackups=20??<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dblue=20face=3D"Courier=20= New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:blue'>&lt;</sp= an></font><font size=3D2=20color=3D"#a31515"=20face=3D"Courier=20New"><span=20style=3D'fon= t-size:10.0pt; font-family:"Courier=20New";color:#A31515'>maxSizeRollBackups</span></font= ><font size=3D2=20color=3Dblue=20face=3D"Courier=20New"><span=20style=3D'font-siz= e:10.0pt;font-family: "Courier=20New";color:blue'>=20</span></font><font=20size=3D2=20color=3Dre= d face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:red'>value</span></font><font=20size=3D2=20color=3Dblue=20face=3D"Co= urier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:blue'>=3D</spa= n></font><font size=3D2=20face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-f= amily:"Courier=20New"'>&quot;<font color=3Dblue><span=20style=3D'color:blue'>10</span></font>&quot;<font=20co= lor=3Dblue><span style=3D'color:blue'>=20/&gt;</span></font></span></font><font=20size=3D2=20= color=3Dnavy face=3DArial><span=20style=3D'font-size:10.0pt;font-family:Arial;color:nav= y'><o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dblack=20face=3DArial><sp= an=20style=3D'font-size: 10.0pt;font-family:Arial;color:black'>I&#8217;ll=20keep=2010=20files=20for= =20a=20given=20day. But=20the=20file=20name=20is=20coming=20out=20as&#8230;<o:p></o:p></span><= /font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3D"Courier=20New"><span=20s= tyle=3D'font-size:10.0pt; font-family:"Courier=20New"'>myComp.Job=20Scheduler=20Service.20081121.log= .txt<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3D"Courier=20New"><span=20s= tyle=3D'font-size:10.0pt; font-family:"Courier=20New"'>myComp.Job=20Scheduler=20Service.20081121.log= .txt<b><span style=3D'font-weight:bold'>.1<o:p></o:p></span></b></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3D"Courier=20New"><span=20s= tyle=3D'font-size:10.0pt; font-family:"Courier=20New"'>myComp.Job=20Scheduler=20Service.20081121.log= .txt<b><span style=3D'font-weight:bold'>.2</span></b><o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3D"Courier=20New"><span=20s= tyle=3D'font-size:10.0pt; font-family:"Courier=20New"'>myComp.Job=20Scheduler=20Service.20081121.log= .txt<b><span style=3D'font-weight:bold'>.3</span></b><o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3D"Courier=20New"><span=20s= tyle=3D'font-size:10.0pt; font-family:"Courier=20New"'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dblack=20face=3DArial><sp= an=20style=3D'font-size: 10.0pt;font-family:Arial;color:black'>whereas=20I&#8217;d=20prefer<o:p></o= :p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3D"Courier=20New"><span=20s= tyle=3D'font-size:10.0pt; font-family:"Courier=20New"'>myComp.Job=20Scheduler=20Service.20081121.log= .txt<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3D"Courier=20New"><span=20s= tyle=3D'font-size:10.0pt; font-family:"Courier=20New"'>myComp.Job=20Scheduler=20Service.20081121.<b>= <span style=3D'font-weight:bold'>1.</span></b>log.txt<o:p></o:p></span></font></= p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3D"Courier=20New"><span=20s= tyle=3D'font-size:10.0pt; font-family:"Courier=20New"'>myComp.Job=20Scheduler=20Service.20081121.<b>= <span style=3D'font-weight:bold'>2.</span></b>log.txt<o:p></o:p></span></font></= p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3D"Courier=20New"><span=20s= tyle=3D'font-size:10.0pt; font-family:"Courier=20New"'>myComp.Job=20Scheduler=20Service.20081121.<b>= <span style=3D'font-weight:bold'>3.</span></b>log.txt<o:p></o:p></span></font></= p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dblack=20face=3DArial><sp= an=20style=3D'font-size: 10.0pt;font-family:Arial;color:black'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dblack=20face=3DArial><sp= an=20style=3D'font-size: 10.0pt;font-family:Arial;color:black'>Thanks=20in=20advance=20if=20someone= =20can=20help with=20this.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dblack=20face=3DArial><sp= an=20style=3D'font-size: 10.0pt;font-family:Arial;color:black'>Hadley<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dnavy=20face=3DArial><spa= n=20style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <div> <div=20class=3DMsoNormal=20align=3Dcenter=20style=3D'text-align:center'><f= ont=20size=3D3 face=3D"Times=20New=20Roman"><span=20lang=3DEN-US=20style=3D'font-size:12.= 0pt'> <hr=20size=3D2=20width=3D"100%"=20align=3Dcenter=20tabindex=3D-1> </span></font></div> <p=20class=3DMsoNormal><b><font=20size=3D2=20face=3DTahoma><span=20lang=3D= EN-US style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span= ></font></b><font size=3D2=20face=3DTahoma><span=20lang=3DEN-US=20style=3D'font-size:10.0pt;= font-family:Tahoma'> Hadley=20Willan=20[mailto:[email protected]]=20<br> <b><span=20style=3D'font-weight:bold'>Sent:</span></b>=20Friday,=2021=20No= vember=202008 11:05<br> <b><span=20style=3D'font-weight:bold'>To:</span></b>=20<st1:PersonName=20w= :st=3D"on">Log4NET =20User</st1:PersonName><br> <b><span=20style=3D'font-weight:bold'>Subject:</span></b>=20RollingFileApp= ender=20date pattern</span></font><span=20lang=3DEN-US><o:p></o:p></span></p> </div> <p=20class=3DMsoNormal><font=20size=3D3=20face=3D"Times=20New=20Roman"><sp= an=20style=3D'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Hi=20all,<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>I&#8217;m=20fine=20tuning=20the=20logging=20but=20it&#8= 217;s=20not=20quite right&#8230;<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>What=20I=20want=20is=20for=20the=20file=20to=20roll=20a= t=20midnight=20to=20a=20new date=20pattern=20file=20and=20roll=20within=20the=20same=20day=20if=20it=20= reaches=2050MB.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Eg.&nbsp;=20<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Start=20up=20application,=2021-NOV-2008,&nbsp;&nbsp;=20= file=20gets created<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3D"Courier=20New"><span=20s= tyle=3D'font-size:10.0pt; font-family:"Courier=20New"'>myComp.Job=20Scheduler=20Service.20081121.log= .txt<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>ideally,=20service=20continues=20to=20run,=20midnight=20= rolls=20around=20and there&#8217;s=20a=20new=20file=20created=20for=20the=2022<sup>nd</sup>=20a= nd=20entries=20go=20to that.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3D"Courier=20New"><span=20s= tyle=3D'font-size:10.0pt; font-family:"Courier=20New"'>myComp.Job=20Scheduler=20Service.20081122.log= .txt<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Problem=20is=20I&#8217;m=20not=20getting=20that&#8230;=20= I&#8217;m=20getting a=20roll=20of=20the=20current=20file=20suffixed=20with=20the=20starting=20= date?=20And=20logging continues=20to=20the=20same=20&#8220;21<sup>st</sup>&#8221;=20file=20patte= rn<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3D"Courier=20New"><span=20s= tyle=3D'font-size:10.0pt; font-family:"Courier=20New"'>myComp.Job=20Scheduler=20Service.20081121.log= .txt=20</span></font><font size=3D2=20face=3DWingdings><span=20style=3D'font-size:10.0pt;font-family:= Wingdings'>&szlig;</span></font><font size=3D2=20face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-f= amily:"Courier=20New"'> latest=20entries=20in=20here<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3D"Courier=20New"><span=20s= tyle=3D'font-size:10.0pt; font-family:"Courier=20New"'>myComp.Job=20Scheduler Service.20081121.log.txt20081121=20</span></font><font=20size=3D2=20face=3D= Wingdings><span style=3D'font-size:10.0pt;font-family:Wingdings'>&szlig;</span></font><fon= t=20size=3D2 face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"'> rolled=20file=20at=20midnight.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>I&#8217;ve=20tried=20setting=20the=20rollingStyle=20to=20= <b><span style=3D'font-weight:bold'>Date</span></b>=20or=20<b><span=20style=3D'font= -weight:bold'>Composite</span></b>, but=20that=20hasn&#8217;t=20worked=20either.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>This=20is=20possible??<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Below=20is=20the=20config=20options.=20I&#8217;d=20appr= eciate=20any=20help.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Also,=20I=20may=20have=20misinterpreted=20the maxSizeRollBackups&#8230;&nbsp;=20I&#8217;ve=20assumed=20that=20would=20ke= ep=2010=20days worth=20of=20log=20files=20and=20then=20start=20deleting=20older=20log=20f= iles=20for=20me,=20but I&#8217;m=20beginning=20to=20think=20that=20only=20applies=20to=20the=20ro= lls=20with=20a=20day?<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>So=20I&#8217;ll=20have=20to=20clean=20up=20any=20log=20= files=20OLDER=20than=2010 days?<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Thanks=20in=20advance.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Hadley<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;=20&lt;!--</span></font><font=20size=3D2=20color=3Dgreen= face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:green'>=20local=20messages</span></font><font=20size=3D2=20color=3Db= lue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>--&gt;<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;=20&lt;</span></font><font=20size=3D2=20color=3D"#a31515= " face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:#A31515'>appender</span></font><font=20size=3D2=20color=3Dblue=20fac= e=3D"Courier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:blue'>=20</spa= n></font><font size=3D2=20color=3Dred=20face=3D"Courier=20New"><span=20style=3D'font-size= :10.0pt;font-family: "Courier=20New";color:red'>name</span></font><font=20size=3D2=20color=3Dbl= ue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>=3D</span></font><font=20size=3D2=20face=3D"Courier=20New"><sp= an style=3D'font-size:10.0pt;font-family:"Courier=20New"'>&quot;<font=20color= =3Dblue><span style=3D'color:blue'>LocalRollingFileAppender</span></font>&quot;<font color=3Dblue><span=20style=3D'color:blue'>=20</span></font><font=20color=3D= red><span style=3D'color:red'>type</span></font><font=20color=3Dblue><span=20style=3D= 'color:blue'>=3D</span></font>&quot;<font color=3Dblue><span=20style=3D'color:blue'>log4net.Appender.RollingFileAppe= nder</span></font>&quot;<font color=3Dblue><span=20style=3D'color:blue'>&gt;<o:p></o:p></span></font></s= pan></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;</span></font><font=20size=3D2=20colo= r=3D"#a31515" face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:#A31515'>file</span></font><font=20size=3D2=20color=3Dblue=20face=3D= "Courier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:blue'>=20</spa= n></font><font size=3D2=20color=3Dred=20face=3D"Courier=20New"><span=20style=3D'font-size= :10.0pt;font-family: "Courier=20New";color:red'>type</span></font><font=20size=3D2=20color=3Dbl= ue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>=3D</span></font><font=20size=3D2=20face=3D"Courier=20New"><sp= an style=3D'font-size:10.0pt;font-family:"Courier=20New"'>&quot;<font=20color= =3Dblue><span style=3D'color:blue'>log4net.Util.PatternString</span></font>&quot;<o:p></= o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20</spa= n></font><font size=3D2=20color=3Dred=20face=3D"Courier=20New"><span=20style=3D'font-size= :10.0pt;font-family: "Courier=20New";color:red'>value</span></font><font=20size=3D2=20color=3Db= lue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>=3D</span></font><font=20size=3D2=20face=3D"Courier=20New"><sp= an style=3D'font-size:10.0pt;font-family:"Courier=20New"'>&quot;<font=20color= =3Dblue><span style=3D'color:blue'>${ALLUSERSPROFILE}\Application=20Data\Job=20Scheduler= \%env{COMPUTERNAME}.Job Scheduler=20Service.%date{yyyyMMdd}.log.txt</span></font>&quot;<font=20col= or=3Dblue><span style=3D'color:blue'>=20/&gt;<o:p></o:p></span></font></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;!--</span></font><font=20size=3D2=20c= olor=3Dgreen face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:green'>=20if=20an=20existing=20file=20is=20there,=20continue=20and=20= append=20to=20it=20</span></font><font size=3D2=20color=3Dblue=20face=3D"Courier=20New"><span=20style=3D'font-siz= e:10.0pt;font-family: "Courier=20New";color:blue'>--&gt;<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;</span></font><font=20size=3D2=20colo= r=3D"#a31515" face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:#A31515'>appendToFile</span></font><font=20size=3D2=20color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>=20</span></font><font=20size=3D2=20color=3Dred=20face=3D"Cour= ier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:red'>value</sp= an></font><font size=3D2=20color=3Dblue=20face=3D"Courier=20New"><span=20style=3D'font-siz= e:10.0pt;font-family: "Courier=20New";color:blue'>=3D</span></font><font=20size=3D2=20face=3D"Co= urier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New"'>&quot;<font=20color= =3Dblue><span style=3D'color:blue'>true</span></font>&quot;<font=20color=3Dblue><span style=3D'color:blue'>=20/&gt;<o:p></o:p></span></font></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;</span></font><font=20size=3D2=20colo= r=3D"#a31515" face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:#A31515'>rollingStyle</span></font><font=20size=3D2=20color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>=20</span></font><font=20size=3D2=20color=3Dred=20face=3D"Cour= ier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:red'>value</sp= an></font><font size=3D2=20color=3Dblue=20face=3D"Courier=20New"><span=20style=3D'font-siz= e:10.0pt;font-family: "Courier=20New";color:blue'>=3D</span></font><font=20size=3D2=20face=3D"Co= urier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New"'>&quot;<font=20color= =3Dblue><span style=3D'color:blue'>Composite</span></font>&quot;<font=20color=3Dblue><sp= an style=3D'color:blue'>=20/&gt;<o:p></o:p></span></font></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;!--</span></font><font=20size=3D2=20c= olor=3Dgreen face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:green'>=20roll=20on=20a=20full=20date=20change,=20use=20yyyyMMdd-HH=20= for=20hourly=20</span></font><font size=3D2=20color=3Dblue=20face=3D"Courier=20New"><span=20style=3D'font-siz= e:10.0pt;font-family: "Courier=20New";color:blue'>--&gt;<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;</span></font><font=20size=3D2=20colo= r=3D"#a31515" face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:#A31515'>datePattern</span></font><font=20size=3D2=20color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>=20</span></font><font=20size=3D2=20color=3Dred=20face=3D"Cour= ier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:red'>value</sp= an></font><font size=3D2=20color=3Dblue=20face=3D"Courier=20New"><span=20style=3D'font-siz= e:10.0pt;font-family: "Courier=20New";color:blue'>=3D</span></font><font=20size=3D2=20face=3D"Co= urier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New"'>&quot;<font=20color= =3Dblue><span style=3D'color:blue'>yyyyMMdd</span></font>&quot;<font=20color=3Dblue><spa= n style=3D'color:blue'>=20/&gt;<o:p></o:p></span></font></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;!--</span></font><font=20size=3D2=20c= olor=3Dgreen face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:green'>=20keeps=20up=20to=2010=20of=20these=20files,=20for=20an=20en= tire=20DAY,=20IGNORE=20The size&nbsp;=20</span></font><font=20size=3D2=20color=3Dblue=20face=3D"Couri= er=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:blue'>--&gt;<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;</span></font><font=20size=3D2=20colo= r=3D"#a31515" face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:#A31515'>maxSizeRollBackups</span></font><font=20size=3D2=20color=3D= blue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>=20</span></font><font=20size=3D2=20color=3Dred=20face=3D"Cour= ier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:red'>value</sp= an></font><font size=3D2=20color=3Dblue=20face=3D"Courier=20New"><span=20style=3D'font-siz= e:10.0pt;font-family: "Courier=20New";color:blue'>=3D</span></font><font=20size=3D2=20face=3D"Co= urier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New"'>&quot;<font=20color= =3Dblue><span style=3D'color:blue'>10</span></font>&quot;<font=20color=3Dblue><span style=3D'color:blue'>=20/&gt;<o:p></o:p></span></font></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;!--</span></font><font=20size=3D2=20c= olor=3Dgreen face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:green'>=20within=20a=20day,=20if=20the=20file=20size=20reaches=2050M= B,=20roll=20it=20too=20</span></font><font size=3D2=20color=3Dblue=20face=3D"Courier=20New"><span=20style=3D'font-siz= e:10.0pt;font-family: "Courier=20New";color:blue'>--&gt;<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;!--</span></font><font=20size=3D2=20c= olor=3Dgreen face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:green'>=20because=20it's=20text,=20Log=20file=20service=20will=20zip= =20this=20down=20to=20around 5MB=20&nbsp;</span></font><font=20size=3D2=20color=3Dblue=20face=3D"Courie= r=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:blue'>--&gt;<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;!--</span></font><font=20size=3D2=20c= olor=3Dgreen face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:green'>=205MB=20for=20mailing=20a=20log=20file=20is=20a=20safe=20siz= e,=20most=20servers=20won't bounce=20that=20</span></font><font=20size=3D2=20color=3Dblue=20face=3D"Co= urier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:blue'>--&gt;<o= :p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;</span></font><font=20size=3D2=20colo= r=3D"#a31515" face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:#A31515'>maximumFileSize</span></font><font=20size=3D2=20color=3Dblu= e face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>=20</span></font><font=20size=3D2=20color=3Dred=20face=3D"Cour= ier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:red'>value</sp= an></font><font size=3D2=20color=3Dblue=20face=3D"Courier=20New"><span=20style=3D'font-siz= e:10.0pt;font-family: "Courier=20New";color:blue'>=3D</span></font><font=20size=3D2=20face=3D"Co= urier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New"'>&quot;<font=20color= =3Dblue><span style=3D'color:blue'>50MB</span></font>&quot;<font=20color=3Dblue><span style=3D'color:blue'>=20/&gt;<o:p></o:p></span></font></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;!--</span></font><font=20size=3D2=20c= olor=3Dgreen face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:green'>=20layout,=20including=20our=20custom=20property,=20customAss= emblyName</span></font><font size=3D2=20color=3Dblue=20face=3D"Courier=20New"><span=20style=3D'font-siz= e:10.0pt;font-family: "Courier=20New";color:blue'>--&gt;<o:p></o:p></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;</span></font><font=20size=3D2=20colo= r=3D"#a31515" face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:#A31515'>layout</span></font><font=20size=3D2=20color=3Dblue=20face=3D= "Courier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:blue'>=20</spa= n></font><font size=3D2=20color=3Dred=20face=3D"Courier=20New"><span=20style=3D'font-size= :10.0pt;font-family: "Courier=20New";color:red'>type</span></font><font=20size=3D2=20color=3Dbl= ue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>=3D</span></font><font=20size=3D2=20face=3D"Courier=20New"><sp= an style=3D'font-size:10.0pt;font-family:"Courier=20New"'>&quot;<font=20color= =3Dblue><span style=3D'color:blue'>log4net.Layout.PatternLayout</span></font>&quot;<font= color=3Dblue><span=20style=3D'color:blue'>&gt;<o:p></o:p></span></font></s= pan></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20&lt;</span></font><font=20siz= e=3D2 color=3D"#a31515"=20face=3D"Courier=20New"><span=20style=3D'font-size:10.0= pt;font-family: "Courier=20New";color:#A31515'>conversionPattern</span></font><font=20size= =3D2 color=3Dblue=20face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;fo= nt-family:"Courier=20New"; color:blue'>=20</span></font><font=20size=3D2=20color=3Dred=20face=3D"Cour= ier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:red'>value</sp= an></font><font size=3D2=20color=3Dblue=20face=3D"Courier=20New"><span=20style=3D'font-siz= e:10.0pt;font-family: "Courier=20New";color:blue'>=3D</span></font><font=20size=3D2=20face=3D"Co= urier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New"'>&quot;<font=20color= =3Dblue><span style=3D'color:blue'>%-5level=20%date=20%-50%type=20%-40%method=20%message= %newline</span></font>&quot;<font color=3Dblue><span=20style=3D'color:blue'>=20/&gt;<o:p></o:p></span></font= ></span></font></p> <p=20class=3DMsoNormal=20style=3D'text-autospace:none'><font=20size=3D2=20= color=3Dblue face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:blue'>&nbsp;&nbsp;&nbsp;=20&lt;/</span></font><font=20size=3D2=20col= or=3D"#a31515" face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;font-family:"Cour= ier=20New"; color:#A31515'>layout</span></font><font=20size=3D2=20color=3Dblue=20face=3D= "Courier=20New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:blue'>&gt;<o:p= ></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20color=3Dblue=20face=3D"Courier=20= New"><span style=3D'font-size:10.0pt;font-family:"Courier=20New";color:blue'>&nbsp;=20= &lt;/</span></font><font size=3D2=20color=3D"#a31515"=20face=3D"Courier=20New"><span=20style=3D'fon= t-size:10.0pt; font-family:"Courier=20New";color:#A31515'>appender</span></font><font=20s= ize=3D2 color=3Dblue=20face=3D"Courier=20New"><span=20style=3D'font-size:10.0pt;fo= nt-family:"Courier=20New"; color:blue'>&gt;</span></font><font=20size=3D2=20face=3DArial><span=20styl= e=3D'font-size: 10.0pt;font-family:Arial'><o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D3=20face=3D"Times=20New=20Roman"><sp= an=20style=3D'font-size: 12.0pt'><br> ************************************************************************<b= r> Bunnings=20Legal=20Disclaimer:<br> <br> 1)=20This=20email=20is=20confidential=20and=20may=20contain=20legally=20pr= ivileged<br> information.=20If=20you=20are=20not=20the=20intended=20recipient,=20you=20= must=20not<br> disclose=20or=20use=20the=20information=20contained=20in=20it.=20If=20you=20= have=20received<br> this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and<br> delete=20the=20document.<br> <br> 2)=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20Group=20Lim= ited.<br> are=20scanned=20for=20content.=20Any=20material=20deemed=20to=20contain=20= inappropriate<br> subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all<br> parties=20concerned.<br> ************************************************************************<o= :p></o:p></span></font></p> </div> <BR> ************************************************************************<B= R> Bunnings=20Legal=20Disclaimer:<BR> <BR> 1)=20=20=20=20=20This=20email=20is=20confidential=20and=20may=20contain=20= legally=20privileged<BR> information.=20=20If=20you=20are=20not=20the=20intended=20recipient,=20you= =20must=20not<BR> disclose=20or=20use=20the=20information=20contained=20in=20it.=20=20If=20y= ou=20have=20received<BR> this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and<BR> delete=20the=20document.<BR> <BR> 2)=20=20=20=20=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20= Group=20Limited.<BR> are=20scanned=20for=20content.=20=20Any=20material=20deemed=20to=20contain= =20inappropriate<BR> subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all<BR> parties=20concerned.<BR> ************************************************************************<B= R> </body> </html> ------_=_NextPart_001_01C94DFD.A6AF251C-- From [email protected] Tue Nov 25 20:06:02 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57406 invoked from network); 25 Nov 2008 20:06:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Nov 2008 20:06:02 -0000 Received: (qmail 39188 invoked by uid 500); 25 Nov 2008 20:06:11 -0000 Delivered-To: [email protected] Received: (qmail 39164 invoked by uid 500); 25 Nov 2008 20:06:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 39153 invoked by uid 99); 25 Nov 2008 20:06:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Nov 2008 12:06:11 -0800 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Nov 2008 20:04:44 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1L54A6-000089-0B for [email protected]; Tue, 25 Nov 2008 12:05:30 -0800 Message-ID: <[email protected]> Date: Tue, 25 Nov 2008 12:05:29 -0800 (PST) From: suedeuno <[email protected]> To: [email protected] Subject: configuration problems, not logging MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org What's missing here? Using profiler, the database never receives the call. web.config: <log4net> <appender name="ADONetAppender" type="log4net.Appender.ADONetAppender"> <bufferSize value="100" /> <connectionType value="System.Data.SqlClient.SqlConnection, System.Data, Version=161.129.204.104, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <connectionString value="data source=(local)\SQLEXPRESS;initial catalog=MyTestDB;integrated security=false;persist security info=True;User ID=user;Password=pass" /> <commandText value="INSERT INTO Log ([Date],[Thread],[Level],[Logger],[Message],[Exception]) VALUES (@log_date, @thread, @log_level, @logger, @message, @exception)" /> ........ etc <root> <level value="ERROR" /> <appender-ref ref="ADONetAppender" /> </root> <logger name="LogUtility"> <level value="ALL" /> </logger> </log4net> global.asax application_start log4net.Config.XmlConfigurator.Configure(); log wrapper: public class LogUtility : ILogUtility { private ILog log { get; set; } public LogUtility() { log = LogManager.GetLogger("LogUtility"); // LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); } #region ILogUtility Members public void LogException(string message) { log.Error(message); } public void LogException(string message, Exception exception) { log.Error(message, exception); } default.aspx log call: LogUtility.LogException("some error", new Exception()); -- View this message in context: http://www.nabble.com/configuration-problems%2C-not-logging-tp20688643p20688643.html Sent from the Log4net - Users mailing list [email protected]. From [email protected] Tue Nov 25 21:47:48 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99583 invoked from network); 25 Nov 2008 21:47:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Nov 2008 21:47:48 -0000 Received: (qmail 53550 invoked by uid 500); 25 Nov 2008 21:47:58 -0000 Delivered-To: [email protected] Received: (qmail 53354 invoked by uid 500); 25 Nov 2008 21:47:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 53343 invoked by uid 99); 25 Nov 2008 21:47:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Nov 2008 13:47:57 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO web30502.mail.mud.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 25 Nov 2008 21:46:30 +0000 Received: (qmail 59625 invoked by uid 60001); 25 Nov 2008 21:47:15 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=52TjLgBoYtr05MjAEQvI15xLOZ8SAY9pD5VKS4J1s95/Gb3K1gln1+Bbm9DBjb9kwGf7n5rXjMBN+iN2UC5Z8YNxWfOt26XQ4NoNP88DIGafCk8iBh+/LFJRW9baUHefJx3o0W0tRZSjUfHAsLzM8QUNSBMsEHqR6t8Uoa2vaM8=; X-YMail-OSG: sC.2th8VM1kFlBLXTK9h9bqhSmjNNLkJBcf_zeiRyOU3CF5ReWFAPSuspjn4jat7TRxc3hmtcwg7WclwyJ4okMnPSAhRXBBydOZ9tXF9sUQRG.Flj5I364r0I4GXszPxt3pVUItKoi1MYfRHQS.j8lg_cbuDY0mzhgMZmB.NrTrIbGvJS_0vt__obQ-- Received: from [161.129.204.104] by web30502.mail.mud.yahoo.com via HTTP; Tue, 25 Nov 2008 13:47:15 PST X-Mailer: YahooMailRC/1155.32 YahooMailWebService/0.7.260.1 References: <[email protected]> Date: Tue, 25 Nov 2008 13:47:15 -0800 (PST) From: Ron Grabowski <[email protected]> Subject: Re: configuration problems, not logging To: Log4NET User <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org I don't know if it matters or not but the Type is AdoNetAppender not ADONetAppender. Do you see a TypeLoadException when you turn on log4net's internal debugging? ----- Original Message ---- From: suedeuno <[email protected]> To: [email protected] Sent: Tuesday, November 25, 2008 3:05:29 PM Subject: configuration problems, not logging What's missing here? Using profiler, the database never receives the call. web.config: <log4net> <appender name="ADONetAppender" type="log4net.Appender.ADONetAppender"> <bufferSize value="100" /> <connectionType value="System.Data.SqlClient.SqlConnection, System.Data, Version=161.129.204.104, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <connectionString value="data source=(local)\SQLEXPRESS;initial catalog=MyTestDB;integrated security=false;persist security info=True;User ID=user;Password=pass" /> <commandText value="INSERT INTO Log ([Date],[Thread],[Level],[Logger],[Message],[Exception]) VALUES (@log_date, @thread, @log_level, @logger, @message, @exception)" /> ........ etc <root> <level value="ERROR" /> <appender-ref ref="ADONetAppender" /> </root> <logger name="LogUtility"> <level value="ALL" /> </logger> </log4net> global.asax application_start log4net.Config.XmlConfigurator.Configure(); log wrapper: public class LogUtility : ILogUtility { private ILog log { get; set; } public LogUtility() { log = LogManager.GetLogger("LogUtility"); // LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); } #region ILogUtility Members public void LogException(string message) { log.Error(message); } public void LogException(string message, Exception exception) { log.Error(message, exception); } default.aspx log call: LogUtility.LogException("some error", new Exception()); -- View this message in context: http://www.nabble.com/configuration-problems%2C-not-logging-tp20688643p20688643.html Sent from the Log4net - Users mailing list [email protected]. From [email protected] Tue Nov 25 21:57:25 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6310 invoked from network); 25 Nov 2008 21:57:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Nov 2008 21:57:25 -0000 Received: (qmail 69189 invoked by uid 500); 25 Nov 2008 21:57:30 -0000 Delivered-To: [email protected] Received: (qmail 69166 invoked by uid 500); 25 Nov 2008 21:57:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 69154 invoked by uid 99); 25 Nov 2008 21:57:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Nov 2008 13:57:30 -0800 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Nov 2008 21:56:03 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1L55tp-00054g-6N for [email protected]; Tue, 25 Nov 2008 13:56:49 -0800 Message-ID: <[email protected]> Date: Tue, 25 Nov 2008 13:56:49 -0800 (PST) From: suedeuno <[email protected]> To: [email protected] Subject: Re: configuration problems, not logging In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org I have internal debugging on and no errors are given. Everything executes without error. I stepped through the execution, and looked at the instance of log noticing that all of the IsErrorEnabled, etc were false. I even added a simple file appender and appropriate access to the file and still nothing. Ron Grabowski wrote: > > I don't know if it matters or not but the Type is AdoNetAppender not > ADONetAppender. Do you see a TypeLoadException when you turn on log4net's > internal debugging? > -- View this message in context: http://www.nabble.com/configuration-problems%2C-not-logging-tp20688643p20690411.html Sent from the Log4net - Users mailing list [email protected]. From [email protected] Tue Nov 25 22:26:38 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21327 invoked from network); 25 Nov 2008 22:26:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Nov 2008 22:26:38 -0000 Received: (qmail 696 invoked by uid 500); 25 Nov 2008 22:26:48 -0000 Delivered-To: [email protected] Received: (qmail 452 invoked by uid 500); 25 Nov 2008 22:26:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 441 invoked by uid 99); 25 Nov 2008 22:26:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Nov 2008 14:26:47 -0800 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO yx-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Nov 2008 22:25:22 +0000 Received: by yx-out-1718.google.com with SMTP id 4so138526yxp.40 for <[email protected]>; Tue, 25 Nov 2008 14:25:58 -0800 (PST) Received: by 161.129.204.104 with SMTP id v16mr9991258ybc.148.1227651958522; Tue, 25 Nov 2008 14:25:58 -0800 (PST) Received: by 161.129.204.104 with HTTP; Tue, 25 Nov 2008 14:25:58 -0800 (PST) Message-ID: <[email protected]> Date: Wed, 26 Nov 2008 07:25:58 +0900 From: "Chris Stoyles" <[email protected]> To: [email protected] Subject: Issues configuring log4net programmatically In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_16178_1812589.1227651958493" References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_16178_1812589.1227651958493 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi guys, I've got a Windows Forms Application written in C# under .NET 2.0. Inside the static main method for the application I've got the following: FileAppender appender = new FileAppender(); appender.Layout = new SimpleLayout(); appender.File = "mylog.log"; appender.Threshold = Level.Debug; appender.ActivateOptions(); BasicConfigurator.Configure(appender); The log file gets created, however none of my calls to Debug() ever produce any log entries in the file. Below is an example of this, I have written a class called BasicClass which helps the form do some work: private static readonly ILog log = LogManager.GetLogger(typeof(BasicClass)); and further down I do something like this: log.Debug("my log message"); Am I setting the Threshold property in the wrong area or something like that? I've been trying to get this thing working all afternoon with no luck...hopefully someone can point out what stupid mistake I am making. Chris. ------=_Part_16178_1812589.1227651958493 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <span>Hi guys,<br><br>I&#39;ve got a Windows Forms Application written in C# under .NET 2.0. Inside the static main method for the application I&#39;ve got the following:<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FileAppender appender = new FileAppender();<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; appender.Layout = new SimpleLayout();<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; appender.File = &quot;mylog.log&quot;;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; appender.Threshold = Level.Debug;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; appender.ActivateOptions();<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BasicConfigurator.Configure(appender);<br><br>The log file gets created, however none of my calls to Debug() ever produce any log entries in the file. Below is an example of this, I have written a class called BasicClass which helps the form do some work:<br><br>private static readonly ILog log = LogManager.GetLogger(typeof(BasicClass));<br><br>and further down I do something like this:<br><br>log.Debug(&quot;my log message&quot;);<br> <br>Am I setting the Threshold property in the wrong area or something like that? I&#39;ve been trying to get this thing working all afternoon with no luck...hopefully someone can point out what stupid mistake I am making.<br><br>Chris.</span> ------=_Part_16178_1812589.1227651958493-- From [email protected] Wed Nov 26 11:23:12 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54073 invoked from network); 26 Nov 2008 11:23:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Nov 2008 11:23:12 -0000 Received: (qmail 95125 invoked by uid 500); 26 Nov 2008 11:23:21 -0000 Delivered-To: [email protected] Received: (qmail 95094 invoked by uid 500); 26 Nov 2008 11:23:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 95083 invoked by uid 99); 26 Nov 2008 11:23:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2008 03:23:20 -0800 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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO yw-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2008 11:21:53 +0000 Received: by yw-out-1718.google.com with SMTP id 5so248203ywr.40 for <[email protected]>; Wed, 26 Nov 2008 03:22:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=lho+fqgih4MyFnRWY+YES2XnwlUkOXOL5wrJ5zYDLoI=; b=fKXMNuEfaiocho5fn2Je7Chk22FZNg174Cf6sqdbr5EhJCHtNn+43r0ZB+6uK9rqZy N4NL/Gb6eUQ2RCNNc9aQe4h7QGr8V90MvHX4e6fkJZk+PlZGCYVn1dfGorFbGJw9SGXY O+pUf6q5qPkJaU77xNI1F3nILRV0T8DBZKz60= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=RJSTKYDs9rGlK2+3tGLmnCuv1rq34zNTNTtMgv/IWCHTR8NRWcCBTHL61OE+hLUyjW nMFPB7SVYqguHnL7IT34p4AysaUfLIeqec3aZdvuhbs7m3A1UNLIG6MRPwyLhCM+36RP Zix7C6vNXlhIxvuwkrXjI7jU1kowDdGJYtsPw= Received: by 161.129.204.104 with SMTP id i17mr5995398qbo.98.1227698549368; Wed, 26 Nov 2008 03:22:29 -0800 (PST) Received: by 161.129.204.104 with HTTP; Wed, 26 Nov 2008 03:22:29 -0800 (PST) Message-ID: <[email protected]> Date: Wed, 26 Nov 2008 11:22:29 +0000 From: "boombox boy" <[email protected]> To: [email protected] Subject: Re: Log4net.dll reference copy-local=true not behaving as expected In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_29103_18915625.1227698549335" References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_29103_18915625.1227698549335 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline > > * * > Hi I have a custom log wrapper that utilizes log4net. I build a release assembly of MyLogWrapper.dll with log4net.dll reference set to copy-local true. Referencing MyLogWrapper.dll from MyProject with copy local set to true should result in log4net.dll being copied as well, right? I am not using any Log4net classes in MyProject as they are all wrapped in MyLogWrapper and therefore I do not reference Log4Net from MyProject. Dispite Log4net being a dependency of MyLogWrapper it is not being copied to MyProject output directory but all other dependencies of MyLogWrapper are. What could be the problem? TIA > > ------=_Part_29103_18915625.1227698549335 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <span> </span> <div><b> </b></div> </blockquote><div> <p>Hi I have a custom log wrapper that utilizes log4net. I build a release assembly of MyLogWrapper.dll with log4net.dll reference set to copy-local true. Referencing MyLogWrapper.dll from MyProject with copy local set to true should result in log4net.dll being copied as well, right? I am not using any Log4net classes in MyProject as they are all wrapped in MyLogWrapper and therefore I do not reference Log4Net from MyProject. Dispite Log4net being a dependency of MyLogWrapper it is not being copied to MyProject output directory but all other dependencies of MyLogWrapper are. What could be the problem?</p><p><br></p>TIA<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div><br> </div> </blockquote></div><br> ------=_Part_29103_18915625.1227698549335-- From [email protected] Wed Nov 26 13:19:00 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88346 invoked from network); 26 Nov 2008 13:19:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Nov 2008 13:19:00 -0000 Received: (qmail 32244 invoked by uid 500); 26 Nov 2008 13:19:10 -0000 Delivered-To: [email protected] Received: (qmail 32222 invoked by uid 500); 26 Nov 2008 13:19:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 32211 invoked by uid 99); 26 Nov 2008 13:19:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2008 05:19:10 -0800 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: local policy) Received: from [161.129.204.104] (HELO main.hasam.cz) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2008 13:17:44 +0000 Subject: RE: Log4net.dll reference copy-local=true not behaving as expected Date: Wed, 26 Nov 2008 14:18:26 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C94FC9.7765FCC5" Message-ID: <[email protected]> In-Reply-To: <[email protected]> Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.5 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Log4net.dll reference copy-local=true not behaving as expected Thread-Index: AclPuV+CLr0zjw3LQ729BUGT6Scy/AAD20og References: <[email protected]> <[email protected]> From: "Radovan Raszka" <[email protected]> To: "Log4NET User" <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C94FC9.7765FCC5 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Hello. In my opinion if you reference only MylogWrapper.dll from your project, = only this DLL will be copied to the output directory. If you need to copy log4net.dll automatically to the output, you must = reference MylogWrapper project from your project or create post-build = event which copies log4net.dll to output directory Radovan ________________________________ Od: boombox boy [mailto:[email protected]]=20 Odesl=E1no: 26. listopadu 2008 12:22 Komu: [email protected] P=F8edm=ECt: Re: Log4net.dll reference copy-local=3Dtrue not behaving as = expected =09 =09 Hi I have a custom log wrapper that utilizes log4net. I build a release = assembly of MyLogWrapper.dll with log4net.dll reference set to = copy-local true. Referencing MyLogWrapper.dll from MyProject with copy = local set to true should result in log4net.dll being copied as well, = right? I am not using any Log4net classes in MyProject as they are all = wrapped in MyLogWrapper and therefore I do not reference Log4Net from = MyProject. Dispite Log4net being a dependency of MyLogWrapper it is not = being copied to MyProject output directory but all other dependencies of = MyLogWrapper are. What could be the problem? TIA ------_=_NextPart_001_01C94FC9.7765FCC5 Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-2"> <META content=3D"MSHTML 6.00.6000.16735" name=3DGENERATOR></HEAD> <BODY> <DIV dir=3Dltr align=3Dleft><SPAN class=3D299401313-26112008><FONT = face=3DArial=20 color=3D#0000ff size=3D2>Hello.</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D299401313-26112008><FONT = face=3DArial=20 color=3D#0000ff size=3D2>In my opinion if you reference only = MylogWrapper.dll from=20 your project, only this DLL will be copied to the output=20 directory.</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D299401313-26112008><FONT = face=3DArial=20 color=3D#0000ff size=3D2>If you need to copy log4net.dll automatically = to the=20 output, you must reference MylogWrapper project from your project or = create=20 post-build event which copies log4net.dll to output=20 directory</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D299401313-26112008><FONT = face=3DArial=20 color=3D#0000ff size=3D2>Radovan</FONT></SPAN></DIV><BR> <DIV class=3DOutlookMessageHeader lang=3Dcs dir=3Dltr align=3Dleft> <HR tabIndex=3D-1> <FONT face=3DTahoma size=3D2><B>Od:</B> boombox boy = [mailto:[email protected]]=20 <BR><B>Odesl=E1no:</B> 26. listopadu 2008 12:22<BR><B>Komu:</B>=20 [email protected]<BR><B>P=F8edm=ECt:</B> Re: Log4net.dll = reference=20 copy-local=3Dtrue not behaving as expected<BR></FONT><BR></DIV> <DIV></DIV> <DIV class=3Dgmail_quote> <BLOCKQUOTE class=3Dgmail_quote=20 style=3D"PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: = rgb(204,204,204) 1px solid"><SPAN></SPAN> <DIV><B></B></DIV></BLOCKQUOTE> <DIV> <P>Hi I have a custom log wrapper that utilizes log4net. I build a = release=20 assembly of MyLogWrapper.dll with log4net.dll reference set to = copy-local true.=20 Referencing MyLogWrapper.dll from MyProject with copy local set to true = should=20 result in log4net.dll being copied as well, right? I am not using any = Log4net=20 classes in MyProject as they are all wrapped in MyLogWrapper and = therefore I do=20 not reference Log4Net from MyProject. Dispite Log4net being a dependency = of=20 MyLogWrapper it is not being copied to MyProject output directory but = all other=20 dependencies of MyLogWrapper are. What could be the problem?</P> <P><BR></P>TIA<BR></DIV> <BLOCKQUOTE class=3Dgmail_quote=20 style=3D"PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: = rgb(204,204,204) 1px solid"> <DIV><BR></DIV></BLOCKQUOTE></DIV><BR></BODY></HTML> ------_=_NextPart_001_01C94FC9.7765FCC5-- From [email protected] Wed Nov 26 15:04:10 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47581 invoked from network); 26 Nov 2008 15:04:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Nov 2008 15:04:10 -0000 Received: (qmail 9846 invoked by uid 500); 26 Nov 2008 15:04:21 -0000 Delivered-To: [email protected] Received: (qmail 9444 invoked by uid 500); 26 Nov 2008 15:04:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 9433 invoked by uid 99); 26 Nov 2008 15:04:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2008 07:04:20 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO assurant.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2008 15:02:54 +0000 Received: from ([161.129.204.104]) by mia0uirm02.mia0.assurant.com with ESMTP id 8TTHRF1.46120699; Wed, 26 Nov 2008 09:45:32 -0500 Received: from mke1zix01.assuranthealth.com (Not Verified[161.129.204.104]) by mia0tapp07.mia0.assurant.com with MailMarshal (v6,1,8,2172) id <B492d64ff0000>; Wed, 26 Nov 2008 10:02:23 -0500 Received: from mke1zix01.assuranthealth.com (ZixVPM [161.129.204.104]) by Outbound.assuranthealth.com (Proprietary) with ESMTP id A6B6814FAC6 for <[email protected]>; Wed, 26 Nov 2008 09:02:22 -0600 (CST) Received: from mkenotes2.notes.assurant.com (unknown [161.129.204.104]) by mke1zix01.assuranthealth.com (Proprietary) with ESMTP id 0D53D1C78E7 for <[email protected]>; Wed, 26 Nov 2008 09:02:22 -0600 (CST) Subject: Raj Muchhala is out of the office. From: [email protected] To: "Log4NET User" <[email protected]> Message-ID: <[email protected]> Date: Wed, 26 Nov 2008 09:02:18 -0600 X-MIMETrack: Serialize by Router on MKENOTES2/SERVER/ASSURANT/US(Release 7.0.3|September 26, 2007) at 11/26/2008 09:02:21 AM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org I will be out of the office starting Wed 11/26/2008 and will not return until Mon 12/01/2008. I will respond to your message when I return. ************************************************************************************** This e-mail message and all attachments transmitted with it may contain legally privileged and/or confidential information intended solely for the use of the addressee(s). If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, forwarding or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete this message and all copies and backups thereof. Thank you. ************************************************************************************** From [email protected] Wed Nov 26 16:03:19 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66763 invoked from network); 26 Nov 2008 16:03:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Nov 2008 16:03:19 -0000 Received: (qmail 17390 invoked by uid 500); 26 Nov 2008 16:03:28 -0000 Delivered-To: [email protected] Received: (qmail 17370 invoked by uid 500); 26 Nov 2008 16:03:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 17358 invoked by uid 99); 26 Nov 2008 16:03:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2008 08:03:28 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO assurant.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2008 16:02:02 +0000 Received: from ([161.129.204.104]) by mia0uirm01.mia0.assurant.com with ESMTP id 4VTHRF1.45688308; Wed, 26 Nov 2008 10:47:09 -0500 Received: from mke1zix02.assuranthealth.com (Not Verified[161.129.204.104]) by mia0tapp06 with MailMarshal (v6,1,8,2172) id <B492d745a0001>; Wed, 26 Nov 2008 11:07:54 -0500 Received: from mke1zix02.assuranthealth.com (ZixVPM [161.129.204.104]) by Outbound.assuranthealth.com (Proprietary) with ESMTP id D43EA87DE2 for <[email protected]>; Wed, 26 Nov 2008 10:02:43 -0600 (CST) Received: from mkenotes2.notes.assurant.com (unknown [161.129.204.104]) by mke1zix02.assuranthealth.com (Proprietary) with ESMTP id 39966107BE4 for <[email protected]>; Wed, 26 Nov 2008 10:02:43 -0600 (CST) Subject: Raj Muchhala is out of the office. From: [email protected] To: "Log4NET User" <[email protected]> Message-ID: <[email protected]> Date: Wed, 26 Nov 2008 10:02:41 -0600 X-MIMETrack: Serialize by Router on MKENOTES2/SERVER/ASSURANT/US(Release 7.0.3|September 26, 2007) at 11/26/2008 10:02:43 AM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org I will be out of the office starting Wed 11/26/2008 and will not return until Mon 12/01/2008. I will respond to your message when I return. ************************************************************************************** This e-mail message and all attachments transmitted with it may contain legally privileged and/or confidential information intended solely for the use of the addressee(s). If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, forwarding or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete this message and all copies and backups thereof. Thank you. ************************************************************************************** From [email protected] Wed Nov 26 17:48:31 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10036 invoked from network); 26 Nov 2008 17:48:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Nov 2008 17:48:31 -0000 Received: (qmail 3263 invoked by uid 500); 26 Nov 2008 17:48:40 -0000 Delivered-To: [email protected] Received: (qmail 3241 invoked by uid 500); 26 Nov 2008 17:48:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 3230 invoked by uid 99); 26 Nov 2008 17:48:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2008 09:48:40 -0800 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2008 17:47:11 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1L5ORU-0002WO-4a for [email protected]; Wed, 26 Nov 2008 09:44:48 -0800 Message-ID: <[email protected]> Date: Wed, 26 Nov 2008 09:44:48 -0800 (PST) From: suedeuno <[email protected]> To: [email protected] Subject: Re: configuration problems, not logging In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org I created a unit test and got some debug info back finally but I'm unclear why it's happening. I'm calling Configure in my utility class -> public LogUtility() { log4net.Config.XmlConfigurator.Configure(); log = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); } LogUtilityTests.LoggerIsSuccessful : Passedlog4net: log4net assembly [log4net, Version=161.129.204.104, Culture=neutral, PublicKeyToken=1b44e1d426115821]. Loaded from [Global Assembly Cache]. (.NET Runtime [2.0.50727.3053] on Microsoft Windows NT 5.1.2600 Service Pack 2) log4net: log4net assembly [log4net, Version=161.129.204.104, Culture=neutral, PublicKeyToken=1b44e1d426115821]. Loaded from [Global Assembly Cache]. (.NET Runtime [2.0.50727.3053] on Microsoft Windows NT 5.1.2600 Service Pack 2) log4net: DefaultRepositorySelector: defaultRepositoryType [log4net.Repository.Hierarchy.Hierarchy] log4net: DefaultRepositorySelector: defaultRepositoryType [log4net.Repository.Hierarchy.Hierarchy] log4net: DefaultRepositorySelector: Creating repository for assembly [Common, Version=161.129.204.104, Culture=neutral, PublicKeyToken=null] log4net: DefaultRepositorySelector: Creating repository for assembly [Common, Version=161.129.204.104, Culture=neutral, PublicKeyToken=null] log4net: DefaultRepositorySelector: Assembly [Common, Version=161.129.204.104, Culture=neutral, PublicKeyToken=null] Loaded From [C:\Documents and Settings\user\Local Settings\Temp\tpo4otwu.afk\Common.Test\assembly\dl3\276e0687\2c87db19_ed4fc901\Common.DLL] log4net: DefaultRepositorySelector: Assembly [Common, Version=161.129.204.104, Culture=neutral, PublicKeyToken=null] Loaded From [C:\Documents and Settings\user\Local Settings\Temp\tpo4otwu.afk\Common.Test\assembly\dl3\276e0687\2c87db19_ed4fc901\Common.DLL] log4net: DefaultRepositorySelector: Assembly [Common, Version=161.129.204.104, Culture=neutral, PublicKeyToken=null] does not have a RepositoryAttribute specified. log4net: DefaultRepositorySelector: Assembly [Common, Version=161.129.204.104, Culture=neutral, PublicKeyToken=null] does not have a RepositoryAttribute specified. log4net: DefaultRepositorySelector: Assembly [Common, Version=161.129.204.104, Culture=neutral, PublicKeyToken=null] using repository [log4net-default-repository] and repository type [log4net.Repository.Hierarchy.Hierarchy] log4net: DefaultRepositorySelector: Assembly [Common, Version=161.129.204.104, Culture=neutral, PublicKeyToken=null] using repository [log4net-default-repository] and repository type [log4net.Repository.Hierarchy.Hierarchy] log4net: DefaultRepositorySelector: Creating repository [log4net-default-repository] using type [log4net.Repository.Hierarchy.Hierarchy] log4net: DefaultRepositorySelector: Creating repository [log4net-default-repository] using type [log4net.Repository.Hierarchy.Hierarchy] log4net: XmlConfigurator: configuring repository [log4net-default-repository] using .config file section log4net: XmlConfigurator: configuring repository [log4net-default-repository] using .config file section log4net: XmlConfigurator: Application config file is [C:\Documents and Settings\user\My Documents\Visual Studio 2008\Projects\project1\Common.Test\bin\Debug\Common.Test.dll.config] log4net: XmlConfigurator: Application config file is [C:\Documents and Settings\user\My Documents\Visual Studio 2008\Projects\project1\Common.Test\bin\Debug\Common.Test.dll.config] log4net:ERROR XmlConfigurator: Failed to parse config file. Is the <configSections> specified as: <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net, Version=161.129.204.104, Culture=neutral, PublicKeyToken=1b44e1d426115821" /> log4net:ERROR XmlConfigurator: Failed to parse config file. Is the <configSections> specified as: <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net, Version=161.129.204.104, Culture=neutral, PublicKeyToken=1b44e1d426115821" /> System.Configuration.ConfigurationErrorsException: An error occurred creating the configuration section handler for log4net: Could not load file or assembly 'log4net' or one of its dependencies. The system cannot find the file specified. (C:\Documents and Settings\user\My Documents\Visual Studio 2008\Projects\project1\Common.Test\bin\Debug\Common.Test.dll.config line 5) ---> System.IO.FileNotFoundException: Could not load file or assembly 'log4net' or one of its dependencies. The system cannot find the file specified. File name: 'log4net' at System.Configuration.TypeUtil.GetTypeWithReflectionPermission(IInternalConfigHost host, String typeString, Boolean throwOnError) at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.Init(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord) at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.InitWithRestrictedPermissions(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord) at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory..ctor(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord) at System.Configuration.RuntimeConfigurationRecord.CreateSectionFactory(FactoryRecord factoryRecord) at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere) === Pre-bind state information === LOG: User = domain\user LOG: DisplayName = log4net (Partial) LOG: Appbase = file:///C:/Documents and Settings/user/My Documents/Visual Studio 2008/Projects/project1/Common.Test/bin/Debug LOG: Initial PrivatePath = NULL Calling assembly : System.Configuration, Version=161.129.204.104, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. === LOG: This bind starts in default load context. LOG: Using application configuration file: C:\Documents and Settings\user\My Documents\Visual Studio 2008\Projects\project1\Common.Test\bin\Debug\Common.Test.dll.config LOG: Using machine configuration file from c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config. LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). LOG: Attempting download of new URL file:///C:/Documents and Settings/user/My Documents/Visual Studio 2008/Projects/project1/Common.Test/bin/Debug/log4net.DLL. LOG: Attempting download of new URL file:///C:/Documents and Settings/user/My Documents/Visual Studio 2008/Projects/project1/Common.Test/bin/Debug/log4net/log4net.DLL. LOG: Attempting download of new URL file:///C:/Documents and Settings/user/My Documents/Visual Studio 2008/Projects/project1/Common.Test/bin/Debug/log4net.EXE. LOG: Attempting download of new URL file:///C:/Documents and Settings/user/My Documents/Visual Studio 2008/Projects/project1/Common.Test/bin/Debug/log4net/log4net.EXE. --- End of inner exception stack trace --- at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere) at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) at System.Configuration.BaseConfigurationRecord.GetSection(String configKey, Boolean getLkg, Boolean checkPermission) at System.Configuration.BaseConfigurationRecord.GetSection(String configKey) at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName) at System.Configuration.ConfigurationManager.GetSection(String sectionName) at log4net.Config.XmlConfigurator.Configure(ILoggerRepository repository) System.Configuration.ConfigurationErrorsException: An error occurred creating the configuration section handler for log4net: Could not load file or assembly 'log4net' or one of its dependencies. The system cannot find the file specified. (C:\Documents and Settings\user\My Documents\Visual Studio 2008\Projects\project1\Common.Test\bin\Debug\Common.Test.dll.config line 5) ---> System.IO.FileNotFoundException: Could not load file or assembly 'log4net' or one of its dependencies. The system cannot find the file specified. File name: 'log4net' at System.Configuration.TypeUtil.GetTypeWithReflectionPermission(IInternalConfigHost host, String typeString, Boolean throwOnError) at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.Init(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord) at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.InitWithRestrictedPermissions(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord) at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory..ctor(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord) at System.Configuration.RuntimeConfigurationRecord.CreateSectionFactory(FactoryRecord factoryRecord) at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere) === Pre-bind state information === LOG: User = domain\user LOG: DisplayName = log4net (Partial) LOG: Appbase = file:///C:/Documents and Settings/user/My Documents/Visual Studio 2008/Projects/project1/Common.Test/bin/Debug LOG: Initial PrivatePath = NULL Calling assembly : System.Configuration, Version=161.129.204.104, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. === LOG: This bind starts in default load context. LOG: Using application configuration file: C:\Documents and Settings\user\My Documents\Visual Studio 2008\Projects\project1\Common.Test\bin\Debug\Common.Test.dll.config LOG: Using machine configuration file from c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config. LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). LOG: Attempting download of new URL file:///C:/Documents and Settings/user/My Documents/Visual Studio 2008/Projects/project1/Common.Test/bin/Debug/log4net.DLL. LOG: Attempting download of new URL file:///C:/Documents and Settings/user/My Documents/Visual Studio 2008/Projects/project1/Common.Test/bin/Debug/log4net/log4net.DLL. LOG: Attempting download of new URL file:///C:/Documents and Settings/user/My Documents/Visual Studio 2008/Projects/project1/Common.Test/bin/Debug/log4net.EXE. LOG: Attempting download of new URL file:///C:/Documents and Settings/user/My Documents/Visual Studio 2008/Projects/project1/Common.Test/bin/Debug/log4net/log4net.EXE. --- End of inner exception stack trace --- at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere) at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) at System.Configuration.BaseConfigurationRecord.GetSection(String configKey, Boolean getLkg, Boolean checkPermission) at System.Configuration.BaseConfigurationRecord.GetSection(String configKey) at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName) at System.Configuration.ConfigurationManager.GetSection(String sectionName) at log4net.Config.XmlConfigurator.Configure(ILoggerRepository repository) -- View this message in context: http://www.nabble.com/configuration-problems%2C-not-logging-tp20688643p20705784.html Sent from the Log4net - Users mailing list [email protected]. From [email protected] Wed Nov 26 21:55:07 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5043 invoked from network); 26 Nov 2008 21:55:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Nov 2008 21:55:07 -0000 Received: (qmail 14484 invoked by uid 500); 26 Nov 2008 21:55:17 -0000 Delivered-To: [email protected] Received: (qmail 14461 invoked by uid 500); 26 Nov 2008 21:55:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 14450 invoked by uid 99); 26 Nov 2008 21:55:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2008 13:55:17 -0800 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2008 21:53:50 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1L5SLD-0002pE-Ee for [email protected]; Wed, 26 Nov 2008 13:54:35 -0800 Message-ID: <[email protected]> Date: Wed, 26 Nov 2008 13:54:35 -0800 (PST) From: suedeuno <[email protected]> To: [email protected] Subject: Re: configuration problems, not logging In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] References: <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Ok, I added [assembly: XmlConfigurator()] to the AssemblyInfo files and the unit tests log the messages successfully however I still am unable to log from the web project. Ideas anyone? -- View this message in context: http://www.nabble.com/configuration-problems%2C-not-logging-tp20688643p20709668.html Sent from the Log4net - Users mailing list [email protected]. From [email protected] Wed Nov 26 22:47:18 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27822 invoked from network); 26 Nov 2008 22:47:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Nov 2008 22:47:17 -0000 Received: (qmail 78190 invoked by uid 500); 26 Nov 2008 22:47:28 -0000 Delivered-To: [email protected] Received: (qmail 78165 invoked by uid 500); 26 Nov 2008 22:47:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 78154 invoked by uid 99); 26 Nov 2008 22:47:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2008 14:47:27 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO web30507.mail.mud.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 26 Nov 2008 22:46:00 +0000 Received: (qmail 5801 invoked by uid 60001); 26 Nov 2008 22:45:44 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=Zvf6i93S5vHynhvoAsf86Ah5xnIZWrXMw2pwrhpL69qnW7rlvkAlqg7BGxJuiaVuBEzKheGP+Ka66APGifNWfIjNJdHCpWmNyJZUenoKMVO6VFH+umJMNwJsuOrT/yH+WwmJnkyFhmyj7cXV2k4TUmPfgtCd+GXl3xcHrIr1WVY=; X-YMail-OSG: iSkqtgQVM1kHJkevk7HJDf0h.2WG9cKjXWs5_SAqeErzvlAt48Fp9v3qP7siQlF5fZLG0Sd.quYS5z2.HagaSmOqYzMkoM6.NLPZwGGOgCO5hi5.nj.mq5TkFlpY8S3r0o4K0TFSLt4UO76abDORpZoJocfN4gh_7WTUOpKYXJBnbu7B.dG1kaWoxw-- Received: from [161.129.204.104] by web30507.mail.mud.yahoo.com via HTTP; Wed, 26 Nov 2008 14:45:44 PST X-Mailer: YahooMailRC/1155.32 YahooMailWebService/0.7.260.1 References: <[email protected]> Date: Wed, 26 Nov 2008 14:45:44 -0800 (PST) From: Ron Grabowski <[email protected]> Subject: Re: configuration problems, not logging To: Log4NET User <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org What happens when you make the buffer size 1? ----- Original Message ---- From: suedeuno <[email protected]> To: [email protected] Sent: Tuesday, November 25, 2008 3:05:29 PM Subject: configuration problems, not logging What's missing here? Using profiler, the database never receives the call. web.config: <log4net> <appender name="ADONetAppender" type="log4net.Appender.ADONetAppender"> <bufferSize value="100" /> [snip] From [email protected] Wed Nov 26 22:50:33 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28539 invoked from network); 26 Nov 2008 22:50:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Nov 2008 22:50:33 -0000 Received: (qmail 80582 invoked by uid 500); 26 Nov 2008 22:50:42 -0000 Delivered-To: [email protected] Received: (qmail 80558 invoked by uid 500); 26 Nov 2008 22:50:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 80547 invoked by uid 99); 26 Nov 2008 22:50:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2008 14:50:42 -0800 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2008 22:49:15 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1L5TCr-0005pf-DR for [email protected]; Wed, 26 Nov 2008 14:50:01 -0800 Message-ID: <[email protected]> Date: Wed, 26 Nov 2008 14:50:01 -0800 (PST) From: suedeuno <[email protected]> To: [email protected] Subject: Re: configuration problems, not logging In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org I got it to work. I removed a named logger in the config file and that seemed to make it work. Still not sure why I had to use attributes in the assemblyinfo files though, I was calling log4net.Config.XmlConfigurator.Configure(); in my logger class. Ron Grabowski wrote: > > What happens when you make the buffer size 1? > -- View this message in context: http://www.nabble.com/configuration-problems%2C-not-logging-tp20688643p20710553.html Sent from the Log4net - Users mailing list [email protected]. From [email protected] Thu Nov 27 09:18:44 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42294 invoked from network); 27 Nov 2008 09:18:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Nov 2008 09:18:43 -0000 Received: (qmail 16532 invoked by uid 500); 27 Nov 2008 09:18:53 -0000 Delivered-To: [email protected] Received: (qmail 16509 invoked by uid 500); 27 Nov 2008 09:18:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 16498 invoked by uid 99); 27 Nov 2008 09:18:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Nov 2008 01:18:53 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO main.hasam.cz) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Nov 2008 09:17:27 +0000 Subject: RE: configuration problems, not logging Date: Thu, 27 Nov 2008 10:17:50 +0100 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable In-Reply-To: <[email protected]> X-MS-Has-Attach: Content-class: urn:content-classes:message X-MS-TNEF-Correlator: X-MimeOLE: Produced By Microsoft Exchange V6.5 Thread-Topic: configuration problems, not logging Thread-Index: AclP7zNZ07xZn8pCQm2f6+SKs2Pv7gAgVnFg References: <[email protected]> <[email protected]> <[email protected]> From: "Radovan Raszka" <[email protected]> To: "Log4NET User" <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org You probably missing these lines in your web.config / app.config <configSections> <section name=3D"log4net" = type=3D"log4net.Config.Log4NetConfigurationSectionHandler, log4net" /> </configSections> See http://logging.apache.org/log4net/release/manual/configuration.html, = .config Files paragraph Radovan -----P=F9vodn=ED zpr=E1va----- Od: suedeuno [mailto:[email protected]]=20 Odesl=E1no: 26. listopadu 2008 18:45 Komu: [email protected] P=F8edm=ECt: Re: configuration problems, not logging I created a unit test and got some debug info back finally but I'm = unclear why it's happening. I'm calling Configure in my utility class -> =20 public LogUtility() { log4net.Config.XmlConfigurator.Configure(); log =3D LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().Decl= aringType); } LogUtilityTests.LoggerIsSuccessful : Passedlog4net: log4net assembly = [log4net, Version=3D161.129.204.104, Culture=3Dneutral,=20 PublicKeyToken=3D1b44e1d426115821]. Loaded from [Global Assembly Cache]. = (.NET Runtime [2.0.50727.3053] on Microsoft Windows NT 5.1.2600 Service=20 Pack 2) log4net: log4net assembly [log4net, Version=3D161.129.204.104, = Culture=3Dneutral, PublicKeyToken=3D1b44e1d426115821]. Loaded from = [Global Assembly Cache].=20 (.NET Runtime [2.0.50727.3053] on Microsoft Windows NT 5.1.2600 Service = Pack 2) log4net: DefaultRepositorySelector: defaultRepositoryType = [log4net.Repository.Hierarchy.Hierarchy] log4net: DefaultRepositorySelector: defaultRepositoryType = [log4net.Repository.Hierarchy.Hierarchy] log4net: DefaultRepositorySelector: Creating repository for assembly = [Common, Version=3D161.129.204.104, Culture=3Dneutral, PublicKeyToken=3Dnull] log4net: DefaultRepositorySelector: Creating repository for assembly = [Common, Version=3D161.129.204.104, Culture=3Dneutral, PublicKeyToken=3Dnull] log4net: DefaultRepositorySelector: Assembly [Common, Version=3D161.129.204.104, = Culture=3Dneutral, PublicKeyToken=3Dnull] Loaded From [C:\Documents and=20 Settings\user\Local Settings\Temp\tpo4otwu.afk\Common.Test\assembly\dl3\276e0687\2c87db19_ed4= fc901\Common.DLL] log4net: DefaultRepositorySelector: Assembly [Common, Version=3D161.129.204.104, = Culture=3Dneutral, PublicKeyToken=3Dnull] Loaded From [C:\Documents and=20 Settings\user\Local Settings\Temp\tpo4otwu.afk\Common.Test\assembly\dl3\276e0687\2c87db19_ed4= fc901\Common.DLL] log4net: DefaultRepositorySelector: Assembly [Common, Version=3D161.129.204.104, = Culture=3Dneutral, PublicKeyToken=3Dnull] does not have a = RepositoryAttribute=20 specified. log4net: DefaultRepositorySelector: Assembly [Common, Version=3D161.129.204.104, = Culture=3Dneutral, PublicKeyToken=3Dnull] does not have a = RepositoryAttribute=20 specified. log4net: DefaultRepositorySelector: Assembly [Common, Version=3D161.129.204.104, = Culture=3Dneutral, PublicKeyToken=3Dnull] using repository=20 [log4net-default-repository] and repository type = [log4net.Repository.Hierarchy.Hierarchy] log4net: DefaultRepositorySelector: Assembly [Common, Version=3D161.129.204.104, = Culture=3Dneutral, PublicKeyToken=3Dnull] using repository=20 [log4net-default-repository] and repository type = [log4net.Repository.Hierarchy.Hierarchy] log4net: DefaultRepositorySelector: Creating repository = [log4net-default-repository] using type = [log4net.Repository.Hierarchy.Hierarchy] log4net: DefaultRepositorySelector: Creating repository = [log4net-default-repository] using type = [log4net.Repository.Hierarchy.Hierarchy] log4net: XmlConfigurator: configuring repository = [log4net-default-repository] using .config file section log4net: XmlConfigurator: configuring repository = [log4net-default-repository] using .config file section log4net: XmlConfigurator: Application config file is [C:\Documents and = Settings\user\My Documents\Visual Studio=20 2008\Projects\project1\Common.Test\bin\Debug\Common.Test.dll.config] log4net: XmlConfigurator: Application config file is [C:\Documents and = Settings\user\My Documents\Visual Studio=20 2008\Projects\project1\Common.Test\bin\Debug\Common.Test.dll.config] log4net:ERROR XmlConfigurator: Failed to parse config file. Is the = <configSections> specified as: <section name=3D"log4net" type=3D"log4net.Config.Log4NetConfigurationSectionHandler,log4net, Version=3D161.129.204.104, Culture=3Dneutral, = PublicKeyToken=3D1b44e1d426115821" /> log4net:ERROR XmlConfigurator: = Failed to parse config file. Is the <configSections> specified as: = <section name=3D"log4net"=20 type=3D"log4net.Config.Log4NetConfigurationSectionHandler,log4net, Version=3D161.129.204.104, Culture=3Dneutral, = PublicKeyToken=3D1b44e1d426115821" /> System.Configuration.ConfigurationErrorsException: An error occurred = creating the configuration section handler for log4net: Could not load = file=20 or assembly 'log4net' or one of its dependencies. The system cannot find = the file specified. (C:\Documents and Settings\user\My Documents\Visual=20 Studio = 2008\Projects\project1\Common.Test\bin\Debug\Common.Test.dll.config From [email protected] Thu Nov 27 09:45:38 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 72339 invoked from network); 27 Nov 2008 09:45:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Nov 2008 09:45:38 -0000 Received: (qmail 37902 invoked by uid 500); 27 Nov 2008 09:45:48 -0000 Delivered-To: [email protected] Received: (qmail 37877 invoked by uid 500); 27 Nov 2008 09:45:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 37866 invoked by uid 99); 27 Nov 2008 09:45:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Nov 2008 01:45:48 -0800 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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-gx0-f13.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Nov 2008 09:44:22 +0000 Received: by gxk6 with SMTP id 6so886887gxk.22 for <[email protected]>; Thu, 27 Nov 2008 01:44:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=xTDXpBkzRAJhGIEj3fjgAgnwSRW3S6XH+s2Tz1bjGvI=; b=oRBI+81c6yWrcg/5rjIGHLBbs9AFgnQcB5zbT9igur56vCmLbtyymjrCJ/vpHJ28VO psmBJ0JPMQl91wNeUVF8N04l47cx8FHoCE/WCobr2h37KufWc7JN/SVyEIzjiiHvfW2u Pi2W2iDlJqRaDWtFJ4ITp8cs7GPeqMACLte7s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=l6TgqTrFsEbGzd+b4uOWcFZRPCbj1Sg57U6/QCoXp5QdssSqhq8z/wSS8bdxX1BYdo 1uFYJy1PG6lDjuFPQeIHodS8wY4vucbqmGCEbdJxJL19pUSNi9fVZUNY2DN0JZFiDhMw R2BcU+iOn9q15oh668m7yojgW7dZke/0GHxdY= Received: by 161.129.204.104 with SMTP id v8mr7293904qbv.78.1227779048123; Thu, 27 Nov 2008 01:44:08 -0800 (PST) Received: by 161.129.204.104 with HTTP; Thu, 27 Nov 2008 01:44:08 -0800 (PST) Message-ID: <[email protected]> Date: Thu, 27 Nov 2008 09:44:08 +0000 From: "boombox boy" <[email protected]> To: "Log4NET User" <[email protected]> Subject: Re: Log4net.dll reference copy-local=true not behaving as expected In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_47331_8931739.1227779048148" References: <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_47331_8931739.1227779048148 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: base64 Content-Disposition: inline VGhlIHRoaW5nIGlzIE15TG9nV3JhcHBlciBpcyBidWlsdCBhcyBhIHJlbGVhc2UgbGlicmFyeSBh cyBpdCBpcyB1c2VkCnRocm91Z2hvdXQgYWxsIG15IGRpZmZlcmVudCBwcm9qZWN0cyBhbmQgdGhl cmVmb3JlIEkgZG8gbm90IHdhbnQgdG8gaGF2ZSBhCnByb2plY3QgcmVmZXJlbmNlLgpJIHRyaWVk IHJlbW92aW5nIGxvZzRuZXQuZGxsIGZyb20gdGhlIEdBQyBhbmQgbm93IGl0IHNlZW1zIHRvIGdl dCBjb3BpZWQKbG9jYWxseSBhcyBleHBlY3RlZC4gTWF5YmUgc29tZW9uZSBjb3VsZCBjbGFyaWZ5 IG9uIHdoeSB0aGlzIGlzIHRoZSBjYXNlPwoKQkIKCjIwMDgvMTEvMjYgUmFkb3ZhbiBSYXN6a2Eg PHJhc3prYUBoYXNhbS5jej4KCj4gIEhlbGxvLgo+IEluIG15IG9waW5pb24gaWYgeW91IHJlZmVy ZW5jZSBvbmx5IE15bG9nV3JhcHBlci5kbGwgZnJvbSB5b3VyIHByb2plY3QsCj4gb25seSB0aGlz IERMTCB3aWxsIGJlIGNvcGllZCB0byB0aGUgb3V0cHV0IGRpcmVjdG9yeS4KPiBJZiB5b3UgbmVl ZCB0byBjb3B5IGxvZzRuZXQuZGxsIGF1dG9tYXRpY2FsbHkgdG8gdGhlIG91dHB1dCwgeW91IG11 c3QKPiByZWZlcmVuY2UgTXlsb2dXcmFwcGVyIHByb2plY3QgZnJvbSB5b3VyIHByb2plY3Qgb3Ig Y3JlYXRlIHBvc3QtYnVpbGQgZXZlbnQKPiB3aGljaCBjb3BpZXMgbG9nNG5ldC5kbGwgdG8gb3V0 cHV0IGRpcmVjdG9yeQo+IFJhZG92YW4KPgo+ICAtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0KPiAqT2Q6KiBib29tYm94IGJveSBbbWFpbHRvOmJvb21ib3hib3lAZ21haWwuY29tXQo+ICpP ZGVzbOFubzoqIDI2LiBsaXN0b3BhZHUgMjAwOCAxMjoyMgo+ICpLb211OiogbG9nNG5ldC11c2Vy QGxvZ2dpbmcuYXBhY2hlLm9yZwo+ICpQ+GVkbex0OiogUmU6IExvZzRuZXQuZGxsIHJlZmVyZW5j ZSBjb3B5LWxvY2FsPXRydWUgbm90IGJlaGF2aW5nIGFzCj4gZXhwZWN0ZWQKPgo+ICAgKioKPj4K PiAgSGkgSSBoYXZlIGEgY3VzdG9tIGxvZyB3cmFwcGVyIHRoYXQgdXRpbGl6ZXMgbG9nNG5ldC4g SSBidWlsZCBhIHJlbGVhc2UKPiBhc3NlbWJseSBvZiBNeUxvZ1dyYXBwZXIuZGxsIHdpdGggbG9n NG5ldC5kbGwgcmVmZXJlbmNlIHNldCB0byBjb3B5LWxvY2FsCj4gdHJ1ZS4gUmVmZXJlbmNpbmcg TXlMb2dXcmFwcGVyLmRsbCBmcm9tIE15UHJvamVjdCB3aXRoIGNvcHkgbG9jYWwgc2V0IHRvCj4g dHJ1ZSBzaG91bGQgcmVzdWx0IGluIGxvZzRuZXQuZGxsIGJlaW5nIGNvcGllZCBhcyB3ZWxsLCBy aWdodD8gSSBhbSBub3QKPiB1c2luZyBhbnkgTG9nNG5ldCBjbGFzc2VzIGluIE15UHJvamVjdCBh cyB0aGV5IGFyZSBhbGwgd3JhcHBlZCBpbgo+IE15TG9nV3JhcHBlciBhbmQgdGhlcmVmb3JlIEkg ZG8gbm90IHJlZmVyZW5jZSBMb2c0TmV0IGZyb20gTXlQcm9qZWN0Lgo+IERpc3BpdGUgTG9nNG5l dCBiZWluZyBhIGRlcGVuZGVuY3kgb2YgTXlMb2dXcmFwcGVyIGl0IGlzIG5vdCBiZWluZyBjb3Bp ZWQgdG8KPiBNeVByb2plY3Qgb3V0cHV0IGRpcmVjdG9yeSBidXQgYWxsIG90aGVyIGRlcGVuZGVu Y2llcyBvZiBNeUxvZ1dyYXBwZXIgYXJlLgo+IFdoYXQgY291bGQgYmUgdGhlIHByb2JsZW0/Cj4K Pgo+IFRJQQo+Cj4+Cj4+Cj4K ------=_Part_47331_8931739.1227779048148 Content-Type: text/html; charset=ISO-8859-2 Content-Transfer-Encoding: base64 Content-Disposition: inline VGhlIHRoaW5nIGlzIE15TG9nV3JhcHBlciBpcyBidWlsdCBhcyBhIHJlbGVhc2UgbGlicmFyeSBh cyBpdCBpcyB1c2VkIHRocm91Z2hvdXQgYWxsIG15IGRpZmZlcmVudCBwcm9qZWN0cyBhbmQgdGhl cmVmb3JlIEkgZG8gbm90IHdhbnQgdG8gaGF2ZSBhIHByb2plY3QgcmVmZXJlbmNlLiA8YnI+SSB0 cmllZCByZW1vdmluZyBsb2c0bmV0LmRsbCBmcm9tIHRoZSBHQUMgYW5kIG5vdyBpdCBzZWVtcyB0 byBnZXQgY29waWVkIGxvY2FsbHkgYXMgZXhwZWN0ZWQuIE1heWJlIHNvbWVvbmUgY291bGQgY2xh cmlmeSBvbiB3aHkgdGhpcyBpcyB0aGUgY2FzZT88YnI+Cjxicj5CQjxicj48YnI+PGRpdiBjbGFz cz0iZ21haWxfcXVvdGUiPjIwMDgvMTEvMjYgUmFkb3ZhbiBSYXN6a2EgPHNwYW4gZGlyPSJsdHIi PiZsdDs8YSBocmVmPSJtYWlsdG86cmFzemthQGhhc2FtLmN6Ij5yYXN6a2FAaGFzYW0uY3o8L2E+ Jmd0Ozwvc3Bhbj48YnI+PGJsb2NrcXVvdGUgY2xhc3M9ImdtYWlsX3F1b3RlIiBzdHlsZT0iYm9y ZGVyLWxlZnQ6IDFweCBzb2xpZCByZ2IoMjA0LCAyMDQsIDIwNCk7IG1hcmdpbjogMHB0IDBwdCAw cHQgMC44ZXg7IHBhZGRpbmctbGVmdDogMWV4OyI+CgoKCgo8ZGl2Pgo8ZGl2IGRpcj0ibHRyIiBh bGlnbj0ibGVmdCI+PHNwYW4+PGZvbnQgY29sb3I9IiMwMDAwZmYiIHNpemU9IjIiIGZhY2U9IkFy aWFsIj5IZWxsby48L2ZvbnQ+PC9zcGFuPjwvZGl2Pgo8ZGl2IGRpcj0ibHRyIiBhbGlnbj0ibGVm dCI+PHNwYW4+PGZvbnQgY29sb3I9IiMwMDAwZmYiIHNpemU9IjIiIGZhY2U9IkFyaWFsIj5JbiBt eSBvcGluaW9uIGlmIHlvdSByZWZlcmVuY2Ugb25seSBNeWxvZ1dyYXBwZXIuZGxsIGZyb20gCnlv dXIgcHJvamVjdCwgb25seSB0aGlzIERMTCB3aWxsIGJlIGNvcGllZCB0byB0aGUgb3V0cHV0IApk aXJlY3RvcnkuPC9mb250Pjwvc3Bhbj48L2Rpdj4KPGRpdiBkaXI9Imx0ciIgYWxpZ249ImxlZnQi PjxzcGFuPjxmb250IGNvbG9yPSIjMDAwMGZmIiBzaXplPSIyIiBmYWNlPSJBcmlhbCI+SWYgeW91 IG5lZWQgdG8gY29weSBsb2c0bmV0LmRsbCBhdXRvbWF0aWNhbGx5IHRvIHRoZSAKb3V0cHV0LCB5 b3UgbXVzdCByZWZlcmVuY2UgTXlsb2dXcmFwcGVyIHByb2plY3QgZnJvbSB5b3VyIHByb2plY3Qg b3IgY3JlYXRlIApwb3N0LWJ1aWxkIGV2ZW50IHdoaWNoIGNvcGllcyBsb2c0bmV0LmRsbCB0byBv dXRwdXQgCmRpcmVjdG9yeTwvZm9udD48L3NwYW4+PC9kaXY+CjxkaXYgZGlyPSJsdHIiIGFsaWdu PSJsZWZ0Ij48c3Bhbj48Zm9udCBjb2xvcj0iIzAwMDBmZiIgc2l6ZT0iMiIgZmFjZT0iQXJpYWwi PlJhZG92YW48L2ZvbnQ+PC9zcGFuPjwvZGl2Pjxicj4KPGRpdiBkaXI9Imx0ciIgYWxpZ249Imxl ZnQiIGxhbmc9ImNzIj4KPGhyPgo8Zm9udCBzaXplPSIyIiBmYWNlPSJUYWhvbWEiPjxiPk9kOjwv Yj4gYm9vbWJveCBib3kgW21haWx0bzo8YSBocmVmPSJtYWlsdG86Ym9vbWJveGJveUBnbWFpbC5j b20iIHRhcmdldD0iX2JsYW5rIj5ib29tYm94Ym95QGdtYWlsLmNvbTwvYT5dIAo8YnI+PGI+T2Rl c2zhbm86PC9iPiAyNi4gbGlzdG9wYWR1IDIwMDggMTI6MjI8YnI+PGI+S29tdTo8L2I+IAo8YSBo cmVmPSJtYWlsdG86bG9nNG5ldC11c2VyQGxvZ2dpbmcuYXBhY2hlLm9yZyIgdGFyZ2V0PSJfYmxh bmsiPmxvZzRuZXQtdXNlckBsb2dnaW5nLmFwYWNoZS5vcmc8L2E+PGJyPjxiPlD4ZWRt7HQ6PC9i PiBSZTogTG9nNG5ldC5kbGwgcmVmZXJlbmNlIApjb3B5LWxvY2FsPXRydWUgbm90IGJlaGF2aW5n IGFzIGV4cGVjdGVkPGJyPjwvZm9udD48YnI+PC9kaXY+PGRpdiBjbGFzcz0iSWgyRTNkIj4KPGRp dj48L2Rpdj4KPGRpdiBjbGFzcz0iZ21haWxfcXVvdGUiPgo8YmxvY2txdW90ZSBjbGFzcz0iZ21h aWxfcXVvdGUiIHN0eWxlPSJib3JkZXItbGVmdDogMXB4IHNvbGlkIHJnYigyMDQsIDIwNCwgMjA0 KTsgbWFyZ2luOiAwcHQgMHB0IDBwdCAwLjhleDsgcGFkZGluZy1sZWZ0OiAxZXg7Ij48c3Bhbj48 L3NwYW4+CiAgPGRpdj48Yj48L2I+PC9kaXY+PC9ibG9ja3F1b3RlPgo8ZGl2Pgo8cD5IaSBJIGhh dmUgYSBjdXN0b20gbG9nIHdyYXBwZXIgdGhhdCB1dGlsaXplcyBsb2c0bmV0LiBJIGJ1aWxkIGEg cmVsZWFzZSAKYXNzZW1ibHkgb2YgTXlMb2dXcmFwcGVyLmRsbCB3aXRoIGxvZzRuZXQuZGxsIHJl ZmVyZW5jZSBzZXQgdG8gY29weS1sb2NhbCB0cnVlLiAKUmVmZXJlbmNpbmcgTXlMb2dXcmFwcGVy LmRsbCBmcm9tIE15UHJvamVjdCB3aXRoIGNvcHkgbG9jYWwgc2V0IHRvIHRydWUgc2hvdWxkIApy ZXN1bHQgaW4gbG9nNG5ldC5kbGwgYmVpbmcgY29waWVkIGFzIHdlbGwsIHJpZ2h0PyBJIGFtIG5v dCB1c2luZyBhbnkgTG9nNG5ldCAKY2xhc3NlcyBpbiBNeVByb2plY3QgYXMgdGhleSBhcmUgYWxs IHdyYXBwZWQgaW4gTXlMb2dXcmFwcGVyIGFuZCB0aGVyZWZvcmUgSSBkbyAKbm90IHJlZmVyZW5j ZSBMb2c0TmV0IGZyb20gTXlQcm9qZWN0LiBEaXNwaXRlIExvZzRuZXQgYmVpbmcgYSBkZXBlbmRl bmN5IG9mIApNeUxvZ1dyYXBwZXIgaXQgaXMgbm90IGJlaW5nIGNvcGllZCB0byBNeVByb2plY3Qg b3V0cHV0IGRpcmVjdG9yeSBidXQgYWxsIG90aGVyIApkZXBlbmRlbmNpZXMgb2YgTXlMb2dXcmFw cGVyIGFyZS4gV2hhdCBjb3VsZCBiZSB0aGUgcHJvYmxlbT88L3A+CjxwPjxicj48L3A+VElBPGJy PjwvZGl2Pgo8YmxvY2txdW90ZSBjbGFzcz0iZ21haWxfcXVvdGUiIHN0eWxlPSJib3JkZXItbGVm dDogMXB4IHNvbGlkIHJnYigyMDQsIDIwNCwgMjA0KTsgbWFyZ2luOiAwcHQgMHB0IDBwdCAwLjhl eDsgcGFkZGluZy1sZWZ0OiAxZXg7Ij4KICA8ZGl2Pjxicj48L2Rpdj48L2Jsb2NrcXVvdGU+PC9k aXY+PGJyPjwvZGl2PjwvZGl2Pgo8L2Jsb2NrcXVvdGU+PC9kaXY+PGJyPgo= ------=_Part_47331_8931739.1227779048148--
From [email protected] Tue Sep 01 01:32:21 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 72486 invoked from network); 1 Sep 2009 01:32:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Sep 2009 01:32:21 -0000 Received: (qmail 69376 invoked by uid 500); 1 Sep 2009 01:32:20 -0000 Delivered-To: [email protected] Received: (qmail 69266 invoked by uid 500); 1 Sep 2009 01:32:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 69257 invoked by uid 99); 1 Sep 2009 01:32:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 01:32:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 01:32:17 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 30F8523888D6; Tue, 1 Sep 2009 01:31:56 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r809791 - in /tapestry/tapestry5/trunk: tapestry-annotations/ tapestry-component-report/ tapestry-core/ tapestry-hibernate-core/ tapestry-hibernate/ tapestry-ioc/ tapestry-spring/ tapestry-test/ tapestry-tutorial1/ tapestry-upload/ tapestry... Date: Tue, 01 Sep 2009 01:31:55 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: kmenard Date: Tue Sep 1 01:31:54 2009 New Revision: 809791 URL: http://svn.apache.org/viewvc?rev=809791&view=rev Log: Fixed TAP5-819: remove ide-specific files from all sub-modules and add them to svn:ignore Removed: tapestry/tapestry5/trunk/tapestry-annotations/.classpath tapestry/tapestry5/trunk/tapestry-annotations/.project tapestry/tapestry5/trunk/tapestry-component-report/.classpath tapestry/tapestry5/trunk/tapestry-component-report/.project tapestry/tapestry5/trunk/tapestry-core/.classpath tapestry/tapestry5/trunk/tapestry-core/.project tapestry/tapestry5/trunk/tapestry-hibernate/.classpath tapestry/tapestry5/trunk/tapestry-hibernate/.project tapestry/tapestry5/trunk/tapestry-ioc/.classpath tapestry/tapestry5/trunk/tapestry-ioc/.project tapestry/tapestry5/trunk/tapestry-spring/.classpath tapestry/tapestry5/trunk/tapestry-spring/.project tapestry/tapestry5/trunk/tapestry-test/.classpath tapestry/tapestry5/trunk/tapestry-test/.project tapestry/tapestry5/trunk/tapestry-tutorial1/.classpath tapestry/tapestry5/trunk/tapestry-tutorial1/.project tapestry/tapestry5/trunk/tapestry-upload/.classpath tapestry/tapestry5/trunk/tapestry-upload/.project Modified: tapestry/tapestry5/trunk/tapestry-annotations/ (props changed) tapestry/tapestry5/trunk/tapestry-component-report/ (props changed) tapestry/tapestry5/trunk/tapestry-core/ (props changed) tapestry/tapestry5/trunk/tapestry-hibernate/ (props changed) tapestry/tapestry5/trunk/tapestry-hibernate-core/ (props changed) tapestry/tapestry5/trunk/tapestry-ioc/ (props changed) tapestry/tapestry5/trunk/tapestry-spring/ (props changed) tapestry/tapestry5/trunk/tapestry-test/ (props changed) tapestry/tapestry5/trunk/tapestry-tutorial1/ (props changed) tapestry/tapestry5/trunk/tapestry-upload/ (props changed) tapestry/tapestry5/trunk/tapestry-webflow/ (props changed) Propchange: tapestry/tapestry5/trunk/tapestry-annotations/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Tue Sep 1 01:31:54 2009 @@ -1 +1,3 @@ target +.classpath +.project Propchange: tapestry/tapestry5/trunk/tapestry-component-report/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Tue Sep 1 01:31:54 2009 @@ -1,2 +1,4 @@ target bin +.classpath +.project Propchange: tapestry/tapestry5/trunk/tapestry-core/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Tue Sep 1 01:31:54 2009 @@ -8,3 +8,5 @@ testng.xml null bin-test +.classpath +.project Propchange: tapestry/tapestry5/trunk/tapestry-hibernate/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Tue Sep 1 01:31:54 2009 @@ -4,3 +4,5 @@ cobertura.ser null test-output +.classpath +.project Propchange: tapestry/tapestry5/trunk/tapestry-hibernate-core/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Tue Sep 1 01:31:54 2009 @@ -0,0 +1,2 @@ +.classpath +.project Propchange: tapestry/tapestry5/trunk/tapestry-ioc/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Tue Sep 1 01:31:54 2009 @@ -5,3 +5,5 @@ test-output null bin-test +.classpath +.project Propchange: tapestry/tapestry5/trunk/tapestry-spring/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Tue Sep 1 01:31:54 2009 @@ -4,3 +4,5 @@ cobertura.ser null bin-test +.classpath +.project Propchange: tapestry/tapestry5/trunk/tapestry-test/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Tue Sep 1 01:31:54 2009 @@ -1,2 +1,4 @@ bin target +.classpath +.project Propchange: tapestry/tapestry5/trunk/tapestry-tutorial1/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Tue Sep 1 01:31:54 2009 @@ -1,2 +1,4 @@ bin target +.classpath +.project Propchange: tapestry/tapestry5/trunk/tapestry-upload/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Tue Sep 1 01:31:54 2009 @@ -3,3 +3,5 @@ bin cobertura.ser temp-testng-customsuite.xml +.classpath +.project Propchange: tapestry/tapestry5/trunk/tapestry-webflow/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Tue Sep 1 01:31:54 2009 @@ -0,0 +1,2 @@ +.classpath +.project From [email protected] Tue Sep 01 01:33:55 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 72749 invoked from network); 1 Sep 2009 01:33:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Sep 2009 01:33:54 -0000 Received: (qmail 71156 invoked by uid 500); 1 Sep 2009 01:33:54 -0000 Delivered-To: [email protected] Received: (qmail 71076 invoked by uid 500); 1 Sep 2009 01:33:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71067 invoked by uid 99); 1 Sep 2009 01:33:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 01:33:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 01:33:52 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D91C2234C004 for <[email protected]>; Mon, 31 Aug 2009 18:33:32 -0700 (PDT) Message-ID: <1567307480.1251768812865.JavaMail.jira@brutus> Date: Mon, 31 Aug 2009 18:33:32 -0700 (PDT) From: "Kevin Menard (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (TAP5-819) remove ide-specific files from all sub-modules and add them to svn:ignore In-Reply-To: <708725420.1250689934847.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-819?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Menard closed TAP5-819. ----------------------------- Resolution: Fixed Fix Version/s: 5.2 Fixed in trunk. I see no reason to backport. > remove ide-specific files from all sub-modules and add them to svn:ignore > ------------------------------------------------------------------------- > > Key: TAP5-819 > URL: https://issues.apache.org/jira/browse/TAP5-819 > Project: Tapestry 5 > Issue Type: Task > Reporter: Ulrich St=C3=A4rk > Assignee: Kevin Menard > Priority: Minor > Fix For: 5.2 > > > remove ide-specific files from all sub-modules and add them to svn:ignore= , along with any output directories like target. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 01 08:53:57 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93111 invoked from network); 1 Sep 2009 08:53:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Sep 2009 08:53:57 -0000 Received: (qmail 68041 invoked by uid 500); 1 Sep 2009 08:53:56 -0000 Delivered-To: [email protected] Received: (qmail 67935 invoked by uid 500); 1 Sep 2009 08:53:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 67926 invoked by uid 99); 1 Sep 2009 08:53:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 08:53:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 08:53:53 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B3112234C004 for <[email protected]>; Tue, 1 Sep 2009 01:53:32 -0700 (PDT) Message-ID: <141252462.1251795212718.JavaMail.jira@brutus> Date: Tue, 1 Sep 2009 01:53:32 -0700 (PDT) From: =?utf-8?Q?Ulrich_St=C3=A4rk_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Commented: (TAP5-711) Submit component: using image parameter brakes "Selected" events In-Reply-To: <1662168428.1242812985934.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-711?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D127498= 16#action_12749816 ]=20 Ulrich St=C3=A4rk commented on TAP5-711: ----------------------------------- the problem is this code: String value =3D request.getParameter(elementName); if (value =3D=3D null) return; Runnable sendNotification =3D new Runnable() { public void run() { resources.triggerEvent(event, context, null); } }; With an image submit there is no request parameter with the name of the ele= ment, instead there are 2 parameters, name.x and name.y indicating where th= e user clicked on the image. Thus request.getParameter(elementName) always = returns null and the selected event is never fired. > Submit component: using image parameter brakes "Selected" events > ---------------------------------------------------------------- > > Key: TAP5-711 > URL: https://issues.apache.org/jira/browse/TAP5-711 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 161.129.204.104 > Reporter: Sergey Didenko > Attachments: VoteForm3.java, VoteForm3.tml > > > When I change <t:submit...> to <t:submit t:image=3D"..."..> onSelectedX()= handlers stop working. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 01 10:57:57 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29394 invoked from network); 1 Sep 2009 10:57:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Sep 2009 10:57:57 -0000 Received: (qmail 31277 invoked by uid 500); 1 Sep 2009 10:57:57 -0000 Delivered-To: [email protected] Received: (qmail 31188 invoked by uid 500); 1 Sep 2009 10:57:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31179 invoked by uid 99); 1 Sep 2009 10:57:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 10:57:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 10:57:53 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id DEB1C234C055 for <[email protected]>; Tue, 1 Sep 2009 03:57:32 -0700 (PDT) Message-ID: <645974904.1251802652910.JavaMail.jira@brutus> Date: Tue, 1 Sep 2009 03:57:32 -0700 (PDT) From: =?utf-8?Q?Ulrich_St=C3=A4rk_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Updated: (TAP5-711) Submit component: using image parameter brakes "Selected" events In-Reply-To: <1662168428.1242812985934.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-711?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Ulrich St=C3=A4rk updated TAP5-711: ------------------------------ Attachment: TAP5-711.txt Patch and test. > Submit component: using image parameter brakes "Selected" events > ---------------------------------------------------------------- > > Key: TAP5-711 > URL: https://issues.apache.org/jira/browse/TAP5-711 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 161.129.204.104 > Reporter: Sergey Didenko > Attachments: TAP5-711.txt, VoteForm3.java, VoteForm3.tml > > > When I change <t:submit...> to <t:submit t:image=3D"..."..> onSelectedX()= handlers stop working. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 01 13:12:57 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73871 invoked from network); 1 Sep 2009 13:12:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Sep 2009 13:12:57 -0000 Received: (qmail 7621 invoked by uid 500); 1 Sep 2009 13:12:56 -0000 Delivered-To: [email protected] Received: (qmail 7542 invoked by uid 500); 1 Sep 2009 13:12:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7533 invoked by uid 99); 1 Sep 2009 13:12:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 13:12:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 13:12:53 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id CA0CF234C004 for <[email protected]>; Tue, 1 Sep 2009 06:12:32 -0700 (PDT) Message-ID: <1298391079.1251810752802.JavaMail.jira@brutus> Date: Tue, 1 Sep 2009 06:12:32 -0700 (PDT) From: =?utf-8?Q?Ulrich_St=C3=A4rk_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Reopened: (TAP5-819) remove ide-specific files from all sub-modules and add them to svn:ignore In-Reply-To: <708725420.1250689934847.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-819?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Ulrich St=C3=A4rk reopened TAP5-819: ------------------------------- You forgot the .settings folders. > remove ide-specific files from all sub-modules and add them to svn:ignore > ------------------------------------------------------------------------- > > Key: TAP5-819 > URL: https://issues.apache.org/jira/browse/TAP5-819 > Project: Tapestry 5 > Issue Type: Task > Reporter: Ulrich St=C3=A4rk > Assignee: Kevin Menard > Priority: Minor > Fix For: 5.2 > > > remove ide-specific files from all sub-modules and add them to svn:ignore= , along with any output directories like target. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 01 14:45:57 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 418 invoked from network); 1 Sep 2009 14:45:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Sep 2009 14:45:57 -0000 Received: (qmail 50431 invoked by uid 500); 1 Sep 2009 14:45:57 -0000 Delivered-To: [email protected] Received: (qmail 50353 invoked by uid 500); 1 Sep 2009 14:45:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 50344 invoked by uid 99); 1 Sep 2009 14:45:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 14:45:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 14:45:54 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 4F5B8234C046 for <[email protected]>; Tue, 1 Sep 2009 07:45:33 -0700 (PDT) Message-ID: <648925815.1251816333323.JavaMail.jira@brutus> Date: Tue, 1 Sep 2009 07:45:33 -0700 (PDT) From: =?utf-8?Q?Ulrich_St=C3=A4rk_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Updated: (TAP5-779) CLONE -Linksubmit doesn't work inside a form with Zone parameter set In-Reply-To: <1253983518.1247662514890.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-779?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Ulrich St=C3=A4rk updated TAP5-779: ------------------------------ Attachment: TAP5-779.txt Patch and Test. The previous test just confirmed that the form was submitte= dt but didn't check whether the selected event was fired. The new one does. > CLONE -Linksubmit doesn't work inside a form with Zone parameter set > -------------------------------------------------------------------- > > Key: TAP5-779 > URL: https://issues.apache.org/jira/browse/TAP5-779 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 5.2 > Reporter: Ulrich St=C3=A4rk > Assignee: Howard M. Lewis Ship > Attachments: TAP5-779.txt > > > This is a clone of TAP5-389 which was closed as CNR. This still IS an iss= ue with 5.2-SNAPSHOT. Clicking on the link generated by linksubmit in the f= ollowing example will not trigger linksubmit's selected event. The output i= s always just "form was submitted". > <html xmlns:t=3D"http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"> > <t:form zone=3D"zone"> > <t:zone t:id=3D"zone"> > <t:select value=3D"type" /> > <t:linksubmit t:id=3D"submit">submit</t:linksubmit> > </t:zone> > </t:form> > </html> > public class Test > { > public enum Types { TYPE1, TYPE2, TYPE3; } > =20 > @Property private Types type; > =20 > void onSelectedFromSubmit() > { > System.out.println("linksubmit was used"); > } > =20 > void onSuccess() > { > System.out.println("form was submitted"); > } > } --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 01 15:29:17 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14010 invoked from network); 1 Sep 2009 15:29:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Sep 2009 15:29:16 -0000 Received: (qmail 36503 invoked by uid 500); 1 Sep 2009 15:29:16 -0000 Delivered-To: [email protected] Received: (qmail 36436 invoked by uid 500); 1 Sep 2009 15:29:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 36427 invoked by uid 99); 1 Sep 2009 15:29:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 15:29:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 15:29:14 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 78643234C004 for <[email protected]>; Tue, 1 Sep 2009 08:28:54 -0700 (PDT) Message-ID: <184937136.1251818934475.JavaMail.jira@brutus> Date: Tue, 1 Sep 2009 08:28:54 -0700 (PDT) From: =?utf-8?Q?Ulrich_St=C3=A4rk_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Updated: (TAP5-779) CLONE -Linksubmit doesn't work inside a form with Zone parameter set In-Reply-To: <1253983518.1247662514890.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-779?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Ulrich St=C3=A4rk updated TAP5-779: ------------------------------ Attachment: (was: TAP5-779.txt) > CLONE -Linksubmit doesn't work inside a form with Zone parameter set > -------------------------------------------------------------------- > > Key: TAP5-779 > URL: https://issues.apache.org/jira/browse/TAP5-779 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 5.2 > Reporter: Ulrich St=C3=A4rk > Assignee: Howard M. Lewis Ship > Attachments: TAP5-779.txt > > > This is a clone of TAP5-389 which was closed as CNR. This still IS an iss= ue with 5.2-SNAPSHOT. Clicking on the link generated by linksubmit in the f= ollowing example will not trigger linksubmit's selected event. The output i= s always just "form was submitted". > <html xmlns:t=3D"http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"> > <t:form zone=3D"zone"> > <t:zone t:id=3D"zone"> > <t:select value=3D"type" /> > <t:linksubmit t:id=3D"submit">submit</t:linksubmit> > </t:zone> > </t:form> > </html> > public class Test > { > public enum Types { TYPE1, TYPE2, TYPE3; } > =20 > @Property private Types type; > =20 > void onSelectedFromSubmit() > { > System.out.println("linksubmit was used"); > } > =20 > void onSuccess() > { > System.out.println("form was submitted"); > } > } --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 01 15:29:19 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14082 invoked from network); 1 Sep 2009 15:29:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Sep 2009 15:29:19 -0000 Received: (qmail 36759 invoked by uid 500); 1 Sep 2009 15:29:18 -0000 Delivered-To: [email protected] Received: (qmail 36679 invoked by uid 500); 1 Sep 2009 15:29:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 36668 invoked by uid 99); 1 Sep 2009 15:29:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 15:29:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 15:29:15 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A6113234C04B for <[email protected]>; Tue, 1 Sep 2009 08:28:54 -0700 (PDT) Message-ID: <974062334.1251818934678.JavaMail.jira@brutus> Date: Tue, 1 Sep 2009 08:28:54 -0700 (PDT) From: =?utf-8?Q?Ulrich_St=C3=A4rk_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Updated: (TAP5-779) CLONE -Linksubmit doesn't work inside a form with Zone parameter set In-Reply-To: <1253983518.1247662514890.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-779?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Ulrich St=C3=A4rk updated TAP5-779: ------------------------------ Attachment: TAP5-779.txt cleaned it up a bit > CLONE -Linksubmit doesn't work inside a form with Zone parameter set > -------------------------------------------------------------------- > > Key: TAP5-779 > URL: https://issues.apache.org/jira/browse/TAP5-779 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 5.2 > Reporter: Ulrich St=C3=A4rk > Assignee: Howard M. Lewis Ship > Attachments: TAP5-779.txt > > > This is a clone of TAP5-389 which was closed as CNR. This still IS an iss= ue with 5.2-SNAPSHOT. Clicking on the link generated by linksubmit in the f= ollowing example will not trigger linksubmit's selected event. The output i= s always just "form was submitted". > <html xmlns:t=3D"http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"> > <t:form zone=3D"zone"> > <t:zone t:id=3D"zone"> > <t:select value=3D"type" /> > <t:linksubmit t:id=3D"submit">submit</t:linksubmit> > </t:zone> > </t:form> > </html> > public class Test > { > public enum Types { TYPE1, TYPE2, TYPE3; } > =20 > @Property private Types type; > =20 > void onSelectedFromSubmit() > { > System.out.println("linksubmit was used"); > } > =20 > void onSuccess() > { > System.out.println("form was submitted"); > } > } --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Sep 02 07:03:57 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59880 invoked from network); 2 Sep 2009 07:03:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Sep 2009 07:03:57 -0000 Received: (qmail 44145 invoked by uid 500); 2 Sep 2009 07:03:56 -0000 Delivered-To: [email protected] Received: (qmail 44079 invoked by uid 500); 2 Sep 2009 07:03:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.tapestry.apache.org> Reply-To: "Tapestry development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 44068 invoked by uid 99); 2 Sep 2009 07:03:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 07:03:56 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO uli.spielviel.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 07:03:47 +0000 Received: from uli (localhost [161.129.204.104]) by uli.spielviel.de (Postfix) with ESMTP id BFA8CC9F32 for <[email protected]>; Wed, 2 Sep 2009 09:03:25 +0200 (CEST) Received: from localhost (HELO uli.spielviel.de) (161.129.204.104) by uli (qpsmtpd/0.40) with ESMTP; Mi, 02 Sep 2009 09:03:25 +0200 Received: from [161.129.204.104] (maracaibo.imp.fu-berlin.de [161.129.204.104]) by uli.spielviel.de (Postfix) with ESMTPSA id 75E62C9F31 for <[email protected]>; Wed, 2 Sep 2009 09:03:24 +0200 (CEST) Message-ID: <[email protected]> Date: Wed, 02 Sep 2009 09:03:24 +0200 From: =?ISO-8859-1?Q?Ulrich_St=E4rk?= <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20090812) MIME-Version: 1.0 To: Tapestry development <[email protected]> Subject: patch review Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Check-By: uli X-Old-Spam-Status: No, hits=-4.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 I submitted two patches [1],[2] yesterday, it would be nice if someone could review and commit them. Cheers, Uli [1] https://issues.apache.org/jira/browse/TAP5-711 [2] https://issues.apache.org/jira/browse/TAP5-779 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Sep 02 08:10:57 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74839 invoked from network); 2 Sep 2009 08:10:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Sep 2009 08:10:57 -0000 Received: (qmail 21060 invoked by uid 500); 2 Sep 2009 08:10:57 -0000 Delivered-To: [email protected] Received: (qmail 20985 invoked by uid 500); 2 Sep 2009 08:10:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 20973 invoked by uid 99); 2 Sep 2009 08:10:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 08:10:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 08:10:54 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id CA0C5234C004 for <[email protected]>; Wed, 2 Sep 2009 01:10:32 -0700 (PDT) Message-ID: <829774579.1251879032812.JavaMail.jira@brutus> Date: Wed, 2 Sep 2009 01:10:32 -0700 (PDT) From: "Sebastian Hennebrueder (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (TAP5-831) Record errors for beaneditform and form using only the field name instead of injecting a field (patch incl) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Record errors for beaneditform and form using only the field name instead of injecting a field (patch incl) ----------------------------------------------------------------------------------------------------------- Key: TAP5-831 URL: https://issues.apache.org/jira/browse/TAP5-831 Project: Tapestry 5 Issue Type: New Feature Components: tapestry-core Affects Versions: 5.2 Reporter: Sebastian Hennebrueder In order to record an error for a field using custom validation, currently you have to use t:parameter to define a custom input field inside of beaneditform and inject that field into your page class. The provided patch adds a method recordError(String fieldname, String errorMessage) to beaneditform, form and validation tracker to allow using just the fieldname or id. A test is included and I build a sample application using this approach. I didn't want to extend the existing test apps as it was unclear to me where to my code. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Sep 02 08:12:56 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75393 invoked from network); 2 Sep 2009 08:12:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Sep 2009 08:12:56 -0000 Received: (qmail 23121 invoked by uid 500); 2 Sep 2009 08:12:56 -0000 Delivered-To: [email protected] Received: (qmail 23063 invoked by uid 500); 2 Sep 2009 08:12:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23054 invoked by uid 99); 2 Sep 2009 08:12:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 08:12:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 08:12:53 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id AEC5C234C004 for <[email protected]>; Wed, 2 Sep 2009 01:12:32 -0700 (PDT) Message-ID: <1046222452.1251879152701.JavaMail.jira@brutus> Date: Wed, 2 Sep 2009 01:12:32 -0700 (PDT) From: "Sebastian Hennebrueder (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (TAP5-831) Record errors for beaneditform and form using only the field name instead of injecting a field (patch incl) In-Reply-To: <829774579.1251879032812.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sebastian Hennebrueder updated TAP5-831: ---------------------------------------- Attachment: beaneditform.patch Patch against 810243 > Record errors for beaneditform and form using only the field name instead of injecting a field (patch incl) > ----------------------------------------------------------------------------------------------------------- > > Key: TAP5-831 > URL: https://issues.apache.org/jira/browse/TAP5-831 > Project: Tapestry 5 > Issue Type: New Feature > Components: tapestry-core > Affects Versions: 5.2 > Reporter: Sebastian Hennebrueder > Attachments: beaneditform.patch > > > In order to record an error for a field using custom validation, currently you have to use t:parameter to define a custom input field inside of beaneditform > and inject that field into your page class. > The provided patch adds a method > recordError(String fieldname, String errorMessage) to beaneditform, form and validation tracker to allow using just the fieldname or id. > A test is included and I build a sample application using this approach. I didn't want to extend the existing test apps as it was unclear to me where to my code. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Sep 02 09:54:55 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99285 invoked from network); 2 Sep 2009 09:54:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Sep 2009 09:54:55 -0000 Received: (qmail 34641 invoked by uid 500); 2 Sep 2009 09:54:54 -0000 Delivered-To: [email protected] Received: (qmail 34579 invoked by uid 500); 2 Sep 2009 09:54:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34569 invoked by uid 99); 2 Sep 2009 09:54:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 09:54:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 09:54:53 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B6547234C004 for <[email protected]>; Wed, 2 Sep 2009 02:54:32 -0700 (PDT) Message-ID: <1680218190.1251885272730.JavaMail.jira@brutus> Date: Wed, 2 Sep 2009 02:54:32 -0700 (PDT) From: "Igor Drobiazko (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (TAP5-711) Submit component: using image parameter brakes "Selected" events In-Reply-To: <1662168428.1242812985934.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750366#action_12750366 ] Igor Drobiazko commented on TAP5-711: ------------------------------------- Patch review: I think an integration test is a better alternative than an unit test. > Submit component: using image parameter brakes "Selected" events > ---------------------------------------------------------------- > > Key: TAP5-711 > URL: https://issues.apache.org/jira/browse/TAP5-711 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 161.129.204.104 > Reporter: Sergey Didenko > Attachments: TAP5-711.txt, VoteForm3.java, VoteForm3.tml > > > When I change <t:submit...> to <t:submit t:image="..."..> onSelectedX() handlers stop working. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Sep 02 09:56:57 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99995 invoked from network); 2 Sep 2009 09:56:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Sep 2009 09:56:57 -0000 Received: (qmail 42588 invoked by uid 500); 2 Sep 2009 09:56:57 -0000 Delivered-To: [email protected] Received: (qmail 42526 invoked by uid 500); 2 Sep 2009 09:56:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 42517 invoked by uid 99); 2 Sep 2009 09:56:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 09:56:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 09:56:53 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 11963234C04B for <[email protected]>; Wed, 2 Sep 2009 02:56:33 -0700 (PDT) Message-ID: <348915869.1251885393071.JavaMail.jira@brutus> Date: Wed, 2 Sep 2009 02:56:33 -0700 (PDT) From: "Igor Drobiazko (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (TAP5-711) Submit component: using image parameter brakes "Selected" events In-Reply-To: <1662168428.1242812985934.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Drobiazko reassigned TAP5-711: ----------------------------------- Assignee: Igor Drobiazko > Submit component: using image parameter brakes "Selected" events > ---------------------------------------------------------------- > > Key: TAP5-711 > URL: https://issues.apache.org/jira/browse/TAP5-711 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 161.129.204.104 > Reporter: Sergey Didenko > Assignee: Igor Drobiazko > Attachments: TAP5-711.txt, VoteForm3.java, VoteForm3.tml > > > When I change <t:submit...> to <t:submit t:image="..."..> onSelectedX() handlers stop working. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Sep 02 11:20:55 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25680 invoked from network); 2 Sep 2009 11:20:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Sep 2009 11:20:55 -0000 Received: (qmail 72253 invoked by uid 500); 2 Sep 2009 11:20:55 -0000 Delivered-To: [email protected] Received: (qmail 72179 invoked by uid 500); 2 Sep 2009 11:20:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 72163 invoked by uid 99); 2 Sep 2009 11:20:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 11:20:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 11:20:53 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 53E73234C4AD for <[email protected]>; Wed, 2 Sep 2009 04:20:33 -0700 (PDT) Message-ID: <300196401.1251890433342.JavaMail.jira@brutus> Date: Wed, 2 Sep 2009 04:20:33 -0700 (PDT) From: =?utf-8?Q?Ulrich_St=C3=A4rk_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Updated: (TAP5-711) Submit component: using image parameter brakes "Selected" events In-Reply-To: <1662168428.1242812985934.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-711?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Ulrich St=C3=A4rk updated TAP5-711: ------------------------------ Attachment: (was: TAP5-711.txt) > Submit component: using image parameter brakes "Selected" events > ---------------------------------------------------------------- > > Key: TAP5-711 > URL: https://issues.apache.org/jira/browse/TAP5-711 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 161.129.204.104 > Reporter: Sergey Didenko > Assignee: Igor Drobiazko > Attachments: TAP5-711.txt, VoteForm3.java, VoteForm3.tml > > > When I change <t:submit...> to <t:submit t:image=3D"..."..> onSelectedX()= handlers stop working. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Sep 02 11:20:57 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25764 invoked from network); 2 Sep 2009 11:20:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Sep 2009 11:20:57 -0000 Received: (qmail 72512 invoked by uid 500); 2 Sep 2009 11:20:57 -0000 Delivered-To: [email protected] Received: (qmail 72449 invoked by uid 500); 2 Sep 2009 11:20:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 72440 invoked by uid 99); 2 Sep 2009 11:20:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 11:20:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 11:20:54 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 5CBA8234C4B0 for <[email protected]>; Wed, 2 Sep 2009 04:20:33 -0700 (PDT) Message-ID: <1506633999.1251890433378.JavaMail.jira@brutus> Date: Wed, 2 Sep 2009 04:20:33 -0700 (PDT) From: =?utf-8?Q?Ulrich_St=C3=A4rk_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Updated: (TAP5-711) Submit component: using image parameter brakes "Selected" events In-Reply-To: <1662168428.1242812985934.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-711?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Ulrich St=C3=A4rk updated TAP5-711: ------------------------------ Attachment: TAP5-711.txt now with integragtion test > Submit component: using image parameter brakes "Selected" events > ---------------------------------------------------------------- > > Key: TAP5-711 > URL: https://issues.apache.org/jira/browse/TAP5-711 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 161.129.204.104 > Reporter: Sergey Didenko > Assignee: Igor Drobiazko > Attachments: TAP5-711.txt, VoteForm3.java, VoteForm3.tml > > > When I change <t:submit...> to <t:submit t:image=3D"..."..> onSelectedX()= handlers stop working. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Sep 02 12:04:57 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36584 invoked from network); 2 Sep 2009 12:04:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Sep 2009 12:04:57 -0000 Received: (qmail 23646 invoked by uid 500); 2 Sep 2009 12:04:56 -0000 Delivered-To: [email protected] Received: (qmail 23555 invoked by uid 500); 2 Sep 2009 12:04:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23546 invoked by uid 99); 2 Sep 2009 12:04:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 12:04:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 12:04:53 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B7C1D234C04C for <[email protected]>; Wed, 2 Sep 2009 05:04:32 -0700 (PDT) Message-ID: <64013077.1251893072751.JavaMail.jira@brutus> Date: Wed, 2 Sep 2009 05:04:32 -0700 (PDT) From: "Sergey Didenko (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (TAP5-711) Submit component: using image parameter brakes "Selected" events In-Reply-To: <1662168428.1242812985934.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750410#action_12750410 ] Sergey Didenko commented on TAP5-711: ------------------------------------- Tested on IE6-8, Firefox 3.5.2, Opera 10, Safari 4.0 for Windows - it works. Though I still have TAP5-712 on IE, but that's a different bug. > Submit component: using image parameter brakes "Selected" events > ---------------------------------------------------------------- > > Key: TAP5-711 > URL: https://issues.apache.org/jira/browse/TAP5-711 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 161.129.204.104 > Reporter: Sergey Didenko > Assignee: Igor Drobiazko > Attachments: TAP5-711.txt, VoteForm3.java, VoteForm3.tml > > > When I change <t:submit...> to <t:submit t:image="..."..> onSelectedX() handlers stop working. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Sep 02 15:39:57 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7240 invoked from network); 2 Sep 2009 15:39:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Sep 2009 15:39:57 -0000 Received: (qmail 78855 invoked by uid 500); 2 Sep 2009 15:39:56 -0000 Delivered-To: [email protected] Received: (qmail 78790 invoked by uid 500); 2 Sep 2009 15:39:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78781 invoked by uid 99); 2 Sep 2009 15:39:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 15:39:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 15:39:53 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A9FE2234C004 for <[email protected]>; Wed, 2 Sep 2009 08:39:32 -0700 (PDT) Message-ID: <859-838-3298.1251905972681.JavaMail.jira@brutus> Date: Wed, 2 Sep 2009 08:39:32 -0700 (PDT) From: "Sebastian Hennebrueder (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (TAP5-832) Hidden input field fails with coercion problem on empty value (patch incl) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Hidden input field fails with coercion problem on empty value (patch incl) -------------------------------------------------------------------------- Key: TAP5-832 URL: https://issues.apache.org/jira/browse/TAP5-832 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 161.129.204.104, 161.129.204.104 Reporter: Sebastian Hennebrueder If a hidden field has a blanc input "" , it fails with the following stackstrace (my Hidden component is just a copy of the orginal of 161.129.204.104) The reason is that there is no nullfieldstrategie assigned to a hidden field as opposed to text fields. The attached patch adds such a strategie. # org.apache.tapestry5.internal.bindings.PropBinding.set(PropBinding.java:71) # org.apache.tapestry5.internal.structure.InternalComponentResourcesImpl$1.write(InternalComponentResourcesImpl.java:540) # de.laliluna.bibabook.components.Hidden._$update_parameter_value(Hidden.java) # de.laliluna.bibabook.components.Hidden.processSubmission(Hidden.java:136) # de.laliluna.bibabook.components.Hidden.access$000(Hidden.java:37) # de.laliluna.bibabook.components.Hidden$ProcessSubmission.execute(Hidden.java:94) # de.laliluna.bibabook.components.Hidden$ProcessSubmission.execute(Hidden.java:86) # org.apache.tapestry5.corelib.components.Form.executeStoredActions(Form.java:480) # org.apache.tapestry5.corelib.components.Form._$advised$onAction(Form.java:378) # org.apache.tapestry5.corelib.components.Form$onAction$invocation_1237b3fe6bd.invokeAdvisedMethod(Form$onAction$invocation_1237b3fe6bd.java) # org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:71) # org.apache.tapestry5.ioc.internal.services.LoggingAdvice.advise(LoggingAdvice.java:37) # org.apache.tapestry5.internal.transform.LogWorker$1.advise(LogWorker.java:54) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Sep 02 15:41:55 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8375 invoked from network); 2 Sep 2009 15:41:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Sep 2009 15:41:54 -0000 Received: (qmail 81733 invoked by uid 500); 2 Sep 2009 15:41:54 -0000 Delivered-To: [email protected] Received: (qmail 81688 invoked by uid 500); 2 Sep 2009 15:41:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81678 invoked by uid 99); 2 Sep 2009 15:41:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 15:41:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 15:41:52 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B1B10234C004 for <[email protected]>; Wed, 2 Sep 2009 08:41:32 -0700 (PDT) Message-ID: <1246362754.1251906092712.JavaMail.jira@brutus> Date: Wed, 2 Sep 2009 08:41:32 -0700 (PDT) From: "Sebastian Hennebrueder (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (TAP5-832) Hidden input field fails with coercion problem on empty value (patch incl) In-Reply-To: <859-838-3298.1251905972681.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sebastian Hennebrueder updated TAP5-832: ---------------------------------------- Attachment: Hidden.patch patch to 5.2 trunk > Hidden input field fails with coercion problem on empty value (patch incl) > -------------------------------------------------------------------------- > > Key: TAP5-832 > URL: https://issues.apache.org/jira/browse/TAP5-832 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 161.129.204.104, 161.129.204.104 > Reporter: Sebastian Hennebrueder > Attachments: Hidden.patch > > > If a hidden field has a blanc input "" , it fails with the following stackstrace (my Hidden component is just a copy of the orginal of 161.129.204.104) > The reason is that there is no nullfieldstrategie assigned to a hidden field as opposed to text fields. The attached patch adds such a strategie. > # org.apache.tapestry5.internal.bindings.PropBinding.set(PropBinding.java:71) > # org.apache.tapestry5.internal.structure.InternalComponentResourcesImpl$1.write(InternalComponentResourcesImpl.java:540) > # de.laliluna.bibabook.components.Hidden._$update_parameter_value(Hidden.java) > # de.laliluna.bibabook.components.Hidden.processSubmission(Hidden.java:136) > # de.laliluna.bibabook.components.Hidden.access$000(Hidden.java:37) > # de.laliluna.bibabook.components.Hidden$ProcessSubmission.execute(Hidden.java:94) > # de.laliluna.bibabook.components.Hidden$ProcessSubmission.execute(Hidden.java:86) > # org.apache.tapestry5.corelib.components.Form.executeStoredActions(Form.java:480) > # org.apache.tapestry5.corelib.components.Form._$advised$onAction(Form.java:378) > # org.apache.tapestry5.corelib.components.Form$onAction$invocation_1237b3fe6bd.invokeAdvisedMethod(Form$onAction$invocation_1237b3fe6bd.java) > # org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:71) > # org.apache.tapestry5.ioc.internal.services.LoggingAdvice.advise(LoggingAdvice.java:37) > # org.apache.tapestry5.internal.transform.LogWorker$1.advise(LogWorker.java:54) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Sep 02 15:48:06 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10576 invoked from network); 2 Sep 2009 15:48:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Sep 2009 15:48:06 -0000 Received: (qmail 94733 invoked by uid 500); 2 Sep 2009 15:48:06 -0000 Delivered-To: [email protected] Received: (qmail 94674 invoked by uid 500); 2 Sep 2009 15:48:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 94665 invoked by uid 99); 2 Sep 2009 15:48:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 15:48:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 15:47:54 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 03066234C1EC for <[email protected]>; Wed, 2 Sep 2009 08:47:33 -0700 (PDT) Message-ID: <1251167279.1251906453011.JavaMail.jira@brutus> Date: Wed, 2 Sep 2009 08:47:33 -0700 (PDT) From: "Sebastian Hennebrueder (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (TAP5-335) Provide access to annotations of service implementation class MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750494#action_12750494 ] Sebastian Hennebrueder commented on TAP5-335: --------------------------------------------- I can not comment on how to solve this, but on what I was missing when evaluating Tapestry. I prefer to put annotations in the class and didn't manage to extend Tapestry-IOC in a way to achieve this http://www.nabble.com/-Tapestry-IOC--Interfaces-could-be-more-complete---MethodAdviceReceiver-and-Invocation-tt24836083.html#a24841800 > Provide access to annotations of service implementation class > ------------------------------------------------------------- > > Key: TAP5-335 > URL: https://issues.apache.org/jira/browse/TAP5-335 > Project: Tapestry 5 > Issue Type: Improvement > Components: tapestry-ioc > Affects Versions: 5.0.15 > Reporter: Lubor Gajda > > In some situations it would be useful to have direct access to annotations of service implementation class. This would allow us, during registry startup, detect services with some specific class or method level annotations and take related actions. > For instance imagine tapestry-quartz integration based on simple declarative > mechanism where it would be possible to use something like this: > public class MyServiceImpl implements MyService { > @Scheduled(cronExpression="0/5 * * * * ?") > public void myMethod() { > ... > } > } > and framework would be able, during registry startup, automatically detect all service methods annotated by @Scheduled annotation and register them in the scheduler. > > I see two possible solutions: > 1. Modify ServiceDef to hold information about service implementation class. > 2. Service proxy could inherit all annotations from service implementation > class, then we would be able to check annotations directly on service proxy. > > But maybe there is another, more elegant solution. > > For more details see thread: > http://thread.gmane.org/gmane.comp.java.tapestry.user/67116/focus=67116 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Sep 02 16:14:57 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20412 invoked from network); 2 Sep 2009 16:14:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Sep 2009 16:14:57 -0000 Received: (qmail 50185 invoked by uid 500); 2 Sep 2009 16:14:57 -0000 Delivered-To: [email protected] Received: (qmail 50115 invoked by uid 500); 2 Sep 2009 16:14:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 50106 invoked by uid 99); 2 Sep 2009 16:14:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 16:14:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 16:14:54 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C385C234C004 for <[email protected]>; Wed, 2 Sep 2009 09:14:32 -0700 (PDT) Message-ID: <1969179007.1251908072784.JavaMail.jira@brutus> Date: Wed, 2 Sep 2009 09:14:32 -0700 (PDT) From: =?utf-8?Q?Ulrich_St=C3=A4rk_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Commented: (TAP5-832) Hidden input field fails with coercion problem on empty value (patch incl) In-Reply-To: <859-838-3298.1251905972681.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-832?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D127505= 08#action_12750508 ]=20 Ulrich St=C3=A4rk commented on TAP5-832: ----------------------------------- could you please write a test that fails if the hidden component throws an = exception on a blank value? > Hidden input field fails with coercion problem on empty value (patch incl= ) > -------------------------------------------------------------------------= - > > Key: TAP5-832 > URL: https://issues.apache.org/jira/browse/TAP5-832 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 161.129.204.104, 161.129.204.104 > Reporter: Sebastian Hennebrueder > Attachments: Hidden.patch > > > If a hidden field has a blanc input "" , it fails with the following stac= kstrace (my Hidden component is just a copy of the orginal of 161.129.204.104) > The reason is that there is no nullfieldstrategie assigned to a hidden fi= eld as opposed to text fields. The attached patch adds such a strategie. > # org.apache.tapestry5.internal.bindings.PropBinding.set(PropBinding.java= :71) > # org.apache.tapestry5.internal.structure.InternalComponentResourcesImpl$= 1.write(InternalComponentResourcesImpl.java:540) > # de.laliluna.bibabook.components.Hidden._$update_parameter_value(Hidden.= java) > # de.laliluna.bibabook.components.Hidden.processSubmission(Hidden.java:13= 6) > # de.laliluna.bibabook.components.Hidden.access$000(Hidden.java:37) > # de.laliluna.bibabook.components.Hidden$ProcessSubmission.execute(Hidden= .java:94) > # de.laliluna.bibabook.components.Hidden$ProcessSubmission.execute(Hidden= .java:86) > # org.apache.tapestry5.corelib.components.Form.executeStoredActions(Form.= java:480) > # org.apache.tapestry5.corelib.components.Form._$advised$onAction(Form.ja= va:378) > # org.apache.tapestry5.corelib.components.Form$onAction$invocation_1237b3= fe6bd.invokeAdvisedMethod(Form$onAction$invocation_1237b3fe6bd.java) > # org.apache.tapestry5.internal.services.AbstractComponentMethodInvocatio= n.proceed(AbstractComponentMethodInvocation.java:71) > # org.apache.tapestry5.ioc.internal.services.LoggingAdvice.advise(Logging= Advice.java:37) > # org.apache.tapestry5.internal.transform.LogWorker$1.advise(LogWorker.ja= va:54)=20 --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Sep 02 16:34:55 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25105 invoked from network); 2 Sep 2009 16:34:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Sep 2009 16:34:55 -0000 Received: (qmail 85730 invoked by uid 500); 2 Sep 2009 16:34:55 -0000 Delivered-To: [email protected] Received: (qmail 85637 invoked by uid 500); 2 Sep 2009 16:34:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 85628 invoked by uid 99); 2 Sep 2009 16:34:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 16:34:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 16:34:53 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B1150234C004 for <[email protected]>; Wed, 2 Sep 2009 09:34:32 -0700 (PDT) Message-ID: <1526812600.1251909272710.JavaMail.jira@brutus> Date: Wed, 2 Sep 2009 09:34:32 -0700 (PDT) From: "Sebastian Hennebrueder (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (TAP5-832) Hidden input field fails with coercion problem on empty value (patch incl) In-Reply-To: <859-838-3298.1251905972681.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750514#action_12750514 ] Sebastian Hennebrueder commented on TAP5-832: --------------------------------------------- I looked through the existing tests and I am not sure how to build the test in the most efficient manner. Shall I use a PageTester http://tapestry.apache.org/tapestry5/guide/unit-testing-pages.html or is there a simplere way to simulate a form submit? > Hidden input field fails with coercion problem on empty value (patch incl) > -------------------------------------------------------------------------- > > Key: TAP5-832 > URL: https://issues.apache.org/jira/browse/TAP5-832 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 161.129.204.104, 161.129.204.104 > Reporter: Sebastian Hennebrueder > Attachments: Hidden.patch > > > If a hidden field has a blanc input "" , it fails with the following stackstrace (my Hidden component is just a copy of the orginal of 161.129.204.104) > The reason is that there is no nullfieldstrategie assigned to a hidden field as opposed to text fields. The attached patch adds such a strategie. > # org.apache.tapestry5.internal.bindings.PropBinding.set(PropBinding.java:71) > # org.apache.tapestry5.internal.structure.InternalComponentResourcesImpl$1.write(InternalComponentResourcesImpl.java:540) > # de.laliluna.bibabook.components.Hidden._$update_parameter_value(Hidden.java) > # de.laliluna.bibabook.components.Hidden.processSubmission(Hidden.java:136) > # de.laliluna.bibabook.components.Hidden.access$000(Hidden.java:37) > # de.laliluna.bibabook.components.Hidden$ProcessSubmission.execute(Hidden.java:94) > # de.laliluna.bibabook.components.Hidden$ProcessSubmission.execute(Hidden.java:86) > # org.apache.tapestry5.corelib.components.Form.executeStoredActions(Form.java:480) > # org.apache.tapestry5.corelib.components.Form._$advised$onAction(Form.java:378) > # org.apache.tapestry5.corelib.components.Form$onAction$invocation_1237b3fe6bd.invokeAdvisedMethod(Form$onAction$invocation_1237b3fe6bd.java) > # org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:71) > # org.apache.tapestry5.ioc.internal.services.LoggingAdvice.advise(LoggingAdvice.java:37) > # org.apache.tapestry5.internal.transform.LogWorker$1.advise(LogWorker.java:54) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Sep 02 17:02:57 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35785 invoked from network); 2 Sep 2009 17:02:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Sep 2009 17:02:57 -0000 Received: (qmail 29980 invoked by uid 500); 2 Sep 2009 17:02:56 -0000 Delivered-To: [email protected] Received: (qmail 29911 invoked by uid 500); 2 Sep 2009 17:02:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 29902 invoked by uid 99); 2 Sep 2009 17:02:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 17:02:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 17:02:53 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B49B2234C004 for <[email protected]>; Wed, 2 Sep 2009 10:02:32 -0700 (PDT) Message-ID: <597550263.1251910952734.JavaMail.jira@brutus> Date: Wed, 2 Sep 2009 10:02:32 -0700 (PDT) From: "Franz Amador (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (TAP5-833) Component event-handler name cannot include the word "From" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Component event-handler name cannot include the word "From" ----------------------------------------------------------- Key: TAP5-833 URL: https://issues.apache.org/jira/browse/TAP5-833 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 161.129.204.104 Reporter: Franz Amador Priority: Minor If a component event-handler method name includes the word "From", Tapestry throws an exception: org.apache.tapestry5.ioc.internal.util.TapestryException: Request event 'foofrombar' (on component project/DocumentHolderDocuments:documentsgridactionsbutton) was not handled; you must provide a matching event handler method in the component or in one of its containers. The method is being invoked via an AJAX call to this URL: resources.createEventLink("fooFromBar").toAbsoluteURI(); And the handler looks like this: public Object onFooFromBar() { ... } If I remove the word "From", it works fine. If I change it to "Form", it works fine. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Sep 02 17:32:23 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46463 invoked from network); 2 Sep 2009 17:32:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Sep 2009 17:32:23 -0000 Received: (qmail 71517 invoked by uid 500); 2 Sep 2009 17:32:23 -0000 Delivered-To: [email protected] Received: (qmail 71499 invoked by uid 500); 2 Sep 2009 17:32:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.tapestry.apache.org> Reply-To: "Tapestry development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 71489 invoked by uid 99); 2 Sep 2009 17:32:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 17:32:22 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp-vbr1.xs4all.nl) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 17:32:13 +0000 Received: from SpitFyre.lan (kemanorel.xs4all.nl [161.129.204.104]) (authenticated bits=0) by smtp-vbr1.xs4all.nl (8.13.8/8.13.8) with ESMTP id n82HVp7v058227; Wed, 2 Sep 2009 19:31:51 +0200 (CEST) (envelope-from [email protected]) Message-ID: <[email protected]> Date: Wed, 02 Sep 2009 19:31:51 +0200 From: Martin Reurings <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Macintosh/20070807) MIME-Version: 1.0 To: [email protected] Subject: T5: Howto implement your own Messages? Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Checked: Checked by ClamAV on apache.org Hi All, I have, insucesfully been trying to intercept all calls to the MessagesImp from T5's core. For some reason, unknown to me, I have only been able to intercept the calls made to Messages begotten through @Inject, all messages called using ${message:....} in a .tml file are still routed directly to the T5 implementation, I have not yet gotten around to validation messages... I was hoping somebody out here has been trying to implement their own Messages implementation, or something of the sorts, and will be able to tell me how to do this. Seriously, something as simple as log.info(key) for every Message.get(String key) would be all that I need to keep going with what I'm doing, that is, as long as I can then implement whatever code I need instead of the log message ;). Cheers, Martin --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Sep 02 20:34:29 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17883 invoked from network); 2 Sep 2009 20:34:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Sep 2009 20:34:28 -0000 Received: (qmail 35848 invoked by uid 500); 2 Sep 2009 20:34:28 -0000 Delivered-To: [email protected] Received: (qmail 35807 invoked by uid 500); 2 Sep 2009 20:34:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.tapestry.apache.org> Reply-To: "Tapestry development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 35797 invoked by uid 99); 2 Sep 2009 20:34:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 20:34:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qy0-f199.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 20:34:19 +0000 Received: by qyk37 with SMTP id 37so599978qyk.11 for <[email protected]>; Wed, 02 Sep 2009 13:33:58 -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=+Q94f1jTXRl8wCkOFs6PuhBsv0f7b6N8tciOcOx7PzQ=; b=USJsw44kw5zzlkWrPfoCYB0AXsFXeCOzwX9G3MCN3qMTkKaT+sx5ALWfTmuOQKr4RS 7nZj2+XCN8QJ3/+v4TZXZchYZkorTH8BF6Mkh+TAEMm7xqutlrPqjun+oUApU1Y0enlh oahZPaYxM7TKkTY62T7/Tu7upcDVu7e5e/MRY= 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=wUf6MaO3LuoDyH99TiAvfUGyhSiI0GNGUZTNgtSuE03u53JZRnQ/VRvDKeARttdDuX Qo3ZalPI81kyfTHhCMtf8hhO9rPNOHsdASKvMQxet+b6v9Uv+XCaLGMa1hSQqwPQggbQ niL+Y6mKm9xTFlTOTzmf9ll/inWjUD/LZoz+c= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id m15mr5830686qak.3.1251923638172; Wed, 02 Sep 2009 13:33:58 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Wed, 2 Sep 2009 13:33:58 -0700 Message-ID: <[email protected]> Subject: Re: T5: Howto implement your own Messages? From: Howard Lewis Ship <[email protected]> To: Tapestry development <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org The right approach is to decorate or override Tapestry's ComponentMessagesSource service ... unfortunately (I've done this for a couple of customers) in 5.1 the implementation is tied pretty heavily to some hard-to-test-or-replace internals. On Wed, Sep 2, 2009 at 10:31 AM, Martin Reurings<[email protected]> wrote: > Hi All, > > I have, insucesfully been trying to intercept all calls to the MessagesImp > from T5's core. For some reason, unknown to me, I have only been able to > intercept the calls made to Messages begotten through @Inject, all messages > called using ${message:....} in a .tml file are still routed directly to the > T5 implementation, I have not yet gotten around to validation messages... > > I was hoping somebody out here has been trying to implement their own > Messages implementation, or something of the sorts, and will be able to tell > me how to do this. Seriously, something as simple as log.info(key) for every > Message.get(String key) would be all that I need to keep going with what I'm > doing, that is, as long as I can then implement whatever code I need instead > of the log message ;). > > Cheers, > > Martin > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Sep 03 06:39:55 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63367 invoked from network); 3 Sep 2009 06:39:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Sep 2009 06:39:55 -0000 Received: (qmail 96251 invoked by uid 500); 3 Sep 2009 06:39:55 -0000 Delivered-To: [email protected] Received: (qmail 96155 invoked by uid 500); 3 Sep 2009 06:39:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 96145 invoked by uid 99); 3 Sep 2009 06:39:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2009 06:39:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2009 06:39:53 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C0DE6234C004 for <[email protected]>; Wed, 2 Sep 2009 23:39:32 -0700 (PDT) Message-ID: <30718103.1251959972774.JavaMail.jira@brutus> Date: Wed, 2 Sep 2009 23:39:32 -0700 (PDT) From: "Jochen Kemnade (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (TAP5-792) Internet Explorer 8 dont display client side validation error bubble correctly, only the message text is visible. In-Reply-To: <1811725277.1248433274886.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750848#action_12750848 ] Jochen Kemnade commented on TAP5-792: ------------------------------------- this looks like a duplicate of TAP-766 > Internet Explorer 8 dont display client side validation error bubble correctly, only the message text is visible. > ----------------------------------------------------------------------------------------------------------------- > > Key: TAP5-792 > URL: https://issues.apache.org/jira/browse/TAP5-792 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 161.129.204.104 > Reporter: Mario Luis Gomes Cavalcanti > > IE 8 fails to show the client side validation bubble with the "close" icon. Only the message text is displayed. > Testet with IE 8 without the backwards compatibiity view mode. Works on other browsers. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Sep 03 08:29:03 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91054 invoked from network); 3 Sep 2009 08:29:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Sep 2009 08:29:03 -0000 Received: (qmail 39743 invoked by uid 500); 3 Sep 2009 08:29:03 -0000 Delivered-To: [email protected] Received: (qmail 39686 invoked by uid 500); 3 Sep 2009 08:29:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 39676 invoked by uid 99); 3 Sep 2009 08:29:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2009 08:29:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2009 08:28:53 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C2312234C1E6 for <[email protected]>; Thu, 3 Sep 2009 01:28:32 -0700 (PDT) Message-ID: <934769139.1251966512794.JavaMail.jira@brutus> Date: Thu, 3 Sep 2009 01:28:32 -0700 (PDT) From: "Jochen Kemnade (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (TAP5-766) Pop up validation error bubbles are displayed without the CSS styles applied in IE8 Standards Mode In-Reply-To: <859-838-3298.1246976055098.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-766?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Jochen Kemnade updated TAP5-766: -------------------------------- Attachment: prototype-element-classname.patch The cause for this problem is https://prototype.lighthouseapp.com/projects/= 8886/tickets/529. The attached patch against Tapestry 161.129.204.104's tapestry.js= fixes the problem. > Pop up validation error bubbles are displayed without the CSS styles appl= ied in IE8 Standards Mode > -------------------------------------------------------------------------= ------------------------- > > Key: TAP5-766 > URL: https://issues.apache.org/jira/browse/TAP5-766 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 161.129.204.104, 5.0.18 > Reporter: T=C3=B5nis Pihlakas > Priority: Minor > Attachments: prototype-element-classname.patch > > > In Internet Explorer 8 (standards mode), validation error bubbles are dis= played without the background images and other CSS styles applied. For some= reason, the t-error-popup CSS class is not resolved for the DIV element an= d its sub-elements created in Tapestry.ErrorPopup.initialize(). > The problem seems to be associated with the Prototype library 161.129.204.104, si= nce the problem disappears when the version 1.6.1 RC2 is used instead. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Sep 03 13:57:22 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99859 invoked from network); 3 Sep 2009 13:57:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Sep 2009 13:57:22 -0000 Received: (qmail 80940 invoked by uid 500); 3 Sep 2009 13:57:22 -0000 Delivered-To: [email protected] Received: (qmail 80876 invoked by uid 500); 3 Sep 2009 13:57:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 80865 invoked by uid 99); 3 Sep 2009 13:57:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2009 13:57:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2009 13:57:18 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A030C234C04B for <[email protected]>; Thu, 3 Sep 2009 06:56:57 -0700 (PDT) Message-ID: <1296134063.1251986217645.JavaMail.jira@brutus> Date: Thu, 3 Sep 2009 06:56:57 -0700 (PDT) From: "Andy Blower (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (TAP5-834) BaseOptimizedSessionPersistedObject does not work correctly with Tomcat & Jetty MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org BaseOptimizedSessionPersistedObject does not work correctly with Tomcat & Jetty ------------------------------------------------------------------------------- Key: TAP5-834 URL: https://issues.apache.org/jira/browse/TAP5-834 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.0.18, 161.129.204.104, 161.129.204.104, 161.129.204.104, 161.129.204.104, 161.129.204.104, 161.129.204.104 Reporter: Andy Blower Priority: Critical OptimizedSessionPersistedObject's suggestion for implementing isSessionPersistedObjectDirty(), as used by BaseOptimizedSessionPersistedObject, does not work correctly with Tomcat & Jetty. (and quite possibly other servlet containers too, but we only use Jetty & Tomcat so have only confirmed it with them) OptimizedSessionPersistedObject model relies on the servlet container session object triggering a HttpSessionBindingEvent when an object is re-stored in the session to reset the dirty flag. I've only looked at the source of Tomcat 5.5 and 6 but when an object is replaced in the session using setAttribute() the new object and the existing object are compared by reference only, if they both refer to the same object then no HttpSessionBindingEvent is triggered. >From Tomcat StandardSession.java: // Call the valueBound() method if necessary if (notify && value instanceof HttpSessionBindingListener) { // Don't call any notification if replacing with the same value Object oldValue = attributes.get(name); if (value != oldValue) { event = new HttpSessionBindingEvent(getSession(), name, value); try { ((HttpSessionBindingListener) value).valueBound(event); } catch (Throwable t){ manager.getContainer().getLogger().error (sm.getString("standardSession.bindingEvent"), t); } } } So, using OptimizedSessionPersistedObject, there is currently no way of setting the dirty flag to false after the object has been saved in the session - hence we are propagating all of the SSOs across the cluster all of the time because the dirty flag stays set to true. I think there are two possible solutions to this issue - I prefer the first by a large margin, but both modify the SessionImpl.restoreDirtyObjects() method. 1) Add a new method to OptimizedSessionPersistedObject interface to reset the dirty flag, and a corresponding method in SessionPersistedObjectAnalyzer - implementing them as appropriate, then call the new reset method after setting the session attribute in SessionImpl.restoreDirtyObjects(). 2) Remove the session attribute before adding it in SessionImpl.restoreDirtyObjects(). Although I have a worry that this may potentially cause hard to find concurrency problems. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Sep 03 18:04:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78857 invoked from network); 3 Sep 2009 18:04:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Sep 2009 18:04:20 -0000 Received: (qmail 81608 invoked by uid 500); 3 Sep 2009 18:04:19 -0000 Delivered-To: [email protected] Received: (qmail 81468 invoked by uid 500); 3 Sep 2009 18:04:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81449 invoked by uid 99); 3 Sep 2009 18:04:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2009 18:04:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2009 18:04:17 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 80264234C004 for <[email protected]>; Thu, 3 Sep 2009 11:03:57 -0700 (PDT) Message-ID: <1518670963.1252001037510.JavaMail.jira@brutus> Date: Thu, 3 Sep 2009 11:03:57 -0700 (PDT) From: "Howard M. Lewis Ship (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Moved: (TAP5-835) Palette keeps resetting order of selected values on page reload In-Reply-To: <859-838-3298.1246862354862.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Howard M. Lewis Ship moved TAPESTRY-2741 to TAP5-835: ----------------------------------------------------- Component/s: (was: Core Components) Affects Version/s: (was: 5.1) Key: TAP5-835 (was: TAPESTRY-2741) Project: Tapestry 5 (was: Tapestry) > Palette keeps resetting order of selected values on page reload > --------------------------------------------------------------- > > Key: TAP5-835 > URL: https://issues.apache.org/jira/browse/TAP5-835 > Project: Tapestry 5 > Issue Type: Bug > Environment: affects 5.0.18 as well as 161.129.204.104 regardless of OS/browser > Reporter: Jochen Kemnade > Priority: Minor > > I'm experiencing a problem with tapestry's palette component. I'm using it with the reorder parameter set to true. Reordering the > selected values works fine and the values are sent to the server in the expected order. However, if the page reloads and I submit the > containing form again without changing the palette's values, the original order is restored and sent to the server resetting the > previously arranged order. > AFAICT, this relates to the hidden form field used by the palette and the updateHidden Javascript method. This method is called whenever the > order of the selected options is changed. It is not called however when the Palette object is instantiated, so the hidden field keeps the > sorting that comes from the server. > I believe, this could be fixed by calling the updateHidden method at the end of the Tapestry.Palette.initialize method. The following patch > does this: > Index: palette.js > =================================================================== > --- palette.js (Revision 755168) > +++ palette.js (Arbeitskopie) > @@ -45,6 +45,7 @@ > }.bind(this)); > this.bindEvents(); > + this.updateHidden(); > }, > bindEvents : function() -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Sep 03 18:04:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78856 invoked from network); 3 Sep 2009 18:04:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Sep 2009 18:04:20 -0000 Received: (qmail 81583 invoked by uid 500); 3 Sep 2009 18:04:19 -0000 Delivered-To: [email protected] Received: (qmail 81466 invoked by uid 500); 3 Sep 2009 18:04:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81448 invoked by uid 99); 3 Sep 2009 18:04:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2009 18:04:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2009 18:04:17 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 98F77234C1E6 for <[email protected]>; Thu, 3 Sep 2009 11:03:57 -0700 (PDT) Message-ID: <770039110.1252001037624.JavaMail.jira@brutus> Date: Thu, 3 Sep 2009 11:03:57 -0700 (PDT) From: "Howard M. Lewis Ship (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Moved: (TAP5-836) URLEventContext is not Serializable - prevents Tapestry use in a Cluster In-Reply-To: <1135243445.1249072634841.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Howard M. Lewis Ship moved TAPESTRY-2743 to TAP5-836: ----------------------------------------------------- Component/s: (was: tapestry-core) Affects Version/s: (was: unspecified) Key: TAP5-836 (was: TAPESTRY-2743) Project: Tapestry 5 (was: Tapestry) > URLEventContext is not Serializable - prevents Tapestry use in a Cluster > ------------------------------------------------------------------------ > > Key: TAP5-836 > URL: https://issues.apache.org/jira/browse/TAP5-836 > Project: Tapestry 5 > Issue Type: Bug > Environment: CentOS 5.3, Java 1.6.0_14-b08, Tomcat 5.5.27 > Reporter: David Rees > Priority: Critical > > I have a Tapestry application which I am trying to use in a Tomcat cluster. > Tomcat uses Object Input/Output Streams to replicate session data, which requires that all objects added to a Session implement Serializable. > In Tapestry 5.0.18 (and all later versions from what I can tell from browsing source), org.apache.tapestry5.internal.URLEventContext does not implement Serializable which prevents us from using Tapestry in a cluster. > Unfortunately, this means that when we have to deploy a new version of our application, we have to forcibly log everyone out disrupting service. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Sep 03 18:04:21 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78960 invoked from network); 3 Sep 2009 18:04:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Sep 2009 18:04:21 -0000 Received: (qmail 81979 invoked by uid 500); 3 Sep 2009 18:04:21 -0000 Delivered-To: [email protected] Received: (qmail 81923 invoked by uid 500); 3 Sep 2009 18:04:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81914 invoked by uid 99); 3 Sep 2009 18:04:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2009 18:04:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2009 18:04:18 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B89EA234C1ED for <[email protected]>; Thu, 3 Sep 2009 11:03:57 -0700 (PDT) Message-ID: <1861087910.1252001037754.JavaMail.jira@brutus> Date: Thu, 3 Sep 2009 11:03:57 -0700 (PDT) From: "Howard M. Lewis Ship (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Moved: (TAP5-838) Tapestry should provide a list of known Symbols and providers In-Reply-To: <1175495458.1247035695037.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Howard M. Lewis Ship moved TAPESTRY-2742 to TAP5-838: ----------------------------------------------------- Issue Type: Bug (was: New Feature) Affects Version/s: (was: unspecified) Key: TAP5-838 (was: TAPESTRY-2742) Project: Tapestry 5 (was: Tapestry) > Tapestry should provide a list of known Symbols and providers > ------------------------------------------------------------- > > Key: TAP5-838 > URL: https://issues.apache.org/jira/browse/TAP5-838 > Project: Tapestry 5 > Issue Type: Bug > Reporter: Peter Stavrinides > Original Estimate: 0.08h > Remaining Estimate: 0.08h > > SymbolSourceImpl Contains two key elements: a list of providers; and a map of Symbols. When using SymbolSource, the assumption Tapestry makes is that the name of a Symbol is always known in order to do a Symbol lookup. > Why shouldn't these elements in SymbolSourceImpl be exposed since they are immutable? > private final List<SymbolProvider> providers; > private final Map<String, String> cache = CollectionFactory.newConcurrentMap(); > Its a disadvantage not having access to a list symbol names, and not being able to query for where the Symbols resides, the lack of these two features limits the usefulness of Symbols in Tapestry. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Sep 03 18:04:22 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78998 invoked from network); 3 Sep 2009 18:04:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Sep 2009 18:04:22 -0000 Received: (qmail 82158 invoked by uid 500); 3 Sep 2009 18:04:21 -0000 Delivered-To: [email protected] Received: (qmail 82081 invoked by uid 500); 3 Sep 2009 18:04:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81962 invoked by uid 99); 3 Sep 2009 18:04:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2009 18:04:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2009 18:04:18 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C811A234C1EE for <[email protected]>; Thu, 3 Sep 2009 11:03:57 -0700 (PDT) Message-ID: <984935302.1252001037817.JavaMail.jira@brutus> Date: Thu, 3 Sep 2009 11:03:57 -0700 (PDT) From: "Howard M. Lewis Ship (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Moved: (TAP5-839) Tapestry should ignore (public) synthetic methods in module classes In-Reply-To: <859-838-3298.1251761312747.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Howard M. Lewis Ship moved TAPESTRY-2746 to TAP5-839: ----------------------------------------------------- Component/s: (was: tapestry-ioc) Issue Type: Bug (was: Improvement) Affects Version/s: (was: 161.129.204.104) Key: TAP5-839 (was: TAPESTRY-2746) Project: Tapestry 5 (was: Tapestry) > Tapestry should ignore (public) synthetic methods in module classes > ------------------------------------------------------------------- > > Key: TAP5-839 > URL: https://issues.apache.org/jira/browse/TAP5-839 > Project: Tapestry 5 > Issue Type: Bug > Reporter: Peter Niederwieser > > Groovy (and probably other alternative languages as well) enriches its classes with public synthetic methods. For module classes written in Groovy, Tapestry complains that it doesn't recognize these methods. Because synthetic methods are obviously not meant for Tapestry, they should be ignored. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Sep 03 18:04:27 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79101 invoked from network); 3 Sep 2009 18:04:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Sep 2009 18:04:27 -0000 Received: (qmail 82479 invoked by uid 500); 3 Sep 2009 18:04:27 -0000 Delivered-To: [email protected] Received: (qmail 82403 invoked by uid 500); 3 Sep 2009 18:04:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 82394 invoked by uid 99); 3 Sep 2009 18:04:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2009 18:04:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2009 18:04:17 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A881F234C1EA for <[email protected]>; Thu, 3 Sep 2009 11:03:57 -0700 (PDT) Message-ID: <859-838-3298.1252001037688.JavaMail.jira@brutus> Date: Thu, 3 Sep 2009 11:03:57 -0700 (PDT) From: "Howard M. Lewis Ship (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Moved: (TAP5-837) prototype1.6.0 not support for ie8 In-Reply-To: <1008008848.1249959675126.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Howard M. Lewis Ship moved TAPESTRY-2745 to TAP5-837: ----------------------------------------------------- Component/s: (was: JavaScript) Affects Version/s: (was: 5.0.15) Key: TAP5-837 (was: TAPESTRY-2745) Project: Tapestry 5 (was: Tapestry) > prototype1.6.0 not support for ie8 > ---------------------------------- > > Key: TAP5-837 > URL: https://issues.apache.org/jira/browse/TAP5-837 > Project: Tapestry 5 > Issue Type: Bug > Environment: ie8 > Reporter: careprad > Attachments: SelfUpdateZone.zip > > > First of all,forgive my poor english. :) > I want to write a custom component which can update it by itself,the javascript code like this, > T5ZK.update = function(ops) { > var zone = $(ops.id); > > if (!zone) { > Tapestry.warn("update zone:" + ops.id + "not find!"); > > return; > } > > new Ajax.Request(ops.url, { > method: 'post', > parameters : {clientid : ops.id}, > onSuccess : function(transport) { > var reply = transport.responseJSON; > zone.update(reply.content); //here will update the content of the element > } > }); > } > the rendered element will be like this: > <div id="selfupdatezone"> > <a href="#" onclick="T5ZK.update({'url':'/selfzonetest.selfupdatezone:go/false','id':'selfupdatezone'});return false;">gbagba1249956540593</a> > </div> > the ajax response is like this: > {"scripts":["/assets/app/d420eea879c2a23e/components/T5ZK.js"],"script":"Tapestry.init({\"zone\":[\"selfupdatezone\"]});\n","content":"<div id='selfupdatezone'><a onclick='T5ZK.update({&apos;url&apos;:&apos;/selfzonetest.selfupdatezone:go/false&apos;,&apos;id&apos;:&apos;selfupdatezone&apos;});return false;' href='#'>gbagba1249956540593<\/a><\/div>"} > all this is work fine in firefox,but in ie8 it broken. > I view the page source and find that the result is : > <DIV id=selfupdatezone><DIV id=selfupdatezone><A onclick="T5ZK.update({&amp;apos;url&amp;apos;:&amp;apos;/selfzonetest.selfupdatezone:go/false&amp;apos;,&amp;apos;id&amp;apos;:&amp;apos;selfupdatezone&amp;apos;});return false;" href="#">gbagba718</A></DIV></DIV> > as you see:the update method do not decode the html string such as &amp; apos; > I think this is the bug of prototype,I update the prototype to the vertion of 1.6.1-rc,and the problem is still exists. > Now how can I resolve this problem? > or anybody show me any other easy way to write a self-ajax-update component? > at here I have some word to say about tapestry5: > I don't like the javascript it support,I like it pure ,and I will hold the javascript by myself.But I like the support of asset such as include javascript,append javascript to the client. > I eagerlly want to new a component in java code,but t5 do not allow me do this,do any one find the beaform editor is so complex?I can create a customer beanform editor in asp.net so easy but I find in T5,wicket,struts2,jsf is so hard.I want it just simple,and more simple... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Sep 04 08:27:21 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52553 invoked from network); 4 Sep 2009 08:27:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Sep 2009 08:27:21 -0000 Received: (qmail 49578 invoked by uid 500); 4 Sep 2009 08:27:20 -0000 Delivered-To: [email protected] Received: (qmail 49432 invoked by uid 500); 4 Sep 2009 08:27:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 49417 invoked by uid 99); 4 Sep 2009 08:27:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 08:27:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 08:27:18 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 3879C234C004 for <[email protected]>; Fri, 4 Sep 2009 01:26:58 -0700 (PDT) Message-ID: <1638596733.1252052818217.JavaMail.jira@brutus> Date: Fri, 4 Sep 2009 01:26:58 -0700 (PDT) From: "Ben Gidley (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (TAP5-840) Support character references in tml files with HTML 5 Doctype MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Support character references in tml files with HTML 5 Doctype ------------------------------------------------------------- Key: TAP5-840 URL: https://issues.apache.org/jira/browse/TAP5-840 Project: Tapestry 5 Issue Type: Improvement Components: tapestry-core Affects Versions: 5.0.18 Reporter: Ben Gidley Currently to support HTML character references (e.g. &copy;) you need to put a HTML Doctype at the top of the TML file. e.g. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> However for HTML 5 they have stopped using XML doctypes and instead use <!DOCTYPE html> If you change tapestry page to use this you can no longer use entities as the XML parser doesn't know what to do. Ideally there should be some kind of logic that detects <!DOCTYPE html> and include a suitable DTD to resolve the common HTML entities. The HTML 5 specification defines the allowed named character references - http://dev.w3.org/html5/spec/Overview.html#named-character-references. There doesn't seem to be a DTD of allowed references maintained anymore. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Sep 04 09:42:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80868 invoked from network); 4 Sep 2009 09:42:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Sep 2009 09:42:20 -0000 Received: (qmail 89458 invoked by uid 500); 4 Sep 2009 09:42:19 -0000 Delivered-To: [email protected] Received: (qmail 89395 invoked by uid 500); 4 Sep 2009 09:42:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 89386 invoked by uid 99); 4 Sep 2009 09:42:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 09:42:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 09:42:17 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 9FE2B234C1EE for <[email protected]>; Fri, 4 Sep 2009 02:41:57 -0700 (PDT) Message-ID: <1956545909.1252057317653.JavaMail.jira@brutus> Date: Fri, 4 Sep 2009 02:41:57 -0700 (PDT) From: "Andy Blower (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (TAP5-836) URLEventContext is not Serializable - prevents Tapestry use in a Cluster In-Reply-To: <1135243445.1249072634841.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751395#action_12751395 ] Andy Blower commented on TAP5-836: ---------------------------------- Could you explain why a URLEventContext is going into the session? > URLEventContext is not Serializable - prevents Tapestry use in a Cluster > ------------------------------------------------------------------------ > > Key: TAP5-836 > URL: https://issues.apache.org/jira/browse/TAP5-836 > Project: Tapestry 5 > Issue Type: Bug > Environment: CentOS 5.3, Java 1.6.0_14-b08, Tomcat 5.5.27 > Reporter: David Rees > Priority: Critical > > I have a Tapestry application which I am trying to use in a Tomcat cluster. > Tomcat uses Object Input/Output Streams to replicate session data, which requires that all objects added to a Session implement Serializable. > In Tapestry 5.0.18 (and all later versions from what I can tell from browsing source), org.apache.tapestry5.internal.URLEventContext does not implement Serializable which prevents us from using Tapestry in a cluster. > Unfortunately, this means that when we have to deploy a new version of our application, we have to forcibly log everyone out disrupting service. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Sep 04 10:12:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89538 invoked from network); 4 Sep 2009 10:12:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Sep 2009 10:12:20 -0000 Received: (qmail 31384 invoked by uid 500); 4 Sep 2009 10:12:19 -0000 Delivered-To: [email protected] Received: (qmail 31318 invoked by uid 500); 4 Sep 2009 10:12:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31309 invoked by uid 99); 4 Sep 2009 10:12:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 10:12:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 10:12:17 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 8DB45234C004 for <[email protected]>; Fri, 4 Sep 2009 03:11:57 -0700 (PDT) Message-ID: <227974389.1252059117564.JavaMail.jira@brutus> Date: Fri, 4 Sep 2009 03:11:57 -0700 (PDT) From: "Tran Le Xuan (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (TAP5-78) Portlet(JSR-168) Support MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tran Le Xuan updated TAP5-78: ----------------------------- Attachment: tapestry_portlet_161.129.204.104.zip tapestry_portlet_5.0.18.zip tapestry_portlet_5.0.15.zip This is my contribution for supporting tapestry runs in portlet mode. I develop from the source of Kristina B. Taylor. Thanks for Kristina. The source now supports tapestry versions from 5.0.15 to 5.0.18, and 161.129.204.104. For version 5.0.15, I fixed the bug about the action event and the passivate context from Kristina source. > Portlet(JSR-168) Support > ------------------------ > > Key: TAP5-78 > URL: https://issues.apache.org/jira/browse/TAP5-78 > Project: Tapestry 5 > Issue Type: New Feature > Affects Versions: 5.0.15 > Reporter: Michael Lake > Attachments: tapestry-portlet-contribution-code.zip, tapestry_portlet_5.0.15.zip, tapestry_portlet_5.0.18.zip, tapestry_portlet_161.129.204.104.zip > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Sep 04 10:16:22 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91590 invoked from network); 4 Sep 2009 10:16:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Sep 2009 10:16:21 -0000 Received: (qmail 36138 invoked by uid 500); 4 Sep 2009 10:16:21 -0000 Delivered-To: [email protected] Received: (qmail 36057 invoked by uid 500); 4 Sep 2009 10:16:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 36048 invoked by uid 99); 4 Sep 2009 10:16:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 10:16:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 10:16:18 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 7FEAD234C004 for <[email protected]>; Fri, 4 Sep 2009 03:15:57 -0700 (PDT) Message-ID: <471425122.1252059357501.JavaMail.jira@brutus> Date: Fri, 4 Sep 2009 03:15:57 -0700 (PDT) From: "Tran Le Xuan (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Issue Comment Edited: (TAP5-78) Portlet(JSR-168) Support MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751411#action_12751411 ] Tran Le Xuan edited comment on TAP5-78 at 9/4/09 3:14 AM: ---------------------------------------------------------- This is my contribution for supporting tapestry runs in portlet mode. I develop from the source of Kristina B. Taylor. Thanks for Kristina. The source now supports tapestry versions from 5.0.15 to 5.0.18, and 161.129.204.104. For version 5.0.15, I fixed the bug about the action event and the passivate context from Kristina source. For version 5.0.18, it can run with tapestry version 5.0.16, 5.0.17, and 5.0.18. was (Author: xuantl): This is my contribution for supporting tapestry runs in portlet mode. I develop from the source of Kristina B. Taylor. Thanks for Kristina. The source now supports tapestry versions from 5.0.15 to 5.0.18, and 161.129.204.104. For version 5.0.15, I fixed the bug about the action event and the passivate context from Kristina source. > Portlet(JSR-168) Support > ------------------------ > > Key: TAP5-78 > URL: https://issues.apache.org/jira/browse/TAP5-78 > Project: Tapestry 5 > Issue Type: New Feature > Affects Versions: 5.0.15 > Reporter: Michael Lake > Attachments: tapestry-portlet-contribution-code.zip, tapestry_portlet_5.0.15.zip, tapestry_portlet_5.0.18.zip, tapestry_portlet_161.129.204.104.zip > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Sep 04 10:24:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93458 invoked from network); 4 Sep 2009 10:24:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Sep 2009 10:24:20 -0000 Received: (qmail 47851 invoked by uid 500); 4 Sep 2009 10:24:19 -0000 Delivered-To: [email protected] Received: (qmail 47768 invoked by uid 500); 4 Sep 2009 10:24:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 47759 invoked by uid 99); 4 Sep 2009 10:24:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 10:24:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 10:24:17 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 9D9A4234C1F0 for <[email protected]>; Fri, 4 Sep 2009 03:23:57 -0700 (PDT) Message-ID: <687212356.1252059837644.JavaMail.jira@brutus> Date: Fri, 4 Sep 2009 03:23:57 -0700 (PDT) From: "Massimo Lusetti (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (TAP5-78) Portlet(JSR-168) Support MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751416#action_12751416 ] Massimo Lusetti commented on TAP5-78: ------------------------------------- Tran Le Xuan this issue is closed as duplicate TAP5-64 so please add the patch to TAP5-64 if that applies. Cheers > Portlet(JSR-168) Support > ------------------------ > > Key: TAP5-78 > URL: https://issues.apache.org/jira/browse/TAP5-78 > Project: Tapestry 5 > Issue Type: New Feature > Affects Versions: 5.0.15 > Reporter: Michael Lake > Attachments: tapestry-portlet-contribution-code.zip, tapestry_portlet_5.0.15.zip, tapestry_portlet_5.0.18.zip, tapestry_portlet_161.129.204.104.zip > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Sep 04 13:51:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65613 invoked from network); 4 Sep 2009 13:51:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Sep 2009 13:51:19 -0000 Received: (qmail 11095 invoked by uid 500); 4 Sep 2009 13:51:19 -0000 Delivered-To: [email protected] Received: (qmail 11036 invoked by uid 500); 4 Sep 2009 13:51:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 11027 invoked by uid 99); 4 Sep 2009 13:51:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 13:51:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 13:51:17 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 8AD12234C1EF for <[email protected]>; Fri, 4 Sep 2009 06:50:57 -0700 (PDT) Message-ID: <234886318.1252072257567.JavaMail.jira@brutus> Date: Fri, 4 Sep 2009 06:50:57 -0700 (PDT) From: "Seth Call (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (TAP5-733) AjaxFormLoop occasionally fails with "The rendered content did not include any elements that allow for the positioning of the hidden form field's element" In-Reply-To: <1856646605.1243963207400.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751462#action_12751462 ] Seth Call commented on TAP5-733: -------------------------------- I also see this issue, but I can't determine what causes it. Sometimes it happens immediately after refreshing the page (within seconds of loading the page). After some number of refreshes, then the problem just goes away for a while again. > AjaxFormLoop occasionally fails with "The rendered content did not include any elements that allow for the positioning of the hidden form field's element" > ---------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: TAP5-733 > URL: https://issues.apache.org/jira/browse/TAP5-733 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 161.129.204.104 > Reporter: Howard M. Lewis Ship > > First reported by the users at ProQuest and hard to reproduce. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Sep 04 16:38:33 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24205 invoked from network); 4 Sep 2009 16:38:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Sep 2009 16:38:33 -0000 Received: (qmail 26639 invoked by uid 500); 4 Sep 2009 16:38:33 -0000 Delivered-To: [email protected] Received: (qmail 26583 invoked by uid 500); 4 Sep 2009 16:38:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26574 invoked by uid 99); 4 Sep 2009 16:38:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 16:38:33 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 16:38:19 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 94C3423888E6; Fri, 4 Sep 2009 16:37:58 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r811478 - /tapestry/tapestry-site/trunk/src/site/xdoc/index.xml Date: Fri, 04 Sep 2009 16:37:58 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: hlship Date: Fri Sep 4 16:37:57 2009 New Revision: 811478 URL: http://svn.apache.org/viewvc?rev=811478&view=rev Log: Add a "Training and Support" section linking to Howard's and Thiago's personal pages Modified: tapestry/tapestry-site/trunk/src/site/xdoc/index.xml Modified: tapestry/tapestry-site/trunk/src/site/xdoc/index.xml URL: http://svn.apache.org/viewvc/tapestry/tapestry-site/trunk/src/site/xdoc/index.xml?rev=811478&r1=811477&r2=811478&view=diff ============================================================================== --- tapestry/tapestry-site/trunk/src/site/xdoc/index.xml (original) +++ tapestry/tapestry-site/trunk/src/site/xdoc/index.xml Fri Sep 4 16:37:57 2009 @@ -1,364 +1,417 @@ <?xml version="1.0"?> <document> - <properties> - <title>Welcome to Tapestry</title> - <author email="[email protected]">Jesse Kuhnert</author> - </properties> - <body> - <section name="Welcome to Apache Tapestry"> - <div id="downloadbox"> - - <h5>Get Tapestry 161.129.204.104</h5> - <p> - <a href="download.html"> - <img valign="top" src="images/folder-open.gif" border="0" alt="" title="download"/> - Download - </a> - Tapestry 161.129.204.104 - </p> - <br/> - <h5>Get Tapestry 4.1.6</h5> - <p> - <a href="download.html"> - <img valign="top" src="images/folder-open.gif" border="0" alt="" title="download"/> - Download - </a> - Tapestry 4.1.6 - </p> - <br/> - <!-- Leave the last few news items here --> - <h5>New!</h5> - <ul style="list-style:none"> - - <li> - <a href="news.html#20090506">Tapestry 161.129.204.104 - Final Release</a> - </li> - <li> - <a href="news.html#20090215">New committers: Thiago and Robert</a> - </li> - <li> - <a href="news.html#Tapestry 5.0 Refcard">Tapestry 5.0 Refcard</a> - </li> - </ul> - </div> - - - <p> - Apache Tapestry is an open-source framework for creating dynamic, robust, highly scalable web - applications in Java. - Tapestry complements and builds upon the standard Java Servlet API, and so it works in any servlet - container or application server. + <properties> + <title>Welcome to Tapestry</title> + <author email="[email protected]">Jesse Kuhnert</author> + </properties> + <body> + <section name="Welcome to Apache Tapestry"> + <div id="downloadbox"> + + <h5>Get Tapestry 161.129.204.104</h5> + <p> + <a href="download.html"> + <img valign="top" src="images/folder-open.gif" border="0" alt="" + title="download" /> + Download + </a> + Tapestry 161.129.204.104 + </p> + <br /> + <h5>Get Tapestry 4.1.6</h5> + <p> + <a href="download.html"> + <img valign="top" src="images/folder-open.gif" border="0" alt="" + title="download" /> + Download + </a> + Tapestry 4.1.6 + </p> + <br /> + <!-- Leave the last few news items here --> + <h5>New!</h5> + <ul style="list-style:none"> + + <li> + <a href="news.html#20090506">Tapestry 161.129.204.104 - Final Release</a> + </li> + <li> + <a href="news.html#20090215">New committers: Thiago and Robert</a> + </li> + <li> + <a href="news.html#Tapestry 5.0 Refcard">Tapestry 5.0 Refcard</a> + </li> + </ul> + </div> + + + <p> + Apache Tapestry is an open-source framework for creating dynamic, robust, + highly scalable web + applications in Java. + Tapestry complements and builds upon the standard Java Servlet API, and so + it works in any servlet + container or application server. </p> - <p> - Tapestry divides a web application into a set of pages, each constructed from components. This provides - a consistent structure, - allowing the Tapestry framework to assume responsibility for key concerns such as URL construction and - dispatch, persistent state - storage on the client or on the server, user input validation, localization/internationalization, and - exception reporting. - Developing Tapestry applications involves creating HTML templates using plain HTML, and combining the - templates with small amounts of - Java code. In Tapestry, you create your application in terms of objects, and the methods and properties - of those - objects -- and specifically not in terms of URLs and query parameters. - Tapestry brings true object oriented development to Java web applications. + <p> + Tapestry divides a web application into a set of pages, each constructed + from components. This provides + a consistent structure, + allowing the Tapestry framework to assume responsibility for key concerns + such as URL construction and + dispatch, persistent state + storage on the client or on the server, user input validation, + localization/internationalization, and + exception reporting. + Developing Tapestry applications involves creating HTML templates using plain + HTML, and combining the + templates with small amounts of + Java code. In Tapestry, you create your application in terms of objects, + and the methods and properties + of those + objects -- and specifically not in terms of URLs and query parameters. + Tapestry brings true object oriented development to Java web + applications. </p> - <p> - Tapestry is specifically designed to make creating new components very easy, - as this is a routine approach when building applications. + <p> + Tapestry is specifically designed to make creating new components very easy, + as this is a routine approach when building applications. </p> - <p> - Tapestry is architected to scale from tiny, single-page applications all the way up to - massive applications consisting of hundreds of individual pages, developed by - large, diverse teams. Tapestry easily integrates with any kind of backend, including JEE, - HiveMind, Spring and Hibernate. + <p> + Tapestry is architected to scale from tiny, single-page applications all the + way up to + massive applications consisting of hundreds of individual pages, developed + by + large, diverse teams. Tapestry easily integrates with any kind of backend, + including JEE, + HiveMind, Spring and Hibernate. </p> - <p> - It's more than what you - <em>can</em> - do with Tapestry ... it's also - <em>how</em> - you do it! Tapestry is a vastly productive environment. - Java developers love it because they can make - <em>Java code</em> - changes and see them immediately ... no redeploy, no restart! And it's blazingly fast to boot - (even when files change). Designers - love it because Tapestry templates are so close to ordinary HTML, without all the cruft and confusion - seen in JavaServer Pages. Managers love it because - it makes it easy for large teams to work together, and because they know important features (including - localization) are baked right in. Once you work - in Tapestry there's no going back! - </p> + <p> + It's more than what you + <em>can</em> + do with Tapestry ... it's also + <em>how</em> + you do it! Tapestry is a vastly productive environment. + Java developers love it because they can make + <em>Java code</em> + changes and see them immediately ... no redeploy, no restart! And + it's blazingly fast to boot + (even when files change). Designers + love it because Tapestry templates are so close to ordinary HTML, + without all the cruft and confusion + seen in JavaServer Pages. Managers love it because + it makes it easy for large teams to work together, and because they + know important features (including + localization) are baked right in. Once you work + in Tapestry there's no going back! + </p> - <p> - Tapestry is released under the Apache Software Licence 2.0. + <p> + Tapestry is released under the Apache Software Licence 2.0. </p> - </section> + </section> - <section name="Releases"> + <section name="Releases"> - <p> - Tapestry has a long history, with the oldest code dating back to January 2000. That means a lot of - releases. - At this time, Tapestry releases 3 and 4 are no longer being developed; developer effort is focused on - Tapestry 5. + <p> + Tapestry has a long history, with the oldest code dating back to January + 2000. That means a lot of + releases. + At this time, Tapestry releases 3 and 4 are no longer being developed; + developer effort is focused on + Tapestry 5. </p> - </section> - + </section> - <section name="Third Party Libraries, Tutorials and Resources"> + <section name="Training and Support"> - <p> - Tapestry 5 has inspired a number of people to create third party libraries, providing a mix of new - components - and new and improved integrations. + <p>Training on Tapestry and Support is available directly from the + source: the Tapestry project committers:</p> + <ul> + <li> + <a href="http://howardlewisship.com/training.html">Howard Lewis Ship</a> + : Provides a multi-day, hands-on workshop on Tapestry, as well as + mentoring, support and project work + </li> + <li> + <a href="http://www.arsmachina.com.br/services">Thiago H. de Paula Figueriredo</a> + : Provides training and support on Tapestry and related technologies including + Spring and Hibernate + </li> + </ul> + + </section> + + + <section name="Third Party Libraries, Tutorials and Resources"> + + <p> + Tapestry 5 has inspired a number of people to create third party libraries, + providing a mix of new + components + and new and improved integrations. </p> - <table> - <tr> - <th>Name</th> - <th>Author</th> - <th>Description</th> - </tr> - <tr> - <td> - <a href="http://code.google.com/p/tapestry5-appfuse/">AppFuse for Tapestry 5</a> - </td> - <td> - Serge Eby - </td> - <td> - Application template, with basic authentication and Hibernate and Spring integration - pre-configured. - </td> - </tr> - - <tr> - <td> - <a href="http://www.arsmachina.com.br">Ars Machina</a> - </td> - <td> - Thiago H. de Paula Figueiredo - </td> - <td> - Tapestry/Hibernate extensions for Generic DAOs, standard CRUD interfaces, and user access - logging and tracking. - </td> - </tr> - <tr> - <td> - <a href="http://www.chenillekit.org/">Chenille Kit</a> - </td> - <td> - Massimo Lusetti - </td> - <td> - Collection of modules, services, utilities and components (many of which require only - tapestry-ioc). - </td> - </tr> - <tr> - <td> - <a href="http://equanda.org/equanda-tapestry5/">equanda-tapestry5</a> - </td> - <td> - Joachim Van der Auwera - </td> - <td> - Components useful for building enterprise applications. Includes Accordion, Tabs, Formtraversal. - Amongst other things, these focus on easy input of data without the need for a mouse. - </td> - </tr> - <tr> - <td> - <a href="http://code.google.com/p/gc-tapestry-components/">Godcode Components</a> - </td> - <td> - Chris Lewis - </td> - <td> - A mixed collection of components providing simple but time-saving functionality, as well as more - exotic ones; built on top of the prototype and script.aculo.us javascript libraries. - </td> - </tr> - - <tr> - <td> - <a href="http://jumpstart.doublenegative.com.au/">JumpStart</a> - </td> - <td> - Geoff Callender - </td> - <td> - A "living tutorial" in the form of a base Tapestry application ready to be expanded and - customized. - </td> - </tr> - <tr> - <td> - <a href="http://interldap.org">InterLDAP</a> - </td> - <td> - Linagora / Francois Armand - </td> - <td> - LDAP content management system for non tech users. - </td> - </tr> - <tr> - <td> - <a href="http://code.google.com/p/loom-t5/">loom-t5</a> - </td> - <td> - Chris Scheid - </td> - <td> - Eclipse plugin. - </td> - </tr> - <tr> - <td> - <a href="http://code.google.com/p/shams/">Shams Examples, Components</a> - </td> - <td> - Mohammad H. Shamsi - </td> - <td> - A set of Tapestry 5 Examples, Tutorials, Components, and Documents for beginners. - </td> - </tr> - <tr> - <td> - <a href="http://www.infoq.com/articles/tapestry5-intro">Tapestry for Nonbelievers</a> - </td> - <td> - Renat Zubairov &amp; Igor Drobiazko - </td> - <td> - Simple introduction to using Tapestry and creating components. - </td> - </tr> - <tr> - <td> - <a href="http://code.google.com/p/tapestry5-components">T5Components</a> - </td> - <td> - Sven Homburg - </td> - <td> - Ajax-enabled components based on Prototype and Scriptaculous. - </td> - </tr> - <tr> - <td> - <a href="http://tacos.sourceforge.net/tacos5/tacos-seam/">tacos-seam</a> - </td> - <td> - Igor Drobiazko - </td> - <td> - Intregrates with - <a href="http://www.jboss.com/products/seam">JBoss Seam</a>. - </td> - </tr> - <tr> - <td> - <a href="http://docs.codehaus.org/display/TRAILS/Conversations+in+Trails"> - tapestry-conversations + <table> + <tr> + <th>Name</th> + <th>Author</th> + <th>Description</th> + </tr> + <tr> + <td> + <a href="http://code.google.com/p/tapestry5-appfuse/">AppFuse for Tapestry 5</a> + </td> + <td> + Serge Eby + </td> + <td> + Application template, with basic authentication and Hibernate and Spring + integration + pre-configured. + </td> + </tr> + + <tr> + <td> + <a href="http://www.arsmachina.com.br">Ars Machina</a> + </td> + <td> + Thiago H. de Paula Figueiredo + </td> + <td> + Tapestry/Hibernate extensions for Generic DAOs, standard CRUD interfaces, and user + access + logging and tracking. + </td> + </tr> + <tr> + <td> + <a href="http://www.chenillekit.org/">Chenille Kit</a> + </td> + <td> + Massimo Lusetti + </td> + <td> + Collection of modules, services, utilities and components (many of which + require only + tapestry-ioc). + </td> + </tr> + <tr> + <td> + <a href="http://equanda.org/equanda-tapestry5/">equanda-tapestry5</a> + </td> + <td> + Joachim Van der Auwera + </td> + <td> + Components useful for building enterprise applications. Includes Accordion, + Tabs, Formtraversal. + Amongst other things, these focus on easy input of data without the need + for a mouse. + </td> + </tr> + <tr> + <td> + <a href="http://code.google.com/p/gc-tapestry-components/">Godcode Components</a> + </td> + <td> + Chris Lewis + </td> + <td> + A mixed collection of components providing simple but time-saving + functionality, as well as more + exotic ones; built on top of the prototype and script.aculo.us + javascript libraries. + </td> + </tr> + + <tr> + <td> + <a href="http://jumpstart.doublenegative.com.au/">JumpStart</a> + </td> + <td> + Geoff Callender + </td> + <td> + A "living tutorial" in the form of a base Tapestry application + ready to be expanded and + customized. + </td> + </tr> + <tr> + <td> + <a href="http://interldap.org">InterLDAP</a> + </td> + <td> + Linagora / Francois Armand + </td> + <td> + LDAP content management system for non tech users. + </td> + </tr> + <tr> + <td> + <a href="http://code.google.com/p/loom-t5/">loom-t5</a> + </td> + <td> + Chris Scheid + </td> + <td> + Eclipse plugin. + </td> + </tr> + <tr> + <td> + <a href="http://code.google.com/p/shams/">Shams Examples, Components</a> + </td> + <td> + Mohammad H. Shamsi + </td> + <td> + A set of Tapestry 5 Examples, Tutorials, Components, and Documents + for beginners. + </td> + </tr> + <tr> + <td> + <a href="http://www.infoq.com/articles/tapestry5-intro">Tapestry for Nonbelievers</a> + </td> + <td> + Renat Zubairov &amp; Igor Drobiazko + </td> + <td> + Simple introduction to using Tapestry and creating components. + </td> + </tr> + <tr> + <td> + <a href="http://code.google.com/p/tapestry5-components">T5Components</a> + </td> + <td> + Sven Homburg + </td> + <td> + Ajax-enabled components based on Prototype and Scriptaculous. + </td> + </tr> + <tr> + <td> + <a href="http://tacos.sourceforge.net/tacos5/tacos-seam/">tacos-seam</a> + </td> + <td> + Igor Drobiazko + </td> + <td> + Intregrates with + <a href="http://www.jboss.com/products/seam">JBoss Seam</a> + . + </td> + </tr> + <tr> + <td> + <a + href="http://docs.codehaus.org/display/TRAILS/Conversations+in+Trails"> + tapestry-conversations </a> - </td> - <td> - Trails Team / Kalle Korhonen - </td> - <td> - Conversational state that persists across requests. - </td> - </tr> - <tr> - <td> - <a href="http://www.localhost.nu/java/tapestry5-acegi/">tapestry5-acegi</a> - </td> - <td> - Robin Helgelin - </td> - <td> - Integration with the Acegi path-based security framework. - </td> - </tr> - <tr> - <td> - <a href="http://tapestry.formos.com/nightly/tapestry-templating/">tapestry-templating</a> - </td> - <td> - Howard M. Lewis Ship - </td> - <td> - Use Tapestry pages off-line to generate content (such as email). - </td> - </tr> - <tr> - <td> - <a href="http://code.google.com/p/tapestry5-treegrid/">tapestry5-treegrid</a> - </td> - <td> - Gabriel Landais - </td> - <td> - Combination tree navigation and data grid, based on sstree. - </td> - </tr> - <tr> - <td> - <a href="http://tapestry.formos.com/projects/ioko-tapestry-commons/">ioko-tapestry-commons</a> - </td> - <td> - Ben Gidley, et al. - </td> - <td> - Provides components for caching, cache control, and simply SWF integration. - </td> - </tr> - </table> - - - <p> - A growing number of non-Apache Tapestry projects are being hosted on - <a href="http://tapestry.formos.com">Tapestry360</a>. - </p> - - </section> - - <section name="Tapestry 6?"> - - <p> - Don't hold your breath; Tapestry 5 was built from the ground up to allow significant improvements - to the framework without sacrificing backwards compatibility. + </td> + <td> + Trails Team / Kalle Korhonen + </td> + <td> + Conversational state that persists across requests. + </td> + </tr> + <tr> + <td> + <a href="http://www.localhost.nu/java/tapestry5-acegi/">tapestry5-acegi</a> + </td> + <td> + Robin Helgelin + </td> + <td> + Integration with the Acegi path-based security framework. + </td> + </tr> + <tr> + <td> + <a href="http://tapestry.formos.com/nightly/tapestry-templating/">tapestry-templating</a> + </td> + <td> + Howard M. Lewis Ship + </td> + <td> + Use Tapestry pages off-line to generate content (such as email). + </td> + </tr> + <tr> + <td> + <a href="http://code.google.com/p/tapestry5-treegrid/">tapestry5-treegrid</a> + </td> + <td> + Gabriel Landais + </td> + <td> + Combination tree navigation and data grid, based on sstree. + </td> + </tr> + <tr> + <td> + <a href="http://tapestry.formos.com/projects/ioko-tapestry-commons/">ioko-tapestry-commons</a> + </td> + <td> + Ben Gidley, et al. + </td> + <td> + Provides components for caching, cache control, and simply SWF + integration. + </td> + </tr> + </table> + + + <p> + A growing number of non-Apache Tapestry projects are being hosted on + <a href="http://tapestry.formos.com">Tapestry360</a> + . + </p> + + </section> + + <section name="Tapestry 6?"> + + <p> + Don't hold your breath; Tapestry 5 was built from the ground up to allow + significant improvements + to the framework without sacrificing backwards compatibility. </p> - </section> + </section> - <sction name="Older Releases"> - <p>Documentation for older releases of Tapestry are still maintained:</p> - <ul> - <li> - <a href="http://tapestry.apache.org/tapestry3">Tapestry 3.0</a> - </li> - <li> - <a href="http://tapestry.apache.org/tapestry4">Tapestry 4.0</a> - </li> - <li> - <a href="http://tapestry.apache.org/tapestry5">Tapestry 5.0</a> - </li> - </ul> - </sction> + <sction name="Older Releases"> + <p>Documentation for older releases of Tapestry are still maintained: + </p> + <ul> + <li> + <a href="http://tapestry.apache.org/tapestry3">Tapestry 3.0</a> + </li> + <li> + <a href="http://tapestry.apache.org/tapestry4">Tapestry 4.0</a> + </li> + <li> + <a href="http://tapestry.apache.org/tapestry5">Tapestry 5.0</a> + </li> + </ul> + </sction> - </body> + </body> </document> From [email protected] Sat Sep 05 09:44:27 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54911 invoked from network); 5 Sep 2009 09:44:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Sep 2009 09:44:27 -0000 Received: (qmail 60830 invoked by uid 500); 5 Sep 2009 09:44:26 -0000 Delivered-To: [email protected] Received: (qmail 60794 invoked by uid 500); 5 Sep 2009 09:44:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.tapestry.apache.org> Reply-To: "Tapestry development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 60784 invoked by uid 99); 5 Sep 2009 09:44:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Sep 2009 09:44:26 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Sep 2009 09:44:24 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id A2979118CA for <[email protected]>; Sat, 5 Sep 2009 09:44:04 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Sat, 05 Sep 2009 09:44:04 -0000 Message-ID: <[email protected]> Subject: [Tapestry Wiki] Update of "Tapestry5HowTos" by SergeyDidenko X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification. The following page has been changed by SergeyDidenko: http://wiki.apache.org/tapestry/Tapestry5HowTos ------------------------------------------------------------------------------ * ["Tapestry5HowToWebappFullPath"] - How to get the real path of the webapp directory. * ["Tapestry5HowToReadAFileFromContext"] - How a service reads a file from web app context folder * ["Tapestry5HowToUseTapestryTest"] - How to actually use Tapestry test + * ["Tapestry5HowToVisualizeComponentHierarchy"] - How to visualize the component hierarchy just on your pages in the browser == Streaming Data == * ["Tapestry5HowToCreatePieChartsInAPage"] - An example of dynamic charts inside a page (Using StreamResponse) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Sep 05 10:12:07 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58180 invoked from network); 5 Sep 2009 10:12:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Sep 2009 10:12:07 -0000 Received: (qmail 69940 invoked by uid 500); 5 Sep 2009 10:12:07 -0000 Delivered-To: [email protected] Received: (qmail 69909 invoked by uid 500); 5 Sep 2009 10:12:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.tapestry.apache.org> Reply-To: "Tapestry development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 69899 invoked by uid 99); 5 Sep 2009 10:12:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Sep 2009 10:12:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Sep 2009 10:11:54 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id 22151118C1 for <[email protected]>; Sat, 5 Sep 2009 10:11:33 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Sat, 05 Sep 2009 10:11:32 -0000 Message-ID: <[email protected]> Subject: [Tapestry Wiki] Update of "Tapestry5HowToVisualizeComponentHierarchy" by SergeyDidenko X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification. The following page has been changed by SergeyDidenko: http://wiki.apache.org/tapestry/Tapestry5HowToVisualizeComponentHierarchy The comment on the change is: Page created New page: Sometimes you need to visualize the component hierarchy just inside your pages. For example when you want a new person to get familiar with a big Tapestry application. See [http://[email protected]/msg36561.html "Where did all the components come from?"] and [http://issues.apache.org/jira/browse/TAP5-742 "TAP5-742: Add optional component tracing comments to rendered output"] for discussion. Here is a temporary hackish solution that can help you until TAP-742 is implemented. It automatically puts ShowComponentName mixin into every component from "myapp.components" package. It does not look well around floated divs, but for that case you can inspect elements in FireBug. So, let's create the mixin that shows parent component name: {{{ package myapp.mixins; import org.apache.tapestry5.ComponentResources; import org.apache.tapestry5.MarkupWriter; import org.apache.tapestry5.ioc.annotations.Inject; import org.apache.tapestry5.runtime.Component; public class ShowComponentName { @Inject private ComponentResources resources; private String getComponentName() { Class< ? extends Component > containerClass = resources.getContainer().getClass(); String componentName = containerClass.getSimpleName().toLowerCase(); // return null for your top level components here if ( componentName.equals( "layout" ) ) { return null; } else { return containerClass.getSimpleName(); } } void beginRender( MarkupWriter writer ) { String name = getComponentName(); if ( name != null ) { writer.element( "span", "style", "background-color:yellow" ); writer.writeRaw( "&nbsp;" + name + "(&nbsp;" ); writer.end(); } } void afterRender( MarkupWriter writer ) { String name = getComponentName(); if ( name != null ) { writer.element( "span", "style", "background-color:yellow" ); writer.writeRaw( "&nbsp;" + name + ")&nbsp;" ); writer.end(); } } } }}} Note comments in getComponentName() function. Now let's create a ShowComponentWorker that puts this mixin into every component of your choice: {{{ package myapp.services; import org.apache.tapestry5.model.MutableComponentModel; import org.apache.tapestry5.services.ClassTransformation; import org.apache.tapestry5.services.ComponentClassResolver; import org.apache.tapestry5.services.ComponentClassTransformWorker; public class ShowComponentWorker implements ComponentClassTransformWorker { private final ComponentClassResolver resolver; public ShowComponentWorker( final ComponentClassResolver resolver ) { this.resolver = resolver; } public void transform( ClassTransformation transformation, MutableComponentModel model ) { String componentClassName = model.getComponentClassName(); // Place your general rules to filter components here. Place often changing rules to the mixin - thus you can enjoy the live reloading if ( componentClassName.startsWith( "myapp.components." ) ) { if ( model.getMeta( "transformed" ) != null ) return; model.setMeta( "transformed", "transformed" ); String mixinClassName = resolver.resolveMixinTypeToClassName( "ShowComponentName" ); model.addMixinClassName( mixinClassName ); } } } }}} Note comments in transform(). Now let's activate this worker in AppModule.java: {{{ ... public static void contributeComponentClassTransformWorker( OrderedConfiguration< ComponentClassTransformWorker > configuration, ComponentClassResolver resolver ) { configuration.add( "ShowComponentName", new ShowComponentWorker( resolver ), "before:Mixin" ); } ... }}} P.S. Feel free to refine this. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Sep 05 10:14:14 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58497 invoked from network); 5 Sep 2009 10:14:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Sep 2009 10:14:14 -0000 Received: (qmail 70962 invoked by uid 500); 5 Sep 2009 10:14:13 -0000 Delivered-To: [email protected] Received: (qmail 70923 invoked by uid 500); 5 Sep 2009 10:14:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.tapestry.apache.org> Reply-To: "Tapestry development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 70913 invoked by uid 99); 5 Sep 2009 10:14:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Sep 2009 10:14:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Sep 2009 10:14:02 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id 77986118C1 for <[email protected]>; Sat, 5 Sep 2009 10:13:42 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Sat, 05 Sep 2009 10:13:42 -0000 Message-ID: <[email protected]> Subject: [Tapestry Wiki] Update of "Tapestry5HowToVisualizeComponentHierarchy" by SergeyDidenko X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification. The following page has been changed by SergeyDidenko: http://wiki.apache.org/tapestry/Tapestry5HowToVisualizeComponentHierarchy ------------------------------------------------------------------------------ See [http://[email protected]/msg36561.html "Where did all the components come from?"] and [http://issues.apache.org/jira/browse/TAP5-742 "TAP5-742: Add optional component tracing comments to rendered output"] for discussion. - Here is a temporary hackish solution that can help you until TAP-742 is implemented. It automatically puts ShowComponentName mixin into every component from "myapp.components" package. + Here is a temporary hackish solution that can help you until TAP-742 is implemented. It automatically puts !ShowComponentName mixin into every component from "myapp.components" package. - It does not look well around floated divs, but for that case you can inspect elements in FireBug. + It does not look well around floated divs, but for that case you can inspect elements in !FireBug. So, let's create the mixin that shows parent component name: @@ -59, +59 @@ Note comments in getComponentName() function. - Now let's create a ShowComponentWorker that puts this mixin into every component of your choice: + Now let's create a !ShowComponentWorker that puts this mixin into every component of your choice: {{{ package myapp.services; @@ -96, +96 @@ Note comments in transform(). - Now let's activate this worker in AppModule.java: + Now let's activate this worker in !AppModule.java: {{{ ... --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Sep 05 10:16:23 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58786 invoked from network); 5 Sep 2009 10:16:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Sep 2009 10:16:22 -0000 Received: (qmail 72643 invoked by uid 500); 5 Sep 2009 10:16:22 -0000 Delivered-To: [email protected] Received: (qmail 72543 invoked by uid 500); 5 Sep 2009 10:16:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 72534 invoked by uid 99); 5 Sep 2009 10:16:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Sep 2009 10:16:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Sep 2009 10:16:19 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 438AF234C495 for <[email protected]>; Sat, 5 Sep 2009 03:15:58 -0700 (PDT) Message-ID: <1806118849.1252145758274.JavaMail.jira@brutus> Date: Sat, 5 Sep 2009 03:15:58 -0700 (PDT) From: "Sergey Didenko (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (TAP5-742) Add optional component tracing comments to rendered output In-Reply-To: <1953746180.1244637727637.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751745#action_12751745 ] Sergey Didenko commented on TAP5-742: ------------------------------------- I made a temporary hackish solution for this, see http://wiki.apache.org/tapestry/Tapestry5HowToVisualizeComponentHierarchy . Hope this helps. > Add optional component tracing comments to rendered output > ---------------------------------------------------------- > > Key: TAP5-742 > URL: https://issues.apache.org/jira/browse/TAP5-742 > Project: Tapestry 5 > Issue Type: New Feature > Components: tapestry-core > Affects Versions: 161.129.204.104 > Reporter: Howard M. Lewis Ship > Priority: Minor > > In complex pages, it can be hard to work backwards from a bit of output HTML in the browser, back to the component that originated the markup. > A special mode could be enabled where components would render a comment before and after rendering: > <!-- BEGIN: Index:layout.pagelink --> > <a href="dashboard">Dashboard</a> > <!-- END: Index:layout.pagelink --> > This would bloat and clutter the application (a lot!) but would be useful, on occasion. One possibility would be a special query parameter to enable this on a request-by-request basis, i.e., ?t:component-trace=true -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Sep 05 23:10:47 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74891 invoked from network); 5 Sep 2009 23:10:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Sep 2009 23:10:47 -0000 Received: (qmail 78485 invoked by uid 500); 5 Sep 2009 23:10:47 -0000 Delivered-To: [email protected] Received: (qmail 78391 invoked by uid 500); 5 Sep 2009 23:10:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78382 invoked by uid 99); 5 Sep 2009 23:10:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Sep 2009 23:10:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Sep 2009 23:10:43 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 66C2F23888E9; Sat, 5 Sep 2009 23:10:22 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r811724 - in /tapestry/tapestry5/trunk: tapestry-core/ tapestry-core/.settings/ tapestry-ioc/ tapestry-ioc/.settings/ tapestry-tutorial1/ tapestry-tutorial1/.settings/ Date: Sat, 05 Sep 2009 23:10:22 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: kmenard Date: Sat Sep 5 23:10:21 2009 New Revision: 811724 URL: http://svn.apache.org/viewvc?rev=811724&view=rev Log: Fixed TAP5-819: remove ide-specific files from all sub-modules and add them to svn:ignore Removed: tapestry/tapestry5/trunk/tapestry-core/.settings/ tapestry/tapestry5/trunk/tapestry-ioc/.settings/ tapestry/tapestry5/trunk/tapestry-tutorial1/.settings/ Modified: tapestry/tapestry5/trunk/tapestry-core/ (props changed) tapestry/tapestry5/trunk/tapestry-ioc/ (props changed) tapestry/tapestry5/trunk/tapestry-tutorial1/ (props changed) Propchange: tapestry/tapestry5/trunk/tapestry-core/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Sat Sep 5 23:10:21 2009 @@ -10,3 +10,4 @@ bin-test .classpath .project +.settings Propchange: tapestry/tapestry5/trunk/tapestry-ioc/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Sat Sep 5 23:10:21 2009 @@ -7,3 +7,4 @@ bin-test .classpath .project +.settings Propchange: tapestry/tapestry5/trunk/tapestry-tutorial1/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Sat Sep 5 23:10:21 2009 @@ -2,3 +2,4 @@ target .classpath .project +.settings From [email protected] Sat Sep 05 23:13:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75300 invoked from network); 5 Sep 2009 23:13:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Sep 2009 23:13:19 -0000 Received: (qmail 81944 invoked by uid 500); 5 Sep 2009 23:13:19 -0000 Delivered-To: [email protected] Received: (qmail 81856 invoked by uid 500); 5 Sep 2009 23:13:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81847 invoked by uid 99); 5 Sep 2009 23:13:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Sep 2009 23:13:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Sep 2009 23:13:17 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 745A2234C051 for <[email protected]>; Sat, 5 Sep 2009 16:12:57 -0700 (PDT) Message-ID: <644835370.1252192377472.JavaMail.jira@brutus> Date: Sat, 5 Sep 2009 16:12:57 -0700 (PDT) From: "Kevin Menard (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (TAP5-819) remove ide-specific files from all sub-modules and add them to svn:ignore In-Reply-To: <708725420.1250689934847.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-819?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Menard closed TAP5-819. ----------------------------- Resolution: Fixed I thought they just contained code formatting settings, which I was fine wi= th keeping. It appears one of the eclipse maven plugins clobbers the .setti= ngs directory, too, so removing as well. > remove ide-specific files from all sub-modules and add them to svn:ignore > ------------------------------------------------------------------------- > > Key: TAP5-819 > URL: https://issues.apache.org/jira/browse/TAP5-819 > Project: Tapestry 5 > Issue Type: Task > Reporter: Ulrich St=C3=A4rk > Assignee: Kevin Menard > Priority: Minor > Fix For: 5.2 > > > remove ide-specific files from all sub-modules and add them to svn:ignore= , along with any output directories like target. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sun Sep 06 17:35:35 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63268 invoked from network); 6 Sep 2009 17:35:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Sep 2009 17:35:35 -0000 Received: (qmail 43188 invoked by uid 500); 6 Sep 2009 17:35:35 -0000 Delivered-To: [email protected] Received: (qmail 43102 invoked by uid 500); 6 Sep 2009 17:35:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 43093 invoked by uid 99); 6 Sep 2009 17:35:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Sep 2009 17:35:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Sep 2009 17:35:32 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id BDEF323888A4; Sun, 6 Sep 2009 17:35:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r811842 - in /tapestry/tapestry5/trunk/tapestry-core/src: main/java/org/apache/tapestry5/ main/java/org/apache/tapestry5/internal/services/ main/java/org/apache/tapestry5/services/ test/java/org/apache/tapestry5/integration/app1/services/ t... Date: Sun, 06 Sep 2009 17:35:12 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: drobiazko Date: Sun Sep 6 17:35:12 2009 New Revision: 811842 URL: http://svn.apache.org/viewvc?rev=811842&view=rev Log: TAP5-678: Allow blackbird to be disabled in production mode Added: tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ClientInfrastructureImplTest.java (with props) Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/SymbolConstants.java tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ClientInfrastructureImpl.java tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/services/AppModule.java Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/SymbolConstants.java URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/SymbolConstants.java?rev=811842&r1=811841&r2=811842&view=diff ============================================================================== --- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/SymbolConstants.java (original) +++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/SymbolConstants.java Sun Sep 6 17:35:12 2009 @@ -180,4 +180,11 @@ */ public static final String COMBINE_SCRIPTS = "tapestry.combine-scripts"; + /** + * If "true" then Blackbird JavaScript console is enabled. + * + * @since 161.129.204.104 + */ + public static final String BLACKBIRD_ENABLED = "tapestry.blackbird-enabled"; + } Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ClientInfrastructureImpl.java URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ClientInfrastructureImpl.java?rev=811842&r1=811841&r2=811842&view=diff ============================================================================== --- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ClientInfrastructureImpl.java (original) +++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ClientInfrastructureImpl.java Sun Sep 6 17:35:12 2009 @@ -15,6 +15,8 @@ package org.apache.tapestry5.internal.services; import org.apache.tapestry5.Asset; +import org.apache.tapestry5.SymbolConstants; +import org.apache.tapestry5.ioc.annotations.Symbol; import org.apache.tapestry5.ioc.internal.util.CollectionFactory; import org.apache.tapestry5.ioc.services.SymbolSource; import org.apache.tapestry5.ioc.services.ThreadLocale; @@ -38,7 +40,9 @@ private final ThreadLocale threadLocale; - private final List<Asset> javascriptStack, stylesheetStack; + private final List<Asset> javascriptStack, stylesheetStack, javascriptStackTestMode, stylesheetStackTestMode; + + private final boolean isBlackbirdEnabled; private static final String[] CORE_JAVASCRIPT = new String[] { @@ -50,24 +54,46 @@ // Uses functions defined by the prior three - "org/apache/tapestry5/tapestry.js", + "org/apache/tapestry5/tapestry.js" + }; + + private static final String[] CORE_JAVASCRIPT_TEST_MODE = new String[] + { + // Only available in test mode + "${tapestry.blackbird}/blackbird.js" }; + private static final String[] CORE_STYLESHEET = new String[] { - "${tapestry.default-stylesheet}", + "${tapestry.default-stylesheet}" + }; + + + private static final String[] CORE_STYLESHEET_TEST_MODE = new String[] + { + // Only available in test mode + "${tapestry.blackbird}/blackbird.css" }; - public ClientInfrastructureImpl(SymbolSource symbolSource, AssetSource assetSource, ThreadLocale threadLocale) + public ClientInfrastructureImpl(SymbolSource symbolSource, + AssetSource assetSource, + ThreadLocale threadLocale, + @Symbol(SymbolConstants.BLACKBIRD_ENABLED) + boolean isBlackbirdEnabled) { this.symbolSource = symbolSource; this.assetSource = assetSource; this.threadLocale = threadLocale; + this.isBlackbirdEnabled = isBlackbirdEnabled; javascriptStack = convertToAssets(CORE_JAVASCRIPT); stylesheetStack = convertToAssets(CORE_STYLESHEET); + + javascriptStackTestMode = convertToAssets(CORE_JAVASCRIPT_TEST_MODE); + stylesheetStackTestMode = convertToAssets(CORE_STYLESHEET_TEST_MODE); } private List<Asset> convertToAssets(String[] paths) @@ -91,7 +117,7 @@ public List<Asset> getJavascriptStack() { - List<Asset> result = CollectionFactory.newList(javascriptStack); + List<Asset> result = createStack(javascriptStack, javascriptStackTestMode); Asset messages = assetSource.getAsset(null, "org/apache/tapestry5/tapestry-messages.js", threadLocale.getLocale()); @@ -102,7 +128,19 @@ } public List<Asset> getStylesheetStack() + { + return createStack(stylesheetStack, stylesheetStackTestMode); + } + + private List<Asset> createStack(List<Asset> stack, List<Asset> optionalStack) { - return stylesheetStack; + List<Asset> result = CollectionFactory.newList(stack); + + if(isBlackbirdEnabled) + { + result.addAll(optionalStack); + } + + return result; } } Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java?rev=811842&r1=811841&r2=811842&view=diff ============================================================================== --- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java (original) +++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java Sun Sep 6 17:35:12 2009 @@ -2100,6 +2100,8 @@ configuration.add(SymbolConstants.COMBINE_SCRIPTS, matchProductionMode); configuration.add(SymbolConstants.ENCODE_LOCALE_INTO_PATH, "true"); + + configuration.add(SymbolConstants.BLACKBIRD_ENABLED, "false"); } Modified: tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/services/AppModule.java URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/services/AppModule.java?rev=811842&r1=811841&r2=811842&view=diff ============================================================================== --- tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/services/AppModule.java (original) +++ tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/services/AppModule.java Sun Sep 6 17:35:12 2009 @@ -127,6 +127,8 @@ configuration.add(SymbolConstants.SECURE_ENABLED, "true"); configuration.add("app.injected-symbol", "Symbol contributed to ApplicationDefaults"); + + configuration.add(SymbolConstants.BLACKBIRD_ENABLED, "true"); } public static void contributeIgnoredPathsFilter(Configuration<String> configuration) Added: tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ClientInfrastructureImplTest.java URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ClientInfrastructureImplTest.java?rev=811842&view=auto ============================================================================== --- tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ClientInfrastructureImplTest.java (added) +++ tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ClientInfrastructureImplTest.java Sun Sep 6 17:35:12 2009 @@ -0,0 +1,89 @@ +// Copyright 2009 The Apache Software Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +package org.apache.tapestry5.internal.services; + +import static org.easymock.EasyMock.isA; + +import java.util.List; +import java.util.Locale; + +import org.apache.tapestry5.Asset; +import org.apache.tapestry5.internal.test.InternalBaseTestCase; +import org.apache.tapestry5.ioc.services.SymbolSource; +import org.apache.tapestry5.ioc.services.ThreadLocale; +import org.apache.tapestry5.services.AssetSource; +import org.testng.annotations.Test; + +public class ClientInfrastructureImplTest extends InternalBaseTestCase +{ + @Test + public void production_mode() throws Exception + { + SymbolSource symbolSource = mockSymbolSource(); + AssetSource assetSource = mockAssetSource(); + ThreadLocale threadLocale = mockThreadLocale(); + + train_constructor(symbolSource, assetSource, threadLocale); + + replay(); + + ClientInfrastructureImpl infrastructure = new ClientInfrastructureImpl(symbolSource, assetSource, threadLocale, false); + + List<Asset> stack = infrastructure.getJavascriptStack(); + + List<Asset> stylesheetStack = infrastructure.getStylesheetStack(); + + verify(); + + //blackbird is the only one asset to be excluded in production mode + //for now it is ok to check only sizes of stacks + assertEquals(stack.size(), 5); + + assertEquals(stylesheetStack.size(), 1); + } + + @Test + public void test_mode() throws Exception + { + SymbolSource symbolSource = mockSymbolSource(); + AssetSource assetSource = mockAssetSource(); + ThreadLocale threadLocale = mockThreadLocale(); + + train_constructor(symbolSource, assetSource, threadLocale); + + replay(); + + ClientInfrastructureImpl infrastructure = new ClientInfrastructureImpl(symbolSource, assetSource, threadLocale, true); + + List<Asset> javascriptStack = infrastructure.getJavascriptStack(); + + List<Asset> stylesheetStack = infrastructure.getStylesheetStack(); + + verify(); + + //blackbird is the only one asset to be excluded in production mode + //for now it is ok to check only sizes of stacks + assertEquals(javascriptStack.size(), 6); + + assertEquals(stylesheetStack.size(), 2); + } + + private void train_constructor(SymbolSource symbolSource, AssetSource assetSource, ThreadLocale threadLocale) + { + expect(symbolSource.expandSymbols(isA(String.class))).andReturn("expanded").anyTimes(); + expect(assetSource.getAsset(null, "expanded",null)).andReturn(mockAsset()).anyTimes(); + train_getLocale(threadLocale, Locale.ENGLISH); + expect(assetSource.getAsset(null, "org/apache/tapestry5/tapestry-messages.js",Locale.ENGLISH)).andReturn(mockAsset()); + } +} Propchange: tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ClientInfrastructureImplTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ClientInfrastructureImplTest.java ------------------------------------------------------------------------------ svn:mime-type = text/plain From [email protected] Sun Sep 06 17:57:13 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65533 invoked from network); 6 Sep 2009 17:57:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Sep 2009 17:57:13 -0000 Received: (qmail 49242 invoked by uid 500); 6 Sep 2009 17:57:12 -0000 Delivered-To: [email protected] Received: (qmail 49159 invoked by uid 500); 6 Sep 2009 17:57:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 49150 invoked by uid 99); 6 Sep 2009 17:57:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Sep 2009 17:57:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Sep 2009 17:57:10 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 5C53723888A4; Sun, 6 Sep 2009 17:56:50 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r811844 - in /tapestry/tapestry5/trunk/tapestry-core/src: main/java/org/apache/tapestry5/corelib/components/ test/app1/ test/java/org/apache/tapestry5/corelib/components/ test/java/org/apache/tapestry5/integration/ test/java/org/apache/tape... Date: Sun, 06 Sep 2009 17:56:50 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: drobiazko Date: Sun Sep 6 17:56:49 2009 New Revision: 811844 URL: http://svn.apache.org/viewvc?rev=811844&view=rev Log: TAP5-711: Submit component: using image parameter brakes "Selected" events Added: tapestry/tapestry5/trunk/tapestry-core/src/test/app1/ImageSubmitDemo.tml tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/ImageSubmitDemo.java (with props) Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Submit.java tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/corelib/components/SubmitTest.java tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/IntegrationTests.java tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/Index.java Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Submit.java URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Submit.java?rev=811844&r1=811843&r2=811844&view=diff ============================================================================== --- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Submit.java (original) +++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Submit.java Sun Sep 6 17:56:49 2009 @@ -146,7 +146,7 @@ { if (disabled) return; - String value = request.getParameter(elementName); + String value = request.getParameter(image == null ? elementName : elementName + ".x"); if (value == null) return; @@ -166,21 +166,6 @@ else heartbeat.defer(sendNotification); } - // For testing: - - void setDefer(boolean defer) - { - this.defer = defer; - } - - void setup(ComponentResources resources, FormSupport formSupport, Heartbeat heartbeat, RenderSupport renderSupport) - { - this.resources = resources; - this.formSupport = formSupport; - this.heartbeat = heartbeat; - this.renderSupport = renderSupport; - } - /** * Returns the component's client id. This must be called after the component has rendered. The id is allocated * lazily (first time this method is invoked). Added: tapestry/tapestry5/trunk/tapestry-core/src/test/app1/ImageSubmitDemo.tml URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/app1/ImageSubmitDemo.tml?rev=811844&view=auto ============================================================================== --- tapestry/tapestry5/trunk/tapestry-core/src/test/app1/ImageSubmitDemo.tml (added) +++ tapestry/tapestry5/trunk/tapestry-core/src/test/app1/ImageSubmitDemo.tml Sun Sep 6 17:56:49 2009 @@ -0,0 +1,22 @@ +<t:border xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" + xmlns:p="tapestry:parameter"> + + <h1>Submit with an image</h1> + + <t:if test="value"> + <p>You entered + <span id="outputvalue">${value}</span> + </p> + <p>"selected" event was fired: <span id="eventfired">${eventfired}</span> + </p> + </t:if> + + + <t:form> + <t:errors/> + <t:textfield t:id="value"/> + <br/> + <t:submit t:id="mySubmit" t:image="context:images/tapestry_banner.gif" /> + </t:form> + +</t:border> \ No newline at end of file Modified: tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/corelib/components/SubmitTest.java URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/corelib/components/SubmitTest.java?rev=811844&r1=811843&r2=811844&view=diff ============================================================================== --- tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/corelib/components/SubmitTest.java (original) +++ tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/corelib/components/SubmitTest.java Sun Sep 6 17:56:49 2009 @@ -14,14 +14,19 @@ package org.apache.tapestry5.corelib.components; +import static org.easymock.EasyMock.isA; + +import org.apache.tapestry5.Asset; import org.apache.tapestry5.ComponentResources; import org.apache.tapestry5.EventConstants; import org.apache.tapestry5.corelib.internal.FormSupportImpl; import org.apache.tapestry5.internal.services.HeartbeatImpl; import org.apache.tapestry5.internal.test.InternalBaseTestCase; +import org.apache.tapestry5.ioc.test.TestBase; import org.apache.tapestry5.services.FormSupport; import org.apache.tapestry5.services.Heartbeat; import org.apache.tapestry5.services.Request; +import org.easymock.EasyMock; import org.testng.annotations.Test; public class SubmitTest extends InternalBaseTestCase @@ -59,7 +64,7 @@ Submit submit = new Submit(request); - submit.setup(resources, support, null, null); + TestBase.set(submit, "resources", resources, "formSupport", support); submit.processSubmission(elementName); @@ -92,8 +97,7 @@ Submit submit = new Submit(request); - submit.setup(resources, support, heartbeat, null); - submit.setDefer(false); + TestBase.set(submit, "resources", resources, "formSupport", support, "heartbeat", heartbeat, "defer", false); submit.processSubmission(elementName); @@ -107,4 +111,53 @@ verify(); } + + @Test + public void test_imagesubmit_event_fired() + { + Request request = mockRequest(); + final ComponentResources resources = mockComponentResources(); + FormSupport formSupport = mockFormSupport(); + Asset image = mockAsset(); + + String elementName = "myname"; + + train_getParameter(request, elementName + ".x", "15"); + + formSupport.defer(isA(Runnable.class)); + + replay(); + + Submit submit = new Submit(request); + + TestBase.set(submit, "resources", resources, "formSupport", formSupport, "image", image); + + submit.processSubmission(elementName); + + verify(); + } + + @Test + public void test_submit_event_fired() + { + Request request = mockRequest(); + final ComponentResources resources = mockComponentResources(); + FormSupport formSupport = mockFormSupport(); + + String elementName = "myname"; + + train_getParameter(request, elementName, "login"); + + formSupport.defer(isA(Runnable.class)); + + replay(); + + Submit submit = new Submit(request); + + TestBase.set(submit, "resources", resources, "formSupport", formSupport); + + submit.processSubmission(elementName); + + verify(); + } } Modified: tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/IntegrationTests.java URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/IntegrationTests.java?rev=811844&r1=811843&r2=811844&view=diff ============================================================================== --- tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/IntegrationTests.java (original) +++ tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/IntegrationTests.java Sun Sep 6 17:56:49 2009 @@ -3155,4 +3155,18 @@ assertAttribute(String.format("//script[@src='%s']/@src", "some_additional_scripts.js"), "some_additional_scripts.js"); assertTextPresent("Event 'provideAdditionalMarkup' handled."); } + + @Test + public void image_submit_triggers_selected_event() + { + start("Submit with an Image Demo"); + + type("value", "barney gumble"); + + clickAndWait("//input[@type='image']"); + + assertText("outputvalue", "barney gumble"); + + assertText("eventfired", "true"); + } } Added: tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/ImageSubmitDemo.java URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/ImageSubmitDemo.java?rev=811844&view=auto ============================================================================== --- tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/ImageSubmitDemo.java (added) +++ tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/ImageSubmitDemo.java Sun Sep 6 17:56:49 2009 @@ -0,0 +1,42 @@ +// Copyright 2009 The Apache Software Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package org.apache.tapestry5.integration.app1.pages; + +import org.apache.tapestry5.PersistenceConstants; +import org.apache.tapestry5.annotations.Persist; +import org.apache.tapestry5.annotations.Property; +import org.apache.tapestry5.beaneditor.Validate; + +public class ImageSubmitDemo +{ + @Property + @Validate("required") + @Persist(PersistenceConstants.FLASH) + private String value; + + @Property + @Persist(PersistenceConstants.FLASH) + private boolean eventfired; + + void onSelectedFromMySubmit() + { + eventfired = true; + } + + Object onSuccess() + { + return this; + } +} Propchange: tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/ImageSubmitDemo.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/ImageSubmitDemo.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/Index.java URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/Index.java?rev=811844&r1=811843&r2=811844&view=diff ============================================================================== --- tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/Index.java (original) +++ tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/Index.java Sun Sep 6 17:56:49 2009 @@ -388,7 +388,8 @@ "Use of calendar properties inside BeanEditor and BeanDisplay"), new Item("TriggerDemo", "Trigger Demo", - "Use of Trigger component") + "Use of Trigger component"), + new Item("ImageSubmitDemo", "Submit with an Image Demo", "Make sure that submit with the image parameter set triggers the 'selected' event.") ); From [email protected] Sun Sep 06 17:58:22 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65664 invoked from network); 6 Sep 2009 17:58:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Sep 2009 17:58:21 -0000 Received: (qmail 49664 invoked by uid 500); 6 Sep 2009 17:58:21 -0000 Delivered-To: [email protected] Received: (qmail 49580 invoked by uid 500); 6 Sep 2009 17:58:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 49571 invoked by uid 99); 6 Sep 2009 17:58:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Sep 2009 17:58:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Sep 2009 17:58:18 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 8356F234C051 for <[email protected]>; Sun, 6 Sep 2009 10:57:57 -0700 (PDT) Message-ID: <892409057.1252259877523.JavaMail.jira@brutus> Date: Sun, 6 Sep 2009 10:57:57 -0700 (PDT) From: "Igor Drobiazko (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (TAP5-678) Allow blackbird to be disabled in production mode In-Reply-To: <41666244.1241169870323.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Drobiazko closed TAP5-678. ------------------------------- Resolution: Fixed Fix Version/s: 161.129.204.104 > Allow blackbird to be disabled in production mode > ------------------------------------------------- > > Key: TAP5-678 > URL: https://issues.apache.org/jira/browse/TAP5-678 > Project: Tapestry 5 > Issue Type: Improvement > Components: tapestry-core > Affects Versions: 5.2 > Reporter: Paudi Moriarty > Assignee: Igor Drobiazko > Fix For: 161.129.204.104 > > > blackbird's use of F2 to show the console is interfering with our application which uses F-keys as hotkeys to access various parts of the application. > It should be possible to either completely disable blackbird in production mode (avoiding unnecessary .css and .js downloads) or at least disable the console hotkey. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sun Sep 06 18:00:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66037 invoked from network); 6 Sep 2009 18:00:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Sep 2009 18:00:20 -0000 Received: (qmail 50033 invoked by uid 500); 6 Sep 2009 18:00:19 -0000 Delivered-To: [email protected] Received: (qmail 49940 invoked by uid 500); 6 Sep 2009 18:00:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 49931 invoked by uid 99); 6 Sep 2009 18:00:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Sep 2009 18:00:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Sep 2009 18:00:17 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 7BEDC234C051 for <[email protected]>; Sun, 6 Sep 2009 10:59:57 -0700 (PDT) Message-ID: <1551486536.1252259997492.JavaMail.jira@brutus> Date: Sun, 6 Sep 2009 10:59:57 -0700 (PDT) From: "Igor Drobiazko (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (TAP5-711) Submit component: using image parameter brakes "Selected" events In-Reply-To: <1662168428.1242812985934.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Drobiazko closed TAP5-711. ------------------------------- Resolution: Fixed Fix Version/s: 161.129.204.104 Thanks for the patch. > Submit component: using image parameter brakes "Selected" events > ---------------------------------------------------------------- > > Key: TAP5-711 > URL: https://issues.apache.org/jira/browse/TAP5-711 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 161.129.204.104 > Reporter: Sergey Didenko > Assignee: Igor Drobiazko > Fix For: 161.129.204.104 > > Attachments: TAP5-711.txt, VoteForm3.java, VoteForm3.tml > > > When I change <t:submit...> to <t:submit t:image="..."..> onSelectedX() handlers stop working. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sun Sep 06 18:05:25 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66690 invoked from network); 6 Sep 2009 18:05:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Sep 2009 18:05:25 -0000 Received: (qmail 51917 invoked by uid 500); 6 Sep 2009 18:05:24 -0000 Delivered-To: [email protected] Received: (qmail 51855 invoked by uid 500); 6 Sep 2009 18:05:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.tapestry.apache.org> Reply-To: "Tapestry development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 51845 invoked by uid 99); 6 Sep 2009 18:05:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Sep 2009 18:05:23 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qy0-f202.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Sep 2009 18:05:15 +0000 Received: by qyk40 with SMTP id 40so1757856qyk.9 for <[email protected]>; Sun, 06 Sep 2009 11:04:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=ILfIh2FIcT1+tsd/d5vZJBOjQjoWl+m9ioGXCxAZNxY=; b=xq8/e1xyLHympUB2k42O2+Or7/zi0OnVtnEIhlSJZUUOfNxY5jbe3VC0iPmaZcngs1 VtqrBIdTPO0FXG34mGYRh6MiwBrHr1CDe2CtLo4y0fc2t1jJkeIH3aNda5KQS0kHIfhb k1bozxTmTO8U2+z1Jc4nrf+0OtAt1u/lNVsXQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=hDApdDxCdrH2sRpfuKUF2BaiQ05eLZau3TxfJOfG7Vwc+oJhC5DDF/3pJKZ1oATH9l hq1dz93vXWU5OFYjPcThr6yCUiU9H6OtWZOfnfsvpyZnC4SVlnpHR9pGwOO0atZaSEc2 FjTCD8etVoXK26A2HKTZj80W8FKVu4rhNiG5I= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id g8mr8721703qag.291.1252260291807; Sun, 06 Sep 2009 11:04:51 -0700 (PDT) Date: Sun, 6 Sep 2009 11:04:51 -0700 Message-ID: <[email protected]> Subject: Re: svn commit: r811842 - in /tapestry/tapestry5/trunk/tapestry-core/src: main/java/org/apache/tapestry5/ main/java/org/apache/tapestry5/internal/services/ main/java/org/apache/tapestry5/services/ test/java/org/apache/tapestry5/integration/app1/servi From: Howard Lewis Ship <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=000feaee5165dc0b6a0472ec91f9 X-Virus-Checked: Checked by ClamAV on apache.org --000feaee5165dc0b6a0472ec91f9 Content-Type: text/plain; charset=ISO-8859-1 I'm concerned about this change, because tapestry.js includes some calls to Tapestry.Console.debug() and .error() and those will no longer work. This would cause runtime exceptions (including XHR problems) to turn into JavaScript errors, making it harder to diagnose what's gone wrong. Perhaps tapestry.js should be changed to define placeholder versions of Tapestry.Console.debug() and the rest that do nothing, or call window.alert() (or use something similar to what T5.0 did, with a floaty div that fades out). Ideally, there would be a tapestry-console.js to provide those, and you would either get tapestry-console.js or the blackbird.js. On Sun, Sep 6, 2009 at 10:35 AM, <[email protected]> wrote: > Author: drobiazko > Date: Sun Sep 6 17:35:12 2009 > New Revision: 811842 > > URL: http://svn.apache.org/viewvc?rev=811842&view=rev > Log: > TAP5-678: Allow blackbird to be disabled in production mode > > Added: > > tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ClientInfrastructureImplTest.java > (with props) > Modified: > > tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/SymbolConstants.java > > tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ClientInfrastructureImpl.java > > tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java > > tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/services/AppModule.java > > Modified: > tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/SymbolConstants.java > URL: > http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/SymbolConstants.java?rev=811842&r1=811841&r2=811842&view=diff > > ============================================================================== > --- > tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/SymbolConstants.java > (original) > +++ > tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/SymbolConstants.java > Sun Sep 6 17:35:12 2009 > @@ -180,4 +180,11 @@ > */ > public static final String COMBINE_SCRIPTS = > "tapestry.combine-scripts"; > > + /** > + * If "true" then Blackbird JavaScript console is enabled. > + * > + * @since 161.129.204.104 > + */ > + public static final String BLACKBIRD_ENABLED = > "tapestry.blackbird-enabled"; > + > } > > Modified: > tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ClientInfrastructureImpl.java > URL: > http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ClientInfrastructureImpl.java?rev=811842&r1=811841&r2=811842&view=diff > > ============================================================================== > --- > tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ClientInfrastructureImpl.java > (original) > +++ > tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ClientInfrastructureImpl.java > Sun Sep 6 17:35:12 2009 > @@ -15,6 +15,8 @@ > package org.apache.tapestry5.internal.services; > > import org.apache.tapestry5.Asset; > +import org.apache.tapestry5.SymbolConstants; > +import org.apache.tapestry5.ioc.annotations.Symbol; > import org.apache.tapestry5.ioc.internal.util.CollectionFactory; > import org.apache.tapestry5.ioc.services.SymbolSource; > import org.apache.tapestry5.ioc.services.ThreadLocale; > @@ -38,7 +40,9 @@ > > private final ThreadLocale threadLocale; > > - private final List<Asset> javascriptStack, stylesheetStack; > + private final List<Asset> javascriptStack, stylesheetStack, > javascriptStackTestMode, stylesheetStackTestMode; > + > + private final boolean isBlackbirdEnabled; > > private static final String[] CORE_JAVASCRIPT = new String[] > { > @@ -50,24 +54,46 @@ > > // Uses functions defined by the prior three > > - "org/apache/tapestry5/tapestry.js", > + "org/apache/tapestry5/tapestry.js" > + }; > + > + private static final String[] CORE_JAVASCRIPT_TEST_MODE = new String[] > + { > + // Only available in test mode > + > "${tapestry.blackbird}/blackbird.js" > }; > + > > private static final String[] CORE_STYLESHEET = new String[] > { > - "${tapestry.default-stylesheet}", > + "${tapestry.default-stylesheet}" > + }; > + > + > + private static final String[] CORE_STYLESHEET_TEST_MODE = new String[] > + { > + // Only available in test mode > + > "${tapestry.blackbird}/blackbird.css" > }; > > - public ClientInfrastructureImpl(SymbolSource symbolSource, AssetSource > assetSource, ThreadLocale threadLocale) > + public ClientInfrastructureImpl(SymbolSource symbolSource, > + AssetSource assetSource, > + ThreadLocale threadLocale, > + > @Symbol(SymbolConstants.BLACKBIRD_ENABLED) > + boolean isBlackbirdEnabled) > { > this.symbolSource = symbolSource; > this.assetSource = assetSource; > this.threadLocale = threadLocale; > + this.isBlackbirdEnabled = isBlackbirdEnabled; > > javascriptStack = convertToAssets(CORE_JAVASCRIPT); > stylesheetStack = convertToAssets(CORE_STYLESHEET); > + > + javascriptStackTestMode = > convertToAssets(CORE_JAVASCRIPT_TEST_MODE); > + stylesheetStackTestMode = > convertToAssets(CORE_STYLESHEET_TEST_MODE); > } > > private List<Asset> convertToAssets(String[] paths) > @@ -91,7 +117,7 @@ > > public List<Asset> getJavascriptStack() > { > - List<Asset> result = CollectionFactory.newList(javascriptStack); > + List<Asset> result = createStack(javascriptStack, > javascriptStackTestMode); > > Asset messages = assetSource.getAsset(null, > "org/apache/tapestry5/tapestry-messages.js", > threadLocale.getLocale()); > @@ -102,7 +128,19 @@ > } > > public List<Asset> getStylesheetStack() > + { > + return createStack(stylesheetStack, stylesheetStackTestMode); > + } > + > + private List<Asset> createStack(List<Asset> stack, List<Asset> > optionalStack) > { > - return stylesheetStack; > + List<Asset> result = CollectionFactory.newList(stack); > + > + if(isBlackbirdEnabled) > + { > + result.addAll(optionalStack); > + } > + > + return result; > } > } > > Modified: > tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java > URL: > http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java?rev=811842&r1=811841&r2=811842&view=diff > > ============================================================================== > --- > tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java > (original) > +++ > tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java > Sun Sep 6 17:35:12 2009 > @@ -2100,6 +2100,8 @@ > configuration.add(SymbolConstants.COMBINE_SCRIPTS, > matchProductionMode); > > configuration.add(SymbolConstants.ENCODE_LOCALE_INTO_PATH, "true"); > + > + configuration.add(SymbolConstants.BLACKBIRD_ENABLED, "false"); > } > > > > Modified: > tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/services/AppModule.java > URL: > http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/services/AppModule.java?rev=811842&r1=811841&r2=811842&view=diff > > ============================================================================== > --- > tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/services/AppModule.java > (original) > +++ > tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/services/AppModule.java > Sun Sep 6 17:35:12 2009 > @@ -127,6 +127,8 @@ > configuration.add(SymbolConstants.SECURE_ENABLED, "true"); > > configuration.add("app.injected-symbol", "Symbol contributed to > ApplicationDefaults"); > + > + configuration.add(SymbolConstants.BLACKBIRD_ENABLED, "true"); > } > > public static void contributeIgnoredPathsFilter(Configuration<String> > configuration) > > Added: > tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ClientInfrastructureImplTest.java > URL: > http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ClientInfrastructureImplTest.java?rev=811842&view=auto > > ============================================================================== > --- > tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ClientInfrastructureImplTest.java > (added) > +++ > tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ClientInfrastructureImplTest.java > Sun Sep 6 17:35:12 2009 > @@ -0,0 +1,89 @@ > +// Copyright 2009 The Apache Software Foundation > +// > +// Licensed under the Apache License, Version 2.0 (the "License"); > +// you may not use this file except in compliance with the License. > +// You may obtain a copy of the License at > +// > +// http://www.apache.org/licenses/LICENSE-2.0 > +// > +// Unless required by applicable law or agreed to in writing, software > +// distributed under the License is distributed on an "AS IS" BASIS, > +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or > implied. > +// See the License for the specific language governing permissions and > +// limitations under the License. > +package org.apache.tapestry5.internal.services; > + > +import static org.easymock.EasyMock.isA; > + > +import java.util.List; > +import java.util.Locale; > + > +import org.apache.tapestry5.Asset; > +import org.apache.tapestry5.internal.test.InternalBaseTestCase; > +import org.apache.tapestry5.ioc.services.SymbolSource; > +import org.apache.tapestry5.ioc.services.ThreadLocale; > +import org.apache.tapestry5.services.AssetSource; > +import org.testng.annotations.Test; > + > +public class ClientInfrastructureImplTest extends InternalBaseTestCase > +{ > + @Test > + public void production_mode() throws Exception > + { > + SymbolSource symbolSource = mockSymbolSource(); > + AssetSource assetSource = mockAssetSource(); > + ThreadLocale threadLocale = mockThreadLocale(); > + > + train_constructor(symbolSource, assetSource, threadLocale); > + > + replay(); > + > + ClientInfrastructureImpl infrastructure = new > ClientInfrastructureImpl(symbolSource, assetSource, threadLocale, false); > + > + List<Asset> stack = infrastructure.getJavascriptStack(); > + > + List<Asset> stylesheetStack = infrastructure.getStylesheetStack(); > + > + verify(); > + > + //blackbird is the only one asset to be excluded in production > mode > + //for now it is ok to check only sizes of stacks > + assertEquals(stack.size(), 5); > + > + assertEquals(stylesheetStack.size(), 1); > + } > + > + @Test > + public void test_mode() throws Exception > + { > + SymbolSource symbolSource = mockSymbolSource(); > + AssetSource assetSource = mockAssetSource(); > + ThreadLocale threadLocale = mockThreadLocale(); > + > + train_constructor(symbolSource, assetSource, threadLocale); > + > + replay(); > + > + ClientInfrastructureImpl infrastructure = new > ClientInfrastructureImpl(symbolSource, assetSource, threadLocale, true); > + > + List<Asset> javascriptStack = infrastructure.getJavascriptStack(); > + > + List<Asset> stylesheetStack = infrastructure.getStylesheetStack(); > + > + verify(); > + > + //blackbird is the only one asset to be excluded in production > mode > + //for now it is ok to check only sizes of stacks > + assertEquals(javascriptStack.size(), 6); > + > + assertEquals(stylesheetStack.size(), 2); > + } > + > + private void train_constructor(SymbolSource symbolSource, AssetSource > assetSource, ThreadLocale threadLocale) > + { > + > expect(symbolSource.expandSymbols(isA(String.class))).andReturn("expanded").anyTimes(); > + expect(assetSource.getAsset(null, > "expanded",null)).andReturn(mockAsset()).anyTimes(); > + train_getLocale(threadLocale, Locale.ENGLISH); > + expect(assetSource.getAsset(null, > "org/apache/tapestry5/tapestry-messages.js",Locale.ENGLISH)).andReturn(mockAsset()); > + } > +} > > Propchange: > tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ClientInfrastructureImplTest.java > > ------------------------------------------------------------------------------ > svn:eol-style = native > > Propchange: > tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ClientInfrastructureImplTest.java > > ------------------------------------------------------------------------------ > svn:mime-type = text/plain > > > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! --000feaee5165dc0b6a0472ec91f9-- From [email protected] Sun Sep 06 18:06:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66749 invoked from network); 6 Sep 2009 18:06:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Sep 2009 18:06:20 -0000 Received: (qmail 52281 invoked by uid 500); 6 Sep 2009 18:06:19 -0000 Delivered-To: [email protected] Received: (qmail 52188 invoked by uid 500); 6 Sep 2009 18:06:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 52179 invoked by uid 99); 6 Sep 2009 18:06:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Sep 2009 18:06:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Sep 2009 18:06:17 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 8311D234C051 for <[email protected]>; Sun, 6 Sep 2009 11:05:57 -0700 (PDT) Message-ID: <580654097.1252260357532.JavaMail.jira@brutus> Date: Sun, 6 Sep 2009 11:05:57 -0700 (PDT) From: "Howard M. Lewis Ship (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Reopened: (TAP5-678) Allow blackbird to be disabled in production mode In-Reply-To: <41666244.1241169870323.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Howard M. Lewis Ship reopened TAP5-678: --------------------------------------- See comments in the mailing list ... simply skipping blackbird.js leaves gaps in tapestry.js that refer to Tapestry.Console.debug() & etc. > Allow blackbird to be disabled in production mode > ------------------------------------------------- > > Key: TAP5-678 > URL: https://issues.apache.org/jira/browse/TAP5-678 > Project: Tapestry 5 > Issue Type: Improvement > Components: tapestry-core > Affects Versions: 5.2 > Reporter: Paudi Moriarty > Assignee: Igor Drobiazko > Fix For: 161.129.204.104 > > > blackbird's use of F2 to show the console is interfering with our application which uses F-keys as hotkeys to access various parts of the application. > It should be possible to either completely disable blackbird in production mode (avoiding unnecessary .css and .js downloads) or at least disable the console hotkey. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sun Sep 06 19:05:11 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81659 invoked from network); 6 Sep 2009 19:05:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Sep 2009 19:05:11 -0000 Received: (qmail 69150 invoked by uid 500); 6 Sep 2009 19:05:11 -0000 Delivered-To: [email protected] Received: (qmail 69123 invoked by uid 500); 6 Sep 2009 19:05:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.tapestry.apache.org> Reply-To: "Tapestry development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 69113 invoked by uid 99); 6 Sep 2009 19:05:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Sep 2009 19:05:11 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f215.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Sep 2009 19:05:01 +0000 Received: by ewy11 with SMTP id 11so1904614ewy.11 for <[email protected]>; Sun, 06 Sep 2009 12:04:41 -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=rESV97kA3tVYe3FdvCsgU5ehliYmH/9SzdJ6k1UAALQ=; b=Q0JUB0kL7GJaIwR1rsvG1KUbiz7N3QpZX3KjFA97vCZlxiG5Jx8N6AkiLFzoNOKBSS wCyTlkSvBWW/cTMO07ZtS+26d3Bw/etwRtq7GIsjh5DfL6XLmrZDlZJ0iO3g8Pa8Hoov eZtgF80xhif0ibLqrnYzIQz8cTqhyszOIXepA= 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=Z69E1nX8aulGJ2fRWB4se5s9t8uQ3yAfA98qJNjgOKxd11hOSX0vTqpPsbSU8SKZfO diQi0bAyMbMIMy0XPuOm14Ms9hZw2hhHEZPpdTqDBLerBkVNIqdZokYzgG56VmCVv0Ht IdOBfUQAW3HnVKCD/LYhAZJV5FHV6REBxfOTM= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id 24mr715516ebg.53.1252263880949; Sun, 06 Sep 2009 12:04:40 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Sun, 6 Sep 2009 21:04:40 +0200 Message-ID: <[email protected]> Subject: Re: svn commit: r811842 - in /tapestry/tapestry5/trunk/tapestry-core/src: main/java/org/apache/tapestry5/ main/java/org/apache/tapestry5/internal/services/ main/java/org/apache/tapestry5/services/ test/java/org/apache/tapestry5/integration/app1/servi From: Igor Drobiazko <[email protected]> To: Tapestry development <[email protected]> Content-Type: multipart/alternative; boundary=000e0ce04088ca02280472ed67f3 X-Virus-Checked: Checked by ClamAV on apache.org --000e0ce04088ca02280472ed67f3 Content-Type: text/plain; charset=ISO-8859-1 Damn. I'll have a look. On Sun, Sep 6, 2009 at 8:04 PM, Howard Lewis Ship <[email protected]> wrote: > I'm concerned about this change, because tapestry.js includes some calls to > Tapestry.Console.debug() and .error() and those will no longer work. This > would cause runtime exceptions (including XHR problems) to turn into > JavaScript errors, making it harder to diagnose what's gone wrong. > Perhaps tapestry.js should be changed to define placeholder versions of > Tapestry.Console.debug() and the rest that do nothing, or call > window.alert() (or use something similar to what T5.0 did, with a floaty > div > that fades out). > > Ideally, there would be a tapestry-console.js to provide those, and you > would either get tapestry-console.js or the blackbird.js. > > On Sun, Sep 6, 2009 at 10:35 AM, <[email protected]> wrote: > > > Author: drobiazko > > Date: Sun Sep 6 17:35:12 2009 > > New Revision: 811842 > > > > URL: http://svn.apache.org/viewvc?rev=811842&view=rev > > Log: > > TAP5-678: Allow blackbird to be disabled in production mode > > > > Added: > > > > > tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ClientInfrastructureImplTest.java > > (with props) > > Modified: > > > > > tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/SymbolConstants.java > > > > > tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ClientInfrastructureImpl.java > > > > > tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java > > > > > tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/services/AppModule.java > > > > Modified: > > > tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/SymbolConstants.java > > URL: > > > http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/SymbolConstants.java?rev=811842&r1=811841&r2=811842&view=diff > > > > > ============================================================================== > > --- > > > tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/SymbolConstants.java > > (original) > > +++ > > > tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/SymbolConstants.java > > Sun Sep 6 17:35:12 2009 > > @@ -180,4 +180,11 @@ > > */ > > public static final String COMBINE_SCRIPTS = > > "tapestry.combine-scripts"; > > > > + /** > > + * If "true" then Blackbird JavaScript console is enabled. > > + * > > + * @since 161.129.204.104 > > + */ > > + public static final String BLACKBIRD_ENABLED = > > "tapestry.blackbird-enabled"; > > + > > } > > > > Modified: > > > tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ClientInfrastructureImpl.java > > URL: > > > http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ClientInfrastructureImpl.java?rev=811842&r1=811841&r2=811842&view=diff > > > > > ============================================================================== > > --- > > > tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ClientInfrastructureImpl.java > > (original) > > +++ > > > tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ClientInfrastructureImpl.java > > Sun Sep 6 17:35:12 2009 > > @@ -15,6 +15,8 @@ > > package org.apache.tapestry5.internal.services; > > > > import org.apache.tapestry5.Asset; > > +import org.apache.tapestry5.SymbolConstants; > > +import org.apache.tapestry5.ioc.annotations.Symbol; > > import org.apache.tapestry5.ioc.internal.util.CollectionFactory; > > import org.apache.tapestry5.ioc.services.SymbolSource; > > import org.apache.tapestry5.ioc.services.ThreadLocale; > > @@ -38,7 +40,9 @@ > > > > private final ThreadLocale threadLocale; > > > > - private final List<Asset> javascriptStack, stylesheetStack; > > + private final List<Asset> javascriptStack, stylesheetStack, > > javascriptStackTestMode, stylesheetStackTestMode; > > + > > + private final boolean isBlackbirdEnabled; > > > > private static final String[] CORE_JAVASCRIPT = new String[] > > { > > @@ -50,24 +54,46 @@ > > > > // Uses functions defined by the prior three > > > > - "org/apache/tapestry5/tapestry.js", > > + "org/apache/tapestry5/tapestry.js" > > + }; > > + > > + private static final String[] CORE_JAVASCRIPT_TEST_MODE = new > String[] > > + { > > + // Only available in test mode > > + > > "${tapestry.blackbird}/blackbird.js" > > }; > > + > > > > private static final String[] CORE_STYLESHEET = new String[] > > { > > - "${tapestry.default-stylesheet}", > > + "${tapestry.default-stylesheet}" > > + }; > > + > > + > > + private static final String[] CORE_STYLESHEET_TEST_MODE = new > String[] > > + { > > + // Only available in test mode > > + > > "${tapestry.blackbird}/blackbird.css" > > }; > > > > - public ClientInfrastructureImpl(SymbolSource symbolSource, > AssetSource > > assetSource, ThreadLocale threadLocale) > > + public ClientInfrastructureImpl(SymbolSource symbolSource, > > + AssetSource assetSource, > > + ThreadLocale threadLocale, > > + > > @Symbol(SymbolConstants.BLACKBIRD_ENABLED) > > + boolean isBlackbirdEnabled) > > { > > this.symbolSource = symbolSource; > > this.assetSource = assetSource; > > this.threadLocale = threadLocale; > > + this.isBlackbirdEnabled = isBlackbirdEnabled; > > > > javascriptStack = convertToAssets(CORE_JAVASCRIPT); > > stylesheetStack = convertToAssets(CORE_STYLESHEET); > > + > > + javascriptStackTestMode = > > convertToAssets(CORE_JAVASCRIPT_TEST_MODE); > > + stylesheetStackTestMode = > > convertToAssets(CORE_STYLESHEET_TEST_MODE); > > } > > > > private List<Asset> convertToAssets(String[] paths) > > @@ -91,7 +117,7 @@ > > > > public List<Asset> getJavascriptStack() > > { > > - List<Asset> result = CollectionFactory.newList(javascriptStack); > > + List<Asset> result = createStack(javascriptStack, > > javascriptStackTestMode); > > > > Asset messages = assetSource.getAsset(null, > > "org/apache/tapestry5/tapestry-messages.js", > > threadLocale.getLocale()); > > @@ -102,7 +128,19 @@ > > } > > > > public List<Asset> getStylesheetStack() > > + { > > + return createStack(stylesheetStack, stylesheetStackTestMode); > > + } > > + > > + private List<Asset> createStack(List<Asset> stack, List<Asset> > > optionalStack) > > { > > - return stylesheetStack; > > + List<Asset> result = CollectionFactory.newList(stack); > > + > > + if(isBlackbirdEnabled) > > + { > > + result.addAll(optionalStack); > > + } > > + > > + return result; > > } > > } > > > > Modified: > > > tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java > > URL: > > > http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java?rev=811842&r1=811841&r2=811842&view=diff > > > > > ============================================================================== > > --- > > > tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java > > (original) > > +++ > > > tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java > > Sun Sep 6 17:35:12 2009 > > @@ -2100,6 +2100,8 @@ > > configuration.add(SymbolConstants.COMBINE_SCRIPTS, > > matchProductionMode); > > > > configuration.add(SymbolConstants.ENCODE_LOCALE_INTO_PATH, > "true"); > > + > > + configuration.add(SymbolConstants.BLACKBIRD_ENABLED, "false"); > > } > > > > > > > > Modified: > > > tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/services/AppModule.java > > URL: > > > http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/services/AppModule.java?rev=811842&r1=811841&r2=811842&view=diff > > > > > ============================================================================== > > --- > > > tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/services/AppModule.java > > (original) > > +++ > > > tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/services/AppModule.java > > Sun Sep 6 17:35:12 2009 > > @@ -127,6 +127,8 @@ > > configuration.add(SymbolConstants.SECURE_ENABLED, "true"); > > > > configuration.add("app.injected-symbol", "Symbol contributed to > > ApplicationDefaults"); > > + > > + configuration.add(SymbolConstants.BLACKBIRD_ENABLED, "true"); > > } > > > > public static void contributeIgnoredPathsFilter(Configuration<String> > > configuration) > > > > Added: > > > tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ClientInfrastructureImplTest.java > > URL: > > > http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ClientInfrastructureImplTest.java?rev=811842&view=auto > > > > > ============================================================================== > > --- > > > tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ClientInfrastructureImplTest.java > > (added) > > +++ > > > tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ClientInfrastructureImplTest.java > > Sun Sep 6 17:35:12 2009 > > @@ -0,0 +1,89 @@ > > +// Copyright 2009 The Apache Software Foundation > > +// > > +// Licensed under the Apache License, Version 2.0 (the "License"); > > +// you may not use this file except in compliance with the License. > > +// You may obtain a copy of the License at > > +// > > +// http://www.apache.org/licenses/LICENSE-2.0 > > +// > > +// Unless required by applicable law or agreed to in writing, software > > +// distributed under the License is distributed on an "AS IS" BASIS, > > +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or > > implied. > > +// See the License for the specific language governing permissions and > > +// limitations under the License. > > +package org.apache.tapestry5.internal.services; > > + > > +import static org.easymock.EasyMock.isA; > > + > > +import java.util.List; > > +import java.util.Locale; > > + > > +import org.apache.tapestry5.Asset; > > +import org.apache.tapestry5.internal.test.InternalBaseTestCase; > > +import org.apache.tapestry5.ioc.services.SymbolSource; > > +import org.apache.tapestry5.ioc.services.ThreadLocale; > > +import org.apache.tapestry5.services.AssetSource; > > +import org.testng.annotations.Test; > > + > > +public class ClientInfrastructureImplTest extends InternalBaseTestCase > > +{ > > + @Test > > + public void production_mode() throws Exception > > + { > > + SymbolSource symbolSource = mockSymbolSource(); > > + AssetSource assetSource = mockAssetSource(); > > + ThreadLocale threadLocale = mockThreadLocale(); > > + > > + train_constructor(symbolSource, assetSource, threadLocale); > > + > > + replay(); > > + > > + ClientInfrastructureImpl infrastructure = new > > ClientInfrastructureImpl(symbolSource, assetSource, threadLocale, false); > > + > > + List<Asset> stack = infrastructure.getJavascriptStack(); > > + > > + List<Asset> stylesheetStack = > infrastructure.getStylesheetStack(); > > + > > + verify(); > > + > > + //blackbird is the only one asset to be excluded in production > > mode > > + //for now it is ok to check only sizes of stacks > > + assertEquals(stack.size(), 5); > > + > > + assertEquals(stylesheetStack.size(), 1); > > + } > > + > > + @Test > > + public void test_mode() throws Exception > > + { > > + SymbolSource symbolSource = mockSymbolSource(); > > + AssetSource assetSource = mockAssetSource(); > > + ThreadLocale threadLocale = mockThreadLocale(); > > + > > + train_constructor(symbolSource, assetSource, threadLocale); > > + > > + replay(); > > + > > + ClientInfrastructureImpl infrastructure = new > > ClientInfrastructureImpl(symbolSource, assetSource, threadLocale, true); > > + > > + List<Asset> javascriptStack = > infrastructure.getJavascriptStack(); > > + > > + List<Asset> stylesheetStack = > infrastructure.getStylesheetStack(); > > + > > + verify(); > > + > > + //blackbird is the only one asset to be excluded in production > > mode > > + //for now it is ok to check only sizes of stacks > > + assertEquals(javascriptStack.size(), 6); > > + > > + assertEquals(stylesheetStack.size(), 2); > > + } > > + > > + private void train_constructor(SymbolSource symbolSource, > AssetSource > > assetSource, ThreadLocale threadLocale) > > + { > > + > > > expect(symbolSource.expandSymbols(isA(String.class))).andReturn("expanded").anyTimes(); > > + expect(assetSource.getAsset(null, > > "expanded",null)).andReturn(mockAsset()).anyTimes(); > > + train_getLocale(threadLocale, Locale.ENGLISH); > > + expect(assetSource.getAsset(null, > > > "org/apache/tapestry5/tapestry-messages.js",Locale.ENGLISH)).andReturn(mockAsset()); > > + } > > +} > > > > Propchange: > > > tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ClientInfrastructureImplTest.java > > > > > ------------------------------------------------------------------------------ > > svn:eol-style = native > > > > Propchange: > > > tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ClientInfrastructureImplTest.java > > > > > ------------------------------------------------------------------------------ > > svn:mime-type = text/plain > > > > > > > > > -- > Howard M. Lewis Ship > > Creator of Apache Tapestry > > The source for Tapestry training, mentoring and support. Contact me to > learn > how I can get you up and productive in Tapestry fast! > -- Best regards, Igor Drobiazko --000e0ce04088ca02280472ed67f3-- From [email protected] Mon Sep 07 06:57:22 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16684 invoked from network); 7 Sep 2009 06:57:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Sep 2009 06:57:22 -0000 Received: (qmail 99738 invoked by uid 500); 7 Sep 2009 06:57:22 -0000 Delivered-To: [email protected] Received: (qmail 99647 invoked by uid 500); 7 Sep 2009 06:57:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99638 invoked by uid 99); 7 Sep 2009 06:57:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Sep 2009 06:57:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Sep 2009 06:57:18 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 7CD49234C044 for <[email protected]>; Sun, 6 Sep 2009 23:56:57 -0700 (PDT) Message-ID: <182416039.1252306617495.JavaMail.jira@brutus> Date: Sun, 6 Sep 2009 23:56:57 -0700 (PDT) From: "Tran Le Xuan (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (TAP5-64) Support Java Portlet Specification V2 - JSR-286 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-64?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:all-tabpanel ] Tran Le Xuan updated TAP5-64: ----------------------------- Attachment: tapestry_portlet_161.129.204.104.zip tapestry_portlet_5.0.18.zip tapestry_portlet_5.0.15.zip This is my contribution for supporting tapestry runs in portlet mode. I dev= elop from the source of Kristina B. Taylor (https://issues.apache.org/jira/= browse/TAP5-78). Thanks for Kristina. The source now supports tapestry vers= ions from 5.0.15 to 5.0.18, and 161.129.204.104. For version 5.0.15, I fixed the bug about the action event and the passivat= e context from Kristina source. For version 5.0.18, it can run with tapestry version 5.0.16, 5.0.17, and 5.= 0.18. [ Show =C2=BB ] Tran Le Xuan added a comment - 04/Sep/09 03:11 AM - edited This is my contr= ibution for supporting tapestry runs in portlet mode. I develop from the so= urce of Kristina B. Taylor. Thanks for Kristina. The source now supports ta= pestry versions from 5.0.15 to 5.0.18, and 161.129.204.104. For version 5.0.15, I f= ixed the bug about the action event and the passivate context from Kristina= source. For version 5.0.18, it can run with tapestry version 5.0.16, 5.0.1= 7, and 5.0.18. > Support Java Portlet Specification V2 - JSR-286 > ----------------------------------------------- > > Key: TAP5-64 > URL: https://issues.apache.org/jira/browse/TAP5-64 > Project: Tapestry 5 > Issue Type: New Feature > Affects Versions: 5.0.15 > Reporter: Jan Vissers > Attachments: tapestry_portlet_5.0.15.zip, tapestry_portlet_5.0.18= .zip, tapestry_portlet_161.129.204.104.zip > > > Specification will be finished early 2008. We need a framework that allow= s us to write JSR-286 portlets, would be nice if we could stick with T5 for= this. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Sep 07 07:15:22 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21678 invoked from network); 7 Sep 2009 07:15:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Sep 2009 07:15:22 -0000 Received: (qmail 13081 invoked by uid 500); 7 Sep 2009 07:15:22 -0000 Delivered-To: [email protected] Received: (qmail 13011 invoked by uid 500); 7 Sep 2009 07:15:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13002 invoked by uid 99); 7 Sep 2009 07:15:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Sep 2009 07:15:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Sep 2009 07:15:18 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 81E8B234C044 for <[email protected]>; Mon, 7 Sep 2009 00:14:57 -0700 (PDT) Message-ID: <1929271233.1252307697518.JavaMail.jira@brutus> Date: Mon, 7 Sep 2009 00:14:57 -0700 (PDT) From: "Tran Le Xuan (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Issue Comment Edited: (TAP5-64) Support Java Portlet Specification V2 - JSR-286 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-64?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1275202= 6#action_12752026 ]=20 Tran Le Xuan edited comment on TAP5-64 at 9/7/09 12:13 AM: ----------------------------------------------------------- This is my contribution for supporting tapestry runs in portlet mode. I dev= elop from the source of Kristina B. Taylor (https://issues.apache.org/jira/= browse/TAP5-78). Thanks for Kristina. The source now supports tapestry vers= ions from 5.0.15 to 5.0.18, and 161.129.204.104. For version 5.0.15, I fixed the bug about the action event and the passivat= e context from Kristina source. For version 5.0.18, it can run with tapestry version 5.0.16, 5.0.17, and 5.= 0.18. was (Author: xuantl): This is my contribution for supporting tapestry runs in portlet mode. I= develop from the source of Kristina B. Taylor (https://issues.apache.org/j= ira/browse/TAP5-78). Thanks for Kristina. The source now supports tapestry = versions from 5.0.15 to 5.0.18, and 161.129.204.104. For version 5.0.15, I fixed the bug about the action event and the passivat= e context from Kristina source. For version 5.0.18, it can run with tapestry version 5.0.16, 5.0.17, and 5.= 0.18. [ Show =C2=BB ] Tran Le Xuan added a comment - 04/Sep/09 03:11 AM - edited This is my contr= ibution for supporting tapestry runs in portlet mode. I develop from the so= urce of Kristina B. Taylor. Thanks for Kristina. The source now supports ta= pestry versions from 5.0.15 to 5.0.18, and 161.129.204.104. For version 5.0.15, I f= ixed the bug about the action event and the passivate context from Kristina= source. For version 5.0.18, it can run with tapestry version 5.0.16, 5.0.1= 7, and 5.0.18. =20 > Support Java Portlet Specification V2 - JSR-286 > ----------------------------------------------- > > Key: TAP5-64 > URL: https://issues.apache.org/jira/browse/TAP5-64 > Project: Tapestry 5 > Issue Type: New Feature > Affects Versions: 5.0.15 > Reporter: Jan Vissers > Attachments: tapestry_portlet_5.0.15.zip, tapestry_portlet_5.0.18= .zip, tapestry_portlet_161.129.204.104.zip > > > Specification will be finished early 2008. We need a framework that allow= s us to write JSR-286 portlets, would be nice if we could stick with T5 for= this. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Sep 07 16:05:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54281 invoked from network); 7 Sep 2009 16:05:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Sep 2009 16:05:20 -0000 Received: (qmail 98232 invoked by uid 500); 7 Sep 2009 16:05:20 -0000 Delivered-To: [email protected] Received: (qmail 98124 invoked by uid 500); 7 Sep 2009 16:05:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 98062 invoked by uid 99); 7 Sep 2009 16:05:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Sep 2009 16:05:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Sep 2009 16:05:17 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 7C93E234C044 for <[email protected]>; Mon, 7 Sep 2009 09:04:57 -0700 (PDT) Message-ID: <1232227395.1252339497492.JavaMail.jira@brutus> Date: Mon, 7 Sep 2009 09:04:57 -0700 (PDT) From: "Andy Blower (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (TAP5-834) BaseOptimizedSessionPersistedObject does not work correctly with Tomcat & Jetty In-Reply-To: <1296134063.1251986217645.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andy Blower updated TAP5-834: ----------------------------- Attachment: TAP5-834-patch.txt As there doesn't appear to be anyone else who's bothered about clustering performance with Tapestry 5, we've implemented solution 1and tested it with our application. I've attached the patch which I hope will make its way into the Tapestry svn repository and thus into next Tapestry 5 release. > BaseOptimizedSessionPersistedObject does not work correctly with Tomcat & Jetty > ------------------------------------------------------------------------------- > > Key: TAP5-834 > URL: https://issues.apache.org/jira/browse/TAP5-834 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 161.129.204.104, 161.129.204.104, 161.129.204.104, 161.129.204.104, 161.129.204.104, 161.129.204.104, 5.0.18 > Reporter: Andy Blower > Priority: Critical > Attachments: TAP5-834-patch.txt > > > OptimizedSessionPersistedObject's suggestion for implementing isSessionPersistedObjectDirty(), as used by BaseOptimizedSessionPersistedObject, does not work correctly with Tomcat & Jetty. (and quite possibly other servlet containers too, but we only use Jetty & Tomcat so have only confirmed it with them) > OptimizedSessionPersistedObject model relies on the servlet container session object triggering a HttpSessionBindingEvent when an object is re-stored in the session to reset the dirty flag. I've only looked at the source of Tomcat 5.5 and 6 but when an object is replaced in the session using setAttribute() the new object and the existing object are compared by reference only, if they both refer to the same object then no HttpSessionBindingEvent is triggered. > From Tomcat StandardSession.java: > // Call the valueBound() method if necessary > if (notify && value instanceof HttpSessionBindingListener) { > // Don't call any notification if replacing with the same value > Object oldValue = attributes.get(name); > if (value != oldValue) { > event = new HttpSessionBindingEvent(getSession(), name, value); > try { > ((HttpSessionBindingListener) value).valueBound(event); > } catch (Throwable t){ > manager.getContainer().getLogger().error > (sm.getString("standardSession.bindingEvent"), t); > } > } > } > So, using OptimizedSessionPersistedObject, there is currently no way of setting the dirty flag to false after the object has been saved in the session - hence we are propagating all of the SSOs across the cluster all of the time because the dirty flag stays set to true. > I think there are two possible solutions to this issue - I prefer the first by a large margin, but both modify the SessionImpl.restoreDirtyObjects() method. > 1) Add a new method to OptimizedSessionPersistedObject interface to reset the dirty flag, and a corresponding method in SessionPersistedObjectAnalyzer - implementing them as appropriate, then call the new reset method after setting the session attribute in SessionImpl.restoreDirtyObjects(). > 2) Remove the session attribute before adding it in SessionImpl.restoreDirtyObjects(). Although I have a worry that this may potentially cause hard to find concurrency problems. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 08 05:59:21 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21043 invoked from network); 8 Sep 2009 05:59:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Sep 2009 05:59:20 -0000 Received: (qmail 90890 invoked by uid 500); 8 Sep 2009 05:59:20 -0000 Delivered-To: [email protected] Received: (qmail 90815 invoked by uid 500); 8 Sep 2009 05:59:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 90803 invoked by uid 99); 8 Sep 2009 05:59:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 05:59:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 05:59:18 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 878DB234C044 for <[email protected]>; Mon, 7 Sep 2009 22:58:57 -0700 (PDT) Message-ID: <592199750.1252389537538.JavaMail.jira@brutus> Date: Mon, 7 Sep 2009 22:58:57 -0700 (PDT) From: =?utf-8?Q?Christian_K=C3=B6berl_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Updated: (TAP5-713) Change template parser to not use STAX, as it is not (yet) compatible with Google App Engine In-Reply-To: <149038275.1242834405574.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-713?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Christian K=C3=B6berl updated TAP5-713: ---------------------------------- Attachment: SaxTemplateParserImpl.java Here's the newest version of SaxTemplateParserImpl. I fixed the mustBeRoot = check - DTD tokens are allowed before root element. > Change template parser to not use STAX, as it is not (yet) compatible wit= h Google App Engine > -------------------------------------------------------------------------= ------------------- > > Key: TAP5-713 > URL: https://issues.apache.org/jira/browse/TAP5-713 > Project: Tapestry 5 > Issue Type: Improvement > Components: tapestry-core > Affects Versions: 161.129.204.104 > Reporter: Howard M. Lewis Ship > Attachments: SaxTemplateParserImpl.java, SaxTemplateParserImpl.ja= va, SaxTemplateParserImpl.java, SaxTemplateParserImpl.java, SaxTemplatePars= erImpl.java > > > The StAX APIs are not on the GAE "white list". > Should be reasonable ot change the code, by using a SAX parser that parse= s the template into a list of tokens, and then iterate down the token list = as we do today using StAX. End result will be fewer dependencies to boot. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 08 08:15:23 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57270 invoked from network); 8 Sep 2009 08:15:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Sep 2009 08:15:22 -0000 Received: (qmail 3698 invoked by uid 500); 8 Sep 2009 08:15:22 -0000 Delivered-To: [email protected] Received: (qmail 3639 invoked by uid 500); 8 Sep 2009 08:15:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 3630 invoked by uid 99); 8 Sep 2009 08:15:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 08:15:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 08:15:18 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id ECCBC234C4AD for <[email protected]>; Tue, 8 Sep 2009 01:14:57 -0700 (PDT) Message-ID: <784105248.1252397697968.JavaMail.jira@brutus> Date: Tue, 8 Sep 2009 01:14:57 -0700 (PDT) From: "Massimo Lusetti (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (TAP5-840) Support character references in tml files with HTML 5 Doctype In-Reply-To: <1638596733.1252052818217.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752381#action_12752381 ] Massimo Lusetti commented on TAP5-840: -------------------------------------- Doesn't this affect 5.1 and trunk too? > Support character references in tml files with HTML 5 Doctype > ------------------------------------------------------------- > > Key: TAP5-840 > URL: https://issues.apache.org/jira/browse/TAP5-840 > Project: Tapestry 5 > Issue Type: Improvement > Components: tapestry-core > Affects Versions: 5.0.18 > Reporter: Ben Gidley > > Currently to support HTML character references (e.g. &copy;) you need to put a HTML Doctype at the top of the TML file. > e.g. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > However for HTML 5 they have stopped using XML doctypes and instead use > <!DOCTYPE html> > If you change tapestry page to use this you can no longer use entities as the XML parser doesn't know what to do. > Ideally there should be some kind of logic that detects <!DOCTYPE html> and include a suitable DTD to resolve the common HTML entities. The HTML 5 specification defines the allowed named character references - http://dev.w3.org/html5/spec/Overview.html#named-character-references. There doesn't seem to be a DTD of allowed references maintained anymore. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 08 09:45:22 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84078 invoked from network); 8 Sep 2009 09:45:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Sep 2009 09:45:22 -0000 Received: (qmail 43375 invoked by uid 500); 8 Sep 2009 09:45:22 -0000 Delivered-To: [email protected] Received: (qmail 43306 invoked by uid 500); 8 Sep 2009 09:45:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 43297 invoked by uid 99); 8 Sep 2009 09:45:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 09:45:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 09:45:19 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 798A8234C044 for <[email protected]>; Tue, 8 Sep 2009 02:44:57 -0700 (PDT) Message-ID: <1534239691.1252403097476.JavaMail.jira@brutus> Date: Tue, 8 Sep 2009 02:44:57 -0700 (PDT) From: "Ben Gidley (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (TAP5-840) Support character references in tml files with HTML 5 Doctype In-Reply-To: <1638596733.1252052818217.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752412#action_12752412 ] Ben Gidley commented on TAP5-840: --------------------------------- It does effect 5.1. Not sure about Trunk but I see no reason why it wouldn't. > Support character references in tml files with HTML 5 Doctype > ------------------------------------------------------------- > > Key: TAP5-840 > URL: https://issues.apache.org/jira/browse/TAP5-840 > Project: Tapestry 5 > Issue Type: Improvement > Components: tapestry-core > Affects Versions: 5.0.18 > Reporter: Ben Gidley > > Currently to support HTML character references (e.g. &copy;) you need to put a HTML Doctype at the top of the TML file. > e.g. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > However for HTML 5 they have stopped using XML doctypes and instead use > <!DOCTYPE html> > If you change tapestry page to use this you can no longer use entities as the XML parser doesn't know what to do. > Ideally there should be some kind of logic that detects <!DOCTYPE html> and include a suitable DTD to resolve the common HTML entities. The HTML 5 specification defines the allowed named character references - http://dev.w3.org/html5/spec/Overview.html#named-character-references. There doesn't seem to be a DTD of allowed references maintained anymore. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 08 22:44:29 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53918 invoked from network); 8 Sep 2009 22:44:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Sep 2009 22:44:29 -0000 Received: (qmail 45399 invoked by uid 500); 8 Sep 2009 22:44:29 -0000 Delivered-To: [email protected] Received: (qmail 45300 invoked by uid 500); 8 Sep 2009 22:44:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 45291 invoked by uid 99); 8 Sep 2009 22:44:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 22:44:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 22:44:18 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 999FD234C4AA for <[email protected]>; Tue, 8 Sep 2009 15:43:57 -0700 (PDT) Message-ID: <1315789663.1252449837627.JavaMail.jira@brutus> Date: Tue, 8 Sep 2009 15:43:57 -0700 (PDT) From: "David Rees (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (TAP5-841) DateField selects wrong date if client is in a different timezone than the server MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org DateField selects wrong date if client is in a different timezone than the server --------------------------------------------------------------------------------- Key: TAP5-841 URL: https://issues.apache.org/jira/browse/TAP5-841 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 161.129.204.104 Reporter: David Rees This affects 5.0.18 and 161.129.204.104 in my testing. Situation is that if the server is running in a different timezone than the client, the DateField chooser will select the wrong date on the calendar. For example, if the server is running in "Pacific/Auckland" and the client is running in "America/Los_Angeles", Auckland is a "day ahead" of Los Angeles for most of the time and the bug is easy to reproduce. Right now it is 3:40PM Sep 8, 2009 America/Los_Angeles and 10:40AM Sep 9, 2009 Pacific/Auckland. If the date on the server to be displayed by the DateField is Sep 9, 2009, when you select the date chooser, Sep 8, 2009 is selected in the JavaScript calendar dialog. I found this message which seems to indicate that Howard thought it might be an issue - looks like he was correct: http://www.nabble.com/Re%3A-Tapestry-5.0.15-DateField-localization-problem--patch-included--p20033325.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 08 22:54:22 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58323 invoked from network); 8 Sep 2009 22:54:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Sep 2009 22:54:22 -0000 Received: (qmail 57516 invoked by uid 500); 8 Sep 2009 22:54:22 -0000 Delivered-To: [email protected] Received: (qmail 57419 invoked by uid 500); 8 Sep 2009 22:54:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 57410 invoked by uid 99); 8 Sep 2009 22:54:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 22:54:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 22:54:18 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 7BB46234C044 for <[email protected]>; Tue, 8 Sep 2009 15:53:57 -0700 (PDT) Message-ID: <1549054652.1252450437491.JavaMail.jira@brutus> Date: Tue, 8 Sep 2009 15:53:57 -0700 (PDT) From: "David Rees (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (TAP5-836) URLEventContext is not Serializable - prevents Tapestry use in a Cluster In-Reply-To: <1135243445.1249072634841.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752809#action_12752809 ] David Rees commented on TAP5-836: --------------------------------- That's a good question! I haven't been able to determine why a URLEventContext is getting into the session. A search of my code hasn't turned up any direct uses of it. Any suggestions on where to look would be welcome. > URLEventContext is not Serializable - prevents Tapestry use in a Cluster > ------------------------------------------------------------------------ > > Key: TAP5-836 > URL: https://issues.apache.org/jira/browse/TAP5-836 > Project: Tapestry 5 > Issue Type: Bug > Environment: CentOS 5.3, Java 1.6.0_14-b08, Tomcat 5.5.27 > Reporter: David Rees > Priority: Critical > > I have a Tapestry application which I am trying to use in a Tomcat cluster. > Tomcat uses Object Input/Output Streams to replicate session data, which requires that all objects added to a Session implement Serializable. > In Tapestry 5.0.18 (and all later versions from what I can tell from browsing source), org.apache.tapestry5.internal.URLEventContext does not implement Serializable which prevents us from using Tapestry in a cluster. > Unfortunately, this means that when we have to deploy a new version of our application, we have to forcibly log everyone out disrupting service. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Sep 09 19:46:25 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68776 invoked from network); 9 Sep 2009 19:46:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Sep 2009 19:46:25 -0000 Received: (qmail 70126 invoked by uid 500); 9 Sep 2009 19:46:24 -0000 Delivered-To: [email protected] Received: (qmail 70086 invoked by uid 500); 9 Sep 2009 19:46:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.tapestry.apache.org> Reply-To: "Tapestry development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 70076 invoked by uid 99); 9 Sep 2009 19:46:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Sep 2009 19:46:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Sep 2009 19:46:21 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id 98D9A118D6 for <[email protected]>; Wed, 9 Sep 2009 19:46:01 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Wed, 09 Sep 2009 19:46:01 -0000 Message-ID: <[email protected]> Subject: [Tapestry Wiki] Update of "Tapestry5HowTos" by CraigStJean X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification. The following page has been changed by CraigStJean: http://wiki.apache.org/tapestry/Tapestry5HowTos ------------------------------------------------------------------------------ ==== Spring ==== * ["Tapestry5SpringIntegration"] - How to inject Spring beans into Tapestry pages and components + * ["Tapestry51SpringJpaIntegration"] - Quick tutorial on using Tapestry with Spring Transactions and JPA * ["Tapestry5_How_To_Integrate_Components_With_Spring_Transactions"] - brief tutorial of how to integrate Tapestry5 components with Spring transactions. * ["Tapestry5-TestWithTapestry-Spring"] - How to test Tapestry pages which use Spring Beans --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Sep 09 20:12:34 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74760 invoked from network); 9 Sep 2009 20:12:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Sep 2009 20:12:34 -0000 Received: (qmail 98697 invoked by uid 500); 9 Sep 2009 20:12:34 -0000 Delivered-To: [email protected] Received: (qmail 98658 invoked by uid 500); 9 Sep 2009 20:12:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.tapestry.apache.org> Reply-To: "Tapestry development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 98647 invoked by uid 99); 9 Sep 2009 20:12:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Sep 2009 20:12:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Sep 2009 20:12:25 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id 89335118C2 for <[email protected]>; Wed, 9 Sep 2009 20:12:05 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Wed, 09 Sep 2009 20:12:05 -0000 Message-ID: <[email protected]> Subject: [Tapestry Wiki] Update of "Tapestry51SpringJpaIntegration" by CraigStJean X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification. The following page has been changed by CraigStJean: http://wiki.apache.org/tapestry/Tapestry51SpringJpaIntegration New page: == Goal == The end result should be a Tapestry 5 (5.1 in this case) application, making use of Spring with Spring Transactions, and JPA. This example will be an incredibly simplified phone book application. == Updating web.xml == To start we need to add our Spring XML files to the context-params of web.xml: {{{ <context-param> <param-name>contextConfigLocation</param-name> <param-value>/WEB-INF/applicationContext.xml</param-value> </context-param> }}} Then we need to update the Tapestry 5 filter to be org.apache.tapestry5.spring.TapestrySpringFilter Finally we want to open our Entity Manager on page requests, so we add a filter (before the Tapestry filter) and filter-mapping: {{{ <filter> <filter-name>JpaFilter</filter-name> <filter-class>org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter</filter-class> </filter> <filter-mapping> <filter-name>JpaFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> }}} == Spring Beans XML File == We would like to use JPA exception translation, annotations, and transactions. We also need a Dao for our Person object. {{{ <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context" xmlns:jee="http://www.springframework.org/schema/jee" xmlns:tx="http://www.springframework.org/schema/tx" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd"> <bean class="org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor" /> <context:annotation-config /> <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalEntityManagerFactoryBean"> <property name="persistenceUnitName" value="tapestryUnit" /> </bean> <!-- Switch to this in JEE --> <!-- <jee:jndi-lookup id="entityManagerFactory" jndi-name="persistence/tapestryUnit" /> --> <bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager"> <property name="entityManagerFactory" ref="entityManagerFactory" /> </bean> <tx:annotation-driven transaction-manager="transactionManager" /> <bean id="personDao" class="com.company.myproject.dao.impl.PersonDaoImpl" /> </beans> }}} == persistence.xml == Our persistence.xml is the same as any other. In this case we are not deploying to a JEE container, but just a web container, so we've defined the connection properties inside persistence.xml. We typically would use connection pooling, but for simplicity we have not. Note we will use Hibernate (though we don't have to!), and DB2. {{{ <?xml version="1.0" encoding="UTF-8"?> <persistence xmlns="http://java.sun.com/xml/ns/persistence" version="1.0"> <persistence-unit name="tapestryUnit" transaction-type="RESOURCE_LOCAL"> <provider>org.hibernate.ejb.HibernatePersistence</provider> <class>com.company.myproject.entities.Person</class> <exclude-unlisted-classes /> <properties> <property name="hibernate.dialect" value="org.hibernate.dialect.DB2Dialect" /> <property name="hibernate.connection.driver_class" value="com.ibm.db2.jcc.DB2Driver" /> <property name="hibernate.connection.username" value="tapestry" /> <property name="hibernate.connection.password" value="tapestry" /> <property name="hibernate.connection.url" value="jdbc:db2://dbserver:50000/TESTS:currentSchema=PHNPRJ;" /> <property name="hibernate.show_sql" value="true" /> </properties> </persistence-unit> </persistence> }}} == The DAO == Our DAO is just like any other JPA with Spring annotations DAO. The entity the DAO will control is: {{{ @Entity @Table(name = "PERSON") public class Person implements Serializable { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(name = "ID") private Long id; @Version @Column(name = "VER") private Integer version; @Column(name = "FIRSTNAME", length = 15, nullable = false) private String firstName; @Column(name = "LASTNAME", length = 15, nullable = false) private String lastName; @Column(name = "PHONENR", length = 10) private String phoneNumber; // ... SNIPPED GETTERS/SETTERS ... }}} Note that as I'm using an identity column, the database must be created properly. hbm2ddl does not do this. Use this DDL: {{{ CREATE TABLE PHNPRJ.PERSON ( ID INT NOT NULL GENERATED ALWAYS AS IDENTITY, VER INT NOT NULL DEFAULT 0, FIRSTNAME VARCHAR(15) NOT NULL DEFAULT '', LASTNAME VARCHAR(15) NOT NULL DEFAULT '', PHONENR VARCHAR(10) DEFAULT '', CONSTRAINT PERSON_PK PRIMARY KEY (ID) ); }}} The DAO interface: {{{ public interface PersonDao { public List<Person> getPeople(); public Person read(Long id); public Person save(Person person); public void delete(Long id); public void delete(Person person); } }}} The DAO: {{{ @Repository @Transactional(readOnly = true, propagation = Propagation.SUPPORTS) public class PersonDaoImpl implements PersonDao { @PersistenceContext private EntityManager entityManager; public List<Person> getPeople() { return entityManager.createQuery("from Person p order by p.lastName, p.firstName, p.phoneNumber").getResultList(); } public Person read(Long id) { return (Person)entityManager.createQuery("from Person p where p.id = :id").setParameter("id", id).getSingleResult(); } @Transactional(readOnly = false, propagation = Propagation.REQUIRED) public Person save(Person person) { if (person.getId() == null || person.getId() == 0) { entityManager.persist(person); } else { person = entityManager.merge(person); } return person; } @Transactional(readOnly = false, propagation = Propagation.REQUIRED) public void delete(Long id) { entityManager.remove(read(id)); } @Transactional(readOnly = false, propagation = Propagation.REQUIRED) public void delete(Person person) { entityManager.remove(person); } public void setEntityManager(EntityManager entityManager) { this.entityManager = entityManager; } } }}} == The Rest == Everything else is standard Tapestry. To get our DAO in a T5 page: {{{ @Inject private PersonDao personDao }}} We do not need anything special in our AppModule. Note do not include the tapestry-hibernate module as we are not using hibernate.cfg.xml. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Sep 12 20:00:39 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30760 invoked from network); 12 Sep 2009 20:00:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Sep 2009 20:00:38 -0000 Received: (qmail 78703 invoked by uid 500); 12 Sep 2009 20:00:37 -0000 Delivered-To: [email protected] Received: (qmail 78611 invoked by uid 500); 12 Sep 2009 20:00:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78597 invoked by uid 99); 12 Sep 2009 20:00:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Sep 2009 20:00:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Sep 2009 20:00:33 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B29DF23888DB; Sat, 12 Sep 2009 20:00:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r814225 - in /tapestry/tapestry5/trunk: tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ tapestry-core/src/main/resources/org/apache/tapestry5/ tapestry-core/src/test/app3/ tapestry-core/src/test/java/org/apache/tapestry5... Date: Sat, 12 Sep 2009 20:00:13 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: drobiazko Date: Sat Sep 12 20:00:12 2009 New Revision: 814225 URL: http://svn.apache.org/viewvc?rev=814225&view=rev Log: TAP5-678: Allow blackbird to be disabled in production mode Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry-console.css (with props) tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry-console.js (with props) tapestry/tapestry5/trunk/tapestry-core/src/test/app3/ConsoleDemo.tml tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app3/pages/ConsoleDemo.java (with props) Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ClientInfrastructureImpl.java tapestry/tapestry5/trunk/tapestry-core/src/test/app3/Login.tml tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/AdditionalIntegrationTests.java tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/IntegrationTests.java tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app3/services/AppModule.java tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ClientInfrastructureImplTest.java tapestry/tapestry5/trunk/tapestry-test/src/main/java/org/apache/tapestry5/test/AbstractIntegrationTestSuite.java Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ClientInfrastructureImpl.java URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ClientInfrastructureImpl.java?rev=814225&r1=814224&r2=814225&view=diff ============================================================================== --- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ClientInfrastructureImpl.java (original) +++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ClientInfrastructureImpl.java Sat Sep 12 20:00:12 2009 @@ -40,7 +40,9 @@ private final ThreadLocale threadLocale; - private final List<Asset> javascriptStack, stylesheetStack, javascriptStackTestMode, stylesheetStackTestMode; + private final List<Asset> javascriptStack, stylesheetStack; + + private final Asset consoleJavascript, consoleStylesheet; private final boolean isBlackbirdEnabled; @@ -54,31 +56,15 @@ // Uses functions defined by the prior three - "org/apache/tapestry5/tapestry.js" - }; - - private static final String[] CORE_JAVASCRIPT_TEST_MODE = new String[] - { - // Only available in test mode - - "${tapestry.blackbird}/blackbird.js" + "org/apache/tapestry5/tapestry.js", }; - private static final String[] CORE_STYLESHEET = new String[] { - "${tapestry.default-stylesheet}" - }; - - - private static final String[] CORE_STYLESHEET_TEST_MODE = new String[] - { - // Only available in test mode - - "${tapestry.blackbird}/blackbird.css" + "${tapestry.default-stylesheet}", }; - public ClientInfrastructureImpl(SymbolSource symbolSource, + public ClientInfrastructureImpl(SymbolSource symbolSource, AssetSource assetSource, ThreadLocale threadLocale, @Symbol(SymbolConstants.BLACKBIRD_ENABLED) @@ -92,8 +78,8 @@ javascriptStack = convertToAssets(CORE_JAVASCRIPT); stylesheetStack = convertToAssets(CORE_STYLESHEET); - javascriptStackTestMode = convertToAssets(CORE_JAVASCRIPT_TEST_MODE); - stylesheetStackTestMode = convertToAssets(CORE_STYLESHEET_TEST_MODE); + consoleJavascript = expand("${tapestry.blackbird}/blackbird.js", "org/apache/tapestry5/tapestry-console.js", null); + consoleStylesheet = expand("${tapestry.blackbird}/blackbird.css", "org/apache/tapestry5/tapestry-console.css", null); } private List<Asset> convertToAssets(String[] paths) @@ -114,33 +100,36 @@ return assetSource.getAsset(null, expanded, locale); } + + private Asset expand(String blackbirdPath, String consolePath, Locale locale) + { + String path = isBlackbirdEnabled? blackbirdPath: consolePath; + + return expand(path, locale); + } public List<Asset> getJavascriptStack() { - List<Asset> result = createStack(javascriptStack, javascriptStackTestMode); - Asset messages = assetSource.getAsset(null, "org/apache/tapestry5/tapestry-messages.js", threadLocale.getLocale()); - result.add(messages); - - return result; + return createStack(javascriptStack, messages, consoleJavascript); } public List<Asset> getStylesheetStack() - { - return createStack(stylesheetStack, stylesheetStackTestMode); + { + return createStack(stylesheetStack, consoleStylesheet); } - private List<Asset> createStack(List<Asset> stack, List<Asset> optionalStack) + public List<Asset> createStack(List<Asset> stack, Asset... assets) { List<Asset> result = CollectionFactory.newList(stack); - if(isBlackbirdEnabled) + for (Asset next : assets) { - result.addAll(optionalStack); + result.add(next); } - + return result; } } Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry-console.css URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry-console.css?rev=814225&view=auto ============================================================================== --- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry-console.css (added) +++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry-console.css Sat Sep 12 20:00:12 2009 @@ -0,0 +1,27 @@ +/* The console is used to show debugging messages. */ +DIV.t-console { + position: fixed; + z-index: 1; + top: 2px; + left: 2px; +} + +DIV.t-console DIV { + font-weight: bold; + padding: 0px 2px; +} + +DIV.t-console DIV.t-err { + background-color: red; + color: white; +} + +DIV.t-console DIV.t-warn { + background-color: yellow; + color: black; +} + +DIV.t-console DIV.t-debug { + background-color: silver; + color: black; +} \ No newline at end of file Propchange: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry-console.css ------------------------------------------------------------------------------ svn:eol-style = native Propchange: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry-console.css ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry-console.js URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry-console.js?rev=814225&view=auto ============================================================================== --- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry-console.js (added) +++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry-console.js Sat Sep 12 20:00:12 2009 @@ -0,0 +1,85 @@ +// Copyright 2009 The Apache Software Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Tapestry.Logging = { + + debug: function(msg) + { + Tapestry.Logging.updateConsole("t-err", msg); + }, + + warn: function(msg) + { + Tapestry.Logging.updateConsole("t-warn", msg); + }, + + error: function(msg) + { + if (Tapestry.DEBUG_ENABLED) + Tapestry.Logging.updateConsole("t-debug", msg); + }, + + /** Formats a message and updates the console. The console is virtual + * when FireBug is not present, the messages float in the upper-left corner + * of the page and fade out after a short period. The background color identifies + * the severity of the message (red for error, yellow for warnings, grey for debug). + * Messages can be clicked, which removes the immediately. + * + * When FireBug is present, the error(), warn() and debug() methods do not invoke + * this; instead those functions are rewritten to write entries into the FireBug console. + * + * @param className to use for the div element in the console + * @param message message template + */ + updateConsole : function (className, message) + { + + if (Tapestry.Logging.console == undefined) + Tapestry.Logging.console = Tapestry.Logging.createConsole("t-console"); + + Tapestry.Logging.writeToConsole(Tapestry.Logging.console, className, message); + }, + + createConsole : function(className) + { + var body = $$("BODY").first(); + + var console = new Element("div", { 'class': className }); + + body.insert({ top: console }); + + return console; + }, + + writeToConsole : function(console, className, message, slideDown) + { + var div = new Element("div", { 'class': className }).update(message).hide(); + + console.insert({ top: div }); + + new Effect.Appear(div, { duration: .25 }); + + var effect = new Effect.Fade(div, { delay: Tapestry.CONSOLE_DURATION, + afterFinish: function() + { + div.remove(); + }}); + + div.observe("click", function() + { + effect.cancel(); + div.remove(); + }); + } + +} \ No newline at end of file Propchange: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry-console.js ------------------------------------------------------------------------------ svn:eol-style = native Propchange: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry-console.js ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: tapestry/tapestry5/trunk/tapestry-core/src/test/app3/ConsoleDemo.tml URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/app3/ConsoleDemo.tml?rev=814225&view=auto ============================================================================== --- tapestry/tapestry5/trunk/tapestry-core/src/test/app3/ConsoleDemo.tml (added) +++ tapestry/tapestry5/trunk/tapestry-core/src/test/app3/ConsoleDemo.tml Sat Sep 12 20:00:12 2009 @@ -0,0 +1,13 @@ +<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"> + <head> + <title>Console Demo</title> + </head> + <body> + <h1>Demonstrates Tapestry console</h1> + + <p><t:zone t:id="output"/></p> + <p> + <t:actionlink t:id="fail" zone="output">Failure on the server side</t:actionlink> + </p> + </body> +</html> \ No newline at end of file Modified: tapestry/tapestry5/trunk/tapestry-core/src/test/app3/Login.tml URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/app3/Login.tml?rev=814225&r1=814224&r2=814225&view=diff ============================================================================== --- tapestry/tapestry5/trunk/tapestry-core/src/test/app3/Login.tml (original) +++ tapestry/tapestry5/trunk/tapestry-core/src/test/app3/Login.tml Sat Sep 12 20:00:12 2009 @@ -16,6 +16,9 @@ <li> <t:pagelink page="renderpagedemo">PageDocumentGenerator demo</t:pagelink> </li> + <li> + <t:pagelink page="consoledemo">Console demo</t:pagelink> + </li> </ul> </body> Modified: tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/AdditionalIntegrationTests.java URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/AdditionalIntegrationTests.java?rev=814225&r1=814224&r2=814225&view=diff ============================================================================== --- tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/AdditionalIntegrationTests.java (original) +++ tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/AdditionalIntegrationTests.java Sat Sep 12 20:00:12 2009 @@ -80,4 +80,19 @@ // Fuckin Selenium // assertAttribute("//a[2]/@href", "login"); } + + public void ajax_server_side_exception() + { + start("Console demo"); + + assertTextPresent("Demonstrates Tapestry console"); + + click("link=Failure on the server side"); + + // Wait for the console to appear + + waitForCSSSelectedElementToAppear(".t-console div.t-err"); + + assertTextPresent("Communication with the server failed: Server-side exception."); + } } Modified: tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/IntegrationTests.java URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/IntegrationTests.java?rev=814225&r1=814224&r2=814225&view=diff ============================================================================== --- tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/IntegrationTests.java (original) +++ tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/IntegrationTests.java Sat Sep 12 20:00:12 2009 @@ -2309,14 +2309,6 @@ waitForCondition(condition, PAGE_LOAD_TIMEOUT); } - private void waitForCSSSelectedElementToAppear(String cssRule) - { - String condition = String.format("selenium.browserbot.getCurrentWindow().$$(\"%s\").size() > 0", - cssRule); - - waitForCondition(condition, PAGE_LOAD_TIMEOUT); - - } /** * TAPESTRY-2610 Added: tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app3/pages/ConsoleDemo.java URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app3/pages/ConsoleDemo.java?rev=814225&view=auto ============================================================================== --- tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app3/pages/ConsoleDemo.java (added) +++ tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app3/pages/ConsoleDemo.java Sat Sep 12 20:00:12 2009 @@ -0,0 +1,22 @@ +// Copyright 2009 The Apache Software Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +package org.apache.tapestry5.integration.app3.pages; + +public class ConsoleDemo +{ + void onActionFromFail() + { + throw new RuntimeException("Server-side exception."); + } +} Propchange: tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app3/pages/ConsoleDemo.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app3/pages/ConsoleDemo.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app3/services/AppModule.java URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app3/services/AppModule.java?rev=814225&r1=814224&r2=814225&view=diff ============================================================================== --- tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app3/services/AppModule.java (original) +++ tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app3/services/AppModule.java Sat Sep 12 20:00:12 2009 @@ -29,6 +29,8 @@ public static void contributeApplicationDefaults(MappedConfiguration<String, String> configuration) { configuration.add(SymbolConstants.GZIP_COMPRESSION_ENABLED, "false"); + + configuration.add(SymbolConstants.PRODUCTION_MODE, "false"); } } Modified: tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ClientInfrastructureImplTest.java URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ClientInfrastructureImplTest.java?rev=814225&r1=814224&r2=814225&view=diff ============================================================================== --- tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ClientInfrastructureImplTest.java (original) +++ tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ClientInfrastructureImplTest.java Sat Sep 12 20:00:12 2009 @@ -28,13 +28,14 @@ public class ClientInfrastructureImplTest extends InternalBaseTestCase { @Test - public void production_mode() throws Exception + public void tapestry_console() throws Exception { SymbolSource symbolSource = mockSymbolSource(); AssetSource assetSource = mockAssetSource(); ThreadLocale threadLocale = mockThreadLocale(); - train_constructor(symbolSource, assetSource, threadLocale); + train_constructor(symbolSource, assetSource, threadLocale, + "org/apache/tapestry5/tapestry-console.js", "org/apache/tapestry5/tapestry-console.css"); replay(); @@ -46,21 +47,20 @@ verify(); - //blackbird is the only one asset to be excluded in production mode - //for now it is ok to check only sizes of stacks - assertEquals(stack.size(), 5); + assertEquals(stack.size(), 6); - assertEquals(stylesheetStack.size(), 1); + assertEquals(stylesheetStack.size(), 2); } @Test - public void test_mode() throws Exception + public void blackbird() throws Exception { SymbolSource symbolSource = mockSymbolSource(); AssetSource assetSource = mockAssetSource(); ThreadLocale threadLocale = mockThreadLocale(); - train_constructor(symbolSource, assetSource, threadLocale); + train_constructor(symbolSource, assetSource, threadLocale, + "${tapestry.blackbird}/blackbird.js", "${tapestry.blackbird}/blackbird.css"); replay(); @@ -72,18 +72,25 @@ verify(); - //blackbird is the only one asset to be excluded in production mode - //for now it is ok to check only sizes of stacks assertEquals(javascriptStack.size(), 6); assertEquals(stylesheetStack.size(), 2); } - private void train_constructor(SymbolSource symbolSource, AssetSource assetSource, ThreadLocale threadLocale) + private void train_constructor(SymbolSource symbolSource, AssetSource assetSource, ThreadLocale threadLocale, + String javascriptPath, String stylesheetPath) { - expect(symbolSource.expandSymbols(isA(String.class))).andReturn("expanded").anyTimes(); - expect(assetSource.getAsset(null, "expanded",null)).andReturn(mockAsset()).anyTimes(); + train_expand(symbolSource, assetSource, isA(String.class), 5); + train_expand(symbolSource, assetSource, javascriptPath, 1); + train_expand(symbolSource, assetSource, stylesheetPath, 1); train_getLocale(threadLocale, Locale.ENGLISH); expect(assetSource.getAsset(null, "org/apache/tapestry5/tapestry-messages.js",Locale.ENGLISH)).andReturn(mockAsset()); } + + private void train_expand(SymbolSource symbolSource, AssetSource assetSource, String path, int times) + { + expect(symbolSource.expandSymbols(path)).andReturn("expanded").times(times); + expect(assetSource.getAsset(null, "expanded",null)).andReturn(mockAsset()).times(times); + } + } Modified: tapestry/tapestry5/trunk/tapestry-test/src/main/java/org/apache/tapestry5/test/AbstractIntegrationTestSuite.java URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-test/src/main/java/org/apache/tapestry5/test/AbstractIntegrationTestSuite.java?rev=814225&r1=814224&r2=814225&view=diff ============================================================================== --- tapestry/tapestry5/trunk/tapestry-test/src/main/java/org/apache/tapestry5/test/AbstractIntegrationTestSuite.java (original) +++ tapestry/tapestry5/trunk/tapestry-test/src/main/java/org/apache/tapestry5/test/AbstractIntegrationTestSuite.java Sat Sep 12 20:00:12 2009 @@ -246,6 +246,15 @@ assertFieldValue(id, values[i]); } } + + protected void waitForCSSSelectedElementToAppear(String cssRule) + { + String condition = String.format("selenium.browserbot.getCurrentWindow().$$(\"%s\").size() > 0", + cssRule); + + waitForCondition(condition, PAGE_LOAD_TIMEOUT); + + } @AfterClass(alwaysRun = true) public void cleanup() throws Exception From [email protected] Sat Sep 12 20:04:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31555 invoked from network); 12 Sep 2009 20:04:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Sep 2009 20:04:20 -0000 Received: (qmail 82348 invoked by uid 500); 12 Sep 2009 20:04:19 -0000 Delivered-To: [email protected] Received: (qmail 82265 invoked by uid 500); 12 Sep 2009 20:04:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 82256 invoked by uid 99); 12 Sep 2009 20:04:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Sep 2009 20:04:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Sep 2009 20:04:17 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 831F0234C046 for <[email protected]>; Sat, 12 Sep 2009 13:03:57 -0700 (PDT) Message-ID: <941758762.1252785837506.JavaMail.jira@brutus> Date: Sat, 12 Sep 2009 13:03:57 -0700 (PDT) From: "Igor Drobiazko (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (TAP5-678) Allow blackbird to be disabled in production mode In-Reply-To: <41666244.1241169870323.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Drobiazko closed TAP5-678. ------------------------------- Resolution: Fixed > Allow blackbird to be disabled in production mode > ------------------------------------------------- > > Key: TAP5-678 > URL: https://issues.apache.org/jira/browse/TAP5-678 > Project: Tapestry 5 > Issue Type: Improvement > Components: tapestry-core > Affects Versions: 5.2 > Reporter: Paudi Moriarty > Assignee: Igor Drobiazko > Fix For: 161.129.204.104 > > > blackbird's use of F2 to show the console is interfering with our application which uses F-keys as hotkeys to access various parts of the application. > It should be possible to either completely disable blackbird in production mode (avoiding unnecessary .css and .js downloads) or at least disable the console hotkey. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Sep 12 23:00:23 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56481 invoked from network); 12 Sep 2009 23:00:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Sep 2009 23:00:22 -0000 Received: (qmail 67475 invoked by uid 500); 12 Sep 2009 23:00:22 -0000 Delivered-To: [email protected] Received: (qmail 67386 invoked by uid 500); 12 Sep 2009 23:00:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 67377 invoked by uid 99); 12 Sep 2009 23:00:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Sep 2009 23:00:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Sep 2009 23:00:18 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 7C509234C046 for <[email protected]>; Sat, 12 Sep 2009 15:59:57 -0700 (PDT) Message-ID: <638931393.1252796397489.JavaMail.jira@brutus> Date: Sat, 12 Sep 2009 15:59:57 -0700 (PDT) From: "Peter Niederwieser (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (TAP5-839) Tapestry should ignore (public) synthetic methods in module classes In-Reply-To: <859-838-3298.1251761312747.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12754634#action_12754634 ] Peter Niederwieser commented on TAP5-839: ----------------------------------------- Will this make it into the next bug fix release? Should I provide a patch? > Tapestry should ignore (public) synthetic methods in module classes > ------------------------------------------------------------------- > > Key: TAP5-839 > URL: https://issues.apache.org/jira/browse/TAP5-839 > Project: Tapestry 5 > Issue Type: Bug > Reporter: Peter Niederwieser > > Groovy (and probably other alternative languages as well) enriches its classes with public synthetic methods. For module classes written in Groovy, Tapestry complains that it doesn't recognize these methods. Because synthetic methods are obviously not meant for Tapestry, they should be ignored. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sun Sep 13 13:05:02 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74220 invoked from network); 13 Sep 2009 13:05:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Sep 2009 13:05:02 -0000 Received: (qmail 20469 invoked by uid 500); 13 Sep 2009 13:05:01 -0000 Delivered-To: [email protected] Received: (qmail 20402 invoked by uid 500); 13 Sep 2009 13:05:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 20393 invoked by uid 99); 13 Sep 2009 13:05:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Sep 2009 13:05:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Sep 2009 13:04:52 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A0A20238897D; Sun, 13 Sep 2009 13:04:32 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r814310 - in /tapestry/tapestry-site/trunk/src/site: resources/images/tapestry5-drobiazko.jpg xdoc/articles.xml xdoc/index.xml xdoc/news.xml Date: Sun, 13 Sep 2009 13:04:32 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: drobiazko Date: Sun Sep 13 13:04:32 2009 New Revision: 814310 URL: http://svn.apache.org/viewvc?rev=814310&view=rev Log: Added news about the new German written T5 book. Added: tapestry/tapestry-site/trunk/src/site/resources/images/tapestry5-drobiazko.jpg (with props) Modified: tapestry/tapestry-site/trunk/src/site/xdoc/articles.xml tapestry/tapestry-site/trunk/src/site/xdoc/index.xml tapestry/tapestry-site/trunk/src/site/xdoc/news.xml Added: tapestry/tapestry-site/trunk/src/site/resources/images/tapestry5-drobiazko.jpg URL: http://svn.apache.org/viewvc/tapestry/tapestry-site/trunk/src/site/resources/images/tapestry5-drobiazko.jpg?rev=814310&view=auto ============================================================================== Binary file - no diff available. Propchange: tapestry/tapestry-site/trunk/src/site/resources/images/tapestry5-drobiazko.jpg ------------------------------------------------------------------------------ svn:mime-type = image/jpeg Modified: tapestry/tapestry-site/trunk/src/site/xdoc/articles.xml URL: http://svn.apache.org/viewvc/tapestry/tapestry-site/trunk/src/site/xdoc/articles.xml?rev=814310&r1=814309&r2=814310&view=diff ============================================================================== --- tapestry/tapestry-site/trunk/src/site/xdoc/articles.xml (original) +++ tapestry/tapestry-site/trunk/src/site/xdoc/articles.xml Sun Sep 13 13:04:32 2009 @@ -9,6 +9,38 @@ <!-- As of Jan 28 2008, Maven is now stripping all the extra attributes out of img tags, which screws the formatting. --> + <div style="background-image:url('images/tapestry5-drobiazko.jpg'); float:left; width:120px; height:172px; display:block;"></div> + <div style="padding-left: 140px; display:block;"> + + <a href="http://www.addison-wesley.de/main/main.asp?page=home/bookdetails&amp;ProductID=170799"><strong>Tapestry 5: Die Entwicklung von Webanwendungen mit Leichtigkeit</strong></a> + <ul> + <li><strong>Covers:</strong> Tapestry 5 (Version 161.129.204.104)</li> + <li><strong>Published:</strong> 2009</li> + <li><strong>Author:</strong> Igor Drobiazko</li> + <li><strong>Language:</strong> German</li> + </ul> + + <p> This book is the only one Tapestry 5 book written in German. It is a definitive introduction to Tapestry 5 + written by Igor Drobiazko, a committer of Tapestry. The book covers: </p> + + <ul> + <li>Getting Started with Tapestry 5</li> + <li>Concepts of the framework</li> + <li>Localization/internationalization</li> + <li>Creating Forms</li> + <li>Generation of user interfaces for JavaBeans</li> + <li>Writing own components and mixins</li> + <li>Ajax</li> + <li>Writing tests for Tapestry applications</li> + <li>Hibernate and Spring integration</li> + <li>Dependency Injection and Tapestry IoC</li> + <li>AOP and bytecode manipuation</li> + </ul> + + </div> + + <hr style="margin-top: 1em; margin-bottom: 1em;"/> + <div style="background-image:url('images/packtpub_cover.png'); float:left; width:100px; height:123px; display:block;"></div> <div style="padding-left: 140px; display:block;"> @@ -24,7 +56,7 @@ Alexander follows up his long series of Tapestry 4 tutorials with the <em>first</em> book on Tapestry 5. </p> - </div> + </div> <hr style="margin-top: 1em; margin-bottom: 1em;"/> Modified: tapestry/tapestry-site/trunk/src/site/xdoc/index.xml URL: http://svn.apache.org/viewvc/tapestry/tapestry-site/trunk/src/site/xdoc/index.xml?rev=814310&r1=814309&r2=814310&view=diff ============================================================================== --- tapestry/tapestry-site/trunk/src/site/xdoc/index.xml (original) +++ tapestry/tapestry-site/trunk/src/site/xdoc/index.xml Sun Sep 13 13:04:32 2009 @@ -33,6 +33,9 @@ <ul style="list-style:none"> <li> + <a href="news.html#20090913">New Tapestry 5 book available as eBook</a> + </li> + <li> <a href="news.html#20090506">Tapestry 161.129.204.104 - Final Release</a> </li> <li> Modified: tapestry/tapestry-site/trunk/src/site/xdoc/news.xml URL: http://svn.apache.org/viewvc/tapestry/tapestry-site/trunk/src/site/xdoc/news.xml?rev=814310&r1=814309&r2=814310&view=diff ============================================================================== --- tapestry/tapestry-site/trunk/src/site/xdoc/news.xml (original) +++ tapestry/tapestry-site/trunk/src/site/xdoc/news.xml Sun Sep 13 13:04:32 2009 @@ -12,6 +12,20 @@ Keep up to date with the latest events in the Tapestry world. </p> + <a name="20090913"/> + <subsection name="German written Tapestry 5 book available as eBook"> + <strong>Sep 13 2009</strong> + + <p>The first German written Tapestry 5 book + (<a href="articles.html">Tapestry 5: Die Entwicklung von Webanwendungen mit Leichtigkeit</a>) is now available as + <a href="http://www.addison-wesley.de/main/main.asp?page=ebooks/bookdetails&amp;ProductID=174975">eBook</a>. + </p> + + <p>The hardcover version of the book will be available starting from Sep 28 2009. + </p> + + </subsection> + <a name="20090506"/> <subsection name="Tapestry 161.129.204.104 - Final Release"> <strong>May 06 2009</strong> From [email protected] Sun Sep 13 16:01:11 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98480 invoked from network); 13 Sep 2009 16:01:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Sep 2009 16:01:11 -0000 Received: (qmail 2336 invoked by uid 500); 13 Sep 2009 16:01:10 -0000 Delivered-To: [email protected] Received: (qmail 2271 invoked by uid 500); 13 Sep 2009 16:01:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.tapestry.apache.org> Reply-To: "Tapestry development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 2261 invoked by uid 99); 13 Sep 2009 16:01:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Sep 2009 16:01:09 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO qw-out-2122.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Sep 2009 16:00:59 +0000 Received: by qw-out-2122.google.com with SMTP id 5so734120qwi.59 for <[email protected]>; Sun, 13 Sep 2009 09:00:38 -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=tIwbrQvFUlfqC9Y57Aa3Ip+f3y4vIR7c1YvIDr2rSKU=; b=Zz3wX3VpL+RklUuZ2ulcpW+lMH+rQ/XrJpDl9VUQk5qePDJXsXnLWyvpzv6ZysjMph ImwIi0/hiwZK7vHREPWCquRP2GIBbAaRrPihKDtBAEhCGR0cCSCMkjiZnwNYClhEEzQG xuhEP4KjyrSkJhhpq2r/AzVZf4meZftQd/+1U= 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=ePfldNxZMeNDzC28xG0X55yGw2vGwPhaVnoerJIgEELTrWBG872jzXkyq5DcsrMWOH XBA6c+Lvk0Gdgk1WcrRW4eXRGTUGz5WlAopBjbX6CRHlhGEUFS9XTWwnbLlCMQ2QVzlE rj6PIldM7h8UyKtF73wAjShlZkB5F69nggCvo= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id b8mr4410875qah.222.1252857638350; Sun, 13 Sep 2009 09:00:38 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Sun, 13 Sep 2009 09:00:38 -0700 Message-ID: <[email protected]> Subject: Re: svn commit: r814310 - in /tapestry/tapestry-site/trunk/src/site: resources/images/tapestry5-drobiazko.jpg xdoc/articles.xml xdoc/index.xml xdoc/news.xml From: Howard Lewis Ship <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=000feaf06c797cf404047377a649 X-Virus-Checked: Checked by ClamAV on apache.org --000feaf06c797cf404047377a649 Content-Type: text/plain; charset=ISO-8859-1 I'll get this published ... On Sun, Sep 13, 2009 at 6:04 AM, <[email protected]> wrote: > Author: drobiazko > Date: Sun Sep 13 13:04:32 2009 > New Revision: 814310 > > URL: http://svn.apache.org/viewvc?rev=814310&view=rev > Log: > Added news about the new German written T5 book. > > Added: > > tapestry/tapestry-site/trunk/src/site/resources/images/tapestry5-drobiazko.jpg > (with props) > Modified: > tapestry/tapestry-site/trunk/src/site/xdoc/articles.xml > tapestry/tapestry-site/trunk/src/site/xdoc/index.xml > tapestry/tapestry-site/trunk/src/site/xdoc/news.xml > > Added: > tapestry/tapestry-site/trunk/src/site/resources/images/tapestry5-drobiazko.jpg > URL: > http://svn.apache.org/viewvc/tapestry/tapestry-site/trunk/src/site/resources/images/tapestry5-drobiazko.jpg?rev=814310&view=auto > > ============================================================================== > Binary file - no diff available. > > Propchange: > tapestry/tapestry-site/trunk/src/site/resources/images/tapestry5-drobiazko.jpg > > ------------------------------------------------------------------------------ > svn:mime-type = image/jpeg > > Modified: tapestry/tapestry-site/trunk/src/site/xdoc/articles.xml > URL: > http://svn.apache.org/viewvc/tapestry/tapestry-site/trunk/src/site/xdoc/articles.xml?rev=814310&r1=814309&r2=814310&view=diff > > ============================================================================== > --- tapestry/tapestry-site/trunk/src/site/xdoc/articles.xml (original) > +++ tapestry/tapestry-site/trunk/src/site/xdoc/articles.xml Sun Sep 13 > 13:04:32 2009 > @@ -9,6 +9,38 @@ > > <!-- As of Jan 28 2008, Maven is now stripping all the extra > attributes out of img tags, which screws > the formatting. --> > + <div > style="background-image:url('images/tapestry5-drobiazko.jpg'); float:left; > width:120px; height:172px; display:block;"></div> > + <div style="padding-left: 140px; display:block;"> > + > + <a href=" > http://www.addison-wesley.de/main/main.asp?page=home/bookdetails&amp;ProductID=170799"><strong>Tapestry > 5: Die Entwicklung von Webanwendungen mit Leichtigkeit</strong></a> > + <ul> > + <li><strong>Covers:</strong> Tapestry 5 > (Version 161.129.204.104)</li> > + <li><strong>Published:</strong> 2009</li> > + <li><strong>Author:</strong> Igor > Drobiazko</li> > + <li><strong>Language:</strong> German</li> > + </ul> > + > + <p> This book is the only one Tapestry 5 book written in > German. It is a definitive introduction to Tapestry 5 > + written by Igor Drobiazko, a committer of Tapestry. The > book covers: </p> > + > + <ul> > + <li>Getting Started with Tapestry 5</li> > + <li>Concepts of the framework</li> > + <li>Localization/internationalization</li> > + <li>Creating Forms</li> > + <li>Generation of user interfaces for JavaBeans</li> > + <li>Writing own components and mixins</li> > + <li>Ajax</li> > + <li>Writing tests for Tapestry applications</li> > + <li>Hibernate and Spring integration</li> > + <li>Dependency Injection and Tapestry IoC</li> > + <li>AOP and bytecode manipuation</li> > + </ul> > + > + </div> > + > + <hr style="margin-top: 1em; margin-bottom: 1em;"/> > + > <div style="background-image:url('images/packtpub_cover.png'); > float:left; width:100px; height:123px; display:block;"></div> > <div style="padding-left: 140px; display:block;"> > > @@ -24,7 +56,7 @@ > Alexander follows up his long series of Tapestry 4 > tutorials with the <em>first</em> book on Tapestry 5. > </p> > > - </div> > + </div> > > <hr style="margin-top: 1em; margin-bottom: 1em;"/> > > > Modified: tapestry/tapestry-site/trunk/src/site/xdoc/index.xml > URL: > http://svn.apache.org/viewvc/tapestry/tapestry-site/trunk/src/site/xdoc/index.xml?rev=814310&r1=814309&r2=814310&view=diff > > ============================================================================== > --- tapestry/tapestry-site/trunk/src/site/xdoc/index.xml (original) > +++ tapestry/tapestry-site/trunk/src/site/xdoc/index.xml Sun Sep 13 > 13:04:32 2009 > @@ -33,6 +33,9 @@ > <ul style="list-style:none"> > > <li> > + <a > href="news.html#20090913">New Tapestry 5 book available as eBook</a> > + </li> > + <li> > <a > href="news.html#20090506">Tapestry 161.129.204.104 - Final Release</a> > </li> > <li> > > Modified: tapestry/tapestry-site/trunk/src/site/xdoc/news.xml > URL: > http://svn.apache.org/viewvc/tapestry/tapestry-site/trunk/src/site/xdoc/news.xml?rev=814310&r1=814309&r2=814310&view=diff > > ============================================================================== > --- tapestry/tapestry-site/trunk/src/site/xdoc/news.xml (original) > +++ tapestry/tapestry-site/trunk/src/site/xdoc/news.xml Sun Sep 13 13:04:32 > 2009 > @@ -12,6 +12,20 @@ > Keep up to date with the latest events in the Tapestry > world. > </p> > > + <a name="20090913"/> > + <subsection name="German written Tapestry 5 book available as > eBook"> > + <strong>Sep 13 2009</strong> > + > + <p>The first German written Tapestry 5 book > + (<a href="articles.html">Tapestry 5: Die Entwicklung von > Webanwendungen mit Leichtigkeit</a>) is now available as > + <a href=" > http://www.addison-wesley.de/main/main.asp?page=ebooks/bookdetails&amp;ProductID=174975 > ">eBook</a>. > + </p> > + > + <p>The hardcover version of the book will be available > starting from Sep 28 2009. > + </p> > + > + </subsection> > + > <a name="20090506"/> > <subsection name="Tapestry 161.129.204.104 - Final Release"> > <strong>May 06 2009</strong> > > > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! 859-838-3298 http://howardlewisship.com --000feaf06c797cf404047377a649-- From [email protected] Mon Sep 14 15:43:49 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50611 invoked from network); 14 Sep 2009 15:43:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Sep 2009 15:43:49 -0000 Received: (qmail 2926 invoked by uid 500); 14 Sep 2009 15:43:48 -0000 Delivered-To: [email protected] Received: (qmail 2892 invoked by uid 500); 14 Sep 2009 15:43:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.tapestry.apache.org> Reply-To: "Tapestry development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 2881 invoked by uid 99); 14 Sep 2009 15:43:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Sep 2009 15:43:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Sep 2009 15:43:45 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id 48662118C1 for <[email protected]>; Mon, 14 Sep 2009 15:43:24 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Mon, 14 Sep 2009 15:43:23 -0000 Message-ID: <[email protected]> Subject: [Tapestry Wiki] Update of "Tapestry5HowToChangeLocale" by MarvinMonroe X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification. The following page has been changed by MarvinMonroe: http://wiki.apache.org/tapestry/Tapestry5HowToChangeLocale ------------------------------------------------------------------------------ } }}} - See also [http://tapestry.apache.org/tapestry5/tapestry-core/guide/localization.html T5 Localization Guide] + See also [http://tapestry.apache.org/tapestry5/guide/localization.html T5 Localization Guide] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Sep 14 17:50:04 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5755 invoked from network); 14 Sep 2009 17:50:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Sep 2009 17:50:04 -0000 Received: (qmail 61240 invoked by uid 500); 14 Sep 2009 17:50:03 -0000 Delivered-To: [email protected] Received: (qmail 61232 invoked by uid 500); 14 Sep 2009 17:50:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.tapestry.apache.org> Reply-To: "Tapestry development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 61222 invoked by uid 99); 14 Sep 2009 17:50:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Sep 2009 17:50:02 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Sep 2009 17:49:49 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1MnFg8-0005cu-RU for [email protected]; Mon, 14 Sep 2009 10:49:28 -0700 Message-ID: <[email protected]> Date: Mon, 14 Sep 2009 10:49:28 -0700 (PDT) From: blueboy6 <[email protected]> To: [email protected] Subject: Iframe javascript problem MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org Hi I have a lil bit problem with iFrame I need to get it by getElementById and to do some basic functions from its content by click on the button But I can't get it done. I think I'm hopeless. Please Help <iframe id="map" src ="some url" width="400" height="400" > <p>Your browser does not support iframes.</p> </iframe> <script type="text/javascript" language="JavaScript"> var m = document.getElementById("map"); var mapApi = m.contentWindow; function goToCoords1() { mapApi.MoveMapWGS(42.40067, 18.91654); } } </script> <input type="button" t:onclick="goToCoords1()" value="go to coords"></input> -- View this message in context: http://www.nabble.com/Iframe-javascript-problem-tp25440336p25440336.html Sent from the Tapestry - Dev mailing list [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Sep 16 00:28:42 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34268 invoked from network); 16 Sep 2009 00:28:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Sep 2009 00:28:41 -0000 Received: (qmail 4827 invoked by uid 500); 16 Sep 2009 00:28:41 -0000 Delivered-To: [email protected] Received: (qmail 4737 invoked by uid 500); 16 Sep 2009 00:28:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4728 invoked by uid 99); 16 Sep 2009 00:28:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2009 00:28:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2009 00:28:37 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 4432023888CD; Wed, 16 Sep 2009 00:28:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r815576 - in /tapestry/tapestry5/trunk: quickstart/ tapestry-annotations/ tapestry-component-report/ tapestry-hibernate-core/ tapestry-hibernate/ tapestry-spring/ tapestry-test/ tapestry-upload/ Date: Wed, 16 Sep 2009 00:28:16 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: hlship Date: Wed Sep 16 00:28:15 2009 New Revision: 815576 URL: http://svn.apache.org/viewvc?rev=815576&view=rev Log: Update ignored files to ignore target folders and Eclipse .settings folders Modified: tapestry/tapestry5/trunk/quickstart/ (props changed) tapestry/tapestry5/trunk/tapestry-annotations/ (props changed) tapestry/tapestry5/trunk/tapestry-component-report/ (props changed) tapestry/tapestry5/trunk/tapestry-hibernate/ (props changed) tapestry/tapestry5/trunk/tapestry-hibernate-core/ (props changed) tapestry/tapestry5/trunk/tapestry-spring/ (props changed) tapestry/tapestry5/trunk/tapestry-test/ (props changed) tapestry/tapestry5/trunk/tapestry-upload/ (props changed) Propchange: tapestry/tapestry5/trunk/quickstart/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Wed Sep 16 00:28:15 2009 @@ -1 +1,3 @@ target +.settings +.project Propchange: tapestry/tapestry5/trunk/tapestry-annotations/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Wed Sep 16 00:28:15 2009 @@ -1,3 +1,4 @@ target .classpath .project +.settings Propchange: tapestry/tapestry5/trunk/tapestry-component-report/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Wed Sep 16 00:28:15 2009 @@ -2,3 +2,4 @@ bin .classpath .project +.settings Propchange: tapestry/tapestry5/trunk/tapestry-hibernate/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Wed Sep 16 00:28:15 2009 @@ -6,3 +6,4 @@ test-output .classpath .project +.settings Propchange: tapestry/tapestry5/trunk/tapestry-hibernate-core/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Wed Sep 16 00:28:15 2009 @@ -1,2 +1,4 @@ .classpath .project +.settings +target Propchange: tapestry/tapestry5/trunk/tapestry-spring/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Wed Sep 16 00:28:15 2009 @@ -6,3 +6,4 @@ bin-test .classpath .project +.settings Propchange: tapestry/tapestry5/trunk/tapestry-test/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Wed Sep 16 00:28:15 2009 @@ -2,3 +2,4 @@ target .classpath .project +.settings Propchange: tapestry/tapestry5/trunk/tapestry-upload/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Wed Sep 16 00:28:15 2009 @@ -5,3 +5,4 @@ temp-testng-customsuite.xml .classpath .project +.settings From [email protected] Wed Sep 16 00:45:22 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37977 invoked from network); 16 Sep 2009 00:45:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Sep 2009 00:45:22 -0000 Received: (qmail 20760 invoked by uid 500); 16 Sep 2009 00:45:22 -0000 Delivered-To: [email protected] Received: (qmail 20705 invoked by uid 500); 16 Sep 2009 00:45:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 20696 invoked by uid 99); 16 Sep 2009 00:45:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2009 00:45:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2009 00:45:18 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 81638234C044 for <[email protected]>; Tue, 15 Sep 2009 17:44:57 -0700 (PDT) Message-ID: <1314756864.1253061897515.JavaMail.jira@brutus> Date: Tue, 15 Sep 2009 17:44:57 -0700 (PDT) From: "Howard M. Lewis Ship (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (TAP5-842) Add a conditional clause to IoC Symbol evaluation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Add a conditional clause to IoC Symbol evaluation ------------------------------------------------- Key: TAP5-842 URL: https://issues.apache.org/jira/browse/TAP5-842 Project: Tapestry 5 Issue Type: New Feature Components: tapestry-ioc Affects Versions: 161.129.204.104 Reporter: Howard M. Lewis Ship It's very common to want to do some extra, extra late binding of symbols ... generally, to configure things one way for production mode and another way for development mode. A symbol syntax such as ${foo ? bar : baz } (whitespace optional and ignored) could be used for this (common) situation. First symbol foo is evaluated and coerced to Boolean, this selects either 'bar' or 'baz' which are then evaluated as symbols. Thus: foo.delay.production=1 h foo.delay.development=1 s foo.delay = ${tapestry.production-mode ? foo.delay.production : foo.delay.development} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Sep 16 00:45:22 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38028 invoked from network); 16 Sep 2009 00:45:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Sep 2009 00:45:22 -0000 Received: (qmail 20934 invoked by uid 500); 16 Sep 2009 00:45:22 -0000 Delivered-To: [email protected] Received: (qmail 20867 invoked by uid 500); 16 Sep 2009 00:45:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 20778 invoked by uid 99); 16 Sep 2009 00:45:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2009 00:45:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2009 00:45:18 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id BF6C6234C1EE for <[email protected]>; Tue, 15 Sep 2009 17:44:57 -0700 (PDT) Message-ID: <396439668.1253061897783.JavaMail.jira@brutus> Date: Tue, 15 Sep 2009 17:44:57 -0700 (PDT) From: "Howard M. Lewis Ship (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (TAP5-843) Allow nested symbol definitions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Allow nested symbol definitions ------------------------------- Key: TAP5-843 URL: https://issues.apache.org/jira/browse/TAP5-843 Project: Tapestry 5 Issue Type: New Feature Components: tapestry-ioc Affects Versions: 161.129.204.104 Reporter: Howard M. Lewis Ship It would be nice if a Symbol's definition could be nested, i.e. ${foo.${bar}} This would evaluate ${bar} forming a new symbol name prefixed by 'foo', which would then itself be evaluated. Boy this is going to complicate the circular logic detection code! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Sep 16 18:16:21 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38375 invoked from network); 16 Sep 2009 18:16:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Sep 2009 18:16:19 -0000 Received: (qmail 7598 invoked by uid 500); 16 Sep 2009 18:16:19 -0000 Delivered-To: [email protected] Received: (qmail 7541 invoked by uid 500); 16 Sep 2009 18:16:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7532 invoked by uid 99); 16 Sep 2009 18:16:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2009 18:16:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2009 18:16:17 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 89EE8234C1E7 for <[email protected]>; Wed, 16 Sep 2009 11:15:57 -0700 (PDT) Message-ID: <976355462.1253124957564.JavaMail.jira@brutus> Date: Wed, 16 Sep 2009 11:15:57 -0700 (PDT) From: "Howard M. Lewis Ship (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (TAP5-844) Option to supress URL encoding of the session id MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Option to supress URL encoding of the session id ------------------------------------------------ Key: TAP5-844 URL: https://issues.apache.org/jira/browse/TAP5-844 Project: Tapestry 5 Issue Type: New Feature Components: tapestry-core Affects Versions: 161.129.204.104 Reporter: Howard M. Lewis Ship Priority: Minor It would be nice if there was an option to prevent the Servlet API's jsessionid from being encoded into the URL (i.e., always force it to be encoded as a cookie). Perhaps with an option to somehow detect when the browser doesn't support cookies. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Sep 17 00:16:22 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41675 invoked from network); 17 Sep 2009 00:16:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Sep 2009 00:16:21 -0000 Received: (qmail 23982 invoked by uid 500); 17 Sep 2009 00:16:21 -0000 Delivered-To: [email protected] Received: (qmail 23889 invoked by uid 500); 17 Sep 2009 00:16:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23863 invoked by uid 99); 17 Sep 2009 00:16:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Sep 2009 00:16:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Sep 2009 00:16:19 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 9097D234C1EF for <[email protected]>; Wed, 16 Sep 2009 17:15:59 -0700 (PDT) Message-ID: <246011799.1253146559591.JavaMail.jira@brutus> Date: Wed, 16 Sep 2009 17:15:59 -0700 (PDT) From: "Howard M. Lewis Ship (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (TAP5-845) Informal Parameters are not allowed to have the value "" (the empty string) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Informal Parameters are not allowed to have the value "" (the empty string) --------------------------------------------------------------------------- Key: TAP5-845 URL: https://issues.apache.org/jira/browse/TAP5-845 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 161.129.204.104 Reporter: Howard M. Lewis Ship Priority: Minor A simple component: @SupportsInformalParameters public class Img { @Inject private ComponentResources resources; @Parameter(autoconnect = true, defaultPrefix = BindingConstants.CONTEXT) private Asset src; boolean beginRender(MarkupWriter writer) { writer.element("img", "src", src); resources.renderInformalParameters(writer); writer.end(); return true; } } Fails on: <t:img src="images/stripe.gif" width="984" height="18" alt="" /> With: Parameter 'alt' must have a non-empty binding. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Sep 17 06:16:23 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11752 invoked from network); 17 Sep 2009 06:16:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Sep 2009 06:16:22 -0000 Received: (qmail 71216 invoked by uid 500); 17 Sep 2009 06:16:22 -0000 Delivered-To: [email protected] Received: (qmail 71123 invoked by uid 500); 17 Sep 2009 06:16:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71080 invoked by uid 99); 17 Sep 2009 06:16:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Sep 2009 06:16:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Sep 2009 06:16:18 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id AE082234C4B0 for <[email protected]>; Wed, 16 Sep 2009 23:15:57 -0700 (PDT) Message-ID: <722038788.1253168157711.JavaMail.jira@brutus> Date: Wed, 16 Sep 2009 23:15:57 -0700 (PDT) From: "ginkgowoo (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (TAP5-846) tapestry cannot deploy on the weblogic 161.129.204.104 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org tapestry cannot deploy on the weblogic 161.129.204.104 ---------------------------------------------- Key: TAP5-846 URL: https://issues.apache.org/jira/browse/TAP5-846 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 161.129.204.104 Reporter: ginkgowoo hi all: when we want to deploy the tapestry on the weblogic 161.129.204.104,the exception happen. as we know, the tapestry parser the xml by the Woodstox StAX parser. but the weblogic will alse parser the xml by it's jar. so ,the exception happen. any help for this problem ? <Oct 4, 2006 10:04:16 AM CDT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application '_appsdir_luna_dir' due to error weblogic.application.ModuleException: . weblogic.application.ModuleException: at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:295) at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176) at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93) at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) Truncated. see log file for complete stacktrace java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136) at weblogic.servlet.internal.WebAppHelper.addListenerElements(WebAppHelper.java:244) at weblogic.servlet.internal.WebAppHelper$IOHelperImpl.parseXML(WebAppHelper.java:224) at weblogic.descriptor.DescriptorCache.parseXML(DescriptorCache.java:324) at weblogic.servlet.internal.WebAppHelper.registerTagLibListeners(WebAppHelper.java:174) Truncated. see log file for complete stacktrace best regards. thanks very much -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Sep 17 20:11:23 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54451 invoked from network); 17 Sep 2009 20:11:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Sep 2009 20:11:23 -0000 Received: (qmail 1012 invoked by uid 500); 17 Sep 2009 20:11:23 -0000 Delivered-To: [email protected] Received: (qmail 940 invoked by uid 500); 17 Sep 2009 20:11:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 931 invoked by uid 99); 17 Sep 2009 20:11:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Sep 2009 20:11:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Sep 2009 20:11:19 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 32174234C1E9 for <[email protected]>; Thu, 17 Sep 2009 13:10:58 -0700 (PDT) Message-ID: <1299161577.1253218258197.JavaMail.jira@brutus> Date: Thu, 17 Sep 2009 13:10:58 -0700 (PDT) From: "Oleg Smirsky (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (TAP5-754) Introduce easier way to disable column sorting in Grid In-Reply-To: <75120475.1245477007572.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12756746#action_12756746 ] Oleg Smirsky commented on TAP5-754: ----------------------------------- I would like to extend the original request - make "dataModel" of the Grid easily accessible in subclasses. Solution above requires replacing the class in the application (put my own copy of Grid class in org.tapestry....). I'm trying to achieve both no sorting and some other fancy manipulations with BeanModel - it is very painful. My proposal: Provide some hook between setting Grid.model parameter (from page or from defaultModel()) and using this parameter in getDataModel Currently I can create BeanModel for Grid.model and do some modifications in the page. But I can't do those modifications in the plain subclass. Probably I could wrap Grid in another component with TML template, but that's too much work. And the issue is common for all component parameters IMO - you can't provide initialization method in subclass of the component (if I'm wrong, educate me). Current issues are: - getDataModel does some initialization and I want to modify that initialization part - I can't override getDataModel completely (=not to call super.getDataModel()), because properties like model, dataModel, add, include, exclude etc. are private - I can't override getDataModel, call super.getDataModel and do additional initialization, because it is too late in the process > Introduce easier way to disable column sorting in Grid > ------------------------------------------------------ > > Key: TAP5-754 > URL: https://issues.apache.org/jira/browse/TAP5-754 > Project: Tapestry 5 > Issue Type: Improvement > Affects Versions: 161.129.204.104 > Reporter: Vjeran Marcinko > > I have seldom need for Grid sorting so I almost always turn it off. Currently this is a bit awkward procedure. I also rarely configure Grid with BeanModel created in my page class, because template way of configuring Grid is sufficient for me. > I have to introduce 3 new objects just for this purpose in this class, and also do some coding in setupRender(): > @Property > private BeanModel model; > @Inject > private BeanModelSource beanModelSource; > @Inject > private ComponentResources componentResources; > void setupRender() { > .... > model = beanModelSource.createDisplayModel(Employee.class, componentResources.getMessages()); > List<String> propertyNames = model.getPropertyNames(); > for (String propertyName : propertyNames) { > model.get(propertyName).sortable(false); > } > } > Tapestry 4 had simple way of using character "!" in template that achieved the same thing so I feel kinda nostalgic for it... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Sep 18 02:32:24 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71745 invoked from network); 18 Sep 2009 02:32:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Sep 2009 02:32:24 -0000 Received: (qmail 50602 invoked by uid 500); 18 Sep 2009 02:32:24 -0000 Delivered-To: [email protected] Received: (qmail 50494 invoked by uid 500); 18 Sep 2009 02:32:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 50485 invoked by uid 99); 18 Sep 2009 02:32:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Sep 2009 02:32:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Sep 2009 02:32:19 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C17F9234C1E9 for <[email protected]>; Thu, 17 Sep 2009 19:31:57 -0700 (PDT) Message-ID: <47667180.1253241117791.JavaMail.jira@brutus> Date: Thu, 17 Sep 2009 19:31:57 -0700 (PDT) From: "Andreas Andreou (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Moved: (TAP5-847) Error 500: com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory incompatible with org.codehaus.stax2.XMLInputFactory2 In-Reply-To: <625994788.1253218018009.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andreas Andreou moved TAPESTRY-2749 to TAP5-847: ------------------------------------------------ Component/s: (was: Core Components) Affects Version/s: (was: 161.129.204.104) 161.129.204.104 Key: TAP5-847 (was: TAPESTRY-2749) Project: Tapestry 5 (was: Tapestry) > Error 500: com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory incompatible with org.codehaus.stax2.XMLInputFactory2 > ---------------------------------------------------------------------------------------------------------------- > > Key: TAP5-847 > URL: https://issues.apache.org/jira/browse/TAP5-847 > Project: Tapestry 5 > Issue Type: Bug > Affects Versions: 161.129.204.104 > Environment: WebSphere 7.0.3, tapestry 161.129.204.104 > Reporter: Deian Ivanov > Priority: Blocker > > Here is a full stack trace - hope it help: > [17/09/09 16:01:53:557 EDT] 00000013 webapp E com.ibm.ws.webcontainer.webapp.WebApp logError SRVE0293E: [Servlet Error]-[com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory incompatible with org.codehaus.stax2.XMLInputFactory2]: java.lang.RuntimeException: Exception constructing service 'TemplateParser': Error invoking constructor org.apache.tapestry5.internal.services.TemplateParserImpl(Map, boolean) (at TemplateParserImpl.java:50) via org.apache.tapestry5.internal.services.InternalModule.bind(ServiceBinder) (at InternalModule.java:65) (for service 'TemplateParser'): com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory incompatible with org.codehaus.stax2.XMLInputFactory2 > at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:78) > at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:57) > at $TemplateParser_123c998b16f.delegate($TemplateParser_123c998b16f.java) > at $TemplateParser_123c998b16f.parseTemplate($TemplateParser_123c998b16f.java) > at org.apache.tapestry5.internal.services.ComponentTemplateSourceImpl.parseTemplate(ComponentTemplateSourceImpl.java:151) > at org.apache.tapestry5.internal.services.ComponentTemplateSourceImpl.getTemplate(ComponentTemplateSourceImpl.java:135) > at $ComponentTemplateSource_123c998b16e.getTemplate($ComponentTemplateSource_123c998b16e.java) > at org.apache.tapestry5.internal.pageload.PageLoaderImpl.createAssembler(PageLoaderImpl.java:197) > at org.apache.tapestry5.internal.pageload.PageLoaderImpl.getAssembler(PageLoaderImpl.java:183) > at org.apache.tapestry5.internal.pageload.PageLoaderImpl.loadPage(PageLoaderImpl.java:157) > at $PageLoader_123c998b162.loadPage($PageLoader_123c998b162.java) > at org.apache.tapestry5.internal.services.PagePoolCache.checkout(PagePoolCache.java:210) > at org.apache.tapestry5.internal.services.PagePoolImpl.checkout(PagePoolImpl.java:99) > at $PagePool_123c998b161.checkout($PagePool_123c998b161.java) > at org.apache.tapestry5.internal.services.RequestPageCacheImpl.get(RequestPageCacheImpl.java:51) > at $RequestPageCache_123c998b160.get($RequestPageCache_123c998b160.java) > at $RequestPageCache_123c998b14a.get($RequestPageCache_123c998b14a.java) > at org.apache.tapestry5.internal.services.DefaultRequestExceptionHandler.handleRequestException(DefaultRequestExceptionHandler.java:69) > at $RequestExceptionHandler_123c998b135.handleRequestException($RequestExceptionHandler_123c998b135.java) > at org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:42) > at $RequestHandler_123c998b137.service($RequestHandler_123c998b137.java) > at org.apache.tapestry5.services.TapestryModule$4.service(TapestryModule.java:778) > at $RequestHandler_123c998b137.service($RequestHandler_123c998b137.java) > at org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:767) > at $RequestHandler_123c998b137.service($RequestHandler_123c998b137.java) > at org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:85) > at $RequestHandler_123c998b137.service($RequestHandler_123c998b137.java) > at org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:90) > at org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:81) > at org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:85) > at org.apache.tapestry5.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:103) > at $RequestHandler_123c998b137.service($RequestHandler_123c998b137.java) > at $RequestHandler_123c998b12d.service($RequestHandler_123c998b12d.java) > at org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:197) > at org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53) > at $HttpServletRequestHandler_123c998b12f.service($HttpServletRequestHandler_123c998b12f.java) > at org.apache.tapestry5.upload.internal.services.MultipartServletRequestFilter.service(MultipartServletRequestFilter.java:44) > at $HttpServletRequestHandler_123c998b12f.service($HttpServletRequestHandler_123c998b12f.java) > at org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62) > at $HttpServletRequestFilter_123c998b12c.service($HttpServletRequestFilter_123c998b12c.java) > at $HttpServletRequestHandler_123c998b12f.service($HttpServletRequestHandler_123c998b12f.java) > at org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:726) > at $HttpServletRequestHandler_123c998b12f.service($HttpServletRequestHandler_123c998b12f.java) > at $HttpServletRequestHandler_123c998b129.service($HttpServletRequestHandler_123c998b129.java) > at org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:127) > at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188) > at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116) > at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77) > at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:852) > at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:917) > at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:924) > at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:852) > at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3610) > at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:274) > at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:926) > at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1557) > at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:173) > at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455) > at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384) > at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:272) > at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214) > at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113) > at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) > at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) > at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) > at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138) > at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:202) > at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:766) > at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:896) > at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527) > Caused by: org.apache.tapestry5.ioc.internal.OperationException: Error invoking constructor org.apache.tapestry5.internal.services.TemplateParserImpl(Map, boolean) (at TemplateParserImpl.java:50) via org.apache.tapestry5.internal.services.InternalModule.bind(ServiceBinder) (at InternalModule.java:65) (for service 'TemplateParser'): com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory incompatible with org.codehaus.stax2.XMLInputFactory2 > at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:90) > at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68) > at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:941) > at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49) > at org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(SingletonServiceLifecycle.java:29) > at org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator.createObject(LifecycleWrappedServiceCreator.java:46) > at org.apache.tapestry5.ioc.internal.AdvisorStackBuilder.createObject(AdvisorStackBuilder.java:60) > at org.apache.tapestry5.ioc.internal.InterceptorStackBuilder.createObject(InterceptorStackBuilder.java:52) > at org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.createObject(RecursiveServiceCreationCheckWrapper.java:60) > at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator$1.invoke(OperationTrackingObjectCreator.java:45) > at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:68) > at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68) > at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:941) > at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49) > at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:68) > ... 69 more > Caused by: java.lang.RuntimeException: Error invoking constructor org.apache.tapestry5.internal.services.TemplateParserImpl(Map, boolean) (at TemplateParserImpl.java:50) via org.apache.tapestry5.internal.services.InternalModule.bind(ServiceBinder) (at InternalModule.java:65) (for service 'TemplateParser'): com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory incompatible with org.codehaus.stax2.XMLInputFactory2 > at org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:76) > at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator$1.invoke(OperationTrackingObjectCreator.java:45) > at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:68) > ... 83 more > Caused by: java.lang.ClassCastException: com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory incompatible with org.codehaus.stax2.XMLInputFactory2 > at org.apache.tapestry5.internal.services.TemplateParserImpl.<init>(TemplateParserImpl.java:44) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:45) > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39) > at java.lang.reflect.Constructor.newInstance(Constructor.java:515) > at org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:62) > ... 85 more > [17/09/09 16:02:07:509 EDT] 00000013 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [ccaps-onlineEAR] [/ccaps-online] [/index.jsp]: Initialization successful. > [17/09/09 16:02:40:803 EDT] 00000014 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper doDestroy SRVE0253I: [ccaps-onlineEAR] [/ccaps-online] [/index.jsp]: Destroy successful. > [17/09/09 16:02:40:803 EDT] 00000014 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [ccaps-onlineEAR] [/ccaps-online] [/index.jsp]: Initialization successful. > [17/09/09 16:02:46:490 EDT] 00000014 webapp E com.ibm.ws.webcontainer.webapp.WebApp logError SRVE0293E: [Servlet Error]-[com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory incompatible with org.codehaus.stax2.XMLInputFactory2]: java.lang.RuntimeException: Exception constructing service 'TemplateParser': Error invoking constructor org.apache.tapestry5.internal.services.TemplateParserImpl(Map, boolean) (at TemplateParserImpl.java:50) via org.apache.tapestry5.internal.services.InternalModule.bind(ServiceBinder) (at InternalModule.java:65) (for service 'TemplateParser'): com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory incompatible with org.codehaus.stax2.XMLInputFactory2 > at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:78) > at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:57) > at $TemplateParser_123c998b16f.delegate($TemplateParser_123c998b16f.java) > at $TemplateParser_123c998b16f.parseTemplate($TemplateParser_123c998b16f.java) > at org.apache.tapestry5.internal.services.ComponentTemplateSourceImpl.parseTemplate(ComponentTemplateSourceImpl.java:151) > at org.apache.tapestry5.internal.services.ComponentTemplateSourceImpl.getTemplate(ComponentTemplateSourceImpl.java:135) > at $ComponentTemplateSource_123c998b16e.getTemplate($ComponentTemplateSource_123c998b16e.java) > at org.apache.tapestry5.internal.pageload.PageLoaderImpl.createAssembler(PageLoaderImpl.java:197) > at org.apache.tapestry5.internal.pageload.PageLoaderImpl.getAssembler(PageLoaderImpl.java:183) > at org.apache.tapestry5.internal.pageload.PageLoaderImpl.loadPage(PageLoaderImpl.java:157) > at $PageLoader_123c998b162.loadPage($PageLoader_123c998b162.java) > at org.apache.tapestry5.internal.services.PagePoolCache.checkout(PagePoolCache.java:210) > at org.apache.tapestry5.internal.services.PagePoolImpl.checkout(PagePoolImpl.java:99) > at $PagePool_123c998b161.checkout($PagePool_123c998b161.java) > at org.apache.tapestry5.internal.services.RequestPageCacheImpl.get(RequestPageCacheImpl.java:51) > at $RequestPageCache_123c998b160.get($RequestPageCache_123c998b160.java) > at $RequestPageCache_123c998b14a.get($RequestPageCache_123c998b14a.java) > at org.apache.tapestry5.internal.services.DefaultRequestExceptionHandler.handleRequestException(DefaultRequestExceptionHandler.java:69) > at $RequestExceptionHandler_123c998b135.handleRequestException($RequestExceptionHandler_123c998b135.java) > at org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:42) > at $RequestHandler_123c998b137.service($RequestHandler_123c998b137.java) > at org.apache.tapestry5.services.TapestryModule$4.service(TapestryModule.java:778) > at $RequestHandler_123c998b137.service($RequestHandler_123c998b137.java) > at org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:767) > at $RequestHandler_123c998b137.service($RequestHandler_123c998b137.java) > at org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:85) > at $RequestHandler_123c998b137.service($RequestHandler_123c998b137.java) > at org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:90) > at org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:81) > at org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:85) > at org.apache.tapestry5.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:103) > at $RequestHandler_123c998b137.service($RequestHandler_123c998b137.java) > at $RequestHandler_123c998b12d.service($RequestHandler_123c998b12d.java) > at org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:197) > at org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53) > at $HttpServletRequestHandler_123c998b12f.service($HttpServletRequestHandler_123c998b12f.java) > at org.apache.tapestry5.upload.internal.services.MultipartServletRequestFilter.service(MultipartServletRequestFilter.java:44) > at $HttpServletRequestHandler_123c998b12f.service($HttpServletRequestHandler_123c998b12f.java) > at org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62) > at $HttpServletRequestFilter_123c998b12c.service($HttpServletRequestFilter_123c998b12c.java) > at $HttpServletRequestHandler_123c998b12f.service($HttpServletRequestHandler_123c998b12f.java) > at org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:726) > at $HttpServletRequestHandler_123c998b12f.service($HttpServletRequestHandler_123c998b12f.java) > at $HttpServletRequestHandler_123c998b129.service($HttpServletRequestHandler_123c998b129.java) > at org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:127) > at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188) > at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116) > at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77) > at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:852) > at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:917) > at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:924) > at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:852) > at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3610) > at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:274) > at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:926) > at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1557) > at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:173) > at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455) > at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384) > at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83) > at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) > at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) > at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) > at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138) > at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:202) > at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:766) > at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:896) > at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527) > Caused by: org.apache.tapestry5.ioc.internal.OperationException: Error invoking constructor org.apache.tapestry5.internal.services.TemplateParserImpl(Map, boolean) (at TemplateParserImpl.java:50) via org.apache.tapestry5.internal.services.InternalModule.bind(ServiceBinder) (at InternalModule.java:65) (for service 'TemplateParser'): com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory incompatible with org.codehaus.stax2.XMLInputFactory2 > at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:90) > at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68) > at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:941) > at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49) > at org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(SingletonServiceLifecycle.java:29) > at org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator.createObject(LifecycleWrappedServiceCreator.java:46) > at org.apache.tapestry5.ioc.internal.AdvisorStackBuilder.createObject(AdvisorStackBuilder.java:60) > at org.apache.tapestry5.ioc.internal.InterceptorStackBuilder.createObject(InterceptorStackBuilder.java:52) > at org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.createObject(RecursiveServiceCreationCheckWrapper.java:60) > at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator$1.invoke(OperationTrackingObjectCreator.java:45) > at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:68) > at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68) > at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:941) > at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49) > at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:68) > ... 67 more > Caused by: java.lang.RuntimeException: Error invoking constructor org.apache.tapestry5.internal.services.TemplateParserImpl(Map, boolean) (at TemplateParserImpl.java:50) via org.apache.tapestry5.internal.services.InternalModule.bind(ServiceBinder) (at InternalModule.java:65) (for service 'TemplateParser'): com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory incompatible with org.codehaus.stax2.XMLInputFactory2 > at org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:76) > at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator$1.invoke(OperationTrackingObjectCreator.java:45) > at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:68) > ... 81 more > Caused by: java.lang.ClassCastException: com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory incompatible with org.codehaus.stax2.XMLInputFactory2 > at org.apache.tapestry5.internal.services.TemplateParserImpl.<init>(TemplateParserImpl.java:44) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:45) > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39) > at java.lang.reflect.Constructor.newInstance(Constructor.java:515) > at org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:62) > ... 83 more -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Sep 18 12:25:43 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64154 invoked from network); 18 Sep 2009 12:25:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Sep 2009 12:25:42 -0000 Received: (qmail 84064 invoked by uid 500); 18 Sep 2009 12:25:42 -0000 Delivered-To: [email protected] Received: (qmail 83971 invoked by uid 500); 18 Sep 2009 12:25:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 83962 invoked by uid 99); 18 Sep 2009 12:25:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Sep 2009 12:25:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Sep 2009 12:25:37 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id F32E1234C044 for <[email protected]>; Fri, 18 Sep 2009 05:25:15 -0700 (PDT) Message-ID: <1598786416.1253276715981.JavaMail.jira@brutus> Date: Fri, 18 Sep 2009 05:25:15 -0700 (PDT) From: "Deian Ivanov (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (TAP5-847) Error 500: com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory incompatible with org.codehaus.stax2.XMLInputFactory2 In-Reply-To: <625994788.1253218018009.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Deian Ivanov resolved TAP5-847. ------------------------------- Resolution: Fixed Fix Version/s: 161.129.204.104 It is a WebSphere's configuration issue : in the EAR's application.xml - classloader mode select PARENT_LAST for both the EAR and the WAR file. That worked for me and it makes sense since ibm.jar from the server's JDK provides alternative implementation of StAX library. > Error 500: com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory incompatible with org.codehaus.stax2.XMLInputFactory2 > ---------------------------------------------------------------------------------------------------------------- > > Key: TAP5-847 > URL: https://issues.apache.org/jira/browse/TAP5-847 > Project: Tapestry 5 > Issue Type: Bug > Affects Versions: 161.129.204.104 > Environment: WebSphere 7.0.3, tapestry 161.129.204.104 > Reporter: Deian Ivanov > Priority: Blocker > Fix For: 161.129.204.104 > > > Here is a full stack trace - hope it help: > [17/09/09 16:01:53:557 EDT] 00000013 webapp E com.ibm.ws.webcontainer.webapp.WebApp logError SRVE0293E: [Servlet Error]-[com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory incompatible with org.codehaus.stax2.XMLInputFactory2]: java.lang.RuntimeException: Exception constructing service 'TemplateParser': Error invoking constructor org.apache.tapestry5.internal.services.TemplateParserImpl(Map, boolean) (at TemplateParserImpl.java:50) via org.apache.tapestry5.internal.services.InternalModule.bind(ServiceBinder) (at InternalModule.java:65) (for service 'TemplateParser'): com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory incompatible with org.codehaus.stax2.XMLInputFactory2 > at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:78) > at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:57) > at $TemplateParser_123c998b16f.delegate($TemplateParser_123c998b16f.java) > at $TemplateParser_123c998b16f.parseTemplate($TemplateParser_123c998b16f.java) > at org.apache.tapestry5.internal.services.ComponentTemplateSourceImpl.parseTemplate(ComponentTemplateSourceImpl.java:151) > at org.apache.tapestry5.internal.services.ComponentTemplateSourceImpl.getTemplate(ComponentTemplateSourceImpl.java:135) > at $ComponentTemplateSource_123c998b16e.getTemplate($ComponentTemplateSource_123c998b16e.java) > at org.apache.tapestry5.internal.pageload.PageLoaderImpl.createAssembler(PageLoaderImpl.java:197) > at org.apache.tapestry5.internal.pageload.PageLoaderImpl.getAssembler(PageLoaderImpl.java:183) > at org.apache.tapestry5.internal.pageload.PageLoaderImpl.loadPage(PageLoaderImpl.java:157) > at $PageLoader_123c998b162.loadPage($PageLoader_123c998b162.java) > at org.apache.tapestry5.internal.services.PagePoolCache.checkout(PagePoolCache.java:210) > at org.apache.tapestry5.internal.services.PagePoolImpl.checkout(PagePoolImpl.java:99) > at $PagePool_123c998b161.checkout($PagePool_123c998b161.java) > at org.apache.tapestry5.internal.services.RequestPageCacheImpl.get(RequestPageCacheImpl.java:51) > at $RequestPageCache_123c998b160.get($RequestPageCache_123c998b160.java) > at $RequestPageCache_123c998b14a.get($RequestPageCache_123c998b14a.java) > at org.apache.tapestry5.internal.services.DefaultRequestExceptionHandler.handleRequestException(DefaultRequestExceptionHandler.java:69) > at $RequestExceptionHandler_123c998b135.handleRequestException($RequestExceptionHandler_123c998b135.java) > at org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:42) > at $RequestHandler_123c998b137.service($RequestHandler_123c998b137.java) > at org.apache.tapestry5.services.TapestryModule$4.service(TapestryModule.java:778) > at $RequestHandler_123c998b137.service($RequestHandler_123c998b137.java) > at org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:767) > at $RequestHandler_123c998b137.service($RequestHandler_123c998b137.java) > at org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:85) > at $RequestHandler_123c998b137.service($RequestHandler_123c998b137.java) > at org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:90) > at org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:81) > at org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:85) > at org.apache.tapestry5.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:103) > at $RequestHandler_123c998b137.service($RequestHandler_123c998b137.java) > at $RequestHandler_123c998b12d.service($RequestHandler_123c998b12d.java) > at org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:197) > at org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53) > at $HttpServletRequestHandler_123c998b12f.service($HttpServletRequestHandler_123c998b12f.java) > at org.apache.tapestry5.upload.internal.services.MultipartServletRequestFilter.service(MultipartServletRequestFilter.java:44) > at $HttpServletRequestHandler_123c998b12f.service($HttpServletRequestHandler_123c998b12f.java) > at org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62) > at $HttpServletRequestFilter_123c998b12c.service($HttpServletRequestFilter_123c998b12c.java) > at $HttpServletRequestHandler_123c998b12f.service($HttpServletRequestHandler_123c998b12f.java) > at org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:726) > at $HttpServletRequestHandler_123c998b12f.service($HttpServletRequestHandler_123c998b12f.java) > at $HttpServletRequestHandler_123c998b129.service($HttpServletRequestHandler_123c998b129.java) > at org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:127) > at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188) > at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116) > at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77) > at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:852) > at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:917) > at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:924) > at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:852) > at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3610) > at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:274) > at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:926) > at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1557) > at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:173) > at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455) > at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384) > at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:272) > at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214) > at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113) > at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) > at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) > at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) > at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138) > at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:202) > at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:766) > at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:896) > at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527) > Caused by: org.apache.tapestry5.ioc.internal.OperationException: Error invoking constructor org.apache.tapestry5.internal.services.TemplateParserImpl(Map, boolean) (at TemplateParserImpl.java:50) via org.apache.tapestry5.internal.services.InternalModule.bind(ServiceBinder) (at InternalModule.java:65) (for service 'TemplateParser'): com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory incompatible with org.codehaus.stax2.XMLInputFactory2 > at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:90) > at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68) > at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:941) > at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49) > at org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(SingletonServiceLifecycle.java:29) > at org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator.createObject(LifecycleWrappedServiceCreator.java:46) > at org.apache.tapestry5.ioc.internal.AdvisorStackBuilder.createObject(AdvisorStackBuilder.java:60) > at org.apache.tapestry5.ioc.internal.InterceptorStackBuilder.createObject(InterceptorStackBuilder.java:52) > at org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.createObject(RecursiveServiceCreationCheckWrapper.java:60) > at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator$1.invoke(OperationTrackingObjectCreator.java:45) > at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:68) > at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68) > at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:941) > at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49) > at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:68) > ... 69 more > Caused by: java.lang.RuntimeException: Error invoking constructor org.apache.tapestry5.internal.services.TemplateParserImpl(Map, boolean) (at TemplateParserImpl.java:50) via org.apache.tapestry5.internal.services.InternalModule.bind(ServiceBinder) (at InternalModule.java:65) (for service 'TemplateParser'): com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory incompatible with org.codehaus.stax2.XMLInputFactory2 > at org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:76) > at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator$1.invoke(OperationTrackingObjectCreator.java:45) > at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:68) > ... 83 more > Caused by: java.lang.ClassCastException: com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory incompatible with org.codehaus.stax2.XMLInputFactory2 > at org.apache.tapestry5.internal.services.TemplateParserImpl.<init>(TemplateParserImpl.java:44) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:45) > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39) > at java.lang.reflect.Constructor.newInstance(Constructor.java:515) > at org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:62) > ... 85 more > [17/09/09 16:02:07:509 EDT] 00000013 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [ccaps-onlineEAR] [/ccaps-online] [/index.jsp]: Initialization successful. > [17/09/09 16:02:40:803 EDT] 00000014 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper doDestroy SRVE0253I: [ccaps-onlineEAR] [/ccaps-online] [/index.jsp]: Destroy successful. > [17/09/09 16:02:40:803 EDT] 00000014 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [ccaps-onlineEAR] [/ccaps-online] [/index.jsp]: Initialization successful. > [17/09/09 16:02:46:490 EDT] 00000014 webapp E com.ibm.ws.webcontainer.webapp.WebApp logError SRVE0293E: [Servlet Error]-[com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory incompatible with org.codehaus.stax2.XMLInputFactory2]: java.lang.RuntimeException: Exception constructing service 'TemplateParser': Error invoking constructor org.apache.tapestry5.internal.services.TemplateParserImpl(Map, boolean) (at TemplateParserImpl.java:50) via org.apache.tapestry5.internal.services.InternalModule.bind(ServiceBinder) (at InternalModule.java:65) (for service 'TemplateParser'): com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory incompatible with org.codehaus.stax2.XMLInputFactory2 > at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:78) > at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:57) > at $TemplateParser_123c998b16f.delegate($TemplateParser_123c998b16f.java) > at $TemplateParser_123c998b16f.parseTemplate($TemplateParser_123c998b16f.java) > at org.apache.tapestry5.internal.services.ComponentTemplateSourceImpl.parseTemplate(ComponentTemplateSourceImpl.java:151) > at org.apache.tapestry5.internal.services.ComponentTemplateSourceImpl.getTemplate(ComponentTemplateSourceImpl.java:135) > at $ComponentTemplateSource_123c998b16e.getTemplate($ComponentTemplateSource_123c998b16e.java) > at org.apache.tapestry5.internal.pageload.PageLoaderImpl.createAssembler(PageLoaderImpl.java:197) > at org.apache.tapestry5.internal.pageload.PageLoaderImpl.getAssembler(PageLoaderImpl.java:183) > at org.apache.tapestry5.internal.pageload.PageLoaderImpl.loadPage(PageLoaderImpl.java:157) > at $PageLoader_123c998b162.loadPage($PageLoader_123c998b162.java) > at org.apache.tapestry5.internal.services.PagePoolCache.checkout(PagePoolCache.java:210) > at org.apache.tapestry5.internal.services.PagePoolImpl.checkout(PagePoolImpl.java:99) > at $PagePool_123c998b161.checkout($PagePool_123c998b161.java) > at org.apache.tapestry5.internal.services.RequestPageCacheImpl.get(RequestPageCacheImpl.java:51) > at $RequestPageCache_123c998b160.get($RequestPageCache_123c998b160.java) > at $RequestPageCache_123c998b14a.get($RequestPageCache_123c998b14a.java) > at org.apache.tapestry5.internal.services.DefaultRequestExceptionHandler.handleRequestException(DefaultRequestExceptionHandler.java:69) > at $RequestExceptionHandler_123c998b135.handleRequestException($RequestExceptionHandler_123c998b135.java) > at org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:42) > at $RequestHandler_123c998b137.service($RequestHandler_123c998b137.java) > at org.apache.tapestry5.services.TapestryModule$4.service(TapestryModule.java:778) > at $RequestHandler_123c998b137.service($RequestHandler_123c998b137.java) > at org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:767) > at $RequestHandler_123c998b137.service($RequestHandler_123c998b137.java) > at org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:85) > at $RequestHandler_123c998b137.service($RequestHandler_123c998b137.java) > at org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:90) > at org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:81) > at org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:85) > at org.apache.tapestry5.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:103) > at $RequestHandler_123c998b137.service($RequestHandler_123c998b137.java) > at $RequestHandler_123c998b12d.service($RequestHandler_123c998b12d.java) > at org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:197) > at org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53) > at $HttpServletRequestHandler_123c998b12f.service($HttpServletRequestHandler_123c998b12f.java) > at org.apache.tapestry5.upload.internal.services.MultipartServletRequestFilter.service(MultipartServletRequestFilter.java:44) > at $HttpServletRequestHandler_123c998b12f.service($HttpServletRequestHandler_123c998b12f.java) > at org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62) > at $HttpServletRequestFilter_123c998b12c.service($HttpServletRequestFilter_123c998b12c.java) > at $HttpServletRequestHandler_123c998b12f.service($HttpServletRequestHandler_123c998b12f.java) > at org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:726) > at $HttpServletRequestHandler_123c998b12f.service($HttpServletRequestHandler_123c998b12f.java) > at $HttpServletRequestHandler_123c998b129.service($HttpServletRequestHandler_123c998b129.java) > at org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:127) > at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188) > at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116) > at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77) > at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:852) > at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:917) > at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:924) > at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:852) > at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3610) > at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:274) > at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:926) > at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1557) > at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:173) > at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455) > at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384) > at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83) > at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) > at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) > at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) > at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138) > at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:202) > at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:766) > at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:896) > at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527) > Caused by: org.apache.tapestry5.ioc.internal.OperationException: Error invoking constructor org.apache.tapestry5.internal.services.TemplateParserImpl(Map, boolean) (at TemplateParserImpl.java:50) via org.apache.tapestry5.internal.services.InternalModule.bind(ServiceBinder) (at InternalModule.java:65) (for service 'TemplateParser'): com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory incompatible with org.codehaus.stax2.XMLInputFactory2 > at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:90) > at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68) > at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:941) > at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49) > at org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(SingletonServiceLifecycle.java:29) > at org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator.createObject(LifecycleWrappedServiceCreator.java:46) > at org.apache.tapestry5.ioc.internal.AdvisorStackBuilder.createObject(AdvisorStackBuilder.java:60) > at org.apache.tapestry5.ioc.internal.InterceptorStackBuilder.createObject(InterceptorStackBuilder.java:52) > at org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.createObject(RecursiveServiceCreationCheckWrapper.java:60) > at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator$1.invoke(OperationTrackingObjectCreator.java:45) > at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:68) > at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68) > at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:941) > at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49) > at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:68) > ... 67 more > Caused by: java.lang.RuntimeException: Error invoking constructor org.apache.tapestry5.internal.services.TemplateParserImpl(Map, boolean) (at TemplateParserImpl.java:50) via org.apache.tapestry5.internal.services.InternalModule.bind(ServiceBinder) (at InternalModule.java:65) (for service 'TemplateParser'): com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory incompatible with org.codehaus.stax2.XMLInputFactory2 > at org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:76) > at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator$1.invoke(OperationTrackingObjectCreator.java:45) > at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:68) > ... 81 more > Caused by: java.lang.ClassCastException: com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory incompatible with org.codehaus.stax2.XMLInputFactory2 > at org.apache.tapestry5.internal.services.TemplateParserImpl.<init>(TemplateParserImpl.java:44) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:45) > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39) > at java.lang.reflect.Constructor.newInstance(Constructor.java:515) > at org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:62) > ... 83 more -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Sep 21 16:44:22 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22878 invoked from network); 21 Sep 2009 16:44:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Sep 2009 16:44:22 -0000 Received: (qmail 79466 invoked by uid 500); 21 Sep 2009 16:44:22 -0000 Delivered-To: [email protected] Received: (qmail 79430 invoked by uid 500); 21 Sep 2009 16:44:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.tapestry.apache.org> Reply-To: "Tapestry development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 79420 invoked by uid 99); 21 Sep 2009 16:44:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Sep 2009 16:44:21 +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 [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f224.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Sep 2009 16:44:11 +0000 Received: by fxm24 with SMTP id 24so2268078fxm.11 for <[email protected]>; Mon, 21 Sep 2009 09:43:51 -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=XmouZ4c9Iiv8j55fU91Jd1kpz0BgNIuacYDolo43QiM=; b=hDz0pUPVMrXftt2U9puFsMTlOX2Pl6ckGFlDgBgndH0n9CIYrijl6d+V0cYuZQ/um1 ViqEnKhSyUJl0TlODLPEBgJAbiBNFeL6y7Bu2M0gTgFfpJrf7dna8izkk5VsJEHSRIxV Lw0tmTvDmkV8jKgHjuDBVXpOz2oxCKFgrnACE= 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=FoaR77igLz5Ls+28bAfERP0CTN6vWZUPFsWKddVLqJh+k/UtfvEJxirKOfrr0v91Sj UlZYW56S4GbkMhdkkQ3wWE1DUbI8P5Vc6s1Kkk7MHxXTDWSmHmNss83oasaSKbLncjjP g/6rvenwyDcFxesrrLEMOf5GeNCMQpmCO3nCo= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id c37mr2180419mun.69.1253551430724; Mon, 21 Sep 2009 09:43:50 -0700 (PDT) In-Reply-To: <33952184.1253546416496.JavaMail.jira@brutus> References: <22135170.1200568473856.JavaMail.jira@brutus> <33952184.1253546416496.JavaMail.jira@brutus> Date: Mon, 21 Sep 2009 18:43:50 +0200 Message-ID: <[email protected]> Subject: Re: [jira] Commented: (TAPESTRY-2055) Problem when running 2+ tapestry web apps in same application server From: Eduardo <[email protected]> To: "Jorge Quiroga (JIRA)" <[email protected]> Content-Type: multipart/alternative; boundary=0016e65bc1c0bc6bdc0474192f71 X-Virus-Checked: Checked by ClamAV on apache.org --0016e65bc1c0bc6bdc0474192f71 Content-Type: text/plain; charset=ISO-8859-1 Jorge: As a previous worker in your project, I can tell you the solution: *Changing the Application Server.* You should first try with JBoss 5. If it doesnt work then try with Glassfish (yes, Jose Santiago will laugh :P), If not, try with Tomcat + OpenEJB. If it doesnt work either you can switch to tomcats anyway because they are lighter and boot faster then JBoss. On Mon, Sep 21, 2009 at 5:20 PM, Jorge Quiroga (JIRA) < [email protected]> wrote: > > [ > https://issues.apache.org/jira/browse/TAPESTRY-2055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757918#action_12757918] > > Jorge Quiroga commented on TAPESTRY-2055: > ----------------------------------------- > > After a year. the problem is still there, Is someone working in this > issue?. some of us cannot migrate to Tap5 and this problem is critical and > having an application Server for each tapestry application isn't a real > solution. When 4.1.7 will be released?, some temptative date with this > problem resolved?. thanks. > > > Problem when running 2+ tapestry web apps in same application server > > -------------------------------------------------------------------- > > > > Key: TAPESTRY-2055 > > URL: https://issues.apache.org/jira/browse/TAPESTRY-2055 > > Project: Tapestry > > Issue Type: Bug > > Affects Versions: 4.1.3 > > Environment: JBoss 4.2.x, Tapestry 4.1.3, MySQL5 > > Reporter: Eduardo Magdalena > > Assignee: Jesse Kuhnert > > Fix For: 4.1.7 > > > > > > I have an enterprise Java Bean which feeds multiple tapestry apps. I can > open a session on two apps but when I open a second session on one of them > and enter on a page not previously loaded (in the first session) I get: > > On browser: > > java.lang.NullPointerException > > $ExceptionDisplay_50.getClientId($ExceptionDisplay_50.java) > > > org.apache.tapestry.AbstractComponent.hashCode(AbstractComponent.java:917) > > java.lang.Object.toString(Object.java:219) > > > org.apache.tapestry.AbstractComponent.toString(AbstractComponent.java:564) > > > org.apache.tapestry.util.exception.ExceptionAnalyzer.buildDescription(ExceptionAnalyzer.java:184) > > > org.apache.tapestry.util.exception.ExceptionAnalyzer.analyze(ExceptionAnalyzer.java:93) > > > org.apache.tapestry.util.exception.ExceptionAnalyzer.reportException(ExceptionAnalyzer.java:379) > > > org.apache.tapestry.ApplicationServlet.show(ApplicationServlet.java:158) > > > org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:132) > > > org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:103) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:690) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > > > org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) > > On JBoss Console I get a thousand of stack traces (sometimes infinite), > being the most relevant: > > First Stack Trace: > > 12:02:58,171 ERROR [HiveMindExpressionCompiler] Error generating OGNL > getter for expression @com.indra.localiza.Restriction@hasPermission > (sessionDescriptor.leve > > l, @com.indra.localiza.Restriction@ICON) with root $GestorIcons_46@3c1[GestorIcons] > and body: > > { return ($w) > (com.indra.localiza.Restriction#hasPermission((($GestorIcons_46)$2).getSessionDescriptor().getLevel(), > com.indra.localiza.Restriction.ICON));} > > org.apache.hivemind.ApplicationRuntimeException: Unable to add method > java.lang.Object get(ognl.OgnlContext, java.lang.Object) to class > $ASTStaticMethod_1178767 > > 42ab: [source error] no such class: $GestorIcons_46 > > at > org.apache.tapestry.enhance.ClassFabImpl.addMethod(ClassFabImpl.java:278) > > at > org.apache.tapestry.services.impl.HiveMindExpressionCompiler.compileExpression(HiveMindExpressionCompiler.java:176) > > at ognl.OgnlRuntime.compileExpression(OgnlRuntime.java:523) > > at ognl.Ognl.compileExpression(Ognl.java:141) > > at > org.apache.tapestry.services.impl.ExpressionCacheImpl.parse(ExpressionCacheImpl.java:152) > > at > org.apache.tapestry.services.impl.ExpressionCacheImpl.getCompiledExpression(ExpressionCacheImpl.java:115) > > at > $ExpressionCache_11787674066.getCompiledExpression($ExpressionCache_11787674066.java) > > at > org.apache.tapestry.binding.ExpressionBinding.resolveExpression(ExpressionBinding.java:134) > > at > org.apache.tapestry.binding.ExpressionBinding.getObject(ExpressionBinding.java:125) > > at > org.apache.tapestry.binding.AbstractBinding.getObject(AbstractBinding.java:84) > > at > org.apache.tapestry.enhance.EnhanceUtils.toBoolean(EnhanceUtils.java:173) > > at $IfBean_5.getCondition($IfBean_5.java) > > at > org.apache.tapestry.components.IfBean.evaluateCondition(IfBean.java:128) > > at > org.apache.tapestry.components.IfBean.renderComponent(IfBean.java:66) > > at > org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:725) > > at > org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:179) > > at > org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:539) > > at org.apache.tapestry.html.Body.renderComponent(Body.java:38) > > at > org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:725) > > at > org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:179) > > at > org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:107) > > at > org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:725) > > at > org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:177) > > at > org.apache.tapestry.AbstractPage.renderPage(AbstractPage.java:249) > > at > org.apache.tapestry.engine.RequestCycle.renderPage(RequestCycle.java:397) > > at > org.apache.tapestry.services.impl.DefaultResponseBuilder.renderResponse(DefaultResponseBuilder.java:151) > > at > org.apache.tapestry.services.impl.ResponseRendererImpl.renderResponse(ResponseRendererImpl.java:33) > > at > $ResponseRenderer_11787673da3.renderResponse($ResponseRenderer_11787673da3.java) > > at > org.apache.tapestry.engine.DirectService.service(DirectService.java:147) > > at > $IEngineService_11787673fb6.service($IEngineService_11787673fb6.java) > > at > org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(EngineServiceOuterProxy.java:72) > > at > org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:241) > > at > org.apache.tapestry.services.impl.InvokeEngineTerminator.service(InvokeEngineTerminator.java:54) > > at > $WebRequestServicer_11787673f8d.service($WebRequestServicer_11787673f8d.java) > > at > $WebRequestServicer_11787673f89.service($WebRequestServicer_11787673f89.java) > > at > org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service(WebRequestServicerPipelineBridge.java:61) > > at > $ServletRequestServicer_11787673f6f.service($ServletRequestServicer_11787673f6f.java) > > at > org.apache.tapestry.request.DecodedRequestInjector.service(DecodedRequestInjector.java:55) > > at > $ServletRequestServicerFilter_11787673f6b.service($ServletRequestServicerFilter_11787673f6b.java) > > at > $ServletRequestServicer_11787673f71.service($ServletRequestServicer_11787673f71.java) > > at > org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecoderFilter.java:52) > > at > $ServletRequestServicerFilter_11787673f69.service($ServletRequestServicerFilter_11787673f69.java) > > at > $ServletRequestServicer_11787673f71.service($ServletRequestServicer_11787673f71.java) > > at > org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestEncoding.java:53) > > at > $ServletRequestServicerFilter_11787673f6d.service($ServletRequestServicerFilter_11787673f6d.java) > > at > $ServletRequestServicer_11787673f71.service($ServletRequestServicer_11787673f71.java) > > at > $ServletRequestServicer_11787673dcf.service($ServletRequestServicer_11787673dcf.java) > > at > org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:126) > > at > org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:103) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > > In the Middle: > > (This one repeats several times) > > Caused by: javassist.CannotCompileException: [source error] no such > class: $Exception_47 > > at javassist.CtBehavior.setBody(CtBehavior.java:367) > > at javassist.CtBehavior.setBody(CtBehavior.java:334) > > at > org.apache.tapestry.enhance.ClassFabImpl.addMethod(ClassFabImpl.java:272) > > ... 69 more > > 12:02:59,453 ERROR [HiveMindExpressionCompiler] Error generating OGNL > getter for expression exceptions with root $ExceptionDisplay_50@6482ee45 > [framework:Excepti > > on/$ExceptionDisplay] and body: > > { return (($ExceptionDisplay_50)$2).getExceptions();} > > org.apache.hivemind.ApplicationRuntimeException: Unable to add method > java.lang.Object get(ognl.OgnlContext, java.lang.Object) to class > $ASTProperty_117876742b3 > > : [source error] no such class: $ExceptionDisplay_50 > > at > org.apache.tapestry.enhance.ClassFabImpl.addMethod(ClassFabImpl.java:278) > > at > org.apache.tapestry.services.impl.HiveMindExpressionCompiler.compileExpression(HiveMindExpressionCompiler.java:176) > > at ognl.OgnlRuntime.compileExpression(OgnlRuntime.java:523) > > at ognl.Ognl.compileExpression(Ognl.java:141) > > at > org.apache.tapestry.services.impl.ExpressionCacheImpl.parse(ExpressionCacheImpl.java:152) > > at > org.apache.tapestry.services.impl.ExpressionCacheImpl.getCompiledExpression(ExpressionCacheImpl.java:115) > > at > $ExpressionCache_11787674066.getCompiledExpression($ExpressionCache_11787674066.java) > > at > org.apache.tapestry.binding.ExpressionBinding.resolveExpression(ExpressionBinding.java:134) > > at > org.apache.tapestry.binding.ExpressionBinding.getObject(ExpressionBinding.java:125) > > at > org.apache.tapestry.components.ForBean.evaluateSourceIterator(ForBean.java:693) > > at > org.apache.tapestry.components.ForBean.getData(ForBean.java:326) > > So it fails: Tapestry, Hivemind, OGNL, JavaAssist ... > > The only solution I got so far is have a JBoss instance for each > WebApp... > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > > --0016e65bc1c0bc6bdc0474192f71-- From [email protected] Mon Sep 21 20:37:01 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8882 invoked from network); 21 Sep 2009 20:37:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Sep 2009 20:37:01 -0000 Received: (qmail 88826 invoked by uid 500); 21 Sep 2009 20:37:00 -0000 Delivered-To: [email protected] Received: (qmail 88804 invoked by uid 500); 21 Sep 2009 20:37:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.tapestry.apache.org> Reply-To: "Tapestry development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 88794 invoked by uid 99); 21 Sep 2009 20:36:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Sep 2009 20:36:59 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mailrelay006.isp.belgacom.be) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Sep 2009 20:36:47 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEABeAt0pXQgyj/2dsb2JhbADSSYIzgWgFgVg Received: from 163.12-66-87.adsl-static.isp.belgacom.be (HELO localhost) ([161.129.204.104]) by relay.skynet.be with ESMTP; 21 Sep 2009 22:36:26 +0200 Received: from [161.129.204.104] (localhost [161.129.204.104]) by localhost (Postfix) with ESMTP id 4EC7C296CAF for <[email protected]>; Mon, 21 Sep 2009 22:36:26 +0200 (CEST) Message-ID: <[email protected]> Date: Mon, 21 Sep 2009 22:36:25 +0200 From: Joachim Van der Auwera <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20090817) MIME-Version: 1.0 To: Tapestry development <[email protected]> Subject: Re: [jira] Commented: (TAPESTRY-2055) Problem when running 2+ tapestry web apps in same application server References: <22135170.1200568473856.JavaMail.jira@brutus> <33952184.1253546416496.JavaMail.jira@brutus> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I think you have to make sure your JBoss is configured to have classloader isolation. You should check JBoss docs to see how this can be accomplished. Kind regards, Joachim Eduardo wrote: > Jorge: As a previous worker in your project, I can tell you the solution: > > *Changing the Application Server.* > > You should first try with JBoss 5. If it doesnt work then try with Glassfish > (yes, Jose Santiago will laugh :P), > > If not, try with Tomcat + OpenEJB. If it doesnt work either you can switch > to tomcats anyway because they are lighter and boot faster then JBoss. > > > On Mon, Sep 21, 2009 at 5:20 PM, Jorge Quiroga (JIRA) < > [email protected]> wrote: > > >> [ >> https://issues.apache.org/jira/browse/TAPESTRY-2055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757918#action_12757918] >> >> Jorge Quiroga commented on TAPESTRY-2055: >> ----------------------------------------- >> >> After a year. the problem is still there, Is someone working in this >> issue?. some of us cannot migrate to Tap5 and this problem is critical and >> having an application Server for each tapestry application isn't a real >> solution. When 4.1.7 will be released?, some temptative date with this >> problem resolved?. thanks. >> >> >>> Problem when running 2+ tapestry web apps in same application server >>> -------------------------------------------------------------------- >>> >>> Key: TAPESTRY-2055 >>> URL: https://issues.apache.org/jira/browse/TAPESTRY-2055 >>> Project: Tapestry >>> Issue Type: Bug >>> Affects Versions: 4.1.3 >>> Environment: JBoss 4.2.x, Tapestry 4.1.3, MySQL5 >>> Reporter: Eduardo Magdalena >>> Assignee: Jesse Kuhnert >>> Fix For: 4.1.7 >>> >>> >>> I have an enterprise Java Bean which feeds multiple tapestry apps. I can >>> >> open a session on two apps but when I open a second session on one of them >> and enter on a page not previously loaded (in the first session) I get: >> >>> On browser: >>> java.lang.NullPointerException >>> $ExceptionDisplay_50.getClientId($ExceptionDisplay_50.java) >>> >>> >> org.apache.tapestry.AbstractComponent.hashCode(AbstractComponent.java:917) >> >>> java.lang.Object.toString(Object.java:219) >>> >>> >> org.apache.tapestry.AbstractComponent.toString(AbstractComponent.java:564) >> >> org.apache.tapestry.util.exception.ExceptionAnalyzer.buildDescription(ExceptionAnalyzer.java:184) >> >> org.apache.tapestry.util.exception.ExceptionAnalyzer.analyze(ExceptionAnalyzer.java:93) >> >> org.apache.tapestry.util.exception.ExceptionAnalyzer.reportException(ExceptionAnalyzer.java:379) >> >> org.apache.tapestry.ApplicationServlet.show(ApplicationServlet.java:158) >> >> org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:132) >> >> org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:103) >> >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:690) >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) >>> >>> >> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) >> >>> On JBoss Console I get a thousand of stack traces (sometimes infinite), >>> >> being the most relevant: >> >>> First Stack Trace: >>> 12:02:58,171 ERROR [HiveMindExpressionCompiler] Error generating OGNL >>> >> getter for expression @com.indra.localiza.Restriction@hasPermission >> (sessionDescriptor.leve >> >>> l, @com.indra.localiza.Restriction@ICON) with root $GestorIcons_46@3c1[GestorIcons] >>> >> and body: >> >>> { return ($w) >>> >> (com.indra.localiza.Restriction#hasPermission((($GestorIcons_46)$2).getSessionDescriptor().getLevel(), >> com.indra.localiza.Restriction.ICON));} >> >>> org.apache.hivemind.ApplicationRuntimeException: Unable to add method >>> >> java.lang.Object get(ognl.OgnlContext, java.lang.Object) to class >> $ASTStaticMethod_1178767 >> >>> 42ab: [source error] no such class: $GestorIcons_46 >>> at >>> >> org.apache.tapestry.enhance.ClassFabImpl.addMethod(ClassFabImpl.java:278) >> >>> at >>> >> org.apache.tapestry.services.impl.HiveMindExpressionCompiler.compileExpression(HiveMindExpressionCompiler.java:176) >> >>> at ognl.OgnlRuntime.compileExpression(OgnlRuntime.java:523) >>> at ognl.Ognl.compileExpression(Ognl.java:141) >>> at >>> >> org.apache.tapestry.services.impl.ExpressionCacheImpl.parse(ExpressionCacheImpl.java:152) >> >>> at >>> >> org.apache.tapestry.services.impl.ExpressionCacheImpl.getCompiledExpression(ExpressionCacheImpl.java:115) >> >>> at >>> >> $ExpressionCache_11787674066.getCompiledExpression($ExpressionCache_11787674066.java) >> >>> at >>> >> org.apache.tapestry.binding.ExpressionBinding.resolveExpression(ExpressionBinding.java:134) >> >>> at >>> >> org.apache.tapestry.binding.ExpressionBinding.getObject(ExpressionBinding.java:125) >> >>> at >>> >> org.apache.tapestry.binding.AbstractBinding.getObject(AbstractBinding.java:84) >> >>> at >>> >> org.apache.tapestry.enhance.EnhanceUtils.toBoolean(EnhanceUtils.java:173) >> >>> at $IfBean_5.getCondition($IfBean_5.java) >>> at >>> >> org.apache.tapestry.components.IfBean.evaluateCondition(IfBean.java:128) >> >>> at >>> >> org.apache.tapestry.components.IfBean.renderComponent(IfBean.java:66) >> >>> at >>> >> org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:725) >> >>> at >>> >> org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:179) >> >>> at >>> >> org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:539) >> >>> at org.apache.tapestry.html.Body.renderComponent(Body.java:38) >>> at >>> >> org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:725) >> >>> at >>> >> org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:179) >> >>> at >>> >> org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:107) >> >>> at >>> >> org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:725) >> >>> at >>> >> org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:177) >> >>> at >>> >> org.apache.tapestry.AbstractPage.renderPage(AbstractPage.java:249) >> >>> at >>> >> org.apache.tapestry.engine.RequestCycle.renderPage(RequestCycle.java:397) >> >>> at >>> >> org.apache.tapestry.services.impl.DefaultResponseBuilder.renderResponse(DefaultResponseBuilder.java:151) >> >>> at >>> >> org.apache.tapestry.services.impl.ResponseRendererImpl.renderResponse(ResponseRendererImpl.java:33) >> >>> at >>> >> $ResponseRenderer_11787673da3.renderResponse($ResponseRenderer_11787673da3.java) >> >>> at >>> >> org.apache.tapestry.engine.DirectService.service(DirectService.java:147) >> >>> at >>> >> $IEngineService_11787673fb6.service($IEngineService_11787673fb6.java) >> >>> at >>> >> org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(EngineServiceOuterProxy.java:72) >> >>> at >>> >> org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:241) >> >>> at >>> >> org.apache.tapestry.services.impl.InvokeEngineTerminator.service(InvokeEngineTerminator.java:54) >> >>> at >>> >> $WebRequestServicer_11787673f8d.service($WebRequestServicer_11787673f8d.java) >> >>> at >>> >> $WebRequestServicer_11787673f89.service($WebRequestServicer_11787673f89.java) >> >>> at >>> >> org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service(WebRequestServicerPipelineBridge.java:61) >> >>> at >>> >> $ServletRequestServicer_11787673f6f.service($ServletRequestServicer_11787673f6f.java) >> >>> at >>> >> org.apache.tapestry.request.DecodedRequestInjector.service(DecodedRequestInjector.java:55) >> >>> at >>> >> $ServletRequestServicerFilter_11787673f6b.service($ServletRequestServicerFilter_11787673f6b.java) >> >>> at >>> >> $ServletRequestServicer_11787673f71.service($ServletRequestServicer_11787673f71.java) >> >>> at >>> >> org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecoderFilter.java:52) >> >>> at >>> >> $ServletRequestServicerFilter_11787673f69.service($ServletRequestServicerFilter_11787673f69.java) >> >>> at >>> >> $ServletRequestServicer_11787673f71.service($ServletRequestServicer_11787673f71.java) >> >>> at >>> >> org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestEncoding.java:53) >> >>> at >>> >> $ServletRequestServicerFilter_11787673f6d.service($ServletRequestServicerFilter_11787673f6d.java) >> >>> at >>> >> $ServletRequestServicer_11787673f71.service($ServletRequestServicer_11787673f71.java) >> >>> at >>> >> $ServletRequestServicer_11787673dcf.service($ServletRequestServicer_11787673dcf.java) >> >>> at >>> >> org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:126) >> >>> at >>> >> org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:103) >> >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) >>> at >>> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) >> >>> In the Middle: >>> (This one repeats several times) >>> Caused by: javassist.CannotCompileException: [source error] no such >>> >> class: $Exception_47 >> >>> at javassist.CtBehavior.setBody(CtBehavior.java:367) >>> at javassist.CtBehavior.setBody(CtBehavior.java:334) >>> at >>> >> org.apache.tapestry.enhance.ClassFabImpl.addMethod(ClassFabImpl.java:272) >> >>> ... 69 more >>> 12:02:59,453 ERROR [HiveMindExpressionCompiler] Error generating OGNL >>> >> getter for expression exceptions with root $ExceptionDisplay_50@6482ee45 >> [framework:Excepti >> >>> on/$ExceptionDisplay] and body: >>> { return (($ExceptionDisplay_50)$2).getExceptions();} >>> org.apache.hivemind.ApplicationRuntimeException: Unable to add method >>> >> java.lang.Object get(ognl.OgnlContext, java.lang.Object) to class >> $ASTProperty_117876742b3 >> >>> : [source error] no such class: $ExceptionDisplay_50 >>> at >>> >> org.apache.tapestry.enhance.ClassFabImpl.addMethod(ClassFabImpl.java:278) >> >>> at >>> >> org.apache.tapestry.services.impl.HiveMindExpressionCompiler.compileExpression(HiveMindExpressionCompiler.java:176) >> >>> at ognl.OgnlRuntime.compileExpression(OgnlRuntime.java:523) >>> at ognl.Ognl.compileExpression(Ognl.java:141) >>> at >>> >> org.apache.tapestry.services.impl.ExpressionCacheImpl.parse(ExpressionCacheImpl.java:152) >> >>> at >>> >> org.apache.tapestry.services.impl.ExpressionCacheImpl.getCompiledExpression(ExpressionCacheImpl.java:115) >> >>> at >>> >> $ExpressionCache_11787674066.getCompiledExpression($ExpressionCache_11787674066.java) >> >>> at >>> >> org.apache.tapestry.binding.ExpressionBinding.resolveExpression(ExpressionBinding.java:134) >> >>> at >>> >> org.apache.tapestry.binding.ExpressionBinding.getObject(ExpressionBinding.java:125) >> >>> at >>> >> org.apache.tapestry.components.ForBean.evaluateSourceIterator(ForBean.java:693) >> >>> at >>> >> org.apache.tapestry.components.ForBean.getData(ForBean.java:326) >> >>> So it fails: Tapestry, Hivemind, OGNL, JavaAssist ... >>> The only solution I got so far is have a JBoss instance for each >>> >> WebApp... >> >> -- >> This message is automatically generated by JIRA. >> - >> You can reply to this email to add a comment to the issue online. >> >> >> > > -- Joachim Van der Auwera PROGS bvba, progs.be --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Sep 22 16:48:39 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24020 invoked from network); 22 Sep 2009 16:48:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Sep 2009 16:48:39 -0000 Received: (qmail 26044 invoked by uid 500); 22 Sep 2009 16:48:38 -0000 Delivered-To: [email protected] Received: (qmail 25880 invoked by uid 500); 22 Sep 2009 16:48:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 25868 invoked by uid 99); 22 Sep 2009 16:48:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Sep 2009 16:48:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Sep 2009 16:48:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 153DD234C044 for <[email protected]>; Tue, 22 Sep 2009 09:48:16 -0700 (PDT) Message-ID: <1516004122.1253638096072.JavaMail.jira@brutus> Date: Tue, 22 Sep 2009 09:48:16 -0700 (PDT) From: "Howard M. Lewis Ship (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (TAP5-848) PropertyConduit instances should automatically disable when the underlying class loader is discarded (due to live class reloading) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org PropertyConduit instances should automatically disable when the underlying class loader is discarded (due to live class reloading) ---------------------------------------------------------------------------------------------------------------------------------- Key: TAP5-848 URL: https://issues.apache.org/jira/browse/TAP5-848 Project: Tapestry 5 Issue Type: Improvement Components: tapestry-core Affects Versions: 161.129.204.104 Reporter: Howard M. Lewis Ship Priority: Minor This could be done using a PropertyConduit wrapper around the generated PC that was also a listener for the appropriate notification from the correct InvalidationEventHub. This would help ensure that user code that directly makes use of PropertyConduits does not cause memory leaks (i.e. leaking an entire class loader). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Sep 23 19:05:41 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14280 invoked from network); 23 Sep 2009 19:05:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Sep 2009 19:05:41 -0000 Received: (qmail 45304 invoked by uid 500); 23 Sep 2009 19:05:40 -0000 Delivered-To: [email protected] Received: (qmail 45001 invoked by uid 500); 23 Sep 2009 19:05:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 44984 invoked by uid 99); 23 Sep 2009 19:05:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Sep 2009 19:05:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Sep 2009 19:05:37 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 3F3E1234C4B6 for <[email protected]>; Wed, 23 Sep 2009 12:05:16 -0700 (PDT) Message-ID: <1872244956.1253732716258.JavaMail.jira@brutus> Date: Wed, 23 Sep 2009 12:05:16 -0700 (PDT) From: "Howard M. Lewis Ship (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (TAP5-849) Select component should look for a property named "xxxModel" (where "xxx" is the select's id) as a default for the model parameter MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Select component should look for a property named "xxxModel" (where "xxx" is the select's id) as a default for the model parameter ---------------------------------------------------------------------------------------------------------------------------------- Key: TAP5-849 URL: https://issues.apache.org/jira/browse/TAP5-849 Project: Tapestry 5 Issue Type: Improvement Components: tapestry-core Affects Versions: 161.129.204.104 Reporter: Howard M. Lewis Ship Priority: Minor <t:select t:id="gender" value="user.gender" model="genderModel"/> The idea is that the Select should be able to use genderModel automatically without having to be told, as a convention (convention over configuration). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Sep 23 21:29:40 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55966 invoked from network); 23 Sep 2009 21:29:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Sep 2009 21:29:39 -0000 Received: (qmail 81378 invoked by uid 500); 23 Sep 2009 21:29:39 -0000 Delivered-To: [email protected] Received: (qmail 81253 invoked by uid 500); 23 Sep 2009 21:29:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81233 invoked by uid 99); 23 Sep 2009 21:29:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Sep 2009 21:29:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Sep 2009 21:29:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A8570234C4A9 for <[email protected]>; Wed, 23 Sep 2009 14:29:16 -0700 (PDT) Message-ID: <130300137.1253741356688.JavaMail.jira@brutus> Date: Wed, 23 Sep 2009 14:29:16 -0700 (PDT) From: "Howard M. Lewis Ship (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (TAP5-851) Very hard to add new lifecycle behaviors to pages & components MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Very hard to add new lifecycle behaviors to pages & components -------------------------------------------------------------- Key: TAP5-851 URL: https://issues.apache.org/jira/browse/TAP5-851 Project: Tapestry 5 Issue Type: Improvement Components: tapestry-core Affects Versions: 161.129.204.104 Reporter: Howard M. Lewis Ship Taked with creating a new kind of lifecycle event, one that detects when the active page has changed, I found I had much trouble extending the default behavior, which involved overriding internal services and implementing internal interfaces. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Sep 23 21:29:40 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55968 invoked from network); 23 Sep 2009 21:29:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Sep 2009 21:29:39 -0000 Received: (qmail 81336 invoked by uid 500); 23 Sep 2009 21:29:39 -0000 Delivered-To: [email protected] Received: (qmail 81251 invoked by uid 500); 23 Sep 2009 21:29:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81234 invoked by uid 99); 23 Sep 2009 21:29:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Sep 2009 21:29:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Sep 2009 21:29:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A363B234C004 for <[email protected]>; Wed, 23 Sep 2009 14:29:16 -0700 (PDT) Message-ID: <339184019.1253741356653.JavaMail.jira@brutus> Date: Wed, 23 Sep 2009 14:29:16 -0700 (PDT) From: "Howard M. Lewis Ship (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (TAP5-850) Need a new version of LinkCreationListener that passes the page render parameters / component event parameters as well as the link MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Need a new version of LinkCreationListener that passes the page render parameters / component event parameters as well as the link ---------------------------------------------------------------------------------------------------------------------------------- Key: TAP5-850 URL: https://issues.apache.org/jira/browse/TAP5-850 Project: Tapestry 5 Issue Type: Improvement Components: tapestry-core Affects Versions: 161.129.204.104 Reporter: Howard M. Lewis Ship Priority: Minor Much of the information in those parameter objects are both important and hard to determine (such as the target page name, etc.). Since they are read-only structures, there's no harm in passing them along. This would be a LinkCreationListener2 that replaces (not extends) LinkCreationListener, which would then be deprecated. The LinkCreationHub service would be extended to support adding and removing the new listeners. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Sep 23 21:37:38 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58271 invoked from network); 23 Sep 2009 21:37:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Sep 2009 21:37:38 -0000 Received: (qmail 88554 invoked by uid 500); 23 Sep 2009 21:37:38 -0000 Delivered-To: [email protected] Received: (qmail 88481 invoked by uid 500); 23 Sep 2009 21:37:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 88472 invoked by uid 99); 23 Sep 2009 21:37:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Sep 2009 21:37:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Sep 2009 21:37:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 12CD8234C4AB for <[email protected]>; Wed, 23 Sep 2009 14:37:16 -0700 (PDT) Message-ID: <612654362.1253741836076.JavaMail.jira@brutus> Date: Wed, 23 Sep 2009 14:37:16 -0700 (PDT) From: "Howard M. Lewis Ship (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (TAP5-852) ClassTransformation.addInitialization() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org ClassTransformation.addInitialization() --------------------------------------- Key: TAP5-852 URL: https://issues.apache.org/jira/browse/TAP5-852 Project: Tapestry 5 Issue Type: New Feature Components: tapestry-core Reporter: Howard M. Lewis Ship It is very common to want to add some initialization to a component. Currently, it is necessary to inject dependencies and directly add code. It would be nice if there were new interfaces: interface ComponentInitializer { void initializeComponent(ComponentResources resources); } interface ComponentFieldInitializer { Object initializeComponentField(ComponentResources resources); } These could be paired up with methods in ClassTransformation: void addFieldInitialization(String fieldName, ComponentFieldInitializer initializer); void addInitialization(ComponentInitializer initializer); These methods would translate to code executed in the constructor of the component. This would simplify many of the existing component class transform workers. It also represents a way to start moving away from writing explicit code generation (using Javassist psuedo-code) towards a more API driven approach that could eventually be implemented using ASM or some other better supported toolkit. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Sep 23 21:37:41 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58340 invoked from network); 23 Sep 2009 21:37:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Sep 2009 21:37:40 -0000 Received: (qmail 89032 invoked by uid 500); 23 Sep 2009 21:37:40 -0000 Delivered-To: [email protected] Received: (qmail 88952 invoked by uid 500); 23 Sep 2009 21:37:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 88732 invoked by uid 99); 23 Sep 2009 21:37:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Sep 2009 21:37:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Sep 2009 21:37:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 159DF234C4AF for <[email protected]>; Wed, 23 Sep 2009 14:37:16 -0700 (PDT) Message-ID: <2050367255.1253741836087.JavaMail.jira@brutus> Date: Wed, 23 Sep 2009 14:37:16 -0700 (PDT) From: "Howard M. Lewis Ship (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (TAP5-852) Mechanism to initialize components and component fields without as much explicit code gen & injection In-Reply-To: <612654362.1253741836076.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Howard M. Lewis Ship updated TAP5-852: -------------------------------------- Summary: Mechanism to initialize components and component fields without as much explicit code gen & injection (was: ClassTransformation.addInitialization()) > Mechanism to initialize components and component fields without as much explicit code gen & injection > ----------------------------------------------------------------------------------------------------- > > Key: TAP5-852 > URL: https://issues.apache.org/jira/browse/TAP5-852 > Project: Tapestry 5 > Issue Type: New Feature > Components: tapestry-core > Reporter: Howard M. Lewis Ship > > It is very common to want to add some initialization to a component. > Currently, it is necessary to inject dependencies and directly add code. > It would be nice if there were new interfaces: > interface ComponentInitializer { > void initializeComponent(ComponentResources resources); > } > interface ComponentFieldInitializer { > Object initializeComponentField(ComponentResources resources); > } > These could be paired up with methods in ClassTransformation: > void addFieldInitialization(String fieldName, ComponentFieldInitializer initializer); > void addInitialization(ComponentInitializer initializer); > These methods would translate to code executed in the constructor of the component. > This would simplify many of the existing component class transform workers. > It also represents a way to start moving away from writing explicit code generation (using Javassist psuedo-code) towards a more API driven approach that could eventually be implemented using > ASM or some other better supported toolkit. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Sep 23 21:41:40 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59052 invoked from network); 23 Sep 2009 21:41:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Sep 2009 21:41:40 -0000 Received: (qmail 91750 invoked by uid 500); 23 Sep 2009 21:41:40 -0000 Delivered-To: [email protected] Received: (qmail 91680 invoked by uid 500); 23 Sep 2009 21:41:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 91669 invoked by uid 99); 23 Sep 2009 21:41:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Sep 2009 21:41:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Sep 2009 21:41:37 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id F1F57234C004 for <[email protected]>; Wed, 23 Sep 2009 14:41:15 -0700 (PDT) Message-ID: <1172453861.1253742075976.JavaMail.jira@brutus> Date: Wed, 23 Sep 2009 14:41:15 -0700 (PDT) From: "Howard M. Lewis Ship (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (TAP5-853) Move away from Javassist MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Move away from Javassist ------------------------ Key: TAP5-853 URL: https://issues.apache.org/jira/browse/TAP5-853 Project: Tapestry 5 Issue Type: Improvement Components: tapestry-core Affects Versions: 161.129.204.104 Reporter: Howard M. Lewis Ship A long-term, multi-release strategy to replace ClassFactory/ClassGen and ClassTransformation methods with equivalents that are not tied to Javassist. Over a couple of releases, the methods could be introduced (still implemented on top of Javassist), and the Javassist-centric methods deprecated, then eventually disabled (NotImplementedException) or even removed. Rationale: Javassist is unprofessionally and fitfully maintained; many users have problems under Java6 due to Javassist. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Sep 24 01:11:40 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7711 invoked from network); 24 Sep 2009 01:11:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Sep 2009 01:11:40 -0000 Received: (qmail 21954 invoked by uid 500); 24 Sep 2009 01:11:40 -0000 Delivered-To: [email protected] Received: (qmail 21865 invoked by uid 500); 24 Sep 2009 01:11:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 21856 invoked by uid 99); 24 Sep 2009 01:11:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Sep 2009 01:11:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Sep 2009 01:11:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 04105234C004 for <[email protected]>; Wed, 23 Sep 2009 18:11:16 -0700 (PDT) Message-ID: <1228516910.1253754675981.JavaMail.jira@brutus> Date: Wed, 23 Sep 2009 18:11:15 -0700 (PDT) From: "cleverpig (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (TAP5-854) add a package-level localization feature MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org add a package-level localization feature ---------------------------------------- Key: TAP5-854 URL: https://issues.apache.org/jira/browse/TAP5-854 Project: Tapestry 5 Issue Type: New Feature Components: tapestry-core Affects Versions: 161.129.204.104 Reporter: cleverpig just like struts2 had done in Localization:http://struts.apache.org/2.1.6/docs/localization.html I mean when i develope some page class in the same package,i always meet some same resource message defines for CRUD pages of one POJO.. so i think it's effectual under this dev habit:create a package level property file for this package(pages).. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Sep 24 01:13:38 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7858 invoked from network); 24 Sep 2009 01:13:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Sep 2009 01:13:38 -0000 Received: (qmail 23383 invoked by uid 500); 24 Sep 2009 01:13:38 -0000 Delivered-To: [email protected] Received: (qmail 23309 invoked by uid 500); 24 Sep 2009 01:13:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23298 invoked by uid 99); 24 Sep 2009 01:13:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Sep 2009 01:13:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Sep 2009 01:13:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 03412234C004 for <[email protected]>; Wed, 23 Sep 2009 18:13:16 -0700 (PDT) Message-ID: <859-838-3298.1253754795999.JavaMail.jira@brutus> Date: Wed, 23 Sep 2009 18:13:15 -0700 (PDT) From: "cleverpig (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (TAP5-855) select component's label doesn't work MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org select component's label doesn't work ------------------------------------- Key: TAP5-855 URL: https://issues.apache.org/jira/browse/TAP5-855 Project: Tapestry 5 Issue Type: Bug Components: tapestry-component-report Affects Versions: 161.129.204.104 Reporter: cleverpig my tapestry's version is Tapestry5.1.05. i read this from select component manual=EF=BC=9A Component Parameters: ... label String NOT Allow Null literal The user presentable label for the field. If not provided, a reasonable lab= el is generated from the component's id, first by looking for a message key= named "id-label" (substituting the component's actual id), then by convert= ing the actual id to a presentable string (for example, "userId" to "User I= d"). ... but you can't make this label work in this way: <t:select t:id=3D"catSelector" t:model=3D"catSelectModel" t:value=3D"selec= tCat" t:encoder=3D"catEncoder" t:label=3D"catSelector"/> --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Sep 24 16:27:17 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10500 invoked from network); 24 Sep 2009 16:27:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Sep 2009 16:27:17 -0000 Received: (qmail 87302 invoked by uid 500); 24 Sep 2009 16:27:16 -0000 Delivered-To: [email protected] Received: (qmail 87230 invoked by uid 500); 24 Sep 2009 16:27:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 87221 invoked by uid 99); 24 Sep 2009 16:27:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Sep 2009 16:27:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Sep 2009 16:27:13 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id F40B42388906; Thu, 24 Sep 2009 16:26:51 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r818537 - /tapestry/tapestry4/trunk/src/site/xdoc/components/general/block.xml Date: Thu, 24 Sep 2009 16:26:51 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: andyhot Date: Thu Sep 24 16:26:51 2009 New Revision: 818537 URL: http://svn.apache.org/viewvc?rev=818537&view=rev Log: TAPESTRY-2583: doc about block component and pageBeginRender Modified: tapestry/tapestry4/trunk/src/site/xdoc/components/general/block.xml Modified: tapestry/tapestry4/trunk/src/site/xdoc/components/general/block.xml URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/src/site/xdoc/components/general/block.xml?rev=818537&r1=818536&r2=818537&view=diff ============================================================================== --- tapestry/tapestry4/trunk/src/site/xdoc/components/general/block.xml (original) +++ tapestry/tapestry4/trunk/src/site/xdoc/components/general/block.xml Thu Sep 24 16:26:51 2009 @@ -70,6 +70,12 @@ <a href="renderblock.html">RenderBlock</a> component can be passed a Block instance, which will trigger the Block to render its body. + <span class="warn"> + <strong>Warning:</strong> + <p>Even though a Block may not render at all, the pageBeginRender method of the + components it includes will still get invoked. Also see related warning in <a href="renderblock.html">RenderBlock</a>. + </p> + </span> </p> <p> From [email protected] Thu Sep 24 16:31:31 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11840 invoked from network); 24 Sep 2009 16:31:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Sep 2009 16:31:31 -0000 Received: (qmail 588 invoked by uid 500); 24 Sep 2009 16:31:31 -0000 Delivered-To: [email protected] Received: (qmail 520 invoked by uid 500); 24 Sep 2009 16:31:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 511 invoked by uid 99); 24 Sep 2009 16:31:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Sep 2009 16:31:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Sep 2009 16:31:27 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0F11123888E5; Thu, 24 Sep 2009 16:31:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r818538 - in /tapestry/tapestry4/trunk/tapestry-framework/src: java/org/apache/tapestry/html/ java/org/apache/tapestry/markup/ test/org/apache/tapestry/html/ Date: Thu, 24 Sep 2009 16:31:05 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: andyhot Date: Thu Sep 24 16:31:04 2009 New Revision: 818538 URL: http://svn.apache.org/viewvc?rev=818538&view=rev Log: TAPESTRY-2750: Enhance Style component to specifically target IE browsers Added: tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/markup/MarkupUtils.java Modified: tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/Relation.java tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/RelationBean.java tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/Shell.java tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/Style.jwc tapestry/tapestry4/trunk/tapestry-framework/src/test/org/apache/tapestry/html/TestRelation.java Modified: tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/Relation.java URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/Relation.java?rev=818538&r1=818537&r2=818538&view=diff ============================================================================== --- tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/Relation.java (original) +++ tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/Relation.java Thu Sep 24 16:31:04 2009 @@ -1,4 +1,4 @@ -// Copyright Aug 2, 2006 The Apache Software Foundation +// Copyright 2006 - 2009 The Apache Software Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ import org.apache.tapestry.IMarkupWriter; import org.apache.tapestry.IRequestCycle; import org.apache.tapestry.markup.MarkupWriterSource; +import org.apache.tapestry.markup.MarkupUtils; import org.apache.tapestry.util.ContentType; import java.io.PrintWriter; @@ -83,6 +84,10 @@ bean.setRev(getRev()); bean.setTitle(getTitle()); bean.setType(getType()); + + if (isParameterBound("ieCondition")) + bean.setIeCondition(getIeCondition()); + shell.addRelation(bean); } @@ -97,16 +102,24 @@ StringWriter sWriter = new StringWriter(); IMarkupWriter nested = getMarkupWriterSource().newMarkupWriter(new PrintWriter(sWriter), new ContentType(writer.getContentType())); + String ieCondition = getIeCondition(); + if (ieCondition != null) + MarkupUtils.beginConditionalComment(nested, ieCondition); nested.begin("style"); nested.attribute("type", "text/css"); - if (getMedia()!=null) nested.attribute("media", getMedia()); if (getTitle()!=null) nested.attribute("title", getTitle()); renderBody(nested, cycle); + + nested.end(); + + if (ieCondition != null) + MarkupUtils.endConditionalComment(nested); + nested.close(); shell.includeAdditionalContent(sWriter.toString()); @@ -126,6 +139,11 @@ public abstract String getMedia(); + /** + * @since 4.1.7 + */ + public abstract String getIeCondition(); + /* injected */ public abstract MarkupWriterSource getMarkupWriterSource(); Modified: tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/RelationBean.java URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/RelationBean.java?rev=818538&r1=818537&r2=818538&view=diff ============================================================================== --- tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/RelationBean.java (original) +++ tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/RelationBean.java Thu Sep 24 16:31:04 2009 @@ -33,6 +33,8 @@ private String _type; /** Title of the relation. */ private String _title; + /** Condition to allow targeting this relation to IE browsers. */ + private String _ieCondition; public RelationBean() { @@ -98,17 +100,21 @@ _title = title; } + public String getIeCondition() + { + return _ieCondition; + } + + public void setIeCondition(String ieCondition) + { + _ieCondition = ieCondition; + } + public int hashCode() { final int prime = 31; - int result = 1; - result = prime * result + ((_href == null) ? 0 : _href.hashCode()); - result = prime * result + ((_media == null) ? 0 : _media.hashCode()); - result = prime * result + ((_rel == null) ? 0 : _rel.hashCode()); - result = prime * result + ((_rev == null) ? 0 : _rev.hashCode()); - result = prime * result + ((_title == null) ? 0 : _title.hashCode()); - result = prime * result + ((_type == null) ? 0 : _type.hashCode()); - return result; + // href will most probably be the difference between two relations + return prime + ((_href == null) ? 0 : _href.hashCode()); } public boolean equals(Object obj) @@ -135,6 +141,9 @@ if (_type == null) { if (other._type != null) return false; } else if (!_type.equals(other._type)) return false; + if (_ieCondition == null) { + if (other._ieCondition != null) return false; + } else if (!_ieCondition.equals(other._ieCondition)) return false; return true; } Modified: tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/Shell.java URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/Shell.java?rev=818538&r1=818537&r2=818538&view=diff ============================================================================== --- tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/Shell.java (original) +++ tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/Shell.java Thu Sep 24 16:31:04 2009 @@ -1,4 +1,4 @@ -// Copyright 2004, 2005 The Apache Software Foundation +// Copyright 2004 - 2009 The Apache Software Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,6 +17,7 @@ import org.apache.commons.lang.StringUtils; import org.apache.hivemind.HiveMind; import org.apache.tapestry.*; +import org.apache.tapestry.markup.MarkupUtils; import org.apache.tapestry.coerce.ValueConverter; import org.apache.tapestry.engine.IEngineService; import org.apache.tapestry.engine.ILink; @@ -227,6 +228,11 @@ private void writeRelation(IMarkupWriter writer, RelationBean relationBean) { + String ieCondition = relationBean.getIeCondition(); + + if (ieCondition!=null) + MarkupUtils.beginConditionalComment(writer, ieCondition); + writer.beginEmpty("link"); writeAttributeIfNotNull(writer, "rel", relationBean.getRel()); @@ -235,8 +241,13 @@ writeAttributeIfNotNull(writer, "media", relationBean.getMedia()); writeAttributeIfNotNull(writer, "title", relationBean.getTitle()); writeAttributeIfNotNull(writer, "href", relationBean.getHref()); - - writer.println(); + + writer.closeTag(); + + if (ieCondition!=null) + MarkupUtils.endConditionalComment(writer); + else + writer.println(); } private void writeAttributeIfNotNull(IMarkupWriter writer, String name, String value) Modified: tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/Style.jwc URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/Style.jwc?rev=818538&r1=818537&r2=818538&view=diff ============================================================================== --- tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/Style.jwc (original) +++ tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/Style.jwc Thu Sep 24 16:31:04 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright 2004, 2005 The Apache Software Foundation + Copyright 2004 - 2009 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -51,6 +51,14 @@ Specifies on which device this stylesheet will apply. </description> </parameter> + + <parameter name="ieCondition"> + <description> + If specified, the style (or the css file) will only target IE browsers by surrounding the normal output + with a condition comment. That comment starts with &lt;!--[if IE 6]&gt; and ends with &lt;![endif]--&gt; + Possible values for this parameter include IE, IE 6, lt IE 6, gte IE 5 e.t.c. + </description> + </parameter> <property name="type" initial-value="literal:text/css"/> <property name="useBody" initial-value="ognl:true"/> Added: tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/markup/MarkupUtils.java URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/markup/MarkupUtils.java?rev=818538&view=auto ============================================================================== --- tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/markup/MarkupUtils.java (added) +++ tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/markup/MarkupUtils.java Thu Sep 24 16:31:04 2009 @@ -0,0 +1,41 @@ +// Copyright 2009 The Apache Software Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package org.apache.tapestry.markup; + +import org.apache.tapestry.IMarkupWriter; + +/** + * MarkupUtils includes some useful functions related to {@link IMarkupWriter}. + * + * @author Andreas Andreou + */ +public class MarkupUtils { + /* defeat instantiation */ + private MarkupUtils() { } + + public static void beginConditionalComment(IMarkupWriter writer, String condition) + { + writer.println(); + writer.printRaw("<!--[if " + condition + "]>"); + writer.println(); + } + + public static void endConditionalComment(IMarkupWriter writer) + { + writer.println(); + writer.printRaw("<![endif]-->"); + writer.println(); + } +} Modified: tapestry/tapestry4/trunk/tapestry-framework/src/test/org/apache/tapestry/html/TestRelation.java URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/test/org/apache/tapestry/html/TestRelation.java?rev=818538&r1=818537&r2=818538&view=diff ============================================================================== --- tapestry/tapestry4/trunk/tapestry-framework/src/test/org/apache/tapestry/html/TestRelation.java (original) +++ tapestry/tapestry4/trunk/tapestry-framework/src/test/org/apache/tapestry/html/TestRelation.java Thu Sep 24 16:31:04 2009 @@ -1,4 +1,4 @@ -// Copyright 2005 The Apache Software Foundation +// Copyright 2005-2009 The Apache Software Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -14,17 +14,25 @@ package org.apache.tapestry.html; -import static org.easymock.EasyMock.expect; +import java.io.PrintWriter; import org.apache.hivemind.ApplicationRuntimeException; import org.apache.hivemind.Location; import org.apache.tapestry.BaseComponentTestCase; import org.apache.tapestry.IMarkupWriter; import org.apache.tapestry.IRequestCycle; +import org.apache.tapestry.IRender; +import org.apache.tapestry.util.ContentType; +import org.apache.tapestry.markup.MarkupWriterSource; +import org.apache.tapestry.markup.MarkupWriterImpl; +import org.apache.tapestry.markup.AsciiMarkupFilter; import org.testng.annotations.Test; +import static org.easymock.EasyMock.*; +import org.easymock.IAnswer; + /** - * Tests for the {@link org.apache.tapestry.html.Relation}&nbsp; component. + * Tests for the {@link org.apache.tapestry.html.Relation} component. * * @author Andreas Andreou * @since 4.1.1 @@ -32,7 +40,8 @@ @Test(sequential=true) public class TestRelation extends BaseComponentTestCase { - + private static final String SYSTEM_NEWLINE = (String)java.security.AccessController.doPrivileged( + new sun.security.action.GetPropertyAction("line.separator")); /** * Test that Relation does nothing when the entire page is rewinding */ @@ -121,7 +130,64 @@ } verify(); - } + } + + public void testIeStyle() + { + IMarkupWriter writer = newBufferWriter(); + IRequestCycle cycle = newCycle(false); + Location componentLocation = newMock(Location.class); + StringBuffer shellOutput = new StringBuffer(); + + MarkupWriterSource source = newMock(MarkupWriterSource.class); + expect(source.newMarkupWriter(isA(PrintWriter.class), isA(ContentType.class))).andAnswer( + new IAnswer<IMarkupWriter>() { + public IMarkupWriter answer() throws Throwable { + return new MarkupWriterImpl("text/html", + (PrintWriter) getCurrentArguments()[0], + new AsciiMarkupFilter()); + } + } + ); + + Relation relation = newInstance(Relation.class, + "location", componentLocation, + "markupWriterSource", source, + "useBody", true, + "ieCondition", "IE" + ); + + relation.addBody(new IRender() + { + public void render(IMarkupWriter writer, IRequestCycle cycle) + { + writer.print("Some css rules"); + } + }); + + trainResponseBuilder(cycle, writer); + + Shell shell = newInstance(Shell.class, "contentBuffer", shellOutput); + + expect(cycle.renderStackPush(relation)).andReturn(relation); + + trainGetShellFromCycle(cycle, shell); + + expect(cycle.renderStackPop()).andReturn(relation); + + replay(); + + relation.render(writer, cycle); + + // nothing should be output - just pushed to Shell + assertBuffer(""); + + // now check what Shell has gathered + assertEquals(shellOutput.toString(), SYSTEM_NEWLINE + "<!--[if IE]>" + SYSTEM_NEWLINE + + "<style type=\"text/css\">Some css rules</style>" + SYSTEM_NEWLINE + + "<![endif]-->" + SYSTEM_NEWLINE); + verify(); + } protected void trainGetShellFromCycle(IRequestCycle cycle, Shell shell) { From [email protected] Thu Sep 24 18:58:40 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57914 invoked from network); 24 Sep 2009 18:58:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Sep 2009 18:58:39 -0000 Received: (qmail 12701 invoked by uid 500); 24 Sep 2009 18:58:39 -0000 Delivered-To: [email protected] Received: (qmail 12622 invoked by uid 500); 24 Sep 2009 18:58:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 12611 invoked by uid 99); 24 Sep 2009 18:58:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Sep 2009 18:58:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Sep 2009 18:58:35 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 7A64623888FD; Thu, 24 Sep 2009 18:58:14 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r818586 - in /tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry: dojo/AjaxShellDelegate.java html/Shell.java Date: Thu, 24 Sep 2009 18:58:13 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: andyhot Date: Thu Sep 24 18:58:11 2009 New Revision: 818586 URL: http://svn.apache.org/viewvc?rev=818586&view=rev Log: TAPESTRY-2748: Change render order of ajaxDelegate in Shell + output scripts using markupwriter methods directly (and remove usage of sun.security.action.GetPropertyAction) Modified: tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/dojo/AjaxShellDelegate.java tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/Shell.java Modified: tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/dojo/AjaxShellDelegate.java URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/dojo/AjaxShellDelegate.java?rev=818586&r1=818585&r2=818586&view=diff ============================================================================== --- tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/dojo/AjaxShellDelegate.java (original) +++ tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/dojo/AjaxShellDelegate.java Thu Sep 24 18:58:11 2009 @@ -42,9 +42,6 @@ /** Client side critical log level. */ public static final String BROWSER_LOG_CRITICAL="CRITICAL"; - private static final String SYSTEM_NEWLINE= (String)java.security.AccessController.doPrivileged( - new sun.security.action.GetPropertyAction("line.separator")); - /** Default list of pre-bundled dojo supported locales. */ protected String[] SUPPORTED_LOCALES = { "en-us", "de-de", "de", "en-gb", "es-es", "es", "fr-fr", "fr", "zh-cn", @@ -137,43 +134,59 @@ // Write the required script includes and dojo.requires - StringBuffer str = new StringBuffer("<script type=\"text/javascript\">"); - str.append("djConfig = ").append(dojoConfig.toString()) - .append(" </script>") - .append(SYSTEM_NEWLINE).append(SYSTEM_NEWLINE); + writer.begin("script"); + writer.attribute("type", "text/javascript"); + writer.printRaw("djConfig = "); + writer.printRaw(dojoConfig.toString()); + writer.printRaw(" "); + writer.end(); + writer.println(); + writer.println(); // include the core dojo.js package if (_dojoSource!=null) { - str.append("<script type=\"text/javascript\" src=\"") - .append(_dojoSource.buildURL()).append("\"></script>"); + writer.begin("script"); + writer.attribute("type", "text/javascript"); + writer.attribute("src", _dojoSource.buildURL()); + writer.end(); } if (page.hasFormComponents() && _dojoFormSource!=null) { - str.append("<script type=\"text/javascript\" src=\"") - .append(_dojoFormSource.buildURL()).append("\"></script>"); + writer.begin("script"); + writer.attribute("type", "text/javascript"); + writer.attribute("src", _dojoFormSource.buildURL()); + writer.end(); } if (page.hasWidgets() && _dojoWidgetSource!=null) { - str.append("<script type=\"text/javascript\" src=\"") - .append(_dojoWidgetSource.buildURL()).append("\"></script>"); + writer.begin("script"); + writer.attribute("type", "text/javascript"); + writer.attribute("src", _dojoWidgetSource.buildURL()); + writer.end(); } // configure basic dojo properties , logging includes if (_debug) { - String logRequire = _consoleEnabled ? "dojo.require(\"dojo.debug.console\");" + SYSTEM_NEWLINE - : "dojo.require(\"dojo.logging.Logger\");" + SYSTEM_NEWLINE; + String logRequire = _consoleEnabled ? "dojo.require(\"dojo.debug.console\");" + : "dojo.require(\"dojo.logging.Logger\");"; - str.append(SYSTEM_NEWLINE).append("<script type=\"text/javascript\">").append(SYSTEM_NEWLINE); - str.append(logRequire) - .append("dojo.log.setLevel(dojo.log.getLevel(\"").append(_browserLogLevel) - .append("\"));").append(SYSTEM_NEWLINE) - .append("</script>"); + writer.println(); + writer.begin("script"); + writer.attribute("type", "text/javascript"); + writer.println(); + writer.printRaw(logRequire); + writer.println(); + writer.printRaw("dojo.log.setLevel(dojo.log.getLevel(\""); + writer.printRaw(_browserLogLevel); + writer.printRaw("\"));"); + writer.println(); + writer.end(); } // module path registration to tapestry javascript sources @@ -186,29 +199,42 @@ tapestryUrl = tapestryUrl.substring(0, tapestryUrl.length() - 1); } - str.append(SYSTEM_NEWLINE).append("<script type=\"text/javascript\">").append(SYSTEM_NEWLINE) - .append("dojo.registerModulePath(\"tapestry\", \"") - .append(tapestryUrl).append("\");").append(SYSTEM_NEWLINE); - str.append("</script>").append(SYSTEM_NEWLINE); + writer.println(); + writer.begin("script"); + writer.attribute("type", "text/javascript"); + writer.println(); + writer.printRaw("dojo.registerModulePath(\"tapestry\", \""); + writer.printRaw(tapestryUrl); + writer.printRaw("\");"); + writer.println(); + writer.end(); + writer.println(); } // include core tapestry.js package if (_tapestrySource!=null) { - str.append("<script type=\"text/javascript\" src=\"") - .append(_tapestrySource.buildURL()).append("\"></script>"); + writer.begin("script"); + writer.attribute("type", "text/javascript"); + writer.attribute("src", _tapestrySource.buildURL()); + writer.end(); } // namespace registration - str.append(SYSTEM_NEWLINE).append("<script type=\"text/javascript\">").append(SYSTEM_NEWLINE); - str.append("dojo.require(\"tapestry.namespace\");").append(SYSTEM_NEWLINE) - .append("tapestry.requestEncoding='") - .append(cycle.getEngine().getOutputEncoding()).append("';") - .append(SYSTEM_NEWLINE).append("</script>"); + writer.println(); + writer.begin("script"); + writer.attribute("type", "text/javascript"); + writer.println(); + writer.printRaw("dojo.require(\"tapestry.namespace\");"); + writer.println(); + writer.printRaw("tapestry.requestEncoding='"); + writer.printRaw(cycle.getEngine().getOutputEncoding()); + writer.printRaw("';"); + writer.println(); + writer.end(); - writer.printRaw(str.toString()); writer.println(); } Modified: tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/Shell.java URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/Shell.java?rev=818586&r1=818585&r2=818586&view=diff ============================================================================== --- tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/Shell.java (original) +++ tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/Shell.java Thu Sep 24 18:58:11 2009 @@ -99,11 +99,6 @@ if (delegate != null) delegate.render(writer, cycle); - IRender ajaxDelegate = getAjaxDelegate(); - - if (ajaxDelegate != null) - ajaxDelegate.render(writer, cycle); - IAsset stylesheet = getStylesheet(); if (stylesheet != null) @@ -131,6 +126,11 @@ if (relations != null) writeRelations(writer, relations); + IRender ajaxDelegate = getAjaxDelegate(); + + if (ajaxDelegate != null) + ajaxDelegate.render(writer, cycle); + StringBuffer additionalContent = getContentBuffer(); if (additionalContent != null) writer.printRaw(additionalContent.toString()); From [email protected] Thu Sep 24 19:01:59 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59871 invoked from network); 24 Sep 2009 19:01:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Sep 2009 19:01:59 -0000 Received: (qmail 17626 invoked by uid 500); 24 Sep 2009 19:01:59 -0000 Delivered-To: [email protected] Received: (qmail 17566 invoked by uid 500); 24 Sep 2009 19:01:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 17557 invoked by uid 99); 24 Sep 2009 19:01:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Sep 2009 19:01:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Sep 2009 19:01:47 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 912592388904; Thu, 24 Sep 2009 19:01:26 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r818589 - in /tapestry/tapestry4/trunk/src/site: site.xml xdoc/components/general/shell.xml xdoc/components/general/style.xml Date: Thu, 24 Sep 2009 19:01:26 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: andyhot Date: Thu Sep 24 19:01:25 2009 New Revision: 818589 URL: http://svn.apache.org/viewvc?rev=818589&view=rev Log: TAPESTRY-2748: docs Modified: tapestry/tapestry4/trunk/src/site/site.xml tapestry/tapestry4/trunk/src/site/xdoc/components/general/shell.xml tapestry/tapestry4/trunk/src/site/xdoc/components/general/style.xml Modified: tapestry/tapestry4/trunk/src/site/site.xml URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/src/site/site.xml?rev=818589&r1=818588&r2=818589&view=diff ============================================================================== --- tapestry/tapestry4/trunk/src/site/site.xml (original) +++ tapestry/tapestry4/trunk/src/site/site.xml Thu Sep 24 19:01:25 2009 @@ -28,9 +28,9 @@ </links> <head> + <link rel="shortcut icon" href="http://tapestry.apache.org/tapestry4.1/favicon.ico" /> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript">_uacct = "UA-400821-1"; urchinTracker();</script> - <link rel="shortcut icon" href="http://tapestry.apache.org/tapestry4.1/favicon.ico" /> </head> <menu ref="parent" /> @@ -190,7 +190,8 @@ <item name="Archetype" href="/tapestry-archetype/index.html" /> </menu> - ${reports} + <menu ref="reports"></menu> + </body> </project> Modified: tapestry/tapestry4/trunk/src/site/xdoc/components/general/shell.xml URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/src/site/xdoc/components/general/shell.xml?rev=818589&r1=818588&r2=818589&view=diff ============================================================================== --- tapestry/tapestry4/trunk/src/site/xdoc/components/general/shell.xml (original) +++ tapestry/tapestry4/trunk/src/site/xdoc/components/general/shell.xml Thu Sep 24 19:01:25 2009 @@ -214,6 +214,27 @@ includes to be overriden. </td> </tr> + </table> + + <p> + Parameters used to configure the default + <a href="../../apidocs/org/apache/tapestry/dojo/AjaxShellDelegate.html">ajaxDelegate</a> : + <span class="info"> + <strong>Info:</strong> + <p>If you've bound the ajaxDelegate parameter to a custom value, + the parameters that follow will not be used (usually those + custom delegates will provide different means for configuration). </p> + </span> + </p> + + <table> + <tr> + <th>Name</th> + <th>Type</th> + <th>Required</th> + <th>Default</th> + <th>Description</th> + </tr> <tr> <td>browserLogLevel</td> <td>String - One of [DEBUG,INFO,WARNING,ERROR,CRITICAL]</td> @@ -383,6 +404,37 @@ </section> + <section name="Order of Rendered Content"> + + <ul> + <li>Doctype</li> + <li>Tapestry metadata as comments (optional)</li> + <li><code>&lt;html&gt;</code> with informal parameters</li> + <li><code>&lt;head&gt;</code></li> + <li><code>&lt;meta&gt;</code> related to content generator, caching, content type and refresh (optional)</li> + <li><code>&lt;base&gt;</code> (optional)</li> + <li><code>&lt;title&gt;</code></li> + <li>Rendering of delegate parameter</li> + <li>Stylesheets as defined in the stylesheet and stylesheets parameters</li> + <li>Stylesheets and <code>&lt;link&gt;</code> to documents as discovered + from <a href="style.html">Style</a> and <a href="relation.html">Relation</a> components within the rendered page + </li> + <li>Rendering of ajaxDelegate parameter + <span class="info"> + <strong>Info:</strong> + <p>Prior to 4.1.7, the ajaxDelegate would render one step earlier + (before the <a href="style.html">Style</a> and <a href="relation.html">Relation</a> components) + </p> + </span> + </li> + <li>Rendering of any additional content included via <a href="../../apidocs/org/apache/tapestry/html/Shell.html#includeAdditionalContent(java.lang.String)">Shell#includeAdditionalContent(String)</a> + </li> + <li><code>&lt;/head&gt;</code></li> + <li>Rendering of the component's body</li> + <li><code>&lt;/html&gt;</code> and optional comment with the elapsed render time</li> + </ul> + </section> + <section name="Examples"> Modified: tapestry/tapestry4/trunk/src/site/xdoc/components/general/style.xml URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/src/site/xdoc/components/general/style.xml?rev=818589&r1=818588&r2=818589&view=diff ============================================================================== --- tapestry/tapestry4/trunk/src/site/xdoc/components/general/style.xml (original) +++ tapestry/tapestry4/trunk/src/site/xdoc/components/general/style.xml Thu Sep 24 19:01:25 2009 @@ -87,6 +87,15 @@ <td></td> <td>Specifies on which device this stylesheet will apply.</td> </tr> + + <tr> + <td>ieCondition</td> + <td>String</td> + <td>no</td> + <td></td> + <td>If specified, the normal output of the component will be wrapped within a conditional comment + using the provided condition. Useful for targeting the styles or the css to specific IE browsers.</td> + </tr> </table> <p> From [email protected] Thu Sep 24 23:54:07 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79334 invoked from network); 24 Sep 2009 23:54:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Sep 2009 23:54:07 -0000 Received: (qmail 60875 invoked by uid 500); 24 Sep 2009 23:54:07 -0000 Delivered-To: [email protected] Received: (qmail 60834 invoked by uid 500); 24 Sep 2009 23:54:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.tapestry.apache.org> Reply-To: "Tapestry development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 60824 invoked by uid 99); 24 Sep 2009 23:54:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Sep 2009 23:54:05 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f219.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Sep 2009 23:53:53 +0000 Received: by bwz19 with SMTP id 19so1850126bwz.35 for <[email protected]>; Thu, 24 Sep 2009 16:53:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=uxClVIXadYh5jvjHE0s1af0SQNFisdtfxlGW1MGeIYs=; b=lBsoAa0Dge1LyTjPs9aJa/ebsTJytlASSvLUKU66X3B3xt3y4fNsDFpSDbN1oaPKGC 34CZk7t5vcnnSwtqxUCPaewRAhKkia6GAoEuh+HlQ0LesOW7I3DqFEl8Vo7L0SzhTXU1 TB8p9vf9c7fLhTJW4EV3PVvnyrRP4+nCtrLdM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=hB4hklKOdPKxG9slDRhMtoRn2rIiMRxLcBd6LeQUBdOEdHTxPQdr8SWskVVrPlBx14 xxnDRoJMU+oDZZrD7YlYnzk9cHnHpH+EoL+y4Xhh8qnUUMDaip0IWD866nlihAlbDUQQ CMG5amSuGxsEJq8H2Rm0yzqTn7NIj2J1fHLDw= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id p33mr1717540muj.132.1253836412884; Thu, 24 Sep 2009 16:53:32 -0700 (PDT) Date: Fri, 25 Sep 2009 02:53:32 +0300 Message-ID: <[email protected]> Subject: [DISCUSS+VOTE] Use Nexus repository manager for snapshots/releases deployment From: Andreas Andreou <[email protected]> To: Tapestry development <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'd like to go forward with this - at last :) - for quite a few reasons, but the most important being 1) not wanting us to lose metadata - see https://issues.apache.org/jira/browse/TAPESTRY-2718) and 2) easier staging of snapshots, easier voting of a release (candidate) and easier promoting to release Some pointers on the process are: http://issues.apache.org/jira/browse/INFRA-1896 and (most importantly) http://maven.apache.org/developers/release/releasing.html The changes that i foresee once we agree to this: - open a jira to track our changes - add a subtask in http://issues.apache.org/jira/browse/INFRA-1896 - change our parent pom to include as parent org.apache.apache version 6, see http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/apache/6/apache-6.pom - remove definitions of distributionManagement.repository and distributionManagement.snapshotRepository The org.apache.apache parent pom takes care of that - Never deploy to the old repositories - nexus will copy everything from there and infra should mark the folders read-only at some point. - Update and republish our Release Checklist to align with http://maven.apache.org/developers/release/releasing.html (which btw would resolve https://issues.apache.org/jira/browse/TAPESTRY-2718) The code changes should be applied to all trunks (i'm willing to work on all those), i.e. https://svn.apache.org/repos/asf/tapestry/tapestry4/trunk/ https://svn.apache.org/repos/asf/tapestry/tapestry5/trunk https://svn.apache.org/repos/asf/tapestry/tapestry5/branches/5.0/ The only potential problem i can think of is dealing with the common files that exist in both http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/tapestry/ and http://people.apache.org/~hlship/tapestry-ibiblio-rsynch-repository/ I'm thinking in the worst case this will be the last manual patching we'll need to do. Anyway, I'd like to open this for discussion - if there's no major objections, we turn this into a vote and start with the changes -- Andreas Andreou - [email protected] - http://blog.andyhot.gr Tapestry / Tacos developer Open Source / JEE Consulting --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Sep 24 23:56:44 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80151 invoked from network); 24 Sep 2009 23:56:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Sep 2009 23:56:43 -0000 Received: (qmail 62300 invoked by uid 500); 24 Sep 2009 23:56:43 -0000 Delivered-To: [email protected] Received: (qmail 62222 invoked by uid 500); 24 Sep 2009 23:56:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 62210 invoked by uid 99); 24 Sep 2009 23:56:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Sep 2009 23:56:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Sep 2009 23:56:34 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 25380238897A; Thu, 24 Sep 2009 23:56:14 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r818667 - /tapestry/tapestry4/trunk/pom.xml Date: Thu, 24 Sep 2009 23:56:14 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: andyhot Date: Thu Sep 24 23:56:13 2009 New Revision: 818667 URL: http://svn.apache.org/viewvc?rev=818667&view=rev Log: remove unused snapshot repo, update urls to apache repos Modified: tapestry/tapestry4/trunk/pom.xml Modified: tapestry/tapestry4/trunk/pom.xml URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/pom.xml?rev=818667&r1=818666&r2=818667&view=diff ============================================================================== --- tapestry/tapestry4/trunk/pom.xml (original) +++ tapestry/tapestry4/trunk/pom.xml Thu Sep 24 23:56:13 2009 @@ -399,13 +399,14 @@ </tag> </tags> <links> - <link>http://hivemind.apache.org/hivemind/apidocs/</link> + <link>http://hivemind.apache.org/hivemind1/hivemind/apidocs/</link> <link>http://java.sun.com/j2se/1.4.2/docs/api/</link> <link>http://java.sun.com/products/servlet/2.3/javadoc/</link> <link>http://jakarta.apache.org/commons/codec/api-release/</link> <link>http://jakarta.apache.org/commons/fileupload/apidocs/</link> <link>http://jakarta.apache.org/commons/logging/apidocs/</link> - <link>http://www.ognl.org/2.6.9/Documentation/javadoc/</link> + <!--link>http://www.ognl.org/2.6.9/Documentation/javadoc/</link--> + <link>http://www.opensymphony.com/ognl/api/</link> </links> <stylesheetfile>${basedir}/src/site/resources/css/jdstyle.css</stylesheetfile> </configuration> @@ -437,18 +438,7 @@ <repositories> <repository> <id>apache.snapshots</id> - <url>http://people.apache.org/repo/m2-snapshot-repository</url> - </repository> - <repository> - <id>opencomponentry.com</id> - <name>Open Componentry OGNL Repository</name> - <url>http://opencomponentry.com/repository/m2-snapshot-repo</url> - <releases> - <enabled>false</enabled> - </releases> - <snapshots> - <enabled>true</enabled> - </snapshots> + <url>http://repository.apache.org/snapshots</url> </repository> <repository> <id>openqa</id> @@ -460,7 +450,7 @@ <pluginRepositories> <pluginRepository> <id>apache.snapshots</id> - <url>http://people.apache.org/repo/m2-snapshot-repository</url> + <url>http://repository.apache.org/snapshots</url> <snapshots> <enabled>true</enabled> </snapshots> From [email protected] Fri Sep 25 00:04:05 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81222 invoked from network); 25 Sep 2009 00:04:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Sep 2009 00:04:05 -0000 Received: (qmail 64806 invoked by uid 500); 25 Sep 2009 00:04:04 -0000 Delivered-To: [email protected] Received: (qmail 64781 invoked by uid 500); 25 Sep 2009 00:04:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.tapestry.apache.org> Reply-To: "Tapestry development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 64771 invoked by uid 99); 25 Sep 2009 00:04:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 00:04:04 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-gx0-f223.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 00:03:53 +0000 Received: by gxk23 with SMTP id 23so549282gxk.2 for <[email protected]>; Thu, 24 Sep 2009 17:03:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:to:subject:from :content-type:mime-version:references:content-transfer-encoding :message-id:in-reply-to:user-agent; bh=N3zxNBiROdN/MiSWAY0RcJ349OheMxx9i9xQvJAzJ80=; b=selMyToer8uHeVPtXeYJ6KdUTZzQKj+QkeaP3FoBjPvnHUk46YYRjIXQZgHOCK5Tzx iB8U39/7SMTp2ygoa2GhkSg0rLNlkclU7pDIWODUXVAkFhht+AJ+G4Mm0aKeSa7uZ8ZC MVyaB56kodWnKRe7yffoT48IqU5QD5/P9anYE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:subject:from:content-type:mime-version:references :content-transfer-encoding:message-id:in-reply-to:user-agent; b=fynkZSHMhQI/EQwqkTUr6UE37tn1lCsIVyQlh8pQluy701qyw+PszdsZOvYWVXMwzx FBdWFqRUL/4ZT1b5bvyjUR3Z8D+3K4zYgXUEVwvBYELgebxPu3vKMir1jRM/Di+mSCQz 0eVZiHCkzTXcX3z7hZhiAC4WHEXgWJFTnOack= Received: by 161.129.204.104 with SMTP id f15mr328066ago.77.1253837012745; Thu, 24 Sep 2009 17:03:32 -0700 (PDT) Received: from arsmachina (bhe201062191164.res-com.wayinternet.com.br [161.129.204.104]) by mx.google.com with ESMTPS id 4sm700644agc.44.2161.129.204.104.03.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 24 Sep 2009 17:03:32 -0700 (PDT) Date: Thu, 24 Sep 2009 21:03:18 -0300 To: "Tapestry development" <[email protected]> Subject: Re: [DISCUSS+VOTE] Use Nexus repository manager for snapshots/releases deployment From: "Thiago H. de Paula Figueiredo" <[email protected]> Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 MIME-Version: 1.0 References: <[email protected]> Content-Transfer-Encoding: 7bit Message-ID: <op.u0sc3shi18r83n@arsmachina> In-Reply-To: <[email protected]> User-Agent: Opera Mail/9.64 (Linux) X-Virus-Checked: Checked by ClamAV on apache.org Thiago H. de Paula Figueiredo: +1 (non-binding) -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor http://www.arsmachina.com.br/thiago --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Sep 25 01:10:27 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 368 invoked from network); 25 Sep 2009 01:10:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Sep 2009 01:10:27 -0000 Received: (qmail 11697 invoked by uid 500); 25 Sep 2009 01:10:27 -0000 Delivered-To: [email protected] Received: (qmail 11682 invoked by uid 500); 25 Sep 2009 01:10:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.tapestry.apache.org> Reply-To: "Tapestry development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 11672 invoked by uid 99); 25 Sep 2009 01:10:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 01:10:27 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO qw-out-2122.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 01:10:17 +0000 Received: by qw-out-2122.google.com with SMTP id 9so760106qwb.59 for <[email protected]>; Thu, 24 Sep 2009 18:09:56 -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=gSFOKzXi5FI4E/k2rVXngKvt8dF+R7ZVNEDwEZawPnE=; b=LKkbLxadUOQXnQ7p98TCrhP9Pffd8ul3M6BuPROkrXx9kMlNxoDirz3kjxyRkecEaB wHX0l7S5aiVzyraV4TyZ2bkxivJh3hHjHq0r+aDgPQ1OzyhDgb49TuXq7Gl4ceOzCMt9 lykWvftmuUSn6wJIiGFTrSaTKnMrUCkdyLCGw= 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=L351z1wFXB0zxCRkwos0ADlq6Au0EJsLFLpg0SA6gCiVLSVUbH27FfyZUh7BJ7ntZx 2A+Vb78RjYhGCH5XPxxXXFum2tiAengE22KqtNxZcLmvrjfaVL7y86WpR80nIDv54W+D zkVFuFOaY5qpoOVPThNInrU6D1IiFg/n/IpsE= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id c13mr3991042qao.21.1253840996635; Thu, 24 Sep 2009 18:09:56 -0700 (PDT) In-Reply-To: <op.u0sc3shi18r83n@arsmachina> References: <[email protected]> <op.u0sc3shi18r83n@arsmachina> Date: Thu, 24 Sep 2009 18:09:56 -0700 Message-ID: <[email protected]> Subject: Re: [DISCUSS+VOTE] Use Nexus repository manager for snapshots/releases deployment From: Howard Lewis Ship <[email protected]> To: Tapestry development <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Can you provide some background about how Nexus would fit into our processes? Also, why are changes necessary back to Tapestry 5.0? What about 5.1? Shouldn't this be an issue for 5.2 and beyond? I've also been nervous about some of Maven's release plugin ... the idea that it will edit the poms and check them back into source control ... is this really what it does? On Thu, Sep 24, 2009 at 5:03 PM, Thiago H. de Paula Figueiredo <[email protected]> wrote: > Thiago H. de Paula Figueiredo: +1 (non-binding) > > -- > Thiago H. de Paula Figueiredo > Independent Java consultant, developer, and instructor > http://www.arsmachina.com.br/thiago > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! 859-838-3298 http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Sep 25 02:08:57 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11981 invoked from network); 25 Sep 2009 02:08:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Sep 2009 02:08:57 -0000 Received: (qmail 76852 invoked by uid 500); 25 Sep 2009 02:08:57 -0000 Delivered-To: [email protected] Received: (qmail 76798 invoked by uid 500); 25 Sep 2009 02:08:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.tapestry.apache.org> Reply-To: "Tapestry development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 76788 invoked by uid 99); 25 Sep 2009 02:08:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 02:08:56 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f219.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 02:08:45 +0000 Received: by bwz19 with SMTP id 19so1896441bwz.35 for <[email protected]>; Thu, 24 Sep 2009 19:08:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=oMEf+9SuWrVnsTa0iZAlO4Jv1hb0XeIccvPpG+QC5Eo=; b=i+oFmioeQZIy2QooOcx9oy8gr+IIMKWcuXchmVFT1B62NktL9mficbPCwORtsiN427 eU8/HeTt+PkiPUHo4LiL8oA1OsKCcLGfvHf8XpKSy2HnnY5MCyfUknP4w7XEPMaAcsh+ 4MsfcE2mMTTPpNF0l2R2TJBiy6pw6gbTP4/WY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=nUhztQwgMnwdDXbqgU9gbmkMcyoabymVa4zc6g7D+PL0SuZB6TSTIkVrVVWJH7r9SU wxn55U1JA+xNcSkIaLEHpYI/cB36FruUQNIfugA+ScC1DUMclO5h06IYNXckW33NV4qf AbLU5E20NdmvAtlS7tXk4VnNjR6yy9l8wbNzs= MIME-Version: 1.0 Sender: [email protected] Received: by 161.129.204.104 with SMTP id c35mr1793587mun.30.1253844504516; Thu, 24 Sep 2009 19:08:24 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <op.u0sc3shi18r83n@arsmachina> <[email protected]> Date: Fri, 25 Sep 2009 05:08:24 +0300 X-Google-Sender-Auth: ca716a6f5db5d6b6 Message-ID: <[email protected]> Subject: Re: [DISCUSS+VOTE] Use Nexus repository manager for snapshots/releases deployment From: Andreas Andreou <[email protected]> To: Tapestry development <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org well, moving deploy repos from people.apache.org to repository.apache.org is no big deal & doesn't really change our process - nexus is transparently involved... it just 'knows' about the artifacts and can show lots of info in its UI, but we don't really mind yet= . Now, as soon as we're ready for a release to be voted, we do mvn release:perform log into nexus and 'close' the staging repository. This gives back a repository URL that holds the artifacts to be voted, and we include that in= the voting email. Once the voting passes, we log in nexus and 'promote' the release, e.t.c. I proposed updating the poms to all trunks so that IF someone decides to work in an old version, he doesn't accidentally deploy to the old repos... if 5.0 trunk is closed and sealed and it's guaranteed no one will work there, then we can leave that out. wrt Maven's release plugin, i know other ppl here adore it. Apart from changing the poms (when you try to release and haven't changed versions yourself, it goes through all SNAPSHOT versions and asks if you want to set them to release - if you don't, it aborts the release), it also creates a tag in the svn :) Don't ppl just love that? On Fri, Sep 25, 2009 at 4:09 AM, Howard Lewis Ship <[email protected]> wrote= : > Can you provide some background about how Nexus would fit into our proces= ses? > > Also, why are changes necessary back to Tapestry 5.0? =A0What about 5.1? > =A0Shouldn't this be an issue for 5.2 and beyond? > > I've also been nervous about some of Maven's release plugin ... the > idea that it will edit the poms and check them back into source > control ... is this really what it does? > > On Thu, Sep 24, 2009 at 5:03 PM, Thiago H. de Paula Figueiredo > <[email protected]> wrote: >> Thiago H. de Paula Figueiredo: +1 (non-binding) >> >> -- >> Thiago H. de Paula Figueiredo >> Independent Java consultant, developer, and instructor >> http://www.arsmachina.com.br/thiago >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > > > -- > Howard M. Lewis Ship > > Creator of Apache Tapestry > > The source for Tapestry training, mentoring and support. Contact me to > learn how I can get you up and productive in Tapestry fast! > > 859-838-3298 > http://howardlewisship.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --=20 Andreas Andreou - [email protected] - http://blog.andyhot.gr Tapestry / Tacos developer Open Source / JEE Consulting --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Sep 25 02:29:41 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14455 invoked from network); 25 Sep 2009 02:29:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Sep 2009 02:29:41 -0000 Received: (qmail 89833 invoked by uid 500); 25 Sep 2009 02:29:40 -0000 Delivered-To: [email protected] Received: (qmail 89752 invoked by uid 500); 25 Sep 2009 02:29:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 89743 invoked by uid 99); 25 Sep 2009 02:29:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 02:29:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 02:29:37 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 38518234C004 for <[email protected]>; Thu, 24 Sep 2009 19:29:16 -0700 (PDT) Message-ID: <859-838-3298.1253845756216.JavaMail.jira@brutus> Date: Thu, 24 Sep 2009 19:29:16 -0700 (PDT) From: "maxyu (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (TAP5-818) JDK5 Generic is not supported by property chain MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] maxyu updated TAP5-818: ----------------------- Component/s: tapestry-core Affects Version/s: 161.129.204.104 > JDK5 Generic is not supported by property chain > ----------------------------------------------- > > Key: TAP5-818 > URL: https://issues.apache.org/jira/browse/TAP5-818 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 161.129.204.104 > Environment: Tapestry 161.129.204.104 > JDK5 > Reporter: maxyu > > Below is the example > KeyedObject.java:used to store string keyed object > import java.util.*; > import java.util.Map.Entry; > public class KeyedObject<T> { > private String key; > private T value; > public String getKey() { > return key; > } > public void setKey(String key) { > this.key = key; > } > public T getValue() { > return value; > } > public void setValue(T value) { > this.value = value; > } > } > page java class:dbpools simply put BasicDataSource and its key name into a KeyObject list > import java.util.Iterator; > import java.util.LinkedList; > import java.util.List; > import java.util.Map; > import java.util.Map.Entry; > import org.apache.commons.dbcp.BasicDataSource; > import org.apache.tapestry5.annotations.Property; > import org.apache.tapestry5.ioc.annotations.Inject; > import com.elite.predictob.EliteOBManagerProxy; > import com.elite.predictob.KeyedObject; > public class dbpools { > @Inject > private EliteOBManagerProxy proxy; > > @Property > private KeyedObject<BasicDataSource> datasource; > > public List<KeyedObject<BasicDataSource>> getDatasources() > { > Map dbmap=proxy.getManager().getDataSources(); > synchronized (dbmap) { > List<KeyedObject<BasicDataSource>> list=new LinkedList<KeyedObject<BasicDataSource>>(); > Iterator<Entry<String,BasicDataSource>> it=dbmap.entrySet().iterator(); > while(it.hasNext()){ > Entry<String,BasicDataSource> entry=it.next(); > KeyedObject<BasicDataSource> obj=new KeyedObject<BasicDataSource>(); > obj.setKey(entry.getKey()); > obj.setValue(entry.getValue()); > list.add(obj); > } > return list; > } > } > } > page template: > <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd" > xmlns:p="tapestry:parameter" > xmlns:cl="cl"> > <head> > <t:elite.cachecontrol.cachecontrol/> > <title>${message:dbpoolconfig}</title> > </head> > <body> > <table border="1"> > <tr t:type="loop" t:element="tr" t:source="datasources" value="datasource"> > <td>${datasource.key}</td><td>${datasource.value.numActive}</td> > </tr> > </table> > </body> > </html> > ${datasource.value.numActive} will cause following error: > Could not convert 'datasource.value.numActive' into a component parameter binding: Class java.lang.Object does not contain a property named 'numActive' (within property expression 'datasource.value.numActive'). Available properties: class. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Sep 25 17:04:48 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47972 invoked from network); 25 Sep 2009 17:04:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Sep 2009 17:04:48 -0000 Received: (qmail 38405 invoked by uid 500); 25 Sep 2009 17:04:48 -0000 Delivered-To: [email protected] Received: (qmail 38311 invoked by uid 500); 25 Sep 2009 17:04:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 38302 invoked by uid 99); 25 Sep 2009 17:04:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 17:04:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 17:04:45 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 7F13223888DC; Fri, 25 Sep 2009 17:04:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r818917 - /tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/ Date: Fri, 25 Sep 2009 17:04:25 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: andyhot Date: Fri Sep 25 17:04:24 2009 New Revision: 818917 URL: http://svn.apache.org/viewvc?rev=818917&view=rev Log: TAPESTRY-2251 bunch of link renderer test + demonstrate issue Added: tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/ tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/BaseLinkRendererTestCase.java tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/TestAreaLinkRenderer.java tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/TestButtonLinkRenderer.java tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/TestFormLinkRenderer.java tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/TestPopupLinkRenderer.java tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/TestRawURLLinkRenderer.java Added: tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/BaseLinkRendererTestCase.java URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/BaseLinkRendererTestCase.java?rev=818917&view=auto ============================================================================== --- tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/BaseLinkRendererTestCase.java (added) +++ tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/BaseLinkRendererTestCase.java Fri Sep 25 17:04:24 2009 @@ -0,0 +1,170 @@ +// Copyright 2009 The Apache Software Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +package org.apache.tapestry.contrib.link; + +import org.apache.tapestry.*; +import org.apache.tapestry.spec.IComponentSpecification; +import org.apache.tapestry.engine.ILink; +import org.apache.tapestry.components.ILinkComponent; +import org.apache.tapestry.link.ILinkRenderer; +import org.apache.tapestry.link.DirectLink; +import org.easymock.IAnswer; +import static org.easymock.EasyMock.*; + +/** + * Helper to test {@link ILinkRenderer} instances. + * @author Andreas Andreou + */ +public class BaseLinkRendererTestCase extends BaseComponentTestCase { + /** + * Asserts the direct output (and the scripts written to the body) of an + * {@link ILinkRenderer}. + */ + protected void assertLinkRenderer(ILinkRenderer linkRenderer, ILinkComponent linkComponent, + String output, String bodyScript) { + StringBuffer sb = new StringBuffer(); + final IMarkupWriter writer = newBufferWriter(); + final IRequestCycle cycle = newCycleAnyTimes(false); + trainUniqueIdAnyTimes(cycle); + trainGetSupportAnyTimes(cycle, sb); + + trainGetSetRemoveAttribute(cycle, Tapestry.LINK_COMPONENT_ATTRIBUTE_NAME, null, linkComponent); + + replay(); + + linkRenderer.renderLink(writer, cycle, linkComponent); + + assertBuffer(output); + assertEquals(sb.toString(), bodyScript); + + verify(); + } + + /** + * Generates a link component to be used along with {@link #assertLinkRenderer(ILinkRenderer, ILinkComponent, String, String)} + * for testing {@link ILinkRenderer} instances.<p/> + * Users can provide the url, disabled, target and anchor formal parameters and a key-value list + * of informal parameters. + */ + protected ILinkComponent newLinkComponent(String url, boolean disabled, String target, String anchor, + Object...informals) { + final ILink link = newLink(); + expect(link.getURL(anchor, true)).andReturn(url).anyTimes(); + expect(link.getURL(anchor, false)).andReturn(url).anyTimes(); + expect(link.getURL( (String) anyObject(), (String) anyObject(), anyInt(), (String) anyObject(), anyBoolean() )).andReturn(url).anyTimes(); + expect(link.getAbsoluteURL()).andReturn(url).anyTimes(); + final IComponentSpecification specification = newMock(IComponentSpecification.class); + TestButtonLinkRenderer.ExtraLink directLink = newInstance(TestButtonLinkRenderer.ExtraLink.class, "disabled", disabled, + "target", target, "anchor", anchor, "link", link, "specification", specification); + + for (int i=0; i<informals.length; i+=2) { + if (i+1>=informals.length) { + break; + } + directLink.setBinding((String) informals[i], newBindingAnyTimes(informals[i+1])); + expect(specification.getParameter((String) informals[i])).andReturn(null).anyTimes(); + } + + return directLink; + } + + protected IRequestCycle newCycleAnyTimes(boolean rewinding) { + final IRequestCycle cycle = newCycle(); + expect(cycle.isRewinding()).andReturn(rewinding).anyTimes(); + return cycle; + } + + protected void trainUniqueIdAnyTimes(IRequestCycle cycle) { + expect(cycle.getUniqueId(isA(String.class))).andAnswer(new IAnswer<String>(){ + public String answer() throws Throwable { + return (String) getCurrentArguments()[0]; + } + }).anyTimes(); + } + + protected void trainGetSetRemoveAttribute(IRequestCycle cycle, String attribute, + Object oldValue, Object newValue) { + expect(cycle.getAttribute(attribute)).andReturn(oldValue).anyTimes(); + + cycle.setAttribute(attribute, newValue); + expectLastCall().anyTimes(); + + cycle.removeAttribute(attribute); + expectLastCall().anyTimes(); + } + + protected void trainGetSupportAnyTimes(IRequestCycle cycle, final StringBuffer sb) + { + PageRenderSupport support = newMock(PageRenderSupport.class); + expect(cycle.getAttribute(TapestryUtils.PAGE_RENDER_SUPPORT_ATTRIBUTE)).andReturn(support).anyTimes(); + expect(support.getUniqueString(isA(String.class))).andAnswer(new IAnswer<String>(){ + private int count = 0; + public String answer() throws Throwable { + return getCurrentArguments()[0] + "_" + (count++); + } + }).anyTimes(); + support.addBodyScript(isA(IComponent.class), isA(String.class)); + expectLastCall().andStubAnswer(new IAnswer<Object>(){ + public Object answer() throws Throwable { + String js = (String) getCurrentArguments()[1]; + sb.append(js); + return null; + } + }); + + } + + protected IBinding newBindingAnyTimes(Object value) { + IBinding binding = newMock(IBinding.class); + checkOrder(binding, false); + + expect(binding.getObject()).andReturn(value).anyTimes(); + expect(binding.getObject(isA(Class.class))).andReturn(value).anyTimes(); + return binding; + } + + /** + * A {@link DirectLink} subclass to get around some limitations during testing. It allows + * defining the link and specification to be used/returned and sets the stateful flag to false. + */ + public static abstract class ExtraLink extends DirectLink { + private ILink link; + IComponentSpecification specification; + + public boolean isStateful() { + return false; + } + + public ILink getLink(IRequestCycle cycle) { + return link; + } + + public ILink getLink() { + return link; + } + + public void setLink(ILink link) { + this.link = link; + } + + @Override + public IComponentSpecification getSpecification() { + return specification; + } + + public void setSpecification(IComponentSpecification specification) { + this.specification = specification; + } + } +} Added: tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/TestAreaLinkRenderer.java URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/TestAreaLinkRenderer.java?rev=818917&view=auto ============================================================================== --- tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/TestAreaLinkRenderer.java (added) +++ tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/TestAreaLinkRenderer.java Fri Sep 25 17:04:24 2009 @@ -0,0 +1,36 @@ +// Copyright 2009 The Apache Software Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +package org.apache.tapestry.contrib.link; + +import org.apache.tapestry.components.ILinkComponent; +import org.apache.tapestry.link.ILinkRenderer; +import org.testng.annotations.Test; + +/** + * Tests {@link AreaLinkRenderer}. + * @author Andreas Andreou + */ +public class TestAreaLinkRenderer extends BaseLinkRendererTestCase { + + @Test + public void testRenderer() { + final ILinkRenderer linkRenderer = new AreaLinkRenderer(); + final ILinkComponent linkComponent = newLinkComponent("my.site", false, null, null, + "class", "info", "onclick", "alert('hi')"); + + assertLinkRenderer(linkRenderer, linkComponent, + "<area onclick=\"alert('hi')\" class=\"info\" href=\"my.site\" />", + ""); + } +} \ No newline at end of file Added: tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/TestButtonLinkRenderer.java URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/TestButtonLinkRenderer.java?rev=818917&view=auto ============================================================================== --- tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/TestButtonLinkRenderer.java (added) +++ tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/TestButtonLinkRenderer.java Fri Sep 25 17:04:24 2009 @@ -0,0 +1,52 @@ +// Copyright 2009 The Apache Software Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +package org.apache.tapestry.contrib.link; + +import org.apache.tapestry.components.ILinkComponent; +import org.apache.tapestry.link.ILinkRenderer; +import org.testng.annotations.Test; + +/** + * Tests {@link ButtonLinkRenderer}. + * @author Andreas Andreou + */ +public class TestButtonLinkRenderer extends BaseLinkRendererTestCase { + + @Test + public void testRenderer() { + final ILinkRenderer linkRenderer = new ButtonLinkRenderer(); + final ILinkComponent linkComponent = newLinkComponent("my.site", false, null, null, + "class", "info"); + + assertLinkRenderer(linkRenderer, linkComponent, + "<button type=\"button\" onclick=\"window.location='my.site'\" class=\"info\"></button>", + ""); + } + + @Test + public void testRendererOnClick() { + final ILinkRenderer linkRenderer = new ButtonLinkRenderer(); + final ILinkComponent linkComponent = newLinkComponent("my.site", false, null, null, + "onclick", "alert('hi')"); + + assertLinkRenderer(linkRenderer, linkComponent, + "<button type=\"button\" onclick=\"alert('hi')\"></button>", + // TODO: correct is + // "<button type=\"button\" onclick=\"window.location='my.site'\"></button>" + // or even better (TAPESTRY-2251) + // "<button type=\"button\" onclick=\"alert('hi');window.location='my.site'\"></button>" + ""); + } + +} Added: tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/TestFormLinkRenderer.java URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/TestFormLinkRenderer.java?rev=818917&view=auto ============================================================================== --- tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/TestFormLinkRenderer.java (added) +++ tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/TestFormLinkRenderer.java Fri Sep 25 17:04:24 2009 @@ -0,0 +1,54 @@ +// Copyright 2009 The Apache Software Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +package org.apache.tapestry.contrib.link; + +import org.apache.tapestry.components.ILinkComponent; +import org.apache.tapestry.link.ILinkRenderer; +import org.apache.tapestry.engine.ILink; +import org.testng.annotations.Test; + +import static org.easymock.EasyMock.*; + +/** + * Tests {@link FormLinkRenderer}. + * @author Andreas Andreou + */ +public class TestFormLinkRenderer extends BaseLinkRendererTestCase { + + @Test + public void testRenderer() { + final ILinkRenderer linkRenderer = new FormLinkRenderer(); + final ILinkComponent linkComponent = newLinkComponent("my.site", false, null, null, + "class", "info", "onclick", "alert('hi')"); + + final ILink link = linkComponent.getLink(null); + expect(link.getParameterNames()).andReturn(new String[]{"article", "format"}); + expect(link.getParameterValues("article")).andReturn(new String[]{"12"}); + expect(link.getParameterValues("format")).andReturn(new String[]{"rss"}); + + assertLinkRenderer(linkRenderer, linkComponent, + "<a href=\"javascript: document.LinkForm.submit();\" onclick=\"alert('hi')\" class=\"info\"></a>", + "function prepareLinkForm() {\n" + + " var html = \"\";\n" + + " html += \"<div style='position: absolute'>\";\n" + + " html += \"<form name='LinkForm' method='post' action='my.site'>\";\n" + + " html += \"<input type='hidden' name='article' value='12'/>\";\n" + + " html += \"<input type='hidden' name='format' value='rss'/>\";\n" + + " html += \"<\" + \"/form>\";\n" + + " html += \"<\" + \"/div>\";\n" + + " document.write(html);\n" + + "}\n" + + "prepareLinkForm();\n\n"); + } +} \ No newline at end of file Added: tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/TestPopupLinkRenderer.java URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/TestPopupLinkRenderer.java?rev=818917&view=auto ============================================================================== --- tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/TestPopupLinkRenderer.java (added) +++ tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/TestPopupLinkRenderer.java Fri Sep 25 17:04:24 2009 @@ -0,0 +1,40 @@ +// Copyright 2009 The Apache Software Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +package org.apache.tapestry.contrib.link; + +import org.apache.tapestry.components.ILinkComponent; +import org.apache.tapestry.link.ILinkRenderer; +import org.testng.annotations.Test; + +/** + * Tests {@link PopupLinkRenderer}. + * @author Andreas Andreou + */ +public class TestPopupLinkRenderer extends BaseLinkRendererTestCase { + + @Test + public void testRenderer() { + final ILinkRenderer linkRenderer = new PopupLinkRenderer(); + final ILinkComponent linkComponent = newLinkComponent("my.site", false, null, null, + "class", "info", "onclick", "alert('hi')"); + + assertLinkRenderer(linkRenderer, linkComponent, + "<a onclick=\"alert('hi')\" class=\"info\" href=\"javascript:popup_window_0();\"></a>", + "popup_window_0=function()\n" + + "{\n" + + " var newWindow = window.open('my.site', '', '');newWindow.focus();\n" + + "}\n" + + ";\n"); + } +} \ No newline at end of file Added: tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/TestRawURLLinkRenderer.java URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/TestRawURLLinkRenderer.java?rev=818917&view=auto ============================================================================== --- tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/TestRawURLLinkRenderer.java (added) +++ tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/TestRawURLLinkRenderer.java Fri Sep 25 17:04:24 2009 @@ -0,0 +1,36 @@ +// Copyright 2009 The Apache Software Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +package org.apache.tapestry.contrib.link; + +import org.apache.tapestry.components.ILinkComponent; +import org.apache.tapestry.link.ILinkRenderer; +import org.testng.annotations.Test; + +/** + * Tests {@link RawURLLinkRenderer}. + * @author Andreas Andreou + */ +public class TestRawURLLinkRenderer extends BaseLinkRendererTestCase { + + @Test + public void testRenderer() { + final ILinkRenderer linkRenderer = new RawURLLinkRenderer(); + final ILinkComponent linkComponent = newLinkComponent("my.site", false, null, null, + "class", "info", "onclick", "alert('hi')"); + + assertLinkRenderer(linkRenderer, linkComponent, + "my.site", + ""); + } +} \ No newline at end of file From [email protected] Fri Sep 25 17:17:26 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54173 invoked from network); 25 Sep 2009 17:17:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Sep 2009 17:17:26 -0000 Received: (qmail 61862 invoked by uid 500); 25 Sep 2009 17:17:26 -0000 Delivered-To: [email protected] Received: (qmail 61791 invoked by uid 500); 25 Sep 2009 17:17:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 61782 invoked by uid 99); 25 Sep 2009 17:17:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 17:17:25 +0000 X-ASF-Spam-Status: No, hits=-1999.6 required=10.0 tests=ALL_TRUSTED,SUBJECT_FUZZY_TION X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 17:17:22 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 8D221238897A; Fri, 25 Sep 2009 17:17:01 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r818919 - in /tapestry/tapestry4/trunk/tapestry-contrib/src: java/org/apache/tapestry/contrib/link/ButtonLinkRenderer.java test/org/apache/tapestry/contrib/link/TestButtonLinkRenderer.java Date: Fri, 25 Sep 2009 17:17:01 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: andyhot Date: Fri Sep 25 17:17:01 2009 New Revision: 818919 URL: http://svn.apache.org/viewvc?rev=818919&view=rev Log: TAPESTRY-2251 append existing onclick Modified: tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/link/ButtonLinkRenderer.java tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/TestButtonLinkRenderer.java Modified: tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/link/ButtonLinkRenderer.java URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/link/ButtonLinkRenderer.java?rev=818919&r1=818918&r2=818919&view=diff ============================================================================== --- tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/link/ButtonLinkRenderer.java (original) +++ tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/link/ButtonLinkRenderer.java Fri Sep 25 17:17:01 2009 @@ -57,15 +57,19 @@ writer.attribute("disabled", "disabled"); } + component.renderAdditionalAttributes(writer, cycle); + if (!cycle.isRewinding()) { String url = link.getURL(component.getAnchor(), true); String target = component.getTarget(); String onclick = (target == null) ? getScript(url) : getScript(url, target); - writer.attribute("onclick", onclick); + if (writer.hasAttribute("onclick")) { + writer.appendAttribute("onclick", ";" + onclick); + } else { + writer.attribute("onclick", onclick); + } } - - component.renderAdditionalAttributes(writer, cycle); IMarkupWriter wrappedWriter = writer.getNestedWriter(); Modified: tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/TestButtonLinkRenderer.java URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/TestButtonLinkRenderer.java?rev=818919&r1=818918&r2=818919&view=diff ============================================================================== --- tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/TestButtonLinkRenderer.java (original) +++ tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/link/TestButtonLinkRenderer.java Fri Sep 25 17:17:01 2009 @@ -30,7 +30,7 @@ "class", "info"); assertLinkRenderer(linkRenderer, linkComponent, - "<button type=\"button\" onclick=\"window.location='my.site'\" class=\"info\"></button>", + "<button type=\"button\" class=\"info\" onclick=\"window.location='my.site'\"></button>", ""); } @@ -41,11 +41,7 @@ "onclick", "alert('hi')"); assertLinkRenderer(linkRenderer, linkComponent, - "<button type=\"button\" onclick=\"alert('hi')\"></button>", - // TODO: correct is - // "<button type=\"button\" onclick=\"window.location='my.site'\"></button>" - // or even better (TAPESTRY-2251) - // "<button type=\"button\" onclick=\"alert('hi');window.location='my.site'\"></button>" + "<button type=\"button\" onclick=\"alert('hi') ;window.location='my.site'\"></button>", ""); } From [email protected] Fri Sep 25 18:06:38 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75107 invoked from network); 25 Sep 2009 18:06:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Sep 2009 18:06:38 -0000 Received: (qmail 56648 invoked by uid 500); 25 Sep 2009 18:06:37 -0000 Delivered-To: [email protected] Received: (qmail 56607 invoked by uid 500); 25 Sep 2009 18:06:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 56598 invoked by uid 99); 25 Sep 2009 18:06:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 18:06:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 18:06:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 044FB234C004 for <[email protected]>; Fri, 25 Sep 2009 11:06:16 -0700 (PDT) Message-ID: <1768257334.1253901976006.JavaMail.jira@brutus> Date: Fri, 25 Sep 2009 11:06:16 -0700 (PDT) From: "Tony Deigh (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (TAP5-856) MetaDataLocatorImpl.findMeta(String, String, Class) doesn't check contributed defaults - breaks SECURE_PAGE contributions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org MetaDataLocatorImpl.findMeta(String, String, Class) doesn't check contributed defaults - breaks SECURE_PAGE contributions ------------------------------------------------------------------------------------------------------------------------- Key: TAP5-856 URL: https://issues.apache.org/jira/browse/TAP5-856 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 161.129.204.104 Reporter: Tony Deigh Priority: Minor The new overload of MetaDataLocator.findMeta, which takes a page name, does not check the configured defaults, as the other overload does. This breaks the documented means of adding SECURE_PAGE meta data to multiple pages (which is to contribute them to the MetaDataLocator configuration), since RequestSecurityManagerImpl.isSecure uses this new method. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Sep 25 20:08:41 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16905 invoked from network); 25 Sep 2009 20:08:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Sep 2009 20:08:41 -0000 Received: (qmail 91446 invoked by uid 500); 25 Sep 2009 20:08:41 -0000 Delivered-To: [email protected] Received: (qmail 91417 invoked by uid 500); 25 Sep 2009 20:08:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.tapestry.apache.org> Reply-To: "Tapestry development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 91407 invoked by uid 99); 25 Sep 2009 20:08:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 20:08:41 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 20:08:31 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1MrH5N-0008Vo-TV for [email protected]; Fri, 25 Sep 2009 13:08:09 -0700 Message-ID: <[email protected]> Date: Fri, 25 Sep 2009 13:08:09 -0700 (PDT) From: deian <[email protected]> To: [email protected] Subject: <t:block/> like component MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org Hey guys, I want to create a <t:block/> like component i.e component that will be find by : ComponentResources res = resources.getContainerResources(); Block temp = res.findBlock("block id"); I looked around but I couldn't find a component for <t:block/> :/ Cheer, Deian -- View this message in context: http://www.nabble.com/%3Ct%3Ablock-%3E-like-component-tp25618464p25618464.html Sent from the Tapestry - Dev mailing list [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Sep 26 11:51:40 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78824 invoked from network); 26 Sep 2009 11:51:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Sep 2009 11:51:40 -0000 Received: (qmail 63840 invoked by uid 500); 26 Sep 2009 11:51:40 -0000 Delivered-To: [email protected] Received: (qmail 63744 invoked by uid 500); 26 Sep 2009 11:51:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 63735 invoked by uid 99); 26 Sep 2009 11:51:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Sep 2009 11:51:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Sep 2009 11:51:37 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 419C1234C004 for <[email protected]>; Sat, 26 Sep 2009 04:51:17 -0700 (PDT) Message-ID: <2112383293.1253965876902.JavaMail.jira@brutus> Date: Sat, 26 Sep 2009 04:51:16 -0700 (PDT) From: "Andreas Andreou (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Moved: (TAP5-857) Exclude recursion detection during initial render on blocks that are used for zone updates. In-Reply-To: <1983293582.1253547256013.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andreas Andreou moved TAPESTRY-2752 to TAP5-857: ------------------------------------------------ Component/s: (was: tapestry-core) tapestry-core Affects Version/s: (was: 5.1) 5.1 Key: TAP5-857 (was: TAPESTRY-2752) Project: Tapestry 5 (was: Tapestry) > Exclude recursion detection during initial render on blocks that are used for zone updates. > ------------------------------------------------------------------------------------------- > > Key: TAP5-857 > URL: https://issues.apache.org/jira/browse/TAP5-857 > Project: Tapestry 5 > Issue Type: New Feature > Components: tapestry-core > Affects Versions: 5.1 > Reporter: Seth Call > > Currently it is not possible to define a t:block that uses a particular component when that component is already above in the hierarchy, because Tapestry will detect this as a recursion. > However, if this recursion-causing block is only to be used as responses to a zone update, then ideally it wouldn't cause a recursion to be detected. > Say for instance this were possible: > <t:zoneBlock> > ... > <t:zoneBlock> > Where t:zoneBlock is identical to t:block except it can only be used as the response to a zone update, and assembly of the page would know to exclude the contents of that block when it's a normal full page render to avoid the initial reason the recursion detection was added in the first place (runaway rendering issues). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Sep 26 11:53:38 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79022 invoked from network); 26 Sep 2009 11:53:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Sep 2009 11:53:38 -0000 Received: (qmail 64979 invoked by uid 500); 26 Sep 2009 11:53:38 -0000 Delivered-To: [email protected] Received: (qmail 64903 invoked by uid 500); 26 Sep 2009 11:53:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 64894 invoked by uid 99); 26 Sep 2009 11:53:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Sep 2009 11:53:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Sep 2009 11:53:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 00E4F234C004 for <[email protected]>; Sat, 26 Sep 2009 04:53:16 -0700 (PDT) Message-ID: <859-838-3298.1253965995990.JavaMail.jira@brutus> Date: Sat, 26 Sep 2009 04:53:15 -0700 (PDT) From: "Andreas Andreou (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Moved: (TAP5-858) Execution de code dans un CDATA In-Reply-To: <224958805.1253700556104.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andreas Andreou moved TAPESTRY-2753 to TAP5-858: ------------------------------------------------ Key: TAP5-858 (was: TAPESTRY-2753) Project: Tapestry 5 (was: Tapestry) > Execution de code dans un CDATA > ------------------------------- > > Key: TAP5-858 > URL: https://issues.apache.org/jira/browse/TAP5-858 > Project: Tapestry 5 > Issue Type: Bug > Reporter: Hyunekel > > I try to generate a RSS feed but i got a problem with CDATA blocks. In fact, in my content i got a CDATA block and inside i want to execute dynamic code: > <![CDATA[<html><head><style>body {font-size: 1.5em;}</style></head><body> > <div t:type="loop" source="article.sections" value="section"> > <t:if test="section.medias"> > <div t:type="loop" source="section.medias" value="media"> > <img src="data:image/${media.format};base64,${media.image}" /> > </div> > </t:if> > ${section.subtitle} > ${section.question} > ${section.text} > ${section.signature} > </div> > </body></html>]]> > In the java page if i use the meta @Meta("tapestry.response-content-type=text/xml") the final result take a real CDATA block but the dynamic code is not interpreted. > If i change the media, the code is execute but the CDATA tag "<" and ">" are replace by "& lt;" and my client don't support this format. > How can i got a real CDATA block with dynamic code inside ? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sun Sep 27 18:16:38 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27103 invoked from network); 27 Sep 2009 18:16:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Sep 2009 18:16:38 -0000 Received: (qmail 79253 invoked by uid 500); 27 Sep 2009 18:16:38 -0000 Delivered-To: [email protected] Received: (qmail 79182 invoked by uid 500); 27 Sep 2009 18:16:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 79173 invoked by uid 99); 27 Sep 2009 18:16:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Sep 2009 18:16:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Sep 2009 18:16:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 09332234C004 for <[email protected]>; Sun, 27 Sep 2009 11:16:16 -0700 (PDT) Message-ID: <1916953886.1254075376022.JavaMail.jira@brutus> Date: Sun, 27 Sep 2009 11:16:16 -0700 (PDT) From: "Howard M. Lewis Ship (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (TAP5-859) In a stack trace, any lines associated with line #1 of a class are likely to be synthetic methods as should be "uninteresting" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org In a stack trace, any lines associated with line #1 of a class are likely to be synthetic methods as should be "uninteresting" ------------------------------------------------------------------------------------------------------------------------------ Key: TAP5-859 URL: https://issues.apache.org/jira/browse/TAP5-859 Project: Tapestry 5 Issue Type: Improvement Components: tapestry-core Affects Versions: 161.129.204.104 Reporter: Howard M. Lewis Ship Priority: Minor # collective.t5.pages.widendev.InitializationTesting.resetIncrementCount(InitializationTesting.java:20) # collective.t5.pages.widendev.InitializationTesting.pageDidInitialize(InitializationTesting.java) # collective.t5.lifecycle.WLifecycleTrackerImpl$1.operateOn(WLifecycleTrackerImpl.java:45) # collective.t5.lifecycle.WLifecycleTrackerImpl$1.operateOn(WLifecycleTrackerImpl.java:1) You see that pattern a lot: line 1, then a real line number, when associated with inner classes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sun Sep 27 18:24:40 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28090 invoked from network); 27 Sep 2009 18:24:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Sep 2009 18:24:40 -0000 Received: (qmail 86920 invoked by uid 500); 27 Sep 2009 18:24:40 -0000 Delivered-To: [email protected] Received: (qmail 86836 invoked by uid 500); 27 Sep 2009 18:24:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 86827 invoked by uid 99); 27 Sep 2009 18:24:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Sep 2009 18:24:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Sep 2009 18:24:37 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 040A4234C004 for <[email protected]>; Sun, 27 Sep 2009 11:24:16 -0700 (PDT) Message-ID: <628682550.1254075856002.JavaMail.jira@brutus> Date: Sun, 27 Sep 2009 11:24:16 -0700 (PDT) From: "Howard M. Lewis Ship (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (TAP5-859) In a stack trace, any lines associated with line #1 of a class are likely to be synthetic methods and should be classified as "uninteresting" In-Reply-To: <1916953886.1254075376022.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Howard M. Lewis Ship updated TAP5-859: -------------------------------------- Summary: In a stack trace, any lines associated with line #1 of a class are likely to be synthetic methods and should be classified as "uninteresting" (was: In a stack trace, any lines associated with line #1 of a class are likely to be synthetic methods as should be "uninteresting") > In a stack trace, any lines associated with line #1 of a class are likely to be synthetic methods and should be classified as "uninteresting" > --------------------------------------------------------------------------------------------------------------------------------------------- > > Key: TAP5-859 > URL: https://issues.apache.org/jira/browse/TAP5-859 > Project: Tapestry 5 > Issue Type: Improvement > Components: tapestry-core > Affects Versions: 161.129.204.104 > Reporter: Howard M. Lewis Ship > Priority: Minor > > # collective.t5.pages.widendev.InitializationTesting.resetIncrementCount(InitializationTesting.java:20) > # collective.t5.pages.widendev.InitializationTesting.pageDidInitialize(InitializationTesting.java) > # collective.t5.lifecycle.WLifecycleTrackerImpl$1.operateOn(WLifecycleTrackerImpl.java:45) > # collective.t5.lifecycle.WLifecycleTrackerImpl$1.operateOn(WLifecycleTrackerImpl.java:1) > You see that pattern a lot: line 1, then a real line number, when associated with inner classes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Sep 28 16:14:30 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5854 invoked from network); 28 Sep 2009 16:14:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Sep 2009 16:14:30 -0000 Received: (qmail 53594 invoked by uid 500); 28 Sep 2009 16:14:29 -0000 Delivered-To: [email protected] Received: (qmail 53513 invoked by uid 500); 28 Sep 2009 16:14:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 53504 invoked by uid 99); 28 Sep 2009 16:14:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Sep 2009 16:14:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Sep 2009 16:14:25 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id AB269238889C; Mon, 28 Sep 2009 16:14:04 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r819628 - in /tapestry/tapestry4/trunk/tapestry-contrib/src: java/org/apache/tapestry/contrib/form/ test/org/apache/tapestry/contrib/form/ Date: Mon, 28 Sep 2009 16:14:04 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: andyhot Date: Mon Sep 28 16:14:04 2009 New Revision: 819628 URL: http://svn.apache.org/viewvc?rev=819628&view=rev Log: #2702 CheckBoxMultiplePropertySelectionRenderer doesn't display disabled items correctly Added: tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/form/ tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/form/TestMultiplePropertySelection.java Modified: tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/form/CheckBoxMultiplePropertySelectionRenderer.java tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/form/MultiplePropertySelection.java Modified: tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/form/CheckBoxMultiplePropertySelectionRenderer.java URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/form/CheckBoxMultiplePropertySelectionRenderer.java?rev=819628&r1=819627&r2=819628&view=diff ============================================================================== --- tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/form/CheckBoxMultiplePropertySelectionRenderer.java (original) +++ tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/form/CheckBoxMultiplePropertySelectionRenderer.java Mon Sep 28 16:14:04 2009 @@ -84,7 +84,7 @@ writer.attribute("id", id); writer.attribute("value", model.getValue(index)); - if (component.isDisabled()) + if (component.isDisabled() || model.isDisabled(index)) writer.attribute("disabled", "disabled"); if (selected) Modified: tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/form/MultiplePropertySelection.java URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/form/MultiplePropertySelection.java?rev=819628&r1=819627&r2=819628&view=diff ============================================================================== --- tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/form/MultiplePropertySelection.java (original) +++ tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/form/MultiplePropertySelection.java Mon Sep 28 16:14:04 2009 @@ -155,10 +155,6 @@ renderer.endRender(this, writer, cycle); } - /** - * @see org.apache.tapestry.form.AbstractRequirableField#rewindFormComponent(org.apache.tapestry.IMarkupWriter, - * org.apache.tapestry.IRequestCycle) - */ protected void rewindFormComponent(IMarkupWriter writer, IRequestCycle cycle) { // get all the values Added: tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/form/TestMultiplePropertySelection.java URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/form/TestMultiplePropertySelection.java?rev=819628&view=auto ============================================================================== --- tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/form/TestMultiplePropertySelection.java (added) +++ tapestry/tapestry4/trunk/tapestry-contrib/src/test/org/apache/tapestry/contrib/form/TestMultiplePropertySelection.java Mon Sep 28 16:14:04 2009 @@ -0,0 +1,85 @@ +// Copyright 2009 The Apache Software Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +package org.apache.tapestry.contrib.form; + +import org.apache.tapestry.*; +import org.apache.tapestry.form.IPropertySelectionModel; +import org.apache.tapestry.form.StringPropertySelectionModel; +import org.apache.tapestry.valid.ValidationDelegate; +import org.testng.annotations.Test; + +import static org.easymock.EasyMock.*; + +import java.util.ArrayList; +import java.util.List; + +/** + * Test {@link MultiplePropertySelection}. + * + * @author Andreas Andreou + */ +public class TestMultiplePropertySelection extends BaseComponentTestCase +{ + private static final String LINE_SEPARATOR = (String) java.security.AccessController.doPrivileged( + new sun.security.action.GetPropertyAction("line.separator")); + + @Test + public void testRender() + { + List<String> selected = new ArrayList<String>(); + selected.add("two"); + + IPropertySelectionModel model = new StringPropertySelectionModel( + new String[] {"one", "two", "three"}, new boolean[]{false, false, true}); + + final MultiplePropertySelection component = newInstance(MultiplePropertySelection.class, + "renderer", MultiplePropertySelection.DEFAULT_CHECKBOX_RENDERER, + "selectedList", selected, "model", model); + + final IRequestCycle cycle = newCycle(); + final IMarkupWriter writer = newBufferWriter(); + final IForm form = newForm(); + + expect(cycle.isRewinding()).andReturn(false).anyTimes(); + + expect(cycle.renderStackPush(isA(IRender.class))).andReturn(null); + expect(cycle.renderStackPop()).andReturn(null); + trainGetAttribute(cycle, TapestryUtils.FORM_ATTRIBUTE, form); + expect(form.wasPrerendered(writer, component)).andReturn(false); + expect(form.getDelegate()).andReturn(new ValidationDelegate()); + expect(form.getElementId(component)).andReturn("selector"); + expect(form.isRewinding()).andReturn(false).anyTimes(); + form.setFormFieldUpdating(true); + + replay(); + + component.render(writer, cycle); + + assertBuffer("<table border=\"0\" cellpadding=\"0\" cellspacing=\"2\"><tr><td><input type=\"checkbox\" name=\"selector\" id=\"selector.0\" value=\"0\" /></td>" + + LINE_SEPARATOR + + "<td><label for=\"selector.0\">one</label></td></tr>" + + LINE_SEPARATOR + + "<tr><td><input type=\"checkbox\" name=\"selector\" id=\"selector.1\" value=\"1\" checked=\"checked\" /></td>" + + LINE_SEPARATOR + + "<td><label for=\"selector.1\">two</label></td></tr>" + + LINE_SEPARATOR + + "<tr><td><input type=\"checkbox\" name=\"selector\" id=\"selector.2\" value=\"2\" disabled=\"disabled\" /></td>" + + LINE_SEPARATOR + + "<td><label for=\"selector.2\">three</label></td></tr>" + + LINE_SEPARATOR + + "</table>"); + + verify(); + } +} From [email protected] Mon Sep 28 16:52:11 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14384 invoked from network); 28 Sep 2009 16:52:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Sep 2009 16:52:11 -0000 Received: (qmail 95572 invoked by uid 500); 28 Sep 2009 16:52:11 -0000 Delivered-To: [email protected] Received: (qmail 95557 invoked by uid 500); 28 Sep 2009 16:52:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.tapestry.apache.org> Reply-To: "Tapestry development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 95547 invoked by uid 99); 28 Sep 2009 16:52:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Sep 2009 16:52:11 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f224.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Sep 2009 16:52:02 +0000 Received: by fxm24 with SMTP id 24so259019fxm.11 for <[email protected]>; Mon, 28 Sep 2009 09:51:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=FF+Tf+YO0RcfyrPRCxUC8MCcMZcKqKYojxPZPyH1spA=; b=OjMSYCTiSKJiZrQCLKdjBJqTZl2UhJYu08JUV+5jJ7UaHnNB/aIaXKAAY9WmiMosGL UVYIdc57swbf2nXGTd0TREtqqz9LsL6j4nN5FMYtkiVoXuR3WaL10/gy0m5BuSKSgn25 rfGR7VbKC6Yu+NnbAI/Zbyec8X5K/K0UkZ/5Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=fT+3mN1x3iA+A9gOkGIf/uKgDxZw9mQEihczaMNfNDylJgm9JnCmn27byK+HawTSuA JYJ/9mhgQLeVOeBIPNQpcGnEskN0xICXaS5OZNPmyqSyb6V0VdwZ5/bw2/FLCOP/jiQr r+N1HMsBf2+PPwfwjnM68NWaW7zLX/C6X4NFo= MIME-Version: 1.0 Sender: [email protected] Received: by 161.129.204.104 with SMTP id o13mr1338649mul.6.1254156701485; Mon, 28 Sep 2009 09:51:41 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <op.u0sc3shi18r83n@arsmachina> <[email protected]> <[email protected]> Date: Mon, 28 Sep 2009 19:51:41 +0300 X-Google-Sender-Auth: a32c2b442af572f8 Message-ID: <[email protected]> Subject: Re: [DISCUSS+VOTE] Use Nexus repository manager for snapshots/releases deployment From: Andreas Andreou <[email protected]> To: Tapestry development <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org So, since there doesn't seem to be any more questions on the 'suggested' release process (and the use of nexus for it), i'd like to start a vote for it. Vote +1 if you'd like tapestry to use the Nexus repository manager for snapshots/releases deployment. Or, if you'd like to keep the process as is, vote -1 Andreas Andreou: +1 (binding) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Sep 28 17:35:40 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34441 invoked from network); 28 Sep 2009 17:35:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Sep 2009 17:35:40 -0000 Received: (qmail 55651 invoked by uid 500); 28 Sep 2009 17:35:40 -0000 Delivered-To: [email protected] Received: (qmail 55579 invoked by uid 500); 28 Sep 2009 17:35:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55570 invoked by uid 99); 28 Sep 2009 17:35:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Sep 2009 17:35:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Sep 2009 17:35:37 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 02F92234C004 for <[email protected]>; Mon, 28 Sep 2009 10:35:16 -0700 (PDT) Message-ID: <889113548.1254159315997.JavaMail.jira@brutus> Date: Mon, 28 Sep 2009 10:35:15 -0700 (PDT) From: "Howard M. Lewis Ship (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (TAP5-860) JavaScript errors when adding validations to checkboxes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org JavaScript errors when adding validations to checkboxes ------------------------------------------------------- Key: TAP5-860 URL: https://issues.apache.org/jira/browse/TAP5-860 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.0.18, 161.129.204.104 Reporter: Howard M. Lewis Ship Tapestry doesn't support validations on checkboxes out of the box (after all, it's either on or off). Perhaps supporting the required validator would not be so bad. However, it is reasonable to add a validator on the client side, for example, to implement "if this is selected, this must be checked as well" scenarios. Anyway, because $F() of a checkbox return nulls, this line fails if (!t.validationError && ! value.blank()) because value is null This is in Tapestry.FieldEventManager.validateInput -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Sep 28 17:57:38 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41826 invoked from network); 28 Sep 2009 17:57:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Sep 2009 17:57:38 -0000 Received: (qmail 93816 invoked by uid 500); 28 Sep 2009 17:57:38 -0000 Delivered-To: [email protected] Received: (qmail 93754 invoked by uid 500); 28 Sep 2009 17:57:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 93745 invoked by uid 99); 28 Sep 2009 17:57:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Sep 2009 17:57:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Sep 2009 17:57:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 4A5E3234C1EC for <[email protected]>; Mon, 28 Sep 2009 10:57:16 -0700 (PDT) Message-ID: <1374677669.1254160636303.JavaMail.jira@brutus> Date: Mon, 28 Sep 2009 10:57:16 -0700 (PDT) From: "Howard M. Lewis Ship (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (TAP5-860) JavaScript errors when adding validations to checkboxes In-Reply-To: <889113548.1254159315997.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760317#action_12760317 ] Howard M. Lewis Ship commented on TAP5-860: ------------------------------------------- Here's a monkey patch I'm using for this problem: Tapestry.FieldEventManager.prototype.validateInput = function() { if (this.field.disabled) return false; if (!this.field.isDeepVisible()) return false; var t = $T(this.field); var value = $F(this.field); t.validationError = false; if (this.requiredCheck) this.requiredCheck.call(this, value); // Don't try to validate blank values; if the field is required, that // error is already // noted and presented to the user. if (this.field.type == "checkbox") { this.field.fire(Tapestry.FIELD_VALIDATE_EVENT, { value : this.field.checked, translated : this.field.checked }); } else { if (!t.validationError && !value.blank()) { var translated = this.translator(value); // If Format went ok, perhaps do the other validations. if (!t.validationError) { this.field.fire(Tapestry.FIELD_VALIDATE_EVENT, { value : value, translated : translated }); } } } // Lastly, if no validation errors were found, remove the decorations. if (!t.validationError) this.field.removeDecorations(); return t.validationError; }; > JavaScript errors when adding validations to checkboxes > ------------------------------------------------------- > > Key: TAP5-860 > URL: https://issues.apache.org/jira/browse/TAP5-860 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 161.129.204.104, 5.0.18 > Reporter: Howard M. Lewis Ship > > Tapestry doesn't support validations on checkboxes out of the box (after all, it's either on or off). Perhaps supporting the required validator would not be so bad. > However, it is reasonable to add a validator on the client side, for example, to implement "if this is selected, this must be checked as well" scenarios. > Anyway, because $F() of a checkbox return nulls, this line fails > if (!t.validationError && ! value.blank()) > because value is null > This is in Tapestry.FieldEventManager.validateInput -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Sep 28 18:54:35 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70146 invoked from network); 28 Sep 2009 18:54:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Sep 2009 18:54:35 -0000 Received: (qmail 91334 invoked by uid 500); 28 Sep 2009 18:54:35 -0000 Delivered-To: [email protected] Received: (qmail 91308 invoked by uid 500); 28 Sep 2009 18:54:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.tapestry.apache.org> Reply-To: "Tapestry development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 91298 invoked by uid 99); 28 Sep 2009 18:54:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Sep 2009 18:54:34 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO qw-out-2122.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Sep 2009 18:54:25 +0000 Received: by qw-out-2122.google.com with SMTP id 9so1553385qwb.59 for <[email protected]>; Mon, 28 Sep 2009 11:54:04 -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=QMR2HudqaaSUQgmidZuP0Dt1yvM5bAJhRgHWmaKcxLM=; b=XhLnk6fo/1Ctw81vvAsqa+sB6geqGTMrUg73OIkRft5MHkPtHhoWMfpfMj5N9ngBcS mv3YU7kdh3K1zFQZRNVqhEzlcdhOyaWeWWn84dw1ln3OxURJhirZhZThbhCcEAqgpbwY 9A1TGaDC7phfHAI3zyUJVzjoeI61g4rs0cImM= 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=tC40oqati+B5aXmzmIS+pjRKT/bzVS81J7JkBfMP2mZXeOOiKz2pGINcwnMBDlkO01 ZTdmrPAfhOtFOkhL+ZDiAQl/BhVzj39lZUU734vdHAAIAXALwr/Bz0SeSE49bQzDL8ic Q+D6N5F7PFm3iMy/Ii8PARnhYWLaLtofLptho= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id i11mr3001771qao.233.1254164044024; Mon, 28 Sep 2009 11:54:04 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <op.u0sc3shi18r83n@arsmachina> <[email protected]> <[email protected]> <[email protected]> Date: Mon, 28 Sep 2009 11:54:04 -0700 Message-ID: <[email protected]> Subject: Re: [DISCUSS+VOTE] Use Nexus repository manager for snapshots/releases deployment From: Howard Lewis Ship <[email protected]> To: Tapestry development <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org +1 Current staging is awful, but I'm assuming you'll have detailed, step-by-step instructions for how to make it happen? On Mon, Sep 28, 2009 at 9:51 AM, Andreas Andreou <[email protected]> wrote: > So, since there doesn't seem to be any more questions on the 'suggested' > release process (and the use of nexus for it), i'd like to start a vote for it. > > Vote +1 if you'd like tapestry to use the Nexus repository manager for > snapshots/releases deployment. Or, if you'd like to keep the process > as is, vote -1 > > Andreas Andreou: +1 (binding) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! 859-838-3298 http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Sep 28 20:03:00 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92904 invoked from network); 28 Sep 2009 20:03:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Sep 2009 20:03:00 -0000 Received: (qmail 95854 invoked by uid 500); 28 Sep 2009 20:02:59 -0000 Delivered-To: [email protected] Received: (qmail 95837 invoked by uid 500); 28 Sep 2009 20:02:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.tapestry.apache.org> Reply-To: "Tapestry development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 95827 invoked by uid 99); 28 Sep 2009 20:02:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Sep 2009 20:02:59 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qy0-f188.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Sep 2009 20:02:49 +0000 Received: by mail-qy0-f188.google.com with SMTP id 26so3945758qyk.5 for <[email protected]>; Mon, 28 Sep 2009 13:02:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:to:subject:from :content-type:mime-version:references:content-transfer-encoding :message-id:in-reply-to:user-agent; bh=N3zxNBiROdN/MiSWAY0RcJ349OheMxx9i9xQvJAzJ80=; b=hIkfMOH7cc8CPbEb65DmnvCZfxHof+t7bRMNS1Infi3WqRT6FVvRoJwm8cNxoKzaHU YKebUjMX2S/LqJX2JM0n/Q8qPUf5KIuK6Xdgu0juwX7x7NYhUISvRexYRAryDHICLLdM aYNG5lD6iC7gcg3LT4x6PnCwGZJvg+ZCycD5Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:subject:from:content-type:mime-version:references :content-transfer-encoding:message-id:in-reply-to:user-agent; b=WIa0PHA8YtuLfDIu6G0exPLJBIywk6Vu604OGmD6QIyLZGcl/CG72OoUlC6PVuFRo/ s86vonomhkWUNhiW62szOXZXcg4V2Sgw2tsEXbYG5OmLfZ3PGem7aebves99lhBkQ98v BcILiIDN7Xghj012NX1WukiJ1njJeY7ayOiLA= Received: by 161.129.204.104 with SMTP id 8mr3099472qas.130.1254168149377; Mon, 28 Sep 2009 13:02:29 -0700 (PDT) Received: from arsmachina (bhe201062191164.res-com.wayinternet.com.br [161.129.204.104]) by mx.google.com with ESMTPS id 26sm32671qwa.20.2161.129.204.104.02.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 28 Sep 2009 13:02:28 -0700 (PDT) Date: Mon, 28 Sep 2009 17:02:28 -0300 To: "Tapestry development" <[email protected]> Subject: Re: [DISCUSS+VOTE] Use Nexus repository manager for snapshots/releases deployment From: "Thiago H. de Paula Figueiredo" <[email protected]> Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 MIME-Version: 1.0 References: <[email protected]> <op.u0sc3shi18r83n@arsmachina> <[email protected]> <[email protected]> <[email protected]> Content-Transfer-Encoding: 7bit Message-ID: <op.u0zgmen318r83n@arsmachina> In-Reply-To: <[email protected]> User-Agent: Opera Mail/9.64 (Linux) X-Virus-Checked: Checked by ClamAV on apache.org Thiago H. de Paula Figueiredo: +1 (non-binding) -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor http://www.arsmachina.com.br/thiago --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Sep 29 02:33:33 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2421 invoked from network); 29 Sep 2009 02:33:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Sep 2009 02:33:33 -0000 Received: (qmail 57789 invoked by uid 500); 29 Sep 2009 02:33:32 -0000 Delivered-To: [email protected] Received: (qmail 57715 invoked by uid 500); 29 Sep 2009 02:33:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 57705 invoked by uid 99); 29 Sep 2009 02:33:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2009 02:33:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2009 02:33:29 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A832D23888D6; Tue, 29 Sep 2009 02:33:08 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r819798 - /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/test/PageTester.java Date: Tue, 29 Sep 2009 02:33:08 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: kmenard Date: Tue Sep 29 02:33:08 2009 New Revision: 819798 URL: http://svn.apache.org/viewvc?rev=819798&view=rev Log: Fixed argument order. Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/test/PageTester.java Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/test/PageTester.java URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/test/PageTester.java?rev=819798&r1=819797&r2=819798&view=diff ============================================================================== --- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/test/PageTester.java (original) +++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/test/PageTester.java Tue Sep 29 02:33:08 2009 @@ -231,7 +231,7 @@ if (InternalUtils.isBlank(result)) throw new RuntimeException( String.format("The %s attribute of the <%s> element was blank or missing.", - element.getName(), attributeName)); + attributeName, element.getName())); return result; } From [email protected] Tue Sep 29 08:04:40 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 72500 invoked from network); 29 Sep 2009 08:04:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Sep 2009 08:04:40 -0000 Received: (qmail 84729 invoked by uid 500); 29 Sep 2009 08:04:40 -0000 Delivered-To: [email protected] Received: (qmail 84664 invoked by uid 500); 29 Sep 2009 08:04:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84654 invoked by uid 99); 29 Sep 2009 08:04:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2009 08:04:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2009 08:04:37 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 1D156234C045 for <[email protected]>; Tue, 29 Sep 2009 01:04:16 -0700 (PDT) Message-ID: <459463825.1254211456118.JavaMail.jira@brutus> Date: Tue, 29 Sep 2009 01:04:16 -0700 (PDT) From: "Matt Fish (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (TAP5-861) When will tapestry upgrade to prototype.js version 1.6.1 for IE8 compliance MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org When will tapestry upgrade to prototype.js version 1.6.1 for IE8 compliance --------------------------------------------------------------------------- Key: TAP5-861 URL: https://issues.apache.org/jira/browse/TAP5-861 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.0.18 Reporter: Matt Fish The latest version of tapestry still comes with version 1.6.0 of the prototype javascript framework. It isn't until version 1.6.1 that this is compliant with IE8 and a lot of the problems with the old version and IE8 have been fixed. Do you have any idea when the updated library will be included in tapestry core? Many Thanks -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 29 10:44:38 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15153 invoked from network); 29 Sep 2009 10:44:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Sep 2009 10:44:38 -0000 Received: (qmail 6287 invoked by uid 500); 29 Sep 2009 10:44:38 -0000 Delivered-To: [email protected] Received: (qmail 6210 invoked by uid 500); 29 Sep 2009 10:44:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6201 invoked by uid 99); 29 Sep 2009 10:44:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2009 10:44:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2009 10:44:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 0AAA9234C004 for <[email protected]>; Tue, 29 Sep 2009 03:44:16 -0700 (PDT) Message-ID: <1164811902.1254221056029.JavaMail.jira@brutus> Date: Tue, 29 Sep 2009 03:44:16 -0700 (PDT) From: =?utf-8?Q?Pedro_Janu=C3=A1rio_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Created: (TAP5-862) GridDataSource return object index MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org GridDataSource return object index ---------------------------------- Key: TAP5-862 URL: https://issues.apache.org/jira/browse/TAP5-862 Project: Tapestry 5 Issue Type: Improvement Components: tapestry-core Affects Versions: 161.129.204.104 Reporter: Pedro Janu=C3=A1rio Priority: Trivial Sometimes would be great to being possible to obtain the specific index of = a row. This is common when we have grid ordered and we want to get the next row. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 29 11:54:40 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35861 invoked from network); 29 Sep 2009 11:54:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Sep 2009 11:54:40 -0000 Received: (qmail 25571 invoked by uid 500); 29 Sep 2009 11:54:40 -0000 Delivered-To: [email protected] Received: (qmail 25517 invoked by uid 500); 29 Sep 2009 11:54:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 25508 invoked by uid 99); 29 Sep 2009 11:54:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2009 11:54:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2009 11:54:37 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 094C7234C004 for <[email protected]>; Tue, 29 Sep 2009 04:54:16 -0700 (PDT) Message-ID: <1779768632.1254225256023.JavaMail.jira@brutus> Date: Tue, 29 Sep 2009 04:54:16 -0700 (PDT) From: "Kevin Menard (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (TAP5-861) When will tapestry upgrade to prototype.js version 1.6.1 for IE8 compliance In-Reply-To: <459463825.1254211456118.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760562#action_12760562 ] Kevin Menard commented on TAP5-861: ----------------------------------- This is not how the bug tracker should be used. For questions, please use the dev list. If you'd like to file an issue as something that should be done, please do so. But, an issue title should not be a question and the problem description largely shouldn't be either. > When will tapestry upgrade to prototype.js version 1.6.1 for IE8 compliance > --------------------------------------------------------------------------- > > Key: TAP5-861 > URL: https://issues.apache.org/jira/browse/TAP5-861 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 5.0.18 > Reporter: Matt Fish > > The latest version of tapestry still comes with version 1.6.0 of the prototype javascript framework. It isn't until version 1.6.1 that this is compliant with IE8 and a lot of the problems with the old version and IE8 have been fixed. Do you have any idea when the updated library will be included in tapestry core? > Many Thanks -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 29 11:56:38 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36450 invoked from network); 29 Sep 2009 11:56:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Sep 2009 11:56:38 -0000 Received: (qmail 31308 invoked by uid 500); 29 Sep 2009 11:56:38 -0000 Delivered-To: [email protected] Received: (qmail 31221 invoked by uid 500); 29 Sep 2009 11:56:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31212 invoked by uid 99); 29 Sep 2009 11:56:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2009 11:56:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2009 11:56:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id F40D2234C004 for <[email protected]>; Tue, 29 Sep 2009 04:56:15 -0700 (PDT) Message-ID: <908574140.1254225375984.JavaMail.jira@brutus> Date: Tue, 29 Sep 2009 04:56:15 -0700 (PDT) From: "Kevin Menard (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (TAP5-861) Upgrade to prototype.js version 1.6.1 for IE8 compliance In-Reply-To: <459463825.1254211456118.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Menard updated TAP5-861: ------------------------------ Description: The latest version of tapestry still comes with version 1.6.0 of the prototype javascript framework. It isn't until version 1.6.1 that this is compliant with IE8 and a lot of the problems with the old version and IE8 have been fixed. (was: The latest version of tapestry still comes with version 1.6.0 of the prototype javascript framework. It isn't until version 1.6.1 that this is compliant with IE8 and a lot of the problems with the old version and IE8 have been fixed. Do you have any idea when the updated library will be included in tapestry core? Many Thanks ) Summary: Upgrade to prototype.js version 1.6.1 for IE8 compliance (was: When will tapestry upgrade to prototype.js version 1.6.1 for IE8 compliance) > Upgrade to prototype.js version 1.6.1 for IE8 compliance > -------------------------------------------------------- > > Key: TAP5-861 > URL: https://issues.apache.org/jira/browse/TAP5-861 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 5.0.18 > Reporter: Matt Fish > > The latest version of tapestry still comes with version 1.6.0 of the prototype javascript framework. It isn't until version 1.6.1 that this is compliant with IE8 and a lot of the problems with the old version and IE8 have been fixed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 29 17:19:36 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68066 invoked from network); 29 Sep 2009 17:19:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Sep 2009 17:19:36 -0000 Received: (qmail 73118 invoked by uid 500); 29 Sep 2009 17:19:35 -0000 Delivered-To: [email protected] Received: (qmail 73093 invoked by uid 500); 29 Sep 2009 17:19:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.tapestry.apache.org> Reply-To: "Tapestry development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 73083 invoked by uid 99); 29 Sep 2009 17:19:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2009 17:19:34 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f219.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2009 17:19:25 +0000 Received: by bwz19 with SMTP id 19so1087024bwz.35 for <[email protected]>; Tue, 29 Sep 2009 10:19:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:x-mailer :mime-version:subject:date:references; bh=1YhSuslmyJyoKyHLRFSjZAyqj+Bt3nrtHKG8ZQ0CBms=; b=Dfhb1XGX7sh59aWshp5BzSND3sNJ8yzHUsa2hw0aAGlzQhVs+bGcFS4HI6hV4BcRUa 1zO8HopjxV4mcW5hz5ZcRlrPka52grGePsRl/YaLD04gI0UeAHgN0FnClXw/WFCkZVuv zANKNeSdWjybCyRFJ9iGwRneehpNe5qPXsG1M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:x-mailer:mime-version:subject:date :references; b=ujpfIGo9D0AtUYkrGPmVZgX640BdaSgV8/0IK/hfCj6vlqFiIPa8tddl7T0s7veIW+ rYoXIchK79EjoTtS6SxEGSyeRGd1aRa9p+KFHM4oz4P6cESbrEv3azJn0PwrL5U0BNBS RWwXkdwCs3/yrAk/jvciyWbuxsuk5rBMss8oA= Received: by 161.129.204.104 with SMTP id k21mr4398229bku.124.1254244742145; Tue, 29 Sep 2009 10:19:02 -0700 (PDT) Received: from ?161.129.204.104? (ip-62-143-37-160.unitymediagroup.de [161.129.204.104]) by mx.google.com with ESMTPS id 19sm1391529fkr.23.2161.129.204.104.19.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 29 Sep 2009 10:19:00 -0700 (PDT) Message-Id: <[email protected]> From: Igor Drobiazko <[email protected]> To: Tapestry development <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=koi8-r; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable X-Mailer: iPhone Mail (5H11) Mime-Version: 1.0 (iPhone Mail 5H11) Subject: Re: [DISCUSS+VOTE] Use Nexus repository manager for snapshots/releases deployment Date: Tue, 29 Sep 2009 19:18:28 +0200 References: <[email protected]> <op.u0sc3shi18r83n@arsmachina> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Igor Drobiazko: +1 (non-binding) 28.09.2009, =D7 18:51, Andreas Andreou <[email protected]> =CE=C1=D0=C9=D3= =C1=CC(=C1): > So, since there doesn't seem to be any more questions on the =20 > 'suggested' > release process (and the use of nexus for it), i'd like to start a =20 > vote for it. > > Vote +1 if you'd like tapestry to use the Nexus repository manager for > snapshots/releases deployment. Or, if you'd like to keep the process > as is, vote -1 > > Andreas Andreou: +1 (binding) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Sep 29 17:32:43 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 72139 invoked from network); 29 Sep 2009 17:32:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Sep 2009 17:32:43 -0000 Received: (qmail 89123 invoked by uid 500); 29 Sep 2009 17:32:42 -0000 Delivered-To: [email protected] Received: (qmail 89039 invoked by uid 500); 29 Sep 2009 17:32:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 89030 invoked by uid 99); 29 Sep 2009 17:32:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2009 17:32:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2009 17:32:39 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 865AF234C046 for <[email protected]>; Tue, 29 Sep 2009 10:32:18 -0700 (PDT) Message-ID: <396889648.1254245538548.JavaMail.jira@brutus> Date: Tue, 29 Sep 2009 10:32:18 -0700 (PDT) From: "Howard M. Lewis Ship (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (TAP5-863) Tapestry.ajaxRequest is insufficient when doing extra, such as adding query parameters MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Tapestry.ajaxRequest is insufficient when doing extra, such as adding query parameters -------------------------------------------------------------------------------------- Key: TAP5-863 URL: https://issues.apache.org/jira/browse/TAP5-863 Project: Tapestry 5 Issue Type: Improvement Components: tapestry-core Affects Versions: 161.129.204.104 Reporter: Howard M. Lewis Ship The chief advantage of Tapestry.ajaxRequest is that it handles error & failure automatically. However, every time I write a new custom Ajax hook, I end up using Ajax.Request instead, because I need to specify query parameters. Having the ability to set Ajax.Request defaults (including query parameters) as part of the call to Tapestry.ajaxRequest would be very useful. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Sep 29 21:05:44 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53590 invoked from network); 29 Sep 2009 21:05:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Sep 2009 21:05:44 -0000 Received: (qmail 68280 invoked by uid 500); 29 Sep 2009 21:05:43 -0000 Delivered-To: [email protected] Received: (qmail 68268 invoked by uid 500); 29 Sep 2009 21:05:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.tapestry.apache.org> Reply-To: "Tapestry development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 68258 invoked by uid 99); 29 Sep 2009 21:05:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2009 21:05:43 +0000 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=FUZZY_MERIDIA,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f224.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2009 21:05:34 +0000 Received: by fxm24 with SMTP id 24so1200860fxm.11 for <[email protected]>; Tue, 29 Sep 2009 14:05:14 -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=g50eCk+wm66Q8D9tdtWKMpHwzI4gk/zDuYAYYWlx6zc=; b=G0AJojgnSO4/Uicf5l+Q5xiqP8gTXCDeLCPaSzjBAWVAjMUh5pbDrk71rMex8PHcHE vuD0caadWFviUqgnQw9MezRXGC1cWxQfCCsWhVe27iTcZcDmWTYTeUlQGJpYx1KNXaD7 u2E6f/XpfUZorpF+N27EDPwR2w9ywTA3tFFxw= 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=D50RZYHO9u11Y7YeL+cGn3i9gSjzzw0dsqsGeHLre0j0R2kY7aIIY38BQej5eAZb7K qgzAn47dgqDzjFEBZ/C5LX1tk7rXz8tQA3DYtqWl10b1sejTnISqQEKtOitwhUFYMU1A lRPHT1863A+5WQxB1xPrayjGZxROjP8CyXgDo= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id y32mr4610245fgg.77.1254258314312; Tue, 29 Sep 2009 14:05:14 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <op.u0sc3shi18r83n@arsmachina> <[email protected]> <[email protected]> <[email protected]> Date: Tue, 29 Sep 2009 23:05:14 +0200 Message-ID: <[email protected]> Subject: Re: [DISCUSS+VOTE] Use Nexus repository manager for snapshots/releases deployment From: Massimo Lusetti <[email protected]> To: Tapestry development <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Sep 28, 2009 at 6:51 PM, Andreas Andreou <[email protected]> wrote: > So, since there doesn't seem to be any more questions on the 'suggested' > release process (and the use of nexus for it), i'd like to start a vote for it. > > Vote +1 if you'd like tapestry to use the Nexus repository manager for > snapshots/releases deployment. Or, if you'd like to keep the process > as is, vote -1 Massimo Lusetti: +1 (non-binding) -- Massimo http://meridio.blogspot.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Sep 29 21:39:30 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70942 invoked from network); 29 Sep 2009 21:39:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Sep 2009 21:39:30 -0000 Received: (qmail 24149 invoked by uid 500); 29 Sep 2009 21:39:30 -0000 Delivered-To: [email protected] Received: (qmail 24034 invoked by uid 500); 29 Sep 2009 21:39:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 24012 invoked by uid 99); 29 Sep 2009 21:39:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2009 21:39:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2009 21:39:28 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 0D5DA234C046 for <[email protected]>; Tue, 29 Sep 2009 14:39:08 -0700 (PDT) Message-ID: <1306768622.1254260348053.JavaMail.jira@brutus> Date: Tue, 29 Sep 2009 14:39:08 -0700 (PDT) From: "Howard M. Lewis Ship (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (TAP5-864) ComponentResources should expose an API that describes sub-components & formal/informal parameters (to be used as a diagnostic tool) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org ComponentResources should expose an API that describes sub-components & formal/informal parameters (to be used as a diagnostic tool) ------------------------------------------------------------------------------------------------------------------------------------ Key: TAP5-864 URL: https://issues.apache.org/jira/browse/TAP5-864 Project: Tapestry 5 Issue Type: Improvement Components: tapestry-core Affects Versions: 161.129.204.104 Reporter: Howard M. Lewis Ship Priority: Minor T3 had the inspector ... and I've built on-offs in T4 that identifies the # of components on a page. A ComponentStats interface could identify the immediate components (by id), the type (and count) of each components directly within a component, as well as a roll up. This would make it possible (given a UI) to drill-down and see which pages and which components contribute to the Uber-component anti-pattern. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Sep 30 04:29:31 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 303 invoked from network); 30 Sep 2009 04:29:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Sep 2009 04:29:31 -0000 Received: (qmail 62013 invoked by uid 500); 30 Sep 2009 04:29:31 -0000 Delivered-To: [email protected] Received: (qmail 61978 invoked by uid 500); 30 Sep 2009 04:29:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.tapestry.apache.org> Reply-To: "Tapestry development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 61968 invoked by uid 99); 30 Sep 2009 04:29:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2009 04:29:29 +0000 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=FUZZY_MERIDIA,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO qw-out-2122.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2009 04:29:19 +0000 Received: by qw-out-2122.google.com with SMTP id 9so2046138qwb.59 for <[email protected]>; Tue, 29 Sep 2009 21:28:59 -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=ZIOmCRtEfruB8T4D6G3Vi6SoeAqiIa2GPLc4IJ6DqlE=; b=a7kg42eyEcsfEqj+JWKTJpNBkjt+HxGRi3whrOY4RNWsX47Bx8KuIa6wfBrs9pv1U3 NBY7xuRfq+Km0Gl7ofUqKiktj+W0DFZnIRoIhMa5TL46PFFYo8o3t1J4ZeQRTTxjFOm3 vPy/4ZNinMFOEQSg3BXHrnfV4J+c/PfW8kG1U= 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=oi+dRgq5TI0EQLSuf4Q4BjCEHoU2EoUHALwiqXlUAVcgDdDozUjWiy/9rSqcXvMjty ZmrkRPoHFB6YgSaYMPXSJteSEr3PBZeHD/EQnMG+Iyf8M9lUKidDVlBAdbovf+0cOMGL gQYOrHnZbt/9QP7pcOGLXLiKk9E475bNtEAyk= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id t3mr2544667qcp.44.1254284939022; Tue, 29 Sep 2009 21:28:59 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <op.u0sc3shi18r83n@arsmachina> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Tue, 29 Sep 2009 21:28:58 -0700 Message-ID: <[email protected]> Subject: Re: [DISCUSS+VOTE] Use Nexus repository manager for snapshots/releases deployment From: Kalle Korhonen <[email protected]> To: Tapestry development <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org +1 (non-binding) Kalle On Tue, Sep 29, 2009 at 2:05 PM, Massimo Lusetti <[email protected]> wrote: > On Mon, Sep 28, 2009 at 6:51 PM, Andreas Andreou <[email protected]> wrote: >> So, since there doesn't seem to be any more questions on the 'suggested' >> release process (and the use of nexus for it), i'd like to start a vote for it. >> >> Vote +1 if you'd like tapestry to use the Nexus repository manager for >> snapshots/releases deployment. Or, if you'd like to keep the process >> as is, vote -1 > > Massimo Lusetti: +1 (non-binding) > > -- > Massimo > http://meridio.blogspot.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Sep 30 11:44:51 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28118 invoked from network); 30 Sep 2009 11:44:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Sep 2009 11:44:50 -0000 Received: (qmail 6435 invoked by uid 500); 30 Sep 2009 11:44:50 -0000 Delivered-To: [email protected] Received: (qmail 6396 invoked by uid 500); 30 Sep 2009 11:44:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <dev.tapestry.apache.org> Reply-To: "Tapestry development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 6386 invoked by uid 99); 30 Sep 2009 11:44:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2009 11:44:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2009 11:44:41 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id 2ED3E11129; Wed, 30 Sep 2009 11:44:21 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki <[email protected]> To: Apache Wiki <[email protected]> Date: Wed, 30 Sep 2009 11:44:21 -0000 Message-ID: <[email protected]> Subject: =?utf-8?q?=5BTapestry_Wiki=5D_Update_of_=22Tapestry5HowToControlAccess=22?= =?utf-8?q?_by_SergeyDidenko?= X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for = change notification. The "Tapestry5HowToControlAccess" page has been changed by SergeyDidenko: http://wiki.apache.org/tapestry/Tapestry5HowToControlAccess?action=3Ddiff&r= ev1=3D6&rev2=3D7 ##language:en + = + '''Note:''' the new cleaner way to control access is to use [[http://tape= stry.apache.org/tapestry5.1/apidocs/org/apache/tapestry5/services/Component= RequestFilter.html|ComponentRequestFilter]] instead of [[http://tapestry.ap= ache.org/tapestry5.1/apidocs/org/apache/tapestry5/services/Dispatcher.html|= Dispatcher]]. You can see the sources of [[http://www.chenillekit.org/cheni= llekit-access/index.html|chenillekit-access]] for example, partically Compo= nent``Request``Access``Filter.java + = + ---- + = In the articles [[http://wiki.apache.org/tapestry/Tapestry5HowToCreateADi= spatcher|Tapestry5HowToCreateADispatcher]] and [[http://wiki.apache.org/tap= estry/Tapestry5HowToCreateADispatcher2|Tapestry5HowToCreateADispatcher2]], = Chris Lewis has explained how to create a dispatcher, get it into the pipel= ine, and use it to check user rights against the url requested. What i need in my project is similar but i would rather check the rights = of my users against an information stored in the page requested, say an ann= otation ! =20 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Sep 30 15:31:47 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8483 invoked from network); 30 Sep 2009 15:31:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Sep 2009 15:31:46 -0000 Received: (qmail 96034 invoked by uid 500); 30 Sep 2009 15:31:46 -0000 Delivered-To: [email protected] Received: (qmail 95969 invoked by uid 500); 30 Sep 2009 15:31:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 95947 invoked by uid 99); 30 Sep 2009 15:31:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2009 15:31:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2009 15:31:43 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 8866D234C004 for <[email protected]>; Wed, 30 Sep 2009 08:31:23 -0700 (PDT) Message-ID: <1222948751.1254324683542.JavaMail.jira@brutus> Date: Wed, 30 Sep 2009 08:31:23 -0700 (PDT) From: "Howard M. Lewis Ship (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (TAP5-865) The "entity" persistence strategy should be discussed in the documentation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org The "entity" persistence strategy should be discussed in the documentation -------------------------------------------------------------------------- Key: TAP5-865 URL: https://issues.apache.org/jira/browse/TAP5-865 Project: Tapestry 5 Issue Type: Bug Components: tapestry-hibernate Affects Versions: 161.129.204.104 Reporter: Howard M. Lewis Ship -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Sep 30 15:41:46 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12839 invoked from network); 30 Sep 2009 15:41:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Sep 2009 15:41:45 -0000 Received: (qmail 15324 invoked by uid 500); 30 Sep 2009 15:41:45 -0000 Delivered-To: [email protected] Received: (qmail 15248 invoked by uid 500); 30 Sep 2009 15:41:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 15239 invoked by uid 99); 30 Sep 2009 15:41:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2009 15:41:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2009 15:41:43 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 75531234C004 for <[email protected]>; Wed, 30 Sep 2009 08:41:23 -0700 (PDT) Message-ID: <1319942136.1254325283465.JavaMail.jira@brutus> Date: Wed, 30 Sep 2009 08:41:23 -0700 (PDT) From: "Howard M. Lewis Ship (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (TAP5-866) HibernateGridDataSource is barely mentioned in the documentation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org HibernateGridDataSource is barely mentioned in the documentation ---------------------------------------------------------------- Key: TAP5-866 URL: https://issues.apache.org/jira/browse/TAP5-866 Project: Tapestry 5 Issue Type: Bug Components: tapestry-hibernate Affects Versions: 161.129.204.104 Reporter: Howard M. Lewis Ship Priority: Minor http://tapestry.apache.org/tapestry5.1/apidocs/org/apache/tapestry5/hibernate/HibernateGridDataSource.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Sep 30 18:05:48 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69037 invoked from network); 30 Sep 2009 18:05:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Sep 2009 18:05:48 -0000 Received: (qmail 40867 invoked by uid 500); 30 Sep 2009 18:05:47 -0000 Delivered-To: [email protected] Received: (qmail 40791 invoked by uid 500); 30 Sep 2009 18:05:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 40782 invoked by uid 99); 30 Sep 2009 18:05:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2009 18:05:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2009 18:05:44 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 86C7C234C004 for <[email protected]>; Wed, 30 Sep 2009 11:05:23 -0700 (PDT) Message-ID: <223604445.1254333923547.JavaMail.jira@brutus> Date: Wed, 30 Sep 2009 11:05:23 -0700 (PDT) From: "Howard M. Lewis Ship (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (TAP5-867) Palette component should render as an ordinary <select> and update the DOM to provide the normal L&F MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Palette component should render as an ordinary <select> and update the DOM to provide the normal L&F ---------------------------------------------------------------------------------------------------- Key: TAP5-867 URL: https://issues.apache.org/jira/browse/TAP5-867 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 161.129.204.104 Reporter: Howard M. Lewis Ship It should output the elements in default sort order, identifying which are selected. On the client side, the Tapestry.Palette class can work from there to reveal hidden buttons and created the "available" column select. Basically, the structure should be inside largely invisible DIVs (i.e., matching the current structure), and when the DOM is loaded, the non-selected options can be moved to a (newly created) <select> (the available list). The goal is to simplify the generated markup, and allow the Palette to be used when JavaScript is disabled. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Sep 30 22:17:54 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11110 invoked from network); 30 Sep 2009 22:17:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Sep 2009 22:17:50 -0000 Received: (qmail 49417 invoked by uid 500); 30 Sep 2009 22:17:50 -0000 Delivered-To: [email protected] Received: (qmail 49360 invoked by uid 500); 30 Sep 2009 22:17:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.tapestry.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 49182 invoked by uid 99); 30 Sep 2009 22:17:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2009 22:17:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2009 22:17:47 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 959CD234C045 for <[email protected]>; Wed, 30 Sep 2009 15:17:23 -0700 (PDT) Message-ID: <313487999.1254349043611.JavaMail.jira@brutus> Date: Wed, 30 Sep 2009 15:17:23 -0700 (PDT) From: "Howard M. Lewis Ship (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (TAP5-868) It is not possible to attach a validation event listener to a Palette (or other <select> field) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org It is not possible to attach a validation event listener to a Palette (or other <select> field) ----------------------------------------------------------------------------------------------- Key: TAP5-868 URL: https://issues.apache.org/jira/browse/TAP5-868 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 161.129.204.104 Reporter: Howard M. Lewis Ship Kind of getting to a point where some kind of inheritance is needed, since the rules vary for text field (& friends) vs. checkbox vs. select. It would be nice to able to just say that a Palette is required (in the standard way: validate="required"). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
From [email protected] Sun Aug 06 23:11:15 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91694 invoked from network); 6 Aug 2006 23:11:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Aug 2006 23:11:15 -0000 Received: (qmail 36788 invoked by uid 500); 6 Aug 2006 23:11:14 -0000 Delivered-To: [email protected] Received: (qmail 36750 invoked by uid 500); 6 Aug 2006 23:11:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Slide Developers Mailing List" <slide-dev.jakarta.apache.org> Reply-To: "Slide Developers Mailing List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 36739 invoked by uid 99); 6 Aug 2006 23:11:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Aug 2006 16:11:13 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Aug 2006 16:11:12 -0700 Received: by brutus.apache.org (Postfix, from userid 1007) id 9630A7142D5; Sun, 6 Aug 2006 23:08:27 +0000 (GMT) From: [email protected] To: [email protected] Subject: Bug report for Slide [2006/08/06] Message-Id: <[email protected]> Date: Sun, 6 Aug 2006 23:08:27 +0000 (GMT) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | | 3922|New|Nor|2001-10-02|client acl href principal should be decoded | | 6618|New|Nor|2002-02-21|proppatch and rfc2518 | |10115|New|Nor|2002-06-21|WebDAV Exception when filename contains % | |10301|New|Min|2002-06-27|500 Error doing propfind with null namespace | |10869|New|Nor|2002-07-16|'run.bat' error in the client/bin subdirectory | |11430|New|Enh|2002-08-02|Mac OSx 'hide-dot-files' filter for WebDAV servlet| |11527|New|Nor|2002-08-07|Modify DIGEST support for IIS server | |11658|New|Maj|2002-08-13|Locking a non-existing resource | |12042|New|Maj|2002-08-26|NodeRevisionContent stream not reuseable | |12992|New|Nor|2002-09-25|JNDI Wrapper cannot handle workspaces | |12995|New|Nor|2002-09-25|SlideServerListener omits DAV parameters when init| |14298|New|Maj|2002-11-06|Tried to log into slide-admiin got this exception | |14836|New|Nor|2002-11-25|Run.sh Exits Unexpectedly | |16642|New|Nor|2003-01-31|Check for 207 (Multistatus) breaks webdavResource.| |18813|Opn|Min|2003-04-08|SAXException in XMLResponseMethodBase.parseXMLResp| |19411|New|Nor|2003-04-29|AccessDeniedException is thrown instead of ObjectN| |19419|New|Nor|2003-04-29|WebdavResource.java does not release connections | |19669|New|Nor|2003-05-05|setWebdavProperties cannot deal with relative HREF| |19791|New|Nor|2003-05-09|AccessDeniedException is thrown in structure.creat| |21158|New|Maj|2003-06-28|ContentImpl does not follow link to retrieve descr| |21598|New|Nor|2003-07-15|FileContentStore.retrieveRevisionContent() shouldn| |21850|New|Nor|2003-07-24|Nightly Builds Failing | |22409|New|Nor|2003-08-14|There is problem in Slide security system. | |23493|New|Nor|2003-09-29|Live properties are undefined for non-existent res| |24357|New|Nor|2003-11-03|PATCH: Fine granular access rights improvement. | |24491|New|Maj|2003-11-07|PATCH: Fixes problem in Oracle with properties lon| |24912|New|Maj|2003-11-22|Seeing only version 1.0 | |26059|New|Nor|2004-01-12|Interceptor not called, if slide not default-servl| |27483|New|Enh|2004-03-05|Request for aclfindMethod() convenience method | |27485|New|Min|2004-03-05|Client.g STRING limitations | |27952|Opn|Enh|2004-03-25|No support for BIND, UNBIND and REBIND | |28132|New|Nor|2004-04-01|Error while using slide in weblogic, works fine in| |28139|New|Nor|2004-04-01|auto-create-user broken | |28578|New|Nor|2004-04-25|deleting of the latest revision does not change th| |28625|New|Nor|2004-04-27|getMethod does not support files larger than 65535| |28787|Unc|Maj|2004-05-05|WebdavFile.isDirectory fails with exception when t| |28894|Opn|Blk|2004-05-11|OutOfMemoryError posting large file | |28919|New|Cri|2004-05-12|Incorrect encoding assumption | |28980|New|Cri|2004-05-14|WebdavResource List | |29081|New|Min|2004-05-19|WebdavResource.getIsHidden() is never true | |29146|New|Nor|2004-05-21|JDOM b10 has removed Element.addContent(Element) | |29150|New|Min|2004-05-21|Deadlock while initializing when using two jdbc st| |29183|New|Nor|2004-05-24|WebdavResource.getName() should trim the prefix | |29235|New|Nor|2004-05-26|Resource Type needs method isPrincipal | |29250|New|Nor|2004-05-27|PROPFIND response does not handle trailing "/" as | |29309|New|Nor|2004-05-31|is it a bug?? | |29385|New|Min|2004-06-04|WebdavFile constructor | |29474|New|Nor|2004-06-09|Webdav client does not support redirect reference | |29590|New|Nor|2004-06-16|GetLastModifiedProperty using incorrect format | |29591|New|Nor|2004-06-16|DirectoryIndexGenerator using incorrect format | |29737|New|Nor|2004-06-22|href url not compared to not escaped url in Webdav| |29789|New|Nor|2004-06-24|StatusLine.getReasonPhrase() is not being used | |29790|New|Nor|2004-06-24|CLIENT: javadocs for org.apache.util.WebdavStatus | |29806|New|Enh|2004-06-25|single instance support | |29876|New|Min|2004-07-01|WebdavStatus.getStatusText | |29909|New|Min|2004-07-04|Server should return an error code on BIND method | |30081|New|Enh|2004-07-13|method to set socket timeouts for WebDavResource | |30257|New|Enh|2004-07-22|Slide support for Max DB | |30317|New|Cri|2004-07-26|getContentLength property not being set correctly | |30329|New|Nor|2004-07-26|Speed up and reduce response size for DirectoryInd| |30387|New|Nor|2004-07-29|propfind with string property name containing no n| |30414|New|Nor|2004-07-30|WebdavResource.proppatchMethod return value is inc| |30416|New|Nor|2004-07-30|No support for optional "responsedescription" node| |30694|New|Nor|2004-08-16|Classes specified in config are not loaded by the | |30777|New|Nor|2004-08-20|DirectoryIndexGenerator using incorrect datetime f| |30822|Ass|Min|2004-08-24|Jars for apache remote maven repository not update| |30942|New|Cri|2004-08-30|Granting a new privilege to a principal with exist| |30961|New|Enh|2004-08-31|Encoding in source files | |30988|New|Blk|2004-09-01|Interop problem w/ Microsoft Exchange Server 2003 | |31105|New|Cri|2004-09-07|Transient locks are not released due to suspended | |31118|Ass|Nor|2004-09-08|Table PROPERTIES: property value for "version-set"| |31133|New|Nor|2004-09-08|Cannot support unicode file name | |31196|New|Nor|2004-09-13|error thrown in init() when no namespace defined | |31265|Ass|Nor|2004-09-16|filename encoding patch | |31521|Ass|Nor|2004-10-04|2.1 Release | |31695|New|Enh|2004-10-13|access to the URI of a locked resource in LockEven| |31696|New|Enh|2004-10-13|Throw events when setting new permissions | |31705|Opn|Nor|2004-10-13|Command line client doesn't accept urls containing| |31735|New|Maj|2004-10-15|PROPFIND do not work properly on UTF-8 encoded URL| |31756|New|Cri|2004-10-18|Seperation of <store> and <scope> nodestore config| |31908|Opn|Nor|2004-10-27|hasPermission in SecurityImpl may be subject to sa| |31924|New|Min|2004-10-27|Slide produces a lot of garbace objects and maybe | |31993|New|Nor|2004-10-31|URL encoding problems in Japanese locale | |32271|New|Nor|2004-11-17|ant tasks fail when uri contains special character| |32290|New|Nor|2004-11-18|Unable to edit role | |32305|New|Nor|2004-11-19|Bug with get method | |32352|New|Maj|2004-11-23|/actions/write granted to owner is insufficient to| |32567|New|Nor|2004-12-07|adding table prefixes | |32673|New|Nor|2004-12-13|tomcat5-install task dep with 'patch -i' | |32855|New|Nor|2004-12-28|Opened input strams are not closed | |32886|Opn|Cri|2004-12-30|client webdav lib doesn't return child collections| |32913|New|Nor|2005-01-02|OJB store | |33037|New|Nor|2005-01-11|UriPath isn't serializable... | |33038|New|Nor|2005-01-11|ObjectNode's vector of children is never updated..| |33136|New|Nor|2005-01-17|WebDavResource.listWebDavResources() buggy when re| |33163|New|Cri|2005-01-19|Default slide installation exposes all passwords | |33199|New|Nor|2005-01-21|The Report method of WebDav(Versioning) does not s| |33498|New|Maj|2005-02-10|WebdavResource's moveMethod returns true even when| |33517|New|Maj|2005-02-11|Tomcat process not terminated when Slide wabapp is| |33565|New|Maj|2005-02-14|WebdavResource's deleteMethod returns true even wh| |33567|New|Nor|2005-02-14|WebSphere problem with getServletPath | |33639|New|Enh|2005-02-18|Utility classes to aid implementation of a Princip| |33683|New|Enh|2005-02-22|Import node with content | |34019|New|Nor|2005-03-15|docs/installation.html implies that running ant wi| |34047|New|Nor|2005-03-17|A request of the LockDiscoveryProperty on a locked| |34286|New|Nor|2005-04-04|Export from TX XML/file stores to non-TX versions | |34379|New|Nor|2005-04-08|URLUtil.URLDecode needs array safety check | |34515|Unc|Enh|2005-04-19|Recieving a 403 forbidden without a giving the opp| |34630|New|Nor|2005-04-26|directory-browsing parameter does not accept paths| |34640|New|Nor|2005-04-27|Bindings lost in copy/move using mysql store | |34670|New|Nor|2005-04-28|PropertyName and UriPath are not serializable. | |34674|New|Nor|2005-04-29|NullPointerException in AbstractWebdavMethod/Resou| |34676|New|Nor|2005-04-29|tm-commits=true = database corruption? | |34678|New|Nor|2005-04-29|URI marked serializable but all fields in it are t| |34679|New|Cri|2005-04-29|URL encoding/decoding or accentuaed ressources bro| |34726|New|Nor|2005-05-03|"response already committed" during LOCK operation| |34741|New|Nor|2005-05-04|Problem navigation client folder | |34753|New|Nor|2005-05-05|Continuous action on WebDAV server cause OutOfMemo| |34772|New|Maj|2005-05-06|WebdavState always returns all lock token, not URI| |34779|New|Cri|2005-05-06|Property namespace and name clash | |34910|New|Maj|2005-05-13|Cannot start webdav transactions on resource with | |34950|New|Maj|2005-05-18|Copy and move method does not clean query paramete| |35005|Inf|Maj|2005-05-21|Unable to create a new folder specifying an arbitr| |35213|New|Nor|2005-06-03|Patch: Httpclient 3.0 support | |35255|New|Maj|2005-06-07|davget ANT task downloads files with size 0 on slo| |35339|New|Maj|2005-06-13|JNDIPrincipalStore fails in parseLdapName | |35466|New|Maj|2005-06-22|Security system does not work as "documented" | |35481|New|Nor|2005-06-23|NullPointerException for logger in JDBCStore rev. | |35493|Ass|Maj|2005-06-24|MSPowerpoint content extractor buffer flush | |35494|New|Maj|2005-06-24|TextContentIndexer indexing raw content | |35582|New|Enh|2005-07-01|Enhancement: permissions | |35603|Inf|Nor|2005-07-05|JNDIPrincipalStore needs to ignore case when check| |35608|New|Cri|2005-07-05|System unstable if file names too long | |35693|Ass|Blk|2005-07-11|Cannot Create New Objects (Rev 208532 - 2.1 Releas| |35810|New|Maj|2005-07-21|Lucene content indexer doesn't work when binding i| |35927|New|Nor|2005-07-29|use-rdbms-expression-factory does not work with my| |36003|New|Min|2005-08-03|FAQ references third-party libraries that have bee| |36026|New|Nor|2005-08-04|Quota Listener | |36045|New|Enh|2005-08-05|DASL sorting moved into Lucene for better performa| |36128|New|Nor|2005-08-10|(2.1 release) Everything should always enlist stor| |36137|New|Nor|2005-08-11|Slide fails when using Oracle and WebLogic with J2| |36164|New|Nor|2005-08-12|Empty merge expression gives internal server error| |36354|New|Maj|2005-08-25|Version control method for workspaces incorrectly | |36355|New|Nor|2005-08-25|Multiple branches cannot be made from a single ver| |36415|New|Maj|2005-08-30|Wrong cache content on permission | |36530|New|Nor|2005-09-06|MySQL 5.0 Store initialization error ... | |36551|New|Nor|2005-09-08|NPE in Domain.java | |36621|New|Nor|2005-09-12|JNDI DataSource lookup fails on Sun Java System Ap| |36775|New|Cri|2005-09-23|Failed to insert permission: Missed Java code in S| |36938|New|Nor|2005-10-05|Quota Listener - bug fix | |36950|New|Nor|2005-10-06|Add a search type of propcontains | |36981|New|Min|2005-10-10|Unlocking a file owned by another user doesn't wor| |37022|New|Nor|2005-10-11|Unable to create resources on sub-folders due to A| |37254|New|Maj|2005-10-26|RDBMS store and Branching. | |37266|New|Maj|2005-10-27|SimpleFileStore - files showing as directory (as <| |37423|New|Cri|2005-11-09|retrieve branch in contentImpl does not work | |37511|New|Maj|2005-11-15|WebdavResource quashes queryString | |37582|New|Maj|2005-11-21|Simple PUT document request results in exception o| |37583|New|Nor|2005-11-21|RDBMS store not retrieving revision descriptors co| |37732|New|Nor|2005-12-01|Resource Locks Aren't Persisted Using LDAP | |37748|New|Nor|2005-12-02|JNDIPrincipalStore that uses J2EE Container | |37816|New|Nor|2005-12-07|Rename causes creation of a folder using WCK's Web| |37857|New|Nor|2005-12-10|AclMethod tries to access nodestore with an incomp| |37950|New|Nor|2005-12-17|Partial GET is not working well. | |38120|New|Cri|2006-01-04|[PATCH] jakarta-slide-ant-webdav wrong mime-types | |38273|New|Nor|2006-01-14|method "retrieveRevisionDescriptors" of "StandardR| |38353|New|Cri|2006-01-23|Unable to post large(>2GB) files using Slide API | |38447|New|Maj|2006-01-30|IndexConfiguration always use the default analyzer| |38589|New|Nor|2006-02-09|Files not released after upload (put) | |38675|New|Nor|2006-02-16|Code not compiling under jdk1.5 | |39115|New|Cri|2006-03-27|Deleting Link update global cache instead of trans| |39220|New|Maj|2006-04-06|Missing body in a PROPFIND request | |39453|New|Nor|2006-04-30|ACL: principal-URL property not supported | |39818|New|Nor|2006-06-15|WebdavSystemView doesn't work with JRE 1.5 | |39830|New|Nor|2006-06-17|PostgresRDBMSAdapter is not compatible with Postgr| |40074|New|Cri|2006-07-19|get task for apache ant discards parts of files | |40089|New|Nor|2006-07-21|plus (+) is decoded in path components of URLs whi| |40118|New|Min|2006-07-26|[PATCH] clean up some dead code stores | +-----+---+---+----------+--------------------------------------------------+ | Total 178 bugs | +---------------------------------------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 07 08:28:34 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9708 invoked from network); 7 Aug 2006 08:28:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Aug 2006 08:28:33 -0000 Received: (qmail 22674 invoked by uid 500); 7 Aug 2006 08:28:32 -0000 Delivered-To: [email protected] Received: (qmail 22633 invoked by uid 500); 7 Aug 2006 08:28:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Slide Developers Mailing List" <slide-dev.jakarta.apache.org> Reply-To: "Slide Developers Mailing List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 22615 invoked by uid 500); 7 Aug 2006 08:28:32 -0000 Received: (qmail 22611 invoked by uid 99); 7 Aug 2006 08:28:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2006 01:28:32 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2006 01:28:31 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 970991A981D; Mon, 7 Aug 2006 01:28:05 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r429272 - /jakarta/slide/trunk/src/share/org/apache/slide/lock/LockImpl.java Date: Mon, 07 Aug 2006 08:28:05 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: luetzkendorf Date: Mon Aug 7 01:28:04 2006 New Revision: 429272 URL: http://svn.apache.org/viewvc?rev=429272&view=rev Log: Fix: User that is not Lock-Owner but has the DAV:unlock privilege could not remove a lock (testcase functional\lock\mix\killLock.xml) Modified: jakarta/slide/trunk/src/share/org/apache/slide/lock/LockImpl.java Modified: jakarta/slide/trunk/src/share/org/apache/slide/lock/LockImpl.java URL: http://svn.apache.org/viewvc/jakarta/slide/trunk/src/share/org/apache/slide/lock/LockImpl.java?rev=429272&r1=429271&r2=429272&view=diff ============================================================================== --- jakarta/slide/trunk/src/share/org/apache/slide/lock/LockImpl.java (original) +++ jakarta/slide/trunk/src/share/org/apache/slide/lock/LockImpl.java Mon Aug 7 01:28:04 2006 @@ -754,7 +754,7 @@ if ((tryToLock && condition1 && condition4) || (condition3 && !condition2 && !condition6) || (condition3 && !condition5 && condition6) - || (condition5 && !condition2) // FIXES 30982 + || (condition5 && !condition2 && condition3) // FIXES 30982 ){ compatible = false; } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 07 08:30:40 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10594 invoked from network); 7 Aug 2006 08:30:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Aug 2006 08:30:39 -0000 Received: (qmail 26447 invoked by uid 500); 7 Aug 2006 08:30:38 -0000 Delivered-To: [email protected] Received: (qmail 26412 invoked by uid 500); 7 Aug 2006 08:30:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Slide Developers Mailing List" <slide-dev.jakarta.apache.org> Reply-To: "Slide Developers Mailing List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 26401 invoked by uid 500); 7 Aug 2006 08:30:38 -0000 Received: (qmail 26398 invoked by uid 99); 7 Aug 2006 08:30:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2006 01:30:38 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2006 01:30:34 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id E0E291A981A; Mon, 7 Aug 2006 01:30:07 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r429274 - /jakarta/slide/trunk/src/share/org/apache/slide/common/PropertyName.java Date: Mon, 07 Aug 2006 08:30:07 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: luetzkendorf Date: Mon Aug 7 01:30:06 2006 New Revision: 429274 URL: http://svn.apache.org/viewvc?rev=429274&view=rev Log: Change: performance in PropertyName.equals Modified: jakarta/slide/trunk/src/share/org/apache/slide/common/PropertyName.java Modified: jakarta/slide/trunk/src/share/org/apache/slide/common/PropertyName.java URL: http://svn.apache.org/viewvc/jakarta/slide/trunk/src/share/org/apache/slide/common/PropertyName.java?rev=429274&r1=429273&r2=429274&view=diff ============================================================================== --- jakarta/slide/trunk/src/share/org/apache/slide/common/PropertyName.java (original) +++ jakarta/slide/trunk/src/share/org/apache/slide/common/PropertyName.java Mon Aug 7 01:30:06 2006 @@ -175,7 +175,8 @@ if (other instanceof PropertyName) { PropertyName that = (PropertyName)other; - return this.name.equals(that.name) && this.namespace.equals(that.namespace); + // we can use == because we have internalized name and namespace + return this.name == that.name && this.namespace == that.namespace; } return false; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 07 08:31:59 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11132 invoked from network); 7 Aug 2006 08:31:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Aug 2006 08:31:58 -0000 Received: (qmail 30515 invoked by uid 500); 7 Aug 2006 08:31:57 -0000 Delivered-To: [email protected] Received: (qmail 30462 invoked by uid 500); 7 Aug 2006 08:31:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Slide Developers Mailing List" <slide-dev.jakarta.apache.org> Reply-To: "Slide Developers Mailing List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 30451 invoked by uid 500); 7 Aug 2006 08:31:57 -0000 Received: (qmail 30448 invoked by uid 99); 7 Aug 2006 08:31:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2006 01:31:57 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2006 01:31:56 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 2FD6D1A981F; Mon, 7 Aug 2006 01:31:30 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r429276 - /jakarta/slide/trunk/testsuite/testsuite/junit/testconfigs/_default/webapp/Domain.xml Date: Mon, 07 Aug 2006 08:31:29 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: luetzkendorf Date: Mon Aug 7 01:31:29 2006 New Revision: 429276 URL: http://svn.apache.org/viewvc?rev=429276&view=rev Log: Change: root user has now unlock-privilege for tests Modified: jakarta/slide/trunk/testsuite/testsuite/junit/testconfigs/_default/webapp/Domain.xml Modified: jakarta/slide/trunk/testsuite/testsuite/junit/testconfigs/_default/webapp/Domain.xml URL: http://svn.apache.org/viewvc/jakarta/slide/trunk/testsuite/testsuite/junit/testconfigs/_default/webapp/Domain.xml?rev=429276&r1=429275&r2=429276&view=diff ============================================================================== --- jakarta/slide/trunk/testsuite/testsuite/junit/testconfigs/_default/webapp/Domain.xml (original) +++ jakarta/slide/trunk/testsuite/testsuite/junit/testconfigs/_default/webapp/Domain.xml Mon Aug 7 01:31:29 2006 @@ -67,6 +67,7 @@ <permission action="/actions/read-acl" subject="all" inheritable="true" negative="true"/> <permission action="/actions/write-acl" subject="all" inheritable="true" negative="true"/> <permission action="/actions/unlock" subject="all" inheritable="true" negative="true"/> + <permission action="/actions/unlock" subject="/users/root" inheritable="true"/> <permission action="/actions/read" subject="all" inheritable="true"/> <!-- /users --> <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/users"> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 07 12:12:15 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84833 invoked from network); 7 Aug 2006 12:12:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Aug 2006 12:12:14 -0000 Received: (qmail 82176 invoked by uid 500); 7 Aug 2006 12:12:14 -0000 Delivered-To: [email protected] Received: (qmail 81896 invoked by uid 500); 7 Aug 2006 12:12:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Slide Developers Mailing List" <slide-dev.jakarta.apache.org> Reply-To: "Slide Developers Mailing List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 81885 invoked by uid 500); 7 Aug 2006 12:12:13 -0000 Received: (qmail 81881 invoked by uid 99); 7 Aug 2006 12:12:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2006 05:12:13 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2006 05:12:12 -0700 Received: from ajax.apache.org (localhost [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id A869AD49BD for <[email protected]>; Mon, 7 Aug 2006 13:11:51 +0100 (BST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Mon, 07 Aug 2006 12:11:51 -0000 Message-ID: <[email protected]> Subject: [Jakarta-slide Wiki] Update of "SlidePropertiesFile" by DarrenHartford X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jakarta-slide Wiki" for change notification. The following page has been changed by DarrenHartford: http://wiki.apache.org/jakarta-slide/SlidePropertiesFile ------------------------------------------------------------------------------ This file must be referenced somewhere in your CLASSPATH - To override Slide's default settings - place your slide.properties file under your servlet engine's 'WEB-INF/classes/org/apache/slide' folder + To override Slide's default settings - place your slide.properties file under your servlet engine's 'WEB-INF/classes/org/apache/slide' folder. + + However, the more recent common location for slide.properties is WEB-INF/classes/slide.properties to coincide with other property files located under WEB-INF/classes. === Default Example === {{{ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 07 12:21:56 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86700 invoked from network); 7 Aug 2006 12:21:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Aug 2006 12:21:55 -0000 Received: (qmail 94693 invoked by uid 500); 7 Aug 2006 12:21:55 -0000 Delivered-To: [email protected] Received: (qmail 94408 invoked by uid 500); 7 Aug 2006 12:21:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Slide Developers Mailing List" <slide-dev.jakarta.apache.org> Reply-To: "Slide Developers Mailing List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 94396 invoked by uid 500); 7 Aug 2006 12:21:54 -0000 Received: (qmail 94393 invoked by uid 99); 7 Aug 2006 12:21:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2006 05:21:54 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2006 05:21:53 -0700 Received: from ajax.apache.org (localhost [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 1B2A5D49BD for <[email protected]>; Mon, 7 Aug 2006 13:21:29 +0100 (BST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Mon, 07 Aug 2006 12:21:29 -0000 Message-ID: <[email protected]> Subject: [Jakarta-slide Wiki] Update of "DaslConfiguration" by DarrenHartford X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jakarta-slide Wiki" for change notification. The following page has been changed by DarrenHartford: http://wiki.apache.org/jakarta-slide/DaslConfiguration ------------------------------------------------------------------------------ '''Note''' this is under delevlopment, and will be part of Slide 2.2. To check this out you can use cvs HEAD. - Identified on 7/19/2006, the <propertiesindexer> has issues with bindings. Recommend you add/modify a slide.properties file with the org.apache.slide.binding=false parameter. + Identified on 7/19/2006, the <propertiesindexer> has issues with bindings. Recommend you add/modify a slide.properties file with the org.apache.slide.binding=false parameter. See SlidePropertiesFile. Searching the meta data. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 07 13:26:47 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12236 invoked from network); 7 Aug 2006 13:26:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Aug 2006 13:26:47 -0000 Received: (qmail 9578 invoked by uid 500); 7 Aug 2006 13:26:46 -0000 Delivered-To: [email protected] Received: (qmail 9541 invoked by uid 500); 7 Aug 2006 13:26:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Slide Developers Mailing List" <slide-dev.jakarta.apache.org> Reply-To: "Slide Developers Mailing List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 9528 invoked by uid 99); 7 Aug 2006 13:26:46 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2006 06:26:46 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2006 06:26:45 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 9C38D71429F; Mon, 7 Aug 2006 13:24:04 +0000 (GMT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 40202] New: - running away tmp files Message-ID: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Date: Mon, 7 Aug 2006 13:24:04 +0000 (GMT) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=40202>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=40202 Summary: running away tmp files Product: Slide Version: Nightly Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Core AssignedTo: [email protected] ReportedBy: [email protected] see http://comments.gmane.org/gmane.comp.jakarta.slide.user/10691 On a linux box with jpackage install of tomcat 5.5.9, the /var/cache/tomcat5/temp directory (the CATALINA_HOME/temp directory) fills up with binary content_NNNN.tmp files. These are never cleaned up. /src/share/org/apache/slide/content/NodeRevisionContent.java is where the content_NNNN.tmp are created, however minor attempts to handle cleanup haven't worked out (particularly when examining retry attempts after failed transactions). This problem basically doubles the required disk space as all binary objects stored in Slide are stored twice, with one being these .tmp files that are not cleaned up. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Aug 09 14:54:53 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87611 invoked from network); 9 Aug 2006 14:54:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Aug 2006 14:54:52 -0000 Received: (qmail 2224 invoked by uid 500); 9 Aug 2006 14:54:52 -0000 Delivered-To: [email protected] Received: (qmail 1945 invoked by uid 500); 9 Aug 2006 14:54:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Slide Developers Mailing List" <slide-dev.jakarta.apache.org> Reply-To: "Slide Developers Mailing List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 1934 invoked by uid 500); 9 Aug 2006 14:54:51 -0000 Received: (qmail 1931 invoked by uid 99); 9 Aug 2006 14:54:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Aug 2006 07:54:51 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Aug 2006 07:54:50 -0700 Received: from ajax.apache.org (localhost [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id E6CCDD49BF for <[email protected]>; Wed, 9 Aug 2006 15:54:29 +0100 (BST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Wed, 09 Aug 2006 14:54:29 -0000 Message-ID: <[email protected]> Subject: [Jakarta-slide Wiki] Update of "CreateNewDirectoryAndFile" by DarrenHartford X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jakarta-slide Wiki" for change notification. The following page has been changed by DarrenHartford: http://wiki.apache.org/jakarta-slide/CreateNewDirectoryAndFile ------------------------------------------------------------------------------ -LuanneCoutinho + CreateDirectoryTreeInJava + Is there a "Getting Started with the Slide API" guide anywhere? Or a "HelloSlide.java" file that somebody can put up here? I'm looking for some guidance on how to use the Slide API ''without'' using Web``DAV. Help of any kind is appreciated - URLs, source files, etc. -- JohnMcDonnell --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Aug 09 14:59:09 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89123 invoked from network); 9 Aug 2006 14:59:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Aug 2006 14:59:08 -0000 Received: (qmail 9347 invoked by uid 500); 9 Aug 2006 14:59:07 -0000 Delivered-To: [email protected] Received: (qmail 9308 invoked by uid 500); 9 Aug 2006 14:59:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Slide Developers Mailing List" <slide-dev.jakarta.apache.org> Reply-To: "Slide Developers Mailing List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 9297 invoked by uid 500); 9 Aug 2006 14:59:07 -0000 Received: (qmail 9294 invoked by uid 99); 9 Aug 2006 14:59:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Aug 2006 07:59:07 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Aug 2006 07:59:06 -0700 Received: from ajax.apache.org (localhost [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id D8B22D49BD for <[email protected]>; Wed, 9 Aug 2006 15:58:45 +0100 (BST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Wed, 09 Aug 2006 14:58:45 -0000 Message-ID: <[email protected]> Subject: [Jakarta-slide Wiki] Update of "CreateDirectoryTreeInJava" by DarrenHartford X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jakarta-slide Wiki" for change notification. The following page has been changed by DarrenHartford: http://wiki.apache.org/jakarta-slide/CreateDirectoryTreeInJava New page: Purpose: Solve the problem of heavily nested paths when using MKCOL to create a directory structure with WebDAV. i.e. store a file under /COMPANYA/2006/08/test.file requires multiple MKCOL commands as Slide needs the parent tree to exist before creating children. Below is a java method that takes a jakarta WebdavResource and the path (such as "/COMPANYA/2006/08/") and creates the entire tree structure. private static String mkallcol(WebdavResource wdr, String path) throws Exception{ if (path != null){ if (path.length() > 1){ path.replace('\\','/'); //Now, break up path java.util.StringTokenizer t = new java.util.StringTokenizer(path,"/"); String strsub = "/"; int count = t.countTokens(); //check each token EXCEPT last token, last token is filename while ((t.hasMoreTokens()) && (count > 1)){ strsub = strsub + t.nextToken() + "/"; wdr.mkcolMethod(wdr.getPath() + strsub); count--; } return wdr.getPath() + strsub + t.nextToken(); }else{ return ""; } }else{ return ""; } } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Aug 09 15:00:50 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89577 invoked from network); 9 Aug 2006 15:00:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Aug 2006 15:00:50 -0000 Received: (qmail 13135 invoked by uid 500); 9 Aug 2006 15:00:45 -0000 Delivered-To: [email protected] Received: (qmail 13098 invoked by uid 500); 9 Aug 2006 15:00:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Slide Developers Mailing List" <slide-dev.jakarta.apache.org> Reply-To: "Slide Developers Mailing List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 13058 invoked by uid 500); 9 Aug 2006 15:00:45 -0000 Received: (qmail 13049 invoked by uid 99); 9 Aug 2006 15:00:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Aug 2006 08:00:45 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Aug 2006 08:00:44 -0700 Received: from ajax.apache.org (localhost [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id E2E49D495A for <[email protected]>; Wed, 9 Aug 2006 16:00:23 +0100 (BST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Wed, 09 Aug 2006 15:00:23 -0000 Message-ID: <[email protected]> Subject: [Jakarta-slide Wiki] Update of "CreateNewDirectoryAndFile" by DarrenHartford X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jakarta-slide Wiki" for change notification. The following page has been changed by DarrenHartford: http://wiki.apache.org/jakarta-slide/CreateNewDirectoryAndFile ------------------------------------------------------------------------------ = Creating a new directory and new file = + + See also CreateDirectoryTreeInJava To create a new file, you need to use the MKCOL to create a new collection. {{{ @@ -28, +30 @@ -LuanneCoutinho - CreateDirectoryTreeInJava + Is there a "Getting Started with the Slide API" guide anywhere? Or a "HelloSlide.java" file that somebody can put up here? I'm looking for some guidance on how to use the Slide API ''without'' using Web``DAV. Help of any kind is appreciated - URLs, source files, etc. -- JohnMcDonnell --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Aug 11 20:03:19 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79259 invoked from network); 11 Aug 2006 20:03:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Aug 2006 20:03:18 -0000 Received: (qmail 81323 invoked by uid 500); 11 Aug 2006 20:03:18 -0000 Delivered-To: [email protected] Received: (qmail 81128 invoked by uid 500); 11 Aug 2006 20:03:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Slide Developers Mailing List" <slide-dev.jakarta.apache.org> Reply-To: "Slide Developers Mailing List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 81110 invoked by uid 99); 11 Aug 2006 20:03:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Aug 2006 13:03:17 -0700 X-ASF-Spam-Status: No, hits=1.1 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_00_10,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nf-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Aug 2006 13:03:16 -0700 Received: by nf-out-0910.google.com with SMTP id y25so996306nfb for <[email protected]>; Fri, 11 Aug 2006 13:02:55 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=nxSoBv0Smj4nGFrI5W43VSIGLhqi/1YHJAFqFeC9oY83dH6pgGxFE+kOS7jffzpqEMmPfHmlhjPme+HcfUOlHNWY0rNBXB524uiTOD2qX2ilWR+GxHc/HCCw2Ru5UK9aXh7+/Lu/cwshOSI2r2XyFfonC8sj0CcCCwUnca0+Wjk= Received: by 161.129.204.104 with SMTP id q19mr2320513huf; Fri, 11 Aug 2006 13:02:54 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 11 Aug 2006 13:02:54 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 11 Aug 2006 13:02:54 -0700 From: "Mike Murray" <[email protected]> To: [email protected] Subject: New storage implementations for Slide MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_136762_29210831.1155326574866" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_136762_29210831.1155326574866 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I am the project manager for a distributed information sharing network in developement at Reed College. We were curious about what is required to implement a new storage module for slide that would replace an SQL database with our information sharing system. I hope this is the correct place to ask this question. If not, feel free to ignore. Thank you. -mike ------=_Part_136762_29210831.1155326574866-- From [email protected] Fri Aug 11 20:19:23 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85531 invoked from network); 11 Aug 2006 20:19:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Aug 2006 20:19:22 -0000 Received: (qmail 4443 invoked by uid 500); 11 Aug 2006 20:19:21 -0000 Delivered-To: [email protected] Received: (qmail 4399 invoked by uid 500); 11 Aug 2006 20:19:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Slide Developers Mailing List" <slide-dev.jakarta.apache.org> Reply-To: "Slide Developers Mailing List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 4388 invoked by uid 99); 11 Aug 2006 20:19:21 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Aug 2006 13:19:21 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO wcmta1.mycingular.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Aug 2006 13:19:20 -0700 Received: from OllieXP (mobile-166-214-070-133.mycingular.net [161.129.204.104]) by wcmta1.mycingular.net (8.12.11/8.12.11) with ESMTP id k7BKIbAu023776; Fri, 11 Aug 2006 15:18:40 -0500 (CDT) (envelope-from [email protected]) Reply-To: <[email protected]> From: "Michael Oliver" <[email protected]> To: "'Slide Developers Mailing List'" <[email protected]> Subject: RE: New storage implementations for Slide Date: Fri, 11 Aug 2006 14:18:37 -0600 Organization: Alarius Systems LLC Message-ID: <003501c6bd83$55705b30$9400a8c0@OllieXP> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Thread-Index: Aca9gQk8yBIViGhpRaKl6zQ2PKd4nwAAXBQg In-Reply-To: <[email protected]> X-PMX-Version: 161.129.204.104075, Antispam-Engine: 161.129.204.104, Antispam-Data: 2161.129.204.104433 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This should be to the slide-user group, this list is for the developers of slide itself. However I will respond. By 'module' you mean an alternative to the storage of content and metadata from the default Tx File system stores and the RDBMS stores that are available. You can write your own stores for content and metadata by simply extending the various slide abstract store classes and implementing your own event handlers. You can see how the Tx* default stores extend the abstract stores and look at the wiki. You can then use Domain.xml to apply your stores to the entire slide repository or to a particular scope or just certain stores on certain paths/scope. We use slide as a POJO serialization persistence repository and it works very well. We also have a HibernateStore that will take an object passed in via XML serilization and reinstanciate the object and then do Object to Relational mapping to end up storing the data both in XML and in RDBMS, so there is plenty of power in there, but no easy way to learn it. Michael Oliver CTO Alarius Systems LLC 6800 E. Lake Mead Blvd, #1096 Las Vegas, NV 89156 Phone:417.483.3557 Cell:417.483.3557 Fax:417.483.3557 -----Original Message----- From: Mike Murray [mailto:[email protected]] Sent: Friday, August 11, 2006 2:03 PM To: [email protected] Subject: New storage implementations for Slide I am the project manager for a distributed information sharing network in developement at Reed College. We were curious about what is required to implement a new storage module for slide that would replace an SQL database with our information sharing system. I hope this is the correct place to ask this question. If not, feel free to ignore. Thank you. -mike --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 14 06:11:31 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68693 invoked from network); 14 Aug 2006 06:11:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Aug 2006 06:11:31 -0000 Received: (qmail 98248 invoked by uid 500); 14 Aug 2006 06:11:30 -0000 Delivered-To: [email protected] Received: (qmail 98207 invoked by uid 500); 14 Aug 2006 06:11:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Slide Developers Mailing List" <slide-dev.jakarta.apache.org> Reply-To: "Slide Developers Mailing List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 98196 invoked by uid 99); 14 Aug 2006 06:11:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Aug 2006 23:11:29 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Aug 2006 23:11:28 -0700 Received: by brutus.apache.org (Postfix, from userid 1007) id 09AA841001E; Mon, 14 Aug 2006 06:08:26 +0000 (GMT) From: [email protected] To: [email protected] Subject: Bug report for Slide [2006/08/13] Message-Id: <[email protected]> Date: Mon, 14 Aug 2006 06:08:26 +0000 (GMT) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | | 3922|New|Nor|2001-10-02|client acl href principal should be decoded | | 6618|New|Nor|2002-02-21|proppatch and rfc2518 | |10115|New|Nor|2002-06-21|WebDAV Exception when filename contains % | |10301|New|Min|2002-06-27|500 Error doing propfind with null namespace | |10869|New|Nor|2002-07-16|'run.bat' error in the client/bin subdirectory | |11430|New|Enh|2002-08-02|Mac OSx 'hide-dot-files' filter for WebDAV servlet| |11527|New|Nor|2002-08-07|Modify DIGEST support for IIS server | |11658|New|Maj|2002-08-13|Locking a non-existing resource | |12042|New|Maj|2002-08-26|NodeRevisionContent stream not reuseable | |12992|New|Nor|2002-09-25|JNDI Wrapper cannot handle workspaces | |12995|New|Nor|2002-09-25|SlideServerListener omits DAV parameters when init| |14298|New|Maj|2002-11-06|Tried to log into slide-admiin got this exception | |14836|New|Nor|2002-11-25|Run.sh Exits Unexpectedly | |16642|New|Nor|2003-01-31|Check for 207 (Multistatus) breaks webdavResource.| |18813|Opn|Min|2003-04-08|SAXException in XMLResponseMethodBase.parseXMLResp| |19411|New|Nor|2003-04-29|AccessDeniedException is thrown instead of ObjectN| |19419|New|Nor|2003-04-29|WebdavResource.java does not release connections | |19669|New|Nor|2003-05-05|setWebdavProperties cannot deal with relative HREF| |19791|New|Nor|2003-05-09|AccessDeniedException is thrown in structure.creat| |21158|New|Maj|2003-06-28|ContentImpl does not follow link to retrieve descr| |21598|New|Nor|2003-07-15|FileContentStore.retrieveRevisionContent() shouldn| |21850|New|Nor|2003-07-24|Nightly Builds Failing | |22409|New|Nor|2003-08-14|There is problem in Slide security system. | |23493|New|Nor|2003-09-29|Live properties are undefined for non-existent res| |24357|New|Nor|2003-11-03|PATCH: Fine granular access rights improvement. | |24491|New|Maj|2003-11-07|PATCH: Fixes problem in Oracle with properties lon| |24912|New|Maj|2003-11-22|Seeing only version 1.0 | |26059|New|Nor|2004-01-12|Interceptor not called, if slide not default-servl| |27483|New|Enh|2004-03-05|Request for aclfindMethod() convenience method | |27485|New|Min|2004-03-05|Client.g STRING limitations | |27952|Opn|Enh|2004-03-25|No support for BIND, UNBIND and REBIND | |28132|New|Nor|2004-04-01|Error while using slide in weblogic, works fine in| |28139|New|Nor|2004-04-01|auto-create-user broken | |28578|New|Nor|2004-04-25|deleting of the latest revision does not change th| |28625|New|Nor|2004-04-27|getMethod does not support files larger than 65535| |28787|Unc|Maj|2004-05-05|WebdavFile.isDirectory fails with exception when t| |28894|Opn|Blk|2004-05-11|OutOfMemoryError posting large file | |28919|New|Cri|2004-05-12|Incorrect encoding assumption | |28980|New|Cri|2004-05-14|WebdavResource List | |29081|New|Min|2004-05-19|WebdavResource.getIsHidden() is never true | |29146|New|Nor|2004-05-21|JDOM b10 has removed Element.addContent(Element) | |29150|New|Min|2004-05-21|Deadlock while initializing when using two jdbc st| |29183|New|Nor|2004-05-24|WebdavResource.getName() should trim the prefix | |29235|New|Nor|2004-05-26|Resource Type needs method isPrincipal | |29250|New|Nor|2004-05-27|PROPFIND response does not handle trailing "/" as | |29309|New|Nor|2004-05-31|is it a bug?? | |29385|New|Min|2004-06-04|WebdavFile constructor | |29474|New|Nor|2004-06-09|Webdav client does not support redirect reference | |29590|New|Nor|2004-06-16|GetLastModifiedProperty using incorrect format | |29591|New|Nor|2004-06-16|DirectoryIndexGenerator using incorrect format | |29737|New|Nor|2004-06-22|href url not compared to not escaped url in Webdav| |29789|New|Nor|2004-06-24|StatusLine.getReasonPhrase() is not being used | |29790|New|Nor|2004-06-24|CLIENT: javadocs for org.apache.util.WebdavStatus | |29806|New|Enh|2004-06-25|single instance support | |29876|New|Min|2004-07-01|WebdavStatus.getStatusText | |29909|New|Min|2004-07-04|Server should return an error code on BIND method | |30081|New|Enh|2004-07-13|method to set socket timeouts for WebDavResource | |30257|New|Enh|2004-07-22|Slide support for Max DB | |30317|New|Cri|2004-07-26|getContentLength property not being set correctly | |30329|New|Nor|2004-07-26|Speed up and reduce response size for DirectoryInd| |30387|New|Nor|2004-07-29|propfind with string property name containing no n| |30414|New|Nor|2004-07-30|WebdavResource.proppatchMethod return value is inc| |30416|New|Nor|2004-07-30|No support for optional "responsedescription" node| |30694|New|Nor|2004-08-16|Classes specified in config are not loaded by the | |30777|New|Nor|2004-08-20|DirectoryIndexGenerator using incorrect datetime f| |30822|Ass|Min|2004-08-24|Jars for apache remote maven repository not update| |30942|New|Cri|2004-08-30|Granting a new privilege to a principal with exist| |30961|New|Enh|2004-08-31|Encoding in source files | |30988|New|Blk|2004-09-01|Interop problem w/ Microsoft Exchange Server 2003 | |31105|New|Cri|2004-09-07|Transient locks are not released due to suspended | |31118|Ass|Nor|2004-09-08|Table PROPERTIES: property value for "version-set"| |31133|New|Nor|2004-09-08|Cannot support unicode file name | |31196|New|Nor|2004-09-13|error thrown in init() when no namespace defined | |31265|Ass|Nor|2004-09-16|filename encoding patch | |31521|Ass|Nor|2004-10-04|2.1 Release | |31695|New|Enh|2004-10-13|access to the URI of a locked resource in LockEven| |31696|New|Enh|2004-10-13|Throw events when setting new permissions | |31705|Opn|Nor|2004-10-13|Command line client doesn't accept urls containing| |31735|New|Maj|2004-10-15|PROPFIND do not work properly on UTF-8 encoded URL| |31756|New|Cri|2004-10-18|Seperation of <store> and <scope> nodestore config| |31908|Opn|Nor|2004-10-27|hasPermission in SecurityImpl may be subject to sa| |31924|New|Min|2004-10-27|Slide produces a lot of garbace objects and maybe | |31993|New|Nor|2004-10-31|URL encoding problems in Japanese locale | |32271|New|Nor|2004-11-17|ant tasks fail when uri contains special character| |32290|New|Nor|2004-11-18|Unable to edit role | |32305|New|Nor|2004-11-19|Bug with get method | |32352|New|Maj|2004-11-23|/actions/write granted to owner is insufficient to| |32567|New|Nor|2004-12-07|adding table prefixes | |32673|New|Nor|2004-12-13|tomcat5-install task dep with 'patch -i' | |32855|New|Nor|2004-12-28|Opened input strams are not closed | |32886|Opn|Cri|2004-12-30|client webdav lib doesn't return child collections| |32913|New|Nor|2005-01-02|OJB store | |33037|New|Nor|2005-01-11|UriPath isn't serializable... | |33038|New|Nor|2005-01-11|ObjectNode's vector of children is never updated..| |33136|New|Nor|2005-01-17|WebDavResource.listWebDavResources() buggy when re| |33163|New|Cri|2005-01-19|Default slide installation exposes all passwords | |33199|New|Nor|2005-01-21|The Report method of WebDav(Versioning) does not s| |33498|New|Maj|2005-02-10|WebdavResource's moveMethod returns true even when| |33517|New|Maj|2005-02-11|Tomcat process not terminated when Slide wabapp is| |33565|New|Maj|2005-02-14|WebdavResource's deleteMethod returns true even wh| |33567|New|Nor|2005-02-14|WebSphere problem with getServletPath | |33639|New|Enh|2005-02-18|Utility classes to aid implementation of a Princip| |33683|New|Enh|2005-02-22|Import node with content | |34019|New|Nor|2005-03-15|docs/installation.html implies that running ant wi| |34047|New|Nor|2005-03-17|A request of the LockDiscoveryProperty on a locked| |34286|New|Nor|2005-04-04|Export from TX XML/file stores to non-TX versions | |34379|New|Nor|2005-04-08|URLUtil.URLDecode needs array safety check | |34515|Unc|Enh|2005-04-19|Recieving a 403 forbidden without a giving the opp| |34630|New|Nor|2005-04-26|directory-browsing parameter does not accept paths| |34640|New|Nor|2005-04-27|Bindings lost in copy/move using mysql store | |34670|New|Nor|2005-04-28|PropertyName and UriPath are not serializable. | |34674|New|Nor|2005-04-29|NullPointerException in AbstractWebdavMethod/Resou| |34676|New|Nor|2005-04-29|tm-commits=true = database corruption? | |34678|New|Nor|2005-04-29|URI marked serializable but all fields in it are t| |34679|New|Cri|2005-04-29|URL encoding/decoding or accentuaed ressources bro| |34726|New|Nor|2005-05-03|"response already committed" during LOCK operation| |34741|New|Nor|2005-05-04|Problem navigation client folder | |34753|New|Nor|2005-05-05|Continuous action on WebDAV server cause OutOfMemo| |34772|New|Maj|2005-05-06|WebdavState always returns all lock token, not URI| |34779|New|Cri|2005-05-06|Property namespace and name clash | |34910|New|Maj|2005-05-13|Cannot start webdav transactions on resource with | |34950|New|Maj|2005-05-18|Copy and move method does not clean query paramete| |35005|Inf|Maj|2005-05-21|Unable to create a new folder specifying an arbitr| |35213|New|Nor|2005-06-03|Patch: Httpclient 3.0 support | |35255|New|Maj|2005-06-07|davget ANT task downloads files with size 0 on slo| |35339|New|Maj|2005-06-13|JNDIPrincipalStore fails in parseLdapName | |35466|New|Maj|2005-06-22|Security system does not work as "documented" | |35481|New|Nor|2005-06-23|NullPointerException for logger in JDBCStore rev. | |35493|Ass|Maj|2005-06-24|MSPowerpoint content extractor buffer flush | |35494|New|Maj|2005-06-24|TextContentIndexer indexing raw content | |35582|New|Enh|2005-07-01|Enhancement: permissions | |35603|Inf|Nor|2005-07-05|JNDIPrincipalStore needs to ignore case when check| |35608|New|Cri|2005-07-05|System unstable if file names too long | |35693|Ass|Blk|2005-07-11|Cannot Create New Objects (Rev 208532 - 2.1 Releas| |35810|New|Maj|2005-07-21|Lucene content indexer doesn't work when binding i| |35927|New|Nor|2005-07-29|use-rdbms-expression-factory does not work with my| |36003|New|Min|2005-08-03|FAQ references third-party libraries that have bee| |36026|New|Nor|2005-08-04|Quota Listener | |36045|New|Enh|2005-08-05|DASL sorting moved into Lucene for better performa| |36128|New|Nor|2005-08-10|(2.1 release) Everything should always enlist stor| |36137|New|Nor|2005-08-11|Slide fails when using Oracle and WebLogic with J2| |36164|New|Nor|2005-08-12|Empty merge expression gives internal server error| |36354|New|Maj|2005-08-25|Version control method for workspaces incorrectly | |36355|New|Nor|2005-08-25|Multiple branches cannot be made from a single ver| |36415|New|Maj|2005-08-30|Wrong cache content on permission | |36530|New|Nor|2005-09-06|MySQL 5.0 Store initialization error ... | |36551|New|Nor|2005-09-08|NPE in Domain.java | |36621|New|Nor|2005-09-12|JNDI DataSource lookup fails on Sun Java System Ap| |36775|New|Cri|2005-09-23|Failed to insert permission: Missed Java code in S| |36938|New|Nor|2005-10-05|Quota Listener - bug fix | |36950|New|Nor|2005-10-06|Add a search type of propcontains | |36981|New|Min|2005-10-10|Unlocking a file owned by another user doesn't wor| |37022|New|Nor|2005-10-11|Unable to create resources on sub-folders due to A| |37254|New|Maj|2005-10-26|RDBMS store and Branching. | |37266|New|Maj|2005-10-27|SimpleFileStore - files showing as directory (as <| |37423|New|Cri|2005-11-09|retrieve branch in contentImpl does not work | |37511|New|Maj|2005-11-15|WebdavResource quashes queryString | |37582|New|Maj|2005-11-21|Simple PUT document request results in exception o| |37583|New|Nor|2005-11-21|RDBMS store not retrieving revision descriptors co| |37732|New|Nor|2005-12-01|Resource Locks Aren't Persisted Using LDAP | |37748|New|Nor|2005-12-02|JNDIPrincipalStore that uses J2EE Container | |37816|New|Nor|2005-12-07|Rename causes creation of a folder using WCK's Web| |37857|New|Nor|2005-12-10|AclMethod tries to access nodestore with an incomp| |37950|New|Nor|2005-12-17|Partial GET is not working well. | |38120|New|Cri|2006-01-04|[PATCH] jakarta-slide-ant-webdav wrong mime-types | |38273|New|Nor|2006-01-14|method "retrieveRevisionDescriptors" of "StandardR| |38353|New|Cri|2006-01-23|Unable to post large(>2GB) files using Slide API | |38447|New|Maj|2006-01-30|IndexConfiguration always use the default analyzer| |38589|New|Nor|2006-02-09|Files not released after upload (put) | |38675|New|Nor|2006-02-16|Code not compiling under jdk1.5 | |39115|New|Cri|2006-03-27|Deleting Link update global cache instead of trans| |39220|New|Maj|2006-04-06|Missing body in a PROPFIND request | |39453|New|Nor|2006-04-30|ACL: principal-URL property not supported | |39818|New|Nor|2006-06-15|WebdavSystemView doesn't work with JRE 1.5 | |39830|New|Nor|2006-06-17|PostgresRDBMSAdapter is not compatible with Postgr| |40074|New|Cri|2006-07-19|get task for apache ant discards parts of files | |40089|New|Nor|2006-07-21|plus (+) is decoded in path components of URLs whi| |40118|New|Min|2006-07-26|[PATCH] clean up some dead code stores | |40202|New|Nor|2006-08-07|running away tmp files | +-----+---+---+----------+--------------------------------------------------+ | Total 179 bugs | +---------------------------------------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Aug 16 16:08:25 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25730 invoked from network); 16 Aug 2006 16:08:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Aug 2006 16:08:24 -0000 Received: (qmail 97342 invoked by uid 500); 16 Aug 2006 16:08:23 -0000 Delivered-To: [email protected] Received: (qmail 97312 invoked by uid 500); 16 Aug 2006 16:08:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Slide Developers Mailing List" <slide-dev.jakarta.apache.org> Reply-To: "Slide Developers Mailing List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 97301 invoked by uid 500); 16 Aug 2006 16:08:23 -0000 Received: (qmail 97298 invoked by uid 99); 16 Aug 2006 16:08:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Aug 2006 09:08:23 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Aug 2006 09:08:22 -0700 Received: from ajax.apache.org (localhost [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 02986D4990 for <[email protected]>; Wed, 16 Aug 2006 17:08:02 +0100 (BST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Wed, 16 Aug 2006 16:08:01 -0000 Message-ID: <[email protected]> Subject: [Jakarta-slide Wiki] Update of "AutoCreateUser" by DarrenHartford X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jakarta-slide Wiki" for change notification. The following page has been changed by DarrenHartford: http://wiki.apache.org/jakarta-slide/AutoCreateUser ------------------------------------------------------------------------------ This is for enabling the domain.xml configuration for <auto-create-user>. This is often used in conjuction with a JAAS-based security implementation of Slide. domain.xml + ==================================== <configuration> @@ -29, +30 @@ </configuration> ===================================== + + + + keywords: auto automatic create creation user users auto-create-user auto-create-users + --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 21 05:51:38 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62422 invoked from network); 21 Aug 2006 05:51:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Aug 2006 05:51:37 -0000 Received: (qmail 56246 invoked by uid 500); 21 Aug 2006 05:51:36 -0000 Delivered-To: [email protected] Received: (qmail 56212 invoked by uid 500); 21 Aug 2006 05:51:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Slide Developers Mailing List" <slide-dev.jakarta.apache.org> Reply-To: "Slide Developers Mailing List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 56194 invoked by uid 99); 21 Aug 2006 05:51:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Aug 2006 22:51:36 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO talk.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Aug 2006 22:51:35 -0700 Received: from [161.129.204.104] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GF2gt-0007dw-Ct for [email protected]; Sun, 20 Aug 2006 22:51:15 -0700 Message-ID: <[email protected]> Date: Sun, 20 Aug 2006 22:51:15 -0700 (PDT) From: Aslam Bari <[email protected]> To: [email protected] Subject: Urgent Help MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear all, Its very urgent. Can anydoby provide me help. I am using slide2.2 with LuceneContentIndexer. I have configured extractors too. When I searched for a word or phrase it gives me result appropriate. But I want to get some extra information too i.e. "how many words found in a resultant document" means "words frequency" for each document. Has anybody got idea about it. Thanks... -- View this message in context: http://www.nabble.com/Urgent-Help-tf2138502.html#a5901615 Sent from the Jakarta Slide - Dev [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 21 06:11:41 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69817 invoked from network); 21 Aug 2006 06:11:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Aug 2006 06:11:40 -0000 Received: (qmail 75664 invoked by uid 500); 21 Aug 2006 06:11:39 -0000 Delivered-To: [email protected] Received: (qmail 75624 invoked by uid 500); 21 Aug 2006 06:11:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Slide Developers Mailing List" <slide-dev.jakarta.apache.org> Reply-To: "Slide Developers Mailing List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 75613 invoked by uid 99); 21 Aug 2006 06:11:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Aug 2006 23:11:39 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Aug 2006 23:11:35 -0700 Received: by brutus.apache.org (Postfix, from userid 1007) id 411397142F3; Mon, 21 Aug 2006 06:08:27 +0000 (GMT) From: [email protected] To: [email protected] Subject: Bug report for Slide [2006/08/20] Message-Id: <[email protected]> Date: Mon, 21 Aug 2006 06:08:27 +0000 (GMT) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | | 3922|New|Nor|2001-10-02|client acl href principal should be decoded | | 6618|New|Nor|2002-02-21|proppatch and rfc2518 | |10115|New|Nor|2002-06-21|WebDAV Exception when filename contains % | |10301|New|Min|2002-06-27|500 Error doing propfind with null namespace | |10869|New|Nor|2002-07-16|'run.bat' error in the client/bin subdirectory | |11430|New|Enh|2002-08-02|Mac OSx 'hide-dot-files' filter for WebDAV servlet| |11527|New|Nor|2002-08-07|Modify DIGEST support for IIS server | |11658|New|Maj|2002-08-13|Locking a non-existing resource | |12042|New|Maj|2002-08-26|NodeRevisionContent stream not reuseable | |12992|New|Nor|2002-09-25|JNDI Wrapper cannot handle workspaces | |12995|New|Nor|2002-09-25|SlideServerListener omits DAV parameters when init| |14298|New|Maj|2002-11-06|Tried to log into slide-admiin got this exception | |14836|New|Nor|2002-11-25|Run.sh Exits Unexpectedly | |16642|New|Nor|2003-01-31|Check for 207 (Multistatus) breaks webdavResource.| |18813|Opn|Min|2003-04-08|SAXException in XMLResponseMethodBase.parseXMLResp| |19411|New|Nor|2003-04-29|AccessDeniedException is thrown instead of ObjectN| |19419|New|Nor|2003-04-29|WebdavResource.java does not release connections | |19669|New|Nor|2003-05-05|setWebdavProperties cannot deal with relative HREF| |19791|New|Nor|2003-05-09|AccessDeniedException is thrown in structure.creat| |21158|New|Maj|2003-06-28|ContentImpl does not follow link to retrieve descr| |21598|New|Nor|2003-07-15|FileContentStore.retrieveRevisionContent() shouldn| |21850|New|Nor|2003-07-24|Nightly Builds Failing | |22409|New|Nor|2003-08-14|There is problem in Slide security system. | |23493|New|Nor|2003-09-29|Live properties are undefined for non-existent res| |24357|New|Nor|2003-11-03|PATCH: Fine granular access rights improvement. | |24491|New|Maj|2003-11-07|PATCH: Fixes problem in Oracle with properties lon| |24912|New|Maj|2003-11-22|Seeing only version 1.0 | |26059|New|Nor|2004-01-12|Interceptor not called, if slide not default-servl| |27483|New|Enh|2004-03-05|Request for aclfindMethod() convenience method | |27485|New|Min|2004-03-05|Client.g STRING limitations | |27952|Opn|Enh|2004-03-25|No support for BIND, UNBIND and REBIND | |28132|New|Nor|2004-04-01|Error while using slide in weblogic, works fine in| |28139|New|Nor|2004-04-01|auto-create-user broken | |28578|New|Nor|2004-04-25|deleting of the latest revision does not change th| |28625|New|Nor|2004-04-27|getMethod does not support files larger than 65535| |28787|Unc|Maj|2004-05-05|WebdavFile.isDirectory fails with exception when t| |28894|Opn|Blk|2004-05-11|OutOfMemoryError posting large file | |28919|New|Cri|2004-05-12|Incorrect encoding assumption | |28980|New|Cri|2004-05-14|WebdavResource List | |29081|New|Min|2004-05-19|WebdavResource.getIsHidden() is never true | |29146|New|Nor|2004-05-21|JDOM b10 has removed Element.addContent(Element) | |29150|New|Min|2004-05-21|Deadlock while initializing when using two jdbc st| |29183|New|Nor|2004-05-24|WebdavResource.getName() should trim the prefix | |29235|New|Nor|2004-05-26|Resource Type needs method isPrincipal | |29250|New|Nor|2004-05-27|PROPFIND response does not handle trailing "/" as | |29309|New|Nor|2004-05-31|is it a bug?? | |29385|New|Min|2004-06-04|WebdavFile constructor | |29474|New|Nor|2004-06-09|Webdav client does not support redirect reference | |29590|New|Nor|2004-06-16|GetLastModifiedProperty using incorrect format | |29591|New|Nor|2004-06-16|DirectoryIndexGenerator using incorrect format | |29737|New|Nor|2004-06-22|href url not compared to not escaped url in Webdav| |29789|New|Nor|2004-06-24|StatusLine.getReasonPhrase() is not being used | |29790|New|Nor|2004-06-24|CLIENT: javadocs for org.apache.util.WebdavStatus | |29806|New|Enh|2004-06-25|single instance support | |29876|New|Min|2004-07-01|WebdavStatus.getStatusText | |29909|New|Min|2004-07-04|Server should return an error code on BIND method | |30081|New|Enh|2004-07-13|method to set socket timeouts for WebDavResource | |30257|New|Enh|2004-07-22|Slide support for Max DB | |30317|New|Cri|2004-07-26|getContentLength property not being set correctly | |30329|New|Nor|2004-07-26|Speed up and reduce response size for DirectoryInd| |30387|New|Nor|2004-07-29|propfind with string property name containing no n| |30414|New|Nor|2004-07-30|WebdavResource.proppatchMethod return value is inc| |30416|New|Nor|2004-07-30|No support for optional "responsedescription" node| |30694|New|Nor|2004-08-16|Classes specified in config are not loaded by the | |30777|New|Nor|2004-08-20|DirectoryIndexGenerator using incorrect datetime f| |30822|Ass|Min|2004-08-24|Jars for apache remote maven repository not update| |30942|New|Cri|2004-08-30|Granting a new privilege to a principal with exist| |30961|New|Enh|2004-08-31|Encoding in source files | |30988|New|Blk|2004-09-01|Interop problem w/ Microsoft Exchange Server 2003 | |31105|New|Cri|2004-09-07|Transient locks are not released due to suspended | |31118|Ass|Nor|2004-09-08|Table PROPERTIES: property value for "version-set"| |31133|New|Nor|2004-09-08|Cannot support unicode file name | |31196|New|Nor|2004-09-13|error thrown in init() when no namespace defined | |31265|Ass|Nor|2004-09-16|filename encoding patch | |31521|Ass|Nor|2004-10-04|2.1 Release | |31695|New|Enh|2004-10-13|access to the URI of a locked resource in LockEven| |31696|New|Enh|2004-10-13|Throw events when setting new permissions | |31705|Opn|Nor|2004-10-13|Command line client doesn't accept urls containing| |31735|New|Maj|2004-10-15|PROPFIND do not work properly on UTF-8 encoded URL| |31756|New|Cri|2004-10-18|Seperation of <store> and <scope> nodestore config| |31908|Opn|Nor|2004-10-27|hasPermission in SecurityImpl may be subject to sa| |31924|New|Min|2004-10-27|Slide produces a lot of garbace objects and maybe | |31993|New|Nor|2004-10-31|URL encoding problems in Japanese locale | |32271|New|Nor|2004-11-17|ant tasks fail when uri contains special character| |32290|New|Nor|2004-11-18|Unable to edit role | |32305|New|Nor|2004-11-19|Bug with get method | |32352|New|Maj|2004-11-23|/actions/write granted to owner is insufficient to| |32567|New|Nor|2004-12-07|adding table prefixes | |32673|New|Nor|2004-12-13|tomcat5-install task dep with 'patch -i' | |32855|New|Nor|2004-12-28|Opened input strams are not closed | |32886|Opn|Cri|2004-12-30|client webdav lib doesn't return child collections| |32913|New|Nor|2005-01-02|OJB store | |33037|New|Nor|2005-01-11|UriPath isn't serializable... | |33038|New|Nor|2005-01-11|ObjectNode's vector of children is never updated..| |33136|New|Nor|2005-01-17|WebDavResource.listWebDavResources() buggy when re| |33163|New|Cri|2005-01-19|Default slide installation exposes all passwords | |33199|New|Nor|2005-01-21|The Report method of WebDav(Versioning) does not s| |33498|New|Maj|2005-02-10|WebdavResource's moveMethod returns true even when| |33517|New|Maj|2005-02-11|Tomcat process not terminated when Slide wabapp is| |33565|New|Maj|2005-02-14|WebdavResource's deleteMethod returns true even wh| |33567|New|Nor|2005-02-14|WebSphere problem with getServletPath | |33639|New|Enh|2005-02-18|Utility classes to aid implementation of a Princip| |33683|New|Enh|2005-02-22|Import node with content | |34019|New|Nor|2005-03-15|docs/installation.html implies that running ant wi| |34047|New|Nor|2005-03-17|A request of the LockDiscoveryProperty on a locked| |34286|New|Nor|2005-04-04|Export from TX XML/file stores to non-TX versions | |34379|New|Nor|2005-04-08|URLUtil.URLDecode needs array safety check | |34515|Unc|Enh|2005-04-19|Recieving a 403 forbidden without a giving the opp| |34630|New|Nor|2005-04-26|directory-browsing parameter does not accept paths| |34640|New|Nor|2005-04-27|Bindings lost in copy/move using mysql store | |34670|New|Nor|2005-04-28|PropertyName and UriPath are not serializable. | |34674|New|Nor|2005-04-29|NullPointerException in AbstractWebdavMethod/Resou| |34676|New|Nor|2005-04-29|tm-commits=true = database corruption? | |34678|New|Nor|2005-04-29|URI marked serializable but all fields in it are t| |34679|New|Cri|2005-04-29|URL encoding/decoding or accentuaed ressources bro| |34726|New|Nor|2005-05-03|"response already committed" during LOCK operation| |34741|New|Nor|2005-05-04|Problem navigation client folder | |34753|New|Nor|2005-05-05|Continuous action on WebDAV server cause OutOfMemo| |34772|New|Maj|2005-05-06|WebdavState always returns all lock token, not URI| |34779|New|Cri|2005-05-06|Property namespace and name clash | |34910|New|Maj|2005-05-13|Cannot start webdav transactions on resource with | |34950|New|Maj|2005-05-18|Copy and move method does not clean query paramete| |35005|Inf|Maj|2005-05-21|Unable to create a new folder specifying an arbitr| |35213|New|Nor|2005-06-03|Patch: Httpclient 3.0 support | |35255|New|Maj|2005-06-07|davget ANT task downloads files with size 0 on slo| |35339|New|Maj|2005-06-13|JNDIPrincipalStore fails in parseLdapName | |35466|New|Maj|2005-06-22|Security system does not work as "documented" | |35481|New|Nor|2005-06-23|NullPointerException for logger in JDBCStore rev. | |35493|Ass|Maj|2005-06-24|MSPowerpoint content extractor buffer flush | |35494|New|Maj|2005-06-24|TextContentIndexer indexing raw content | |35582|New|Enh|2005-07-01|Enhancement: permissions | |35603|Inf|Nor|2005-07-05|JNDIPrincipalStore needs to ignore case when check| |35608|New|Cri|2005-07-05|System unstable if file names too long | |35693|Ass|Blk|2005-07-11|Cannot Create New Objects (Rev 208532 - 2.1 Releas| |35810|New|Maj|2005-07-21|Lucene content indexer doesn't work when binding i| |35927|New|Nor|2005-07-29|use-rdbms-expression-factory does not work with my| |36003|New|Min|2005-08-03|FAQ references third-party libraries that have bee| |36026|New|Nor|2005-08-04|Quota Listener | |36045|New|Enh|2005-08-05|DASL sorting moved into Lucene for better performa| |36128|New|Nor|2005-08-10|(2.1 release) Everything should always enlist stor| |36137|New|Nor|2005-08-11|Slide fails when using Oracle and WebLogic with J2| |36164|New|Nor|2005-08-12|Empty merge expression gives internal server error| |36354|New|Maj|2005-08-25|Version control method for workspaces incorrectly | |36355|New|Nor|2005-08-25|Multiple branches cannot be made from a single ver| |36415|New|Maj|2005-08-30|Wrong cache content on permission | |36530|New|Nor|2005-09-06|MySQL 5.0 Store initialization error ... | |36551|New|Nor|2005-09-08|NPE in Domain.java | |36621|New|Nor|2005-09-12|JNDI DataSource lookup fails on Sun Java System Ap| |36775|New|Cri|2005-09-23|Failed to insert permission: Missed Java code in S| |36938|New|Nor|2005-10-05|Quota Listener - bug fix | |36950|New|Nor|2005-10-06|Add a search type of propcontains | |36981|New|Min|2005-10-10|Unlocking a file owned by another user doesn't wor| |37022|New|Nor|2005-10-11|Unable to create resources on sub-folders due to A| |37254|New|Maj|2005-10-26|RDBMS store and Branching. | |37266|New|Maj|2005-10-27|SimpleFileStore - files showing as directory (as <| |37423|New|Cri|2005-11-09|retrieve branch in contentImpl does not work | |37511|New|Maj|2005-11-15|WebdavResource quashes queryString | |37582|New|Maj|2005-11-21|Simple PUT document request results in exception o| |37583|New|Nor|2005-11-21|RDBMS store not retrieving revision descriptors co| |37732|New|Nor|2005-12-01|Resource Locks Aren't Persisted Using LDAP | |37748|New|Nor|2005-12-02|JNDIPrincipalStore that uses J2EE Container | |37816|New|Nor|2005-12-07|Rename causes creation of a folder using WCK's Web| |37857|New|Nor|2005-12-10|AclMethod tries to access nodestore with an incomp| |37950|New|Nor|2005-12-17|Partial GET is not working well. | |38120|New|Cri|2006-01-04|[PATCH] jakarta-slide-ant-webdav wrong mime-types | |38273|New|Nor|2006-01-14|method "retrieveRevisionDescriptors" of "StandardR| |38353|New|Cri|2006-01-23|Unable to post large(>2GB) files using Slide API | |38447|New|Maj|2006-01-30|IndexConfiguration always use the default analyzer| |38589|New|Nor|2006-02-09|Files not released after upload (put) | |38675|New|Nor|2006-02-16|Code not compiling under jdk1.5 | |39115|New|Cri|2006-03-27|Deleting Link update global cache instead of trans| |39220|New|Maj|2006-04-06|Missing body in a PROPFIND request | |39453|New|Nor|2006-04-30|ACL: principal-URL property not supported | |39818|New|Nor|2006-06-15|WebdavSystemView doesn't work with JRE 1.5 | |39830|New|Nor|2006-06-17|PostgresRDBMSAdapter is not compatible with Postgr| |40074|New|Cri|2006-07-19|get task for apache ant discards parts of files | |40089|New|Nor|2006-07-21|plus (+) is decoded in path components of URLs whi| |40118|New|Min|2006-07-26|[PATCH] clean up some dead code stores | |40202|New|Nor|2006-08-07|running away tmp files | +-----+---+---+----------+--------------------------------------------------+ | Total 179 bugs | +---------------------------------------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Aug 22 08:09:50 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82593 invoked from network); 22 Aug 2006 08:09:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Aug 2006 08:09:50 -0000 Received: (qmail 22396 invoked by uid 500); 22 Aug 2006 08:09:50 -0000 Delivered-To: [email protected] Received: (qmail 22125 invoked by uid 500); 22 Aug 2006 08:09:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Slide Developers Mailing List" <slide-dev.jakarta.apache.org> Reply-To: "Slide Developers Mailing List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 22114 invoked by uid 99); 22 Aug 2006 08:09:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Aug 2006 01:09:49 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Aug 2006 01:09:48 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id C263B7142F6; Tue, 22 Aug 2006 08:06:43 +0000 (GMT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 40293] New: - WebdavResource.reportMethod Message-ID: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Date: Tue, 22 Aug 2006 08:06:43 +0000 (GMT) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=40293>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=40293 Summary: WebdavResource.reportMethod Product: Slide Version: Nightly Platform: Other OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Core AssignedTo: [email protected] ReportedBy: [email protected] CC: [email protected] when a file name contains "&", the reportMethod doesn't retrieve any related Data from webdav. What is the resolution for this? -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Aug 22 08:18:07 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87691 invoked from network); 22 Aug 2006 08:18:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Aug 2006 08:18:06 -0000 Received: (qmail 34913 invoked by uid 500); 22 Aug 2006 08:18:06 -0000 Delivered-To: [email protected] Received: (qmail 34649 invoked by uid 500); 22 Aug 2006 08:18:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Slide Developers Mailing List" <slide-dev.jakarta.apache.org> Reply-To: "Slide Developers Mailing List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 34638 invoked by uid 99); 22 Aug 2006 08:18:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Aug 2006 01:18:05 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO ron.emn.fr) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Aug 2006 01:18:04 -0700 Received: from spip.dsic.emn.fr ([email protected] [161.129.204.104]) by ron.emn.fr (8.9.3/jtpda-5.3.1) with ESMTP id KAA06285 for <[email protected]>; Tue, 22 Aug 2006 10:16:32 +0200 (CEST) Received: from ifs.emn.fr (ifs.emn.fr [161.129.204.104]) by spip.dsic.emn.fr (8.12.1/8.12.1) with ESMTP id k7M8Hc3I023665 for <[email protected]>; Tue, 22 Aug 2006 10:17:38 +0200 Received: from [161.129.204.104] (dhcp35.rech18.emn.fr [161.129.204.104]) by ifs.emn.fr (8.9.3/jtpda-5.1) with ESMTP id KAA08045 for <[email protected]>; Tue, 22 Aug 2006 10:16:11 +0200 (MEST) Message-ID: <[email protected]> Date: Tue, 22 Aug 2006 10:17:38 +0200 From: "ould sid'ahmed" <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20060719) MIME-Version: 1.0 To: [email protected] Subject: WCK error Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello, Excuse me to send you this mail, but I sent this mail to slide-user, I don't receive an answer, I launch my Slide, I use WCK, but it return this error, how you what is the cause? thanks org.apache.slide.common.ServiceAccessException: Service org.apache.slide.simple.store.WebdavStoreAdapter@b09697 access error : org.apache.slide.content.NodeRevisionDescriptor.<init>(Lorg/apache/slide/content/NodeRevisionNumber;Ljava/lang/String;Ljava/util/Vector;Ljava/util/List;)V at org.apache.slide.store.AbstractStore.retrieveRevisionDescriptor(AbstractStore.java:1142) at org.apache.slide.store.ExtendedStore.retrieveRevisionDescriptor(ExtendedStore.java:880) at org.apache.slide.content.ContentImpl.retrieve(ContentImpl.java:261) at org.apache.slide.content.ContentImpl.retrieve(ContentImpl.java:297) at org.apache.slide.common.XMLUnmarshaller.loadObjectRevision(XMLUnmarshaller.java:348) at org.apache.slide.common.XMLUnmarshaller.loadObjectNode(XMLUnmarshaller.java:231) at org.apache.slide.common.XMLUnmarshaller.loadObjectNode(XMLUnmarshaller.java:274) at org.apache.slide.common.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:90) at org.apache.slide.common.NamespaceAccessTokenImpl.importData(NamespaceAccessTokenImpl.java:272) at org.apache.slide.common.Namespace.loadBaseData(Namespace.java:808) at org.apache.slide.common.Domain.initNamespace(Domain.java:845) at org.apache.slide.common.Domain.init(Domain.java:432) at org.apache.slide.common.Domain.init(Domain.java:366) at org.apache.slide.common.Domain.init(Domain.java:329) at org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:253) at javax.servlet.GenericServlet.init(GenericServlet.java:211) at org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:195) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:903) 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 org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216) at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256) at org.apache.commons.digester.Rule.end(Rule.java:276) at org.apache.commons.digester.Digester.endElement(Digester.java:1058) at org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1567) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:488) at org.apache.catalina.core.StandardHost.install(StandardHost.java:863) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091) at org.apache.catalina.core.StandardHost.start(StandardHost.java:789) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478) at org.apache.catalina.core.StandardService.start(StandardService.java:480) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313) at org.apache.catalina.startup.Catalina.start(Catalina.java:556) 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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425) 22 Aug 2006 09:32:08 - org.apache.slide.common.Namespace - INFO - Namespace base configuration was already done before 22 Aug 2006 09:32:08 - org.apache.slide.common.Namespace - INFO - Loading namespace slide configuration 22 Aug 2006 09:32:08 - org.apache.slide.common.Domain - ERROR - org.apache.slide.structure.ObjectNotFoundException: No object found at /actions/read org.apache.slide.structure.ObjectNotFoundException: No object found at /actions/read at org.apache.slide.store.mem.TransientNodeStore.retrieveObject(TransientNodeStore.java:50) at org.apache.slide.store.AbstractStore.retrieveObject(AbstractStore.java:611) at org.apache.slide.store.ExtendedStore.retrieveObject(ExtendedStore.java:574) at org.apache.slide.common.NamespaceConfig.getActionNode(NamespaceConfig.java:1056) at org.apache.slide.common.NamespaceConfig.getConfiguredNode(NamespaceConfig.java:804) at org.apache.slide.common.NamespaceConfig.initializeNamespaceConfig(NamespaceConfig.java:674) at org.apache.slide.common.Namespace.loadConfiguration(Namespace.java:869) at org.apache.slide.common.Domain.initNamespace(Domain.java:850) at org.apache.slide.common.Domain.init(Domain.java:432) at org.apache.slide.common.Domain.init(Domain.java:366) at org.apache.slide.common.Domain.init(Domain.java:329) at org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:253) at javax.servlet.GenericServlet.init(GenericServlet.java:211) at org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:195) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:903) 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 org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216) at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256) at org.apache.commons.digester.Rule.end(Rule.java:276) at org.apache.commons.digester.Digester.endElement(Digester.java:1058) at org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1567) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:488) at org.apache.catalina.core.StandardHost.install(StandardHost.java:863) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091) at org.apache.catalina.core.StandardHost.start(StandardHost.java:789) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478) at org.apache.catalina.core.StandardService.start(StandardService.java:480) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313) at org.apache.catalina.startup.Catalina.start(Catalina.java:556) 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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425) 22 Aug 2006 09:32:09 - org.apache.slide.webdav.event.NotificationTrigger - INFO - Creating notification trigger java.lang.NullPointerException at org.apache.slide.common.NamespaceConfig.getParameter(NamespaceConfig.java:568) at org.apache.slide.common.NamespaceAccessTokenImpl.<init>(NamespaceAccessTokenImpl.java:88) at org.apache.slide.common.Domain.accessNamespace(Domain.java:243) at org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:263) at javax.servlet.GenericServlet.init(GenericServlet.java:211) at org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:195) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:903) 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 org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216) at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256) at org.apache.commons.digester.Rule.end(Rule.java:276) at org.apache.commons.digester.Digester.endElement(Digester.java:1058) at org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1567) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:488) at org.apache.catalina.core.StandardHost.install(StandardHost.java:863) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091) at org.apache.catalina.core.StandardHost.start(StandardHost.java:789) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478) at org.apache.catalina.core.StandardService.start(StandardService.java:480) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313) at org.apache.catalina.startup.Catalina.start(Catalina.java:556) 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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Aug 22 23:35:50 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10400 invoked from network); 22 Aug 2006 23:35:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Aug 2006 23:35:50 -0000 Received: (qmail 31425 invoked by uid 500); 22 Aug 2006 23:35:49 -0000 Delivered-To: [email protected] Received: (qmail 31390 invoked by uid 500); 22 Aug 2006 23:35:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Slide Developers Mailing List" <slide-dev.jakarta.apache.org> Reply-To: "Slide Developers Mailing List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 31371 invoked by uid 99); 22 Aug 2006 23:35:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Aug 2006 16:35:48 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Aug 2006 16:35:48 -0700 Received: by ug-out-1314.google.com with SMTP id m2so2234547uge for <[email protected]>; Tue, 22 Aug 2006 16:35:26 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=W+zk4Qa/yJ4rbi2/oXOtOsQWzrEgEIRVUniVQ0GK40hToi/ZFpdOJJ/v02XfpD8uE7+ZUn0STT4sz+LvP9PBtPmL6fN8A6oN76HoS6P00s/YjP1qGBW0vRlvoEDI/Ai/nHo2yJUxpBWzWnJmDf2jniqw55gLl91PE5/c/HE7T0k= Received: by 161.129.204.104 with SMTP id f7mr4718294ugm; Tue, 22 Aug 2006 16:35:26 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 22 Aug 2006 16:35:26 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 22 Aug 2006 16:35:26 -0700 From: "Matthew Roland" <[email protected]> To: [email protected] Subject: Weblogic compliant JCA Connector implementation? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I'm trying to develope an application using your JCA connector on weblogic and was wondering if you guys actually ahve any intention of releasing a more complete implementation? Based on the example and the source I've looked through there are a number of problems with this implementation: 1) You assume that the container won't place a proxy class in front of the connection returned by the connection factory. As this is not the case for weblogic 7, I'm not able to get a hold of the WebDAVConnection object and therefore can't call getWebdavResource(). For example: final WebDAVConnectionSpec spec = new WebDAVConnectionSpec(httpUrl, TIMEOUT); final WebDAVConnection conn = (WebDAVConnection)factory.getConnection(spec); throws: java.lang.ClassCastException: $Proxy139 at org.xign.invoicebackoffice.common.authentidate.AuthentidateSigningUtil.getWebdavResource(AuthentidateSigningUtil.java:274) 2) I shouldn't be specifying the connect information in the code, this should be in the ra.xml (the host address at least, optionally the user and password information too). 3) You don't define any interactions / records which given (1) prevents a weblogic developer from using the JCA implementation unless they define their own (which is I guess what I'll be doing). Anyways, don't know if anyone is working on these items. But thought I'd mention them... thanks, Matt -- "Those who profess to favor freedom, and yet depreciate agitation, are men who want rain without thunder and lightning." -- Frederick Douglass "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Benjamin Franklin "I would rather be exposed to the inconveniences attending too much liberty than to those attending too small a degree of it." -- Thomas Jefferson --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Aug 23 00:41:27 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25190 invoked from network); 23 Aug 2006 00:41:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Aug 2006 00:41:27 -0000 Received: (qmail 26942 invoked by uid 500); 23 Aug 2006 00:41:26 -0000 Delivered-To: [email protected] Received: (qmail 26895 invoked by uid 500); 23 Aug 2006 00:41:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Slide Developers Mailing List" <slide-dev.jakarta.apache.org> Reply-To: "Slide Developers Mailing List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 26883 invoked by uid 99); 23 Aug 2006 00:41:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Aug 2006 17:41:26 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,MAILTO_TO_SPAM_ADDR,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Aug 2006 17:41:25 -0700 Received: by ug-out-1314.google.com with SMTP id q2so2052843uge for <[email protected]>; Tue, 22 Aug 2006 17:41:03 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CNaqAyurvZV1f4NCU9/zLQ2rGfPSYOeaON6yee3GcJwsxXaeTCigiKNFTyIHXjr0FnNzAs9Uxp8ISE0HxNPKhNZJa5qFlXt+RP2o8F/DoFxKDZlxLSY7WrKdniGhg3AnxN7F7r5Ur4SC42q6Krq0bPthKYlexcuP7WXXdbBpB/g= Received: by 161.129.204.104 with SMTP id h19mr4749358ugm; Tue, 22 Aug 2006 17:41:03 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 22 Aug 2006 17:41:03 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 22 Aug 2006 17:41:03 -0700 From: "Matthew Roland" <[email protected]> To: [email protected] Subject: Re: Weblogic compliant JCA Connector implementation? In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N If anyone cares, it looks like adding a fake interaction that just returns the webdav connection gets around the class cast exception in WLS 7: public class WebDAVInteraction implements Interaction { private WebDAVConnection conn=null; /** * The constructor. * @param wconn the connection */ public WebDAVInteraction(WebDAVConnection wconn) { conn=wconn; } /* (non-Javadoc) * @see javax.resource.cci.Interaction#clearWarnings() */ public void clearWarnings() throws ResourceException { } /* (non-Javadoc) * @see javax.resource.cci.Interaction#close() */ public void close() throws ResourceException { conn=null; } /* (non-Javadoc) * @see javax.resource.cci.Interaction#execute(javax.resource.cci.InteractionSpec, javax.resource.cci.Record) */ public Record execute(InteractionSpec arg0, Record arg1) throws ResourceException { return null; } /* (non-Javadoc) * @see javax.resource.cci.Interaction#execute(javax.resource.cci.InteractionSpec, javax.resource.cci.Record, javax.resource.cci.Record) */ public boolean execute(InteractionSpec arg0, Record arg1, Record arg2) throws ResourceException { return false; } /* (non-Javadoc) * @see javax.resource.cci.Interaction#getConnection() */ public Connection getConnection() { return this.conn; } /* (non-Javadoc) * @see javax.resource.cci.Interaction#getWarnings() */ public ResourceWarning getWarnings() throws ResourceException { return null; } } You then have to change the connection's createInteraction method as follows: public Interaction createInteraction() throws ResourceException { return new WebDAVInteraction(this); } To get around the proxy class, the end user's code then just calls to get: conn.createInteraction().getConnection() to get a hold of the WebDAVConnection. This work around probaly shouldn't be work, I'd expect WLS to have a proxy for the Interation to prevent itcould let you close the underlying connection while WLS still thinks it's open which would obviously be bad. :) Anyways, I hope this helps anyone else who might need it. thanks, matt On 8/22/06, Matthew Roland <[email protected]> wrote: > I'm trying to develope an application using your JCA connector on > weblogic and was wondering if you guys actually ahve any intention of > releasing a more complete implementation? > > Based on the example and the source I've looked through there are a > number of problems with this implementation: > > 1) You assume that the container won't place a proxy class in front of > the connection returned by the connection factory. As this is not the > case for weblogic 7, I'm not able to get a hold of the > WebDAVConnection object and therefore can't call getWebdavResource(). > For example: > > final WebDAVConnectionSpec spec = new WebDAVConnectionSpec(httpUrl, TIMEOUT); > final WebDAVConnection conn = (WebDAVConnection)factory.getConnection(spec); > > throws: > java.lang.ClassCastException: $Proxy139 > at org.xign.invoicebackoffice.common.authentidate.AuthentidateSigningUtil.getWebdavResource(AuthentidateSigningUtil.java:274) > > 2) I shouldn't be specifying the connect information in the code, this > should be in the ra.xml (the host address at least, optionally the > user and password information too). > > 3) You don't define any interactions / records which given (1) > prevents a weblogic developer from using the JCA implementation unless > they define their own (which is I guess what I'll be doing). > > Anyways, don't know if anyone is working on these items. But thought > I'd mention them... > > thanks, > > Matt --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Aug 23 12:09:35 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58077 invoked from network); 23 Aug 2006 12:09:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Aug 2006 12:09:35 -0000 Received: (qmail 90700 invoked by uid 500); 23 Aug 2006 12:09:34 -0000 Delivered-To: [email protected] Received: (qmail 90645 invoked by uid 500); 23 Aug 2006 12:09:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Slide Developers Mailing List" <slide-dev.jakarta.apache.org> Reply-To: "Slide Developers Mailing List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 90634 invoked by uid 99); 23 Aug 2006 12:09:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Aug 2006 05:09:33 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO talk.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Aug 2006 05:09:32 -0700 Received: from [161.129.204.104] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GFrXk-0002jo-Cf for [email protected]; Wed, 23 Aug 2006 05:09:12 -0700 Message-ID: <[email protected]> Date: Wed, 23 Aug 2006 05:09:12 -0700 (PDT) From: ani <[email protected]> To: [email protected] Subject: Re: Fw: share file application In-Reply-To: <000c01c63d46$66f0cce0$d613659b@cseo4> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <000c01c63d46$66f0cce0$d613659b@cseo4> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Ha Pham, We are in the same line. Developing applcaition to share a any folder using slide. As per my understanding once domin.xml updated it is not dynamically loaded by the slide. Solution for this, Write a thread which would read the domin.xml if it is updated then reload the domin.xml file. Have you found any other solution? If yes then please let me know. thanks Ani Ha Pham wrote: > > Sorry if you read this email again, but I sent the email bellow and don't > know if any one can read it. Please help me with the problem describe > below. > Thank you > ----- Original Message ----- > From: Ha Pham > To: [email protected] > Sent: Tuesday, February 28, 2006 1:05 PM > Subject: share file application > > > Dear all, > > I'm developing a share file application: a user can share his > files/folders for other users/groups with read, write permission. I intend > to modify the DAV Explorer (http://www.ics.uci.edu/~webdav/) and use Slide > server. What I need are: > 1. User can log in with his account > 2. User choose files/folders and share them for other users/groups > 3. Other user can only access the shared files/folders with the specific > share permission (read/write). > > What I am intending to do is to look for the parts in the .xml > configuration files (in Slide) to add/remove users and access right. When > a user share a file to other user, I modify the .xml files (dinamically) > and hope that the server can read the modified files and makes the > changes. But I currently don't know (1) if there's the .xml parts like > that and (2) if the server can dinamically read the modified .xml files. > > Please anyone help me with that problem. > > Thank you very much, > Ha Pham > > > > > -- View this message in context: http://www.nabble.com/Fw%3A-share-file-application-tf1206203.html#a5943136 Sent from the Jakarta Slide - Dev [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 28 06:11:57 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70315 invoked from network); 28 Aug 2006 06:11:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Aug 2006 06:11:48 -0000 Received: (qmail 2881 invoked by uid 500); 28 Aug 2006 06:11:47 -0000 Delivered-To: [email protected] Received: (qmail 2817 invoked by uid 500); 28 Aug 2006 06:11:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Slide Developers Mailing List" <slide-dev.jakarta.apache.org> Reply-To: "Slide Developers Mailing List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 2801 invoked by uid 99); 28 Aug 2006 06:11:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Aug 2006 23:11:47 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Aug 2006 23:11:43 -0700 Received: by brutus.apache.org (Postfix, from userid 1007) id AA9387142E8; Mon, 28 Aug 2006 06:08:28 +0000 (GMT) From: [email protected] To: [email protected] Subject: Bug report for Slide [2006/08/27] Message-Id: <[email protected]> Date: Mon, 28 Aug 2006 06:08:28 +0000 (GMT) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | | 3922|New|Nor|2001-10-02|client acl href principal should be decoded | | 6618|New|Nor|2002-02-21|proppatch and rfc2518 | |10115|New|Nor|2002-06-21|WebDAV Exception when filename contains % | |10301|New|Min|2002-06-27|500 Error doing propfind with null namespace | |10869|New|Nor|2002-07-16|'run.bat' error in the client/bin subdirectory | |11430|New|Enh|2002-08-02|Mac OSx 'hide-dot-files' filter for WebDAV servlet| |11527|New|Nor|2002-08-07|Modify DIGEST support for IIS server | |11658|New|Maj|2002-08-13|Locking a non-existing resource | |12042|New|Maj|2002-08-26|NodeRevisionContent stream not reuseable | |12992|New|Nor|2002-09-25|JNDI Wrapper cannot handle workspaces | |12995|New|Nor|2002-09-25|SlideServerListener omits DAV parameters when init| |14298|New|Maj|2002-11-06|Tried to log into slide-admiin got this exception | |14836|New|Nor|2002-11-25|Run.sh Exits Unexpectedly | |16642|New|Nor|2003-01-31|Check for 207 (Multistatus) breaks webdavResource.| |18813|Opn|Min|2003-04-08|SAXException in XMLResponseMethodBase.parseXMLResp| |19411|New|Nor|2003-04-29|AccessDeniedException is thrown instead of ObjectN| |19419|New|Nor|2003-04-29|WebdavResource.java does not release connections | |19669|New|Nor|2003-05-05|setWebdavProperties cannot deal with relative HREF| |19791|New|Nor|2003-05-09|AccessDeniedException is thrown in structure.creat| |21158|New|Maj|2003-06-28|ContentImpl does not follow link to retrieve descr| |21598|New|Nor|2003-07-15|FileContentStore.retrieveRevisionContent() shouldn| |21850|New|Nor|2003-07-24|Nightly Builds Failing | |22409|New|Nor|2003-08-14|There is problem in Slide security system. | |23493|New|Nor|2003-09-29|Live properties are undefined for non-existent res| |24357|New|Nor|2003-11-03|PATCH: Fine granular access rights improvement. | |24491|New|Maj|2003-11-07|PATCH: Fixes problem in Oracle with properties lon| |24912|New|Maj|2003-11-22|Seeing only version 1.0 | |26059|New|Nor|2004-01-12|Interceptor not called, if slide not default-servl| |27483|New|Enh|2004-03-05|Request for aclfindMethod() convenience method | |27485|New|Min|2004-03-05|Client.g STRING limitations | |27952|Opn|Enh|2004-03-25|No support for BIND, UNBIND and REBIND | |28132|New|Nor|2004-04-01|Error while using slide in weblogic, works fine in| |28139|New|Nor|2004-04-01|auto-create-user broken | |28578|New|Nor|2004-04-25|deleting of the latest revision does not change th| |28625|New|Nor|2004-04-27|getMethod does not support files larger than 65535| |28787|Unc|Maj|2004-05-05|WebdavFile.isDirectory fails with exception when t| |28894|Opn|Blk|2004-05-11|OutOfMemoryError posting large file | |28919|New|Cri|2004-05-12|Incorrect encoding assumption | |28980|New|Cri|2004-05-14|WebdavResource List | |29081|New|Min|2004-05-19|WebdavResource.getIsHidden() is never true | |29146|New|Nor|2004-05-21|JDOM b10 has removed Element.addContent(Element) | |29150|New|Min|2004-05-21|Deadlock while initializing when using two jdbc st| |29183|New|Nor|2004-05-24|WebdavResource.getName() should trim the prefix | |29235|New|Nor|2004-05-26|Resource Type needs method isPrincipal | |29250|New|Nor|2004-05-27|PROPFIND response does not handle trailing "/" as | |29309|New|Nor|2004-05-31|is it a bug?? | |29385|New|Min|2004-06-04|WebdavFile constructor | |29474|New|Nor|2004-06-09|Webdav client does not support redirect reference | |29590|New|Nor|2004-06-16|GetLastModifiedProperty using incorrect format | |29591|New|Nor|2004-06-16|DirectoryIndexGenerator using incorrect format | |29737|New|Nor|2004-06-22|href url not compared to not escaped url in Webdav| |29789|New|Nor|2004-06-24|StatusLine.getReasonPhrase() is not being used | |29790|New|Nor|2004-06-24|CLIENT: javadocs for org.apache.util.WebdavStatus | |29806|New|Enh|2004-06-25|single instance support | |29876|New|Min|2004-07-01|WebdavStatus.getStatusText | |29909|New|Min|2004-07-04|Server should return an error code on BIND method | |30081|New|Enh|2004-07-13|method to set socket timeouts for WebDavResource | |30257|New|Enh|2004-07-22|Slide support for Max DB | |30317|New|Cri|2004-07-26|getContentLength property not being set correctly | |30329|New|Nor|2004-07-26|Speed up and reduce response size for DirectoryInd| |30387|New|Nor|2004-07-29|propfind with string property name containing no n| |30414|New|Nor|2004-07-30|WebdavResource.proppatchMethod return value is inc| |30416|New|Nor|2004-07-30|No support for optional "responsedescription" node| |30694|New|Nor|2004-08-16|Classes specified in config are not loaded by the | |30777|New|Nor|2004-08-20|DirectoryIndexGenerator using incorrect datetime f| |30822|Ass|Min|2004-08-24|Jars for apache remote maven repository not update| |30942|New|Cri|2004-08-30|Granting a new privilege to a principal with exist| |30961|New|Enh|2004-08-31|Encoding in source files | |30988|New|Blk|2004-09-01|Interop problem w/ Microsoft Exchange Server 2003 | |31105|New|Cri|2004-09-07|Transient locks are not released due to suspended | |31118|Ass|Nor|2004-09-08|Table PROPERTIES: property value for "version-set"| |31133|New|Nor|2004-09-08|Cannot support unicode file name | |31196|New|Nor|2004-09-13|error thrown in init() when no namespace defined | |31265|Ass|Nor|2004-09-16|filename encoding patch | |31521|Ass|Nor|2004-10-04|2.1 Release | |31695|New|Enh|2004-10-13|access to the URI of a locked resource in LockEven| |31696|New|Enh|2004-10-13|Throw events when setting new permissions | |31705|Opn|Nor|2004-10-13|Command line client doesn't accept urls containing| |31735|New|Maj|2004-10-15|PROPFIND do not work properly on UTF-8 encoded URL| |31756|New|Cri|2004-10-18|Seperation of <store> and <scope> nodestore config| |31908|Opn|Nor|2004-10-27|hasPermission in SecurityImpl may be subject to sa| |31924|New|Min|2004-10-27|Slide produces a lot of garbace objects and maybe | |31993|New|Nor|2004-10-31|URL encoding problems in Japanese locale | |32271|New|Nor|2004-11-17|ant tasks fail when uri contains special character| |32290|New|Nor|2004-11-18|Unable to edit role | |32305|New|Nor|2004-11-19|Bug with get method | |32352|New|Maj|2004-11-23|/actions/write granted to owner is insufficient to| |32567|New|Nor|2004-12-07|adding table prefixes | |32673|New|Nor|2004-12-13|tomcat5-install task dep with 'patch -i' | |32855|New|Nor|2004-12-28|Opened input strams are not closed | |32886|Opn|Cri|2004-12-30|client webdav lib doesn't return child collections| |32913|New|Nor|2005-01-02|OJB store | |33037|New|Nor|2005-01-11|UriPath isn't serializable... | |33038|New|Nor|2005-01-11|ObjectNode's vector of children is never updated..| |33136|New|Nor|2005-01-17|WebDavResource.listWebDavResources() buggy when re| |33163|New|Cri|2005-01-19|Default slide installation exposes all passwords | |33199|New|Nor|2005-01-21|The Report method of WebDav(Versioning) does not s| |33498|New|Maj|2005-02-10|WebdavResource's moveMethod returns true even when| |33517|New|Maj|2005-02-11|Tomcat process not terminated when Slide wabapp is| |33565|New|Maj|2005-02-14|WebdavResource's deleteMethod returns true even wh| |33567|New|Nor|2005-02-14|WebSphere problem with getServletPath | |33639|New|Enh|2005-02-18|Utility classes to aid implementation of a Princip| |33683|New|Enh|2005-02-22|Import node with content | |34019|New|Nor|2005-03-15|docs/installation.html implies that running ant wi| |34047|New|Nor|2005-03-17|A request of the LockDiscoveryProperty on a locked| |34286|New|Nor|2005-04-04|Export from TX XML/file stores to non-TX versions | |34379|New|Nor|2005-04-08|URLUtil.URLDecode needs array safety check | |34515|Unc|Enh|2005-04-19|Recieving a 403 forbidden without a giving the opp| |34630|New|Nor|2005-04-26|directory-browsing parameter does not accept paths| |34640|New|Nor|2005-04-27|Bindings lost in copy/move using mysql store | |34670|New|Nor|2005-04-28|PropertyName and UriPath are not serializable. | |34674|New|Nor|2005-04-29|NullPointerException in AbstractWebdavMethod/Resou| |34676|New|Nor|2005-04-29|tm-commits=true = database corruption? | |34678|New|Nor|2005-04-29|URI marked serializable but all fields in it are t| |34679|New|Cri|2005-04-29|URL encoding/decoding or accentuaed ressources bro| |34726|New|Nor|2005-05-03|"response already committed" during LOCK operation| |34741|New|Nor|2005-05-04|Problem navigation client folder | |34753|New|Nor|2005-05-05|Continuous action on WebDAV server cause OutOfMemo| |34772|New|Maj|2005-05-06|WebdavState always returns all lock token, not URI| |34779|New|Cri|2005-05-06|Property namespace and name clash | |34910|New|Maj|2005-05-13|Cannot start webdav transactions on resource with | |34950|New|Maj|2005-05-18|Copy and move method does not clean query paramete| |35005|Inf|Maj|2005-05-21|Unable to create a new folder specifying an arbitr| |35213|New|Nor|2005-06-03|Patch: Httpclient 3.0 support | |35255|New|Maj|2005-06-07|davget ANT task downloads files with size 0 on slo| |35339|New|Maj|2005-06-13|JNDIPrincipalStore fails in parseLdapName | |35466|New|Maj|2005-06-22|Security system does not work as "documented" | |35481|New|Nor|2005-06-23|NullPointerException for logger in JDBCStore rev. | |35493|Ass|Maj|2005-06-24|MSPowerpoint content extractor buffer flush | |35494|New|Maj|2005-06-24|TextContentIndexer indexing raw content | |35582|New|Enh|2005-07-01|Enhancement: permissions | |35603|Inf|Nor|2005-07-05|JNDIPrincipalStore needs to ignore case when check| |35608|New|Cri|2005-07-05|System unstable if file names too long | |35693|Ass|Blk|2005-07-11|Cannot Create New Objects (Rev 208532 - 2.1 Releas| |35810|New|Maj|2005-07-21|Lucene content indexer doesn't work when binding i| |35927|New|Nor|2005-07-29|use-rdbms-expression-factory does not work with my| |36003|New|Min|2005-08-03|FAQ references third-party libraries that have bee| |36026|New|Nor|2005-08-04|Quota Listener | |36045|New|Enh|2005-08-05|DASL sorting moved into Lucene for better performa| |36128|New|Nor|2005-08-10|(2.1 release) Everything should always enlist stor| |36137|New|Nor|2005-08-11|Slide fails when using Oracle and WebLogic with J2| |36164|New|Nor|2005-08-12|Empty merge expression gives internal server error| |36354|New|Maj|2005-08-25|Version control method for workspaces incorrectly | |36355|New|Nor|2005-08-25|Multiple branches cannot be made from a single ver| |36415|New|Maj|2005-08-30|Wrong cache content on permission | |36530|New|Nor|2005-09-06|MySQL 5.0 Store initialization error ... | |36551|New|Nor|2005-09-08|NPE in Domain.java | |36621|New|Nor|2005-09-12|JNDI DataSource lookup fails on Sun Java System Ap| |36775|New|Cri|2005-09-23|Failed to insert permission: Missed Java code in S| |36938|New|Nor|2005-10-05|Quota Listener - bug fix | |36950|New|Nor|2005-10-06|Add a search type of propcontains | |36981|New|Min|2005-10-10|Unlocking a file owned by another user doesn't wor| |37022|New|Nor|2005-10-11|Unable to create resources on sub-folders due to A| |37254|New|Maj|2005-10-26|RDBMS store and Branching. | |37266|New|Maj|2005-10-27|SimpleFileStore - files showing as directory (as <| |37423|New|Cri|2005-11-09|retrieve branch in contentImpl does not work | |37511|New|Maj|2005-11-15|WebdavResource quashes queryString | |37582|New|Maj|2005-11-21|Simple PUT document request results in exception o| |37583|New|Nor|2005-11-21|RDBMS store not retrieving revision descriptors co| |37732|New|Nor|2005-12-01|Resource Locks Aren't Persisted Using LDAP | |37748|New|Nor|2005-12-02|JNDIPrincipalStore that uses J2EE Container | |37816|New|Nor|2005-12-07|Rename causes creation of a folder using WCK's Web| |37857|New|Nor|2005-12-10|AclMethod tries to access nodestore with an incomp| |37950|New|Nor|2005-12-17|Partial GET is not working well. | |38120|New|Cri|2006-01-04|[PATCH] jakarta-slide-ant-webdav wrong mime-types | |38273|New|Nor|2006-01-14|method "retrieveRevisionDescriptors" of "StandardR| |38353|New|Cri|2006-01-23|Unable to post large(>2GB) files using Slide API | |38447|New|Maj|2006-01-30|IndexConfiguration always use the default analyzer| |38589|New|Nor|2006-02-09|Files not released after upload (put) | |38675|New|Nor|2006-02-16|Code not compiling under jdk1.5 | |39115|New|Cri|2006-03-27|Deleting Link update global cache instead of trans| |39220|New|Maj|2006-04-06|Missing body in a PROPFIND request | |39453|New|Nor|2006-04-30|ACL: principal-URL property not supported | |39818|New|Nor|2006-06-15|WebdavSystemView doesn't work with JRE 1.5 | |39830|New|Nor|2006-06-17|PostgresRDBMSAdapter is not compatible with Postgr| |40074|New|Cri|2006-07-19|get task for apache ant discards parts of files | |40089|New|Nor|2006-07-21|plus (+) is decoded in path components of URLs whi| |40118|New|Min|2006-07-26|[PATCH] clean up some dead code stores | |40202|New|Nor|2006-08-07|running away tmp files | |40293|New|Nor|2006-08-22|WebdavResource.reportMethod | +-----+---+---+----------+--------------------------------------------------+ | Total 180 bugs | +---------------------------------------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 28 07:51:56 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7147 invoked from network); 28 Aug 2006 07:51:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Aug 2006 07:51:54 -0000 Received: (qmail 9208 invoked by uid 500); 28 Aug 2006 07:51:53 -0000 Delivered-To: [email protected] Received: (qmail 9158 invoked by uid 500); 28 Aug 2006 07:51:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Slide Developers Mailing List" <slide-dev.jakarta.apache.org> Reply-To: "Slide Developers Mailing List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 9147 invoked by uid 99); 28 Aug 2006 07:51:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Aug 2006 00:51:53 -0700 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,MSGID_FROM_MTA_HEADER,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO bay0-omc1-s4.bay0.hotmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Aug 2006 00:51:51 -0700 Received: from hotmail.com ([161.129.204.104]) by bay0-omc1-s4.bay0.hotmail.com with Microsoft SMTPSVC417.483.3557); Mon, 28 Aug 2006 00:51:31 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 28 Aug 2006 00:51:31 -0700 Message-ID: <[email protected]> Received: from 161.129.204.104 by BAY110-DAV14.phx.gbl with DAV; Mon, 28 Aug 2006 07:51:30 +0000 X-Originating-IP: [161.129.204.104] X-Originating-Email: [[email protected]] X-Sender: [email protected] From: "chengj" <[email protected]> To: <[email protected]> References: <[email protected]> <[email protected]> Subject: Slide server Api sample Date: Mon, 28 Aug 2006 15:51:22 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-OriginalArrivalTime: 28 Aug 2006 07:51:31.0187 (UTC) FILETIME=[C6800C30:01C6CA76] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi all, I want to use SLIDE to store files. By the Architecture of SLIDE I think I only need to invoke Server API of SLIDE, and don't need to use WebDAV Servlet. who can show me a sample of using Server API of SLIDE. Thanks a lot. chengj 2006/8/25 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Aug 30 21:26:40 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28291 invoked from network); 30 Aug 2006 21:26:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Aug 2006 21:26:32 -0000 Received: (qmail 48328 invoked by uid 500); 30 Aug 2006 21:26:31 -0000 Delivered-To: [email protected] Received: (qmail 48287 invoked by uid 500); 30 Aug 2006 21:26:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Slide Developers Mailing List" <slide-dev.jakarta.apache.org> Reply-To: "Slide Developers Mailing List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 48276 invoked by uid 99); 30 Aug 2006 21:26:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2006 14:26:30 -0700 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=HTML_MESSAGE,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (asf.osuosl.org: transitioning domain of [email protected] does not designate 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail.inscc.utah.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2006 14:26:29 -0700 Received: from localhost (localhost.localdomain [161.129.204.104]) by mail.inscc.utah.edu (Postfix) with ESMTP id C66CE630ED0 for <[email protected]>; Wed, 30 Aug 2006 15:26:08 -0600 (MDT) Received: from mail.inscc.utah.edu ([161.129.204.104]) by localhost (mail.inscc.utah.edu [161.129.204.104]) (amavisd-new, port 10024) with ESMTP id 10516-04 for <[email protected]>; Wed, 30 Aug 2006 15:26:06 -0600 (MDT) Received: from cseo4 (cseo4.hec.utah.edu [161.129.204.104]) by mail.inscc.utah.edu (Postfix) with SMTP id 22E4C630EFE for <[email protected]>; Wed, 30 Aug 2006 15:26:06 -0600 (MDT) Message-ID: <[email protected]> From: "Ha Pham" <[email protected]> To: "Slide Developers Mailing List" <[email protected]> Subject: how to force Slide read change in DBMS Date: Wed, 30 Aug 2006 15:26:06 -0600 Organization: School of Computing MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0027_01C6CC48.9C6DF000" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-Virus-Scanned: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0027_01C6CC48.9C6DF000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello all, I use J2EE store and want to add user to Slide dynamically. When a user = register to our main webpage (jsp page), we will put data for that user = in the Slide tables. I have tried to put data for a new user (into 7 = tables), but then Slide cannot recognize new user without restarting. I = really want Slide can recognize new user without having to restart. = Would anyone can help me with this issue? Thank you, Ha ------=_NextPart_000_0027_01C6CC48.9C6DF000-- From [email protected] Thu Aug 31 05:56:15 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91672 invoked from network); 31 Aug 2006 05:56:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Aug 2006 05:56:14 -0000 Received: (qmail 24653 invoked by uid 500); 31 Aug 2006 05:56:13 -0000 Delivered-To: [email protected] Received: (qmail 24613 invoked by uid 500); 31 Aug 2006 05:56:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Slide Developers Mailing List" <slide-dev.jakarta.apache.org> Reply-To: "Slide Developers Mailing List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 24601 invoked by uid 99); 31 Aug 2006 05:56:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2006 22:56:12 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO natlemon.rzone.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2006 22:56:11 -0700 Received: from cubalibre32 (pD9E9F04A.dip.t-dialin.net [161.129.204.104]) (authenticated bits=0) by post.webmailer.de (8.13.6/8.13.6) with ESMTP id k7V5tllH018737 for <[email protected]>; Thu, 31 Aug 2006 07:55:48 +0200 (MEST) From: "Sven Pfeiffer" <[email protected]> To: "'Slide Developers Mailing List'" <[email protected]> Subject: RE: how to force Slide read change in DBMS Date: Thu, 31 Aug 2006 07:55:26 +0200 Message-ID: <001001c6ccc2$0f2b8570$3401a8c0@cubalibre32> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Thread-Index: AcbMevcUqAzteWlwSZmwj5YBFoHgWQARsWHQ In-Reply-To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N why do you write the user in the database? to create a user simply use the mkcol-command in your /users - folder. and then update the groupmemberset-property of the role(s) the user is in. then the user will be "known" by slide immediately hth SVen >-----Original Message----- >From: Ha Pham [mailto:[email protected]] >Sent: Wednesday, August 30, 2006 11:26 PM >To: Slide Developers Mailing List >Subject: how to force Slide read change in DBMS > >Hello all, > >I use J2EE store and want to add user to Slide dynamically. >When a user register to our main webpage (jsp page), we will >put data for that user in the Slide tables. I have tried to >put data for a new user (into 7 tables), but then Slide cannot >recognize new user without restarting. I really want Slide can >recognize new user without having to restart. Would anyone can >help me with this issue? > >Thank you, >Ha > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Aug 31 15:17:39 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97210 invoked from network); 31 Aug 2006 15:17:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Aug 2006 15:17:38 -0000 Received: (qmail 63462 invoked by uid 500); 31 Aug 2006 15:17:36 -0000 Delivered-To: [email protected] Received: (qmail 63388 invoked by uid 500); 31 Aug 2006 15:17:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Slide Developers Mailing List" <slide-dev.jakarta.apache.org> Reply-To: "Slide Developers Mailing List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 63347 invoked by uid 99); 31 Aug 2006 15:17:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Aug 2006 08:17:35 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=NO_REAL_NAME,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (asf.osuosl.org: transitioning domain of [email protected] does not designate 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO jav.cc.utah.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Aug 2006 08:17:34 -0700 Received: from localhost (hut.cc.utah.edu [161.129.204.104]) by jav.cc.utah.edu (SMTP Mailer) with ESMTP id <[email protected]> for [email protected]; Thu, 31 Aug 2006 09:17:13 -0600 (MDT) Received: from c-24-10-248-63.hsd1.ut.comcast.net (c-24-10-248-63.hsd1.ut.comcast.net [161.129.204.104]) by webmail.utah.edu (IMP) with HTTP for <[email protected]>; Thu, 31 Aug 2006 09:17:12 -0600 Date: Thu, 31 Aug 2006 09:17:12 -0600 From: [email protected] Subject: RE: how to force Slide read change in DBMS In-reply-to: <001001c6ccc2$0f2b8570$3401a8c0@cubalibre32> X-Originating-IP: 161.129.204.104 To: Slide Developers Mailing List <[email protected]> Message-id: <[email protected]> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7BIT User-Agent: Internet Messaging Program (IMP) 3.2.2 References: <001001c6ccc2$0f2b8570$3401a8c0@cubalibre32> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thank you for your suggestion. We intend to use trigger in DBMS to write the data, but if there's no way to force Slide refresh, we will send the request to Slide server. Thanks Ha Quoting Sven Pfeiffer <[email protected]>: > why do you write the user in the database? > > to create a user simply use the mkcol-command in your /users - folder. > and then update the groupmemberset-property of the role(s) the user is in. > > then the user will be "known" by slide immediately > > hth > SVen > > >-----Original Message----- > >From: Ha Pham [mailto:[email protected]] > >Sent: Wednesday, August 30, 2006 11:26 PM > >To: Slide Developers Mailing List > >Subject: how to force Slide read change in DBMS > > > >Hello all, > > > >I use J2EE store and want to add user to Slide dynamically. > >When a user register to our main webpage (jsp page), we will > >put data for that user in the Slide tables. I have tried to > >put data for a new user (into 7 tables), but then Slide cannot > >recognize new user without restarting. I really want Slide can > >recognize new user without having to restart. Would anyone can > >help me with this issue? > > > >Thank you, > >Ha > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Tue Jul 01 10:02:18 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 72518 invoked from network); 1 Jul 2008 10:02:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Jul 2008 10:02:15 -0000 Received: (qmail 4366 invoked by uid 500); 1 Jul 2008 10:02:16 -0000 Delivered-To: [email protected] Received: (qmail 4118 invoked by uid 500); 1 Jul 2008 10:02:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4107 invoked by uid 99); 1 Jul 2008 10:02:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jul 2008 03:02:15 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jul 2008 10:01:24 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 1C750234C14E for <[email protected]>; Tue, 1 Jul 2008 03:01:45 -0700 (PDT) Message-ID: <112071968.1214906505115.JavaMail.jira@brutus> Date: Tue, 1 Jul 2008 03:01:45 -0700 (PDT) From: "Justin Mason (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1665) odd ALT text on weather icons on Hudson front page MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org odd ALT text on weather icons on Hudson front page -------------------------------------------------- Key: INFRA-1665 URL: https://issues.apache.org/jira/browse/INFRA-1665 Project: Infrastructure Issue Type: Task Security Level: public (Regular issues) Components: Hudson Reporter: Justin Mason Priority: Trivial From: Henning Schmiedehausen <hps intermeta.de> Date: Mon, 30 Jun 2008 20:08:21 +0200 To: infrastructure-dev apache.org BTW, hovering over the various weather icons there produces... ...interesting results. Some projects show some asian text, some show german and JMeter-trunk shows a spanish result. There seems to be some locale-related problem... :-) Ciao henning -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jul 01 14:37:40 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77681 invoked from network); 1 Jul 2008 14:37:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Jul 2008 14:37:39 -0000 Received: (qmail 99507 invoked by uid 500); 1 Jul 2008 14:37:37 -0000 Delivered-To: [email protected] Received: (qmail 99247 invoked by uid 500); 1 Jul 2008 14:37:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99236 invoked by uid 99); 1 Jul 2008 14:37:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jul 2008 07:37:36 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jul 2008 14:36:54 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 1FAE6234C14C for <[email protected]>; Tue, 1 Jul 2008 07:36:45 -0700 (PDT) Message-ID: <1540965113.1214923005128.JavaMail.jira@brutus> Date: Tue, 1 Jul 2008 07:36:45 -0700 (PDT) From: "Matthieu Riou (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1666) Hudson account for Apache ODE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hudson account for Apache ODE ----------------------------- Key: INFRA-1666 URL: https://issues.apache.org/jira/browse/INFRA-1666 Project: Infrastructure Issue Type: Task Security Level: public (Regular issues) Components: Hudson Reporter: Matthieu Riou I'd like to add a project in Hudson for Apache ODE. Apache id: mriou Real name: Matthieu Riou PMC: Apache ODE Thanks! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jul 01 15:53:37 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19223 invoked from network); 1 Jul 2008 15:53:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Jul 2008 15:53:36 -0000 Received: (qmail 14623 invoked by uid 500); 1 Jul 2008 15:53:37 -0000 Delivered-To: [email protected] Received: (qmail 14388 invoked by uid 500); 1 Jul 2008 15:53:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 14376 invoked by uid 99); 1 Jul 2008 15:53:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jul 2008 08:53:36 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jul 2008 15:52:54 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 0C313234C14C for <[email protected]>; Tue, 1 Jul 2008 08:52:45 -0700 (PDT) Message-ID: <1021818188.1214927565048.JavaMail.jira@brutus> Date: Tue, 1 Jul 2008 08:52:45 -0700 (PDT) From: "Alan Cabrera (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1667) [email protected] MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [email protected] ----------------------------------- Key: INFRA-1667 URL: https://issues.apache.org/jira/browse/INFRA-1667 Project: Infrastructure Issue Type: Task Security Level: public (Regular issues) Components: Mailing Lists Reporter: Alan Cabrera Please create a new mailing list for the JSecurity users. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jul 01 22:09:11 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59707 invoked from network); 1 Jul 2008 22:09:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Jul 2008 22:09:09 -0000 Received: (qmail 31732 invoked by uid 500); 1 Jul 2008 22:09:07 -0000 Delivered-To: [email protected] Received: (qmail 31516 invoked by uid 500); 1 Jul 2008 22:09:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31470 invoked by uid 99); 1 Jul 2008 22:09:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jul 2008 15:09:07 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jul 2008 22:08:24 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 1DDC5234C153 for <[email protected]>; Tue, 1 Jul 2008 15:08:45 -0700 (PDT) Message-ID: <1399661076.1214950125121.JavaMail.jira@brutus> Date: Tue, 1 Jul 2008 15:08:45 -0700 (PDT) From: "Joe Schaefer (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (INFRA-1662) Tuscany commit notifications have the wrong list address in the reply-to field In-Reply-To: <696036010.1214436525132.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Schaefer closed INFRA-1662. ------------------------------- Resolution: Fixed Done. > Tuscany commit notifications have the wrong list address in the reply-to field > ------------------------------------------------------------------------------ > > Key: INFRA-1662 > URL: https://issues.apache.org/jira/browse/INFRA-1662 > Project: Infrastructure > Issue Type: Bug > Security Level: public(Regular issues) > Components: Mailing Lists, TLP Admin > Reporter: Luciano Resende > Priority: Critical > > The tuscany commit notifications currently have the reply-to as [email protected], but this e-mail address is invalid. > The correct value should be [email protected] -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jul 02 02:32:41 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76137 invoked from network); 2 Jul 2008 02:32:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Jul 2008 02:32:40 -0000 Received: (qmail 81239 invoked by uid 500); 2 Jul 2008 02:32:40 -0000 Delivered-To: [email protected] Received: (qmail 81035 invoked by uid 500); 2 Jul 2008 02:32:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81024 invoked by uid 99); 2 Jul 2008 02:32:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jul 2008 19:32:40 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 02 Jul 2008 02:31:48 +0000 Received: (qmail 75958 invoked by uid 1723); 2 Jul 2008 02:32:08 -0000 Date: 2 Jul 2008 02:32:03 -0000 Message-ID: <[email protected]> TO: [email protected] FROM: [email protected] SUBJECT: Infrastructure: Open Issues as of 2008-07-02 X-Virus-Checked: Checked by ClamAV on apache.org Infrastructure - Wednesday, July 2, 2008 Backups (1) [INFRA-1576] Deploy backup services on bia 2008-04-28 - Unassigned - New Feature http://issues.apache.org/jira/browse/INFRA-1576 ColoTasks (1) [INFRA-847] Fix fan failure in Helios 2008-03-28 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-847 Confluence (2) [INFRA-1315] AutoExported HTML pages have Confluence images still pointing to Confluence server. 2007-08-28 - Ted Husted - Improvement http://issues.apache.org/jira/browse/INFRA-1315 [INFRA-1338] Update Confluence to 2.6 when available 2008-04-09 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1338 Continuum (11) [INFRA-1322] set up an external database and backup regime 2007-08-20 - Unassigned - Improvement http://issues.apache.org/jira/browse/INFRA-1322 [INFRA-1328] migrate Commons nightlies to Continuum on vmbuild1 2007-08-29 - Phil Steitz - Task http://issues.apache.org/jira/browse/INFRA-1328 [INFRA-1343] setup robots.txt and/or other access rules to prevent bots from crawling Continuum pages 2007-08-29 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1343 [INFRA-1347] Some builds never finish 2007-09-03 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1347 [INFRA-1318] set up rsync on people.apache.org to retrieve builds from vmbuild1.apache.org 2007-09-04 - Unassigned - New Feature http://issues.apache.org/jira/browse/INFRA-1318 [INFRA-1325] monitor disk space usage on vmbuild 2007-09-04 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1325 [INFRA-1323] scripted clean up of Continuum local repository 2007-10-30 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1323 [INFRA-1514] adjust mail template to indicate where issues should be filed for the ASF 2008-02-07 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1514 [INFRA-1324] set up log rotation / clean up for VMBuild 2008-04-01 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1324 [INFRA-1525] HTTP ERROR: 500 trying to modify a user role in Continuum (vmbuild1) 2008-05-08 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1525 [INFRA-1630] Continuum web interface very slow; sometimes unusably so 2008-05-28 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1630 DNS (1) [INFRA-1580] transfer of maven.org domain to the ASF 2008-04-10 - Joe Schaefer - Task http://issues.apache.org/jira/browse/INFRA-1580 Hudson (2) [INFRA-1665] odd ALT text on weather icons on Hudson front page 2008-07-01 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1665 [INFRA-1666] Hudson account for Apache ODE 2008-07-01 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1666 JIRA (4) [INFRA-813] Import Jira projects into the main Jira 2007-09-16 - Unassigned - Wish http://issues.apache.org/jira/browse/INFRA-813 [INFRA-1409] Create JIRA runbook 2007-11-29 - Henri Yandell - Task http://issues.apache.org/jira/browse/INFRA-1409 [INFRA-1545] Bugzilla Id: links no longer work 2008-06-25 - Henri Yandell - Bug http://issues.apache.org/jira/browse/INFRA-1545 [INFRA-1656] Improvement to JIRA attachment handling - allow sorting by date 2008-06-26 - Unassigned - Improvement http://issues.apache.org/jira/browse/INFRA-1656 Mail (qmail) (3) [INFRA-917] [email protected] online archives are broken 2008-01-17 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-917 [INFRA-1410] Better filter out of office reply 2008-04-09 - Unassigned - Improvement http://issues.apache.org/jira/browse/INFRA-1410 [INFRA-1640] Please review spam filter, seems to strict 2008-06-09 - Unassigned - Wish http://issues.apache.org/jira/browse/INFRA-1640 Mail Archives (3) [INFRA-1062] Remove JIRA comment spam from archives 2007-07-11 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1062 [INFRA-1639] apachecon-planners-2007-asia archiving all going to "200705 2008-06-16 - Brett Porter - Bug http://issues.apache.org/jira/browse/INFRA-1639 [INFRA-1663] Tuscany archives were not migrated as part of TLP migration 2008-06-25 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1663 Mailing Lists (3) [INFRA-1111] add some basic srs support to ezmlm / teach it how to automoderate commit lists 2008-01-17 - Joe Schaefer - New Feature http://issues.apache.org/jira/browse/INFRA-1111 [INFRA-1641] AV should be processed earlier for mailing lists 2008-06-09 - Unassigned - Improvement http://issues.apache.org/jira/browse/INFRA-1641 [INFRA-1667] [email protected] 2008-07-01 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1667 Mirrors (3) [INFRA-1609] New Apache Mirror 2008-06-09 - Gavin - New Feature http://issues.apache.org/jira/browse/INFRA-1609 [INFRA-1661] Leakage.org Apache Mirror Down 2008-06-25 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1661 [INFRA-1653] New french mirror 2008-06-27 - Unassigned - New Feature http://issues.apache.org/jira/browse/INFRA-1653 MoinMoin (1) [INFRA-1110] upgrade moin installation to latest version 2008-06-10 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1110 Nagios (1) [INFRA-870] Update nagios monitoring to include all machines/services acurately 2008-05-07 - Joe Schaefer - Task http://issues.apache.org/jira/browse/INFRA-870 Subversion (3) [INFRA-1284] add gump back to viewvc 2007-08-16 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1284 [INFRA-544] [PATCH] Taritup patch for XML Commons, Batik and FOP after the move to SVN 2007-10-10 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-544 [INFRA-1650] http://svn.apache.org/snapshots/spamassassin/ now empty 2008-06-13 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1650 TLP Admin (2) [INFRA-1586] Create new Apache CXF TLP 2008-06-16 - Joe Schaefer - Task http://issues.apache.org/jira/browse/INFRA-1586 [INFRA-1563] Apache Archiva TLP Setup 2008-06-16 - Joe Schaefer - Task http://issues.apache.org/jira/browse/INFRA-1563 Website (1) [INFRA-1664] conferences site page update 2008-06-29 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1664 Zones (3) [INFRA-1551] Update Apache HTTPD to include mod_proxy_ajp on the Lenya zone 2008-03-08 - Unassigned - Wish http://issues.apache.org/jira/browse/INFRA-1551 [INFRA-1638] /tmp on hudson.zones.apache.org isn't writable after reboot 2008-06-06 - Norman Maurer - Bug http://issues.apache.org/jira/browse/INFRA-1638 [INFRA-1585] Zone for Shindig 2008-06-25 - Norman Maurer - Wish http://issues.apache.org/jira/browse/INFRA-1585 -- template: infra.vm From [email protected] Wed Jul 02 09:01:41 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71580 invoked from network); 2 Jul 2008 09:01:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Jul 2008 09:01:37 -0000 Received: (qmail 89128 invoked by uid 500); 2 Jul 2008 09:01:38 -0000 Delivered-To: [email protected] Received: (qmail 88876 invoked by uid 500); 2 Jul 2008 09:01:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 88864 invoked by uid 99); 2 Jul 2008 09:01:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jul 2008 02:01:37 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jul 2008 09:00:54 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 9F606234C150 for <[email protected]>; Wed, 2 Jul 2008 02:00:45 -0700 (PDT) Message-ID: <1383055340.1214989245651.JavaMail.jira@brutus> Date: Wed, 2 Jul 2008 02:00:45 -0700 (PDT) From: "Justin Mason (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (INFRA-1650) http://svn.apache.org/snapshots/*/ broken In-Reply-To: <2070280625.1213276365102.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Mason updated INFRA-1650: -------------------------------- Summary: http://svn.apache.org/snapshots/*/ broken (was: http://svn.apache.org/snapshots/spamassassin/ now empty) ping > http://svn.apache.org/snapshots/*/ broken > ----------------------------------------- > > Key: INFRA-1650 > URL: https://issues.apache.org/jira/browse/INFRA-1650 > Project: Infrastructure > Issue Type: Bug > Security Level: public(Regular issues) > Components: Subversion > Reporter: Justin Mason > > hi guys -- > we previously had automated SVN snapshots in this dir, but no more. could someone look into why they're no longer generated? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 03 02:17:51 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90208 invoked from network); 3 Jul 2008 02:17:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Jul 2008 02:17:50 -0000 Received: (qmail 91225 invoked by uid 500); 3 Jul 2008 02:17:47 -0000 Delivered-To: [email protected] Received: (qmail 90942 invoked by uid 500); 3 Jul 2008 02:17:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 90931 invoked by uid 99); 3 Jul 2008 02:17:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jul 2008 19:17:46 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2008 02:16:54 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 16AB3234C14E for <[email protected]>; Wed, 2 Jul 2008 19:16:45 -0700 (PDT) Message-ID: <1272754391.1215051405091.JavaMail.jira@brutus> Date: Wed, 2 Jul 2008 19:16:45 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1665) odd ALT text on weather icons on Hudson front page In-Reply-To: <112071968.1214906505115.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12610109#action_12610109 ] Gavin commented on INFRA-1665: ------------------------------ Unless people maintaining Hudson here have exploded the hudson.war, and done some changes, it is likely a Hudson error. I've filed an issue at https://hudson.dev.java.net/issues/show_bug.cgi?id=2011 , so we'll see what happens there. > odd ALT text on weather icons on Hudson front page > -------------------------------------------------- > > Key: INFRA-1665 > URL: https://issues.apache.org/jira/browse/INFRA-1665 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Hudson > Reporter: Justin Mason > Priority: Trivial > > From: Henning Schmiedehausen <hps intermeta.de> > Date: Mon, 30 Jun 2008 20:08:21 +0200 > To: infrastructure-dev apache.org > BTW, hovering over the various weather icons there > produces... ...interesting results. Some projects show some asian text, > some show german and JMeter-trunk shows a spanish result. > There seems to be some locale-related problem... :-) > Ciao > henning -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 03 06:29:08 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71172 invoked from network); 3 Jul 2008 06:29:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Jul 2008 06:29:07 -0000 Received: (qmail 58231 invoked by uid 500); 3 Jul 2008 06:29:08 -0000 Delivered-To: [email protected] Received: (qmail 58044 invoked by uid 500); 3 Jul 2008 06:29:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58033 invoked by uid 99); 3 Jul 2008 06:29:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jul 2008 23:29:07 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2008 06:28:24 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id DB989234C14E for <[email protected]>; Wed, 2 Jul 2008 23:28:45 -0700 (PDT) Message-ID: <455217408.1215066525898.JavaMail.jira@brutus> Date: Wed, 2 Jul 2008 23:28:45 -0700 (PDT) From: "Nigel Daley (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (INFRA-1666) Hudson account for Apache ODE In-Reply-To: <1540965113.1214923005128.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nigel Daley resolved INFRA-1666. -------------------------------- Resolution: Fixed Assignee: Nigel Daley Passwords sent to user. > Hudson account for Apache ODE > ----------------------------- > > Key: INFRA-1666 > URL: https://issues.apache.org/jira/browse/INFRA-1666 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Hudson > Reporter: Matthieu Riou > Assignee: Nigel Daley > > I'd like to add a project in Hudson for Apache ODE. > Apache id: mriou > Real name: Matthieu Riou > PMC: Apache ODE > Thanks! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 03 18:04:41 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75111 invoked from network); 3 Jul 2008 18:04:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Jul 2008 18:04:37 -0000 Received: (qmail 47171 invoked by uid 500); 3 Jul 2008 18:04:38 -0000 Delivered-To: [email protected] Received: (qmail 46894 invoked by uid 500); 3 Jul 2008 18:04:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 46879 invoked by uid 99); 3 Jul 2008 18:04:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2008 11:04:36 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2008 18:03:54 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 25A25234C155 for <[email protected]>; Thu, 3 Jul 2008 11:03:45 -0700 (PDT) Message-ID: <1119137033.1215108225152.JavaMail.jira@brutus> Date: Thu, 3 Jul 2008 11:03:45 -0700 (PDT) From: "Norman Maurer (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (INFRA-1585) Zone for Shindig In-Reply-To: <643192817.1208366001993.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Norman Maurer closed INFRA-1585. -------------------------------- Resolution: Fixed Dan has access now... So this task is finally complete :-) > Zone for Shindig > ---------------- > > Key: INFRA-1585 > URL: https://issues.apache.org/jira/browse/INFRA-1585 > Project: Infrastructure > Issue Type: Wish > Security Level: public(Regular issues) > Components: Zones > Reporter: Dan Bentley > Assignee: Norman Maurer > > Shindig wants a Zone to run an instance of Review Board, a sample container, and a nightly build. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Jul 05 17:23:10 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76082 invoked from network); 5 Jul 2008 17:23:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Jul 2008 17:23:05 -0000 Received: (qmail 10915 invoked by uid 500); 5 Jul 2008 17:23:06 -0000 Delivered-To: [email protected] Received: (qmail 10621 invoked by uid 500); 5 Jul 2008 17:23:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 10610 invoked by uid 99); 5 Jul 2008 17:23:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jul 2008 10:23:05 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jul 2008 17:22:22 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D549B234C152 for <[email protected]>; Sat, 5 Jul 2008 10:22:39 -0700 (PDT) Message-ID: <301181333.1215278559870.JavaMail.jira@brutus> Date: Sat, 5 Jul 2008 10:22:39 -0700 (PDT) From: "Jason van Zyl (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1668) Create an account in the Hudson instance for Jason van Zyl (jvanzyl) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Create an account in the Hudson instance for Jason van Zyl (jvanzyl) --------------------------------------------------------------------- Key: INFRA-1668 URL: https://issues.apache.org/jira/browse/INFRA-1668 Project: Infrastructure Issue Type: Task Security Level: public (Regular issues) Reporter: Jason van Zyl Assignee: Nigel Daley I'd like to setup and maintain some Maven jobs in the Hudson instance if I may. Thanks. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sun Jul 06 16:41:04 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62853 invoked from network); 6 Jul 2008 16:41:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Jul 2008 16:41:01 -0000 Received: (qmail 30272 invoked by uid 500); 6 Jul 2008 16:41:01 -0000 Delivered-To: [email protected] Received: (qmail 30035 invoked by uid 500); 6 Jul 2008 16:41:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30024 invoked by uid 99); 6 Jul 2008 16:41:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jul 2008 09:41:01 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jul 2008 16:40:17 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 84509234C153 for <[email protected]>; Sun, 6 Jul 2008 09:40:34 -0700 (PDT) Message-ID: <661115759.1215362434540.JavaMail.jira@brutus> Date: Sun, 6 Jul 2008 09:40:34 -0700 (PDT) From: "Brett Porter (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (INFRA-1669) disable clean checkout on Tuscany builds In-Reply-To: <914846609.1215362431670.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brett Porter closed INFRA-1669. ------------------------------- Resolution: Fixed Assignee: Brett Porter > disable clean checkout on Tuscany builds > ---------------------------------------- > > Key: INFRA-1669 > URL: https://issues.apache.org/jira/browse/INFRA-1669 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Continuum > Reporter: Brett Porter > Assignee: Brett Porter > > Tuscany have configured themselves to do a clean checkout on every build (hourly). This consumes a lot of resources and may be causing stability problems on vmbuild. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sun Jul 06 16:41:24 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63488 invoked from network); 6 Jul 2008 16:41:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Jul 2008 16:41:23 -0000 Received: (qmail 30794 invoked by uid 500); 6 Jul 2008 16:41:23 -0000 Delivered-To: [email protected] Received: (qmail 30602 invoked by uid 500); 6 Jul 2008 16:41:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30591 invoked by uid 99); 6 Jul 2008 16:41:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jul 2008 09:41:23 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jul 2008 16:40:40 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A58E0234C152 for <[email protected]>; Sun, 6 Jul 2008 09:40:31 -0700 (PDT) Message-ID: <914846609.1215362431670.JavaMail.jira@brutus> Date: Sun, 6 Jul 2008 09:40:31 -0700 (PDT) From: "Brett Porter (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1669) disable clean checkout on Tuscany builds MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org disable clean checkout on Tuscany builds ---------------------------------------- Key: INFRA-1669 URL: https://issues.apache.org/jira/browse/INFRA-1669 Project: Infrastructure Issue Type: Task Security Level: public (Regular issues) Components: Continuum Reporter: Brett Porter Tuscany have configured themselves to do a clean checkout on every build (hourly). This consumes a lot of resources and may be causing stability problems on vmbuild. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jul 07 00:04:31 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81716 invoked from network); 7 Jul 2008 00:04:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Jul 2008 00:04:29 -0000 Received: (qmail 99491 invoked by uid 500); 7 Jul 2008 00:04:29 -0000 Delivered-To: [email protected] Received: (qmail 99331 invoked by uid 500); 7 Jul 2008 00:04:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99319 invoked by uid 99); 7 Jul 2008 00:04:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jul 2008 17:04:29 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jul 2008 00:03:46 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B8BC3234C154 for <[email protected]>; Sun, 6 Jul 2008 17:03:33 -0700 (PDT) Message-ID: <1476775722.1215389013750.JavaMail.jira@brutus> Date: Sun, 6 Jul 2008 17:03:33 -0700 (PDT) From: "Nigel Daley (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (INFRA-1668) Create an account in the Hudson instance for Jason van Zyl (jvanzyl) In-Reply-To: <301181333.1215278559870.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nigel Daley updated INFRA-1668: ------------------------------- Component/s: Hudson > Create an account in the Hudson instance for Jason van Zyl (jvanzyl) > --------------------------------------------------------------------- > > Key: INFRA-1668 > URL: https://issues.apache.org/jira/browse/INFRA-1668 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Hudson > Reporter: Jason van Zyl > Assignee: Nigel Daley > > I'd like to setup and maintain some Maven jobs in the Hudson instance if I may. Thanks. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jul 07 00:12:23 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84265 invoked from network); 7 Jul 2008 00:12:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Jul 2008 00:12:23 -0000 Received: (qmail 812 invoked by uid 500); 7 Jul 2008 00:12:23 -0000 Delivered-To: [email protected] Received: (qmail 603 invoked by uid 500); 7 Jul 2008 00:12:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 592 invoked by uid 99); 7 Jul 2008 00:12:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jul 2008 17:12:23 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jul 2008 00:11:39 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A4268234C155 for <[email protected]>; Sun, 6 Jul 2008 17:11:31 -0700 (PDT) Message-ID: <18924283.1215389491671.JavaMail.jira@brutus> Date: Sun, 6 Jul 2008 17:11:31 -0700 (PDT) From: "Nigel Daley (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (INFRA-1668) Create an account in the Hudson instance for Jason van Zyl (jvanzyl) In-Reply-To: <301181333.1215278559870.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nigel Daley resolved INFRA-1668. -------------------------------- Resolution: Fixed Credentials sent to your @apache.org address. > Create an account in the Hudson instance for Jason van Zyl (jvanzyl) > --------------------------------------------------------------------- > > Key: INFRA-1668 > URL: https://issues.apache.org/jira/browse/INFRA-1668 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Hudson > Reporter: Jason van Zyl > Assignee: Nigel Daley > > I'd like to setup and maintain some Maven jobs in the Hudson instance if I may. Thanks. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jul 07 03:59:54 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90118 invoked from network); 7 Jul 2008 03:59:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Jul 2008 03:59:53 -0000 Received: (qmail 73098 invoked by uid 500); 7 Jul 2008 03:59:53 -0000 Delivered-To: [email protected] Received: (qmail 72878 invoked by uid 500); 7 Jul 2008 03:59:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 72867 invoked by uid 99); 7 Jul 2008 03:59:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jul 2008 20:59:53 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jul 2008 03:59:10 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id AAC95234C154 for <[email protected]>; Sun, 6 Jul 2008 20:59:31 -0700 (PDT) Message-ID: <1826455171.1215403171698.JavaMail.jira@brutus> Date: Sun, 6 Jul 2008 20:59:31 -0700 (PDT) From: "Niklas Gustavsson (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1670) Account in Huson for Apache FtpServer MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Account in Huson for Apache FtpServer ------------------------------------- Key: INFRA-1670 URL: https://issues.apache.org/jira/browse/INFRA-1670 Project: Infrastructure Issue Type: Task Security Level: public (Regular issues) Components: Hudson Reporter: Niklas Gustavsson Coul I have an account set up in Hudson to create and administer builds for Apache FtpServer, a sbproject of MINA? User name: ngn Real name: Niklas Gustavsson PMC: MINA -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jul 07 09:58:24 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74860 invoked from network); 7 Jul 2008 09:58:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Jul 2008 09:58:23 -0000 Received: (qmail 65061 invoked by uid 500); 7 Jul 2008 09:58:23 -0000 Delivered-To: [email protected] Received: (qmail 64829 invoked by uid 500); 7 Jul 2008 09:58:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 64818 invoked by uid 99); 7 Jul 2008 09:58:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jul 2008 02:58:23 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jul 2008 09:57:39 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B8A38234C154 for <[email protected]>; Mon, 7 Jul 2008 02:57:31 -0700 (PDT) Message-ID: <116803575.1215424651755.JavaMail.jira@brutus> Date: Mon, 7 Jul 2008 02:57:31 -0700 (PDT) From: "Justin Mason (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (INFRA-1670) Account in Huson for Apache FtpServer In-Reply-To: <1826455171.1215403171698.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Mason resolved INFRA-1670. --------------------------------- Resolution: Fixed done! mailed to [email protected]. > Account in Huson for Apache FtpServer > ------------------------------------- > > Key: INFRA-1670 > URL: https://issues.apache.org/jira/browse/INFRA-1670 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Hudson > Reporter: Niklas Gustavsson > > Coul I have an account set up in Hudson to create and administer builds for Apache FtpServer, a sbproject of MINA? > User name: ngn > Real name: Niklas Gustavsson > PMC: MINA -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jul 08 08:00:10 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74890 invoked from network); 8 Jul 2008 08:00:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Jul 2008 08:00:08 -0000 Received: (qmail 36403 invoked by uid 500); 8 Jul 2008 08:00:08 -0000 Delivered-To: [email protected] Received: (qmail 36178 invoked by uid 500); 8 Jul 2008 08:00:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 36167 invoked by uid 99); 8 Jul 2008 08:00:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 01:00:07 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 07:59:16 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 77B72234C158 for <[email protected]>; Tue, 8 Jul 2008 00:59:35 -0700 (PDT) Message-ID: <291428016.1215503975488.JavaMail.jira@brutus> Date: Tue, 8 Jul 2008 00:59:35 -0700 (PDT) From: "Tigran Afrikyan (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1671) New Official Country Mirror MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org New Official Country Mirror --------------------------- Key: INFRA-1671 URL: https://issues.apache.org/jira/browse/INFRA-1671 Project: Infrastructure Issue Type: Task Security Level: public (Regular issues) Components: Mirrors Environment: FreeBSD 7.0-STABLE Reporter: Tigran Afrikyan * URL of mirror : http://apache.mirrors.adc.am * Country where the mirror is located : Yerevan, Armenia * Contact email address: [email protected] * Update frequency : daily * Rsync repository used : rsync.eu.apache.org * Approximate bandwidth: 100 Mbit/s * I have configured my HTTP server as requested (yes/no) : yes * I have subscribed to the mirror maintainers mailing list (yes/no) : yes -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jul 08 15:59:25 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73059 invoked from network); 8 Jul 2008 15:59:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Jul 2008 15:59:23 -0000 Received: (qmail 89138 invoked by uid 500); 8 Jul 2008 15:59:24 -0000 Delivered-To: [email protected] Received: (qmail 88800 invoked by uid 500); 8 Jul 2008 15:59:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 88785 invoked by uid 99); 8 Jul 2008 15:59:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 08:59:23 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 15:58:39 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B63C3234C15D for <[email protected]>; Tue, 8 Jul 2008 08:58:31 -0700 (PDT) Message-ID: <94989512.1215532711745.JavaMail.jira@brutus> Date: Tue, 8 Jul 2008 08:58:31 -0700 (PDT) From: "Henri Yandell (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (INFRA-1622) Bad link on https://issues.apache.org/ In-Reply-To: <995921416.1211477275782.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henri Yandell updated INFRA-1622: --------------------------------- Component/s: Website > Bad link on https://issues.apache.org/ > -------------------------------------- > > Key: INFRA-1622 > URL: https://issues.apache.org/jira/browse/INFRA-1622 > Project: Infrastructure > Issue Type: Bug > Security Level: public(Regular issues) > Components: Website > Reporter: Matthieu Chase Heimer > Priority: Minor > > The first sentence on https://issues.apache.org/ links to a file that is zero bytes in size, http://projects.apache.org/indexes/resources.html. There is also another zero size file in the same location, http://projects.apache.org/indexes/project.html. > The link should probably go to: http://projects.apache.org/indexes/alpha.html unless the resources.html files is modified to have some content. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jul 08 18:36:55 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58488 invoked from network); 8 Jul 2008 18:36:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Jul 2008 18:36:53 -0000 Received: (qmail 44437 invoked by uid 500); 8 Jul 2008 18:36:53 -0000 Delivered-To: [email protected] Received: (qmail 44199 invoked by uid 500); 8 Jul 2008 18:36:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 44188 invoked by uid 99); 8 Jul 2008 18:36:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 11:36:52 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 18:36:09 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B415A234C15D for <[email protected]>; Tue, 8 Jul 2008 11:36:31 -0700 (PDT) Message-ID: <308881139.1215542191736.JavaMail.jira@brutus> Date: Tue, 8 Jul 2008 11:36:31 -0700 (PDT) From: "Torsten Curdt (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1672) Import missing branches from CVS into SVN MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Import missing branches from CVS into SVN ----------------------------------------- Key: INFRA-1672 URL: https://issues.apache.org/jira/browse/INFRA-1672 Project: Infrastructure Issue Type: Task Security Level: public (Regular issues) Components: CVS, Subversion Reporter: Torsten Curdt Priority: Minor Cocoon would like to preserve history in subversion. Some old branches were not converted from CVS. Could anyone please help with this? Seems like we had the following [email protected]:/home/cvs/cocoon-1 cocoon-1_8_2:1.11 cocoon-1_8_1:1.10 cocoon-1_8:1.8 cocoon-1_7_4:1.7 cocoon-1_7_3:1.7 cocoon-1_7_2:1.7 cocoon-1_7_1:1.7 cocoon-1_7:1.7 cocoon-1_6_1:1.5 cocoon-1_6:1.5 xml-cocoon2:161.129.204.104 cocoon_16_dev:161.129.204.104 stefano:1.1.1 dirkx:161.129.204.104 initial:1.1.1; It would probably be the easiest to just import them into http://svn.apache.org/repos/asf/cocoon/branches/ And we do the cleanup in there. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jul 08 21:06:30 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45475 invoked from network); 8 Jul 2008 21:06:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Jul 2008 21:06:26 -0000 Received: (qmail 71547 invoked by uid 500); 8 Jul 2008 21:06:23 -0000 Delivered-To: [email protected] Received: (qmail 71301 invoked by uid 500); 8 Jul 2008 21:06:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71290 invoked by uid 99); 8 Jul 2008 21:06:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 14:06:23 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 21:05:39 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B0DD7234C15B for <[email protected]>; Tue, 8 Jul 2008 14:05:31 -0700 (PDT) Message-ID: <1135913815.1215551131723.JavaMail.jira@brutus> Date: Tue, 8 Jul 2008 14:05:31 -0700 (PDT) From: "Tony Stevenson (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (INFRA-1664) conferences site page update In-Reply-To: <1878462146.1214751225081.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tony Stevenson resolved INFRA-1664. ----------------------------------- Resolution: Fixed Assignee: Tony Stevenson Fixed by Sebb, aback in June. Just checked public site, it now reflects those changes. Closing ticket. > conferences site page update > ---------------------------- > > Key: INFRA-1664 > URL: https://issues.apache.org/jira/browse/INFRA-1664 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Website > Reporter: Stefano Bagnara > Assignee: Tony Stevenson > Attachments: INFRA-1664.diff > > > The conferences pages includes EU2008 as "upcoming" and do not include US2008. > http://www.apache.org/foundation/conferences.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jul 09 00:13:25 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36547 invoked from network); 9 Jul 2008 00:13:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jul 2008 00:13:23 -0000 Received: (qmail 26176 invoked by uid 500); 9 Jul 2008 00:13:23 -0000 Delivered-To: [email protected] Received: (qmail 25906 invoked by uid 500); 9 Jul 2008 00:13:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 25894 invoked by uid 99); 9 Jul 2008 00:13:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 17:13:23 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 00:12:39 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id BF28A234C15E for <[email protected]>; Tue, 8 Jul 2008 17:12:31 -0700 (PDT) Message-ID: <268131832.1215562351781.JavaMail.jira@brutus> Date: Tue, 8 Jul 2008 17:12:31 -0700 (PDT) From: "Tony Stevenson (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (INFRA-870) Update nagios monitoring to include all machines/services acurately In-Reply-To: <9697254.1151594129773.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tony Stevenson reassigned INFRA-870: ------------------------------------ Assignee: Tony Stevenson (was: Joe Schaefer) > Update nagios monitoring to include all machines/services acurately > ------------------------------------------------------------------- > > Key: INFRA-870 > URL: https://issues.apache.org/jira/browse/INFRA-870 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Nagios > Reporter: Sander Striker > Assignee: Tony Stevenson > > Update nagios monitoring to include all machines/services not already in there. Update services that have moved. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jul 09 00:13:44 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37174 invoked from network); 9 Jul 2008 00:13:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jul 2008 00:13:43 -0000 Received: (qmail 26679 invoked by uid 500); 9 Jul 2008 00:13:43 -0000 Delivered-To: [email protected] Received: (qmail 26374 invoked by uid 500); 9 Jul 2008 00:13:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26357 invoked by uid 99); 9 Jul 2008 00:13:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 17:13:43 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 00:12:59 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C5297234C162 for <[email protected]>; Tue, 8 Jul 2008 17:12:31 -0700 (PDT) Message-ID: <459698216.1215562351806.JavaMail.jira@brutus> Date: Tue, 8 Jul 2008 17:12:31 -0700 (PDT) From: "Tony Stevenson (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (INFRA-870) Update nagios monitoring to include all machines/services acurately In-Reply-To: <9697254.1151594129773.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tony Stevenson resolved INFRA-870. ---------------------------------- Resolution: Fixed Updated, and with new checks added. See http://monitoring.apache.org/status for current status > Update nagios monitoring to include all machines/services acurately > ------------------------------------------------------------------- > > Key: INFRA-870 > URL: https://issues.apache.org/jira/browse/INFRA-870 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Nagios > Reporter: Sander Striker > Assignee: Tony Stevenson > > Update nagios monitoring to include all machines/services not already in there. Update services that have moved. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jul 09 02:32:44 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6711 invoked from network); 9 Jul 2008 02:32:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jul 2008 02:32:40 -0000 Received: (qmail 29323 invoked by uid 500); 9 Jul 2008 02:32:40 -0000 Delivered-To: [email protected] Received: (qmail 29055 invoked by uid 500); 9 Jul 2008 02:32:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 29044 invoked by uid 99); 9 Jul 2008 02:32:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 19:32:39 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 09 Jul 2008 02:31:46 +0000 Received: (qmail 6442 invoked by uid 1723); 9 Jul 2008 02:32:09 -0000 Date: 9 Jul 2008 02:32:03 -0000 Message-ID: <[email protected]> TO: [email protected] FROM: [email protected] SUBJECT: Infrastructure: Open Issues as of 2008-07-09 X-Virus-Checked: Checked by ClamAV on apache.org Infrastructure - Wednesday, July 9, 2008 Backups (1) [INFRA-1576] Deploy backup services on bia 2008-04-28 - Unassigned - New Feature http://issues.apache.org/jira/browse/INFRA-1576 ColoTasks (1) [INFRA-847] Fix fan failure in Helios 2008-03-28 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-847 Confluence (2) [INFRA-1315] AutoExported HTML pages have Confluence images still pointing to Confluence server. 2007-08-28 - Ted Husted - Improvement http://issues.apache.org/jira/browse/INFRA-1315 [INFRA-1338] Update Confluence to 2.6 when available 2008-04-09 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1338 Continuum (11) [INFRA-1322] set up an external database and backup regime 2007-08-20 - Unassigned - Improvement http://issues.apache.org/jira/browse/INFRA-1322 [INFRA-1328] migrate Commons nightlies to Continuum on vmbuild1 2007-08-29 - Phil Steitz - Task http://issues.apache.org/jira/browse/INFRA-1328 [INFRA-1343] setup robots.txt and/or other access rules to prevent bots from crawling Continuum pages 2007-08-29 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1343 [INFRA-1347] Some builds never finish 2007-09-03 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1347 [INFRA-1318] set up rsync on people.apache.org to retrieve builds from vmbuild1.apache.org 2007-09-04 - Unassigned - New Feature http://issues.apache.org/jira/browse/INFRA-1318 [INFRA-1325] monitor disk space usage on vmbuild 2007-09-04 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1325 [INFRA-1323] scripted clean up of Continuum local repository 2007-10-30 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1323 [INFRA-1514] adjust mail template to indicate where issues should be filed for the ASF 2008-02-07 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1514 [INFRA-1324] set up log rotation / clean up for VMBuild 2008-04-01 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1324 [INFRA-1525] HTTP ERROR: 500 trying to modify a user role in Continuum (vmbuild1) 2008-05-08 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1525 [INFRA-1630] Continuum web interface very slow; sometimes unusably so 2008-05-28 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1630 CVS (1) [INFRA-1672] Import missing branches from CVS into SVN 2008-07-08 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1672 DNS (1) [INFRA-1580] transfer of maven.org domain to the ASF 2008-04-10 - Joe Schaefer - Task http://issues.apache.org/jira/browse/INFRA-1580 Hudson (1) [INFRA-1665] odd ALT text on weather icons on Hudson front page 2008-07-03 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1665 JIRA (4) [INFRA-813] Import Jira projects into the main Jira 2007-09-16 - Unassigned - Wish http://issues.apache.org/jira/browse/INFRA-813 [INFRA-1409] Create JIRA runbook 2007-11-29 - Henri Yandell - Task http://issues.apache.org/jira/browse/INFRA-1409 [INFRA-1545] Bugzilla Id: links no longer work 2008-06-25 - Henri Yandell - Bug http://issues.apache.org/jira/browse/INFRA-1545 [INFRA-1656] Improvement to JIRA attachment handling - allow sorting by date 2008-06-26 - Unassigned - Improvement http://issues.apache.org/jira/browse/INFRA-1656 Mail (qmail) (3) [INFRA-917] [email protected] online archives are broken 2008-01-17 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-917 [INFRA-1410] Better filter out of office reply 2008-04-09 - Unassigned - Improvement http://issues.apache.org/jira/browse/INFRA-1410 [INFRA-1640] Please review spam filter, seems to strict 2008-06-09 - Unassigned - Wish http://issues.apache.org/jira/browse/INFRA-1640 Mail Archives (3) [INFRA-1062] Remove JIRA comment spam from archives 2007-07-11 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1062 [INFRA-1639] apachecon-planners-2007-asia archiving all going to "200705 2008-06-16 - Brett Porter - Bug http://issues.apache.org/jira/browse/INFRA-1639 [INFRA-1663] Tuscany archives were not migrated as part of TLP migration 2008-06-25 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1663 Mailing Lists (3) [INFRA-1111] add some basic srs support to ezmlm / teach it how to automoderate commit lists 2008-01-17 - Joe Schaefer - New Feature http://issues.apache.org/jira/browse/INFRA-1111 [INFRA-1641] AV should be processed earlier for mailing lists 2008-06-09 - Unassigned - Improvement http://issues.apache.org/jira/browse/INFRA-1641 [INFRA-1667] [email protected] 2008-07-01 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1667 Mirrors (4) [INFRA-1609] New Apache Mirror 2008-06-09 - Gavin - New Feature http://issues.apache.org/jira/browse/INFRA-1609 [INFRA-1661] Leakage.org Apache Mirror Down 2008-06-25 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1661 [INFRA-1653] New french mirror 2008-06-27 - Unassigned - New Feature http://issues.apache.org/jira/browse/INFRA-1653 [INFRA-1671] New Official Country Mirror 2008-07-08 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1671 MoinMoin (1) [INFRA-1110] upgrade moin installation to latest version 2008-06-10 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1110 Subversion (4) [INFRA-1284] add gump back to viewvc 2007-08-16 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1284 [INFRA-544] [PATCH] Taritup patch for XML Commons, Batik and FOP after the move to SVN 2007-10-10 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-544 [INFRA-1650] http://svn.apache.org/snapshots/*/ broken 2008-07-02 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1650 [INFRA-1672] Import missing branches from CVS into SVN 2008-07-08 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1672 TLP Admin (2) [INFRA-1586] Create new Apache CXF TLP 2008-06-16 - Joe Schaefer - Task http://issues.apache.org/jira/browse/INFRA-1586 [INFRA-1563] Apache Archiva TLP Setup 2008-06-16 - Joe Schaefer - Task http://issues.apache.org/jira/browse/INFRA-1563 Website (1) [INFRA-1622] Bad link on https://issues.apache.org/ 2008-07-08 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1622 Zones (2) [INFRA-1551] Update Apache HTTPD to include mod_proxy_ajp on the Lenya zone 2008-03-08 - Unassigned - Wish http://issues.apache.org/jira/browse/INFRA-1551 [INFRA-1638] /tmp on hudson.zones.apache.org isn't writable after reboot 2008-06-06 - Norman Maurer - Bug http://issues.apache.org/jira/browse/INFRA-1638 -- template: infra.vm From [email protected] Wed Jul 09 15:18:34 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4898 invoked from network); 9 Jul 2008 15:18:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jul 2008 15:18:33 -0000 Received: (qmail 47831 invoked by uid 500); 9 Jul 2008 15:18:33 -0000 Delivered-To: [email protected] Received: (qmail 47573 invoked by uid 500); 9 Jul 2008 15:18:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 47557 invoked by uid 99); 9 Jul 2008 15:18:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 08:18:32 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 15:17:39 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id AD1A5234C15B for <[email protected]>; Wed, 9 Jul 2008 08:17:31 -0700 (PDT) Message-ID: <1387723673.1215616651707.JavaMail.jira@brutus> Date: Wed, 9 Jul 2008 08:17:31 -0700 (PDT) From: "Henning Schmiedehausen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1673) Create infrastructure for Empire-db podling MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Create infrastructure for Empire-db podling ------------------------------------------- Key: INFRA-1673 URL: https://issues.apache.org/jira/browse/INFRA-1673 Project: Infrastructure Issue Type: Task Security Level: public (Regular issues) Reporter: Henning Schmiedehausen Empire-db has been accepted into incubation (see http://markmail.org/message/vsesl6r3x7v6nqfa for vote thread) and now needs its infrastructure set up. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jul 09 15:19:55 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5800 invoked from network); 9 Jul 2008 15:19:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jul 2008 15:19:53 -0000 Received: (qmail 50319 invoked by uid 500); 9 Jul 2008 15:19:53 -0000 Delivered-To: [email protected] Received: (qmail 50085 invoked by uid 500); 9 Jul 2008 15:19:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 50074 invoked by uid 99); 9 Jul 2008 15:19:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 08:19:52 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 15:19:09 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id AE01B234C15B for <[email protected]>; Wed, 9 Jul 2008 08:19:31 -0700 (PDT) Message-ID: <244705259.1215616771710.JavaMail.jira@brutus> Date: Wed, 9 Jul 2008 08:19:31 -0700 (PDT) From: "Henning Schmiedehausen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1674) Create empire-db mailing lists MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Create empire-db mailing lists ------------------------------ Key: INFRA-1674 URL: https://issues.apache.org/jira/browse/INFRA-1674 Project: Infrastructure Issue Type: Sub-task Security Level: public (Regular issues) Reporter: Henning Schmiedehausen Please set up [email protected] [email protected] [email protected] [email protected] Please add me ([email protected].) as moderator. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jul 09 15:22:34 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7838 invoked from network); 9 Jul 2008 15:22:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jul 2008 15:22:32 -0000 Received: (qmail 57770 invoked by uid 500); 9 Jul 2008 15:22:24 -0000 Delivered-To: [email protected] Received: (qmail 57503 invoked by uid 500); 9 Jul 2008 15:22:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 57471 invoked by uid 99); 9 Jul 2008 15:22:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 08:22:23 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 15:21:39 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id ABF80234C15F for <[email protected]>; Wed, 9 Jul 2008 08:21:31 -0700 (PDT) Message-ID: <678518234.1215616891703.JavaMail.jira@brutus> Date: Wed, 9 Jul 2008 08:21:31 -0700 (PDT) From: "Henning Schmiedehausen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1675) Create empire-db SVN repository MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Create empire-db SVN repository ------------------------------- Key: INFRA-1675 URL: https://issues.apache.org/jira/browse/INFRA-1675 Project: Infrastructure Issue Type: Sub-task Security Level: public (Regular issues) Components: Subversion Reporter: Henning Schmiedehausen please create /incubator/empire-db as SVN repository for the Empire-db podling. Please give initial access to henning, tfischer and dashorst (mentors) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jul 09 15:24:28 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8810 invoked from network); 9 Jul 2008 15:24:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jul 2008 15:24:24 -0000 Received: (qmail 61832 invoked by uid 500); 9 Jul 2008 15:24:24 -0000 Delivered-To: [email protected] Received: (qmail 61539 invoked by uid 500); 9 Jul 2008 15:24:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 61527 invoked by uid 99); 9 Jul 2008 15:24:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 08:24:23 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 15:23:39 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id F1603234C15B for <[email protected]>; Wed, 9 Jul 2008 08:23:31 -0700 (PDT) Message-ID: <2021743033.1215617011987.JavaMail.jira@brutus> Date: Wed, 9 Jul 2008 08:23:31 -0700 (PDT) From: "Henning Schmiedehausen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1676) Request empire-db accounts MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Request empire-db accounts -------------------------- Key: INFRA-1676 URL: https://issues.apache.org/jira/browse/INFRA-1676 Project: Infrastructure Issue Type: Sub-task Security Level: public (Regular issues) Reporter: Henning Schmiedehausen Assignee: Henning Schmiedehausen request empire-db committer accounts as soon as all CLAs are recorded: Rainer D=C3=B6bele: doebele J=C3=B6rg Reiher:=20 Manuel Gamerdinger: Matthew Bond: --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jul 09 15:26:26 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10082 invoked from network); 9 Jul 2008 15:26:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jul 2008 15:26:25 -0000 Received: (qmail 65113 invoked by uid 500); 9 Jul 2008 15:26:25 -0000 Delivered-To: [email protected] Received: (qmail 64821 invoked by uid 500); 9 Jul 2008 15:26:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 64500 invoked by uid 99); 9 Jul 2008 15:26:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 08:26:22 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 15:25:39 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B104C234C15C for <[email protected]>; Wed, 9 Jul 2008 08:25:31 -0700 (PDT) Message-ID: <1751556909.1215617131723.JavaMail.jira@brutus> Date: Wed, 9 Jul 2008 08:25:31 -0700 (PDT) From: "Henning Schmiedehausen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (INFRA-1674) Create empire-db mailing lists In-Reply-To: <244705259.1215616771710.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henning Schmiedehausen updated INFRA-1674: ------------------------------------------ Component/s: Mailing Lists > Create empire-db mailing lists > ------------------------------ > > Key: INFRA-1674 > URL: https://issues.apache.org/jira/browse/INFRA-1674 > Project: Infrastructure > Issue Type: Sub-task > Security Level: public(Regular issues) > Components: Mailing Lists > Reporter: Henning Schmiedehausen > > Please set up > [email protected] > [email protected] > [email protected] > [email protected] > Please add me ([email protected].) as moderator. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jul 09 15:27:55 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12329 invoked from network); 9 Jul 2008 15:27:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jul 2008 15:27:54 -0000 Received: (qmail 69513 invoked by uid 500); 9 Jul 2008 15:27:53 -0000 Delivered-To: [email protected] Received: (qmail 69231 invoked by uid 500); 9 Jul 2008 15:27:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 69211 invoked by uid 99); 9 Jul 2008 15:27:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 08:27:52 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 15:27:09 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B64CB234C15B for <[email protected]>; Wed, 9 Jul 2008 08:27:31 -0700 (PDT) Message-ID: <1279847116.1215617251745.JavaMail.jira@brutus> Date: Wed, 9 Jul 2008 08:27:31 -0700 (PDT) From: "Henning Schmiedehausen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1677) Create empire-db JIRA category MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Create empire-db JIRA category ------------------------------ Key: INFRA-1677 URL: https://issues.apache.org/jira/browse/INFRA-1677 Project: Infrastructure Issue Type: Sub-task Security Level: public (Regular issues) Reporter: Henning Schmiedehausen Please create a new JIRA subcategory 'EMPIRE-DB' for the Empire-db project. Please add henning, tfischer and dashorst as admins for this category. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jul 09 15:30:05 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13728 invoked from network); 9 Jul 2008 15:30:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jul 2008 15:30:03 -0000 Received: (qmail 72719 invoked by uid 500); 9 Jul 2008 15:30:03 -0000 Delivered-To: [email protected] Received: (qmail 72459 invoked by uid 500); 9 Jul 2008 15:30:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 72443 invoked by uid 99); 9 Jul 2008 15:30:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 08:30:03 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 15:29:09 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B224B234C15D for <[email protected]>; Wed, 9 Jul 2008 08:29:31 -0700 (PDT) Message-ID: <330.738.6477.1215617371728.JavaMail.jira@brutus> Date: Wed, 9 Jul 2008 08:29:31 -0700 (PDT) From: "Henning Schmiedehausen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (INFRA-1673) Create infrastructure for Empire-db podling In-Reply-To: <1387723673.1215616651707.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henning Schmiedehausen updated INFRA-1673: ------------------------------------------ Description: Empire-db has been accepted into incubation (see http://markmail.org/message/4ariqdyozkcjkyhu for vote thread) and now needs its infrastructure set up. (was: Empire-db has been accepted into incubation (see http://markmail.org/message/vsesl6r3x7v6nqfa for vote thread) and now needs its infrastructure set up.) > Create infrastructure for Empire-db podling > ------------------------------------------- > > Key: INFRA-1673 > URL: https://issues.apache.org/jira/browse/INFRA-1673 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Reporter: Henning Schmiedehausen > > Empire-db has been accepted into incubation (see http://markmail.org/message/4ariqdyozkcjkyhu for vote thread) and now needs its infrastructure set up. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 10 15:05:30 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3088 invoked from network); 10 Jul 2008 15:05:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Jul 2008 15:05:28 -0000 Received: (qmail 74863 invoked by uid 500); 10 Jul 2008 15:05:24 -0000 Delivered-To: [email protected] Received: (qmail 74636 invoked by uid 500); 10 Jul 2008 15:05:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74573 invoked by uid 99); 10 Jul 2008 15:05:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jul 2008 08:05:23 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jul 2008 15:04:39 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 3D396234C163 for <[email protected]>; Thu, 10 Jul 2008 08:04:32 -0700 (PDT) Message-ID: <426112372.1215702272249.JavaMail.jira@brutus> Date: Thu, 10 Jul 2008 08:04:32 -0700 (PDT) From: "Henning Schmiedehausen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1676) Request empire-db accounts In-Reply-To: <2021743033.1215617011987.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1676?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1261= 2523#action_12612523 ]=20 Henning Schmiedehausen commented on INFRA-1676: ----------------------------------------------- CLA for Rainer D=C3=B6bele received (notinavail:Rainer Doebele:Rainer Dobel= e:[email protected]:Signed CLA;rainer-dobele) CLA for Mattew Bond received (notinavail:David Matthew Bond:David Matthew B= ond:[email protected]:Signed CLA;david-matthew-bond) > Request empire-db accounts > -------------------------- > > Key: INFRA-1676 > URL: https://issues.apache.org/jira/browse/INFRA-1676 > Project: Infrastructure > Issue Type: Sub-task > Security Level: public(Regular issues)=20 > Reporter: Henning Schmiedehausen > Assignee: Henning Schmiedehausen > > request empire-db committer accounts as soon as all CLAs are recorded: > Rainer D=C3=B6bele: doebele > J=C3=B6rg Reiher:=20 > Manuel Gamerdinger: > Matthew Bond: --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 10 15:07:25 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9360 invoked from network); 10 Jul 2008 15:07:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Jul 2008 15:07:24 -0000 Received: (qmail 80275 invoked by uid 500); 10 Jul 2008 15:07:24 -0000 Delivered-To: [email protected] Received: (qmail 80029 invoked by uid 500); 10 Jul 2008 15:07:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 80018 invoked by uid 99); 10 Jul 2008 15:07:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jul 2008 08:07:24 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jul 2008 15:06:40 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 7D2F3234C162 for <[email protected]>; Thu, 10 Jul 2008 08:06:33 -0700 (PDT) Message-ID: <388050998.1215702393511.JavaMail.jira@brutus> Date: Thu, 10 Jul 2008 08:06:33 -0700 (PDT) From: "Henning Schmiedehausen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1678) Import code into Subversion repository MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Import code into Subversion repository -------------------------------------- Key: INFRA-1678 URL: https://issues.apache.org/jira/browse/INFRA-1678 Project: Infrastructure Issue Type: Sub-task Security Level: public (Regular issues) Components: Subversion Reporter: Henning Schmiedehausen Software grant has been received (from grants.txt) Empire-db Empire-db (relational data persistence component), Empire-struts2-extentions (presentation layer integration library for the struts2 web application framework) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jul 11 07:24:24 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42143 invoked from network); 11 Jul 2008 07:24:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Jul 2008 07:24:23 -0000 Received: (qmail 21215 invoked by uid 500); 11 Jul 2008 07:24:23 -0000 Delivered-To: [email protected] Received: (qmail 20912 invoked by uid 500); 11 Jul 2008 07:24:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 20901 invoked by uid 99); 11 Jul 2008 07:24:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jul 2008 00:24:22 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jul 2008 07:23:39 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D2BDA234C166 for <[email protected]>; Fri, 11 Jul 2008 00:23:31 -0700 (PDT) Message-ID: <1888633145.1215761011862.JavaMail.jira@brutus> Date: Fri, 11 Jul 2008 00:23:31 -0700 (PDT) From: "Norman Maurer (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (INFRA-1650) http://svn.apache.org/snapshots/*/ broken In-Reply-To: <2070280625.1213276365102.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Norman Maurer reassigned INFRA-1650: ------------------------------------ Assignee: Norman Maurer > http://svn.apache.org/snapshots/*/ broken > ----------------------------------------- > > Key: INFRA-1650 > URL: https://issues.apache.org/jira/browse/INFRA-1650 > Project: Infrastructure > Issue Type: Bug > Security Level: public(Regular issues) > Components: Subversion > Reporter: Justin Mason > Assignee: Norman Maurer > > hi guys -- > we previously had automated SVN snapshots in this dir, but no more. could someone look into why they're no longer generated? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jul 11 07:42:25 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49351 invoked from network); 11 Jul 2008 07:42:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Jul 2008 07:42:23 -0000 Received: (qmail 45187 invoked by uid 500); 11 Jul 2008 07:42:23 -0000 Delivered-To: [email protected] Received: (qmail 44932 invoked by uid 500); 11 Jul 2008 07:42:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 44914 invoked by uid 99); 11 Jul 2008 07:42:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jul 2008 00:42:22 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jul 2008 07:41:38 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B19AE234C16B for <[email protected]>; Fri, 11 Jul 2008 00:41:31 -0700 (PDT) Message-ID: <737368157.1215762091726.JavaMail.jira@brutus> Date: Fri, 11 Jul 2008 00:41:31 -0700 (PDT) From: "Norman Maurer (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (INFRA-1650) http://svn.apache.org/snapshots/*/ broken In-Reply-To: <2070280625.1213276365102.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Norman Maurer resolved INFRA-1650. ---------------------------------- Resolution: Fixed script fixed. The snapshots get generated at the moment. So all should be in place some hours later today.. > http://svn.apache.org/snapshots/*/ broken > ----------------------------------------- > > Key: INFRA-1650 > URL: https://issues.apache.org/jira/browse/INFRA-1650 > Project: Infrastructure > Issue Type: Bug > Security Level: public(Regular issues) > Components: Subversion > Reporter: Justin Mason > Assignee: Norman Maurer > > hi guys -- > we previously had automated SVN snapshots in this dir, but no more. could someone look into why they're no longer generated? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jul 11 08:26:57 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61938 invoked from network); 11 Jul 2008 08:26:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Jul 2008 08:26:55 -0000 Received: (qmail 98111 invoked by uid 500); 11 Jul 2008 08:26:54 -0000 Delivered-To: [email protected] Received: (qmail 97860 invoked by uid 500); 11 Jul 2008 08:26:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 97845 invoked by uid 99); 11 Jul 2008 08:26:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jul 2008 01:26:54 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jul 2008 08:26:10 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 436A7234C166 for <[email protected]>; Fri, 11 Jul 2008 01:26:33 -0700 (PDT) Message-ID: <714053843.1215764793275.JavaMail.jira@brutus> Date: Fri, 11 Jul 2008 01:26:33 -0700 (PDT) From: "Justin Mason (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1650) http://svn.apache.org/snapshots/*/ broken In-Reply-To: <2070280625.1213276365102.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612804#action_12612804 ] Justin Mason commented on INFRA-1650: ------------------------------------- great! thanks Norman. > http://svn.apache.org/snapshots/*/ broken > ----------------------------------------- > > Key: INFRA-1650 > URL: https://issues.apache.org/jira/browse/INFRA-1650 > Project: Infrastructure > Issue Type: Bug > Security Level: public(Regular issues) > Components: Subversion > Reporter: Justin Mason > Assignee: Norman Maurer > > hi guys -- > we previously had automated SVN snapshots in this dir, but no more. could someone look into why they're no longer generated? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jul 11 12:14:56 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22061 invoked from network); 11 Jul 2008 12:14:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Jul 2008 12:14:54 -0000 Received: (qmail 50347 invoked by uid 500); 11 Jul 2008 12:14:53 -0000 Delivered-To: [email protected] Received: (qmail 50098 invoked by uid 500); 11 Jul 2008 12:14:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 50087 invoked by uid 99); 11 Jul 2008 12:14:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jul 2008 05:14:52 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jul 2008 12:14:09 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C3BC4234C16C for <[email protected]>; Fri, 11 Jul 2008 05:14:31 -0700 (PDT) Message-ID: <1177588085.1215778471800.JavaMail.jira@brutus> Date: Fri, 11 Jul 2008 05:14:31 -0700 (PDT) From: "Sebb (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (INFRA-1650) http://svn.apache.org/snapshots/*/ broken In-Reply-To: <2070280625.1213276365102.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sebb updated INFRA-1650: ------------------------ Attachment: taritup.patch Please could you apply the patch to taritup? It replaces jakarta-slide (which is retired) with jakarta-jmeter. Thanks! > http://svn.apache.org/snapshots/*/ broken > ----------------------------------------- > > Key: INFRA-1650 > URL: https://issues.apache.org/jira/browse/INFRA-1650 > Project: Infrastructure > Issue Type: Bug > Security Level: public(Regular issues) > Components: Subversion > Reporter: Justin Mason > Assignee: Norman Maurer > Attachments: taritup.patch > > > hi guys -- > we previously had automated SVN snapshots in this dir, but no more. could someone look into why they're no longer generated? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Jul 12 21:06:36 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26220 invoked from network); 12 Jul 2008 21:06:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jul 2008 21:06:32 -0000 Received: (qmail 37741 invoked by uid 500); 12 Jul 2008 21:06:31 -0000 Delivered-To: [email protected] Received: (qmail 37539 invoked by uid 500); 12 Jul 2008 21:06:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 37528 invoked by uid 99); 12 Jul 2008 21:06:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Jul 2008 14:06:30 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Jul 2008 21:05:38 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C5338234C16F for <[email protected]>; Sat, 12 Jul 2008 14:05:31 -0700 (PDT) Message-ID: <1223606372.1215896731806.JavaMail.jira@brutus> Date: Sat, 12 Jul 2008 14:05:31 -0700 (PDT) From: "Andre (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1679) New Mirror MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org New Mirror ----------- Key: INFRA-1679 URL: https://issues.apache.org/jira/browse/INFRA-1679 Project: Infrastructure Issue Type: New Feature Security Level: public (Regular issues) Components: Mirrors Reporter: Andre Priority: Minor Hi, this is a new mirror : * URL of mirror : http://apache.inetbridge.net/ * Country where the mirror is located : Texas, US * Contact email address : [email protected] * Update frequency : every 24 hours * Rsync repository used : apache-dist * Approximate bandwidth : 5Mbps * I have configured my HTTP server as requested : yes * I have subscribed to the mirror maintainers mailing list : yes -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jul 14 14:52:56 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86830 invoked from network); 14 Jul 2008 14:52:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jul 2008 14:52:54 -0000 Received: (qmail 26911 invoked by uid 500); 14 Jul 2008 14:52:53 -0000 Delivered-To: [email protected] Received: (qmail 26657 invoked by uid 500); 14 Jul 2008 14:52:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26641 invoked by uid 99); 14 Jul 2008 14:52:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 07:52:52 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 14:52:07 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id CEC16234C171 for <[email protected]>; Mon, 14 Jul 2008 07:52:31 -0700 (PDT) Message-ID: <1147316235.1216047151845.JavaMail.jira@brutus> Date: Mon, 14 Jul 2008 07:52:31 -0700 (PDT) From: "Norman Maurer (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (INFRA-1638) /tmp on hudson.zones.apache.org isn't writable after reboot In-Reply-To: <1296181210.1212552045141.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Norman Maurer resolved INFRA-1638. ---------------------------------- Resolution: Fixed The perms should now persist on reboot.. Have fun. > /tmp on hudson.zones.apache.org isn't writable after reboot > ----------------------------------------------------------- > > Key: INFRA-1638 > URL: https://issues.apache.org/jira/browse/INFRA-1638 > Project: Infrastructure > Issue Type: Bug > Security Level: public(Regular issues) > Components: Zones > Reporter: Nigel Daley > Assignee: Norman Maurer > > Whenever hudson.zones.apache.org reboots, /tmp is 755. > -bash-3.00$ ls -lad /tmp > drwxr-xr-x 3 root root 259 Jun 3 18:34 /tmp > This has been going on a while. I usually just fix it myself, but that isn't sustainable. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jul 14 15:29:00 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24918 invoked from network); 14 Jul 2008 15:28:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jul 2008 15:28:58 -0000 Received: (qmail 84593 invoked by uid 500); 14 Jul 2008 15:28:53 -0000 Delivered-To: [email protected] Received: (qmail 84372 invoked by uid 500); 14 Jul 2008 15:28:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84355 invoked by uid 99); 14 Jul 2008 15:28:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 08:28:52 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 15:28:07 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A9898234C16C for <[email protected]>; Mon, 14 Jul 2008 08:28:31 -0700 (PDT) Message-ID: <215725559.1216049311693.JavaMail.jira@brutus> Date: Mon, 14 Jul 2008 08:28:31 -0700 (PDT) From: "Henning Schmiedehausen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1676) Request empire-db accounts In-Reply-To: <2021743033.1215617011987.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1676?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1261= 3344#action_12613344 ]=20 Henning Schmiedehausen commented on INFRA-1676: ----------------------------------------------- CLA for Manuel Gamerdinger received (notinavail:Manuel Gamerdinger:Manuel G= amerdinger:[email protected]:Signed CLA;manuel-gamerdinger) > Request empire-db accounts > -------------------------- > > Key: INFRA-1676 > URL: https://issues.apache.org/jira/browse/INFRA-1676 > Project: Infrastructure > Issue Type: Sub-task > Security Level: public(Regular issues)=20 > Reporter: Henning Schmiedehausen > Assignee: Henning Schmiedehausen > > request empire-db committer accounts as soon as all CLAs are recorded: > Rainer D=C3=B6bele: doebele > J=C3=B6rg Reiher:=20 > Manuel Gamerdinger: > Matthew Bond: --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jul 14 15:47:35 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41160 invoked from network); 14 Jul 2008 15:47:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jul 2008 15:47:32 -0000 Received: (qmail 6468 invoked by uid 500); 14 Jul 2008 15:47:32 -0000 Delivered-To: [email protected] Received: (qmail 6236 invoked by uid 500); 14 Jul 2008 15:47:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6225 invoked by uid 99); 14 Jul 2008 15:47:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 08:47:31 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 15:46:38 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 459F8234C171 for <[email protected]>; Mon, 14 Jul 2008 08:46:32 -0700 (PDT) Message-ID: <867216657.1216050392284.JavaMail.jira@brutus> Date: Mon, 14 Jul 2008 08:46:32 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (INFRA-1679) New Mirror In-Reply-To: <1223606372.1215896731806.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gavin reassigned INFRA-1679: ---------------------------- Assignee: Gavin > New Mirror > ----------- > > Key: INFRA-1679 > URL: https://issues.apache.org/jira/browse/INFRA-1679 > Project: Infrastructure > Issue Type: New Feature > Security Level: public(Regular issues) > Components: Mirrors > Reporter: Andre > Assignee: Gavin > Priority: Minor > > Hi, this is a new mirror : > * URL of mirror : http://apache.inetbridge.net/ > * Country where the mirror is located : Texas, US > * Contact email address : [email protected] > * Update frequency : every 24 hours > * Rsync repository used : apache-dist > * Approximate bandwidth : 5Mbps > * I have configured my HTTP server as requested : yes > * I have subscribed to the mirror maintainers mailing list : yes -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jul 14 15:49:34 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43243 invoked from network); 14 Jul 2008 15:49:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jul 2008 15:49:32 -0000 Received: (qmail 10060 invoked by uid 500); 14 Jul 2008 15:49:32 -0000 Delivered-To: [email protected] Received: (qmail 9737 invoked by uid 500); 14 Jul 2008 15:49:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 9726 invoked by uid 99); 14 Jul 2008 15:49:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 08:49:31 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 15:48:38 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 8ACA5234C171 for <[email protected]>; Mon, 14 Jul 2008 08:48:32 -0700 (PDT) Message-ID: <1984810120.1216050512567.JavaMail.jira@brutus> Date: Mon, 14 Jul 2008 08:48:32 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (INFRA-1609) New Apache Mirror In-Reply-To: <187649535.1210391515641.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gavin closed INFRA-1609. ------------------------ Resolution: Fixed Image not added , too big, but rest is complete. > New Apache Mirror > ----------------- > > Key: INFRA-1609 > URL: https://issues.apache.org/jira/browse/INFRA-1609 > Project: Infrastructure > Issue Type: New Feature > Security Level: public(Regular issues) > Components: Mirrors > Reporter: Dave Lien > Assignee: Gavin > > * URL of mirror > http://mirror.its.uidaho.edu/apache > * Country where the mirror is located > United States > * Contact email address > [email protected] > * Update frequency > 2x daily > * Rsync repository used > apache-dist > * Approximate bandwidth > 100Mb/s commercial - 1Gb/s I2/NLR > * I have configured my HTTP server as requested (yes/no) > yes > * I have subscribed to the mirror maintainers mailing list (yes/no) > yes > Logo > http://www.uihome.uidaho.edu/uihome/images/UI_logo.gif > URL > http://www.uidaho.edu -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jul 14 15:51:03 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44769 invoked from network); 14 Jul 2008 15:51:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jul 2008 15:51:02 -0000 Received: (qmail 11750 invoked by uid 500); 14 Jul 2008 15:51:02 -0000 Delivered-To: [email protected] Received: (qmail 11492 invoked by uid 500); 14 Jul 2008 15:51:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 11481 invoked by uid 99); 14 Jul 2008 15:51:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 08:51:01 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 15:50:07 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B60B5234C174 for <[email protected]>; Mon, 14 Jul 2008 08:50:31 -0700 (PDT) Message-ID: <807571622.1216050631744.JavaMail.jira@brutus> Date: Mon, 14 Jul 2008 08:50:31 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (INFRA-1653) New french mirror In-Reply-To: <1368284642.1213377705086.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gavin reassigned INFRA-1653: ---------------------------- Assignee: Gavin > New french mirror > ----------------- > > Key: INFRA-1653 > URL: https://issues.apache.org/jira/browse/INFRA-1653 > Project: Infrastructure > Issue Type: New Feature > Security Level: public(Regular issues) > Components: Mirrors > Reporter: Marwan KHELIF > Assignee: Gavin > > Hi, here is a new mirror : > * URL of mirror : http://mirror.mkhelif.fr/apache/ > * Country where the mirror is located : france > * Contact email address : [email protected] > * Update frequency : every 12 hours > * Rsync repository used : rsync.eu.apache.org > * Approximate bandwidth : 100Mbps > * I have configured my HTTP server as requested : yes > * I have subscribed to the mirror maintainers mailing list : yes > Thanks to update the mirrors list. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jul 14 15:51:34 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45704 invoked from network); 14 Jul 2008 15:51:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jul 2008 15:51:32 -0000 Received: (qmail 14607 invoked by uid 500); 14 Jul 2008 15:51:31 -0000 Delivered-To: [email protected] Received: (qmail 14360 invoked by uid 500); 14 Jul 2008 15:51:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 14349 invoked by uid 99); 14 Jul 2008 15:51:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 08:51:30 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 15:50:37 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id BABAB234C178 for <[email protected]>; Mon, 14 Jul 2008 08:50:31 -0700 (PDT) Message-ID: <547127609.1216050631763.JavaMail.jira@brutus> Date: Mon, 14 Jul 2008 08:50:31 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1653) New french mirror In-Reply-To: <1368284642.1213377705086.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613354#action_12613354 ] Gavin commented on INFRA-1653: ------------------------------ Looking good now , thanks, will add over next day or so. > New french mirror > ----------------- > > Key: INFRA-1653 > URL: https://issues.apache.org/jira/browse/INFRA-1653 > Project: Infrastructure > Issue Type: New Feature > Security Level: public(Regular issues) > Components: Mirrors > Reporter: Marwan KHELIF > Assignee: Gavin > > Hi, here is a new mirror : > * URL of mirror : http://mirror.mkhelif.fr/apache/ > * Country where the mirror is located : france > * Contact email address : [email protected] > * Update frequency : every 12 hours > * Rsync repository used : rsync.eu.apache.org > * Approximate bandwidth : 100Mbps > * I have configured my HTTP server as requested : yes > * I have subscribed to the mirror maintainers mailing list : yes > Thanks to update the mirrors list. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jul 14 15:51:37 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45854 invoked from network); 14 Jul 2008 15:51:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jul 2008 15:51:33 -0000 Received: (qmail 14908 invoked by uid 500); 14 Jul 2008 15:51:31 -0000 Delivered-To: [email protected] Received: (qmail 14668 invoked by uid 500); 14 Jul 2008 15:51:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 14639 invoked by uid 99); 14 Jul 2008 15:51:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 08:51:31 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 15:50:38 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id AFCFA234C171 for <[email protected]>; Mon, 14 Jul 2008 08:50:31 -0700 (PDT) Message-ID: <419796949.1216050631719.JavaMail.jira@brutus> Date: Mon, 14 Jul 2008 08:50:31 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (INFRA-1671) New Official Country Mirror In-Reply-To: <291428016.1215503975488.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gavin reassigned INFRA-1671: ---------------------------- Assignee: Gavin > New Official Country Mirror > --------------------------- > > Key: INFRA-1671 > URL: https://issues.apache.org/jira/browse/INFRA-1671 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Mirrors > Environment: FreeBSD 7.0-STABLE > Reporter: Tigran Afrikyan > Assignee: Gavin > > * URL of mirror : http://apache.mirrors.adc.am > * Country where the mirror is located : Yerevan, Armenia > * Contact email address: [email protected] > * Update frequency : daily > * Rsync repository used : rsync.eu.apache.org > * Approximate bandwidth: 100 Mbit/s > * I have configured my HTTP server as requested (yes/no) : yes > * I have subscribed to the mirror maintainers mailing list (yes/no) : yes -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jul 14 15:55:06 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49678 invoked from network); 14 Jul 2008 15:55:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jul 2008 15:55:04 -0000 Received: (qmail 30418 invoked by uid 500); 14 Jul 2008 15:55:03 -0000 Delivered-To: [email protected] Received: (qmail 30153 invoked by uid 500); 14 Jul 2008 15:55:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30141 invoked by uid 99); 14 Jul 2008 15:55:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 08:55:03 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 15:54:10 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 41CF2234C178 for <[email protected]>; Mon, 14 Jul 2008 08:54:34 -0700 (PDT) Message-ID: <258507542.1216050874268.JavaMail.jira@brutus> Date: Mon, 14 Jul 2008 08:54:34 -0700 (PDT) From: "Dave Lien (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1609) New Apache Mirror In-Reply-To: <187649535.1210391515641.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613356#action_12613356 ] Dave Lien commented on INFRA-1609: ---------------------------------- Let's skip the image, it's not a big deal. Dave -- Dave Lien Networks and Systems Manager Information Technology Services University of Idaho 330.738.6477 davelien <at> uidaho.edu > New Apache Mirror > ----------------- > > Key: INFRA-1609 > URL: https://issues.apache.org/jira/browse/INFRA-1609 > Project: Infrastructure > Issue Type: New Feature > Security Level: public(Regular issues) > Components: Mirrors > Reporter: Dave Lien > Assignee: Gavin > > * URL of mirror > http://mirror.its.uidaho.edu/apache > * Country where the mirror is located > United States > * Contact email address > [email protected] > * Update frequency > 2x daily > * Rsync repository used > apache-dist > * Approximate bandwidth > 100Mb/s commercial - 1Gb/s I2/NLR > * I have configured my HTTP server as requested (yes/no) > yes > * I have subscribed to the mirror maintainers mailing list (yes/no) > yes > Logo > http://www.uihome.uidaho.edu/uihome/images/UI_logo.gif > URL > http://www.uidaho.edu -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jul 14 15:55:35 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50584 invoked from network); 14 Jul 2008 15:55:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jul 2008 15:55:34 -0000 Received: (qmail 31498 invoked by uid 500); 14 Jul 2008 15:55:33 -0000 Delivered-To: [email protected] Received: (qmail 31245 invoked by uid 500); 14 Jul 2008 15:55:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31230 invoked by uid 99); 14 Jul 2008 15:55:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 08:55:33 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 15:54:40 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 35822234C171 for <[email protected]>; Mon, 14 Jul 2008 08:54:34 -0700 (PDT) Message-ID: <60936699.1216050874218.JavaMail.jira@brutus> Date: Mon, 14 Jul 2008 08:54:34 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (INFRA-1656) Improvement to JIRA attachment handling - allow sorting by date In-Reply-To: <1498140050.1213749885200.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gavin reassigned INFRA-1656: ---------------------------- Assignee: Gavin > Improvement to JIRA attachment handling - allow sorting by date > --------------------------------------------------------------- > > Key: INFRA-1656 > URL: https://issues.apache.org/jira/browse/INFRA-1656 > Project: Infrastructure > Issue Type: Improvement > Security Level: public(Regular issues) > Components: JIRA > Reporter: Sebb > Assignee: Gavin > > Just noticed what could be a very useful patch which goes some way to fixing JIRA's poor attachment handling: > http://forum.atlassian.com/thread.jspa?threadID=26400 > [part of http://jira.atlassian.com/browse/JRA-1844] > This JSP replacement allows patches to be sorted by date, rather than only by name within date [email protected]. > Would it be possible to add this to the ASF JIRA instance(s)? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jul 15 06:34:03 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9204 invoked from network); 15 Jul 2008 06:34:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Jul 2008 06:34:02 -0000 Received: (qmail 57073 invoked by uid 500); 15 Jul 2008 06:34:01 -0000 Delivered-To: [email protected] Received: (qmail 56871 invoked by uid 500); 15 Jul 2008 06:34:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 56860 invoked by uid 99); 15 Jul 2008 06:34:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 23:34:01 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 06:33:08 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 5737C234C164 for <[email protected]>; Mon, 14 Jul 2008 23:33:32 -0700 (PDT) Message-ID: <35025244.1216103612355.JavaMail.jira@brutus> Date: Mon, 14 Jul 2008 23:33:32 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (INFRA-1653) New french mirror In-Reply-To: <1368284642.1213377705086.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gavin closed INFRA-1653. ------------------------ Resolution: Fixed Assignee: (was: Gavin) Added, thanks, will appear soon. > New french mirror > ----------------- > > Key: INFRA-1653 > URL: https://issues.apache.org/jira/browse/INFRA-1653 > Project: Infrastructure > Issue Type: New Feature > Security Level: public(Regular issues) > Components: Mirrors > Reporter: Marwan KHELIF > > Hi, here is a new mirror : > * URL of mirror : http://mirror.mkhelif.fr/apache/ > * Country where the mirror is located : france > * Contact email address : [email protected] > * Update frequency : every 12 hours > * Rsync repository used : rsync.eu.apache.org > * Approximate bandwidth : 100Mbps > * I have configured my HTTP server as requested : yes > * I have subscribed to the mirror maintainers mailing list : yes > Thanks to update the mirrors list. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jul 15 06:38:06 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11319 invoked from network); 15 Jul 2008 06:38:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Jul 2008 06:38:02 -0000 Received: (qmail 58508 invoked by uid 500); 15 Jul 2008 06:38:02 -0000 Delivered-To: [email protected] Received: (qmail 58232 invoked by uid 500); 15 Jul 2008 06:38:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58221 invoked by uid 99); 15 Jul 2008 06:38:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 23:38:01 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 06:37:07 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B8A8A234C164 for <[email protected]>; Mon, 14 Jul 2008 23:37:31 -0700 (PDT) Message-ID: <2115126083.1216103851755.JavaMail.jira@brutus> Date: Mon, 14 Jul 2008 23:37:31 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (INFRA-1671) New Official Country Mirror In-Reply-To: <291428016.1215503975488.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gavin closed INFRA-1671. ------------------------ Resolution: Fixed Assignee: (was: Gavin) Added, thanks, will appear soon. > New Official Country Mirror > --------------------------- > > Key: INFRA-1671 > URL: https://issues.apache.org/jira/browse/INFRA-1671 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Mirrors > Environment: FreeBSD 7.0-STABLE > Reporter: Tigran > > * URL of mirror : http://apache.mirrors.adc.am > * Country where the mirror is located : Yerevan, Armenia > * Contact email address: [email protected] > * Update frequency : daily > * Rsync repository used : rsync.eu.apache.org > * Approximate bandwidth: 100 Mbit/s > * I have configured my HTTP server as requested (yes/no) : yes > * I have subscribed to the mirror maintainers mailing list (yes/no) : yes -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jul 15 06:40:03 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12720 invoked from network); 15 Jul 2008 06:40:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Jul 2008 06:40:01 -0000 Received: (qmail 59560 invoked by uid 500); 15 Jul 2008 06:40:00 -0000 Delivered-To: [email protected] Received: (qmail 59345 invoked by uid 500); 15 Jul 2008 06:40:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 59334 invoked by uid 99); 15 Jul 2008 06:40:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 23:40:00 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 06:39:07 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B9830234C164 for <[email protected]>; Mon, 14 Jul 2008 23:39:31 -0700 (PDT) Message-ID: <1260507166.1216103971758.JavaMail.jira@brutus> Date: Mon, 14 Jul 2008 23:39:31 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (INFRA-1679) New Mirror In-Reply-To: <1223606372.1215896731806.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gavin closed INFRA-1679. ------------------------ Resolution: Fixed Assignee: (was: Gavin) Added, thanks. > New Mirror > ----------- > > Key: INFRA-1679 > URL: https://issues.apache.org/jira/browse/INFRA-1679 > Project: Infrastructure > Issue Type: New Feature > Security Level: public(Regular issues) > Components: Mirrors > Reporter: Andre > Priority: Minor > > Hi, this is a new mirror : > * URL of mirror : http://apache.inetbridge.net/ > * Country where the mirror is located : Texas, US > * Contact email address : [email protected] > * Update frequency : every 24 hours > * Rsync repository used : apache-dist > * Approximate bandwidth : 5Mbps > * I have configured my HTTP server as requested : yes > * I have subscribed to the mirror maintainers mailing list : yes -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jul 15 07:50:07 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47774 invoked from network); 15 Jul 2008 07:50:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Jul 2008 07:50:05 -0000 Received: (qmail 46148 invoked by uid 500); 15 Jul 2008 07:50:04 -0000 Delivered-To: [email protected] Received: (qmail 45832 invoked by uid 500); 15 Jul 2008 07:50:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 45821 invoked by uid 99); 15 Jul 2008 07:50:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 00:50:03 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 07:49:07 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D77EE234C164 for <[email protected]>; Tue, 15 Jul 2008 00:49:31 -0700 (PDT) Message-ID: <1710830520.1216108171881.JavaMail.jira@brutus> Date: Tue, 15 Jul 2008 00:49:31 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1622) Bad link on https://issues.apache.org/ In-Reply-To: <995921416.1211477275782.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613550#action_12613550 ] Gavin commented on INFRA-1622: ------------------------------ I hate leaving issues floating, so here I am again :) Ok, so currently we are redirecting to alpha.html - actually a good choice as it happens, waybackmachine shows me [1] that the new alpha.html is in fact the new version of resources.html. The content and layout is too similar to warrant the resurrection of resources.html. [1] - http://web.archive.org/web/20061102022051/http://projects.apache.org/indexes/resources.html So choices as far as I can see :- 1. Alter issues.apache.org to point to alpha.html (then remove temp fixes) 2. Alter issues.apache.org to point somewhere else - perhaps http://projects.apache.org/indexes/quick.html is a better choice ? Happy to do the deed, would like your opinion Sebb. > Bad link on https://issues.apache.org/ > -------------------------------------- > > Key: INFRA-1622 > URL: https://issues.apache.org/jira/browse/INFRA-1622 > Project: Infrastructure > Issue Type: Bug > Security Level: public(Regular issues) > Components: Website > Reporter: Matthieu Chase Heimer > Priority: Minor > > The first sentence on https://issues.apache.org/ links to a file that is zero bytes in size, http://projects.apache.org/indexes/resources.html. There is also another zero size file in the same location, http://projects.apache.org/indexes/project.html. > The link should probably go to: http://projects.apache.org/indexes/alpha.html unless the resources.html files is modified to have some content. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jul 15 08:07:54 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56338 invoked from network); 15 Jul 2008 08:07:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Jul 2008 08:07:53 -0000 Received: (qmail 75397 invoked by uid 500); 15 Jul 2008 08:07:53 -0000 Delivered-To: [email protected] Received: (qmail 75119 invoked by uid 500); 15 Jul 2008 08:07:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 75108 invoked by uid 99); 15 Jul 2008 08:07:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 01:07:52 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 08:07:08 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 0B693234C164 for <[email protected]>; Tue, 15 Jul 2008 01:07:32 -0700 (PDT) Message-ID: <1892526003.1216109252045.JavaMail.jira@brutus> Date: Tue, 15 Jul 2008 01:07:32 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1622) Bad link on https://issues.apache.org/ In-Reply-To: <995921416.1211477275782.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613552#action_12613552 ] Gavin commented on INFRA-1622: ------------------------------ Also need to check and correct other pages, http://apache.org/foundation/mailinglists.html has a link going to /resources.html also. > Bad link on https://issues.apache.org/ > -------------------------------------- > > Key: INFRA-1622 > URL: https://issues.apache.org/jira/browse/INFRA-1622 > Project: Infrastructure > Issue Type: Bug > Security Level: public(Regular issues) > Components: Website > Reporter: Matthieu Chase Heimer > Priority: Minor > > The first sentence on https://issues.apache.org/ links to a file that is zero bytes in size, http://projects.apache.org/indexes/resources.html. There is also another zero size file in the same location, http://projects.apache.org/indexes/project.html. > The link should probably go to: http://projects.apache.org/indexes/alpha.html unless the resources.html files is modified to have some content. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jul 15 10:22:28 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22216 invoked from network); 15 Jul 2008 10:22:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Jul 2008 10:22:26 -0000 Received: (qmail 75603 invoked by uid 500); 15 Jul 2008 10:22:25 -0000 Delivered-To: [email protected] Received: (qmail 75071 invoked by uid 500); 15 Jul 2008 10:22:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 75054 invoked by uid 99); 15 Jul 2008 10:22:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 03:22:23 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 10:21:38 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 4C92D234C16C for <[email protected]>; Tue, 15 Jul 2008 03:21:32 -0700 (PDT) Message-ID: <1384730230.1216117292312.JavaMail.jira@brutus> Date: Tue, 15 Jul 2008 03:21:32 -0700 (PDT) From: "Sebb (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1622) Bad link on https://issues.apache.org/ In-Reply-To: <995921416.1211477275782.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613574#action_12613574 ] Sebb commented on INFRA-1622: ----------------------------- I would prefer to see it linked to a page which is better suited to the purpose - alpha is rather a long page; might be better to have a condensed version. However this sort of question is best raised on site-dev. > Bad link on https://issues.apache.org/ > -------------------------------------- > > Key: INFRA-1622 > URL: https://issues.apache.org/jira/browse/INFRA-1622 > Project: Infrastructure > Issue Type: Bug > Security Level: public(Regular issues) > Components: Website > Reporter: Matthieu Chase Heimer > Priority: Minor > > The first sentence on https://issues.apache.org/ links to a file that is zero bytes in size, http://projects.apache.org/indexes/resources.html. There is also another zero size file in the same location, http://projects.apache.org/indexes/project.html. > The link should probably go to: http://projects.apache.org/indexes/alpha.html unless the resources.html files is modified to have some content. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jul 15 14:26:35 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55338 invoked from network); 15 Jul 2008 14:26:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Jul 2008 14:26:32 -0000 Received: (qmail 63606 invoked by uid 500); 15 Jul 2008 14:26:31 -0000 Delivered-To: [email protected] Received: (qmail 63360 invoked by uid 500); 15 Jul 2008 14:26:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 63349 invoked by uid 99); 15 Jul 2008 14:26:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 07:26:30 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 14:25:38 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C7F4D234C169 for <[email protected]>; Tue, 15 Jul 2008 07:25:31 -0700 (PDT) Message-ID: <1113317454.1216131931817.JavaMail.jira@brutus> Date: Tue, 15 Jul 2008 07:25:31 -0700 (PDT) From: "Tigran (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Reopened: (INFRA-1671) New Official Country Mirror In-Reply-To: <291428016.1215503975488.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tigran reopened INFRA-1671: --------------------------- Please also include our company logo here is the URL: http://www.adc.am/adc_logo_small.jpg > New Official Country Mirror > --------------------------- > > Key: INFRA-1671 > URL: https://issues.apache.org/jira/browse/INFRA-1671 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Mirrors > Environment: FreeBSD 7.0-STABLE > Reporter: Tigran > > * URL of mirror : http://apache.mirrors.adc.am > * Country where the mirror is located : Yerevan, Armenia > * Contact email address: [email protected] > * Update frequency : daily > * Rsync repository used : rsync.eu.apache.org > * Approximate bandwidth: 100 Mbit/s > * I have configured my HTTP server as requested (yes/no) : yes > * I have subscribed to the mirror maintainers mailing list (yes/no) : yes -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jul 16 02:32:42 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76664 invoked from network); 16 Jul 2008 02:32:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Jul 2008 02:32:39 -0000 Received: (qmail 33235 invoked by uid 500); 16 Jul 2008 02:32:39 -0000 Delivered-To: [email protected] Received: (qmail 32972 invoked by uid 500); 16 Jul 2008 02:32:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32960 invoked by uid 99); 16 Jul 2008 02:32:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 19:32:38 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 16 Jul 2008 02:31:43 +0000 Received: (qmail 76248 invoked by uid 1723); 16 Jul 2008 02:32:07 -0000 Date: 16 Jul 2008 02:32:02 -0000 Message-ID: <[email protected]> TO: [email protected] FROM: [email protected] SUBJECT: Infrastructure: Open Issues as of 2008-07-16 X-Virus-Checked: Checked by ClamAV on apache.org Infrastructure - Wednesday, July 16, 2008 Backups (1) [INFRA-1576] Deploy backup services on bia 2008-04-28 - Unassigned - New Feature http://issues.apache.org/jira/browse/INFRA-1576 ColoTasks (1) [INFRA-847] Fix fan failure in Helios 2008-03-28 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-847 Confluence (2) [INFRA-1315] AutoExported HTML pages have Confluence images still pointing to Confluence server. 2007-08-28 - Ted Husted - Improvement http://issues.apache.org/jira/browse/INFRA-1315 [INFRA-1338] Update Confluence to 2.6 when available 2008-04-09 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1338 Continuum (11) [INFRA-1322] set up an external database and backup regime 2007-08-20 - Unassigned - Improvement http://issues.apache.org/jira/browse/INFRA-1322 [INFRA-1328] migrate Commons nightlies to Continuum on vmbuild1 2007-08-29 - Phil Steitz - Task http://issues.apache.org/jira/browse/INFRA-1328 [INFRA-1343] setup robots.txt and/or other access rules to prevent bots from crawling Continuum pages 2007-08-29 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1343 [INFRA-1347] Some builds never finish 2007-09-03 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1347 [INFRA-1318] set up rsync on people.apache.org to retrieve builds from vmbuild1.apache.org 2007-09-04 - Unassigned - New Feature http://issues.apache.org/jira/browse/INFRA-1318 [INFRA-1325] monitor disk space usage on vmbuild 2007-09-04 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1325 [INFRA-1323] scripted clean up of Continuum local repository 2007-10-30 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1323 [INFRA-1514] adjust mail template to indicate where issues should be filed for the ASF 2008-02-07 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1514 [INFRA-1324] set up log rotation / clean up for VMBuild 2008-04-01 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1324 [INFRA-1525] HTTP ERROR: 500 trying to modify a user role in Continuum (vmbuild1) 2008-05-08 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1525 [INFRA-1630] Continuum web interface very slow; sometimes unusably so 2008-05-28 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1630 CVS (1) [INFRA-1672] Import missing branches from CVS into SVN 2008-07-08 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1672 DNS (1) [INFRA-1580] transfer of maven.org domain to the ASF 2008-04-10 - Joe Schaefer - Task http://issues.apache.org/jira/browse/INFRA-1580 Hudson (1) [INFRA-1665] odd ALT text on weather icons on Hudson front page 2008-07-03 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1665 JIRA (4) [INFRA-813] Import Jira projects into the main Jira 2007-09-16 - Unassigned - Wish http://issues.apache.org/jira/browse/INFRA-813 [INFRA-1409] Create JIRA runbook 2007-11-29 - Henri Yandell - Task http://issues.apache.org/jira/browse/INFRA-1409 [INFRA-1545] Bugzilla Id: links no longer work 2008-06-25 - Henri Yandell - Bug http://issues.apache.org/jira/browse/INFRA-1545 [INFRA-1656] Improvement to JIRA attachment handling - allow sorting by date 2008-07-14 - Gavin - Improvement http://issues.apache.org/jira/browse/INFRA-1656 Mail (qmail) (3) [INFRA-917] [email protected] online archives are broken 2008-01-17 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-917 [INFRA-1410] Better filter out of office reply 2008-04-09 - Unassigned - Improvement http://issues.apache.org/jira/browse/INFRA-1410 [INFRA-1640] Please review spam filter, seems to strict 2008-06-09 - Unassigned - Wish http://issues.apache.org/jira/browse/INFRA-1640 Mail Archives (3) [INFRA-1062] Remove JIRA comment spam from archives 2007-07-11 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1062 [INFRA-1639] apachecon-planners-2007-asia archiving all going to "200705 2008-06-16 - Brett Porter - Bug http://issues.apache.org/jira/browse/INFRA-1639 [INFRA-1663] Tuscany archives were not migrated as part of TLP migration 2008-06-25 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1663 Mailing Lists (4) [INFRA-1111] add some basic srs support to ezmlm / teach it how to automoderate commit lists 2008-01-17 - Joe Schaefer - New Feature http://issues.apache.org/jira/browse/INFRA-1111 [INFRA-1641] AV should be processed earlier for mailing lists 2008-06-09 - Unassigned - Improvement http://issues.apache.org/jira/browse/INFRA-1641 [INFRA-1667] [email protected] 2008-07-01 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1667 [INFRA-1674] Create empire-db mailing lists 2008-07-14 - Unassigned - Sub-task http://issues.apache.org/jira/browse/INFRA-1674 Mirrors (2) [INFRA-1661] Leakage.org Apache Mirror Down 2008-06-25 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1661 [INFRA-1671] New Official Country Mirror 2008-07-15 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1671 MoinMoin (1) [INFRA-1110] upgrade moin installation to latest version 2008-06-10 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1110 Subversion (5) [INFRA-1284] add gump back to viewvc 2007-08-16 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1284 [INFRA-544] [PATCH] Taritup patch for XML Commons, Batik and FOP after the move to SVN 2007-10-10 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-544 [INFRA-1672] Import missing branches from CVS into SVN 2008-07-08 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1672 [INFRA-1675] Create empire-db SVN repository 2008-07-10 - Unassigned - Sub-task http://issues.apache.org/jira/browse/INFRA-1675 [INFRA-1678] Import code into Subversion repository 2008-07-10 - Unassigned - Sub-task http://issues.apache.org/jira/browse/INFRA-1678 TLP Admin (2) [INFRA-1586] Create new Apache CXF TLP 2008-06-16 - Joe Schaefer - Task http://issues.apache.org/jira/browse/INFRA-1586 [INFRA-1563] Apache Archiva TLP Setup 2008-06-16 - Joe Schaefer - Task http://issues.apache.org/jira/browse/INFRA-1563 Website (1) [INFRA-1622] Bad link on https://issues.apache.org/ 2008-07-15 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1622 Zones (1) [INFRA-1551] Update Apache HTTPD to include mod_proxy_ajp on the Lenya zone 2008-03-08 - Unassigned - Wish http://issues.apache.org/jira/browse/INFRA-1551 -- template: infra.vm From [email protected] Thu Jul 17 11:38:33 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78328 invoked from network); 17 Jul 2008 11:38:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jul 2008 11:38:33 -0000 Received: (qmail 4169 invoked by uid 500); 17 Jul 2008 11:38:33 -0000 Delivered-To: [email protected] Received: (qmail 3917 invoked by uid 500); 17 Jul 2008 11:38:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 3906 invoked by uid 99); 17 Jul 2008 11:38:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jul 2008 04:38:32 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jul 2008 11:37:38 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 33C07234C16F for <[email protected]>; Thu, 17 Jul 2008 04:37:33 -0700 (PDT) Message-ID: <271019053.1216294653210.JavaMail.jira@brutus> Date: Thu, 17 Jul 2008 04:37:33 -0700 (PDT) From: "Stefano Bagnara (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1315) AutoExported HTML pages have Confluence images still pointing to Confluence server. In-Reply-To: <30070551.1187379871239.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614299#action_12614299 ] Stefano Bagnara commented on INFRA-1315: ---------------------------------------- Not sure what is the status of this issue, so I refreshed my memory and found updated links: this discussion about the export plugin in general and this specific bug: http://groups.google.com/group/couldit-autoexport/browse_thread/thread/4f48c0df7df206e2/ this update issue tracker url for this issue: http://code.google.com/p/couldit-autoexport/issues/detail?id=11 > AutoExported HTML pages have Confluence images still pointing to Confluence server. > ----------------------------------------------------------------------------------- > > Key: INFRA-1315 > URL: https://issues.apache.org/jira/browse/INFRA-1315 > Project: Infrastructure > Issue Type: Improvement > Security Level: public(Regular issues) > Components: Confluence > Reporter: Ted Husted > Assignee: Ted Husted > > There's an open issue against the autoexport plugin that we should patch. > * http://could.it/bugs/browse/EXP-18 > Right now every confluence-based website, even the ones rsyncing the exported pages, seems to fetch some of its icons from the original site (i.e. brutus), giving the websites a stealth dependency on the confluence machine. > If we can develop a patch, I understand that Pier is prepared to give commit rights to anyone wanting to fix that sort of thing within his repo. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 17 16:32:32 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86368 invoked from network); 17 Jul 2008 16:32:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jul 2008 16:32:31 -0000 Received: (qmail 61637 invoked by uid 500); 17 Jul 2008 16:32:30 -0000 Delivered-To: [email protected] Received: (qmail 61387 invoked by uid 500); 17 Jul 2008 16:32:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 61376 invoked by uid 99); 17 Jul 2008 16:32:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jul 2008 09:32:29 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jul 2008 16:31:37 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id EA7AF234C16F for <[email protected]>; Thu, 17 Jul 2008 09:31:31 -0700 (PDT) Message-ID: <1721948854.1216312291959.JavaMail.jira@brutus> Date: Thu, 17 Jul 2008 09:31:31 -0700 (PDT) From: "John Williams (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Reopened: (INFRA-1566) Apache Mirror Configured and ready to go. In-Reply-To: <2003470505.1206655044230.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Williams reopened INFRA-1566: ---------------------------------- Why has my mirror been shutdown, have not made any changes and was running smooth for months. > Apache Mirror Configured and ready to go. > ------------------------------------------ > > Key: INFRA-1566 > URL: https://issues.apache.org/jira/browse/INFRA-1566 > Project: Infrastructure > Issue Type: Improvement > Security Level: public(Regular issues) > Components: Mirrors > Reporter: John Williams > > * URL of mirror - http://www.poolsaboveground.com/apache/ > * Country where the mirror is located - US > * Contact email address [email protected] > * Update frequency - every 8 hours > * Rsync repository used - rsync.us.apache.org > * Approximate bandwidth 5000 G , got more if needed > * I have configured my HTTP server as requested (yes) > * I have subscribed to the mirror maintainers mailing list (yes) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 17 17:16:13 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11415 invoked from network); 17 Jul 2008 17:16:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jul 2008 17:16:03 -0000 Received: (qmail 30270 invoked by uid 500); 17 Jul 2008 17:16:00 -0000 Delivered-To: [email protected] Received: (qmail 30050 invoked by uid 500); 17 Jul 2008 17:15:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30005 invoked by uid 99); 17 Jul 2008 17:15:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jul 2008 10:15:59 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jul 2008 17:15:07 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id BDFC8234C16F for <[email protected]>; Thu, 17 Jul 2008 10:15:31 -0700 (PDT) Message-ID: <1318864692.1216314931776.JavaMail.jira@brutus> Date: Thu, 17 Jul 2008 10:15:31 -0700 (PDT) From: "John Williams (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Issue Comment Edited: (INFRA-1566) Apache Mirror Configured and ready to go. In-Reply-To: <2003470505.1206655044230.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614419#action_12614419 ] killman edited comment on INFRA-1566 at 7/17/08 10:14 AM: ---------------------------------------------------------------- Why has my mirror been shutdown, have not made any changes and was running smooth for months. I have check my server everything is the same; * */8 * * * /usr/bin/rsync -rtlzv --delete rsync.us.apache.orgacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bpache-dist /home/poolsabo/publi c_html/apache This means the script above is run every 8 hours. I checked the log --> /var/log/cron log file, which shows it is run no more than every 8 hours. was (Author: killman): Why has my mirror been shutdown, have not made any changes and was running smooth for months. > Apache Mirror Configured and ready to go. > ------------------------------------------ > > Key: INFRA-1566 > URL: https://issues.apache.org/jira/browse/INFRA-1566 > Project: Infrastructure > Issue Type: Improvement > Security Level: public(Regular issues) > Components: Mirrors > Reporter: John Williams > > * URL of mirror - http://www.poolsaboveground.com/apache/ > * Country where the mirror is located - US > * Contact email address [email protected] > * Update frequency - every 8 hours > * Rsync repository used - rsync.us.apache.org > * Approximate bandwidth 5000 G , got more if needed > * I have configured my HTTP server as requested (yes) > * I have subscribed to the mirror maintainers mailing list (yes) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jul 18 10:40:56 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53652 invoked from network); 18 Jul 2008 10:40:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Jul 2008 10:40:54 -0000 Received: (qmail 11735 invoked by uid 500); 18 Jul 2008 10:40:53 -0000 Delivered-To: [email protected] Received: (qmail 11456 invoked by uid 500); 18 Jul 2008 10:40:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 11440 invoked by uid 99); 18 Jul 2008 10:40:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jul 2008 03:40:52 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jul 2008 10:40:07 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E928A234C171 for <[email protected]>; Fri, 18 Jul 2008 03:40:31 -0700 (PDT) Message-ID: <1591840582.1216377631953.JavaMail.jira@brutus> Date: Fri, 18 Jul 2008 03:40:31 -0700 (PDT) From: "Henning Schmiedehausen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1676) Request empire-db accounts In-Reply-To: <2021743033.1215617011987.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1676?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1261= 4691#action_12614691 ]=20 Henning Schmiedehausen commented on INFRA-1676: ----------------------------------------------- Manuel Gamerdinger: mgamedinger J=C3=B6rg Reiher: reiher, jreiher Matthew Bond: bond, matt, mbond=20 > Request empire-db accounts > -------------------------- > > Key: INFRA-1676 > URL: https://issues.apache.org/jira/browse/INFRA-1676 > Project: Infrastructure > Issue Type: Sub-task > Security Level: public(Regular issues)=20 > Reporter: Henning Schmiedehausen > Assignee: Henning Schmiedehausen > > request empire-db committer accounts as soon as all CLAs are recorded: > Rainer D=C3=B6bele: doebele > J=C3=B6rg Reiher:=20 > Manuel Gamerdinger: > Matthew Bond: --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jul 18 12:37:25 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14707 invoked from network); 18 Jul 2008 12:37:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Jul 2008 12:37:24 -0000 Received: (qmail 19650 invoked by uid 500); 18 Jul 2008 12:37:23 -0000 Delivered-To: [email protected] Received: (qmail 19404 invoked by uid 500); 18 Jul 2008 12:37:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 19344 invoked by uid 99); 18 Jul 2008 12:37:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jul 2008 05:37:22 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jul 2008 12:36:37 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D53C9234C175 for <[email protected]>; Fri, 18 Jul 2008 05:36:31 -0700 (PDT) Message-ID: <1234947025.1216384591872.JavaMail.jira@brutus> Date: Fri, 18 Jul 2008 05:36:31 -0700 (PDT) From: "Sebb (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1676) Request empire-db accounts In-Reply-To: <2021743033.1215617011987.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1676?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1261= 4713#action_12614713 ]=20 Sebb commented on INFRA-1676: ----------------------------- Should that be: Manuel Gamerdinger: mgameRdinger ?? > Request empire-db accounts > -------------------------- > > Key: INFRA-1676 > URL: https://issues.apache.org/jira/browse/INFRA-1676 > Project: Infrastructure > Issue Type: Sub-task > Security Level: public(Regular issues)=20 > Reporter: Henning Schmiedehausen > Assignee: Henning Schmiedehausen > > request empire-db committer accounts as soon as all CLAs are recorded: > Rainer D=C3=B6bele: doebele > J=C3=B6rg Reiher:=20 > Manuel Gamerdinger: > Matthew Bond: --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jul 18 17:25:30 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24162 invoked from network); 18 Jul 2008 17:25:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Jul 2008 17:25:28 -0000 Received: (qmail 49936 invoked by uid 500); 18 Jul 2008 17:25:26 -0000 Delivered-To: [email protected] Received: (qmail 49551 invoked by uid 500); 18 Jul 2008 17:25:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48883 invoked by uid 99); 18 Jul 2008 17:25:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jul 2008 10:25:22 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jul 2008 17:24:37 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C87B9234C179 for <[email protected]>; Fri, 18 Jul 2008 10:24:31 -0700 (PDT) Message-ID: <1394868459.1216401871820.JavaMail.jira@brutus> Date: Fri, 18 Jul 2008 10:24:31 -0700 (PDT) From: "Alan Cabrera (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1680) Need set MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Need set -------- Key: INFRA-1680 URL: https://issues.apache.org/jira/browse/INFRA-1680 Project: Infrastructure Issue Type: Task Security Level: public (Regular issues) Reporter: Alan Cabrera Apache username: adc Real name: Alan Cabrera PMC name: JSecurity PPMC under Incubator PMC -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jul 18 17:25:32 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24386 invoked from network); 18 Jul 2008 17:25:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Jul 2008 17:25:29 -0000 Received: (qmail 50213 invoked by uid 500); 18 Jul 2008 17:25:27 -0000 Delivered-To: [email protected] Received: (qmail 49658 invoked by uid 500); 18 Jul 2008 17:25:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48786 invoked by uid 99); 18 Jul 2008 17:25:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jul 2008 10:25:22 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jul 2008 17:24:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id CEB51234C17E for <[email protected]>; Fri, 18 Jul 2008 10:24:31 -0700 (PDT) Message-ID: <1047077295.1216401871845.JavaMail.jira@brutus> Date: Fri, 18 Jul 2008 10:24:31 -0700 (PDT) From: "Alan Cabrera (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (INFRA-1680) Need to setup JSecurity In-Reply-To: <1394868459.1216401871820.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alan Cabrera updated INFRA-1680: -------------------------------- Component/s: Hudson Summary: Need to setup JSecurity (was: Need set) > Need to setup JSecurity > ----------------------- > > Key: INFRA-1680 > URL: https://issues.apache.org/jira/browse/INFRA-1680 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Hudson > Reporter: Alan Cabrera > > Apache username: adc > Real name: Alan Cabrera > PMC name: JSecurity PPMC under Incubator PMC -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Jul 19 07:38:54 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 329 invoked from network); 19 Jul 2008 07:38:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jul 2008 07:38:53 -0000 Received: (qmail 17867 invoked by uid 500); 19 Jul 2008 07:38:52 -0000 Delivered-To: [email protected] Received: (qmail 17648 invoked by uid 500); 19 Jul 2008 07:38:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 17637 invoked by uid 99); 19 Jul 2008 07:38:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Jul 2008 00:38:51 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Jul 2008 07:38:06 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id ADC55234C174 for <[email protected]>; Sat, 19 Jul 2008 00:38:31 -0700 (PDT) Message-ID: <1516378531.1216453111710.JavaMail.jira@brutus> Date: Sat, 19 Jul 2008 00:38:31 -0700 (PDT) From: "Luciano Resende (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1681) Create a new "once a day" continuum schedule MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Create a new "once a day" continuum schedule -------------------------------------------- Key: INFRA-1681 URL: https://issues.apache.org/jira/browse/INFRA-1681 Project: Infrastructure Issue Type: Wish Security Level: public (Regular issues) Components: Continuum Reporter: Luciano Resende Could we have a once a day schedule in the vmbuild1 continuum. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Jul 19 09:19:03 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34778 invoked from network); 19 Jul 2008 09:19:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jul 2008 09:19:02 -0000 Received: (qmail 41513 invoked by uid 500); 19 Jul 2008 09:18:58 -0000 Delivered-To: [email protected] Received: (qmail 41289 invoked by uid 500); 19 Jul 2008 09:18:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 41276 invoked by uid 99); 19 Jul 2008 09:18:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Jul 2008 02:18:58 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Jul 2008 09:18:06 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A48C9234C174 for <[email protected]>; Sat, 19 Jul 2008 02:18:31 -0700 (PDT) Message-ID: <1783761000.1216459111672.JavaMail.jira@brutus> Date: Sat, 19 Jul 2008 02:18:31 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1566) Apache Mirror Configured and ready to go. In-Reply-To: <2003470505.1206655044230.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614967#action_12614967 ] Gavin commented on INFRA-1566: ------------------------------ Hi John, Running smooth from your end and was upto date yes, no problems there and your cron looks fine, however your location was hitting our mirror host eos over 3000 times every 9 minutes or so. Along with other mirrors, your mirror contact address was emailed to warning of the situation and there was no response. If you can look into it and let me know what you come with, we can see about removing the block http://people.apache.org/~henkp/rstats/eos/200806.html - look at top 16 connectors, your/your host at Number 2 Thanks. > Apache Mirror Configured and ready to go. > ------------------------------------------ > > Key: INFRA-1566 > URL: https://issues.apache.org/jira/browse/INFRA-1566 > Project: Infrastructure > Issue Type: Improvement > Security Level: public(Regular issues) > Components: Mirrors > Reporter: John Williams > > * URL of mirror - http://www.poolsaboveground.com/apache/ > * Country where the mirror is located - US > * Contact email address [email protected] > * Update frequency - every 8 hours > * Rsync repository used - rsync.us.apache.org > * Approximate bandwidth 5000 G , got more if needed > * I have configured my HTTP server as requested (yes) > * I have subscribed to the mirror maintainers mailing list (yes) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Jul 19 13:14:33 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65127 invoked from network); 19 Jul 2008 13:14:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jul 2008 13:14:30 -0000 Received: (qmail 59883 invoked by uid 500); 19 Jul 2008 13:14:29 -0000 Delivered-To: [email protected] Received: (qmail 59641 invoked by uid 500); 19 Jul 2008 13:14:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 59630 invoked by uid 99); 19 Jul 2008 13:14:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Jul 2008 06:14:28 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Jul 2008 13:13:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B7B1F234C174 for <[email protected]>; Sat, 19 Jul 2008 06:13:31 -0700 (PDT) Message-ID: <779947810.1216473211751.JavaMail.jira@brutus> Date: Sat, 19 Jul 2008 06:13:31 -0700 (PDT) From: "Sebb (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1566) Apache Mirror Configured and ready to go. In-Reply-To: <2003470505.1206655044230.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614989#action_12614989 ] Sebb commented on INFRA-1566: ----------------------------- @John: which other mirrors have editted their mirror page? > Apache Mirror Configured and ready to go. > ------------------------------------------ > > Key: INFRA-1566 > URL: https://issues.apache.org/jira/browse/INFRA-1566 > Project: Infrastructure > Issue Type: Improvement > Security Level: public(Regular issues) > Components: Mirrors > Reporter: John Williams > > * URL of mirror - http://www.poolsaboveground.com/apache/ > * Country where the mirror is located - US > * Contact email address [email protected] > * Update frequency - every 8 hours > * Rsync repository used - rsync.us.apache.org > * Approximate bandwidth 5000 G , got more if needed > * I have configured my HTTP server as requested (yes) > * I have subscribed to the mirror maintainers mailing list (yes) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Jul 19 13:20:37 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67524 invoked from network); 19 Jul 2008 13:20:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jul 2008 13:20:31 -0000 Received: (qmail 64400 invoked by uid 500); 19 Jul 2008 13:20:30 -0000 Delivered-To: [email protected] Received: (qmail 64187 invoked by uid 500); 19 Jul 2008 13:20:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 64168 invoked by uid 99); 19 Jul 2008 13:20:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Jul 2008 06:20:29 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Jul 2008 13:19:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A7D3B234C175 for <[email protected]>; Sat, 19 Jul 2008 06:19:31 -0700 (PDT) Message-ID: <732896612.1216473571686.JavaMail.jira@brutus> Date: Sat, 19 Jul 2008 06:19:31 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1656) Improvement to JIRA attachment handling - allow sorting by date In-Reply-To: <1498140050.1213749885200.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614990#action_12614990 ] Gavin commented on INFRA-1656: ------------------------------ I have now added the patch to all other Jiras and are working fine. I'll document it and see about adding to upgrading and/or deploy files. > Improvement to JIRA attachment handling - allow sorting by date > --------------------------------------------------------------- > > Key: INFRA-1656 > URL: https://issues.apache.org/jira/browse/INFRA-1656 > Project: Infrastructure > Issue Type: Improvement > Security Level: public(Regular issues) > Components: JIRA > Reporter: Sebb > Assignee: Gavin > > Just noticed what could be a very useful patch which goes some way to fixing JIRA's poor attachment handling: > http://forum.atlassian.com/thread.jspa?threadID=26400 > [part of http://jira.atlassian.com/browse/JRA-1844] > This JSP replacement allows patches to be sorted by date, rather than only by name within date [email protected]. > Would it be possible to add this to the ASF JIRA instance(s)? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Jul 19 15:56:33 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73162 invoked from network); 19 Jul 2008 15:56:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jul 2008 15:56:32 -0000 Received: (qmail 47397 invoked by uid 500); 19 Jul 2008 15:56:31 -0000 Delivered-To: [email protected] Received: (qmail 47126 invoked by uid 500); 19 Jul 2008 15:56:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 47115 invoked by uid 99); 19 Jul 2008 15:56:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Jul 2008 08:56:30 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Jul 2008 15:55:38 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 85977234C175 for <[email protected]>; Sat, 19 Jul 2008 08:55:33 -0700 (PDT) Message-ID: <1794928968.1216482933546.JavaMail.jira@brutus> Date: Sat, 19 Jul 2008 08:55:33 -0700 (PDT) From: "John Williams (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1566) Apache Mirror Configured and ready to go. In-Reply-To: <2003470505.1206655044230.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615012#action_12615012 ] John Williams commented on INFRA-1566: -------------------------------------- Hi Gavin, What do you mean by "however your location was hitting our mirror host eos over 3000 times every 9 minutes" ? I need to know what to tell the IT guys and I am not sure what terminology I should use. Thanks for quick the response, John > Apache Mirror Configured and ready to go. > ------------------------------------------ > > Key: INFRA-1566 > URL: https://issues.apache.org/jira/browse/INFRA-1566 > Project: Infrastructure > Issue Type: Improvement > Security Level: public(Regular issues) > Components: Mirrors > Reporter: John Williams > > * URL of mirror - http://www.poolsaboveground.com/apache/ > * Country where the mirror is located - US > * Contact email address [email protected] > * Update frequency - every 8 hours > * Rsync repository used - rsync.us.apache.org > * Approximate bandwidth 5000 G , got more if needed > * I have configured my HTTP server as requested (yes) > * I have subscribed to the mirror maintainers mailing list (yes) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Jul 19 20:22:24 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98074 invoked from network); 19 Jul 2008 20:22:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jul 2008 20:22:23 -0000 Received: (qmail 87090 invoked by uid 500); 19 Jul 2008 20:22:22 -0000 Delivered-To: [email protected] Received: (qmail 86825 invoked by uid 500); 19 Jul 2008 20:22:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 86814 invoked by uid 99); 19 Jul 2008 20:22:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Jul 2008 13:22:21 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Jul 2008 20:21:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A6250234C175 for <[email protected]>; Sat, 19 Jul 2008 13:21:31 -0700 (PDT) Message-ID: <330.738.6477.1216498891679.JavaMail.jira@brutus> Date: Sat, 19 Jul 2008 13:21:31 -0700 (PDT) From: "Olivier Lamy (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (INFRA-1681) Create a new "once a day" continuum schedule In-Reply-To: <1516378531.1216453111710.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Olivier Lamy reassigned INFRA-1681: ----------------------------------- Assignee: Olivier Lamy > Create a new "once a day" continuum schedule > -------------------------------------------- > > Key: INFRA-1681 > URL: https://issues.apache.org/jira/browse/INFRA-1681 > Project: Infrastructure > Issue Type: Wish > Security Level: public(Regular issues) > Components: Continuum > Reporter: Luciano Resende > Assignee: Olivier Lamy > > Could we have a once a day schedule in the vmbuild1 continuum. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Jul 19 20:23:54 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99285 invoked from network); 19 Jul 2008 20:23:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jul 2008 20:23:53 -0000 Received: (qmail 87802 invoked by uid 500); 19 Jul 2008 20:23:52 -0000 Delivered-To: [email protected] Received: (qmail 87527 invoked by uid 500); 19 Jul 2008 20:23:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 87515 invoked by uid 99); 19 Jul 2008 20:23:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Jul 2008 13:23:52 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Jul 2008 20:23:06 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E0719234C175 for <[email protected]>; Sat, 19 Jul 2008 13:23:31 -0700 (PDT) Message-ID: <1496465111.1216499011918.JavaMail.jira@brutus> Date: Sat, 19 Jul 2008 13:23:31 -0700 (PDT) From: "Olivier Lamy (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1681) Create a new "once a day" continuum schedule In-Reply-To: <1516378531.1216453111710.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615045#action_12615045 ] Olivier Lamy commented on INFRA-1681: ------------------------------------- Done the name is : ONCE_A_DAY_2_00_AM. Let me me know if you have any issue. If not please close the issue. -- Olivier > Create a new "once a day" continuum schedule > -------------------------------------------- > > Key: INFRA-1681 > URL: https://issues.apache.org/jira/browse/INFRA-1681 > Project: Infrastructure > Issue Type: Wish > Security Level: public(Regular issues) > Components: Continuum > Reporter: Luciano Resende > Assignee: Olivier Lamy > > Could we have a once a day schedule in the vmbuild1 continuum. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sun Jul 20 18:39:37 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71586 invoked from network); 20 Jul 2008 18:39:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Jul 2008 18:39:35 -0000 Received: (qmail 8473 invoked by uid 500); 20 Jul 2008 18:39:34 -0000 Delivered-To: [email protected] Received: (qmail 8266 invoked by uid 500); 20 Jul 2008 18:39:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 8255 invoked by uid 99); 20 Jul 2008 18:39:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Jul 2008 11:39:33 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Jul 2008 18:38:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A2FBA234C174 for <[email protected]>; Sun, 20 Jul 2008 11:38:31 -0700 (PDT) Message-ID: <867595430.1216579111666.JavaMail.jira@brutus> Date: Sun, 20 Jul 2008 11:38:31 -0700 (PDT) From: "Panagiotis Christias (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1682) Re-registering apache.ntua.gr mirror MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Re-registering apache.ntua.gr mirror ------------------------------------ Key: INFRA-1682 URL: https://issues.apache.org/jira/browse/INFRA-1682 Project: Infrastructure Issue Type: Improvement Security Level: public (Regular issues) Components: Mirrors Environment: FreeBSD 5.2.1, Apache HTTPD 2.2.9 Reporter: Panagiotis Christias Hello, I would like to re-register the apache mirror [email protected] (National Technical University of Athens, Greece): * URL of mirror: http://apache.ntua.gr/ and ftp://ftp.ntua.gr/pub/www/apache/ (both IPv4 and IPv6) * Country where the mirror is located: Greece (GR) * Contact email address: [email protected] * Update frequency: 4 times per day * Rsync repository used: rsync.eu.apache.org * Approximate bandwidth: 1 Gbps link to internet * I have configured my HTTP server as requested: yes * I have subscribed to the mirror maintainers mailing list: yes * Mirror logo: http://ftp.ntua.gr/images/ntua-100x34.png * Mirror logo link to: http://www.ntua.gr/ Regards, Panagiotis -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sun Jul 20 20:07:06 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21718 invoked from network); 20 Jul 2008 20:07:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Jul 2008 20:07:04 -0000 Received: (qmail 60157 invoked by uid 500); 20 Jul 2008 20:06:56 -0000 Delivered-To: [email protected] Received: (qmail 59770 invoked by uid 500); 20 Jul 2008 20:06:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 59692 invoked by uid 99); 20 Jul 2008 20:06:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Jul 2008 13:06:53 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Jul 2008 20:06:06 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B3367234C175 for <[email protected]>; Sun, 20 Jul 2008 13:06:31 -0700 (PDT) Message-ID: <330.738.6477.1216584391733.JavaMail.jira@brutus> Date: Sun, 20 Jul 2008 13:06:31 -0700 (PDT) From: "Olivier Lamy (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (INFRA-1681) Create a new "once a day" continuum schedule In-Reply-To: <1516378531.1216453111710.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Olivier Lamy closed INFRA-1681. ------------------------------- Resolution: Fixed I close the issue if you have any trouble please reopen it. > Create a new "once a day" continuum schedule > -------------------------------------------- > > Key: INFRA-1681 > URL: https://issues.apache.org/jira/browse/INFRA-1681 > Project: Infrastructure > Issue Type: Wish > Security Level: public(Regular issues) > Components: Continuum > Reporter: Luciano Resende > Assignee: Olivier Lamy > > Could we have a once a day schedule in the vmbuild1 continuum. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jul 21 09:37:55 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57502 invoked from network); 21 Jul 2008 09:37:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Jul 2008 09:37:54 -0000 Received: (qmail 17917 invoked by uid 500); 21 Jul 2008 09:37:54 -0000 Delivered-To: [email protected] Received: (qmail 17467 invoked by uid 500); 21 Jul 2008 09:37:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 17348 invoked by uid 99); 21 Jul 2008 09:37:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jul 2008 02:37:52 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jul 2008 09:37:06 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 22DBF234C175 for <[email protected]>; Mon, 21 Jul 2008 02:37:32 -0700 (PDT) Message-ID: <1890123094.1216633052141.JavaMail.jira@brutus> Date: Mon, 21 Jul 2008 02:37:32 -0700 (PDT) From: "Justin Mason (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (INFRA-1680) Need to setup JSecurity In-Reply-To: <1394868459.1216401871820.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Mason resolved INFRA-1680. --------------------------------- Resolution: Fixed done, details mailed to [email protected] > Need to setup JSecurity > ----------------------- > > Key: INFRA-1680 > URL: https://issues.apache.org/jira/browse/INFRA-1680 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Hudson > Reporter: Alan Cabrera > > Apache username: adc > Real name: Alan Cabrera > PMC name: JSecurity PPMC under Incubator PMC -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jul 21 09:52:25 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66794 invoked from network); 21 Jul 2008 09:52:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Jul 2008 09:52:24 -0000 Received: (qmail 36167 invoked by uid 500); 21 Jul 2008 09:52:23 -0000 Delivered-To: [email protected] Received: (qmail 35932 invoked by uid 500); 21 Jul 2008 09:52:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 35921 invoked by uid 99); 21 Jul 2008 09:52:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jul 2008 02:52:22 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jul 2008 09:51:37 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 692FE234C173 for <[email protected]>; Mon, 21 Jul 2008 02:51:32 -0700 (PDT) Message-ID: <2003695946.1216633892429.JavaMail.jira@brutus> Date: Mon, 21 Jul 2008 02:51:32 -0700 (PDT) From: "Henning Schmiedehausen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1676) Request empire-db accounts In-Reply-To: <2021743033.1215617011987.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1676?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1261= 5188#action_12615188 ]=20 Henning Schmiedehausen commented on INFRA-1676: ----------------------------------------------- CLA for J=C3=B6rg Reiher received (notinavail:Joerg Reiher:Joerg Reiher:rei= [email protected]:Signed CLA;joerg-reiher) > Request empire-db accounts > -------------------------- > > Key: INFRA-1676 > URL: https://issues.apache.org/jira/browse/INFRA-1676 > Project: Infrastructure > Issue Type: Sub-task > Security Level: public(Regular issues)=20 > Reporter: Henning Schmiedehausen > Assignee: Henning Schmiedehausen > > request empire-db committer accounts as soon as all CLAs are recorded: > Rainer D=C3=B6bele: doebele > J=C3=B6rg Reiher:=20 > Manuel Gamerdinger: > Matthew Bond: --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jul 21 09:59:59 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74540 invoked from network); 21 Jul 2008 09:59:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Jul 2008 09:59:57 -0000 Received: (qmail 48588 invoked by uid 500); 21 Jul 2008 09:59:53 -0000 Delivered-To: [email protected] Received: (qmail 48328 invoked by uid 500); 21 Jul 2008 09:59:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48312 invoked by uid 99); 21 Jul 2008 09:59:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jul 2008 02:59:52 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jul 2008 09:59:07 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 31C6F234C176 for <[email protected]>; Mon, 21 Jul 2008 02:59:32 -0700 (PDT) Message-ID: <1822123537.1216634372202.JavaMail.jira@brutus> Date: Mon, 21 Jul 2008 02:59:32 -0700 (PDT) From: "Henning Schmiedehausen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1676) Request empire-db accounts In-Reply-To: <2021743033.1215617011987.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1676?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1261= 5193#action_12615193 ]=20 Henning Schmiedehausen commented on INFRA-1676: ----------------------------------------------- Account requests sent out to [email protected] > Request empire-db accounts > -------------------------- > > Key: INFRA-1676 > URL: https://issues.apache.org/jira/browse/INFRA-1676 > Project: Infrastructure > Issue Type: Sub-task > Security Level: public(Regular issues)=20 > Reporter: Henning Schmiedehausen > Assignee: Henning Schmiedehausen > > request empire-db committer accounts as soon as all CLAs are recorded: > Rainer D=C3=B6bele: doebele > J=C3=B6rg Reiher:=20 > Manuel Gamerdinger: > Matthew Bond: --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jul 23 02:32:45 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4435 invoked from network); 23 Jul 2008 02:32:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Jul 2008 02:32:43 -0000 Received: (qmail 5420 invoked by uid 500); 23 Jul 2008 02:32:42 -0000 Delivered-To: [email protected] Received: (qmail 5189 invoked by uid 500); 23 Jul 2008 02:32:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 5120 invoked by uid 99); 23 Jul 2008 02:32:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2008 19:32:41 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 23 Jul 2008 02:31:43 +0000 Received: (qmail 4006 invoked by uid 1723); 23 Jul 2008 02:32:09 -0000 Date: 23 Jul 2008 02:32:03 -0000 Message-ID: <[email protected]> TO: [email protected] FROM: [email protected] SUBJECT: Infrastructure: Open Issues as of 2008-07-23 X-Virus-Checked: Checked by ClamAV on apache.org Infrastructure - Wednesday, July 23, 2008 Backups (1) [INFRA-1576] Deploy backup services on bia 2008-04-28 - Unassigned - New Feature http://issues.apache.org/jira/browse/INFRA-1576 ColoTasks (1) [INFRA-847] Fix fan failure in Helios 2008-03-28 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-847 Confluence (2) [INFRA-1338] Update Confluence to 2.6 when available 2008-04-09 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1338 [INFRA-1315] AutoExported HTML pages have Confluence images still pointing to Confluence server. 2008-07-17 - Ted Husted - Improvement http://issues.apache.org/jira/browse/INFRA-1315 Continuum (11) [INFRA-1322] set up an external database and backup regime 2007-08-20 - Unassigned - Improvement http://issues.apache.org/jira/browse/INFRA-1322 [INFRA-1328] migrate Commons nightlies to Continuum on vmbuild1 2007-08-29 - Phil Steitz - Task http://issues.apache.org/jira/browse/INFRA-1328 [INFRA-1343] setup robots.txt and/or other access rules to prevent bots from crawling Continuum pages 2007-08-29 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1343 [INFRA-1347] Some builds never finish 2007-09-03 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1347 [INFRA-1318] set up rsync on people.apache.org to retrieve builds from vmbuild1.apache.org 2007-09-04 - Unassigned - New Feature http://issues.apache.org/jira/browse/INFRA-1318 [INFRA-1325] monitor disk space usage on vmbuild 2007-09-04 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1325 [INFRA-1323] scripted clean up of Continuum local repository 2007-10-30 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1323 [INFRA-1514] adjust mail template to indicate where issues should be filed for the ASF 2008-02-07 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1514 [INFRA-1324] set up log rotation / clean up for VMBuild 2008-04-01 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1324 [INFRA-1525] HTTP ERROR: 500 trying to modify a user role in Continuum (vmbuild1) 2008-05-08 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1525 [INFRA-1630] Continuum web interface very slow; sometimes unusably so 2008-05-28 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1630 CVS (1) [INFRA-1672] Import missing branches from CVS into SVN 2008-07-08 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1672 DNS (1) [INFRA-1580] transfer of maven.org domain to the ASF 2008-04-10 - Joe Schaefer - Task http://issues.apache.org/jira/browse/INFRA-1580 Hudson (1) [INFRA-1665] odd ALT text on weather icons on Hudson front page 2008-07-03 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1665 JIRA (4) [INFRA-813] Import Jira projects into the main Jira 2007-09-16 - Unassigned - Wish http://issues.apache.org/jira/browse/INFRA-813 [INFRA-1409] Create JIRA runbook 2007-11-29 - Henri Yandell - Task http://issues.apache.org/jira/browse/INFRA-1409 [INFRA-1545] Bugzilla Id: links no longer work 2008-06-25 - Henri Yandell - Bug http://issues.apache.org/jira/browse/INFRA-1545 [INFRA-1656] Improvement to JIRA attachment handling - allow sorting by date 2008-07-19 - Gavin - Improvement http://issues.apache.org/jira/browse/INFRA-1656 Mail (qmail) (3) [INFRA-917] [email protected] online archives are broken 2008-01-17 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-917 [INFRA-1410] Better filter out of office reply 2008-04-09 - Unassigned - Improvement http://issues.apache.org/jira/browse/INFRA-1410 [INFRA-1640] Please review spam filter, seems to strict 2008-06-09 - Unassigned - Wish http://issues.apache.org/jira/browse/INFRA-1640 Mail Archives (3) [INFRA-1062] Remove JIRA comment spam from archives 2007-07-11 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1062 [INFRA-1639] apachecon-planners-2007-asia archiving all going to "200705 2008-06-16 - Brett Porter - Bug http://issues.apache.org/jira/browse/INFRA-1639 [INFRA-1663] Tuscany archives were not migrated as part of TLP migration 2008-06-25 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1663 Mailing Lists (4) [INFRA-1111] add some basic srs support to ezmlm / teach it how to automoderate commit lists 2008-01-17 - Joe Schaefer - New Feature http://issues.apache.org/jira/browse/INFRA-1111 [INFRA-1641] AV should be processed earlier for mailing lists 2008-06-09 - Unassigned - Improvement http://issues.apache.org/jira/browse/INFRA-1641 [INFRA-1667] [email protected] 2008-07-01 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1667 [INFRA-1674] Create empire-db mailing lists 2008-07-14 - Unassigned - Sub-task http://issues.apache.org/jira/browse/INFRA-1674 Mirrors (4) [INFRA-1661] Leakage.org Apache Mirror Down 2008-06-25 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1661 [INFRA-1671] New Official Country Mirror 2008-07-15 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1671 [INFRA-1566] Apache Mirror Configured and ready to go. 2008-07-19 - Unassigned - Improvement http://issues.apache.org/jira/browse/INFRA-1566 [INFRA-1682] Re-registering apache.ntua.gr mirror 2008-07-20 - Unassigned - Improvement http://issues.apache.org/jira/browse/INFRA-1682 MoinMoin (1) [INFRA-1110] upgrade moin installation to latest version 2008-06-10 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1110 Subversion (5) [INFRA-1284] add gump back to viewvc 2007-08-16 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1284 [INFRA-544] [PATCH] Taritup patch for XML Commons, Batik and FOP after the move to SVN 2007-10-10 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-544 [INFRA-1672] Import missing branches from CVS into SVN 2008-07-08 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1672 [INFRA-1675] Create empire-db SVN repository 2008-07-10 - Unassigned - Sub-task http://issues.apache.org/jira/browse/INFRA-1675 [INFRA-1678] Import code into Subversion repository 2008-07-10 - Unassigned - Sub-task http://issues.apache.org/jira/browse/INFRA-1678 TLP Admin (2) [INFRA-1586] Create new Apache CXF TLP 2008-06-16 - Joe Schaefer - Task http://issues.apache.org/jira/browse/INFRA-1586 [INFRA-1563] Apache Archiva TLP Setup 2008-06-16 - Joe Schaefer - Task http://issues.apache.org/jira/browse/INFRA-1563 Website (1) [INFRA-1622] Bad link on https://issues.apache.org/ 2008-07-15 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1622 Zones (1) [INFRA-1551] Update Apache HTTPD to include mod_proxy_ajp on the Lenya zone 2008-03-08 - Unassigned - Wish http://issues.apache.org/jira/browse/INFRA-1551 -- template: infra.vm From [email protected] Wed Jul 23 10:18:34 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46121 invoked from network); 23 Jul 2008 10:18:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Jul 2008 10:18:32 -0000 Received: (qmail 62543 invoked by uid 500); 23 Jul 2008 10:18:31 -0000 Delivered-To: [email protected] Received: (qmail 62158 invoked by uid 500); 23 Jul 2008 10:18:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 62127 invoked by uid 99); 23 Jul 2008 10:18:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2008 03:18:30 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2008 10:17:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id AA512234C178 for <[email protected]>; Wed, 23 Jul 2008 03:17:31 -0700 (PDT) Message-ID: <896094183.1216808251696.JavaMail.jira@brutus> Date: Wed, 23 Jul 2008 03:17:31 -0700 (PDT) From: "james strachan (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1683) jiraissues macro doesn't work, we need to upgrade confluence or install the latest version of the jiraissues plugin MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org jiraissues macro doesn't work, we need to upgrade confluence or install the latest version of the jiraissues plugin ------------------------------------------------------------------------------------------------------------------- Key: INFRA-1683 URL: https://issues.apache.org/jira/browse/INFRA-1683 Project: Infrastructure Issue Type: Bug Security Level: public (Regular issues) Components: Confluence Reporter: james strachan I raised this issue with Atlassian... https://support.atlassian.com/browse/CSP-21392 about the jiraissues macro not rendering icons properly - e.g. http://cwiki.apache.org/confluence/display/ACTIVEMQ/ActiveMQ+5.1.0+Release but it turns out we're suffering from the [JIRA 3.7 Link Format Change issue|http://confluence.atlassian.com/display/DOC/JIRA+Issues+Macro] so we need to either upgrade to 2.2.10 or later of confluence - or install the latest [JIRA plugin for confluence|http://confluence.atlassian.com/download/attachments/393/new-jira3.jar?version=1] I tried upgrading the plugin myself but I don't think I can via the UI Many thanks! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jul 23 10:18:37 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46400 invoked from network); 23 Jul 2008 10:18:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Jul 2008 10:18:33 -0000 Received: (qmail 62877 invoked by uid 500); 23 Jul 2008 10:18:32 -0000 Delivered-To: [email protected] Received: (qmail 62160 invoked by uid 500); 23 Jul 2008 10:18:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 62125 invoked by uid 99); 23 Jul 2008 10:18:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2008 03:18:30 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2008 10:17:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id AF3B5234C179 for <[email protected]>; Wed, 23 Jul 2008 03:17:31 -0700 (PDT) Message-ID: <1717509405.1216808251716.JavaMail.jira@brutus> Date: Wed, 23 Jul 2008 03:17:31 -0700 (PDT) From: "james strachan (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (INFRA-1683) jiraissues macro doesn't work, we need to upgrade confluence or install the latest version of the jiraissues plugin In-Reply-To: <896094183.1216808251696.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] james strachan updated INFRA-1683: ---------------------------------- Description: I raised this issue with Atlassian... https://support.atlassian.com/browse/CSP-21392 about the jiraissues macro not rendering icons properly - e.g. http://cwiki.apache.org/confluence/display/ACTIVEMQ/ActiveMQ+5.1.0+Release but it turns out we're suffering from the JIRA 3.7 Link Format Change issue (see the table near the bottom of this page) http://confluence.atlassian.com/display/DOC/JIRA+Issues+Macro] so we need to either upgrade to 2.2.10 or later of confluence - or install the latest JIRA plugin for confluence http://confluence.atlassian.com/download/attachments/393/new-jira3.jar?version=1 I tried upgrading the plugin myself but I don't think I can via the UI Many thanks! was: I raised this issue with Atlassian... https://support.atlassian.com/browse/CSP-21392 about the jiraissues macro not rendering icons properly - e.g. http://cwiki.apache.org/confluence/display/ACTIVEMQ/ActiveMQ+5.1.0+Release but it turns out we're suffering from the [JIRA 3.7 Link Format Change issue|http://confluence.atlassian.com/display/DOC/JIRA+Issues+Macro] so we need to either upgrade to 2.2.10 or later of confluence - or install the latest [JIRA plugin for confluence|http://confluence.atlassian.com/download/attachments/393/new-jira3.jar?version=1] I tried upgrading the plugin myself but I don't think I can via the UI Many thanks! > jiraissues macro doesn't work, we need to upgrade confluence or install the latest version of the jiraissues plugin > ------------------------------------------------------------------------------------------------------------------- > > Key: INFRA-1683 > URL: https://issues.apache.org/jira/browse/INFRA-1683 > Project: Infrastructure > Issue Type: Bug > Security Level: public(Regular issues) > Components: Confluence > Reporter: james strachan > > I raised this issue with Atlassian... > https://support.atlassian.com/browse/CSP-21392 > about the jiraissues macro not rendering icons properly - e.g. > http://cwiki.apache.org/confluence/display/ACTIVEMQ/ActiveMQ+5.1.0+Release > but it turns out we're suffering from the JIRA 3.7 Link Format Change issue (see the table near the bottom of this page) > http://confluence.atlassian.com/display/DOC/JIRA+Issues+Macro] > so we need to either upgrade to 2.2.10 or later of confluence - or install the latest JIRA plugin for confluence > http://confluence.atlassian.com/download/attachments/393/new-jira3.jar?version=1 > I tried upgrading the plugin myself but I don't think I can via the UI > Many thanks! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jul 23 10:20:34 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47944 invoked from network); 23 Jul 2008 10:20:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Jul 2008 10:20:33 -0000 Received: (qmail 65167 invoked by uid 500); 23 Jul 2008 10:20:32 -0000 Delivered-To: [email protected] Received: (qmail 64941 invoked by uid 500); 23 Jul 2008 10:20:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 64925 invoked by uid 99); 23 Jul 2008 10:20:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2008 03:20:31 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2008 10:19:38 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 7AFCC234C177 for <[email protected]>; Wed, 23 Jul 2008 03:19:33 -0700 (PDT) Message-ID: <106005113.1216808373489.JavaMail.jira@brutus> Date: Wed, 23 Jul 2008 03:19:33 -0700 (PDT) From: "james strachan (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (INFRA-1683) jiraissues macro doesn't work, we need to upgrade confluence or install the latest version of the jiraissues plugin In-Reply-To: <896094183.1216808251696.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] james strachan updated INFRA-1683: ---------------------------------- Description: I raised this issue with Atlassian... https://support.atlassian.com/browse/CSP-21392 about the jiraissues macro not rendering icons properly - e.g. see this example page http://cwiki.apache.org/confluence/display/ACTIVEMQ/ActiveMQ+5.1.0+Release but it turns out we're suffering from the JIRA 3.7 Link Format Change issue (see the table near the bottom of this page) http://confluence.atlassian.com/display/DOC/JIRA+Issues+Macro so we need to either upgrade to 2.2.10 or later of confluence - or install the latest JIRA plugin for confluence http://confluence.atlassian.com/download/attachments/393/new-jira3.jar?version=1 I tried upgrading the plugin myself but I don't think I can via the UI Many thanks! was: I raised this issue with Atlassian... https://support.atlassian.com/browse/CSP-21392 about the jiraissues macro not rendering icons properly - e.g. http://cwiki.apache.org/confluence/display/ACTIVEMQ/ActiveMQ+5.1.0+Release but it turns out we're suffering from the JIRA 3.7 Link Format Change issue (see the table near the bottom of this page) http://confluence.atlassian.com/display/DOC/JIRA+Issues+Macro] so we need to either upgrade to 2.2.10 or later of confluence - or install the latest JIRA plugin for confluence http://confluence.atlassian.com/download/attachments/393/new-jira3.jar?version=1 I tried upgrading the plugin myself but I don't think I can via the UI Many thanks! > jiraissues macro doesn't work, we need to upgrade confluence or install the latest version of the jiraissues plugin > ------------------------------------------------------------------------------------------------------------------- > > Key: INFRA-1683 > URL: https://issues.apache.org/jira/browse/INFRA-1683 > Project: Infrastructure > Issue Type: Bug > Security Level: public(Regular issues) > Components: Confluence > Reporter: james strachan > > I raised this issue with Atlassian... > https://support.atlassian.com/browse/CSP-21392 > about the jiraissues macro not rendering icons properly - e.g. see this example page > http://cwiki.apache.org/confluence/display/ACTIVEMQ/ActiveMQ+5.1.0+Release > but it turns out we're suffering from the JIRA 3.7 Link Format Change issue (see the table near the bottom of this page) > http://confluence.atlassian.com/display/DOC/JIRA+Issues+Macro > so we need to either upgrade to 2.2.10 or later of confluence - or install the latest JIRA plugin for confluence > http://confluence.atlassian.com/download/attachments/393/new-jira3.jar?version=1 > I tried upgrading the plugin myself but I don't think I can via the UI > Many thanks! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jul 23 11:28:32 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84523 invoked from network); 23 Jul 2008 11:28:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Jul 2008 11:28:31 -0000 Received: (qmail 47958 invoked by uid 500); 23 Jul 2008 11:28:31 -0000 Delivered-To: [email protected] Received: (qmail 47696 invoked by uid 500); 23 Jul 2008 11:28:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 47685 invoked by uid 99); 23 Jul 2008 11:28:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2008 04:28:30 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2008 11:27:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C61EF234C18B for <[email protected]>; Wed, 23 Jul 2008 04:27:31 -0700 (PDT) Message-ID: <330.738.6477.1216812451810.JavaMail.jira@brutus> Date: Wed, 23 Jul 2008 04:27:31 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1683) jiraissues macro doesn't work, we need to upgrade confluence or install the latest version of the jiraissues plugin In-Reply-To: <896094183.1216808251696.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615961#action_12615961 ] Gavin commented on INFRA-1683: ------------------------------ Confluence is earmarked for upgrade to the latest version, not sure when that will occur , hopefully soon. In the meantime I can replace the JAR as indicated, I am loath to do it during popular hours in (the likely) case that some folks are editing or creating pages. So I propose to replace the JAR this Sunday 27th July at around 1300 to 1500 AEST. Any problems or objections ? > jiraissues macro doesn't work, we need to upgrade confluence or install the latest version of the jiraissues plugin > ------------------------------------------------------------------------------------------------------------------- > > Key: INFRA-1683 > URL: https://issues.apache.org/jira/browse/INFRA-1683 > Project: Infrastructure > Issue Type: Bug > Security Level: public(Regular issues) > Components: Confluence > Reporter: james strachan > > I raised this issue with Atlassian... > https://support.atlassian.com/browse/CSP-21392 > about the jiraissues macro not rendering icons properly - e.g. see this example page > http://cwiki.apache.org/confluence/display/ACTIVEMQ/ActiveMQ+5.1.0+Release > but it turns out we're suffering from the JIRA 3.7 Link Format Change issue (see the table near the bottom of this page) > http://confluence.atlassian.com/display/DOC/JIRA+Issues+Macro > so we need to either upgrade to 2.2.10 or later of confluence - or install the latest JIRA plugin for confluence > http://confluence.atlassian.com/download/attachments/393/new-jira3.jar?version=1 > I tried upgrading the plugin myself but I don't think I can via the UI > Many thanks! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jul 23 11:36:35 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89918 invoked from network); 23 Jul 2008 11:36:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Jul 2008 11:36:32 -0000 Received: (qmail 59107 invoked by uid 500); 23 Jul 2008 11:36:31 -0000 Delivered-To: [email protected] Received: (qmail 58855 invoked by uid 500); 23 Jul 2008 11:36:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58839 invoked by uid 99); 23 Jul 2008 11:36:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2008 04:36:31 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2008 11:35:37 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 8204C234C179 for <[email protected]>; Wed, 23 Jul 2008 04:35:32 -0700 (PDT) Message-ID: <1030778889.1216812932531.JavaMail.jira@brutus> Date: Wed, 23 Jul 2008 04:35:32 -0700 (PDT) From: "james strachan (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1683) jiraissues macro doesn't work, we need to upgrade confluence or install the latest version of the jiraissues plugin In-Reply-To: <896094183.1216808251696.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615968#action_12615968 ] james strachan commented on INFRA-1683: --------------------------------------- That's be awesome Gavin - huge thanks! Replacing the jar for now sounds a great workaround until the major upgrade. (BTW I did try to upload a newer version through the UI but am guessing the installed jar overrides it). > jiraissues macro doesn't work, we need to upgrade confluence or install the latest version of the jiraissues plugin > ------------------------------------------------------------------------------------------------------------------- > > Key: INFRA-1683 > URL: https://issues.apache.org/jira/browse/INFRA-1683 > Project: Infrastructure > Issue Type: Bug > Security Level: public(Regular issues) > Components: Confluence > Reporter: james strachan > > I raised this issue with Atlassian... > https://support.atlassian.com/browse/CSP-21392 > about the jiraissues macro not rendering icons properly - e.g. see this example page > http://cwiki.apache.org/confluence/display/ACTIVEMQ/ActiveMQ+5.1.0+Release > but it turns out we're suffering from the JIRA 3.7 Link Format Change issue (see the table near the bottom of this page) > http://confluence.atlassian.com/display/DOC/JIRA+Issues+Macro > so we need to either upgrade to 2.2.10 or later of confluence - or install the latest JIRA plugin for confluence > http://confluence.atlassian.com/download/attachments/393/new-jira3.jar?version=1 > I tried upgrading the plugin myself but I don't think I can via the UI > Many thanks! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jul 23 20:56:00 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85562 invoked from network); 23 Jul 2008 20:55:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Jul 2008 20:55:56 -0000 Received: (qmail 15693 invoked by uid 500); 23 Jul 2008 20:55:53 -0000 Delivered-To: [email protected] Received: (qmail 15358 invoked by uid 500); 23 Jul 2008 20:55:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 15309 invoked by uid 99); 23 Jul 2008 20:55:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2008 13:55:52 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2008 20:55:06 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id DFBC0234C17C for <[email protected]>; Wed, 23 Jul 2008 13:55:31 -0700 (PDT) Message-ID: <1460923941.1216846531915.JavaMail.jira@brutus> Date: Wed, 23 Jul 2008 13:55:31 -0700 (PDT) From: "Torsten Curdt (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1672) Import missing branches from CVS into SVN In-Reply-To: <308881139.1215542191736.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616256#action_12616256 ] Torsten Curdt commented on INFRA-1672: -------------------------------------- Any problems here? > Import missing branches from CVS into SVN > ----------------------------------------- > > Key: INFRA-1672 > URL: https://issues.apache.org/jira/browse/INFRA-1672 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: CVS, Subversion > Reporter: Torsten Curdt > Priority: Minor > > Cocoon would like to preserve history in subversion. Some old branches were not converted from CVS. Could anyone please help with this? > Seems like we had the following [email protected]:/home/cvs/cocoon-1 > cocoon-1_8_2:1.11 > cocoon-1_8_1:1.10 > cocoon-1_8:1.8 > cocoon-1_7_4:1.7 > cocoon-1_7_3:1.7 > cocoon-1_7_2:1.7 > cocoon-1_7_1:1.7 > cocoon-1_7:1.7 > cocoon-1_6_1:1.5 > cocoon-1_6:1.5 > xml-cocoon2:161.129.204.104 > cocoon_16_dev:161.129.204.104 > stefano:1.1.1 > dirkx:161.129.204.104 > initial:1.1.1; > It would probably be the easiest to just import them into > http://svn.apache.org/repos/asf/cocoon/branches/ > And we do the cleanup in there. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 24 02:59:34 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82193 invoked from network); 24 Jul 2008 02:59:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2008 02:59:33 -0000 Received: (qmail 1341 invoked by uid 500); 24 Jul 2008 02:59:32 -0000 Delivered-To: [email protected] Received: (qmail 1144 invoked by uid 500); 24 Jul 2008 02:59:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 1132 invoked by uid 99); 24 Jul 2008 02:59:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2008 19:59:32 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jul 2008 02:58:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A3F60234C17C for <[email protected]>; Wed, 23 Jul 2008 19:58:31 -0700 (PDT) Message-ID: <2112867152.1216868311670.JavaMail.jira@brutus> Date: Wed, 23 Jul 2008 19:58:31 -0700 (PDT) From: "[email protected] (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1684) New Apache mirror at FPT Telecom MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org New Apache mirror at FPT Telecom -------------------------------- Key: INFRA-1684 URL: https://issues.apache.org/jira/browse/INFRA-1684 Project: Infrastructure Issue Type: Improvement Security Level: public (Regular issues) Components: Mirrors Environment: CentOS 5, Apache 2.2.3 Reporter: [email protected] * URL of mirror: http://mirror-fpt-telecom.fpt.net/apache and ftp://mirror-fpt-telecom.fpt.net/mirror/apache/ * Country where the mirror is located: Vietnam (VN) * Contact email address: [email protected] * Update frequency: 4 times per day * Rsync repository used: rsync.apache.org * Approximate bandwidth: 10Mbps * I have configured my HTTP server as requested: yes * I have subscribed to the mirror maintainers mailing list: yes * Mirror logo: http://mirror-fpt-telecom.fpt.net/images/fpt_telecom_logo.gif * Mirror logo link to: http://www.fpt.net/EN/ Regards, [email protected] -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 24 13:36:00 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54533 invoked from network); 24 Jul 2008 13:35:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2008 13:35:58 -0000 Received: (qmail 10400 invoked by uid 500); 24 Jul 2008 13:35:56 -0000 Delivered-To: [email protected] Received: (qmail 10099 invoked by uid 500); 24 Jul 2008 13:35:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 9750 invoked by uid 99); 24 Jul 2008 13:35:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jul 2008 06:35:54 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jul 2008 13:35:08 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C4409234C18D for <[email protected]>; Thu, 24 Jul 2008 06:35:33 -0700 (PDT) Message-ID: <1852827044.1216906533802.JavaMail.jira@brutus> Date: Thu, 24 Jul 2008 06:35:33 -0700 (PDT) From: "Norman Maurer (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1685) Account for JAMES MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Account for JAMES ------------------ Key: INFRA-1685 URL: https://issues.apache.org/jira/browse/INFRA-1685 Project: Infrastructure Issue Type: Task Security Level: public (Regular issues) Components: Hudson Reporter: Norman Maurer Hi all, we would like to add JAMES ( james.apache.org ) to hudson. Can you please create some account for us and send it to our pmc ? Thx Norman -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 24 18:11:57 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28217 invoked from network); 24 Jul 2008 18:11:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2008 18:11:53 -0000 Received: (qmail 55163 invoked by uid 500); 24 Jul 2008 18:11:52 -0000 Delivered-To: [email protected] Received: (qmail 54887 invoked by uid 500); 24 Jul 2008 18:11:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 54876 invoked by uid 99); 24 Jul 2008 18:11:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jul 2008 11:11:52 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jul 2008 18:11:06 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id EE578234C17F for <[email protected]>; Thu, 24 Jul 2008 11:11:31 -0700 (PDT) Message-ID: <1853400334.1216923091975.JavaMail.jira@brutus> Date: Thu, 24 Jul 2008 11:11:31 -0700 (PDT) From: "Nigel Daley (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (INFRA-1685) Account for JAMES In-Reply-To: <1852827044.1216906533802.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nigel Daley updated INFRA-1685: ------------------------------- Norman, accounts on hudson.zones.apache.org (both Unix and Hudson UI) are given to *individual* Apache committers. Please provide the names and apache id's on this ticket for those folks that would like accounts. Once accounts are setup, passwords are sent to the individuals. > Account for JAMES > ------------------ > > Key: INFRA-1685 > URL: https://issues.apache.org/jira/browse/INFRA-1685 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Hudson > Reporter: Norman Maurer > > Hi all, > we would like to add JAMES ( james.apache.org ) to hudson. Can you please create some account for us and send it to our pmc ? > Thx > Norman -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 24 20:08:24 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11288 invoked from network); 24 Jul 2008 20:08:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jul 2008 20:08:23 -0000 Received: (qmail 24321 invoked by uid 500); 24 Jul 2008 20:08:22 -0000 Delivered-To: [email protected] Received: (qmail 24084 invoked by uid 500); 24 Jul 2008 20:08:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 24073 invoked by uid 99); 24 Jul 2008 20:08:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jul 2008 13:08:22 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jul 2008 20:07:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id BF0DD234C180 for <[email protected]>; Thu, 24 Jul 2008 13:07:31 -0700 (PDT) Message-ID: <218827176.1216930051781.JavaMail.jira@brutus> Date: Thu, 24 Jul 2008 13:07:31 -0700 (PDT) From: "Norman Maurer (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1685) Account for JAMES In-Reply-To: <1852827044.1216906533802.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616621#action_12616621 ] Norman Maurer commented on INFRA-1685: -------------------------------------- well then It's prolly me : norman (Norman Maurer) Thx > Account for JAMES > ------------------ > > Key: INFRA-1685 > URL: https://issues.apache.org/jira/browse/INFRA-1685 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Hudson > Reporter: Norman Maurer > > Hi all, > we would like to add JAMES ( james.apache.org ) to hudson. Can you please create some account for us and send it to our pmc ? > Thx > Norman -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jul 25 05:48:37 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71223 invoked from network); 25 Jul 2008 05:48:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jul 2008 05:48:23 -0000 Received: (qmail 94408 invoked by uid 500); 25 Jul 2008 05:48:22 -0000 Delivered-To: [email protected] Received: (qmail 94199 invoked by uid 500); 25 Jul 2008 05:48:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 94188 invoked by uid 99); 25 Jul 2008 05:48:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jul 2008 22:48:21 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jul 2008 05:47:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 9D3A7234C17F for <[email protected]>; Thu, 24 Jul 2008 22:47:31 -0700 (PDT) Message-ID: <1143899363.1216964851629.JavaMail.jira@brutus> Date: Thu, 24 Jul 2008 22:47:31 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (INFRA-1677) Create empire-db JIRA category In-Reply-To: <1279847116.1215617251745.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gavin updated INFRA-1677: ------------------------- Component/s: JIRA > Create empire-db JIRA category > ------------------------------ > > Key: INFRA-1677 > URL: https://issues.apache.org/jira/browse/INFRA-1677 > Project: Infrastructure > Issue Type: Sub-task > Security Level: public(Regular issues) > Components: JIRA > Reporter: Henning Schmiedehausen > > Please create a new JIRA subcategory 'EMPIRE-DB' for the Empire-db project. > Please add henning, tfischer and dashorst as admins for this category. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jul 25 07:35:54 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25669 invoked from network); 25 Jul 2008 07:35:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jul 2008 07:35:53 -0000 Received: (qmail 83573 invoked by uid 500); 25 Jul 2008 07:35:52 -0000 Delivered-To: [email protected] Received: (qmail 83347 invoked by uid 500); 25 Jul 2008 07:35:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 83336 invoked by uid 99); 25 Jul 2008 07:35:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jul 2008 00:35:51 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jul 2008 07:35:06 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C719C234C186 for <[email protected]>; Fri, 25 Jul 2008 00:35:31 -0700 (PDT) Message-ID: <336535721.1216971331814.JavaMail.jira@brutus> Date: Fri, 25 Jul 2008 00:35:31 -0700 (PDT) From: "Brett Porter (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (INFRA-1667) [email protected] In-Reply-To: <1021818188.1214927565048.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brett Porter closed INFRA-1667. ------------------------------- Resolution: Fixed Assignee: Brett Porter created > [email protected] > ----------------------------------- > > Key: INFRA-1667 > URL: https://issues.apache.org/jira/browse/INFRA-1667 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Mailing Lists > Reporter: Alan Cabrera > Assignee: Brett Porter > > Please create a new mailing list for the JSecurity users. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jul 25 07:49:54 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33456 invoked from network); 25 Jul 2008 07:49:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jul 2008 07:49:53 -0000 Received: (qmail 98263 invoked by uid 500); 25 Jul 2008 07:49:52 -0000 Delivered-To: [email protected] Received: (qmail 98016 invoked by uid 500); 25 Jul 2008 07:49:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 98005 invoked by uid 99); 25 Jul 2008 07:49:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jul 2008 00:49:52 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jul 2008 07:49:06 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D4347234C180 for <[email protected]>; Fri, 25 Jul 2008 00:49:31 -0700 (PDT) Message-ID: <565730516.1216972171866.JavaMail.jira@brutus> Date: Fri, 25 Jul 2008 00:49:31 -0700 (PDT) From: "Brett Porter (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (INFRA-1639) apachecon-planners-2007-asia archiving all going to "200705 In-Reply-To: <1088673379.1212591705181.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brett Porter closed INFRA-1639. ------------------------------- Resolution: Fixed > apachecon-planners-2007-asia archiving all going to "200705 > ----------------------------------------------------------- > > Key: INFRA-1639 > URL: https://issues.apache.org/jira/browse/INFRA-1639 > Project: Infrastructure > Issue Type: Bug > Security Level: public(Regular issues) > Components: Mail Archives > Reporter: Hoss Man > Assignee: Brett Porter > Priority: Trivial > > something odd is going on with the [email protected] list archiving ... instead of seperate files per month, all mail is winding up in... > /home/apmail/private-arch/apachecon-planners-2007-asia/200705 > hossman@minotaur$ ls -l apachecon-planners-2007-asia/ > total 22416 > -rw-r----- 1 apmail member 22935248 May 19 18:15 200705 > hossman@minotaur$ head -100 apachecon-planners-2007-asia/200705 | grep Date > Date: Sat, 05 May 2007 12:23:03 -0400 > Date: Sun, 6 May 2007 08:42:11 +0200 > hossman@minotaur$ tail -100 apachecon-planners-2007-asia/200705 | grep Date > Date: Mon, 19 May 2008 20:15:18 +0200 > > Version: 7.5.524 / Virus Database: 330.738.6477 - Release Date: > hossman@minotaur$ -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jul 25 07:53:54 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37947 invoked from network); 25 Jul 2008 07:53:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jul 2008 07:53:53 -0000 Received: (qmail 3089 invoked by uid 500); 25 Jul 2008 07:53:52 -0000 Delivered-To: [email protected] Received: (qmail 2737 invoked by uid 500); 25 Jul 2008 07:53:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 2726 invoked by uid 99); 25 Jul 2008 07:53:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jul 2008 00:53:51 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jul 2008 07:53:06 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id BC656234C184 for <[email protected]>; Fri, 25 Jul 2008 00:53:31 -0700 (PDT) Message-ID: <1667011963.1216972411770.JavaMail.jira@brutus> Date: Fri, 25 Jul 2008 00:53:31 -0700 (PDT) From: "Brett Porter (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (INFRA-1674) Create empire-db mailing lists In-Reply-To: <244705259.1215616771710.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brett Porter closed INFRA-1674. ------------------------------- Resolution: Fixed Assignee: Brett Porter > Create empire-db mailing lists > ------------------------------ > > Key: INFRA-1674 > URL: https://issues.apache.org/jira/browse/INFRA-1674 > Project: Infrastructure > Issue Type: Sub-task > Security Level: public(Regular issues) > Components: Mailing Lists > Reporter: Henning Schmiedehausen > Assignee: Brett Porter > > Please set up > [email protected] > [email protected] > [email protected] > [email protected] > Please add me ([email protected].) as moderator. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jul 25 07:54:25 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38871 invoked from network); 25 Jul 2008 07:54:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jul 2008 07:54:23 -0000 Received: (qmail 3609 invoked by uid 500); 25 Jul 2008 07:54:22 -0000 Delivered-To: [email protected] Received: (qmail 3249 invoked by uid 500); 25 Jul 2008 07:54:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 3231 invoked by uid 99); 25 Jul 2008 07:54:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jul 2008 00:54:21 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jul 2008 07:53:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B38B3234C180 for <[email protected]>; Fri, 25 Jul 2008 00:53:31 -0700 (PDT) Message-ID: <215209374.1216972411734.JavaMail.jira@brutus> Date: Fri, 25 Jul 2008 00:53:31 -0700 (PDT) From: "Brett Porter (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1674) Create empire-db mailing lists In-Reply-To: <244705259.1215616771710.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616791#action_12616791 ] Brett Porter commented on INFRA-1674: ------------------------------------- created, though renamed scm to commits and ppmc to private per conventions > Create empire-db mailing lists > ------------------------------ > > Key: INFRA-1674 > URL: https://issues.apache.org/jira/browse/INFRA-1674 > Project: Infrastructure > Issue Type: Sub-task > Security Level: public(Regular issues) > Components: Mailing Lists > Reporter: Henning Schmiedehausen > > Please set up > [email protected] > [email protected] > [email protected] > [email protected] > Please add me ([email protected].) as moderator. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jul 25 08:31:56 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55522 invoked from network); 25 Jul 2008 08:31:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jul 2008 08:31:53 -0000 Received: (qmail 52939 invoked by uid 500); 25 Jul 2008 08:31:53 -0000 Delivered-To: [email protected] Received: (qmail 52585 invoked by uid 500); 25 Jul 2008 08:31:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 52574 invoked by uid 99); 25 Jul 2008 08:31:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jul 2008 01:31:52 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jul 2008 08:31:06 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id EA803234C188 for <[email protected]>; Fri, 25 Jul 2008 01:31:31 -0700 (PDT) Message-ID: <1267323531.1216974691959.JavaMail.jira@brutus> Date: Fri, 25 Jul 2008 01:31:31 -0700 (PDT) From: "Henning Schmiedehausen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Reopened: (INFRA-1674) Create empire-db mailing lists In-Reply-To: <244705259.1215616771710.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henning Schmiedehausen reopened INFRA-1674: ------------------------------------------- Thx! I am still waiting for the committer accounts to be set up to add a list of initial members. Will update the ticket as soon as I have it. > Create empire-db mailing lists > ------------------------------ > > Key: INFRA-1674 > URL: https://issues.apache.org/jira/browse/INFRA-1674 > Project: Infrastructure > Issue Type: Sub-task > Security Level: public(Regular issues) > Components: Mailing Lists > Reporter: Henning Schmiedehausen > Assignee: Brett Porter > > Please set up > [email protected] > [email protected] > [email protected] > [email protected] > Please add me ([email protected].) as moderator. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jul 25 17:28:28 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22831 invoked from network); 25 Jul 2008 17:28:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jul 2008 17:28:27 -0000 Received: (qmail 61320 invoked by uid 500); 25 Jul 2008 17:28:26 -0000 Delivered-To: [email protected] Received: (qmail 61107 invoked by uid 500); 25 Jul 2008 17:28:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 61095 invoked by uid 99); 25 Jul 2008 17:28:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jul 2008 10:28:25 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jul 2008 17:27:40 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D1A4A234C187 for <[email protected]>; Fri, 25 Jul 2008 10:27:35 -0700 (PDT) Message-ID: <1046383567.1217006855857.JavaMail.jira@brutus> Date: Fri, 25 Jul 2008 10:27:35 -0700 (PDT) From: "Nigel Daley (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (INFRA-1685) Account for JAMES In-Reply-To: <1852827044.1216906533802.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nigel Daley resolved INFRA-1685. -------------------------------- Resolution: Fixed Assignee: Nigel Daley You're all set Norman. I sent details to your apache.org address. Please let me know if others on your PMC want accounts :-) Also, let me know if you have questions on setting up your builds. > Account for JAMES > ------------------ > > Key: INFRA-1685 > URL: https://issues.apache.org/jira/browse/INFRA-1685 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Hudson > Reporter: Norman Maurer > Assignee: Nigel Daley > > Hi all, > we would like to add JAMES ( james.apache.org ) to hudson. Can you please create some account for us and send it to our pmc ? > Thx > Norman -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jul 25 17:38:37 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29583 invoked from network); 25 Jul 2008 17:38:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jul 2008 17:38:34 -0000 Received: (qmail 80231 invoked by uid 500); 25 Jul 2008 17:38:33 -0000 Delivered-To: [email protected] Received: (qmail 80010 invoked by uid 500); 25 Jul 2008 17:38:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 79999 invoked by uid 99); 25 Jul 2008 17:38:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jul 2008 10:38:33 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jul 2008 17:37:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id AA100234C189 for <[email protected]>; Fri, 25 Jul 2008 10:37:31 -0700 (PDT) Message-ID: <1517177264.1217007451695.JavaMail.jira@brutus> Date: Fri, 25 Jul 2008 10:37:31 -0700 (PDT) From: "Mirror-NUS (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1686) New Mirror MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org New Mirror ---------- Key: INFRA-1686 URL: https://issues.apache.org/jira/browse/INFRA-1686 Project: Infrastructure Issue Type: Task Security Level: public (Regular issues) Components: Mirrors Reporter: Mirror-NUS Below are the information required as stated in the How to. Thanks. * URL of mirror http://mirror.nus.edu.sg/apache/ * Country where the mirror is located Singapore (SG) * Contact email address [email protected] * Update frequency Twice daily * Rsync repository used rsync://rsync.apache.org/apache-dist/ * Approximate bandwidth 155Mbps * I have configured my HTTP server as requested (yes/no) Yes * I have subscribed to the mirror maintainers mailing list (yes/no) Yes -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jul 25 18:30:44 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68668 invoked from network); 25 Jul 2008 18:30:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jul 2008 18:30:41 -0000 Received: (qmail 53128 invoked by uid 500); 25 Jul 2008 18:30:34 -0000 Delivered-To: [email protected] Received: (qmail 52960 invoked by uid 500); 25 Jul 2008 18:30:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 52938 invoked by uid 99); 25 Jul 2008 18:30:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jul 2008 11:30:34 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jul 2008 18:29:37 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D5368234C190 for <[email protected]>; Fri, 25 Jul 2008 11:29:31 -0700 (PDT) Message-ID: <175629788.1217010571872.JavaMail.jira@brutus> Date: Fri, 25 Jul 2008 11:29:31 -0700 (PDT) From: "Les Hazlewood (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1687) Migrate JSecurity from SourceForge SVN repository to ASF Incubator SVN repository MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Migrate JSecurity from SourceForge SVN repository to ASF Incubator SVN repository --------------------------------------------------------------------------------- Key: INFRA-1687 URL: https://issues.apache.org/jira/browse/INFRA-1687 Project: Infrastructure Issue Type: Task Security Level: public (Regular issues) Components: Subversion Reporter: Les Hazlewood Priority: Blocker Hello, As part of our entry into the ASF Incubator process, we need to migrate our existing code over from SourceForge. But it is extremely important to retain the previous 4 years worth of commit/revision history in the process. After doing some googling, it appears the correct way to do this is to use the 'svnsync' command, which requires some modifications on the ASF side: 1. The existing repository mapped to https://svn.apache.org/repos/asf/incubator/jsecurity needs to be blown away entirely and recreated with zero revision history - that is, after 'svnadmin create', don't create the usual trunk, branches and tags directories - see the steps in #2 below. Here is the email thread that verifies we've agreed to do this: http://jsecurity.markmail.org/search/?q=list:org.apache.incubator.jsecurity-dev#query:list%3Aorg.apache.incubator.jsecurity-dev+page:1+mid:53yhu357qfkuc3fs+state:results There is only a trivial amount in our current incubator repository - not a problem for us to recreate what little is there after the migration is complete. 2. From what I've seen after researching with google, the following needs to be run: $ cd <wherever 'svnadmin create' will be run - should map to https://svn.apache.org/repos/asf/incubator/jsecurity> $ svnadmin create jsecurity $ svnsync init --username <your_username> https://svn.apache.org/repos/asf/incubator/jsecurity https://jsecurity.svn.sourceforge.net/svnroot/jsecurity Copied properties for revision 0. $ svnsync sync --username <your_username> https://svn.apache.org/repos/asf/incubator/jsecurity Committed revision 1. Copied properties for revision 1. Committed revision 2. Copied properties for revision 2. [...] I have currently disabled all commit access to our SF SVN server, so there is no fear of inconsistent data, so the above can be run at any time (hopefully sooner than later since our dev team can't do anything until this is complete - hence the 'Blocker' status ;) ). Here are the resources I referenced while putting this request together: http://groups.google.com/group/google-code-hosting/browse_thread/thread/0efbf53955bedee5/f5c7f47a7687fad2 http://code.google.com/support/bin/answer.py?answer=56673&topic=10386 http://journal.paul.querna.org/articles/2006/09/14/using-svnsync/ Please feel free to contact me at [email protected] with any questions. Thanks so much!!! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jul 25 19:16:06 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 977 invoked from network); 25 Jul 2008 19:16:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jul 2008 19:16:03 -0000 Received: (qmail 16302 invoked by uid 500); 25 Jul 2008 19:16:02 -0000 Delivered-To: [email protected] Received: (qmail 16056 invoked by uid 500); 25 Jul 2008 19:16:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 16045 invoked by uid 99); 25 Jul 2008 19:16:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jul 2008 12:16:02 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jul 2008 19:15:06 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B3CD8234C185 for <[email protected]>; Fri, 25 Jul 2008 12:15:31 -0700 (PDT) Message-ID: <448071652.1217013331735.JavaMail.jira@brutus> Date: Fri, 25 Jul 2008 12:15:31 -0700 (PDT) From: "Alan Cabrera (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1687) Migrate JSecurity from SourceForge SVN repository to ASF Incubator SVN repository In-Reply-To: <175629788.1217010571872.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617014#action_12617014 ] Alan Cabrera commented on INFRA-1687: ------------------------------------- Just a heads up. The userids in the SourceForge repo will not match the ASF user ids. > Migrate JSecurity from SourceForge SVN repository to ASF Incubator SVN repository > --------------------------------------------------------------------------------- > > Key: INFRA-1687 > URL: https://issues.apache.org/jira/browse/INFRA-1687 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Subversion > Reporter: Les Hazlewood > Priority: Blocker > > Hello, > As part of our entry into the ASF Incubator process, we need to migrate our existing code over from SourceForge. But it is extremely important to retain the previous 4 years worth of commit/revision history in the process. > After doing some googling, it appears the correct way to do this is to use the 'svnsync' command, which requires some modifications on the ASF side: > 1. The existing repository mapped to https://svn.apache.org/repos/asf/incubator/jsecurity needs to be blown away entirely and recreated with zero revision history - that is, after 'svnadmin create', don't create the usual trunk, branches and tags directories - see the steps in #2 below. > Here is the email thread that verifies we've agreed to do this: > http://jsecurity.markmail.org/search/?q=list:org.apache.incubator.jsecurity-dev#query:list%3Aorg.apache.incubator.jsecurity-dev+page:1+mid:53yhu357qfkuc3fs+state:results > There is only a trivial amount in our current incubator repository - not a problem for us to recreate what little is there after the migration is complete. > 2. From what I've seen after researching with google, the following needs to be run: > $ cd <wherever 'svnadmin create' will be run - should map to https://svn.apache.org/repos/asf/incubator/jsecurity> > $ svnadmin create jsecurity > $ svnsync init --username <your_username> https://svn.apache.org/repos/asf/incubator/jsecurity https://jsecurity.svn.sourceforge.net/svnroot/jsecurity > Copied properties for revision 0. > $ svnsync sync --username <your_username> https://svn.apache.org/repos/asf/incubator/jsecurity > Committed revision 1. > Copied properties for revision 1. > Committed revision 2. > Copied properties for revision 2. > [...] > I have currently disabled all commit access to our SF SVN server, so there is no fear of inconsistent data, so the above can be run at any time (hopefully sooner than later since our dev team can't do anything until this is complete - hence the 'Blocker' status ;) ). > Here are the resources I referenced while putting this request together: > http://groups.google.com/group/google-code-hosting/browse_thread/thread/0efbf53955bedee5/f5c7f47a7687fad2 > http://code.google.com/support/bin/answer.py?answer=56673&topic=10386 > http://journal.paul.querna.org/articles/2006/09/14/using-svnsync/ > Please feel free to contact me at [email protected] with any questions. > Thanks so much!!! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jul 25 20:58:25 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64703 invoked from network); 25 Jul 2008 20:58:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jul 2008 20:58:23 -0000 Received: (qmail 33079 invoked by uid 500); 25 Jul 2008 20:58:22 -0000 Delivered-To: [email protected] Received: (qmail 32861 invoked by uid 500); 25 Jul 2008 20:58:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32849 invoked by uid 99); 25 Jul 2008 20:58:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jul 2008 13:58:22 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jul 2008 20:57:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C44B8234C187 for <[email protected]>; Fri, 25 Jul 2008 13:57:31 -0700 (PDT) Message-ID: <1679921688.1217019451803.JavaMail.jira@brutus> Date: Fri, 25 Jul 2008 13:57:31 -0700 (PDT) From: "Stefano Bagnara (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1685) Account for JAMES In-Reply-To: <1852827044.1216906533802.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617056#action_12617056 ] Stefano Bagnara commented on INFRA-1685: ---------------------------------------- I'd like to have an account too: If norman can also create account I'll ask him, otherwise bago@ apache is my address and I'm in James PMC, too. Thank you! > Account for JAMES > ------------------ > > Key: INFRA-1685 > URL: https://issues.apache.org/jira/browse/INFRA-1685 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Hudson > Reporter: Norman Maurer > Assignee: Nigel Daley > > Hi all, > we would like to add JAMES ( james.apache.org ) to hudson. Can you please create some account for us and send it to our pmc ? > Thx > Norman -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Jul 26 00:21:54 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79713 invoked from network); 26 Jul 2008 00:21:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Jul 2008 00:21:53 -0000 Received: (qmail 63484 invoked by uid 500); 26 Jul 2008 00:21:52 -0000 Delivered-To: [email protected] Received: (qmail 63213 invoked by uid 500); 26 Jul 2008 00:21:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 63202 invoked by uid 99); 26 Jul 2008 00:21:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jul 2008 17:21:51 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 00:21:05 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B42B9234C185 for <[email protected]>; Fri, 25 Jul 2008 17:21:31 -0700 (PDT) Message-ID: <667615124.1217031691736.JavaMail.jira@brutus> Date: Fri, 25 Jul 2008 17:21:31 -0700 (PDT) From: "Luciano Resende (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1525) HTTP ERROR: 500 trying to modify a user role in Continuum (vmbuild1) In-Reply-To: <3760666.1203095768132.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617105#action_12617105 ] Luciano Resende commented on INFRA-1525: ---------------------------------------- I still see the same issue. > HTTP ERROR: 500 trying to modify a user role in Continuum (vmbuild1) > -------------------------------------------------------------------- > > Key: INFRA-1525 > URL: https://issues.apache.org/jira/browse/INFRA-1525 > Project: Infrastructure > Issue Type: Bug > Security Level: public(Regular issues) > Components: Continuum > Reporter: Luciano Resende > > I'm trying to give some users (mcombellack and svkrish) more karma towards the Tuscany build project at vmbuild1 continuum, but when I click on edit roles, I keep getting the following message : > Current User: Luciano Resende > HTTP ERROR: 500 > org.codehaus.plexus.redback.role.model.ModelRole cannot be cast to > org.codehaus.plexus.redback.rbac.Role > RequestURI=/continuum/security/assignments.action -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Jul 26 08:06:35 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51295 invoked from network); 26 Jul 2008 08:06:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Jul 2008 08:06:32 -0000 Received: (qmail 28023 invoked by uid 500); 26 Jul 2008 08:06:31 -0000 Delivered-To: [email protected] Received: (qmail 27762 invoked by uid 500); 26 Jul 2008 08:06:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 27750 invoked by uid 99); 26 Jul 2008 08:06:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 01:06:31 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 08:05:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 17DEE234C186 for <[email protected]>; Sat, 26 Jul 2008 01:05:32 -0700 (PDT) Message-ID: <1722738015.1217059532096.JavaMail.jira@brutus> Date: Sat, 26 Jul 2008 01:05:32 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (INFRA-1671) New Official Country Mirror In-Reply-To: <291428016.1215503975488.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gavin closed INFRA-1671. ------------------------ Resolution: Fixed Image added, thanks. > New Official Country Mirror > --------------------------- > > Key: INFRA-1671 > URL: https://issues.apache.org/jira/browse/INFRA-1671 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Mirrors > Environment: FreeBSD 7.0-STABLE > Reporter: Tigran > > * URL of mirror : http://apache.mirrors.adc.am > * Country where the mirror is located : Yerevan, Armenia > * Contact email address: [email protected] > * Update frequency : daily > * Rsync repository used : rsync.eu.apache.org > * Approximate bandwidth: 100 Mbit/s > * I have configured my HTTP server as requested (yes/no) : yes > * I have subscribed to the mirror maintainers mailing list (yes/no) : yes -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Jul 26 08:12:35 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52577 invoked from network); 26 Jul 2008 08:12:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Jul 2008 08:12:34 -0000 Received: (qmail 30023 invoked by uid 500); 26 Jul 2008 08:12:33 -0000 Delivered-To: [email protected] Received: (qmail 29797 invoked by uid 500); 26 Jul 2008 08:12:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 29786 invoked by uid 99); 26 Jul 2008 08:12:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 01:12:33 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 08:11:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 1655B234C189 for <[email protected]>; Sat, 26 Jul 2008 01:11:32 -0700 (PDT) Message-ID: <972574802.1217059892090.JavaMail.jira@brutus> Date: Sat, 26 Jul 2008 01:11:32 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (INFRA-1682) Re-registering apache.ntua.gr mirror In-Reply-To: <867595430.1216579111666.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gavin reassigned INFRA-1682: ---------------------------- Assignee: Gavin > Re-registering apache.ntua.gr mirror > ------------------------------------ > > Key: INFRA-1682 > URL: https://issues.apache.org/jira/browse/INFRA-1682 > Project: Infrastructure > Issue Type: Improvement > Security Level: public(Regular issues) > Components: Mirrors > Environment: FreeBSD 5.2.1, Apache HTTPD 2.2.9 > Reporter: Panagiotis Christias > Assignee: Gavin > > Hello, > I would like to re-register the apache mirror [email protected] (National Technical University of Athens, Greece): > * URL of mirror: http://apache.ntua.gr/ and ftp://ftp.ntua.gr/pub/www/apache/ (both IPv4 and IPv6) > * Country where the mirror is located: Greece (GR) > * Contact email address: [email protected] > * Update frequency: 4 times per day > * Rsync repository used: rsync.eu.apache.org > * Approximate bandwidth: 1 Gbps link to internet > * I have configured my HTTP server as requested: yes > * I have subscribed to the mirror maintainers mailing list: yes > * Mirror logo: http://ftp.ntua.gr/images/ntua-100x34.png > * Mirror logo link to: http://www.ntua.gr/ > Regards, > Panagiotis -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Jul 26 08:14:36 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53555 invoked from network); 26 Jul 2008 08:14:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Jul 2008 08:14:34 -0000 Received: (qmail 30581 invoked by uid 500); 26 Jul 2008 08:14:33 -0000 Delivered-To: [email protected] Received: (qmail 30323 invoked by uid 500); 26 Jul 2008 08:14:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30312 invoked by uid 99); 26 Jul 2008 08:14:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 01:14:33 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 08:13:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 0B8DB234C189 for <[email protected]>; Sat, 26 Jul 2008 01:13:32 -0700 (PDT) Message-ID: <2101161083.1217060012046.JavaMail.jira@brutus> Date: Sat, 26 Jul 2008 01:13:32 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1682) Re-registering apache.ntua.gr mirror In-Reply-To: <867595430.1216579111666.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617130#action_12617130 ] Gavin commented on INFRA-1682: ------------------------------ You haven't updated your mirror since you opened this issue, can you correct this and let us know when it is running ok. > Re-registering apache.ntua.gr mirror > ------------------------------------ > > Key: INFRA-1682 > URL: https://issues.apache.org/jira/browse/INFRA-1682 > Project: Infrastructure > Issue Type: Improvement > Security Level: public(Regular issues) > Components: Mirrors > Environment: FreeBSD 5.2.1, Apache HTTPD 2.2.9 > Reporter: Panagiotis Christias > Assignee: Gavin > > Hello, > I would like to re-register the apache mirror [email protected] (National Technical University of Athens, Greece): > * URL of mirror: http://apache.ntua.gr/ and ftp://ftp.ntua.gr/pub/www/apache/ (both IPv4 and IPv6) > * Country where the mirror is located: Greece (GR) > * Contact email address: [email protected] > * Update frequency: 4 times per day > * Rsync repository used: rsync.eu.apache.org > * Approximate bandwidth: 1 Gbps link to internet > * I have configured my HTTP server as requested: yes > * I have subscribed to the mirror maintainers mailing list: yes > * Mirror logo: http://ftp.ntua.gr/images/ntua-100x34.png > * Mirror logo link to: http://www.ntua.gr/ > Regards, > Panagiotis -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Jul 26 08:16:05 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54352 invoked from network); 26 Jul 2008 08:16:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Jul 2008 08:16:04 -0000 Received: (qmail 31214 invoked by uid 500); 26 Jul 2008 08:16:03 -0000 Delivered-To: [email protected] Received: (qmail 31023 invoked by uid 500); 26 Jul 2008 08:16:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31012 invoked by uid 99); 26 Jul 2008 08:16:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 01:16:02 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 08:15:06 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 13E0A234C189 for <[email protected]>; Sat, 26 Jul 2008 01:15:32 -0700 (PDT) Message-ID: <1753900151.1217060132080.JavaMail.jira@brutus> Date: Sat, 26 Jul 2008 01:15:32 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (INFRA-1684) New Apache mirror at FPT Telecom In-Reply-To: <2112867152.1216868311670.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gavin reassigned INFRA-1684: ---------------------------- Assignee: Gavin > New Apache mirror at FPT Telecom > -------------------------------- > > Key: INFRA-1684 > URL: https://issues.apache.org/jira/browse/INFRA-1684 > Project: Infrastructure > Issue Type: Improvement > Security Level: public(Regular issues) > Components: Mirrors > Environment: CentOS 5, Apache 2.2.3 > Reporter: [email protected] > Assignee: Gavin > Original Estimate: 24h > Remaining Estimate: 24h > > * URL of mirror: http://mirror-fpt-telecom.fpt.net/apache and ftp://mirror-fpt-telecom.fpt.net/mirror/apache/ > * Country where the mirror is located: Vietnam (VN) > * Contact email address: [email protected] > * Update frequency: 4 times per day > * Rsync repository used: rsync.apache.org > * Approximate bandwidth: 10Mbps > * I have configured my HTTP server as requested: yes > * I have subscribed to the mirror maintainers mailing list: yes > * Mirror logo: http://mirror-fpt-telecom.fpt.net/images/fpt_telecom_logo.gif > * Mirror logo link to: http://www.fpt.net/EN/ > Regards, > [email protected] -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Jul 26 08:18:04 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55214 invoked from network); 26 Jul 2008 08:18:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Jul 2008 08:18:03 -0000 Received: (qmail 32031 invoked by uid 500); 26 Jul 2008 08:18:02 -0000 Delivered-To: [email protected] Received: (qmail 31783 invoked by uid 500); 26 Jul 2008 08:18:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31771 invoked by uid 99); 26 Jul 2008 08:18:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 01:18:02 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 08:17:05 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B6120234C185 for <[email protected]>; Sat, 26 Jul 2008 01:17:31 -0700 (PDT) Message-ID: <789038310.1217060251730.JavaMail.jira@brutus> Date: Sat, 26 Jul 2008 01:17:31 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Work logged: (INFRA-1684) New Apache mirror at FPT Telecom In-Reply-To: <2112867152.1216868311670.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1684?page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#action_10727 ] Gavin logged work on INFRA-1684: -------------------------------- Author: Gavin Created on: 26/Jul/08 01:16 AM Start Date: 26/Jul/08 01:15 AM Worklog Time Spent: 0.17h Issue Time Tracking ------------------- Time Spent: 0.17h Remaining Estimate: 0h (was: 24h) > New Apache mirror at FPT Telecom > -------------------------------- > > Key: INFRA-1684 > URL: https://issues.apache.org/jira/browse/INFRA-1684 > Project: Infrastructure > Issue Type: Improvement > Security Level: public(Regular issues) > Components: Mirrors > Environment: CentOS 5, Apache 2.2.3 > Reporter: [email protected] > Assignee: Gavin > Original Estimate: 24h > Time Spent: 0.17h > Remaining Estimate: 0h > > * URL of mirror: http://mirror-fpt-telecom.fpt.net/apache and ftp://mirror-fpt-telecom.fpt.net/mirror/apache/ > * Country where the mirror is located: Vietnam (VN) > * Contact email address: [email protected] > * Update frequency: 4 times per day > * Rsync repository used: rsync.apache.org > * Approximate bandwidth: 10Mbps > * I have configured my HTTP server as requested: yes > * I have subscribed to the mirror maintainers mailing list: yes > * Mirror logo: http://mirror-fpt-telecom.fpt.net/images/fpt_telecom_logo.gif > * Mirror logo link to: http://www.fpt.net/EN/ > Regards, > [email protected] -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Jul 26 08:18:36 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55903 invoked from network); 26 Jul 2008 08:18:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Jul 2008 08:18:33 -0000 Received: (qmail 32482 invoked by uid 500); 26 Jul 2008 08:18:32 -0000 Delivered-To: [email protected] Received: (qmail 32246 invoked by uid 500); 26 Jul 2008 08:18:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32235 invoked by uid 99); 26 Jul 2008 08:18:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 01:18:32 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 08:17:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C5FC6234C189 for <[email protected]>; Sat, 26 Jul 2008 01:17:31 -0700 (PDT) Message-ID: <2091982952.1217060251809.JavaMail.jira@brutus> Date: Sat, 26 Jul 2008 01:17:31 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (INFRA-1684) New Apache mirror at FPT Telecom In-Reply-To: <2112867152.1216868311670.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gavin closed INFRA-1684. ------------------------ Resolution: Fixed Assignee: (was: Gavin) Added, thanks. > New Apache mirror at FPT Telecom > -------------------------------- > > Key: INFRA-1684 > URL: https://issues.apache.org/jira/browse/INFRA-1684 > Project: Infrastructure > Issue Type: Improvement > Security Level: public(Regular issues) > Components: Mirrors > Environment: CentOS 5, Apache 2.2.3 > Reporter: [email protected] > Original Estimate: 24h > Time Spent: 0.17h > Remaining Estimate: 0h > > * URL of mirror: http://mirror-fpt-telecom.fpt.net/apache and ftp://mirror-fpt-telecom.fpt.net/mirror/apache/ > * Country where the mirror is located: Vietnam (VN) > * Contact email address: [email protected] > * Update frequency: 4 times per day > * Rsync repository used: rsync.apache.org > * Approximate bandwidth: 10Mbps > * I have configured my HTTP server as requested: yes > * I have subscribed to the mirror maintainers mailing list: yes > * Mirror logo: http://mirror-fpt-telecom.fpt.net/images/fpt_telecom_logo.gif > * Mirror logo link to: http://www.fpt.net/EN/ > Regards, > [email protected] -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Jul 26 08:18:39 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56150 invoked from network); 26 Jul 2008 08:18:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Jul 2008 08:18:35 -0000 Received: (qmail 32903 invoked by uid 500); 26 Jul 2008 08:18:34 -0000 Delivered-To: [email protected] Received: (qmail 32657 invoked by uid 500); 26 Jul 2008 08:18:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32646 invoked by uid 99); 26 Jul 2008 08:18:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 01:18:34 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 08:17:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id CE332234C18C for <[email protected]>; Sat, 26 Jul 2008 01:17:31 -0700 (PDT) Message-ID: <330.738.6477.1217060251843.JavaMail.jira@brutus> Date: Sat, 26 Jul 2008 01:17:31 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (INFRA-1686) New Mirror In-Reply-To: <1517177264.1217007451695.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gavin reassigned INFRA-1686: ---------------------------- Assignee: Gavin > New Mirror > ---------- > > Key: INFRA-1686 > URL: https://issues.apache.org/jira/browse/INFRA-1686 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Mirrors > Reporter: Mirror-NUS > Assignee: Gavin > > Below are the information required as stated in the How to. Thanks. > * URL of mirror > http://mirror.nus.edu.sg/apache/ > * Country where the mirror is located > Singapore (SG) > * Contact email address > [email protected] > * Update frequency > Twice daily > * Rsync repository used > rsync://rsync.apache.org/apache-dist/ > * Approximate bandwidth > 155Mbps > * I have configured my HTTP server as requested (yes/no) > Yes > * I have subscribed to the mirror maintainers mailing list (yes/no) > Yes -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Jul 26 08:20:35 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57337 invoked from network); 26 Jul 2008 08:20:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Jul 2008 08:20:34 -0000 Received: (qmail 33442 invoked by uid 500); 26 Jul 2008 08:20:33 -0000 Delivered-To: [email protected] Received: (qmail 33224 invoked by uid 500); 26 Jul 2008 08:20:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 33211 invoked by uid 99); 26 Jul 2008 08:20:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 01:20:32 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 08:19:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A4909234C186 for <[email protected]>; Sat, 26 Jul 2008 01:19:31 -0700 (PDT) Message-ID: <663278831.1217060371672.JavaMail.jira@brutus> Date: Sat, 26 Jul 2008 01:19:31 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (INFRA-1686) New Mirror In-Reply-To: <1517177264.1217007451695.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gavin closed INFRA-1686. ------------------------ Resolution: Fixed Assignee: (was: Gavin) Added, thanks. > New Mirror > ---------- > > Key: INFRA-1686 > URL: https://issues.apache.org/jira/browse/INFRA-1686 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Mirrors > Reporter: Mirror-NUS > > Below are the information required as stated in the How to. Thanks. > * URL of mirror > http://mirror.nus.edu.sg/apache/ > * Country where the mirror is located > Singapore (SG) > * Contact email address > [email protected] > * Update frequency > Twice daily > * Rsync repository used > rsync://rsync.apache.org/apache-dist/ > * Approximate bandwidth > 155Mbps > * I have configured my HTTP server as requested (yes/no) > Yes > * I have subscribed to the mirror maintainers mailing list (yes/no) > Yes -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Jul 26 08:28:38 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63179 invoked from network); 26 Jul 2008 08:28:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Jul 2008 08:28:37 -0000 Received: (qmail 40986 invoked by uid 500); 26 Jul 2008 08:28:33 -0000 Delivered-To: [email protected] Received: (qmail 40718 invoked by uid 500); 26 Jul 2008 08:28:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 40707 invoked by uid 99); 26 Jul 2008 08:28:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 01:28:33 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 08:27:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id CA980234C18B for <[email protected]>; Sat, 26 Jul 2008 01:27:31 -0700 (PDT) Message-ID: <1897718496.1217060851828.JavaMail.jira@brutus> Date: Sat, 26 Jul 2008 01:27:31 -0700 (PDT) From: "Panagiotis Christias (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1682) Re-registering apache.ntua.gr mirror In-Reply-To: <867595430.1216579111666.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617136#action_12617136 ] Panagiotis Christias commented on INFRA-1682: --------------------------------------------- You are right, there was a typo in our cron job. Fixed. > Re-registering apache.ntua.gr mirror > ------------------------------------ > > Key: INFRA-1682 > URL: https://issues.apache.org/jira/browse/INFRA-1682 > Project: Infrastructure > Issue Type: Improvement > Security Level: public(Regular issues) > Components: Mirrors > Environment: FreeBSD 5.2.1, Apache HTTPD 2.2.9 > Reporter: Panagiotis Christias > Assignee: Gavin > > Hello, > I would like to re-register the apache mirror [email protected] (National Technical University of Athens, Greece): > * URL of mirror: http://apache.ntua.gr/ and ftp://ftp.ntua.gr/pub/www/apache/ (both IPv4 and IPv6) > * Country where the mirror is located: Greece (GR) > * Contact email address: [email protected] > * Update frequency: 4 times per day > * Rsync repository used: rsync.eu.apache.org > * Approximate bandwidth: 1 Gbps link to internet > * I have configured my HTTP server as requested: yes > * I have subscribed to the mirror maintainers mailing list: yes > * Mirror logo: http://ftp.ntua.gr/images/ntua-100x34.png > * Mirror logo link to: http://www.ntua.gr/ > Regards, > Panagiotis -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Jul 26 10:16:24 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7459 invoked from network); 26 Jul 2008 10:16:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Jul 2008 10:16:23 -0000 Received: (qmail 73361 invoked by uid 500); 26 Jul 2008 10:16:22 -0000 Delivered-To: [email protected] Received: (qmail 73131 invoked by uid 500); 26 Jul 2008 10:16:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 73117 invoked by uid 99); 26 Jul 2008 10:16:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 03:16:21 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 10:15:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A6167234C18A for <[email protected]>; Sat, 26 Jul 2008 03:15:31 -0700 (PDT) Message-ID: <1227365148.1217067331679.JavaMail.jira@brutus> Date: Sat, 26 Jul 2008 03:15:31 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (INFRA-1677) Create empire-db JIRA category In-Reply-To: <1279847116.1215617251745.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gavin reassigned INFRA-1677: ---------------------------- Assignee: Gavin > Create empire-db JIRA category > ------------------------------ > > Key: INFRA-1677 > URL: https://issues.apache.org/jira/browse/INFRA-1677 > Project: Infrastructure > Issue Type: Sub-task > Security Level: public(Regular issues) > Components: JIRA > Reporter: Henning Schmiedehausen > Assignee: Gavin > > Please create a new JIRA subcategory 'EMPIRE-DB' for the Empire-db project. > Please add henning, tfischer and dashorst as admins for this category. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Jul 26 10:34:00 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15036 invoked from network); 26 Jul 2008 10:33:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Jul 2008 10:33:54 -0000 Received: (qmail 81540 invoked by uid 500); 26 Jul 2008 10:33:53 -0000 Delivered-To: [email protected] Received: (qmail 81280 invoked by uid 500); 26 Jul 2008 10:33:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81269 invoked by uid 99); 26 Jul 2008 10:33:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 03:33:52 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 10:33:06 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E4A2F234C18E for <[email protected]>; Sat, 26 Jul 2008 03:33:31 -0700 (PDT) Message-ID: <1040953034.1217068411935.JavaMail.jira@brutus> Date: Sat, 26 Jul 2008 03:33:31 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (INFRA-1677) Create empire-db JIRA category In-Reply-To: <1279847116.1215617251745.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gavin resolved INFRA-1677. -------------------------- Resolution: Fixed Jira project has been set up. https://issues.apache.org/jira/browse/EMPIREDB Notification Emails are set to go to [email protected] You will need to mod through '[email protected]' to always allow. Henning you are current Lead for the project, had to put something :) Henning Schmiedehausen (henning) Thomas Fischer (tfischer) Martijn Dashorst (dashorst) are all listed in Project Administrators Role. Currently the URL points to http://incubator.apache.org/projects/empire-db.html which is a guess as it does not exist yet. Empire-DB is listed as a project in the Category of Incubator. Let me know if all is well and I'll close this issue as complete. > Create empire-db JIRA category > ------------------------------ > > Key: INFRA-1677 > URL: https://issues.apache.org/jira/browse/INFRA-1677 > Project: Infrastructure > Issue Type: Sub-task > Security Level: public(Regular issues) > Components: JIRA > Reporter: Henning Schmiedehausen > Assignee: Gavin > > Please create a new JIRA subcategory 'EMPIRE-DB' for the Empire-db project. > Please add henning, tfischer and dashorst as admins for this category. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Jul 26 15:49:05 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98704 invoked from network); 26 Jul 2008 15:49:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Jul 2008 15:49:04 -0000 Received: (qmail 36858 invoked by uid 500); 26 Jul 2008 15:49:03 -0000 Delivered-To: [email protected] Received: (qmail 36545 invoked by uid 500); 26 Jul 2008 15:49:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 36534 invoked by uid 99); 26 Jul 2008 15:49:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 08:49:02 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 15:48:06 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id AD2B3234C185 for <[email protected]>; Sat, 26 Jul 2008 08:48:31 -0700 (PDT) Message-ID: <1906939606.1217087311694.JavaMail.jira@brutus> Date: Sat, 26 Jul 2008 08:48:31 -0700 (PDT) From: "Les Hazlewood (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (INFRA-1687) Migrate JSecurity from SourceForge SVN repository to ASF Incubator SVN repository In-Reply-To: <175629788.1217010571872.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Les Hazlewood updated INFRA-1687: --------------------------------- Priority: Trivial (was: Blocker) Please don't do this yet - the IPMC is still discussing exactly how this should happen. I'll change the priority back when the discussion is finalized. Thanks! > Migrate JSecurity from SourceForge SVN repository to ASF Incubator SVN repository > --------------------------------------------------------------------------------- > > Key: INFRA-1687 > URL: https://issues.apache.org/jira/browse/INFRA-1687 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Subversion > Reporter: Les Hazlewood > Priority: Trivial > > Hello, > As part of our entry into the ASF Incubator process, we need to migrate our existing code over from SourceForge. But it is extremely important to retain the previous 4 years worth of commit/revision history in the process. > After doing some googling, it appears the correct way to do this is to use the 'svnsync' command, which requires some modifications on the ASF side: > 1. The existing repository mapped to https://svn.apache.org/repos/asf/incubator/jsecurity needs to be blown away entirely and recreated with zero revision history - that is, after 'svnadmin create', don't create the usual trunk, branches and tags directories - see the steps in #2 below. > Here is the email thread that verifies we've agreed to do this: > http://jsecurity.markmail.org/search/?q=list:org.apache.incubator.jsecurity-dev#query:list%3Aorg.apache.incubator.jsecurity-dev+page:1+mid:53yhu357qfkuc3fs+state:results > There is only a trivial amount in our current incubator repository - not a problem for us to recreate what little is there after the migration is complete. > 2. From what I've seen after researching with google, the following needs to be run: > $ cd <wherever 'svnadmin create' will be run - should map to https://svn.apache.org/repos/asf/incubator/jsecurity> > $ svnadmin create jsecurity > $ svnsync init --username <your_username> https://svn.apache.org/repos/asf/incubator/jsecurity https://jsecurity.svn.sourceforge.net/svnroot/jsecurity > Copied properties for revision 0. > $ svnsync sync --username <your_username> https://svn.apache.org/repos/asf/incubator/jsecurity > Committed revision 1. > Copied properties for revision 1. > Committed revision 2. > Copied properties for revision 2. > [...] > I have currently disabled all commit access to our SF SVN server, so there is no fear of inconsistent data, so the above can be run at any time (hopefully sooner than later since our dev team can't do anything until this is complete - hence the 'Blocker' status ;) ). > Here are the resources I referenced while putting this request together: > http://groups.google.com/group/google-code-hosting/browse_thread/thread/0efbf53955bedee5/f5c7f47a7687fad2 > http://code.google.com/support/bin/answer.py?answer=56673&topic=10386 > http://journal.paul.querna.org/articles/2006/09/14/using-svnsync/ > Please feel free to contact me at [email protected] with any questions. > Thanks so much!!! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Jul 26 19:05:36 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7524 invoked from network); 26 Jul 2008 19:05:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Jul 2008 19:05:33 -0000 Received: (qmail 31900 invoked by uid 500); 26 Jul 2008 19:05:32 -0000 Delivered-To: [email protected] Received: (qmail 31630 invoked by uid 500); 26 Jul 2008 19:05:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31619 invoked by uid 99); 26 Jul 2008 19:05:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 12:05:31 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 19:04:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A960B234C18B for <[email protected]>; Sat, 26 Jul 2008 12:04:31 -0700 (PDT) Message-ID: <899937743.1217099071692.JavaMail.jira@brutus> Date: Sat, 26 Jul 2008 12:04:31 -0700 (PDT) From: "Les Hazlewood (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (INFRA-1687) Migrate JSecurity from SourceForge SVN repository to ASF Incubator SVN repository In-Reply-To: <175629788.1217010571872.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Les Hazlewood updated INFRA-1687: --------------------------------- Priority: Blocker (was: Trivial) I'm re-enabling this issue. Please move forward with it now. Ultimately, as I'm not too sure how the ASF SVN repo works (revisions, etc), this is what we're trying to achieve: We'd like the SVN repo located here: https://jsecurity.svn.sourceforge.net/svnroot/jsecurity (with all of its trunk, tags, branches and children) to be copied over to here, including all revision history, to be accessible here: https://svn.apache.org/repos/asf/incubator/jsecurity Note that the SourceForge user IDs do _not_ match our recently created ASF user ids. I don't know if this would cause a problem on the Infra side, but I'm assuming it won't (should just be text ids in the SF repo details) Given this information, I'm assuming you folks will know the best way to do this - svnsync vs svnadmin dump/load, etc. Please feel free to follow up with any questions. Thanks! > Migrate JSecurity from SourceForge SVN repository to ASF Incubator SVN repository > --------------------------------------------------------------------------------- > > Key: INFRA-1687 > URL: https://issues.apache.org/jira/browse/INFRA-1687 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Subversion > Reporter: Les Hazlewood > Priority: Blocker > > Hello, > As part of our entry into the ASF Incubator process, we need to migrate our existing code over from SourceForge. But it is extremely important to retain the previous 4 years worth of commit/revision history in the process. > After doing some googling, it appears the correct way to do this is to use the 'svnsync' command, which requires some modifications on the ASF side: > 1. The existing repository mapped to https://svn.apache.org/repos/asf/incubator/jsecurity needs to be blown away entirely and recreated with zero revision history - that is, after 'svnadmin create', don't create the usual trunk, branches and tags directories - see the steps in #2 below. > Here is the email thread that verifies we've agreed to do this: > http://jsecurity.markmail.org/search/?q=list:org.apache.incubator.jsecurity-dev#query:list%3Aorg.apache.incubator.jsecurity-dev+page:1+mid:53yhu357qfkuc3fs+state:results > There is only a trivial amount in our current incubator repository - not a problem for us to recreate what little is there after the migration is complete. > 2. From what I've seen after researching with google, the following needs to be run: > $ cd <wherever 'svnadmin create' will be run - should map to https://svn.apache.org/repos/asf/incubator/jsecurity> > $ svnadmin create jsecurity > $ svnsync init --username <your_username> https://svn.apache.org/repos/asf/incubator/jsecurity https://jsecurity.svn.sourceforge.net/svnroot/jsecurity > Copied properties for revision 0. > $ svnsync sync --username <your_username> https://svn.apache.org/repos/asf/incubator/jsecurity > Committed revision 1. > Copied properties for revision 1. > Committed revision 2. > Copied properties for revision 2. > [...] > I have currently disabled all commit access to our SF SVN server, so there is no fear of inconsistent data, so the above can be run at any time (hopefully sooner than later since our dev team can't do anything until this is complete - hence the 'Blocker' status ;) ). > Here are the resources I referenced while putting this request together: > http://groups.google.com/group/google-code-hosting/browse_thread/thread/0efbf53955bedee5/f5c7f47a7687fad2 > http://code.google.com/support/bin/answer.py?answer=56673&topic=10386 > http://journal.paul.querna.org/articles/2006/09/14/using-svnsync/ > Please feel free to contact me at [email protected] with any questions. > Thanks so much!!! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Jul 26 19:07:09 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8300 invoked from network); 26 Jul 2008 19:07:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Jul 2008 19:07:05 -0000 Received: (qmail 32413 invoked by uid 500); 26 Jul 2008 19:07:04 -0000 Delivered-To: [email protected] Received: (qmail 32165 invoked by uid 500); 26 Jul 2008 19:07:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32154 invoked by uid 99); 26 Jul 2008 19:07:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 12:07:03 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 19:06:07 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 858CA234C189 for <[email protected]>; Sat, 26 Jul 2008 12:06:33 -0700 (PDT) Message-ID: <257608722.1217099193546.JavaMail.jira@brutus> Date: Sat, 26 Jul 2008 12:06:33 -0700 (PDT) From: "Les Hazlewood (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Issue Comment Edited: (INFRA-1687) Migrate JSecurity from SourceForge SVN repository to ASF Incubator SVN repository In-Reply-To: <175629788.1217010571872.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617207#action_12617207 ] lhazlewood edited comment on INFRA-1687 at 7/26/08 12:05 PM: ---------------------------------------------------------------- I'm re-enabling this issue. Please move forward with it now. Ultimately, as I'm not too sure how the ASF SVN repo works (revisions, etc), I thought it better to explain what we're trying to achieve: We'd like the SVN repo located at https://jsecurity.svn.sourceforge.net/svnroot/jsecurity (with all of its trunk, tags, branches and children) to be copied over to here, including all revision history, to be accessible here: https://svn.apache.org/repos/asf/incubator/jsecurity Note that the SourceForge user IDs do _not_ match our recently created ASF user ids. I don't know if this would cause a problem on the Infra side, but I'm assuming it won't (should just be text ids in the SF repo details) Given this information, I'm assuming you folks will know the best way to do this - svnsync vs svnadmin dump/load, etc. Please feel free to follow up with any questions. Thanks! was (Author: lhazlewood): I'm re-enabling this issue. Please move forward with it now. Ultimately, as I'm not too sure how the ASF SVN repo works (revisions, etc), this is what we're trying to achieve: We'd like the SVN repo located here: https://jsecurity.svn.sourceforge.net/svnroot/jsecurity (with all of its trunk, tags, branches and children) to be copied over to here, including all revision history, to be accessible here: https://svn.apache.org/repos/asf/incubator/jsecurity Note that the SourceForge user IDs do _not_ match our recently created ASF user ids. I don't know if this would cause a problem on the Infra side, but I'm assuming it won't (should just be text ids in the SF repo details) Given this information, I'm assuming you folks will know the best way to do this - svnsync vs svnadmin dump/load, etc. Please feel free to follow up with any questions. Thanks! > Migrate JSecurity from SourceForge SVN repository to ASF Incubator SVN repository > --------------------------------------------------------------------------------- > > Key: INFRA-1687 > URL: https://issues.apache.org/jira/browse/INFRA-1687 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Subversion > Reporter: Les Hazlewood > Priority: Blocker > > Hello, > As part of our entry into the ASF Incubator process, we need to migrate our existing code over from SourceForge. But it is extremely important to retain the previous 4 years worth of commit/revision history in the process. > After doing some googling, it appears the correct way to do this is to use the 'svnsync' command, which requires some modifications on the ASF side: > 1. The existing repository mapped to https://svn.apache.org/repos/asf/incubator/jsecurity needs to be blown away entirely and recreated with zero revision history - that is, after 'svnadmin create', don't create the usual trunk, branches and tags directories - see the steps in #2 below. > Here is the email thread that verifies we've agreed to do this: > http://jsecurity.markmail.org/search/?q=list:org.apache.incubator.jsecurity-dev#query:list%3Aorg.apache.incubator.jsecurity-dev+page:1+mid:53yhu357qfkuc3fs+state:results > There is only a trivial amount in our current incubator repository - not a problem for us to recreate what little is there after the migration is complete. > 2. From what I've seen after researching with google, the following needs to be run: > $ cd <wherever 'svnadmin create' will be run - should map to https://svn.apache.org/repos/asf/incubator/jsecurity> > $ svnadmin create jsecurity > $ svnsync init --username <your_username> https://svn.apache.org/repos/asf/incubator/jsecurity https://jsecurity.svn.sourceforge.net/svnroot/jsecurity > Copied properties for revision 0. > $ svnsync sync --username <your_username> https://svn.apache.org/repos/asf/incubator/jsecurity > Committed revision 1. > Copied properties for revision 1. > Committed revision 2. > Copied properties for revision 2. > [...] > I have currently disabled all commit access to our SF SVN server, so there is no fear of inconsistent data, so the above can be run at any time (hopefully sooner than later since our dev team can't do anything until this is complete - hence the 'Blocker' status ;) ). > Here are the resources I referenced while putting this request together: > http://groups.google.com/group/google-code-hosting/browse_thread/thread/0efbf53955bedee5/f5c7f47a7687fad2 > http://code.google.com/support/bin/answer.py?answer=56673&topic=10386 > http://journal.paul.querna.org/articles/2006/09/14/using-svnsync/ > Please feel free to contact me at [email protected] with any questions. > Thanks so much!!! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Jul 26 20:03:26 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40338 invoked from network); 26 Jul 2008 20:03:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Jul 2008 20:03:25 -0000 Received: (qmail 60082 invoked by uid 500); 26 Jul 2008 20:03:25 -0000 Delivered-To: [email protected] Received: (qmail 59749 invoked by uid 500); 26 Jul 2008 20:03:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 59738 invoked by uid 99); 26 Jul 2008 20:03:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 13:03:24 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 20:02:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C4BBD234C186 for <[email protected]>; Sat, 26 Jul 2008 13:02:31 -0700 (PDT) Message-ID: <996730904.1217102551804.JavaMail.jira@brutus> Date: Sat, 26 Jul 2008 13:02:31 -0700 (PDT) From: "Julien Vermillard (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1688) Account for jvermillard MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Account for jvermillard ----------------------- Key: INFRA-1688 URL: https://issues.apache.org/jira/browse/INFRA-1688 Project: Infrastructure Issue Type: Improvement Security Level: public (Regular issues) Components: Hudson Reporter: Julien Vermillard I need an account for myself "jvermillard" for adding asyncweb in Hudson, what the procedure ? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sun Jul 27 09:17:35 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18279 invoked from network); 27 Jul 2008 09:17:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jul 2008 09:17:32 -0000 Received: (qmail 86309 invoked by uid 500); 27 Jul 2008 09:17:31 -0000 Delivered-To: [email protected] Received: (qmail 86073 invoked by uid 500); 27 Jul 2008 09:17:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 86062 invoked by uid 99); 27 Jul 2008 09:17:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jul 2008 02:17:30 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jul 2008 09:16:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E3FC5234C18B for <[email protected]>; Sun, 27 Jul 2008 02:16:31 -0700 (PDT) Message-ID: <1151877130.1217150191932.JavaMail.jira@brutus> Date: Sun, 27 Jul 2008 02:16:31 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (INFRA-1683) jiraissues macro doesn't work, we need to upgrade confluence or install the latest version of the jiraissues plugin In-Reply-To: <896094183.1216808251696.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gavin resolved INFRA-1683. -------------------------- Resolution: Fixed Seems that wasn't the problem (I replaced the jar first anyway, no effect). I checked in /images/icons for ActiveMQ jira and test.gif was there, wish.gif actually uses improvements.gif which was also there. Checking the Global Issue Types with ActiveMQs Jira Admin Area showed me that in fact 'Test' and 'Wish' were pointing to images on Codehaus and not locally, so I changed them to point locally to /images/icons/. Next I added those two into the Icon Mappings in Confluence. So now your Icons show correctly in both Jira and Confluence. Please check youa rehappy and then Close this issue, cheers. > jiraissues macro doesn't work, we need to upgrade confluence or install the latest version of the jiraissues plugin > ------------------------------------------------------------------------------------------------------------------- > > Key: INFRA-1683 > URL: https://issues.apache.org/jira/browse/INFRA-1683 > Project: Infrastructure > Issue Type: Bug > Security Level: public(Regular issues) > Components: Confluence > Reporter: james strachan > > I raised this issue with Atlassian... > https://support.atlassian.com/browse/CSP-21392 > about the jiraissues macro not rendering icons properly - e.g. see this example page > http://cwiki.apache.org/confluence/display/ACTIVEMQ/ActiveMQ+5.1.0+Release > but it turns out we're suffering from the JIRA 3.7 Link Format Change issue (see the table near the bottom of this page) > http://confluence.atlassian.com/display/DOC/JIRA+Issues+Macro > so we need to either upgrade to 2.2.10 or later of confluence - or install the latest JIRA plugin for confluence > http://confluence.atlassian.com/download/attachments/393/new-jira3.jar?version=1 > I tried upgrading the plugin myself but I don't think I can via the UI > Many thanks! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sun Jul 27 11:11:37 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60305 invoked from network); 27 Jul 2008 11:11:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jul 2008 11:11:36 -0000 Received: (qmail 27148 invoked by uid 500); 27 Jul 2008 11:11:32 -0000 Delivered-To: [email protected] Received: (qmail 26916 invoked by uid 500); 27 Jul 2008 11:11:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26905 invoked by uid 99); 27 Jul 2008 11:11:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jul 2008 04:11:31 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jul 2008 11:10:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A1852234C17E for <[email protected]>; Sun, 27 Jul 2008 04:10:31 -0700 (PDT) Message-ID: <1962646020.1217157031660.JavaMail.jira@brutus> Date: Sun, 27 Jul 2008 04:10:31 -0700 (PDT) From: "Henning Schmiedehausen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1689) Create Infrastructure for Click Poding MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Create Infrastructure for Click Poding -------------------------------------- Key: INFRA-1689 URL: https://issues.apache.org/jira/browse/INFRA-1689 Project: Infrastructure Issue Type: Task Security Level: public (Regular issues) Reporter: Henning Schmiedehausen Assignee: Henning Schmiedehausen Click has been accepted into incubation (see http://markmail.org/message/n6euzvpritdnz4eq for result and http://markmail.org/message/3pb4gv7bxgoheaf5 for the vote thread) and now needs its infrastructure set up. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sun Jul 27 11:12:54 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60682 invoked from network); 27 Jul 2008 11:12:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jul 2008 11:12:53 -0000 Received: (qmail 27755 invoked by uid 500); 27 Jul 2008 11:12:52 -0000 Delivered-To: [email protected] Received: (qmail 27536 invoked by uid 500); 27 Jul 2008 11:12:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 27521 invoked by uid 99); 27 Jul 2008 11:12:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jul 2008 04:12:51 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jul 2008 11:12:05 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A9093234C17E for <[email protected]>; Sun, 27 Jul 2008 04:12:31 -0700 (PDT) Message-ID: <1433432902.1217157151691.JavaMail.jira@brutus> Date: Sun, 27 Jul 2008 04:12:31 -0700 (PDT) From: "Henning Schmiedehausen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1690) Create Click Mailing lists MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Create Click Mailing lists --------------------------- Key: INFRA-1690 URL: https://issues.apache.org/jira/browse/INFRA-1690 Project: Infrastructure Issue Type: Sub-task Security Level: public (Regular issues) Components: Mailing Lists Reporter: Henning Schmiedehausen Please set up [email protected] [email protected] [email protected] and add me ([email protected]) as moderator -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sun Jul 27 11:14:55 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61456 invoked from network); 27 Jul 2008 11:14:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jul 2008 11:14:53 -0000 Received: (qmail 28290 invoked by uid 500); 27 Jul 2008 11:14:52 -0000 Delivered-To: [email protected] Received: (qmail 28025 invoked by uid 500); 27 Jul 2008 11:14:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 28014 invoked by uid 99); 27 Jul 2008 11:14:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jul 2008 04:14:51 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jul 2008 11:14:05 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A3C44234C17E for <[email protected]>; Sun, 27 Jul 2008 04:14:31 -0700 (PDT) Message-ID: <814835804.1217157271669.JavaMail.jira@brutus> Date: Sun, 27 Jul 2008 04:14:31 -0700 (PDT) From: "Henning Schmiedehausen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1691) Create Click SVN Repository MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Create Click SVN Repository --------------------------- Key: INFRA-1691 URL: https://issues.apache.org/jira/browse/INFRA-1691 Project: Infrastructure Issue Type: Sub-task Security Level: public (Regular issues) Components: Subversion Reporter: Henning Schmiedehausen please create /incubator/click as SVN repository for the click podling. Please give initial access to henning, wglass and husted (mentors for the click project) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sun Jul 27 11:20:55 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63041 invoked from network); 27 Jul 2008 11:20:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jul 2008 11:20:53 -0000 Received: (qmail 30108 invoked by uid 500); 27 Jul 2008 11:20:52 -0000 Delivered-To: [email protected] Received: (qmail 29849 invoked by uid 500); 27 Jul 2008 11:20:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 29834 invoked by uid 99); 27 Jul 2008 11:20:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jul 2008 04:20:52 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jul 2008 11:20:05 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A235C234C17E for <[email protected]>; Sun, 27 Jul 2008 04:20:31 -0700 (PDT) Message-ID: <1104841223.1217157631663.JavaMail.jira@brutus> Date: Sun, 27 Jul 2008 04:20:31 -0700 (PDT) From: "Henning Schmiedehausen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1692) Request click accounts MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Request click accounts ---------------------- Key: INFRA-1692 URL: https://issues.apache.org/jira/browse/INFRA-1692 Project: Infrastructure Issue Type: Sub-task Security Level: public (Regular issues) Reporter: Henning Schmiedehausen Request accounts for the initial click committers * Malcolm Edgar * Bob Schellink * Naoki Takezoe * Ahmed Mohombe Account for Malcolm already exists (medgar). notinavail:Bob Schellink:Bob Schellink:[email protected]:Signed CLA;bob-schellink notinavail:Naoki Takezoe:Naoki Takezoe:[email protected]:Signed CLA;naoki-takezoe- account for bob: bob, sabob, bobschellink account for naoki: takezoe -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sun Jul 27 11:21:26 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63782 invoked from network); 27 Jul 2008 11:21:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jul 2008 11:21:23 -0000 Received: (qmail 30550 invoked by uid 500); 27 Jul 2008 11:21:22 -0000 Delivered-To: [email protected] Received: (qmail 30333 invoked by uid 500); 27 Jul 2008 11:21:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30318 invoked by uid 99); 27 Jul 2008 11:21:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jul 2008 04:21:22 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jul 2008 11:20:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A4CC6234C185 for <[email protected]>; Sun, 27 Jul 2008 04:20:31 -0700 (PDT) Message-ID: <1552224137.1217157631674.JavaMail.jira@brutus> Date: Sun, 27 Jul 2008 04:20:31 -0700 (PDT) From: "Henning Schmiedehausen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (INFRA-1691) Create Click SVN Repository In-Reply-To: <814835804.1217157271669.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henning Schmiedehausen updated INFRA-1691: ------------------------------------------ Description: please create /incubator/click as SVN repository for the click podling. Please give initial access to henning, wglass,aadamchik and husted (mentors for the click project) was: please create /incubator/click as SVN repository for the click podling. Please give initial access to henning, wglass and husted (mentors for the click project) > Create Click SVN Repository > --------------------------- > > Key: INFRA-1691 > URL: https://issues.apache.org/jira/browse/INFRA-1691 > Project: Infrastructure > Issue Type: Sub-task > Security Level: public(Regular issues) > Components: Subversion > Reporter: Henning Schmiedehausen > > please create > /incubator/click as SVN repository for the click podling. > Please give initial access to henning, wglass,aadamchik and husted (mentors for the click project) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sun Jul 27 11:23:31 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65682 invoked from network); 27 Jul 2008 11:23:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jul 2008 11:23:26 -0000 Received: (qmail 31583 invoked by uid 500); 27 Jul 2008 11:23:24 -0000 Delivered-To: [email protected] Received: (qmail 31321 invoked by uid 500); 27 Jul 2008 11:23:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31309 invoked by uid 99); 27 Jul 2008 11:23:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jul 2008 04:23:23 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jul 2008 11:22:37 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 80DA5234C17E for <[email protected]>; Sun, 27 Jul 2008 04:22:33 -0700 (PDT) Message-ID: <85103736.1217157753526.JavaMail.jira@brutus> Date: Sun, 27 Jul 2008 04:22:33 -0700 (PDT) From: "Henning Schmiedehausen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1693) Please create CLICK category MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Please create CLICK category ---------------------------- Key: INFRA-1693 URL: https://issues.apache.org/jira/browse/INFRA-1693 Project: Infrastructure Issue Type: Sub-task Security Level: public (Regular issues) Components: JIRA Reporter: Henning Schmiedehausen Please create a new JIRA subcategory 'CLICK' for the click incubator podling. Please add henning, aadamchik, wglass and husted to this category (mentors). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sun Jul 27 11:23:35 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65777 invoked from network); 27 Jul 2008 11:23:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jul 2008 11:23:26 -0000 Received: (qmail 32083 invoked by uid 500); 27 Jul 2008 11:23:25 -0000 Delivered-To: [email protected] Received: (qmail 31509 invoked by uid 500); 27 Jul 2008 11:23:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31314 invoked by uid 99); 27 Jul 2008 11:23:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jul 2008 04:23:23 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jul 2008 11:22:37 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 87244234C186 for <[email protected]>; Sun, 27 Jul 2008 04:22:33 -0700 (PDT) Message-ID: <1596822455.1217157753552.JavaMail.jira@brutus> Date: Sun, 27 Jul 2008 04:22:33 -0700 (PDT) From: "Henning Schmiedehausen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1694) Import click code base into Subversion repository MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Import click code base into Subversion repository ------------------------------------------------- Key: INFRA-1694 URL: https://issues.apache.org/jira/browse/INFRA-1694 Project: Infrastructure Issue Type: Sub-task Security Level: public (Regular issues) Components: Subversion Reporter: Henning Schmiedehausen Import the existing click code base into the incubator repository. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sun Jul 27 11:24:58 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67317 invoked from network); 27 Jul 2008 11:24:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jul 2008 11:24:53 -0000 Received: (qmail 32534 invoked by uid 500); 27 Jul 2008 11:24:52 -0000 Delivered-To: [email protected] Received: (qmail 32291 invoked by uid 500); 27 Jul 2008 11:24:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32275 invoked by uid 99); 27 Jul 2008 11:24:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jul 2008 04:24:51 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jul 2008 11:24:05 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A2897234C17E for <[email protected]>; Sun, 27 Jul 2008 04:24:31 -0700 (PDT) Message-ID: <1714745725.1217157871664.JavaMail.jira@brutus> Date: Sun, 27 Jul 2008 04:24:31 -0700 (PDT) From: "Henning Schmiedehausen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (INFRA-1692) Request click accounts In-Reply-To: <1104841223.1217157631663.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henning Schmiedehausen reassigned INFRA-1692: --------------------------------------------- Assignee: Henning Schmiedehausen > Request click accounts > ---------------------- > > Key: INFRA-1692 > URL: https://issues.apache.org/jira/browse/INFRA-1692 > Project: Infrastructure > Issue Type: Sub-task > Security Level: public(Regular issues) > Reporter: Henning Schmiedehausen > Assignee: Henning Schmiedehausen > > Request accounts for the initial click committers > * Malcolm Edgar > * Bob Schellink > * Naoki Takezoe > * Ahmed Mohombe > Account for Malcolm already exists (medgar). > notinavail:Bob Schellink:Bob Schellink:[email protected]:Signed CLA;bob-schellink > notinavail:Naoki Takezoe:Naoki Takezoe:[email protected]:Signed CLA;naoki-takezoe- > account for bob: bob, sabob, bobschellink > account for naoki: takezoe -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sun Jul 27 12:34:55 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1663 invoked from network); 27 Jul 2008 12:34:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jul 2008 12:34:53 -0000 Received: (qmail 52782 invoked by uid 500); 27 Jul 2008 12:34:52 -0000 Delivered-To: [email protected] Received: (qmail 52556 invoked by uid 500); 27 Jul 2008 12:34:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 52545 invoked by uid 99); 27 Jul 2008 12:34:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jul 2008 05:34:51 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jul 2008 12:34:05 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C0D17234C186 for <[email protected]>; Sun, 27 Jul 2008 05:34:31 -0700 (PDT) Message-ID: <1922236585.1217162071788.JavaMail.jira@brutus> Date: Sun, 27 Jul 2008 05:34:31 -0700 (PDT) From: "Stefano Bagnara (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Reopened: (INFRA-1685) Account for JAMES In-Reply-To: <1852827044.1216906533802.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefano Bagnara reopened INFRA-1685: ------------------------------------ Not sure I should reopen this or create a new JIRA. I'd like to have an account for JAMES too: my user@apache is "bago" (Stefano Bagnara) > Account for JAMES > ------------------ > > Key: INFRA-1685 > URL: https://issues.apache.org/jira/browse/INFRA-1685 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Hudson > Reporter: Norman Maurer > Assignee: Nigel Daley > > Hi all, > we would like to add JAMES ( james.apache.org ) to hudson. Can you please create some account for us and send it to our pmc ? > Thx > Norman -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sun Jul 27 13:32:55 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25601 invoked from network); 27 Jul 2008 13:32:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jul 2008 13:32:53 -0000 Received: (qmail 78713 invoked by uid 500); 27 Jul 2008 13:32:52 -0000 Delivered-To: [email protected] Received: (qmail 78460 invoked by uid 500); 27 Jul 2008 13:32:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78447 invoked by uid 99); 27 Jul 2008 13:32:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jul 2008 06:32:51 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jul 2008 13:32:05 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id AB784234C185 for <[email protected]>; Sun, 27 Jul 2008 06:32:31 -0700 (PDT) Message-ID: <565922377.1217165551701.JavaMail.jira@brutus> Date: Sun, 27 Jul 2008 06:32:31 -0700 (PDT) From: "Henning Schmiedehausen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1692) Request click accounts In-Reply-To: <1104841223.1217157631663.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617290#action_12617290 ] Henning Schmiedehausen commented on INFRA-1692: ----------------------------------------------- Ahmed will not join the project right away for personal reasons. Account requests for Bob and Naoki sent out. > Request click accounts > ---------------------- > > Key: INFRA-1692 > URL: https://issues.apache.org/jira/browse/INFRA-1692 > Project: Infrastructure > Issue Type: Sub-task > Security Level: public(Regular issues) > Reporter: Henning Schmiedehausen > Assignee: Henning Schmiedehausen > > Request accounts for the initial click committers > * Malcolm Edgar > * Bob Schellink > * Naoki Takezoe > * Ahmed Mohombe > Account for Malcolm already exists (medgar). > notinavail:Bob Schellink:Bob Schellink:[email protected]:Signed CLA;bob-schellink > notinavail:Naoki Takezoe:Naoki Takezoe:[email protected]:Signed CLA;naoki-takezoe- > account for bob: bob, sabob, bobschellink > account for naoki: takezoe -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jul 28 08:58:02 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78162 invoked from network); 28 Jul 2008 08:58:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Jul 2008 08:58:02 -0000 Received: (qmail 98208 invoked by uid 500); 28 Jul 2008 08:58:01 -0000 Delivered-To: [email protected] Received: (qmail 97828 invoked by uid 500); 28 Jul 2008 08:58:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 97817 invoked by uid 99); 28 Jul 2008 08:58:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jul 2008 01:58:00 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jul 2008 08:57:06 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 3566B234C174 for <[email protected]>; Mon, 28 Jul 2008 01:57:32 -0700 (PDT) Message-ID: <366961059.1217235452217.JavaMail.jira@brutus> Date: Mon, 28 Jul 2008 01:57:32 -0700 (PDT) From: "james strachan (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (INFRA-1683) jiraissues macro doesn't work, we need to upgrade confluence or install the latest version of the jiraissues plugin In-Reply-To: <896094183.1216808251696.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] james strachan closed INFRA-1683. --------------------------------- Aha! Well figured out Gavin - thats awesome! Yes its working perfectly now - huge thanks! > jiraissues macro doesn't work, we need to upgrade confluence or install the latest version of the jiraissues plugin > ------------------------------------------------------------------------------------------------------------------- > > Key: INFRA-1683 > URL: https://issues.apache.org/jira/browse/INFRA-1683 > Project: Infrastructure > Issue Type: Bug > Security Level: public(Regular issues) > Components: Confluence > Reporter: james strachan > > I raised this issue with Atlassian... > https://support.atlassian.com/browse/CSP-21392 > about the jiraissues macro not rendering icons properly - e.g. see this example page > http://cwiki.apache.org/confluence/display/ACTIVEMQ/ActiveMQ+5.1.0+Release > but it turns out we're suffering from the JIRA 3.7 Link Format Change issue (see the table near the bottom of this page) > http://confluence.atlassian.com/display/DOC/JIRA+Issues+Macro > so we need to either upgrade to 2.2.10 or later of confluence - or install the latest JIRA plugin for confluence > http://confluence.atlassian.com/download/attachments/393/new-jira3.jar?version=1 > I tried upgrading the plugin myself but I don't think I can via the UI > Many thanks! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jul 28 16:48:01 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77438 invoked from network); 28 Jul 2008 16:48:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Jul 2008 16:48:00 -0000 Received: (qmail 97286 invoked by uid 500); 28 Jul 2008 16:48:00 -0000 Delivered-To: [email protected] Received: (qmail 97084 invoked by uid 500); 28 Jul 2008 16:47:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 97073 invoked by uid 99); 28 Jul 2008 16:47:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jul 2008 09:47:59 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jul 2008 16:47:06 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 107DC234C183 for <[email protected]>; Mon, 28 Jul 2008 09:47:32 -0700 (PDT) Message-ID: <1621320715.1217263652066.JavaMail.jira@brutus> Date: Mon, 28 Jul 2008 09:47:32 -0700 (PDT) From: "John Williams (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1566) Apache Mirror Configured and ready to go. In-Reply-To: <2003470505.1206655044230.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617467#action_12617467 ] John Williams commented on INFRA-1566: -------------------------------------- Hi Gavin, Found the problem and it is fixed, I just modified the cron to this format: 0 */8 * * * /usr/bin/rsync -rtlzv --delete rsync.us.apache.orgacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bpache-dist /home/poolsabo/public_html/apache Thank you, > Apache Mirror Configured and ready to go. > ------------------------------------------ > > Key: INFRA-1566 > URL: https://issues.apache.org/jira/browse/INFRA-1566 > Project: Infrastructure > Issue Type: Improvement > Security Level: public(Regular issues) > Components: Mirrors > Reporter: John Williams > > * URL of mirror - http://www.poolsaboveground.com/apache/ > * Country where the mirror is located - US > * Contact email address [email protected] > * Update frequency - every 8 hours > * Rsync repository used - rsync.us.apache.org > * Approximate bandwidth 5000 G , got more if needed > * I have configured my HTTP server as requested (yes) > * I have subscribed to the mirror maintainers mailing list (yes) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jul 28 16:48:33 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78448 invoked from network); 28 Jul 2008 16:48:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Jul 2008 16:48:30 -0000 Received: (qmail 98033 invoked by uid 500); 28 Jul 2008 16:48:29 -0000 Delivered-To: [email protected] Received: (qmail 97808 invoked by uid 500); 28 Jul 2008 16:48:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 97797 invoked by uid 99); 28 Jul 2008 16:48:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jul 2008 09:48:29 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jul 2008 16:47:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 19302234C186 for <[email protected]>; Mon, 28 Jul 2008 09:47:32 -0700 (PDT) Message-ID: <1771611997.1217263652102.JavaMail.jira@brutus> Date: Mon, 28 Jul 2008 09:47:32 -0700 (PDT) From: "John Williams (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (INFRA-1566) Apache Mirror Configured and ready to go. In-Reply-To: <2003470505.1206655044230.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Williams updated INFRA-1566: --------------------------------- Comment: was deleted > Apache Mirror Configured and ready to go. > ------------------------------------------ > > Key: INFRA-1566 > URL: https://issues.apache.org/jira/browse/INFRA-1566 > Project: Infrastructure > Issue Type: Improvement > Security Level: public(Regular issues) > Components: Mirrors > Reporter: John Williams > > * URL of mirror - http://www.poolsaboveground.com/apache/ > * Country where the mirror is located - US > * Contact email address [email protected] > * Update frequency - every 8 hours > * Rsync repository used - rsync.us.apache.org > * Approximate bandwidth 5000 G , got more if needed > * I have configured my HTTP server as requested (yes) > * I have subscribed to the mirror maintainers mailing list (yes) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jul 29 14:57:06 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82830 invoked from network); 29 Jul 2008 14:57:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Jul 2008 14:57:04 -0000 Received: (qmail 23115 invoked by uid 500); 29 Jul 2008 14:57:03 -0000 Delivered-To: [email protected] Received: (qmail 22832 invoked by uid 500); 29 Jul 2008 14:57:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 22818 invoked by uid 99); 29 Jul 2008 14:57:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jul 2008 07:57:02 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jul 2008 14:56:05 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id ECD9F234C181 for <[email protected]>; Tue, 29 Jul 2008 07:56:31 -0700 (PDT) Message-ID: <1849522040.1217343391967.JavaMail.jira@brutus> Date: Tue, 29 Jul 2008 07:56:31 -0700 (PDT) From: "Les Hazlewood (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1687) Migrate JSecurity from SourceForge SVN repository to ASF Incubator SVN repository In-Reply-To: <175629788.1217010571872.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617808#action_12617808 ] Les Hazlewood commented on INFRA-1687: -------------------------------------- When you begin this process, could you please indicate that it is being worked on actively? I.e. the 'start work' link in Jira? Or even a comment would suffice since I'm watching the issue. I've done a few incremental commits (very infrequent) since opening this issue and I just want to ensure that I won't commit when work starts on it. > Migrate JSecurity from SourceForge SVN repository to ASF Incubator SVN repository > --------------------------------------------------------------------------------- > > Key: INFRA-1687 > URL: https://issues.apache.org/jira/browse/INFRA-1687 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Subversion > Reporter: Les Hazlewood > Priority: Blocker > > Hello, > As part of our entry into the ASF Incubator process, we need to migrate our existing code over from SourceForge. But it is extremely important to retain the previous 4 years worth of commit/revision history in the process. > After doing some googling, it appears the correct way to do this is to use the 'svnsync' command, which requires some modifications on the ASF side: > 1. The existing repository mapped to https://svn.apache.org/repos/asf/incubator/jsecurity needs to be blown away entirely and recreated with zero revision history - that is, after 'svnadmin create', don't create the usual trunk, branches and tags directories - see the steps in #2 below. > Here is the email thread that verifies we've agreed to do this: > http://jsecurity.markmail.org/search/?q=list:org.apache.incubator.jsecurity-dev#query:list%3Aorg.apache.incubator.jsecurity-dev+page:1+mid:53yhu357qfkuc3fs+state:results > There is only a trivial amount in our current incubator repository - not a problem for us to recreate what little is there after the migration is complete. > 2. From what I've seen after researching with google, the following needs to be run: > $ cd <wherever 'svnadmin create' will be run - should map to https://svn.apache.org/repos/asf/incubator/jsecurity> > $ svnadmin create jsecurity > $ svnsync init --username <your_username> https://svn.apache.org/repos/asf/incubator/jsecurity https://jsecurity.svn.sourceforge.net/svnroot/jsecurity > Copied properties for revision 0. > $ svnsync sync --username <your_username> https://svn.apache.org/repos/asf/incubator/jsecurity > Committed revision 1. > Copied properties for revision 1. > Committed revision 2. > Copied properties for revision 2. > [...] > I have currently disabled all commit access to our SF SVN server, so there is no fear of inconsistent data, so the above can be run at any time (hopefully sooner than later since our dev team can't do anything until this is complete - hence the 'Blocker' status ;) ). > Here are the resources I referenced while putting this request together: > http://groups.google.com/group/google-code-hosting/browse_thread/thread/0efbf53955bedee5/f5c7f47a7687fad2 > http://code.google.com/support/bin/answer.py?answer=56673&topic=10386 > http://journal.paul.querna.org/articles/2006/09/14/using-svnsync/ > Please feel free to contact me at [email protected] with any questions. > Thanks so much!!! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jul 30 02:32:44 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82275 invoked from network); 30 Jul 2008 02:32:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Jul 2008 02:32:42 -0000 Received: (qmail 8050 invoked by uid 500); 30 Jul 2008 02:32:41 -0000 Delivered-To: [email protected] Received: (qmail 7735 invoked by uid 500); 30 Jul 2008 02:32:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7724 invoked by uid 99); 30 Jul 2008 02:32:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jul 2008 19:32:40 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 30 Jul 2008 02:31:42 +0000 Received: (qmail 81752 invoked by uid 1723); 30 Jul 2008 02:32:08 -0000 Date: 30 Jul 2008 02:32:03 -0000 Message-ID: <[email protected]> TO: [email protected] FROM: [email protected] SUBJECT: Infrastructure: Open Issues as of 2008-07-30 X-Virus-Checked: Checked by ClamAV on apache.org Infrastructure - Wednesday, July 30, 2008 Backups (1) [INFRA-1576] Deploy backup services on bia 2008-04-28 - Unassigned - New Feature http://issues.apache.org/jira/browse/INFRA-1576 ColoTasks (1) [INFRA-847] Fix fan failure in Helios 2008-03-28 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-847 Confluence (2) [INFRA-1338] Update Confluence to 2.6 when available 2008-04-09 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1338 [INFRA-1315] AutoExported HTML pages have Confluence images still pointing to Confluence server. 2008-07-17 - Ted Husted - Improvement http://issues.apache.org/jira/browse/INFRA-1315 Continuum (11) [INFRA-1322] set up an external database and backup regime 2007-08-20 - Unassigned - Improvement http://issues.apache.org/jira/browse/INFRA-1322 [INFRA-1328] migrate Commons nightlies to Continuum on vmbuild1 2007-08-29 - Phil Steitz - Task http://issues.apache.org/jira/browse/INFRA-1328 [INFRA-1343] setup robots.txt and/or other access rules to prevent bots from crawling Continuum pages 2007-08-29 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1343 [INFRA-1347] Some builds never finish 2007-09-03 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1347 [INFRA-1318] set up rsync on people.apache.org to retrieve builds from vmbuild1.apache.org 2007-09-04 - Unassigned - New Feature http://issues.apache.org/jira/browse/INFRA-1318 [INFRA-1325] monitor disk space usage on vmbuild 2007-09-04 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1325 [INFRA-1323] scripted clean up of Continuum local repository 2007-10-30 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1323 [INFRA-1514] adjust mail template to indicate where issues should be filed for the ASF 2008-02-07 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1514 [INFRA-1324] set up log rotation / clean up for VMBuild 2008-04-01 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1324 [INFRA-1630] Continuum web interface very slow; sometimes unusably so 2008-05-28 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1630 [INFRA-1525] HTTP ERROR: 500 trying to modify a user role in Continuum (vmbuild1) 2008-07-26 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1525 CVS (1) [INFRA-1672] Import missing branches from CVS into SVN 2008-07-23 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1672 DNS (1) [INFRA-1580] transfer of maven.org domain to the ASF 2008-04-10 - Joe Schaefer - Task http://issues.apache.org/jira/browse/INFRA-1580 Hudson (3) [INFRA-1665] odd ALT text on weather icons on Hudson front page 2008-07-03 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1665 [INFRA-1688] Account for jvermillard 2008-07-26 - Unassigned - Improvement http://issues.apache.org/jira/browse/INFRA-1688 [INFRA-1685] Account for JAMES 2008-07-27 - Nigel Daley - Task http://issues.apache.org/jira/browse/INFRA-1685 JIRA (5) [INFRA-813] Import Jira projects into the main Jira 2007-09-16 - Unassigned - Wish http://issues.apache.org/jira/browse/INFRA-813 [INFRA-1409] Create JIRA runbook 2007-11-29 - Henri Yandell - Task http://issues.apache.org/jira/browse/INFRA-1409 [INFRA-1545] Bugzilla Id: links no longer work 2008-06-25 - Henri Yandell - Bug http://issues.apache.org/jira/browse/INFRA-1545 [INFRA-1656] Improvement to JIRA attachment handling - allow sorting by date 2008-07-19 - Gavin - Improvement http://issues.apache.org/jira/browse/INFRA-1656 [INFRA-1693] Please create CLICK category 2008-07-27 - Unassigned - Sub-task http://issues.apache.org/jira/browse/INFRA-1693 Mail (qmail) (3) [INFRA-917] [email protected] online archives are broken 2008-01-17 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-917 [INFRA-1410] Better filter out of office reply 2008-04-09 - Unassigned - Improvement http://issues.apache.org/jira/browse/INFRA-1410 [INFRA-1640] Please review spam filter, seems to strict 2008-06-09 - Unassigned - Wish http://issues.apache.org/jira/browse/INFRA-1640 Mail Archives (2) [INFRA-1062] Remove JIRA comment spam from archives 2007-07-11 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1062 [INFRA-1663] Tuscany archives were not migrated as part of TLP migration 2008-06-25 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1663 Mailing Lists (4) [INFRA-1111] add some basic srs support to ezmlm / teach it how to automoderate commit lists 2008-01-17 - Joe Schaefer - New Feature http://issues.apache.org/jira/browse/INFRA-1111 [INFRA-1641] AV should be processed earlier for mailing lists 2008-06-09 - Unassigned - Improvement http://issues.apache.org/jira/browse/INFRA-1641 [INFRA-1674] Create empire-db mailing lists 2008-07-25 - Brett Porter - Sub-task http://issues.apache.org/jira/browse/INFRA-1674 [INFRA-1690] Create Click Mailing lists 2008-07-27 - Unassigned - Sub-task http://issues.apache.org/jira/browse/INFRA-1690 Mirrors (3) [INFRA-1661] Leakage.org Apache Mirror Down 2008-06-25 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1661 [INFRA-1682] Re-registering apache.ntua.gr mirror 2008-07-26 - Gavin - Improvement http://issues.apache.org/jira/browse/INFRA-1682 [INFRA-1566] Apache Mirror Configured and ready to go. 2008-07-28 - Unassigned - Improvement http://issues.apache.org/jira/browse/INFRA-1566 MoinMoin (1) [INFRA-1110] upgrade moin installation to latest version 2008-06-10 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1110 Subversion (8) [INFRA-1284] add gump back to viewvc 2007-08-16 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1284 [INFRA-544] [PATCH] Taritup patch for XML Commons, Batik and FOP after the move to SVN 2007-10-10 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-544 [INFRA-1675] Create empire-db SVN repository 2008-07-10 - Unassigned - Sub-task http://issues.apache.org/jira/browse/INFRA-1675 [INFRA-1678] Import code into Subversion repository 2008-07-10 - Unassigned - Sub-task http://issues.apache.org/jira/browse/INFRA-1678 [INFRA-1672] Import missing branches from CVS into SVN 2008-07-23 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1672 [INFRA-1694] Import click code base into Subversion repository 2008-07-27 - Unassigned - Sub-task http://issues.apache.org/jira/browse/INFRA-1694 [INFRA-1691] Create Click SVN Repository 2008-07-27 - Unassigned - Sub-task http://issues.apache.org/jira/browse/INFRA-1691 [INFRA-1687] Migrate JSecurity from SourceForge SVN repository to ASF Incubator SVN repository 2008-07-29 - Unassigned - Task http://issues.apache.org/jira/browse/INFRA-1687 TLP Admin (2) [INFRA-1586] Create new Apache CXF TLP 2008-06-16 - Joe Schaefer - Task http://issues.apache.org/jira/browse/INFRA-1586 [INFRA-1563] Apache Archiva TLP Setup 2008-06-16 - Joe Schaefer - Task http://issues.apache.org/jira/browse/INFRA-1563 Website (1) [INFRA-1622] Bad link on https://issues.apache.org/ 2008-07-15 - Unassigned - Bug http://issues.apache.org/jira/browse/INFRA-1622 Zones (1) [INFRA-1551] Update Apache HTTPD to include mod_proxy_ajp on the Lenya zone 2008-03-08 - Unassigned - Wish http://issues.apache.org/jira/browse/INFRA-1551 -- template: infra.vm From [email protected] Wed Jul 30 04:26:33 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64027 invoked from network); 30 Jul 2008 04:26:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Jul 2008 04:26:33 -0000 Received: (qmail 73545 invoked by uid 500); 30 Jul 2008 04:26:29 -0000 Delivered-To: [email protected] Received: (qmail 73325 invoked by uid 500); 30 Jul 2008 04:26:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 73314 invoked by uid 99); 30 Jul 2008 04:26:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jul 2008 21:26:29 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2008 04:25:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B2B75234C181 for <[email protected]>; Tue, 29 Jul 2008 21:25:31 -0700 (PDT) Message-ID: <107789125.1217391931730.JavaMail.jira@brutus> Date: Tue, 29 Jul 2008 21:25:31 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1566) Apache Mirror Configured and ready to go. In-Reply-To: <2003470505.1206655044230.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618056#action_12618056 ] Gavin commented on INFRA-1566: ------------------------------ heh, I missed that, anyway, your back on, let me know if all is now ok. Gav... > Apache Mirror Configured and ready to go. > ------------------------------------------ > > Key: INFRA-1566 > URL: https://issues.apache.org/jira/browse/INFRA-1566 > Project: Infrastructure > Issue Type: Improvement > Security Level: public(Regular issues) > Components: Mirrors > Reporter: John Williams > > * URL of mirror - http://www.poolsaboveground.com/apache/ > * Country where the mirror is located - US > * Contact email address [email protected] > * Update frequency - every 8 hours > * Rsync repository used - rsync.us.apache.org > * Approximate bandwidth 5000 G , got more if needed > * I have configured my HTTP server as requested (yes) > * I have subscribed to the mirror maintainers mailing list (yes) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jul 30 04:34:36 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 72450 invoked from network); 30 Jul 2008 04:34:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Jul 2008 04:34:35 -0000 Received: (qmail 79166 invoked by uid 500); 30 Jul 2008 04:34:33 -0000 Delivered-To: [email protected] Received: (qmail 78968 invoked by uid 500); 30 Jul 2008 04:34:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78957 invoked by uid 99); 30 Jul 2008 04:34:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jul 2008 21:34:33 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2008 04:33:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E42AC234C18A for <[email protected]>; Tue, 29 Jul 2008 21:33:31 -0700 (PDT) Message-ID: <187771519.1217392411933.JavaMail.jira@brutus> Date: Tue, 29 Jul 2008 21:33:31 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (INFRA-1682) Re-registering apache.ntua.gr mirror In-Reply-To: <867595430.1216579111666.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gavin closed INFRA-1682. ------------------------ Resolution: Fixed Assignee: (was: Gavin) Looking good now, so added, thanks. > Re-registering apache.ntua.gr mirror > ------------------------------------ > > Key: INFRA-1682 > URL: https://issues.apache.org/jira/browse/INFRA-1682 > Project: Infrastructure > Issue Type: Improvement > Security Level: public(Regular issues) > Components: Mirrors > Environment: FreeBSD 5.2.1, Apache HTTPD 2.2.9 > Reporter: Panagiotis Christias > > Hello, > I would like to re-register the apache mirror [email protected] (National Technical University of Athens, Greece): > * URL of mirror: http://apache.ntua.gr/ and ftp://ftp.ntua.gr/pub/www/apache/ (both IPv4 and IPv6) > * Country where the mirror is located: Greece (GR) > * Contact email address: [email protected] > * Update frequency: 4 times per day > * Rsync repository used: rsync.eu.apache.org > * Approximate bandwidth: 1 Gbps link to internet > * I have configured my HTTP server as requested: yes > * I have subscribed to the mirror maintainers mailing list: yes > * Mirror logo: http://ftp.ntua.gr/images/ntua-100x34.png > * Mirror logo link to: http://www.ntua.gr/ > Regards, > Panagiotis -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jul 30 11:19:56 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80226 invoked from network); 30 Jul 2008 11:19:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Jul 2008 11:19:54 -0000 Received: (qmail 98200 invoked by uid 500); 30 Jul 2008 11:19:52 -0000 Delivered-To: [email protected] Received: (qmail 97949 invoked by uid 500); 30 Jul 2008 11:19:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 97938 invoked by uid 99); 30 Jul 2008 11:19:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2008 04:19:51 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2008 11:19:05 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id BF846234C18C for <[email protected]>; Wed, 30 Jul 2008 04:19:31 -0700 (PDT) Message-ID: <655611943.1217416771783.JavaMail.jira@brutus> Date: Wed, 30 Jul 2008 04:19:31 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1622) Bad link on https://issues.apache.org/ In-Reply-To: <995921416.1211477275782.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618289#action_12618289 ] Gavin commented on INFRA-1622: ------------------------------ No discussion came from site-dev list, I have therefore changed the link to go directly to /quick.html. I also changed the link on /mailing-lists.html to point to /quick.html. Need to scan through and make sure no other pages still point to /resources.html before removing the redirect. > Bad link on https://issues.apache.org/ > -------------------------------------- > > Key: INFRA-1622 > URL: https://issues.apache.org/jira/browse/INFRA-1622 > Project: Infrastructure > Issue Type: Bug > Security Level: public(Regular issues) > Components: Website > Reporter: Matthieu Chase Heimer > Priority: Minor > > The first sentence on https://issues.apache.org/ links to a file that is zero bytes in size, http://projects.apache.org/indexes/resources.html. There is also another zero size file in the same location, http://projects.apache.org/indexes/project.html. > The link should probably go to: http://projects.apache.org/indexes/alpha.html unless the resources.html files is modified to have some content. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jul 30 14:14:48 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 839 invoked from network); 30 Jul 2008 14:14:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Jul 2008 14:14:46 -0000 Received: (qmail 50801 invoked by uid 500); 30 Jul 2008 14:14:45 -0000 Delivered-To: [email protected] Received: (qmail 50561 invoked by uid 500); 30 Jul 2008 14:14:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 50550 invoked by uid 99); 30 Jul 2008 14:14:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2008 07:14:44 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2008 14:13:53 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 1640F234C190 for <[email protected]>; Wed, 30 Jul 2008 07:13:32 -0700 (PDT) Message-ID: <1204413595.1217427212090.JavaMail.jira@brutus> Date: Wed, 30 Jul 2008 07:13:32 -0700 (PDT) From: "Justin Mason (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (INFRA-1685) Account for JAMES In-Reply-To: <1852827044.1216906533802.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Mason resolved INFRA-1685. --------------------------------- Resolution: Fixed > Account for JAMES > ------------------ > > Key: INFRA-1685 > URL: https://issues.apache.org/jira/browse/INFRA-1685 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Hudson > Reporter: Norman Maurer > Assignee: Nigel Daley > > Hi all, > we would like to add JAMES ( james.apache.org ) to hudson. Can you please create some account for us and send it to our pmc ? > Thx > Norman -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jul 30 14:15:17 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1629 invoked from network); 30 Jul 2008 14:15:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Jul 2008 14:15:17 -0000 Received: (qmail 51339 invoked by uid 500); 30 Jul 2008 14:15:16 -0000 Delivered-To: [email protected] Received: (qmail 51066 invoked by uid 500); 30 Jul 2008 14:15:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51053 invoked by uid 99); 30 Jul 2008 14:15:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2008 07:15:15 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2008 14:14:01 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 1067A234C18A for <[email protected]>; Wed, 30 Jul 2008 07:13:32 -0700 (PDT) Message-ID: <691934811.1217427212066.JavaMail.jira@brutus> Date: Wed, 30 Jul 2008 07:13:32 -0700 (PDT) From: "Justin Mason (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1685) Account for JAMES In-Reply-To: <1852827044.1216906533802.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618348#action_12618348 ] Justin Mason commented on INFRA-1685: ------------------------------------- Stefano: that's set up now. I've mailed the pwds to [email protected] . > Account for JAMES > ------------------ > > Key: INFRA-1685 > URL: https://issues.apache.org/jira/browse/INFRA-1685 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Hudson > Reporter: Norman Maurer > Assignee: Nigel Daley > > Hi all, > we would like to add JAMES ( james.apache.org ) to hudson. Can you please create some account for us and send it to our pmc ? > Thx > Norman -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jul 30 14:16:20 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4405 invoked from network); 30 Jul 2008 14:16:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Jul 2008 14:16:19 -0000 Received: (qmail 54036 invoked by uid 500); 30 Jul 2008 14:16:17 -0000 Delivered-To: [email protected] Received: (qmail 53784 invoked by uid 500); 30 Jul 2008 14:16:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 53771 invoked by uid 99); 30 Jul 2008 14:16:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2008 07:16:17 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2008 14:15:30 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id CCF62234C181 for <[email protected]>; Wed, 30 Jul 2008 07:15:31 -0700 (PDT) Message-ID: <568021892.1217427331838.JavaMail.jira@brutus> Date: Wed, 30 Jul 2008 07:15:31 -0700 (PDT) From: "Justin Mason (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1688) Account for jvermillard In-Reply-To: <996730904.1217102551804.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618349#action_12618349 ] Justin Mason commented on INFRA-1688: ------------------------------------- Hi Julien -- see http://wiki.apache.org/general/Hudson . you need to tell us: 1. Apache username (aka. availid), 2. Your real name, 3. PMC name. also note that you need to be a member of the project's PMC to set it up... > Account for jvermillard > ----------------------- > > Key: INFRA-1688 > URL: https://issues.apache.org/jira/browse/INFRA-1688 > Project: Infrastructure > Issue Type: Improvement > Security Level: public(Regular issues) > Components: Hudson > Reporter: Julien Vermillard > > I need an account for myself "jvermillard" for adding asyncweb in Hudson, what the procedure ? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jul 30 14:31:56 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13570 invoked from network); 30 Jul 2008 14:31:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Jul 2008 14:31:54 -0000 Received: (qmail 78750 invoked by uid 500); 30 Jul 2008 14:31:53 -0000 Delivered-To: [email protected] Received: (qmail 78554 invoked by uid 500); 30 Jul 2008 14:31:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78543 invoked by uid 99); 30 Jul 2008 14:31:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2008 07:31:52 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2008 14:31:06 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id BAC98234C188 for <[email protected]>; Wed, 30 Jul 2008 07:31:32 -0700 (PDT) Message-ID: <1868828716.1217428292763.JavaMail.jira@brutus> Date: Wed, 30 Jul 2008 07:31:32 -0700 (PDT) From: "Julien Vermillard (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1688) Account for jvermillard In-Reply-To: <996730904.1217102551804.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618362#action_12618362 ] Julien Vermillard commented on INFRA-1688: ------------------------------------------ Thanks for the doc link ! username : jvermillard real name : Julien Vermillard member of Apache MINA PMC > Account for jvermillard > ----------------------- > > Key: INFRA-1688 > URL: https://issues.apache.org/jira/browse/INFRA-1688 > Project: Infrastructure > Issue Type: Improvement > Security Level: public(Regular issues) > Components: Hudson > Reporter: Julien Vermillard > > I need an account for myself "jvermillard" for adding asyncweb in Hudson, what the procedure ? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jul 30 15:18:27 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41092 invoked from network); 30 Jul 2008 15:18:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Jul 2008 15:18:24 -0000 Received: (qmail 60922 invoked by uid 500); 30 Jul 2008 15:18:22 -0000 Delivered-To: [email protected] Received: (qmail 60738 invoked by uid 500); 30 Jul 2008 15:18:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 60727 invoked by uid 99); 30 Jul 2008 15:18:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2008 08:18:22 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2008 15:17:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 5212D234C18A for <[email protected]>; Wed, 30 Jul 2008 08:17:32 -0700 (PDT) Message-ID: <1251212689.1217431052335.JavaMail.jira@brutus> Date: Wed, 30 Jul 2008 08:17:32 -0700 (PDT) From: "Justin Mason (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (INFRA-1688) Account for jvermillard In-Reply-To: <996730904.1217102551804.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Mason resolved INFRA-1688. --------------------------------- Resolution: Fixed > Account for jvermillard > ----------------------- > > Key: INFRA-1688 > URL: https://issues.apache.org/jira/browse/INFRA-1688 > Project: Infrastructure > Issue Type: Improvement > Security Level: public(Regular issues) > Components: Hudson > Reporter: Julien Vermillard > > I need an account for myself "jvermillard" for adding asyncweb in Hudson, what the procedure ? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jul 30 15:18:31 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41660 invoked from network); 30 Jul 2008 15:18:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Jul 2008 15:18:28 -0000 Received: (qmail 61322 invoked by uid 500); 30 Jul 2008 15:18:24 -0000 Delivered-To: [email protected] Received: (qmail 61058 invoked by uid 500); 30 Jul 2008 15:18:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 60825 invoked by uid 99); 30 Jul 2008 15:18:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2008 08:18:22 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2008 15:17:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 4B91F234C181 for <[email protected]>; Wed, 30 Jul 2008 08:17:32 -0700 (PDT) Message-ID: <380502796.1217431052308.JavaMail.jira@brutus> Date: Wed, 30 Jul 2008 08:17:32 -0700 (PDT) From: "Justin Mason (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1688) Account for jvermillard In-Reply-To: <996730904.1217102551804.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618381#action_12618381 ] Justin Mason commented on INFRA-1688: ------------------------------------- OK, that's set up now -- I've mailed the acct details to [email protected]. Unfortunately I had to set up the UNIX account as "jvermill" due to Solaris complaining about > 8 char usernames :( ; however, the web account contains the full username. > Account for jvermillard > ----------------------- > > Key: INFRA-1688 > URL: https://issues.apache.org/jira/browse/INFRA-1688 > Project: Infrastructure > Issue Type: Improvement > Security Level: public(Regular issues) > Components: Hudson > Reporter: Julien Vermillard > > I need an account for myself "jvermillard" for adding asyncweb in Hudson, what the procedure ? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 31 08:41:35 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38509 invoked from network); 31 Jul 2008 08:41:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jul 2008 08:41:31 -0000 Received: (qmail 61954 invoked by uid 500); 31 Jul 2008 08:41:30 -0000 Delivered-To: [email protected] Received: (qmail 61716 invoked by uid 500); 31 Jul 2008 08:41:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 61705 invoked by uid 99); 31 Jul 2008 08:41:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 01:41:29 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 08:40:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C54E9234C181 for <[email protected]>; Thu, 31 Jul 2008 01:40:31 -0700 (PDT) Message-ID: <762379169.1217493631806.JavaMail.jira@brutus> Date: Thu, 31 Jul 2008 01:40:31 -0700 (PDT) From: "Per Qvindesland (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1695) New miror up and running MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org New miror up and running ------------------------ Key: INFRA-1695 URL: https://issues.apache.org/jira/browse/INFRA-1695 Project: Infrastructure Issue Type: New Feature Security Level: public (Regular issues) Reporter: Per Qvindesland * URL of mirror http://apache.norhex.com/ * Country where the mirror is located US * Contact email address [email protected] * Update frequency every 2 hours * Rsync repository used rsync.us.apache.org * Approximate bandwidth Unlimited * I have configured my HTTP server as requested yes * I have subscribed to the mirror maintainers mailing list yes -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 31 11:17:35 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12435 invoked from network); 31 Jul 2008 11:17:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jul 2008 11:17:32 -0000 Received: (qmail 28160 invoked by uid 500); 31 Jul 2008 11:17:31 -0000 Delivered-To: [email protected] Received: (qmail 27891 invoked by uid 500); 31 Jul 2008 11:17:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 27878 invoked by uid 99); 31 Jul 2008 11:17:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 04:17:30 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 11:16:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id CC7C4234C188 for <[email protected]>; Thu, 31 Jul 2008 04:16:31 -0700 (PDT) Message-ID: <23245514.1217502991836.JavaMail.jira@brutus> Date: Thu, 31 Jul 2008 04:16:31 -0700 (PDT) From: "Neil Lathwood (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1696) New mirror MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org New mirror ---------- Key: INFRA-1696 URL: https://issues.apache.org/jira/browse/INFRA-1696 Project: Infrastructure Issue Type: Improvement Security Level: public (Regular issues) Components: Mirrors Reporter: Neil Lathwood Priority: Trivial http://mirrors.ukfast.co.uk/sites/ftp.apache.org/ UK [email protected] Every 6 hours rsync.eu.apache.org 100Mb/s I have configured my HTTP server as requested - yes I have subscribed to the mirror maintainers mailing list - yes -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 31 11:21:02 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13813 invoked from network); 31 Jul 2008 11:21:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jul 2008 11:21:01 -0000 Received: (qmail 29738 invoked by uid 500); 31 Jul 2008 11:21:00 -0000 Delivered-To: [email protected] Received: (qmail 29543 invoked by uid 500); 31 Jul 2008 11:20:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 29532 invoked by uid 99); 31 Jul 2008 11:20:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 04:20:59 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 11:20:05 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id DB916234C188 for <[email protected]>; Thu, 31 Jul 2008 04:20:31 -0700 (PDT) Message-ID: <244088504.1217503231898.JavaMail.jira@brutus> Date: Thu, 31 Jul 2008 04:20:31 -0700 (PDT) From: "Neil Lathwood (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (INFRA-1696) New mirror In-Reply-To: <23245514.1217502991836.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Neil Lathwood updated INFRA-1696: --------------------------------- Description: http://mirrors.ukfast.co.uk/sites/ftp.apache.org/ UK [email protected] Every 6 hours rsync.eu.apache.org 100Mb/s I have configured my HTTP server as requested - yes I have subscribed to the mirror maintainers mailing list - yes logo url: http://mirrors.ukfast.co.uk/ukfast_logo100x25px.gif logo link: http://www.ukfast.co.uk was: http://mirrors.ukfast.co.uk/sites/ftp.apache.org/ UK [email protected] Every 6 hours rsync.eu.apache.org 100Mb/s I have configured my HTTP server as requested - yes I have subscribed to the mirror maintainers mailing list - yes > New mirror > ---------- > > Key: INFRA-1696 > URL: https://issues.apache.org/jira/browse/INFRA-1696 > Project: Infrastructure > Issue Type: Improvement > Security Level: public(Regular issues) > Components: Mirrors > Reporter: Neil Lathwood > Priority: Trivial > > http://mirrors.ukfast.co.uk/sites/ftp.apache.org/ > UK > [email protected] > Every 6 hours > rsync.eu.apache.org > 100Mb/s > I have configured my HTTP server as requested - yes > I have subscribed to the mirror maintainers mailing list - yes > logo url: http://mirrors.ukfast.co.uk/ukfast_logo100x25px.gif > logo link: http://www.ukfast.co.uk -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 31 13:47:10 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95546 invoked from network); 31 Jul 2008 13:47:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jul 2008 13:47:07 -0000 Received: (qmail 8317 invoked by uid 500); 31 Jul 2008 13:47:06 -0000 Delivered-To: [email protected] Received: (qmail 8046 invoked by uid 500); 31 Jul 2008 13:47:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 8035 invoked by uid 99); 31 Jul 2008 13:47:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 06:47:05 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 13:46:08 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id BB055234C18C for <[email protected]>; Thu, 31 Jul 2008 06:46:34 -0700 (PDT) Message-ID: <1678246980.1217511994764.JavaMail.jira@brutus> Date: Thu, 31 Jul 2008 06:46:34 -0700 (PDT) From: "Joe Schaefer (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1687) Migrate JSecurity from SourceForge SVN repository to ASF Incubator SVN repository In-Reply-To: <175629788.1217010571872.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618678#action_12618678 ] Joe Schaefer commented on INFRA-1687: ------------------------------------- We need a dump of the repo. The process is for us to take the dump file from some url you provide, add the dump to our test repo to see what it does, and then load it to the incubator repo after everything checks out. > Migrate JSecurity from SourceForge SVN repository to ASF Incubator SVN repository > --------------------------------------------------------------------------------- > > Key: INFRA-1687 > URL: https://issues.apache.org/jira/browse/INFRA-1687 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Subversion > Reporter: Les Hazlewood > Priority: Blocker > > Hello, > As part of our entry into the ASF Incubator process, we need to migrate our existing code over from SourceForge. But it is extremely important to retain the previous 4 years worth of commit/revision history in the process. > After doing some googling, it appears the correct way to do this is to use the 'svnsync' command, which requires some modifications on the ASF side: > 1. The existing repository mapped to https://svn.apache.org/repos/asf/incubator/jsecurity needs to be blown away entirely and recreated with zero revision history - that is, after 'svnadmin create', don't create the usual trunk, branches and tags directories - see the steps in #2 below. > Here is the email thread that verifies we've agreed to do this: > http://jsecurity.markmail.org/search/?q=list:org.apache.incubator.jsecurity-dev#query:list%3Aorg.apache.incubator.jsecurity-dev+page:1+mid:53yhu357qfkuc3fs+state:results > There is only a trivial amount in our current incubator repository - not a problem for us to recreate what little is there after the migration is complete. > 2. From what I've seen after researching with google, the following needs to be run: > $ cd <wherever 'svnadmin create' will be run - should map to https://svn.apache.org/repos/asf/incubator/jsecurity> > $ svnadmin create jsecurity > $ svnsync init --username <your_username> https://svn.apache.org/repos/asf/incubator/jsecurity https://jsecurity.svn.sourceforge.net/svnroot/jsecurity > Copied properties for revision 0. > $ svnsync sync --username <your_username> https://svn.apache.org/repos/asf/incubator/jsecurity > Committed revision 1. > Copied properties for revision 1. > Committed revision 2. > Copied properties for revision 2. > [...] > I have currently disabled all commit access to our SF SVN server, so there is no fear of inconsistent data, so the above can be run at any time (hopefully sooner than later since our dev team can't do anything until this is complete - hence the 'Blocker' status ;) ). > Here are the resources I referenced while putting this request together: > http://groups.google.com/group/google-code-hosting/browse_thread/thread/0efbf53955bedee5/f5c7f47a7687fad2 > http://code.google.com/support/bin/answer.py?answer=56673&topic=10386 > http://journal.paul.querna.org/articles/2006/09/14/using-svnsync/ > Please feel free to contact me at [email protected] with any questions. > Thanks so much!!! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 31 13:52:54 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2008 invoked from network); 31 Jul 2008 13:52:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jul 2008 13:52:53 -0000 Received: (qmail 17221 invoked by uid 500); 31 Jul 2008 13:52:52 -0000 Delivered-To: [email protected] Received: (qmail 16975 invoked by uid 500); 31 Jul 2008 13:52:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 16964 invoked by uid 99); 31 Jul 2008 13:52:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 06:52:51 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 13:52:05 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C51C2234C181 for <[email protected]>; Thu, 31 Jul 2008 06:52:31 -0700 (PDT) Message-ID: <1623138675.1217512351806.JavaMail.jira@brutus> Date: Thu, 31 Jul 2008 06:52:31 -0700 (PDT) From: "Joe Schaefer (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (INFRA-1690) Create Click Mailing lists In-Reply-To: <1433432902.1217157151691.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Schaefer closed INFRA-1690. ------------------------------- Resolution: Fixed Done. > Create Click Mailing lists > --------------------------- > > Key: INFRA-1690 > URL: https://issues.apache.org/jira/browse/INFRA-1690 > Project: Infrastructure > Issue Type: Sub-task > Security Level: public(Regular issues) > Components: Mailing Lists > Reporter: Henning Schmiedehausen > > Please set up > [email protected] > [email protected] > [email protected] > and add me ([email protected]) as moderator -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 31 13:58:54 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6624 invoked from network); 31 Jul 2008 13:58:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jul 2008 13:58:53 -0000 Received: (qmail 25200 invoked by uid 500); 31 Jul 2008 13:58:52 -0000 Delivered-To: [email protected] Received: (qmail 24849 invoked by uid 500); 31 Jul 2008 13:58:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 24834 invoked by uid 99); 31 Jul 2008 13:58:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 06:58:51 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 13:58:05 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id DBDA1234C181 for <[email protected]>; Thu, 31 Jul 2008 06:58:31 -0700 (PDT) Message-ID: <762695446.1217512711899.JavaMail.jira@brutus> Date: Thu, 31 Jul 2008 06:58:31 -0700 (PDT) From: "Joe Schaefer (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1691) Create Click SVN Repository In-Reply-To: <814835804.1217157271669.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618684#action_12618684 ] Joe Schaefer commented on INFRA-1691: ------------------------------------- Let's wait until there's code to import, otherwise depending on the dumpfile I may have to destroy whatever pre-exists in svn. > Create Click SVN Repository > --------------------------- > > Key: INFRA-1691 > URL: https://issues.apache.org/jira/browse/INFRA-1691 > Project: Infrastructure > Issue Type: Sub-task > Security Level: public(Regular issues) > Components: Subversion > Reporter: Henning Schmiedehausen > > please create > /incubator/click as SVN repository for the click podling. > Please give initial access to henning, wglass,aadamchik and husted (mentors for the click project) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 31 13:59:24 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7403 invoked from network); 31 Jul 2008 13:59:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jul 2008 13:59:23 -0000 Received: (qmail 25945 invoked by uid 500); 31 Jul 2008 13:59:22 -0000 Delivered-To: [email protected] Received: (qmail 25698 invoked by uid 500); 31 Jul 2008 13:59:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 25687 invoked by uid 99); 31 Jul 2008 13:59:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 06:59:21 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 13:58:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E765F234C18D for <[email protected]>; Thu, 31 Jul 2008 06:58:31 -0700 (PDT) Message-ID: <11910472.1217512711946.JavaMail.jira@brutus> Date: Thu, 31 Jul 2008 06:58:31 -0700 (PDT) From: "Joe Schaefer (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1675) Create empire-db SVN repository In-Reply-To: <678518234.1215616891703.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618685#action_12618685 ] Joe Schaefer commented on INFRA-1675: ------------------------------------- Let's wait until there's code to import. > Create empire-db SVN repository > ------------------------------- > > Key: INFRA-1675 > URL: https://issues.apache.org/jira/browse/INFRA-1675 > Project: Infrastructure > Issue Type: Sub-task > Security Level: public(Regular issues) > Components: Subversion > Reporter: Henning Schmiedehausen > > please create > /incubator/empire-db as SVN repository for the Empire-db podling. > Please give initial access to henning, tfischer and dashorst (mentors) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 31 14:15:08 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15848 invoked from network); 31 Jul 2008 14:15:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jul 2008 14:15:05 -0000 Received: (qmail 52779 invoked by uid 500); 31 Jul 2008 14:15:04 -0000 Delivered-To: [email protected] Received: (qmail 52423 invoked by uid 500); 31 Jul 2008 14:15:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 52412 invoked by uid 99); 31 Jul 2008 14:15:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 07:15:03 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 14:14:06 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 5353D234C18F for <[email protected]>; Thu, 31 Jul 2008 07:14:33 -0700 (PDT) Message-ID: <1628549192.1217513673340.JavaMail.jira@brutus> Date: Thu, 31 Jul 2008 07:14:33 -0700 (PDT) From: "Les Hazlewood (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1687) Migrate JSecurity from SourceForge SVN repository to ASF Incubator SVN repository In-Reply-To: <175629788.1217010571872.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618690#action_12618690 ] Les Hazlewood commented on INFRA-1687: -------------------------------------- Ok, this is what I'll do (just outlining for clarity's sake): 1. Run 'svnadmin dump' 2. Take the resulting file and make a tarball of it 3. Attach the tarball's URL to this issue 4. You (or someone else from Infrastructure) will download the tarball and import it into the ASF repo. Thanks! > Migrate JSecurity from SourceForge SVN repository to ASF Incubator SVN repository > --------------------------------------------------------------------------------- > > Key: INFRA-1687 > URL: https://issues.apache.org/jira/browse/INFRA-1687 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Components: Subversion > Reporter: Les Hazlewood > Priority: Blocker > > Hello, > As part of our entry into the ASF Incubator process, we need to migrate our existing code over from SourceForge. But it is extremely important to retain the previous 4 years worth of commit/revision history in the process. > After doing some googling, it appears the correct way to do this is to use the 'svnsync' command, which requires some modifications on the ASF side: > 1. The existing repository mapped to https://svn.apache.org/repos/asf/incubator/jsecurity needs to be blown away entirely and recreated with zero revision history - that is, after 'svnadmin create', don't create the usual trunk, branches and tags directories - see the steps in #2 below. > Here is the email thread that verifies we've agreed to do this: > http://jsecurity.markmail.org/search/?q=list:org.apache.incubator.jsecurity-dev#query:list%3Aorg.apache.incubator.jsecurity-dev+page:1+mid:53yhu357qfkuc3fs+state:results > There is only a trivial amount in our current incubator repository - not a problem for us to recreate what little is there after the migration is complete. > 2. From what I've seen after researching with google, the following needs to be run: > $ cd <wherever 'svnadmin create' will be run - should map to https://svn.apache.org/repos/asf/incubator/jsecurity> > $ svnadmin create jsecurity > $ svnsync init --username <your_username> https://svn.apache.org/repos/asf/incubator/jsecurity https://jsecurity.svn.sourceforge.net/svnroot/jsecurity > Copied properties for revision 0. > $ svnsync sync --username <your_username> https://svn.apache.org/repos/asf/incubator/jsecurity > Committed revision 1. > Copied properties for revision 1. > Committed revision 2. > Copied properties for revision 2. > [...] > I have currently disabled all commit access to our SF SVN server, so there is no fear of inconsistent data, so the above can be run at any time (hopefully sooner than later since our dev team can't do anything until this is complete - hence the 'Blocker' status ;) ). > Here are the resources I referenced while putting this request together: > http://groups.google.com/group/google-code-hosting/browse_thread/thread/0efbf53955bedee5/f5c7f47a7687fad2 > http://code.google.com/support/bin/answer.py?answer=56673&topic=10386 > http://journal.paul.querna.org/articles/2006/09/14/using-svnsync/ > Please feel free to contact me at [email protected] with any questions. > Thanks so much!!! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 31 14:41:28 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33530 invoked from network); 31 Jul 2008 14:41:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jul 2008 14:41:26 -0000 Received: (qmail 8657 invoked by uid 500); 31 Jul 2008 14:41:25 -0000 Delivered-To: [email protected] Received: (qmail 8434 invoked by uid 500); 31 Jul 2008 14:41:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 8166 invoked by uid 99); 31 Jul 2008 14:41:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 07:41:23 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 14:40:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 79FF1234C18A for <[email protected]>; Thu, 31 Jul 2008 07:40:32 -0700 (PDT) Message-ID: <1483099648.1217515232498.JavaMail.jira@brutus> Date: Thu, 31 Jul 2008 07:40:32 -0700 (PDT) From: "Henning Schmiedehausen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (INFRA-1676) Request empire-db accounts In-Reply-To: <2021743033.1215617011987.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1676?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Henning Schmiedehausen resolved INFRA-1676. ------------------------------------------- Resolution: Fixed Accounts have been created. > Request empire-db accounts > -------------------------- > > Key: INFRA-1676 > URL: https://issues.apache.org/jira/browse/INFRA-1676 > Project: Infrastructure > Issue Type: Sub-task > Security Level: public(Regular issues)=20 > Reporter: Henning Schmiedehausen > Assignee: Henning Schmiedehausen > > request empire-db committer accounts as soon as all CLAs are recorded: > Rainer D=C3=B6bele: doebele > J=C3=B6rg Reiher:=20 > Manuel Gamerdinger: > Matthew Bond: --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 31 14:42:56 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34932 invoked from network); 31 Jul 2008 14:42:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jul 2008 14:42:56 -0000 Received: (qmail 10896 invoked by uid 500); 31 Jul 2008 14:42:54 -0000 Delivered-To: [email protected] Received: (qmail 10674 invoked by uid 500); 31 Jul 2008 14:42:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 10663 invoked by uid 99); 31 Jul 2008 14:42:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 07:42:54 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 14:42:05 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 28EF7234C18A for <[email protected]>; Thu, 31 Jul 2008 07:42:32 -0700 (PDT) Message-ID: <346877999.1217515352166.JavaMail.jira@brutus> Date: Thu, 31 Jul 2008 07:42:32 -0700 (PDT) From: "Henning Schmiedehausen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1675) Create empire-db SVN repository In-Reply-To: <678518234.1215616891703.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618701#action_12618701 ] Henning Schmiedehausen commented on INFRA-1675: ----------------------------------------------- There is lots of code ready to be imported. See the proposal. Please create the repository; authorization has already been added. > Create empire-db SVN repository > ------------------------------- > > Key: INFRA-1675 > URL: https://issues.apache.org/jira/browse/INFRA-1675 > Project: Infrastructure > Issue Type: Sub-task > Security Level: public(Regular issues) > Components: Subversion > Reporter: Henning Schmiedehausen > > please create > /incubator/empire-db as SVN repository for the Empire-db podling. > Please give initial access to henning, tfischer and dashorst (mentors) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 31 14:51:34 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41779 invoked from network); 31 Jul 2008 14:51:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jul 2008 14:51:33 -0000 Received: (qmail 54400 invoked by uid 500); 31 Jul 2008 14:51:24 -0000 Delivered-To: [email protected] Received: (qmail 54173 invoked by uid 500); 31 Jul 2008 14:51:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 54146 invoked by uid 99); 31 Jul 2008 14:51:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 07:51:23 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 14:50:37 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id AED85234C18A for <[email protected]>; Thu, 31 Jul 2008 07:50:33 -0700 (PDT) Message-ID: <940203281.1217515833715.JavaMail.jira@brutus> Date: Thu, 31 Jul 2008 07:50:33 -0700 (PDT) From: "Joe Schaefer (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (INFRA-1675) Create empire-db SVN repository In-Reply-To: <678518234.1215616891703.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Schaefer closed INFRA-1675. ------------------------------- Resolution: Fixed Committed revision 681388. > Create empire-db SVN repository > ------------------------------- > > Key: INFRA-1675 > URL: https://issues.apache.org/jira/browse/INFRA-1675 > Project: Infrastructure > Issue Type: Sub-task > Security Level: public(Regular issues) > Components: Subversion > Reporter: Henning Schmiedehausen > > please create > /incubator/empire-db as SVN repository for the Empire-db podling. > Please give initial access to henning, tfischer and dashorst (mentors) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 31 14:54:54 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45273 invoked from network); 31 Jul 2008 14:54:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jul 2008 14:54:53 -0000 Received: (qmail 75090 invoked by uid 500); 31 Jul 2008 14:54:52 -0000 Delivered-To: [email protected] Received: (qmail 74851 invoked by uid 500); 31 Jul 2008 14:54:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74837 invoked by uid 99); 31 Jul 2008 14:54:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 07:54:51 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 14:54:05 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D0FC8234C181 for <[email protected]>; Thu, 31 Jul 2008 07:54:31 -0700 (PDT) Message-ID: <168049960.1217516071854.JavaMail.jira@brutus> Date: Thu, 31 Jul 2008 07:54:31 -0700 (PDT) From: "Joe Schaefer (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1694) Import click code base into Subversion repository In-Reply-To: <1596822455.1217157753552.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618705#action_12618705 ] Joe Schaefer commented on INFRA-1694: ------------------------------------- Need the url of an svn dump of their sourceforge repo. > Import click code base into Subversion repository > ------------------------------------------------- > > Key: INFRA-1694 > URL: https://issues.apache.org/jira/browse/INFRA-1694 > Project: Infrastructure > Issue Type: Sub-task > Security Level: public(Regular issues) > Components: Subversion > Reporter: Henning Schmiedehausen > > Import the existing click code base into the incubator repository. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 31 14:56:58 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47281 invoked from network); 31 Jul 2008 14:56:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jul 2008 14:56:55 -0000 Received: (qmail 80886 invoked by uid 500); 31 Jul 2008 14:56:52 -0000 Delivered-To: [email protected] Received: (qmail 80619 invoked by uid 500); 31 Jul 2008 14:56:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 80604 invoked by uid 99); 31 Jul 2008 14:56:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 07:56:52 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 14:56:05 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D0844234C181 for <[email protected]>; Thu, 31 Jul 2008 07:56:31 -0700 (PDT) Message-ID: <515343273.1217516191853.JavaMail.jira@brutus> Date: Thu, 31 Jul 2008 07:56:31 -0700 (PDT) From: "Henning Schmiedehausen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (INFRA-1692) Request click accounts In-Reply-To: <1104841223.1217157631663.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henning Schmiedehausen resolved INFRA-1692. ------------------------------------------- Resolution: Fixed Accounts have been created. > Request click accounts > ---------------------- > > Key: INFRA-1692 > URL: https://issues.apache.org/jira/browse/INFRA-1692 > Project: Infrastructure > Issue Type: Sub-task > Security Level: public(Regular issues) > Reporter: Henning Schmiedehausen > Assignee: Henning Schmiedehausen > > Request accounts for the initial click committers > * Malcolm Edgar > * Bob Schellink > * Naoki Takezoe > * Ahmed Mohombe > Account for Malcolm already exists (medgar). > notinavail:Bob Schellink:Bob Schellink:[email protected]:Signed CLA;bob-schellink > notinavail:Naoki Takezoe:Naoki Takezoe:[email protected]:Signed CLA;naoki-takezoe- > account for bob: bob, sabob, bobschellink > account for naoki: takezoe -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 31 15:06:56 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53347 invoked from network); 31 Jul 2008 15:06:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jul 2008 15:06:55 -0000 Received: (qmail 5120 invoked by uid 500); 31 Jul 2008 15:06:54 -0000 Delivered-To: [email protected] Received: (qmail 4896 invoked by uid 500); 31 Jul 2008 15:06:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4885 invoked by uid 99); 31 Jul 2008 15:06:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 08:06:53 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 15:06:07 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B7B18234C18C for <[email protected]>; Thu, 31 Jul 2008 08:06:33 -0700 (PDT) Message-ID: <1654573709.1217516793751.JavaMail.jira@brutus> Date: Thu, 31 Jul 2008 08:06:33 -0700 (PDT) From: "Henning Schmiedehausen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1678) Import code into Subversion repository In-Reply-To: <388050998.1215702393511.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618710#action_12618710 ] Henning Schmiedehausen commented on INFRA-1678: ----------------------------------------------- Joe already created incubator/empire-db, please give an URL of a code dump from your current Subversion repository so he can import it into the apache SVN. > Import code into Subversion repository > -------------------------------------- > > Key: INFRA-1678 > URL: https://issues.apache.org/jira/browse/INFRA-1678 > Project: Infrastructure > Issue Type: Sub-task > Security Level: public(Regular issues) > Components: Subversion > Reporter: Henning Schmiedehausen > > Software grant has been received > (from grants.txt) > Empire-db > Empire-db (relational data persistence component), Empire-struts2-extentions (presentation layer integration library for the struts2 web application framework) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 31 15:07:16 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53990 invoked from network); 31 Jul 2008 15:07:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jul 2008 15:07:15 -0000 Received: (qmail 5549 invoked by uid 500); 31 Jul 2008 15:07:14 -0000 Delivered-To: [email protected] Received: (qmail 5359 invoked by uid 500); 31 Jul 2008 15:07:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 5348 invoked by uid 99); 31 Jul 2008 15:07:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 08:07:14 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 15:06:27 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C3EFC234C196 for <[email protected]>; Thu, 31 Jul 2008 08:06:33 -0700 (PDT) Message-ID: <1099406109.1217516793801.JavaMail.jira@brutus> Date: Thu, 31 Jul 2008 08:06:33 -0700 (PDT) From: "Henning Schmiedehausen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1675) Create empire-db SVN repository In-Reply-To: <678518234.1215616891703.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618711#action_12618711 ] Henning Schmiedehausen commented on INFRA-1675: ----------------------------------------------- Man are you quick! Thanks a lot. > Create empire-db SVN repository > ------------------------------- > > Key: INFRA-1675 > URL: https://issues.apache.org/jira/browse/INFRA-1675 > Project: Infrastructure > Issue Type: Sub-task > Security Level: public(Regular issues) > Components: Subversion > Reporter: Henning Schmiedehausen > > please create > /incubator/empire-db as SVN repository for the Empire-db podling. > Please give initial access to henning, tfischer and dashorst (mentors) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 31 15:07:48 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54940 invoked from network); 31 Jul 2008 15:07:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jul 2008 15:07:45 -0000 Received: (qmail 6647 invoked by uid 500); 31 Jul 2008 15:07:44 -0000 Delivered-To: [email protected] Received: (qmail 6376 invoked by uid 500); 31 Jul 2008 15:07:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6361 invoked by uid 99); 31 Jul 2008 15:07:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 08:07:43 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 15:06:57 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id BE58D234C191 for <[email protected]>; Thu, 31 Jul 2008 08:06:33 -0700 (PDT) Message-ID: <1315905404.1217516793778.JavaMail.jira@brutus> Date: Thu, 31 Jul 2008 08:06:33 -0700 (PDT) From: "Henning Schmiedehausen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (INFRA-1678) Import code into Subversion repository In-Reply-To: <388050998.1215702393511.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henning Schmiedehausen reassigned INFRA-1678: --------------------------------------------- Assignee: Joe Schaefer > Import code into Subversion repository > -------------------------------------- > > Key: INFRA-1678 > URL: https://issues.apache.org/jira/browse/INFRA-1678 > Project: Infrastructure > Issue Type: Sub-task > Security Level: public(Regular issues) > Components: Subversion > Reporter: Henning Schmiedehausen > Assignee: Joe Schaefer > > Software grant has been received > (from grants.txt) > Empire-db > Empire-db (relational data persistence component), Empire-struts2-extentions (presentation layer integration library for the struts2 web application framework) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 31 15:09:26 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56310 invoked from network); 31 Jul 2008 15:09:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jul 2008 15:09:23 -0000 Received: (qmail 10117 invoked by uid 500); 31 Jul 2008 15:09:22 -0000 Delivered-To: [email protected] Received: (qmail 9899 invoked by uid 500); 31 Jul 2008 15:09:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 9888 invoked by uid 99); 31 Jul 2008 15:09:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 08:09:22 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 15:08:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D7DF4234C18D for <[email protected]>; Thu, 31 Jul 2008 08:08:31 -0700 (PDT) Message-ID: <967261539.1217516911883.JavaMail.jira@brutus> Date: Thu, 31 Jul 2008 08:08:31 -0700 (PDT) From: "Henning Schmiedehausen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1678) Import code into Subversion repository In-Reply-To: <388050998.1215702393511.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618712#action_12618712 ] Henning Schmiedehausen commented on INFRA-1678: ----------------------------------------------- Any specific options for svndump needed? Or just a straight dump of the existing repo? > Import code into Subversion repository > -------------------------------------- > > Key: INFRA-1678 > URL: https://issues.apache.org/jira/browse/INFRA-1678 > Project: Infrastructure > Issue Type: Sub-task > Security Level: public(Regular issues) > Components: Subversion > Reporter: Henning Schmiedehausen > Assignee: Joe Schaefer > > Software grant has been received > (from grants.txt) > Empire-db > Empire-db (relational data persistence component), Empire-struts2-extentions (presentation layer integration library for the struts2 web application framework) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 31 15:12:54 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58806 invoked from network); 31 Jul 2008 15:12:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jul 2008 15:12:53 -0000 Received: (qmail 12289 invoked by uid 500); 31 Jul 2008 15:12:52 -0000 Delivered-To: [email protected] Received: (qmail 12050 invoked by uid 500); 31 Jul 2008 15:12:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 12029 invoked by uid 99); 31 Jul 2008 15:12:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 08:12:51 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 15:12:05 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id AD772234C18D for <[email protected]>; Thu, 31 Jul 2008 08:12:31 -0700 (PDT) Message-ID: <1252181519.1217517151709.JavaMail.jira@brutus> Date: Thu, 31 Jul 2008 08:12:31 -0700 (PDT) From: "Joe Schaefer (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1678) Import code into Subversion repository In-Reply-To: <388050998.1215702393511.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618714#action_12618714 ] Joe Schaefer commented on INFRA-1678: ------------------------------------- A straight dump of the repo is fine. Using --deltas makes things a bit smaller, but that's not critical. > Import code into Subversion repository > -------------------------------------- > > Key: INFRA-1678 > URL: https://issues.apache.org/jira/browse/INFRA-1678 > Project: Infrastructure > Issue Type: Sub-task > Security Level: public(Regular issues) > Components: Subversion > Reporter: Henning Schmiedehausen > Assignee: Joe Schaefer > > Software grant has been received > (from grants.txt) > Empire-db > Empire-db (relational data persistence component), Empire-struts2-extentions (presentation layer integration library for the struts2 web application framework) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 31 16:19:36 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9019 invoked from network); 31 Jul 2008 16:19:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jul 2008 16:19:33 -0000 Received: (qmail 18129 invoked by uid 500); 31 Jul 2008 16:19:32 -0000 Delivered-To: [email protected] Received: (qmail 17788 invoked by uid 500); 31 Jul 2008 16:19:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 17776 invoked by uid 99); 31 Jul 2008 16:19:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 09:19:31 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 16:18:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id CD78B234C188 for <[email protected]>; Thu, 31 Jul 2008 09:18:31 -0700 (PDT) Message-ID: <1337215713.1217521111840.JavaMail.jira@brutus> Date: Thu, 31 Jul 2008 09:18:31 -0700 (PDT) From: "bob schellink (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1689) Create Infrastructure for Click Poding In-Reply-To: <1962646020.1217157031660.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618744#action_12618744 ] bob schellink commented on INFRA-1689: -------------------------------------- ping, ignore > Create Infrastructure for Click Poding > -------------------------------------- > > Key: INFRA-1689 > URL: https://issues.apache.org/jira/browse/INFRA-1689 > Project: Infrastructure > Issue Type: Task > Security Level: public(Regular issues) > Reporter: Henning Schmiedehausen > Assignee: Henning Schmiedehausen > > Click has been accepted into incubation (see http://markmail.org/message/n6euzvpritdnz4eq for result and http://markmail.org/message/3pb4gv7bxgoheaf5 for the vote thread) and now needs its infrastructure set up. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 31 18:55:33 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23086 invoked from network); 31 Jul 2008 18:55:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jul 2008 18:55:31 -0000 Received: (qmail 19695 invoked by uid 500); 31 Jul 2008 18:55:30 -0000 Delivered-To: [email protected] Received: (qmail 19450 invoked by uid 500); 31 Jul 2008 18:55:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 19439 invoked by uid 99); 31 Jul 2008 18:55:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 11:55:30 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 18:54:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E970D234C18A for <[email protected]>; Thu, 31 Jul 2008 11:54:31 -0700 (PDT) Message-ID: <1527431631.1217530471955.JavaMail.jira@brutus> Date: Thu, 31 Jul 2008 11:54:31 -0700 (PDT) From: "Per Qvindesland (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (INFRA-1697) New Mirror MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org New Mirror ---------- Key: INFRA-1697 URL: https://issues.apache.org/jira/browse/INFRA-1697 Project: Infrastructure Issue Type: Improvement Security Level: public (Regular issues) Components: Mirrors Reporter: Per Qvindesland * URL of mirror http://apache.norhex.com/ * Country where the mirror is located US * Contact email address [email protected] * Update frequency every 2 hours * Rsync repository used rsync.us.apache.org * Approximate bandwidth 2 gb * I have configured my HTTP server as requested yes * I have subscribed to the mirror maintainers mailing list yes -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 31 19:25:34 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46257 invoked from network); 31 Jul 2008 19:25:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jul 2008 19:25:32 -0000 Received: (qmail 63579 invoked by uid 500); 31 Jul 2008 19:25:30 -0000 Delivered-To: [email protected] Received: (qmail 63324 invoked by uid 500); 31 Jul 2008 19:25:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <infrastructure-issues.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 63313 invoked by uid 99); 31 Jul 2008 19:25:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 12:25:30 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 19:24:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 32782234C181 for <[email protected]>; Thu, 31 Jul 2008 12:24:32 -0700 (PDT) Message-ID: <1971757073.1217532272205.JavaMail.jira@brutus> Date: Thu, 31 Jul 2008 12:24:32 -0700 (PDT) From: "Per Qvindesland (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (INFRA-1697) New Mirror In-Reply-To: <1527431631.1217530471955.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/INFRA-1697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618820#action_12618820 ] Per Qvindesland commented on INFRA-1697: ---------------------------------------- Appologies it is rong on the bandwith section, the pipe speed is 2 gb but there is no limit towards how much bandwith that can be used. Regards Per > New Mirror > ---------- > > Key: INFRA-1697 > URL: https://issues.apache.org/jira/browse/INFRA-1697 > Project: Infrastructure > Issue Type: Improvement > Security Level: public(Regular issues) > Components: Mirrors > Reporter: Per Qvindesland > > * URL of mirror http://apache.norhex.com/ > * Country where the mirror is located US > * Contact email address [email protected] > * Update frequency every 2 hours > * Rsync repository used rsync.us.apache.org > * Approximate bandwidth 2 gb > * I have configured my HTTP server as requested yes > * I have subscribed to the mirror maintainers mailing list yes -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
From [email protected] Tue Dec 01 22:44:59 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57593 invoked from network); 1 Dec 2009 22:44:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Dec 2009 22:44:59 -0000 Received: (qmail 3916 invoked by uid 500); 1 Dec 2009 22:44:59 -0000 Delivered-To: [email protected] Received: (qmail 3899 invoked by uid 500); 1 Dec 2009 22:44:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jspwiki-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 3890 invoked by uid 99); 1 Dec 2009 22:44:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 22:44:58 +0000 X-ASF-Spam-Status: No, hits=-5.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 22:44:56 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 8088C238898B; Tue, 1 Dec 2009 22:44:36 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r885982 - /incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ContentManager.java Date: Tue, 01 Dec 2009 22:44:36 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: jalkanen Date: Tue Dec 1 22:44:35 2009 New Revision: 885982 URL: http://svn.apache.org/viewvc?rev=885982&view=rev Log: Now fires NODE_SAVED when a version is deleted instead of NODE_DELETED. Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ContentManager.java Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ContentManager.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ContentManager.java?rev=885982&r1=885981&r2=885982&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ContentManager.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ContentManager.java Tue Dec 1 22:44:35 2009 @@ -488,6 +488,7 @@ * </ul> * * @param page the page to save + * @throws RepositoryException In case anything wrong happens. */ public void save( WikiPage page ) throws RepositoryException { @@ -1055,8 +1056,6 @@ public boolean deleteVersion( WikiPage page ) throws ProviderException { - //fireEvent( ContentEvent.NODE_DELETE_REQUEST, page.getName(), NO_ARGS ); - JCRWikiPage jcrPage = (JCRWikiPage)page; try @@ -1089,7 +1088,11 @@ jcrPage.getJCRNode().getParent().save(); } - //fireEvent( ContentEvent.NODE_DELETED, page.getName(), NO_ARGS ); + // + // Page has changed, so let's notify others. + // FIXME: I'm not sure whether we should fire in what case. + // + fireEvent( ContentEvent.NODE_SAVED, page.getName(), NO_ARGS ); return true; } From [email protected] Tue Dec 01 22:46:00 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57695 invoked from network); 1 Dec 2009 22:46:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Dec 2009 22:46:00 -0000 Received: (qmail 4142 invoked by uid 500); 1 Dec 2009 22:46:00 -0000 Delivered-To: [email protected] Received: (qmail 4123 invoked by uid 500); 1 Dec 2009 22:46:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jspwiki-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4114 invoked by uid 99); 1 Dec 2009 22:46:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 22:46:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 22:45:58 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 8068C2388962; Tue, 1 Dec 2009 22:45:37 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r885983 - /incubator/jspwiki/trunk/src/java/org/apache/wiki/content/jcr/JCRWikiPage.java Date: Tue, 01 Dec 2009 22:45:37 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: jalkanen Date: Tue Dec 1 22:45:36 2009 New Revision: 885983 URL: http://svn.apache.org/viewvc?rev=885983&view=rev Log: No longer creates page in getJCRNode() Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/content/jcr/JCRWikiPage.java Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/content/jcr/JCRWikiPage.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/content/jcr/JCRWikiPage.java?rev=885983&r1=885982&r2=885983&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/content/jcr/JCRWikiPage.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/content/jcr/JCRWikiPage.java Tue Dec 1 22:45:36 2009 @@ -140,15 +140,9 @@ public Node getJCRNode() throws RepositoryException { Node node; - try - { - node = m_engine.getContentManager().getJCRNode(m_jcrPath); - } - catch ( PathNotFoundException e ) - { - // If the Node was never created, create one now - node = m_engine.getContentManager().createJCRNode( m_jcrPath ); - } + + node = m_engine.getContentManager().getJCRNode(m_jcrPath); + return node; } @@ -515,7 +509,7 @@ } /** - * A page is equal to another page if its name and version are equal. + * A page is equal to another page if its path and version are equal. * * {@inheritDoc} */ @@ -525,7 +519,7 @@ { WikiPage oo = (WikiPage) o; - if( oo.getName().equals( getName() ) ) + if( oo.getPath().equals( getPath() ) ) { if( oo.getVersion() == getVersion() ) { From [email protected] Tue Dec 01 22:48:03 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58367 invoked from network); 1 Dec 2009 22:48:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Dec 2009 22:48:03 -0000 Received: (qmail 6939 invoked by uid 500); 1 Dec 2009 22:48:03 -0000 Delivered-To: [email protected] Received: (qmail 6923 invoked by uid 500); 1 Dec 2009 22:48:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jspwiki-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6914 invoked by uid 99); 1 Dec 2009 22:48:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 22:48:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 22:48:01 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 20DDA2388962; Tue, 1 Dec 2009 22:47:40 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r885985 - in /incubator/jspwiki/trunk/tests/java/org/apache/wiki: content/ReferenceManagerTest.java parser/JSPWikiMarkupParserTest.java workflow/ApprovalWorkflowTest.java Date: Tue, 01 Dec 2009 22:47:39 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: jalkanen Date: Tue Dec 1 22:47:39 2009 New Revision: 885985 URL: http://svn.apache.org/viewvc?rev=885985&view=rev Log: Fixed exceptions that are thrown to conform to new WikiEngine changes. Modified: incubator/jspwiki/trunk/tests/java/org/apache/wiki/content/ReferenceManagerTest.java incubator/jspwiki/trunk/tests/java/org/apache/wiki/parser/JSPWikiMarkupParserTest.java incubator/jspwiki/trunk/tests/java/org/apache/wiki/workflow/ApprovalWorkflowTest.java Modified: incubator/jspwiki/trunk/tests/java/org/apache/wiki/content/ReferenceManagerTest.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/java/org/apache/wiki/content/ReferenceManagerTest.java?rev=885985&r1=885984&r2=885985&view=diff ============================================================================== --- incubator/jspwiki/trunk/tests/java/org/apache/wiki/content/ReferenceManagerTest.java (original) +++ incubator/jspwiki/trunk/tests/java/org/apache/wiki/content/ReferenceManagerTest.java Tue Dec 1 22:47:39 2009 @@ -515,7 +515,7 @@ assertEquals( 0, mgr.getRefersTo( destination4 ).size() ); } - public void testSelf() throws WikiException + public void testSelf() throws Exception { engine.saveText( "BugOne", "BugOne" ); Collection<WikiPath> ref = mgr.getReferredBy( WikiPath.valueOf( "BugOne" )); Modified: incubator/jspwiki/trunk/tests/java/org/apache/wiki/parser/JSPWikiMarkupParserTest.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/java/org/apache/wiki/parser/JSPWikiMarkupParserTest.java?rev=885985&r1=885984&r2=885985&view=diff ============================================================================== --- incubator/jspwiki/trunk/tests/java/org/apache/wiki/parser/JSPWikiMarkupParserTest.java (original) +++ incubator/jspwiki/trunk/tests/java/org/apache/wiki/parser/JSPWikiMarkupParserTest.java Tue Dec 1 22:47:39 2009 @@ -77,7 +77,7 @@ } private void newPage( String name ) - throws WikiException + throws Exception { testEngine.saveText( name, "<test>" ); Modified: incubator/jspwiki/trunk/tests/java/org/apache/wiki/workflow/ApprovalWorkflowTest.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/java/org/apache/wiki/workflow/ApprovalWorkflowTest.java?rev=885985&r1=885984&r2=885985&view=diff ============================================================================== --- incubator/jspwiki/trunk/tests/java/org/apache/wiki/workflow/ApprovalWorkflowTest.java (original) +++ incubator/jspwiki/trunk/tests/java/org/apache/wiki/workflow/ApprovalWorkflowTest.java Tue Dec 1 22:47:39 2009 @@ -255,7 +255,7 @@ assertEquals(0, decisions.size()); } - public void testSaveWikiPageWithException() throws WikiException + public void testSaveWikiPageWithException() throws Exception { // Add a PageFilter that rejects all save attempts m_engine.getFilterManager().addPageFilter( new AbortFilter(), 0 ); From [email protected] Tue Dec 01 22:48:44 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58444 invoked from network); 1 Dec 2009 22:48:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Dec 2009 22:48:44 -0000 Received: (qmail 7027 invoked by uid 500); 1 Dec 2009 22:48:44 -0000 Delivered-To: [email protected] Received: (qmail 7009 invoked by uid 500); 1 Dec 2009 22:48:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jspwiki-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7000 invoked by uid 99); 1 Dec 2009 22:48:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 22:48:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 22:48:41 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id CE7142388962; Tue, 1 Dec 2009 22:48:20 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r885986 - /incubator/jspwiki/trunk/tests/java/org/apache/wiki/WikiEngineTest.java Date: Tue, 01 Dec 2009 22:48:20 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: jalkanen Date: Tue Dec 1 22:48:20 2009 New Revision: 885986 URL: http://svn.apache.org/viewvc?rev=885986&view=rev Log: Minor test fixes. Modified: incubator/jspwiki/trunk/tests/java/org/apache/wiki/WikiEngineTest.java Modified: incubator/jspwiki/trunk/tests/java/org/apache/wiki/WikiEngineTest.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/java/org/apache/wiki/WikiEngineTest.java?rev=885986&r1=885985&r2=885986&view=diff ============================================================================== --- incubator/jspwiki/trunk/tests/java/org/apache/wiki/WikiEngineTest.java (original) +++ incubator/jspwiki/trunk/tests/java/org/apache/wiki/WikiEngineTest.java Tue Dec 1 22:48:20 2009 @@ -762,7 +762,7 @@ Collection<WikiPath> pages = m_engine.getReferenceManager().getReferredBy( WikiPath.valueOf("RenameBugTestPage") ); assertEquals( "wrong # of referrers", 1, pages.size() ); - assertEquals( "has one", "Main:OldNameTestPage", pages.iterator().next().toString() ); + assertEquals( "has one", WikiPath.valueOf("Main:OldNameTestPage"), pages.iterator().next() ); WikiContext ctx = m_engine.getWikiContextFactory().newViewContext( m_engine.getPage("OldNameTestPage") ); From [email protected] Tue Dec 01 22:49:28 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58610 invoked from network); 1 Dec 2009 22:49:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Dec 2009 22:49:28 -0000 Received: (qmail 7485 invoked by uid 500); 1 Dec 2009 22:49:28 -0000 Delivered-To: [email protected] Received: (qmail 7466 invoked by uid 500); 1 Dec 2009 22:49:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jspwiki-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7457 invoked by uid 99); 1 Dec 2009 22:49:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 22:49:28 +0000 X-ASF-Spam-Status: No, hits=-5.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 22:49:26 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 4B26E2388962; Tue, 1 Dec 2009 22:49:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r885987 - in /incubator/jspwiki/trunk/src/java/org/apache/wiki: action/EditActionBean.java auth/acl/DefaultAclManager.java plugin/BugReportHandler.java plugin/InsertPage.java plugin/TableOfContents.java Date: Tue, 01 Dec 2009 22:49:06 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: jalkanen Date: Tue Dec 1 22:49:05 2009 New Revision: 885987 URL: http://svn.apache.org/viewvc?rev=885987&view=rev Log: Switched to use page.getContentAsString(). Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/action/EditActionBean.java incubator/jspwiki/trunk/src/java/org/apache/wiki/auth/acl/DefaultAclManager.java incubator/jspwiki/trunk/src/java/org/apache/wiki/plugin/BugReportHandler.java incubator/jspwiki/trunk/src/java/org/apache/wiki/plugin/InsertPage.java incubator/jspwiki/trunk/src/java/org/apache/wiki/plugin/TableOfContents.java Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/action/EditActionBean.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/action/EditActionBean.java?rev=885987&r1=885986&r2=885987&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/action/EditActionBean.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/action/EditActionBean.java Tue Dec 1 22:49:05 2009 @@ -195,7 +195,7 @@ { // Load the page text WikiEngine engine = getContext().getEngine(); - setWikiText( engine.getPureText( getPage() ) ); + setWikiText( getPage().getContentAsString() ); // Init edit fields and forward to the display JSP initEditFields( "Editing" ); Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/auth/acl/DefaultAclManager.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/auth/acl/DefaultAclManager.java?rev=885987&r1=885986&r2=885987&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/auth/acl/DefaultAclManager.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/auth/acl/DefaultAclManager.java Tue Dec 1 22:49:05 2009 @@ -202,20 +202,20 @@ public void setPermissions( WikiPage page, Acl acl ) throws WikiSecurityException { // Remove all of the existing ACLs. - String pageText = m_engine.getPureText( page ); - Matcher matcher = DefaultAclManager.ACL_PATTERN.matcher( pageText ); - String cleansedText = matcher.replaceAll( "" ); - page.setAcl( acl ); - if ( pageText != null && !pageText.equals( cleansedText ) ) + try { - try + String pageText = page.getContentAsString(); + Matcher matcher = DefaultAclManager.ACL_PATTERN.matcher( pageText ); + String cleansedText = matcher.replaceAll( "" ); + page.setAcl( acl ); + if ( pageText != null && !pageText.equals( cleansedText ) ) { page.setContent( cleansedText ); } - catch ( ProviderException e ) - { - throw new WikiSecurityException( "Could not set Acl. Reason: ProviderException " + e.getMessage(), e ); - } + } + catch ( ProviderException e ) + { + throw new WikiSecurityException( "Could not set Acl. Reason: ProviderException " + e.getMessage(), e ); } } Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/plugin/BugReportHandler.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/plugin/BugReportHandler.java?rev=885987&r1=885986&r2=885987&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/plugin/BugReportHandler.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/plugin/BugReportHandler.java Tue Dec 1 22:49:05 2009 @@ -33,6 +33,7 @@ import org.apache.wiki.api.WikiException; import org.apache.wiki.api.WikiPage; import org.apache.wiki.content.PageAlreadyExistsException; +import org.apache.wiki.content.PageNotFoundException; import org.apache.wiki.content.WikiPath; import org.apache.wiki.filters.RedirectException; import org.apache.wiki.log.Logger; Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/plugin/InsertPage.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/plugin/InsertPage.java?rev=885987&r1=885986&r2=885987&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/plugin/InsertPage.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/plugin/InsertPage.java Tue Dec 1 22:49:05 2009 @@ -32,6 +32,7 @@ import org.apache.wiki.auth.AuthorizationManager; import org.apache.wiki.auth.permissions.PermissionFactory; import org.apache.wiki.content.WikiPath; +import org.apache.wiki.providers.ProviderException; import org.apache.wiki.util.TextUtil; @@ -165,9 +166,18 @@ WikiContext includedContext = (WikiContext) context.clone(); includedContext.setPage( page ); - String pageData = engine.getPureText( page ); + String pageData; + + try + { + pageData = page.getContentAsString(); + } + catch( ProviderException e ) + { + pageData = ""; + } String moreLink = ""; - + if( section != -1 ) { try Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/plugin/TableOfContents.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/plugin/TableOfContents.java?rev=885987&r1=885986&r2=885987&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/plugin/TableOfContents.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/plugin/TableOfContents.java Tue Dec 1 22:49:05 2009 @@ -33,6 +33,7 @@ import org.apache.wiki.parser.Heading; import org.apache.wiki.parser.HeadingListener; import org.apache.wiki.parser.JSPWikiMarkupParser; +import org.apache.wiki.providers.ProviderException; import org.apache.wiki.util.TextUtil; @@ -216,7 +217,7 @@ try { - String wikiText = engine.getPureText( page ); + String wikiText = page.getContentAsString(); boolean runFilters = "true".equals(engine.getVariableManager().getValue(context,WikiEngine.PROP_RUNFILTERS,"true")); @@ -245,6 +246,11 @@ log.error("Could not construct table of contents", e); throw new PluginException( rb.getString( "tableofcontents.unable.construct" ) ); } + catch( ProviderException e ) + { + log.error("Could not construct table of contents", e); + throw new PluginException( rb.getString( "tableofcontents.unable.construct" ) ); + } sb.append("</div>\n</div>\n"); From [email protected] Tue Dec 01 22:50:37 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58952 invoked from network); 1 Dec 2009 22:50:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Dec 2009 22:50:37 -0000 Received: (qmail 8439 invoked by uid 500); 1 Dec 2009 22:50:36 -0000 Delivered-To: [email protected] Received: (qmail 8386 invoked by uid 500); 1 Dec 2009 22:50:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jspwiki-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 8127 invoked by uid 99); 1 Dec 2009 22:50:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 22:50:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 22:50:33 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id CD88E2388962; Tue, 1 Dec 2009 22:50:11 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r885988 - in /incubator/jspwiki/trunk: ./ src/java/org/apache/wiki/ tests/java/org/apache/wiki/ tests/java/org/apache/wiki/content/ Date: Tue, 01 Dec 2009 22:50:11 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: jalkanen Date: Tue Dec 1 22:50:11 2009 New Revision: 885988 URL: http://svn.apache.org/viewvc?rev=885988&view=rev Log: Deprecated WikiEngine.getPureText(). Modified: incubator/jspwiki/trunk/ChangeLog incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java incubator/jspwiki/trunk/src/java/org/apache/wiki/WikiEngine.java incubator/jspwiki/trunk/tests/java/org/apache/wiki/JSPWikiTestBase.java incubator/jspwiki/trunk/tests/java/org/apache/wiki/TestEngine.java incubator/jspwiki/trunk/tests/java/org/apache/wiki/content/ContentManagerTest.java Modified: incubator/jspwiki/trunk/ChangeLog URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/ChangeLog?rev=885988&r1=885987&r2=885988&view=diff ============================================================================== --- incubator/jspwiki/trunk/ChangeLog (original) +++ incubator/jspwiki/trunk/ChangeLog Tue Dec 1 22:50:11 2009 @@ -1,3 +1,18 @@ +2009-12-01 Janne Jalkanen <[email protected]> + + * 3.0.0-svn-187 + + * Bug fix: ContentManager.deleteVersion() no longer restores + the page (as empty) after deletion. Oops. (Technically, + JCRWikiPage.getJCRNode() was creating the page instead of throwing + an exception.) + + * Deprecated WikiEngine.getPureText() [use WikiPage.getContentAsString() + instead.] + + * ContentManager.deleteVersion() fires a NODE_SAVED instead of NODE_DELETED, + since deletion implies removal of the entire page. + 2009-11-28 Janne Jalkanen <[email protected]> * 3.0.0-svn-186 Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java?rev=885988&r1=885987&r2=885988&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java Tue Dec 1 22:50:11 2009 @@ -77,7 +77,7 @@ * <p> * If the build identifier is empty, it is not added. */ - public static final String BUILD = "186"; + public static final String BUILD = "187"; /** * This is the generic version string you should use Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/WikiEngine.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/WikiEngine.java?rev=885988&r1=885987&r2=885988&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/WikiEngine.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/WikiEngine.java Tue Dec 1 22:50:11 2009 @@ -1421,6 +1421,7 @@ * latest version. * @return The page contents. If the page does not exist, * returns an empty string. + * @deprecated Please use {@link WikiPage#getContentAsString()} */ // FIXME: Should throw an exception on unknown page/version? public String getPureText( String page, int version ) @@ -1456,11 +1457,14 @@ * * @param page A handle to the WikiPage * @return String of WikiText. + * @throws ProviderException If the page content cannot be read. + * @throws PageNotFoundException If the page cannot be located * @since 2.1.13. + * @deprecated Please use {@link WikiPage#getContentAsString()} */ - public String getPureText( WikiPage page ) + public String getPureText( WikiPage page ) throws PageNotFoundException, ProviderException { - return getPureText( page.getName(), page.getVersion() ); + return page.getContentAsString(); } /** @@ -1727,19 +1731,22 @@ * be of type {@link org.apache.wiki.workflow.DecisionRequiredException}. Individual * PageFilters, such as the {@link org.apache.wiki.filters.SpamFilter} may also * throw a {@link org.apache.wiki.filters.RedirectException}. + * @throws PageNotFoundException */ public void saveText( WikiContext context, String text ) throws WikiException { // Check if page data actually changed; bail if not WikiPage page = context.getPage(); - String oldText = getPureText( page ); + String oldText = page.getContentAsString(); String proposedText = TextUtil.normalizePostData( text ); if ( oldText != null && oldText.equals( proposedText ) ) { return; } + if( oldText == null ) oldText = ""; // FIXME: This is not pretty. + // Check if creation of empty pages is allowed; bail if not boolean allowEmpty = TextUtil.getBooleanProperty( m_properties, PROP_ALLOW_CREATION_OF_EMPTY_PAGES, Modified: incubator/jspwiki/trunk/tests/java/org/apache/wiki/JSPWikiTestBase.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/java/org/apache/wiki/JSPWikiTestBase.java?rev=885988&r1=885987&r2=885988&view=diff ============================================================================== --- incubator/jspwiki/trunk/tests/java/org/apache/wiki/JSPWikiTestBase.java (original) +++ incubator/jspwiki/trunk/tests/java/org/apache/wiki/JSPWikiTestBase.java Tue Dec 1 22:50:11 2009 @@ -3,6 +3,8 @@ import junit.framework.TestCase; import junit.framework.TestResult; +import org.apache.wiki.content.WikiPath; + /** * Provides a base class for all JSPWiki tests. Any tests which want to throw a NotExecutableException * should extend from this class. @@ -15,6 +17,5 @@ { super.run(new JSPWikiTestResult(testResult)); } - - + } Modified: incubator/jspwiki/trunk/tests/java/org/apache/wiki/TestEngine.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/java/org/apache/wiki/TestEngine.java?rev=885988&r1=885987&r2=885988&view=diff ============================================================================== --- incubator/jspwiki/trunk/tests/java/org/apache/wiki/TestEngine.java (original) +++ incubator/jspwiki/trunk/tests/java/org/apache/wiki/TestEngine.java Tue Dec 1 22:50:11 2009 @@ -340,9 +340,10 @@ * @param pageName * @param content * @throws WikiException + * @throws PageNotFoundException */ public void saveText( String pageName, String content ) - throws WikiException + throws WikiException, PageNotFoundException { // Build new request and associate our admin session MockHttpServletRequest request = newHttpRequest(); @@ -366,7 +367,7 @@ page = getPage( pageName ); } catch ( PageNotFoundException e ) - { + { try { page = createPage( WikiPath.valueOf( pageName ) ); @@ -382,7 +383,7 @@ } public void saveTextAsJanne( String pageName, String content ) - throws WikiException + throws WikiException, PageNotFoundException { // Build new request and associate our Janne session MockHttpServletRequest request = newHttpRequest(); Modified: incubator/jspwiki/trunk/tests/java/org/apache/wiki/content/ContentManagerTest.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/java/org/apache/wiki/content/ContentManagerTest.java?rev=885988&r1=885987&r2=885988&view=diff ============================================================================== --- incubator/jspwiki/trunk/tests/java/org/apache/wiki/content/ContentManagerTest.java (original) +++ incubator/jspwiki/trunk/tests/java/org/apache/wiki/content/ContentManagerTest.java Tue Dec 1 22:50:11 2009 @@ -238,14 +238,17 @@ p = m_engine.getPage( "TestPage", 100 ); assertEquals( "content 100","Test 100", p.getContentAsString() ); + assertEquals( "content 100/2", p.getContentAsString(), m_engine.getPureText( p ) ); assertEquals( "version 100", 100, p.getVersion() ); p = m_engine.getPage( "TestPage", 1 ); assertEquals( "content 1","Test 1", p.getContentAsString() ); + assertEquals( "content 1/2", p.getContentAsString(), m_engine.getPureText( p ) ); assertEquals( "version 1", 1, p.getVersion() ); p = m_engine.getPage( "TestPage", 51 ); assertEquals( "content 51","Test 51", p.getContentAsString() ); + assertEquals( "content 51/2", p.getContentAsString(), m_engine.getPureText( p ) ); assertEquals( "version 51", 51, p.getVersion() ); } From [email protected] Tue Dec 01 23:00:36 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62856 invoked from network); 1 Dec 2009 23:00:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Dec 2009 23:00:36 -0000 Received: (qmail 25051 invoked by uid 500); 1 Dec 2009 23:00:36 -0000 Delivered-To: [email protected] Received: (qmail 25033 invoked by uid 500); 1 Dec 2009 23:00:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jspwiki-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 25023 invoked by uid 99); 1 Dec 2009 23:00:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 23:00:36 +0000 X-ASF-Spam-Status: No, hits=-5.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 23:00:33 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id DBB2723889E1; Tue, 1 Dec 2009 23:00:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r885995 - /incubator/jspwiki/trunk/src/java/org/apache/wiki/content/jcr/JCRWikiPage.java Date: Tue, 01 Dec 2009 23:00:13 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: jalkanen Date: Tue Dec 1 23:00:13 2009 New Revision: 885995 URL: http://svn.apache.org/viewvc?rev=885995&view=rev Log: Turned the deprecated constructor protected so that people wouldn't call it. Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/content/jcr/JCRWikiPage.java Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/content/jcr/JCRWikiPage.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/content/jcr/JCRWikiPage.java?rev=885995&r1=885994&r2=885995&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/content/jcr/JCRWikiPage.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/content/jcr/JCRWikiPage.java Tue Dec 1 23:00:13 2009 @@ -91,7 +91,7 @@ * Use {@link WikiEngine#createPage(WikiPath)} instead. * @deprecated */ - public JCRWikiPage( WikiEngine engine, WikiPath path ) + protected JCRWikiPage( WikiEngine engine, WikiPath path ) { m_engine = engine; m_path = path; From [email protected] Wed Dec 02 22:55:06 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5005 invoked from network); 2 Dec 2009 22:55:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Dec 2009 22:55:06 -0000 Received: (qmail 93316 invoked by uid 500); 2 Dec 2009 22:55:06 -0000 Delivered-To: [email protected] Received: (qmail 93299 invoked by uid 500); 2 Dec 2009 22:55:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jspwiki-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 93287 invoked by uid 99); 2 Dec 2009 22:55:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2009 22:55:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2009 22:55:03 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 3F24C2388978; Wed, 2 Dec 2009 22:54:42 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r886333 - in /incubator/jspwiki/trunk: ChangeLog src/java/org/apache/wiki/Release.java src/java/org/apache/wiki/content/ContentManager.java Date: Wed, 02 Dec 2009 22:54:41 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: jalkanen Date: Wed Dec 2 22:54:41 2009 New Revision: 886333 URL: http://svn.apache.org/viewvc?rev=886333&view=rev Log: * Fixed ContentManager.checkin() to use a separate Session for copying - it had an off-by-one error when storing the old version. This fixes quite a few tests... Modified: incubator/jspwiki/trunk/ChangeLog incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ContentManager.java Modified: incubator/jspwiki/trunk/ChangeLog URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/ChangeLog?rev=886333&r1=886332&r2=886333&view=diff ============================================================================== --- incubator/jspwiki/trunk/ChangeLog (original) +++ incubator/jspwiki/trunk/ChangeLog Wed Dec 2 22:54:41 2009 @@ -1,3 +1,11 @@ +2009-12-03 Janne Jalkanen <[email protected]> + + * 3.0.0-svn-188 + + * Fixed ContentManager.checkin() to use a separate Session for + copying - it had an off-by-one error when storing the old version. + This fixes quite a few tests... + 2009-12-01 Janne Jalkanen <[email protected]> * 3.0.0-svn-187 Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java?rev=886333&r1=886332&r2=886333&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java Wed Dec 2 22:54:41 2009 @@ -77,7 +77,7 @@ * <p> * If the build identifier is empty, it is not added. */ - public static final String BUILD = "187"; + public static final String BUILD = "188"; /** * This is the generic version string you should use Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ContentManager.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ContentManager.java?rev=886333&r1=886332&r2=886333&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ContentManager.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ContentManager.java Wed Dec 2 22:54:41 2009 @@ -70,6 +70,8 @@ import org.priha.RepositoryManager; import org.priha.util.ConfigurationException; +import com.sun.org.apache.bcel.internal.generic.GETSTATIC; + /** * Provides access to the content repository. Unlike previously, in JSPWiki @@ -409,43 +411,51 @@ */ private void checkin( String path, int currentVersion ) throws RepositoryException { - Session copierSession = getCurrentSession(); + Session copierSession = m_sessionManager.newSession(); - // If the item does not exist yet, there is nothing to copy. - if( !copierSession.itemExists( path ) ) return; + try + { + // If the item does not exist yet, there is nothing to copy. + if( !copierSession.itemExists( path ) ) return; - Node nd = (Node)copierSession.getItem( path ); - Node versions; + Node nd = (Node)copierSession.getItem( path ); + Node versions; - // - // Ensure that the versions subnode exists. - // - if( !nd.hasNode( WIKI_VERSIONS ) ) - { - versions = nd.addNode( WIKI_VERSIONS ); - } - else - { - versions = nd.getNode( WIKI_VERSIONS ); - } + // + // Ensure that the versions subnode exists. + // + if( !nd.hasNode( WIKI_VERSIONS ) ) + { + versions = nd.addNode( WIKI_VERSIONS ); + } + else + { + versions = nd.getNode( WIKI_VERSIONS ); + } - // - // Figure out the path to store the contents of the current version, - // create the Node, and copy the properties from the current version - // to it. - // - String versionName = Integer.toString( currentVersion ); + // + // Figure out the path to store the contents of the current version, + // create the Node, and copy the properties from the current version + // to it. + // + String versionName = Integer.toString( currentVersion ); - if( versions.hasNode( versionName ) ) - { - throw new ItemExistsException("Version already exists: "+currentVersion+". This is a JSPWiki internal error, please report!"); - } + if( versions.hasNode( versionName ) ) + { + throw new ItemExistsException("Version already exists: "+currentVersion+". This is a JSPWiki internal error, please report!"); + } - Node newVersion = versions.addNode( versionName ); + Node newVersion = versions.addNode( versionName ); - newVersion.addMixin( "mix:referenceable" ); + newVersion.addMixin( "mix:referenceable" ); - copyProperties( nd, newVersion ); + copyProperties( nd, newVersion ); + copierSession.save(); + } + finally + { + copierSession.logout(); + } } private void copyProperties( Node source, Node dest ) From [email protected] Thu Dec 03 20:48:23 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12635 invoked from network); 3 Dec 2009 20:48:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Dec 2009 20:48:23 -0000 Received: (qmail 6303 invoked by uid 500); 3 Dec 2009 20:48:23 -0000 Delivered-To: [email protected] Received: (qmail 6286 invoked by uid 500); 3 Dec 2009 20:48:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jspwiki-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6277 invoked by uid 99); 3 Dec 2009 20:48:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 20:48:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 20:48:18 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1EA592388893; Thu, 3 Dec 2009 20:47:57 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r886916 - in /incubator/jspwiki/trunk: ./ src/java/org/apache/wiki/ src/java/org/apache/wiki/content/ src/java/org/apache/wiki/content/lock/ src/java/org/apache/wiki/event/ src/java/org/apache/wiki/filters/ src/java/org/apache/wiki/plugin/ ... Date: Thu, 03 Dec 2009 20:47:56 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: jalkanen Date: Thu Dec 3 20:47:56 2009 New Revision: 886916 URL: http://svn.apache.org/viewvc?rev=886916&view=rev Log: JSPWIKI-616: WikiPageEvent now takes in a WikiPath instead of String. Modified: incubator/jspwiki/trunk/ChangeLog incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ContentManager.java incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ReferenceManager.java incubator/jspwiki/trunk/src/java/org/apache/wiki/content/lock/PageLock.java incubator/jspwiki/trunk/src/java/org/apache/wiki/event/ContentEvent.java incubator/jspwiki/trunk/src/java/org/apache/wiki/event/PageEventFilter.java incubator/jspwiki/trunk/src/java/org/apache/wiki/event/WikiPageEvent.java incubator/jspwiki/trunk/src/java/org/apache/wiki/event/WikiPageRenameEvent.java incubator/jspwiki/trunk/src/java/org/apache/wiki/filters/FilterManager.java incubator/jspwiki/trunk/src/java/org/apache/wiki/plugin/ListLocksPlugin.java incubator/jspwiki/trunk/src/java/org/apache/wiki/render/RenderingManager.java incubator/jspwiki/trunk/src/java/org/apache/wiki/search/SearchManager.java incubator/jspwiki/trunk/tests/java/org/apache/wiki/WikiEngineTest.java Modified: incubator/jspwiki/trunk/ChangeLog URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/ChangeLog?rev=886916&r1=886915&r2=886916&view=diff ============================================================================== --- incubator/jspwiki/trunk/ChangeLog (original) +++ incubator/jspwiki/trunk/ChangeLog Thu Dec 3 20:47:56 2009 @@ -1,5 +1,10 @@ 2009-12-03 Janne Jalkanen <[email protected]> + * 3.0.0-svn-189 + + * JSPWIKI-616: WikiPageEvent now takes in a WikiPath instead of + String. + * 3.0.0-svn-188 * Fixed ContentManager.checkin() to use a separate Session for Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java?rev=886916&r1=886915&r2=886916&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java Thu Dec 3 20:47:56 2009 @@ -77,7 +77,7 @@ * <p> * If the build identifier is empty, it is not added. */ - public static final String BUILD = "188"; + public static final String BUILD = "189"; /** * This is the generic version string you should use Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ContentManager.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ContentManager.java?rev=886916&r1=886915&r2=886916&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ContentManager.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ContentManager.java Thu Dec 3 20:47:56 2009 @@ -526,7 +526,7 @@ nd.save(); } - fireEvent( ContentEvent.NODE_SAVED, page.getName(), NO_ARGS ); + fireEvent( ContentEvent.NODE_SAVED, page.getPath(), NO_ARGS ); } /** @@ -770,7 +770,7 @@ synchronized( m_pageLocks ) { - fireEvent( WikiPageEvent.PAGE_LOCK, page.getName(), NO_ARGS ); // prior to or after actual lock? + fireEvent( WikiPageEvent.PAGE_LOCK, page.getPath(), NO_ARGS ); // prior to or after actual lock? lock = m_pageLocks.get( page.getName() ); @@ -808,12 +808,12 @@ synchronized( m_pageLocks ) { - m_pageLocks.remove( lock.getPage() ); + m_pageLocks.remove( lock.getPath() ); log.debug( "Released lock " + lock ); } - fireEvent( WikiPageEvent.PAGE_UNLOCK, lock.getPage(), NO_ARGS ); + fireEvent( WikiPageEvent.PAGE_UNLOCK, lock.getPath(), NO_ARGS ); } /** @@ -1102,7 +1102,7 @@ // Page has changed, so let's notify others. // FIXME: I'm not sure whether we should fire in what case. // - fireEvent( ContentEvent.NODE_SAVED, page.getName(), NO_ARGS ); + fireEvent( ContentEvent.NODE_SAVED, page.getPath(), NO_ARGS ); return true; } @@ -1150,7 +1150,7 @@ public boolean deletePage( WikiPage page ) throws ProviderException { - fireEvent( ContentEvent.NODE_DELETE_REQUEST, page.getName(), NO_ARGS ); + fireEvent( ContentEvent.NODE_DELETE_REQUEST, page.getPath(), NO_ARGS ); try { @@ -1161,7 +1161,7 @@ nd.getParent().save(); - fireEvent( ContentEvent.NODE_DELETED, page.getName(), NO_ARGS ); + fireEvent( ContentEvent.NODE_DELETED, page.getPath(), NO_ARGS ); return true; } @@ -1474,7 +1474,7 @@ page.setAttribute( JCRWikiPage.ATTR_TITLE, renameTo ); // Tell everyone we moved the page - fireEvent( ContentEvent.NODE_RENAMED, toPage.toString(), fromPage.toString(), Boolean.valueOf( changeReferrers ) ); + fireEvent( ContentEvent.NODE_RENAMED, toPage, fromPage, Boolean.valueOf( changeReferrers ) ); // // Done, return the new name. @@ -1493,7 +1493,7 @@ * @param pagename the wiki page name as a String * @param args additional arguments to pass to the event */ - protected final void fireEvent( int type, String pagename, Serializable... args ) + protected final void fireEvent( int type, WikiPath pagename, Serializable... args ) { if ( WikiEventManager.isListening(this) ) { Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ReferenceManager.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ReferenceManager.java?rev=886916&r1=886915&r2=886916&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ReferenceManager.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ReferenceManager.java Thu Dec 3 20:47:56 2009 @@ -323,8 +323,7 @@ return; } - String pageName = ((WikiPageEvent) event).getPageName(); - WikiPath path = pageName == null ? null : WikiPath.valueOf( pageName ); + WikiPath path = ((WikiPageEvent) event).getPath(); if( !isWikiPage( path ) ) { return; @@ -366,7 +365,7 @@ case (ContentEvent.NODE_RENAMED ): { WikiPath toPage = path; - WikiPath fromPage = WikiPath.valueOf( (String) ((WikiPageEvent) event).getArgs()[0] ); + WikiPath fromPage = (WikiPath) ((WikiPageEvent) event).getArgs()[0]; Boolean changeReferrers = (Boolean) ((WikiPageEvent) event).getArgs()[1]; List<WikiPath> referrers = getReferredBy( fromPage ); Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/content/lock/PageLock.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/content/lock/PageLock.java?rev=886916&r1=886915&r2=886916&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/content/lock/PageLock.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/content/lock/PageLock.java Thu Dec 3 20:47:56 2009 @@ -24,6 +24,7 @@ import java.util.Date; import org.apache.wiki.api.WikiPage; +import org.apache.wiki.content.WikiPath; /** * Describes a lock acquired by an user on a page. For the most part, @@ -38,7 +39,7 @@ { private static final long serialVersionUID = 0L; - private String m_page; + private WikiPath m_page; private String m_locker; private Date m_lockAcquired; private Date m_lockExpiry; @@ -56,7 +57,7 @@ Date acquired, Date expiry ) { - m_page = page.getName(); + m_page = page.getPath(); m_locker = locker; m_lockAcquired = (Date)acquired.clone(); m_lockExpiry = (Date)expiry.clone(); @@ -67,7 +68,7 @@ * * @return The name of the page. */ - public String getPage() + public WikiPath getPath() { return m_page; } @@ -130,6 +131,6 @@ */ public String toString() { - return "pagename:" + getPage() + ",locker:" + getLocker() + ",acquired:" + getAcquisitionTime() + ",expiry:" + getExpiryTime(); + return "pagename:" + getPath() + ",locker:" + getLocker() + ",acquired:" + getAcquisitionTime() + ",expiry:" + getExpiryTime(); } } Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/event/ContentEvent.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/event/ContentEvent.java?rev=886916&r1=886915&r2=886916&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/event/ContentEvent.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/event/ContentEvent.java Thu Dec 3 20:47:56 2009 @@ -22,6 +22,8 @@ import java.io.Serializable; +import org.apache.wiki.content.WikiPath; + /** * Events fired by {@link org.apache.wiki.content.ContentManager} when nodes are * created, saved or deleted. @@ -43,7 +45,13 @@ public static final int NODE_DELETED = 221; /** - * Indicates that a node was successfully renamed. + * Indicates that a node was successfully renamed. + * Parameters are: + * <ul> + * <li>pagename = page which has been renamed + * <li>first argument (String) = the new name of the page (FQN) + * <li>second argument (Boolean) = true, if the referrers should be changed. + * </ul> */ public static final int NODE_RENAMED = 211; @@ -61,7 +69,7 @@ * @param pagename the WikiPage being acted upon. * @param args additional arguments passed to the event. */ - public ContentEvent( Object src, int type, String pagename, Serializable... args ) + public ContentEvent( Object src, int type, WikiPath pagename, Serializable... args ) { super( src, type, pagename, args ); } Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/event/PageEventFilter.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/event/PageEventFilter.java?rev=886916&r1=886915&r2=886916&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/event/PageEventFilter.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/event/PageEventFilter.java Thu Dec 3 20:47:56 2009 @@ -162,7 +162,7 @@ WikiPageEvent event = new WikiPageEvent( context.getEngine(), type, - context.getPage().getName()); + context.getPage().getPath()); WikiEventManager.fireEvent(this,event); } } Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/event/WikiPageEvent.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/event/WikiPageEvent.java?rev=886916&r1=886915&r2=886916&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/event/WikiPageEvent.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/event/WikiPageEvent.java Thu Dec 3 20:47:56 2009 @@ -23,6 +23,8 @@ import java.io.Serializable; +import org.apache.wiki.content.WikiPath; + /** * WikiPageEvent indicates a change in the state or processing of a WikiPage. * There are basically two types of page events: @@ -184,7 +186,7 @@ * @since 2.4.65 */ public static final int PAGE_DELETED = ContentEvent.NODE_DELETED; - private final String m_pagename; + private final WikiPath m_page; // ............ @@ -197,10 +199,10 @@ * @param pagename the WikiPage being acted upon. * @param args additional arguments passed to the event. */ - public WikiPageEvent( Object src, int type, String pagename, Serializable... args ) + public WikiPageEvent( Object src, int type, WikiPath page, Serializable... args ) { super( src, type, args ); - m_pagename = pagename; + m_page = page; } /** @@ -209,9 +211,9 @@ * * @return the Wiki page name associated with this WikiEvent, or null. */ - public String getPageName() + public WikiPath getPath() { - return m_pagename; + return m_page; } Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/event/WikiPageRenameEvent.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/event/WikiPageRenameEvent.java?rev=886916&r1=886915&r2=886916&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/event/WikiPageRenameEvent.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/event/WikiPageRenameEvent.java Thu Dec 3 20:47:56 2009 @@ -21,6 +21,8 @@ package org.apache.wiki.event; +import org.apache.wiki.content.WikiPath; + /** * WikiPageRenameEvent extends WikiPageEvent to indicate a change in * the name of a WikiPage. @@ -39,7 +41,7 @@ * generated by {@link org.apache.wiki.content.PageRenamer}. */ public static final int PAGE_RENAMED = 28; - private String m_oldpagename = null; + private WikiPath m_oldpagename = null; // ............ @@ -51,7 +53,7 @@ * @param oldname the old name of the WikiPage being acted upon. * @param newname the new name of the WikiPage being acted upon. */ - public WikiPageRenameEvent( Object src, String oldname, String newname ) + public WikiPageRenameEvent( Object src, WikiPath oldname, WikiPath newname ) { super( src, PAGE_RENAMED, newname ); m_oldpagename = oldname; @@ -64,7 +66,7 @@ * * @return the old Wiki page name associated with this WikiEvent, or null. */ - public String getOldPageName() + public WikiPath getOldPath() { return m_oldpagename; } @@ -77,9 +79,9 @@ * * @return the new Wiki page name associated with this WikiEvent, or null. */ - public String getNewPageName() + public WikiPath getNewPath() { - return super.getPageName(); + return super.getPath(); } Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/filters/FilterManager.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/filters/FilterManager.java?rev=886916&r1=886915&r2=886916&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/filters/FilterManager.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/filters/FilterManager.java Thu Dec 3 20:47:56 2009 @@ -33,6 +33,7 @@ import org.apache.wiki.api.FilterException; import org.apache.wiki.api.WikiException; import org.apache.wiki.api.WikiPage; +import org.apache.wiki.content.WikiPath; import org.apache.wiki.event.WikiEventManager; import org.apache.wiki.event.WikiPageEvent; import org.apache.wiki.log.Logger; @@ -443,7 +444,7 @@ if ( WikiEventManager.isListening( this ) && WikiPageEvent.isValidType( type ) ) { WikiPage page = context.getPage(); - String pageName = page == null ? "(no page)" : page.getName(); + WikiPath pageName = page == null ? null : page.getPath(); WikiEventManager.fireEvent( this, new WikiPageEvent( m_engine,type,pageName ) ); } } Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/plugin/ListLocksPlugin.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/plugin/ListLocksPlugin.java?rev=886916&r1=886915&r2=886916&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/plugin/ListLocksPlugin.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/plugin/ListLocksPlugin.java Thu Dec 3 20:47:56 2009 @@ -74,7 +74,7 @@ PageLock lock = i.next(); result.append( rowNum % 2 != 0 ? "<tr class=\"odd\">" : "<tr>" ); - result.append("<td>"+lock.getPage()+"</td>"); + result.append("<td>"+lock.getPath().toString()+"</td>"); result.append("<td>"+lock.getLocker()+"</td>"); result.append("<td>"+lock.getAcquisitionTime()+"</td>"); result.append("<td>"+lock.getExpiryTime()+"</td>"); Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/render/RenderingManager.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/render/RenderingManager.java?rev=886916&r1=886915&r2=886916&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/render/RenderingManager.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/render/RenderingManager.java Thu Dec 3 20:47:56 2009 @@ -211,7 +211,7 @@ protected WikiDocument getRenderedDocument( WikiContext context, String pagedata ) throws IOException { - String pageid = context.getRealPage().getName()+VERSION_DELIMITER+context.getRealPage().getVersion(); + String pageid = context.getRealPage().getPath().toString().toLowerCase()+VERSION_DELIMITER+context.getRealPage().getVersion(); if( m_documentCache != null ) { @@ -357,13 +357,13 @@ { if( m_documentCache != null ) { - String pageName = ((WikiPageEvent) event).getPageName(); + WikiPath pageName = ((WikiPageEvent) event).getPath(); - flushCache( pageName ); + flushCache( pageName.toString() ); try { - Collection<WikiPath> referringPages = m_engine.getReferenceManager().getReferredBy( WikiPath.valueOf(pageName) ); + Collection<WikiPath> referringPages = m_engine.getReferenceManager().getReferredBy(pageName); // // Flush also those pages that refer to this page (if an nonexistant page Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/search/SearchManager.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/search/SearchManager.java?rev=886916&r1=886915&r2=886916&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/search/SearchManager.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/search/SearchManager.java Thu Dec 3 20:47:56 2009 @@ -31,6 +31,7 @@ import org.apache.wiki.api.WikiException; import org.apache.wiki.api.WikiPage; import org.apache.wiki.content.PageNotFoundException; +import org.apache.wiki.content.WikiPath; import org.apache.wiki.event.*; import org.apache.wiki.log.Logger; import org.apache.wiki.log.LoggerFactory; @@ -353,7 +354,7 @@ return; } - String pageName = ((WikiPageEvent) event).getPageName(); + WikiPath pageName = ((WikiPageEvent) event).getPath(); switch ( event.getType() ) { // If page was deleted, remove it from the index Modified: incubator/jspwiki/trunk/tests/java/org/apache/wiki/WikiEngineTest.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/java/org/apache/wiki/WikiEngineTest.java?rev=886916&r1=886915&r2=886916&view=diff ============================================================================== --- incubator/jspwiki/trunk/tests/java/org/apache/wiki/WikiEngineTest.java (original) +++ incubator/jspwiki/trunk/tests/java/org/apache/wiki/WikiEngineTest.java Thu Dec 3 20:47:56 2009 @@ -774,7 +774,7 @@ pages = m_engine.getReferenceManager().getReferredBy( WikiPath.valueOf("RenameBugTestPage") ); assertEquals( "wrong # of referrers", 1, pages.size() ); - assertEquals( "has wrong referrer", "Main:NewNameTestPage", pages.iterator().next().toString() ); + assertEquals( "has wrong referrer", WikiPath.valueOf("Main:NewNameTestPage"), pages.iterator().next() ); } public void testChangeNoteOldVersion2() throws Exception From [email protected] Thu Dec 03 21:29:48 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29950 invoked from network); 3 Dec 2009 21:29:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Dec 2009 21:29:48 -0000 Received: (qmail 67934 invoked by uid 500); 3 Dec 2009 21:28:37 -0000 Delivered-To: [email protected] Received: (qmail 66572 invoked by uid 500); 3 Dec 2009 21:28:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jspwiki-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 61287 invoked by uid 99); 3 Dec 2009 21:27:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 21:27:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 21:27:41 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 9A5E023888C2; Thu, 3 Dec 2009 21:27:20 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r886926 - /incubator/jspwiki/trunk/tests/java/org/apache/wiki/content/PageRenamerTest.java Date: Thu, 03 Dec 2009 21:27:20 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: jalkanen Date: Thu Dec 3 21:27:20 2009 New Revision: 886926 URL: http://svn.apache.org/viewvc?rev=886926&view=rev Log: Fixed case for testSimple() Modified: incubator/jspwiki/trunk/tests/java/org/apache/wiki/content/PageRenamerTest.java Modified: incubator/jspwiki/trunk/tests/java/org/apache/wiki/content/PageRenamerTest.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/java/org/apache/wiki/content/PageRenamerTest.java?rev=886926&r1=886925&r2=886926&view=diff ============================================================================== --- incubator/jspwiki/trunk/tests/java/org/apache/wiki/content/PageRenamerTest.java (original) +++ incubator/jspwiki/trunk/tests/java/org/apache/wiki/content/PageRenamerTest.java Thu Dec 3 21:27:20 2009 @@ -104,8 +104,8 @@ Set<String> pages = m_engine.getReferenceManager().findCreated(); - assertTrue( "FooRename does not exist", pages.contains( "Main:FooRename" ) ); - assertFalse( "SimpleRename exists", pages.contains( "Main:SimpleRename" ) ); + assertTrue( "FooRename does not exist", pages.contains( "Main:FooRename".toLowerCase() ) ); + assertFalse( "SimpleRename exists", pages.contains( "Main:SimpleRename".toLowerCase() ) ); assertEquals( "wrong list size", pageCount+1, pages.size() ); m_engine.deletePage( "Main:FooRename" ); } From [email protected] Sun Dec 06 18:55:31 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63314 invoked from network); 6 Dec 2009 18:55:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Dec 2009 18:55:31 -0000 Received: (qmail 48360 invoked by uid 500); 6 Dec 2009 18:55:31 -0000 Delivered-To: [email protected] Received: (qmail 48343 invoked by uid 500); 6 Dec 2009 18:55:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jspwiki-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48334 invoked by uid 99); 6 Dec 2009 18:55:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Dec 2009 18:55:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Dec 2009 18:55:28 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D3EFF23889DF; Sun, 6 Dec 2009 18:55:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r887747 - in /incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH: ChangeLog src/com/ecyrd/jspwiki/Release.java src/com/ecyrd/jspwiki/content/PageRenamer.java Date: Sun, 06 Dec 2009 18:55:07 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: metskem Date: Sun Dec 6 18:55:07 2009 New Revision: 887747 URL: http://svn.apache.org/viewvc?rev=887747&view=rev Log: 2.8.4-svn-4 JSPWIKI-617: Attachments unsearchable after renaming a page Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ChangeLog incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/Release.java incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/content/PageRenamer.java Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ChangeLog URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ChangeLog?rev=887747&r1=887746&r2=887747&view=diff ============================================================================== --- incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ChangeLog (original) +++ incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ChangeLog Sun Dec 6 18:55:07 2009 @@ -1,3 +1,9 @@ +2009-12-06 Harry Metske <[email protected]> + + * 2.8.4-svn-4 + + * JSPWIKI-617: Attachments unsearchable after renaming a page + 2009-11-24 Janne Jalkanen <[email protected]> * 2.8.4-svn-3 Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/Release.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/Release.java?rev=887747&r1=887746&r2=887747&view=diff ============================================================================== --- incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/Release.java (original) +++ incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/Release.java Sun Dec 6 18:55:07 2009 @@ -77,7 +77,7 @@ * <p> * If the build identifier is empty, it is not added. */ - public static final String BUILD = "3"; + public static final String BUILD = "4"; /** * This is the generic version string you should use Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/content/PageRenamer.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/content/PageRenamer.java?rev=887747&r1=887746&r2=887747&view=diff ============================================================================== --- incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/content/PageRenamer.java (original) +++ incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/content/PageRenamer.java Sun Dec 6 18:55:07 2009 @@ -160,6 +160,12 @@ // re-index the page // engine.getSearchManager().reindexPage(toPage); + + Collection<Attachment> attachments = engine.getAttachmentManager().listAttachments( toPage ); + for (Attachment att:attachments) + { + engine.getSearchManager().reindexPage(att); + } // From [email protected] Fri Dec 11 07:40:08 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19458 invoked from network); 11 Dec 2009 07:40:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Dec 2009 07:40:08 -0000 Received: (qmail 12597 invoked by uid 500); 11 Dec 2009 07:40:08 -0000 Delivered-To: [email protected] Received: (qmail 12580 invoked by uid 500); 11 Dec 2009 07:40:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jspwiki-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 12571 invoked by uid 99); 11 Dec 2009 07:40:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Dec 2009 07:40:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Dec 2009 07:40:04 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1861E23889B3; Fri, 11 Dec 2009 07:39:43 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r889524 - in /incubator/jspwiki/trunk: ./ src/java/org/apache/wiki/ src/java/org/apache/wiki/action/ tests/java/org/apache/wiki/action/ tests/java/org/apache/wiki/ui/migrator/ tests/java/org/apache/wiki/ui/stripes/ Date: Fri, 11 Dec 2009 07:39:42 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: ajaquith Date: Fri Dec 11 07:39:41 2009 New Revision: 889524 URL: http://svn.apache.org/viewvc?rev=889524&view=rev Log: 3.0.0-svn-190. Unit test fixes. Back up to 97.3% pass rate. Page-renaming, references and related plugins are still messed up, but the stuff I messed up a few checkins ago is fixed. Modified: incubator/jspwiki/trunk/ChangeLog incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java incubator/jspwiki/trunk/src/java/org/apache/wiki/WikiContext.java incubator/jspwiki/trunk/src/java/org/apache/wiki/action/DiffActionBean.java incubator/jspwiki/trunk/src/java/org/apache/wiki/action/EditActionBean.java incubator/jspwiki/trunk/src/java/org/apache/wiki/action/GroupActionBean.java incubator/jspwiki/trunk/tests/java/org/apache/wiki/action/DiffActionBeanTest.java incubator/jspwiki/trunk/tests/java/org/apache/wiki/action/EditActionBeanTest.java incubator/jspwiki/trunk/tests/java/org/apache/wiki/action/GroupActionBeanTest.java incubator/jspwiki/trunk/tests/java/org/apache/wiki/ui/migrator/JSPWikiJspTransformerTest.java incubator/jspwiki/trunk/tests/java/org/apache/wiki/ui/stripes/HandlerInfoTest.java Modified: incubator/jspwiki/trunk/ChangeLog URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/ChangeLog?rev=889524&r1=889523&r2=889524&view=diff ============================================================================== --- incubator/jspwiki/trunk/ChangeLog (original) +++ incubator/jspwiki/trunk/ChangeLog Fri Dec 11 07:39:41 2009 @@ -1,3 +1,9 @@ +2009-12-10 Andrew Jaquith <[email protected]> + + * 3.0.0-svn-190. Unit test fixes. Back up to 97.3% pass rate. + Page-renaming, references and related plugins are still messed up, + but the stuff I messed up a few checkins ago is fixed. + 2009-12-03 Janne Jalkanen <[email protected]> * 3.0.0-svn-189 Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java?rev=889524&r1=889523&r2=889524&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java Fri Dec 11 07:39:41 2009 @@ -77,7 +77,7 @@ * <p> * If the build identifier is empty, it is not added. */ - public static final String BUILD = "189"; + public static final String BUILD = "190"; /** * This is the generic version string you should use Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/WikiContext.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/WikiContext.java?rev=889524&r1=889523&r2=889524&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/WikiContext.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/WikiContext.java Fri Dec 11 07:39:41 2009 @@ -68,7 +68,7 @@ public static final String WORKFLOW = HandlerInfo.getHandlerInfo( WorkflowActionBean.class, "view" ).getRequestContext(); /** The EDIT context - the user is editing the page. */ - public static final String EDIT = HandlerInfo.getHandlerInfo( EditActionBean.class, "edit" ).getRequestContext(); + public static final String EDIT = "edit"; /** User is preparing for a login/authentication. */ public static final String LOGIN = HandlerInfo.getHandlerInfo( LoginActionBean.class, "login" ).getRequestContext(); Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/action/DiffActionBean.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/action/DiffActionBean.java?rev=889524&r1=889523&r2=889524&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/action/DiffActionBean.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/action/DiffActionBean.java Fri Dec 11 07:39:41 2009 @@ -28,7 +28,7 @@ private int m_r2 = WikiProvider.LATEST_VERSION; - private String m_diffProvider = null; + private String m_diffProvider = "TraditionalDiffProvider"; private List<WikiPage> m_history = null; Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/action/EditActionBean.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/action/EditActionBean.java?rev=889524&r1=889523&r2=889524&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/action/EditActionBean.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/action/EditActionBean.java Fri Dec 11 07:39:41 2009 @@ -194,7 +194,6 @@ public Resolution edit() throws ProviderException { // Load the page text - WikiEngine engine = getContext().getEngine(); setWikiText( getPage().getContentAsString() ); // Init edit fields and forward to the display JSP Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/action/GroupActionBean.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/action/GroupActionBean.java?rev=889524&r1=889523&r2=889524&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/action/GroupActionBean.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/action/GroupActionBean.java Fri Dec 11 07:39:41 2009 @@ -206,7 +206,7 @@ * display JSP */ @HandlesEvent( "edit" ) - @HandlerPermission( permissionClass = WikiPermission.class, target = "*", actions = WikiPermission.CREATE_GROUPS_ACTION ) + @HandlerPermission( permissionClass = GroupPermission.class, target = "${group.name}", actions = GroupPermission.EDIT_ACTION ) @WikiRequestContext( "editGroup" ) public Resolution edit() { Modified: incubator/jspwiki/trunk/tests/java/org/apache/wiki/action/DiffActionBeanTest.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/java/org/apache/wiki/action/DiffActionBeanTest.java?rev=889524&r1=889523&r2=889524&view=diff ============================================================================== --- incubator/jspwiki/trunk/tests/java/org/apache/wiki/action/DiffActionBeanTest.java (original) +++ incubator/jspwiki/trunk/tests/java/org/apache/wiki/action/DiffActionBeanTest.java Fri Dec 11 07:39:41 2009 @@ -68,7 +68,7 @@ MockRoundtrip trip = m_engine.guestTrip( "/Diff.action" ); trip.execute( "diff" ); DiffActionBean bean = trip.getActionBean( DiffActionBean.class ); - assertEquals( "ContextualDiffProvider", bean.getDiffProvider() ); + assertEquals( "TraditionalDiffProvider", bean.getDiffProvider() ); } public void testHistory() throws Exception Modified: incubator/jspwiki/trunk/tests/java/org/apache/wiki/action/EditActionBeanTest.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/java/org/apache/wiki/action/EditActionBeanTest.java?rev=889524&r1=889523&r2=889524&view=diff ============================================================================== --- incubator/jspwiki/trunk/tests/java/org/apache/wiki/action/EditActionBeanTest.java (original) +++ incubator/jspwiki/trunk/tests/java/org/apache/wiki/action/EditActionBeanTest.java Fri Dec 11 07:39:41 2009 @@ -56,13 +56,13 @@ m_engine.shutdown(); } - public void testEditNoParameter() throws Exception + public void testEditNoParameters() throws Exception { // Try editing without specifying a page MockRoundtrip trip = m_engine.guestTrip( "/Edit.action" ); String startTime = String.valueOf( System.currentTimeMillis() ); trip.addParameter( "startTime", CryptoUtil.encrypt( startTime ) ); - trip.addParameter( "text", "This is the edited text" ); + trip.addParameter( "wikiText", "This is the edited text" ); TestEngine.addSpamProtectParams( trip ); trip.execute( "save" ); @@ -70,11 +70,12 @@ EditActionBean bean = trip.getActionBean( EditActionBean.class ); assertNull( bean.getPage() ); - // ...and the "page" param should be flagged as invalid + // ...and the "page" and "append" params should be flagged as invalid ValidationErrors errors = trip.getValidationErrors(); - assertEquals( 1, errors.size() ); + assertEquals( 2, errors.size() ); assertTrue( errors.hasFieldErrors() ); assertTrue( errors.containsKey( "page" ) ); + assertTrue( errors.containsKey( "append" ) ); // ...and the destination should be the original display JSP (for // displaying errors) @@ -91,7 +92,8 @@ String startTime = String.valueOf( System.currentTimeMillis() ); trip.addParameter( "page", "FindPage" ); trip.addParameter( "startTime", CryptoUtil.encrypt( startTime ) ); - trip.addParameter( "text", "This is the edited text" ); + trip.addParameter( "wikiText", "This is the edited text" ); + trip.addParameter( "append", CryptoUtil.encrypt( "false" ) ); TestEngine.addSpamProtectParams( trip ); trip.execute( "save" ); @@ -124,7 +126,8 @@ trip.setParameter( "page", pageName ); String startTime = String.valueOf( System.currentTimeMillis() ); trip.addParameter( "startTime", CryptoUtil.encrypt( startTime ) ); - trip.addParameter( "text", "This is the edited text" ); + trip.addParameter( "wikiText", "This is the edited text" ); + trip.addParameter( "append", CryptoUtil.encrypt( "false" ) ); TestEngine.addSpamProtectParams( trip ); trip.execute( "save" ); @@ -143,7 +146,8 @@ trip.setParameter( "page", pageName ); startTime = String.valueOf( System.currentTimeMillis() ); trip.addParameter( "startTime", CryptoUtil.encrypt( startTime ) ); - trip.addParameter( "text", "This is the third revision." ); + trip.addParameter( "wikiText", "This is the third revision." ); + trip.addParameter( "append", CryptoUtil.encrypt( "false" ) ); TestEngine.addSpamProtectParams( trip ); trip.execute( "save" ); @@ -169,7 +173,8 @@ trip.setParameter( "page", pageName ); String startTime = String.valueOf( System.currentTimeMillis() ); trip.addParameter( "startTime", CryptoUtil.encrypt( startTime ) ); - trip.addParameter( "text", "This is the edited text" ); + trip.addParameter( "wikiText", "This is the edited text" ); + trip.addParameter( "append", CryptoUtil.encrypt( "false" ) ); TestEngine.addSpamProtectParams( trip ); trip.execute( "save" ); Modified: incubator/jspwiki/trunk/tests/java/org/apache/wiki/action/GroupActionBeanTest.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/java/org/apache/wiki/action/GroupActionBeanTest.java?rev=889524&r1=889523&r2=889524&view=diff ============================================================================== --- incubator/jspwiki/trunk/tests/java/org/apache/wiki/action/GroupActionBeanTest.java (original) +++ incubator/jspwiki/trunk/tests/java/org/apache/wiki/action/GroupActionBeanTest.java Fri Dec 11 07:39:41 2009 @@ -222,6 +222,9 @@ assertTrue( group.isMember( new WikiPrincipal( "Princess Buttercup" ) ) ); assertTrue( group.isMember( new WikiPrincipal( "Inigo Montoya" ) ) ); assertTrue( group.isMember( new WikiPrincipal( "Miracle Max" ) ) ); + + // Remove the test group + mgr.removeGroup( "TestSaveExistingGroup" ); } public void testSaveNewGroup() throws Exception @@ -271,6 +274,9 @@ assertTrue( group.isMember( new WikiPrincipal( "Princess Buttercup" ) ) ); assertTrue( group.isMember( new WikiPrincipal( "Inigo Montoya" ) ) ); assertTrue( group.isMember( new WikiPrincipal( "Miracle Max" ) ) ); + + // Remove the test group + m_engine.getGroupManager().removeGroup( "TestSaveNewGroup" ); } private void deleteGroup( String groupName ) Modified: incubator/jspwiki/trunk/tests/java/org/apache/wiki/ui/migrator/JSPWikiJspTransformerTest.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/java/org/apache/wiki/ui/migrator/JSPWikiJspTransformerTest.java?rev=889524&r1=889523&r2=889524&view=diff ============================================================================== --- incubator/jspwiki/trunk/tests/java/org/apache/wiki/ui/migrator/JSPWikiJspTransformerTest.java (original) +++ incubator/jspwiki/trunk/tests/java/org/apache/wiki/ui/migrator/JSPWikiJspTransformerTest.java Fri Dec 11 07:39:41 2009 @@ -248,7 +248,7 @@ public void testUseActionBean() { - String s = "<% engine.createContext( request, WikiContext.EDIT ); %>"; + String s = "<% engine.createContext( request, WikiContext.COMMENT ); %>"; JspDocument doc = new JspParser().parse( s ); // Should be 1 node: scriptlet @@ -266,7 +266,7 @@ assertEquals( "beanclass", tag.getAttributes().get( 0 ).getName() ); assertEquals( "org.apache.wiki.action.EditActionBean", tag.getAttributes().get( 0 ).getValue() ); assertEquals( "event", tag.getAttributes().get( 1 ).getName() ); - assertEquals( "edit", tag.getAttributes().get( 1 ).getValue() ); + assertEquals( "comment", tag.getAttributes().get( 1 ).getValue() ); } public static Test suite() Modified: incubator/jspwiki/trunk/tests/java/org/apache/wiki/ui/stripes/HandlerInfoTest.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/java/org/apache/wiki/ui/stripes/HandlerInfoTest.java?rev=889524&r1=889523&r2=889524&view=diff ============================================================================== --- incubator/jspwiki/trunk/tests/java/org/apache/wiki/ui/stripes/HandlerInfoTest.java (original) +++ incubator/jspwiki/trunk/tests/java/org/apache/wiki/ui/stripes/HandlerInfoTest.java Fri Dec 11 07:39:41 2009 @@ -67,7 +67,7 @@ { assertEquals( "createGroup", HandlerInfo.getHandlerInfo( GroupActionBean.class, "create" ).getRequestContext() ); assertEquals( "deleteGroup", HandlerInfo.getHandlerInfo( GroupActionBean.class, "delete" ).getRequestContext() ); - assertEquals( "editGroup", HandlerInfo.getHandlerInfo( GroupActionBean.class, "save" ).getRequestContext() ); + assertEquals( "editGroup", HandlerInfo.getHandlerInfo( GroupActionBean.class, "edit" ).getRequestContext() ); assertEquals( "group", HandlerInfo.getHandlerInfo( GroupActionBean.class, "view" ).getRequestContext() ); } @@ -85,7 +85,7 @@ assertEquals( "view", handlerInfo.getPermissionActions() ); assertNull( handlerInfo.getActionsExpression() ); - method = GroupActionBean.class.getMethod( "save", new Class[0] ); + method = GroupActionBean.class.getMethod( "edit", new Class[0] ); assertTrue( map.containsKey( method ) ); handlerInfo = map.get( method ); assertEquals( GroupPermission.class, handlerInfo.getPermissionClass() ); @@ -94,13 +94,13 @@ assertEquals( "edit", handlerInfo.getPermissionActions() ); assertNull( handlerInfo.getActionsExpression() ); - method = GroupActionBean.class.getMethod( "saveNew", new Class[0] ); + method = GroupActionBean.class.getMethod( "save", new Class[0] ); assertTrue( map.containsKey( method ) ); handlerInfo = map.get( method ); - assertEquals( WikiPermission.class, handlerInfo.getPermissionClass() ); - assertEquals( "*", handlerInfo.getPermissionTarget() ); + assertNull( handlerInfo.getPermissionClass() ); + assertNull( handlerInfo.getPermissionTarget() ); assertNull( handlerInfo.getPermissionTargetExpression() ); - assertEquals( WikiPermission.CREATE_GROUPS_ACTION, handlerInfo.getPermissionActions() ); + assertNull( handlerInfo.getPermissionActions() ); assertNull( handlerInfo.getActionsExpression() ); method = GroupActionBean.class.getMethod( "delete", new Class[0] ); @@ -159,7 +159,7 @@ assertNotNull( bean ); // The view handler should return a "edit" GroupPermission - method = GroupActionBean.class.getMethod( "save", new Class[0] ); + method = GroupActionBean.class.getMethod( "edit", new Class[0] ); handlerInfo = handlerInfos.get( method ); assertNotNull( handlerInfo ); perm = handlerInfo.getPermission( bean ); From [email protected] Sat Dec 12 03:54:41 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52077 invoked from network); 12 Dec 2009 03:54:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Dec 2009 03:54:41 -0000 Received: (qmail 46128 invoked by uid 500); 12 Dec 2009 03:54:41 -0000 Delivered-To: [email protected] Received: (qmail 46089 invoked by uid 500); 12 Dec 2009 03:54:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jspwiki-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 46079 invoked by uid 99); 12 Dec 2009 03:54:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Dec 2009 03:54:40 +0000 X-ASF-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Dec 2009 03:54:37 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A433B2388962; Sat, 12 Dec 2009 03:54:17 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r889882 - in /incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes: GroupTypeConverter.java LineDelimitedTypeConverter.java LocaleConverter.java PrincipalTypeConverter.java TimeZoneConverter.java WikiPageTypeConverter.java Date: Sat, 12 Dec 2009 03:54:17 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: ajaquith Date: Sat Dec 12 03:54:16 2009 New Revision: 889882 URL: http://svn.apache.org/viewvc?rev=889882&view=rev Log: Fixed some dumb license header issues. Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/GroupTypeConverter.java incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/LineDelimitedTypeConverter.java incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/LocaleConverter.java incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/PrincipalTypeConverter.java incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/TimeZoneConverter.java incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/WikiPageTypeConverter.java Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/GroupTypeConverter.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/GroupTypeConverter.java?rev=889882&r1=889881&r2=889882&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/GroupTypeConverter.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/GroupTypeConverter.java Sat Dec 12 03:54:16 2009 @@ -1,16 +1,22 @@ -/* Copyright 2005-2006 Tim Fennell - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. +/* + JSPWiki - a JSP-based WikiWiki clone. + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. */ package org.apache.wiki.ui.stripes; @@ -46,12 +52,12 @@ * Converts a named wiki group into a valid * {@link org.apache.wiki.auth.authorize.Group} object by retrieving it * via the Wiki{@link org.apache.wiki.auth.authorize.GroupManager}. If - * the group cannot be found (perhaps because it does not exist), this - * method will add a validation error to the supplied Collection of errors. - * The error will be of type + * the group name is illegal, this method will add a validation error to + * the supplied Collection of errors. The error will be of type * {@link net.sourceforge.stripes.validation.LocalizableError} and will have * a message key of <code>group.doesnotexist</code> and a single parameter - * (equal to the value passed for <code>groupName</code>). + * (equal to the value passed for <code>groupName</code>). If the group + * does not exist (perhaps because it is new), {@code null} is returned. * * @param groupName the name of the WikiPage to retrieve * @param targetType the type to return, which will always be of type @@ -71,7 +77,7 @@ } catch( NoSuchPrincipalException e ) { - // Should never happen + // Group does not exist } catch( WikiSecurityException e ) { @@ -81,6 +87,9 @@ return group; } + /** + * No-op method that does nothing, because setting the Locale has no effect on the conversion. + */ public void setLocale( Locale locale ) { }; Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/LineDelimitedTypeConverter.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/LineDelimitedTypeConverter.java?rev=889882&r1=889881&r2=889882&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/LineDelimitedTypeConverter.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/LineDelimitedTypeConverter.java Sat Dec 12 03:54:16 2009 @@ -33,6 +33,11 @@ public class LineDelimitedTypeConverter extends OneToManyTypeConverter { + /** + * Overrides the regular expression used by the + * {@link net.sourceforge.stripes.validation.OneToManyTypeConverter} + * with one that permits line-break characters and commas. + */ @Override protected String getSplitRegex() { Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/LocaleConverter.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/LocaleConverter.java?rev=889882&r1=889881&r2=889882&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/LocaleConverter.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/LocaleConverter.java Sat Dec 12 03:54:16 2009 @@ -1,16 +1,22 @@ -/* Copyright 2005-2006 Tim Fennell - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. +/* + JSPWiki - a JSP-based WikiWiki clone. + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. */ package org.apache.wiki.ui.stripes; Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/PrincipalTypeConverter.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/PrincipalTypeConverter.java?rev=889882&r1=889881&r2=889882&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/PrincipalTypeConverter.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/PrincipalTypeConverter.java Sat Dec 12 03:54:16 2009 @@ -1,16 +1,22 @@ -/* Copyright 2005-2006 Tim Fennell - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. +/* + JSPWiki - a JSP-based WikiWiki clone. + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. */ package org.apache.wiki.ui.stripes; @@ -54,6 +60,9 @@ return new WikiPrincipal( principalName ); } + /** + * No-op method that does nothing, because setting the Locale has no effect on the conversion. + */ public void setLocale( Locale locale ) { }; Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/TimeZoneConverter.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/TimeZoneConverter.java?rev=889882&r1=889881&r2=889882&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/TimeZoneConverter.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/TimeZoneConverter.java Sat Dec 12 03:54:16 2009 @@ -1,16 +1,22 @@ -/* Copyright 2005-2006 Tim Fennell - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. +/* + JSPWiki - a JSP-based WikiWiki clone. + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. */ package org.apache.wiki.ui.stripes; @@ -51,6 +57,9 @@ return TimeZone.getTimeZone( timeZone ); } + /** + * No-op method that does nothing, because setting the Locale has no effect on the conversion. + */ public void setLocale( Locale locale ) { }; Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/WikiPageTypeConverter.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/WikiPageTypeConverter.java?rev=889882&r1=889881&r2=889882&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/WikiPageTypeConverter.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/WikiPageTypeConverter.java Sat Dec 12 03:54:16 2009 @@ -143,6 +143,9 @@ return null; } + /** + * No-op method that does nothing, because setting the Locale has no effect on the conversion. + */ public void setLocale( Locale locale ) { } From [email protected] Sat Dec 12 04:03:49 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54374 invoked from network); 12 Dec 2009 04:03:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Dec 2009 04:03:49 -0000 Received: (qmail 48818 invoked by uid 500); 12 Dec 2009 04:03:48 -0000 Delivered-To: [email protected] Received: (qmail 48799 invoked by uid 500); 12 Dec 2009 04:03:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jspwiki-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48790 invoked by uid 99); 12 Dec 2009 04:03:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Dec 2009 04:03:47 +0000 X-ASF-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Dec 2009 04:03:42 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 38F2123888FE; Sat, 12 Dec 2009 04:03:22 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r889884 - in /incubator/jspwiki/trunk: ./ src/WebContent/ src/WebContent/WEB-INF/classes/ src/WebContent/WEB-INF/classes/templates/ src/WebContent/admin/ src/WebContent/templates/default/ src/java/org/apache/wiki/ src/java/org/apache/wiki/a... Date: Sat, 12 Dec 2009 04:03:14 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: ajaquith Date: Sat Dec 12 04:03:11 2009 New Revision: 889884 URL: http://svn.apache.org/viewvc?rev=889884&view=rev Log: Workflow/WorkflowContent.jsp received the Stripes treatment. All logic moved to WorkflowActionBean. Added: incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/OutcomeTypeConverter.java incubator/jspwiki/trunk/tests/java/org/apache/wiki/action/WorkflowActionBeanTest.java Modified: incubator/jspwiki/trunk/ChangeLog incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources.properties incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_de.properties incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_es.properties incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_fi.properties incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_fr.properties incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_it.properties incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_nl.properties incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_pt_BR.properties incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_ru.properties incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_zh_CN.properties incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default.properties incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_de.properties incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_es.properties incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_fi.properties incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_fr.properties incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_it.properties incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_nl.properties incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_pt_BR.properties incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_ru.properties incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_zh_CN.properties incubator/jspwiki/trunk/src/WebContent/Workflow.jsp incubator/jspwiki/trunk/src/WebContent/admin/Install.jsp incubator/jspwiki/trunk/src/WebContent/templates/default/WorkflowContent.jsp incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java incubator/jspwiki/trunk/src/java/org/apache/wiki/action/WorkflowActionBean.java incubator/jspwiki/trunk/src/java/org/apache/wiki/auth/authorize/Role.java incubator/jspwiki/trunk/src/java/org/apache/wiki/workflow/DecisionQueue.java incubator/jspwiki/trunk/src/java/org/apache/wiki/workflow/Outcome.java incubator/jspwiki/trunk/src/java/org/apache/wiki/workflow/WorkflowManager.java incubator/jspwiki/trunk/tests/java/org/apache/wiki/action/AllTests.java incubator/jspwiki/trunk/tests/java/org/apache/wiki/workflow/OutcomeTest.java Modified: incubator/jspwiki/trunk/ChangeLog URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/ChangeLog?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/ChangeLog (original) +++ incubator/jspwiki/trunk/ChangeLog Sat Dec 12 04:03:11 2009 @@ -1,3 +1,12 @@ +2009-12-11 Andrew Jaquith <[email protected]> + + * 3.0.0-svn-191. + + * Workflow/WorkflowContent.jsp received the Stripes treatment. + All logic moved to WorkflowActionBean. + + * Fixed some dumb license header issues. + 2009-12-10 Andrew Jaquith <[email protected]> * 3.0.0-svn-190. Unit test fixes. Back up to 97.3% pass rate. Modified: incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources.properties URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources.properties?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources.properties (original) +++ incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources.properties Sat Dec 12 04:03:11 2009 @@ -328,7 +328,7 @@ properties.jspwiki.ldap_ssl=Use SSL? properties.jspwiki.ldap_userBase=User base properties.jspwiki.ldap_roleBase=Role base -adminPassword=Admin password +adminPassword=Superuser password properties.jspwiki.ldap_bindUser=Bind as user bindPassword=Password #Formerly named install.jsp.adv.settings.logfile.label. @@ -352,3 +352,24 @@ group=Name #Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named group.members. members=Group members +outcome.doesnotexist=The Outcome named {0} does not exist. +org.apache.wiki.action.WorkflowActionBean.abort=Abort +org.apache.wiki.action.WorkflowActionBean.decide=Submit +properties.jspwiki.jspwiki_approver_workflow_saveWikiPage=Wiki page approver +properties.jspwiki.jspwiki_approver_workflow_createUserProfile=Profile approver +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.step.abort. +Outcome.step.abort=Abort +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.step.complete. +Outcome.step.complete=Completed +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.step.continue. +Outcome.step.continue=Continue +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.acknowledge. +Outcome.decision.acknowledge=OK +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.approve. +Outcome.decision.approve=Approve +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.deny. +Outcome.decision.deny=Deny +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.hold. +Outcome.decision.hold=Hold +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.reassign. +Outcome.decision.reassign=Reassign Modified: incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_de.properties URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_de.properties?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_de.properties (original) +++ incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_de.properties Sat Dec 12 04:03:11 2009 @@ -328,6 +328,23 @@ group=Name #Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named group.members. members=Mitglieder +org.apache.wiki.action.WorkflowActionBean.abort=Abbrechen +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.step.abort. +Outcome.step.abort=Abbrechen +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.step.complete. +Outcome.step.complete=Beendet +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.step.continue. +Outcome.step.continue=Fortsetzen +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.acknowledge. +Outcome.decision.acknowledge=OK +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.approve. +Outcome.decision.approve=Genehmigen +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.deny. +Outcome.decision.deny=Ablehnen +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.hold. +Outcome.decision.hold=Zurückstellen +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.reassign. +Outcome.decision.reassign=Neu zuweisen # Outdated or superfluous properties since 3.0.0 # folgende Properties sind in der aktuellen 'default en' Datei nicht enthalten Modified: incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_es.properties URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_es.properties?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_es.properties (original) +++ incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_es.properties Sat Dec 12 04:03:11 2009 @@ -329,3 +329,20 @@ group=Nombre #Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named group.members. members=Miembros +org.apache.wiki.action.WorkflowActionBean.abort=Abortar +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.step.abort. +Outcome.step.abort=Abortar +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.step.complete. +Outcome.step.complete=Completado +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.step.continue. +Outcome.step.continue=Continuar +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.acknowledge. +Outcome.decision.acknowledge=OK +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.approve. +Outcome.decision.approve=Aprobar +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.deny. +Outcome.decision.deny=Denegar +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.hold. +Outcome.decision.hold=Mantener +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.reassign. +Outcome.decision.reassign=Reasignar Modified: incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_fi.properties URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_fi.properties?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_fi.properties (original) +++ incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_fi.properties Sat Dec 12 04:03:11 2009 @@ -222,3 +222,20 @@ group=Ryhmän nimi #Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named group.members. members=Jäsenet +org.apache.wiki.action.WorkflowActionBean.abort=Keskeytä +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.step.abort. +Outcome.step.abort=Keskeytä +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.step.complete. +Outcome.step.complete=Suoritettu +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.step.continue. +Outcome.step.continue=Jatka +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.acknowledge. +Outcome.decision.acknowledge=OK +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.approve. +Outcome.decision.approve=Hyväksy +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.deny. +Outcome.decision.deny=Kiellä +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.hold. +Outcome.decision.hold=Laita jonoon +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.reassign. +Outcome.decision.reassign=Lähetä edelleen Modified: incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_fr.properties URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_fr.properties?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_fr.properties (original) +++ incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_fr.properties Sat Dec 12 04:03:11 2009 @@ -235,3 +235,20 @@ #Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named group.members. members=Membres du groupe #Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named editor.plain.save.title. +org.apache.wiki.action.WorkflowActionBean.abort=Abandonner +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.step.abort. +Outcome.step.abort=Abandonner +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.step.complete. +Outcome.step.complete=Terminé +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.step.continue. +Outcome.step.continue=Continuer +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.acknowledge. +Outcome.decision.acknowledge=OK +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.approve. +Outcome.decision.approve=Approuver +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.deny. +Outcome.decision.deny=Refuser +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.hold. +Outcome.decision.hold=Conserver +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.reassign. +Outcome.decision.reassign=Réassigner Modified: incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_it.properties URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_it.properties?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_it.properties (original) +++ incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_it.properties Sat Dec 12 04:03:11 2009 @@ -233,3 +233,20 @@ #Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named group.members. members=Membri del gruppo #Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named editor.plain.save.title. +org.apache.wiki.action.WorkflowActionBean.abort=Annulla +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.step.abort. +Outcome.step.abort=Annulla +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.step.complete. +Outcome.step.complete=Completato +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.step.continue. +Outcome.step.continue=Continua +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.acknowledge. +Outcome.decision.acknowledge=OK +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.approve. +Outcome.decision.approve=Approva +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.deny. +Outcome.decision.deny=Deny +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.hold. +Outcome.decision.hold=Blocca +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.reassign. +Outcome.decision.reassign=Riassegna Modified: incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_nl.properties URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_nl.properties?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_nl.properties (original) +++ incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_nl.properties Sat Dec 12 04:03:11 2009 @@ -289,3 +289,20 @@ group=Naam #Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named group.members. members=Leden van de groep +org.apache.wiki.action.WorkflowActionBean.abort=Breek af +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.step.abort. +Outcome.step.abort=Breek af +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.step.complete. +Outcome.step.complete=Afgewerkt +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.step.continue. +Outcome.step.continue=Verderzetten +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.acknowledge. +Outcome.decision.acknowledge=OK +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.approve. +Outcome.decision.approve=Keur goed +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.deny. +Outcome.decision.deny=Geweigerd +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.hold. +Outcome.decision.hold=Hold +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.reassign. +Outcome.decision.reassign=Opnieuw toewijzen Modified: incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_pt_BR.properties URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_pt_BR.properties?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_pt_BR.properties (original) +++ incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_pt_BR.properties Sat Dec 12 04:03:11 2009 @@ -174,3 +174,20 @@ org.apache.wiki.action.GroupActionBean.save=Save Group #Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named group.members. members=Group Members +org.apache.wiki.action.WorkflowActionBean.abort=Abort +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.step.abort. +Outcome.step.abort=Abort +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.step.complete. +Outcome.step.complete=Completed +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.step.continue. +Outcome.step.continue=Continue +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.acknowledge. +Outcome.decision.acknowledge=OK +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.approve. +Outcome.decision.approve=Approve +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.deny. +Outcome.decision.deny=Deny +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.hold. +Outcome.decision.hold=Hold +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.reassign. +Outcome.decision.reassign=Reassign Modified: incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_ru.properties URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_ru.properties?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_ru.properties (original) +++ incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_ru.properties Sat Dec 12 04:03:11 2009 @@ -238,3 +238,20 @@ group=\u0418\u043c\u044f #Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named group.members. members=\u0423\u0447\u0430\u0441\u043d\u0438\u043a\u0438 \u0433\u0440\u0443\u043f\u043f\u044b +org.apache.wiki.action.WorkflowActionBean.abort=\u041f\u0440\u0435\u0440\u0432\u0430\u0442\u044c +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.step.abort. +Outcome.step.abort=\u041f\u0440\u0435\u0440\u0432\u0430\u0442\u044c +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.step.complete. +Outcome.step.complete=\u0412\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043e +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.step.continue. +Outcome.step.continue=\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.acknowledge. +Outcome.decision.acknowledge=\u0425\u043e\u0440\u043e\u0448\u043e +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.approve. +Outcome.decision.approve=\u041e\u0434\u043e\u0431\u0440\u0438\u0442\u044c +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.deny. +Outcome.decision.deny=\u0417\u0430\u043f\u0440\u0435\u0442\u0438\u0442\u044c +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.hold. +Outcome.decision.hold=\u0417\u0430\u0434\u0435\u0440\u0436\u0430\u0442\u044c +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.reassign. +Outcome.decision.reassign=\u041f\u0435\u0440\u0435\u043d\u0430\u0437\u043d\u0430\u0447\u0438\u0442\u044c Modified: incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_zh_CN.properties URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_zh_CN.properties?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_zh_CN.properties (original) +++ incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/CoreResources_zh_CN.properties Sat Dec 12 04:03:11 2009 @@ -326,3 +326,20 @@ #Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named group.members. members=\u7ec4\u6210\u5458 #Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named editor.plain.save.title. +org.apache.wiki.action.WorkflowActionBean.abort=\u653e\u5f03 +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.step.abort. +Outcome.step.abort=\u653e\u5f03 +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.step.complete. +Outcome.step.complete=\u5df2\u5b8c\u6210 +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.step.continue. +Outcome.step.continue=\u7ee7\u7eed +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.acknowledge. +Outcome.decision.acknowledge=\u786e\u5b9a +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.approve. +Outcome.decision.approve=\u5141\u8bb8 +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.deny. +Outcome.decision.deny=\u62d2\u7edd +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.hold. +Outcome.decision.hold=\u6302\u8d77 +#Copied from src/WebContent/WEB-INF/classes/templates/default.properties.. Formerly named outcome.decision.reassign. +Outcome.decision.reassign=\u91cd\u65b0\u6307\u5b9a Modified: incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default.properties URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default.properties?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default.properties (original) +++ incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default.properties Sat Dec 12 04:03:11 2009 @@ -334,14 +334,6 @@ workflow.actions=Actions workflow.actor=Current actor workflow.submit=Do it -outcome.step.abort=Abort -outcome.step.complete=Completed -outcome.step.continue=Continue -outcome.decision.acknowledge=OK -outcome.decision.approve=Approve -outcome.decision.deny=Deny -outcome.decision.hold=Hold -outcome.decision.reassign=Reassign workflow.details.title=Show or hide details workflow.details=details... # Specific workflow/decision messages @@ -517,13 +509,13 @@ #Copied from src/WebContent/WEB-INF/classes/CoreResources.properties.. Formerly named install.jsp.basics.title. install.basics=Basics #Formerly named adminPassword.description. -install.adminPassword.description=Enter the "admin" user's desired password here. This account can do anything, and can log in even if the UserDatabase is not functioning properly. The password must be at least 16 characters in length. You should write down this password after you set it. For your convenience, we have generated a random password for you. Feel free to change it to something else. +install.adminPassword.description=Enter the superuser's desired password here. This account (su) can do anything, and can log in even if the UserDatabase is not functioning properly. The password must be at least 16 characters in length. You should write down this password after you set it. For your convenience, we have generated a random password for you. Feel free to change it to something else. #Copied from src/WebContent/WEB-INF/classes/CoreResources.properties.. Formerly named install.jsp.basics.appname.desc.. Formerly named applicationName.description. install.applicationName.description=What should your wiki be called? Try and make this a relatively short name. #Copied from src/WebContent/WEB-INF/classes/CoreResources.properties.. Formerly named install.jsp.basics.baseurl.desc.. Formerly named baseURL.description. install.baseURL.description=Please tell JSPWiki where your wiki is located, for example "http://localhost:8080/JSPWiki/". #Copied from src/WebContent/WEB-INF/classes/CoreResources.properties.. Formerly named install.jsp.basics.page.storage.desc.. Formerly named pageDir.description. -install.pageDir.description=By default, JSPWiki will use the VersioningFileProvider that stores files in a particular directory on your hard drive. If you specify a directory that does not exist, JSPWiki will create one for you. All attachments will also be put in the same directory. +install.pageDir.description=By default, JSPWiki will use the Priha JCR implementation to store files in a particular directory on your hard drive. If you specify a directory that does not exist, JSPWiki will create one for you. #Copied from src/WebContent/WEB-INF/classes/CoreResources.properties.. Formerly named install.jsp.adv.settings.logfile.desc.. Formerly named logFile.description.. Formerly named logDirectory.description. install.logDirectory.description=JSPWiki uses Jakarta Log4j for logging. Please tell JSPWiki where the log files should go. #Copied from src/WebContent/WEB-INF/classes/CoreResources.properties.. Formerly named install.jsp.adv.settings.workdir.desc.. Formerly named workDir.description. @@ -540,3 +532,5 @@ newgroup.heading.create=Create new group #Formerly named newgroup.members.description. members.description=The membership for this group. Enter each user&#8217;s name or wiki name, separated by carriage returns. +install.approver.saveWikiPage.description=Name of the role or wiki group that can approve page changes. If users can change pages themselves without approval, leave this blank. Specify the role "SU" if you want the superuser to approve all page changes. +install.approver.createUserProfile.description=Name of the role or wiki group that can approve new wiki profiles. If users can self-enroll without approval, leave this blank. Specify the role "SU" if you want the superuser to approve all new accounts. \ No newline at end of file Modified: incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_de.properties URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_de.properties?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_de.properties (original) +++ incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_de.properties Sat Dec 12 04:03:11 2009 @@ -350,14 +350,6 @@ workflow.actions=Aktionen workflow.actor=Aktueller Bearbeiter workflow.submit=Erledigen -outcome.step.abort=Abbrechen -outcome.step.complete=Beendet -outcome.step.continue=Fortsetzen -outcome.decision.acknowledge=OK -outcome.decision.approve=Genehmigen -outcome.decision.deny=Ablehnen -outcome.decision.hold=Zurückstellen -outcome.decision.reassign=Neu zuweisen workflow.details.title=Details ein-/ausblenden workflow.details=Details... # Specific workflow/decision messages Modified: incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_es.properties URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_es.properties?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_es.properties (original) +++ incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_es.properties Sat Dec 12 04:03:11 2009 @@ -337,14 +337,6 @@ workflow.actions=Acciones workflow.actor=Actor actual workflow.submit=Hazlo -outcome.step.abort=Abortar -outcome.step.complete=Completado -outcome.step.continue=Continuar -outcome.decision.acknowledge=OK -outcome.decision.approve=Aprobar -outcome.decision.deny=Denegar -outcome.decision.hold=Mantener -outcome.decision.reassign=Reasignar workflow.details.title=Mostrar u ocultar detalles workflow.details=detalles... # Specific workflow/decision messages Modified: incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_fi.properties URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_fi.properties?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_fi.properties (original) +++ incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_fi.properties Sat Dec 12 04:03:11 2009 @@ -322,14 +322,6 @@ workflow.actions=Toiminnot workflow.actor=Tämänhetkinen tekijä workflow.submit=Hyväksy -outcome.step.abort=Keskeytä -outcome.step.complete=Suoritettu -outcome.step.continue=Jatka -outcome.decision.acknowledge=OK -outcome.decision.approve=Hyväksy -outcome.decision.deny=Kiellä -outcome.decision.hold=Laita jonoon -outcome.decision.reassign=Lähetä edelleen workflow.details=lisää... workflow.details.title=Näytä/piilota lisätiedot workflow.creatUserProfile=Uusi käyttäjäprofiili <strong>{2}</strong> Modified: incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_fr.properties URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_fr.properties?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_fr.properties (original) +++ incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_fr.properties Sat Dec 12 04:03:11 2009 @@ -333,14 +333,6 @@ workflow.actions=Actions workflow.actor=Acteur courant workflow.submit=Soumettre -outcome.step.abort=Abandonner -outcome.step.complete=Terminé -outcome.step.continue=Continuer -outcome.decision.acknowledge=OK -outcome.decision.approve=Approuver -outcome.decision.deny=Refuser -outcome.decision.hold=Conserver -outcome.decision.reassign=Réassigner workflow.details.title=Montrer/cacher les détails workflow.details=Détails... # Specific workflow/decision messages Modified: incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_it.properties URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_it.properties?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_it.properties (original) +++ incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_it.properties Sat Dec 12 04:03:11 2009 @@ -327,14 +327,6 @@ workflow.actions=Azioni workflow.actor=Soggetto workflow.submit=Esegui -outcome.step.abort=Annulla -outcome.step.complete=Completato -outcome.step.continue=Continua -outcome.decision.acknowledge=OK -outcome.decision.approve=Approva -outcome.decision.deny=Deny -outcome.decision.hold=Blocca -outcome.decision.reassign=Riassegna workflow.details.title=Mostra o nascondi i dettagli workflow.details=dettagli ... # Specific workflow/decision messages Modified: incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_nl.properties URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_nl.properties?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_nl.properties (original) +++ incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_nl.properties Sat Dec 12 04:03:11 2009 @@ -328,14 +328,6 @@ workflow.actions=Acties workflow.actor=Huidige actor workflow.submit=Do it -outcome.step.abort=Breek af. -outcome.step.complete=Afgewerkt -outcome.step.continue=Verderzetten -outcome.decision.acknowledge=OK -outcome.decision.approve=Keur goed -outcome.decision.deny=Geweigerd -outcome.decision.hold=Hold -outcome.decision.reassign=Opnieuw toewijzen workflow.details.title=Toon/verberg details workflow.details=details... # Specific workflow/decision messages Modified: incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_pt_BR.properties URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_pt_BR.properties?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_pt_BR.properties (original) +++ incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_pt_BR.properties Sat Dec 12 04:03:11 2009 @@ -362,14 +362,6 @@ workflow.actions=Actions workflow.actor=Current actor workflow.submit=Do it -outcome.step.abort=Abort -outcome.step.complete=Completed -outcome.step.continue=Continue -outcome.decision.acknowledge=OK -outcome.decision.approve=Approve -outcome.decision.deny=Deny -outcome.decision.hold=Hold -outcome.decision.reassign=Reassign workflow.details.title=Show or hide details workflow.details=details... # Specific workflow/decision messages Modified: incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_ru.properties URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_ru.properties?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_ru.properties (original) +++ incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_ru.properties Sat Dec 12 04:03:11 2009 @@ -333,14 +333,6 @@ workflow.actions=Actions workflow.actor=Current actor workflow.submit=\u0421\u0434\u0435\u043b\u0430\u0442\u044c -outcome.step.abort=\u041f\u0440\u0435\u0440\u0432\u0430\u0442\u044c -outcome.step.complete=\u0412\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043e -outcome.step.continue=\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c -outcome.decision.acknowledge=\u0425\u043e\u0440\u043e\u0448\u043e -outcome.decision.approve=\u041e\u0434\u043e\u0431\u0440\u0438\u0442\u044c -outcome.decision.deny=\u0417\u0430\u043f\u0440\u0435\u0442\u0438\u0442\u044c -outcome.decision.hold=\u0417\u0430\u0434\u0435\u0440\u0436\u0430\u0442\u044c -outcome.decision.reassign=\u041f\u0435\u0440\u0435\u043d\u0430\u0437\u043d\u0430\u0447\u0438\u0442\u044c workflow.details.title=\u0421\u043f\u0440\u044f\u0442\u0430\u0442\u044c \u0438\u043b\u0438 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u0435\u0442\u0430\u043b\u0438 workflow.details=\u0434\u0435\u0442\u0430\u043b\u0438... # Specific workflow/decision messages Modified: incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_zh_CN.properties URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_zh_CN.properties?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_zh_CN.properties (original) +++ incubator/jspwiki/trunk/src/WebContent/WEB-INF/classes/templates/default_zh_CN.properties Sat Dec 12 04:03:11 2009 @@ -334,14 +334,6 @@ workflow.actions=\u64cd\u4f5c workflow.actor=\u5f53\u524d\u64cd\u4f5c\u8005 workflow.submit=\u63d0\u4ea4 -outcome.step.abort=\u653e\u5f03 -outcome.step.complete=\u5df2\u5b8c\u6210 -outcome.step.continue=\u7ee7\u7eed -outcome.decision.acknowledge=\u786e\u5b9a -outcome.decision.approve=\u5141\u8bb8 -outcome.decision.deny=\u62d2\u7edd -outcome.decision.hold=\u6302\u8d77 -outcome.decision.reassign=\u91cd\u65b0\u6307\u5b9a workflow.details.title=\u663e\u793a\u6216\u9690\u85cf\u8be6\u7ec6\u4fe1\u606f workflow.details=\u8be6\u7ec6\u4fe1\u606f... # Specific workflow/decision messages Modified: incubator/jspwiki/trunk/src/WebContent/Workflow.jsp URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/Workflow.jsp?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/WebContent/Workflow.jsp (original) +++ incubator/jspwiki/trunk/src/WebContent/Workflow.jsp Sat Dec 12 04:03:11 2009 @@ -18,99 +18,10 @@ specific language governing permissions and limitations under the License. --%> -<%@ page import="java.util.Collection" %> -<%@ page import="java.util.Iterator" %> -<%@ page import="org.apache.wiki.log.Logger" %> -<%@ page import="org.apache.wiki.log.LoggerFactory" %> -<%@ page import="org.apache.wiki.WikiContext" %> -<%@ page import="org.apache.wiki.WikiSession" %> -<%@ page import="org.apache.wiki.WikiEngine" %> -<%@ page import="org.apache.wiki.workflow.Decision" %> -<%@ page import="org.apache.wiki.workflow.DecisionQueue" %> -<%@ page import="org.apache.wiki.workflow.NoSuchOutcomeException" %> -<%@ page import="org.apache.wiki.workflow.Outcome" %> -<%@ page import="org.apache.wiki.workflow.Workflow" %> -<%@ page errorPage="/Error.jsp" %> -<%@ taglib uri="http://jakarta.apache.org/jspwiki.tld" prefix="wiki" %> <%@ taglib uri="http://stripes.sourceforge.net/stripes.tld" prefix="s" %> -<s:useActionBean beanclass="org.apache.wiki.action.WorkflowActionBean" event="view" id="wikiActionBean"/> - -<%! - Logger log = LoggerFactory.getLogger("JSPWiki"); -%> - -<% - WikiEngine wiki = WikiEngine.getInstance( getServletConfig() ); - // Create wiki context and check for authorization - WikiContext wikiContext = wiki.createContext( request, WikiContext.WORKFLOW ); - - // Extract the wiki session - WikiSession wikiSession = wikiContext.getWikiSession(); - - // Get the current decisions - DecisionQueue dq = wiki.getWorkflowManager().getDecisionQueue(); - - if( "decide".equals(request.getParameter("action")) ) - { - try - { - // Extract parameters for decision ID & decision outcome - int id = Integer.parseInt( request.getParameter( "id" ) ); - String outcomeKey = request.getParameter("outcome"); - Outcome outcome = Outcome.forName( outcomeKey ); - // Iterate through our actor decisions and see if we can find an ID match - Collection<Decision> decisions = dq.getActorDecisions(wikiSession); - for (Iterator<Decision> it = decisions.iterator(); it.hasNext();) - { - Decision d = it.next(); - if (d.getId() == id) - { - // Cool, we found it. Now make the decision. - dq.decide(d, outcome); - } - } - } - catch ( NumberFormatException e ) - { - log.warn("Could not parse integer from parameter 'decision'. Somebody is being naughty."); - } - catch ( NoSuchOutcomeException e ) - { - log.warn("Could not look up Outcome from parameter 'outcome'. Somebody is being naughty."); - } - } - if( "abort".equals(request.getParameter("action")) ) - { - try - { - // Extract parameters for decision ID & decision outcome - int id = Integer.parseInt( request.getParameter( "id" ) ); - // Iterate through our owner decisions and see if we can find an ID match - Collection<Workflow> workflows = wiki.getWorkflowManager().getOwnerWorkflows(wikiSession); - for (Iterator<Workflow> it = workflows.iterator(); it.hasNext();) - { - Workflow w = it.next(); - if (w.getId() == id) - { - // Cool, we found it. Now kill the workflow. - w.abort(); - } - } - } - catch ( NumberFormatException e ) - { - log.warn("Could not parse integer from parameter 'decision'. Somebody is being naughty."); - } - } - - // Stash the current decisions/workflows - request.setAttribute("decisions", dq.getActorDecisions(wikiSession)); - request.setAttribute("workflows", wiki.getWorkflowManager().getOwnerWorkflows(wikiSession)); - request.setAttribute("wikiSession", wikiSession); - - response.setContentType("text/html; charset="+wiki.getContentEncoding() ); - String contentPage = wiki.getTemplateManager().findJSP( pageContext, - wikiContext.getTemplate(), - "ViewTemplate.jsp" ); -%><wiki:Include page="<%=contentPage%>" /> - +<s:useActionBean beanclass="org.apache.wiki.action.WorkflowActionBean" event="view" executeResolution="true" id="wikiActionBean" /> +<s:layout-render name="${templates['DefaultLayout.jsp']}"> + <s:layout-component name="content"> + <jsp:include page="${templates['WorkflowContent.jsp']}" /> + </s:layout-component> +</s:layout-render> Modified: incubator/jspwiki/trunk/src/WebContent/admin/Install.jsp URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/admin/Install.jsp?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/WebContent/admin/Install.jsp (original) +++ incubator/jspwiki/trunk/src/WebContent/admin/Install.jsp Sat Dec 12 04:03:11 2009 @@ -98,6 +98,18 @@ <div class="description"><fmt:message key="install.workDir.description" /></div> </div> <div> + <s:label for="properties.jspwiki.jspwiki_approver_workflow_saveWikiPage" /> + <s:text name="properties.jspwiki.jspwiki_approver_workflow_saveWikiPage" size="40" /> + <s:errors field="properties.jspwiki.jspwiki_approver_workflow_saveWikiPage" /> + <div class="description"><fmt:message key="install.approver.saveWikiPage.description" /></div> + </div> + <div> + <s:label for="properties.jspwiki.jspwiki_approver_workflow_createUserProfile" /> + <s:text name="properties.jspwiki.jspwiki_approver_workflow_createUserProfile" size="40" /> + <s:errors field="properties.jspwiki.jspwiki_approver_workflow_createUserProfile" /> + <div class="description"><fmt:message key="install.approver.createUserProfile.description" /></div> + </div> + <div> <s:label for="properties.jspwiki.jspwiki_userdatabase" /> <s:select id="userdatabase" name="properties.jspwiki.jspwiki_userdatabase"> <s:option value="org.apache.wiki.auth.user.XMLUserDatabase">XML (default)</s:option> Modified: incubator/jspwiki/trunk/src/WebContent/templates/default/WorkflowContent.jsp URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/templates/default/WorkflowContent.jsp?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/WebContent/templates/default/WorkflowContent.jsp (original) +++ incubator/jspwiki/trunk/src/WebContent/templates/default/WorkflowContent.jsp Sat Dec 12 04:03:11 2009 @@ -25,37 +25,25 @@ <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> <%@ page import="javax.servlet.jsp.jstl.fmt.*" %> <%@ taglib uri="http://stripes.sourceforge.net/stripes.tld" prefix="s" %> -<script language="JavaScript"> - function SubmitOutcomeIfSelected(selectId) - { - if ( selectId.selectedIndex > 0 ) - { - // alert(selectId.selectedIndex); - selectId.form.submit(); - } - } -</script> <% int i = 0; String evenOdd; %> -<wiki:TabbedSection defaultTab='${param.tab} %>'> - -<wiki:Tab id="pagecontent" titleKey="workflow.tab"> <h3><fmt:message key="workflow.heading" /></h3> <p><fmt:message key="workflow.instructions" /></p> +<s:errors/> <!-- Pending Decisions --> <h4><fmt:message key="workflow.decisions.heading" /></h4> -<c:if test="${empty decisions}"> +<c:if test="${empty wikiActionBean.decisions}"> <div class="information"> <fmt:message key="workflow.noinstructions" /> </div> </c:if> -<c:if test="${!empty decisions}"> +<c:if test="${!empty wikiActionBean.decisions}"> <div class="formhelp"> <fmt:message key="workflow.actor.instructions" /> </div> @@ -71,7 +59,7 @@ </thead> <tbody> <% i = 1; %> - <c:forEach var="decision" items="${decisions}"> + <c:forEach var="decision" items="${wikiActionBean.decisions}"> <% evenOdd = (i % 2 == 0) ? "even" : "odd"; %> <tr class="<%=evenOdd%>"> <!-- Workflow ID --> @@ -86,22 +74,20 @@ </td> <!-- Possible actions (outcomes) --> <td align="left"> - <form id="<c:out value='decision.${decision.id}' />" action="<wiki:Link jsp='Workflow.jsp' format='url' />" method="POST" accept-charset="UTF-8"> - <input type="hidden" name="action" value="decide" /> - <input type="hidden" name="id" value="<c:out value='${decision.id}' />" /> - <select name="outcome" onchange="SubmitOutcomeIfSelected(this)"> - <option value="-"><fmt:message key="select.one" /></option> - <c:forEach var="outcome" items="${decision.availableOutcomes}"><option value="${outcome.messageKey}"><fmt:message key="${outcome.messageKey}" /></option> - </c:forEach> - </select> - </form> + <s:form id="decision.${decision.id}" beanclass="org.apache.wiki.action.WorkflowActionBean" method="POST" acceptcharset="UTF-8"> + <input type="hidden" name="id" value="${decision.id}" /> + <s:select name="outcome" value="${decision.defaultOutcome.messageKey}"> + <s:options-collection collection="${decision.availableOutcomes}" value="messageKey" label="messageKey" /> + </s:select> + <s:submit name="decide" /> + </s:form> </td> <!-- Requester --> <td align="left"><c:out value="${decision.owner.name}" /></td> <!-- When did the actor start this step? --> <td align="left"> <fmt:formatDate value="${decision.startTime}" pattern="${prefs.TimeFormat}" timeZone="${prefs.TimeZone}" /> - </td> + </td> </tr> <!-- Hidden row with Decision details, if there are any --> <c:if test="${!empty decision.facts}"> @@ -132,13 +118,13 @@ <!-- Running workflows for which current user is the owner --> <h4><fmt:message key="workflow.workflows.heading" /></h4> -<c:if test="${empty workflows}"> +<c:if test="${empty wikiActionBean.workflows}"> <div class="information"> <fmt:message key="workflow.noinstructions" /> </div> </c:if> -<c:if test="${!empty workflows}"> +<c:if test="${!empty wikiActionBean.workflows}"> <div class="formhelp"> <fmt:message key="workflow.owner.instructions" /> </div> @@ -154,7 +140,7 @@ </thead> <% i = 1; %> <tbody> - <c:forEach var="workflow" items="${workflows}"> + <c:forEach var="workflow" items="${wikiActionBean.workflows}"> <% evenOdd = (i % 2 == 0) ? "even" : "odd"; %> <tr class="<%=evenOdd%>"> <!-- Workflow ID --> @@ -169,11 +155,10 @@ </td> <!-- Actions --> <td align="left"> - <form id="<c:out value='workflow.${workflow.id}' />" action="<wiki:Link jsp='Workflow.jsp' format='url' />" method="POST" accept-charset="UTF-8"> - <input type="submit" name="submit" value="<fmt:message key="outcome.step.abort" />" /> - <input type="hidden" name="action" value="abort" /> - <input type="hidden" name="id" value="<c:out value="${workflow.id}" />" /> - </form> + <s:form id="workflow.${workflow.id}" beanclass="org.apache.wiki.action.WorkflowActionBean" method="POST" acceptcharset="UTF-8"> + <input type="hidden" name="id" value="${workflow.id}" /> + <s:submit name="abort"/> + </s:form> </td> <!-- Current actor --> <td align="left"><c:out value="${workflow.currentActor.name}" /></td> @@ -187,6 +172,3 @@ </tbody> </table> </c:if> - -</wiki:Tab> -</wiki:TabbedSection> \ No newline at end of file Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java Sat Dec 12 04:03:11 2009 @@ -77,7 +77,7 @@ * <p> * If the build identifier is empty, it is not added. */ - public static final String BUILD = "190"; + public static final String BUILD = "191"; /** * This is the generic version string you should use Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/action/WorkflowActionBean.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/action/WorkflowActionBean.java?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/action/WorkflowActionBean.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/action/WorkflowActionBean.java Sat Dec 12 04:03:11 2009 @@ -21,28 +21,159 @@ package org.apache.wiki.action; -import org.apache.wiki.auth.permissions.PagePermission; -import org.apache.wiki.ui.stripes.HandlerPermission; -import org.apache.wiki.ui.stripes.WikiRequestContext; +import java.util.Collection; +import java.util.List; import net.sourceforge.stripes.action.*; +import net.sourceforge.stripes.validation.Validate; + +import org.apache.wiki.WikiEngine; +import org.apache.wiki.WikiSession; +import org.apache.wiki.api.WikiException; +import org.apache.wiki.ui.stripes.WikiRequestContext; +import org.apache.wiki.workflow.Decision; +import org.apache.wiki.workflow.DecisionQueue; +import org.apache.wiki.workflow.Outcome; +import org.apache.wiki.workflow.Workflow; -@UrlBinding( "/Workflow.jsp" ) public class WorkflowActionBean extends AbstractActionBean { + private Outcome m_outcome = null; + + private int m_id; + + /** + * Aborts a particular workflow. + * + * @return always returns a {@link RedirectResolution} to the + * {@link #view()} handler, so that other decisions can be made if + * desired. + */ + @HandlesEvent( "abort" ) + public Resolution abort() + { + WikiEngine engine = getContext().getEngine(); + WikiSession wikiSession = getContext().getWikiSession(); + Collection<Workflow> workflows = engine.getWorkflowManager().getOwnerWorkflows( wikiSession ); + for( Workflow workflow : workflows ) + { + if( workflow.getId() == m_id ) + { + workflow.abort(); + break; + } + } + return new RedirectResolution( WorkflowActionBean.class, "view" ); + } + + /** + * Takes a decision for a particular workflow. + * + * @return always returns a {@link RedirectResolution} to the + * {@link #view()} handler, so that other decisions can be made if + * desired. + */ + @HandlesEvent( "decide" ) + public Resolution decide() throws WikiException + { + WikiEngine engine = getContext().getEngine(); + WikiSession wikiSession = getContext().getWikiSession(); + DecisionQueue dq = engine.getWorkflowManager().getDecisionQueue(); + + // Find our actor's decision + Collection<Decision> decisions = dq.getActorDecisions( wikiSession ); + for( Decision decision : decisions ) + { + if( decision.getId() == m_id ) + { + // Cool, we found it. Now make the decision. + dq.decide( decision, m_outcome ); + break; + } + } + return new RedirectResolution( WorkflowActionBean.class, "view" ); + } + + /** + * Returns the collection of Decisions for the current user. This is a + * read-only property. + * + * @return the collection fo decisions + */ + public List<Decision> getDecisions() + { + WikiEngine engine = getContext().getEngine(); + WikiSession wikiSession = getContext().getWikiSession(); + DecisionQueue dq = engine.getWorkflowManager().getDecisionQueue(); + return dq.getActorDecisions( wikiSession ); + } + + /** + * Returns the workflow or decision ID that is being acted on. + * + * @return + */ + public int getId() + { + return m_id; + } + + /** + * Return the Outcome of the decision taken in the {@link #decide()} action. + * + * @return the outcome + */ + public Outcome getOutcome() + { + return m_outcome; + } + + /** + * Returns the collection of Workflows for the current user. This is a + * read-only property. + * + * @return the collection of workflows + */ + public List<Workflow> getWorkflows() + { + WikiEngine engine = getContext().getEngine(); + WikiSession wikiSession = getContext().getWikiSession(); + return engine.getWorkflowManager().getOwnerWorkflows( wikiSession ); + } + + /** + * Sets the workflow or decision ID that is being acted on. + * + * @param id the ID number of the workflow to work on. + */ + @Validate( required = true, on = { "abort", "decide" } ) + public void setId( int id ) + { + m_id = id; + } + + /** + * Sets the Outcome for the decision taken in the {@link #decide()} action. + * + * @param outcome the outcome to set + */ + @Validate( required = true, on = "decide" ) + public void setOutcome( Outcome outcome ) + { + m_outcome = outcome; + } + /** - * Default handler that simply forwards the user back to the view page. - * Every ActionBean needs a default handler to function properly, so we use - * this (very simple) one. + * Event that the user to the preview display JSP. * - * @return a forward resolution back to the view page + * @return always returns a forward resolution to the workflow page {@code + * /Workflow.jsp}. */ @DefaultHandler @HandlesEvent( "view" ) - @HandlerPermission( permissionClass = PagePermission.class, target = "${page.name}", actions = PagePermission.VIEW_ACTION ) @WikiRequestContext( "workflow" ) public Resolution view() { - return new ForwardResolution( ViewActionBean.class ); + return new ForwardResolution( "/Workflow.jsp" ); } } Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/auth/authorize/Role.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/auth/authorize/Role.java?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/auth/authorize/Role.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/auth/authorize/Role.java Sat Dec 12 04:03:11 2009 @@ -74,15 +74,14 @@ /** * Returns <code>true</code> if a supplied Role is a built-in Role: * {@link #ALL}, {@link #ANONYMOUS}, {@link #ASSERTED}, - * or {@link #AUTHENTICATED}. + * {@link #AUTHENTICATED}, or {@link #SUPERUSER}. * @param role the role to check * @return the result of the check */ public static final boolean isBuiltInRole(Role role) { return role.equals( ALL ) || role.equals( ANONYMOUS ) || - role.equals( ASSERTED ) || role.equals( AUTHENTICATED ); - + role.equals( ASSERTED ) || role.equals( AUTHENTICATED ) || role.equals( SUPERUSER ); } /** Added: incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/OutcomeTypeConverter.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/OutcomeTypeConverter.java?rev=889884&view=auto ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/OutcomeTypeConverter.java (added) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/OutcomeTypeConverter.java Sat Dec 12 04:03:11 2009 @@ -0,0 +1,92 @@ +/* + JSPWiki - a JSP-based WikiWiki clone. + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + */ +package org.apache.wiki.ui.stripes; + +import java.util.Collection; +import java.util.Locale; + +import net.sourceforge.stripes.validation.LocalizableError; +import net.sourceforge.stripes.validation.TypeConverter; +import net.sourceforge.stripes.validation.ValidationError; + +import org.apache.wiki.workflow.NoSuchOutcomeException; +import org.apache.wiki.workflow.Outcome; + +/** + * Stripes type converter that converts an Outcome, expressed as a String, + * into an {@link Outcome} object. This converter + * is looked up and returned by the Stripes + * {@link net.sourceforge.stripes.validation.TypeConverterFactory} for HTTP + * request parameters that need to be bound to ActionBean properties of type + * Outcome. Stripes executes this TypeConverter during the + * {@link net.sourceforge.stripes.controller.LifecycleStage#BindingAndValidation} + * stage of request processing. + * + */ +public class OutcomeTypeConverter implements TypeConverter<Outcome> +{ + + /** + * Converts a named Outcome, passed as a String, into a valid + * {@link Outcome} object. The Outcome is looked up by passing + * {@code outcomeKey} to {@link Outcome#forName(String)}. + * If the Outcome cannot be found (perhaps because it does not exist), this + * method will add a validation error to the supplied Collection of errors. + * The error will be of type + * {@link net.sourceforge.stripes.validation.LocalizableError} and will have + * a message key of <code>outcome.doesnotexist</code> with parameter + * <code>{0}</code> (equal to the value passed for <code>outcomeKey</code>). + * If a Outcome cannot be parsed or looked up, this method returns + * <code>null</code>. This method will not ever return errors. + * + * @param outcomeKey the key representing the Outcome to look up + * @param targetType the type to return, which will always be of type + * {@link Outcome} + * @param errors the current Collection of validation errors for this field + * @return the Outcome + */ + public Outcome convert( String outcomeKey, Class<? extends Outcome> targetType, Collection<ValidationError> errors ) + { + if ( outcomeKey == null ) + { + return null; + } + + Outcome outcome = null; + try + { + outcome = Outcome.forName( outcomeKey ); + } + catch( NoSuchOutcomeException e ) + { + // Illegal Outcome + errors.add( new LocalizableError( "outcome.doesnotexist" ) ); + } + return outcome; + } + + /** + * No-op method that does nothing, because setting the Locale has no effect on the conversion. + */ + public void setLocale( Locale locale ) + { + }; +} Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/workflow/DecisionQueue.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/workflow/DecisionQueue.java?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/workflow/DecisionQueue.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/workflow/DecisionQueue.java Sat Dec 12 04:03:11 2009 @@ -23,8 +23,8 @@ import java.io.Serializable; import java.security.Principal; import java.util.ArrayList; -import java.util.Collection; import java.util.LinkedList; +import java.util.List; import org.apache.wiki.WikiSession; import org.apache.wiki.api.WikiException; @@ -98,7 +98,7 @@ * the wiki session * @return the collection of Decisions, which may be empty */ - public Collection<Decision> getActorDecisions(WikiSession session) + public List<Decision> getActorDecisions(WikiSession session) { ArrayList<Decision> decisions = new ArrayList<Decision>(); if ( session.isAuthenticated() ) Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/workflow/Outcome.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/workflow/Outcome.java?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/workflow/Outcome.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/workflow/Outcome.java Sat Dec 12 04:03:11 2009 @@ -34,28 +34,28 @@ private static final long serialVersionUID = -338361947886288073L; /** Complete workflow step (without errors) */ - public static final Outcome STEP_COMPLETE = new Outcome( "outcome.step.complete", true ); + public static final Outcome STEP_COMPLETE = new Outcome( "step.complete", true ); /** Terminate workflow step (without errors) */ - public static final Outcome STEP_ABORT = new Outcome( "outcome.step.abort", true ); + public static final Outcome STEP_ABORT = new Outcome( "step.abort", true ); /** Continue workflow step (without errors) */ - public static final Outcome STEP_CONTINUE = new Outcome( "outcome.step.continue", false ); + public static final Outcome STEP_CONTINUE = new Outcome( "step.continue", false ); /** Acknowlege the Decision. */ - public static final Outcome DECISION_ACKNOWLEDGE = new Outcome( "outcome.decision.acknowledge", true ); + public static final Outcome DECISION_ACKNOWLEDGE = new Outcome( "decision.acknowledge", true ); /** Approve the Decision (and complete the step). */ - public static final Outcome DECISION_APPROVE = new Outcome( "outcome.decision.approve", true ); + public static final Outcome DECISION_APPROVE = new Outcome( "decision.approve", true ); /** Deny the Decision (and complete the step). */ - public static final Outcome DECISION_DENY = new Outcome( "outcome.decision.deny", true ); + public static final Outcome DECISION_DENY = new Outcome( "decision.deny", true ); /** Put the Decision on hold (and pause the step). */ - public static final Outcome DECISION_HOLD = new Outcome( "outcome.decision.hold", false ); + public static final Outcome DECISION_HOLD = new Outcome( "decision.hold", false ); /** Reassign the Decision to another actor (and pause the step). */ - public static final Outcome DECISION_REASSIGN = new Outcome( "outcome.decision.reassign", false ); + public static final Outcome DECISION_REASSIGN = new Outcome( "decision.reassign", false ); private static final Outcome[] OUTCOMES = new Outcome[] { STEP_COMPLETE, STEP_ABORT, STEP_CONTINUE, DECISION_ACKNOWLEDGE, DECISION_APPROVE, DECISION_DENY, DECISION_HOLD, DECISION_REASSIGN }; Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/workflow/WorkflowManager.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/workflow/WorkflowManager.java?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/workflow/WorkflowManager.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/workflow/WorkflowManager.java Sat Dec 12 04:03:11 2009 @@ -243,7 +243,7 @@ * @param session the wiki session * @return the collection workflows the wiki session owns, which may be empty */ - public Collection<Workflow> getOwnerWorkflows( WikiSession session ) + public List<Workflow> getOwnerWorkflows( WikiSession session ) { List<Workflow> workflows = new ArrayList<Workflow>(); if ( session.isAuthenticated() ) Modified: incubator/jspwiki/trunk/tests/java/org/apache/wiki/action/AllTests.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/java/org/apache/wiki/action/AllTests.java?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/tests/java/org/apache/wiki/action/AllTests.java (original) +++ incubator/jspwiki/trunk/tests/java/org/apache/wiki/action/AllTests.java Sat Dec 12 04:03:11 2009 @@ -46,6 +46,7 @@ suite.addTest( UserProfileActionBeanTest.suite() ); suite.addTest( ViewActionBeanTest.suite() ); suite.addTest( WikiContextFactoryTest.suite() ); + suite.addTest( WorkflowActionBeanTest.suite() ); return suite; } Added: incubator/jspwiki/trunk/tests/java/org/apache/wiki/action/WorkflowActionBeanTest.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/java/org/apache/wiki/action/WorkflowActionBeanTest.java?rev=889884&view=auto ============================================================================== --- incubator/jspwiki/trunk/tests/java/org/apache/wiki/action/WorkflowActionBeanTest.java (added) +++ incubator/jspwiki/trunk/tests/java/org/apache/wiki/action/WorkflowActionBeanTest.java Sat Dec 12 04:03:11 2009 @@ -0,0 +1,325 @@ +/* + JSPWiki - a JSP-based WikiWiki clone. + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + */ +package org.apache.wiki.action; + +import java.security.Principal; +import java.util.List; +import java.util.Properties; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; +import net.sourceforge.stripes.mock.MockRoundtrip; +import net.sourceforge.stripes.validation.ValidationError; +import net.sourceforge.stripes.validation.ValidationErrors; + +import org.apache.wiki.TestEngine; +import org.apache.wiki.WikiSession; +import org.apache.wiki.auth.Users; +import org.apache.wiki.auth.WikiPrincipal; +import org.apache.wiki.workflow.*; + +public class WorkflowActionBeanTest extends TestCase +{ + TestEngine m_engine; + + Decision m_decision; + + Workflow m_workflow; + + public void setUp() throws Exception + { + super.setUp(); + + // Start the WikiEngine, and stash reference + Properties props = new Properties(); + try + { + props.load( TestEngine.findTestProperties() ); + m_engine = new TestEngine( props ); + } + catch( Exception e ) + { + throw new RuntimeException( "Could not set up TestEngine: " + e.getMessage() ); + } + + WikiSession session = m_engine.janneSession(); + m_workflow = new Workflow( "workflow.key", new WikiPrincipal( "Administrator", WikiPrincipal.FULL_NAME ) ); + m_workflow.setWorkflowManager( m_engine.getWorkflowManager() ); + m_decision = new SimpleDecision( m_workflow, "decision.key", session.getUserPrincipal() ); + m_workflow.setFirstStep( m_decision ); + m_engine.getWorkflowManager().start( m_workflow ); + } + + /** + * Verifies that a workflow owner who has created a workflow can see it when + * the "view" event executes. + * + * @throws Exception + */ + public void testOwnerView() throws Exception + { + // Start with the Admin user, who owns a workflow + MockRoundtrip trip = m_engine.authenticatedTrip( Users.ADMIN, Users.ADMIN_PASS, WorkflowActionBean.class ); + + // View the workflows + trip.execute( "view" ); + + // Verify we are directed to the view page + WorkflowActionBean bean = trip.getActionBean( WorkflowActionBean.class ); + ValidationErrors errors = bean.getContext().getValidationErrors(); + assertEquals( 0, errors.size() ); + assertEquals( "/Workflow.jsp", trip.getDestination() ); + + // Verify that Admin owns 1 Workflow + List<Workflow> workflows = bean.getWorkflows(); + assertNotNull( workflows ); + assertEquals( 1, workflows.size() ); + assertEquals( m_workflow, workflows.get( 0 ) ); + Principal userPrincipal = bean.getContext().getWikiSession().getUserPrincipal(); + assertEquals( userPrincipal, m_workflow.getOwner() ); + assertNotSame( userPrincipal, m_workflow.getCurrentActor() ); + + // Verify that Admin has no Decisions in his queue + List<Decision> decisions = bean.getDecisions(); + assertNotNull( decisions ); + assertEquals( 0, decisions.size() ); + } + + public void testAbortNoParams() throws Exception + { + // Start with the Admin user, who owns a workflow + MockRoundtrip trip = m_engine.authenticatedTrip( Users.ADMIN, Users.ADMIN_PASS, WorkflowActionBean.class ); + + // Attempt to abort the workflow + assertTrue( m_workflow.isStarted() ); + assertFalse( m_workflow.isAborted() ); + assertFalse( m_workflow.isCompleted() ); + trip.execute( "abort" ); + + WorkflowActionBean bean = trip.getActionBean( WorkflowActionBean.class ); + ValidationErrors validationErrors = bean.getContext().getValidationErrors(); + assertEquals( 1, validationErrors.size() ); + assertTrue( validationErrors.hasFieldErrors() ); + List<ValidationError> errors = validationErrors.get( "id" ); + assertEquals( 1, errors.size() ); + } + + /** + * Ensures that a user cannot abort someone elses's workflow + * + * @throws Exception + */ + public void testAbortWrongUser() throws Exception + { + // Start with Janne, who is NOT a workflow owner + MockRoundtrip trip = m_engine.authenticatedTrip( Users.JANNE, Users.JANNE_PASS, WorkflowActionBean.class ); + + // Attempt to abort the workflow + assertTrue( m_workflow.isStarted() ); + assertFalse( m_workflow.isAborted() ); + assertFalse( m_workflow.isCompleted() ); + trip.addParameter( "id", String.valueOf( m_workflow.getId() ) ); + trip.execute( "abort" ); + + // The event should execute without error, but nothing should actually + // happen... + WorkflowActionBean bean = trip.getActionBean( WorkflowActionBean.class ); + assertEquals( 0, bean.getContext().getValidationErrors().size() ); + assertEquals( "/Workflow.action?view=", trip.getDestination() ); + + // Verify that the workflow is still running and was NOT aborted + WorkflowManager mgr = m_engine.getWorkflowManager(); + List<Workflow> workflows = mgr.getCompletedWorkflows(); + assertEquals( 0, workflows.size() ); + assertNotNull( null, m_workflow.getCurrentStep() ); + assertFalse( m_workflow.isAborted() ); + assertFalse( m_workflow.isCompleted() ); + } + + public void testDecideNoParams() throws Exception + { + // Start with Janne, who has a pending decision + MockRoundtrip trip = m_engine.authenticatedTrip( Users.JANNE, Users.JANNE_PASS, WorkflowActionBean.class ); + + // Try to complete the workflow + assertTrue( m_workflow.isStarted() ); + assertFalse( m_workflow.isAborted() ); + assertFalse( m_workflow.isCompleted() ); + trip.execute( "decide" ); + + WorkflowActionBean bean = trip.getActionBean( WorkflowActionBean.class ); + ValidationErrors validationErrors = bean.getContext().getValidationErrors(); + assertEquals( 2, validationErrors.size() ); + assertTrue( validationErrors.hasFieldErrors() ); + List<ValidationError> errors = validationErrors.get( "id" ); + assertEquals( 1, errors.size() ); + errors = validationErrors.get( "outcome" ); + assertEquals( 1, errors.size() ); + } + + /** + * Ensures that a user cannot make a decision on a workflow when they aren't + * the current Actor. + * + * @throws Exception + */ + public void testDecideWrongUser() throws Exception + { + // Start with Admin, who does NOT have a pending decision + MockRoundtrip trip = m_engine.authenticatedTrip( Users.ADMIN, Users.ADMIN_PASS, WorkflowActionBean.class ); + + // Try to complete the workflow + assertTrue( m_workflow.isStarted() ); + assertFalse( m_workflow.isAborted() ); + assertFalse( m_workflow.isCompleted() ); + trip.addParameter( "id", String.valueOf( m_decision.getId() ) ); + trip.addParameter( "outcome", Outcome.DECISION_APPROVE.getMessageKey() ); + trip.execute( "decide" ); + + // The event should execute without error, but nothing should actually + // happen... + WorkflowActionBean bean = trip.getActionBean( WorkflowActionBean.class ); + assertEquals( 0, bean.getContext().getValidationErrors().size() ); + assertEquals( "/Workflow.action?view=", trip.getDestination() ); + + // Verify that the workflow is still running and was NOT completed + WorkflowManager mgr = m_engine.getWorkflowManager(); + List<Workflow> workflows = mgr.getCompletedWorkflows(); + assertEquals( 0, workflows.size() ); + assertNotNull( null, m_workflow.getCurrentStep() ); + assertFalse( m_workflow.isAborted() ); + assertFalse( m_workflow.isCompleted() ); + } + + public void testAbort() throws Exception + { + // Start with the Admin user, who owns a workflow + MockRoundtrip trip = m_engine.authenticatedTrip( Users.ADMIN, Users.ADMIN_PASS, WorkflowActionBean.class ); + + // Attempt to abort the workflow + assertTrue( m_workflow.isStarted() ); + assertFalse( m_workflow.isAborted() ); + assertFalse( m_workflow.isCompleted() ); + trip.addParameter( "id", String.valueOf( m_workflow.getId() ) ); + trip.execute( "abort" ); + + // Verify we are directed to the view page + WorkflowActionBean bean = trip.getActionBean( WorkflowActionBean.class ); + ValidationErrors errors = bean.getContext().getValidationErrors(); + assertEquals( 0, errors.size() ); + assertEquals( "/Workflow.action?view=", trip.getDestination() ); + + // Verify that Admin has no more current workflows + List<Workflow> workflows = bean.getWorkflows(); + assertNotNull( workflows ); + assertEquals( 0, workflows.size() ); + + // Verify that the workflow was successfully aborted + WorkflowManager mgr = m_engine.getWorkflowManager(); + workflows = mgr.getCompletedWorkflows(); + assertEquals( 1, workflows.size() ); + assertEquals( null, m_workflow.getCurrentStep() ); + assertEquals( m_workflow, workflows.get( 0 ) ); + assertTrue( m_workflow.isAborted() ); + assertFalse( m_workflow.isCompleted() ); + } + + public void testDecide() throws Exception + { + // Start with Janne, who has a pending decision + MockRoundtrip trip = m_engine.authenticatedTrip( Users.JANNE, Users.JANNE_PASS, WorkflowActionBean.class ); + + // Try to complete the workflow + assertTrue( m_workflow.isStarted() ); + assertFalse( m_workflow.isAborted() ); + assertFalse( m_workflow.isCompleted() ); + trip.addParameter( "id", String.valueOf( m_decision.getId() ) ); + trip.addParameter( "outcome", Outcome.DECISION_APPROVE.getMessageKey() ); + trip.execute( "decide" ); + + // Verify we are directed to the view page + WorkflowActionBean bean = trip.getActionBean( WorkflowActionBean.class ); + ValidationErrors errors = bean.getContext().getValidationErrors(); + assertEquals( 0, errors.size() ); + assertEquals( "/Workflow.action?view=", trip.getDestination() ); + + // Verify that Janne has no more current decisions + List<Decision> decisions = bean.getDecisions(); + assertNotNull( decisions ); + assertEquals( 0, decisions.size() ); + + // Verify that the workflow was successfully approved + WorkflowManager mgr = m_engine.getWorkflowManager(); + List<Workflow> workflows = mgr.getCompletedWorkflows(); + assertEquals( 1, workflows.size() ); + assertEquals( null, m_workflow.getCurrentStep() ); + assertEquals( m_workflow, workflows.get( 0 ) ); + assertFalse( m_workflow.isAborted() ); + assertTrue( m_workflow.isCompleted() ); + } + + /** + * Verifies that a user who has pending decisions in his queue can see them + * when the "view" event executes. + * + * @throws Exception + */ + public void testActorView() throws Exception + { + // Start with Janne, who has a pending decision + MockRoundtrip trip = m_engine.authenticatedTrip( Users.JANNE, Users.JANNE_PASS, WorkflowActionBean.class ); + + // View the workflows + trip.execute( "view" ); + + // Verify we are directed to the view page + WorkflowActionBean bean = trip.getActionBean( WorkflowActionBean.class ); + ValidationErrors errors = bean.getContext().getValidationErrors(); + assertEquals( 0, errors.size() ); + assertEquals( "/Workflow.jsp", trip.getDestination() ); + + // Verify that Janne does not own any Workflows + List<Workflow> workflows = bean.getWorkflows(); + assertNotNull( workflows ); + assertEquals( 0, workflows.size() ); + + // Verify that Janne has one Decision in his queue + List<Decision> decisions = bean.getDecisions(); + assertNotNull( decisions ); + assertEquals( 1, decisions.size() ); + assertEquals( m_decision, decisions.get( 0 ) ); + Principal userPrincipal = bean.getContext().getWikiSession().getUserPrincipal(); + assertEquals( userPrincipal, m_decision.getActor() ); + assertNotSame( userPrincipal, m_decision.getOwner() ); + assertNotSame( userPrincipal, m_decision.getWorkflow().getOwner() ); + } + + public void tearDown() + { + m_engine.shutdown(); + } + + public static Test suite() + { + return new TestSuite( WorkflowActionBeanTest.class ); + } +} Modified: incubator/jspwiki/trunk/tests/java/org/apache/wiki/workflow/OutcomeTest.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/java/org/apache/wiki/workflow/OutcomeTest.java?rev=889884&r1=889883&r2=889884&view=diff ============================================================================== --- incubator/jspwiki/trunk/tests/java/org/apache/wiki/workflow/OutcomeTest.java (original) +++ incubator/jspwiki/trunk/tests/java/org/apache/wiki/workflow/OutcomeTest.java Sat Dec 12 04:03:11 2009 @@ -37,18 +37,18 @@ public void testGetKey() { - assertEquals("outcome.decision.approve", Outcome.DECISION_APPROVE.getMessageKey()); - assertEquals("outcome.decision.hold", Outcome.DECISION_HOLD.getMessageKey()); - assertEquals("outcome.decision.deny", Outcome.DECISION_DENY.getMessageKey()); - assertEquals("outcome.decision.reassign", Outcome.DECISION_REASSIGN.getMessageKey()); + assertEquals("decision.approve", Outcome.DECISION_APPROVE.getMessageKey()); + assertEquals("decision.hold", Outcome.DECISION_HOLD.getMessageKey()); + assertEquals("decision.deny", Outcome.DECISION_DENY.getMessageKey()); + assertEquals("decision.reassign", Outcome.DECISION_REASSIGN.getMessageKey()); } public void testHashCode() { - assertEquals("outcome.decision.approve".hashCode(), Outcome.DECISION_APPROVE.hashCode()); - assertEquals("outcome.decision.hold".hashCode()*2, Outcome.DECISION_HOLD.hashCode()); - assertEquals("outcome.decision.deny".hashCode(), Outcome.DECISION_DENY.hashCode()); - assertEquals("outcome.decision.reassign".hashCode()*2, Outcome.DECISION_REASSIGN.hashCode()); + assertEquals("decision.approve".hashCode(), Outcome.DECISION_APPROVE.hashCode()); + assertEquals("decision.hold".hashCode()*2, Outcome.DECISION_HOLD.hashCode()); + assertEquals("decision.deny".hashCode(), Outcome.DECISION_DENY.hashCode()); + assertEquals("decision.reassign".hashCode()*2, Outcome.DECISION_REASSIGN.hashCode()); } public void testEquals() @@ -63,21 +63,26 @@ props.load(TestEngine.findTestProperties()); WikiEngine engine = new TestEngine(props); InternationalizationManager i18n = engine.getInternationalizationManager(); - String core = "templates.default"; + String core = "CoreResources"; Locale english = Locale.ENGLISH; Outcome o; + String key; o = Outcome.DECISION_APPROVE; - assertEquals("Approve", i18n.get(core, english, o.getMessageKey())); + key = "Outcome." + o.getMessageKey(); + assertEquals("Approve", i18n.get( core, english, key ) ); o = Outcome.DECISION_DENY; - assertEquals("Deny", i18n.get(core, english, o.getMessageKey())); + key = "Outcome." + o.getMessageKey(); + assertEquals("Deny", i18n.get( core, english, key ) ); o = Outcome.DECISION_HOLD; - assertEquals("Hold", i18n.get(core, english, o.getMessageKey())); + key = "Outcome." + o.getMessageKey(); + assertEquals("Hold", i18n.get( core, english, key ) ); o = Outcome.DECISION_REASSIGN; - assertEquals("Reassign", i18n.get(core, english, o.getMessageKey())); + key = "Outcome." + o.getMessageKey(); + assertEquals("Reassign", i18n.get( core, english, key ) ); engine.shutdown(); } @@ -98,14 +103,14 @@ { try { - assertEquals(Outcome.DECISION_ACKNOWLEDGE, Outcome.forName("outcome.decision.acknowledge")); - assertEquals(Outcome.DECISION_APPROVE, Outcome.forName("outcome.decision.approve")); - assertEquals(Outcome.DECISION_DENY, Outcome.forName("outcome.decision.deny")); - assertEquals(Outcome.DECISION_HOLD, Outcome.forName("outcome.decision.hold")); - assertEquals(Outcome.DECISION_REASSIGN, Outcome.forName("outcome.decision.reassign")); - assertEquals(Outcome.STEP_ABORT, Outcome.forName("outcome.step.abort")); - assertEquals(Outcome.STEP_COMPLETE, Outcome.forName("outcome.step.complete")); - assertEquals(Outcome.STEP_CONTINUE, Outcome.forName("outcome.step.continue")); + assertEquals(Outcome.DECISION_ACKNOWLEDGE, Outcome.forName("decision.acknowledge")); + assertEquals(Outcome.DECISION_APPROVE, Outcome.forName("decision.approve")); + assertEquals(Outcome.DECISION_DENY, Outcome.forName("decision.deny")); + assertEquals(Outcome.DECISION_HOLD, Outcome.forName("decision.hold")); + assertEquals(Outcome.DECISION_REASSIGN, Outcome.forName("decision.reassign")); + assertEquals(Outcome.STEP_ABORT, Outcome.forName("step.abort")); + assertEquals(Outcome.STEP_COMPLETE, Outcome.forName("step.complete")); + assertEquals(Outcome.STEP_CONTINUE, Outcome.forName("step.continue")); } catch (NoSuchOutcomeException e) { @@ -116,7 +121,7 @@ // Look for a non-existent one try { - Outcome.forName("outcome.decision.nonexistent"); + Outcome.forName("decision.nonexistent"); } catch (NoSuchOutcomeException e) { From [email protected] Tue Dec 15 18:09:16 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42839 invoked from network); 15 Dec 2009 18:09:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Dec 2009 18:09:16 -0000 Received: (qmail 10106 invoked by uid 500); 15 Dec 2009 18:09:16 -0000 Delivered-To: [email protected] Received: (qmail 10089 invoked by uid 500); 15 Dec 2009 18:09:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jspwiki-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 10080 invoked by uid 99); 15 Dec 2009 18:09:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Dec 2009 18:09:15 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Dec 2009 18:09:13 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 95F7823889E5; Tue, 15 Dec 2009 18:08:53 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r890924 - in /incubator/jspwiki/trunk/src: WebContent/templates/default/AttachmentInfoTab.jsp WebContent/templates/default/PreviewContent.jsp java/org/apache/wiki/content/jcr/JCRWikiPage.java Date: Tue, 15 Dec 2009 18:08:53 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: metskem Date: Tue Dec 15 18:08:53 2009 New Revision: 890924 URL: http://svn.apache.org/viewvc?rev=890924&view=rev Log: * make JCRWikiPage.DATEFORMAT_ISO8601_2000 public again * PreviewContent.jsp now uses wikiText instead of text parameter (we still need an Append parameter somewhere ?) * minor compile warning in AttachmentInfoTab.jsp Modified: incubator/jspwiki/trunk/src/WebContent/templates/default/AttachmentInfoTab.jsp incubator/jspwiki/trunk/src/WebContent/templates/default/PreviewContent.jsp incubator/jspwiki/trunk/src/java/org/apache/wiki/content/jcr/JCRWikiPage.java Modified: incubator/jspwiki/trunk/src/WebContent/templates/default/AttachmentInfoTab.jsp URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/templates/default/AttachmentInfoTab.jsp?rev=890924&r1=890923&r2=890924&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/WebContent/templates/default/AttachmentInfoTab.jsp (original) +++ incubator/jspwiki/trunk/src/WebContent/templates/default/AttachmentInfoTab.jsp Tue Dec 15 18:08:53 2009 @@ -62,7 +62,7 @@ int pagesize = 20; int startitem = itemcount-1; /* itemcount==1-20 -> startitem=0-19 ... */ - String parm_start = (String)request.getParameter( "start" ); + String parm_start = request.getParameter( "start" ); if( parm_start != null ) startitem = Integer.parseInt( parm_start ) ; /* round to start of block: 0-19 becomes 0; 20-39 becomes 20 ... */ Modified: incubator/jspwiki/trunk/src/WebContent/templates/default/PreviewContent.jsp URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/templates/default/PreviewContent.jsp?rev=890924&r1=890923&r2=890924&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/WebContent/templates/default/PreviewContent.jsp (original) +++ incubator/jspwiki/trunk/src/WebContent/templates/default/PreviewContent.jsp Tue Dec 15 18:08:53 2009 @@ -46,7 +46,7 @@ <s:hidden name="page" /> <s:hidden name="remember" /> <s:hidden name="startTime" /> - <s:hidden name="text" /> + <s:hidden name="wikiText" /> <%-- Spam detection fields --%> <wiki:SpamProtect /> </p> Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/content/jcr/JCRWikiPage.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/content/jcr/JCRWikiPage.java?rev=890924&r1=890923&r2=890924&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/content/jcr/JCRWikiPage.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/content/jcr/JCRWikiPage.java Tue Dec 15 18:08:53 2009 @@ -77,7 +77,7 @@ /** The ISO8601:2000 dateformat */ - private static final String DATEFORMAT_ISO8601_2000 = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"; + public static final String DATEFORMAT_ISO8601_2000 = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"; private WikiPath m_path; From [email protected] Tue Dec 15 19:16:06 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85162 invoked from network); 15 Dec 2009 19:16:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Dec 2009 19:16:06 -0000 Received: (qmail 91178 invoked by uid 500); 15 Dec 2009 19:16:06 -0000 Delivered-To: [email protected] Received: (qmail 91157 invoked by uid 500); 15 Dec 2009 19:16:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jspwiki-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 91148 invoked by uid 99); 15 Dec 2009 19:16:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Dec 2009 19:16:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Dec 2009 19:16:02 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 9B04D23888DD; Tue, 15 Dec 2009 19:15:42 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r890948 - in /incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH: ChangeLog build.xml etc/geronimo-web.xml etc/jspwiki.properties.tmpl src/com/ecyrd/jspwiki/Release.java src/com/ecyrd/jspwiki/attachment/AttachmentServlet.java Date: Tue, 15 Dec 2009 19:15:42 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: metskem Date: Tue Dec 15 19:15:41 2009 New Revision: 890948 URL: http://svn.apache.org/viewvc?rev=890948&view=rev Log: 2.8.4-svn-5 * JSPWIKI-619: Include geronimo-web.xml in JSPWiki.war (reported by Jurgen Weber) * JSPWIKI-618: Allow Administrators to override attachment.maxsize (reported by Jurgen Weber) Added: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/etc/geronimo-web.xml Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ChangeLog incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/build.xml incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/etc/jspwiki.properties.tmpl incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/Release.java incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/attachment/AttachmentServlet.java Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ChangeLog URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ChangeLog?rev=890948&r1=890947&r2=890948&view=diff ============================================================================== --- incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ChangeLog (original) +++ incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ChangeLog Tue Dec 15 19:15:41 2009 @@ -1,3 +1,10 @@ +2009-12-15 Harry Metske <[email protected]> + + * 2.8.4-svn-5 + + * JSPWIKI-619: Include geronimo-web.xml in JSPWiki.war (reported by Jurgen Weber) + * JSPWIKI-618: Allow Administrators to override attachment.maxsize (reported by Jurgen Weber) + 2009-12-06 Harry Metske <[email protected]> * 2.8.4-svn-4 Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/build.xml URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/build.xml?rev=890948&r1=890947&r2=890948&view=diff ============================================================================== --- incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/build.xml (original) +++ incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/build.xml Tue Dec 15 19:15:41 2009 @@ -402,7 +402,8 @@ <include name="jspwiki.properties" /> <include name="*.tld" /> <include name="userdatabase.xml" /> - <include name="groupdatabase.xml" /> + <include name="groupdatabase.xml" /> + <include name="geronimo-web.xml" /> </webinf> <classes dir="etc" includes="oscache.properties" /> </war> Added: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/etc/geronimo-web.xml URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/etc/geronimo-web.xml?rev=890948&view=auto ============================================================================== --- incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/etc/geronimo-web.xml (added) +++ incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/etc/geronimo-web.xml Tue Dec 15 19:15:41 2009 @@ -0,0 +1,35 @@ + +<!-- + JSPWiki - a JSP-based WikiWiki clone. + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +--> +<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1" + xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2"> + <sys:environment> + <sys:moduleId> + <sys:groupId>default</sys:groupId> + <sys:artifactId>JSPWiki</sys:artifactId> + <sys:type>war</sys:type> + </sys:moduleId> + <sys:hidden-classes> + <sys:filter>org.jaxen</sys:filter> + <sys:filter>org.jdom</sys:filter> + </sys:hidden-classes> + </sys:environment> +</web-app> \ No newline at end of file Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/etc/jspwiki.properties.tmpl URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/etc/jspwiki.properties.tmpl?rev=890948&r1=890947&r2=890948&view=diff ============================================================================== --- incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/etc/jspwiki.properties.tmpl (original) +++ incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/etc/jspwiki.properties.tmpl Tue Dec 15 19:15:41 2009 @@ -142,6 +142,7 @@ # You can limit the maximum size of an attachment by setting this # value. The value is in bytes, and by default all attachments # are accepted. +# This limit is not enforced for users with AdminPermissions. # # The following line would limit the attachment size to 100,000 bytes #jspwiki.attachment.maxsize=100000 @@ -151,6 +152,7 @@ # can allow some types only, or forbid some other types. By default, # all file types are allowed (if you do not specify the "allow" list # at all or it is empty). +# These allow/forbid statements are not enforced for users with AdminPermissions. # # These both are space-separated lists of file suffixes # Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/Release.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/Release.java?rev=890948&r1=890947&r2=890948&view=diff ============================================================================== --- incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/Release.java (original) +++ incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/Release.java Tue Dec 15 19:15:41 2009 @@ -77,7 +77,7 @@ * <p> * If the build identifier is empty, it is not added. */ - public static final String BUILD = "4"; + public static final String BUILD = "5"; /** * This is the generic version string you should use Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/attachment/AttachmentServlet.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/attachment/AttachmentServlet.java?rev=890948&r1=890947&r2=890948&view=diff ============================================================================== --- incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/attachment/AttachmentServlet.java (original) +++ incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/attachment/AttachmentServlet.java Tue Dec 15 19:15:41 2009 @@ -594,7 +594,10 @@ ServletFileUpload upload = new ServletFileUpload(factory); upload.setHeaderEncoding("UTF-8"); - upload.setFileSizeMax( m_maxSize ); + if( !context.hasAdminPermissions() ) + { + upload.setFileSizeMax( m_maxSize ); + } upload.setProgressListener( pl ); List<FileItem> items = upload.parseRequest( req ); From [email protected] Tue Dec 15 19:26:28 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87873 invoked from network); 15 Dec 2009 19:26:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Dec 2009 19:26:28 -0000 Received: (qmail 6772 invoked by uid 500); 15 Dec 2009 19:26:28 -0000 Delivered-To: [email protected] Received: (qmail 6753 invoked by uid 500); 15 Dec 2009 19:26:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jspwiki-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6744 invoked by uid 99); 15 Dec 2009 19:26:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Dec 2009 19:26:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Dec 2009 19:26:25 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B959623888DD; Tue, 15 Dec 2009 19:26:04 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r890953 - in /incubator/jspwiki/trunk: ChangeLog etc/jspwiki.properties src/java/org/apache/wiki/Release.java src/java/org/apache/wiki/attachment/AttachmentServlet.java Date: Tue, 15 Dec 2009 19:26:04 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: metskem Date: Tue Dec 15 19:26:03 2009 New Revision: 890953 URL: http://svn.apache.org/viewvc?rev=890953&view=rev Log: 3.0.0-svn-192 * JSPWIKI-618: Allow Administrators to override attachment.maxsize (reported by Jurgen Weber) Modified: incubator/jspwiki/trunk/ChangeLog incubator/jspwiki/trunk/etc/jspwiki.properties incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java incubator/jspwiki/trunk/src/java/org/apache/wiki/attachment/AttachmentServlet.java Modified: incubator/jspwiki/trunk/ChangeLog URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/ChangeLog?rev=890953&r1=890952&r2=890953&view=diff ============================================================================== --- incubator/jspwiki/trunk/ChangeLog (original) +++ incubator/jspwiki/trunk/ChangeLog Tue Dec 15 19:26:03 2009 @@ -1,3 +1,9 @@ +2009-12-15 Harry Metske <[email protected]> + + * 3.0.0-svn-192 + + * JSPWIKI-618: Allow Administrators to override attachment.maxsize (reported by Jurgen Weber) + 2009-12-11 Andrew Jaquith <[email protected]> * 3.0.0-svn-191. Modified: incubator/jspwiki/trunk/etc/jspwiki.properties URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/etc/jspwiki.properties?rev=890953&r1=890952&r2=890953&view=diff ============================================================================== --- incubator/jspwiki/trunk/etc/jspwiki.properties (original) +++ incubator/jspwiki/trunk/etc/jspwiki.properties Tue Dec 15 19:26:03 2009 @@ -93,6 +93,7 @@ # You can limit the maximum size of an attachment by setting this # value. The value is in bytes, and by default all attachments # are accepted. +# This limit is not enforced for users with AdminPermissions. # # The following line would limit the attachment size to 100,000 bytes #jspwiki.attachment.maxsize=100000 @@ -102,6 +103,7 @@ # can allow some types only, or forbid some other types. By default, # all file types are allowed (if you do not specify the "allow" list # at all or it is empty). +# These allow/forbid statements are not enforced for users with AdminPermissions. # # These both are space-separated lists of file suffixes # Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java?rev=890953&r1=890952&r2=890953&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java Tue Dec 15 19:26:03 2009 @@ -77,7 +77,7 @@ * <p> * If the build identifier is empty, it is not added. */ - public static final String BUILD = "191"; + public static final String BUILD = "192"; /** * This is the generic version string you should use Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/attachment/AttachmentServlet.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/attachment/AttachmentServlet.java?rev=890953&r1=890952&r2=890953&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/attachment/AttachmentServlet.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/attachment/AttachmentServlet.java Tue Dec 15 19:26:03 2009 @@ -543,7 +543,10 @@ ServletFileUpload upload = new ServletFileUpload(factory); upload.setHeaderEncoding("UTF-8"); - upload.setFileSizeMax( m_maxSize ); + if( !context.hasAdminPermissions() ) + { + upload.setFileSizeMax( m_maxSize ); + } upload.setProgressListener( pl ); List<FileItem> items = upload.parseRequest( req ); From [email protected] Mon Dec 21 05:22:04 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47939 invoked from network); 21 Dec 2009 05:22:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Dec 2009 05:22:04 -0000 Received: (qmail 8381 invoked by uid 500); 21 Dec 2009 05:22:04 -0000 Delivered-To: [email protected] Received: (qmail 8364 invoked by uid 500); 21 Dec 2009 05:22:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jspwiki-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 8355 invoked by uid 99); 21 Dec 2009 05:22:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Dec 2009 05:22:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Dec 2009 05:21:49 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id BF88623888FD; Mon, 21 Dec 2009 05:21:26 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r892689 - in /incubator/jspwiki/trunk: ./ etc/ src/WebContent/ src/WebContent/templates/default/ src/java/org/apache/wiki/ src/java/org/apache/wiki/action/ src/java/org/apache/wiki/content/ src/java/org/apache/wiki/content/inspect/ src/java... Date: Mon, 21 Dec 2009 05:21:26 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: ajaquith Date: Mon Dec 21 05:21:24 2009 New Revision: 892689 URL: http://svn.apache.org/viewvc?rev=892689&view=rev Log: CAPTCHA has been re-written. It has been integrated into the new content-inspection system and is pluggable. ActionBean event handler methods that need CAPTCHA can simply add (1) a @SpamProtect annotation to the method declaration and (2) a <wiki:SpamProtect/> tag inside the corresponding JSP <s:form> or <form> elements. Unlike the old Captcha.jsp (which is eliminated), the new system adds CAPTCHA elements right onto the form that is being protected (via the SpamProtect tag). The new Captcha interface specifies the contract that implementations must fulfill. One CAPTCHA implementation is provided, AsirraCaptcha. ReCaptcha is likely, and will come later. More polish (i18n, CSS, JSP formatting, Install configuration) is is needed, but the current checkin works now, and will get us started. I intend to add dynamic CAPTCHA at a later point (e.g., less trustworthy users always get a CAPTCHA to start, etc). Added: incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/AsirraCaptcha.java incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/Captcha.java incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/CaptchaInspector.java incubator/jspwiki/trunk/tests/java/org/apache/wiki/content/inspect/AsirraCaptchaTest.java Removed: incubator/jspwiki/trunk/src/WebContent/Captcha.jsp Modified: incubator/jspwiki/trunk/ChangeLog incubator/jspwiki/trunk/etc/jspwiki.properties incubator/jspwiki/trunk/src/WebContent/templates/default/jspwiki.css incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java incubator/jspwiki/trunk/src/java/org/apache/wiki/action/EditActionBean.java incubator/jspwiki/trunk/src/java/org/apache/wiki/action/RSSActionBean.java incubator/jspwiki/trunk/src/java/org/apache/wiki/action/WorkflowActionBean.java incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ContentManager.java incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/Inspection.java incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/InspectionPlan.java incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/SpamInspectionFactory.java incubator/jspwiki/trunk/src/java/org/apache/wiki/event/WikiPageEvent.java incubator/jspwiki/trunk/src/java/org/apache/wiki/event/WikiPageRenameEvent.java incubator/jspwiki/trunk/src/java/org/apache/wiki/tags/SpamProtectTag.java incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/HandlerInfo.java incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/SpamInterceptor.java incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/SpamProtect.java incubator/jspwiki/trunk/tests/java/org/apache/wiki/ui/stripes/HandlerInfoTest.java Modified: incubator/jspwiki/trunk/ChangeLog URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/ChangeLog?rev=892689&r1=892688&r2=892689&view=diff ============================================================================== --- incubator/jspwiki/trunk/ChangeLog (original) +++ incubator/jspwiki/trunk/ChangeLog Mon Dec 21 05:21:24 2009 @@ -1,3 +1,24 @@ +2009-12-21 Andrew Jaquith <[email protected]> + + * 3.0.0-svn-193. + + * CAPTCHA has been re-written. It has been integrated into + the new content-inspection system and is pluggable. ActionBean + event handler methods that need CAPTCHA can simply add + (1) a @SpamProtect annotation to the method declaration + anf (2) a <wiki:SpamProtect/> tag inside the corresponding + JSP <s:form> or <form> elements. Unlike the old Captcha.jsp + (which is eliminated), the new system adds CAPTCHA elements + right onto the form that is being protected (via the + SpamProtect tag). The new Captcha interface specifies the + contract that implementations must fulfill. One CAPTCHA + implementation is provided, AsirraCaptcha. ReCaptcha is + likely, and will come later. More polish (i18n, CSS, JSP + formatting, Install configuration) is is needed, but the + current checkin works now, and will get us started. I intend + to add dynamic CAPTCHA at a later point (e.g., less + trustworthy users always get a CAPTCHA to start, etc). + 2009-12-15 Harry Metske <[email protected]> * 3.0.0-svn-192 Modified: incubator/jspwiki/trunk/etc/jspwiki.properties URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/etc/jspwiki.properties?rev=892689&r1=892688&r2=892689&view=diff ============================================================================== --- incubator/jspwiki/trunk/etc/jspwiki.properties (original) +++ incubator/jspwiki/trunk/etc/jspwiki.properties Mon Dec 21 05:21:24 2009 @@ -786,6 +786,14 @@ ########################################################################### # +# Spam control +# +# The CAPTCHA to use (default: Asirra) +jspwiki.captcha.implementation = org.apache.wiki.content.inspect.AsirraCaptcha + + +########################################################################### +# # all log4j configuration statements have been moved to a separate file, log4j.properties # ########################################################################### Modified: incubator/jspwiki/trunk/src/WebContent/templates/default/jspwiki.css URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/templates/default/jspwiki.css?rev=892689&r1=892688&r2=892689&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/WebContent/templates/default/jspwiki.css (original) +++ incubator/jspwiki/trunk/src/WebContent/templates/default/jspwiki.css Mon Dec 21 05:21:24 2009 @@ -2735,6 +2735,15 @@ left:-1px; } +/* +Style: CAPTCHA tables and images +*/ +table.asirraCaptcha * img { + width: 125px; +} +table.asirraCaptcha * td { + background:#f9f9f9;border:1px solid #ddd;padding:1em; +} /* Section: Print-media Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java?rev=892689&r1=892688&r2=892689&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java Mon Dec 21 05:21:24 2009 @@ -77,7 +77,7 @@ * <p> * If the build identifier is empty, it is not added. */ - public static final String BUILD = "192"; + public static final String BUILD = "193"; /** * This is the generic version string you should use Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/action/EditActionBean.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/action/EditActionBean.java?rev=892689&r1=892688&r2=892689&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/action/EditActionBean.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/action/EditActionBean.java Mon Dec 21 05:21:24 2009 @@ -380,7 +380,7 @@ * currently possesses a {@link PageLock} for the page, a new * {@link LocalizableError} with the key name {@code edit.locked} is added * to the validation list. In addition, if the user is editing an outdated - * version of the page, a LocalizableError with key {@link edit.restoring} + * version of the page, a LocalizableError with key {@code edit.restoring} * is added for that condition too. */ @ValidationMethod( on = "edit,comment", when = ValidationState.ALWAYS ) Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/action/RSSActionBean.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/action/RSSActionBean.java?rev=892689&r1=892688&r2=892689&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/action/RSSActionBean.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/action/RSSActionBean.java Mon Dec 21 05:21:24 2009 @@ -200,8 +200,9 @@ * user as has access to, following the SisterSites standard. This event * method respects ACLs on pages. * - * @see http://usemod.com/cgi-bin/mb.pl?SisterSitesImplementationGuide - * @return + * @see <a href="http://usemod.com/cgi-bin/mb.pl?SisterSitesImplementationGuide">Sister + * Sites Implementation Guide</a> + * @return the streaming resolution */ @HandlesEvent( "sisterSites" ) public Resolution sisterSites() Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/action/WorkflowActionBean.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/action/WorkflowActionBean.java?rev=892689&r1=892688&r2=892689&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/action/WorkflowActionBean.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/action/WorkflowActionBean.java Mon Dec 21 05:21:24 2009 @@ -111,7 +111,7 @@ /** * Returns the workflow or decision ID that is being acted on. * - * @return + * @return the ID */ public int getId() { Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ContentManager.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ContentManager.java?rev=892689&r1=892688&r2=892689&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ContentManager.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ContentManager.java Mon Dec 21 05:21:24 2009 @@ -1984,7 +1984,6 @@ * be in the JSPWiki export format (which is essentially a dump of the System View * of the repository for a particular WikiSpace). * - * @param wikiSpace The space to load in. Must be specified. Must not exist in advance. * @param xmlfile The file to load the data from. * @throws LoginException * @throws RepositoryException Added: incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/AsirraCaptcha.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/AsirraCaptcha.java?rev=892689&view=auto ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/AsirraCaptcha.java (added) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/AsirraCaptcha.java Mon Dec 21 05:21:24 2009 @@ -0,0 +1,350 @@ +package org.apache.wiki.content.inspect; + +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import java.util.Random; +import java.util.regex.Matcher; +import java.util.regex.Pattern; + +import javax.servlet.http.HttpServletRequest; + +import net.sourceforge.stripes.util.CryptoUtil; + +import org.apache.commons.httpclient.HttpClient; +import org.apache.commons.httpclient.HttpMethod; +import org.apache.commons.httpclient.HttpStatus; +import org.apache.commons.httpclient.methods.GetMethod; +import org.apache.wiki.WikiContext; +import org.apache.wiki.log.Logger; +import org.apache.wiki.log.LoggerFactory; + +/** + * <p> + * {@link Captcha} implementation for Microsoft's Asirra anti-bot testing + * framework, version 3. Although Microsoft provides a handy client-side + * JavaScript file that automates most of the test, it isn't very easy to + * integrate without hard-coding it into JSPWiki forms. So, JSPWiki provides an + * alternative implementation that cleanly integrates into the + * content-inspection system in JSPWiki 3, and with the Stripes MVC layer. + * </p> + * <p> + * But first, here's how Asirra works: + * </p> + * <ol> + * <li>The first GET to Asirra establishes the Asirra session. The GET is a + * simple URL with a nonce appended: <blockquote> + * <code>http://challenge.asirra.com/cgi/Asirra?action=CreateSession&rand=0.8529005243601243</code> + * </blockquote></li> + * <li>The response to the GET is a JavaScript array with two items. The first + * item, {@code asirraState.NewSessionComplete}, contains the Asirra version + * number (usually 3) and the unique Asirra session ID. The second item, {@code + * asirraState.GetChallengeComplete}, contains an array of twelve image URLs, + * some of which are cats: <blockquote> + * + * <pre> + * asirraState.NewSessionComplete(3, &quot;2009354/ec2.9/419f480333bfa68f77d2bcf699fb90b0&quot;); + * asirraState.GetChallengeComplete( + * [ImgRec(&quot;3eb7628c26776e975f29a35db47a5c8f&quot;,&quot;//s3.amazonaws.com/Asirra/PhotoDB/3eb7628c26776e975f29a35db47a5c8f.jpg&quot;,250,250), + * ImgRec(&quot;6f00c2a819ac8d474c528ae4381ae075&quot;,&quot;//s3.amazonaws.com/Asirra/PhotoDB/6f00c2a819ac8d474c528ae4381ae075.jpg&quot;,250,250), + * ImgRec(&quot;729d2eb54e0a2a48ff3010cfad3222c0&quot;,&quot;//s3.amazonaws.com/Asirra/PhotoDB/729d2eb54e0a2a48ff3010cfad3222c0.jpg&quot;,250,250), + * ImgRec(&quot;5af63b80c870e6c29083b3c35e684722&quot;,&quot;//s3.amazonaws.com/Asirra/PhotoDB/5af63b80c870e6c29083b3c35e684722.jpg&quot;,250,250), + * ImgRec(&quot;ec95a8f0f67dee8ce37b8ee19931bf47&quot;,&quot;//s3.amazonaws.com/Asirra/PhotoDB/ec95a8f0f67dee8ce37b8ee19931bf47.jpg&quot;,250,250), + * ImgRec(&quot;e2a52e27a19d72ab950fd47dde6fb1d3&quot;,&quot;//s3.amazonaws.com/Asirra/PhotoDB/e2a52e27a19d72ab950fd47dde6fb1d3.jpg&quot;,250,250), + * ImgRec(&quot;9d6b79ae5f9be53631d9f9c8792d3ba7&quot;,&quot;//s3.amazonaws.com/Asirra/PhotoDB/9d6b79ae5f9be53631d9f9c8792d3ba7.jpg&quot;,250,250), + * ImgRec(&quot;7f17ad775b6b45e705dc9cffd2ef1010&quot;,&quot;//s3.amazonaws.com/Asirra/PhotoDB/7f17ad775b6b45e705dc9cffd2ef1010.jpg&quot;,250,250), + * ImgRec(&quot;ada0b1529793bf644ded00cd68659989&quot;,&quot;//s3.amazonaws.com/Asirra/PhotoDB/ada0b1529793bf644ded00cd68659989.jpg&quot;,250,250), + * ImgRec(&quot;ca2da821c7aab041451dbe162cd2c60d&quot;,&quot;//s3.amazonaws.com/Asirra/PhotoDB/ca2da821c7aab041451dbe162cd2c60d.jpg&quot;,250,250), + * ImgRec(&quot;2fcc9d2357bd6baac1bfe9452af3ab81&quot;,&quot;//s3.amazonaws.com/Asirra/PhotoDB/2fcc9d2357bd6baac1bfe9452af3ab81.jpg&quot;,250,250), + * ImgRec(&quot;2a538185753c7b9f797d852c95b33af7&quot;,&quot;//s3.amazonaws.com/Asirra/PhotoDB/2a538185753c7b9f797d852c95b33af7.jpg&quot;,250,250)] + * ); + * </pre> + * + * </blockquote></li> + * <li>After the user identifies which images are cats, the results are POSTed + * back to the Asirra server. The {@code response} parameter contains a + * 12-character string, where each character is {@code 0} or {@code 1}, with the + * latter indicating a cat. The {@code sessionId} parameter contains the session + * ID obtained from step 1. A random nonce is included also, similar to step 1. + * <blockquote> + * <code>http://challenge.asirra.com/cgi/Asirra?action=ScoreResponse&sessionId=2009354/ec2.9/419f480333bfa68f77d2bcf699fb90b0&response=001001100111&rand=0.2750088656556734</code> + * </blockquote></li> + * <li>The Asirra server response with the results of the test. A correct + * response looks like this: <blockquote> + * + * <code>asirraState.ScoreResponseComplete("3;2009354/ec2.9/419f480333bfa68f77d2bcf699fb90b0;02b4e5deb14a7177d36686cf5c8d2067"); +&#47;* correct *&#47;</code></blockquote></li> + * </ol> + * <p> + * This implementation splits processing of the Asirra test into two parts. + * Method {@link #formContent(WikiContext)}, establishes the Asirra session + * (step 1 above), parses the response (step 2), extracts the session ID and + * image URLs, and writes all of this information to the page. Method + * {@link #check(Inspection)} extracts the user's answers, assembles them into a + * response string, sends the response back to Asirra (step 3) and evaluates the + * response (step 4). + * </p> + * <p> + * This AsirraCaptcha class does all requests and responses using an + * {@link HttpClient}, so there is no need for the user to load the client-side + * Asirra JavaScript. + * </p> + */ +public class AsirraCaptcha implements Captcha +{ + /** + * Convenience class that encapsulates the image of a pet, + * some of which are cats. + */ + protected static class Challenge + { + private final String m_id; + + private final String m_url; + + /** + * Creates a new challenge image. + * @param id the unique ID of the animal + * @param url the URL of the animal's picture + */ + public Challenge( String id, String url ) + { + m_id = id; + m_url = url; + } + + /** + * Returns the unique ID of the animal + * @return the unique ID + */ + public String id() + { + return m_id; + } + + /** + * Returns the URL of the animal's picture + * @return the URL + */ + public String url() + { + return m_url; + } + } + + /** + * Pattern for extracting session ID from challenge response e.g., + * + * <code>asirraState.NewSessionComplete(3, "2009352/ec2.8/33f46dd1299db9de910869db5a493ed2");</code> + */ + protected static final Pattern SESSION_ID_PATTERN = Pattern.compile( "NewSessionComplete.+?\"(.+?)\"", Pattern.MULTILINE ); + + /** + * Pattern for extracting cats from challenge response e.g., + * + * <code>ImgRec("401906c8e5fb9117ee4e4666758a03af","//s3.amazonaws.com/Asirra/PhotoDB/401906c8e5fb9117ee4e4666758a03af.jpg",250,250)</code> + * . + */ + protected static final Pattern CATS_PATTERN = Pattern.compile( "ImgRec\\(\"(.+?)\",\"(.+?)\",", Pattern.MULTILINE ); + + private static final String CAT_PARAM_PREFIX = "asirra_cat_"; + + /** + * Random session nonce generator. Does not need to be SecureRandom. + */ + private static final Random RANDOM = new Random(); + + private static final String SESSION_ID_PARAM = "asirra_session_id"; + + /** + * The URL used to obtain challenge responses, not including the random + * number suffix. + */ + protected static final String CHALLENGE_URL = "http://challenge.asirra.com/cgi/Asirra?action=CreateSession"; + + protected static final String CHECK_URL = "http://challenge.asirra.com/cgi/Asirra?action=ScoreResponse"; + + private static Logger log = LoggerFactory.getLogger( AsirraCaptcha.class ); + + /** + * + * @param context + * @return + * @throws IOException + */ + private static String makeFormContent( WikiContext context ) throws IOException + { + String challengeResponse = getChallengeResponse(); + String sessionId = extractSessionId( challengeResponse ); + List<Challenge> challenges = extractChallenges( challengeResponse ); + + StringBuilder b = new StringBuilder(); + b + .append( "<input name=\"" + SESSION_ID_PARAM + "\" type=\"hidden\" value=\"" + CryptoUtil.encrypt( sessionId ) + + "\" />\n" ); + b.append( "<table class=\"asirraCaptcha\">" ); + int i = 0; + for( Challenge challenge : challenges ) + { + boolean firstInRow = i % 4 == 0; + boolean lastInRow = (i + 1) % 4 == 0; + if( firstInRow ) + { + b.append( "<tr>" ); + } + b.append( "<td>" ); + b.append( "<img src=\"http:" + challenge.url() + "\" />" ); + b.append( "<br/>" ); + b.append( "<input type=\"checkbox\" name=\"" + CAT_PARAM_PREFIX + i + "\" value=\"1\">" ); + b.append( "Adopt me" ); + b.append( "</input>" ); + b.append( "</td>" ); + if( lastInRow ) + { + b.append( "</tr>" ); + } + i++; + } + b.append( "</table>" ); + return b.toString(); + } + + /** + * Generates a parameter with a random nonce used with Asirra challenge/check requests. + * @return {@code &rand=} plus the nonce + */ + private static String random() + { + String nonce = String.valueOf( Math.abs( RANDOM.nextInt() ) ); + return "&rand=" + nonce; + } + + /** + * Extracts the Asirra challenge objects from the challenge response. + * + * @param challengeResponse the challenge response + * @return a list of {@link Challenge} objects + */ + protected static List<Challenge> extractChallenges( String challengeResponse ) + { + List<Challenge> challenges = new ArrayList<Challenge>(); + Matcher matcher = CATS_PATTERN.matcher( challengeResponse ); + while ( matcher.find() ) + { + challenges.add( new Challenge( matcher.group( 1 ), matcher.group( 2 ) ) ); + } + return challenges; + } + + /** + * Extracts the Asirra session ID from the challenge response. + * + * @param challengeResponse the challenge response + * @return the challenge ID, e.g., {@code + * 2009352/ec2.8/33f46dd1299db9de910869db5a493ed2} + */ + protected static String extractSessionId( String challengeResponse ) + { + Matcher m = SESSION_ID_PATTERN.matcher( challengeResponse ); + if( m.find() ) + { + return m.group( 1 ); + } + return null; + } + + /** + * Calls out to Asirra and returns a new challenge response, which + * will be shown to the user via {@link #formContent(WikiContext)}. + * @return the response from Asirra as a String + * @throws IOException if Asirra cannot be contacted, or if the response + * is malformed + */ + protected static String getChallengeResponse() throws IOException + { + String challengeUrl = CHALLENGE_URL + random(); + HttpClient client = new HttpClient(); + HttpMethod method = new GetMethod( challengeUrl ); + int status = client.executeMethod( method ); + if( status == HttpStatus.SC_OK ) + { + return method.getResponseBodyAsString(); + } + throw new IOException( "Response from Asirra was unexpected: " + status ); + } + + /** + * Extracts the responses supplied by the user, assembles a response string, + * and calls out to Asirra to validate the result. + * @return {@code true} if Asirra agrees that the user has adopted only + * cats, or {@code false} otherwise + */ + public boolean check( Inspection inspection ) + { + HttpServletRequest request = inspection.getContext().getHttpRequest(); + + // Get sessionId + String encryptedSessionId = request.getParameter( SESSION_ID_PARAM ); + String sessionId = null; + if( encryptedSessionId != null ) + { + sessionId = CryptoUtil.decrypt( encryptedSessionId ); + } + + // Assemble the response string e.g., 000111000111 + String response = ""; + for( int i = 0; i < 12; i++ ) + { + String cat = request.getParameter( CAT_PARAM_PREFIX + i ); + String singleResponse = (cat == null || !"1".equals( cat )) ? "0" : "1"; + response += singleResponse; + } + + String submission = CHECK_URL + "&sessionId=" + sessionId + "&response=" + response + random(); + HttpClient client = new HttpClient(); + HttpMethod method = new GetMethod( submission ); + + try + { + int status = client.executeMethod( method ); + String body = method.getResponseBodyAsString(); + + if( status == HttpStatus.SC_OK ) + { + if( body.indexOf( "correct" ) != -1 ) + { + return true; + } + } + } + catch( Exception e ) + { + // Something bad happened + log.error( "Could not execute Asirra CAPTHA: " + e.getMessage() ); + return false; + } + return false; + } + + /** + * Returns a &lt;script&gt; elements containing the JavaScript used to + * generate the Asirra form. A &lt;SpamProtect&gt; tag will emit this + * content if it specifies a value for the {@code content} attribute equal + * to "form" or a null value. + * + * @param context the current wiki context + */ + public String formContent( WikiContext context ) throws IOException + { + return makeFormContent( context ); + } + + /** + * Initializes the Asirra CAPTCHA. This method no-ops because + * Asirra does not need any configuration. + * @param config the inspection plan + */ + public void initialize( InspectionPlan config ) + { + } +} Added: incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/Captcha.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/Captcha.java?rev=892689&view=auto ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/Captcha.java (added) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/Captcha.java Mon Dec 21 05:21:24 2009 @@ -0,0 +1,71 @@ +package org.apache.wiki.content.inspect; + +import java.io.IOException; + +import org.apache.wiki.WikiContext; +import org.apache.wiki.tags.SpamProtectTag; +import org.apache.wiki.ui.stripes.SpamInterceptor; +import org.apache.wiki.ui.stripes.SpamProtect; + +/** + * <p> + * Describes how CAPTCHA classes should implement scripting and processing + * methods test particular CAPTCHA schemes. + * </p> + * <p> + * Captcha specifies three logical states, which are invoked by a combination of + * custom JSP tags and the {@link SpamInterceptor} interceptor. + * </p> + * <ol> + * <li><strong>formContent</strong>. When a JSP containing a &lt;SpamProtect&gt; + * tag is encountered, the {@link SpamProtectTag#doEndTag()} method calls + * {@link #formContent(WikiContext)} to generate any content needed to be + * included in the &lt;form&gt; element of the page. Note that the + * &lt;SpamProtect&gt tag is not actually guaranteed to be inside of the form + * element, but in practice, it should be.</li> + * <li><strong>check</strong>. This method provides any back-end CAPTCHA + * processing that the implementation might need when the form contents are + * posted, for example calling out to a remote service. It is invoked as part of + * the content-inspection chain called by {@link SpamInterceptor}, which itself + * is triggered whenever a Stripes event method with a {@link SpamProtect} + * annotation is called. Implementations only need to return a simple boolean + * value: {@code true} means the user passed the test; {@code false} means + * failure.</li> + * </ol> + */ +public interface Captcha +{ + /** + * Generates any content needed in the &lt;form&gt; element of an HTML page. + * For example, this method might return hidden &lt;input&gt; elements whose + * contents are submitted to a remote CAPTCHA service. The content is + * actually injected by the {@link SpamProtectTag} tag, when it is + * encountered on the JSP. + * + * @param context the current wiki context + * @return the form content + */ + public String formContent( WikiContext context ) throws IOException; + + /** + * Tests the CAPTCHA. + * + * @param inspection the current inspection. Callers can obtain the complete + * wiki and request context by calling + * {@link Inspection#getContext()}. + * @return {@code true} if the test succeeded; {@code false} otherwise + */ + public boolean check( Inspection inspection ) throws IOException; + + /** + * Policy that specifies when a CAPTCHA is needed. + */ + public static enum Policy + { + /** Always. */ + ALWAYS, + + /** Never. */ + NEVER + } +} Added: incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/CaptchaInspector.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/CaptchaInspector.java?rev=892689&view=auto ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/CaptchaInspector.java (added) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/CaptchaInspector.java Mon Dec 21 05:21:24 2009 @@ -0,0 +1,143 @@ +package org.apache.wiki.content.inspect; + +import java.io.IOException; +import java.util.Properties; + +import net.sourceforge.stripes.util.CryptoUtil; + +import org.apache.wiki.log.Logger; +import org.apache.wiki.log.LoggerFactory; +import org.apache.wiki.ui.stripes.SpamInterceptor; +import org.apache.wiki.ui.stripes.SpamProtect; + +/** + * <p> + * Generic {@link Inspector} interface that provides generalized CAPTCHA + * capabilities to the content-inspection system. The CaptchaInspector consults + * a {@link Captcha} class, which implements the necessary scripting and + * processing logic needed to test the CAPTCHA. + * </p> + * It is invoked as part of the content-inspection chain called by + * {@link SpamInterceptor}, which itself is triggered whenever a Stripes event + * method with a {@link SpamProtect} annotation is called. In the same manner as + * other {@link Inspector} implementations, the CaptchaInspector is expected to + * implement the {@link #inspect(Inspection, String, Change)} method to signal + * whether a CAPTCHA test passed or not. Failed tests should return (for + * example) {@link Finding.Result#FAILED}.</li> </ol> + */ +public class CaptchaInspector implements Inspector +{ + public static final String CAPTCHA_NEEDED_PARAM = "_cn"; + + protected static final String PROP_CAPTCHA_CLASS = "jspwiki.captcha.implementation"; + + private static final Logger log = LoggerFactory.getLogger( CaptchaInspector.class ); + + private Captcha m_captcha = null; + + /** + * Initializes the CAPTCHA inspector by creating a new instance of the + * {@link Captcha} implementation specified in the wiki property + * {@link #PROP_CAPTCHA_CLASS}. If no CAPTCHA class is specified or if the + * implementation cannot be located, tests will not be run. + */ + public void initialize( InspectionPlan config ) + { + // Get the CAPTCHA inspector, if one was specified + m_captcha = initCaptcha( config.getProperties() ); + } + + /** + * Tests the CAPTCHA by calling {@link Captcha#check(Inspection)}. If the + * test passes, the result will have no effect on the Inspection. If it + * fails, a new Finding of type {@link Finding.Result#FAILED} will be + * created. + */ + public Finding[] inspect( Inspection inspection, String content, Change change ) + { + if( m_captcha == null ) + { + return new Finding[] { new Finding( Topic.SPAM, Finding.Result.NO_EFFECT, "No CAPTCHA configured." ) }; + } + + // Was a CAPTCHA required? + boolean captchaRequired = true; + String encryptedCaptchaParam = inspection.getContext().getHttpParameter( CAPTCHA_NEEDED_PARAM ); + if( encryptedCaptchaParam != null ) + { + String captchaParam = CryptoUtil.decrypt( encryptedCaptchaParam ); + if( captchaParam != null ) + { + captchaRequired = !"false".equals( captchaParam ); + } + } + + // If required (default is YES), go check it + if( captchaRequired ) + { + try + { + if ( m_captcha.check( inspection ) ); + { + return new Finding[] { new Finding( Topic.SPAM, Finding.Result.NO_EFFECT, "CAPTCHA test succeeded." ) }; + } + } + catch( IOException e ) + { + return new Finding[] { new Finding( Topic.SPAM, Finding.Result.FAILED, "CAPTCHA error: " + e.getMessage() ) }; + } + } + return new Finding[] { new Finding( Topic.SPAM, Finding.Result.FAILED, "CAPTCHA test failed." ) }; + } + + /** + * Package-private method that returns the {@link Captcha} + * if one was successfully initialized. + * @return the Captcha, or {@code null} if one was not specified + * in the properties file (or not configured) + */ + Captcha getCaptcha() + { + return m_captcha; + } + + /** + * Returns an new instance of the configured CAPTCHA implementation class, + * if one was specified by the {@link #PROP_CAPTCHA_CLASS} property. + * + * @param props the properties to examine + * @return the CAPTCHA implementing class, or null if not specified or not + * found + */ + protected static Captcha initCaptcha( Properties props ) + { + String captchaClassName = props.getProperty( PROP_CAPTCHA_CLASS ); + Class<?> captchaClass = null; + if( captchaClassName != null ) + { + try + { + captchaClass = Class.forName( captchaClassName ); + } + catch( ClassNotFoundException e ) + { + // Not found! Better log this. + log.error( "No CAPTCHA implementation found for class " + captchaClassName, e ); + } + } + + Captcha captcha = null; + if( captchaClass != null ) + { + try + { + captcha = (Captcha) captchaClass.newInstance(); + } + catch( Exception e ) + { + log.error( "Could not create CAPTCHA instance for class " + captchaClassName, e ); + } + } + return captcha; + } +} Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/Inspection.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/Inspection.java?rev=892689&r1=892688&r2=892689&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/Inspection.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/Inspection.java Mon Dec 21 05:21:24 2009 @@ -138,7 +138,7 @@ * returned a Finding for {@code topic}, zero ({@code 0f} will be returned. * The score is calculated by adding the weighted sum of * {@link Finding.Result#PASSED} results returned by all Inspectors, and - * subtracting the sume of {@link Finding.Result#FAILED}. + * subtracting the sum of {@link Finding.Result#FAILED}. * * @param topic the Topic to look up * @return the score Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/InspectionPlan.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/InspectionPlan.java?rev=892689&r1=892688&r2=892689&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/InspectionPlan.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/InspectionPlan.java Mon Dec 21 05:21:24 2009 @@ -23,6 +23,8 @@ private final ReputationManager m_reputationManager; + private Captcha m_captcha = null; + public ReputationManager getReputationManager() { return m_reputationManager; @@ -59,6 +61,20 @@ { m_inspectors.put( inspector, Float.valueOf( weight ) ); inspector.initialize( this ); + if ( inspector instanceof CaptchaInspector ) + { + m_captcha = ((CaptchaInspector)inspector).getCaptcha(); + } + } + + /** + * Returns the {@link Captcha} object, if one was initialized by + * a {@link CaptchaInspector} passed to {@link #addInspector(Inspector, float)}. + * @return the Captcha, or {@code null} if not supplied or configured + */ + public Captcha getCaptcha() + { + return m_captcha; } public Inspector[] getInspectors() Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/SpamInspectionFactory.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/SpamInspectionFactory.java?rev=892689&r1=892688&r2=892689&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/SpamInspectionFactory.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/SpamInspectionFactory.java Mon Dec 21 05:21:24 2009 @@ -88,6 +88,7 @@ * <li>{@link BotTrapInspector}</li> * <li>{@link AkismetInspector}</li> * <li>{@link PatternInspector}</li> + * <li>{@link CaptchaInspector}</li> * </ul> * <p> * The weights for each Inspector will be determined by examining {@code @@ -117,6 +118,8 @@ plan.addInspector( new BotTrapInspector(), getWeight( props, BotTrapInspector.class ) ); plan.addInspector( new AkismetInspector(), getWeight( props, AkismetInspector.class ) ); plan.addInspector( new PatternInspector(), getWeight( props, PatternInspector.class ) ); + plan.addInspector( new CaptchaInspector(), getWeight( props, CaptchaInspector.class ) ); + c_plans.put( engine, plan ); // Get the default spam score limits Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/event/WikiPageEvent.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/event/WikiPageEvent.java?rev=892689&r1=892688&r2=892689&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/event/WikiPageEvent.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/event/WikiPageEvent.java Mon Dec 21 05:21:24 2009 @@ -196,7 +196,7 @@ * @param src the Object that is the source of the event. * @param type the type of the event (see the enumerated int values defined * in {@link org.apache.wiki.event.WikiEvent}). - * @param pagename the WikiPage being acted upon. + * @param page the WikiPage being acted upon. * @param args additional arguments passed to the event. */ public WikiPageEvent( Object src, int type, WikiPath page, Serializable... args ) Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/event/WikiPageRenameEvent.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/event/WikiPageRenameEvent.java?rev=892689&r1=892688&r2=892689&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/event/WikiPageRenameEvent.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/event/WikiPageRenameEvent.java Mon Dec 21 05:21:24 2009 @@ -27,8 +27,8 @@ * WikiPageRenameEvent extends WikiPageEvent to indicate a change in * the name of a WikiPage. * <p> - * This reuses {@link #getPageName()} to return the new name of the - * page, with {@link #getOldPageName()} returning the old name. + * This reuses {@link #getPath()} to return the new name of the + * page, with {@link #getOldPath()} returning the old name. * * @see org.apache.wiki.event.WikiPageEvent * @since 2.5.108 @@ -74,7 +74,7 @@ /** * Returns the new Wiki page name associated with this event. This - * returns the same value as the superclass' {@link #getPageName()}. + * returns the same value as the superclass' {@link #getPath()}. * This may be null if unavailable. * * @return the new Wiki page name associated with this WikiEvent, or null. Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/tags/SpamProtectTag.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/tags/SpamProtectTag.java?rev=892689&r1=892688&r2=892689&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/tags/SpamProtectTag.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/tags/SpamProtectTag.java Mon Dec 21 05:21:24 2009 @@ -21,7 +21,9 @@ package org.apache.wiki.tags; import java.io.IOException; +import java.lang.reflect.Method; import java.security.SecureRandom; +import java.util.Map; import java.util.Random; import javax.servlet.http.HttpServletRequest; @@ -29,10 +31,16 @@ import javax.servlet.jsp.JspWriter; import javax.servlet.jsp.tagext.TagSupport; +import net.sourceforge.stripes.controller.ActionResolver; +import net.sourceforge.stripes.controller.StripesFilter; +import net.sourceforge.stripes.tag.FormTag; import net.sourceforge.stripes.util.CryptoUtil; -import org.apache.wiki.content.inspect.BotTrapInspector; +import org.apache.wiki.WikiEngine; +import org.apache.wiki.action.WikiActionBean; +import org.apache.wiki.content.inspect.*; import org.apache.wiki.filters.SpamFilter; +import org.apache.wiki.ui.stripes.HandlerInfo; import org.apache.wiki.ui.stripes.SpamInterceptor; /** @@ -41,35 +49,41 @@ * current form, which will be parsed and verified by {@link SpamInterceptor} * whenever the input is processed by an ActionBean event handler method * annotated with the {@link org.apache.wiki.ui.stripes.SpamProtect} annotation. + * If a CAPTCHA test is required, the required content will be written to the + * page also, based on the results of + * {@link Captcha#formContent(org.apache.wiki.content.inspect.Inspection)}. * </p> * <p> * This tag must be added as a child of an existing &lt;form&gt; or - * &lt;stripes:form&gt; element. The SpamProtect tag will cause the - * following parameters into the form: + * &lt;stripes:form&gt; element. If The SpamProtect tag will cause the following + * parameters into the form: * </p> * <ol> * <li><b>An UTF-8 detector parameter called <code>encodingcheck</code>.</b> - * This parameter contains a single non-Latin1 character. SpamInterceptor verifies - * that the non-Latin1 character has not been mangled by a badly behaving robot or - * user client. Many bots assume a form is Latin1. This also prevents the "hey, - * my edit destroyed all UTF-8 characters" problem.</li> - * <li><b>A token field </b>, which has a random name and fixed value</b> - * This means that a bot will need to actually GET the form first and parse it - * out before it can send syntactically correct POSTs. This is a LOT more effort + * This parameter contains a single non-Latin1 character. SpamInterceptor + * verifies that the non-Latin1 character has not been mangled by a badly + * behaving robot or user client. Many bots assume a form is Latin1. This also + * prevents the "hey, my edit destroyed all UTF-8 characters" problem.</li> + * <li><b>A token field </b>, which has a random name and fixed value</b> This + * means that a bot will need to actually GET the form first and parse it out + * before it can send syntactically correct POSTs. This is a LOT more effort * than just simply looking at the fields once and crafting your auto-poster to - * conform. </li> - * <li><b>An empty, input field hidden with CSS</b>. This parameter is meant - * to catch bots which do a GET and then randomly fill all fields with garbage. - * This field <em>must</em>be empty when SpamFilter examines the contents of - * the POST. Since it's hidden with the use of CSS, the bot would need to - * understand CSS to bypass this check. Because the parameter is also - * randomized, it prevents bot authors from hard-coding the fact that it needs - * to be empty.</li> + * conform.</li> + * <li><b>An empty, input field hidden with CSS</b>. This parameter is meant to + * catch bots which do a GET and then randomly fill all fields with garbage. + * This field <em>must</em>be empty when SpamFilter examines the contents of the + * POST. Since it's hidden with the use of CSS, the bot would need to understand + * CSS to bypass this check. Because the parameter is also randomized, it + * prevents bot authors from hard-coding the fact that it needs to be empty.</li> * </li> * <li><b>An an encrypted parameter</b> called * {@link BotTrapInspector#REQ_SPAM_PARAM}, whose contents are the names of * parameters 2 and 3, separated by a carriage return character. These contents * are then encrypted.</li> + * <li><b>Any parameters needed by the configured {@link Captcha}</b>, if a + * CAPTCHA is needed. The current CAPTCHA inspector's method + * {@link Captcha#formContent(org.apache.wiki.WikiContext)} will be called to + * generate the relevant form parameters or any other markup needed.</li> * </ol> * <p> * The idea between 2 & 3 is that SpamInterceptor expects two fields with random @@ -81,6 +95,40 @@ */ public class SpamProtectTag extends WikiTagBase { + private static String getUniqueID() + { + StringBuilder sb = new StringBuilder(); + Random rand = new SecureRandom(); + + for( int i = 0; i < 6; i++ ) + { + char x = (char) ('A' + rand.nextInt( 26 )); + + sb.append( x ); + } + + return sb.toString(); + } + + /** + * Writes the CAPTCHA form content and spam parameters to the curret + * PageContext's JSPWriter. If a CAPTCHA is not needed, it will not + * be written. + */ + @Override + public int doEndTag() throws JspException + { + try + { + writeCaptchaFormContent(); + writeSpamParams(); + } + catch( IOException e ) + { + throw new JspException( e ); + } + return super.doEndTag(); + } @Override public int doWikiStartTag() throws Exception @@ -88,6 +136,40 @@ return TagSupport.SKIP_BODY; } + /** + * Writes CAPTCHA-related form content to the current PageContext's + * JSPWriter, if a CAPTCHA is needed. + * + * @throws IOException + */ + private void writeCaptchaFormContent() throws IOException + { + boolean needsCaptcha = false; + Captcha captcha = findCaptcha(); + String captchaContent = null; + if( captcha != null ) + { + captchaContent = captcha.formContent( m_wikiContext ); + if( captchaContent != null ) + { + needsCaptcha = true; + } + } + JspWriter out = getPageContext().getOut(); + out.write( "<input name=\"" + CaptchaInspector.CAPTCHA_NEEDED_PARAM + "\" type=\"hidden\" value=\"" + + CryptoUtil.encrypt( String.valueOf( Boolean.valueOf( needsCaptcha ) ) ) + "\" />\n" ); + if( needsCaptcha ) + { + out.write( captchaContent ); + } + } + + /** + * Writes hidden spam-protection parameters to the current PageContext's + * JSPWriter. + * + * @throws IOException + */ private void writeSpamParams() throws IOException { JspWriter out = pageContext.getOut(); @@ -99,47 +181,66 @@ out.write( "<input type=\"hidden\" name=\"" ); out.write( trapParam ); out.write( "\" value=\"\" /></div>\n" ); - + // Inject token field String tokenParam = getUniqueID(); String tokenValue = request.getSession().getId(); out.write( "<input name=\"" + tokenParam + "\" type=\"hidden\" value=\"" + tokenValue + "\" />\n" ); // Inject UTF-8 detector - out.write( "<input name=\""+ BotTrapInspector.REQ_ENCODING_CHECK + "\" type=\"hidden\" value=\"\u3041\" />\n" ); + out.write( "<input name=\"" + BotTrapInspector.REQ_ENCODING_CHECK + "\" type=\"hidden\" value=\"\u3041\" />\n" ); // Add encrypted parameter indicating the name of the token field String encryptedParam = CryptoUtil.encrypt( tokenParam ); - out.write( "<input name=\""+ BotTrapInspector.REQ_SPAM_PARAM+"\" type=\"hidden\" value=\""+encryptedParam+"\" />\n" ); + out.write( "<input name=\"" + BotTrapInspector.REQ_SPAM_PARAM + "\" type=\"hidden\" value=\"" + encryptedParam + "\" />\n" ); } - private static String getUniqueID() + /** + * Determines whether to use a CAPTCHA, based on WikiActionBean being used. + * The WikiActionBean is determined by looking for a parent Stripes + * {@link net.sourceforge.stripes.tag.FormTag}. If one is found, that + * ActionBean is used (which makes sense, because that is where the form + * will be posted to). If not, we use the current ActionBean returned by + * {@code m_wikiActionBean} (usually a pretty good guess). If any event + * handler methods for the ActionBean requires a CAPTCHA, the initialized + * {@link Captcha} implementation will be returned. + * + * @return the Captcha if one is required, or {@code null} is it is not + * needed for this ActionBean. + */ + @SuppressWarnings( "unchecked" ) + protected Captcha findCaptcha() { - StringBuilder sb = new StringBuilder(); - Random rand = new SecureRandom(); + Class<? extends WikiActionBean> actionBeanClass = null; - for( int i = 0; i < 6; i++ ) + // Try figuring out the ActionBean the enclosing FormTag will submit to + FormTag tag = this.getParentTag( FormTag.class ); + if( tag != null ) { - char x = (char) ('A' + rand.nextInt( 26 )); - - sb.append( x ); + // Figure out the ActionBean class + String action = tag.getAction(); + ActionResolver resolver = StripesFilter.getConfiguration().getActionResolver(); + actionBeanClass = (Class<? extends WikiActionBean>) resolver.getActionBeanType( action ); } - return sb.toString(); - } - - @Override - public int doEndTag() throws JspException - { - try + // If that doesn't work, use the current ActionBean and handler event + if( actionBeanClass == null ) { - writeSpamParams(); + actionBeanClass = m_wikiActionBean.getClass(); } - catch( IOException e ) + + // Now that we know what ActionBean we're looking at, do we need a + // Captcha for it? + Map<Method, HandlerInfo> events = HandlerInfo.getHandlerInfoCollection( actionBeanClass ); + for( Map.Entry<Method, HandlerInfo> entry : events.entrySet() ) { - throw new JspException(e); + if( entry.getValue().getCaptchaPolicy() == Captcha.Policy.ALWAYS ) + { + WikiEngine engine = m_wikiActionBean.getContext().getEngine(); + InspectionPlan plan = SpamInspectionFactory.getInspectionPlan( engine, engine.getWikiProperties() ); + return plan.getCaptcha(); + } } - return super.doEndTag(); + return null; } - } Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/HandlerInfo.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/HandlerInfo.java?rev=892689&r1=892688&r2=892689&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/HandlerInfo.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/HandlerInfo.java Mon Dec 21 05:21:24 2009 @@ -31,16 +31,18 @@ import javax.servlet.jsp.el.ELException; -import org.apache.wiki.action.WikiActionBean; -import org.apache.wiki.auth.permissions.PagePermission; -import org.apache.wiki.auth.permissions.PermissionFactory; - import net.sourceforge.stripes.action.DefaultHandler; import net.sourceforge.stripes.action.HandlesEvent; import net.sourceforge.stripes.util.bean.EvaluationException; import net.sourceforge.stripes.util.bean.PropertyExpression; import net.sourceforge.stripes.util.bean.PropertyExpressionEvaluation; +import org.apache.wiki.action.WikiActionBean; +import org.apache.wiki.auth.permissions.PagePermission; +import org.apache.wiki.auth.permissions.PermissionFactory; +import org.apache.wiki.content.inspect.Captcha; +import org.apache.wiki.tags.SpamProtectTag; + /** * Extracts {@link HandlerPermission} annotation metadata for a supplied @@ -71,6 +73,12 @@ private final String m_requestContext; + private final boolean m_spamProtected; + + private final String[] m_spamProtectedFields; + + private final Captcha.Policy m_captchaPolicy; + /** * Private constructor that identifies relevant Permission and wiki request * context information for a supplied WikiActionBean's event method. The @@ -142,6 +150,12 @@ String defaultRequestContext = m_beanClass.getName() + "." + eventHandler; m_requestContext = requestContext != null ? requestContext.value() : defaultRequestContext; + // Store any spam-protection information + SpamProtect spam = method.getAnnotation( SpamProtect.class ); + m_spamProtected = spam != null; + m_captchaPolicy = spam == null ? Captcha.Policy.NEVER : spam.captcha(); + m_spamProtectedFields = spam == null ? new String[0] : spam.content(); + // Store the Stripes event handler name m_handlerName = eventHandler; } @@ -184,6 +198,19 @@ } /** + * Returns the CAPTCHA policy that should apply to this event method. + * If the event method is not annotated {@link SpamProtect}, the + * result will be {@link Captcha.Policy#NEVER}. Otherwise, the value + * supplied in the annotation value {@link SpamProtect#captcha()} + * will be used. + * @return the policy + */ + public Captcha.Policy getCaptchaPolicy() + { + return m_captchaPolicy; + } + + /** * Returns the HandlerInfo object associated with the default Stripes event * handler method for a supplied class. All Stripes ActionBeans (and JSPWiki * WikiActionBeans, by definition) must contain a method with the @@ -457,4 +484,29 @@ return perm; } + /** + * Returns the fields that should be inspected by the spam-detection system when + * the event handler method is intercepted by {@link SpamInterceptor}. This + * method is guaranteed to return a non-{@code null} String array. + * @return an array of Strings indicating which fields should protected, + * possibly a zero-length array. Methods not annotated with {@link + * SpamProtect} will return a zero-length array. + */ + public String[] getSpamProtectedFields() + { + return m_spamProtectedFields; + } + + /** + * Returns whether the handler event method contains a {@link SpamProtect} + * annotation and should therefore be protected by anti-spam controls. + * The tag {@link SpamProtectTag} generates special form parameters, + * and the {@link SpamInterceptor} processes these values on form submission. + * @return {@code true} if the method is annotated with {@link SpamProtect}, + * and {@code false} otherwise. + */ + public boolean isSpamProtected() + { + return m_spamProtected; + } } Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/SpamInterceptor.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/SpamInterceptor.java?rev=892689&r1=892688&r2=892689&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/SpamInterceptor.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/SpamInterceptor.java Mon Dec 21 05:21:24 2009 @@ -37,7 +37,10 @@ import org.apache.wiki.WikiEngine; import org.apache.wiki.action.WikiActionBean; +import org.apache.wiki.api.WikiException; import org.apache.wiki.content.inspect.*; +import org.apache.wiki.log.Logger; +import org.apache.wiki.log.LoggerFactory; /** * Stripes Interceptor that ensures that SpamFilter algorithms are applied to @@ -51,6 +54,9 @@ @Intercepts( { LifecycleStage.CustomValidation } ) public class SpamInterceptor implements Interceptor { + + private static final Logger log = LoggerFactory.getLogger( SpamInterceptor.class ); + /** * Validates spam parameters contained in any requests targeting an * ActionBean method annotated with the {@link SpamProtect} annotation. This @@ -71,27 +77,40 @@ return r; } - // Is the target handler protected by a @SpamProtect annotation? - WikiActionBean actionBean = (WikiActionBean) context.getActionBean(); - WikiActionBeanContext actionBeanContext = actionBean.getContext(); + // Get the event handler method Method handler = context.getHandler(); - SpamProtect ann = handler.getAnnotation( SpamProtect.class ); - if( ann == null ) + + // Find the HandlerInfo method + WikiActionBean actionBean = (WikiActionBean) context.getActionBean(); + Map<Method, HandlerInfo> eventinfos = HandlerInfo.getHandlerInfoCollection( actionBean.getClass() ); + HandlerInfo eventInfo = eventinfos.get( handler ); + if( eventInfo == null ) + { + String message = "Event handler method " + actionBean.getClass().getName() + + "#" + handler.getName() + + " does not have an associated HandlerInfo object. This should not happen."; + log.error( message ); + throw new WikiException( message ); + } + + // Is the target handler protected by a @SpamProtect annotation? + if ( !eventInfo.isSpamProtected() ) { return null; } // Retrieve all of the bean fields named in the @SpamProtect annotation + WikiActionBeanContext actionBeanContext = actionBean.getContext(); WikiEngine engine = actionBeanContext.getEngine(); InspectionPlan plan = SpamInspectionFactory.getInspectionPlan( engine, engine.getWikiProperties() ); - Map<String, Object> fieldValues = getBeanProperties( actionBean, ann.content() ); + Map<String, Object> fieldValues = getBeanProperties( actionBean, eventInfo.getSpamProtectedFields() ); // Create an Inspection for analyzing each field Inspection inspection = new Inspection( actionBeanContext, plan ); float spamScoreLimit = SpamInspectionFactory.defaultSpamLimit( engine ); SpamInspectionFactory.setSpamLimit( inspection, spamScoreLimit ); - // Go to it! + // Let's get to it! for( Map.Entry<String, Object> entry : fieldValues.entrySet() ) { String name = entry.getKey(); Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/SpamProtect.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/SpamProtect.java?rev=892689&r1=892688&r2=892689&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/SpamProtect.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/SpamProtect.java Mon Dec 21 05:21:24 2009 @@ -22,6 +22,7 @@ import java.lang.annotation.*; +import org.apache.wiki.content.inspect.Captcha; import org.apache.wiki.filters.SpamFilter; /** @@ -45,4 +46,10 @@ * array. */ String[] content() default {}; + + /** + * Indicates when a CAPTCHA test should be administered to the user. + * @return the CAPTCHA policy + */ + Captcha.Policy captcha() default Captcha.Policy.ALWAYS; } Added: incubator/jspwiki/trunk/tests/java/org/apache/wiki/content/inspect/AsirraCaptchaTest.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/java/org/apache/wiki/content/inspect/AsirraCaptchaTest.java?rev=892689&view=auto ============================================================================== --- incubator/jspwiki/trunk/tests/java/org/apache/wiki/content/inspect/AsirraCaptchaTest.java (added) +++ incubator/jspwiki/trunk/tests/java/org/apache/wiki/content/inspect/AsirraCaptchaTest.java Mon Dec 21 05:21:24 2009 @@ -0,0 +1,92 @@ +/* + JSPWiki - a JSP-based WikiWiki clone. + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + */ + +package org.apache.wiki.content.inspect; + +import java.util.List; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +import org.apache.wiki.content.inspect.AsirraCaptcha.Challenge; + +/** + */ +public class AsirraCaptchaTest extends TestCase +{ + public static Test suite() + { + return new TestSuite( AsirraCaptchaTest.class ); + } + + private String m_response = "asirraState.NewSessionComplete(3, " + + "\"2009352/ec2.8/33f46dd1299db9de910869db5a493ed2\");" + + "asirraState.GetChallengeComplete(" + + "[ImgRec(\"401906c8e5fb9117ee4e4666758a03af\",\"//s3.amazonaws.com/Asirra/PhotoDB/401906c8e5fb9117ee4e4666758a03af.jpg\",250,250)," + + "ImgRec(\"0838a84351d6afbe0b981f0852394c19\",\"//s3.amazonaws.com/Asirra/PhotoDB/0838a84351d6afbe0b981f0852394c19.jpg\",250,250)," + + "ImgRec(\"f1753dc76175f85261a612099eeec772\",\"//s3.amazonaws.com/Asirra/PhotoDB/f1753dc76175f85261a612099eeec772.jpg\",250,250)," + + "ImgRec(\"c330de41625bcee3730c04293d181016\",\"//s3.amazonaws.com/Asirra/PhotoDB/c330de41625bcee3730c04293d181016.jpg\",250,250)," + + "ImgRec(\"8308841fded6bf328f6cae1bbca818ce\",\"//s3.amazonaws.com/Asirra/PhotoDB/8308841fded6bf328f6cae1bbca818ce.jpg\",250,250)," + + "ImgRec(\"678953ff8adab8bad067e3faec24ac90\",\"//s3.amazonaws.com/Asirra/PhotoDB/678953ff8adab8bad067e3faec24ac90.jpg\",250,250)," + + "ImgRec(\"5682da66d19d4f39b2d4cdc4618273fd\",\"//s3.amazonaws.com/Asirra/PhotoDB/5682da66d19d4f39b2d4cdc4618273fd.jpg\",250,250)," + + "ImgRec(\"b1f6d4d4234ba49a6adda94e698cfa1a\",\"//s3.amazonaws.com/Asirra/PhotoDB/b1f6d4d4234ba49a6adda94e698cfa1a.jpg\",250,250)," + + "ImgRec(\"667cd40b3ace67bcb5bc5b0df1af384c\",\"//s3.amazonaws.com/Asirra/PhotoDB/667cd40b3ace67bcb5bc5b0df1af384c.jpg\",250,250)," + + "ImgRec(\"892a31875c881eab6a37715107ede991\",\"//s3.amazonaws.com/Asirra/PhotoDB/892a31875c881eab6a37715107ede991.jpg\",250,250)," + + "ImgRec(\"b1eac4117ec55150a6de55bc6e486d5c\",\"//s3.amazonaws.com/Asirra/PhotoDB/b1eac4117ec55150a6de55bc6e486d5c.jpg\",250,250)," + + "ImgRec(\"ceae10e7729b37ba77133e006bab9253\",\"//s3.amazonaws.com/Asirra/PhotoDB/ceae10e7729b37ba77133e006bab9253.jpg\",250,250)]\");"; + + public void testExtractChallenges() + { + List<Challenge> challenges = AsirraCaptcha.extractChallenges( m_response ); + assertEquals( 12, challenges.size() ); + assertEquals( "401906c8e5fb9117ee4e4666758a03af", challenges.get( 0 ).id() ); + assertEquals( "//s3.amazonaws.com/Asirra/PhotoDB/401906c8e5fb9117ee4e4666758a03af.jpg", challenges.get( 0 ).url() ); + assertEquals( "c330de41625bcee3730c04293d181016", challenges.get( 3 ).id() ); + assertEquals( "//s3.amazonaws.com/Asirra/PhotoDB/c330de41625bcee3730c04293d181016.jpg", challenges.get( 3 ).url() ); + assertEquals( "5682da66d19d4f39b2d4cdc4618273fd", challenges.get( 6 ).id() ); + assertEquals( "//s3.amazonaws.com/Asirra/PhotoDB/5682da66d19d4f39b2d4cdc4618273fd.jpg", challenges.get( 6 ).url() ); + assertEquals( "892a31875c881eab6a37715107ede991", challenges.get( 9 ).id() ); + assertEquals( "//s3.amazonaws.com/Asirra/PhotoDB/892a31875c881eab6a37715107ede991.jpg", challenges.get( 9 ).url() ); + assertEquals( "ceae10e7729b37ba77133e006bab9253", challenges.get( 11 ).id() ); + assertEquals( "//s3.amazonaws.com/Asirra/PhotoDB/ceae10e7729b37ba77133e006bab9253.jpg", challenges.get( 11 ).url() ); + } + + public void testExtractSession() + { + assertEquals( "2009352/ec2.8/33f46dd1299db9de910869db5a493ed2", AsirraCaptcha.extractSessionId( m_response ) ); + } + + /** + * Does a live HTTP GET to Asirra and confirms that we can still extract valid session IDs and challenges. + * @throws Exception + */ + public void testGetChallengeResponse() throws Exception + { + String challengeResponse = AsirraCaptcha.getChallengeResponse(); + String sessionId = AsirraCaptcha.extractSessionId( challengeResponse ); + List<Challenge> challenges = AsirraCaptcha.extractChallenges( challengeResponse ); + assertNotNull( sessionId ); + assertNotNull( challenges ); + assertEquals( 12, challenges.size() ); + } + +} Modified: incubator/jspwiki/trunk/tests/java/org/apache/wiki/ui/stripes/HandlerInfoTest.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/java/org/apache/wiki/ui/stripes/HandlerInfoTest.java?rev=892689&r1=892688&r2=892689&view=diff ============================================================================== --- incubator/jspwiki/trunk/tests/java/org/apache/wiki/ui/stripes/HandlerInfoTest.java (original) +++ incubator/jspwiki/trunk/tests/java/org/apache/wiki/ui/stripes/HandlerInfoTest.java Mon Dec 21 05:21:24 2009 @@ -25,17 +25,18 @@ import java.util.Map; import java.util.Properties; +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; +import net.sourceforge.stripes.mock.MockRoundtrip; + import org.apache.wiki.TestEngine; import org.apache.wiki.action.EditActionBean; import org.apache.wiki.action.GroupActionBean; +import org.apache.wiki.action.ViewActionBean; import org.apache.wiki.auth.permissions.GroupPermission; import org.apache.wiki.auth.permissions.WikiPermission; -import org.apache.wiki.ui.stripes.HandlerInfo; - -import junit.framework.Test; -import junit.framework.TestCase; -import junit.framework.TestSuite; -import net.sourceforge.stripes.mock.MockRoundtrip; +import org.apache.wiki.content.inspect.Captcha; public class HandlerInfoTest extends TestCase @@ -202,6 +203,30 @@ assertNull( perm ); } + public void testSpamAnnotations() throws Exception + { + // Check the spam methods on an event that has a @SpamProtect annotation + Method method = EditActionBean.class.getMethod( "save", new Class[0] ); + Map<Method,HandlerInfo> handlerInfos = HandlerInfo.getHandlerInfoCollection( EditActionBean.class ); + HandlerInfo handlerInfo = handlerInfos.get( method ); + assertNotNull( handlerInfo ); + assertTrue( handlerInfo.isSpamProtected() ); + assertEquals( Captcha.Policy.ALWAYS, handlerInfo.getCaptchaPolicy() ); + assertNotNull( handlerInfo.getSpamProtectedFields() ); + assertEquals( 1, handlerInfo.getSpamProtectedFields().length ); + assertEquals( "wikiText", handlerInfo.getSpamProtectedFields()[0] ); + + // Check the spam methods on an event that does NOT have an annotation + method = ViewActionBean.class.getMethod( "view", new Class[0] ); + handlerInfos = HandlerInfo.getHandlerInfoCollection( ViewActionBean.class ); + handlerInfo = handlerInfos.get( method ); + assertNotNull( handlerInfo ); + assertFalse( handlerInfo.isSpamProtected() ); + assertEquals( Captcha.Policy.NEVER, handlerInfo.getCaptchaPolicy() ); + assertNotNull( handlerInfo.getSpamProtectedFields() ); + assertEquals( 0, handlerInfo.getSpamProtectedFields().length ); + } + public static Test suite() { return new TestSuite( HandlerInfoTest.class ); From [email protected] Wed Dec 23 17:38:28 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9767 invoked from network); 23 Dec 2009 17:38:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Dec 2009 17:38:28 -0000 Received: (qmail 22657 invoked by uid 500); 23 Dec 2009 17:38:28 -0000 Delivered-To: [email protected] Received: (qmail 22640 invoked by uid 500); 23 Dec 2009 17:38:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jspwiki-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 22631 invoked by uid 99); 23 Dec 2009 17:38:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Dec 2009 17:38:27 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Dec 2009 17:38:21 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C0B242388996; Wed, 23 Dec 2009 17:38:00 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r893583 - in /incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH: ChangeLog src/com/ecyrd/jspwiki/Release.java src/com/ecyrd/jspwiki/WikiEngine.java src/com/ecyrd/jspwiki/ui/Installer.java src/com/ecyrd/jspwiki/url/DefaultURLConstructor.java Date: Wed, 23 Dec 2009 17:37:48 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: metskem Date: Wed Dec 23 17:37:38 2009 New Revision: 893583 URL: http://svn.apache.org/viewvc?rev=893583&view=rev Log: 2.8.4-svn-6 JSPWIKI-621: check last fileseparator on config page, duplicate of JSPWIKI-424, reported by Rolf Schumacher. Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ChangeLog incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/Release.java incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/WikiEngine.java incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/ui/Installer.java incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/url/DefaultURLConstructor.java Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ChangeLog URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ChangeLog?rev=893583&r1=893582&r2=893583&view=diff ============================================================================== --- incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ChangeLog (original) +++ incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ChangeLog Wed Dec 23 17:37:38 2009 @@ -1,3 +1,10 @@ +2009-12-23 Harry Metske <[email protected]> + + * 2.8.4-svn-6 + + * JSPWIKI-621: check last fileseparator on config page, duplicate of JSPWIKI-424, + reported by Rolf Schumacher. + 2009-12-15 Harry Metske <[email protected]> * 2.8.4-svn-5 Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/Release.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/Release.java?rev=893583&r1=893582&r2=893583&view=diff ============================================================================== --- incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/Release.java (original) +++ incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/Release.java Wed Dec 23 17:37:38 2009 @@ -77,7 +77,7 @@ * <p> * If the build identifier is empty, it is not added. */ - public static final String BUILD = "5"; + public static final String BUILD = "6"; /** * This is the generic version string you should use Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/WikiEngine.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/WikiEngine.java?rev=893583&r1=893582&r2=893583&view=diff ============================================================================== --- incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/WikiEngine.java (original) +++ incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/WikiEngine.java Wed Dec 23 17:37:38 2009 @@ -502,8 +502,11 @@ m_saveUserInfo ); m_useUTF8 = "UTF-8".equals( TextUtil.getStringProperty( props, PROP_ENCODING, "ISO-8859-1" ) ); - m_baseURL = TextUtil.getStringProperty( props, PROP_BASEURL, "" ); - + m_baseURL = TextUtil.getStringProperty(props, PROP_BASEURL, ""); + if (!m_baseURL.endsWith("/")) + { + m_baseURL = m_baseURL + "/"; + } m_beautifyTitle = TextUtil.getBooleanProperty( props, PROP_BEAUTIFYTITLE, Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/ui/Installer.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/ui/Installer.java?rev=893583&r1=893582&r2=893583&view=diff ============================================================================== --- incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/ui/Installer.java (original) +++ incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/ui/Installer.java Wed Dec 23 17:37:38 2009 @@ -223,7 +223,6 @@ // Get/sanitize base URL nullValue = m_request.getRequestURL().toString(); nullValue = nullValue.substring( 0, nullValue.lastIndexOf('/') )+"/"; - nullValue = m_props.getProperty( BASE_URL, nullValue ); parseProperty( BASE_URL, nullValue ); sanitizeURL( BASE_URL ); @@ -343,6 +342,10 @@ String s = m_props.getProperty( key ); s = TextUtil.replaceString( s, "\\", "/" ); s = s.trim(); + if (!s.endsWith("/")) + { + s = s + "/"; + } m_props.put( key, s ); } Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/url/DefaultURLConstructor.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/url/DefaultURLConstructor.java?rev=893583&r1=893582&r2=893583&view=diff ============================================================================== --- incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/url/DefaultURLConstructor.java (original) +++ incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/url/DefaultURLConstructor.java Wed Dec 23 17:37:38 2009 @@ -82,7 +82,7 @@ } catch( MalformedURLException e ) { - m_pathPrefix = "/JSPWiki"; // Just a guess. + m_pathPrefix = "/JSPWiki/"; // Just a guess. } } } From [email protected] Sun Dec 27 11:17:52 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11327 invoked from network); 27 Dec 2009 11:17:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Dec 2009 11:17:51 -0000 Received: (qmail 88940 invoked by uid 500); 27 Dec 2009 11:17:51 -0000 Delivered-To: [email protected] Received: (qmail 88916 invoked by uid 500); 27 Dec 2009 11:17:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jspwiki-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 88907 invoked by uid 99); 27 Dec 2009 11:17:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Dec 2009 11:17:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Dec 2009 11:17:50 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0CBA52388996; Sun, 27 Dec 2009 11:17:29 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r894054 - in /incubator/jspwiki/trunk: ChangeLog src/WebContent/WEB-INF/lib/priha-0.6.1.jar src/WebContent/WEB-INF/lib/priha-0.7.0-alpha.jar src/java/org/apache/wiki/Release.java Date: Sun, 27 Dec 2009 11:17:27 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: metskem Date: Sun Dec 27 11:17:26 2009 New Revision: 894054 URL: http://svn.apache.org/viewvc?rev=894054&view=rev Log: 3.0.0-svn-194: upgrade priha 0.6.1 => 0.7.0-alpha Added: incubator/jspwiki/trunk/src/WebContent/WEB-INF/lib/priha-0.7.0-alpha.jar (with props) Removed: incubator/jspwiki/trunk/src/WebContent/WEB-INF/lib/priha-0.6.1.jar Modified: incubator/jspwiki/trunk/ChangeLog incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java Modified: incubator/jspwiki/trunk/ChangeLog URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/ChangeLog?rev=894054&r1=894053&r2=894054&view=diff ============================================================================== --- incubator/jspwiki/trunk/ChangeLog (original) +++ incubator/jspwiki/trunk/ChangeLog Sun Dec 27 11:17:26 2009 @@ -1,3 +1,9 @@ +2009-12-27 Harry Metske <[email protected]> + + * 3.0.0-svn-194 + + * upgrade priha 0.6.1 => 0.7.0-alpha + 2009-12-21 Andrew Jaquith <[email protected]> * 3.0.0-svn-193. Added: incubator/jspwiki/trunk/src/WebContent/WEB-INF/lib/priha-0.7.0-alpha.jar URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/WEB-INF/lib/priha-0.7.0-alpha.jar?rev=894054&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/jspwiki/trunk/src/WebContent/WEB-INF/lib/priha-0.7.0-alpha.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java?rev=894054&r1=894053&r2=894054&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java Sun Dec 27 11:17:26 2009 @@ -77,7 +77,7 @@ * <p> * If the build identifier is empty, it is not added. */ - public static final String BUILD = "193"; + public static final String BUILD = "194"; /** * This is the generic version string you should use
From [email protected] Wed Jun 1 18:58:48 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 75D9A69CC for <[email protected]>; Wed, 1 Jun 2011 18:58:48 +0000 (UTC) Received: (qmail 86861 invoked by uid 500); 1 Jun 2011 18:58:48 -0000 Delivered-To: [email protected] Received: (qmail 86808 invoked by uid 500); 1 Jun 2011 18:58:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.axis.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 86800 invoked by uid 99); 1 Jun 2011 18:58:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 18:58:47 +0000 X-ASF-Spam-Status: No, hits=2.9 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO omr1.networksolutionsemail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 18:58:40 +0000 Received: from cm-omr13 (mail.networksolutionsemail.com [161.129.204.104]) by omr1.networksolutionsemail.com (8.13.6/8.13.6) with ESMTP id p51IwEfU029195 for <[email protected]>; Wed, 1 Jun 2011 14:58:14 -0400 Authentication-Results: cm-omr13 [email protected]; auth=pass (LOGIN) X-Authenticated-UID: [email protected] Received: from [161.129.204.104] ([161.129.204.104:53845] helo=gracie) by cm-omr13 (envelope-from <[email protected]>) (ecelerity 161.129.204.104 r(31179/31189)) with ESMTPA id BD/E4-18782-4CB86ED4; Wed, 01 Jun 2011 14:58:14 -0400 Message-ID: <4F0914C7690E4CBF8D4B0C15D5C94D82@gracie> From: "Steve Leland" <[email protected]> To: "Apache AXIS C Developers List" <[email protected]> References: <[email protected]><[email protected]> <[email protected]> In-Reply-To: <[email protected]> Subject: Re: Axis2C crashes when using SSL... Date: Wed, 1 Jun 2011 14:58:28 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0164_01CC206C.5DC17CA0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Windows Mail 6.0.6002.18197 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18417 ------=_NextPart_000_0164_01CC206C.5DC17CA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I had a problem like this, most recently using OpenSSL 0.9.8r on Windows = - after adding a little logging, the error was reported as: "OpenSSL error "error:02001003:system library:fopen:no such process" 90% of the requests would work just fine, but 10% were failing like = that. =20 The fix was to specify a fully qualified path to the cert in the = axis2.xml file:. this fails intermittently: <parameter = name=3D"SERVER_CERT">.\data\cacert_test2.cer this always works: <parameter = name=3D"SERVER_CERT">e:\lotus\domino\data\cacert_test2.cer It's an easy fix, so I'm happy, but I wish someone could explain why it = was failing! Regards, Steve ----- Original Message -----=20 From: Mauro Brasil=20 To: Apache AXIS C Developers List=20 Sent: Tuesday, May 31, 2011 2:03 PM Subject: Re: Axis2C crashes when using SSL... Hi Nandika and thanks for your reply. That was my first thought too but after removing all changes regarding = the dynamic configuration of "SSL_CERT" parameter, the issue persisted. I mean, I reverted all my code changes and only: 1- adjusted the service URI used to create the service stub = "axis2_stub_t" (changing the "http" to "https" and port as well; 2- changed the "axis2.xml" file to statically point to the certificate = file. After getting the same condition with this scenario I've had a look at = the axis2c binaries and its dependencies to make sure they are = compatible. First of all I've noticed that axis2c binaries were linked with old = MSVCRT library while openssl libraries (libeay32.dll and ssleay32.dll) = were linked with Visual Studio 2008 (MSVCR90.DLL) version of CRT = library. Searching on the net I've found other versions of openssl binaries = linked with old MSVCRT library but that seems to have the same problem = and others that worked pretty fine. The reason for sure, I don't know. I choose the version extracted from package "openssl-0.9.8h-1-bin.zip" = found at "http://gnuwin32.sourceforge.net/packages/openssl.htm" (I = renamed the library "libssl32.dll" to "ssleay32.dll"). After getting this libraries the application worked perfectly = including the changes to set the certificate location dynamically. Thank's a lot for this great software. Best regards, Mauro. 2011/5/28 Nandika Jayawardana <[email protected]> Most definitely, there should be a memory corruption. Try running = the application with a memory checking tool like purify. It will point = you to the location where this problem happens. Regards Nandika On Fri, May 27, 2011 at 11:47 PM, Mauro Brasil = <[email protected]> wrote: Hello there! I have a fully operational C++ application developped using Visual = C++ that uses Axis2c and RampartC to communicates with a server running = on JBoss and using JBossWS. By now we are using just WS-Security's UserNameToken and timestamp = features and everything works pretty fine. The application is almost completed and now we just need to get it = over SSL. First try was add the server's certificate file programatically = (for lots of reasons this is the desirable scenario). Althougth the implementation runs fine on Debug mode for several = requests, when I switch to Release mode the application crashes during = "axis2_svc_client_send_receive_with_op_qname" method execution of the = second request. I don't know if this could cause this particular issue, but I = share the "axis_env_t*" pointer among all requests (well... I have no = problem with that until now). Tired of trying to avoid the condition on code, I removed the = block that adds the property and configured the certificate file = directly on "axis2.xml". And I've got totally lost when the issue = happened the same way. Had anyone got such condition ? Does someone have any idea of what can be causing thins ? Thanks and best regards, Mauro. ------=_NextPart_000_0164_01CC206C.5DC17CA0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META name=3DGENERATOR content=3D"MSHTML 9.00.8112.16421"> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT size=3D2 face=3DArial>I had a problem like this, most = recently=20 using&nbsp;OpenSSL 0.9.8r on Windows - after&nbsp;adding a little = logging,=20 the&nbsp;error was reported as:</FONT></DIV> <DIV><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV> <DIV><FONT size=3D2 face=3DHelv><FONT size=3D2 = face=3DHelv>&nbsp;&nbsp;&nbsp; "OpenSSL=20 error "error:02001003:system library:fopen:no such process"</DIV> <DIV> <P dir=3Dltr>90%&nbsp;of the requests would work just fine,&nbsp;but 10% = were=20 failing like that.&nbsp; </P> <P dir=3Dltr>The fix was to specify a fully qualified path to the cert = in the=20 axis2.xml file:.</P> <P dir=3Dltr>&nbsp;&nbsp;&nbsp; this fails intermittently: = &nbsp;&nbsp;&nbsp;=20 &lt;parameter name=3D"SERVER_CERT"&gt;.\data\cacert_test2.cer</P> <P dir=3Dltr>&nbsp;&nbsp;&nbsp; this always=20 works:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= lt;parameter=20 name=3D"SERVER_CERT"&gt;e:\lotus\domino\data\cacert_test2.cer</P> <P dir=3Dltr>It's an easy fix, so I'm happy, but I wish someone could = explain why=20 it was failing!</P> <P dir=3Dltr>Regards,</P> <P dir=3Dltr>Steve</P> <P dir=3Dltr>&nbsp;</P></FONT></FONT></DIV> <BLOCKQUOTE=20 style=3D"BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; = PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"> <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV> <DIV=20 style=3D"FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: = black"><B>From:</B>=20 <A [email protected]=20 href=3D"mailto:[email protected]">Mauro Brasil</A> </DIV> <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A = [email protected]=20 href=3D"mailto:[email protected]">Apache AXIS C Developers = List</A> </DIV> <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, May 31, 2011 = 2:03 PM</DIV> <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: Axis2C crashes = when using=20 SSL...</DIV> <DIV><BR></DIV>Hi Nandika and thanks for your reply.<BR><BR>That was = my first=20 thought too but after removing all changes regarding the dynamic = configuration=20 of "SSL_CERT" parameter, the issue persisted.<BR><BR>I mean, I = reverted all my=20 code changes and only:<BR>1- adjusted the service URI used to create = the=20 service stub "axis2_stub_t" (changing the "http" to "https" and port = as=20 well;<BR>2- changed the "axis2.xml" file to statically point to the=20 certificate file.<BR><BR>After getting the same condition with this = scenario=20 I've had a look at the axis2c binaries and its dependencies to make = sure they=20 are compatible.<BR>First of all I've noticed that axis2c binaries were = linked=20 with old MSVCRT library while openssl libraries (libeay32.dll and=20 ssleay32.dll) were linked with Visual Studio 2008 (MSVCR90.DLL) = version of CRT=20 library.<BR><BR>Searching on the net I've found other versions of = openssl=20 binaries linked with old MSVCRT library but that seems to have the = same=20 problem and others that worked pretty fine.<BR>The reason for sure, I = don't=20 know.<BR><BR>I choose the version extracted from package=20 "openssl-0.9.8h-1-bin.zip" found at "<A=20 = href=3D"http://gnuwin32.sourceforge.net/packages/openssl.htm">http://gnuw= in32.sourceforge.net/packages/openssl.htm</A>"=20 (I renamed the library "libssl32.dll" to "ssleay32.dll").<BR><BR>After = getting=20 this libraries the application worked perfectly including the changes = to set=20 the certificate location dynamically.<BR><BR>Thank's a lot for this = great=20 software.<BR><BR>Best regards,<BR>Mauro.<BR><BR><BR><BR><BR> <DIV class=3Dgmail_quote>2011/5/28 Nandika Jayawardana <SPAN = dir=3Dltr>&lt;<A=20 = href=3D"mailto:[email protected]">[email protected]</A>&gt;</SPAN><BR> <BLOCKQUOTE=20 style=3D"BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt = 0.8ex; PADDING-LEFT: 1ex"=20 class=3Dgmail_quote>Most definitely, there should be a memory = corruption. Try=20 running the application with a memory checking tool like purify. It = will=20 point you to the location where this problem=20 happens.<BR><BR>Regards<BR><FONT color=3D#888888>Nandika</FONT> <DIV> <DIV></DIV> <DIV class=3Dh5><BR><BR> <DIV class=3Dgmail_quote>On Fri, May 27, 2011 at 11:47 PM, Mauro = Brasil <SPAN=20 dir=3Dltr>&lt;<A href=3D"mailto:[email protected]"=20 target=3D_blank>[email protected]</A>&gt;</SPAN> wrote:<BR> <BLOCKQUOTE=20 style=3D"BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt = 0pt 0.8ex; PADDING-LEFT: 1ex"=20 class=3Dgmail_quote>Hello there!<BR><BR>I have a fully operational = C++=20 application developped using Visual C++ that uses Axis2c and = RampartC to=20 communicates with a server running on JBoss and using = JBossWS.<BR><BR>By=20 now we are using just WS-Security's UserNameToken and timestamp = features=20 and everything works pretty fine.<BR><BR>The application is almost = completed and now we just need to get it over SSL.<BR><BR>First = try was=20 add the server's certificate file programatically (for lots of = reasons=20 this is the desirable scenario).<BR>Althougth the implementation = runs fine=20 on Debug mode for several requests, when I switch to Release mode = the=20 application crashes during = "axis2_svc_client_send_receive_with_op_qname"=20 method execution of the second request.<BR>I don't know if this = could=20 cause this particular issue, but I share the "axis_env_t*" pointer = among=20 all requests (well... I have no problem with that until = now).<BR><BR>Tired=20 of trying to avoid the condition on code, I removed the block that = adds=20 the property and configured the certificate file directly on = "axis2.xml".=20 And I've got totally lost when the issue happened the same = way.<BR><BR>Had=20 anyone got such condition ?<BR><BR>Does someone have any idea of = what can=20 be causing thins ?<BR><BR>Thanks and best regards,<BR><FONT=20 color=3D#888888>Mauro.<BR><BR><BR> <DIV=20 style=3D"TEXT-ALIGN: left; PADDING-BOTTOM: 0px; LINE-HEIGHT: 130%; = MARGIN-TOP: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; WORD-WRAP: = break-word; COLOR: black; MARGIN-LEFT: 0px; FONT-SIZE: 10px; OVERFLOW: = hidden; PADDING-TOP: = 0px"></DIV></FONT></BLOCKQUOTE></DIV><BR></DIV></DIV></BLOCKQUOTE></DIV><= BR> <DIV=20 style=3D"Z-INDEX: 9999; POSITION: absolute; TEXT-ALIGN: left; = PADDING-BOTTOM: 0px; LINE-HEIGHT: 130%; MARGIN-TOP: 0px; PADDING-LEFT: = 0px; PADDING-RIGHT: 0px; WORD-WRAP: break-word; VISIBILITY: hidden; = COLOR: black; MARGIN-LEFT: 0px; FONT-SIZE: 10px; OVERFLOW: hidden; = PADDING-TOP: 0px; LEFT: -5000px"=20 id=3Davg_ls_inline_popup></DIV></BLOCKQUOTE></BODY></HTML> ------=_NextPart_000_0164_01CC206C.5DC17CA0-- From [email protected] Thu Jun 2 16:42:38 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 045D6443A for <[email protected]>; Thu, 2 Jun 2011 16:42:38 +0000 (UTC) Received: (qmail 6074 invoked by uid 500); 2 Jun 2011 16:42:37 -0000 Delivered-To: [email protected] Received: (qmail 5447 invoked by uid 500); 2 Jun 2011 16:42:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.axis.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 5293 invoked by uid 99); 2 Jun 2011 16:42:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 16:42:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 16:42:33 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id A06CCF0F9E for <[email protected]>; Thu, 2 Jun 2011 16:41:52 +0000 (UTC) Date: Thu, 2 Jun 2011 16:41:52 +0000 (UTC) From: "Garrett Holmstrom (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> In-Reply-To: <[email protected]> Subject: [jira] [Commented] (RAMPARTC-153) [PATCH] Memory leak in in_handler MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/RAMPARTC-153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042857#comment-13042857 ] Garrett Holmstrom commented on RAMPARTC-153: -------------------------------------------- David, are you able to point me to some code that triggers such a segfault? That might help me work out a better solution. > [PATCH] Memory leak in in_handler > --------------------------------- > > Key: RAMPARTC-153 > URL: https://issues.apache.org/jira/browse/RAMPARTC-153 > Project: Rampart/C > Issue Type: Bug > Components: Rampart-core > Affects Versions: 1.3.0 > Environment: Linux (all distributions) > Reporter: Garrett Holmstrom > Assignee: Malinda Kaushalye Kapuruge > Labels: patch > Attachments: rampart-trunk-memleak.patch > > > The rampart_in_handler_invoke function leaks memory every time it succeeds because it fails to free rampart_context before returning. The attached patch makes it call rampart_context_free before returning. > Ubuntu has been carrying a patch for this for some time, so it would be nice to get it upstream if possible. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jun 10 04:28:31 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 9EA274A2D for <[email protected]>; Fri, 10 Jun 2011 04:28:31 +0000 (UTC) Received: (qmail 79032 invoked by uid 500); 10 Jun 2011 04:28:31 -0000 Delivered-To: [email protected] Received: (qmail 78682 invoked by uid 500); 10 Jun 2011 04:28:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.axis.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 78668 invoked by uid 500); 10 Jun 2011 04:28:26 -0000 Delivered-To: [email protected] Received: (qmail 78664 invoked by uid 99); 10 Jun 2011 04:28:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 04:28:25 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: unknown (athena.apache.org: error in processing during lookup of [email protected]) Received: from [161.129.204.104] (HELO mail-pw0-f49.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 04:28:20 +0000 Received: by pwi8 with SMTP id 8so1497123pwi.22 for <[email protected]>; Thu, 09 Jun 2011 21:27:59 -0700 (PDT) Received: by 161.129.204.104 with SMTP id v1mr724037pbe.413.1307680079696; Thu, 09 Jun 2011 21:27:59 -0700 (PDT) Received: from [161.129.204.104] ([161.129.204.104]) by mx.google.com with ESMTPS id m9sm1988774pbd.23.2161.129.204.104.27.57 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 09 Jun 2011 21:27:58 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 10 Jun 2011 09:57:54 +0530 From: Damitha Kumarage <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20101027) MIME-Version: 1.0 To: Apache AXIS C Developers List <[email protected]>, Apache AXIS C User List <[email protected]> Subject: NTLM authentication support for Axis2/C Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi I have implemented NTLM support for Axis2/C. NTLM support is implemented as an optional feature for Axis2/C. By default this is disabled. To enable this feature you need the help of an external NTLM library which will be dynamically loaded into Axis2/C. You can use Heimdal [1] or libntml [2] as the external NTLM library. You can use any other NTLM library of your choice instead of one of these two. However then you need to write a wrapper library implementing Axis2/C NTLM external api called axis2_ntlm.h, for your external NTLM library. Note that Heimdal is MIT like license which is compatible with Apache2. I have commited the Heimdal wrapper to Axis2/C. It should also be noted that In Linux, when we use Heimdal library there is a intermittent authorization failure with the server. We cannot expect Heimdal to fix this bug since the developement is no longer supported. libntlm wrapper to Axis2/C works fine without any bugs. However libntlm is LGPL licensed. Because of this I need to verify with Apache2 legal discussions list whether I can commit the code for libntml wrapper for Axis2/C. If they reply positive then I think we can commit that libntml wrapper too, to Axis2/C. However the user of Axis2/C NTLM will still need to download libntlm library separately and link with Axis2/C at run time. I have also commited a client sample to test NTLM and some READ me files that would be useful to get started. The code is at src/core/transport/http/sender/ntlm and sample is at samples/client/ntlm Thanks, Damitha [1]http://www.h5l.org/ [2]http://josefsson.org/libntlm/ -- __________________________________________________________________ Damitha Kumarage Technical Lead; WSO2 Inc. "Oxygenating the Web Service Platform; " http://www.wso2.com/ blog: " http://damithakumarage.wordpress.com/ __________________________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jun 14 19:25:11 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 98B706452 for <[email protected]>; Tue, 14 Jun 2011 19:25:11 +0000 (UTC) Received: (qmail 1456 invoked by uid 500); 14 Jun 2011 19:25:11 -0000 Delivered-To: [email protected] Received: (qmail 1393 invoked by uid 500); 14 Jun 2011 19:25:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.axis.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 1377 invoked by uid 99); 14 Jun 2011 19:25:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 19:25:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 19:25:09 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id 36A37416320 for <[email protected]>; Tue, 14 Jun 2011 19:24:49 +0000 (UTC) Date: Tue, 14 Jun 2011 19:24:49 +0000 (UTC) From: "Pete MacKinnon (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> Subject: [jira] [Created] (AXIS2C-1549) Allow shared libs to be loaded using literal filenames as well as original inferred style MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Allow shared libs to be loaded using literal filenames as well as original inferred style ----------------------------------------------------------------------------------------- Key: AXIS2C-1549 URL: https://issues.apache.org/jira/browse/AXIS2C-1549 Project: Axis2-C Issue Type: Improvement Components: core/deployment, core/engine Affects Versions: 1.6.0 Environment: Linux (FC14) Reporter: Pete MacKinnon Attachments: literal_lib_name.patch Due to the packaging rules of some Linux distros such as Fedora and RHEL, the .so libs for an Axis2/C component might only be available in a devel version of an Axis2/C package. It would be desirable to have flexibility in the Axis2/C config to actually refer to the relative filename from a runtime package. For example: <messageReceiver class="libwsf_cpp_msg_recv.so.0"/> -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jun 14 19:25:11 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 996B96453 for <[email protected]>; Tue, 14 Jun 2011 19:25:11 +0000 (UTC) Received: (qmail 1496 invoked by uid 500); 14 Jun 2011 19:25:11 -0000 Delivered-To: [email protected] Received: (qmail 1397 invoked by uid 500); 14 Jun 2011 19:25:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.axis.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 1385 invoked by uid 99); 14 Jun 2011 19:25:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 19:25:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 19:25:09 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id 3D52B416321 for <[email protected]>; Tue, 14 Jun 2011 19:24:49 +0000 (UTC) Date: Tue, 14 Jun 2011 19:24:49 +0000 (UTC) From: "Pete MacKinnon (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> In-Reply-To: <[email protected]> Subject: [jira] [Updated] (AXIS2C-1549) Allow shared libs to be loaded using literal filenames as well as original inferred style MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AXIS2C-1549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pete MacKinnon updated AXIS2C-1549: ----------------------------------- Attachment: literal_lib_name.patch Patch to interpret a ".so" or ".dll" file name in a services.xml file as the literal relative file name to be loaded. > Allow shared libs to be loaded using literal filenames as well as original inferred style > ----------------------------------------------------------------------------------------- > > Key: AXIS2C-1549 > URL: https://issues.apache.org/jira/browse/AXIS2C-1549 > Project: Axis2-C > Issue Type: Improvement > Components: core/deployment, core/engine > Affects Versions: 1.6.0 > Environment: Linux (FC14) > Reporter: Pete MacKinnon > Labels: patch > Attachments: literal_lib_name.patch > > > Due to the packaging rules of some Linux distros such as Fedora and RHEL, the .so libs for an Axis2/C component might only be available in a devel version of an Axis2/C package. It would be desirable to have flexibility in the Axis2/C config to actually refer to the relative filename from a runtime package. > For example: > <messageReceiver class="libwsf_cpp_msg_recv.so.0"/> -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Jun 18 00:22:12 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 2E0D740A9 for <[email protected]>; Sat, 18 Jun 2011 00:22:12 +0000 (UTC) Received: (qmail 89922 invoked by uid 500); 18 Jun 2011 00:22:12 -0000 Delivered-To: [email protected] Received: (qmail 89883 invoked by uid 500); 18 Jun 2011 00:22:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.axis.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 89875 invoked by uid 99); 18 Jun 2011 00:22:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Jun 2011 00:22:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Jun 2011 00:22:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id 692B441FB84 for <[email protected]>; Sat, 18 Jun 2011 00:21:47 +0000 (UTC) Date: Sat, 18 Jun 2011 00:21:47 +0000 (UTC) From: "Kevin H (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> In-Reply-To: <9277531.40431291170371117.JavaMail.jira@thor> Subject: [jira] [Commented] (AXIS2C-1508) function axutil_strtol in util/src/types.c can't convert negative number from string.('-32134556' will be converted to 0) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13051412#comment-13051412 ] Kevin H commented on AXIS2C-1508: --------------------------------- Hi ran into this issue also when parsing a negative int64. I dont know why the axutil lib does not use standard C lib but here is a fix that i implemented for my project: #include <stdlib.h> AXIS2_EXTERN int64_t AXIS2_CALL axutil_strtol( const char *s, char **endptr, int base) { int64_t n; n = 0; n = strtoll( s, endptr, base ); return n; } > function axutil_strtol in util/src/types.c can't convert negative number from string.('-32134556' will be converted to 0) > ------------------------------------------------------------------------------------------------------------------------- > > Key: AXIS2C-1508 > URL: https://issues.apache.org/jira/browse/AXIS2C-1508 > Project: Axis2-C > Issue Type: Bug > Components: util > Affects Versions: 1.6.0 > Environment: all envireonments > Reporter: zengxianrui- > Original Estimate: 1h > Remaining Estimate: 1h > > you will know this problem when you look at this function, if input parameter s is '-1234567', then first char is '-', the for loop will breaks, the this function return 0 to you. > the function is : > AXIS2_EXTERN int64_t AXIS2_CALL > axutil_strtol( > const char *s, > char **endptr, > int base) > { > int i; > int64_t n; > n = 0; > for (i = 0; s[i] >= '0' && s[i] <= '9'; ++i) > { > n = 10 * n + (s[i] - '0'); > } > if(endptr != NULL) > { > *endptr = (char *)(s + i); > } > return n; > } -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Jun 19 04:52:50 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 0D08E47AF for <[email protected]>; Sun, 19 Jun 2011 04:52:50 +0000 (UTC) Received: (qmail 90424 invoked by uid 500); 19 Jun 2011 04:52:49 -0000 Delivered-To: [email protected] Received: (qmail 90232 invoked by uid 500); 19 Jun 2011 04:52:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.axis.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 90224 invoked by uid 99); 19 Jun 2011 04:52:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Jun 2011 04:52:41 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iy0-f173.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Jun 2011 04:52:33 +0000 Received: by iyb3 with SMTP id 3so1016675iyb.32 for <[email protected]>; Sat, 18 Jun 2011 21:52:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id:x-mailer :mime-version:content-type; bh=sHeqm9odh24GWlH0z6L4yv3BxTvu0q4dfGE8tVe0WME=; b=PErMMUNFK94d/NCE1Kr4YEJNPd5b33vUh4cSJ0aXmbCqgdGgzYOaK8HB1p83VAktdj W7BajDtCark49i+ePxnzAJ+JYZDjqibpLNPELjYz+7lbdG/GndZHUbCtTEa9MxCbcLvx lMtZBh9qrh4Vob2UoWFbPYzIqQHYOu4DglTls= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:x-mailer:mime-version:content-type; b=WNeiIPtnL4N0ppGaG4vxDhhol7+/h+oV7/OBaVC0oAIrwPjVCxV/3TumkJbzBKqniH kd0ulbgs3JDZHmG6KkEdnwlO4jA8tHfxLLovg2Er3O73kurc8yLBwaQvqsET9PYMEAxy 8G9qdxfUlZeZAg/5ia9V0Hm0T9VEB0wpQKdQg= Received: by 161.129.204.104 with SMTP id fc8mr3710844ibb.53.1308459132504; Sat, 18 Jun 2011 21:52:12 -0700 (PDT) Received: from ruanhuabin-PC (tu200023.ip.tsinghua.edu.cn [161.129.204.104]) by mx.google.com with ESMTPS id ft12sm2392505ibb.53.2161.129.204.104.52.09 (version=SSLv3 cipher=OTHER); Sat, 18 Jun 2011 21:52:11 -0700 (PDT) Date: Sun, 19 Jun 2011 12:52:09 +0800 From: "ruanhuabin" <[email protected]> To: "c-dev" <[email protected]> Subject: Is there any way to specify http response status code and add custom http header in response message in axis2/c 1.6.0 Message-ID: <[email protected]> X-mailer: Foxmail 6, 15, 201, 23 [cn] Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====003_Dragon316124670333_=====" --=====003_Dragon316124670333_===== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Dear Developer: Recently, I use axis2/c as an request parse engine(version:1.6.0) to write an Objective Storage System, But I encounter following two technique problem I do not how to do in aixis2/c 1.6.0: 1. Is there any way to specify http response status code,?for example, If request is handle successfully, I hope to return 201 as response http status code, rather than 200 by default. 2. Is there any way to add custom http header in response message? I try a lot of ways, but always failed. If axis2/c 1.6.0 can add custom http header in response message, can you give me a sample code ? Thank you very much for all of your help Looking forwading to your reply ruanhuabin Best Regards 2011-06-19 ruanhuabin --=====003_Dragon316124670333_===== Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: 7bit <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=us-ascii" http-equiv=Content-Type> <META name=GENERATOR content="MSHTML 9.00.8112.16421"><LINK rel=stylesheet href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}"></HEAD> <BODY style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"> <DIV><FONT size=5>Dear Developer:</FONT></DIV> <DIV><FONT size=5>Recently, I use axis2/c&nbsp; as an request parse engine(version:1.6.0) to write an Objective Storage System, But I encounter following two technique problem I do not how to do in aixis2/c 1.6.0:</FONT></DIV> <DIV style="TEXT-INDENT: 2em"><FONT size=5>1. Is&nbsp;there&nbsp;any&nbsp;way&nbsp;to&nbsp;specify&nbsp;http&nbsp;response&nbsp;status&nbsp;code,?for example, If request is handle successfully, I hope to return 201 as response http status code, rather than 200 by default.</FONT></DIV> <BLOCKQUOTE style="MARGIN-RIGHT: 0px" dir=ltr> <DIV><FONT size=5>2. Is there any way to add&nbsp;custom&nbsp;http&nbsp;header&nbsp; in response message? I try a lot of ways, but always failed. If axis2/c 1.6.0 can add custom http header in response message, can you give me a sample code ?</FONT></DIV></BLOCKQUOTE> <DIV><FONT size=5></FONT>&nbsp;</DIV> <DIV><FONT size=5>Thank you very much for all of your help</FONT></DIV> <DIV><FONT size=5>Looking forwading to your reply</FONT></DIV> <DIV><FONT size=5></FONT>&nbsp;</DIV> <DIV><FONT size=5>ruanhuabin</FONT></DIV> <DIV><FONT size=5>Best Regards</FONT></DIV> <DIV><FONT size=5></FONT>&nbsp;</DIV> <DIV align=left><FONT color=#c0c0c0 size=2>2011-06-19 </FONT></DIV><FONT size=2> <HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2> <DIV><FONT color=#c0c0c0 size=2><SPAN>ruanhuabin</SPAN> </FONT></DIV></FONT></BODY></HTML> --=====003_Dragon316124670333_=====-- From [email protected] Tue Jun 28 21:25:55 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id CF2DE67B0 for <[email protected]>; Tue, 28 Jun 2011 21:25:55 +0000 (UTC) Received: (qmail 97303 invoked by uid 500); 28 Jun 2011 21:25:55 -0000 Delivered-To: [email protected] Received: (qmail 97188 invoked by uid 500); 28 Jun 2011 21:25:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.axis.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 97180 invoked by uid 99); 28 Jun 2011 21:25:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jun 2011 21:25:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jun 2011 21:25:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id DA6F841307B for <[email protected]>; Tue, 28 Jun 2011 21:25:30 +0000 (UTC) Date: Tue, 28 Jun 2011 21:25:30 +0000 (UTC) From: "Kevin H (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> Subject: [jira] [Created] (AXIS2C-1550) HTTPS using axis2c.xml or embedded axis2 lib does not work with SSL authentication? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org HTTPS using axis2c.xml or embedded axis2 lib does not work with SSL authentication? ----------------------------------------------------------------------------------- Key: AXIS2C-1550 URL: https://issues.apache.org/jira/browse/AXIS2C-1550 Project: Axis2-C Issue Type: Bug Reporter: Kevin H Hi all, I have followed this instruction here to set up an https request (client) to a server but encountered error. I am not sure why. Basically i found that the changes to axis2.xml is needed while the changes to the C codes doesnt make any effect. However, the changes to axis2.xml still does not get me thru the SSL authentication. The instruction is here: http://damithakumarage.wordpress.com/ I basically have the CA cert, the key, and the client cert in 3 different files. The instruction said i needed to "cat" the client cert and the key to 1 same file, which i did. On another attempt, I did manage to write my own client codes (using libcurl) with these credentials which connects OK to the server. But somehow the axis2c client service does not work. In details, the changes i made are these: In axis2c.xml: Enable https both in receiver and sender: <transportReceiver name="https" class="axis2_http_receiver"> <parameter name="port" locked="false">6060</parameter> <parameter name="exposeHeaders" locked="true">false</parameter> </transportReceiver> <transportSender name="https" class="axis2_http_sender"> <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter> <parameter name="xml-declaration" insert="false"/> <parameter name="SERVER_CERT">/path/ca-file.pem</parameter> <parameter name="KEY_FILE">/path/client.pem</parameter> </transportSender> My understanding is this is all i need to make the transport layer carry the credentials, which are needed for the server to handshake/authenticate this client code. But the error i get from the logs is like this: [Fri Jun 24 17:56:56 2011] [error] libcurl/axis2_libcurl.c(538) NSS: client certificate not found (nickname not specified) [Fri Jun 24 17:56:56 2011] [error] libcurl/axis2_libcurl.c(540) Error occurred in transport [Fri Jun 24 17:56:56 2011] [error] engine.c(179) Transport sender invoke failed I wonder what i did wrong? Any help is greatly appreciated. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jun 28 21:31:51 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 985486334 for <[email protected]>; Tue, 28 Jun 2011 21:31:51 +0000 (UTC) Received: (qmail 4406 invoked by uid 500); 28 Jun 2011 21:31:51 -0000 Delivered-To: [email protected] Received: (qmail 4021 invoked by uid 500); 28 Jun 2011 21:31:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.axis.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 4012 invoked by uid 99); 28 Jun 2011 21:31:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jun 2011 21:31:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jun 2011 21:31:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id 8E6F84133F3 for <[email protected]>; Tue, 28 Jun 2011 21:31:28 +0000 (UTC) Date: Tue, 28 Jun 2011 21:31:28 +0000 (UTC) From: "Kevin H (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> In-Reply-To: <[email protected]> Subject: [jira] [Updated] (AXIS2C-1550) HTTPS using axis2c.xml or embedded axis2 lib does not work with SSL authentication? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AXIS2C-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin H updated AXIS2C-1550: ---------------------------- Description: Hi all, I have followed this instruction here to set up an https request (client) to a server but encountered error. I am not sure why. Basically i found that the changes to axis2.xml is needed while the changes to the C codes doesnt make any effect. However, the changes to axis2.xml still does not get me thru the SSL authentication. The instruction is here: http://people.apache.org/~dumindu/docs/HowToConfigureSSL.html I basically have the CA cert, the key, and the client cert in 3 different files. The instruction said i needed to "cat" the client cert and the key to 1 same file, which i did. On another attempt, I did manage to write my own client codes (using libcurl) with these credentials which connects OK to the server. But somehow the axis2c client service does not work. In details, the changes i made are these: In axis2c.xml: Enable https both in receiver and sender: <transportReceiver name="https" class="axis2_http_receiver"> <parameter name="port" locked="false">6060</parameter> <parameter name="exposeHeaders" locked="true">false</parameter> </transportReceiver> <transportSender name="https" class="axis2_http_sender"> <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter> <parameter name="xml-declaration" insert="false"/> <parameter name="SERVER_CERT">/path/ca-file.pem</parameter> <parameter name="KEY_FILE">/path/client.pem</parameter> </transportSender> My understanding is this is all i need to make the transport layer carry the credentials, which are needed for the server to handshake/authenticate this client code. But the error i get from the logs is like this: [Fri Jun 24 17:56:56 2011] [error] libcurl/axis2_libcurl.c(538) NSS: client certificate not found (nickname not specified) [Fri Jun 24 17:56:56 2011] [error] libcurl/axis2_libcurl.c(540) Error occurred in transport [Fri Jun 24 17:56:56 2011] [error] engine.c(179) Transport sender invoke failed I wonder what i did wrong? Any help is greatly appreciated. was: Hi all, I have followed this instruction here to set up an https request (client) to a server but encountered error. I am not sure why. Basically i found that the changes to axis2.xml is needed while the changes to the C codes doesnt make any effect. However, the changes to axis2.xml still does not get me thru the SSL authentication. The instruction is here: http://damithakumarage.wordpress.com/ I basically have the CA cert, the key, and the client cert in 3 different files. The instruction said i needed to "cat" the client cert and the key to 1 same file, which i did. On another attempt, I did manage to write my own client codes (using libcurl) with these credentials which connects OK to the server. But somehow the axis2c client service does not work. In details, the changes i made are these: In axis2c.xml: Enable https both in receiver and sender: <transportReceiver name="https" class="axis2_http_receiver"> <parameter name="port" locked="false">6060</parameter> <parameter name="exposeHeaders" locked="true">false</parameter> </transportReceiver> <transportSender name="https" class="axis2_http_sender"> <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter> <parameter name="xml-declaration" insert="false"/> <parameter name="SERVER_CERT">/path/ca-file.pem</parameter> <parameter name="KEY_FILE">/path/client.pem</parameter> </transportSender> My understanding is this is all i need to make the transport layer carry the credentials, which are needed for the server to handshake/authenticate this client code. But the error i get from the logs is like this: [Fri Jun 24 17:56:56 2011] [error] libcurl/axis2_libcurl.c(538) NSS: client certificate not found (nickname not specified) [Fri Jun 24 17:56:56 2011] [error] libcurl/axis2_libcurl.c(540) Error occurred in transport [Fri Jun 24 17:56:56 2011] [error] engine.c(179) Transport sender invoke failed I wonder what i did wrong? Any help is greatly appreciated. > HTTPS using axis2c.xml or embedded axis2 lib does not work with SSL authentication? > ----------------------------------------------------------------------------------- > > Key: AXIS2C-1550 > URL: https://issues.apache.org/jira/browse/AXIS2C-1550 > Project: Axis2-C > Issue Type: Bug > Reporter: Kevin H > > Hi all, > I have followed this instruction here to set up an https request (client) to a server but encountered error. I am not sure why. Basically i found that the changes to axis2.xml is needed while the changes to the C codes doesnt make any effect. However, the changes to axis2.xml still does not get me thru the SSL authentication. > The instruction is here: > http://people.apache.org/~dumindu/docs/HowToConfigureSSL.html > I basically have the CA cert, the key, and the client cert in 3 different files. The instruction said i needed to "cat" the client cert and the key to 1 same file, which i did. > On another attempt, I did manage to write my own client codes (using libcurl) with these credentials which connects OK to the server. But somehow the axis2c client service does not work. > In details, the changes i made are these: > In axis2c.xml: > Enable https both in receiver and sender: > <transportReceiver name="https" class="axis2_http_receiver"> > <parameter name="port" locked="false">6060</parameter> > <parameter name="exposeHeaders" locked="true">false</parameter> > </transportReceiver> > <transportSender name="https" class="axis2_http_sender"> > <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter> > <parameter name="xml-declaration" insert="false"/> > <parameter name="SERVER_CERT">/path/ca-file.pem</parameter> > <parameter name="KEY_FILE">/path/client.pem</parameter> > </transportSender> > My understanding is this is all i need to make the transport layer carry the credentials, which are needed for the server to handshake/authenticate this client code. > But the error i get from the logs is like this: > [Fri Jun 24 17:56:56 2011] [error] libcurl/axis2_libcurl.c(538) NSS: client certificate not found (nickname not specified) > [Fri Jun 24 17:56:56 2011] [error] libcurl/axis2_libcurl.c(540) Error occurred in transport > [Fri Jun 24 17:56:56 2011] [error] engine.c(179) Transport sender invoke failed > I wonder what i did wrong? Any help is greatly appreciated. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jun 29 09:26:06 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id BB87E46B3 for <[email protected]>; Wed, 29 Jun 2011 09:26:06 +0000 (UTC) Received: (qmail 97228 invoked by uid 500); 29 Jun 2011 09:26:01 -0000 Delivered-To: [email protected] Received: (qmail 96449 invoked by uid 500); 29 Jun 2011 09:25:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.axis.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 96365 invoked by uid 99); 29 Jun 2011 09:25:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jun 2011 09:25:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jun 2011 09:25:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id 04178439DB0 for <[email protected]>; Wed, 29 Jun 2011 09:25:29 +0000 (UTC) Date: Wed, 29 Jun 2011 09:25:29 +0000 (UTC) From: "Leo Wang (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> Subject: [jira] [Created] (AXIS2C-1551) Crash when reusing svc_client with non-blocking call MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Crash when reusing svc_client with non-blocking call ---------------------------------------------------- Key: AXIS2C-1551 URL: https://issues.apache.org/jira/browse/AXIS2C-1551 Project: Axis2-C Issue Type: Bug Components: core/clientapi Affects Versions: 1.6.0 Environment: windows Reporter: Leo Wang Priority: Critical ; I have an issue when I try using non-blocking axis2/c call to access a web service. Please help me. The pseudo code is as follow, Firstly, start a web request as follow, axis2_callback_t *callback = axis2_callback_create(env); axis2_callback_set_on_complete(callback, callback_on_complete); axis2_callback_set_on_error(callback, callback_on_error); axis2_svc_client_send_receive_non_blocking(svc_client, env, the_1st_request, callback); In callback_on_complete, I try let the same svc_client to send out the 2nd request, axis2_callback_t *callback = axis2_callback_create(env); axis2_callback_set_on_complete(callback, callback_on_complete); axis2_callback_set_on_error(callback, callback_on_error); axis2_svc_client_send_receive_non_blocking(svc_client, env, the_2nd_request, callback); The problem is, when the 2nd non-blocking call makes the process crash. I debugged into the code; It seems send_receive_non_blocking puts the corresponding blocking method to thread pool, and the thread sent the request and get the response, the callback_on_complete get executed. Unfortunately, the thread doesn't exit immediately, it try to free something; if (args_list->callback) { axis2_callback_invoke_on_complete(args_list->callback, th_env, args_list->op_client->async_result); axis2_callback_set_complete(args_list->callback, th_env, AXIS2_TRUE); } /* Clean up memory */ axis2_async_result_free(args_list->op_client->async_result, th_env); But the 2nd thread, started by axis2_svc_client_send_receive_non_blocking in callback_on_complete, has freed the op_client before the 1st thread tries freeing op_client->async_result. Please tell me how to check if one non-blocking call is completely done. I mean, the svc_client is ready for reusing or deleting. It seems callback_on_complete is not the answer. BTW, Why my program works this way, is because it need upload some huge data to server with SOAP/MTOM, the data has to be split into multiple packages; otherwise one failure could make the resending data cost too much. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jun 29 09:30:08 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id AA5F64884 for <[email protected]>; Wed, 29 Jun 2011 09:30:08 +0000 (UTC) Received: (qmail 11320 invoked by uid 500); 29 Jun 2011 09:30:08 -0000 Delivered-To: [email protected] Received: (qmail 9747 invoked by uid 500); 29 Jun 2011 09:29:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.axis.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 9725 invoked by uid 99); 29 Jun 2011 09:29:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jun 2011 09:29:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jun 2011 09:29:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id 88168438066 for <[email protected]>; Wed, 29 Jun 2011 09:29:29 +0000 (UTC) Date: Wed, 29 Jun 2011 09:29:29 +0000 (UTC) From: "Leo Wang (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> In-Reply-To: <[email protected]> Subject: [jira] [Updated] (AXIS2C-1551) Crash when reusing svc_client with non-blocking call MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leo Wang updated AXIS2C-1551: ----------------------------- Description: I have an issue when I try using non-blocking axis2/c call to access a web service. Please help me. The pseudo code is as follow, Firstly, start a web request as follow, axis2_callback_t *callback = axis2_callback_create(env); axis2_callback_set_on_complete(callback, callback_on_complete); axis2_callback_set_on_error(callback, callback_on_error); axis2_svc_client_send_receive_non_blocking(svc_client, env, the_1st_request, callback); In callback_on_complete, I try let the same svc_client to send out the 2nd request, axis2_callback_t *callback = axis2_callback_create(env); axis2_callback_set_on_complete(callback, callback_on_complete); axis2_callback_set_on_error(callback, callback_on_error); axis2_svc_client_send_receive_non_blocking(svc_client, env, the_2nd_request, callback); The problem is, the 2nd non-blocking call makes the process crash. I debugged into the code; It seems send_receive_non_blocking puts the corresponding blocking method to thread pool, and the thread sent the request and get the response, the callback_on_complete get executed. Unfortunately, the thread doesn't exit immediately, it try to free something; if (args_list->callback) { axis2_callback_invoke_on_complete(args_list->callback, th_env, args_list->op_client->async_result); axis2_callback_set_complete(args_list->callback, th_env, AXIS2_TRUE); } /* Clean up memory */ axis2_async_result_free(args_list->op_client->async_result, th_env); But the 2nd thread, started by axis2_svc_client_send_receive_non_blocking in callback_on_complete, has freed the op_client before the 1st thread tries freeing op_client->async_result. Please tell me how to check if one non-blocking call is completely done. I mean, the svc_client is ready for reusing or deleting. It seems callback_on_complete is not the answer. BTW, Why my program works this way, is because it need upload some huge data to server with SOAP/MTOM, the data has to be split into multiple packages; otherwise one failure could make the resending data cost too much. was: ; I have an issue when I try using non-blocking axis2/c call to access a web service. Please help me. The pseudo code is as follow, Firstly, start a web request as follow, axis2_callback_t *callback = axis2_callback_create(env); axis2_callback_set_on_complete(callback, callback_on_complete); axis2_callback_set_on_error(callback, callback_on_error); axis2_svc_client_send_receive_non_blocking(svc_client, env, the_1st_request, callback); In callback_on_complete, I try let the same svc_client to send out the 2nd request, axis2_callback_t *callback = axis2_callback_create(env); axis2_callback_set_on_complete(callback, callback_on_complete); axis2_callback_set_on_error(callback, callback_on_error); axis2_svc_client_send_receive_non_blocking(svc_client, env, the_2nd_request, callback); The problem is, when the 2nd non-blocking call makes the process crash. I debugged into the code; It seems send_receive_non_blocking puts the corresponding blocking method to thread pool, and the thread sent the request and get the response, the callback_on_complete get executed. Unfortunately, the thread doesn't exit immediately, it try to free something; if (args_list->callback) { axis2_callback_invoke_on_complete(args_list->callback, th_env, args_list->op_client->async_result); axis2_callback_set_complete(args_list->callback, th_env, AXIS2_TRUE); } /* Clean up memory */ axis2_async_result_free(args_list->op_client->async_result, th_env); But the 2nd thread, started by axis2_svc_client_send_receive_non_blocking in callback_on_complete, has freed the op_client before the 1st thread tries freeing op_client->async_result. Please tell me how to check if one non-blocking call is completely done. I mean, the svc_client is ready for reusing or deleting. It seems callback_on_complete is not the answer. BTW, Why my program works this way, is because it need upload some huge data to server with SOAP/MTOM, the data has to be split into multiple packages; otherwise one failure could make the resending data cost too much. > Crash when reusing svc_client with non-blocking call > ---------------------------------------------------- > > Key: AXIS2C-1551 > URL: https://issues.apache.org/jira/browse/AXIS2C-1551 > Project: Axis2-C > Issue Type: Bug > Components: core/clientapi > Affects Versions: 1.6.0 > Environment: windows > Reporter: Leo Wang > Priority: Critical > Labels: non-blocking, reuse > > I have an issue when I try using non-blocking axis2/c call to access a web service. Please help me. > The pseudo code is as follow, > Firstly, start a web request as follow, > axis2_callback_t *callback = axis2_callback_create(env); > axis2_callback_set_on_complete(callback, callback_on_complete); > axis2_callback_set_on_error(callback, callback_on_error); > axis2_svc_client_send_receive_non_blocking(svc_client, env, the_1st_request, callback); > In callback_on_complete, I try let the same svc_client to send out the 2nd request, > axis2_callback_t *callback = axis2_callback_create(env); > axis2_callback_set_on_complete(callback, callback_on_complete); > axis2_callback_set_on_error(callback, callback_on_error); > axis2_svc_client_send_receive_non_blocking(svc_client, env, the_2nd_request, callback); > The problem is, the 2nd non-blocking call makes the process crash. > I debugged into the code; It seems send_receive_non_blocking puts the corresponding blocking method to thread pool, and the thread sent the request and get the response, the callback_on_complete get executed. Unfortunately, the thread doesn't exit immediately, it try to free something; > if (args_list->callback) > { > axis2_callback_invoke_on_complete(args_list->callback, > th_env, > args_list->op_client->async_result); > > axis2_callback_set_complete(args_list->callback, th_env, AXIS2_TRUE); > } > > /* Clean up memory */ > axis2_async_result_free(args_list->op_client->async_result, th_env); > But the 2nd thread, started by axis2_svc_client_send_receive_non_blocking in callback_on_complete, has freed the op_client before the 1st thread tries freeing op_client->async_result. > Please tell me how to check if one non-blocking call is completely done. I mean, the svc_client is ready for reusing or deleting. It seems callback_on_complete is not the answer. > BTW, Why my program works this way, is because it need upload some huge data to server with SOAP/MTOM, the data has to be split into multiple packages; otherwise one failure could make the resending data cost too much. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jun 29 20:02:15 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id C4A464945 for <[email protected]>; Wed, 29 Jun 2011 20:02:15 +0000 (UTC) Received: (qmail 93228 invoked by uid 500); 29 Jun 2011 20:02:15 -0000 Delivered-To: [email protected] Received: (qmail 93124 invoked by uid 500); 29 Jun 2011 20:02:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.axis.apache.org> Reply-To: "Apache AXIS C Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 93099 invoked by uid 99); 29 Jun 2011 20:02:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jun 2011 20:02:14 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO omr12.networksolutionsemail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jun 2011 20:02:08 +0000 Received: from cm-omr4 (mail.networksolutionsemail.com [161.129.204.104]) by omr12.networksolutionsemail.com (8.13.6/8.13.6) with ESMTP id p5TK1jrG010949 for <[email protected]>; Wed, 29 Jun 2011 16:01:45 -0400 Authentication-Results: cm-omr4 [email protected]; auth=pass (LOGIN) X-Authenticated-UID: [email protected] Received: from [161.129.204.104] ([161.129.204.104:53348] helo=gracie) by cm-omr4 (envelope-from <[email protected]>) (ecelerity 161.129.204.104 r(31179/31189)) with ESMTPA id 57/97-12290-8A48B0E4; Wed, 29 Jun 2011 16:01:45 -0400 Message-ID: <3ECAFC88C4C741989303547314712E75@gracie> From: "Steve Leland" <[email protected]> To: "Apache AXIS C Developers List" <[email protected]> References: <[email protected]> In-Reply-To: <[email protected]> Subject: Re: [jira] [Updated] (AXIS2C-1550) HTTPS using axis2c.xml or embedded axis2 lib does not work with SSL authentication? Date: Wed, 29 Jun 2011 16:01:48 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Windows Mail 6.0.6002.18197 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18463 This works in our axis2c.xml: <transportSender name="https" class="axis2_http_sender"> <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter> <parameter name="xml-declaration" insert="false"/> </transportSender> <parameter name="SERVER_CERT">/path/ca-file.pem</parameter> <parameter name="KEY_FILE">/path/client.pem</parameter> If you deploy to windows, be sure to use a fully qualified paths. Cheers! Steve ----- Original Message ----- From: "Kevin H (JIRA)" <[email protected]> To: <[email protected]> Sent: Tuesday, June 28, 2011 5:31 PM Subject: [jira] [Updated] (AXIS2C-1550) HTTPS using axis2c.xml or embedded axis2 lib does not work with SSL authentication? > > [ > https://issues.apache.org/jira/browse/AXIS2C-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] > > Kevin H updated AXIS2C-1550: > ---------------------------- > > Description: > Hi all, > > I have followed this instruction here to set up an https request (client) > to a server but encountered error. I am not sure why. Basically i found > that the changes to axis2.xml is needed while the changes to the C codes > doesnt make any effect. However, the changes to axis2.xml still does not > get me thru the SSL authentication. > > The instruction is here: > > http://people.apache.org/~dumindu/docs/HowToConfigureSSL.html > > I basically have the CA cert, the key, and the client cert in 3 different > files. The instruction said i needed to "cat" the client cert and the key > to 1 same file, which i did. > > On another attempt, I did manage to write my own client codes (using > libcurl) with these credentials which connects OK to the server. But > somehow the axis2c client service does not work. > > In details, the changes i made are these: > > In axis2c.xml: > > Enable https both in receiver and sender: > > <transportReceiver name="https" class="axis2_http_receiver"> > <parameter name="port" locked="false">6060</parameter> > <parameter name="exposeHeaders" locked="true">false</parameter> > </transportReceiver> > > <transportSender name="https" class="axis2_http_sender"> > <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter> > <parameter name="xml-declaration" insert="false"/> > <parameter name="SERVER_CERT">/path/ca-file.pem</parameter> > <parameter name="KEY_FILE">/path/client.pem</parameter> > </transportSender> > > My understanding is this is all i need to make the transport layer carry > the credentials, which are needed for the server to handshake/authenticate > this client code. > > But the error i get from the logs is like this: > > [Fri Jun 24 17:56:56 2011] [error] libcurl/axis2_libcurl.c(538) NSS: > client certificate not found (nickname not specified) > [Fri Jun 24 17:56:56 2011] [error] libcurl/axis2_libcurl.c(540) Error > occurred in transport > [Fri Jun 24 17:56:56 2011] [error] engine.c(179) Transport sender invoke > failed > > I wonder what i did wrong? Any help is greatly appreciated. > > was: > Hi all, > > I have followed this instruction here to set up an https request (client) > to a server but encountered error. I am not sure why. Basically i found > that the changes to axis2.xml is needed while the changes to the C codes > doesnt make any effect. However, the changes to axis2.xml still does not > get me thru the SSL authentication. > > The instruction is here: > > http://damithakumarage.wordpress.com/ > > I basically have the CA cert, the key, and the client cert in 3 different > files. The instruction said i needed to "cat" the client cert and the key > to 1 same file, which i did. > > On another attempt, I did manage to write my own client codes (using > libcurl) with these credentials which connects OK to the server. But > somehow the axis2c client service does not work. > > In details, the changes i made are these: > > In axis2c.xml: > > Enable https both in receiver and sender: > > <transportReceiver name="https" class="axis2_http_receiver"> > <parameter name="port" locked="false">6060</parameter> > <parameter name="exposeHeaders" locked="true">false</parameter> > </transportReceiver> > > <transportSender name="https" class="axis2_http_sender"> > <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter> > <parameter name="xml-declaration" insert="false"/> > <parameter name="SERVER_CERT">/path/ca-file.pem</parameter> > <parameter name="KEY_FILE">/path/client.pem</parameter> > </transportSender> > > My understanding is this is all i need to make the transport layer carry > the credentials, which are needed for the server to handshake/authenticate > this client code. > > But the error i get from the logs is like this: > > [Fri Jun 24 17:56:56 2011] [error] libcurl/axis2_libcurl.c(538) NSS: > client certificate not found (nickname not specified) > [Fri Jun 24 17:56:56 2011] [error] libcurl/axis2_libcurl.c(540) Error > occurred in transport > [Fri Jun 24 17:56:56 2011] [error] engine.c(179) Transport sender invoke > failed > > I wonder what i did wrong? Any help is greatly appreciated. > > >> HTTPS using axis2c.xml or embedded axis2 lib does not work with SSL >> authentication? >> ----------------------------------------------------------------------------------- >> >> Key: AXIS2C-1550 >> URL: https://issues.apache.org/jira/browse/AXIS2C-1550 >> Project: Axis2-C >> Issue Type: Bug >> Reporter: Kevin H >> >> Hi all, >> I have followed this instruction here to set up an https request (client) >> to a server but encountered error. I am not sure why. Basically i found >> that the changes to axis2.xml is needed while the changes to the C codes >> doesnt make any effect. However, the changes to axis2.xml still does not >> get me thru the SSL authentication. >> The instruction is here: >> http://people.apache.org/~dumindu/docs/HowToConfigureSSL.html >> I basically have the CA cert, the key, and the client cert in 3 different >> files. The instruction said i needed to "cat" the client cert and the key >> to 1 same file, which i did. >> On another attempt, I did manage to write my own client codes (using >> libcurl) with these credentials which connects OK to the server. But >> somehow the axis2c client service does not work. >> In details, the changes i made are these: >> In axis2c.xml: >> Enable https both in receiver and sender: >> <transportReceiver name="https" class="axis2_http_receiver"> >> <parameter name="port" locked="false">6060</parameter> >> <parameter name="exposeHeaders" locked="true">false</parameter> >> </transportReceiver> >> <transportSender name="https" class="axis2_http_sender"> >> <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter> >> <parameter name="xml-declaration" insert="false"/> >> <parameter name="SERVER_CERT">/path/ca-file.pem</parameter> >> <parameter name="KEY_FILE">/path/client.pem</parameter> >> </transportSender> >> My understanding is this is all i need to make the transport layer carry >> the credentials, which are needed for the server to >> handshake/authenticate this client code. >> But the error i get from the logs is like this: >> [Fri Jun 24 17:56:56 2011] [error] libcurl/axis2_libcurl.c(538) NSS: >> client certificate not found (nickname not specified) >> [Fri Jun 24 17:56:56 2011] [error] libcurl/axis2_libcurl.c(540) Error >> occurred in transport >> [Fri Jun 24 17:56:56 2011] [error] engine.c(179) Transport sender invoke >> failed >> I wonder what i did wrong? Any help is greatly appreciated. > > -- > This message is automatically generated by JIRA. > For more information on JIRA, see: http://www.atlassian.com/software/jira > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Sun Apr 01 13:12:58 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34752 invoked from network); 1 Apr 2007 13:12:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2007 13:12:58 -0000 Received: (qmail 65749 invoked by uid 500); 1 Apr 2007 13:13:04 -0000 Delivered-To: [email protected] Received: (qmail 65732 invoked by uid 500); 1 Apr 2007 13:13:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 65720 invoked by uid 99); 1 Apr 2007 13:13:03 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2007 06:13:03 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2007 06:12:52 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 3A82771404A for <[email protected]>; Sun, 1 Apr 2007 06:12:32 -0700 (PDT) Message-ID: <18063131.1175433152228.JavaMail.jira@brutus> Date: Sun, 1 Apr 2007 06:12:32 -0700 (PDT) From: "bhaskar bhagawati (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XERCESC-1691) Sometimes DOMBuilderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bparseURI() function returns null. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Sometimes DOMBuilderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bparseURI() function returns null. -------------------------------------------------------- Key: XERCESC-1691 URL: https://issues.apache.org/jira/browse/XERCESC-1691 Project: Xerces-C++ Issue Type: Bug Affects Versions: 2.7.0 Environment: Microsoft Windows xp professional/version 20002/ SP2, Visual studio 2005 SP1, Pantium 4 processor, 504MB RAM Reporter: bhaskar bhagawati Fix For: 2.7.0 I read to and write from an xml file repeatedly from different threads. For reading and writing I use DOMBuilderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bparseURI function, DOMWriteracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bwriteNode function and LocalFileFormatTarget class object. I have used ACE_Thread_Mutex in my program, so that if one thread is reading or writing to the xml file, no other thread can read or write to the file. Sometimes parseURI function returns null. And also sometimes my program crashes while creating LocalFileFormatTarget class object. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 02 07:02:56 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83769 invoked from network); 2 Apr 2007 07:02:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2007 07:02:55 -0000 Received: (qmail 29145 invoked by uid 500); 2 Apr 2007 07:03:02 -0000 Delivered-To: [email protected] Received: (qmail 28865 invoked by uid 500); 2 Apr 2007 07:03:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 28854 invoked by uid 99); 2 Apr 2007 07:03:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 00:03:01 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 00:02:53 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id F0E57714068 for <[email protected]>; Mon, 2 Apr 2007 00:02:32 -0700 (PDT) Message-ID: <15826423.1175497352983.JavaMail.jira@brutus> Date: Mon, 2 Apr 2007 00:02:32 -0700 (PDT) From: "Alberto Massari (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (XERCESC-1691) Sometimes DOMBuilderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bparseURI() function returns null. In-Reply-To: <18063131.1175433152228.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XERCESC-1691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485953 ] Alberto Massari commented on XERCESC-1691: ------------------------------------------ Please complete the bug report; as it stands now, it's going to be closed as incomplete/not reproducible. Either add your complete source code, or debug your code to find out what are the threads doing when the unexpected behavior occurs. Alberto > Sometimes DOMBuilderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bparseURI() function returns null. > -------------------------------------------------------- > > Key: XERCESC-1691 > URL: https://issues.apache.org/jira/browse/XERCESC-1691 > Project: Xerces-C++ > Issue Type: Bug > Affects Versions: 2.7.0 > Environment: Microsoft Windows xp professional/version 20002/ SP2, Visual studio 2005 SP1, Pantium 4 processor, 504MB RAM > Reporter: bhaskar bhagawati > Fix For: 2.7.0 > > > I read to and write from an xml file repeatedly from different threads. For reading and writing I use DOMBuilderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bparseURI function, DOMWriteracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bwriteNode function and LocalFileFormatTarget class object. I have used ACE_Thread_Mutex in my program, so that if one thread is reading or writing to the xml file, no other thread can read or write to the file. Sometimes parseURI function returns null. And also sometimes my program crashes while creating LocalFileFormatTarget class object. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 02 11:55:36 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76675 invoked from network); 2 Apr 2007 11:55:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2007 11:55:35 -0000 Received: (qmail 31350 invoked by uid 500); 2 Apr 2007 11:55:42 -0000 Delivered-To: [email protected] Received: (qmail 31185 invoked by uid 500); 2 Apr 2007 11:55:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31169 invoked by uid 99); 2 Apr 2007 11:55:40 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 04:55:40 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO talk.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 04:55:26 -0700 Received: from [161.129.204.104] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HYL7q-0001mL-23 for [email protected]; Mon, 02 Apr 2007 04:55:06 -0700 Message-ID: <[email protected]> Date: Mon, 2 Apr 2007 04:55:06 -0700 (PDT) From: Vishnu <[email protected]> To: [email protected] Subject: Clearing the DOM Document MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org I created a DOMDocument just by statement DOM_Document variable1; Then, DOMNodes, DOMElements, Attributes are appened to DOM_Document reading from a char * pointer, using the API cfgdbParseXML(variable1, char *str, length of str) (I guess this is internal function). Now, after using the DOM_Document, I want to clear the DOM_Document, so that, DOM_Document attributes won't be available even in coredump, i.e., if I take the gcore in linux and try to apply "strings" command over that core, it shouldn't give me the attributes. Can you please help me in finding a way to clear the DOM_Document? -- View this message in context: http://www.nabble.com/Clearing-the-DOM-Document-tf3505248.html#a9789236 Sent from the Xerces - C - Dev mailing list [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 02 13:38:56 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18588 invoked from network); 2 Apr 2007 13:38:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2007 13:38:55 -0000 Received: (qmail 21570 invoked by uid 500); 2 Apr 2007 13:39:02 -0000 Delivered-To: [email protected] Received: (qmail 21420 invoked by uid 500); 2 Apr 2007 13:39:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 21409 invoked by uid 99); 2 Apr 2007 13:39:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 06:39:01 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 06:38:52 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 7679C714049 for <[email protected]>; Mon, 2 Apr 2007 06:38:32 -0700 (PDT) Message-ID: <27678850.1175521112482.JavaMail.jira@brutus> Date: Mon, 2 Apr 2007 06:38:32 -0700 (PDT) From: "Jesse Pelton (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (XERCESC-1691) Sometimes DOMBuilderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bparseURI() function returns null. In-Reply-To: <18063131.1175433152228.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XERCESC-1691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486009 ] Jesse Pelton commented on XERCESC-1691: --------------------------------------- Note also that there's a helpful mailing list. You're more likely to get assistance with this sort of problem there, and perhaps you will discover that the bug is in fact in your code. Alberto's comments regarding the information you should provide is valid in any case. > Sometimes DOMBuilderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bparseURI() function returns null. > -------------------------------------------------------- > > Key: XERCESC-1691 > URL: https://issues.apache.org/jira/browse/XERCESC-1691 > Project: Xerces-C++ > Issue Type: Bug > Affects Versions: 2.7.0 > Environment: Microsoft Windows xp professional/version 20002/ SP2, Visual studio 2005 SP1, Pantium 4 processor, 504MB RAM > Reporter: bhaskar bhagawati > Fix For: 2.7.0 > > > I read to and write from an xml file repeatedly from different threads. For reading and writing I use DOMBuilderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bparseURI function, DOMWriteracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bwriteNode function and LocalFileFormatTarget class object. I have used ACE_Thread_Mutex in my program, so that if one thread is reading or writing to the xml file, no other thread can read or write to the file. Sometimes parseURI function returns null. And also sometimes my program crashes while creating LocalFileFormatTarget class object. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 03 14:48:12 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14621 invoked from network); 3 Apr 2007 14:48:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Apr 2007 14:48:01 -0000 Received: (qmail 35389 invoked by uid 500); 3 Apr 2007 14:48:05 -0000 Delivered-To: [email protected] Received: (qmail 35367 invoked by uid 500); 3 Apr 2007 14:48:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 35352 invoked by uid 99); 3 Apr 2007 14:48:04 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 07:48:04 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 07:47:52 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 61932714045 for <[email protected]>; Tue, 3 Apr 2007 07:47:32 -0700 (PDT) Message-ID: <8518074.1175611652327.JavaMail.jira@brutus> Date: Tue, 3 Apr 2007 07:47:32 -0700 (PDT) From: "Luzius Blatter (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XERCESC-1692) A createElement() - relase() call sequence doesn't release the allocated memory. The memory is blocked until the document is released. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org A createElement() - relase() call sequence doesn't release the allocated memory. The memory is blocked until the document is released. -------------------------------------------------------------------------------------------------------------------------------------- Key: XERCESC-1692 URL: https://issues.apache.org/jira/browse/XERCESC-1692 Project: Xerces-C++ Issue Type: Wish Components: DOM Affects Versions: 2.7.0 Environment: Windows XP Mircosoft MSVC 8.0 (Visual Studio 2005) Reporter: Luzius Blatter // We have long jobs over night where DOM documents are manipulated // with frequent "AddChild" and "RemoveChild" calls. // The documents are released at the end of the jobs. // // Now we have the problem the the system goes out of memory. // The reason is that all memory allocations aren't deallocated before // the the document is released. // // My wish is: I would like to release DOM elements with a true memory deallocation. // // The following code fragment shows the problem: // // Get the DOM implementation DOMImplementation *pDOMImplementation = DOMImplementationRegistryacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetDOMImplementation(NULL); // Create a DOM document XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *pDocument = pDOMImplementation->createDocument(); // Create and release many DOM elements int iElement = 0; while(iElement < 1000000) { // Create a element: DOMElement *pElement = pDocument->createElement(L"A"); // Release the element: pElement->release(); //Note: Although the orphaned element is now released, the memory remains blocked // and can't be reused (even not for the next element in the loop!) iElement++; } // Now we have around 24 MB blocked. pDocument->release(); //Note: Now the memory is deallocated and can be reused. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 04 09:40:22 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4293 invoked from network); 4 Apr 2007 09:40:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Apr 2007 09:40:22 -0000 Received: (qmail 48396 invoked by uid 500); 4 Apr 2007 09:40:27 -0000 Delivered-To: [email protected] Received: (qmail 48374 invoked by uid 500); 4 Apr 2007 09:40:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48363 invoked by uid 99); 4 Apr 2007 09:40:27 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2007 02:40:27 -0700 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_10_20,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO an-out-0708.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2007 02:40:18 -0700 Received: by an-out-0708.google.com with SMTP id d33so156443and for <[email protected]>; Wed, 04 Apr 2007 02:39:57 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=jQHplADfDTnjmmgvOxA+5ROycS4voQcEf0GG6nNqbnyhx6KR2O/jXm587Db5DTKojw9+Mo+7r7r7zJznzNtzVR+RUktbnqoY185ET64oqi0D2fyYKEoiNqa9X9z3mfvIMgf7rXJBAuT0aJuABCTZcH/3Pg5vL1HHJo66Yccukkk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=tYm7bsnc/1yixllQYVIONlYGypdCvNoxZ56MrRo9fpMaZ32YXpzmbN5IN/f7TOCAXZqV2bjCoS79pZRTUUuOW9+h03FRj6WLBoYvx0PL/rrjoCo7f9uV96O49buVFC36y0vuxa5eOnhFNb9yYfZzm0PsxH/kchbnuvbA0QTX8kI= Received: by 161.129.204.104 with SMTP id m8mr262800ang.1175679597126; Wed, 04 Apr 2007 02:39:57 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 4 Apr 2007 02:39:57 -0700 (PDT) Message-ID: <[email protected]> Date: Wed, 4 Apr 2007 10:39:57 +0100 From: "Nuno Esculcas" <[email protected]> To: [email protected] Subject: Using XML to log actions MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_21496_31053025.1175679597092" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_21496_31053025.1175679597092 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I'm trying to use the xerces api to write the contents of my application log. But i'm thinking that my approach is not the best one, i need an approach that can write large amout of data and with a considered speed (this is not the most important, the amount of data is more important and i'm not achiving this objective). So my approach is the following: 1) first step, i create the xml document if not exist: DOMDocument* pcDoc = impl->createDocument( // root element namespace URI. XMLStr(XML_EXIF_LOG_DTD), XMLStr(XML_EXIF_LOG_ROOT_ELEM_NAME), // root element name 0); and then i save it using the: LocalFileFormatTarget local(m_strLogFileFullName.c_str()); DOMWriter* pcSerializer = impl->createDOMWriter(); pcSerializer->writeNode(&local, *((DOMNode*)pcDoc)); 2) after the xml file is created i open it (maybe my problem is here): xercesacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXercesDOMParser* m_pcDomParser = new xercesacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXercesDOMParser; m_pcDomParser->parse( m_strLogFileFullName.c_str() ) ; and i save the variable m_pcDomParser for future use. 3) when i need to add a new log entry i do the following (this step could be done a lot of times and in a very small interval): xercesacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bDOMDocument* pcDoc = m_pcDomParser->getDocument() ; DOMElement* rootElem = pcDoc->getDocumentElement(); DOMElement* pcLogRec = pcDoc->createElement(XMLStr(XML_LOG_RECORD)); rootElem->appendChild(pcLogRec); //... write the values for the correspondig xml elements //then i saved it DOMImplementation* pImp = pcDoc->getImplementation(); LocalFileFormatTarget local(m_strLogFileFullName.c_str()); DOMWriter* pcSerializer = pImp->createDOMWriter(); pcSerializer->writeNode(&local, *((DOMNode*)pcDoc)); <- i thing that the problem of the speed is here because it writes the all xml info to the file each time i do this.... And it's all... The speed is not the desired one, but i can live with this, but my biggest problem is that when i reach aproximilly the 22378 lines in the xml document when i'm doing the following instruction of code: LocalFileFormatTarget local(m_strLogFileFullName.c_str()); the xerces return an xercesacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXMLException saying "Could not open file: ..." Is there any limit of data in an xml file? how i can write more than this limit? And my approach is the best one? exist any problem with this aproach? exist any another way of doing this (a better way)? Thanks -- Nuno Esculcas ------=_Part_21496_31053025.1175679597092 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <div style="DIRECTION: ltr">Hi,<br><br>I&#39;m trying to use the xerces api to write the contents of my<br>application log. But i&#39;m thinking that my approach is not the best<br>one, i need an approach that can write large amout of data and with a <br>considered speed (this is not the most important, the amount of data<br>is more important and i&#39;m not achiving this objective).<br><br>So my approach is the following:<br><br>1) first step, i create the xml document if not exist: <br>DOMDocument* pcDoc = impl-&gt;createDocument(<br>&nbsp; &nbsp; &nbsp; &nbsp;// root element namespace URI.<br>&nbsp; &nbsp; &nbsp; &nbsp;XMLStr(XML_EXIF_LOG_DTD),<br>&nbsp; &nbsp; &nbsp; &nbsp;XMLStr(XML_EXIF_LOG_ROOT_ELEM_NAME), &nbsp; &nbsp; // root element name<br>&nbsp; &nbsp; &nbsp; &nbsp;0);<br>and then i save it using the: <br>LocalFileFormatTarget local(m_strLogFileFullName.c_str());<br>DOMWriter* pcSerializer = impl-&gt;createDOMWriter();<br>pcSerializer-&gt;writeNode(&amp;local, *((DOMNode*)pcDoc));<br><br>2) after the xml file is created i open it (maybe my problem is <br>here):<br>xercesacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXercesDOMParser* &nbsp; &nbsp; &nbsp; m_pcDomParser = new<br>xercesacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXercesDOMParser;<br>m_pcDomParser-&gt;parse( m_strLogFileFullName.c_str() ) ;<br><br>and i save the variable m_pcDomParser for future use.<br><br> 3) when i need to add a new log entry i do the following (this step&nbsp;could be done a lot of times and in a very small interval):<br>xercesacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bDOMDocument* pcDoc = m_pcDomParser-&gt;getDocument() ;<br>DOMElement* rootElem = pcDoc-&gt;getDocumentElement(); <br>DOMElement* &nbsp;pcLogRec = pcDoc-&gt;createElement(XMLStr(XML_LOG_RECORD));<br>rootElem-&gt;appendChild(pcLogRec);<br><br>//... write the values for the correspondig xml elements<br><br>//then i saved it<br>DOMImplementation* pImp = pcDoc-&gt;getImplementation(); <br>LocalFileFormatTarget local(m_strLogFileFullName.c_str());<br>DOMWriter* pcSerializer = pImp-&gt;createDOMWriter();<br>pcSerializer-&gt;writeNode(&amp;local, *((DOMNode*)pcDoc));&nbsp;&nbsp;&nbsp; &lt;- i thing that the problem of the speed is here because it writes the all xml info to the file each time i do this.... <br><br>And it&#39;s all...<br><br>The speed is not the desired one, but i can live with this, but my<br>biggest problem is that when i reach aproximilly the 22378 lines in<br>the xml document when i&#39;m doing the following instruction of code: <br>LocalFileFormatTarget local(m_strLogFileFullName.c_str());<br>the xerces return an xercesacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXMLException saying &quot;Could not open<br>file: ...&quot;<br><br>Is there any limit of data in an xml file? how i can write more than <br>this limit?<br>And my approach is the best one? exist any problem with this aproach?<br>exist any another way of doing this (a better way)?<br><br>Thanks<br>&nbsp;</div> <div style="DIRECTION: ltr">-- <br>Nuno Esculcas </div> ------=_Part_21496_31053025.1175679597092-- From [email protected] Wed Apr 04 16:15:56 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45513 invoked from network); 4 Apr 2007 16:15:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Apr 2007 16:15:55 -0000 Received: (qmail 53581 invoked by uid 500); 4 Apr 2007 16:16:01 -0000 Delivered-To: [email protected] Received: (qmail 53465 invoked by uid 500); 4 Apr 2007 16:16:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 53379 invoked by uid 99); 4 Apr 2007 16:16:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2007 09:16:00 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2007 09:15:52 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 5205A714066 for <[email protected]>; Wed, 4 Apr 2007 09:15:32 -0700 (PDT) Message-ID: <32938183.1175703332301.JavaMail.jira@brutus> Date: Wed, 4 Apr 2007 09:15:32 -0700 (PDT) From: "Luzius Blatter (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (XERCESC-1692) A createElement() - release() call sequence doesn't release the allocated memory. The memory is blocked until the document is released. In-Reply-To: <8518074.1175611652327.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XERCESC-1692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Luzius Blatter updated XERCESC-1692: ------------------------------------ Summary: A createElement() - release() call sequence doesn't release the allocated memory. The memory is blocked until the document is released. (was: A createElement() - relase() call sequence doesn't release the allocated memory. The memory is blocked until the document is released.) > A createElement() - release() call sequence doesn't release the allocated memory. The memory is blocked until the document is released. > --------------------------------------------------------------------------------------------------------------------------------------- > > Key: XERCESC-1692 > URL: https://issues.apache.org/jira/browse/XERCESC-1692 > Project: Xerces-C++ > Issue Type: Wish > Components: DOM > Affects Versions: 2.7.0 > Environment: Windows XP > Mircosoft MSVC 8.0 (Visual Studio 2005) > Reporter: Luzius Blatter > > // We have long jobs over night where DOM documents are manipulated > // with frequent "AddChild" and "RemoveChild" calls. > // The documents are released at the end of the jobs. > // > // Now we have the problem the the system goes out of memory. > // The reason is that all memory allocations aren't deallocated before > // the the document is released. > // > // My wish is: I would like to release DOM elements with a true memory deallocation. > // > // The following code fragment shows the problem: > // > // Get the DOM implementation > DOMImplementation *pDOMImplementation = DOMImplementationRegistryacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetDOMImplementation(NULL); > // Create a DOM document > XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *pDocument = pDOMImplementation->createDocument(); > // Create and release many DOM elements > int iElement = 0; > while(iElement < 1000000) > { > // Create a element: > DOMElement *pElement = pDocument->createElement(L"A"); > // Release the element: > pElement->release(); > //Note: Although the orphaned element is now released, the memory remains blocked > // and can't be reused (even not for the next element in the loop!) > iElement++; > } > // Now we have around 24 MB blocked. > pDocument->release(); > //Note: Now the memory is deallocated and can be reused. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 06 17:55:59 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80497 invoked from network); 6 Apr 2007 17:55:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Apr 2007 17:55:58 -0000 Received: (qmail 9742 invoked by uid 500); 6 Apr 2007 17:56:04 -0000 Delivered-To: [email protected] Received: (qmail 9701 invoked by uid 500); 6 Apr 2007 17:56:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 9682 invoked by uid 99); 6 Apr 2007 17:56:03 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Apr 2007 10:56:03 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Apr 2007 10:55:52 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 45983714065 for <[email protected]>; Fri, 6 Apr 2007 10:55:32 -0700 (PDT) Message-ID: <18243246.1175882132271.JavaMail.jira@brutus> Date: Fri, 6 Apr 2007 10:55:32 -0700 (PDT) From: "Alberto Massari (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (XERCESC-1592) Namespace handling is wrong in schema validation In-Reply-To: <15202394.1147337225602.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XERCESC-1592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alberto Massari resolved XERCESC-1592. -------------------------------------- Resolution: Fixed > Namespace handling is wrong in schema validation > ------------------------------------------------ > > Key: XERCESC-1592 > URL: https://issues.apache.org/jira/browse/XERCESC-1592 > Project: Xerces-C++ > Issue Type: Bug > Components: Validating Parser (Schema) (Xerces 1.5 or up only) > Affects Versions: 2.7.0 > Environment: Windows XP, Visual C++ 6.0 > Reporter: Alberto Massari > Attachments: MainSchema.xml, MainSchema.xsd, Schema1.xsd > > > When resolving a reference to an element declaration, the only namespace mapping that is taken into consideration is the one defined by the root element; namespace declarations attached to the current element node or its parent are ignored. > Running DOMCount -n -s MainSchema.xml will report the error "Type not found in SplitAndMerge:msg" while the schema is trying to access "msg" from the empty namespace -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 06 17:57:56 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82102 invoked from network); 6 Apr 2007 17:57:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Apr 2007 17:57:56 -0000 Received: (qmail 16357 invoked by uid 500); 6 Apr 2007 17:58:00 -0000 Delivered-To: [email protected] Received: (qmail 16321 invoked by uid 500); 6 Apr 2007 17:58:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 16152 invoked by uid 99); 6 Apr 2007 17:58:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Apr 2007 10:58:00 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Apr 2007 10:57:52 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 96B8371406E for <[email protected]>; Fri, 6 Apr 2007 10:57:32 -0700 (PDT) Message-ID: <26189612.1175882252613.JavaMail.jira@brutus> Date: Fri, 6 Apr 2007 10:57:32 -0700 (PDT) From: "Alberto Massari (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (XERCESC-1691) Sometimes DOMBuilderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bparseURI() function returns null. In-Reply-To: <18063131.1175433152228.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XERCESC-1691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alberto Massari resolved XERCESC-1691. -------------------------------------- Resolution: Incomplete Fix Version/s: (was: 2.7.0) > Sometimes DOMBuilderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bparseURI() function returns null. > -------------------------------------------------------- > > Key: XERCESC-1691 > URL: https://issues.apache.org/jira/browse/XERCESC-1691 > Project: Xerces-C++ > Issue Type: Bug > Affects Versions: 2.7.0 > Environment: Microsoft Windows xp professional/version 20002/ SP2, Visual studio 2005 SP1, Pantium 4 processor, 504MB RAM > Reporter: bhaskar bhagawati > > I read to and write from an xml file repeatedly from different threads. For reading and writing I use DOMBuilderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bparseURI function, DOMWriteracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bwriteNode function and LocalFileFormatTarget class object. I have used ACE_Thread_Mutex in my program, so that if one thread is reading or writing to the xml file, no other thread can read or write to the file. Sometimes parseURI function returns null. And also sometimes my program crashes while creating LocalFileFormatTarget class object. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 09 05:53:58 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82525 invoked from network); 9 Apr 2007 05:53:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Apr 2007 05:53:58 -0000 Received: (qmail 97602 invoked by uid 500); 9 Apr 2007 05:54:03 -0000 Delivered-To: [email protected] Received: (qmail 97577 invoked by uid 500); 9 Apr 2007 05:54:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 38597 invoked by uid 99); 3 Apr 2007 15:55:15 -0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=FDOEsZHHB15xgsf/1eMGXqfl4Odnj84x/T8aIpzC+ig0SApBhhWIE02OhJavD1t5bHV8tlEH4DiFhNzpCLKrUQa+VuplW0DEY9tDJgZWwG4ghZA6R+hlx5m7FCC7RmVUNJY+xTYyO5z8+D3fxds5KNlGEtAFyChE+ziiYomcwBY=; X-YMail-OSG: fcbBYecVM1nOTPXbdHajm8mLxn29TrbioVH5n3BAUyxJv1kkva_zD1YUQwzUEvHhJPxuoFeTgfq9ouIVCFaU6UdgCYrSAEpJRPETK.70lfkqFH2cQyx9hb4khX_Rog-- Date: Tue, 3 Apr 2007 08:54:45 -0700 (PDT) From: Rafal Tenerowicz <[email protected]> Subject: xerces - validation of DOM agains xsd To: [email protected] MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1334504990-1175615685=:50186" Content-Transfer-Encoding: 8bit Message-ID: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org --0-1334504990-1175615685=:50186 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, Im developing a project using xerces. I would like to use xerces for validating the DOM object created at run time (and not read from the file) agains xsd. I have a problem with setting DOMConfiguration that I retrieve from Document. I can set the validation flag to true, myErrorHandler but for some reason ?? I cannot set the "schema-type" and "schema-location". I get an error NOT_SUPPORTED_ERR, but I don't know why the feature cannot be set. I set the "validation" & ErrorHandler before I call set for "schema-type" and "schema-location". What could be the reason for this problem? How can I find out what is the problem - can I look at some Error object, that would be populated when the function set setParameter is called? If sb would have a piece of code that actually is doing the validation of DOm against xsd I would be grateful. Simplified code below thanks in advance Rafal static const XMLCh gLS[] = { chLatin_L, chLatin_S, chNull }; DOMImplementation *impl = DOMImplementationRegistryacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetDOMImplementation(gLS); DOMBuilder *parser = impl->createDOMBuilder(DOMImplementationLSacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bMODE_SYNCHRONOUS, NULL); parser->setFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMNamespaces, true); parser->setFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgXercesSchema, true); parser->setFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgXercesSchemaFullChecking, true); parser->setFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMValidateIfSchema, true); parser->setFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMDatatypeNormalization, true); DOMCountErrorHandler errorHandler; parser->setErrorHandler(&errorHandler); doc = parser->parseURI(X("shiporder.xml")); DOMWriter *theSerializer = ((DOMImplementationLS*)impl)->createDOMWriter(); DOMErrorHandler *myErrorHandler = new DOMPrintErrorHandler(); theSerializer->setErrorHandler(myErrorHandler); // set feature if the serializer supports the feature/mode if (theSerializer->canSetFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMWRTSplitCdataSections, false)) theSerializer->setFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMWRTSplitCdataSections, false); if (theSerializer->canSetFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMWRTDiscardDefaultContent, false)) theSerializer->setFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMWRTDiscardDefaultContent, false); if (theSerializer->canSetFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMWRTFormatPrettyPrint, false)) theSerializer->setFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMWRTFormatPrettyPrint, false); if (theSerializer->canSetFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMWRTBOM, false)) theSerializer->setFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMWRTBOM, false); if (theSerializer->canSetFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMValidateIfSchema, true)) theSerializer->setFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMValidateIfSchema, true); DOMString strSchemaType = "http://www.w3.org/2001/XMLSchema"; DOMString strSchemaLocation = "shiporder.xsd"; if(config->canSetParameter(X("validate"), (void*)true)) config->setParameter(X("validate"), (void*)true); if (config->canSetParameter(X("schema-type"),NULL)) config->setParameter(X("schema-type"),NULL); if (config->canSetParameter(X("schema-type"),(void*)&strSchemaType)) config->setParameter(X("schema-type"),(void*)&strSchemaType); if (config->canSetParameter(X("schema-location"),(void*)&strSchemaLocation)) config->setParameter(X("schema-location"),(void*)&strSchemaLocation); XMLFormatTarget *myFormTarget; if (goutputfile) myFormTarget = new LocalFileFormatTarget("test.xml"); else myFormTarget = new StdOutFormatTarget(); doc->normalizeDocument(); theSerializer->writeNode(myFormTarget, *doc); ... --------------------------------- Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. --0-1334504990-1175615685=:50186 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit <div>Hi,</div> <div>&nbsp;</div> <div>Im developing a project using xerces. </div> <div>I would like to use xerces for validating the DOM object created at run time (and not read from the file) agains xsd.</div> <div>&nbsp;</div> <div>I have a problem with setting DOMConfiguration that I retrieve from Document. I can set the validation flag to true, myErrorHandler but for some reason ?? I cannot set the "schema-type" and "schema-location".&nbsp;I get an error NOT_SUPPORTED_ERR, but I don't know why the feature cannot be set.</div> <div>&nbsp;</div> <div>I set the "validation" &amp; ErrorHandler before I call set for "schema-type" and "schema-location". What could be the reason for this problem?</div> <div>How can I find out what is the problem - can I look at some Error object, that would be populated when the function set setParameter is called?</div> <div>&nbsp;</div> <div>If sb would have a piece of code that actually is doing the validation of DOm against xsd I would be grateful.</div> <div>&nbsp;</div> <div>Simplified code below</div> <div>&nbsp;</div> <div>thanks in advance</div> <div>&nbsp;</div> <div>Rafal</div> <div>&nbsp;</div> <div>static const XMLCh gLS[] = { chLatin_L, chLatin_S, chNull };<BR>DOMImplementation *impl = DOMImplementationRegistryacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetDOMImplementation(gLS);&nbsp;&nbsp; </div> <div>&nbsp;</div> <div>&nbsp;&nbsp;&nbsp; <BR>DOMBuilder *parser = impl-&gt;createDOMBuilder(DOMImplementationLSacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bMODE_SYNCHRONOUS, NULL);</div> <div>parser-&gt;setFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMNamespaces, true);<BR>parser-&gt;setFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgXercesSchema, true);<BR>parser-&gt;setFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgXercesSchemaFullChecking, true);</div> <div>&nbsp;</div> <div>parser-&gt;setFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMValidateIfSchema, true);</div> <div>&nbsp;</div> <div>parser-&gt;setFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMDatatypeNormalization, true);<BR>DOMCountErrorHandler errorHandler;<BR>parser-&gt;setErrorHandler(&amp;errorHandler);</div> <div>&nbsp;</div> <div>doc = parser-&gt;parseURI(X("shiporder.xml"));</div> <div>&nbsp;</div> <div>DOMWriter&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *theSerializer = ((DOMImplementationLS*)impl)-&gt;createDOMWriter();</div> <div>&nbsp;</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DOMErrorHandler *myErrorHandler = new DOMPrintErrorHandler();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; theSerializer-&gt;setErrorHandler(myErrorHandler);</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // set feature if the serializer supports the feature/mode<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (theSerializer-&gt;canSetFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMWRTSplitCdataSections, false))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; theSerializer-&gt;setFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMWRTSplitCdataSections, false);</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (theSerializer-&gt;canSetFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMWRTDiscardDefaultContent, false))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; theSerializer-&gt;setFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMWRTDiscardDefaultContent, false);</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (theSerializer-&gt;canSetFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMWRTFormatPrettyPrint, false))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; theSerializer-&gt;setFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMWRTFormatPrettyPrint, false);</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (theSerializer-&gt;canSetFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMWRTBOM, false))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; theSerializer-&gt;setFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMWRTBOM, false);</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (theSerializer-&gt;canSetFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMValidateIfSchema, true))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; theSerializer-&gt;setFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMValidateIfSchema, true);</div> <div>&nbsp;</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DOMString strSchemaType = "<A href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</A>";<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DOMString strSchemaLocation = "shiporder.xsd";</div> <div>&nbsp;</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(config-&gt;canSetParameter(X("validate"), (void*)true))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; config-&gt;setParameter(X("validate"), (void*)true);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR><STRONG>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (config-&gt;canSetParameter(X("schema-type"),NULL))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; config-&gt;setParameter(X("schema-type"),NULL);</STRONG></div> <div><BR><STRONG>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (config-&gt;canSetParameter(X("schema-type"),(void*)&amp;strSchemaType))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; config-&gt;setParameter(X("schema-type"),(void*)&amp;strSchemaType);</STRONG><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (config-&gt;canSetParameter(X("schema-location"),(void*)&amp;strSchemaLocation))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; config-&gt;setParameter(X("schema-location"),(void*)&amp;strSchemaLocation);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XMLFormatTarget *myFormTarget;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (goutputfile)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myFormTarget = new LocalFileFormatTarget("test.xml");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myFormTarget = new StdOutFormatTarget();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; doc-&gt;normalizeDocument();</div> <div>&nbsp;</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; theSerializer-&gt;writeNode(myFormTarget, *doc);</div> <div>&nbsp;</div> <div>...</div><p>&#32; <hr size=1>Don't pick lemons.<br> See all the <a href="http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE0OGRsc3F2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3Y2Fycw--">new 2007 cars</a> at <a href="http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE0OGRsc3F2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3Y2Fycw--">Yahoo! Autos.</a> --0-1334504990-1175615685=:50186-- From [email protected] Mon Apr 09 08:14:53 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5566 invoked from network); 9 Apr 2007 08:14:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Apr 2007 08:14:52 -0000 Received: (qmail 96210 invoked by uid 500); 9 Apr 2007 08:14:57 -0000 Delivered-To: [email protected] Received: (qmail 96182 invoked by uid 500); 9 Apr 2007 08:14:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 96171 invoked by uid 99); 9 Apr 2007 08:14:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2007 01:14:57 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO mx1.progress.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2007 01:14:50 -0700 Received: from mx1.progress.com (161.129.204.104) by mx1.progress.com (MlfMTA v3.2r1b3) id h37qvk0171sv for <[email protected]>; Mon, 9 Apr 2007 04:14:29 -0400 (envelope-from <[email protected]>) Received: from progress.com ([161.129.204.104]) by mx1.progress.com (SonicWALL 161.129.204.10415) with ESMTP; Mon, 09 Apr 2007 04:14:28 -0400 Received: from NTEXFE01.bedford.progress.com (ntexfe01 [161.129.204.104]) by progress.com (8.13.8/8.13.8) with ESMTP id l398ESQL025285 for <[email protected]>; Mon, 9 Apr 2007 04:14:28 -0400 (EDT) Received: from nbamassari.datadirect.com ([161.129.204.104]) by NTEXFE01.bedford.progress.com over TLS secured channel with Microsoft SMTPSVC+1-236-505-7503); Mon, 9 Apr 2007 04:14:27 -0400 X-Mailer: QUALCOMM Windows Eudora Version 161.129.204.104 Date: Mon, 09 Apr 2007 10:14:15 +0200 To: [email protected] From: Alberto Massari <[email protected]> Subject: Re: xerces - validation of DOM agains xsd In-Reply-To: <[email protected]> References: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Message-ID: <[email protected]> X-OriginalArrivalTime: 09 Apr 2007 08:14:28.0025 (UTC) FILETIME=[17B0DA90:01C77A7F] X-Mlf-Version: 161.129.204.10415 X-Mlf-UniqueId: o200704090814280009219 X-Virus-Checked: Checked by ClamAV on apache.org Hi Rafal, Xerces-C++ can only validate a document while loading it from its serialized format, it doesn't validate existing DOM trees. Alberto At 08.54 03/04/2007 -0700, Rafal Tenerowicz wrote: >Hi, > >Im developing a project using xerces. >I would like to use xerces for validating the DOM object created at >run time (and not read from the file) agains xsd. > >I have a problem with setting DOMConfiguration that I retrieve from >Document. I can set the validation flag to true, myErrorHandler but >for some reason ?? I cannot set the "schema-type" and >"schema-location". I get an error NOT_SUPPORTED_ERR, but I don't >know why the feature cannot be set. > >I set the "validation" & ErrorHandler before I call set for >"schema-type" and "schema-location". What could be the reason for this problem? >How can I find out what is the problem - can I look at some Error >object, that would be populated when the function set setParameter is called? > >If sb would have a piece of code that actually is doing the >validation of DOm against xsd I would be grateful. > >Simplified code below > >thanks in advance > >Rafal > >static const XMLCh gLS[] = { chLatin_L, chLatin_S, chNull }; >DOMImplementation *impl = >DOMImplementationRegistryacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetDOMImplementation(gLS); > > >DOMBuilder *parser = >impl->createDOMBuilder(DOMImplementationLSacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bMODE_SYNCHRONOUS, NULL); >parser->setFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMNamespaces, true); >parser->setFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgXercesSchema, true); >parser->setFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgXercesSchemaFullChecking, true); > >parser->setFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMValidateIfSchema, true); > >parser->setFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMDatatypeNormalization, true); >DOMCountErrorHandler errorHandler; >parser->setErrorHandler(&errorHandler); > >doc = parser->parseURI(X("shiporder.xml")); > >DOMWriter *theSerializer = >((DOMImplementationLS*)impl)->createDOMWriter(); > > DOMErrorHandler *myErrorHandler = new DOMPrintErrorHandler(); > theSerializer->setErrorHandler(myErrorHandler); > // set feature if the serializer supports the feature/mode > if > (theSerializer->canSetFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMWRTSplitCdataSections, false)) > >theSerializer->setFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMWRTSplitCdataSections, false); > if > (theSerializer->canSetFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMWRTDiscardDefaultContent, false)) > >theSerializer->setFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMWRTDiscardDefaultContent, false); > if > (theSerializer->canSetFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMWRTFormatPrettyPrint, false)) > >theSerializer->setFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMWRTFormatPrettyPrint, false); > if (theSerializer->canSetFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMWRTBOM, false)) > theSerializer->setFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMWRTBOM, false); > if > (theSerializer->canSetFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMValidateIfSchema, true)) > >theSerializer->setFeature(XMLUniacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgDOMValidateIfSchema, true); > > DOMString strSchemaType = > "<http://www.w3.org/2001/XMLSchema>http://www.w3.org/2001/XMLSchema"; > DOMString strSchemaLocation = "shiporder.xsd"; > > if(config->canSetParameter(X("validate"), (void*)true)) > config->setParameter(X("validate"), (void*)true); > > if (config->canSetParameter(X("schema-type"),NULL)) > config->setParameter(X("schema-type"),NULL); > > if (config->canSetParameter(X("schema-type"),(void*)&strSchemaType)) > config->setParameter(X("schema-type"),(void*)&strSchemaType); > > if > (config->canSetParameter(X("schema-location"),(void*)&strSchemaLocation)) > >config->setParameter(X("schema-location"),(void*)&strSchemaLocation); > > XMLFormatTarget *myFormTarget; > if (goutputfile) > myFormTarget = new LocalFileFormatTarget("test.xml"); > else > myFormTarget = new StdOutFormatTarget(); > > doc->normalizeDocument(); > > theSerializer->writeNode(myFormTarget, *doc); > >... > > >Don't pick lemons. >See all the ><http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE0OGRsc3F2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3Y2Fycw-->new >2007 cars at ><http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE0OGRsc3F2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3Y2Fycw-->Yahoo! >Autos. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 09 08:20:59 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8040 invoked from network); 9 Apr 2007 08:20:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Apr 2007 08:20:59 -0000 Received: (qmail 1349 invoked by uid 500); 9 Apr 2007 08:21:05 -0000 Delivered-To: [email protected] Received: (qmail 1315 invoked by uid 500); 9 Apr 2007 08:21:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 1304 invoked by uid 99); 9 Apr 2007 08:21:05 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2007 01:21:05 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO mx1.progress.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2007 01:20:58 -0700 Received: from mx1.progress.com (161.129.204.104) by mx1.progress.com (MlfMTA v3.2r1b3) id h37rmk0171sn for <[email protected]>; Mon, 9 Apr 2007 04:20:37 -0400 (envelope-from <[email protected]>) Received: from progress.com ([161.129.204.104]) by mx1.progress.com (SonicWALL 161.129.204.10415) with ESMTP; Mon, 09 Apr 2007 04:20:37 -0400 Received: from NTEXFE01.bedford.progress.com (ntexfe01 [161.129.204.104]) by progress.com (8.13.8/8.13.8) with ESMTP id l398KbBT026817 for <[email protected]>; Mon, 9 Apr 2007 04:20:37 -0400 (EDT) Received: from nbamassari.datadirect.com ([161.129.204.104]) by NTEXFE01.bedford.progress.com over TLS secured channel with Microsoft SMTPSVC+1-236-505-7503); Mon, 9 Apr 2007 04:20:36 -0400 X-Mailer: QUALCOMM Windows Eudora Version 161.129.204.104 Date: Mon, 09 Apr 2007 10:20:25 +0200 To: [email protected] From: Alberto Massari <[email protected]> Subject: Re: Using XML to log actions In-Reply-To: <[email protected] m> References: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Message-ID: <[email protected]> X-OriginalArrivalTime: 09 Apr 2007 08:20:37.0012 (UTC) FILETIME=[F39FCD40:01C77A7F] X-Mlf-Version: 161.129.204.10415 X-Mlf-UniqueId: o200704090820370010827 X-Virus-Checked: Checked by ClamAV on apache.org Hi Nuno, loading the entire log file in memory will make your performance worse after each log operation, until the memory requirement of the DOM will crash your application. IMHO you have two options: 1) create a LocalFileFormatTarget, write the root element <log_root>, the serialize the events one DOMElement at a time, and write the final </log_root> when you stop (easy, but you have an invalid log file until you close gracefully, and a locked log file) 2) do like 1), but close the root tag and the file every time; when you have to log another event, open the file, seek until the end minus X bytes (where X = len(</log_root>) ) then write the DOMElement and the closing tag. Hope this helps, Alberto At 10.39 04/04/2007 +0100, Nuno Esculcas wrote: >Hi, > >I'm trying to use the xerces api to write the contents of my >application log. But i'm thinking that my approach is not the best >one, i need an approach that can write large amout of data and with a >considered speed (this is not the most important, the amount of data >is more important and i'm not achiving this objective). > >So my approach is the following: > >1) first step, i create the xml document if not exist: >DOMDocument* pcDoc = impl->createDocument( > // root element namespace URI. > XMLStr(XML_EXIF_LOG_DTD), > XMLStr(XML_EXIF_LOG_ROOT_ELEM_NAME), // root element name > 0); >and then i save it using the: >LocalFileFormatTarget local(m_strLogFileFullName.c_str()); >DOMWriter* pcSerializer = impl->createDOMWriter(); >pcSerializer->writeNode(&local, *((DOMNode*)pcDoc)); > >2) after the xml file is created i open it (maybe my problem is >here): >xercesacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXercesDOMParser* m_pcDomParser = new >xercesacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXercesDOMParser; >m_pcDomParser->parse( m_strLogFileFullName.c_str() ) ; > >and i save the variable m_pcDomParser for future use. > >3) when i need to add a new log entry i do the following (this step >could be done a lot of times and in a very small interval): >xercesacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bDOMDocument* pcDoc = m_pcDomParser->getDocument() ; >DOMElement* rootElem = pcDoc->getDocumentElement(); >DOMElement* pcLogRec = pcDoc->createElement(XMLStr(XML_LOG_RECORD)); >rootElem->appendChild(pcLogRec); > >//... write the values for the correspondig xml elements > >//then i saved it >DOMImplementation* pImp = pcDoc->getImplementation(); >LocalFileFormatTarget local(m_strLogFileFullName.c_str()); >DOMWriter* pcSerializer = pImp->createDOMWriter(); >pcSerializer->writeNode(&local, *((DOMNode*)pcDoc)); <- i thing >that the problem of the speed is here because it writes the all xml >info to the file each time i do this.... > >And it's all... > >The speed is not the desired one, but i can live with this, but my >biggest problem is that when i reach aproximilly the 22378 lines in >the xml document when i'm doing the following instruction of code: >LocalFileFormatTarget local(m_strLogFileFullName.c_str()); >the xerces return an xercesacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXMLException saying "Could not open >file: ..." > >Is there any limit of data in an xml file? how i can write more than >this limit? >And my approach is the best one? exist any problem with this aproach? >exist any another way of doing this (a better way)? > >Thanks > >-- >Nuno Esculcas --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 10 10:24:55 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17733 invoked from network); 10 Apr 2007 10:24:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Apr 2007 10:24:54 -0000 Received: (qmail 23757 invoked by uid 500); 10 Apr 2007 10:25:00 -0000 Delivered-To: [email protected] Received: (qmail 23456 invoked by uid 500); 10 Apr 2007 10:24:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23445 invoked by uid 99); 10 Apr 2007 10:24:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2007 03:24:59 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2007 03:24:52 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 43E1C71406E for <[email protected]>; Tue, 10 Apr 2007 03:24:32 -0700 (PDT) Message-ID: <17367688.1176200672244.JavaMail.jira@brutus> Date: Tue, 10 Apr 2007 03:24:32 -0700 (PDT) From: "Ivan Kryak (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XERCESC-1693) There's too simple name PARSER_HPP for a CPP directive MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org There's too simple name PARSER_HPP for a CPP directive ------------------------------------------------------ Key: XERCESC-1693 URL: https://issues.apache.org/jira/browse/XERCESC-1693 Project: Xerces-C++ Issue Type: Bug Components: Miscellaneous Affects Versions: 2.7.0 Environment: Linux FC6 xerces-c-2.7.0-6.fc6 Reporter: Ivan Kryak Priority: Minor There's too simple name PARSER_HPP for a CPP directive. In the file /usr/include/xercesc/sax/Parser.hpp I can see the following, #ifndef PARSER_HPP #define PARSER_HPP I think that this name is too simple for such library as Xercer-C++. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 10 10:38:56 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26626 invoked from network); 10 Apr 2007 10:38:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Apr 2007 10:38:55 -0000 Received: (qmail 51205 invoked by uid 500); 10 Apr 2007 10:39:00 -0000 Delivered-To: [email protected] Received: (qmail 51180 invoked by uid 500); 10 Apr 2007 10:39:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51159 invoked by uid 99); 10 Apr 2007 10:38:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2007 03:38:59 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2007 03:38:53 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B8E1C71407B for <[email protected]>; Tue, 10 Apr 2007 03:38:32 -0700 (PDT) Message-ID: <28717.1176201512754.JavaMail.jira@brutus> Date: Tue, 10 Apr 2007 03:38:32 -0700 (PDT) From: "Ivan Kryak (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (XERCESC-1693) There's too simple name PARSER_HPP for a CPP directive In-Reply-To: <17367688.1176200672244.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XERCESC-1693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12487744 ] Ivan Kryak commented on XERCESC-1693: ------------------------------------- May be it should better to add some prefix to directive names, like XERCES_ > There's too simple name PARSER_HPP for a CPP directive > ------------------------------------------------------ > > Key: XERCESC-1693 > URL: https://issues.apache.org/jira/browse/XERCESC-1693 > Project: Xerces-C++ > Issue Type: Bug > Components: Miscellaneous > Affects Versions: 2.7.0 > Environment: Linux FC6 > xerces-c-2.7.0-6.fc6 > Reporter: Ivan Kryak > Priority: Minor > > There's too simple name PARSER_HPP for a CPP directive. > In the file /usr/include/xercesc/sax/Parser.hpp I can see the following, > #ifndef PARSER_HPP > #define PARSER_HPP > I think that this name is too simple for such library as Xercer-C++. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 10 14:55:02 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7055 invoked from network); 10 Apr 2007 14:54:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Apr 2007 14:54:59 -0000 Received: (qmail 99770 invoked by uid 500); 10 Apr 2007 14:55:02 -0000 Delivered-To: [email protected] Received: (qmail 99648 invoked by uid 500); 10 Apr 2007 14:55:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99579 invoked by uid 99); 10 Apr 2007 14:55:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2007 07:55:00 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2007 07:54:53 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C63F371407C for <[email protected]>; Tue, 10 Apr 2007 07:54:32 -0700 (PDT) Message-ID: <26178705.1176216872808.JavaMail.jira@brutus> Date: Tue, 10 Apr 2007 07:54:32 -0700 (PDT) From: "Alberto Massari (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (XERCESC-1693) There's too simple name PARSER_HPP for a CPP directive In-Reply-To: <17367688.1176200672244.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XERCESC-1693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alberto Massari resolved XERCESC-1693. -------------------------------------- Resolution: Fixed I have changed them to start with XERCESC_INCLUDE_GUARD (in the 3.0 SVN repository). Alberto > There's too simple name PARSER_HPP for a CPP directive > ------------------------------------------------------ > > Key: XERCESC-1693 > URL: https://issues.apache.org/jira/browse/XERCESC-1693 > Project: Xerces-C++ > Issue Type: Bug > Components: Miscellaneous > Affects Versions: 2.7.0 > Environment: Linux FC6 > xerces-c-2.7.0-6.fc6 > Reporter: Ivan Kryak > Priority: Minor > > There's too simple name PARSER_HPP for a CPP directive. > In the file /usr/include/xercesc/sax/Parser.hpp I can see the following, > #ifndef PARSER_HPP > #define PARSER_HPP > I think that this name is too simple for such library as Xercer-C++. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 11 13:45:23 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41683 invoked from network); 11 Apr 2007 13:45:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Apr 2007 13:45:23 -0000 Received: (qmail 68401 invoked by uid 500); 11 Apr 2007 13:45:28 -0000 Delivered-To: [email protected] Received: (qmail 68381 invoked by uid 500); 11 Apr 2007 13:45:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 68370 invoked by uid 99); 11 Apr 2007 13:45:27 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2007 06:45:27 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO talk.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2007 06:45:20 -0700 Received: from [161.129.204.104] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1Hbd87-0002ey-Jn for [email protected]; Wed, 11 Apr 2007 06:44:59 -0700 Message-ID: <[email protected]> Date: Wed, 11 Apr 2007 06:44:59 -0700 (PDT) From: lamka <[email protected]> To: [email protected] Subject: xerces-c and comments MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org hello I use xerces-c 2.5.0 for parsing xml file( SAX API ). My problem is that I have xml file with comments between elements and I want to handle also this comments. I haven't found function which return this comments yet. Does anybody know how to do this? any help will be appreciate br lamka -- View this message in context: http://www.nabble.com/xerces-c-and-comments-tf3559452.html#a9939801 Sent from the Xerces - C - Dev mailing list [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 11 14:12:31 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48141 invoked from network); 11 Apr 2007 14:12:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Apr 2007 14:12:30 -0000 Received: (qmail 23238 invoked by uid 500); 11 Apr 2007 14:12:36 -0000 Delivered-To: [email protected] Received: (qmail 23212 invoked by uid 500); 11 Apr 2007 14:12:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23197 invoked by uid 99); 11 Apr 2007 14:12:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2007 07:12:35 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO mx1.progress.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2007 07:12:28 -0700 Received: from mx1.progress.com (161.129.204.104) by mx1.progress.com (MlfMTA v3.2r1b3) id h3jmcq0171sq for <[email protected]>; Wed, 11 Apr 2007 10:12:07 -0400 (envelope-from <[email protected]>) Received: from progress.com ([161.129.204.104]) by mx1.progress.com (SonicWALL 161.129.204.10415) with ESMTP; Wed, 11 Apr 2007 10:12:07 -0400 Received: from NTEXFE02.bedford.progress.com (ntexfe02 [161.129.204.104]) by progress.com (8.13.8/8.13.8) with ESMTP id l3BEC7v9011908 for <[email protected]>; Wed, 11 Apr 2007 10:12:07 -0400 (EDT) Received: from nbamassari.datadirect.com ([161.129.204.104]) by NTEXFE02.bedford.progress.com over TLS secured channel with Microsoft SMTPSVC+1-236-505-7503); Wed, 11 Apr 2007 10:12:06 -0400 X-Mailer: QUALCOMM Windows Eudora Version 161.129.204.104 Date: Wed, 11 Apr 2007 16:11:53 +0200 To: [email protected] From: Alberto Massari <[email protected]> Subject: Re: xerces-c and comments In-Reply-To: <[email protected]> References: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Message-ID: <[email protected]> X-OriginalArrivalTime: 11 Apr 2007 14:12:07.0123 (UTC) FILETIME=[6322DA30:01C77C43] X-Mlf-Version: 161.129.204.10415 X-Mlf-UniqueId: o200704111412070003624 X-Virus-Checked: Checked by ClamAV on apache.org Hi lamka, SAX doesn't define a callback for reporting comments; you will have to switch to the SAX2 parser, and register also a LexicalHandler. Alberto At 06.44 11/04/2007 -0700, lamka wrote: >hello > >I use xerces-c 2.5.0 for parsing xml file( SAX API ). >My problem is that I have xml file with comments between elements and I want >to handle also this comments. I haven't found function which return this >comments yet. Does anybody know how to do this? > >any help will be appreciate > >br >lamka --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 16 04:06:25 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22237 invoked from network); 16 Apr 2007 04:06:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Apr 2007 04:06:24 -0000 Received: (qmail 91540 invoked by uid 500); 16 Apr 2007 04:06:28 -0000 Delivered-To: [email protected] Received: (qmail 91471 invoked by uid 500); 16 Apr 2007 04:06:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 91437 invoked by uid 99); 16 Apr 2007 04:06:27 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Apr 2007 21:06:27 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e1.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Apr 2007 21:06:20 -0700 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [161.129.204.104]) by e1.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id l3G460QV026027; Mon, 16 Apr 2007 00:06:00 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [161.129.204.104]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v8.3) with ESMTP id l3G45xiK527658; Mon, 16 Apr 2007 00:05:59 -0400 Received: from d01av03.pok.ibm.com (loopback [161.129.204.104]) by d01av03.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id l3G45rWV010663; Mon, 16 Apr 2007 00:05:53 -0400 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av03.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id l3G45rJB010484; Mon, 16 Apr 2007 00:05:53 -0400 In-Reply-To: <[email protected]> To: [email protected], [email protected] Cc: "wei duan" <[email protected]>, [email protected] Subject: Google Summer of Code 2007 MIME-Version: 1.0 X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Mon, 16 Apr 2007 00:05:40 -0400 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 04/16/2007 00:05:54, Serialize complete at 04/16/2007 00:05:54 Content-Type: text/plain; charset="US-ASCII" X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I'm pleased to report that Xerces was awarded one project this year. Wei Duan will be working on the XMLStreamReader for the StAX implementation in Xerces-J. Her proposal (which I volunteered to mentor) was one of 24 which were selected this year for the ASF. Congratulations Wei! Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 16 10:16:43 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51038 invoked from network); 16 Apr 2007 10:16:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Apr 2007 10:16:42 -0000 Received: (qmail 81935 invoked by uid 500); 16 Apr 2007 10:16:44 -0000 Delivered-To: [email protected] Received: (qmail 81681 invoked by uid 500); 16 Apr 2007 10:16:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81661 invoked by uid 500); 16 Apr 2007 10:16:43 -0000 Delivered-To: [email protected] Received: (qmail 81648 invoked by uid 99); 16 Apr 2007 10:16:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 03:16:42 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 03:16:35 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 94AC0714071 for <[email protected]>; Mon, 16 Apr 2007 03:16:15 -0700 (PDT) Message-ID: <24008855.1176718575606.JavaMail.jira@brutus> Date: Mon, 16 Apr 2007 03:16:15 -0700 (PDT) From: "Janus Drozd (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (XERCESC-1092) Win32Transcoder does not properly transcode ISO-8859-2 and other encodings MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XERCESC-1092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489066 ] Janus Drozd commented on XERCESC-1092: -------------------------------------- This bug is still in xerces-c version 2.7.0. > Win32Transcoder does not properly transcode ISO-8859-2 and other encodings > -------------------------------------------------------------------------- > > Key: XERCESC-1092 > URL: https://issues.apache.org/jira/browse/XERCESC-1092 > Project: Xerces-C++ > Issue Type: Bug > Components: Utilities > Affects Versions: 2.4.0 > Environment: Operating System: Windows XP > Platform: PC > Reporter: Janus Drozd > Assigned To: Xerces-C Developers Mailing List > Attachments: Win32TransService.cpp > > > Win32TransService scans the Windows registry for supported charsets and reads > the "Codepage" and "InternetEncoding". For many charsets these value are equal, > but not for all. > When a Win32Transcoder object is created for a given charset, the "Codepage" > value is stored in the fWinCP member and the "InternetEncoding" value in the > fIECP member. Win32Transcoder methods use the fWinCP value and pass it to the > Windows API functions like acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bMultiByteToWideChar. This is wrong. The fIECP > value should be used instead. > For example when transcoding from the ISO-8859-2 encoding then fWinCP is 1250 > and fIECP is 28592. Win32Transcoderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8btranscodeFrom(...) > calls acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bMultiByteToWideChar(1250, ...). This transcodes from the Windows-1250 > code page, not from ISO-8859-2, and the result is wrong. > The proposed patch: > Replace fWinCP with fIECP in all calls of Windows API functions in all > Win32Transcoder methods. > In Win32Transcoderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8btranscodeFrom: > ............... > const unsigned int toEat = acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bIsDBCSLeadByteEx(fIECP, *inPtr) ? 2 : 1; > // Make sure a whol char is in the source > if (inPtr + toEat > inEnd) > break; > // Try to translate this next char and check for an error > const unsigned int converted = acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bMultiByteToWideChar > ( fIECP, MB_PRECOMPOSED | MB_ERR_INVALID_CHARS, (const char*)inPtr, toEat, > outPtr, 1); > ............... > In Win32Transcoderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8btranscodeTo: > ............... > const unsigned int bytesStored = acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bWideCharToMultiByte > (fIECP, WC_COMPOSITECHECK | WC_SEPCHARS, srcPtr, 1, (char*)outPtr, outEnd - > outPtr, 0, &usedDef); > ............... > In Win32Transcoderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bnTranscodeTo: > ............... > const unsigned int bytesStored = acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bWideCharToMultiByte > (fIECP, WC_COMPOSITECHECK | WC_SEPCHARS, srcBuf, srcCount, tmpBuf, 64, 0, > &usedDef); > ............... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 16 10:16:44 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51047 invoked from network); 16 Apr 2007 10:16:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Apr 2007 10:16:42 -0000 Received: (qmail 81943 invoked by uid 500); 16 Apr 2007 10:16:44 -0000 Delivered-To: [email protected] Received: (qmail 81907 invoked by uid 500); 16 Apr 2007 10:16:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81642 invoked by uid 99); 16 Apr 2007 10:16:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 03:16:42 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 03:16:35 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 8715E714057 for <[email protected]>; Mon, 16 Apr 2007 03:16:15 -0700 (PDT) Message-ID: <31407140.1176718575550.JavaMail.jira@brutus> Date: Mon, 16 Apr 2007 03:16:15 -0700 (PDT) From: "Janus Drozd (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (XERCESC-1092) Win32Transcoder does not properly transcode ISO-8859-2 and other encodings MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XERCESC-1092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489066 ] Janus Drozd commented on XERCESC-1092: -------------------------------------- This bug is still in xerces-c version 2.7.0. > Win32Transcoder does not properly transcode ISO-8859-2 and other encodings > -------------------------------------------------------------------------- > > Key: XERCESC-1092 > URL: https://issues.apache.org/jira/browse/XERCESC-1092 > Project: Xerces-C++ > Issue Type: Bug > Components: Utilities > Affects Versions: 2.4.0 > Environment: Operating System: Windows XP > Platform: PC > Reporter: Janus Drozd > Assigned To: Xerces-C Developers Mailing List > Attachments: Win32TransService.cpp > > > Win32TransService scans the Windows registry for supported charsets and reads > the "Codepage" and "InternetEncoding". For many charsets these value are equal, > but not for all. > When a Win32Transcoder object is created for a given charset, the "Codepage" > value is stored in the fWinCP member and the "InternetEncoding" value in the > fIECP member. Win32Transcoder methods use the fWinCP value and pass it to the > Windows API functions like acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bMultiByteToWideChar. This is wrong. The fIECP > value should be used instead. > For example when transcoding from the ISO-8859-2 encoding then fWinCP is 1250 > and fIECP is 28592. Win32Transcoderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8btranscodeFrom(...) > calls acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bMultiByteToWideChar(1250, ...). This transcodes from the Windows-1250 > code page, not from ISO-8859-2, and the result is wrong. > The proposed patch: > Replace fWinCP with fIECP in all calls of Windows API functions in all > Win32Transcoder methods. > In Win32Transcoderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8btranscodeFrom: > ............... > const unsigned int toEat = acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bIsDBCSLeadByteEx(fIECP, *inPtr) ? 2 : 1; > // Make sure a whol char is in the source > if (inPtr + toEat > inEnd) > break; > // Try to translate this next char and check for an error > const unsigned int converted = acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bMultiByteToWideChar > ( fIECP, MB_PRECOMPOSED | MB_ERR_INVALID_CHARS, (const char*)inPtr, toEat, > outPtr, 1); > ............... > In Win32Transcoderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8btranscodeTo: > ............... > const unsigned int bytesStored = acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bWideCharToMultiByte > (fIECP, WC_COMPOSITECHECK | WC_SEPCHARS, srcPtr, 1, (char*)outPtr, outEnd - > outPtr, 0, &usedDef); > ............... > In Win32Transcoderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bnTranscodeTo: > ............... > const unsigned int bytesStored = acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bWideCharToMultiByte > (fIECP, WC_COMPOSITECHECK | WC_SEPCHARS, srcBuf, srcCount, tmpBuf, 64, 0, > &usedDef); > ............... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 16 15:35:59 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11443 invoked from network); 16 Apr 2007 15:35:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Apr 2007 15:35:59 -0000 Received: (qmail 20355 invoked by uid 500); 16 Apr 2007 15:36:03 -0000 Delivered-To: [email protected] Received: (qmail 20183 invoked by uid 500); 16 Apr 2007 15:36:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 20088 invoked by uid 99); 16 Apr 2007 15:36:02 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 08:36:02 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e5.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 08:35:55 -0700 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [161.129.204.104]) by e5.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id l3GFZY5C026216; Mon, 16 Apr 2007 11:35:34 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [161.129.204.104]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v8.3) with ESMTP id l3GFZXLx071206; Mon, 16 Apr 2007 11:35:33 -0400 Received: from d01av03.pok.ibm.com (loopback [161.129.204.104]) by d01av03.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id l3GFZHk2006579; Mon, 16 Apr 2007 11:35:17 -0400 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av03.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id l3GFZH80005483; Mon, 16 Apr 2007 11:35:17 -0400 To: [email protected], [email protected], [email protected], [email protected] Cc: [email protected], [email protected] Subject: Fw: Call for Papers Opens for ApacheCon US 2007 MIME-Version: 1.0 X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Mon, 16 Apr 2007 11:35:00 -0400 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 04/16/2007 11:35:16, Serialize complete at 04/16/2007 11:35:16 Content-Type: text/plain; charset="US-ASCII" X-Virus-Checked: Checked by ClamAV on apache.org In case anyone is interested in participating this year now is the time to submit proposals. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] Rich Bowen <[email protected]> wrote on 04/16/2007 10:50:54 AM: > PMCs, please send this announcement to your various users@ and devs@ > mailing lists, as appropriate for your particular community. > Remember, your project can only be represented at ApacheCon if your > community submits talks proposals: > > > ---------------------------- > > > Call for Papers Opens for ApacheCon US 2007 > > The Call for Papers is now open for ApacheCon US, to be held November > 12-16 at the Peachtree Westin, Atlanta. The conference will consist > of two day of tutorials (November 12-13) and three days of regular > conference sessions (November 14-16). > > Please log in to the website at http://apachecon.com/html/login.html > to submit your proposal. Further details about fees and are > avaialable on the CFP form. > > Topics appropriate for submission to this conference are manifold, > and may include but are not restricted to: > > * ASF projects > * ASF-Incubated projects > * Scripting languages and dynamic content such as Java, Perl, Python, > Ruby, XSL, and PHP > * New technologies and broader initiatives such as Web Services and > Web 2.0 > * Security and e-commerce, performance tuning, load balancing, and > high availability > * Business and community issues surrounding the ASF and Open Source > > The paper submission deadline is Monday, 28 April 2007, Midnight GMT. > > Thanks, and we hope to hear from you, and to see you in Atlanta. > -- > The ApacheCon Planners > [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 16 23:23:39 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60537 invoked from network); 16 Apr 2007 23:23:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Apr 2007 23:23:38 -0000 Received: (qmail 96677 invoked by uid 500); 16 Apr 2007 23:23:44 -0000 Delivered-To: [email protected] Received: (qmail 96379 invoked by uid 500); 16 Apr 2007 23:23:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 96368 invoked by uid 99); 16 Apr 2007 23:23:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 16:23:43 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 16:23:36 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 4EA09714073 for <[email protected]>; Mon, 16 Apr 2007 16:23:15 -0700 (PDT) Message-ID: <30525429.1176765795290.JavaMail.jira@brutus> Date: Mon, 16 Apr 2007 16:23:15 -0700 (PDT) From: "Greg Wolodkin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XERCESC-1694) Warnings on gcc from xercesc/validators/schema/SchemaElementDecl.hpp MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Warnings on gcc from xercesc/validators/schema/SchemaElementDecl.hpp -------------------------------------------------------------------- Key: XERCESC-1694 URL: https://issues.apache.org/jira/browse/XERCESC-1694 Project: Xerces-C++ Issue Type: Bug Components: Validating Parser (Schema) (Xerces 1.5 or up only) Affects Versions: 2.7.0 Environment: I see this warning on both Linux (x86 and amd64 with gcc-4.1.1) and Mac (Intel and PPC with gcc 4.0.x) Reporter: Greg Wolodkin Priority: Minor Create a simple .cpp file #include <xercesc/validators/schema/SchemaElementDecl.hpp and compile it like so (adding Xerces-C to the include path if necessary with -I...) gcc -W -c tt.cpp I see: ...include/xercesc/validators/schema/SchemaElementDecl.hpp: In member function 'virtual bool xercesc_2_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bSchemaElementDeclacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bisGlobalDecl() const': ...include/xercesc/validators/schema/SchemaElementDecl.hpp:508: warning: comparison between signed and unsigned integer expressions I fixed it like this: $ p4 diff -du SchemaElementDecl.hpp ==== //3rdparty/tmw/xerces-c/src/xercesc/validators/schema/SchemaElementDecl.hpp#2 - /sandbox/greg/Amake/3p/sources/xerces-c/src/xercesc/validators/schema/SchemaElementDecl.hpp ==== @@ -505,7 +505,7 @@ inline bool SchemaElementDeclacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bisGlobalDecl() const { - return (fEnclosingScope == Grammaracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bTOP_LEVEL_SCOPE); + return (fEnclosingScope == static_cast<int>(Grammaracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bTOP_LEVEL_SCOPE)); } inline SchemaElementDecl* but you may want to fix it differently by getting all of the types here in alignment. I didn't see this warning in 2.6. Thanks for your time! Greg -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 17 08:47:40 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49817 invoked from network); 17 Apr 2007 08:47:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Apr 2007 08:47:39 -0000 Received: (qmail 51344 invoked by uid 500); 17 Apr 2007 08:47:44 -0000 Delivered-To: [email protected] Received: (qmail 51292 invoked by uid 500); 17 Apr 2007 08:47:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51273 invoked by uid 99); 17 Apr 2007 08:47:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 01:47:43 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 01:47:36 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 12646714076 for <[email protected]>; Tue, 17 Apr 2007 01:47:16 -0700 (PDT) Message-ID: <15610753.1176799636072.JavaMail.jira@brutus> Date: Tue, 17 Apr 2007 01:47:16 -0700 (PDT) From: "Alberto Massari (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (XERCESC-1092) Win32Transcoder does not properly transcode ISO-8859-2 and other encodings MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XERCESC-1092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alberto Massari resolved XERCESC-1092. -------------------------------------- Resolution: Fixed Assignee: (was: Xerces-C Developers Mailing List) Hi Janus, I changed the code to use the InternetEncoding instead of the Codepage. Thanks, Alberto > Win32Transcoder does not properly transcode ISO-8859-2 and other encodings > -------------------------------------------------------------------------- > > Key: XERCESC-1092 > URL: https://issues.apache.org/jira/browse/XERCESC-1092 > Project: Xerces-C++ > Issue Type: Bug > Components: Utilities > Affects Versions: 2.4.0 > Environment: Operating System: Windows XP > Platform: PC > Reporter: Janus Drozd > Attachments: Win32TransService.cpp > > > Win32TransService scans the Windows registry for supported charsets and reads > the "Codepage" and "InternetEncoding". For many charsets these value are equal, > but not for all. > When a Win32Transcoder object is created for a given charset, the "Codepage" > value is stored in the fWinCP member and the "InternetEncoding" value in the > fIECP member. Win32Transcoder methods use the fWinCP value and pass it to the > Windows API functions like acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bMultiByteToWideChar. This is wrong. The fIECP > value should be used instead. > For example when transcoding from the ISO-8859-2 encoding then fWinCP is 1250 > and fIECP is 28592. Win32Transcoderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8btranscodeFrom(...) > calls acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bMultiByteToWideChar(1250, ...). This transcodes from the Windows-1250 > code page, not from ISO-8859-2, and the result is wrong. > The proposed patch: > Replace fWinCP with fIECP in all calls of Windows API functions in all > Win32Transcoder methods. > In Win32Transcoderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8btranscodeFrom: > ............... > const unsigned int toEat = acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bIsDBCSLeadByteEx(fIECP, *inPtr) ? 2 : 1; > // Make sure a whol char is in the source > if (inPtr + toEat > inEnd) > break; > // Try to translate this next char and check for an error > const unsigned int converted = acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bMultiByteToWideChar > ( fIECP, MB_PRECOMPOSED | MB_ERR_INVALID_CHARS, (const char*)inPtr, toEat, > outPtr, 1); > ............... > In Win32Transcoderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8btranscodeTo: > ............... > const unsigned int bytesStored = acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bWideCharToMultiByte > (fIECP, WC_COMPOSITECHECK | WC_SEPCHARS, srcPtr, 1, (char*)outPtr, outEnd - > outPtr, 0, &usedDef); > ............... > In Win32Transcoderacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bnTranscodeTo: > ............... > const unsigned int bytesStored = acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bWideCharToMultiByte > (fIECP, WC_COMPOSITECHECK | WC_SEPCHARS, srcBuf, srcCount, tmpBuf, 64, 0, > &usedDef); > ............... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 18 20:55:21 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53132 invoked from network); 18 Apr 2007 20:55:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2007 20:55:20 -0000 Received: (qmail 58687 invoked by uid 500); 18 Apr 2007 20:55:26 -0000 Delivered-To: [email protected] Received: (qmail 58665 invoked by uid 500); 18 Apr 2007 20:55:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58650 invoked by uid 99); 18 Apr 2007 20:55:25 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2007 13:55:25 -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 (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wx-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2007 13:55:17 -0700 Received: by wx-out-0506.google.com with SMTP id h29so330481wxd for <[email protected]>; Wed, 18 Apr 2007 13:54:57 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=CQxxxnIlkJ3Oz0fegafx6gWE5VvNT755c8kDJ/MACKMTtinj15vG6xzHKr1awffFZxAdfH9ifQBGLGEfnHLMweztcmQqqDRMWV5vG4acGWDIfe0f7M0lL0clZAjQx6OXakujuuXLrMrfH2sZKKC3wOFky+cZW/tiWQoZr3f7q9w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=SmLdtKya1ydAedIrJte7d8GUNSriZHR/KviZKOJyrEtaDx50rISF+ioTuOxGH7MwXL6x2fGvEn9XLEPCk6rSXa6DJLsuQmca6PZetHJtXQAFq7V3SCAjI6uvX3Zxq0Q4rfOox4B/YofXBCCfnRqrmojuhlNi8Sf32nBGDQ/izKI= Received: by 161.129.204.104 with SMTP id f2mr1760433wxf.1176929695913; Wed, 18 Apr 2007 13:54:55 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 18 Apr 2007 13:54:55 -0700 (PDT) Message-ID: <[email protected]> Date: Wed, 18 Apr 2007 15:54:55 -0500 From: "Nitin Suri" <[email protected]> To: [email protected] Subject: IGXML,SGXML and WFXML Classes MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13090_26256557.1176929695866" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_13090_26256557.1176929695866 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I'm new to Xerces. Can anyone tell me where I can find more information about IGXML,SGXML and WFXML classes. I tried looking into the API documentation but couldn't find anything. Can someone point me to any other resource that explains the different classes/files that makeup Xerces-C? Thanks, Nit. ------=_Part_13090_26256557.1176929695866 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <p><span style="font-style: normal;">Hi,</span></p> <p><span style="font-style: normal;"> </span></p> <p><span style="font-style: normal;">I&#39;m new to Xerces. </span></p> <p><span style="font-style: normal;">Can anyone tell me where I can find more information about IGXML,SGXML and WFXML classes.</span></p> <p><span style="font-style: normal;">I tried looking into the API documentation but couldn&#39;t find anything. Can someone point me to any other resource that explains the different classes/files that makeup Xerces-C?</span></p> <p><span style="font-style: normal;"> </span></p> <p><span style="font-style: normal;">Thanks,</span></p> <span style="font-size: 9pt; font-family: Verdana;">Nit.</span> ------=_Part_13090_26256557.1176929695866-- From [email protected] Fri Apr 20 15:24:41 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26045 invoked from network); 20 Apr 2007 15:24:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Apr 2007 15:24:40 -0000 Received: (qmail 72060 invoked by uid 500); 20 Apr 2007 15:24:46 -0000 Delivered-To: [email protected] Received: (qmail 71988 invoked by uid 500); 20 Apr 2007 15:24:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71977 invoked by uid 99); 20 Apr 2007 15:24:45 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Apr 2007 08:24:45 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO web31712.mail.mud.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 20 Apr 2007 08:24:38 -0700 Received: (qmail 19703 invoked by uid 60001); 20 Apr 2007 15:24:17 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=lfN0feZ3YNqO4PvdZYS+hGwtN2uqroxNmafSU+yeDT7OwSx1h+JArs8QpjUsJK/pjrc0AF/MbpeOPSyZ5ctuhcp4BhpJLPw/LzMz+CPUWa/K9zHEWKXmAfIId8Ts3S5TfVxGTxbar99cX2xBX/ehXgee9mg8B/9vqudzoZFzW54=; X-YMail-OSG: r03bBJEVM1nQ5xnAbQDz3.RQw9Crbedi.SVRFeCkI7B3rKqdeUGRZucU0UNU40b.kXyUR07i5Vo3_ew1AIoGwJpb9E6QOUuDaKBvaWzzP4PhXMCu6f8H0awoPx8ThQ-- Received: from [161.129.204.104] by web31712.mail.mud.yahoo.com via HTTP; Fri, 20 Apr 2007 08:24:17 PDT X-Mailer: YahooMailRC/478 YahooMailWebService/161.129.204.104 Date: Fri, 20 Apr 2007 08:24:17 -0700 (PDT) From: abhilash s pillai <[email protected]> Subject: subject Xerces Internal Document To: [email protected] MIME-Version: 1.0 Content-Type: text/plain; charset=ascii Message-ID: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org hi, is there any internal document for xerces source code other than the api doc? abhi __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 20 19:03:46 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27838 invoked from network); 20 Apr 2007 19:03:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Apr 2007 19:03:45 -0000 Received: (qmail 36600 invoked by uid 500); 20 Apr 2007 19:03:51 -0000 Delivered-To: [email protected] Received: (qmail 36277 invoked by uid 500); 20 Apr 2007 19:03:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 36266 invoked by uid 99); 20 Apr 2007 19:03:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Apr 2007 12:03:50 -0700 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ciao.gmane.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Apr 2007 12:03:43 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HeyO4-0006gM-V1 for [email protected]; Fri, 20 Apr 2007 21:03:17 +0200 Received: from 161.129.204.104 ([161.129.204.104]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <[email protected]>; Fri, 20 Apr 2007 21:03:16 +0200 Received: from Vijay.Bajwa by 161.129.204.104 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <[email protected]>; Fri, 20 Apr 2007 21:03:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: [email protected] From: Vijay S. Bajwa <[email protected]> Subject: Element Distinguished Name Date: Fri, 20 Apr 2007 19:02:56 +0000 (UTC) Lines: 42 Message-ID: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: [email protected] X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 161.129.204.104 (Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)) Sender: news <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org I guess this is a DOM question. Given an XML or an XSD, how to give a distinguisged name to an element. Consider the following XML. Imagine a cmd- line application that is prints elements by-name, like $ printVal -tname $ Vijay What if you wanted to print-by-name say, the MQ port of the second domain? Maybbe: printVal -t 'config.domain[2].MQInfo.port' Assuming such naming exists, can one just pass the DN (distinguished name) too tje parser in the hope that it will understand it? Am I crazy? <config> <name>Vijay</name> <MQInfo> <port>1514</port> <chl>mychan</chl> </MQInfo> <logDir>/home/foo/log</logDir> <domain> <logDir>/home/foo/domain1/log</logDir> <MQInfo> <port>1515</port> <chl>mychan1</chl> </MQInfo> </domain> <domain> <logDir>/home/foo/domain2/log</logDir> <MQInfo> <port>1516</port> <chl>mychan2</chl> </MQInfo> </domain> </config> Thanks, Vijay --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 23 07:22:51 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68198 invoked from network); 23 Apr 2007 07:22:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2007 07:22:51 -0000 Received: (qmail 60567 invoked by uid 500); 23 Apr 2007 07:22:57 -0000 Delivered-To: [email protected] Received: (qmail 60538 invoked by uid 500); 23 Apr 2007 07:22:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 60527 invoked by uid 99); 23 Apr 2007 07:22:56 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 00:22:56 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [161.129.204.104] (HELO mx1.progress.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 00:22:49 -0700 Received: from mx1.progress.com (161.129.204.104) by mx1.progress.com (MlfMTA v3.2r1b3) id h5hfci0171sf for <[email protected]>; Mon, 23 Apr 2007 03:22:28 -0400 (envelope-from <[email protected]>) Received: from progress.com ([161.129.204.104]) by mx1.progress.com (SonicWALL 161.129.204.10415) with ESMTP; Mon, 23 Apr 2007 03:22:27 -0400 Received: from NTEXFE01.bedford.progress.com (ntexfe01 [161.129.204.104]) by progress.com (8.13.8/8.13.8) with ESMTP id l3N7MReI002902 for <[email protected]>; Mon, 23 Apr 2007 03:22:27 -0400 (EDT) Received: from nbamassari.datadirect.com ([161.129.204.104]) by NTEXFE01.bedford.progress.com over TLS secured channel with Microsoft SMTPSVC+1-236-505-7503); Mon, 23 Apr 2007 03:22:26 -0400 X-Mailer: QUALCOMM Windows Eudora Version 161.129.204.104 Date: Mon, 23 Apr 2007 09:22:23 +0200 To: [email protected] From: Alberto Massari <[email protected]> Subject: Re: Element Distinguished Name In-Reply-To: <[email protected]> References: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Message-ID: <[email protected]> X-OriginalArrivalTime: 23 Apr 2007 07:22:27.0133 (UTC) FILETIME=[254706D0:01C78578] X-Mlf-Version: 161.129.204.10415 X-Mlf-UniqueId: o200704230722270029201 X-Virus-Checked: Checked by ClamAV on apache.org Hi Vijay, At 19.02 20/04/2007 +0000, Vijay S. Bajwa wrote: >I guess this is a DOM question. Given an XML or an XSD, how to give a >distinguisged name to an element. Consider the following XML. Imagine a cmd- >line application that is prints elements by-name, like >$ printVal -tname >$ Vijay > >What if you wanted to print-by-name say, the MQ port of the second domain? >Maybbe: printVal -t 'config.domain[2].MQInfo.port' > >Assuming such naming exists, can one just pass the DN (distinguished >name) too >tje parser in the hope that it will understand it? If you want to reuse a standard way of accessing XML elements, you should look at XPath; if you are using Xerces you should look at the Xalan-C project. Alberto >Am I crazy? > ><config> > <name>Vijay</name> > <MQInfo> > <port>1514</port> > <chl>mychan</chl> > </MQInfo> > <logDir>/home/foo/log</logDir> > > <domain> > <logDir>/home/foo/domain1/log</logDir> > <MQInfo> > <port>1515</port> > <chl>mychan1</chl> > </MQInfo> > </domain> > > <domain> > <logDir>/home/foo/domain2/log</logDir> > <MQInfo> > <port>1516</port> > <chl>mychan2</chl> > </MQInfo> > </domain> ></config> > >Thanks, >Vijay > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 30 08:26:39 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 32534 invoked from network); 30 Apr 2007 08:26:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Apr 2007 08:26:38 -0000 Received: (qmail 86882 invoked by uid 500); 30 Apr 2007 08:26:45 -0000 Delivered-To: [email protected] Received: (qmail 86582 invoked by uid 500); 30 Apr 2007 08:26:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 78723 invoked by uid 500); 28 Apr 2007 13:26:41 -0000 Delivered-To: [email protected] X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Message-ID: <000f01c78998$c8d205b0$aebb5722@hrf> From: "Childress Tib" <[email protected]> To: <[email protected]> Subject: You can create an XML writer output object to override this behavior. Date: Sat, 28 Apr 2007 15:26:10 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Antivirus: avast! (VPS 000736-2, 26.04.2007), Outbound message X-Antivirus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org CDPN Acquires GPS And Wireless Transportation Development Company! China Datacom Corp. Sym: CDPN Close: $0.065 CDPN, through its subsidiary "Supremacy Intl", acquired all outstanding shares in General Link Information Systems. General manages, serves and operates the only GPS vehicle monitoring and management system in China, and provides a wide range of mobile applications for the transport industry. This is HOT! It's already taking off, volume jumped through the roof Friday! Read the release and get in on CDPN first thing Monday. Chen, vice president of Science and Technology for IBM Research. First, let's take a look at what you get automatically. Further, according to Forrester, the demand for social software tools is growing with usage rates of social software services almost doubling between 2005 and 2006. )Once you have set the input for the XML reader, you can read with repeated calls to the Read method. 03 square millimeters. NET Framework does not provide an implementation of it, is the inherent complexity of the SAX2 model. Chen, vice president of Science and Technology for IBM Research. dll create the XML reader and writer. For example, an investment banker requiring information about growth in the technology sector could conduct a keyword search of Profiles that would immediately produce a list of experts in the field. Consult your local IBM business contact for information regarding the products, programs and services which may be available to you. For a mainframe running different workloads, the people costs are a fraction of those costs required for distributed systems. IBM Press room - 2007-01-15 IBM Introduces Virtual Fabric Architecture for BladeCenter; Breakthrough Connectivity Speeds Help Enable Advanced Technologies Such as Web 2. In addition, Lotus Quickr software supports multiple repositories including Lotus Domino and IBM WebSphere Portal. After all, XmlLite's functionality is much lighter than that provided by the XmlReader and XmlWriter classes. This allows you to move the reader to a specific attribute by name using the MoveToAttributeByName method. 6 terabytes, and up to three EXP3000 enclosures for greater than 14. IBM provides no assurances that any reported problems may be resolved with the use of any information that IBM provides. The [email protected]. Apart from this, the functions have identical signatures. You can, however, simply pass zero and CreateStreamOnHGlobal will create a memory object for you. However, the practice of not explicitly closing such elements can lead to bugs if you're not careful, as the lifetime of the stream and the lifetime of the writer can often be different. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 30 12:05:47 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7253 invoked from network); 30 Apr 2007 12:05:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Apr 2007 12:05:46 -0000 Received: (qmail 64909 invoked by uid 500); 30 Apr 2007 12:05:47 -0000 Delivered-To: [email protected] Received: (qmail 64877 invoked by uid 500); 30 Apr 2007 12:05:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <c-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 64866 invoked by uid 99); 30 Apr 2007 12:05:47 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 05:05:47 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 05:05:40 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 456C6714058 for <[email protected]>; Mon, 30 Apr 2007 05:05:19 -0700 (PDT) Message-ID: <15325145.1177934718230.JavaMail.jira@brutus> Date: Mon, 30 Apr 2007 05:05:18 -0700 (PDT) From: "Adam Connelly (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XERCESC-1695) Incorrect environment variables building for linux MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Incorrect environment variables building for linux -------------------------------------------------- Key: XERCESC-1695 URL: https://issues.apache.org/jira/browse/XERCESC-1695 Project: Xerces-C++ Issue Type: Bug Components: Build Affects Versions: 2.7.0 Environment: Debian GNU/Linux Stable Linux Kernel 2.6.21 gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) GNU Make 3.81 Built for an IBM T40 with a Pentium M Reporter: Adam Connelly When I run the suggested build process, not everything appears to work. For example here's what I have to do to get the libraries to install correctly (where the tarball has been extracted to $MY_ROOT): export XERCESCROOT=$MY_ROOT/xerces-c-src_2_7_0 cd $XERCESCROOT/src/xercesc ./runConfigure -plinux -cgcc -xg++ Now I have to edit the Makefile that has been created, and after the VALIDATORS_DIR variable is set, I have to add another variable "XML_OBJ=../../obj" Now if I run make, it will build everything fine. Once everything is built, I run make install. make install works until it has to run the makefile in the obj dir. When the obj makefile is run, it tries to copy the libraries that have been built from /lib instead of $XERCESCROOT/lib which causes the build to fail. I resorted to copying the files and creating the links manually at this point because I'm not familiar enough with makefiles and shell scripting to solve this error. Hope that helps, and I hope it's not just me being stupid! ac -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Wed May 26 02:35:50 1999 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24546 invoked by uid 6000); 26 May 1999 02:35:49 -0000 Message-ID: <[email protected]> Received: (qmail 24521 invoked from network); 26 May 1999 02:35:44 -0000 Received: from altered.com (HELO meddle.altered.com) (161.129.204.104) by taz.hyperreal.org with SMTP; 26 May 1999 02:35:44 -0000 Received: from hicdbs (pri12.dialup.ecs.soton.ac.uk [161.129.204.104]) by meddle.altered.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id KZJ0BDHL; Tue, 25 May 1999 22:35:38 -0400 From: "sehh of H.I.C. & D.B.S." <[email protected]> To: "apache" <[email protected]> Date: Wed, 26 May 1999 03:45:45 +0100 (BST) X-Mailer: PMMail 2.00.1500 for OS/2 Warp 4.05 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit Subject: ServerConfig/2 1.0 final Sender: [email protected] Precedence: bulk Reply-To: [email protected] I'd like to announce the release of ServerConfig/2 version 1.0. ServerConfig/2 is a PM configuration util for Apache and the InetPowerServer/2. It also allows you to remote configure any unix/linux Apache. It includes a daemon that can be compiled under any gcc and thus allows ServerConfig/2 to receive and save configurations remotely, all from OS/2 :) IPS is now fully supported. Services and users can be changed via individual containers per service/user. Also comments and extra lines are not lost. Version 1.0 has more than 50 new features and changes. Good luck :) homepage: http://www.ecs.soton.ac.uk/~dm898/sc/ þ H.I.C. & D.B.S. þ OS/2 Warp þ GrEEcE þ þ SysOp sehh þ InfoHICmag þ OS/2 UK UG þ þ "Windows NT Performance", on the next "In Search Of"
From [email protected] Mon May 22 13:19:44 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4911 invoked from network); 22 May 2006 13:19:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 May 2006 13:19:44 -0000 Received: (qmail 42102 invoked by uid 500); 22 May 2006 13:19:43 -0000 Delivered-To: [email protected] Received: (qmail 42073 invoked by uid 500); 22 May 2006 13:19:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <websh-cvs.tcl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 42062 invoked by uid 99); 22 May 2006 13:19:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 May 2006 06:19:43 -0700 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 May 2006 06:19:41 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 58DEE1A983A; Mon, 22 May 2006 06:19:20 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r408655 - /tcl/websh/trunk/src/generic/interpool.c Date: Mon, 22 May 2006 13:19:19 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: ronnie Date: Mon May 22 06:19:19 2006 New Revision: 408655 URL: http://svn.apache.org/viewvc?rev=408655&view=rev Log: - fixed R_OK definition for Win Modified: tcl/websh/trunk/src/generic/interpool.c Modified: tcl/websh/trunk/src/generic/interpool.c URL: http://svn.apache.org/viewvc/tcl/websh/trunk/src/generic/interpool.c?rev=408655&r1=408654&r2=408655&view=diff ============================================================================== --- tcl/websh/trunk/src/generic/interpool.c (original) +++ tcl/websh/trunk/src/generic/interpool.c Mon May 22 06:19:19 2006 @@ -29,6 +29,14 @@ #include <sys/stat.h> #ifndef WIN32 #include <unistd.h> +#else +/* define access mode constants if they are not defined yet + if we're under Windows (they are defined in unistd.h, which doesn't + exist under Windows) currently only R_OK is used. + */ +#ifndef R_OK +#define R_OK 4 +#endif #endif /* init script for main interpreter */ @@ -337,13 +345,8 @@ /* get last modified time for id */ if (strcmp(id, filename)) { struct stat statPtr; -#ifdef WIN32 - if (Tcl_Access(id, _S_IREAD) != 0 || - Tcl_Stat(id, &statPtr) != TCL_OK) -#else if (Tcl_Access(id, R_OK) != 0 || Tcl_Stat(id, &statPtr) != TCL_OK) -#endif { Tcl_MutexUnlock(&(conf->mainInterpLock)); Tcl_DecrRefCount(idObj); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon May 22 13:43:54 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14058 invoked from network); 22 May 2006 13:43:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 May 2006 13:43:54 -0000 Received: (qmail 97666 invoked by uid 500); 22 May 2006 13:43:53 -0000 Delivered-To: [email protected] Received: (qmail 97646 invoked by uid 500); 22 May 2006 13:43:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <websh-cvs.tcl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 97635 invoked by uid 99); 22 May 2006 13:43:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 May 2006 06:43:53 -0700 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 May 2006 06:43:52 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id D433D1A983A; Mon, 22 May 2006 06:43:32 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r408660 - /tcl/websh/trunk/src/win/Makefile Date: Mon, 22 May 2006 13:43:32 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: ronnie Date: Mon May 22 06:43:31 2006 New Revision: 408660 URL: http://svn.apache.org/viewvc?rev=408660&view=rev Log: - Tcl version default to 8.4 Modified: tcl/websh/trunk/src/win/Makefile Modified: tcl/websh/trunk/src/win/Makefile URL: http://svn.apache.org/viewvc/tcl/websh/trunk/src/win/Makefile?rev=408660&r1=408659&r2=408660&view=diff ============================================================================== --- tcl/websh/trunk/src/win/Makefile (original) +++ tcl/websh/trunk/src/win/Makefile Mon May 22 06:43:31 2006 @@ -18,7 +18,7 @@ ## configuration variables TCL_PREFIX=C:/Program Files/Tcl -TCL_VERSION=83 +TCL_VERSION=84 HTTPD_PREFIX=C:/Program Files/Apache Group/Apache2 INSTALL_PREFIX=C:/Program Files/Apache Group/Websh --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun May 28 15:48:19 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64312 invoked from network); 28 May 2006 15:48:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 May 2006 15:48:18 -0000 Received: (qmail 49619 invoked by uid 500); 28 May 2006 15:48:18 -0000 Delivered-To: [email protected] Received: (qmail 49603 invoked by uid 500); 28 May 2006 15:48:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <websh-cvs.tcl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 49592 invoked by uid 99); 28 May 2006 15:48:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 May 2006 08:48:18 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 May 2006 08:48:17 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 9C2671A983A; Sun, 28 May 2006 08:47:57 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r409962 - in /tcl/websh/trunk: CHANGES src/ChangeLog Date: Sun, 28 May 2006 15:47:57 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: ronnie Date: Sun May 28 08:47:56 2006 New Revision: 409962 URL: http://svn.apache.org/viewvc?rev=409962&view=rev Log: - latest additions Modified: tcl/websh/trunk/CHANGES tcl/websh/trunk/src/ChangeLog Modified: tcl/websh/trunk/CHANGES URL: http://svn.apache.org/viewvc/tcl/websh/trunk/CHANGES?rev=409962&r1=409961&r2=409962&view=diff ============================================================================== --- tcl/websh/trunk/CHANGES (original) +++ tcl/websh/trunk/CHANGES Sun May 28 08:47:56 2006 @@ -9,6 +9,8 @@ Trunk ----- +- Fix of html file handling in mod_websh under Windows + - Added documentation of [wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bconfig reset] and [wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bcmdurlcfg] and other minor fixes in quickref Modified: tcl/websh/trunk/src/ChangeLog URL: http://svn.apache.org/viewvc/tcl/websh/trunk/src/ChangeLog?rev=409962&r1=409961&r2=409962&view=diff ============================================================================== --- tcl/websh/trunk/src/ChangeLog (original) +++ tcl/websh/trunk/src/ChangeLog Sun May 28 08:47:56 2006 @@ -1,3 +1,12 @@ +2006-05-22 Brunner Ronnie <[email protected]> + + * src/generic/interpool.c: + Fixed call to Tcl_Access under Windows (newer Tcl versions) + (define R_OK locally instead of using external Windows variable) + + * src/win/Makefile: + Default Tcl version set to 8.4 + 2006-03-10 Brunner Ronnie <[email protected]> * doc/quickref.xml, doc/quickref.xsl: --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Fri Apr 02 13:44:49 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18643 invoked from network); 2 Apr 2010 13:44:49 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Apr 2010 13:44:49 -0000 Received: (qmail 15755 invoked by uid 500); 2 Apr 2010 13:44:49 -0000 Delivered-To: [email protected] Received: (qmail 15703 invoked by uid 500); 2 Apr 2010 13:44:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <juddi-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 15696 invoked by uid 99); 2 Apr 2010 13:44:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Apr 2010 13:44:48 +0000 X-ASF-Spam-Status: No, hits=-1158.8 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Apr 2010 13:44:47 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 4508F234C4B2 for <[email protected]>; Fri, 2 Apr 2010 13:44:27 +0000 (UTC) Message-ID: <{{EMAIL+PHONE}}> Date: Fri, 2 Apr 2010 13:44:27 +0000 (UTC) From: "Evgin Goncharov (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (JUDDI-381) registry could not be started: URI is not absolute In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JUDDI-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12852818#action_12852818 ] Evgin Goncharov commented on JUDDI-381: --------------------------------------- Tom. I think problem is that JBoss try to deploy archive(!) juddi.war without unziping. But there is no error when we use folder 'juddi.war'(not archive!). Thanks. > registry could not be started: URI is not absolute > -------------------------------------------------- > > Key: JUDDI-381 > URL: https://issues.apache.org/jira/browse/JUDDI-381 > Project: jUDDI > Issue Type: Bug > Components: core > Affects Versions: 3.0.1 > Environment: Win7 64bit, JBoss 5.1.0.G.A > Reporter: Anton Modin > Assignee: Tom Cunningham > Fix For: 3.0.2 > > Attachments: jboss_juddi.log > > > JBoss log: > 12:49:00,235 INFO [Install] Loading the root Publisher from file root_Publisher.xml > 12:49:00,237 INFO [Install] Loading the content of file: vfszip:/D:/Servers/jboss-5.1.0.GA/server/default/deploy/juddiv3.war/WEB-INF/lib/juddi-core-3.0.1.jar/juddi_install_data/root_Publisher.xml > 12:49:00,362 DEBUG [Install] Discovering the Publisher XML data files in jar: /D:/Servers/jboss-5.1.0.GA/server/default/deploy/juddiv3.war/WEB-INF/lib/juddi-core-3.0.1.jar/juddi_install_data/ > 12:49:00,364 ERROR [RegistryServlet] jUDDI registry could not be started.java.lang.IllegalArgumentException: URI is not absolute > org.apache.commons.configuration.ConfigurationException: java.lang.IllegalArgumentException: URI is not absolute > at org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:122) > at org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:95) > at org.apache.juddi.config.AppConfig.<init>(AppConfig.java:62) > ... > Caused by: java.lang.IllegalArgumentException: URI is not absolute > at java.io.File.<init>(File.java:361) > ... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Apr 05 13:45:49 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93591 invoked from network); 5 Apr 2010 13:45:49 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 5 Apr 2010 13:45:49 -0000 Received: (qmail 36282 invoked by uid 500); 5 Apr 2010 13:45:49 -0000 Delivered-To: [email protected] Received: (qmail 36232 invoked by uid 500); 5 Apr 2010 13:45:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <juddi-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 36225 invoked by uid 99); 5 Apr 2010 13:45:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Apr 2010 13:45:48 +0000 X-ASF-Spam-Status: No, hits=-1165.6 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Apr 2010 13:45:48 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D29F6234C4A8 for <[email protected]>; Mon, 5 Apr 2010 13:45:27 +0000 (UTC) Message-ID: <[email protected]> Date: Mon, 5 Apr 2010 13:45:27 +0000 (UTC) From: "Tom Cunningham (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (JUDDI-381) registry could not be started: URI is not absolute In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JUDDI-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853364#action_12853364 ] Tom Cunningham commented on JUDDI-381: -------------------------------------- Agreed. We're going to put some notes in the documentation specifying that users should explode the WAR in JBoss. Anton, does this clear up the issue here? > registry could not be started: URI is not absolute > -------------------------------------------------- > > Key: JUDDI-381 > URL: https://issues.apache.org/jira/browse/JUDDI-381 > Project: jUDDI > Issue Type: Bug > Components: core > Affects Versions: 3.0.1 > Environment: Win7 64bit, JBoss 5.1.0.G.A > Reporter: Anton Modin > Assignee: Tom Cunningham > Fix For: 3.0.2 > > Attachments: jboss_juddi.log > > > JBoss log: > 12:49:00,235 INFO [Install] Loading the root Publisher from file root_Publisher.xml > 12:49:00,237 INFO [Install] Loading the content of file: vfszip:/D:/Servers/jboss-5.1.0.GA/server/default/deploy/juddiv3.war/WEB-INF/lib/juddi-core-3.0.1.jar/juddi_install_data/root_Publisher.xml > 12:49:00,362 DEBUG [Install] Discovering the Publisher XML data files in jar: /D:/Servers/jboss-5.1.0.GA/server/default/deploy/juddiv3.war/WEB-INF/lib/juddi-core-3.0.1.jar/juddi_install_data/ > 12:49:00,364 ERROR [RegistryServlet] jUDDI registry could not be started.java.lang.IllegalArgumentException: URI is not absolute > org.apache.commons.configuration.ConfigurationException: java.lang.IllegalArgumentException: URI is not absolute > at org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:122) > at org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:95) > at org.apache.juddi.config.AppConfig.<init>(AppConfig.java:62) > ... > Caused by: java.lang.IllegalArgumentException: URI is not absolute > at java.io.File.<init>(File.java:361) > ... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Apr 05 16:40:51 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36617 invoked from network); 5 Apr 2010 16:40:51 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 5 Apr 2010 16:40:51 -0000 Received: (qmail 37239 invoked by uid 500); 5 Apr 2010 16:40:51 -0000 Delivered-To: [email protected] Received: (qmail 37198 invoked by uid 500); 5 Apr 2010 16:40:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <juddi-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 37191 invoked by uid 99); 5 Apr 2010 16:40:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Apr 2010 16:40:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Apr 2010 16:40:48 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B964A234C4D6 for <[email protected]>; Mon, 5 Apr 2010 16:40:27 +0000 (UTC) Message-ID: <[email protected]> Date: Mon, 5 Apr 2010 16:40:27 +0000 (UTC) From: "Tom Cunningham (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (JUDDI-381) registry could not be started: URI is not absolute In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JUDDI-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tom Cunningham updated JUDDI-381: --------------------------------- Fix Version/s: (was: 3.0.2) 3.0.3 Moving this out to 3.0.3, for now uncompressing the WAR should be fine. > registry could not be started: URI is not absolute > -------------------------------------------------- > > Key: JUDDI-381 > URL: https://issues.apache.org/jira/browse/JUDDI-381 > Project: jUDDI > Issue Type: Bug > Components: core > Affects Versions: 3.0.1 > Environment: Win7 64bit, JBoss 5.1.0.G.A > Reporter: Anton Modin > Assignee: Tom Cunningham > Fix For: 3.0.3 > > Attachments: jboss_juddi.log > > > JBoss log: > 12:49:00,235 INFO [Install] Loading the root Publisher from file root_Publisher.xml > 12:49:00,237 INFO [Install] Loading the content of file: vfszip:/D:/Servers/jboss-5.1.0.GA/server/default/deploy/juddiv3.war/WEB-INF/lib/juddi-core-3.0.1.jar/juddi_install_data/root_Publisher.xml > 12:49:00,362 DEBUG [Install] Discovering the Publisher XML data files in jar: /D:/Servers/jboss-5.1.0.GA/server/default/deploy/juddiv3.war/WEB-INF/lib/juddi-core-3.0.1.jar/juddi_install_data/ > 12:49:00,364 ERROR [RegistryServlet] jUDDI registry could not be started.java.lang.IllegalArgumentException: URI is not absolute > org.apache.commons.configuration.ConfigurationException: java.lang.IllegalArgumentException: URI is not absolute > at org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:122) > at org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:95) > at org.apache.juddi.config.AppConfig.<init>(AppConfig.java:62) > ... > Caused by: java.lang.IllegalArgumentException: URI is not absolute > at java.io.File.<init>(File.java:361) > ... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Apr 05 16:42:48 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36975 invoked from network); 5 Apr 2010 16:42:48 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 5 Apr 2010 16:42:48 -0000 Received: (qmail 40536 invoked by uid 500); 5 Apr 2010 16:42:48 -0000 Delivered-To: [email protected] Received: (qmail 40516 invoked by uid 500); 5 Apr 2010 16:42:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <juddi-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 40509 invoked by uid 99); 5 Apr 2010 16:42:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Apr 2010 16:42:48 +0000 X-ASF-Spam-Status: No, hits=-1172.3 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Apr 2010 16:42:47 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 3206D234C495 for <[email protected]>; Mon, 5 Apr 2010 16:42:27 +0000 (UTC) Message-ID: <[email protected]> Date: Mon, 5 Apr 2010 16:42:27 +0000 (UTC) From: "Tom Cunningham (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (JUDDI-382) registry could not be started: URI scheme is not "file" In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JUDDI-382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853435#action_12853435 ] Tom Cunningham commented on JUDDI-382: -------------------------------------- Moving this out to 3.0.3 > registry could not be started: URI scheme is not "file" > ------------------------------------------------------- > > Key: JUDDI-382 > URL: https://issues.apache.org/jira/browse/JUDDI-382 > Project: jUDDI > Issue Type: Bug > Components: core > Affects Versions: 3.0.1 > Environment: Win7 64bit , WebLogic 10.3, jrockit_160_05 > Reporter: Anton Modin > Assignee: Tom Cunningham > Fix For: 3.0.3 > > > WebLogic log: > [2010-03-18 10:22:43,669] INFO org.apache.juddi.config.Install:install:101 - Loading the root Publisher from file root_Publisher.xml > [2010-03-18 10:22:43,674] INFO org.apache.juddi.config.Install:buildInstallEntity:559 - Loading the content of file: zip:D:/bea/user_projects/domains/esb-cmd/servers/AdminServer/tmp/_WL_user/JuddiEAR/nk4cwv/war/WEB-INF/lib/juddi-core-3.0.1.jar!/juddi_install_data/root_Publisher.xml > [2010-03-18 10:22:44,173] DEBUG org.apache.juddi.config.Install:getPublishers:515 - Discovering the Publisher XML data files in jar: D:/bea/user_projects/domains/esb-cmd/servers/AdminServer/tmp/_WL_user/JuddiEAR/nk4cwv/war/WEB-INF/lib/juddi-core-3.0.1.jar > [2010-03-18 10:22:44,182] ERROR org.apache.juddi.servlets.RegistryServlet:init:47 - jUDDI registry could not be started.java.lang.IllegalArgumentException: URI scheme is not "file" > org.apache.commons.configuration.ConfigurationException: java.lang.IllegalArgumentException: URI scheme is not "file" > at org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:122) > at org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:95) > at org.apache.juddi.config.AppConfig.<init>(AppConfig.java:62) > ... > Caused by: java.lang.IllegalArgumentException: URI scheme is not "file" > at java.io.File.<init>(File.java:366) > ... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Apr 05 16:42:50 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37006 invoked from network); 5 Apr 2010 16:42:50 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 5 Apr 2010 16:42:50 -0000 Received: (qmail 40654 invoked by uid 500); 5 Apr 2010 16:42:50 -0000 Delivered-To: [email protected] Received: (qmail 40625 invoked by uid 500); 5 Apr 2010 16:42:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <juddi-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 40618 invoked by uid 99); 5 Apr 2010 16:42:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Apr 2010 16:42:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Apr 2010 16:42:48 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 36248234C4AC for <[email protected]>; Mon, 5 Apr 2010 16:42:27 +0000 (UTC) Message-ID: <[email protected]> Date: Mon, 5 Apr 2010 16:42:27 +0000 (UTC) From: "Tom Cunningham (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (JUDDI-382) registry could not be started: URI scheme is not "file" In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JUDDI-382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tom Cunningham updated JUDDI-382: --------------------------------- Fix Version/s: (was: 3.0.2) 3.0.3 > registry could not be started: URI scheme is not "file" > ------------------------------------------------------- > > Key: JUDDI-382 > URL: https://issues.apache.org/jira/browse/JUDDI-382 > Project: jUDDI > Issue Type: Bug > Components: core > Affects Versions: 3.0.1 > Environment: Win7 64bit , WebLogic 10.3, jrockit_160_05 > Reporter: Anton Modin > Assignee: Tom Cunningham > Fix For: 3.0.3 > > > WebLogic log: > [2010-03-18 10:22:43,669] INFO org.apache.juddi.config.Install:install:101 - Loading the root Publisher from file root_Publisher.xml > [2010-03-18 10:22:43,674] INFO org.apache.juddi.config.Install:buildInstallEntity:559 - Loading the content of file: zip:D:/bea/user_projects/domains/esb-cmd/servers/AdminServer/tmp/_WL_user/JuddiEAR/nk4cwv/war/WEB-INF/lib/juddi-core-3.0.1.jar!/juddi_install_data/root_Publisher.xml > [2010-03-18 10:22:44,173] DEBUG org.apache.juddi.config.Install:getPublishers:515 - Discovering the Publisher XML data files in jar: D:/bea/user_projects/domains/esb-cmd/servers/AdminServer/tmp/_WL_user/JuddiEAR/nk4cwv/war/WEB-INF/lib/juddi-core-3.0.1.jar > [2010-03-18 10:22:44,182] ERROR org.apache.juddi.servlets.RegistryServlet:init:47 - jUDDI registry could not be started.java.lang.IllegalArgumentException: URI scheme is not "file" > org.apache.commons.configuration.ConfigurationException: java.lang.IllegalArgumentException: URI scheme is not "file" > at org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:122) > at org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:95) > at org.apache.juddi.config.AppConfig.<init>(AppConfig.java:62) > ... > Caused by: java.lang.IllegalArgumentException: URI scheme is not "file" > at java.io.File.<init>(File.java:366) > ... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Apr 12 19:38:15 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81742 invoked from network); 12 Apr 2010 19:38:15 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 12 Apr 2010 19:38:15 -0000 Received: (qmail 2191 invoked by uid 500); 12 Apr 2010 19:38:15 -0000 Delivered-To: [email protected] Received: (qmail 1940 invoked by uid 500); 12 Apr 2010 19:38:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <juddi-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 1917 invoked by uid 99); 12 Apr 2010 19:38:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Apr 2010 19:38:13 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO aalto.aaltohost.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Apr 2010 19:38:05 +0000 Received: by aalto.aaltohost.com (Postfix, from userid 1017) id 0CD54489904; Mon, 12 Apr 2010 15:37:44 -0400 (EDT) Received: from [161.129.204.104] (pool-604.343.8181.bstnma.fios.verizon.net [161.129.204.104]) (using SMTP over TLS) by localhost.localdomain (tmda-ofmipd) with ESMTP; Mon, 12 Apr 2010 15:37:38 -0400 Message-ID: <[email protected]> Date: Mon, 12 Apr 2010 15:35:47 -0400 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:161.129.204.104) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: [email protected], [email protected], [email protected], [email protected], [email protected], wss4j-dev <[email protected]>, [email protected], [email protected], "[email protected]" <[email protected]> Subject: [IMPORTANT] Web Services Board Report, and discussion X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Glen Daniels <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi all! Well, Axis is gone, and as the dust settles, we need to keep moving the WS project in whatever direction it's going to go. Toward that end, this email brings you two exciting topics - 1) We need to submit a board report this month. I've set up a template here: http://wiki.apache.org/ws/ReportForApr2010 Please, dev leads, fill this out *before* next Monday. 2) We need to figure out what's next. In particular, that means: * Which subprojects should be promoted to TLPs? * Which subprojects should be migrated to the Attic? * What should the structure look like for what remains? These discussions are going to happen on general@ws, so that we can keep them in one place without tons of copies. This mail serves as notification thereof to the various -dev communities. In other words, IF YOU WANT TO HAVE A SAY IN THIS DISCUSSION, AND YOU ARE NOT ALREADY ON GENERAL@WS, you should subscribe immediately. Thanks, --Glen From [email protected] Tue Apr 13 19:40:41 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95147 invoked from network); 13 Apr 2010 19:07:17 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 13 Apr 2010 19:07:17 -0000 Received: (qmail 28185 invoked by uid 500); 13 Apr 2010 19:07:17 -0000 Delivered-To: [email protected] Received: (qmail 28095 invoked by uid 500); 13 Apr 2010 19:07:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <juddi-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 28087 invoked by uid 99); 13 Apr 2010 19:07:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Apr 2010 19:07:16 +0000 X-ASF-Spam-Status: No, hits=-1178.9 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Apr 2010 19:07:15 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3DJ6t8Z000275 for <[email protected]>; Tue, 13 Apr 2010 15:06:55 -0400 (EDT) Message-ID: <639573.63811271185615127.JavaMail.jira@thor> Date: Tue, 13 Apr 2010 15:06:55 -0400 (EDT) From: "Jason Brown (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (JUDDI-384) Cannot perform find_XXX query with only KeyedReferenceGroup as criteria MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Cannot perform find_XXX query with only KeyedReferenceGroup as criteria ----------------------------------------------------------------------- Key: JUDDI-384 URL: https://issues.apache.org/jira/browse/JUDDI-384 Project: jUDDI Issue Type: Bug Components: core Affects Versions: 3.0.1 Environment: Apache Tomcat/6.0.10, PostgreSQL 8.4 Reporter: Jason Brown Assignee: Kurt T Stam We currently have jUDDI 3.0.1 installed using postgresql 8.4 for a database. When querying with find_business where the search criteria consists of only a KeyedReferenceGroup a SOAP fault occurs stating that "A category bag must have at least one keyedReference or keyedReferenceGroup" which the business has. Published tModels: <?xml version="1.0" encoding="UTF-8"?> <save_tModel xmlns="urn:uddi-org:api_v3"> <tModel tModelKey="uddi:sd:security-level" deleted="false"> <name>Security Level tModel (testing only)</name> <description xml:lang="en"> A security level tModel for testing purposes only. </description> </tModel> <tModel tModelKey="uddi:sd:security-group" deleted="false"> <name>SD Security Keyed Reference Group (tModel)</name> <description> Groups security keyed references in a special keyedReferenceGroup for tModels. </description> </tModel> </save_tModel> Published Business: <?xml version="1.0" encoding="UTF-8"?> <uddi:save_business xmlns:uddi="urn:uddi-org:api_v3"> <uddi:businessEntity businessKey="uddi:sd:BE01"> <uddi:name>BE01</uddi:name> <uddi:categoryBag> <uddi:keyedReferenceGroup tModelKey="uddi:sd:security-group"> <uddi:keyedReference tModelKey="uddi:sd:security-level" keyValue="0"/> </uddi:keyedReferenceGroup> </uddi:categoryBag> </uddi:businessEntity> </uddi:save_business> find_business inquiry (this fails with the SOAP fault below): <?xml version="1.0" encoding="UTF-8"?> <uddi:find_business xmlns:uddi="urn:uddi-org:api_v3" listHead="1"> <uddi:categoryBag> <uddi:keyedReferenceGroup tModelKey="uddi:sd:security-group"> <uddi:keyedReference tModelKey="uddi:sd:security-level" keyValue="0"/> </uddi:keyedReferenceGroup> </uddi:categoryBag> </uddi:find_business> resultant SOAP fault: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <soap:Fault> <faultcode>soap:Server</faultcode> <faultstring>A category bag must have at least one keyedReference or keyedReferenceGroup</faultstring> <detail> <dispositionReport xmlns="urn:uddi-org:api_v3" xmlns:ns10="urn:uddi-org:policy_v3_instanceParms" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#" xmlns:ns3="urn:uddi-org:custody_v3" xmlns:ns4="urn:uddi-org:vscache_v3" xmlns:ns5="urn:uddi-org:policy_v3" xmlns:ns6="urn:uddi-org:sub_v3" xmlns:ns7="urn:uddi-org:subr_v3" xmlns:ns8="urn:uddi-org:repl_v3" xmlns:ns9="urn:uddi-org:vs_v3"> <result errno="20210"> <errInfo errCode="E_valueNotAllowed">A value did not pass validation because of contextual issues.</errInfo> </result> </dispositionReport> </detail> </soap:Fault> </soap:Body> </soap:Envelope> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu Apr 15 14:15:14 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37096 invoked from network); 15 Apr 2010 14:15:14 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 15 Apr 2010 14:15:14 -0000 Received: (qmail 48622 invoked by uid 500); 15 Apr 2010 14:15:14 -0000 Delivered-To: [email protected] Received: (qmail 48573 invoked by uid 500); 15 Apr 2010 14:15:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <juddi-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 48565 invoked by uid 99); 15 Apr 2010 14:15:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Apr 2010 14:15:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Apr 2010 14:15:10 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3FEEms2021230 for <[email protected]>; Thu, 15 Apr 2010 10:14:48 -0400 (EDT) Message-ID: <22080710.140941271340888282.JavaMail.jira@thor> Date: Thu, 15 Apr 2010 10:14:48 -0400 (EDT) From: "Tom Cunningham (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (JUDDI-385) juddi client request handler does not handle wrapped exceptions correctly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org juddi client request handler does not handle wrapped exceptions correctly ------------------------------------------------------------------------- Key: JUDDI-385 URL: https://issues.apache.org/jira/browse/JUDDI-385 Project: jUDDI Issue Type: Bug Components: core Affects Versions: 3.0.2 Reporter: Tom Cunningham Assignee: Tom Cunningham Fix For: 3.0.2 juddi client doesn't handle wrapped exceptions correctly - it is resulting in grabbing a null message from the caught exception, which then causes a NPE when we try to URLEncode the message. The end result is that the caller is passed a wrapped NPE rather than the actual juddi error message. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Fri Apr 16 15:24:47 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93158 invoked from network); 16 Apr 2010 15:24:47 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 16 Apr 2010 15:24:47 -0000 Received: (qmail 97875 invoked by uid 500); 16 Apr 2010 15:24:47 -0000 Delivered-To: [email protected] Received: (qmail 97812 invoked by uid 500); 16 Apr 2010 15:24:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <juddi-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 97805 invoked by uid 99); 16 Apr 2010 15:24:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Apr 2010 15:24:46 +0000 X-ASF-Spam-Status: No, hits=-1185.3 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Apr 2010 15:24:45 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3GFOP7t004630 for <[email protected]>; Fri, 16 Apr 2010 11:24:25 -0400 (EDT) Message-ID: <12253538.11901271431465200.JavaMail.jira@thor> Date: Fri, 16 Apr 2010 11:24:25 -0400 (EDT) From: "Tom Cunningham (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (JUDDI-385) juddi client request handler does not handle wrapped exceptions correctly In-Reply-To: <22080710.140941271340888282.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JUDDI-385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tom Cunningham resolved JUDDI-385. ---------------------------------- Resolution: Fixed Protect against NPE in URLEncoder.encode and return the message from the base exception. > juddi client request handler does not handle wrapped exceptions correctly > ------------------------------------------------------------------------- > > Key: JUDDI-385 > URL: https://issues.apache.org/jira/browse/JUDDI-385 > Project: jUDDI > Issue Type: Bug > Components: core > Affects Versions: 3.0.2 > Reporter: Tom Cunningham > Assignee: Tom Cunningham > Fix For: 3.0.2 > > > juddi client doesn't handle wrapped exceptions correctly - it is resulting in grabbing a null message from the caught exception, which then causes a NPE when we try to URLEncode the message. The end result is that the caller is passed a wrapped NPE rather than the actual juddi error message. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Tue Apr 20 15:04:19 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42480 invoked from network); 20 Apr 2010 15:04:15 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 20 Apr 2010 15:04:15 -0000 Received: (qmail 49623 invoked by uid 500); 20 Apr 2010 15:04:15 -0000 Delivered-To: [email protected] Received: (qmail 49576 invoked by uid 500); 20 Apr 2010 15:04:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <juddi-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 49568 invoked by uid 99); 20 Apr 2010 15:04:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Apr 2010 15:04:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Apr 2010 15:04:12 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3KF3o4l013681 for <[email protected]>; Tue, 20 Apr 2010 15:03:50 GMT Message-ID: <9372266.89891271775830157.JavaMail.jira@thor> Date: Tue, 20 Apr 2010 11:03:50 -0400 (EDT) From: "Jeff Faath (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (JUDDI-384) Cannot perform find_XXX query with only KeyedReferenceGroup as criteria In-Reply-To: <639573.63811271185615127.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JUDDI-384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeff Faath reassigned JUDDI-384: -------------------------------- Assignee: Jeff Faath (was: Kurt T Stam) > Cannot perform find_XXX query with only KeyedReferenceGroup as criteria > ----------------------------------------------------------------------- > > Key: JUDDI-384 > URL: https://issues.apache.org/jira/browse/JUDDI-384 > Project: jUDDI > Issue Type: Bug > Components: core > Affects Versions: 3.0.1 > Environment: Apache Tomcat/6.0.10, PostgreSQL 8.4 > Reporter: Jason Brown > Assignee: Jeff Faath > Fix For: 3.0.2 > > > We currently have jUDDI 3.0.1 installed using postgresql 8.4 for a database. When querying with find_business where the search criteria consists of only a KeyedReferenceGroup a SOAP fault occurs stating that "A category bag must have at least one keyedReference or keyedReferenceGroup" which the business has. > Published tModels: > <?xml version="1.0" encoding="UTF-8"?> > <save_tModel xmlns="urn:uddi-org:api_v3"> > <tModel tModelKey="uddi:sd:security-level" deleted="false"> > <name>Security Level tModel (testing only)</name> > <description xml:lang="en"> > A security level tModel for testing purposes only. > </description> > </tModel> > <tModel tModelKey="uddi:sd:security-group" deleted="false"> > <name>SD Security Keyed Reference Group (tModel)</name> > <description> > Groups security keyed references in a special keyedReferenceGroup for tModels. > </description> > </tModel> > </save_tModel> > Published Business: > <?xml version="1.0" encoding="UTF-8"?> > <uddi:save_business xmlns:uddi="urn:uddi-org:api_v3"> > <uddi:businessEntity businessKey="uddi:sd:BE01"> > <uddi:name>BE01</uddi:name> > <uddi:categoryBag> > <uddi:keyedReferenceGroup tModelKey="uddi:sd:security-group"> > <uddi:keyedReference tModelKey="uddi:sd:security-level" keyValue="0"/> > </uddi:keyedReferenceGroup> > </uddi:categoryBag> > </uddi:businessEntity> > </uddi:save_business> > find_business inquiry (this fails with the SOAP fault below): > <?xml version="1.0" encoding="UTF-8"?> > <uddi:find_business xmlns:uddi="urn:uddi-org:api_v3" listHead="1"> > <uddi:categoryBag> > <uddi:keyedReferenceGroup tModelKey="uddi:sd:security-group"> > <uddi:keyedReference tModelKey="uddi:sd:security-level" keyValue="0"/> > </uddi:keyedReferenceGroup> > </uddi:categoryBag> > </uddi:find_business> > resultant SOAP fault: > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > <soap:Body> > <soap:Fault> > <faultcode>soap:Server</faultcode> > <faultstring>A category bag must have at least one keyedReference or keyedReferenceGroup</faultstring> > <detail> > <dispositionReport xmlns="urn:uddi-org:api_v3" xmlns:ns10="urn:uddi-org:policy_v3_instanceParms" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#" xmlns:ns3="urn:uddi-org:custody_v3" xmlns:ns4="urn:uddi-org:vscache_v3" xmlns:ns5="urn:uddi-org:policy_v3" xmlns:ns6="urn:uddi-org:sub_v3" xmlns:ns7="urn:uddi-org:subr_v3" xmlns:ns8="urn:uddi-org:repl_v3" xmlns:ns9="urn:uddi-org:vs_v3"> > <result errno="20210"> > <errInfo errCode="E_valueNotAllowed">A value did not pass validation because of contextual issues.</errInfo> > </result> > </dispositionReport> > </detail> > </soap:Fault> > </soap:Body> > </soap:Envelope> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Apr 20 15:04:23 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42871 invoked from network); 20 Apr 2010 15:04:19 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 20 Apr 2010 15:04:19 -0000 Received: (qmail 50283 invoked by uid 500); 20 Apr 2010 15:04:19 -0000 Delivered-To: [email protected] Received: (qmail 50246 invoked by uid 500); 20 Apr 2010 15:04:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <juddi-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 50239 invoked by uid 99); 20 Apr 2010 15:04:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Apr 2010 15:04:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Apr 2010 15:04:16 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3KF3tOJ013717 for <[email protected]>; Tue, 20 Apr 2010 15:03:55 GMT Message-ID: <21209496.90011271775835144.JavaMail.jira@thor> Date: Tue, 20 Apr 2010 11:03:55 -0400 (EDT) From: "Jeff Faath (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (JUDDI-384) Cannot perform find_XXX query with only KeyedReferenceGroup as criteria In-Reply-To: <639573.63811271185615127.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JUDDI-384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeff Faath updated JUDDI-384: ----------------------------- Fix Version/s: 3.0.2 > Cannot perform find_XXX query with only KeyedReferenceGroup as criteria > ----------------------------------------------------------------------- > > Key: JUDDI-384 > URL: https://issues.apache.org/jira/browse/JUDDI-384 > Project: jUDDI > Issue Type: Bug > Components: core > Affects Versions: 3.0.1 > Environment: Apache Tomcat/6.0.10, PostgreSQL 8.4 > Reporter: Jason Brown > Assignee: Jeff Faath > Fix For: 3.0.2 > > > We currently have jUDDI 3.0.1 installed using postgresql 8.4 for a database. When querying with find_business where the search criteria consists of only a KeyedReferenceGroup a SOAP fault occurs stating that "A category bag must have at least one keyedReference or keyedReferenceGroup" which the business has. > Published tModels: > <?xml version="1.0" encoding="UTF-8"?> > <save_tModel xmlns="urn:uddi-org:api_v3"> > <tModel tModelKey="uddi:sd:security-level" deleted="false"> > <name>Security Level tModel (testing only)</name> > <description xml:lang="en"> > A security level tModel for testing purposes only. > </description> > </tModel> > <tModel tModelKey="uddi:sd:security-group" deleted="false"> > <name>SD Security Keyed Reference Group (tModel)</name> > <description> > Groups security keyed references in a special keyedReferenceGroup for tModels. > </description> > </tModel> > </save_tModel> > Published Business: > <?xml version="1.0" encoding="UTF-8"?> > <uddi:save_business xmlns:uddi="urn:uddi-org:api_v3"> > <uddi:businessEntity businessKey="uddi:sd:BE01"> > <uddi:name>BE01</uddi:name> > <uddi:categoryBag> > <uddi:keyedReferenceGroup tModelKey="uddi:sd:security-group"> > <uddi:keyedReference tModelKey="uddi:sd:security-level" keyValue="0"/> > </uddi:keyedReferenceGroup> > </uddi:categoryBag> > </uddi:businessEntity> > </uddi:save_business> > find_business inquiry (this fails with the SOAP fault below): > <?xml version="1.0" encoding="UTF-8"?> > <uddi:find_business xmlns:uddi="urn:uddi-org:api_v3" listHead="1"> > <uddi:categoryBag> > <uddi:keyedReferenceGroup tModelKey="uddi:sd:security-group"> > <uddi:keyedReference tModelKey="uddi:sd:security-level" keyValue="0"/> > </uddi:keyedReferenceGroup> > </uddi:categoryBag> > </uddi:find_business> > resultant SOAP fault: > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > <soap:Body> > <soap:Fault> > <faultcode>soap:Server</faultcode> > <faultstring>A category bag must have at least one keyedReference or keyedReferenceGroup</faultstring> > <detail> > <dispositionReport xmlns="urn:uddi-org:api_v3" xmlns:ns10="urn:uddi-org:policy_v3_instanceParms" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#" xmlns:ns3="urn:uddi-org:custody_v3" xmlns:ns4="urn:uddi-org:vscache_v3" xmlns:ns5="urn:uddi-org:policy_v3" xmlns:ns6="urn:uddi-org:sub_v3" xmlns:ns7="urn:uddi-org:subr_v3" xmlns:ns8="urn:uddi-org:repl_v3" xmlns:ns9="urn:uddi-org:vs_v3"> > <result errno="20210"> > <errInfo errCode="E_valueNotAllowed">A value did not pass validation because of contextual issues.</errInfo> > </result> > </dispositionReport> > </detail> > </soap:Fault> > </soap:Body> > </soap:Envelope> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Apr 20 15:08:15 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44273 invoked from network); 20 Apr 2010 15:08:15 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 20 Apr 2010 15:08:15 -0000 Received: (qmail 54386 invoked by uid 500); 20 Apr 2010 15:08:15 -0000 Delivered-To: [email protected] Received: (qmail 54361 invoked by uid 500); 20 Apr 2010 15:08:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <juddi-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 54354 invoked by uid 99); 20 Apr 2010 15:08:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Apr 2010 15:08:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Apr 2010 15:08:12 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3KF7pc2013756 for <[email protected]>; Tue, 20 Apr 2010 15:07:51 GMT Message-ID: <14511554.90061271776071187.JavaMail.jira@thor> Date: Tue, 20 Apr 2010 11:07:51 -0400 (EDT) From: "Jeff Faath (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (JUDDI-384) Cannot perform find_XXX query with only KeyedReferenceGroup as criteria In-Reply-To: <639573.63811271185615127.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JUDDI-384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeff Faath resolved JUDDI-384. ------------------------------ Resolution: Fixed This has been fixed. > Cannot perform find_XXX query with only KeyedReferenceGroup as criteria > ----------------------------------------------------------------------- > > Key: JUDDI-384 > URL: https://issues.apache.org/jira/browse/JUDDI-384 > Project: jUDDI > Issue Type: Bug > Components: core > Affects Versions: 3.0.1 > Environment: Apache Tomcat/6.0.10, PostgreSQL 8.4 > Reporter: Jason Brown > Assignee: Jeff Faath > Fix For: 3.0.2 > > > We currently have jUDDI 3.0.1 installed using postgresql 8.4 for a database. When querying with find_business where the search criteria consists of only a KeyedReferenceGroup a SOAP fault occurs stating that "A category bag must have at least one keyedReference or keyedReferenceGroup" which the business has. > Published tModels: > <?xml version="1.0" encoding="UTF-8"?> > <save_tModel xmlns="urn:uddi-org:api_v3"> > <tModel tModelKey="uddi:sd:security-level" deleted="false"> > <name>Security Level tModel (testing only)</name> > <description xml:lang="en"> > A security level tModel for testing purposes only. > </description> > </tModel> > <tModel tModelKey="uddi:sd:security-group" deleted="false"> > <name>SD Security Keyed Reference Group (tModel)</name> > <description> > Groups security keyed references in a special keyedReferenceGroup for tModels. > </description> > </tModel> > </save_tModel> > Published Business: > <?xml version="1.0" encoding="UTF-8"?> > <uddi:save_business xmlns:uddi="urn:uddi-org:api_v3"> > <uddi:businessEntity businessKey="uddi:sd:BE01"> > <uddi:name>BE01</uddi:name> > <uddi:categoryBag> > <uddi:keyedReferenceGroup tModelKey="uddi:sd:security-group"> > <uddi:keyedReference tModelKey="uddi:sd:security-level" keyValue="0"/> > </uddi:keyedReferenceGroup> > </uddi:categoryBag> > </uddi:businessEntity> > </uddi:save_business> > find_business inquiry (this fails with the SOAP fault below): > <?xml version="1.0" encoding="UTF-8"?> > <uddi:find_business xmlns:uddi="urn:uddi-org:api_v3" listHead="1"> > <uddi:categoryBag> > <uddi:keyedReferenceGroup tModelKey="uddi:sd:security-group"> > <uddi:keyedReference tModelKey="uddi:sd:security-level" keyValue="0"/> > </uddi:keyedReferenceGroup> > </uddi:categoryBag> > </uddi:find_business> > resultant SOAP fault: > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > <soap:Body> > <soap:Fault> > <faultcode>soap:Server</faultcode> > <faultstring>A category bag must have at least one keyedReference or keyedReferenceGroup</faultstring> > <detail> > <dispositionReport xmlns="urn:uddi-org:api_v3" xmlns:ns10="urn:uddi-org:policy_v3_instanceParms" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#" xmlns:ns3="urn:uddi-org:custody_v3" xmlns:ns4="urn:uddi-org:vscache_v3" xmlns:ns5="urn:uddi-org:policy_v3" xmlns:ns6="urn:uddi-org:sub_v3" xmlns:ns7="urn:uddi-org:subr_v3" xmlns:ns8="urn:uddi-org:repl_v3" xmlns:ns9="urn:uddi-org:vs_v3"> > <result errno="20210"> > <errInfo errCode="E_valueNotAllowed">A value did not pass validation because of contextual issues.</errInfo> > </result> > </dispositionReport> > </detail> > </soap:Fault> > </soap:Body> > </soap:Envelope> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Apr 21 20:38:12 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68730 invoked from network); 21 Apr 2010 20:38:12 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 21 Apr 2010 20:38:12 -0000 Received: (qmail 75250 invoked by uid 500); 21 Apr 2010 20:38:11 -0000 Delivered-To: [email protected] Received: (qmail 75202 invoked by uid 500); 21 Apr 2010 20:38:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <juddi-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 75195 invoked by uid 99); 21 Apr 2010 20:38:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Apr 2010 20:38:10 +0000 X-ASF-Spam-Status: No, hits=-1198.0 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Apr 2010 20:38:09 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3LKbn35005672 for <[email protected]>; Wed, 21 Apr 2010 20:37:49 GMT Message-ID: <23289831.123751271882269246.JavaMail.jira@thor> Date: Wed, 21 Apr 2010 16:37:49 -0400 (EDT) From: "Tom Cunningham (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (JUDDI-386) juddi's RMI InquiryService/PublishService needs a way of setting the random port that is being opened up. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 juddi's RMI InquiryService/PublishService needs a way of setting the random port that is being opened up. --------------------------------------------------------------------------------------------------------- Key: JUDDI-386 URL: https://issues.apache.org/jira/browse/JUDDI-386 Project: jUDDI Issue Type: Bug Affects Versions: 3.0.2 Reporter: Tom Cunningham Assignee: Tom Cunningham Fix For: 3.0.2 juddi's RMI InquiryService/PublishService needs a way of setting the random port that is being opened up. The random port is a problem for users behind a firewall. We should be doing something like : super(<port number>) rather than super() -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Apr 21 20:42:14 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71497 invoked from network); 21 Apr 2010 20:42:14 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 21 Apr 2010 20:42:14 -0000 Received: (qmail 83768 invoked by uid 500); 21 Apr 2010 20:42:14 -0000 Delivered-To: [email protected] Received: (qmail 83727 invoked by uid 500); 21 Apr 2010 20:42:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <juddi-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 83720 invoked by uid 99); 21 Apr 2010 20:42:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Apr 2010 20:42:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Apr 2010 20:42:12 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3LKfoQx005749 for <[email protected]>; Wed, 21 Apr 2010 20:41:50 GMT Message-ID: <2198992.123811271882510362.JavaMail.jira@thor> Date: Wed, 21 Apr 2010 16:41:50 -0400 (EDT) From: "Tom Cunningham (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (JUDDI-387) juddi's RMI InquiryService/PublishService needs a way of setting the random port that is being opened up. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org juddi's RMI InquiryService/PublishService needs a way of setting the random port that is being opened up. --------------------------------------------------------------------------------------------------------- Key: JUDDI-387 URL: https://issues.apache.org/jira/browse/JUDDI-387 Project: jUDDI Issue Type: Bug Components: core Affects Versions: 2.0rc7 Reporter: Tom Cunningham Assignee: Tom Cunningham Fix For: 2.0.2 juddi's RMI InquiryService/PublishService needs a way of setting the random port that is being opened up. The random port is a problem for users behind a firewall. We should be doing something like : super(<port number>) rather than super() -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Apr 23 17:19:12 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9787 invoked from network); 23 Apr 2010 17:19:12 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Apr 2010 17:19:12 -0000 Received: (qmail 93998 invoked by uid 500); 23 Apr 2010 17:19:12 -0000 Delivered-To: [email protected] Received: (qmail 93948 invoked by uid 500); 23 Apr 2010 17:19:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <juddi-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 93939 invoked by uid 99); 23 Apr 2010 17:19:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Apr 2010 17:19:11 +0000 X-ASF-Spam-Status: No, hits=-1204.1 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Apr 2010 17:19:10 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3NHInaM012388 for <[email protected]>; Fri, 23 Apr 2010 17:18:49 GMT Message-ID: <25022520.164631272043129401.JavaMail.jira@thor> Date: Fri, 23 Apr 2010 13:18:49 -0400 (EDT) From: "Khoivu Nguyen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (JUDDI-388) Login problem for jUDDI portlet MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Login problem for jUDDI portlet ------------------------------- Key: JUDDI-388 URL: https://issues.apache.org/jira/browse/JUDDI-388 Project: jUDDI Issue Type: Bug Components: console - portlets Environment: Windows XP Professional, Java SDK 1.6_20 Reporter: Khoivu Nguyen Assignee: Kurt T Stam I just checked out source from 3.0.2 trunk, built sucessfully, deployed juddi-portal-bundle-3.0.2-SNAPSHOT. I got the following popped up after I logged into the portlet console: "error: No manager by name null was found. Please check your client uddi.xml files, and make sure this manager was started" I found the juddi-portal-bundle-3.0.2-SNAPSHOT\webapps\uddi-portlets\WEB-INF\classes\META-INF/uddi.xml but I did not know how to make this manager "root" starrted. Please see this thread for more information: http://old.nabble.com/jUDDI-v3-login-problem-to28342121.html Thanks, -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Apr 29 02:37:13 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60489 invoked from network); 29 Apr 2010 02:37:13 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 29 Apr 2010 02:37:13 -0000 Received: (qmail 43904 invoked by uid 500); 29 Apr 2010 02:37:13 -0000 Delivered-To: [email protected] Received: (qmail 43821 invoked by uid 500); 29 Apr 2010 02:37:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <juddi-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 43814 invoked by uid 99); 29 Apr 2010 02:37:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Apr 2010 02:37:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Apr 2010 02:37:09 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3T2amo1007093 for <[email protected]>; Thu, 29 Apr 2010 02:36:48 GMT Message-ID: <12166831.14891272508608097.JavaMail.jira@thor> Date: Wed, 28 Apr 2010 22:36:48 -0400 (EDT) From: "ShengTao Dong (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (JUDDI-389) After saving a subscription with a FindTModel filter, when notifying a change, got a null exception. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org After saving a subscription with a FindTModel filter, when notifying a change, got a null exception. ----------------------------------------------------------------------------------------------------- Key: JUDDI-389 URL: https://issues.apache.org/jira/browse/JUDDI-389 Project: jUDDI Issue Type: Bug Components: core Affects Versions: 3.0 Environment: linux + jbossesb server 4.7 Reporter: ShengTao Dong Assignee: Kurt T Stam After saving a subscription with a FindTModel filter, when notifying a change, got a null exception. The statement is in class org.apache.juddi.subscription.SubscriptionNotifier, and the method is notify, the line number is 218, the code is: if (resultList.getServiceList().getServiceInfos()!=null && resultList.getServiceList().getServiceInfos().getServiceInfo().size() == 0) The reason is that the serviceList is null in resultList, I checked code, just when the filter has a FindService, there is a new serviceList is initialized and set to resultList. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Apr 30 17:37:19 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73258 invoked from network); 30 Apr 2010 17:37:19 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 30 Apr 2010 17:37:19 -0000 Received: (qmail 11997 invoked by uid 500); 30 Apr 2010 17:37:19 -0000 Delivered-To: [email protected] Received: (qmail 11931 invoked by uid 500); 30 Apr 2010 17:37:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <juddi-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 11924 invoked by uid 99); 30 Apr 2010 17:37:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Apr 2010 17:37:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Apr 2010 17:37:15 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3UHasQd016046 for <[email protected]>; Fri, 30 Apr 2010 17:36:54 GMT Message-ID: <32986368.36061272649014396.JavaMail.jira@thor> Date: Fri, 30 Apr 2010 13:36:54 -0400 (EDT) From: "Kurt T Stam (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (JUDDI-388) Login problem for jUDDI portlet In-Reply-To: <25022520.164631272043129401.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JUDDI-388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kurt T Stam updated JUDDI-388: ------------------------------ Fix Version/s: 3.0.2 > Login problem for jUDDI portlet > ------------------------------- > > Key: JUDDI-388 > URL: https://issues.apache.org/jira/browse/JUDDI-388 > Project: jUDDI > Issue Type: Bug > Components: console - portlets > Environment: Windows XP Professional, Java SDK 1.6_20 > Reporter: Khoivu Nguyen > Assignee: Kurt T Stam > Fix For: 3.0.2 > > > I just checked out source from 3.0.2 trunk, built sucessfully, deployed juddi-portal-bundle-3.0.2-SNAPSHOT. I got the following popped up after I logged into the portlet console: > "error: No manager by name null was found. Please check your client uddi.xml files, and make sure this manager was started" > I found the juddi-portal-bundle-3.0.2-SNAPSHOT\webapps\uddi-portlets\WEB-INF\classes\META-INF/uddi.xml but I did not know how to make this manager "root" starrted. > Please see this thread for more information: > http://old.nabble.com/jUDDI-v3-login-problem-to28342121.html > Thanks, -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.